@mobilon-dev/chotto 0.0.98 → 0.0.99

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 ee, computed as Q, openBlock as r, createElementBlock as u, createElementVNode as o, createCommentVNode as v, toDisplayString as D, renderSlot as ne, unref as N, ref as b, customRef as Zf, withKeys as Jn, defineComponent as W, onMounted as le, withDirectives as Ae, vShow as We, createBlock as B, Teleport as de, createVNode as F, Transition as Z, withCtx as K, watch as X, nextTick as et, vModelText as lt, normalizeClass as L, Fragment as q, renderList as te, normalizeStyle as se, resolveDynamicComponent as Xf, useId as Gn, onUnmounted as Ke, toRef as Ba, vModelRadio as ea, reactive as ta, provide as In, getCurrentInstance as Ra, toRaw as na, onBeforeUnmount as Qa, readonly as $a, resolveComponent as Pt, h as Tf, defineAsyncComponent as Ya, createApp as Pa, withModifiers as kt } from "vue";
1
+ import { inject as ee, computed as Q, openBlock as r, createElementBlock as u, createElementVNode as o, createCommentVNode as v, toDisplayString as E, renderSlot as ne, unref as N, ref as b, customRef as Zf, withKeys as Jn, defineComponent as W, onMounted as le, withDirectives as Ae, vShow as We, createBlock as B, Teleport as de, createVNode as F, Transition as X, withCtx as K, watch as G, nextTick as et, vModelText as lt, normalizeClass as L, Fragment as q, renderList as te, normalizeStyle as se, resolveDynamicComponent as Xf, useId as Gn, onUnmounted as Ke, toRef as Ba, vModelRadio as ea, reactive as ta, provide as In, getCurrentInstance as Ra, toRaw as na, onBeforeUnmount as Qa, readonly as $a, resolveComponent as Pt, h as Tf, defineAsyncComponent as Ya, createApp as Pa, withModifiers as kt } from "vue";
2
2
  const Fa = "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", tt = (e, t) => {
3
3
  for (const n in t)
4
4
  e[n] = t[n];
@@ -144,7 +144,7 @@ me.prototype = {
144
144
  return a.j[e] = i, i;
145
145
  }
146
146
  };
