@mobilon-dev/chotto 0.0.118 → 0.0.119

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 te, computed as $, createElementBlock as u, createCommentVNode as p, openBlock as l, createElementVNode as o, toDisplayString as E, renderSlot as fe, unref as N, ref as v, customRef as ta, useId as Xn, onMounted as oe, nextTick as $e, onUnmounted as Je, createBlock as B, Teleport as ue, createVNode as W, defineComponent as K, useTemplateRef as ef, watch as ee, withDirectives as ce, withCtx as Z, normalizeClass as V, withKeys as tf, vModelText as lt, Fragment as H, renderList as ae, Transition as ne, normalizeStyle as re, resolveDynamicComponent as na, vShow as Ke, toRef as Qa, vModelRadio as fa, reactive as aa, provide as et, getCurrentInstance as $a, toRaw as sa, onBeforeUnmount as Ya, readonly as Pa, resolveComponent as Ft, h as Vf, defineAsyncComponent as Fa, createApp as qa, withModifiers as Dt } from "vue";
1
+ import { inject as te, computed as $, createElementBlock as u, createCommentVNode as p, openBlock as l, createElementVNode as o, toDisplayString as E, renderSlot as fe, unref as N, ref as v, customRef as ea, useId as Xn, onMounted as oe, nextTick as $e, onUnmounted as Je, createBlock as B, Teleport as ue, createVNode as W, defineComponent as K, useTemplateRef as ta, watch as ee, withDirectives as ce, withCtx as Z, normalizeClass as V, withKeys as ef, vModelText as lt, Fragment as H, renderList as ae, Transition as ne, normalizeStyle as re, resolveDynamicComponent as na, vShow as Ke, toRef as Qa, vModelRadio as fa, reactive as aa, provide as et, getCurrentInstance as $a, toRaw as sa, onBeforeUnmount as Ya, readonly as Pa, resolveComponent as Ft, h as xf, defineAsyncComponent as Fa, createApp as qa, withModifiers as Dt } from "vue";
2
2
  const Ha = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", Wa = "ελ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 @@ he.prototype = {
144
144
  return a.j[e] = i, i;
145
145
  }
146
146
  };
