@mobilon-dev/chotto 0.0.137 → 0.0.139

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 Z, computed as $, createElementBlock as u, createCommentVNode as p, openBlock as l, createElementVNode as o, createTextVNode as Ea, toDisplayString as D, renderSlot as ne, unref as k, ref as b, customRef as Xa, defineComponent as Y, watch as ee, nextTick as Oe, withDirectives as re, withKeys as ea, vModelText as ot, normalizeClass as x, createBlock as L, createVNode as H, Fragment as F, renderList as ie, Transition as se, withCtx as W, useTemplateRef as ef, normalizeStyle as ce, resolveDynamicComponent as tf, Teleport as ve, useId as ta, onMounted as ue, onUnmounted as wn, vShow as De, toRef as Qf, vModelRadio as nf, reactive as af, provide as et, getCurrentInstance as $f, toRaw as ff, onBeforeUnmount as Yf, readonly as Ff, resolveComponent as Ft, h as ja, defineAsyncComponent as Pf, createApp as qf, withModifiers as kt } from "vue";
1
+ import { inject as Z, computed as $, createElementBlock as u, createCommentVNode as p, openBlock as l, createElementVNode as o, createTextVNode as Ea, toDisplayString as D, renderSlot as ne, unref as k, ref as b, customRef as Xa, defineComponent as Y, watch as ee, nextTick as Oe, withDirectives as re, withKeys as ea, vModelText as ot, normalizeClass as x, createBlock as L, createVNode as H, Fragment as F, renderList as ie, Transition as se, withCtx as W, useTemplateRef as ef, normalizeStyle as Ae, resolveDynamicComponent as tf, Teleport as ve, useId as ta, onMounted as ue, onUnmounted as wn, vShow as De, toRef as Qf, vModelRadio as nf, reactive as af, provide as et, getCurrentInstance as $f, toRaw as ff, onBeforeUnmount as Yf, readonly as Ff, resolveComponent as Ft, h as ja, defineAsyncComponent as Pf, createApp as qf, withModifiers as kt } from "vue";
2
2
  const Hf = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", Wf = "ελ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", Yn = "numeric", Fn = "ascii", Pn = "alpha", ht = "asciinumeric", pt = "alphanumeric", qn = "domain", sf = "emoji", Kf = "scheme", Jf = "slashscheme", Sn = "whitespace";
3
3
  function Gf(e, t) {
4
4
  return e in t || (t[e] = []), t[e];
@@ -132,22 +132,22 @@ ye.prototype = {
132
132
  if (r ? (i = new ye(), Object.assign(i.j, r.j), i.jr.push.apply(i.jr, r.jr), i.jd = r.jd, i.t = r.t) : i = new ye(), s) {
133
133
  if (a)
134
134
  if (i.t && typeof i.t == "string") {
135
- const A = Object.assign(Zf(i.t, a), n);
136
- Ge(s, A, a);
135
+ const c = Object.assign(Zf(i.t, a), n);
136
+ Ge(s, c, a);
137
137
  } else n && Ge(s, n, a);
138
138
  i.t = s;
139
139
  }
140
140
  return f.j[e] = i, i;
141
141
  }
142
142
  };
