@mobilon-dev/chotto 0.0.88 → 0.0.89
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 { inject as
|
1
|
+
import { inject as ie, openBlock as A, createElementBlock as u, createElementVNode as o, createCommentVNode as b, toDisplayString as D, renderSlot as ne, unref as T, ref as M, customRef as Hn, defineComponent as W, watch as Z, nextTick as Mt, withDirectives as ve, withKeys as Hf, vModelText as jt, normalizeClass as C, createVNode as P, Transition as X, withCtx as J, createBlock as R, Fragment as q, renderList as fe, computed as B, resolveDynamicComponent as Wn, Teleport as Be, normalizeStyle as se, useId as Wf, onMounted as le, onUnmounted as He, toRef as Sa, vModelRadio as Kn, reactive as Jn, provide as bf, getCurrentInstance as Ca, toRaw as Gn, onBeforeUnmount as Oa, readonly as za, vShow as _t, resolveComponent as Qt, withModifiers as It, h as wn, defineAsyncComponent as La, createApp as Ua } from "vue";
|
2
2
|
const Ba = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", Qa = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", Xe = (e, t) => {
|
3
3
|
for (const f in t)
|
4
4
|
e[f] = t[f];
|
@@ -144,17 +144,17 @@ ue.prototype = {
|
|
144
144
|
return a.j[e] = i, i;
|
145
145
|
}
|
146
146
|
};
|
147
|
-
const $ = (e, t, f, n, a) => e.ta(t, f, n, a), te = (e, t, f, n, a) => e.tr(t, f, n, a), kn = (e, t, f, n, a) => e.ts(t, f, n, a), I = (e, t, f, n, a) => e.tt(t, f, n, a), Ve = "WORD", Qf = "UWORD", Xn = "ASCIINUMERICAL", ea = "ALPHANUMERICAL",
|
147
|
+
const $ = (e, t, f, n, a) => e.ta(t, f, n, a), te = (e, t, f, n, a) => e.tr(t, f, n, a), kn = (e, t, f, n, a) => e.ts(t, f, n, a), I = (e, t, f, n, a) => e.tt(t, f, n, a), Ve = "WORD", Qf = "UWORD", Xn = "ASCIINUMERICAL", ea = "ALPHANUMERICAL", wt = "LOCALHOST", Rf = "TLD", Yf = "UTLD", Rt = "SCHEME", Ze = "SLASH_SCHEME", Kf = "NUM", $f = "WS", Jf = "NL", gt = "OPENBRACE", mt = "CLOSEBRACE", Pt = "OPENBRACKET", Ft = "CLOSEBRACKET", qt = "OPENPAREN", Ht = "CLOSEPAREN", Wt = "OPENANGLEBRACKET", Kt = "CLOSEANGLEBRACKET", Jt = "FULLWIDTHLEFTPAREN", Gt = "FULLWIDTHRIGHTPAREN", Zt = "LEFTCORNERBRACKET", Xt = "RIGHTCORNERBRACKET", ef = "LEFTWHITECORNERBRACKET", tf = "RIGHTWHITECORNERBRACKET", ff = "FULLWIDTHLESSTHAN", nf = "FULLWIDTHGREATERTHAN", af = "AMPERSAND", Gf = "APOSTROPHE", sf = "ASTERISK", ze = "AT", of = "BACKSLASH", lf = "BACKTICK", Af = "CARET", Le = "COLON", Zf = "COMMA", rf = "DOLLAR", ke = "DOT", cf = "EQUALS", Xf = "EXCLAMATION", he = "HYPHEN", pt = "PERCENT", uf = "PIPE", df = "PLUS", gf = "POUND", ht = "QUERY", en = "QUOTE", ta = "FULLWIDTHMIDDLEDOT", tn = "SEMI", Ne = "SLASH", yt = "TILDE", mf = "UNDERSCORE", fa = "EMOJI", pf = "SYM";
|
148
148
|
var na = /* @__PURE__ */ Object.freeze({
|
149
149
|
__proto__: null,
|
150
150
|
WORD: Ve,
|
151
151
|
UWORD: Qf,
|
152
152
|
ASCIINUMERICAL: Xn,
|
153
153
|
ALPHANUMERICAL: ea,
|
154
|
-
LOCALHOST:
|
154
|
+
LOCALHOST: wt,
|
155
155
|
TLD: Rf,
|
156
156
|
UTLD: Yf,
|
157
|
-
SCHEME:
|
157
|
+
SCHEME: Rt,
|
158
158
|
SLASH_SCHEME: Ze,
|
159
159
|
NUM: Kf,
|
160
160
|
WS: $f,
|
@@ -205,12 +205,12 @@ var na = /* @__PURE__ */ Object.freeze({
|
|
205
205
|
});
|
206
206
|
const Te = /[a-z]/, At = new RegExp("\\p{L}", "u"), Df = new RegExp("\\p{Emoji}", "u"), xe = /\d/, Ef = /\s/, Nn = "\r", jf = `
|
207
207
|
`, Fa = "️", qa = "", Tf = "";
|
208
|
-
let
|
208
|
+
let Ot = null, zt = null;
|
209
209
|
function Ha(e = []) {
|
210
210
|
const t = {};
|
211
211
|
ue.groups = t;
|
212
212
|
const f = new ue();
|
213
|
-
|
213
|
+
Ot == null && (Ot = Dn(Ba)), zt == null && (zt = Dn(Qa)), I(f, "'", Gf), I(f, "{", gt), I(f, "}", mt), I(f, "[", Pt), I(f, "]", Ft), I(f, "(", qt), I(f, ")", Ht), I(f, "<", Wt), I(f, ">", Kt), I(f, "(", Jt), I(f, ")", Gt), I(f, "「", Zt), I(f, "」", Xt), I(f, "『", ef), I(f, "』", tf), I(f, "<", ff), I(f, ">", nf), I(f, "&", af), I(f, "*", sf), I(f, "@", ze), I(f, "`", lf), I(f, "^", Af), I(f, ":", Le), I(f, ",", Zf), I(f, "$", rf), I(f, ".", ke), I(f, "=", cf), I(f, "!", Xf), I(f, "-", he), I(f, "%", pt), I(f, "|", uf), I(f, "+", df), I(f, "#", gf), I(f, "?", ht), I(f, '"', en), I(f, "/", Ne), I(f, ";", tn), I(f, "~", yt), I(f, "_", mf), I(f, "\\", of), I(f, "・", ta);
|
214
214
|
const n = te(f, xe, Kf, {
|
215
215
|
[zf]: !0
|
216
216
|
});
|
@@ -239,35 +239,35 @@ function Ha(e = []) {
|
|
239
239
|
[Zn]: !0
|
240
240
|
});
|
241
241
|
I(g, "#"), te(g, Df, g), I(g, Fa, g);
|
242
|
-
const
|
243
|
-
I(
|
242
|
+
const h = I(g, qa);
|
243
|
+
I(h, "#"), te(h, Df, g);
|
244
244
|
const p = [[Te, i], [xe, a]], m = [[Te, null], [At, l], [xe, s]];
|
245
|
-
for (let
|
246
|
-
Oe(f,
|
247
|
-
for (let
|
248
|
-
Oe(f,
|
245
|
+
for (let y = 0; y < Ot.length; y++)
|
246
|
+
Oe(f, Ot[y], Rf, Ve, p);
|
247
|
+
for (let y = 0; y < zt.length; y++)
|
248
|
+
Oe(f, zt[y], Yf, Qf, m);
|
249
249
|
Fe(Rf, {
|
250
250
|
tld: !0,
|
251
251
|
ascii: !0
|
252
252
|
}, t), Fe(Yf, {
|
253
253
|
utld: !0,
|
254
254
|
alpha: !0
|
255
|
-
}, t), Oe(f, "file",
|
255
|
+
}, t), Oe(f, "file", Rt, Ve, p), Oe(f, "mailto", Rt, Ve, p), Oe(f, "http", Ze, Ve, p), Oe(f, "https", Ze, Ve, p), Oe(f, "ftp", Ze, Ve, p), Oe(f, "ftps", Ze, Ve, p), Fe(Rt, {
|
256
256
|
scheme: !0,
|
257
257
|
ascii: !0
|
258
258
|
}, t), Fe(Ze, {
|
259
259
|
slashscheme: !0,
|
260
260
|
ascii: !0
|
261
|
-
}, t), e = e.sort((
|
262
|
-
for (let
|
263
|
-
const v = e[
|
261
|
+
}, t), e = e.sort((y, v) => y[0] > v[0] ? 1 : -1);
|
262
|
+
for (let y = 0; y < e.length; y++) {
|
263
|
+
const v = e[y][0], O = e[y][1] ? {
|
264
264
|
[Ra]: !0
|
265
265
|
} : {
|
266
266
|
[Ya]: !0
|
267
267
|
};
|
268
268
|
v.indexOf("-") >= 0 ? O[Bf] = !0 : Te.test(v) ? xe.test(v) ? O[dt] = !0 : O[Lf] = !0 : O[zf] = !0, kn(f, v, v, O);
|
269
269
|
}
|
270
|
-
return kn(f, "localhost",
|
270
|
+
return kn(f, "localhost", wt, {
|
271
271
|
ascii: !0
|
272
272
|
}), f.jd = new ue(pf), {
|
273
273
|
start: f,
|
@@ -280,10 +280,10 @@ function aa(e, t) {
|
|
280
280
|
const f = Wa(t.replace(/[A-Z]/g, (l) => l.toLowerCase())), n = f.length, a = [];
|
281
281
|
let s = 0, i = 0;
|
282
282
|
for (; i < n; ) {
|
283
|
-
let l = e, c = null, r = 0, d = null, g = -1,
|
283
|
+
let l = e, c = null, r = 0, d = null, g = -1, h = -1;
|
284
284
|
for (; i < n && (c = l.go(f[i])); )
|
285
|
-
l = c, l.accepts() ? (g = 0,
|
286
|
-
s -= g, i -=
|
285
|
+
l = c, l.accepts() ? (g = 0, h = 0, d = l) : g >= 0 && (g += f[i].length, h++), r += f[i].length, s += f[i].length, i++;
|
286
|
+
s -= g, i -= h, r -= g, a.push({
|
287
287
|
t: d.t,
|
288
288
|
// token type/name
|
289
289
|
v: t.slice(s - r, s),
|
@@ -331,7 +331,7 @@ function Dn(e) {
|
|
331
331
|
}
|
332
332
|
return t;
|
333
333
|
}
|
334
|
-
const
|
334
|
+
const kt = {
|
335
335
|
defaultProtocol: "http",
|
336
336
|
events: null,
|
337
337
|
format: En,
|
@@ -348,7 +348,7 @@ const wt = {
|
|
348
348
|
render: null
|
349
349
|
};
|
350
350
|
function fn(e, t = null) {
|
351
|
-
let f = Xe({},
|
351
|
+
let f = Xe({}, kt);
|
352
352
|
e && (f = Xe(f, e instanceof fn ? e.o : e));
|
353
353
|
const n = f.ignoreTags, a = [];
|
354
354
|
for (let s = 0; s < n.length; s++)
|
@@ -356,7 +356,7 @@ function fn(e, t = null) {
|
|
356
356
|
this.o = f, t && (this.defaultRender = t), this.ignoreTags = a;
|
357
357
|
}
|
358
358
|
fn.prototype = {
|
359
|
-
o:
|
359
|
+
o: kt,
|
360
360
|
/**
|
361
361
|
* @type string[]
|
362
362
|
*/
|
@@ -392,7 +392,7 @@ fn.prototype = {
|
|
392
392
|
get(e, t, f) {
|
393
393
|
const n = t != null;
|
394
394
|
let a = this.o[e];
|
395
|
-
return a && (typeof a == "object" ? (a = f.t in a ? a[f.t] :
|
395
|
+
return a && (typeof a == "object" ? (a = f.t in a ? a[f.t] : kt[e], typeof a == "function" && n && (a = a(t, f))) : typeof a == "function" && n && (a = a(t, f.t, f)), a);
|
396
396
|
},
|
397
397
|
/**
|
398
398
|
* @template {keyof Opts} L
|
@@ -481,7 +481,7 @@ sa.prototype = {
|
|
481
481
|
@method toObject
|
482
482
|
@param {string} [protocol] `'http'` by default
|
483
483
|
*/
|
484
|
-
toObject(e =
|
484
|
+
toObject(e = kt.defaultProtocol) {
|
485
485
|
return {
|
486
486
|
type: this.t,
|
487
487
|
value: this.toString(),
|
@@ -542,7 +542,7 @@ const jn = Mf("email", {
|
|
542
542
|
toHref() {
|
543
543
|
return "mailto:" + this.toString();
|
544
544
|
}
|
545
|
-
}), Tn = Mf("text"), Ka = Mf("nl"),
|
545
|
+
}), Tn = Mf("text"), Ka = Mf("nl"), Lt = Mf("url", {
|
546
546
|
isLink: !0,
|
547
547
|
/**
|
548
548
|
Lowercases relevant parts of the domain and adds the protocol if
|
@@ -551,7 +551,7 @@ const jn = Mf("email", {
|
|
551
551
|
@param {string} [scheme] default scheme (e.g., 'https')
|
552
552
|
@return {string} the full href
|
553
553
|
*/
|
554
|
-
toHref(e =
|
554
|
+
toHref(e = kt.defaultProtocol) {
|
555
555
|
return this.hasProtocol() ? this.v : `${e}://${this.v}`;
|
556
556
|
},
|
557
557
|
/**
|
@@ -560,7 +560,7 @@ const jn = Mf("email", {
|
|
560
560
|
*/
|
561
561
|
hasProtocol() {
|
562
562
|
const e = this.tk;
|
563
|
-
return e.length >= 2 && e[0].t !==
|
563
|
+
return e.length >= 2 && e[0].t !== wt && e[1].t === Le;
|
564
564
|
}
|
565
565
|
}), me = (e) => new ue(e);
|
566
566
|
function Ja({
|
@@ -576,21 +576,21 @@ function Ja({
|
|
576
576
|
$(d, n, s), $(d, e.domain, s);
|
577
577
|
const g = me();
|
578
578
|
$(r, e.domain, g), $(g, e.domain, g);
|
579
|
-
const
|
580
|
-
$(
|
579
|
+
const h = I(g, ke);
|
580
|
+
$(h, e.domain, g);
|
581
581
|
const p = me(jn);
|
582
|
-
$(
|
582
|
+
$(h, e.tld, p), $(h, e.utld, p), I(r, wt, p);
|
583
583
|
const m = I(g, he);
|
584
|
-
I(m, he, m), $(m, e.domain, g), $(p, e.domain, g), I(p, ke,
|
585
|
-
const
|
586
|
-
$(
|
584
|
+
I(m, he, m), $(m, e.domain, g), $(p, e.domain, g), I(p, ke, h), I(p, he, m);
|
585
|
+
const y = I(p, Le);
|
586
|
+
$(y, e.numeric, jn);
|
587
587
|
const v = I(i, he), x = I(i, ke);
|
588
588
|
I(v, he, v), $(v, e.domain, i), $(x, n, s), $(x, e.domain, i);
|
589
|
-
const O = me(
|
589
|
+
const O = me(Lt);
|
590
590
|
$(x, e.tld, O), $(x, e.utld, O), $(O, e.domain, i), $(O, n, s), I(O, ke, x), I(O, he, v), I(O, ze, r);
|
591
|
-
const z = I(O, Le), V = me(
|
591
|
+
const z = I(O, Le), V = me(Lt);
|
592
592
|
$(z, e.numeric, V);
|
593
|
-
const k = me(
|
593
|
+
const k = me(Lt), E = me();
|
594
594
|
$(k, t, k), $(k, f, E), $(E, t, k), $(E, f, E), I(O, Ne, k), I(V, Ne, k);
|
595
595
|
const _ = I(l, Le), w = I(c, Le), N = I(w, Ne), j = I(N, Ne);
|
596
596
|
$(l, e.domain, i), I(l, ke, x), I(l, he, v), $(c, e.domain, i), I(c, ke, x), I(c, he, v), $(_, e.domain, k), I(_, Ne, k), I(_, ht, k), $(j, e.domain, k), $(j, t, k), I(j, Ne, k);
|
@@ -613,14 +613,14 @@ function Ja({
|
|
613
613
|
// <>
|
614
614
|
];
|
615
615
|
for (let L = 0; L < Q.length; L++) {
|
616
|
-
const [H, G] = Q[L],
|
617
|
-
I(E, H,
|
618
|
-
const K = me(
|
619
|
-
$(
|
616
|
+
const [H, G] = Q[L], oe = I(k, H);
|
617
|
+
I(E, H, oe), I(oe, G, k);
|
618
|
+
const K = me(Lt);
|
619
|
+
$(oe, t, K);
|
620
620
|
const ee = me();
|
621
|
-
$(
|
621
|
+
$(oe, f), $(K, t, K), $(K, f, ee), $(ee, t, K), $(ee, f, ee), I(K, G, k), I(ee, G, k);
|
622
622
|
}
|
623
|
-
return I(a,
|
623
|
+
return I(a, wt, O), I(a, Jf, Ka), {
|
624
624
|
start: a,
|
625
625
|
tokens: na
|
626
626
|
};
|
@@ -628,15 +628,15 @@ function Ja({
|
|
628
628
|
function Ga(e, t, f) {
|
629
629
|
let n = f.length, a = 0, s = [], i = [];
|
630
630
|
for (; a < n; ) {
|
631
|
-
let l = e, c = null, r = null, d = 0, g = null,
|
631
|
+
let l = e, c = null, r = null, d = 0, g = null, h = -1;
|
632
632
|
for (; a < n && !(c = l.go(f[a].t)); )
|
633
633
|
i.push(f[a++]);
|
634
634
|
for (; a < n && (r = c || l.go(f[a].t)); )
|
635
|
-
c = null, l = r, l.accepts() ? (
|
636
|
-
if (
|
635
|
+
c = null, l = r, l.accepts() ? (h = 0, g = l) : h >= 0 && h++, a++, d++;
|
636
|
+
if (h < 0)
|
637
637
|
a -= d, a < n && (i.push(f[a]), a++);
|
638
638
|
else {
|
639
|
-
i.length > 0 && (s.push(xf(Tn, t, i)), i = []), a -=
|
639
|
+
i.length > 0 && (s.push(xf(Tn, t, i)), i = []), a -= h, d -= h;
|
640
640
|
const p = g.t, m = f.slice(a - d, a);
|
641
641
|
s.push(xf(p, t, m));
|
642
642
|
}
|
@@ -739,7 +739,7 @@ const U = (e, t) => {
|
|
739
739
|
},
|
740
740
|
emits: ["returnToChats"],
|
741
741
|
setup(e, { emit: t }) {
|
742
|
-
const f = e, n = t, a =
|
742
|
+
const f = e, n = t, a = ie("chatAppId");
|
743
743
|
return (s, i) => e.chat ? (A(), u("div", fs, [
|
744
744
|
o("div", ns, [
|
745
745
|
e.showReturnButton ? (A(), u("span", {
|
@@ -771,7 +771,7 @@ const U = (e, t) => {
|
|
771
771
|
], 8, cs)
|
772
772
|
])) : b("", !0);
|
773
773
|
}
|
774
|
-
},
|
774
|
+
}, Od = /* @__PURE__ */ U(us, [["__scopeId", "data-v-30704e45"]]), pe = M([]), We = (e) => {
|
775
775
|
const t = M(0);
|
776
776
|
let f = pe.value.find(({ id: g }) => g == e);
|
777
777
|
f != null ? t.value = pe.value.indexOf(f) : (pe.value.push({
|
@@ -924,29 +924,29 @@ const ys = { class: "chat-input__container" }, vs = ["id"], bs = ["id"], Ms = {
|
|
924
924
|
},
|
925
925
|
emits: ["send", "typing"],
|
926
926
|
setup(e, { emit: t }) {
|
927
|
-
const f = t, n =
|
928
|
-
|
927
|
+
const f = t, n = ie("chatAppId"), { resetMessage: a, getMessage: s, setMessageText: i, setForceSendMessage: l } = We(n), c = M(), r = hs("", 2e3), d = e;
|
928
|
+
Z(
|
929
929
|
() => r.value,
|
930
930
|
() => {
|
931
931
|
console.log("emit typing"), f("typing");
|
932
932
|
}
|
933
|
-
),
|
933
|
+
), Z(
|
934
934
|
() => d.focusOnInputArea,
|
935
935
|
() => {
|
936
|
-
console.log(d.focusOnInputArea), d.focusOnInputArea &&
|
936
|
+
console.log(d.focusOnInputArea), d.focusOnInputArea && Mt(() => {
|
937
937
|
const m = T(c);
|
938
938
|
m == null || m.focus();
|
939
939
|
});
|
940
940
|
},
|
941
941
|
{ immediate: !0 }
|
942
|
-
),
|
942
|
+
), Z(
|
943
943
|
() => s().text,
|
944
944
|
() => {
|
945
|
-
|
945
|
+
Mt(function() {
|
946
946
|
r.value = s().text, c.value && (c.value.style.height = "auto", c.value.style.height = c.value.scrollHeight + "px");
|
947
947
|
});
|
948
948
|
}
|
949
|
-
),
|
949
|
+
), Z(
|
950
950
|
() => s().forceSend,
|
951
951
|
() => {
|
952
952
|
s().forceSend && (p(), l(!1));
|
@@ -954,15 +954,15 @@ const ys = { class: "chat-input__container" }, vs = ["id"], bs = ["id"], Ms = {
|
|
954
954
|
);
|
955
955
|
const g = (m) => {
|
956
956
|
f("typing", m.target.value);
|
957
|
-
},
|
957
|
+
}, h = (m) => {
|
958
958
|
if (m.ctrlKey) {
|
959
|
-
let
|
959
|
+
let y = m.target.selectionStart;
|
960
960
|
m.target.setRangeText(`
|
961
|
-
`,
|
961
|
+
`, y, y, "end"), i(m.target.value);
|
962
962
|
} else
|
963
963
|
m.preventDefault(), p();
|
964
964
|
}, p = () => {
|
965
|
-
var
|
965
|
+
var y;
|
966
966
|
const m = M(s());
|
967
967
|
if (m.value.text != "" || m.value.file) {
|
968
968
|
const v = {
|
@@ -973,10 +973,10 @@ const ys = { class: "chat-input__container" }, vs = ["id"], bs = ["id"], Ms = {
|
|
973
973
|
size: "",
|
974
974
|
reply: void 0
|
975
975
|
};
|
976
|
-
m.value.file ? (v.type = "message." + m.value.file.type, v.url = m.value.file.url, v.filename = m.value.file.name, v.size = m.value.file.size.toString(), v.text = (
|
976
|
+
m.value.file ? (v.type = "message." + m.value.file.type, v.url = m.value.file.url, v.filename = m.value.file.name, v.size = m.value.file.size.toString(), v.text = (y = m == null ? void 0 : m.value) == null ? void 0 : y.text.trim()) : (v.type = "message.text", v.text = m.value.text.trim()), m.value.reply && (v.reply = m.value.reply), f("send", v), a(), c.value && c.value.focus();
|
977
977
|
}
|
978
978
|
};
|
979
|
-
return (m,
|
979
|
+
return (m, y) => (A(), u("div", ys, [
|
980
980
|
o("div", {
|
981
981
|
id: "chat-input-reply-line-" + T(n),
|
982
982
|
class: "chat-input__reply-line"
|
@@ -990,18 +990,18 @@ const ys = { class: "chat-input__container" }, vs = ["id"], bs = ["id"], Ms = {
|
|
990
990
|
disabled: e.state == "disabled",
|
991
991
|
ref_key: "refInput",
|
992
992
|
ref: c,
|
993
|
-
"onUpdate:modelValue":
|
993
|
+
"onUpdate:modelValue": y[0] || (y[0] = (v) => T(s)().text = v),
|
994
994
|
class: "chat-input__input",
|
995
995
|
placeholder: T(de)("component.ChatInput.InputPlaceholder"),
|
996
|
-
onKeydown: Hf(
|
996
|
+
onKeydown: Hf(h, ["enter"]),
|
997
997
|
onInput: g
|
998
998
|
}, null, 40, _s), [
|
999
|
-
[
|
999
|
+
[jt, T(s)().text]
|
1000
1000
|
]),
|
1001
1001
|
o("button", {
|
1002
1002
|
class: C(["chat-input__button-send", { "chat-input__button-send-disabled": T(s)().text == "" && !T(s)().file }]),
|
1003
1003
|
onClick: p
|
1004
|
-
},
|
1004
|
+
}, y[1] || (y[1] = [
|
1005
1005
|
o("span", { class: "pi pi-send" }, null, -1)
|
1006
1006
|
]), 2)
|
1007
1007
|
]),
|
@@ -1010,7 +1010,7 @@ const ys = { class: "chat-input__container" }, vs = ["id"], bs = ["id"], Ms = {
|
|
1010
1010
|
])
|
1011
1011
|
]));
|
1012
1012
|
}
|
1013
|
-
}),
|
1013
|
+
}), zd = /* @__PURE__ */ U(ws, [["__scopeId", "data-v-3bc1d228"]]), ks = { class: "chat-list" }, Ns = { class: "chat-list__title" }, Ds = {
|
1014
1014
|
key: 0,
|
1015
1015
|
class: "pi pi-minus"
|
1016
1016
|
}, Es = {
|
@@ -1041,8 +1041,8 @@ const ys = { class: "chat-input__container" }, vs = ["id"], bs = ["id"], Ms = {
|
|
1041
1041
|
const p = T(i);
|
1042
1042
|
p.scrollHeight - p.scrollTop - p.clientHeight <= 0 && n("loadMoreChats");
|
1043
1043
|
}, r = (p) => {
|
1044
|
-
f.chats.forEach((
|
1045
|
-
const m = f.chats.find((
|
1044
|
+
f.chats.forEach((y) => y.isSelected = !1);
|
1045
|
+
const m = f.chats.find((y) => y.chatId === p.chatId);
|
1046
1046
|
m.isSelected = !0, n("select", p);
|
1047
1047
|
}, d = () => f.chats.toSorted((p, m) => {
|
1048
1048
|
if (Number(p["lastActivity.timestamp"]) > Number(m["lastActivity.timestamp"])) return -1;
|
@@ -1054,7 +1054,7 @@ const ys = { class: "chat-input__container" }, vs = ["id"], bs = ["id"], Ms = {
|
|
1054
1054
|
if (p.countUnread == m.countUnread) return 0;
|
1055
1055
|
}).filter((p) => p.name.includes(a.value) || p.metadata.includes(a.value)), g = (p) => {
|
1056
1056
|
a.value = p;
|
1057
|
-
},
|
1057
|
+
}, h = (p) => n("action", p);
|
1058
1058
|
return (p, m) => (A(), u("div", ks, [
|
1059
1059
|
o("div", {
|
1060
1060
|
class: "chat-list__title-container",
|
@@ -1064,17 +1064,17 @@ const ys = { class: "chat-input__container" }, vs = ["id"], bs = ["id"], Ms = {
|
|
1064
1064
|
e.actions.length ? (A(), u("button", {
|
1065
1065
|
key: 0,
|
1066
1066
|
class: "chat-list__button-actions",
|
1067
|
-
onClick: m[0] || (m[0] = (
|
1067
|
+
onClick: m[0] || (m[0] = (y) => s.value = !s.value)
|
1068
1068
|
}, [
|
1069
1069
|
s.value ? (A(), u("span", Ds)) : (A(), u("span", Es))
|
1070
1070
|
])) : b("", !0),
|
1071
|
-
P(
|
1071
|
+
P(X, null, {
|
1072
1072
|
default: J(() => [
|
1073
1073
|
s.value && e.actions ? (A(), R(T(Re), {
|
1074
1074
|
key: 0,
|
1075
1075
|
actions: e.actions,
|
1076
1076
|
class: "chat-list__context-menu",
|
1077
|
-
onClick:
|
1077
|
+
onClick: h
|
1078
1078
|
}, null, 8, ["actions"])) : b("", !0)
|
1079
1079
|
]),
|
1080
1080
|
_: 1
|
@@ -1093,36 +1093,36 @@ const ys = { class: "chat-input__container" }, vs = ["id"], bs = ["id"], Ms = {
|
|
1093
1093
|
onScroll: c
|
1094
1094
|
}, [
|
1095
1095
|
o("div", js, [
|
1096
|
-
(A(!0), u(q, null, fe(d().filter((
|
1097
|
-
key:
|
1096
|
+
(A(!0), u(q, null, fe(d().filter((y) => y.isFixedTop), (y) => (A(), R(T(Vf), {
|
1097
|
+
key: y.chatId,
|
1098
1098
|
class: "chat-list__item",
|
1099
|
-
chat:
|
1099
|
+
chat: y,
|
1100
1100
|
onSelect: r,
|
1101
|
-
onAction:
|
1101
|
+
onAction: h
|
1102
1102
|
}, null, 8, ["chat"]))), 128))
|
1103
1103
|
]),
|
1104
1104
|
o("div", Ts, [
|
1105
|
-
(A(!0), u(q, null, fe(d().filter((
|
1106
|
-
key:
|
1105
|
+
(A(!0), u(q, null, fe(d().filter((y) => !y.isFixedBottom && !y.isFixedTop), (y) => (A(), R(T(Vf), {
|
1106
|
+
key: y.chatId,
|
1107
1107
|
class: "chat-list__item",
|
1108
|
-
chat:
|
1108
|
+
chat: y,
|
1109
1109
|
onSelect: r,
|
1110
|
-
onAction:
|
1110
|
+
onAction: h
|
1111
1111
|
}, null, 8, ["chat"]))), 128))
|
1112
1112
|
]),
|
1113
1113
|
o("div", xs, [
|
1114
|
-
(A(!0), u(q, null, fe(d().filter((
|
1115
|
-
key:
|
1114
|
+
(A(!0), u(q, null, fe(d().filter((y) => y.isFixedBottom), (y) => (A(), R(T(Vf), {
|
1115
|
+
key: y.chatId,
|
1116
1116
|
class: "chat-list__item",
|
1117
|
-
chat:
|
1117
|
+
chat: y,
|
1118
1118
|
onSelect: r,
|
1119
|
-
onAction:
|
1119
|
+
onAction: h
|
1120
1120
|
}, null, 8, ["chat"]))), 128))
|
1121
1121
|
])
|
1122
1122
|
], 544)
|
1123
1123
|
]));
|
1124
1124
|
}
|
1125
|
-
},
|
1125
|
+
}, Ld = /* @__PURE__ */ U(Vs, [["__scopeId", "data-v-ca9c6a70"]]), Ss = { class: "keyboard__container" }, Cs = ["onClick"], Os = /* @__PURE__ */ W({
|
1126
1126
|
__name: "MessageKeyboard",
|
1127
1127
|
props: {
|
1128
1128
|
keyboard: {
|
@@ -1131,7 +1131,7 @@ const ys = { class: "chat-input__container" }, vs = ["id"], bs = ["id"], Ms = {
|
|
1131
1131
|
}
|
1132
1132
|
},
|
1133
1133
|
setup(e) {
|
1134
|
-
const t =
|
1134
|
+
const t = ie("chatAppId"), { setMessageText: f, setForceSendMessage: n } = We(t), a = (s) => {
|
1135
1135
|
f(s.text), n(!0);
|
1136
1136
|
};
|
1137
1137
|
return (s, i) => (A(), u("div", Ss, [
|
@@ -1184,36 +1184,36 @@ const ys = { class: "chat-input__container" }, vs = ["id"], bs = ["id"], Ms = {
|
|
1184
1184
|
"forceScrollToBottom"
|
1185
1185
|
],
|
1186
1186
|
setup(e, { emit: t }) {
|
1187
|
-
const f = M(), n = M(), a = M(), s = M(!1), i = M(!1), l = e, c =
|
1187
|
+
const f = M(), n = M(), a = M(), s = M(!1), i = M(!1), l = e, c = ie("chatAppId"), { setReply: r, getMessage: d } = We(c), g = t, h = B(() => !!(i.value && l.objects.length > 0 && l.objects[l.objects.length - 1].keyboard)), p = (_ = !0) => {
|
1188
1188
|
const w = T(n);
|
1189
1189
|
let N = 0;
|
1190
1190
|
a.value && (N = a.value.$el.clientHeight);
|
1191
1191
|
const j = 100, Q = w.scrollHeight - w.scrollTop - w.clientHeight;
|
1192
1192
|
Q < j + N ? (s.value = !1, i.value = !0) : (s.value = !0, i.value = !1), w.scrollTop === 0 && _ && g("loadMore"), Q <= 0 && _ && g("loadMoreDown");
|
1193
1193
|
}, m = (_) => ({
|
1194
|
-
"message.text":
|
1195
|
-
"message.image":
|
1196
|
-
"message.file":
|
1197
|
-
"message.audio":
|
1198
|
-
"message.video":
|
1199
|
-
"message.call":
|
1200
|
-
"message.system":
|
1201
|
-
"system.date":
|
1194
|
+
"message.text": pu,
|
1195
|
+
"message.image": ou,
|
1196
|
+
"message.file": qc,
|
1197
|
+
"message.audio": Ou,
|
1198
|
+
"message.video": e1,
|
1199
|
+
"message.call": m1,
|
1200
|
+
"message.system": v1,
|
1201
|
+
"system.date": Bu,
|
1202
1202
|
"message.typing": qn
|
1203
1203
|
})[_];
|
1204
|
-
function
|
1205
|
-
|
1204
|
+
function y() {
|
1205
|
+
Mt(function() {
|
1206
1206
|
const _ = T(n);
|
1207
1207
|
_.scrollTop = _.scrollHeight;
|
1208
1208
|
});
|
1209
1209
|
}
|
1210
1210
|
function v() {
|
1211
|
-
g("forceScrollToBottom"),
|
1211
|
+
g("forceScrollToBottom"), y();
|
1212
1212
|
}
|
1213
|
-
|
1213
|
+
Z(
|
1214
1214
|
() => l.scrollToBottom,
|
1215
1215
|
() => {
|
1216
|
-
l.scrollToBottom &&
|
1216
|
+
l.scrollToBottom && y();
|
1217
1217
|
},
|
1218
1218
|
{ immediate: !0 }
|
1219
1219
|
);
|
@@ -1238,15 +1238,15 @@ const ys = { class: "chat-input__container" }, vs = ["id"], bs = ["id"], Ms = {
|
|
1238
1238
|
rootMargin: "5px",
|
1239
1239
|
threshold: 0
|
1240
1240
|
}, E = new IntersectionObserver(V, k);
|
1241
|
-
return
|
1241
|
+
return Z(
|
1242
1242
|
() => l.objects,
|
1243
1243
|
() => {
|
1244
|
-
|
1244
|
+
Mt(() => {
|
1245
1245
|
p(!1), f.value = document.querySelectorAll(".tracking-message"), f.value.forEach((_) => E.observe(_));
|
1246
1246
|
});
|
1247
1247
|
},
|
1248
1248
|
{ immediate: !0 }
|
1249
|
-
),
|
1249
|
+
), Z(
|
1250
1250
|
() => l.scrollTo,
|
1251
1251
|
() => {
|
1252
1252
|
var _;
|
@@ -1287,9 +1287,9 @@ const ys = { class: "chat-input__container" }, vs = ["id"], bs = ["id"], Ms = {
|
|
1287
1287
|
avatar: e.typing.avatar
|
1288
1288
|
}
|
1289
1289
|
}, null, 8, ["message"])) : b("", !0),
|
1290
|
-
P(
|
1290
|
+
P(X, null, {
|
1291
1291
|
default: J(() => [
|
1292
|
-
|
1292
|
+
h.value ? (A(), R(zs, {
|
1293
1293
|
key: 0,
|
1294
1294
|
ref_key: "keyboardRef",
|
1295
1295
|
ref: a,
|
@@ -1299,7 +1299,7 @@ const ys = { class: "chat-input__container" }, vs = ["id"], bs = ["id"], Ms = {
|
|
1299
1299
|
]),
|
1300
1300
|
_: 1
|
1301
1301
|
}),
|
1302
|
-
P(
|
1302
|
+
P(X, null, {
|
1303
1303
|
default: J(() => [
|
1304
1304
|
s.value ? (A(), u("button", {
|
1305
1305
|
key: 0,
|
@@ -1324,7 +1324,7 @@ const ys = { class: "chat-input__container" }, vs = ["id"], bs = ["id"], Ms = {
|
|
1324
1324
|
], 8, ["to"])) : b("", !0)
|
1325
1325
|
], 64));
|
1326
1326
|
}
|
1327
|
-
}),
|
1327
|
+
}), Ud = /* @__PURE__ */ U(Qs, [["__scopeId", "data-v-46fae51b"]]), Rs = {
|
1328
1328
|
key: 0,
|
1329
1329
|
class: "profile__container"
|
1330
1330
|
}, Ys = {
|
@@ -1356,7 +1356,7 @@ const ys = { class: "chat-input__container" }, vs = ["id"], bs = ["id"], Ms = {
|
|
1356
1356
|
o("p", qs, D(e.user.phone), 1)
|
1357
1357
|
])) : b("", !0);
|
1358
1358
|
}
|
1359
|
-
},
|
1359
|
+
}, Bd = /* @__PURE__ */ U(Hs, [["__scopeId", "data-v-6a09e430"]]), Ws = ["id"], Ks = {
|
1360
1360
|
__name: "ButtonContextMenu",
|
1361
1361
|
props: {
|
1362
1362
|
actions: {
|
@@ -1391,20 +1391,20 @@ const ys = { class: "chat-input__container" }, vs = ["id"], bs = ["id"], Ms = {
|
|
1391
1391
|
},
|
1392
1392
|
emits: ["click", "buttonClick"],
|
1393
1393
|
setup(e, { emit: t }) {
|
1394
|
-
const f = e, n = Wf(), a = t, s = M(null), i = M(null), l = (
|
1395
|
-
s.value.$el.style.display = "none", a("click",
|
1394
|
+
const f = e, n = Wf(), a = t, s = M(null), i = M(null), l = (h) => {
|
1395
|
+
s.value.$el.style.display = "none", a("click", h);
|
1396
1396
|
}, c = () => {
|
1397
1397
|
f.disabled || (f.mode == "click" && (s.value.$el.style.display = "inherit"), a("buttonClick"));
|
1398
1398
|
}, r = () => {
|
1399
1399
|
f.mode == "hover" && !f.disabled && (s.value.$el.style.display = "inherit");
|
1400
1400
|
}, d = () => {
|
1401
1401
|
f.mode == "hover" && (s.value.$el.style.display = "none");
|
1402
|
-
}, g = (
|
1403
|
-
f.mode == "click" && i.value && !i.value.contains(
|
1402
|
+
}, g = (h) => {
|
1403
|
+
f.mode == "click" && i.value && !i.value.contains(h.target) && (s.value.$el.style.display = "none");
|
1404
1404
|
};
|
1405
1405
|
return le(() => {
|
1406
|
-
var
|
1407
|
-
const
|
1406
|
+
var y, v;
|
1407
|
+
const h = {
|
1408
1408
|
top: {
|
1409
1409
|
h: -1,
|
1410
1410
|
w: -0.25
|
@@ -1423,10 +1423,10 @@ const ys = { class: "chat-input__container" }, vs = ["id"], bs = ["id"], Ms = {
|
|
1423
1423
|
}
|
1424
1424
|
};
|
1425
1425
|
let p, m;
|
1426
|
-
f.menuSide == "top" && (p = (
|
1426
|
+
f.menuSide == "top" && (p = (y = document.getElementById("container-" + n)) == null ? void 0 : y.offsetWidth, m = (v = document.getElementById("context-menu-" + n)) == null ? void 0 : v.offsetHeight, s.value.$el.style.left = h[f.menuSide].w * p + "px"), f.menuSide == "bottom" && (p = document.getElementById("context-menu-" + n).offsetWidth, m = document.getElementById("container-" + n).offsetHeight, s.value.$el.style.right = h[f.menuSide].w * p + "px"), f.menuSide == "left" && (p = document.getElementById("container-" + n).offsetWidth, m = document.getElementById("context-menu-" + n).offsetHeight, s.value.$el.style.right = h[f.menuSide].w * p + "px"), f.menuSide == "right" && (p = document.getElementById("container-" + n).offsetWidth, m = document.getElementById("context-menu-" + n).offsetHeight, s.value.$el.style.left = h[f.menuSide].w * p + "px"), s.value.$el.style.top = h[f.menuSide].h * m + "px", s.value.$el.style.display = "none", document.addEventListener("click", g);
|
1427
1427
|
}), He(() => {
|
1428
1428
|
document.removeEventListener("click", g);
|
1429
|
-
}), (
|
1429
|
+
}), (h, p) => (A(), u("div", {
|
1430
1430
|
id: "container-" + T(n),
|
1431
1431
|
ref_key: "actionScope",
|
1432
1432
|
ref: i,
|
@@ -1456,12 +1456,12 @@ const ys = { class: "chat-input__container" }, vs = ["id"], bs = ["id"], Ms = {
|
|
1456
1456
|
], 8, Ws));
|
1457
1457
|
}
|
1458
1458
|
}, Aa = /* @__PURE__ */ U(Ks, [["__scopeId", "data-v-a89960f4"]]);
|
1459
|
-
function
|
1459
|
+
function Qd(e) {
|
1460
1460
|
if (!e || e === "") return;
|
1461
1461
|
const t = +new Date(Number(e) * 1e3), f = +/* @__PURE__ */ new Date(), n = Math.floor((f - t) / 1e3), a = Math.floor(n / 60), s = Math.floor(a / 60), i = Math.floor(s / 24);
|
1462
1462
|
return i > 30 ? new Date(t).toLocaleDateString("ru-RU") : i > 0 ? `${i} ${i === 1 ? "день" : "дня"} назад` : s > 0 ? `${s} ${s === 1 ? "час" : "часа"} назад` : a > 0 ? `${a} ${a === 1 ? "минута" : "минуты"} назад` : n > 0 ? `${n} ${n === 1 ? "секунда" : "секунды"} назад` : "Только что";
|
1463
1463
|
}
|
1464
|
-
const
|
1464
|
+
const Rd = (e, t = null) => {
|
1465
1465
|
const f = [];
|
1466
1466
|
let n = new Date(t * 1e3).toLocaleDateString();
|
1467
1467
|
for (let a = 0; a < e.length; a++) {
|
@@ -1475,7 +1475,7 @@ const Qd = (e, t = null) => {
|
|
1475
1475
|
}), n = i), f.push(s);
|
1476
1476
|
}
|
1477
1477
|
return f;
|
1478
|
-
},
|
1478
|
+
}, Yd = async () => {
|
1479
1479
|
try {
|
1480
1480
|
if (await navigator.mediaDevices.getUserMedia({ audio: !0 })) {
|
1481
1481
|
const t = new Audio();
|
@@ -1484,7 +1484,7 @@ const Qd = (e, t = null) => {
|
|
1484
1484
|
} catch {
|
1485
1485
|
console.log("no audio permissions");
|
1486
1486
|
}
|
1487
|
-
},
|
1487
|
+
}, $d = (e) => e.sort((t, f) => Number(t.timestamp) < Number(f.timestamp) ? -1 : Number(t.timestamp) > Number(f.timestamp) ? 1 : 0), hf = (e) => {
|
1488
1488
|
let t = "file";
|
1489
1489
|
return e.startsWith("image/") ? t = "image" : e.startsWith("video/") ? t = "video" : e.startsWith("audio/") && (t = "audio"), t;
|
1490
1490
|
}, it = ["read", "received", "sent"], ot = (e) => {
|
@@ -1565,7 +1565,7 @@ const Qd = (e, t = null) => {
|
|
1565
1565
|
])
|
1566
1566
|
]));
|
1567
1567
|
}
|
1568
|
-
}, ra = /* @__PURE__ */ U(li, [["__scopeId", "data-v-89f6a5e5"]]), Ai = { key: 0 }, ri = { key: 1 },
|
1568
|
+
}, ra = /* @__PURE__ */ U(li, [["__scopeId", "data-v-89f6a5e5"]]), Ai = { key: 0 }, ri = { key: 1 }, Pd = {
|
1569
1569
|
__name: "FileUploader",
|
1570
1570
|
props: {
|
1571
1571
|
filebumpUrl: {
|
@@ -1578,7 +1578,7 @@ const Qd = (e, t = null) => {
|
|
1578
1578
|
},
|
1579
1579
|
emits: ["fileUploaded"],
|
1580
1580
|
setup(e, { emit: t }) {
|
1581
|
-
const f = e, n = M(null), a = M(""), s = M(""), i = M(!1), l = M(!1), c = M(!1), r = M(null), d = M(""), g =
|
1581
|
+
const f = e, n = M(null), a = M(""), s = M(""), i = M(!1), l = M(!1), c = M(!1), r = M(null), d = M(""), g = ie("chatAppId"), { setMessageFile: h, resetMessageFile: p, getMessage: m } = We(g), y = [
|
1582
1582
|
{
|
1583
1583
|
action: "audio/*",
|
1584
1584
|
title: "Аудио",
|
@@ -1630,7 +1630,7 @@ const Qd = (e, t = null) => {
|
|
1630
1630
|
body: _
|
1631
1631
|
}
|
1632
1632
|
)).json();
|
1633
|
-
a.value = "success",
|
1633
|
+
a.value = "success", h({
|
1634
1634
|
url: Q.url,
|
1635
1635
|
name: n.value.name,
|
1636
1636
|
size: n.value.size,
|
@@ -1651,7 +1651,7 @@ const Qd = (e, t = null) => {
|
|
1651
1651
|
o("p", null, "Ошибка при загрузке файла.", -1)
|
1652
1652
|
]))) : (A(), R(Aa, {
|
1653
1653
|
key: 2,
|
1654
|
-
actions:
|
1654
|
+
actions: y,
|
1655
1655
|
mode: "hover",
|
1656
1656
|
"button-class": "pi pi-file-arrow-up",
|
1657
1657
|
"menu-side": "top",
|
@@ -1692,7 +1692,7 @@ const Qd = (e, t = null) => {
|
|
1692
1692
|
show: Boolean
|
1693
1693
|
},
|
1694
1694
|
setup(e) {
|
1695
|
-
const t = e, f =
|
1695
|
+
const t = e, f = ie("chatAppId"), n = () => {
|
1696
1696
|
const i = t.themes.find((l) => l.default === !0);
|
1697
1697
|
return i ? i.code : t.themes[0].code;
|
1698
1698
|
}, a = (i) => {
|
@@ -1716,7 +1716,7 @@ const Qd = (e, t = null) => {
|
|
1716
1716
|
], 32)
|
1717
1717
|
])) : b("", !0);
|
1718
1718
|
}
|
1719
|
-
},
|
1719
|
+
}, Fd = /* @__PURE__ */ U(di, [["__scopeId", "data-v-1cb3a680"]]), gi = ["onClick"], mi = ["src", "alt"], pi = { key: 1 }, hi = ["onClick"], yi = ["src", "alt"], vi = { key: 1 }, bi = {
|
1720
1720
|
__name: "SideBar",
|
1721
1721
|
props: {
|
1722
1722
|
sidebarItems: {
|
@@ -1790,7 +1790,7 @@ const Qd = (e, t = null) => {
|
|
1790
1790
|
], 2)
|
1791
1791
|
], 2));
|
1792
1792
|
}
|
1793
|
-
},
|
1793
|
+
}, qd = /* @__PURE__ */ U(bi, [["__scopeId", "data-v-794e9ba4"]]), Mi = { class: "chat-panel" }, _i = { class: "chat-panel__title-container" }, Ii = {
|
1794
1794
|
key: 0,
|
1795
1795
|
class: "chat-panel__title"
|
1796
1796
|
}, wi = {
|
@@ -1819,7 +1819,7 @@ const Qd = (e, t = null) => {
|
|
1819
1819
|
])
|
1820
1820
|
]));
|
1821
1821
|
}
|
1822
|
-
},
|
1822
|
+
}, Hd = /* @__PURE__ */ U(wi, [["__scopeId", "data-v-be32224f"]]), ki = {
|
1823
1823
|
key: 0,
|
1824
1824
|
class: "channels__selected"
|
1825
1825
|
}, Ni = ["src"], Di = { class: "channels__title" }, Ei = {
|
@@ -1869,7 +1869,7 @@ const Qd = (e, t = null) => {
|
|
1869
1869
|
}, null, 8, ["actions", "mode", "disabled"])
|
1870
1870
|
], 2));
|
1871
1871
|
}
|
1872
|
-
},
|
1872
|
+
}, Wd = /* @__PURE__ */ U(ji, [["__scopeId", "data-v-f0945681"]]), Ti = { class: "tooltip-wrapper" }, xi = {
|
1873
1873
|
__name: "Tooltip",
|
1874
1874
|
props: {
|
1875
1875
|
text: {
|
@@ -1932,14 +1932,14 @@ const Qd = (e, t = null) => {
|
|
1932
1932
|
}, d = () => {
|
1933
1933
|
c.value = !1, l.value = !1;
|
1934
1934
|
}, g = B(() => ot(f.chat["lastMessage.status"]));
|
1935
|
-
let
|
1936
|
-
const p = M(0), m = [de("component.ChatItem.typing") + ".", de("component.ChatItem.typing") + "..", de("component.ChatItem.typing") + "..."],
|
1937
|
-
return
|
1935
|
+
let h;
|
1936
|
+
const p = M(0), m = [de("component.ChatItem.typing") + ".", de("component.ChatItem.typing") + "..", de("component.ChatItem.typing") + "..."], y = B(() => f.chat.typing ? m[p.value] : f.chat.lastMessage);
|
1937
|
+
return Z(
|
1938
1938
|
() => f.chat.typing,
|
1939
1939
|
() => {
|
1940
|
-
f.chat.typing ?
|
1940
|
+
f.chat.typing ? h = setInterval(() => {
|
1941
1941
|
p.value < 2 ? p.value += 1 : p.value = 0;
|
1942
|
-
}, 1e3) : (p.value = 0, clearInterval(
|
1942
|
+
}, 1e3) : (p.value = 0, clearInterval(h));
|
1943
1943
|
},
|
1944
1944
|
{ immediate: !0 }
|
1945
1945
|
), (v, x) => (A(), u("div", {
|
@@ -1975,7 +1975,7 @@ const Qd = (e, t = null) => {
|
|
1975
1975
|
position: "bottom"
|
1976
1976
|
}, {
|
1977
1977
|
default: J(() => [
|
1978
|
-
e.chat.lastMessage || e.chat.typing ? (A(), u("div", Li, D(
|
1978
|
+
e.chat.lastMessage || e.chat.typing ? (A(), u("div", Li, D(y.value), 1)) : b("", !0)
|
1979
1979
|
]),
|
1980
1980
|
_: 1
|
1981
1981
|
}, 8, ["text"])
|
@@ -2005,7 +2005,7 @@ const Qd = (e, t = null) => {
|
|
2005
2005
|
e.chat.isFixedTop || e.chat.isFixedBottom ? (A(), u("span", Yi)) : b("", !0)
|
2006
2006
|
])) : b("", !0)
|
2007
2007
|
]),
|
2008
|
-
P(
|
2008
|
+
P(X, { name: "menu" }, {
|
2009
2009
|
default: J(() => [
|
2010
2010
|
l.value && e.chat.actions ? (A(), R(T(Re), {
|
2011
2011
|
key: 0,
|
@@ -2074,12 +2074,12 @@ const Qd = (e, t = null) => {
|
|
2074
2074
|
},
|
2075
2075
|
emits: ["closeTemplateWindow", "pasteTemplate"],
|
2076
2076
|
setup(e, { emit: t }) {
|
2077
|
-
const f = e, n =
|
2077
|
+
const f = e, n = ie("chatAppId"), { setMessageText: a } = We(n), s = () => {
|
2078
2078
|
i("closeTemplateWindow"), a(c.value.template);
|
2079
|
-
}, i = t, l = M(null), c = M(null), r = M(""), d = M(), g = M(""),
|
2080
|
-
m.value && (
|
2079
|
+
}, i = t, l = M(null), c = M(null), r = M(""), d = M(), g = M(""), h = M(""), p = M(""), m = M(!1), y = B(() => !!(m.value && (p.value == "grid" && h.value == "none" || h.value == "grid" && g.value == "none"))), v = B(() => !!(m.value && (g.value == "grid" && h.value == "none" || h.value == "grid" && p.value == "none"))), x = () => {
|
2080
|
+
m.value && (h.value == "grid" ? z() : p.value == "grid" && k());
|
2081
2081
|
}, O = () => {
|
2082
|
-
m.value && (
|
2082
|
+
m.value && (h.value == "grid" ? V() : g.value == "grid" && k());
|
2083
2083
|
}, z = () => {
|
2084
2084
|
const L = document.getElementById("template-selector-container-" + n);
|
2085
2085
|
L.style.setProperty("--template-first-col-display", "grid"), L.style.setProperty("--template-second-col-display", "none"), E();
|
@@ -2091,7 +2091,7 @@ const Qd = (e, t = null) => {
|
|
2091
2091
|
L.style.setProperty("--template-second-col-display", "grid"), L.style.setProperty("--template-first-col-display", "none"), L.style.setProperty("--template-third-col-display", "none"), E();
|
2092
2092
|
}, E = () => {
|
2093
2093
|
const L = document.getElementById("template-selector-container-" + n), H = window.getComputedStyle(L);
|
2094
|
-
g.value = H.getPropertyValue("--template-first-col-display"),
|
2094
|
+
g.value = H.getPropertyValue("--template-first-col-display"), h.value = H.getPropertyValue("--template-second-col-display"), p.value = H.getPropertyValue("--template-third-col-display");
|
2095
2095
|
}, _ = (L) => {
|
2096
2096
|
f.templates.forEach((H) => H.isSelected = !1), L.isSelected = !0, c.value = L, V();
|
2097
2097
|
}, w = () => {
|
@@ -2117,7 +2117,7 @@ const Qd = (e, t = null) => {
|
|
2117
2117
|
}, [
|
2118
2118
|
o("div", Ki, [
|
2119
2119
|
o("div", Ji, [
|
2120
|
-
|
2120
|
+
y.value ? (A(), u("button", Gi, [
|
2121
2121
|
o("span", {
|
2122
2122
|
class: "pi pi-arrow-left",
|
2123
2123
|
onClick: x
|
@@ -2143,8 +2143,8 @@ const Qd = (e, t = null) => {
|
|
2143
2143
|
id: "template-selector-first-col-" + T(n)
|
2144
2144
|
}, [
|
2145
2145
|
o("ul", fo, [
|
2146
|
-
(A(!0), u(q, null, fe(e.groupTemplates, (G,
|
2147
|
-
key:
|
2146
|
+
(A(!0), u(q, null, fe(e.groupTemplates, (G, oe) => (A(), u("li", {
|
2147
|
+
key: oe,
|
2148
2148
|
class: C(["template-selector__item-group", { "template-selector__item-selected": l.value === G }]),
|
2149
2149
|
onClick: w
|
2150
2150
|
}, [
|
@@ -2156,7 +2156,7 @@ const Qd = (e, t = null) => {
|
|
2156
2156
|
alt: G.title
|
2157
2157
|
}, null, 8, ao)) : b("", !0),
|
2158
2158
|
ve(o("input", {
|
2159
|
-
id:
|
2159
|
+
id: oe,
|
2160
2160
|
"onUpdate:modelValue": H[1] || (H[1] = (K) => l.value = K),
|
2161
2161
|
value: G,
|
2162
2162
|
class: "template-selector__input-group",
|
@@ -2180,13 +2180,13 @@ const Qd = (e, t = null) => {
|
|
2180
2180
|
type: "text",
|
2181
2181
|
placeholder: "Поиск шаблона"
|
2182
2182
|
}, null, 512), [
|
2183
|
-
[
|
2183
|
+
[jt, r.value]
|
2184
2184
|
])
|
2185
2185
|
]),
|
2186
2186
|
o("div", lo, [
|
2187
2187
|
j.value.length !== 0 ? (A(), u("ul", Ao, [
|
2188
|
-
(A(!0), u(q, null, fe(j.value, (G,
|
2189
|
-
key:
|
2188
|
+
(A(!0), u(q, null, fe(j.value, (G, oe) => (A(), u("li", {
|
2189
|
+
key: oe,
|
2190
2190
|
class: C(["template-selector__item-template", { "template-selector__item-selected": G.isSelected }]),
|
2191
2191
|
onClick: (K) => _(G)
|
2192
2192
|
}, [
|
@@ -2269,7 +2269,7 @@ const Qd = (e, t = null) => {
|
|
2269
2269
|
}, r[0] || (r[0] = [
|
2270
2270
|
o("span", { class: "pi pi-objects-column" }, null, -1)
|
2271
2271
|
]), 34),
|
2272
|
-
P(
|
2272
|
+
P(X, null, {
|
2273
2273
|
default: J(() => [
|
2274
2274
|
o("div", {
|
2275
2275
|
ref_key: "template",
|
@@ -2289,7 +2289,7 @@ const Qd = (e, t = null) => {
|
|
2289
2289
|
})
|
2290
2290
|
], 64));
|
2291
2291
|
}
|
2292
|
-
},
|
2292
|
+
}, Kd = /* @__PURE__ */ U(wo, [["__scopeId", "data-v-82ddb736"]]), ko = ["id"], No = {
|
2293
2293
|
__name: "PlaceholderComponent",
|
2294
2294
|
props: {
|
2295
2295
|
index: {
|
@@ -2307,37 +2307,51 @@ const Qd = (e, t = null) => {
|
|
2307
2307
|
},
|
2308
2308
|
emits: ["edit"],
|
2309
2309
|
setup(e, { emit: t }) {
|
2310
|
-
const f =
|
2311
|
-
|
2310
|
+
const f = ie("chatAppId"), n = e, a = t, s = M(n.value), i = M();
|
2311
|
+
Z(
|
2312
|
+
() => n.isFilled,
|
2313
|
+
() => {
|
2314
|
+
n.isFilled || (s.value = "Заполнить");
|
2315
|
+
},
|
2316
|
+
{ immediate: !0 }
|
2317
|
+
);
|
2318
|
+
const l = (g) => {
|
2319
|
+
if (!n.isFilled) {
|
2320
|
+
s.value = "";
|
2321
|
+
const h = window.getSelection();
|
2322
|
+
h.getRangeAt && h.rangeCount && h.getRangeAt(0).selectNodeContents(g.target);
|
2323
|
+
}
|
2312
2324
|
};
|
2313
|
-
function
|
2314
|
-
|
2325
|
+
function c() {
|
2326
|
+
s.value = i.value.innerText.trim(), n.value != s.value && (s.value != "" ? a("edit", [s.value, n.index]) : n.isFilled ? Mt(() => {
|
2327
|
+
s.value = n.value;
|
2328
|
+
}) : s.value = "Заполнить");
|
2315
2329
|
}
|
2316
|
-
function
|
2317
|
-
|
2330
|
+
function r(g) {
|
2331
|
+
g.target.blur(), c();
|
2318
2332
|
}
|
2319
|
-
function
|
2320
|
-
|
2333
|
+
function d(g) {
|
2334
|
+
g.target == document.getElementById("placeholder" + f + n.index) && (g.key === "Escape" && g.target.blur(), g.key == "Tab" && (g.target.blur(), document.getElementById("placeholder" + f + (n.index + 1)) && (g.preventDefault(), document.getElementById("placeholder" + f + (n.index + 1)).focus())));
|
2321
2335
|
}
|
2322
2336
|
return le(() => {
|
2323
|
-
window.addEventListener("keydown",
|
2337
|
+
window.addEventListener("keydown", d);
|
2324
2338
|
}), He(() => {
|
2325
|
-
window.removeEventListener("keydown",
|
2326
|
-
}), (
|
2339
|
+
window.removeEventListener("keydown", d);
|
2340
|
+
}), (g, h) => (A(), u("span", {
|
2327
2341
|
ref_key: "refPlaceholder",
|
2328
|
-
ref:
|
2329
|
-
id: "placeholder",
|
2342
|
+
ref: i,
|
2343
|
+
id: "placeholder" + T(f) + e.index,
|
2330
2344
|
contenteditable: "",
|
2331
2345
|
class: C([{ filled: e.isFilled, empty: !e.isFilled }, "placeholder"]),
|
2332
|
-
onKeydown: Hf(
|
2333
|
-
onFocus:
|
2334
|
-
onBlur:
|
2335
|
-
}, D(
|
2346
|
+
onKeydown: Hf(r, ["enter"]),
|
2347
|
+
onFocus: l,
|
2348
|
+
onBlur: c
|
2349
|
+
}, D(s.value), 43, ko));
|
2336
2350
|
}
|
2337
|
-
},
|
2351
|
+
}, Do = /* @__PURE__ */ U(No, [["__scopeId", "data-v-7250dbc8"]]), Eo = ["accept"], jo = { class: "attachment-section__info open-sans" }, To = {
|
2338
2352
|
key: 2,
|
2339
2353
|
class: "attachment-section__error-text"
|
2340
|
-
},
|
2354
|
+
}, xo = /* @__PURE__ */ W({
|
2341
2355
|
__name: "WABAAttachmentSection",
|
2342
2356
|
props: {
|
2343
2357
|
type: {
|
@@ -2351,9 +2365,9 @@ const Qd = (e, t = null) => {
|
|
2351
2365
|
},
|
2352
2366
|
emits: ["fileSelected"],
|
2353
2367
|
setup(e, { emit: t }) {
|
2354
|
-
const f = e, n = M(
|
2368
|
+
const f = e, n = M(ie("filebumpUrl")), a = M(null), s = M(), i = M(""), l = M(""), c = M(!1), r = M(!1), d = M(!1), g = M(""), h = M(""), p = t, m = () => {
|
2355
2369
|
s.value && l.value != "success" && s.value.click();
|
2356
|
-
},
|
2370
|
+
}, y = {
|
2357
2371
|
DOCUMENT: {
|
2358
2372
|
text: "Документ до 100 МБ",
|
2359
2373
|
accept: ".pdf,.doc,.docx,.xls,.xlsx",
|
@@ -2380,7 +2394,7 @@ const Qd = (e, t = null) => {
|
|
2380
2394
|
if (k) {
|
2381
2395
|
i.value = "";
|
2382
2396
|
const E = k.name.split(".");
|
2383
|
-
|
2397
|
+
y[f.type].accept.indexOf(E[E.length - 1]) == -1 ? i.value = y[f.type].error : k.size > y[f.type].maxSize ? i.value = "Файл слишком большого размера" : i.value || (a.value = k, x(), O());
|
2384
2398
|
}
|
2385
2399
|
}, x = async () => {
|
2386
2400
|
if (a.value) {
|
@@ -2422,17 +2436,17 @@ const Qd = (e, t = null) => {
|
|
2422
2436
|
let _ = V.size, w = 0;
|
2423
2437
|
for (; _ > 1024; )
|
2424
2438
|
_ = _ / 1024, w++;
|
2425
|
-
|
2439
|
+
h.value = _.toFixed(2) + E[w];
|
2426
2440
|
}
|
2427
2441
|
}, z = () => {
|
2428
2442
|
a.value && (a.value = null, l.value = "");
|
2429
2443
|
};
|
2430
|
-
return
|
2444
|
+
return Z(
|
2431
2445
|
() => l.value,
|
2432
2446
|
(V) => {
|
2433
2447
|
V === "" && (s.value && (s.value.value = ""), a.value = null, p("fileSelected", null));
|
2434
2448
|
}
|
2435
|
-
),
|
2449
|
+
), Z(
|
2436
2450
|
() => f.templateId,
|
2437
2451
|
() => {
|
2438
2452
|
l.value = "";
|
@@ -2451,13 +2465,13 @@ const Qd = (e, t = null) => {
|
|
2451
2465
|
ref_key: "fileInput",
|
2452
2466
|
ref: s,
|
2453
2467
|
style: { display: "none" },
|
2454
|
-
accept:
|
2468
|
+
accept: y[e.type].accept,
|
2455
2469
|
onChange: v
|
2456
|
-
}, null, 40,
|
2470
|
+
}, null, 40, Eo),
|
2457
2471
|
k[1] || (k[1] = o("span", { class: "pi pi-paperclip attachment-section__icon" }, null, -1)),
|
2458
2472
|
o("div", null, [
|
2459
2473
|
k[0] || (k[0] = o("p", { class: "attachment-section__title open-sans-bold" }, " Прикрепить файл ", -1)),
|
2460
|
-
o("p",
|
2474
|
+
o("p", jo, D(y[e.type].text), 1)
|
2461
2475
|
])
|
2462
2476
|
], 2)) : l.value === "success" ? (A(), R(ra, {
|
2463
2477
|
key: 1,
|
@@ -2466,14 +2480,14 @@ const Qd = (e, t = null) => {
|
|
2466
2480
|
"is-video": r.value,
|
2467
2481
|
"is-audio": d.value,
|
2468
2482
|
"file-name": (E = a.value) == null ? void 0 : E.name,
|
2469
|
-
"file-size":
|
2483
|
+
"file-size": h.value,
|
2470
2484
|
onReset: z
|
2471
2485
|
}, null, 8, ["preview-url", "is-image", "is-video", "is-audio", "file-name", "file-size"])) : b("", !0),
|
2472
|
-
i.value ? (A(), u("div",
|
2486
|
+
i.value ? (A(), u("div", To, D(i.value), 1)) : b("", !0)
|
2473
2487
|
], 64);
|
2474
2488
|
};
|
2475
2489
|
}
|
2476
|
-
}),
|
2490
|
+
}), Vo = /* @__PURE__ */ U(xo, [["__scopeId", "data-v-335d7577"]]), So = { class: "quick-reply-buttons" }, Co = ["onClick"], Oo = { class: "quick-reply-buttons__line" }, zo = /* @__PURE__ */ W({
|
2477
2491
|
__name: "WABAQuickReplyButtons",
|
2478
2492
|
props: {
|
2479
2493
|
buttons: {
|
@@ -2490,23 +2504,23 @@ const Qd = (e, t = null) => {
|
|
2490
2504
|
}, s = (i) => {
|
2491
2505
|
i == 2 && n.buttons.length > 3 && f("selectAllVariants");
|
2492
2506
|
};
|
2493
|
-
return (i, l) => (A(), u("div",
|
2507
|
+
return (i, l) => (A(), u("div", So, [
|
2494
2508
|
(A(!0), u(q, null, fe(e.buttons.slice(0, 3), (c, r) => (A(), u("div", {
|
2495
2509
|
class: "quick-reply-buttons__preview-action",
|
2496
2510
|
key: r,
|
2497
2511
|
onClick: (d) => s(r)
|
2498
2512
|
}, [
|
2499
2513
|
l[0] || (l[0] = o("hr", { class: "quick-reply-buttons__separator" }, null, -1)),
|
2500
|
-
o("div",
|
2514
|
+
o("div", Oo, [
|
2501
2515
|
o("span", {
|
2502
2516
|
class: C(["quick-reply-buttons__icon pi pi-arrow-up-left", r == 2 && e.buttons.length > 3 ? "pi-list" : a[c.type]])
|
2503
2517
|
}, null, 2),
|
2504
2518
|
o("p", null, D(r == 2 && e.buttons.length > 3 ? "Смотреть все варианты" : c.text), 1)
|
2505
2519
|
])
|
2506
|
-
], 8,
|
2520
|
+
], 8, Co))), 128))
|
2507
2521
|
]));
|
2508
2522
|
}
|
2509
|
-
}),
|
2523
|
+
}), Lo = /* @__PURE__ */ U(zo, [["__scopeId", "data-v-51dfc2ee"]]), Uo = { class: "separated-quick-buttons" }, Bo = { class: "separated-quick-buttons__title" }, Qo = { class: "separated-quick-buttons__actions scrollbar" }, Ro = /* @__PURE__ */ W({
|
2510
2524
|
__name: "WABASeparatedQuickButtons",
|
2511
2525
|
props: {
|
2512
2526
|
buttons: {
|
@@ -2521,15 +2535,15 @@ const Qd = (e, t = null) => {
|
|
2521
2535
|
PHONE_NUMBER: "bi-telephone",
|
2522
2536
|
QUICK_REPLY: "bi-arrow-90deg-left"
|
2523
2537
|
}, n = t;
|
2524
|
-
return (a, s) => (A(), u("div",
|
2525
|
-
o("div",
|
2538
|
+
return (a, s) => (A(), u("div", Uo, [
|
2539
|
+
o("div", Bo, [
|
2526
2540
|
s[1] || (s[1] = o("p", null, "Все варианты", -1)),
|
2527
2541
|
o("span", {
|
2528
2542
|
class: "pi pi-times",
|
2529
2543
|
onClick: s[0] || (s[0] = (i) => n("selectAllVariants"))
|
2530
2544
|
})
|
2531
2545
|
]),
|
2532
|
-
o("div",
|
2546
|
+
o("div", Qo, [
|
2533
2547
|
(A(!0), u(q, null, fe(e.buttons, (i, l) => (A(), u("div", {
|
2534
2548
|
class: "separated-quick-buttons__action",
|
2535
2549
|
key: l
|
@@ -2542,28 +2556,28 @@ const Qd = (e, t = null) => {
|
|
2542
2556
|
])
|
2543
2557
|
]));
|
2544
2558
|
}
|
2545
|
-
}),
|
2559
|
+
}), Yo = /* @__PURE__ */ U(Ro, [["__scopeId", "data-v-1fa4012a"]]), $o = { class: "template-selector" }, Po = ["id"], Fo = { style: { display: "flex" } }, qo = { style: { display: "flex" } }, Ho = {
|
2546
2560
|
key: 0,
|
2547
2561
|
class: "template-selector__button-close"
|
2548
|
-
},
|
2562
|
+
}, Wo = {
|
2549
2563
|
key: 1,
|
2550
2564
|
class: "template-selector__button-close"
|
2551
|
-
},
|
2565
|
+
}, Ko = { class: "template-selector__layout" }, Jo = { class: "template-selector__first-col" }, Go = { class: "template-selector__list-groups" }, Zo = { class: "template-selector__label-group" }, Xo = ["src", "alt"], el = ["id", "value"], tl = { class: "template-selector__second-col" }, fl = { class: "template-selector__searching-container" }, nl = { class: "template-selector__templates" }, al = {
|
2552
2566
|
key: 0,
|
2553
2567
|
class: "template-selector__list-templates"
|
2554
|
-
},
|
2568
|
+
}, sl = ["onClick"], il = { class: "template-selector__item-template-info" }, ol = { class: "template-selector__item-title" }, ll = { class: "template-selector__item-text" }, Al = {
|
2555
2569
|
key: 1,
|
2556
2570
|
class: "template-selector__plug"
|
2557
|
-
},
|
2571
|
+
}, rl = { class: "template-selector__third-col" }, cl = {
|
2558
2572
|
key: 0,
|
2559
2573
|
class: "template-selector__preview"
|
2560
|
-
},
|
2574
|
+
}, ul = { class: "template-selector__preview-wrapper" }, dl = { class: "template-selector__preview-text-container" }, gl = { key: 0 }, ml = {
|
2561
2575
|
key: 1,
|
2562
2576
|
class: "template-selector__plug"
|
2563
|
-
},
|
2577
|
+
}, pl = {
|
2564
2578
|
key: 2,
|
2565
2579
|
class: "template-selector__reply-buttons"
|
2566
|
-
},
|
2580
|
+
}, hl = ["disabled"], yl = {
|
2567
2581
|
__name: "WABATemplateSelector",
|
2568
2582
|
props: {
|
2569
2583
|
wabaTemplates: {
|
@@ -2584,7 +2598,7 @@ const Qd = (e, t = null) => {
|
|
2584
2598
|
},
|
2585
2599
|
emits: ["closeTemplateWindow", "sendWabaValues"],
|
2586
2600
|
setup(e, { emit: t }) {
|
2587
|
-
const f = e, n =
|
2601
|
+
const f = e, n = ie("chatAppId"), a = t, s = () => {
|
2588
2602
|
a("closeTemplateWindow"), Ge();
|
2589
2603
|
}, i = () => {
|
2590
2604
|
a("closeTemplateWindow");
|
@@ -2598,25 +2612,25 @@ const Qd = (e, t = null) => {
|
|
2598
2612
|
g.value ? (S.text = Se.value, S.templateId = d.value.templateId, S.values = Ye.value, S.file = g.value) : (S.text = Se.value, S.templateId = d.value.templateId, S.values = Ye.value), d.value.buttons && (S.buttons = d.value.buttons), a("sendWabaValues", S), Ge();
|
2599
2613
|
}, l = (S) => {
|
2600
2614
|
g.value = S;
|
2601
|
-
}, c = M(null), r = M(null), d = M(null), g = M(null),
|
2615
|
+
}, c = M(null), r = M(null), d = M(null), g = M(null), h = M(""), p = M(!1), m = () => {
|
2602
2616
|
p.value = !p.value, p.value ? (c.value.scrollTop = 0, c.value.style["overflow-y"] = "hidden") : c.value.style["overflow-y"] = "scroll";
|
2603
|
-
},
|
2604
|
-
|
2617
|
+
}, y = (S) => {
|
2618
|
+
Object.keys(z).forEach((F) => {
|
2605
2619
|
z[F] = "";
|
2606
|
-
}), g.value = null,
|
2620
|
+
}), g.value = null, f.wabaTemplates.forEach((F) => F.isSelected = !1), S.isSelected = !0, d.value = S, p.value = !1, oe();
|
2607
2621
|
}, v = () => {
|
2608
2622
|
K(), f.wabaTemplates.forEach((S) => S.isSelected = !1);
|
2609
2623
|
}, x = B(() => r.value ? f.wabaTemplates.filter((S) => S.groupId === r.value.groupId) : f.wabaTemplates), O = B(() => {
|
2610
|
-
const S =
|
2624
|
+
const S = h.value.trim().toLowerCase();
|
2611
2625
|
return x.value.filter((F) => F.title.toLowerCase().includes(S) || F.template.toLowerCase().includes(S));
|
2612
2626
|
}), z = Jn({}), V = M(null), k = M(), E = M(""), _ = M(""), w = M(""), N = M(!1), j = B(() => !!(N.value && (w.value == "grid" && _.value == "none" || _.value == "grid" && E.value == "none"))), Q = B(() => !!(N.value && (E.value == "grid" && _.value == "none" || _.value == "grid" && w.value == "none"))), L = () => {
|
2613
2627
|
N.value && (_.value == "grid" ? G() : w.value == "grid" && K());
|
2614
2628
|
}, H = () => {
|
2615
|
-
N.value && (_.value == "grid" ?
|
2629
|
+
N.value && (_.value == "grid" ? oe() : E.value == "grid" && K());
|
2616
2630
|
}, G = () => {
|
2617
2631
|
const S = document.getElementById("waba-template-selector-container-" + n);
|
2618
2632
|
S.style.setProperty("--waba-template-first-col-display", "grid"), S.style.setProperty("--waba-template-second-col-display", "none"), console.log(S, window.getComputedStyle(S).getPropertyValue("--waba-template-first-col-display")), ee();
|
2619
|
-
},
|
2633
|
+
}, oe = () => {
|
2620
2634
|
const S = document.getElementById("waba-template-selector-container-" + n);
|
2621
2635
|
S.style.setProperty("--waba-template-third-col-display", "grid"), S.style.setProperty("--waba-template-second-col-display", "none"), ee();
|
2622
2636
|
}, K = () => {
|
@@ -2667,7 +2681,7 @@ const Qd = (e, t = null) => {
|
|
2667
2681
|
});
|
2668
2682
|
return le(() => {
|
2669
2683
|
ee(), T(k) && Ce.observe(T(k));
|
2670
|
-
}), (S, F) => (A(), u("div",
|
2684
|
+
}), (S, F) => (A(), u("div", $o, [
|
2671
2685
|
o("div", {
|
2672
2686
|
class: C({
|
2673
2687
|
"template-selector__container-inline": !e.elevatedWindow,
|
@@ -2677,15 +2691,15 @@ const Qd = (e, t = null) => {
|
|
2677
2691
|
ref: k,
|
2678
2692
|
id: "waba-template-selector-container-" + T(n)
|
2679
2693
|
}, [
|
2680
|
-
o("div",
|
2681
|
-
o("div",
|
2682
|
-
j.value ? (A(), u("button",
|
2694
|
+
o("div", Fo, [
|
2695
|
+
o("div", qo, [
|
2696
|
+
j.value ? (A(), u("button", Ho, [
|
2683
2697
|
o("span", {
|
2684
2698
|
class: "pi pi-arrow-left",
|
2685
2699
|
onClick: L
|
2686
2700
|
})
|
2687
2701
|
])) : b("", !0),
|
2688
|
-
Q.value ? (A(), u("button",
|
2702
|
+
Q.value ? (A(), u("button", Wo, [
|
2689
2703
|
o("span", {
|
2690
2704
|
class: "pi pi-arrow-right",
|
2691
2705
|
onClick: H
|
@@ -2699,28 +2713,28 @@ const Qd = (e, t = null) => {
|
|
2699
2713
|
})
|
2700
2714
|
])
|
2701
2715
|
]),
|
2702
|
-
o("div",
|
2703
|
-
o("div",
|
2704
|
-
o("ul",
|
2716
|
+
o("div", Ko, [
|
2717
|
+
o("div", Jo, [
|
2718
|
+
o("ul", Go, [
|
2705
2719
|
(A(!0), u(q, null, fe(e.groupTemplates, (Y, ae) => (A(), u("li", {
|
2706
2720
|
key: ae,
|
2707
2721
|
class: C(["template-selector__item-group", { "template-selector__item-selected": r.value === Y }]),
|
2708
2722
|
onClick: v
|
2709
2723
|
}, [
|
2710
|
-
o("label",
|
2724
|
+
o("label", Zo, [
|
2711
2725
|
Y.iconUrl ? (A(), u("img", {
|
2712
2726
|
key: 0,
|
2713
2727
|
class: "template-selector__item-group-icon",
|
2714
2728
|
src: Y.iconUrl,
|
2715
2729
|
alt: Y.title
|
2716
|
-
}, null, 8,
|
2730
|
+
}, null, 8, Xo)) : b("", !0),
|
2717
2731
|
ve(o("input", {
|
2718
2732
|
id: ae,
|
2719
2733
|
"onUpdate:modelValue": F[0] || (F[0] = (we) => r.value = we),
|
2720
2734
|
value: Y,
|
2721
2735
|
class: "template-selector__input-group",
|
2722
2736
|
type: "radio"
|
2723
|
-
}, null, 8,
|
2737
|
+
}, null, 8, el), [
|
2724
2738
|
[Kn, r.value]
|
2725
2739
|
]),
|
2726
2740
|
o("span", null, D(Y.title), 1)
|
@@ -2728,49 +2742,49 @@ const Qd = (e, t = null) => {
|
|
2728
2742
|
], 2))), 128))
|
2729
2743
|
])
|
2730
2744
|
]),
|
2731
|
-
o("div",
|
2732
|
-
o("div",
|
2745
|
+
o("div", tl, [
|
2746
|
+
o("div", fl, [
|
2733
2747
|
ve(o("input", {
|
2734
|
-
"onUpdate:modelValue": F[1] || (F[1] = (Y) =>
|
2748
|
+
"onUpdate:modelValue": F[1] || (F[1] = (Y) => h.value = Y),
|
2735
2749
|
class: "template-selector__searching-input",
|
2736
2750
|
type: "text",
|
2737
2751
|
placeholder: "Поиск шаблона"
|
2738
2752
|
}, null, 512), [
|
2739
|
-
[
|
2753
|
+
[jt, h.value]
|
2740
2754
|
])
|
2741
2755
|
]),
|
2742
|
-
o("div",
|
2743
|
-
O.value.length !== 0 ? (A(), u("ul",
|
2756
|
+
o("div", nl, [
|
2757
|
+
O.value.length !== 0 ? (A(), u("ul", al, [
|
2744
2758
|
(A(!0), u(q, null, fe(O.value, (Y, ae) => (A(), u("li", {
|
2745
2759
|
key: ae,
|
2746
2760
|
class: C(["template-selector__item-template", { "template-selector__item-selected": Y.isSelected }]),
|
2747
|
-
onClick: (we) =>
|
2761
|
+
onClick: (we) => y(Y)
|
2748
2762
|
}, [
|
2749
|
-
o("div",
|
2750
|
-
o("p",
|
2751
|
-
o("p",
|
2763
|
+
o("div", il, [
|
2764
|
+
o("p", ol, D(Y.title), 1),
|
2765
|
+
o("p", ll, D(Y.template), 1)
|
2752
2766
|
])
|
2753
|
-
], 10,
|
2754
|
-
])) : (A(), u("p",
|
2767
|
+
], 10, sl))), 128))
|
2768
|
+
])) : (A(), u("p", Al, " Шаблоны отсутствуют "))
|
2755
2769
|
])
|
2756
2770
|
]),
|
2757
|
-
o("div",
|
2771
|
+
o("div", rl, [
|
2758
2772
|
o("div", {
|
2759
2773
|
ref_key: "previewContainer",
|
2760
2774
|
ref: c,
|
2761
2775
|
class: "template-selector__preview-container"
|
2762
2776
|
}, [
|
2763
|
-
ge.value.length > 0 ? (A(), u("div",
|
2764
|
-
o("div",
|
2765
|
-
d.value.type != "TEXT" ? (A(), R(
|
2777
|
+
ge.value.length > 0 ? (A(), u("div", cl, [
|
2778
|
+
o("div", ul, [
|
2779
|
+
d.value.type != "TEXT" ? (A(), R(Vo, {
|
2766
2780
|
key: 0,
|
2767
2781
|
type: d.value.type,
|
2768
2782
|
"template-id": d.value.templateId,
|
2769
2783
|
onFileSelected: l
|
2770
2784
|
}, null, 8, ["type", "template-id"])) : b("", !0),
|
2771
|
-
o("div",
|
2785
|
+
o("div", dl, [
|
2772
2786
|
(A(!0), u(q, null, fe(ge.value, (Y, ae) => (A(), u(q, { key: ae }, [
|
2773
|
-
typeof Y == "string" ? (A(), u("span",
|
2787
|
+
typeof Y == "string" ? (A(), u("span", gl, D(Y), 1)) : typeof Y == "object" ? (A(), R(Do, {
|
2774
2788
|
key: 1,
|
2775
2789
|
index: Y.index,
|
2776
2790
|
value: z[Y.index] || "Заполнить",
|
@@ -2781,19 +2795,19 @@ const Qd = (e, t = null) => {
|
|
2781
2795
|
], 64))), 128))
|
2782
2796
|
]),
|
2783
2797
|
F[2] || (F[2] = o("p", { class: "template-selector__preview-time" }, " 22:22 ", -1)),
|
2784
|
-
d.value.buttons ? (A(), R(
|
2798
|
+
d.value.buttons ? (A(), R(Lo, {
|
2785
2799
|
key: 1,
|
2786
2800
|
buttons: d.value.buttons,
|
2787
2801
|
onSelectAllVariants: m
|
2788
2802
|
}, null, 8, ["buttons"])) : b("", !0)
|
2789
2803
|
])
|
2790
|
-
])) : (A(), u("p",
|
2791
|
-
p.value ? (A(), u("div",
|
2804
|
+
])) : (A(), u("p", ml, " Предпросмотр шаблона ")),
|
2805
|
+
p.value ? (A(), u("div", pl, [
|
2792
2806
|
o("div", {
|
2793
2807
|
class: "template-selector__semitransparent-overlay",
|
2794
2808
|
onClick: m
|
2795
2809
|
}),
|
2796
|
-
P(
|
2810
|
+
P(Yo, {
|
2797
2811
|
buttons: d.value.buttons,
|
2798
2812
|
onSelectAllVariants: m
|
2799
2813
|
}, null, 8, ["buttons"])
|
@@ -2803,13 +2817,13 @@ const Qd = (e, t = null) => {
|
|
2803
2817
|
class: "template-selector__button-paste",
|
2804
2818
|
disabled: Je.value,
|
2805
2819
|
onClick: i
|
2806
|
-
}, " Отправить ", 8,
|
2820
|
+
}, " Отправить ", 8, hl)
|
2807
2821
|
])
|
2808
2822
|
])
|
2809
|
-
], 10,
|
2823
|
+
], 10, Po)
|
2810
2824
|
]));
|
2811
2825
|
}
|
2812
|
-
},
|
2826
|
+
}, vl = /* @__PURE__ */ U(yl, [["__scopeId", "data-v-74bd4b6b"]]), bl = {
|
2813
2827
|
__name: "ButtonWabaTemplateSelector",
|
2814
2828
|
props: {
|
2815
2829
|
wabaTemplates: {
|
@@ -2858,7 +2872,7 @@ const Qd = (e, t = null) => {
|
|
2858
2872
|
const d = (g) => {
|
2859
2873
|
s("sendWabaValues", g);
|
2860
2874
|
};
|
2861
|
-
return (g,
|
2875
|
+
return (g, h) => (A(), u(q, null, [
|
2862
2876
|
o("button", {
|
2863
2877
|
ref_key: "templateButton",
|
2864
2878
|
ref: n,
|
@@ -2866,7 +2880,7 @@ const Qd = (e, t = null) => {
|
|
2866
2880
|
onClick: i,
|
2867
2881
|
onMouseover: l,
|
2868
2882
|
onMouseout: c
|
2869
|
-
},
|
2883
|
+
}, h[0] || (h[0] = [
|
2870
2884
|
o("span", { class: "pi pi-code" }, null, -1)
|
2871
2885
|
]), 34),
|
2872
2886
|
o("div", {
|
@@ -2875,7 +2889,7 @@ const Qd = (e, t = null) => {
|
|
2875
2889
|
onMouseover: l,
|
2876
2890
|
onMouseout: c
|
2877
2891
|
}, [
|
2878
|
-
P(
|
2892
|
+
P(vl, {
|
2879
2893
|
"waba-templates": e.wabaTemplates,
|
2880
2894
|
"group-templates": e.groupTemplates,
|
2881
2895
|
"elevated-window": e.elevatedWindow,
|
@@ -2885,7 +2899,7 @@ const Qd = (e, t = null) => {
|
|
2885
2899
|
], 544)
|
2886
2900
|
], 64));
|
2887
2901
|
}
|
2888
|
-
},
|
2902
|
+
}, Jd = /* @__PURE__ */ U(bl, [["__scopeId", "data-v-91111feb"]]), ca = "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64", ua = {
|
2889
2903
|
recent: "Recently used",
|
2890
2904
|
smileys_people: "Smiles & People",
|
2891
2905
|
animals_nature: "Animals & Nature",
|
@@ -2895,21 +2909,21 @@ const Qd = (e, t = null) => {
|
|
2895
2909
|
objects: "Objects",
|
2896
2910
|
symbols: "Symbols",
|
2897
2911
|
flags: "Flags"
|
2898
|
-
}, da = "u", _f = "n",
|
2912
|
+
}, da = "u", _f = "n", Ut = "v", Nt = "r", Ml = {
|
2899
2913
|
[_f]: ["grinning face", "grinning"],
|
2900
2914
|
[da]: "1f600",
|
2901
|
-
[
|
2902
|
-
}, yf = "neutral",
|
2915
|
+
[Nt]: "1f600"
|
2916
|
+
}, yf = "neutral", _l = "1f3fb", Il = "1f3fc", wl = "1f3fd", kl = "1f3fe", Nl = "1f3ff", Dl = [
|
2903
2917
|
yf,
|
2904
|
-
Ml,
|
2905
2918
|
_l,
|
2906
2919
|
Il,
|
2907
2920
|
wl,
|
2908
|
-
kl
|
2909
|
-
|
2921
|
+
kl,
|
2922
|
+
Nl
|
2923
|
+
], El = {
|
2910
2924
|
placeholder: "Search emoji",
|
2911
2925
|
skinTone: "Skin tone"
|
2912
|
-
},
|
2926
|
+
}, jl = ["light", "dark", "auto"], Tl = [
|
2913
2927
|
{
|
2914
2928
|
n: [
|
2915
2929
|
"grinning face",
|
@@ -7317,7 +7331,7 @@ const Qd = (e, t = null) => {
|
|
7317
7331
|
],
|
7318
7332
|
u: "1f48e"
|
7319
7333
|
}
|
7320
|
-
],
|
7334
|
+
], xl = [
|
7321
7335
|
{
|
7322
7336
|
n: [
|
7323
7337
|
"monkey face",
|
@@ -8051,7 +8065,7 @@ const Qd = (e, t = null) => {
|
|
8051
8065
|
],
|
8052
8066
|
u: "1f343"
|
8053
8067
|
}
|
8054
|
-
],
|
8068
|
+
], Vl = [
|
8055
8069
|
{
|
8056
8070
|
n: [
|
8057
8071
|
"grapes"
|
@@ -8717,7 +8731,7 @@ const Qd = (e, t = null) => {
|
|
8717
8731
|
],
|
8718
8732
|
u: "1f3fa"
|
8719
8733
|
}
|
8720
|
-
],
|
8734
|
+
], Sl = [
|
8721
8735
|
{
|
8722
8736
|
n: [
|
8723
8737
|
"jack-o-lantern",
|
@@ -9123,7 +9137,7 @@ const Qd = (e, t = null) => {
|
|
9123
9137
|
],
|
9124
9138
|
u: "1f3b4"
|
9125
9139
|
}
|
9126
|
-
],
|
9140
|
+
], Cl = [
|
9127
9141
|
{
|
9128
9142
|
n: [
|
9129
9143
|
"earth globe europe-africa",
|
@@ -10490,7 +10504,7 @@ const Qd = (e, t = null) => {
|
|
10490
10504
|
],
|
10491
10505
|
u: "1f30a"
|
10492
10506
|
}
|
10493
|
-
],
|
10507
|
+
], Ol = [
|
10494
10508
|
{
|
10495
10509
|
n: [
|
10496
10510
|
"speaker with cancellation stroke",
|
@@ -11554,7 +11568,7 @@ const Qd = (e, t = null) => {
|
|
11554
11568
|
],
|
11555
11569
|
u: "1f6d2"
|
11556
11570
|
}
|
11557
|
-
],
|
11571
|
+
], zl = [
|
11558
11572
|
{
|
11559
11573
|
n: [
|
11560
11574
|
"automated teller machine",
|
@@ -12952,7 +12966,7 @@ const Qd = (e, t = null) => {
|
|
12952
12966
|
],
|
12953
12967
|
u: "1f535"
|
12954
12968
|
}
|
12955
|
-
],
|
12969
|
+
], Ll = [
|
12956
12970
|
{
|
12957
12971
|
n: [
|
12958
12972
|
"chequered flag",
|
@@ -14832,15 +14846,15 @@ const Qd = (e, t = null) => {
|
|
14832
14846
|
u: "1f3f4-e0067-e0062-e0077-e006c-e0073-e007f"
|
14833
14847
|
}
|
14834
14848
|
];
|
14835
|
-
var
|
14836
|
-
smileys_people:
|
14837
|
-
animals_nature:
|
14838
|
-
food_drink:
|
14839
|
-
activities:
|
14840
|
-
travel_places:
|
14841
|
-
objects:
|
14842
|
-
symbols:
|
14843
|
-
flags:
|
14849
|
+
var Ul = {
|
14850
|
+
smileys_people: Tl,
|
14851
|
+
animals_nature: xl,
|
14852
|
+
food_drink: Vl,
|
14853
|
+
activities: Sl,
|
14854
|
+
travel_places: Cl,
|
14855
|
+
objects: Ol,
|
14856
|
+
symbols: zl,
|
14857
|
+
flags: Ll
|
14844
14858
|
}, Sn = [
|
14845
14859
|
{
|
14846
14860
|
key: "recent",
|
@@ -14888,9 +14902,9 @@ var Ll = {
|
|
14888
14902
|
u: "1f3f3-fe0f"
|
14889
14903
|
}
|
14890
14904
|
];
|
14891
|
-
const
|
14905
|
+
const Bl = (e, t) => t.some((f) => e instanceof f);
|
14892
14906
|
let Cn, On;
|
14893
|
-
function
|
14907
|
+
function Ql() {
|
14894
14908
|
return Cn || (Cn = [
|
14895
14909
|
IDBDatabase,
|
14896
14910
|
IDBObjectStore,
|
@@ -14899,7 +14913,7 @@ function Bl() {
|
|
14899
14913
|
IDBTransaction
|
14900
14914
|
]);
|
14901
14915
|
}
|
14902
|
-
function
|
14916
|
+
function Rl() {
|
14903
14917
|
return On || (On = [
|
14904
14918
|
IDBCursor.prototype.advance,
|
14905
14919
|
IDBCursor.prototype.continue,
|
@@ -14907,7 +14921,7 @@ function Ql() {
|
|
14907
14921
|
]);
|
14908
14922
|
}
|
14909
14923
|
const ga = /* @__PURE__ */ new WeakMap(), Pf = /* @__PURE__ */ new WeakMap(), ma = /* @__PURE__ */ new WeakMap(), Sf = /* @__PURE__ */ new WeakMap(), nn = /* @__PURE__ */ new WeakMap();
|
14910
|
-
function
|
14924
|
+
function Yl(e) {
|
14911
14925
|
const t = new Promise((f, n) => {
|
14912
14926
|
const a = () => {
|
14913
14927
|
e.removeEventListener("success", s), e.removeEventListener("error", i);
|
@@ -14923,7 +14937,7 @@ function Rl(e) {
|
|
14923
14937
|
}).catch(() => {
|
14924
14938
|
}), nn.set(t, e), t;
|
14925
14939
|
}
|
14926
|
-
function
|
14940
|
+
function $l(e) {
|
14927
14941
|
if (Pf.has(e))
|
14928
14942
|
return;
|
14929
14943
|
const t = new Promise((f, n) => {
|
@@ -14957,28 +14971,28 @@ let Ff = {
|
|
14957
14971
|
return e instanceof IDBTransaction && (t === "done" || t === "store") ? !0 : t in e;
|
14958
14972
|
}
|
14959
14973
|
};
|
14960
|
-
function
|
14974
|
+
function Pl(e) {
|
14961
14975
|
Ff = e(Ff);
|
14962
14976
|
}
|
14963
|
-
function
|
14977
|
+
function Fl(e) {
|
14964
14978
|
return e === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(t, ...f) {
|
14965
14979
|
const n = e.call(Cf(this), t, ...f);
|
14966
14980
|
return ma.set(n, t.sort ? t.sort() : [t]), Ue(n);
|
14967
|
-
} :
|
14981
|
+
} : Rl().includes(e) ? function(...t) {
|
14968
14982
|
return e.apply(Cf(this), t), Ue(ga.get(this));
|
14969
14983
|
} : function(...t) {
|
14970
14984
|
return Ue(e.apply(Cf(this), t));
|
14971
14985
|
};
|
14972
14986
|
}
|
14973
|
-
function
|
14974
|
-
return typeof e == "function" ?
|
14987
|
+
function ql(e) {
|
14988
|
+
return typeof e == "function" ? Fl(e) : (e instanceof IDBTransaction && $l(e), Bl(e, Ql()) ? new Proxy(e, Ff) : e);
|
14975
14989
|
}
|
14976
14990
|
function Ue(e) {
|
14977
14991
|
if (e instanceof IDBRequest)
|
14978
|
-
return
|
14992
|
+
return Yl(e);
|
14979
14993
|
if (Sf.has(e))
|
14980
14994
|
return Sf.get(e);
|
14981
|
-
const t =
|
14995
|
+
const t = ql(e);
|
14982
14996
|
return t !== e && (Sf.set(e, t), nn.set(t, e)), t;
|
14983
14997
|
}
|
14984
14998
|
const Cf = (e) => nn.get(e);
|
@@ -14995,14 +15009,14 @@ function an(e, t, { blocked: f, upgrade: n, blocking: a, terminated: s } = {}) {
|
|
14995
15009
|
}).catch(() => {
|
14996
15010
|
}), l;
|
14997
15011
|
}
|
14998
|
-
const
|
15012
|
+
const Hl = ["get", "getKey", "getAll", "getAllKeys", "count"], Wl = ["put", "add", "delete", "clear"], Of = /* @__PURE__ */ new Map();
|
14999
15013
|
function zn(e, t) {
|
15000
15014
|
if (!(e instanceof IDBDatabase && !(t in e) && typeof t == "string"))
|
15001
15015
|
return;
|
15002
15016
|
if (Of.get(t))
|
15003
15017
|
return Of.get(t);
|
15004
|
-
const f = t.replace(/FromIndex$/, ""), n = t !== f, a =
|
15005
|
-
if (!(f in (n ? IDBIndex : IDBObjectStore).prototype) || !(a ||
|
15018
|
+
const f = t.replace(/FromIndex$/, ""), n = t !== f, a = Wl.includes(f);
|
15019
|
+
if (!(f in (n ? IDBIndex : IDBObjectStore).prototype) || !(a || Hl.includes(f)))
|
15006
15020
|
return;
|
15007
15021
|
const s = async function(i, ...l) {
|
15008
15022
|
const c = this.transaction(i, a ? "readwrite" : "readonly");
|
@@ -15014,13 +15028,13 @@ function zn(e, t) {
|
|
15014
15028
|
};
|
15015
15029
|
return Of.set(t, s), s;
|
15016
15030
|
}
|
15017
|
-
|
15031
|
+
Pl((e) => ({
|
15018
15032
|
...e,
|
15019
15033
|
get: (t, f, n) => zn(t, f) || e.get(t, f, n),
|
15020
15034
|
has: (t, f) => !!zn(t, f) || e.has(t, f)
|
15021
15035
|
}));
|
15022
15036
|
const sn = "EMJ", et = "emojis", on = 3;
|
15023
|
-
async function
|
15037
|
+
async function Kl() {
|
15024
15038
|
(await an(sn, on, {
|
15025
15039
|
upgrade(t, f) {
|
15026
15040
|
t.objectStoreNames.contains(et) || t.createObjectStore(et, {
|
@@ -15032,8 +15046,8 @@ async function Wl() {
|
|
15032
15046
|
}
|
15033
15047
|
})).close();
|
15034
15048
|
}
|
15035
|
-
|
15036
|
-
const
|
15049
|
+
Kl();
|
15050
|
+
const Jl = {
|
15037
15051
|
native: !1,
|
15038
15052
|
hideSearch: !0,
|
15039
15053
|
hideGroupIcons: !1,
|
@@ -15046,23 +15060,23 @@ const Kl = {
|
|
15046
15060
|
groupOrder: [],
|
15047
15061
|
groupIcons: {}
|
15048
15062
|
};
|
15049
|
-
async function
|
15063
|
+
async function Gl() {
|
15050
15064
|
return await (await an(sn, on)).transaction(et, "readonly").objectStore(et).getAll();
|
15051
15065
|
}
|
15052
|
-
function
|
15066
|
+
function Zl() {
|
15053
15067
|
const e = Jn({
|
15054
15068
|
search: "",
|
15055
|
-
emoji:
|
15069
|
+
emoji: Ml,
|
15056
15070
|
activeGroup: "",
|
15057
15071
|
skinTone: yf,
|
15058
|
-
options:
|
15072
|
+
options: Jl,
|
15059
15073
|
additionalGroups: {},
|
15060
15074
|
recent: [],
|
15061
15075
|
get emojis() {
|
15062
15076
|
return {
|
15063
15077
|
recent: this.recent,
|
15064
15078
|
...this.options.additionalGroups,
|
15065
|
-
...
|
15079
|
+
...Ul
|
15066
15080
|
};
|
15067
15081
|
},
|
15068
15082
|
get disabled() {
|
@@ -15078,9 +15092,9 @@ function Gl() {
|
|
15078
15092
|
const g = [
|
15079
15093
|
...this.options.groupOrder,
|
15080
15094
|
...Object.keys(this.options.additionalGroups),
|
15081
|
-
...Sn.map((
|
15095
|
+
...Sn.map((h) => h.key)
|
15082
15096
|
];
|
15083
|
-
return [...new Set(g)].filter((
|
15097
|
+
return [...new Set(g)].filter((h) => !this.disabled.includes(h));
|
15084
15098
|
}
|
15085
15099
|
});
|
15086
15100
|
function t() {
|
@@ -15088,8 +15102,8 @@ function Gl() {
|
|
15088
15102
|
}
|
15089
15103
|
async function f() {
|
15090
15104
|
var g;
|
15091
|
-
let
|
15092
|
-
return Array.isArray(
|
15105
|
+
let h = await Gl();
|
15106
|
+
return Array.isArray(h) && h.length ? h = JSON.parse(((g = h[0]) == null ? void 0 : g.value) || "") : h = [], h;
|
15093
15107
|
}
|
15094
15108
|
function n() {
|
15095
15109
|
f().then((g) => {
|
@@ -15116,8 +15130,8 @@ function Gl() {
|
|
15116
15130
|
const d = (g) => {
|
15117
15131
|
if (e.options.displayRecent !== !0)
|
15118
15132
|
return;
|
15119
|
-
const
|
15120
|
-
if (
|
15133
|
+
const h = e.recent.findIndex((m) => m.u === g.u);
|
15134
|
+
if (h > 0 && e.recent.splice(h, 1), h === 0)
|
15121
15135
|
return;
|
15122
15136
|
const p = { u: g.u, n: Gn(g.n) };
|
15123
15137
|
e.recent = [p, ...e.recent], e.recent.length > 24 && (e.recent.length = 24), r();
|
@@ -15132,11 +15146,11 @@ function Gl() {
|
|
15132
15146
|
updateSelect: d
|
15133
15147
|
};
|
15134
15148
|
}
|
15135
|
-
var re = "top", be = "bottom", Me = "right", ce = "left", ln = "auto",
|
15136
|
-
return e.concat([t + "-" + tt, t + "-" +
|
15137
|
-
}, []), ha = /* @__PURE__ */ [].concat(
|
15138
|
-
return e.concat([t, t + "-" + tt, t + "-" +
|
15139
|
-
}, []),
|
15149
|
+
var re = "top", be = "bottom", Me = "right", ce = "left", ln = "auto", Tt = [re, be, Me, ce], tt = "start", Dt = "end", Xl = "clippingParents", pa = "viewport", rt = "popper", eA = "reference", Ln = /* @__PURE__ */ Tt.reduce(function(e, t) {
|
15150
|
+
return e.concat([t + "-" + tt, t + "-" + Dt]);
|
15151
|
+
}, []), ha = /* @__PURE__ */ [].concat(Tt, [ln]).reduce(function(e, t) {
|
15152
|
+
return e.concat([t, t + "-" + tt, t + "-" + Dt]);
|
15153
|
+
}, []), tA = "beforeRead", fA = "read", nA = "afterRead", aA = "beforeMain", sA = "main", iA = "afterMain", oA = "beforeWrite", lA = "write", AA = "afterWrite", rA = [tA, fA, nA, aA, sA, iA, oA, lA, AA];
|
15140
15154
|
function Ee(e) {
|
15141
15155
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
15142
15156
|
}
|
@@ -15163,7 +15177,7 @@ function ya(e) {
|
|
15163
15177
|
var t = Ie(e).ShadowRoot;
|
15164
15178
|
return e instanceof t || e instanceof ShadowRoot;
|
15165
15179
|
}
|
15166
|
-
function
|
15180
|
+
function cA(e) {
|
15167
15181
|
var t = e.state;
|
15168
15182
|
Object.keys(t.elements).forEach(function(f) {
|
15169
15183
|
var n = t.styles[f] || {}, a = t.attributes[f] || {}, s = t.elements[f];
|
@@ -15173,7 +15187,7 @@ function rA(e) {
|
|
15173
15187
|
}));
|
15174
15188
|
});
|
15175
15189
|
}
|
15176
|
-
function
|
15190
|
+
function uA(e) {
|
15177
15191
|
var t = e.state, f = {
|
15178
15192
|
popper: {
|
15179
15193
|
position: t.options.strategy,
|
@@ -15197,12 +15211,12 @@ function cA(e) {
|
|
15197
15211
|
});
|
15198
15212
|
};
|
15199
15213
|
}
|
15200
|
-
var
|
15214
|
+
var dA = {
|
15201
15215
|
name: "applyStyles",
|
15202
15216
|
enabled: !0,
|
15203
15217
|
phase: "write",
|
15204
|
-
fn:
|
15205
|
-
effect:
|
15218
|
+
fn: cA,
|
15219
|
+
effect: uA,
|
15206
15220
|
requires: ["computeStyles"]
|
15207
15221
|
};
|
15208
15222
|
function De(e) {
|
@@ -15253,7 +15267,7 @@ function va(e, t) {
|
|
15253
15267
|
function je(e) {
|
15254
15268
|
return Ie(e).getComputedStyle(e);
|
15255
15269
|
}
|
15256
|
-
function
|
15270
|
+
function gA(e) {
|
15257
15271
|
return ["table", "td", "th"].indexOf(Ee(e)) >= 0;
|
15258
15272
|
}
|
15259
15273
|
function Qe(e) {
|
@@ -15265,7 +15279,7 @@ function If(e) {
|
|
15265
15279
|
function Un(e) {
|
15266
15280
|
return !ye(e) || je(e).position === "fixed" ? null : e.offsetParent;
|
15267
15281
|
}
|
15268
|
-
function
|
15282
|
+
function mA(e) {
|
15269
15283
|
var t = navigator.userAgent.toLowerCase().indexOf("firefox") !== -1, f = navigator.userAgent.indexOf("Trident") !== -1;
|
15270
15284
|
if (f && ye(e)) {
|
15271
15285
|
var n = je(e);
|
@@ -15280,10 +15294,10 @@ function gA(e) {
|
|
15280
15294
|
}
|
15281
15295
|
return null;
|
15282
15296
|
}
|
15283
|
-
function
|
15284
|
-
for (var t = Ie(e), f = Un(e); f &&
|
15297
|
+
function xt(e) {
|
15298
|
+
for (var t = Ie(e), f = Un(e); f && gA(f) && je(f).position === "static"; )
|
15285
15299
|
f = Un(f);
|
15286
|
-
return f && (Ee(f) === "html" || Ee(f) === "body" && je(f).position === "static") ? t : f ||
|
15300
|
+
return f && (Ee(f) === "html" || Ee(f) === "body" && je(f).position === "static") ? t : f || mA(e) || t;
|
15287
15301
|
}
|
15288
15302
|
function rn(e) {
|
15289
15303
|
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
@@ -15291,7 +15305,7 @@ function rn(e) {
|
|
15291
15305
|
function vt(e, t, f) {
|
15292
15306
|
return qe(e, vf(t, f));
|
15293
15307
|
}
|
15294
|
-
function
|
15308
|
+
function pA(e, t, f) {
|
15295
15309
|
var n = vt(e, t, f);
|
15296
15310
|
return n > f ? f : n;
|
15297
15311
|
}
|
@@ -15311,41 +15325,41 @@ function _a(e, t) {
|
|
15311
15325
|
return f[n] = e, f;
|
15312
15326
|
}, {});
|
15313
15327
|
}
|
15314
|
-
var
|
15328
|
+
var hA = function(t, f) {
|
15315
15329
|
return t = typeof t == "function" ? t(Object.assign({}, f.rects, {
|
15316
15330
|
placement: f.placement
|
15317
|
-
})) : t, Ma(typeof t != "number" ? t : _a(t,
|
15331
|
+
})) : t, Ma(typeof t != "number" ? t : _a(t, Tt));
|
15318
15332
|
};
|
15319
|
-
function
|
15333
|
+
function yA(e) {
|
15320
15334
|
var t, f = e.state, n = e.name, a = e.options, s = f.elements.arrow, i = f.modifiersData.popperOffsets, l = De(f.placement), c = rn(l), r = [ce, Me].indexOf(l) >= 0, d = r ? "height" : "width";
|
15321
15335
|
if (!(!s || !i)) {
|
15322
|
-
var g =
|
15336
|
+
var g = hA(a.padding, f), h = An(s), p = c === "y" ? re : ce, m = c === "y" ? be : Me, y = f.rects.reference[d] + f.rects.reference[c] - i[c] - f.rects.popper[d], v = i[c] - f.rects.reference[c], x = xt(s), O = x ? c === "y" ? x.clientHeight || 0 : x.clientWidth || 0 : 0, z = y / 2 - v / 2, V = g[p], k = O - h[d] - g[m], E = O / 2 - h[d] / 2 + z, _ = vt(V, E, k), w = c;
|
15323
15337
|
f.modifiersData[n] = (t = {}, t[w] = _, t.centerOffset = _ - E, t);
|
15324
15338
|
}
|
15325
15339
|
}
|
15326
|
-
function
|
15340
|
+
function vA(e) {
|
15327
15341
|
var t = e.state, f = e.options, n = f.element, a = n === void 0 ? "[data-popper-arrow]" : n;
|
15328
15342
|
a != null && (typeof a == "string" && (a = t.elements.popper.querySelector(a), !a) || va(t.elements.popper, a) && (t.elements.arrow = a));
|
15329
15343
|
}
|
15330
|
-
var
|
15344
|
+
var bA = {
|
15331
15345
|
name: "arrow",
|
15332
15346
|
enabled: !0,
|
15333
15347
|
phase: "main",
|
15334
|
-
fn:
|
15335
|
-
effect:
|
15348
|
+
fn: yA,
|
15349
|
+
effect: vA,
|
15336
15350
|
requires: ["popperOffsets"],
|
15337
15351
|
requiresIfExists: ["preventOverflow"]
|
15338
15352
|
};
|
15339
15353
|
function st(e) {
|
15340
15354
|
return e.split("-")[1];
|
15341
15355
|
}
|
15342
|
-
var
|
15356
|
+
var MA = {
|
15343
15357
|
top: "auto",
|
15344
15358
|
right: "auto",
|
15345
15359
|
bottom: "auto",
|
15346
15360
|
left: "auto"
|
15347
15361
|
};
|
15348
|
-
function
|
15362
|
+
function _A(e) {
|
15349
15363
|
var t = e.x, f = e.y, n = window, a = n.devicePixelRatio || 1;
|
15350
15364
|
return {
|
15351
15365
|
x: nt(t * a) / a || 0,
|
@@ -15353,15 +15367,15 @@ function MA(e) {
|
|
15353
15367
|
};
|
15354
15368
|
}
|
15355
15369
|
function Bn(e) {
|
15356
|
-
var t, f = e.popper, n = e.popperRect, a = e.placement, s = e.variation, i = e.offsets, l = e.position, c = e.gpuAcceleration, r = e.adaptive, d = e.roundOffsets, g = e.isFixed,
|
15370
|
+
var t, f = e.popper, n = e.popperRect, a = e.placement, s = e.variation, i = e.offsets, l = e.position, c = e.gpuAcceleration, r = e.adaptive, d = e.roundOffsets, g = e.isFixed, h = d === !0 ? _A(i) : typeof d == "function" ? d(i) : i, p = h.x, m = p === void 0 ? 0 : p, y = h.y, v = y === void 0 ? 0 : y, x = i.hasOwnProperty("x"), O = i.hasOwnProperty("y"), z = ce, V = re, k = window;
|
15357
15371
|
if (r) {
|
15358
|
-
var E =
|
15359
|
-
if (E === Ie(f) && (E = Qe(f), je(E).position !== "static" && l === "absolute" && (_ = "scrollHeight", w = "scrollWidth")), E = E, a === re || (a === ce || a === Me) && s ===
|
15372
|
+
var E = xt(f), _ = "clientHeight", w = "clientWidth";
|
15373
|
+
if (E === Ie(f) && (E = Qe(f), je(E).position !== "static" && l === "absolute" && (_ = "scrollHeight", w = "scrollWidth")), E = E, a === re || (a === ce || a === Me) && s === Dt) {
|
15360
15374
|
V = be;
|
15361
15375
|
var N = g && k.visualViewport ? k.visualViewport.height : E[_];
|
15362
15376
|
v -= N - n.height, v *= c ? 1 : -1;
|
15363
15377
|
}
|
15364
|
-
if (a === ce || (a === re || a === be) && s ===
|
15378
|
+
if (a === ce || (a === re || a === be) && s === Dt) {
|
15365
15379
|
z = Me;
|
15366
15380
|
var j = g && k.visualViewport ? k.visualViewport.width : E[w];
|
15367
15381
|
m -= j - n.width, m *= c ? 1 : -1;
|
@@ -15369,14 +15383,14 @@ function Bn(e) {
|
|
15369
15383
|
}
|
15370
15384
|
var Q = Object.assign({
|
15371
15385
|
position: l
|
15372
|
-
}, r &&
|
15386
|
+
}, r && MA);
|
15373
15387
|
if (c) {
|
15374
15388
|
var L;
|
15375
15389
|
return Object.assign({}, Q, (L = {}, L[V] = O ? "0" : "", L[z] = x ? "0" : "", L.transform = (k.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + v + "px)" : "translate3d(" + m + "px, " + v + "px, 0)", L));
|
15376
15390
|
}
|
15377
15391
|
return Object.assign({}, Q, (t = {}, t[V] = O ? v + "px" : "", t[z] = x ? m + "px" : "", t.transform = "", t));
|
15378
15392
|
}
|
15379
|
-
function
|
15393
|
+
function IA(e) {
|
15380
15394
|
var t = e.state, f = e.options, n = f.gpuAcceleration, a = n === void 0 ? !0 : n, s = f.adaptive, i = s === void 0 ? !0 : s, l = f.roundOffsets, c = l === void 0 ? !0 : l, r = {
|
15381
15395
|
placement: De(t.placement),
|
15382
15396
|
variation: st(t.placement),
|
@@ -15399,51 +15413,51 @@ function _A(e) {
|
|
15399
15413
|
"data-popper-placement": t.placement
|
15400
15414
|
});
|
15401
15415
|
}
|
15402
|
-
var
|
15416
|
+
var wA = {
|
15403
15417
|
name: "computeStyles",
|
15404
15418
|
enabled: !0,
|
15405
15419
|
phase: "beforeWrite",
|
15406
|
-
fn:
|
15420
|
+
fn: IA,
|
15407
15421
|
data: {}
|
15408
|
-
},
|
15422
|
+
}, Bt = {
|
15409
15423
|
passive: !0
|
15410
15424
|
};
|
15411
|
-
function
|
15425
|
+
function kA(e) {
|
15412
15426
|
var t = e.state, f = e.instance, n = e.options, a = n.scroll, s = a === void 0 ? !0 : a, i = n.resize, l = i === void 0 ? !0 : i, c = Ie(t.elements.popper), r = [].concat(t.scrollParents.reference, t.scrollParents.popper);
|
15413
15427
|
return s && r.forEach(function(d) {
|
15414
|
-
d.addEventListener("scroll", f.update,
|
15415
|
-
}), l && c.addEventListener("resize", f.update,
|
15428
|
+
d.addEventListener("scroll", f.update, Bt);
|
15429
|
+
}), l && c.addEventListener("resize", f.update, Bt), function() {
|
15416
15430
|
s && r.forEach(function(d) {
|
15417
|
-
d.removeEventListener("scroll", f.update,
|
15418
|
-
}), l && c.removeEventListener("resize", f.update,
|
15431
|
+
d.removeEventListener("scroll", f.update, Bt);
|
15432
|
+
}), l && c.removeEventListener("resize", f.update, Bt);
|
15419
15433
|
};
|
15420
15434
|
}
|
15421
|
-
var
|
15435
|
+
var NA = {
|
15422
15436
|
name: "eventListeners",
|
15423
15437
|
enabled: !0,
|
15424
15438
|
phase: "write",
|
15425
15439
|
fn: function() {
|
15426
15440
|
},
|
15427
|
-
effect:
|
15441
|
+
effect: kA,
|
15428
15442
|
data: {}
|
15429
|
-
},
|
15443
|
+
}, DA = {
|
15430
15444
|
left: "right",
|
15431
15445
|
right: "left",
|
15432
15446
|
bottom: "top",
|
15433
15447
|
top: "bottom"
|
15434
15448
|
};
|
15435
|
-
function
|
15449
|
+
function Yt(e) {
|
15436
15450
|
return e.replace(/left|right|bottom|top/g, function(t) {
|
15437
|
-
return
|
15451
|
+
return DA[t];
|
15438
15452
|
});
|
15439
15453
|
}
|
15440
|
-
var
|
15454
|
+
var EA = {
|
15441
15455
|
start: "end",
|
15442
15456
|
end: "start"
|
15443
15457
|
};
|
15444
15458
|
function Qn(e) {
|
15445
15459
|
return e.replace(/start|end/g, function(t) {
|
15446
|
-
return
|
15460
|
+
return EA[t];
|
15447
15461
|
});
|
15448
15462
|
}
|
15449
15463
|
function cn(e) {
|
@@ -15456,7 +15470,7 @@ function cn(e) {
|
|
15456
15470
|
function un(e) {
|
15457
15471
|
return at(Qe(e)).left + cn(e).scrollLeft;
|
15458
15472
|
}
|
15459
|
-
function
|
15473
|
+
function jA(e) {
|
15460
15474
|
var t = Ie(e), f = Qe(e), n = t.visualViewport, a = f.clientWidth, s = f.clientHeight, i = 0, l = 0;
|
15461
15475
|
return n && (a = n.width, s = n.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (i = n.offsetLeft, l = n.offsetTop)), {
|
15462
15476
|
width: a,
|
@@ -15465,7 +15479,7 @@ function EA(e) {
|
|
15465
15479
|
y: l
|
15466
15480
|
};
|
15467
15481
|
}
|
15468
|
-
function
|
15482
|
+
function TA(e) {
|
15469
15483
|
var t, f = Qe(e), n = cn(e), a = (t = e.ownerDocument) == null ? void 0 : t.body, s = qe(f.scrollWidth, f.clientWidth, a ? a.scrollWidth : 0, a ? a.clientWidth : 0), i = qe(f.scrollHeight, f.clientHeight, a ? a.scrollHeight : 0, a ? a.clientHeight : 0), l = -n.scrollLeft + un(e), c = -n.scrollTop;
|
15470
15484
|
return je(a || f).direction === "rtl" && (l += qe(f.clientWidth, a ? a.clientWidth : 0) - s), {
|
15471
15485
|
width: s,
|
@@ -15495,21 +15509,21 @@ function qf(e) {
|
|
15495
15509
|
bottom: e.y + e.height
|
15496
15510
|
});
|
15497
15511
|
}
|
15498
|
-
function
|
15512
|
+
function xA(e) {
|
15499
15513
|
var t = at(e);
|
15500
15514
|
return t.top = t.top + e.clientTop, t.left = t.left + e.clientLeft, t.bottom = t.top + e.clientHeight, t.right = t.left + e.clientWidth, t.width = e.clientWidth, t.height = e.clientHeight, t.x = t.left, t.y = t.top, t;
|
15501
15515
|
}
|
15502
15516
|
function Rn(e, t) {
|
15503
|
-
return t === pa ? qf(
|
15517
|
+
return t === pa ? qf(jA(e)) : ft(t) ? xA(t) : qf(TA(Qe(e)));
|
15504
15518
|
}
|
15505
|
-
function
|
15506
|
-
var t = bt(If(e)), f = ["absolute", "fixed"].indexOf(je(e).position) >= 0, n = f && ye(e) ?
|
15519
|
+
function VA(e) {
|
15520
|
+
var t = bt(If(e)), f = ["absolute", "fixed"].indexOf(je(e).position) >= 0, n = f && ye(e) ? xt(e) : e;
|
15507
15521
|
return ft(n) ? t.filter(function(a) {
|
15508
15522
|
return ft(a) && va(a, n) && Ee(a) !== "body" && (f ? je(a).position !== "static" : !0);
|
15509
15523
|
}) : [];
|
15510
15524
|
}
|
15511
|
-
function
|
15512
|
-
var n = t === "clippingParents" ?
|
15525
|
+
function SA(e, t, f) {
|
15526
|
+
var n = t === "clippingParents" ? VA(e) : [].concat(t), a = [].concat(n, [f]), s = a[0], i = a.reduce(function(l, c) {
|
15513
15527
|
var r = Rn(e, c);
|
15514
15528
|
return l.top = qe(r.top, l.top), l.right = vf(r.right, l.right), l.bottom = vf(r.bottom, l.bottom), l.left = qe(r.left, l.left), l;
|
15515
15529
|
}, Rn(e, s));
|
@@ -15555,25 +15569,25 @@ function wa(e) {
|
|
15555
15569
|
case tt:
|
15556
15570
|
c[r] = c[r] - (t[d] / 2 - f[d] / 2);
|
15557
15571
|
break;
|
15558
|
-
case
|
15572
|
+
case Dt:
|
15559
15573
|
c[r] = c[r] + (t[d] / 2 - f[d] / 2);
|
15560
15574
|
break;
|
15561
15575
|
}
|
15562
15576
|
}
|
15563
15577
|
return c;
|
15564
15578
|
}
|
15565
|
-
function
|
15579
|
+
function Et(e, t) {
|
15566
15580
|
t === void 0 && (t = {});
|
15567
|
-
var f = t, n = f.placement, a = n === void 0 ? e.placement : n, s = f.boundary, i = s === void 0 ?
|
15581
|
+
var f = t, n = f.placement, a = n === void 0 ? e.placement : n, s = f.boundary, i = s === void 0 ? Xl : s, l = f.rootBoundary, c = l === void 0 ? pa : l, r = f.elementContext, d = r === void 0 ? rt : r, g = f.altBoundary, h = g === void 0 ? !1 : g, p = f.padding, m = p === void 0 ? 0 : p, y = Ma(typeof m != "number" ? m : _a(m, Tt)), v = d === rt ? eA : rt, x = e.rects.popper, O = e.elements[h ? v : d], z = SA(ft(O) ? O : O.contextElement || Qe(e.elements.popper), i, c), V = at(e.elements.reference), k = wa({
|
15568
15582
|
reference: V,
|
15569
15583
|
element: x,
|
15570
15584
|
strategy: "absolute",
|
15571
15585
|
placement: a
|
15572
15586
|
}), E = qf(Object.assign({}, x, k)), _ = d === rt ? E : V, w = {
|
15573
|
-
top: z.top - _.top +
|
15574
|
-
bottom: _.bottom - z.bottom +
|
15575
|
-
left: z.left - _.left +
|
15576
|
-
right: _.right - z.right +
|
15587
|
+
top: z.top - _.top + y.top,
|
15588
|
+
bottom: _.bottom - z.bottom + y.bottom,
|
15589
|
+
left: z.left - _.left + y.left,
|
15590
|
+
right: _.right - z.right + y.right
|
15577
15591
|
}, N = e.modifiersData.offset;
|
15578
15592
|
if (d === rt && N) {
|
15579
15593
|
var j = N[a];
|
@@ -15584,54 +15598,54 @@ function Dt(e, t) {
|
|
15584
15598
|
}
|
15585
15599
|
return w;
|
15586
15600
|
}
|
15587
|
-
function
|
15601
|
+
function CA(e, t) {
|
15588
15602
|
t === void 0 && (t = {});
|
15589
15603
|
var f = t, n = f.placement, a = f.boundary, s = f.rootBoundary, i = f.padding, l = f.flipVariations, c = f.allowedAutoPlacements, r = c === void 0 ? ha : c, d = st(n), g = d ? l ? Ln : Ln.filter(function(m) {
|
15590
15604
|
return st(m) === d;
|
15591
|
-
}) :
|
15605
|
+
}) : Tt, h = g.filter(function(m) {
|
15592
15606
|
return r.indexOf(m) >= 0;
|
15593
15607
|
});
|
15594
|
-
|
15595
|
-
var p =
|
15596
|
-
return m[
|
15597
|
-
placement:
|
15608
|
+
h.length === 0 && (h = g);
|
15609
|
+
var p = h.reduce(function(m, y) {
|
15610
|
+
return m[y] = Et(e, {
|
15611
|
+
placement: y,
|
15598
15612
|
boundary: a,
|
15599
15613
|
rootBoundary: s,
|
15600
15614
|
padding: i
|
15601
|
-
})[De(
|
15615
|
+
})[De(y)], m;
|
15602
15616
|
}, {});
|
15603
|
-
return Object.keys(p).sort(function(m,
|
15604
|
-
return p[m] - p[
|
15617
|
+
return Object.keys(p).sort(function(m, y) {
|
15618
|
+
return p[m] - p[y];
|
15605
15619
|
});
|
15606
15620
|
}
|
15607
|
-
function
|
15621
|
+
function OA(e) {
|
15608
15622
|
if (De(e) === ln)
|
15609
15623
|
return [];
|
15610
|
-
var t =
|
15624
|
+
var t = Yt(e);
|
15611
15625
|
return [Qn(e), t, Qn(t)];
|
15612
15626
|
}
|
15613
|
-
function
|
15627
|
+
function zA(e) {
|
15614
15628
|
var t = e.state, f = e.options, n = e.name;
|
15615
15629
|
if (!t.modifiersData[n]._skip) {
|
15616
|
-
for (var a = f.mainAxis, s = a === void 0 ? !0 : a, i = f.altAxis, l = i === void 0 ? !0 : i, c = f.fallbackPlacements, r = f.padding, d = f.boundary, g = f.rootBoundary,
|
15617
|
-
return Ce.concat(De(S) === ln ?
|
15630
|
+
for (var a = f.mainAxis, s = a === void 0 ? !0 : a, i = f.altAxis, l = i === void 0 ? !0 : i, c = f.fallbackPlacements, r = f.padding, d = f.boundary, g = f.rootBoundary, h = f.altBoundary, p = f.flipVariations, m = p === void 0 ? !0 : p, y = f.allowedAutoPlacements, v = t.options.placement, x = De(v), O = x === v, z = c || (O || !m ? [Yt(v)] : OA(v)), V = [v].concat(z).reduce(function(Ce, S) {
|
15631
|
+
return Ce.concat(De(S) === ln ? CA(t, {
|
15618
15632
|
placement: S,
|
15619
15633
|
boundary: d,
|
15620
15634
|
rootBoundary: g,
|
15621
15635
|
padding: r,
|
15622
15636
|
flipVariations: m,
|
15623
|
-
allowedAutoPlacements:
|
15637
|
+
allowedAutoPlacements: y
|
15624
15638
|
}) : S);
|
15625
15639
|
}, []), k = t.rects.reference, E = t.rects.popper, _ = /* @__PURE__ */ new Map(), w = !0, N = V[0], j = 0; j < V.length; j++) {
|
15626
|
-
var Q = V[j], L = De(Q), H = st(Q) === tt, G = [re, be].indexOf(L) >= 0,
|
15640
|
+
var Q = V[j], L = De(Q), H = st(Q) === tt, G = [re, be].indexOf(L) >= 0, oe = G ? "width" : "height", K = Et(t, {
|
15627
15641
|
placement: Q,
|
15628
15642
|
boundary: d,
|
15629
15643
|
rootBoundary: g,
|
15630
|
-
altBoundary:
|
15644
|
+
altBoundary: h,
|
15631
15645
|
padding: r
|
15632
15646
|
}), ee = G ? H ? Me : ce : H ? be : re;
|
15633
|
-
k[
|
15634
|
-
var Ke =
|
15647
|
+
k[oe] > E[oe] && (ee = Yt(ee));
|
15648
|
+
var Ke = Yt(ee), ge = [];
|
15635
15649
|
if (s && ge.push(K[L] <= 0), l && ge.push(K[ee] <= 0, K[Ke] <= 0), ge.every(function(Ce) {
|
15636
15650
|
return Ce;
|
15637
15651
|
})) {
|
@@ -15659,11 +15673,11 @@ function OA(e) {
|
|
15659
15673
|
t.placement !== N && (t.modifiersData[n]._skip = !0, t.placement = N, t.reset = !0);
|
15660
15674
|
}
|
15661
15675
|
}
|
15662
|
-
var
|
15676
|
+
var LA = {
|
15663
15677
|
name: "flip",
|
15664
15678
|
enabled: !0,
|
15665
15679
|
phase: "main",
|
15666
|
-
fn:
|
15680
|
+
fn: zA,
|
15667
15681
|
requiresIfExists: ["offset"],
|
15668
15682
|
data: {
|
15669
15683
|
_skip: !1
|
@@ -15685,10 +15699,10 @@ function $n(e) {
|
|
15685
15699
|
return e[t] >= 0;
|
15686
15700
|
});
|
15687
15701
|
}
|
15688
|
-
function
|
15689
|
-
var t = e.state, f = e.name, n = t.rects.reference, a = t.rects.popper, s = t.modifiersData.preventOverflow, i =
|
15702
|
+
function UA(e) {
|
15703
|
+
var t = e.state, f = e.name, n = t.rects.reference, a = t.rects.popper, s = t.modifiersData.preventOverflow, i = Et(t, {
|
15690
15704
|
elementContext: "reference"
|
15691
|
-
}), l =
|
15705
|
+
}), l = Et(t, {
|
15692
15706
|
altBoundary: !0
|
15693
15707
|
}), c = Yn(i, n), r = Yn(l, a, s), d = $n(c), g = $n(r);
|
15694
15708
|
t.modifiersData[f] = {
|
@@ -15701,14 +15715,14 @@ function LA(e) {
|
|
15701
15715
|
"data-popper-escaped": g
|
15702
15716
|
});
|
15703
15717
|
}
|
15704
|
-
var
|
15718
|
+
var BA = {
|
15705
15719
|
name: "hide",
|
15706
15720
|
enabled: !0,
|
15707
15721
|
phase: "main",
|
15708
15722
|
requiresIfExists: ["preventOverflow"],
|
15709
|
-
fn:
|
15723
|
+
fn: UA
|
15710
15724
|
};
|
15711
|
-
function
|
15725
|
+
function QA(e, t, f) {
|
15712
15726
|
var n = De(e), a = [ce, re].indexOf(n) >= 0 ? -1 : 1, s = typeof f == "function" ? f(Object.assign({}, t, {
|
15713
15727
|
placement: e
|
15714
15728
|
})) : f, i = s[0], l = s[1];
|
@@ -15720,20 +15734,20 @@ function BA(e, t, f) {
|
|
15720
15734
|
y: l
|
15721
15735
|
};
|
15722
15736
|
}
|
15723
|
-
function
|
15737
|
+
function RA(e) {
|
15724
15738
|
var t = e.state, f = e.options, n = e.name, a = f.offset, s = a === void 0 ? [0, 0] : a, i = ha.reduce(function(d, g) {
|
15725
|
-
return d[g] =
|
15739
|
+
return d[g] = QA(g, t.rects, s), d;
|
15726
15740
|
}, {}), l = i[t.placement], c = l.x, r = l.y;
|
15727
15741
|
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += c, t.modifiersData.popperOffsets.y += r), t.modifiersData[n] = i;
|
15728
15742
|
}
|
15729
|
-
var
|
15743
|
+
var YA = {
|
15730
15744
|
name: "offset",
|
15731
15745
|
enabled: !0,
|
15732
15746
|
phase: "main",
|
15733
15747
|
requires: ["popperOffsets"],
|
15734
|
-
fn:
|
15748
|
+
fn: RA
|
15735
15749
|
};
|
15736
|
-
function
|
15750
|
+
function $A(e) {
|
15737
15751
|
var t = e.state, f = e.name;
|
15738
15752
|
t.modifiersData[f] = wa({
|
15739
15753
|
reference: t.rects.reference,
|
@@ -15742,25 +15756,25 @@ function YA(e) {
|
|
15742
15756
|
placement: t.placement
|
15743
15757
|
});
|
15744
15758
|
}
|
15745
|
-
var
|
15759
|
+
var PA = {
|
15746
15760
|
name: "popperOffsets",
|
15747
15761
|
enabled: !0,
|
15748
15762
|
phase: "read",
|
15749
|
-
fn:
|
15763
|
+
fn: $A,
|
15750
15764
|
data: {}
|
15751
15765
|
};
|
15752
|
-
function
|
15766
|
+
function FA(e) {
|
15753
15767
|
return e === "x" ? "y" : "x";
|
15754
15768
|
}
|
15755
|
-
function
|
15756
|
-
var t = e.state, f = e.options, n = e.name, a = f.mainAxis, s = a === void 0 ? !0 : a, i = f.altAxis, l = i === void 0 ? !1 : i, c = f.boundary, r = f.rootBoundary, d = f.altBoundary, g = f.padding,
|
15769
|
+
function qA(e) {
|
15770
|
+
var t = e.state, f = e.options, n = e.name, a = f.mainAxis, s = a === void 0 ? !0 : a, i = f.altAxis, l = i === void 0 ? !1 : i, c = f.boundary, r = f.rootBoundary, d = f.altBoundary, g = f.padding, h = f.tether, p = h === void 0 ? !0 : h, m = f.tetherOffset, y = m === void 0 ? 0 : m, v = Et(t, {
|
15757
15771
|
boundary: c,
|
15758
15772
|
rootBoundary: r,
|
15759
15773
|
padding: g,
|
15760
15774
|
altBoundary: d
|
15761
|
-
}), x = De(t.placement), O = st(t.placement), z = !O, V = rn(x), k =
|
15775
|
+
}), x = De(t.placement), O = st(t.placement), z = !O, V = rn(x), k = FA(V), E = t.modifiersData.popperOffsets, _ = t.rects.reference, w = t.rects.popper, N = typeof y == "function" ? y(Object.assign({}, t.rects, {
|
15762
15776
|
placement: t.placement
|
15763
|
-
})) :
|
15777
|
+
})) : y, j = typeof N == "number" ? {
|
15764
15778
|
mainAxis: N,
|
15765
15779
|
altAxis: N
|
15766
15780
|
} : Object.assign({
|
@@ -15772,56 +15786,56 @@ function FA(e) {
|
|
15772
15786
|
};
|
15773
15787
|
if (E) {
|
15774
15788
|
if (s) {
|
15775
|
-
var H, G = V === "y" ? re : ce,
|
15789
|
+
var H, G = V === "y" ? re : ce, oe = V === "y" ? be : Me, K = V === "y" ? "height" : "width", ee = E[V], Ke = ee + v[G], ge = ee - v[oe], Je = p ? -w[K] / 2 : 0, Ge = O === tt ? _[K] : w[K], Se = O === tt ? -w[K] : -_[K], Ye = t.elements.arrow, Ce = p && Ye ? An(Ye) : {
|
15776
15790
|
width: 0,
|
15777
15791
|
height: 0
|
15778
|
-
}, S = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ba(), F = S[G], Y = S[
|
15792
|
+
}, S = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ba(), F = S[G], Y = S[oe], ae = vt(0, _[K], Ce[K]), we = z ? _[K] / 2 - Je - ae - F - j.mainAxis : Ge - ae - F - j.mainAxis, $e = z ? -_[K] / 2 + Je + ae + Y + j.mainAxis : Se + ae + Y + j.mainAxis, wf = t.elements.arrow && xt(t.elements.arrow), Ea = wf ? V === "y" ? wf.clientTop || 0 : wf.clientLeft || 0 : 0, mn = (H = Q == null ? void 0 : Q[V]) != null ? H : 0, ja = ee + we - mn - Ea, Ta = ee + $e - mn, pn = vt(p ? vf(Ke, ja) : Ke, ee, p ? qe(ge, Ta) : ge);
|
15779
15793
|
E[V] = pn, L[V] = pn - ee;
|
15780
15794
|
}
|
15781
15795
|
if (l) {
|
15782
|
-
var hn, xa = V === "x" ? re : ce, Va = V === "x" ? be : Me, Pe = E[k],
|
15796
|
+
var hn, xa = V === "x" ? re : ce, Va = V === "x" ? be : Me, Pe = E[k], Ct = k === "y" ? "height" : "width", yn = Pe + v[xa], vn = Pe - v[Va], kf = [re, ce].indexOf(x) !== -1, bn = (hn = Q == null ? void 0 : Q[k]) != null ? hn : 0, Mn = kf ? yn : Pe - _[Ct] - w[Ct] - bn + j.altAxis, _n = kf ? Pe + _[Ct] + w[Ct] - bn - j.altAxis : vn, In = p && kf ? pA(Mn, Pe, _n) : vt(p ? Mn : yn, Pe, p ? _n : vn);
|
15783
15797
|
E[k] = In, L[k] = In - Pe;
|
15784
15798
|
}
|
15785
15799
|
t.modifiersData[n] = L;
|
15786
15800
|
}
|
15787
15801
|
}
|
15788
|
-
var
|
15802
|
+
var HA = {
|
15789
15803
|
name: "preventOverflow",
|
15790
15804
|
enabled: !0,
|
15791
15805
|
phase: "main",
|
15792
|
-
fn:
|
15806
|
+
fn: qA,
|
15793
15807
|
requiresIfExists: ["offset"]
|
15794
15808
|
};
|
15795
|
-
function
|
15809
|
+
function WA(e) {
|
15796
15810
|
return {
|
15797
15811
|
scrollLeft: e.scrollLeft,
|
15798
15812
|
scrollTop: e.scrollTop
|
15799
15813
|
};
|
15800
15814
|
}
|
15801
|
-
function WA(e) {
|
15802
|
-
return e === Ie(e) || !ye(e) ? cn(e) : HA(e);
|
15803
|
-
}
|
15804
15815
|
function KA(e) {
|
15816
|
+
return e === Ie(e) || !ye(e) ? cn(e) : WA(e);
|
15817
|
+
}
|
15818
|
+
function JA(e) {
|
15805
15819
|
var t = e.getBoundingClientRect(), f = nt(t.width) / e.offsetWidth || 1, n = nt(t.height) / e.offsetHeight || 1;
|
15806
15820
|
return f !== 1 || n !== 1;
|
15807
15821
|
}
|
15808
|
-
function
|
15822
|
+
function GA(e, t, f) {
|
15809
15823
|
f === void 0 && (f = !1);
|
15810
|
-
var n = ye(t), a = ye(t) &&
|
15824
|
+
var n = ye(t), a = ye(t) && JA(t), s = Qe(t), i = at(e, a), l = {
|
15811
15825
|
scrollLeft: 0,
|
15812
15826
|
scrollTop: 0
|
15813
15827
|
}, c = {
|
15814
15828
|
x: 0,
|
15815
15829
|
y: 0
|
15816
15830
|
};
|
15817
|
-
return (n || !n && !f) && ((Ee(t) !== "body" || dn(s)) && (l =
|
15831
|
+
return (n || !n && !f) && ((Ee(t) !== "body" || dn(s)) && (l = KA(t)), ye(t) ? (c = at(t, !0), c.x += t.clientLeft, c.y += t.clientTop) : s && (c.x = un(s))), {
|
15818
15832
|
x: i.left + l.scrollLeft - c.x,
|
15819
15833
|
y: i.top + l.scrollTop - c.y,
|
15820
15834
|
width: i.width,
|
15821
15835
|
height: i.height
|
15822
15836
|
};
|
15823
15837
|
}
|
15824
|
-
function
|
15838
|
+
function ZA(e) {
|
15825
15839
|
var t = /* @__PURE__ */ new Map(), f = /* @__PURE__ */ new Set(), n = [];
|
15826
15840
|
e.forEach(function(s) {
|
15827
15841
|
t.set(s.name, s);
|
@@ -15840,15 +15854,15 @@ function GA(e) {
|
|
15840
15854
|
f.has(s.name) || a(s);
|
15841
15855
|
}), n;
|
15842
15856
|
}
|
15843
|
-
function
|
15844
|
-
var t =
|
15845
|
-
return
|
15857
|
+
function XA(e) {
|
15858
|
+
var t = ZA(e);
|
15859
|
+
return rA.reduce(function(f, n) {
|
15846
15860
|
return f.concat(t.filter(function(a) {
|
15847
15861
|
return a.phase === n;
|
15848
15862
|
}));
|
15849
15863
|
}, []);
|
15850
15864
|
}
|
15851
|
-
function
|
15865
|
+
function er(e) {
|
15852
15866
|
var t;
|
15853
15867
|
return function() {
|
15854
15868
|
return t || (t = new Promise(function(f) {
|
@@ -15858,7 +15872,7 @@ function XA(e) {
|
|
15858
15872
|
})), t;
|
15859
15873
|
};
|
15860
15874
|
}
|
15861
|
-
function
|
15875
|
+
function tr(e) {
|
15862
15876
|
var t = e.reduce(function(f, n) {
|
15863
15877
|
var a = f[n.name];
|
15864
15878
|
return f[n.name] = a ? Object.assign({}, a, n, {
|
@@ -15882,7 +15896,7 @@ function Fn() {
|
|
15882
15896
|
return !(n && typeof n.getBoundingClientRect == "function");
|
15883
15897
|
});
|
15884
15898
|
}
|
15885
|
-
function
|
15899
|
+
function fr(e) {
|
15886
15900
|
e === void 0 && (e = {});
|
15887
15901
|
var t = e, f = t.defaultModifiers, n = f === void 0 ? [] : f, a = t.defaultOptions, s = a === void 0 ? Pn : a;
|
15888
15902
|
return function(l, c, r) {
|
@@ -15898,25 +15912,25 @@ function tr(e) {
|
|
15898
15912
|
},
|
15899
15913
|
attributes: {},
|
15900
15914
|
styles: {}
|
15901
|
-
}, g = [],
|
15915
|
+
}, g = [], h = !1, p = {
|
15902
15916
|
state: d,
|
15903
15917
|
setOptions: function(x) {
|
15904
15918
|
var O = typeof x == "function" ? x(d.options) : x;
|
15905
|
-
|
15919
|
+
y(), d.options = Object.assign({}, s, d.options, O), d.scrollParents = {
|
15906
15920
|
reference: ft(l) ? bt(l) : l.contextElement ? bt(l.contextElement) : [],
|
15907
15921
|
popper: bt(c)
|
15908
15922
|
};
|
15909
|
-
var z =
|
15923
|
+
var z = XA(tr([].concat(n, d.options.modifiers)));
|
15910
15924
|
return d.orderedModifiers = z.filter(function(V) {
|
15911
15925
|
return V.enabled;
|
15912
15926
|
}), m(), p.update();
|
15913
15927
|
},
|
15914
15928
|
forceUpdate: function() {
|
15915
|
-
if (!
|
15929
|
+
if (!h) {
|
15916
15930
|
var x = d.elements, O = x.reference, z = x.popper;
|
15917
15931
|
if (Fn(O, z)) {
|
15918
15932
|
d.rects = {
|
15919
|
-
reference:
|
15933
|
+
reference: GA(O, xt(z), d.options.strategy === "fixed"),
|
15920
15934
|
popper: An(z)
|
15921
15935
|
}, d.reset = !1, d.placement = d.options.placement, d.orderedModifiers.forEach(function(j) {
|
15922
15936
|
return d.modifiersData[j.name] = Object.assign({}, j.data);
|
@@ -15937,19 +15951,19 @@ function tr(e) {
|
|
15937
15951
|
}
|
15938
15952
|
}
|
15939
15953
|
},
|
15940
|
-
update:
|
15954
|
+
update: er(function() {
|
15941
15955
|
return new Promise(function(v) {
|
15942
15956
|
p.forceUpdate(), v(d);
|
15943
15957
|
});
|
15944
15958
|
}),
|
15945
15959
|
destroy: function() {
|
15946
|
-
|
15960
|
+
y(), h = !0;
|
15947
15961
|
}
|
15948
15962
|
};
|
15949
15963
|
if (!Fn(l, c))
|
15950
15964
|
return p;
|
15951
15965
|
p.setOptions(r).then(function(v) {
|
15952
|
-
!
|
15966
|
+
!h && r.onFirstUpdate && r.onFirstUpdate(v);
|
15953
15967
|
});
|
15954
15968
|
function m() {
|
15955
15969
|
d.orderedModifiers.forEach(function(v) {
|
@@ -15966,7 +15980,7 @@ function tr(e) {
|
|
15966
15980
|
}
|
15967
15981
|
});
|
15968
15982
|
}
|
15969
|
-
function
|
15983
|
+
function y() {
|
15970
15984
|
g.forEach(function(v) {
|
15971
15985
|
return v();
|
15972
15986
|
}), g = [];
|
@@ -15974,13 +15988,13 @@ function tr(e) {
|
|
15974
15988
|
return p;
|
15975
15989
|
};
|
15976
15990
|
}
|
15977
|
-
var
|
15978
|
-
defaultModifiers:
|
15991
|
+
var nr = [NA, PA, wA, dA, YA, LA, HA, bA, BA], ar = /* @__PURE__ */ fr({
|
15992
|
+
defaultModifiers: nr
|
15979
15993
|
}), ka = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgOS4zODI4MTMgNCA0IDkuMzgyODEzIDQgMTYgQyA0IDIyLjYxNzE4OCA5LjM4MjgxMyAyOCAxNiAyOCBDIDIyLjYxNzE4OCAyOCAyOCAyMi42MTcxODggMjggMTYgQyAyOCA5LjM4MjgxMyAyMi42MTcxODggNCAxNiA0IFogTSAxNiA2IEMgMjEuNTM1MTU2IDYgMjYgMTAuNDY0ODQ0IDI2IDE2IEMgMjYgMjEuNTM1MTU2IDIxLjUzNTE1NiAyNiAxNiAyNiBDIDEwLjQ2NDg0NCAyNiA2IDIxLjUzNTE1NiA2IDE2IEMgNiAxMC40NjQ4NDQgMTAuNDY0ODQ0IDYgMTYgNiBaIE0gMTEuNSAxMiBDIDEwLjY3MTg3NSAxMiAxMCAxMi42NzE4NzUgMTAgMTMuNSBDIDEwIDE0LjMyODEyNSAxMC42NzE4NzUgMTUgMTEuNSAxNSBDIDEyLjMyODEyNSAxNSAxMyAxNC4zMjgxMjUgMTMgMTMuNSBDIDEzIDEyLjY3MTg3NSAxMi4zMjgxMjUgMTIgMTEuNSAxMiBaIE0gMjAuNSAxMiBDIDE5LjY3MTg3NSAxMiAxOSAxMi42NzE4NzUgMTkgMTMuNSBDIDE5IDE0LjMyODEyNSAxOS42NzE4NzUgMTUgMjAuNSAxNSBDIDIxLjMyODEyNSAxNSAyMiAxNC4zMjgxMjUgMjIgMTMuNSBDIDIyIDEyLjY3MTg3NSAyMS4zMjgxMjUgMTIgMjAuNSAxMiBaIE0gMTAuODEyNSAxOSBMIDkuMDkzNzUgMjAgQyAxMC40NzY1NjMgMjIuMzg2NzE5IDEzLjA0Njg3NSAyNCAxNiAyNCBDIDE4Ljk1MzEyNSAyNCAyMS41MjM0MzggMjIuMzg2NzE5IDIyLjkwNjI1IDIwIEwgMjEuMTg3NSAxOSBDIDIwLjE0ODQzOCAyMC43OTI5NjkgMTguMjI2NTYzIDIyIDE2IDIyIEMgMTMuNzczNDM4IDIyIDExLjg1MTU2MyAyMC43OTI5NjkgMTAuODEyNSAxOSBaIi8+PC9zdmc+";
|
15980
|
-
function
|
15994
|
+
function $t(e) {
|
15981
15995
|
return e.split("-").map((t) => parseInt(t, 16)).map((t) => String.fromCodePoint(t)).join("");
|
15982
15996
|
}
|
15983
|
-
function
|
15997
|
+
function sr(e, t, f, n = []) {
|
15984
15998
|
const a = {};
|
15985
15999
|
return Object.keys(e).forEach((s) => {
|
15986
16000
|
if (n.includes(s))
|
@@ -15990,15 +16004,15 @@ function ar(e, t, f, n = []) {
|
|
15990
16004
|
var c;
|
15991
16005
|
if (l[_f][0].includes(t.toLocaleLowerCase())) {
|
15992
16006
|
let r = l[da];
|
15993
|
-
if (f !== yf && Array.isArray(l[
|
15994
|
-
const d = ((c = l[
|
16007
|
+
if (f !== yf && Array.isArray(l[Ut])) {
|
16008
|
+
const d = ((c = l[Ut]) == null ? void 0 : c.findIndex(
|
15995
16009
|
(g) => g.includes(f)
|
15996
16010
|
)) || -1;
|
15997
|
-
d !== -1 && l[
|
16011
|
+
d !== -1 && l[Ut] && (r = l[Ut][d]);
|
15998
16012
|
}
|
15999
16013
|
return i.push({
|
16000
16014
|
...l,
|
16001
|
-
[
|
16015
|
+
[Nt]: r
|
16002
16016
|
});
|
16003
16017
|
}
|
16004
16018
|
}), i.length && (a[s] = i);
|
@@ -16014,19 +16028,19 @@ function Da(e) {
|
|
16014
16028
|
(t, f, n) => f ? f.toUpperCase() : " " + n.toUpperCase()
|
16015
16029
|
);
|
16016
16030
|
}
|
16017
|
-
var
|
16031
|
+
var Vt = (e, t) => {
|
16018
16032
|
const f = e.__vccOpts || e;
|
16019
16033
|
for (const [n, a] of t)
|
16020
16034
|
f[n] = a;
|
16021
16035
|
return f;
|
16022
16036
|
};
|
16023
|
-
const
|
16037
|
+
const ir = W({
|
16024
16038
|
name: "Body",
|
16025
16039
|
emits: {
|
16026
16040
|
select: (e) => !0
|
16027
16041
|
},
|
16028
16042
|
setup() {
|
16029
|
-
const { state: e, updateEmoji: t, updateSelect: f } =
|
16043
|
+
const { state: e, updateEmoji: t, updateSelect: f } = ie("store"), n = M(null), a = B(() => sr(
|
16030
16044
|
e.emojis,
|
16031
16045
|
e.search,
|
16032
16046
|
e.skinTone,
|
@@ -16039,36 +16053,36 @@ const sr = W({
|
|
16039
16053
|
function g(m) {
|
16040
16054
|
t(m);
|
16041
16055
|
}
|
16042
|
-
function
|
16056
|
+
function h(m) {
|
16043
16057
|
f(m), s == null || s.emit("select", {
|
16044
16058
|
...m,
|
16045
16059
|
t: e.skinTone,
|
16046
|
-
i:
|
16060
|
+
i: $t(m.r)
|
16047
16061
|
});
|
16048
16062
|
}
|
16049
|
-
function p(m,
|
16063
|
+
function p(m, y) {
|
16050
16064
|
var v;
|
16051
16065
|
const x = (v = m == null ? void 0 : m.target) == null ? void 0 : v.closest("button");
|
16052
|
-
x && (x.innerHTML = `<span>${
|
16066
|
+
x && (x.innerHTML = `<span>${$t(y)}</span>`);
|
16053
16067
|
}
|
16054
|
-
return
|
16068
|
+
return Z(
|
16055
16069
|
() => e.activeGroup,
|
16056
16070
|
() => {
|
16057
16071
|
var m;
|
16058
|
-
const
|
16059
|
-
|
16072
|
+
const y = (m = n.value) == null ? void 0 : m.querySelector("#" + e.activeGroup);
|
16073
|
+
y && (y.parentNode.scrollTop = y.offsetTop - y.parentNode.offsetTop);
|
16060
16074
|
}
|
16061
16075
|
), {
|
16062
16076
|
emojis: a,
|
16063
16077
|
bodyInner: n,
|
16064
16078
|
EMOJI_REMOTE_SRC: ca,
|
16065
16079
|
GROUP_NAMES: ua,
|
16066
|
-
handleClick:
|
16080
|
+
handleClick: h,
|
16067
16081
|
handleError: p,
|
16068
16082
|
handleMouseEnter: g,
|
16069
16083
|
native: e.options.native,
|
16070
|
-
unicodeToEmoji:
|
16071
|
-
EMOJI_RESULT_KEY:
|
16084
|
+
unicodeToEmoji: $t,
|
16085
|
+
EMOJI_RESULT_KEY: Nt,
|
16072
16086
|
EMOJI_NAME_KEY: _f,
|
16073
16087
|
hasGroupNames: i,
|
16074
16088
|
isSticky: l,
|
@@ -16077,12 +16091,12 @@ const sr = W({
|
|
16077
16091
|
orderedKeys: r
|
16078
16092
|
};
|
16079
16093
|
}
|
16080
|
-
}),
|
16094
|
+
}), or = { class: "v3-body" }, lr = ["id"], Ar = { class: "v3-emojis" }, rr = ["onMouseenter", "onClick"], cr = { key: 0 }, ur = ["src", "alt", "onError"], dr = {
|
16081
16095
|
key: 1,
|
16082
16096
|
class: "v3-no-result"
|
16083
16097
|
};
|
16084
|
-
function
|
16085
|
-
return A(), u("div",
|
16098
|
+
function gr(e, t, f, n, a, s) {
|
16099
|
+
return A(), u("div", or, [
|
16086
16100
|
o("div", {
|
16087
16101
|
ref: "bodyInner",
|
16088
16102
|
class: C([e.platform, "v3-body-inner"])
|
@@ -16096,34 +16110,34 @@ function dr(e, t, f, n, a, s) {
|
|
16096
16110
|
key: 0,
|
16097
16111
|
class: C(e.isSticky ? "v3-sticky" : "")
|
16098
16112
|
}, D(e.groupNames[i]), 3)), [
|
16099
|
-
[
|
16113
|
+
[_t, e.emojis[i]]
|
16100
16114
|
]) : b("", !0),
|
16101
|
-
ve(o("div",
|
16115
|
+
ve(o("div", Ar, [
|
16102
16116
|
(A(!0), u(q, null, fe(e.emojis[i], (l) => (A(), u("button", {
|
16103
16117
|
key: l.r,
|
16104
16118
|
type: "button",
|
16105
16119
|
onMouseenter: (c) => e.handleMouseEnter(l),
|
16106
16120
|
onClick: (c) => e.handleClick(l)
|
16107
16121
|
}, [
|
16108
|
-
e.native ? (A(), u("span",
|
16122
|
+
e.native ? (A(), u("span", cr, D(e.unicodeToEmoji(l.r)), 1)) : (A(), u("img", {
|
16109
16123
|
key: 1,
|
16110
16124
|
src: e.EMOJI_REMOTE_SRC + `/${l.r}.png`,
|
16111
16125
|
alt: l.n[0],
|
16112
16126
|
onError: (c) => e.handleError(c, l.r)
|
16113
|
-
}, null, 40,
|
16114
|
-
], 40,
|
16127
|
+
}, null, 40, ur))
|
16128
|
+
], 40, rr))), 128))
|
16115
16129
|
], 512), [
|
16116
|
-
[
|
16130
|
+
[_t, e.emojis[i]]
|
16117
16131
|
])
|
16118
|
-
], 8,
|
16132
|
+
], 8, lr))), 128)) : (A(), u("span", dr, " No emoji has been found! "))
|
16119
16133
|
], 2)
|
16120
16134
|
]);
|
16121
16135
|
}
|
16122
|
-
var gr = /* @__PURE__ */ xt(sr, [["render", d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TggMTAgMTkuNzUgTCAxMCAxMi4zNjEzMjggQyAxMC4zNDUgMTEuOTA1MzI4IDExLjEzMjM1OSAxMSAxMy40NDMzNTkgMTEgeiIvPjwvc3ZnPg==", Ir = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgMTEuODMyMDMxIDQgOC4xNTIzNDQgNi4xMTMyODEgNiA5LjM0Mzc1IEwgNiA2IEwgNCA2IEwgNCAxMyBMIDExIDEzIEwgMTEgMTEgTCA3LjM3NSAxMSBDIDkuMTAxNTYzIDguMDE5NTMxIDEyLjI5Njg3NSA2IDE2IDYgQyAyMS41MzUxNTYgNiAyNiAxMC40NjQ4NDQgMjYgMTYgQyAyNiAyMS41MzUxNTYgMjEuNTM1MTU2IDI2IDE2IDI2IEMgMTAuNDY0ODQ0IDI2IDYgMjEuNTM1MTU2IDYgMTYgTCA0IDE2IEMgNCAyMi42MTcxODggOS4zODI4MTMgMjggMTYgMjggQyAyMi42MTcxODggMjggMjggMjIuNjE3MTg4IDI4IDE2IEMgMjggOS4zODI4MTMgMjIuNjE3MTg4IDQgMTYgNCBaIE0gMTUgOCBMIDE1IDE3IEwgMjIgMTcgTCAyMiAxNSBMIDE3IDE1IEwgMTcgOCBaIi8+PC9zdmc+Cg==";
|
16137
|
+
const wr = W({
|
16124
16138
|
name: "Header",
|
16125
16139
|
setup(e) {
|
16126
|
-
const { state: t, updateSearch: f, updateActiveGroup: n } =
|
16140
|
+
const { state: t, updateSearch: f, updateActiveGroup: n } = ie("store"), a = B(() => !t.options.hideSearch), s = B(() => !t.options.hideGroupIcons), i = JSON.parse(JSON.stringify(t.orderedGroupKeys)), l = B(
|
16127
16141
|
() => t.options.staticTexts.placeholder || ""
|
16128
16142
|
), c = B({
|
16129
16143
|
get: () => t.search,
|
@@ -16136,8 +16150,8 @@ const Ir = W({
|
|
16136
16150
|
}))
|
16137
16151
|
], d = [];
|
16138
16152
|
return i.forEach((g) => {
|
16139
|
-
const
|
16140
|
-
|
16153
|
+
const h = r.findIndex((p) => p.key === g);
|
16154
|
+
h !== -1 && (d.push(r[h]), r.splice(h, 1));
|
16141
16155
|
}), {
|
16142
16156
|
orderedGroups: d,
|
16143
16157
|
orderedKeys: i,
|
@@ -16148,34 +16162,34 @@ const Ir = W({
|
|
16148
16162
|
placeholder: l,
|
16149
16163
|
icons: {
|
16150
16164
|
smileys_people: ka,
|
16151
|
-
animals_nature:
|
16152
|
-
food_drink:
|
16153
|
-
activities:
|
16154
|
-
travel_places:
|
16155
|
-
objects:
|
16156
|
-
symbols:
|
16157
|
-
flags:
|
16165
|
+
animals_nature: pr,
|
16166
|
+
food_drink: hr,
|
16167
|
+
activities: yr,
|
16168
|
+
travel_places: vr,
|
16169
|
+
objects: br,
|
16170
|
+
symbols: Mr,
|
16171
|
+
flags: _r,
|
16158
16172
|
...t.options.groupIcons,
|
16159
|
-
recent:
|
16173
|
+
recent: Ir
|
16160
16174
|
}
|
16161
16175
|
};
|
16162
16176
|
}
|
16163
|
-
}),
|
16177
|
+
}), kr = {
|
16164
16178
|
key: 0,
|
16165
16179
|
class: "v3-header"
|
16166
|
-
},
|
16180
|
+
}, Nr = {
|
16167
16181
|
key: 0,
|
16168
16182
|
class: "v3-groups"
|
16169
|
-
},
|
16183
|
+
}, Dr = ["onClick"], Er = ["title"], jr = ["src"], Tr = {
|
16170
16184
|
key: 1,
|
16171
16185
|
class: "v3-spacing"
|
16172
|
-
},
|
16186
|
+
}, xr = {
|
16173
16187
|
key: 2,
|
16174
16188
|
class: "v3-search"
|
16175
|
-
},
|
16176
|
-
function
|
16177
|
-
return e.hasGroupIcons || e.hasSearch ? (A(), u("div",
|
16178
|
-
e.hasGroupIcons ? (A(), u("div",
|
16189
|
+
}, Vr = ["placeholder"];
|
16190
|
+
function Sr(e, t, f, n, a, s) {
|
16191
|
+
return e.hasGroupIcons || e.hasSearch ? (A(), u("div", kr, [
|
16192
|
+
e.hasGroupIcons ? (A(), u("div", Nr, [
|
16179
16193
|
(A(!0), u(q, null, fe(e.orderedGroups, (i) => (A(), u("button", {
|
16180
16194
|
key: i.key,
|
16181
16195
|
type: "button",
|
@@ -16191,82 +16205,82 @@ function Vr(e, t, f, n, a, s) {
|
|
16191
16205
|
o("img", {
|
16192
16206
|
src: e.icons[i.key],
|
16193
16207
|
alt: ""
|
16194
|
-
}, null, 8,
|
16195
|
-
], 8,
|
16196
|
-
], 10,
|
16208
|
+
}, null, 8, jr)
|
16209
|
+
], 8, Er)
|
16210
|
+
], 10, Dr))), 128))
|
16197
16211
|
])) : b("", !0),
|
16198
|
-
e.hasGroupIcons && e.hasSearch ? (A(), u("div",
|
16199
|
-
e.hasSearch ? (A(), u("div",
|
16212
|
+
e.hasGroupIcons && e.hasSearch ? (A(), u("div", Tr)) : b("", !0),
|
16213
|
+
e.hasSearch ? (A(), u("div", xr, [
|
16200
16214
|
ve(o("input", {
|
16201
16215
|
"onUpdate:modelValue": t[0] || (t[0] = (i) => e.searchValue = i),
|
16202
16216
|
type: "text",
|
16203
16217
|
placeholder: e.placeholder
|
16204
|
-
}, null, 8,
|
16205
|
-
[
|
16218
|
+
}, null, 8, Vr), [
|
16219
|
+
[jt, e.searchValue]
|
16206
16220
|
])
|
16207
16221
|
])) : b("", !0)
|
16208
16222
|
])) : b("", !0);
|
16209
16223
|
}
|
16210
|
-
var
|
16211
|
-
const
|
16224
|
+
var Cr = /* @__PURE__ */ Vt(wr, [["render", Sr]]);
|
16225
|
+
const Or = W({
|
16212
16226
|
name: "Header",
|
16213
16227
|
setup() {
|
16214
|
-
const { state: e, updateSkinTone: t } =
|
16228
|
+
const { state: e, updateSkinTone: t } = ie("store"), f = M(!1), n = M(!1), a = B(() => e.skinTone), s = B(
|
16215
16229
|
() => e.options.staticTexts.skinTone || "Skin tone"
|
16216
16230
|
), i = B(() => !e.options.disableSkinTones), l = Na() ? "is-mac" : "", c = B(() => ({
|
16217
16231
|
...e.emoji,
|
16218
|
-
src: ca + "/" + e.emoji[
|
16232
|
+
src: ca + "/" + e.emoji[Nt] + ".png"
|
16219
16233
|
}));
|
16220
|
-
function r(
|
16221
|
-
f.value =
|
16234
|
+
function r(h = !0) {
|
16235
|
+
f.value = h;
|
16222
16236
|
}
|
16223
16237
|
function d() {
|
16224
16238
|
f.value = !f.value;
|
16225
16239
|
}
|
16226
|
-
function g(
|
16227
|
-
t(
|
16240
|
+
function g(h) {
|
16241
|
+
t(h), r(!1);
|
16228
16242
|
}
|
16229
|
-
return
|
16243
|
+
return Z(
|
16230
16244
|
() => e.emoji,
|
16231
16245
|
() => {
|
16232
16246
|
n.value = !1;
|
16233
16247
|
}
|
16234
16248
|
), {
|
16235
16249
|
emoji: c,
|
16236
|
-
SKIN_TONES:
|
16250
|
+
SKIN_TONES: Dl,
|
16237
16251
|
updateSkinToneState: r,
|
16238
16252
|
skinTone: f,
|
16239
16253
|
stateSkinTone: a,
|
16240
16254
|
selectSkinTone: g,
|
16241
16255
|
toggleSkinToneState: d,
|
16242
|
-
EMOJI_RESULT_KEY:
|
16256
|
+
EMOJI_RESULT_KEY: Nt,
|
16243
16257
|
EMOJI_NAME_KEY: _f,
|
16244
16258
|
skinToneText: s,
|
16245
16259
|
hasSkinTones: i,
|
16246
16260
|
native: e.options.native,
|
16247
|
-
unicodeToEmoji:
|
16261
|
+
unicodeToEmoji: $t,
|
16248
16262
|
platform: l,
|
16249
16263
|
hasError: n
|
16250
16264
|
};
|
16251
16265
|
}
|
16252
|
-
}),
|
16253
|
-
function
|
16266
|
+
}), zr = { class: "v3-foot-left" }, Lr = { key: 0 }, Ur = ["alt", "src"], Br = { class: "v3-text" }, Qr = { class: "v3-text" }, Rr = ["onClick"];
|
16267
|
+
function Yr(e, t, f, n, a, s) {
|
16254
16268
|
return A(), u("div", {
|
16255
16269
|
class: "v3-footer",
|
16256
16270
|
onMouseleave: t[2] || (t[2] = (i) => e.updateSkinToneState(!1))
|
16257
16271
|
}, [
|
16258
|
-
o("div",
|
16272
|
+
o("div", zr, [
|
16259
16273
|
o("span", {
|
16260
16274
|
class: C([e.platform, "v3-icon"])
|
16261
16275
|
}, [
|
16262
|
-
e.native || e.hasError ? (A(), u("span",
|
16276
|
+
e.native || e.hasError ? (A(), u("span", Lr, D(e.unicodeToEmoji(e.emoji.r)), 1)) : (A(), u("img", {
|
16263
16277
|
key: 1,
|
16264
16278
|
alt: e.unicodeToEmoji(e.emoji.r),
|
16265
16279
|
src: e.emoji.src,
|
16266
16280
|
onError: t[0] || (t[0] = (i) => e.hasError = !0)
|
16267
|
-
}, null, 40,
|
16281
|
+
}, null, 40, Ur))
|
16268
16282
|
], 2),
|
16269
|
-
o("span",
|
16283
|
+
o("span", Br, " :" + D(e.emoji[e.EMOJI_NAME_KEY][1] || e.emoji[e.EMOJI_NAME_KEY][0]) + ": ", 1)
|
16270
16284
|
]),
|
16271
16285
|
e.hasSkinTones ? (A(), u(q, { key: 0 }, [
|
16272
16286
|
o("button", {
|
@@ -16274,7 +16288,7 @@ function Rr(e, t, f, n, a, s) {
|
|
16274
16288
|
class: "v3-tone",
|
16275
16289
|
onClick: t[1] || (t[1] = (...i) => e.toggleSkinToneState && e.toggleSkinToneState(...i))
|
16276
16290
|
}, [
|
16277
|
-
o("span",
|
16291
|
+
o("span", Qr, D(e.skinToneText), 1),
|
16278
16292
|
o("span", {
|
16279
16293
|
class: C(`v3-icon v3-tone-${e.stateSkinTone}`)
|
16280
16294
|
}, null, 2)
|
@@ -16287,18 +16301,18 @@ function Rr(e, t, f, n, a, s) {
|
|
16287
16301
|
type: "button",
|
16288
16302
|
class: C(["v3-skin-tone-" + i, "v3-skin-tone"]),
|
16289
16303
|
onClick: (l) => e.selectSkinTone(i)
|
16290
|
-
}, null, 10,
|
16304
|
+
}, null, 10, Rr))), 128))
|
16291
16305
|
], 2)
|
16292
16306
|
], 64)) : b("", !0)
|
16293
16307
|
], 32);
|
16294
16308
|
}
|
16295
|
-
var
|
16296
|
-
const
|
16309
|
+
var $r = /* @__PURE__ */ Vt(Or, [["render", Yr]]);
|
16310
|
+
const Pr = W({
|
16297
16311
|
name: "PickerRoot",
|
16298
16312
|
components: {
|
16299
|
-
Header:
|
16300
|
-
Body:
|
16301
|
-
Footer:
|
16313
|
+
Header: Cr,
|
16314
|
+
Body: mr,
|
16315
|
+
Footer: $r
|
16302
16316
|
},
|
16303
16317
|
props: {
|
16304
16318
|
type: {
|
@@ -16333,7 +16347,7 @@ const $r = W({
|
|
16333
16347
|
setup(e, { emit: t }) {
|
16334
16348
|
const f = M(), n = M(), a = M(), s = M(!1), i = M(e.text), l = e.type === "input" || e.type === "textarea";
|
16335
16349
|
let c = -1;
|
16336
|
-
const { state: r } =
|
16350
|
+
const { state: r } = ie("store"), d = B(() => r.options.colorTheme);
|
16337
16351
|
function g(v) {
|
16338
16352
|
if (l) {
|
16339
16353
|
const x = r.options.mode;
|
@@ -16341,7 +16355,7 @@ const $r = W({
|
|
16341
16355
|
}
|
16342
16356
|
t("select", v);
|
16343
16357
|
}
|
16344
|
-
function
|
16358
|
+
function h() {
|
16345
16359
|
var v;
|
16346
16360
|
f.value && (c = ((v = f.value) == null ? void 0 : v.selectionEnd) || -1);
|
16347
16361
|
}
|
@@ -16354,7 +16368,7 @@ const $r = W({
|
|
16354
16368
|
function m() {
|
16355
16369
|
if (n.value && a.value && l) {
|
16356
16370
|
let v = r.options.offset;
|
16357
|
-
typeof v != "number" && (v = 6),
|
16371
|
+
typeof v != "number" && (v = 6), ar(n.value, a.value, {
|
16358
16372
|
placement: "bottom-end",
|
16359
16373
|
modifiers: [
|
16360
16374
|
{
|
@@ -16367,7 +16381,7 @@ const $r = W({
|
|
16367
16381
|
}), document.body.addEventListener("click", p);
|
16368
16382
|
}
|
16369
16383
|
}
|
16370
|
-
function
|
16384
|
+
function y(v) {
|
16371
16385
|
i.value = v.target.value || "", t("update:text", i.value);
|
16372
16386
|
}
|
16373
16387
|
return le(() => {
|
@@ -16380,22 +16394,22 @@ const $r = W({
|
|
16380
16394
|
onSelect: g,
|
16381
16395
|
input: i,
|
16382
16396
|
elem: f,
|
16383
|
-
updateCursor:
|
16397
|
+
updateCursor: h,
|
16384
16398
|
button: n,
|
16385
16399
|
picker: a,
|
16386
16400
|
isInputType: l,
|
16387
|
-
onChangeText:
|
16401
|
+
onChangeText: y,
|
16388
16402
|
colorTheme: d
|
16389
16403
|
};
|
16390
16404
|
}
|
16391
|
-
}),
|
16405
|
+
}), Fr = {
|
16392
16406
|
key: 0,
|
16393
16407
|
class: "v3-input-emoji-picker"
|
16394
|
-
},
|
16395
|
-
function
|
16396
|
-
const i =
|
16397
|
-
return e.isInputType ? (A(), u("div",
|
16398
|
-
o("div",
|
16408
|
+
}, qr = { class: "v3-input-picker-root" }, Hr = ["value"], Wr = ["value"], Kr = ["src"];
|
16409
|
+
function Jr(e, t, f, n, a, s) {
|
16410
|
+
const i = Qt("Header"), l = Qt("Body"), c = Qt("Footer");
|
16411
|
+
return e.isInputType ? (A(), u("div", Fr, [
|
16412
|
+
o("div", qr, [
|
16399
16413
|
e.type === "input" ? (A(), u("input", {
|
16400
16414
|
key: 0,
|
16401
16415
|
ref: "elem",
|
@@ -16404,14 +16418,14 @@ function Kr(e, t, f, n, a, s) {
|
|
16404
16418
|
class: "v3-emoji-picker-input",
|
16405
16419
|
onInput: t[0] || (t[0] = (...r) => e.onChangeText && e.onChangeText(...r)),
|
16406
16420
|
onBlur: t[1] || (t[1] = (...r) => e.updateCursor && e.updateCursor(...r))
|
16407
|
-
}, null, 40,
|
16421
|
+
}, null, 40, Hr)) : (A(), u("textarea", {
|
16408
16422
|
key: 1,
|
16409
16423
|
ref: "elem",
|
16410
16424
|
value: e.input,
|
16411
16425
|
class: "v3-emoji-picker-textarea",
|
16412
16426
|
onInput: t[2] || (t[2] = (...r) => e.onChangeText && e.onChangeText(...r)),
|
16413
16427
|
onBlur: t[3] || (t[3] = (...r) => e.updateCursor && e.updateCursor(...r))
|
16414
|
-
}, null, 40,
|
16428
|
+
}, null, 40, Wr)),
|
16415
16429
|
o("div", {
|
16416
16430
|
class: C(["v3-input-picker-wrap", e.open ? "v3-picker-is-open" : ""])
|
16417
16431
|
}, [
|
@@ -16424,7 +16438,7 @@ function Kr(e, t, f, n, a, s) {
|
|
16424
16438
|
o("img", {
|
16425
16439
|
src: e.face,
|
16426
16440
|
alt: ""
|
16427
|
-
}, null, 8,
|
16441
|
+
}, null, 8, Kr)
|
16428
16442
|
], 512),
|
16429
16443
|
o("div", {
|
16430
16444
|
ref: "picker",
|
@@ -16445,11 +16459,11 @@ function Kr(e, t, f, n, a, s) {
|
|
16445
16459
|
P(c)
|
16446
16460
|
], 2));
|
16447
16461
|
}
|
16448
|
-
var
|
16449
|
-
const
|
16462
|
+
var Gr = /* @__PURE__ */ Vt(Pr, [["render", Jr]]);
|
16463
|
+
const Zr = W({
|
16450
16464
|
name: "Picker",
|
16451
16465
|
components: {
|
16452
|
-
PickerRoot:
|
16466
|
+
PickerRoot: Gr
|
16453
16467
|
},
|
16454
16468
|
props: {
|
16455
16469
|
native: {
|
@@ -16534,13 +16548,13 @@ const Gr = W({
|
|
16534
16548
|
function n(s) {
|
16535
16549
|
f.value = s || "", t("update:text", f.value);
|
16536
16550
|
}
|
16537
|
-
const a =
|
16551
|
+
const a = Zl();
|
16538
16552
|
return a.updateOptions({
|
16539
16553
|
native: e.native,
|
16540
16554
|
hideSearch: e.hideSearch,
|
16541
16555
|
hideGroupIcons: e.hideGroupIcons,
|
16542
16556
|
hideGroupNames: e.hideGroupNames,
|
16543
|
-
staticTexts: { ...
|
16557
|
+
staticTexts: { ...El, ...e.staticTexts },
|
16544
16558
|
disableStickyGroupNames: e.disableStickyGroupNames,
|
16545
16559
|
disabledGroups: e.disabledGroups,
|
16546
16560
|
groupNames: { ...ua, ...e.groupNames },
|
@@ -16551,7 +16565,7 @@ const Gr = W({
|
|
16551
16565
|
offset: e.offset,
|
16552
16566
|
groupOrder: e.groupOrder,
|
16553
16567
|
groupIcons: e.groupIcons,
|
16554
|
-
colorTheme:
|
16568
|
+
colorTheme: jl.includes(e.theme) ? e.theme : "light"
|
16555
16569
|
}), bf("store", a), {
|
16556
16570
|
type: e.pickerType,
|
16557
16571
|
input: f,
|
@@ -16559,8 +16573,8 @@ const Gr = W({
|
|
16559
16573
|
};
|
16560
16574
|
}
|
16561
16575
|
});
|
16562
|
-
function
|
16563
|
-
const i =
|
16576
|
+
function Xr(e, t, f, n, a, s) {
|
16577
|
+
const i = Qt("picker-root");
|
16564
16578
|
return A(), R(i, {
|
16565
16579
|
type: e.type,
|
16566
16580
|
text: e.input,
|
@@ -16568,8 +16582,8 @@ function Zr(e, t, f, n, a, s) {
|
|
16568
16582
|
"onUpdate:text": e.onChangeText
|
16569
16583
|
}, null, 8, ["type", "text", "onUpdate:text"]);
|
16570
16584
|
}
|
16571
|
-
var
|
16572
|
-
const
|
16585
|
+
var ec = /* @__PURE__ */ Vt(Zr, [["render", Xr]]);
|
16586
|
+
const tc = {
|
16573
16587
|
__name: "ButtonEmojiPicker",
|
16574
16588
|
props: {
|
16575
16589
|
mode: {
|
@@ -16583,7 +16597,7 @@ const ec = {
|
|
16583
16597
|
}
|
16584
16598
|
},
|
16585
16599
|
setup(e) {
|
16586
|
-
const t = e, f = M(null), n = M(null), a =
|
16600
|
+
const t = e, f = M(null), n = M(null), a = ie("chatAppId"), { setMessageText: s, getMessage: i } = We(a), l = B(() => {
|
16587
16601
|
if (document.documentElement.classList.contains("dark"))
|
16588
16602
|
return "dark";
|
16589
16603
|
}), c = (p) => {
|
@@ -16594,13 +16608,13 @@ const ec = {
|
|
16594
16608
|
t.mode == "hover" && t.state == "active" && (f.value.style.display = "inherit");
|
16595
16609
|
}, g = () => {
|
16596
16610
|
t.mode == "hover" && t.state == "active" && (f.value.style.display = "none");
|
16597
|
-
},
|
16611
|
+
}, h = (p) => {
|
16598
16612
|
t.mode == "click" && !n.value.contains(p.target) && !f.value.contains(p.target) && (f.value.style.display = "none");
|
16599
16613
|
};
|
16600
16614
|
return le(() => {
|
16601
|
-
f.value.style.display = "none", document.addEventListener("click",
|
16615
|
+
f.value.style.display = "none", document.addEventListener("click", h);
|
16602
16616
|
}), He(() => {
|
16603
|
-
document.removeEventListener("click",
|
16617
|
+
document.removeEventListener("click", h);
|
16604
16618
|
}), (p, m) => (A(), u(q, null, [
|
16605
16619
|
o("div", {
|
16606
16620
|
ref_key: "emojiButton",
|
@@ -16612,7 +16626,7 @@ const ec = {
|
|
16612
16626
|
}, m[0] || (m[0] = [
|
16613
16627
|
o("span", { class: "pi pi-face-smile" }, null, -1)
|
16614
16628
|
]), 34),
|
16615
|
-
P(
|
16629
|
+
P(X, null, {
|
16616
16630
|
default: J(() => [
|
16617
16631
|
o("div", {
|
16618
16632
|
ref_key: "emoji",
|
@@ -16621,7 +16635,7 @@ const ec = {
|
|
16621
16635
|
onMouseover: d,
|
16622
16636
|
onMouseout: g
|
16623
16637
|
}, [
|
16624
|
-
P(T(
|
16638
|
+
P(T(ec), {
|
16625
16639
|
native: !0,
|
16626
16640
|
theme: l.value,
|
16627
16641
|
"picker-type": "",
|
@@ -16633,7 +16647,7 @@ const ec = {
|
|
16633
16647
|
})
|
16634
16648
|
], 64));
|
16635
16649
|
}
|
16636
|
-
},
|
16650
|
+
}, Gd = /* @__PURE__ */ U(tc, [["__scopeId", "data-v-32a86404"]]), fc = { class: "context-menu__container" }, nc = { class: "context-menu__list" }, ac = ["onClick"], sc = ["src"], ic = {
|
16637
16651
|
__name: "ContextMenu",
|
16638
16652
|
props: {
|
16639
16653
|
actions: {
|
@@ -16647,8 +16661,8 @@ const ec = {
|
|
16647
16661
|
const i = f.actions[s];
|
16648
16662
|
n("click", i);
|
16649
16663
|
};
|
16650
|
-
return (s, i) => (A(), u("div",
|
16651
|
-
o("ul",
|
16664
|
+
return (s, i) => (A(), u("div", fc, [
|
16665
|
+
o("ul", nc, [
|
16652
16666
|
(A(!0), u(q, null, fe(f.actions, (l, c) => (A(), u("li", {
|
16653
16667
|
key: c,
|
16654
16668
|
class: "context-menu__item",
|
@@ -16659,16 +16673,16 @@ const ec = {
|
|
16659
16673
|
src: l.icon,
|
16660
16674
|
width: "18",
|
16661
16675
|
height: "18"
|
16662
|
-
}, null, 8,
|
16676
|
+
}, null, 8, sc)) : l.prime ? (A(), u("i", {
|
16663
16677
|
key: 1,
|
16664
16678
|
class: C("pi pi-" + l.prime)
|
16665
16679
|
}, null, 2)) : b("", !0),
|
16666
16680
|
o("span", null, D(l.title), 1)
|
16667
|
-
], 8,
|
16681
|
+
], 8, ac))), 128))
|
16668
16682
|
])
|
16669
16683
|
]));
|
16670
16684
|
}
|
16671
|
-
}, Re = /* @__PURE__ */ U(
|
16685
|
+
}, Re = /* @__PURE__ */ U(ic, [["__scopeId", "data-v-92d6d8b5"]]), ct = M([]), oc = (e) => {
|
16672
16686
|
const t = M(0);
|
16673
16687
|
let f = ct.value.find(({ id: a }) => a == e);
|
16674
16688
|
return f != null ? t.value = ct.value.indexOf(f) : (ct.value.push({
|
@@ -16676,7 +16690,7 @@ const ec = {
|
|
16676
16690
|
text: ""
|
16677
16691
|
}), t.value = ct.value.length - 1), { getModel: () => ct.value[t.value] };
|
16678
16692
|
};
|
16679
|
-
function
|
16693
|
+
function lc(e, t = 500) {
|
16680
16694
|
let f;
|
16681
16695
|
return Hn((n, a) => ({
|
16682
16696
|
get() {
|
@@ -16689,7 +16703,7 @@ function oc(e, t = 500) {
|
|
16689
16703
|
}
|
16690
16704
|
}));
|
16691
16705
|
}
|
16692
|
-
const
|
16706
|
+
const Ac = { class: "feed-search__container" }, rc = { style: { "line-height": "40px" } }, cc = ["placeholder"], uc = /* @__PURE__ */ W({
|
16693
16707
|
__name: "FeedSearch",
|
16694
16708
|
props: {
|
16695
16709
|
isFeedLocation: {
|
@@ -16699,11 +16713,11 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
16699
16713
|
},
|
16700
16714
|
emits: ["search", "cancel", "switch"],
|
16701
16715
|
setup(e, { emit: t }) {
|
16702
|
-
const f =
|
16716
|
+
const f = ie("chatAppId"), { getModel: n } = oc(f), a = t, s = e, i = M(), l = lc("", 500), c = B(() => {
|
16703
16717
|
if (s.isFeedLocation) return "40px";
|
16704
16718
|
if (!s.isFeedLocation) return "20px";
|
16705
16719
|
});
|
16706
|
-
|
16720
|
+
Z(
|
16707
16721
|
() => [n().text, l.value],
|
16708
16722
|
() => {
|
16709
16723
|
l.value == n().text ? a("search", n().text) : l.value = n().text;
|
@@ -16716,19 +16730,19 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
16716
16730
|
return le(() => {
|
16717
16731
|
const d = T(i);
|
16718
16732
|
d == null || d.focus();
|
16719
|
-
}), (d, g) => (A(), R(
|
16733
|
+
}), (d, g) => (A(), R(X, null, {
|
16720
16734
|
default: J(() => [
|
16721
|
-
o("div",
|
16722
|
-
o("span",
|
16735
|
+
o("div", Ac, [
|
16736
|
+
o("span", rc, D(T(de)("component.FeedSearch.SearchLabel")), 1),
|
16723
16737
|
ve(o("input", {
|
16724
16738
|
ref_key: "refInput",
|
16725
16739
|
ref: i,
|
16726
16740
|
class: "feed-search__input",
|
16727
16741
|
type: "text",
|
16728
16742
|
placeholder: T(de)("component.FeedSearch.SearchPlaceholder"),
|
16729
|
-
"onUpdate:modelValue": g[0] || (g[0] = (
|
16730
|
-
}, null, 8,
|
16731
|
-
[
|
16743
|
+
"onUpdate:modelValue": g[0] || (g[0] = (h) => T(n)().text = h)
|
16744
|
+
}, null, 8, cc), [
|
16745
|
+
[jt, T(n)().text]
|
16732
16746
|
]),
|
16733
16747
|
o("i", {
|
16734
16748
|
class: "pi pi-times",
|
@@ -16739,17 +16753,17 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
16739
16753
|
key: 0,
|
16740
16754
|
class: "pi pi-refresh",
|
16741
16755
|
style: { "margin-left": "5px", "margin-top": "10px", cursor: "pointer" },
|
16742
|
-
onClick: g[1] || (g[1] = (
|
16756
|
+
onClick: g[1] || (g[1] = (h) => a("switch"))
|
16743
16757
|
})) : b("", !0)
|
16744
16758
|
])
|
16745
16759
|
]),
|
16746
16760
|
_: 1
|
16747
16761
|
}));
|
16748
16762
|
}
|
16749
|
-
}),
|
16763
|
+
}), Zd = /* @__PURE__ */ U(uc, [["__scopeId", "data-v-d91a628f"]]), dc = { class: "feed-found-item__avatar-container" }, gc = ["src"], mc = {
|
16750
16764
|
key: 1,
|
16751
16765
|
class: "pi pi-user"
|
16752
|
-
},
|
16766
|
+
}, pc = { class: "feed-found-item__info" }, hc = { class: "feed-found-item__first-line" }, yc = { class: "feed-found-item__name" }, vc = { class: "feed-found-item__time" }, bc = { class: "feed-found-item__second-line" }, Mc = ["src"], _c = /* @__PURE__ */ W({
|
16753
16767
|
__name: "FeedFoundItem",
|
16754
16768
|
props: {
|
16755
16769
|
object: {
|
@@ -16774,27 +16788,27 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
16774
16788
|
return (n, a) => (A(), u("div", {
|
16775
16789
|
class: C(["feed-found-item__container", { "feed-found-item__selected-container": e.selected }])
|
16776
16790
|
}, [
|
16777
|
-
o("div",
|
16791
|
+
o("div", dc, [
|
16778
16792
|
e.object.avatar ? (A(), u("img", {
|
16779
16793
|
key: 0,
|
16780
16794
|
src: e.object.avatar,
|
16781
16795
|
width: "48",
|
16782
16796
|
height: "48"
|
16783
|
-
}, null, 8,
|
16797
|
+
}, null, 8, gc)) : (A(), u("span", mc))
|
16784
16798
|
]),
|
16785
|
-
o("div",
|
16786
|
-
o("div",
|
16787
|
-
o("p",
|
16788
|
-
o("p",
|
16799
|
+
o("div", pc, [
|
16800
|
+
o("div", hc, [
|
16801
|
+
o("p", yc, D(e.object.subtext), 1),
|
16802
|
+
o("p", vc, D(e.object.time), 1)
|
16789
16803
|
]),
|
16790
|
-
o("div",
|
16804
|
+
o("div", bc, [
|
16791
16805
|
e.object.type == "message.image" ? (A(), u("img", {
|
16792
16806
|
key: 0,
|
16793
16807
|
src: e.object.url,
|
16794
16808
|
style: { "margin-right": "3px" },
|
16795
16809
|
width: "24",
|
16796
16810
|
height: "24"
|
16797
|
-
}, null, 8,
|
16811
|
+
}, null, 8, Mc)) : b("", !0),
|
16798
16812
|
f.value ? (A(), u("span", {
|
16799
16813
|
key: 1,
|
16800
16814
|
class: C(f.value),
|
@@ -16805,10 +16819,10 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
16805
16819
|
])
|
16806
16820
|
], 2));
|
16807
16821
|
}
|
16808
|
-
}),
|
16822
|
+
}), Ic = /* @__PURE__ */ U(_c, [["__scopeId", "data-v-5769425d"]]), wc = { style: { "padding-left": "12px" } }, kc = ["onClick"], Nc = {
|
16809
16823
|
key: 1,
|
16810
16824
|
class: "feed-found-objects__placeholder"
|
16811
|
-
},
|
16825
|
+
}, Dc = /* @__PURE__ */ W({
|
16812
16826
|
__name: "FeedFoundObjects",
|
16813
16827
|
props: {
|
16814
16828
|
objects: {
|
@@ -16837,7 +16851,7 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
16837
16851
|
r.scrollHeight - r.scrollTop - r.clientHeight <= 0 && f("loadMore");
|
16838
16852
|
};
|
16839
16853
|
return (r, d) => (A(), u(q, null, [
|
16840
|
-
o("h3",
|
16854
|
+
o("h3", wc, D(T(de)("component.FeedFoundObjects.results")) + ": " + D(e.foundAmount), 1),
|
16841
16855
|
e.foundAmount > 0 ? (A(), u("div", {
|
16842
16856
|
key: 0,
|
16843
16857
|
class: "feed-found-objects__items",
|
@@ -16846,19 +16860,19 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
16846
16860
|
onScroll: c
|
16847
16861
|
}, [
|
16848
16862
|
(A(!0), u(q, null, fe(e.objects, (g) => (A(), u("div", {
|
16849
|
-
onClick: (
|
16863
|
+
onClick: (h) => l(g)
|
16850
16864
|
}, [
|
16851
|
-
P(
|
16865
|
+
P(Ic, {
|
16852
16866
|
object: g,
|
16853
16867
|
selected: g == s.value
|
16854
16868
|
}, null, 8, ["object", "selected"])
|
16855
|
-
], 8,
|
16856
|
-
], 544)) : e.foundAmount == 0 ? (A(), u("div",
|
16869
|
+
], 8, kc))), 256))
|
16870
|
+
], 544)) : e.foundAmount == 0 ? (A(), u("div", Nc, [
|
16857
16871
|
o("p", null, D(i.value), 1)
|
16858
16872
|
])) : b("", !0)
|
16859
16873
|
], 64));
|
16860
16874
|
}
|
16861
|
-
}),
|
16875
|
+
}), Xd = /* @__PURE__ */ U(Dc, [["__scopeId", "data-v-c32de248"]]), lt = /* @__PURE__ */ W({
|
16862
16876
|
__name: "BaseReplyMessage",
|
16863
16877
|
props: {
|
16864
16878
|
message: {
|
@@ -16867,14 +16881,14 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
16867
16881
|
},
|
16868
16882
|
emits: ["action", "reply"],
|
16869
16883
|
setup(e, { emit: t }) {
|
16870
|
-
const f = t, n = e, a =
|
16884
|
+
const f = t, n = e, a = ie("chatAppId"), { resetReply: s } = We(a), i = () => {
|
16871
16885
|
n.message && f("reply", n.message.messageId);
|
16872
16886
|
}, l = (d) => ({
|
16873
|
-
"message.text":
|
16874
|
-
"message.image":
|
16875
|
-
"message.file":
|
16876
|
-
"message.audio":
|
16877
|
-
"message.video":
|
16887
|
+
"message.text": N1,
|
16888
|
+
"message.image": S1,
|
16889
|
+
"message.file": J1,
|
16890
|
+
"message.audio": U1,
|
16891
|
+
"message.video": F1
|
16878
16892
|
})[d], c = (d) => ({
|
16879
16893
|
"message.text": "",
|
16880
16894
|
"message.image": "grid",
|
@@ -16885,9 +16899,9 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
16885
16899
|
s();
|
16886
16900
|
};
|
16887
16901
|
return (d, g) => {
|
16888
|
-
var
|
16902
|
+
var h, p;
|
16889
16903
|
return A(), u("div", {
|
16890
|
-
class: C(["reply__container", c((
|
16904
|
+
class: C(["reply__container", c((h = e.message) == null ? void 0 : h.type)]),
|
16891
16905
|
onClick: i
|
16892
16906
|
}, [
|
16893
16907
|
(A(), R(Wn(l((p = e.message) == null ? void 0 : p.type)), { message: e.message }, null, 8, ["message"])),
|
@@ -16899,7 +16913,7 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
16899
16913
|
], 2);
|
16900
16914
|
};
|
16901
16915
|
}
|
16902
|
-
}),
|
16916
|
+
}), Ec = { class: "link-preview" }, jc = { class: "link-preview__container" }, Tc = ["href"], xc = { class: "link-preview__title" }, Vc = { class: "link-preview__description" }, Sc = ["src", "alt"], Cc = /* @__PURE__ */ W({
|
16903
16917
|
__name: "LinkPreview",
|
16904
16918
|
props: {
|
16905
16919
|
linkPreview: {
|
@@ -16908,34 +16922,34 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
16908
16922
|
}
|
16909
16923
|
},
|
16910
16924
|
setup(e) {
|
16911
|
-
return (t, f) => (A(), u("div",
|
16912
|
-
o("div",
|
16925
|
+
return (t, f) => (A(), u("div", Ec, [
|
16926
|
+
o("div", jc, [
|
16913
16927
|
o("a", {
|
16914
16928
|
class: "link-preview__link-container",
|
16915
16929
|
href: e.linkPreview.url,
|
16916
16930
|
target: "_blank"
|
16917
16931
|
}, [
|
16918
|
-
o("p",
|
16919
|
-
o("p",
|
16932
|
+
o("p", xc, D(e.linkPreview.title), 1),
|
16933
|
+
o("p", Vc, D(e.linkPreview.description), 1),
|
16920
16934
|
o("img", {
|
16921
16935
|
class: "link-preview__image",
|
16922
16936
|
src: e.linkPreview.imageUrl,
|
16923
16937
|
alt: e.linkPreview.title
|
16924
|
-
}, null, 8,
|
16925
|
-
], 8,
|
16938
|
+
}, null, 8, Sc)
|
16939
|
+
], 8, Tc)
|
16926
16940
|
])
|
16927
16941
|
]));
|
16928
16942
|
}
|
16929
|
-
}),
|
16943
|
+
}), St = /* @__PURE__ */ U(Cc, [["__scopeId", "data-v-281fb650"]]), Oc = ["messageId"], zc = ["src"], Lc = {
|
16930
16944
|
key: 1,
|
16931
16945
|
class: "file-message__subtext"
|
16932
|
-
},
|
16946
|
+
}, Uc = ["href"], Bc = { class: "file-message__filename-text" }, Qc = {
|
16933
16947
|
key: 1,
|
16934
16948
|
class: "file-message__text-container"
|
16935
|
-
},
|
16949
|
+
}, Rc = ["innerHTML"], Yc = { class: "file-message__info-container" }, $c = { class: "file-message__time" }, Pc = {
|
16936
16950
|
key: 0,
|
16937
16951
|
class: "pi pi-check"
|
16938
|
-
},
|
16952
|
+
}, Fc = /* @__PURE__ */ W({
|
16939
16953
|
__name: "FileMessage",
|
16940
16954
|
props: {
|
16941
16955
|
message: {
|
@@ -16946,34 +16960,34 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
16946
16960
|
emits: ["action", "reply"],
|
16947
16961
|
setup(e, { emit: t }) {
|
16948
16962
|
const f = e, n = t, a = M(!1), s = M(!1), i = M("");
|
16949
|
-
|
16963
|
+
Z(
|
16950
16964
|
() => f.message.text,
|
16951
16965
|
() => {
|
16952
16966
|
f.message.text && (i.value = _e(f.message.text));
|
16953
16967
|
},
|
16954
16968
|
{ immediate: !0 }
|
16955
16969
|
);
|
16956
|
-
const l = (
|
16957
|
-
n("reply",
|
16970
|
+
const l = (y) => {
|
16971
|
+
n("reply", y);
|
16958
16972
|
};
|
16959
|
-
function c(
|
16960
|
-
|
16973
|
+
function c(y) {
|
16974
|
+
y.preventDefault(), y.target.href && window.open(y.target.href, "_blank");
|
16961
16975
|
}
|
16962
16976
|
const r = () => {
|
16963
16977
|
n("action", { messageId: f.message.messageId, type: "views" });
|
16964
16978
|
}, d = () => {
|
16965
16979
|
}, g = () => {
|
16966
16980
|
s.value = !0;
|
16967
|
-
},
|
16981
|
+
}, h = () => {
|
16968
16982
|
s.value = !1, a.value = !1;
|
16969
16983
|
}, p = B(() => ot(f.message.status));
|
16970
|
-
function m(
|
16971
|
-
return
|
16984
|
+
function m(y) {
|
16985
|
+
return y.position === "left" ? "file-message__left" : "file-message__right";
|
16972
16986
|
}
|
16973
|
-
return (
|
16987
|
+
return (y, v) => (A(), u("div", {
|
16974
16988
|
class: C(["file-message", m(e.message)]),
|
16975
16989
|
messageId: e.message.messageId,
|
16976
|
-
onMouseleave:
|
16990
|
+
onMouseleave: h
|
16977
16991
|
}, [
|
16978
16992
|
e.message.avatar ? (A(), u("img", {
|
16979
16993
|
key: 0,
|
@@ -16982,8 +16996,8 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
16982
16996
|
height: "32",
|
16983
16997
|
width: "32",
|
16984
16998
|
style: se({ gridRow: e.message.subText ? "2" : "1" })
|
16985
|
-
}, null, 12,
|
16986
|
-
e.message.subText ? (A(), u("p",
|
16999
|
+
}, null, 12, zc)) : b("", !0),
|
17000
|
+
e.message.subText ? (A(), u("p", Lc, D(e.message.subText), 1)) : b("", !0),
|
16987
17001
|
o("div", {
|
16988
17002
|
class: "file-message__content",
|
16989
17003
|
style: se({ gridRow: e.message.subText ? "2" : "1" }),
|
@@ -17002,23 +17016,23 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17002
17016
|
target: "_blank"
|
17003
17017
|
}, [
|
17004
17018
|
v[1] || (v[1] = o("span", { class: "pi pi-file" }, null, -1)),
|
17005
|
-
o("p",
|
17019
|
+
o("p", Bc, D(e.message.filename), 1),
|
17006
17020
|
v[2] || (v[2] = o("div", { class: "file-message__download-button" }, [
|
17007
17021
|
o("span", { class: "pi pi-download" })
|
17008
17022
|
], -1))
|
17009
|
-
], 8,
|
17010
|
-
e.message.text ? (A(), u("div",
|
17023
|
+
], 8, Uc),
|
17024
|
+
e.message.text ? (A(), u("div", Qc, [
|
17011
17025
|
o("p", {
|
17012
17026
|
innerHTML: i.value,
|
17013
17027
|
onClick: c
|
17014
|
-
}, null, 8,
|
17028
|
+
}, null, 8, Rc)
|
17015
17029
|
])) : b("", !0),
|
17016
|
-
e.message.linkPreview ? (A(), R(
|
17030
|
+
e.message.linkPreview ? (A(), R(St, {
|
17017
17031
|
key: 2,
|
17018
17032
|
class: C(e.message.position),
|
17019
17033
|
linkPreview: e.message.linkPreview
|
17020
17034
|
}, null, 8, ["class", "linkPreview"])) : b("", !0),
|
17021
|
-
o("div",
|
17035
|
+
o("div", Yc, [
|
17022
17036
|
e.message.views ? (A(), u("div", {
|
17023
17037
|
key: 0,
|
17024
17038
|
onClick: r,
|
@@ -17027,12 +17041,12 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17027
17041
|
v[3] || (v[3] = o("span", { class: "pi pi-eye" }, null, -1)),
|
17028
17042
|
o("p", null, D(e.message.views), 1)
|
17029
17043
|
])) : b("", !0),
|
17030
|
-
o("span",
|
17044
|
+
o("span", $c, D(e.message.time), 1),
|
17031
17045
|
m(e.message) === "file-message__right" && T(it).includes(e.message.status) ? (A(), u("div", {
|
17032
17046
|
key: 1,
|
17033
17047
|
class: C(["file-message__status", p.value])
|
17034
17048
|
}, [
|
17035
|
-
e.message.status !== "sent" ? (A(), u("span",
|
17049
|
+
e.message.status !== "sent" ? (A(), u("span", Pc)) : b("", !0),
|
17036
17050
|
v[4] || (v[4] = o("span", { class: "pi pi-check" }, null, -1))
|
17037
17051
|
], 2)) : b("", !0)
|
17038
17052
|
]),
|
@@ -17043,7 +17057,7 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17043
17057
|
}, v[5] || (v[5] = [
|
17044
17058
|
o("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
17045
17059
|
]))) : b("", !0),
|
17046
|
-
P(
|
17060
|
+
P(X, null, {
|
17047
17061
|
default: J(() => [
|
17048
17062
|
a.value && e.message.actions ? (A(), R(T(Re), {
|
17049
17063
|
key: 0,
|
@@ -17055,21 +17069,21 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17055
17069
|
_: 1
|
17056
17070
|
})
|
17057
17071
|
], 36)
|
17058
|
-
], 42,
|
17072
|
+
], 42, Oc));
|
17059
17073
|
}
|
17060
|
-
}),
|
17074
|
+
}), qc = /* @__PURE__ */ U(Fc, [["__scopeId", "data-v-2e4508bd"]]), Hc = ["messageId"], Wc = ["src"], Kc = {
|
17061
17075
|
key: 1,
|
17062
17076
|
class: "image-message__subtext"
|
17063
|
-
},
|
17077
|
+
}, Jc = { class: "image-message__content" }, Gc = ["src", "alt"], Zc = {
|
17064
17078
|
key: 0,
|
17065
17079
|
class: "image-message__info-container"
|
17066
|
-
},
|
17080
|
+
}, Xc = { class: "image-message__time" }, eu = {
|
17067
17081
|
key: 0,
|
17068
17082
|
class: "pi pi-check"
|
17069
|
-
},
|
17083
|
+
}, tu = ["href"], fu = {
|
17070
17084
|
key: 1,
|
17071
17085
|
class: "image-message__text-container"
|
17072
|
-
},
|
17086
|
+
}, nu = ["innerHTML"], au = { class: "image-message__modal" }, su = ["src", "alt"], iu = /* @__PURE__ */ W({
|
17073
17087
|
__name: "ImageMessage",
|
17074
17088
|
props: {
|
17075
17089
|
message: {
|
@@ -17080,7 +17094,7 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17080
17094
|
emits: ["action", "reply"],
|
17081
17095
|
setup(e, { emit: t }) {
|
17082
17096
|
const f = e, n = t, a = M(!1), s = M(!1), i = M(!1), l = M(!1), c = M("");
|
17083
|
-
|
17097
|
+
Z(
|
17084
17098
|
() => f.message.text,
|
17085
17099
|
() => {
|
17086
17100
|
f.message.text && (c.value = _e(f.message.text));
|
@@ -17095,12 +17109,12 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17095
17109
|
}
|
17096
17110
|
const g = () => {
|
17097
17111
|
n("action", { messageId: f.message.messageId, type: "views" });
|
17098
|
-
},
|
17112
|
+
}, h = () => {
|
17099
17113
|
}, p = () => {
|
17100
17114
|
i.value = !0, l.value = !0;
|
17101
17115
|
}, m = () => {
|
17102
17116
|
i.value = !1, s.value = !1;
|
17103
|
-
},
|
17117
|
+
}, y = B(() => f.message.reply && f.message.text ? "0" : f.message.text ? "8px 8px 0 0" : f.message.reply ? "0 0 8px 8px" : "8px"), v = B(() => ot(f.message.status));
|
17104
17118
|
function x(k) {
|
17105
17119
|
return k.position === "left" ? "image-message__left" : "image-message__right";
|
17106
17120
|
}
|
@@ -17124,9 +17138,9 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17124
17138
|
src: e.message.avatar,
|
17125
17139
|
height: "32",
|
17126
17140
|
width: "32"
|
17127
|
-
}, null, 8,
|
17128
|
-
e.message.subText ? (A(), u("p",
|
17129
|
-
o("div",
|
17141
|
+
}, null, 8, Wc)) : b("", !0),
|
17142
|
+
e.message.subText ? (A(), u("p", Kc, D(e.message.subText), 1)) : b("", !0),
|
17143
|
+
o("div", Jc, [
|
17130
17144
|
e.message.reply ? (A(), R(lt, {
|
17131
17145
|
key: 0,
|
17132
17146
|
style: { margin: "10px 10px 4px 16px" },
|
@@ -17142,50 +17156,50 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17142
17156
|
}, [
|
17143
17157
|
o("img", {
|
17144
17158
|
class: "image-message__preview-image",
|
17145
|
-
style: se({ borderRadius:
|
17159
|
+
style: se({ borderRadius: y.value }),
|
17146
17160
|
src: e.message.url,
|
17147
17161
|
alt: e.message.alt
|
17148
|
-
}, null, 12,
|
17149
|
-
P(
|
17162
|
+
}, null, 12, Gc),
|
17163
|
+
P(X, { name: "modal-fade" }, {
|
17150
17164
|
default: J(() => [
|
17151
|
-
l.value ? (A(), u("div",
|
17165
|
+
l.value ? (A(), u("div", Zc, [
|
17152
17166
|
e.message.views ? (A(), u("div", {
|
17153
17167
|
key: 0,
|
17154
|
-
onClick:
|
17168
|
+
onClick: It(g, ["stop"]),
|
17155
17169
|
class: "image-message__views"
|
17156
17170
|
}, [
|
17157
17171
|
E[4] || (E[4] = o("span", { class: "pi pi-eye" }, null, -1)),
|
17158
17172
|
o("p", null, D(e.message.views), 1)
|
17159
17173
|
])) : b("", !0),
|
17160
|
-
o("span",
|
17174
|
+
o("span", Xc, D(e.message.time), 1),
|
17161
17175
|
x(e.message) === "image-message__right" && T(it).includes(e.message.status) ? (A(), u("div", {
|
17162
17176
|
key: 1,
|
17163
17177
|
class: C(["image-message__status", v.value])
|
17164
17178
|
}, [
|
17165
|
-
e.message.status !== "sent" ? (A(), u("span",
|
17179
|
+
e.message.status !== "sent" ? (A(), u("span", eu)) : b("", !0),
|
17166
17180
|
E[5] || (E[5] = o("span", { class: "pi pi-check" }, null, -1))
|
17167
17181
|
], 2)) : b("", !0)
|
17168
17182
|
])) : b("", !0)
|
17169
17183
|
]),
|
17170
17184
|
_: 1
|
17171
17185
|
}),
|
17172
|
-
P(
|
17186
|
+
P(X, { name: "modal-fade" }, {
|
17173
17187
|
default: J(() => [
|
17174
17188
|
l.value ? (A(), u("a", {
|
17175
17189
|
key: 0,
|
17176
|
-
onClick:
|
17190
|
+
onClick: It(() => "//Предотвращаем всплытие события клика", ["stop"]),
|
17177
17191
|
class: "image-message__download-button",
|
17178
17192
|
href: e.message.url,
|
17179
17193
|
download: "",
|
17180
17194
|
target: "_blank"
|
17181
17195
|
}, E[6] || (E[6] = [
|
17182
17196
|
o("span", { class: "pi pi-download" }, null, -1)
|
17183
|
-
]), 8,
|
17197
|
+
]), 8, tu)) : b("", !0)
|
17184
17198
|
]),
|
17185
17199
|
_: 1
|
17186
17200
|
})
|
17187
17201
|
], 32),
|
17188
|
-
P(
|
17202
|
+
P(X, { name: "modal-fade" }, {
|
17189
17203
|
default: J(() => [
|
17190
17204
|
i.value && e.message.actions ? (A(), u("button", {
|
17191
17205
|
key: 0,
|
@@ -17197,31 +17211,31 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17197
17211
|
]),
|
17198
17212
|
_: 1
|
17199
17213
|
}),
|
17200
|
-
P(
|
17214
|
+
P(X, { name: "context-menu" }, {
|
17201
17215
|
default: J(() => [
|
17202
17216
|
s.value && e.message.actions ? (A(), R(T(Re), {
|
17203
17217
|
key: 0,
|
17204
17218
|
class: "image-message__context-menu",
|
17205
17219
|
actions: e.message.actions,
|
17206
|
-
onClick:
|
17220
|
+
onClick: h
|
17207
17221
|
}, null, 8, ["actions"])) : b("", !0)
|
17208
17222
|
]),
|
17209
17223
|
_: 1
|
17210
17224
|
}),
|
17211
|
-
e.message.text ? (A(), u("div",
|
17225
|
+
e.message.text ? (A(), u("div", fu, [
|
17212
17226
|
o("p", {
|
17213
17227
|
innerHTML: c.value,
|
17214
17228
|
onClick: d
|
17215
|
-
}, null, 8,
|
17229
|
+
}, null, 8, nu)
|
17216
17230
|
])) : b("", !0),
|
17217
|
-
e.message.linkPreview ? (A(), R(
|
17231
|
+
e.message.linkPreview ? (A(), R(St, {
|
17218
17232
|
key: 2,
|
17219
17233
|
class: C(["image-message__link-preview", e.message.position]),
|
17220
17234
|
linkPreview: e.message.linkPreview
|
17221
17235
|
}, null, 8, ["class", "linkPreview"])) : b("", !0)
|
17222
17236
|
]),
|
17223
17237
|
(A(), R(Be, { to: "body" }, [
|
17224
|
-
P(
|
17238
|
+
P(X, { name: "modal-fade" }, {
|
17225
17239
|
default: J(() => [
|
17226
17240
|
a.value ? (A(), u("div", {
|
17227
17241
|
key: 0,
|
@@ -17229,7 +17243,7 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17229
17243
|
onClick: z,
|
17230
17244
|
onKeyup: E[3] || (E[3] = Hf((_) => a.value = !1, ["esc"]))
|
17231
17245
|
}, [
|
17232
|
-
o("div",
|
17246
|
+
o("div", au, [
|
17233
17247
|
o("button", {
|
17234
17248
|
class: "image-message__modal-close-button",
|
17235
17249
|
onClick: O
|
@@ -17242,25 +17256,25 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17242
17256
|
class: "image-message__modal-image",
|
17243
17257
|
src: e.message.url,
|
17244
17258
|
alt: e.message.alt
|
17245
|
-
}, null, 8,
|
17259
|
+
}, null, 8, su)
|
17246
17260
|
])
|
17247
17261
|
], 32)) : b("", !0)
|
17248
17262
|
]),
|
17249
17263
|
_: 1
|
17250
17264
|
})
|
17251
17265
|
]))
|
17252
|
-
], 42,
|
17266
|
+
], 42, Hc));
|
17253
17267
|
}
|
17254
|
-
}),
|
17268
|
+
}), ou = /* @__PURE__ */ U(iu, [["__scopeId", "data-v-63d1abed"]]), lu = ["messageId"], Au = ["src"], ru = {
|
17255
17269
|
key: 1,
|
17256
17270
|
class: "text-message__subtext"
|
17257
|
-
},
|
17271
|
+
}, cu = ["innerHTML"], uu = { class: "text-message__info-container" }, du = {
|
17258
17272
|
key: 1,
|
17259
17273
|
class: "text-message__time"
|
17260
|
-
},
|
17274
|
+
}, gu = {
|
17261
17275
|
key: 0,
|
17262
17276
|
class: "pi pi-check"
|
17263
|
-
},
|
17277
|
+
}, mu = /* @__PURE__ */ W({
|
17264
17278
|
__name: "TextMessage",
|
17265
17279
|
props: {
|
17266
17280
|
message: {
|
@@ -17271,32 +17285,32 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17271
17285
|
emits: ["action", "reply"],
|
17272
17286
|
setup(e, { emit: t }) {
|
17273
17287
|
const f = e, n = t, a = M(!1), s = M(!1), i = M("");
|
17274
|
-
|
17288
|
+
Z(
|
17275
17289
|
() => f.message.text,
|
17276
17290
|
() => {
|
17277
17291
|
i.value = _e(f.message.text);
|
17278
17292
|
},
|
17279
17293
|
{ immediate: !0 }
|
17280
17294
|
);
|
17281
|
-
const l = (
|
17282
|
-
n("reply",
|
17295
|
+
const l = (y) => {
|
17296
|
+
n("reply", y);
|
17283
17297
|
};
|
17284
|
-
function c(
|
17285
|
-
|
17298
|
+
function c(y) {
|
17299
|
+
y.preventDefault(), y.target.href && window.open(y.target.href, "_blank");
|
17286
17300
|
}
|
17287
17301
|
const r = () => {
|
17288
17302
|
s.value = !0;
|
17289
17303
|
}, d = () => {
|
17290
17304
|
s.value = !1, a.value = !1;
|
17291
|
-
}, g = B(() => ot(f.message.status)),
|
17292
|
-
d(), n("action", { messageId: f.message.messageId, type: "menu", ...
|
17305
|
+
}, g = B(() => ot(f.message.status)), h = (y) => {
|
17306
|
+
d(), n("action", { messageId: f.message.messageId, type: "menu", ...y });
|
17293
17307
|
}, p = () => {
|
17294
17308
|
d(), n("action", { messageId: f.message.messageId, type: "views" });
|
17295
17309
|
};
|
17296
|
-
function m(
|
17297
|
-
return
|
17310
|
+
function m(y) {
|
17311
|
+
return y.position === "left" ? "text-message__left" : "text-message__right";
|
17298
17312
|
}
|
17299
|
-
return (
|
17313
|
+
return (y, v) => (A(), u("div", {
|
17300
17314
|
class: C(["text-message", m(e.message)]),
|
17301
17315
|
messageId: e.message.messageId,
|
17302
17316
|
onMouseleave: d
|
@@ -17308,8 +17322,8 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17308
17322
|
height: "32",
|
17309
17323
|
width: "32",
|
17310
17324
|
style: se({ gridRow: e.message.subText ? "2" : "1" })
|
17311
|
-
}, null, 12,
|
17312
|
-
e.message.subText ? (A(), u("p",
|
17325
|
+
}, null, 12, Au)) : b("", !0),
|
17326
|
+
e.message.subText ? (A(), u("p", ru, D(e.message.subText), 1)) : b("", !0),
|
17313
17327
|
o("div", {
|
17314
17328
|
class: "text-message__content",
|
17315
17329
|
onMouseenter: r
|
@@ -17324,13 +17338,13 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17324
17338
|
innerHTML: i.value,
|
17325
17339
|
class: "text-message__text",
|
17326
17340
|
onClick: c
|
17327
|
-
}, null, 8,
|
17328
|
-
e.message.linkPreview ? (A(), R(
|
17341
|
+
}, null, 8, cu),
|
17342
|
+
e.message.linkPreview ? (A(), R(St, {
|
17329
17343
|
key: 1,
|
17330
17344
|
class: C(e.message.position),
|
17331
17345
|
linkPreview: e.message.linkPreview
|
17332
17346
|
}, null, 8, ["class", "linkPreview"])) : b("", !0),
|
17333
|
-
o("div",
|
17347
|
+
o("div", uu, [
|
17334
17348
|
e.message.views ? (A(), u("div", {
|
17335
17349
|
key: 0,
|
17336
17350
|
class: "text-message__views",
|
@@ -17339,12 +17353,12 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17339
17353
|
v[1] || (v[1] = o("span", { class: "pi pi-eye" }, null, -1)),
|
17340
17354
|
o("p", null, D(e.message.views), 1)
|
17341
17355
|
])) : b("", !0),
|
17342
|
-
e.message.time ? (A(), u("span",
|
17356
|
+
e.message.time ? (A(), u("span", du, D(e.message.time), 1)) : b("", !0),
|
17343
17357
|
m(e.message) === "text-message__right" && T(it).includes(e.message.status) ? (A(), u("div", {
|
17344
17358
|
key: 2,
|
17345
17359
|
class: C(["text-message__status", g.value])
|
17346
17360
|
}, [
|
17347
|
-
e.message.status !== "sent" ? (A(), u("span",
|
17361
|
+
e.message.status !== "sent" ? (A(), u("span", gu)) : b("", !0),
|
17348
17362
|
v[2] || (v[2] = o("span", { class: "pi pi-check" }, null, -1))
|
17349
17363
|
], 2)) : b("", !0)
|
17350
17364
|
]),
|
@@ -17355,36 +17369,36 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17355
17369
|
}, v[3] || (v[3] = [
|
17356
17370
|
o("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
17357
17371
|
]))) : b("", !0),
|
17358
|
-
P(
|
17372
|
+
P(X, null, {
|
17359
17373
|
default: J(() => [
|
17360
17374
|
a.value && e.message.actions ? (A(), R(T(Re), {
|
17361
17375
|
key: 0,
|
17362
17376
|
class: "text-message__context-menu",
|
17363
17377
|
actions: e.message.actions,
|
17364
|
-
onClick:
|
17378
|
+
onClick: h
|
17365
17379
|
}, null, 8, ["actions"])) : b("", !0)
|
17366
17380
|
]),
|
17367
17381
|
_: 1
|
17368
17382
|
})
|
17369
17383
|
], 32)
|
17370
|
-
], 42,
|
17384
|
+
], 42, lu));
|
17371
17385
|
}
|
17372
|
-
}),
|
17386
|
+
}), pu = /* @__PURE__ */ U(mu, [["__scopeId", "data-v-269c4248"]]), hu = ["messageId"], yu = ["src"], vu = {
|
17373
17387
|
key: 1,
|
17374
17388
|
class: "audio-message__subtext"
|
17375
|
-
},
|
17389
|
+
}, bu = { class: "audio-message__audio-container" }, Mu = ["src"], _u = { class: "audio-message__progress-bar-container" }, Iu = { class: "audio-message__remaining-time" }, wu = ["href"], ku = {
|
17376
17390
|
key: 1,
|
17377
17391
|
class: "audio-message__transcript-container"
|
17378
|
-
},
|
17392
|
+
}, Nu = {
|
17379
17393
|
key: 2,
|
17380
17394
|
class: "audio-message__text-container"
|
17381
|
-
},
|
17395
|
+
}, Du = ["innerHTML"], Eu = { class: "audio-message__info-container" }, ju = { class: "audio-message__time" }, Tu = {
|
17382
17396
|
key: 0,
|
17383
17397
|
class: "pi pi-check"
|
17384
|
-
},
|
17398
|
+
}, xu = {
|
17385
17399
|
key: 0,
|
17386
17400
|
class: "audio-message__modal-overlay"
|
17387
|
-
},
|
17401
|
+
}, Vu = { class: "audio-message__modal" }, Su = { style: { "word-wrap": "break-word", "max-width": "25rem" } }, Cu = /* @__PURE__ */ W({
|
17388
17402
|
__name: "AudioMessage",
|
17389
17403
|
props: {
|
17390
17404
|
message: {
|
@@ -17396,7 +17410,7 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17396
17410
|
setup(e, { emit: t }) {
|
17397
17411
|
const f = e, n = t, a = M(), s = M(!1), i = M(0), l = M(0), c = M(!1), r = M(!1), d = M(!1), g = B(() => {
|
17398
17412
|
if (f.message.text) return _e(f.message.text);
|
17399
|
-
}),
|
17413
|
+
}), h = (N) => {
|
17400
17414
|
n("reply", N);
|
17401
17415
|
};
|
17402
17416
|
function p(N) {
|
@@ -17404,7 +17418,7 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17404
17418
|
}
|
17405
17419
|
const m = () => {
|
17406
17420
|
r.value = !0;
|
17407
|
-
},
|
17421
|
+
}, y = () => {
|
17408
17422
|
r.value = !1, c.value = !1;
|
17409
17423
|
}, v = () => {
|
17410
17424
|
n("action", { messageId: f.message.messageId, type: "views" });
|
@@ -17431,7 +17445,7 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17431
17445
|
return A(), u("div", {
|
17432
17446
|
class: C(["audio-message", w(e.message)]),
|
17433
17447
|
messageId: e.message.messageId,
|
17434
|
-
onMouseleave:
|
17448
|
+
onMouseleave: y
|
17435
17449
|
}, [
|
17436
17450
|
e.message.avatar ? (A(), u("img", {
|
17437
17451
|
key: 0,
|
@@ -17440,8 +17454,8 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17440
17454
|
height: "32",
|
17441
17455
|
width: "32",
|
17442
17456
|
style: se({ gridRow: e.message.subText ? "2" : "1" })
|
17443
|
-
}, null, 12,
|
17444
|
-
e.message.subText ? (A(), u("p",
|
17457
|
+
}, null, 12, yu)) : b("", !0),
|
17458
|
+
e.message.subText ? (A(), u("p", vu, D(e.message.subText), 1)) : b("", !0),
|
17445
17459
|
o("div", {
|
17446
17460
|
class: "audio-message__content",
|
17447
17461
|
onMouseenter: m
|
@@ -17451,21 +17465,21 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17451
17465
|
style: { "grid-column": "1/3" },
|
17452
17466
|
message: e.message.reply,
|
17453
17467
|
class: C(e.message.position),
|
17454
|
-
onReply:
|
17468
|
+
onReply: h
|
17455
17469
|
}, null, 8, ["message", "class"])) : b("", !0),
|
17456
|
-
o("div",
|
17470
|
+
o("div", bu, [
|
17457
17471
|
o("audio", {
|
17458
17472
|
ref_key: "player",
|
17459
17473
|
ref: a,
|
17460
17474
|
src: e.message.url
|
17461
|
-
}, null, 8,
|
17475
|
+
}, null, 8, Mu),
|
17462
17476
|
ve(o("button", {
|
17463
17477
|
class: "audio-message__play",
|
17464
17478
|
onClick: z
|
17465
17479
|
}, j[3] || (j[3] = [
|
17466
17480
|
o("span", { class: "pi pi-play" }, null, -1)
|
17467
17481
|
]), 512), [
|
17468
|
-
[
|
17482
|
+
[_t, !s.value]
|
17469
17483
|
]),
|
17470
17484
|
ve(o("button", {
|
17471
17485
|
class: "audio-message__pause",
|
@@ -17473,42 +17487,42 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17473
17487
|
}, j[4] || (j[4] = [
|
17474
17488
|
o("span", { class: "pi pi-pause" }, null, -1)
|
17475
17489
|
]), 512), [
|
17476
|
-
[
|
17490
|
+
[_t, s.value]
|
17477
17491
|
]),
|
17478
|
-
o("div",
|
17492
|
+
o("div", _u, [
|
17479
17493
|
o("div", {
|
17480
17494
|
class: "audio-message__progress-bar",
|
17481
17495
|
style: se({ width: _.value + "%" })
|
17482
17496
|
}, null, 4)
|
17483
17497
|
]),
|
17484
|
-
o("p",
|
17498
|
+
o("p", Iu, D(`${k.value} / ${E.value}`), 1),
|
17485
17499
|
o("a", {
|
17486
17500
|
class: "audio-message__download-button",
|
17487
|
-
onClick:
|
17501
|
+
onClick: It(() => "//Предотвращаем всплытие события клика", ["stop"]),
|
17488
17502
|
href: e.message.url,
|
17489
17503
|
download: "",
|
17490
17504
|
target: "_blank"
|
17491
17505
|
}, j[5] || (j[5] = [
|
17492
17506
|
o("span", { class: "pi pi-download" }, null, -1)
|
17493
|
-
]), 8,
|
17507
|
+
]), 8, wu)
|
17494
17508
|
]),
|
17495
|
-
(Q = e.message.transcript) != null && Q.text ? (A(), u("div",
|
17509
|
+
(Q = e.message.transcript) != null && Q.text ? (A(), u("div", ku, [
|
17496
17510
|
o("p", {
|
17497
17511
|
onClick: j[0] || (j[0] = (L) => d.value = !d.value)
|
17498
17512
|
}, D(e.message.transcript.text), 1)
|
17499
17513
|
])) : b("", !0),
|
17500
|
-
e.message.text ? (A(), u("div",
|
17514
|
+
e.message.text ? (A(), u("div", Nu, [
|
17501
17515
|
o("p", {
|
17502
17516
|
innerHTML: g.value,
|
17503
17517
|
onClick: p
|
17504
|
-
}, null, 8,
|
17518
|
+
}, null, 8, Du)
|
17505
17519
|
])) : b("", !0),
|
17506
|
-
e.message.linkPreview ? (A(), R(
|
17520
|
+
e.message.linkPreview ? (A(), R(St, {
|
17507
17521
|
key: 3,
|
17508
17522
|
class: C(["audio-message__link-preview", e.message.position]),
|
17509
17523
|
linkPreview: e.message.linkPreview
|
17510
17524
|
}, null, 8, ["class", "linkPreview"])) : b("", !0),
|
17511
|
-
o("div",
|
17525
|
+
o("div", Eu, [
|
17512
17526
|
e.message.views ? (A(), u("div", {
|
17513
17527
|
key: 0,
|
17514
17528
|
onClick: v,
|
@@ -17517,12 +17531,12 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17517
17531
|
j[6] || (j[6] = o("span", { class: "pi pi-eye" }, null, -1)),
|
17518
17532
|
o("p", null, D(e.message.views), 1)
|
17519
17533
|
])) : b("", !0),
|
17520
|
-
o("span",
|
17534
|
+
o("span", ju, D(e.message.time), 1),
|
17521
17535
|
w(e.message) === "audio-message__right" && T(it).includes(e.message.status) ? (A(), u("div", {
|
17522
17536
|
key: 1,
|
17523
17537
|
class: C(["audio-message__status", O.value])
|
17524
17538
|
}, [
|
17525
|
-
e.message.status !== "sent" ? (A(), u("span",
|
17539
|
+
e.message.status !== "sent" ? (A(), u("span", Tu)) : b("", !0),
|
17526
17540
|
j[7] || (j[7] = o("span", { class: "pi pi-check" }, null, -1))
|
17527
17541
|
], 2)) : b("", !0)
|
17528
17542
|
]),
|
@@ -17533,7 +17547,7 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17533
17547
|
}, j[8] || (j[8] = [
|
17534
17548
|
o("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
17535
17549
|
]))) : b("", !0),
|
17536
|
-
P(
|
17550
|
+
P(X, null, {
|
17537
17551
|
default: J(() => [
|
17538
17552
|
c.value && e.message.actions ? (A(), R(T(Re), {
|
17539
17553
|
key: 0,
|
@@ -17545,12 +17559,12 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17545
17559
|
_: 1
|
17546
17560
|
}),
|
17547
17561
|
(A(), R(Be, { to: "body" }, [
|
17548
|
-
P(
|
17562
|
+
P(X, { name: "modal-fade" }, {
|
17549
17563
|
default: J(() => {
|
17550
17564
|
var L;
|
17551
17565
|
return [
|
17552
|
-
d.value ? (A(), u("div",
|
17553
|
-
o("div",
|
17566
|
+
d.value ? (A(), u("div", xu, [
|
17567
|
+
o("div", Vu, [
|
17554
17568
|
o("button", {
|
17555
17569
|
class: "audio-message__modal-close-button",
|
17556
17570
|
onClick: j[2] || (j[2] = (H) => d.value = !1)
|
@@ -17559,7 +17573,7 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17559
17573
|
o("i", { class: "pi pi-times" })
|
17560
17574
|
], -1)
|
17561
17575
|
])),
|
17562
|
-
o("p",
|
17576
|
+
o("p", Su, D((L = e.message.transcript) == null ? void 0 : L.text), 1)
|
17563
17577
|
])
|
17564
17578
|
])) : b("", !0)
|
17565
17579
|
];
|
@@ -17568,10 +17582,10 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17568
17582
|
})
|
17569
17583
|
]))
|
17570
17584
|
], 32)
|
17571
|
-
], 42,
|
17585
|
+
], 42, hu);
|
17572
17586
|
};
|
17573
17587
|
}
|
17574
|
-
}),
|
17588
|
+
}), Ou = /* @__PURE__ */ U(Cu, [["__scopeId", "data-v-d2d38388"]]), zu = { class: "date-message__container" }, Lu = { class: "date-message__text" }, Uu = /* @__PURE__ */ W({
|
17575
17589
|
__name: "DateMessage",
|
17576
17590
|
props: {
|
17577
17591
|
message: {
|
@@ -17582,23 +17596,23 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17582
17596
|
}
|
17583
17597
|
},
|
17584
17598
|
setup(e) {
|
17585
|
-
return (t, f) => (A(), u("div",
|
17586
|
-
o("p",
|
17599
|
+
return (t, f) => (A(), u("div", zu, [
|
17600
|
+
o("p", Lu, D(e.message.text), 1)
|
17587
17601
|
]));
|
17588
17602
|
}
|
17589
|
-
}),
|
17603
|
+
}), Bu = /* @__PURE__ */ U(Uu, [["__scopeId", "data-v-72a5e50d"]]), Qu = ["messageId"], Ru = ["src"], Yu = {
|
17590
17604
|
key: 1,
|
17591
17605
|
class: "video-message__subtext"
|
17592
|
-
},
|
17606
|
+
}, $u = { class: "video-message__content" }, Pu = ["src"], Fu = {
|
17593
17607
|
key: 0,
|
17594
17608
|
class: "video-message__info-container"
|
17595
|
-
},
|
17609
|
+
}, qu = { class: "video-message__time" }, Hu = {
|
17596
17610
|
key: 0,
|
17597
17611
|
class: "pi pi-check"
|
17598
|
-
},
|
17612
|
+
}, Wu = ["href"], Ku = {
|
17599
17613
|
key: 1,
|
17600
17614
|
class: "video-message__text-container"
|
17601
|
-
},
|
17615
|
+
}, Ju = ["innerHTML"], Gu = { class: "video-message__modal" }, Zu = ["src", "alt"], Xu = /* @__PURE__ */ W({
|
17602
17616
|
inheritAttrs: !1,
|
17603
17617
|
__name: "VideoMessage",
|
17604
17618
|
props: {
|
@@ -17615,11 +17629,11 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17615
17629
|
function s(w) {
|
17616
17630
|
return w.position === "left" ? "video-message__left" : "video-message__right";
|
17617
17631
|
}
|
17618
|
-
const i = M(), l = M(), c = M(!1), r = M(!1), d = M(!1), g = M(!1),
|
17619
|
-
|
17632
|
+
const i = M(), l = M(), c = M(!1), r = M(!1), d = M(!1), g = M(!1), h = M("");
|
17633
|
+
Z(
|
17620
17634
|
() => f.message.text,
|
17621
17635
|
() => {
|
17622
|
-
f.message.text && (
|
17636
|
+
f.message.text && (h.value = _e(f.message.text));
|
17623
17637
|
},
|
17624
17638
|
{ immediate: !0 }
|
17625
17639
|
);
|
@@ -17628,7 +17642,7 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17628
17642
|
}
|
17629
17643
|
const m = () => {
|
17630
17644
|
n("action", { messageId: f.message.messageId, type: "views" });
|
17631
|
-
},
|
17645
|
+
}, y = () => {
|
17632
17646
|
}, v = () => {
|
17633
17647
|
d.value = !0, g.value = !0;
|
17634
17648
|
}, x = () => {
|
@@ -17636,7 +17650,7 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17636
17650
|
}, O = B(() => ot(f.message.status)), z = () => {
|
17637
17651
|
l.value && (l.value.currentTime = 0, l.value.play());
|
17638
17652
|
};
|
17639
|
-
|
17653
|
+
Z([i, l], ([w, N]) => {
|
17640
17654
|
w ? N && (N.pause(), N.currentTime = 0) : N && (N.play(), N.currentTime = 0);
|
17641
17655
|
});
|
17642
17656
|
const V = B(() => f.message.reply && f.message.text ? "0" : f.message.text ? "8px 8px 0 0" : f.message.reply ? "0 0 8px 8px" : "8px"), k = () => c.value = !1, E = (w) => {
|
@@ -17660,9 +17674,9 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17660
17674
|
src: e.message.avatar,
|
17661
17675
|
height: "32",
|
17662
17676
|
width: "32"
|
17663
|
-
}, null, 8,
|
17664
|
-
e.message.subText ? (A(), u("p",
|
17665
|
-
o("div",
|
17677
|
+
}, null, 8, Ru)) : b("", !0),
|
17678
|
+
e.message.subText ? (A(), u("p", Yu, D(e.message.subText), 1)) : b("", !0),
|
17679
|
+
o("div", $u, [
|
17666
17680
|
e.message.reply ? (A(), R(lt, {
|
17667
17681
|
key: 0,
|
17668
17682
|
style: { margin: "10px 10px 4px 16px" },
|
@@ -17685,47 +17699,47 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17685
17699
|
src: e.message.url,
|
17686
17700
|
muted: !0,
|
17687
17701
|
autoplay: ""
|
17688
|
-
}, null, 44,
|
17689
|
-
P(
|
17702
|
+
}, null, 44, Pu),
|
17703
|
+
P(X, { name: "modal-fade" }, {
|
17690
17704
|
default: J(() => [
|
17691
|
-
g.value ? (A(), u("div",
|
17705
|
+
g.value ? (A(), u("div", Fu, [
|
17692
17706
|
e.message.views ? (A(), u("div", {
|
17693
17707
|
key: 0,
|
17694
|
-
onClick:
|
17708
|
+
onClick: It(m, ["stop"]),
|
17695
17709
|
class: "video-message__views"
|
17696
17710
|
}, [
|
17697
17711
|
N[3] || (N[3] = o("span", { class: "pi pi-eye" }, null, -1)),
|
17698
17712
|
o("p", null, D(e.message.views), 1)
|
17699
17713
|
])) : b("", !0),
|
17700
|
-
o("span",
|
17714
|
+
o("span", qu, D(e.message.time), 1),
|
17701
17715
|
s(e.message) === "video-message__right" && T(it).includes(e.message.status) ? (A(), u("div", {
|
17702
17716
|
key: 1,
|
17703
17717
|
class: C(["video-message__status", O.value])
|
17704
17718
|
}, [
|
17705
|
-
e.message.status !== "sent" ? (A(), u("span",
|
17719
|
+
e.message.status !== "sent" ? (A(), u("span", Hu)) : b("", !0),
|
17706
17720
|
N[4] || (N[4] = o("span", { class: "pi pi-check" }, null, -1))
|
17707
17721
|
], 2)) : b("", !0)
|
17708
17722
|
])) : b("", !0)
|
17709
17723
|
]),
|
17710
17724
|
_: 1
|
17711
17725
|
}),
|
17712
|
-
P(
|
17726
|
+
P(X, { name: "modal-fade" }, {
|
17713
17727
|
default: J(() => [
|
17714
17728
|
g.value ? (A(), u("a", {
|
17715
17729
|
key: 0,
|
17716
|
-
onClick:
|
17730
|
+
onClick: It(() => "//Предотвращаем всплытие события клика", ["stop"]),
|
17717
17731
|
class: "video-message__download-button",
|
17718
17732
|
href: e.message.url,
|
17719
17733
|
download: "",
|
17720
17734
|
target: "_blank"
|
17721
17735
|
}, N[5] || (N[5] = [
|
17722
17736
|
o("span", { class: "pi pi-download" }, null, -1)
|
17723
|
-
]), 8,
|
17737
|
+
]), 8, Wu)) : b("", !0)
|
17724
17738
|
]),
|
17725
17739
|
_: 1
|
17726
17740
|
})
|
17727
17741
|
], 32),
|
17728
|
-
P(
|
17742
|
+
P(X, { name: "modal-fade" }, {
|
17729
17743
|
default: J(() => [
|
17730
17744
|
d.value && e.message.actions ? (A(), u("button", {
|
17731
17745
|
key: 0,
|
@@ -17737,39 +17751,39 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17737
17751
|
]),
|
17738
17752
|
_: 1
|
17739
17753
|
}),
|
17740
|
-
P(
|
17754
|
+
P(X, { name: "context-menu" }, {
|
17741
17755
|
default: J(() => [
|
17742
17756
|
r.value && e.message.actions ? (A(), R(T(Re), {
|
17743
17757
|
key: 0,
|
17744
17758
|
class: "video-message__context-menu",
|
17745
17759
|
actions: e.message.actions,
|
17746
|
-
onClick:
|
17760
|
+
onClick: y
|
17747
17761
|
}, null, 8, ["actions"])) : b("", !0)
|
17748
17762
|
]),
|
17749
17763
|
_: 1
|
17750
17764
|
}),
|
17751
|
-
e.message.text ? (A(), u("div",
|
17765
|
+
e.message.text ? (A(), u("div", Ku, [
|
17752
17766
|
o("p", {
|
17753
|
-
innerHTML:
|
17767
|
+
innerHTML: h.value,
|
17754
17768
|
onClick: p
|
17755
|
-
}, null, 8,
|
17769
|
+
}, null, 8, Ju)
|
17756
17770
|
])) : b("", !0),
|
17757
|
-
e.message.linkPreview ? (A(), R(
|
17771
|
+
e.message.linkPreview ? (A(), R(St, {
|
17758
17772
|
key: 2,
|
17759
17773
|
class: C(["video-message__link-preview", e.message.position]),
|
17760
17774
|
linkPreview: e.message.linkPreview
|
17761
17775
|
}, null, 8, ["class", "linkPreview"])) : b("", !0)
|
17762
17776
|
])
|
17763
|
-
], 42,
|
17777
|
+
], 42, Qu),
|
17764
17778
|
(A(), R(Be, { to: "body" }, [
|
17765
|
-
P(
|
17779
|
+
P(X, { name: "modal-fade" }, {
|
17766
17780
|
default: J(() => [
|
17767
17781
|
c.value ? (A(), u("div", {
|
17768
17782
|
key: 0,
|
17769
17783
|
class: "video-message__modal-overlay",
|
17770
17784
|
onClick: E
|
17771
17785
|
}, [
|
17772
|
-
o("div",
|
17786
|
+
o("div", Gu, [
|
17773
17787
|
o("button", {
|
17774
17788
|
class: "video-message__modal-close-button",
|
17775
17789
|
onClick: k
|
@@ -17786,7 +17800,7 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17786
17800
|
alt: e.message.alt,
|
17787
17801
|
controls: "",
|
17788
17802
|
autoplay: ""
|
17789
|
-
}, null, 8,
|
17803
|
+
}, null, 8, Zu)
|
17790
17804
|
])
|
17791
17805
|
])) : b("", !0)
|
17792
17806
|
]),
|
@@ -17795,28 +17809,28 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17795
17809
|
]))
|
17796
17810
|
], 64));
|
17797
17811
|
}
|
17798
|
-
}),
|
17812
|
+
}), e1 = /* @__PURE__ */ U(Xu, [["__scopeId", "data-v-30fa8191"]]), t1 = ["messageId"], f1 = ["src"], n1 = {
|
17799
17813
|
key: 1,
|
17800
17814
|
class: "call-message__subtext"
|
17801
|
-
},
|
17815
|
+
}, a1 = { class: "call-message__content" }, s1 = {
|
17802
17816
|
key: 0,
|
17803
17817
|
class: "call-message__title"
|
17804
|
-
},
|
17818
|
+
}, i1 = {
|
17805
17819
|
key: 1,
|
17806
17820
|
class: "call-message__title"
|
17807
|
-
},
|
17821
|
+
}, o1 = {
|
17808
17822
|
key: 2,
|
17809
17823
|
class: "call-message__duration"
|
17810
|
-
},
|
17824
|
+
}, l1 = {
|
17811
17825
|
key: 3,
|
17812
17826
|
class: "call-message__duration"
|
17813
|
-
},
|
17827
|
+
}, A1 = {
|
17814
17828
|
key: 4,
|
17815
17829
|
class: "call-message__duration"
|
17816
|
-
},
|
17830
|
+
}, r1 = { class: "call-message__info-container" }, c1 = { class: "call-message__time" }, u1 = {
|
17817
17831
|
key: 0,
|
17818
17832
|
class: "call-message__modal-overlay"
|
17819
|
-
},
|
17833
|
+
}, d1 = { class: "call-message__modal" }, g1 = /* @__PURE__ */ W({
|
17820
17834
|
__name: "CallMessage",
|
17821
17835
|
props: {
|
17822
17836
|
message: {
|
@@ -17853,17 +17867,17 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17853
17867
|
height: "32",
|
17854
17868
|
width: "32",
|
17855
17869
|
style: se({ gridRow: e.message.subText ? "2" : "1" })
|
17856
|
-
}, null, 12,
|
17857
|
-
e.message.subText ? (A(), u("p",
|
17858
|
-
o("div",
|
17870
|
+
}, null, 12, f1)) : b("", !0),
|
17871
|
+
e.message.subText ? (A(), u("p", n1, D(e.message.subText), 1)) : b("", !0),
|
17872
|
+
o("div", a1, [
|
17859
17873
|
o("span", {
|
17860
17874
|
class: "call-message__icon pi pi-phone",
|
17861
17875
|
style: se({ color: e.message.isMissedCall ? "var(--p-red-500)" : "var(--neutral-100)" })
|
17862
17876
|
}, null, 4),
|
17863
|
-
e.message.isMissedCall ? (A(), u("span",
|
17864
|
-
e.message.callDuration ? (A(), u("span",
|
17865
|
-
o("div",
|
17866
|
-
o("span",
|
17877
|
+
e.message.isMissedCall ? (A(), u("span", i1, "Пропущенный аудиозвонок")) : (A(), u("span", s1, "Аудиозвонок")),
|
17878
|
+
e.message.callDuration ? (A(), u("span", o1, D(e.message.callDuration), 1)) : !e.message.callDuration && e.message.isMissedCall ? (A(), u("span", l1, "Нажмите, чтобы перезвонить")) : (A(), u("span", A1, "Нет ответа")),
|
17879
|
+
o("div", r1, [
|
17880
|
+
o("span", c1, D(e.message.time), 1)
|
17867
17881
|
]),
|
17868
17882
|
(i = e.message.transcript) != null && i.dialog ? (A(), u("button", {
|
17869
17883
|
key: 5,
|
@@ -17873,12 +17887,12 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17873
17887
|
o("span", { class: "pi pi-arrow-up-right" }, null, -1)
|
17874
17888
|
]))) : b("", !0),
|
17875
17889
|
(A(), R(Be, { to: "body" }, [
|
17876
|
-
P(
|
17890
|
+
P(X, { name: "modal-fade" }, {
|
17877
17891
|
default: J(() => {
|
17878
17892
|
var l;
|
17879
17893
|
return [
|
17880
|
-
t.value ? (A(), u("div",
|
17881
|
-
o("div",
|
17894
|
+
t.value ? (A(), u("div", u1, [
|
17895
|
+
o("div", d1, [
|
17882
17896
|
o("button", {
|
17883
17897
|
class: "call-message__modal-close-button",
|
17884
17898
|
onClick: s[1] || (s[1] = (c) => t.value = !1)
|
@@ -17901,10 +17915,10 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17901
17915
|
})
|
17902
17916
|
]))
|
17903
17917
|
])
|
17904
|
-
], 10,
|
17918
|
+
], 10, t1);
|
17905
17919
|
};
|
17906
17920
|
}
|
17907
|
-
}),
|
17921
|
+
}), m1 = /* @__PURE__ */ U(g1, [["__scopeId", "data-v-be88198d"]]), p1 = { class: "system-message__container" }, h1 = { class: "system-message__text" }, y1 = /* @__PURE__ */ W({
|
17908
17922
|
__name: "SystemMessage",
|
17909
17923
|
props: {
|
17910
17924
|
message: {
|
@@ -17913,14 +17927,14 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17913
17927
|
}
|
17914
17928
|
},
|
17915
17929
|
setup(e) {
|
17916
|
-
return (t, f) => (A(), u("div",
|
17917
|
-
o("p",
|
17930
|
+
return (t, f) => (A(), u("div", p1, [
|
17931
|
+
o("p", h1, D(e.message.text), 1)
|
17918
17932
|
]));
|
17919
17933
|
}
|
17920
|
-
}),
|
17934
|
+
}), v1 = /* @__PURE__ */ U(y1, [["__scopeId", "data-v-41bf24c1"]]), b1 = { class: "typing-message__container" }, M1 = ["src"], _1 = {
|
17921
17935
|
key: 1,
|
17922
17936
|
class: "typing-message__subtext"
|
17923
|
-
},
|
17937
|
+
}, I1 = /* @__PURE__ */ W({
|
17924
17938
|
__name: "TypingMessage",
|
17925
17939
|
props: {
|
17926
17940
|
message: {
|
@@ -17929,7 +17943,7 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17929
17943
|
}
|
17930
17944
|
},
|
17931
17945
|
setup(e) {
|
17932
|
-
return (t, f) => (A(), u("div",
|
17946
|
+
return (t, f) => (A(), u("div", b1, [
|
17933
17947
|
e.message.avatar ? (A(), u("img", {
|
17934
17948
|
key: 0,
|
17935
17949
|
class: "typing-message__avatar",
|
@@ -17937,14 +17951,14 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17937
17951
|
height: "32",
|
17938
17952
|
width: "32",
|
17939
17953
|
style: se({ gridRow: e.message.subText ? "2" : "1" })
|
17940
|
-
}, null, 12,
|
17941
|
-
e.message.subText ? (A(), u("p",
|
17954
|
+
}, null, 12, M1)) : b("", !0),
|
17955
|
+
e.message.subText ? (A(), u("p", _1, D(e.message.subText), 1)) : b("", !0),
|
17942
17956
|
f[0] || (f[0] = o("div", { class: "typing-message__loader-container" }, [
|
17943
17957
|
o("div", { class: "typing-message__loader" })
|
17944
17958
|
], -1))
|
17945
17959
|
]));
|
17946
17960
|
}
|
17947
|
-
}), qn = /* @__PURE__ */ U(
|
17961
|
+
}), qn = /* @__PURE__ */ U(I1, [["__scopeId", "data-v-ad73a13f"]]), w1 = ["innerHTML"], k1 = /* @__PURE__ */ W({
|
17948
17962
|
__name: "ReplyTextMessage",
|
17949
17963
|
props: {
|
17950
17964
|
message: {
|
@@ -17954,7 +17968,7 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17954
17968
|
},
|
17955
17969
|
setup(e) {
|
17956
17970
|
const t = e, f = M("");
|
17957
|
-
|
17971
|
+
Z(
|
17958
17972
|
() => t.message.text,
|
17959
17973
|
() => {
|
17960
17974
|
f.value = _e(t.message.text);
|
@@ -17967,9 +17981,9 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17967
17981
|
return (a, s) => (A(), u("p", {
|
17968
17982
|
innerHTML: f.value,
|
17969
17983
|
onClick: n
|
17970
|
-
}, null, 8,
|
17984
|
+
}, null, 8, w1));
|
17971
17985
|
}
|
17972
|
-
}),
|
17986
|
+
}), N1 = /* @__PURE__ */ U(k1, [["__scopeId", "data-v-bc3ef3e7"]]), D1 = ["src", "alt"], E1 = { class: "image-message__text-container" }, j1 = ["innerHTML"], T1 = { class: "image-message__modal" }, x1 = ["src", "alt"], V1 = /* @__PURE__ */ W({
|
17973
17987
|
__name: "ReplyImageMessage",
|
17974
17988
|
props: {
|
17975
17989
|
message: {
|
@@ -17979,7 +17993,7 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
17979
17993
|
},
|
17980
17994
|
setup(e) {
|
17981
17995
|
const t = e, f = M(!1), n = M("");
|
17982
|
-
|
17996
|
+
Z(
|
17983
17997
|
() => t.message.text,
|
17984
17998
|
() => {
|
17985
17999
|
t.message.text && (n.value = _e(t.message.text));
|
@@ -18007,9 +18021,9 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
18007
18021
|
class: "image-message__preview-image",
|
18008
18022
|
src: e.message.url,
|
18009
18023
|
alt: e.message.alt
|
18010
|
-
}, null, 8,
|
18024
|
+
}, null, 8, D1)
|
18011
18025
|
]),
|
18012
|
-
o("div",
|
18026
|
+
o("div", E1, [
|
18013
18027
|
r[1] || (r[1] = o("div", { class: "image-message__reply-description" }, [
|
18014
18028
|
o("span", { class: "pi pi-camera" }),
|
18015
18029
|
o("p", null, "Фотография")
|
@@ -18018,17 +18032,17 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
18018
18032
|
key: 0,
|
18019
18033
|
innerHTML: n.value,
|
18020
18034
|
onClick: a
|
18021
|
-
}, null, 8,
|
18035
|
+
}, null, 8, j1)) : b("", !0)
|
18022
18036
|
]),
|
18023
18037
|
(A(), R(Be, { to: "body" }, [
|
18024
|
-
P(
|
18038
|
+
P(X, { name: "modal-fade" }, {
|
18025
18039
|
default: J(() => [
|
18026
18040
|
f.value ? (A(), u("div", {
|
18027
18041
|
key: 0,
|
18028
18042
|
class: "image-message__modal-overlay",
|
18029
18043
|
onClick: i
|
18030
18044
|
}, [
|
18031
|
-
o("div",
|
18045
|
+
o("div", T1, [
|
18032
18046
|
o("button", {
|
18033
18047
|
class: "image-message__modal-close-button",
|
18034
18048
|
onClick: s
|
@@ -18041,7 +18055,7 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
18041
18055
|
class: "image-message__modal-image",
|
18042
18056
|
src: e.message.url,
|
18043
18057
|
alt: e.message.alt
|
18044
|
-
}, null, 8,
|
18058
|
+
}, null, 8, x1)
|
18045
18059
|
])
|
18046
18060
|
])) : b("", !0)
|
18047
18061
|
]),
|
@@ -18050,7 +18064,7 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
18050
18064
|
]))
|
18051
18065
|
], 64));
|
18052
18066
|
}
|
18053
|
-
}),
|
18067
|
+
}), S1 = /* @__PURE__ */ U(V1, [["__scopeId", "data-v-15fb5caf"]]), C1 = { class: "audio-message__play" }, O1 = { class: "audio-message__text-container" }, z1 = ["innerHTML"], L1 = /* @__PURE__ */ W({
|
18054
18068
|
__name: "ReplyAudioMessage",
|
18055
18069
|
props: {
|
18056
18070
|
message: {
|
@@ -18060,7 +18074,7 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
18060
18074
|
},
|
18061
18075
|
setup(e) {
|
18062
18076
|
const t = e, f = M(!1), n = M("");
|
18063
|
-
|
18077
|
+
Z(
|
18064
18078
|
() => t.message.text,
|
18065
18079
|
() => {
|
18066
18080
|
t.message.text && (n.value = _e(t.message.text));
|
@@ -18071,12 +18085,12 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
18071
18085
|
s.preventDefault(), s.target.href && window.open(s.target.href, "_blank");
|
18072
18086
|
}
|
18073
18087
|
return (s, i) => (A(), u(q, null, [
|
18074
|
-
ve(o("div",
|
18088
|
+
ve(o("div", C1, i[0] || (i[0] = [
|
18075
18089
|
o("span", { class: "pi pi-play" }, null, -1)
|
18076
18090
|
]), 512), [
|
18077
|
-
[
|
18091
|
+
[_t, !f.value]
|
18078
18092
|
]),
|
18079
|
-
o("div",
|
18093
|
+
o("div", O1, [
|
18080
18094
|
i[1] || (i[1] = o("div", { class: "audio-message__reply-description" }, [
|
18081
18095
|
o("span", { class: "pi pi-microphone" }),
|
18082
18096
|
o("p", null, "Аудиосообщение")
|
@@ -18085,11 +18099,11 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
18085
18099
|
key: 0,
|
18086
18100
|
innerHTML: n.value,
|
18087
18101
|
onClick: a
|
18088
|
-
}, null, 8,
|
18102
|
+
}, null, 8, z1)) : b("", !0)
|
18089
18103
|
])
|
18090
18104
|
], 64));
|
18091
18105
|
}
|
18092
|
-
}),
|
18106
|
+
}), U1 = /* @__PURE__ */ U(L1, [["__scopeId", "data-v-bae2afcf"]]), B1 = ["src"], Q1 = { class: "video-message__text-container" }, R1 = ["innerHTML"], Y1 = { class: "video-message__modal" }, $1 = ["src", "alt"], P1 = /* @__PURE__ */ W({
|
18093
18107
|
__name: "ReplyVideoMessage",
|
18094
18108
|
props: {
|
18095
18109
|
message: {
|
@@ -18099,7 +18113,7 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
18099
18113
|
},
|
18100
18114
|
setup(e) {
|
18101
18115
|
const t = e, f = M(), n = M(!1), a = M("");
|
18102
|
-
|
18116
|
+
Z(
|
18103
18117
|
() => t.message.text,
|
18104
18118
|
() => {
|
18105
18119
|
t.message.text && (a.value = _e(t.message.text));
|
@@ -18127,9 +18141,9 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
18127
18141
|
class: "video-message__video",
|
18128
18142
|
src: e.message.url,
|
18129
18143
|
muted: !0
|
18130
|
-
}, null, 8,
|
18144
|
+
}, null, 8, B1)
|
18131
18145
|
]),
|
18132
|
-
o("div",
|
18146
|
+
o("div", Q1, [
|
18133
18147
|
d[1] || (d[1] = o("div", { class: "video-message__reply-description" }, [
|
18134
18148
|
o("span", { class: "pi pi-video" }),
|
18135
18149
|
o("p", null, "Видео")
|
@@ -18138,17 +18152,17 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
18138
18152
|
key: 0,
|
18139
18153
|
innerHTML: a.value,
|
18140
18154
|
onClick: s
|
18141
|
-
}, null, 8,
|
18155
|
+
}, null, 8, R1)) : b("", !0)
|
18142
18156
|
]),
|
18143
18157
|
(A(), R(Be, { to: "body" }, [
|
18144
|
-
P(
|
18158
|
+
P(X, { name: "modal-fade" }, {
|
18145
18159
|
default: J(() => [
|
18146
18160
|
n.value ? (A(), u("div", {
|
18147
18161
|
key: 0,
|
18148
18162
|
class: "video-message__modal-overlay",
|
18149
18163
|
onClick: l
|
18150
18164
|
}, [
|
18151
|
-
o("div",
|
18165
|
+
o("div", Y1, [
|
18152
18166
|
o("button", {
|
18153
18167
|
class: "video-message__modal-close-button",
|
18154
18168
|
onClick: i
|
@@ -18165,7 +18179,7 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
18165
18179
|
alt: e.message.alt,
|
18166
18180
|
controls: "",
|
18167
18181
|
autoplay: ""
|
18168
|
-
}, null, 8,
|
18182
|
+
}, null, 8, $1)
|
18169
18183
|
])
|
18170
18184
|
])) : b("", !0)
|
18171
18185
|
]),
|
@@ -18174,10 +18188,10 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
18174
18188
|
]))
|
18175
18189
|
], 64));
|
18176
18190
|
}
|
18177
|
-
}),
|
18191
|
+
}), F1 = /* @__PURE__ */ U(P1, [["__scopeId", "data-v-9ccb066c"]]), q1 = ["href"], H1 = { class: "file-message__filename-text" }, W1 = {
|
18178
18192
|
key: 0,
|
18179
18193
|
class: "file-message__text"
|
18180
|
-
},
|
18194
|
+
}, K1 = /* @__PURE__ */ W({
|
18181
18195
|
__name: "ReplyFileMessage",
|
18182
18196
|
props: {
|
18183
18197
|
message: {
|
@@ -18187,7 +18201,7 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
18187
18201
|
},
|
18188
18202
|
setup(e) {
|
18189
18203
|
const t = e, f = M("");
|
18190
|
-
return
|
18204
|
+
return Z(
|
18191
18205
|
() => t.message.text,
|
18192
18206
|
() => {
|
18193
18207
|
t.message.text && (f.value = _e(t.message.text));
|
@@ -18203,35 +18217,35 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
18203
18217
|
target: "_blank"
|
18204
18218
|
}, [
|
18205
18219
|
a[0] || (a[0] = o("span", { class: "pi pi-file" }, null, -1)),
|
18206
|
-
o("p",
|
18207
|
-
], 8,
|
18208
|
-
(s = e.message) != null && s.text ? (A(), u("p",
|
18220
|
+
o("p", H1, D(e.message.filename), 1)
|
18221
|
+
], 8, q1),
|
18222
|
+
(s = e.message) != null && s.text ? (A(), u("p", W1, D(e.message.text), 1)) : b("", !0)
|
18209
18223
|
], 64);
|
18210
18224
|
};
|
18211
18225
|
}
|
18212
|
-
}),
|
18226
|
+
}), J1 = /* @__PURE__ */ U(K1, [["__scopeId", "data-v-4fc32879"]]), G1 = { class: "modal-backdrop" }, Z1 = {
|
18213
18227
|
class: "modal",
|
18214
18228
|
role: "dialog",
|
18215
18229
|
"aria-labelledby": "modalTitle",
|
18216
18230
|
"aria-describedby": "modalDescription"
|
18217
|
-
},
|
18231
|
+
}, X1 = {
|
18218
18232
|
id: "modalDescription",
|
18219
18233
|
class: "modal-body"
|
18220
|
-
},
|
18234
|
+
}, ed = { class: "buttons" }, td = {
|
18221
18235
|
__name: "Modal",
|
18222
18236
|
emits: ["close", "submit"],
|
18223
18237
|
setup(e, { emit: t }) {
|
18224
18238
|
const f = t, n = (s) => {
|
18225
18239
|
f("submit", s);
|
18226
18240
|
}, a = M(null);
|
18227
|
-
return (s, i) => (A(), R(
|
18241
|
+
return (s, i) => (A(), R(X, { name: "modal-fade" }, {
|
18228
18242
|
default: J(() => [
|
18229
|
-
o("div",
|
18230
|
-
o("div",
|
18231
|
-
o("div",
|
18243
|
+
o("div", G1, [
|
18244
|
+
o("div", Z1, [
|
18245
|
+
o("div", X1, [
|
18232
18246
|
ne(s.$slots, "default", {}, void 0, !0)
|
18233
18247
|
]),
|
18234
|
-
o("div",
|
18248
|
+
o("div", ed, [
|
18235
18249
|
o("button", {
|
18236
18250
|
type: "button",
|
18237
18251
|
class: "btn-green",
|
@@ -18251,7 +18265,7 @@ const lc = { class: "feed-search__container" }, Ac = { style: { "line-height": "
|
|
18251
18265
|
_: 3
|
18252
18266
|
}));
|
18253
18267
|
}
|
18254
|
-
},
|
18268
|
+
}, fd = /* @__PURE__ */ U(td, [["__scopeId", "data-v-d48a1772"]]);
|
18255
18269
|
function gn({ component: e, attrs: t }) {
|
18256
18270
|
return new Promise((f) => {
|
18257
18271
|
const n = document.createElement("div");
|
@@ -18266,7 +18280,7 @@ function gn({ component: e, attrs: t }) {
|
|
18266
18280
|
}, c = W({
|
18267
18281
|
render() {
|
18268
18282
|
return wn(
|
18269
|
-
|
18283
|
+
fd,
|
18270
18284
|
{
|
18271
18285
|
onSubmit: i,
|
18272
18286
|
onClose: s
|
@@ -18286,17 +18300,17 @@ function gn({ component: e, attrs: t }) {
|
|
18286
18300
|
r.mount(n);
|
18287
18301
|
});
|
18288
18302
|
}
|
18289
|
-
const
|
18303
|
+
const eg = async (e, t) => {
|
18290
18304
|
const f = await gn({
|
18291
18305
|
//в component должен быть встроен emit change(key: value)
|
18292
|
-
component: import("./SelectUser2-
|
18306
|
+
component: import("./SelectUser2-nhpFIirX.js"),
|
18293
18307
|
attrs: {
|
18294
18308
|
title: e,
|
18295
18309
|
users: t
|
18296
18310
|
}
|
18297
18311
|
});
|
18298
18312
|
return console.log("data", f), f;
|
18299
|
-
},
|
18313
|
+
}, tg = async (e) => {
|
18300
18314
|
const t = await gn({
|
18301
18315
|
//в component должен быть встроен emit change(key: value)
|
18302
18316
|
component: import("./CreateChat-fkFKBxtQ.js"),
|
@@ -18305,13 +18319,13 @@ const Xd = async (e, t) => {
|
|
18305
18319
|
}
|
18306
18320
|
});
|
18307
18321
|
return console.log("data", t), t;
|
18308
|
-
},
|
18322
|
+
}, fg = async (e) => await gn({
|
18309
18323
|
//в component должен быть встроен emit change(key: value)
|
18310
18324
|
component: import("./CreateChat2-DgUQ2F5L.js"),
|
18311
18325
|
attrs: {
|
18312
18326
|
title: e
|
18313
18327
|
}
|
18314
|
-
}),
|
18328
|
+
}), nd = ["id"], ng = {
|
18315
18329
|
__name: "BaseContainer",
|
18316
18330
|
props: {
|
18317
18331
|
height: String,
|
@@ -18329,9 +18343,9 @@ const Xd = async (e, t) => {
|
|
18329
18343
|
}, [
|
18330
18344
|
ne(f.$slots, "default")
|
18331
18345
|
], 4)
|
18332
|
-
], 8,
|
18346
|
+
], 8, nd));
|
18333
18347
|
}
|
18334
|
-
},
|
18348
|
+
}, ad = ["id"], sd = { class: "float-window__container" }, id = ["src", "alt"], od = { class: "float-window__title" }, ld = { style: { "margin-left": "auto", display: "flex" } }, Ad = {
|
18335
18349
|
__name: "FloatContainer",
|
18336
18350
|
props: {
|
18337
18351
|
title: {
|
@@ -18351,10 +18365,10 @@ const Xd = async (e, t) => {
|
|
18351
18365
|
bf("chatAppId", d);
|
18352
18366
|
const g = (m) => {
|
18353
18367
|
i.value = !0, l.value = m.clientX - a.value.offsetLeft, c.value = m.clientY - a.value.offsetTop;
|
18354
|
-
},
|
18368
|
+
}, h = () => i.value = !1, p = (m) => {
|
18355
18369
|
if (i.value) {
|
18356
|
-
const
|
18357
|
-
n.value.x =
|
18370
|
+
const y = m.clientX - l.value, v = m.clientY - c.value;
|
18371
|
+
n.value.x = y, n.value.y = v;
|
18358
18372
|
}
|
18359
18373
|
};
|
18360
18374
|
return le(() => {
|
@@ -18373,7 +18387,7 @@ const Xd = async (e, t) => {
|
|
18373
18387
|
)
|
18374
18388
|
));
|
18375
18389
|
}), r.value = a.value.offsetHeight - s.value.offsetHeight;
|
18376
|
-
}), (m,
|
18390
|
+
}), (m, y) => (A(), u("div", {
|
18377
18391
|
id: T(d),
|
18378
18392
|
ref_key: "element",
|
18379
18393
|
ref: a,
|
@@ -18387,28 +18401,28 @@ const Xd = async (e, t) => {
|
|
18387
18401
|
display: "flex"
|
18388
18402
|
})
|
18389
18403
|
}, [
|
18390
|
-
o("div",
|
18404
|
+
o("div", sd, [
|
18391
18405
|
o("div", {
|
18392
18406
|
ref_key: "container",
|
18393
18407
|
ref: s,
|
18394
18408
|
class: "float-window__controls",
|
18395
18409
|
onMousedown: g,
|
18396
|
-
onMouseup:
|
18397
|
-
onMouseleave:
|
18410
|
+
onMouseup: h,
|
18411
|
+
onMouseleave: h
|
18398
18412
|
}, [
|
18399
18413
|
f.avatar ? (A(), u("img", {
|
18400
18414
|
key: 0,
|
18401
18415
|
class: "float-window__avatar",
|
18402
18416
|
src: f.avatar,
|
18403
18417
|
alt: f.title
|
18404
|
-
}, null, 8,
|
18405
|
-
o("p",
|
18406
|
-
o("div",
|
18418
|
+
}, null, 8, id)) : b("", !0),
|
18419
|
+
o("p", od, D(f.title), 1),
|
18420
|
+
o("div", ld, [
|
18407
18421
|
ne(m.$slots, "controls", {}, void 0, !0),
|
18408
18422
|
o("button", {
|
18409
18423
|
class: "float-window__close-button",
|
18410
|
-
onClick:
|
18411
|
-
},
|
18424
|
+
onClick: y[0] || (y[0] = (v) => m.$emit("close-window"))
|
18425
|
+
}, y[1] || (y[1] = [
|
18412
18426
|
o("span", { class: "pi pi-times" }, null, -1)
|
18413
18427
|
]))
|
18414
18428
|
])
|
@@ -18420,48 +18434,48 @@ const Xd = async (e, t) => {
|
|
18420
18434
|
ne(m.$slots, "default", {}, void 0, !0)
|
18421
18435
|
], 4)
|
18422
18436
|
])
|
18423
|
-
], 12,
|
18437
|
+
], 12, ad));
|
18424
18438
|
}
|
18425
|
-
},
|
18426
|
-
function
|
18427
|
-
return A(), u("div",
|
18428
|
-
o("div",
|
18439
|
+
}, ag = /* @__PURE__ */ U(Ad, [["__scopeId", "data-v-95b4dc0e"]]), rd = {}, cd = { class: "base-layout__container" }, ud = { class: "base-layout__first-col" }, dd = { class: "base-layout__second-col" };
|
18440
|
+
function gd(e, t) {
|
18441
|
+
return A(), u("div", cd, [
|
18442
|
+
o("div", ud, [
|
18429
18443
|
ne(e.$slots, "first-col", {}, void 0, !0)
|
18430
18444
|
]),
|
18431
|
-
o("div",
|
18445
|
+
o("div", dd, [
|
18432
18446
|
ne(e.$slots, "second-col", {}, void 0, !0)
|
18433
18447
|
])
|
18434
18448
|
]);
|
18435
18449
|
}
|
18436
|
-
const
|
18437
|
-
function
|
18438
|
-
return A(), u("div",
|
18439
|
-
o("div",
|
18450
|
+
const sg = /* @__PURE__ */ U(rd, [["render", gd], ["__scopeId", "data-v-a5df3fcf"]]), md = {}, pd = { class: "extend-layout__container" }, hd = { class: "extend-layout__first-col" }, yd = { class: "extend-layout__second-col" }, vd = { class: "extend-layout__third-col" };
|
18451
|
+
function bd(e, t) {
|
18452
|
+
return A(), u("div", pd, [
|
18453
|
+
o("div", hd, [
|
18440
18454
|
ne(e.$slots, "first-col", {}, void 0, !0)
|
18441
18455
|
]),
|
18442
|
-
o("div",
|
18456
|
+
o("div", yd, [
|
18443
18457
|
ne(e.$slots, "second-col", {}, void 0, !0)
|
18444
18458
|
]),
|
18445
|
-
o("div",
|
18459
|
+
o("div", vd, [
|
18446
18460
|
ne(e.$slots, "third-col", {}, void 0, !0)
|
18447
18461
|
])
|
18448
18462
|
]);
|
18449
18463
|
}
|
18450
|
-
const
|
18451
|
-
function
|
18452
|
-
return A(), u("div",
|
18453
|
-
o("div",
|
18464
|
+
const ig = /* @__PURE__ */ U(md, [["render", bd], ["__scopeId", "data-v-61f9f2d0"]]), Md = {}, _d = { class: "base-layout__container" }, Id = { class: "base-layout__first-col" };
|
18465
|
+
function wd(e, t) {
|
18466
|
+
return A(), u("div", _d, [
|
18467
|
+
o("div", Id, [
|
18454
18468
|
ne(e.$slots, "default", {}, void 0, !0)
|
18455
18469
|
])
|
18456
18470
|
]);
|
18457
18471
|
}
|
18458
|
-
const
|
18472
|
+
const og = /* @__PURE__ */ U(Md, [["render", wd], ["__scopeId", "data-v-a4657f8e"]]), kd = ["id"], Nd = {
|
18459
18473
|
key: 0,
|
18460
18474
|
class: "chat-wrapper__selected-chat"
|
18461
|
-
},
|
18475
|
+
}, Dd = {
|
18462
18476
|
key: 1,
|
18463
18477
|
style: { width: "100%" }
|
18464
|
-
},
|
18478
|
+
}, Ed = /* @__PURE__ */ W({
|
18465
18479
|
__name: "ChatWrapper",
|
18466
18480
|
props: {
|
18467
18481
|
isOpenChatPanel: {
|
@@ -18479,8 +18493,8 @@ const ig = /* @__PURE__ */ U(bd, [["render", Id], ["__scopeId", "data-v-a4657f8e
|
|
18479
18493
|
}
|
18480
18494
|
},
|
18481
18495
|
setup(e) {
|
18482
|
-
const t = e, f =
|
18483
|
-
return
|
18496
|
+
const t = e, f = ie("chatAppId");
|
18497
|
+
return Z(
|
18484
18498
|
() => t.chatPanelWidth,
|
18485
18499
|
() => {
|
18486
18500
|
const n = document.getElementById("chat-wrapper-" + f);
|
@@ -18491,9 +18505,9 @@ const ig = /* @__PURE__ */ U(bd, [["render", Id], ["__scopeId", "data-v-a4657f8e
|
|
18491
18505
|
class: "chat-wrapper",
|
18492
18506
|
id: "chat-wrapper-" + T(f)
|
18493
18507
|
}, [
|
18494
|
-
e.isSelectedChat ? (A(), u("div",
|
18508
|
+
e.isSelectedChat ? (A(), u("div", Nd, [
|
18495
18509
|
ne(n.$slots, "default", {}, void 0, !0)
|
18496
|
-
])) : (A(), u("div",
|
18510
|
+
])) : (A(), u("div", Dd, [
|
18497
18511
|
o("p", null, D(T(de)("layout.ChatWrapper.noSelectedChat")), 1)
|
18498
18512
|
])),
|
18499
18513
|
e.isOpenChatPanel ? (A(), u("div", {
|
@@ -18503,9 +18517,9 @@ const ig = /* @__PURE__ */ U(bd, [["render", Id], ["__scopeId", "data-v-a4657f8e
|
|
18503
18517
|
}, [
|
18504
18518
|
ne(n.$slots, "chatpanel", {}, void 0, !0)
|
18505
18519
|
], 4)) : b("", !0)
|
18506
|
-
], 8,
|
18520
|
+
], 8, kd));
|
18507
18521
|
}
|
18508
|
-
}),
|
18522
|
+
}), lg = /* @__PURE__ */ U(Ed, [["__scopeId", "data-v-584eaa98"]]), jd = ["id"], Td = ["id"], xd = ["id"], Vd = ["id"], Sd = {
|
18509
18523
|
__name: "AdaptiveExtendedLayout",
|
18510
18524
|
props: {
|
18511
18525
|
isSecondColVisible: {
|
@@ -18519,14 +18533,14 @@ const ig = /* @__PURE__ */ U(bd, [["render", Id], ["__scopeId", "data-v-a4657f8e
|
|
18519
18533
|
},
|
18520
18534
|
setup(e) {
|
18521
18535
|
const t = e;
|
18522
|
-
|
18536
|
+
Z(
|
18523
18537
|
() => [t.isSecondColVisible, t.isThirdColVisible],
|
18524
18538
|
() => {
|
18525
18539
|
t.isSecondColVisible && a(), t.isThirdColVisible && n();
|
18526
18540
|
},
|
18527
18541
|
{ immediate: !0 }
|
18528
18542
|
);
|
18529
|
-
const f =
|
18543
|
+
const f = ie("chatAppId"), n = () => {
|
18530
18544
|
const s = document.getElementById("extern-layout-container-" + f);
|
18531
18545
|
s.style.setProperty("--second-col-display", "none"), s.style.setProperty("--third-col-display", "flex"), s.style.setProperty("--second-col-width", "0%"), s.style.setProperty("--third-col-width", "100%");
|
18532
18546
|
}, a = () => {
|
@@ -18546,76 +18560,76 @@ const ig = /* @__PURE__ */ U(bd, [["render", Id], ["__scopeId", "data-v-a4657f8e
|
|
18546
18560
|
id: "extend-layout-first-col-" + T(f)
|
18547
18561
|
}, [
|
18548
18562
|
ne(s.$slots, "first-col", {}, void 0, !0)
|
18549
|
-
], 8,
|
18563
|
+
], 8, Td),
|
18550
18564
|
o("div", {
|
18551
18565
|
class: "extend-layout__second-col",
|
18552
18566
|
id: "extend-layout-second-col-" + T(f)
|
18553
18567
|
}, [
|
18554
18568
|
ne(s.$slots, "second-col", {}, void 0, !0)
|
18555
|
-
], 8,
|
18569
|
+
], 8, xd),
|
18556
18570
|
o("div", {
|
18557
18571
|
class: "extend-layout__third-col",
|
18558
18572
|
id: "extend-layout-third-col-" + T(f)
|
18559
18573
|
}, [
|
18560
18574
|
ne(s.$slots, "third-col", {}, void 0, !0)
|
18561
|
-
], 8,
|
18562
|
-
], 8,
|
18575
|
+
], 8, Vd)
|
18576
|
+
], 8, jd));
|
18563
18577
|
}
|
18564
|
-
},
|
18578
|
+
}, Ag = /* @__PURE__ */ U(Sd, [["__scopeId", "data-v-bc020414"]]);
|
18565
18579
|
export {
|
18566
18580
|
it as $,
|
18567
|
-
|
18581
|
+
Ou as A,
|
18568
18582
|
Aa as B,
|
18569
|
-
|
18570
|
-
|
18571
|
-
|
18572
|
-
|
18573
|
-
|
18574
|
-
|
18575
|
-
|
18576
|
-
|
18577
|
-
|
18578
|
-
|
18579
|
-
|
18580
|
-
|
18581
|
-
|
18582
|
-
|
18583
|
-
|
18584
|
-
|
18585
|
-
|
18586
|
-
|
18587
|
-
|
18588
|
-
|
18589
|
-
|
18590
|
-
|
18591
|
-
|
18583
|
+
m1 as C,
|
18584
|
+
Bu as D,
|
18585
|
+
tg as E,
|
18586
|
+
qc as F,
|
18587
|
+
fg as G,
|
18588
|
+
ng as H,
|
18589
|
+
ou as I,
|
18590
|
+
ag as J,
|
18591
|
+
sg as K,
|
18592
|
+
St as L,
|
18593
|
+
ig as M,
|
18594
|
+
Ag as N,
|
18595
|
+
og as O,
|
18596
|
+
lg as P,
|
18597
|
+
Qd as Q,
|
18598
|
+
N1 as R,
|
18599
|
+
v1 as S,
|
18600
|
+
pu as T,
|
18601
|
+
Bd as U,
|
18602
|
+
e1 as V,
|
18603
|
+
Rd as W,
|
18604
|
+
Yd as X,
|
18605
|
+
$d as Y,
|
18592
18606
|
hf as Z,
|
18593
18607
|
U as _,
|
18594
18608
|
qn as a,
|
18595
18609
|
ot as a0,
|
18596
|
-
|
18597
|
-
|
18598
|
-
|
18599
|
-
|
18610
|
+
S1 as b,
|
18611
|
+
U1 as c,
|
18612
|
+
F1 as d,
|
18613
|
+
J1 as e,
|
18600
18614
|
lt as f,
|
18601
|
-
|
18602
|
-
|
18603
|
-
|
18604
|
-
|
18605
|
-
|
18606
|
-
|
18607
|
-
|
18608
|
-
|
18609
|
-
|
18615
|
+
Od as g,
|
18616
|
+
zd as h,
|
18617
|
+
Ld as i,
|
18618
|
+
Ud as j,
|
18619
|
+
Pd as k,
|
18620
|
+
Fd as l,
|
18621
|
+
qd as m,
|
18622
|
+
Hd as n,
|
18623
|
+
Wd as o,
|
18610
18624
|
Vf as p,
|
18611
18625
|
qi as q,
|
18612
18626
|
Io as r,
|
18613
|
-
|
18614
|
-
|
18615
|
-
|
18627
|
+
Kd as s,
|
18628
|
+
Jd as t,
|
18629
|
+
Gd as u,
|
18616
18630
|
Re as v,
|
18617
|
-
|
18618
|
-
|
18631
|
+
Zd as w,
|
18632
|
+
Xd as x,
|
18619
18633
|
Vn as y,
|
18620
|
-
|
18634
|
+
eg as z
|
18621
18635
|
};
|