@mobilon-dev/chotto 0.0.12 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/style.css +1 -1
- package/dist/vuessages.es.js +1164 -1146
- package/dist/vuessages.umd.js +1 -1
- package/package.json +6 -2
package/dist/vuessages.es.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
import { openBlock as l, createElementBlock as g, createElementVNode as u, toDisplayString as
|
1
|
+
import { openBlock as l, createElementBlock as g, createElementVNode as u, toDisplayString as N, Fragment as q, renderList as F, ref as v, computed as V, normalizeClass as T, normalizeStyle as G, createCommentVNode as y, createVNode as z, Transition as X, withCtx as ff, createBlock as L, createTextVNode as MA, onMounted as Zf, withDirectives as P, vShow as gf, Teleport as pA, withKeys as Fe, vModelText as Pf, unref as df, defineComponent as xf, inject as Hf, getCurrentInstance as hA, toRaw as Je, watch as Gf, onBeforeUnmount as bA, provide as yA, reactive as vA, readonly as IA, resolveComponent as qf, onUnmounted as NA, withModifiers as wA, mergeModels as Ee, useModel as DA, onUpdated as _A, resolveDynamicComponent as kA, nextTick as We, vModelCheckbox as jA } from "vue";
|
2
2
|
const x = (f, e) => {
|
3
3
|
const A = f.__vccOpts || f;
|
4
|
-
for (const [
|
5
|
-
A[
|
4
|
+
for (const [a, n] of e)
|
5
|
+
A[a] = n;
|
6
6
|
return A;
|
7
7
|
}, VA = {
|
8
8
|
__name: "Chat",
|
@@ -14,17 +14,17 @@ const x = (f, e) => {
|
|
14
14
|
},
|
15
15
|
emits: ["select"],
|
16
16
|
setup(f, { emit: e }) {
|
17
|
-
const A = f,
|
18
|
-
|
17
|
+
const A = f, a = e, n = () => {
|
18
|
+
a("select", A.chat);
|
19
19
|
};
|
20
|
-
return (
|
20
|
+
return (s, t) => (l(), g("div", {
|
21
21
|
class: "chat",
|
22
|
-
onClick:
|
22
|
+
onClick: n
|
23
23
|
}, [
|
24
|
-
u("p", null,
|
24
|
+
u("p", null, N(f.chat.name) + " " + N(f.chat.countUnread), 1)
|
25
25
|
]));
|
26
26
|
}
|
27
|
-
}, EA = /* @__PURE__ */ x(VA, [["__scopeId", "data-v-
|
27
|
+
}, EA = /* @__PURE__ */ x(VA, [["__scopeId", "data-v-624e6f84"]]), TA = { class: "context-menu" }, xA = { class: "context-menu__container" }, SA = { class: "context-menu__list" }, zA = ["onClick"], OA = {
|
28
28
|
__name: "ContextMenu",
|
29
29
|
props: {
|
30
30
|
actions: {
|
@@ -34,23 +34,23 @@ const x = (f, e) => {
|
|
34
34
|
},
|
35
35
|
emits: ["click"],
|
36
36
|
setup(f, { emit: e }) {
|
37
|
-
const A = f,
|
38
|
-
const t = A.actions[
|
39
|
-
|
37
|
+
const A = f, a = e, n = (s) => {
|
38
|
+
const t = A.actions[s];
|
39
|
+
a("click", t);
|
40
40
|
};
|
41
|
-
return (
|
41
|
+
return (s, t) => (l(), g("div", TA, [
|
42
42
|
u("div", xA, [
|
43
43
|
u("ul", SA, [
|
44
|
-
(l(!0), g(q, null, F(A.actions, (
|
45
|
-
class: "context-menu__item",
|
44
|
+
(l(!0), g(q, null, F(A.actions, (i, o) => (l(), g("li", {
|
46
45
|
key: o,
|
47
|
-
|
48
|
-
|
46
|
+
class: "context-menu__item",
|
47
|
+
onClick: (r) => n(o)
|
48
|
+
}, N(i.title), 9, zA))), 128))
|
49
49
|
])
|
50
50
|
])
|
51
51
|
]));
|
52
52
|
}
|
53
|
-
}, vf = /* @__PURE__ */ x(OA, [["__scopeId", "data-v-
|
53
|
+
}, vf = /* @__PURE__ */ x(OA, [["__scopeId", "data-v-3ebe373a"]]), CA = { class: "chat-item__avatar-container" }, UA = ["src"], LA = {
|
54
54
|
key: 1,
|
55
55
|
class: "pi pi-user"
|
56
56
|
}, QA = { class: "chat-item__info-container" }, BA = { class: "chat-item__name" }, YA = {
|
@@ -75,15 +75,16 @@ const x = (f, e) => {
|
|
75
75
|
},
|
76
76
|
emits: ["select", "action"],
|
77
77
|
setup(f, { emit: e }) {
|
78
|
-
const A = f,
|
79
|
-
|
80
|
-
},
|
81
|
-
|
82
|
-
},
|
78
|
+
const A = f, a = e, n = () => {
|
79
|
+
a("select", A.chat);
|
80
|
+
}, s = () => A.chat.isSelected ? "chat-item__selected" : "chat-item", t = (c) => {
|
81
|
+
d(), a("action", { chatId: A.chat.chatId, ...c });
|
82
|
+
}, i = v(!1), o = v(!1), r = () => {
|
83
83
|
o.value = !0;
|
84
|
-
},
|
85
|
-
o.value = !1,
|
86
|
-
}
|
84
|
+
}, d = () => {
|
85
|
+
o.value = !1, i.value = !1;
|
86
|
+
};
|
87
|
+
return V(() => {
|
87
88
|
switch (A.chat.status) {
|
88
89
|
case "online":
|
89
90
|
return "chat-item__status--online";
|
@@ -92,20 +93,20 @@ const x = (f, e) => {
|
|
92
93
|
case "sleep":
|
93
94
|
return "chat-item__status--sleep";
|
94
95
|
}
|
95
|
-
})
|
96
|
-
|
97
|
-
|
98
|
-
onClick: a
|
96
|
+
}), (c, M) => (l(), g("div", {
|
97
|
+
class: T(s()),
|
98
|
+
onClick: n
|
99
99
|
}, [
|
100
100
|
u("div", {
|
101
101
|
class: "chat-item__container",
|
102
102
|
onMouseenter: r,
|
103
|
-
onMouseleave:
|
103
|
+
onMouseleave: d
|
104
104
|
}, [
|
105
105
|
u("div", CA, [
|
106
106
|
u("span", {
|
107
|
-
class:
|
108
|
-
|
107
|
+
class: "chat-item__status",
|
108
|
+
style: G({ backgroundColor: A.chat.status })
|
109
|
+
}, null, 4),
|
109
110
|
A.chat.avatar ? (l(), g("img", {
|
110
111
|
key: 0,
|
111
112
|
src: A.chat.avatar,
|
@@ -114,42 +115,42 @@ const x = (f, e) => {
|
|
114
115
|
}, null, 8, UA)) : (l(), g("span", LA))
|
115
116
|
]),
|
116
117
|
u("div", QA, [
|
117
|
-
u("div", BA,
|
118
|
-
f.chat.lastMessage ? (l(), g("div", YA,
|
118
|
+
u("div", BA, N(f.chat.name), 1),
|
119
|
+
f.chat.lastMessage ? (l(), g("div", YA, N(f.chat.lastMessage), 1)) : y("", !0)
|
119
120
|
]),
|
120
121
|
u("div", RA, [
|
121
|
-
!(o.value && f.chat.actions) && f.chat["lastActivity.time"] ? (l(), g("div", qA,
|
122
|
-
!(o.value && f.chat.actions) && f.chat.countUnread > 0 ? (l(), g("div", FA,
|
122
|
+
!(o.value && f.chat.actions) && f.chat["lastActivity.time"] ? (l(), g("div", qA, N(f.chat["lastActivity.time"]), 1)) : y("", !0),
|
123
|
+
!(o.value && f.chat.actions) && f.chat.countUnread > 0 ? (l(), g("div", FA, N(f.chat.countUnread), 1)) : y("", !0),
|
123
124
|
o.value && f.chat.actions ? (l(), g("button", {
|
124
125
|
key: 2,
|
125
126
|
class: "chat-item__menu-button",
|
126
|
-
onClick:
|
127
|
-
},
|
127
|
+
onClick: M[0] || (M[0] = (b) => i.value = !i.value)
|
128
|
+
}, M[1] || (M[1] = [
|
128
129
|
u("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
129
|
-
]))) :
|
130
|
-
f.chat.isFixedTop || f.chat.isFixedBottom ? (l(), g("span", JA)) :
|
130
|
+
]))) : y("", !0),
|
131
|
+
f.chat.isFixedTop || f.chat.isFixedBottom ? (l(), g("span", JA)) : y("", !0)
|
131
132
|
]),
|
132
133
|
z(X, null, {
|
133
|
-
default:
|
134
|
-
|
134
|
+
default: ff(() => [
|
135
|
+
i.value && f.chat.actions ? (l(), L(vf, {
|
135
136
|
key: 0,
|
136
137
|
class: "chat-item__context-menu",
|
137
138
|
actions: f.chat.actions,
|
138
139
|
onClick: t
|
139
|
-
}, null, 8, ["actions"])) :
|
140
|
+
}, null, 8, ["actions"])) : y("", !0)
|
140
141
|
]),
|
141
142
|
_: 1
|
142
143
|
})
|
143
144
|
], 32)
|
144
145
|
], 2));
|
145
146
|
}
|
146
|
-
},
|
147
|
-
key:
|
147
|
+
}, ne = /* @__PURE__ */ x(WA, [["__scopeId", "data-v-45af07bc"]]), KA = ["messageId"], ZA = ["src"], PA = {
|
148
|
+
key: 1,
|
148
149
|
class: "file-message__subtext"
|
149
|
-
},
|
150
|
+
}, HA = ["href"], GA = { class: "file-message__info-container" }, $A = { class: "file-message__time" }, XA = {
|
150
151
|
key: 0,
|
151
152
|
class: "pi pi-check"
|
152
|
-
},
|
153
|
+
}, fa = {
|
153
154
|
__name: "FileMessage",
|
154
155
|
props: {
|
155
156
|
message: {
|
@@ -158,15 +159,15 @@ const x = (f, e) => {
|
|
158
159
|
}
|
159
160
|
},
|
160
161
|
setup(f) {
|
161
|
-
const e = f, A =
|
162
|
-
|
163
|
-
},
|
164
|
-
|
162
|
+
const e = f, A = v(!1), a = v(!1), n = () => {
|
163
|
+
a.value = !0;
|
164
|
+
}, s = () => {
|
165
|
+
a.value = !1, A.value = !1;
|
165
166
|
};
|
166
167
|
function t(o) {
|
167
168
|
return o.position === "left" ? "file-message__left" : "file-message__right";
|
168
169
|
}
|
169
|
-
const
|
170
|
+
const i = V(() => {
|
170
171
|
switch (e.message.status) {
|
171
172
|
case "read":
|
172
173
|
return "file-message__status--read";
|
@@ -175,61 +176,63 @@ const x = (f, e) => {
|
|
175
176
|
}
|
176
177
|
});
|
177
178
|
return (o, r) => (l(), g("div", {
|
178
|
-
class:
|
179
|
+
class: T(["file-message", t(f.message)]),
|
179
180
|
messageId: f.message.messageId,
|
180
|
-
onMouseleave:
|
181
|
+
onMouseleave: s
|
181
182
|
}, [
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
183
|
+
f.message.avatar ? (l(), g("img", {
|
184
|
+
key: 0,
|
185
|
+
class: "file-message__avatar",
|
186
|
+
src: f.message.avatar,
|
187
|
+
height: "32",
|
188
|
+
width: "32",
|
189
|
+
style: G({ gridRow: f.message.subText ? "2" : "1" })
|
190
|
+
}, null, 12, ZA)) : y("", !0),
|
191
|
+
f.message.subText ? (l(), g("p", PA, N(f.message.subText), 1)) : y("", !0),
|
189
192
|
u("div", {
|
190
193
|
class: "file-message__content",
|
191
|
-
onMouseenter:
|
194
|
+
onMouseenter: n
|
192
195
|
}, [
|
193
196
|
u("a", {
|
194
197
|
class: "file-message__link",
|
195
198
|
href: f.message.url,
|
196
199
|
download: ""
|
197
200
|
}, [
|
198
|
-
r[
|
199
|
-
|
200
|
-
], 8,
|
201
|
-
u("div",
|
202
|
-
u("span",
|
201
|
+
r[1] || (r[1] = u("span", { class: "pi pi-file" }, null, -1)),
|
202
|
+
MA(" " + N(f.message.filename), 1)
|
203
|
+
], 8, HA),
|
204
|
+
u("div", GA, [
|
205
|
+
u("span", $A, N(f.message.time), 1),
|
203
206
|
t(f.message) === "file-message__right" && f.message.status ? (l(), g("div", {
|
204
207
|
key: 0,
|
205
|
-
class:
|
208
|
+
class: T(["file-message__status", i.value])
|
206
209
|
}, [
|
207
|
-
f.message.status !== "sent" ? (l(), g("span", XA)) :
|
208
|
-
r[
|
209
|
-
], 2)) :
|
210
|
+
f.message.status !== "sent" ? (l(), g("span", XA)) : y("", !0),
|
211
|
+
r[2] || (r[2] = u("span", { class: "pi pi-check" }, null, -1))
|
212
|
+
], 2)) : y("", !0)
|
210
213
|
]),
|
211
|
-
|
214
|
+
a.value && f.message.actions ? (l(), g("button", {
|
212
215
|
key: 0,
|
213
216
|
class: "file-message__menu-button",
|
214
|
-
onClick: r[0] || (r[0] = (
|
215
|
-
}, r[
|
217
|
+
onClick: r[0] || (r[0] = (d) => A.value = !A.value)
|
218
|
+
}, r[3] || (r[3] = [
|
216
219
|
u("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
217
|
-
]))) :
|
220
|
+
]))) : y("", !0),
|
218
221
|
z(X, null, {
|
219
|
-
default:
|
222
|
+
default: ff(() => [
|
220
223
|
A.value && f.message.actions ? (l(), L(vf, {
|
221
224
|
key: 0,
|
222
225
|
class: "file-message__context-menu",
|
223
226
|
actions: f.message.actions,
|
224
227
|
onClick: o.clickAction
|
225
|
-
}, null, 8, ["actions", "onClick"])) :
|
228
|
+
}, null, 8, ["actions", "onClick"])) : y("", !0)
|
226
229
|
]),
|
227
230
|
_: 1
|
228
231
|
})
|
229
232
|
], 32)
|
230
233
|
], 42, KA));
|
231
234
|
}
|
232
|
-
},
|
235
|
+
}, ea = /* @__PURE__ */ x(fa, [["__scopeId", "data-v-af8b339f"]]), Aa = ["messageId"], aa = ["src", "alt"], na = { class: "message-time" }, ta = {
|
233
236
|
__name: "ImageMessage",
|
234
237
|
props: {
|
235
238
|
message: {
|
@@ -242,28 +245,28 @@ const x = (f, e) => {
|
|
242
245
|
function A() {
|
243
246
|
return e.message.position === "left" ? "image-message-left" : "image-message-right";
|
244
247
|
}
|
245
|
-
return (
|
246
|
-
class:
|
248
|
+
return (a, n) => (l(), g("div", {
|
249
|
+
class: T(A()),
|
247
250
|
messageId: f.message.messageId
|
248
251
|
}, [
|
249
252
|
u("img", {
|
250
253
|
src: f.message.url,
|
251
254
|
alt: f.message.alt,
|
252
255
|
class: "image-message"
|
253
|
-
}, null, 8,
|
254
|
-
u("div",
|
255
|
-
], 10,
|
256
|
+
}, null, 8, aa),
|
257
|
+
u("div", na, N(f.message.time), 1)
|
258
|
+
], 10, Aa));
|
256
259
|
}
|
257
|
-
},
|
258
|
-
key:
|
260
|
+
}, Hs = /* @__PURE__ */ x(ta, [["__scopeId", "data-v-2a6fb9a2"]]), sa = { class: "text-message" }, ia = ["messageId"], oa = ["src"], ua = {
|
261
|
+
key: 1,
|
259
262
|
class: "text-message__subtext"
|
260
|
-
},
|
263
|
+
}, ra = { class: "text-message__info-container" }, la = {
|
261
264
|
key: 0,
|
262
265
|
class: "text-message__time"
|
263
|
-
},
|
266
|
+
}, ca = {
|
264
267
|
key: 0,
|
265
268
|
class: "pi pi-check"
|
266
|
-
},
|
269
|
+
}, da = {
|
267
270
|
__name: "TextMessage",
|
268
271
|
props: {
|
269
272
|
message: {
|
@@ -273,17 +276,17 @@ const x = (f, e) => {
|
|
273
276
|
},
|
274
277
|
emits: ["action"],
|
275
278
|
setup(f, { emit: e }) {
|
276
|
-
const A = f,
|
277
|
-
|
278
|
-
},
|
279
|
-
|
280
|
-
}, o = (
|
281
|
-
|
279
|
+
const A = f, a = e, n = v(!1), s = v(!1), t = () => {
|
280
|
+
s.value = !0;
|
281
|
+
}, i = () => {
|
282
|
+
s.value = !1, n.value = !1;
|
283
|
+
}, o = (c) => {
|
284
|
+
i(), a("action", { messageId: A.message.messageId, ...c });
|
282
285
|
};
|
283
|
-
function r(
|
284
|
-
return
|
286
|
+
function r(c) {
|
287
|
+
return c.position === "left" ? "text-message__left" : "text-message__right";
|
285
288
|
}
|
286
|
-
const
|
289
|
+
const d = V(() => {
|
287
290
|
switch (A.message.status) {
|
288
291
|
case "read":
|
289
292
|
return "text-message__status--read";
|
@@ -291,63 +294,65 @@ const x = (f, e) => {
|
|
291
294
|
return "text-message__status--received";
|
292
295
|
}
|
293
296
|
});
|
294
|
-
return (
|
297
|
+
return (c, M) => (l(), g("div", sa, [
|
295
298
|
u("div", {
|
296
|
-
class:
|
299
|
+
class: T(r(f.message)),
|
297
300
|
messageId: f.message.messageId,
|
298
|
-
onMouseleave:
|
301
|
+
onMouseleave: i
|
299
302
|
}, [
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
303
|
+
f.message.avatar ? (l(), g("img", {
|
304
|
+
key: 0,
|
305
|
+
class: "text-message__avatar",
|
306
|
+
src: f.message.avatar,
|
307
|
+
height: "32",
|
308
|
+
width: "32",
|
309
|
+
style: G({ gridRow: f.message.subText ? "2" : "1" })
|
310
|
+
}, null, 12, oa)) : y("", !0),
|
311
|
+
f.message.subText ? (l(), g("p", ua, N(f.message.subText), 1)) : y("", !0),
|
307
312
|
u("div", {
|
308
313
|
class: "text-message__content",
|
309
314
|
onMouseenter: t
|
310
315
|
}, [
|
311
|
-
u("p", null,
|
312
|
-
u("div",
|
313
|
-
f.message.time ? (l(), g("span",
|
316
|
+
u("p", null, N(f.message.text), 1),
|
317
|
+
u("div", ra, [
|
318
|
+
f.message.time ? (l(), g("span", la, N(f.message.time), 1)) : y("", !0),
|
314
319
|
r(f.message) === "text-message__right" && f.message.status ? (l(), g("div", {
|
315
320
|
key: 1,
|
316
|
-
class:
|
321
|
+
class: T(["text-message__status", d.value])
|
317
322
|
}, [
|
318
|
-
f.message.status !== "sent" ? (l(), g("span",
|
319
|
-
M[
|
320
|
-
], 2)) :
|
323
|
+
f.message.status !== "sent" ? (l(), g("span", ca)) : y("", !0),
|
324
|
+
M[1] || (M[1] = u("span", { class: "pi pi-check" }, null, -1))
|
325
|
+
], 2)) : y("", !0)
|
321
326
|
]),
|
322
|
-
|
327
|
+
s.value && f.message.actions ? (l(), g("button", {
|
323
328
|
key: 0,
|
324
329
|
class: "text-message__menu-button",
|
325
|
-
onClick: M[0] || (M[0] = (b) =>
|
326
|
-
}, M[
|
330
|
+
onClick: M[0] || (M[0] = (b) => n.value = !n.value)
|
331
|
+
}, M[2] || (M[2] = [
|
327
332
|
u("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
328
|
-
]))) :
|
333
|
+
]))) : y("", !0),
|
329
334
|
z(X, null, {
|
330
|
-
default:
|
331
|
-
|
335
|
+
default: ff(() => [
|
336
|
+
n.value && f.message.actions ? (l(), L(vf, {
|
332
337
|
key: 0,
|
333
338
|
class: "text-message__context-menu",
|
334
339
|
actions: f.message.actions,
|
335
340
|
onClick: o
|
336
|
-
}, null, 8, ["actions"])) :
|
341
|
+
}, null, 8, ["actions"])) : y("", !0)
|
337
342
|
]),
|
338
343
|
_: 1
|
339
344
|
})
|
340
345
|
], 32)
|
341
|
-
], 42,
|
346
|
+
], 42, ia)
|
342
347
|
]));
|
343
348
|
}
|
344
|
-
},
|
345
|
-
key:
|
349
|
+
}, ga = /* @__PURE__ */ x(da, [["__scopeId", "data-v-87e93d0a"]]), ma = ["messageId"], Ma = ["src"], pa = {
|
350
|
+
key: 1,
|
346
351
|
class: "audio-message__subtext"
|
347
|
-
},
|
352
|
+
}, ha = ["src"], ba = { class: "audio-message__progress-bar-container" }, ya = { class: "audio-message__remaining-time" }, va = { class: "audio-message__info-container" }, Ia = { class: "audio-message__time" }, Na = {
|
348
353
|
key: 0,
|
349
354
|
class: "pi pi-check"
|
350
|
-
},
|
355
|
+
}, wa = {
|
351
356
|
__name: "AudioMessage",
|
352
357
|
props: {
|
353
358
|
message: {
|
@@ -356,18 +361,18 @@ const x = (f, e) => {
|
|
356
361
|
}
|
357
362
|
},
|
358
363
|
setup(f) {
|
359
|
-
const e = f, A =
|
360
|
-
|
364
|
+
const e = f, A = v(null), a = v(!1), n = v(0), s = v(0), t = v(!1), i = v(!1), o = () => {
|
365
|
+
i.value = !0;
|
361
366
|
}, r = () => {
|
362
|
-
|
367
|
+
i.value = !1, t.value = !1;
|
363
368
|
};
|
364
|
-
function
|
365
|
-
A.value && (
|
369
|
+
function d() {
|
370
|
+
A.value && (a.value ? A.value.pause() : A.value.play(), a.value = !a.value);
|
366
371
|
}
|
367
|
-
const
|
368
|
-
const
|
369
|
-
return `${
|
370
|
-
}, M = V(() => A.value ?
|
372
|
+
const c = (I) => {
|
373
|
+
const w = Math.floor(I / 60), _ = Math.floor(I % 60);
|
374
|
+
return `${w.toString().padStart(2, "0")}:${_.toString().padStart(2, "0")}`;
|
375
|
+
}, M = V(() => A.value ? c(s.value) : "0:00"), b = V(() => A.value ? c(n.value) : "0:00"), m = V(() => n.value > 0 ? s.value / n.value * 100 : 0), h = V(() => {
|
371
376
|
switch (e.message.status) {
|
372
377
|
case "read":
|
373
378
|
return "audio-message__status--read";
|
@@ -380,22 +385,24 @@ const x = (f, e) => {
|
|
380
385
|
}
|
381
386
|
return Zf(() => {
|
382
387
|
A.value.addEventListener("loadedmetadata", () => {
|
383
|
-
|
388
|
+
n.value = A.value.duration;
|
384
389
|
}), A.value.addEventListener("timeupdate", () => {
|
385
|
-
|
390
|
+
s.value = A.value.currentTime;
|
386
391
|
});
|
387
|
-
}), (I,
|
388
|
-
class:
|
392
|
+
}), (I, w) => (l(), g("div", {
|
393
|
+
class: T(["audio-message", p(f.message)]),
|
389
394
|
messageId: f.message.messageId,
|
390
395
|
onMouseleave: r
|
391
396
|
}, [
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
397
|
+
f.message.avatar ? (l(), g("img", {
|
398
|
+
key: 0,
|
399
|
+
class: "file-message__avatar",
|
400
|
+
src: f.message.avatar,
|
401
|
+
height: "32",
|
402
|
+
width: "32",
|
403
|
+
style: G({ gridRow: f.message.subText ? "2" : "1" })
|
404
|
+
}, null, 12, Ma)) : y("", !0),
|
405
|
+
f.message.subText ? (l(), g("p", pa, N(f.message.subText), 1)) : y("", !0),
|
399
406
|
u("div", {
|
400
407
|
class: "audio-message__content",
|
401
408
|
onMouseenter: o
|
@@ -404,62 +411,62 @@ const x = (f, e) => {
|
|
404
411
|
ref_key: "player",
|
405
412
|
ref: A,
|
406
413
|
src: f.message.url
|
407
|
-
}, null, 8,
|
414
|
+
}, null, 8, ha),
|
408
415
|
P(u("button", {
|
409
416
|
class: "audio-message__play",
|
410
|
-
onClick:
|
411
|
-
},
|
417
|
+
onClick: d
|
418
|
+
}, w[1] || (w[1] = [
|
412
419
|
u("span", { class: "pi pi-play" }, null, -1)
|
413
420
|
]), 512), [
|
414
|
-
[gf, !
|
421
|
+
[gf, !a.value]
|
415
422
|
]),
|
416
423
|
P(u("button", {
|
417
424
|
class: "audio-message__pause",
|
418
|
-
onClick:
|
419
|
-
},
|
425
|
+
onClick: d
|
426
|
+
}, w[2] || (w[2] = [
|
420
427
|
u("span", { class: "pi pi-pause" }, null, -1)
|
421
428
|
]), 512), [
|
422
|
-
[gf,
|
429
|
+
[gf, a.value]
|
423
430
|
]),
|
424
|
-
u("div",
|
431
|
+
u("div", ba, [
|
425
432
|
u("div", {
|
426
433
|
class: "audio-message__progress-bar",
|
427
|
-
style:
|
434
|
+
style: G({ width: m.value + "%" })
|
428
435
|
}, null, 4)
|
429
436
|
]),
|
430
|
-
u("p",
|
431
|
-
u("div",
|
432
|
-
u("span",
|
437
|
+
u("p", ya, N(`${M.value} / ${b.value}`), 1),
|
438
|
+
u("div", va, [
|
439
|
+
u("span", Ia, N(f.message.time), 1),
|
433
440
|
p(f.message) === "audio-message__right" && f.message.status ? (l(), g("div", {
|
434
441
|
key: 0,
|
435
|
-
class:
|
442
|
+
class: T(["audio-message__status", h.value])
|
436
443
|
}, [
|
437
|
-
f.message.status !== "sent" ? (l(), g("span",
|
438
|
-
|
439
|
-
], 2)) :
|
444
|
+
f.message.status !== "sent" ? (l(), g("span", Na)) : y("", !0),
|
445
|
+
w[3] || (w[3] = u("span", { class: "pi pi-check" }, null, -1))
|
446
|
+
], 2)) : y("", !0)
|
440
447
|
]),
|
441
|
-
|
448
|
+
i.value && f.message.actions ? (l(), g("button", {
|
442
449
|
key: 0,
|
443
450
|
class: "audio-message__menu-button",
|
444
|
-
onClick:
|
445
|
-
},
|
451
|
+
onClick: w[0] || (w[0] = (_) => t.value = !t.value)
|
452
|
+
}, w[4] || (w[4] = [
|
446
453
|
u("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
447
|
-
]))) :
|
454
|
+
]))) : y("", !0),
|
448
455
|
z(X, null, {
|
449
|
-
default:
|
456
|
+
default: ff(() => [
|
450
457
|
t.value && f.message.actions ? (l(), L(vf, {
|
451
458
|
key: 0,
|
452
459
|
class: "audio-message__context-menu",
|
453
460
|
actions: f.message.actions,
|
454
461
|
onClick: I.clickAction
|
455
|
-
}, null, 8, ["actions", "onClick"])) :
|
462
|
+
}, null, 8, ["actions", "onClick"])) : y("", !0)
|
456
463
|
]),
|
457
464
|
_: 1
|
458
465
|
})
|
459
466
|
], 32)
|
460
|
-
], 42,
|
467
|
+
], 42, ma));
|
461
468
|
}
|
462
|
-
},
|
469
|
+
}, Da = /* @__PURE__ */ x(wa, [["__scopeId", "data-v-40e29127"]]), _a = { class: "date-message" }, ka = { class: "date-message__container" }, ja = { class: "date-message__text" }, Va = {
|
463
470
|
__name: "DateMessage",
|
464
471
|
props: {
|
465
472
|
message: {
|
@@ -467,22 +474,22 @@ const x = (f, e) => {
|
|
467
474
|
}
|
468
475
|
},
|
469
476
|
setup(f) {
|
470
|
-
return (e, A) => (l(), g("div",
|
471
|
-
u("div",
|
472
|
-
u("p",
|
477
|
+
return (e, A) => (l(), g("div", _a, [
|
478
|
+
u("div", ka, [
|
479
|
+
u("p", ja, N(f.message.text), 1)
|
473
480
|
])
|
474
481
|
]));
|
475
482
|
}
|
476
|
-
},
|
477
|
-
key:
|
483
|
+
}, Ea = /* @__PURE__ */ x(Va, [["__scopeId", "data-v-29f471a6"]]), Ta = ["messageId"], xa = ["src"], Sa = {
|
484
|
+
key: 1,
|
478
485
|
class: "image-message__subtext"
|
479
|
-
},
|
486
|
+
}, za = ["src", "alt"], Oa = { class: "image-message__info-container" }, Ca = { class: "image-message__time" }, Ua = {
|
480
487
|
key: 0,
|
481
488
|
class: "pi pi-check"
|
482
|
-
},
|
489
|
+
}, La = {
|
483
490
|
key: 0,
|
484
491
|
class: "image-message__modal-overlay"
|
485
|
-
},
|
492
|
+
}, Qa = { class: "image-message__modal" }, Ba = ["src", "alt"], Ya = {
|
486
493
|
__name: "ImageMessage2",
|
487
494
|
props: {
|
488
495
|
message: {
|
@@ -491,12 +498,12 @@ const x = (f, e) => {
|
|
491
498
|
}
|
492
499
|
},
|
493
500
|
setup(f) {
|
494
|
-
const e = f, A =
|
495
|
-
|
501
|
+
const e = f, A = v(!1), a = v(!1), n = v(!1), s = () => {
|
502
|
+
n.value = !0;
|
496
503
|
}, t = () => {
|
497
|
-
|
504
|
+
n.value = !1, a.value = !1;
|
498
505
|
};
|
499
|
-
function
|
506
|
+
function i(r) {
|
500
507
|
return r.position === "left" ? "image-message__left" : "image-message__right";
|
501
508
|
}
|
502
509
|
const o = V(() => {
|
@@ -507,51 +514,53 @@ const x = (f, e) => {
|
|
507
514
|
return "image-message__status--received";
|
508
515
|
}
|
509
516
|
});
|
510
|
-
return (r,
|
511
|
-
class:
|
517
|
+
return (r, d) => (l(), g("div", {
|
518
|
+
class: T(["image-message", i(f.message)]),
|
512
519
|
messageId: f.message.messageId,
|
513
520
|
onMouseleave: t
|
514
521
|
}, [
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
+
f.message.avatar ? (l(), g("img", {
|
523
|
+
key: 0,
|
524
|
+
class: "image-message__avatar",
|
525
|
+
src: f.message.avatar,
|
526
|
+
height: "32",
|
527
|
+
width: "32",
|
528
|
+
style: G({ gridRow: f.message.subText ? "2" : "1" })
|
529
|
+
}, null, 12, xa)) : y("", !0),
|
530
|
+
f.message.subText ? (l(), g("p", Sa, N(f.message.subText), 1)) : y("", !0),
|
522
531
|
u("div", {
|
523
532
|
class: "image-message__content",
|
524
|
-
onMouseenter:
|
533
|
+
onMouseenter: s
|
525
534
|
}, [
|
526
535
|
u("button", {
|
527
536
|
class: "image-message__button",
|
528
|
-
onClick:
|
537
|
+
onClick: d[0] || (d[0] = (c) => A.value = !0)
|
529
538
|
}, [
|
530
539
|
u("img", {
|
531
540
|
class: "image-message__preview-image",
|
532
541
|
src: f.message.url,
|
533
542
|
alt: f.message.alt
|
534
|
-
}, null, 8,
|
535
|
-
u("div",
|
536
|
-
u("span",
|
537
|
-
|
543
|
+
}, null, 8, za),
|
544
|
+
u("div", Oa, [
|
545
|
+
u("span", Ca, N(f.message.time), 1),
|
546
|
+
i(f.message) === "image-message__right" && f.message.status ? (l(), g("div", {
|
538
547
|
key: 0,
|
539
|
-
class:
|
548
|
+
class: T(["image-message__status", o.value])
|
540
549
|
}, [
|
541
|
-
f.message.status !== "sent" ? (l(), g("span",
|
542
|
-
|
543
|
-
], 2)) :
|
550
|
+
f.message.status !== "sent" ? (l(), g("span", Ua)) : y("", !0),
|
551
|
+
d[3] || (d[3] = u("span", { class: "pi pi-check" }, null, -1))
|
552
|
+
], 2)) : y("", !0)
|
544
553
|
])
|
545
554
|
]),
|
546
|
-
(l(), L(
|
555
|
+
(l(), L(pA, { to: "body" }, [
|
547
556
|
z(X, { name: "modal-fade" }, {
|
548
|
-
default:
|
549
|
-
A.value ? (l(), g("div",
|
550
|
-
u("div",
|
557
|
+
default: ff(() => [
|
558
|
+
A.value ? (l(), g("div", La, [
|
559
|
+
u("div", Qa, [
|
551
560
|
u("button", {
|
552
561
|
class: "image-message__modal-close-button",
|
553
|
-
onClick:
|
554
|
-
},
|
562
|
+
onClick: d[1] || (d[1] = (c) => A.value = !1)
|
563
|
+
}, d[4] || (d[4] = [
|
555
564
|
u("span", null, [
|
556
565
|
u("i", { class: "pi pi-times" })
|
557
566
|
], -1)
|
@@ -560,38 +569,38 @@ const x = (f, e) => {
|
|
560
569
|
class: "image-message__modal-image",
|
561
570
|
src: f.message.url,
|
562
571
|
alt: f.message.alt
|
563
|
-
}, null, 8,
|
572
|
+
}, null, 8, Ba)
|
564
573
|
])
|
565
|
-
])) :
|
574
|
+
])) : y("", !0)
|
566
575
|
]),
|
567
576
|
_: 1
|
568
577
|
})
|
569
578
|
])),
|
570
|
-
|
579
|
+
n.value && f.message.actions ? (l(), g("button", {
|
571
580
|
key: 0,
|
572
581
|
class: "image-message__menu-button",
|
573
|
-
onClick:
|
574
|
-
},
|
582
|
+
onClick: d[2] || (d[2] = (c) => a.value = !a.value)
|
583
|
+
}, d[5] || (d[5] = [
|
575
584
|
u("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
576
|
-
]))) :
|
585
|
+
]))) : y("", !0),
|
577
586
|
z(X, { name: "context-menu" }, {
|
578
|
-
default:
|
579
|
-
|
587
|
+
default: ff(() => [
|
588
|
+
a.value && f.message.actions ? (l(), L(vf, {
|
580
589
|
key: 0,
|
581
590
|
class: "image-message__context-menu",
|
582
591
|
actions: f.message.actions,
|
583
592
|
onClick: r.clickAction
|
584
|
-
}, null, 8, ["actions", "onClick"])) :
|
593
|
+
}, null, 8, ["actions", "onClick"])) : y("", !0)
|
585
594
|
]),
|
586
595
|
_: 1
|
587
596
|
})
|
588
597
|
], 32)
|
589
|
-
], 42,
|
598
|
+
], 42, Ta));
|
590
599
|
}
|
591
|
-
},
|
600
|
+
}, Ra = /* @__PURE__ */ x(Ya, [["__scopeId", "data-v-76f68be4"]]), qa = { class: "chat-info" }, Fa = {
|
592
601
|
key: 0,
|
593
602
|
class: "chat-info__container"
|
594
|
-
},
|
603
|
+
}, Ja = { class: "chat-info__avatar-container" }, Wa = ["src"], Ka = { key: 1 }, Za = { class: "chat-info__title" }, Pa = { class: "chat-info__time" }, Ha = {
|
595
604
|
__name: "ChatInfo",
|
596
605
|
props: {
|
597
606
|
chat: {
|
@@ -601,42 +610,44 @@ const x = (f, e) => {
|
|
601
610
|
},
|
602
611
|
setup(f) {
|
603
612
|
const e = f;
|
604
|
-
return (A,
|
605
|
-
f.chat ? (l(), g("div",
|
606
|
-
u("div",
|
613
|
+
return (A, a) => (l(), g("div", qa, [
|
614
|
+
f.chat ? (l(), g("div", Fa, [
|
615
|
+
u("div", Ja, [
|
607
616
|
e.chat.avatar ? (l(), g("img", {
|
608
617
|
key: 0,
|
609
|
-
src: e.chat.avatar
|
610
|
-
|
618
|
+
src: e.chat.avatar,
|
619
|
+
width: "32",
|
620
|
+
height: "32"
|
621
|
+
}, null, 8, Wa)) : (l(), g("span", Ka, a[0] || (a[0] = [
|
611
622
|
u("i", { class: "pi pi-user" }, null, -1)
|
612
623
|
])))
|
613
624
|
]),
|
614
|
-
u("h2",
|
615
|
-
|
616
|
-
])) :
|
625
|
+
u("h2", Za, N(f.chat.name), 1),
|
626
|
+
u("p", Pa, N(f.chat["lastActivity.time"]), 1)
|
627
|
+
])) : y("", !0)
|
617
628
|
]));
|
618
629
|
}
|
619
|
-
},
|
630
|
+
}, Gs = /* @__PURE__ */ x(Ha, [["__scopeId", "data-v-73a63a13"]]), Ga = { class: "chat-input" }, $a = {
|
620
631
|
__name: "ChatInput",
|
621
632
|
emits: ["send"],
|
622
633
|
setup(f, { emit: e }) {
|
623
|
-
const A = e,
|
624
|
-
|
634
|
+
const A = e, a = v(""), n = v(null), s = () => {
|
635
|
+
a.value.trim() && (A("send", a.value), a.value = "", df(n).focus());
|
625
636
|
};
|
626
|
-
return (t,
|
637
|
+
return (t, i) => (l(), g("div", Ga, [
|
627
638
|
P(u("input", {
|
628
|
-
"onUpdate:modelValue": s[0] || (s[0] = (o) => n.value = o),
|
629
639
|
ref_key: "refInput",
|
630
|
-
ref:
|
631
|
-
|
632
|
-
placeholder: "Type a message..."
|
640
|
+
ref: n,
|
641
|
+
"onUpdate:modelValue": i[0] || (i[0] = (o) => a.value = o),
|
642
|
+
placeholder: "Type a message...",
|
643
|
+
onKeydown: Fe(s, ["enter"])
|
633
644
|
}, null, 544), [
|
634
|
-
[Pf,
|
645
|
+
[Pf, a.value]
|
635
646
|
]),
|
636
|
-
u("button", { onClick:
|
647
|
+
u("button", { onClick: s }, " Send ")
|
637
648
|
]));
|
638
649
|
}
|
639
|
-
},
|
650
|
+
}, $s = /* @__PURE__ */ x($a, [["__scopeId", "data-v-b2649b3f"]]), Ke = "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64", Ze = {
|
640
651
|
recent: "Recently used",
|
641
652
|
smileys_people: "Smiles & People",
|
642
653
|
animals_nature: "Animals & Nature",
|
@@ -646,21 +657,21 @@ const x = (f, e) => {
|
|
646
657
|
objects: "Objects",
|
647
658
|
symbols: "Symbols",
|
648
659
|
flags: "Flags"
|
649
|
-
}, Pe = "u",
|
650
|
-
[
|
660
|
+
}, Pe = "u", $f = "n", Yf = "v", Vf = "r", Xa = {
|
661
|
+
[$f]: ["grinning face", "grinning"],
|
651
662
|
[Pe]: "1f600",
|
652
663
|
[Vf]: "1f600"
|
653
|
-
}, Wf = "neutral",
|
664
|
+
}, Wf = "neutral", fn = "1f3fb", en = "1f3fc", An = "1f3fd", an = "1f3fe", nn = "1f3ff", tn = [
|
654
665
|
Wf,
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
],
|
666
|
+
fn,
|
667
|
+
en,
|
668
|
+
An,
|
669
|
+
an,
|
670
|
+
nn
|
671
|
+
], sn = {
|
661
672
|
placeholder: "Search emoji",
|
662
673
|
skinTone: "Skin tone"
|
663
|
-
},
|
674
|
+
}, on = ["light", "dark", "auto"], un = [
|
664
675
|
{
|
665
676
|
n: [
|
666
677
|
"grinning face",
|
@@ -5068,7 +5079,7 @@ const x = (f, e) => {
|
|
5068
5079
|
],
|
5069
5080
|
u: "1f48e"
|
5070
5081
|
}
|
5071
|
-
],
|
5082
|
+
], rn = [
|
5072
5083
|
{
|
5073
5084
|
n: [
|
5074
5085
|
"monkey face",
|
@@ -5802,7 +5813,7 @@ const x = (f, e) => {
|
|
5802
5813
|
],
|
5803
5814
|
u: "1f343"
|
5804
5815
|
}
|
5805
|
-
],
|
5816
|
+
], ln = [
|
5806
5817
|
{
|
5807
5818
|
n: [
|
5808
5819
|
"grapes"
|
@@ -6468,7 +6479,7 @@ const x = (f, e) => {
|
|
6468
6479
|
],
|
6469
6480
|
u: "1f3fa"
|
6470
6481
|
}
|
6471
|
-
],
|
6482
|
+
], cn = [
|
6472
6483
|
{
|
6473
6484
|
n: [
|
6474
6485
|
"jack-o-lantern",
|
@@ -6874,7 +6885,7 @@ const x = (f, e) => {
|
|
6874
6885
|
],
|
6875
6886
|
u: "1f3b4"
|
6876
6887
|
}
|
6877
|
-
],
|
6888
|
+
], dn = [
|
6878
6889
|
{
|
6879
6890
|
n: [
|
6880
6891
|
"earth globe europe-africa",
|
@@ -8241,7 +8252,7 @@ const x = (f, e) => {
|
|
8241
8252
|
],
|
8242
8253
|
u: "1f30a"
|
8243
8254
|
}
|
8244
|
-
],
|
8255
|
+
], gn = [
|
8245
8256
|
{
|
8246
8257
|
n: [
|
8247
8258
|
"speaker with cancellation stroke",
|
@@ -9305,7 +9316,7 @@ const x = (f, e) => {
|
|
9305
9316
|
],
|
9306
9317
|
u: "1f6d2"
|
9307
9318
|
}
|
9308
|
-
],
|
9319
|
+
], mn = [
|
9309
9320
|
{
|
9310
9321
|
n: [
|
9311
9322
|
"automated teller machine",
|
@@ -10703,7 +10714,7 @@ const x = (f, e) => {
|
|
10703
10714
|
],
|
10704
10715
|
u: "1f535"
|
10705
10716
|
}
|
10706
|
-
],
|
10717
|
+
], Mn = [
|
10707
10718
|
{
|
10708
10719
|
n: [
|
10709
10720
|
"chequered flag",
|
@@ -12583,15 +12594,15 @@ const x = (f, e) => {
|
|
12583
12594
|
u: "1f3f4-e0067-e0062-e0077-e006c-e0073-e007f"
|
12584
12595
|
}
|
12585
12596
|
];
|
12586
|
-
var
|
12587
|
-
smileys_people:
|
12588
|
-
animals_nature:
|
12589
|
-
food_drink:
|
12590
|
-
activities:
|
12591
|
-
travel_places:
|
12592
|
-
objects:
|
12593
|
-
symbols:
|
12594
|
-
flags:
|
12597
|
+
var pn = {
|
12598
|
+
smileys_people: un,
|
12599
|
+
animals_nature: rn,
|
12600
|
+
food_drink: ln,
|
12601
|
+
activities: cn,
|
12602
|
+
travel_places: dn,
|
12603
|
+
objects: gn,
|
12604
|
+
symbols: mn,
|
12605
|
+
flags: Mn
|
12595
12606
|
}, Te = [
|
12596
12607
|
{
|
12597
12608
|
key: "recent",
|
@@ -12639,9 +12650,9 @@ var ca = {
|
|
12639
12650
|
u: "1f3f3-fe0f"
|
12640
12651
|
}
|
12641
12652
|
];
|
12642
|
-
const
|
12653
|
+
const hn = (f, e) => e.some((A) => f instanceof A);
|
12643
12654
|
let xe, Se;
|
12644
|
-
function
|
12655
|
+
function bn() {
|
12645
12656
|
return xe || (xe = [
|
12646
12657
|
IDBDatabase,
|
12647
12658
|
IDBObjectStore,
|
@@ -12650,7 +12661,7 @@ function ga() {
|
|
12650
12661
|
IDBTransaction
|
12651
12662
|
]);
|
12652
12663
|
}
|
12653
|
-
function
|
12664
|
+
function yn() {
|
12654
12665
|
return Se || (Se = [
|
12655
12666
|
IDBCursor.prototype.advance,
|
12656
12667
|
IDBCursor.prototype.continue,
|
@@ -12658,34 +12669,34 @@ function ma() {
|
|
12658
12669
|
]);
|
12659
12670
|
}
|
12660
12671
|
const He = /* @__PURE__ */ new WeakMap(), oe = /* @__PURE__ */ new WeakMap(), Ge = /* @__PURE__ */ new WeakMap(), te = /* @__PURE__ */ new WeakMap(), le = /* @__PURE__ */ new WeakMap();
|
12661
|
-
function
|
12662
|
-
const e = new Promise((A,
|
12663
|
-
const
|
12664
|
-
f.removeEventListener("success",
|
12665
|
-
},
|
12666
|
-
A(
|
12672
|
+
function vn(f) {
|
12673
|
+
const e = new Promise((A, a) => {
|
12674
|
+
const n = () => {
|
12675
|
+
f.removeEventListener("success", s), f.removeEventListener("error", t);
|
12676
|
+
}, s = () => {
|
12677
|
+
A(nf(f.result)), n();
|
12667
12678
|
}, t = () => {
|
12668
|
-
|
12679
|
+
a(f.error), n();
|
12669
12680
|
};
|
12670
|
-
f.addEventListener("success",
|
12681
|
+
f.addEventListener("success", s), f.addEventListener("error", t);
|
12671
12682
|
});
|
12672
12683
|
return e.then((A) => {
|
12673
12684
|
A instanceof IDBCursor && He.set(A, f);
|
12674
12685
|
}).catch(() => {
|
12675
12686
|
}), le.set(e, f), e;
|
12676
12687
|
}
|
12677
|
-
function
|
12688
|
+
function In(f) {
|
12678
12689
|
if (oe.has(f))
|
12679
12690
|
return;
|
12680
|
-
const e = new Promise((A,
|
12681
|
-
const
|
12682
|
-
f.removeEventListener("complete",
|
12683
|
-
},
|
12684
|
-
A(),
|
12691
|
+
const e = new Promise((A, a) => {
|
12692
|
+
const n = () => {
|
12693
|
+
f.removeEventListener("complete", s), f.removeEventListener("error", t), f.removeEventListener("abort", t);
|
12694
|
+
}, s = () => {
|
12695
|
+
A(), n();
|
12685
12696
|
}, t = () => {
|
12686
|
-
|
12697
|
+
a(f.error || new DOMException("AbortError", "AbortError")), n();
|
12687
12698
|
};
|
12688
|
-
f.addEventListener("complete",
|
12699
|
+
f.addEventListener("complete", s), f.addEventListener("error", t), f.addEventListener("abort", t);
|
12689
12700
|
});
|
12690
12701
|
oe.set(f, e);
|
12691
12702
|
}
|
@@ -12699,7 +12710,7 @@ let ue = {
|
|
12699
12710
|
if (e === "store")
|
12700
12711
|
return A.objectStoreNames[1] ? void 0 : A.objectStore(A.objectStoreNames[0]);
|
12701
12712
|
}
|
12702
|
-
return
|
12713
|
+
return nf(f[e]);
|
12703
12714
|
},
|
12704
12715
|
set(f, e, A) {
|
12705
12716
|
return f[e] = A, !0;
|
@@ -12708,70 +12719,70 @@ let ue = {
|
|
12708
12719
|
return f instanceof IDBTransaction && (e === "done" || e === "store") ? !0 : e in f;
|
12709
12720
|
}
|
12710
12721
|
};
|
12711
|
-
function
|
12722
|
+
function Nn(f) {
|
12712
12723
|
ue = f(ue);
|
12713
12724
|
}
|
12714
|
-
function
|
12725
|
+
function wn(f) {
|
12715
12726
|
return f === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...A) {
|
12716
|
-
const
|
12717
|
-
return Ge.set(
|
12718
|
-
} :
|
12719
|
-
return f.apply(
|
12727
|
+
const a = f.call(se(this), e, ...A);
|
12728
|
+
return Ge.set(a, e.sort ? e.sort() : [e]), nf(a);
|
12729
|
+
} : yn().includes(f) ? function(...e) {
|
12730
|
+
return f.apply(se(this), e), nf(He.get(this));
|
12720
12731
|
} : function(...e) {
|
12721
|
-
return
|
12732
|
+
return nf(f.apply(se(this), e));
|
12722
12733
|
};
|
12723
12734
|
}
|
12724
|
-
function
|
12725
|
-
return typeof f == "function" ?
|
12735
|
+
function Dn(f) {
|
12736
|
+
return typeof f == "function" ? wn(f) : (f instanceof IDBTransaction && In(f), hn(f, bn()) ? new Proxy(f, ue) : f);
|
12726
12737
|
}
|
12727
|
-
function
|
12738
|
+
function nf(f) {
|
12728
12739
|
if (f instanceof IDBRequest)
|
12729
|
-
return
|
12740
|
+
return vn(f);
|
12730
12741
|
if (te.has(f))
|
12731
12742
|
return te.get(f);
|
12732
|
-
const e =
|
12743
|
+
const e = Dn(f);
|
12733
12744
|
return e !== f && (te.set(f, e), le.set(e, f)), e;
|
12734
12745
|
}
|
12735
|
-
const
|
12736
|
-
function ce(f, e, { blocked: A, upgrade:
|
12737
|
-
const t = indexedDB.open(f, e),
|
12738
|
-
return
|
12739
|
-
|
12746
|
+
const se = (f) => le.get(f);
|
12747
|
+
function ce(f, e, { blocked: A, upgrade: a, blocking: n, terminated: s } = {}) {
|
12748
|
+
const t = indexedDB.open(f, e), i = nf(t);
|
12749
|
+
return a && t.addEventListener("upgradeneeded", (o) => {
|
12750
|
+
a(nf(t.result), o.oldVersion, o.newVersion, nf(t.transaction), o);
|
12740
12751
|
}), A && t.addEventListener("blocked", (o) => A(
|
12741
12752
|
o.oldVersion,
|
12742
12753
|
o.newVersion,
|
12743
12754
|
o
|
12744
|
-
)),
|
12745
|
-
|
12755
|
+
)), i.then((o) => {
|
12756
|
+
s && o.addEventListener("close", () => s()), n && o.addEventListener("versionchange", (r) => n(r.oldVersion, r.newVersion, r));
|
12746
12757
|
}).catch(() => {
|
12747
|
-
}),
|
12758
|
+
}), i;
|
12748
12759
|
}
|
12749
|
-
const
|
12760
|
+
const _n = ["get", "getKey", "getAll", "getAllKeys", "count"], kn = ["put", "add", "delete", "clear"], ie = /* @__PURE__ */ new Map();
|
12750
12761
|
function ze(f, e) {
|
12751
12762
|
if (!(f instanceof IDBDatabase && !(e in f) && typeof e == "string"))
|
12752
12763
|
return;
|
12753
|
-
if (
|
12754
|
-
return
|
12755
|
-
const A = e.replace(/FromIndex$/, ""),
|
12756
|
-
if (!(A in (
|
12764
|
+
if (ie.get(e))
|
12765
|
+
return ie.get(e);
|
12766
|
+
const A = e.replace(/FromIndex$/, ""), a = e !== A, n = kn.includes(A);
|
12767
|
+
if (!(A in (a ? IDBIndex : IDBObjectStore).prototype) || !(n || _n.includes(A)))
|
12757
12768
|
return;
|
12758
|
-
const
|
12759
|
-
const o = this.transaction(t,
|
12769
|
+
const s = async function(t, ...i) {
|
12770
|
+
const o = this.transaction(t, n ? "readwrite" : "readonly");
|
12760
12771
|
let r = o.store;
|
12761
|
-
return
|
12762
|
-
r[A](...
|
12763
|
-
|
12772
|
+
return a && (r = r.index(i.shift())), (await Promise.all([
|
12773
|
+
r[A](...i),
|
12774
|
+
n && o.done
|
12764
12775
|
]))[0];
|
12765
12776
|
};
|
12766
|
-
return
|
12777
|
+
return ie.set(e, s), s;
|
12767
12778
|
}
|
12768
|
-
|
12779
|
+
Nn((f) => ({
|
12769
12780
|
...f,
|
12770
|
-
get: (e, A,
|
12781
|
+
get: (e, A, a) => ze(e, A) || f.get(e, A, a),
|
12771
12782
|
has: (e, A) => !!ze(e, A) || f.has(e, A)
|
12772
12783
|
}));
|
12773
12784
|
const de = "EMJ", mf = "emojis", ge = 3;
|
12774
|
-
async function
|
12785
|
+
async function jn() {
|
12775
12786
|
(await ce(de, ge, {
|
12776
12787
|
upgrade(e, A) {
|
12777
12788
|
e.objectStoreNames.contains(mf) || e.createObjectStore(mf, {
|
@@ -12783,8 +12794,8 @@ async function Na() {
|
|
12783
12794
|
}
|
12784
12795
|
})).close();
|
12785
12796
|
}
|
12786
|
-
|
12787
|
-
const
|
12797
|
+
jn();
|
12798
|
+
const Vn = {
|
12788
12799
|
native: !1,
|
12789
12800
|
hideSearch: !0,
|
12790
12801
|
hideGroupIcons: !1,
|
@@ -12797,66 +12808,66 @@ const Da = {
|
|
12797
12808
|
groupOrder: [],
|
12798
12809
|
groupIcons: {}
|
12799
12810
|
};
|
12800
|
-
async function
|
12811
|
+
async function En() {
|
12801
12812
|
return await (await ce(de, ge)).transaction(mf, "readonly").objectStore(mf).getAll();
|
12802
12813
|
}
|
12803
|
-
function
|
12814
|
+
function Tn() {
|
12804
12815
|
const f = vA({
|
12805
12816
|
search: "",
|
12806
|
-
emoji:
|
12817
|
+
emoji: Xa,
|
12807
12818
|
activeGroup: "",
|
12808
12819
|
skinTone: Wf,
|
12809
|
-
options:
|
12820
|
+
options: Vn,
|
12810
12821
|
additionalGroups: {},
|
12811
12822
|
recent: [],
|
12812
12823
|
get emojis() {
|
12813
12824
|
return {
|
12814
12825
|
recent: this.recent,
|
12815
12826
|
...this.options.additionalGroups,
|
12816
|
-
...
|
12827
|
+
...pn
|
12817
12828
|
};
|
12818
12829
|
},
|
12819
12830
|
get disabled() {
|
12820
|
-
let
|
12821
|
-
return this.options.displayRecent || (
|
12831
|
+
let c = Array.isArray(this.options.disabledGroups) ? this.options.disabledGroups : [];
|
12832
|
+
return this.options.displayRecent || (c = ["recent", ...c]), c;
|
12822
12833
|
},
|
12823
12834
|
get groups() {
|
12824
12835
|
return Te.filter(
|
12825
|
-
(
|
12836
|
+
(c) => !this.disabled.includes(c.key)
|
12826
12837
|
);
|
12827
12838
|
},
|
12828
12839
|
get orderedGroupKeys() {
|
12829
|
-
const
|
12840
|
+
const c = [
|
12830
12841
|
...this.options.groupOrder,
|
12831
12842
|
...Object.keys(this.options.additionalGroups),
|
12832
12843
|
...Te.map((M) => M.key)
|
12833
12844
|
];
|
12834
|
-
return [...new Set(
|
12845
|
+
return [...new Set(c)].filter((M) => !this.disabled.includes(M));
|
12835
12846
|
}
|
12836
12847
|
});
|
12837
12848
|
function e() {
|
12838
|
-
f.options.displayRecent &&
|
12849
|
+
f.options.displayRecent && a();
|
12839
12850
|
}
|
12840
12851
|
async function A() {
|
12841
|
-
var
|
12842
|
-
let M = await
|
12843
|
-
return Array.isArray(M) && M.length ? M = JSON.parse(((
|
12852
|
+
var c;
|
12853
|
+
let M = await En();
|
12854
|
+
return Array.isArray(M) && M.length ? M = JSON.parse(((c = M[0]) == null ? void 0 : c.value) || "") : M = [], M;
|
12844
12855
|
}
|
12845
|
-
function
|
12846
|
-
A().then((
|
12847
|
-
f.recent =
|
12856
|
+
function a() {
|
12857
|
+
A().then((c) => {
|
12858
|
+
f.recent = c, r();
|
12848
12859
|
});
|
12849
12860
|
}
|
12850
|
-
const
|
12851
|
-
f.search =
|
12852
|
-
},
|
12853
|
-
f.emoji =
|
12854
|
-
}, t = (
|
12855
|
-
f.activeGroup =
|
12856
|
-
},
|
12857
|
-
f.skinTone =
|
12858
|
-
}, o = (
|
12859
|
-
f.options = Object.assign({}, f.options,
|
12861
|
+
const n = (c) => {
|
12862
|
+
f.search = c;
|
12863
|
+
}, s = (c) => {
|
12864
|
+
f.emoji = c;
|
12865
|
+
}, t = (c) => {
|
12866
|
+
f.activeGroup = c;
|
12867
|
+
}, i = (c = Wf) => {
|
12868
|
+
f.skinTone = c;
|
12869
|
+
}, o = (c) => {
|
12870
|
+
f.options = Object.assign({}, f.options, c), e();
|
12860
12871
|
};
|
12861
12872
|
async function r() {
|
12862
12873
|
(await ce(de, ge)).transaction(mf, "readwrite").objectStore(mf).put({
|
@@ -12864,31 +12875,31 @@ function _a() {
|
|
12864
12875
|
value: JSON.stringify(f.recent)
|
12865
12876
|
});
|
12866
12877
|
}
|
12867
|
-
const
|
12878
|
+
const d = (c) => {
|
12868
12879
|
if (f.options.displayRecent !== !0)
|
12869
12880
|
return;
|
12870
|
-
const M = f.recent.findIndex((m) => m.u ===
|
12881
|
+
const M = f.recent.findIndex((m) => m.u === c.u);
|
12871
12882
|
if (M > 0 && f.recent.splice(M, 1), M === 0)
|
12872
12883
|
return;
|
12873
|
-
const b = { u:
|
12884
|
+
const b = { u: c.u, n: Je(c.n) };
|
12874
12885
|
f.recent = [b, ...f.recent], f.recent.length > 24 && (f.recent.length = 24), r();
|
12875
12886
|
};
|
12876
12887
|
return {
|
12877
12888
|
state: IA(f),
|
12878
|
-
updateSearch:
|
12879
|
-
updateEmoji:
|
12889
|
+
updateSearch: n,
|
12890
|
+
updateEmoji: s,
|
12880
12891
|
updateActiveGroup: t,
|
12881
|
-
updateSkinTone:
|
12892
|
+
updateSkinTone: i,
|
12882
12893
|
updateOptions: o,
|
12883
|
-
updateSelect:
|
12894
|
+
updateSelect: d
|
12884
12895
|
};
|
12885
12896
|
}
|
12886
|
-
var B = "top", W = "bottom", K = "right", Y = "left", me = "auto", Sf = [B, W, K, Y],
|
12887
|
-
return f.concat([e + "-" +
|
12888
|
-
}, []),
|
12889
|
-
return f.concat([e, e + "-" +
|
12890
|
-
}, []),
|
12891
|
-
function
|
12897
|
+
var B = "top", W = "bottom", K = "right", Y = "left", me = "auto", Sf = [B, W, K, Y], Mf = "start", Ef = "end", xn = "clippingParents", $e = "viewport", _f = "popper", Sn = "reference", Oe = /* @__PURE__ */ Sf.reduce(function(f, e) {
|
12898
|
+
return f.concat([e + "-" + Mf, e + "-" + Ef]);
|
12899
|
+
}, []), Xe = /* @__PURE__ */ [].concat(Sf, [me]).reduce(function(f, e) {
|
12900
|
+
return f.concat([e, e + "-" + Mf, e + "-" + Ef]);
|
12901
|
+
}, []), zn = "beforeRead", On = "read", Cn = "afterRead", Un = "beforeMain", Ln = "main", Qn = "afterMain", Bn = "beforeWrite", Yn = "write", Rn = "afterWrite", qn = [zn, On, Cn, Un, Ln, Qn, Bn, Yn, Rn];
|
12902
|
+
function ef(f) {
|
12892
12903
|
return f ? (f.nodeName || "").toLowerCase() : null;
|
12893
12904
|
}
|
12894
12905
|
function H(f) {
|
@@ -12900,7 +12911,7 @@ function H(f) {
|
|
12900
12911
|
}
|
12901
12912
|
return f;
|
12902
12913
|
}
|
12903
|
-
function
|
12914
|
+
function pf(f) {
|
12904
12915
|
var e = H(f).Element;
|
12905
12916
|
return f instanceof e || f instanceof Element;
|
12906
12917
|
}
|
@@ -12914,17 +12925,17 @@ function fA(f) {
|
|
12914
12925
|
var e = H(f).ShadowRoot;
|
12915
12926
|
return f instanceof e || f instanceof ShadowRoot;
|
12916
12927
|
}
|
12917
|
-
function
|
12928
|
+
function Fn(f) {
|
12918
12929
|
var e = f.state;
|
12919
12930
|
Object.keys(e.elements).forEach(function(A) {
|
12920
|
-
var
|
12921
|
-
!J(
|
12922
|
-
var
|
12923
|
-
|
12931
|
+
var a = e.styles[A] || {}, n = e.attributes[A] || {}, s = e.elements[A];
|
12932
|
+
!J(s) || !ef(s) || (Object.assign(s.style, a), Object.keys(n).forEach(function(t) {
|
12933
|
+
var i = n[t];
|
12934
|
+
i === !1 ? s.removeAttribute(t) : s.setAttribute(t, i === !0 ? "" : i);
|
12924
12935
|
}));
|
12925
12936
|
});
|
12926
12937
|
}
|
12927
|
-
function
|
12938
|
+
function Jn(f) {
|
12928
12939
|
var e = f.state, A = {
|
12929
12940
|
popper: {
|
12930
12941
|
position: e.options.strategy,
|
@@ -12938,53 +12949,53 @@ function Ba(f) {
|
|
12938
12949
|
reference: {}
|
12939
12950
|
};
|
12940
12951
|
return Object.assign(e.elements.popper.style, A.popper), e.styles = A, e.elements.arrow && Object.assign(e.elements.arrow.style, A.arrow), function() {
|
12941
|
-
Object.keys(e.elements).forEach(function(
|
12942
|
-
var
|
12952
|
+
Object.keys(e.elements).forEach(function(a) {
|
12953
|
+
var n = e.elements[a], s = e.attributes[a] || {}, t = Object.keys(e.styles.hasOwnProperty(a) ? e.styles[a] : A[a]), i = t.reduce(function(o, r) {
|
12943
12954
|
return o[r] = "", o;
|
12944
12955
|
}, {});
|
12945
|
-
!J(
|
12946
|
-
|
12956
|
+
!J(n) || !ef(n) || (Object.assign(n.style, i), Object.keys(s).forEach(function(o) {
|
12957
|
+
n.removeAttribute(o);
|
12947
12958
|
}));
|
12948
12959
|
});
|
12949
12960
|
};
|
12950
12961
|
}
|
12951
|
-
var
|
12962
|
+
var Wn = {
|
12952
12963
|
name: "applyStyles",
|
12953
12964
|
enabled: !0,
|
12954
12965
|
phase: "write",
|
12955
|
-
fn:
|
12956
|
-
effect:
|
12966
|
+
fn: Fn,
|
12967
|
+
effect: Jn,
|
12957
12968
|
requires: ["computeStyles"]
|
12958
12969
|
};
|
12959
|
-
function
|
12970
|
+
function $(f) {
|
12960
12971
|
return f.split("-")[0];
|
12961
12972
|
}
|
12962
12973
|
var lf = Math.max, Kf = Math.min, hf = Math.round;
|
12963
12974
|
function bf(f, e) {
|
12964
12975
|
e === void 0 && (e = !1);
|
12965
|
-
var A = f.getBoundingClientRect(),
|
12976
|
+
var A = f.getBoundingClientRect(), a = 1, n = 1;
|
12966
12977
|
if (J(f) && e) {
|
12967
|
-
var
|
12968
|
-
t > 0 && (
|
12978
|
+
var s = f.offsetHeight, t = f.offsetWidth;
|
12979
|
+
t > 0 && (a = hf(A.width) / t || 1), s > 0 && (n = hf(A.height) / s || 1);
|
12969
12980
|
}
|
12970
12981
|
return {
|
12971
|
-
width: A.width /
|
12972
|
-
height: A.height /
|
12973
|
-
top: A.top /
|
12974
|
-
right: A.right /
|
12975
|
-
bottom: A.bottom /
|
12976
|
-
left: A.left /
|
12977
|
-
x: A.left /
|
12978
|
-
y: A.top /
|
12982
|
+
width: A.width / a,
|
12983
|
+
height: A.height / n,
|
12984
|
+
top: A.top / n,
|
12985
|
+
right: A.right / a,
|
12986
|
+
bottom: A.bottom / n,
|
12987
|
+
left: A.left / a,
|
12988
|
+
x: A.left / a,
|
12989
|
+
y: A.top / n
|
12979
12990
|
};
|
12980
12991
|
}
|
12981
|
-
function
|
12982
|
-
var e = bf(f), A = f.offsetWidth,
|
12983
|
-
return Math.abs(e.width - A) <= 1 && (A = e.width), Math.abs(e.height -
|
12992
|
+
function Me(f) {
|
12993
|
+
var e = bf(f), A = f.offsetWidth, a = f.offsetHeight;
|
12994
|
+
return Math.abs(e.width - A) <= 1 && (A = e.width), Math.abs(e.height - a) <= 1 && (a = e.height), {
|
12984
12995
|
x: f.offsetLeft,
|
12985
12996
|
y: f.offsetTop,
|
12986
12997
|
width: A,
|
12987
|
-
height:
|
12998
|
+
height: a
|
12988
12999
|
};
|
12989
13000
|
}
|
12990
13001
|
function eA(f, e) {
|
@@ -12992,59 +13003,59 @@ function eA(f, e) {
|
|
12992
13003
|
if (f.contains(e))
|
12993
13004
|
return !0;
|
12994
13005
|
if (A && fA(A)) {
|
12995
|
-
var
|
13006
|
+
var a = e;
|
12996
13007
|
do {
|
12997
|
-
if (
|
13008
|
+
if (a && f.isSameNode(a))
|
12998
13009
|
return !0;
|
12999
|
-
|
13000
|
-
} while (
|
13010
|
+
a = a.parentNode || a.host;
|
13011
|
+
} while (a);
|
13001
13012
|
}
|
13002
13013
|
return !1;
|
13003
13014
|
}
|
13004
|
-
function
|
13015
|
+
function Af(f) {
|
13005
13016
|
return H(f).getComputedStyle(f);
|
13006
13017
|
}
|
13007
|
-
function
|
13008
|
-
return ["table", "td", "th"].indexOf(
|
13018
|
+
function Kn(f) {
|
13019
|
+
return ["table", "td", "th"].indexOf(ef(f)) >= 0;
|
13009
13020
|
}
|
13010
13021
|
function tf(f) {
|
13011
|
-
return ((
|
13022
|
+
return ((pf(f) ? f.ownerDocument : f.document) || window.document).documentElement;
|
13012
13023
|
}
|
13013
|
-
function
|
13014
|
-
return
|
13024
|
+
function Xf(f) {
|
13025
|
+
return ef(f) === "html" ? f : f.assignedSlot || f.parentNode || (fA(f) ? f.host : null) || tf(f);
|
13015
13026
|
}
|
13016
13027
|
function Ce(f) {
|
13017
|
-
return !J(f) ||
|
13028
|
+
return !J(f) || Af(f).position === "fixed" ? null : f.offsetParent;
|
13018
13029
|
}
|
13019
|
-
function
|
13030
|
+
function Zn(f) {
|
13020
13031
|
var e = navigator.userAgent.toLowerCase().indexOf("firefox") !== -1, A = navigator.userAgent.indexOf("Trident") !== -1;
|
13021
13032
|
if (A && J(f)) {
|
13022
|
-
var
|
13023
|
-
if (
|
13033
|
+
var a = Af(f);
|
13034
|
+
if (a.position === "fixed")
|
13024
13035
|
return null;
|
13025
13036
|
}
|
13026
|
-
for (var
|
13027
|
-
var
|
13028
|
-
if (
|
13029
|
-
return
|
13030
|
-
|
13037
|
+
for (var n = Xf(f); J(n) && ["html", "body"].indexOf(ef(n)) < 0; ) {
|
13038
|
+
var s = Af(n);
|
13039
|
+
if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || e && s.willChange === "filter" || e && s.filter && s.filter !== "none")
|
13040
|
+
return n;
|
13041
|
+
n = n.parentNode;
|
13031
13042
|
}
|
13032
13043
|
return null;
|
13033
13044
|
}
|
13034
13045
|
function zf(f) {
|
13035
|
-
for (var e = H(f), A = Ce(f); A &&
|
13046
|
+
for (var e = H(f), A = Ce(f); A && Kn(A) && Af(A).position === "static"; )
|
13036
13047
|
A = Ce(A);
|
13037
|
-
return A && (
|
13048
|
+
return A && (ef(A) === "html" || ef(A) === "body" && Af(A).position === "static") ? e : A || Zn(f) || e;
|
13038
13049
|
}
|
13039
|
-
function
|
13050
|
+
function pe(f) {
|
13040
13051
|
return ["top", "bottom"].indexOf(f) >= 0 ? "x" : "y";
|
13041
13052
|
}
|
13042
|
-
function
|
13053
|
+
function kf(f, e, A) {
|
13043
13054
|
return lf(f, Kf(e, A));
|
13044
13055
|
}
|
13045
|
-
function
|
13046
|
-
var
|
13047
|
-
return
|
13056
|
+
function Pn(f, e, A) {
|
13057
|
+
var a = kf(f, e, A);
|
13058
|
+
return a > A ? A : a;
|
13048
13059
|
}
|
13049
13060
|
function AA() {
|
13050
13061
|
return {
|
@@ -13054,86 +13065,86 @@ function AA() {
|
|
13054
13065
|
left: 0
|
13055
13066
|
};
|
13056
13067
|
}
|
13057
|
-
function
|
13068
|
+
function aA(f) {
|
13058
13069
|
return Object.assign({}, AA(), f);
|
13059
13070
|
}
|
13060
|
-
function
|
13061
|
-
return e.reduce(function(A,
|
13062
|
-
return A[
|
13071
|
+
function nA(f, e) {
|
13072
|
+
return e.reduce(function(A, a) {
|
13073
|
+
return A[a] = f, A;
|
13063
13074
|
}, {});
|
13064
13075
|
}
|
13065
|
-
var
|
13076
|
+
var Hn = function(e, A) {
|
13066
13077
|
return e = typeof e == "function" ? e(Object.assign({}, A.rects, {
|
13067
13078
|
placement: A.placement
|
13068
|
-
})) : e,
|
13079
|
+
})) : e, aA(typeof e != "number" ? e : nA(e, Sf));
|
13069
13080
|
};
|
13070
|
-
function
|
13071
|
-
var e, A = f.state,
|
13072
|
-
if (!(!
|
13073
|
-
var
|
13074
|
-
A.modifiersData[
|
13081
|
+
function Gn(f) {
|
13082
|
+
var e, A = f.state, a = f.name, n = f.options, s = A.elements.arrow, t = A.modifiersData.popperOffsets, i = $(A.placement), o = pe(i), r = [Y, K].indexOf(i) >= 0, d = r ? "height" : "width";
|
13083
|
+
if (!(!s || !t)) {
|
13084
|
+
var c = Hn(n.padding, A), M = Me(s), b = o === "y" ? B : Y, m = o === "y" ? W : K, h = A.rects.reference[d] + A.rects.reference[o] - t[o] - A.rects.popper[d], p = t[o] - A.rects.reference[o], I = zf(s), w = I ? o === "y" ? I.clientHeight || 0 : I.clientWidth || 0 : 0, _ = h / 2 - p / 2, D = c[b], E = w - M[d] - c[m], k = w / 2 - M[d] / 2 + _, j = kf(D, k, E), S = o;
|
13085
|
+
A.modifiersData[a] = (e = {}, e[S] = j, e.centerOffset = j - k, e);
|
13075
13086
|
}
|
13076
13087
|
}
|
13077
|
-
function
|
13078
|
-
var e = f.state, A = f.options,
|
13079
|
-
|
13088
|
+
function $n(f) {
|
13089
|
+
var e = f.state, A = f.options, a = A.element, n = a === void 0 ? "[data-popper-arrow]" : a;
|
13090
|
+
n != null && (typeof n == "string" && (n = e.elements.popper.querySelector(n), !n) || eA(e.elements.popper, n) && (e.elements.arrow = n));
|
13080
13091
|
}
|
13081
|
-
var
|
13092
|
+
var Xn = {
|
13082
13093
|
name: "arrow",
|
13083
13094
|
enabled: !0,
|
13084
13095
|
phase: "main",
|
13085
|
-
fn:
|
13086
|
-
effect:
|
13096
|
+
fn: Gn,
|
13097
|
+
effect: $n,
|
13087
13098
|
requires: ["popperOffsets"],
|
13088
13099
|
requiresIfExists: ["preventOverflow"]
|
13089
13100
|
};
|
13090
13101
|
function yf(f) {
|
13091
13102
|
return f.split("-")[1];
|
13092
13103
|
}
|
13093
|
-
var
|
13104
|
+
var ft = {
|
13094
13105
|
top: "auto",
|
13095
13106
|
right: "auto",
|
13096
13107
|
bottom: "auto",
|
13097
13108
|
left: "auto"
|
13098
13109
|
};
|
13099
|
-
function
|
13100
|
-
var e = f.x, A = f.y,
|
13110
|
+
function et(f) {
|
13111
|
+
var e = f.x, A = f.y, a = window, n = a.devicePixelRatio || 1;
|
13101
13112
|
return {
|
13102
|
-
x: hf(e *
|
13103
|
-
y: hf(A *
|
13113
|
+
x: hf(e * n) / n || 0,
|
13114
|
+
y: hf(A * n) / n || 0
|
13104
13115
|
};
|
13105
13116
|
}
|
13106
13117
|
function Ue(f) {
|
13107
|
-
var e, A = f.popper,
|
13118
|
+
var e, A = f.popper, a = f.popperRect, n = f.placement, s = f.variation, t = f.offsets, i = f.position, o = f.gpuAcceleration, r = f.adaptive, d = f.roundOffsets, c = f.isFixed, M = d === !0 ? et(t) : typeof d == "function" ? d(t) : t, b = M.x, m = b === void 0 ? 0 : b, h = M.y, p = h === void 0 ? 0 : h, I = t.hasOwnProperty("x"), w = t.hasOwnProperty("y"), _ = Y, D = B, E = window;
|
13108
13119
|
if (r) {
|
13109
|
-
var
|
13110
|
-
if (
|
13111
|
-
|
13112
|
-
var U =
|
13113
|
-
p -= U -
|
13120
|
+
var k = zf(A), j = "clientHeight", S = "clientWidth";
|
13121
|
+
if (k === H(A) && (k = tf(A), Af(k).position !== "static" && i === "absolute" && (j = "scrollHeight", S = "scrollWidth")), k = k, n === B || (n === Y || n === K) && s === Ef) {
|
13122
|
+
D = W;
|
13123
|
+
var U = c && E.visualViewport ? E.visualViewport.height : k[j];
|
13124
|
+
p -= U - a.height, p *= o ? 1 : -1;
|
13114
13125
|
}
|
13115
|
-
if (
|
13126
|
+
if (n === Y || (n === B || n === W) && s === Ef) {
|
13116
13127
|
_ = K;
|
13117
|
-
var O =
|
13118
|
-
m -= O -
|
13128
|
+
var O = c && E.visualViewport ? E.visualViewport.width : k[S];
|
13129
|
+
m -= O - a.width, m *= o ? 1 : -1;
|
13119
13130
|
}
|
13120
13131
|
}
|
13121
13132
|
var C = Object.assign({
|
13122
|
-
position:
|
13123
|
-
}, r &&
|
13133
|
+
position: i
|
13134
|
+
}, r && ft);
|
13124
13135
|
if (o) {
|
13125
13136
|
var Q;
|
13126
|
-
return Object.assign({}, C, (Q = {}, Q[
|
13137
|
+
return Object.assign({}, C, (Q = {}, Q[D] = w ? "0" : "", Q[_] = I ? "0" : "", Q.transform = (E.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + p + "px)" : "translate3d(" + m + "px, " + p + "px, 0)", Q));
|
13127
13138
|
}
|
13128
|
-
return Object.assign({}, C, (e = {}, e[
|
13139
|
+
return Object.assign({}, C, (e = {}, e[D] = w ? p + "px" : "", e[_] = I ? m + "px" : "", e.transform = "", e));
|
13129
13140
|
}
|
13130
|
-
function
|
13131
|
-
var e = f.state, A = f.options,
|
13132
|
-
placement:
|
13141
|
+
function At(f) {
|
13142
|
+
var e = f.state, A = f.options, a = A.gpuAcceleration, n = a === void 0 ? !0 : a, s = A.adaptive, t = s === void 0 ? !0 : s, i = A.roundOffsets, o = i === void 0 ? !0 : i, r = {
|
13143
|
+
placement: $(e.placement),
|
13133
13144
|
variation: yf(e.placement),
|
13134
13145
|
popper: e.elements.popper,
|
13135
13146
|
popperRect: e.rects.popper,
|
13136
|
-
gpuAcceleration:
|
13147
|
+
gpuAcceleration: n,
|
13137
13148
|
isFixed: e.options.strategy === "fixed"
|
13138
13149
|
};
|
13139
13150
|
e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, Ue(Object.assign({}, r, {
|
@@ -13150,34 +13161,34 @@ function Ga(f) {
|
|
13150
13161
|
"data-popper-placement": e.placement
|
13151
13162
|
});
|
13152
13163
|
}
|
13153
|
-
var
|
13164
|
+
var at = {
|
13154
13165
|
name: "computeStyles",
|
13155
13166
|
enabled: !0,
|
13156
13167
|
phase: "beforeWrite",
|
13157
|
-
fn:
|
13168
|
+
fn: At,
|
13158
13169
|
data: {}
|
13159
13170
|
}, Rf = {
|
13160
13171
|
passive: !0
|
13161
13172
|
};
|
13162
|
-
function
|
13163
|
-
var e = f.state, A = f.instance,
|
13164
|
-
return
|
13165
|
-
|
13166
|
-
}),
|
13167
|
-
|
13168
|
-
|
13169
|
-
}),
|
13173
|
+
function nt(f) {
|
13174
|
+
var e = f.state, A = f.instance, a = f.options, n = a.scroll, s = n === void 0 ? !0 : n, t = a.resize, i = t === void 0 ? !0 : t, o = H(e.elements.popper), r = [].concat(e.scrollParents.reference, e.scrollParents.popper);
|
13175
|
+
return s && r.forEach(function(d) {
|
13176
|
+
d.addEventListener("scroll", A.update, Rf);
|
13177
|
+
}), i && o.addEventListener("resize", A.update, Rf), function() {
|
13178
|
+
s && r.forEach(function(d) {
|
13179
|
+
d.removeEventListener("scroll", A.update, Rf);
|
13180
|
+
}), i && o.removeEventListener("resize", A.update, Rf);
|
13170
13181
|
};
|
13171
13182
|
}
|
13172
|
-
var
|
13183
|
+
var tt = {
|
13173
13184
|
name: "eventListeners",
|
13174
13185
|
enabled: !0,
|
13175
13186
|
phase: "write",
|
13176
13187
|
fn: function() {
|
13177
13188
|
},
|
13178
|
-
effect:
|
13189
|
+
effect: nt,
|
13179
13190
|
data: {}
|
13180
|
-
},
|
13191
|
+
}, st = {
|
13181
13192
|
left: "right",
|
13182
13193
|
right: "left",
|
13183
13194
|
bottom: "top",
|
@@ -13185,58 +13196,58 @@ var ft = {
|
|
13185
13196
|
};
|
13186
13197
|
function Ff(f) {
|
13187
13198
|
return f.replace(/left|right|bottom|top/g, function(e) {
|
13188
|
-
return
|
13199
|
+
return st[e];
|
13189
13200
|
});
|
13190
13201
|
}
|
13191
|
-
var
|
13202
|
+
var it = {
|
13192
13203
|
start: "end",
|
13193
13204
|
end: "start"
|
13194
13205
|
};
|
13195
13206
|
function Le(f) {
|
13196
13207
|
return f.replace(/start|end/g, function(e) {
|
13197
|
-
return
|
13208
|
+
return it[e];
|
13198
13209
|
});
|
13199
13210
|
}
|
13200
13211
|
function he(f) {
|
13201
|
-
var e = H(f), A = e.pageXOffset,
|
13212
|
+
var e = H(f), A = e.pageXOffset, a = e.pageYOffset;
|
13202
13213
|
return {
|
13203
13214
|
scrollLeft: A,
|
13204
|
-
scrollTop:
|
13215
|
+
scrollTop: a
|
13205
13216
|
};
|
13206
13217
|
}
|
13207
13218
|
function be(f) {
|
13208
13219
|
return bf(tf(f)).left + he(f).scrollLeft;
|
13209
13220
|
}
|
13210
|
-
function
|
13211
|
-
var e = H(f), A = tf(f),
|
13212
|
-
return
|
13213
|
-
width:
|
13214
|
-
height:
|
13221
|
+
function ot(f) {
|
13222
|
+
var e = H(f), A = tf(f), a = e.visualViewport, n = A.clientWidth, s = A.clientHeight, t = 0, i = 0;
|
13223
|
+
return a && (n = a.width, s = a.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (t = a.offsetLeft, i = a.offsetTop)), {
|
13224
|
+
width: n,
|
13225
|
+
height: s,
|
13215
13226
|
x: t + be(f),
|
13216
|
-
y:
|
13227
|
+
y: i
|
13217
13228
|
};
|
13218
13229
|
}
|
13219
|
-
function
|
13220
|
-
var e, A = tf(f),
|
13221
|
-
return
|
13222
|
-
width:
|
13230
|
+
function ut(f) {
|
13231
|
+
var e, A = tf(f), a = he(f), n = (e = f.ownerDocument) == null ? void 0 : e.body, s = lf(A.scrollWidth, A.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), t = lf(A.scrollHeight, A.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), i = -a.scrollLeft + be(f), o = -a.scrollTop;
|
13232
|
+
return Af(n || A).direction === "rtl" && (i += lf(A.clientWidth, n ? n.clientWidth : 0) - s), {
|
13233
|
+
width: s,
|
13223
13234
|
height: t,
|
13224
|
-
x:
|
13235
|
+
x: i,
|
13225
13236
|
y: o
|
13226
13237
|
};
|
13227
13238
|
}
|
13228
13239
|
function ye(f) {
|
13229
|
-
var e =
|
13230
|
-
return /auto|scroll|overlay|hidden/.test(A +
|
13240
|
+
var e = Af(f), A = e.overflow, a = e.overflowX, n = e.overflowY;
|
13241
|
+
return /auto|scroll|overlay|hidden/.test(A + n + a);
|
13231
13242
|
}
|
13232
13243
|
function tA(f) {
|
13233
|
-
return ["html", "body", "#document"].indexOf(
|
13244
|
+
return ["html", "body", "#document"].indexOf(ef(f)) >= 0 ? f.ownerDocument.body : J(f) && ye(f) ? f : tA(Xf(f));
|
13234
13245
|
}
|
13235
|
-
function
|
13246
|
+
function jf(f, e) {
|
13236
13247
|
var A;
|
13237
13248
|
e === void 0 && (e = []);
|
13238
|
-
var
|
13239
|
-
return
|
13249
|
+
var a = tA(f), n = a === ((A = f.ownerDocument) == null ? void 0 : A.body), s = H(a), t = n ? [s].concat(s.visualViewport || [], ye(a) ? a : []) : a, i = e.concat(t);
|
13250
|
+
return n ? i : i.concat(jf(Xf(t)));
|
13240
13251
|
}
|
13241
13252
|
function re(f) {
|
13242
13253
|
return Object.assign({}, f, {
|
@@ -13246,29 +13257,29 @@ function re(f) {
|
|
13246
13257
|
bottom: f.y + f.height
|
13247
13258
|
});
|
13248
13259
|
}
|
13249
|
-
function
|
13260
|
+
function rt(f) {
|
13250
13261
|
var e = bf(f);
|
13251
13262
|
return e.top = e.top + f.clientTop, e.left = e.left + f.clientLeft, e.bottom = e.top + f.clientHeight, e.right = e.left + f.clientWidth, e.width = f.clientWidth, e.height = f.clientHeight, e.x = e.left, e.y = e.top, e;
|
13252
13263
|
}
|
13253
13264
|
function Qe(f, e) {
|
13254
|
-
return e ===
|
13265
|
+
return e === $e ? re(ot(f)) : pf(e) ? rt(e) : re(ut(tf(f)));
|
13255
13266
|
}
|
13256
|
-
function
|
13257
|
-
var e =
|
13258
|
-
return
|
13259
|
-
return
|
13267
|
+
function lt(f) {
|
13268
|
+
var e = jf(Xf(f)), A = ["absolute", "fixed"].indexOf(Af(f).position) >= 0, a = A && J(f) ? zf(f) : f;
|
13269
|
+
return pf(a) ? e.filter(function(n) {
|
13270
|
+
return pf(n) && eA(n, a) && ef(n) !== "body" && (A ? Af(n).position !== "static" : !0);
|
13260
13271
|
}) : [];
|
13261
13272
|
}
|
13262
|
-
function
|
13263
|
-
var
|
13273
|
+
function ct(f, e, A) {
|
13274
|
+
var a = e === "clippingParents" ? lt(f) : [].concat(e), n = [].concat(a, [A]), s = n[0], t = n.reduce(function(i, o) {
|
13264
13275
|
var r = Qe(f, o);
|
13265
|
-
return
|
13266
|
-
}, Qe(f,
|
13276
|
+
return i.top = lf(r.top, i.top), i.right = Kf(r.right, i.right), i.bottom = Kf(r.bottom, i.bottom), i.left = lf(r.left, i.left), i;
|
13277
|
+
}, Qe(f, s));
|
13267
13278
|
return t.width = t.right - t.left, t.height = t.bottom - t.top, t.x = t.left, t.y = t.top, t;
|
13268
13279
|
}
|
13269
|
-
function
|
13270
|
-
var e = f.reference, A = f.element,
|
13271
|
-
switch (
|
13280
|
+
function sA(f) {
|
13281
|
+
var e = f.reference, A = f.element, a = f.placement, n = a ? $(a) : null, s = a ? yf(a) : null, t = e.x + e.width / 2 - A.width / 2, i = e.y + e.height / 2 - A.height / 2, o;
|
13282
|
+
switch (n) {
|
13272
13283
|
case B:
|
13273
13284
|
o = {
|
13274
13285
|
x: t,
|
@@ -13284,13 +13295,13 @@ function iA(f) {
|
|
13284
13295
|
case K:
|
13285
13296
|
o = {
|
13286
13297
|
x: e.x + e.width,
|
13287
|
-
y:
|
13298
|
+
y: i
|
13288
13299
|
};
|
13289
13300
|
break;
|
13290
13301
|
case Y:
|
13291
13302
|
o = {
|
13292
13303
|
x: e.x - A.width,
|
13293
|
-
y:
|
13304
|
+
y: i
|
13294
13305
|
};
|
13295
13306
|
break;
|
13296
13307
|
default:
|
@@ -13299,15 +13310,15 @@ function iA(f) {
|
|
13299
13310
|
y: e.y
|
13300
13311
|
};
|
13301
13312
|
}
|
13302
|
-
var r =
|
13313
|
+
var r = n ? pe(n) : null;
|
13303
13314
|
if (r != null) {
|
13304
|
-
var
|
13305
|
-
switch (
|
13306
|
-
case
|
13307
|
-
o[r] = o[r] - (e[
|
13315
|
+
var d = r === "y" ? "height" : "width";
|
13316
|
+
switch (s) {
|
13317
|
+
case Mf:
|
13318
|
+
o[r] = o[r] - (e[d] / 2 - A[d] / 2);
|
13308
13319
|
break;
|
13309
13320
|
case Ef:
|
13310
|
-
o[r] = o[r] + (e[
|
13321
|
+
o[r] = o[r] + (e[d] / 2 - A[d] / 2);
|
13311
13322
|
break;
|
13312
13323
|
}
|
13313
13324
|
}
|
@@ -13315,19 +13326,19 @@ function iA(f) {
|
|
13315
13326
|
}
|
13316
13327
|
function Tf(f, e) {
|
13317
13328
|
e === void 0 && (e = {});
|
13318
|
-
var A = e,
|
13319
|
-
reference:
|
13329
|
+
var A = e, a = A.placement, n = a === void 0 ? f.placement : a, s = A.boundary, t = s === void 0 ? xn : s, i = A.rootBoundary, o = i === void 0 ? $e : i, r = A.elementContext, d = r === void 0 ? _f : r, c = A.altBoundary, M = c === void 0 ? !1 : c, b = A.padding, m = b === void 0 ? 0 : b, h = aA(typeof m != "number" ? m : nA(m, Sf)), p = d === _f ? Sn : _f, I = f.rects.popper, w = f.elements[M ? p : d], _ = ct(pf(w) ? w : w.contextElement || tf(f.elements.popper), t, o), D = bf(f.elements.reference), E = sA({
|
13330
|
+
reference: D,
|
13320
13331
|
element: I,
|
13321
13332
|
strategy: "absolute",
|
13322
|
-
placement:
|
13323
|
-
}),
|
13324
|
-
top: _.top -
|
13325
|
-
bottom:
|
13326
|
-
left: _.left -
|
13327
|
-
right:
|
13333
|
+
placement: n
|
13334
|
+
}), k = re(Object.assign({}, I, E)), j = d === _f ? k : D, S = {
|
13335
|
+
top: _.top - j.top + h.top,
|
13336
|
+
bottom: j.bottom - _.bottom + h.bottom,
|
13337
|
+
left: _.left - j.left + h.left,
|
13338
|
+
right: j.right - _.right + h.right
|
13328
13339
|
}, U = f.modifiersData.offset;
|
13329
|
-
if (
|
13330
|
-
var O = U[
|
13340
|
+
if (d === _f && U) {
|
13341
|
+
var O = U[n];
|
13331
13342
|
Object.keys(S).forEach(function(C) {
|
13332
13343
|
var Q = [K, W].indexOf(C) >= 0 ? 1 : -1, sf = [B, W].indexOf(C) >= 0 ? "y" : "x";
|
13333
13344
|
S[C] += O[sf] * Q;
|
@@ -13335,86 +13346,86 @@ function Tf(f, e) {
|
|
13335
13346
|
}
|
13336
13347
|
return S;
|
13337
13348
|
}
|
13338
|
-
function
|
13349
|
+
function dt(f, e) {
|
13339
13350
|
e === void 0 && (e = {});
|
13340
|
-
var A = e,
|
13341
|
-
return yf(m) ===
|
13342
|
-
}) : Sf, M =
|
13351
|
+
var A = e, a = A.placement, n = A.boundary, s = A.rootBoundary, t = A.padding, i = A.flipVariations, o = A.allowedAutoPlacements, r = o === void 0 ? Xe : o, d = yf(a), c = d ? i ? Oe : Oe.filter(function(m) {
|
13352
|
+
return yf(m) === d;
|
13353
|
+
}) : Sf, M = c.filter(function(m) {
|
13343
13354
|
return r.indexOf(m) >= 0;
|
13344
13355
|
});
|
13345
|
-
M.length === 0 && (M =
|
13356
|
+
M.length === 0 && (M = c);
|
13346
13357
|
var b = M.reduce(function(m, h) {
|
13347
13358
|
return m[h] = Tf(f, {
|
13348
13359
|
placement: h,
|
13349
|
-
boundary:
|
13350
|
-
rootBoundary:
|
13360
|
+
boundary: n,
|
13361
|
+
rootBoundary: s,
|
13351
13362
|
padding: t
|
13352
|
-
})[
|
13363
|
+
})[$(h)], m;
|
13353
13364
|
}, {});
|
13354
13365
|
return Object.keys(b).sort(function(m, h) {
|
13355
13366
|
return b[m] - b[h];
|
13356
13367
|
});
|
13357
13368
|
}
|
13358
|
-
function
|
13359
|
-
if (
|
13369
|
+
function gt(f) {
|
13370
|
+
if ($(f) === me)
|
13360
13371
|
return [];
|
13361
13372
|
var e = Ff(f);
|
13362
13373
|
return [Le(f), e, Le(e)];
|
13363
13374
|
}
|
13364
|
-
function
|
13365
|
-
var e = f.state, A = f.options,
|
13366
|
-
if (!e.modifiersData[
|
13367
|
-
for (var
|
13368
|
-
return cf.concat(
|
13369
|
-
placement:
|
13370
|
-
boundary:
|
13371
|
-
rootBoundary:
|
13375
|
+
function mt(f) {
|
13376
|
+
var e = f.state, A = f.options, a = f.name;
|
13377
|
+
if (!e.modifiersData[a]._skip) {
|
13378
|
+
for (var n = A.mainAxis, s = n === void 0 ? !0 : n, t = A.altAxis, i = t === void 0 ? !0 : t, o = A.fallbackPlacements, r = A.padding, d = A.boundary, c = A.rootBoundary, M = A.altBoundary, b = A.flipVariations, m = b === void 0 ? !0 : b, h = A.allowedAutoPlacements, p = e.options.placement, I = $(p), w = I === p, _ = o || (w || !m ? [Ff(p)] : gt(p)), D = [p].concat(_).reduce(function(cf, af) {
|
13379
|
+
return cf.concat($(af) === me ? dt(e, {
|
13380
|
+
placement: af,
|
13381
|
+
boundary: d,
|
13382
|
+
rootBoundary: c,
|
13372
13383
|
padding: r,
|
13373
13384
|
flipVariations: m,
|
13374
13385
|
allowedAutoPlacements: h
|
13375
|
-
}) :
|
13376
|
-
}, []),
|
13377
|
-
var C =
|
13386
|
+
}) : af);
|
13387
|
+
}, []), E = e.rects.reference, k = e.rects.popper, j = /* @__PURE__ */ new Map(), S = !0, U = D[0], O = 0; O < D.length; O++) {
|
13388
|
+
var C = D[O], Q = $(C), sf = yf(C) === Mf, If = [B, W].indexOf(Q) >= 0, Nf = If ? "width" : "height", R = Tf(e, {
|
13378
13389
|
placement: C,
|
13379
|
-
boundary:
|
13380
|
-
rootBoundary:
|
13390
|
+
boundary: d,
|
13391
|
+
rootBoundary: c,
|
13381
13392
|
altBoundary: M,
|
13382
13393
|
padding: r
|
13383
13394
|
}), Z = If ? sf ? K : Y : sf ? W : B;
|
13384
|
-
|
13395
|
+
E[Nf] > k[Nf] && (Z = Ff(Z));
|
13385
13396
|
var Cf = Ff(Z), of = [];
|
13386
|
-
if (
|
13397
|
+
if (s && of.push(R[Q] <= 0), i && of.push(R[Z] <= 0, R[Cf] <= 0), of.every(function(cf) {
|
13387
13398
|
return cf;
|
13388
13399
|
})) {
|
13389
13400
|
U = C, S = !1;
|
13390
13401
|
break;
|
13391
13402
|
}
|
13392
|
-
|
13403
|
+
j.set(C, of);
|
13393
13404
|
}
|
13394
13405
|
if (S)
|
13395
|
-
for (var Uf = m ? 3 : 1, fe = function(
|
13396
|
-
var
|
13397
|
-
var uf =
|
13406
|
+
for (var Uf = m ? 3 : 1, fe = function(af) {
|
13407
|
+
var Df = D.find(function(Qf) {
|
13408
|
+
var uf = j.get(Qf);
|
13398
13409
|
if (uf)
|
13399
|
-
return uf.slice(0,
|
13410
|
+
return uf.slice(0, af).every(function(ee) {
|
13400
13411
|
return ee;
|
13401
13412
|
});
|
13402
13413
|
});
|
13403
|
-
if (
|
13404
|
-
return U =
|
13405
|
-
},
|
13406
|
-
var Lf = fe(
|
13414
|
+
if (Df)
|
13415
|
+
return U = Df, "break";
|
13416
|
+
}, wf = Uf; wf > 0; wf--) {
|
13417
|
+
var Lf = fe(wf);
|
13407
13418
|
if (Lf === "break")
|
13408
13419
|
break;
|
13409
13420
|
}
|
13410
|
-
e.placement !== U && (e.modifiersData[
|
13421
|
+
e.placement !== U && (e.modifiersData[a]._skip = !0, e.placement = U, e.reset = !0);
|
13411
13422
|
}
|
13412
13423
|
}
|
13413
|
-
var
|
13424
|
+
var Mt = {
|
13414
13425
|
name: "flip",
|
13415
13426
|
enabled: !0,
|
13416
13427
|
phase: "main",
|
13417
|
-
fn:
|
13428
|
+
fn: mt,
|
13418
13429
|
requiresIfExists: ["offset"],
|
13419
13430
|
data: {
|
13420
13431
|
_skip: !1
|
@@ -13436,80 +13447,80 @@ function Ye(f) {
|
|
13436
13447
|
return f[e] >= 0;
|
13437
13448
|
});
|
13438
13449
|
}
|
13439
|
-
function
|
13440
|
-
var e = f.state, A = f.name,
|
13450
|
+
function pt(f) {
|
13451
|
+
var e = f.state, A = f.name, a = e.rects.reference, n = e.rects.popper, s = e.modifiersData.preventOverflow, t = Tf(e, {
|
13441
13452
|
elementContext: "reference"
|
13442
|
-
}),
|
13453
|
+
}), i = Tf(e, {
|
13443
13454
|
altBoundary: !0
|
13444
|
-
}), o = Be(t,
|
13455
|
+
}), o = Be(t, a), r = Be(i, n, s), d = Ye(o), c = Ye(r);
|
13445
13456
|
e.modifiersData[A] = {
|
13446
13457
|
referenceClippingOffsets: o,
|
13447
13458
|
popperEscapeOffsets: r,
|
13448
|
-
isReferenceHidden:
|
13449
|
-
hasPopperEscaped:
|
13459
|
+
isReferenceHidden: d,
|
13460
|
+
hasPopperEscaped: c
|
13450
13461
|
}, e.attributes.popper = Object.assign({}, e.attributes.popper, {
|
13451
|
-
"data-popper-reference-hidden":
|
13452
|
-
"data-popper-escaped":
|
13462
|
+
"data-popper-reference-hidden": d,
|
13463
|
+
"data-popper-escaped": c
|
13453
13464
|
});
|
13454
13465
|
}
|
13455
|
-
var
|
13466
|
+
var ht = {
|
13456
13467
|
name: "hide",
|
13457
13468
|
enabled: !0,
|
13458
13469
|
phase: "main",
|
13459
13470
|
requiresIfExists: ["preventOverflow"],
|
13460
|
-
fn:
|
13471
|
+
fn: pt
|
13461
13472
|
};
|
13462
|
-
function
|
13463
|
-
var
|
13473
|
+
function bt(f, e, A) {
|
13474
|
+
var a = $(f), n = [Y, B].indexOf(a) >= 0 ? -1 : 1, s = typeof A == "function" ? A(Object.assign({}, e, {
|
13464
13475
|
placement: f
|
13465
|
-
})) : A, t =
|
13466
|
-
return t = t || 0,
|
13467
|
-
x:
|
13476
|
+
})) : A, t = s[0], i = s[1];
|
13477
|
+
return t = t || 0, i = (i || 0) * n, [Y, K].indexOf(a) >= 0 ? {
|
13478
|
+
x: i,
|
13468
13479
|
y: t
|
13469
13480
|
} : {
|
13470
13481
|
x: t,
|
13471
|
-
y:
|
13482
|
+
y: i
|
13472
13483
|
};
|
13473
13484
|
}
|
13474
|
-
function
|
13475
|
-
var e = f.state, A = f.options,
|
13476
|
-
return c
|
13477
|
-
}, {}),
|
13478
|
-
e.modifiersData.popperOffsets != null && (e.modifiersData.popperOffsets.x += o, e.modifiersData.popperOffsets.y += r), e.modifiersData[
|
13485
|
+
function yt(f) {
|
13486
|
+
var e = f.state, A = f.options, a = f.name, n = A.offset, s = n === void 0 ? [0, 0] : n, t = Xe.reduce(function(d, c) {
|
13487
|
+
return d[c] = bt(c, e.rects, s), d;
|
13488
|
+
}, {}), i = t[e.placement], o = i.x, r = i.y;
|
13489
|
+
e.modifiersData.popperOffsets != null && (e.modifiersData.popperOffsets.x += o, e.modifiersData.popperOffsets.y += r), e.modifiersData[a] = t;
|
13479
13490
|
}
|
13480
|
-
var
|
13491
|
+
var vt = {
|
13481
13492
|
name: "offset",
|
13482
13493
|
enabled: !0,
|
13483
13494
|
phase: "main",
|
13484
13495
|
requires: ["popperOffsets"],
|
13485
|
-
fn:
|
13496
|
+
fn: yt
|
13486
13497
|
};
|
13487
|
-
function
|
13498
|
+
function It(f) {
|
13488
13499
|
var e = f.state, A = f.name;
|
13489
|
-
e.modifiersData[A] =
|
13500
|
+
e.modifiersData[A] = sA({
|
13490
13501
|
reference: e.rects.reference,
|
13491
13502
|
element: e.rects.popper,
|
13492
13503
|
strategy: "absolute",
|
13493
13504
|
placement: e.placement
|
13494
13505
|
});
|
13495
13506
|
}
|
13496
|
-
var
|
13507
|
+
var Nt = {
|
13497
13508
|
name: "popperOffsets",
|
13498
13509
|
enabled: !0,
|
13499
13510
|
phase: "read",
|
13500
|
-
fn:
|
13511
|
+
fn: It,
|
13501
13512
|
data: {}
|
13502
13513
|
};
|
13503
|
-
function
|
13514
|
+
function wt(f) {
|
13504
13515
|
return f === "x" ? "y" : "x";
|
13505
13516
|
}
|
13506
|
-
function
|
13507
|
-
var e = f.state, A = f.options,
|
13517
|
+
function Dt(f) {
|
13518
|
+
var e = f.state, A = f.options, a = f.name, n = A.mainAxis, s = n === void 0 ? !0 : n, t = A.altAxis, i = t === void 0 ? !1 : t, o = A.boundary, r = A.rootBoundary, d = A.altBoundary, c = A.padding, M = A.tether, b = M === void 0 ? !0 : M, m = A.tetherOffset, h = m === void 0 ? 0 : m, p = Tf(e, {
|
13508
13519
|
boundary: o,
|
13509
13520
|
rootBoundary: r,
|
13510
|
-
padding:
|
13511
|
-
altBoundary:
|
13512
|
-
}), I =
|
13521
|
+
padding: c,
|
13522
|
+
altBoundary: d
|
13523
|
+
}), I = $(e.placement), w = yf(e.placement), _ = !w, D = pe(I), E = wt(D), k = e.modifiersData.popperOffsets, j = e.rects.reference, S = e.rects.popper, U = typeof h == "function" ? h(Object.assign({}, e.rects, {
|
13513
13524
|
placement: e.placement
|
13514
13525
|
})) : h, O = typeof U == "number" ? {
|
13515
13526
|
mainAxis: U,
|
@@ -13521,85 +13532,85 @@ function yt(f) {
|
|
13521
13532
|
x: 0,
|
13522
13533
|
y: 0
|
13523
13534
|
};
|
13524
|
-
if (
|
13525
|
-
if (
|
13526
|
-
var sf, If =
|
13535
|
+
if (k) {
|
13536
|
+
if (s) {
|
13537
|
+
var sf, If = D === "y" ? B : Y, Nf = D === "y" ? W : K, R = D === "y" ? "height" : "width", Z = k[D], Cf = Z + p[If], of = Z - p[Nf], Uf = b ? -S[R] / 2 : 0, fe = w === Mf ? j[R] : S[R], wf = w === Mf ? -S[R] : -j[R], Lf = e.elements.arrow, cf = b && Lf ? Me(Lf) : {
|
13527
13538
|
width: 0,
|
13528
13539
|
height: 0
|
13529
|
-
},
|
13530
|
-
|
13540
|
+
}, af = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : AA(), Df = af[If], Qf = af[Nf], uf = kf(0, j[R], cf[R]), ee = _ ? j[R] / 2 - Uf - uf - Df - O.mainAxis : fe - uf - Df - O.mainAxis, rA = _ ? -j[R] / 2 + Uf + uf + Qf + O.mainAxis : wf + uf + Qf + O.mainAxis, Ae = e.elements.arrow && zf(e.elements.arrow), lA = Ae ? D === "y" ? Ae.clientTop || 0 : Ae.clientLeft || 0 : 0, ve = (sf = C == null ? void 0 : C[D]) != null ? sf : 0, cA = Z + ee - ve - lA, dA = Z + rA - ve, Ie = kf(b ? Kf(Cf, cA) : Cf, Z, b ? lf(of, dA) : of);
|
13541
|
+
k[D] = Ie, Q[D] = Ie - Z;
|
13531
13542
|
}
|
13532
|
-
if (
|
13533
|
-
var Ne, gA =
|
13534
|
-
|
13543
|
+
if (i) {
|
13544
|
+
var Ne, gA = D === "x" ? B : Y, mA = D === "x" ? W : K, rf = k[E], Bf = E === "y" ? "height" : "width", we = rf + p[gA], De = rf - p[mA], ae = [B, Y].indexOf(I) !== -1, _e = (Ne = C == null ? void 0 : C[E]) != null ? Ne : 0, ke = ae ? we : rf - j[Bf] - S[Bf] - _e + O.altAxis, je = ae ? rf + j[Bf] + S[Bf] - _e - O.altAxis : De, Ve = b && ae ? Pn(ke, rf, je) : kf(b ? ke : we, rf, b ? je : De);
|
13545
|
+
k[E] = Ve, Q[E] = Ve - rf;
|
13535
13546
|
}
|
13536
|
-
e.modifiersData[
|
13547
|
+
e.modifiersData[a] = Q;
|
13537
13548
|
}
|
13538
13549
|
}
|
13539
|
-
var
|
13550
|
+
var _t = {
|
13540
13551
|
name: "preventOverflow",
|
13541
13552
|
enabled: !0,
|
13542
13553
|
phase: "main",
|
13543
|
-
fn:
|
13554
|
+
fn: Dt,
|
13544
13555
|
requiresIfExists: ["offset"]
|
13545
13556
|
};
|
13546
|
-
function
|
13557
|
+
function kt(f) {
|
13547
13558
|
return {
|
13548
13559
|
scrollLeft: f.scrollLeft,
|
13549
13560
|
scrollTop: f.scrollTop
|
13550
13561
|
};
|
13551
13562
|
}
|
13552
|
-
function
|
13553
|
-
return f === H(f) || !J(f) ? he(f) :
|
13563
|
+
function jt(f) {
|
13564
|
+
return f === H(f) || !J(f) ? he(f) : kt(f);
|
13554
13565
|
}
|
13555
|
-
function
|
13556
|
-
var e = f.getBoundingClientRect(), A = hf(e.width) / f.offsetWidth || 1,
|
13557
|
-
return A !== 1 ||
|
13566
|
+
function Vt(f) {
|
13567
|
+
var e = f.getBoundingClientRect(), A = hf(e.width) / f.offsetWidth || 1, a = hf(e.height) / f.offsetHeight || 1;
|
13568
|
+
return A !== 1 || a !== 1;
|
13558
13569
|
}
|
13559
|
-
function
|
13570
|
+
function Et(f, e, A) {
|
13560
13571
|
A === void 0 && (A = !1);
|
13561
|
-
var
|
13572
|
+
var a = J(e), n = J(e) && Vt(e), s = tf(e), t = bf(f, n), i = {
|
13562
13573
|
scrollLeft: 0,
|
13563
13574
|
scrollTop: 0
|
13564
13575
|
}, o = {
|
13565
13576
|
x: 0,
|
13566
13577
|
y: 0
|
13567
13578
|
};
|
13568
|
-
return (
|
13569
|
-
x: t.left +
|
13570
|
-
y: t.top +
|
13579
|
+
return (a || !a && !A) && ((ef(e) !== "body" || ye(s)) && (i = jt(e)), J(e) ? (o = bf(e, !0), o.x += e.clientLeft, o.y += e.clientTop) : s && (o.x = be(s))), {
|
13580
|
+
x: t.left + i.scrollLeft - o.x,
|
13581
|
+
y: t.top + i.scrollTop - o.y,
|
13571
13582
|
width: t.width,
|
13572
13583
|
height: t.height
|
13573
13584
|
};
|
13574
13585
|
}
|
13575
|
-
function
|
13576
|
-
var e = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Set(),
|
13577
|
-
f.forEach(function(
|
13578
|
-
e.set(
|
13586
|
+
function Tt(f) {
|
13587
|
+
var e = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Set(), a = [];
|
13588
|
+
f.forEach(function(s) {
|
13589
|
+
e.set(s.name, s);
|
13579
13590
|
});
|
13580
|
-
function
|
13581
|
-
A.add(
|
13582
|
-
var t = [].concat(
|
13583
|
-
t.forEach(function(
|
13584
|
-
if (!A.has(
|
13585
|
-
var o = e.get(
|
13586
|
-
o &&
|
13591
|
+
function n(s) {
|
13592
|
+
A.add(s.name);
|
13593
|
+
var t = [].concat(s.requires || [], s.requiresIfExists || []);
|
13594
|
+
t.forEach(function(i) {
|
13595
|
+
if (!A.has(i)) {
|
13596
|
+
var o = e.get(i);
|
13597
|
+
o && n(o);
|
13587
13598
|
}
|
13588
|
-
}),
|
13599
|
+
}), a.push(s);
|
13589
13600
|
}
|
13590
|
-
return f.forEach(function(
|
13591
|
-
A.has(
|
13592
|
-
}),
|
13601
|
+
return f.forEach(function(s) {
|
13602
|
+
A.has(s.name) || n(s);
|
13603
|
+
}), a;
|
13593
13604
|
}
|
13594
|
-
function
|
13595
|
-
var e =
|
13596
|
-
return
|
13597
|
-
return A.concat(e.filter(function(
|
13598
|
-
return
|
13605
|
+
function xt(f) {
|
13606
|
+
var e = Tt(f);
|
13607
|
+
return qn.reduce(function(A, a) {
|
13608
|
+
return A.concat(e.filter(function(n) {
|
13609
|
+
return n.phase === a;
|
13599
13610
|
}));
|
13600
13611
|
}, []);
|
13601
13612
|
}
|
13602
|
-
function
|
13613
|
+
function St(f) {
|
13603
13614
|
var e;
|
13604
13615
|
return function() {
|
13605
13616
|
return e || (e = new Promise(function(A) {
|
@@ -13609,13 +13620,13 @@ function kt(f) {
|
|
13609
13620
|
})), e;
|
13610
13621
|
};
|
13611
13622
|
}
|
13612
|
-
function
|
13613
|
-
var e = f.reduce(function(A,
|
13614
|
-
var
|
13615
|
-
return A[
|
13616
|
-
options: Object.assign({},
|
13617
|
-
data: Object.assign({},
|
13618
|
-
}) :
|
13623
|
+
function zt(f) {
|
13624
|
+
var e = f.reduce(function(A, a) {
|
13625
|
+
var n = A[a.name];
|
13626
|
+
return A[a.name] = n ? Object.assign({}, n, a, {
|
13627
|
+
options: Object.assign({}, n.options, a.options),
|
13628
|
+
data: Object.assign({}, n.data, a.data)
|
13629
|
+
}) : a, A;
|
13619
13630
|
}, {});
|
13620
13631
|
return Object.keys(e).map(function(A) {
|
13621
13632
|
return e[A];
|
@@ -13629,131 +13640,131 @@ var Re = {
|
|
13629
13640
|
function qe() {
|
13630
13641
|
for (var f = arguments.length, e = new Array(f), A = 0; A < f; A++)
|
13631
13642
|
e[A] = arguments[A];
|
13632
|
-
return !e.some(function(
|
13633
|
-
return !(
|
13643
|
+
return !e.some(function(a) {
|
13644
|
+
return !(a && typeof a.getBoundingClientRect == "function");
|
13634
13645
|
});
|
13635
13646
|
}
|
13636
|
-
function
|
13647
|
+
function Ot(f) {
|
13637
13648
|
f === void 0 && (f = {});
|
13638
|
-
var e = f, A = e.defaultModifiers,
|
13639
|
-
return function(
|
13640
|
-
r === void 0 && (r =
|
13641
|
-
var
|
13649
|
+
var e = f, A = e.defaultModifiers, a = A === void 0 ? [] : A, n = e.defaultOptions, s = n === void 0 ? Re : n;
|
13650
|
+
return function(i, o, r) {
|
13651
|
+
r === void 0 && (r = s);
|
13652
|
+
var d = {
|
13642
13653
|
placement: "bottom",
|
13643
13654
|
orderedModifiers: [],
|
13644
|
-
options: Object.assign({}, Re,
|
13655
|
+
options: Object.assign({}, Re, s),
|
13645
13656
|
modifiersData: {},
|
13646
13657
|
elements: {
|
13647
|
-
reference:
|
13658
|
+
reference: i,
|
13648
13659
|
popper: o
|
13649
13660
|
},
|
13650
13661
|
attributes: {},
|
13651
13662
|
styles: {}
|
13652
|
-
},
|
13653
|
-
state:
|
13663
|
+
}, c = [], M = !1, b = {
|
13664
|
+
state: d,
|
13654
13665
|
setOptions: function(I) {
|
13655
|
-
var
|
13656
|
-
h(),
|
13657
|
-
reference:
|
13658
|
-
popper:
|
13666
|
+
var w = typeof I == "function" ? I(d.options) : I;
|
13667
|
+
h(), d.options = Object.assign({}, s, d.options, w), d.scrollParents = {
|
13668
|
+
reference: pf(i) ? jf(i) : i.contextElement ? jf(i.contextElement) : [],
|
13669
|
+
popper: jf(o)
|
13659
13670
|
};
|
13660
|
-
var _ =
|
13661
|
-
return
|
13662
|
-
return
|
13671
|
+
var _ = xt(zt([].concat(a, d.options.modifiers)));
|
13672
|
+
return d.orderedModifiers = _.filter(function(D) {
|
13673
|
+
return D.enabled;
|
13663
13674
|
}), m(), b.update();
|
13664
13675
|
},
|
13665
13676
|
forceUpdate: function() {
|
13666
13677
|
if (!M) {
|
13667
|
-
var I =
|
13668
|
-
if (qe(
|
13669
|
-
|
13670
|
-
reference:
|
13671
|
-
popper:
|
13672
|
-
},
|
13673
|
-
return
|
13678
|
+
var I = d.elements, w = I.reference, _ = I.popper;
|
13679
|
+
if (qe(w, _)) {
|
13680
|
+
d.rects = {
|
13681
|
+
reference: Et(w, zf(_), d.options.strategy === "fixed"),
|
13682
|
+
popper: Me(_)
|
13683
|
+
}, d.reset = !1, d.placement = d.options.placement, d.orderedModifiers.forEach(function(O) {
|
13684
|
+
return d.modifiersData[O.name] = Object.assign({}, O.data);
|
13674
13685
|
});
|
13675
|
-
for (var
|
13676
|
-
if (
|
13677
|
-
|
13686
|
+
for (var D = 0; D < d.orderedModifiers.length; D++) {
|
13687
|
+
if (d.reset === !0) {
|
13688
|
+
d.reset = !1, D = -1;
|
13678
13689
|
continue;
|
13679
13690
|
}
|
13680
|
-
var
|
13681
|
-
typeof
|
13682
|
-
state:
|
13691
|
+
var E = d.orderedModifiers[D], k = E.fn, j = E.options, S = j === void 0 ? {} : j, U = E.name;
|
13692
|
+
typeof k == "function" && (d = k({
|
13693
|
+
state: d,
|
13683
13694
|
options: S,
|
13684
13695
|
name: U,
|
13685
13696
|
instance: b
|
13686
|
-
}) ||
|
13697
|
+
}) || d);
|
13687
13698
|
}
|
13688
13699
|
}
|
13689
13700
|
}
|
13690
13701
|
},
|
13691
|
-
update:
|
13702
|
+
update: St(function() {
|
13692
13703
|
return new Promise(function(p) {
|
13693
|
-
b.forceUpdate(), p(
|
13704
|
+
b.forceUpdate(), p(d);
|
13694
13705
|
});
|
13695
13706
|
}),
|
13696
13707
|
destroy: function() {
|
13697
13708
|
h(), M = !0;
|
13698
13709
|
}
|
13699
13710
|
};
|
13700
|
-
if (!qe(
|
13711
|
+
if (!qe(i, o))
|
13701
13712
|
return b;
|
13702
13713
|
b.setOptions(r).then(function(p) {
|
13703
13714
|
!M && r.onFirstUpdate && r.onFirstUpdate(p);
|
13704
13715
|
});
|
13705
13716
|
function m() {
|
13706
|
-
|
13707
|
-
var I = p.name,
|
13708
|
-
if (typeof
|
13709
|
-
var
|
13710
|
-
state:
|
13717
|
+
d.orderedModifiers.forEach(function(p) {
|
13718
|
+
var I = p.name, w = p.options, _ = w === void 0 ? {} : w, D = p.effect;
|
13719
|
+
if (typeof D == "function") {
|
13720
|
+
var E = D({
|
13721
|
+
state: d,
|
13711
13722
|
name: I,
|
13712
13723
|
instance: b,
|
13713
13724
|
options: _
|
13714
|
-
}),
|
13725
|
+
}), k = function() {
|
13715
13726
|
};
|
13716
|
-
|
13727
|
+
c.push(E || k);
|
13717
13728
|
}
|
13718
13729
|
});
|
13719
13730
|
}
|
13720
13731
|
function h() {
|
13721
|
-
|
13732
|
+
c.forEach(function(p) {
|
13722
13733
|
return p();
|
13723
|
-
}),
|
13734
|
+
}), c = [];
|
13724
13735
|
}
|
13725
13736
|
return b;
|
13726
13737
|
};
|
13727
13738
|
}
|
13728
|
-
var
|
13729
|
-
defaultModifiers:
|
13730
|
-
}),
|
13739
|
+
var Ct = [tt, Nt, at, Wn, vt, Mt, _t, Xn, ht], Ut = /* @__PURE__ */ Ot({
|
13740
|
+
defaultModifiers: Ct
|
13741
|
+
}), iA = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgOS4zODI4MTMgNCA0IDkuMzgyODEzIDQgMTYgQyA0IDIyLjYxNzE4OCA5LjM4MjgxMyAyOCAxNiAyOCBDIDIyLjYxNzE4OCAyOCAyOCAyMi42MTcxODggMjggMTYgQyAyOCA5LjM4MjgxMyAyMi42MTcxODggNCAxNiA0IFogTSAxNiA2IEMgMjEuNTM1MTU2IDYgMjYgMTAuNDY0ODQ0IDI2IDE2IEMgMjYgMjEuNTM1MTU2IDIxLjUzNTE1NiAyNiAxNiAyNiBDIDEwLjQ2NDg0NCAyNiA2IDIxLjUzNTE1NiA2IDE2IEMgNiAxMC40NjQ4NDQgMTAuNDY0ODQ0IDYgMTYgNiBaIE0gMTEuNSAxMiBDIDEwLjY3MTg3NSAxMiAxMCAxMi42NzE4NzUgMTAgMTMuNSBDIDEwIDE0LjMyODEyNSAxMC42NzE4NzUgMTUgMTEuNSAxNSBDIDEyLjMyODEyNSAxNSAxMyAxNC4zMjgxMjUgMTMgMTMuNSBDIDEzIDEyLjY3MTg3NSAxMi4zMjgxMjUgMTIgMTEuNSAxMiBaIE0gMjAuNSAxMiBDIDE5LjY3MTg3NSAxMiAxOSAxMi42NzE4NzUgMTkgMTMuNSBDIDE5IDE0LjMyODEyNSAxOS42NzE4NzUgMTUgMjAuNSAxNSBDIDIxLjMyODEyNSAxNSAyMiAxNC4zMjgxMjUgMjIgMTMuNSBDIDIyIDEyLjY3MTg3NSAyMS4zMjgxMjUgMTIgMjAuNSAxMiBaIE0gMTAuODEyNSAxOSBMIDkuMDkzNzUgMjAgQyAxMC40NzY1NjMgMjIuMzg2NzE5IDEzLjA0Njg3NSAyNCAxNiAyNCBDIDE4Ljk1MzEyNSAyNCAyMS41MjM0MzggMjIuMzg2NzE5IDIyLjkwNjI1IDIwIEwgMjEuMTg3NSAxOSBDIDIwLjE0ODQzOCAyMC43OTI5NjkgMTguMjI2NTYzIDIyIDE2IDIyIEMgMTMuNzczNDM4IDIyIDExLjg1MTU2MyAyMC43OTI5NjkgMTAuODEyNSAxOSBaIi8+PC9zdmc+";
|
13731
13742
|
function Jf(f) {
|
13732
13743
|
return f.split("-").map((e) => parseInt(e, 16)).map((e) => String.fromCodePoint(e)).join("");
|
13733
13744
|
}
|
13734
|
-
function
|
13735
|
-
const
|
13736
|
-
return Object.keys(f).forEach((
|
13737
|
-
if (
|
13745
|
+
function Lt(f, e, A, a = []) {
|
13746
|
+
const n = {};
|
13747
|
+
return Object.keys(f).forEach((s) => {
|
13748
|
+
if (a.includes(s))
|
13738
13749
|
return;
|
13739
13750
|
const t = [];
|
13740
|
-
f[
|
13751
|
+
f[s].forEach((i) => {
|
13741
13752
|
var o;
|
13742
|
-
if (
|
13743
|
-
let r =
|
13744
|
-
if (A !== Wf && Array.isArray(
|
13745
|
-
const
|
13746
|
-
(
|
13753
|
+
if (i[$f][0].includes(e.toLocaleLowerCase())) {
|
13754
|
+
let r = i[Pe];
|
13755
|
+
if (A !== Wf && Array.isArray(i[Yf])) {
|
13756
|
+
const d = ((o = i[Yf]) == null ? void 0 : o.findIndex(
|
13757
|
+
(c) => c.includes(A)
|
13747
13758
|
)) || -1;
|
13748
|
-
|
13759
|
+
d !== -1 && i[Yf] && (r = i[Yf][d]);
|
13749
13760
|
}
|
13750
13761
|
return t.push({
|
13751
|
-
...
|
13762
|
+
...i,
|
13752
13763
|
[Vf]: r
|
13753
13764
|
});
|
13754
13765
|
}
|
13755
|
-
}), t.length && (
|
13756
|
-
}),
|
13766
|
+
}), t.length && (n[s] = t);
|
13767
|
+
}), n;
|
13757
13768
|
}
|
13758
13769
|
function oA() {
|
13759
13770
|
var f;
|
@@ -13762,36 +13773,36 @@ function oA() {
|
|
13762
13773
|
function uA(f) {
|
13763
13774
|
return f.replace(
|
13764
13775
|
/^_*(.)|_+(.)/g,
|
13765
|
-
(e, A,
|
13776
|
+
(e, A, a) => A ? A.toUpperCase() : " " + a.toUpperCase()
|
13766
13777
|
);
|
13767
13778
|
}
|
13768
13779
|
var Of = (f, e) => {
|
13769
13780
|
const A = f.__vccOpts || f;
|
13770
|
-
for (const [
|
13771
|
-
A[
|
13781
|
+
for (const [a, n] of e)
|
13782
|
+
A[a] = n;
|
13772
13783
|
return A;
|
13773
13784
|
};
|
13774
|
-
const
|
13785
|
+
const Qt = xf({
|
13775
13786
|
name: "Body",
|
13776
13787
|
emits: {
|
13777
13788
|
select: (f) => !0
|
13778
13789
|
},
|
13779
13790
|
setup() {
|
13780
|
-
const { state: f, updateEmoji: e, updateSelect: A } = Hf("store"),
|
13791
|
+
const { state: f, updateEmoji: e, updateSelect: A } = Hf("store"), a = v(null), n = V(() => Lt(
|
13781
13792
|
f.emojis,
|
13782
13793
|
f.search,
|
13783
13794
|
f.skinTone,
|
13784
13795
|
f.options.disabledGroups
|
13785
|
-
)),
|
13796
|
+
)), s = hA(), t = V(() => !f.options.hideGroupNames), i = V(() => !f.options.disableStickyGroupNames), o = Je(f.options.groupNames), r = f.orderedGroupKeys;
|
13786
13797
|
f.options.additionalGroups && Object.keys(f.options.additionalGroups).map((m) => {
|
13787
13798
|
f.options.groupNames[m] ? o[m] = f.options.groupNames[m] : o[m] = uA(m);
|
13788
13799
|
});
|
13789
|
-
const
|
13790
|
-
function
|
13800
|
+
const d = oA() ? "is-mac" : "";
|
13801
|
+
function c(m) {
|
13791
13802
|
e(m);
|
13792
13803
|
}
|
13793
13804
|
function M(m) {
|
13794
|
-
A(m),
|
13805
|
+
A(m), s == null || s.emit("select", {
|
13795
13806
|
...m,
|
13796
13807
|
t: f.skinTone,
|
13797
13808
|
i: Jf(m.r)
|
@@ -13806,37 +13817,37 @@ const zt = xf({
|
|
13806
13817
|
() => f.activeGroup,
|
13807
13818
|
() => {
|
13808
13819
|
var m;
|
13809
|
-
const h = (m =
|
13820
|
+
const h = (m = a.value) == null ? void 0 : m.querySelector("#" + f.activeGroup);
|
13810
13821
|
h && (h.parentNode.scrollTop = h.offsetTop - h.parentNode.offsetTop);
|
13811
13822
|
}
|
13812
13823
|
), {
|
13813
|
-
emojis:
|
13814
|
-
bodyInner:
|
13824
|
+
emojis: n,
|
13825
|
+
bodyInner: a,
|
13815
13826
|
EMOJI_REMOTE_SRC: Ke,
|
13816
13827
|
GROUP_NAMES: Ze,
|
13817
13828
|
handleClick: M,
|
13818
13829
|
handleError: b,
|
13819
|
-
handleMouseEnter:
|
13830
|
+
handleMouseEnter: c,
|
13820
13831
|
native: f.options.native,
|
13821
13832
|
unicodeToEmoji: Jf,
|
13822
13833
|
EMOJI_RESULT_KEY: Vf,
|
13823
|
-
EMOJI_NAME_KEY:
|
13834
|
+
EMOJI_NAME_KEY: $f,
|
13824
13835
|
hasGroupNames: t,
|
13825
|
-
isSticky:
|
13826
|
-
platform:
|
13836
|
+
isSticky: i,
|
13837
|
+
platform: d,
|
13827
13838
|
groupNames: o,
|
13828
13839
|
orderedKeys: r
|
13829
13840
|
};
|
13830
13841
|
}
|
13831
|
-
}),
|
13842
|
+
}), Bt = { class: "v3-body" }, Yt = ["id"], Rt = { class: "v3-emojis" }, qt = ["onMouseenter", "onClick"], Ft = { key: 0 }, Jt = ["src", "alt", "onError"], Wt = {
|
13832
13843
|
key: 1,
|
13833
13844
|
class: "v3-no-result"
|
13834
13845
|
};
|
13835
|
-
function
|
13836
|
-
return l(), g("div",
|
13846
|
+
function Kt(f, e, A, a, n, s) {
|
13847
|
+
return l(), g("div", Bt, [
|
13837
13848
|
u("div", {
|
13838
13849
|
ref: "bodyInner",
|
13839
|
-
class:
|
13850
|
+
class: T([f.platform, "v3-body-inner"])
|
13840
13851
|
}, [
|
13841
13852
|
f.orderedKeys.length ? (l(!0), g(q, { key: 0 }, F(f.orderedKeys, (t) => (l(), g("div", {
|
13842
13853
|
id: t,
|
@@ -13845,95 +13856,95 @@ function Rt(f, e, A, n, a, i) {
|
|
13845
13856
|
}, [
|
13846
13857
|
f.hasGroupNames ? P((l(), g("h5", {
|
13847
13858
|
key: 0,
|
13848
|
-
class:
|
13849
|
-
},
|
13859
|
+
class: T(f.isSticky ? "v3-sticky" : "")
|
13860
|
+
}, N(f.groupNames[t]), 3)), [
|
13850
13861
|
[gf, f.emojis[t]]
|
13851
|
-
]) :
|
13852
|
-
P(u("div",
|
13853
|
-
(l(!0), g(q, null, F(f.emojis[t], (
|
13854
|
-
key:
|
13862
|
+
]) : y("", !0),
|
13863
|
+
P(u("div", Rt, [
|
13864
|
+
(l(!0), g(q, null, F(f.emojis[t], (i) => (l(), g("button", {
|
13865
|
+
key: i.r,
|
13855
13866
|
type: "button",
|
13856
|
-
onMouseenter: (o) => f.handleMouseEnter(
|
13857
|
-
onClick: (o) => f.handleClick(
|
13867
|
+
onMouseenter: (o) => f.handleMouseEnter(i),
|
13868
|
+
onClick: (o) => f.handleClick(i)
|
13858
13869
|
}, [
|
13859
|
-
f.native ? (l(), g("span",
|
13870
|
+
f.native ? (l(), g("span", Ft, N(f.unicodeToEmoji(i.r)), 1)) : (l(), g("img", {
|
13860
13871
|
key: 1,
|
13861
|
-
src: f.EMOJI_REMOTE_SRC + `/${
|
13862
|
-
alt:
|
13863
|
-
onError: (o) => f.handleError(o,
|
13864
|
-
}, null, 40,
|
13865
|
-
], 40,
|
13872
|
+
src: f.EMOJI_REMOTE_SRC + `/${i.r}.png`,
|
13873
|
+
alt: i.n[0],
|
13874
|
+
onError: (o) => f.handleError(o, i.r)
|
13875
|
+
}, null, 40, Jt))
|
13876
|
+
], 40, qt))), 128))
|
13866
13877
|
], 512), [
|
13867
13878
|
[gf, f.emojis[t]]
|
13868
13879
|
])
|
13869
|
-
], 8,
|
13880
|
+
], 8, Yt))), 128)) : (l(), g("span", Wt, " No emoji has been found! "))
|
13870
13881
|
], 2)
|
13871
13882
|
]);
|
13872
13883
|
}
|
13873
|
-
var qt = /* @__PURE__ */ Of(zt, [["render", Rt]]), Ft = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxMi41IDUgQyAxMS40Mjk2ODggNSAxMC41IDUuNjA5Mzc1IDkuOTA2MjUgNi40Mzc1IEMgOS4zMTI1IDcuMjY1NjI1IDkgOC4zMzk4NDQgOSA5LjUgQyA5IDEwLjY2MDE1NiA5LjMxMjUgMTEuNzM0Mzc1IDkuOTA2MjUgMTIuNTYyNSBDIDEwLjUgMTMuMzkwNjI1IDExLjQyOTY4OCAxNCAxMi41IDE0IEMgMTMuNTcwMzEzIDE0IDE0LjUgMTMuMzkwNjI1IDE1LjA5Mzc1IDEyLjU2MjUgQyAxNS42ODc1IDExLjczNDM3NSAxNiAxMC42NjAxNTYgMTYgOS41IEMgMTYgOC4zMzk4NDQgMTUuNjg3NSA3LjI2NTYyNSAxNS4wOTM3NSA2LjQzNzUgQyAxNC41IDUuNjA5Mzc1IDEzLjU3MDMxMyA1IDEyLjUgNSBaIE0gMTYg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TMgMjggMTYgMjggQyAyMi42MTcxODggMjggMjggMjIuNjE3MTg4IDI4IDE2IEMgMjggOS4zODI4MTMgMjIuNjE3MTg4IDQgMTYgNCBaIE0gMTUgOCBMIDE1IDE3IEwgMjIgMTcgTCAyMiAxNSBMIDE3IDE1IEwgMTcgOCBaIi8+PC9zdmc+Cg==";
|
13885
|
+
const a1 = xf({
|
13875
13886
|
name: "Header",
|
13876
13887
|
setup(f) {
|
13877
|
-
const { state: e, updateSearch: A, updateActiveGroup:
|
13888
|
+
const { state: e, updateSearch: A, updateActiveGroup: a } = Hf("store"), n = V(() => !e.options.hideSearch), s = V(() => !e.options.hideGroupIcons), t = JSON.parse(JSON.stringify(e.orderedGroupKeys)), i = V(
|
13878
13889
|
() => e.options.staticTexts.placeholder || ""
|
13879
13890
|
), o = V({
|
13880
13891
|
get: () => e.search,
|
13881
|
-
set: (
|
13892
|
+
set: (c) => A(c)
|
13882
13893
|
}), r = [
|
13883
13894
|
...e.groups,
|
13884
|
-
...Object.keys(e.options.additionalGroups).map((
|
13885
|
-
key:
|
13886
|
-
title: e.options.groupNames[
|
13895
|
+
...Object.keys(e.options.additionalGroups).map((c) => ({
|
13896
|
+
key: c,
|
13897
|
+
title: e.options.groupNames[c] ? e.options.groupNames[c] : uA(c)
|
13887
13898
|
}))
|
13888
|
-
],
|
13889
|
-
return t.forEach((
|
13890
|
-
const M = r.findIndex((b) => b.key ===
|
13891
|
-
M !== -1 && (
|
13899
|
+
], d = [];
|
13900
|
+
return t.forEach((c) => {
|
13901
|
+
const M = r.findIndex((b) => b.key === c);
|
13902
|
+
M !== -1 && (d.push(r[M]), r.splice(M, 1));
|
13892
13903
|
}), {
|
13893
|
-
orderedGroups:
|
13904
|
+
orderedGroups: d,
|
13894
13905
|
orderedKeys: t,
|
13895
13906
|
searchValue: o,
|
13896
|
-
updateActiveGroup:
|
13897
|
-
hasSearch:
|
13898
|
-
hasGroupIcons:
|
13899
|
-
placeholder:
|
13907
|
+
updateActiveGroup: a,
|
13908
|
+
hasSearch: n,
|
13909
|
+
hasGroupIcons: s,
|
13910
|
+
placeholder: i,
|
13900
13911
|
icons: {
|
13901
|
-
smileys_people:
|
13902
|
-
animals_nature:
|
13903
|
-
food_drink:
|
13904
|
-
activities:
|
13905
|
-
travel_places:
|
13906
|
-
objects:
|
13907
|
-
symbols:
|
13908
|
-
flags:
|
13912
|
+
smileys_people: iA,
|
13913
|
+
animals_nature: Pt,
|
13914
|
+
food_drink: Ht,
|
13915
|
+
activities: Gt,
|
13916
|
+
travel_places: $t,
|
13917
|
+
objects: Xt,
|
13918
|
+
symbols: f1,
|
13919
|
+
flags: e1,
|
13909
13920
|
...e.options.groupIcons,
|
13910
|
-
recent:
|
13921
|
+
recent: A1
|
13911
13922
|
}
|
13912
13923
|
};
|
13913
13924
|
}
|
13914
|
-
}),
|
13925
|
+
}), n1 = {
|
13915
13926
|
key: 0,
|
13916
13927
|
class: "v3-header"
|
13917
|
-
},
|
13928
|
+
}, t1 = {
|
13918
13929
|
key: 0,
|
13919
13930
|
class: "v3-groups"
|
13920
|
-
},
|
13931
|
+
}, s1 = ["onClick"], i1 = ["title"], o1 = ["src"], u1 = {
|
13921
13932
|
key: 1,
|
13922
13933
|
class: "v3-spacing"
|
13923
|
-
},
|
13934
|
+
}, r1 = {
|
13924
13935
|
key: 2,
|
13925
13936
|
class: "v3-search"
|
13926
|
-
},
|
13927
|
-
function
|
13928
|
-
return f.hasGroupIcons || f.hasSearch ? (l(), g("div",
|
13929
|
-
f.hasGroupIcons ? (l(), g("div",
|
13937
|
+
}, l1 = ["placeholder"];
|
13938
|
+
function c1(f, e, A, a, n, s) {
|
13939
|
+
return f.hasGroupIcons || f.hasSearch ? (l(), g("div", n1, [
|
13940
|
+
f.hasGroupIcons ? (l(), g("div", t1, [
|
13930
13941
|
(l(!0), g(q, null, F(f.orderedGroups, (t) => (l(), g("button", {
|
13931
13942
|
key: t.key,
|
13932
13943
|
type: "button",
|
13933
|
-
class:
|
13944
|
+
class: T(["v3-group", {
|
13934
13945
|
"v3-is-hidden": !f.icons[t.key]
|
13935
13946
|
}]),
|
13936
|
-
onClick: (
|
13947
|
+
onClick: (i) => f.updateActiveGroup(t.key)
|
13937
13948
|
}, [
|
13938
13949
|
u("span", {
|
13939
13950
|
title: t.title,
|
@@ -13942,82 +13953,82 @@ function s1(f, e, A, n, a, i) {
|
|
13942
13953
|
u("img", {
|
13943
13954
|
src: f.icons[t.key],
|
13944
13955
|
alt: ""
|
13945
|
-
}, null, 8,
|
13946
|
-
], 8,
|
13947
|
-
], 10,
|
13948
|
-
])) :
|
13949
|
-
f.hasGroupIcons && f.hasSearch ? (l(), g("div",
|
13950
|
-
f.hasSearch ? (l(), g("div",
|
13956
|
+
}, null, 8, o1)
|
13957
|
+
], 8, i1)
|
13958
|
+
], 10, s1))), 128))
|
13959
|
+
])) : y("", !0),
|
13960
|
+
f.hasGroupIcons && f.hasSearch ? (l(), g("div", u1)) : y("", !0),
|
13961
|
+
f.hasSearch ? (l(), g("div", r1, [
|
13951
13962
|
P(u("input", {
|
13952
13963
|
"onUpdate:modelValue": e[0] || (e[0] = (t) => f.searchValue = t),
|
13953
13964
|
type: "text",
|
13954
13965
|
placeholder: f.placeholder
|
13955
|
-
}, null, 8,
|
13966
|
+
}, null, 8, l1), [
|
13956
13967
|
[Pf, f.searchValue]
|
13957
13968
|
])
|
13958
|
-
])) :
|
13959
|
-
])) :
|
13969
|
+
])) : y("", !0)
|
13970
|
+
])) : y("", !0);
|
13960
13971
|
}
|
13961
|
-
var
|
13962
|
-
const
|
13972
|
+
var d1 = /* @__PURE__ */ Of(a1, [["render", c1]]);
|
13973
|
+
const g1 = xf({
|
13963
13974
|
name: "Header",
|
13964
13975
|
setup() {
|
13965
|
-
const { state: f, updateSkinTone: e } = Hf("store"), A =
|
13976
|
+
const { state: f, updateSkinTone: e } = Hf("store"), A = v(!1), a = v(!1), n = V(() => f.skinTone), s = V(
|
13966
13977
|
() => f.options.staticTexts.skinTone || "Skin tone"
|
13967
|
-
), t = V(() => !f.options.disableSkinTones),
|
13978
|
+
), t = V(() => !f.options.disableSkinTones), i = oA() ? "is-mac" : "", o = V(() => ({
|
13968
13979
|
...f.emoji,
|
13969
13980
|
src: Ke + "/" + f.emoji[Vf] + ".png"
|
13970
13981
|
}));
|
13971
13982
|
function r(M = !0) {
|
13972
13983
|
A.value = M;
|
13973
13984
|
}
|
13974
|
-
function
|
13985
|
+
function d() {
|
13975
13986
|
A.value = !A.value;
|
13976
13987
|
}
|
13977
|
-
function
|
13988
|
+
function c(M) {
|
13978
13989
|
e(M), r(!1);
|
13979
13990
|
}
|
13980
13991
|
return Gf(
|
13981
13992
|
() => f.emoji,
|
13982
13993
|
() => {
|
13983
|
-
|
13994
|
+
a.value = !1;
|
13984
13995
|
}
|
13985
13996
|
), {
|
13986
13997
|
emoji: o,
|
13987
|
-
SKIN_TONES:
|
13998
|
+
SKIN_TONES: tn,
|
13988
13999
|
updateSkinToneState: r,
|
13989
14000
|
skinTone: A,
|
13990
|
-
stateSkinTone:
|
13991
|
-
selectSkinTone:
|
13992
|
-
toggleSkinToneState:
|
14001
|
+
stateSkinTone: n,
|
14002
|
+
selectSkinTone: c,
|
14003
|
+
toggleSkinToneState: d,
|
13993
14004
|
EMOJI_RESULT_KEY: Vf,
|
13994
|
-
EMOJI_NAME_KEY:
|
13995
|
-
skinToneText:
|
14005
|
+
EMOJI_NAME_KEY: $f,
|
14006
|
+
skinToneText: s,
|
13996
14007
|
hasSkinTones: t,
|
13997
14008
|
native: f.options.native,
|
13998
14009
|
unicodeToEmoji: Jf,
|
13999
|
-
platform:
|
14000
|
-
hasError:
|
14010
|
+
platform: i,
|
14011
|
+
hasError: a
|
14001
14012
|
};
|
14002
14013
|
}
|
14003
|
-
}),
|
14004
|
-
function
|
14014
|
+
}), m1 = { class: "v3-foot-left" }, M1 = { key: 0 }, p1 = ["alt", "src"], h1 = { class: "v3-text" }, b1 = { class: "v3-text" }, y1 = ["onClick"];
|
14015
|
+
function v1(f, e, A, a, n, s) {
|
14005
14016
|
return l(), g("div", {
|
14006
14017
|
class: "v3-footer",
|
14007
14018
|
onMouseleave: e[2] || (e[2] = (t) => f.updateSkinToneState(!1))
|
14008
14019
|
}, [
|
14009
|
-
u("div",
|
14020
|
+
u("div", m1, [
|
14010
14021
|
u("span", {
|
14011
|
-
class:
|
14022
|
+
class: T([f.platform, "v3-icon"])
|
14012
14023
|
}, [
|
14013
|
-
f.native || f.hasError ? (l(), g("span",
|
14024
|
+
f.native || f.hasError ? (l(), g("span", M1, N(f.unicodeToEmoji(f.emoji.r)), 1)) : (l(), g("img", {
|
14014
14025
|
key: 1,
|
14015
14026
|
alt: f.unicodeToEmoji(f.emoji.r),
|
14016
14027
|
src: f.emoji.src,
|
14017
14028
|
onError: e[0] || (e[0] = (t) => f.hasError = !0)
|
14018
|
-
}, null, 40,
|
14029
|
+
}, null, 40, p1))
|
14019
14030
|
], 2),
|
14020
|
-
u("span",
|
14031
|
+
u("span", h1, " :" + N(f.emoji[f.EMOJI_NAME_KEY][1] || f.emoji[f.EMOJI_NAME_KEY][0]) + ": ", 1)
|
14021
14032
|
]),
|
14022
14033
|
f.hasSkinTones ? (l(), g(q, { key: 0 }, [
|
14023
14034
|
u("button", {
|
@@ -14025,31 +14036,31 @@ function p1(f, e, A, n, a, i) {
|
|
14025
14036
|
class: "v3-tone",
|
14026
14037
|
onClick: e[1] || (e[1] = (...t) => f.toggleSkinToneState && f.toggleSkinToneState(...t))
|
14027
14038
|
}, [
|
14028
|
-
u("span",
|
14039
|
+
u("span", b1, N(f.skinToneText), 1),
|
14029
14040
|
u("span", {
|
14030
|
-
class:
|
14041
|
+
class: T(`v3-icon v3-tone-${f.stateSkinTone}`)
|
14031
14042
|
}, null, 2)
|
14032
14043
|
]),
|
14033
14044
|
u("div", {
|
14034
|
-
class:
|
14045
|
+
class: T([f.skinTone ? "v3-is-open" : "", "v3-skin-tones"])
|
14035
14046
|
}, [
|
14036
14047
|
(l(!0), g(q, null, F(f.SKIN_TONES, (t) => (l(), g("button", {
|
14037
14048
|
key: t,
|
14038
14049
|
type: "button",
|
14039
|
-
class:
|
14040
|
-
onClick: (
|
14041
|
-
}, null, 10,
|
14050
|
+
class: T(["v3-skin-tone-" + t, "v3-skin-tone"]),
|
14051
|
+
onClick: (i) => f.selectSkinTone(t)
|
14052
|
+
}, null, 10, y1))), 128))
|
14042
14053
|
], 2)
|
14043
|
-
], 64)) :
|
14054
|
+
], 64)) : y("", !0)
|
14044
14055
|
], 32);
|
14045
14056
|
}
|
14046
|
-
var
|
14047
|
-
const
|
14057
|
+
var I1 = /* @__PURE__ */ Of(g1, [["render", v1]]);
|
14058
|
+
const N1 = xf({
|
14048
14059
|
name: "PickerRoot",
|
14049
14060
|
components: {
|
14050
|
-
Header:
|
14051
|
-
Body:
|
14052
|
-
Footer:
|
14061
|
+
Header: d1,
|
14062
|
+
Body: Zt,
|
14063
|
+
Footer: I1
|
14053
14064
|
},
|
14054
14065
|
props: {
|
14055
14066
|
type: {
|
@@ -14082,11 +14093,11 @@ const h1 = xf({
|
|
14082
14093
|
"update:text": (f) => !0
|
14083
14094
|
},
|
14084
14095
|
setup(f, { emit: e }) {
|
14085
|
-
const A =
|
14096
|
+
const A = v(), a = v(), n = v(), s = v(!1), t = v(f.text), i = f.type === "input" || f.type === "textarea";
|
14086
14097
|
let o = -1;
|
14087
|
-
const { state: r } = Hf("store"),
|
14088
|
-
function
|
14089
|
-
if (
|
14098
|
+
const { state: r } = Hf("store"), d = V(() => r.options.colorTheme);
|
14099
|
+
function c(p) {
|
14100
|
+
if (i) {
|
14090
14101
|
const I = r.options.mode;
|
14091
14102
|
I === "prepend" ? t.value = p.i + t.value : I === "insert" && o !== -1 ? (t.value = `${t.value.slice(0, o)}${p.i}${t.value.slice(o)}`, o += p.i.length) : t.value += p.i, e("update:text", t.value);
|
14092
14103
|
}
|
@@ -14100,12 +14111,12 @@ const h1 = xf({
|
|
14100
14111
|
var I;
|
14101
14112
|
!((I = p.target) != null && I.closest(
|
14102
14113
|
".v3-input-picker-wrap"
|
14103
|
-
)) &&
|
14114
|
+
)) && s.value && (s.value = !1);
|
14104
14115
|
}
|
14105
14116
|
function m() {
|
14106
|
-
if (
|
14117
|
+
if (a.value && n.value && i) {
|
14107
14118
|
let p = r.options.offset;
|
14108
|
-
typeof p != "number" && (p = 6),
|
14119
|
+
typeof p != "number" && (p = 6), Ut(a.value, n.value, {
|
14109
14120
|
placement: "bottom-end",
|
14110
14121
|
modifiers: [
|
14111
14122
|
{
|
@@ -14126,27 +14137,27 @@ const h1 = xf({
|
|
14126
14137
|
}), bA(() => {
|
14127
14138
|
document.body.removeEventListener("click", b);
|
14128
14139
|
}), {
|
14129
|
-
face:
|
14130
|
-
open:
|
14131
|
-
onSelect:
|
14140
|
+
face: iA,
|
14141
|
+
open: s,
|
14142
|
+
onSelect: c,
|
14132
14143
|
input: t,
|
14133
14144
|
elem: A,
|
14134
14145
|
updateCursor: M,
|
14135
|
-
button:
|
14136
|
-
picker:
|
14137
|
-
isInputType:
|
14146
|
+
button: a,
|
14147
|
+
picker: n,
|
14148
|
+
isInputType: i,
|
14138
14149
|
onChangeText: h,
|
14139
|
-
colorTheme:
|
14150
|
+
colorTheme: d
|
14140
14151
|
};
|
14141
14152
|
}
|
14142
|
-
}),
|
14153
|
+
}), w1 = {
|
14143
14154
|
key: 0,
|
14144
14155
|
class: "v3-input-emoji-picker"
|
14145
|
-
},
|
14146
|
-
function
|
14147
|
-
const t = qf("Header"),
|
14148
|
-
return f.isInputType ? (l(), g("div",
|
14149
|
-
u("div",
|
14156
|
+
}, D1 = { class: "v3-input-picker-root" }, _1 = ["value"], k1 = ["value"], j1 = ["src"];
|
14157
|
+
function V1(f, e, A, a, n, s) {
|
14158
|
+
const t = qf("Header"), i = qf("Body"), o = qf("Footer");
|
14159
|
+
return f.isInputType ? (l(), g("div", w1, [
|
14160
|
+
u("div", D1, [
|
14150
14161
|
f.type === "input" ? (l(), g("input", {
|
14151
14162
|
key: 0,
|
14152
14163
|
ref: "elem",
|
@@ -14155,16 +14166,16 @@ function D1(f, e, A, n, a, i) {
|
|
14155
14166
|
class: "v3-emoji-picker-input",
|
14156
14167
|
onInput: e[0] || (e[0] = (...r) => f.onChangeText && f.onChangeText(...r)),
|
14157
14168
|
onBlur: e[1] || (e[1] = (...r) => f.updateCursor && f.updateCursor(...r))
|
14158
|
-
}, null, 40,
|
14169
|
+
}, null, 40, _1)) : (l(), g("textarea", {
|
14159
14170
|
key: 1,
|
14160
14171
|
ref: "elem",
|
14161
14172
|
value: f.input,
|
14162
14173
|
class: "v3-emoji-picker-textarea",
|
14163
14174
|
onInput: e[2] || (e[2] = (...r) => f.onChangeText && f.onChangeText(...r)),
|
14164
14175
|
onBlur: e[3] || (e[3] = (...r) => f.updateCursor && f.updateCursor(...r))
|
14165
|
-
}, null, 40,
|
14176
|
+
}, null, 40, k1)),
|
14166
14177
|
u("div", {
|
14167
|
-
class:
|
14178
|
+
class: T(["v3-input-picker-wrap", f.open ? "v3-picker-is-open" : ""])
|
14168
14179
|
}, [
|
14169
14180
|
u("button", {
|
14170
14181
|
ref: "button",
|
@@ -14175,32 +14186,32 @@ function D1(f, e, A, n, a, i) {
|
|
14175
14186
|
u("img", {
|
14176
14187
|
src: f.face,
|
14177
14188
|
alt: ""
|
14178
|
-
}, null, 8,
|
14189
|
+
}, null, 8, j1)
|
14179
14190
|
], 512),
|
14180
14191
|
u("div", {
|
14181
14192
|
ref: "picker",
|
14182
|
-
class:
|
14193
|
+
class: T(["v3-emoji-picker", "v3-color-theme-" + f.colorTheme])
|
14183
14194
|
}, [
|
14184
14195
|
z(t),
|
14185
|
-
z(
|
14196
|
+
z(i, { onSelect: f.onSelect }, null, 8, ["onSelect"]),
|
14186
14197
|
z(o)
|
14187
14198
|
], 2)
|
14188
14199
|
], 2)
|
14189
14200
|
])
|
14190
14201
|
])) : (l(), g("div", {
|
14191
14202
|
key: 1,
|
14192
|
-
class:
|
14203
|
+
class: T(["v3-emoji-picker", "v3-color-theme-" + f.colorTheme])
|
14193
14204
|
}, [
|
14194
14205
|
z(t),
|
14195
|
-
z(
|
14206
|
+
z(i, { onSelect: f.onSelect }, null, 8, ["onSelect"]),
|
14196
14207
|
z(o)
|
14197
14208
|
], 2));
|
14198
14209
|
}
|
14199
|
-
var
|
14200
|
-
const
|
14210
|
+
var E1 = /* @__PURE__ */ Of(N1, [["render", V1]]);
|
14211
|
+
const T1 = xf({
|
14201
14212
|
name: "Picker",
|
14202
14213
|
components: {
|
14203
|
-
PickerRoot:
|
14214
|
+
PickerRoot: E1
|
14204
14215
|
},
|
14205
14216
|
props: {
|
14206
14217
|
native: {
|
@@ -14281,17 +14292,17 @@ const _1 = xf({
|
|
14281
14292
|
select: (f) => !0
|
14282
14293
|
},
|
14283
14294
|
setup(f, { emit: e }) {
|
14284
|
-
const A =
|
14285
|
-
function
|
14286
|
-
A.value =
|
14295
|
+
const A = v(f.text);
|
14296
|
+
function a(s) {
|
14297
|
+
A.value = s || "", e("update:text", A.value);
|
14287
14298
|
}
|
14288
|
-
const
|
14289
|
-
return
|
14299
|
+
const n = Tn();
|
14300
|
+
return n.updateOptions({
|
14290
14301
|
native: f.native,
|
14291
14302
|
hideSearch: f.hideSearch,
|
14292
14303
|
hideGroupIcons: f.hideGroupIcons,
|
14293
14304
|
hideGroupNames: f.hideGroupNames,
|
14294
|
-
staticTexts: { ...
|
14305
|
+
staticTexts: { ...sn, ...f.staticTexts },
|
14295
14306
|
disableStickyGroupNames: f.disableStickyGroupNames,
|
14296
14307
|
disabledGroups: f.disabledGroups,
|
14297
14308
|
groupNames: { ...Ze, ...f.groupNames },
|
@@ -14302,34 +14313,34 @@ const _1 = xf({
|
|
14302
14313
|
offset: f.offset,
|
14303
14314
|
groupOrder: f.groupOrder,
|
14304
14315
|
groupIcons: f.groupIcons,
|
14305
|
-
colorTheme:
|
14306
|
-
}), yA("store",
|
14316
|
+
colorTheme: on.includes(f.theme) ? f.theme : "light"
|
14317
|
+
}), yA("store", n), {
|
14307
14318
|
type: f.pickerType,
|
14308
14319
|
input: A,
|
14309
|
-
onChangeText:
|
14320
|
+
onChangeText: a
|
14310
14321
|
};
|
14311
14322
|
}
|
14312
14323
|
});
|
14313
|
-
function
|
14324
|
+
function x1(f, e, A, a, n, s) {
|
14314
14325
|
const t = qf("picker-root");
|
14315
14326
|
return l(), L(t, {
|
14316
14327
|
type: f.type,
|
14317
14328
|
text: f.input,
|
14318
|
-
onSelect: e[0] || (e[0] = (
|
14329
|
+
onSelect: e[0] || (e[0] = (i) => f.$emit("select", i)),
|
14319
14330
|
"onUpdate:text": f.onChangeText
|
14320
14331
|
}, null, 8, ["type", "text", "onUpdate:text"]);
|
14321
14332
|
}
|
14322
|
-
var
|
14323
|
-
const
|
14333
|
+
var S1 = /* @__PURE__ */ Of(T1, [["render", x1]]);
|
14334
|
+
const z1 = { class: "channels__container" }, O1 = { class: "channels__title-container" }, C1 = {
|
14324
14335
|
key: 0,
|
14325
14336
|
class: "channels__selected"
|
14326
|
-
},
|
14337
|
+
}, U1 = {
|
14327
14338
|
key: 0,
|
14328
14339
|
class: "channels__icon"
|
14329
|
-
},
|
14340
|
+
}, L1 = ["src"], Q1 = { class: "channels__title" }, B1 = {
|
14330
14341
|
key: 1,
|
14331
14342
|
class: "channels__title"
|
14332
|
-
},
|
14343
|
+
}, Y1 = { class: "channels__popover-container" }, R1 = { class: "channels__popover-list" }, q1 = ["onClick"], F1 = {
|
14333
14344
|
__name: "Channels2",
|
14334
14345
|
props: {
|
14335
14346
|
channels: {
|
@@ -14339,64 +14350,64 @@ const V1 = { class: "channels__container" }, E1 = { class: "channels__title-cont
|
|
14339
14350
|
},
|
14340
14351
|
emits: ["selectChannel"],
|
14341
14352
|
setup(f, { emit: e }) {
|
14342
|
-
const A =
|
14343
|
-
|
14353
|
+
const A = v(!0), a = v(null), n = f, s = e, i = v(n.channels.find((c) => c.type === "default")), o = (c) => {
|
14354
|
+
i.value = c, r(), s("selectChannel", i.value);
|
14344
14355
|
}, r = () => {
|
14345
14356
|
A.value = !A.value;
|
14346
|
-
},
|
14347
|
-
|
14357
|
+
}, d = (c) => {
|
14358
|
+
a.value && !a.value.contains(c.target) && (A.value = !1);
|
14348
14359
|
};
|
14349
14360
|
return Zf(() => {
|
14350
|
-
document.addEventListener("click",
|
14361
|
+
document.addEventListener("click", d);
|
14351
14362
|
}), NA(() => {
|
14352
|
-
document.removeEventListener("click",
|
14353
|
-
}), (
|
14354
|
-
class: "channels",
|
14363
|
+
document.removeEventListener("click", d);
|
14364
|
+
}), (c, M) => (l(), g("div", {
|
14355
14365
|
ref_key: "customDiv",
|
14356
|
-
ref:
|
14366
|
+
ref: a,
|
14367
|
+
class: "channels"
|
14357
14368
|
}, [
|
14358
|
-
u("div",
|
14369
|
+
u("div", z1, [
|
14359
14370
|
u("button", {
|
14360
14371
|
class: "channels__button",
|
14361
14372
|
onClick: r
|
14362
14373
|
}, M[1] || (M[1] = [
|
14363
14374
|
u("span", { class: "pi pi-list" }, null, -1)
|
14364
14375
|
])),
|
14365
|
-
u("div",
|
14366
|
-
|
14367
|
-
|
14376
|
+
u("div", O1, [
|
14377
|
+
i.value ? (l(), g("div", C1, [
|
14378
|
+
i.value.icon ? (l(), g("span", U1, [
|
14368
14379
|
u("img", {
|
14369
|
-
src:
|
14370
|
-
}, null, 8,
|
14371
|
-
])) :
|
14372
|
-
u("span",
|
14373
|
-
])) : (l(), g("span",
|
14380
|
+
src: i.value.icon
|
14381
|
+
}, null, 8, L1)
|
14382
|
+
])) : y("", !0),
|
14383
|
+
u("span", Q1, N(i.value.title), 1)
|
14384
|
+
])) : (l(), g("span", B1, "Чат не выбран"))
|
14374
14385
|
]),
|
14375
14386
|
z(X, null, {
|
14376
|
-
default:
|
14387
|
+
default: ff(() => [
|
14377
14388
|
A.value ? (l(), g("div", {
|
14378
14389
|
key: 0,
|
14379
14390
|
class: "channels__popover",
|
14380
|
-
onClick: M[0] || (M[0] =
|
14391
|
+
onClick: M[0] || (M[0] = wA(() => {
|
14381
14392
|
}, ["stop"]))
|
14382
14393
|
}, [
|
14383
|
-
u("div",
|
14384
|
-
u("ul",
|
14394
|
+
u("div", Y1, [
|
14395
|
+
u("ul", R1, [
|
14385
14396
|
(l(!0), g(q, null, F(f.channels, (b) => (l(), g("li", {
|
14386
|
-
class: "channels__popover-item",
|
14387
14397
|
key: b.channelId,
|
14398
|
+
class: "channels__popover-item",
|
14388
14399
|
onClick: (m) => o(b)
|
14389
|
-
},
|
14400
|
+
}, N(b.title), 9, q1))), 128))
|
14390
14401
|
])
|
14391
14402
|
])
|
14392
|
-
])) :
|
14403
|
+
])) : y("", !0)
|
14393
14404
|
]),
|
14394
14405
|
_: 1
|
14395
14406
|
})
|
14396
14407
|
])
|
14397
14408
|
], 512));
|
14398
14409
|
}
|
14399
|
-
},
|
14410
|
+
}, J1 = /* @__PURE__ */ x(F1, [["__scopeId", "data-v-8b12bed4"]]), W1 = { class: "chat-input" }, K1 = { class: "chat-input__container" }, Z1 = {
|
14400
14411
|
__name: "ChatInput2",
|
14401
14412
|
props: /* @__PURE__ */ Ee({
|
14402
14413
|
enableEmoji: {
|
@@ -14419,56 +14430,56 @@ const V1 = { class: "channels__container" }, E1 = { class: "channels__title-cont
|
|
14419
14430
|
}),
|
14420
14431
|
emits: /* @__PURE__ */ Ee(["send"], ["update:modelValue"]),
|
14421
14432
|
setup(f, { emit: e }) {
|
14422
|
-
const A = e,
|
14423
|
-
console.log("fileUploaded", b),
|
14433
|
+
const A = e, a = DA(f, "modelValue"), n = v(null), s = v(null), t = V(() => !s.value || s.value === ""), i = v(!1), o = (b) => {
|
14434
|
+
console.log("fileUploaded", b), s.value = b;
|
14424
14435
|
}, r = () => {
|
14425
|
-
|
14436
|
+
i.value = !1;
|
14426
14437
|
const b = {
|
14427
14438
|
type: null,
|
14428
14439
|
text: null
|
14429
14440
|
};
|
14430
|
-
|
14431
|
-
},
|
14432
|
-
|
14433
|
-
},
|
14441
|
+
s.value ? (b.type = "message.file", b.text = s.value) : (b.type = "message.text", b.text = a.value.trim()), A("send", b), s.value = !1, a.value = "", df(n).focus();
|
14442
|
+
}, d = () => {
|
14443
|
+
i.value = !i.value;
|
14444
|
+
}, c = V(() => {
|
14434
14445
|
if (document.documentElement.classList.contains("dark"))
|
14435
14446
|
return "dark";
|
14436
14447
|
}), M = (b) => {
|
14437
|
-
|
14448
|
+
a.value = (a.value ? a.value : "") + b.i;
|
14438
14449
|
};
|
14439
|
-
return (b, m) => (l(), g("div",
|
14440
|
-
u("div",
|
14450
|
+
return (b, m) => (l(), g("div", W1, [
|
14451
|
+
u("div", K1, [
|
14441
14452
|
z(X, null, {
|
14442
|
-
default:
|
14443
|
-
|
14453
|
+
default: ff(() => [
|
14454
|
+
i.value ? (l(), L(df(S1), {
|
14444
14455
|
key: 0,
|
14445
14456
|
class: "chat-input__emoji",
|
14446
14457
|
native: !0,
|
14447
|
-
theme:
|
14448
|
-
|
14449
|
-
|
14450
|
-
}, null, 8, ["theme"])) :
|
14458
|
+
theme: c.value,
|
14459
|
+
"picker-type": "",
|
14460
|
+
onSelect: M
|
14461
|
+
}, null, 8, ["theme"])) : y("", !0)
|
14451
14462
|
]),
|
14452
14463
|
_: 1
|
14453
14464
|
}),
|
14454
|
-
z(df(
|
14455
|
-
|
14456
|
-
|
14457
|
-
}, null, 8, ["
|
14465
|
+
z(df(Ws), {
|
14466
|
+
"can-upload-file": t.value,
|
14467
|
+
onFileUploaded: o
|
14468
|
+
}, null, 8, ["can-upload-file"]),
|
14458
14469
|
P(u("input", {
|
14459
|
-
class: "chat-input__input",
|
14460
|
-
"onUpdate:modelValue": m[0] || (m[0] = (h) => n.value = h),
|
14461
14470
|
ref_key: "refInput",
|
14462
|
-
ref:
|
14463
|
-
|
14464
|
-
|
14471
|
+
ref: n,
|
14472
|
+
"onUpdate:modelValue": m[0] || (m[0] = (h) => a.value = h),
|
14473
|
+
class: "chat-input__input",
|
14474
|
+
placeholder: "Type a message...",
|
14475
|
+
onKeydown: Fe(r, ["enter"])
|
14465
14476
|
}, null, 544), [
|
14466
|
-
[Pf,
|
14477
|
+
[Pf, a.value]
|
14467
14478
|
]),
|
14468
|
-
z(
|
14479
|
+
z(J1, { channels: f.channels }, null, 8, ["channels"]),
|
14469
14480
|
u("button", {
|
14470
14481
|
class: "chat-input__button-emoji",
|
14471
|
-
onClick:
|
14482
|
+
onClick: d
|
14472
14483
|
}, m[1] || (m[1] = [
|
14473
14484
|
u("span", { class: "pi pi-face-smile" }, null, -1)
|
14474
14485
|
])),
|
@@ -14481,7 +14492,7 @@ const V1 = { class: "channels__container" }, E1 = { class: "channels__title-cont
|
|
14481
14492
|
])
|
14482
14493
|
]));
|
14483
14494
|
}
|
14484
|
-
},
|
14495
|
+
}, Xs = /* @__PURE__ */ x(Z1, [["__scopeId", "data-v-a20b9245"]]), P1 = { class: "chat-list" }, H1 = {
|
14485
14496
|
__name: "ChatList",
|
14486
14497
|
props: {
|
14487
14498
|
chats: {
|
@@ -14491,43 +14502,43 @@ const V1 = { class: "channels__container" }, E1 = { class: "channels__title-cont
|
|
14491
14502
|
},
|
14492
14503
|
emits: ["select"],
|
14493
14504
|
setup(f, { emit: e }) {
|
14494
|
-
const A = f,
|
14495
|
-
|
14496
|
-
},
|
14497
|
-
if (t.countUnread >
|
14498
|
-
if (t.countUnread <
|
14499
|
-
if (t.countUnread ==
|
14505
|
+
const A = f, a = e, n = (t) => {
|
14506
|
+
a("select", t);
|
14507
|
+
}, s = () => A.chats.sort((t, i) => {
|
14508
|
+
if (t.countUnread > i.countUnread) return -1;
|
14509
|
+
if (t.countUnread < i.countUnread) return 1;
|
14510
|
+
if (t.countUnread == i.countUnread) return 0;
|
14500
14511
|
});
|
14501
|
-
return (t,
|
14502
|
-
(l(!0), g(q, null, F(
|
14512
|
+
return (t, i) => (l(), g("div", P1, [
|
14513
|
+
(l(!0), g(q, null, F(s(), (o) => (l(), L(EA, {
|
14503
14514
|
key: o.chatId,
|
14504
14515
|
chat: o,
|
14505
|
-
onSelect:
|
14516
|
+
onSelect: n
|
14506
14517
|
}, null, 8, ["chat"]))), 128))
|
14507
14518
|
]));
|
14508
14519
|
}
|
14509
|
-
},
|
14520
|
+
}, fi = /* @__PURE__ */ x(H1, [["__scopeId", "data-v-fafd9097"]]), G1 = { class: "chat-filter" }, $1 = { class: "chat-filter__container" }, X1 = {
|
14510
14521
|
__name: "ChatFilter",
|
14511
14522
|
emits: ["update"],
|
14512
14523
|
setup(f, { emit: e }) {
|
14513
|
-
const A =
|
14514
|
-
const
|
14515
|
-
|
14524
|
+
const A = v(""), a = e, n = () => {
|
14525
|
+
const s = df(A);
|
14526
|
+
a("update", s.value);
|
14516
14527
|
};
|
14517
|
-
return (
|
14518
|
-
u("div",
|
14528
|
+
return (s, t) => (l(), g("div", G1, [
|
14529
|
+
u("div", $1, [
|
14519
14530
|
u("input", {
|
14520
|
-
class: "chat-filter__input",
|
14521
|
-
type: "text",
|
14522
14531
|
ref_key: "refInput",
|
14523
14532
|
ref: A,
|
14524
|
-
|
14525
|
-
|
14533
|
+
class: "chat-filter__input",
|
14534
|
+
type: "text",
|
14535
|
+
placeholder: "Поиск...",
|
14536
|
+
onInput: n
|
14526
14537
|
}, null, 544)
|
14527
14538
|
])
|
14528
14539
|
]));
|
14529
14540
|
}
|
14530
|
-
},
|
14541
|
+
}, fs = /* @__PURE__ */ x(X1, [["__scopeId", "data-v-0b9db0cf"]]), es = { class: "chat-list" }, As = { class: "chat-list__container" }, as = { class: "chat-list__items" }, ns = { class: "chat-list__fixed-items-top" }, ts = { class: "chat-list__scrollable-items" }, ss = { class: "chat-list__fixed-items-bottom" }, is = {
|
14531
14542
|
__name: "ChatList2",
|
14532
14543
|
props: {
|
14533
14544
|
chats: {
|
@@ -14541,50 +14552,50 @@ const V1 = { class: "channels__container" }, E1 = { class: "channels__title-cont
|
|
14541
14552
|
},
|
14542
14553
|
emits: ["select", "action"],
|
14543
14554
|
setup(f, { emit: e }) {
|
14544
|
-
const A =
|
14545
|
-
|
14546
|
-
const
|
14547
|
-
|
14548
|
-
}, t = () =>
|
14549
|
-
if (r.countUnread >
|
14550
|
-
if (r.countUnread <
|
14551
|
-
if (r.countUnread ==
|
14552
|
-
}).filter((r) => r.name.includes(A.value)),
|
14555
|
+
const A = v(""), a = f, n = e, s = (r) => {
|
14556
|
+
n("select", r), a.chats.forEach((c) => c.isSelected = !1);
|
14557
|
+
const d = a.chats.find((c) => c.chatId === r.chatId);
|
14558
|
+
d.isSelected = !0;
|
14559
|
+
}, t = () => a.chats.sort((r, d) => {
|
14560
|
+
if (r.countUnread > d.countUnread) return -1;
|
14561
|
+
if (r.countUnread < d.countUnread) return 1;
|
14562
|
+
if (r.countUnread == d.countUnread) return 0;
|
14563
|
+
}).filter((r) => r.name.includes(A.value)), i = (r) => {
|
14553
14564
|
A.value = r;
|
14554
|
-
}, o = (r) =>
|
14555
|
-
return (r,
|
14556
|
-
u("div",
|
14557
|
-
|
14558
|
-
f.filterEnabled ? (l(), L(
|
14565
|
+
}, o = (r) => n("action", r);
|
14566
|
+
return (r, d) => (l(), g("div", es, [
|
14567
|
+
u("div", As, [
|
14568
|
+
d[0] || (d[0] = u("h2", { class: "chat-list__title" }, " Чаты ", -1)),
|
14569
|
+
f.filterEnabled ? (l(), L(fs, {
|
14559
14570
|
key: 0,
|
14560
14571
|
class: "chat-list__filter",
|
14561
|
-
onUpdate:
|
14562
|
-
})) :
|
14563
|
-
u("div",
|
14564
|
-
u("div",
|
14565
|
-
(l(!0), g(q, null, F(t().filter((
|
14572
|
+
onUpdate: i
|
14573
|
+
})) : y("", !0),
|
14574
|
+
u("div", as, [
|
14575
|
+
u("div", ns, [
|
14576
|
+
(l(!0), g(q, null, F(t().filter((c) => c.isFixedTop), (c) => (l(), L(ne, {
|
14577
|
+
key: c.chatId,
|
14566
14578
|
class: "chat-list__item",
|
14567
|
-
|
14568
|
-
|
14569
|
-
onSelect: i,
|
14579
|
+
chat: c,
|
14580
|
+
onSelect: s,
|
14570
14581
|
onAction: o
|
14571
14582
|
}, null, 8, ["chat"]))), 128))
|
14572
14583
|
]),
|
14573
|
-
u("div",
|
14574
|
-
(l(!0), g(q, null, F(t().filter((
|
14584
|
+
u("div", ts, [
|
14585
|
+
(l(!0), g(q, null, F(t().filter((c) => !c.isFixedBottom && !c.isFixedTop), (c) => (l(), L(ne, {
|
14586
|
+
key: c.chatId,
|
14575
14587
|
class: "chat-list__item",
|
14576
|
-
|
14577
|
-
|
14578
|
-
onSelect: i,
|
14588
|
+
chat: c,
|
14589
|
+
onSelect: s,
|
14579
14590
|
onAction: o
|
14580
14591
|
}, null, 8, ["chat"]))), 128))
|
14581
14592
|
]),
|
14582
|
-
u("div",
|
14583
|
-
(l(!0), g(q, null, F(t().filter((
|
14593
|
+
u("div", ss, [
|
14594
|
+
(l(!0), g(q, null, F(t().filter((c) => c.isFixedBottom), (c) => (l(), L(ne, {
|
14595
|
+
key: c.chatId,
|
14584
14596
|
class: "chat-list__item",
|
14585
|
-
|
14586
|
-
|
14587
|
-
onSelect: i,
|
14597
|
+
chat: c,
|
14598
|
+
onSelect: s,
|
14588
14599
|
onAction: o
|
14589
14600
|
}, null, 8, ["chat"]))), 128))
|
14590
14601
|
])
|
@@ -14592,10 +14603,10 @@ const V1 = { class: "channels__container" }, E1 = { class: "channels__title-cont
|
|
14592
14603
|
])
|
14593
14604
|
]));
|
14594
14605
|
}
|
14595
|
-
},
|
14606
|
+
}, ei = /* @__PURE__ */ x(is, [["__scopeId", "data-v-afc996fd"]]), os = ["messageId"], us = ["src"], rs = ["src"], ls = { class: "video-message__controls" }, cs = { class: "video-message__remaining-time" }, ds = { class: "video-message__time" }, gs = {
|
14596
14607
|
key: 0,
|
14597
14608
|
class: "pi pi-check"
|
14598
|
-
},
|
14609
|
+
}, ms = {
|
14599
14610
|
__name: "VideoMessage",
|
14600
14611
|
props: {
|
14601
14612
|
message: {
|
@@ -14608,23 +14619,23 @@ const V1 = { class: "channels__container" }, E1 = { class: "channels__title-cont
|
|
14608
14619
|
function A(h) {
|
14609
14620
|
return h.position === "left" ? "video-message__left" : "video-message__right";
|
14610
14621
|
}
|
14611
|
-
const
|
14622
|
+
const a = v(null), n = v(!1), s = v(0), t = v(0), i = v(!1), o = v(!1), r = () => {
|
14612
14623
|
o.value = !0;
|
14613
|
-
},
|
14614
|
-
o.value = !1,
|
14624
|
+
}, d = () => {
|
14625
|
+
o.value = !1, i.value = !1;
|
14615
14626
|
};
|
14616
|
-
function
|
14617
|
-
|
14627
|
+
function c() {
|
14628
|
+
a.value && (n.value ? a.value.pause() : a.value.play(), n.value = !n.value);
|
14618
14629
|
}
|
14619
14630
|
const M = (h) => {
|
14620
14631
|
const p = Math.floor(h / 60), I = Math.floor(h % 60);
|
14621
14632
|
return `${p.toString().padStart(2, "0")}:${I.toString().padStart(2, "0")}`;
|
14622
14633
|
}, b = V(() => {
|
14623
|
-
if (
|
14624
|
-
if (t.value >=
|
14625
|
-
return
|
14634
|
+
if (a.value) {
|
14635
|
+
if (t.value >= s.value)
|
14636
|
+
return n.value = !1, "00:00";
|
14626
14637
|
{
|
14627
|
-
const h =
|
14638
|
+
const h = s.value - t.value;
|
14628
14639
|
return M(h);
|
14629
14640
|
}
|
14630
14641
|
}
|
@@ -14637,99 +14648,104 @@ const V1 = { class: "channels__container" }, E1 = { class: "channels__title-cont
|
|
14637
14648
|
}
|
14638
14649
|
});
|
14639
14650
|
return Zf(() => {
|
14640
|
-
|
14641
|
-
|
14642
|
-
}),
|
14643
|
-
t.value =
|
14651
|
+
a.value.addEventListener("loadedmetadata", () => {
|
14652
|
+
s.value = a.value.duration;
|
14653
|
+
}), a.value.addEventListener("timeupdate", () => {
|
14654
|
+
t.value = a.value.currentTime;
|
14644
14655
|
});
|
14645
14656
|
}), (h, p) => (l(), g("div", {
|
14646
|
-
class:
|
14657
|
+
class: T(["video-message", A(f.message)]),
|
14647
14658
|
messageId: f.message.messageId,
|
14648
|
-
onMouseleave:
|
14659
|
+
onMouseleave: d
|
14649
14660
|
}, [
|
14650
|
-
|
14651
|
-
|
14652
|
-
|
14661
|
+
f.message.avatar ? (l(), g("img", {
|
14662
|
+
key: 0,
|
14663
|
+
class: "video-message__avatar",
|
14664
|
+
src: f.message.avatar,
|
14665
|
+
height: "32",
|
14666
|
+
width: "32",
|
14667
|
+
style: G({ gridRow: f.message.subText ? "2" : "1" })
|
14668
|
+
}, null, 12, us)) : y("", !0),
|
14653
14669
|
u("div", {
|
14654
14670
|
class: "video-message__content",
|
14655
14671
|
onMouseenter: r
|
14656
14672
|
}, [
|
14657
14673
|
u("video", {
|
14658
14674
|
ref_key: "player",
|
14659
|
-
ref:
|
14675
|
+
ref: a,
|
14660
14676
|
class: "video-message__video",
|
14661
14677
|
src: f.message.url
|
14662
|
-
}, null, 8,
|
14663
|
-
u("div",
|
14678
|
+
}, null, 8, rs),
|
14679
|
+
u("div", ls, [
|
14664
14680
|
z(X, null, {
|
14665
|
-
default:
|
14681
|
+
default: ff(() => [
|
14666
14682
|
P(u("button", {
|
14667
14683
|
class: "video-message__play",
|
14668
|
-
onClick:
|
14684
|
+
onClick: c
|
14669
14685
|
}, p[1] || (p[1] = [
|
14670
14686
|
u("span", { class: "pi pi-play" }, null, -1)
|
14671
14687
|
]), 512), [
|
14672
|
-
[gf, !
|
14688
|
+
[gf, !n.value]
|
14673
14689
|
])
|
14674
14690
|
]),
|
14675
14691
|
_: 1
|
14676
14692
|
}),
|
14677
14693
|
P(u("button", {
|
14678
14694
|
class: "video-message__pause",
|
14679
|
-
onClick:
|
14695
|
+
onClick: c
|
14680
14696
|
}, null, 512), [
|
14681
|
-
[gf,
|
14697
|
+
[gf, n.value]
|
14682
14698
|
])
|
14683
14699
|
]),
|
14684
14700
|
o.value && f.message.actions ? (l(), g("button", {
|
14685
14701
|
key: 0,
|
14686
14702
|
class: "video-message__menu-button",
|
14687
|
-
onClick: p[0] || (p[0] = (I) =>
|
14703
|
+
onClick: p[0] || (p[0] = (I) => i.value = !i.value)
|
14688
14704
|
}, p[2] || (p[2] = [
|
14689
14705
|
u("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
14690
|
-
]))) :
|
14706
|
+
]))) : y("", !0),
|
14691
14707
|
z(X, null, {
|
14692
|
-
default:
|
14693
|
-
|
14708
|
+
default: ff(() => [
|
14709
|
+
i.value && f.message.actions ? (l(), L(vf, {
|
14694
14710
|
key: 0,
|
14695
14711
|
class: "video-message__context-menu",
|
14696
14712
|
actions: f.message.actions,
|
14697
14713
|
onClick: h.clickAction
|
14698
|
-
}, null, 8, ["actions", "onClick"])) :
|
14714
|
+
}, null, 8, ["actions", "onClick"])) : y("", !0)
|
14699
14715
|
]),
|
14700
14716
|
_: 1
|
14701
14717
|
}),
|
14702
|
-
u("p",
|
14703
|
-
u("span",
|
14718
|
+
u("p", cs, N(`${b.value}`), 1),
|
14719
|
+
u("span", ds, N(f.message.time), 1),
|
14704
14720
|
A(f.message) === "video-message__right" && f.message.status ? (l(), g("div", {
|
14705
14721
|
key: 1,
|
14706
|
-
class:
|
14722
|
+
class: T(["video-message__status", m.value])
|
14707
14723
|
}, [
|
14708
|
-
f.message.status !== "sent" ? (l(), g("span",
|
14724
|
+
f.message.status !== "sent" ? (l(), g("span", gs)) : y("", !0),
|
14709
14725
|
p[3] || (p[3] = u("span", { class: "pi pi-check" }, null, -1))
|
14710
|
-
], 2)) :
|
14726
|
+
], 2)) : y("", !0)
|
14711
14727
|
], 32)
|
14712
|
-
], 42,
|
14728
|
+
], 42, os));
|
14713
14729
|
}
|
14714
|
-
},
|
14715
|
-
key:
|
14730
|
+
}, Ms = /* @__PURE__ */ x(ms, [["__scopeId", "data-v-74ace8dd"]]), ps = { class: "call-message" }, hs = ["messageId"], bs = ["src"], ys = {
|
14731
|
+
key: 1,
|
14716
14732
|
class: "call-message__subtext"
|
14717
|
-
},
|
14733
|
+
}, vs = {
|
14718
14734
|
key: 0,
|
14719
14735
|
class: "call-message__title"
|
14720
|
-
},
|
14736
|
+
}, Is = {
|
14721
14737
|
key: 1,
|
14722
14738
|
class: "call-message__title"
|
14723
|
-
},
|
14739
|
+
}, Ns = {
|
14724
14740
|
key: 2,
|
14725
14741
|
class: "call-message__duration"
|
14726
|
-
},
|
14742
|
+
}, ws = {
|
14727
14743
|
key: 3,
|
14728
14744
|
class: "call-message__duration"
|
14729
|
-
},
|
14745
|
+
}, Ds = {
|
14730
14746
|
key: 4,
|
14731
14747
|
class: "call-message__duration"
|
14732
|
-
},
|
14748
|
+
}, _s = { class: "call-message__info-container" }, ks = { class: "call-message__time" }, js = {
|
14733
14749
|
__name: "CallMessage",
|
14734
14750
|
props: {
|
14735
14751
|
message: {
|
@@ -14741,36 +14757,38 @@ const V1 = { class: "channels__container" }, E1 = { class: "channels__title-cont
|
|
14741
14757
|
function e(A) {
|
14742
14758
|
return A.position === "left" ? "call-message__left" : "call-message__right";
|
14743
14759
|
}
|
14744
|
-
return (A,
|
14760
|
+
return (A, a) => (l(), g("div", ps, [
|
14745
14761
|
u("div", {
|
14746
|
-
class:
|
14762
|
+
class: T(e(f.message)),
|
14747
14763
|
messageId: f.message.messageId
|
14748
14764
|
}, [
|
14749
|
-
|
14750
|
-
|
14751
|
-
|
14752
|
-
|
14753
|
-
|
14754
|
-
|
14755
|
-
|
14765
|
+
f.message.avatar ? (l(), g("img", {
|
14766
|
+
key: 0,
|
14767
|
+
class: "call-message__avatar",
|
14768
|
+
src: f.message.avatar,
|
14769
|
+
height: "32",
|
14770
|
+
width: "32",
|
14771
|
+
style: G({ gridRow: f.message.subText ? "2" : "1" })
|
14772
|
+
}, null, 12, bs)) : y("", !0),
|
14773
|
+
f.message.subText ? (l(), g("p", ys, N(f.message.subText), 1)) : y("", !0),
|
14756
14774
|
u("div", {
|
14757
14775
|
class: "call-message__content",
|
14758
|
-
style:
|
14776
|
+
style: G({ paddingRight: f.message.isMissedCall ? "16px" : "78px" })
|
14759
14777
|
}, [
|
14760
14778
|
u("span", {
|
14761
14779
|
class: "call-message__icon pi pi-phone",
|
14762
|
-
style:
|
14780
|
+
style: G({ color: f.message.isMissedCall ? "var(--call-message-color-icon-error)" : "var(--neutral-100)" })
|
14763
14781
|
}, null, 4),
|
14764
|
-
f.message.isMissedCall ? (l(), g("span",
|
14765
|
-
f.message.callDuration ? (l(), g("span",
|
14766
|
-
u("div",
|
14767
|
-
u("span",
|
14782
|
+
f.message.isMissedCall ? (l(), g("span", Is, "Пропущенный аудиозвонок")) : (l(), g("span", vs, "Аудиозвонок")),
|
14783
|
+
f.message.callDuration ? (l(), g("span", Ns, N(f.message.callDuration), 1)) : !f.message.callDuration && f.message.isMissedCall ? (l(), g("span", ws, "Нажмите, чтобы перезвонить")) : (l(), g("span", Ds, "Нет ответа")),
|
14784
|
+
u("div", _s, [
|
14785
|
+
u("span", ks, N(f.message.time), 1)
|
14768
14786
|
])
|
14769
14787
|
], 4)
|
14770
|
-
], 10,
|
14788
|
+
], 10, hs)
|
14771
14789
|
]));
|
14772
14790
|
}
|
14773
|
-
},
|
14791
|
+
}, Vs = /* @__PURE__ */ x(js, [["__scopeId", "data-v-7cc4efee"]]), Es = { class: "message-feed__container" }, Ts = {
|
14774
14792
|
__name: "Feed",
|
14775
14793
|
props: {
|
14776
14794
|
objects: {
|
@@ -14779,36 +14797,36 @@ const V1 = { class: "channels__container" }, E1 = { class: "channels__title-cont
|
|
14779
14797
|
}
|
14780
14798
|
},
|
14781
14799
|
setup(f) {
|
14782
|
-
const e =
|
14783
|
-
"message.text":
|
14784
|
-
"message.image":
|
14785
|
-
"message.file":
|
14786
|
-
"message.audio":
|
14787
|
-
"message.video":
|
14788
|
-
"message.call":
|
14789
|
-
"system.date":
|
14790
|
-
})[
|
14791
|
-
function
|
14800
|
+
const e = v(null), A = f, a = (s) => ({
|
14801
|
+
"message.text": ga,
|
14802
|
+
"message.image": Ra,
|
14803
|
+
"message.file": ea,
|
14804
|
+
"message.audio": Da,
|
14805
|
+
"message.video": Ms,
|
14806
|
+
"message.call": Vs,
|
14807
|
+
"system.date": Ea
|
14808
|
+
})[s];
|
14809
|
+
function n() {
|
14792
14810
|
We(function() {
|
14793
|
-
const
|
14794
|
-
|
14811
|
+
const s = df(e);
|
14812
|
+
s.scrollTop = s.scrollHeight;
|
14795
14813
|
});
|
14796
14814
|
}
|
14797
|
-
return _A(() =>
|
14798
|
-
class: "message-feed",
|
14815
|
+
return _A(() => n), Gf(() => A.objects, n), (s, t) => (l(), g("div", {
|
14799
14816
|
ref_key: "refFeed",
|
14800
|
-
ref: e
|
14817
|
+
ref: e,
|
14818
|
+
class: "message-feed"
|
14801
14819
|
}, [
|
14802
|
-
u("div",
|
14803
|
-
(l(!0), g(q, null, F(f.objects, (
|
14820
|
+
u("div", Es, [
|
14821
|
+
(l(!0), g(q, null, F(f.objects, (i) => (l(), L(kA(a(i.type)), {
|
14822
|
+
key: i.messageId,
|
14804
14823
|
class: "message-feed__message",
|
14805
|
-
|
14806
|
-
message: s
|
14824
|
+
message: i
|
14807
14825
|
}, null, 8, ["message"]))), 128))
|
14808
14826
|
])
|
14809
14827
|
], 512));
|
14810
14828
|
}
|
14811
|
-
},
|
14829
|
+
}, Ai = /* @__PURE__ */ x(Ts, [["__scopeId", "data-v-9a873e6b"]]), xs = { class: "profile" }, Ss = { key: 0 }, zs = {
|
14812
14830
|
__name: "Profile",
|
14813
14831
|
props: {
|
14814
14832
|
user: {
|
@@ -14817,18 +14835,18 @@ const V1 = { class: "channels__container" }, E1 = { class: "channels__title-cont
|
|
14817
14835
|
}
|
14818
14836
|
},
|
14819
14837
|
setup(f) {
|
14820
|
-
return (e, A) => (l(), g("div",
|
14821
|
-
f.user ? (l(), g("div",
|
14822
|
-
u("h2", null,
|
14823
|
-
u("p", null,
|
14824
|
-
u("p", null,
|
14825
|
-
])) :
|
14838
|
+
return (e, A) => (l(), g("div", xs, [
|
14839
|
+
f.user ? (l(), g("div", Ss, [
|
14840
|
+
u("h2", null, N(f.user.name), 1),
|
14841
|
+
u("p", null, N(f.user.email), 1),
|
14842
|
+
u("p", null, N(f.user.phone), 1)
|
14843
|
+
])) : y("", !0)
|
14826
14844
|
]));
|
14827
14845
|
}
|
14828
|
-
},
|
14846
|
+
}, ai = /* @__PURE__ */ x(zs, [["__scopeId", "data-v-e1bf37ef"]]), Os = {
|
14829
14847
|
key: 0,
|
14830
14848
|
class: "new-chat-modal"
|
14831
|
-
},
|
14849
|
+
}, Cs = { class: "modal-content" }, Us = { class: "participant-list" }, Ls = ["id", "value"], Qs = ["for"], Bs = {
|
14832
14850
|
__name: "CreateNewChat",
|
14833
14851
|
props: {
|
14834
14852
|
users: {
|
@@ -14847,65 +14865,65 @@ const V1 = { class: "channels__container" }, E1 = { class: "channels__title-cont
|
|
14847
14865
|
},
|
14848
14866
|
emits: ["createNewChat"],
|
14849
14867
|
setup(f, { emit: e }) {
|
14850
|
-
const A = f,
|
14851
|
-
|
14868
|
+
const A = f, a = v(!1), n = v(""), s = v([]), t = v(A.users), i = e, o = () => {
|
14869
|
+
a.value = !0;
|
14852
14870
|
}, r = async () => {
|
14853
|
-
|
14854
|
-
chatName:
|
14855
|
-
users:
|
14856
|
-
}),
|
14857
|
-
}, c = () => {
|
14858
|
-
n.value = !1;
|
14871
|
+
s.value.length > 0 && (n.value && A.isChatName || !A.isChatName) && (i("createNewChat", {
|
14872
|
+
chatName: n.value,
|
14873
|
+
users: s.value
|
14874
|
+
}), d(), c());
|
14859
14875
|
}, d = () => {
|
14860
|
-
a.value =
|
14876
|
+
a.value = !1;
|
14877
|
+
}, c = () => {
|
14878
|
+
n.value = "", s.value = [];
|
14861
14879
|
}, M = () => {
|
14862
|
-
|
14880
|
+
d(), c();
|
14863
14881
|
};
|
14864
14882
|
return (b, m) => (l(), g("div", null, [
|
14865
|
-
|
14866
|
-
u("div",
|
14883
|
+
a.value ? (l(), g("div", Os, [
|
14884
|
+
u("div", Cs, [
|
14867
14885
|
m[2] || (m[2] = u("h2", null, "Создать чат", -1)),
|
14868
14886
|
f.isChatName ? P((l(), g("input", {
|
14869
14887
|
key: 0,
|
14870
|
-
"onUpdate:modelValue": m[0] || (m[0] = (h) =>
|
14888
|
+
"onUpdate:modelValue": m[0] || (m[0] = (h) => n.value = h),
|
14871
14889
|
placeholder: "название чата"
|
14872
14890
|
}, null, 512)), [
|
14873
|
-
[Pf,
|
14874
|
-
]) :
|
14875
|
-
u("div",
|
14891
|
+
[Pf, n.value]
|
14892
|
+
]) : y("", !0),
|
14893
|
+
u("div", Us, [
|
14876
14894
|
(l(!0), g(q, null, F(t.value, (h) => (l(), g("div", {
|
14877
14895
|
key: h.userId,
|
14878
14896
|
class: "participant-item"
|
14879
14897
|
}, [
|
14880
14898
|
P(u("input", {
|
14881
|
-
type: "checkbox",
|
14882
14899
|
id: h.userId,
|
14883
|
-
"onUpdate:modelValue": m[1] || (m[1] = (p) =>
|
14900
|
+
"onUpdate:modelValue": m[1] || (m[1] = (p) => s.value = p),
|
14901
|
+
type: "checkbox",
|
14884
14902
|
value: h.userId
|
14885
|
-
}, null, 8,
|
14886
|
-
[
|
14903
|
+
}, null, 8, Ls), [
|
14904
|
+
[jA, s.value]
|
14887
14905
|
]),
|
14888
14906
|
u("label", {
|
14889
14907
|
for: h.userId
|
14890
|
-
},
|
14908
|
+
}, N(h.name || "unknown username"), 9, Qs)
|
14891
14909
|
]))), 128))
|
14892
14910
|
]),
|
14893
14911
|
u("div", { class: "modal-actions" }, [
|
14894
|
-
u("button", { onClick: r }, "Создать"),
|
14895
|
-
u("button", { onClick: M }, "Отмена")
|
14912
|
+
u("button", { onClick: r }, " Создать "),
|
14913
|
+
u("button", { onClick: M }, " Отмена ")
|
14896
14914
|
])
|
14897
14915
|
])
|
14898
|
-
])) :
|
14916
|
+
])) : y("", !0),
|
14899
14917
|
u("button", {
|
14900
|
-
|
14901
|
-
|
14902
|
-
},
|
14918
|
+
class: "create-chat-btn",
|
14919
|
+
onClick: o
|
14920
|
+
}, N(f.title), 1)
|
14903
14921
|
]));
|
14904
14922
|
}
|
14905
|
-
},
|
14923
|
+
}, ni = /* @__PURE__ */ x(Bs, [["__scopeId", "data-v-c6988508"]]), Ys = {
|
14906
14924
|
key: 0,
|
14907
14925
|
class: "chat-input__button-file"
|
14908
|
-
},
|
14926
|
+
}, Rs = { key: 1 }, qs = { key: 2 }, Fs = { key: 3 }, Js = {
|
14909
14927
|
__name: "FileUploader",
|
14910
14928
|
props: {
|
14911
14929
|
canUploadFile: {
|
@@ -14916,17 +14934,17 @@ const V1 = { class: "channels__container" }, E1 = { class: "channels__title-cont
|
|
14916
14934
|
},
|
14917
14935
|
emits: ["fileUploaded"],
|
14918
14936
|
setup(f, { emit: e }) {
|
14919
|
-
const A = f,
|
14937
|
+
const A = f, a = v(null), n = v(""), s = v(""), t = v(""), i = v(!1), o = v(!1), r = v(!1), d = e;
|
14920
14938
|
Gf(() => A.canUploadFile, () => {
|
14921
14939
|
We(() => {
|
14922
|
-
A.canUploadFile === !0 && (
|
14940
|
+
A.canUploadFile === !0 && (n.value = null);
|
14923
14941
|
});
|
14924
14942
|
});
|
14925
|
-
const
|
14926
|
-
console.log("onFileSelected", m.target.files[0]),
|
14943
|
+
const c = (m) => {
|
14944
|
+
console.log("onFileSelected", m.target.files[0]), a.value = m.target.files[0], a.value && (M(), b(), r.value = !0);
|
14927
14945
|
}, M = () => {
|
14928
|
-
const m =
|
14929
|
-
if (console.log(h), h.startsWith("image/") ? (
|
14946
|
+
const m = a.value, h = m.type;
|
14947
|
+
if (console.log(h), h.startsWith("image/") ? (i.value = !0, o.value = !1) : h.startsWith("video/") ? (i.value = !1, o.value = !0) : (i.value = !1, o.value = !1), i.value || o.value) {
|
14930
14948
|
const p = new FileReader();
|
14931
14949
|
p.onload = (I) => {
|
14932
14950
|
t.value = I.target.result;
|
@@ -14934,77 +14952,77 @@ const V1 = { class: "channels__container" }, E1 = { class: "channels__title-cont
|
|
14934
14952
|
} else
|
14935
14953
|
t.value = "";
|
14936
14954
|
}, b = async () => {
|
14937
|
-
|
14955
|
+
n.value = "uploading";
|
14938
14956
|
const m = new FormData();
|
14939
|
-
m.append("file",
|
14957
|
+
m.append("file", a.value);
|
14940
14958
|
try {
|
14941
14959
|
const p = await (await fetch("https://filebump.services.mobilon.ru/upload", {
|
14942
14960
|
method: "POST",
|
14943
14961
|
body: m
|
14944
14962
|
})).json();
|
14945
|
-
|
14963
|
+
s.value = p.url, n.value = "success", A.canUploadFile = !1, d("fileUploaded", { url: s.value, type: "message.file" });
|
14946
14964
|
} catch (h) {
|
14947
|
-
console.error("Ошибка при загрузке файла:", h),
|
14965
|
+
console.error("Ошибка при загрузке файла:", h), n.value = "error";
|
14948
14966
|
}
|
14949
14967
|
};
|
14950
14968
|
return (m, h) => (l(), g("div", null, [
|
14951
|
-
f.canUploadFile &&
|
14969
|
+
f.canUploadFile && n.value !== "success" ? (l(), g("div", Ys, [
|
14952
14970
|
u("label", null, [
|
14953
14971
|
u("input", {
|
14954
14972
|
type: "file",
|
14955
|
-
onChange:
|
14973
|
+
onChange: c
|
14956
14974
|
}, null, 32),
|
14957
14975
|
h[0] || (h[0] = u("span", null, [
|
14958
14976
|
u("i", { class: "pi pi-file-arrow-up" })
|
14959
14977
|
], -1))
|
14960
14978
|
])
|
14961
|
-
])) :
|
14962
|
-
!f.canUploadFile &&
|
14979
|
+
])) : y("", !0),
|
14980
|
+
!f.canUploadFile && n.value === "success" ? (l(), g("div", Rs, h[1] || (h[1] = [
|
14963
14981
|
u("p", null, "Файл загружен и готов к отправке.", -1)
|
14964
|
-
]))) :
|
14982
|
+
]))) : n.value === "uploading" ? (l(), g("div", qs, h[2] || (h[2] = [
|
14965
14983
|
u("p", null, "Загрузка файла...", -1)
|
14966
|
-
]))) :
|
14984
|
+
]))) : n.value === "error" ? (l(), g("div", Fs, h[3] || (h[3] = [
|
14967
14985
|
u("p", null, "Ошибка при загрузке файла.", -1)
|
14968
|
-
]))) :
|
14986
|
+
]))) : y("", !0)
|
14969
14987
|
]));
|
14970
14988
|
}
|
14971
|
-
},
|
14989
|
+
}, Ws = /* @__PURE__ */ x(Js, [["__scopeId", "data-v-0b1a840d"]]), Ks = { class: "theme-button" }, Zs = {
|
14972
14990
|
__name: "ThemeMode",
|
14973
14991
|
setup(f) {
|
14974
|
-
const e =
|
14992
|
+
const e = v(!1), A = () => {
|
14975
14993
|
e.value = !e.value, document.documentElement.classList.toggle("dark");
|
14976
14994
|
};
|
14977
|
-
return (
|
14995
|
+
return (a, n) => (l(), g("label", Ks, [
|
14978
14996
|
u("input", {
|
14979
14997
|
type: "checkbox",
|
14980
14998
|
onClick: A
|
14981
14999
|
}),
|
14982
|
-
|
15000
|
+
n[0] || (n[0] = u("span", { class: "theme-button__switch" }, [
|
14983
15001
|
u("span", { class: "pi pi-sun" }),
|
14984
15002
|
u("span", { class: "pi pi-moon" })
|
14985
15003
|
], -1))
|
14986
15004
|
]));
|
14987
15005
|
}
|
14988
|
-
},
|
14989
|
-
function
|
14990
|
-
const e = +new Date(Number(f) * 1e3), A = +/* @__PURE__ */ new Date(),
|
14991
|
-
return t > 30 ? e.toLocaleString() : t > 0 ? `${t} ${t === 1 ? "день" : "дня"} назад` :
|
15006
|
+
}, ti = /* @__PURE__ */ x(Zs, [["__scopeId", "data-v-6835a531"]]);
|
15007
|
+
function si(f) {
|
15008
|
+
const e = +new Date(Number(f) * 1e3), A = +/* @__PURE__ */ new Date(), a = Math.floor((A - e) / 1e3), n = Math.floor(a / 60), s = Math.floor(n / 60), t = Math.floor(s / 24);
|
15009
|
+
return t > 30 ? e.toLocaleString() : t > 0 ? `${t} ${t === 1 ? "день" : "дня"} назад` : s > 0 ? `${s} ${s === 1 ? "час" : "часа"} назад` : n > 0 ? `${n} ${n === 1 ? "минута" : "минуты"} назад` : a > 0 ? `${a} ${a === 1 ? "секунда" : "секунды"} назад` : "Только что";
|
14992
15010
|
}
|
14993
|
-
const
|
15011
|
+
const ii = (f) => {
|
14994
15012
|
const e = [];
|
14995
15013
|
let A = null;
|
14996
|
-
for (let
|
14997
|
-
const
|
14998
|
-
console.log("message",
|
15014
|
+
for (let a = 0; a < f.length; a++) {
|
15015
|
+
const n = f[a], s = new Date(n.timestamp * 1e3).toLocaleDateString();
|
15016
|
+
console.log("message", n, s), s !== A && (e.push({
|
14999
15017
|
isSeparator: !0,
|
15000
|
-
day:
|
15018
|
+
day: s,
|
15001
15019
|
// Можно использовать локальную дату, если необходимо
|
15002
|
-
text:
|
15020
|
+
text: s,
|
15003
15021
|
type: "system.date"
|
15004
|
-
}), A =
|
15022
|
+
}), A = s), e.push(n);
|
15005
15023
|
}
|
15006
15024
|
return e;
|
15007
|
-
},
|
15025
|
+
}, oi = async () => {
|
15008
15026
|
try {
|
15009
15027
|
if (await navigator.mediaDevices.getUserMedia({ audio: !0 })) {
|
15010
15028
|
const e = new Audio();
|
@@ -15013,28 +15031,28 @@ const fs = (f) => {
|
|
15013
15031
|
} catch {
|
15014
15032
|
console.log("no audio permissions");
|
15015
15033
|
}
|
15016
|
-
},
|
15034
|
+
}, ui = (f) => f.sort((e, A) => Number(e.timestamp) < Number(A.timestamp) ? -1 : Number(e.timestamp) > Number(A.timestamp) ? 1 : 0);
|
15017
15035
|
export {
|
15018
|
-
|
15036
|
+
Da as AudioMessage,
|
15019
15037
|
EA as Chat,
|
15020
|
-
|
15021
|
-
|
15022
|
-
|
15023
|
-
|
15024
|
-
|
15025
|
-
|
15026
|
-
|
15027
|
-
|
15028
|
-
|
15029
|
-
|
15030
|
-
|
15031
|
-
|
15032
|
-
|
15033
|
-
|
15034
|
-
|
15035
|
-
|
15036
|
-
|
15037
|
-
|
15038
|
-
|
15039
|
-
|
15038
|
+
ne as Chat2,
|
15039
|
+
Gs as ChatInfo,
|
15040
|
+
$s as ChatInput,
|
15041
|
+
Xs as ChatInput2,
|
15042
|
+
fi as ChatList,
|
15043
|
+
ei as ChatList2,
|
15044
|
+
ni as CreateNewChat,
|
15045
|
+
Ea as DateMessage,
|
15046
|
+
Ai as Feed,
|
15047
|
+
ea as FileMessage,
|
15048
|
+
Ws as FileUploader,
|
15049
|
+
Hs as ImageMessage,
|
15050
|
+
Ra as ImageMessage2,
|
15051
|
+
ai as Profile,
|
15052
|
+
ga as TextMessage,
|
15053
|
+
ti as ThemeMode,
|
15054
|
+
si as formatTimestamp,
|
15055
|
+
ii as insertDaySeparators,
|
15056
|
+
oi as playNotificationAudio,
|
15057
|
+
ui as sortByTimestamp
|
15040
15058
|
};
|