@mobilon-dev/chotto 0.2.5 → 0.2.7

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,10 +1,10 @@
1
- import { createElementBlock as A, openBlock as l, createStaticVNode as na, inject as G, computed as Y, createCommentVNode as h, createElementVNode as o, createVNode as Q, createTextVNode as Fn, toDisplayString as T, renderSlot as ne, unref as k, ref as b, customRef as ef, defineComponent as F, watch as te, nextTick as Oe, withDirectives as re, withKeys as aa, vModelText as ot, normalizeClass as j, Fragment as q, renderList as ie, createBlock as U, Transition as se, withCtx as P, useTemplateRef as tf, normalizeStyle as ce, resolveDynamicComponent as nf, Teleport as ye, onMounted as ue, onUnmounted as kn, vShow as De, useId as fa, toRef as Yf, vModelRadio as af, reactive as ff, provide as et, getCurrentInstance as Ff, toRaw as sf, onBeforeUnmount as Pf, readonly as qf, resolveComponent as Pt, h as ja, defineAsyncComponent as Hf, createApp as Wf, withModifiers as kt } from "vue";
2
- const Kf = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", Jf = "ελ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", Pn = "numeric", qn = "ascii", Hn = "alpha", ht = "asciinumeric", pt = "alphanumeric", Wn = "domain", of = "emoji", Zf = "scheme", Gf = "slashscheme", Sn = "whitespace";
1
+ import { createElementBlock as A, openBlock as l, createStaticVNode as na, inject as G, computed as Y, createCommentVNode as h, createElementVNode as o, createVNode as Q, createTextVNode as Fn, toDisplayString as T, renderSlot as ne, unref as N, ref as b, customRef as tf, defineComponent as F, watch as te, nextTick as Oe, withDirectives as re, withKeys as aa, vModelText as ot, normalizeClass as x, Fragment as q, renderList as ie, createBlock as L, Transition as se, withCtx as P, useTemplateRef as nf, normalizeStyle as ce, resolveDynamicComponent as af, Teleport as ye, onMounted as ue, onUnmounted as kn, vShow as De, useId as fa, toRef as ja, vModelRadio as ff, reactive as sf, provide as et, getCurrentInstance as Ff, toRaw as of, onBeforeUnmount as Pf, readonly as qf, resolveComponent as Pt, h as Va, defineAsyncComponent as Hf, createApp as Wf, withModifiers as kt } from "vue";
2
+ const Kf = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", Jf = "ελ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", Pn = "numeric", qn = "ascii", Hn = "alpha", ht = "asciinumeric", pt = "alphanumeric", Wn = "domain", lf = "emoji", Zf = "scheme", Gf = "slashscheme", Sn = "whitespace";
3
3
  function Xf(e, t) {
4
4
  return e in t || (t[e] = []), t[e];
5
5
  }
