@mobilon-dev/chotto 0.0.101 → 0.0.102

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 T, renderSlot as ne, unref as E, ref as b, customRef as Zf, withKeys as Jn, defineComponent as W, onMounted as ie, withDirectives as ce, vShow as We, createBlock as B, Teleport as Ae, createVNode as F, Transition as X, withCtx as K, watch as G, nextTick as et, vModelText as lt, normalizeClass as O, 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 T, renderSlot as ne, unref as N, ref as b, customRef as Zf, withKeys as Jn, defineComponent as W, onMounted as ie, withDirectives as ce, vShow as We, createBlock as B, Teleport as Ae, createVNode as F, Transition as X, withCtx as K, watch as G, nextTick as et, vModelText as lt, normalizeClass as O, 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), D = (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), E = (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)), D(n, "'", ef), D(n, "{", vt), D(n, "}", yt), D(n, "[", Wt), D(n, "]", Kt), D(n, "(", Jt), D(n, ")", Gt), D(n, "<", Zt), D(n, ">", Xt), D(n, "(", en), D(n, ")", tn), D(n, "「", nn), D(n, "」", fn), D(n, "『", an), D(n, "』", sn), D(n, "<", on), D(n, ">", ln), D(n, "&", rn), D(n, "*", An), D(n, "@", Ue), D(n, "`", un), D(n, "^", dn), D(n, ":", Be), D(n, ",", tf), D(n, "$", gn), D(n, ".", De), D(n, "=", mn), D(n, "!", nf), D(n, "-", ye), D(n, "%", bt), D(n, "|", pn), D(n, "+", hn), D(n, "#", vn), D(n, "?", Mt), D(n, '"', ff), D(n, "/", Ee), D(n, ";", af), D(n, "~", _t), D(n, "_", yn), D(n, "\\", cn), D(n, "・", ia);
213
+ Bt == null && (Bt = Vf(Fa)), Rt == null && (Rt = Vf(qa)), E(n, "'", ef), E(n, "{", vt), E(n, "}", yt), E(n, "[", Wt), E(n, "]", Kt), E(n, "(", Jt), E(n, ")", Gt), E(n, "<", Zt), E(n, ">", Xt), E(n, "(", en), E(n, ")", tn), E(n, "「", nn), E(n, "」", fn), E(n, "『", an), E(n, "』", sn), E(n, "<", on), E(n, ">", ln), E(n, "&", rn), E(n, "*", An), E(n, "@", Ue), E(n, "`", un), E(n, "^", dn), E(n, ":", Be), E(n, ",", tf), E(n, "$", gn), E(n, ".", De), E(n, "=", mn), E(n, "!", nf), E(n, "-", ye), E(n, "%", bt), E(n, "|", pn), E(n, "+", hn), E(n, "#", vn), E(n, "?", Mt), E(n, '"', ff), E(n, "/", Ee), E(n, ";", af), E(n, "~", _t), E(n, "_", yn), E(n, "\\", cn), E(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 = D(n, Vn, Xn, {
230
+ const c = E(n, Vn, Xn, {
231
231
  [Tn]: !0
232
- }), A = D(n, xf, qn, {
232
+ }), A = E(n, xf, qn, {
233
233
  [Tn]: !0
234
234
  }), d = ae(n, xn, qn, {
235
235
  [Tn]: !0
236
236
  });
237
- D(n, Sn, d), D(A, Vn, c), D(A, Sn, d), ae(A, xn, d), D(d, xf), D(d, Vn), ae(d, xn, d), D(d, Sn, d);
237
+ E(n, Sn, d), E(A, Vn, c), E(A, Sn, d), ae(A, xn, d), E(d, xf), E(d, Vn), ae(d, xn, d), E(d, Sn, d);
238
238
  const g = ae(n, jn, oa, {
239
239
  [fa]: !0
240
240
  });
241
- D(g, "#"), ae(g, jn, g), D(g, Ga, g);
242
- const m = D(g, Za);
243
- D(m, "#"), ae(m, jn, g);
241
+ E(g, "#"), ae(g, jn, g), E(g, Ga, g);
242
+ const m = E(g, Za);
243
+ E(m, "#"), ae(m, jn, g);
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,34 +566,34 @@ 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 = D(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 = E(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 = D(i, Ue);
574
- D(s, Ue, A), D(l, Ue, A), D(c, Ue, A);
575
- const d = D(s, De);
573
+ const A = E(i, Ue);
574
+ E(s, Ue, A), E(l, Ue, A), E(c, Ue, A);
575
+ const d = E(s, De);
576
576
  P(d, f, s), P(d, e.domain, s);
577
577
  const g = ve();
578
578
  P(A, e.domain, g), P(g, e.domain, g);
579
- const m = D(g, De);
579
+ const m = E(g, De);
580
580
  P(m, e.domain, g);
581
581
  const M = ve(Cf);
582
- P(m, e.tld, M), P(m, e.utld, M), D(A, Nt, M);
583
- const p = D(g, ye);
584
- D(p, ye, p), P(p, e.domain, g), P(M, e.domain, g), D(M, De, m), D(M, ye, p);
585
- const y = D(M, Be);
582
+ P(m, e.tld, M), P(m, e.utld, M), E(A, Nt, M);
583
+ const p = E(g, ye);
584
+ E(p, ye, p), P(p, e.domain, g), P(M, e.domain, g), E(M, De, m), E(M, ye, p);
585
+ const y = E(M, Be);
586
586
  P(y, e.numeric, Cf);
587
- const h = D(i, ye), V = D(i, De);
588
- D(h, ye, h), P(h, e.domain, i), P(V, f, s), P(V, e.domain, i);
587
+ const h = E(i, ye), V = E(i, De);
588
+ E(h, ye, h), P(h, e.domain, i), P(V, f, s), P(V, e.domain, i);
589
589
  const S = ve(Qt);
590
- P(V, e.tld, S), P(V, e.utld, S), P(S, e.domain, i), P(S, f, s), D(S, De, V), D(S, ye, h), D(S, Ue, A);
591
- const j = D(S, Be), L = ve(Qt);
590
+ P(V, e.tld, S), P(V, e.utld, S), P(S, e.domain, i), P(S, f, s), E(S, De, V), E(S, ye, h), E(S, Ue, A);
591
+ const j = E(S, Be), L = ve(Qt);
592
592
  P(j, e.numeric, L);
593
593
  const _ = ve(Qt), x = ve();
594
- P(_, t, _), P(_, n, x), P(x, t, _), P(x, n, x), D(S, Ee, _), D(L, Ee, _);
595
- const C = D(l, Be), k = D(c, Be), N = D(k, Ee), w = D(N, Ee);
596
- P(l, e.domain, i), D(l, De, V), D(l, ye, h), P(c, e.domain, i), D(c, De, V), D(c, ye, h), P(C, e.domain, _), D(C, Ee, _), D(C, Mt, _), P(w, e.domain, _), P(w, t, _), D(w, Ee, _);
594
+ P(_, t, _), P(_, n, x), P(x, t, _), P(x, n, x), E(S, Ee, _), E(L, Ee, _);
595
+ const C = E(l, Be), k = E(c, Be), D = E(k, Ee), w = E(D, Ee);
596
+ P(l, e.domain, i), E(l, De, V), E(l, ye, h), P(c, e.domain, i), E(c, De, V), E(c, ye, h), P(C, e.domain, _), E(C, Ee, _), E(C, Mt, _), P(w, e.domain, _), P(w, t, _), E(w, Ee, _);
597
597
  const I = [
598
598
  [vt, yt],
599
599
  // {}
@@ -613,14 +613,14 @@ function ns({
613
613
  // <>
614
614
  ];
615
615
  for (let U = 0; U < I.length; U++) {
616
- const [$, J] = I[U], le = D(_, $);
617
- D(x, $, le), D(le, J, _);
616
+ const [$, J] = I[U], le = E(_, $);
617
+ E(x, $, le), E(le, J, _);
618
618
  const Z = ve(Qt);
619
619
  P(le, t, Z);
620
620
  const fe = ve();
621
- P(le, n), P(Z, t, Z), P(Z, n, fe), P(fe, t, Z), P(fe, n, fe), D(Z, J, _), D(fe, J, _);
621
+ P(le, n), P(Z, t, Z), P(Z, n, fe), P(fe, t, Z), P(fe, n, fe), E(Z, J, _), E(fe, J, _);
622
622
  }
623
- return D(a, Nt, S), D(a, Xn, ts), {
623
+ return E(a, Nt, S), E(a, Xn, ts), {
624
624
  start: a,
625
625
  tokens: la
626
626
  };
@@ -777,7 +777,7 @@ const R = (e, t) => {
777
777
  ]),
778
778
  o("div", {
779
779
  class: "chat-info__search-panel",
780
- id: "chat-info-search-panel-" + E(a)
780
+ id: "chat-info-search-panel-" + N(a)
781
781
  }, [
782
782
  ne(i.$slots, "search", {}, void 0, !0)
783
783
  ], 8, hs)
@@ -987,7 +987,7 @@ const ga = (e) => {
987
987
  class: "modal__overlay",
988
988
  onClick: s,
989
989
  onKeyup: l[1] || (l[1] = Jn((c) => n("close"), ["esc"])),
990
- "data-theme": E(a)().theme
990
+ "data-theme": N(a)().theme
991
991
  }, [
992
992
  o("div", Ns, [
993
993
  o("button", {
@@ -1175,7 +1175,7 @@ const ga = (e) => {
1175
1175
  () => p.focusOnInputArea,
1176
1176
  () => {
1177
1177
  p.focusOnInputArea && et(() => {
1178
- const _ = E(g);
1178
+ const _ = N(g);
1179
1179
  _ == null || _.focus();
1180
1180
  });
1181
1181
  },
@@ -1225,11 +1225,11 @@ const ga = (e) => {
1225
1225
  for (let k of x)
1226
1226
  if (k.type.indexOf("image") !== -1) {
1227
1227
  _.preventDefault();
1228
- const N = k.getAsFile();
1229
- if (N) {
1228
+ const D = k.getAsFile();
1229
+ if (D) {
1230
1230
  d(!0);
1231
1231
  const w = typeof p.filebumpUrl == "string" ? p.filebumpUrl : null;
1232
- await xt(w, N).then((I) => {
1232
+ await xt(w, D).then((I) => {
1233
1233
  d(!1), I.status == "success" && (c({
1234
1234
  url: I.url,
1235
1235
  name: I.name,
@@ -1254,29 +1254,29 @@ const ga = (e) => {
1254
1254
  window.addEventListener("paste", j);
1255
1255
  }), (_, x) => (r(), u("div", qs, [
1256
1256
  o("div", {
1257
- id: "chat-input-reply-line-" + E(f),
1257
+ id: "chat-input-reply-line-" + N(f),
1258
1258
  class: "chat-input__reply-line"
1259
1259
  }, null, 8, Hs),
1260
1260
  o("div", {
1261
- id: "chat-input-file-line-" + E(f),
1261
+ id: "chat-input-file-line-" + N(f),
1262
1262
  class: "chat-input__file-line"
1263
1263
  }, null, 8, Ws),
1264
1264
  o("div", Ks, [
1265
1265
  ce(o("textarea", {
1266
- disabled: e.state == "disabled" || E(s)().isRecording,
1266
+ disabled: e.state == "disabled" || N(s)().isRecording,
1267
1267
  ref_key: "refInput",
1268
1268
  ref: g,
1269
- "onUpdate:modelValue": x[0] || (x[0] = (C) => E(s)().text = C),
1269
+ "onUpdate:modelValue": x[0] || (x[0] = (C) => N(s)().text = C),
1270
1270
  class: "chat-input__input",
1271
- placeholder: E(pe)("component.ChatInput.InputPlaceholder"),
1271
+ placeholder: N(pe)("component.ChatInput.InputPlaceholder"),
1272
1272
  onKeydown: Jn(V, ["enter"]),
1273
1273
  onInput: h
1274
1274
  }, null, 40, Js), [
1275
- [lt, E(s)().text]
1275
+ [lt, N(s)().text]
1276
1276
  ]),
1277
1277
  o("button", {
1278
1278
  class: O(["chat-input__button", { "chat-input__button-disabled": y.value }]),
1279
- disabled: E(s)().isRecording,
1279
+ disabled: N(s)().isRecording,
1280
1280
  onClick: S
1281
1281
  }, x[1] || (x[1] = [
1282
1282
  o("span", { class: "pi pi-send" }, null, -1)
@@ -1285,9 +1285,9 @@ const ga = (e) => {
1285
1285
  o("div", Zs, [
1286
1286
  ne(_.$slots, "buttons", {}, void 0, !0)
1287
1287
  ]),
1288
- E(s)().file ? (r(), B(Ae, {
1288
+ N(s)().file ? (r(), B(Ae, {
1289
1289
  key: 0,
1290
- to: "#chat-input-file-line-" + E(f)
1290
+ to: "#chat-input-file-line-" + N(f)
1291
1291
  }, [
1292
1292
  M.value ? (r(), B(Vt, {
1293
1293
  key: 0,
@@ -1325,7 +1325,7 @@ const ga = (e) => {
1325
1325
  const n = e, f = t, a = b(""), s = b(!1), i = b(), l = () => {
1326
1326
  s.value = !1;
1327
1327
  }, c = () => {
1328
- const p = E(i);
1328
+ const p = N(i);
1329
1329
  p.scrollHeight - p.scrollTop - p.clientHeight <= 0 && f("loadMoreChats");
1330
1330
  }, A = (p) => {
1331
1331
  n.chats.forEach((h) => {
@@ -1357,7 +1357,7 @@ const ga = (e) => {
1357
1357
  class: "chat-list__title-container",
1358
1358
  onMouseleave: l
1359
1359
  }, [
1360
- o("h2", ti, T(E(pe)("component.ChatList.Title")), 1),
1360
+ o("h2", ti, T(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",
@@ -1367,7 +1367,7 @@ const ga = (e) => {
1367
1367
  ])) : v("", !0),
1368
1368
  F(X, null, {
1369
1369
  default: K(() => [
1370
- s.value && e.actions ? (r(), B(E($e), {
1370
+ s.value && e.actions ? (r(), B(N($e), {
1371
1371
  key: 0,
1372
1372
  actions: e.actions,
1373
1373
  class: "chat-list__context-menu",
@@ -1378,7 +1378,7 @@ const ga = (e) => {
1378
1378
  })
1379
1379
  ], 32),
1380
1380
  ne(p.$slots, "sidebar", {}, void 0, !0),
1381
- e.filterEnabled ? (r(), B(E(ho), {
1381
+ e.filterEnabled ? (r(), B(N(ho), {
1382
1382
  key: 0,
1383
1383
  class: "chat-list__filter",
1384
1384
  onUpdate: m
@@ -1390,7 +1390,7 @@ const ga = (e) => {
1390
1390
  onScroll: c
1391
1391
  }, [
1392
1392
  o("div", ai, [
1393
- (r(!0), u(q, null, te(g().filter((h) => h.isFixedTop), (h) => (r(), B(E(zn), {
1393
+ (r(!0), u(q, null, te(g().filter((h) => h.isFixedTop), (h) => (r(), B(N(zn), {
1394
1394
  key: h.chatId,
1395
1395
  class: "chat-list__item",
1396
1396
  chat: h,
@@ -1399,7 +1399,7 @@ const ga = (e) => {
1399
1399
  }, null, 8, ["chat"]))), 128))
1400
1400
  ]),
1401
1401
  o("div", si, [
1402
- (r(!0), u(q, null, te(g().filter((h) => !h.isFixedBottom && !h.isFixedTop), (h) => (r(), B(E(zn), {
1402
+ (r(!0), u(q, null, te(g().filter((h) => !h.isFixedBottom && !h.isFixedTop), (h) => (r(), B(N(zn), {
1403
1403
  key: h.chatId,
1404
1404
  class: "chat-list__item",
1405
1405
  chat: h,
@@ -1408,7 +1408,7 @@ const ga = (e) => {
1408
1408
  }, null, 8, ["chat"]))), 128))
1409
1409
  ]),
1410
1410
  o("div", ii, [
1411
- (r(!0), u(q, null, te(g().filter((h) => h.isFixedBottom), (h) => (r(), B(E(zn), {
1411
+ (r(!0), u(q, null, te(g().filter((h) => h.isFixedBottom), (h) => (r(), B(N(zn), {
1412
1412
  key: h.chatId,
1413
1413
  class: "chat-list__item",
1414
1414
  chat: h,
@@ -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: d } = Ie(c), g = t, m = Q(() => !!(i.value && l.objects.length > 0 && l.objects[l.objects.length - 1].keyboard)), M = (k) => {
1488
1488
  g("keyboardAction", k);
1489
1489
  }, p = (k = !0) => {
1490
- const N = E(f);
1490
+ const D = N(f);
1491
1491
  let w = 0;
1492
1492
  a.value && (w = a.value.$el.clientHeight);
1493
- const I = 100, U = N.scrollHeight - N.scrollTop - N.clientHeight;
1494
- U < I + w ? (s.value = !1, i.value = !0) : (s.value = !0, i.value = !1), N.scrollTop === 0 && k && g("loadMore"), U <= 0 && k && g("loadMoreDown");
1493
+ const I = 100, U = D.scrollHeight - D.scrollTop - D.clientHeight;
1494
+ U < I + w ? (s.value = !1, i.value = !0) : (s.value = !0, i.value = !1), D.scrollTop === 0 && k && g("loadMore"), U <= 0 && k && g("loadMoreDown");
1495
1495
  }, y = (k) => ({
1496
1496
  "message.text": f1,
1497
1497
  "message.image": Wu,
@@ -1505,7 +1505,7 @@ const ga = (e) => {
1505
1505
  })[k];
1506
1506
  function h() {
1507
1507
  et(function() {
1508
- const k = E(f);
1508
+ const k = N(f);
1509
1509
  k.scrollTop = k.scrollHeight;
1510
1510
  });
1511
1511
  }
@@ -1523,17 +1523,17 @@ const ga = (e) => {
1523
1523
  g("messageAction", k);
1524
1524
  }, j = (k) => {
1525
1525
  g("clickRepliedMessage", k);
1526
- }, L = (k, N) => {
1527
- l.enableDoubleClickReply && (k == null || k.preventDefault(), N.type.indexOf("system") == -1 && N.type.indexOf("typing") == -1 && A({
1528
- messageId: N.messageId,
1529
- type: N.type,
1530
- text: N.text,
1531
- filename: N.filename,
1532
- url: N.url
1526
+ }, L = (k, D) => {
1527
+ l.enableDoubleClickReply && (k == null || k.preventDefault(), D.type.indexOf("system") == -1 && D.type.indexOf("typing") == -1 && A({
1528
+ messageId: D.messageId,
1529
+ type: D.type,
1530
+ text: D.text,
1531
+ filename: D.filename,
1532
+ url: D.url
1533
1533
  }));
1534
1534
  }, _ = (k) => {
1535
- k.forEach((N) => {
1536
- N.isIntersecting && g("messageVisible", JSON.parse(N.target.id));
1535
+ k.forEach((D) => {
1536
+ D.isIntersecting && g("messageVisible", JSON.parse(D.target.id));
1537
1537
  });
1538
1538
  }, x = {
1539
1539
  root: document.getElementById("feed-container-" + c),
@@ -1553,21 +1553,21 @@ const ga = (e) => {
1553
1553
  () => {
1554
1554
  var k;
1555
1555
  if (l.scrollTo) {
1556
- const N = l.scrollTo;
1557
- let w = document.getElementById(N), I = document.getElementById("feed-container-" + c);
1558
- w instanceof HTMLElement && I instanceof HTMLElement && (I.scrollTop = w.offsetTop + w.clientHeight / 2 - I.clientHeight / 2), (k = document.getElementById(N)) == null || k.children[0].classList.add("focused-message"), setTimeout(() => {
1556
+ const D = l.scrollTo;
1557
+ let w = document.getElementById(D), I = document.getElementById("feed-container-" + c);
1558
+ w instanceof HTMLElement && I instanceof HTMLElement && (I.scrollTop = w.offsetTop + w.clientHeight / 2 - I.clientHeight / 2), (k = document.getElementById(D)) == null || k.children[0].classList.add("focused-message"), setTimeout(() => {
1559
1559
  var U;
1560
- (U = document.getElementById(N)) == null || U.children[0].classList.remove("focused-message");
1560
+ (U = document.getElementById(D)) == null || U.children[0].classList.remove("focused-message");
1561
1561
  }, 2e3);
1562
1562
  }
1563
1563
  }
1564
- ), (k, N) => (r(), u(q, null, [
1564
+ ), (k, D) => (r(), u(q, null, [
1565
1565
  o("div", {
1566
1566
  ref_key: "refFeed",
1567
1567
  ref: f,
1568
1568
  class: "message-feed",
1569
- onScroll: N[0] || (N[0] = (w) => p()),
1570
- id: "feed-container-" + E(c)
1569
+ onScroll: D[0] || (D[0] = (w) => p()),
1570
+ id: "feed-container-" + N(c)
1571
1571
  }, [
1572
1572
  (r(!0), u(q, null, te(e.objects, (w) => (r(), u("div", {
1573
1573
  onDblclick: (I) => L(I, w),
@@ -1582,7 +1582,7 @@ const ga = (e) => {
1582
1582
  onReply: j
1583
1583
  }, null, 40, ["message"]))
1584
1584
  ], 40, di))), 256)),
1585
- e.typing ? (r(), B(E(Gf), {
1585
+ e.typing ? (r(), B(N(Gf), {
1586
1586
  key: 0,
1587
1587
  message: {
1588
1588
  subText: e.typing.title,
@@ -1610,18 +1610,18 @@ const ga = (e) => {
1610
1610
  onClick: V
1611
1611
  }, [
1612
1612
  e.buttonParams ? (r(), u("div", gi, T(e.buttonParams.unreadAmount), 1)) : v("", !0),
1613
- N[1] || (N[1] = o("span", { class: "pi pi-angle-down message-feed__icon-down" }, null, -1))
1613
+ D[1] || (D[1] = o("span", { class: "pi pi-angle-down message-feed__icon-down" }, null, -1))
1614
1614
  ])) : v("", !0)
1615
1615
  ]),
1616
1616
  _: 1
1617
1617
  })
1618
1618
  ], 40, ui),
1619
- E(d)().reply ? (r(), B(Ae, {
1619
+ N(d)().reply ? (r(), B(Ae, {
1620
1620
  key: 0,
1621
- to: "#chat-input-reply-line-" + E(c)
1621
+ to: "#chat-input-reply-line-" + N(c)
1622
1622
  }, [
1623
- F(E(ct), {
1624
- message: E(d)().reply,
1623
+ F(N(ct), {
1624
+ message: N(d)().reply,
1625
1625
  class: "chat-input-reply"
1626
1626
  }, null, 8, ["message"])
1627
1627
  ], 8, ["to"])) : v("", !0)
@@ -1730,7 +1730,7 @@ const ga = (e) => {
1730
1730
  }), Ke(() => {
1731
1731
  document.removeEventListener("click", g);
1732
1732
  }), (m, M) => (r(), u("div", {
1733
- id: "container-" + E(f),
1733
+ id: "container-" + N(f),
1734
1734
  ref_key: "actionScope",
1735
1735
  ref: i,
1736
1736
  style: { position: "relative", width: "fit-content" }
@@ -1747,8 +1747,8 @@ const ga = (e) => {
1747
1747
  class: O(e.buttonClass)
1748
1748
  }, T(e.buttonTitle), 3)
1749
1749
  ], 34),
1750
- F(E($e), {
1751
- id: "context-menu-" + E(f),
1750
+ F(N($e), {
1751
+ id: "context-menu-" + N(f),
1752
1752
  ref_key: "contextMenu",
1753
1753
  ref: s,
1754
1754
  actions: e.actions,
@@ -1825,7 +1825,7 @@ const ga = (e) => {
1825
1825
  o("p", null, "Загрузка файла...", -1)
1826
1826
  ]))) : f.value === "error" ? (r(), u("div", Ni, V[1] || (V[1] = [
1827
1827
  o("p", null, "Ошибка при загрузке файла.", -1)
1828
- ]))) : E(A)().isRecording ? v("", !0) : (r(), B(ma, {
1828
+ ]))) : N(A)().isRecording ? v("", !0) : (r(), B(ma, {
1829
1829
  key: 2,
1830
1830
  actions: d,
1831
1831
  mode: "hover",
@@ -1842,9 +1842,9 @@ const ga = (e) => {
1842
1842
  type: "file",
1843
1843
  onChange: M
1844
1844
  }, null, 544),
1845
- E(A)().file ? (r(), B(Ae, {
1845
+ N(A)().file ? (r(), B(Ae, {
1846
1846
  key: 3,
1847
- to: "#chat-input-file-line-" + E(i)
1847
+ to: "#chat-input-file-line-" + N(i)
1848
1848
  }, [
1849
1849
  s.value ? (r(), B(Vt, {
1850
1850
  key: 0,
@@ -2020,7 +2020,7 @@ const ga = (e) => {
2020
2020
  const n = e, f = ee("chatAppId"), { getMessage: a } = Ie(f), s = t, l = b(n.channels.find((A) => A.type === "default")), c = (A) => {
2021
2021
  l.value = A, s("selectChannel", l.value);
2022
2022
  };
2023
- return (A, d) => E(a)().isRecording ? v("", !0) : (r(), u("div", {
2023
+ return (A, d) => N(a)().isRecording ? v("", !0) : (r(), u("div", {
2024
2024
  key: 0,
2025
2025
  class: O(["channels__container", { "channels__container-disabled": e.state == "disabled" }])
2026
2026
  }, [
@@ -2031,7 +2031,7 @@ const ga = (e) => {
2031
2031
  class: "channels__icon"
2032
2032
  }, null, 8, $i)) : v("", !0),
2033
2033
  o("span", Yi, T(l.value.title), 1)
2034
- ])) : (r(), u("span", Pi, T(E(pe)("component.ChannelSelector.Placeholder")), 1)),
2034
+ ])) : (r(), u("span", Pi, T(N(pe)("component.ChannelSelector.Placeholder")), 1)),
2035
2035
  F(ma, {
2036
2036
  actions: e.channels,
2037
2037
  mode: e.mode,
@@ -2107,7 +2107,7 @@ const xg = (e, t = null) => {
2107
2107
  m.style.top = g[i.position].top + "px", m.style.left = g[i.position].left + "px", m.style.opacity = "1", m.style.visibility = "visible";
2108
2108
  }
2109
2109
  }, A = () => {
2110
- const d = E(a);
2110
+ const d = N(a);
2111
2111
  d && (d.style.top = "0", d.style.left = "0", d.style.opacity = "0", d.style.visibility = "hidden");
2112
2112
  };
2113
2113
  return ie(() => {
@@ -2124,10 +2124,10 @@ const xg = (e, t = null) => {
2124
2124
  ], 544),
2125
2125
  s.value ? (r(), B(Ae, {
2126
2126
  key: 0,
2127
- to: "#float-windows-" + E(t)
2127
+ to: "#float-windows-" + N(t)
2128
2128
  }, [
2129
2129
  o("span", {
2130
- "data-theme": E(n)().theme ? E(n)().theme : null,
2130
+ "data-theme": N(n)().theme ? N(n)().theme : null,
2131
2131
  ref_key: "tooltip",
2132
2132
  ref: a,
2133
2133
  class: O(l.value)
@@ -2172,29 +2172,29 @@ const xg = (e, t = null) => {
2172
2172
  },
2173
2173
  emits: ["select", "action"],
2174
2174
  setup(e, { emit: t }) {
2175
- const n = ee("chatAppId"), f = e, a = b(), s = b(), i = b(!1), l = t, c = (N) => {
2176
- N.target instanceof HTMLElement && N.target.id != "noSelectButton" && !f.chat.dialogs && l("select", { chat: f.chat, dialog: null }), f.chat.dialogs && (f.chat.dialogsExpanded = !f.chat.dialogsExpanded);
2177
- }, A = (N) => {
2178
- l("select", { chat: f.chat, dialog: N });
2179
- }, d = () => f.chat.isSelected ? "chat-item__selected" : "", g = (N) => N.isSelected ? "dialog__selected" : "", m = (N) => {
2180
- p.value = !1, M.value = !1, l("action", { chat: f.chat, ...N });
2181
- }, M = b(!1), p = b(!1), y = () => f.chat.dialogs.toSorted((N, w) => {
2182
- if (Number(N["lastActivity.timestamp"]) > Number(w["lastActivity.timestamp"])) return -1;
2183
- if (Number(N["lastActivity.timestamp"]) < Number(w["lastActivity.timestamp"])) return 1;
2184
- if (Number(N["lastActivity.timestamp"]) == Number(w["lastActivity.timestamp"])) return 0;
2175
+ const n = ee("chatAppId"), f = e, a = b(), s = b(), i = b(!1), l = t, c = (D) => {
2176
+ D.target instanceof HTMLElement && D.target.id != "noSelectButton" && !f.chat.dialogs && l("select", { chat: f.chat, dialog: null }), f.chat.dialogs && (f.chat.dialogsExpanded = !f.chat.dialogsExpanded);
2177
+ }, A = (D) => {
2178
+ l("select", { chat: f.chat, dialog: D });
2179
+ }, d = () => f.chat.isSelected ? "chat-item__selected" : "", g = (D) => D.isSelected ? "dialog__selected" : "", m = (D) => {
2180
+ p.value = !1, M.value = !1, l("action", { chat: f.chat, ...D });
2181
+ }, M = b(!1), p = b(!1), y = () => f.chat.dialogs.toSorted((D, w) => {
2182
+ if (Number(D["lastActivity.timestamp"]) > Number(w["lastActivity.timestamp"])) return -1;
2183
+ if (Number(D["lastActivity.timestamp"]) < Number(w["lastActivity.timestamp"])) return 1;
2184
+ if (Number(D["lastActivity.timestamp"]) == Number(w["lastActivity.timestamp"])) return 0;
2185
2185
  }), h = () => {
2186
2186
  M.value = !M.value, et(() => {
2187
2187
  V();
2188
2188
  });
2189
2189
  }, V = () => {
2190
2190
  if (a.value && s.value) {
2191
- const N = a.value.getBoundingClientRect(), w = s.value.$el;
2192
- w.style.top = (N == null ? void 0 : N.bottom) + "px", w.style.left = (N == null ? void 0 : N.left) - w.getBoundingClientRect().width / 1.5 + "px";
2191
+ const D = a.value.getBoundingClientRect(), w = s.value.$el;
2192
+ w.style.top = (D == null ? void 0 : D.bottom) + "px", w.style.left = (D == null ? void 0 : D.left) - w.getBoundingClientRect().width / 1.5 + "px";
2193
2193
  }
2194
2194
  }, S = () => {
2195
2195
  p.value = !0, M.value = !1;
2196
- }, j = (N) => {
2197
- const w = N.relatedTarget;
2196
+ }, j = (D) => {
2197
+ const w = D.relatedTarget;
2198
2198
  p.value = !1, (!w || w.className !== "context-menu__list") && (M.value = !1);
2199
2199
  }, L = Q(() => At(f.chat["lastMessage.status"]));
2200
2200
  let _;
@@ -2209,7 +2209,7 @@ const xg = (e, t = null) => {
2209
2209
  { immediate: !0 }
2210
2210
  ), ie(() => {
2211
2211
  document.getElementById("float-windows-" + n) && (i.value = !0);
2212
- }), (N, w) => (r(), u("div", null, [
2212
+ }), (D, w) => (r(), u("div", null, [
2213
2213
  o("div", {
2214
2214
  class: O(["chat-item__container", d()]),
2215
2215
  onMouseenter: S,
@@ -2269,7 +2269,7 @@ const xg = (e, t = null) => {
2269
2269
  }, null, -1)
2270
2270
  ]), 512)) : v("", !0),
2271
2271
  e.chat.countUnread < 1 ? (r(), u("div", no, [
2272
- E(rt).includes(e.chat["lastMessage.status"]) ? (r(), u("div", {
2272
+ N(rt).includes(e.chat["lastMessage.status"]) ? (r(), u("div", {
2273
2273
  key: 0,
2274
2274
  class: O(["chat-item__status-message", L.value])
2275
2275
  }, [
@@ -2307,9 +2307,9 @@ const xg = (e, t = null) => {
2307
2307
  default: K(() => [
2308
2308
  i.value ? (r(), B(Ae, {
2309
2309
  key: 0,
2310
- to: "#float-windows-" + E(n)
2310
+ to: "#float-windows-" + N(n)
2311
2311
  }, [
2312
- M.value && e.chat.actions ? (r(), B(E($e), {
2312
+ M.value && e.chat.actions ? (r(), B(N($e), {
2313
2313
  key: 0,
2314
2314
  ref_key: "refContextMenu",
2315
2315
  ref: s,
@@ -2354,7 +2354,7 @@ const xg = (e, t = null) => {
2354
2354
  emits: ["update"],
2355
2355
  setup(e, { emit: t }) {
2356
2356
  const n = b(""), f = t, a = () => {
2357
- const s = E(n);
2357
+ const s = N(n);
2358
2358
  f("update", s.value);
2359
2359
  };
2360
2360
  return (s, i) => (r(), u("input", {
@@ -2362,7 +2362,7 @@ const xg = (e, t = null) => {
2362
2362
  ref: n,
2363
2363
  class: "chat-filter__input",
2364
2364
  type: "text",
2365
- placeholder: E(pe)("component.ChatFilter.InputPlaceholder"),
2365
+ placeholder: N(pe)("component.ChatFilter.InputPlaceholder"),
2366
2366
  onInput: a
2367
2367
  }, null, 40, mo));
2368
2368
  }
@@ -2427,15 +2427,15 @@ const xg = (e, t = null) => {
2427
2427
  n.templates.forEach(($) => $.isSelected = !1), U.isSelected = !0, c.value = U, L();
2428
2428
  }, k = () => {
2429
2429
  _(), n.templates.forEach((U) => U.isSelected = !1);
2430
- }, N = Q(() => l.value ? n.templates.filter((U) => U.groupId === l.value.groupId) : n.templates), w = Q(() => {
2430
+ }, D = Q(() => l.value ? n.templates.filter((U) => U.groupId === l.value.groupId) : n.templates), w = Q(() => {
2431
2431
  const U = A.value.trim().toLowerCase();
2432
- return N.value.filter(($) => $.title.toLowerCase().includes(U) || $.template.toLowerCase().includes(U));
2432
+ return D.value.filter(($) => $.title.toLowerCase().includes(U) || $.template.toLowerCase().includes(U));
2433
2433
  }), I = new ResizeObserver((U) => {
2434
2434
  const $ = U[0].target.clientWidth;
2435
2435
  $ > 700 && (p.value = !1), $ < 700 && (p.value = !0);
2436
2436
  });
2437
2437
  return ie(() => {
2438
- x(), E(d) && I.observe(E(d));
2438
+ x(), N(d) && I.observe(N(d));
2439
2439
  }), (U, $) => (r(), u("div", vo, [
2440
2440
  o("div", {
2441
2441
  class: O({
@@ -2444,7 +2444,7 @@ const xg = (e, t = null) => {
2444
2444
  }),
2445
2445
  ref_key: "refContainer",
2446
2446
  ref: d,
2447
- id: "template-selector-container-" + E(f)
2447
+ id: "template-selector-container-" + N(f)
2448
2448
  }, [
2449
2449
  o("div", bo, [
2450
2450
  o("div", Mo, [
@@ -2471,7 +2471,7 @@ const xg = (e, t = null) => {
2471
2471
  o("div", ko, [
2472
2472
  o("div", {
2473
2473
  class: "template-selector__first-col",
2474
- id: "template-selector-first-col-" + E(f)
2474
+ id: "template-selector-first-col-" + N(f)
2475
2475
  }, [
2476
2476
  o("ul", Do, [
2477
2477
  (r(!0), u(q, null, te(e.groupTemplates, (J, le) => (r(), u("li", {
@@ -2502,7 +2502,7 @@ const xg = (e, t = null) => {
2502
2502
  ], 8, No),
2503
2503
  o("div", {
2504
2504
  class: "template-selector__second-col",
2505
- id: "template-selector-second-col-" + E(f)
2505
+ id: "template-selector-second-col-" + N(f)
2506
2506
  }, [
2507
2507
  o("div", Vo, [
2508
2508
  ce(o("input", {
@@ -2531,7 +2531,7 @@ const xg = (e, t = null) => {
2531
2531
  ], 8, xo),
2532
2532
  o("div", {
2533
2533
  class: "template-selector__third-col",
2534
- id: "template-selector-third-col-" + E(f)
2534
+ id: "template-selector-third-col-" + N(f)
2535
2535
  }, [
2536
2536
  o("div", Qo, [
2537
2537
  c.value ? (r(), u("div", $o, [
@@ -2590,7 +2590,7 @@ const xg = (e, t = null) => {
2590
2590
  return ie(() => {
2591
2591
  s.value.style.display = "none";
2592
2592
  }), (d, g) => (r(), u(q, null, [
2593
- E(f)().isRecording ? v("", !0) : (r(), u("button", {
2593
+ N(f)().isRecording ? v("", !0) : (r(), u("button", {
2594
2594
  key: 0,
2595
2595
  ref_key: "templateButton",
2596
2596
  ref: a,
@@ -2672,7 +2672,7 @@ const xg = (e, t = null) => {
2672
2672
  }), (g, m) => (r(), u("span", {
2673
2673
  ref_key: "refPlaceholder",
2674
2674
  ref: i,
2675
- id: "placeholder" + E(n) + e.index,
2675
+ id: "placeholder" + N(n) + e.index,
2676
2676
  contenteditable: "",
2677
2677
  class: O([{ filled: e.isFilled, empty: !e.isFilled }, "placeholder"]),
2678
2678
  onKeydown: Jn(A, ["enter"]),
@@ -2732,7 +2732,7 @@ const xg = (e, t = null) => {
2732
2732
  i.value = "Файл слишком большого размера";
2733
2733
  else if (!i.value) {
2734
2734
  a.value = y, l.value = "uploading";
2735
- const S = E(f.value);
2735
+ const S = N(f.value);
2736
2736
  xt(typeof S == "string" ? S : null, y).then((j) => {
2737
2737
  l.value = j.status, j.status == "success" && (A("fileSelected", {
2738
2738
  url: j.url,
@@ -2927,10 +2927,10 @@ const xg = (e, t = null) => {
2927
2927
  }, V = Q(() => A.value ? n.wabaTemplates.filter((z) => z.groupId === A.value.groupId) : n.wabaTemplates), S = Q(() => {
2928
2928
  const z = m.value.trim().toLowerCase();
2929
2929
  return V.value.filter((H) => H.title.toLowerCase().includes(z) || H.template.toLowerCase().includes(z));
2930
- }), j = ta({}), L = b(null), _ = b(), x = b(""), C = b(""), k = b(""), N = b(!1), w = Q(() => !!(N.value && (k.value == "grid" && C.value == "none" || C.value == "grid" && x.value == "none"))), I = Q(() => !!(N.value && (x.value == "grid" && C.value == "none" || C.value == "grid" && k.value == "none"))), U = () => {
2931
- N.value && (C.value == "grid" ? J() : k.value == "grid" && Z());
2930
+ }), j = ta({}), L = b(null), _ = b(), x = b(""), C = b(""), k = b(""), D = b(!1), w = Q(() => !!(D.value && (k.value == "grid" && C.value == "none" || C.value == "grid" && x.value == "none"))), I = Q(() => !!(D.value && (x.value == "grid" && C.value == "none" || C.value == "grid" && k.value == "none"))), U = () => {
2931
+ D.value && (C.value == "grid" ? J() : k.value == "grid" && Z());
2932
2932
  }, $ = () => {
2933
- N.value && (C.value == "grid" ? le() : x.value == "grid" && Z());
2933
+ D.value && (C.value == "grid" ? le() : x.value == "grid" && Z());
2934
2934
  }, J = () => {
2935
2935
  const z = document.getElementById("waba-template-selector-container-" + f);
2936
2936
  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();
@@ -2981,10 +2981,10 @@ const xg = (e, t = null) => {
2981
2981
  return z;
2982
2982
  }), Oe = new ResizeObserver((z) => {
2983
2983
  const H = z[0].target.clientWidth;
2984
- H > 700 && (N.value = !1), H < 700 && (N.value = !0);
2984
+ H > 700 && (D.value = !1), H < 700 && (D.value = !0);
2985
2985
  });
2986
2986
  return ie(() => {
2987
- fe(), E(_) && Oe.observe(E(_));
2987
+ fe(), N(_) && Oe.observe(N(_));
2988
2988
  }), (z, H) => (r(), u("div", dl, [
2989
2989
  o("div", {
2990
2990
  class: O({
@@ -2993,7 +2993,7 @@ const xg = (e, t = null) => {
2993
2993
  }),
2994
2994
  ref_key: "refContainer",
2995
2995
  ref: _,
2996
- id: "waba-template-selector-container-" + E(f)
2996
+ id: "waba-template-selector-container-" + N(f)
2997
2997
  }, [
2998
2998
  o("div", ml, [
2999
2999
  o("div", pl, [
@@ -3177,7 +3177,7 @@ const xg = (e, t = null) => {
3177
3177
  l("sendWabaValues", M);
3178
3178
  };
3179
3179
  return (M, p) => (r(), u(q, null, [
3180
- E(a)().isRecording ? v("", !0) : (r(), u("button", {
3180
+ N(a)().isRecording ? v("", !0) : (r(), u("button", {
3181
3181
  key: 0,
3182
3182
  ref_key: "templateButton",
3183
3183
  ref: s,
@@ -15677,8 +15677,8 @@ function Pf(e) {
15677
15677
  var x = Ct(n), C = "clientHeight", k = "clientWidth";
15678
15678
  if (x === ke(n) && (x = Qe(n), xe(x).position !== "static" && l === "absolute" && (C = "scrollHeight", k = "scrollWidth")), x = x, a === ue || (a === de || a === _e) && s === Tt) {
15679
15679
  L = Me;
15680
- var N = g && _.visualViewport ? _.visualViewport.height : x[C];
15681
- h -= N - f.height, h *= c ? 1 : -1;
15680
+ var D = g && _.visualViewport ? _.visualViewport.height : x[C];
15681
+ h -= D - f.height, h *= c ? 1 : -1;
15682
15682
  }
15683
15683
  if (a === de || (a === ue || a === Me) && s === Tt) {
15684
15684
  j = _e;
@@ -15893,9 +15893,9 @@ function jt(e, t) {
15893
15893
  bottom: C.bottom - j.bottom + y.bottom,
15894
15894
  left: j.left - C.left + y.left,
15895
15895
  right: C.right - j.right + y.right
15896
- }, N = e.modifiersData.offset;
15897
- if (d === gt && N) {
15898
- var w = N[a];
15896
+ }, D = e.modifiersData.offset;
15897
+ if (d === gt && D) {
15898
+ var w = D[a];
15899
15899
  Object.keys(k).forEach(function(I) {
15900
15900
  var U = [_e, Me].indexOf(I) >= 0 ? 1 : -1, $ = [ue, Me].indexOf(I) >= 0 ? "y" : "x";
15901
15901
  k[I] += w[$] * U;
@@ -15941,7 +15941,7 @@ function iA(e) {
15941
15941
  flipVariations: p,
15942
15942
  allowedAutoPlacements: y
15943
15943
  }) : z);
15944
- }, []), _ = t.rects.reference, x = t.rects.popper, C = /* @__PURE__ */ new Map(), k = !0, N = L[0], w = 0; w < L.length; w++) {
15944
+ }, []), _ = t.rects.reference, x = t.rects.popper, C = /* @__PURE__ */ new Map(), k = !0, D = L[0], w = 0; w < L.length; w++) {
15945
15945
  var I = L[w], U = Te(I), $ = ot(I) === ft, J = [ue, Me].indexOf(U) >= 0, le = J ? "width" : "height", Z = jt(t, {
15946
15946
  placement: I,
15947
15947
  boundary: d,
@@ -15954,7 +15954,7 @@ function iA(e) {
15954
15954
  if (s && he.push(Z[U] <= 0), l && he.push(Z[fe] <= 0, Z[Je] <= 0), he.every(function(Oe) {
15955
15955
  return Oe;
15956
15956
  })) {
15957
- N = I, k = !1;
15957
+ D = I, k = !1;
15958
15958
  break;
15959
15959
  }
15960
15960
  C.set(I, he);
@@ -15969,13 +15969,13 @@ function iA(e) {
15969
15969
  });
15970
15970
  });
15971
15971
  if (H)
15972
- return N = H, "break";
15972
+ return D = H, "break";
15973
15973
  }, ze = Ge; ze > 0; ze--) {
15974
15974
  var Ye = Ze(ze);
15975
15975
  if (Ye === "break")
15976
15976
  break;
15977
15977
  }
15978
- t.placement !== N && (t.modifiersData[f]._skip = !0, t.placement = N, t.reset = !0);
15978
+ t.placement !== D && (t.modifiersData[f]._skip = !0, t.placement = D, t.reset = !0);
15979
15979
  }
15980
15980
  }
15981
15981
  var oA = {
@@ -16077,15 +16077,15 @@ function pA(e) {
16077
16077
  rootBoundary: A,
16078
16078
  padding: g,
16079
16079
  altBoundary: d
16080
- }), V = Te(t.placement), S = ot(t.placement), j = !S, L = mf(V), _ = mA(L), x = t.modifiersData.popperOffsets, C = t.rects.reference, k = t.rects.popper, N = typeof y == "function" ? y(Object.assign({}, t.rects, {
16080
+ }), V = Te(t.placement), S = ot(t.placement), j = !S, L = mf(V), _ = mA(L), x = t.modifiersData.popperOffsets, C = t.rects.reference, k = t.rects.popper, D = typeof y == "function" ? y(Object.assign({}, t.rects, {
16081
16081
  placement: t.placement
16082
- })) : y, w = typeof N == "number" ? {
16083
- mainAxis: N,
16084
- altAxis: N
16082
+ })) : y, w = typeof D == "number" ? {
16083
+ mainAxis: D,
16084
+ altAxis: D
16085
16085
  } : Object.assign({
16086
16086
  mainAxis: 0,
16087
16087
  altAxis: 0
16088
- }, N), I = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, U = {
16088
+ }, D), I = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, U = {
16089
16089
  x: 0,
16090
16090
  y: 0
16091
16091
  };
@@ -16245,11 +16245,11 @@ function NA(e) {
16245
16245
  d.reset = !1, L = -1;
16246
16246
  continue;
16247
16247
  }
16248
- var _ = d.orderedModifiers[L], x = _.fn, C = _.options, k = C === void 0 ? {} : C, N = _.name;
16248
+ var _ = d.orderedModifiers[L], x = _.fn, C = _.options, k = C === void 0 ? {} : C, D = _.name;
16249
16249
  typeof x == "function" && (d = x({
16250
16250
  state: d,
16251
16251
  options: k,
16252
- name: N,
16252
+ name: D,
16253
16253
  instance: M
16254
16254
  }) || d);
16255
16255
  }
@@ -16921,7 +16921,7 @@ const kc = {
16921
16921
  }), Ke(() => {
16922
16922
  document.removeEventListener("click", m);
16923
16923
  }), (M, p) => (r(), u(q, null, [
16924
- E(i)().isRecording ? v("", !0) : (r(), u("div", {
16924
+ N(i)().isRecording ? v("", !0) : (r(), u("div", {
16925
16925
  key: 0,
16926
16926
  ref_key: "emojiButton",
16927
16927
  ref: f,
@@ -16941,7 +16941,7 @@ const kc = {
16941
16941
  onMouseover: d,
16942
16942
  onMouseout: g
16943
16943
  }, [
16944
- F(E(wc), {
16944
+ F(N(wc), {
16945
16945
  native: !0,
16946
16946
  theme: l.value,
16947
16947
  "picker-type": "",
@@ -17030,25 +17030,25 @@ const Sc = { class: "feed-search__container" }, Cc = { style: { "line-height": "
17030
17030
  }
17031
17031
  );
17032
17032
  const A = () => {
17033
- const d = E(i);
17033
+ const d = N(i);
17034
17034
  d && (d.value = ""), f().text = "", a("cancel");
17035
17035
  };
17036
17036
  return ie(() => {
17037
- const d = E(i);
17037
+ const d = N(i);
17038
17038
  d == null || d.focus();
17039
17039
  }), (d, g) => (r(), B(X, null, {
17040
17040
  default: K(() => [
17041
17041
  o("div", Sc, [
17042
- o("span", Cc, T(E(pe)("component.FeedSearch.SearchLabel")), 1),
17042
+ o("span", Cc, T(N(pe)("component.FeedSearch.SearchLabel")), 1),
17043
17043
  ce(o("input", {
17044
17044
  ref_key: "refInput",
17045
17045
  ref: i,
17046
17046
  class: "feed-search__input",
17047
17047
  type: "text",
17048
- placeholder: E(pe)("component.FeedSearch.SearchPlaceholder"),
17049
- "onUpdate:modelValue": g[0] || (g[0] = (m) => E(f)().text = m)
17048
+ placeholder: N(pe)("component.FeedSearch.SearchPlaceholder"),
17049
+ "onUpdate:modelValue": g[0] || (g[0] = (m) => N(f)().text = m)
17050
17050
  }, null, 8, zc), [
17051
- [lt, E(f)().text]
17051
+ [lt, N(f)().text]
17052
17052
  ]),
17053
17053
  o("i", {
17054
17054
  class: "pi pi-times",
@@ -17153,11 +17153,11 @@ const Sc = { class: "feed-search__container" }, Cc = { style: { "line-height": "
17153
17153
  }), l = (A) => {
17154
17154
  A.messageId && (n("clickedSearch", A.messageId), s.value = A);
17155
17155
  }, c = () => {
17156
- const A = E(a);
17156
+ const A = N(a);
17157
17157
  A.scrollHeight - A.scrollTop - A.clientHeight <= 0 && n("loadMore");
17158
17158
  };
17159
17159
  return (A, d) => (r(), u(q, null, [
17160
- o("h3", Wc, T(E(pe)("component.FeedFoundObjects.results")) + ": " + T(e.foundAmount), 1),
17160
+ o("h3", Wc, T(N(pe)("component.FeedFoundObjects.results")) + ": " + T(e.foundAmount), 1),
17161
17161
  e.foundAmount > 0 ? (r(), u("div", {
17162
17162
  key: 0,
17163
17163
  class: "feed-found-objects__items",
@@ -17196,21 +17196,23 @@ const Sc = { class: "feed-search__container" }, Cc = { style: { "line-height": "
17196
17196
  emits: ["send", "typing"],
17197
17197
  setup(e, { emit: t }) {
17198
17198
  const n = ee("chatAppId"), { getMessage: f, setMessageFile: a, resetMessageFile: s, setRecordingMessage: i } = Ie(n), l = b(), c = b(0), A = b(0), d = b(0), g = b(0), m = Q(() => {
17199
- let N = g.value < 10 ? "0" + g.value : g.value, w = d.value < 10 ? "0" + d.value : d.value, I = A.value < 10 ? "0" + A.value : A.value, U = c.value < 10 ? "00" + c.value : c.value < 100 ? "0" + c.value : c.value;
17200
- return N + ":" + w + ":" + I + ":" + U;
17199
+ let D = g.value < 10 ? "0" + g.value : g.value, w = d.value < 10 ? "0" + d.value : d.value, I = A.value < 10 ? "0" + A.value : A.value, U = c.value < 10 ? "00" + c.value : c.value < 100 ? "0" + c.value : c.value;
17200
+ return D + ":" + w + ":" + I + ":" + U;
17201
17201
  }), M = b(""), p = b(!1), y = b(), h = b([]), V = b(), S = b(), j = e, L = async () => {
17202
- const N = await navigator.mediaDevices.getUserMedia({ audio: !0, video: !1 });
17203
- l.value = setInterval(() => {
17204
- c.value += 10, c.value == 1e3 && (c.value = 0, A.value++, A.value == 60 && (A.value = 0, d.value++, d.value == 60 && (d.value = 0, g.value++)));
17205
- }, 10), i(!0), p.value = !0, y.value = new MediaRecorder(N), y.value.start(), y.value.ondataavailable = (w) => {
17206
- h.value.push(w.data);
17207
- };
17202
+ if (!f().file && j.state == "active") {
17203
+ const D = await navigator.mediaDevices.getUserMedia({ audio: !0, video: !1 });
17204
+ l.value = setInterval(() => {
17205
+ c.value += 10, c.value == 1e3 && (c.value = 0, A.value++, A.value == 60 && (A.value = 0, d.value++, d.value == 60 && (d.value = 0, g.value++)));
17206
+ }, 10), i(!0), p.value = !0, y.value = new MediaRecorder(D), y.value.start(), y.value.ondataavailable = (w) => {
17207
+ h.value.push(w.data);
17208
+ };
17209
+ }
17208
17210
  }, _ = () => {
17209
17211
  C(), V.value = void 0;
17210
17212
  }, x = () => {
17211
17213
  y.value && (y.value.stop(), y.value.onstop = async () => {
17212
- const N = new File(h.value, "voicemessage.mp3", { type: "audio/*" }), w = URL.createObjectURL(N);
17213
- V.value = w, M.value = "uploading", await xt(j.filebumpUrl, N).then((I) => {
17214
+ const D = new File(h.value, "voicemessage.mp3", { type: "audio/*" }), w = URL.createObjectURL(D);
17215
+ V.value = w, M.value = "uploading", await xt(j.filebumpUrl, D).then((I) => {
17214
17216
  M.value = I.status, I.status == "success" && (a({
17215
17217
  url: I.url,
17216
17218
  name: I.name,
@@ -17236,13 +17238,12 @@ const Sc = { class: "feed-search__container" }, Cc = { style: { "line-height": "
17236
17238
  () => {
17237
17239
  f().file || (S.value = void 0);
17238
17240
  }
17239
- ), (N, w) => (r(), u("div", Zc, [
17241
+ ), (D, w) => (r(), u("div", Zc, [
17240
17242
  M.value === "uploading" ? (r(), u("div", Xc, w[0] || (w[0] = [
17241
17243
  o("p", null, "Загрузка файла...", -1)
17242
17244
  ]))) : v("", !0),
17243
17245
  p.value && M.value != "uploading" ? (r(), u("div", eu, [
17244
17246
  w[3] || (w[3] = o("span", { class: "audio-recorder__recording-icon pi pi-circle-fill" }, null, -1)),
17245
- o("span", tu, T(m.value), 1),
17246
17247
  o("button", {
17247
17248
  class: "audio-recorder__button audio-recorder__button-record",
17248
17249
  onClick: _
@@ -17253,19 +17254,20 @@ const Sc = { class: "feed-search__container" }, Cc = { style: { "line-height": "
17253
17254
  class: "audio-recorder__button audio-recorder__button-record",
17254
17255
  onClick: x
17255
17256
  }, w[2] || (w[2] = [
17256
- o("span", { class: "pi pi-stop" }, null, -1)
17257
- ]))
17257
+ o("div", { class: "audio-recorder__stop" }, null, -1)
17258
+ ])),
17259
+ o("span", tu, T(m.value), 1)
17258
17260
  ])) : v("", !0),
17259
- !p.value && M.value != "uploading" && !E(f)().isRecording ? (r(), u("button", {
17261
+ !p.value && M.value != "uploading" && !N(f)().isRecording ? (r(), u("button", {
17260
17262
  key: 2,
17261
- class: O(["audio-recorder__button", { "audio-recorder__button-disabled": e.state == "disabled" }]),
17263
+ class: O(["audio-recorder__button", { "audio-recorder__button-disabled": e.state == "disabled" || N(f)().file }]),
17262
17264
  onClick: L
17263
17265
  }, w[4] || (w[4] = [
17264
17266
  o("span", { class: "pi pi-microphone" }, null, -1)
17265
17267
  ]), 2)) : v("", !0),
17266
- E(f)().file ? (r(), B(Ae, {
17268
+ N(f)().file ? (r(), B(Ae, {
17267
17269
  key: 3,
17268
- to: "#chat-input-file-line-" + E(n)
17270
+ to: "#chat-input-file-line-" + N(n)
17269
17271
  }, [
17270
17272
  S.value ? (r(), B(Vt, {
17271
17273
  key: 0,
@@ -17275,7 +17277,7 @@ const Sc = { class: "feed-search__container" }, Cc = { style: { "line-height": "
17275
17277
  ], 8, ["to"])) : v("", !0)
17276
17278
  ]));
17277
17279
  }
17278
- }), Bg = /* @__PURE__ */ R(nu, [["__scopeId", "data-v-1eaeb015"]]);
17280
+ }), Bg = /* @__PURE__ */ R(nu, [["__scopeId", "data-v-92d0c239"]]);
17279
17281
  function Ot({ component: e, attrs: t, Modal: n, modalAttrs: f }) {
17280
17282
  return new Promise((a) => {
17281
17283
  const s = document.createElement("div");
@@ -17370,7 +17372,7 @@ const fu = ["data-theme"], au = {
17370
17372
  }, yf = /* @__PURE__ */ R(ou, [["__scopeId", "data-v-a44139f6"]]), Rg = async (e, t) => {
17371
17373
  const n = await Ot({
17372
17374
  //в component должен быть встроен emit change(key: value)
17373
- component: import("./SelectUser2-DQI-YvpZ.js"),
17375
+ component: import("./SelectUser2-Ckk2MZef.js"),
17374
17376
  attrs: {
17375
17377
  title: e,
17376
17378
  users: t
@@ -17439,7 +17441,7 @@ const fu = ["data-theme"], au = {
17439
17441
  }
17440
17442
  }, Sa = /* @__PURE__ */ R(cu, [["__scopeId", "data-v-564d1d1f"]]), Yg = async (e, t, n, f, a) => await Ot({
17441
17443
  //в component должен быть встроен emit change(key: value)
17442
- component: import("./CreateDialog-o27tJbMY.js"),
17444
+ component: import("./CreateDialog-DYLAu6u4.js"),
17443
17445
  attrs: {
17444
17446
  title: e,
17445
17447
  name: t,
@@ -17452,7 +17454,7 @@ const fu = ["data-theme"], au = {
17452
17454
  }
17453
17455
  }), uu = async (e) => await Ot({
17454
17456
  //в component должен быть встроен emit change(key: value)
17455
- component: import("./ModalVideoRecorder-DI-hUcNt.js"),
17457
+ component: import("./ModalVideoRecorder-Cyk9jDqV.js"),
17456
17458
  attrs: {},
17457
17459
  Modal: Sa,
17458
17460
  modalAttrs: {
@@ -17478,7 +17480,7 @@ const fu = ["data-theme"], au = {
17478
17480
  },
17479
17481
  setup(e) {
17480
17482
  const t = ee("chatAppId"), { getMessage: n, setMessageFile: f, setRecordingMessage: a, resetMessageFile: s } = Ie(t), i = b(""), l = b(), c = e, A = async () => {
17481
- await uu().then(async (g) => {
17483
+ !n().file && c.state == "active" && await uu().then(async (g) => {
17482
17484
  g.videoFile && (i.value = "uploading", a(!0), await xt(c.filebumpUrl, g.videoFile).then((m) => {
17483
17485
  a(!1), i.value = m.status, m.status == "success" && (f({
17484
17486
  url: m.url,
@@ -17504,10 +17506,10 @@ const fu = ["data-theme"], au = {
17504
17506
  n().file || (l.value = void 0);
17505
17507
  }
17506
17508
  ), (g, m) => (r(), u(q, null, [
17507
- E(n)().isRecording ? v("", !0) : (r(), u("div", du, [
17509
+ N(n)().isRecording ? v("", !0) : (r(), u("div", du, [
17508
17510
  i.value != "uploading" ? (r(), u("button", {
17509
17511
  key: 0,
17510
- class: O(["video-recorder__button", { "video-recorder__button-disabled": e.state == "disabled" }]),
17512
+ class: O(["video-recorder__button", { "video-recorder__button-disabled": e.state == "disabled" || N(n)().file }]),
17511
17513
  onClick: A
17512
17514
  }, m[0] || (m[0] = [
17513
17515
  o("span", { class: "pi pi-video" }, null, -1)
@@ -17516,9 +17518,9 @@ const fu = ["data-theme"], au = {
17516
17518
  i.value === "uploading" ? (r(), u("div", gu, m[1] || (m[1] = [
17517
17519
  o("p", null, "Загрузка файла...", -1)
17518
17520
  ]))) : v("", !0),
17519
- E(n)().file ? (r(), B(Ae, {
17521
+ N(n)().file ? (r(), B(Ae, {
17520
17522
  key: 2,
17521
- to: "#chat-input-file-line-" + E(t)
17523
+ to: "#chat-input-file-line-" + N(t)
17522
17524
  }, [
17523
17525
  l.value ? (r(), B(Vt, {
17524
17526
  key: 0,
@@ -17528,7 +17530,7 @@ const fu = ["data-theme"], au = {
17528
17530
  ], 8, ["to"])) : v("", !0)
17529
17531
  ], 64));
17530
17532
  }
17531
- }), Pg = /* @__PURE__ */ R(mu, [["__scopeId", "data-v-8791b8ed"]]), ct = /* @__PURE__ */ W({
17533
+ }), Pg = /* @__PURE__ */ R(mu, [["__scopeId", "data-v-c7530777"]]), ct = /* @__PURE__ */ W({
17532
17534
  __name: "BaseReplyMessage",
17533
17535
  props: {
17534
17536
  message: {
@@ -17698,7 +17700,7 @@ const fu = ["data-theme"], au = {
17698
17700
  o("p", null, T(e.message.views), 1)
17699
17701
  ])) : v("", !0),
17700
17702
  o("span", xu, T(e.message.time), 1),
17701
- p(e.message) === "file-message__right" && E(rt).includes(e.message.status) ? (r(), u("div", {
17703
+ p(e.message) === "file-message__right" && N(rt).includes(e.message.status) ? (r(), u("div", {
17702
17704
  key: 1,
17703
17705
  class: O(["file-message__status", M.value])
17704
17706
  }, [
@@ -17715,7 +17717,7 @@ const fu = ["data-theme"], au = {
17715
17717
  ]))) : v("", !0),
17716
17718
  F(X, null, {
17717
17719
  default: K(() => [
17718
- a.value && e.message.actions ? (r(), B(E($e), {
17720
+ a.value && e.message.actions ? (r(), B(N($e), {
17719
17721
  key: 0,
17720
17722
  class: "file-message__context-menu",
17721
17723
  actions: e.message.actions,
@@ -17826,7 +17828,7 @@ const fu = ["data-theme"], au = {
17826
17828
  o("p", null, T(e.message.views), 1)
17827
17829
  ])) : v("", !0),
17828
17830
  o("span", Qu, T(e.message.time), 1),
17829
- V(e.message) === "image-message__right" && E(rt).includes(e.message.status) ? (r(), u("div", {
17831
+ V(e.message) === "image-message__right" && N(rt).includes(e.message.status) ? (r(), u("div", {
17830
17832
  key: 1,
17831
17833
  class: O(["image-message__status", h.value])
17832
17834
  }, [
@@ -17867,7 +17869,7 @@ const fu = ["data-theme"], au = {
17867
17869
  }),
17868
17870
  F(X, { name: "context-menu" }, {
17869
17871
  default: K(() => [
17870
- s.value && e.message.actions ? (r(), B(E($e), {
17872
+ s.value && e.message.actions ? (r(), B(N($e), {
17871
17873
  key: 0,
17872
17874
  class: "image-message__context-menu",
17873
17875
  actions: e.message.actions,
@@ -17999,7 +18001,7 @@ const fu = ["data-theme"], au = {
17999
18001
  o("p", null, T(e.message.views), 1)
18000
18002
  ])) : v("", !0),
18001
18003
  e.message.time ? (r(), u("span", e1, T(e.message.time), 1)) : v("", !0),
18002
- p(e.message) === "text-message__right" && E(rt).includes(e.message.status) ? (r(), u("div", {
18004
+ p(e.message) === "text-message__right" && N(rt).includes(e.message.status) ? (r(), u("div", {
18003
18005
  key: 2,
18004
18006
  class: O(["text-message__status", g.value])
18005
18007
  }, [
@@ -18016,7 +18018,7 @@ const fu = ["data-theme"], au = {
18016
18018
  ]))) : v("", !0),
18017
18019
  F(X, null, {
18018
18020
  default: K(() => [
18019
- a.value && e.message.actions ? (r(), B(E($e), {
18021
+ a.value && e.message.actions ? (r(), B(N($e), {
18020
18022
  key: 0,
18021
18023
  class: "text-message__context-menu",
18022
18024
  actions: e.message.actions,
@@ -18108,7 +18110,7 @@ const fu = ["data-theme"], au = {
18108
18110
  }
18109
18111
  );
18110
18112
  const k = Q(() => i.value ? x(c.value) : "0:00");
18111
- function N(w) {
18113
+ function D(w) {
18112
18114
  return w.position === "left" ? "audio-message__left" : "audio-message__right";
18113
18115
  }
18114
18116
  return ie(() => {
@@ -18122,7 +18124,7 @@ const fu = ["data-theme"], au = {
18122
18124
  }), (w, I) => {
18123
18125
  var U;
18124
18126
  return r(), u("div", {
18125
- class: O(["audio-message", N(e.message)]),
18127
+ class: O(["audio-message", D(e.message)]),
18126
18128
  messageId: e.message.messageId,
18127
18129
  onMouseleave: V
18128
18130
  }, [
@@ -18224,7 +18226,7 @@ const fu = ["data-theme"], au = {
18224
18226
  o("p", null, T(e.message.views), 1)
18225
18227
  ])) : v("", !0),
18226
18228
  o("span", y1, T(e.message.time), 1),
18227
- N(e.message) === "audio-message__right" && E(rt).includes(e.message.status) ? (r(), u("div", {
18229
+ D(e.message) === "audio-message__right" && N(rt).includes(e.message.status) ? (r(), u("div", {
18228
18230
  key: 1,
18229
18231
  class: O(["audio-message__status", L.value])
18230
18232
  }, [
@@ -18241,7 +18243,7 @@ const fu = ["data-theme"], au = {
18241
18243
  ]))) : v("", !0),
18242
18244
  F(X, null, {
18243
18245
  default: K(() => [
18244
- d.value && e.message.actions ? (r(), B(E($e), {
18246
+ d.value && e.message.actions ? (r(), B(N($e), {
18245
18247
  key: 0,
18246
18248
  class: "audio-message__context-menu",
18247
18249
  actions: e.message.actions,
@@ -18376,9 +18378,9 @@ const fu = ["data-theme"], au = {
18376
18378
  }, null, 8, ["class", "message"])) : v("", !0),
18377
18379
  o("div", {
18378
18380
  class: "video-message__preview-button",
18379
- onClick: k[0] || (k[0] = (N) => c.value = !0),
18381
+ onClick: k[0] || (k[0] = (D) => c.value = !0),
18380
18382
  onMouseenter: h,
18381
- onMouseleave: k[1] || (k[1] = (N) => g.value = !g.value)
18383
+ onMouseleave: k[1] || (k[1] = (D) => g.value = !g.value)
18382
18384
  }, [
18383
18385
  o("video", {
18384
18386
  ref_key: "previewPlayer",
@@ -18402,7 +18404,7 @@ const fu = ["data-theme"], au = {
18402
18404
  o("p", null, T(e.message.views), 1)
18403
18405
  ])) : v("", !0),
18404
18406
  o("span", O1, T(e.message.time), 1),
18405
- s(e.message) === "video-message__right" && E(rt).includes(e.message.status) ? (r(), u("div", {
18407
+ s(e.message) === "video-message__right" && N(rt).includes(e.message.status) ? (r(), u("div", {
18406
18408
  key: 1,
18407
18409
  class: O(["video-message__status", S.value])
18408
18410
  }, [
@@ -18434,7 +18436,7 @@ const fu = ["data-theme"], au = {
18434
18436
  d.value && e.message.actions ? (r(), u("button", {
18435
18437
  key: 0,
18436
18438
  class: "video-message__menu-button",
18437
- onClick: k[2] || (k[2] = (N) => A.value = !A.value)
18439
+ onClick: k[2] || (k[2] = (D) => A.value = !A.value)
18438
18440
  }, k[6] || (k[6] = [
18439
18441
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
18440
18442
  ]))) : v("", !0)
@@ -18443,7 +18445,7 @@ const fu = ["data-theme"], au = {
18443
18445
  }),
18444
18446
  F(X, { name: "context-menu" }, {
18445
18447
  default: K(() => [
18446
- A.value && e.message.actions ? (r(), B(E($e), {
18448
+ A.value && e.message.actions ? (r(), B(N($e), {
18447
18449
  key: 0,
18448
18450
  class: "video-message__context-menu",
18449
18451
  actions: e.message.actions,
@@ -18914,7 +18916,7 @@ const fu = ["data-theme"], au = {
18914
18916
  setup(e) {
18915
18917
  const t = Gn();
18916
18918
  return In("chatAppId", t), (n, f) => (r(), u("div", {
18917
- id: E(t),
18919
+ id: N(t),
18918
18920
  class: "base"
18919
18921
  }, [
18920
18922
  o("div", {
@@ -18924,7 +18926,7 @@ const fu = ["data-theme"], au = {
18924
18926
  ne(n.$slots, "default"),
18925
18927
  (r(), B(Ae, { to: "body" }, [
18926
18928
  o("div", {
18927
- id: "float-windows-" + E(t)
18929
+ id: "float-windows-" + N(t)
18928
18930
  }, null, 8, Qd)
18929
18931
  ]))
18930
18932
  ], 4)
@@ -18973,7 +18975,7 @@ const fu = ["data-theme"], au = {
18973
18975
  ));
18974
18976
  }), A.value = a.value.offsetHeight - s.value.offsetHeight;
18975
18977
  }), (p, y) => (r(), u("div", {
18976
- id: E(d),
18978
+ id: N(d),
18977
18979
  ref_key: "element",
18978
18980
  ref: a,
18979
18981
  class: "float-window",
@@ -19019,7 +19021,7 @@ const fu = ["data-theme"], au = {
19019
19021
  ne(p.$slots, "default", {}, void 0, !0),
19020
19022
  (r(), B(Ae, { to: "body" }, [
19021
19023
  o("div", {
19022
- id: "float-windows-" + E(d)
19024
+ id: "float-windows-" + N(d)
19023
19025
  }, null, 8, Hd)
19024
19026
  ]))
19025
19027
  ], 4)
@@ -19093,12 +19095,12 @@ const Kg = /* @__PURE__ */ R(ig, [["render", rg], ["__scopeId", "data-v-a4657f8e
19093
19095
  { immediate: !0 }
19094
19096
  ), (f, a) => (r(), u("div", {
19095
19097
  class: "chat-wrapper",
19096
- id: "chat-wrapper-" + E(n)
19098
+ id: "chat-wrapper-" + N(n)
19097
19099
  }, [
19098
19100
  e.isSelectedChat ? (r(), u("div", cg, [
19099
19101
  ne(f.$slots, "default", {}, void 0, !0)
19100
19102
  ])) : (r(), u("div", ug, [
19101
- o("p", null, T(E(pe)("layout.ChatWrapper.noSelectedChat")), 1)
19103
+ o("p", null, T(N(pe)("layout.ChatWrapper.noSelectedChat")), 1)
19102
19104
  ])),
19103
19105
  e.isOpenChatPanel ? (r(), u("div", {
19104
19106
  key: 2,
@@ -19143,23 +19145,23 @@ const Kg = /* @__PURE__ */ R(ig, [["render", rg], ["__scopeId", "data-v-a4657f8e
19143
19145
  }), (s, i) => (r(), u("div", {
19144
19146
  class: "extend-layout__container",
19145
19147
  ref: "refContainer",
19146
- id: "extern-layout-container-" + E(n)
19148
+ id: "extern-layout-container-" + N(n)
19147
19149
  }, [
19148
19150
  o("div", {
19149
19151
  class: "extend-layout__first-col",
19150
- id: "extend-layout-first-col-" + E(n)
19152
+ id: "extend-layout-first-col-" + N(n)
19151
19153
  }, [
19152
19154
  ne(s.$slots, "first-col", {}, void 0, !0)
19153
19155
  ], 8, mg),
19154
19156
  o("div", {
19155
19157
  class: "extend-layout__second-col",
19156
- id: "extend-layout-second-col-" + E(n)
19158
+ id: "extend-layout-second-col-" + N(n)
19157
19159
  }, [
19158
19160
  ne(s.$slots, "second-col", {}, void 0, !0)
19159
19161
  ], 8, pg),
19160
19162
  o("div", {
19161
19163
  class: "extend-layout__third-col",
19162
- id: "extend-layout-third-col-" + E(n)
19164
+ id: "extend-layout-third-col-" + N(n)
19163
19165
  }, [
19164
19166
  ne(s.$slots, "third-col", {}, void 0, !0)
19165
19167
  ], 8, hg)