147
- const q = (e, t, n, f, a) => e.ta(t, n, f, a), se = (e, t, n, f, a) => e.tr(t, n, f, a), Sf = (e, t, n, f, a) => e.ts(t, n, f, a), D = (e, t, n, f, a) => e.tt(t, n, f, a), Oe = "WORD", qn = "UWORD", oa = "ASCIINUMERICAL", la = "ALPHANUMERICAL", Et = "LOCALHOST", Hn = "TLD", Wn = "UTLD", qt = "SCHEME", Xe = "SLASH_SCHEME", nf = "NUM", Kn = "WS", ff = "NL", bt = "OPENBRACE", Mt = "CLOSEBRACE", Kt = "OPENBRACKET", Jt = "CLOSEBRACKET", Gt = "OPENPAREN", Zt = "CLOSEPAREN", Xt = "OPENANGLEBRACKET", en = "CLOSEANGLEBRACKET", tn = "FULLWIDTHLEFTPAREN", nn = "FULLWIDTHRIGHTPAREN", fn = "LEFTCORNERBRACKET", an = "RIGHTCORNERBRACKET", sn = "LEFTWHITECORNERBRACKET", on = "RIGHTWHITECORNERBRACKET", ln = "FULLWIDTHLESSTHAN", rn = "FULLWIDTHGREATERTHAN", An = "AMPERSAND", af = "APOSTROPHE", cn = "ASTERISK", Be = "AT", un = "BACKSLASH", dn = "BACKTICK", gn = "CARET", Re = "COLON", sf = "COMMA", mn = "DOLLAR", Ee = "DOT", pn = "EQUALS", of = "EXCLAMATION", be = "HYPHEN", _t = "PERCENT", hn = "PIPE", vn = "PLUS", yn = "POUND", It = "QUERY", lf = "QUOTE", ra = "FULLWIDTHMIDDLEDOT", rf = "SEMI", Te = "SLASH", wt = "TILDE", bn = "UNDERSCORE", Aa = "EMOJI", Mn = "SYM";
147
+ const q = (e, t, n, f, a) => e.ta(t, n, f, a), se = (e, t, n, f, a) => e.tr(t, n, f, a), Vf = (e, t, n, f, a) => e.ts(t, n, f, a), D = (e, t, n, f, a) => e.tt(t, n, f, a), Oe = "WORD", qn = "UWORD", oa = "ASCIINUMERICAL", la = "ALPHANUMERICAL", Et = "LOCALHOST", Hn = "TLD", Wn = "UTLD", qt = "SCHEME", Xe = "SLASH_SCHEME", tf = "NUM", Kn = "WS", nf = "NL", bt = "OPENBRACE", Mt = "CLOSEBRACE", Kt = "OPENBRACKET", Jt = "CLOSEBRACKET", Gt = "OPENPAREN", Zt = "CLOSEPAREN", Xt = "OPENANGLEBRACKET", en = "CLOSEANGLEBRACKET", tn = "FULLWIDTHLEFTPAREN", nn = "FULLWIDTHRIGHTPAREN", fn = "LEFTCORNERBRACKET", an = "RIGHTCORNERBRACKET", sn = "LEFTWHITECORNERBRACKET", on = "RIGHTWHITECORNERBRACKET", ln = "FULLWIDTHLESSTHAN", rn = "FULLWIDTHGREATERTHAN", An = "AMPERSAND", ff = "APOSTROPHE", cn = "ASTERISK", Be = "AT", un = "BACKSLASH", dn = "BACKTICK", gn = "CARET", Re = "COLON", af = "COMMA", mn = "DOLLAR", Ee = "DOT", pn = "EQUALS", sf = "EXCLAMATION", be = "HYPHEN", _t = "PERCENT", hn = "PIPE", vn = "PLUS", yn = "POUND", It = "QUERY", of = "QUOTE", ra = "FULLWIDTHMIDDLEDOT", lf = "SEMI", Te = "SLASH", wt = "TILDE", bn = "UNDERSCORE", Aa = "EMOJI", Mn = "SYM";
148
148
  var ca = /* @__PURE__ */ Object.freeze({
149
149
  __proto__: null,
150
150
  WORD: Oe,
@@ -156,9 +156,9 @@ var ca = /* @__PURE__ */ Object.freeze({
156
156
  UTLD: Wn,
157
157
  SCHEME: qt,
158
158
  SLASH_SCHEME: Xe,
159
- NUM: nf,
159
+ NUM: tf,
160
160
  WS: Kn,
161
- NL: ff,
161
+ NL: nf,
162
162
  OPENBRACE: bt,
163
163
  CLOSEBRACE: Mt,
164
164
  OPENBRACKET: Kt,
@@ -176,42 +176,42 @@ var ca = /* @__PURE__ */ Object.freeze({
176
176
  FULLWIDTHLESSTHAN: ln,
177
177
  FULLWIDTHGREATERTHAN: rn,
178
178
  AMPERSAND: An,
179
- APOSTROPHE: af,
179
+ APOSTROPHE: ff,
180
180
  ASTERISK: cn,
181
181
  AT: Be,
182
182
  BACKSLASH: un,
183
183
  BACKTICK: dn,
184
184
  CARET: gn,
185
185
  COLON: Re,
186
- COMMA: sf,
186
+ COMMA: af,
187
187
  DOLLAR: mn,
188
188
  DOT: Ee,
189
189
  EQUALS: pn,
190
- EXCLAMATION: of,
190
+ EXCLAMATION: sf,
191
191
  HYPHEN: be,
192
192
  PERCENT: _t,
193
193
  PIPE: hn,
194
194
  PLUS: vn,
195
195
  POUND: yn,
196
196
  QUERY: It,
197
- QUOTE: lf,
197
+ QUOTE: of,
198
198
  FULLWIDTHMIDDLEDOT: ra,
199
- SEMI: rf,
199
+ SEMI: lf,
200
200
  SLASH: Te,
201
201
  TILDE: wt,
202
202
  UNDERSCORE: bn,
203
203
  EMOJI: Aa,
204
204
  SYM: Mn
205
205
  });
206
- const Se = /[a-z]/, gt = new RegExp("\\p{L}", "u"), Sn = new RegExp("\\p{Emoji}", "u"), Ce = /\d/, Cn = /\s/, Cf = "\r", On = `
206
+ const Se = /[a-z]/, gt = new RegExp("\\p{L}", "u"), Sn = new RegExp("\\p{Emoji}", "u"), Ce = /\d/, Cn = /\s/, Sf = "\r", On = `
207
207
  `, Xa = "️", es = "‍", zn = "";
208
208
  let Rt = null, Qt = null;
209
209
  function ts(e = []) {
210
210
  const t = {};
211
211
  he.groups = t;
212
212
  const n = new he();
213
- Rt == null && (Rt = Of(Ha)), Qt == null && (Qt = Of(Wa)), D(n, "'", af), D(n, "{", bt), D(n, "}", Mt), 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, "*", cn), D(n, "@", Be), D(n, "`", dn), D(n, "^", gn), D(n, ":", Re), D(n, ",", sf), D(n, "$", mn), D(n, ".", Ee), D(n, "=", pn), D(n, "!", of), D(n, "-", be), D(n, "%", _t), D(n, "|", hn), D(n, "+", vn), D(n, "#", yn), D(n, "?", It), D(n, '"', lf), D(n, "/", Te), D(n, ";", rf), D(n, "~", wt), D(n, "_", bn), D(n, "\\", un), D(n, "・", ra);
214
- const f = se(n, Ce, nf, {
213
+ Rt == null && (Rt = Cf(Ha)), Qt == null && (Qt = Cf(Wa)), D(n, "'", ff), D(n, "{", bt), D(n, "}", Mt), 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, "*", cn), D(n, "@", Be), D(n, "`", dn), D(n, "^", gn), D(n, ":", Re), D(n, ",", af), D(n, "$", mn), D(n, ".", Ee), D(n, "=", pn), D(n, "!", sf), D(n, "-", be), D(n, "%", _t), D(n, "|", hn), D(n, "+", vn), D(n, "#", yn), D(n, "?", It), D(n, '"', of), D(n, "/", Te), D(n, ";", lf), D(n, "~", wt), D(n, "_", bn), D(n, "\\", un), D(n, "・", ra);
214
+ const f = se(n, Ce, tf, {
215
215
  [$n]: !0
216
216
  });
217
217
  se(f, Ce, f);
@@ -227,14 +227,14 @@ function ts(e = []) {
227
227
  [Pn]: !0
228
228
  });
229
229
  se(r, Se), se(r, Ce, s), se(r, gt, r), se(s, Ce, s), se(s, Se), se(s, gt, s);
230
- const c = D(n, On, ff, {
230
+ const c = D(n, On, nf, {
231
231
  [Vn]: !0
232
- }), A = D(n, Cf, Kn, {
232
+ }), A = D(n, Sf, Kn, {
233
233
  [Vn]: !0
234
234
  }), d = se(n, Cn, Kn, {
235
235
  [Vn]: !0
236
236
  });
237
- D(n, zn, d), D(A, On, c), D(A, zn, d), se(A, Cn, d), D(d, Cf), D(d, On), se(d, Cn, d), D(d, zn, d);
237
+ D(n, zn, d), D(A, On, c), D(A, zn, d), se(A, Cn, d), D(d, Sf), D(d, On), se(d, Cn, d), D(d, zn, d);
238
238
  const g = se(n, Sn, Aa, {
239
239
  [ia]: !0
240
240
  });
@@ -265,9 +265,9 @@ function ts(e = []) {
265
265
  } : {
266
266
  [Ja]: !0
267
267
  };
268
- k.indexOf("-") >= 0 ? y[Fn] = !0 : Se.test(k) ? Ce.test(k) ? y[yt] = !0 : y[Yn] = !0 : y[$n] = !0, Sf(n, k, k, y);
268
+ k.indexOf("-") >= 0 ? y[Fn] = !0 : Se.test(k) ? Ce.test(k) ? y[yt] = !0 : y[Yn] = !0 : y[$n] = !0, Vf(n, k, k, y);
269
269
  }
270
- return Sf(n, "localhost", Et, {
270
+ return Vf(n, "localhost", Et, {
271
271
  ascii: !0
272
272
  }), n.jd = new he(Mn), {
273
273
  start: n,
@@ -314,7 +314,7 @@ function Ue(e, t, n, f, a) {
314
314
  }
315
315
  return s = new he(n), s.jr = a.slice(), e.j[t[i - 1]] = s, s;
316
316
  }
317
- function Of(e) {
317
+ function Cf(e) {
318
318
  const t = [], n = [];
319
319
  let f = 0, a = "0123456789";
320
320
  for (; f < e.length; ) {
@@ -334,8 +334,8 @@ function Of(e) {
334
334
  const Tt = {
335
335
  defaultProtocol: "http",
336
336
  events: null,
337
- format: zf,
338
- formatHref: zf,
337
+ format: Of,
338
+ formatHref: Of,
339
339
  nl2br: !1,
340
340
  tagName: "a",
341
341
  target: null,
@@ -347,15 +347,15 @@ const Tt = {
347
347
  ignoreTags: [],
348
348
  render: null
349
349
  };
350
- function Af(e, t = null) {
350
+ function rf(e, t = null) {
351
351
  let n = tt({}, Tt);
352
- e && (n = tt(n, e instanceof Af ? e.o : e));
352
+ e && (n = tt(n, e instanceof rf ? e.o : e));
353
353
  const f = n.ignoreTags, a = [];
354
354
  for (let s = 0; s < f.length; s++)
355
355
  a.push(f[s].toUpperCase());
356
356
  this.o = n, t && (this.defaultRender = t), this.ignoreTags = a;
357
357
  }
358
- Af.prototype = {
358
+ rf.prototype = {
359
359
  o: Tt,
360
360
  /**
361
361
  * @type string[]
@@ -417,7 +417,7 @@ Af.prototype = {
417
417
  return (this.get("render", null, e) || this.defaultRender)(t, e.t, e);
418
418
  }
419
419
  };
420
- function zf(e) {
420
+ function Of(e) {
421
421
  return e;
422
422
  }
423
423
  function da(e, t) {
@@ -537,12 +537,12 @@ function wn(e, t) {
537
537
  n.prototype[f] = t[f];
538
538
  return n.t = e, n;
539
539
  }
540
- const Lf = wn("email", {
540
+ const zf = wn("email", {
541
541
  isLink: !0,
542
542
  toHref() {
543
543
  return "mailto:" + this.toString();
544
544
  }
545
- }), Uf = wn("text"), fs = wn("nl"), $t = wn("url", {
545
+ }), Lf = wn("text"), fs = wn("nl"), $t = wn("url", {
546
546
  isLink: !0,
547
547
  /**
548
548
  Lowercases relevant parts of the domain and adds the protocol if
@@ -566,7 +566,7 @@ const Lf = wn("email", {
566
566
  function as({
567
567
  groups: e
568
568
  }) {
569
- const t = e.domain.concat([An, cn, Be, un, dn, gn, mn, pn, be, nf, _t, hn, vn, yn, Te, Mn, wt, bn]), n = [Re, sf, Ee, of, _t, It, lf, rf, Xt, en, bt, Mt, Jt, Kt, Gt, Zt, tn, nn, fn, an, sn, on, ln, rn], f = [An, af, cn, un, dn, gn, mn, pn, be, bt, Mt, _t, hn, vn, yn, It, Te, Mn, wt, bn], a = ye(), s = D(a, wt);
569
+ const t = e.domain.concat([An, cn, Be, un, dn, gn, mn, pn, be, tf, _t, hn, vn, yn, Te, Mn, wt, bn]), n = [Re, af, Ee, sf, _t, It, of, lf, Xt, en, bt, Mt, Jt, Kt, Gt, Zt, tn, nn, fn, an, sn, on, ln, rn], f = [An, ff, cn, un, dn, gn, mn, pn, be, bt, Mt, _t, hn, vn, yn, It, Te, Mn, wt, bn], a = ye(), s = D(a, wt);
570
570
  q(s, f, s), q(s, e.domain, s);
571
571
  const i = ye(), r = ye(), c = ye();
572
572
  q(a, e.domain, i), q(a, e.scheme, r), q(a, e.slashscheme, c), q(i, f, s), q(i, e.domain, i);
@@ -578,12 +578,12 @@ function as({
578
578
  q(A, e.domain, g), q(g, e.domain, g);
579
579
  const m = D(g, Ee);
580
580
  q(m, e.domain, g);
581
- const b = ye(Lf);
581
+ const b = ye(zf);
582
582
  q(m, e.tld, b), q(m, e.utld, b), D(A, Et, b);
583
583
  const I = D(g, be);
584
584
  D(I, be, I), q(I, e.domain, g), q(b, e.domain, g), D(b, Ee, m), D(b, be, I);
585
585
  const h = D(b, Re);
586
- q(h, e.numeric, Lf);
586
+ q(h, e.numeric, zf);
587
587
  const k = D(i, be), x = D(i, Ee);
588
588
  D(k, be, k), q(k, e.domain, i), q(x, f, s), q(x, e.domain, i);
589
589
  const y = ye($t);
@@ -620,7 +620,7 @@ function as({
620
620
  const J = ye();
621
621
  q(L, n), q(U, t, U), q(U, n, J), q(J, t, U), q(J, n, J), D(U, X, _), D(J, X, _);
622
622
  }
623
- return D(a, Et, y), D(a, ff, fs), {
623
+ return D(a, Et, y), D(a, nf, fs), {
624
624
  start: a,
625
625
  tokens: ca
626
626
  };
@@ -636,12 +636,12 @@ function ss(e, t, n) {
636
636
  if (m < 0)
637
637
  a -= d, a < f && (i.push(n[a]), a++);
638
638
  else {
639
- i.length > 0 && (s.push(Ln(Uf, t, i)), i = []), a -= m, d -= m;
639
+ i.length > 0 && (s.push(Ln(Lf, t, i)), i = []), a -= m, d -= m;
640
640
  const b = g.t, I = n.slice(a - d, a);
641
641
  s.push(Ln(b, t, I));
642
642
  }
643
643
  }
644
- return i.length > 0 && s.push(Ln(Uf, t, i)), s;
644
+ return i.length > 0 && s.push(Ln(Lf, t, i)), s;
645
645
  }
646
646
  function Ln(e, t, n) {
647
647
  const f = n[0].s, a = n[n.length - 1].e, s = t.slice(f, a);
@@ -695,7 +695,7 @@ function rs({
695
695
  return `<${e} ${ls(t)}>${ma(n)}</${e}>`;
696
696
  }
697
697
  function ke(e, t = {}) {
698
- t = new Af(t, rs);
698
+ t = new rf(t, rs);
699
699
  const n = ga(e), f = [];
700
700
  for (let a = 0; a < n.length; a++) {
701
701
  const s = n[a];
@@ -783,7 +783,7 @@ const R = (e, t) => {
783
783
  ], 8, ys)
784
784
  ])) : p("", !0);
785
785
  }
786
- }, Eg = /* @__PURE__ */ R(bs, [["__scopeId", "data-v-6598a82f"]]), pe = v([]), we = (e) => {
786
+ }, Tg = /* @__PURE__ */ R(bs, [["__scopeId", "data-v-6598a82f"]]), pe = v([]), we = (e) => {
787
787
  const t = v(0);
788
788
  let n = pe.value.find(({ id: m }) => m == e);
789
789
  n != null ? t.value = pe.value.indexOf(n) : (pe.value.push({
@@ -901,7 +901,7 @@ const R = (e, t) => {
901
901
  name: "Pусский",
902
902
  flag: "russian"
903
903
  }
904
- ], Bf = v(pa[1]);
904
+ ], Uf = v(pa[1]);
905
905
  let Is = {
906
906
  ru: Ms,
907
907
  en: _s
@@ -909,17 +909,17 @@ let Is = {
909
909
  const ve = ws().t;
910
910
  function ws() {
911
911
  function e(t) {
912
- return Is[Bf.value.code][t];
912
+ return Is[Uf.value.code][t];
913
913
  }
914
914
  return {
915
915
  t: e,
916
- locale: Bf,
916
+ locale: Uf,
917
917
  locales: pa
918
918
  };
919
919
  }
920
920
  function ks(e, t = 500) {
921
921
  let n;
922
- return ta((f, a) => ({
922
+ return ea((f, a) => ({
923
923
  get() {
924
924
  return f(), e;
925
925
  },
@@ -1049,7 +1049,7 @@ const Ns = ["id"], kn = {
1049
1049
  },
1050
1050
  emits: ["send", "typing"],
1051
1051
  setup(e, { emit: t }) {
1052
- const n = t, f = te("chatAppId"), { resetMessage: a, getMessage: s, setMessageText: i, setForceSendMessage: r } = we(f), c = ef("refBCM"), A = v(), d = ks("", 2e3), g = v(), m = e, b = $(() => {
1052
+ const n = t, f = te("chatAppId"), { resetMessage: a, getMessage: s, setMessageText: i, setForceSendMessage: r } = we(f), c = ta("refBCM"), A = v(), d = ks("", 2e3), g = v(), m = e, b = $(() => {
1053
1053
  if (m.state == "disabled" || s().text == "" && !s().file || s().isRecording) return !0;
1054
1054
  });
1055
1055
  ee(
@@ -1146,7 +1146,7 @@ const Ns = ["id"], kn = {
1146
1146
  "onUpdate:modelValue": M[0] || (M[0] = (w) => N(s)().text = w),
1147
1147
  class: "chat-input__input",
1148
1148
  placeholder: N(ve)("component.ChatInput.InputPlaceholder"),
1149
- onKeydown: tf(h, ["enter"]),
1149
+ onKeydown: ef(h, ["enter"]),
1150
1150
  onInput: I
1151
1151
  }, null, 40, xs), [
1152
1152
  [lt, N(s)().text]
@@ -1164,7 +1164,7 @@ const Ns = ["id"], kn = {
1164
1164
  ])
1165
1165
  ]));
1166
1166
  }
1167
- }), Tg = /* @__PURE__ */ R(Cs, [["__scopeId", "data-v-cb457c86"]]), Os = { class: "chat-list" }, zs = { class: "chat-list__title-container" }, Ls = {
1167
+ }), jg = /* @__PURE__ */ R(Cs, [["__scopeId", "data-v-cb457c86"]]), Os = { class: "chat-list" }, zs = { class: "chat-list__title-container" }, Ls = {
1168
1168
  key: 0,
1169
1169
  class: "chat-list__title"
1170
1170
  }, Us = { class: "chat-list__fixed-items-top" }, Bs = { class: "chat-list__scrollable-items" }, Rs = { class: "chat-list__fixed-items-bottom" }, Qs = {
@@ -1305,7 +1305,7 @@ const Ns = ["id"], kn = {
1305
1305
  })
1306
1306
  ]));
1307
1307
  }
1308
- }, jg = /* @__PURE__ */ R(Qs, [["__scopeId", "data-v-e873df35"]]);
1308
+ }, xg = /* @__PURE__ */ R(Qs, [["__scopeId", "data-v-e873df35"]]);
1309
1309
  function $s(e, t) {
1310
1310
  let n = null;
1311
1311
  return function(...a) {
@@ -1327,7 +1327,7 @@ const Ys = {
1327
1327
  },
1328
1328
  emits: ["action"],
1329
1329
  setup(e, { expose: t, emit: n }) {
1330
- const f = ef("keyboard"), a = n, s = te("chatAppId"), { setMessageText: i, setForceSendMessage: r } = we(s), c = (A) => {
1330
+ const f = ta("keyboard"), a = n, s = te("chatAppId"), { setMessageText: i, setForceSendMessage: r } = we(s), c = (A) => {
1331
1331
  A.action == null ? (i(A.text), r(!0)) : a("action", A.action);
1332
1332
  };
1333
1333
  return t({
@@ -1406,15 +1406,15 @@ const Ys = {
1406
1406
  }, w = () => {
1407
1407
  d.value = !1;
1408
1408
  }, _ = $s(y, 250), j = (L) => ({
1409
- "message.text": Ad,
1410
- "message.image": td,
1411
- "message.file": Qu,
1412
- "message.audio": Vd,
1413
- "message.video": Jd,
1414
- "message.call": c1,
1415
- "message.system": m1,
1416
- "system.date": zd,
1417
- "message.typing": ea
1409
+ "message.text": cd,
1410
+ "message.image": nd,
1411
+ "message.file": $u,
1412
+ "message.audio": Sd,
1413
+ "message.video": Gd,
1414
+ "message.call": u1,
1415
+ "message.system": p1,
1416
+ "system.date": Ld,
1417
+ "message.typing": Xf
1418
1418
  })[L];
1419
1419
  function T() {
1420
1420
  $e(function() {
@@ -1501,7 +1501,7 @@ const Ys = {
1501
1501
  onReply: Q
1502
1502
  }, null, 40, ["message"]))
1503
1503
  ], 40, Ws))), 256)),
1504
- e.typing ? (l(), B(N(ea), {
1504
+ e.typing ? (l(), B(N(Xf), {
1505
1505
  key: 0,
1506
1506
  message: {
1507
1507
  subText: e.typing.title,
@@ -1546,7 +1546,7 @@ const Ys = {
1546
1546
  ], 8, ["to"])) : p("", !0)
1547
1547
  ], 64));
1548
1548
  }
1549
- }), xg = /* @__PURE__ */ R(Js, [["__scopeId", "data-v-13d5caaa"]]), Gs = {
1549
+ }), Vg = /* @__PURE__ */ R(Js, [["__scopeId", "data-v-13d5caaa"]]), Gs = {
1550
1550
  key: 0,
1551
1551
  class: "profile__container"
1552
1552
  }, Zs = {
@@ -1578,7 +1578,7 @@ const Ys = {
1578
1578
  o("p", ni, E(e.user.phone), 1)
1579
1579
  ])) : p("", !0);
1580
1580
  }
1581
- }, Vg = /* @__PURE__ */ R(fi, [["__scopeId", "data-v-b06fcd34"]]), mt = v([]), rt = (e) => {
1581
+ }, Sg = /* @__PURE__ */ R(fi, [["__scopeId", "data-v-b06fcd34"]]), mt = v([]), rt = (e) => {
1582
1582
  const t = v(0);
1583
1583
  let n = mt.value.find(({ id: a }) => a == e);
1584
1584
  return n != null ? t.value = mt.value.indexOf(n) : (mt.value.push({
@@ -1596,7 +1596,7 @@ const Ys = {
1596
1596
  class: "modal__overlay",
1597
1597
  "data-theme": N(a)().theme,
1598
1598
  onClick: s,
1599
- onKeyup: r[1] || (r[1] = tf((c) => n("close"), ["esc"]))
1599
+ onKeyup: r[1] || (r[1] = ef((c) => n("close"), ["esc"]))
1600
1600
  }, [
1601
1601
  o("div", si, [
1602
1602
  o("button", {
@@ -1611,7 +1611,7 @@ const Ys = {
1611
1611
  ])
1612
1612
  ], 40, ai));
1613
1613
  }
1614
- }, cf = /* @__PURE__ */ R(ii, [["__scopeId", "data-v-2720a553"]]), oi = { class: "preview__container" }, li = { class: "preview__block" }, ri = ["src"], Ai = ["src"], ci = {
1614
+ }, Af = /* @__PURE__ */ R(ii, [["__scopeId", "data-v-2720a553"]]), oi = { class: "preview__container" }, li = { class: "preview__block" }, ri = ["src"], Ai = ["src"], ci = {
1615
1615
  key: 2,
1616
1616
  style: { display: "flex", gap: "5px" }
1617
1617
  }, ui = ["src"], di = { class: "pi pi-play" }, gi = { class: "pi pi-pause" }, mi = { key: 3 }, pi = { class: "preview__control-block" }, hi = { class: "preview__information" }, vi = { class: "preview__name" }, yi = {
@@ -1726,7 +1726,7 @@ const Ys = {
1726
1726
  (l(), B(ue, { to: "body" }, [
1727
1727
  W(ne, { name: "modal-fade" }, {
1728
1728
  default: Z(() => [
1729
- c.value ? (l(), B(cf, {
1729
+ c.value ? (l(), B(Af, {
1730
1730
  key: 0,
1731
1731
  onClose: A
1732
1732
  }, {
@@ -1907,7 +1907,7 @@ const Ys = {
1907
1907
  ], 8, ["to"])) : p("", !0)
1908
1908
  ], 64));
1909
1909
  }
1910
- }), Sg = /* @__PURE__ */ R(Ei, [["__scopeId", "data-v-0207c51d"]]), Ti = { key: 0 }, ji = ["value", "selected"], xi = {
1910
+ }), Cg = /* @__PURE__ */ R(Ei, [["__scopeId", "data-v-0207c51d"]]), Ti = { key: 0 }, ji = ["value", "selected"], xi = {
1911
1911
  __name: "ThemeMode",
1912
1912
  props: {
1913
1913
  themes: {
@@ -1924,7 +1924,7 @@ const Ys = {
1924
1924
  const c = r.target.value;
1925
1925
  i(c);
1926
1926
  }, i = (r) => {
1927
- document.getElementById(n).dataset.theme = r, document.getElementById("float-windows-" + n).dataset.theme = r, f().theme = r;
1927
+ n && (document.getElementById(n).dataset.theme = r, document.getElementById("float-windows-" + n).dataset.theme = r, f().theme = r);
1928
1928
  };
1929
1929
  return oe(() => {
1930
1930
  const r = a();
@@ -1941,7 +1941,7 @@ const Ys = {
1941
1941
  ], 32)
1942
1942
  ])) : p("", !0);
1943
1943
  }
1944
- }, Cg = /* @__PURE__ */ R(xi, [["__scopeId", "data-v-d58a0643"]]), Vi = ["onClick"], Si = ["src", "alt"], Ci = { key: 1 }, Oi = ["onClick"], zi = ["src", "alt"], Li = { key: 1 }, Ui = {
1944
+ }, Og = /* @__PURE__ */ R(xi, [["__scopeId", "data-v-5066a48c"]]), Vi = ["onClick"], Si = ["src", "alt"], Ci = { key: 1 }, Oi = ["onClick"], zi = ["src", "alt"], Li = { key: 1 }, Ui = {
1945
1945
  __name: "SideBar",
1946
1946
  props: {
1947
1947
  sidebarItems: {
@@ -2015,7 +2015,7 @@ const Ys = {
2015
2015
  ], 2)
2016
2016
  ], 2));
2017
2017
  }
2018
- }, Og = /* @__PURE__ */ R(Ui, [["__scopeId", "data-v-3db00871"]]), Bi = { class: "chat-panel" }, Ri = {
2018
+ }, zg = /* @__PURE__ */ R(Ui, [["__scopeId", "data-v-3db00871"]]), Bi = { class: "chat-panel" }, Ri = {
2019
2019
  key: 0,
2020
2020
  class: "chat-panel__title-container"
2021
2021
  }, Qi = {
@@ -2050,7 +2050,7 @@ const Ys = {
2050
2050
  ])
2051
2051
  ]));
2052
2052
  }
2053
- }, zg = /* @__PURE__ */ R($i, [["__scopeId", "data-v-7dc406d8"]]), Yi = {
2053
+ }, Lg = /* @__PURE__ */ R($i, [["__scopeId", "data-v-7dc406d8"]]), Yi = {
2054
2054
  key: 0,
2055
2055
  class: "channels__selected"
2056
2056
  }, Pi = ["src"], Fi = { class: "channels__title" }, qi = {
@@ -2107,13 +2107,13 @@ const Ys = {
2107
2107
  }, 8, ["actions", "mode", "disabled"])
2108
2108
  ], 2));
2109
2109
  }
2110
- }, Lg = /* @__PURE__ */ R(Hi, [["__scopeId", "data-v-28db82eb"]]);
2111
- function Ug(e) {
2110
+ }, Ug = /* @__PURE__ */ R(Hi, [["__scopeId", "data-v-28db82eb"]]);
2111
+ function Bg(e) {
2112
2112
  if (!e || e === "") return;
2113
2113
  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);
2114
2114
  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 ? "секунда" : "секунды"} назад` : "Только что";
2115
2115
  }
2116
- const Bg = (e, t = null) => {
2116
+ const Rg = (e, t = null) => {
2117
2117
  const n = [];
2118
2118
  let f = new Date(t * 1e3).toLocaleDateString();
2119
2119
  for (let a = 0; a < e.length; a++) {
@@ -2127,7 +2127,7 @@ const Bg = (e, t = null) => {
2127
2127
  }), f = i), n.push(s);
2128
2128
  }
2129
2129
  return n;
2130
- }, Rg = async () => {
2130
+ }, Qg = async () => {
2131
2131
  try {
2132
2132
  if (await navigator.mediaDevices.getUserMedia({ audio: !0 })) {
2133
2133
  const t = new Audio();
@@ -2136,7 +2136,7 @@ const Bg = (e, t = null) => {
2136
2136
  } catch {
2137
2137
  console.log("no audio permissions");
2138
2138
  }
2139
- }, Qg = (e) => e.sort((t, n) => Number(t.timestamp) < Number(n.timestamp) ? -1 : Number(t.timestamp) > Number(n.timestamp) ? 1 : 0), At = ["read", "received", "sent"], ct = (e) => {
2139
+ }, $g = (e) => e.sort((t, n) => Number(t.timestamp) < Number(n.timestamp) ? -1 : Number(t.timestamp) > Number(n.timestamp) ? 1 : 0), At = ["read", "received", "sent"], ct = (e) => {
2140
2140
  switch (e) {
2141
2141
  case "read":
2142
2142
  return "status--read";
@@ -2204,7 +2204,7 @@ const Bg = (e, t = null) => {
2204
2204
  ], 8, ["to"])) : p("", !0)
2205
2205
  ], 64));
2206
2206
  }
2207
- }), Rf = /* @__PURE__ */ R(Ki, [["__scopeId", "data-v-81570f25"]]), Ji = { class: "chat-item__avatar-container" }, Gi = ["src"], Zi = {
2207
+ }), Bf = /* @__PURE__ */ R(Ki, [["__scopeId", "data-v-81570f25"]]), Ji = { class: "chat-item__avatar-container" }, Gi = ["src"], Zi = {
2208
2208
  key: 1,
2209
2209
  class: "pi pi-user"
2210
2210
  }, Xi = { class: "chat-item__info-container" }, eo = { class: "chat-item__name" }, to = {
@@ -2289,7 +2289,7 @@ const Bg = (e, t = null) => {
2289
2289
  }, null, 8, Gi)) : (l(), u("span", Zi))
2290
2290
  ]),
2291
2291
  o("div", Xi, [
2292
- W(Rf, {
2292
+ W(Bf, {
2293
2293
  text: e.chat.name,
2294
2294
  position: "bottom"
2295
2295
  }, {
@@ -2298,7 +2298,7 @@ const Bg = (e, t = null) => {
2298
2298
  ]),
2299
2299
  _: 1
2300
2300
  }, 8, ["text"]),
2301
- W(Rf, {
2301
+ W(Bf, {
2302
2302
  text: e.chat.lastMessage,
2303
2303
  position: "bottom"
2304
2304
  }, {
@@ -2662,7 +2662,7 @@ const Bg = (e, t = null) => {
2662
2662
  })
2663
2663
  ], 64));
2664
2664
  }
2665
- }, $g = /* @__PURE__ */ R(Jo, [["__scopeId", "data-v-cc655bb7"]]), Go = ["id"], Zo = {
2665
+ }, Yg = /* @__PURE__ */ R(Jo, [["__scopeId", "data-v-cc655bb7"]]), Go = ["id"], Zo = {
2666
2666
  __name: "PlaceholderComponent",
2667
2667
  props: {
2668
2668
  index: {
@@ -2716,7 +2716,7 @@ const Bg = (e, t = null) => {
2716
2716
  ref: i,
2717
2717
  contenteditable: "",
2718
2718
  class: V([{ filled: e.isFilled, empty: !e.isFilled }, "placeholder"]),
2719
- onKeydown: tf(A, ["enter"]),
2719
+ onKeydown: ef(A, ["enter"]),
2720
2720
  onFocus: r,
2721
2721
  onBlur: c
2722
2722
  }, E(s.value), 43, Go));
@@ -3245,7 +3245,7 @@ const Bg = (e, t = null) => {
3245
3245
  ], 544)
3246
3246
  ], 64));
3247
3247
  }
3248
- }, Yg = /* @__PURE__ */ R(ql, [["__scopeId", "data-v-e3b88052"]]), va = "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64", ya = {
3248
+ }, Pg = /* @__PURE__ */ R(ql, [["__scopeId", "data-v-e3b88052"]]), va = "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64", ya = {
3249
3249
  recent: "Recently used",
3250
3250
  smileys_people: "Smiles & People",
3251
3251
  animals_nature: "Animals & Nature",
@@ -15201,7 +15201,7 @@ var Ar = {
15201
15201
  objects: or,
15202
15202
  symbols: lr,
15203
15203
  flags: rr
15204
- }, Qf = [
15204
+ }, Rf = [
15205
15205
  {
15206
15206
  key: "recent",
15207
15207
  title: "Recently Used",
@@ -15249,9 +15249,9 @@ var Ar = {
15249
15249
  }
15250
15250
  ];
15251
15251
  const cr = (e, t) => t.some((n) => e instanceof n);
15252
- let $f, Yf;
15252
+ let Qf, $f;
15253
15253
  function ur() {
15254
- return $f || ($f = [
15254
+ return Qf || (Qf = [
15255
15255
  IDBDatabase,
15256
15256
  IDBObjectStore,
15257
15257
  IDBIndex,
@@ -15260,13 +15260,13 @@ function ur() {
15260
15260
  ]);
15261
15261
  }
15262
15262
  function dr() {
15263
- return Yf || (Yf = [
15263
+ return $f || ($f = [
15264
15264
  IDBCursor.prototype.advance,
15265
15265
  IDBCursor.prototype.continue,
15266
15266
  IDBCursor.prototype.continuePrimaryKey
15267
15267
  ]);
15268
15268
  }
15269
- const Ma = /* @__PURE__ */ new WeakMap(), Jn = /* @__PURE__ */ new WeakMap(), _a = /* @__PURE__ */ new WeakMap(), Bn = /* @__PURE__ */ new WeakMap(), uf = /* @__PURE__ */ new WeakMap();
15269
+ const Ma = /* @__PURE__ */ new WeakMap(), Jn = /* @__PURE__ */ new WeakMap(), _a = /* @__PURE__ */ new WeakMap(), Bn = /* @__PURE__ */ new WeakMap(), cf = /* @__PURE__ */ new WeakMap();
15270
15270
  function gr(e) {
15271
15271
  const t = new Promise((n, f) => {
15272
15272
  const a = () => {
@@ -15281,7 +15281,7 @@ function gr(e) {
15281
15281
  return t.then((n) => {
15282
15282
  n instanceof IDBCursor && Ma.set(n, e);
15283
15283
  }).catch(() => {
15284
- }), uf.set(t, e), t;
15284
+ }), cf.set(t, e), t;
15285
15285
  }
15286
15286
  function mr(e) {
15287
15287
  if (Jn.has(e))
@@ -15339,10 +15339,10 @@ function Qe(e) {
15339
15339
  if (Bn.has(e))
15340
15340
  return Bn.get(e);
15341
15341
  const t = vr(e);
15342
- return t !== e && (Bn.set(e, t), uf.set(t, e)), t;
15342
+ return t !== e && (Bn.set(e, t), cf.set(t, e)), t;
15343
15343
  }
15344
- const Rn = (e) => uf.get(e);
15345
- function df(e, t, { blocked: n, upgrade: f, blocking: a, terminated: s } = {}) {
15344
+ const Rn = (e) => cf.get(e);
15345
+ function uf(e, t, { blocked: n, upgrade: f, blocking: a, terminated: s } = {}) {
15346
15346
  const i = indexedDB.open(e, t), r = Qe(i);
15347
15347
  return f && i.addEventListener("upgradeneeded", (c) => {
15348
15348
  f(Qe(i.result), c.oldVersion, c.newVersion, Qe(i.transaction), c);
@@ -15356,7 +15356,7 @@ function df(e, t, { blocked: n, upgrade: f, blocking: a, terminated: s } = {}) {
15356
15356
  }), r;
15357
15357
  }
15358
15358
  const yr = ["get", "getKey", "getAll", "getAllKeys", "count"], br = ["put", "add", "delete", "clear"], Qn = /* @__PURE__ */ new Map();
15359
- function Pf(e, t) {
15359
+ function Yf(e, t) {
15360
15360
  if (!(e instanceof IDBDatabase && !(t in e) && typeof t == "string"))
15361
15361
  return;
15362
15362
  if (Qn.get(t))
@@ -15376,12 +15376,12 @@ function Pf(e, t) {
15376
15376
  }
15377
15377
  pr((e) => ({
15378
15378
  ...e,
15379
- get: (t, n, f) => Pf(t, n) || e.get(t, n, f),
15380
- has: (t, n) => !!Pf(t, n) || e.has(t, n)
15379
+ get: (t, n, f) => Yf(t, n) || e.get(t, n, f),
15380
+ has: (t, n) => !!Yf(t, n) || e.has(t, n)
15381
15381
  }));
15382
- const gf = "EMJ", nt = "emojis", mf = 3;
15382
+ const df = "EMJ", nt = "emojis", gf = 3;
15383
15383
  async function Mr() {
15384
- (await df(gf, mf, {
15384
+ (await uf(df, gf, {
15385
15385
  upgrade(t, n) {
15386
15386
  t.objectStoreNames.contains(nt) || t.createObjectStore(nt, {
15387
15387
  keyPath: "id",
@@ -15407,7 +15407,7 @@ const _r = {
15407
15407
  groupIcons: {}
15408
15408
  };
15409
15409
  async function Ir() {
15410
- return await (await df(gf, mf)).transaction(nt, "readonly").objectStore(nt).getAll();
15410
+ return await (await uf(df, gf)).transaction(nt, "readonly").objectStore(nt).getAll();
15411
15411
  }
15412
15412
  function wr() {
15413
15413
  const e = aa({
@@ -15430,7 +15430,7 @@ function wr() {
15430
15430
  return this.options.displayRecent || (g = ["recent", ...g]), g;
15431
15431
  },
15432
15432
  get groups() {
15433
- return Qf.filter(
15433
+ return Rf.filter(
15434
15434
  (g) => !this.disabled.includes(g.key)
15435
15435
  );
15436
15436
  },
@@ -15438,7 +15438,7 @@ function wr() {
15438
15438
  const g = [
15439
15439
  ...this.options.groupOrder,
15440
15440
  ...Object.keys(this.options.additionalGroups),
15441
- ...Qf.map((m) => m.key)
15441
+ ...Rf.map((m) => m.key)
15442
15442
  ];
15443
15443
  return [...new Set(g)].filter((m) => !this.disabled.includes(m));
15444
15444
  }
@@ -15468,7 +15468,7 @@ function wr() {
15468
15468
  e.options = Object.assign({}, e.options, g), t();
15469
15469
  };
15470
15470
  async function A() {
15471
- (await df(gf, mf)).transaction(nt, "readwrite").objectStore(nt).put({
15471
+ (await uf(df, gf)).transaction(nt, "readwrite").objectStore(nt).put({
15472
15472
  id: 0,
15473
15473
  value: JSON.stringify(e.recent)
15474
15474
  });
@@ -15492,9 +15492,9 @@ function wr() {
15492
15492
  updateSelect: d
15493
15493
  };
15494
15494
  }
15495
- var ge = "top", _e = "bottom", Ie = "right", me = "left", pf = "auto", St = [ge, _e, Ie, me], ft = "start", xt = "end", kr = "clippingParents", Ia = "viewport", pt = "popper", Nr = "reference", Ff = /* @__PURE__ */ St.reduce(function(e, t) {
15495
+ var ge = "top", _e = "bottom", Ie = "right", me = "left", mf = "auto", St = [ge, _e, Ie, me], ft = "start", xt = "end", kr = "clippingParents", Ia = "viewport", pt = "popper", Nr = "reference", Pf = /* @__PURE__ */ St.reduce(function(e, t) {
15496
15496
  return e.concat([t + "-" + ft, t + "-" + xt]);
15497
- }, []), wa = /* @__PURE__ */ [].concat(St, [pf]).reduce(function(e, t) {
15497
+ }, []), wa = /* @__PURE__ */ [].concat(St, [mf]).reduce(function(e, t) {
15498
15498
  return e.concat([t, t + "-" + ft, t + "-" + xt]);
15499
15499
  }, []), Dr = "beforeRead", Er = "read", Tr = "afterRead", jr = "beforeMain", xr = "main", Vr = "afterMain", Sr = "beforeWrite", Cr = "write", Or = "afterWrite", zr = [Dr, Er, Tr, jr, xr, Vr, Sr, Cr, Or];
15500
15500
  function xe(e) {
@@ -15587,7 +15587,7 @@ function it(e, t) {
15587
15587
  y: n.top / a
15588
15588
  };
15589
15589
  }
15590
- function hf(e) {
15590
+ function pf(e) {
15591
15591
  var t = it(e), n = e.offsetWidth, f = e.offsetHeight;
15592
15592
  return Math.abs(t.width - n) <= 1 && (n = t.width), Math.abs(t.height - f) <= 1 && (f = t.height), {
15593
15593
  x: e.offsetLeft,
@@ -15622,7 +15622,7 @@ function Ye(e) {
15622
15622
  function Tn(e) {
15623
15623
  return xe(e) === "html" ? e : e.assignedSlot || e.parentNode || (ka(e) ? e.host : null) || Ye(e);
15624
15624
  }
15625
- function qf(e) {
15625
+ function Ff(e) {
15626
15626
  return !Me(e) || Ve(e).position === "fixed" ? null : e.offsetParent;
15627
15627
  }
15628
15628
  function Qr(e) {
@@ -15641,11 +15641,11 @@ function Qr(e) {
15641
15641
  return null;
15642
15642
  }
15643
15643
  function Ct(e) {
15644
- for (var t = Ne(e), n = qf(e); n && Rr(n) && Ve(n).position === "static"; )
15645
- n = qf(n);
15644
+ for (var t = Ne(e), n = Ff(e); n && Rr(n) && Ve(n).position === "static"; )
15645
+ n = Ff(n);
15646
15646
  return n && (xe(n) === "html" || xe(n) === "body" && Ve(n).position === "static") ? t : n || Qr(e) || t;
15647
15647
  }
15648
- function vf(e) {
15648
+ function hf(e) {
15649
15649
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
15650
15650
  }
15651
15651
  function kt(e, t, n) {
@@ -15677,9 +15677,9 @@ var Yr = function(t, n) {
15677
15677
  })) : t, Ea(typeof t != "number" ? t : Ta(t, St));
15678
15678
  };
15679
15679
  function Pr(e) {
15680
- var t, n = e.state, f = e.name, a = e.options, s = n.elements.arrow, i = n.modifiersData.popperOffsets, r = je(n.placement), c = vf(r), A = [me, Ie].indexOf(r) >= 0, d = A ? "height" : "width";
15680
+ var t, n = e.state, f = e.name, a = e.options, s = n.elements.arrow, i = n.modifiersData.popperOffsets, r = je(n.placement), c = hf(r), A = [me, Ie].indexOf(r) >= 0, d = A ? "height" : "width";
15681
15681
  if (!(!s || !i)) {
15682
- var g = Yr(a.padding, n), m = hf(s), b = c === "y" ? ge : me, I = c === "y" ? _e : Ie, h = n.rects.reference[d] + n.rects.reference[c] - i[c] - n.rects.popper[d], k = i[c] - n.rects.reference[c], x = Ct(s), y = x ? c === "y" ? x.clientHeight || 0 : x.clientWidth || 0 : 0, M = h / 2 - k / 2, w = g[b], _ = y - m[d] - g[I], j = y / 2 - m[d] / 2 + M, T = kt(w, j, _), z = c;
15682
+ var g = Yr(a.padding, n), m = pf(s), b = c === "y" ? ge : me, I = c === "y" ? _e : Ie, h = n.rects.reference[d] + n.rects.reference[c] - i[c] - n.rects.popper[d], k = i[c] - n.rects.reference[c], x = Ct(s), y = x ? c === "y" ? x.clientHeight || 0 : x.clientWidth || 0 : 0, M = h / 2 - k / 2, w = g[b], _ = y - m[d] - g[I], j = y / 2 - m[d] / 2 + M, T = kt(w, j, _), z = c;
15683
15683
  n.modifiersData[f] = (t = {}, t[z] = T, t.centerOffset = T - j, t);
15684
15684
  }
15685
15685
  }
@@ -15712,7 +15712,7 @@ function Wr(e) {
15712
15712
  y: st(n * a) / a || 0
15713
15713
  };
15714
15714
  }
15715
- function Hf(e) {
15715
+ function qf(e) {
15716
15716
  var t, n = e.popper, f = e.popperRect, a = e.placement, s = e.variation, i = e.offsets, r = e.position, c = e.gpuAcceleration, A = e.adaptive, d = e.roundOffsets, g = e.isFixed, m = d === !0 ? Wr(i) : typeof d == "function" ? d(i) : i, b = m.x, I = b === void 0 ? 0 : b, h = m.y, k = h === void 0 ? 0 : h, x = i.hasOwnProperty("x"), y = i.hasOwnProperty("y"), M = me, w = ge, _ = window;
15717
15717
  if (A) {
15718
15718
  var j = Ct(n), T = "clientHeight", z = "clientWidth";
@@ -15745,12 +15745,12 @@ function Kr(e) {
15745
15745
  gpuAcceleration: a,
15746
15746
  isFixed: t.options.strategy === "fixed"
15747
15747
  };
15748
- t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, Hf(Object.assign({}, A, {
15748
+ t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, qf(Object.assign({}, A, {
15749
15749
  offsets: t.modifiersData.popperOffsets,
15750
15750
  position: t.options.strategy,
15751
15751
  adaptive: i,
15752
15752
  roundOffsets: c
15753
- })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, Hf(Object.assign({}, A, {
15753
+ })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, qf(Object.assign({}, A, {
15754
15754
  offsets: t.modifiersData.arrow,
15755
15755
  position: "absolute",
15756
15756
  adaptive: !1,
@@ -15801,32 +15801,32 @@ var eA = {
15801
15801
  start: "end",
15802
15802
  end: "start"
15803
15803
  };
15804
- function Wf(e) {
15804
+ function Hf(e) {
15805
15805
  return e.replace(/start|end/g, function(t) {
15806
15806
  return eA[t];
15807
15807
  });
15808
15808
  }
15809
- function yf(e) {
15809
+ function vf(e) {
15810
15810
  var t = Ne(e), n = t.pageXOffset, f = t.pageYOffset;
15811
15811
  return {
15812
15812
  scrollLeft: n,
15813
15813
  scrollTop: f
15814
15814
  };
15815
15815
  }
15816
- function bf(e) {
15817
- return it(Ye(e)).left + yf(e).scrollLeft;
15816
+ function yf(e) {
15817
+ return it(Ye(e)).left + vf(e).scrollLeft;
15818
15818
  }
15819
15819
  function tA(e) {
15820
15820
  var t = Ne(e), n = Ye(e), f = t.visualViewport, a = n.clientWidth, s = n.clientHeight, i = 0, r = 0;
15821
15821
  return f && (a = f.width, s = f.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (i = f.offsetLeft, r = f.offsetTop)), {
15822
15822
  width: a,
15823
15823
  height: s,
15824
- x: i + bf(e),
15824
+ x: i + yf(e),
15825
15825
  y: r
15826
15826
  };
15827
15827
  }
15828
15828
  function nA(e) {
15829
- var t, n = Ye(e), f = yf(e), a = (t = e.ownerDocument) == null ? void 0 : t.body, s = We(n.scrollWidth, n.clientWidth, a ? a.scrollWidth : 0, a ? a.clientWidth : 0), i = We(n.scrollHeight, n.clientHeight, a ? a.scrollHeight : 0, a ? a.clientHeight : 0), r = -f.scrollLeft + bf(e), c = -f.scrollTop;
15829
+ var t, n = Ye(e), f = vf(e), a = (t = e.ownerDocument) == null ? void 0 : t.body, s = We(n.scrollWidth, n.clientWidth, a ? a.scrollWidth : 0, a ? a.clientWidth : 0), i = We(n.scrollHeight, n.clientHeight, a ? a.scrollHeight : 0, a ? a.clientHeight : 0), r = -f.scrollLeft + yf(e), c = -f.scrollTop;
15830
15830
  return Ve(a || n).direction === "rtl" && (r += We(n.clientWidth, a ? a.clientWidth : 0) - s), {
15831
15831
  width: s,
15832
15832
  height: i,
@@ -15834,17 +15834,17 @@ function nA(e) {
15834
15834
  y: c
15835
15835
  };
15836
15836
  }
15837
- function Mf(e) {
15837
+ function bf(e) {
15838
15838
  var t = Ve(e), n = t.overflow, f = t.overflowX, a = t.overflowY;
15839
15839
  return /auto|scroll|overlay|hidden/.test(n + a + f);
15840
15840
  }
15841
15841
  function ja(e) {
15842
- return ["html", "body", "#document"].indexOf(xe(e)) >= 0 ? e.ownerDocument.body : Me(e) && Mf(e) ? e : ja(Tn(e));
15842
+ return ["html", "body", "#document"].indexOf(xe(e)) >= 0 ? e.ownerDocument.body : Me(e) && bf(e) ? e : ja(Tn(e));
15843
15843
  }
15844
15844
  function Nt(e, t) {
15845
15845
  var n;
15846
15846
  t === void 0 && (t = []);
15847
- var f = ja(e), a = f === ((n = e.ownerDocument) == null ? void 0 : n.body), s = Ne(f), i = a ? [s].concat(s.visualViewport || [], Mf(f) ? f : []) : f, r = t.concat(i);
15847
+ var f = ja(e), a = f === ((n = e.ownerDocument) == null ? void 0 : n.body), s = Ne(f), i = a ? [s].concat(s.visualViewport || [], bf(f) ? f : []) : f, r = t.concat(i);
15848
15848
  return a ? r : r.concat(Nt(Tn(i)));
15849
15849
  }
15850
15850
  function Zn(e) {
@@ -15859,7 +15859,7 @@ function fA(e) {
15859
15859
  var t = it(e);
15860
15860
  return t.top = t.top + e.clientTop, t.left = t.left + e.clientLeft, t.bottom = t.top + e.clientHeight, t.right = t.left + e.clientWidth, t.width = e.clientWidth, t.height = e.clientHeight, t.x = t.left, t.y = t.top, t;
15861
15861
  }
15862
- function Kf(e, t) {
15862
+ function Wf(e, t) {
15863
15863
  return t === Ia ? Zn(tA(e)) : at(t) ? fA(t) : Zn(nA(Ye(e)));
15864
15864
  }
15865
15865
  function aA(e) {
@@ -15870,9 +15870,9 @@ function aA(e) {
15870
15870
  }
15871
15871
  function sA(e, t, n) {
15872
15872
  var f = t === "clippingParents" ? aA(e) : [].concat(t), a = [].concat(f, [n]), s = a[0], i = a.reduce(function(r, c) {
15873
- var A = Kf(e, c);
15873
+ var A = Wf(e, c);
15874
15874
  return r.top = We(A.top, r.top), r.right = In(A.right, r.right), r.bottom = In(A.bottom, r.bottom), r.left = We(A.left, r.left), r;
15875
- }, Kf(e, s));
15875
+ }, Wf(e, s));
15876
15876
  return i.width = i.right - i.left, i.height = i.bottom - i.top, i.x = i.left, i.y = i.top, i;
15877
15877
  }
15878
15878
  function xa(e) {
@@ -15908,7 +15908,7 @@ function xa(e) {
15908
15908
  y: t.y
15909
15909
  };
15910
15910
  }
15911
- var A = a ? vf(a) : null;
15911
+ var A = a ? hf(a) : null;
15912
15912
  if (A != null) {
15913
15913
  var d = A === "y" ? "height" : "width";
15914
15914
  switch (s) {
@@ -15945,7 +15945,7 @@ function Vt(e, t) {
15945
15945
  }
15946
15946
  function iA(e, t) {
15947
15947
  t === void 0 && (t = {});
15948
- var n = t, f = n.placement, a = n.boundary, s = n.rootBoundary, i = n.padding, r = n.flipVariations, c = n.allowedAutoPlacements, A = c === void 0 ? wa : c, d = ot(f), g = d ? r ? Ff : Ff.filter(function(I) {
15948
+ var n = t, f = n.placement, a = n.boundary, s = n.rootBoundary, i = n.padding, r = n.flipVariations, c = n.allowedAutoPlacements, A = c === void 0 ? wa : c, d = ot(f), g = d ? r ? Pf : Pf.filter(function(I) {
15949
15949
  return ot(I) === d;
15950
15950
  }) : St, m = g.filter(function(I) {
15951
15951
  return A.indexOf(I) >= 0;
@@ -15964,16 +15964,16 @@ function iA(e, t) {
15964
15964
  });
15965
15965
  }
15966
15966
  function oA(e) {
15967
- if (je(e) === pf)
15967
+ if (je(e) === mf)
15968
15968
  return [];
15969
15969
  var t = Ht(e);
15970
- return [Wf(e), t, Wf(t)];
15970
+ return [Hf(e), t, Hf(t)];
15971
15971
  }
15972
15972
  function lA(e) {
15973
15973
  var t = e.state, n = e.options, f = e.name;
15974
15974
  if (!t.modifiersData[f]._skip) {
15975
15975
  for (var a = n.mainAxis, s = a === void 0 ? !0 : a, i = n.altAxis, r = i === void 0 ? !0 : i, c = n.fallbackPlacements, A = n.padding, d = n.boundary, g = n.rootBoundary, m = n.altBoundary, b = n.flipVariations, I = b === void 0 ? !0 : b, h = n.allowedAutoPlacements, k = t.options.placement, x = je(k), y = x === k, M = c || (y || !I ? [Ht(k)] : oA(k)), w = [k].concat(M).reduce(function(Le, S) {
15976
- return Le.concat(je(S) === pf ? iA(t, {
15976
+ return Le.concat(je(S) === mf ? iA(t, {
15977
15977
  placement: S,
15978
15978
  boundary: d,
15979
15979
  rootBoundary: g,
@@ -16028,7 +16028,7 @@ var rA = {
16028
16028
  _skip: !1
16029
16029
  }
16030
16030
  };
16031
- function Jf(e, t, n) {
16031
+ function Kf(e, t, n) {
16032
16032
  return n === void 0 && (n = {
16033
16033
  x: 0,
16034
16034
  y: 0
@@ -16039,7 +16039,7 @@ function Jf(e, t, n) {
16039
16039
  left: e.left - t.width - n.x
16040
16040
  };
16041
16041
  }
16042
- function Gf(e) {
16042
+ function Jf(e) {
16043
16043
  return [ge, Ie, _e, me].some(function(t) {
16044
16044
  return e[t] >= 0;
16045
16045
  });
@@ -16049,7 +16049,7 @@ function AA(e) {
16049
16049
  elementContext: "reference"
16050
16050
  }), r = Vt(t, {
16051
16051
  altBoundary: !0
16052
- }), c = Jf(i, f), A = Jf(r, a, s), d = Gf(c), g = Gf(A);
16052
+ }), c = Kf(i, f), A = Kf(r, a, s), d = Jf(c), g = Jf(A);
16053
16053
  t.modifiersData[n] = {
16054
16054
  referenceClippingOffsets: c,
16055
16055
  popperEscapeOffsets: A,
@@ -16116,7 +16116,7 @@ function vA(e) {
16116
16116
  rootBoundary: A,
16117
16117
  padding: g,
16118
16118
  altBoundary: d
16119
- }), x = je(t.placement), y = ot(t.placement), M = !y, w = vf(x), _ = hA(w), j = t.modifiersData.popperOffsets, T = t.rects.reference, z = t.rects.popper, P = typeof h == "function" ? h(Object.assign({}, t.rects, {
16119
+ }), x = je(t.placement), y = ot(t.placement), M = !y, w = hf(x), _ = hA(w), j = t.modifiersData.popperOffsets, T = t.rects.reference, z = t.rects.popper, P = typeof h == "function" ? h(Object.assign({}, t.rects, {
16120
16120
  placement: t.placement
16121
16121
  })) : h, Q = typeof P == "number" ? {
16122
16122
  mainAxis: P,
@@ -16130,15 +16130,15 @@ function vA(e) {
16130
16130
  };
16131
16131
  if (j) {
16132
16132
  if (s) {
16133
- var O, X = w === "y" ? ge : me, L = w === "y" ? _e : Ie, U = w === "y" ? "height" : "width", J = j[w], de = J + k[X], le = J - k[L], Ge = b ? -z[U] / 2 : 0, Ze = y === ft ? T[U] : z[U], ze = y === ft ? -z[U] : -T[U], Pe = t.elements.arrow, Le = b && Pe ? hf(Pe) : {
16133
+ var O, X = w === "y" ? ge : me, L = w === "y" ? _e : Ie, U = w === "y" ? "height" : "width", J = j[w], de = J + k[X], le = J - k[L], Ge = b ? -z[U] / 2 : 0, Ze = y === ft ? T[U] : z[U], ze = y === ft ? -z[U] : -T[U], Pe = t.elements.arrow, Le = b && Pe ? pf(Pe) : {
16134
16134
  width: 0,
16135
16135
  height: 0
16136
- }, S = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Da(), G = S[X], F = S[L], ie = kt(0, T[U], Le[U]), De = M ? T[U] / 2 - Ge - ie - G - Q.mainAxis : Ze - ie - G - Q.mainAxis, Fe = M ? -T[U] / 2 + Ge + ie + F + Q.mainAxis : ze + ie + F + Q.mainAxis, jn = t.elements.arrow && Ct(t.elements.arrow), za = jn ? w === "y" ? jn.clientTop || 0 : jn.clientLeft || 0 : 0, If = (O = Y == null ? void 0 : Y[w]) != null ? O : 0, La = J + De - If - za, Ua = J + Fe - If, wf = kt(b ? In(de, La) : de, J, b ? We(le, Ua) : le);
16137
- j[w] = wf, C[w] = wf - J;
16136
+ }, S = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Da(), G = S[X], F = S[L], ie = kt(0, T[U], Le[U]), De = M ? T[U] / 2 - Ge - ie - G - Q.mainAxis : Ze - ie - G - Q.mainAxis, Fe = M ? -T[U] / 2 + Ge + ie + F + Q.mainAxis : ze + ie + F + Q.mainAxis, jn = t.elements.arrow && Ct(t.elements.arrow), za = jn ? w === "y" ? jn.clientTop || 0 : jn.clientLeft || 0 : 0, _f = (O = Y == null ? void 0 : Y[w]) != null ? O : 0, La = J + De - _f - za, Ua = J + Fe - _f, If = kt(b ? In(de, La) : de, J, b ? We(le, Ua) : le);
16137
+ j[w] = If, C[w] = If - J;
16138
16138
  }
16139
16139
  if (r) {
16140
- var kf, Ba = w === "x" ? ge : me, Ra = w === "x" ? _e : Ie, qe = j[_], Bt = _ === "y" ? "height" : "width", Nf = qe + k[Ba], Df = qe - k[Ra], xn = [ge, me].indexOf(x) !== -1, Ef = (kf = Y == null ? void 0 : Y[_]) != null ? kf : 0, Tf = xn ? Nf : qe - T[Bt] - z[Bt] - Ef + Q.altAxis, jf = xn ? qe + T[Bt] + z[Bt] - Ef - Q.altAxis : Df, xf = b && xn ? $r(Tf, qe, jf) : kt(b ? Tf : Nf, qe, b ? jf : Df);
16141
- j[_] = xf, C[_] = xf - qe;
16140
+ var wf, Ba = w === "x" ? ge : me, Ra = w === "x" ? _e : Ie, qe = j[_], Bt = _ === "y" ? "height" : "width", kf = qe + k[Ba], Nf = qe - k[Ra], xn = [ge, me].indexOf(x) !== -1, Df = (wf = Y == null ? void 0 : Y[_]) != null ? wf : 0, Ef = xn ? kf : qe - T[Bt] - z[Bt] - Df + Q.altAxis, Tf = xn ? qe + T[Bt] + z[Bt] - Df - Q.altAxis : Nf, jf = b && xn ? $r(Ef, qe, Tf) : kt(b ? Ef : kf, qe, b ? Tf : Nf);
16141
+ j[_] = jf, C[_] = jf - qe;
16142
16142
  }
16143
16143
  t.modifiersData[f] = C;
16144
16144
  }
@@ -16157,7 +16157,7 @@ function bA(e) {
16157
16157
  };
16158
16158
  }
16159
16159
  function MA(e) {
16160
- return e === Ne(e) || !Me(e) ? yf(e) : bA(e);
16160
+ return e === Ne(e) || !Me(e) ? vf(e) : bA(e);
16161
16161
  }
16162
16162
  function _A(e) {
16163
16163
  var t = e.getBoundingClientRect(), n = st(t.width) / e.offsetWidth || 1, f = st(t.height) / e.offsetHeight || 1;
@@ -16172,7 +16172,7 @@ function IA(e, t, n) {
16172
16172
  x: 0,
16173
16173
  y: 0
16174
16174
  };
16175
- return (f || !f && !n) && ((xe(t) !== "body" || Mf(s)) && (r = MA(t)), Me(t) ? (c = it(t, !0), c.x += t.clientLeft, c.y += t.clientTop) : s && (c.x = bf(s))), {
16175
+ return (f || !f && !n) && ((xe(t) !== "body" || bf(s)) && (r = MA(t)), Me(t) ? (c = it(t, !0), c.x += t.clientLeft, c.y += t.clientTop) : s && (c.x = yf(s))), {
16176
16176
  x: i.left + r.scrollLeft - c.x,
16177
16177
  y: i.top + r.scrollTop - c.y,
16178
16178
  width: i.width,
@@ -16228,12 +16228,12 @@ function DA(e) {
16228
16228
  return t[n];
16229
16229
  });
16230
16230
  }
16231
- var Zf = {
16231
+ var Gf = {
16232
16232
  placement: "bottom",
16233
16233
  modifiers: [],
16234
16234
  strategy: "absolute"
16235
16235
  };
16236
- function Xf() {
16236
+ function Zf() {
16237
16237
  for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
16238
16238
  t[n] = arguments[n];
16239
16239
  return !t.some(function(f) {
@@ -16242,13 +16242,13 @@ function Xf() {
16242
16242
  }
16243
16243
  function EA(e) {
16244
16244
  e === void 0 && (e = {});
16245
- var t = e, n = t.defaultModifiers, f = n === void 0 ? [] : n, a = t.defaultOptions, s = a === void 0 ? Zf : a;
16245
+ var t = e, n = t.defaultModifiers, f = n === void 0 ? [] : n, a = t.defaultOptions, s = a === void 0 ? Gf : a;
16246
16246
  return function(r, c, A) {
16247
16247
  A === void 0 && (A = s);
16248
16248
  var d = {
16249
16249
  placement: "bottom",
16250
16250
  orderedModifiers: [],
16251
- options: Object.assign({}, Zf, s),
16251
+ options: Object.assign({}, Gf, s),
16252
16252
  modifiersData: {},
16253
16253
  elements: {
16254
16254
  reference: r,
@@ -16272,10 +16272,10 @@ function EA(e) {
16272
16272
  forceUpdate: function() {
16273
16273
  if (!m) {
16274
16274
  var x = d.elements, y = x.reference, M = x.popper;
16275
- if (Xf(y, M)) {
16275
+ if (Zf(y, M)) {
16276
16276
  d.rects = {
16277
16277
  reference: IA(y, Ct(M), d.options.strategy === "fixed"),
16278
- popper: hf(M)
16278
+ popper: pf(M)
16279
16279
  }, d.reset = !1, d.placement = d.options.placement, d.orderedModifiers.forEach(function(Q) {
16280
16280
  return d.modifiersData[Q.name] = Object.assign({}, Q.data);
16281
16281
  });
@@ -16304,7 +16304,7 @@ function EA(e) {
16304
16304
  h(), m = !0;
16305
16305
  }
16306
16306
  };
16307
- if (!Xf(r, c))
16307
+ if (!Zf(r, c))
16308
16308
  return b;
16309
16309
  b.setOptions(A).then(function(k) {
16310
16310
  !m && A.onFirstUpdate && A.onFirstUpdate(k);
@@ -16989,10 +16989,10 @@ const Dc = {
16989
16989
  })
16990
16990
  ], 64));
16991
16991
  }
16992
- }, Pg = /* @__PURE__ */ R(Dc, [["__scopeId", "data-v-d93e11c7"]]), Ec = { class: "context-menu__list" }, Tc = ["onClick"], jc = ["src"], xc = {
16992
+ }, Fg = /* @__PURE__ */ R(Dc, [["__scopeId", "data-v-d93e11c7"]]), Ec = { class: "context-menu__container" }, Tc = { class: "context-menu__list" }, jc = ["onClick"], xc = ["src"], Vc = {
16993
16993
  key: 2,
16994
16994
  style: { "white-space": "nowrap" }
16995
- }, Vc = { key: 3 }, Sc = {
16995
+ }, Sc = { key: 3 }, Cc = {
16996
16996
  __name: "ContextMenu",
16997
16997
  props: {
16998
16998
  actions: {
@@ -17001,42 +17001,34 @@ const Dc = {
17001
17001
  }
17002
17002
  },
17003
17003
  emits: ["click"],
17004
- setup(e, { expose: t, emit: n }) {
17005
- const f = e, a = ef("contextMenu");
17006
- t({
17007
- contextMenu: a
17008
- });
17009
- const s = n, i = (r) => {
17010
- const c = f.actions[r];
17011
- s("click", c);
17004
+ setup(e, { emit: t }) {
17005
+ const n = e, f = t, a = (s) => {
17006
+ const i = n.actions[s];
17007
+ f("click", i);
17012
17008
  };
17013
- return (r, c) => (l(), u("div", {
17014
- ref_key: "contextMenu",
17015
- ref: a,
17016
- class: "context-menu__container"
17017
- }, [
17018
- o("ul", Ec, [
17019
- (l(!0), u(H, null, ae(f.actions, (A, d) => (l(), u("li", {
17020
- key: d,
17009
+ return (s, i) => (l(), u("div", Ec, [
17010
+ o("ul", Tc, [
17011
+ (l(!0), u(H, null, ae(n.actions, (r, c) => (l(), u("li", {
17012
+ key: c,
17021
17013
  class: "context-menu__item",
17022
- onClick: (g) => i(d)
17014
+ onClick: (A) => a(c)
17023
17015
  }, [
17024
- A.icon ? (l(), u("img", {
17016
+ r.icon ? (l(), u("img", {
17025
17017
  key: 0,
17026
- src: A.icon,
17018
+ src: r.icon,
17027
17019
  width: "18",
17028
17020
  height: "18"
17029
- }, null, 8, jc)) : A.prime ? (l(), u("i", {
17021
+ }, null, 8, xc)) : r.prime ? (l(), u("i", {
17030
17022
  key: 1,
17031
- class: V("pi pi-" + A.prime)
17023
+ class: V("pi pi-" + r.prime)
17032
17024
  }, null, 2)) : p("", !0),
17033
- A.title ? (l(), u("span", xc, E(A.title), 1)) : p("", !0),
17034
- A.description ? (l(), u("span", Vc, E(A.description), 1)) : p("", !0)
17035
- ], 8, Tc))), 128))
17025
+ r.title ? (l(), u("span", Vc, E(r.title), 1)) : p("", !0),
17026
+ r.description ? (l(), u("span", Sc, E(r.description), 1)) : p("", !0)
17027
+ ], 8, jc))), 128))
17036
17028
  ])
17037
- ], 512));
17029
+ ]));
17038
17030
  }
17039
- }, ut = /* @__PURE__ */ R(Sc, [["__scopeId", "data-v-9d010c11"]]), ht = v([]), Cc = (e) => {
17031
+ }, ut = /* @__PURE__ */ R(Cc, [["__scopeId", "data-v-c307c931"]]), ht = v([]), Oc = (e) => {
17040
17032
  const t = v(0);
17041
17033
  let n = ht.value.find(({ id: a }) => a == e);
17042
17034
  return n != null ? t.value = ht.value.indexOf(n) : (ht.value.push({
@@ -17044,9 +17036,9 @@ const Dc = {
17044
17036
  text: ""
17045
17037
  }), t.value = ht.value.length - 1), { getModel: () => ht.value[t.value] };
17046
17038
  };
17047
- function Oc(e, t = 500) {
17039
+ function zc(e, t = 500) {
17048
17040
  let n;
17049
- return ta((f, a) => ({
17041
+ return ea((f, a) => ({
17050
17042
  get() {
17051
17043
  return f(), e;
17052
17044
  },
@@ -17057,7 +17049,7 @@ function Oc(e, t = 500) {
17057
17049
  }
17058
17050
  }));
17059
17051
  }
17060
- const zc = { class: "feed-search__container" }, Lc = { style: { "line-height": "40px" } }, Uc = ["placeholder"], Bc = /* @__PURE__ */ K({
17052
+ const Lc = { class: "feed-search__container" }, Uc = { style: { "line-height": "40px" } }, Bc = ["placeholder"], Rc = /* @__PURE__ */ K({
17061
17053
  __name: "FeedSearch",
17062
17054
  props: {
17063
17055
  isFeedLocation: {
@@ -17067,7 +17059,7 @@ const zc = { class: "feed-search__container" }, Lc = { style: { "line-height": "
17067
17059
  },
17068
17060
  emits: ["search", "cancel", "switch"],
17069
17061
  setup(e, { emit: t }) {
17070
- const n = te("chatAppId"), { getModel: f } = Cc(n), a = t, s = e, i = v(), r = Oc("", 500), c = $(() => {
17062
+ const n = te("chatAppId"), { getModel: f } = Oc(n), a = t, s = e, i = v(), r = zc("", 500), c = $(() => {
17071
17063
  if (s.isFeedLocation) return "40px";
17072
17064
  if (!s.isFeedLocation) return "20px";
17073
17065
  });
@@ -17086,8 +17078,8 @@ const zc = { class: "feed-search__container" }, Lc = { style: { "line-height": "
17086
17078
  d == null || d.focus();
17087
17079
  }), (d, g) => (l(), B(ne, null, {
17088
17080
  default: Z(() => [
17089
- o("div", zc, [
17090
- o("span", Lc, E(N(ve)("component.FeedSearch.SearchLabel")), 1),
17081
+ o("div", Lc, [
17082
+ o("span", Uc, E(N(ve)("component.FeedSearch.SearchLabel")), 1),
17091
17083
  ce(o("input", {
17092
17084
  ref_key: "refInput",
17093
17085
  ref: i,
@@ -17095,7 +17087,7 @@ const zc = { class: "feed-search__container" }, Lc = { style: { "line-height": "
17095
17087
  type: "text",
17096
17088
  placeholder: N(ve)("component.FeedSearch.SearchPlaceholder"),
17097
17089
  "onUpdate:modelValue": g[0] || (g[0] = (m) => N(f)().text = m)
17098
- }, null, 8, Uc), [
17090
+ }, null, 8, Bc), [
17099
17091
  [lt, N(f)().text]
17100
17092
  ]),
17101
17093
  o("i", {
@@ -17114,10 +17106,10 @@ const zc = { class: "feed-search__container" }, Lc = { style: { "line-height": "
17114
17106
  _: 1
17115
17107
  }));
17116
17108
  }
17117
- }), Fg = /* @__PURE__ */ R(Bc, [["__scopeId", "data-v-4e97defd"]]), Rc = { class: "feed-found-item__avatar-container" }, Qc = ["src"], $c = {
17109
+ }), qg = /* @__PURE__ */ R(Rc, [["__scopeId", "data-v-4e97defd"]]), Qc = { class: "feed-found-item__avatar-container" }, $c = ["src"], Yc = {
17118
17110
  key: 1,
17119
17111
  class: "pi pi-user"
17120
- }, Yc = { class: "feed-found-item__info" }, Pc = { class: "feed-found-item__first-line" }, Fc = { class: "feed-found-item__name" }, qc = { class: "feed-found-item__time" }, Hc = { class: "feed-found-item__second-line" }, Wc = ["src"], Kc = /* @__PURE__ */ K({
17112
+ }, Pc = { class: "feed-found-item__info" }, Fc = { class: "feed-found-item__first-line" }, qc = { class: "feed-found-item__name" }, Hc = { class: "feed-found-item__time" }, Wc = { class: "feed-found-item__second-line" }, Kc = ["src"], Jc = /* @__PURE__ */ K({
17121
17113
  __name: "FeedFoundItem",
17122
17114
  props: {
17123
17115
  object: {
@@ -17142,27 +17134,27 @@ const zc = { class: "feed-search__container" }, Lc = { style: { "line-height": "
17142
17134
  return (f, a) => (l(), u("div", {
17143
17135
  class: V(["feed-found-item__container", { "feed-found-item__selected-container": e.selected }])
17144
17136
  }, [
17145
- o("div", Rc, [
17137
+ o("div", Qc, [
17146
17138
  e.object.avatar ? (l(), u("img", {
17147
17139
  key: 0,
17148
17140
  src: e.object.avatar,
17149
17141
  width: "48",
17150
17142
  height: "48"
17151
- }, null, 8, Qc)) : (l(), u("span", $c))
17143
+ }, null, 8, $c)) : (l(), u("span", Yc))
17152
17144
  ]),
17153
- o("div", Yc, [
17154
- o("div", Pc, [
17155
- o("p", Fc, E(e.object.subtext), 1),
17156
- o("p", qc, E(e.object.time), 1)
17145
+ o("div", Pc, [
17146
+ o("div", Fc, [
17147
+ o("p", qc, E(e.object.subtext), 1),
17148
+ o("p", Hc, E(e.object.time), 1)
17157
17149
  ]),
17158
- o("div", Hc, [
17150
+ o("div", Wc, [
17159
17151
  e.object.type == "message.image" ? (l(), u("img", {
17160
17152
  key: 0,
17161
17153
  src: e.object.url,
17162
17154
  style: { "margin-right": "3px" },
17163
17155
  width: "24",
17164
17156
  height: "24"
17165
- }, null, 8, Wc)) : p("", !0),
17157
+ }, null, 8, Kc)) : p("", !0),
17166
17158
  n.value ? (l(), u("span", {
17167
17159
  key: 1,
17168
17160
  class: V(n.value),
@@ -17173,10 +17165,10 @@ const zc = { class: "feed-search__container" }, Lc = { style: { "line-height": "
17173
17165
  ])
17174
17166
  ], 2));
17175
17167
  }
17176
- }), Jc = /* @__PURE__ */ R(Kc, [["__scopeId", "data-v-3b5c941e"]]), Gc = { style: { "padding-left": "12px" } }, Zc = ["onClick"], Xc = {
17168
+ }), Gc = /* @__PURE__ */ R(Jc, [["__scopeId", "data-v-3b5c941e"]]), Zc = { style: { "padding-left": "12px" } }, Xc = ["onClick"], eu = {
17177
17169
  key: 1,
17178
17170
  class: "feed-found-objects__placeholder"
17179
- }, eu = /* @__PURE__ */ K({
17171
+ }, tu = /* @__PURE__ */ K({
17180
17172
  __name: "FeedFoundObjects",
17181
17173
  props: {
17182
17174
  objects: {
@@ -17205,7 +17197,7 @@ const zc = { class: "feed-search__container" }, Lc = { style: { "line-height": "
17205
17197
  A.scrollHeight - A.scrollTop - A.clientHeight <= 0 && n("loadMore");
17206
17198
  };
17207
17199
  return (A, d) => (l(), u(H, null, [
17208
- o("h3", Gc, E(N(ve)("component.FeedFoundObjects.results")) + ": " + E(e.foundAmount), 1),
17200
+ o("h3", Zc, E(N(ve)("component.FeedFoundObjects.results")) + ": " + E(e.foundAmount), 1),
17209
17201
  e.foundAmount > 0 ? (l(), u("div", {
17210
17202
  key: 0,
17211
17203
  class: "feed-found-objects__items",
@@ -17216,20 +17208,20 @@ const zc = { class: "feed-search__container" }, Lc = { style: { "line-height": "
17216
17208
  (l(!0), u(H, null, ae(e.objects, (g) => (l(), u("div", {
17217
17209
  onClick: (m) => r(g)
17218
17210
  }, [
17219
- W(Jc, {
17211
+ W(Gc, {
17220
17212
  object: g,
17221
17213
  selected: g == s.value
17222
17214
  }, null, 8, ["object", "selected"])
17223
- ], 8, Zc))), 256))
17224
- ], 544)) : e.foundAmount == 0 ? (l(), u("div", Xc, [
17215
+ ], 8, Xc))), 256))
17216
+ ], 544)) : e.foundAmount == 0 ? (l(), u("div", eu, [
17225
17217
  o("p", null, E(i.value), 1)
17226
17218
  ])) : p("", !0)
17227
17219
  ], 64));
17228
17220
  }
17229
- }), qg = /* @__PURE__ */ R(eu, [["__scopeId", "data-v-72be31eb"]]), tu = { class: "audio-recorder__container" }, nu = { key: 0 }, fu = {
17221
+ }), Hg = /* @__PURE__ */ R(tu, [["__scopeId", "data-v-72be31eb"]]), nu = { class: "audio-recorder__container" }, fu = { key: 0 }, au = {
17230
17222
  key: 1,
17231
17223
  class: "audio-recorder__recording-container"
17232
- }, au = { class: "audio-recorder__recording-time" }, su = /* @__PURE__ */ K({
17224
+ }, su = { class: "audio-recorder__recording-time" }, iu = /* @__PURE__ */ K({
17233
17225
  __name: "AudioRecorder",
17234
17226
  props: {
17235
17227
  state: {
@@ -17286,11 +17278,11 @@ const zc = { class: "feed-search__container" }, Lc = { style: { "line-height": "
17286
17278
  () => {
17287
17279
  f().file || (y.value = void 0);
17288
17280
  }
17289
- ), (P, Q) => (l(), u("div", tu, [
17290
- b.value === "uploading" ? (l(), u("div", nu, Q[0] || (Q[0] = [
17281
+ ), (P, Q) => (l(), u("div", nu, [
17282
+ b.value === "uploading" ? (l(), u("div", fu, Q[0] || (Q[0] = [
17291
17283
  o("p", null, "Загрузка файла...", -1)
17292
17284
  ]))) : p("", !0),
17293
- I.value && b.value != "uploading" ? (l(), u("div", fu, [
17285
+ I.value && b.value != "uploading" ? (l(), u("div", au, [
17294
17286
  Q[3] || (Q[3] = o("span", { class: "audio-recorder__recording-icon pi pi-circle-fill" }, null, -1)),
17295
17287
  o("button", {
17296
17288
  class: "audio-recorder__button audio-recorder__button-record",
@@ -17304,7 +17296,7 @@ const zc = { class: "feed-search__container" }, Lc = { style: { "line-height": "
17304
17296
  }, Q[2] || (Q[2] = [
17305
17297
  o("div", { class: "audio-recorder__stop" }, null, -1)
17306
17298
  ])),
17307
- o("span", au, E(m.value), 1)
17299
+ o("span", su, E(m.value), 1)
17308
17300
  ])) : p("", !0),
17309
17301
  !I.value && b.value != "uploading" && !N(f)().isRecording ? (l(), u("button", {
17310
17302
  key: 2,
@@ -17325,7 +17317,7 @@ const zc = { class: "feed-search__container" }, Lc = { style: { "line-height": "
17325
17317
  ], 8, ["to"])) : p("", !0)
17326
17318
  ]));
17327
17319
  }
17328
- }), Hg = /* @__PURE__ */ R(su, [["__scopeId", "data-v-66c2d2ac"]]);
17320
+ }), Wg = /* @__PURE__ */ R(iu, [["__scopeId", "data-v-66c2d2ac"]]);
17329
17321
  function zt({ component: e, attrs: t, Modal: n, modalAttrs: f }) {
17330
17322
  return new Promise((a) => {
17331
17323
  const s = document.createElement("div");
@@ -17340,7 +17332,7 @@ function zt({ component: e, attrs: t, Modal: n, modalAttrs: f }) {
17340
17332
  });
17341
17333
  }, d = K({
17342
17334
  render() {
17343
- return Vf(
17335
+ return xf(
17344
17336
  n,
17345
17337
  {
17346
17338
  ...f,
@@ -17348,7 +17340,7 @@ function zt({ component: e, attrs: t, Modal: n, modalAttrs: f }) {
17348
17340
  onSubmit: c
17349
17341
  },
17350
17342
  {
17351
- default: () => Vf(
17343
+ default: () => xf(
17352
17344
  Fa(() => e),
17353
17345
  {
17354
17346
  ...t,
@@ -17364,15 +17356,15 @@ function zt({ component: e, attrs: t, Modal: n, modalAttrs: f }) {
17364
17356
  g.mount(s);
17365
17357
  });
17366
17358
  }
17367
- const iu = ["data-theme"], ou = {
17359
+ const ou = ["data-theme"], lu = {
17368
17360
  class: "modal",
17369
17361
  role: "dialog",
17370
17362
  "aria-labelledby": "modalTitle",
17371
17363
  "aria-describedby": "modalDescription"
17372
- }, lu = {
17364
+ }, ru = {
17373
17365
  id: "modalDescription",
17374
17366
  class: "modal-body"
17375
- }, ru = { class: "buttons" }, Au = {
17367
+ }, Au = { class: "buttons" }, cu = {
17376
17368
  __name: "Modal",
17377
17369
  props: {
17378
17370
  theme: {
@@ -17393,11 +17385,11 @@ const iu = ["data-theme"], ou = {
17393
17385
  "data-theme": e.theme,
17394
17386
  onClick: f
17395
17387
  }, [
17396
- o("div", ou, [
17397
- o("div", lu, [
17388
+ o("div", lu, [
17389
+ o("div", ru, [
17398
17390
  fe(a.$slots, "default", {}, void 0, !0)
17399
17391
  ]),
17400
- o("div", ru, [
17392
+ o("div", Au, [
17401
17393
  o("button", {
17402
17394
  type: "button",
17403
17395
  class: "btn-green",
@@ -17412,48 +17404,48 @@ const iu = ["data-theme"], ou = {
17412
17404
  }, " Cancel ")
17413
17405
  ])
17414
17406
  ])
17415
- ], 8, iu)
17407
+ ], 8, ou)
17416
17408
  ]),
17417
17409
  _: 3
17418
17410
  }));
17419
17411
  }
17420
- }, _f = /* @__PURE__ */ R(Au, [["__scopeId", "data-v-a44139f6"]]), Wg = async (e, t) => {
17412
+ }, Mf = /* @__PURE__ */ R(cu, [["__scopeId", "data-v-a44139f6"]]), Kg = async (e, t) => {
17421
17413
  const n = await zt({
17422
17414
  //в component должен быть встроен emit change(key: value)
17423
- component: import("./SelectUser2-DSbf8_y0.js"),
17415
+ component: import("./SelectUser2-CBF4EoqF.js"),
17424
17416
  attrs: {
17425
17417
  title: e,
17426
17418
  users: t
17427
17419
  },
17428
- Modal: _f,
17420
+ Modal: Mf,
17429
17421
  modalAttrs: {}
17430
17422
  });
17431
17423
  return console.log("data", n), n;
17432
- }, Kg = async (e) => {
17424
+ }, Jg = async (e) => {
17433
17425
  const t = await zt({
17434
17426
  //в component должен быть встроен emit change(key: value)
17435
17427
  component: import("./CreateChat-B7Kq9eRQ.js"),
17436
17428
  attrs: {
17437
17429
  title: e
17438
17430
  },
17439
- Modal: _f,
17431
+ Modal: Mf,
17440
17432
  modalAttrs: {}
17441
17433
  });
17442
17434
  return console.log("data", t), t;
17443
- }, Jg = async (e) => await zt({
17435
+ }, Gg = async (e) => await zt({
17444
17436
  //в component должен быть встроен emit change(key: value)
17445
17437
  component: import("./CreateChat2-A8L9xv_j.js"),
17446
17438
  attrs: {
17447
17439
  title: e
17448
17440
  },
17449
- Modal: _f,
17441
+ Modal: Mf,
17450
17442
  modalAttrs: {}
17451
- }), cu = ["data-theme"], uu = {
17443
+ }), uu = ["data-theme"], du = {
17452
17444
  class: "modal",
17453
17445
  role: "dialog",
17454
17446
  "aria-labelledby": "modalTitle",
17455
17447
  "aria-describedby": "modalDescription"
17456
- }, du = {
17448
+ }, gu = {
17457
17449
  __name: "ModalNoFooter",
17458
17450
  props: {
17459
17451
  theme: {
@@ -17473,17 +17465,17 @@ const iu = ["data-theme"], ou = {
17473
17465
  class: "modal-backdrop",
17474
17466
  onClick: f
17475
17467
  }, [
17476
- o("div", uu, [
17468
+ o("div", du, [
17477
17469
  fe(a.$slots, "default", {}, void 0, !0)
17478
17470
  ])
17479
- ], 8, cu)
17471
+ ], 8, uu)
17480
17472
  ]),
17481
17473
  _: 3
17482
17474
  }));
17483
17475
  }
17484
- }, Oa = /* @__PURE__ */ R(du, [["__scopeId", "data-v-1923a305"]]), Gg = async (e, t, n, f, a, s) => await zt({
17476
+ }, Oa = /* @__PURE__ */ R(gu, [["__scopeId", "data-v-1923a305"]]), Zg = async (e, t, n, f, a, s) => await zt({
17485
17477
  //в component должен быть встроен emit change(key: value)
17486
- component: import("./CreateDialog-BomSa1If.js"),
17478
+ component: import("./CreateDialog-Bf2YZ-n8.js"),
17487
17479
  attrs: {
17488
17480
  title: e,
17489
17481
  name: t,
@@ -17495,21 +17487,21 @@ const iu = ["data-theme"], ou = {
17495
17487
  modalAttrs: {
17496
17488
  theme: s
17497
17489
  }
17498
- }), gu = async (e) => await zt({
17490
+ }), mu = async (e) => await zt({
17499
17491
  //в component должен быть встроен emit change(key: value)
17500
- component: import("./ModalVideoRecorder-DC9GUlpx.js"),
17492
+ component: import("./ModalVideoRecorder-5AB6AoIA.js"),
17501
17493
  attrs: {},
17502
17494
  Modal: Oa,
17503
17495
  modalAttrs: {
17504
17496
  theme: e
17505
17497
  }
17506
- }), mu = {
17498
+ }), pu = {
17507
17499
  key: 0,
17508
17500
  class: "video-recorder__container"
17509
- }, pu = {
17501
+ }, hu = {
17510
17502
  key: 1,
17511
17503
  class: "video-recorder__container"
17512
- }, hu = /* @__PURE__ */ K({
17504
+ }, vu = /* @__PURE__ */ K({
17513
17505
  __name: "VideoRecorder",
17514
17506
  props: {
17515
17507
  state: {
@@ -17523,7 +17515,7 @@ const iu = ["data-theme"], ou = {
17523
17515
  },
17524
17516
  setup(e) {
17525
17517
  const t = te("chatAppId"), { getMessage: n, setMessageFile: f, setRecordingMessage: a, resetMessageFile: s } = we(t), { getTheme: i } = rt(t), r = v(""), c = v(), A = e, d = async () => {
17526
- !n().file && A.state == "active" && await gu(i().theme).then(async (m) => {
17518
+ !n().file && A.state == "active" && await mu(i().theme).then(async (m) => {
17527
17519
  m.videoFile && (r.value = "uploading", a(!0), await Dn(A.filebumpUrl, m.videoFile).then((b) => {
17528
17520
  a(!1), r.value = b.status, b.status == "success" && (f({
17529
17521
  url: b.url,
@@ -17549,7 +17541,7 @@ const iu = ["data-theme"], ou = {
17549
17541
  n().file || (c.value = void 0);
17550
17542
  }
17551
17543
  ), (m, b) => (l(), u(H, null, [
17552
- N(n)().isRecording ? p("", !0) : (l(), u("div", mu, [
17544
+ N(n)().isRecording ? p("", !0) : (l(), u("div", pu, [
17553
17545
  r.value != "uploading" ? (l(), u("button", {
17554
17546
  key: 0,
17555
17547
  class: V(["video-recorder__button", { "video-recorder__button-disabled": e.state == "disabled" || N(n)().file }]),
@@ -17558,7 +17550,7 @@ const iu = ["data-theme"], ou = {
17558
17550
  o("span", { class: "pi pi-video" }, null, -1)
17559
17551
  ]), 2)) : p("", !0)
17560
17552
  ])),
17561
- r.value === "uploading" ? (l(), u("div", pu, b[1] || (b[1] = [
17553
+ r.value === "uploading" ? (l(), u("div", hu, b[1] || (b[1] = [
17562
17554
  o("p", null, "Загрузка файла...", -1)
17563
17555
  ]))) : p("", !0),
17564
17556
  N(n)().file ? (l(), B(ue, {
@@ -17573,7 +17565,7 @@ const iu = ["data-theme"], ou = {
17573
17565
  ], 8, ["to"])) : p("", !0)
17574
17566
  ], 64));
17575
17567
  }
17576
- }), Zg = /* @__PURE__ */ R(hu, [["__scopeId", "data-v-25ed68fb"]]), dt = /* @__PURE__ */ K({
17568
+ }), Xg = /* @__PURE__ */ R(vu, [["__scopeId", "data-v-25ed68fb"]]), dt = /* @__PURE__ */ K({
17577
17569
  __name: "BaseReplyMessage",
17578
17570
  props: {
17579
17571
  message: {
@@ -17585,11 +17577,11 @@ const iu = ["data-theme"], ou = {
17585
17577
  const n = t, f = e, a = te("chatAppId"), { resetReply: s } = we(a), i = () => {
17586
17578
  f.message && n("reply", f.message.messageId);
17587
17579
  }, r = (d) => ({
17588
- "message.text": _1,
17589
- "message.image": T1,
17590
- "message.file": q1,
17591
- "message.audio": C1,
17592
- "message.video": Q1
17580
+ "message.text": I1,
17581
+ "message.image": j1,
17582
+ "message.file": H1,
17583
+ "message.audio": O1,
17584
+ "message.video": $1
17593
17585
  })[d], c = (d) => ({
17594
17586
  "message.text": "",
17595
17587
  "message.image": "grid",
@@ -17614,7 +17606,7 @@ const iu = ["data-theme"], ou = {
17614
17606
  ], 2);
17615
17607
  };
17616
17608
  }
17617
- }), vu = { class: "link-preview" }, yu = { class: "link-preview__container" }, bu = ["href"], Mu = { class: "link-preview__title" }, _u = { class: "link-preview__description" }, Iu = ["src", "alt"], wu = /* @__PURE__ */ K({
17609
+ }), yu = { class: "link-preview" }, bu = { class: "link-preview__container" }, Mu = ["href"], _u = { class: "link-preview__title" }, Iu = { class: "link-preview__description" }, wu = ["src", "alt"], ku = /* @__PURE__ */ K({
17618
17610
  __name: "LinkPreview",
17619
17611
  props: {
17620
17612
  linkPreview: {
@@ -17623,25 +17615,25 @@ const iu = ["data-theme"], ou = {
17623
17615
  }
17624
17616
  },
17625
17617
  setup(e) {
17626
- return (t, n) => (l(), u("div", vu, [
17627
- o("div", yu, [
17618
+ return (t, n) => (l(), u("div", yu, [
17619
+ o("div", bu, [
17628
17620
  o("a", {
17629
17621
  class: "link-preview__link-container",
17630
17622
  href: e.linkPreview.url,
17631
17623
  target: "_blank"
17632
17624
  }, [
17633
- o("p", Mu, E(e.linkPreview.title), 1),
17634
- o("p", _u, E(e.linkPreview.description), 1),
17625
+ o("p", _u, E(e.linkPreview.title), 1),
17626
+ o("p", Iu, E(e.linkPreview.description), 1),
17635
17627
  o("img", {
17636
17628
  class: "link-preview__image",
17637
17629
  src: e.linkPreview.imageUrl,
17638
17630
  alt: e.linkPreview.title
17639
- }, null, 8, Iu)
17640
- ], 8, bu)
17631
+ }, null, 8, wu)
17632
+ ], 8, Mu)
17641
17633
  ])
17642
17634
  ]));
17643
17635
  }
17644
- }), Lt = /* @__PURE__ */ R(wu, [["__scopeId", "data-v-7dff12c1"]]), ku = { class: "embed-preview" }, Nu = ["src"], Du = ["src"], Eu = ["src"], Tu = /* @__PURE__ */ K({
17636
+ }), Lt = /* @__PURE__ */ R(ku, [["__scopeId", "data-v-7dff12c1"]]), Nu = { class: "embed-preview" }, Du = ["src"], Eu = ["src"], Tu = ["src"], ju = /* @__PURE__ */ K({
17645
17637
  __name: "EmbedPreview",
17646
17638
  props: {
17647
17639
  embed: {
@@ -17650,7 +17642,7 @@ const iu = ["data-theme"], ou = {
17650
17642
  }
17651
17643
  },
17652
17644
  setup(e) {
17653
- return (t, n) => (l(), u("div", ku, [
17645
+ return (t, n) => (l(), u("div", Nu, [
17654
17646
  e.embed.type == "youtube" ? (l(), u("iframe", {
17655
17647
  key: 0,
17656
17648
  class: "embed-preview__player",
@@ -17658,7 +17650,7 @@ const iu = ["data-theme"], ou = {
17658
17650
  title: "YouTube video player",
17659
17651
  frameborder: "0",
17660
17652
  allowfullscreen: ""
17661
- }, null, 8, Nu)) : e.embed.type == "rutube" ? (l(), u("iframe", {
17653
+ }, null, 8, Du)) : e.embed.type == "rutube" ? (l(), u("iframe", {
17662
17654
  key: 1,
17663
17655
  class: "embed-preview__player",
17664
17656
  src: e.embed.url,
@@ -17668,23 +17660,23 @@ const iu = ["data-theme"], ou = {
17668
17660
  webkitAllowFullScreen: "",
17669
17661
  mozallowfullscreen: "",
17670
17662
  allowFullScreen: ""
17671
- }, null, 8, Du)) : (l(), u("iframe", {
17663
+ }, null, 8, Eu)) : (l(), u("iframe", {
17672
17664
  key: 2,
17673
17665
  class: "embed-preview__player",
17674
17666
  src: e.embed.url
17675
- }, null, 8, Eu))
17667
+ }, null, 8, Tu))
17676
17668
  ]));
17677
17669
  }
17678
- }), Ut = /* @__PURE__ */ R(Tu, [["__scopeId", "data-v-4a307ee2"]]), ju = ["messageId"], xu = ["src"], Vu = {
17670
+ }), Ut = /* @__PURE__ */ R(ju, [["__scopeId", "data-v-4a307ee2"]]), xu = ["messageId"], Vu = ["src"], Su = {
17679
17671
  key: 1,
17680
17672
  class: "file-message__subtext"
17681
- }, Su = ["href"], Cu = { class: "file-message__filename-text" }, Ou = {
17673
+ }, Cu = ["href"], Ou = { class: "file-message__filename-text" }, zu = {
17682
17674
  key: 1,
17683
17675
  class: "file-message__text-container"
17684
- }, zu = ["innerHTML"], Lu = { class: "file-message__info-container" }, Uu = { class: "file-message__time" }, Bu = {
17676
+ }, Lu = ["innerHTML"], Uu = { class: "file-message__info-container" }, Bu = { class: "file-message__time" }, Ru = {
17685
17677
  key: 0,
17686
17678
  class: "pi pi-check"
17687
- }, Ru = /* @__PURE__ */ K({
17679
+ }, Qu = /* @__PURE__ */ K({
17688
17680
  __name: "FileMessage",
17689
17681
  props: {
17690
17682
  message: {
@@ -17731,8 +17723,8 @@ const iu = ["data-theme"], ou = {
17731
17723
  height: "32",
17732
17724
  width: "32",
17733
17725
  style: re({ gridRow: e.message.subText ? "2" : "1" })
17734
- }, null, 12, xu)) : p("", !0),
17735
- e.message.subText ? (l(), u("p", Vu, E(e.message.subText), 1)) : p("", !0),
17726
+ }, null, 12, Vu)) : p("", !0),
17727
+ e.message.subText ? (l(), u("p", Su, E(e.message.subText), 1)) : p("", !0),
17736
17728
  o("div", {
17737
17729
  class: "file-message__content",
17738
17730
  style: re({ gridRow: e.message.subText ? "2" : "1" }),
@@ -17751,16 +17743,16 @@ const iu = ["data-theme"], ou = {
17751
17743
  target: "_blank"
17752
17744
  }, [
17753
17745
  k[1] || (k[1] = o("span", { class: "pi pi-file" }, null, -1)),
17754
- o("p", Cu, E(e.message.filename), 1),
17746
+ o("p", Ou, E(e.message.filename), 1),
17755
17747
  k[2] || (k[2] = o("div", { class: "file-message__download-button" }, [
17756
17748
  o("span", { class: "pi pi-download" })
17757
17749
  ], -1))
17758
- ], 8, Su),
17759
- e.message.text ? (l(), u("div", Ou, [
17750
+ ], 8, Cu),
17751
+ e.message.text ? (l(), u("div", zu, [
17760
17752
  o("p", {
17761
17753
  innerHTML: i.value,
17762
17754
  onClick: c
17763
- }, null, 8, zu)
17755
+ }, null, 8, Lu)
17764
17756
  ])) : p("", !0),
17765
17757
  e.message.linkPreview ? (l(), B(Lt, {
17766
17758
  key: 2,
@@ -17772,7 +17764,7 @@ const iu = ["data-theme"], ou = {
17772
17764
  class: V(e.message.position),
17773
17765
  embed: e.message.embed
17774
17766
  }, null, 8, ["class", "embed"])) : p("", !0),
17775
- o("div", Lu, [
17767
+ o("div", Uu, [
17776
17768
  e.message.views ? (l(), u("div", {
17777
17769
  key: 0,
17778
17770
  onClick: A,
@@ -17781,12 +17773,12 @@ const iu = ["data-theme"], ou = {
17781
17773
  k[3] || (k[3] = o("span", { class: "pi pi-eye" }, null, -1)),
17782
17774
  o("p", null, E(e.message.views), 1)
17783
17775
  ])) : p("", !0),
17784
- o("span", Uu, E(e.message.time), 1),
17776
+ o("span", Bu, E(e.message.time), 1),
17785
17777
  I(e.message) === "file-message__right" && N(At).includes(e.message.status) ? (l(), u("div", {
17786
17778
  key: 1,
17787
17779
  class: V(["file-message__status", b.value])
17788
17780
  }, [
17789
- e.message.status !== "sent" ? (l(), u("span", Bu)) : p("", !0),
17781
+ e.message.status !== "sent" ? (l(), u("span", Ru)) : p("", !0),
17790
17782
  k[4] || (k[4] = o("span", { class: "pi pi-check" }, null, -1))
17791
17783
  ], 2)) : p("", !0)
17792
17784
  ]),
@@ -17809,21 +17801,21 @@ const iu = ["data-theme"], ou = {
17809
17801
  _: 1
17810
17802
  })
17811
17803
  ], 36)
17812
- ], 42, ju));
17804
+ ], 42, xu));
17813
17805
  }
17814
- }), Qu = /* @__PURE__ */ R(Ru, [["__scopeId", "data-v-0c4882d1"]]), $u = ["messageId"], Yu = ["src"], Pu = {
17806
+ }), $u = /* @__PURE__ */ R(Qu, [["__scopeId", "data-v-0c4882d1"]]), Yu = ["messageId"], Pu = ["src"], Fu = {
17815
17807
  key: 1,
17816
17808
  class: "image-message__subtext"
17817
- }, Fu = { class: "image-message__content" }, qu = ["src", "alt"], Hu = {
17809
+ }, qu = { class: "image-message__content" }, Hu = ["src", "alt"], Wu = {
17818
17810
  key: 0,
17819
17811
  class: "image-message__info-container"
17820
- }, Wu = { class: "image-message__time" }, Ku = {
17812
+ }, Ku = { class: "image-message__time" }, Ju = {
17821
17813
  key: 0,
17822
17814
  class: "pi pi-check"
17823
- }, Ju = ["href"], Gu = {
17815
+ }, Gu = ["href"], Zu = {
17824
17816
  key: 1,
17825
17817
  class: "image-message__text-container"
17826
- }, Zu = ["innerHTML"], Xu = ["src", "alt"], ed = /* @__PURE__ */ K({
17818
+ }, Xu = ["innerHTML"], ed = ["src", "alt"], td = /* @__PURE__ */ K({
17827
17819
  __name: "ImageMessage",
17828
17820
  props: {
17829
17821
  message: {
@@ -17876,9 +17868,9 @@ const iu = ["data-theme"], ou = {
17876
17868
  src: e.message.avatar,
17877
17869
  height: "32",
17878
17870
  width: "32"
17879
- }, null, 8, Yu)) : p("", !0),
17880
- e.message.subText ? (l(), u("p", Pu, E(e.message.subText), 1)) : p("", !0),
17881
- o("div", Fu, [
17871
+ }, null, 8, Pu)) : p("", !0),
17872
+ e.message.subText ? (l(), u("p", Fu, E(e.message.subText), 1)) : p("", !0),
17873
+ o("div", qu, [
17882
17874
  e.message.reply ? (l(), B(dt, {
17883
17875
  key: 0,
17884
17876
  style: { margin: "10px 10px 4px 16px" },
@@ -17897,10 +17889,10 @@ const iu = ["data-theme"], ou = {
17897
17889
  style: re({ borderRadius: h.value }),
17898
17890
  src: e.message.url,
17899
17891
  alt: e.message.alt
17900
- }, null, 12, qu),
17892
+ }, null, 12, Hu),
17901
17893
  W(ne, { name: "modal-fade" }, {
17902
17894
  default: Z(() => [
17903
- r.value ? (l(), u("div", Hu, [
17895
+ r.value ? (l(), u("div", Wu, [
17904
17896
  e.message.views ? (l(), u("div", {
17905
17897
  key: 0,
17906
17898
  onClick: Dt(g, ["stop"]),
@@ -17909,12 +17901,12 @@ const iu = ["data-theme"], ou = {
17909
17901
  _[3] || (_[3] = o("span", { class: "pi pi-eye" }, null, -1)),
17910
17902
  o("p", null, E(e.message.views), 1)
17911
17903
  ])) : p("", !0),
17912
- o("span", Wu, E(e.message.time), 1),
17904
+ o("span", Ku, E(e.message.time), 1),
17913
17905
  x(e.message) === "image-message__right" && N(At).includes(e.message.status) ? (l(), u("div", {
17914
17906
  key: 1,
17915
17907
  class: V(["image-message__status", k.value])
17916
17908
  }, [
17917
- e.message.status !== "sent" ? (l(), u("span", Ku)) : p("", !0),
17909
+ e.message.status !== "sent" ? (l(), u("span", Ju)) : p("", !0),
17918
17910
  _[4] || (_[4] = o("span", { class: "pi pi-check" }, null, -1))
17919
17911
  ], 2)) : p("", !0)
17920
17912
  ])) : p("", !0)
@@ -17932,7 +17924,7 @@ const iu = ["data-theme"], ou = {
17932
17924
  target: "_blank"
17933
17925
  }, _[5] || (_[5] = [
17934
17926
  o("span", { class: "pi pi-download" }, null, -1)
17935
- ]), 8, Ju)) : p("", !0)
17927
+ ]), 8, Gu)) : p("", !0)
17936
17928
  ]),
17937
17929
  _: 1
17938
17930
  })
@@ -17960,11 +17952,11 @@ const iu = ["data-theme"], ou = {
17960
17952
  ]),
17961
17953
  _: 1
17962
17954
  }),
17963
- e.message.text ? (l(), u("div", Gu, [
17955
+ e.message.text ? (l(), u("div", Zu, [
17964
17956
  o("p", {
17965
17957
  innerHTML: c.value,
17966
17958
  onClick: d
17967
- }, null, 8, Zu)
17959
+ }, null, 8, Xu)
17968
17960
  ])) : p("", !0),
17969
17961
  e.message.linkPreview ? (l(), B(Lt, {
17970
17962
  key: 2,
@@ -17980,7 +17972,7 @@ const iu = ["data-theme"], ou = {
17980
17972
  (l(), B(ue, { to: "body" }, [
17981
17973
  W(ne, { name: "modal-fade" }, {
17982
17974
  default: Z(() => [
17983
- a.value ? (l(), B(cf, {
17975
+ a.value ? (l(), B(Af, {
17984
17976
  key: 0,
17985
17977
  onClose: y
17986
17978
  }, {
@@ -17989,7 +17981,7 @@ const iu = ["data-theme"], ou = {
17989
17981
  class: "image-message__modal-image",
17990
17982
  src: e.message.url,
17991
17983
  alt: e.message.alt
17992
- }, null, 8, Xu)
17984
+ }, null, 8, ed)
17993
17985
  ]),
17994
17986
  _: 1
17995
17987
  })) : p("", !0)
@@ -17997,18 +17989,18 @@ const iu = ["data-theme"], ou = {
17997
17989
  _: 1
17998
17990
  })
17999
17991
  ]))
18000
- ], 42, $u));
17992
+ ], 42, Yu));
18001
17993
  }
18002
- }), td = /* @__PURE__ */ R(ed, [["__scopeId", "data-v-2947914e"]]), nd = ["messageId"], fd = ["src"], ad = {
17994
+ }), nd = /* @__PURE__ */ R(td, [["__scopeId", "data-v-2947914e"]]), fd = ["messageId"], ad = ["src"], sd = {
18003
17995
  key: 1,
18004
17996
  class: "text-message__subtext"
18005
- }, sd = ["innerHTML"], id = { class: "text-message__info-container" }, od = {
17997
+ }, id = ["innerHTML"], od = { class: "text-message__info-container" }, ld = {
18006
17998
  key: 1,
18007
17999
  class: "text-message__time"
18008
- }, ld = {
18000
+ }, rd = {
18009
18001
  key: 0,
18010
18002
  class: "pi pi-check"
18011
- }, rd = /* @__PURE__ */ K({
18003
+ }, Ad = /* @__PURE__ */ K({
18012
18004
  __name: "TextMessage",
18013
18005
  props: {
18014
18006
  message: {
@@ -18056,8 +18048,8 @@ const iu = ["data-theme"], ou = {
18056
18048
  height: "32",
18057
18049
  width: "32",
18058
18050
  style: re({ gridRow: e.message.subText ? "2" : "1" })
18059
- }, null, 12, fd)) : p("", !0),
18060
- e.message.subText ? (l(), u("p", ad, E(e.message.subText), 1)) : p("", !0),
18051
+ }, null, 12, ad)) : p("", !0),
18052
+ e.message.subText ? (l(), u("p", sd, E(e.message.subText), 1)) : p("", !0),
18061
18053
  o("div", {
18062
18054
  class: "text-message__content",
18063
18055
  onMouseenter: A
@@ -18072,7 +18064,7 @@ const iu = ["data-theme"], ou = {
18072
18064
  innerHTML: i.value,
18073
18065
  class: "text-message__text",
18074
18066
  onClick: c
18075
- }, null, 8, sd),
18067
+ }, null, 8, id),
18076
18068
  e.message.linkPreview ? (l(), B(Lt, {
18077
18069
  key: 1,
18078
18070
  class: V(e.message.position),
@@ -18083,7 +18075,7 @@ const iu = ["data-theme"], ou = {
18083
18075
  class: V(e.message.position),
18084
18076
  embed: e.message.embed
18085
18077
  }, null, 8, ["class", "embed"])) : p("", !0),
18086
- o("div", id, [
18078
+ o("div", od, [
18087
18079
  e.message.views ? (l(), u("div", {
18088
18080
  key: 0,
18089
18081
  class: "text-message__views",
@@ -18092,12 +18084,12 @@ const iu = ["data-theme"], ou = {
18092
18084
  k[1] || (k[1] = o("span", { class: "pi pi-eye" }, null, -1)),
18093
18085
  o("p", null, E(e.message.views), 1)
18094
18086
  ])) : p("", !0),
18095
- e.message.time ? (l(), u("span", od, E(e.message.time), 1)) : p("", !0),
18087
+ e.message.time ? (l(), u("span", ld, E(e.message.time), 1)) : p("", !0),
18096
18088
  I(e.message) === "text-message__right" && N(At).includes(e.message.status) ? (l(), u("div", {
18097
18089
  key: 2,
18098
18090
  class: V(["text-message__status", g.value])
18099
18091
  }, [
18100
- e.message.status !== "sent" ? (l(), u("span", ld)) : p("", !0),
18092
+ e.message.status !== "sent" ? (l(), u("span", rd)) : p("", !0),
18101
18093
  k[2] || (k[2] = o("span", { class: "pi pi-check" }, null, -1))
18102
18094
  ], 2)) : p("", !0)
18103
18095
  ]),
@@ -18120,21 +18112,21 @@ const iu = ["data-theme"], ou = {
18120
18112
  _: 1
18121
18113
  })
18122
18114
  ], 32)
18123
- ], 42, nd));
18115
+ ], 42, fd));
18124
18116
  }
18125
- }), Ad = /* @__PURE__ */ R(rd, [["__scopeId", "data-v-35e59fef"]]), cd = ["messageId"], ud = ["src"], dd = {
18117
+ }), cd = /* @__PURE__ */ R(Ad, [["__scopeId", "data-v-35e59fef"]]), ud = ["messageId"], dd = ["src"], gd = {
18126
18118
  key: 1,
18127
18119
  class: "audio-message__subtext"
18128
- }, gd = { class: "audio-message__audio-container" }, md = ["src"], pd = ["max"], hd = { class: "audio-message__player-controls" }, vd = { class: "audio-message__remaining-time" }, yd = { class: "audio-message__speed-btn-container" }, bd = ["onClick"], Md = ["href"], _d = {
18120
+ }, md = { class: "audio-message__audio-container" }, pd = ["src"], hd = ["max"], vd = { class: "audio-message__player-controls" }, yd = { class: "audio-message__remaining-time" }, bd = { class: "audio-message__speed-btn-container" }, Md = ["onClick"], _d = ["href"], Id = {
18129
18121
  key: 1,
18130
18122
  class: "audio-message__transcript-container"
18131
- }, Id = {
18123
+ }, wd = {
18132
18124
  key: 2,
18133
18125
  class: "audio-message__text-container"
18134
- }, wd = ["innerHTML"], kd = { class: "audio-message__info-container" }, Nd = { class: "audio-message__time" }, Dd = {
18126
+ }, kd = ["innerHTML"], Nd = { class: "audio-message__info-container" }, Dd = { class: "audio-message__time" }, Ed = {
18135
18127
  key: 0,
18136
18128
  class: "pi pi-check"
18137
- }, Ed = ["data-theme"], Td = { class: "audio-message__modal" }, jd = { style: { "word-wrap": "break-word", "max-width": "25rem" } }, xd = /* @__PURE__ */ K({
18129
+ }, Td = ["data-theme"], jd = { class: "audio-message__modal" }, xd = { style: { "word-wrap": "break-word", "max-width": "25rem" } }, Vd = /* @__PURE__ */ K({
18138
18130
  __name: "AudioMessage",
18139
18131
  props: {
18140
18132
  message: {
@@ -18224,8 +18216,8 @@ const iu = ["data-theme"], ou = {
18224
18216
  height: "32",
18225
18217
  width: "32",
18226
18218
  style: re({ gridRow: e.message.subText ? "2" : "1" })
18227
- }, null, 12, ud)) : p("", !0),
18228
- e.message.subText ? (l(), u("p", dd, E(e.message.subText), 1)) : p("", !0),
18219
+ }, null, 12, dd)) : p("", !0),
18220
+ e.message.subText ? (l(), u("p", gd, E(e.message.subText), 1)) : p("", !0),
18229
18221
  o("div", {
18230
18222
  class: "audio-message__content",
18231
18223
  onMouseenter: y
@@ -18237,13 +18229,13 @@ const iu = ["data-theme"], ou = {
18237
18229
  class: V(e.message.position),
18238
18230
  onReply: k
18239
18231
  }, null, 8, ["message", "class"])) : p("", !0),
18240
- o("div", gd, [
18232
+ o("div", md, [
18241
18233
  o("audio", {
18242
18234
  ref_key: "player",
18243
18235
  ref: c,
18244
18236
  src: e.message.url,
18245
18237
  type: "audio/webm"
18246
- }, null, 8, md),
18238
+ }, null, 8, pd),
18247
18239
  ce(o("button", {
18248
18240
  class: "audio-message__play",
18249
18241
  onClick: T
@@ -18267,16 +18259,16 @@ const iu = ["data-theme"], ou = {
18267
18259
  max: d.value,
18268
18260
  step: "0.1",
18269
18261
  "onUpdate:modelValue": O[0] || (O[0] = (L) => g.value = L)
18270
- }, null, 8, pd), [
18262
+ }, null, 8, hd), [
18271
18263
  [lt, g.value]
18272
18264
  ]),
18273
- o("div", hd, [
18274
- o("p", vd, E(`${P.value} / ${Q.value}`), 1),
18275
- o("div", yd, [
18265
+ o("div", vd, [
18266
+ o("p", yd, E(`${P.value} / ${Q.value}`), 1),
18267
+ o("div", bd, [
18276
18268
  (l(!0), u(H, null, ae(s.value, (L, U) => (l(), u("p", {
18277
18269
  onClick: (J) => i(U),
18278
18270
  class: V(["audio-message__speed-btn", { "audio-message__speed-btn-selected": L.selected }])
18279
- }, E(L.text), 11, bd))), 256))
18271
+ }, E(L.text), 11, Md))), 256))
18280
18272
  ])
18281
18273
  ]),
18282
18274
  o("a", {
@@ -18287,18 +18279,18 @@ const iu = ["data-theme"], ou = {
18287
18279
  target: "_blank"
18288
18280
  }, O[6] || (O[6] = [
18289
18281
  o("span", { class: "pi pi-download" }, null, -1)
18290
- ]), 8, Md)
18282
+ ]), 8, _d)
18291
18283
  ]),
18292
- (X = e.message.transcript) != null && X.text ? (l(), u("div", _d, [
18284
+ (X = e.message.transcript) != null && X.text ? (l(), u("div", Id, [
18293
18285
  o("p", {
18294
18286
  onClick: O[1] || (O[1] = (L) => I.value = !I.value)
18295
18287
  }, E(e.message.transcript.text), 1)
18296
18288
  ])) : p("", !0),
18297
- e.message.text ? (l(), u("div", Id, [
18289
+ e.message.text ? (l(), u("div", wd, [
18298
18290
  o("p", {
18299
18291
  innerHTML: h.value,
18300
18292
  onClick: x
18301
- }, null, 8, wd)
18293
+ }, null, 8, kd)
18302
18294
  ])) : p("", !0),
18303
18295
  e.message.linkPreview ? (l(), B(Lt, {
18304
18296
  key: 3,
@@ -18310,7 +18302,7 @@ const iu = ["data-theme"], ou = {
18310
18302
  class: V(e.message.position),
18311
18303
  embed: e.message.embed
18312
18304
  }, null, 8, ["class", "embed"])) : p("", !0),
18313
- o("div", kd, [
18305
+ o("div", Nd, [
18314
18306
  e.message.views ? (l(), u("div", {
18315
18307
  key: 0,
18316
18308
  onClick: w,
@@ -18319,12 +18311,12 @@ const iu = ["data-theme"], ou = {
18319
18311
  O[7] || (O[7] = o("span", { class: "pi pi-eye" }, null, -1)),
18320
18312
  o("p", null, E(e.message.views), 1)
18321
18313
  ])) : p("", !0),
18322
- o("span", Nd, E(e.message.time), 1),
18314
+ o("span", Dd, E(e.message.time), 1),
18323
18315
  Y(e.message) === "audio-message__right" && N(At).includes(e.message.status) ? (l(), u("div", {
18324
18316
  key: 1,
18325
18317
  class: V(["audio-message__status", j.value])
18326
18318
  }, [
18327
- e.message.status !== "sent" ? (l(), u("span", Dd)) : p("", !0),
18319
+ e.message.status !== "sent" ? (l(), u("span", Ed)) : p("", !0),
18328
18320
  O[8] || (O[8] = o("span", { class: "pi pi-check" }, null, -1))
18329
18321
  ], 2)) : p("", !0)
18330
18322
  ]),
@@ -18356,7 +18348,7 @@ const iu = ["data-theme"], ou = {
18356
18348
  class: "audio-message__modal-overlay",
18357
18349
  "data-theme": N(f)().theme ? N(f)().theme : null
18358
18350
  }, [
18359
- o("div", Td, [
18351
+ o("div", jd, [
18360
18352
  o("button", {
18361
18353
  class: "audio-message__modal-close-button",
18362
18354
  onClick: O[3] || (O[3] = (U) => I.value = !1)
@@ -18365,19 +18357,19 @@ const iu = ["data-theme"], ou = {
18365
18357
  o("i", { class: "pi pi-times" })
18366
18358
  ], -1)
18367
18359
  ])),
18368
- o("p", jd, E((L = e.message.transcript) == null ? void 0 : L.text), 1)
18360
+ o("p", xd, E((L = e.message.transcript) == null ? void 0 : L.text), 1)
18369
18361
  ])
18370
- ], 8, Ed)) : p("", !0)
18362
+ ], 8, Td)) : p("", !0)
18371
18363
  ];
18372
18364
  }),
18373
18365
  _: 1
18374
18366
  })
18375
18367
  ]))
18376
18368
  ], 32)
18377
- ], 42, cd);
18369
+ ], 42, ud);
18378
18370
  };
18379
18371
  }
18380
- }), Vd = /* @__PURE__ */ R(xd, [["__scopeId", "data-v-6cd5cc12"]]), Sd = { class: "date-message__container" }, Cd = { class: "date-message__text" }, Od = /* @__PURE__ */ K({
18372
+ }), Sd = /* @__PURE__ */ R(Vd, [["__scopeId", "data-v-6cd5cc12"]]), Cd = { class: "date-message__container" }, Od = { class: "date-message__text" }, zd = /* @__PURE__ */ K({
18381
18373
  __name: "DateMessage",
18382
18374
  props: {
18383
18375
  message: {
@@ -18388,23 +18380,23 @@ const iu = ["data-theme"], ou = {
18388
18380
  }
18389
18381
  },
18390
18382
  setup(e) {
18391
- return (t, n) => (l(), u("div", Sd, [
18392
- o("p", Cd, E(e.message.text), 1)
18383
+ return (t, n) => (l(), u("div", Cd, [
18384
+ o("p", Od, E(e.message.text), 1)
18393
18385
  ]));
18394
18386
  }
18395
- }), zd = /* @__PURE__ */ R(Od, [["__scopeId", "data-v-6afeb67d"]]), Ld = ["messageId"], Ud = ["src"], Bd = {
18387
+ }), Ld = /* @__PURE__ */ R(zd, [["__scopeId", "data-v-6afeb67d"]]), Ud = ["messageId"], Bd = ["src"], Rd = {
18396
18388
  key: 1,
18397
18389
  class: "video-message__subtext"
18398
- }, Rd = { class: "video-message__content" }, Qd = ["src"], $d = {
18390
+ }, Qd = { class: "video-message__content" }, $d = ["src"], Yd = {
18399
18391
  key: 0,
18400
18392
  class: "video-message__info-container"
18401
- }, Yd = { class: "video-message__time" }, Pd = {
18393
+ }, Pd = { class: "video-message__time" }, Fd = {
18402
18394
  key: 0,
18403
18395
  class: "pi pi-check"
18404
- }, Fd = ["href"], qd = {
18396
+ }, qd = ["href"], Hd = {
18405
18397
  key: 1,
18406
18398
  class: "video-message__text-container"
18407
- }, Hd = ["innerHTML"], Wd = ["src", "alt"], Kd = /* @__PURE__ */ K({
18399
+ }, Wd = ["innerHTML"], Kd = ["src", "alt"], Jd = /* @__PURE__ */ K({
18408
18400
  inheritAttrs: !1,
18409
18401
  __name: "VideoMessage",
18410
18402
  props: {
@@ -18464,9 +18456,9 @@ const iu = ["data-theme"], ou = {
18464
18456
  src: e.message.avatar,
18465
18457
  height: "32",
18466
18458
  width: "32"
18467
- }, null, 8, Ud)) : p("", !0),
18468
- e.message.subText ? (l(), u("p", Bd, E(e.message.subText), 1)) : p("", !0),
18469
- o("div", Rd, [
18459
+ }, null, 8, Bd)) : p("", !0),
18460
+ e.message.subText ? (l(), u("p", Rd, E(e.message.subText), 1)) : p("", !0),
18461
+ o("div", Qd, [
18470
18462
  e.message.reply ? (l(), B(dt, {
18471
18463
  key: 0,
18472
18464
  style: { margin: "10px 10px 4px 16px" },
@@ -18489,10 +18481,10 @@ const iu = ["data-theme"], ou = {
18489
18481
  src: e.message.url,
18490
18482
  muted: !0,
18491
18483
  autoplay: ""
18492
- }, null, 44, Qd),
18484
+ }, null, 44, $d),
18493
18485
  W(ne, { name: "modal-fade" }, {
18494
18486
  default: Z(() => [
18495
- g.value ? (l(), u("div", $d, [
18487
+ g.value ? (l(), u("div", Yd, [
18496
18488
  e.message.views ? (l(), u("div", {
18497
18489
  key: 0,
18498
18490
  onClick: Dt(I, ["stop"]),
@@ -18501,12 +18493,12 @@ const iu = ["data-theme"], ou = {
18501
18493
  z[3] || (z[3] = o("span", { class: "pi pi-eye" }, null, -1)),
18502
18494
  o("p", null, E(e.message.views), 1)
18503
18495
  ])) : p("", !0),
18504
- o("span", Yd, E(e.message.time), 1),
18496
+ o("span", Pd, E(e.message.time), 1),
18505
18497
  s(e.message) === "video-message__right" && N(At).includes(e.message.status) ? (l(), u("div", {
18506
18498
  key: 1,
18507
18499
  class: V(["video-message__status", y.value])
18508
18500
  }, [
18509
- e.message.status !== "sent" ? (l(), u("span", Pd)) : p("", !0),
18501
+ e.message.status !== "sent" ? (l(), u("span", Fd)) : p("", !0),
18510
18502
  z[4] || (z[4] = o("span", { class: "pi pi-check" }, null, -1))
18511
18503
  ], 2)) : p("", !0)
18512
18504
  ])) : p("", !0)
@@ -18524,7 +18516,7 @@ const iu = ["data-theme"], ou = {
18524
18516
  target: "_blank"
18525
18517
  }, z[5] || (z[5] = [
18526
18518
  o("span", { class: "pi pi-download" }, null, -1)
18527
- ]), 8, Fd)) : p("", !0)
18519
+ ]), 8, qd)) : p("", !0)
18528
18520
  ]),
18529
18521
  _: 1
18530
18522
  })
@@ -18552,11 +18544,11 @@ const iu = ["data-theme"], ou = {
18552
18544
  ]),
18553
18545
  _: 1
18554
18546
  }),
18555
- e.message.text ? (l(), u("div", qd, [
18547
+ e.message.text ? (l(), u("div", Hd, [
18556
18548
  o("p", {
18557
18549
  innerHTML: m.value,
18558
18550
  onClick: b
18559
- }, null, 8, Hd)
18551
+ }, null, 8, Wd)
18560
18552
  ])) : p("", !0),
18561
18553
  e.message.linkPreview ? (l(), B(Lt, {
18562
18554
  key: 2,
@@ -18569,11 +18561,11 @@ const iu = ["data-theme"], ou = {
18569
18561
  embed: e.message.embed
18570
18562
  }, null, 8, ["class", "embed"])) : p("", !0)
18571
18563
  ])
18572
- ], 42, Ld),
18564
+ ], 42, Ud),
18573
18565
  (l(), B(ue, { to: "body" }, [
18574
18566
  W(ne, { name: "modal-fade" }, {
18575
18567
  default: Z(() => [
18576
- c.value ? (l(), B(cf, {
18568
+ c.value ? (l(), B(Af, {
18577
18569
  key: 0,
18578
18570
  onClose: _
18579
18571
  }, {
@@ -18586,7 +18578,7 @@ const iu = ["data-theme"], ou = {
18586
18578
  alt: e.message.alt,
18587
18579
  controls: "",
18588
18580
  autoplay: ""
18589
- }, null, 8, Wd)
18581
+ }, null, 8, Kd)
18590
18582
  ]),
18591
18583
  _: 1
18592
18584
  })) : p("", !0)
@@ -18596,25 +18588,25 @@ const iu = ["data-theme"], ou = {
18596
18588
  ]))
18597
18589
  ], 64));
18598
18590
  }
18599
- }), Jd = /* @__PURE__ */ R(Kd, [["__scopeId", "data-v-dbba39f1"]]), Gd = ["messageId"], Zd = ["src"], Xd = {
18591
+ }), Gd = /* @__PURE__ */ R(Jd, [["__scopeId", "data-v-dbba39f1"]]), Zd = ["messageId"], Xd = ["src"], e1 = {
18600
18592
  key: 1,
18601
18593
  class: "call-message__subtext"
18602
- }, e1 = { class: "call-message__content" }, t1 = {
18594
+ }, t1 = { class: "call-message__content" }, n1 = {
18603
18595
  key: 0,
18604
18596
  class: "call-message__title"
18605
- }, n1 = {
18597
+ }, f1 = {
18606
18598
  key: 1,
18607
18599
  class: "call-message__title"
18608
- }, f1 = {
18600
+ }, a1 = {
18609
18601
  key: 2,
18610
18602
  class: "call-message__duration"
18611
- }, a1 = {
18603
+ }, s1 = {
18612
18604
  key: 3,
18613
18605
  class: "call-message__duration"
18614
- }, s1 = {
18606
+ }, i1 = {
18615
18607
  key: 4,
18616
18608
  class: "call-message__duration"
18617
- }, i1 = { class: "call-message__info-container" }, o1 = { class: "call-message__time" }, l1 = ["data-theme"], r1 = { class: "call-message__modal" }, A1 = /* @__PURE__ */ K({
18609
+ }, o1 = { class: "call-message__info-container" }, l1 = { class: "call-message__time" }, r1 = ["data-theme"], A1 = { class: "call-message__modal" }, c1 = /* @__PURE__ */ K({
18618
18610
  __name: "CallMessage",
18619
18611
  props: {
18620
18612
  message: {
@@ -18651,16 +18643,16 @@ const iu = ["data-theme"], ou = {
18651
18643
  height: "32",
18652
18644
  width: "32",
18653
18645
  style: re({ gridRow: e.message.subText ? "2" : "1" })
18654
- }, null, 12, Zd)) : p("", !0),
18655
- e.message.subText ? (l(), u("p", Xd, E(e.message.subText), 1)) : p("", !0),
18656
- o("div", e1, [
18646
+ }, null, 12, Xd)) : p("", !0),
18647
+ e.message.subText ? (l(), u("p", e1, E(e.message.subText), 1)) : p("", !0),
18648
+ o("div", t1, [
18657
18649
  o("span", {
18658
18650
  class: V(["call-message__icon pi pi-phone", { "call-message__icon-missed": e.message.isMissedCall }])
18659
18651
  }, null, 2),
18660
- e.message.isMissedCall ? (l(), u("span", n1, "Пропущенный аудиозвонок")) : (l(), u("span", t1, "Аудиозвонок")),
18661
- e.message.callDuration ? (l(), u("span", f1, E(e.message.callDuration), 1)) : !e.message.callDuration && e.message.isMissedCall ? (l(), u("span", a1, "Нажмите, чтобы перезвонить")) : (l(), u("span", s1, "Нет ответа")),
18662
- o("div", i1, [
18663
- o("span", o1, E(e.message.time), 1)
18652
+ e.message.isMissedCall ? (l(), u("span", f1, "Пропущенный аудиозвонок")) : (l(), u("span", n1, "Аудиозвонок")),
18653
+ e.message.callDuration ? (l(), u("span", a1, E(e.message.callDuration), 1)) : !e.message.callDuration && e.message.isMissedCall ? (l(), u("span", s1, "Нажмите, чтобы перезвонить")) : (l(), u("span", i1, "Нет ответа")),
18654
+ o("div", o1, [
18655
+ o("span", l1, E(e.message.time), 1)
18664
18656
  ]),
18665
18657
  (c = e.message.transcript) != null && c.dialog ? (l(), u("button", {
18666
18658
  key: 5,
@@ -18679,7 +18671,7 @@ const iu = ["data-theme"], ou = {
18679
18671
  class: "call-message__modal-overlay",
18680
18672
  "data-theme": N(n)().theme ? N(n)().theme : null
18681
18673
  }, [
18682
- o("div", r1, [
18674
+ o("div", A1, [
18683
18675
  o("button", {
18684
18676
  class: "call-message__modal-close-button",
18685
18677
  onClick: r[1] || (r[1] = (d) => f.value = !1)
@@ -18695,17 +18687,17 @@ const iu = ["data-theme"], ou = {
18695
18687
  o("span", null, E(d.time), 1)
18696
18688
  ], 2))), 256))
18697
18689
  ])
18698
- ], 8, l1)) : p("", !0)
18690
+ ], 8, r1)) : p("", !0)
18699
18691
  ];
18700
18692
  }),
18701
18693
  _: 1
18702
18694
  })
18703
18695
  ]))
18704
18696
  ])
18705
- ], 10, Gd);
18697
+ ], 10, Zd);
18706
18698
  };
18707
18699
  }
18708
- }), c1 = /* @__PURE__ */ R(A1, [["__scopeId", "data-v-00d89461"]]), u1 = { class: "system-message__container" }, d1 = { class: "system-message__text" }, g1 = /* @__PURE__ */ K({
18700
+ }), u1 = /* @__PURE__ */ R(c1, [["__scopeId", "data-v-00d89461"]]), d1 = { class: "system-message__container" }, g1 = { class: "system-message__text" }, m1 = /* @__PURE__ */ K({
18709
18701
  __name: "SystemMessage",
18710
18702
  props: {
18711
18703
  message: {
@@ -18714,14 +18706,14 @@ const iu = ["data-theme"], ou = {
18714
18706
  }
18715
18707
  },
18716
18708
  setup(e) {
18717
- return (t, n) => (l(), u("div", u1, [
18718
- o("p", d1, E(e.message.text), 1)
18709
+ return (t, n) => (l(), u("div", d1, [
18710
+ o("p", g1, E(e.message.text), 1)
18719
18711
  ]));
18720
18712
  }
18721
- }), m1 = /* @__PURE__ */ R(g1, [["__scopeId", "data-v-73169725"]]), p1 = { class: "typing-message__container" }, h1 = ["src"], v1 = {
18713
+ }), p1 = /* @__PURE__ */ R(m1, [["__scopeId", "data-v-73169725"]]), h1 = { class: "typing-message__container" }, v1 = ["src"], y1 = {
18722
18714
  key: 1,
18723
18715
  class: "typing-message__subtext"
18724
- }, y1 = /* @__PURE__ */ K({
18716
+ }, b1 = /* @__PURE__ */ K({
18725
18717
  __name: "TypingMessage",
18726
18718
  props: {
18727
18719
  message: {
@@ -18730,7 +18722,7 @@ const iu = ["data-theme"], ou = {
18730
18722
  }
18731
18723
  },
18732
18724
  setup(e) {
18733
- return (t, n) => (l(), u("div", p1, [
18725
+ return (t, n) => (l(), u("div", h1, [
18734
18726
  e.message.avatar ? (l(), u("img", {
18735
18727
  key: 0,
18736
18728
  class: "typing-message__avatar",
@@ -18738,14 +18730,14 @@ const iu = ["data-theme"], ou = {
18738
18730
  height: "32",
18739
18731
  width: "32",
18740
18732
  style: re({ gridRow: e.message.subText ? "2" : "1" })
18741
- }, null, 12, h1)) : p("", !0),
18742
- e.message.subText ? (l(), u("p", v1, E(e.message.subText), 1)) : p("", !0),
18733
+ }, null, 12, v1)) : p("", !0),
18734
+ e.message.subText ? (l(), u("p", y1, E(e.message.subText), 1)) : p("", !0),
18743
18735
  n[0] || (n[0] = o("div", { class: "typing-message__loader-container" }, [
18744
18736
  o("div", { class: "typing-message__loader" })
18745
18737
  ], -1))
18746
18738
  ]));
18747
18739
  }
18748
- }), ea = /* @__PURE__ */ R(y1, [["__scopeId", "data-v-4e68a780"]]), b1 = ["innerHTML"], M1 = /* @__PURE__ */ K({
18740
+ }), Xf = /* @__PURE__ */ R(b1, [["__scopeId", "data-v-4e68a780"]]), M1 = ["innerHTML"], _1 = /* @__PURE__ */ K({
18749
18741
  __name: "ReplyTextMessage",
18750
18742
  props: {
18751
18743
  message: {
@@ -18768,9 +18760,9 @@ const iu = ["data-theme"], ou = {
18768
18760
  return (a, s) => (l(), u("p", {
18769
18761
  innerHTML: n.value,
18770
18762
  onClick: f
18771
- }, null, 8, b1));
18763
+ }, null, 8, M1));
18772
18764
  }
18773
- }), _1 = /* @__PURE__ */ R(M1, [["__scopeId", "data-v-acd293ad"]]), I1 = ["src", "alt"], w1 = { class: "image-message__text-container" }, k1 = ["innerHTML"], N1 = { class: "image-message__modal" }, D1 = ["src", "alt"], E1 = /* @__PURE__ */ K({
18765
+ }), I1 = /* @__PURE__ */ R(_1, [["__scopeId", "data-v-acd293ad"]]), w1 = ["src", "alt"], k1 = { class: "image-message__text-container" }, N1 = ["innerHTML"], D1 = { class: "image-message__modal" }, E1 = ["src", "alt"], T1 = /* @__PURE__ */ K({
18774
18766
  __name: "ReplyImageMessage",
18775
18767
  props: {
18776
18768
  message: {
@@ -18808,9 +18800,9 @@ const iu = ["data-theme"], ou = {
18808
18800
  class: "image-message__preview-image",
18809
18801
  src: e.message.url,
18810
18802
  alt: e.message.alt
18811
- }, null, 8, I1)
18803
+ }, null, 8, w1)
18812
18804
  ]),
18813
- o("div", w1, [
18805
+ o("div", k1, [
18814
18806
  A[1] || (A[1] = o("div", { class: "image-message__reply-description" }, [
18815
18807
  o("span", { class: "pi pi-camera" }),
18816
18808
  o("p", null, "Фотография")
@@ -18819,7 +18811,7 @@ const iu = ["data-theme"], ou = {
18819
18811
  key: 0,
18820
18812
  innerHTML: f.value,
18821
18813
  onClick: a
18822
- }, null, 8, k1)) : p("", !0)
18814
+ }, null, 8, N1)) : p("", !0)
18823
18815
  ]),
18824
18816
  (l(), B(ue, { to: "body" }, [
18825
18817
  W(ne, { name: "modal-fade" }, {
@@ -18829,7 +18821,7 @@ const iu = ["data-theme"], ou = {
18829
18821
  class: "image-message__modal-overlay",
18830
18822
  onClick: i
18831
18823
  }, [
18832
- o("div", N1, [
18824
+ o("div", D1, [
18833
18825
  o("button", {
18834
18826
  class: "image-message__modal-close-button",
18835
18827
  onClick: s
@@ -18842,7 +18834,7 @@ const iu = ["data-theme"], ou = {
18842
18834
  class: "image-message__modal-image",
18843
18835
  src: e.message.url,
18844
18836
  alt: e.message.alt
18845
- }, null, 8, D1)
18837
+ }, null, 8, E1)
18846
18838
  ])
18847
18839
  ])) : p("", !0)
18848
18840
  ]),
@@ -18851,7 +18843,7 @@ const iu = ["data-theme"], ou = {
18851
18843
  ]))
18852
18844
  ], 64));
18853
18845
  }
18854
- }), T1 = /* @__PURE__ */ R(E1, [["__scopeId", "data-v-f1c764c5"]]), j1 = { class: "audio-message__play" }, x1 = { class: "audio-message__text-container" }, V1 = ["innerHTML"], S1 = /* @__PURE__ */ K({
18846
+ }), j1 = /* @__PURE__ */ R(T1, [["__scopeId", "data-v-f1c764c5"]]), x1 = { class: "audio-message__play" }, V1 = { class: "audio-message__text-container" }, S1 = ["innerHTML"], C1 = /* @__PURE__ */ K({
18855
18847
  __name: "ReplyAudioMessage",
18856
18848
  props: {
18857
18849
  message: {
@@ -18872,12 +18864,12 @@ const iu = ["data-theme"], ou = {
18872
18864
  s.preventDefault(), s.target.href && window.open(s.target.href, "_blank");
18873
18865
  }
18874
18866
  return (s, i) => (l(), u(H, null, [
18875
- ce(o("div", j1, i[0] || (i[0] = [
18867
+ ce(o("div", x1, i[0] || (i[0] = [
18876
18868
  o("span", { class: "pi pi-play" }, null, -1)
18877
18869
  ]), 512), [
18878
18870
  [Ke, !n.value]
18879
18871
  ]),
18880
- o("div", x1, [
18872
+ o("div", V1, [
18881
18873
  i[1] || (i[1] = o("div", { class: "audio-message__reply-description" }, [
18882
18874
  o("span", { class: "pi pi-microphone" }),
18883
18875
  o("p", null, "Аудиосообщение")
@@ -18886,11 +18878,11 @@ const iu = ["data-theme"], ou = {
18886
18878
  key: 0,
18887
18879
  innerHTML: f.value,
18888
18880
  onClick: a
18889
- }, null, 8, V1)) : p("", !0)
18881
+ }, null, 8, S1)) : p("", !0)
18890
18882
  ])
18891
18883
  ], 64));
18892
18884
  }
18893
- }), C1 = /* @__PURE__ */ R(S1, [["__scopeId", "data-v-ad0f4702"]]), O1 = ["src"], z1 = { class: "video-message__text-container" }, L1 = ["innerHTML"], U1 = { class: "video-message__modal" }, B1 = ["src", "alt"], R1 = /* @__PURE__ */ K({
18885
+ }), O1 = /* @__PURE__ */ R(C1, [["__scopeId", "data-v-ad0f4702"]]), z1 = ["src"], L1 = { class: "video-message__text-container" }, U1 = ["innerHTML"], B1 = { class: "video-message__modal" }, R1 = ["src", "alt"], Q1 = /* @__PURE__ */ K({
18894
18886
  __name: "ReplyVideoMessage",
18895
18887
  props: {
18896
18888
  message: {
@@ -18928,9 +18920,9 @@ const iu = ["data-theme"], ou = {
18928
18920
  class: "video-message__video",
18929
18921
  src: e.message.url,
18930
18922
  muted: !0
18931
- }, null, 8, O1)
18923
+ }, null, 8, z1)
18932
18924
  ]),
18933
- o("div", z1, [
18925
+ o("div", L1, [
18934
18926
  d[1] || (d[1] = o("div", { class: "video-message__reply-description" }, [
18935
18927
  o("span", { class: "pi pi-video" }),
18936
18928
  o("p", null, "Видео")
@@ -18939,7 +18931,7 @@ const iu = ["data-theme"], ou = {
18939
18931
  key: 0,
18940
18932
  innerHTML: a.value,
18941
18933
  onClick: s
18942
- }, null, 8, L1)) : p("", !0)
18934
+ }, null, 8, U1)) : p("", !0)
18943
18935
  ]),
18944
18936
  (l(), B(ue, { to: "body" }, [
18945
18937
  W(ne, { name: "modal-fade" }, {
@@ -18949,7 +18941,7 @@ const iu = ["data-theme"], ou = {
18949
18941
  class: "video-message__modal-overlay",
18950
18942
  onClick: r
18951
18943
  }, [
18952
- o("div", U1, [
18944
+ o("div", B1, [
18953
18945
  o("button", {
18954
18946
  class: "video-message__modal-close-button",
18955
18947
  onClick: i
@@ -18966,7 +18958,7 @@ const iu = ["data-theme"], ou = {
18966
18958
  alt: e.message.alt,
18967
18959
  controls: "",
18968
18960
  autoplay: ""
18969
- }, null, 8, B1)
18961
+ }, null, 8, R1)
18970
18962
  ])
18971
18963
  ])) : p("", !0)
18972
18964
  ]),
@@ -18975,10 +18967,10 @@ const iu = ["data-theme"], ou = {
18975
18967
  ]))
18976
18968
  ], 64));
18977
18969
  }
18978
- }), Q1 = /* @__PURE__ */ R(R1, [["__scopeId", "data-v-426899ac"]]), $1 = ["href"], Y1 = { class: "file-message__filename-text" }, P1 = {
18970
+ }), $1 = /* @__PURE__ */ R(Q1, [["__scopeId", "data-v-426899ac"]]), Y1 = ["href"], P1 = { class: "file-message__filename-text" }, F1 = {
18979
18971
  key: 0,
18980
18972
  class: "file-message__text"
18981
- }, F1 = /* @__PURE__ */ K({
18973
+ }, q1 = /* @__PURE__ */ K({
18982
18974
  __name: "ReplyFileMessage",
18983
18975
  props: {
18984
18976
  message: {
@@ -19004,13 +18996,13 @@ const iu = ["data-theme"], ou = {
19004
18996
  target: "_blank"
19005
18997
  }, [
19006
18998
  a[0] || (a[0] = o("span", { class: "pi pi-file" }, null, -1)),
19007
- o("p", Y1, E(e.message.filename), 1)
19008
- ], 8, $1),
19009
- (s = e.message) != null && s.text ? (l(), u("p", P1, E(e.message.text), 1)) : p("", !0)
18999
+ o("p", P1, E(e.message.filename), 1)
19000
+ ], 8, Y1),
19001
+ (s = e.message) != null && s.text ? (l(), u("p", F1, E(e.message.text), 1)) : p("", !0)
19010
19002
  ], 64);
19011
19003
  };
19012
19004
  }
19013
- }), q1 = /* @__PURE__ */ R(F1, [["__scopeId", "data-v-8ffcd733"]]), H1 = ["id"], W1 = ["id"], Xg = {
19005
+ }), H1 = /* @__PURE__ */ R(q1, [["__scopeId", "data-v-8ffcd733"]]), W1 = ["id"], K1 = ["id"], e0 = {
19014
19006
  __name: "BaseContainer",
19015
19007
  props: {
19016
19008
  height: String,
@@ -19032,12 +19024,12 @@ const iu = ["data-theme"], ou = {
19032
19024
  o("div", {
19033
19025
  class: "base__float-windows",
19034
19026
  id: "float-windows-" + N(n)
19035
- }, null, 8, W1)
19027
+ }, null, 8, K1)
19036
19028
  ]))
19037
19029
  ], 4)
19038
- ], 8, H1));
19030
+ ], 8, W1));
19039
19031
  }
19040
- }, K1 = ["id"], J1 = { class: "float-window__container" }, G1 = ["src", "alt"], Z1 = { class: "float-window__title" }, X1 = { style: { "margin-left": "auto", display: "flex" } }, eg = ["id"], tg = {
19032
+ }, J1 = ["id"], G1 = { class: "float-window__container" }, Z1 = ["src", "alt"], X1 = { class: "float-window__title" }, eg = { style: { "margin-left": "auto", display: "flex" } }, tg = ["id"], ng = {
19041
19033
  __name: "FloatContainer",
19042
19034
  props: {
19043
19035
  title: {
@@ -19094,7 +19086,7 @@ const iu = ["data-theme"], ou = {
19094
19086
  display: "flex"
19095
19087
  })
19096
19088
  }, [
19097
- o("div", J1, [
19089
+ o("div", G1, [
19098
19090
  o("div", {
19099
19091
  ref_key: "container",
19100
19092
  ref: s,
@@ -19108,9 +19100,9 @@ const iu = ["data-theme"], ou = {
19108
19100
  class: "float-window__avatar",
19109
19101
  src: n.avatar,
19110
19102
  alt: n.title
19111
- }, null, 8, G1)) : p("", !0),
19112
- o("p", Z1, E(n.title), 1),
19113
- o("div", X1, [
19103
+ }, null, 8, Z1)) : p("", !0),
19104
+ o("p", X1, E(n.title), 1),
19105
+ o("div", eg, [
19114
19106
  fe(I.$slots, "controls", {}, void 0, !0),
19115
19107
  o("button", {
19116
19108
  class: "float-window__close-button",
@@ -19129,55 +19121,55 @@ const iu = ["data-theme"], ou = {
19129
19121
  o("div", {
19130
19122
  class: "float-window__float-windows",
19131
19123
  id: "float-windows-" + N(d)
19132
- }, null, 8, eg)
19124
+ }, null, 8, tg)
19133
19125
  ]))
19134
19126
  ], 4)
19135
19127
  ])
19136
- ], 12, K1));
19128
+ ], 12, J1));
19137
19129
  }
19138
- }, e0 = /* @__PURE__ */ R(tg, [["__scopeId", "data-v-579f6f42"]]), ng = {}, fg = { class: "base-layout__container" }, ag = { class: "base-layout__first-col" }, sg = { class: "base-layout__second-col" };
19139
- function ig(e, t) {
19140
- return l(), u("div", fg, [
19141
- o("div", ag, [
19130
+ }, t0 = /* @__PURE__ */ R(ng, [["__scopeId", "data-v-579f6f42"]]), fg = {}, ag = { class: "base-layout__container" }, sg = { class: "base-layout__first-col" }, ig = { class: "base-layout__second-col" };
19131
+ function og(e, t) {
19132
+ return l(), u("div", ag, [
19133
+ o("div", sg, [
19142
19134
  fe(e.$slots, "first-col", {}, void 0, !0)
19143
19135
  ]),
19144
- o("div", sg, [
19136
+ o("div", ig, [
19145
19137
  fe(e.$slots, "second-col", {}, void 0, !0)
19146
19138
  ])
19147
19139
  ]);
19148
19140
  }
19149
- const t0 = /* @__PURE__ */ R(ng, [["render", ig], ["__scopeId", "data-v-16a71e9b"]]), og = {}, lg = { class: "extend-layout__container" }, rg = { class: "extend-layout__first-col" }, Ag = { class: "extend-layout__second-col" }, cg = { class: "extend-layout__third-col" };
19150
- function ug(e, t) {
19151
- return l(), u("div", lg, [
19152
- o("div", rg, [
19141
+ const n0 = /* @__PURE__ */ R(fg, [["render", og], ["__scopeId", "data-v-16a71e9b"]]), lg = {}, rg = { class: "extend-layout__container" }, Ag = { class: "extend-layout__first-col" }, cg = { class: "extend-layout__second-col" }, ug = { class: "extend-layout__third-col" };
19142
+ function dg(e, t) {
19143
+ return l(), u("div", rg, [
19144
+ o("div", Ag, [
19153
19145
  fe(e.$slots, "first-col", {}, void 0, !0)
19154
19146
  ]),
19155
- o("div", Ag, [
19147
+ o("div", cg, [
19156
19148
  fe(e.$slots, "second-col", {}, void 0, !0)
19157
19149
  ]),
19158
- o("div", cg, [
19150
+ o("div", ug, [
19159
19151
  fe(e.$slots, "third-col", {}, void 0, !0)
19160
19152
  ])
19161
19153
  ]);
19162
19154
  }
19163
- const n0 = /* @__PURE__ */ R(og, [["render", ug], ["__scopeId", "data-v-dee9dcd2"]]), dg = {}, gg = { class: "base-layout__container" }, mg = { class: "base-layout__first-col" };
19164
- function pg(e, t) {
19165
- return l(), u("div", gg, [
19166
- o("div", mg, [
19155
+ const f0 = /* @__PURE__ */ R(lg, [["render", dg], ["__scopeId", "data-v-dee9dcd2"]]), gg = {}, mg = { class: "base-layout__container" }, pg = { class: "base-layout__first-col" };
19156
+ function hg(e, t) {
19157
+ return l(), u("div", mg, [
19158
+ o("div", pg, [
19167
19159
  fe(e.$slots, "default", {}, void 0, !0)
19168
19160
  ])
19169
19161
  ]);
19170
19162
  }
19171
- const f0 = /* @__PURE__ */ R(dg, [["render", pg], ["__scopeId", "data-v-08603b18"]]), hg = ["id"], vg = {
19163
+ const a0 = /* @__PURE__ */ R(gg, [["render", hg], ["__scopeId", "data-v-08603b18"]]), vg = ["id"], yg = {
19172
19164
  key: 0,
19173
19165
  class: "chat-wrapper__selected-chat"
19174
- }, yg = {
19166
+ }, bg = {
19175
19167
  key: 1,
19176
19168
  style: { width: "100%" }
19177
- }, bg = {
19169
+ }, Mg = {
19178
19170
  key: 2,
19179
19171
  class: "chat-wrapper__chat-panel"
19180
- }, Mg = /* @__PURE__ */ K({
19172
+ }, _g = /* @__PURE__ */ K({
19181
19173
  __name: "ChatWrapper",
19182
19174
  props: {
19183
19175
  isOpenChatPanel: {
@@ -19207,17 +19199,17 @@ const f0 = /* @__PURE__ */ R(dg, [["render", pg], ["__scopeId", "data-v-08603b18
19207
19199
  id: "chat-wrapper-" + N(n),
19208
19200
  class: "chat-wrapper"
19209
19201
  }, [
19210
- e.isSelectedChat ? (l(), u("div", vg, [
19202
+ e.isSelectedChat ? (l(), u("div", yg, [
19211
19203
  fe(f.$slots, "default", {}, void 0, !0)
19212
- ])) : (l(), u("div", yg, [
19204
+ ])) : (l(), u("div", bg, [
19213
19205
  o("p", null, E(N(ve)("layout.ChatWrapper.noSelectedChat")), 1)
19214
19206
  ])),
19215
- e.isOpenChatPanel ? (l(), u("div", bg, [
19207
+ e.isOpenChatPanel ? (l(), u("div", Mg, [
19216
19208
  fe(f.$slots, "chatpanel", {}, void 0, !0)
19217
19209
  ])) : p("", !0)
19218
- ], 8, hg));
19210
+ ], 8, vg));
19219
19211
  }
19220
- }), a0 = /* @__PURE__ */ R(Mg, [["__scopeId", "data-v-57ab1ad4"]]), _g = ["id"], Ig = ["id"], wg = ["id"], kg = ["id"], Ng = {
19212
+ }), s0 = /* @__PURE__ */ R(_g, [["__scopeId", "data-v-57ab1ad4"]]), Ig = ["id"], wg = ["id"], kg = ["id"], Ng = ["id"], Dg = {
19221
19213
  __name: "AdaptiveExtendedLayout",
19222
19214
  props: {
19223
19215
  isSecondColVisible: {
@@ -19258,80 +19250,80 @@ const f0 = /* @__PURE__ */ R(dg, [["render", pg], ["__scopeId", "data-v-08603b18
19258
19250
  class: "extend-layout__first-col"
19259
19251
  }, [
19260
19252
  fe(s.$slots, "first-col", {}, void 0, !0)
19261
- ], 8, Ig),
19253
+ ], 8, wg),
19262
19254
  o("div", {
19263
19255
  id: "extend-layout-second-col-" + N(n),
19264
19256
  class: "extend-layout__second-col"
19265
19257
  }, [
19266
19258
  fe(s.$slots, "second-col", {}, void 0, !0)
19267
- ], 8, wg),
19259
+ ], 8, kg),
19268
19260
  o("div", {
19269
19261
  id: "extend-layout-third-col-" + N(n),
19270
19262
  class: "extend-layout__third-col"
19271
19263
  }, [
19272
19264
  fe(s.$slots, "third-col", {}, void 0, !0)
19273
- ], 8, kg)
19274
- ], 8, _g));
19265
+ ], 8, Ng)
19266
+ ], 8, Ig));
19275
19267
  }
19276
- }, s0 = /* @__PURE__ */ R(Ng, [["__scopeId", "data-v-98032f1b"]]);
19268
+ }, i0 = /* @__PURE__ */ R(Dg, [["__scopeId", "data-v-98032f1b"]]);
19277
19269
  export {
19278
- Bg as $,
19279
- Vd as A,
19280
- $g as B,
19281
- c1 as C,
19282
- zd as D,
19283
- Zg as E,
19284
- Qu as F,
19285
- Wg as G,
19286
- Kg as H,
19287
- td as I,
19288
- Jg as J,
19289
- Gg as K,
19270
+ Rg as $,
19271
+ Sd as A,
19272
+ Yg as B,
19273
+ u1 as C,
19274
+ Ld as D,
19275
+ Xg as E,
19276
+ $u as F,
19277
+ Kg as G,
19278
+ Jg as H,
19279
+ nd as I,
19280
+ Gg as J,
19281
+ Zg as K,
19290
19282
  Lt as L,
19291
- gu as M,
19292
- Xg as N,
19293
- e0 as O,
19294
- t0 as P,
19295
- n0 as Q,
19296
- _1 as R,
19297
- m1 as S,
19298
- Ad as T,
19299
- Vg as U,
19300
- Jd as V,
19301
- s0 as W,
19302
- f0 as X,
19303
- a0 as Y,
19304
- Ug as Z,
19283
+ mu as M,
19284
+ e0 as N,
19285
+ t0 as O,
19286
+ n0 as P,
19287
+ f0 as Q,
19288
+ I1 as R,
19289
+ p1 as S,
19290
+ cd as T,
19291
+ Sg as U,
19292
+ Gd as V,
19293
+ i0 as W,
19294
+ a0 as X,
19295
+ s0 as Y,
19296
+ Bg as Z,
19305
19297
  R as _,
19306
- ea as a,
19307
- Rg as a0,
19308
- Qg as a1,
19298
+ Xf as a,
19299
+ Qg as a0,
19300
+ $g as a1,
19309
19301
  ha as a2,
19310
19302
  At as a3,
19311
19303
  ct as a4,
19312
- T1 as b,
19313
- C1 as c,
19314
- Q1 as d,
19315
- q1 as e,
19304
+ j1 as b,
19305
+ O1 as c,
19306
+ $1 as d,
19307
+ H1 as e,
19316
19308
  dt as f,
19317
- Eg as g,
19318
- Tg as h,
19319
- jg as i,
19320
- xg as j,
19321
- Sg as k,
19322
- Cg as l,
19323
- Og as m,
19324
- zg as n,
19325
- Lg as o,
19309
+ Tg as g,
19310
+ jg as h,
19311
+ xg as i,
19312
+ Vg as j,
19313
+ Cg as k,
19314
+ Og as l,
19315
+ zg as m,
19316
+ Lg as n,
19317
+ Ug as o,
19326
19318
  Un as p,
19327
19319
  yo as q,
19328
19320
  kn as r,
19329
19321
  Ko as s,
19330
- Yg as t,
19331
- Pg as u,
19322
+ Pg as t,
19323
+ Fg as u,
19332
19324
  ut as v,
19333
- Fg as w,
19334
- qg as x,
19335
- Rf as y,
19336
- Hg as z
19325
+ qg as w,
19326
+ Hg as x,
19327
+ Bf as y,
19328
+ Wg as z
19337
19329
  };