6
6
  function Ze(e, t, n) {
7
- t[Pn] && (t[ht] = !0, t[pt] = !0), t[qn] && (t[ht] = !0, t[Hn] = !0), t[ht] && (t[pt] = !0), t[Hn] && (t[pt] = !0), t[pt] && (t[Wn] = !0), t[of] && (t[Wn] = !0);
7
+ t[Pn] && (t[ht] = !0, t[pt] = !0), t[qn] && (t[ht] = !0, t[Hn] = !0), t[ht] && (t[pt] = !0), t[Hn] && (t[pt] = !0), t[pt] && (t[Wn] = !0), t[lf] && (t[Wn] = !0);
8
8
  for (const a in t) {
9
9
  const f = Xf(a, n);
10
10
  f.indexOf(e) < 0 && f.push(e);
@@ -140,13 +140,13 @@ ve.prototype = {
140
140
  return f.j[e] = i, i;
141
141
  }
142
142
  };
143
- const W = (e, t, n, a, f) => e.ta(t, n, a, f), oe = (e, t, n, a, f) => e.tr(t, n, a, f), Va = (e, t, n, a, f) => e.ts(t, n, a, f), x = (e, t, n, a, f) => e.tt(t, n, a, f), Re = "WORD", Kn = "UWORD", lf = "ASCIINUMERICAL", rf = "ALPHANUMERICAL", Nt = "LOCALHOST", Jn = "TLD", Zn = "UTLD", qt = "SCHEME", Xe = "SLASH_SCHEME", sa = "NUM", Gn = "WS", ia = "NL", vt = "OPENBRACE", yt = "CLOSEBRACE", Kt = "OPENBRACKET", Jt = "CLOSEBRACKET", Zt = "OPENPAREN", Gt = "CLOSEPAREN", Xt = "OPENANGLEBRACKET", en = "CLOSEANGLEBRACKET", tn = "FULLWIDTHLEFTPAREN", nn = "FULLWIDTHRIGHTPAREN", an = "LEFTCORNERBRACKET", fn = "RIGHTCORNERBRACKET", sn = "LEFTWHITECORNERBRACKET", on = "RIGHTWHITECORNERBRACKET", ln = "FULLWIDTHLESSTHAN", rn = "FULLWIDTHGREATERTHAN", cn = "AMPERSAND", An = "APOSTROPHE", un = "ASTERISK", Fe = "AT", dn = "BACKSLASH", gn = "BACKTICK", mn = "CARET", Pe = "COLON", oa = "COMMA", pn = "DOLLAR", je = "DOT", hn = "EQUALS", la = "EXCLAMATION", Me = "HYPHEN", bt = "PERCENT", vn = "PIPE", yn = "PLUS", bn = "POUND", Mt = "QUERY", ra = "QUOTE", cf = "FULLWIDTHMIDDLEDOT", ca = "SEMI", Ve = "SLASH", _t = "TILDE", Mn = "UNDERSCORE", Af = "EMOJI", _n = "SYM";
144
- var uf = /* @__PURE__ */ Object.freeze({
143
+ const W = (e, t, n, a, f) => e.ta(t, n, a, f), oe = (e, t, n, a, f) => e.tr(t, n, a, f), Sa = (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", Kn = "UWORD", rf = "ASCIINUMERICAL", cf = "ALPHANUMERICAL", Nt = "LOCALHOST", Jn = "TLD", Zn = "UTLD", qt = "SCHEME", Xe = "SLASH_SCHEME", sa = "NUM", Gn = "WS", ia = "NL", vt = "OPENBRACE", yt = "CLOSEBRACE", Kt = "OPENBRACKET", Jt = "CLOSEBRACKET", Zt = "OPENPAREN", Gt = "CLOSEPAREN", Xt = "OPENANGLEBRACKET", en = "CLOSEANGLEBRACKET", tn = "FULLWIDTHLEFTPAREN", nn = "FULLWIDTHRIGHTPAREN", an = "LEFTCORNERBRACKET", fn = "RIGHTCORNERBRACKET", sn = "LEFTWHITECORNERBRACKET", on = "RIGHTWHITECORNERBRACKET", ln = "FULLWIDTHLESSTHAN", rn = "FULLWIDTHGREATERTHAN", cn = "AMPERSAND", An = "APOSTROPHE", un = "ASTERISK", Fe = "AT", dn = "BACKSLASH", gn = "BACKTICK", mn = "CARET", Pe = "COLON", oa = "COMMA", pn = "DOLLAR", je = "DOT", hn = "EQUALS", la = "EXCLAMATION", Me = "HYPHEN", bt = "PERCENT", vn = "PIPE", yn = "PLUS", bn = "POUND", Mt = "QUERY", ra = "QUOTE", Af = "FULLWIDTHMIDDLEDOT", ca = "SEMI", Ve = "SLASH", _t = "TILDE", Mn = "UNDERSCORE", uf = "EMOJI", _n = "SYM";
144
+ var df = /* @__PURE__ */ Object.freeze({
145
145
  __proto__: null,
146
- ALPHANUMERICAL: rf,
146
+ ALPHANUMERICAL: cf,
147
147
  AMPERSAND: cn,
148
148
  APOSTROPHE: An,
149
- ASCIINUMERICAL: lf,
149
+ ASCIINUMERICAL: rf,
150
150
  ASTERISK: un,
151
151
  AT: Fe,
152
152
  BACKSLASH: dn,
@@ -160,13 +160,13 @@ var uf = /* @__PURE__ */ Object.freeze({
160
160
  COMMA: oa,
161
161
  DOLLAR: pn,
162
162
  DOT: je,
163
- EMOJI: Af,
163
+ EMOJI: uf,
164
164
  EQUALS: hn,
165
165
  EXCLAMATION: la,
166
166
  FULLWIDTHGREATERTHAN: rn,
167
167
  FULLWIDTHLEFTPAREN: tn,
168
168
  FULLWIDTHLESSTHAN: ln,
169
- FULLWIDTHMIDDLEDOT: cf,
169
+ FULLWIDTHMIDDLEDOT: Af,
170
170
  FULLWIDTHRIGHTPAREN: nn,
171
171
  HYPHEN: Me,
172
172
  LEFTCORNERBRACKET: an,
@@ -199,21 +199,21 @@ var uf = /* @__PURE__ */ Object.freeze({
199
199
  WORD: Re,
200
200
  WS: Gn
201
201
  });
202
- const Ue = /[a-z]/, ut = new RegExp("\\p{L}", "u"), On = new RegExp("\\p{Emoji}", "u"), Be = /\d/, zn = /\s/, Sa = "\r", Ln = `
202
+ const Ue = /[a-z]/, ut = new RegExp("\\p{L}", "u"), On = new RegExp("\\p{Emoji}", "u"), Be = /\d/, zn = /\s/, Oa = "\r", Ln = `
203
203
  `, ts = "️", ns = "‍", Un = "";
204
204
  let Rt = null, Qt = null;
205
205
  function as(e = []) {
206
206
  const t = {};
207
207
  ve.groups = t;
208
208
  const n = new ve();
209
- Rt == null && (Rt = Oa(Kf)), Qt == null && (Qt = Oa(Jf)), x(n, "'", An), x(n, "{", vt), x(n, "}", yt), x(n, "[", Kt), x(n, "]", Jt), x(n, "(", Zt), x(n, ")", Gt), x(n, "<", Xt), x(n, ">", en), x(n, "(", tn), x(n, ")", nn), x(n, "「", an), x(n, "」", fn), x(n, "『", sn), x(n, "』", on), x(n, "<", ln), x(n, ">", rn), x(n, "&", cn), x(n, "*", un), x(n, "@", Fe), x(n, "`", gn), x(n, "^", mn), x(n, ":", Pe), x(n, ",", oa), x(n, "$", pn), x(n, ".", je), x(n, "=", hn), x(n, "!", la), x(n, "-", Me), x(n, "%", bt), x(n, "|", vn), x(n, "+", yn), x(n, "#", bn), x(n, "?", Mt), x(n, '"', ra), x(n, "/", Ve), x(n, ";", ca), x(n, "~", _t), x(n, "_", Mn), x(n, "\\", dn), x(n, "・", cf);
209
+ Rt == null && (Rt = za(Kf)), Qt == null && (Qt = za(Jf)), E(n, "'", An), E(n, "{", vt), E(n, "}", yt), E(n, "[", Kt), E(n, "]", Jt), E(n, "(", Zt), E(n, ")", Gt), 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, "*", un), E(n, "@", Fe), E(n, "`", gn), E(n, "^", mn), E(n, ":", Pe), E(n, ",", oa), E(n, "$", pn), E(n, ".", je), E(n, "=", hn), E(n, "!", la), E(n, "-", Me), E(n, "%", bt), E(n, "|", vn), E(n, "+", yn), E(n, "#", bn), E(n, "?", Mt), E(n, '"', ra), E(n, "/", Ve), E(n, ";", ca), E(n, "~", _t), E(n, "_", Mn), E(n, "\\", dn), E(n, "・", Af);
210
210
  const a = oe(n, Be, sa, {
211
211
  [Pn]: !0
212
212
  });
213
213
  oe(a, Be, a);
214
- const f = oe(a, Ue, lf, {
214
+ const f = oe(a, Ue, rf, {
215
215
  [ht]: !0
216
- }), s = oe(a, ut, rf, {
216
+ }), s = oe(a, ut, cf, {
217
217
  [pt]: !0
218
218
  }), i = oe(n, Ue, Re, {
219
219
  [qn]: !0
@@ -223,20 +223,20 @@ function as(e = []) {
223
223
  [Hn]: !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 c = x(n, Ln, ia, {
226
+ const c = E(n, Ln, ia, {
227
227
  [Sn]: !0
228
- }), u = x(n, Sa, Gn, {
228
+ }), u = E(n, Oa, Gn, {
229
229
  [Sn]: !0
230
230
  }), g = oe(n, zn, Gn, {
231
231
  [Sn]: !0
232
232
  });
233
- x(n, Un, g), x(u, Ln, c), x(u, Un, g), oe(u, zn, g), x(g, Sa), x(g, Ln), oe(g, zn, g), x(g, Un, g);
234
- const d = oe(n, On, Af, {
235
- [of]: !0
233
+ E(n, Un, g), E(u, Ln, c), E(u, Un, g), oe(u, zn, g), E(g, Oa), E(g, Ln), oe(g, zn, g), E(g, Un, g);
234
+ const d = oe(n, On, uf, {
235
+ [lf]: !0
236
236
  });
237
- x(d, "#"), oe(d, On, d), x(d, ts, d);
238
- const m = x(d, ns);
239
- x(m, "#"), oe(m, On, d);
237
+ E(d, "#"), oe(d, On, d), E(d, ts, d);
238
+ const m = E(d, ns);
239
+ E(m, "#"), oe(m, On, d);
240
240
  const v = [[Ue, i], [Be, f]], y = [[Ue, null], [ut, r], [Be, s]];
241
241
  for (let _ = 0; _ < Rt.length; _++)
242
242
  Ye(n, Rt[_], Jn, Re, v);
@@ -261,18 +261,18 @@ function as(e = []) {
261
261
  } : {
262
262
  [Gf]: !0
263
263
  };
264
- p.indexOf("-") >= 0 ? C[Wn] = !0 : Ue.test(p) ? Be.test(p) ? C[ht] = !0 : C[qn] = !0 : C[Pn] = !0, Va(n, p, p, C);
264
+ p.indexOf("-") >= 0 ? C[Wn] = !0 : Ue.test(p) ? Be.test(p) ? C[ht] = !0 : C[qn] = !0 : C[Pn] = !0, Sa(n, p, p, C);
265
265
  }
266
- return Va(n, "localhost", Nt, {
266
+ return Sa(n, "localhost", Nt, {
267
267
  ascii: !0
268
268
  }), n.jd = new ve(_n), {
269
269
  start: n,
270
270
  tokens: Object.assign({
271
271
  groups: t
272
- }, uf)
272
+ }, df)
273
273
  };
274
274
  }
275
- function df(e, t) {
275
+ function gf(e, t) {
276
276
  const n = fs(t.replace(/[A-Z]/g, (r) => r.toLowerCase())), a = n.length, f = [];
277
277
  let s = 0, i = 0;
278
278
  for (; i < a; ) {
@@ -310,7 +310,7 @@ function Ye(e, t, n, a, f) {
310
310
  }
311
311
  return s = new ve(n), s.jr = f.slice(), e.j[t[i - 1]] = s, s;
312
312
  }
313
- function Oa(e) {
313
+ function za(e) {
314
314
  const t = [], n = [];
315
315
  let a = 0, f = "0123456789";
316
316
  for (; a < e.length; ) {
@@ -330,8 +330,8 @@ function Oa(e) {
330
330
  const Dt = {
331
331
  defaultProtocol: "http",
332
332
  events: null,
333
- format: za,
334
- formatHref: za,
333
+ format: La,
334
+ formatHref: La,
335
335
  nl2br: !1,
336
336
  tagName: "a",
337
337
  target: null,
@@ -413,13 +413,13 @@ Aa.prototype = {
413
413
  return (this.get("render", null, e) || this.defaultRender)(t, e.t, e);
414
414
  }
415
415
  };
416
- function za(e) {
416
+ function La(e) {
417
417
  return e;
418
418
  }
419
- function gf(e, t) {
419
+ function mf(e, t) {
420
420
  this.t = "token", this.v = e, this.tk = t;
421
421
  }
422
- gf.prototype = {
422
+ mf.prototype = {
423
423
  isLink: !1,
424
424
  /**
425
425
  * Return the string this token represents.
@@ -524,7 +524,7 @@ gf.prototype = {
524
524
  }
525
525
  };
526
526
  function Nn(e, t) {
527
- class n extends gf {
527
+ class n extends mf {
528
528
  constructor(f, s) {
529
529
  super(f, s), this.t = e;
530
530
  }
@@ -533,12 +533,12 @@ function Nn(e, t) {
533
533
  n.prototype[a] = t[a];
534
534
  return n.t = e, n;
535
535
  }
536
- const La = Nn("email", {
536
+ const Ua = Nn("email", {
537
537
  isLink: !0,
538
538
  toHref() {
539
539
  return "mailto:" + this.toString();
540
540
  }
541
- }), Ua = Nn("text"), ss = Nn("nl"), $t = Nn("url", {
541
+ }), Ba = Nn("text"), ss = Nn("nl"), $t = Nn("url", {
542
542
  isLink: !0,
543
543
  /**
544
544
  Lowercases relevant parts of the domain and adds the protocol if
@@ -562,34 +562,34 @@ const La = Nn("email", {
562
562
  function is({
563
563
  groups: e
564
564
  }) {
565
- const t = e.domain.concat([cn, un, Fe, dn, gn, mn, pn, hn, Me, sa, bt, vn, yn, bn, Ve, _n, _t, Mn]), n = [An, Pe, oa, je, la, bt, Mt, ra, ca, Xt, en, vt, yt, Jt, Kt, Zt, Gt, tn, nn, an, fn, sn, on, ln, rn], a = [cn, An, un, dn, gn, mn, pn, hn, Me, vt, yt, bt, vn, yn, bn, Mt, Ve, _n, _t, Mn], f = be(), s = x(f, _t);
565
+ const t = e.domain.concat([cn, un, Fe, dn, gn, mn, pn, hn, Me, sa, bt, vn, yn, bn, Ve, _n, _t, Mn]), n = [An, Pe, oa, je, la, bt, Mt, ra, ca, Xt, en, vt, yt, Jt, Kt, Zt, Gt, tn, nn, an, fn, sn, on, ln, rn], a = [cn, An, un, dn, gn, mn, pn, hn, Me, vt, yt, bt, vn, yn, bn, Mt, Ve, _n, _t, Mn], f = be(), s = E(f, _t);
566
566
  W(s, a, s), W(s, e.domain, s);
567
567
  const i = be(), r = be(), c = be();
568
568
  W(f, e.domain, i), W(f, e.scheme, r), W(f, e.slashscheme, c), W(i, a, s), W(i, e.domain, i);
569
- const u = x(i, Fe);
570
- x(s, Fe, u), x(r, Fe, u), x(c, Fe, u);
571
- const g = x(s, je);
569
+ const u = E(i, Fe);
570
+ E(s, Fe, u), E(r, Fe, u), E(c, Fe, u);
571
+ const g = E(s, je);
572
572
  W(g, a, s), W(g, e.domain, s);
573
573
  const d = be();
574
574
  W(u, e.domain, d), W(d, e.domain, d);
575
- const m = x(d, je);
575
+ const m = E(d, je);
576
576
  W(m, e.domain, d);
577
- const v = be(La);
578
- W(m, e.tld, v), W(m, e.utld, v), x(u, Nt, v);
579
- const y = x(d, Me);
580
- x(y, Me, y), W(y, e.domain, d), W(v, e.domain, d), x(v, je, m), x(v, Me, y);
581
- const _ = x(v, Pe);
582
- W(_, e.numeric, La);
583
- const p = x(i, Me), N = x(i, je);
584
- x(p, Me, p), W(p, e.domain, i), W(N, a, s), W(N, e.domain, i);
577
+ const v = be(Ua);
578
+ W(m, e.tld, v), W(m, e.utld, v), E(u, Nt, v);
579
+ const y = E(d, Me);
580
+ E(y, Me, y), W(y, e.domain, d), W(v, e.domain, d), E(v, je, m), E(v, Me, y);
581
+ const _ = E(v, Pe);
582
+ W(_, e.numeric, Ua);
583
+ const p = E(i, Me), D = E(i, je);
584
+ E(p, Me, p), W(p, e.domain, i), W(D, a, s), W(D, e.domain, i);
585
585
  const C = be($t);
586
- W(N, e.tld, C), W(N, e.utld, C), W(C, e.domain, i), W(C, a, s), x(C, je, N), x(C, Me, p), x(C, Fe, u);
587
- const I = x(C, Pe), D = be($t);
588
- W(I, e.numeric, D);
589
- const M = be($t), w = be();
590
- W(M, t, M), W(M, n, w), W(w, t, M), W(w, n, w), x(C, Ve, M), x(D, Ve, M);
591
- const E = x(r, Pe), B = x(c, Pe), V = x(B, Ve), $ = x(V, Ve);
592
- W(r, e.domain, i), x(r, je, N), x(r, Me, p), W(c, e.domain, i), x(c, je, N), x(c, Me, p), W(E, e.domain, M), x(E, Ve, M), x(E, Mt, M), W($, e.domain, M), W($, t, M), x($, Ve, M);
586
+ W(D, e.tld, C), W(D, e.utld, C), W(C, e.domain, i), W(C, a, s), E(C, je, D), E(C, Me, p), E(C, Fe, u);
587
+ const w = E(C, Pe), M = be($t);
588
+ W(w, e.numeric, M);
589
+ const I = be($t), k = be();
590
+ W(I, t, I), W(I, n, k), W(k, t, I), W(k, n, k), E(C, Ve, I), E(M, Ve, I);
591
+ const j = E(r, Pe), B = E(c, Pe), V = E(B, Ve), $ = E(V, Ve);
592
+ W(r, e.domain, i), E(r, je, D), E(r, Me, p), W(c, e.domain, i), E(c, je, D), E(c, Me, p), W(j, e.domain, I), E(j, Ve, I), E(j, Mt, I), W($, e.domain, I), W($, t, I), E($, Ve, I);
593
593
  const Z = [
594
594
  [vt, yt],
595
595
  // {}
@@ -609,16 +609,16 @@ function is({
609
609
  // <>
610
610
  ];
611
611
  for (let z = 0; z < Z.length; z++) {
612
- const [L, X] = Z[z], ae = x(M, L);
613
- x(w, L, ae), x(ae, X, M);
612
+ const [U, X] = Z[z], ae = E(I, U);
613
+ E(k, U, ae), E(ae, X, I);
614
614
  const ee = be($t);
615
615
  W(ae, t, ee);
616
616
  const R = be();
617
- W(ae, n), W(ee, t, ee), W(ee, n, R), W(R, t, ee), W(R, n, R), x(ee, X, M), x(R, X, M);
617
+ W(ae, n), W(ee, t, ee), W(ee, n, R), W(R, t, ee), W(R, n, R), E(ee, X, I), E(R, X, I);
618
618
  }
619
- return x(f, Nt, C), x(f, ia, ss), {
619
+ return E(f, Nt, C), E(f, ia, ss), {
620
620
  start: f,
621
- tokens: uf
621
+ tokens: df
622
622
  };
623
623
  }
624
624
  function os(e, t, n) {
@@ -632,12 +632,12 @@ function os(e, t, n) {
632
632
  if (m < 0)
633
633
  f -= g, f < a && (i.push(n[f]), f++);
634
634
  else {
635
- i.length > 0 && (s.push(Bn(Ua, t, i)), i = []), f -= m, g -= m;
635
+ i.length > 0 && (s.push(Bn(Ba, t, i)), i = []), f -= m, g -= m;
636
636
  const v = d.t, y = n.slice(f - g, f);
637
637
  s.push(Bn(v, t, y));
638
638
  }
639
639
  }
640
- return i.length > 0 && s.push(Bn(Ua, t, i)), s;
640
+ return i.length > 0 && s.push(Bn(Ba, t, i)), s;
641
641
  }
642
642
  function Bn(e, t, n) {
643
643
  const a = n[0].s, f = n[n.length - 1].e, s = t.slice(a, f);
@@ -665,11 +665,11 @@ function ls() {
665
665
  });
666
666
  return Ae.initialized = !0, Ae;
667
667
  }
668
- function mf(e) {
669
- return Ae.initialized || ls(), os(Ae.parser.start, e, df(Ae.scanner.start, e));
670
- }
671
- mf.scan = df;
672
668
  function pf(e) {
669
+ return Ae.initialized || ls(), os(Ae.parser.start, e, gf(Ae.scanner.start, e));
670
+ }
671
+ pf.scan = gf;
672
+ function hf(e) {
673
673
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
674
674
  }
675
675
  function rs(e) {
@@ -688,15 +688,15 @@ function As({
688
688
  attributes: t,
689
689
  content: n
690
690
  }) {
691
- return `<${e} ${cs(t)}>${pf(n)}</${e}>`;
691
+ return `<${e} ${cs(t)}>${hf(n)}</${e}>`;
692
692
  }
693
693
  function Te(e, t = {}) {
694
694
  t = new Aa(t, As);
695
- const n = mf(e), a = [];
695
+ const n = pf(e), a = [];
696
696
  for (let f = 0; f < n.length; f++) {
697
697
  const s = n[f];
698
698
  s.t === "nl" && t.get("nl2br") ? a.push(`<br>
699
- `) : !s.isLink || !t.check(s) ? a.push(pf(s.toString())) : a.push(t.render(s));
699
+ `) : !s.isLink || !t.check(s) ? a.push(hf(s.toString())) : a.push(t.render(s));
700
700
  }
701
701
  return a.join("");
702
702
  }
@@ -747,7 +747,7 @@ function gs(e, t, n, a, f, s) {
747
747
  na('<g clip-path="url(#clip0_4389_421)"><path d="M35.4075 18.75C35.4075 21.2364 34.3978 23.621 32.6005 25.3791C30.8032 27.1373 28.3655 28.125 25.8237 28.125C23.282 28.125 20.8443 27.1373 19.047 25.3791C17.2497 23.621 16.24 21.2364 16.24 18.75C16.24 16.2636 17.2497 13.879 19.047 12.1209C20.8443 10.3627 23.282 9.375 25.8237 9.375C28.3655 9.375 30.8032 10.3627 32.6005 12.1209C34.3978 13.879 35.4075 16.2636 35.4075 18.75Z" fill="#DCDCDC"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M0.26709 25C0.26709 18.3696 2.95966 12.0107 7.75247 7.32233C12.5453 2.63392 19.0457 0 25.8238 0C32.6018 0 39.1023 2.63392 43.8951 7.32233C48.6879 12.0107 51.3805 18.3696 51.3805 25C51.3805 31.6304 48.6879 37.9893 43.8951 42.6777C39.1023 47.3661 32.6018 50 25.8238 50C19.0457 50 12.5453 47.3661 7.75247 42.6777C2.95966 37.9893 0.26709 31.6304 0.26709 25ZM25.8238 3.125C21.6126 3.12522 17.4871 4.28863 13.922 6.48134C10.357 8.67404 7.49734 11.8069 5.67221 15.5194C3.84709 19.2318 3.13067 23.3729 3.60543 27.4661C4.08018 31.5593 5.72681 35.4382 8.35578 38.6562C10.6239 35.0812 15.6171 31.25 25.8238 31.25C36.0305 31.25 41.0204 35.0781 43.2918 38.6562C45.9207 35.4382 47.5674 31.5593 48.0421 27.4661C48.5169 23.3729 47.8005 19.2318 45.9753 15.5194C44.1502 11.8069 41.2906 8.67404 37.7255 6.48134C34.1605 4.28863 30.0349 3.12522 25.8238 3.125Z" fill="#DCDCDC"></path></g><defs><clipPath id="clip0_4389_421"><rect width="51.1134" height="50" fill="white" transform="translate(0.26709)"></rect></clipPath></defs>', 2)
748
748
  ]), 8, ds);
749
749
  }
750
- const hf = /* @__PURE__ */ O(us, [["render", gs]]), ms = {
750
+ const vf = /* @__PURE__ */ O(us, [["render", gs]]), ms = {
751
751
  key: 0,
752
752
  class: "chat-info__container"
753
753
  }, ps = { class: "chat-info__base-line" }, hs = { class: "chat-info__avatar-container" }, vs = ["src"], ys = {
@@ -807,7 +807,7 @@ const hf = /* @__PURE__ */ O(us, [["render", gs]]), ms = {
807
807
  width: "40",
808
808
  height: "40"
809
809
  }, null, 8, vs)) : (l(), A("span", ys, [
810
- Q(hf, { size: 40 })
810
+ Q(vf, { size: 40 })
811
811
  ]))
812
812
  ]),
813
813
  o("div", bs, [
@@ -825,7 +825,7 @@ const hf = /* @__PURE__ */ O(us, [["render", gs]]), ms = {
825
825
  ])
826
826
  ]),
827
827
  o("div", {
828
- id: "chat-info-search-panel-" + k(f),
828
+ id: "chat-info-search-panel-" + N(f),
829
829
  class: "chat-info__search-panel"
830
830
  }, [
831
831
  ne(i.$slots, "search", {}, void 0, !0)
@@ -938,7 +938,7 @@ const hf = /* @__PURE__ */ O(us, [["render", gs]]), ms = {
938
938
  "component.FeedSearch.SearchLabel": "Search",
939
939
  "component.FeedSearch.SearchPlaceholder": "Find a message...",
940
940
  "component.ChannelSelector.Placeholder": "Channel not selected"
941
- }, vf = [
941
+ }, yf = [
942
942
  {
943
943
  code: "en",
944
944
  name: "English",
@@ -949,7 +949,7 @@ const hf = /* @__PURE__ */ O(us, [["render", gs]]), ms = {
949
949
  name: "Pусский",
950
950
  flag: "russian"
951
951
  }
952
- ], Ba = b(vf[1]);
952
+ ], Ra = b(yf[1]);
953
953
  let Cs = {
954
954
  ru: Ds,
955
955
  en: Ts
@@ -957,17 +957,17 @@ let Cs = {
957
957
  const _e = Es().t;
958
958
  function Es() {
959
959
  function e(t) {
960
- return Cs[Ba.value.code][t];
960
+ return Cs[Ra.value.code][t];
961
961
  }
962
962
  return {
963
963
  t: e,
964
- locale: Ba,
965
- locales: vf
964
+ locale: Ra,
965
+ locales: yf
966
966
  };
967
967
  }
968
968
  function xs(e, t = 500) {
969
969
  let n;
970
- return ef((a, f) => ({
970
+ return tf((a, f) => ({
971
971
  get() {
972
972
  return a(), e;
973
973
  },
@@ -1038,7 +1038,7 @@ const Os = /* @__PURE__ */ O(js, [["render", Ss]]), zs = { class: "chat-input__c
1038
1038
  () => d.focusOnInputArea,
1039
1039
  () => {
1040
1040
  d.focusOnInputArea && Oe(() => {
1041
- const p = k(c);
1041
+ const p = N(c);
1042
1042
  p == null || p.focus();
1043
1043
  });
1044
1044
  },
@@ -1049,10 +1049,10 @@ const Os = /* @__PURE__ */ O(js, [["render", Ss]]), zs = { class: "chat-input__c
1049
1049
  Oe(() => {
1050
1050
  const p = c.value;
1051
1051
  if (!p) return;
1052
- const N = p.scrollTop;
1052
+ const D = p.scrollTop;
1053
1053
  p.style.height = "auto";
1054
- const I = parseFloat(getComputedStyle(p).lineHeight) * 11, D = p.scrollHeight;
1055
- s().text.trim() ? D <= I ? (p.style.height = D + "px", p.style.overflowY = "hidden") : (p.style.height = I + "px", p.style.overflowY = "auto", p.scrollTop = N) : (p.style.height = "40px", p.style.overflowY = "hidden");
1054
+ const w = parseFloat(getComputedStyle(p).lineHeight) * 11, M = p.scrollHeight;
1055
+ !s().text.trim() || M <= 61 ? (p.style.height = "40px", p.style.overflowY = "hidden") : M <= w ? (p.style.height = M + "px", p.style.overflowY = "hidden") : (p.style.height = w + "px", p.style.overflowY = "auto", p.scrollTop = D);
1056
1056
  });
1057
1057
  },
1058
1058
  { immediate: !0 }
@@ -1067,25 +1067,25 @@ const Os = /* @__PURE__ */ O(js, [["render", Ss]]), zs = { class: "chat-input__c
1067
1067
  }, y = (p) => {
1068
1068
  if (p.shiftKey) {
1069
1069
  if (c.value instanceof HTMLTextAreaElement) {
1070
- let N = c.value.selectionStart;
1071
- N && (c.value.setRangeText(`
1072
- `, N, N, "end"), i(c.value.value));
1070
+ let D = c.value.selectionStart;
1071
+ D && (c.value.setRangeText(`
1072
+ `, D, D, "end"), i(c.value.value));
1073
1073
  }
1074
1074
  p.preventDefault();
1075
1075
  } else if (p.ctrlKey) {
1076
1076
  if (c.value instanceof HTMLTextAreaElement) {
1077
- let N = c.value.selectionStart;
1078
- N && (c.value.setRangeText(`
1079
- `, N, N, "end"), i(c.value.value));
1077
+ let D = c.value.selectionStart;
1078
+ D && (c.value.setRangeText(`
1079
+ `, D, D, "end"), i(c.value.value));
1080
1080
  }
1081
1081
  p.preventDefault();
1082
1082
  } else
1083
1083
  p.preventDefault(), _();
1084
1084
  }, _ = () => {
1085
- var N, C;
1085
+ var D, C;
1086
1086
  const p = b(s());
1087
1087
  if (p.value.text != "" || p.value.file) {
1088
- const I = {
1088
+ const w = {
1089
1089
  type: "",
1090
1090
  text: "",
1091
1091
  url: "",
@@ -1093,37 +1093,37 @@ const Os = /* @__PURE__ */ O(js, [["render", Ss]]), zs = { class: "chat-input__c
1093
1093
  size: "",
1094
1094
  reply: void 0
1095
1095
  };
1096
- p.value.file ? (I.type = "message." + p.value.file.type, I.url = p.value.file.url, I.filename = p.value.file.name, I.size = (N = p.value.file.size) == null ? void 0 : N.toString(), I.text = (C = p == null ? void 0 : p.value) == null ? void 0 : C.text.trim()) : (I.type = "message.text", I.text = p.value.text.trim()), p.value.reply && (I.reply = p.value.reply), n("send", I), f(), g.value = void 0, c.value && c.value.focus();
1096
+ p.value.file ? (w.type = "message." + p.value.file.type, w.url = p.value.file.url, w.filename = p.value.file.name, w.size = (D = p.value.file.size) == null ? void 0 : D.toString(), w.text = (C = p == null ? void 0 : p.value) == null ? void 0 : C.text.trim()) : (w.type = "message.text", w.text = p.value.text.trim()), p.value.reply && (w.reply = p.value.reply), n("send", w), f(), g.value = void 0, c.value && c.value.focus();
1097
1097
  }
1098
1098
  };
1099
- return (p, N) => (l(), A("div", zs, [
1099
+ return (p, D) => (l(), A("div", zs, [
1100
1100
  o("div", {
1101
- id: "chat-input-reply-line-" + k(a),
1101
+ id: "chat-input-reply-line-" + N(a),
1102
1102
  class: "chat-input__reply-line"
1103
1103
  }, null, 8, Ls),
1104
1104
  o("div", {
1105
- id: "chat-input-file-line-" + k(a),
1105
+ id: "chat-input-file-line-" + N(a),
1106
1106
  class: "chat-input__file-line"
1107
1107
  }, null, 8, Us),
1108
1108
  o("div", Bs, [
1109
1109
  ne(p.$slots, "inline-buttons", {}, void 0, !0)
1110
1110
  ]),
1111
- e.disabledPlaceholder && (e.state == "disabled" || k(s)().isRecording) ? (l(), A("div", Rs, T(e.disabledPlaceholder), 1)) : re((l(), A("textarea", {
1111
+ e.disabledPlaceholder && (e.state == "disabled" || N(s)().isRecording) ? (l(), A("div", Rs, T(e.disabledPlaceholder), 1)) : re((l(), A("textarea", {
1112
1112
  key: 1,
1113
1113
  ref_key: "refInput",
1114
1114
  ref: c,
1115
- "onUpdate:modelValue": N[0] || (N[0] = (C) => k(s)().text = C),
1116
- disabled: e.state == "disabled" || k(s)().isRecording,
1115
+ "onUpdate:modelValue": D[0] || (D[0] = (C) => N(s)().text = C),
1116
+ disabled: e.state == "disabled" || N(s)().isRecording,
1117
1117
  class: "chat-input__input",
1118
- placeholder: k(_e)("component.ChatInput.InputPlaceholder"),
1118
+ placeholder: N(_e)("component.ChatInput.InputPlaceholder"),
1119
1119
  onKeydown: aa(y, ["enter"]),
1120
1120
  onInput: v
1121
1121
  }, null, 40, Qs)), [
1122
- [ot, k(s)().text]
1122
+ [ot, N(s)().text]
1123
1123
  ]),
1124
1124
  o("button", {
1125
- class: j(["chat-input__button", { "chat-input__button-disabled": m.value }]),
1126
- disabled: k(s)().isRecording,
1125
+ class: x(["chat-input__button", { "chat-input__button-disabled": m.value }]),
1126
+ disabled: N(s)().isRecording,
1127
1127
  onClick: _
1128
1128
  }, [
1129
1129
  o("span", Ys, [
@@ -1135,7 +1135,7 @@ const Os = /* @__PURE__ */ O(js, [["render", Ss]]), zs = { class: "chat-input__c
1135
1135
  ])
1136
1136
  ]));
1137
1137
  }
1138
- }), Fg = /* @__PURE__ */ O(Ps, [["__scopeId", "data-v-400477cb"]]), qs = { class: "chat-tabs__list" }, Hs = ["aria-pressed", "onClick"], Ws = {
1138
+ }), Fg = /* @__PURE__ */ O(Ps, [["__scopeId", "data-v-a0db4a0f"]]), qs = { class: "chat-tabs__list" }, Hs = ["aria-pressed", "onClick"], Ws = {
1139
1139
  key: 0,
1140
1140
  class: "chat-tabs__badge"
1141
1141
  }, Ks = {
@@ -1152,7 +1152,7 @@ const Os = /* @__PURE__ */ O(js, [["render", Ss]]), zs = { class: "chat-input__c
1152
1152
  return (t, n) => (l(), A("ul", qs, [
1153
1153
  (l(!0), A(q, null, ie(e.tabs, (a) => (l(), A("li", {
1154
1154
  key: a.id,
1155
- class: j(["chat-tabs__item", { "chat-tabs__item--active": a.active }])
1155
+ class: x(["chat-tabs__item", { "chat-tabs__item--active": a.active }])
1156
1156
  }, [
1157
1157
  o("button", {
1158
1158
  class: "chat-tabs__button",
@@ -1186,20 +1186,24 @@ const Os = /* @__PURE__ */ O(js, [["render", Ss]]), zs = { class: "chat-input__c
1186
1186
  filterQuery: {
1187
1187
  type: String,
1188
1188
  default: null
1189
+ },
1190
+ dialogTabs: {
1191
+ type: Array,
1192
+ default: () => []
1189
1193
  }
1190
1194
  },
1191
- emits: ["select", "action", "loadMoreChats", "expand"],
1195
+ emits: ["select", "action", "loadMoreChats", "expand", "tab-click"],
1192
1196
  setup(e, { emit: t }) {
1193
1197
  const n = e, a = t, f = b(""), s = b(), i = b(!1), r = b(!1), c = b(!1);
1194
1198
  function u() {
1195
1199
  Oe(function() {
1196
- const M = k(s);
1200
+ const M = N(s);
1197
1201
  M.scrollTop = 0;
1198
1202
  });
1199
1203
  }
1200
1204
  const g = () => {
1201
- const M = k(s), w = M.scrollHeight - M.scrollTop - M.clientHeight;
1202
- M.scrollTop > 500 && (r.value = !0), M.scrollTop <= 500 && (r.value = !1), c.value ? w < 300 && (i.value = !0) : (w < 300 && (i.value = !0), w >= 300 && (i.value = !1));
1205
+ const M = N(s), I = M.scrollHeight - M.scrollTop - M.clientHeight;
1206
+ M.scrollTop > 500 && (r.value = !0), M.scrollTop <= 500 && (r.value = !1), c.value ? I < 300 && (i.value = !0) : (I < 300 && (i.value = !0), I >= 300 && (i.value = !1));
1203
1207
  };
1204
1208
  te(
1205
1209
  () => i.value,
@@ -1210,66 +1214,61 @@ const Os = /* @__PURE__ */ O(js, [["render", Ss]]), zs = { class: "chat-input__c
1210
1214
  () => n.chats,
1211
1215
  () => {
1212
1216
  if (i.value = !1, c.value) {
1213
- const M = k(s);
1217
+ const M = N(s);
1214
1218
  M.scrollTop = M.scrollHeight;
1215
1219
  }
1216
1220
  }
1217
1221
  );
1218
1222
  const d = (M) => {
1219
- const w = k(s);
1220
- (M.offsetX > w.clientWidth || M.offsetY > w.clientHeight) && (c.value = !0);
1223
+ const I = N(s);
1224
+ (M.offsetX > I.clientWidth || M.offsetY > I.clientHeight) && (c.value = !0);
1221
1225
  }, m = () => {
1222
1226
  c.value = !1;
1223
1227
  }, v = (M) => {
1224
1228
  a("expand", M);
1225
1229
  }, y = (M) => {
1226
- n.chats.forEach((E) => {
1227
- E.isSelected = !1, E.dialogs && E.dialogs.forEach((B) => {
1228
- B.isSelected = !1;
1230
+ n.chats.forEach((k) => {
1231
+ k.isSelected = !1, k.dialogs && k.dialogs.forEach((j) => {
1232
+ j.isSelected = !1;
1229
1233
  });
1230
1234
  }), M.dialog && _(M.dialog);
1231
- const w = n.chats.find((E) => E.chatId === M.chat.chatId);
1232
- w.isSelected = !0, a("select", M);
1235
+ const I = n.chats.find((k) => k.chatId === M.chat.chatId);
1236
+ I.isSelected = !0, a("select", M);
1233
1237
  }, _ = (M) => {
1234
- n.chats.forEach((w) => {
1235
- w.isSelected = !1, w.dialogs && w.dialogs.forEach((E) => {
1236
- E.isSelected = !1, E.dialogId == M.dialogId && (E.isSelected = !0);
1238
+ n.chats.forEach((I) => {
1239
+ I.isSelected = !1, I.dialogs && I.dialogs.forEach((k) => {
1240
+ k.isSelected = !1, k.dialogId == M.dialogId && (k.isSelected = !0);
1237
1241
  });
1238
1242
  });
1239
- }, p = () => n.chats.toSorted((M, w) => {
1240
- if (Number(M["lastActivity.timestamp"]) > Number(w["lastActivity.timestamp"])) return -1;
1241
- if (Number(M["lastActivity.timestamp"]) < Number(w["lastActivity.timestamp"])) return 1;
1242
- if (Number(M["lastActivity.timestamp"]) == Number(w["lastActivity.timestamp"])) return 0;
1243
- }).toSorted((M, w) => {
1244
- if (M.countUnread > w.countUnread) return -1;
1245
- if (M.countUnread < w.countUnread) return 1;
1246
- if (M.countUnread == w.countUnread) return 0;
1247
- }).filter((M) => n.filterQuery ? M.name.includes(n.filterQuery) || M.metadata.includes(n.filterQuery) : M.name.includes(f.value) || M.metadata.includes(f.value)), N = (M) => {
1243
+ }, p = () => n.chats.toSorted((M, I) => {
1244
+ if (Number(M["lastActivity.timestamp"]) > Number(I["lastActivity.timestamp"])) return -1;
1245
+ if (Number(M["lastActivity.timestamp"]) < Number(I["lastActivity.timestamp"])) return 1;
1246
+ if (Number(M["lastActivity.timestamp"]) == Number(I["lastActivity.timestamp"])) return 0;
1247
+ }).toSorted((M, I) => {
1248
+ if (M.countUnread > I.countUnread) return -1;
1249
+ if (M.countUnread < I.countUnread) return 1;
1250
+ if (M.countUnread == I.countUnread) return 0;
1251
+ }).filter((M) => n.filterQuery ? M.name.includes(n.filterQuery) || M.metadata.includes(n.filterQuery) : M.name.includes(f.value) || M.metadata.includes(f.value)), D = (M) => {
1248
1252
  f.value = M;
1249
- }, C = (M) => a("action", M), I = b([
1250
- { id: "all", label: "Все", count: 2, active: !0 },
1251
- { id: "deal", label: "По сделке", count: 3, active: !1 },
1252
- { id: "rejected", label: "Непринятые", count: 1, active: !1 }
1253
- ]), D = (M) => {
1254
- I.value.forEach((w) => {
1255
- w.active = w.id === M;
1256
- });
1253
+ }, C = (M) => a("action", M), w = (M) => {
1254
+ a("tab-click", M);
1257
1255
  };
1258
- return (M, w) => (l(), A("div", Zs, [
1256
+ return (M, I) => (l(), A("div", Zs, [
1259
1257
  o("div", Gs, [
1260
- e.titleEnabled ? (l(), A("h2", Xs, T(k(_e)("component.ChatList.Title")), 1)) : h("", !0),
1258
+ e.titleEnabled ? (l(), A("h2", Xs, T(N(_e)("component.ChatList.Title")), 1)) : h("", !0),
1261
1259
  ne(M.$slots, "actions", {}, void 0, !0)
1262
1260
  ]),
1263
1261
  ne(M.$slots, "sidebar", {}, void 0, !0),
1264
- e.filterEnabled ? (l(), U(k(ll), {
1262
+ e.filterEnabled ? (l(), L(N(ll), {
1265
1263
  key: 0,
1266
1264
  class: "chat-list__filter",
1267
- onUpdate: N
1265
+ onUpdate: D
1268
1266
  })) : h("", !0),
1269
- Q(Js, {
1270
- tabs: I.value,
1271
- onTabClick: D
1272
- }, null, 8, ["tabs"]),
1267
+ e.dialogTabs && e.dialogTabs.length > 0 ? (l(), L(Js, {
1268
+ key: 1,
1269
+ tabs: e.dialogTabs,
1270
+ onTabClick: w
1271
+ }, null, 8, ["tabs"])) : h("", !0),
1273
1272
  o("div", {
1274
1273
  ref_key: "refChatList",
1275
1274
  ref: s,
@@ -1279,30 +1278,30 @@ const Os = /* @__PURE__ */ O(js, [["render", Ss]]), zs = { class: "chat-input__c
1279
1278
  onMouseup: m
1280
1279
  }, [
1281
1280
  o("div", ei, [
1282
- (l(!0), A(q, null, ie(p().filter((E) => E.isFixedTop), (E) => (l(), U(k(Rn), {
1283
- key: E.chatId,
1281
+ (l(!0), A(q, null, ie(p().filter((k) => k.isFixedTop), (k) => (l(), L(N(Rn), {
1282
+ key: k.chatId,
1284
1283
  class: "chat-list__item",
1285
- chat: E,
1284
+ chat: k,
1286
1285
  onSelect: y,
1287
1286
  onExpand: v,
1288
1287
  onAction: C
1289
1288
  }, null, 8, ["chat"]))), 128))
1290
1289
  ]),
1291
1290
  o("div", ti, [
1292
- (l(!0), A(q, null, ie(p().filter((E) => !E.isFixedBottom && !E.isFixedTop), (E) => (l(), U(k(Rn), {
1293
- key: E.chatId,
1291
+ (l(!0), A(q, null, ie(p().filter((k) => !k.isFixedBottom && !k.isFixedTop), (k) => (l(), L(N(Rn), {
1292
+ key: k.chatId,
1294
1293
  class: "chat-list__item",
1295
- chat: E,
1294
+ chat: k,
1296
1295
  onSelect: y,
1297
1296
  onExpand: v,
1298
1297
  onAction: C
1299
1298
  }, null, 8, ["chat"]))), 128))
1300
1299
  ]),
1301
1300
  o("div", ni, [
1302
- (l(!0), A(q, null, ie(p().filter((E) => E.isFixedBottom), (E) => (l(), U(k(Rn), {
1303
- key: E.chatId,
1301
+ (l(!0), A(q, null, ie(p().filter((k) => k.isFixedBottom), (k) => (l(), L(N(Rn), {
1302
+ key: k.chatId,
1304
1303
  class: "chat-list__item",
1305
- chat: E,
1304
+ chat: k,
1306
1305
  onSelect: y,
1307
1306
  onExpand: v,
1308
1307
  onAction: C
@@ -1315,7 +1314,7 @@ const Os = /* @__PURE__ */ O(js, [["render", Ss]]), zs = { class: "chat-input__c
1315
1314
  key: 0,
1316
1315
  class: "chat-list__button-up",
1317
1316
  onClick: u
1318
- }, w[0] || (w[0] = [
1317
+ }, I[0] || (I[0] = [
1319
1318
  o("span", { class: "pi pi-angle-up chat-list__icon-down" }, null, -1)
1320
1319
  ]))) : h("", !0)
1321
1320
  ]),
@@ -1323,7 +1322,7 @@ const Os = /* @__PURE__ */ O(js, [["render", Ss]]), zs = { class: "chat-input__c
1323
1322
  })
1324
1323
  ]));
1325
1324
  }
1326
- }, Pg = /* @__PURE__ */ O(ai, [["__scopeId", "data-v-59866231"]]);
1325
+ }, Pg = /* @__PURE__ */ O(ai, [["__scopeId", "data-v-d37134fd"]]);
1327
1326
  function fi(e, t) {
1328
1327
  let n = null;
1329
1328
  return function(...f) {
@@ -1347,14 +1346,14 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1347
1346
  },
1348
1347
  emits: ["action"],
1349
1348
  setup(e, { expose: t, emit: n }) {
1350
- const a = tf("keyboard"), f = n, s = G("chatAppId"), { setMessageText: i, setForceSendMessage: r } = Ne(s), c = (u) => {
1349
+ const a = nf("keyboard"), f = n, s = G("chatAppId"), { setMessageText: i, setForceSendMessage: r } = Ne(s), c = (u) => {
1351
1350
  u.action && typeof u.action == "function" ? u.action() : u.action != null ? f("action", u.action) : (i(u.text), r(!0));
1352
1351
  };
1353
1352
  return t({
1354
1353
  refKeyboard: a
1355
1354
  }), (u, g) => (l(), A("div", {
1356
1355
  ref: "keyboard",
1357
- class: j(["keyboard__container", [`keyboard__container--${e.align}`]])
1356
+ class: x(["keyboard__container", [`keyboard__container--${e.align}`]])
1358
1357
  }, [
1359
1358
  (l(!0), A(q, null, ie(e.keyboard, (d) => (l(), A("div", {
1360
1359
  key: d.text,
@@ -1417,11 +1416,11 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1417
1416
  "keyboardAction"
1418
1417
  ],
1419
1418
  setup(e, { emit: t }) {
1420
- const n = b(), a = b(), f = b(), s = b(!1), i = b(!1), r = b(!1), c = b(!1), u = b(!1), g = b(!1), d = e, m = G("chatAppId"), { setReply: v, getMessage: y, resetReply: _ } = Ne(m), p = t, N = Y(() => !!(i.value && d.objects.length > 0 && d.objects[d.objects.length - 1].keyboard)), C = (R) => {
1419
+ const n = b(), a = b(), f = b(), s = b(!1), i = b(!1), r = b(!1), c = b(!1), u = b(!1), g = b(!1), d = e, m = G("chatAppId"), { setReply: v, getMessage: y, resetReply: _ } = Ne(m), p = t, D = Y(() => !!(i.value && d.objects.length > 0 && d.objects[d.objects.length - 1].keyboard)), C = (R) => {
1421
1420
  p("keyboardAction", R);
1422
1421
  };
1423
- function I(R = !0) {
1424
- const K = k(a);
1422
+ function w(R = !0) {
1423
+ const K = N(a);
1425
1424
  let fe = 0;
1426
1425
  f.value && (fe = f.value.refKeyboard.clientHeight);
1427
1426
  const de = 100, pe = K.scrollHeight - K.scrollTop - K.clientHeight;
@@ -1433,12 +1432,12 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1433
1432
  c.value || p("loadMoreDown"), r.value || p("loadMore");
1434
1433
  }
1435
1434
  );
1436
- const D = (R) => {
1437
- const K = k(a);
1435
+ const M = (R) => {
1436
+ const K = N(a);
1438
1437
  (R.offsetX > K.clientWidth || R.offsetY > K.clientHeight) && (g.value = !0);
1439
- }, M = () => {
1438
+ }, I = () => {
1440
1439
  g.value = !1;
1441
- }, w = fi(I, 250), E = (R) => ({
1440
+ }, k = fi(w, 250), j = (R) => ({
1442
1441
  "message.text": _d,
1443
1442
  "message.image": dd,
1444
1443
  "message.file": Xu,
@@ -1447,11 +1446,11 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1447
1446
  "message.call": I0,
1448
1447
  "message.system": D0,
1449
1448
  "system.date": Wd,
1450
- "message.typing": Xa
1449
+ "message.typing": ef
1451
1450
  })[R];
1452
1451
  function B() {
1453
1452
  Oe(function() {
1454
- const R = k(a);
1453
+ const R = N(a);
1455
1454
  R.scrollTop = R.scrollHeight;
1456
1455
  });
1457
1456
  }
@@ -1482,7 +1481,7 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1482
1481
  callDuration: K.callDuration
1483
1482
  });
1484
1483
  }
1485
- }, L = () => {
1484
+ }, U = () => {
1486
1485
  _();
1487
1486
  const R = document.getElementById("chat-input-reply-line-" + m);
1488
1487
  R && (R.style.display = "none");
@@ -1499,8 +1498,8 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1499
1498
  () => d.objects,
1500
1499
  () => {
1501
1500
  Oe(() => {
1502
- if (r.value = !0, c.value = !0, I(!1), g.value) {
1503
- const R = k(a);
1501
+ if (r.value = !0, c.value = !0, w(!1), g.value) {
1502
+ const R = N(a);
1504
1503
  u.value && (R.scrollTop = R.scrollHeight - 400), u.value || (R.scrollTop = 400);
1505
1504
  }
1506
1505
  n.value = document.querySelectorAll(".tracking-message"), n.value.forEach((R) => ee.observe(R));
@@ -1523,13 +1522,13 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1523
1522
  ), (R, K) => (l(), A(q, null, [
1524
1523
  e.objects.length > 0 || e.typing ? (l(), A("div", {
1525
1524
  key: 0,
1526
- id: "feed-container-" + k(m),
1525
+ id: "feed-container-" + N(m),
1527
1526
  ref_key: "refFeed",
1528
1527
  ref: a,
1529
1528
  class: "message-feed",
1530
- onScroll: K[0] || (K[0] = (fe) => k(w)()),
1531
- onMousedown: D,
1532
- onMouseup: M
1529
+ onScroll: K[0] || (K[0] = (fe) => N(k)()),
1530
+ onMousedown: M,
1531
+ onMouseup: I
1533
1532
  }, [
1534
1533
  (l(!0), A(q, null, ie(e.objects, (fe) => (l(), A("div", {
1535
1534
  id: JSON.stringify(fe),
@@ -1537,7 +1536,7 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1537
1536
  class: "tracking-message",
1538
1537
  onDblclick: (de) => z(de, fe)
1539
1538
  }, [
1540
- (l(), U(nf(E(fe.type)), {
1539
+ (l(), L(af(j(fe.type)), {
1541
1540
  key: fe.messageId,
1542
1541
  class: "message-feed__message",
1543
1542
  message: fe,
@@ -1546,7 +1545,7 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1546
1545
  onReply: Z
1547
1546
  }, null, 40, ["message", "apply-style"]))
1548
1547
  ], 40, ri))), 128)),
1549
- e.typing ? (l(), U(k(Xa), {
1548
+ e.typing ? (l(), L(N(ef), {
1550
1549
  key: 0,
1551
1550
  message: {
1552
1551
  subText: e.typing.title,
@@ -1555,7 +1554,7 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1555
1554
  }, null, 8, ["message"])) : h("", !0),
1556
1555
  Q(se, null, {
1557
1556
  default: P(() => [
1558
- N.value ? (l(), U(oi, {
1557
+ D.value ? (l(), L(oi, {
1559
1558
  key: 0,
1560
1559
  ref_key: "keyboardRef",
1561
1560
  ref: f,
@@ -1590,14 +1589,14 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1590
1589
  ne(R.$slots, "empty-feed", {}, void 0, !0)
1591
1590
  ])
1592
1591
  ], 512)),
1593
- k(y)().reply ? (l(), U(ye, {
1592
+ N(y)().reply ? (l(), L(ye, {
1594
1593
  key: 2,
1595
- to: "#chat-input-reply-line-" + k(m)
1594
+ to: "#chat-input-reply-line-" + N(m)
1596
1595
  }, [
1597
- Q(k(At), {
1596
+ Q(N(At), {
1598
1597
  class: "chat-input-reply",
1599
- message: k(y)().reply,
1600
- onReset: L
1598
+ message: N(y)().reply,
1599
+ onReset: U
1601
1600
  }, null, 8, ["message"])
1602
1601
  ], 8, ["to"])) : h("", !0)
1603
1602
  ], 64));
@@ -1706,8 +1705,8 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1706
1705
  s.value && (r.value ? s.value.pause() : s.value.play(), r.value = !r.value);
1707
1706
  }
1708
1707
  const v = (p) => {
1709
- const N = Math.floor(p / 60), C = Math.floor(p % 60);
1710
- return `${N.toString().padStart(2, "0")}:${C.toString().padStart(2, "0")}`;
1708
+ const D = Math.floor(p / 60), C = Math.floor(p % 60);
1709
+ return `${D.toString().padStart(2, "0")}:${C.toString().padStart(2, "0")}`;
1711
1710
  }, y = Y(() => s.value ? v(u.value) : "0:00"), _ = Y(() => s.value || i.value ? v(c.value) : "0:00");
1712
1711
  return ue(() => {
1713
1712
  s.value != null && (s.value.addEventListener("loadedmetadata", () => {
@@ -1721,25 +1720,25 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1721
1720
  i.value && (i.value.currentTime = 0, c.value = i.value.duration);
1722
1721
  }, { once: !0 })));
1723
1722
  });
1724
- }), (p, N) => (l(), A("div", Ii, [
1723
+ }), (p, D) => (l(), A("div", Ii, [
1725
1724
  o("div", wi, [
1726
1725
  e.fileInfo.isImage ? (l(), A("div", {
1727
1726
  key: 0,
1728
1727
  style: { position: "relative" },
1729
- onClick: N[0] || (N[0] = (C) => g.value = !0)
1728
+ onClick: D[0] || (D[0] = (C) => g.value = !0)
1730
1729
  }, [
1731
1730
  o("img", {
1732
1731
  src: e.fileInfo.previewUrl,
1733
1732
  alt: "Image Preview",
1734
1733
  class: "preview__image"
1735
1734
  }, null, 8, ki),
1736
- N[3] || (N[3] = o("div", { class: "preview__shadow" }, [
1735
+ D[3] || (D[3] = o("div", { class: "preview__shadow" }, [
1737
1736
  o("span", { class: "pi pi-plus-circle" })
1738
1737
  ], -1))
1739
1738
  ])) : e.fileInfo.isVideo ? (l(), A("div", {
1740
1739
  key: 1,
1741
1740
  style: { position: "relative" },
1742
- onClick: N[1] || (N[1] = (C) => g.value = !0)
1741
+ onClick: D[1] || (D[1] = (C) => g.value = !0)
1743
1742
  }, [
1744
1743
  o("video", {
1745
1744
  ref_key: "video",
@@ -1747,11 +1746,11 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1747
1746
  src: e.fileInfo.previewUrl,
1748
1747
  class: "preview__video"
1749
1748
  }, null, 8, Ni),
1750
- N[4] || (N[4] = o("div", { class: "preview__shadow" }, [
1749
+ D[4] || (D[4] = o("div", { class: "preview__shadow" }, [
1751
1750
  o("span", { class: "pi pi-play" })
1752
1751
  ], -1))
1753
1752
  ])) : e.fileInfo.isAudio ? (l(), A("div", Di, [
1754
- N[5] || (N[5] = o("span", {
1753
+ D[5] || (D[5] = o("span", {
1755
1754
  class: "pi pi-headphones",
1756
1755
  style: { "font-size": "1rem", margin: "auto" }
1757
1756
  }, null, -1)),
@@ -1771,7 +1770,7 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1771
1770
  [De, r.value]
1772
1771
  ])
1773
1772
  ])
1774
- ])) : (l(), A("div", xi, N[6] || (N[6] = [
1773
+ ])) : (l(), A("div", xi, D[6] || (D[6] = [
1775
1774
  o("span", {
1776
1775
  class: "pi pi-file",
1777
1776
  style: { "font-size": "2.5rem" }
@@ -1788,16 +1787,16 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1788
1787
  o("div", Ui, [
1789
1788
  o("span", {
1790
1789
  class: "pi pi-times",
1791
- onClick: N[2] || (N[2] = (C) => f("reset"))
1790
+ onClick: D[2] || (D[2] = (C) => f("reset"))
1792
1791
  })
1793
1792
  ])
1794
1793
  ]),
1795
- (l(), U(ye, { to: "body" }, [
1794
+ (l(), L(ye, { to: "body" }, [
1796
1795
  Q(se, { name: "modal-fade" }, {
1797
1796
  default: P(() => [
1798
- g.value ? (l(), U(jt, {
1797
+ g.value ? (l(), L(jt, {
1799
1798
  key: 0,
1800
- theme: k(a)().theme ? k(a)().theme : "",
1799
+ theme: N(a)().theme ? N(a)().theme : "",
1801
1800
  onClose: d
1802
1801
  }, {
1803
1802
  default: P(() => [
@@ -1823,11 +1822,11 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1823
1822
  ]))
1824
1823
  ]));
1825
1824
  }
1826
- }), Dn = /* @__PURE__ */ O(Qi, [["__scopeId", "data-v-a3c677b5"]]), yf = (e) => {
1825
+ }), Dn = /* @__PURE__ */ O(Qi, [["__scopeId", "data-v-a3c677b5"]]), bf = (e) => {
1827
1826
  let t = "file";
1828
1827
  return e.startsWith("image/") ? t = "image" : e.startsWith("video/") ? t = "video" : e.startsWith("audio/") && (t = "audio"), t;
1829
1828
  }, $i = (e) => {
1830
- const t = yf(e.type), n = b(!1), a = b(!1), f = b(!1), s = b("");
1829
+ const t = bf(e.type), n = b(!1), a = b(!1), f = b(!1), s = b("");
1831
1830
  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 = "";
1832
1831
  const i = ["б", "Кб", "Мб", "Гб"];
1833
1832
  let r = e.size, c = 0;
@@ -1855,7 +1854,7 @@ const si = ["onClick"], ii = /* @__PURE__ */ F({
1855
1854
  )).json()).url,
1856
1855
  name: t.name,
1857
1856
  size: t.size,
1858
- type: yf(t.type),
1857
+ type: bf(t.type),
1859
1858
  status: "success",
1860
1859
  preview: $i(t)
1861
1860
  };
@@ -1894,56 +1893,56 @@ const qi = /* @__PURE__ */ O(Yi, [["render", Pi]]), Hi = { key: 0 }, Wi = { key:
1894
1893
  const C = document.getElementById("chat-input-file-line-" + i);
1895
1894
  C && (C.style.display = "none"), c(), s.value = void 0, a.value = "";
1896
1895
  }, v = async () => {
1897
- var C, I;
1898
- m(), (C = f.value) != null && C.files && N((I = f.value) == null ? void 0 : I.files[0]);
1896
+ var C, w;
1897
+ m(), (C = f.value) != null && C.files && D((w = f.value) == null ? void 0 : w.files[0]);
1899
1898
  }, y = (C) => {
1900
1899
  f.value && d && (f.value.accept = C.action, f.value.click());
1901
1900
  }, _ = () => {
1902
1901
  f.value && d && n.state == "active" && f.value.click();
1903
1902
  }, p = async (C) => {
1904
- var D;
1905
- const I = (D = C.clipboardData) == null ? void 0 : D.items;
1906
- if (I) {
1907
- for (let M of I)
1908
- if (M.type.indexOf("image") !== -1) {
1903
+ var M;
1904
+ const w = (M = C.clipboardData) == null ? void 0 : M.items;
1905
+ if (w) {
1906
+ for (let I of w)
1907
+ if (I.type.indexOf("image") !== -1) {
1909
1908
  C.preventDefault();
1910
- const w = M.getAsFile();
1911
- w && N(w);
1909
+ const k = I.getAsFile();
1910
+ k && D(k);
1912
1911
  }
1913
1912
  }
1914
- }, N = async (C) => {
1913
+ }, D = async (C) => {
1915
1914
  a.value = "uploading", g(!0);
1916
- const I = typeof n.filebumpUrl == "string" ? n.filebumpUrl : null;
1917
- await Tn(I, C).then((D) => {
1918
- if (g(!1), a.value = D.status, D.status == "success") {
1915
+ const w = typeof n.filebumpUrl == "string" ? n.filebumpUrl : null;
1916
+ await Tn(w, C).then((M) => {
1917
+ if (g(!1), a.value = M.status, M.status == "success") {
1919
1918
  r({
1920
- url: D.url,
1921
- name: D.name,
1922
- size: D.size,
1923
- type: D.type
1919
+ url: M.url,
1920
+ name: M.name,
1921
+ size: M.size,
1922
+ type: M.type
1924
1923
  });
1925
- const M = document.getElementById("chat-input-file-line-" + i);
1926
- M && (M.style.display = "inherit"), D.preview && (s.value = {
1927
- previewUrl: D.preview.previewUrl,
1928
- isImage: D.preview.isImage,
1929
- isVideo: D.preview.isVideo,
1930
- isAudio: D.preview.isAudio,
1931
- fileName: D.name,
1932
- fileSize: D.preview.fileSize
1924
+ const I = document.getElementById("chat-input-file-line-" + i);
1925
+ I && (I.style.display = "inherit"), M.preview && (s.value = {
1926
+ previewUrl: M.preview.previewUrl,
1927
+ isImage: M.preview.isImage,
1928
+ isVideo: M.preview.isVideo,
1929
+ isAudio: M.preview.isAudio,
1930
+ fileName: M.name,
1931
+ fileSize: M.preview.fileSize
1933
1932
  });
1934
1933
  }
1935
1934
  });
1936
1935
  };
1937
1936
  return ue(() => {
1938
1937
  window.addEventListener("paste", p);
1939
- }), (C, I) => (l(), A(q, null, [
1940
- a.value === "uploading" ? (l(), A("div", Hi, I[0] || (I[0] = [
1938
+ }), (C, w) => (l(), A(q, null, [
1939
+ a.value === "uploading" ? (l(), A("div", Hi, w[0] || (w[0] = [
1941
1940
  o("p", null, "Загрузка файла...", -1)
1942
- ]))) : a.value === "error" ? (l(), A("div", Wi, I[1] || (I[1] = [
1941
+ ]))) : a.value === "error" ? (l(), A("div", Wi, w[1] || (w[1] = [
1943
1942
  o("p", null, "Ошибка при загрузке файла.", -1)
1944
1943
  ]))) : h("", !0),
1945
1944
  o("span", {
1946
- class: j(["file-uploader__trigger", { "file-uploader__disabled": !d.value || e.state == "disabled" }]),
1945
+ class: x(["file-uploader__trigger", { "file-uploader__disabled": !d.value || e.state == "disabled" }]),
1947
1946
  disabled: !d.value || e.state == "disabled",
1948
1947
  onClick: y,
1949
1948
  onButtonClick: _
@@ -1957,11 +1956,11 @@ const qi = /* @__PURE__ */ O(Yi, [["render", Pi]]), Hi = { key: 0 }, Wi = { key:
1957
1956
  type: "file",
1958
1957
  onChange: v
1959
1958
  }, null, 544),
1960
- k(u)().file ? (l(), U(ye, {
1959
+ N(u)().file ? (l(), L(ye, {
1961
1960
  key: 2,
1962
- to: "#chat-input-file-line-" + k(i)
1961
+ to: "#chat-input-file-line-" + N(i)
1963
1962
  }, [
1964
- s.value ? (l(), U(Dn, {
1963
+ s.value ? (l(), L(Dn, {
1965
1964
  key: 0,
1966
1965
  "file-info": s.value,
1967
1966
  onReset: m
@@ -2029,53 +2028,53 @@ const qi = /* @__PURE__ */ O(Yi, [["render", Pi]]), Hi = { key: 0 }, Wi = { key:
2029
2028
  },
2030
2029
  emits: ["click", "buttonClick", "menuMouseEnter", "menuMouseLeave"],
2031
2030
  setup(e, { expose: t, emit: n }) {
2032
- const a = G("chatAppId"), f = G("extChatAppId"), { getTheme: s } = Ce(a), i = e, r = fa(), c = n, u = b(), g = b(), d = b(!1), m = (M) => {
2033
- I(), c("click", M);
2031
+ const a = G("chatAppId"), f = G("extChatAppId"), { getTheme: s } = Ce(a), i = e, r = fa(), c = n, u = b(), g = b(), d = b(!1), m = (I) => {
2032
+ w(), c("click", I);
2034
2033
  }, v = () => {
2035
- i.disabled || (i.mode == "click" && !d.value ? C() : i.mode == "click" && d.value && I(), c("buttonClick"));
2034
+ i.disabled || (i.mode == "click" && !d.value ? C() : i.mode == "click" && d.value && w(), c("buttonClick"));
2036
2035
  }, y = () => {
2037
2036
  i.disabled || i.mode == "hover" && C();
2038
2037
  }, _ = () => {
2039
- i.disabled || i.mode == "hover" && I();
2038
+ i.disabled || i.mode == "hover" && w();
2040
2039
  }, p = () => {
2041
2040
  c("menuMouseEnter"), i.disabled || i.mode == "hover" && C();
2042
- }, N = () => {
2043
- c("menuMouseLeave"), i.disabled || i.mode == "hover" && I();
2041
+ }, D = () => {
2042
+ c("menuMouseLeave"), i.disabled || i.mode == "hover" && w();
2044
2043
  }, C = () => {
2045
2044
  if (g.value && u.value) {
2046
- const M = u.value, w = g.value.getBoundingClientRect();
2047
- M.style.display = "inherit";
2048
- const E = u.value.getBoundingClientRect();
2049
- M.style.display = "none", Oe(() => {
2045
+ const I = u.value, k = g.value.getBoundingClientRect();
2046
+ I.style.display = "inherit";
2047
+ const j = u.value.getBoundingClientRect();
2048
+ I.style.display = "none", Oe(() => {
2050
2049
  const B = {
2051
- left: { top: w.top - (E.height - w.height) / 2 - E.top, left: w.left - E.width - E.left },
2052
- right: { top: w.top - (E.height - w.height) / 2 - E.top, left: w.left + w.width - E.left },
2053
- bottom: { top: (w == null ? void 0 : w.bottom) - E.top, left: (w == null ? void 0 : w.left) - (E.width - w.width) / 2 - E.left },
2054
- top: { top: w.top - E.height - E.top, left: (w == null ? void 0 : w.left) - (E.width - w.width) / 2 - E.left },
2055
- "top-right": { top: w.top - E.height, left: w.right - E.width / 2 }
2050
+ left: { top: k.top - (j.height - k.height) / 2 - j.top, left: k.left - j.width - j.left },
2051
+ right: { top: k.top - (j.height - k.height) / 2 - j.top, left: k.left + k.width - j.left },
2052
+ bottom: { top: (k == null ? void 0 : k.bottom) - j.top, left: (k == null ? void 0 : k.left) - (j.width - k.width) / 2 - j.left },
2053
+ top: { top: k.top - j.height - j.top, left: (k == null ? void 0 : k.left) - (j.width - k.width) / 2 - j.left },
2054
+ "top-right": { top: k.top - j.height, left: k.right - j.width / 2 }
2056
2055
  };
2057
- M.style.top = B[i.menuSide].top + "px", M.style.left = B[i.menuSide].left + "px", M.style.opacity = "1", M.style.display = "inherit", d.value = !0;
2056
+ I.style.top = B[i.menuSide].top + "px", I.style.left = B[i.menuSide].left + "px", I.style.opacity = "1", I.style.display = "inherit", d.value = !0;
2058
2057
  });
2059
2058
  }
2060
- }, I = () => {
2059
+ }, w = () => {
2061
2060
  if (u.value) {
2062
- const M = u.value;
2063
- M && (M.style.top = "0", M.style.left = "0", M.style.opacity = "0", M.style.display = "none", d.value = !1);
2061
+ const I = u.value;
2062
+ I && (I.style.top = "0", I.style.left = "0", I.style.opacity = "0", I.style.display = "none", d.value = !1);
2064
2063
  }
2065
- }, D = (M) => {
2066
- i.mode == "click" && g.value && !g.value.contains(M.target) && I();
2064
+ }, M = (I) => {
2065
+ i.mode == "click" && g.value && !g.value.contains(I.target) && w();
2067
2066
  };
2068
2067
  return ue(() => {
2069
2068
  Oe(() => {
2070
- u.value = document.getElementById("context-menu-" + r + f), u.value && (I(), document.addEventListener("click", D));
2069
+ u.value = document.getElementById("context-menu-" + r + f), u.value && (w(), document.addEventListener("click", M));
2071
2070
  });
2072
2071
  }), kn(() => {
2073
- document.removeEventListener("click", D);
2072
+ document.removeEventListener("click", M);
2074
2073
  }), t({
2075
2074
  updatePosition: C,
2076
- hideMenu: I
2077
- }), (M, w) => (l(), A("button", {
2078
- id: "container-" + k(r) + k(f),
2075
+ hideMenu: w
2076
+ }), (I, k) => (l(), A("button", {
2077
+ id: "container-" + N(r) + N(f),
2079
2078
  ref_key: "actionScope",
2080
2079
  ref: g,
2081
2080
  style: { position: "relative", width: "fit-content", border: "none", background: "transparent", height: "fit-content" },
@@ -2083,15 +2082,15 @@ const qi = /* @__PURE__ */ O(Yi, [["render", Pi]]), Hi = { key: 0 }, Wi = { key:
2083
2082
  onMouseleave: _
2084
2083
  }, [
2085
2084
  o("div", { onClick: v }, [
2086
- ne(M.$slots, "default")
2085
+ ne(I.$slots, "default")
2087
2086
  ]),
2088
- (l(), U(ye, { to: "body" }, [
2089
- Q(k(ct), {
2090
- id: "context-menu-" + k(r) + k(f),
2087
+ (l(), L(ye, { to: "body" }, [
2088
+ Q(N(ct), {
2089
+ id: "context-menu-" + N(r) + N(f),
2091
2090
  actions: e.actions,
2092
- "data-theme": k(s)().theme ? k(s)().theme : "light",
2091
+ "data-theme": N(s)().theme ? N(s)().theme : "light",
2093
2092
  onMouseenter: p,
2094
- onMouseleave: N,
2093
+ onMouseleave: D,
2095
2094
  onClick: m
2096
2095
  }, null, 8, ["id", "actions", "data-theme"])
2097
2096
  ]))
@@ -2143,7 +2142,7 @@ const fo = /* @__PURE__ */ O(to, [["render", ao]]), so = ["data-theme"], io = /*
2143
2142
  });
2144
2143
  }, u = () => {
2145
2144
  s.value = !1, Oe(() => {
2146
- const g = k(f);
2145
+ const g = N(f);
2147
2146
  g && (g.style.top = "0", g.style.left = "0");
2148
2147
  });
2149
2148
  };
@@ -2157,15 +2156,15 @@ const fo = /* @__PURE__ */ O(to, [["render", ao]]), so = ["data-theme"], io = /*
2157
2156
  }, [
2158
2157
  ne(g.$slots, "default", {}, void 0, !0)
2159
2158
  ], 544),
2160
- (l(), U(ye, { to: "body" }, [
2159
+ (l(), L(ye, { to: "body" }, [
2161
2160
  Q(se, null, {
2162
2161
  default: P(() => [
2163
2162
  s.value ? (l(), A("span", {
2164
2163
  key: 0,
2165
2164
  ref_key: "tooltip",
2166
2165
  ref: f,
2167
- "data-theme": k(n)().theme ? k(n)().theme : "light",
2168
- class: j(r.value)
2166
+ "data-theme": N(n)().theme ? N(n)().theme : "light",
2167
+ class: x(r.value)
2169
2168
  }, T(e.text), 11, so)) : h("", !0)
2170
2169
  ]),
2171
2170
  _: 1
@@ -2185,52 +2184,39 @@ const fo = /* @__PURE__ */ O(to, [["render", ao]]), so = ["data-theme"], io = /*
2185
2184
  type: Boolean,
2186
2185
  required: !1,
2187
2186
  default: !1
2187
+ },
2188
+ menuActions: {
2189
+ type: Array,
2190
+ required: !1,
2191
+ default: () => []
2188
2192
  }
2189
2193
  },
2190
2194
  emits: ["selectItem"],
2191
2195
  setup(e, { emit: t }) {
2192
- const n = b(""), f = Yf(e, "sidebarItems"), s = t, i = (d) => {
2196
+ const n = b(""), a = e, f = ja(a, "sidebarItems"), s = t, i = (d) => {
2193
2197
  const m = f.value.find((v) => v.itemId === d);
2194
2198
  s("selectItem", m);
2195
2199
  }, r = (d) => {
2196
2200
  const m = d.split(" ");
2197
2201
  return m.length > 2 ? m.slice(0, 2).join(" ") : d;
2198
- }, c = [
2199
- {
2200
- id: "profile",
2201
- title: "Профиль",
2202
- disabled: !1
2203
- },
2204
- {
2205
- id: "settings",
2206
- title: "Настройки",
2207
- disabled: !1
2208
- }
2209
- ], u = (d) => {
2210
- switch (n.value = d.label, console.log("Выбрано действие:", d), d.id) {
2211
- case "profile":
2212
- console.log("Профиль...");
2213
- break;
2214
- case "settings":
2215
- console.log("Настройки...");
2216
- break;
2217
- }
2202
+ }, c = ja(a, "menuActions"), u = (d) => {
2203
+ n.value = d.label, console.log("Выбрано действие:", d), typeof d.action == "function" && d.action();
2218
2204
  }, g = () => {
2219
2205
  console.log("Кнопка меню была нажата");
2220
2206
  };
2221
2207
  return (d, m) => (l(), A("div", {
2222
- class: j(["sidebar__container", { "sidebar-horizontal__container": e.horizontal }])
2208
+ class: x(["sidebar__container", { "sidebar-horizontal__container": e.horizontal }])
2223
2209
  }, [
2224
2210
  o("div", null, [
2225
2211
  o("ul", {
2226
- class: j(["sidebar__list-fixed", { "sidebar-horizontal__list-fixed": e.horizontal }])
2212
+ class: x(["sidebar__list-fixed", { "sidebar-horizontal__list-fixed": e.horizontal }])
2227
2213
  }, [
2228
2214
  (l(!0), A(q, null, ie(f.value.filter((v) => v.isFixedBottom), (v, y) => (l(), A("li", {
2229
2215
  key: y,
2230
- class: j(["sidebar__item", { "sidebar-horizontal__item": e.horizontal }]),
2216
+ class: x(["sidebar__item", { "sidebar-horizontal__item": e.horizontal }]),
2231
2217
  onClick: (_) => i(v.itemId)
2232
2218
  }, [
2233
- v.name ? (l(), U(Tt, {
2219
+ v.name ? (l(), L(Tt, {
2234
2220
  key: 0,
2235
2221
  text: r(v.name),
2236
2222
  position: "right",
@@ -2240,7 +2226,7 @@ const fo = /* @__PURE__ */ O(to, [["render", ao]]), so = ["data-theme"], io = /*
2240
2226
  o("img", {
2241
2227
  src: v.icon,
2242
2228
  alt: v.name,
2243
- class: j(["sidebar__image", {
2229
+ class: x(["sidebar__image", {
2244
2230
  "sidebar__image--active": v.selected === !0,
2245
2231
  "sidebar-horizontal__image": e.horizontal
2246
2232
  }])
@@ -2254,14 +2240,14 @@ const fo = /* @__PURE__ */ O(to, [["render", ao]]), so = ["data-theme"], io = /*
2254
2240
  ], 10, oo))), 128))
2255
2241
  ], 2),
2256
2242
  o("ul", {
2257
- class: j(["sidebar__list", { "sidebar-horizontal__list": e.horizontal }])
2243
+ class: x(["sidebar__list", { "sidebar-horizontal__list": e.horizontal }])
2258
2244
  }, [
2259
2245
  (l(!0), A(q, null, ie(f.value.filter((v) => !v.isFixedBottom), (v, y) => (l(), A("li", {
2260
2246
  key: y,
2261
- class: j(["sidebar__item", { "sidebar-horizontal__item": e.horizontal }]),
2247
+ class: x(["sidebar__item", { "sidebar-horizontal__item": e.horizontal }]),
2262
2248
  onClick: (_) => i(v.itemId)
2263
2249
  }, [
2264
- v.name ? (l(), U(Tt, {
2250
+ v.name ? (l(), L(Tt, {
2265
2251
  key: 0,
2266
2252
  text: v.name,
2267
2253
  position: "right",
@@ -2271,7 +2257,7 @@ const fo = /* @__PURE__ */ O(to, [["render", ao]]), so = ["data-theme"], io = /*
2271
2257
  o("img", {
2272
2258
  src: v.icon,
2273
2259
  alt: v.name,
2274
- class: j(["sidebar__image", {
2260
+ class: x(["sidebar__image", {
2275
2261
  "sidebar__image--active": v.selected === !0,
2276
2262
  "sidebar-horizontal__image": e.horizontal
2277
2263
  }])
@@ -2282,7 +2268,7 @@ const fo = /* @__PURE__ */ O(to, [["render", ao]]), so = ["data-theme"], io = /*
2282
2268
  key: 1,
2283
2269
  src: v.icon,
2284
2270
  alt: "icon",
2285
- class: j(["sidebar__image", {
2271
+ class: x(["sidebar__image", {
2286
2272
  "sidebar__image--active": v.selected === !0,
2287
2273
  "sidebar-horizontal__image": e.horizontal
2288
2274
  }])
@@ -2296,7 +2282,7 @@ const fo = /* @__PURE__ */ O(to, [["render", ao]]), so = ["data-theme"], io = /*
2296
2282
  ]),
2297
2283
  o("div", go, [
2298
2284
  Q(Cn, {
2299
- actions: c,
2285
+ actions: c.value,
2300
2286
  mode: "click",
2301
2287
  "menu-side": "top-right",
2302
2288
  onClick: u,
@@ -2308,11 +2294,11 @@ const fo = /* @__PURE__ */ O(to, [["render", ao]]), so = ["data-theme"], io = /*
2308
2294
  ])
2309
2295
  ]),
2310
2296
  _: 1
2311
- })
2297
+ }, 8, ["actions"])
2312
2298
  ])
2313
2299
  ], 2));
2314
2300
  }
2315
- }, Jg = /* @__PURE__ */ O(po, [["__scopeId", "data-v-fe896e60"]]), ho = {}, vo = {
2301
+ }, Jg = /* @__PURE__ */ O(po, [["__scopeId", "data-v-4250ef36"]]), ho = {}, vo = {
2316
2302
  width: "18",
2317
2303
  height: "18",
2318
2304
  viewBox: "0 0 18 18",
@@ -2395,9 +2381,9 @@ const bo = /* @__PURE__ */ O(ho, [["render", yo]]), Mo = { class: "chat-panel" }
2395
2381
  const n = e, a = G("chatAppId"), { getMessage: f } = Ne(a), s = t, r = b(n.channels.find((u) => u.type === "default")), c = (u) => {
2396
2382
  r.value = u, s("selectChannel", r.value);
2397
2383
  };
2398
- return (u, g) => k(f)().isRecording ? h("", !0) : (l(), A("div", {
2384
+ return (u, g) => N(f)().isRecording ? h("", !0) : (l(), A("div", {
2399
2385
  key: 0,
2400
- class: j(["channels__container", { "channels__container-disabled": e.state == "disabled" }])
2386
+ class: x(["channels__container", { "channels__container-disabled": e.state == "disabled" }])
2401
2387
  }, [
2402
2388
  r.value ? (l(), A("div", Do, [
2403
2389
  r.value.icon ? (l(), A("img", {
@@ -2406,7 +2392,7 @@ const bo = /* @__PURE__ */ O(ho, [["render", yo]]), Mo = { class: "chat-panel" }
2406
2392
  class: "channels__icon"
2407
2393
  }, null, 8, To)) : h("", !0),
2408
2394
  o("span", Co, T(r.value.title), 1)
2409
- ])) : (l(), A("span", Eo, T(k(_e)("component.ChannelSelector.Placeholder")), 1)),
2395
+ ])) : (l(), A("span", Eo, T(N(_e)("component.ChannelSelector.Placeholder")), 1)),
2410
2396
  Q(Cn, {
2411
2397
  actions: e.channels,
2412
2398
  mode: e.mode,
@@ -2416,7 +2402,7 @@ const bo = /* @__PURE__ */ O(ho, [["render", yo]]), Mo = { class: "chat-panel" }
2416
2402
  }, {
2417
2403
  default: P(() => [
2418
2404
  o("span", {
2419
- class: j(["pi pi-list channels__trigger", { channels__disabled: e.state == "disabled" }])
2405
+ class: x(["pi pi-list channels__trigger", { channels__disabled: e.state == "disabled" }])
2420
2406
  }, null, 2)
2421
2407
  ]),
2422
2408
  _: 1
@@ -2508,19 +2494,19 @@ const e2 = (e, t = null) => {
2508
2494
  setup(e, { emit: t }) {
2509
2495
  const n = e, a = t, f = b(!1), s = b(!1), i = () => {
2510
2496
  s.value = !0;
2511
- }, r = (I) => {
2512
- s.value || I.target instanceof HTMLElement && I.target.id != "noSelectButton" && a("select", { chat: n.chat, dialog: null }), s.value = !1;
2513
- }, c = (I) => {
2514
- a("select", { chat: n.chat, dialog: I });
2515
- }, u = () => n.chat.isSelected ? "chat-item__selected" : "", g = (I) => I.isSelected ? "dialog__selected" : "", d = (I) => {
2516
- a("action", { chat: n.chat, ...I });
2517
- }, m = () => n.chat.dialogs.toSorted((I, D) => {
2518
- if (Number(I["lastActivity.timestamp"]) > Number(D["lastActivity.timestamp"])) return -1;
2519
- if (Number(I["lastActivity.timestamp"]) < Number(D["lastActivity.timestamp"])) return 1;
2520
- if (Number(I["lastActivity.timestamp"]) == Number(D["lastActivity.timestamp"])) return 0;
2497
+ }, r = (w) => {
2498
+ s.value || w.target instanceof HTMLElement && w.target.id != "noSelectButton" && a("select", { chat: n.chat, dialog: null }), s.value = !1;
2499
+ }, c = (w) => {
2500
+ a("select", { chat: n.chat, dialog: w });
2501
+ }, u = () => n.chat.isSelected ? "chat-item__selected" : "", g = (w) => w.isSelected ? "dialog__selected" : "", d = (w) => {
2502
+ a("action", { chat: n.chat, ...w });
2503
+ }, m = () => n.chat.dialogs.toSorted((w, M) => {
2504
+ if (Number(w["lastActivity.timestamp"]) > Number(M["lastActivity.timestamp"])) return -1;
2505
+ if (Number(w["lastActivity.timestamp"]) < Number(M["lastActivity.timestamp"])) return 1;
2506
+ if (Number(w["lastActivity.timestamp"]) == Number(M["lastActivity.timestamp"])) return 0;
2521
2507
  }), v = Y(() => rt(n.chat["lastMessage.status"]));
2522
2508
  let y;
2523
- const _ = b(0), p = [_e("component.ChatItem.typing") + ".", _e("component.ChatItem.typing") + "..", _e("component.ChatItem.typing") + "..."], N = Y(() => n.chat.typing ? p[_.value] : n.chat.lastMessage);
2509
+ const _ = b(0), p = [_e("component.ChatItem.typing") + ".", _e("component.ChatItem.typing") + "..", _e("component.ChatItem.typing") + "..."], D = Y(() => n.chat.typing ? p[_.value] : n.chat.lastMessage);
2524
2510
  te(
2525
2511
  () => n.chat.typing,
2526
2512
  () => {
@@ -2530,14 +2516,14 @@ const e2 = (e, t = null) => {
2530
2516
  },
2531
2517
  { immediate: !0 }
2532
2518
  );
2533
- const C = (I) => {
2534
- var D;
2535
- ((D = I.relatedTarget) == null ? void 0 : D.className) == "context-menu__list" ? f.value = !0 : f.value = !1;
2519
+ const C = (w) => {
2520
+ var M;
2521
+ ((M = w.relatedTarget) == null ? void 0 : M.className) == "context-menu__list" ? f.value = !0 : f.value = !1;
2536
2522
  };
2537
- return (I, D) => (l(), A("div", null, [
2523
+ return (w, M) => (l(), A("div", null, [
2538
2524
  o("div", {
2539
- class: j(["chat-item__container", u()]),
2540
- onMouseenter: D[2] || (D[2] = (M) => f.value = !0),
2525
+ class: x(["chat-item__container", u()]),
2526
+ onMouseenter: M[2] || (M[2] = (I) => f.value = !0),
2541
2527
  onMouseleave: C,
2542
2528
  onClick: r
2543
2529
  }, [
@@ -2552,7 +2538,7 @@ const e2 = (e, t = null) => {
2552
2538
  height: "48",
2553
2539
  width: "48"
2554
2540
  }, null, 8, Vo)) : (l(), A("div", So, [
2555
- Q(hf)
2541
+ Q(vf)
2556
2542
  ]))
2557
2543
  ]),
2558
2544
  o("div", Oo, [
@@ -2570,7 +2556,7 @@ const e2 = (e, t = null) => {
2570
2556
  position: "bottom"
2571
2557
  }, {
2572
2558
  default: P(() => [
2573
- e.chat.lastMessage || e.chat.typing ? (l(), A("div", Lo, T(N.value), 1)) : h("", !0)
2559
+ e.chat.lastMessage || e.chat.typing ? (l(), A("div", Lo, T(D.value), 1)) : h("", !0)
2574
2560
  ]),
2575
2561
  _: 1
2576
2562
  }, 8, ["text"])
@@ -2578,28 +2564,28 @@ const e2 = (e, t = null) => {
2578
2564
  o("div", Uo, [
2579
2565
  e.chat["lastActivity.time"] && !f.value ? (l(), A("div", Bo, T(e.chat["lastActivity.time"]), 1)) : h("", !0),
2580
2566
  e.chat.countUnread > 0 ? (l(), A("div", Ro, T(e.chat.countUnread > 99 ? "99+" : e.chat.countUnread), 1)) : h("", !0),
2581
- f.value && e.chat.actions ? (l(), U(Cn, {
2567
+ f.value && e.chat.actions ? (l(), L(Cn, {
2582
2568
  key: 2,
2583
2569
  mode: "click",
2584
2570
  "menu-side": "bottom",
2585
2571
  actions: e.chat.actions,
2586
2572
  onClick: d,
2587
2573
  onButtonClick: i,
2588
- onMenuMouseLeave: D[0] || (D[0] = (M) => f.value = !1)
2574
+ onMenuMouseLeave: M[0] || (M[0] = (I) => f.value = !1)
2589
2575
  }, {
2590
- default: P(() => D[3] || (D[3] = [
2576
+ default: P(() => M[3] || (M[3] = [
2591
2577
  o("span", { class: "pi pi-ellipsis-h chat-item__actions-trigger" }, null, -1)
2592
2578
  ])),
2593
2579
  _: 1,
2594
2580
  __: [3]
2595
2581
  }, 8, ["actions"])) : h("", !0),
2596
2582
  e.chat.countUnread < 1 ? (l(), A("div", Qo, [
2597
- k(lt).includes(e.chat["lastMessage.status"]) ? (l(), A("div", {
2583
+ N(lt).includes(e.chat["lastMessage.status"]) ? (l(), A("div", {
2598
2584
  key: 0,
2599
- class: j(["chat-item__status-message", v.value])
2585
+ class: x(["chat-item__status-message", v.value])
2600
2586
  }, [
2601
2587
  e.chat["lastMessage.status"] !== "sent" ? (l(), A("span", $o)) : h("", !0),
2602
- D[4] || (D[4] = o("span", { class: "pi pi-check" }, null, -1))
2588
+ M[4] || (M[4] = o("span", { class: "pi pi-check" }, null, -1))
2603
2589
  ], 2)) : h("", !0),
2604
2590
  e.chat.isFixedTop || e.chat.isFixedBottom ? (l(), A("span", Yo)) : h("", !0)
2605
2591
  ])) : h("", !0)
@@ -2607,15 +2593,15 @@ const e2 = (e, t = null) => {
2607
2593
  e.chat.dialogs ? (l(), A("div", {
2608
2594
  key: 0,
2609
2595
  class: "chat-item__dialog-buttons",
2610
- onClick: D[1] || (D[1] = (M) => a("expand", n.chat))
2596
+ onClick: M[1] || (M[1] = (I) => a("expand", n.chat))
2611
2597
  }, [
2612
- e.chat.dialogsExpanded ? h("", !0) : (l(), A("button", Fo, D[5] || (D[5] = [
2598
+ e.chat.dialogsExpanded ? h("", !0) : (l(), A("button", Fo, M[5] || (M[5] = [
2613
2599
  o("span", {
2614
2600
  id: "noSelectButton",
2615
2601
  class: "pi pi-angle-down"
2616
2602
  }, null, -1)
2617
2603
  ]))),
2618
- e.chat.dialogsExpanded ? (l(), A("button", Po, D[6] || (D[6] = [
2604
+ e.chat.dialogsExpanded ? (l(), A("button", Po, M[6] || (M[6] = [
2619
2605
  o("span", {
2620
2606
  id: "noSelectButton",
2621
2607
  class: "pi pi-angle-up"
@@ -2624,27 +2610,27 @@ const e2 = (e, t = null) => {
2624
2610
  ])) : h("", !0)
2625
2611
  ], 34),
2626
2612
  e.chat.dialogsExpanded ? (l(), A("div", qo, [
2627
- (l(!0), A(q, null, ie(m(), (M) => (l(), A("div", {
2628
- key: M.dialogId,
2629
- class: j(["dialog__item", g(M)]),
2630
- onClick: (w) => c(M)
2613
+ (l(!0), A(q, null, ie(m(), (I) => (l(), A("div", {
2614
+ key: I.dialogId,
2615
+ class: x(["dialog__item", g(I)]),
2616
+ onClick: (k) => c(I)
2631
2617
  }, [
2632
- M.icon ? (l(), A("img", {
2618
+ I.icon ? (l(), A("img", {
2633
2619
  key: 0,
2634
2620
  class: "dialog__icon",
2635
- src: M.icon,
2621
+ src: I.icon,
2636
2622
  height: "16",
2637
2623
  width: "16"
2638
2624
  }, null, 8, Wo)) : (l(), A("span", Ko)),
2639
2625
  o("div", Jo, [
2640
- o("div", Zo, T(M.name), 1),
2641
- o("div", Go, T(M["lastActivity.time"]), 1)
2626
+ o("div", Zo, T(I.name), 1),
2627
+ o("div", Go, T(I["lastActivity.time"]), 1)
2642
2628
  ]),
2643
- M.countUnread > 0 ? (l(), A("div", {
2629
+ I.countUnread > 0 ? (l(), A("div", {
2644
2630
  key: 2,
2645
2631
  class: "chat-item__unread",
2646
- style: ce({ backgroundColor: M.colorUnread ? M.colorUnread : null })
2647
- }, T(M.countUnread > 99 ? "99+" : M.countUnread), 5)) : h("", !0)
2632
+ style: ce({ backgroundColor: I.colorUnread ? I.colorUnread : null })
2633
+ }, T(I.countUnread > 99 ? "99+" : I.countUnread), 5)) : h("", !0)
2648
2634
  ], 10, Ho))), 128))
2649
2635
  ])) : h("", !0)
2650
2636
  ]));
@@ -2683,7 +2669,7 @@ const al = /* @__PURE__ */ O(el, [["render", nl]]), fl = { class: "chat-filter__
2683
2669
  emits: ["update"],
2684
2670
  setup(e, { emit: t }) {
2685
2671
  const n = b(""), a = t, f = () => {
2686
- const s = k(n);
2672
+ const s = N(n);
2687
2673
  a("update", s.value);
2688
2674
  };
2689
2675
  return (s, i) => (l(), A("div", fl, [
@@ -2695,7 +2681,7 @@ const al = /* @__PURE__ */ O(el, [["render", nl]]), fl = { class: "chat-filter__
2695
2681
  ref: n,
2696
2682
  class: "chat-filter__input",
2697
2683
  type: "text",
2698
- placeholder: e.placeholder ? e.placeholder : k(_e)("component.ChatFilter.InputPlaceholder"),
2684
+ placeholder: e.placeholder ? e.placeholder : N(_e)("component.ChatFilter.InputPlaceholder"),
2699
2685
  onInput: f
2700
2686
  }, null, 40, il)
2701
2687
  ]));
@@ -2741,41 +2727,41 @@ const al = /* @__PURE__ */ O(el, [["render", nl]]), fl = { class: "chat-filter__
2741
2727
  setup(e, { emit: t }) {
2742
2728
  const n = e, a = G("chatAppId"), { setMessageText: f } = Ne(a), s = () => {
2743
2729
  i("closeTemplateWindow"), f(c.value.template);
2744
- }, i = t, r = b(null), c = b(null), u = b(""), g = b(), d = b(""), m = b(""), v = b(""), y = b(!1), _ = Y(() => !!(y.value && (v.value == "grid" && m.value == "none" || m.value == "grid" && d.value == "none"))), p = Y(() => !!(y.value && (d.value == "grid" && m.value == "none" || m.value == "grid" && v.value == "none"))), N = () => {
2745
- y.value && (m.value == "grid" ? I() : v.value == "grid" && M());
2730
+ }, i = t, r = b(null), c = b(null), u = b(""), g = b(), d = b(""), m = b(""), v = b(""), y = b(!1), _ = Y(() => !!(y.value && (v.value == "grid" && m.value == "none" || m.value == "grid" && d.value == "none"))), p = Y(() => !!(y.value && (d.value == "grid" && m.value == "none" || m.value == "grid" && v.value == "none"))), D = () => {
2731
+ y.value && (m.value == "grid" ? w() : v.value == "grid" && I());
2746
2732
  }, C = () => {
2747
- y.value && (m.value == "grid" ? D() : d.value == "grid" && M());
2748
- }, I = () => {
2749
- const z = document.getElementById("template-selector-container-" + a);
2750
- z.style.setProperty("--chotto-template-first-col-display", "grid"), z.style.setProperty("--chotto-template-second-col-display", "none"), w();
2751
- }, D = () => {
2733
+ y.value && (m.value == "grid" ? M() : d.value == "grid" && I());
2734
+ }, w = () => {
2752
2735
  const z = document.getElementById("template-selector-container-" + a);
2753
- z.style.setProperty("--chotto-template-third-col-display", "grid"), z.style.setProperty("--chotto-template-second-col-display", "none"), w();
2736
+ z.style.setProperty("--chotto-template-first-col-display", "grid"), z.style.setProperty("--chotto-template-second-col-display", "none"), k();
2754
2737
  }, M = () => {
2755
2738
  const z = document.getElementById("template-selector-container-" + a);
2756
- z.style.setProperty("--chotto-template-second-col-display", "grid"), z.style.setProperty("--chotto-template-first-col-display", "none"), z.style.setProperty("--chotto-template-third-col-display", "none"), w();
2757
- }, w = () => {
2758
- const z = document.getElementById("template-selector-container-" + a), L = window.getComputedStyle(z);
2759
- d.value = L.getPropertyValue("--chotto-template-first-col-display"), m.value = L.getPropertyValue("--chotto-template-second-col-display"), v.value = L.getPropertyValue("--chotto-template-third-col-display");
2760
- }, E = (z) => {
2761
- n.templates.forEach((L) => L.isSelected = !1), z.isSelected = !0, c.value = z, D();
2739
+ z.style.setProperty("--chotto-template-third-col-display", "grid"), z.style.setProperty("--chotto-template-second-col-display", "none"), k();
2740
+ }, I = () => {
2741
+ const z = document.getElementById("template-selector-container-" + a);
2742
+ z.style.setProperty("--chotto-template-second-col-display", "grid"), z.style.setProperty("--chotto-template-first-col-display", "none"), z.style.setProperty("--chotto-template-third-col-display", "none"), k();
2743
+ }, k = () => {
2744
+ const z = document.getElementById("template-selector-container-" + a), U = window.getComputedStyle(z);
2745
+ d.value = U.getPropertyValue("--chotto-template-first-col-display"), m.value = U.getPropertyValue("--chotto-template-second-col-display"), v.value = U.getPropertyValue("--chotto-template-third-col-display");
2746
+ }, j = (z) => {
2747
+ n.templates.forEach((U) => U.isSelected = !1), z.isSelected = !0, c.value = z, M();
2762
2748
  }, B = () => {
2763
- M(), n.templates.forEach((z) => z.isSelected = !1);
2749
+ I(), n.templates.forEach((z) => z.isSelected = !1);
2764
2750
  }, V = Y(() => r.value ? n.templates.filter((z) => z.groupId === r.value.groupId) : n.templates), $ = Y(() => {
2765
2751
  const z = u.value.trim().toLowerCase();
2766
- return V.value.filter((L) => L.title.toLowerCase().includes(z) || L.template.toLowerCase().includes(z));
2752
+ return V.value.filter((U) => U.title.toLowerCase().includes(z) || U.template.toLowerCase().includes(z));
2767
2753
  }), Z = new ResizeObserver((z) => {
2768
- const L = z[0].target.clientWidth;
2769
- L > 700 && (y.value = !1), L < 700 && (y.value = !0);
2754
+ const U = z[0].target.clientWidth;
2755
+ U > 700 && (y.value = !1), U < 700 && (y.value = !0);
2770
2756
  });
2771
2757
  return ue(() => {
2772
- w(), k(g) && Z.observe(k(g));
2773
- }), (z, L) => (l(), A("div", rl, [
2758
+ k(), N(g) && Z.observe(N(g));
2759
+ }), (z, U) => (l(), A("div", rl, [
2774
2760
  o("div", {
2775
- id: "template-selector-container-" + k(a),
2761
+ id: "template-selector-container-" + N(a),
2776
2762
  ref_key: "refContainer",
2777
2763
  ref: g,
2778
- class: j({
2764
+ class: x({
2779
2765
  "template-selector__container-inline": !e.elevatedWindow,
2780
2766
  "template-selector__container-elevated": e.elevatedWindow
2781
2767
  })
@@ -2785,7 +2771,7 @@ const al = /* @__PURE__ */ O(el, [["render", nl]]), fl = { class: "chat-filter__
2785
2771
  _.value ? (l(), A("button", dl, [
2786
2772
  o("span", {
2787
2773
  class: "pi pi-arrow-left",
2788
- onClick: N
2774
+ onClick: D
2789
2775
  })
2790
2776
  ])) : h("", !0),
2791
2777
  p.value ? (l(), A("button", gl, [
@@ -2798,19 +2784,19 @@ const al = /* @__PURE__ */ O(el, [["render", nl]]), fl = { class: "chat-filter__
2798
2784
  o("button", ml, [
2799
2785
  o("span", {
2800
2786
  class: "pi pi-times",
2801
- onClick: L[0] || (L[0] = (X) => z.$emit("closeTemplateWindow"))
2787
+ onClick: U[0] || (U[0] = (X) => z.$emit("closeTemplateWindow"))
2802
2788
  })
2803
2789
  ])
2804
2790
  ]),
2805
2791
  o("div", pl, [
2806
2792
  o("div", {
2807
- id: "template-selector-first-col-" + k(a),
2793
+ id: "template-selector-first-col-" + N(a),
2808
2794
  class: "template-selector__first-col"
2809
2795
  }, [
2810
2796
  o("ul", vl, [
2811
2797
  (l(!0), A(q, null, ie(e.groupTemplates, (X, ae) => (l(), A("li", {
2812
2798
  key: ae,
2813
- class: j(["template-selector__item-group", { "template-selector__item-selected": r.value === X }]),
2799
+ class: x(["template-selector__item-group", { "template-selector__item-selected": r.value === X }]),
2814
2800
  onClick: B
2815
2801
  }, [
2816
2802
  o("label", yl, [
@@ -2822,12 +2808,12 @@ const al = /* @__PURE__ */ O(el, [["render", nl]]), fl = { class: "chat-filter__
2822
2808
  }, null, 8, bl)) : h("", !0),
2823
2809
  re(o("input", {
2824
2810
  id: ae,
2825
- "onUpdate:modelValue": L[1] || (L[1] = (ee) => r.value = ee),
2811
+ "onUpdate:modelValue": U[1] || (U[1] = (ee) => r.value = ee),
2826
2812
  value: X,
2827
2813
  class: "template-selector__input-group",
2828
2814
  type: "radio"
2829
2815
  }, null, 8, Ml), [
2830
- [af, r.value]
2816
+ [ff, r.value]
2831
2817
  ]),
2832
2818
  o("span", null, T(X.title), 1)
2833
2819
  ])
@@ -2835,12 +2821,12 @@ const al = /* @__PURE__ */ O(el, [["render", nl]]), fl = { class: "chat-filter__
2835
2821
  ])
2836
2822
  ], 8, hl),
2837
2823
  o("div", {
2838
- id: "template-selector-second-col-" + k(a),
2824
+ id: "template-selector-second-col-" + N(a),
2839
2825
  class: "template-selector__second-col"
2840
2826
  }, [
2841
2827
  o("div", Il, [
2842
2828
  re(o("input", {
2843
- "onUpdate:modelValue": L[2] || (L[2] = (X) => u.value = X),
2829
+ "onUpdate:modelValue": U[2] || (U[2] = (X) => u.value = X),
2844
2830
  class: "template-selector__searching-input",
2845
2831
  type: "text",
2846
2832
  placeholder: "Поиск шаблона"
@@ -2852,8 +2838,8 @@ const al = /* @__PURE__ */ O(el, [["render", nl]]), fl = { class: "chat-filter__
2852
2838
  $.value.length !== 0 ? (l(), A("ul", kl, [
2853
2839
  (l(!0), A(q, null, ie($.value, (X, ae) => (l(), A("li", {
2854
2840
  key: ae,
2855
- class: j(["template-selector__item-template", { "template-selector__item-selected": X.isSelected }]),
2856
- onClick: (ee) => E(X)
2841
+ class: x(["template-selector__item-template", { "template-selector__item-selected": X.isSelected }]),
2842
+ onClick: (ee) => j(X)
2857
2843
  }, [
2858
2844
  o("div", Dl, [
2859
2845
  o("p", Tl, T(X.title), 1),
@@ -2864,14 +2850,14 @@ const al = /* @__PURE__ */ O(el, [["render", nl]]), fl = { class: "chat-filter__
2864
2850
  ])
2865
2851
  ], 8, _l),
2866
2852
  o("div", {
2867
- id: "template-selector-third-col-" + k(a),
2853
+ id: "template-selector-third-col-" + N(a),
2868
2854
  class: "template-selector__third-col"
2869
2855
  }, [
2870
2856
  o("div", jl, [
2871
2857
  c.value ? (l(), A("div", Vl, [
2872
2858
  o("div", Sl, [
2873
2859
  o("p", Ol, T(c.value.template), 1),
2874
- L[3] || (L[3] = o("p", { class: "template-selector__preview-time" }, " 22:22 ", -1))
2860
+ U[3] || (U[3] = o("p", { class: "template-selector__preview-time" }, " 22:22 ", -1))
2875
2861
  ])
2876
2862
  ])) : (l(), A("p", zl, " Предпросмотр шаблона "))
2877
2863
  ]),
@@ -2948,11 +2934,11 @@ const $l = /* @__PURE__ */ O(Bl, [["render", Ql]]), Yl = { class: "" }, Fl = {
2948
2934
  position: "left"
2949
2935
  }, {
2950
2936
  default: P(() => [
2951
- k(a)().isRecording ? h("", !0) : (l(), A("button", {
2937
+ N(a)().isRecording ? h("", !0) : (l(), A("button", {
2952
2938
  key: 0,
2953
2939
  ref_key: "templateButton",
2954
2940
  ref: f,
2955
- class: j(["button-template", { "button-template-disabled": e.state == "disabled" }]),
2941
+ class: x(["button-template", { "button-template-disabled": e.state == "disabled" }]),
2956
2942
  onClick: i,
2957
2943
  onMouseover: r,
2958
2944
  onMouseout: c
@@ -3035,11 +3021,11 @@ const $l = /* @__PURE__ */ O(Bl, [["render", Ql]]), Yl = { class: "" }, Fl = {
3035
3021
  }), kn(() => {
3036
3022
  window.removeEventListener("keydown", g);
3037
3023
  }), (d, m) => (l(), A("span", {
3038
- id: "placeholder" + k(n) + e.index,
3024
+ id: "placeholder" + N(n) + e.index,
3039
3025
  ref_key: "refPlaceholder",
3040
3026
  ref: i,
3041
3027
  contenteditable: "",
3042
- class: j([{ filled: e.isFilled, empty: !e.isFilled }, "placeholder"]),
3028
+ class: x([{ filled: e.isFilled, empty: !e.isFilled }, "placeholder"]),
3043
3029
  onKeydown: aa(u, ["enter"]),
3044
3030
  onFocus: r,
3045
3031
  onBlur: c
@@ -3097,20 +3083,20 @@ const $l = /* @__PURE__ */ O(Bl, [["render", Ql]]), Yl = { class: "" }, Fl = {
3097
3083
  i.value = "Файл слишком большого размера";
3098
3084
  else if (!i.value) {
3099
3085
  f.value = _, r.value = "uploading";
3100
- const C = k(a.value);
3101
- Tn(typeof C == "string" ? C : null, _).then((I) => {
3102
- r.value = I.status, I.status == "success" && (u("fileSelected", {
3103
- url: I.url,
3104
- filename: I.name,
3105
- filesize: I.size,
3106
- filetype: I.type
3107
- }), I.preview && (c.value = {
3108
- previewUrl: I.preview.previewUrl,
3109
- isImage: I.preview.isImage,
3110
- isVideo: I.preview.isVideo,
3111
- isAudio: I.preview.isAudio,
3112
- fileName: I.name,
3113
- fileSize: I.preview.fileSize
3086
+ const C = N(a.value);
3087
+ Tn(typeof C == "string" ? C : null, _).then((w) => {
3088
+ r.value = w.status, w.status == "success" && (u("fileSelected", {
3089
+ url: w.url,
3090
+ filename: w.name,
3091
+ filesize: w.size,
3092
+ filetype: w.type
3093
+ }), w.preview && (c.value = {
3094
+ previewUrl: w.preview.previewUrl,
3095
+ isImage: w.preview.isImage,
3096
+ isVideo: w.preview.isVideo,
3097
+ isAudio: w.preview.isAudio,
3098
+ fileName: w.name,
3099
+ fileSize: w.preview.fileSize
3114
3100
  }));
3115
3101
  });
3116
3102
  }
@@ -3131,7 +3117,7 @@ const $l = /* @__PURE__ */ O(Bl, [["render", Ql]]), Yl = { class: "" }, Fl = {
3131
3117
  ), (y, _) => (l(), A(q, null, [
3132
3118
  r.value !== "success" ? (l(), A("div", {
3133
3119
  key: 0,
3134
- class: j(["attachment-section", { "attachment-section__error": i.value }]),
3120
+ class: x(["attachment-section", { "attachment-section__error": i.value }]),
3135
3121
  onClick: g
3136
3122
  }, [
3137
3123
  o("input", {
@@ -3148,7 +3134,7 @@ const $l = /* @__PURE__ */ O(Bl, [["render", Ql]]), Yl = { class: "" }, Fl = {
3148
3134
  _[0] || (_[0] = o("p", { class: "attachment-section__title" }, " Прикрепить файл ", -1)),
3149
3135
  o("p", Kl, T(d[e.type].text), 1)
3150
3136
  ])
3151
- ], 2)) : r.value === "success" && c.value ? (l(), U(Dn, {
3137
+ ], 2)) : r.value === "success" && c.value ? (l(), L(Dn, {
3152
3138
  key: 1,
3153
3139
  "file-info": c.value,
3154
3140
  onReset: v
@@ -3182,7 +3168,7 @@ const $l = /* @__PURE__ */ O(Bl, [["render", Ql]]), Yl = { class: "" }, Fl = {
3182
3168
  r[0] || (r[0] = o("hr", { class: "quick-reply-buttons__separator" }, null, -1)),
3183
3169
  o("div", t1, [
3184
3170
  o("span", {
3185
- class: j(["quick-reply-buttons__icon pi pi-arrow-up-left", u == 2 && e.buttons.length > 3 ? "pi-list" : f[c.type]])
3171
+ class: x(["quick-reply-buttons__icon pi pi-arrow-up-left", u == 2 && e.buttons.length > 3 ? "pi-list" : f[c.type]])
3186
3172
  }, null, 2),
3187
3173
  o("p", null, T(u == 2 && e.buttons.length > 3 ? "Смотреть все варианты" : c.text), 1)
3188
3174
  ])
@@ -3218,7 +3204,7 @@ const $l = /* @__PURE__ */ O(Bl, [["render", Ql]]), Yl = { class: "" }, Fl = {
3218
3204
  class: "separated-quick-buttons__action"
3219
3205
  }, [
3220
3206
  o("span", {
3221
- class: j(["pi pi-arrow-up-left", n[i.type]])
3207
+ class: x(["pi pi-arrow-up-left", n[i.type]])
3222
3208
  }, null, 2),
3223
3209
  o("p", null, T(i.text), 1)
3224
3210
  ]))), 128))
@@ -3284,18 +3270,18 @@ const $l = /* @__PURE__ */ O(Bl, [["render", Ql]]), Yl = { class: "" }, Fl = {
3284
3270
  }, c = b(null), u = b(null), g = b(null), d = b(null), m = b(""), v = b(!1), y = () => {
3285
3271
  v.value = !v.value, v.value ? (c.value.scrollTop = 0, c.value.style["overflow-y"] = "hidden") : c.value.style["overflow-y"] = "scroll";
3286
3272
  }, _ = (S) => {
3287
- Object.keys(I).forEach((J) => {
3288
- I[J] = "";
3273
+ Object.keys(w).forEach((J) => {
3274
+ w[J] = "";
3289
3275
  }), d.value = null, n.wabaTemplates.forEach((J) => J.isSelected = !1), S.isSelected = !0, g.value = S, v.value = !1, ae();
3290
3276
  }, p = () => {
3291
3277
  ee(), n.wabaTemplates.forEach((S) => S.isSelected = !1);
3292
- }, N = Y(() => u.value ? n.wabaTemplates.filter((S) => S.groupId === u.value.groupId) : n.wabaTemplates), C = Y(() => {
3278
+ }, D = Y(() => u.value ? n.wabaTemplates.filter((S) => S.groupId === u.value.groupId) : n.wabaTemplates), C = Y(() => {
3293
3279
  const S = m.value.trim().toLowerCase();
3294
- return N.value.filter((J) => J.title.toLowerCase().includes(S) || J.template.toLowerCase().includes(S));
3295
- }), I = ff({}), D = b(null), M = b(), w = b(""), E = b(""), B = b(""), V = b(!1), $ = Y(() => !!(V.value && (B.value == "grid" && E.value == "none" || E.value == "grid" && w.value == "none"))), Z = Y(() => !!(V.value && (w.value == "grid" && E.value == "none" || E.value == "grid" && B.value == "none"))), z = () => {
3296
- V.value && (E.value == "grid" ? X() : B.value == "grid" && ee());
3297
- }, L = () => {
3298
- V.value && (E.value == "grid" ? ae() : w.value == "grid" && ee());
3280
+ return D.value.filter((J) => J.title.toLowerCase().includes(S) || J.template.toLowerCase().includes(S));
3281
+ }), w = sf({}), M = b(null), I = b(), k = b(""), j = b(""), B = b(""), V = b(!1), $ = Y(() => !!(V.value && (B.value == "grid" && j.value == "none" || j.value == "grid" && k.value == "none"))), Z = Y(() => !!(V.value && (k.value == "grid" && j.value == "none" || j.value == "grid" && B.value == "none"))), z = () => {
3282
+ V.value && (j.value == "grid" ? X() : B.value == "grid" && ee());
3283
+ }, U = () => {
3284
+ V.value && (j.value == "grid" ? ae() : k.value == "grid" && ee());
3299
3285
  }, X = () => {
3300
3286
  const S = document.getElementById("waba-template-selector-container-" + a);
3301
3287
  S.style.setProperty("--chotto-waba-template-first-col-display", "grid"), S.style.setProperty("--chotto-waba-template-second-col-display", "none"), console.log(S, window.getComputedStyle(S).getPropertyValue("--waba-template-first-col-display")), R();
@@ -3307,9 +3293,9 @@ const $l = /* @__PURE__ */ O(Bl, [["render", Ql]]), Yl = { class: "" }, Fl = {
3307
3293
  S.style.setProperty("--chotto-waba-template-second-col-display", "grid"), S.style.setProperty("--chotto-waba-template-first-col-display", "none"), S.style.setProperty("--chotto-waba-template-third-col-display", "none"), R();
3308
3294
  }, R = () => {
3309
3295
  const S = document.getElementById("waba-template-selector-container-" + a), J = window.getComputedStyle(S);
3310
- w.value = J.getPropertyValue("--chotto-waba-template-first-col-display"), E.value = J.getPropertyValue("--chotto-waba-template-second-col-display"), B.value = J.getPropertyValue("--chotto-waba-template-third-col-display");
3296
+ k.value = J.getPropertyValue("--chotto-waba-template-first-col-display"), j.value = J.getPropertyValue("--chotto-waba-template-second-col-display"), B.value = J.getPropertyValue("--chotto-waba-template-third-col-display");
3311
3297
  }, K = (S) => {
3312
- I[S[1]] = S[0];
3298
+ w[S[1]] = S[0];
3313
3299
  }, fe = Y(() => {
3314
3300
  var xe;
3315
3301
  const S = (xe = g.value) == null ? void 0 : xe.template;
@@ -3325,34 +3311,34 @@ const $l = /* @__PURE__ */ O(Bl, [["render", Ql]]), Yl = { class: "" }, Fl = {
3325
3311
  return !0;
3326
3312
  if (!((J = g.value) != null && J.template.match(/{{\d+}}/gi)))
3327
3313
  return !1;
3328
- const S = Object.keys(I).length !== ((H = g.value) == null ? void 0 : H.template.match(/{{\d+}}/gi).length);
3314
+ const S = Object.keys(w).length !== ((H = g.value) == null ? void 0 : H.template.match(/{{\d+}}/gi).length);
3329
3315
  return g.value.type === "TEXT" ? S : g.value.type !== "TEXT" ? S || !d.value : !1;
3330
3316
  }), pe = () => {
3331
- Object.keys(I).forEach((S) => {
3332
- I[S] = "";
3317
+ Object.keys(w).forEach((S) => {
3318
+ w[S] = "";
3333
3319
  }), d.value = null, g.value = null, n.wabaTemplates.forEach((S) => S.isSelected = !1);
3334
3320
  }, Qe = Y(() => {
3335
3321
  console.log(fe.value, g.value.buttons);
3336
- let S = fe.value.map((H) => typeof H == "string" ? H : I[H.index]).join(""), J = "";
3322
+ let S = fe.value.map((H) => typeof H == "string" ? H : w[H.index]).join(""), J = "";
3337
3323
  return g.value.buttons && (J = g.value.buttons.map((H) => `
3338
3324
  | [` + H.text + "]").join("")), S.concat(J);
3339
3325
  }), We = Y(() => {
3340
3326
  const S = [];
3341
- for (const J in I)
3342
- I[J] !== "" && I[J] !== "Заполнить" && S.push(I[J]);
3327
+ for (const J in w)
3328
+ w[J] !== "" && w[J] !== "Заполнить" && S.push(w[J]);
3343
3329
  return S;
3344
3330
  }), $e = new ResizeObserver((S) => {
3345
3331
  const J = S[0].target.clientWidth;
3346
3332
  J > 700 && (V.value = !1), J < 700 && (V.value = !0);
3347
3333
  });
3348
3334
  return ue(() => {
3349
- R(), k(M) && $e.observe(k(M));
3335
+ R(), N(I) && $e.observe(N(I));
3350
3336
  }), (S, J) => (l(), A("div", r1, [
3351
3337
  o("div", {
3352
- id: "waba-template-selector-container-" + k(a),
3338
+ id: "waba-template-selector-container-" + N(a),
3353
3339
  ref_key: "refContainer",
3354
- ref: M,
3355
- class: j({
3340
+ ref: I,
3341
+ class: x({
3356
3342
  "template-selector__container-inline": !e.elevatedWindow,
3357
3343
  "template-selector__container-elevated": e.elevatedWindow
3358
3344
  })
@@ -3368,7 +3354,7 @@ const $l = /* @__PURE__ */ O(Bl, [["render", Ql]]), Yl = { class: "" }, Fl = {
3368
3354
  Z.value ? (l(), A("button", g1, [
3369
3355
  o("span", {
3370
3356
  class: "pi pi-arrow-right",
3371
- onClick: L
3357
+ onClick: U
3372
3358
  })
3373
3359
  ])) : h("", !0)
3374
3360
  ]),
@@ -3384,7 +3370,7 @@ const $l = /* @__PURE__ */ O(Bl, [["render", Ql]]), Yl = { class: "" }, Fl = {
3384
3370
  o("ul", h1, [
3385
3371
  (l(!0), A(q, null, ie(e.groupTemplates, (H, le) => (l(), A("li", {
3386
3372
  key: le,
3387
- class: j(["template-selector__item-group", { "template-selector__item-selected": u.value === H }]),
3373
+ class: x(["template-selector__item-group", { "template-selector__item-selected": u.value === H }]),
3388
3374
  onClick: p
3389
3375
  }, [
3390
3376
  o("label", v1, [
@@ -3401,7 +3387,7 @@ const $l = /* @__PURE__ */ O(Bl, [["render", Ql]]), Yl = { class: "" }, Fl = {
3401
3387
  class: "template-selector__input-group",
3402
3388
  type: "radio"
3403
3389
  }, null, 8, b1), [
3404
- [af, u.value]
3390
+ [ff, u.value]
3405
3391
  ]),
3406
3392
  o("span", null, T(H.title), 1)
3407
3393
  ])
@@ -3423,7 +3409,7 @@ const $l = /* @__PURE__ */ O(Bl, [["render", Ql]]), Yl = { class: "" }, Fl = {
3423
3409
  C.value.length !== 0 ? (l(), A("ul", w1, [
3424
3410
  (l(!0), A(q, null, ie(C.value, (H, le) => (l(), A("li", {
3425
3411
  key: le,
3426
- class: j(["template-selector__item-template", { "template-selector__item-selected": H.isSelected }]),
3412
+ class: x(["template-selector__item-template", { "template-selector__item-selected": H.isSelected }]),
3427
3413
  onClick: (xe) => _(H)
3428
3414
  }, [
3429
3415
  o("div", N1, [
@@ -3442,7 +3428,7 @@ const $l = /* @__PURE__ */ O(Bl, [["render", Ql]]), Yl = { class: "" }, Fl = {
3442
3428
  }, [
3443
3429
  fe.value.length > 0 ? (l(), A("div", x1, [
3444
3430
  o("div", j1, [
3445
- g.value.type != "TEXT" ? (l(), U(Gl, {
3431
+ g.value.type != "TEXT" ? (l(), L(Gl, {
3446
3432
  key: 0,
3447
3433
  type: g.value.type,
3448
3434
  "template-id": g.value.templateId,
@@ -3450,18 +3436,18 @@ const $l = /* @__PURE__ */ O(Bl, [["render", Ql]]), Yl = { class: "" }, Fl = {
3450
3436
  }, null, 8, ["type", "template-id"])) : h("", !0),
3451
3437
  o("div", V1, [
3452
3438
  (l(!0), A(q, null, ie(fe.value, (H, le) => (l(), A(q, { key: le }, [
3453
- typeof H == "string" ? (l(), A("span", S1, T(H), 1)) : typeof H == "object" ? (l(), U(Hl, {
3439
+ typeof H == "string" ? (l(), A("span", S1, T(H), 1)) : typeof H == "object" ? (l(), L(Hl, {
3454
3440
  key: 1,
3455
3441
  index: H.index,
3456
- value: I[H.index] || "Заполнить",
3457
- "is-filled": !!I[H.index],
3458
- onClick: (xe) => D.value = H.index,
3442
+ value: w[H.index] || "Заполнить",
3443
+ "is-filled": !!w[H.index],
3444
+ onClick: (xe) => M.value = H.index,
3459
3445
  onEdit: K
3460
3446
  }, null, 8, ["index", "value", "is-filled", "onClick"])) : h("", !0)
3461
3447
  ], 64))), 128))
3462
3448
  ]),
3463
3449
  J[2] || (J[2] = o("p", { class: "template-selector__preview-time" }, " 22:22 ", -1)),
3464
- g.value.buttons ? (l(), U(a1, {
3450
+ g.value.buttons ? (l(), L(a1, {
3465
3451
  key: 1,
3466
3452
  buttons: g.value.buttons,
3467
3453
  onSelectAllVariants: y
@@ -3540,11 +3526,11 @@ const $l = /* @__PURE__ */ O(Bl, [["render", Ql]]), Yl = { class: "" }, Fl = {
3540
3526
  r("sendWabaValues", v);
3541
3527
  };
3542
3528
  return (v, y) => (l(), A(q, null, [
3543
- k(f)().isRecording ? h("", !0) : (l(), A("button", {
3529
+ N(f)().isRecording ? h("", !0) : (l(), A("button", {
3544
3530
  key: 0,
3545
3531
  ref_key: "templateButton",
3546
3532
  ref: s,
3547
- class: j(["button-template", { "button-template-disabled": e.state == "disabled" }]),
3533
+ class: x(["button-template", { "button-template-disabled": e.state == "disabled" }]),
3548
3534
  onClick: c,
3549
3535
  onMouseover: u,
3550
3536
  onMouseout: g
@@ -3567,7 +3553,7 @@ const $l = /* @__PURE__ */ O(Bl, [["render", Ql]]), Yl = { class: "" }, Fl = {
3567
3553
  ], 544)
3568
3554
  ], 64));
3569
3555
  }
3570
- }, f2 = /* @__PURE__ */ O(R1, [["__scopeId", "data-v-a6de90d6"]]), bf = "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64", Mf = {
3556
+ }, f2 = /* @__PURE__ */ O(R1, [["__scopeId", "data-v-a6de90d6"]]), Mf = "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@6.0.1/img/apple/64", _f = {
3571
3557
  recent: "Recently used",
3572
3558
  smileys_people: "Smiles & People",
3573
3559
  animals_nature: "Animals & Nature",
@@ -3577,9 +3563,9 @@ const $l = /* @__PURE__ */ O(Bl, [["render", Ql]]), Yl = { class: "" }, Fl = {
3577
3563
  objects: "Objects",
3578
3564
  symbols: "Symbols",
3579
3565
  flags: "Flags"
3580
- }, _f = "u", En = "n", Yt = "v", Ct = "r", Q1 = {
3566
+ }, If = "u", En = "n", Yt = "v", Ct = "r", Q1 = {
3581
3567
  [En]: ["grinning face", "grinning"],
3582
- [_f]: "1f600",
3568
+ [If]: "1f600",
3583
3569
  [Ct]: "1f600"
3584
3570
  }, In = "neutral", $1 = "1f3fb", Y1 = "1f3fc", F1 = "1f3fd", P1 = "1f3fe", q1 = "1f3ff", H1 = [
3585
3571
  In,
@@ -15523,7 +15509,7 @@ var fr = {
15523
15509
  objects: tr,
15524
15510
  symbols: nr,
15525
15511
  flags: ar
15526
- }, Ra = [
15512
+ }, Qa = [
15527
15513
  {
15528
15514
  key: "recent",
15529
15515
  title: "Recently Used",
@@ -15571,9 +15557,9 @@ var fr = {
15571
15557
  }
15572
15558
  ];
15573
15559
  const sr = (e, t) => t.some((n) => e instanceof n);
15574
- let Qa, $a;
15560
+ let $a, Ya;
15575
15561
  function ir() {
15576
- return Qa || (Qa = [
15562
+ return $a || ($a = [
15577
15563
  IDBDatabase,
15578
15564
  IDBObjectStore,
15579
15565
  IDBIndex,
@@ -15582,13 +15568,13 @@ function ir() {
15582
15568
  ]);
15583
15569
  }
15584
15570
  function or() {
15585
- return $a || ($a = [
15571
+ return Ya || (Ya = [
15586
15572
  IDBCursor.prototype.advance,
15587
15573
  IDBCursor.prototype.continue,
15588
15574
  IDBCursor.prototype.continuePrimaryKey
15589
15575
  ]);
15590
15576
  }
15591
- const If = /* @__PURE__ */ new WeakMap(), Xn = /* @__PURE__ */ new WeakMap(), wf = /* @__PURE__ */ new WeakMap(), Qn = /* @__PURE__ */ new WeakMap(), ua = /* @__PURE__ */ new WeakMap();
15577
+ const wf = /* @__PURE__ */ new WeakMap(), Xn = /* @__PURE__ */ new WeakMap(), kf = /* @__PURE__ */ new WeakMap(), Qn = /* @__PURE__ */ new WeakMap(), ua = /* @__PURE__ */ new WeakMap();
15592
15578
  function lr(e) {
15593
15579
  const t = new Promise((n, a) => {
15594
15580
  const f = () => {
@@ -15601,7 +15587,7 @@ function lr(e) {
15601
15587
  e.addEventListener("success", s), e.addEventListener("error", i);
15602
15588
  });
15603
15589
  return t.then((n) => {
15604
- n instanceof IDBCursor && If.set(n, e);
15590
+ n instanceof IDBCursor && wf.set(n, e);
15605
15591
  }).catch(() => {
15606
15592
  }), ua.set(t, e), t;
15607
15593
  }
@@ -15626,7 +15612,7 @@ let ea = {
15626
15612
  if (t === "done")
15627
15613
  return Xn.get(e);
15628
15614
  if (t === "objectStoreNames")
15629
- return e.objectStoreNames || wf.get(e);
15615
+ return e.objectStoreNames || kf.get(e);
15630
15616
  if (t === "store")
15631
15617
  return n.objectStoreNames[1] ? void 0 : n.objectStore(n.objectStoreNames[0]);
15632
15618
  }
@@ -15645,9 +15631,9 @@ function cr(e) {
15645
15631
  function Ar(e) {
15646
15632
  return e === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(t, ...n) {
15647
15633
  const a = e.call($n(this), t, ...n);
15648
- return wf.set(a, t.sort ? t.sort() : [t]), qe(a);
15634
+ return kf.set(a, t.sort ? t.sort() : [t]), qe(a);
15649
15635
  } : or().includes(e) ? function(...t) {
15650
- return e.apply($n(this), t), qe(If.get(this));
15636
+ return e.apply($n(this), t), qe(wf.get(this));
15651
15637
  } : function(...t) {
15652
15638
  return qe(e.apply($n(this), t));
15653
15639
  };
@@ -15678,7 +15664,7 @@ function da(e, t, { blocked: n, upgrade: a, blocking: f, terminated: s } = {}) {
15678
15664
  }), r;
15679
15665
  }
15680
15666
  const dr = ["get", "getKey", "getAll", "getAllKeys", "count"], gr = ["put", "add", "delete", "clear"], Yn = /* @__PURE__ */ new Map();
15681
- function Ya(e, t) {
15667
+ function Fa(e, t) {
15682
15668
  if (!(e instanceof IDBDatabase && !(t in e) && typeof t == "string"))
15683
15669
  return;
15684
15670
  if (Yn.get(t))
@@ -15698,8 +15684,8 @@ function Ya(e, t) {
15698
15684
  }
15699
15685
  cr((e) => ({
15700
15686
  ...e,
15701
- get: (t, n, a) => Ya(t, n) || e.get(t, n, a),
15702
- has: (t, n) => !!Ya(t, n) || e.has(t, n)
15687
+ get: (t, n, a) => Fa(t, n) || e.get(t, n, a),
15688
+ has: (t, n) => !!Fa(t, n) || e.has(t, n)
15703
15689
  }));
15704
15690
  const ga = "EMJ", tt = "emojis", ma = 3;
15705
15691
  async function mr() {
@@ -15732,7 +15718,7 @@ async function hr() {
15732
15718
  return await (await da(ga, ma)).transaction(tt, "readonly").objectStore(tt).getAll();
15733
15719
  }
15734
15720
  function vr() {
15735
- const e = ff({
15721
+ const e = sf({
15736
15722
  search: "",
15737
15723
  emoji: Q1,
15738
15724
  activeGroup: "",
@@ -15752,7 +15738,7 @@ function vr() {
15752
15738
  return this.options.displayRecent || (d = ["recent", ...d]), d;
15753
15739
  },
15754
15740
  get groups() {
15755
- return Ra.filter(
15741
+ return Qa.filter(
15756
15742
  (d) => !this.disabled.includes(d.key)
15757
15743
  );
15758
15744
  },
@@ -15760,7 +15746,7 @@ function vr() {
15760
15746
  const d = [
15761
15747
  ...this.options.groupOrder,
15762
15748
  ...Object.keys(this.options.additionalGroups),
15763
- ...Ra.map((m) => m.key)
15749
+ ...Qa.map((m) => m.key)
15764
15750
  ];
15765
15751
  return [...new Set(d)].filter((m) => !this.disabled.includes(m));
15766
15752
  }
@@ -15801,7 +15787,7 @@ function vr() {
15801
15787
  const m = e.recent.findIndex((y) => y.u === d.u);
15802
15788
  if (m > 0 && e.recent.splice(m, 1), m === 0)
15803
15789
  return;
15804
- const v = { u: d.u, n: sf(d.n) };
15790
+ const v = { u: d.u, n: of(d.n) };
15805
15791
  e.recent = [v, ...e.recent], e.recent.length > 24 && (e.recent.length = 24), u();
15806
15792
  };
15807
15793
  return {
@@ -15814,9 +15800,9 @@ function vr() {
15814
15800
  updateSelect: g
15815
15801
  };
15816
15802
  }
15817
- var ge = "top", we = "bottom", ke = "right", me = "left", pa = "auto", Vt = [ge, we, ke, me], nt = "start", Et = "end", yr = "clippingParents", kf = "viewport", gt = "popper", br = "reference", Fa = /* @__PURE__ */ Vt.reduce(function(e, t) {
15803
+ var ge = "top", we = "bottom", ke = "right", me = "left", pa = "auto", Vt = [ge, we, ke, me], nt = "start", Et = "end", yr = "clippingParents", Nf = "viewport", gt = "popper", br = "reference", Pa = /* @__PURE__ */ Vt.reduce(function(e, t) {
15818
15804
  return e.concat([t + "-" + nt, t + "-" + Et]);
15819
- }, []), Nf = /* @__PURE__ */ [].concat(Vt, [pa]).reduce(function(e, t) {
15805
+ }, []), Df = /* @__PURE__ */ [].concat(Vt, [pa]).reduce(function(e, t) {
15820
15806
  return e.concat([t, t + "-" + nt, t + "-" + Et]);
15821
15807
  }, []), Mr = "beforeRead", _r = "read", Ir = "afterRead", wr = "beforeMain", kr = "main", Nr = "afterMain", Dr = "beforeWrite", Tr = "write", Cr = "afterWrite", Er = [Mr, _r, Ir, wr, kr, Nr, Dr, Tr, Cr];
15822
15808
  function ze(e) {
@@ -15839,7 +15825,7 @@ function Ie(e) {
15839
15825
  var t = Ee(e).HTMLElement;
15840
15826
  return e instanceof t || e instanceof HTMLElement;
15841
15827
  }
15842
- function Df(e) {
15828
+ function Tf(e) {
15843
15829
  if (typeof ShadowRoot > "u")
15844
15830
  return !1;
15845
15831
  var t = Ee(e).ShadowRoot;
@@ -15918,11 +15904,11 @@ function ha(e) {
15918
15904
  height: a
15919
15905
  };
15920
15906
  }
15921
- function Tf(e, t) {
15907
+ function Cf(e, t) {
15922
15908
  var n = t.getRootNode && t.getRootNode();
15923
15909
  if (e.contains(t))
15924
15910
  return !0;
15925
- if (n && Df(n)) {
15911
+ if (n && Tf(n)) {
15926
15912
  var a = t;
15927
15913
  do {
15928
15914
  if (a && e.isSameNode(a))
@@ -15942,9 +15928,9 @@ function He(e) {
15942
15928
  return ((at(e) ? e.ownerDocument : e.document) || window.document).documentElement;
15943
15929
  }
15944
15930
  function xn(e) {
15945
- return ze(e) === "html" ? e : e.assignedSlot || e.parentNode || (Df(e) ? e.host : null) || He(e);
15931
+ return ze(e) === "html" ? e : e.assignedSlot || e.parentNode || (Tf(e) ? e.host : null) || He(e);
15946
15932
  }
15947
- function Pa(e) {
15933
+ function qa(e) {
15948
15934
  return !Ie(e) || Le(e).position === "fixed" ? null : e.offsetParent;
15949
15935
  }
15950
15936
  function Or(e) {
@@ -15963,8 +15949,8 @@ function Or(e) {
15963
15949
  return null;
15964
15950
  }
15965
15951
  function St(e) {
15966
- for (var t = Ee(e), n = Pa(e); n && Sr(n) && Le(n).position === "static"; )
15967
- n = Pa(n);
15952
+ for (var t = Ee(e), n = qa(e); n && Sr(n) && Le(n).position === "static"; )
15953
+ n = qa(n);
15968
15954
  return n && (ze(n) === "html" || ze(n) === "body" && Le(n).position === "static") ? t : n || Or(e) || t;
15969
15955
  }
15970
15956
  function va(e) {
@@ -15977,7 +15963,7 @@ function zr(e, t, n) {
15977
15963
  var a = It(e, t, n);
15978
15964
  return a > n ? n : a;
15979
15965
  }
15980
- function Cf() {
15966
+ function Ef() {
15981
15967
  return {
15982
15968
  top: 0,
15983
15969
  right: 0,
@@ -15985,10 +15971,10 @@ function Cf() {
15985
15971
  left: 0
15986
15972
  };
15987
15973
  }
15988
- function Ef(e) {
15989
- return Object.assign({}, Cf(), e);
15974
+ function xf(e) {
15975
+ return Object.assign({}, Ef(), e);
15990
15976
  }
15991
- function xf(e, t) {
15977
+ function jf(e, t) {
15992
15978
  return t.reduce(function(n, a) {
15993
15979
  return n[a] = e, n;
15994
15980
  }, {});
@@ -15996,18 +15982,18 @@ function xf(e, t) {
15996
15982
  var Lr = function(t, n) {
15997
15983
  return t = typeof t == "function" ? t(Object.assign({}, n.rects, {
15998
15984
  placement: n.placement
15999
- })) : t, Ef(typeof t != "number" ? t : xf(t, Vt));
15985
+ })) : t, xf(typeof t != "number" ? t : jf(t, Vt));
16000
15986
  };
16001
15987
  function Ur(e) {
16002
15988
  var t, n = e.state, a = e.name, f = e.options, s = n.elements.arrow, i = n.modifiersData.popperOffsets, r = Se(n.placement), c = va(r), u = [me, ke].indexOf(r) >= 0, g = u ? "height" : "width";
16003
15989
  if (!(!s || !i)) {
16004
- var d = Lr(f.padding, n), m = ha(s), v = c === "y" ? ge : me, y = c === "y" ? we : ke, _ = n.rects.reference[g] + n.rects.reference[c] - i[c] - n.rects.popper[g], p = i[c] - n.rects.reference[c], N = St(s), C = N ? c === "y" ? N.clientHeight || 0 : N.clientWidth || 0 : 0, I = _ / 2 - p / 2, D = d[v], M = C - m[g] - d[y], w = C / 2 - m[g] / 2 + I, E = It(D, w, M), B = c;
16005
- n.modifiersData[a] = (t = {}, t[B] = E, t.centerOffset = E - w, t);
15990
+ var d = Lr(f.padding, n), m = ha(s), v = c === "y" ? ge : me, y = c === "y" ? we : ke, _ = n.rects.reference[g] + n.rects.reference[c] - i[c] - n.rects.popper[g], p = i[c] - n.rects.reference[c], D = St(s), C = D ? c === "y" ? D.clientHeight || 0 : D.clientWidth || 0 : 0, w = _ / 2 - p / 2, M = d[v], I = C - m[g] - d[y], k = C / 2 - m[g] / 2 + w, j = It(M, k, I), B = c;
15991
+ n.modifiersData[a] = (t = {}, t[B] = j, t.centerOffset = j - k, t);
16006
15992
  }
16007
15993
  }
16008
15994
  function Br(e) {
16009
15995
  var t = e.state, n = e.options, a = n.element, f = a === void 0 ? "[data-popper-arrow]" : a;
16010
- f != null && (typeof f == "string" && (f = t.elements.popper.querySelector(f), !f) || Tf(t.elements.popper, f) && (t.elements.arrow = f));
15996
+ f != null && (typeof f == "string" && (f = t.elements.popper.querySelector(f), !f) || Cf(t.elements.popper, f) && (t.elements.arrow = f));
16011
15997
  }
16012
15998
  var Rr = {
16013
15999
  name: "arrow",
@@ -16034,18 +16020,18 @@ function $r(e) {
16034
16020
  y: ft(n * f) / f || 0
16035
16021
  };
16036
16022
  }
16037
- function qa(e) {
16038
- var t, n = e.popper, a = e.popperRect, f = e.placement, s = e.variation, i = e.offsets, r = e.position, c = e.gpuAcceleration, u = e.adaptive, g = e.roundOffsets, d = e.isFixed, m = g === !0 ? $r(i) : typeof g == "function" ? g(i) : i, v = m.x, y = v === void 0 ? 0 : v, _ = m.y, p = _ === void 0 ? 0 : _, N = i.hasOwnProperty("x"), C = i.hasOwnProperty("y"), I = me, D = ge, M = window;
16023
+ function Ha(e) {
16024
+ var t, n = e.popper, a = e.popperRect, f = e.placement, s = e.variation, i = e.offsets, r = e.position, c = e.gpuAcceleration, u = e.adaptive, g = e.roundOffsets, d = e.isFixed, m = g === !0 ? $r(i) : typeof g == "function" ? g(i) : i, v = m.x, y = v === void 0 ? 0 : v, _ = m.y, p = _ === void 0 ? 0 : _, D = i.hasOwnProperty("x"), C = i.hasOwnProperty("y"), w = me, M = ge, I = window;
16039
16025
  if (u) {
16040
- var w = St(n), E = "clientHeight", B = "clientWidth";
16041
- if (w === Ee(n) && (w = He(n), Le(w).position !== "static" && r === "absolute" && (E = "scrollHeight", B = "scrollWidth")), w = w, f === ge || (f === me || f === ke) && s === Et) {
16042
- D = we;
16043
- var V = d && M.visualViewport ? M.visualViewport.height : w[E];
16026
+ var k = St(n), j = "clientHeight", B = "clientWidth";
16027
+ if (k === Ee(n) && (k = He(n), Le(k).position !== "static" && r === "absolute" && (j = "scrollHeight", B = "scrollWidth")), k = k, f === ge || (f === me || f === ke) && s === Et) {
16028
+ M = we;
16029
+ var V = d && I.visualViewport ? I.visualViewport.height : k[j];
16044
16030
  p -= V - a.height, p *= c ? 1 : -1;
16045
16031
  }
16046
16032
  if (f === me || (f === ge || f === we) && s === Et) {
16047
- I = ke;
16048
- var $ = d && M.visualViewport ? M.visualViewport.width : w[B];
16033
+ w = ke;
16034
+ var $ = d && I.visualViewport ? I.visualViewport.width : k[B];
16049
16035
  y -= $ - a.width, y *= c ? 1 : -1;
16050
16036
  }
16051
16037
  }
@@ -16054,9 +16040,9 @@ function qa(e) {
16054
16040
  }, u && Qr);
16055
16041
  if (c) {
16056
16042
  var z;
16057
- return Object.assign({}, Z, (z = {}, z[D] = C ? "0" : "", z[I] = N ? "0" : "", z.transform = (M.devicePixelRatio || 1) <= 1 ? "translate(" + y + "px, " + p + "px)" : "translate3d(" + y + "px, " + p + "px, 0)", z));
16043
+ return Object.assign({}, Z, (z = {}, z[M] = C ? "0" : "", z[w] = D ? "0" : "", z.transform = (I.devicePixelRatio || 1) <= 1 ? "translate(" + y + "px, " + p + "px)" : "translate3d(" + y + "px, " + p + "px, 0)", z));
16058
16044
  }
16059
- return Object.assign({}, Z, (t = {}, t[D] = C ? p + "px" : "", t[I] = N ? y + "px" : "", t.transform = "", t));
16045
+ return Object.assign({}, Z, (t = {}, t[M] = C ? p + "px" : "", t[w] = D ? y + "px" : "", t.transform = "", t));
16060
16046
  }
16061
16047
  function Yr(e) {
16062
16048
  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, u = {
@@ -16067,12 +16053,12 @@ function Yr(e) {
16067
16053
  gpuAcceleration: f,
16068
16054
  isFixed: t.options.strategy === "fixed"
16069
16055
  };
16070
- t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, qa(Object.assign({}, u, {
16056
+ t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, Ha(Object.assign({}, u, {
16071
16057
  offsets: t.modifiersData.popperOffsets,
16072
16058
  position: t.options.strategy,
16073
16059
  adaptive: i,
16074
16060
  roundOffsets: c
16075
- })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, qa(Object.assign({}, u, {
16061
+ })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, Ha(Object.assign({}, u, {
16076
16062
  offsets: t.modifiersData.arrow,
16077
16063
  position: "absolute",
16078
16064
  adaptive: !1,
@@ -16123,7 +16109,7 @@ var Wr = {
16123
16109
  start: "end",
16124
16110
  end: "start"
16125
16111
  };
16126
- function Ha(e) {
16112
+ function Wa(e) {
16127
16113
  return e.replace(/start|end/g, function(t) {
16128
16114
  return Wr[t];
16129
16115
  });
@@ -16160,13 +16146,13 @@ function Ma(e) {
16160
16146
  var t = Le(e), n = t.overflow, a = t.overflowX, f = t.overflowY;
16161
16147
  return /auto|scroll|overlay|hidden/.test(n + f + a);
16162
16148
  }
16163
- function jf(e) {
16164
- return ["html", "body", "#document"].indexOf(ze(e)) >= 0 ? e.ownerDocument.body : Ie(e) && Ma(e) ? e : jf(xn(e));
16149
+ function Vf(e) {
16150
+ return ["html", "body", "#document"].indexOf(ze(e)) >= 0 ? e.ownerDocument.body : Ie(e) && Ma(e) ? e : Vf(xn(e));
16165
16151
  }
16166
16152
  function wt(e, t) {
16167
16153
  var n;
16168
16154
  t === void 0 && (t = []);
16169
- var a = jf(e), f = a === ((n = e.ownerDocument) == null ? void 0 : n.body), s = Ee(a), i = f ? [s].concat(s.visualViewport || [], Ma(a) ? a : []) : a, r = t.concat(i);
16155
+ var a = Vf(e), f = a === ((n = e.ownerDocument) == null ? void 0 : n.body), s = Ee(a), i = f ? [s].concat(s.visualViewport || [], Ma(a) ? a : []) : a, r = t.concat(i);
16170
16156
  return f ? r : r.concat(wt(xn(i)));
16171
16157
  }
16172
16158
  function ta(e) {
@@ -16181,23 +16167,23 @@ function Zr(e) {
16181
16167
  var t = st(e);
16182
16168
  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;
16183
16169
  }
16184
- function Wa(e, t) {
16185
- return t === kf ? ta(Kr(e)) : at(t) ? Zr(t) : ta(Jr(He(e)));
16170
+ function Ka(e, t) {
16171
+ return t === Nf ? ta(Kr(e)) : at(t) ? Zr(t) : ta(Jr(He(e)));
16186
16172
  }
16187
16173
  function Gr(e) {
16188
16174
  var t = wt(xn(e)), n = ["absolute", "fixed"].indexOf(Le(e).position) >= 0, a = n && Ie(e) ? St(e) : e;
16189
16175
  return at(a) ? t.filter(function(f) {
16190
- return at(f) && Tf(f, a) && ze(f) !== "body" && (n ? Le(f).position !== "static" : !0);
16176
+ return at(f) && Cf(f, a) && ze(f) !== "body" && (n ? Le(f).position !== "static" : !0);
16191
16177
  }) : [];
16192
16178
  }
16193
16179
  function Xr(e, t, n) {
16194
16180
  var a = t === "clippingParents" ? Gr(e) : [].concat(t), f = [].concat(a, [n]), s = f[0], i = f.reduce(function(r, c) {
16195
- var u = Wa(e, c);
16181
+ var u = Ka(e, c);
16196
16182
  return r.top = Ge(u.top, r.top), r.right = wn(u.right, r.right), r.bottom = wn(u.bottom, r.bottom), r.left = Ge(u.left, r.left), r;
16197
- }, Wa(e, s));
16183
+ }, Ka(e, s));
16198
16184
  return i.width = i.right - i.left, i.height = i.bottom - i.top, i.x = i.left, i.y = i.top, i;
16199
16185
  }
16200
- function Vf(e) {
16186
+ function Sf(e) {
16201
16187
  var t = e.reference, n = e.element, a = e.placement, f = a ? Se(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;
16202
16188
  switch (f) {
16203
16189
  case ge:
@@ -16246,28 +16232,28 @@ function Vf(e) {
16246
16232
  }
16247
16233
  function xt(e, t) {
16248
16234
  t === void 0 && (t = {});
16249
- var n = t, a = n.placement, f = a === void 0 ? e.placement : a, s = n.boundary, i = s === void 0 ? yr : s, r = n.rootBoundary, c = r === void 0 ? kf : r, u = n.elementContext, g = u === void 0 ? gt : u, d = n.altBoundary, m = d === void 0 ? !1 : d, v = n.padding, y = v === void 0 ? 0 : v, _ = Ef(typeof y != "number" ? y : xf(y, Vt)), p = g === gt ? br : gt, N = e.rects.popper, C = e.elements[m ? p : g], I = Xr(at(C) ? C : C.contextElement || He(e.elements.popper), i, c), D = st(e.elements.reference), M = Vf({
16250
- reference: D,
16251
- element: N,
16235
+ var n = t, a = n.placement, f = a === void 0 ? e.placement : a, s = n.boundary, i = s === void 0 ? yr : s, r = n.rootBoundary, c = r === void 0 ? Nf : r, u = n.elementContext, g = u === void 0 ? gt : u, d = n.altBoundary, m = d === void 0 ? !1 : d, v = n.padding, y = v === void 0 ? 0 : v, _ = xf(typeof y != "number" ? y : jf(y, Vt)), p = g === gt ? br : gt, D = e.rects.popper, C = e.elements[m ? p : g], w = Xr(at(C) ? C : C.contextElement || He(e.elements.popper), i, c), M = st(e.elements.reference), I = Sf({
16236
+ reference: M,
16237
+ element: D,
16252
16238
  placement: f
16253
- }), w = ta(Object.assign({}, N, M)), E = g === gt ? w : D, B = {
16254
- top: I.top - E.top + _.top,
16255
- bottom: E.bottom - I.bottom + _.bottom,
16256
- left: I.left - E.left + _.left,
16257
- right: E.right - I.right + _.right
16239
+ }), k = ta(Object.assign({}, D, I)), j = g === gt ? k : M, B = {
16240
+ top: w.top - j.top + _.top,
16241
+ bottom: j.bottom - w.bottom + _.bottom,
16242
+ left: w.left - j.left + _.left,
16243
+ right: j.right - w.right + _.right
16258
16244
  }, V = e.modifiersData.offset;
16259
16245
  if (g === gt && V) {
16260
16246
  var $ = V[f];
16261
16247
  Object.keys(B).forEach(function(Z) {
16262
- var z = [ke, we].indexOf(Z) >= 0 ? 1 : -1, L = [ge, we].indexOf(Z) >= 0 ? "y" : "x";
16263
- B[Z] += $[L] * z;
16248
+ var z = [ke, we].indexOf(Z) >= 0 ? 1 : -1, U = [ge, we].indexOf(Z) >= 0 ? "y" : "x";
16249
+ B[Z] += $[U] * z;
16264
16250
  });
16265
16251
  }
16266
16252
  return B;
16267
16253
  }
16268
16254
  function ec(e, t) {
16269
16255
  t === void 0 && (t = {});
16270
- var n = t, a = n.placement, f = n.boundary, s = n.rootBoundary, i = n.padding, r = n.flipVariations, c = n.allowedAutoPlacements, u = c === void 0 ? Nf : c, g = it(a), d = g ? r ? Fa : Fa.filter(function(y) {
16256
+ var n = t, a = n.placement, f = n.boundary, s = n.rootBoundary, i = n.padding, r = n.flipVariations, c = n.allowedAutoPlacements, u = c === void 0 ? Df : c, g = it(a), d = g ? r ? Pa : Pa.filter(function(y) {
16271
16257
  return it(y) === g;
16272
16258
  }) : Vt, m = d.filter(function(y) {
16273
16259
  return u.indexOf(y) >= 0;
@@ -16289,12 +16275,12 @@ function tc(e) {
16289
16275
  if (Se(e) === pa)
16290
16276
  return [];
16291
16277
  var t = Ht(e);
16292
- return [Ha(e), t, Ha(t)];
16278
+ return [Wa(e), t, Wa(t)];
16293
16279
  }
16294
16280
  function nc(e) {
16295
16281
  var t = e.state, n = e.options, a = e.name;
16296
16282
  if (!t.modifiersData[a]._skip) {
16297
- for (var f = n.mainAxis, s = f === void 0 ? !0 : f, i = n.altAxis, r = i === void 0 ? !0 : i, c = n.fallbackPlacements, u = n.padding, g = n.boundary, d = n.rootBoundary, m = n.altBoundary, v = n.flipVariations, y = v === void 0 ? !0 : v, _ = n.allowedAutoPlacements, p = t.options.placement, N = Se(p), C = N === p, I = c || (C || !y ? [Ht(p)] : tc(p)), D = [p].concat(I).reduce(function($e, S) {
16283
+ for (var f = n.mainAxis, s = f === void 0 ? !0 : f, i = n.altAxis, r = i === void 0 ? !0 : i, c = n.fallbackPlacements, u = n.padding, g = n.boundary, d = n.rootBoundary, m = n.altBoundary, v = n.flipVariations, y = v === void 0 ? !0 : v, _ = n.allowedAutoPlacements, p = t.options.placement, D = Se(p), C = D === p, w = c || (C || !y ? [Ht(p)] : tc(p)), M = [p].concat(w).reduce(function($e, S) {
16298
16284
  return $e.concat(Se(S) === pa ? ec(t, {
16299
16285
  placement: S,
16300
16286
  boundary: g,
@@ -16303,15 +16289,15 @@ function nc(e) {
16303
16289
  flipVariations: y,
16304
16290
  allowedAutoPlacements: _
16305
16291
  }) : S);
16306
- }, []), M = t.rects.reference, w = t.rects.popper, E = /* @__PURE__ */ new Map(), B = !0, V = D[0], $ = 0; $ < D.length; $++) {
16307
- var Z = D[$], z = Se(Z), L = it(Z) === nt, X = [ge, we].indexOf(z) >= 0, ae = X ? "width" : "height", ee = xt(t, {
16292
+ }, []), I = t.rects.reference, k = t.rects.popper, j = /* @__PURE__ */ new Map(), B = !0, V = M[0], $ = 0; $ < M.length; $++) {
16293
+ var Z = M[$], z = Se(Z), U = it(Z) === nt, X = [ge, we].indexOf(z) >= 0, ae = X ? "width" : "height", ee = xt(t, {
16308
16294
  placement: Z,
16309
16295
  boundary: g,
16310
16296
  rootBoundary: d,
16311
16297
  altBoundary: m,
16312
16298
  padding: u
16313
- }), R = X ? L ? ke : me : L ? we : ge;
16314
- M[ae] > w[ae] && (R = Ht(R));
16299
+ }), R = X ? U ? ke : me : U ? we : ge;
16300
+ I[ae] > k[ae] && (R = Ht(R));
16315
16301
  var K = Ht(R), fe = [];
16316
16302
  if (s && fe.push(ee[z] <= 0), r && fe.push(ee[R] <= 0, ee[K] <= 0), fe.every(function($e) {
16317
16303
  return $e;
@@ -16319,12 +16305,12 @@ function nc(e) {
16319
16305
  V = Z, B = !1;
16320
16306
  break;
16321
16307
  }
16322
- E.set(Z, fe);
16308
+ j.set(Z, fe);
16323
16309
  }
16324
16310
  if (B)
16325
16311
  for (var de = y ? 3 : 1, pe = function(S) {
16326
- var J = D.find(function(H) {
16327
- var le = E.get(H);
16312
+ var J = M.find(function(H) {
16313
+ var le = j.get(H);
16328
16314
  if (le)
16329
16315
  return le.slice(0, S).every(function(xe) {
16330
16316
  return xe;
@@ -16350,7 +16336,7 @@ var ac = {
16350
16336
  _skip: !1
16351
16337
  }
16352
16338
  };
16353
- function Ka(e, t, n) {
16339
+ function Ja(e, t, n) {
16354
16340
  return n === void 0 && (n = {
16355
16341
  x: 0,
16356
16342
  y: 0
@@ -16361,7 +16347,7 @@ function Ka(e, t, n) {
16361
16347
  left: e.left - t.width - n.x
16362
16348
  };
16363
16349
  }
16364
- function Ja(e) {
16350
+ function Za(e) {
16365
16351
  return [ge, ke, we, me].some(function(t) {
16366
16352
  return e[t] >= 0;
16367
16353
  });
@@ -16371,7 +16357,7 @@ function fc(e) {
16371
16357
  elementContext: "reference"
16372
16358
  }), r = xt(t, {
16373
16359
  altBoundary: !0
16374
- }), c = Ka(i, a), u = Ka(r, f, s), g = Ja(c), d = Ja(u);
16360
+ }), c = Ja(i, a), u = Ja(r, f, s), g = Za(c), d = Za(u);
16375
16361
  t.modifiersData[n] = {
16376
16362
  referenceClippingOffsets: c,
16377
16363
  popperEscapeOffsets: u,
@@ -16402,7 +16388,7 @@ function ic(e, t, n) {
16402
16388
  };
16403
16389
  }
16404
16390
  function oc(e) {
16405
- var t = e.state, n = e.options, a = e.name, f = n.offset, s = f === void 0 ? [0, 0] : f, i = Nf.reduce(function(g, d) {
16391
+ var t = e.state, n = e.options, a = e.name, f = n.offset, s = f === void 0 ? [0, 0] : f, i = Df.reduce(function(g, d) {
16406
16392
  return g[d] = ic(d, t.rects, s), g;
16407
16393
  }, {}), r = i[t.placement], c = r.x, u = r.y;
16408
16394
  t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += c, t.modifiersData.popperOffsets.y += u), t.modifiersData[a] = i;
@@ -16416,7 +16402,7 @@ var lc = {
16416
16402
  };
16417
16403
  function rc(e) {
16418
16404
  var t = e.state, n = e.name;
16419
- t.modifiersData[n] = Vf({
16405
+ t.modifiersData[n] = Sf({
16420
16406
  reference: t.rects.reference,
16421
16407
  element: t.rects.popper,
16422
16408
  placement: t.placement
@@ -16438,7 +16424,7 @@ function uc(e) {
16438
16424
  rootBoundary: u,
16439
16425
  padding: d,
16440
16426
  altBoundary: g
16441
- }), N = Se(t.placement), C = it(t.placement), I = !C, D = va(N), M = Ac(D), w = t.modifiersData.popperOffsets, E = t.rects.reference, B = t.rects.popper, V = typeof _ == "function" ? _(Object.assign({}, t.rects, {
16427
+ }), D = Se(t.placement), C = it(t.placement), w = !C, M = va(D), I = Ac(M), k = t.modifiersData.popperOffsets, j = t.rects.reference, B = t.rects.popper, V = typeof _ == "function" ? _(Object.assign({}, t.rects, {
16442
16428
  placement: t.placement
16443
16429
  })) : _, $ = typeof V == "number" ? {
16444
16430
  mainAxis: V,
@@ -16450,17 +16436,17 @@ function uc(e) {
16450
16436
  x: 0,
16451
16437
  y: 0
16452
16438
  };
16453
- if (w) {
16439
+ if (k) {
16454
16440
  if (s) {
16455
- var L, X = D === "y" ? ge : me, ae = D === "y" ? we : ke, ee = D === "y" ? "height" : "width", R = w[D], K = R + p[X], fe = R - p[ae], de = v ? -B[ee] / 2 : 0, pe = C === nt ? E[ee] : B[ee], Qe = C === nt ? -B[ee] : -E[ee], We = t.elements.arrow, $e = v && We ? ha(We) : {
16441
+ var U, X = M === "y" ? ge : me, ae = M === "y" ? we : ke, ee = M === "y" ? "height" : "width", R = k[M], K = R + p[X], fe = R - p[ae], de = v ? -B[ee] / 2 : 0, pe = C === nt ? j[ee] : B[ee], Qe = C === nt ? -B[ee] : -j[ee], We = t.elements.arrow, $e = v && We ? ha(We) : {
16456
16442
  width: 0,
16457
16443
  height: 0
16458
- }, S = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Cf(), J = S[X], H = S[ae], le = It(0, E[ee], $e[ee]), xe = I ? E[ee] / 2 - de - le - J - $.mainAxis : pe - le - J - $.mainAxis, Ke = I ? -E[ee] / 2 + de + le + H + $.mainAxis : Qe + le + H + $.mainAxis, jn = t.elements.arrow && St(t.elements.arrow), Uf = jn ? D === "y" ? jn.clientTop || 0 : jn.clientLeft || 0 : 0, Ia = (L = Z == null ? void 0 : Z[D]) != null ? L : 0, Bf = R + xe - Ia - Uf, Rf = R + Ke - Ia, wa = It(v ? wn(K, Bf) : K, R, v ? Ge(fe, Rf) : fe);
16459
- w[D] = wa, z[D] = wa - R;
16444
+ }, S = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Ef(), J = S[X], H = S[ae], le = It(0, j[ee], $e[ee]), xe = w ? j[ee] / 2 - de - le - J - $.mainAxis : pe - le - J - $.mainAxis, Ke = w ? -j[ee] / 2 + de + le + H + $.mainAxis : Qe + le + H + $.mainAxis, jn = t.elements.arrow && St(t.elements.arrow), Bf = jn ? M === "y" ? jn.clientTop || 0 : jn.clientLeft || 0 : 0, Ia = (U = Z == null ? void 0 : Z[M]) != null ? U : 0, Rf = R + xe - Ia - Bf, Qf = R + Ke - Ia, wa = It(v ? wn(K, Rf) : K, R, v ? Ge(fe, Qf) : fe);
16445
+ k[M] = wa, z[M] = wa - R;
16460
16446
  }
16461
16447
  if (r) {
16462
- var ka, Qf = D === "x" ? ge : me, $f = D === "x" ? we : ke, Je = w[M], Bt = M === "y" ? "height" : "width", Na = Je + p[Qf], Da = Je - p[$f], Vn = [ge, me].indexOf(N) !== -1, Ta = (ka = Z == null ? void 0 : Z[M]) != null ? ka : 0, Ca = Vn ? Na : Je - E[Bt] - B[Bt] - Ta + $.altAxis, Ea = Vn ? Je + E[Bt] + B[Bt] - Ta - $.altAxis : Da, xa = v && Vn ? zr(Ca, Je, Ea) : It(v ? Ca : Na, Je, v ? Ea : Da);
16463
- w[M] = xa, z[M] = xa - Je;
16448
+ var ka, $f = M === "x" ? ge : me, Yf = M === "x" ? we : ke, Je = k[I], Bt = I === "y" ? "height" : "width", Na = Je + p[$f], Da = Je - p[Yf], Vn = [ge, me].indexOf(D) !== -1, Ta = (ka = Z == null ? void 0 : Z[I]) != null ? ka : 0, Ca = Vn ? Na : Je - j[Bt] - B[Bt] - Ta + $.altAxis, Ea = Vn ? Je + j[Bt] + B[Bt] - Ta - $.altAxis : Da, xa = v && Vn ? zr(Ca, Je, Ea) : It(v ? Ca : Na, Je, v ? Ea : Da);
16449
+ k[I] = xa, z[I] = xa - Je;
16464
16450
  }
16465
16451
  t.modifiersData[a] = z;
16466
16452
  }
@@ -16550,12 +16536,12 @@ function Mc(e) {
16550
16536
  return t[n];
16551
16537
  });
16552
16538
  }
16553
- var Za = {
16539
+ var Ga = {
16554
16540
  placement: "bottom",
16555
16541
  modifiers: [],
16556
16542
  strategy: "absolute"
16557
16543
  };
16558
- function Ga() {
16544
+ function Xa() {
16559
16545
  for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
16560
16546
  t[n] = arguments[n];
16561
16547
  return !t.some(function(a) {
@@ -16564,13 +16550,13 @@ function Ga() {
16564
16550
  }
16565
16551
  function _c(e) {
16566
16552
  e === void 0 && (e = {});
16567
- var t = e, n = t.defaultModifiers, a = n === void 0 ? [] : n, f = t.defaultOptions, s = f === void 0 ? Za : f;
16553
+ var t = e, n = t.defaultModifiers, a = n === void 0 ? [] : n, f = t.defaultOptions, s = f === void 0 ? Ga : f;
16568
16554
  return function(r, c, u) {
16569
16555
  u === void 0 && (u = s);
16570
16556
  var g = {
16571
16557
  placement: "bottom",
16572
16558
  orderedModifiers: [],
16573
- options: Object.assign({}, Za, s),
16559
+ options: Object.assign({}, Ga, s),
16574
16560
  modifiersData: {},
16575
16561
  elements: {
16576
16562
  reference: r,
@@ -16580,34 +16566,34 @@ function _c(e) {
16580
16566
  styles: {}
16581
16567
  }, d = [], m = !1, v = {
16582
16568
  state: g,
16583
- setOptions: function(N) {
16584
- var C = typeof N == "function" ? N(g.options) : N;
16569
+ setOptions: function(D) {
16570
+ var C = typeof D == "function" ? D(g.options) : D;
16585
16571
  _(), g.options = Object.assign({}, s, g.options, C), g.scrollParents = {
16586
16572
  reference: at(r) ? wt(r) : r.contextElement ? wt(r.contextElement) : [],
16587
16573
  popper: wt(c)
16588
16574
  };
16589
- var I = yc(Mc([].concat(a, g.options.modifiers)));
16590
- return g.orderedModifiers = I.filter(function(D) {
16591
- return D.enabled;
16575
+ var w = yc(Mc([].concat(a, g.options.modifiers)));
16576
+ return g.orderedModifiers = w.filter(function(M) {
16577
+ return M.enabled;
16592
16578
  }), y(), v.update();
16593
16579
  },
16594
16580
  forceUpdate: function() {
16595
16581
  if (!m) {
16596
- var N = g.elements, C = N.reference, I = N.popper;
16597
- if (Ga(C, I)) {
16582
+ var D = g.elements, C = D.reference, w = D.popper;
16583
+ if (Xa(C, w)) {
16598
16584
  g.rects = {
16599
- reference: hc(C, St(I), g.options.strategy === "fixed"),
16600
- popper: ha(I)
16585
+ reference: hc(C, St(w), g.options.strategy === "fixed"),
16586
+ popper: ha(w)
16601
16587
  }, g.reset = !1, g.placement = g.options.placement, g.orderedModifiers.forEach(function($) {
16602
16588
  return g.modifiersData[$.name] = Object.assign({}, $.data);
16603
16589
  });
16604
- for (var D = 0; D < g.orderedModifiers.length; D++) {
16590
+ for (var M = 0; M < g.orderedModifiers.length; M++) {
16605
16591
  if (g.reset === !0) {
16606
- g.reset = !1, D = -1;
16592
+ g.reset = !1, M = -1;
16607
16593
  continue;
16608
16594
  }
16609
- var M = g.orderedModifiers[D], w = M.fn, E = M.options, B = E === void 0 ? {} : E, V = M.name;
16610
- typeof w == "function" && (g = w({
16595
+ var I = g.orderedModifiers[M], k = I.fn, j = I.options, B = j === void 0 ? {} : j, V = I.name;
16596
+ typeof k == "function" && (g = k({
16611
16597
  state: g,
16612
16598
  options: B,
16613
16599
  name: V,
@@ -16626,23 +16612,23 @@ function _c(e) {
16626
16612
  _(), m = !0;
16627
16613
  }
16628
16614
  };
16629
- if (!Ga(r, c))
16615
+ if (!Xa(r, c))
16630
16616
  return v;
16631
16617
  v.setOptions(u).then(function(p) {
16632
16618
  !m && u.onFirstUpdate && u.onFirstUpdate(p);
16633
16619
  });
16634
16620
  function y() {
16635
16621
  g.orderedModifiers.forEach(function(p) {
16636
- var N = p.name, C = p.options, I = C === void 0 ? {} : C, D = p.effect;
16637
- if (typeof D == "function") {
16638
- var M = D({
16622
+ var D = p.name, C = p.options, w = C === void 0 ? {} : C, M = p.effect;
16623
+ if (typeof M == "function") {
16624
+ var I = M({
16639
16625
  state: g,
16640
- name: N,
16626
+ name: D,
16641
16627
  instance: v,
16642
- options: I
16643
- }), w = function() {
16628
+ options: w
16629
+ }), k = function() {
16644
16630
  };
16645
- d.push(M || w);
16631
+ d.push(I || k);
16646
16632
  }
16647
16633
  });
16648
16634
  }
@@ -16656,7 +16642,7 @@ function _c(e) {
16656
16642
  }
16657
16643
  var Ic = [qr, cc, Fr, Vr, lc, ac, dc, Rr, sc], wc = /* @__PURE__ */ _c({
16658
16644
  defaultModifiers: Ic
16659
- }), Sf = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgOS4zODI4MTMgNCA0IDkuMzgyODEzIDQgMTYgQyA0IDIyLjYxNzE4OCA5LjM4MjgxMyAyOCAxNiAyOCBDIDIyLjYxNzE4OCAyOCAyOCAyMi42MTcxODggMjggMTYgQyAyOCA5LjM4MjgxMyAyMi42MTcxODggNCAxNiA0IFogTSAxNiA2IEMgMjEuNTM1MTU2IDYgMjYgMTAuNDY0ODQ0IDI2IDE2IEMgMjYgMjEuNTM1MTU2IDIxLjUzNTE1NiAyNiAxNiAyNiBDIDEwLjQ2NDg0NCAyNiA2IDIxLjUzNTE1NiA2IDE2IEMgNiAxMC40NjQ4NDQgMTAuNDY0ODQ0IDYgMTYgNiBaIE0gMTEuNSAxMiBDIDEwLjY3MTg3NSAxMiAxMCAxMi42NzE4NzUgMTAgMTMuNSBDIDEwIDE0LjMyODEyNSAxMC42NzE4NzUgMTUgMTEuNSAxNSBDIDEyLjMyODEyNSAxNSAxMyAxNC4zMjgxMjUgMTMgMTMuNSBDIDEzIDEyLjY3MTg3NSAxMi4zMjgxMjUgMTIgMTEuNSAxMiBaIE0gMjAuNSAxMiBDIDE5LjY3MTg3NSAxMiAxOSAxMi42NzE4NzUgMTkgMTMuNSBDIDE5IDE0LjMyODEyNSAxOS42NzE4NzUgMTUgMjAuNSAxNSBDIDIxLjMyODEyNSAxNSAyMiAxNC4zMjgxMjUgMjIgMTMuNSBDIDIyIDEyLjY3MTg3NSAyMS4zMjgxMjUgMTIgMjAuNSAxMiBaIE0gMTAuODEyNSAxOSBMIDkuMDkzNzUgMjAgQyAxMC40NzY1NjMgMjIuMzg2NzE5IDEzLjA0Njg3NSAyNCAxNiAyNCBDIDE4Ljk1MzEyNSAyNCAyMS41MjM0MzggMjIuMzg2NzE5IDIyLjkwNjI1IDIwIEwgMjEuMTg3NSAxOSBDIDIwLjE0ODQzOCAyMC43OTI5NjkgMTguMjI2NTYzIDIyIDE2IDIyIEMgMTMuNzczNDM4IDIyIDExLjg1MTU2MyAyMC43OTI5NjkgMTAuODEyNSAxOSBaIi8+PC9zdmc+";
16645
+ }), Of = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTSAxNiA0IEMgOS4zODI4MTMgNCA0IDkuMzgyODEzIDQgMTYgQyA0IDIyLjYxNzE4OCA5LjM4MjgxMyAyOCAxNiAyOCBDIDIyLjYxNzE4OCAyOCAyOCAyMi42MTcxODggMjggMTYgQyAyOCA5LjM4MjgxMyAyMi42MTcxODggNCAxNiA0IFogTSAxNiA2IEMgMjEuNTM1MTU2IDYgMjYgMTAuNDY0ODQ0IDI2IDE2IEMgMjYgMjEuNTM1MTU2IDIxLjUzNTE1NiAyNiAxNiAyNiBDIDEwLjQ2NDg0NCAyNiA2IDIxLjUzNTE1NiA2IDE2IEMgNiAxMC40NjQ4NDQgMTAuNDY0ODQ0IDYgMTYgNiBaIE0gMTEuNSAxMiBDIDEwLjY3MTg3NSAxMiAxMCAxMi42NzE4NzUgMTAgMTMuNSBDIDEwIDE0LjMyODEyNSAxMC42NzE4NzUgMTUgMTEuNSAxNSBDIDEyLjMyODEyNSAxNSAxMyAxNC4zMjgxMjUgMTMgMTMuNSBDIDEzIDEyLjY3MTg3NSAxMi4zMjgxMjUgMTIgMTEuNSAxMiBaIE0gMjAuNSAxMiBDIDE5LjY3MTg3NSAxMiAxOSAxMi42NzE4NzUgMTkgMTMuNSBDIDE5IDE0LjMyODEyNSAxOS42NzE4NzUgMTUgMjAuNSAxNSBDIDIxLjMyODEyNSAxNSAyMiAxNC4zMjgxMjUgMjIgMTMuNSBDIDIyIDEyLjY3MTg3NSAyMS4zMjgxMjUgMTIgMjAuNSAxMiBaIE0gMTAuODEyNSAxOSBMIDkuMDkzNzUgMjAgQyAxMC40NzY1NjMgMjIuMzg2NzE5IDEzLjA0Njg3NSAyNCAxNiAyNCBDIDE4Ljk1MzEyNSAyNCAyMS41MjM0MzggMjIuMzg2NzE5IDIyLjkwNjI1IDIwIEwgMjEuMTg3NSAxOSBDIDIwLjE0ODQzOCAyMC43OTI5NjkgMTguMjI2NTYzIDIyIDE2IDIyIEMgMTMuNzczNDM4IDIyIDExLjg1MTU2MyAyMC43OTI5NjkgMTAuODEyNSAxOSBaIi8+PC9zdmc+";
16660
16646
  function Wt(e) {
16661
16647
  return e.split("-").map((t) => parseInt(t, 16)).map((t) => String.fromCodePoint(t)).join("");
16662
16648
  }
@@ -16669,7 +16655,7 @@ function kc(e, t, n, a = []) {
16669
16655
  e[s].forEach((r) => {
16670
16656
  var c;
16671
16657
  if (r[En][0].includes(t.toLocaleLowerCase())) {
16672
- let u = r[_f];
16658
+ let u = r[If];
16673
16659
  if (n !== In && Array.isArray(r[Yt])) {
16674
16660
  const g = ((c = r[Yt]) == null ? void 0 : c.findIndex(
16675
16661
  (d) => d.includes(n)
@@ -16684,11 +16670,11 @@ function kc(e, t, n, a = []) {
16684
16670
  }), i.length && (f[s] = i);
16685
16671
  }), f;
16686
16672
  }
16687
- function Of() {
16673
+ function zf() {
16688
16674
  var e;
16689
16675
  return (((e = navigator == null ? void 0 : navigator.userAgentData) == null ? void 0 : e.platform) || (navigator == null ? void 0 : navigator.platform) || "unknown").toUpperCase().indexOf("MAC") !== -1;
16690
16676
  }
16691
- function zf(e) {
16677
+ function Lf(e) {
16692
16678
  return e.replace(
16693
16679
  /^_*(.)|_+(.)/g,
16694
16680
  (t, n, a) => n ? n.toUpperCase() : " " + a.toUpperCase()
@@ -16711,11 +16697,11 @@ const Nc = F({
16711
16697
  e.search,
16712
16698
  e.skinTone,
16713
16699
  e.options.disabledGroups
16714
- )), s = Ff(), i = Y(() => !e.options.hideGroupNames), r = Y(() => !e.options.disableStickyGroupNames), c = sf(e.options.groupNames), u = e.orderedGroupKeys;
16700
+ )), s = Ff(), i = Y(() => !e.options.hideGroupNames), r = Y(() => !e.options.disableStickyGroupNames), c = of(e.options.groupNames), u = e.orderedGroupKeys;
16715
16701
  e.options.additionalGroups && Object.keys(e.options.additionalGroups).map((y) => {
16716
- e.options.groupNames[y] ? c[y] = e.options.groupNames[y] : c[y] = zf(y);
16702
+ e.options.groupNames[y] ? c[y] = e.options.groupNames[y] : c[y] = Lf(y);
16717
16703
  });
16718
- const g = Of() ? "is-mac" : "";
16704
+ const g = zf() ? "is-mac" : "";
16719
16705
  function d(y) {
16720
16706
  t(y);
16721
16707
  }
@@ -16728,8 +16714,8 @@ const Nc = F({
16728
16714
  }
16729
16715
  function v(y, _) {
16730
16716
  var p;
16731
- const N = (p = y == null ? void 0 : y.target) == null ? void 0 : p.closest("button");
16732
- N && (N.innerHTML = `<span>${Wt(_)}</span>`);
16717
+ const D = (p = y == null ? void 0 : y.target) == null ? void 0 : p.closest("button");
16718
+ D && (D.innerHTML = `<span>${Wt(_)}</span>`);
16733
16719
  }
16734
16720
  return te(
16735
16721
  () => e.activeGroup,
@@ -16741,8 +16727,8 @@ const Nc = F({
16741
16727
  ), {
16742
16728
  emojis: f,
16743
16729
  bodyInner: a,
16744
- EMOJI_REMOTE_SRC: bf,
16745
- GROUP_NAMES: Mf,
16730
+ EMOJI_REMOTE_SRC: Mf,
16731
+ GROUP_NAMES: _f,
16746
16732
  handleClick: m,
16747
16733
  handleError: v,
16748
16734
  handleMouseEnter: d,
@@ -16765,7 +16751,7 @@ function Sc(e, t, n, a, f, s) {
16765
16751
  return l(), A("div", Dc, [
16766
16752
  o("div", {
16767
16753
  ref: "bodyInner",
16768
- class: j([e.platform, "v3-body-inner"])
16754
+ class: x([e.platform, "v3-body-inner"])
16769
16755
  }, [
16770
16756
  e.orderedKeys.length ? (l(!0), A(q, { key: 0 }, ie(e.orderedKeys, (i) => (l(), A("div", {
16771
16757
  id: i,
@@ -16774,7 +16760,7 @@ function Sc(e, t, n, a, f, s) {
16774
16760
  }, [
16775
16761
  e.hasGroupNames ? re((l(), A("h5", {
16776
16762
  key: 0,
16777
- class: j(e.isSticky ? "v3-sticky" : "")
16763
+ class: x(e.isSticky ? "v3-sticky" : "")
16778
16764
  }, T(e.groupNames[i]), 3)), [
16779
16765
  [De, e.emojis[i]]
16780
16766
  ]) : h("", !0),
@@ -16812,7 +16798,7 @@ const Fc = F({
16812
16798
  ...t.groups,
16813
16799
  ...Object.keys(t.options.additionalGroups).map((d) => ({
16814
16800
  key: d,
16815
- title: t.options.groupNames[d] ? t.options.groupNames[d] : zf(d)
16801
+ title: t.options.groupNames[d] ? t.options.groupNames[d] : Lf(d)
16816
16802
  }))
16817
16803
  ], g = [];
16818
16804
  return i.forEach((d) => {
@@ -16827,7 +16813,7 @@ const Fc = F({
16827
16813
  hasGroupIcons: s,
16828
16814
  placeholder: r,
16829
16815
  icons: {
16830
- smileys_people: Sf,
16816
+ smileys_people: Of,
16831
16817
  animals_nature: zc,
16832
16818
  food_drink: Lc,
16833
16819
  activities: Uc,
@@ -16859,7 +16845,7 @@ function Xc(e, t, n, a, f, s) {
16859
16845
  (l(!0), A(q, null, ie(e.orderedGroups, (i) => (l(), A("button", {
16860
16846
  key: i.key,
16861
16847
  type: "button",
16862
- class: j(["v3-group", {
16848
+ class: x(["v3-group", {
16863
16849
  "v3-is-hidden": !e.icons[i.key]
16864
16850
  }]),
16865
16851
  onClick: (r) => e.updateActiveGroup(i.key)
@@ -16893,9 +16879,9 @@ const tA = F({
16893
16879
  setup() {
16894
16880
  const { state: e, updateSkinTone: t } = G("store"), n = b(!1), a = b(!1), f = Y(() => e.skinTone), s = Y(
16895
16881
  () => e.options.staticTexts.skinTone || "Skin tone"
16896
- ), i = Y(() => !e.options.disableSkinTones), r = Of() ? "is-mac" : "", c = Y(() => ({
16882
+ ), i = Y(() => !e.options.disableSkinTones), r = zf() ? "is-mac" : "", c = Y(() => ({
16897
16883
  ...e.emoji,
16898
- src: bf + "/" + e.emoji[Ct] + ".png"
16884
+ src: Mf + "/" + e.emoji[Ct] + ".png"
16899
16885
  }));
16900
16886
  function u(m = !0) {
16901
16887
  n.value = m;
@@ -16937,7 +16923,7 @@ function lA(e, t, n, a, f, s) {
16937
16923
  }, [
16938
16924
  o("div", nA, [
16939
16925
  o("span", {
16940
- class: j([e.platform, "v3-icon"])
16926
+ class: x([e.platform, "v3-icon"])
16941
16927
  }, [
16942
16928
  e.native || e.hasError ? (l(), A("span", aA, T(e.unicodeToEmoji(e.emoji.r)), 1)) : (l(), A("img", {
16943
16929
  key: 1,
@@ -16956,16 +16942,16 @@ function lA(e, t, n, a, f, s) {
16956
16942
  }, [
16957
16943
  o("span", iA, T(e.skinToneText), 1),
16958
16944
  o("span", {
16959
- class: j(`v3-icon v3-tone-${e.stateSkinTone}`)
16945
+ class: x(`v3-icon v3-tone-${e.stateSkinTone}`)
16960
16946
  }, null, 2)
16961
16947
  ]),
16962
16948
  o("div", {
16963
- class: j([e.skinTone ? "v3-is-open" : "", "v3-skin-tones"])
16949
+ class: x([e.skinTone ? "v3-is-open" : "", "v3-skin-tones"])
16964
16950
  }, [
16965
16951
  (l(!0), A(q, null, ie(e.SKIN_TONES, (i) => (l(), A("button", {
16966
16952
  key: i,
16967
16953
  type: "button",
16968
- class: j(["v3-skin-tone-" + i, "v3-skin-tone"]),
16954
+ class: x(["v3-skin-tone-" + i, "v3-skin-tone"]),
16969
16955
  onClick: (r) => e.selectSkinTone(i)
16970
16956
  }, null, 10, oA))), 128))
16971
16957
  ], 2)
@@ -17016,8 +17002,8 @@ const cA = F({
17016
17002
  const { state: u } = G("store"), g = Y(() => u.options.colorTheme);
17017
17003
  function d(p) {
17018
17004
  if (r) {
17019
- const N = u.options.mode;
17020
- N === "prepend" ? i.value = p.i + i.value : N === "insert" && c !== -1 ? (i.value = `${i.value.slice(0, c)}${p.i}${i.value.slice(c)}`, c += p.i.length) : i.value += p.i, t("update:text", i.value);
17005
+ const D = u.options.mode;
17006
+ D === "prepend" ? i.value = p.i + i.value : D === "insert" && c !== -1 ? (i.value = `${i.value.slice(0, c)}${p.i}${i.value.slice(c)}`, c += p.i.length) : i.value += p.i, t("update:text", i.value);
17021
17007
  }
17022
17008
  t("select", p);
17023
17009
  }
@@ -17026,8 +17012,8 @@ const cA = F({
17026
17012
  n.value && (c = ((p = n.value) == null ? void 0 : p.selectionEnd) || -1);
17027
17013
  }
17028
17014
  function v(p) {
17029
- var N;
17030
- !((N = p.target) != null && N.closest(
17015
+ var D;
17016
+ !((D = p.target) != null && D.closest(
17031
17017
  ".v3-input-picker-wrap"
17032
17018
  )) && s.value && (s.value = !1);
17033
17019
  }
@@ -17055,7 +17041,7 @@ const cA = F({
17055
17041
  }), Pf(() => {
17056
17042
  document.body.removeEventListener("click", v);
17057
17043
  }), {
17058
- face: Sf,
17044
+ face: Of,
17059
17045
  open: s,
17060
17046
  onSelect: d,
17061
17047
  input: i,
@@ -17093,7 +17079,7 @@ function pA(e, t, n, a, f, s) {
17093
17079
  onBlur: t[3] || (t[3] = (...u) => e.updateCursor && e.updateCursor(...u))
17094
17080
  }, null, 40, gA)),
17095
17081
  o("div", {
17096
- class: j(["v3-input-picker-wrap", e.open ? "v3-picker-is-open" : ""])
17082
+ class: x(["v3-input-picker-wrap", e.open ? "v3-picker-is-open" : ""])
17097
17083
  }, [
17098
17084
  o("button", {
17099
17085
  ref: "button",
@@ -17108,7 +17094,7 @@ function pA(e, t, n, a, f, s) {
17108
17094
  ], 512),
17109
17095
  o("div", {
17110
17096
  ref: "picker",
17111
- class: j(["v3-emoji-picker", "v3-color-theme-" + e.colorTheme])
17097
+ class: x(["v3-emoji-picker", "v3-color-theme-" + e.colorTheme])
17112
17098
  }, [
17113
17099
  Q(i),
17114
17100
  Q(r, { onSelect: e.onSelect }, null, 8, ["onSelect"]),
@@ -17118,7 +17104,7 @@ function pA(e, t, n, a, f, s) {
17118
17104
  ])
17119
17105
  ])) : (l(), A("div", {
17120
17106
  key: 1,
17121
- class: j(["v3-emoji-picker", "v3-color-theme-" + e.colorTheme])
17107
+ class: x(["v3-emoji-picker", "v3-color-theme-" + e.colorTheme])
17122
17108
  }, [
17123
17109
  Q(i),
17124
17110
  Q(r, { onSelect: e.onSelect }, null, 8, ["onSelect"]),
@@ -17223,7 +17209,7 @@ const vA = F({
17223
17209
  staticTexts: { ...W1, ...e.staticTexts },
17224
17210
  disableStickyGroupNames: e.disableStickyGroupNames,
17225
17211
  disabledGroups: e.disabledGroups,
17226
- groupNames: { ...Mf, ...e.groupNames },
17212
+ groupNames: { ..._f, ...e.groupNames },
17227
17213
  disableSkinTones: e.disableSkinTones,
17228
17214
  displayRecent: e.displayRecent,
17229
17215
  additionalGroups: e.additionalGroups,
@@ -17241,7 +17227,7 @@ const vA = F({
17241
17227
  });
17242
17228
  function yA(e, t, n, a, f, s) {
17243
17229
  const i = Pt("picker-root");
17244
- return l(), U(i, {
17230
+ return l(), L(i, {
17245
17231
  type: e.type,
17246
17232
  text: e.input,
17247
17233
  onSelect: t[0] || (t[0] = (r) => e.$emit("select", r)),
@@ -17267,6 +17253,10 @@ const wA = /* @__PURE__ */ O(MA, [["render", IA]]), kA = { class: "" }, NA = {
17267
17253
  state: {
17268
17254
  type: String,
17269
17255
  default: "active"
17256
+ },
17257
+ mode: {
17258
+ type: String,
17259
+ default: "click"
17270
17260
  }
17271
17261
  },
17272
17262
  setup(e) {
@@ -17284,11 +17274,11 @@ const wA = /* @__PURE__ */ O(MA, [["render", IA]]), kA = { class: "" }, NA = {
17284
17274
  }), kn(() => {
17285
17275
  document.removeEventListener("click", v);
17286
17276
  }), (y, _) => (l(), A(q, null, [
17287
- k(c)().isRecording ? h("", !0) : (l(), A("button", {
17277
+ N(c)().isRecording ? h("", !0) : (l(), A("button", {
17288
17278
  key: 0,
17289
17279
  ref_key: "emojiButton",
17290
17280
  ref: f,
17291
- class: j(["button", { "button-disabled": e.state == "disabled" }]),
17281
+ class: x(["button", { "button-disabled": e.state == "disabled" }]),
17292
17282
  onClick: d
17293
17283
  }, [
17294
17284
  o("span", kA, [
@@ -17302,7 +17292,7 @@ const wA = /* @__PURE__ */ O(MA, [["render", IA]]), kA = { class: "" }, NA = {
17302
17292
  ref: n,
17303
17293
  class: "emoji"
17304
17294
  }, [
17305
- Q(k(bA), {
17295
+ Q(N(bA), {
17306
17296
  native: !0,
17307
17297
  theme: a.value,
17308
17298
  "picker-type": "",
@@ -17316,7 +17306,7 @@ const wA = /* @__PURE__ */ O(MA, [["render", IA]]), kA = { class: "" }, NA = {
17316
17306
  })
17317
17307
  ], 64));
17318
17308
  }
17319
- }, s2 = /* @__PURE__ */ O(NA, [["__scopeId", "data-v-ccab3916"]]), DA = { class: "context-menu__container" }, TA = { class: "context-menu__list" }, CA = ["onClick"], EA = ["src"], xA = {
17309
+ }, s2 = /* @__PURE__ */ O(NA, [["__scopeId", "data-v-9e4e0ac1"]]), DA = { class: "context-menu__container" }, TA = { class: "context-menu__list" }, CA = ["onClick"], EA = ["src"], xA = {
17320
17310
  key: 2,
17321
17311
  style: { "white-space": "nowrap" }
17322
17312
  }, jA = { key: 3 }, VA = {
@@ -17347,7 +17337,7 @@ const wA = /* @__PURE__ */ O(MA, [["render", IA]]), kA = { class: "" }, NA = {
17347
17337
  height: "18"
17348
17338
  }, null, 8, EA)) : r.prime ? (l(), A("i", {
17349
17339
  key: 1,
17350
- class: j("pi pi-" + r.prime)
17340
+ class: x("pi pi-" + r.prime)
17351
17341
  }, null, 2)) : h("", !0),
17352
17342
  r.title ? (l(), A("span", xA, T(r.title), 1)) : h("", !0),
17353
17343
  r.description ? (l(), A("span", jA, T(r.description), 1)) : h("", !0)
@@ -17364,7 +17354,7 @@ const wA = /* @__PURE__ */ O(MA, [["render", IA]]), kA = { class: "" }, NA = {
17364
17354
  };
17365
17355
  function OA(e, t = 500) {
17366
17356
  let n;
17367
- return ef((a, f) => ({
17357
+ return tf((a, f) => ({
17368
17358
  get() {
17369
17359
  return a(), e;
17370
17360
  },
@@ -17393,25 +17383,25 @@ const zA = { class: "feed-search__container" }, LA = { style: { "line-height": "
17393
17383
  }
17394
17384
  );
17395
17385
  const u = () => {
17396
- const g = k(i);
17386
+ const g = N(i);
17397
17387
  g && (g.value = ""), a().text = "", f("cancel");
17398
17388
  };
17399
17389
  return ue(() => {
17400
- const g = k(i);
17390
+ const g = N(i);
17401
17391
  g == null || g.focus();
17402
- }), (g, d) => (l(), U(se, null, {
17392
+ }), (g, d) => (l(), L(se, null, {
17403
17393
  default: P(() => [
17404
17394
  o("div", zA, [
17405
- o("span", LA, T(k(_e)("component.FeedSearch.SearchLabel")), 1),
17395
+ o("span", LA, T(N(_e)("component.FeedSearch.SearchLabel")), 1),
17406
17396
  re(o("input", {
17407
17397
  ref_key: "refInput",
17408
17398
  ref: i,
17409
- "onUpdate:modelValue": d[0] || (d[0] = (m) => k(a)().text = m),
17399
+ "onUpdate:modelValue": d[0] || (d[0] = (m) => N(a)().text = m),
17410
17400
  class: "feed-search__input",
17411
17401
  type: "text",
17412
- placeholder: k(_e)("component.FeedSearch.SearchPlaceholder")
17402
+ placeholder: N(_e)("component.FeedSearch.SearchPlaceholder")
17413
17403
  }, null, 8, UA), [
17414
- [ot, k(a)().text]
17404
+ [ot, N(a)().text]
17415
17405
  ]),
17416
17406
  o("i", {
17417
17407
  class: "pi pi-times",
@@ -17455,7 +17445,7 @@ const zA = { class: "feed-search__container" }, LA = { style: { "line-height": "
17455
17445
  return a[t.object.type] ? a[t.object.type] : null;
17456
17446
  });
17457
17447
  return (a, f) => (l(), A("div", {
17458
- class: j(["feed-found-item__container", { "feed-found-item__selected-container": e.selected }])
17448
+ class: x(["feed-found-item__container", { "feed-found-item__selected-container": e.selected }])
17459
17449
  }, [
17460
17450
  o("div", RA, [
17461
17451
  e.object.avatar ? (l(), A("img", {
@@ -17480,7 +17470,7 @@ const zA = { class: "feed-search__container" }, LA = { style: { "line-height": "
17480
17470
  }, null, 8, WA)) : h("", !0),
17481
17471
  n.value ? (l(), A("span", {
17482
17472
  key: 1,
17483
- class: j(n.value),
17473
+ class: x(n.value),
17484
17474
  style: { "margin-right": "3px", "font-size": "20px" }
17485
17475
  }, null, 2)) : h("", !0),
17486
17476
  o("p", null, T(e.object.text), 1)
@@ -17513,11 +17503,11 @@ const zA = { class: "feed-search__container" }, LA = { style: { "line-height": "
17513
17503
  const n = t, a = e, f = b(), s = b(null), i = Y(() => a.notFound ? _e("component.FeedFoundObjects.notFound") : a.notFound ? "" : _e("component.FeedFoundObjects.notSearched")), r = (u) => {
17514
17504
  u.messageId && (n("clickedSearch", u.messageId), s.value = u);
17515
17505
  }, c = () => {
17516
- const u = k(f);
17506
+ const u = N(f);
17517
17507
  u.scrollHeight - u.scrollTop - u.clientHeight <= 0 && n("loadMore");
17518
17508
  };
17519
17509
  return (u, g) => (l(), A(q, null, [
17520
- o("h3", ZA, T(k(_e)("component.FeedFoundObjects.results")) + ": " + T(e.foundAmount), 1),
17510
+ o("h3", ZA, T(N(_e)("component.FeedFoundObjects.results")) + ": " + T(e.foundAmount), 1),
17521
17511
  e.foundAmount > 0 ? (l(), A("div", {
17522
17512
  key: 0,
17523
17513
  ref_key: "refItems",
@@ -17558,7 +17548,7 @@ const zA = { class: "feed-search__container" }, LA = { style: { "line-height": "
17558
17548
  const t = G("chatAppId"), { getMessage: n, setMessageFile: a, resetMessageFile: f, setRecordingMessage: s } = Ne(t), i = b(), r = b(0), c = b(0), u = b(0), g = b(0), d = Y(() => {
17559
17549
  let B = g.value < 10 ? "0" + g.value : g.value, V = u.value < 10 ? "0" + u.value : u.value, $ = c.value < 10 ? "0" + c.value : c.value, Z = r.value < 10 ? "00" + r.value : r.value < 100 ? "0" + r.value : r.value;
17560
17550
  return B + ":" + V + ":" + $ + ":" + Z;
17561
- }), m = b(""), v = b(!1), y = b(), _ = b([]), p = b(), N = b(), C = e, I = async () => {
17551
+ }), m = b(""), v = b(!1), y = b(), _ = b([]), p = b(), D = b(), C = e, w = async () => {
17562
17552
  if (!n().file && C.state == "active") {
17563
17553
  const B = await navigator.mediaDevices.getUserMedia({ audio: !0, video: !1 });
17564
17554
  i.value = setInterval(() => {
@@ -17567,9 +17557,9 @@ const zA = { class: "feed-search__container" }, LA = { style: { "line-height": "
17567
17557
  _.value.push(V.data);
17568
17558
  };
17569
17559
  }
17570
- }, D = () => {
17571
- w(), p.value = void 0;
17572
17560
  }, M = () => {
17561
+ k(), p.value = void 0;
17562
+ }, I = () => {
17573
17563
  y.value && (y.value.stop(), y.value.onstop = async () => {
17574
17564
  const B = new File(_.value, "voicemessage.mp3", { type: "audio/*" }), V = URL.createObjectURL(B);
17575
17565
  p.value = V, m.value = "uploading", await Tn(C.filebumpUrl, B).then(($) => {
@@ -17580,7 +17570,7 @@ const zA = { class: "feed-search__container" }, LA = { style: { "line-height": "
17580
17570
  name: $.name,
17581
17571
  size: $.size,
17582
17572
  type: $.type
17583
- }), $.preview && (N.value = {
17573
+ }), $.preview && (D.value = {
17584
17574
  previewUrl: $.preview.previewUrl,
17585
17575
  isImage: $.preview.isImage,
17586
17576
  isVideo: $.preview.isVideo,
@@ -17590,17 +17580,17 @@ const zA = { class: "feed-search__container" }, LA = { style: { "line-height": "
17590
17580
  });
17591
17581
  }
17592
17582
  });
17593
- }), w();
17594
- }, w = () => {
17583
+ }), k();
17584
+ }, k = () => {
17595
17585
  clearInterval(i.value), r.value = 0, c.value = 0, u.value = 0, g.value = 0, s(!1), v.value = !1, y.value = void 0, _.value = [];
17596
- }, E = () => {
17586
+ }, j = () => {
17597
17587
  const B = document.getElementById("chat-input-file-line-" + t);
17598
- B && (B.style.display = "none"), f(), N.value = void 0;
17588
+ B && (B.style.display = "none"), f(), D.value = void 0;
17599
17589
  };
17600
17590
  return te(
17601
17591
  () => n().file,
17602
17592
  () => {
17603
- n().file || (N.value = void 0);
17593
+ n().file || (D.value = void 0);
17604
17594
  }
17605
17595
  ), (B, V) => (l(), A("div", tu, [
17606
17596
  m.value === "uploading" ? (l(), A("div", nu, V[0] || (V[0] = [
@@ -17610,33 +17600,33 @@ const zA = { class: "feed-search__container" }, LA = { style: { "line-height": "
17610
17600
  V[3] || (V[3] = o("span", { class: "audio-recorder__recording-icon pi pi-circle-fill" }, null, -1)),
17611
17601
  o("button", {
17612
17602
  class: "audio-recorder__button audio-recorder__button-record",
17613
- onClick: D
17603
+ onClick: M
17614
17604
  }, V[1] || (V[1] = [
17615
17605
  o("span", { class: "pi pi-trash" }, null, -1)
17616
17606
  ])),
17617
17607
  o("button", {
17618
17608
  class: "audio-recorder__button audio-recorder__button-record",
17619
- onClick: M
17609
+ onClick: I
17620
17610
  }, V[2] || (V[2] = [
17621
17611
  o("div", { class: "audio-recorder__stop" }, null, -1)
17622
17612
  ])),
17623
17613
  o("span", fu, T(d.value), 1)
17624
17614
  ])) : h("", !0),
17625
- !v.value && m.value != "uploading" && !k(n)().isRecording ? (l(), A("button", {
17615
+ !v.value && m.value != "uploading" && !N(n)().isRecording ? (l(), A("button", {
17626
17616
  key: 2,
17627
- class: j(["audio-recorder__button", { "audio-recorder__button-disabled": e.state == "disabled" || k(n)().file }]),
17628
- onClick: I
17617
+ class: x(["audio-recorder__button", { "audio-recorder__button-disabled": e.state == "disabled" || N(n)().file }]),
17618
+ onClick: w
17629
17619
  }, V[4] || (V[4] = [
17630
17620
  o("span", { class: "pi pi-microphone" }, null, -1)
17631
17621
  ]), 2)) : h("", !0),
17632
- k(n)().file ? (l(), U(ye, {
17622
+ N(n)().file ? (l(), L(ye, {
17633
17623
  key: 3,
17634
- to: "#chat-input-file-line-" + k(t)
17624
+ to: "#chat-input-file-line-" + N(t)
17635
17625
  }, [
17636
- N.value ? (l(), U(Dn, {
17626
+ D.value ? (l(), L(Dn, {
17637
17627
  key: 0,
17638
- "file-info": N.value,
17639
- onReset: E
17628
+ "file-info": D.value,
17629
+ onReset: j
17640
17630
  }, null, 8, ["file-info"])) : h("", !0)
17641
17631
  ], 8, ["to"])) : h("", !0)
17642
17632
  ]));
@@ -17656,7 +17646,7 @@ function zt({ component: e, attrs: t, Modal: n, modalAttrs: a }) {
17656
17646
  });
17657
17647
  }, g = F({
17658
17648
  render() {
17659
- return ja(
17649
+ return Va(
17660
17650
  n,
17661
17651
  {
17662
17652
  ...a,
@@ -17664,7 +17654,7 @@ function zt({ component: e, attrs: t, Modal: n, modalAttrs: a }) {
17664
17654
  onSubmit: c
17665
17655
  },
17666
17656
  {
17667
- default: () => ja(
17657
+ default: () => Va(
17668
17658
  Hf(() => e),
17669
17659
  {
17670
17660
  ...t,
@@ -17702,7 +17692,7 @@ const iu = ["data-theme"], ou = {
17702
17692
  const n = t, a = (f) => {
17703
17693
  f.target.classList.contains("modal-backdrop") && n("close");
17704
17694
  };
17705
- return (f, s) => (l(), U(se, { name: "modal-fade" }, {
17695
+ return (f, s) => (l(), L(se, { name: "modal-fade" }, {
17706
17696
  default: P(() => [
17707
17697
  re(o("div", {
17708
17698
  class: "modal-backdrop",
@@ -17738,7 +17728,7 @@ const iu = ["data-theme"], ou = {
17738
17728
  }, _a = /* @__PURE__ */ O(cu, [["__scopeId", "data-v-bfa49925"]]), r2 = async (e, t, n) => {
17739
17729
  const a = await zt({
17740
17730
  //в component должен быть встроен emit change(key: value)
17741
- component: import("./SelectUser2-DE69sdPR.js"),
17731
+ component: import("./SelectUser2-CfStNcRJ.js"),
17742
17732
  attrs: {
17743
17733
  title: e,
17744
17734
  users: t
@@ -17791,7 +17781,7 @@ const iu = ["data-theme"], ou = {
17791
17781
  const n = t, a = (f) => {
17792
17782
  f.target.classList.contains("modal-backdrop") && n("close");
17793
17783
  };
17794
- return (f, s) => (l(), U(se, { name: "modal-fade" }, {
17784
+ return (f, s) => (l(), L(se, { name: "modal-fade" }, {
17795
17785
  default: P(() => [
17796
17786
  re(o("div", {
17797
17787
  "data-theme": e.theme,
@@ -17808,9 +17798,9 @@ const iu = ["data-theme"], ou = {
17808
17798
  _: 3
17809
17799
  }));
17810
17800
  }
17811
- }, Lf = /* @__PURE__ */ O(du, [["__scopeId", "data-v-2d8b60f8"]]), u2 = async (e, t, n, a, f, s) => await zt({
17801
+ }, Uf = /* @__PURE__ */ O(du, [["__scopeId", "data-v-2d8b60f8"]]), u2 = async (e, t, n, a, f, s) => await zt({
17812
17802
  //в component должен быть встроен emit change(key: value)
17813
- component: import("./CreateDialog-07UOVkTH.js"),
17803
+ component: import("./CreateDialog-DPhWJkL6.js"),
17814
17804
  attrs: {
17815
17805
  title: e,
17816
17806
  name: t,
@@ -17818,15 +17808,15 @@ const iu = ["data-theme"], ou = {
17818
17808
  channels: a,
17819
17809
  filter: f
17820
17810
  },
17821
- Modal: Lf,
17811
+ Modal: Uf,
17822
17812
  modalAttrs: {
17823
17813
  theme: s
17824
17814
  }
17825
17815
  }), gu = async (e) => await zt({
17826
17816
  //в component должен быть встроен emit change(key: value)
17827
- component: import("./ModalVideoRecorder-ChcpNP_1.js"),
17817
+ component: import("./ModalVideoRecorder-D1n1I7Mp.js"),
17828
17818
  attrs: {},
17829
- Modal: Lf,
17819
+ Modal: Uf,
17830
17820
  modalAttrs: {
17831
17821
  theme: e
17832
17822
  }
@@ -17885,10 +17875,10 @@ const iu = ["data-theme"], ou = {
17885
17875
  n().file || (c.value = void 0);
17886
17876
  }
17887
17877
  ), (m, v) => (l(), A(q, null, [
17888
- k(n)().isRecording ? h("", !0) : (l(), A("div", mu, [
17878
+ N(n)().isRecording ? h("", !0) : (l(), A("div", mu, [
17889
17879
  r.value != "uploading" ? (l(), A("button", {
17890
17880
  key: 0,
17891
- class: j(["video-recorder__button", { "video-recorder__button-disabled": e.state == "disabled" || k(n)().file }]),
17881
+ class: x(["video-recorder__button", { "video-recorder__button-disabled": e.state == "disabled" || N(n)().file }]),
17892
17882
  onClick: g
17893
17883
  }, v[0] || (v[0] = [
17894
17884
  o("span", { class: "pi pi-video" }, null, -1)
@@ -17897,11 +17887,11 @@ const iu = ["data-theme"], ou = {
17897
17887
  r.value === "uploading" ? (l(), A("div", pu, v[1] || (v[1] = [
17898
17888
  o("p", null, "Загрузка файла...", -1)
17899
17889
  ]))) : h("", !0),
17900
- k(n)().file ? (l(), U(ye, {
17890
+ N(n)().file ? (l(), L(ye, {
17901
17891
  key: 2,
17902
- to: "#chat-input-file-line-" + k(t)
17892
+ to: "#chat-input-file-line-" + N(t)
17903
17893
  }, [
17904
- c.value ? (l(), U(Dn, {
17894
+ c.value ? (l(), L(Dn, {
17905
17895
  key: 0,
17906
17896
  "file-info": c.value,
17907
17897
  onReset: d
@@ -17929,7 +17919,7 @@ const iu = ["data-theme"], ou = {
17929
17919
  },
17930
17920
  emits: ["send"],
17931
17921
  setup(e, { emit: t }) {
17932
- const n = e, a = t, f = G("chatAppId"), { getMessage: s } = Ne(f), i = tf("refBCM"), r = (c) => {
17922
+ const n = e, a = t, f = G("chatAppId"), { getMessage: s } = Ne(f), i = nf("refBCM"), r = (c) => {
17933
17923
  console.log(c);
17934
17924
  const u = {
17935
17925
  type: "message.command",
@@ -17943,21 +17933,21 @@ const iu = ["data-theme"], ou = {
17943
17933
  var c, u;
17944
17934
  n.commands && (s().text.startsWith("/") ? (c = i.value) == null || c.updatePosition() : (u = i.value) == null || u.hideMenu());
17945
17935
  }
17946
- ), (c, u) => (l(), U(se, null, {
17936
+ ), (c, u) => (l(), L(se, null, {
17947
17937
  default: P(() => [
17948
- e.commands ? (l(), U(Cn, {
17938
+ e.commands ? (l(), L(Cn, {
17949
17939
  key: 0,
17950
17940
  ref_key: "refBCM",
17951
17941
  ref: i,
17952
17942
  "menu-side": "top",
17953
17943
  mode: e.mode,
17954
- disabled: k(s)().isRecording || e.state == "disabled",
17944
+ disabled: N(s)().isRecording || e.state == "disabled",
17955
17945
  actions: e.commands,
17956
17946
  onClick: r
17957
17947
  }, {
17958
17948
  default: P(() => [
17959
17949
  o("span", {
17960
- class: j(["commands__trigger", { commands__disabled: k(s)().isRecording || e.state == "disabled" }])
17950
+ class: x(["commands__trigger", { commands__disabled: N(s)().isRecording || e.state == "disabled" }])
17961
17951
  }, " / ", 2)
17962
17952
  ]),
17963
17953
  _: 1
@@ -18002,7 +17992,7 @@ const iu = ["data-theme"], ou = {
18002
17992
  return console.log(e.message), (n, a) => (l(), A(q, null, [
18003
17993
  o("div", null, [
18004
17994
  o("span", {
18005
- class: j(["call-message__icon pi pi-phone", { "call-message__icon-missed": e.message.isMissedCall }])
17995
+ class: x(["call-message__icon pi pi-phone", { "call-message__icon-missed": e.message.isMissedCall }])
18006
17996
  }, null, 2)
18007
17997
  ]),
18008
17998
  o("div", Mu, [
@@ -18043,10 +18033,10 @@ const iu = ["data-theme"], ou = {
18043
18033
  return (r, c) => {
18044
18034
  var u, g;
18045
18035
  return l(), A("div", {
18046
- class: j(["reply__container", i((u = e.message) == null ? void 0 : u.type)]),
18036
+ class: x(["reply__container", i((u = e.message) == null ? void 0 : u.type)]),
18047
18037
  onClick: f
18048
18038
  }, [
18049
- (l(), U(nf(s((g = e.message) == null ? void 0 : g.type)), { message: e.message }, null, 8, ["message"])),
18039
+ (l(), L(af(s((g = e.message) == null ? void 0 : g.type)), { message: e.message }, null, 8, ["message"])),
18050
18040
  o("div", Cu, [
18051
18041
  o("span", {
18052
18042
  class: "pi pi-times",
@@ -18166,7 +18156,7 @@ const iu = ["data-theme"], ou = {
18166
18156
  return _.position === "left" ? "file-message__left" : "file-message__right";
18167
18157
  }
18168
18158
  return (_, p) => (l(), A("div", {
18169
- class: j(["file-message", [
18159
+ class: x(["file-message", [
18170
18160
  y(e.message),
18171
18161
  e.applyStyle(e.message)
18172
18162
  ]]),
@@ -18187,10 +18177,10 @@ const iu = ["data-theme"], ou = {
18187
18177
  style: ce({ gridRow: e.message.subText ? "2" : "1" }),
18188
18178
  onMouseenter: d
18189
18179
  }, [
18190
- e.message.reply ? (l(), U(At, {
18180
+ e.message.reply ? (l(), L(At, {
18191
18181
  key: 0,
18192
18182
  message: e.message.reply,
18193
- class: j(e.message.position),
18183
+ class: x(e.message.position),
18194
18184
  onReply: r
18195
18185
  }, null, 8, ["message", "class"])) : h("", !0),
18196
18186
  o("a", {
@@ -18211,14 +18201,14 @@ const iu = ["data-theme"], ou = {
18211
18201
  innerHTML: i.value
18212
18202
  }, null, 8, Wu)
18213
18203
  ])) : h("", !0),
18214
- e.message.linkPreview ? (l(), U(Lt, {
18204
+ e.message.linkPreview ? (l(), L(Lt, {
18215
18205
  key: 2,
18216
- class: j(e.message.position),
18206
+ class: x(e.message.position),
18217
18207
  "link-preview": e.message.linkPreview
18218
18208
  }, null, 8, ["class", "link-preview"])) : h("", !0),
18219
- e.message.embed ? (l(), U(Ut, {
18209
+ e.message.embed ? (l(), L(Ut, {
18220
18210
  key: 3,
18221
- class: j(e.message.position),
18211
+ class: x(e.message.position),
18222
18212
  embed: e.message.embed
18223
18213
  }, null, 8, ["class", "embed"])) : h("", !0),
18224
18214
  o("div", Ku, [
@@ -18231,9 +18221,9 @@ const iu = ["data-theme"], ou = {
18231
18221
  o("p", null, T(e.message.views), 1)
18232
18222
  ])) : h("", !0),
18233
18223
  o("span", Ju, T(e.message.time), 1),
18234
- y(e.message) === "file-message__right" && k(lt).includes(e.message.status) ? (l(), A("div", {
18224
+ y(e.message) === "file-message__right" && N(lt).includes(e.message.status) ? (l(), A("div", {
18235
18225
  key: 1,
18236
- class: j(["file-message__status", v.value])
18226
+ class: x(["file-message__status", v.value])
18237
18227
  }, [
18238
18228
  e.message.status !== "sent" ? (l(), A("span", Zu)) : h("", !0),
18239
18229
  p[4] || (p[4] = o("span", { class: "pi pi-check" }, null, -1))
@@ -18242,13 +18232,13 @@ const iu = ["data-theme"], ou = {
18242
18232
  s.value && e.message.actions ? (l(), A("button", {
18243
18233
  key: 4,
18244
18234
  class: "file-message__menu-button",
18245
- onClick: p[0] || (p[0] = (N) => f.value = !f.value)
18235
+ onClick: p[0] || (p[0] = (D) => f.value = !f.value)
18246
18236
  }, p[5] || (p[5] = [
18247
18237
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
18248
18238
  ]))) : h("", !0),
18249
18239
  Q(se, null, {
18250
18240
  default: P(() => [
18251
- f.value && e.message.actions ? (l(), U(k(ct), {
18241
+ f.value && e.message.actions ? (l(), L(N(ct), {
18252
18242
  key: 0,
18253
18243
  class: "file-message__context-menu",
18254
18244
  actions: e.message.actions,
@@ -18294,11 +18284,11 @@ const iu = ["data-theme"], ou = {
18294
18284
  },
18295
18285
  { immediate: !0 }
18296
18286
  );
18297
- const d = (M) => {
18298
- s("reply", M);
18287
+ const d = (I) => {
18288
+ s("reply", I);
18299
18289
  };
18300
- function m(M) {
18301
- M.preventDefault(), M.target.href && window.open(M.target.href, "_blank");
18290
+ function m(I) {
18291
+ I.preventDefault(), I.target.href && window.open(I.target.href, "_blank");
18302
18292
  }
18303
18293
  const v = () => {
18304
18294
  s("action", { messageId: f.message.messageId, type: "views" });
@@ -18307,14 +18297,14 @@ const iu = ["data-theme"], ou = {
18307
18297
  c.value = !0, u.value = !0;
18308
18298
  }, p = () => {
18309
18299
  c.value = !1, r.value = !1;
18310
- }, N = Y(() => f.message.reply && f.message.text ? "0" : f.message.text ? "8px 8px 0 0" : f.message.reply ? "0 0 8px 8px" : "8px"), C = Y(() => rt(f.message.status));
18311
- function I(M) {
18312
- return M.position === "left" ? "image-message__left" : "image-message__right";
18300
+ }, D = Y(() => f.message.reply && f.message.text ? "0" : f.message.text ? "8px 8px 0 0" : f.message.reply ? "0 0 8px 8px" : "8px"), C = Y(() => rt(f.message.status));
18301
+ function w(I) {
18302
+ return I.position === "left" ? "image-message__left" : "image-message__right";
18313
18303
  }
18314
- const D = () => i.value = !1;
18315
- return (M, w) => (l(), A("div", {
18316
- class: j(["image-message", [
18317
- I(e.message),
18304
+ const M = () => i.value = !1;
18305
+ return (I, k) => (l(), A("div", {
18306
+ class: x(["image-message", [
18307
+ w(e.message),
18318
18308
  e.applyStyle(e.message)
18319
18309
  ]]),
18320
18310
  messageId: e.message.messageId,
@@ -18329,22 +18319,22 @@ const iu = ["data-theme"], ou = {
18329
18319
  }, null, 8, td)) : h("", !0),
18330
18320
  e.message.subText ? (l(), A("p", nd, T(e.message.subText), 1)) : h("", !0),
18331
18321
  o("div", ad, [
18332
- e.message.reply ? (l(), U(At, {
18322
+ e.message.reply ? (l(), L(At, {
18333
18323
  key: 0,
18334
18324
  style: { margin: "10px 10px 4px 16px" },
18335
- class: j(e.message.position),
18325
+ class: x(e.message.position),
18336
18326
  message: e.message.reply,
18337
18327
  onReply: d
18338
18328
  }, null, 8, ["class", "message"])) : h("", !0),
18339
18329
  o("div", {
18340
18330
  class: "image-message__preview-button",
18341
- onClick: w[0] || (w[0] = (E) => i.value = !0),
18331
+ onClick: k[0] || (k[0] = (j) => i.value = !0),
18342
18332
  onMouseenter: _,
18343
- onMouseleave: w[1] || (w[1] = (E) => u.value = !u.value)
18333
+ onMouseleave: k[1] || (k[1] = (j) => u.value = !u.value)
18344
18334
  }, [
18345
18335
  o("img", {
18346
18336
  class: "image-message__preview-image",
18347
- style: ce({ borderRadius: N.value }),
18337
+ style: ce({ borderRadius: D.value }),
18348
18338
  src: e.message.url,
18349
18339
  alt: e.message.alt
18350
18340
  }, null, 12, fd),
@@ -18356,16 +18346,16 @@ const iu = ["data-theme"], ou = {
18356
18346
  class: "image-message__views",
18357
18347
  onClick: kt(v, ["stop"])
18358
18348
  }, [
18359
- w[3] || (w[3] = o("span", { class: "pi pi-eye" }, null, -1)),
18349
+ k[3] || (k[3] = o("span", { class: "pi pi-eye" }, null, -1)),
18360
18350
  o("p", null, T(e.message.views), 1)
18361
18351
  ])) : h("", !0),
18362
18352
  o("span", id, T(e.message.time), 1),
18363
- I(e.message) === "image-message__right" && k(lt).includes(e.message.status) ? (l(), A("div", {
18353
+ w(e.message) === "image-message__right" && N(lt).includes(e.message.status) ? (l(), A("div", {
18364
18354
  key: 1,
18365
- class: j(["image-message__status", C.value])
18355
+ class: x(["image-message__status", C.value])
18366
18356
  }, [
18367
18357
  e.message.status !== "sent" ? (l(), A("span", od)) : h("", !0),
18368
- w[4] || (w[4] = o("span", { class: "pi pi-check" }, null, -1))
18358
+ k[4] || (k[4] = o("span", { class: "pi pi-check" }, null, -1))
18369
18359
  ], 2)) : h("", !0)
18370
18360
  ])) : h("", !0)
18371
18361
  ]),
@@ -18380,7 +18370,7 @@ const iu = ["data-theme"], ou = {
18380
18370
  download: "",
18381
18371
  target: "_blank",
18382
18372
  onClick: kt(() => "//Предотвращаем всплытие события клика", ["stop"])
18383
- }, w[5] || (w[5] = [
18373
+ }, k[5] || (k[5] = [
18384
18374
  o("span", { class: "pi pi-download" }, null, -1)
18385
18375
  ]), 8, ld)) : h("", !0)
18386
18376
  ]),
@@ -18392,8 +18382,8 @@ const iu = ["data-theme"], ou = {
18392
18382
  c.value && e.message.actions ? (l(), A("button", {
18393
18383
  key: 0,
18394
18384
  class: "image-message__menu-button",
18395
- onClick: w[2] || (w[2] = (E) => r.value = !r.value)
18396
- }, w[6] || (w[6] = [
18385
+ onClick: k[2] || (k[2] = (j) => r.value = !r.value)
18386
+ }, k[6] || (k[6] = [
18397
18387
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
18398
18388
  ]))) : h("", !0)
18399
18389
  ]),
@@ -18401,7 +18391,7 @@ const iu = ["data-theme"], ou = {
18401
18391
  }),
18402
18392
  Q(se, { name: "context-menu" }, {
18403
18393
  default: P(() => [
18404
- r.value && e.message.actions ? (l(), U(k(ct), {
18394
+ r.value && e.message.actions ? (l(), L(N(ct), {
18405
18395
  key: 0,
18406
18396
  class: "image-message__context-menu",
18407
18397
  actions: e.message.actions,
@@ -18416,24 +18406,24 @@ const iu = ["data-theme"], ou = {
18416
18406
  innerHTML: g.value
18417
18407
  }, null, 8, cd)
18418
18408
  ])) : h("", !0),
18419
- e.message.linkPreview ? (l(), U(Lt, {
18409
+ e.message.linkPreview ? (l(), L(Lt, {
18420
18410
  key: 2,
18421
- class: j(["image-message__link-preview", e.message.position]),
18411
+ class: x(["image-message__link-preview", e.message.position]),
18422
18412
  "link-preview": e.message.linkPreview
18423
18413
  }, null, 8, ["class", "link-preview"])) : h("", !0),
18424
- e.message.embed ? (l(), U(Ut, {
18414
+ e.message.embed ? (l(), L(Ut, {
18425
18415
  key: 3,
18426
- class: j(e.message.position),
18416
+ class: x(e.message.position),
18427
18417
  embed: e.message.embed
18428
18418
  }, null, 8, ["class", "embed"])) : h("", !0)
18429
18419
  ]),
18430
- (l(), U(ye, { to: "body" }, [
18420
+ (l(), L(ye, { to: "body" }, [
18431
18421
  Q(se, { name: "modal-fade" }, {
18432
18422
  default: P(() => [
18433
- i.value ? (l(), U(jt, {
18423
+ i.value ? (l(), L(jt, {
18434
18424
  key: 0,
18435
- "data-theme": k(a)().theme ? k(a)().theme : "light",
18436
- onClose: D
18425
+ "data-theme": N(a)().theme ? N(a)().theme : "light",
18426
+ onClose: M
18437
18427
  }, {
18438
18428
  default: P(() => [
18439
18429
  o("img", {
@@ -18500,7 +18490,7 @@ const iu = ["data-theme"], ou = {
18500
18490
  return _.position === "left" ? "text-message__left" : "text-message__right";
18501
18491
  }
18502
18492
  return (_, p) => (l(), A("div", {
18503
- class: j(["text-message", [
18493
+ class: x(["text-message", [
18504
18494
  y(e.message),
18505
18495
  e.applyStyle(e.message)
18506
18496
  ]]),
@@ -18520,9 +18510,9 @@ const iu = ["data-theme"], ou = {
18520
18510
  class: "text-message__content",
18521
18511
  onMouseenter: u
18522
18512
  }, [
18523
- e.message.reply ? (l(), U(At, {
18513
+ e.message.reply ? (l(), L(At, {
18524
18514
  key: 0,
18525
- class: j(e.message.position),
18515
+ class: x(e.message.position),
18526
18516
  message: e.message.reply,
18527
18517
  onReply: r
18528
18518
  }, null, 8, ["class", "message"])) : h("", !0),
@@ -18531,14 +18521,14 @@ const iu = ["data-theme"], ou = {
18531
18521
  onClick: c,
18532
18522
  innerHTML: i.value
18533
18523
  }, null, 8, hd),
18534
- e.message.linkPreview ? (l(), U(Lt, {
18524
+ e.message.linkPreview ? (l(), L(Lt, {
18535
18525
  key: 1,
18536
- class: j(e.message.position),
18526
+ class: x(e.message.position),
18537
18527
  "link-preview": e.message.linkPreview
18538
18528
  }, null, 8, ["class", "link-preview"])) : h("", !0),
18539
- e.message.embed ? (l(), U(Ut, {
18529
+ e.message.embed ? (l(), L(Ut, {
18540
18530
  key: 2,
18541
- class: j(e.message.position),
18531
+ class: x(e.message.position),
18542
18532
  embed: e.message.embed
18543
18533
  }, null, 8, ["class", "embed"])) : h("", !0),
18544
18534
  o("div", vd, [
@@ -18551,9 +18541,9 @@ const iu = ["data-theme"], ou = {
18551
18541
  o("p", null, T(e.message.views), 1)
18552
18542
  ])) : h("", !0),
18553
18543
  e.message.time ? (l(), A("span", yd, T(e.message.time), 1)) : h("", !0),
18554
- y(e.message) === "text-message__right" && k(lt).includes(e.message.status) ? (l(), A("div", {
18544
+ y(e.message) === "text-message__right" && N(lt).includes(e.message.status) ? (l(), A("div", {
18555
18545
  key: 2,
18556
- class: j(["text-message__status", d.value])
18546
+ class: x(["text-message__status", d.value])
18557
18547
  }, [
18558
18548
  e.message.status !== "sent" ? (l(), A("span", bd)) : h("", !0),
18559
18549
  p[2] || (p[2] = o("span", { class: "pi pi-check" }, null, -1))
@@ -18562,13 +18552,13 @@ const iu = ["data-theme"], ou = {
18562
18552
  s.value && e.message.actions ? (l(), A("button", {
18563
18553
  key: 3,
18564
18554
  class: "text-message__menu-button",
18565
- onClick: p[0] || (p[0] = (N) => f.value = !f.value)
18555
+ onClick: p[0] || (p[0] = (D) => f.value = !f.value)
18566
18556
  }, p[3] || (p[3] = [
18567
18557
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
18568
18558
  ]))) : h("", !0),
18569
18559
  Q(se, null, {
18570
18560
  default: P(() => [
18571
- f.value && e.message.actions ? (l(), U(k(ct), {
18561
+ f.value && e.message.actions ? (l(), L(N(ct), {
18572
18562
  key: 0,
18573
18563
  class: "text-message__context-menu",
18574
18564
  actions: e.message.actions,
@@ -18628,29 +18618,29 @@ const iu = ["data-theme"], ou = {
18628
18618
  selected: !1
18629
18619
  }
18630
18620
  ]), i = (z) => {
18631
- for (let L of s.value)
18632
- L.selected = !1;
18621
+ for (let U of s.value)
18622
+ U.selected = !1;
18633
18623
  s.value[z].selected = !0, c.value && (c.value.playbackRate = s.value[z].speed);
18634
18624
  }, r = t, c = b(), u = b(!1), g = b(0), d = b(0), m = b(!1), v = b(!1), y = b(!1), _ = Y(() => f.message.text ? Te(f.message.text) : ""), p = (z) => {
18635
18625
  r("reply", z);
18636
18626
  };
18637
- function N(z) {
18627
+ function D(z) {
18638
18628
  z.preventDefault(), z.target.href && window.open(z.target.href, "_blank");
18639
18629
  }
18640
18630
  const C = () => {
18641
18631
  v.value = !0;
18642
- }, I = () => {
18632
+ }, w = () => {
18643
18633
  v.value = !1, m.value = !1;
18644
- }, D = () => {
18645
- r("action", { messageId: f.message.messageId, type: "views" });
18646
18634
  }, M = () => {
18647
- }, w = Y(() => rt(f.message.status));
18648
- function E() {
18635
+ r("action", { messageId: f.message.messageId, type: "views" });
18636
+ }, I = () => {
18637
+ }, k = Y(() => rt(f.message.status));
18638
+ function j() {
18649
18639
  c.value && (u.value ? c.value.pause() : c.value.play(), u.value = !u.value);
18650
18640
  }
18651
18641
  const B = (z) => {
18652
- const L = Math.floor(z / 60), X = Math.floor(z % 60);
18653
- return `${L.toString().padStart(2, "0")}:${X.toString().padStart(2, "0")}`;
18642
+ const U = Math.floor(z / 60), X = Math.floor(z % 60);
18643
+ return `${U.toString().padStart(2, "0")}:${X.toString().padStart(2, "0")}`;
18654
18644
  }, V = Y(() => c.value ? B(d.value) : "0:00");
18655
18645
  te(
18656
18646
  () => d.value,
@@ -18670,15 +18660,15 @@ const iu = ["data-theme"], ou = {
18670
18660
  }), c.value.addEventListener("timeupdate", () => {
18671
18661
  d.value = c.value != null ? c.value.currentTime : 0;
18672
18662
  }));
18673
- }), (z, L) => {
18663
+ }), (z, U) => {
18674
18664
  var X;
18675
18665
  return l(), A("div", {
18676
- class: j(["audio-message", [
18666
+ class: x(["audio-message", [
18677
18667
  Z(e.message),
18678
18668
  e.applyStyle(e.message)
18679
18669
  ]]),
18680
18670
  messageId: e.message.messageId,
18681
- onMouseleave: I
18671
+ onMouseleave: w
18682
18672
  }, [
18683
18673
  e.message.avatar ? (l(), A("img", {
18684
18674
  key: 0,
@@ -18693,11 +18683,11 @@ const iu = ["data-theme"], ou = {
18693
18683
  class: "audio-message__content",
18694
18684
  onMouseenter: C
18695
18685
  }, [
18696
- e.message.reply ? (l(), U(At, {
18686
+ e.message.reply ? (l(), L(At, {
18697
18687
  key: 0,
18698
18688
  style: { "grid-column": "1/3" },
18699
18689
  message: e.message.reply,
18700
- class: j(e.message.position),
18690
+ class: x(e.message.position),
18701
18691
  onReply: p
18702
18692
  }, null, 8, ["message", "class"])) : h("", !0),
18703
18693
  o("div", Nd, [
@@ -18709,22 +18699,22 @@ const iu = ["data-theme"], ou = {
18709
18699
  }, null, 8, Dd),
18710
18700
  re(o("button", {
18711
18701
  class: "audio-message__play",
18712
- onClick: E
18713
- }, L[4] || (L[4] = [
18702
+ onClick: j
18703
+ }, U[4] || (U[4] = [
18714
18704
  o("span", { class: "pi pi-play" }, null, -1)
18715
18705
  ]), 512), [
18716
18706
  [De, !u.value]
18717
18707
  ]),
18718
18708
  re(o("button", {
18719
18709
  class: "audio-message__pause",
18720
- onClick: E
18721
- }, L[5] || (L[5] = [
18710
+ onClick: j
18711
+ }, U[5] || (U[5] = [
18722
18712
  o("span", { class: "pi pi-pause" }, null, -1)
18723
18713
  ]), 512), [
18724
18714
  [De, u.value]
18725
18715
  ]),
18726
18716
  re(o("input", {
18727
- "onUpdate:modelValue": L[0] || (L[0] = (ae) => d.value = ae),
18717
+ "onUpdate:modelValue": U[0] || (U[0] = (ae) => d.value = ae),
18728
18718
  class: "audio-message__progress-bar-container",
18729
18719
  type: "range",
18730
18720
  min: 0,
@@ -18738,7 +18728,7 @@ const iu = ["data-theme"], ou = {
18738
18728
  o("div", xd, [
18739
18729
  (l(!0), A(q, null, ie(s.value, (ae, ee) => (l(), A("p", {
18740
18730
  key: ae.text,
18741
- class: j(["audio-message__speed-btn", { "audio-message__speed-btn-selected": ae.selected }]),
18731
+ class: x(["audio-message__speed-btn", { "audio-message__speed-btn-selected": ae.selected }]),
18742
18732
  onClick: (R) => i(ee)
18743
18733
  }, T(ae.text), 11, jd))), 128))
18744
18734
  ])
@@ -18749,68 +18739,68 @@ const iu = ["data-theme"], ou = {
18749
18739
  download: "",
18750
18740
  target: "_blank",
18751
18741
  onClick: kt(() => "//Предотвращаем всплытие события клика", ["stop"])
18752
- }, L[6] || (L[6] = [
18742
+ }, U[6] || (U[6] = [
18753
18743
  o("span", { class: "pi pi-download" }, null, -1)
18754
18744
  ]), 8, Vd)
18755
18745
  ]),
18756
18746
  (X = e.message.transcript) != null && X.text ? (l(), A("div", Sd, [
18757
18747
  o("p", {
18758
- onClick: L[1] || (L[1] = (ae) => y.value = !y.value)
18748
+ onClick: U[1] || (U[1] = (ae) => y.value = !y.value)
18759
18749
  }, T(e.message.transcript.text), 1)
18760
18750
  ])) : h("", !0),
18761
18751
  e.message.text ? (l(), A("div", Od, [
18762
18752
  o("p", {
18763
- onClick: N,
18753
+ onClick: D,
18764
18754
  innerHTML: _.value
18765
18755
  }, null, 8, zd)
18766
18756
  ])) : h("", !0),
18767
- e.message.linkPreview ? (l(), U(Lt, {
18757
+ e.message.linkPreview ? (l(), L(Lt, {
18768
18758
  key: 3,
18769
- class: j(["audio-message__link-preview", e.message.position]),
18759
+ class: x(["audio-message__link-preview", e.message.position]),
18770
18760
  "link-preview": e.message.linkPreview
18771
18761
  }, null, 8, ["class", "link-preview"])) : h("", !0),
18772
- e.message.embed ? (l(), U(Ut, {
18762
+ e.message.embed ? (l(), L(Ut, {
18773
18763
  key: 4,
18774
- class: j(e.message.position),
18764
+ class: x(e.message.position),
18775
18765
  embed: e.message.embed
18776
18766
  }, null, 8, ["class", "embed"])) : h("", !0),
18777
18767
  o("div", Ld, [
18778
18768
  e.message.views ? (l(), A("div", {
18779
18769
  key: 0,
18780
18770
  class: "audio-message__views",
18781
- onClick: D
18771
+ onClick: M
18782
18772
  }, [
18783
- L[7] || (L[7] = o("span", { class: "pi pi-eye" }, null, -1)),
18773
+ U[7] || (U[7] = o("span", { class: "pi pi-eye" }, null, -1)),
18784
18774
  o("p", null, T(e.message.views), 1)
18785
18775
  ])) : h("", !0),
18786
18776
  o("span", Ud, T(e.message.time), 1),
18787
- Z(e.message) === "audio-message__right" && k(lt).includes(e.message.status) ? (l(), A("div", {
18777
+ Z(e.message) === "audio-message__right" && N(lt).includes(e.message.status) ? (l(), A("div", {
18788
18778
  key: 1,
18789
- class: j(["audio-message__status", w.value])
18779
+ class: x(["audio-message__status", k.value])
18790
18780
  }, [
18791
18781
  e.message.status !== "sent" ? (l(), A("span", Bd)) : h("", !0),
18792
- L[8] || (L[8] = o("span", { class: "pi pi-check" }, null, -1))
18782
+ U[8] || (U[8] = o("span", { class: "pi pi-check" }, null, -1))
18793
18783
  ], 2)) : h("", !0)
18794
18784
  ]),
18795
18785
  v.value && e.message.actions ? (l(), A("button", {
18796
18786
  key: 5,
18797
18787
  class: "audio-message__menu-button",
18798
- onClick: L[2] || (L[2] = (ae) => m.value = !m.value)
18799
- }, L[9] || (L[9] = [
18788
+ onClick: U[2] || (U[2] = (ae) => m.value = !m.value)
18789
+ }, U[9] || (U[9] = [
18800
18790
  o("span", { class: "pi pi-ellipsis-h" }, null, -1)
18801
18791
  ]))) : h("", !0),
18802
18792
  Q(se, null, {
18803
18793
  default: P(() => [
18804
- m.value && e.message.actions ? (l(), U(k(ct), {
18794
+ m.value && e.message.actions ? (l(), L(N(ct), {
18805
18795
  key: 0,
18806
18796
  class: "audio-message__context-menu",
18807
18797
  actions: e.message.actions,
18808
- onClick: M
18798
+ onClick: I
18809
18799
  }, null, 8, ["actions"])) : h("", !0)
18810
18800
  ]),
18811
18801
  _: 1
18812
18802
  }),
18813
- (l(), U(ye, { to: "body" }, [
18803
+ (l(), L(ye, { to: "body" }, [
18814
18804
  Q(se, { name: "modal-fade" }, {
18815
18805
  default: P(() => {
18816
18806
  var ae;
@@ -18818,13 +18808,13 @@ const iu = ["data-theme"], ou = {
18818
18808
  y.value ? (l(), A("div", {
18819
18809
  key: 0,
18820
18810
  class: "audio-message__modal-overlay",
18821
- "data-theme": k(a)().theme ? k(a)().theme : null
18811
+ "data-theme": N(a)().theme ? N(a)().theme : null
18822
18812
  }, [
18823
18813
  o("div", Qd, [
18824
18814
  o("button", {
18825
18815
  class: "audio-message__modal-close-button",
18826
- onClick: L[3] || (L[3] = (ee) => y.value = !1)
18827
- }, L[10] || (L[10] = [
18816
+ onClick: U[3] || (U[3] = (ee) => y.value = !1)
18817
+ }, U[10] || (U[10] = [
18828
18818
  o("span", null, [
18829
18819
  o("i", { class: "pi pi-times" })
18830
18820
  ], -1)
@@ -18902,26 +18892,26 @@ const iu = ["data-theme"], ou = {
18902
18892
  }
18903
18893
  const p = () => {
18904
18894
  s("action", { messageId: f.message.messageId, type: "views" });
18905
- }, N = () => {
18895
+ }, D = () => {
18906
18896
  }, C = () => {
18907
18897
  m.value = !0, v.value = !0;
18908
- }, I = () => {
18898
+ }, w = () => {
18909
18899
  m.value = !1, d.value = !1;
18910
- }, D = Y(() => rt(f.message.status)), M = () => {
18900
+ }, M = Y(() => rt(f.message.status)), I = () => {
18911
18901
  u.value && (u.value.currentTime = 0, u.value.play());
18912
18902
  };
18913
18903
  te([c, u], ([B, V]) => {
18914
18904
  B ? V && (V.pause(), V.currentTime = 0) : V && (V.play(), V.currentTime = 0);
18915
18905
  });
18916
- const w = Y(() => f.message.reply && f.message.text ? "0" : f.message.text ? "8px 8px 0 0" : f.message.reply ? "0 0 8px 8px" : "8px"), E = () => g.value = !1;
18906
+ const k = Y(() => f.message.reply && f.message.text ? "0" : f.message.text ? "8px 8px 0 0" : f.message.reply ? "0 0 8px 8px" : "8px"), j = () => g.value = !1;
18917
18907
  return (B, V) => (l(), A(q, null, [
18918
18908
  o("div", {
18919
- class: j(["video-message", [
18909
+ class: x(["video-message", [
18920
18910
  r(e.message),
18921
18911
  e.applyStyle(e.message)
18922
18912
  ]]),
18923
18913
  messageId: e.message.messageId,
18924
- onMouseleave: I
18914
+ onMouseleave: w
18925
18915
  }, [
18926
18916
  e.message.avatar ? (l(), A("img", {
18927
18917
  key: 0,
@@ -18932,10 +18922,10 @@ const iu = ["data-theme"], ou = {
18932
18922
  }, null, 8, Jd)) : h("", !0),
18933
18923
  e.message.subText ? (l(), A("p", Zd, T(e.message.subText), 1)) : h("", !0),
18934
18924
  o("div", Gd, [
18935
- e.message.reply ? (l(), U(At, {
18925
+ e.message.reply ? (l(), L(At, {
18936
18926
  key: 0,
18937
18927
  style: { margin: "10px 10px 4px 16px" },
18938
- class: j(e.message.position),
18928
+ class: x(e.message.position),
18939
18929
  message: e.message.reply,
18940
18930
  onReply: i
18941
18931
  }, null, 8, ["class", "message"])) : h("", !0),
@@ -18949,11 +18939,11 @@ const iu = ["data-theme"], ou = {
18949
18939
  ref_key: "previewPlayer",
18950
18940
  ref: u,
18951
18941
  class: "video-message__video",
18952
- style: ce({ borderRadius: w.value }),
18942
+ style: ce({ borderRadius: k.value }),
18953
18943
  src: e.message.url,
18954
18944
  muted: !0,
18955
18945
  autoplay: "",
18956
- onEnded: M
18946
+ onEnded: I
18957
18947
  }, null, 44, Xd),
18958
18948
  Q(se, { name: "modal-fade" }, {
18959
18949
  default: P(() => [
@@ -18967,9 +18957,9 @@ const iu = ["data-theme"], ou = {
18967
18957
  o("p", null, T(e.message.views), 1)
18968
18958
  ])) : h("", !0),
18969
18959
  o("span", t0, T(e.message.time), 1),
18970
- r(e.message) === "video-message__right" && k(lt).includes(e.message.status) ? (l(), A("div", {
18960
+ r(e.message) === "video-message__right" && N(lt).includes(e.message.status) ? (l(), A("div", {
18971
18961
  key: 1,
18972
- class: j(["video-message__status", D.value])
18962
+ class: x(["video-message__status", M.value])
18973
18963
  }, [
18974
18964
  e.message.status !== "sent" ? (l(), A("span", n0)) : h("", !0),
18975
18965
  V[4] || (V[4] = o("span", { class: "pi pi-check" }, null, -1))
@@ -19008,11 +18998,11 @@ const iu = ["data-theme"], ou = {
19008
18998
  }),
19009
18999
  Q(se, { name: "context-menu" }, {
19010
19000
  default: P(() => [
19011
- d.value && e.message.actions ? (l(), U(k(ct), {
19001
+ d.value && e.message.actions ? (l(), L(N(ct), {
19012
19002
  key: 0,
19013
19003
  class: "video-message__context-menu",
19014
19004
  actions: e.message.actions,
19015
- onClick: N
19005
+ onClick: D
19016
19006
  }, null, 8, ["actions"])) : h("", !0)
19017
19007
  ]),
19018
19008
  _: 1
@@ -19023,25 +19013,25 @@ const iu = ["data-theme"], ou = {
19023
19013
  innerHTML: y.value
19024
19014
  }, null, 8, s0)
19025
19015
  ])) : h("", !0),
19026
- e.message.linkPreview ? (l(), U(Lt, {
19016
+ e.message.linkPreview ? (l(), L(Lt, {
19027
19017
  key: 2,
19028
- class: j(["video-message__link-preview", e.message.position]),
19018
+ class: x(["video-message__link-preview", e.message.position]),
19029
19019
  "link-preview": e.message.linkPreview
19030
19020
  }, null, 8, ["class", "link-preview"])) : h("", !0),
19031
- e.message.embed ? (l(), U(Ut, {
19021
+ e.message.embed ? (l(), L(Ut, {
19032
19022
  key: 3,
19033
- class: j(e.message.position),
19023
+ class: x(e.message.position),
19034
19024
  embed: e.message.embed
19035
19025
  }, null, 8, ["class", "embed"])) : h("", !0)
19036
19026
  ])
19037
19027
  ], 42, Kd),
19038
- (l(), U(ye, { to: "body" }, [
19028
+ (l(), L(ye, { to: "body" }, [
19039
19029
  Q(se, { name: "modal-fade" }, {
19040
19030
  default: P(() => [
19041
- g.value ? (l(), U(jt, {
19031
+ g.value ? (l(), L(jt, {
19042
19032
  key: 0,
19043
- "data-theme": k(a)().theme ? k(a)().theme : "light",
19044
- onClose: E
19033
+ "data-theme": N(a)().theme ? N(a)().theme : "light",
19034
+ onClose: j
19045
19035
  }, {
19046
19036
  default: P(() => [
19047
19037
  o("video", {
@@ -19111,7 +19101,7 @@ const iu = ["data-theme"], ou = {
19111
19101
  return (i, r) => {
19112
19102
  var c;
19113
19103
  return l(), A("div", {
19114
- class: j([
19104
+ class: x([
19115
19105
  s(e.message, f.message),
19116
19106
  e.applyStyle(e.message)
19117
19107
  ]),
@@ -19128,7 +19118,7 @@ const iu = ["data-theme"], ou = {
19128
19118
  e.message.subText ? (l(), A("p", A0, T(e.message.subText), 1)) : h("", !0),
19129
19119
  o("div", u0, [
19130
19120
  o("span", {
19131
- class: j(["call-message__icon pi pi-phone", { "call-message__icon-missed": e.message.isMissedCall }])
19121
+ class: x(["call-message__icon pi pi-phone", { "call-message__icon-missed": e.message.isMissedCall }])
19132
19122
  }, null, 2),
19133
19123
  e.message.isMissedCall ? (l(), A("span", g0, " Пропущенный аудиозвонок ")) : (l(), A("span", d0, " Аудиозвонок ")),
19134
19124
  e.message.callDuration ? (l(), A("span", m0, T(e.message.callDuration), 1)) : !e.message.callDuration && e.message.isMissedCall ? (l(), A("span", p0, "Нажмите, чтобы перезвонить")) : (l(), A("span", h0, "Нет ответа")),
@@ -19142,7 +19132,7 @@ const iu = ["data-theme"], ou = {
19142
19132
  }, r[2] || (r[2] = [
19143
19133
  o("span", { class: "pi pi-arrow-up-right" }, null, -1)
19144
19134
  ]))) : h("", !0),
19145
- (l(), U(ye, { to: "body" }, [
19135
+ (l(), L(ye, { to: "body" }, [
19146
19136
  Q(se, { name: "modal-fade" }, {
19147
19137
  default: P(() => {
19148
19138
  var u;
@@ -19150,7 +19140,7 @@ const iu = ["data-theme"], ou = {
19150
19140
  a.value ? (l(), A("div", {
19151
19141
  key: 0,
19152
19142
  class: "call-message__modal-overlay",
19153
- "data-theme": k(n)().theme ? k(n)().theme : "light"
19143
+ "data-theme": N(n)().theme ? N(n)().theme : "light"
19154
19144
  }, [
19155
19145
  o("div", M0, [
19156
19146
  o("button", {
@@ -19163,7 +19153,7 @@ const iu = ["data-theme"], ou = {
19163
19153
  ])),
19164
19154
  (l(!0), A(q, null, ie((u = e.message.transcript) == null ? void 0 : u.dialog, (g) => (l(), A("div", {
19165
19155
  key: g.time,
19166
- class: j(s(g, f.textDialog))
19156
+ class: x(s(g, f.textDialog))
19167
19157
  }, [
19168
19158
  o("p", null, T(g.text), 1),
19169
19159
  o("span", null, T(g.time), 1)
@@ -19219,7 +19209,7 @@ const iu = ["data-theme"], ou = {
19219
19209
  ], -1))
19220
19210
  ]));
19221
19211
  }
19222
- }), Xa = /* @__PURE__ */ O(x0, [["__scopeId", "data-v-3494299c"]]), j0 = { class: "container" }, V0 = { key: 0 }, S0 = ["innerHTML"], O0 = /* @__PURE__ */ F({
19212
+ }), ef = /* @__PURE__ */ O(x0, [["__scopeId", "data-v-3494299c"]]), j0 = { class: "container" }, V0 = { key: 0 }, S0 = ["innerHTML"], O0 = /* @__PURE__ */ F({
19223
19213
  __name: "ReplyTextMessage",
19224
19214
  props: {
19225
19215
  message: {
@@ -19293,12 +19283,12 @@ const iu = ["data-theme"], ou = {
19293
19283
  innerHTML: s.value
19294
19284
  }, null, 8, R0)) : h("", !0)
19295
19285
  ]),
19296
- (l(), U(ye, { to: "body" }, [
19286
+ (l(), L(ye, { to: "body" }, [
19297
19287
  Q(se, { name: "modal-fade" }, {
19298
19288
  default: P(() => [
19299
- f.value ? (l(), U(jt, {
19289
+ f.value ? (l(), L(jt, {
19300
19290
  key: 0,
19301
- "data-theme": k(n)().theme ? k(n)().theme : "light",
19291
+ "data-theme": N(n)().theme ? N(n)().theme : "light",
19302
19292
  onClose: r
19303
19293
  }, {
19304
19294
  default: P(() => [
@@ -19402,12 +19392,12 @@ const iu = ["data-theme"], ou = {
19402
19392
  innerHTML: i.value
19403
19393
  }, null, 8, X0)) : h("", !0)
19404
19394
  ]),
19405
- (l(), U(ye, { to: "body" }, [
19395
+ (l(), L(ye, { to: "body" }, [
19406
19396
  Q(se, { name: "modal-fade" }, {
19407
19397
  default: P(() => [
19408
- s.value ? (l(), U(jt, {
19398
+ s.value ? (l(), L(jt, {
19409
19399
  key: 0,
19410
- "data-theme": k(n)().theme ? k(n)().theme : "light",
19400
+ "data-theme": N(n)().theme ? N(n)().theme : "light",
19411
19401
  onClose: c
19412
19402
  }, {
19413
19403
  default: P(() => [
@@ -19496,7 +19486,7 @@ const iu = ["data-theme"], ou = {
19496
19486
  setup(e) {
19497
19487
  const t = e, n = fa();
19498
19488
  return et("chatAppId", n), et("extChatAppId", t.extChatAppId ? t.extChatAppId : ""), (a, f) => (l(), A("div", {
19499
- id: k(n),
19489
+ id: N(n),
19500
19490
  class: "base"
19501
19491
  }, [
19502
19492
  o("div", {
@@ -19560,7 +19550,7 @@ const iu = ["data-theme"], ou = {
19560
19550
  ));
19561
19551
  }), u.value = f.value.offsetHeight - s.value.offsetHeight;
19562
19552
  }), (y, _) => (l(), A("div", {
19563
- id: k(g),
19553
+ id: N(g),
19564
19554
  ref_key: "element",
19565
19555
  ref: f,
19566
19556
  class: "float-window",
@@ -19674,8 +19664,8 @@ const b2 = /* @__PURE__ */ O(Dg, [["render", Eg], ["__scopeId", "data-v-08603b18
19674
19664
  setup(e) {
19675
19665
  const t = G("chatAppId");
19676
19666
  return (n, a) => (l(), A("div", {
19677
- id: "chat-wrapper-" + k(t),
19678
- class: j(["chat-wrapper", e.applyStyle()])
19667
+ id: "chat-wrapper-" + N(t),
19668
+ class: x(["chat-wrapper", e.applyStyle()])
19679
19669
  }, [
19680
19670
  e.isSelectedChat ? (l(), A("div", jg, [
19681
19671
  ne(n.$slots, "default", {}, void 0, !0)
@@ -19721,24 +19711,24 @@ const b2 = /* @__PURE__ */ O(Dg, [["render", Eg], ["__scopeId", "data-v-08603b18
19721
19711
  const s = document.getElementById("extern-layout-container-" + n), i = document.getElementById("extend-layout-first-col-" + n);
19722
19712
  s.style.setProperty("--chotto-adaptive-extended-layout-first-col-width", i.offsetWidth + "px");
19723
19713
  }), (s, i) => (l(), A("div", {
19724
- id: "extern-layout-container-" + k(n),
19714
+ id: "extern-layout-container-" + N(n),
19725
19715
  ref: "refContainer",
19726
19716
  class: "extend-layout__container"
19727
19717
  }, [
19728
19718
  o("div", {
19729
- id: "extend-layout-first-col-" + k(n),
19719
+ id: "extend-layout-first-col-" + N(n),
19730
19720
  class: "extend-layout__first-col"
19731
19721
  }, [
19732
19722
  ne(s.$slots, "first-col", {}, void 0, !0)
19733
19723
  ], 8, Ug),
19734
19724
  o("div", {
19735
- id: "extend-layout-second-col-" + k(n),
19725
+ id: "extend-layout-second-col-" + N(n),
19736
19726
  class: "extend-layout__second-col"
19737
19727
  }, [
19738
19728
  ne(s.$slots, "second-col", {}, void 0, !0)
19739
19729
  ], 8, Bg),
19740
19730
  o("div", {
19741
- id: "extend-layout-third-col-" + k(n),
19731
+ id: "extend-layout-third-col-" + N(n),
19742
19732
  class: "extend-layout__third-col"
19743
19733
  }, [
19744
19734
  ne(s.$slots, "third-col", {}, void 0, !0)
@@ -19775,12 +19765,12 @@ export {
19775
19765
  _2 as Y,
19776
19766
  b2 as Z,
19777
19767
  O as _,
19778
- Xa as a,
19768
+ ef as a,
19779
19769
  Xg as a0,
19780
19770
  e2 as a1,
19781
19771
  t2 as a2,
19782
19772
  n2 as a3,
19783
- yf as a4,
19773
+ bf as a4,
19784
19774
  lt as a5,
19785
19775
  rt as a6,
19786
19776
  Y0 as b,