143
- const q = (e, t, n, a, f) => e.ta(t, n, a, f), oe = (e, t, n, a, f) => e.tr(t, n, a, f), xa = (e, t, n, a, f) => e.ts(t, n, a, f), E = (e, t, n, a, f) => e.tt(t, n, a, f), Re = "WORD", Hn = "UWORD", of = "ASCIINUMERICAL", lf = "ALPHANUMERICAL", Nt = "LOCALHOST", Wn = "TLD", Kn = "UTLD", Pt = "SCHEME", Xe = "SLASH_SCHEME", na = "NUM", Jn = "WS", aa = "NL", yt = "OPENBRACE", vt = "CLOSEBRACE", Wt = "OPENBRACKET", Kt = "CLOSEBRACKET", Jt = "OPENPAREN", Gt = "CLOSEPAREN", Zt = "OPENANGLEBRACKET", Xt = "CLOSEANGLEBRACKET", en = "FULLWIDTHLEFTPAREN", tn = "FULLWIDTHRIGHTPAREN", nn = "LEFTCORNERBRACKET", an = "RIGHTCORNERBRACKET", fn = "LEFTWHITECORNERBRACKET", sn = "RIGHTWHITECORNERBRACKET", on = "FULLWIDTHLESSTHAN", ln = "FULLWIDTHGREATERTHAN", rn = "AMPERSAND", cn = "APOSTROPHE", An = "ASTERISK", Fe = "AT", un = "BACKSLASH", dn = "BACKTICK", gn = "CARET", Pe = "COLON", fa = "COMMA", mn = "DOLLAR", Ve = "DOT", pn = "EQUALS", sa = "EXCLAMATION", Me = "HYPHEN", bt = "PERCENT", hn = "PIPE", yn = "PLUS", vn = "POUND", Mt = "QUERY", ia = "QUOTE", rf = "FULLWIDTHMIDDLEDOT", oa = "SEMI", Se = "SLASH", _t = "TILDE", bn = "UNDERSCORE", cf = "EMOJI", Mn = "SYM";
144
- var Af = /* @__PURE__ */ Object.freeze({
143
+ const q = (e, t, n, a, f) => e.ta(t, n, a, f), oe = (e, t, n, a, f) => e.tr(t, n, a, f), xa = (e, t, n, a, f) => e.ts(t, n, a, f), E = (e, t, n, a, f) => e.tt(t, n, a, f), Re = "WORD", Hn = "UWORD", of = "ASCIINUMERICAL", lf = "ALPHANUMERICAL", Nt = "LOCALHOST", Wn = "TLD", Kn = "UTLD", Pt = "SCHEME", Xe = "SLASH_SCHEME", na = "NUM", Jn = "WS", aa = "NL", yt = "OPENBRACE", vt = "CLOSEBRACE", Wt = "OPENBRACKET", Kt = "CLOSEBRACKET", Jt = "OPENPAREN", Gt = "CLOSEPAREN", Zt = "OPENANGLEBRACKET", Xt = "CLOSEANGLEBRACKET", en = "FULLWIDTHLEFTPAREN", tn = "FULLWIDTHRIGHTPAREN", nn = "LEFTCORNERBRACKET", an = "RIGHTCORNERBRACKET", fn = "LEFTWHITECORNERBRACKET", sn = "RIGHTWHITECORNERBRACKET", on = "FULLWIDTHLESSTHAN", ln = "FULLWIDTHGREATERTHAN", rn = "AMPERSAND", An = "APOSTROPHE", cn = "ASTERISK", Fe = "AT", un = "BACKSLASH", dn = "BACKTICK", gn = "CARET", Pe = "COLON", fa = "COMMA", mn = "DOLLAR", Ve = "DOT", pn = "EQUALS", sa = "EXCLAMATION", Me = "HYPHEN", bt = "PERCENT", hn = "PIPE", yn = "PLUS", vn = "POUND", Mt = "QUERY", ia = "QUOTE", rf = "FULLWIDTHMIDDLEDOT", oa = "SEMI", Se = "SLASH", _t = "TILDE", bn = "UNDERSCORE", Af = "EMOJI", Mn = "SYM";
144
+ var cf = /* @__PURE__ */ Object.freeze({
145
145
  __proto__: null,
146
146
  ALPHANUMERICAL: lf,
147
147
  AMPERSAND: rn,
148
- APOSTROPHE: cn,
148
+ APOSTROPHE: An,
149
149
  ASCIINUMERICAL: of,
150
- ASTERISK: An,
150
+ ASTERISK: cn,
151
151
  AT: Fe,
152
152
  BACKSLASH: un,
153
153
  BACKTICK: dn,
@@ -160,7 +160,7 @@ var Af = /* @__PURE__ */ Object.freeze({
160
160
  COMMA: fa,
161
161
  DOLLAR: mn,
162
162
  DOT: Ve,
163
- EMOJI: cf,
163
+ EMOJI: Af,
164
164
  EQUALS: pn,
165
165
  EXCLAMATION: sa,
166
166
  FULLWIDTHGREATERTHAN: ln,
@@ -206,7 +206,7 @@ function ts(e = []) {
206
206
  const t = {};
207
207
  ye.groups = t;
208
208
  const n = new ye();
209
- Bt == null && (Bt = Sa(Hf)), Rt == null && (Rt = Sa(Wf)), E(n, "'", cn), E(n, "{", yt), E(n, "}", vt), E(n, "[", Wt), E(n, "]", Kt), E(n, "(", Jt), E(n, ")", Gt), E(n, "<", Zt), E(n, ">", Xt), E(n, "(", en), E(n, ")", tn), E(n, "「", nn), E(n, "」", an), E(n, "『", fn), E(n, "』", sn), E(n, "<", on), E(n, ">", ln), E(n, "&", rn), E(n, "*", An), E(n, "@", Fe), E(n, "`", dn), E(n, "^", gn), E(n, ":", Pe), E(n, ",", fa), E(n, "$", mn), E(n, ".", Ve), E(n, "=", pn), E(n, "!", sa), E(n, "-", Me), E(n, "%", bt), E(n, "|", hn), E(n, "+", yn), E(n, "#", vn), E(n, "?", Mt), E(n, '"', ia), E(n, "/", Se), E(n, ";", oa), E(n, "~", _t), E(n, "_", bn), E(n, "\\", un), E(n, "・", rf);
209
+ Bt == null && (Bt = Sa(Hf)), Rt == null && (Rt = Sa(Wf)), E(n, "'", An), E(n, "{", yt), E(n, "}", vt), E(n, "[", Wt), E(n, "]", Kt), E(n, "(", Jt), E(n, ")", Gt), E(n, "<", Zt), E(n, ">", Xt), E(n, "(", en), E(n, ")", tn), E(n, "「", nn), E(n, "」", an), E(n, "『", fn), E(n, "』", sn), E(n, "<", on), E(n, ">", ln), E(n, "&", rn), E(n, "*", cn), E(n, "@", Fe), E(n, "`", dn), E(n, "^", gn), E(n, ":", Pe), E(n, ",", fa), E(n, "$", mn), E(n, ".", Ve), E(n, "=", pn), E(n, "!", sa), E(n, "-", Me), E(n, "%", bt), E(n, "|", hn), E(n, "+", yn), E(n, "#", vn), E(n, "?", Mt), E(n, '"', ia), E(n, "/", Se), E(n, ";", oa), E(n, "~", _t), E(n, "_", bn), E(n, "\\", un), E(n, "・", rf);
210
210
  const a = oe(n, Be, na, {
211
211
  [Yn]: !0
212
212
  });
@@ -223,15 +223,15 @@ function ts(e = []) {
223
223
  [Pn]: !0
224
224
  });
225
225
  oe(r, Ue), oe(r, Be, s), oe(r, ut, r), oe(s, Be, s), oe(s, Ue), oe(s, ut, s);
226
- const A = E(n, zn, aa, {
226
+ const c = E(n, zn, aa, {
227
227
  [Sn]: !0
228
- }), c = E(n, Va, Jn, {
228
+ }), A = E(n, Va, Jn, {
229
229
  [Sn]: !0
230
230
  }), d = oe(n, On, Jn, {
231
231
  [Sn]: !0
232
232
  });
233
- E(n, Ln, d), E(c, zn, A), E(c, Ln, d), oe(c, On, d), E(d, Va), E(d, zn), oe(d, On, d), E(d, Ln, d);
234
- const g = oe(n, Cn, cf, {
233
+ E(n, Ln, d), E(A, zn, c), E(A, Ln, d), oe(A, On, d), E(d, Va), E(d, zn), oe(d, On, d), E(d, Ln, d);
234
+ const g = oe(n, Cn, Af, {
235
235
  [sf]: !0
236
236
  });
237
237
  E(g, "#"), oe(g, Cn, g), E(g, Xf, g);
@@ -269,22 +269,22 @@ function ts(e = []) {
269
269
  start: n,
270
270
  tokens: Object.assign({
271
271
  groups: t
272
- }, Af)
272
+ }, cf)
273
273
  };
274
274
  }
275
275
  function uf(e, t) {
276
276
  const n = ns(t.replace(/[A-Z]/g, (r) => r.toLowerCase())), a = n.length, f = [];
277
277
  let s = 0, i = 0;
278
278
  for (; i < a; ) {
279
- let r = e, A = null, c = 0, d = null, g = -1, m = -1;
280
- for (; i < a && (A = r.go(n[i])); )
281
- r = A, r.accepts() ? (g = 0, m = 0, d = r) : g >= 0 && (g += n[i].length, m++), c += n[i].length, s += n[i].length, i++;
282
- s -= g, i -= m, c -= g, f.push({
279
+ let r = e, c = null, A = 0, d = null, g = -1, m = -1;
280
+ for (; i < a && (c = r.go(n[i])); )
281
+ r = c, r.accepts() ? (g = 0, m = 0, d = r) : g >= 0 && (g += n[i].length, m++), A += n[i].length, s += n[i].length, i++;
282
+ s -= g, i -= m, A -= g, f.push({
283
283
  t: d.t,
284
284
  // token type/name
285
- v: t.slice(s - c, s),
285
+ v: t.slice(s - A, s),
286
286
  // string value
287
- s: s - c,
287
+ s: s - A,
288
288
  // start index
289
289
  e: s
290
290
  // end index (excluding)
@@ -305,8 +305,8 @@ function Ye(e, t, n, a, f) {
305
305
  let s;
306
306
  const i = t.length;
307
307
  for (let r = 0; r < i - 1; r++) {
308
- const A = t[r];
309
- e.j[A] ? s = e.j[A] : (s = new ye(a), s.jr = f.slice(), e.j[A] = s), e = s;
308
+ const c = t[r];
309
+ e.j[c] ? s = e.j[c] : (s = new ye(a), s.jr = f.slice(), e.j[c] = s), e = s;
310
310
  }
311
311
  return s = new ye(n), s.jr = f.slice(), e.j[t[i - 1]] = s, s;
312
312
  }
@@ -514,8 +514,8 @@ df.prototype = {
514
514
  * @param {Options} options Formattinng options
515
515
  */
516
516
  render(e) {
517
- const t = this, n = this.toHref(e.get("defaultProtocol")), a = e.get("formatHref", n, this), f = e.get("tagName", n, t), s = this.toFormattedString(e), i = {}, r = e.get("className", n, t), A = e.get("target", n, t), c = e.get("rel", n, t), d = e.getObj("attributes", n, t), g = e.getObj("events", n, t);
518
- return i.href = a, r && (i.class = r), A && (i.target = A), c && (i.rel = c), d && Object.assign(i, d), {
517
+ const t = this, n = this.toHref(e.get("defaultProtocol")), a = e.get("formatHref", n, this), f = e.get("tagName", n, t), s = this.toFormattedString(e), i = {}, r = e.get("className", n, t), c = e.get("target", n, t), A = e.get("rel", n, t), d = e.getObj("attributes", n, t), g = e.getObj("events", n, t);
518
+ return i.href = a, r && (i.class = r), c && (i.target = c), A && (i.rel = A), d && Object.assign(i, d), {
519
519
  tagName: f,
520
520
  attributes: i,
521
521
  content: s,
@@ -562,20 +562,20 @@ const Oa = kn("email", {
562
562
  function fs({
563
563
  groups: e
564
564
  }) {
565
- const t = e.domain.concat([rn, An, Fe, un, dn, gn, mn, pn, Me, na, bt, hn, yn, vn, Se, Mn, _t, bn]), n = [cn, Pe, fa, Ve, sa, bt, Mt, ia, oa, Zt, Xt, yt, vt, Kt, Wt, Jt, Gt, en, tn, nn, an, fn, sn, on, ln], a = [rn, cn, An, un, dn, gn, mn, pn, Me, yt, vt, bt, hn, yn, vn, Mt, Se, Mn, _t, bn], f = be(), s = E(f, _t);
565
+ const t = e.domain.concat([rn, cn, Fe, un, dn, gn, mn, pn, Me, na, bt, hn, yn, vn, Se, Mn, _t, bn]), n = [An, Pe, fa, Ve, sa, bt, Mt, ia, oa, Zt, Xt, yt, vt, Kt, Wt, Jt, Gt, en, tn, nn, an, fn, sn, on, ln], a = [rn, An, cn, un, dn, gn, mn, pn, Me, yt, vt, bt, hn, yn, vn, Mt, Se, Mn, _t, bn], f = be(), s = E(f, _t);
566
566
  q(s, a, s), q(s, e.domain, s);
567
- const i = be(), r = be(), A = be();
568
- q(f, e.domain, i), q(f, e.scheme, r), q(f, e.slashscheme, A), q(i, a, s), q(i, e.domain, i);
569
- const c = E(i, Fe);
570
- E(s, Fe, c), E(r, Fe, c), E(A, Fe, c);
567
+ const i = be(), r = be(), c = be();
568
+ q(f, e.domain, i), q(f, e.scheme, r), q(f, e.slashscheme, c), q(i, a, s), q(i, e.domain, i);
569
+ const A = E(i, Fe);
570
+ E(s, Fe, A), E(r, Fe, A), E(c, Fe, A);
571
571
  const d = E(s, Ve);
572
572
  q(d, a, s), q(d, e.domain, s);
573
573
  const g = be();
574
- q(c, e.domain, g), q(g, e.domain, g);
574
+ q(A, e.domain, g), q(g, e.domain, g);
575
575
  const m = E(g, Ve);
576
576
  q(m, e.domain, g);
577
577
  const _ = be(Oa);
578
- q(m, e.tld, _), q(m, e.utld, _), E(c, Nt, _);
578
+ q(m, e.tld, _), q(m, e.utld, _), E(A, Nt, _);
579
579
  const v = E(g, Me);
580
580
  E(v, Me, v), q(v, e.domain, g), q(_, e.domain, g), E(_, Ve, m), E(_, Me, v);
581
581
  const I = E(_, Pe);
@@ -583,13 +583,13 @@ function fs({
583
583
  const y = E(i, Me), N = E(i, Ve);
584
584
  E(y, Me, y), q(y, e.domain, i), q(N, a, s), q(N, e.domain, i);
585
585
  const j = be(Qt);
586
- q(N, e.tld, j), q(N, e.utld, j), q(j, e.domain, i), q(j, a, s), E(j, Ve, N), E(j, Me, y), E(j, Fe, c);
586
+ q(N, e.tld, j), q(N, e.utld, j), q(j, e.domain, i), q(j, a, s), E(j, Ve, N), E(j, Me, y), E(j, Fe, A);
587
587
  const h = E(j, Pe), w = be(Qt);
588
588
  q(h, e.numeric, w);
589
589
  const M = be(Qt), T = be();
590
590
  q(M, t, M), q(M, n, T), q(T, t, M), q(T, n, T), E(j, Se, M), E(w, Se, M);
591
- const S = E(r, Pe), U = E(A, Pe), V = E(U, Se), Q = E(V, Se);
592
- q(r, e.domain, i), E(r, Ve, N), E(r, Me, y), q(A, e.domain, i), E(A, Ve, N), E(A, Me, y), q(S, e.domain, M), E(S, Se, M), E(S, Mt, M), q(Q, e.domain, M), q(Q, t, M), E(Q, Se, M);
591
+ const S = E(r, Pe), U = E(c, Pe), V = E(U, Se), Q = E(V, Se);
592
+ q(r, e.domain, i), E(r, Ve, N), E(r, Me, y), q(c, e.domain, i), E(c, Ve, N), E(c, Me, y), q(S, e.domain, M), E(S, Se, M), E(S, Mt, M), q(Q, e.domain, M), q(Q, t, M), E(Q, Se, M);
593
593
  const G = [
594
594
  [yt, vt],
595
595
  // {}
@@ -618,17 +618,17 @@ function fs({
618
618
  }
619
619
  return E(f, Nt, j), E(f, aa, as), {
620
620
  start: f,
621
- tokens: Af
621
+ tokens: cf
622
622
  };
623
623
  }
624
624
  function ss(e, t, n) {
625
625
  let a = n.length, f = 0, s = [], i = [];
626
626
  for (; f < a; ) {
627
- let r = e, A = null, c = null, d = 0, g = null, m = -1;
628
- for (; f < a && !(A = r.go(n[f].t)); )
627
+ let r = e, c = null, A = null, d = 0, g = null, m = -1;
628
+ for (; f < a && !(c = r.go(n[f].t)); )
629
629
  i.push(n[f++]);
630
- for (; f < a && (c = A || r.go(n[f].t)); )
631
- A = null, r = c, r.accepts() ? (m = 0, g = r) : m >= 0 && m++, f++, d++;
630
+ for (; f < a && (A = c || r.go(n[f].t)); )
631
+ c = null, r = A, r.accepts() ? (m = 0, g = r) : m >= 0 && m++, f++, d++;
632
632
  if (m < 0)
633
633
  f -= d, f < a && (i.push(n[f]), f++);
634
634
  else {
@@ -643,7 +643,7 @@ function Un(e, t, n) {
643
643
  const a = n[0].s, f = n[n.length - 1].e, s = t.slice(a, f);
644
644
  return new e(s, n);
645
645
  }
646
- const Ae = {
646
+ const ce = {
647
647
  scanner: null,
648
648
  parser: null,
649
649
  tokenQueue: [],
@@ -652,21 +652,21 @@ const Ae = {
652
652
  initialized: !1
653
653
  };
654
654
  function is() {
655
- Ae.scanner = ts(Ae.customSchemes);
656
- for (let e = 0; e < Ae.tokenQueue.length; e++)
657
- Ae.tokenQueue[e][1]({
658
- scanner: Ae.scanner
655
+ ce.scanner = ts(ce.customSchemes);
656
+ for (let e = 0; e < ce.tokenQueue.length; e++)
657
+ ce.tokenQueue[e][1]({
658
+ scanner: ce.scanner
659
659
  });
660
- Ae.parser = fs(Ae.scanner.tokens);
661
- for (let e = 0; e < Ae.pluginQueue.length; e++)
662
- Ae.pluginQueue[e][1]({
663
- scanner: Ae.scanner,
664
- parser: Ae.parser
660
+ ce.parser = fs(ce.scanner.tokens);
661
+ for (let e = 0; e < ce.pluginQueue.length; e++)
662
+ ce.pluginQueue[e][1]({
663
+ scanner: ce.scanner,
664
+ parser: ce.parser
665
665
  });
666
- return Ae.initialized = !0, Ae;
666
+ return ce.initialized = !0, ce;
667
667
  }
668
668
  function gf(e) {
669
- return Ae.initialized || is(), ss(Ae.parser.start, e, uf(Ae.scanner.start, e));
669
+ return ce.initialized || is(), ss(ce.parser.start, e, uf(ce.scanner.start, e));
670
670
  }
671
671
  gf.scan = uf;
672
672
  function mf(e) {
@@ -711,10 +711,10 @@ const R = (e, t) => {
711
711
  for (const [a, f] of t)
712
712
  n[a] = f;
713
713
  return n;
714
- }, cs = {
714
+ }, As = {
715
715
  key: 0,
716
716
  class: "chat-info__container"
717
- }, As = { class: "chat-info__base-line" }, us = { class: "chat-info__avatar-container" }, ds = ["src"], gs = {
717
+ }, cs = { class: "chat-info__base-line" }, us = { class: "chat-info__avatar-container" }, ds = ["src"], gs = {
718
718
  key: 1,
719
719
  class: "pi pi-user"
720
720
  }, ms = { class: "chat-info__info-container" }, ps = { class: "chat-info__title" }, hs = {
@@ -757,12 +757,12 @@ const R = (e, t) => {
757
757
  if (n.description) return n.description;
758
758
  if (!n.description && n.defaultLastActivityTime) return n.chat["lastActivity.time"];
759
759
  });
760
- return (i, r) => e.chat ? (l(), u("div", cs, [
761
- o("div", As, [
760
+ return (i, r) => e.chat ? (l(), u("div", As, [
761
+ o("div", cs, [
762
762
  e.showReturnButton ? (l(), u("span", {
763
763
  key: 0,
764
764
  class: "pi pi-arrow-left chat-info__return-button",
765
- onClick: r[0] || (r[0] = (A) => a("returnToChats"))
765
+ onClick: r[0] || (r[0] = (c) => a("returnToChats"))
766
766
  })) : p("", !0),
767
767
  o("div", us, [
768
768
  n.chat.avatar ? (l(), u("img", {
@@ -805,70 +805,70 @@ const R = (e, t) => {
805
805
  }), t.value = he.value.length - 1);
806
806
  const a = () => {
807
807
  he.value[t.value] = {
808
- id: c().id,
808
+ id: A().id,
809
809
  text: "",
810
810
  file: void 0,
811
811
  reply: void 0,
812
812
  forceSend: !1,
813
- isRecording: c().isRecording
813
+ isRecording: A().isRecording
814
814
  };
815
815
  }, f = (m) => {
816
816
  he.value[t.value] = {
817
- id: c().id,
817
+ id: A().id,
818
818
  text: m,
819
- file: c().file,
820
- reply: c().reply,
819
+ file: A().file,
820
+ reply: A().reply,
821
821
  forceSend: !1,
822
- isRecording: c().isRecording
822
+ isRecording: A().isRecording
823
823
  };
824
824
  }, s = (m) => {
825
825
  he.value[t.value] = {
826
- id: c().id,
827
- text: c().text,
826
+ id: A().id,
827
+ text: A().text,
828
828
  file: m,
829
- reply: c().reply,
829
+ reply: A().reply,
830
830
  forceSend: !1,
831
- isRecording: c().isRecording
831
+ isRecording: A().isRecording
832
832
  };
833
833
  }, i = () => {
834
834
  he.value[t.value] = {
835
- id: c().id,
836
- text: c().text,
835
+ id: A().id,
836
+ text: A().text,
837
837
  file: void 0,
838
- reply: c().reply,
838
+ reply: A().reply,
839
839
  forceSend: !1,
840
- isRecording: c().isRecording
840
+ isRecording: A().isRecording
841
841
  };
842
842
  }, r = (m) => {
843
843
  he.value[t.value] = {
844
- id: c().id,
845
- text: c().text,
846
- file: c().file,
844
+ id: A().id,
845
+ text: A().text,
846
+ file: A().file,
847
847
  reply: m,
848
848
  forceSend: !1,
849
- isRecording: c().isRecording
849
+ isRecording: A().isRecording
850
850
  };
851
- }, A = () => {
851
+ }, c = () => {
852
852
  he.value[t.value] = {
853
- id: c().id,
854
- text: c().text,
855
- file: c().file,
853
+ id: A().id,
854
+ text: A().text,
855
+ file: A().file,
856
856
  reply: void 0,
857
857
  forceSend: !1,
858
- isRecording: c().isRecording
858
+ isRecording: A().isRecording
859
859
  };
860
860
  };
861
- function c() {
861
+ function A() {
862
862
  return he.value[t.value];
863
863
  }
864
864
  return {
865
- getMessage: c,
865
+ getMessage: A,
866
866
  resetMessage: a,
867
867
  setMessageFile: s,
868
868
  resetMessageFile: i,
869
869
  setMessageText: f,
870
870
  setReply: r,
871
- resetReply: A,
871
+ resetReply: c,
872
872
  setForceSendMessage: (m) => {
873
873
  he.value[t.value].forceSend = m;
874
874
  },
@@ -963,9 +963,9 @@ const Ds = { class: "chat-input__container" }, Ts = ["id"], Es = ["id"], js = {
963
963
  },
964
964
  emits: ["send", "typing"],
965
965
  setup(e, { emit: t }) {
966
- const n = t, a = Z("chatAppId"), { resetMessage: f, getMessage: s, setMessageText: i, setForceSendMessage: r } = Ne(a), A = b(), c = Ns("", 2e3), d = b(), g = e, m = $(() => !!(g.state == "disabled" || s().text == "" && !s().file || s().isRecording));
966
+ const n = t, a = Z("chatAppId"), { resetMessage: f, getMessage: s, setMessageText: i, setForceSendMessage: r } = Ne(a), c = b(), A = Ns("", 2e3), d = b(), g = e, m = $(() => !!(g.state == "disabled" || s().text == "" && !s().file || s().isRecording));
967
967
  ee(
968
- () => c.value,
968
+ () => A.value,
969
969
  () => {
970
970
  n("typing");
971
971
  }
@@ -973,7 +973,7 @@ const Ds = { class: "chat-input__container" }, Ts = ["id"], Es = ["id"], js = {
973
973
  () => g.focusOnInputArea,
974
974
  () => {
975
975
  g.focusOnInputArea && Oe(() => {
976
- const y = k(A);
976
+ const y = k(c);
977
977
  y == null || y.focus();
978
978
  });
979
979
  },
@@ -982,7 +982,7 @@ const Ds = { class: "chat-input__container" }, Ts = ["id"], Es = ["id"], js = {
982
982
  () => s().text,
983
983
  () => {
984
984
  Oe(function() {
985
- c.value = s().text, A.value && (A.value.style.height = "auto", A.value.style.height = A.value.scrollHeight + "px", s().text.length == 0 && (A.value.style.height = "40px"));
985
+ A.value = s().text, c.value && (c.value.style.height = "auto", c.value.style.height = c.value.scrollHeight + "px", s().text.length == 0 && (c.value.style.height = "40px"));
986
986
  });
987
987
  },
988
988
  { immediate: !0 }
@@ -996,10 +996,10 @@ const Ds = { class: "chat-input__container" }, Ts = ["id"], Es = ["id"], js = {
996
996
  n("typing", y.target.value);
997
997
  }, v = (y) => {
998
998
  if (y.ctrlKey) {
999
- if (A.value instanceof HTMLTextAreaElement) {
1000
- let N = A.value.selectionStart;
1001
- N && (A.value.setRangeText(`
1002
- `, N, N, "end"), i(A.value.value));
999
+ if (c.value instanceof HTMLTextAreaElement) {
1000
+ let N = c.value.selectionStart;
1001
+ N && (c.value.setRangeText(`
1002
+ `, N, N, "end"), i(c.value.value));
1003
1003
  }
1004
1004
  } else
1005
1005
  y.preventDefault(), I();
@@ -1015,7 +1015,7 @@ const Ds = { class: "chat-input__container" }, Ts = ["id"], Es = ["id"], js = {
1015
1015
  size: "",
1016
1016
  reply: void 0
1017
1017
  };
1018
- y.value.file ? (h.type = "message." + y.value.file.type, h.url = y.value.file.url, h.filename = y.value.file.name, h.size = (N = y.value.file.size) == null ? void 0 : N.toString(), h.text = (j = y == null ? void 0 : y.value) == null ? void 0 : j.text.trim()) : (h.type = "message.text", h.text = y.value.text.trim()), y.value.reply && (h.reply = y.value.reply), n("send", h), f(), d.value = void 0, A.value && A.value.focus();
1018
+ y.value.file ? (h.type = "message." + y.value.file.type, h.url = y.value.file.url, h.filename = y.value.file.name, h.size = (N = y.value.file.size) == null ? void 0 : N.toString(), h.text = (j = y == null ? void 0 : y.value) == null ? void 0 : j.text.trim()) : (h.type = "message.text", h.text = y.value.text.trim()), y.value.reply && (h.reply = y.value.reply), n("send", h), f(), d.value = void 0, c.value && c.value.focus();
1019
1019
  }
1020
1020
  };
1021
1021
  return (y, N) => (l(), u("div", Ds, [
@@ -1033,7 +1033,7 @@ const Ds = { class: "chat-input__container" }, Ts = ["id"], Es = ["id"], js = {
1033
1033
  e.disabledPlaceholder && (e.state == "disabled" || k(s)().isRecording) ? (l(), u("div", xs, D(e.disabledPlaceholder), 1)) : re((l(), u("textarea", {
1034
1034
  key: 1,
1035
1035
  ref_key: "refInput",
1036
- ref: A,
1036
+ ref: c,
1037
1037
  "onUpdate:modelValue": N[0] || (N[0] = (j) => k(s)().text = j),
1038
1038
  disabled: e.state == "disabled" || k(s)().isRecording,
1039
1039
  class: "chat-input__input",
@@ -1080,8 +1080,8 @@ const Ds = { class: "chat-input__container" }, Ts = ["id"], Es = ["id"], js = {
1080
1080
  },
1081
1081
  emits: ["select", "action", "loadMoreChats", "expand"],
1082
1082
  setup(e, { emit: t }) {
1083
- const n = e, a = t, f = b(""), s = b(), i = b(!1), r = b(!1), A = b(!1);
1084
- function c() {
1083
+ const n = e, a = t, f = b(""), s = b(), i = b(!1), r = b(!1), c = b(!1);
1084
+ function A() {
1085
1085
  Oe(function() {
1086
1086
  const h = k(s);
1087
1087
  h.scrollTop = 0;
@@ -1089,7 +1089,7 @@ const Ds = { class: "chat-input__container" }, Ts = ["id"], Es = ["id"], js = {
1089
1089
  }
1090
1090
  const d = () => {
1091
1091
  const h = k(s), w = h.scrollHeight - h.scrollTop - h.clientHeight;
1092
- h.scrollTop > 500 && (r.value = !0), h.scrollTop <= 500 && (r.value = !1), A.value ? w < 300 && (i.value = !0) : (w < 300 && (i.value = !0), w >= 300 && (i.value = !1));
1092
+ h.scrollTop > 500 && (r.value = !0), h.scrollTop <= 500 && (r.value = !1), c.value ? w < 300 && (i.value = !0) : (w < 300 && (i.value = !0), w >= 300 && (i.value = !1));
1093
1093
  };
1094
1094
  ee(
1095
1095
  () => i.value,
@@ -1099,7 +1099,7 @@ const Ds = { class: "chat-input__container" }, Ts = ["id"], Es = ["id"], js = {
1099
1099
  ), ee(
1100
1100
  () => n.chats,
1101
1101
  () => {
1102
- if (i.value = !1, A.value) {
1102
+ if (i.value = !1, c.value) {
1103
1103
  const h = k(s);
1104
1104
  h.scrollTop = h.scrollHeight;
1105
1105
  }
@@ -1107,34 +1107,36 @@ const Ds = { class: "chat-input__container" }, Ts = ["id"], Es = ["id"], js = {
1107
1107
  );
1108
1108
  const g = (h) => {
1109
1109
  const w = k(s);
1110
- (h.offsetX > w.clientWidth || h.offsetY > w.clientHeight) && (A.value = !0);
1110
+ (h.offsetX > w.clientWidth || h.offsetY > w.clientHeight) && (c.value = !0);
1111
1111
  }, m = () => {
1112
- A.value = !1;
1112
+ c.value = !1;
1113
1113
  }, _ = (h) => {
1114
1114
  a("expand", h);
1115
1115
  }, v = (h) => {
1116
+ if (!n.chats || !Array.isArray(n.chats))
1117
+ return;
1116
1118
  n.chats.forEach((M) => {
1117
- M.isSelected = !1, M.dialogs && M.dialogs.forEach((T) => {
1119
+ M.isSelected = !1, M.dialogs && Array.isArray(M.dialogs) && M.dialogs.forEach((T) => {
1118
1120
  T.isSelected = !1;
1119
1121
  });
1120
1122
  }), h.dialog && I(h.dialog);
1121
1123
  const w = n.chats.find((M) => M.chatId === h.chat.chatId);
1122
- w.isSelected = !0, a("select", h);
1124
+ w && (w.isSelected = !0), a("select", h);
1123
1125
  }, I = (h) => {
1124
- n.chats.forEach((w) => {
1125
- w.isSelected = !1, w.dialogs && w.dialogs.forEach((M) => {
1126
+ !n.chats || !Array.isArray(n.chats) || n.chats.forEach((w) => {
1127
+ w.isSelected = !1, w.dialogs && Array.isArray(w.dialogs) && w.dialogs.forEach((M) => {
1126
1128
  M.isSelected = !1, M.dialogId == h.dialogId && (M.isSelected = !0);
1127
1129
  });
1128
1130
  });
1129
- }, y = () => n.chats.toSorted((h, w) => {
1131
+ }, y = () => !n.chats || !Array.isArray(n.chats) ? [] : [...n.chats].sort((h, w) => {
1130
1132
  if (Number(h["lastActivity.timestamp"]) > Number(w["lastActivity.timestamp"])) return -1;
1131
1133
  if (Number(h["lastActivity.timestamp"]) < Number(w["lastActivity.timestamp"])) return 1;
1132
1134
  if (Number(h["lastActivity.timestamp"]) == Number(w["lastActivity.timestamp"])) return 0;
1133
- }).toSorted((h, w) => {
1135
+ }).sort((h, w) => {
1134
1136
  if (h.countUnread > w.countUnread) return -1;
1135
1137
  if (h.countUnread < w.countUnread) return 1;
1136
1138
  if (h.countUnread == w.countUnread) return 0;
1137
- }).filter((h) => n.filterQuery ? h.name.includes(n.filterQuery) || h.metadata.includes(n.filterQuery) : h.name.includes(f.value) || h.metadata.includes(f.value)), N = (h) => {
1139
+ }).filter((h) => n.filterQuery ? h.name && h.name.includes(n.filterQuery) || h.metadata && h.metadata.includes(n.filterQuery) : h.name && h.name.includes(f.value) || h.metadata && h.metadata.includes(f.value)), N = (h) => {
1138
1140
  f.value = h;
1139
1141
  }, j = (h) => a("action", h);
1140
1142
  return (h, w) => (l(), u("div", zs, [
@@ -1192,7 +1194,7 @@ const Ds = { class: "chat-input__container" }, Ts = ["id"], Es = ["id"], js = {
1192
1194
  r.value ? (l(), u("button", {
1193
1195
  key: 0,
1194
1196
  class: "chat-list__button-up",
1195
- onClick: c
1197
+ onClick: A
1196
1198
  }, w[0] || (w[0] = [
1197
1199
  o("span", { class: "pi pi-angle-up chat-list__icon-down" }, null, -1)
1198
1200
  ]))) : p("", !0)
@@ -1201,7 +1203,7 @@ const Ds = { class: "chat-input__container" }, Ts = ["id"], Es = ["id"], js = {
1201
1203
  })
1202
1204
  ]));
1203
1205
  }
1204
- }, Gg = /* @__PURE__ */ R($s, [["__scopeId", "data-v-1172583f"]]);
1206
+ }, Gg = /* @__PURE__ */ R($s, [["__scopeId", "data-v-4045e0ed"]]);
1205
1207
  function Ys(e, t) {
1206
1208
  let n = null;
1207
1209
  return function(...f) {
@@ -1225,20 +1227,20 @@ const Fs = ["onClick"], Ps = /* @__PURE__ */ Y({
1225
1227
  },
1226
1228
  emits: ["action"],
1227
1229
  setup(e, { expose: t, emit: n }) {
1228
- const a = ef("keyboard"), f = n, s = Z("chatAppId"), { setMessageText: i, setForceSendMessage: r } = Ne(s), A = (c) => {
1229
- c.action && typeof c.action == "function" ? c.action() : c.action != null ? f("action", c.action) : (i(c.text), r(!0));
1230
+ const a = ef("keyboard"), f = n, s = Z("chatAppId"), { setMessageText: i, setForceSendMessage: r } = Ne(s), c = (A) => {
1231
+ A.action && typeof A.action == "function" ? A.action() : A.action != null ? f("action", A.action) : (i(A.text), r(!0));
1230
1232
  };
1231
1233
  return t({
1232
1234
  refKeyboard: a
1233
- }), (c, d) => (l(), u("div", {
1235
+ }), (A, d) => (l(), u("div", {
1234
1236
  ref: "keyboard",
1235
1237
  class: x(["keyboard__container", [`keyboard__container--${e.align}`]])
1236
1238
  }, [
1237
1239
  (l(!0), u(F, null, ie(e.keyboard, (g) => (l(), u("div", {
1238
1240
  key: g.text,
1239
1241
  class: "keyboard__key",
1240
- style: ce({ "box-shadow": "0px 0px 10px 5px " + g.color }),
1241
- onClick: (m) => A(g)
1242
+ style: Ae({ "box-shadow": "0px 0px 10px 5px " + g.color }),
1243
+ onClick: (m) => c(g)
1242
1244
  }, [
1243
1245
  o("p", null, D(g.text), 1)
1244
1246
  ], 12, Fs))), 128))
@@ -1295,7 +1297,7 @@ const Fs = ["onClick"], Ps = /* @__PURE__ */ Y({
1295
1297
  "keyboardAction"
1296
1298
  ],
1297
1299
  setup(e, { emit: t }) {
1298
- const n = b(), a = b(), f = b(), s = b(!1), i = b(!1), r = b(!1), A = b(!1), c = b(!1), d = b(!1), g = e, m = Z("chatAppId"), { setReply: _, getMessage: v, resetReply: I } = Ne(m), y = t, N = $(() => !!(i.value && g.objects.length > 0 && g.objects[g.objects.length - 1].keyboard)), j = (B) => {
1300
+ const n = b(), a = b(), f = b(), s = b(!1), i = b(!1), r = b(!1), c = b(!1), A = b(!1), d = b(!1), g = e, m = Z("chatAppId"), { setReply: _, getMessage: v, resetReply: I } = Ne(m), y = t, N = $(() => !!(i.value && g.objects.length > 0 && g.objects[g.objects.length - 1].keyboard)), j = (B) => {
1299
1301
  y("keyboardAction", B);
1300
1302
  };
1301
1303
  function h(B = !0) {
@@ -1303,12 +1305,12 @@ const Fs = ["onClick"], Ps = /* @__PURE__ */ Y({
1303
1305
  let fe = 0;
1304
1306
  f.value && (fe = f.value.refKeyboard.clientHeight);
1305
1307
  const de = 100, pe = K.scrollHeight - K.scrollTop - K.clientHeight;
1306
- pe < de + fe ? (s.value = !1, i.value = !0) : (s.value = !0, i.value = !1), d.value ? (K.scrollTop < 300 && (c.value = !1, r.value = !1), pe < 300 && (A.value = !1, c.value = !0)) : B && (K.scrollTop < 300 && (r.value = !1), pe < 300 && (A.value = !1));
1308
+ pe < de + fe ? (s.value = !1, i.value = !0) : (s.value = !0, i.value = !1), d.value ? (K.scrollTop < 300 && (A.value = !1, r.value = !1), pe < 300 && (c.value = !1, A.value = !0)) : B && (K.scrollTop < 300 && (r.value = !1), pe < 300 && (c.value = !1));
1307
1309
  }
1308
1310
  ee(
1309
- () => [A.value, r.value],
1311
+ () => [c.value, r.value],
1310
1312
  () => {
1311
- A.value || y("loadMoreDown"), r.value || y("loadMore");
1313
+ c.value || y("loadMoreDown"), r.value || y("loadMore");
1312
1314
  }
1313
1315
  );
1314
1316
  const w = (B) => {
@@ -1377,9 +1379,9 @@ const Fs = ["onClick"], Ps = /* @__PURE__ */ Y({
1377
1379
  () => g.objects,
1378
1380
  () => {
1379
1381
  Oe(() => {
1380
- if (r.value = !0, A.value = !0, h(!1), d.value) {
1382
+ if (r.value = !0, c.value = !0, h(!1), d.value) {
1381
1383
  const B = k(a);
1382
- c.value && (B.scrollTop = B.scrollHeight - 400), c.value || (B.scrollTop = 400);
1384
+ A.value && (B.scrollTop = B.scrollHeight - 400), A.value || (B.scrollTop = 400);
1383
1385
  }
1384
1386
  n.value = document.querySelectorAll(".tracking-message"), n.value.forEach((B) => te.observe(B));
1385
1387
  });
@@ -1472,7 +1474,7 @@ const Fs = ["onClick"], Ps = /* @__PURE__ */ Y({
1472
1474
  key: 2,
1473
1475
  to: "#chat-input-reply-line-" + k(m)
1474
1476
  }, [
1475
- H(k(At), {
1477
+ H(k(ct), {
1476
1478
  class: "chat-input-reply",
1477
1479
  message: k(v)().reply,
1478
1480
  onReset: z
@@ -1499,7 +1501,7 @@ const Fs = ["onClick"], Ps = /* @__PURE__ */ Y({
1499
1501
  e.user.avatar ? (l(), u("div", Xs, [
1500
1502
  o("span", {
1501
1503
  class: "profile__status",
1502
- style: ce({ backgroundColor: e.user.status })
1504
+ style: Ae({ backgroundColor: e.user.status })
1503
1505
  }, null, 4),
1504
1506
  o("img", {
1505
1507
  src: e.user.avatar,
@@ -1543,23 +1545,23 @@ const Fs = ["onClick"], Ps = /* @__PURE__ */ Y({
1543
1545
  },
1544
1546
  emits: ["click", "buttonClick", "menuMouseEnter", "menuMouseLeave"],
1545
1547
  setup(e, { expose: t, emit: n }) {
1546
- const a = Z("chatAppId"), f = Z("extChatAppId"), { getTheme: s } = Ee(a), i = e, r = ta(), A = n, c = b(), d = b(), g = b(!1), m = (M) => {
1547
- h(), A("click", M);
1548
+ const a = Z("chatAppId"), f = Z("extChatAppId"), { getTheme: s } = Ee(a), i = e, r = ta(), c = n, A = b(), d = b(), g = b(!1), m = (M) => {
1549
+ h(), c("click", M);
1548
1550
  }, _ = () => {
1549
- i.disabled || (i.mode == "click" && !g.value ? j() : i.mode == "click" && g.value && h(), A("buttonClick"));
1551
+ i.disabled || (i.mode == "click" && !g.value ? j() : i.mode == "click" && g.value && h(), c("buttonClick"));
1550
1552
  }, v = () => {
1551
1553
  i.disabled || i.mode == "hover" && j();
1552
1554
  }, I = () => {
1553
1555
  i.disabled || i.mode == "hover" && h();
1554
1556
  }, y = () => {
1555
- A("menuMouseEnter"), i.disabled || i.mode == "hover" && j();
1557
+ c("menuMouseEnter"), i.disabled || i.mode == "hover" && j();
1556
1558
  }, N = () => {
1557
- A("menuMouseLeave"), i.disabled || i.mode == "hover" && h();
1559
+ c("menuMouseLeave"), i.disabled || i.mode == "hover" && h();
1558
1560
  }, j = () => {
1559
- if (d.value && c.value) {
1560
- const M = c.value, T = d.value.getBoundingClientRect();
1561
+ if (d.value && A.value) {
1562
+ const M = A.value, T = d.value.getBoundingClientRect();
1561
1563
  M.style.display = "inherit";
1562
- const S = c.value.getBoundingClientRect();
1564
+ const S = A.value.getBoundingClientRect();
1563
1565
  M.style.display = "none", Oe(() => {
1564
1566
  const U = {
1565
1567
  left: { top: T.top - (S.height - T.height) / 2 - S.top, left: T.left - S.width - S.left },
@@ -1571,8 +1573,8 @@ const Fs = ["onClick"], Ps = /* @__PURE__ */ Y({
1571
1573
  });
1572
1574
  }
1573
1575
  }, h = () => {
1574
- if (c.value) {
1575
- const M = c.value;
1576
+ if (A.value) {
1577
+ const M = A.value;
1576
1578
  M && (M.style.top = "0", M.style.left = "0", M.style.opacity = "0", M.style.display = "none", g.value = !1);
1577
1579
  }
1578
1580
  }, w = (M) => {
@@ -1580,7 +1582,7 @@ const Fs = ["onClick"], Ps = /* @__PURE__ */ Y({
1580
1582
  };
1581
1583
  return ue(() => {
1582
1584
  Oe(() => {
1583
- c.value = document.getElementById("context-menu-" + r + f), c.value && (h(), document.addEventListener("click", w));
1585
+ A.value = document.getElementById("context-menu-" + r + f), A.value && (h(), document.addEventListener("click", w));
1584
1586
  });
1585
1587
  }), wn(() => {
1586
1588
  document.removeEventListener("click", w);
@@ -1599,7 +1601,7 @@ const Fs = ["onClick"], Ps = /* @__PURE__ */ Y({
1599
1601
  ne(M.$slots, "default")
1600
1602
  ]),
1601
1603
  (l(), L(ve, { to: "body" }, [
1602
- H(k(ct), {
1604
+ H(k(At), {
1603
1605
  id: "context-menu-" + k(r) + k(f),
1604
1606
  actions: e.actions,
1605
1607
  "data-theme": k(s)().theme ? k(s)().theme : "light",
@@ -1649,7 +1651,7 @@ const Fs = ["onClick"], Ps = /* @__PURE__ */ Y({
1649
1651
  ])
1650
1652
  ], 40, ii));
1651
1653
  }
1652
- }, xt = /* @__PURE__ */ R(li, [["__scopeId", "data-v-4a4fdaa8"]]), ri = { class: "preview__container" }, ci = { class: "preview__block" }, Ai = ["src"], ui = ["src"], di = {
1654
+ }, xt = /* @__PURE__ */ R(li, [["__scopeId", "data-v-4a4fdaa8"]]), ri = { class: "preview__container" }, Ai = { class: "preview__block" }, ci = ["src"], ui = ["src"], di = {
1653
1655
  key: 2,
1654
1656
  style: { display: "flex", gap: "5px" }
1655
1657
  }, gi = ["src"], mi = { class: "pi pi-play" }, pi = { class: "pi pi-pause" }, hi = { key: 3 }, yi = { class: "preview__control-block" }, vi = { class: "preview__information" }, bi = { class: "preview__name" }, Mi = {
@@ -1671,28 +1673,28 @@ const Fs = ["onClick"], Ps = /* @__PURE__ */ Y({
1671
1673
  },
1672
1674
  emits: ["reset"],
1673
1675
  setup(e, { emit: t }) {
1674
- const n = Z("chatAppId"), { getTheme: a } = Ee(n), f = t, s = b(), i = b(), r = b(!1), A = b(0), c = b(0), d = b(!1), g = () => d.value = !1;
1676
+ const n = Z("chatAppId"), { getTheme: a } = Ee(n), f = t, s = b(), i = b(), r = b(!1), c = b(0), A = b(0), d = b(!1), g = () => d.value = !1;
1675
1677
  function m() {
1676
1678
  s.value && (r.value ? s.value.pause() : s.value.play(), r.value = !r.value);
1677
1679
  }
1678
1680
  const _ = (y) => {
1679
1681
  const N = Math.floor(y / 60), j = Math.floor(y % 60);
1680
1682
  return `${N.toString().padStart(2, "0")}:${j.toString().padStart(2, "0")}`;
1681
- }, v = $(() => s.value ? _(c.value) : "0:00"), I = $(() => s.value || i.value ? _(A.value) : "0:00");
1683
+ }, v = $(() => s.value ? _(A.value) : "0:00"), I = $(() => s.value || i.value ? _(c.value) : "0:00");
1682
1684
  return ue(() => {
1683
1685
  s.value != null && (s.value.addEventListener("loadedmetadata", () => {
1684
1686
  s.value != null && (s.value.duration == 1 / 0 || Number.isNaN(s.value.duration)) && (s.value.currentTime = 1e101, s.value.addEventListener("timeupdate", () => {
1685
- s.value && (s.value.currentTime = 0, A.value = s.value.duration);
1686
- }, { once: !0 })), A.value = s.value != null ? s.value.duration : 0;
1687
+ s.value && (s.value.currentTime = 0, c.value = s.value.duration);
1688
+ }, { once: !0 })), c.value = s.value != null ? s.value.duration : 0;
1687
1689
  }), s.value.addEventListener("timeupdate", () => {
1688
- c.value = s.value != null ? s.value.currentTime : 0;
1690
+ A.value = s.value != null ? s.value.currentTime : 0;
1689
1691
  })), i.value && i.value.addEventListener("loadedmetadata", () => {
1690
- i.value && (A.value = i.value.duration, (i.value.duration == 1 / 0 || Number.isNaN(i.value.duration)) && (i.value.currentTime = 1e101, i.value.addEventListener("timeupdate", () => {
1691
- i.value && (i.value.currentTime = 0, A.value = i.value.duration);
1692
+ i.value && (c.value = i.value.duration, (i.value.duration == 1 / 0 || Number.isNaN(i.value.duration)) && (i.value.currentTime = 1e101, i.value.addEventListener("timeupdate", () => {
1693
+ i.value && (i.value.currentTime = 0, c.value = i.value.duration);
1692
1694
  }, { once: !0 })));
1693
1695
  });
1694
1696
  }), (y, N) => (l(), u("div", ri, [
1695
- o("div", ci, [
1697
+ o("div", Ai, [
1696
1698
  e.fileInfo.isImage ? (l(), u("div", {
1697
1699
  key: 0,
1698
1700
  style: { position: "relative" },
@@ -1702,7 +1704,7 @@ const Fs = ["onClick"], Ps = /* @__PURE__ */ Y({
1702
1704
  src: e.fileInfo.previewUrl,
1703
1705
  alt: "Image Preview",
1704
1706
  class: "preview__image"
1705
- }, null, 8, Ai),
1707
+ }, null, 8, ci),
1706
1708
  N[3] || (N[3] = o("div", { class: "preview__shadow" }, [
1707
1709
  o("span", { class: "pi pi-plus-circle" })
1708
1710
  ], -1))
@@ -1800,15 +1802,15 @@ const Fs = ["onClick"], Ps = /* @__PURE__ */ Y({
1800
1802
  const t = hf(e.type), n = b(!1), a = b(!1), f = b(!1), s = b("");
1801
1803
  t === "image" ? n.value = !0 : t === "video" ? a.value = !0 : t === "audio" && (f.value = !0), n.value || a.value || f.value ? s.value = URL.createObjectURL(e) : s.value = "";
1802
1804
  const i = ["б", "Кб", "Мб", "Гб"];
1803
- let r = e.size, A = 0;
1805
+ let r = e.size, c = 0;
1804
1806
  for (; r > 1024; )
1805
- r = r / 1024, A++;
1807
+ r = r / 1024, c++;
1806
1808
  return {
1807
1809
  isImage: n.value,
1808
1810
  isVideo: a.value,
1809
1811
  isAudio: f.value,
1810
1812
  previewUrl: s.value,
1811
- fileSize: r.toFixed(2) + i[A]
1813
+ fileSize: r.toFixed(2) + i[c]
1812
1814
  };
1813
1815
  }, Tn = async (e, t) => {
1814
1816
  const n = new FormData();
@@ -1845,7 +1847,7 @@ const Fs = ["onClick"], Ps = /* @__PURE__ */ Y({
1845
1847
  },
1846
1848
  emits: ["fileUploaded"],
1847
1849
  setup(e, { emit: t }) {
1848
- const n = e, a = b(""), f = b(), s = b(), i = Z("chatAppId"), { setMessageFile: r, resetMessageFile: A, getMessage: c, setRecordingMessage: d } = Ne(i), g = [
1850
+ const n = e, a = b(""), f = b(), s = b(), i = Z("chatAppId"), { setMessageFile: r, resetMessageFile: c, getMessage: A, setRecordingMessage: d } = Ne(i), g = [
1849
1851
  {
1850
1852
  action: "audio/*",
1851
1853
  title: "Аудио",
@@ -1866,9 +1868,9 @@ const Fs = ["onClick"], Ps = /* @__PURE__ */ Y({
1866
1868
  title: "Файл",
1867
1869
  prime: "file"
1868
1870
  }
1869
- ], m = $(() => !c().file), _ = () => {
1871
+ ], m = $(() => !A().file), _ = () => {
1870
1872
  const h = document.getElementById("chat-input-file-line-" + i);
1871
- h && (h.style.display = "none"), A(), s.value = void 0, a.value = "";
1873
+ h && (h.style.display = "none"), c(), s.value = void 0, a.value = "";
1872
1874
  }, v = async () => {
1873
1875
  var h, w;
1874
1876
  _(), (h = f.value) != null && h.files && j((w = f.value) == null ? void 0 : w.files[0]);
@@ -1917,7 +1919,7 @@ const Fs = ["onClick"], Ps = /* @__PURE__ */ Y({
1917
1919
  o("p", null, "Загрузка файла...", -1)
1918
1920
  ]))) : a.value === "error" ? (l(), u("div", ji, w[1] || (w[1] = [
1919
1921
  o("p", null, "Ошибка при загрузке файла.", -1)
1920
- ]))) : k(c)().isRecording ? p("", !0) : (l(), L(Nn, {
1922
+ ]))) : k(A)().isRecording ? p("", !0) : (l(), L(Nn, {
1921
1923
  key: 2,
1922
1924
  actions: g,
1923
1925
  mode: "hover",
@@ -1940,7 +1942,7 @@ const Fs = ["onClick"], Ps = /* @__PURE__ */ Y({
1940
1942
  type: "file",
1941
1943
  onChange: v
1942
1944
  }, null, 544),
1943
- k(c)().file ? (l(), L(ve, {
1945
+ k(A)().file ? (l(), L(ve, {
1944
1946
  key: 3,
1945
1947
  to: "#chat-input-file-line-" + k(i)
1946
1948
  }, [
@@ -1964,18 +1966,18 @@ const Fs = ["onClick"], Ps = /* @__PURE__ */ Y({
1964
1966
  emits: ["selectedTheme"],
1965
1967
  setup(e, { emit: t }) {
1966
1968
  const n = e, a = t, f = Z("chatAppId"), { getTheme: s } = Ee(f), i = () => {
1967
- const c = n.themes.find((d) => d.default === !0);
1968
- return c ? c.code : n.themes[0].code;
1969
- }, r = (c) => {
1970
- const d = c.target.value;
1971
- A(d);
1972
- }, A = (c) => {
1973
- f && (document.getElementById(f).dataset.theme = c, s().theme = c, a("selectedTheme", c));
1969
+ const A = n.themes.find((d) => d.default === !0);
1970
+ return A ? A.code : n.themes[0].code;
1971
+ }, r = (A) => {
1972
+ const d = A.target.value;
1973
+ c(d);
1974
+ }, c = (A) => {
1975
+ f && (document.getElementById(f).dataset.theme = A, s().theme = A, a("selectedTheme", A));
1974
1976
  };
1975
1977
  return ue(() => {
1976
- const c = i();
1977
- A(c);
1978
- }), (c, d) => e.show ? (l(), u("div", Vi, [
1978
+ const A = i();
1979
+ c(A);
1980
+ }), (A, d) => e.show ? (l(), u("div", Vi, [
1979
1981
  o("select", {
1980
1982
  onChange: d[0] || (d[0] = (g) => r(g))
1981
1983
  }, [
@@ -2004,59 +2006,59 @@ const Fs = ["onClick"], Ps = /* @__PURE__ */ Y({
2004
2006
  emits: ["selectItem"],
2005
2007
  setup(e, { emit: t }) {
2006
2008
  const a = Qf(e, "sidebarItems"), f = t, s = (r) => {
2007
- const A = a.value.find((c) => c.itemId === r);
2008
- f("selectItem", A);
2009
+ const c = a.value.find((A) => A.itemId === r);
2010
+ f("selectItem", c);
2009
2011
  }, i = (r) => {
2010
- const A = r.split(" ");
2011
- return A.length > 2 ? A.slice(0, 2).join(" ") : r;
2012
+ const c = r.split(" ");
2013
+ return c.length > 2 ? c.slice(0, 2).join(" ") : r;
2012
2014
  };
2013
- return (r, A) => (l(), u("div", {
2015
+ return (r, c) => (l(), u("div", {
2014
2016
  class: x(["sidebar__container", { "sidebar-horizontal__container": e.horizontal }])
2015
2017
  }, [
2016
2018
  o("ul", {
2017
2019
  class: x(["sidebar__list", { "sidebar-horizontal__list": e.horizontal }])
2018
2020
  }, [
2019
- (l(!0), u(F, null, ie(a.value.filter((c) => !c.isFixedBottom), (c, d) => (l(), u("li", {
2021
+ (l(!0), u(F, null, ie(a.value.filter((A) => !A.isFixedBottom), (A, d) => (l(), u("li", {
2020
2022
  key: d,
2021
2023
  class: x(["sidebar__item", { "sidebar-horizontal__item": e.horizontal }]),
2022
- onClick: (g) => s(c.itemId)
2024
+ onClick: (g) => s(A.itemId)
2023
2025
  }, [
2024
2026
  o("img", {
2025
- src: c.icon,
2026
- alt: c.name,
2027
+ src: A.icon,
2028
+ alt: A.name,
2027
2029
  class: x(["sidebar__image", {
2028
- "sidebar__image--active": c.selected === !0,
2030
+ "sidebar__image--active": A.selected === !0,
2029
2031
  "sidebar-horizontal__image": e.horizontal
2030
2032
  }])
2031
2033
  }, null, 10, zi),
2032
- c.notificationCount ? (l(), u("span", {
2034
+ A.notificationCount ? (l(), u("span", {
2033
2035
  key: 0,
2034
- style: ce({ backgroundColor: c.notificationColor ? c.notificationColor : "red" })
2035
- }, D(c.notificationCount > 99 ? "99+" : c.notificationCount), 5)) : p("", !0),
2036
- c.name ? (l(), u("p", Li, D(i(c.name)), 1)) : p("", !0)
2036
+ style: Ae({ backgroundColor: A.notificationColor ? A.notificationColor : "red" })
2037
+ }, D(A.notificationCount > 99 ? "99+" : A.notificationCount), 5)) : p("", !0),
2038
+ A.name ? (l(), u("p", Li, D(i(A.name)), 1)) : p("", !0)
2037
2039
  ], 10, Oi))), 128))
2038
2040
  ], 2),
2039
2041
  o("ul", {
2040
2042
  class: x(["sidebar__list-fixed", { "sidebar-horizontal__list-fixed": e.horizontal }])
2041
2043
  }, [
2042
- (l(!0), u(F, null, ie(a.value.filter((c) => c.isFixedBottom), (c, d) => (l(), u("li", {
2044
+ (l(!0), u(F, null, ie(a.value.filter((A) => A.isFixedBottom), (A, d) => (l(), u("li", {
2043
2045
  key: d,
2044
2046
  class: x(["sidebar__item", { "sidebar-horizontal__item": e.horizontal }]),
2045
- onClick: (g) => s(c.itemId)
2047
+ onClick: (g) => s(A.itemId)
2046
2048
  }, [
2047
2049
  o("img", {
2048
- src: c.icon,
2049
- alt: c.name,
2050
+ src: A.icon,
2051
+ alt: A.name,
2050
2052
  class: x(["sidebar__image", {
2051
- "sidebar__image--active": c.selected === !0,
2053
+ "sidebar__image--active": A.selected === !0,
2052
2054
  "sidebar-horizontal__image": e.horizontal
2053
2055
  }])
2054
2056
  }, null, 10, Bi),
2055
- c.notificationCount ? (l(), u("span", {
2057
+ A.notificationCount ? (l(), u("span", {
2056
2058
  key: 0,
2057
- style: ce({ backgroundColor: c.notificationColor ? c.notificationColor : null })
2058
- }, D(c.notificationCount > 99 ? "99+" : c.notificationCount), 5)) : p("", !0),
2059
- c.name ? (l(), u("p", Ri, D(i(c.name)), 1)) : p("", !0)
2059
+ style: Ae({ backgroundColor: A.notificationColor ? A.notificationColor : null })
2060
+ }, D(A.notificationCount > 99 ? "99+" : A.notificationCount), 5)) : p("", !0),
2061
+ A.name ? (l(), u("p", Ri, D(i(A.name)), 1)) : p("", !0)
2060
2062
  ], 10, Ui))), 128))
2061
2063
  ], 2)
2062
2064
  ], 2));
@@ -2122,10 +2124,10 @@ const Fs = ["onClick"], Ps = /* @__PURE__ */ Y({
2122
2124
  },
2123
2125
  emits: ["selectChannel"],
2124
2126
  setup(e, { emit: t }) {
2125
- const n = e, a = Z("chatAppId"), { getMessage: f } = Ne(a), s = t, r = b(n.channels.find((c) => c.type === "default")), A = (c) => {
2126
- r.value = c, s("selectChannel", r.value);
2127
+ const n = e, a = Z("chatAppId"), { getMessage: f } = Ne(a), s = t, r = b(n.channels.find((A) => A.type === "default")), c = (A) => {
2128
+ r.value = A, s("selectChannel", r.value);
2127
2129
  };
2128
- return (c, d) => k(f)().isRecording ? p("", !0) : (l(), u("div", {
2130
+ return (A, d) => k(f)().isRecording ? p("", !0) : (l(), u("div", {
2129
2131
  key: 0,
2130
2132
  class: x(["channels__container", { "channels__container-disabled": e.state == "disabled" }])
2131
2133
  }, [
@@ -2142,7 +2144,7 @@ const Fs = ["onClick"], Ps = /* @__PURE__ */ Y({
2142
2144
  mode: e.mode,
2143
2145
  "menu-side": "top",
2144
2146
  disabled: e.state == "disabled",
2145
- onClick: A
2147
+ onClick: c
2146
2148
  }, {
2147
2149
  default: W(() => [
2148
2150
  o("span", {
@@ -2211,7 +2213,7 @@ const i0 = (e, t = null) => {
2211
2213
  const t = Z("chatAppId"), { getTheme: n } = Ee(t), a = b(), f = b(), s = b(!1), i = e, r = $(() => ({
2212
2214
  tooltip__text: !0,
2213
2215
  [`tooltip--${i.position}`]: !0
2214
- })), A = () => {
2216
+ })), c = () => {
2215
2217
  s.value = !0, Oe(() => {
2216
2218
  if (a.value && f.value) {
2217
2219
  const d = f.value, g = a.value.getBoundingClientRect(), m = f.value.getBoundingClientRect(), _ = m.left < 0 ? m.left : 0, v = m.top < 0 ? m.top : 0, I = {
@@ -2223,7 +2225,7 @@ const i0 = (e, t = null) => {
2223
2225
  d.style.top = I[i.position].top + "px", d.style.left = I[i.position].left + "px";
2224
2226
  }
2225
2227
  });
2226
- }, c = () => {
2228
+ }, A = () => {
2227
2229
  s.value = !1, Oe(() => {
2228
2230
  const d = k(f);
2229
2231
  d && (d.style.top = "0", d.style.left = "0");
@@ -2234,8 +2236,8 @@ const i0 = (e, t = null) => {
2234
2236
  ref_key: "container",
2235
2237
  ref: a,
2236
2238
  class: "tooltip-wrapper",
2237
- onMouseover: A,
2238
- onMouseout: c
2239
+ onMouseover: c,
2240
+ onMouseout: A
2239
2241
  }, [
2240
2242
  ne(d.$slots, "default", {}, void 0, !0)
2241
2243
  ], 544),
@@ -2273,11 +2275,11 @@ const i0 = (e, t = null) => {
2273
2275
  }, ro = {
2274
2276
  key: 1,
2275
2277
  class: "chat-item__fixed pi pi-thumbtack"
2276
- }, co = {
2278
+ }, Ao = {
2277
2279
  key: 0,
2278
2280
  id: "noSelectButton",
2279
2281
  class: "chat-item__menu-button"
2280
- }, Ao = {
2282
+ }, co = {
2281
2283
  key: 1,
2282
2284
  id: "noSelectButton",
2283
2285
  class: "chat-item__menu-button"
@@ -2301,11 +2303,11 @@ const i0 = (e, t = null) => {
2301
2303
  s.value = !0;
2302
2304
  }, r = (h) => {
2303
2305
  s.value || h.target instanceof HTMLElement && h.target.id != "noSelectButton" && a("select", { chat: n.chat, dialog: null }), s.value = !1;
2304
- }, A = (h) => {
2306
+ }, c = (h) => {
2305
2307
  a("select", { chat: n.chat, dialog: h });
2306
- }, c = () => n.chat.isSelected ? "chat-item__selected" : "", d = (h) => h.isSelected ? "dialog__selected" : "", g = (h) => {
2308
+ }, A = () => n.chat.isSelected ? "chat-item__selected" : "", d = (h) => h.isSelected ? "dialog__selected" : "", g = (h) => {
2307
2309
  a("action", { chat: n.chat, ...h });
2308
- }, m = () => n.chat.dialogs.toSorted((h, w) => {
2310
+ }, m = () => !n.chat || !n.chat.dialogs || !Array.isArray(n.chat.dialogs) ? [] : [...n.chat.dialogs].sort((h, w) => {
2309
2311
  if (Number(h["lastActivity.timestamp"]) > Number(w["lastActivity.timestamp"])) return -1;
2310
2312
  if (Number(h["lastActivity.timestamp"]) < Number(w["lastActivity.timestamp"])) return 1;
2311
2313
  if (Number(h["lastActivity.timestamp"]) == Number(w["lastActivity.timestamp"])) return 0;
@@ -2327,7 +2329,7 @@ const i0 = (e, t = null) => {
2327
2329
  };
2328
2330
  return (h, w) => (l(), u("div", null, [
2329
2331
  o("div", {
2330
- class: x(["chat-item__container", c()]),
2332
+ class: x(["chat-item__container", A()]),
2331
2333
  onMouseenter: w[2] || (w[2] = (M) => f.value = !0),
2332
2334
  onMouseleave: j,
2333
2335
  onClick: r
@@ -2335,7 +2337,7 @@ const i0 = (e, t = null) => {
2335
2337
  o("div", Xi, [
2336
2338
  o("span", {
2337
2339
  class: "chat-item__status-user",
2338
- style: ce({ backgroundColor: n.chat.status })
2340
+ style: Ae({ backgroundColor: n.chat.status })
2339
2341
  }, null, 4),
2340
2342
  n.chat.avatar ? (l(), u("img", {
2341
2343
  key: 0,
@@ -2369,7 +2371,7 @@ const i0 = (e, t = null) => {
2369
2371
  e.chat.countUnread > 0 ? (l(), u("div", {
2370
2372
  key: 1,
2371
2373
  class: "chat-item__unread",
2372
- style: ce({ backgroundColor: e.chat.colorUnread ? e.chat.colorUnread : null })
2374
+ style: Ae({ backgroundColor: e.chat.colorUnread ? e.chat.colorUnread : null })
2373
2375
  }, D(e.chat.countUnread > 99 ? "99+" : e.chat.countUnread), 5)) : p("", !0),
2374
2376
  f.value && e.chat.actions ? (l(), L(Nn, {
2375
2377
  key: 2,
@@ -2402,13 +2404,13 @@ const i0 = (e, t = null) => {
2402
2404
  class: "chat-item__dialog-buttons",
2403
2405
  onClick: w[1] || (w[1] = (M) => a("expand", n.chat))
2404
2406
  }, [
2405
- e.chat.dialogsExpanded ? p("", !0) : (l(), u("button", co, w[5] || (w[5] = [
2407
+ e.chat.dialogsExpanded ? p("", !0) : (l(), u("button", Ao, w[5] || (w[5] = [
2406
2408
  o("span", {
2407
2409
  id: "noSelectButton",
2408
2410
  class: "pi pi-angle-down"
2409
2411
  }, null, -1)
2410
2412
  ]))),
2411
- e.chat.dialogsExpanded ? (l(), u("button", Ao, w[6] || (w[6] = [
2413
+ e.chat.dialogsExpanded ? (l(), u("button", co, w[6] || (w[6] = [
2412
2414
  o("span", {
2413
2415
  id: "noSelectButton",
2414
2416
  class: "pi pi-angle-up"
@@ -2420,7 +2422,7 @@ const i0 = (e, t = null) => {
2420
2422
  (l(!0), u(F, null, ie(m(), (M) => (l(), u("div", {
2421
2423
  key: M.dialogId,
2422
2424
  class: x(["dialog__item", d(M)]),
2423
- onClick: (T) => A(M)
2425
+ onClick: (T) => c(M)
2424
2426
  }, [
2425
2427
  M.icon ? (l(), u("img", {
2426
2428
  key: 0,
@@ -2436,13 +2438,13 @@ const i0 = (e, t = null) => {
2436
2438
  M.countUnread > 0 ? (l(), u("div", {
2437
2439
  key: 2,
2438
2440
  class: "chat-item__unread",
2439
- style: ce({ backgroundColor: M.colorUnread ? M.colorUnread : null })
2441
+ style: Ae({ backgroundColor: M.colorUnread ? M.colorUnread : null })
2440
2442
  }, D(M.countUnread > 99 ? "99+" : M.countUnread), 5)) : p("", !0)
2441
2443
  ], 10, go))), 128))
2442
2444
  ])) : p("", !0)
2443
2445
  ]));
2444
2446
  }
2445
- }), Bn = /* @__PURE__ */ R(bo, [["__scopeId", "data-v-ce022c87"]]), Mo = { class: "chat-filter__container" }, _o = ["placeholder"], Io = {
2447
+ }), Bn = /* @__PURE__ */ R(bo, [["__scopeId", "data-v-c612f981"]]), Mo = { class: "chat-filter__container" }, _o = ["placeholder"], Io = {
2446
2448
  __name: "ChatFilter",
2447
2449
  props: {
2448
2450
  placeholder: {
@@ -2509,8 +2511,8 @@ const i0 = (e, t = null) => {
2509
2511
  emits: ["closeTemplateWindow", "pasteTemplate"],
2510
2512
  setup(e, { emit: t }) {
2511
2513
  const n = e, a = Z("chatAppId"), { setMessageText: f } = Ne(a), s = () => {
2512
- i("closeTemplateWindow"), f(A.value.template);
2513
- }, i = t, r = b(null), A = b(null), c = b(""), d = b(), g = b(""), m = b(""), _ = b(""), v = b(!1), I = $(() => !!(v.value && (_.value == "grid" && m.value == "none" || m.value == "grid" && g.value == "none"))), y = $(() => !!(v.value && (g.value == "grid" && m.value == "none" || m.value == "grid" && _.value == "none"))), N = () => {
2514
+ i("closeTemplateWindow"), f(c.value.template);
2515
+ }, i = t, r = b(null), c = b(null), A = b(""), d = b(), g = b(""), m = b(""), _ = b(""), v = b(!1), I = $(() => !!(v.value && (_.value == "grid" && m.value == "none" || m.value == "grid" && g.value == "none"))), y = $(() => !!(v.value && (g.value == "grid" && m.value == "none" || m.value == "grid" && _.value == "none"))), N = () => {
2514
2516
  v.value && (m.value == "grid" ? h() : _.value == "grid" && M());
2515
2517
  }, j = () => {
2516
2518
  v.value && (m.value == "grid" ? w() : g.value == "grid" && M());
@@ -2527,11 +2529,11 @@ const i0 = (e, t = null) => {
2527
2529
  const O = document.getElementById("template-selector-container-" + a), z = window.getComputedStyle(O);
2528
2530
  g.value = z.getPropertyValue("--chotto-template-first-col-display"), m.value = z.getPropertyValue("--chotto-template-second-col-display"), _.value = z.getPropertyValue("--chotto-template-third-col-display");
2529
2531
  }, S = (O) => {
2530
- n.templates.forEach((z) => z.isSelected = !1), O.isSelected = !0, A.value = O, w();
2532
+ n.templates.forEach((z) => z.isSelected = !1), O.isSelected = !0, c.value = O, w();
2531
2533
  }, U = () => {
2532
2534
  M(), n.templates.forEach((O) => O.isSelected = !1);
2533
2535
  }, V = $(() => r.value ? n.templates.filter((O) => O.groupId === r.value.groupId) : n.templates), Q = $(() => {
2534
- const O = c.value.trim().toLowerCase();
2536
+ const O = A.value.trim().toLowerCase();
2535
2537
  return V.value.filter((z) => z.title.toLowerCase().includes(O) || z.template.toLowerCase().includes(O));
2536
2538
  }), G = new ResizeObserver((O) => {
2537
2539
  const z = O[0].target.clientWidth;
@@ -2609,12 +2611,12 @@ const i0 = (e, t = null) => {
2609
2611
  }, [
2610
2612
  o("div", Bo, [
2611
2613
  re(o("input", {
2612
- "onUpdate:modelValue": z[2] || (z[2] = (X) => c.value = X),
2614
+ "onUpdate:modelValue": z[2] || (z[2] = (X) => A.value = X),
2613
2615
  class: "template-selector__searching-input",
2614
2616
  type: "text",
2615
2617
  placeholder: "Поиск шаблона"
2616
2618
  }, null, 512), [
2617
- [ot, c.value]
2619
+ [ot, A.value]
2618
2620
  ])
2619
2621
  ]),
2620
2622
  o("div", Ro, [
@@ -2637,9 +2639,9 @@ const i0 = (e, t = null) => {
2637
2639
  class: "template-selector__third-col"
2638
2640
  }, [
2639
2641
  o("div", Wo, [
2640
- A.value ? (l(), u("div", Ko, [
2642
+ c.value ? (l(), u("div", Ko, [
2641
2643
  o("div", Jo, [
2642
- o("p", Go, D(A.value.template), 1),
2644
+ o("p", Go, D(c.value.template), 1),
2643
2645
  z[3] || (z[3] = o("p", { class: "template-selector__preview-time" }, " 22:22 ", -1))
2644
2646
  ])
2645
2647
  ])) : (l(), u("p", Zo, " Предпросмотр шаблона "))
@@ -2685,9 +2687,9 @@ const i0 = (e, t = null) => {
2685
2687
  t.mode == "click" && t.state == "active" && (s.value.style.display == "none" ? s.value.style.display = "inherit" : s.value.style.display == "inherit" && (s.value.style.display = "none"));
2686
2688
  }, r = () => {
2687
2689
  t.mode == "hover" && t.state == "active" && (s.value.style.display = "inherit");
2688
- }, A = () => {
2689
- t.mode == "hover" && t.state == "active" && (s.value.style.display = "none");
2690
2690
  }, c = () => {
2691
+ t.mode == "hover" && t.state == "active" && (s.value.style.display = "none");
2692
+ }, A = () => {
2691
2693
  s.value.style.display = "none";
2692
2694
  };
2693
2695
  return ue(() => {
@@ -2700,7 +2702,7 @@ const i0 = (e, t = null) => {
2700
2702
  class: x(["button-template", { "button-template-disabled": e.state == "disabled" }]),
2701
2703
  onClick: i,
2702
2704
  onMouseover: r,
2703
- onMouseout: A
2705
+ onMouseout: c
2704
2706
  }, g[0] || (g[0] = [
2705
2707
  o("span", { class: "pi pi-objects-column" }, null, -1)
2706
2708
  ]), 34)),
@@ -2710,13 +2712,13 @@ const i0 = (e, t = null) => {
2710
2712
  ref_key: "template",
2711
2713
  ref: s,
2712
2714
  onMouseover: r,
2713
- onMouseout: A
2715
+ onMouseout: c
2714
2716
  }, [
2715
2717
  H(el, {
2716
2718
  templates: e.templates,
2717
2719
  "group-templates": e.groupTemplates,
2718
2720
  "elevated-window": e.elevatedWindow,
2719
- onCloseTemplateWindow: c
2721
+ onCloseTemplateWindow: A
2720
2722
  }, null, 8, ["templates", "group-templates", "elevated-window"])
2721
2723
  ], 544), [
2722
2724
  [De, t.state === "active"]
@@ -2759,13 +2761,13 @@ const i0 = (e, t = null) => {
2759
2761
  m.getRangeAt && m.rangeCount && m.getRangeAt(0).selectNodeContents(g.target);
2760
2762
  }
2761
2763
  };
2762
- function A() {
2764
+ function c() {
2763
2765
  s.value = i.value.innerText.trim(), a.value != s.value && (s.value != "" ? f("edit", [s.value, a.index]) : a.isFilled ? Oe(() => {
2764
2766
  s.value = a.value;
2765
2767
  }) : s.value = "Заполнить");
2766
2768
  }
2767
- function c(g) {
2768
- g.target.blur(), A();
2769
+ function A(g) {
2770
+ g.target.blur(), c();
2769
2771
  }
2770
2772
  function d(g) {
2771
2773
  g.target == document.getElementById("placeholder" + n + a.index) && (g.key === "Escape" && g.target.blur(), g.key == "Tab" && (g.target.blur(), document.getElementById("placeholder" + n + (a.index + 1)) && (g.preventDefault(), document.getElementById("placeholder" + n + (a.index + 1)).focus())));
@@ -2780,9 +2782,9 @@ const i0 = (e, t = null) => {
2780
2782
  ref: i,
2781
2783
  contenteditable: "",
2782
2784
  class: x([{ filled: e.isFilled, empty: !e.isFilled }, "placeholder"]),
2783
- onKeydown: ea(c, ["enter"]),
2785
+ onKeydown: ea(A, ["enter"]),
2784
2786
  onFocus: r,
2785
- onBlur: A
2787
+ onBlur: c
2786
2788
  }, D(s.value), 43, nl));
2787
2789
  }
2788
2790
  }, fl = /* @__PURE__ */ R(al, [["__scopeId", "data-v-1c7b8fd0"]]), sl = ["accept"], il = { class: "attachment-section__info" }, ol = {
@@ -2802,7 +2804,7 @@ const i0 = (e, t = null) => {
2802
2804
  },
2803
2805
  emits: ["fileSelected"],
2804
2806
  setup(e, { emit: t }) {
2805
- const n = e, a = b(Z("filebumpUrl")), f = b(null), s = b(), i = b(""), r = b(""), A = b(), c = t, d = () => {
2807
+ const n = e, a = b(Z("filebumpUrl")), f = b(null), s = b(), i = b(""), r = b(""), c = b(), A = t, d = () => {
2806
2808
  s.value && r.value != "success" && s.value.click();
2807
2809
  }, g = {
2808
2810
  DOCUMENT: {
@@ -2839,12 +2841,12 @@ const i0 = (e, t = null) => {
2839
2841
  f.value = I, r.value = "uploading";
2840
2842
  const j = k(a.value);
2841
2843
  Tn(typeof j == "string" ? j : null, I).then((h) => {
2842
- r.value = h.status, h.status == "success" && (c("fileSelected", {
2844
+ r.value = h.status, h.status == "success" && (A("fileSelected", {
2843
2845
  url: h.url,
2844
2846
  filename: h.name,
2845
2847
  filesize: h.size,
2846
2848
  filetype: h.type
2847
- }), h.preview && (A.value = {
2849
+ }), h.preview && (c.value = {
2848
2850
  previewUrl: h.preview.previewUrl,
2849
2851
  isImage: h.preview.isImage,
2850
2852
  isVideo: h.preview.isVideo,
@@ -2861,7 +2863,7 @@ const i0 = (e, t = null) => {
2861
2863
  return ee(
2862
2864
  () => r.value,
2863
2865
  (v) => {
2864
- v === "" && (s.value && (s.value.value = ""), f.value = null, c("fileSelected", null));
2866
+ v === "" && (s.value && (s.value.value = ""), f.value = null, A("fileSelected", null));
2865
2867
  }
2866
2868
  ), ee(
2867
2869
  () => n.templateId,
@@ -2888,15 +2890,15 @@ const i0 = (e, t = null) => {
2888
2890
  I[0] || (I[0] = o("p", { class: "attachment-section__title" }, " Прикрепить файл ", -1)),
2889
2891
  o("p", il, D(g[e.type].text), 1)
2890
2892
  ])
2891
- ], 2)) : r.value === "success" && A.value ? (l(), L(Dn, {
2893
+ ], 2)) : r.value === "success" && c.value ? (l(), L(Dn, {
2892
2894
  key: 1,
2893
- "file-info": A.value,
2895
+ "file-info": c.value,
2894
2896
  onReset: _
2895
2897
  }, null, 8, ["file-info"])) : p("", !0),
2896
2898
  i.value ? (l(), u("div", ol, D(i.value), 1)) : p("", !0)
2897
2899
  ], 64));
2898
2900
  }
2899
- }), rl = /* @__PURE__ */ R(ll, [["__scopeId", "data-v-f13db4f8"]]), cl = { class: "quick-reply-buttons" }, Al = ["onClick"], ul = { class: "quick-reply-buttons__line" }, dl = /* @__PURE__ */ Y({
2901
+ }), rl = /* @__PURE__ */ R(ll, [["__scopeId", "data-v-f13db4f8"]]), Al = { class: "quick-reply-buttons" }, cl = ["onClick"], ul = { class: "quick-reply-buttons__line" }, dl = /* @__PURE__ */ Y({
2900
2902
  __name: "WABAQuickReplyButtons",
2901
2903
  props: {
2902
2904
  buttons: {
@@ -2913,20 +2915,20 @@ const i0 = (e, t = null) => {
2913
2915
  }, s = (i) => {
2914
2916
  i == 2 && a.buttons.length > 3 && n("selectAllVariants");
2915
2917
  };
2916
- return (i, r) => (l(), u("div", cl, [
2917
- (l(!0), u(F, null, ie(e.buttons.slice(0, 3), (A, c) => (l(), u("div", {
2918
- key: c,
2918
+ return (i, r) => (l(), u("div", Al, [
2919
+ (l(!0), u(F, null, ie(e.buttons.slice(0, 3), (c, A) => (l(), u("div", {
2920
+ key: A,
2919
2921
  class: "quick-reply-buttons__preview-action",
2920
- onClick: (d) => s(c)
2922
+ onClick: (d) => s(A)
2921
2923
  }, [
2922
2924
  r[0] || (r[0] = o("hr", { class: "quick-reply-buttons__separator" }, null, -1)),
2923
2925
  o("div", ul, [
2924
2926
  o("span", {
2925
- class: x(["quick-reply-buttons__icon pi pi-arrow-up-left", c == 2 && e.buttons.length > 3 ? "pi-list" : f[A.type]])
2927
+ class: x(["quick-reply-buttons__icon pi pi-arrow-up-left", A == 2 && e.buttons.length > 3 ? "pi-list" : f[c.type]])
2926
2928
  }, null, 2),
2927
- o("p", null, D(c == 2 && e.buttons.length > 3 ? "Смотреть все варианты" : A.text), 1)
2929
+ o("p", null, D(A == 2 && e.buttons.length > 3 ? "Смотреть все варианты" : c.text), 1)
2928
2930
  ])
2929
- ], 8, Al))), 128))
2931
+ ], 8, cl))), 128))
2930
2932
  ]));
2931
2933
  }
2932
2934
  }), gl = /* @__PURE__ */ R(dl, [["__scopeId", "data-v-7faf1653"]]), ml = { class: "separated-quick-buttons" }, pl = { class: "separated-quick-buttons__title" }, hl = { class: "separated-quick-buttons__actions scrollbar" }, yl = /* @__PURE__ */ Y({
@@ -3021,15 +3023,15 @@ const i0 = (e, t = null) => {
3021
3023
  g.value ? (C.text = Qe.value, C.templateId = d.value.templateId, C.values = We.value, C.file = g.value) : (C.text = Qe.value, C.templateId = d.value.templateId, C.values = We.value), d.value.buttons && (C.buttons = d.value.buttons), f("sendWabaValues", C), pe();
3022
3024
  }, r = (C) => {
3023
3025
  g.value = C;
3024
- }, A = b(null), c = b(null), d = b(null), g = b(null), m = b(""), _ = b(!1), v = () => {
3025
- _.value = !_.value, _.value ? (A.value.scrollTop = 0, A.value.style["overflow-y"] = "hidden") : A.value.style["overflow-y"] = "scroll";
3026
+ }, c = b(null), A = b(null), d = b(null), g = b(null), m = b(""), _ = b(!1), v = () => {
3027
+ _.value = !_.value, _.value ? (c.value.scrollTop = 0, c.value.style["overflow-y"] = "hidden") : c.value.style["overflow-y"] = "scroll";
3026
3028
  }, I = (C) => {
3027
3029
  Object.keys(h).forEach((J) => {
3028
3030
  h[J] = "";
3029
3031
  }), g.value = null, n.wabaTemplates.forEach((J) => J.isSelected = !1), C.isSelected = !0, d.value = C, _.value = !1, ae();
3030
3032
  }, y = () => {
3031
3033
  te(), n.wabaTemplates.forEach((C) => C.isSelected = !1);
3032
- }, N = $(() => c.value ? n.wabaTemplates.filter((C) => C.groupId === c.value.groupId) : n.wabaTemplates), j = $(() => {
3034
+ }, N = $(() => A.value ? n.wabaTemplates.filter((C) => C.groupId === A.value.groupId) : n.wabaTemplates), j = $(() => {
3033
3035
  const C = m.value.trim().toLowerCase();
3034
3036
  return N.value.filter((J) => J.title.toLowerCase().includes(C) || J.template.toLowerCase().includes(C));
3035
3037
  }), h = af({}), w = b(null), M = b(), T = b(""), S = b(""), U = b(""), V = b(!1), Q = $(() => !!(V.value && (U.value == "grid" && S.value == "none" || S.value == "grid" && T.value == "none"))), G = $(() => !!(V.value && (T.value == "grid" && S.value == "none" || S.value == "grid" && U.value == "none"))), O = () => {
@@ -3124,7 +3126,7 @@ const i0 = (e, t = null) => {
3124
3126
  o("ul", Tl, [
3125
3127
  (l(!0), u(F, null, ie(e.groupTemplates, (P, le) => (l(), u("li", {
3126
3128
  key: le,
3127
- class: x(["template-selector__item-group", { "template-selector__item-selected": c.value === P }]),
3129
+ class: x(["template-selector__item-group", { "template-selector__item-selected": A.value === P }]),
3128
3130
  onClick: y
3129
3131
  }, [
3130
3132
  o("label", El, [
@@ -3136,12 +3138,12 @@ const i0 = (e, t = null) => {
3136
3138
  }, null, 8, jl)) : p("", !0),
3137
3139
  re(o("input", {
3138
3140
  id: le,
3139
- "onUpdate:modelValue": J[0] || (J[0] = (xe) => c.value = xe),
3141
+ "onUpdate:modelValue": J[0] || (J[0] = (xe) => A.value = xe),
3140
3142
  value: P,
3141
3143
  class: "template-selector__input-group",
3142
3144
  type: "radio"
3143
3145
  }, null, 8, xl), [
3144
- [nf, c.value]
3146
+ [nf, A.value]
3145
3147
  ]),
3146
3148
  o("span", null, D(P.title), 1)
3147
3149
  ])
@@ -3177,7 +3179,7 @@ const i0 = (e, t = null) => {
3177
3179
  o("div", Ql, [
3178
3180
  o("div", {
3179
3181
  ref_key: "previewContainer",
3180
- ref: A,
3182
+ ref: c,
3181
3183
  class: "template-selector__preview-container"
3182
3184
  }, [
3183
3185
  fe.value.length > 0 ? (l(), u("div", $l, [
@@ -3264,9 +3266,9 @@ const i0 = (e, t = null) => {
3264
3266
  setup(e, { emit: t }) {
3265
3267
  const n = e;
3266
3268
  et("filebumpUrl", n.filebumpUrl);
3267
- const a = Z("chatAppId"), { getMessage: f } = Ne(a), s = b(null), i = b(null), r = t, A = () => {
3269
+ const a = Z("chatAppId"), { getMessage: f } = Ne(a), s = b(null), i = b(null), r = t, c = () => {
3268
3270
  n.mode == "click" && n.state == "active" && (i.value.style.display == "none" ? i.value.style.display = "inherit" : i.value.style.display == "inherit" && (i.value.style.display = "none"));
3269
- }, c = () => {
3271
+ }, A = () => {
3270
3272
  n.mode == "hover" && n.state == "active" && (i.value.style.display = "inherit");
3271
3273
  }, d = () => {
3272
3274
  n.mode == "hover" && n.state == "active" && (i.value.style.display = "none");
@@ -3285,8 +3287,8 @@ const i0 = (e, t = null) => {
3285
3287
  ref_key: "templateButton",
3286
3288
  ref: s,
3287
3289
  class: x(["button-template", { "button-template-disabled": e.state == "disabled" }]),
3288
- onClick: A,
3289
- onMouseover: c,
3290
+ onClick: c,
3291
+ onMouseover: A,
3290
3292
  onMouseout: d
3291
3293
  }, v[0] || (v[0] = [
3292
3294
  o("span", { class: "pi pi-code" }, null, -1)
@@ -3294,7 +3296,7 @@ const i0 = (e, t = null) => {
3294
3296
  o("div", {
3295
3297
  ref_key: "template",
3296
3298
  ref: i,
3297
- onMouseover: c,
3299
+ onMouseover: A,
3298
3300
  onMouseout: d
3299
3301
  }, [
3300
3302
  H(Jl, {
@@ -3307,7 +3309,7 @@ const i0 = (e, t = null) => {
3307
3309
  ], 544)
3308
3310
  ], 64));
3309
3311
  }
3310
- }, c0 = /* @__PURE__ */ R(Gl, [["__scopeId", "data-v-a6de90d6"]]), yf = "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64", vf = {
3312
+ }, A0 = /* @__PURE__ */ R(Gl, [["__scopeId", "data-v-a6de90d6"]]), yf = "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64", vf = {
3311
3313
  recent: "Recently used",
3312
3314
  smileys_people: "Smiles & People",
3313
3315
  animals_nature: "Animals & Nature",
@@ -9139,7 +9141,7 @@ const i0 = (e, t = null) => {
9139
9141
  ],
9140
9142
  u: "1f3fa"
9141
9143
  }
9142
- ], cr = [
9144
+ ], Ar = [
9143
9145
  {
9144
9146
  n: [
9145
9147
  "jack-o-lantern",
@@ -9545,7 +9547,7 @@ const i0 = (e, t = null) => {
9545
9547
  ],
9546
9548
  u: "1f3b4"
9547
9549
  }
9548
- ], Ar = [
9550
+ ], cr = [
9549
9551
  {
9550
9552
  n: [
9551
9553
  "earth globe europe-africa",
@@ -15258,8 +15260,8 @@ var mr = {
15258
15260
  smileys_people: or,
15259
15261
  animals_nature: lr,
15260
15262
  food_drink: rr,
15261
- activities: cr,
15262
- travel_places: Ar,
15263
+ activities: Ar,
15264
+ travel_places: cr,
15263
15265
  objects: ur,
15264
15266
  symbols: dr,
15265
15267
  flags: gr
@@ -15404,16 +15406,16 @@ function qe(e) {
15404
15406
  return t !== e && (Rn.set(e, t), ra.set(t, e)), t;
15405
15407
  }
15406
15408
  const Qn = (e) => ra.get(e);
15407
- function ca(e, t, { blocked: n, upgrade: a, blocking: f, terminated: s } = {}) {
15409
+ function Aa(e, t, { blocked: n, upgrade: a, blocking: f, terminated: s } = {}) {
15408
15410
  const i = indexedDB.open(e, t), r = qe(i);
15409
- return a && i.addEventListener("upgradeneeded", (A) => {
15410
- a(qe(i.result), A.oldVersion, A.newVersion, qe(i.transaction), A);
15411
- }), n && i.addEventListener("blocked", (A) => n(
15412
- A.oldVersion,
15413
- A.newVersion,
15414
- A
15415
- )), r.then((A) => {
15416
- s && A.addEventListener("close", () => s()), f && A.addEventListener("versionchange", (c) => f(c.oldVersion, c.newVersion, c));
15411
+ return a && i.addEventListener("upgradeneeded", (c) => {
15412
+ a(qe(i.result), c.oldVersion, c.newVersion, qe(i.transaction), c);
15413
+ }), n && i.addEventListener("blocked", (c) => n(
15414
+ c.oldVersion,
15415
+ c.newVersion,
15416
+ c
15417
+ )), r.then((c) => {
15418
+ s && c.addEventListener("close", () => s()), f && c.addEventListener("versionchange", (A) => f(A.oldVersion, A.newVersion, A));
15417
15419
  }).catch(() => {
15418
15420
  }), r;
15419
15421
  }
@@ -15427,11 +15429,11 @@ function $a(e, t) {
15427
15429
  if (!(n in (a ? IDBIndex : IDBObjectStore).prototype) || !(f || wr.includes(n)))
15428
15430
  return;
15429
15431
  const s = async function(i, ...r) {
15430
- const A = this.transaction(i, f ? "readwrite" : "readonly");
15431
- let c = A.store;
15432
- return a && (c = c.index(r.shift())), (await Promise.all([
15433
- c[n](...r),
15434
- f && A.done
15432
+ const c = this.transaction(i, f ? "readwrite" : "readonly");
15433
+ let A = c.store;
15434
+ return a && (A = A.index(r.shift())), (await Promise.all([
15435
+ A[n](...r),
15436
+ f && c.done
15435
15437
  ]))[0];
15436
15438
  };
15437
15439
  return $n.set(t, s), s;
@@ -15441,9 +15443,9 @@ Mr((e) => ({
15441
15443
  get: (t, n, a) => $a(t, n) || e.get(t, n, a),
15442
15444
  has: (t, n) => !!$a(t, n) || e.has(t, n)
15443
15445
  }));
15444
- const Aa = "EMJ", tt = "emojis", ua = 3;
15446
+ const ca = "EMJ", tt = "emojis", ua = 3;
15445
15447
  async function Nr() {
15446
- (await ca(Aa, ua, {
15448
+ (await Aa(ca, ua, {
15447
15449
  upgrade(t, n) {
15448
15450
  t.objectStoreNames.contains(tt) || t.createObjectStore(tt, {
15449
15451
  keyPath: "id",
@@ -15469,7 +15471,7 @@ const Dr = {
15469
15471
  groupIcons: {}
15470
15472
  };
15471
15473
  async function Tr() {
15472
- return await (await ca(Aa, ua)).transaction(tt, "readonly").objectStore(tt).getAll();
15474
+ return await (await Aa(ca, ua)).transaction(tt, "readonly").objectStore(tt).getAll();
15473
15475
  }
15474
15476
  function Er() {
15475
15477
  const e = af({
@@ -15515,7 +15517,7 @@ function Er() {
15515
15517
  }
15516
15518
  function a() {
15517
15519
  n().then((g) => {
15518
- e.recent = g, c();
15520
+ e.recent = g, A();
15519
15521
  });
15520
15522
  }
15521
15523
  const f = (g) => {
@@ -15526,11 +15528,11 @@ function Er() {
15526
15528
  e.activeGroup = g;
15527
15529
  }, r = (g = _n) => {
15528
15530
  e.skinTone = g;
15529
- }, A = (g) => {
15531
+ }, c = (g) => {
15530
15532
  e.options = Object.assign({}, e.options, g), t();
15531
15533
  };
15532
- async function c() {
15533
- (await ca(Aa, ua)).transaction(tt, "readwrite").objectStore(tt).put({
15534
+ async function A() {
15535
+ (await Aa(ca, ua)).transaction(tt, "readwrite").objectStore(tt).put({
15534
15536
  id: 0,
15535
15537
  value: JSON.stringify(e.recent)
15536
15538
  });
@@ -15542,7 +15544,7 @@ function Er() {
15542
15544
  if (m > 0 && e.recent.splice(m, 1), m === 0)
15543
15545
  return;
15544
15546
  const _ = { u: g.u, n: ff(g.n) };
15545
- e.recent = [_, ...e.recent], e.recent.length > 24 && (e.recent.length = 24), c();
15547
+ e.recent = [_, ...e.recent], e.recent.length > 24 && (e.recent.length = 24), A();
15546
15548
  };
15547
15549
  return {
15548
15550
  state: Ff(e),
@@ -15550,7 +15552,7 @@ function Er() {
15550
15552
  updateEmoji: s,
15551
15553
  updateActiveGroup: i,
15552
15554
  updateSkinTone: r,
15553
- updateOptions: A,
15555
+ updateOptions: c,
15554
15556
  updateSelect: d
15555
15557
  };
15556
15558
  }
@@ -15610,11 +15612,11 @@ function Yr(e) {
15610
15612
  };
15611
15613
  return Object.assign(t.elements.popper.style, n.popper), t.styles = n, t.elements.arrow && Object.assign(t.elements.arrow.style, n.arrow), function() {
15612
15614
  Object.keys(t.elements).forEach(function(a) {
15613
- var f = t.elements[a], s = t.attributes[a] || {}, i = Object.keys(t.styles.hasOwnProperty(a) ? t.styles[a] : n[a]), r = i.reduce(function(A, c) {
15614
- return A[c] = "", A;
15615
+ var f = t.elements[a], s = t.attributes[a] || {}, i = Object.keys(t.styles.hasOwnProperty(a) ? t.styles[a] : n[a]), r = i.reduce(function(c, A) {
15616
+ return c[A] = "", c;
15615
15617
  }, {});
15616
- !Ie(f) || !ze(f) || (Object.assign(f.style, r), Object.keys(s).forEach(function(A) {
15617
- f.removeAttribute(A);
15618
+ !Ie(f) || !ze(f) || (Object.assign(f.style, r), Object.keys(s).forEach(function(c) {
15619
+ f.removeAttribute(c);
15618
15620
  }));
15619
15621
  });
15620
15622
  };
@@ -15739,9 +15741,9 @@ var Wr = function(t, n) {
15739
15741
  })) : t, Tf(typeof t != "number" ? t : Ef(t, Vt));
15740
15742
  };
15741
15743
  function Kr(e) {
15742
- var t, n = e.state, a = e.name, f = e.options, s = n.elements.arrow, i = n.modifiersData.popperOffsets, r = Ce(n.placement), A = ma(r), c = [me, ke].indexOf(r) >= 0, d = c ? "height" : "width";
15744
+ var t, n = e.state, a = e.name, f = e.options, s = n.elements.arrow, i = n.modifiersData.popperOffsets, r = Ce(n.placement), c = ma(r), A = [me, ke].indexOf(r) >= 0, d = A ? "height" : "width";
15743
15745
  if (!(!s || !i)) {
15744
- var g = Wr(f.padding, n), m = ga(s), _ = A === "y" ? ge : me, v = A === "y" ? we : ke, I = n.rects.reference[d] + n.rects.reference[A] - i[A] - n.rects.popper[d], y = i[A] - n.rects.reference[A], N = St(s), j = N ? A === "y" ? N.clientHeight || 0 : N.clientWidth || 0 : 0, h = I / 2 - y / 2, w = g[_], M = j - m[d] - g[v], T = j / 2 - m[d] / 2 + h, S = It(w, T, M), U = A;
15746
+ var g = Wr(f.padding, n), m = ga(s), _ = c === "y" ? ge : me, v = c === "y" ? we : ke, I = n.rects.reference[d] + n.rects.reference[c] - i[c] - n.rects.popper[d], y = i[c] - n.rects.reference[c], N = St(s), j = N ? c === "y" ? N.clientHeight || 0 : N.clientWidth || 0 : 0, h = I / 2 - y / 2, w = g[_], M = j - m[d] - g[v], T = j / 2 - m[d] / 2 + h, S = It(w, T, M), U = c;
15745
15747
  n.modifiersData[a] = (t = {}, t[U] = S, t.centerOffset = S - T, t);
15746
15748
  }
15747
15749
  }
@@ -15775,31 +15777,31 @@ function Xr(e) {
15775
15777
  };
15776
15778
  }
15777
15779
  function Pa(e) {
15778
- var t, n = e.popper, a = e.popperRect, f = e.placement, s = e.variation, i = e.offsets, r = e.position, A = e.gpuAcceleration, c = e.adaptive, d = e.roundOffsets, g = e.isFixed, m = d === !0 ? Xr(i) : typeof d == "function" ? d(i) : i, _ = m.x, v = _ === void 0 ? 0 : _, I = m.y, y = I === void 0 ? 0 : I, N = i.hasOwnProperty("x"), j = i.hasOwnProperty("y"), h = me, w = ge, M = window;
15779
- if (c) {
15780
+ var t, n = e.popper, a = e.popperRect, f = 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 ? Xr(i) : typeof d == "function" ? d(i) : i, _ = m.x, v = _ === void 0 ? 0 : _, I = m.y, y = I === void 0 ? 0 : I, N = i.hasOwnProperty("x"), j = i.hasOwnProperty("y"), h = me, w = ge, M = window;
15781
+ if (A) {
15780
15782
  var T = St(n), S = "clientHeight", U = "clientWidth";
15781
15783
  if (T === je(n) && (T = He(n), Le(T).position !== "static" && r === "absolute" && (S = "scrollHeight", U = "scrollWidth")), T = T, f === ge || (f === me || f === ke) && s === Et) {
15782
15784
  w = we;
15783
15785
  var V = g && M.visualViewport ? M.visualViewport.height : T[S];
15784
- y -= V - a.height, y *= A ? 1 : -1;
15786
+ y -= V - a.height, y *= c ? 1 : -1;
15785
15787
  }
15786
15788
  if (f === me || (f === ge || f === we) && s === Et) {
15787
15789
  h = ke;
15788
15790
  var Q = g && M.visualViewport ? M.visualViewport.width : T[U];
15789
- v -= Q - a.width, v *= A ? 1 : -1;
15791
+ v -= Q - a.width, v *= c ? 1 : -1;
15790
15792
  }
15791
15793
  }
15792
15794
  var G = Object.assign({
15793
15795
  position: r
15794
- }, c && Zr);
15795
- if (A) {
15796
+ }, A && Zr);
15797
+ if (c) {
15796
15798
  var O;
15797
15799
  return Object.assign({}, G, (O = {}, O[w] = j ? "0" : "", O[h] = N ? "0" : "", O.transform = (M.devicePixelRatio || 1) <= 1 ? "translate(" + v + "px, " + y + "px)" : "translate3d(" + v + "px, " + y + "px, 0)", O));
15798
15800
  }
15799
15801
  return Object.assign({}, G, (t = {}, t[w] = j ? y + "px" : "", t[h] = N ? v + "px" : "", t.transform = "", t));
15800
15802
  }
15801
- function ec(e) {
15802
- var t = e.state, n = e.options, a = n.gpuAcceleration, f = a === void 0 ? !0 : a, s = n.adaptive, i = s === void 0 ? !0 : s, r = n.roundOffsets, A = r === void 0 ? !0 : r, c = {
15803
+ function eA(e) {
15804
+ var t = e.state, n = e.options, a = n.gpuAcceleration, f = a === void 0 ? !0 : a, s = n.adaptive, i = s === void 0 ? !0 : s, r = n.roundOffsets, c = r === void 0 ? !0 : r, A = {
15803
15805
  placement: Ce(t.placement),
15804
15806
  variation: it(t.placement),
15805
15807
  popper: t.elements.popper,
@@ -15807,48 +15809,48 @@ function ec(e) {
15807
15809
  gpuAcceleration: f,
15808
15810
  isFixed: t.options.strategy === "fixed"
15809
15811
  };
15810
- t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, Pa(Object.assign({}, c, {
15812
+ t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, Pa(Object.assign({}, A, {
15811
15813
  offsets: t.modifiersData.popperOffsets,
15812
15814
  position: t.options.strategy,
15813
15815
  adaptive: i,
15814
- roundOffsets: A
15815
- })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, Pa(Object.assign({}, c, {
15816
+ roundOffsets: c
15817
+ })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, Pa(Object.assign({}, A, {
15816
15818
  offsets: t.modifiersData.arrow,
15817
15819
  position: "absolute",
15818
15820
  adaptive: !1,
15819
- roundOffsets: A
15821
+ roundOffsets: c
15820
15822
  })))), t.attributes.popper = Object.assign({}, t.attributes.popper, {
15821
15823
  "data-popper-placement": t.placement
15822
15824
  });
15823
15825
  }
15824
- var tc = {
15826
+ var tA = {
15825
15827
  name: "computeStyles",
15826
15828
  enabled: !0,
15827
15829
  phase: "beforeWrite",
15828
- fn: ec,
15830
+ fn: eA,
15829
15831
  data: {}
15830
15832
  }, Yt = {
15831
15833
  passive: !0
15832
15834
  };
15833
- function nc(e) {
15834
- var t = e.state, n = e.instance, a = e.options, f = a.scroll, s = f === void 0 ? !0 : f, i = a.resize, r = i === void 0 ? !0 : i, A = je(t.elements.popper), c = [].concat(t.scrollParents.reference, t.scrollParents.popper);
15835
- return s && c.forEach(function(d) {
15835
+ function nA(e) {
15836
+ var t = e.state, n = e.instance, a = e.options, f = a.scroll, s = f === void 0 ? !0 : f, i = a.resize, r = i === void 0 ? !0 : i, c = je(t.elements.popper), A = [].concat(t.scrollParents.reference, t.scrollParents.popper);
15837
+ return s && A.forEach(function(d) {
15836
15838
  d.addEventListener("scroll", n.update, Yt);
15837
- }), r && A.addEventListener("resize", n.update, Yt), function() {
15838
- s && c.forEach(function(d) {
15839
+ }), r && c.addEventListener("resize", n.update, Yt), function() {
15840
+ s && A.forEach(function(d) {
15839
15841
  d.removeEventListener("scroll", n.update, Yt);
15840
- }), r && A.removeEventListener("resize", n.update, Yt);
15842
+ }), r && c.removeEventListener("resize", n.update, Yt);
15841
15843
  };
15842
15844
  }
15843
- var ac = {
15845
+ var aA = {
15844
15846
  name: "eventListeners",
15845
15847
  enabled: !0,
15846
15848
  phase: "write",
15847
15849
  fn: function() {
15848
15850
  },
15849
- effect: nc,
15851
+ effect: nA,
15850
15852
  data: {}
15851
- }, fc = {
15853
+ }, fA = {
15852
15854
  left: "right",
15853
15855
  right: "left",
15854
15856
  bottom: "top",
@@ -15856,16 +15858,16 @@ var ac = {
15856
15858
  };
15857
15859
  function qt(e) {
15858
15860
  return e.replace(/left|right|bottom|top/g, function(t) {
15859
- return fc[t];
15861
+ return fA[t];
15860
15862
  });
15861
15863
  }
15862
- var sc = {
15864
+ var sA = {
15863
15865
  start: "end",
15864
15866
  end: "start"
15865
15867
  };
15866
15868
  function qa(e) {
15867
15869
  return e.replace(/start|end/g, function(t) {
15868
- return sc[t];
15870
+ return sA[t];
15869
15871
  });
15870
15872
  }
15871
15873
  function pa(e) {
@@ -15878,7 +15880,7 @@ function pa(e) {
15878
15880
  function ha(e) {
15879
15881
  return st(He(e)).left + pa(e).scrollLeft;
15880
15882
  }
15881
- function ic(e) {
15883
+ function iA(e) {
15882
15884
  var t = je(e), n = He(e), a = t.visualViewport, f = n.clientWidth, s = n.clientHeight, i = 0, r = 0;
15883
15885
  return a && (f = a.width, s = a.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (i = a.offsetLeft, r = a.offsetTop)), {
15884
15886
  width: f,
@@ -15887,13 +15889,13 @@ function ic(e) {
15887
15889
  y: r
15888
15890
  };
15889
15891
  }
15890
- function oc(e) {
15891
- var t, n = He(e), a = pa(e), f = (t = e.ownerDocument) == null ? void 0 : t.body, s = Ze(n.scrollWidth, n.clientWidth, f ? f.scrollWidth : 0, f ? f.clientWidth : 0), i = Ze(n.scrollHeight, n.clientHeight, f ? f.scrollHeight : 0, f ? f.clientHeight : 0), r = -a.scrollLeft + ha(e), A = -a.scrollTop;
15892
+ function oA(e) {
15893
+ var t, n = He(e), a = pa(e), f = (t = e.ownerDocument) == null ? void 0 : t.body, s = Ze(n.scrollWidth, n.clientWidth, f ? f.scrollWidth : 0, f ? f.clientWidth : 0), i = Ze(n.scrollHeight, n.clientHeight, f ? f.scrollHeight : 0, f ? f.clientHeight : 0), r = -a.scrollLeft + ha(e), c = -a.scrollTop;
15892
15894
  return Le(f || n).direction === "rtl" && (r += Ze(n.clientWidth, f ? f.clientWidth : 0) - s), {
15893
15895
  width: s,
15894
15896
  height: i,
15895
15897
  x: r,
15896
- y: A
15898
+ y: c
15897
15899
  };
15898
15900
  }
15899
15901
  function ya(e) {
@@ -15917,76 +15919,76 @@ function Xn(e) {
15917
15919
  bottom: e.y + e.height
15918
15920
  });
15919
15921
  }
15920
- function lc(e) {
15922
+ function lA(e) {
15921
15923
  var t = st(e);
15922
15924
  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;
15923
15925
  }
15924
15926
  function Ha(e, t) {
15925
- return t === If ? Xn(ic(e)) : at(t) ? lc(t) : Xn(oc(He(e)));
15927
+ return t === If ? Xn(iA(e)) : at(t) ? lA(t) : Xn(oA(He(e)));
15926
15928
  }
15927
- function rc(e) {
15929
+ function rA(e) {
15928
15930
  var t = wt(jn(e)), n = ["absolute", "fixed"].indexOf(Le(e).position) >= 0, a = n && Ie(e) ? St(e) : e;
15929
15931
  return at(a) ? t.filter(function(f) {
15930
15932
  return at(f) && Nf(f, a) && ze(f) !== "body" && (n ? Le(f).position !== "static" : !0);
15931
15933
  }) : [];
15932
15934
  }
15933
- function cc(e, t, n) {
15934
- var a = t === "clippingParents" ? rc(e) : [].concat(t), f = [].concat(a, [n]), s = f[0], i = f.reduce(function(r, A) {
15935
- var c = Ha(e, A);
15936
- return r.top = Ze(c.top, r.top), r.right = In(c.right, r.right), r.bottom = In(c.bottom, r.bottom), r.left = Ze(c.left, r.left), r;
15935
+ function AA(e, t, n) {
15936
+ var a = t === "clippingParents" ? rA(e) : [].concat(t), f = [].concat(a, [n]), s = f[0], i = f.reduce(function(r, c) {
15937
+ var A = Ha(e, c);
15938
+ return r.top = Ze(A.top, r.top), r.right = In(A.right, r.right), r.bottom = In(A.bottom, r.bottom), r.left = Ze(A.left, r.left), r;
15937
15939
  }, Ha(e, s));
15938
15940
  return i.width = i.right - i.left, i.height = i.bottom - i.top, i.x = i.left, i.y = i.top, i;
15939
15941
  }
15940
15942
  function xf(e) {
15941
- var t = e.reference, n = e.element, a = e.placement, f = a ? Ce(a) : null, s = a ? it(a) : null, i = t.x + t.width / 2 - n.width / 2, r = t.y + t.height / 2 - n.height / 2, A;
15943
+ var t = e.reference, n = e.element, a = e.placement, f = a ? Ce(a) : null, s = a ? it(a) : null, i = t.x + t.width / 2 - n.width / 2, r = t.y + t.height / 2 - n.height / 2, c;
15942
15944
  switch (f) {
15943
15945
  case ge:
15944
- A = {
15946
+ c = {
15945
15947
  x: i,
15946
15948
  y: t.y - n.height
15947
15949
  };
15948
15950
  break;
15949
15951
  case we:
15950
- A = {
15952
+ c = {
15951
15953
  x: i,
15952
15954
  y: t.y + t.height
15953
15955
  };
15954
15956
  break;
15955
15957
  case ke:
15956
- A = {
15958
+ c = {
15957
15959
  x: t.x + t.width,
15958
15960
  y: r
15959
15961
  };
15960
15962
  break;
15961
15963
  case me:
15962
- A = {
15964
+ c = {
15963
15965
  x: t.x - n.width,
15964
15966
  y: r
15965
15967
  };
15966
15968
  break;
15967
15969
  default:
15968
- A = {
15970
+ c = {
15969
15971
  x: t.x,
15970
15972
  y: t.y
15971
15973
  };
15972
15974
  }
15973
- var c = f ? ma(f) : null;
15974
- if (c != null) {
15975
- var d = c === "y" ? "height" : "width";
15975
+ var A = f ? ma(f) : null;
15976
+ if (A != null) {
15977
+ var d = A === "y" ? "height" : "width";
15976
15978
  switch (s) {
15977
15979
  case nt:
15978
- A[c] = A[c] - (t[d] / 2 - n[d] / 2);
15980
+ c[A] = c[A] - (t[d] / 2 - n[d] / 2);
15979
15981
  break;
15980
15982
  case Et:
15981
- A[c] = A[c] + (t[d] / 2 - n[d] / 2);
15983
+ c[A] = c[A] + (t[d] / 2 - n[d] / 2);
15982
15984
  break;
15983
15985
  }
15984
15986
  }
15985
- return A;
15987
+ return c;
15986
15988
  }
15987
15989
  function jt(e, t) {
15988
15990
  t === void 0 && (t = {});
15989
- var n = t, a = n.placement, f = a === void 0 ? e.placement : a, s = n.boundary, i = s === void 0 ? jr : s, r = n.rootBoundary, A = r === void 0 ? If : r, c = n.elementContext, d = c === void 0 ? gt : c, g = n.altBoundary, m = g === void 0 ? !1 : g, _ = n.padding, v = _ === void 0 ? 0 : _, I = Tf(typeof v != "number" ? v : Ef(v, Vt)), y = d === gt ? xr : gt, N = e.rects.popper, j = e.elements[m ? y : d], h = cc(at(j) ? j : j.contextElement || He(e.elements.popper), i, A), w = st(e.elements.reference), M = xf({
15991
+ var n = t, a = n.placement, f = a === void 0 ? e.placement : a, s = n.boundary, i = s === void 0 ? jr : s, r = n.rootBoundary, c = r === void 0 ? If : r, A = n.elementContext, d = A === void 0 ? gt : A, g = n.altBoundary, m = g === void 0 ? !1 : g, _ = n.padding, v = _ === void 0 ? 0 : _, I = Tf(typeof v != "number" ? v : Ef(v, Vt)), y = d === gt ? xr : gt, N = e.rects.popper, j = e.elements[m ? y : d], h = AA(at(j) ? j : j.contextElement || He(e.elements.popper), i, c), w = st(e.elements.reference), M = xf({
15990
15992
  reference: w,
15991
15993
  element: N,
15992
15994
  placement: f
@@ -16005,12 +16007,12 @@ function jt(e, t) {
16005
16007
  }
16006
16008
  return U;
16007
16009
  }
16008
- function Ac(e, t) {
16010
+ function cA(e, t) {
16009
16011
  t === void 0 && (t = {});
16010
- var n = t, a = n.placement, f = n.boundary, s = n.rootBoundary, i = n.padding, r = n.flipVariations, A = n.allowedAutoPlacements, c = A === void 0 ? wf : A, d = it(a), g = d ? r ? Ya : Ya.filter(function(v) {
16012
+ var n = t, a = n.placement, f = n.boundary, s = n.rootBoundary, i = n.padding, r = n.flipVariations, c = n.allowedAutoPlacements, A = c === void 0 ? wf : c, d = it(a), g = d ? r ? Ya : Ya.filter(function(v) {
16011
16013
  return it(v) === d;
16012
16014
  }) : Vt, m = g.filter(function(v) {
16013
- return c.indexOf(v) >= 0;
16015
+ return A.indexOf(v) >= 0;
16014
16016
  });
16015
16017
  m.length === 0 && (m = g);
16016
16018
  var _ = m.reduce(function(v, I) {
@@ -16025,21 +16027,21 @@ function Ac(e, t) {
16025
16027
  return _[v] - _[I];
16026
16028
  });
16027
16029
  }
16028
- function uc(e) {
16030
+ function uA(e) {
16029
16031
  if (Ce(e) === da)
16030
16032
  return [];
16031
16033
  var t = qt(e);
16032
16034
  return [qa(e), t, qa(t)];
16033
16035
  }
16034
- function dc(e) {
16036
+ function dA(e) {
16035
16037
  var t = e.state, n = e.options, a = e.name;
16036
16038
  if (!t.modifiersData[a]._skip) {
16037
- for (var f = n.mainAxis, s = f === void 0 ? !0 : f, i = n.altAxis, r = i === void 0 ? !0 : i, A = n.fallbackPlacements, c = n.padding, d = n.boundary, g = n.rootBoundary, m = n.altBoundary, _ = n.flipVariations, v = _ === void 0 ? !0 : _, I = n.allowedAutoPlacements, y = t.options.placement, N = Ce(y), j = N === y, h = A || (j || !v ? [qt(y)] : uc(y)), w = [y].concat(h).reduce(function($e, C) {
16038
- return $e.concat(Ce(C) === da ? Ac(t, {
16039
+ for (var f = n.mainAxis, s = f === void 0 ? !0 : f, i = n.altAxis, r = i === void 0 ? !0 : i, c = n.fallbackPlacements, A = n.padding, d = n.boundary, g = n.rootBoundary, m = n.altBoundary, _ = n.flipVariations, v = _ === void 0 ? !0 : _, I = n.allowedAutoPlacements, y = t.options.placement, N = Ce(y), j = N === y, h = c || (j || !v ? [qt(y)] : uA(y)), w = [y].concat(h).reduce(function($e, C) {
16040
+ return $e.concat(Ce(C) === da ? cA(t, {
16039
16041
  placement: C,
16040
16042
  boundary: d,
16041
16043
  rootBoundary: g,
16042
- padding: c,
16044
+ padding: A,
16043
16045
  flipVariations: v,
16044
16046
  allowedAutoPlacements: I
16045
16047
  }) : C);
@@ -16049,7 +16051,7 @@ function dc(e) {
16049
16051
  boundary: d,
16050
16052
  rootBoundary: g,
16051
16053
  altBoundary: m,
16052
- padding: c
16054
+ padding: A
16053
16055
  }), B = X ? z ? ke : me : z ? we : ge;
16054
16056
  M[ae] > T[ae] && (B = qt(B));
16055
16057
  var K = qt(B), fe = [];
@@ -16080,11 +16082,11 @@ function dc(e) {
16080
16082
  t.placement !== V && (t.modifiersData[a]._skip = !0, t.placement = V, t.reset = !0);
16081
16083
  }
16082
16084
  }
16083
- var gc = {
16085
+ var gA = {
16084
16086
  name: "flip",
16085
16087
  enabled: !0,
16086
16088
  phase: "main",
16087
- fn: dc,
16089
+ fn: dA,
16088
16090
  requiresIfExists: ["offset"],
16089
16091
  data: {
16090
16092
  _skip: !1
@@ -16106,15 +16108,15 @@ function Ka(e) {
16106
16108
  return e[t] >= 0;
16107
16109
  });
16108
16110
  }
16109
- function mc(e) {
16111
+ function mA(e) {
16110
16112
  var t = e.state, n = e.name, a = t.rects.reference, f = t.rects.popper, s = t.modifiersData.preventOverflow, i = jt(t, {
16111
16113
  elementContext: "reference"
16112
16114
  }), r = jt(t, {
16113
16115
  altBoundary: !0
16114
- }), A = Wa(i, a), c = Wa(r, f, s), d = Ka(A), g = Ka(c);
16116
+ }), c = Wa(i, a), A = Wa(r, f, s), d = Ka(c), g = Ka(A);
16115
16117
  t.modifiersData[n] = {
16116
- referenceClippingOffsets: A,
16117
- popperEscapeOffsets: c,
16118
+ referenceClippingOffsets: c,
16119
+ popperEscapeOffsets: A,
16118
16120
  isReferenceHidden: d,
16119
16121
  hasPopperEscaped: g
16120
16122
  }, t.attributes.popper = Object.assign({}, t.attributes.popper, {
@@ -16122,14 +16124,14 @@ function mc(e) {
16122
16124
  "data-popper-escaped": g
16123
16125
  });
16124
16126
  }
16125
- var pc = {
16127
+ var pA = {
16126
16128
  name: "hide",
16127
16129
  enabled: !0,
16128
16130
  phase: "main",
16129
16131
  requiresIfExists: ["preventOverflow"],
16130
- fn: mc
16132
+ fn: mA
16131
16133
  };
16132
- function hc(e, t, n) {
16134
+ function hA(e, t, n) {
16133
16135
  var a = Ce(e), f = [me, ge].indexOf(a) >= 0 ? -1 : 1, s = typeof n == "function" ? n(Object.assign({}, t, {
16134
16136
  placement: e
16135
16137
  })) : n, i = s[0], r = s[1];
@@ -16141,20 +16143,20 @@ function hc(e, t, n) {
16141
16143
  y: r
16142
16144
  };
16143
16145
  }
16144
- function yc(e) {
16146
+ function yA(e) {
16145
16147
  var t = e.state, n = e.options, a = e.name, f = n.offset, s = f === void 0 ? [0, 0] : f, i = wf.reduce(function(d, g) {
16146
- return d[g] = hc(g, t.rects, s), d;
16147
- }, {}), r = i[t.placement], A = r.x, c = r.y;
16148
- t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += A, t.modifiersData.popperOffsets.y += c), t.modifiersData[a] = i;
16148
+ return d[g] = hA(g, t.rects, s), d;
16149
+ }, {}), r = i[t.placement], c = r.x, A = r.y;
16150
+ t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += c, t.modifiersData.popperOffsets.y += A), t.modifiersData[a] = i;
16149
16151
  }
16150
- var vc = {
16152
+ var vA = {
16151
16153
  name: "offset",
16152
16154
  enabled: !0,
16153
16155
  phase: "main",
16154
16156
  requires: ["popperOffsets"],
16155
- fn: yc
16157
+ fn: yA
16156
16158
  };
16157
- function bc(e) {
16159
+ function bA(e) {
16158
16160
  var t = e.state, n = e.name;
16159
16161
  t.modifiersData[n] = xf({
16160
16162
  reference: t.rects.reference,
@@ -16162,23 +16164,23 @@ function bc(e) {
16162
16164
  placement: t.placement
16163
16165
  });
16164
16166
  }
16165
- var Mc = {
16167
+ var MA = {
16166
16168
  name: "popperOffsets",
16167
16169
  enabled: !0,
16168
16170
  phase: "read",
16169
- fn: bc,
16171
+ fn: bA,
16170
16172
  data: {}
16171
16173
  };
16172
- function _c(e) {
16174
+ function _A(e) {
16173
16175
  return e === "x" ? "y" : "x";
16174
16176
  }
16175
- function Ic(e) {
16176
- var t = e.state, n = e.options, a = e.name, f = n.mainAxis, s = f === void 0 ? !0 : f, i = n.altAxis, r = i === void 0 ? !1 : i, A = n.boundary, c = n.rootBoundary, d = n.altBoundary, g = n.padding, m = n.tether, _ = m === void 0 ? !0 : m, v = n.tetherOffset, I = v === void 0 ? 0 : v, y = jt(t, {
16177
- boundary: A,
16178
- rootBoundary: c,
16177
+ function IA(e) {
16178
+ var t = e.state, n = e.options, a = e.name, f = n.mainAxis, s = f === void 0 ? !0 : f, i = n.altAxis, r = i === void 0 ? !1 : i, c = n.boundary, A = n.rootBoundary, d = n.altBoundary, g = n.padding, m = n.tether, _ = m === void 0 ? !0 : m, v = n.tetherOffset, I = v === void 0 ? 0 : v, y = jt(t, {
16179
+ boundary: c,
16180
+ rootBoundary: A,
16179
16181
  padding: g,
16180
16182
  altBoundary: d
16181
- }), N = Ce(t.placement), j = it(t.placement), h = !j, w = ma(N), M = _c(w), T = t.modifiersData.popperOffsets, S = t.rects.reference, U = t.rects.popper, V = typeof I == "function" ? I(Object.assign({}, t.rects, {
16183
+ }), N = Ce(t.placement), j = it(t.placement), h = !j, w = ma(N), M = _A(w), T = t.modifiersData.popperOffsets, S = t.rects.reference, U = t.rects.popper, V = typeof I == "function" ? I(Object.assign({}, t.rects, {
16182
16184
  placement: t.placement
16183
16185
  })) : I, Q = typeof V == "number" ? {
16184
16186
  mainAxis: V,
@@ -16205,43 +16207,43 @@ function Ic(e) {
16205
16207
  t.modifiersData[a] = O;
16206
16208
  }
16207
16209
  }
16208
- var wc = {
16210
+ var wA = {
16209
16211
  name: "preventOverflow",
16210
16212
  enabled: !0,
16211
16213
  phase: "main",
16212
- fn: Ic,
16214
+ fn: IA,
16213
16215
  requiresIfExists: ["offset"]
16214
16216
  };
16215
- function kc(e) {
16217
+ function kA(e) {
16216
16218
  return {
16217
16219
  scrollLeft: e.scrollLeft,
16218
16220
  scrollTop: e.scrollTop
16219
16221
  };
16220
16222
  }
16221
- function Nc(e) {
16222
- return e === je(e) || !Ie(e) ? pa(e) : kc(e);
16223
+ function NA(e) {
16224
+ return e === je(e) || !Ie(e) ? pa(e) : kA(e);
16223
16225
  }
16224
- function Dc(e) {
16226
+ function DA(e) {
16225
16227
  var t = e.getBoundingClientRect(), n = ft(t.width) / e.offsetWidth || 1, a = ft(t.height) / e.offsetHeight || 1;
16226
16228
  return n !== 1 || a !== 1;
16227
16229
  }
16228
- function Tc(e, t, n) {
16230
+ function TA(e, t, n) {
16229
16231
  n === void 0 && (n = !1);
16230
- var a = Ie(t), f = Ie(t) && Dc(t), s = He(t), i = st(e, f), r = {
16232
+ var a = Ie(t), f = Ie(t) && DA(t), s = He(t), i = st(e, f), r = {
16231
16233
  scrollLeft: 0,
16232
16234
  scrollTop: 0
16233
- }, A = {
16235
+ }, c = {
16234
16236
  x: 0,
16235
16237
  y: 0
16236
16238
  };
16237
- return (a || !a && !n) && ((ze(t) !== "body" || ya(s)) && (r = Nc(t)), Ie(t) ? (A = st(t, !0), A.x += t.clientLeft, A.y += t.clientTop) : s && (A.x = ha(s))), {
16238
- x: i.left + r.scrollLeft - A.x,
16239
- y: i.top + r.scrollTop - A.y,
16239
+ return (a || !a && !n) && ((ze(t) !== "body" || ya(s)) && (r = NA(t)), Ie(t) ? (c = st(t, !0), c.x += t.clientLeft, c.y += t.clientTop) : s && (c.x = ha(s))), {
16240
+ x: i.left + r.scrollLeft - c.x,
16241
+ y: i.top + r.scrollTop - c.y,
16240
16242
  width: i.width,
16241
16243
  height: i.height
16242
16244
  };
16243
16245
  }
16244
- function Ec(e) {
16246
+ function EA(e) {
16245
16247
  var t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), a = [];
16246
16248
  e.forEach(function(s) {
16247
16249
  t.set(s.name, s);
@@ -16251,8 +16253,8 @@ function Ec(e) {
16251
16253
  var i = [].concat(s.requires || [], s.requiresIfExists || []);
16252
16254
  i.forEach(function(r) {
16253
16255
  if (!n.has(r)) {
16254
- var A = t.get(r);
16255
- A && f(A);
16256
+ var c = t.get(r);
16257
+ c && f(c);
16256
16258
  }
16257
16259
  }), a.push(s);
16258
16260
  }
@@ -16260,15 +16262,15 @@ function Ec(e) {
16260
16262
  n.has(s.name) || f(s);
16261
16263
  }), a;
16262
16264
  }
16263
- function jc(e) {
16264
- var t = Ec(e);
16265
+ function jA(e) {
16266
+ var t = EA(e);
16265
16267
  return Qr.reduce(function(n, a) {
16266
16268
  return n.concat(t.filter(function(f) {
16267
16269
  return f.phase === a;
16268
16270
  }));
16269
16271
  }, []);
16270
16272
  }
16271
- function xc(e) {
16273
+ function xA(e) {
16272
16274
  var t;
16273
16275
  return function() {
16274
16276
  return t || (t = new Promise(function(n) {
@@ -16278,7 +16280,7 @@ function xc(e) {
16278
16280
  })), t;
16279
16281
  };
16280
16282
  }
16281
- function Vc(e) {
16283
+ function VA(e) {
16282
16284
  var t = e.reduce(function(n, a) {
16283
16285
  var f = n[a.name];
16284
16286
  return n[a.name] = f ? Object.assign({}, f, a, {
@@ -16302,11 +16304,11 @@ function Ga() {
16302
16304
  return !(a && typeof a.getBoundingClientRect == "function");
16303
16305
  });
16304
16306
  }
16305
- function Sc(e) {
16307
+ function SA(e) {
16306
16308
  e === void 0 && (e = {});
16307
16309
  var t = e, n = t.defaultModifiers, a = n === void 0 ? [] : n, f = t.defaultOptions, s = f === void 0 ? Ja : f;
16308
- return function(r, A, c) {
16309
- c === void 0 && (c = s);
16310
+ return function(r, c, A) {
16311
+ A === void 0 && (A = s);
16310
16312
  var d = {
16311
16313
  placement: "bottom",
16312
16314
  orderedModifiers: [],
@@ -16314,7 +16316,7 @@ function Sc(e) {
16314
16316
  modifiersData: {},
16315
16317
  elements: {
16316
16318
  reference: r,
16317
- popper: A
16319
+ popper: c
16318
16320
  },
16319
16321
  attributes: {},
16320
16322
  styles: {}
@@ -16324,9 +16326,9 @@ function Sc(e) {
16324
16326
  var j = typeof N == "function" ? N(d.options) : N;
16325
16327
  I(), d.options = Object.assign({}, s, d.options, j), d.scrollParents = {
16326
16328
  reference: at(r) ? wt(r) : r.contextElement ? wt(r.contextElement) : [],
16327
- popper: wt(A)
16329
+ popper: wt(c)
16328
16330
  };
16329
- var h = jc(Vc([].concat(a, d.options.modifiers)));
16331
+ var h = jA(VA([].concat(a, d.options.modifiers)));
16330
16332
  return d.orderedModifiers = h.filter(function(w) {
16331
16333
  return w.enabled;
16332
16334
  }), v(), _.update();
@@ -16336,7 +16338,7 @@ function Sc(e) {
16336
16338
  var N = d.elements, j = N.reference, h = N.popper;
16337
16339
  if (Ga(j, h)) {
16338
16340
  d.rects = {
16339
- reference: Tc(j, St(h), d.options.strategy === "fixed"),
16341
+ reference: TA(j, St(h), d.options.strategy === "fixed"),
16340
16342
  popper: ga(h)
16341
16343
  }, d.reset = !1, d.placement = d.options.placement, d.orderedModifiers.forEach(function(Q) {
16342
16344
  return d.modifiersData[Q.name] = Object.assign({}, Q.data);
@@ -16357,7 +16359,7 @@ function Sc(e) {
16357
16359
  }
16358
16360
  }
16359
16361
  },
16360
- update: xc(function() {
16362
+ update: xA(function() {
16361
16363
  return new Promise(function(y) {
16362
16364
  _.forceUpdate(), y(d);
16363
16365
  });
@@ -16366,10 +16368,10 @@ function Sc(e) {
16366
16368
  I(), m = !0;
16367
16369
  }
16368
16370
  };
16369
- if (!Ga(r, A))
16371
+ if (!Ga(r, c))
16370
16372
  return _;
16371
- _.setOptions(c).then(function(y) {
16372
- !m && c.onFirstUpdate && c.onFirstUpdate(y);
16373
+ _.setOptions(A).then(function(y) {
16374
+ !m && A.onFirstUpdate && A.onFirstUpdate(y);
16373
16375
  });
16374
16376
  function v() {
16375
16377
  d.orderedModifiers.forEach(function(y) {
@@ -16394,31 +16396,31 @@ function Sc(e) {
16394
16396
  return _;
16395
16397
  };
16396
16398
  }
16397
- var Cc = [ac, Mc, tc, Fr, vc, gc, wc, Gr, pc], Oc = /* @__PURE__ */ Sc({
16398
- defaultModifiers: Cc
16399
+ var CA = [aA, MA, tA, Fr, vA, gA, wA, Gr, pA], OA = /* @__PURE__ */ SA({
16400
+ defaultModifiers: CA
16399
16401
  }), Vf = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgOS4zODI4MTMgNCA0IDkuMzgyODEzIDQgMTYgQyA0IDIyLjYxNzE4OCA5LjM4MjgxMyAyOCAxNiAyOCBDIDIyLjYxNzE4OCAyOCAyOCAyMi42MTcxODggMjggMTYgQyAyOCA5LjM4MjgxMyAyMi42MTcxODggNCAxNiA0IFogTSAxNiA2IEMgMjEuNTM1MTU2IDYgMjYgMTAuNDY0ODQ0IDI2IDE2IEMgMjYgMjEuNTM1MTU2IDIxLjUzNTE1NiAyNiAxNiAyNiBDIDEwLjQ2NDg0NCAyNiA2IDIxLjUzNTE1NiA2IDE2IEMgNiAxMC40NjQ4NDQgMTAuNDY0ODQ0IDYgMTYgNiBaIE0gMTEuNSAxMiBDIDEwLjY3MTg3NSAxMiAxMCAxMi42NzE4NzUgMTAgMTMuNSBDIDEwIDE0LjMyODEyNSAxMC42NzE4NzUgMTUgMTEuNSAxNSBDIDEyLjMyODEyNSAxNSAxMyAxNC4zMjgxMjUgMTMgMTMuNSBDIDEzIDEyLjY3MTg3NSAxMi4zMjgxMjUgMTIgMTEuNSAxMiBaIE0gMjAuNSAxMiBDIDE5LjY3MTg3NSAxMiAxOSAxMi42NzE4NzUgMTkgMTMuNSBDIDE5IDE0LjMyODEyNSAxOS42NzE4NzUgMTUgMjAuNSAxNSBDIDIxLjMyODEyNSAxNSAyMiAxNC4zMjgxMjUgMjIgMTMuNSBDIDIyIDEyLjY3MTg3NSAyMS4zMjgxMjUgMTIgMjAuNSAxMiBaIE0gMTAuODEyNSAxOSBMIDkuMDkzNzUgMjAgQyAxMC40NzY1NjMgMjIuMzg2NzE5IDEzLjA0Njg3NSAyNCAxNiAyNCBDIDE4Ljk1MzEyNSAyNCAyMS41MjM0MzggMjIuMzg2NzE5IDIyLjkwNjI1IDIwIEwgMjEuMTg3NSAxOSBDIDIwLjE0ODQzOCAyMC43OTI5NjkgMTguMjI2NTYzIDIyIDE2IDIyIEMgMTMuNzczNDM4IDIyIDExLjg1MTU2MyAyMC43OTI5NjkgMTAuODEyNSAxOSBaIi8+PC9zdmc+";
16400
16402
  function Ht(e) {
16401
16403
  return e.split("-").map((t) => parseInt(t, 16)).map((t) => String.fromCodePoint(t)).join("");
16402
16404
  }
16403
- function zc(e, t, n, a = []) {
16405
+ function zA(e, t, n, a = []) {
16404
16406
  const f = {};
16405
16407
  return Object.keys(e).forEach((s) => {
16406
16408
  if (a.includes(s))
16407
16409
  return;
16408
16410
  const i = [];
16409
16411
  e[s].forEach((r) => {
16410
- var A;
16412
+ var c;
16411
16413
  if (r[En][0].includes(t.toLocaleLowerCase())) {
16412
- let c = r[bf];
16414
+ let A = r[bf];
16413
16415
  if (n !== _n && Array.isArray(r[$t])) {
16414
- const d = ((A = r[$t]) == null ? void 0 : A.findIndex(
16416
+ const d = ((c = r[$t]) == null ? void 0 : c.findIndex(
16415
16417
  (g) => g.includes(n)
16416
16418
  )) || -1;
16417
- d !== -1 && r[$t] && (c = r[$t][d]);
16419
+ d !== -1 && r[$t] && (A = r[$t][d]);
16418
16420
  }
16419
16421
  return i.push({
16420
16422
  ...r,
16421
- [Tt]: c
16423
+ [Tt]: A
16422
16424
  });
16423
16425
  }
16424
16426
  }), i.length && (f[s] = i);
@@ -16440,20 +16442,20 @@ var Ct = (e, t) => {
16440
16442
  n[a] = f;
16441
16443
  return n;
16442
16444
  };
16443
- const Lc = Y({
16445
+ const LA = Y({
16444
16446
  name: "Body",
16445
16447
  emits: {
16446
16448
  select: (e) => !0
16447
16449
  },
16448
16450
  setup() {
16449
- const { state: e, updateEmoji: t, updateSelect: n } = Z("store"), a = b(null), f = $(() => zc(
16451
+ const { state: e, updateEmoji: t, updateSelect: n } = Z("store"), a = b(null), f = $(() => zA(
16450
16452
  e.emojis,
16451
16453
  e.search,
16452
16454
  e.skinTone,
16453
16455
  e.options.disabledGroups
16454
- )), s = $f(), i = $(() => !e.options.hideGroupNames), r = $(() => !e.options.disableStickyGroupNames), A = ff(e.options.groupNames), c = e.orderedGroupKeys;
16456
+ )), s = $f(), i = $(() => !e.options.hideGroupNames), r = $(() => !e.options.disableStickyGroupNames), c = ff(e.options.groupNames), A = e.orderedGroupKeys;
16455
16457
  e.options.additionalGroups && Object.keys(e.options.additionalGroups).map((v) => {
16456
- e.options.groupNames[v] ? A[v] = e.options.groupNames[v] : A[v] = Cf(v);
16458
+ e.options.groupNames[v] ? c[v] = e.options.groupNames[v] : c[v] = Cf(v);
16457
16459
  });
16458
16460
  const d = Sf() ? "is-mac" : "";
16459
16461
  function g(v) {
@@ -16493,16 +16495,16 @@ const Lc = Y({
16493
16495
  hasGroupNames: i,
16494
16496
  isSticky: r,
16495
16497
  platform: d,
16496
- groupNames: A,
16497
- orderedKeys: c
16498
+ groupNames: c,
16499
+ orderedKeys: A
16498
16500
  };
16499
16501
  }
16500
- }), Uc = { class: "v3-body" }, Bc = ["id"], Rc = { class: "v3-emojis" }, Qc = ["onMouseenter", "onClick"], $c = { key: 0 }, Yc = ["src", "alt", "onError"], Fc = {
16502
+ }), UA = { class: "v3-body" }, BA = ["id"], RA = { class: "v3-emojis" }, QA = ["onMouseenter", "onClick"], $A = { key: 0 }, YA = ["src", "alt", "onError"], FA = {
16501
16503
  key: 1,
16502
16504
  class: "v3-no-result"
16503
16505
  };
16504
- function Pc(e, t, n, a, f, s) {
16505
- return l(), u("div", Uc, [
16506
+ function PA(e, t, n, a, f, s) {
16507
+ return l(), u("div", UA, [
16506
16508
  o("div", {
16507
16509
  ref: "bodyInner",
16508
16510
  class: x([e.platform, "v3-body-inner"])
@@ -16518,37 +16520,37 @@ function Pc(e, t, n, a, f, s) {
16518
16520
  }, D(e.groupNames[i]), 3)), [
16519
16521
  [De, e.emojis[i]]
16520
16522
  ]) : p("", !0),
16521
- re(o("div", Rc, [
16523
+ re(o("div", RA, [
16522
16524
  (l(!0), u(F, null, ie(e.emojis[i], (r) => (l(), u("button", {
16523
16525
  key: r.r,
16524
16526
  type: "button",
16525
- onMouseenter: (A) => e.handleMouseEnter(r),
16526
- onClick: (A) => e.handleClick(r)
16527
+ onMouseenter: (c) => e.handleMouseEnter(r),
16528
+ onClick: (c) => e.handleClick(r)
16527
16529
  }, [
16528
- e.native ? (l(), u("span", $c, D(e.unicodeToEmoji(r.r)), 1)) : (l(), u("img", {
16530
+ e.native ? (l(), u("span", $A, D(e.unicodeToEmoji(r.r)), 1)) : (l(), u("img", {
16529
16531
  key: 1,
16530
16532
  src: e.EMOJI_REMOTE_SRC + `/${r.r}.png`,
16531
16533
  alt: r.n[0],
16532
- onError: (A) => e.handleError(A, r.r)
16533
- }, null, 40, Yc))
16534
- ], 40, Qc))), 128))
16534
+ onError: (c) => e.handleError(c, r.r)
16535
+ }, null, 40, YA))
16536
+ ], 40, QA))), 128))
16535
16537
  ], 512), [
16536
16538
  [De, e.emojis[i]]
16537
16539
  ])
16538
- ], 8, Bc))), 128)) : (l(), u("span", Fc, " No emoji has been found! "))
16540
+ ], 8, BA))), 128)) : (l(), u("span", FA, " No emoji has been found! "))
16539
16541
  ], 2)
16540
16542
  ]);
16541
16543
  }
16542
- var qc = /* @__PURE__ */ Ct(Lc, [["render", P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OS4zNTggMTAgMTkuNzUgTCAxMCAxMi4zNjEzMjggQyAxMC4zNDUgMTEuOTA1MzI4IDExLjEzMjM1OSAxMSAxMy40NDMzNTkgMTEgeiIvPjwvc3ZnPg==", ec = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgMTEuODMyMDMxIDQgOC4xNTIzNDQgNi4xMTMyODEgNiA5LjM0Mzc1IEwgNiA2IEwgNCA2IEwgNCAxMyBMIDExIDEzIEwgMTEgMTEgTCA3LjM3NSAxMSBDIDkuMTAxNTYzIDguMDE5NTMxIDEyLjI5Njg3NSA2IDE2IDYgQyAyMS41MzUxNTYgNiAyNiAxMC40NjQ4NDQgMjYgMTYgQyAyNiAyMS41MzUxNTYgMjEuNTM1MTU2IDI2IDE2IDI2IEMgMTAuNDY0ODQ0IDI2IDYgMjEuNTM1MTU2IDYgMTYgTCA0IDE2IEMgNCAyMi42MTcxODggOS4zODI4MTMgMjggMTYgMjggQyAyMi42MTcxODggMjggMjggMjIuNjE3MTg4IDI4IDE2IEMgMjggOS4zODI4MTMgMjIuNjE3MTg4IDQgMTYgNCBaIE0gMTUgOCBMIDE1IDE3IEwgMjIgMTcgTCAyMiAxNSBMIDE3IDE1IEwgMTcgOCBaIi8+PC9zdmc+Cg==";
16545
+ const tc = Y({
16544
16546
  name: "Header",
16545
16547
  setup(e) {
16546
16548
  const { state: t, updateSearch: n, updateActiveGroup: a } = Z("store"), f = $(() => !t.options.hideSearch), s = $(() => !t.options.hideGroupIcons), i = JSON.parse(JSON.stringify(t.orderedGroupKeys)), r = $(
16547
16549
  () => t.options.staticTexts.placeholder || ""
16548
- ), A = $({
16550
+ ), c = $({
16549
16551
  get: () => t.search,
16550
16552
  set: (g) => n(g)
16551
- }), c = [
16553
+ }), A = [
16552
16554
  ...t.groups,
16553
16555
  ...Object.keys(t.options.additionalGroups).map((g) => ({
16554
16556
  key: g,
@@ -16556,46 +16558,46 @@ const tA = Y({
16556
16558
  }))
16557
16559
  ], d = [];
16558
16560
  return i.forEach((g) => {
16559
- const m = c.findIndex((_) => _.key === g);
16560
- m !== -1 && (d.push(c[m]), c.splice(m, 1));
16561
+ const m = A.findIndex((_) => _.key === g);
16562
+ m !== -1 && (d.push(A[m]), A.splice(m, 1));
16561
16563
  }), {
16562
16564
  orderedGroups: d,
16563
16565
  orderedKeys: i,
16564
- searchValue: A,
16566
+ searchValue: c,
16565
16567
  updateActiveGroup: a,
16566
16568
  hasSearch: f,
16567
16569
  hasGroupIcons: s,
16568
16570
  placeholder: r,
16569
16571
  icons: {
16570
16572
  smileys_people: Vf,
16571
- animals_nature: Hc,
16572
- food_drink: Wc,
16573
- activities: Kc,
16574
- travel_places: Jc,
16575
- objects: Gc,
16576
- symbols: Zc,
16577
- flags: Xc,
16573
+ animals_nature: HA,
16574
+ food_drink: WA,
16575
+ activities: KA,
16576
+ travel_places: JA,
16577
+ objects: GA,
16578
+ symbols: ZA,
16579
+ flags: XA,
16578
16580
  ...t.options.groupIcons,
16579
- recent: eA
16581
+ recent: ec
16580
16582
  }
16581
16583
  };
16582
16584
  }
16583
- }), nA = {
16585
+ }), nc = {
16584
16586
  key: 0,
16585
16587
  class: "v3-header"
16586
- }, aA = {
16588
+ }, ac = {
16587
16589
  key: 0,
16588
16590
  class: "v3-groups"
16589
- }, fA = ["onClick"], sA = ["title"], iA = ["src"], oA = {
16591
+ }, fc = ["onClick"], sc = ["title"], ic = ["src"], oc = {
16590
16592
  key: 1,
16591
16593
  class: "v3-spacing"
16592
- }, lA = {
16594
+ }, lc = {
16593
16595
  key: 2,
16594
16596
  class: "v3-search"
16595
- }, rA = ["placeholder"];
16596
- function cA(e, t, n, a, f, s) {
16597
- return e.hasGroupIcons || e.hasSearch ? (l(), u("div", nA, [
16598
- e.hasGroupIcons ? (l(), u("div", aA, [
16597
+ }, rc = ["placeholder"];
16598
+ function Ac(e, t, n, a, f, s) {
16599
+ return e.hasGroupIcons || e.hasSearch ? (l(), u("div", nc, [
16600
+ e.hasGroupIcons ? (l(), u("div", ac, [
16599
16601
  (l(!0), u(F, null, ie(e.orderedGroups, (i) => (l(), u("button", {
16600
16602
  key: i.key,
16601
16603
  type: "button",
@@ -16611,40 +16613,40 @@ function cA(e, t, n, a, f, s) {
16611
16613
  o("img", {
16612
16614
  src: e.icons[i.key],
16613
16615
  alt: ""
16614
- }, null, 8, iA)
16615
- ], 8, sA)
16616
- ], 10, fA))), 128))
16616
+ }, null, 8, ic)
16617
+ ], 8, sc)
16618
+ ], 10, fc))), 128))
16617
16619
  ])) : p("", !0),
16618
- e.hasGroupIcons && e.hasSearch ? (l(), u("div", oA)) : p("", !0),
16619
- e.hasSearch ? (l(), u("div", lA, [
16620
+ e.hasGroupIcons && e.hasSearch ? (l(), u("div", oc)) : p("", !0),
16621
+ e.hasSearch ? (l(), u("div", lc, [
16620
16622
  re(o("input", {
16621
16623
  "onUpdate:modelValue": t[0] || (t[0] = (i) => e.searchValue = i),
16622
16624
  type: "text",
16623
16625
  placeholder: e.placeholder
16624
- }, null, 8, rA), [
16626
+ }, null, 8, rc), [
16625
16627
  [ot, e.searchValue]
16626
16628
  ])
16627
16629
  ])) : p("", !0)
16628
16630
  ])) : p("", !0);
16629
16631
  }
16630
- var AA = /* @__PURE__ */ Ct(tA, [["render", cA]]);
16631
- const uA = Y({
16632
+ var cc = /* @__PURE__ */ Ct(tc, [["render", Ac]]);
16633
+ const uc = Y({
16632
16634
  name: "Header",
16633
16635
  setup() {
16634
16636
  const { state: e, updateSkinTone: t } = Z("store"), n = b(!1), a = b(!1), f = $(() => e.skinTone), s = $(
16635
16637
  () => e.options.staticTexts.skinTone || "Skin tone"
16636
- ), i = $(() => !e.options.disableSkinTones), r = Sf() ? "is-mac" : "", A = $(() => ({
16638
+ ), i = $(() => !e.options.disableSkinTones), r = Sf() ? "is-mac" : "", c = $(() => ({
16637
16639
  ...e.emoji,
16638
16640
  src: yf + "/" + e.emoji[Tt] + ".png"
16639
16641
  }));
16640
- function c(m = !0) {
16642
+ function A(m = !0) {
16641
16643
  n.value = m;
16642
16644
  }
16643
16645
  function d() {
16644
16646
  n.value = !n.value;
16645
16647
  }
16646
16648
  function g(m) {
16647
- t(m), c(!1);
16649
+ t(m), A(!1);
16648
16650
  }
16649
16651
  return ee(
16650
16652
  () => e.emoji,
@@ -16652,9 +16654,9 @@ const uA = Y({
16652
16654
  a.value = !1;
16653
16655
  }
16654
16656
  ), {
16655
- emoji: A,
16657
+ emoji: c,
16656
16658
  SKIN_TONES: fr,
16657
- updateSkinToneState: c,
16659
+ updateSkinToneState: A,
16658
16660
  skinTone: n,
16659
16661
  stateSkinTone: f,
16660
16662
  selectSkinTone: g,
@@ -16669,24 +16671,24 @@ const uA = Y({
16669
16671
  hasError: a
16670
16672
  };
16671
16673
  }
16672
- }), dA = { class: "v3-foot-left" }, gA = { key: 0 }, mA = ["alt", "src"], pA = { class: "v3-text" }, hA = { class: "v3-text" }, yA = ["onClick"];
16673
- function vA(e, t, n, a, f, s) {
16674
+ }), dc = { class: "v3-foot-left" }, gc = { key: 0 }, mc = ["alt", "src"], pc = { class: "v3-text" }, hc = { class: "v3-text" }, yc = ["onClick"];
16675
+ function vc(e, t, n, a, f, s) {
16674
16676
  return l(), u("div", {
16675
16677
  class: "v3-footer",
16676
16678
  onMouseleave: t[2] || (t[2] = (i) => e.updateSkinToneState(!1))
16677
16679
  }, [
16678
- o("div", dA, [
16680
+ o("div", dc, [
16679
16681
  o("span", {
16680
16682
  class: x([e.platform, "v3-icon"])
16681
16683
  }, [
16682
- e.native || e.hasError ? (l(), u("span", gA, D(e.unicodeToEmoji(e.emoji.r)), 1)) : (l(), u("img", {
16684
+ e.native || e.hasError ? (l(), u("span", gc, D(e.unicodeToEmoji(e.emoji.r)), 1)) : (l(), u("img", {
16683
16685
  key: 1,
16684
16686
  alt: e.unicodeToEmoji(e.emoji.r),
16685
16687
  src: e.emoji.src,
16686
16688
  onError: t[0] || (t[0] = (i) => e.hasError = !0)
16687
- }, null, 40, mA))
16689
+ }, null, 40, mc))
16688
16690
  ], 2),
16689
- o("span", pA, " :" + D(e.emoji[e.EMOJI_NAME_KEY][1] || e.emoji[e.EMOJI_NAME_KEY][0]) + ": ", 1)
16691
+ o("span", pc, " :" + D(e.emoji[e.EMOJI_NAME_KEY][1] || e.emoji[e.EMOJI_NAME_KEY][0]) + ": ", 1)
16690
16692
  ]),
16691
16693
  e.hasSkinTones ? (l(), u(F, { key: 0 }, [
16692
16694
  o("button", {
@@ -16694,7 +16696,7 @@ function vA(e, t, n, a, f, s) {
16694
16696
  class: "v3-tone",
16695
16697
  onClick: t[1] || (t[1] = (...i) => e.toggleSkinToneState && e.toggleSkinToneState(...i))
16696
16698
  }, [
16697
- o("span", hA, D(e.skinToneText), 1),
16699
+ o("span", hc, D(e.skinToneText), 1),
16698
16700
  o("span", {
16699
16701
  class: x(`v3-icon v3-tone-${e.stateSkinTone}`)
16700
16702
  }, null, 2)
@@ -16707,18 +16709,18 @@ function vA(e, t, n, a, f, s) {
16707
16709
  type: "button",
16708
16710
  class: x(["v3-skin-tone-" + i, "v3-skin-tone"]),
16709
16711
  onClick: (r) => e.selectSkinTone(i)
16710
- }, null, 10, yA))), 128))
16712
+ }, null, 10, yc))), 128))
16711
16713
  ], 2)
16712
16714
  ], 64)) : p("", !0)
16713
16715
  ], 32);
16714
16716
  }
16715
- var bA = /* @__PURE__ */ Ct(uA, [["render", vA]]);
16716
- const MA = Y({
16717
+ var bc = /* @__PURE__ */ Ct(uc, [["render", vc]]);
16718
+ const Mc = Y({
16717
16719
  name: "PickerRoot",
16718
16720
  components: {
16719
- Header: AA,
16720
- Body: qc,
16721
- Footer: bA
16721
+ Header: cc,
16722
+ Body: qA,
16723
+ Footer: bc
16722
16724
  },
16723
16725
  props: {
16724
16726
  type: {
@@ -16752,18 +16754,18 @@ const MA = Y({
16752
16754
  },
16753
16755
  setup(e, { emit: t }) {
16754
16756
  const n = b(), a = b(), f = b(), s = b(!1), i = b(e.text), r = e.type === "input" || e.type === "textarea";
16755
- let A = -1;
16756
- const { state: c } = Z("store"), d = $(() => c.options.colorTheme);
16757
+ let c = -1;
16758
+ const { state: A } = Z("store"), d = $(() => A.options.colorTheme);
16757
16759
  function g(y) {
16758
16760
  if (r) {
16759
- const N = c.options.mode;
16760
- N === "prepend" ? i.value = y.i + i.value : N === "insert" && A !== -1 ? (i.value = `${i.value.slice(0, A)}${y.i}${i.value.slice(A)}`, A += y.i.length) : i.value += y.i, t("update:text", i.value);
16761
+ const N = A.options.mode;
16762
+ N === "prepend" ? i.value = y.i + i.value : N === "insert" && c !== -1 ? (i.value = `${i.value.slice(0, c)}${y.i}${i.value.slice(c)}`, c += y.i.length) : i.value += y.i, t("update:text", i.value);
16761
16763
  }
16762
16764
  t("select", y);
16763
16765
  }
16764
16766
  function m() {
16765
16767
  var y;
16766
- n.value && (A = ((y = n.value) == null ? void 0 : y.selectionEnd) || -1);
16768
+ n.value && (c = ((y = n.value) == null ? void 0 : y.selectionEnd) || -1);
16767
16769
  }
16768
16770
  function _(y) {
16769
16771
  var N;
@@ -16773,8 +16775,8 @@ const MA = Y({
16773
16775
  }
16774
16776
  function v() {
16775
16777
  if (a.value && f.value && r) {
16776
- let y = c.options.offset;
16777
- typeof y != "number" && (y = 6), Oc(a.value, f.value, {
16778
+ let y = A.options.offset;
16779
+ typeof y != "number" && (y = 6), OA(a.value, f.value, {
16778
16780
  placement: "bottom-end",
16779
16781
  modifiers: [
16780
16782
  {
@@ -16808,30 +16810,30 @@ const MA = Y({
16808
16810
  colorTheme: d
16809
16811
  };
16810
16812
  }
16811
- }), _A = {
16813
+ }), _c = {
16812
16814
  key: 0,
16813
16815
  class: "v3-input-emoji-picker"
16814
- }, IA = { class: "v3-input-picker-root" }, wA = ["value"], kA = ["value"], NA = ["src"];
16815
- function DA(e, t, n, a, f, s) {
16816
- const i = Ft("Header"), r = Ft("Body"), A = Ft("Footer");
16817
- return e.isInputType ? (l(), u("div", _A, [
16818
- o("div", IA, [
16816
+ }, Ic = { class: "v3-input-picker-root" }, wc = ["value"], kc = ["value"], Nc = ["src"];
16817
+ function Dc(e, t, n, a, f, s) {
16818
+ const i = Ft("Header"), r = Ft("Body"), c = Ft("Footer");
16819
+ return e.isInputType ? (l(), u("div", _c, [
16820
+ o("div", Ic, [
16819
16821
  e.type === "input" ? (l(), u("input", {
16820
16822
  key: 0,
16821
16823
  ref: "elem",
16822
16824
  value: e.input,
16823
16825
  type: "text",
16824
16826
  class: "v3-emoji-picker-input",
16825
- onInput: t[0] || (t[0] = (...c) => e.onChangeText && e.onChangeText(...c)),
16826
- onBlur: t[1] || (t[1] = (...c) => e.updateCursor && e.updateCursor(...c))
16827
- }, null, 40, wA)) : (l(), u("textarea", {
16827
+ onInput: t[0] || (t[0] = (...A) => e.onChangeText && e.onChangeText(...A)),
16828
+ onBlur: t[1] || (t[1] = (...A) => e.updateCursor && e.updateCursor(...A))
16829
+ }, null, 40, wc)) : (l(), u("textarea", {
16828
16830
  key: 1,
16829
16831
  ref: "elem",
16830
16832
  value: e.input,
16831
16833
  class: "v3-emoji-picker-textarea",
16832
- onInput: t[2] || (t[2] = (...c) => e.onChangeText && e.onChangeText(...c)),
16833
- onBlur: t[3] || (t[3] = (...c) => e.updateCursor && e.updateCursor(...c))
16834
- }, null, 40, kA)),
16834
+ onInput: t[2] || (t[2] = (...A) => e.onChangeText && e.onChangeText(...A)),
16835
+ onBlur: t[3] || (t[3] = (...A) => e.updateCursor && e.updateCursor(...A))
16836
+ }, null, 40, kc)),
16835
16837
  o("div", {
16836
16838
  class: x(["v3-input-picker-wrap", e.open ? "v3-picker-is-open" : ""])
16837
16839
  }, [
@@ -16839,12 +16841,12 @@ function DA(e, t, n, a, f, s) {
16839
16841
  ref: "button",
16840
16842
  type: "button",
16841
16843
  class: "v3-input-picker-icon",
16842
- onClick: t[4] || (t[4] = (c) => e.open = !e.open)
16844
+ onClick: t[4] || (t[4] = (A) => e.open = !e.open)
16843
16845
  }, [
16844
16846
  o("img", {
16845
16847
  src: e.face,
16846
16848
  alt: ""
16847
- }, null, 8, NA)
16849
+ }, null, 8, Nc)
16848
16850
  ], 512),
16849
16851
  o("div", {
16850
16852
  ref: "picker",
@@ -16852,7 +16854,7 @@ function DA(e, t, n, a, f, s) {
16852
16854
  }, [
16853
16855
  H(i),
16854
16856
  H(r, { onSelect: e.onSelect }, null, 8, ["onSelect"]),
16855
- H(A)
16857
+ H(c)
16856
16858
  ], 2)
16857
16859
  ], 2)
16858
16860
  ])
@@ -16862,14 +16864,14 @@ function DA(e, t, n, a, f, s) {
16862
16864
  }, [
16863
16865
  H(i),
16864
16866
  H(r, { onSelect: e.onSelect }, null, 8, ["onSelect"]),
16865
- H(A)
16867
+ H(c)
16866
16868
  ], 2));
16867
16869
  }
16868
- var TA = /* @__PURE__ */ Ct(MA, [["render", DA]]);
16869
- const EA = Y({
16870
+ var Tc = /* @__PURE__ */ Ct(Mc, [["render", Dc]]);
16871
+ const Ec = Y({
16870
16872
  name: "Picker",
16871
16873
  components: {
16872
- PickerRoot: TA
16874
+ PickerRoot: Tc
16873
16875
  },
16874
16876
  props: {
16875
16877
  native: {
@@ -16979,7 +16981,7 @@ const EA = Y({
16979
16981
  };
16980
16982
  }
16981
16983
  });
16982
- function jA(e, t, n, a, f, s) {
16984
+ function jc(e, t, n, a, f, s) {
16983
16985
  const i = Ft("picker-root");
16984
16986
  return l(), L(i, {
16985
16987
  type: e.type,
@@ -16988,8 +16990,8 @@ function jA(e, t, n, a, f, s) {
16988
16990
  "onUpdate:text": e.onChangeText
16989
16991
  }, null, 8, ["type", "text", "onUpdate:text"]);
16990
16992
  }
16991
- var xA = /* @__PURE__ */ Ct(EA, [["render", jA]]);
16992
- const VA = {
16993
+ var xc = /* @__PURE__ */ Ct(Ec, [["render", jc]]);
16994
+ const Vc = {
16993
16995
  __name: "ButtonEmojiPicker",
16994
16996
  props: {
16995
16997
  mode: {
@@ -17003,12 +17005,12 @@ const VA = {
17003
17005
  }
17004
17006
  },
17005
17007
  setup(e) {
17006
- const t = e, n = b(null), a = b("light"), f = b(null), s = Z("chatAppId"), { setMessageText: i, getMessage: r } = Ne(s), A = () => document.getElementById(s).attributes["data-theme"].nodeValue.indexOf("dark") != -1 ? "dark" : "light", c = (v) => {
17008
+ const t = e, n = b(null), a = b("light"), f = b(null), s = Z("chatAppId"), { setMessageText: i, getMessage: r } = Ne(s), c = () => document.getElementById(s).attributes["data-theme"].nodeValue.indexOf("dark") != -1 ? "dark" : "light", A = (v) => {
17007
17009
  i(r().text + v.i);
17008
17010
  }, d = () => {
17009
- t.mode == "click" && t.state == "active" && (n.value.style.display = "inherit", a.value = A());
17011
+ t.mode == "click" && t.state == "active" && (n.value.style.display = "inherit", a.value = c());
17010
17012
  }, g = () => {
17011
- t.mode == "hover" && t.state == "active" && (n.value.style.display = "inherit", a.value = A());
17013
+ t.mode == "hover" && t.state == "active" && (n.value.style.display = "inherit", a.value = c());
17012
17014
  }, m = () => {
17013
17015
  t.mode == "hover" && t.state == "active" && (n.value.style.display = "none");
17014
17016
  }, _ = (v) => {
@@ -17039,11 +17041,11 @@ const VA = {
17039
17041
  onMouseenter: g,
17040
17042
  onMouseleave: m
17041
17043
  }, [
17042
- H(k(xA), {
17044
+ H(k(xc), {
17043
17045
  native: !0,
17044
17046
  theme: a.value,
17045
17047
  "picker-type": "",
17046
- onSelect: c
17048
+ onSelect: A
17047
17049
  }, null, 8, ["theme"])
17048
17050
  ], 544), [
17049
17051
  [De, t.state === "active"]
@@ -17053,10 +17055,10 @@ const VA = {
17053
17055
  })
17054
17056
  ], 64));
17055
17057
  }
17056
- }, A0 = /* @__PURE__ */ R(VA, [["__scopeId", "data-v-5fc30a01"]]), SA = { class: "context-menu__container" }, CA = { class: "context-menu__list" }, OA = ["onClick"], zA = ["src"], LA = {
17058
+ }, c0 = /* @__PURE__ */ R(Vc, [["__scopeId", "data-v-5fc30a01"]]), Sc = { class: "context-menu__container" }, Cc = { class: "context-menu__list" }, Oc = ["onClick"], zc = ["src"], Lc = {
17057
17059
  key: 2,
17058
17060
  style: { "white-space": "nowrap" }
17059
- }, UA = { key: 3 }, BA = {
17061
+ }, Uc = { key: 3 }, Bc = {
17060
17062
  __name: "ContextMenu",
17061
17063
  props: {
17062
17064
  actions: {
@@ -17070,36 +17072,36 @@ const VA = {
17070
17072
  const i = n.actions[s];
17071
17073
  a("click", i);
17072
17074
  };
17073
- return (s, i) => (l(), u("div", SA, [
17074
- o("ul", CA, [
17075
- (l(!0), u(F, null, ie(n.actions, (r, A) => (l(), u("li", {
17076
- key: A,
17075
+ return (s, i) => (l(), u("div", Sc, [
17076
+ o("ul", Cc, [
17077
+ (l(!0), u(F, null, ie(n.actions, (r, c) => (l(), u("li", {
17078
+ key: c,
17077
17079
  class: "context-menu__item",
17078
- onClick: (c) => f(A)
17080
+ onClick: (A) => f(c)
17079
17081
  }, [
17080
17082
  r.icon ? (l(), u("img", {
17081
17083
  key: 0,
17082
17084
  src: r.icon,
17083
17085
  width: "18",
17084
17086
  height: "18"
17085
- }, null, 8, zA)) : r.prime ? (l(), u("i", {
17087
+ }, null, 8, zc)) : r.prime ? (l(), u("i", {
17086
17088
  key: 1,
17087
17089
  class: x("pi pi-" + r.prime)
17088
17090
  }, null, 2)) : p("", !0),
17089
- r.title ? (l(), u("span", LA, D(r.title), 1)) : p("", !0),
17090
- r.description ? (l(), u("span", UA, D(r.description), 1)) : p("", !0)
17091
- ], 8, OA))), 128))
17091
+ r.title ? (l(), u("span", Lc, D(r.title), 1)) : p("", !0),
17092
+ r.description ? (l(), u("span", Uc, D(r.description), 1)) : p("", !0)
17093
+ ], 8, Oc))), 128))
17092
17094
  ])
17093
17095
  ]));
17094
17096
  }
17095
- }, ct = /* @__PURE__ */ R(BA, [["__scopeId", "data-v-b45ccd2c"]]), mt = b([]), RA = (e) => {
17097
+ }, At = /* @__PURE__ */ R(Bc, [["__scopeId", "data-v-b45ccd2c"]]), mt = b([]), Rc = (e) => {
17096
17098
  const t = b(0), n = mt.value.find(({ id: f }) => f == e);
17097
17099
  return n != null ? t.value = mt.value.indexOf(n) : (mt.value.push({
17098
17100
  id: e,
17099
17101
  text: ""
17100
17102
  }), t.value = mt.value.length - 1), { getModel: () => mt.value[t.value] };
17101
17103
  };
17102
- function QA(e, t = 500) {
17104
+ function Qc(e, t = 500) {
17103
17105
  let n;
17104
17106
  return Xa((a, f) => ({
17105
17107
  get() {
@@ -17112,7 +17114,7 @@ function QA(e, t = 500) {
17112
17114
  }
17113
17115
  }));
17114
17116
  }
17115
- const $A = { class: "feed-search__container" }, YA = { style: { "line-height": "40px" } }, FA = ["placeholder"], PA = /* @__PURE__ */ Y({
17117
+ const $c = { class: "feed-search__container" }, Yc = { style: { "line-height": "40px" } }, Fc = ["placeholder"], Pc = /* @__PURE__ */ Y({
17116
17118
  __name: "FeedSearch",
17117
17119
  props: {
17118
17120
  isFeedLocation: {
@@ -17122,14 +17124,14 @@ const $A = { class: "feed-search__container" }, YA = { style: { "line-height": "
17122
17124
  },
17123
17125
  emits: ["search", "cancel", "switch"],
17124
17126
  setup(e, { emit: t }) {
17125
- const n = Z("chatAppId"), { getModel: a } = RA(n), f = t, s = e, i = b(), r = QA("", 500), A = $(() => s.isFeedLocation ? "40px" : (s.isFeedLocation, "20px"));
17127
+ const n = Z("chatAppId"), { getModel: a } = Rc(n), f = t, s = e, i = b(), r = Qc("", 500), c = $(() => s.isFeedLocation ? "40px" : (s.isFeedLocation, "20px"));
17126
17128
  ee(
17127
17129
  () => [a().text, r.value],
17128
17130
  () => {
17129
17131
  r.value == a().text ? f("search", a().text) : r.value = a().text;
17130
17132
  }
17131
17133
  );
17132
- const c = () => {
17134
+ const A = () => {
17133
17135
  const d = k(i);
17134
17136
  d && (d.value = ""), a().text = "", f("cancel");
17135
17137
  };
@@ -17138,8 +17140,8 @@ const $A = { class: "feed-search__container" }, YA = { style: { "line-height": "
17138
17140
  d == null || d.focus();
17139
17141
  }), (d, g) => (l(), L(se, null, {
17140
17142
  default: W(() => [
17141
- o("div", $A, [
17142
- o("span", YA, D(k(_e)("component.FeedSearch.SearchLabel")), 1),
17143
+ o("div", $c, [
17144
+ o("span", Yc, D(k(_e)("component.FeedSearch.SearchLabel")), 1),
17143
17145
  re(o("input", {
17144
17146
  ref_key: "refInput",
17145
17147
  ref: i,
@@ -17147,13 +17149,13 @@ const $A = { class: "feed-search__container" }, YA = { style: { "line-height": "
17147
17149
  class: "feed-search__input",
17148
17150
  type: "text",
17149
17151
  placeholder: k(_e)("component.FeedSearch.SearchPlaceholder")
17150
- }, null, 8, FA), [
17152
+ }, null, 8, Fc), [
17151
17153
  [ot, k(a)().text]
17152
17154
  ]),
17153
17155
  o("i", {
17154
17156
  class: "pi pi-times",
17155
- style: ce({ right: A.value }),
17156
- onClick: c
17157
+ style: Ae({ right: c.value }),
17158
+ onClick: A
17157
17159
  }, null, 4),
17158
17160
  e.isFeedLocation ? (l(), u("span", {
17159
17161
  key: 0,
@@ -17166,10 +17168,10 @@ const $A = { class: "feed-search__container" }, YA = { style: { "line-height": "
17166
17168
  _: 1
17167
17169
  }));
17168
17170
  }
17169
- }), u0 = /* @__PURE__ */ R(PA, [["__scopeId", "data-v-3829c95c"]]), qA = { class: "feed-found-item__avatar-container" }, HA = ["src"], WA = {
17171
+ }), u0 = /* @__PURE__ */ R(Pc, [["__scopeId", "data-v-3829c95c"]]), qc = { class: "feed-found-item__avatar-container" }, Hc = ["src"], Wc = {
17170
17172
  key: 1,
17171
17173
  class: "pi pi-user"
17172
- }, KA = { class: "feed-found-item__info" }, JA = { class: "feed-found-item__first-line" }, GA = { class: "feed-found-item__name" }, ZA = { class: "feed-found-item__time" }, XA = { class: "feed-found-item__second-line" }, eu = ["src"], tu = /* @__PURE__ */ Y({
17174
+ }, Kc = { class: "feed-found-item__info" }, Jc = { class: "feed-found-item__first-line" }, Gc = { class: "feed-found-item__name" }, Zc = { class: "feed-found-item__time" }, Xc = { class: "feed-found-item__second-line" }, eu = ["src"], tu = /* @__PURE__ */ Y({
17173
17175
  __name: "FeedFoundItem",
17174
17176
  props: {
17175
17177
  object: {
@@ -17194,20 +17196,20 @@ const $A = { class: "feed-search__container" }, YA = { style: { "line-height": "
17194
17196
  return (a, f) => (l(), u("div", {
17195
17197
  class: x(["feed-found-item__container", { "feed-found-item__selected-container": e.selected }])
17196
17198
  }, [
17197
- o("div", qA, [
17199
+ o("div", qc, [
17198
17200
  e.object.avatar ? (l(), u("img", {
17199
17201
  key: 0,
17200
17202
  src: e.object.avatar,
17201
17203
  width: "48",
17202
17204
  height: "48"
17203
- }, null, 8, HA)) : (l(), u("span", WA))
17205
+ }, null, 8, Hc)) : (l(), u("span", Wc))
17204
17206
  ]),
17205
- o("div", KA, [
17206
- o("div", JA, [
17207
- o("p", GA, D(e.object.subtext), 1),
17208
- o("p", ZA, D(e.object.time), 1)
17207
+ o("div", Kc, [
17208
+ o("div", Jc, [
17209
+ o("p", Gc, D(e.object.subtext), 1),
17210
+ o("p", Zc, D(e.object.time), 1)
17209
17211
  ]),
17210
- o("div", XA, [
17212
+ o("div", Xc, [
17211
17213
  e.object.type == "message.image" ? (l(), u("img", {
17212
17214
  key: 0,
17213
17215
  src: e.object.url,
@@ -17247,20 +17249,20 @@ const $A = { class: "feed-search__container" }, YA = { style: { "line-height": "
17247
17249
  },
17248
17250
  emits: ["clickedSearch", "loadMore"],
17249
17251
  setup(e, { emit: t }) {
17250
- const n = t, a = e, f = b(), s = b(null), i = $(() => a.notFound ? _e("component.FeedFoundObjects.notFound") : a.notFound ? "" : _e("component.FeedFoundObjects.notSearched")), r = (c) => {
17251
- c.messageId && (n("clickedSearch", c.messageId), s.value = c);
17252
- }, A = () => {
17253
- const c = k(f);
17254
- c.scrollHeight - c.scrollTop - c.clientHeight <= 0 && n("loadMore");
17252
+ const n = t, a = e, f = b(), s = b(null), i = $(() => a.notFound ? _e("component.FeedFoundObjects.notFound") : a.notFound ? "" : _e("component.FeedFoundObjects.notSearched")), r = (A) => {
17253
+ A.messageId && (n("clickedSearch", A.messageId), s.value = A);
17254
+ }, c = () => {
17255
+ const A = k(f);
17256
+ A.scrollHeight - A.scrollTop - A.clientHeight <= 0 && n("loadMore");
17255
17257
  };
17256
- return (c, d) => (l(), u(F, null, [
17258
+ return (A, d) => (l(), u(F, null, [
17257
17259
  o("h3", au, D(k(_e)("component.FeedFoundObjects.results")) + ": " + D(e.foundAmount), 1),
17258
17260
  e.foundAmount > 0 ? (l(), u("div", {
17259
17261
  key: 0,
17260
17262
  ref_key: "refItems",
17261
17263
  ref: f,
17262
17264
  class: "feed-found-objects__items",
17263
- onScroll: A
17265
+ onScroll: c
17264
17266
  }, [
17265
17267
  (l(!0), u(F, null, ie(e.objects, (g) => (l(), u("div", {
17266
17268
  key: g.messageId,
@@ -17279,7 +17281,7 @@ const $A = { class: "feed-search__container" }, YA = { style: { "line-height": "
17279
17281
  }), d0 = /* @__PURE__ */ R(iu, [["__scopeId", "data-v-85e37019"]]), ou = { class: "audio-recorder__container" }, lu = { key: 0 }, ru = {
17280
17282
  key: 1,
17281
17283
  class: "audio-recorder__recording-container"
17282
- }, cu = { class: "audio-recorder__recording-time" }, Au = /* @__PURE__ */ Y({
17284
+ }, Au = { class: "audio-recorder__recording-time" }, cu = /* @__PURE__ */ Y({
17283
17285
  __name: "AudioRecorder",
17284
17286
  props: {
17285
17287
  state: {
@@ -17292,14 +17294,14 @@ const $A = { class: "feed-search__container" }, YA = { style: { "line-height": "
17292
17294
  }
17293
17295
  },
17294
17296
  setup(e) {
17295
- const t = Z("chatAppId"), { getMessage: n, setMessageFile: a, resetMessageFile: f, setRecordingMessage: s } = Ne(t), i = b(), r = b(0), A = b(0), c = b(0), d = b(0), g = $(() => {
17296
- let U = d.value < 10 ? "0" + d.value : d.value, V = c.value < 10 ? "0" + c.value : c.value, Q = A.value < 10 ? "0" + A.value : A.value, G = r.value < 10 ? "00" + r.value : r.value < 100 ? "0" + r.value : r.value;
17297
+ const t = Z("chatAppId"), { getMessage: n, setMessageFile: a, resetMessageFile: f, setRecordingMessage: s } = Ne(t), i = b(), r = b(0), c = b(0), A = b(0), d = b(0), g = $(() => {
17298
+ let U = d.value < 10 ? "0" + d.value : d.value, V = A.value < 10 ? "0" + A.value : A.value, Q = c.value < 10 ? "0" + c.value : c.value, G = r.value < 10 ? "00" + r.value : r.value < 100 ? "0" + r.value : r.value;
17297
17299
  return U + ":" + V + ":" + Q + ":" + G;
17298
17300
  }), m = b(""), _ = b(!1), v = b(), I = b([]), y = b(), N = b(), j = e, h = async () => {
17299
17301
  if (!n().file && j.state == "active") {
17300
17302
  const U = await navigator.mediaDevices.getUserMedia({ audio: !0, video: !1 });
17301
17303
  i.value = setInterval(() => {
17302
- r.value += 10, r.value == 1e3 && (r.value = 0, A.value++, A.value == 60 && (A.value = 0, c.value++, c.value == 60 && (c.value = 0, d.value++)));
17304
+ r.value += 10, r.value == 1e3 && (r.value = 0, c.value++, c.value == 60 && (c.value = 0, A.value++, A.value == 60 && (A.value = 0, d.value++)));
17303
17305
  }, 10), s(!0), _.value = !0, v.value = new MediaRecorder(U), v.value.start(), v.value.ondataavailable = (V) => {
17304
17306
  I.value.push(V.data);
17305
17307
  };
@@ -17329,7 +17331,7 @@ const $A = { class: "feed-search__container" }, YA = { style: { "line-height": "
17329
17331
  });
17330
17332
  }), T();
17331
17333
  }, T = () => {
17332
- clearInterval(i.value), r.value = 0, A.value = 0, c.value = 0, d.value = 0, s(!1), _.value = !1, v.value = void 0, I.value = [];
17334
+ clearInterval(i.value), r.value = 0, c.value = 0, A.value = 0, d.value = 0, s(!1), _.value = !1, v.value = void 0, I.value = [];
17333
17335
  }, S = () => {
17334
17336
  const U = document.getElementById("chat-input-file-line-" + t);
17335
17337
  U && (U.style.display = "none"), f(), N.value = void 0;
@@ -17357,7 +17359,7 @@ const $A = { class: "feed-search__container" }, YA = { style: { "line-height": "
17357
17359
  }, V[2] || (V[2] = [
17358
17360
  o("div", { class: "audio-recorder__stop" }, null, -1)
17359
17361
  ])),
17360
- o("span", cu, D(g.value), 1)
17362
+ o("span", Au, D(g.value), 1)
17361
17363
  ])) : p("", !0),
17362
17364
  !_.value && m.value != "uploading" && !k(n)().isRecording ? (l(), u("button", {
17363
17365
  key: 2,
@@ -17378,16 +17380,16 @@ const $A = { class: "feed-search__container" }, YA = { style: { "line-height": "
17378
17380
  ], 8, ["to"])) : p("", !0)
17379
17381
  ]));
17380
17382
  }
17381
- }), g0 = /* @__PURE__ */ R(Au, [["__scopeId", "data-v-44cda57d"]]);
17383
+ }), g0 = /* @__PURE__ */ R(cu, [["__scopeId", "data-v-44cda57d"]]);
17382
17384
  function Ot({ component: e, attrs: t, Modal: n, modalAttrs: a }) {
17383
17385
  return new Promise((f) => {
17384
17386
  const s = document.createElement("div");
17385
17387
  document.body.appendChild(s);
17386
17388
  const i = b({}), r = () => {
17387
17389
  g.unmount(), document.body.removeChild(s);
17388
- }, A = () => {
17390
+ }, c = () => {
17389
17391
  r(), f(i.value);
17390
- }, c = (m) => {
17392
+ }, A = (m) => {
17391
17393
  Object.keys(m).forEach((_) => {
17392
17394
  i.value[_] = m[_];
17393
17395
  });
@@ -17398,15 +17400,15 @@ function Ot({ component: e, attrs: t, Modal: n, modalAttrs: a }) {
17398
17400
  {
17399
17401
  ...a,
17400
17402
  onClose: r,
17401
- onSubmit: A
17403
+ onSubmit: c
17402
17404
  },
17403
17405
  {
17404
17406
  default: () => ja(
17405
17407
  Pf(() => e),
17406
17408
  {
17407
17409
  ...t,
17408
- onChange: c,
17409
- onSubmit: A,
17410
+ onChange: A,
17411
+ onSubmit: c,
17410
17412
  onClose: r
17411
17413
  }
17412
17414
  )
@@ -17475,7 +17477,7 @@ const uu = ["data-theme"], du = {
17475
17477
  }, va = /* @__PURE__ */ R(pu, [["__scopeId", "data-v-bfa49925"]]), m0 = async (e, t, n) => {
17476
17478
  const a = await Ot({
17477
17479
  //в component должен быть встроен emit change(key: value)
17478
- component: import("./SelectUser2-DW5_y59E.js"),
17480
+ component: import("./SelectUser2-OW5OWRDo.js"),
17479
17481
  attrs: {
17480
17482
  title: e,
17481
17483
  users: t
@@ -17547,7 +17549,7 @@ const uu = ["data-theme"], du = {
17547
17549
  }
17548
17550
  }, Of = /* @__PURE__ */ R(vu, [["__scopeId", "data-v-2d8b60f8"]]), y0 = async (e, t, n, a, f, s) => await Ot({
17549
17551
  //в component должен быть встроен emit change(key: value)
17550
- component: import("./CreateDialog-DXvbyfrk.js"),
17552
+ component: import("./CreateDialog-gHdvW62p.js"),
17551
17553
  attrs: {
17552
17554
  title: e,
17553
17555
  name: t,
@@ -17561,7 +17563,7 @@ const uu = ["data-theme"], du = {
17561
17563
  }
17562
17564
  }), bu = async (e) => await Ot({
17563
17565
  //в component должен быть встроен emit change(key: value)
17564
- component: import("./ModalVideoRecorder-YSEpkpIg.js"),
17566
+ component: import("./ModalVideoRecorder-C5aboMSQ.js"),
17565
17567
  attrs: {},
17566
17568
  Modal: Of,
17567
17569
  modalAttrs: {
@@ -17586,11 +17588,11 @@ const uu = ["data-theme"], du = {
17586
17588
  }
17587
17589
  },
17588
17590
  setup(e) {
17589
- const t = Z("chatAppId"), { getMessage: n, setMessageFile: a, setRecordingMessage: f, resetMessageFile: s } = Ne(t), { getTheme: i } = Ee(t), r = b(""), A = b(), c = e, d = async () => {
17590
- if (!n().file && c.state == "active") {
17591
+ const t = Z("chatAppId"), { getMessage: n, setMessageFile: a, setRecordingMessage: f, resetMessageFile: s } = Ne(t), { getTheme: i } = Ee(t), r = b(""), c = b(), A = e, d = async () => {
17592
+ if (!n().file && A.state == "active") {
17591
17593
  const m = i().theme ? i().theme : "";
17592
17594
  await bu(m).then(async (_) => {
17593
- _.videoFile && (r.value = "uploading", f(!0), await Tn(c.filebumpUrl, _.videoFile).then((v) => {
17595
+ _.videoFile && (r.value = "uploading", f(!0), await Tn(A.filebumpUrl, _.videoFile).then((v) => {
17594
17596
  if (f(!1), r.value = v.status, v.status == "success") {
17595
17597
  a({
17596
17598
  url: v.url,
@@ -17599,7 +17601,7 @@ const uu = ["data-theme"], du = {
17599
17601
  type: v.type
17600
17602
  });
17601
17603
  const I = document.getElementById("chat-input-file-line-" + t);
17602
- I && (I.style.display = "inherit"), v.preview && (A.value = {
17604
+ I && (I.style.display = "inherit"), v.preview && (c.value = {
17603
17605
  previewUrl: v.preview.previewUrl,
17604
17606
  isImage: v.preview.isImage,
17605
17607
  isVideo: v.preview.isVideo,
@@ -17614,12 +17616,12 @@ const uu = ["data-theme"], du = {
17614
17616
  }, g = () => {
17615
17617
  s();
17616
17618
  const m = document.getElementById("chat-input-file-line-" + t);
17617
- m && (m.style.display = "none"), A.value = void 0;
17619
+ m && (m.style.display = "none"), c.value = void 0;
17618
17620
  };
17619
17621
  return ee(
17620
17622
  () => n().file,
17621
17623
  () => {
17622
- n().file || (A.value = void 0);
17624
+ n().file || (c.value = void 0);
17623
17625
  }
17624
17626
  ), (m, _) => (l(), u(F, null, [
17625
17627
  k(n)().isRecording ? p("", !0) : (l(), u("div", Mu, [
@@ -17638,9 +17640,9 @@ const uu = ["data-theme"], du = {
17638
17640
  key: 2,
17639
17641
  to: "#chat-input-file-line-" + k(t)
17640
17642
  }, [
17641
- A.value ? (l(), L(Dn, {
17643
+ c.value ? (l(), L(Dn, {
17642
17644
  key: 0,
17643
- "file-info": A.value,
17645
+ "file-info": c.value,
17644
17646
  onReset: g
17645
17647
  }, null, 8, ["file-info"])) : p("", !0)
17646
17648
  ], 8, ["to"])) : p("", !0)
@@ -17666,21 +17668,21 @@ const uu = ["data-theme"], du = {
17666
17668
  },
17667
17669
  emits: ["send"],
17668
17670
  setup(e, { emit: t }) {
17669
- const n = e, a = t, f = Z("chatAppId"), { getMessage: s } = Ne(f), i = ef("refBCM"), r = (A) => {
17670
- console.log(A);
17671
- const c = {
17671
+ const n = e, a = t, f = Z("chatAppId"), { getMessage: s } = Ne(f), i = ef("refBCM"), r = (c) => {
17672
+ console.log(c);
17673
+ const A = {
17672
17674
  type: "message.command",
17673
- text: A.action
17675
+ text: c.action
17674
17676
  };
17675
- a("send", c);
17677
+ a("send", A);
17676
17678
  };
17677
17679
  return ee(
17678
17680
  () => s().text,
17679
17681
  () => {
17680
- var A, c;
17681
- n.commands && (s().text.startsWith("/") ? (A = i.value) == null || A.updatePosition() : (c = i.value) == null || c.hideMenu());
17682
+ var c, A;
17683
+ n.commands && (s().text.startsWith("/") ? (c = i.value) == null || c.updatePosition() : (A = i.value) == null || A.hideMenu());
17682
17684
  }
17683
- ), (A, c) => (l(), L(se, null, {
17685
+ ), (c, A) => (l(), L(se, null, {
17684
17686
  default: W(() => [
17685
17687
  e.commands ? (l(), L(Nn, {
17686
17688
  key: 0,
@@ -17751,7 +17753,7 @@ const uu = ["data-theme"], du = {
17751
17753
  ])
17752
17754
  ], 64));
17753
17755
  }
17754
- }), Cu = /* @__PURE__ */ R(Su, [["__scopeId", "data-v-72ef3094"]]), Ou = { class: "reply__reset" }, At = /* @__PURE__ */ Y({
17756
+ }), Cu = /* @__PURE__ */ R(Su, [["__scopeId", "data-v-72ef3094"]]), Ou = { class: "reply__reset" }, ct = /* @__PURE__ */ Y({
17755
17757
  __name: "BaseReplyMessage",
17756
17758
  props: {
17757
17759
  message: {
@@ -17777,17 +17779,17 @@ const uu = ["data-theme"], du = {
17777
17779
  "message.video": "grid",
17778
17780
  "message.call": "grid"
17779
17781
  })[r];
17780
- return (r, A) => {
17781
- var c, d;
17782
+ return (r, c) => {
17783
+ var A, d;
17782
17784
  return l(), u("div", {
17783
- class: x(["reply__container", i((c = e.message) == null ? void 0 : c.type)]),
17785
+ class: x(["reply__container", i((A = e.message) == null ? void 0 : A.type)]),
17784
17786
  onClick: f
17785
17787
  }, [
17786
17788
  (l(), L(tf(s((d = e.message) == null ? void 0 : d.type)), { message: e.message }, null, 8, ["message"])),
17787
17789
  o("div", Ou, [
17788
17790
  o("span", {
17789
17791
  class: "pi pi-times",
17790
- onClick: A[0] || (A[0] = (g) => n("reset"))
17792
+ onClick: c[0] || (c[0] = (g) => n("reset"))
17791
17793
  })
17792
17794
  ])
17793
17795
  ], 2);
@@ -17888,10 +17890,10 @@ const uu = ["data-theme"], du = {
17888
17890
  const r = (I) => {
17889
17891
  a("reply", I);
17890
17892
  };
17891
- function A(I) {
17893
+ function c(I) {
17892
17894
  I.preventDefault(), I.target.href && window.open(I.target.href, "_blank");
17893
17895
  }
17894
- const c = () => {
17896
+ const A = () => {
17895
17897
  a("action", { messageId: n.message.messageId, type: "views" });
17896
17898
  }, d = () => {
17897
17899
  }, g = () => {
@@ -17916,15 +17918,15 @@ const uu = ["data-theme"], du = {
17916
17918
  src: e.message.avatar,
17917
17919
  height: "32",
17918
17920
  width: "32",
17919
- style: ce({ gridRow: e.message.subText ? "2" : "1" })
17921
+ style: Ae({ gridRow: e.message.subText ? "2" : "1" })
17920
17922
  }, null, 12, Ku)) : p("", !0),
17921
17923
  e.message.subText ? (l(), u("p", Ju, D(e.message.subText), 1)) : p("", !0),
17922
17924
  o("div", {
17923
17925
  class: "file-message__content",
17924
- style: ce({ gridRow: e.message.subText ? "2" : "1" }),
17926
+ style: Ae({ gridRow: e.message.subText ? "2" : "1" }),
17925
17927
  onMouseenter: g
17926
17928
  }, [
17927
- e.message.reply ? (l(), L(At, {
17929
+ e.message.reply ? (l(), L(ct, {
17928
17930
  key: 0,
17929
17931
  message: e.message.reply,
17930
17932
  class: x(e.message.position),
@@ -17944,7 +17946,7 @@ const uu = ["data-theme"], du = {
17944
17946
  ], 8, Gu),
17945
17947
  e.message.text ? (l(), u("div", Xu, [
17946
17948
  o("p", {
17947
- onClick: A,
17949
+ onClick: c,
17948
17950
  innerHTML: i.value
17949
17951
  }, null, 8, ed)
17950
17952
  ])) : p("", !0),
@@ -17962,7 +17964,7 @@ const uu = ["data-theme"], du = {
17962
17964
  e.message.views ? (l(), u("div", {
17963
17965
  key: 0,
17964
17966
  class: "file-message__views",
17965
- onClick: c
17967
+ onClick: A
17966
17968
  }, [
17967
17969
  y[3] || (y[3] = o("span", { class: "pi pi-eye" }, null, -1)),
17968
17970
  o("p", null, D(e.message.views), 1)
@@ -17985,7 +17987,7 @@ const uu = ["data-theme"], du = {
17985
17987
  ]))) : p("", !0),
17986
17988
  H(se, null, {
17987
17989
  default: W(() => [
17988
- f.value && e.message.actions ? (l(), L(k(ct), {
17990
+ f.value && e.message.actions ? (l(), L(k(At), {
17989
17991
  key: 0,
17990
17992
  class: "file-message__context-menu",
17991
17993
  actions: e.message.actions,
@@ -18000,7 +18002,7 @@ const uu = ["data-theme"], du = {
18000
18002
  }), sd = /* @__PURE__ */ R(fd, [["__scopeId", "data-v-dbe01086"]]), id = ["messageId"], od = ["src"], ld = {
18001
18003
  key: 1,
18002
18004
  class: "image-message__subtext"
18003
- }, rd = { class: "image-message__content" }, cd = ["src", "alt"], Ad = {
18005
+ }, rd = { class: "image-message__content" }, Ad = ["src", "alt"], cd = {
18004
18006
  key: 0,
18005
18007
  class: "image-message__info-container"
18006
18008
  }, ud = { class: "image-message__time" }, dd = {
@@ -18023,7 +18025,7 @@ const uu = ["data-theme"], du = {
18023
18025
  },
18024
18026
  emits: ["action", "reply"],
18025
18027
  setup(e, { emit: t }) {
18026
- const n = Z("chatAppId"), { getTheme: a } = Ee(n), f = e, s = t, i = b(!1), r = b(!1), A = b(!1), c = b(!1), d = b("");
18028
+ const n = Z("chatAppId"), { getTheme: a } = Ee(n), f = e, s = t, i = b(!1), r = b(!1), c = b(!1), A = b(!1), d = b("");
18027
18029
  ee(
18028
18030
  () => f.message.text,
18029
18031
  () => {
@@ -18041,9 +18043,9 @@ const uu = ["data-theme"], du = {
18041
18043
  s("action", { messageId: f.message.messageId, type: "views" });
18042
18044
  }, v = () => {
18043
18045
  }, I = () => {
18044
- A.value = !0, c.value = !0;
18046
+ c.value = !0, A.value = !0;
18045
18047
  }, y = () => {
18046
- A.value = !1, r.value = !1;
18048
+ c.value = !1, r.value = !1;
18047
18049
  }, N = $(() => f.message.reply && f.message.text ? "0" : f.message.text ? "8px 8px 0 0" : f.message.reply ? "0 0 8px 8px" : "8px"), j = $(() => rt(f.message.status));
18048
18050
  function h(M) {
18049
18051
  return M.position === "left" ? "image-message__left" : "image-message__right";
@@ -18066,7 +18068,7 @@ const uu = ["data-theme"], du = {
18066
18068
  }, null, 8, od)) : p("", !0),
18067
18069
  e.message.subText ? (l(), u("p", ld, D(e.message.subText), 1)) : p("", !0),
18068
18070
  o("div", rd, [
18069
- e.message.reply ? (l(), L(At, {
18071
+ e.message.reply ? (l(), L(ct, {
18070
18072
  key: 0,
18071
18073
  style: { margin: "10px 10px 4px 16px" },
18072
18074
  class: x(e.message.position),
@@ -18077,17 +18079,17 @@ const uu = ["data-theme"], du = {
18077
18079
  class: "image-message__preview-button",
18078
18080
  onClick: T[0] || (T[0] = (S) => i.value = !0),
18079
18081
  onMouseenter: I,
18080
- onMouseleave: T[1] || (T[1] = (S) => c.value = !c.value)
18082
+ onMouseleave: T[1] || (T[1] = (S) => A.value = !A.value)
18081
18083
  }, [
18082
18084
  o("img", {
18083
18085
  class: "image-message__preview-image",
18084
- style: ce({ borderRadius: N.value }),
18086
+ style: Ae({ borderRadius: N.value }),
18085
18087
  src: e.message.url,
18086
18088
  alt: e.message.alt
18087
- }, null, 12, cd),
18089
+ }, null, 12, Ad),
18088
18090
  H(se, { name: "modal-fade" }, {
18089
18091
  default: W(() => [
18090
- c.value ? (l(), u("div", Ad, [
18092
+ A.value ? (l(), u("div", cd, [
18091
18093
  e.message.views ? (l(), u("div", {
18092
18094
  key: 0,
18093
18095
  class: "image-message__views",
@@ -18110,7 +18112,7 @@ const uu = ["data-theme"], du = {
18110
18112
  }),
18111
18113
  H(se, { name: "modal-fade" }, {
18112
18114
  default: W(() => [
18113
- c.value ? (l(), u("a", {
18115
+ A.value ? (l(), u("a", {
18114
18116
  key: 0,
18115
18117
  class: "image-message__download-button",
18116
18118
  href: e.message.url,
@@ -18126,7 +18128,7 @@ const uu = ["data-theme"], du = {
18126
18128
  ], 32),
18127
18129
  H(se, { name: "modal-fade" }, {
18128
18130
  default: W(() => [
18129
- A.value && e.message.actions ? (l(), u("button", {
18131
+ c.value && e.message.actions ? (l(), u("button", {
18130
18132
  key: 0,
18131
18133
  class: "image-message__menu-button",
18132
18134
  onClick: T[2] || (T[2] = (S) => r.value = !r.value)
@@ -18138,7 +18140,7 @@ const uu = ["data-theme"], du = {
18138
18140
  }),
18139
18141
  H(se, { name: "context-menu" }, {
18140
18142
  default: W(() => [
18141
- r.value && e.message.actions ? (l(), L(k(ct), {
18143
+ r.value && e.message.actions ? (l(), L(k(At), {
18142
18144
  key: 0,
18143
18145
  class: "image-message__context-menu",
18144
18146
  actions: e.message.actions,
@@ -18221,10 +18223,10 @@ const uu = ["data-theme"], du = {
18221
18223
  const r = (I) => {
18222
18224
  a("reply", I);
18223
18225
  };
18224
- function A(I) {
18226
+ function c(I) {
18225
18227
  I.preventDefault(), I.target.href && window.open(I.target.href, "_blank");
18226
18228
  }
18227
- const c = () => {
18229
+ const A = () => {
18228
18230
  s.value = !0;
18229
18231
  }, d = () => {
18230
18232
  s.value = !1, f.value = !1;
@@ -18250,14 +18252,14 @@ const uu = ["data-theme"], du = {
18250
18252
  src: e.message.avatar,
18251
18253
  height: "32",
18252
18254
  width: "32",
18253
- style: ce({ gridRow: e.message.subText ? "2" : "1" })
18255
+ style: Ae({ gridRow: e.message.subText ? "2" : "1" })
18254
18256
  }, null, 12, Md)) : p("", !0),
18255
18257
  e.message.subText ? (l(), u("p", _d, D(e.message.subText), 1)) : p("", !0),
18256
18258
  o("div", {
18257
18259
  class: "text-message__content",
18258
- onMouseenter: c
18260
+ onMouseenter: A
18259
18261
  }, [
18260
- e.message.reply ? (l(), L(At, {
18262
+ e.message.reply ? (l(), L(ct, {
18261
18263
  key: 0,
18262
18264
  class: x(e.message.position),
18263
18265
  message: e.message.reply,
@@ -18265,7 +18267,7 @@ const uu = ["data-theme"], du = {
18265
18267
  }, null, 8, ["class", "message"])) : p("", !0),
18266
18268
  o("p", {
18267
18269
  class: "text-message__text",
18268
- onClick: A,
18270
+ onClick: c,
18269
18271
  innerHTML: i.value
18270
18272
  }, null, 8, Id),
18271
18273
  e.message.linkPreview ? (l(), L(zt, {
@@ -18305,7 +18307,7 @@ const uu = ["data-theme"], du = {
18305
18307
  ]))) : p("", !0),
18306
18308
  H(se, null, {
18307
18309
  default: W(() => [
18308
- f.value && e.message.actions ? (l(), L(k(ct), {
18310
+ f.value && e.message.actions ? (l(), L(k(At), {
18309
18311
  key: 0,
18310
18312
  class: "text-message__context-menu",
18311
18313
  actions: e.message.actions,
@@ -18367,8 +18369,8 @@ const uu = ["data-theme"], du = {
18367
18369
  ]), i = (O) => {
18368
18370
  for (let z of s.value)
18369
18371
  z.selected = !1;
18370
- s.value[O].selected = !0, A.value && (A.value.playbackRate = s.value[O].speed);
18371
- }, r = t, A = b(), c = b(!1), d = b(0), g = b(0), m = b(!1), _ = b(!1), v = b(!1), I = $(() => f.message.text ? Te(f.message.text) : ""), y = (O) => {
18372
+ s.value[O].selected = !0, c.value && (c.value.playbackRate = s.value[O].speed);
18373
+ }, r = t, c = b(), A = b(!1), d = b(0), g = b(0), m = b(!1), _ = b(!1), v = b(!1), I = $(() => f.message.text ? Te(f.message.text) : ""), y = (O) => {
18372
18374
  r("reply", O);
18373
18375
  };
18374
18376
  function N(O) {
@@ -18383,29 +18385,29 @@ const uu = ["data-theme"], du = {
18383
18385
  }, M = () => {
18384
18386
  }, T = $(() => rt(f.message.status));
18385
18387
  function S() {
18386
- A.value && (c.value ? A.value.pause() : A.value.play(), c.value = !c.value);
18388
+ c.value && (A.value ? c.value.pause() : c.value.play(), A.value = !A.value);
18387
18389
  }
18388
18390
  const U = (O) => {
18389
18391
  const z = Math.floor(O / 60), X = Math.floor(O % 60);
18390
18392
  return `${z.toString().padStart(2, "0")}:${X.toString().padStart(2, "0")}`;
18391
- }, V = $(() => A.value ? U(g.value) : "0:00");
18393
+ }, V = $(() => c.value ? U(g.value) : "0:00");
18392
18394
  ee(
18393
18395
  () => g.value,
18394
18396
  () => {
18395
- A.value && (A.value.duration != 1 / 0 && !Number.isNaN(A.value.duration) && (A.value.currentTime = g.value), g.value == d.value && (c.value = !1));
18397
+ c.value && (c.value.duration != 1 / 0 && !Number.isNaN(c.value.duration) && (c.value.currentTime = g.value), g.value == d.value && (A.value = !1));
18396
18398
  }
18397
18399
  );
18398
- const Q = $(() => A.value ? U(d.value) : "0:00");
18400
+ const Q = $(() => c.value ? U(d.value) : "0:00");
18399
18401
  function G(O) {
18400
18402
  return O.position === "left" ? "audio-message__left" : "audio-message__right";
18401
18403
  }
18402
18404
  return ue(() => {
18403
- A.value != null && (A.value.addEventListener("loadedmetadata", () => {
18404
- A.value != null && (A.value.duration == 1 / 0 || Number.isNaN(A.value.duration)) && (A.value.currentTime = 1e101, A.value.addEventListener("timeupdate", () => {
18405
- A.value && (A.value.currentTime = 0, d.value = A.value.duration);
18406
- }, { once: !0 })), d.value = A.value != null ? A.value.duration : 0;
18407
- }), A.value.addEventListener("timeupdate", () => {
18408
- g.value = A.value != null ? A.value.currentTime : 0;
18405
+ c.value != null && (c.value.addEventListener("loadedmetadata", () => {
18406
+ c.value != null && (c.value.duration == 1 / 0 || Number.isNaN(c.value.duration)) && (c.value.currentTime = 1e101, c.value.addEventListener("timeupdate", () => {
18407
+ c.value && (c.value.currentTime = 0, d.value = c.value.duration);
18408
+ }, { once: !0 })), d.value = c.value != null ? c.value.duration : 0;
18409
+ }), c.value.addEventListener("timeupdate", () => {
18410
+ g.value = c.value != null ? c.value.currentTime : 0;
18409
18411
  }));
18410
18412
  }), (O, z) => {
18411
18413
  var X;
@@ -18423,14 +18425,14 @@ const uu = ["data-theme"], du = {
18423
18425
  src: e.message.avatar,
18424
18426
  height: "32",
18425
18427
  width: "32",
18426
- style: ce({ gridRow: e.message.subText ? "2" : "1" })
18428
+ style: Ae({ gridRow: e.message.subText ? "2" : "1" })
18427
18429
  }, null, 12, jd)) : p("", !0),
18428
18430
  e.message.subText ? (l(), u("p", xd, D(e.message.subText), 1)) : p("", !0),
18429
18431
  o("div", {
18430
18432
  class: "audio-message__content",
18431
18433
  onMouseenter: j
18432
18434
  }, [
18433
- e.message.reply ? (l(), L(At, {
18435
+ e.message.reply ? (l(), L(ct, {
18434
18436
  key: 0,
18435
18437
  style: { "grid-column": "1/3" },
18436
18438
  message: e.message.reply,
@@ -18440,7 +18442,7 @@ const uu = ["data-theme"], du = {
18440
18442
  o("div", Vd, [
18441
18443
  o("audio", {
18442
18444
  ref_key: "player",
18443
- ref: A,
18445
+ ref: c,
18444
18446
  src: e.message.url,
18445
18447
  type: "audio/webm"
18446
18448
  }, null, 8, Sd),
@@ -18450,7 +18452,7 @@ const uu = ["data-theme"], du = {
18450
18452
  }, z[4] || (z[4] = [
18451
18453
  o("span", { class: "pi pi-play" }, null, -1)
18452
18454
  ]), 512), [
18453
- [De, !c.value]
18455
+ [De, !A.value]
18454
18456
  ]),
18455
18457
  re(o("button", {
18456
18458
  class: "audio-message__pause",
@@ -18458,7 +18460,7 @@ const uu = ["data-theme"], du = {
18458
18460
  }, z[5] || (z[5] = [
18459
18461
  o("span", { class: "pi pi-pause" }, null, -1)
18460
18462
  ]), 512), [
18461
- [De, c.value]
18463
+ [De, A.value]
18462
18464
  ]),
18463
18465
  re(o("input", {
18464
18466
  "onUpdate:modelValue": z[0] || (z[0] = (ae) => g.value = ae),
@@ -18538,7 +18540,7 @@ const uu = ["data-theme"], du = {
18538
18540
  ]))) : p("", !0),
18539
18541
  H(se, null, {
18540
18542
  default: W(() => [
18541
- m.value && e.message.actions ? (l(), L(k(ct), {
18543
+ m.value && e.message.actions ? (l(), L(k(At), {
18542
18544
  key: 0,
18543
18545
  class: "audio-message__context-menu",
18544
18546
  actions: e.message.actions,
@@ -18602,10 +18604,10 @@ const uu = ["data-theme"], du = {
18602
18604
  }, o1 = { class: "video-message__time" }, l1 = {
18603
18605
  key: 0,
18604
18606
  class: "pi pi-check"
18605
- }, r1 = ["href"], c1 = {
18607
+ }, r1 = ["href"], A1 = {
18606
18608
  key: 1,
18607
18609
  class: "video-message__text-container"
18608
- }, A1 = ["innerHTML"], u1 = ["src", "alt"], d1 = /* @__PURE__ */ Y({
18610
+ }, c1 = ["innerHTML"], u1 = ["src", "alt"], d1 = /* @__PURE__ */ Y({
18609
18611
  inheritAttrs: !1,
18610
18612
  __name: "VideoMessage",
18611
18613
  props: {
@@ -18626,7 +18628,7 @@ const uu = ["data-theme"], du = {
18626
18628
  function r(U) {
18627
18629
  return U.position === "left" ? "video-message__left" : "video-message__right";
18628
18630
  }
18629
- const A = b(), c = b(), d = b(!1), g = b(!1), m = b(!1), _ = b(!1), v = b("");
18631
+ const c = b(), A = b(), d = b(!1), g = b(!1), m = b(!1), _ = b(!1), v = b("");
18630
18632
  ee(
18631
18633
  () => f.message.text,
18632
18634
  () => {
@@ -18645,9 +18647,9 @@ const uu = ["data-theme"], du = {
18645
18647
  }, h = () => {
18646
18648
  m.value = !1, g.value = !1;
18647
18649
  }, w = $(() => rt(f.message.status)), M = () => {
18648
- c.value && (c.value.currentTime = 0, c.value.play());
18650
+ A.value && (A.value.currentTime = 0, A.value.play());
18649
18651
  };
18650
- ee([A, c], ([U, V]) => {
18652
+ ee([c, A], ([U, V]) => {
18651
18653
  U ? V && (V.pause(), V.currentTime = 0) : V && (V.play(), V.currentTime = 0);
18652
18654
  });
18653
18655
  const T = $(() => f.message.reply && f.message.text ? "0" : f.message.text ? "8px 8px 0 0" : f.message.reply ? "0 0 8px 8px" : "8px"), S = () => d.value = !1;
@@ -18669,7 +18671,7 @@ const uu = ["data-theme"], du = {
18669
18671
  }, null, 8, n1)) : p("", !0),
18670
18672
  e.message.subText ? (l(), u("p", a1, D(e.message.subText), 1)) : p("", !0),
18671
18673
  o("div", f1, [
18672
- e.message.reply ? (l(), L(At, {
18674
+ e.message.reply ? (l(), L(ct, {
18673
18675
  key: 0,
18674
18676
  style: { margin: "10px 10px 4px 16px" },
18675
18677
  class: x(e.message.position),
@@ -18684,9 +18686,9 @@ const uu = ["data-theme"], du = {
18684
18686
  }, [
18685
18687
  o("video", {
18686
18688
  ref_key: "previewPlayer",
18687
- ref: c,
18689
+ ref: A,
18688
18690
  class: "video-message__video",
18689
- style: ce({ borderRadius: T.value }),
18691
+ style: Ae({ borderRadius: T.value }),
18690
18692
  src: e.message.url,
18691
18693
  muted: !0,
18692
18694
  autoplay: "",
@@ -18745,7 +18747,7 @@ const uu = ["data-theme"], du = {
18745
18747
  }),
18746
18748
  H(se, { name: "context-menu" }, {
18747
18749
  default: W(() => [
18748
- g.value && e.message.actions ? (l(), L(k(ct), {
18750
+ g.value && e.message.actions ? (l(), L(k(At), {
18749
18751
  key: 0,
18750
18752
  class: "video-message__context-menu",
18751
18753
  actions: e.message.actions,
@@ -18754,11 +18756,11 @@ const uu = ["data-theme"], du = {
18754
18756
  ]),
18755
18757
  _: 1
18756
18758
  }),
18757
- e.message.text ? (l(), u("div", c1, [
18759
+ e.message.text ? (l(), u("div", A1, [
18758
18760
  o("p", {
18759
18761
  onClick: I,
18760
18762
  innerHTML: v.value
18761
- }, null, 8, A1)
18763
+ }, null, 8, c1)
18762
18764
  ])) : p("", !0),
18763
18765
  e.message.linkPreview ? (l(), L(zt, {
18764
18766
  key: 2,
@@ -18783,7 +18785,7 @@ const uu = ["data-theme"], du = {
18783
18785
  default: W(() => [
18784
18786
  o("video", {
18785
18787
  ref_key: "player",
18786
- ref: A,
18788
+ ref: c,
18787
18789
  class: "video-message__modal-video",
18788
18790
  src: e.message.url,
18789
18791
  alt: e.message.alt,
@@ -18835,18 +18837,18 @@ const uu = ["data-theme"], du = {
18835
18837
  message: "message"
18836
18838
  };
18837
18839
  function s(i, r) {
18838
- const A = i.position;
18840
+ const c = i.position;
18839
18841
  switch (r) {
18840
18842
  case "textDialog":
18841
- return A === "left" ? "call-message__text-dialog-left" : "call-message__text-dialog-right";
18843
+ return c === "left" ? "call-message__text-dialog-left" : "call-message__text-dialog-right";
18842
18844
  case "message":
18843
- return A === "left" ? "call-message__left" : "call-message__right";
18845
+ return c === "left" ? "call-message__left" : "call-message__right";
18844
18846
  default:
18845
18847
  return "";
18846
18848
  }
18847
18849
  }
18848
18850
  return (i, r) => {
18849
- var A;
18851
+ var c;
18850
18852
  return l(), u("div", {
18851
18853
  class: x([
18852
18854
  s(e.message, f.message),
@@ -18860,7 +18862,7 @@ const uu = ["data-theme"], du = {
18860
18862
  src: e.message.avatar,
18861
18863
  height: "32",
18862
18864
  width: "32",
18863
- style: ce({ gridRow: e.message.subText ? "2" : "1" })
18865
+ style: Ae({ gridRow: e.message.subText ? "2" : "1" })
18864
18866
  }, null, 12, p1)) : p("", !0),
18865
18867
  e.message.subText ? (l(), u("p", h1, D(e.message.subText), 1)) : p("", !0),
18866
18868
  o("div", y1, [
@@ -18872,17 +18874,17 @@ const uu = ["data-theme"], du = {
18872
18874
  o("div", w1, [
18873
18875
  o("span", k1, D(e.message.time), 1)
18874
18876
  ]),
18875
- (A = e.message.transcript) != null && A.dialog ? (l(), u("button", {
18877
+ (c = e.message.transcript) != null && c.dialog ? (l(), u("button", {
18876
18878
  key: 5,
18877
18879
  class: "call-message__download-button",
18878
- onClick: r[0] || (r[0] = (c) => a.value = !a.value)
18880
+ onClick: r[0] || (r[0] = (A) => a.value = !a.value)
18879
18881
  }, r[2] || (r[2] = [
18880
18882
  o("span", { class: "pi pi-arrow-up-right" }, null, -1)
18881
18883
  ]))) : p("", !0),
18882
18884
  (l(), L(ve, { to: "body" }, [
18883
18885
  H(se, { name: "modal-fade" }, {
18884
18886
  default: W(() => {
18885
- var c;
18887
+ var A;
18886
18888
  return [
18887
18889
  a.value ? (l(), u("div", {
18888
18890
  key: 0,
@@ -18898,7 +18900,7 @@ const uu = ["data-theme"], du = {
18898
18900
  o("i", { class: "pi pi-times" })
18899
18901
  ], -1)
18900
18902
  ])),
18901
- (l(!0), u(F, null, ie((c = e.message.transcript) == null ? void 0 : c.dialog, (d) => (l(), u("div", {
18903
+ (l(!0), u(F, null, ie((A = e.message.transcript) == null ? void 0 : A.dialog, (d) => (l(), u("div", {
18902
18904
  key: d.time,
18903
18905
  class: x(s(d, f.textDialog))
18904
18906
  }, [
@@ -18948,7 +18950,7 @@ const uu = ["data-theme"], du = {
18948
18950
  src: e.message.avatar,
18949
18951
  height: "32",
18950
18952
  width: "32",
18951
- style: ce({ gridRow: e.message.subText ? "2" : "1" })
18953
+ style: Ae({ gridRow: e.message.subText ? "2" : "1" })
18952
18954
  }, null, 12, O1)) : p("", !0),
18953
18955
  e.message.subText ? (l(), u("p", z1, D(e.message.subText), 1)) : p("", !0),
18954
18956
  n[0] || (n[0] = o("div", { class: "typing-message__loader-container" }, [
@@ -19002,14 +19004,14 @@ const uu = ["data-theme"], du = {
19002
19004
  },
19003
19005
  { immediate: !0 }
19004
19006
  );
19005
- function i(A) {
19006
- A.preventDefault(), A.target.href && window.open(A.target.href, "_blank");
19007
+ function i(c) {
19008
+ c.preventDefault(), c.target.href && window.open(c.target.href, "_blank");
19007
19009
  }
19008
19010
  const r = () => f.value = !1;
19009
- return (A, c) => (l(), u(F, null, [
19011
+ return (c, A) => (l(), u(F, null, [
19010
19012
  o("div", {
19011
19013
  class: "image-message__preview-button",
19012
- onClick: c[0] || (c[0] = (d) => f.value = !0)
19014
+ onClick: A[0] || (A[0] = (d) => f.value = !0)
19013
19015
  }, [
19014
19016
  o("img", {
19015
19017
  class: "image-message__preview-image",
@@ -19019,7 +19021,7 @@ const uu = ["data-theme"], du = {
19019
19021
  ]),
19020
19022
  o("div", F1, [
19021
19023
  e.message.header ? (l(), u("p", P1, D(e.message.header), 1)) : p("", !0),
19022
- c[1] || (c[1] = o("div", { class: "image-message__reply-description" }, [
19024
+ A[1] || (A[1] = o("div", { class: "image-message__reply-description" }, [
19023
19025
  o("span", { class: "pi pi-camera" }),
19024
19026
  o("p", null, "Фотография")
19025
19027
  ], -1)),
@@ -19111,11 +19113,11 @@ const uu = ["data-theme"], du = {
19111
19113
  },
19112
19114
  { immediate: !0 }
19113
19115
  );
19114
- function r(c) {
19115
- c.preventDefault(), c.target.href && window.open(c.target.href, "_blank");
19116
+ function r(A) {
19117
+ A.preventDefault(), A.target.href && window.open(A.target.href, "_blank");
19116
19118
  }
19117
- const A = () => s.value = !1;
19118
- return (c, d) => (l(), u(F, null, [
19119
+ const c = () => s.value = !1;
19120
+ return (A, d) => (l(), u(F, null, [
19119
19121
  o("div", {
19120
19122
  class: "video-message__preview-button",
19121
19123
  onClick: d[0] || (d[0] = (g) => s.value = !0)
@@ -19145,7 +19147,7 @@ const uu = ["data-theme"], du = {
19145
19147
  s.value ? (l(), L(xt, {
19146
19148
  key: 0,
19147
19149
  "data-theme": k(n)().theme ? k(n)().theme : "light",
19148
- onClose: A
19150
+ onClose: c
19149
19151
  }, {
19150
19152
  default: W(() => [
19151
19153
  o("video", {
@@ -19166,7 +19168,7 @@ const uu = ["data-theme"], du = {
19166
19168
  ]))
19167
19169
  ], 64));
19168
19170
  }
19169
- }), lg = /* @__PURE__ */ R(og, [["__scopeId", "data-v-45343a0b"]]), rg = ["href"], cg = { key: 0 }, Ag = ["href"], ug = { class: "file-message__filename-text" }, dg = ["innerHTML"], gg = /* @__PURE__ */ Y({
19171
+ }), lg = /* @__PURE__ */ R(og, [["__scopeId", "data-v-45343a0b"]]), rg = ["href"], Ag = { key: 0 }, cg = ["href"], ug = { class: "file-message__filename-text" }, dg = ["innerHTML"], gg = /* @__PURE__ */ Y({
19170
19172
  __name: "ReplyFileMessage",
19171
19173
  props: {
19172
19174
  message: {
@@ -19196,7 +19198,7 @@ const uu = ["data-theme"], du = {
19196
19198
  o("span", { class: "pi pi-file" }, null, -1)
19197
19199
  ]), 8, rg),
19198
19200
  o("div", null, [
19199
- e.message.header ? (l(), u("p", cg, D(e.message.header), 1)) : p("", !0),
19201
+ e.message.header ? (l(), u("p", Ag, D(e.message.header), 1)) : p("", !0),
19200
19202
  o("a", {
19201
19203
  class: "file-message__link",
19202
19204
  href: e.message.url,
@@ -19204,7 +19206,7 @@ const uu = ["data-theme"], du = {
19204
19206
  target: "_blank"
19205
19207
  }, [
19206
19208
  o("p", ug, D(e.message.filename), 1)
19207
- ], 8, Ag),
19209
+ ], 8, cg),
19208
19210
  e.message.text ? (l(), u("p", {
19209
19211
  key: 1,
19210
19212
  class: "file-message__text",
@@ -19238,7 +19240,7 @@ const uu = ["data-theme"], du = {
19238
19240
  }, [
19239
19241
  o("div", {
19240
19242
  class: "base__container",
19241
- style: ce({ height: e.height, width: e.width })
19243
+ style: Ae({ height: e.height, width: e.width })
19242
19244
  }, [
19243
19245
  ne(a.$slots, "default")
19244
19246
  ], 4)
@@ -19270,13 +19272,13 @@ const uu = ["data-theme"], du = {
19270
19272
  },
19271
19273
  emits: ["close-window", "get-size"],
19272
19274
  setup(e, { emit: t }) {
19273
- const n = e, a = b({ x: 0, y: 0 }), f = b(null), s = b(null), i = b(!1), r = b(0), A = b(0), c = b(0), d = ta();
19275
+ const n = e, a = b({ x: 0, y: 0 }), f = b(null), s = b(null), i = b(!1), r = b(0), c = b(0), A = b(0), d = ta();
19274
19276
  et("chatAppId", d), et("extChatAppId", n.extChatAppId ? n.extChatAppId : "");
19275
19277
  const g = (v) => {
19276
- i.value = !0, r.value = v.clientX - f.value.offsetLeft, A.value = v.clientY - f.value.offsetTop;
19278
+ i.value = !0, r.value = v.clientX - f.value.offsetLeft, c.value = v.clientY - f.value.offsetTop;
19277
19279
  }, m = () => i.value = !1, _ = (v) => {
19278
19280
  if (i.value) {
19279
- const I = v.clientX - r.value, y = v.clientY - A.value;
19281
+ const I = v.clientX - r.value, y = v.clientY - c.value;
19280
19282
  a.value.x = I, a.value.y = y;
19281
19283
  }
19282
19284
  };
@@ -19295,13 +19297,13 @@ const uu = ["data-theme"], du = {
19295
19297
  window.innerHeight - f.value.offsetHeight
19296
19298
  )
19297
19299
  ));
19298
- }), c.value = f.value.offsetHeight - s.value.offsetHeight;
19300
+ }), A.value = f.value.offsetHeight - s.value.offsetHeight;
19299
19301
  }), (v, I) => (l(), u("div", {
19300
19302
  id: k(d),
19301
19303
  ref_key: "element",
19302
19304
  ref: f,
19303
19305
  class: "float-window",
19304
- style: ce({
19306
+ style: Ae({
19305
19307
  left: a.value.x + "px",
19306
19308
  top: a.value.y + "px",
19307
19309
  userSelect: i.value ? "none" : "auto",
@@ -19338,7 +19340,7 @@ const uu = ["data-theme"], du = {
19338
19340
  ], 544),
19339
19341
  o("div", {
19340
19342
  class: "float-window__content",
19341
- style: ce({ height: c.value + "px" })
19343
+ style: Ae({ height: A.value + "px" })
19342
19344
  }, [
19343
19345
  ne(v.$slots, "default")
19344
19346
  ], 4)
@@ -19531,7 +19533,7 @@ export {
19531
19533
  tg as c,
19532
19534
  lg as d,
19533
19535
  mg as e,
19534
- At as f,
19536
+ ct as f,
19535
19537
  Kg as g,
19536
19538
  Jg as h,
19537
19539
  Gg as i,
@@ -19545,9 +19547,9 @@ export {
19545
19547
  wo as q,
19546
19548
  Nn as r,
19547
19549
  el as s,
19548
- c0 as t,
19549
- A0 as u,
19550
- ct as v,
19550
+ A0 as t,
19551
+ c0 as u,
19552
+ At as v,
19551
19553
  u0 as w,
19552
19554
  d0 as x,
19553
19555
  Ua as y,