@mobilon-dev/chotto 0.0.39 → 0.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
|
|
1
|
-
import { openBlock as u, createElementBlock as c, createElementVNode as o, Fragment as B, renderList as Y, normalizeClass as D, createCommentVNode as y, toDisplayString as w, ref as b, computed as T, normalizeStyle as z, createTextVNode as
|
1
|
+
import { openBlock as u, createElementBlock as c, createElementVNode as o, Fragment as B, renderList as Y, normalizeClass as D, createCommentVNode as y, toDisplayString as w, ref as b, computed as T, normalizeStyle as z, createTextVNode as In, unref as q, createVNode as S, Transition as H, withCtx as K, createBlock as Q, Teleport as wn, onMounted as Ie, withDirectives as te, vShow as pe, renderSlot as J, defineComponent as de, inject as Ge, getCurrentInstance as kn, toRaw as Pf, watch as we, onBeforeUnmount as Nn, provide as Dn, reactive as jn, readonly as Vn, vModelText as Zf, resolveComponent as Je, onUnmounted as En, mergeModels as zf, useModel as Tn, withKeys as xn, onUpdated as Sn, resolveDynamicComponent as zn, nextTick as lf, toRef as On, vModelCheckbox as Cn, h as Of, defineAsyncComponent as Un, createApp as Ln } from "vue";
|
2
2
|
const j = (e, f) => {
|
3
3
|
const n = e.__vccOpts || e;
|
4
4
|
for (const [a, t] of f)
|
@@ -41,13 +41,13 @@ const j = (e, f) => {
|
|
41
41
|
])
|
42
42
|
]));
|
43
43
|
}
|
44
|
-
},
|
45
|
-
function
|
44
|
+
}, ge = /* @__PURE__ */ j(Fn, [["__scopeId", "data-v-54c29e54"]]);
|
45
|
+
function W1(e) {
|
46
46
|
if (!e || e === "") return;
|
47
47
|
const f = +new Date(Number(e) * 1e3), n = +/* @__PURE__ */ new Date(), a = Math.floor((n - f) / 1e3), t = Math.floor(a / 60), s = Math.floor(t / 60), A = Math.floor(s / 24);
|
48
48
|
return A > 30 ? f.toLocaleString() : A > 0 ? `${A} ${A === 1 ? "день" : "дня"} назад` : s > 0 ? `${s} ${s === 1 ? "час" : "часа"} назад` : t > 0 ? `${t} ${t === 1 ? "минута" : "минуты"} назад` : a > 0 ? `${a} ${a === 1 ? "секунда" : "секунды"} назад` : "Только что";
|
49
49
|
}
|
50
|
-
const
|
50
|
+
const J1 = (e) => {
|
51
51
|
const f = [];
|
52
52
|
let n = null;
|
53
53
|
for (let a = 0; a < e.length; a++) {
|
@@ -61,7 +61,7 @@ const H1 = (e) => {
|
|
61
61
|
}), n = s), f.push(t);
|
62
62
|
}
|
63
63
|
return f;
|
64
|
-
},
|
64
|
+
}, H1 = async () => {
|
65
65
|
try {
|
66
66
|
if (await navigator.mediaDevices.getUserMedia({ audio: !0 })) {
|
67
67
|
const f = new Audio();
|
@@ -70,10 +70,10 @@ const H1 = (e) => {
|
|
70
70
|
} catch {
|
71
71
|
console.log("no audio permissions");
|
72
72
|
}
|
73
|
-
},
|
73
|
+
}, K1 = (e) => e.sort((f, n) => Number(f.timestamp) < Number(n.timestamp) ? -1 : Number(f.timestamp) > Number(n.timestamp) ? 1 : 0), Cf = (e) => {
|
74
74
|
let f = "file";
|
75
75
|
return e.startsWith("image/") ? f = "image" : e.startsWith("video/") ? f = "video" : e.startsWith("audio/") && (f = "audio"), f;
|
76
|
-
},
|
76
|
+
}, ke = ["read", "received", "send"], Ne = (e) => {
|
77
77
|
switch (console.log(e), e) {
|
78
78
|
case "read":
|
79
79
|
return "status--read";
|
@@ -101,7 +101,7 @@ const H1 = (e) => {
|
|
101
101
|
a.value = !0;
|
102
102
|
}, s = () => {
|
103
103
|
a.value = !1, n.value = !1;
|
104
|
-
}, A = T(() =>
|
104
|
+
}, A = T(() => Ne(f.message.status));
|
105
105
|
function i(l) {
|
106
106
|
return l.position === "left" ? "file-message__left" : "file-message__right";
|
107
107
|
}
|
@@ -130,11 +130,11 @@ const H1 = (e) => {
|
|
130
130
|
target: "_blank"
|
131
131
|
}, [
|
132
132
|
r[1] || (r[1] = o("span", { class: "pi pi-file" }, null, -1)),
|
133
|
-
|
133
|
+
In(" " + w(e.message.filename), 1)
|
134
134
|
], 8, Hn),
|
135
135
|
o("div", Kn, [
|
136
136
|
o("span", Pn, w(e.message.time), 1),
|
137
|
-
i(e.message) === "file-message__right" && q(
|
137
|
+
i(e.message) === "file-message__right" && q(ke).includes(e.message.status) ? (u(), c("div", {
|
138
138
|
key: 0,
|
139
139
|
class: D(["file-message__status", A.value])
|
140
140
|
}, [
|
@@ -154,7 +154,7 @@ const H1 = (e) => {
|
|
154
154
|
], -1)),
|
155
155
|
S(H, null, {
|
156
156
|
default: K(() => [
|
157
|
-
n.value && e.message.actions ? (u(), Q(
|
157
|
+
n.value && e.message.actions ? (u(), Q(ge, {
|
158
158
|
key: 0,
|
159
159
|
class: "file-message__context-menu",
|
160
160
|
actions: e.message.actions,
|
@@ -191,7 +191,7 @@ const H1 = (e) => {
|
|
191
191
|
t.value = !0;
|
192
192
|
}, A = () => {
|
193
193
|
t.value = !1, a.value = !1;
|
194
|
-
}, i = T(() =>
|
194
|
+
}, i = T(() => Ne(f.message.status));
|
195
195
|
function l(r) {
|
196
196
|
return r.position === "left" ? "image-message__left" : "image-message__right";
|
197
197
|
}
|
@@ -228,7 +228,7 @@ const H1 = (e) => {
|
|
228
228
|
o("p", null, w(e.message.views), 1)
|
229
229
|
])) : y("", !0),
|
230
230
|
o("span", sa, w(e.message.time), 1),
|
231
|
-
l(e.message) === "image-message__right" && q(
|
231
|
+
l(e.message) === "image-message__right" && q(ke).includes(e.message.status) ? (u(), c("div", {
|
232
232
|
key: 1,
|
233
233
|
class: D(["image-message__status", i.value])
|
234
234
|
}, [
|
@@ -240,7 +240,7 @@ const H1 = (e) => {
|
|
240
240
|
o("span", { class: "pi pi-download" })
|
241
241
|
], -1))
|
242
242
|
]),
|
243
|
-
(u(), Q(
|
243
|
+
(u(), Q(wn, { to: "body" }, [
|
244
244
|
S(H, { name: "modal-fade" }, {
|
245
245
|
default: K(() => [
|
246
246
|
n.value ? (u(), c("div", oa, [
|
@@ -273,7 +273,7 @@ const H1 = (e) => {
|
|
273
273
|
]))) : y("", !0),
|
274
274
|
S(H, { name: "context-menu" }, {
|
275
275
|
default: K(() => [
|
276
|
-
a.value && e.message.actions ? (u(), Q(
|
276
|
+
a.value && e.message.actions ? (u(), Q(ge, {
|
277
277
|
key: 0,
|
278
278
|
class: "image-message__context-menu",
|
279
279
|
actions: e.message.actions,
|
@@ -308,7 +308,7 @@ const H1 = (e) => {
|
|
308
308
|
s.value = !0;
|
309
309
|
}, i = () => {
|
310
310
|
s.value = !1, t.value = !1;
|
311
|
-
}, l = T(() =>
|
311
|
+
}, l = T(() => Ne(n.message.status)), r = (m) => {
|
312
312
|
i(), a("action", { messageId: n.message.messageId, type: "menu", ...m });
|
313
313
|
}, g = () => {
|
314
314
|
i(), a("action", { messageId: n.message.messageId, type: "views" });
|
@@ -346,7 +346,7 @@ const H1 = (e) => {
|
|
346
346
|
o("p", null, w(e.message.views), 1)
|
347
347
|
])) : y("", !0),
|
348
348
|
e.message.time ? (u(), c("span", ya, w(e.message.time), 1)) : y("", !0),
|
349
|
-
d(e.message) === "text-message__right" && q(
|
349
|
+
d(e.message) === "text-message__right" && q(ke).includes(e.message.status) ? (u(), c("div", {
|
350
350
|
key: 2,
|
351
351
|
class: D(["text-message__status", l.value])
|
352
352
|
}, [
|
@@ -363,7 +363,7 @@ const H1 = (e) => {
|
|
363
363
|
]))) : y("", !0),
|
364
364
|
S(H, null, {
|
365
365
|
default: K(() => [
|
366
|
-
t.value && e.message.actions ? (u(), Q(
|
366
|
+
t.value && e.message.actions ? (u(), Q(ge, {
|
367
367
|
key: 0,
|
368
368
|
class: "text-message__context-menu",
|
369
369
|
actions: e.message.actions,
|
@@ -395,24 +395,24 @@ const H1 = (e) => {
|
|
395
395
|
i.value = !0;
|
396
396
|
}, r = () => {
|
397
397
|
i.value = !1, A.value = !1;
|
398
|
-
}, g = T(() =>
|
398
|
+
}, g = T(() => Ne(f.message.status));
|
399
399
|
function d() {
|
400
400
|
n.value && (a.value ? n.value.pause() : n.value.play(), a.value = !a.value);
|
401
401
|
}
|
402
|
-
const m = (
|
403
|
-
const v = Math.floor(
|
402
|
+
const m = (k) => {
|
403
|
+
const v = Math.floor(k / 60), _ = Math.floor(k % 60);
|
404
404
|
return `${v.toString().padStart(2, "0")}:${_.toString().padStart(2, "0")}`;
|
405
405
|
}, p = T(() => n.value ? m(s.value) : "0:00"), h = T(() => n.value ? m(t.value) : "0:00"), I = T(() => t.value > 0 ? s.value / t.value * 100 : 0);
|
406
|
-
function M(
|
407
|
-
return
|
406
|
+
function M(k) {
|
407
|
+
return k.position === "left" ? "audio-message__left" : "audio-message__right";
|
408
408
|
}
|
409
|
-
return
|
409
|
+
return Ie(() => {
|
410
410
|
n.value.addEventListener("loadedmetadata", () => {
|
411
411
|
t.value = n.value.duration;
|
412
412
|
}), n.value.addEventListener("timeupdate", () => {
|
413
413
|
s.value = n.value.currentTime;
|
414
414
|
});
|
415
|
-
}), (
|
415
|
+
}), (k, v) => (u(), c("div", {
|
416
416
|
class: D(["audio-message", M(e.message)]),
|
417
417
|
messageId: e.message.messageId,
|
418
418
|
onMouseleave: r
|
@@ -441,7 +441,7 @@ const H1 = (e) => {
|
|
441
441
|
}, v[1] || (v[1] = [
|
442
442
|
o("span", { class: "pi pi-play" }, null, -1)
|
443
443
|
]), 512), [
|
444
|
-
[
|
444
|
+
[pe, !a.value]
|
445
445
|
]),
|
446
446
|
te(o("button", {
|
447
447
|
class: "audio-message__pause",
|
@@ -449,7 +449,7 @@ const H1 = (e) => {
|
|
449
449
|
}, v[2] || (v[2] = [
|
450
450
|
o("span", { class: "pi pi-pause" }, null, -1)
|
451
451
|
]), 512), [
|
452
|
-
[
|
452
|
+
[pe, a.value]
|
453
453
|
]),
|
454
454
|
o("div", Da, [
|
455
455
|
o("div", {
|
@@ -460,7 +460,7 @@ const H1 = (e) => {
|
|
460
460
|
o("p", ja, w(`${p.value} / ${h.value}`), 1),
|
461
461
|
o("div", Va, [
|
462
462
|
o("span", Ea, w(e.message.time), 1),
|
463
|
-
M(e.message) === "audio-message__right" && q(
|
463
|
+
M(e.message) === "audio-message__right" && q(ke).includes(e.message.status) ? (u(), c("div", {
|
464
464
|
key: 0,
|
465
465
|
class: D(["audio-message__status", g.value])
|
466
466
|
}, [
|
@@ -480,11 +480,11 @@ const H1 = (e) => {
|
|
480
480
|
], -1)),
|
481
481
|
S(H, null, {
|
482
482
|
default: K(() => [
|
483
|
-
A.value && e.message.actions ? (u(), Q(
|
483
|
+
A.value && e.message.actions ? (u(), Q(ge, {
|
484
484
|
key: 0,
|
485
485
|
class: "audio-message__context-menu",
|
486
486
|
actions: e.message.actions,
|
487
|
-
onClick:
|
487
|
+
onClick: k.clickAction
|
488
488
|
}, null, 8, ["actions", "onClick"])) : y("", !0)
|
489
489
|
]),
|
490
490
|
_: 1
|
@@ -547,7 +547,7 @@ const H1 = (e) => {
|
|
547
547
|
])
|
548
548
|
])) : y("", !0);
|
549
549
|
}
|
550
|
-
},
|
550
|
+
}, P1 = /* @__PURE__ */ j(Ja, [["__scopeId", "data-v-e1d212c7"]]), Ha = { class: "preview__container" }, Ka = { class: "preview__block" }, Pa = { key: 0 }, Za = ["src"], Ga = { key: 1 }, Xa = ["src"], et = { key: 2 }, ft = { key: 3 }, nt = { class: "preview__control-block" }, at = { class: "preview__information" }, tt = { class: "preview__name" }, At = { class: "preview__size" }, st = {
|
551
551
|
__name: "FilePreview",
|
552
552
|
props: {
|
553
553
|
previewUrl: {
|
@@ -619,7 +619,7 @@ const H1 = (e) => {
|
|
619
619
|
])
|
620
620
|
]));
|
621
621
|
}
|
622
|
-
}, it = /* @__PURE__ */ j(st, [["__scopeId", "data-v-c4e18bbf"]]),
|
622
|
+
}, it = /* @__PURE__ */ j(st, [["__scopeId", "data-v-c4e18bbf"]]), Gf = "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64", Xf = {
|
623
623
|
recent: "Recently used",
|
624
624
|
smileys_people: "Smiles & People",
|
625
625
|
animals_nature: "Animals & Nature",
|
@@ -629,10 +629,10 @@ const H1 = (e) => {
|
|
629
629
|
objects: "Objects",
|
630
630
|
symbols: "Symbols",
|
631
631
|
flags: "Flags"
|
632
|
-
},
|
632
|
+
}, en = "u", Xe = "n", $e = "v", ze = "r", ot = {
|
633
633
|
[Xe]: ["grinning face", "grinning"],
|
634
|
-
[
|
635
|
-
[
|
634
|
+
[en]: "1f600",
|
635
|
+
[ze]: "1f600"
|
636
636
|
}, Pe = "neutral", ut = "1f3fb", lt = "1f3fc", rt = "1f3fd", ct = "1f3fe", dt = "1f3ff", gt = [
|
637
637
|
Pe,
|
638
638
|
ut,
|
@@ -12640,7 +12640,7 @@ function jt() {
|
|
12640
12640
|
IDBCursor.prototype.continuePrimaryKey
|
12641
12641
|
]);
|
12642
12642
|
}
|
12643
|
-
const
|
12643
|
+
const fn = /* @__PURE__ */ new WeakMap(), rf = /* @__PURE__ */ new WeakMap(), nn = /* @__PURE__ */ new WeakMap(), Af = /* @__PURE__ */ new WeakMap(), gf = /* @__PURE__ */ new WeakMap();
|
12644
12644
|
function Vt(e) {
|
12645
12645
|
const f = new Promise((n, a) => {
|
12646
12646
|
const t = () => {
|
@@ -12653,7 +12653,7 @@ function Vt(e) {
|
|
12653
12653
|
e.addEventListener("success", s), e.addEventListener("error", A);
|
12654
12654
|
});
|
12655
12655
|
return f.then((n) => {
|
12656
|
-
n instanceof IDBCursor &&
|
12656
|
+
n instanceof IDBCursor && fn.set(n, e);
|
12657
12657
|
}).catch(() => {
|
12658
12658
|
}), gf.set(f, e), f;
|
12659
12659
|
}
|
@@ -12678,7 +12678,7 @@ let cf = {
|
|
12678
12678
|
if (f === "done")
|
12679
12679
|
return rf.get(e);
|
12680
12680
|
if (f === "objectStoreNames")
|
12681
|
-
return e.objectStoreNames ||
|
12681
|
+
return e.objectStoreNames || nn.get(e);
|
12682
12682
|
if (f === "store")
|
12683
12683
|
return n.objectStoreNames[1] ? void 0 : n.objectStore(n.objectStoreNames[0]);
|
12684
12684
|
}
|
@@ -12697,9 +12697,9 @@ function Tt(e) {
|
|
12697
12697
|
function xt(e) {
|
12698
12698
|
return e === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(f, ...n) {
|
12699
12699
|
const a = e.call(sf(this), f, ...n);
|
12700
|
-
return
|
12700
|
+
return nn.set(a, f.sort ? f.sort() : [f]), se(a);
|
12701
12701
|
} : jt().includes(e) ? function(...f) {
|
12702
|
-
return e.apply(sf(this), f), se(
|
12702
|
+
return e.apply(sf(this), f), se(fn.get(this));
|
12703
12703
|
} : function(...f) {
|
12704
12704
|
return se(e.apply(sf(this), f));
|
12705
12705
|
};
|
@@ -12753,11 +12753,11 @@ Tt((e) => ({
|
|
12753
12753
|
get: (f, n, a) => Bf(f, n) || e.get(f, n, a),
|
12754
12754
|
has: (f, n) => !!Bf(f, n) || e.has(f, n)
|
12755
12755
|
}));
|
12756
|
-
const pf = "EMJ",
|
12756
|
+
const pf = "EMJ", Me = "emojis", Mf = 3;
|
12757
12757
|
async function Ct() {
|
12758
12758
|
(await mf(pf, Mf, {
|
12759
12759
|
upgrade(f, n) {
|
12760
|
-
f.objectStoreNames.contains(
|
12760
|
+
f.objectStoreNames.contains(Me) || f.createObjectStore(Me, {
|
12761
12761
|
keyPath: "id",
|
12762
12762
|
autoIncrement: !0
|
12763
12763
|
}).createIndex("id", "id", {
|
@@ -12781,10 +12781,10 @@ const Ut = {
|
|
12781
12781
|
groupIcons: {}
|
12782
12782
|
};
|
12783
12783
|
async function Lt() {
|
12784
|
-
return await (await mf(pf, Mf)).transaction(
|
12784
|
+
return await (await mf(pf, Mf)).transaction(Me, "readonly").objectStore(Me).getAll();
|
12785
12785
|
}
|
12786
12786
|
function Qt() {
|
12787
|
-
const e =
|
12787
|
+
const e = jn({
|
12788
12788
|
search: "",
|
12789
12789
|
emoji: ot,
|
12790
12790
|
activeGroup: "",
|
@@ -12842,7 +12842,7 @@ function Qt() {
|
|
12842
12842
|
e.options = Object.assign({}, e.options, d), f();
|
12843
12843
|
};
|
12844
12844
|
async function r() {
|
12845
|
-
(await mf(pf, Mf)).transaction(
|
12845
|
+
(await mf(pf, Mf)).transaction(Me, "readwrite").objectStore(Me).put({
|
12846
12846
|
id: 0,
|
12847
12847
|
value: JSON.stringify(e.recent)
|
12848
12848
|
});
|
@@ -12857,7 +12857,7 @@ function Qt() {
|
|
12857
12857
|
e.recent = [p, ...e.recent], e.recent.length > 24 && (e.recent.length = 24), r();
|
12858
12858
|
};
|
12859
12859
|
return {
|
12860
|
-
state:
|
12860
|
+
state: Vn(e),
|
12861
12861
|
updateSearch: t,
|
12862
12862
|
updateEmoji: s,
|
12863
12863
|
updateActiveGroup: A,
|
@@ -12866,10 +12866,10 @@ function Qt() {
|
|
12866
12866
|
updateSelect: g
|
12867
12867
|
};
|
12868
12868
|
}
|
12869
|
-
var F = "top", Z = "bottom", G = "right", $ = "left", hf = "auto", Ue = [F, Z, G, $],
|
12870
|
-
return e.concat([f + "-" +
|
12871
|
-
}, []),
|
12872
|
-
return e.concat([f, f + "-" +
|
12869
|
+
var F = "top", Z = "bottom", G = "right", $ = "left", hf = "auto", Ue = [F, Z, G, $], he = "start", Oe = "end", Bt = "clippingParents", an = "viewport", Te = "popper", Yt = "reference", Yf = /* @__PURE__ */ Ue.reduce(function(e, f) {
|
12870
|
+
return e.concat([f + "-" + he, f + "-" + Oe]);
|
12871
|
+
}, []), tn = /* @__PURE__ */ [].concat(Ue, [hf]).reduce(function(e, f) {
|
12872
|
+
return e.concat([f, f + "-" + he, f + "-" + Oe]);
|
12873
12873
|
}, []), Rt = "beforeRead", qt = "read", Ft = "afterRead", $t = "beforeMain", Wt = "main", Jt = "afterMain", Ht = "beforeWrite", Kt = "write", Pt = "afterWrite", Zt = [Rt, qt, Ft, $t, Wt, Jt, Ht, Kt, Pt];
|
12874
12874
|
function ne(e) {
|
12875
12875
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
@@ -12883,7 +12883,7 @@ function ee(e) {
|
|
12883
12883
|
}
|
12884
12884
|
return e;
|
12885
12885
|
}
|
12886
|
-
function
|
12886
|
+
function ye(e) {
|
12887
12887
|
var f = ee(e).Element;
|
12888
12888
|
return e instanceof f || e instanceof Element;
|
12889
12889
|
}
|
@@ -12891,7 +12891,7 @@ function P(e) {
|
|
12891
12891
|
var f = ee(e).HTMLElement;
|
12892
12892
|
return e instanceof f || e instanceof HTMLElement;
|
12893
12893
|
}
|
12894
|
-
function
|
12894
|
+
function An(e) {
|
12895
12895
|
if (typeof ShadowRoot > "u")
|
12896
12896
|
return !1;
|
12897
12897
|
var f = ee(e).ShadowRoot;
|
@@ -12942,13 +12942,13 @@ var eA = {
|
|
12942
12942
|
function fe(e) {
|
12943
12943
|
return e.split("-")[0];
|
12944
12944
|
}
|
12945
|
-
var ce = Math.max, Ze = Math.min,
|
12946
|
-
function
|
12945
|
+
var ce = Math.max, Ze = Math.min, be = Math.round;
|
12946
|
+
function ve(e, f) {
|
12947
12947
|
f === void 0 && (f = !1);
|
12948
12948
|
var n = e.getBoundingClientRect(), a = 1, t = 1;
|
12949
12949
|
if (P(e) && f) {
|
12950
12950
|
var s = e.offsetHeight, A = e.offsetWidth;
|
12951
|
-
A > 0 && (a =
|
12951
|
+
A > 0 && (a = be(n.width) / A || 1), s > 0 && (t = be(n.height) / s || 1);
|
12952
12952
|
}
|
12953
12953
|
return {
|
12954
12954
|
width: n.width / a,
|
@@ -12962,7 +12962,7 @@ function _e(e, f) {
|
|
12962
12962
|
};
|
12963
12963
|
}
|
12964
12964
|
function yf(e) {
|
12965
|
-
var f =
|
12965
|
+
var f = ve(e), n = e.offsetWidth, a = e.offsetHeight;
|
12966
12966
|
return Math.abs(f.width - n) <= 1 && (n = f.width), Math.abs(f.height - a) <= 1 && (a = f.height), {
|
12967
12967
|
x: e.offsetLeft,
|
12968
12968
|
y: e.offsetTop,
|
@@ -12970,11 +12970,11 @@ function yf(e) {
|
|
12970
12970
|
height: a
|
12971
12971
|
};
|
12972
12972
|
}
|
12973
|
-
function
|
12973
|
+
function sn(e, f) {
|
12974
12974
|
var n = f.getRootNode && f.getRootNode();
|
12975
12975
|
if (e.contains(f))
|
12976
12976
|
return !0;
|
12977
|
-
if (n &&
|
12977
|
+
if (n && An(n)) {
|
12978
12978
|
var a = f;
|
12979
12979
|
do {
|
12980
12980
|
if (a && e.isSameNode(a))
|
@@ -12991,10 +12991,10 @@ function fA(e) {
|
|
12991
12991
|
return ["table", "td", "th"].indexOf(ne(e)) >= 0;
|
12992
12992
|
}
|
12993
12993
|
function ie(e) {
|
12994
|
-
return ((
|
12994
|
+
return ((ye(e) ? e.ownerDocument : e.document) || window.document).documentElement;
|
12995
12995
|
}
|
12996
12996
|
function ef(e) {
|
12997
|
-
return ne(e) === "html" ? e : e.assignedSlot || e.parentNode || (
|
12997
|
+
return ne(e) === "html" ? e : e.assignedSlot || e.parentNode || (An(e) ? e.host : null) || ie(e);
|
12998
12998
|
}
|
12999
12999
|
function Rf(e) {
|
13000
13000
|
return !P(e) || ae(e).position === "fixed" ? null : e.offsetParent;
|
@@ -13022,14 +13022,14 @@ function Le(e) {
|
|
13022
13022
|
function bf(e) {
|
13023
13023
|
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
13024
13024
|
}
|
13025
|
-
function
|
13025
|
+
function xe(e, f, n) {
|
13026
13026
|
return ce(e, Ze(f, n));
|
13027
13027
|
}
|
13028
13028
|
function aA(e, f, n) {
|
13029
|
-
var a =
|
13029
|
+
var a = xe(e, f, n);
|
13030
13030
|
return a > n ? n : a;
|
13031
13031
|
}
|
13032
|
-
function
|
13032
|
+
function on() {
|
13033
13033
|
return {
|
13034
13034
|
top: 0,
|
13035
13035
|
right: 0,
|
@@ -13037,10 +13037,10 @@ function un() {
|
|
13037
13037
|
left: 0
|
13038
13038
|
};
|
13039
13039
|
}
|
13040
|
-
function
|
13041
|
-
return Object.assign({},
|
13040
|
+
function un(e) {
|
13041
|
+
return Object.assign({}, on(), e);
|
13042
13042
|
}
|
13043
|
-
function
|
13043
|
+
function ln(e, f) {
|
13044
13044
|
return f.reduce(function(n, a) {
|
13045
13045
|
return n[a] = e, n;
|
13046
13046
|
}, {});
|
@@ -13048,18 +13048,18 @@ function rn(e, f) {
|
|
13048
13048
|
var tA = function(f, n) {
|
13049
13049
|
return f = typeof f == "function" ? f(Object.assign({}, n.rects, {
|
13050
13050
|
placement: n.placement
|
13051
|
-
})) : f,
|
13051
|
+
})) : f, un(typeof f != "number" ? f : ln(f, Ue));
|
13052
13052
|
};
|
13053
13053
|
function AA(e) {
|
13054
13054
|
var f, n = e.state, a = e.name, t = e.options, s = n.elements.arrow, A = n.modifiersData.popperOffsets, i = fe(n.placement), l = bf(i), r = [$, G].indexOf(i) >= 0, g = r ? "height" : "width";
|
13055
13055
|
if (!(!s || !A)) {
|
13056
|
-
var d = tA(t.padding, n), m = yf(s), p = l === "y" ? F : $, h = l === "y" ? Z : G, I = n.rects.reference[g] + n.rects.reference[l] - A[l] - n.rects.popper[g], M = A[l] - n.rects.reference[l],
|
13056
|
+
var d = tA(t.padding, n), m = yf(s), p = l === "y" ? F : $, h = l === "y" ? Z : G, I = n.rects.reference[g] + n.rects.reference[l] - A[l] - n.rects.popper[g], M = A[l] - n.rects.reference[l], k = Le(s), v = k ? l === "y" ? k.clientHeight || 0 : k.clientWidth || 0 : 0, _ = I / 2 - M / 2, N = d[p], E = v - m[g] - d[h], V = v / 2 - m[g] / 2 + _, x = xe(N, V, E), O = l;
|
13057
13057
|
n.modifiersData[a] = (f = {}, f[O] = x, f.centerOffset = x - V, f);
|
13058
13058
|
}
|
13059
13059
|
}
|
13060
13060
|
function sA(e) {
|
13061
13061
|
var f = e.state, n = e.options, a = n.element, t = a === void 0 ? "[data-popper-arrow]" : a;
|
13062
|
-
t != null && (typeof t == "string" && (t = f.elements.popper.querySelector(t), !t) ||
|
13062
|
+
t != null && (typeof t == "string" && (t = f.elements.popper.querySelector(t), !t) || sn(f.elements.popper, t) && (f.elements.arrow = t));
|
13063
13063
|
}
|
13064
13064
|
var iA = {
|
13065
13065
|
name: "arrow",
|
@@ -13070,7 +13070,7 @@ var iA = {
|
|
13070
13070
|
requires: ["popperOffsets"],
|
13071
13071
|
requiresIfExists: ["preventOverflow"]
|
13072
13072
|
};
|
13073
|
-
function
|
13073
|
+
function _e(e) {
|
13074
13074
|
return e.split("-")[1];
|
13075
13075
|
}
|
13076
13076
|
var oA = {
|
@@ -13082,20 +13082,20 @@ var oA = {
|
|
13082
13082
|
function uA(e) {
|
13083
13083
|
var f = e.x, n = e.y, a = window, t = a.devicePixelRatio || 1;
|
13084
13084
|
return {
|
13085
|
-
x:
|
13086
|
-
y:
|
13085
|
+
x: be(f * t) / t || 0,
|
13086
|
+
y: be(n * t) / t || 0
|
13087
13087
|
};
|
13088
13088
|
}
|
13089
13089
|
function qf(e) {
|
13090
|
-
var f, n = e.popper, a = e.popperRect, t = e.placement, s = e.variation, A = e.offsets, i = e.position, l = e.gpuAcceleration, r = e.adaptive, g = e.roundOffsets, d = e.isFixed, m = g === !0 ? uA(A) : typeof g == "function" ? g(A) : A, p = m.x, h = p === void 0 ? 0 : p, I = m.y, M = I === void 0 ? 0 : I,
|
13090
|
+
var f, n = e.popper, a = e.popperRect, t = e.placement, s = e.variation, A = e.offsets, i = e.position, l = e.gpuAcceleration, r = e.adaptive, g = e.roundOffsets, d = e.isFixed, m = g === !0 ? uA(A) : typeof g == "function" ? g(A) : A, p = m.x, h = p === void 0 ? 0 : p, I = m.y, M = I === void 0 ? 0 : I, k = A.hasOwnProperty("x"), v = A.hasOwnProperty("y"), _ = $, N = F, E = window;
|
13091
13091
|
if (r) {
|
13092
13092
|
var V = Le(n), x = "clientHeight", O = "clientWidth";
|
13093
|
-
if (V === ee(n) && (V = ie(n), ae(V).position !== "static" && i === "absolute" && (x = "scrollHeight", O = "scrollWidth")), V = V, t === F || (t === $ || t === G) && s ===
|
13094
|
-
|
13093
|
+
if (V === ee(n) && (V = ie(n), ae(V).position !== "static" && i === "absolute" && (x = "scrollHeight", O = "scrollWidth")), V = V, t === F || (t === $ || t === G) && s === Oe) {
|
13094
|
+
N = Z;
|
13095
13095
|
var L = d && E.visualViewport ? E.visualViewport.height : V[x];
|
13096
13096
|
M -= L - a.height, M *= l ? 1 : -1;
|
13097
13097
|
}
|
13098
|
-
if (t === $ || (t === F || t === Z) && s ===
|
13098
|
+
if (t === $ || (t === F || t === Z) && s === Oe) {
|
13099
13099
|
_ = G;
|
13100
13100
|
var C = d && E.visualViewport ? E.visualViewport.width : V[O];
|
13101
13101
|
h -= C - a.width, h *= l ? 1 : -1;
|
@@ -13106,14 +13106,14 @@ function qf(e) {
|
|
13106
13106
|
}, r && oA);
|
13107
13107
|
if (l) {
|
13108
13108
|
var R;
|
13109
|
-
return Object.assign({}, U, (R = {}, R[
|
13109
|
+
return Object.assign({}, U, (R = {}, R[N] = v ? "0" : "", R[_] = k ? "0" : "", R.transform = (E.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + M + "px)" : "translate3d(" + h + "px, " + M + "px, 0)", R));
|
13110
13110
|
}
|
13111
|
-
return Object.assign({}, U, (f = {}, f[
|
13111
|
+
return Object.assign({}, U, (f = {}, f[N] = v ? M + "px" : "", f[_] = k ? h + "px" : "", f.transform = "", f));
|
13112
13112
|
}
|
13113
13113
|
function lA(e) {
|
13114
13114
|
var f = e.state, n = e.options, a = n.gpuAcceleration, t = a === void 0 ? !0 : a, s = n.adaptive, A = s === void 0 ? !0 : s, i = n.roundOffsets, l = i === void 0 ? !0 : i, r = {
|
13115
13115
|
placement: fe(f.placement),
|
13116
|
-
variation:
|
13116
|
+
variation: _e(f.placement),
|
13117
13117
|
popper: f.elements.popper,
|
13118
13118
|
popperRect: f.rects.popper,
|
13119
13119
|
gpuAcceleration: t,
|
@@ -13188,7 +13188,7 @@ function vf(e) {
|
|
13188
13188
|
};
|
13189
13189
|
}
|
13190
13190
|
function _f(e) {
|
13191
|
-
return
|
13191
|
+
return ve(ie(e)).left + vf(e).scrollLeft;
|
13192
13192
|
}
|
13193
13193
|
function pA(e) {
|
13194
13194
|
var f = ee(e), n = ie(e), a = f.visualViewport, t = n.clientWidth, s = n.clientHeight, A = 0, i = 0;
|
@@ -13212,14 +13212,14 @@ function If(e) {
|
|
13212
13212
|
var f = ae(e), n = f.overflow, a = f.overflowX, t = f.overflowY;
|
13213
13213
|
return /auto|scroll|overlay|hidden/.test(n + t + a);
|
13214
13214
|
}
|
13215
|
-
function
|
13216
|
-
return ["html", "body", "#document"].indexOf(ne(e)) >= 0 ? e.ownerDocument.body : P(e) && If(e) ? e :
|
13215
|
+
function rn(e) {
|
13216
|
+
return ["html", "body", "#document"].indexOf(ne(e)) >= 0 ? e.ownerDocument.body : P(e) && If(e) ? e : rn(ef(e));
|
13217
13217
|
}
|
13218
|
-
function
|
13218
|
+
function Se(e, f) {
|
13219
13219
|
var n;
|
13220
13220
|
f === void 0 && (f = []);
|
13221
|
-
var a =
|
13222
|
-
return t ? i : i.concat(
|
13221
|
+
var a = rn(e), t = a === ((n = e.ownerDocument) == null ? void 0 : n.body), s = ee(a), A = t ? [s].concat(s.visualViewport || [], If(a) ? a : []) : a, i = f.concat(A);
|
13222
|
+
return t ? i : i.concat(Se(ef(A)));
|
13223
13223
|
}
|
13224
13224
|
function df(e) {
|
13225
13225
|
return Object.assign({}, e, {
|
@@ -13230,16 +13230,16 @@ function df(e) {
|
|
13230
13230
|
});
|
13231
13231
|
}
|
13232
13232
|
function hA(e) {
|
13233
|
-
var f =
|
13233
|
+
var f = ve(e);
|
13234
13234
|
return f.top = f.top + e.clientTop, f.left = f.left + e.clientLeft, f.bottom = f.top + e.clientHeight, f.right = f.left + e.clientWidth, f.width = e.clientWidth, f.height = e.clientHeight, f.x = f.left, f.y = f.top, f;
|
13235
13235
|
}
|
13236
13236
|
function $f(e, f) {
|
13237
|
-
return f ===
|
13237
|
+
return f === an ? df(pA(e)) : ye(f) ? hA(f) : df(MA(ie(e)));
|
13238
13238
|
}
|
13239
13239
|
function yA(e) {
|
13240
|
-
var f =
|
13241
|
-
return
|
13242
|
-
return
|
13240
|
+
var f = Se(ef(e)), n = ["absolute", "fixed"].indexOf(ae(e).position) >= 0, a = n && P(e) ? Le(e) : e;
|
13241
|
+
return ye(a) ? f.filter(function(t) {
|
13242
|
+
return ye(t) && sn(t, a) && ne(t) !== "body" && (n ? ae(t).position !== "static" : !0);
|
13243
13243
|
}) : [];
|
13244
13244
|
}
|
13245
13245
|
function bA(e, f, n) {
|
@@ -13249,8 +13249,8 @@ function bA(e, f, n) {
|
|
13249
13249
|
}, $f(e, s));
|
13250
13250
|
return A.width = A.right - A.left, A.height = A.bottom - A.top, A.x = A.left, A.y = A.top, A;
|
13251
13251
|
}
|
13252
|
-
function
|
13253
|
-
var f = e.reference, n = e.element, a = e.placement, t = a ? fe(a) : null, s = a ?
|
13252
|
+
function cn(e) {
|
13253
|
+
var f = e.reference, n = e.element, a = e.placement, t = a ? fe(a) : null, s = a ? _e(a) : null, A = f.x + f.width / 2 - n.width / 2, i = f.y + f.height / 2 - n.height / 2, l;
|
13254
13254
|
switch (t) {
|
13255
13255
|
case F:
|
13256
13256
|
l = {
|
@@ -13286,30 +13286,30 @@ function dn(e) {
|
|
13286
13286
|
if (r != null) {
|
13287
13287
|
var g = r === "y" ? "height" : "width";
|
13288
13288
|
switch (s) {
|
13289
|
-
case
|
13289
|
+
case he:
|
13290
13290
|
l[r] = l[r] - (f[g] / 2 - n[g] / 2);
|
13291
13291
|
break;
|
13292
|
-
case
|
13292
|
+
case Oe:
|
13293
13293
|
l[r] = l[r] + (f[g] / 2 - n[g] / 2);
|
13294
13294
|
break;
|
13295
13295
|
}
|
13296
13296
|
}
|
13297
13297
|
return l;
|
13298
13298
|
}
|
13299
|
-
function
|
13299
|
+
function Ce(e, f) {
|
13300
13300
|
f === void 0 && (f = {});
|
13301
|
-
var n = f, a = n.placement, t = a === void 0 ? e.placement : a, s = n.boundary, A = s === void 0 ? Bt : s, i = n.rootBoundary, l = i === void 0 ?
|
13302
|
-
reference:
|
13303
|
-
element:
|
13301
|
+
var n = f, a = n.placement, t = a === void 0 ? e.placement : a, s = n.boundary, A = s === void 0 ? Bt : s, i = n.rootBoundary, l = i === void 0 ? an : i, r = n.elementContext, g = r === void 0 ? Te : r, d = n.altBoundary, m = d === void 0 ? !1 : d, p = n.padding, h = p === void 0 ? 0 : p, I = un(typeof h != "number" ? h : ln(h, Ue)), M = g === Te ? Yt : Te, k = e.rects.popper, v = e.elements[m ? M : g], _ = bA(ye(v) ? v : v.contextElement || ie(e.elements.popper), A, l), N = ve(e.elements.reference), E = cn({
|
13302
|
+
reference: N,
|
13303
|
+
element: k,
|
13304
13304
|
strategy: "absolute",
|
13305
13305
|
placement: t
|
13306
|
-
}), V = df(Object.assign({},
|
13306
|
+
}), V = df(Object.assign({}, k, E)), x = g === Te ? V : N, O = {
|
13307
13307
|
top: _.top - x.top + I.top,
|
13308
13308
|
bottom: x.bottom - _.bottom + I.bottom,
|
13309
13309
|
left: _.left - x.left + I.left,
|
13310
13310
|
right: x.right - _.right + I.right
|
13311
13311
|
}, L = e.modifiersData.offset;
|
13312
|
-
if (g ===
|
13312
|
+
if (g === Te && L) {
|
13313
13313
|
var C = L[t];
|
13314
13314
|
Object.keys(O).forEach(function(U) {
|
13315
13315
|
var R = [G, Z].indexOf(U) >= 0 ? 1 : -1, oe = [F, Z].indexOf(U) >= 0 ? "y" : "x";
|
@@ -13320,14 +13320,14 @@ function Oe(e, f) {
|
|
13320
13320
|
}
|
13321
13321
|
function vA(e, f) {
|
13322
13322
|
f === void 0 && (f = {});
|
13323
|
-
var n = f, a = n.placement, t = n.boundary, s = n.rootBoundary, A = n.padding, i = n.flipVariations, l = n.allowedAutoPlacements, r = l === void 0 ?
|
13324
|
-
return
|
13323
|
+
var n = f, a = n.placement, t = n.boundary, s = n.rootBoundary, A = n.padding, i = n.flipVariations, l = n.allowedAutoPlacements, r = l === void 0 ? tn : l, g = _e(a), d = g ? i ? Yf : Yf.filter(function(h) {
|
13324
|
+
return _e(h) === g;
|
13325
13325
|
}) : Ue, m = d.filter(function(h) {
|
13326
13326
|
return r.indexOf(h) >= 0;
|
13327
13327
|
});
|
13328
13328
|
m.length === 0 && (m = d);
|
13329
13329
|
var p = m.reduce(function(h, I) {
|
13330
|
-
return h[I] =
|
13330
|
+
return h[I] = Ce(e, {
|
13331
13331
|
placement: I,
|
13332
13332
|
boundary: t,
|
13333
13333
|
rootBoundary: s,
|
@@ -13347,8 +13347,8 @@ function _A(e) {
|
|
13347
13347
|
function IA(e) {
|
13348
13348
|
var f = e.state, n = e.options, a = e.name;
|
13349
13349
|
if (!f.modifiersData[a]._skip) {
|
13350
|
-
for (var t = n.mainAxis, s = t === void 0 ? !0 : t, A = n.altAxis, i = A === void 0 ? !0 : A, l = n.fallbackPlacements, r = n.padding, g = n.boundary, d = n.rootBoundary, m = n.altBoundary, p = n.flipVariations, h = p === void 0 ? !0 : p, I = n.allowedAutoPlacements, M = f.options.placement,
|
13351
|
-
return
|
13350
|
+
for (var t = n.mainAxis, s = t === void 0 ? !0 : t, A = n.altAxis, i = A === void 0 ? !0 : A, l = n.fallbackPlacements, r = n.padding, g = n.boundary, d = n.rootBoundary, m = n.altBoundary, p = n.flipVariations, h = p === void 0 ? !0 : p, I = n.allowedAutoPlacements, M = f.options.placement, k = fe(M), v = k === M, _ = l || (v || !h ? [He(M)] : _A(M)), N = [M].concat(_).reduce(function(me, Ae) {
|
13351
|
+
return me.concat(fe(Ae) === hf ? vA(f, {
|
13352
13352
|
placement: Ae,
|
13353
13353
|
boundary: g,
|
13354
13354
|
rootBoundary: d,
|
@@ -13356,18 +13356,18 @@ function IA(e) {
|
|
13356
13356
|
flipVariations: h,
|
13357
13357
|
allowedAutoPlacements: I
|
13358
13358
|
}) : Ae);
|
13359
|
-
}, []), E = f.rects.reference, V = f.rects.popper, x = /* @__PURE__ */ new Map(), O = !0, L =
|
13360
|
-
var U =
|
13359
|
+
}, []), E = f.rects.reference, V = f.rects.popper, x = /* @__PURE__ */ new Map(), O = !0, L = N[0], C = 0; C < N.length; C++) {
|
13360
|
+
var U = N[C], R = fe(U), oe = _e(U) === he, De = [F, Z].indexOf(R) >= 0, je = De ? "width" : "height", W = Ce(f, {
|
13361
13361
|
placement: U,
|
13362
13362
|
boundary: g,
|
13363
13363
|
rootBoundary: d,
|
13364
13364
|
altBoundary: m,
|
13365
13365
|
padding: r
|
13366
|
-
}), X =
|
13367
|
-
E[
|
13366
|
+
}), X = De ? oe ? G : $ : oe ? Z : F;
|
13367
|
+
E[je] > V[je] && (X = He(X));
|
13368
13368
|
var Be = He(X), ue = [];
|
13369
|
-
if (s && ue.push(W[R] <= 0), i && ue.push(W[X] <= 0, W[Be] <= 0), ue.every(function(
|
13370
|
-
return
|
13369
|
+
if (s && ue.push(W[R] <= 0), i && ue.push(W[X] <= 0, W[Be] <= 0), ue.every(function(me) {
|
13370
|
+
return me;
|
13371
13371
|
})) {
|
13372
13372
|
L = U, O = !1;
|
13373
13373
|
break;
|
@@ -13376,17 +13376,17 @@ function IA(e) {
|
|
13376
13376
|
}
|
13377
13377
|
if (O)
|
13378
13378
|
for (var Ye = h ? 3 : 1, ff = function(Ae) {
|
13379
|
-
var
|
13379
|
+
var Ee = N.find(function(qe) {
|
13380
13380
|
var le = x.get(qe);
|
13381
13381
|
if (le)
|
13382
13382
|
return le.slice(0, Ae).every(function(nf) {
|
13383
13383
|
return nf;
|
13384
13384
|
});
|
13385
13385
|
});
|
13386
|
-
if (
|
13387
|
-
return L =
|
13388
|
-
},
|
13389
|
-
var Re = ff(
|
13386
|
+
if (Ee)
|
13387
|
+
return L = Ee, "break";
|
13388
|
+
}, Ve = Ye; Ve > 0; Ve--) {
|
13389
|
+
var Re = ff(Ve);
|
13390
13390
|
if (Re === "break")
|
13391
13391
|
break;
|
13392
13392
|
}
|
@@ -13420,9 +13420,9 @@ function Jf(e) {
|
|
13420
13420
|
});
|
13421
13421
|
}
|
13422
13422
|
function kA(e) {
|
13423
|
-
var f = e.state, n = e.name, a = f.rects.reference, t = f.rects.popper, s = f.modifiersData.preventOverflow, A =
|
13423
|
+
var f = e.state, n = e.name, a = f.rects.reference, t = f.rects.popper, s = f.modifiersData.preventOverflow, A = Ce(f, {
|
13424
13424
|
elementContext: "reference"
|
13425
|
-
}), i =
|
13425
|
+
}), i = Ce(f, {
|
13426
13426
|
altBoundary: !0
|
13427
13427
|
}), l = Wf(A, a), r = Wf(i, t, s), g = Jf(l), d = Jf(r);
|
13428
13428
|
f.modifiersData[n] = {
|
@@ -13455,7 +13455,7 @@ function DA(e, f, n) {
|
|
13455
13455
|
};
|
13456
13456
|
}
|
13457
13457
|
function jA(e) {
|
13458
|
-
var f = e.state, n = e.options, a = e.name, t = n.offset, s = t === void 0 ? [0, 0] : t, A =
|
13458
|
+
var f = e.state, n = e.options, a = e.name, t = n.offset, s = t === void 0 ? [0, 0] : t, A = tn.reduce(function(g, d) {
|
13459
13459
|
return g[d] = DA(d, f.rects, s), g;
|
13460
13460
|
}, {}), i = A[f.placement], l = i.x, r = i.y;
|
13461
13461
|
f.modifiersData.popperOffsets != null && (f.modifiersData.popperOffsets.x += l, f.modifiersData.popperOffsets.y += r), f.modifiersData[a] = A;
|
@@ -13469,7 +13469,7 @@ var VA = {
|
|
13469
13469
|
};
|
13470
13470
|
function EA(e) {
|
13471
13471
|
var f = e.state, n = e.name;
|
13472
|
-
f.modifiersData[n] =
|
13472
|
+
f.modifiersData[n] = cn({
|
13473
13473
|
reference: f.rects.reference,
|
13474
13474
|
element: f.rects.popper,
|
13475
13475
|
strategy: "absolute",
|
@@ -13487,12 +13487,12 @@ function xA(e) {
|
|
13487
13487
|
return e === "x" ? "y" : "x";
|
13488
13488
|
}
|
13489
13489
|
function SA(e) {
|
13490
|
-
var f = e.state, n = e.options, a = e.name, t = n.mainAxis, s = t === void 0 ? !0 : t, A = n.altAxis, i = A === void 0 ? !1 : A, l = n.boundary, r = n.rootBoundary, g = n.altBoundary, d = n.padding, m = n.tether, p = m === void 0 ? !0 : m, h = n.tetherOffset, I = h === void 0 ? 0 : h, M =
|
13490
|
+
var f = e.state, n = e.options, a = e.name, t = n.mainAxis, s = t === void 0 ? !0 : t, A = n.altAxis, i = A === void 0 ? !1 : A, l = n.boundary, r = n.rootBoundary, g = n.altBoundary, d = n.padding, m = n.tether, p = m === void 0 ? !0 : m, h = n.tetherOffset, I = h === void 0 ? 0 : h, M = Ce(f, {
|
13491
13491
|
boundary: l,
|
13492
13492
|
rootBoundary: r,
|
13493
13493
|
padding: d,
|
13494
13494
|
altBoundary: g
|
13495
|
-
}),
|
13495
|
+
}), k = fe(f.placement), v = _e(f.placement), _ = !v, N = bf(k), E = xA(N), V = f.modifiersData.popperOffsets, x = f.rects.reference, O = f.rects.popper, L = typeof I == "function" ? I(Object.assign({}, f.rects, {
|
13496
13496
|
placement: f.placement
|
13497
13497
|
})) : I, C = typeof L == "number" ? {
|
13498
13498
|
mainAxis: L,
|
@@ -13506,14 +13506,14 @@ function SA(e) {
|
|
13506
13506
|
};
|
13507
13507
|
if (V) {
|
13508
13508
|
if (s) {
|
13509
|
-
var oe,
|
13509
|
+
var oe, De = N === "y" ? F : $, je = N === "y" ? Z : G, W = N === "y" ? "height" : "width", X = V[N], Be = X + M[De], ue = X - M[je], Ye = p ? -O[W] / 2 : 0, ff = v === he ? x[W] : O[W], Ve = v === he ? -O[W] : -x[W], Re = f.elements.arrow, me = p && Re ? yf(Re) : {
|
13510
13510
|
width: 0,
|
13511
13511
|
height: 0
|
13512
|
-
}, Ae = f.modifiersData["arrow#persistent"] ? f.modifiersData["arrow#persistent"].padding :
|
13513
|
-
V[
|
13512
|
+
}, Ae = f.modifiersData["arrow#persistent"] ? f.modifiersData["arrow#persistent"].padding : on(), Ee = Ae[De], qe = Ae[je], le = xe(0, x[W], me[W]), nf = _ ? x[W] / 2 - Ye - le - Ee - C.mainAxis : ff - le - Ee - C.mainAxis, Mn = _ ? -x[W] / 2 + Ye + le + qe + C.mainAxis : Ve + le + qe + C.mainAxis, af = f.elements.arrow && Le(f.elements.arrow), hn = af ? N === "y" ? af.clientTop || 0 : af.clientLeft || 0 : 0, kf = (oe = U == null ? void 0 : U[N]) != null ? oe : 0, yn = X + nf - kf - hn, bn = X + Mn - kf, Nf = xe(p ? Ze(Be, yn) : Be, X, p ? ce(ue, bn) : ue);
|
13513
|
+
V[N] = Nf, R[N] = Nf - X;
|
13514
13514
|
}
|
13515
13515
|
if (i) {
|
13516
|
-
var Df,
|
13516
|
+
var Df, vn = N === "x" ? F : $, _n = N === "x" ? Z : G, re = V[E], Fe = E === "y" ? "height" : "width", jf = re + M[vn], Vf = re - M[_n], tf = [F, $].indexOf(k) !== -1, Ef = (Df = U == null ? void 0 : U[E]) != null ? Df : 0, Tf = tf ? jf : re - x[Fe] - O[Fe] - Ef + C.altAxis, xf = tf ? re + x[Fe] + O[Fe] - Ef - C.altAxis : Vf, Sf = p && tf ? aA(Tf, re, xf) : xe(p ? Tf : jf, re, p ? xf : Vf);
|
13517
13517
|
V[E] = Sf, R[E] = Sf - re;
|
13518
13518
|
}
|
13519
13519
|
f.modifiersData[a] = R;
|
@@ -13536,19 +13536,19 @@ function CA(e) {
|
|
13536
13536
|
return e === ee(e) || !P(e) ? vf(e) : OA(e);
|
13537
13537
|
}
|
13538
13538
|
function UA(e) {
|
13539
|
-
var f = e.getBoundingClientRect(), n =
|
13539
|
+
var f = e.getBoundingClientRect(), n = be(f.width) / e.offsetWidth || 1, a = be(f.height) / e.offsetHeight || 1;
|
13540
13540
|
return n !== 1 || a !== 1;
|
13541
13541
|
}
|
13542
13542
|
function LA(e, f, n) {
|
13543
13543
|
n === void 0 && (n = !1);
|
13544
|
-
var a = P(f), t = P(f) && UA(f), s = ie(f), A =
|
13544
|
+
var a = P(f), t = P(f) && UA(f), s = ie(f), A = ve(e, t), i = {
|
13545
13545
|
scrollLeft: 0,
|
13546
13546
|
scrollTop: 0
|
13547
13547
|
}, l = {
|
13548
13548
|
x: 0,
|
13549
13549
|
y: 0
|
13550
13550
|
};
|
13551
|
-
return (a || !a && !n) && ((ne(f) !== "body" || If(s)) && (i = CA(f)), P(f) ? (l =
|
13551
|
+
return (a || !a && !n) && ((ne(f) !== "body" || If(s)) && (i = CA(f)), P(f) ? (l = ve(f, !0), l.x += f.clientLeft, l.y += f.clientTop) : s && (l.x = _f(s))), {
|
13552
13552
|
x: A.left + i.scrollLeft - l.x,
|
13553
13553
|
y: A.top + i.scrollTop - l.y,
|
13554
13554
|
width: A.width,
|
@@ -13634,20 +13634,20 @@ function qA(e) {
|
|
13634
13634
|
styles: {}
|
13635
13635
|
}, d = [], m = !1, p = {
|
13636
13636
|
state: g,
|
13637
|
-
setOptions: function(
|
13638
|
-
var v = typeof
|
13637
|
+
setOptions: function(k) {
|
13638
|
+
var v = typeof k == "function" ? k(g.options) : k;
|
13639
13639
|
I(), g.options = Object.assign({}, s, g.options, v), g.scrollParents = {
|
13640
|
-
reference:
|
13641
|
-
popper:
|
13640
|
+
reference: ye(i) ? Se(i) : i.contextElement ? Se(i.contextElement) : [],
|
13641
|
+
popper: Se(l)
|
13642
13642
|
};
|
13643
13643
|
var _ = BA(RA([].concat(a, g.options.modifiers)));
|
13644
|
-
return g.orderedModifiers = _.filter(function(
|
13645
|
-
return
|
13644
|
+
return g.orderedModifiers = _.filter(function(N) {
|
13645
|
+
return N.enabled;
|
13646
13646
|
}), h(), p.update();
|
13647
13647
|
},
|
13648
13648
|
forceUpdate: function() {
|
13649
13649
|
if (!m) {
|
13650
|
-
var
|
13650
|
+
var k = g.elements, v = k.reference, _ = k.popper;
|
13651
13651
|
if (Kf(v, _)) {
|
13652
13652
|
g.rects = {
|
13653
13653
|
reference: LA(v, Le(_), g.options.strategy === "fixed"),
|
@@ -13655,12 +13655,12 @@ function qA(e) {
|
|
13655
13655
|
}, g.reset = !1, g.placement = g.options.placement, g.orderedModifiers.forEach(function(C) {
|
13656
13656
|
return g.modifiersData[C.name] = Object.assign({}, C.data);
|
13657
13657
|
});
|
13658
|
-
for (var
|
13658
|
+
for (var N = 0; N < g.orderedModifiers.length; N++) {
|
13659
13659
|
if (g.reset === !0) {
|
13660
|
-
g.reset = !1,
|
13660
|
+
g.reset = !1, N = -1;
|
13661
13661
|
continue;
|
13662
13662
|
}
|
13663
|
-
var E = g.orderedModifiers[
|
13663
|
+
var E = g.orderedModifiers[N], V = E.fn, x = E.options, O = x === void 0 ? {} : x, L = E.name;
|
13664
13664
|
typeof V == "function" && (g = V({
|
13665
13665
|
state: g,
|
13666
13666
|
options: O,
|
@@ -13687,11 +13687,11 @@ function qA(e) {
|
|
13687
13687
|
});
|
13688
13688
|
function h() {
|
13689
13689
|
g.orderedModifiers.forEach(function(M) {
|
13690
|
-
var
|
13691
|
-
if (typeof
|
13692
|
-
var E =
|
13690
|
+
var k = M.name, v = M.options, _ = v === void 0 ? {} : v, N = M.effect;
|
13691
|
+
if (typeof N == "function") {
|
13692
|
+
var E = N({
|
13693
13693
|
state: g,
|
13694
|
-
name:
|
13694
|
+
name: k,
|
13695
13695
|
instance: p,
|
13696
13696
|
options: _
|
13697
13697
|
}), V = function() {
|
@@ -13710,7 +13710,7 @@ function qA(e) {
|
|
13710
13710
|
}
|
13711
13711
|
var FA = [dA, TA, rA, eA, VA, wA, zA, iA, NA], $A = /* @__PURE__ */ qA({
|
13712
13712
|
defaultModifiers: FA
|
13713
|
-
}),
|
13713
|
+
}), dn = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgOS4zODI4MTMgNCA0IDkuMzgyODEzIDQgMTYgQyA0IDIyLjYxNzE4OCA5LjM4MjgxMyAyOCAxNiAyOCBDIDIyLjYxNzE4OCAyOCAyOCAyMi42MTcxODggMjggMTYgQyAyOCA5LjM4MjgxMyAyMi42MTcxODggNCAxNiA0IFogTSAxNiA2IEMgMjEuNTM1MTU2IDYgMjYgMTAuNDY0ODQ0IDI2IDE2IEMgMjYgMjEuNTM1MTU2IDIxLjUzNTE1NiAyNiAxNiAyNiBDIDEwLjQ2NDg0NCAyNiA2IDIxLjUzNTE1NiA2IDE2IEMgNiAxMC40NjQ4NDQgMTAuNDY0ODQ0IDYgMTYgNiBaIE0gMTEuNSAxMiBDIDEwLjY3MTg3NSAxMiAxMCAxMi42NzE4NzUgMTAgMTMuNSBDIDEwIDE0LjMyODEyNSAxMC42NzE4NzUgMTUgMTEuNSAxNSBDIDEyLjMyODEyNSAxNSAxMyAxNC4zMjgxMjUgMTMgMTMuNSBDIDEzIDEyLjY3MTg3NSAxMi4zMjgxMjUgMTIgMTEuNSAxMiBaIE0gMjAuNSAxMiBDIDE5LjY3MTg3NSAxMiAxOSAxMi42NzE4NzUgMTkgMTMuNSBDIDE5IDE0LjMyODEyNSAxOS42NzE4NzUgMTUgMjAuNSAxNSBDIDIxLjMyODEyNSAxNSAyMiAxNC4zMjgxMjUgMjIgMTMuNSBDIDIyIDEyLjY3MTg3NSAyMS4zMjgxMjUgMTIgMjAuNSAxMiBaIE0gMTAuODEyNSAxOSBMIDkuMDkzNzUgMjAgQyAxMC40NzY1NjMgMjIuMzg2NzE5IDEzLjA0Njg3NSAyNCAxNiAyNCBDIDE4Ljk1MzEyNSAyNCAyMS41MjM0MzggMjIuMzg2NzE5IDIyLjkwNjI1IDIwIEwgMjEuMTg3NSAxOSBDIDIwLjE0ODQzOCAyMC43OTI5NjkgMTguMjI2NTYzIDIyIDE2IDIyIEMgMTMuNzczNDM4IDIyIDExLjg1MTU2MyAyMC43OTI5NjkgMTAuODEyNSAxOSBaIi8+PC9zdmc+";
|
13714
13714
|
function Ke(e) {
|
13715
13715
|
return e.split("-").map((f) => parseInt(f, 16)).map((f) => String.fromCodePoint(f)).join("");
|
13716
13716
|
}
|
@@ -13723,7 +13723,7 @@ function WA(e, f, n, a = []) {
|
|
13723
13723
|
e[s].forEach((i) => {
|
13724
13724
|
var l;
|
13725
13725
|
if (i[Xe][0].includes(f.toLocaleLowerCase())) {
|
13726
|
-
let r = i[
|
13726
|
+
let r = i[en];
|
13727
13727
|
if (n !== Pe && Array.isArray(i[$e])) {
|
13728
13728
|
const g = ((l = i[$e]) == null ? void 0 : l.findIndex(
|
13729
13729
|
(d) => d.includes(n)
|
@@ -13732,17 +13732,17 @@ function WA(e, f, n, a = []) {
|
|
13732
13732
|
}
|
13733
13733
|
return A.push({
|
13734
13734
|
...i,
|
13735
|
-
[
|
13735
|
+
[ze]: r
|
13736
13736
|
});
|
13737
13737
|
}
|
13738
13738
|
}), A.length && (t[s] = A);
|
13739
13739
|
}), t;
|
13740
13740
|
}
|
13741
|
-
function
|
13741
|
+
function gn() {
|
13742
13742
|
var e;
|
13743
13743
|
return (((e = navigator == null ? void 0 : navigator.userAgentData) == null ? void 0 : e.platform) || (navigator == null ? void 0 : navigator.platform) || "unknown").toUpperCase().indexOf("MAC") !== -1;
|
13744
13744
|
}
|
13745
|
-
function
|
13745
|
+
function mn(e) {
|
13746
13746
|
return e.replace(
|
13747
13747
|
/^_*(.)|_+(.)/g,
|
13748
13748
|
(f, n, a) => n ? n.toUpperCase() : " " + a.toUpperCase()
|
@@ -13754,7 +13754,7 @@ var Qe = (e, f) => {
|
|
13754
13754
|
n[a] = t;
|
13755
13755
|
return n;
|
13756
13756
|
};
|
13757
|
-
const JA =
|
13757
|
+
const JA = de({
|
13758
13758
|
name: "Body",
|
13759
13759
|
emits: {
|
13760
13760
|
select: (e) => !0
|
@@ -13765,11 +13765,11 @@ const JA = ge({
|
|
13765
13765
|
e.search,
|
13766
13766
|
e.skinTone,
|
13767
13767
|
e.options.disabledGroups
|
13768
|
-
)), s =
|
13768
|
+
)), s = kn(), A = T(() => !e.options.hideGroupNames), i = T(() => !e.options.disableStickyGroupNames), l = Pf(e.options.groupNames), r = e.orderedGroupKeys;
|
13769
13769
|
e.options.additionalGroups && Object.keys(e.options.additionalGroups).map((h) => {
|
13770
|
-
e.options.groupNames[h] ? l[h] = e.options.groupNames[h] : l[h] =
|
13770
|
+
e.options.groupNames[h] ? l[h] = e.options.groupNames[h] : l[h] = mn(h);
|
13771
13771
|
});
|
13772
|
-
const g =
|
13772
|
+
const g = gn() ? "is-mac" : "";
|
13773
13773
|
function d(h) {
|
13774
13774
|
f(h);
|
13775
13775
|
}
|
@@ -13782,10 +13782,10 @@ const JA = ge({
|
|
13782
13782
|
}
|
13783
13783
|
function p(h, I) {
|
13784
13784
|
var M;
|
13785
|
-
const
|
13786
|
-
|
13785
|
+
const k = (M = h == null ? void 0 : h.target) == null ? void 0 : M.closest("button");
|
13786
|
+
k && (k.innerHTML = `<span>${Ke(I)}</span>`);
|
13787
13787
|
}
|
13788
|
-
return
|
13788
|
+
return we(
|
13789
13789
|
() => e.activeGroup,
|
13790
13790
|
() => {
|
13791
13791
|
var h;
|
@@ -13795,14 +13795,14 @@ const JA = ge({
|
|
13795
13795
|
), {
|
13796
13796
|
emojis: t,
|
13797
13797
|
bodyInner: a,
|
13798
|
-
EMOJI_REMOTE_SRC:
|
13799
|
-
GROUP_NAMES:
|
13798
|
+
EMOJI_REMOTE_SRC: Gf,
|
13799
|
+
GROUP_NAMES: Xf,
|
13800
13800
|
handleClick: m,
|
13801
13801
|
handleError: p,
|
13802
13802
|
handleMouseEnter: d,
|
13803
13803
|
native: e.options.native,
|
13804
13804
|
unicodeToEmoji: Ke,
|
13805
|
-
EMOJI_RESULT_KEY:
|
13805
|
+
EMOJI_RESULT_KEY: ze,
|
13806
13806
|
EMOJI_NAME_KEY: Xe,
|
13807
13807
|
hasGroupNames: A,
|
13808
13808
|
isSticky: i,
|
@@ -13830,7 +13830,7 @@ function fs(e, f, n, a, t, s) {
|
|
13830
13830
|
key: 0,
|
13831
13831
|
class: D(e.isSticky ? "v3-sticky" : "")
|
13832
13832
|
}, w(e.groupNames[A]), 3)), [
|
13833
|
-
[
|
13833
|
+
[pe, e.emojis[A]]
|
13834
13834
|
]) : y("", !0),
|
13835
13835
|
te(o("div", PA, [
|
13836
13836
|
(u(!0), c(B, null, Y(e.emojis[A], (i) => (u(), c("button", {
|
@@ -13847,14 +13847,14 @@ function fs(e, f, n, a, t, s) {
|
|
13847
13847
|
}, null, 40, XA))
|
13848
13848
|
], 40, ZA))), 128))
|
13849
13849
|
], 512), [
|
13850
|
-
[
|
13850
|
+
[pe, e.emojis[A]]
|
13851
13851
|
])
|
13852
13852
|
], 8, KA))), 128)) : (u(), c("span", es, " No emoji has been found! "))
|
13853
13853
|
], 2)
|
13854
13854
|
]);
|
13855
13855
|
}
|
13856
13856
|
var ns = /* @__PURE__ */ Qe(JA, [["render", fs]]), as = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxMi41IDUgQyAxMS40Mjk2ODggNSAxMC41IDUuNjA5Mzc1IDkuOTA2MjUgNi40Mzc1IEMgOS4zMTI1IDcuMjY1NjI1IDkgOC4zMzk4NDQgOSA5LjUgQyA5IDEwLjY2MDE1NiA5LjMxMjUgMTEuNzM0Mzc1IDkuOTA2MjUgMTIuNTYyNSBDIDEwLjUgMTMuMzkwNjI1IDExLjQyOTY4OCAxNCAxMi41IDE0IEMgMTMuNTcwMzEzIDE0IDE0LjUgMTMuMzkwNjI1IDE1LjA5Mzc1IDEyLjU2MjUgQyAxNS42ODc1IDExLjczNDM3NSAxNiAxMC42NjAxNTYgMTYgOS41IEMgMTYgOC4zMzk4NDQgMTUuNjg3NSA3LjI2NTYyNSAxNS4wOTM3NSA2LjQzNzUgQyAxNC41IDUuNjA5Mzc1IDEzLjU3MDMxMyA1IDEyLjUgNSBaIE0gMTYgOS41IEMgMTYgMTAuNjYwMTU2IDE2LjMxMjUgMTEuNzM0Mzc1IDE2LjkwNjI1IDEyLjU2MjUgQyAxNy41IDEzLjM5MDYyNSAxOC40Mjk2ODggMTQgMTkuNSAxNCBDIDIwLjU3MDMxMyAxNCAyMS41IDEzLjM5MDYyNSAyMi4wOT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4zODI4MTMgMjIuNjE3MTg4IDQgMTYgNCBaIE0gMTUgOCBMIDE1IDE3IEwgMjIgMTcgTCAyMiAxNSBMIDE3IDE1IEwgMTcgOCBaIi8+PC9zdmc+Cg==";
|
13857
|
-
const rs =
|
13857
|
+
const rs = de({
|
13858
13858
|
name: "Header",
|
13859
13859
|
setup(e) {
|
13860
13860
|
const { state: f, updateSearch: n, updateActiveGroup: a } = Ge("store"), t = T(() => !f.options.hideSearch), s = T(() => !f.options.hideGroupIcons), A = JSON.parse(JSON.stringify(f.orderedGroupKeys)), i = T(
|
@@ -13866,7 +13866,7 @@ const rs = ge({
|
|
13866
13866
|
...f.groups,
|
13867
13867
|
...Object.keys(f.options.additionalGroups).map((d) => ({
|
13868
13868
|
key: d,
|
13869
|
-
title: f.options.groupNames[d] ? f.options.groupNames[d] :
|
13869
|
+
title: f.options.groupNames[d] ? f.options.groupNames[d] : mn(d)
|
13870
13870
|
}))
|
13871
13871
|
], g = [];
|
13872
13872
|
return A.forEach((d) => {
|
@@ -13881,7 +13881,7 @@ const rs = ge({
|
|
13881
13881
|
hasGroupIcons: s,
|
13882
13882
|
placeholder: i,
|
13883
13883
|
icons: {
|
13884
|
-
smileys_people:
|
13884
|
+
smileys_people: dn,
|
13885
13885
|
animals_nature: as,
|
13886
13886
|
food_drink: ts,
|
13887
13887
|
activities: As,
|
@@ -13942,14 +13942,14 @@ function bs(e, f, n, a, t, s) {
|
|
13942
13942
|
])) : y("", !0);
|
13943
13943
|
}
|
13944
13944
|
var vs = /* @__PURE__ */ Qe(rs, [["render", bs]]);
|
13945
|
-
const _s =
|
13945
|
+
const _s = de({
|
13946
13946
|
name: "Header",
|
13947
13947
|
setup() {
|
13948
13948
|
const { state: e, updateSkinTone: f } = Ge("store"), n = b(!1), a = b(!1), t = T(() => e.skinTone), s = T(
|
13949
13949
|
() => e.options.staticTexts.skinTone || "Skin tone"
|
13950
|
-
), A = T(() => !e.options.disableSkinTones), i =
|
13950
|
+
), A = T(() => !e.options.disableSkinTones), i = gn() ? "is-mac" : "", l = T(() => ({
|
13951
13951
|
...e.emoji,
|
13952
|
-
src:
|
13952
|
+
src: Gf + "/" + e.emoji[ze] + ".png"
|
13953
13953
|
}));
|
13954
13954
|
function r(m = !0) {
|
13955
13955
|
n.value = m;
|
@@ -13960,7 +13960,7 @@ const _s = ge({
|
|
13960
13960
|
function d(m) {
|
13961
13961
|
f(m), r(!1);
|
13962
13962
|
}
|
13963
|
-
return
|
13963
|
+
return we(
|
13964
13964
|
() => e.emoji,
|
13965
13965
|
() => {
|
13966
13966
|
a.value = !1;
|
@@ -13973,7 +13973,7 @@ const _s = ge({
|
|
13973
13973
|
stateSkinTone: t,
|
13974
13974
|
selectSkinTone: d,
|
13975
13975
|
toggleSkinToneState: g,
|
13976
|
-
EMOJI_RESULT_KEY:
|
13976
|
+
EMOJI_RESULT_KEY: ze,
|
13977
13977
|
EMOJI_NAME_KEY: Xe,
|
13978
13978
|
skinToneText: s,
|
13979
13979
|
hasSkinTones: A,
|
@@ -14027,7 +14027,7 @@ function Vs(e, f, n, a, t, s) {
|
|
14027
14027
|
], 32);
|
14028
14028
|
}
|
14029
14029
|
var Es = /* @__PURE__ */ Qe(_s, [["render", Vs]]);
|
14030
|
-
const Ts =
|
14030
|
+
const Ts = de({
|
14031
14031
|
name: "PickerRoot",
|
14032
14032
|
components: {
|
14033
14033
|
Header: vs,
|
@@ -14070,8 +14070,8 @@ const Ts = ge({
|
|
14070
14070
|
const { state: r } = Ge("store"), g = T(() => r.options.colorTheme);
|
14071
14071
|
function d(M) {
|
14072
14072
|
if (i) {
|
14073
|
-
const
|
14074
|
-
|
14073
|
+
const k = r.options.mode;
|
14074
|
+
k === "prepend" ? A.value = M.i + A.value : k === "insert" && l !== -1 ? (A.value = `${A.value.slice(0, l)}${M.i}${A.value.slice(l)}`, l += M.i.length) : A.value += M.i, f("update:text", A.value);
|
14075
14075
|
}
|
14076
14076
|
f("select", M);
|
14077
14077
|
}
|
@@ -14080,8 +14080,8 @@ const Ts = ge({
|
|
14080
14080
|
n.value && (l = ((M = n.value) == null ? void 0 : M.selectionEnd) || -1);
|
14081
14081
|
}
|
14082
14082
|
function p(M) {
|
14083
|
-
var
|
14084
|
-
!((
|
14083
|
+
var k;
|
14084
|
+
!((k = M.target) != null && k.closest(
|
14085
14085
|
".v3-input-picker-wrap"
|
14086
14086
|
)) && s.value && (s.value = !1);
|
14087
14087
|
}
|
@@ -14104,12 +14104,12 @@ const Ts = ge({
|
|
14104
14104
|
function I(M) {
|
14105
14105
|
A.value = M.target.value || "", f("update:text", A.value);
|
14106
14106
|
}
|
14107
|
-
return
|
14107
|
+
return Ie(() => {
|
14108
14108
|
h();
|
14109
|
-
}),
|
14109
|
+
}), Nn(() => {
|
14110
14110
|
document.body.removeEventListener("click", p);
|
14111
14111
|
}), {
|
14112
|
-
face:
|
14112
|
+
face: dn,
|
14113
14113
|
open: s,
|
14114
14114
|
onSelect: d,
|
14115
14115
|
input: A,
|
@@ -14180,7 +14180,7 @@ function Us(e, f, n, a, t, s) {
|
|
14180
14180
|
], 2));
|
14181
14181
|
}
|
14182
14182
|
var Ls = /* @__PURE__ */ Qe(Ts, [["render", Us]]);
|
14183
|
-
const Qs =
|
14183
|
+
const Qs = de({
|
14184
14184
|
name: "Picker",
|
14185
14185
|
components: {
|
14186
14186
|
PickerRoot: Ls
|
@@ -14277,7 +14277,7 @@ const Qs = ge({
|
|
14277
14277
|
staticTexts: { ...mt, ...e.staticTexts },
|
14278
14278
|
disableStickyGroupNames: e.disableStickyGroupNames,
|
14279
14279
|
disabledGroups: e.disabledGroups,
|
14280
|
-
groupNames: { ...
|
14280
|
+
groupNames: { ...Xf, ...e.groupNames },
|
14281
14281
|
disableSkinTones: e.disableSkinTones,
|
14282
14282
|
displayRecent: e.displayRecent,
|
14283
14283
|
additionalGroups: e.additionalGroups,
|
@@ -14286,7 +14286,7 @@ const Qs = ge({
|
|
14286
14286
|
groupOrder: e.groupOrder,
|
14287
14287
|
groupIcons: e.groupIcons,
|
14288
14288
|
colorTheme: pt.includes(e.theme) ? e.theme : "light"
|
14289
|
-
}),
|
14289
|
+
}), Dn("store", t), {
|
14290
14290
|
type: e.pickerType,
|
14291
14291
|
input: n,
|
14292
14292
|
onChangeText: a
|
@@ -14358,7 +14358,7 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
14358
14358
|
}, g = (d) => {
|
14359
14359
|
n.mode == "click" && s.value && !s.value.contains(d.target) && (t.value.style.display = "none");
|
14360
14360
|
};
|
14361
|
-
return
|
14361
|
+
return Ie(() => {
|
14362
14362
|
const d = {
|
14363
14363
|
top: {
|
14364
14364
|
h: -1,
|
@@ -14379,7 +14379,7 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
14379
14379
|
};
|
14380
14380
|
let m, p;
|
14381
14381
|
n.menuSide == "top" && (m = document.getElementById("container-" + n.contextMenuKey).offsetWidth, p = document.getElementById("context-menu-" + n.contextMenuKey).offsetHeight, t.value.style.left = d[n.menuSide].w * m + "px"), n.menuSide == "bottom" && (m = document.getElementById("context-menu-" + n.contextMenuKey).offsetWidth, p = document.getElementById("container-" + n.contextMenuKey).offsetHeight, t.value.style.right = d[n.menuSide].w * m + "px"), n.menuSide == "left" && (m = document.getElementById("container-" + n.contextMenuKey).offsetWidth, p = document.getElementById("context-menu-" + n.contextMenuKey).offsetHeight, t.value.style.right = d[n.menuSide].w * m + "px"), n.menuSide == "right" && (m = document.getElementById("container-" + n.contextMenuKey).offsetWidth, p = document.getElementById("context-menu-" + n.contextMenuKey).offsetHeight, t.value.style.left = d[n.menuSide].w * m + "px"), t.value.style.top = d[n.menuSide].h * p + "px", t.value.style.display = "none", document.addEventListener("click", g);
|
14382
|
-
}),
|
14382
|
+
}), En(() => {
|
14383
14383
|
document.removeEventListener("click", g);
|
14384
14384
|
}), (d, m) => (u(), c("div", {
|
14385
14385
|
id: "container-" + n.contextMenuKey,
|
@@ -14431,7 +14431,7 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
14431
14431
|
], 40, qs)
|
14432
14432
|
], 10, Rs));
|
14433
14433
|
}
|
14434
|
-
},
|
14434
|
+
}, pn = /* @__PURE__ */ j(Hs, [["__scopeId", "data-v-2eb2dd26"]]), Ks = { class: "channels__container" }, Ps = {
|
14435
14435
|
key: 0,
|
14436
14436
|
class: "channels__selected"
|
14437
14437
|
}, Zs = {
|
@@ -14468,7 +14468,7 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
14468
14468
|
])) : y("", !0),
|
14469
14469
|
o("span", Xs, w(A.value.title), 1)
|
14470
14470
|
])) : (u(), c("span", ei, "Канал не выбран")),
|
14471
|
-
S(
|
14471
|
+
S(pn, {
|
14472
14472
|
actions: e.channels,
|
14473
14473
|
mode: "hover",
|
14474
14474
|
"button-class": "pi pi-list",
|
@@ -14567,7 +14567,7 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
14567
14567
|
const n = f, a = Tn(e, "modelValue"), t = b(null), s = b(null), A = b(""), i = b(!1), l = (v) => {
|
14568
14568
|
a.value = v, i.value = !i.value;
|
14569
14569
|
}, r = T(() => !s.value || s.value === "");
|
14570
|
-
|
14570
|
+
we(
|
14571
14571
|
() => a.value,
|
14572
14572
|
() => {
|
14573
14573
|
t.value.style.height = "auto", t.value.style.height = t.value.scrollHeight + "px";
|
@@ -14575,10 +14575,10 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
14575
14575
|
);
|
14576
14576
|
const g = ["б", "Кб", "Мб", "Гб"], d = (v) => {
|
14577
14577
|
if (console.log("fileUploaded", v), v) {
|
14578
|
-
let _ = v.selectedFile.size,
|
14578
|
+
let _ = v.selectedFile.size, N = 0;
|
14579
14579
|
for (; _ > 1024; )
|
14580
|
-
_ = _ / 1024,
|
14581
|
-
_ = _.toFixed(2) + g[
|
14580
|
+
_ = _ / 1024, N++;
|
14581
|
+
_ = _.toFixed(2) + g[N], A.value = _;
|
14582
14582
|
}
|
14583
14583
|
s.value = v;
|
14584
14584
|
}, m = () => {
|
@@ -14597,7 +14597,7 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
14597
14597
|
}, M = T(() => {
|
14598
14598
|
if (document.documentElement.classList.contains("dark"))
|
14599
14599
|
return "dark";
|
14600
|
-
}),
|
14600
|
+
}), k = (v) => {
|
14601
14601
|
a.value = (a.value ? a.value : "") + v.i;
|
14602
14602
|
};
|
14603
14603
|
return (v, _) => (u(), c("div", yi, [
|
@@ -14617,7 +14617,7 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
14617
14617
|
te(o("textarea", {
|
14618
14618
|
ref_key: "refInput",
|
14619
14619
|
ref: t,
|
14620
|
-
"onUpdate:modelValue": _[0] || (_[0] = (
|
14620
|
+
"onUpdate:modelValue": _[0] || (_[0] = (N) => a.value = N),
|
14621
14621
|
class: "chat-input__input",
|
14622
14622
|
placeholder: "Type a message...",
|
14623
14623
|
onKeydown: xn(I, ["enter"]),
|
@@ -14633,13 +14633,13 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
14633
14633
|
]))
|
14634
14634
|
]),
|
14635
14635
|
o("div", Ii, [
|
14636
|
-
S(q(
|
14636
|
+
S(q(Wo), {
|
14637
14637
|
"can-upload-file": r.value,
|
14638
14638
|
onFileUploaded: d
|
14639
14639
|
}, null, 8, ["can-upload-file"]),
|
14640
14640
|
o("button", {
|
14641
14641
|
class: "chat-input__button-emoji",
|
14642
|
-
onClick: _[1] || (_[1] = (...
|
14642
|
+
onClick: _[1] || (_[1] = (...N) => v.toogleDialogEmoji && v.toogleDialogEmoji(...N))
|
14643
14643
|
}, _[5] || (_[5] = [
|
14644
14644
|
o("span", { class: "pi pi-face-smile" }, null, -1)
|
14645
14645
|
])),
|
@@ -14650,14 +14650,14 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
14650
14650
|
native: !0,
|
14651
14651
|
theme: M.value,
|
14652
14652
|
"picker-type": "",
|
14653
|
-
onSelect:
|
14653
|
+
onSelect: k
|
14654
14654
|
}, null, 8, ["theme"])
|
14655
14655
|
]),
|
14656
14656
|
_: 1
|
14657
14657
|
}),
|
14658
14658
|
o("button", {
|
14659
14659
|
class: "chat-input__button-template",
|
14660
|
-
onClick: _[2] || (_[2] = (
|
14660
|
+
onClick: _[2] || (_[2] = (N) => i.value = !i.value)
|
14661
14661
|
}, _[6] || (_[6] = [
|
14662
14662
|
o("span", { class: "pi pi-objects-column" }, null, -1)
|
14663
14663
|
])),
|
@@ -14666,7 +14666,7 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
14666
14666
|
i.value ? (u(), Q(hi, {
|
14667
14667
|
key: 0,
|
14668
14668
|
templates: e.templates.templates,
|
14669
|
-
onCloseTemplateWindow: _[3] || (_[3] = (
|
14669
|
+
onCloseTemplateWindow: _[3] || (_[3] = (N) => i.value = !i.value),
|
14670
14670
|
onPasteTemplate: l
|
14671
14671
|
}, null, 8, ["templates"])) : y("", !0)
|
14672
14672
|
]),
|
@@ -14680,7 +14680,7 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
14680
14680
|
])
|
14681
14681
|
]));
|
14682
14682
|
}
|
14683
|
-
},
|
14683
|
+
}, Z1 = /* @__PURE__ */ j(wi, [["__scopeId", "data-v-d1641393"]]), ki = { class: "chat-item__avatar-container" }, Ni = ["src"], Di = {
|
14684
14684
|
key: 1,
|
14685
14685
|
class: "pi pi-user"
|
14686
14686
|
}, ji = { class: "chat-item__info-container" }, Vi = { class: "chat-item__name" }, Ei = {
|
@@ -14701,7 +14701,7 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
14701
14701
|
}, Ci = {
|
14702
14702
|
key: 1,
|
14703
14703
|
class: "chat-item__fixed pi pi-thumbtack"
|
14704
|
-
}, Ui =
|
14704
|
+
}, Ui = {
|
14705
14705
|
__name: "ChatItem",
|
14706
14706
|
props: {
|
14707
14707
|
chat: {
|
@@ -14713,22 +14713,23 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
14713
14713
|
setup(e, { emit: f }) {
|
14714
14714
|
const n = e, a = f, t = () => {
|
14715
14715
|
a("select", n.chat);
|
14716
|
-
}, s = () => n.chat.isSelected ? "chat-item__selected" : "chat-item", A = (
|
14717
|
-
g(), a("action", { chatId: n.chat.chatId, ...
|
14716
|
+
}, s = () => n.chat.isSelected ? "chat-item__selected" : "chat-item", A = (M) => {
|
14717
|
+
g(), a("action", { chatId: n.chat.chatId, ...M });
|
14718
14718
|
}, i = b(!1), l = b(!1), r = () => {
|
14719
14719
|
l.value = !0;
|
14720
14720
|
}, g = () => {
|
14721
14721
|
l.value = !1, i.value = !1;
|
14722
|
-
}, d = T(() =>
|
14722
|
+
}, d = T(() => Ne(n.chat["lastMessage.status"]));
|
14723
14723
|
let m;
|
14724
|
-
const p = b(
|
14725
|
-
return
|
14726
|
-
n.chat.typing
|
14727
|
-
|
14728
|
-
|
14729
|
-
|
14730
|
-
|
14731
|
-
|
14724
|
+
const p = b(0), h = ["typing.", "typing..", "typing..."], I = T(() => n.chat.typing ? h[p.value] : n.chat.lastMessage);
|
14725
|
+
return we(
|
14726
|
+
() => n.chat.typing,
|
14727
|
+
() => {
|
14728
|
+
n.chat.typing ? m = setInterval(() => {
|
14729
|
+
p.value < 2 ? p.value += 1 : p.value = 0;
|
14730
|
+
}, 1e3) : (p.value = 0, clearInterval(m));
|
14731
|
+
}
|
14732
|
+
), (M, k) => (u(), c("div", {
|
14732
14733
|
class: D(s()),
|
14733
14734
|
onClick: t
|
14734
14735
|
}, [
|
@@ -14751,7 +14752,7 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
14751
14752
|
]),
|
14752
14753
|
o("div", ji, [
|
14753
14754
|
o("div", Vi, w(e.chat.name), 1),
|
14754
|
-
e.chat.lastMessage || e.chat.typing ? (u(), c("div", Ei, w(
|
14755
|
+
e.chat.lastMessage || e.chat.typing ? (u(), c("div", Ei, w(I.value), 1)) : y("", !0)
|
14755
14756
|
]),
|
14756
14757
|
o("div", Ti, [
|
14757
14758
|
e.chat["lastActivity.time"] ? (u(), c("div", xi, w(e.chat["lastActivity.time"]), 1)) : y("", !0),
|
@@ -14759,24 +14760,24 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
14759
14760
|
l.value && e.chat.actions ? (u(), c("button", {
|
14760
14761
|
key: 2,
|
14761
14762
|
class: "chat-item__menu-button",
|
14762
|
-
onClick:
|
14763
|
-
},
|
14763
|
+
onClick: k[0] || (k[0] = (v) => i.value = !i.value)
|
14764
|
+
}, k[1] || (k[1] = [
|
14764
14765
|
o("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
14765
14766
|
]))) : y("", !0),
|
14766
14767
|
e.chat.countUnread < 1 ? (u(), c("div", zi, [
|
14767
|
-
q(
|
14768
|
+
q(ke).includes(e.chat["lastMessage.status"]) ? (u(), c("div", {
|
14768
14769
|
key: 0,
|
14769
14770
|
class: D(["chat-item__status-message", d.value])
|
14770
14771
|
}, [
|
14771
14772
|
e.chat["lastMessage.status"] !== "send" ? (u(), c("span", Oi)) : y("", !0),
|
14772
|
-
|
14773
|
+
k[2] || (k[2] = o("span", { class: "pi pi-check" }, null, -1))
|
14773
14774
|
], 2)) : y("", !0),
|
14774
14775
|
e.chat.isFixedTop || e.chat.isFixedBottom ? (u(), c("span", Ci)) : y("", !0)
|
14775
14776
|
])) : y("", !0)
|
14776
14777
|
]),
|
14777
14778
|
S(H, { name: "menu" }, {
|
14778
14779
|
default: K(() => [
|
14779
|
-
i.value && e.chat.actions ? (u(), Q(
|
14780
|
+
i.value && e.chat.actions ? (u(), Q(ge, {
|
14780
14781
|
key: 0,
|
14781
14782
|
class: "chat-item__context-menu",
|
14782
14783
|
actions: e.chat.actions,
|
@@ -14788,7 +14789,7 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
14788
14789
|
], 32)
|
14789
14790
|
], 2));
|
14790
14791
|
}
|
14791
|
-
}, uf = /* @__PURE__ */ j(
|
14792
|
+
}, uf = /* @__PURE__ */ j(Ui, [["__scopeId", "data-v-95446c52"]]), Li = { class: "chat-filter" }, Qi = { class: "chat-filter__container" }, Bi = {
|
14792
14793
|
__name: "ChatFilter",
|
14793
14794
|
emits: ["update"],
|
14794
14795
|
setup(e, { emit: f }) {
|
@@ -14796,8 +14797,8 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
14796
14797
|
const s = q(n);
|
14797
14798
|
a("update", s.value);
|
14798
14799
|
};
|
14799
|
-
return (s, A) => (u(), c("div",
|
14800
|
-
o("div",
|
14800
|
+
return (s, A) => (u(), c("div", Li, [
|
14801
|
+
o("div", Qi, [
|
14801
14802
|
o("input", {
|
14802
14803
|
ref_key: "refInput",
|
14803
14804
|
ref: n,
|
@@ -14809,16 +14810,16 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
14809
14810
|
])
|
14810
14811
|
]));
|
14811
14812
|
}
|
14812
|
-
},
|
14813
|
+
}, Yi = /* @__PURE__ */ j(Bi, [["__scopeId", "data-v-f043bb19"]]), Ri = { class: "chat-list" }, qi = {
|
14813
14814
|
key: 0,
|
14814
14815
|
class: "chat-list__title"
|
14815
|
-
},
|
14816
|
+
}, Fi = {
|
14816
14817
|
key: 0,
|
14817
14818
|
class: "pi pi-minus"
|
14818
|
-
},
|
14819
|
+
}, $i = {
|
14819
14820
|
key: 1,
|
14820
14821
|
class: "pi pi-plus"
|
14821
|
-
},
|
14822
|
+
}, Wi = { class: "chat-list__items" }, Ji = { class: "chat-list__fixed-items-top" }, Hi = { class: "chat-list__scrollable-items" }, Ki = { class: "chat-list__fixed-items-bottom" }, Pi = {
|
14822
14823
|
__name: "ChatList",
|
14823
14824
|
props: {
|
14824
14825
|
title: {
|
@@ -14858,22 +14859,22 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
14858
14859
|
}).filter((d) => d.name.includes(n.value) || d.metadata.includes(n.value)), r = (d) => {
|
14859
14860
|
n.value = d;
|
14860
14861
|
}, g = (d) => A("action", d);
|
14861
|
-
return (d, m) => (u(), c("div",
|
14862
|
+
return (d, m) => (u(), c("div", Ri, [
|
14862
14863
|
o("div", {
|
14863
14864
|
class: "chat-list__title-container",
|
14864
14865
|
onMouseleave: t
|
14865
14866
|
}, [
|
14866
|
-
e.title ? (u(), c("h2",
|
14867
|
+
e.title ? (u(), c("h2", qi, w(e.title), 1)) : y("", !0),
|
14867
14868
|
e.actions.length ? (u(), c("button", {
|
14868
14869
|
key: 1,
|
14869
14870
|
class: "chat-list__button-actions",
|
14870
14871
|
onClick: m[0] || (m[0] = (p) => a.value = !a.value)
|
14871
14872
|
}, [
|
14872
|
-
a.value ? (u(), c("span",
|
14873
|
+
a.value ? (u(), c("span", Fi)) : (u(), c("span", $i))
|
14873
14874
|
])) : y("", !0),
|
14874
14875
|
S(H, null, {
|
14875
14876
|
default: K(() => [
|
14876
|
-
a.value && e.actions ? (u(), Q(
|
14877
|
+
a.value && e.actions ? (u(), Q(ge, {
|
14877
14878
|
key: 0,
|
14878
14879
|
actions: e.actions,
|
14879
14880
|
class: "chat-list__context-menu",
|
@@ -14883,13 +14884,13 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
14883
14884
|
_: 1
|
14884
14885
|
})
|
14885
14886
|
], 32),
|
14886
|
-
e.filterEnabled ? (u(), Q(
|
14887
|
+
e.filterEnabled ? (u(), Q(Yi, {
|
14887
14888
|
key: 0,
|
14888
14889
|
class: "chat-list__filter",
|
14889
14890
|
onUpdate: r
|
14890
14891
|
})) : y("", !0),
|
14891
|
-
o("div",
|
14892
|
-
o("div",
|
14892
|
+
o("div", Wi, [
|
14893
|
+
o("div", Ji, [
|
14893
14894
|
(u(!0), c(B, null, Y(l().filter((p) => p.isFixedTop), (p) => (u(), Q(uf, {
|
14894
14895
|
key: p.chatId,
|
14895
14896
|
class: "chat-list__item",
|
@@ -14898,7 +14899,7 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
14898
14899
|
onAction: g
|
14899
14900
|
}, null, 8, ["chat"]))), 128))
|
14900
14901
|
]),
|
14901
|
-
o("div",
|
14902
|
+
o("div", Hi, [
|
14902
14903
|
(u(!0), c(B, null, Y(l().filter((p) => !p.isFixedBottom && !p.isFixedTop), (p) => (u(), Q(uf, {
|
14903
14904
|
key: p.chatId,
|
14904
14905
|
class: "chat-list__item",
|
@@ -14907,7 +14908,7 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
14907
14908
|
onAction: g
|
14908
14909
|
}, null, 8, ["chat"]))), 128))
|
14909
14910
|
]),
|
14910
|
-
o("div",
|
14911
|
+
o("div", Ki, [
|
14911
14912
|
(u(!0), c(B, null, Y(l().filter((p) => p.isFixedBottom), (p) => (u(), Q(uf, {
|
14912
14913
|
key: p.chatId,
|
14913
14914
|
class: "chat-list__item",
|
@@ -14919,10 +14920,10 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
14919
14920
|
])
|
14920
14921
|
]));
|
14921
14922
|
}
|
14922
|
-
},
|
14923
|
+
}, G1 = /* @__PURE__ */ j(Pi, [["__scopeId", "data-v-56d1c0f8"]]), Zi = ["messageId"], Gi = ["src"], Xi = ["src"], eo = { class: "video-message__controls" }, fo = { class: "video-message__remaining-time" }, no = { class: "video-message__info-container" }, ao = { class: "video-message__time" }, to = {
|
14923
14924
|
key: 0,
|
14924
14925
|
class: "pi pi-check"
|
14925
|
-
},
|
14926
|
+
}, Ao = {
|
14926
14927
|
__name: "VideoMessage",
|
14927
14928
|
props: {
|
14928
14929
|
message: {
|
@@ -14939,13 +14940,13 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
14939
14940
|
l.value = !0;
|
14940
14941
|
}, g = () => {
|
14941
14942
|
l.value = !1, i.value = !1;
|
14942
|
-
}, d = T(() =>
|
14943
|
+
}, d = T(() => Ne(f.message.status));
|
14943
14944
|
function m() {
|
14944
14945
|
a.value && (t.value ? a.value.pause() : a.value.play(), t.value = !t.value);
|
14945
14946
|
}
|
14946
14947
|
const p = (I) => {
|
14947
|
-
const M = Math.floor(I / 60),
|
14948
|
-
return `${M.toString().padStart(2, "0")}:${
|
14948
|
+
const M = Math.floor(I / 60), k = Math.floor(I % 60);
|
14949
|
+
return `${M.toString().padStart(2, "0")}:${k.toString().padStart(2, "0")}`;
|
14949
14950
|
}, h = T(() => {
|
14950
14951
|
if (a.value) {
|
14951
14952
|
if (A.value >= s.value)
|
@@ -14957,7 +14958,7 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
14957
14958
|
} else
|
14958
14959
|
return "";
|
14959
14960
|
});
|
14960
|
-
return
|
14961
|
+
return Ie(() => {
|
14961
14962
|
a.value.addEventListener("loadedmetadata", () => {
|
14962
14963
|
s.value = a.value.duration;
|
14963
14964
|
}), a.value.addEventListener("timeupdate", () => {
|
@@ -14975,7 +14976,7 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
14975
14976
|
height: "32",
|
14976
14977
|
width: "32",
|
14977
14978
|
style: z({ gridRow: e.message.subText ? "2" : "1" })
|
14978
|
-
}, null, 12,
|
14979
|
+
}, null, 12, Gi)) : y("", !0),
|
14979
14980
|
o("div", {
|
14980
14981
|
class: "video-message__content",
|
14981
14982
|
onMouseenter: r
|
@@ -14985,8 +14986,8 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
14985
14986
|
ref: a,
|
14986
14987
|
class: "video-message__video",
|
14987
14988
|
src: e.message.url
|
14988
|
-
}, null, 8,
|
14989
|
-
o("div",
|
14989
|
+
}, null, 8, Xi),
|
14990
|
+
o("div", eo, [
|
14990
14991
|
S(H, null, {
|
14991
14992
|
default: K(() => [
|
14992
14993
|
te(o("button", {
|
@@ -14995,7 +14996,7 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
14995
14996
|
}, M[1] || (M[1] = [
|
14996
14997
|
o("span", { class: "pi pi-play" }, null, -1)
|
14997
14998
|
]), 512), [
|
14998
|
-
[
|
14999
|
+
[pe, !t.value]
|
14999
15000
|
])
|
15000
15001
|
]),
|
15001
15002
|
_: 1
|
@@ -15004,19 +15005,19 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15004
15005
|
class: "video-message__pause",
|
15005
15006
|
onClick: m
|
15006
15007
|
}, null, 512), [
|
15007
|
-
[
|
15008
|
+
[pe, t.value]
|
15008
15009
|
])
|
15009
15010
|
]),
|
15010
15011
|
l.value && e.message.actions ? (u(), c("button", {
|
15011
15012
|
key: 0,
|
15012
15013
|
class: "video-message__menu-button",
|
15013
|
-
onClick: M[0] || (M[0] = (
|
15014
|
+
onClick: M[0] || (M[0] = (k) => i.value = !i.value)
|
15014
15015
|
}, M[2] || (M[2] = [
|
15015
15016
|
o("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
15016
15017
|
]))) : y("", !0),
|
15017
15018
|
S(H, null, {
|
15018
15019
|
default: K(() => [
|
15019
|
-
i.value && e.message.actions ? (u(), Q(
|
15020
|
+
i.value && e.message.actions ? (u(), Q(ge, {
|
15020
15021
|
key: 0,
|
15021
15022
|
class: "video-message__context-menu",
|
15022
15023
|
actions: e.message.actions,
|
@@ -15025,14 +15026,14 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15025
15026
|
]),
|
15026
15027
|
_: 1
|
15027
15028
|
}),
|
15028
|
-
o("p",
|
15029
|
-
o("div",
|
15030
|
-
o("span",
|
15031
|
-
n(e.message) === "video-message__right" && q(
|
15029
|
+
o("p", fo, w(`${h.value}`), 1),
|
15030
|
+
o("div", no, [
|
15031
|
+
o("span", ao, w(e.message.time), 1),
|
15032
|
+
n(e.message) === "video-message__right" && q(ke).includes(e.message.status) ? (u(), c("div", {
|
15032
15033
|
key: 0,
|
15033
15034
|
class: D(["video-message__status", d.value])
|
15034
15035
|
}, [
|
15035
|
-
e.message.status !== "sent" ? (u(), c("span",
|
15036
|
+
e.message.status !== "sent" ? (u(), c("span", to)) : y("", !0),
|
15036
15037
|
M[3] || (M[3] = o("span", { class: "pi pi-check" }, null, -1))
|
15037
15038
|
], 2)) : y("", !0)
|
15038
15039
|
]),
|
@@ -15040,27 +15041,27 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15040
15041
|
o("span", { class: "pi pi-download" })
|
15041
15042
|
], -1))
|
15042
15043
|
], 32)
|
15043
|
-
], 42,
|
15044
|
+
], 42, Zi));
|
15044
15045
|
}
|
15045
|
-
},
|
15046
|
+
}, so = /* @__PURE__ */ j(Ao, [["__scopeId", "data-v-6882e877"]]), io = { class: "call-message" }, oo = ["messageId"], uo = ["src"], lo = {
|
15046
15047
|
key: 1,
|
15047
15048
|
class: "call-message__subtext"
|
15048
|
-
},
|
15049
|
+
}, ro = { class: "call-message__content" }, co = {
|
15049
15050
|
key: 0,
|
15050
15051
|
class: "call-message__title"
|
15051
|
-
},
|
15052
|
+
}, go = {
|
15052
15053
|
key: 1,
|
15053
15054
|
class: "call-message__title"
|
15054
|
-
},
|
15055
|
+
}, mo = {
|
15055
15056
|
key: 2,
|
15056
15057
|
class: "call-message__duration"
|
15057
|
-
},
|
15058
|
+
}, po = {
|
15058
15059
|
key: 3,
|
15059
15060
|
class: "call-message__duration"
|
15060
|
-
},
|
15061
|
+
}, Mo = {
|
15061
15062
|
key: 4,
|
15062
15063
|
class: "call-message__duration"
|
15063
|
-
},
|
15064
|
+
}, ho = { class: "call-message__info-container" }, yo = { class: "call-message__time" }, bo = {
|
15064
15065
|
__name: "CallMessage",
|
15065
15066
|
props: {
|
15066
15067
|
message: {
|
@@ -15072,7 +15073,7 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15072
15073
|
function f(n) {
|
15073
15074
|
return n.position === "left" ? "call-message__left" : "call-message__right";
|
15074
15075
|
}
|
15075
|
-
return (n, a) => (u(), c("div",
|
15076
|
+
return (n, a) => (u(), c("div", io, [
|
15076
15077
|
o("div", {
|
15077
15078
|
class: D(f(e.message)),
|
15078
15079
|
messageId: e.message.messageId
|
@@ -15084,23 +15085,23 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15084
15085
|
height: "32",
|
15085
15086
|
width: "32",
|
15086
15087
|
style: z({ gridRow: e.message.subText ? "2" : "1" })
|
15087
|
-
}, null, 12,
|
15088
|
-
e.message.subText ? (u(), c("p",
|
15089
|
-
o("div",
|
15088
|
+
}, null, 12, uo)) : y("", !0),
|
15089
|
+
e.message.subText ? (u(), c("p", lo, w(e.message.subText), 1)) : y("", !0),
|
15090
|
+
o("div", ro, [
|
15090
15091
|
o("span", {
|
15091
15092
|
class: "call-message__icon pi pi-phone",
|
15092
15093
|
style: z({ color: e.message.isMissedCall ? "var(--p-red-500)" : "var(--neutral-100)" })
|
15093
15094
|
}, null, 4),
|
15094
|
-
e.message.isMissedCall ? (u(), c("span",
|
15095
|
-
e.message.callDuration ? (u(), c("span",
|
15096
|
-
o("div",
|
15097
|
-
o("span",
|
15095
|
+
e.message.isMissedCall ? (u(), c("span", go, "Пропущенный аудиозвонок")) : (u(), c("span", co, "Аудиозвонок")),
|
15096
|
+
e.message.callDuration ? (u(), c("span", mo, w(e.message.callDuration), 1)) : !e.message.callDuration && e.message.isMissedCall ? (u(), c("span", po, "Нажмите, чтобы перезвонить")) : (u(), c("span", Mo, "Нет ответа")),
|
15097
|
+
o("div", ho, [
|
15098
|
+
o("span", yo, w(e.message.time), 1)
|
15098
15099
|
])
|
15099
15100
|
])
|
15100
|
-
], 10,
|
15101
|
+
], 10, oo)
|
15101
15102
|
]));
|
15102
15103
|
}
|
15103
|
-
},
|
15104
|
+
}, vo = /* @__PURE__ */ j(bo, [["__scopeId", "data-v-8790e89d"]]), _o = { class: "system-message" }, Io = { class: "system-message__container" }, wo = { class: "system-message__text" }, ko = {
|
15104
15105
|
__name: "SystemMessage",
|
15105
15106
|
props: {
|
15106
15107
|
message: {
|
@@ -15109,16 +15110,16 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15109
15110
|
}
|
15110
15111
|
},
|
15111
15112
|
setup(e) {
|
15112
|
-
return (f, n) => (u(), c("div",
|
15113
|
-
o("div",
|
15114
|
-
o("p",
|
15113
|
+
return (f, n) => (u(), c("div", _o, [
|
15114
|
+
o("div", Io, [
|
15115
|
+
o("p", wo, w(e.message.text), 1)
|
15115
15116
|
])
|
15116
15117
|
]));
|
15117
15118
|
}
|
15118
|
-
},
|
15119
|
+
}, No = /* @__PURE__ */ j(ko, [["__scopeId", "data-v-b17746f3"]]), Do = { class: "typing-message" }, jo = { class: "typing-message__container" }, Vo = ["src"], Eo = {
|
15119
15120
|
key: 1,
|
15120
15121
|
class: "typing-message__subtext"
|
15121
|
-
},
|
15122
|
+
}, To = {
|
15122
15123
|
__name: "TypingMessage",
|
15123
15124
|
props: {
|
15124
15125
|
message: {
|
@@ -15127,8 +15128,8 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15127
15128
|
}
|
15128
15129
|
},
|
15129
15130
|
setup(e) {
|
15130
|
-
return (f, n) => (u(), c("div",
|
15131
|
-
o("div",
|
15131
|
+
return (f, n) => (u(), c("div", Do, [
|
15132
|
+
o("div", jo, [
|
15132
15133
|
e.message.avatar ? (u(), c("img", {
|
15133
15134
|
key: 0,
|
15134
15135
|
class: "typing-message__avatar",
|
@@ -15136,15 +15137,15 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15136
15137
|
height: "32",
|
15137
15138
|
width: "32",
|
15138
15139
|
style: z({ gridRow: e.message.subText ? "2" : "1" })
|
15139
|
-
}, null, 12,
|
15140
|
-
e.message.subText ? (u(), c("p",
|
15140
|
+
}, null, 12, Vo)) : y("", !0),
|
15141
|
+
e.message.subText ? (u(), c("p", Eo, w(e.message.subText), 1)) : y("", !0),
|
15141
15142
|
n[0] || (n[0] = o("div", { class: "typing-message__loader-container" }, [
|
15142
15143
|
o("div", { class: "typing-message__loader" })
|
15143
15144
|
], -1))
|
15144
15145
|
])
|
15145
15146
|
]));
|
15146
15147
|
}
|
15147
|
-
},
|
15148
|
+
}, xo = /* @__PURE__ */ j(To, [["__scopeId", "data-v-6ffe329a"]]), So = { class: "message-feed__container" }, zo = {
|
15148
15149
|
__name: "Feed",
|
15149
15150
|
props: {
|
15150
15151
|
objects: {
|
@@ -15173,11 +15174,11 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15173
15174
|
"message.image": ca,
|
15174
15175
|
"message.file": Xn,
|
15175
15176
|
"message.audio": Sa,
|
15176
|
-
"message.video":
|
15177
|
-
"message.call":
|
15178
|
-
"message.system":
|
15177
|
+
"message.video": so,
|
15178
|
+
"message.call": vo,
|
15179
|
+
"message.system": No,
|
15179
15180
|
"system.date": La,
|
15180
|
-
"message.typing":
|
15181
|
+
"message.typing": xo
|
15181
15182
|
})[d];
|
15182
15183
|
function l() {
|
15183
15184
|
t.isScrollToBottomOnUpdateObjectsEnabled && lf(function() {
|
@@ -15191,7 +15192,7 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15191
15192
|
d.scrollTop = d.scrollHeight;
|
15192
15193
|
});
|
15193
15194
|
}
|
15194
|
-
Sn(() => l),
|
15195
|
+
Sn(() => l), we(() => t.objects, l);
|
15195
15196
|
const g = (d) => {
|
15196
15197
|
s("messageAction", d);
|
15197
15198
|
};
|
@@ -15201,7 +15202,7 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15201
15202
|
class: "message-feed",
|
15202
15203
|
onScroll: A
|
15203
15204
|
}, [
|
15204
|
-
o("div",
|
15205
|
+
o("div", So, [
|
15205
15206
|
(u(!0), c(B, null, Y(e.objects, (p) => (u(), Q(zn(i(p.type)), {
|
15206
15207
|
key: p.messageId,
|
15207
15208
|
class: "message-feed__message",
|
@@ -15228,13 +15229,13 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15228
15229
|
})
|
15229
15230
|
], 544));
|
15230
15231
|
}
|
15231
|
-
},
|
15232
|
+
}, X1 = /* @__PURE__ */ j(zo, [["__scopeId", "data-v-47c13ea8"]]), Oo = { class: "profile" }, Co = {
|
15232
15233
|
key: 0,
|
15233
15234
|
class: "profile__container"
|
15234
|
-
},
|
15235
|
+
}, Uo = {
|
15235
15236
|
key: 0,
|
15236
15237
|
class: "profile__avatar-container"
|
15237
|
-
},
|
15238
|
+
}, Lo = ["src"], Qo = { class: "profile__name" }, Bo = { class: "profile__email" }, Yo = { class: "profile__phone" }, Ro = {
|
15238
15239
|
__name: "UserProfile",
|
15239
15240
|
props: {
|
15240
15241
|
user: {
|
@@ -15243,9 +15244,9 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15243
15244
|
}
|
15244
15245
|
},
|
15245
15246
|
setup(e) {
|
15246
|
-
return (f, n) => (u(), c("div",
|
15247
|
-
e.user ? (u(), c("div",
|
15248
|
-
e.user.avatar ? (u(), c("div",
|
15247
|
+
return (f, n) => (u(), c("div", Oo, [
|
15248
|
+
e.user ? (u(), c("div", Co, [
|
15249
|
+
e.user.avatar ? (u(), c("div", Uo, [
|
15249
15250
|
o("span", {
|
15250
15251
|
class: "profile__status",
|
15251
15252
|
style: z({ backgroundColor: e.user.status })
|
@@ -15254,15 +15255,15 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15254
15255
|
src: e.user.avatar,
|
15255
15256
|
height: "48",
|
15256
15257
|
width: "48"
|
15257
|
-
}, null, 8,
|
15258
|
+
}, null, 8, Lo)
|
15258
15259
|
])) : y("", !0),
|
15259
|
-
o("h2",
|
15260
|
-
o("p",
|
15261
|
-
o("p",
|
15260
|
+
o("h2", Qo, w(e.user.name), 1),
|
15261
|
+
o("p", Bo, w(e.user.email), 1),
|
15262
|
+
o("p", Yo, w(e.user.phone), 1)
|
15262
15263
|
])) : y("", !0)
|
15263
15264
|
]));
|
15264
15265
|
}
|
15265
|
-
},
|
15266
|
+
}, eu = /* @__PURE__ */ j(Ro, [["__scopeId", "data-v-db3ba19b"]]), qo = { key: 0 }, Fo = { key: 1 }, $o = {
|
15266
15267
|
__name: "FileUploader",
|
15267
15268
|
props: {
|
15268
15269
|
canUploadFile: {
|
@@ -15299,7 +15300,7 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15299
15300
|
prime: "file"
|
15300
15301
|
}
|
15301
15302
|
], m = f;
|
15302
|
-
|
15303
|
+
we(
|
15303
15304
|
() => n.canUploadFile,
|
15304
15305
|
() => {
|
15305
15306
|
lf(() => {
|
@@ -15312,8 +15313,8 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15312
15313
|
}, h = (_) => {
|
15313
15314
|
p(), console.log("onFileSelected", _.target.files[0]), a.value = _.target.files[0], a.value && (I(), M());
|
15314
15315
|
}, I = () => {
|
15315
|
-
const _ = a.value,
|
15316
|
-
if (i.value = !1, l.value = !1, r.value = !1,
|
15316
|
+
const _ = a.value, N = Cf(_.type);
|
15317
|
+
if (i.value = !1, l.value = !1, r.value = !1, N === "image" ? i.value = !0 : N === "video" ? l.value = !0 : N === "audio" && (r.value = !0), i.value || l.value) {
|
15317
15318
|
const E = new FileReader();
|
15318
15319
|
E.onload = (V) => {
|
15319
15320
|
A.value = V.target.result;
|
@@ -15324,10 +15325,10 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15324
15325
|
t.value = "uploading";
|
15325
15326
|
const _ = new FormData();
|
15326
15327
|
_.append("file", a.value);
|
15327
|
-
const
|
15328
|
+
const N = "https://filebump.services.mobilon.ru/upload";
|
15328
15329
|
try {
|
15329
15330
|
const V = await (await fetch(
|
15330
|
-
|
15331
|
+
N,
|
15331
15332
|
{
|
15332
15333
|
method: "POST",
|
15333
15334
|
body: _
|
@@ -15347,17 +15348,17 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15347
15348
|
} catch (E) {
|
15348
15349
|
console.error("Ошибка при загрузке файла:", E), t.value = "error";
|
15349
15350
|
}
|
15350
|
-
},
|
15351
|
+
}, k = (_) => {
|
15351
15352
|
g.value && n.canUploadFile && (g.value.accept = _.action, g.value.click());
|
15352
15353
|
}, v = () => {
|
15353
15354
|
g.value && n.canUploadFile && g.value.click();
|
15354
15355
|
};
|
15355
|
-
return (_,
|
15356
|
+
return (_, N) => (u(), c("div", {
|
15356
15357
|
class: D(["uploader-container", { "storybook-container": e.storybook }])
|
15357
15358
|
}, [
|
15358
|
-
t.value === "uploading" ? (u(), c("div",
|
15359
|
+
t.value === "uploading" ? (u(), c("div", qo, N[0] || (N[0] = [
|
15359
15360
|
o("p", null, "Загрузка файла...", -1)
|
15360
|
-
]))) : t.value === "error" ? (u(), c("div",
|
15361
|
+
]))) : t.value === "error" ? (u(), c("div", Fo, N[1] || (N[1] = [
|
15361
15362
|
o("p", null, "Ошибка при загрузке файла.", -1)
|
15362
15363
|
]))) : (u(), c("div", {
|
15363
15364
|
key: 2,
|
@@ -15369,20 +15370,20 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15369
15370
|
type: "file",
|
15370
15371
|
onChange: h
|
15371
15372
|
}, null, 544),
|
15372
|
-
S(
|
15373
|
+
S(pn, {
|
15373
15374
|
actions: d,
|
15374
15375
|
mode: "hover",
|
15375
15376
|
"button-class": "pi pi-file-arrow-up",
|
15376
15377
|
"menu-side": "top",
|
15377
15378
|
"context-menu-key": "file-uploader",
|
15378
15379
|
disabled: !e.canUploadFile,
|
15379
|
-
onClick:
|
15380
|
+
onClick: k,
|
15380
15381
|
onButtonClick: v
|
15381
15382
|
}, null, 8, ["disabled"])
|
15382
15383
|
], 2))
|
15383
15384
|
], 2));
|
15384
15385
|
}
|
15385
|
-
},
|
15386
|
+
}, Wo = /* @__PURE__ */ j($o, [["__scopeId", "data-v-d58a941d"]]), Jo = { key: 0 }, Ho = ["value", "selected"], Ko = {
|
15386
15387
|
__name: "ThemeMode",
|
15387
15388
|
props: {
|
15388
15389
|
themes: {
|
@@ -15401,10 +15402,10 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15401
15402
|
}, t = (s) => {
|
15402
15403
|
document.documentElement.dataset.theme = s;
|
15403
15404
|
};
|
15404
|
-
return
|
15405
|
+
return Ie(() => {
|
15405
15406
|
const s = n();
|
15406
15407
|
t(s);
|
15407
|
-
}), (s, A) => e.show ? (u(), c("div",
|
15408
|
+
}), (s, A) => e.show ? (u(), c("div", Jo, [
|
15408
15409
|
o("select", {
|
15409
15410
|
onChange: A[0] || (A[0] = (i) => a(i))
|
15410
15411
|
}, [
|
@@ -15412,11 +15413,11 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15412
15413
|
key: l,
|
15413
15414
|
value: i.code,
|
15414
15415
|
selected: i.default === !0
|
15415
|
-
}, w(i.name), 9,
|
15416
|
+
}, w(i.name), 9, Ho))), 128))
|
15416
15417
|
], 32)
|
15417
15418
|
])) : y("", !0);
|
15418
15419
|
}
|
15419
|
-
},
|
15420
|
+
}, fu = /* @__PURE__ */ j(Ko, [["__scopeId", "data-v-be17a762"]]), Po = { class: "sidebar" }, Zo = { class: "sidebar__container" }, Go = { class: "sidebar__list" }, Xo = ["onClick"], e1 = ["src", "alt"], f1 = { key: 1 }, n1 = { class: "sidebar__list-fixed" }, a1 = ["onClick"], t1 = ["src", "alt"], A1 = { key: 1 }, s1 = {
|
15420
15421
|
__name: "SideBar",
|
15421
15422
|
props: {
|
15422
15423
|
sidebarItems: {
|
@@ -15434,9 +15435,9 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15434
15435
|
const l = i.split(" ");
|
15435
15436
|
return l.length > 2 ? l.slice(0, 2).join(" ") : i;
|
15436
15437
|
};
|
15437
|
-
return (i, l) => (u(), c("div",
|
15438
|
-
o("div",
|
15439
|
-
o("ul",
|
15438
|
+
return (i, l) => (u(), c("div", Po, [
|
15439
|
+
o("div", Zo, [
|
15440
|
+
o("ul", Go, [
|
15440
15441
|
(u(!0), c(B, null, Y(a.value.filter((r) => !r.isFixedBottom), (r, g) => (u(), c("li", {
|
15441
15442
|
key: g,
|
15442
15443
|
class: "sidebar__item",
|
@@ -15446,15 +15447,15 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15446
15447
|
src: r.icon,
|
15447
15448
|
alt: r.name,
|
15448
15449
|
class: D(["sidebar__image", { "sidebar__image--active": r.selected === !0 }])
|
15449
|
-
}, null, 10,
|
15450
|
+
}, null, 10, e1),
|
15450
15451
|
r.notificationCount ? (u(), c("span", {
|
15451
15452
|
key: 0,
|
15452
15453
|
style: z({ backgroundColor: r.notificationColor ? r.notificationColor : "red" })
|
15453
15454
|
}, w(r.notificationCount > 99 ? "99+" : r.notificationCount), 5)) : y("", !0),
|
15454
|
-
r.name ? (u(), c("p",
|
15455
|
-
], 8,
|
15455
|
+
r.name ? (u(), c("p", f1, w(A(r.name)), 1)) : y("", !0)
|
15456
|
+
], 8, Xo))), 128))
|
15456
15457
|
]),
|
15457
|
-
o("ul",
|
15458
|
+
o("ul", n1, [
|
15458
15459
|
(u(!0), c(B, null, Y(a.value.filter((r) => r.isFixedBottom), (r, g) => (u(), c("li", {
|
15459
15460
|
key: g,
|
15460
15461
|
class: "sidebar__item",
|
@@ -15464,21 +15465,21 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15464
15465
|
src: r.icon,
|
15465
15466
|
alt: r.name,
|
15466
15467
|
class: D(["sidebar__image", { "sidebar__image--active": r.selected === !0 }])
|
15467
|
-
}, null, 10,
|
15468
|
+
}, null, 10, t1),
|
15468
15469
|
r.notificationCount ? (u(), c("span", {
|
15469
15470
|
key: 0,
|
15470
15471
|
style: z({ backgroundColor: r.notificationColor ? r.notificationColor : "red" })
|
15471
15472
|
}, w(r.notificationCount > 99 ? "99+" : r.notificationCount), 5)) : y("", !0),
|
15472
|
-
r.name ? (u(), c("p",
|
15473
|
-
], 8,
|
15473
|
+
r.name ? (u(), c("p", A1, w(A(r.name)), 1)) : y("", !0)
|
15474
|
+
], 8, a1))), 128))
|
15474
15475
|
])
|
15475
15476
|
])
|
15476
15477
|
]));
|
15477
15478
|
}
|
15478
|
-
},
|
15479
|
+
}, nu = /* @__PURE__ */ j(s1, [["__scopeId", "data-v-5e22516c"]]), i1 = { class: "chat-panel" }, o1 = { class: "chat-panel__title-container" }, u1 = {
|
15479
15480
|
key: 0,
|
15480
15481
|
class: "chat-panel__title"
|
15481
|
-
},
|
15482
|
+
}, l1 = {
|
15482
15483
|
__name: "ChatPanel",
|
15483
15484
|
props: {
|
15484
15485
|
title: {
|
@@ -15489,9 +15490,9 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15489
15490
|
},
|
15490
15491
|
emits: ["close-panel"],
|
15491
15492
|
setup(e, { emit: f }) {
|
15492
|
-
return (n, a) => (u(), c("div",
|
15493
|
-
o("div",
|
15494
|
-
e.title ? (u(), c("p",
|
15493
|
+
return (n, a) => (u(), c("div", i1, [
|
15494
|
+
o("div", o1, [
|
15495
|
+
e.title ? (u(), c("p", u1, w(e.title), 1)) : y("", !0),
|
15495
15496
|
o("button", {
|
15496
15497
|
class: "chat-panel__button-close",
|
15497
15498
|
onClick: a[0] || (a[0] = (t) => n.$emit("close-panel"))
|
@@ -15504,10 +15505,10 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15504
15505
|
])
|
15505
15506
|
]));
|
15506
15507
|
}
|
15507
|
-
},
|
15508
|
+
}, au = /* @__PURE__ */ j(l1, [["__scopeId", "data-v-1f6ac199"]]), r1 = {
|
15508
15509
|
key: 0,
|
15509
15510
|
class: "new-chat-modal"
|
15510
|
-
},
|
15511
|
+
}, c1 = { class: "modal-content" }, d1 = { class: "participant-list" }, g1 = ["id", "value"], m1 = ["for"], p1 = {
|
15511
15512
|
__name: "SelectUser",
|
15512
15513
|
props: {
|
15513
15514
|
users: {
|
@@ -15531,10 +15532,10 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15531
15532
|
A(), i();
|
15532
15533
|
};
|
15533
15534
|
return (r, g) => (u(), c("div", null, [
|
15534
|
-
n.value ? (u(), c("div",
|
15535
|
-
o("div",
|
15535
|
+
n.value ? (u(), c("div", r1, [
|
15536
|
+
o("div", c1, [
|
15536
15537
|
o("h2", null, w(e.title), 1),
|
15537
|
-
o("div",
|
15538
|
+
o("div", d1, [
|
15538
15539
|
(u(!0), c(B, null, Y(e.users, (d) => (u(), c("div", {
|
15539
15540
|
key: d.userId,
|
15540
15541
|
class: "participant-item"
|
@@ -15544,12 +15545,12 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15544
15545
|
"onUpdate:modelValue": g[0] || (g[0] = (m) => a.value = m),
|
15545
15546
|
type: "checkbox",
|
15546
15547
|
value: d.userId
|
15547
|
-
}, null, 8,
|
15548
|
+
}, null, 8, g1), [
|
15548
15549
|
[Cn, a.value]
|
15549
15550
|
]),
|
15550
15551
|
o("label", {
|
15551
15552
|
for: d.userId
|
15552
|
-
}, w(d.name || "unknown username"), 9,
|
15553
|
+
}, w(d.name || "unknown username"), 9, m1)
|
15553
15554
|
]))), 128))
|
15554
15555
|
]),
|
15555
15556
|
o("div", { class: "modal-actions" }, [
|
@@ -15560,15 +15561,15 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15560
15561
|
])) : y("", !0)
|
15561
15562
|
]));
|
15562
15563
|
}
|
15563
|
-
},
|
15564
|
+
}, tu = /* @__PURE__ */ j(p1, [["__scopeId", "data-v-66249b80"]]), M1 = { class: "modal-backdrop" }, h1 = {
|
15564
15565
|
class: "modal",
|
15565
15566
|
role: "dialog",
|
15566
15567
|
"aria-labelledby": "modalTitle",
|
15567
15568
|
"aria-describedby": "modalDescription"
|
15568
|
-
},
|
15569
|
+
}, y1 = {
|
15569
15570
|
id: "modalDescription",
|
15570
15571
|
class: "modal-body"
|
15571
|
-
},
|
15572
|
+
}, b1 = { class: "buttons" }, v1 = {
|
15572
15573
|
__name: "Modal",
|
15573
15574
|
emits: ["close", "submit"],
|
15574
15575
|
setup(e, { emit: f }) {
|
@@ -15577,12 +15578,12 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15577
15578
|
}, t = b(null);
|
15578
15579
|
return (s, A) => (u(), Q(H, { name: "modal-fade" }, {
|
15579
15580
|
default: K(() => [
|
15580
|
-
o("div",
|
15581
|
-
o("div",
|
15582
|
-
o("div",
|
15581
|
+
o("div", M1, [
|
15582
|
+
o("div", h1, [
|
15583
|
+
o("div", y1, [
|
15583
15584
|
J(s.$slots, "default", {}, void 0, !0)
|
15584
15585
|
]),
|
15585
|
-
o("div",
|
15586
|
+
o("div", b1, [
|
15586
15587
|
o("button", {
|
15587
15588
|
type: "button",
|
15588
15589
|
class: "btn-green",
|
@@ -15602,7 +15603,7 @@ const Rs = ["id"], qs = ["id"], Fs = { class: "context-menu__container" }, $s =
|
|
15602
15603
|
_: 3
|
15603
15604
|
}));
|
15604
15605
|
}
|
15605
|
-
},
|
15606
|
+
}, _1 = /* @__PURE__ */ j(v1, [["__scopeId", "data-v-d48a1772"]]);
|
15606
15607
|
function wf({ component: e, attrs: f }) {
|
15607
15608
|
return new Promise((n) => {
|
15608
15609
|
const a = document.createElement("div");
|
@@ -15614,10 +15615,10 @@ function wf({ component: e, attrs: f }) {
|
|
15614
15615
|
}, i = (g) => {
|
15615
15616
|
const d = Object.keys(g)[0];
|
15616
15617
|
t.value[d] = g[d];
|
15617
|
-
}, l =
|
15618
|
+
}, l = de({
|
15618
15619
|
render() {
|
15619
15620
|
return Of(
|
15620
|
-
|
15621
|
+
_1,
|
15621
15622
|
{
|
15622
15623
|
onSubmit: A,
|
15623
15624
|
onClose: s
|
@@ -15637,17 +15638,17 @@ function wf({ component: e, attrs: f }) {
|
|
15637
15638
|
r.mount(a);
|
15638
15639
|
});
|
15639
15640
|
}
|
15640
|
-
const
|
15641
|
+
const Au = async (e, f) => {
|
15641
15642
|
const n = await wf({
|
15642
15643
|
//в component должен быть встроен emit change(key: value)
|
15643
|
-
component: import("./SelectUser2-
|
15644
|
+
component: import("./SelectUser2-DraKH910.js"),
|
15644
15645
|
attrs: {
|
15645
15646
|
title: e,
|
15646
15647
|
users: f
|
15647
15648
|
}
|
15648
15649
|
});
|
15649
15650
|
return console.log("data", n), n;
|
15650
|
-
},
|
15651
|
+
}, su = async (e) => {
|
15651
15652
|
const f = await wf({
|
15652
15653
|
//в component должен быть встроен emit change(key: value)
|
15653
15654
|
component: import("./CreateChat-fkFKBxtQ.js"),
|
@@ -15656,20 +15657,20 @@ const su = async (e, f) => {
|
|
15656
15657
|
}
|
15657
15658
|
});
|
15658
15659
|
return console.log("data", f), f;
|
15659
|
-
},
|
15660
|
+
}, iu = async (e) => await wf({
|
15660
15661
|
//в component должен быть встроен emit change(key: value)
|
15661
15662
|
component: import("./CreateChat2-DgUQ2F5L.js"),
|
15662
15663
|
attrs: {
|
15663
15664
|
title: e
|
15664
15665
|
}
|
15665
|
-
}),
|
15666
|
+
}), I1 = { class: "base" }, ou = {
|
15666
15667
|
__name: "BaseContainer",
|
15667
15668
|
props: {
|
15668
15669
|
height: String,
|
15669
15670
|
width: String
|
15670
15671
|
},
|
15671
15672
|
setup(e) {
|
15672
|
-
return (f, n) => (u(), c("div",
|
15673
|
+
return (f, n) => (u(), c("div", I1, [
|
15673
15674
|
o("div", {
|
15674
15675
|
class: "base__container",
|
15675
15676
|
style: z({ height: e.height, width: e.width })
|
@@ -15678,7 +15679,7 @@ const su = async (e, f) => {
|
|
15678
15679
|
], 4)
|
15679
15680
|
]));
|
15680
15681
|
}
|
15681
|
-
},
|
15682
|
+
}, w1 = { class: "float-window__container" }, k1 = ["src", "alt"], N1 = { class: "float-window__title" }, D1 = {
|
15682
15683
|
__name: "FloatContainer",
|
15683
15684
|
props: {
|
15684
15685
|
title: {
|
@@ -15700,8 +15701,8 @@ const su = async (e, f) => {
|
|
15700
15701
|
setup(e, { emit: f }) {
|
15701
15702
|
const n = e, a = b({ x: 0, y: 0 }), t = b(null), s = b(null), A = b(!1), i = b(0), l = b(0), r = b(0), g = () => {
|
15702
15703
|
if (t.value) {
|
15703
|
-
const h = window.innerWidth, I = window.innerHeight, M = t.value.offsetWidth,
|
15704
|
-
a.value.x = (h - M) / 2, a.value.y = (I -
|
15704
|
+
const h = window.innerWidth, I = window.innerHeight, M = t.value.offsetWidth, k = t.value.offsetHeight;
|
15705
|
+
a.value.x = (h - M) / 2, a.value.y = (I - k) / 2;
|
15705
15706
|
}
|
15706
15707
|
}, d = (h) => {
|
15707
15708
|
A.value = !0, i.value = h.clientX - t.value.offsetLeft, l.value = h.clientY - t.value.offsetTop;
|
@@ -15717,7 +15718,7 @@ const su = async (e, f) => {
|
|
15717
15718
|
);
|
15718
15719
|
}
|
15719
15720
|
};
|
15720
|
-
return
|
15721
|
+
return Ie(() => {
|
15721
15722
|
g(), document.addEventListener("mousemove", p), window.addEventListener("resize", () => {
|
15722
15723
|
a.value.x = Math.max(
|
15723
15724
|
0,
|
@@ -15746,7 +15747,7 @@ const su = async (e, f) => {
|
|
15746
15747
|
display: h.flex
|
15747
15748
|
})
|
15748
15749
|
}, [
|
15749
|
-
o("div",
|
15750
|
+
o("div", w1, [
|
15750
15751
|
o("div", {
|
15751
15752
|
ref_key: "container",
|
15752
15753
|
ref: s,
|
@@ -15761,8 +15762,8 @@ const su = async (e, f) => {
|
|
15761
15762
|
class: "float-window__avatar",
|
15762
15763
|
src: n.avatar,
|
15763
15764
|
alt: n.title
|
15764
|
-
}, null, 8,
|
15765
|
-
o("p",
|
15765
|
+
}, null, 8, k1)) : y("", !0),
|
15766
|
+
o("p", N1, w(n.title), 1),
|
15766
15767
|
o("button", {
|
15767
15768
|
class: "float-window__close-button",
|
15768
15769
|
onClick: I[0] || (I[0] = (M) => h.$emit("close-window"))
|
@@ -15779,18 +15780,18 @@ const su = async (e, f) => {
|
|
15779
15780
|
])
|
15780
15781
|
], 4));
|
15781
15782
|
}
|
15782
|
-
},
|
15783
|
-
function
|
15784
|
-
return u(), c("div",
|
15785
|
-
o("div",
|
15783
|
+
}, uu = /* @__PURE__ */ j(D1, [["__scopeId", "data-v-9a949e0f"]]), j1 = {}, V1 = { class: "base-layout__container" }, E1 = { class: "base-layout__first-col" }, T1 = { class: "base-layout__second-col" };
|
15784
|
+
function x1(e, f) {
|
15785
|
+
return u(), c("div", V1, [
|
15786
|
+
o("div", E1, [
|
15786
15787
|
J(e.$slots, "first-col", {}, void 0, !0)
|
15787
15788
|
]),
|
15788
|
-
o("div",
|
15789
|
+
o("div", T1, [
|
15789
15790
|
J(e.$slots, "second-col", {}, void 0, !0)
|
15790
15791
|
])
|
15791
15792
|
]);
|
15792
15793
|
}
|
15793
|
-
const
|
15794
|
+
const lu = /* @__PURE__ */ j(j1, [["render", x1], ["__scopeId", "data-v-93dc265d"]]), S1 = { class: "extend-layout__container" }, z1 = { class: "extend-layout__first-col" }, O1 = { class: "extend-layout__third-col" }, C1 = {
|
15794
15795
|
__name: "ExtendedLayout",
|
15795
15796
|
setup(e) {
|
15796
15797
|
const f = b(null);
|
@@ -15805,8 +15806,8 @@ const ru = /* @__PURE__ */ j(V1, [["render", S1], ["__scopeId", "data-v-93dc265d
|
|
15805
15806
|
}, l = () => {
|
15806
15807
|
n.value = !1, document.removeEventListener("mousemove", i);
|
15807
15808
|
};
|
15808
|
-
return (r, g) => (u(), c("div",
|
15809
|
-
o("div",
|
15809
|
+
return (r, g) => (u(), c("div", S1, [
|
15810
|
+
o("div", z1, [
|
15810
15811
|
J(r.$slots, "first-col", {}, void 0, !0)
|
15811
15812
|
]),
|
15812
15813
|
o("div", {
|
@@ -15819,26 +15820,26 @@ const ru = /* @__PURE__ */ j(V1, [["render", S1], ["__scopeId", "data-v-93dc265d
|
|
15819
15820
|
}, [
|
15820
15821
|
J(r.$slots, "second-col", {}, void 0, !0)
|
15821
15822
|
], 36),
|
15822
|
-
o("div",
|
15823
|
+
o("div", O1, [
|
15823
15824
|
J(r.$slots, "third-col", {}, void 0, !0)
|
15824
15825
|
])
|
15825
15826
|
]));
|
15826
15827
|
}
|
15827
|
-
},
|
15828
|
-
function
|
15829
|
-
return u(), c("div",
|
15830
|
-
o("div",
|
15828
|
+
}, ru = /* @__PURE__ */ j(C1, [["__scopeId", "data-v-57ef5c30"]]), U1 = {}, L1 = { class: "base-layout__container" }, Q1 = { class: "base-layout__first-col" };
|
15829
|
+
function B1(e, f) {
|
15830
|
+
return u(), c("div", L1, [
|
15831
|
+
o("div", Q1, [
|
15831
15832
|
J(e.$slots, "default", {}, void 0, !0)
|
15832
15833
|
])
|
15833
15834
|
]);
|
15834
15835
|
}
|
15835
|
-
const
|
15836
|
+
const cu = /* @__PURE__ */ j(U1, [["render", B1], ["__scopeId", "data-v-e71ea0ed"]]), Y1 = { class: "chat-wrapper" }, R1 = {
|
15836
15837
|
key: 0,
|
15837
15838
|
class: "chat-wrapper__selected-chat"
|
15838
|
-
},
|
15839
|
+
}, q1 = {
|
15839
15840
|
key: 1,
|
15840
15841
|
style: { width: "100%" }
|
15841
|
-
},
|
15842
|
+
}, F1 = /* @__PURE__ */ de({
|
15842
15843
|
__name: "ChatWrapper",
|
15843
15844
|
props: {
|
15844
15845
|
isOpenChatPanel: {
|
@@ -15851,10 +15852,10 @@ const du = /* @__PURE__ */ j(L1, [["render", Y1], ["__scopeId", "data-v-e71ea0ed
|
|
15851
15852
|
}
|
15852
15853
|
},
|
15853
15854
|
setup(e) {
|
15854
|
-
return (f, n) => (u(), c("div",
|
15855
|
-
e.isSelectedChat ? (u(), c("div",
|
15855
|
+
return (f, n) => (u(), c("div", Y1, [
|
15856
|
+
e.isSelectedChat ? (u(), c("div", R1, [
|
15856
15857
|
J(f.$slots, "default", {}, void 0, !0)
|
15857
|
-
])) : (u(), c("div",
|
15858
|
+
])) : (u(), c("div", q1, n[0] || (n[0] = [
|
15858
15859
|
o("p", null, " Выберите контакт для начала общения ", -1)
|
15859
15860
|
]))),
|
15860
15861
|
e.isOpenChatPanel ? (u(), c("div", {
|
@@ -15866,43 +15867,43 @@ const du = /* @__PURE__ */ j(L1, [["render", Y1], ["__scopeId", "data-v-e71ea0ed
|
|
15866
15867
|
], 4)) : y("", !0)
|
15867
15868
|
]));
|
15868
15869
|
}
|
15869
|
-
}),
|
15870
|
+
}), du = /* @__PURE__ */ j(F1, [["__scopeId", "data-v-885e7d38"]]);
|
15870
15871
|
export {
|
15871
15872
|
Sa as A,
|
15872
|
-
|
15873
|
-
|
15873
|
+
pn as B,
|
15874
|
+
P1 as C,
|
15874
15875
|
La as D,
|
15875
|
-
|
15876
|
+
ru as E,
|
15876
15877
|
Xn as F,
|
15877
15878
|
ca as I,
|
15878
|
-
|
15879
|
+
nu as S,
|
15879
15880
|
_a as T,
|
15880
|
-
|
15881
|
+
eu as U,
|
15881
15882
|
j as _,
|
15882
|
-
|
15883
|
-
|
15884
|
-
|
15885
|
-
|
15886
|
-
|
15887
|
-
|
15883
|
+
Z1 as a,
|
15884
|
+
G1 as b,
|
15885
|
+
X1 as c,
|
15886
|
+
Wo as d,
|
15887
|
+
fu as e,
|
15888
|
+
au as f,
|
15888
15889
|
ni as g,
|
15889
15890
|
uf as h,
|
15890
|
-
|
15891
|
+
Yi as i,
|
15891
15892
|
hi as j,
|
15892
|
-
|
15893
|
-
|
15894
|
-
|
15895
|
-
|
15896
|
-
|
15897
|
-
|
15898
|
-
|
15899
|
-
|
15900
|
-
|
15901
|
-
|
15902
|
-
|
15903
|
-
|
15904
|
-
|
15893
|
+
tu as k,
|
15894
|
+
su as l,
|
15895
|
+
iu as m,
|
15896
|
+
ou as n,
|
15897
|
+
uu as o,
|
15898
|
+
lu as p,
|
15899
|
+
cu as q,
|
15900
|
+
du as r,
|
15901
|
+
W1 as s,
|
15902
|
+
J1 as t,
|
15903
|
+
Au as u,
|
15904
|
+
H1 as v,
|
15905
|
+
K1 as w,
|
15905
15906
|
Cf as x,
|
15906
|
-
|
15907
|
-
|
15907
|
+
ke as y,
|
15908
|
+
Ne as z
|
15908
15909
|
};
|