147
- const P = (e, t, n, f, a) => e.ta(t, n, f, a), ae = (e, t, n, f, a) => e.tr(t, n, f, a), jf = (e, t, n, f, a) => e.ts(t, n, f, a), w = (e, t, n, f, a) => e.tt(t, n, f, a), Ce = "WORD", Yn = "UWORD", aa = "ASCIINUMERICAL", sa = "ALPHANUMERICAL", Nt = "LOCALHOST", Pn = "TLD", Fn = "UTLD", Ft = "SCHEME", Xe = "SLASH_SCHEME", Zn = "NUM", qn = "WS", Xn = "NL", vt = "OPENBRACE", yt = "CLOSEBRACE", Wt = "OPENBRACKET", Kt = "CLOSEBRACKET", Jt = "OPENPAREN", Gt = "CLOSEPAREN", Zt = "OPENANGLEBRACKET", Xt = "CLOSEANGLEBRACKET", en = "FULLWIDTHLEFTPAREN", tn = "FULLWIDTHRIGHTPAREN", nn = "LEFTCORNERBRACKET", fn = "RIGHTCORNERBRACKET", an = "LEFTWHITECORNERBRACKET", sn = "RIGHTWHITECORNERBRACKET", on = "FULLWIDTHLESSTHAN", ln = "FULLWIDTHGREATERTHAN", rn = "AMPERSAND", ef = "APOSTROPHE", An = "ASTERISK", Ue = "AT", cn = "BACKSLASH", un = "BACKTICK", dn = "CARET", Be = "COLON", tf = "COMMA", gn = "DOLLAR", De = "DOT", mn = "EQUALS", nf = "EXCLAMATION", ye = "HYPHEN", bt = "PERCENT", pn = "PIPE", hn = "PLUS", vn = "POUND", Mt = "QUERY", ff = "QUOTE", ia = "FULLWIDTHMIDDLEDOT", af = "SEMI", Ee = "SLASH", _t = "TILDE", yn = "UNDERSCORE", oa = "EMOJI", bn = "SYM";
147
+ const P = (e, t, n, f, a) => e.ta(t, n, f, a), ae = (e, t, n, f, a) => e.tr(t, n, f, a), jf = (e, t, n, f, a) => e.ts(t, n, f, a), k = (e, t, n, f, a) => e.tt(t, n, f, a), Ce = "WORD", Yn = "UWORD", aa = "ASCIINUMERICAL", sa = "ALPHANUMERICAL", Nt = "LOCALHOST", Pn = "TLD", Fn = "UTLD", Ft = "SCHEME", Xe = "SLASH_SCHEME", Zn = "NUM", qn = "WS", Xn = "NL", vt = "OPENBRACE", yt = "CLOSEBRACE", Wt = "OPENBRACKET", Kt = "CLOSEBRACKET", Jt = "OPENPAREN", Gt = "CLOSEPAREN", Zt = "OPENANGLEBRACKET", Xt = "CLOSEANGLEBRACKET", en = "FULLWIDTHLEFTPAREN", tn = "FULLWIDTHRIGHTPAREN", nn = "LEFTCORNERBRACKET", fn = "RIGHTCORNERBRACKET", an = "LEFTWHITECORNERBRACKET", sn = "RIGHTWHITECORNERBRACKET", on = "FULLWIDTHLESSTHAN", ln = "FULLWIDTHGREATERTHAN", rn = "AMPERSAND", ef = "APOSTROPHE", An = "ASTERISK", Ue = "AT", cn = "BACKSLASH", un = "BACKTICK", dn = "CARET", Be = "COLON", tf = "COMMA", gn = "DOLLAR", De = "DOT", mn = "EQUALS", nf = "EXCLAMATION", ye = "HYPHEN", bt = "PERCENT", pn = "PIPE", hn = "PLUS", vn = "POUND", Mt = "QUERY", ff = "QUOTE", ia = "FULLWIDTHMIDDLEDOT", af = "SEMI", Ee = "SLASH", _t = "TILDE", yn = "UNDERSCORE", oa = "EMOJI", bn = "SYM";
148
148
  var la = /* @__PURE__ */ Object.freeze({
149
149
  __proto__: null,
150
150
  WORD: Ce,
@@ -210,7 +210,7 @@ function Xa(e = []) {
210
210
  const t = {};
211
211
  me.groups = t;
212
212
  const n = new me();
213
- Bt == null && (Bt = Vf(Fa)), Rt == null && (Rt = Vf(qa)), w(n, "'", ef), w(n, "{", vt), w(n, "}", yt), w(n, "[", Wt), w(n, "]", Kt), w(n, "(", Jt), w(n, ")", Gt), w(n, "<", Zt), w(n, ">", Xt), w(n, "(", en), w(n, ")", tn), w(n, "「", nn), w(n, "」", fn), w(n, "『", an), w(n, "』", sn), w(n, "<", on), w(n, ">", ln), w(n, "&", rn), w(n, "*", An), w(n, "@", Ue), w(n, "`", un), w(n, "^", dn), w(n, ":", Be), w(n, ",", tf), w(n, "$", gn), w(n, ".", De), w(n, "=", mn), w(n, "!", nf), w(n, "-", ye), w(n, "%", bt), w(n, "|", pn), w(n, "+", hn), w(n, "#", vn), w(n, "?", Mt), w(n, '"', ff), w(n, "/", Ee), w(n, ";", af), w(n, "~", _t), w(n, "_", yn), w(n, "\\", cn), w(n, "・", ia);
213
+ Bt == null && (Bt = Vf(Fa)), Rt == null && (Rt = Vf(qa)), k(n, "'", ef), k(n, "{", vt), k(n, "}", yt), k(n, "[", Wt), k(n, "]", Kt), k(n, "(", Jt), k(n, ")", Gt), k(n, "<", Zt), k(n, ">", Xt), k(n, "(", en), k(n, ")", tn), k(n, "「", nn), k(n, "」", fn), k(n, "『", an), k(n, "』", sn), k(n, "<", on), k(n, ">", ln), k(n, "&", rn), k(n, "*", An), k(n, "@", Ue), k(n, "`", un), k(n, "^", dn), k(n, ":", Be), k(n, ",", tf), k(n, "$", gn), k(n, ".", De), k(n, "=", mn), k(n, "!", nf), k(n, "-", ye), k(n, "%", bt), k(n, "|", pn), k(n, "+", hn), k(n, "#", vn), k(n, "?", Mt), k(n, '"', ff), k(n, "/", Ee), k(n, ";", af), k(n, "~", _t), k(n, "_", yn), k(n, "\\", cn), k(n, "・", ia);
214
214
  const f = ae(n, Se, Zn, {
215
215
  [Bn]: !0
216
216
  });
@@ -227,20 +227,20 @@ function Xa(e = []) {
227
227
  [Qn]: !0
228
228
  });
229
229
  ae(l, Ve), ae(l, Se, s), ae(l, ut, l), ae(s, Se, s), ae(s, Ve), ae(s, ut, s);
230
- const c = w(n, Vn, Xn, {
230
+ const c = k(n, Vn, Xn, {
231
231
  [Tn]: !0
232
- }), A = w(n, xf, qn, {
232
+ }), A = k(n, xf, qn, {
233
233
  [Tn]: !0
234
234
  }), g = ae(n, xn, qn, {
235
235
  [Tn]: !0
236
236
  });
237
- w(n, Sn, g), w(A, Vn, c), w(A, Sn, g), ae(A, xn, g), w(g, xf), w(g, Vn), ae(g, xn, g), w(g, Sn, g);
237
+ k(n, Sn, g), k(A, Vn, c), k(A, Sn, g), ae(A, xn, g), k(g, xf), k(g, Vn), ae(g, xn, g), k(g, Sn, g);
238
238
  const d = ae(n, jn, oa, {
239
239
  [fa]: !0
240
240
  });
241
- w(d, "#"), ae(d, jn, d), w(d, Ga, d);
242
- const m = w(d, Za);
243
- w(m, "#"), ae(m, jn, d);
241
+ k(d, "#"), ae(d, jn, d), k(d, Ga, d);
242
+ const m = k(d, Za);
243
+ k(m, "#"), ae(m, jn, d);
244
244
  const M = [[Ve, i], [Se, a]], p = [[Ve, null], [ut, l], [Se, s]];
245
245
  for (let y = 0; y < Bt.length; y++)
246
246
  Le(n, Bt[y], Pn, Ce, M);
@@ -566,35 +566,35 @@ const Cf = wn("email", {
566
566
  function ns({
567
567
  groups: e
568
568
  }) {
569
- const t = e.domain.concat([rn, An, Ue, cn, un, dn, gn, mn, ye, Zn, bt, pn, hn, vn, Ee, bn, _t, yn]), n = [Be, tf, De, nf, bt, Mt, ff, af, Zt, Xt, vt, yt, Kt, Wt, Jt, Gt, en, tn, nn, fn, an, sn, on, ln], f = [rn, ef, An, cn, un, dn, gn, mn, ye, vt, yt, bt, pn, hn, vn, Mt, Ee, bn, _t, yn], a = ve(), s = w(a, _t);
569
+ const t = e.domain.concat([rn, An, Ue, cn, un, dn, gn, mn, ye, Zn, bt, pn, hn, vn, Ee, bn, _t, yn]), n = [Be, tf, De, nf, bt, Mt, ff, af, Zt, Xt, vt, yt, Kt, Wt, Jt, Gt, en, tn, nn, fn, an, sn, on, ln], f = [rn, ef, An, cn, un, dn, gn, mn, ye, vt, yt, bt, pn, hn, vn, Mt, Ee, bn, _t, yn], a = ve(), s = k(a, _t);
570
570
  P(s, f, s), P(s, e.domain, s);
571
571
  const i = ve(), l = ve(), c = ve();
572
572
  P(a, e.domain, i), P(a, e.scheme, l), P(a, e.slashscheme, c), P(i, f, s), P(i, e.domain, i);
573
- const A = w(i, Ue);
574
- w(s, Ue, A), w(l, Ue, A), w(c, Ue, A);
575
- const g = w(s, De);
573
+ const A = k(i, Ue);
574
+ k(s, Ue, A), k(l, Ue, A), k(c, Ue, A);
575
+ const g = k(s, De);
576
576
  P(g, f, s), P(g, e.domain, s);
577
577
  const d = ve();
578
578
  P(A, e.domain, d), P(d, e.domain, d);
579
- const m = w(d, De);
579
+ const m = k(d, De);
580
580
  P(m, e.domain, d);
581
581
  const M = ve(Cf);
582
- P(m, e.tld, M), P(m, e.utld, M), w(A, Nt, M);
583
- const p = w(d, ye);
584
- w(p, ye, p), P(p, e.domain, d), P(M, e.domain, d), w(M, De, m), w(M, ye, p);
585
- const y = w(M, Be);
582
+ P(m, e.tld, M), P(m, e.utld, M), k(A, Nt, M);
583
+ const p = k(d, ye);
584
+ k(p, ye, p), P(p, e.domain, d), P(M, e.domain, d), k(M, De, m), k(M, ye, p);
585
+ const y = k(M, Be);
586
586
  P(y, e.numeric, Cf);
587
- const h = w(i, ye), x = w(i, De);
588
- w(h, ye, h), P(h, e.domain, i), P(x, f, s), P(x, e.domain, i);
587
+ const h = k(i, ye), x = k(i, De);
588
+ k(h, ye, h), P(h, e.domain, i), P(x, f, s), P(x, e.domain, i);
589
589
  const V = ve(Qt);
590
- P(x, e.tld, V), P(x, e.utld, V), P(V, e.domain, i), P(V, f, s), w(V, De, x), w(V, ye, h), w(V, Ue, A);
591
- const j = w(V, Be), O = ve(Qt);
590
+ P(x, e.tld, V), P(x, e.utld, V), P(V, e.domain, i), P(V, f, s), k(V, De, x), k(V, ye, h), k(V, Ue, A);
591
+ const j = k(V, Be), O = ve(Qt);
592
592
  P(j, e.numeric, O);
593
593
  const I = ve(Qt), S = ve();
594
- P(I, t, I), P(I, n, S), P(S, t, I), P(S, n, S), w(V, Ee, I), w(O, Ee, I);
595
- const C = w(l, Be), _ = w(c, Be), k = w(_, Ee), T = w(k, Ee);
596
- P(l, e.domain, i), w(l, De, x), w(l, ye, h), P(c, e.domain, i), w(c, De, x), w(c, ye, h), P(C, e.domain, I), w(C, Ee, I), w(C, Mt, I), P(T, e.domain, I), P(T, t, I), w(T, Ee, I);
597
- const E = [
594
+ P(I, t, I), P(I, n, S), P(S, t, I), P(S, n, S), k(V, Ee, I), k(O, Ee, I);
595
+ const C = k(l, Be), _ = k(c, Be), w = k(_, Ee), D = k(w, Ee);
596
+ P(l, e.domain, i), k(l, De, x), k(l, ye, h), P(c, e.domain, i), k(c, De, x), k(c, ye, h), P(C, e.domain, I), k(C, Ee, I), k(C, Mt, I), P(D, e.domain, I), P(D, t, I), k(D, Ee, I);
597
+ const T = [
598
598
  [vt, yt],
599
599
  // {}
600
600
  [Wt, Kt],
@@ -612,15 +612,15 @@ function ns({
612
612
  [on, ln]
613
613
  // <>
614
614
  ];
615
- for (let U = 0; U < E.length; U++) {
616
- const [$, J] = E[U], oe = w(I, $);
617
- w(S, $, oe), w(oe, J, I);
618
- const G = ve(Qt);
619
- P(oe, t, G);
615
+ for (let U = 0; U < T.length; U++) {
616
+ const [$, J] = T[U], oe = k(I, $);
617
+ k(S, $, oe), k(oe, J, I);
618
+ const Z = ve(Qt);
619
+ P(oe, t, Z);
620
620
  const fe = ve();
621
- P(oe, n), P(G, t, G), P(G, n, fe), P(fe, t, G), P(fe, n, fe), w(G, J, I), w(fe, J, I);
621
+ P(oe, n), P(Z, t, Z), P(Z, n, fe), P(fe, t, Z), P(fe, n, fe), k(Z, J, I), k(fe, J, I);
622
622
  }
623
- return w(a, Nt, V), w(a, Xn, ts), {
623
+ return k(a, Nt, V), k(a, Xn, ts), {
624
624
  start: a,
625
625
  tokens: la
626
626
  };
@@ -768,8 +768,8 @@ const R = (e, t) => {
768
768
  }, null, 8, cs)) : (r(), u("span", us))
769
769
  ]),
770
770
  o("div", ds, [
771
- o("h2", gs, D(e.chat.name), 1),
772
- s.value ? (r(), u("p", ms, D(s.value), 1)) : v("", !0)
771
+ o("h2", gs, E(e.chat.name), 1),
772
+ s.value ? (r(), u("p", ms, E(s.value), 1)) : v("", !0)
773
773
  ]),
774
774
  o("div", ps, [
775
775
  ne(i.$slots, "actions", {}, void 0, !0)
@@ -783,7 +783,7 @@ const R = (e, t) => {
783
783
  ], 8, hs)
784
784
  ])) : v("", !0);
785
785
  }
786
- }, vg = /* @__PURE__ */ R(vs, [["__scopeId", "data-v-1d46ede1"]]), ge = b([]), Ie = (e) => {
786
+ }, bg = /* @__PURE__ */ R(vs, [["__scopeId", "data-v-1d46ede1"]]), ge = b([]), Ie = (e) => {
787
787
  const t = b(0);
788
788
  let n = ge.value.find(({ id: m }) => m == e);
789
789
  n != null ? t.value = ge.value.indexOf(n) : (ge.value.push({
@@ -1103,10 +1103,10 @@ const ga = (e) => {
1103
1103
  ]),
1104
1104
  o("div", Ls, [
1105
1105
  o("div", Us, [
1106
- o("span", Bs, D(e.fileInfo.fileName), 1),
1107
- !e.fileInfo.isAudio && !e.fileInfo.isVideo ? (r(), u("span", Rs, D(e.fileInfo.fileSize), 1)) : v("", !0),
1108
- e.fileInfo.isAudio ? (r(), u("span", Qs, D(`${m.value} / ${M.value}`), 1)) : v("", !0),
1109
- e.fileInfo.isVideo ? (r(), u("span", $s, D(M.value), 1)) : v("", !0)
1106
+ o("span", Bs, E(e.fileInfo.fileName), 1),
1107
+ !e.fileInfo.isAudio && !e.fileInfo.isVideo ? (r(), u("span", Rs, E(e.fileInfo.fileSize), 1)) : v("", !0),
1108
+ e.fileInfo.isAudio ? (r(), u("span", Qs, E(`${m.value} / ${M.value}`), 1)) : v("", !0),
1109
+ e.fileInfo.isVideo ? (r(), u("span", $s, E(M.value), 1)) : v("", !0)
1110
1110
  ]),
1111
1111
  o("span", {
1112
1112
  class: "pi pi-times preview__reset",
@@ -1115,7 +1115,7 @@ const ga = (e) => {
1115
1115
  })
1116
1116
  ]),
1117
1117
  (r(), B(de, { to: "body" }, [
1118
- F(Z, { name: "modal-fade" }, {
1118
+ F(X, { name: "modal-fade" }, {
1119
1119
  default: K(() => [
1120
1120
  c.value ? (r(), B(lf, {
1121
1121
  key: 0,
@@ -1166,12 +1166,12 @@ const ga = (e) => {
1166
1166
  const n = t, f = ee("chatAppId"), { resetMessage: a, getMessage: s, setMessageText: i, setForceSendMessage: l, setMessageFile: c, resetMessageFile: A, setRecordingMessage: g } = Ie(f), d = b(), m = Is("", 2e3), M = b(), p = e, y = Q(() => {
1167
1167
  if (p.state == "disabled" || s().text == "" && !s().file || s().isRecording) return !0;
1168
1168
  });
1169
- X(
1169
+ G(
1170
1170
  () => m.value,
1171
1171
  () => {
1172
1172
  n("typing");
1173
1173
  }
1174
- ), X(
1174
+ ), G(
1175
1175
  () => p.focusOnInputArea,
1176
1176
  () => {
1177
1177
  p.focusOnInputArea && et(() => {
@@ -1180,14 +1180,14 @@ const ga = (e) => {
1180
1180
  });
1181
1181
  },
1182
1182
  { immediate: !0 }
1183
- ), X(
1183
+ ), G(
1184
1184
  () => s().text,
1185
1185
  () => {
1186
1186
  et(function() {
1187
1187
  m.value = s().text, d.value && (d.value.style.height = "auto", d.value.style.height = d.value.scrollHeight + "px");
1188
1188
  });
1189
1189
  }
1190
- ), X(
1190
+ ), G(
1191
1191
  () => s().forceSend,
1192
1192
  () => {
1193
1193
  s().forceSend && (V(), l(!1));
@@ -1216,7 +1216,7 @@ const ga = (e) => {
1216
1216
  size: "",
1217
1217
  reply: void 0
1218
1218
  };
1219
- I.value.file ? (_.type = "message." + I.value.file.type, _.url = I.value.file.url, _.filename = I.value.file.name, _.size = (S = I.value.file.size) == null ? void 0 : S.toString(), _.text = (C = I == null ? void 0 : I.value) == null ? void 0 : C.text.trim()) : (_.type = "message.text", _.text = I.value.text.trim()), I.value.reply && (_.reply = I.value.reply), n("send", _), a(), d.value && d.value.focus();
1219
+ I.value.file ? (_.type = "message." + I.value.file.type, _.url = I.value.file.url, _.filename = I.value.file.name, _.size = (S = I.value.file.size) == null ? void 0 : S.toString(), _.text = (C = I == null ? void 0 : I.value) == null ? void 0 : C.text.trim()) : (_.type = "message.text", _.text = I.value.text.trim()), I.value.reply && (_.reply = I.value.reply), n("send", _), a(), M.value = void 0, d.value && d.value.focus();
1220
1220
  }
1221
1221
  }, j = async (I) => {
1222
1222
  var C;
@@ -1225,23 +1225,23 @@ const ga = (e) => {
1225
1225
  for (let _ of S)
1226
1226
  if (_.type.indexOf("image") !== -1) {
1227
1227
  I.preventDefault();
1228
- const k = _.getAsFile();
1229
- if (k) {
1228
+ const w = _.getAsFile();
1229
+ if (w) {
1230
1230
  g(!0);
1231
- const T = typeof p.filebumpUrl == "string" ? p.filebumpUrl : null;
1232
- await xt(T, k).then((E) => {
1233
- g(!1), E.status == "success" && (c({
1234
- url: E.url,
1235
- name: E.name,
1236
- size: E.size,
1237
- type: E.type
1238
- }), E.preview && (M.value = {
1239
- previewUrl: E.preview.previewUrl,
1240
- isImage: E.preview.isImage,
1241
- isVideo: E.preview.isVideo,
1242
- isAudio: E.preview.isAudio,
1243
- fileName: E.name,
1244
- fileSize: E.preview.fileSize
1231
+ const D = typeof p.filebumpUrl == "string" ? p.filebumpUrl : null;
1232
+ await xt(D, w).then((T) => {
1233
+ g(!1), T.status == "success" && (c({
1234
+ url: T.url,
1235
+ name: T.name,
1236
+ size: T.size,
1237
+ type: T.type
1238
+ }), T.preview && (M.value = {
1239
+ previewUrl: T.preview.previewUrl,
1240
+ isImage: T.preview.isImage,
1241
+ isVideo: T.preview.isVideo,
1242
+ isAudio: T.preview.isAudio,
1243
+ fileName: T.name,
1244
+ fileSize: T.preview.fileSize
1245
1245
  }));
1246
1246
  });
1247
1247
  }
@@ -1297,7 +1297,7 @@ const ga = (e) => {
1297
1297
  ], 8, ["to"])) : v("", !0)
1298
1298
  ]));
1299
1299
  }
1300
- }), yg = /* @__PURE__ */ R(Xs, [["__scopeId", "data-v-c153154c"]]), ei = { class: "chat-list" }, ti = { class: "chat-list__title" }, ni = {
1300
+ }), Mg = /* @__PURE__ */ R(Xs, [["__scopeId", "data-v-35728517"]]), ei = { class: "chat-list" }, ti = { class: "chat-list__title" }, ni = {
1301
1301
  key: 0,
1302
1302
  class: "pi pi-minus"
1303
1303
  }, fi = {
@@ -1357,7 +1357,7 @@ const ga = (e) => {
1357
1357
  class: "chat-list__title-container",
1358
1358
  onMouseleave: l
1359
1359
  }, [
1360
- o("h2", ti, D(N(pe)("component.ChatList.Title")), 1),
1360
+ o("h2", ti, E(N(pe)("component.ChatList.Title")), 1),
1361
1361
  e.actions.length ? (r(), u("button", {
1362
1362
  key: 0,
1363
1363
  class: "chat-list__button-actions",
@@ -1365,7 +1365,7 @@ const ga = (e) => {
1365
1365
  }, [
1366
1366
  s.value ? (r(), u("span", ni)) : (r(), u("span", fi))
1367
1367
  ])) : v("", !0),
1368
- F(Z, null, {
1368
+ F(X, null, {
1369
1369
  default: K(() => [
1370
1370
  s.value && e.actions ? (r(), B(N($e), {
1371
1371
  key: 0,
@@ -1419,7 +1419,7 @@ const ga = (e) => {
1419
1419
  ], 544)
1420
1420
  ]));
1421
1421
  }
1422
- }, bg = /* @__PURE__ */ R(oi, [["__scopeId", "data-v-94ceeb08"]]), li = { class: "keyboard__container" }, ri = ["onClick"], Ai = /* @__PURE__ */ W({
1422
+ }, _g = /* @__PURE__ */ R(oi, [["__scopeId", "data-v-94ceeb08"]]), li = { class: "keyboard__container" }, ri = ["onClick"], Ai = /* @__PURE__ */ W({
1423
1423
  __name: "MessageKeyboard",
1424
1424
  props: {
1425
1425
  keyboard: {
@@ -1438,7 +1438,7 @@ const ga = (e) => {
1438
1438
  style: se({ "box-shadow": "0px 0px 10px 5px " + A.color }),
1439
1439
  onClick: (g) => i(A)
1440
1440
  }, [
1441
- o("p", null, D(A.text), 1)
1441
+ o("p", null, E(A.text), 1)
1442
1442
  ], 12, ri))), 256))
1443
1443
  ]));
1444
1444
  }
@@ -1487,11 +1487,11 @@ const ga = (e) => {
1487
1487
  const n = b(), f = b(), a = b(), s = b(!1), i = b(!1), l = e, c = ee("chatAppId"), { setReply: A, getMessage: g } = Ie(c), d = t, m = Q(() => !!(i.value && l.objects.length > 0 && l.objects[l.objects.length - 1].keyboard)), M = (_) => {
1488
1488
  d("keyboardAction", _);
1489
1489
  }, p = (_ = !0) => {
1490
- const k = N(f);
1491
- let T = 0;
1492
- a.value && (T = a.value.$el.clientHeight);
1493
- const E = 100, U = k.scrollHeight - k.scrollTop - k.clientHeight;
1494
- U < E + T ? (s.value = !1, i.value = !0) : (s.value = !0, i.value = !1), k.scrollTop === 0 && _ && d("loadMore"), U <= 0 && _ && d("loadMoreDown");
1490
+ const w = N(f);
1491
+ let D = 0;
1492
+ a.value && (D = a.value.$el.clientHeight);
1493
+ const T = 100, U = w.scrollHeight - w.scrollTop - w.clientHeight;
1494
+ U < T + D ? (s.value = !1, i.value = !0) : (s.value = !0, i.value = !1), w.scrollTop === 0 && _ && d("loadMore"), U <= 0 && _ && d("loadMoreDown");
1495
1495
  }, y = (_) => ({
1496
1496
  "message.text": f1,
1497
1497
  "message.image": Wu,
@@ -1512,7 +1512,7 @@ const ga = (e) => {
1512
1512
  function x() {
1513
1513
  d("forceScrollToBottom"), h();
1514
1514
  }
1515
- X(
1515
+ G(
1516
1516
  () => l.scrollToBottom,
1517
1517
  () => {
1518
1518
  l.scrollToBottom && h();
@@ -1523,24 +1523,24 @@ const ga = (e) => {
1523
1523
  d("messageAction", _);
1524
1524
  }, j = (_) => {
1525
1525
  d("clickRepliedMessage", _);
1526
- }, O = (_, k) => {
1527
- l.enableDoubleClickReply && (_ == null || _.preventDefault(), k.type.indexOf("system") == -1 && k.type.indexOf("typing") == -1 && A({
1528
- messageId: k.messageId,
1529
- type: k.type,
1530
- text: k.text,
1531
- filename: k.filename,
1532
- url: k.url
1526
+ }, O = (_, w) => {
1527
+ l.enableDoubleClickReply && (_ == null || _.preventDefault(), w.type.indexOf("system") == -1 && w.type.indexOf("typing") == -1 && A({
1528
+ messageId: w.messageId,
1529
+ type: w.type,
1530
+ text: w.text,
1531
+ filename: w.filename,
1532
+ url: w.url
1533
1533
  }));
1534
1534
  }, I = (_) => {
1535
- _.forEach((k) => {
1536
- k.isIntersecting && d("messageVisible", JSON.parse(k.target.id));
1535
+ _.forEach((w) => {
1536
+ w.isIntersecting && d("messageVisible", JSON.parse(w.target.id));
1537
1537
  });
1538
1538
  }, S = {
1539
1539
  root: document.getElementById("feed-container-" + c),
1540
1540
  rootMargin: "5px",
1541
1541
  threshold: 0
1542
1542
  }, C = new IntersectionObserver(I, S);
1543
- return X(
1543
+ return G(
1544
1544
  () => l.objects,
1545
1545
  () => {
1546
1546
  et(() => {
@@ -1548,36 +1548,36 @@ const ga = (e) => {
1548
1548
  });
1549
1549
  },
1550
1550
  { immediate: !0 }
1551
- ), X(
1551
+ ), G(
1552
1552
  () => l.scrollTo,
1553
1553
  () => {
1554
1554
  var _;
1555
1555
  if (l.scrollTo) {
1556
- const k = l.scrollTo;
1557
- let T = document.getElementById(k), E = document.getElementById("feed-container-" + c);
1558
- T instanceof HTMLElement && E instanceof HTMLElement && (E.scrollTop = T.offsetTop + T.clientHeight / 2 - E.clientHeight / 2), (_ = document.getElementById(k)) == null || _.children[0].classList.add("focused-message"), setTimeout(() => {
1556
+ const w = l.scrollTo;
1557
+ let D = document.getElementById(w), T = document.getElementById("feed-container-" + c);
1558
+ D instanceof HTMLElement && T instanceof HTMLElement && (T.scrollTop = D.offsetTop + D.clientHeight / 2 - T.clientHeight / 2), (_ = document.getElementById(w)) == null || _.children[0].classList.add("focused-message"), setTimeout(() => {
1559
1559
  var U;
1560
- (U = document.getElementById(k)) == null || U.children[0].classList.remove("focused-message");
1560
+ (U = document.getElementById(w)) == null || U.children[0].classList.remove("focused-message");
1561
1561
  }, 2e3);
1562
1562
  }
1563
1563
  }
1564
- ), (_, k) => (r(), u(q, null, [
1564
+ ), (_, w) => (r(), u(q, null, [
1565
1565
  o("div", {
1566
1566
  ref_key: "refFeed",
1567
1567
  ref: f,
1568
1568
  class: "message-feed",
1569
- onScroll: k[0] || (k[0] = (T) => p()),
1569
+ onScroll: w[0] || (w[0] = (D) => p()),
1570
1570
  id: "feed-container-" + N(c)
1571
1571
  }, [
1572
- (r(!0), u(q, null, te(e.objects, (T) => (r(), u("div", {
1573
- onDblclick: (E) => O(E, T),
1574
- id: JSON.stringify(T),
1572
+ (r(!0), u(q, null, te(e.objects, (D) => (r(), u("div", {
1573
+ onDblclick: (T) => O(T, D),
1574
+ id: JSON.stringify(D),
1575
1575
  class: "tracking-message"
1576
1576
  }, [
1577
- (r(), B(Xf(y(T.type)), {
1578
- key: T.messageId,
1577
+ (r(), B(Xf(y(D.type)), {
1578
+ key: D.messageId,
1579
1579
  class: "message-feed__message",
1580
- message: T,
1580
+ message: D,
1581
1581
  onAction: V,
1582
1582
  onReply: j
1583
1583
  }, null, 40, ["message"]))
@@ -1589,7 +1589,7 @@ const ga = (e) => {
1589
1589
  avatar: e.typing.avatar
1590
1590
  }
1591
1591
  }, null, 8, ["message"])) : v("", !0),
1592
- F(Z, null, {
1592
+ F(X, null, {
1593
1593
  default: K(() => [
1594
1594
  m.value ? (r(), B(ci, {
1595
1595
  key: 0,
@@ -1602,15 +1602,15 @@ const ga = (e) => {
1602
1602
  ]),
1603
1603
  _: 1
1604
1604
  }),
1605
- F(Z, null, {
1605
+ F(X, null, {
1606
1606
  default: K(() => [
1607
1607
  s.value ? (r(), u("button", {
1608
1608
  key: 0,
1609
1609
  class: "message-feed__button-down",
1610
1610
  onClick: x
1611
1611
  }, [
1612
- e.buttonParams ? (r(), u("div", gi, D(e.buttonParams.unreadAmount), 1)) : v("", !0),
1613
- k[1] || (k[1] = o("span", { class: "pi pi-angle-down message-feed__icon-down" }, null, -1))
1612
+ e.buttonParams ? (r(), u("div", gi, E(e.buttonParams.unreadAmount), 1)) : v("", !0),
1613
+ w[1] || (w[1] = o("span", { class: "pi pi-angle-down message-feed__icon-down" }, null, -1))
1614
1614
  ])) : v("", !0)
1615
1615
  ]),
1616
1616
  _: 1
@@ -1627,7 +1627,7 @@ const ga = (e) => {
1627
1627
  ], 8, ["to"])) : v("", !0)
1628
1628
  ], 64));
1629
1629
  }
1630
- }), Mg = /* @__PURE__ */ R(mi, [["__scopeId", "data-v-8b5a57bb"]]), pi = {
1630
+ }), Ig = /* @__PURE__ */ R(mi, [["__scopeId", "data-v-8b5a57bb"]]), pi = {
1631
1631
  key: 0,
1632
1632
  class: "profile__container"
1633
1633
  }, hi = {
@@ -1654,12 +1654,12 @@ const ga = (e) => {
1654
1654
  width: "48"
1655
1655
  }, null, 8, vi)
1656
1656
  ])) : v("", !0),
1657
- o("h2", yi, D(e.user.name), 1),
1658
- o("p", bi, D(e.user.email), 1),
1659
- o("p", Mi, D(e.user.phone), 1)
1657
+ o("h2", yi, E(e.user.name), 1),
1658
+ o("p", bi, E(e.user.email), 1),
1659
+ o("p", Mi, E(e.user.phone), 1)
1660
1660
  ])) : v("", !0);
1661
1661
  }
1662
- }, _g = /* @__PURE__ */ R(_i, [["__scopeId", "data-v-6a09e430"]]), Ii = ["id"], wi = {
1662
+ }, wg = /* @__PURE__ */ R(_i, [["__scopeId", "data-v-6a09e430"]]), Ii = ["id"], wi = {
1663
1663
  __name: "ButtonContextMenu",
1664
1664
  props: {
1665
1665
  actions: {
@@ -1745,7 +1745,7 @@ const ga = (e) => {
1745
1745
  }, [
1746
1746
  o("span", {
1747
1747
  class: L(e.buttonClass)
1748
- }, D(e.buttonTitle), 3)
1748
+ }, E(e.buttonTitle), 3)
1749
1749
  ], 34),
1750
1750
  F(N($e), {
1751
1751
  id: "context-menu-" + N(f),
@@ -1758,7 +1758,7 @@ const ga = (e) => {
1758
1758
  }, null, 8, ["id", "actions"])
1759
1759
  ], 8, Ii));
1760
1760
  }
1761
- }, ma = /* @__PURE__ */ R(wi, [["__scopeId", "data-v-a89960f4"]]), ki = { key: 0 }, Ni = { key: 1 }, Ig = /* @__PURE__ */ W({
1761
+ }, ma = /* @__PURE__ */ R(wi, [["__scopeId", "data-v-a89960f4"]]), ki = { key: 0 }, Ni = { key: 1 }, kg = /* @__PURE__ */ W({
1762
1762
  __name: "FileUploader",
1763
1763
  props: {
1764
1764
  filebumpUrl: {
@@ -1884,11 +1884,11 @@ const ga = (e) => {
1884
1884
  key: g,
1885
1885
  value: A.code,
1886
1886
  selected: A.default === !0
1887
- }, D(A.name), 9, Ei))), 128))
1887
+ }, E(A.name), 9, Ei))), 128))
1888
1888
  ], 32)
1889
1889
  ])) : v("", !0);
1890
1890
  }
1891
- }, wg = /* @__PURE__ */ R(Ti, [["__scopeId", "data-v-94e984d6"]]), ji = ["onClick"], xi = ["src", "alt"], Vi = { key: 1 }, Si = ["onClick"], Ci = ["src", "alt"], zi = { key: 1 }, Oi = {
1891
+ }, Ng = /* @__PURE__ */ R(Ti, [["__scopeId", "data-v-94e984d6"]]), ji = ["onClick"], xi = ["src", "alt"], Vi = { key: 1 }, Si = ["onClick"], Ci = ["src", "alt"], zi = { key: 1 }, Oi = {
1892
1892
  __name: "SideBar",
1893
1893
  props: {
1894
1894
  sidebarItems: {
@@ -1933,8 +1933,8 @@ const ga = (e) => {
1933
1933
  A.notificationCount ? (r(), u("span", {
1934
1934
  key: 0,
1935
1935
  style: se({ backgroundColor: A.notificationColor ? A.notificationColor : "red" })
1936
- }, D(A.notificationCount > 99 ? "99+" : A.notificationCount), 5)) : v("", !0),
1937
- A.name ? (r(), u("p", Vi, D(i(A.name)), 1)) : v("", !0)
1936
+ }, E(A.notificationCount > 99 ? "99+" : A.notificationCount), 5)) : v("", !0),
1937
+ A.name ? (r(), u("p", Vi, E(i(A.name)), 1)) : v("", !0)
1938
1938
  ], 10, ji))), 128))
1939
1939
  ], 2),
1940
1940
  o("ul", {
@@ -1956,13 +1956,13 @@ const ga = (e) => {
1956
1956
  A.notificationCount ? (r(), u("span", {
1957
1957
  key: 0,
1958
1958
  style: se({ backgroundColor: A.notificationColor ? A.notificationColor : "red" })
1959
- }, D(A.notificationCount > 99 ? "99+" : A.notificationCount), 5)) : v("", !0),
1960
- A.name ? (r(), u("p", zi, D(i(A.name)), 1)) : v("", !0)
1959
+ }, E(A.notificationCount > 99 ? "99+" : A.notificationCount), 5)) : v("", !0),
1960
+ A.name ? (r(), u("p", zi, E(i(A.name)), 1)) : v("", !0)
1961
1961
  ], 10, Si))), 128))
1962
1962
  ], 2)
1963
1963
  ], 2));
1964
1964
  }
1965
- }, kg = /* @__PURE__ */ R(Oi, [["__scopeId", "data-v-794e9ba4"]]), Li = { class: "chat-panel" }, Ui = { class: "chat-panel__title-container" }, Bi = {
1965
+ }, Dg = /* @__PURE__ */ R(Oi, [["__scopeId", "data-v-794e9ba4"]]), Li = { class: "chat-panel" }, Ui = { class: "chat-panel__title-container" }, Bi = {
1966
1966
  key: 0,
1967
1967
  class: "chat-panel__title"
1968
1968
  }, Ri = {
@@ -1978,7 +1978,7 @@ const ga = (e) => {
1978
1978
  setup(e, { emit: t }) {
1979
1979
  return (n, f) => (r(), u("div", Li, [
1980
1980
  o("div", Ui, [
1981
- e.title ? (r(), u("p", Bi, D(e.title), 1)) : v("", !0),
1981
+ e.title ? (r(), u("p", Bi, E(e.title), 1)) : v("", !0),
1982
1982
  o("button", {
1983
1983
  class: "chat-panel__button-close",
1984
1984
  onClick: f[0] || (f[0] = (a) => n.$emit("close-panel"))
@@ -1991,7 +1991,7 @@ const ga = (e) => {
1991
1991
  ])
1992
1992
  ]));
1993
1993
  }
1994
- }, Ng = /* @__PURE__ */ R(Ri, [["__scopeId", "data-v-be32224f"]]), Qi = {
1994
+ }, Eg = /* @__PURE__ */ R(Ri, [["__scopeId", "data-v-be32224f"]]), Qi = {
1995
1995
  key: 0,
1996
1996
  class: "channels__selected"
1997
1997
  }, $i = ["src"], Yi = { class: "channels__title" }, Pi = {
@@ -2030,8 +2030,8 @@ const ga = (e) => {
2030
2030
  src: l.value.icon,
2031
2031
  class: "channels__icon"
2032
2032
  }, null, 8, $i)) : v("", !0),
2033
- o("span", Yi, D(l.value.title), 1)
2034
- ])) : (r(), u("span", Pi, D(N(pe)("component.ChannelSelector.Placeholder")), 1)),
2033
+ o("span", Yi, E(l.value.title), 1)
2034
+ ])) : (r(), u("span", Pi, E(N(pe)("component.ChannelSelector.Placeholder")), 1)),
2035
2035
  F(ma, {
2036
2036
  actions: e.channels,
2037
2037
  mode: e.mode,
@@ -2042,13 +2042,13 @@ const ga = (e) => {
2042
2042
  }, null, 8, ["actions", "mode", "disabled"])
2043
2043
  ], 2));
2044
2044
  }
2045
- }, Dg = /* @__PURE__ */ R(Fi, [["__scopeId", "data-v-fe3981e6"]]);
2046
- function Eg(e) {
2045
+ }, Tg = /* @__PURE__ */ R(Fi, [["__scopeId", "data-v-fe3981e6"]]);
2046
+ function jg(e) {
2047
2047
  if (!e || e === "") return;
2048
2048
  const t = +new Date(Number(e) * 1e3), n = +/* @__PURE__ */ new Date(), f = Math.floor((n - t) / 1e3), a = Math.floor(f / 60), s = Math.floor(a / 60), i = Math.floor(s / 24);
2049
2049
  return i > 30 ? new Date(t).toLocaleDateString("ru-RU") : i > 0 ? `${i} ${i === 1 ? "день" : "дня"} назад` : s > 0 ? `${s} ${s === 1 ? "час" : "часа"} назад` : a > 0 ? `${a} ${a === 1 ? "минута" : "минуты"} назад` : f > 0 ? `${f} ${f === 1 ? "секунда" : "секунды"} назад` : "Только что";
2050
2050
  }
2051
- const Tg = (e, t = null) => {
2051
+ const xg = (e, t = null) => {
2052
2052
  const n = [];
2053
2053
  let f = new Date(t * 1e3).toLocaleDateString();
2054
2054
  for (let a = 0; a < e.length; a++) {
@@ -2062,7 +2062,7 @@ const Tg = (e, t = null) => {
2062
2062
  }), f = i), n.push(s);
2063
2063
  }
2064
2064
  return n;
2065
- }, jg = async () => {
2065
+ }, Vg = async () => {
2066
2066
  try {
2067
2067
  if (await navigator.mediaDevices.getUserMedia({ audio: !0 })) {
2068
2068
  const t = new Audio();
@@ -2071,7 +2071,7 @@ const Tg = (e, t = null) => {
2071
2071
  } catch {
2072
2072
  console.log("no audio permissions");
2073
2073
  }
2074
- }, xg = (e) => e.sort((t, n) => Number(t.timestamp) < Number(n.timestamp) ? -1 : Number(t.timestamp) > Number(n.timestamp) ? 1 : 0), rt = ["read", "received", "sent"], At = (e) => {
2074
+ }, Sg = (e) => e.sort((t, n) => Number(t.timestamp) < Number(n.timestamp) ? -1 : Number(t.timestamp) > Number(n.timestamp) ? 1 : 0), rt = ["read", "received", "sent"], At = (e) => {
2075
2075
  switch (e) {
2076
2076
  case "read":
2077
2077
  return "status--read";
@@ -2120,17 +2120,19 @@ const Tg = (e, t = null) => {
2120
2120
  }, [
2121
2121
  ne(A.$slots, "default", {}, void 0, !0)
2122
2122
  ], 544),
2123
- (r(), B(de, { to: "body" }, [
2123
+ (r(), B(de, {
2124
+ to: "#float-windows-" + N(t)
2125
+ }, [
2124
2126
  o("span", {
2125
2127
  "data-theme": N(n)().theme ? N(n)().theme : null,
2126
2128
  ref_key: "tooltip",
2127
2129
  ref: a,
2128
2130
  class: L(i.value)
2129
- }, D(e.text), 11, qi)
2130
- ]))
2131
+ }, E(e.text), 11, qi)
2132
+ ], 8, ["to"]))
2131
2133
  ], 64));
2132
2134
  }
2133
- }), Lf = /* @__PURE__ */ R(Hi, [["__scopeId", "data-v-207aab69"]]), Wi = { class: "chat-item__avatar-container" }, Ki = ["src"], Ji = {
2135
+ }), Lf = /* @__PURE__ */ R(Hi, [["__scopeId", "data-v-25b89ef5"]]), Wi = { class: "chat-item__avatar-container" }, Ki = ["src"], Ji = {
2134
2136
  key: 1,
2135
2137
  class: "pi pi-user"
2136
2138
  }, Gi = { class: "chat-item__info-container" }, Zi = { class: "chat-item__name" }, Xi = {
@@ -2157,7 +2159,7 @@ const Tg = (e, t = null) => {
2157
2159
  }, oo = ["onClick"], lo = ["src"], ro = {
2158
2160
  key: 1,
2159
2161
  class: "dialog__icon pi pi-user"
2160
- }, Ao = { class: "dialog__text-container" }, co = { class: "dialog__name" }, uo = { class: "dialog__time" }, go = {
2162
+ }, Ao = { class: "dialog__text-container" }, co = { class: "dialog__name" }, uo = { class: "dialog__time" }, go = /* @__PURE__ */ W({
2161
2163
  __name: "ChatItem",
2162
2164
  props: {
2163
2165
  chat: {
@@ -2168,32 +2170,33 @@ const Tg = (e, t = null) => {
2168
2170
  emits: ["select", "action"],
2169
2171
  setup(e, { emit: t }) {
2170
2172
  const n = ee("chatAppId"), f = e, a = b(), s = b(), i = t, l = (_) => {
2171
- _.target.id != "noSelectButton" && !f.chat.dialogs && i("select", { chat: f.chat, dialog: null }), f.chat.dialogs && (f.chat.dialogsExpanded = !f.chat.dialogsExpanded);
2173
+ _.target instanceof HTMLElement && _.target.id != "noSelectButton" && !f.chat.dialogs && i("select", { chat: f.chat, dialog: null }), f.chat.dialogs && (f.chat.dialogsExpanded = !f.chat.dialogsExpanded);
2172
2174
  }, c = (_) => {
2173
2175
  i("select", { chat: f.chat, dialog: _ });
2174
2176
  }, A = () => f.chat.isSelected ? "chat-item__selected" : "", g = (_) => _.isSelected ? "dialog__selected" : "", d = (_) => {
2175
- V(), i("action", { chat: f.chat, ..._ });
2176
- }, m = b(!1), M = b(!1), p = () => f.chat.dialogs.toSorted((_, k) => {
2177
- if (Number(_["lastActivity.timestamp"]) > Number(k["lastActivity.timestamp"])) return -1;
2178
- if (Number(_["lastActivity.timestamp"]) < Number(k["lastActivity.timestamp"])) return 1;
2179
- if (Number(_["lastActivity.timestamp"]) == Number(k["lastActivity.timestamp"])) return 0;
2180
- }), y = (_) => {
2177
+ M.value = !1, m.value = !1, i("action", { chat: f.chat, ..._ });
2178
+ }, m = b(!1), M = b(!1), p = () => f.chat.dialogs.toSorted((_, w) => {
2179
+ if (Number(_["lastActivity.timestamp"]) > Number(w["lastActivity.timestamp"])) return -1;
2180
+ if (Number(_["lastActivity.timestamp"]) < Number(w["lastActivity.timestamp"])) return 1;
2181
+ if (Number(_["lastActivity.timestamp"]) == Number(w["lastActivity.timestamp"])) return 0;
2182
+ }), y = () => {
2181
2183
  m.value = !m.value, et(() => {
2182
2184
  h();
2183
2185
  });
2184
2186
  }, h = () => {
2185
2187
  if (a.value && s.value) {
2186
- const _ = a.value.getBoundingClientRect(), k = s.value.$el;
2187
- k.style.top = (_ == null ? void 0 : _.bottom) + 5 + "px", k.style.left = (_ == null ? void 0 : _.left) - k.getBoundingClientRect().width / 1.5 + "px";
2188
+ const _ = a.value.getBoundingClientRect(), w = s.value.$el;
2189
+ w.style.top = (_ == null ? void 0 : _.bottom) + "px", w.style.left = (_ == null ? void 0 : _.left) - w.getBoundingClientRect().width / 1.5 + "px";
2188
2190
  }
2189
2191
  }, x = () => {
2190
2192
  M.value = !0;
2191
- }, V = () => {
2192
- M.value = !1, m.value = !1;
2193
+ }, V = (_) => {
2194
+ const w = _.relatedTarget;
2195
+ M.value = !1, (!w || w.className !== "context-menu__list") && (m.value = !1);
2193
2196
  }, j = Q(() => At(f.chat["lastMessage.status"]));
2194
2197
  let O;
2195
2198
  const I = b(0), S = [pe("component.ChatItem.typing") + ".", pe("component.ChatItem.typing") + "..", pe("component.ChatItem.typing") + "..."], C = Q(() => f.chat.typing ? S[I.value] : f.chat.lastMessage);
2196
- return X(
2199
+ return G(
2197
2200
  () => f.chat.typing,
2198
2201
  () => {
2199
2202
  f.chat.typing ? O = setInterval(() => {
@@ -2201,7 +2204,7 @@ const Tg = (e, t = null) => {
2201
2204
  }, 1e3) : (I.value = 0, clearInterval(O));
2202
2205
  },
2203
2206
  { immediate: !0 }
2204
- ), (_, k) => (r(), u("div", null, [
2207
+ ), (_, w) => (r(), u("div", null, [
2205
2208
  o("div", {
2206
2209
  class: L(["chat-item__container", A()]),
2207
2210
  onMouseenter: x,
@@ -2226,7 +2229,7 @@ const Tg = (e, t = null) => {
2226
2229
  position: "bottom"
2227
2230
  }, {
2228
2231
  default: K(() => [
2229
- o("div", Zi, D(e.chat.name), 1)
2232
+ o("div", Zi, E(e.chat.name), 1)
2230
2233
  ]),
2231
2234
  _: 1
2232
2235
  }, 8, ["text"]),
@@ -2235,18 +2238,18 @@ const Tg = (e, t = null) => {
2235
2238
  position: "bottom"
2236
2239
  }, {
2237
2240
  default: K(() => [
2238
- e.chat.lastMessage || e.chat.typing ? (r(), u("div", Xi, D(C.value), 1)) : v("", !0)
2241
+ e.chat.lastMessage || e.chat.typing ? (r(), u("div", Xi, E(C.value), 1)) : v("", !0)
2239
2242
  ]),
2240
2243
  _: 1
2241
2244
  }, 8, ["text"])
2242
2245
  ]),
2243
2246
  o("div", eo, [
2244
- e.chat["lastActivity.time"] && !M.value ? (r(), u("div", to, D(e.chat["lastActivity.time"]), 1)) : v("", !0),
2247
+ e.chat["lastActivity.time"] && !M.value ? (r(), u("div", to, E(e.chat["lastActivity.time"]), 1)) : v("", !0),
2245
2248
  e.chat.countUnread > 0 ? (r(), u("div", {
2246
2249
  key: 1,
2247
2250
  class: "chat-item__unread",
2248
2251
  style: se({ backgroundColor: e.chat.colorUnread ? e.chat.colorUnread : null })
2249
- }, D(e.chat.countUnread > 99 ? "99+" : e.chat.countUnread), 5)) : v("", !0),
2252
+ }, E(e.chat.countUnread > 99 ? "99+" : e.chat.countUnread), 5)) : v("", !0),
2250
2253
  M.value && e.chat.actions ? (r(), u("button", {
2251
2254
  key: 2,
2252
2255
  ref_key: "refMenuButton",
@@ -2254,7 +2257,7 @@ const Tg = (e, t = null) => {
2254
2257
  class: "chat-item__menu-button",
2255
2258
  onClick: y,
2256
2259
  id: "noSelectButton"
2257
- }, k[2] || (k[2] = [
2260
+ }, w[4] || (w[4] = [
2258
2261
  o("span", {
2259
2262
  id: "noSelectButton",
2260
2263
  class: "pi pi-ellipsis-h"
@@ -2266,7 +2269,7 @@ const Tg = (e, t = null) => {
2266
2269
  class: L(["chat-item__status-message", j.value])
2267
2270
  }, [
2268
2271
  e.chat["lastMessage.status"] !== "sent" ? (r(), u("span", fo)) : v("", !0),
2269
- k[3] || (k[3] = o("span", { class: "pi pi-check" }, null, -1))
2272
+ w[5] || (w[5] = o("span", { class: "pi pi-check" }, null, -1))
2270
2273
  ], 2)) : v("", !0),
2271
2274
  e.chat.isFixedTop || e.chat.isFixedBottom ? (r(), u("span", ao)) : v("", !0)
2272
2275
  ])) : v("", !0)
@@ -2275,9 +2278,9 @@ const Tg = (e, t = null) => {
2275
2278
  e.chat.dialogsExpanded ? v("", !0) : (r(), u("button", {
2276
2279
  key: 0,
2277
2280
  class: "chat-item__menu-button",
2278
- onClick: k[0] || (k[0] = (T) => e.chat.dialogsExpanded = !e.chat.dialogsExpanded),
2281
+ onClick: w[0] || (w[0] = (D) => e.chat.dialogsExpanded = !e.chat.dialogsExpanded),
2279
2282
  id: "noSelectButton"
2280
- }, k[4] || (k[4] = [
2283
+ }, w[6] || (w[6] = [
2281
2284
  o("span", {
2282
2285
  id: "noSelectButton",
2283
2286
  class: "pi pi-angle-down"
@@ -2286,19 +2289,19 @@ const Tg = (e, t = null) => {
2286
2289
  e.chat.dialogsExpanded ? (r(), u("button", {
2287
2290
  key: 1,
2288
2291
  class: "chat-item__menu-button",
2289
- onClick: k[1] || (k[1] = (T) => e.chat.dialogsExpanded = !e.chat.dialogsExpanded),
2292
+ onClick: w[1] || (w[1] = (D) => e.chat.dialogsExpanded = !e.chat.dialogsExpanded),
2290
2293
  id: "noSelectButton"
2291
- }, k[5] || (k[5] = [
2294
+ }, w[7] || (w[7] = [
2292
2295
  o("span", {
2293
2296
  id: "noSelectButton",
2294
2297
  class: "pi pi-angle-up"
2295
2298
  }, null, -1)
2296
2299
  ]))) : v("", !0)
2297
2300
  ])) : v("", !0),
2298
- F(Z, { name: "menu" }, {
2301
+ F(X, { name: "menu" }, {
2299
2302
  default: K(() => [
2300
2303
  (r(), B(de, {
2301
- to: "#" + N(n)
2304
+ to: "#float-windows-" + N(n)
2302
2305
  }, [
2303
2306
  m.value && e.chat.actions ? (r(), B(N($e), {
2304
2307
  key: 0,
@@ -2306,7 +2309,9 @@ const Tg = (e, t = null) => {
2306
2309
  ref: s,
2307
2310
  class: "chat-item__context-menu",
2308
2311
  actions: e.chat.actions,
2309
- onClick: d
2312
+ onClick: d,
2313
+ onMouseenter: w[2] || (w[2] = (D) => m.value = !0),
2314
+ onMouseleave: w[3] || (w[3] = (D) => m.value = !1)
2310
2315
  }, null, 8, ["actions"])) : v("", !0)
2311
2316
  ], 8, ["to"]))
2312
2317
  ]),
@@ -2314,31 +2319,31 @@ const Tg = (e, t = null) => {
2314
2319
  })
2315
2320
  ], 34),
2316
2321
  e.chat.dialogsExpanded ? (r(), u("div", io, [
2317
- (r(!0), u(q, null, te(p(), (T) => (r(), u("div", {
2318
- class: L(["dialog__item", g(T)]),
2319
- onClick: (E) => c(T)
2322
+ (r(!0), u(q, null, te(p(), (D) => (r(), u("div", {
2323
+ class: L(["dialog__item", g(D)]),
2324
+ onClick: (T) => c(D)
2320
2325
  }, [
2321
- T.icon ? (r(), u("img", {
2326
+ D.icon ? (r(), u("img", {
2322
2327
  key: 0,
2323
2328
  class: "dialog__icon",
2324
- src: T.icon,
2329
+ src: D.icon,
2325
2330
  height: "16",
2326
2331
  width: "16"
2327
2332
  }, null, 8, lo)) : (r(), u("span", ro)),
2328
2333
  o("div", Ao, [
2329
- o("div", co, D(T.name), 1),
2330
- o("div", uo, D(T["lastActivity.time"]), 1)
2334
+ o("div", co, E(D.name), 1),
2335
+ o("div", uo, E(D["lastActivity.time"]), 1)
2331
2336
  ]),
2332
- T.countUnread > 0 ? (r(), u("div", {
2337
+ D.countUnread > 0 ? (r(), u("div", {
2333
2338
  key: 2,
2334
2339
  class: "chat-item__unread",
2335
- style: se({ backgroundColor: T.colorUnread ? T.colorUnread : null })
2336
- }, D(T.countUnread > 99 ? "99+" : T.countUnread), 5)) : v("", !0)
2340
+ style: se({ backgroundColor: D.colorUnread ? D.colorUnread : null })
2341
+ }, E(D.countUnread > 99 ? "99+" : D.countUnread), 5)) : v("", !0)
2337
2342
  ], 10, oo))), 256))
2338
2343
  ])) : v("", !0)
2339
2344
  ]));
2340
2345
  }
2341
- }, zn = /* @__PURE__ */ R(go, [["__scopeId", "data-v-d43ea329"]]), mo = ["placeholder"], po = {
2346
+ }), zn = /* @__PURE__ */ R(go, [["__scopeId", "data-v-bd6386eb"]]), mo = ["placeholder"], po = {
2342
2347
  __name: "ChatFilter",
2343
2348
  emits: ["update"],
2344
2349
  setup(e, { emit: t }) {
@@ -2416,15 +2421,15 @@ const Tg = (e, t = null) => {
2416
2421
  n.templates.forEach(($) => $.isSelected = !1), U.isSelected = !0, c.value = U, O();
2417
2422
  }, _ = () => {
2418
2423
  I(), n.templates.forEach((U) => U.isSelected = !1);
2419
- }, k = Q(() => l.value ? n.templates.filter((U) => U.groupId === l.value.groupId) : n.templates), T = Q(() => {
2424
+ }, w = Q(() => l.value ? n.templates.filter((U) => U.groupId === l.value.groupId) : n.templates), D = Q(() => {
2420
2425
  const U = A.value.trim().toLowerCase();
2421
- return k.value.filter(($) => $.title.toLowerCase().includes(U) || $.template.toLowerCase().includes(U));
2422
- }), E = new ResizeObserver((U) => {
2426
+ return w.value.filter(($) => $.title.toLowerCase().includes(U) || $.template.toLowerCase().includes(U));
2427
+ }), T = new ResizeObserver((U) => {
2423
2428
  const $ = U[0].target.clientWidth;
2424
2429
  $ > 700 && (p.value = !1), $ < 700 && (p.value = !0);
2425
2430
  });
2426
2431
  return le(() => {
2427
- S(), N(g) && E.observe(N(g));
2432
+ S(), N(g) && T.observe(N(g));
2428
2433
  }), (U, $) => (r(), u("div", vo, [
2429
2434
  o("div", {
2430
2435
  class: L({
@@ -2477,14 +2482,14 @@ const Tg = (e, t = null) => {
2477
2482
  }, null, 8, To)) : v("", !0),
2478
2483
  Ae(o("input", {
2479
2484
  id: oe,
2480
- "onUpdate:modelValue": $[1] || ($[1] = (G) => l.value = G),
2485
+ "onUpdate:modelValue": $[1] || ($[1] = (Z) => l.value = Z),
2481
2486
  value: J,
2482
2487
  class: "template-selector__input-group",
2483
2488
  type: "radio"
2484
2489
  }, null, 8, jo), [
2485
2490
  [ea, l.value]
2486
2491
  ]),
2487
- o("span", null, D(J.title), 1)
2492
+ o("span", null, E(J.title), 1)
2488
2493
  ])
2489
2494
  ], 2))), 128))
2490
2495
  ])
@@ -2504,15 +2509,15 @@ const Tg = (e, t = null) => {
2504
2509
  ])
2505
2510
  ]),
2506
2511
  o("div", So, [
2507
- T.value.length !== 0 ? (r(), u("ul", Co, [
2508
- (r(!0), u(q, null, te(T.value, (J, oe) => (r(), u("li", {
2512
+ D.value.length !== 0 ? (r(), u("ul", Co, [
2513
+ (r(!0), u(q, null, te(D.value, (J, oe) => (r(), u("li", {
2509
2514
  key: oe,
2510
2515
  class: L(["template-selector__item-template", { "template-selector__item-selected": J.isSelected }]),
2511
- onClick: (G) => C(J)
2516
+ onClick: (Z) => C(J)
2512
2517
  }, [
2513
2518
  o("div", Oo, [
2514
- o("p", Lo, D(J.title), 1),
2515
- o("p", Uo, D(J.template), 1)
2519
+ o("p", Lo, E(J.title), 1),
2520
+ o("p", Uo, E(J.template), 1)
2516
2521
  ])
2517
2522
  ], 10, zo))), 128))
2518
2523
  ])) : (r(), u("p", Bo, " Шаблоны отсутствуют "))
@@ -2525,7 +2530,7 @@ const Tg = (e, t = null) => {
2525
2530
  o("div", Qo, [
2526
2531
  c.value ? (r(), u("div", $o, [
2527
2532
  o("div", Yo, [
2528
- o("p", Po, D(c.value.template), 1),
2533
+ o("p", Po, E(c.value.template), 1),
2529
2534
  $[3] || ($[3] = o("p", { class: "template-selector__preview-time" }, " 22:22 ", -1))
2530
2535
  ])
2531
2536
  ])) : (r(), u("p", Fo, " Предпросмотр шаблона "))
@@ -2590,7 +2595,7 @@ const Tg = (e, t = null) => {
2590
2595
  }, d[0] || (d[0] = [
2591
2596
  o("span", { class: "pi pi-objects-column" }, null, -1)
2592
2597
  ]), 34)),
2593
- F(Z, null, {
2598
+ F(X, null, {
2594
2599
  default: K(() => [
2595
2600
  o("div", {
2596
2601
  ref_key: "template",
@@ -2610,7 +2615,7 @@ const Tg = (e, t = null) => {
2610
2615
  })
2611
2616
  ], 64));
2612
2617
  }
2613
- }, Vg = /* @__PURE__ */ R(Wo, [["__scopeId", "data-v-de93f7f9"]]), Ko = ["id"], Jo = {
2618
+ }, Cg = /* @__PURE__ */ R(Wo, [["__scopeId", "data-v-de93f7f9"]]), Ko = ["id"], Jo = {
2614
2619
  __name: "PlaceholderComponent",
2615
2620
  props: {
2616
2621
  index: {
@@ -2629,7 +2634,7 @@ const Tg = (e, t = null) => {
2629
2634
  emits: ["edit"],
2630
2635
  setup(e, { emit: t }) {
2631
2636
  const n = ee("chatAppId"), f = e, a = t, s = b(f.value), i = b();
2632
- X(
2637
+ G(
2633
2638
  () => f.isFilled,
2634
2639
  () => {
2635
2640
  f.isFilled || (s.value = "Заполнить");
@@ -2667,7 +2672,7 @@ const Tg = (e, t = null) => {
2667
2672
  onKeydown: Jn(A, ["enter"]),
2668
2673
  onFocus: l,
2669
2674
  onBlur: c
2670
- }, D(s.value), 43, Ko));
2675
+ }, E(s.value), 43, Ko));
2671
2676
  }
2672
2677
  }, Go = /* @__PURE__ */ R(Jo, [["__scopeId", "data-v-7250dbc8"]]), Zo = ["accept"], Xo = { class: "attachment-section__info open-sans" }, el = {
2673
2678
  key: 2,
@@ -2742,12 +2747,12 @@ const Tg = (e, t = null) => {
2742
2747
  }, M = () => {
2743
2748
  a.value && (a.value = null, l.value = "");
2744
2749
  };
2745
- return X(
2750
+ return G(
2746
2751
  () => l.value,
2747
2752
  (p) => {
2748
2753
  p === "" && (s.value && (s.value.value = ""), a.value = null, A("fileSelected", null));
2749
2754
  }
2750
- ), X(
2755
+ ), G(
2751
2756
  () => n.templateId,
2752
2757
  () => {
2753
2758
  l.value = "";
@@ -2770,14 +2775,14 @@ const Tg = (e, t = null) => {
2770
2775
  y[1] || (y[1] = o("span", { class: "pi pi-paperclip attachment-section__icon" }, null, -1)),
2771
2776
  o("div", null, [
2772
2777
  y[0] || (y[0] = o("p", { class: "attachment-section__title open-sans-bold" }, " Прикрепить файл ", -1)),
2773
- o("p", Xo, D(d[e.type].text), 1)
2778
+ o("p", Xo, E(d[e.type].text), 1)
2774
2779
  ])
2775
2780
  ], 2)) : l.value === "success" && c.value ? (r(), B(Vt, {
2776
2781
  key: 1,
2777
2782
  "file-info": c.value,
2778
2783
  onReset: M
2779
2784
  }, null, 8, ["file-info"])) : v("", !0),
2780
- i.value ? (r(), u("div", el, D(i.value), 1)) : v("", !0)
2785
+ i.value ? (r(), u("div", el, E(i.value), 1)) : v("", !0)
2781
2786
  ], 64));
2782
2787
  }
2783
2788
  }), nl = /* @__PURE__ */ R(tl, [["__scopeId", "data-v-4ded5a07"]]), fl = { class: "quick-reply-buttons" }, al = ["onClick"], sl = { class: "quick-reply-buttons__line" }, il = /* @__PURE__ */ W({
@@ -2808,7 +2813,7 @@ const Tg = (e, t = null) => {
2808
2813
  o("span", {
2809
2814
  class: L(["quick-reply-buttons__icon pi pi-arrow-up-left", A == 2 && e.buttons.length > 3 ? "pi-list" : a[c.type]])
2810
2815
  }, null, 2),
2811
- o("p", null, D(A == 2 && e.buttons.length > 3 ? "Смотреть все варианты" : c.text), 1)
2816
+ o("p", null, E(A == 2 && e.buttons.length > 3 ? "Смотреть все варианты" : c.text), 1)
2812
2817
  ])
2813
2818
  ], 8, al))), 128))
2814
2819
  ]));
@@ -2844,7 +2849,7 @@ const Tg = (e, t = null) => {
2844
2849
  o("span", {
2845
2850
  class: L(["pi pi-arrow-up-left", n[i.type]])
2846
2851
  }, null, 2),
2847
- o("p", null, D(i.text), 1)
2852
+ o("p", null, E(i.text), 1)
2848
2853
  ]))), 128))
2849
2854
  ])
2850
2855
  ]));
@@ -2912,21 +2917,21 @@ const Tg = (e, t = null) => {
2912
2917
  j[H] = "";
2913
2918
  }), d.value = null, n.wabaTemplates.forEach((H) => H.isSelected = !1), z.isSelected = !0, g.value = z, M.value = !1, oe();
2914
2919
  }, h = () => {
2915
- G(), n.wabaTemplates.forEach((z) => z.isSelected = !1);
2920
+ Z(), n.wabaTemplates.forEach((z) => z.isSelected = !1);
2916
2921
  }, x = Q(() => A.value ? n.wabaTemplates.filter((z) => z.groupId === A.value.groupId) : n.wabaTemplates), V = Q(() => {
2917
2922
  const z = m.value.trim().toLowerCase();
2918
2923
  return x.value.filter((H) => H.title.toLowerCase().includes(z) || H.template.toLowerCase().includes(z));
2919
- }), j = ta({}), O = b(null), I = b(), S = b(""), C = b(""), _ = b(""), k = b(!1), T = Q(() => !!(k.value && (_.value == "grid" && C.value == "none" || C.value == "grid" && S.value == "none"))), E = Q(() => !!(k.value && (S.value == "grid" && C.value == "none" || C.value == "grid" && _.value == "none"))), U = () => {
2920
- k.value && (C.value == "grid" ? J() : _.value == "grid" && G());
2924
+ }), j = ta({}), O = b(null), I = b(), S = b(""), C = b(""), _ = b(""), w = b(!1), D = Q(() => !!(w.value && (_.value == "grid" && C.value == "none" || C.value == "grid" && S.value == "none"))), T = Q(() => !!(w.value && (S.value == "grid" && C.value == "none" || C.value == "grid" && _.value == "none"))), U = () => {
2925
+ w.value && (C.value == "grid" ? J() : _.value == "grid" && Z());
2921
2926
  }, $ = () => {
2922
- k.value && (C.value == "grid" ? oe() : S.value == "grid" && G());
2927
+ w.value && (C.value == "grid" ? oe() : S.value == "grid" && Z());
2923
2928
  }, J = () => {
2924
2929
  const z = document.getElementById("waba-template-selector-container-" + f);
2925
2930
  z.style.setProperty("--waba-template-first-col-display", "grid"), z.style.setProperty("--waba-template-second-col-display", "none"), console.log(z, window.getComputedStyle(z).getPropertyValue("--waba-template-first-col-display")), fe();
2926
2931
  }, oe = () => {
2927
2932
  const z = document.getElementById("waba-template-selector-container-" + f);
2928
2933
  z.style.setProperty("--waba-template-third-col-display", "grid"), z.style.setProperty("--waba-template-second-col-display", "none"), fe();
2929
- }, G = () => {
2934
+ }, Z = () => {
2930
2935
  const z = document.getElementById("waba-template-selector-container-" + f);
2931
2936
  z.style.setProperty("--waba-template-second-col-display", "grid"), z.style.setProperty("--waba-template-first-col-display", "none"), z.style.setProperty("--waba-template-third-col-display", "none"), fe();
2932
2937
  }, fe = () => {
@@ -2970,7 +2975,7 @@ const Tg = (e, t = null) => {
2970
2975
  return z;
2971
2976
  }), Oe = new ResizeObserver((z) => {
2972
2977
  const H = z[0].target.clientWidth;
2973
- H > 700 && (k.value = !1), H < 700 && (k.value = !0);
2978
+ H > 700 && (w.value = !1), H < 700 && (w.value = !0);
2974
2979
  });
2975
2980
  return le(() => {
2976
2981
  fe(), N(I) && Oe.observe(N(I));
@@ -2986,13 +2991,13 @@ const Tg = (e, t = null) => {
2986
2991
  }, [
2987
2992
  o("div", ml, [
2988
2993
  o("div", pl, [
2989
- T.value ? (r(), u("button", hl, [
2994
+ D.value ? (r(), u("button", hl, [
2990
2995
  o("span", {
2991
2996
  class: "pi pi-arrow-left",
2992
2997
  onClick: U
2993
2998
  })
2994
2999
  ])) : v("", !0),
2995
- E.value ? (r(), u("button", vl, [
3000
+ T.value ? (r(), u("button", vl, [
2996
3001
  o("span", {
2997
3002
  class: "pi pi-arrow-right",
2998
3003
  onClick: $
@@ -3030,7 +3035,7 @@ const Tg = (e, t = null) => {
3030
3035
  }, null, 8, wl), [
3031
3036
  [ea, A.value]
3032
3037
  ]),
3033
- o("span", null, D(Y.title), 1)
3038
+ o("span", null, E(Y.title), 1)
3034
3039
  ])
3035
3040
  ], 2))), 128))
3036
3041
  ])
@@ -3054,8 +3059,8 @@ const Tg = (e, t = null) => {
3054
3059
  onClick: (Ne) => y(Y)
3055
3060
  }, [
3056
3061
  o("div", jl, [
3057
- o("p", xl, D(Y.title), 1),
3058
- o("p", Vl, D(Y.template), 1)
3062
+ o("p", xl, E(Y.title), 1),
3063
+ o("p", Vl, E(Y.template), 1)
3059
3064
  ])
3060
3065
  ], 10, Tl))), 128))
3061
3066
  ])) : (r(), u("p", Sl, " Шаблоны отсутствуют "))
@@ -3077,7 +3082,7 @@ const Tg = (e, t = null) => {
3077
3082
  }, null, 8, ["type", "template-id"])) : v("", !0),
3078
3083
  o("div", Ll, [
3079
3084
  (r(!0), u(q, null, te(he.value, (Y, ie) => (r(), u(q, { key: ie }, [
3080
- typeof Y == "string" ? (r(), u("span", Ul, D(Y), 1)) : typeof Y == "object" ? (r(), B(Go, {
3085
+ typeof Y == "string" ? (r(), u("span", Ul, E(Y), 1)) : typeof Y == "object" ? (r(), B(Go, {
3081
3086
  key: 1,
3082
3087
  index: Y.index,
3083
3088
  value: j[Y.index] || "Заполнить",
@@ -3193,7 +3198,7 @@ const Tg = (e, t = null) => {
3193
3198
  ], 544)
3194
3199
  ], 64));
3195
3200
  }
3196
- }, Sg = /* @__PURE__ */ R(Pl, [["__scopeId", "data-v-ce490ccf"]]), pa = "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64", ha = {
3201
+ }, zg = /* @__PURE__ */ R(Pl, [["__scopeId", "data-v-ce490ccf"]]), pa = "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64", ha = {
3197
3202
  recent: "Recently used",
3198
3203
  smileys_people: "Smiles & People",
3199
3204
  animals_nature: "Animals & Nature",
@@ -15666,23 +15671,23 @@ function Pf(e) {
15666
15671
  var S = Ct(n), C = "clientHeight", _ = "clientWidth";
15667
15672
  if (S === ke(n) && (S = Qe(n), xe(S).position !== "static" && l === "absolute" && (C = "scrollHeight", _ = "scrollWidth")), S = S, a === ce || (a === ue || a === _e) && s === Tt) {
15668
15673
  O = Me;
15669
- var k = d && I.visualViewport ? I.visualViewport.height : S[C];
15670
- h -= k - f.height, h *= c ? 1 : -1;
15674
+ var w = d && I.visualViewport ? I.visualViewport.height : S[C];
15675
+ h -= w - f.height, h *= c ? 1 : -1;
15671
15676
  }
15672
15677
  if (a === ue || (a === ce || a === Me) && s === Tt) {
15673
15678
  j = _e;
15674
- var T = d && I.visualViewport ? I.visualViewport.width : S[_];
15675
- p -= T - f.width, p *= c ? 1 : -1;
15679
+ var D = d && I.visualViewport ? I.visualViewport.width : S[_];
15680
+ p -= D - f.width, p *= c ? 1 : -1;
15676
15681
  }
15677
15682
  }
15678
- var E = Object.assign({
15683
+ var T = Object.assign({
15679
15684
  position: l
15680
15685
  }, A && Fr);
15681
15686
  if (c) {
15682
15687
  var U;
15683
- return Object.assign({}, E, (U = {}, U[O] = V ? "0" : "", U[j] = x ? "0" : "", U.transform = (I.devicePixelRatio || 1) <= 1 ? "translate(" + p + "px, " + h + "px)" : "translate3d(" + p + "px, " + h + "px, 0)", U));
15688
+ return Object.assign({}, T, (U = {}, U[O] = V ? "0" : "", U[j] = x ? "0" : "", U.transform = (I.devicePixelRatio || 1) <= 1 ? "translate(" + p + "px, " + h + "px)" : "translate3d(" + p + "px, " + h + "px, 0)", U));
15684
15689
  }
15685
- return Object.assign({}, E, (t = {}, t[O] = V ? h + "px" : "", t[j] = x ? p + "px" : "", t.transform = "", t));
15690
+ return Object.assign({}, T, (t = {}, t[O] = V ? h + "px" : "", t[j] = x ? p + "px" : "", t.transform = "", t));
15686
15691
  }
15687
15692
  function Hr(e) {
15688
15693
  var t = e.state, n = e.options, f = n.gpuAcceleration, a = f === void 0 ? !0 : f, s = n.adaptive, i = s === void 0 ? !0 : s, l = n.roundOffsets, c = l === void 0 ? !0 : l, A = {
@@ -15882,12 +15887,12 @@ function jt(e, t) {
15882
15887
  bottom: C.bottom - j.bottom + y.bottom,
15883
15888
  left: j.left - C.left + y.left,
15884
15889
  right: C.right - j.right + y.right
15885
- }, k = e.modifiersData.offset;
15886
- if (g === gt && k) {
15887
- var T = k[a];
15888
- Object.keys(_).forEach(function(E) {
15889
- var U = [_e, Me].indexOf(E) >= 0 ? 1 : -1, $ = [ce, Me].indexOf(E) >= 0 ? "y" : "x";
15890
- _[E] += T[$] * U;
15890
+ }, w = e.modifiersData.offset;
15891
+ if (g === gt && w) {
15892
+ var D = w[a];
15893
+ Object.keys(_).forEach(function(T) {
15894
+ var U = [_e, Me].indexOf(T) >= 0 ? 1 : -1, $ = [ce, Me].indexOf(T) >= 0 ? "y" : "x";
15895
+ _[T] += D[$] * U;
15891
15896
  });
15892
15897
  }
15893
15898
  return _;
@@ -15930,9 +15935,9 @@ function iA(e) {
15930
15935
  flipVariations: p,
15931
15936
  allowedAutoPlacements: y
15932
15937
  }) : z);
15933
- }, []), I = t.rects.reference, S = t.rects.popper, C = /* @__PURE__ */ new Map(), _ = !0, k = O[0], T = 0; T < O.length; T++) {
15934
- var E = O[T], U = Te(E), $ = ot(E) === ft, J = [ce, Me].indexOf(U) >= 0, oe = J ? "width" : "height", G = jt(t, {
15935
- placement: E,
15938
+ }, []), I = t.rects.reference, S = t.rects.popper, C = /* @__PURE__ */ new Map(), _ = !0, w = O[0], D = 0; D < O.length; D++) {
15939
+ var T = O[D], U = Te(T), $ = ot(T) === ft, J = [ce, Me].indexOf(U) >= 0, oe = J ? "width" : "height", Z = jt(t, {
15940
+ placement: T,
15936
15941
  boundary: g,
15937
15942
  rootBoundary: d,
15938
15943
  altBoundary: m,
@@ -15940,13 +15945,13 @@ function iA(e) {
15940
15945
  }), fe = J ? $ ? _e : ue : $ ? Me : ce;
15941
15946
  I[oe] > S[oe] && (fe = qt(fe));
15942
15947
  var Je = qt(fe), he = [];
15943
- if (s && he.push(G[U] <= 0), l && he.push(G[fe] <= 0, G[Je] <= 0), he.every(function(Oe) {
15948
+ if (s && he.push(Z[U] <= 0), l && he.push(Z[fe] <= 0, Z[Je] <= 0), he.every(function(Oe) {
15944
15949
  return Oe;
15945
15950
  })) {
15946
- k = E, _ = !1;
15951
+ w = T, _ = !1;
15947
15952
  break;
15948
15953
  }
15949
- C.set(E, he);
15954
+ C.set(T, he);
15950
15955
  }
15951
15956
  if (_)
15952
15957
  for (var Ge = p ? 3 : 1, Ze = function(z) {
@@ -15958,13 +15963,13 @@ function iA(e) {
15958
15963
  });
15959
15964
  });
15960
15965
  if (H)
15961
- return k = H, "break";
15966
+ return w = H, "break";
15962
15967
  }, ze = Ge; ze > 0; ze--) {
15963
15968
  var Ye = Ze(ze);
15964
15969
  if (Ye === "break")
15965
15970
  break;
15966
15971
  }
15967
- t.placement !== k && (t.modifiersData[f]._skip = !0, t.placement = k, t.reset = !0);
15972
+ t.placement !== w && (t.modifiersData[f]._skip = !0, t.placement = w, t.reset = !0);
15968
15973
  }
15969
15974
  }
15970
15975
  var oA = {
@@ -16066,28 +16071,28 @@ function pA(e) {
16066
16071
  rootBoundary: A,
16067
16072
  padding: d,
16068
16073
  altBoundary: g
16069
- }), x = Te(t.placement), V = ot(t.placement), j = !V, O = mf(x), I = mA(O), S = t.modifiersData.popperOffsets, C = t.rects.reference, _ = t.rects.popper, k = typeof y == "function" ? y(Object.assign({}, t.rects, {
16074
+ }), x = Te(t.placement), V = ot(t.placement), j = !V, O = mf(x), I = mA(O), S = t.modifiersData.popperOffsets, C = t.rects.reference, _ = t.rects.popper, w = typeof y == "function" ? y(Object.assign({}, t.rects, {
16070
16075
  placement: t.placement
16071
- })) : y, T = typeof k == "number" ? {
16072
- mainAxis: k,
16073
- altAxis: k
16076
+ })) : y, D = typeof w == "number" ? {
16077
+ mainAxis: w,
16078
+ altAxis: w
16074
16079
  } : Object.assign({
16075
16080
  mainAxis: 0,
16076
16081
  altAxis: 0
16077
- }, k), E = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, U = {
16082
+ }, w), T = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, U = {
16078
16083
  x: 0,
16079
16084
  y: 0
16080
16085
  };
16081
16086
  if (S) {
16082
16087
  if (s) {
16083
- var $, J = O === "y" ? ce : ue, oe = O === "y" ? Me : _e, G = O === "y" ? "height" : "width", fe = S[O], Je = fe + h[J], he = fe - h[oe], Ge = M ? -_[G] / 2 : 0, Ze = V === ft ? C[G] : _[G], ze = V === ft ? -_[G] : -C[G], Ye = t.elements.arrow, Oe = M && Ye ? gf(Ye) : {
16088
+ var $, J = O === "y" ? ce : ue, oe = O === "y" ? Me : _e, Z = O === "y" ? "height" : "width", fe = S[O], Je = fe + h[J], he = fe - h[oe], Ge = M ? -_[Z] / 2 : 0, Ze = V === ft ? C[Z] : _[Z], ze = V === ft ? -_[Z] : -C[Z], Ye = t.elements.arrow, Oe = M && Ye ? gf(Ye) : {
16084
16089
  width: 0,
16085
16090
  height: 0
16086
- }, z = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ka(), H = z[J], Y = z[oe], ie = It(0, C[G], Oe[G]), Ne = j ? C[G] / 2 - Ge - ie - H - T.mainAxis : Ze - ie - H - T.mainAxis, Pe = j ? -C[G] / 2 + Ge + ie + Y + T.mainAxis : ze + ie + Y + T.mainAxis, Dn = t.elements.arrow && Ct(t.elements.arrow), Ca = Dn ? O === "y" ? Dn.clientTop || 0 : Dn.clientLeft || 0 : 0, bf = ($ = E == null ? void 0 : E[O]) != null ? $ : 0, za = fe + Ne - bf - Ca, Oa = fe + Pe - bf, Mf = It(M ? _n(Je, za) : Je, fe, M ? He(he, Oa) : he);
16091
+ }, z = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ka(), H = z[J], Y = z[oe], ie = It(0, C[Z], Oe[Z]), Ne = j ? C[Z] / 2 - Ge - ie - H - D.mainAxis : Ze - ie - H - D.mainAxis, Pe = j ? -C[Z] / 2 + Ge + ie + Y + D.mainAxis : ze + ie + Y + D.mainAxis, Dn = t.elements.arrow && Ct(t.elements.arrow), Ca = Dn ? O === "y" ? Dn.clientTop || 0 : Dn.clientLeft || 0 : 0, bf = ($ = T == null ? void 0 : T[O]) != null ? $ : 0, za = fe + Ne - bf - Ca, Oa = fe + Pe - bf, Mf = It(M ? _n(Je, za) : Je, fe, M ? He(he, Oa) : he);
16087
16092
  S[O] = Mf, U[O] = Mf - fe;
16088
16093
  }
16089
16094
  if (l) {
16090
- var _f, La = O === "x" ? ce : ue, Ua = O === "x" ? Me : _e, Fe = S[I], Ut = I === "y" ? "height" : "width", If = Fe + h[La], wf = Fe - h[Ua], En = [ce, ue].indexOf(x) !== -1, kf = (_f = E == null ? void 0 : E[I]) != null ? _f : 0, Nf = En ? If : Fe - C[Ut] - _[Ut] - kf + T.altAxis, Df = En ? Fe + C[Ut] + _[Ut] - kf - T.altAxis : wf, Ef = M && En ? Rr(Nf, Fe, Df) : It(M ? Nf : If, Fe, M ? Df : wf);
16095
+ var _f, La = O === "x" ? ce : ue, Ua = O === "x" ? Me : _e, Fe = S[I], Ut = I === "y" ? "height" : "width", If = Fe + h[La], wf = Fe - h[Ua], En = [ce, ue].indexOf(x) !== -1, kf = (_f = T == null ? void 0 : T[I]) != null ? _f : 0, Nf = En ? If : Fe - C[Ut] - _[Ut] - kf + D.altAxis, Df = En ? Fe + C[Ut] + _[Ut] - kf - D.altAxis : wf, Ef = M && En ? Rr(Nf, Fe, Df) : It(M ? Nf : If, Fe, M ? Df : wf);
16091
16096
  S[I] = Ef, U[I] = Ef - Fe;
16092
16097
  }
16093
16098
  t.modifiersData[f] = U;
@@ -16226,19 +16231,19 @@ function NA(e) {
16226
16231
  g.rects = {
16227
16232
  reference: MA(V, Ct(j), g.options.strategy === "fixed"),
16228
16233
  popper: gf(j)
16229
- }, g.reset = !1, g.placement = g.options.placement, g.orderedModifiers.forEach(function(T) {
16230
- return g.modifiersData[T.name] = Object.assign({}, T.data);
16234
+ }, g.reset = !1, g.placement = g.options.placement, g.orderedModifiers.forEach(function(D) {
16235
+ return g.modifiersData[D.name] = Object.assign({}, D.data);
16231
16236
  });
16232
16237
  for (var O = 0; O < g.orderedModifiers.length; O++) {
16233
16238
  if (g.reset === !0) {
16234
16239
  g.reset = !1, O = -1;
16235
16240
  continue;
16236
16241
  }
16237
- var I = g.orderedModifiers[O], S = I.fn, C = I.options, _ = C === void 0 ? {} : C, k = I.name;
16242
+ var I = g.orderedModifiers[O], S = I.fn, C = I.options, _ = C === void 0 ? {} : C, w = I.name;
16238
16243
  typeof S == "function" && (g = S({
16239
16244
  state: g,
16240
16245
  options: _,
16241
- name: k,
16246
+ name: w,
16242
16247
  instance: M
16243
16248
  }) || g);
16244
16249
  }
@@ -16359,7 +16364,7 @@ const jA = W({
16359
16364
  const x = (h = p == null ? void 0 : p.target) == null ? void 0 : h.closest("button");
16360
16365
  x && (x.innerHTML = `<span>${Ht(y)}</span>`);
16361
16366
  }
16362
- return X(
16367
+ return G(
16363
16368
  () => e.activeGroup,
16364
16369
  () => {
16365
16370
  var p;
@@ -16403,7 +16408,7 @@ function UA(e, t, n, f, a, s) {
16403
16408
  e.hasGroupNames ? Ae((r(), u("h5", {
16404
16409
  key: 0,
16405
16410
  class: L(e.isSticky ? "v3-sticky" : "")
16406
- }, D(e.groupNames[i]), 3)), [
16411
+ }, E(e.groupNames[i]), 3)), [
16407
16412
  [We, e.emojis[i]]
16408
16413
  ]) : v("", !0),
16409
16414
  Ae(o("div", SA, [
@@ -16413,7 +16418,7 @@ function UA(e, t, n, f, a, s) {
16413
16418
  onMouseenter: (c) => e.handleMouseEnter(l),
16414
16419
  onClick: (c) => e.handleClick(l)
16415
16420
  }, [
16416
- e.native ? (r(), u("span", zA, D(e.unicodeToEmoji(l.r)), 1)) : (r(), u("img", {
16421
+ e.native ? (r(), u("span", zA, E(e.unicodeToEmoji(l.r)), 1)) : (r(), u("img", {
16417
16422
  key: 1,
16418
16423
  src: e.EMOJI_REMOTE_SRC + `/${l.r}.png`,
16419
16424
  alt: l.n[0],
@@ -16534,7 +16539,7 @@ const sc = W({
16534
16539
  function d(m) {
16535
16540
  t(m), A(!1);
16536
16541
  }
16537
- return X(
16542
+ return G(
16538
16543
  () => e.emoji,
16539
16544
  () => {
16540
16545
  f.value = !1;
@@ -16567,14 +16572,14 @@ function uc(e, t, n, f, a, s) {
16567
16572
  o("span", {
16568
16573
  class: L([e.platform, "v3-icon"])
16569
16574
  }, [
16570
- e.native || e.hasError ? (r(), u("span", oc, D(e.unicodeToEmoji(e.emoji.r)), 1)) : (r(), u("img", {
16575
+ e.native || e.hasError ? (r(), u("span", oc, E(e.unicodeToEmoji(e.emoji.r)), 1)) : (r(), u("img", {
16571
16576
  key: 1,
16572
16577
  alt: e.unicodeToEmoji(e.emoji.r),
16573
16578
  src: e.emoji.src,
16574
16579
  onError: t[0] || (t[0] = (i) => e.hasError = !0)
16575
16580
  }, null, 40, lc))
16576
16581
  ], 2),
16577
- o("span", rc, " :" + D(e.emoji[e.EMOJI_NAME_KEY][1] || e.emoji[e.EMOJI_NAME_KEY][0]) + ": ", 1)
16582
+ o("span", rc, " :" + E(e.emoji[e.EMOJI_NAME_KEY][1] || e.emoji[e.EMOJI_NAME_KEY][0]) + ": ", 1)
16578
16583
  ]),
16579
16584
  e.hasSkinTones ? (r(), u(q, { key: 0 }, [
16580
16585
  o("button", {
@@ -16582,7 +16587,7 @@ function uc(e, t, n, f, a, s) {
16582
16587
  class: "v3-tone",
16583
16588
  onClick: t[1] || (t[1] = (...i) => e.toggleSkinToneState && e.toggleSkinToneState(...i))
16584
16589
  }, [
16585
- o("span", Ac, D(e.skinToneText), 1),
16590
+ o("span", Ac, E(e.skinToneText), 1),
16586
16591
  o("span", {
16587
16592
  class: L(`v3-icon v3-tone-${e.stateSkinTone}`)
16588
16593
  }, null, 2)
@@ -16921,7 +16926,7 @@ const kc = {
16921
16926
  }, p[0] || (p[0] = [
16922
16927
  o("span", { class: "pi pi-face-smile" }, null, -1)
16923
16928
  ]), 34)),
16924
- F(Z, null, {
16929
+ F(X, null, {
16925
16930
  default: K(() => [
16926
16931
  o("div", {
16927
16932
  ref_key: "emoji",
@@ -16942,7 +16947,7 @@ const kc = {
16942
16947
  })
16943
16948
  ], 64));
16944
16949
  }
16945
- }, Cg = /* @__PURE__ */ R(kc, [["__scopeId", "data-v-83befe43"]]), Nc = { class: "context-menu__container" }, Dc = { class: "context-menu__list" }, Ec = ["onClick"], Tc = ["src"], jc = {
16950
+ }, Og = /* @__PURE__ */ R(kc, [["__scopeId", "data-v-83befe43"]]), Nc = { class: "context-menu__container" }, Dc = { class: "context-menu__list" }, Ec = ["onClick"], Tc = ["src"], jc = {
16946
16951
  __name: "ContextMenu",
16947
16952
  props: {
16948
16953
  actions: {
@@ -16972,12 +16977,12 @@ const kc = {
16972
16977
  key: 1,
16973
16978
  class: L("pi pi-" + l.prime)
16974
16979
  }, null, 2)) : v("", !0),
16975
- o("span", null, D(l.title), 1)
16980
+ o("span", null, E(l.title), 1)
16976
16981
  ], 8, Ec))), 128))
16977
16982
  ])
16978
16983
  ]));
16979
16984
  }
16980
- }, $e = /* @__PURE__ */ R(jc, [["__scopeId", "data-v-4e549bc3"]]), mt = b([]), xc = (e) => {
16985
+ }, $e = /* @__PURE__ */ R(jc, [["__scopeId", "data-v-688106b2"]]), mt = b([]), xc = (e) => {
16981
16986
  const t = b(0);
16982
16987
  let n = mt.value.find(({ id: a }) => a == e);
16983
16988
  return n != null ? t.value = mt.value.indexOf(n) : (mt.value.push({
@@ -17012,7 +17017,7 @@ const Sc = { class: "feed-search__container" }, Cc = { style: { "line-height": "
17012
17017
  if (s.isFeedLocation) return "40px";
17013
17018
  if (!s.isFeedLocation) return "20px";
17014
17019
  });
17015
- X(
17020
+ G(
17016
17021
  () => [f().text, l.value],
17017
17022
  () => {
17018
17023
  l.value == f().text ? a("search", f().text) : l.value = f().text;
@@ -17025,10 +17030,10 @@ const Sc = { class: "feed-search__container" }, Cc = { style: { "line-height": "
17025
17030
  return le(() => {
17026
17031
  const g = N(i);
17027
17032
  g == null || g.focus();
17028
- }), (g, d) => (r(), B(Z, null, {
17033
+ }), (g, d) => (r(), B(X, null, {
17029
17034
  default: K(() => [
17030
17035
  o("div", Sc, [
17031
- o("span", Cc, D(N(pe)("component.FeedSearch.SearchLabel")), 1),
17036
+ o("span", Cc, E(N(pe)("component.FeedSearch.SearchLabel")), 1),
17032
17037
  Ae(o("input", {
17033
17038
  ref_key: "refInput",
17034
17039
  ref: i,
@@ -17055,7 +17060,7 @@ const Sc = { class: "feed-search__container" }, Cc = { style: { "line-height": "
17055
17060
  _: 1
17056
17061
  }));
17057
17062
  }
17058
- }), zg = /* @__PURE__ */ R(Oc, [["__scopeId", "data-v-d91a628f"]]), Lc = { class: "feed-found-item__avatar-container" }, Uc = ["src"], Bc = {
17063
+ }), Lg = /* @__PURE__ */ R(Oc, [["__scopeId", "data-v-d91a628f"]]), Lc = { class: "feed-found-item__avatar-container" }, Uc = ["src"], Bc = {
17059
17064
  key: 1,
17060
17065
  class: "pi pi-user"
17061
17066
  }, Rc = { class: "feed-found-item__info" }, Qc = { class: "feed-found-item__first-line" }, $c = { class: "feed-found-item__name" }, Yc = { class: "feed-found-item__time" }, Pc = { class: "feed-found-item__second-line" }, Fc = ["src"], qc = /* @__PURE__ */ W({
@@ -17093,8 +17098,8 @@ const Sc = { class: "feed-search__container" }, Cc = { style: { "line-height": "
17093
17098
  ]),
17094
17099
  o("div", Rc, [
17095
17100
  o("div", Qc, [
17096
- o("p", $c, D(e.object.subtext), 1),
17097
- o("p", Yc, D(e.object.time), 1)
17101
+ o("p", $c, E(e.object.subtext), 1),
17102
+ o("p", Yc, E(e.object.time), 1)
17098
17103
  ]),
17099
17104
  o("div", Pc, [
17100
17105
  e.object.type == "message.image" ? (r(), u("img", {
@@ -17109,7 +17114,7 @@ const Sc = { class: "feed-search__container" }, Cc = { style: { "line-height": "
17109
17114
  class: L(n.value),
17110
17115
  style: { "margin-right": "3px", "font-size": "20px" }
17111
17116
  }, null, 2)) : v("", !0),
17112
- o("p", null, D(e.object.text), 1)
17117
+ o("p", null, E(e.object.text), 1)
17113
17118
  ])
17114
17119
  ])
17115
17120
  ], 2));
@@ -17146,7 +17151,7 @@ const Sc = { class: "feed-search__container" }, Cc = { style: { "line-height": "
17146
17151
  A.scrollHeight - A.scrollTop - A.clientHeight <= 0 && n("loadMore");
17147
17152
  };
17148
17153
  return (A, g) => (r(), u(q, null, [
17149
- o("h3", Wc, D(N(pe)("component.FeedFoundObjects.results")) + ": " + D(e.foundAmount), 1),
17154
+ o("h3", Wc, E(N(pe)("component.FeedFoundObjects.results")) + ": " + E(e.foundAmount), 1),
17150
17155
  e.foundAmount > 0 ? (r(), u("div", {
17151
17156
  key: 0,
17152
17157
  class: "feed-found-objects__items",
@@ -17163,11 +17168,11 @@ const Sc = { class: "feed-search__container" }, Cc = { style: { "line-height": "
17163
17168
  }, null, 8, ["object", "selected"])
17164
17169
  ], 8, Kc))), 256))
17165
17170
  ], 544)) : e.foundAmount == 0 ? (r(), u("div", Jc, [
17166
- o("p", null, D(i.value), 1)
17171
+ o("p", null, E(i.value), 1)
17167
17172
  ])) : v("", !0)
17168
17173
  ], 64));
17169
17174
  }
17170
- }), Og = /* @__PURE__ */ R(Gc, [["__scopeId", "data-v-c32de248"]]), Zc = { class: "audio-recorder__container" }, Xc = { key: 0 }, eu = {
17175
+ }), Ug = /* @__PURE__ */ R(Gc, [["__scopeId", "data-v-c32de248"]]), Zc = { class: "audio-recorder__container" }, Xc = { key: 0 }, eu = {
17171
17176
  key: 1,
17172
17177
  class: "audio-recorder__recording-container"
17173
17178
  }, tu = { class: "audio-recorder__recording-time" }, nu = /* @__PURE__ */ W({
@@ -17185,33 +17190,33 @@ const Sc = { class: "feed-search__container" }, Cc = { style: { "line-height": "
17185
17190
  emits: ["send", "typing"],
17186
17191
  setup(e, { emit: t }) {
17187
17192
  const n = ee("chatAppId"), { getMessage: f, setMessageFile: a, resetMessageFile: s, setRecordingMessage: i } = Ie(n), l = b(), c = b(0), A = b(0), g = b(0), d = b(0), m = Q(() => {
17188
- let k = d.value < 10 ? "0" + d.value : d.value, T = g.value < 10 ? "0" + g.value : g.value, E = A.value < 10 ? "0" + A.value : A.value, U = c.value < 10 ? "00" + c.value : c.value < 100 ? "0" + c.value : c.value;
17189
- return k + ":" + T + ":" + E + ":" + U;
17193
+ let w = d.value < 10 ? "0" + d.value : d.value, D = g.value < 10 ? "0" + g.value : g.value, T = A.value < 10 ? "0" + A.value : A.value, U = c.value < 10 ? "00" + c.value : c.value < 100 ? "0" + c.value : c.value;
17194
+ return w + ":" + D + ":" + T + ":" + U;
17190
17195
  }), M = b(""), p = b(!1), y = b(), h = b([]), x = b(), V = b(), j = e, O = async () => {
17191
- const k = await navigator.mediaDevices.getUserMedia({ audio: !0, video: !1 });
17196
+ const w = await navigator.mediaDevices.getUserMedia({ audio: !0, video: !1 });
17192
17197
  l.value = setInterval(() => {
17193
17198
  c.value += 10, c.value == 1e3 && (c.value = 0, A.value++, A.value == 60 && (A.value = 0, g.value++, g.value == 60 && (g.value = 0, d.value++)));
17194
- }, 10), i(!0), p.value = !0, y.value = new MediaRecorder(k), y.value.start(), y.value.ondataavailable = (T) => {
17195
- h.value.push(T.data);
17199
+ }, 10), i(!0), p.value = !0, y.value = new MediaRecorder(w), y.value.start(), y.value.ondataavailable = (D) => {
17200
+ h.value.push(D.data);
17196
17201
  };
17197
17202
  }, I = () => {
17198
17203
  C(), x.value = void 0;
17199
17204
  }, S = () => {
17200
17205
  y.value && (y.value.stop(), y.value.onstop = async () => {
17201
- const k = new File(h.value, "voicemessage.mp3", { type: "audio/*" }), T = URL.createObjectURL(k);
17202
- x.value = T, M.value = "uploading", await xt(j.filebumpUrl, k).then((E) => {
17203
- M.value = E.status, E.status == "success" && (a({
17204
- url: E.url,
17205
- name: E.name,
17206
- size: E.size,
17207
- type: E.type
17208
- }), E.preview && (V.value = {
17209
- previewUrl: E.preview.previewUrl,
17210
- isImage: E.preview.isImage,
17211
- isVideo: E.preview.isVideo,
17212
- isAudio: E.preview.isAudio,
17213
- fileName: E.name,
17214
- fileSize: E.preview.fileSize
17206
+ const w = new File(h.value, "voicemessage.mp3", { type: "audio/*" }), D = URL.createObjectURL(w);
17207
+ x.value = D, M.value = "uploading", await xt(j.filebumpUrl, w).then((T) => {
17208
+ M.value = T.status, T.status == "success" && (a({
17209
+ url: T.url,
17210
+ name: T.name,
17211
+ size: T.size,
17212
+ type: T.type
17213
+ }), T.preview && (V.value = {
17214
+ previewUrl: T.preview.previewUrl,
17215
+ isImage: T.preview.isImage,
17216
+ isVideo: T.preview.isVideo,
17217
+ isAudio: T.preview.isAudio,
17218
+ fileName: T.name,
17219
+ fileSize: T.preview.fileSize
17215
17220
  }));
17216
17221
  });
17217
17222
  }), C();
@@ -17220,23 +17225,28 @@ const Sc = { class: "feed-search__container" }, Cc = { style: { "line-height": "
17220
17225
  }, _ = () => {
17221
17226
  s(), V.value = void 0;
17222
17227
  };
17223
- return (k, T) => (r(), u("div", Zc, [
17224
- M.value === "uploading" ? (r(), u("div", Xc, T[0] || (T[0] = [
17228
+ return G(
17229
+ () => f().file,
17230
+ () => {
17231
+ f().file || (V.value = void 0);
17232
+ }
17233
+ ), (w, D) => (r(), u("div", Zc, [
17234
+ M.value === "uploading" ? (r(), u("div", Xc, D[0] || (D[0] = [
17225
17235
  o("p", null, "Загрузка файла...", -1)
17226
17236
  ]))) : v("", !0),
17227
17237
  p.value && M.value != "uploading" ? (r(), u("div", eu, [
17228
- T[3] || (T[3] = o("span", { class: "audio-recorder__recording-icon pi pi-circle-fill" }, null, -1)),
17229
- o("span", tu, D(m.value), 1),
17238
+ D[3] || (D[3] = o("span", { class: "audio-recorder__recording-icon pi pi-circle-fill" }, null, -1)),
17239
+ o("span", tu, E(m.value), 1),
17230
17240
  o("button", {
17231
17241
  class: "audio-recorder__button audio-recorder__button-record",
17232
17242
  onClick: I
17233
- }, T[1] || (T[1] = [
17243
+ }, D[1] || (D[1] = [
17234
17244
  o("span", { class: "pi pi-trash" }, null, -1)
17235
17245
  ])),
17236
17246
  o("button", {
17237
17247
  class: "audio-recorder__button audio-recorder__button-record",
17238
17248
  onClick: S
17239
- }, T[2] || (T[2] = [
17249
+ }, D[2] || (D[2] = [
17240
17250
  o("span", { class: "pi pi-stop" }, null, -1)
17241
17251
  ]))
17242
17252
  ])) : v("", !0),
@@ -17244,7 +17254,7 @@ const Sc = { class: "feed-search__container" }, Cc = { style: { "line-height": "
17244
17254
  key: 2,
17245
17255
  class: L(["audio-recorder__button", { "audio-recorder__button-disabled": e.state == "disabled" }]),
17246
17256
  onClick: O
17247
- }, T[4] || (T[4] = [
17257
+ }, D[4] || (D[4] = [
17248
17258
  o("span", { class: "pi pi-microphone" }, null, -1)
17249
17259
  ]), 2)) : v("", !0),
17250
17260
  N(f)().file ? (r(), B(de, {
@@ -17259,7 +17269,7 @@ const Sc = { class: "feed-search__container" }, Cc = { style: { "line-height": "
17259
17269
  ], 8, ["to"])) : v("", !0)
17260
17270
  ]));
17261
17271
  }
17262
- }), Lg = /* @__PURE__ */ R(nu, [["__scopeId", "data-v-3858ecbb"]]);
17272
+ }), Bg = /* @__PURE__ */ R(nu, [["__scopeId", "data-v-1eaeb015"]]);
17263
17273
  function Ot({ component: e, attrs: t, Modal: n, modalAttrs: f }) {
17264
17274
  return new Promise((a) => {
17265
17275
  const s = document.createElement("div");
@@ -17320,7 +17330,7 @@ const fu = ["data-theme"], au = {
17320
17330
  const n = t, f = (a) => {
17321
17331
  a.target.classList.contains("modal-backdrop") && n("close");
17322
17332
  };
17323
- return (a, s) => (r(), B(Z, { name: "modal-fade" }, {
17333
+ return (a, s) => (r(), B(X, { name: "modal-fade" }, {
17324
17334
  default: K(() => [
17325
17335
  o("div", {
17326
17336
  class: "modal-backdrop",
@@ -17351,10 +17361,10 @@ const fu = ["data-theme"], au = {
17351
17361
  _: 3
17352
17362
  }));
17353
17363
  }
17354
- }, yf = /* @__PURE__ */ R(ou, [["__scopeId", "data-v-a44139f6"]]), Ug = async (e, t) => {
17364
+ }, yf = /* @__PURE__ */ R(ou, [["__scopeId", "data-v-a44139f6"]]), Rg = async (e, t) => {
17355
17365
  const n = await Ot({
17356
17366
  //в component должен быть встроен emit change(key: value)
17357
- component: import("./SelectUser2-DZ17DPV8.js"),
17367
+ component: import("./SelectUser2-Dh0iT8VG.js"),
17358
17368
  attrs: {
17359
17369
  title: e,
17360
17370
  users: t
@@ -17363,7 +17373,7 @@ const fu = ["data-theme"], au = {
17363
17373
  modalAttrs: {}
17364
17374
  });
17365
17375
  return console.log("data", n), n;
17366
- }, Bg = async (e) => {
17376
+ }, Qg = async (e) => {
17367
17377
  const t = await Ot({
17368
17378
  //в component должен быть встроен emit change(key: value)
17369
17379
  component: import("./CreateChat-fkFKBxtQ.js"),
@@ -17374,7 +17384,7 @@ const fu = ["data-theme"], au = {
17374
17384
  modalAttrs: {}
17375
17385
  });
17376
17386
  return console.log("data", t), t;
17377
- }, Rg = async (e) => await Ot({
17387
+ }, $g = async (e) => await Ot({
17378
17388
  //в component должен быть встроен emit change(key: value)
17379
17389
  component: import("./CreateChat2-DgUQ2F5L.js"),
17380
17390
  attrs: {
@@ -17404,7 +17414,7 @@ const fu = ["data-theme"], au = {
17404
17414
  const n = t, f = (a) => {
17405
17415
  a.target.classList.contains("modal-backdrop") && n("close");
17406
17416
  };
17407
- return (a, s) => (r(), B(Z, { name: "modal-fade" }, {
17417
+ return (a, s) => (r(), B(X, { name: "modal-fade" }, {
17408
17418
  default: K(() => [
17409
17419
  o("div", {
17410
17420
  "data-theme": e.theme,
@@ -17421,9 +17431,9 @@ const fu = ["data-theme"], au = {
17421
17431
  _: 3
17422
17432
  }));
17423
17433
  }
17424
- }, Sa = /* @__PURE__ */ R(cu, [["__scopeId", "data-v-564d1d1f"]]), Qg = async (e, t, n, f, a) => await Ot({
17434
+ }, Sa = /* @__PURE__ */ R(cu, [["__scopeId", "data-v-564d1d1f"]]), Yg = async (e, t, n, f, a) => await Ot({
17425
17435
  //в component должен быть встроен emit change(key: value)
17426
- component: import("./CreateDialog-Dqz60DCK.js"),
17436
+ component: import("./CreateDialog-B6jGQRqu.js"),
17427
17437
  attrs: {
17428
17438
  title: e,
17429
17439
  name: t,
@@ -17436,7 +17446,7 @@ const fu = ["data-theme"], au = {
17436
17446
  }
17437
17447
  }), uu = async (e) => await Ot({
17438
17448
  //в component должен быть встроен emit change(key: value)
17439
- component: import("./ModalVideoRecorder-ojrInMMa.js"),
17449
+ component: import("./ModalVideoRecorder-CFOG3bF2.js"),
17440
17450
  attrs: {},
17441
17451
  Modal: Sa,
17442
17452
  modalAttrs: {
@@ -17482,7 +17492,12 @@ const fu = ["data-theme"], au = {
17482
17492
  }, g = () => {
17483
17493
  s(), l.value = void 0;
17484
17494
  };
17485
- return (d, m) => (r(), u(q, null, [
17495
+ return G(
17496
+ () => n().file,
17497
+ () => {
17498
+ n().file || (l.value = void 0);
17499
+ }
17500
+ ), (d, m) => (r(), u(q, null, [
17486
17501
  N(n)().isRecording ? v("", !0) : (r(), u("div", du, [
17487
17502
  i.value != "uploading" ? (r(), u("button", {
17488
17503
  key: 0,
@@ -17507,7 +17522,7 @@ const fu = ["data-theme"], au = {
17507
17522
  ], 8, ["to"])) : v("", !0)
17508
17523
  ], 64));
17509
17524
  }
17510
- }), $g = /* @__PURE__ */ R(mu, [["__scopeId", "data-v-dfc0c350"]]), ct = /* @__PURE__ */ W({
17525
+ }), Pg = /* @__PURE__ */ R(mu, [["__scopeId", "data-v-8791b8ed"]]), ct = /* @__PURE__ */ W({
17511
17526
  __name: "BaseReplyMessage",
17512
17527
  props: {
17513
17528
  message: {
@@ -17564,8 +17579,8 @@ const fu = ["data-theme"], au = {
17564
17579
  href: e.linkPreview.url,
17565
17580
  target: "_blank"
17566
17581
  }, [
17567
- o("p", yu, D(e.linkPreview.title), 1),
17568
- o("p", bu, D(e.linkPreview.description), 1),
17582
+ o("p", yu, E(e.linkPreview.title), 1),
17583
+ o("p", bu, E(e.linkPreview.description), 1),
17569
17584
  o("img", {
17570
17585
  class: "link-preview__image",
17571
17586
  src: e.linkPreview.imageUrl,
@@ -17595,7 +17610,7 @@ const fu = ["data-theme"], au = {
17595
17610
  emits: ["action", "reply"],
17596
17611
  setup(e, { emit: t }) {
17597
17612
  const n = e, f = t, a = b(!1), s = b(!1), i = b("");
17598
- X(
17613
+ G(
17599
17614
  () => n.message.text,
17600
17615
  () => {
17601
17616
  n.message.text && (i.value = we(n.message.text));
@@ -17632,7 +17647,7 @@ const fu = ["data-theme"], au = {
17632
17647
  width: "32",
17633
17648
  style: se({ gridRow: e.message.subText ? "2" : "1" })
17634
17649
  }, null, 12, wu)) : v("", !0),
17635
- e.message.subText ? (r(), u("p", ku, D(e.message.subText), 1)) : v("", !0),
17650
+ e.message.subText ? (r(), u("p", ku, E(e.message.subText), 1)) : v("", !0),
17636
17651
  o("div", {
17637
17652
  class: "file-message__content",
17638
17653
  style: se({ gridRow: e.message.subText ? "2" : "1" }),
@@ -17651,7 +17666,7 @@ const fu = ["data-theme"], au = {
17651
17666
  target: "_blank"
17652
17667
  }, [
17653
17668
  h[1] || (h[1] = o("span", { class: "pi pi-file" }, null, -1)),
17654
- o("p", Du, D(e.message.filename), 1),
17669
+ o("p", Du, E(e.message.filename), 1),
17655
17670
  h[2] || (h[2] = o("div", { class: "file-message__download-button" }, [
17656
17671
  o("span", { class: "pi pi-download" })
17657
17672
  ], -1))
@@ -17674,9 +17689,9 @@ const fu = ["data-theme"], au = {
17674
17689
  class: "file-message__views"
17675
17690
  }, [
17676
17691
  h[3] || (h[3] = o("span", { class: "pi pi-eye" }, null, -1)),
17677
- o("p", null, D(e.message.views), 1)
17692
+ o("p", null, E(e.message.views), 1)
17678
17693
  ])) : v("", !0),
17679
- o("span", xu, D(e.message.time), 1),
17694
+ o("span", xu, E(e.message.time), 1),
17680
17695
  p(e.message) === "file-message__right" && N(rt).includes(e.message.status) ? (r(), u("div", {
17681
17696
  key: 1,
17682
17697
  class: L(["file-message__status", M.value])
@@ -17692,7 +17707,7 @@ const fu = ["data-theme"], au = {
17692
17707
  }, h[5] || (h[5] = [
17693
17708
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
17694
17709
  ]))) : v("", !0),
17695
- F(Z, null, {
17710
+ F(X, null, {
17696
17711
  default: K(() => [
17697
17712
  a.value && e.message.actions ? (r(), B(N($e), {
17698
17713
  key: 0,
@@ -17729,7 +17744,7 @@ const fu = ["data-theme"], au = {
17729
17744
  emits: ["action", "reply"],
17730
17745
  setup(e, { emit: t }) {
17731
17746
  const n = e, f = t, a = b(!1), s = b(!1), i = b(!1), l = b(!1), c = b("");
17732
- X(
17747
+ G(
17733
17748
  () => n.message.text,
17734
17749
  () => {
17735
17750
  n.message.text && (c.value = we(n.message.text));
@@ -17772,7 +17787,7 @@ const fu = ["data-theme"], au = {
17772
17787
  height: "32",
17773
17788
  width: "32"
17774
17789
  }, null, 8, Ou)) : v("", !0),
17775
- e.message.subText ? (r(), u("p", Lu, D(e.message.subText), 1)) : v("", !0),
17790
+ e.message.subText ? (r(), u("p", Lu, E(e.message.subText), 1)) : v("", !0),
17776
17791
  o("div", Uu, [
17777
17792
  e.message.reply ? (r(), B(ct, {
17778
17793
  key: 0,
@@ -17793,7 +17808,7 @@ const fu = ["data-theme"], au = {
17793
17808
  src: e.message.url,
17794
17809
  alt: e.message.alt
17795
17810
  }, null, 12, Bu),
17796
- F(Z, { name: "modal-fade" }, {
17811
+ F(X, { name: "modal-fade" }, {
17797
17812
  default: K(() => [
17798
17813
  l.value ? (r(), u("div", Ru, [
17799
17814
  e.message.views ? (r(), u("div", {
@@ -17802,9 +17817,9 @@ const fu = ["data-theme"], au = {
17802
17817
  class: "image-message__views"
17803
17818
  }, [
17804
17819
  I[3] || (I[3] = o("span", { class: "pi pi-eye" }, null, -1)),
17805
- o("p", null, D(e.message.views), 1)
17820
+ o("p", null, E(e.message.views), 1)
17806
17821
  ])) : v("", !0),
17807
- o("span", Qu, D(e.message.time), 1),
17822
+ o("span", Qu, E(e.message.time), 1),
17808
17823
  x(e.message) === "image-message__right" && N(rt).includes(e.message.status) ? (r(), u("div", {
17809
17824
  key: 1,
17810
17825
  class: L(["image-message__status", h.value])
@@ -17816,7 +17831,7 @@ const fu = ["data-theme"], au = {
17816
17831
  ]),
17817
17832
  _: 1
17818
17833
  }),
17819
- F(Z, { name: "modal-fade" }, {
17834
+ F(X, { name: "modal-fade" }, {
17820
17835
  default: K(() => [
17821
17836
  l.value ? (r(), u("a", {
17822
17837
  key: 0,
@@ -17832,7 +17847,7 @@ const fu = ["data-theme"], au = {
17832
17847
  _: 1
17833
17848
  })
17834
17849
  ], 32),
17835
- F(Z, { name: "modal-fade" }, {
17850
+ F(X, { name: "modal-fade" }, {
17836
17851
  default: K(() => [
17837
17852
  i.value && e.message.actions ? (r(), u("button", {
17838
17853
  key: 0,
@@ -17844,7 +17859,7 @@ const fu = ["data-theme"], au = {
17844
17859
  ]),
17845
17860
  _: 1
17846
17861
  }),
17847
- F(Z, { name: "context-menu" }, {
17862
+ F(X, { name: "context-menu" }, {
17848
17863
  default: K(() => [
17849
17864
  s.value && e.message.actions ? (r(), B(N($e), {
17850
17865
  key: 0,
@@ -17868,7 +17883,7 @@ const fu = ["data-theme"], au = {
17868
17883
  }, null, 8, ["class", "linkPreview"])) : v("", !0)
17869
17884
  ]),
17870
17885
  (r(), B(de, { to: "body" }, [
17871
- F(Z, { name: "modal-fade" }, {
17886
+ F(X, { name: "modal-fade" }, {
17872
17887
  default: K(() => [
17873
17888
  a.value ? (r(), B(lf, {
17874
17889
  key: 0,
@@ -17909,7 +17924,7 @@ const fu = ["data-theme"], au = {
17909
17924
  emits: ["action", "reply"],
17910
17925
  setup(e, { emit: t }) {
17911
17926
  const n = e, f = t, a = b(!1), s = b(!1), i = b("");
17912
- X(
17927
+ G(
17913
17928
  () => n.message.text,
17914
17929
  () => {
17915
17930
  i.value = we(n.message.text);
@@ -17947,7 +17962,7 @@ const fu = ["data-theme"], au = {
17947
17962
  width: "32",
17948
17963
  style: se({ gridRow: e.message.subText ? "2" : "1" })
17949
17964
  }, null, 12, Ju)) : v("", !0),
17950
- e.message.subText ? (r(), u("p", Gu, D(e.message.subText), 1)) : v("", !0),
17965
+ e.message.subText ? (r(), u("p", Gu, E(e.message.subText), 1)) : v("", !0),
17951
17966
  o("div", {
17952
17967
  class: "text-message__content",
17953
17968
  onMouseenter: A
@@ -17975,9 +17990,9 @@ const fu = ["data-theme"], au = {
17975
17990
  onClick: M
17976
17991
  }, [
17977
17992
  h[1] || (h[1] = o("span", { class: "pi pi-eye" }, null, -1)),
17978
- o("p", null, D(e.message.views), 1)
17993
+ o("p", null, E(e.message.views), 1)
17979
17994
  ])) : v("", !0),
17980
- e.message.time ? (r(), u("span", e1, D(e.message.time), 1)) : v("", !0),
17995
+ e.message.time ? (r(), u("span", e1, E(e.message.time), 1)) : v("", !0),
17981
17996
  p(e.message) === "text-message__right" && N(rt).includes(e.message.status) ? (r(), u("div", {
17982
17997
  key: 2,
17983
17998
  class: L(["text-message__status", d.value])
@@ -17993,7 +18008,7 @@ const fu = ["data-theme"], au = {
17993
18008
  }, h[3] || (h[3] = [
17994
18009
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
17995
18010
  ]))) : v("", !0),
17996
- F(Z, null, {
18011
+ F(X, null, {
17997
18012
  default: K(() => [
17998
18013
  a.value && e.message.actions ? (r(), B(N($e), {
17999
18014
  key: 0,
@@ -18053,17 +18068,17 @@ const fu = ["data-theme"], au = {
18053
18068
  speed: 2,
18054
18069
  selected: !1
18055
18070
  }
18056
- ]), a = (T) => {
18057
- for (let E of f.value)
18058
- E.selected = !1;
18059
- f.value[T].selected = !0, i.value && (i.value.playbackRate = f.value[T].speed);
18071
+ ]), a = (D) => {
18072
+ for (let T of f.value)
18073
+ T.selected = !1;
18074
+ f.value[D].selected = !0, i.value && (i.value.playbackRate = f.value[D].speed);
18060
18075
  }, s = t, i = b(), l = b(!1), c = b(0), A = b(0), g = b(!1), d = b(!1), m = b(!1), M = Q(() => {
18061
18076
  if (n.message.text) return we(n.message.text);
18062
- }), p = (T) => {
18063
- s("reply", T);
18077
+ }), p = (D) => {
18078
+ s("reply", D);
18064
18079
  };
18065
- function y(T) {
18066
- T.preventDefault(), T.target.href && window.open(T.target.href, "_blank");
18080
+ function y(D) {
18081
+ D.preventDefault(), D.target.href && window.open(D.target.href, "_blank");
18067
18082
  }
18068
18083
  const h = () => {
18069
18084
  d.value = !0;
@@ -18076,19 +18091,19 @@ const fu = ["data-theme"], au = {
18076
18091
  function I() {
18077
18092
  i.value && (l.value ? i.value.pause() : i.value.play(), l.value = !l.value);
18078
18093
  }
18079
- const S = (T) => {
18080
- const E = Math.floor(T / 60), U = Math.floor(T % 60);
18081
- return `${E.toString().padStart(2, "0")}:${U.toString().padStart(2, "0")}`;
18094
+ const S = (D) => {
18095
+ const T = Math.floor(D / 60), U = Math.floor(D % 60);
18096
+ return `${T.toString().padStart(2, "0")}:${U.toString().padStart(2, "0")}`;
18082
18097
  }, C = Q(() => i.value ? S(A.value) : "0:00");
18083
- X(
18098
+ G(
18084
18099
  () => A.value,
18085
18100
  () => {
18086
18101
  i.value && (i.value.duration != 1 / 0 && !Number.isNaN(i.value.duration) && (i.value.currentTime = A.value), A.value == c.value && (l.value = !1));
18087
18102
  }
18088
18103
  );
18089
18104
  const _ = Q(() => i.value ? S(c.value) : "0:00");
18090
- function k(T) {
18091
- return T.position === "left" ? "audio-message__left" : "audio-message__right";
18105
+ function w(D) {
18106
+ return D.position === "left" ? "audio-message__left" : "audio-message__right";
18092
18107
  }
18093
18108
  return le(() => {
18094
18109
  i.value != null && (i.value.addEventListener("loadedmetadata", () => {
@@ -18098,10 +18113,10 @@ const fu = ["data-theme"], au = {
18098
18113
  }), i.value.addEventListener("timeupdate", () => {
18099
18114
  A.value = i.value != null ? i.value.currentTime : 0;
18100
18115
  }));
18101
- }), (T, E) => {
18116
+ }), (D, T) => {
18102
18117
  var U;
18103
18118
  return r(), u("div", {
18104
- class: L(["audio-message", k(e.message)]),
18119
+ class: L(["audio-message", w(e.message)]),
18105
18120
  messageId: e.message.messageId,
18106
18121
  onMouseleave: x
18107
18122
  }, [
@@ -18113,7 +18128,7 @@ const fu = ["data-theme"], au = {
18113
18128
  width: "32",
18114
18129
  style: se({ gridRow: e.message.subText ? "2" : "1" })
18115
18130
  }, null, 12, s1)) : v("", !0),
18116
- e.message.subText ? (r(), u("p", i1, D(e.message.subText), 1)) : v("", !0),
18131
+ e.message.subText ? (r(), u("p", i1, E(e.message.subText), 1)) : v("", !0),
18117
18132
  o("div", {
18118
18133
  class: "audio-message__content",
18119
18134
  onMouseenter: h
@@ -18135,7 +18150,7 @@ const fu = ["data-theme"], au = {
18135
18150
  Ae(o("button", {
18136
18151
  class: "audio-message__play",
18137
18152
  onClick: I
18138
- }, E[4] || (E[4] = [
18153
+ }, T[4] || (T[4] = [
18139
18154
  o("span", { class: "pi pi-play" }, null, -1)
18140
18155
  ]), 512), [
18141
18156
  [We, !l.value]
@@ -18143,7 +18158,7 @@ const fu = ["data-theme"], au = {
18143
18158
  Ae(o("button", {
18144
18159
  class: "audio-message__pause",
18145
18160
  onClick: I
18146
- }, E[5] || (E[5] = [
18161
+ }, T[5] || (T[5] = [
18147
18162
  o("span", { class: "pi pi-pause" }, null, -1)
18148
18163
  ]), 512), [
18149
18164
  [We, l.value]
@@ -18154,17 +18169,17 @@ const fu = ["data-theme"], au = {
18154
18169
  min: 0,
18155
18170
  max: c.value,
18156
18171
  step: "0.1",
18157
- "onUpdate:modelValue": E[0] || (E[0] = ($) => A.value = $)
18172
+ "onUpdate:modelValue": T[0] || (T[0] = ($) => A.value = $)
18158
18173
  }, null, 8, r1), [
18159
18174
  [lt, A.value]
18160
18175
  ]),
18161
18176
  o("div", A1, [
18162
- o("p", c1, D(`${C.value} / ${_.value}`), 1),
18177
+ o("p", c1, E(`${C.value} / ${_.value}`), 1),
18163
18178
  o("div", u1, [
18164
18179
  (r(!0), u(q, null, te(f.value, ($, J) => (r(), u("p", {
18165
18180
  onClick: (oe) => a(J),
18166
18181
  class: L(["audio-message__speed-btn", { "audio-message__speed-btn-selected": $.selected }])
18167
- }, D($.text), 11, d1))), 256))
18182
+ }, E($.text), 11, d1))), 256))
18168
18183
  ])
18169
18184
  ]),
18170
18185
  o("a", {
@@ -18173,14 +18188,14 @@ const fu = ["data-theme"], au = {
18173
18188
  href: e.message.url,
18174
18189
  download: "",
18175
18190
  target: "_blank"
18176
- }, E[6] || (E[6] = [
18191
+ }, T[6] || (T[6] = [
18177
18192
  o("span", { class: "pi pi-download" }, null, -1)
18178
18193
  ]), 8, g1)
18179
18194
  ]),
18180
18195
  (U = e.message.transcript) != null && U.text ? (r(), u("div", m1, [
18181
18196
  o("p", {
18182
- onClick: E[1] || (E[1] = ($) => m.value = !m.value)
18183
- }, D(e.message.transcript.text), 1)
18197
+ onClick: T[1] || (T[1] = ($) => m.value = !m.value)
18198
+ }, E(e.message.transcript.text), 1)
18184
18199
  ])) : v("", !0),
18185
18200
  e.message.text ? (r(), u("div", p1, [
18186
18201
  o("p", {
@@ -18199,26 +18214,26 @@ const fu = ["data-theme"], au = {
18199
18214
  onClick: V,
18200
18215
  class: "audio-message__views"
18201
18216
  }, [
18202
- E[7] || (E[7] = o("span", { class: "pi pi-eye" }, null, -1)),
18203
- o("p", null, D(e.message.views), 1)
18217
+ T[7] || (T[7] = o("span", { class: "pi pi-eye" }, null, -1)),
18218
+ o("p", null, E(e.message.views), 1)
18204
18219
  ])) : v("", !0),
18205
- o("span", y1, D(e.message.time), 1),
18206
- k(e.message) === "audio-message__right" && N(rt).includes(e.message.status) ? (r(), u("div", {
18220
+ o("span", y1, E(e.message.time), 1),
18221
+ w(e.message) === "audio-message__right" && N(rt).includes(e.message.status) ? (r(), u("div", {
18207
18222
  key: 1,
18208
18223
  class: L(["audio-message__status", O.value])
18209
18224
  }, [
18210
18225
  e.message.status !== "sent" ? (r(), u("span", b1)) : v("", !0),
18211
- E[8] || (E[8] = o("span", { class: "pi pi-check" }, null, -1))
18226
+ T[8] || (T[8] = o("span", { class: "pi pi-check" }, null, -1))
18212
18227
  ], 2)) : v("", !0)
18213
18228
  ]),
18214
18229
  d.value && e.message.actions ? (r(), u("button", {
18215
18230
  key: 4,
18216
18231
  class: "audio-message__menu-button",
18217
- onClick: E[2] || (E[2] = ($) => g.value = !g.value)
18218
- }, E[9] || (E[9] = [
18232
+ onClick: T[2] || (T[2] = ($) => g.value = !g.value)
18233
+ }, T[9] || (T[9] = [
18219
18234
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
18220
18235
  ]))) : v("", !0),
18221
- F(Z, null, {
18236
+ F(X, null, {
18222
18237
  default: K(() => [
18223
18238
  g.value && e.message.actions ? (r(), B(N($e), {
18224
18239
  key: 0,
@@ -18230,7 +18245,7 @@ const fu = ["data-theme"], au = {
18230
18245
  _: 1
18231
18246
  }),
18232
18247
  (r(), B(de, { to: "body" }, [
18233
- F(Z, { name: "modal-fade" }, {
18248
+ F(X, { name: "modal-fade" }, {
18234
18249
  default: K(() => {
18235
18250
  var $;
18236
18251
  return [
@@ -18238,13 +18253,13 @@ const fu = ["data-theme"], au = {
18238
18253
  o("div", _1, [
18239
18254
  o("button", {
18240
18255
  class: "audio-message__modal-close-button",
18241
- onClick: E[3] || (E[3] = (J) => m.value = !1)
18242
- }, E[10] || (E[10] = [
18256
+ onClick: T[3] || (T[3] = (J) => m.value = !1)
18257
+ }, T[10] || (T[10] = [
18243
18258
  o("span", null, [
18244
18259
  o("i", { class: "pi pi-times" })
18245
18260
  ], -1)
18246
18261
  ])),
18247
- o("p", I1, D(($ = e.message.transcript) == null ? void 0 : $.text), 1)
18262
+ o("p", I1, E(($ = e.message.transcript) == null ? void 0 : $.text), 1)
18248
18263
  ])
18249
18264
  ])) : v("", !0)
18250
18265
  ];
@@ -18268,7 +18283,7 @@ const fu = ["data-theme"], au = {
18268
18283
  },
18269
18284
  setup(e) {
18270
18285
  return (t, n) => (r(), u("div", N1, [
18271
- o("p", D1, D(e.message.text), 1)
18286
+ o("p", D1, E(e.message.text), 1)
18272
18287
  ]));
18273
18288
  }
18274
18289
  }), T1 = /* @__PURE__ */ R(E1, [["__scopeId", "data-v-72a5e50d"]]), j1 = ["messageId"], x1 = ["src"], V1 = {
@@ -18301,7 +18316,7 @@ const fu = ["data-theme"], au = {
18301
18316
  return C.position === "left" ? "video-message__left" : "video-message__right";
18302
18317
  }
18303
18318
  const i = b(), l = b(), c = b(!1), A = b(!1), g = b(!1), d = b(!1), m = b("");
18304
- X(
18319
+ G(
18305
18320
  () => n.message.text,
18306
18321
  () => {
18307
18322
  n.message.text && (m.value = we(n.message.text));
@@ -18321,7 +18336,7 @@ const fu = ["data-theme"], au = {
18321
18336
  }, V = Q(() => At(n.message.status)), j = () => {
18322
18337
  l.value && (l.value.currentTime = 0, l.value.play());
18323
18338
  };
18324
- X([i, l], ([C, _]) => {
18339
+ G([i, l], ([C, _]) => {
18325
18340
  C ? _ && (_.pause(), _.currentTime = 0) : _ && (_.play(), _.currentTime = 0);
18326
18341
  });
18327
18342
  const O = Q(() => n.message.reply && n.message.text ? "0" : n.message.text ? "8px 8px 0 0" : n.message.reply ? "0 0 8px 8px" : "8px"), I = () => c.value = !1, S = (C) => {
@@ -18344,7 +18359,7 @@ const fu = ["data-theme"], au = {
18344
18359
  height: "32",
18345
18360
  width: "32"
18346
18361
  }, null, 8, x1)) : v("", !0),
18347
- e.message.subText ? (r(), u("p", V1, D(e.message.subText), 1)) : v("", !0),
18362
+ e.message.subText ? (r(), u("p", V1, E(e.message.subText), 1)) : v("", !0),
18348
18363
  o("div", S1, [
18349
18364
  e.message.reply ? (r(), B(ct, {
18350
18365
  key: 0,
@@ -18355,9 +18370,9 @@ const fu = ["data-theme"], au = {
18355
18370
  }, null, 8, ["class", "message"])) : v("", !0),
18356
18371
  o("div", {
18357
18372
  class: "video-message__preview-button",
18358
- onClick: _[0] || (_[0] = (k) => c.value = !0),
18373
+ onClick: _[0] || (_[0] = (w) => c.value = !0),
18359
18374
  onMouseenter: h,
18360
- onMouseleave: _[1] || (_[1] = (k) => d.value = !d.value)
18375
+ onMouseleave: _[1] || (_[1] = (w) => d.value = !d.value)
18361
18376
  }, [
18362
18377
  o("video", {
18363
18378
  ref_key: "previewPlayer",
@@ -18369,7 +18384,7 @@ const fu = ["data-theme"], au = {
18369
18384
  muted: !0,
18370
18385
  autoplay: ""
18371
18386
  }, null, 44, C1),
18372
- F(Z, { name: "modal-fade" }, {
18387
+ F(X, { name: "modal-fade" }, {
18373
18388
  default: K(() => [
18374
18389
  d.value ? (r(), u("div", z1, [
18375
18390
  e.message.views ? (r(), u("div", {
@@ -18378,9 +18393,9 @@ const fu = ["data-theme"], au = {
18378
18393
  class: "video-message__views"
18379
18394
  }, [
18380
18395
  _[3] || (_[3] = o("span", { class: "pi pi-eye" }, null, -1)),
18381
- o("p", null, D(e.message.views), 1)
18396
+ o("p", null, E(e.message.views), 1)
18382
18397
  ])) : v("", !0),
18383
- o("span", O1, D(e.message.time), 1),
18398
+ o("span", O1, E(e.message.time), 1),
18384
18399
  s(e.message) === "video-message__right" && N(rt).includes(e.message.status) ? (r(), u("div", {
18385
18400
  key: 1,
18386
18401
  class: L(["video-message__status", V.value])
@@ -18392,7 +18407,7 @@ const fu = ["data-theme"], au = {
18392
18407
  ]),
18393
18408
  _: 1
18394
18409
  }),
18395
- F(Z, { name: "modal-fade" }, {
18410
+ F(X, { name: "modal-fade" }, {
18396
18411
  default: K(() => [
18397
18412
  d.value ? (r(), u("a", {
18398
18413
  key: 0,
@@ -18408,19 +18423,19 @@ const fu = ["data-theme"], au = {
18408
18423
  _: 1
18409
18424
  })
18410
18425
  ], 32),
18411
- F(Z, { name: "modal-fade" }, {
18426
+ F(X, { name: "modal-fade" }, {
18412
18427
  default: K(() => [
18413
18428
  g.value && e.message.actions ? (r(), u("button", {
18414
18429
  key: 0,
18415
18430
  class: "video-message__menu-button",
18416
- onClick: _[2] || (_[2] = (k) => A.value = !A.value)
18431
+ onClick: _[2] || (_[2] = (w) => A.value = !A.value)
18417
18432
  }, _[6] || (_[6] = [
18418
18433
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
18419
18434
  ]))) : v("", !0)
18420
18435
  ]),
18421
18436
  _: 1
18422
18437
  }),
18423
- F(Z, { name: "context-menu" }, {
18438
+ F(X, { name: "context-menu" }, {
18424
18439
  default: K(() => [
18425
18440
  A.value && e.message.actions ? (r(), B(N($e), {
18426
18441
  key: 0,
@@ -18445,7 +18460,7 @@ const fu = ["data-theme"], au = {
18445
18460
  ])
18446
18461
  ], 42, j1),
18447
18462
  (r(), B(de, { to: "body" }, [
18448
- F(Z, { name: "modal-fade" }, {
18463
+ F(X, { name: "modal-fade" }, {
18449
18464
  default: K(() => [
18450
18465
  c.value ? (r(), B(lf, {
18451
18466
  key: 0,
@@ -18529,16 +18544,16 @@ const fu = ["data-theme"], au = {
18529
18544
  width: "32",
18530
18545
  style: se({ gridRow: e.message.subText ? "2" : "1" })
18531
18546
  }, null, 12, F1)) : v("", !0),
18532
- e.message.subText ? (r(), u("p", q1, D(e.message.subText), 1)) : v("", !0),
18547
+ e.message.subText ? (r(), u("p", q1, E(e.message.subText), 1)) : v("", !0),
18533
18548
  o("div", H1, [
18534
18549
  o("span", {
18535
18550
  class: "call-message__icon pi pi-phone",
18536
18551
  style: se({ color: e.message.isMissedCall ? "var(--p-red-500)" : "var(--neutral-100)" })
18537
18552
  }, null, 4),
18538
18553
  e.message.isMissedCall ? (r(), u("span", K1, "Пропущенный аудиозвонок")) : (r(), u("span", W1, "Аудиозвонок")),
18539
- e.message.callDuration ? (r(), u("span", J1, D(e.message.callDuration), 1)) : !e.message.callDuration && e.message.isMissedCall ? (r(), u("span", G1, "Нажмите, чтобы перезвонить")) : (r(), u("span", Z1, "Нет ответа")),
18554
+ e.message.callDuration ? (r(), u("span", J1, E(e.message.callDuration), 1)) : !e.message.callDuration && e.message.isMissedCall ? (r(), u("span", G1, "Нажмите, чтобы перезвонить")) : (r(), u("span", Z1, "Нет ответа")),
18540
18555
  o("div", X1, [
18541
- o("span", ed, D(e.message.time), 1)
18556
+ o("span", ed, E(e.message.time), 1)
18542
18557
  ]),
18543
18558
  (i = e.message.transcript) != null && i.dialog ? (r(), u("button", {
18544
18559
  key: 5,
@@ -18548,7 +18563,7 @@ const fu = ["data-theme"], au = {
18548
18563
  o("span", { class: "pi pi-arrow-up-right" }, null, -1)
18549
18564
  ]))) : v("", !0),
18550
18565
  (r(), B(de, { to: "body" }, [
18551
- F(Z, { name: "modal-fade" }, {
18566
+ F(X, { name: "modal-fade" }, {
18552
18567
  default: K(() => {
18553
18568
  var l;
18554
18569
  return [
@@ -18565,8 +18580,8 @@ const fu = ["data-theme"], au = {
18565
18580
  (r(!0), u(q, null, te((l = e.message.transcript) == null ? void 0 : l.dialog, (c, A) => (r(), u("div", {
18566
18581
  class: L(f(c, n.textDialog))
18567
18582
  }, [
18568
- o("p", null, D(c.text), 1),
18569
- o("span", null, D(c.time), 1)
18583
+ o("p", null, E(c.text), 1),
18584
+ o("span", null, E(c.time), 1)
18570
18585
  ], 2))), 256))
18571
18586
  ])
18572
18587
  ])) : v("", !0)
@@ -18589,7 +18604,7 @@ const fu = ["data-theme"], au = {
18589
18604
  },
18590
18605
  setup(e) {
18591
18606
  return (t, n) => (r(), u("div", sd, [
18592
- o("p", id, D(e.message.text), 1)
18607
+ o("p", id, E(e.message.text), 1)
18593
18608
  ]));
18594
18609
  }
18595
18610
  }), ld = /* @__PURE__ */ R(od, [["__scopeId", "data-v-41bf24c1"]]), rd = { class: "typing-message__container" }, Ad = ["src"], cd = {
@@ -18613,7 +18628,7 @@ const fu = ["data-theme"], au = {
18613
18628
  width: "32",
18614
18629
  style: se({ gridRow: e.message.subText ? "2" : "1" })
18615
18630
  }, null, 12, Ad)) : v("", !0),
18616
- e.message.subText ? (r(), u("p", cd, D(e.message.subText), 1)) : v("", !0),
18631
+ e.message.subText ? (r(), u("p", cd, E(e.message.subText), 1)) : v("", !0),
18617
18632
  n[0] || (n[0] = o("div", { class: "typing-message__loader-container" }, [
18618
18633
  o("div", { class: "typing-message__loader" })
18619
18634
  ], -1))
@@ -18629,7 +18644,7 @@ const fu = ["data-theme"], au = {
18629
18644
  },
18630
18645
  setup(e) {
18631
18646
  const t = e, n = b("");
18632
- X(
18647
+ G(
18633
18648
  () => t.message.text,
18634
18649
  () => {
18635
18650
  n.value = we(t.message.text);
@@ -18654,7 +18669,7 @@ const fu = ["data-theme"], au = {
18654
18669
  },
18655
18670
  setup(e) {
18656
18671
  const t = e, n = b(!1), f = b("");
18657
- X(
18672
+ G(
18658
18673
  () => t.message.text,
18659
18674
  () => {
18660
18675
  t.message.text && (f.value = we(t.message.text));
@@ -18696,7 +18711,7 @@ const fu = ["data-theme"], au = {
18696
18711
  }, null, 8, vd)) : v("", !0)
18697
18712
  ]),
18698
18713
  (r(), B(de, { to: "body" }, [
18699
- F(Z, { name: "modal-fade" }, {
18714
+ F(X, { name: "modal-fade" }, {
18700
18715
  default: K(() => [
18701
18716
  n.value ? (r(), u("div", {
18702
18717
  key: 0,
@@ -18735,7 +18750,7 @@ const fu = ["data-theme"], au = {
18735
18750
  },
18736
18751
  setup(e) {
18737
18752
  const t = e, n = b(!1), f = b("");
18738
- X(
18753
+ G(
18739
18754
  () => t.message.text,
18740
18755
  () => {
18741
18756
  t.message.text && (f.value = we(t.message.text));
@@ -18774,7 +18789,7 @@ const fu = ["data-theme"], au = {
18774
18789
  },
18775
18790
  setup(e) {
18776
18791
  const t = e, n = b(), f = b(!1), a = b("");
18777
- X(
18792
+ G(
18778
18793
  () => t.message.text,
18779
18794
  () => {
18780
18795
  t.message.text && (a.value = we(t.message.text));
@@ -18816,7 +18831,7 @@ const fu = ["data-theme"], au = {
18816
18831
  }, null, 8, jd)) : v("", !0)
18817
18832
  ]),
18818
18833
  (r(), B(de, { to: "body" }, [
18819
- F(Z, { name: "modal-fade" }, {
18834
+ F(X, { name: "modal-fade" }, {
18820
18835
  default: K(() => [
18821
18836
  f.value ? (r(), u("div", {
18822
18837
  key: 0,
@@ -18862,7 +18877,7 @@ const fu = ["data-theme"], au = {
18862
18877
  },
18863
18878
  setup(e) {
18864
18879
  const t = e, n = b("");
18865
- return X(
18880
+ return G(
18866
18881
  () => t.message.text,
18867
18882
  () => {
18868
18883
  t.message.text && (n.value = we(t.message.text));
@@ -18878,13 +18893,13 @@ const fu = ["data-theme"], au = {
18878
18893
  target: "_blank"
18879
18894
  }, [
18880
18895
  a[0] || (a[0] = o("span", { class: "pi pi-file" }, null, -1)),
18881
- o("p", Od, D(e.message.filename), 1)
18896
+ o("p", Od, E(e.message.filename), 1)
18882
18897
  ], 8, zd),
18883
- (s = e.message) != null && s.text ? (r(), u("p", Ld, D(e.message.text), 1)) : v("", !0)
18898
+ (s = e.message) != null && s.text ? (r(), u("p", Ld, E(e.message.text), 1)) : v("", !0)
18884
18899
  ], 64);
18885
18900
  };
18886
18901
  }
18887
- }), Bd = /* @__PURE__ */ R(Ud, [["__scopeId", "data-v-4fc32879"]]), Rd = ["id"], Yg = {
18902
+ }), Bd = /* @__PURE__ */ R(Ud, [["__scopeId", "data-v-4fc32879"]]), Rd = ["id"], Qd = ["id"], Fg = {
18888
18903
  __name: "BaseContainer",
18889
18904
  props: {
18890
18905
  height: String,
@@ -18900,11 +18915,14 @@ const fu = ["data-theme"], au = {
18900
18915
  class: "base__container",
18901
18916
  style: se({ height: e.height, width: e.width })
18902
18917
  }, [
18903
- ne(n.$slots, "default")
18918
+ ne(n.$slots, "default"),
18919
+ o("div", {
18920
+ id: "float-windows-" + N(t)
18921
+ }, null, 8, Qd)
18904
18922
  ], 4)
18905
18923
  ], 8, Rd));
18906
18924
  }
18907
- }, Qd = ["id"], $d = { class: "float-window__container" }, Yd = ["src", "alt"], Pd = { class: "float-window__title" }, Fd = { style: { "margin-left": "auto", display: "flex" } }, qd = {
18925
+ }, $d = ["id"], Yd = { class: "float-window__container" }, Pd = ["src", "alt"], Fd = { class: "float-window__title" }, qd = { style: { "margin-left": "auto", display: "flex" } }, Hd = ["id"], Wd = {
18908
18926
  __name: "FloatContainer",
18909
18927
  props: {
18910
18928
  title: {
@@ -18960,7 +18978,7 @@ const fu = ["data-theme"], au = {
18960
18978
  display: "flex"
18961
18979
  })
18962
18980
  }, [
18963
- o("div", $d, [
18981
+ o("div", Yd, [
18964
18982
  o("div", {
18965
18983
  ref_key: "container",
18966
18984
  ref: s,
@@ -18974,9 +18992,9 @@ const fu = ["data-theme"], au = {
18974
18992
  class: "float-window__avatar",
18975
18993
  src: n.avatar,
18976
18994
  alt: n.title
18977
- }, null, 8, Yd)) : v("", !0),
18978
- o("p", Pd, D(n.title), 1),
18979
- o("div", Fd, [
18995
+ }, null, 8, Pd)) : v("", !0),
18996
+ o("p", Fd, E(n.title), 1),
18997
+ o("div", qd, [
18980
18998
  ne(p.$slots, "controls", {}, void 0, !0),
18981
18999
  o("button", {
18982
19000
  class: "float-window__close-button",
@@ -18990,51 +19008,54 @@ const fu = ["data-theme"], au = {
18990
19008
  class: "float-window__content",
18991
19009
  style: se({ height: A.value + "px" })
18992
19010
  }, [
18993
- ne(p.$slots, "default", {}, void 0, !0)
19011
+ ne(p.$slots, "default", {}, void 0, !0),
19012
+ o("div", {
19013
+ id: "float-windows-" + N(g)
19014
+ }, null, 8, Hd)
18994
19015
  ], 4)
18995
19016
  ])
18996
- ], 12, Qd));
19017
+ ], 12, $d));
18997
19018
  }
18998
- }, Pg = /* @__PURE__ */ R(qd, [["__scopeId", "data-v-95b4dc0e"]]), Hd = {}, Wd = { class: "base-layout__container" }, Kd = { class: "base-layout__first-col" }, Jd = { class: "base-layout__second-col" };
18999
- function Gd(e, t) {
19000
- return r(), u("div", Wd, [
19001
- o("div", Kd, [
19019
+ }, qg = /* @__PURE__ */ R(Wd, [["__scopeId", "data-v-968ec93c"]]), Kd = {}, Jd = { class: "base-layout__container" }, Gd = { class: "base-layout__first-col" }, Zd = { class: "base-layout__second-col" };
19020
+ function Xd(e, t) {
19021
+ return r(), u("div", Jd, [
19022
+ o("div", Gd, [
19002
19023
  ne(e.$slots, "first-col", {}, void 0, !0)
19003
19024
  ]),
19004
- o("div", Jd, [
19025
+ o("div", Zd, [
19005
19026
  ne(e.$slots, "second-col", {}, void 0, !0)
19006
19027
  ])
19007
19028
  ]);
19008
19029
  }
19009
- const Fg = /* @__PURE__ */ R(Hd, [["render", Gd], ["__scopeId", "data-v-a5df3fcf"]]), Zd = {}, Xd = { class: "extend-layout__container" }, eg = { class: "extend-layout__first-col" }, tg = { class: "extend-layout__second-col" }, ng = { class: "extend-layout__third-col" };
19010
- function fg(e, t) {
19011
- return r(), u("div", Xd, [
19012
- o("div", eg, [
19030
+ const Hg = /* @__PURE__ */ R(Kd, [["render", Xd], ["__scopeId", "data-v-a5df3fcf"]]), eg = {}, tg = { class: "extend-layout__container" }, ng = { class: "extend-layout__first-col" }, fg = { class: "extend-layout__second-col" }, ag = { class: "extend-layout__third-col" };
19031
+ function sg(e, t) {
19032
+ return r(), u("div", tg, [
19033
+ o("div", ng, [
19013
19034
  ne(e.$slots, "first-col", {}, void 0, !0)
19014
19035
  ]),
19015
- o("div", tg, [
19036
+ o("div", fg, [
19016
19037
  ne(e.$slots, "second-col", {}, void 0, !0)
19017
19038
  ]),
19018
- o("div", ng, [
19039
+ o("div", ag, [
19019
19040
  ne(e.$slots, "third-col", {}, void 0, !0)
19020
19041
  ])
19021
19042
  ]);
19022
19043
  }
19023
- const qg = /* @__PURE__ */ R(Zd, [["render", fg], ["__scopeId", "data-v-61f9f2d0"]]), ag = {}, sg = { class: "base-layout__container" }, ig = { class: "base-layout__first-col" };
19024
- function og(e, t) {
19025
- return r(), u("div", sg, [
19026
- o("div", ig, [
19044
+ const Wg = /* @__PURE__ */ R(eg, [["render", sg], ["__scopeId", "data-v-61f9f2d0"]]), ig = {}, og = { class: "base-layout__container" }, lg = { class: "base-layout__first-col" };
19045
+ function rg(e, t) {
19046
+ return r(), u("div", og, [
19047
+ o("div", lg, [
19027
19048
  ne(e.$slots, "default", {}, void 0, !0)
19028
19049
  ])
19029
19050
  ]);
19030
19051
  }
19031
- const Hg = /* @__PURE__ */ R(ag, [["render", og], ["__scopeId", "data-v-a4657f8e"]]), lg = ["id"], rg = {
19052
+ const Kg = /* @__PURE__ */ R(ig, [["render", rg], ["__scopeId", "data-v-a4657f8e"]]), Ag = ["id"], cg = {
19032
19053
  key: 0,
19033
19054
  class: "chat-wrapper__selected-chat"
19034
- }, Ag = {
19055
+ }, ug = {
19035
19056
  key: 1,
19036
19057
  style: { width: "100%" }
19037
- }, cg = /* @__PURE__ */ W({
19058
+ }, dg = /* @__PURE__ */ W({
19038
19059
  __name: "ChatWrapper",
19039
19060
  props: {
19040
19061
  isOpenChatPanel: {
@@ -19053,7 +19074,7 @@ const Hg = /* @__PURE__ */ R(ag, [["render", og], ["__scopeId", "data-v-a4657f8e
19053
19074
  },
19054
19075
  setup(e) {
19055
19076
  const t = e, n = ee("chatAppId");
19056
- return X(
19077
+ return G(
19057
19078
  () => t.chatPanelWidth,
19058
19079
  () => {
19059
19080
  const f = document.getElementById("chat-wrapper-" + n);
@@ -19064,10 +19085,10 @@ const Hg = /* @__PURE__ */ R(ag, [["render", og], ["__scopeId", "data-v-a4657f8e
19064
19085
  class: "chat-wrapper",
19065
19086
  id: "chat-wrapper-" + N(n)
19066
19087
  }, [
19067
- e.isSelectedChat ? (r(), u("div", rg, [
19088
+ e.isSelectedChat ? (r(), u("div", cg, [
19068
19089
  ne(f.$slots, "default", {}, void 0, !0)
19069
- ])) : (r(), u("div", Ag, [
19070
- o("p", null, D(N(pe)("layout.ChatWrapper.noSelectedChat")), 1)
19090
+ ])) : (r(), u("div", ug, [
19091
+ o("p", null, E(N(pe)("layout.ChatWrapper.noSelectedChat")), 1)
19071
19092
  ])),
19072
19093
  e.isOpenChatPanel ? (r(), u("div", {
19073
19094
  key: 2,
@@ -19076,9 +19097,9 @@ const Hg = /* @__PURE__ */ R(ag, [["render", og], ["__scopeId", "data-v-a4657f8e
19076
19097
  }, [
19077
19098
  ne(f.$slots, "chatpanel", {}, void 0, !0)
19078
19099
  ], 4)) : v("", !0)
19079
- ], 8, lg));
19100
+ ], 8, Ag));
19080
19101
  }
19081
- }), Wg = /* @__PURE__ */ R(cg, [["__scopeId", "data-v-584eaa98"]]), ug = ["id"], dg = ["id"], gg = ["id"], mg = ["id"], pg = {
19102
+ }), Jg = /* @__PURE__ */ R(dg, [["__scopeId", "data-v-584eaa98"]]), gg = ["id"], mg = ["id"], pg = ["id"], hg = ["id"], vg = {
19082
19103
  __name: "AdaptiveExtendedLayout",
19083
19104
  props: {
19084
19105
  isSecondColVisible: {
@@ -19092,7 +19113,7 @@ const Hg = /* @__PURE__ */ R(ag, [["render", og], ["__scopeId", "data-v-a4657f8e
19092
19113
  },
19093
19114
  setup(e) {
19094
19115
  const t = e;
19095
- X(
19116
+ G(
19096
19117
  () => [t.isSecondColVisible, t.isThirdColVisible],
19097
19118
  () => {
19098
19119
  t.isSecondColVisible && a(), t.isThirdColVisible && f();
@@ -19119,54 +19140,54 @@ const Hg = /* @__PURE__ */ R(ag, [["render", og], ["__scopeId", "data-v-a4657f8e
19119
19140
  id: "extend-layout-first-col-" + N(n)
19120
19141
  }, [
19121
19142
  ne(s.$slots, "first-col", {}, void 0, !0)
19122
- ], 8, dg),
19143
+ ], 8, mg),
19123
19144
  o("div", {
19124
19145
  class: "extend-layout__second-col",
19125
19146
  id: "extend-layout-second-col-" + N(n)
19126
19147
  }, [
19127
19148
  ne(s.$slots, "second-col", {}, void 0, !0)
19128
- ], 8, gg),
19149
+ ], 8, pg),
19129
19150
  o("div", {
19130
19151
  class: "extend-layout__third-col",
19131
19152
  id: "extend-layout-third-col-" + N(n)
19132
19153
  }, [
19133
19154
  ne(s.$slots, "third-col", {}, void 0, !0)
19134
- ], 8, mg)
19135
- ], 8, ug));
19155
+ ], 8, hg)
19156
+ ], 8, gg));
19136
19157
  }
19137
- }, Kg = /* @__PURE__ */ R(pg, [["__scopeId", "data-v-bc020414"]]);
19158
+ }, Gg = /* @__PURE__ */ R(vg, [["__scopeId", "data-v-bc020414"]]);
19138
19159
  export {
19139
- Tg as $,
19160
+ xg as $,
19140
19161
  k1 as A,
19141
19162
  ma as B,
19142
19163
  ad as C,
19143
19164
  T1 as D,
19144
- $g as E,
19165
+ Pg as E,
19145
19166
  Cu as F,
19146
- Ug as G,
19147
- Bg as H,
19167
+ Rg as G,
19168
+ Qg as H,
19148
19169
  Wu as I,
19149
- Rg as J,
19150
- Qg as K,
19170
+ $g as J,
19171
+ Yg as K,
19151
19172
  Lt as L,
19152
19173
  uu as M,
19153
- Yg as N,
19154
- Pg as O,
19155
- Fg as P,
19156
- qg as Q,
19174
+ Fg as N,
19175
+ qg as O,
19176
+ Hg as P,
19177
+ Wg as Q,
19157
19178
  md as R,
19158
19179
  ld as S,
19159
19180
  f1 as T,
19160
- _g as U,
19181
+ wg as U,
19161
19182
  Y1 as V,
19162
- Kg as W,
19163
- Hg as X,
19164
- Wg as Y,
19165
- Eg as Z,
19183
+ Gg as W,
19184
+ Kg as X,
19185
+ Jg as Y,
19186
+ jg as Z,
19166
19187
  R as _,
19167
19188
  Gf as a,
19168
- jg as a0,
19169
- xg as a1,
19189
+ Vg as a0,
19190
+ Sg as a1,
19170
19191
  ga as a2,
19171
19192
  rt as a3,
19172
19193
  At as a4,
@@ -19175,24 +19196,24 @@ export {
19175
19196
  Cd as d,
19176
19197
  Bd as e,
19177
19198
  ct as f,
19178
- vg as g,
19179
- yg as h,
19180
- bg as i,
19181
- Mg as j,
19182
- Ig as k,
19183
- wg as l,
19184
- kg as m,
19185
- Ng as n,
19186
- Dg as o,
19199
+ bg as g,
19200
+ Mg as h,
19201
+ _g as i,
19202
+ Ig as j,
19203
+ kg as k,
19204
+ Ng as l,
19205
+ Dg as m,
19206
+ Eg as n,
19207
+ Tg as o,
19187
19208
  zn as p,
19188
19209
  ho as q,
19189
19210
  Ho as r,
19190
- Vg as s,
19191
- Sg as t,
19192
- Cg as u,
19211
+ Cg as s,
19212
+ zg as t,
19213
+ Og as u,
19193
19214
  $e as v,
19194
- zg as w,
19195
- Og as x,
19215
+ Lg as w,
19216
+ Ug as x,
19196
19217
  Lf as y,
19197
- Lg as z
19218
+ Bg as z
19198
19219
  };