diff --git a/dist/vue-advanced-chat.es.js b/dist/vue-advanced-chat.es.js index 06c434dd..b8cb53a4 100644 --- a/dist/vue-advanced-chat.es.js +++ b/dist/vue-advanced-chat.es.js @@ -28243,7 +28243,8 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) { ]) }; }) - ]), 1032, ["message", "room-users", "text-formatting", "link-options"])) : !!$props.message.deleted || !$props.message.files || !$props.message.files.length ? (openBlock(), createBlock(_component_format_message, { + ]), 1032, ["message", "room-users", "text-formatting", "link-options"])) : createCommentVNode("", true), + !!$props.message.deleted || !$props.message.files || !$props.message.files.length ? (openBlock(), createBlock(_component_format_message, { key: 2, "message-id": $props.message._id, content: $props.message.content, diff --git a/dist/vue-advanced-chat.umd.js b/dist/vue-advanced-chat.umd.js index 72d26a4b..a2eeff31 100644 --- a/dist/vue-advanced-chat.umd.js +++ b/dist/vue-advanced-chat.umd.js @@ -1,12 +1,12 @@ -(function(_a,mr){typeof exports=="object"&&typeof module!="undefined"?mr(exports):typeof define=="function"&&define.amd?define(["exports"],mr):(_a=typeof globalThis!="undefined"?globalThis:_a||self,mr(_a["vue-advanced-chat"]={}))})(this,function(_a){"use strict";function mr(e,t){const s=Object.create(null),a=e.split(",");for(let n=0;n!!s[n.toLowerCase()]:n=>!!s[n]}const xu=()=>{},wu=Object.assign,Su=Object.prototype.hasOwnProperty,hn=(e,t)=>Su.call(e,t),Ws=Array.isArray,vn=e=>yl(e)==="[object Map]",Mu=e=>typeof e=="function",Au=e=>typeof e=="string",Mi=e=>typeof e=="symbol",_n=e=>e!==null&&typeof e=="object",Eu=Object.prototype.toString,yl=e=>Eu.call(e),Tu=e=>yl(e).slice(8,-1),Ai=e=>Au(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,xl=(e,t)=>!Object.is(e,t),ku=(e,t,s)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:s})};let ks;class Ru{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&ks&&(this.parent=ks,this.index=(ks.scopes||(ks.scopes=[])).push(this)-1)}run(t){if(this.active){const s=ks;try{return ks=this,t()}finally{ks=s}}}on(){ks=this}off(){ks=this.parent}stop(t){if(this.active){let s,a;for(s=0,a=this.effects.length;s{const t=new Set(e);return t.w=0,t.n=0,t},wl=e=>(e.w&Qs)>0,Sl=e=>(e.n&Qs)>0,Iu=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let s=0;for(let a=0;a{(l==="length"||l>=a)&&u.push(b)});else switch(s!==void 0&&u.push(o.get(s)),t){case"add":Ws(e)?Ai(s)&&u.push(o.get("length")):(u.push(o.get(pa)),vn(e)&&u.push(o.get(Ri)));break;case"delete":Ws(e)||(u.push(o.get(pa)),vn(e)&&u.push(o.get(Ri)));break;case"set":vn(e)&&u.push(o.get(pa));break}if(u.length===1)u[0]&&Ii(u[0]);else{const b=[];for(const l of u)l&&b.push(...l);Ii(Ei(b))}}function Ii(e,t){const s=Ws(e)?e:[...e];for(const a of s)a.computed&&Tl(a);for(const a of s)a.computed||Tl(a)}function Tl(e,t){(e!==ys||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Bu=mr("__proto__,__v_isRef,__isVue"),kl=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Mi)),Lu=Ci(),Nu=Ci(!1,!0),ju=Ci(!0),Rl=Hu();function Hu(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...s){const a=ht(this);for(let r=0,o=this.length;r{e[t]=function(...s){za();const a=ht(this)[t].apply(this,s);return Ya(),a}}),e}function Ci(e=!1,t=!1){return function(a,n,r){if(n==="__v_isReactive")return!e;if(n==="__v_isReadonly")return e;if(n==="__v_isShallow")return t;if(n==="__v_raw"&&r===(e?t?$u:Fl:t?Hl:jl).get(a))return a;const o=Ws(a);if(!e&&o&&hn(Rl,n))return Reflect.get(Rl,n,r);const u=Reflect.get(a,n,r);return(Mi(n)?kl.has(n):Bu(n))||(e||ns(a,"get",n),t)?u:Kt(u)?o&&Ai(n)?u:u.value:_n(u)?e?Pl(u):Ni(u):u}}const Fu=Ol(),Pu=Ol(!0);function Ol(e=!1){return function(s,a,n,r){let o=s[a];if(vr(o)&&Kt(o)&&!Kt(n))return!1;if(!e&&!vr(n)&&(Hi(n)||(n=ht(n),o=ht(o)),!Ws(s)&&Kt(o)&&!Kt(n)))return o.value=n,!0;const u=Ws(s)&&Ai(a)?Number(a)e,pn=e=>Reflect.getPrototypeOf(e);function gn(e,t,s=!1,a=!1){e=e.__v_raw;const n=ht(e),r=ht(t);s||(t!==r&&ns(n,"get",t),ns(n,"get",r));const{has:o}=pn(n),u=a?Bi:s?Pi:Fi;if(o.call(n,t))return u(e.get(t));if(o.call(n,r))return u(e.get(r));e!==n&&e.get(t)}function bn(e,t=!1){const s=this.__v_raw,a=ht(s),n=ht(e);return t||(e!==n&&ns(a,"has",e),ns(a,"has",n)),e===n?s.has(e):s.has(e)||s.has(n)}function yn(e,t=!1){return e=e.__v_raw,!t&&ns(ht(e),"iterate",pa),Reflect.get(e,"size",e)}function Cl(e){e=ht(e);const t=ht(this);return pn(t).has.call(t,e)||(t.add(e),Ds(t,"add",e,e)),this}function Bl(e,t){t=ht(t);const s=ht(this),{has:a,get:n}=pn(s);let r=a.call(s,e);r||(e=ht(e),r=a.call(s,e));const o=n.call(s,e);return s.set(e,t),r?xl(t,o)&&Ds(s,"set",e,t):Ds(s,"add",e,t),this}function Ll(e){const t=ht(this),{has:s,get:a}=pn(t);let n=s.call(t,e);n||(e=ht(e),n=s.call(t,e)),a&&a.call(t,e);const r=t.delete(e);return n&&Ds(t,"delete",e,void 0),r}function Nl(){const e=ht(this),t=e.size!==0,s=e.clear();return t&&Ds(e,"clear",void 0,void 0),s}function xn(e,t){return function(a,n){const r=this,o=r.__v_raw,u=ht(o),b=t?Bi:e?Pi:Fi;return!e&&ns(u,"iterate",pa),o.forEach((l,p)=>a.call(n,b(l),b(p),r))}}function wn(e,t,s){return function(...a){const n=this.__v_raw,r=ht(n),o=vn(r),u=e==="entries"||e===Symbol.iterator&&o,b=e==="keys"&&o,l=n[e](...a),p=s?Bi:t?Pi:Fi;return!t&&ns(r,"iterate",b?Ri:pa),{next(){const{value:c,done:M}=l.next();return M?{value:c,done:M}:{value:u?[p(c[0]),p(c[1])]:p(c),done:M}},[Symbol.iterator](){return this}}}}function $s(e){return function(...t){return e==="delete"?!1:this}}function Yu(){const e={get(r){return gn(this,r)},get size(){return yn(this)},has:bn,add:Cl,set:Bl,delete:Ll,clear:Nl,forEach:xn(!1,!1)},t={get(r){return gn(this,r,!1,!0)},get size(){return yn(this)},has:bn,add:Cl,set:Bl,delete:Ll,clear:Nl,forEach:xn(!1,!0)},s={get(r){return gn(this,r,!0)},get size(){return yn(this,!0)},has(r){return bn.call(this,r,!0)},add:$s("add"),set:$s("set"),delete:$s("delete"),clear:$s("clear"),forEach:xn(!0,!1)},a={get(r){return gn(this,r,!0,!0)},get size(){return yn(this,!0)},has(r){return bn.call(this,r,!0)},add:$s("add"),set:$s("set"),delete:$s("delete"),clear:$s("clear"),forEach:xn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=wn(r,!1,!1),s[r]=wn(r,!0,!1),t[r]=wn(r,!1,!0),a[r]=wn(r,!0,!0)}),[e,s,t,a]}const[Xu,Ku,Gu,Zu]=Yu();function Li(e,t){const s=t?e?Zu:Gu:e?Ku:Xu;return(a,n,r)=>n==="__v_isReactive"?!e:n==="__v_isReadonly"?e:n==="__v_raw"?a:Reflect.get(hn(s,n)&&n in a?s:a,n,r)}const Wu={get:Li(!1,!1)},Qu={get:Li(!1,!0)},Ju={get:Li(!0,!1)},jl=new WeakMap,Hl=new WeakMap,Fl=new WeakMap,$u=new WeakMap;function ed(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function td(e){return e.__v_skip||!Object.isExtensible(e)?0:ed(Tu(e))}function Ni(e){return vr(e)?e:ji(e,!1,Il,Wu,jl)}function sd(e){return ji(e,!1,zu,Qu,Hl)}function Pl(e){return ji(e,!0,Vu,Ju,Fl)}function ji(e,t,s,a,n){if(!_n(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=n.get(e);if(r)return r;const o=td(e);if(o===0)return e;const u=new Proxy(e,o===2?a:s);return n.set(e,u),u}function Xa(e){return vr(e)?Xa(e.__v_raw):!!(e&&e.__v_isReactive)}function vr(e){return!!(e&&e.__v_isReadonly)}function Hi(e){return!!(e&&e.__v_isShallow)}function Ul(e){return Xa(e)||vr(e)}function ht(e){const t=e&&e.__v_raw;return t?ht(t):e}function Dl(e){return ku(e,"__v_skip",!0),e}const Fi=e=>_n(e)?Ni(e):e,Pi=e=>_n(e)?Pl(e):e;function ad(e){Js&&ys&&(e=ht(e),El(e.dep||(e.dep=Ei())))}function rd(e,t){e=ht(e),e.dep&&Ii(e.dep)}function Kt(e){return!!(e&&e.__v_isRef===!0)}function nd(e){return Kt(e)?e.value:e}const id={get:(e,t,s)=>nd(Reflect.get(e,t,s)),set:(e,t,s,a)=>{const n=e[t];return Kt(n)&&!Kt(s)?(n.value=s,!0):Reflect.set(e,t,s,a)}};function ql(e){return Xa(e)?e:new Proxy(e,id)}class od{constructor(t,s,a,n){this._setter=s,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new Oi(t,()=>{this._dirty||(this._dirty=!0,rd(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!n,this.__v_isReadonly=a}get value(){const t=ht(this);return ad(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function ld(e,t,s=!1){let a,n;const r=Mu(e);return r?(a=e,n=xu):(a=e.get,n=e.set),new od(a,n,r||!n,s)}function cd(e,t){const s=Object.create(null),a=e.split(",");for(let n=0;n!!s[n.toLowerCase()]:n=>!!s[n]}function ft(e){if(lt(e)){const t={};for(let s=0;s{if(s){const a=s.split(dd);a.length>1&&(t[a[0].trim()]=a[1].trim())}}),t}function at(e){let t="";if(Gt(e))t=e;else if(lt(e))for(let s=0;sGt(e)?e:e==null?"":lt(e)||Zt(e)&&(e.toString===Gl||!nt(e.toString))?JSON.stringify(e,Vl,2):String(e),Vl=(e,t)=>t&&t.__v_isRef?Vl(e,t.value):Yl(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[a,n])=>(s[`${a} =>`]=n,s),{})}:Xl(t)?{[`Set(${t.size})`]:[...t.values()]}:Zt(t)&&!lt(t)&&!Zl(t)?String(t):t,wt={},Ka=[],Rs=()=>{},md=()=>!1,hd=/^on[^a-z]/,Ui=e=>hd.test(e),zl=e=>e.startsWith("onUpdate:"),is=Object.assign,Di=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},vd=Object.prototype.hasOwnProperty,vt=(e,t)=>vd.call(e,t),lt=Array.isArray,Yl=e=>qi(e)==="[object Map]",Xl=e=>qi(e)==="[object Set]",nt=e=>typeof e=="function",Gt=e=>typeof e=="string",Zt=e=>e!==null&&typeof e=="object",Kl=e=>Zt(e)&&nt(e.then)&&nt(e.catch),Gl=Object.prototype.toString,qi=e=>Gl.call(e),Zl=e=>qi(e)==="[object Object]",Sn=cd(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Mn=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},_d=/-(\w)/g,Os=Mn(e=>e.replace(_d,(t,s)=>s?s.toUpperCase():"")),pd=/\B([A-Z])/g,An=Mn(e=>e.replace(pd,"-$1").toLowerCase()),Vi=Mn(e=>e.charAt(0).toUpperCase()+e.slice(1)),zi=Mn(e=>e?`on${Vi(e)}`:""),Wl=(e,t)=>!Object.is(e,t),Yi=(e,t)=>{for(let s=0;s{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:s})},gd=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ql;const bd=()=>Ql||(Ql=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function ea(e,t,s,a){let n;try{n=a?e(...a):e()}catch(r){En(r,t,s)}return n}function ms(e,t,s,a){if(nt(e)){const r=ea(e,t,s,a);return r&&Kl(r)&&r.catch(o=>{En(o,t,s)}),r}const n=[];for(let r=0;r>>1;br(os[a])qs&&os.splice(t,1)}function s0(e,t,s,a){lt(e)?s.push(...e):(!t||!t.includes(e,e.allowRecurse?a+1:a))&&s.push(e),t0()}function Sd(e){s0(e,pr,_r,Ga)}function Md(e){s0(e,ta,gr,Za)}function kn(e,t=null){if(_r.length){for(Zi=t,pr=[...new Set(_r)],_r.length=0,Ga=0;Gabr(s)-br(a)),Za=0;Zae.id==null?1/0:e.id;function r0(e){Ki=!1,Tn=!0,kn(e),os.sort((s,a)=>br(s)-br(a));const t=Rs;try{for(qs=0;qsA.trim())),c&&(n=s.map(gd))}let u,b=a[u=zi(t)]||a[u=zi(Os(t))];!b&&r&&(b=a[u=zi(An(t))]),b&&ms(b,e,6,n);const l=a[u+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[u])return;e.emitted[u]=!0,ms(l,e,6,n)}}function n0(e,t,s=!1){const a=t.emitsCache,n=a.get(e);if(n!==void 0)return n;const r=e.emits;let o={},u=!1;if(!nt(e)){const b=l=>{const p=n0(l,t,!0);p&&(u=!0,is(o,p))};!s&&t.mixins.length&&t.mixins.forEach(b),e.extends&&b(e.extends),e.mixins&&e.mixins.forEach(b)}return!r&&!u?(a.set(e,null),null):(lt(r)?r.forEach(b=>o[b]=null):is(o,r),a.set(e,o),o)}function Rn(e,t){return!e||!Ui(t)?!1:(t=t.slice(2).replace(/Once$/,""),vt(e,t[0].toLowerCase()+t.slice(1))||vt(e,An(t))||vt(e,t))}let Dt=null,i0=null;function On(e){const t=Dt;return Dt=e,i0=e&&e.type.__scopeId||null,t}function Ke(e,t=Dt,s){if(!t||e._n)return e;const a=(...n)=>{a._d&&F0(-1);const r=On(t),o=e(...n);return On(r),a._d&&F0(1),o};return a._n=!0,a._c=!0,a._d=!0,a}function m4(){}function Wi(e){const{type:t,vnode:s,proxy:a,withProxy:n,props:r,propsOptions:[o],slots:u,attrs:b,emit:l,render:p,renderCache:c,data:M,setupState:A,ctx:i,inheritAttrs:H}=e;let B,N;const m=On(e);try{if(s.shapeFlag&4){const C=n||a;B=Is(p.call(C,C,c,r,A,M,i)),N=b}else{const C=t;B=Is(C.length>1?C(r,{attrs:b,slots:u,emit:l}):C(r,null)),N=t.props?b:Ed(b)}}catch(C){Sr.length=0,En(C,e,1),B=Oe(vs)}let R=B;if(N&&H!==!1){const C=Object.keys(N),{shapeFlag:T}=R;C.length&&T&7&&(o&&C.some(zl)&&(N=Td(N,o)),R=sa(R,N))}return s.dirs&&(R=sa(R),R.dirs=R.dirs?R.dirs.concat(s.dirs):s.dirs),s.transition&&(R.transition=s.transition),B=R,On(m),B}const Ed=e=>{let t;for(const s in e)(s==="class"||s==="style"||Ui(s))&&((t||(t={}))[s]=e[s]);return t},Td=(e,t)=>{const s={};for(const a in e)(!zl(a)||!(a.slice(9)in t))&&(s[a]=e[a]);return s};function kd(e,t,s){const{props:a,children:n,component:r}=e,{props:o,children:u,patchFlag:b}=t,l=r.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&b>=0){if(b&1024)return!0;if(b&16)return a?o0(a,o,l):!!o;if(b&8){const p=t.dynamicProps;for(let c=0;ce.__isSuspense;function Id(e,t){t&&t.pendingBranch?lt(e)?t.effects.push(...e):t.effects.push(e):Md(e)}function Cd(e,t){if(Ft){let s=Ft.provides;const a=Ft.parent&&Ft.parent.provides;a===s&&(s=Ft.provides=Object.create(a)),s[e]=t}}function Qi(e,t,s=!1){const a=Ft||Dt;if(a){const n=a.parent==null?a.vnode.appContext&&a.vnode.appContext.provides:a.parent.provides;if(n&&e in n)return n[e];if(arguments.length>1)return s&&nt(t)?t.call(a.proxy):t}}const l0={};function Ji(e,t,s){return c0(e,t,s)}function c0(e,t,{immediate:s,deep:a,flush:n,onTrack:r,onTrigger:o}=wt){const u=Ft;let b,l=!1,p=!1;if(Kt(e)?(b=()=>e.value,l=Hi(e)):Xa(e)?(b=()=>e,a=!0):lt(e)?(p=!0,l=e.some(N=>Xa(N)||Hi(N)),b=()=>e.map(N=>{if(Kt(N))return N.value;if(Xa(N))return ga(N);if(nt(N))return ea(N,u,2)})):nt(e)?t?b=()=>ea(e,u,2):b=()=>{if(!(u&&u.isUnmounted))return c&&c(),ms(e,u,3,[M])}:b=Rs,t&&a){const N=b;b=()=>ga(N())}let c,M=N=>{c=B.onStop=()=>{ea(N,u,4)}};if(Ar)return M=Rs,t?s&&ms(t,u,3,[b(),p?[]:void 0,M]):b(),Rs;let A=p?[]:l0;const i=()=>{if(!!B.active)if(t){const N=B.run();(a||l||(p?N.some((m,R)=>Wl(m,A[R])):Wl(N,A)))&&(c&&c(),ms(t,u,3,[N,A===l0?void 0:A,M]),A=N)}else B.run()};i.allowRecurse=!!t;let H;n==="sync"?H=i:n==="post"?H=()=>Jt(i,u&&u.suspense):H=()=>Sd(i);const B=new Oi(b,H);return t?s?i():A=B.run():n==="post"?Jt(B.run.bind(B),u&&u.suspense):B.run(),()=>{B.stop(),u&&u.scope&&Di(u.scope.effects,B)}}function Bd(e,t,s){const a=this.proxy,n=Gt(e)?e.includes(".")?u0(a,e):()=>a[e]:e.bind(a,a);let r;nt(t)?r=t:(r=t.handler,s=t);const o=Ft;Wa(this);const u=c0(n,r.bind(a),s);return o?Wa(o):Sa(),u}function u0(e,t){const s=t.split(".");return()=>{let a=e;for(let n=0;n{ga(s,t)});else if(Zl(e))for(const s in e)ga(e[s],t);return e}function d0(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return _0(()=>{e.isMounted=!0}),g0(()=>{e.isUnmounting=!0}),e}const hs=[Function,Array],f0={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:hs,onEnter:hs,onAfterEnter:hs,onEnterCancelled:hs,onBeforeLeave:hs,onLeave:hs,onAfterLeave:hs,onLeaveCancelled:hs,onBeforeAppear:hs,onAppear:hs,onAfterAppear:hs,onAppearCancelled:hs},setup(e,{slots:t}){const s=D0(),a=d0();let n;return()=>{const r=t.default&&eo(t.default(),!0);if(!r||!r.length)return;let o=r[0];if(r.length>1){for(const H of r)if(H.type!==vs){o=H;break}}const u=ht(e),{mode:b}=u;if(a.isLeaving)return $i(o);const l=h0(o);if(!l)return $i(o);const p=yr(l,u,a,s);xr(l,p);const c=s.subTree,M=c&&h0(c);let A=!1;const{getTransitionKey:i}=l.type;if(i){const H=i();n===void 0?n=H:H!==n&&(n=H,A=!0)}if(M&&M.type!==vs&&(!wa(l,M)||A)){const H=yr(M,u,a,s);if(xr(M,H),b==="out-in")return a.isLeaving=!0,H.afterLeave=()=>{a.isLeaving=!1,s.update()},$i(o);b==="in-out"&&l.type!==vs&&(H.delayLeave=(B,N,m)=>{const R=m0(a,M);R[String(M.key)]=M,B._leaveCb=()=>{N(),B._leaveCb=void 0,delete p.delayedLeave},p.delayedLeave=m})}return o}}};function m0(e,t){const{leavingVNodes:s}=e;let a=s.get(t.type);return a||(a=Object.create(null),s.set(t.type,a)),a}function yr(e,t,s,a){const{appear:n,mode:r,persisted:o=!1,onBeforeEnter:u,onEnter:b,onAfterEnter:l,onEnterCancelled:p,onBeforeLeave:c,onLeave:M,onAfterLeave:A,onLeaveCancelled:i,onBeforeAppear:H,onAppear:B,onAfterAppear:N,onAppearCancelled:m}=t,R=String(e.key),C=m0(s,e),T=(E,w)=>{E&&ms(E,a,9,w)},L=(E,w)=>{const h=w[1];T(E,w),lt(E)?E.every(g=>g.length<=1)&&h():E.length<=1&&h()},f={mode:r,persisted:o,beforeEnter(E){let w=u;if(!s.isMounted)if(n)w=H||u;else return;E._leaveCb&&E._leaveCb(!0);const h=C[R];h&&wa(e,h)&&h.el._leaveCb&&h.el._leaveCb(),T(w,[E])},enter(E){let w=b,h=l,g=p;if(!s.isMounted)if(n)w=B||b,h=N||l,g=m||p;else return;let _=!1;const v=E._enterCb=x=>{_||(_=!0,x?T(g,[E]):T(h,[E]),f.delayedLeave&&f.delayedLeave(),E._enterCb=void 0)};w?L(w,[E,v]):v()},leave(E,w){const h=String(e.key);if(E._enterCb&&E._enterCb(!0),s.isUnmounting)return w();T(c,[E]);let g=!1;const _=E._leaveCb=v=>{g||(g=!0,w(),v?T(i,[E]):T(A,[E]),E._leaveCb=void 0,C[h]===e&&delete C[h])};C[h]=e,M?L(M,[E,_]):_()},clone(E){return yr(E,t,s,a)}};return f}function $i(e){if(In(e))return e=sa(e),e.children=null,e}function h0(e){return In(e)?e.children?e.children[0]:void 0:e}function xr(e,t){e.shapeFlag&6&&e.component?xr(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function eo(e,t=!1,s){let a=[],n=0;for(let r=0;r1)for(let r=0;r!!e.type.__asyncLoader,In=e=>e.type.__isKeepAlive;function Nd(e,t){v0(e,"a",t)}function jd(e,t){v0(e,"da",t)}function v0(e,t,s=Ft){const a=e.__wdc||(e.__wdc=()=>{let n=s;for(;n;){if(n.isDeactivated)return;n=n.parent}return e()});if(Cn(t,a,s),s){let n=s.parent;for(;n&&n.parent;)In(n.parent.vnode)&&Hd(a,t,s,n),n=n.parent}}function Hd(e,t,s,a){const n=Cn(t,e,a,!0);b0(()=>{Di(a[t],n)},s)}function Cn(e,t,s=Ft,a=!1){if(s){const n=s[e]||(s[e]=[]),r=t.__weh||(t.__weh=(...o)=>{if(s.isUnmounted)return;za(),Wa(s);const u=ms(t,s,e,o);return Sa(),Ya(),u});return a?n.unshift(r):n.push(r),r}}const Vs=e=>(t,s=Ft)=>(!Ar||e==="sp")&&Cn(e,t,s),Fd=Vs("bm"),_0=Vs("m"),Pd=Vs("bu"),p0=Vs("u"),g0=Vs("bum"),b0=Vs("um"),Ud=Vs("sp"),Dd=Vs("rtg"),qd=Vs("rtc");function Vd(e,t=Ft){Cn("ec",e,t)}function zs(e,t){const s=Dt;if(s===null)return e;const a=Pn(s)||s.proxy,n=e.dirs||(e.dirs=[]);for(let r=0;rt(o,u,void 0,r&&r[u]));else{const o=Object.keys(e);n=new Array(o.length);for(let u=0,b=o.length;ujn(t)?!(t.type===vs||t.type===ut&&!w0(t.children)):!0)?e:null}const ao=e=>e?q0(e)?Pn(e)||e.proxy:ao(e.parent):null,Ln=is(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ao(e.parent),$root:e=>ao(e.root),$emit:e=>e.emit,$options:e=>A0(e),$forceUpdate:e=>e.f||(e.f=()=>e0(e.update)),$nextTick:e=>e.n||(e.n=$l.bind(e.proxy)),$watch:e=>Bd.bind(e)}),Xd={get({_:e},t){const{ctx:s,setupState:a,data:n,props:r,accessCache:o,type:u,appContext:b}=e;let l;if(t[0]!=="$"){const A=o[t];if(A!==void 0)switch(A){case 1:return a[t];case 2:return n[t];case 4:return s[t];case 3:return r[t]}else{if(a!==wt&&vt(a,t))return o[t]=1,a[t];if(n!==wt&&vt(n,t))return o[t]=2,n[t];if((l=e.propsOptions[0])&&vt(l,t))return o[t]=3,r[t];if(s!==wt&&vt(s,t))return o[t]=4,s[t];ro&&(o[t]=0)}}const p=Ln[t];let c,M;if(p)return t==="$attrs"&&ns(e,"get",t),p(e);if((c=u.__cssModules)&&(c=c[t]))return c;if(s!==wt&&vt(s,t))return o[t]=4,s[t];if(M=b.config.globalProperties,vt(M,t))return M[t]},set({_:e},t,s){const{data:a,setupState:n,ctx:r}=e;return n!==wt&&vt(n,t)?(n[t]=s,!0):a!==wt&&vt(a,t)?(a[t]=s,!0):vt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:a,appContext:n,propsOptions:r}},o){let u;return!!s[o]||e!==wt&&vt(e,o)||t!==wt&&vt(t,o)||(u=r[0])&&vt(u,o)||vt(a,o)||vt(Ln,o)||vt(n.config.globalProperties,o)},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:vt(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};let ro=!0;function Kd(e){const t=A0(e),s=e.proxy,a=e.ctx;ro=!1,t.beforeCreate&&S0(t.beforeCreate,e,"bc");const{data:n,computed:r,methods:o,watch:u,provide:b,inject:l,created:p,beforeMount:c,mounted:M,beforeUpdate:A,updated:i,activated:H,deactivated:B,beforeDestroy:N,beforeUnmount:m,destroyed:R,unmounted:C,render:T,renderTracked:L,renderTriggered:f,errorCaptured:E,serverPrefetch:w,expose:h,inheritAttrs:g,components:_,directives:v,filters:x}=t;if(l&&Gd(l,a,null,e.appContext.config.unwrapInjectedRef),o)for(const X in o){const P=o[X];nt(P)&&(a[X]=P.bind(s))}if(n){const X=n.call(s,s);Zt(X)&&(e.data=Ni(X))}if(ro=!0,r)for(const X in r){const P=r[X],V=nt(P)?P.bind(s,s):nt(P.get)?P.get.bind(s,s):Rs,d=!nt(P)&&nt(P.set)?P.set.bind(s):Rs,S=xf({get:V,set:d});Object.defineProperty(a,X,{enumerable:!0,configurable:!0,get:()=>S.value,set:Z=>S.value=Z})}if(u)for(const X in u)M0(u[X],a,s,X);if(b){const X=nt(b)?b.call(s):b;Reflect.ownKeys(X).forEach(P=>{Cd(P,X[P])})}p&&S0(p,e,"c");function j(X,P){lt(P)?P.forEach(V=>X(V.bind(s))):P&&X(P.bind(s))}if(j(Fd,c),j(_0,M),j(Pd,A),j(p0,i),j(Nd,H),j(jd,B),j(Vd,E),j(qd,L),j(Dd,f),j(g0,m),j(b0,C),j(Ud,w),lt(h))if(h.length){const X=e.exposed||(e.exposed={});h.forEach(P=>{Object.defineProperty(X,P,{get:()=>s[P],set:V=>s[P]=V})})}else e.exposed||(e.exposed={});T&&e.render===Rs&&(e.render=T),g!=null&&(e.inheritAttrs=g),_&&(e.components=_),v&&(e.directives=v)}function Gd(e,t,s=Rs,a=!1){lt(e)&&(e=no(e));for(const n in e){const r=e[n];let o;Zt(r)?"default"in r?o=Qi(r.from||n,r.default,!0):o=Qi(r.from||n):o=Qi(r),Kt(o)&&a?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:u=>o.value=u}):t[n]=o}}function S0(e,t,s){ms(lt(e)?e.map(a=>a.bind(t.proxy)):e.bind(t.proxy),t,s)}function M0(e,t,s,a){const n=a.includes(".")?u0(s,a):()=>s[a];if(Gt(e)){const r=t[e];nt(r)&&Ji(n,r)}else if(nt(e))Ji(n,e.bind(s));else if(Zt(e))if(lt(e))e.forEach(r=>M0(r,t,s,a));else{const r=nt(e.handler)?e.handler.bind(s):t[e.handler];nt(r)&&Ji(n,r,e)}}function A0(e){const t=e.type,{mixins:s,extends:a}=t,{mixins:n,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,u=r.get(t);let b;return u?b=u:!n.length&&!s&&!a?b=t:(b={},n.length&&n.forEach(l=>Nn(b,l,o,!0)),Nn(b,t,o)),r.set(t,b),b}function Nn(e,t,s,a=!1){const{mixins:n,extends:r}=t;r&&Nn(e,r,s,!0),n&&n.forEach(o=>Nn(e,o,s,!0));for(const o in t)if(!(a&&o==="expose")){const u=Zd[o]||s&&s[o];e[o]=u?u(e[o],t[o]):t[o]}return e}const Zd={data:E0,props:ya,emits:ya,methods:ya,computed:ya,beforeCreate:Wt,created:Wt,beforeMount:Wt,mounted:Wt,beforeUpdate:Wt,updated:Wt,beforeDestroy:Wt,beforeUnmount:Wt,destroyed:Wt,unmounted:Wt,activated:Wt,deactivated:Wt,errorCaptured:Wt,serverPrefetch:Wt,components:ya,directives:ya,watch:Qd,provide:E0,inject:Wd};function E0(e,t){return t?e?function(){return is(nt(e)?e.call(this,this):e,nt(t)?t.call(this,this):t)}:t:e}function Wd(e,t){return ya(no(e),no(t))}function no(e){if(lt(e)){const t={};for(let s=0;s0)&&!(o&16)){if(o&8){const p=e.vnode.dynamicProps;for(let c=0;c{b=!0;const[M,A]=k0(c,t,!0);is(o,M),A&&u.push(...A)};!s&&t.mixins.length&&t.mixins.forEach(p),e.extends&&p(e.extends),e.mixins&&e.mixins.forEach(p)}if(!r&&!b)return a.set(e,Ka),Ka;if(lt(r))for(let p=0;p-1,A[1]=H<0||i-1||vt(A,"default"))&&u.push(c)}}}const l=[o,u];return a.set(e,l),l}function R0(e){return e[0]!=="$"}function O0(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function I0(e,t){return O0(e)===O0(t)}function C0(e,t){return lt(t)?t.findIndex(s=>I0(s,e)):nt(t)&&I0(t,e)?0:-1}const B0=e=>e[0]==="_"||e==="$stable",oo=e=>lt(e)?e.map(Is):[Is(e)],ef=(e,t,s)=>{if(t._n)return t;const a=Ke((...n)=>oo(t(...n)),s);return a._c=!1,a},L0=(e,t,s)=>{const a=e._ctx;for(const n in e){if(B0(n))continue;const r=e[n];if(nt(r))t[n]=ef(n,r,a);else if(r!=null){const o=oo(r);t[n]=()=>o}}},N0=(e,t)=>{const s=oo(t);e.slots.default=()=>s},tf=(e,t)=>{if(e.vnode.shapeFlag&32){const s=t._;s?(e.slots=ht(t),Xi(t,"_",s)):L0(t,e.slots={})}else e.slots={},t&&N0(e,t);Xi(e.slots,Hn,1)},sf=(e,t,s)=>{const{vnode:a,slots:n}=e;let r=!0,o=wt;if(a.shapeFlag&32){const u=t._;u?s&&u===1?r=!1:(is(n,t),!s&&u===1&&delete n._):(r=!t.$stable,L0(t,n)),o=t}else t&&(N0(e,t),o={default:1});if(r)for(const u in n)!B0(u)&&!(u in o)&&delete n[u]};function j0(){return{app:null,config:{isNativeTag:md,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let af=0;function rf(e,t){return function(a,n=null){nt(a)||(a=Object.assign({},a)),n!=null&&!Zt(n)&&(n=null);const r=j0(),o=new Set;let u=!1;const b=r.app={_uid:af++,_component:a,_props:n,_container:null,_context:r,_instance:null,version:Sf,get config(){return r.config},set config(l){},use(l,...p){return o.has(l)||(l&&nt(l.install)?(o.add(l),l.install(b,...p)):nt(l)&&(o.add(l),l(b,...p))),b},mixin(l){return r.mixins.includes(l)||r.mixins.push(l),b},component(l,p){return p?(r.components[l]=p,b):r.components[l]},directive(l,p){return p?(r.directives[l]=p,b):r.directives[l]},mount(l,p,c){if(!u){const M=Oe(a,n);return M.appContext=r,p&&t?t(M,l):e(M,l,c),u=!0,b._container=l,l.__vue_app__=b,Pn(M.component)||M.component.proxy}},unmount(){u&&(e(null,b._container),delete b._container.__vue_app__)},provide(l,p){return r.provides[l]=p,b}};return b}}function lo(e,t,s,a,n=!1){if(lt(e)){e.forEach((M,A)=>lo(M,t&&(lt(t)?t[A]:t),s,a,n));return}if(wr(a)&&!n)return;const r=a.shapeFlag&4?Pn(a.component)||a.component.proxy:a.el,o=n?null:r,{i:u,r:b}=e,l=t&&t.r,p=u.refs===wt?u.refs={}:u.refs,c=u.setupState;if(l!=null&&l!==b&&(Gt(l)?(p[l]=null,vt(c,l)&&(c[l]=null)):Kt(l)&&(l.value=null)),nt(b))ea(b,u,12,[o,p]);else{const M=Gt(b),A=Kt(b);if(M||A){const i=()=>{if(e.f){const H=M?p[b]:b.value;n?lt(H)&&Di(H,r):lt(H)?H.includes(r)||H.push(r):M?(p[b]=[r],vt(c,b)&&(c[b]=p[b])):(b.value=[r],e.k&&(p[e.k]=b.value))}else M?(p[b]=o,vt(c,b)&&(c[b]=o)):A&&(b.value=o,e.k&&(p[e.k]=o))};o?(i.id=-1,Jt(i,s)):i()}}}const Jt=Id;function nf(e){return of(e)}function of(e,t){const s=bd();s.__VUE__=!0;const{insert:a,remove:n,patchProp:r,createElement:o,createText:u,createComment:b,setText:l,setElementText:p,parentNode:c,nextSibling:M,setScopeId:A=Rs,cloneNode:i,insertStaticContent:H}=e,B=(U,z,te,le=null,ue=null,xe=null,Ee=!1,be=null,Se=!!z.dynamicChildren)=>{if(U===z)return;U&&!wa(U,z)&&(le=Ue(U),W(U,ue,xe,!0),U=null),z.patchFlag===-2&&(Se=!1,z.dynamicChildren=null);const{type:me,ref:Fe,shapeFlag:Ne}=z;switch(me){case co:N(U,z,te,le);break;case vs:m(U,z,te,le);break;case uo:U==null&&R(z,te,le,Ee);break;case ut:v(U,z,te,le,ue,xe,Ee,be,Se);break;default:Ne&1?L(U,z,te,le,ue,xe,Ee,be,Se):Ne&6?x(U,z,te,le,ue,xe,Ee,be,Se):(Ne&64||Ne&128)&&me.process(U,z,te,le,ue,xe,Ee,be,Se,fe)}Fe!=null&&ue&&lo(Fe,U&&U.ref,xe,z||U,!z)},N=(U,z,te,le)=>{if(U==null)a(z.el=u(z.children),te,le);else{const ue=z.el=U.el;z.children!==U.children&&l(ue,z.children)}},m=(U,z,te,le)=>{U==null?a(z.el=b(z.children||""),te,le):z.el=U.el},R=(U,z,te,le)=>{[U.el,U.anchor]=H(U.children,z,te,le,U.el,U.anchor)},C=({el:U,anchor:z},te,le)=>{let ue;for(;U&&U!==z;)ue=M(U),a(U,te,le),U=ue;a(z,te,le)},T=({el:U,anchor:z})=>{let te;for(;U&&U!==z;)te=M(U),n(U),U=te;n(z)},L=(U,z,te,le,ue,xe,Ee,be,Se)=>{Ee=Ee||z.type==="svg",U==null?f(z,te,le,ue,xe,Ee,be,Se):h(U,z,ue,xe,Ee,be,Se)},f=(U,z,te,le,ue,xe,Ee,be)=>{let Se,me;const{type:Fe,props:Ne,shapeFlag:Pe,transition:De,patchFlag:Ze,dirs:ce}=U;if(U.el&&i!==void 0&&Ze===-1)Se=U.el=i(U.el);else{if(Se=U.el=o(U.type,xe,Ne&&Ne.is,Ne),Pe&8?p(Se,U.children):Pe&16&&w(U.children,Se,null,le,ue,xe&&Fe!=="foreignObject",Ee,be),ce&&ba(U,null,le,"created"),Ne){for(const $ in Ne)$!=="value"&&!Sn($)&&r(Se,$,null,Ne[$],xe,U.children,le,ue,ve);"value"in Ne&&r(Se,"value",null,Ne.value),(me=Ne.onVnodeBeforeMount)&&Cs(me,le,U)}E(Se,U,U.scopeId,Ee,le)}ce&&ba(U,null,le,"beforeMount");const ye=(!ue||ue&&!ue.pendingBranch)&&De&&!De.persisted;ye&&De.beforeEnter(Se),a(Se,z,te),((me=Ne&&Ne.onVnodeMounted)||ye||ce)&&Jt(()=>{me&&Cs(me,le,U),ye&&De.enter(Se),ce&&ba(U,null,le,"mounted")},ue)},E=(U,z,te,le,ue)=>{if(te&&A(U,te),le)for(let xe=0;xe{for(let me=Se;me{const be=z.el=U.el;let{patchFlag:Se,dynamicChildren:me,dirs:Fe}=z;Se|=U.patchFlag&16;const Ne=U.props||wt,Pe=z.props||wt;let De;te&&xa(te,!1),(De=Pe.onVnodeBeforeUpdate)&&Cs(De,te,z,U),Fe&&ba(z,U,te,"beforeUpdate"),te&&xa(te,!0);const Ze=ue&&z.type!=="foreignObject";if(me?g(U.dynamicChildren,me,be,te,le,Ze,xe):Ee||V(U,z,be,null,te,le,Ze,xe,!1),Se>0){if(Se&16)_(be,z,Ne,Pe,te,le,ue);else if(Se&2&&Ne.class!==Pe.class&&r(be,"class",null,Pe.class,ue),Se&4&&r(be,"style",Ne.style,Pe.style,ue),Se&8){const ce=z.dynamicProps;for(let ye=0;ye{De&&Cs(De,te,z,U),Fe&&ba(z,U,te,"updated")},le)},g=(U,z,te,le,ue,xe,Ee)=>{for(let be=0;be{if(te!==le){for(const be in le){if(Sn(be))continue;const Se=le[be],me=te[be];Se!==me&&be!=="value"&&r(U,be,me,Se,Ee,z.children,ue,xe,ve)}if(te!==wt)for(const be in te)!Sn(be)&&!(be in le)&&r(U,be,te[be],null,Ee,z.children,ue,xe,ve);"value"in le&&r(U,"value",te.value,le.value)}},v=(U,z,te,le,ue,xe,Ee,be,Se)=>{const me=z.el=U?U.el:u(""),Fe=z.anchor=U?U.anchor:u("");let{patchFlag:Ne,dynamicChildren:Pe,slotScopeIds:De}=z;De&&(be=be?be.concat(De):De),U==null?(a(me,te,le),a(Fe,te,le),w(z.children,te,Fe,ue,xe,Ee,be,Se)):Ne>0&&Ne&64&&Pe&&U.dynamicChildren?(g(U.dynamicChildren,Pe,te,ue,xe,Ee,be),(z.key!=null||ue&&z===ue.subTree)&&H0(U,z,!0)):V(U,z,te,Fe,ue,xe,Ee,be,Se)},x=(U,z,te,le,ue,xe,Ee,be,Se)=>{z.slotScopeIds=be,U==null?z.shapeFlag&512?ue.ctx.activate(z,te,le,Ee,Se):y(z,te,le,ue,xe,Ee,Se):j(U,z,Se)},y=(U,z,te,le,ue,xe,Ee)=>{const be=U.component=hf(U,le,ue);if(In(U)&&(be.ctx.renderer=fe),vf(be),be.asyncDep){if(ue&&ue.registerDep(be,X),!U.el){const Se=be.subTree=Oe(vs);m(null,Se,z,te)}return}X(be,U,z,te,ue,xe,Ee)},j=(U,z,te)=>{const le=z.component=U.component;if(kd(U,z,te))if(le.asyncDep&&!le.asyncResolved){P(le,z,te);return}else le.next=z,wd(le.update),le.update();else z.el=U.el,le.vnode=z},X=(U,z,te,le,ue,xe,Ee)=>{const be=()=>{if(U.isMounted){let{next:Fe,bu:Ne,u:Pe,parent:De,vnode:Ze}=U,ce=Fe,ye;xa(U,!1),Fe?(Fe.el=Ze.el,P(U,Fe,Ee)):Fe=Ze,Ne&&Yi(Ne),(ye=Fe.props&&Fe.props.onVnodeBeforeUpdate)&&Cs(ye,De,Fe,Ze),xa(U,!0);const $=Wi(U),Ie=U.subTree;U.subTree=$,B(Ie,$,c(Ie.el),Ue(Ie),U,ue,xe),Fe.el=$.el,ce===null&&Rd(U,$.el),Pe&&Jt(Pe,ue),(ye=Fe.props&&Fe.props.onVnodeUpdated)&&Jt(()=>Cs(ye,De,Fe,Ze),ue)}else{let Fe;const{el:Ne,props:Pe}=z,{bm:De,m:Ze,parent:ce}=U,ye=wr(z);if(xa(U,!1),De&&Yi(De),!ye&&(Fe=Pe&&Pe.onVnodeBeforeMount)&&Cs(Fe,ce,z),xa(U,!0),Ne&&it){const $=()=>{U.subTree=Wi(U),it(Ne,U.subTree,U,ue,null)};ye?z.type.__asyncLoader().then(()=>!U.isUnmounted&&$()):$()}else{const $=U.subTree=Wi(U);B(null,$,te,le,U,ue,xe),z.el=$.el}if(Ze&&Jt(Ze,ue),!ye&&(Fe=Pe&&Pe.onVnodeMounted)){const $=z;Jt(()=>Cs(Fe,ce,$),ue)}(z.shapeFlag&256||ce&&wr(ce.vnode)&&ce.vnode.shapeFlag&256)&&U.a&&Jt(U.a,ue),U.isMounted=!0,z=te=le=null}},Se=U.effect=new Oi(be,()=>e0(me),U.scope),me=U.update=()=>Se.run();me.id=U.uid,xa(U,!0),me()},P=(U,z,te)=>{z.component=U;const le=U.vnode.props;U.vnode=z,U.next=null,$d(U,z.props,le,te),sf(U,z.children,te),za(),kn(void 0,U.update),Ya()},V=(U,z,te,le,ue,xe,Ee,be,Se=!1)=>{const me=U&&U.children,Fe=U?U.shapeFlag:0,Ne=z.children,{patchFlag:Pe,shapeFlag:De}=z;if(Pe>0){if(Pe&128){S(me,Ne,te,le,ue,xe,Ee,be,Se);return}else if(Pe&256){d(me,Ne,te,le,ue,xe,Ee,be,Se);return}}De&8?(Fe&16&&ve(me,ue,xe),Ne!==me&&p(te,Ne)):Fe&16?De&16?S(me,Ne,te,le,ue,xe,Ee,be,Se):ve(me,ue,xe,!0):(Fe&8&&p(te,""),De&16&&w(Ne,te,le,ue,xe,Ee,be,Se))},d=(U,z,te,le,ue,xe,Ee,be,Se)=>{U=U||Ka,z=z||Ka;const me=U.length,Fe=z.length,Ne=Math.min(me,Fe);let Pe;for(Pe=0;PeFe?ve(U,ue,xe,!0,!1,Ne):w(z,te,le,ue,xe,Ee,be,Se,Ne)},S=(U,z,te,le,ue,xe,Ee,be,Se)=>{let me=0;const Fe=z.length;let Ne=U.length-1,Pe=Fe-1;for(;me<=Ne&&me<=Pe;){const De=U[me],Ze=z[me]=Se?ra(z[me]):Is(z[me]);if(wa(De,Ze))B(De,Ze,te,null,ue,xe,Ee,be,Se);else break;me++}for(;me<=Ne&&me<=Pe;){const De=U[Ne],Ze=z[Pe]=Se?ra(z[Pe]):Is(z[Pe]);if(wa(De,Ze))B(De,Ze,te,null,ue,xe,Ee,be,Se);else break;Ne--,Pe--}if(me>Ne){if(me<=Pe){const De=Pe+1,Ze=DePe)for(;me<=Ne;)W(U[me],ue,xe,!0),me++;else{const De=me,Ze=me,ce=new Map;for(me=Ze;me<=Pe;me++){const Y=z[me]=Se?ra(z[me]):Is(z[me]);Y.key!=null&&ce.set(Y.key,me)}let ye,$=0;const Ie=Pe-Ze+1;let k=!1,I=0;const D=new Array(Ie);for(me=0;me=Ie){W(Y,ue,xe,!0);continue}let F;if(Y.key!=null)F=ce.get(Y.key);else for(ye=Ze;ye<=Pe;ye++)if(D[ye-Ze]===0&&wa(Y,z[ye])){F=ye;break}F===void 0?W(Y,ue,xe,!0):(D[F-Ze]=me+1,F>=I?I=F:k=!0,B(Y,z[F],te,null,ue,xe,Ee,be,Se),$++)}const q=k?lf(D):Ka;for(ye=q.length-1,me=Ie-1;me>=0;me--){const Y=Ze+me,F=z[Y],G=Y+1{const{el:xe,type:Ee,transition:be,children:Se,shapeFlag:me}=U;if(me&6){Z(U.component.subTree,z,te,le);return}if(me&128){U.suspense.move(z,te,le);return}if(me&64){Ee.move(U,z,te,fe);return}if(Ee===ut){a(xe,z,te);for(let Ne=0;Nebe.enter(xe),ue);else{const{leave:Ne,delayLeave:Pe,afterLeave:De}=be,Ze=()=>a(xe,z,te),ce=()=>{Ne(xe,()=>{Ze(),De&&De()})};Pe?Pe(xe,Ze,ce):ce()}else a(xe,z,te)},W=(U,z,te,le=!1,ue=!1)=>{const{type:xe,props:Ee,ref:be,children:Se,dynamicChildren:me,shapeFlag:Fe,patchFlag:Ne,dirs:Pe}=U;if(be!=null&&lo(be,null,te,U,!0),Fe&256){z.ctx.deactivate(U);return}const De=Fe&1&&Pe,Ze=!wr(U);let ce;if(Ze&&(ce=Ee&&Ee.onVnodeBeforeUnmount)&&Cs(ce,z,U),Fe&6)Ae(U.component,te,le);else{if(Fe&128){U.suspense.unmount(te,le);return}De&&ba(U,null,z,"beforeUnmount"),Fe&64?U.type.remove(U,z,te,ue,fe,le):me&&(xe!==ut||Ne>0&&Ne&64)?ve(me,z,te,!1,!0):(xe===ut&&Ne&384||!ue&&Fe&16)&&ve(Se,z,te),le&&de(U)}(Ze&&(ce=Ee&&Ee.onVnodeUnmounted)||De)&&Jt(()=>{ce&&Cs(ce,z,U),De&&ba(U,null,z,"unmounted")},te)},de=U=>{const{type:z,el:te,anchor:le,transition:ue}=U;if(z===ut){Me(te,le);return}if(z===uo){T(U);return}const xe=()=>{n(te),ue&&!ue.persisted&&ue.afterLeave&&ue.afterLeave()};if(U.shapeFlag&1&&ue&&!ue.persisted){const{leave:Ee,delayLeave:be}=ue,Se=()=>Ee(te,xe);be?be(U.el,xe,Se):Se()}else xe()},Me=(U,z)=>{let te;for(;U!==z;)te=M(U),n(U),U=te;n(z)},Ae=(U,z,te)=>{const{bum:le,scope:ue,update:xe,subTree:Ee,um:be}=U;le&&Yi(le),ue.stop(),xe&&(xe.active=!1,W(Ee,U,z,te)),be&&Jt(be,z),Jt(()=>{U.isUnmounted=!0},z),z&&z.pendingBranch&&!z.isUnmounted&&U.asyncDep&&!U.asyncResolved&&U.suspenseId===z.pendingId&&(z.deps--,z.deps===0&&z.resolve())},ve=(U,z,te,le=!1,ue=!1,xe=0)=>{for(let Ee=xe;EeU.shapeFlag&6?Ue(U.component.subTree):U.shapeFlag&128?U.suspense.next():M(U.anchor||U.el),Le=(U,z,te)=>{U==null?z._vnode&&W(z._vnode,null,null,!0):B(z._vnode||null,U,z,null,null,null,te),a0(),z._vnode=U},fe={p:B,um:W,m:Z,r:de,mt:y,mc:w,pc:V,pbc:g,n:Ue,o:e};let Xe,it;return t&&([Xe,it]=t(fe)),{render:Le,hydrate:Xe,createApp:rf(Le,Xe)}}function xa({effect:e,update:t},s){e.allowRecurse=t.allowRecurse=s}function H0(e,t,s=!1){const a=e.children,n=t.children;if(lt(a)&<(n))for(let r=0;r>1,e[s[u]]0&&(t[a]=s[r-1]),s[r]=a)}}for(r=s.length,o=s[r-1];r-- >0;)s[r]=o,o=t[o];return s}const cf=e=>e.__isTeleport,ut=Symbol(void 0),co=Symbol(void 0),vs=Symbol(void 0),uo=Symbol(void 0),Sr=[];let xs=null;function Q(e=!1){Sr.push(xs=e?null:[])}function uf(){Sr.pop(),xs=Sr[Sr.length-1]||null}let Mr=1;function F0(e){Mr+=e}function P0(e){return e.dynamicChildren=Mr>0?xs||Ka:null,uf(),Mr>0&&xs&&xs.push(e),e}function ne(e,t,s,a,n,r){return P0(he(e,t,s,a,n,r,!0))}function _t(e,t,s,a,n){return P0(Oe(e,t,s,a,n,!0))}function jn(e){return e?e.__v_isVNode===!0:!1}function wa(e,t){return e.type===t.type&&e.key===t.key}const Hn="__vInternal",U0=({key:e})=>e!=null?e:null,Fn=({ref:e,ref_key:t,ref_for:s})=>e!=null?Gt(e)||Kt(e)||nt(e)?{i:Dt,r:e,k:t,f:!!s}:e:null;function he(e,t=null,s=null,a=0,n=null,r=e===ut?0:1,o=!1,u=!1){const b={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&U0(t),ref:t&&Fn(t),scopeId:i0,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:a,dynamicProps:n,dynamicChildren:null,appContext:null};return u?(fo(b,s),r&128&&e.normalize(b)):s&&(b.shapeFlag|=Gt(s)?8:16),Mr>0&&!o&&xs&&(b.patchFlag>0||r&6)&&b.patchFlag!==32&&xs.push(b),b}const Oe=df;function df(e,t=null,s=null,a=0,n=null,r=!1){if((!e||e===y0)&&(e=vs),jn(e)){const u=sa(e,t,!0);return s&&fo(u,s),Mr>0&&!r&&xs&&(u.shapeFlag&6?xs[xs.indexOf(e)]=u:xs.push(u)),u.patchFlag|=-2,u}if(yf(e)&&(e=e.__vccOpts),t){t=pt(t);let{class:u,style:b}=t;u&&!Gt(u)&&(t.class=at(u)),Zt(b)&&(Ul(b)&&!lt(b)&&(b=is({},b)),t.style=ft(b))}const o=Gt(e)?1:Od(e)?128:cf(e)?64:Zt(e)?4:nt(e)?2:0;return he(e,t,s,a,n,o,r,!0)}function pt(e){return e?Ul(e)||Hn in e?is({},e):e:null}function sa(e,t,s=!1){const{props:a,ref:n,patchFlag:r,children:o}=e,u=t?mo(a||{},t):a;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&U0(u),ref:t&&t.ref?s&&n?lt(n)?n.concat(Fn(t)):[n,Fn(t)]:Fn(t):n,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ut?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&sa(e.ssContent),ssFallback:e.ssFallback&&sa(e.ssFallback),el:e.el,anchor:e.anchor}}function aa(e=" ",t=0){return Oe(co,null,e,t)}function Be(e="",t=!1){return t?(Q(),_t(vs,null,e)):Oe(vs,null,e)}function Is(e){return e==null||typeof e=="boolean"?Oe(vs):lt(e)?Oe(ut,null,e.slice()):typeof e=="object"?ra(e):Oe(co,null,String(e))}function ra(e){return e.el===null||e.memo?e:sa(e)}function fo(e,t){let s=0;const{shapeFlag:a}=e;if(t==null)t=null;else if(lt(t))s=16;else if(typeof t=="object")if(a&65){const n=t.default;n&&(n._c&&(n._d=!1),fo(e,n()),n._c&&(n._d=!0));return}else{s=32;const n=t._;!n&&!(Hn in t)?t._ctx=Dt:n===3&&Dt&&(Dt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else nt(t)?(t={default:t,_ctx:Dt},s=32):(t=String(t),a&64?(s=16,t=[aa(t)]):s=8);e.children=t,e.shapeFlag|=s}function mo(...e){const t={};for(let s=0;sFt||Dt,Wa=e=>{Ft=e,e.scope.on()},Sa=()=>{Ft&&Ft.scope.off(),Ft=null};function q0(e){return e.vnode.shapeFlag&4}let Ar=!1;function vf(e,t=!1){Ar=t;const{props:s,children:a}=e.vnode,n=q0(e);Jd(e,s,n,t),tf(e,a);const r=n?_f(e,t):void 0;return Ar=!1,r}function _f(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=Dl(new Proxy(e.ctx,Xd));const{setup:a}=s;if(a){const n=e.setupContext=a.length>1?gf(e):null;Wa(e),za();const r=ea(a,e,0,[e.props,n]);if(Ya(),Sa(),Kl(r)){if(r.then(Sa,Sa),t)return r.then(o=>{V0(e,o,t)}).catch(o=>{En(o,e,0)});e.asyncDep=r}else V0(e,r,t)}else Y0(e,t)}function V0(e,t,s){nt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Zt(t)&&(e.setupState=ql(t)),Y0(e,s)}let z0;function Y0(e,t,s){const a=e.type;if(!e.render){if(!t&&z0&&!a.render){const n=a.template;if(n){const{isCustomElement:r,compilerOptions:o}=e.appContext.config,{delimiters:u,compilerOptions:b}=a,l=is(is({isCustomElement:r,delimiters:u},o),b);a.render=z0(n,l)}}e.render=a.render||Rs}Wa(e),za(),Kd(e),Ya(),Sa()}function pf(e){return new Proxy(e.attrs,{get(t,s){return ns(e,"get","$attrs"),t[s]}})}function gf(e){const t=a=>{e.exposed=a||{}};let s;return{get attrs(){return s||(s=pf(e))},slots:e.slots,emit:e.emit,expose:t}}function Pn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ql(Dl(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Ln)return Ln[s](e)}}))}function bf(e,t=!0){return nt(e)?e.displayName||e.name:e.name||t&&e.__name}function yf(e){return nt(e)&&"__vccOpts"in e}const xf=(e,t)=>ld(e,t,Ar);function wf(e,t,s){const a=arguments.length;return a===2?Zt(t)&&!lt(t)?jn(t)?Oe(e,null,[t]):Oe(e,t):Oe(e,null,t):(a>3?s=Array.prototype.slice.call(arguments,2):a===3&&jn(s)&&(s=[s]),Oe(e,t,s))}const Sf="3.2.37";function Mf(e,t){const s=Object.create(null),a=e.split(",");for(let n=0;n!!s[n.toLowerCase()]:n=>!!s[n]}const Af=Mf("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function X0(e){return!!e||e===""}const Ef=/^on[^a-z]/,Tf=e=>Ef.test(e),kf=e=>e.startsWith("onUpdate:"),Er=Object.assign,Tr=Array.isArray,Rf=e=>typeof e=="function",ho=e=>typeof e=="string",Of=e=>e!==null&&typeof e=="object",vo=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},If=/-(\w)/g,K0=vo(e=>e.replace(If,(t,s)=>s?s.toUpperCase():"")),Cf=/\B([A-Z])/g,Qa=vo(e=>e.replace(Cf,"-$1").toLowerCase()),Bf=vo(e=>e.charAt(0).toUpperCase()+e.slice(1)),_o=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Lf="http://www.w3.org/2000/svg",Ma=typeof document!="undefined"?document:null,G0=Ma&&Ma.createElement("template"),Nf={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,a)=>{const n=t?Ma.createElementNS(Lf,e):Ma.createElement(e,s?{is:s}:void 0);return e==="select"&&a&&a.multiple!=null&&n.setAttribute("multiple",a.multiple),n},createText:e=>Ma.createTextNode(e),createComment:e=>Ma.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ma.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,s,a,n,r){const o=s?s.previousSibling:t.lastChild;if(n&&(n===r||n.nextSibling))for(;t.insertBefore(n.cloneNode(!0),s),!(n===r||!(n=n.nextSibling)););else{G0.innerHTML=a?`${e}`:e;const u=G0.content;if(a){const b=u.firstChild;for(;b.firstChild;)u.appendChild(b.firstChild);u.removeChild(b)}t.insertBefore(u,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}};function jf(e,t,s){const a=e._vtc;a&&(t=(t?[t,...a]:[...a]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}function Hf(e,t,s){const a=e.style,n=ho(s);if(s&&!n){for(const r in s)po(a,r,s[r]);if(t&&!ho(t))for(const r in t)s[r]==null&&po(a,r,"")}else{const r=a.display;n?t!==s&&(a.cssText=s):t&&e.removeAttribute("style"),"_vod"in e&&(a.display=r)}}const Z0=/\s*!important$/;function po(e,t,s){if(Tr(s))s.forEach(a=>po(e,t,a));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const a=Ff(e,t);Z0.test(s)?e.setProperty(Qa(a),s.replace(Z0,""),"important"):e[a]=s}}const W0=["Webkit","Moz","ms"],go={};function Ff(e,t){const s=go[t];if(s)return s;let a=Os(t);if(a!=="filter"&&a in e)return go[t]=a;a=Bf(a);for(let n=0;n{let e=Date.now,t=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const s=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(s&&Number(s[1])<=53)}return[e,t]})();let bo=0;const qf=Promise.resolve(),Vf=()=>{bo=0},zf=()=>bo||(qf.then(Vf),bo=J0());function Yf(e,t,s,a){e.addEventListener(t,s,a)}function Xf(e,t,s,a){e.removeEventListener(t,s,a)}function Kf(e,t,s,a,n=null){const r=e._vei||(e._vei={}),o=r[t];if(a&&o)o.value=a;else{const[u,b]=Gf(t);if(a){const l=r[t]=Zf(a,n);Yf(e,u,l,b)}else o&&(Xf(e,u,o,b),r[t]=void 0)}}const $0=/(?:Once|Passive|Capture)$/;function Gf(e){let t;if($0.test(e)){t={};let s;for(;s=e.match($0);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[Qa(e.slice(2)),t]}function Zf(e,t){const s=a=>{const n=a.timeStamp||J0();(Df||n>=s.attached-1)&&ms(Wf(a,s.value),t,5,[a])};return s.value=e,s.attached=zf(),s}function Wf(e,t){if(Tr(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(a=>n=>!n._stopped&&a&&a(n))}else return t}const ec=/^on[a-z]/,Qf=(e,t,s,a,n=!1,r,o,u,b)=>{t==="class"?jf(e,a,n):t==="style"?Hf(e,s,a):Tf(t)?kf(t)||Kf(e,t,s,a,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Jf(e,t,a,n))?Uf(e,t,a,r,o,u,b):(t==="true-value"?e._trueValue=a:t==="false-value"&&(e._falseValue=a),Pf(e,t,a,n))};function Jf(e,t,s,a){return a?!!(t==="innerHTML"||t==="textContent"||t in e&&ec.test(t)&&Rf(s)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||ec.test(t)&&ho(s)?!1:t in e}function $f(e,t){const s=Ld(e);class a extends yo{constructor(r){super(s,r,t)}}return a.def=s,a}const em=typeof HTMLElement!="undefined"?HTMLElement:class{};class yo extends em{constructor(t,s={},a){super(),this._def=t,this._props=s,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&a?a(this._createVNode(),this.shadowRoot):this.attachShadow({mode:"open"})}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,$l(()=>{this._connected||(mc(null,this.shadowRoot),this._instance=null)})}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let a=0;a{for(const n of a)this._setAttr(n.attributeName)}).observe(this,{attributes:!0});const t=a=>{const{props:n,styles:r}=a,o=!Tr(n),u=n?o?Object.keys(n):n:[];let b;if(o)for(const l in this._props){const p=n[l];(p===Number||p&&p.type===Number)&&(this._props[l]=_o(this._props[l]),(b||(b=Object.create(null)))[l]=!0)}this._numberProps=b;for(const l of Object.keys(this))l[0]!=="_"&&this._setProp(l,this[l],!0,!1);for(const l of u.map(K0))Object.defineProperty(this,l,{get(){return this._getProp(l)},set(p){this._setProp(l,p)}});this._applyStyles(r),this._update()},s=this._def.__asyncLoader;s?s().then(t):t(this._def)}_setAttr(t){let s=this.getAttribute(t);this._numberProps&&this._numberProps[t]&&(s=_o(s)),this._setProp(K0(t),s,!1)}_getProp(t){return this._props[t]}_setProp(t,s,a=!0,n=!0){s!==this._props[t]&&(this._props[t]=s,n&&this._instance&&this._update(),a&&(s===!0?this.setAttribute(Qa(t),""):typeof s=="string"||typeof s=="number"?this.setAttribute(Qa(t),s+""):s||this.removeAttribute(Qa(t))))}_update(){mc(this._createVNode(),this.shadowRoot)}_createVNode(){const t=Oe(this._def,Er({},this._props));return this._instance||(t.ce=s=>{this._instance=s,s.isCE=!0,s.emit=(n,...r)=>{this.dispatchEvent(new CustomEvent(n,{detail:r}))};let a=this;for(;a=a&&(a.parentNode||a.host);)if(a instanceof yo){s.parent=a._instance;break}}),t}_applyStyles(t){t&&t.forEach(s=>{const a=document.createElement("style");a.textContent=s,this.shadowRoot.appendChild(a)})}}const na="transition",kr="animation",Lt=(e,{slots:t})=>wf(f0,ac(e),t);Lt.displayName="Transition";const tc={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},tm=Lt.props=Er({},f0.props,tc),Aa=(e,t=[])=>{Tr(e)?e.forEach(s=>s(...t)):e&&e(...t)},sc=e=>e?Tr(e)?e.some(t=>t.length>1):e.length>1:!1;function ac(e){const t={};for(const _ in e)_ in tc||(t[_]=e[_]);if(e.css===!1)return t;const{name:s="v",type:a,duration:n,enterFromClass:r=`${s}-enter-from`,enterActiveClass:o=`${s}-enter-active`,enterToClass:u=`${s}-enter-to`,appearFromClass:b=r,appearActiveClass:l=o,appearToClass:p=u,leaveFromClass:c=`${s}-leave-from`,leaveActiveClass:M=`${s}-leave-active`,leaveToClass:A=`${s}-leave-to`}=e,i=sm(n),H=i&&i[0],B=i&&i[1],{onBeforeEnter:N,onEnter:m,onEnterCancelled:R,onLeave:C,onLeaveCancelled:T,onBeforeAppear:L=N,onAppear:f=m,onAppearCancelled:E=R}=t,w=(_,v,x)=>{ia(_,v?p:u),ia(_,v?l:o),x&&x()},h=(_,v)=>{_._isLeaving=!1,ia(_,c),ia(_,A),ia(_,M),v&&v()},g=_=>(v,x)=>{const y=_?f:m,j=()=>w(v,_,x);Aa(y,[v,j]),rc(()=>{ia(v,_?b:r),Ys(v,_?p:u),sc(y)||nc(v,a,H,j)})};return Er(t,{onBeforeEnter(_){Aa(N,[_]),Ys(_,r),Ys(_,o)},onBeforeAppear(_){Aa(L,[_]),Ys(_,b),Ys(_,l)},onEnter:g(!1),onAppear:g(!0),onLeave(_,v){_._isLeaving=!0;const x=()=>h(_,v);Ys(_,c),cc(),Ys(_,M),rc(()=>{!_._isLeaving||(ia(_,c),Ys(_,A),sc(C)||nc(_,a,B,x))}),Aa(C,[_,x])},onEnterCancelled(_){w(_,!1),Aa(R,[_])},onAppearCancelled(_){w(_,!0),Aa(E,[_])},onLeaveCancelled(_){h(_),Aa(T,[_])}})}function sm(e){if(e==null)return null;if(Of(e))return[xo(e.enter),xo(e.leave)];{const t=xo(e);return[t,t]}}function xo(e){return _o(e)}function Ys(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.add(s)),(e._vtc||(e._vtc=new Set)).add(t)}function ia(e,t){t.split(/\s+/).forEach(a=>a&&e.classList.remove(a));const{_vtc:s}=e;s&&(s.delete(t),s.size||(e._vtc=void 0))}function rc(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let am=0;function nc(e,t,s,a){const n=e._endId=++am,r=()=>{n===e._endId&&a()};if(s)return setTimeout(r,s);const{type:o,timeout:u,propCount:b}=ic(e,t);if(!o)return a();const l=o+"end";let p=0;const c=()=>{e.removeEventListener(l,M),r()},M=A=>{A.target===e&&++p>=b&&c()};setTimeout(()=>{p(s[i]||"").split(", "),n=a(na+"Delay"),r=a(na+"Duration"),o=oc(n,r),u=a(kr+"Delay"),b=a(kr+"Duration"),l=oc(u,b);let p=null,c=0,M=0;t===na?o>0&&(p=na,c=o,M=r.length):t===kr?l>0&&(p=kr,c=l,M=b.length):(c=Math.max(o,l),p=c>0?o>l?na:kr:null,M=p?p===na?r.length:b.length:0);const A=p===na&&/\b(transform|all)(,|$)/.test(s[na+"Property"]);return{type:p,timeout:c,propCount:M,hasTransform:A}}function oc(e,t){for(;e.lengthlc(s)+lc(e[a])))}function lc(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function cc(){return document.body.offsetHeight}const uc=new WeakMap,dc=new WeakMap,wo={name:"TransitionGroup",props:Er({},tm,{tag:String,moveClass:String}),setup(e,{slots:t}){const s=D0(),a=d0();let n,r;return p0(()=>{if(!n.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!om(n[0].el,s.vnode.el,o))return;n.forEach(rm),n.forEach(nm);const u=n.filter(im);cc(),u.forEach(b=>{const l=b.el,p=l.style;Ys(l,o),p.transform=p.webkitTransform=p.transitionDuration="";const c=l._moveCb=M=>{M&&M.target!==l||(!M||/transform$/.test(M.propertyName))&&(l.removeEventListener("transitionend",c),l._moveCb=null,ia(l,o))};l.addEventListener("transitionend",c)})}),()=>{const o=ht(e),u=ac(o);let b=o.tag||ut;n=r,r=t.default?eo(t.default()):[];for(let l=0;l{o.split(/\s+/).forEach(u=>u&&a.classList.remove(u))}),s.split(/\s+/).forEach(o=>o&&a.classList.add(o)),a.style.display="none";const n=t.nodeType===1?t:t.parentNode;n.appendChild(a);const{hasTransform:r}=ic(a);return n.removeChild(a),r}const lm=["ctrl","shift","alt","meta"],cm={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>lm.some(s=>e[`${s}Key`]&&!t.includes(s))},oa=(e,t)=>(s,...a)=>{for(let n=0;ns=>{if(!("key"in s))return;const a=Qa(s.key);if(t.some(n=>n===a||um[n]===a))return e(s)},Un={beforeMount(e,{value:t},{transition:s}){e._vod=e.style.display==="none"?"":e.style.display,s&&t?s.beforeEnter(e):Rr(e,t)},mounted(e,{value:t},{transition:s}){s&&t&&s.enter(e)},updated(e,{value:t,oldValue:s},{transition:a}){!t!=!s&&(a?t?(a.beforeEnter(e),Rr(e,!0),a.enter(e)):a.leave(e,()=>{Rr(e,!1)}):Rr(e,t))},beforeUnmount(e,{value:t}){Rr(e,t)}};function Rr(e,t){e.style.display=t?e._vod:"none"}const dm=Er({patchProp:Qf},Nf);let fc;function fm(){return fc||(fc=nf(dm))}const mc=(...e)=>{fm().render(...e)};var St=(e,t)=>{const s=e.__vccOpts||e;for(const[a,n]of t)s[a]=n;return s};const mm={name:"AppLoader",props:{show:{type:Boolean,default:!1},infinite:{type:Boolean,default:!1},type:{type:String,required:!0},messageId:{type:String,default:""}}},hm=he("div",{id:"vac-circle"},null,-1),vm=he("div",{id:"vac-circle"},null,-1),_m=he("div",{id:"vac-circle"},null,-1),pm=he("div",{id:"vac-circle"},null,-1),gm=he("div",{id:"vac-circle"},null,-1),bm=he("div",{id:"vac-circle"},null,-1);function ym(e,t,s,a,n,r){return Q(),_t(Lt,{name:"vac-fade-spinner",appear:""},{default:Ke(()=>[s.show?(Q(),ne("div",{key:0,class:at(["vac-loader-wrapper",{"vac-container-center":!s.infinite,"vac-container-top":s.infinite}])},[s.type==="rooms"?Re(e.$slots,"spinner-icon-rooms",{key:0},()=>[hm]):Be("",!0),s.type==="infinite-rooms"?Re(e.$slots,"spinner-icon-infinite-rooms",{key:1},()=>[vm]):Be("",!0),s.type==="message-file"?Re(e.$slots,"spinner-icon-message-file_"+s.messageId,{key:2},()=>[_m]):Be("",!0),s.type==="room-file"?Re(e.$slots,"spinner-icon-room-file",{key:3},()=>[pm]):Be("",!0),s.type==="messages"?Re(e.$slots,"spinner-icon-messages",{key:4},()=>[gm]):Be("",!0),s.type==="infinite-messages"?Re(e.$slots,"spinner-icon-infinite-messages",{key:5},()=>[bm]):Be("",!0)],2)):Be("",!0)]),_:3})}var Dn=St(mm,[["render",ym]]);const xm={name:"SvgIcon",props:{name:{type:String,default:null},param:{type:String,default:null}},data(){return{svgItem:{search:{path:"M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z"},add:{path:"M17,13H13V17H11V13H7V11H11V7H13V11H17M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},toggle:{path:"M5,13L9,17L7.6,18.42L1.18,12L7.6,5.58L9,7L5,11H21V13H5M21,6V8H11V6H21M21,16V18H11V16H21Z"},menu:{path:"M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z"},close:{path:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z"},file:{path:"M14,17H7V15H14M17,13H7V11H17M17,9H7V7H17M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"},paperclip:{path:"M16.5,6V17.5A4,4 0 0,1 12.5,21.5A4,4 0 0,1 8.5,17.5V5A2.5,2.5 0 0,1 11,2.5A2.5,2.5 0 0,1 13.5,5V15.5A1,1 0 0,1 12.5,16.5A1,1 0 0,1 11.5,15.5V6H10V15.5A2.5,2.5 0 0,0 12.5,18A2.5,2.5 0 0,0 15,15.5V5A4,4 0 0,0 11,1A4,4 0 0,0 7,5V17.5A5.5,5.5 0 0,0 12.5,23A5.5,5.5 0 0,0 18,17.5V6H16.5Z"},"close-outline":{path:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"},send:{path:"M2,21L23,12L2,3V10L17,12L2,14V21Z"},emoji:{path:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11zm3.5 6.5c2.33 0 4.31-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5z"},document:{path:"M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z"},pencil:{path:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z"},checkmark:{path:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"},"double-checkmark":{path:"M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"},eye:{path:"M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z"},dropdown:{path:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"},deleted:{path:"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12C4,13.85 4.63,15.55 5.68,16.91L16.91,5.68C15.55,4.63 13.85,4 12,4M12,20A8,8 0 0,0 20,12C20,10.15 19.37,8.45 18.32,7.09L7.09,18.32C8.45,19.37 10.15,20 12,20Z"},microphone:{size:"large",path:"M432.8,216.4v39.2c0,45.2-15.3,84.3-45.2,118.4c-29.8,33.2-67.3,52.8-111.6,57.9v40.9h78.4c5.1,0,10.2,1.7,13.6,6c4.3,4.3,6,8.5,6,13.6c0,5.1-1.7,10.2-6,13.6c-4.3,4.3-8.5,6-13.6,6H157.6c-5.1,0-10.2-1.7-13.6-6c-4.3-4.3-6-8.5-6-13.6c0-5.1,1.7-10.2,6-13.6c4.3-4.3,8.5-6,13.6-6H236v-40.9c-44.3-5.1-81.8-23.9-111.6-57.9s-45.2-73.3-45.2-118.4v-39.2c0-5.1,1.7-10.2,6-13.6c4.3-4.3,8.5-6,13.6-6s10.2,1.7,13.6,6c4.3,4.3,6,8.5,6,13.6v39.2c0,37.5,13.6,70.7,40,97.1s59.6,40,97.1,40s70.7-13.6,97.1-40c26.4-26.4,40-59.6,40-97.1v-39.2c0-5.1,1.7-10.2,6-13.6c4.3-4.3,8.5-6,13.6-6c5.1,0,10.2,1.7,13.6,6C430.2,206.2,432.8,211.3,432.8,216.4z M353.5,98v157.6c0,27.3-9.4,50.3-29,69c-19.6,19.6-42.6,29-69,29s-50.3-9.4-69-29c-19.6-19.6-29-42.6-29-69V98c0-27.3,9.4-50.3,29-69c19.6-19.6,42.6-29,69-29s50.3,9.4,69,29C344.2,47.7,353.5,71.6,353.5,98z"},"audio-play":{size:"medium",path:"M43.331,21.237L7.233,0.397c-0.917-0.529-2.044-0.529-2.96,0c-0.916,0.528-1.48,1.505-1.48,2.563v41.684 c0,1.058,0.564,2.035,1.48,2.563c0.458,0.268,0.969,0.397,1.48,0.397c0.511,0,1.022-0.133,1.48-0.397l36.098-20.84 c0.918-0.529,1.479-1.506,1.479-2.564S44.247,21.767,43.331,21.237z"},"audio-pause":{size:"medium",path:"M17.991,40.976c0,3.662-2.969,6.631-6.631,6.631l0,0c-3.662,0-6.631-2.969-6.631-6.631V6.631C4.729,2.969,7.698,0,11.36,0l0,0c3.662,0,6.631,2.969,6.631,6.631V40.976z",path2:"M42.877,40.976c0,3.662-2.969,6.631-6.631,6.631l0,0c-3.662,0-6.631-2.969-6.631-6.631V6.631C29.616,2.969,32.585,0,36.246,0l0,0c3.662,0,6.631,2.969,6.631,6.631V40.976z"}}}},computed:{svgId(){const e=this.param?"-"+this.param:"";return`vac-icon-${this.name}${e}`},size(){const e=this.svgItem[this.name];return e.size==="large"?512:e.size==="medium"?48:24}}},wm=["viewBox"],Sm=["id","d"],Mm=["id","d"];function Am(e,t,s,a,n,r){return Q(),ne("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1",width:"24",height:"24",viewBox:`0 0 ${r.size} ${r.size}`},[he("path",{id:r.svgId,d:n.svgItem[s.name].path},null,8,Sm),n.svgItem[s.name].path2?(Q(),ne("path",{key:0,id:r.svgId,d:n.svgItem[s.name].path2},null,8,Mm)):Be("",!0)],8,wm)}var Ut=St(xm,[["render",Am]]);const Em={name:"RoomsSearch",components:{SvgIcon:Ut},props:{textMessages:{type:Object,required:!0},showSearch:{type:Boolean,required:!0},showAddRoom:{type:Boolean,required:!0},rooms:{type:Array,required:!0},loadingRooms:{type:Boolean,required:!0}},emits:["search-room","add-room"],computed:{showSearchBar(){return this.showSearch||this.showAddRoom}}},Tm={key:0,class:"vac-icon-search"},km=["placeholder"];function Rm(e,t,s,a,n,r){const o=Ge("svg-icon");return Q(),ne("div",{class:at({"vac-box-search":r.showSearchBar,"vac-box-empty":!r.showSearchBar})},[s.showSearch?(Q(),ne(ut,{key:0},[!s.loadingRooms&&s.rooms.length?(Q(),ne("div",Tm,[Re(e.$slots,"search-icon",{},()=>[Oe(o,{name:"search"})])])):Be("",!0),!s.loadingRooms&&s.rooms.length?(Q(),ne("input",{key:1,type:"search",placeholder:s.textMessages.SEARCH,autocomplete:"off",class:"vac-input",onInput:t[0]||(t[0]=u=>e.$emit("search-room",u))},null,40,km)):Be("",!0)],64)):Be("",!0),s.showAddRoom?(Q(),ne("div",{key:1,class:"vac-svg-button vac-add-icon",onClick:t[1]||(t[1]=u=>e.$emit("add-room"))},[Re(e.$slots,"add-icon",{},()=>[Oe(o,{name:"add"})])])):Be("",!0)],2)}var Om=St(Em,[["render",Rm]]),qt={},Ja={};Ja.__esModule=!0,Ja.inherits=Im;function Im(e,t){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=Object.create(e.prototype);for(var n in s)a[n]=s[n];return a.constructor=t,t.prototype=a,t}var Or={};Or.__esModule=!0;var Cm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ls={defaultProtocol:"http",events:null,format:vc,formatHref:vc,nl2br:!1,tagName:"a",target:Lm,validate:!0,ignoreTags:[],attributes:null,className:"linkified"};Or.defaults=ls,Or.Options=hc,Or.contains=Bm;function hc(e){e=e||{},this.defaultProtocol=e.hasOwnProperty("defaultProtocol")?e.defaultProtocol:ls.defaultProtocol,this.events=e.hasOwnProperty("events")?e.events:ls.events,this.format=e.hasOwnProperty("format")?e.format:ls.format,this.formatHref=e.hasOwnProperty("formatHref")?e.formatHref:ls.formatHref,this.nl2br=e.hasOwnProperty("nl2br")?e.nl2br:ls.nl2br,this.tagName=e.hasOwnProperty("tagName")?e.tagName:ls.tagName,this.target=e.hasOwnProperty("target")?e.target:ls.target,this.validate=e.hasOwnProperty("validate")?e.validate:ls.validate,this.ignoreTags=[],this.attributes=e.attributes||e.linkAttributes||ls.attributes,this.className=e.hasOwnProperty("className")?e.className:e.linkClass||ls.className;for(var t=e.hasOwnProperty("ignoreTags")?e.ignoreTags:ls.ignoreTags,s=0;s1&&arguments[1]!==void 0?arguments[1]:null,a=this.next(new t(""));return a===this.defaultTransition?(a=new this.constructor(s),this.on(t,a)):s&&(a.T=s),a},test:function(t,s){return t instanceof s}});function jm(e,t,s,a){for(var n=0,r=e.length,o=t,u=[],b=void 0;n=r)return[];for(;n!!s[n.toLowerCase()]:n=>!!s[n]}const xu=()=>{},wu=Object.assign,Su=Object.prototype.hasOwnProperty,hn=(e,t)=>Su.call(e,t),Ws=Array.isArray,vn=e=>yl(e)==="[object Map]",Mu=e=>typeof e=="function",Au=e=>typeof e=="string",Mi=e=>typeof e=="symbol",_n=e=>e!==null&&typeof e=="object",Eu=Object.prototype.toString,yl=e=>Eu.call(e),Tu=e=>yl(e).slice(8,-1),Ai=e=>Au(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,xl=(e,t)=>!Object.is(e,t),ku=(e,t,s)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:s})};let ks;class Ru{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&ks&&(this.parent=ks,this.index=(ks.scopes||(ks.scopes=[])).push(this)-1)}run(t){if(this.active){const s=ks;try{return ks=this,t()}finally{ks=s}}}on(){ks=this}off(){ks=this.parent}stop(t){if(this.active){let s,a;for(s=0,a=this.effects.length;s{const t=new Set(e);return t.w=0,t.n=0,t},wl=e=>(e.w&Qs)>0,Sl=e=>(e.n&Qs)>0,Iu=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let s=0;for(let a=0;a{(l==="length"||l>=a)&&u.push(b)});else switch(s!==void 0&&u.push(o.get(s)),t){case"add":Ws(e)?Ai(s)&&u.push(o.get("length")):(u.push(o.get(pa)),vn(e)&&u.push(o.get(Ri)));break;case"delete":Ws(e)||(u.push(o.get(pa)),vn(e)&&u.push(o.get(Ri)));break;case"set":vn(e)&&u.push(o.get(pa));break}if(u.length===1)u[0]&&Ii(u[0]);else{const b=[];for(const l of u)l&&b.push(...l);Ii(Ei(b))}}function Ii(e,t){const s=Ws(e)?e:[...e];for(const a of s)a.computed&&Tl(a);for(const a of s)a.computed||Tl(a)}function Tl(e,t){(e!==ys||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Bu=mr("__proto__,__v_isRef,__isVue"),kl=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Mi)),Lu=Ci(),Nu=Ci(!1,!0),ju=Ci(!0),Rl=Hu();function Hu(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...s){const a=ht(this);for(let r=0,o=this.length;r{e[t]=function(...s){za();const a=ht(this)[t].apply(this,s);return Ya(),a}}),e}function Ci(e=!1,t=!1){return function(a,n,r){if(n==="__v_isReactive")return!e;if(n==="__v_isReadonly")return e;if(n==="__v_isShallow")return t;if(n==="__v_raw"&&r===(e?t?$u:Fl:t?Hl:jl).get(a))return a;const o=Ws(a);if(!e&&o&&hn(Rl,n))return Reflect.get(Rl,n,r);const u=Reflect.get(a,n,r);return(Mi(n)?kl.has(n):Bu(n))||(e||ns(a,"get",n),t)?u:Kt(u)?o&&Ai(n)?u:u.value:_n(u)?e?Pl(u):Ni(u):u}}const Fu=Ol(),Pu=Ol(!0);function Ol(e=!1){return function(s,a,n,r){let o=s[a];if(vr(o)&&Kt(o)&&!Kt(n))return!1;if(!e&&!vr(n)&&(Hi(n)||(n=ht(n),o=ht(o)),!Ws(s)&&Kt(o)&&!Kt(n)))return o.value=n,!0;const u=Ws(s)&&Ai(a)?Number(a)e,pn=e=>Reflect.getPrototypeOf(e);function gn(e,t,s=!1,a=!1){e=e.__v_raw;const n=ht(e),r=ht(t);s||(t!==r&&ns(n,"get",t),ns(n,"get",r));const{has:o}=pn(n),u=a?Bi:s?Pi:Fi;if(o.call(n,t))return u(e.get(t));if(o.call(n,r))return u(e.get(r));e!==n&&e.get(t)}function bn(e,t=!1){const s=this.__v_raw,a=ht(s),n=ht(e);return t||(e!==n&&ns(a,"has",e),ns(a,"has",n)),e===n?s.has(e):s.has(e)||s.has(n)}function yn(e,t=!1){return e=e.__v_raw,!t&&ns(ht(e),"iterate",pa),Reflect.get(e,"size",e)}function Cl(e){e=ht(e);const t=ht(this);return pn(t).has.call(t,e)||(t.add(e),Ds(t,"add",e,e)),this}function Bl(e,t){t=ht(t);const s=ht(this),{has:a,get:n}=pn(s);let r=a.call(s,e);r||(e=ht(e),r=a.call(s,e));const o=n.call(s,e);return s.set(e,t),r?xl(t,o)&&Ds(s,"set",e,t):Ds(s,"add",e,t),this}function Ll(e){const t=ht(this),{has:s,get:a}=pn(t);let n=s.call(t,e);n||(e=ht(e),n=s.call(t,e)),a&&a.call(t,e);const r=t.delete(e);return n&&Ds(t,"delete",e,void 0),r}function Nl(){const e=ht(this),t=e.size!==0,s=e.clear();return t&&Ds(e,"clear",void 0,void 0),s}function xn(e,t){return function(a,n){const r=this,o=r.__v_raw,u=ht(o),b=t?Bi:e?Pi:Fi;return!e&&ns(u,"iterate",pa),o.forEach((l,p)=>a.call(n,b(l),b(p),r))}}function wn(e,t,s){return function(...a){const n=this.__v_raw,r=ht(n),o=vn(r),u=e==="entries"||e===Symbol.iterator&&o,b=e==="keys"&&o,l=n[e](...a),p=s?Bi:t?Pi:Fi;return!t&&ns(r,"iterate",b?Ri:pa),{next(){const{value:c,done:M}=l.next();return M?{value:c,done:M}:{value:u?[p(c[0]),p(c[1])]:p(c),done:M}},[Symbol.iterator](){return this}}}}function $s(e){return function(...t){return e==="delete"?!1:this}}function Yu(){const e={get(r){return gn(this,r)},get size(){return yn(this)},has:bn,add:Cl,set:Bl,delete:Ll,clear:Nl,forEach:xn(!1,!1)},t={get(r){return gn(this,r,!1,!0)},get size(){return yn(this)},has:bn,add:Cl,set:Bl,delete:Ll,clear:Nl,forEach:xn(!1,!0)},s={get(r){return gn(this,r,!0)},get size(){return yn(this,!0)},has(r){return bn.call(this,r,!0)},add:$s("add"),set:$s("set"),delete:$s("delete"),clear:$s("clear"),forEach:xn(!0,!1)},a={get(r){return gn(this,r,!0,!0)},get size(){return yn(this,!0)},has(r){return bn.call(this,r,!0)},add:$s("add"),set:$s("set"),delete:$s("delete"),clear:$s("clear"),forEach:xn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=wn(r,!1,!1),s[r]=wn(r,!0,!1),t[r]=wn(r,!1,!0),a[r]=wn(r,!0,!0)}),[e,s,t,a]}const[Xu,Ku,Gu,Zu]=Yu();function Li(e,t){const s=t?e?Zu:Gu:e?Ku:Xu;return(a,n,r)=>n==="__v_isReactive"?!e:n==="__v_isReadonly"?e:n==="__v_raw"?a:Reflect.get(hn(s,n)&&n in a?s:a,n,r)}const Wu={get:Li(!1,!1)},Qu={get:Li(!1,!0)},Ju={get:Li(!0,!1)},jl=new WeakMap,Hl=new WeakMap,Fl=new WeakMap,$u=new WeakMap;function ed(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function td(e){return e.__v_skip||!Object.isExtensible(e)?0:ed(Tu(e))}function Ni(e){return vr(e)?e:ji(e,!1,Il,Wu,jl)}function sd(e){return ji(e,!1,zu,Qu,Hl)}function Pl(e){return ji(e,!0,Vu,Ju,Fl)}function ji(e,t,s,a,n){if(!_n(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=n.get(e);if(r)return r;const o=td(e);if(o===0)return e;const u=new Proxy(e,o===2?a:s);return n.set(e,u),u}function Xa(e){return vr(e)?Xa(e.__v_raw):!!(e&&e.__v_isReactive)}function vr(e){return!!(e&&e.__v_isReadonly)}function Hi(e){return!!(e&&e.__v_isShallow)}function Ul(e){return Xa(e)||vr(e)}function ht(e){const t=e&&e.__v_raw;return t?ht(t):e}function Dl(e){return ku(e,"__v_skip",!0),e}const Fi=e=>_n(e)?Ni(e):e,Pi=e=>_n(e)?Pl(e):e;function ad(e){Js&&ys&&(e=ht(e),El(e.dep||(e.dep=Ei())))}function rd(e,t){e=ht(e),e.dep&&Ii(e.dep)}function Kt(e){return!!(e&&e.__v_isRef===!0)}function nd(e){return Kt(e)?e.value:e}const id={get:(e,t,s)=>nd(Reflect.get(e,t,s)),set:(e,t,s,a)=>{const n=e[t];return Kt(n)&&!Kt(s)?(n.value=s,!0):Reflect.set(e,t,s,a)}};function ql(e){return Xa(e)?e:new Proxy(e,id)}class od{constructor(t,s,a,n){this._setter=s,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new Oi(t,()=>{this._dirty||(this._dirty=!0,rd(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!n,this.__v_isReadonly=a}get value(){const t=ht(this);return ad(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function ld(e,t,s=!1){let a,n;const r=Mu(e);return r?(a=e,n=xu):(a=e.get,n=e.set),new od(a,n,r||!n,s)}function cd(e,t){const s=Object.create(null),a=e.split(",");for(let n=0;n!!s[n.toLowerCase()]:n=>!!s[n]}function ft(e){if(lt(e)){const t={};for(let s=0;s{if(s){const a=s.split(dd);a.length>1&&(t[a[0].trim()]=a[1].trim())}}),t}function at(e){let t="";if(Gt(e))t=e;else if(lt(e))for(let s=0;sGt(e)?e:e==null?"":lt(e)||Zt(e)&&(e.toString===Gl||!nt(e.toString))?JSON.stringify(e,Vl,2):String(e),Vl=(e,t)=>t&&t.__v_isRef?Vl(e,t.value):Yl(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[a,n])=>(s[`${a} =>`]=n,s),{})}:Xl(t)?{[`Set(${t.size})`]:[...t.values()]}:Zt(t)&&!lt(t)&&!Zl(t)?String(t):t,wt={},Ka=[],Rs=()=>{},md=()=>!1,hd=/^on[^a-z]/,Ui=e=>hd.test(e),zl=e=>e.startsWith("onUpdate:"),is=Object.assign,Di=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},vd=Object.prototype.hasOwnProperty,vt=(e,t)=>vd.call(e,t),lt=Array.isArray,Yl=e=>qi(e)==="[object Map]",Xl=e=>qi(e)==="[object Set]",nt=e=>typeof e=="function",Gt=e=>typeof e=="string",Zt=e=>e!==null&&typeof e=="object",Kl=e=>Zt(e)&&nt(e.then)&&nt(e.catch),Gl=Object.prototype.toString,qi=e=>Gl.call(e),Zl=e=>qi(e)==="[object Object]",Sn=cd(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Mn=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},_d=/-(\w)/g,Os=Mn(e=>e.replace(_d,(t,s)=>s?s.toUpperCase():"")),pd=/\B([A-Z])/g,An=Mn(e=>e.replace(pd,"-$1").toLowerCase()),Vi=Mn(e=>e.charAt(0).toUpperCase()+e.slice(1)),zi=Mn(e=>e?`on${Vi(e)}`:""),Wl=(e,t)=>!Object.is(e,t),Yi=(e,t)=>{for(let s=0;s{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:s})},gd=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ql;const bd=()=>Ql||(Ql=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function ea(e,t,s,a){let n;try{n=a?e(...a):e()}catch(r){En(r,t,s)}return n}function ms(e,t,s,a){if(nt(e)){const r=ea(e,t,s,a);return r&&Kl(r)&&r.catch(o=>{En(o,t,s)}),r}const n=[];for(let r=0;r>>1;br(os[a])qs&&os.splice(t,1)}function s0(e,t,s,a){lt(e)?s.push(...e):(!t||!t.includes(e,e.allowRecurse?a+1:a))&&s.push(e),t0()}function Sd(e){s0(e,pr,_r,Ga)}function Md(e){s0(e,ta,gr,Za)}function kn(e,t=null){if(_r.length){for(Zi=t,pr=[...new Set(_r)],_r.length=0,Ga=0;Gabr(s)-br(a)),Za=0;Zae.id==null?1/0:e.id;function r0(e){Ki=!1,Tn=!0,kn(e),os.sort((s,a)=>br(s)-br(a));const t=Rs;try{for(qs=0;qsA.trim())),c&&(n=s.map(gd))}let u,b=a[u=zi(t)]||a[u=zi(Os(t))];!b&&r&&(b=a[u=zi(An(t))]),b&&ms(b,e,6,n);const l=a[u+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[u])return;e.emitted[u]=!0,ms(l,e,6,n)}}function n0(e,t,s=!1){const a=t.emitsCache,n=a.get(e);if(n!==void 0)return n;const r=e.emits;let o={},u=!1;if(!nt(e)){const b=l=>{const p=n0(l,t,!0);p&&(u=!0,is(o,p))};!s&&t.mixins.length&&t.mixins.forEach(b),e.extends&&b(e.extends),e.mixins&&e.mixins.forEach(b)}return!r&&!u?(a.set(e,null),null):(lt(r)?r.forEach(b=>o[b]=null):is(o,r),a.set(e,o),o)}function Rn(e,t){return!e||!Ui(t)?!1:(t=t.slice(2).replace(/Once$/,""),vt(e,t[0].toLowerCase()+t.slice(1))||vt(e,An(t))||vt(e,t))}let Dt=null,i0=null;function On(e){const t=Dt;return Dt=e,i0=e&&e.type.__scopeId||null,t}function Ke(e,t=Dt,s){if(!t||e._n)return e;const a=(...n)=>{a._d&&F0(-1);const r=On(t),o=e(...n);return On(r),a._d&&F0(1),o};return a._n=!0,a._c=!0,a._d=!0,a}function m4(){}function Wi(e){const{type:t,vnode:s,proxy:a,withProxy:n,props:r,propsOptions:[o],slots:u,attrs:b,emit:l,render:p,renderCache:c,data:M,setupState:A,ctx:i,inheritAttrs:H}=e;let B,N;const m=On(e);try{if(s.shapeFlag&4){const C=n||a;B=Is(p.call(C,C,c,r,A,M,i)),N=b}else{const C=t;B=Is(C.length>1?C(r,{attrs:b,slots:u,emit:l}):C(r,null)),N=t.props?b:Ed(b)}}catch(C){Sr.length=0,En(C,e,1),B=Oe(vs)}let R=B;if(N&&H!==!1){const C=Object.keys(N),{shapeFlag:T}=R;C.length&&T&7&&(o&&C.some(zl)&&(N=Td(N,o)),R=sa(R,N))}return s.dirs&&(R=sa(R),R.dirs=R.dirs?R.dirs.concat(s.dirs):s.dirs),s.transition&&(R.transition=s.transition),B=R,On(m),B}const Ed=e=>{let t;for(const s in e)(s==="class"||s==="style"||Ui(s))&&((t||(t={}))[s]=e[s]);return t},Td=(e,t)=>{const s={};for(const a in e)(!zl(a)||!(a.slice(9)in t))&&(s[a]=e[a]);return s};function kd(e,t,s){const{props:a,children:n,component:r}=e,{props:o,children:u,patchFlag:b}=t,l=r.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&b>=0){if(b&1024)return!0;if(b&16)return a?o0(a,o,l):!!o;if(b&8){const p=t.dynamicProps;for(let c=0;ce.__isSuspense;function Id(e,t){t&&t.pendingBranch?lt(e)?t.effects.push(...e):t.effects.push(e):Md(e)}function Cd(e,t){if(Ft){let s=Ft.provides;const a=Ft.parent&&Ft.parent.provides;a===s&&(s=Ft.provides=Object.create(a)),s[e]=t}}function Qi(e,t,s=!1){const a=Ft||Dt;if(a){const n=a.parent==null?a.vnode.appContext&&a.vnode.appContext.provides:a.parent.provides;if(n&&e in n)return n[e];if(arguments.length>1)return s&&nt(t)?t.call(a.proxy):t}}const l0={};function Ji(e,t,s){return c0(e,t,s)}function c0(e,t,{immediate:s,deep:a,flush:n,onTrack:r,onTrigger:o}=wt){const u=Ft;let b,l=!1,p=!1;if(Kt(e)?(b=()=>e.value,l=Hi(e)):Xa(e)?(b=()=>e,a=!0):lt(e)?(p=!0,l=e.some(N=>Xa(N)||Hi(N)),b=()=>e.map(N=>{if(Kt(N))return N.value;if(Xa(N))return ga(N);if(nt(N))return ea(N,u,2)})):nt(e)?t?b=()=>ea(e,u,2):b=()=>{if(!(u&&u.isUnmounted))return c&&c(),ms(e,u,3,[M])}:b=Rs,t&&a){const N=b;b=()=>ga(N())}let c,M=N=>{c=B.onStop=()=>{ea(N,u,4)}};if(Ar)return M=Rs,t?s&&ms(t,u,3,[b(),p?[]:void 0,M]):b(),Rs;let A=p?[]:l0;const i=()=>{if(!!B.active)if(t){const N=B.run();(a||l||(p?N.some((m,R)=>Wl(m,A[R])):Wl(N,A)))&&(c&&c(),ms(t,u,3,[N,A===l0?void 0:A,M]),A=N)}else B.run()};i.allowRecurse=!!t;let H;n==="sync"?H=i:n==="post"?H=()=>Jt(i,u&&u.suspense):H=()=>Sd(i);const B=new Oi(b,H);return t?s?i():A=B.run():n==="post"?Jt(B.run.bind(B),u&&u.suspense):B.run(),()=>{B.stop(),u&&u.scope&&Di(u.scope.effects,B)}}function Bd(e,t,s){const a=this.proxy,n=Gt(e)?e.includes(".")?u0(a,e):()=>a[e]:e.bind(a,a);let r;nt(t)?r=t:(r=t.handler,s=t);const o=Ft;Wa(this);const u=c0(n,r.bind(a),s);return o?Wa(o):Sa(),u}function u0(e,t){const s=t.split(".");return()=>{let a=e;for(let n=0;n{ga(s,t)});else if(Zl(e))for(const s in e)ga(e[s],t);return e}function d0(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return _0(()=>{e.isMounted=!0}),g0(()=>{e.isUnmounting=!0}),e}const hs=[Function,Array],f0={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:hs,onEnter:hs,onAfterEnter:hs,onEnterCancelled:hs,onBeforeLeave:hs,onLeave:hs,onAfterLeave:hs,onLeaveCancelled:hs,onBeforeAppear:hs,onAppear:hs,onAfterAppear:hs,onAppearCancelled:hs},setup(e,{slots:t}){const s=D0(),a=d0();let n;return()=>{const r=t.default&&eo(t.default(),!0);if(!r||!r.length)return;let o=r[0];if(r.length>1){for(const H of r)if(H.type!==vs){o=H;break}}const u=ht(e),{mode:b}=u;if(a.isLeaving)return $i(o);const l=h0(o);if(!l)return $i(o);const p=yr(l,u,a,s);xr(l,p);const c=s.subTree,M=c&&h0(c);let A=!1;const{getTransitionKey:i}=l.type;if(i){const H=i();n===void 0?n=H:H!==n&&(n=H,A=!0)}if(M&&M.type!==vs&&(!wa(l,M)||A)){const H=yr(M,u,a,s);if(xr(M,H),b==="out-in")return a.isLeaving=!0,H.afterLeave=()=>{a.isLeaving=!1,s.update()},$i(o);b==="in-out"&&l.type!==vs&&(H.delayLeave=(B,N,m)=>{const R=m0(a,M);R[String(M.key)]=M,B._leaveCb=()=>{N(),B._leaveCb=void 0,delete p.delayedLeave},p.delayedLeave=m})}return o}}};function m0(e,t){const{leavingVNodes:s}=e;let a=s.get(t.type);return a||(a=Object.create(null),s.set(t.type,a)),a}function yr(e,t,s,a){const{appear:n,mode:r,persisted:o=!1,onBeforeEnter:u,onEnter:b,onAfterEnter:l,onEnterCancelled:p,onBeforeLeave:c,onLeave:M,onAfterLeave:A,onLeaveCancelled:i,onBeforeAppear:H,onAppear:B,onAfterAppear:N,onAppearCancelled:m}=t,R=String(e.key),C=m0(s,e),T=(E,w)=>{E&&ms(E,a,9,w)},L=(E,w)=>{const h=w[1];T(E,w),lt(E)?E.every(g=>g.length<=1)&&h():E.length<=1&&h()},f={mode:r,persisted:o,beforeEnter(E){let w=u;if(!s.isMounted)if(n)w=H||u;else return;E._leaveCb&&E._leaveCb(!0);const h=C[R];h&&wa(e,h)&&h.el._leaveCb&&h.el._leaveCb(),T(w,[E])},enter(E){let w=b,h=l,g=p;if(!s.isMounted)if(n)w=B||b,h=N||l,g=m||p;else return;let _=!1;const v=E._enterCb=x=>{_||(_=!0,x?T(g,[E]):T(h,[E]),f.delayedLeave&&f.delayedLeave(),E._enterCb=void 0)};w?L(w,[E,v]):v()},leave(E,w){const h=String(e.key);if(E._enterCb&&E._enterCb(!0),s.isUnmounting)return w();T(c,[E]);let g=!1;const _=E._leaveCb=v=>{g||(g=!0,w(),v?T(i,[E]):T(A,[E]),E._leaveCb=void 0,C[h]===e&&delete C[h])};C[h]=e,M?L(M,[E,_]):_()},clone(E){return yr(E,t,s,a)}};return f}function $i(e){if(In(e))return e=sa(e),e.children=null,e}function h0(e){return In(e)?e.children?e.children[0]:void 0:e}function xr(e,t){e.shapeFlag&6&&e.component?xr(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function eo(e,t=!1,s){let a=[],n=0;for(let r=0;r1)for(let r=0;r!!e.type.__asyncLoader,In=e=>e.type.__isKeepAlive;function Nd(e,t){v0(e,"a",t)}function jd(e,t){v0(e,"da",t)}function v0(e,t,s=Ft){const a=e.__wdc||(e.__wdc=()=>{let n=s;for(;n;){if(n.isDeactivated)return;n=n.parent}return e()});if(Cn(t,a,s),s){let n=s.parent;for(;n&&n.parent;)In(n.parent.vnode)&&Hd(a,t,s,n),n=n.parent}}function Hd(e,t,s,a){const n=Cn(t,e,a,!0);b0(()=>{Di(a[t],n)},s)}function Cn(e,t,s=Ft,a=!1){if(s){const n=s[e]||(s[e]=[]),r=t.__weh||(t.__weh=(...o)=>{if(s.isUnmounted)return;za(),Wa(s);const u=ms(t,s,e,o);return Sa(),Ya(),u});return a?n.unshift(r):n.push(r),r}}const Vs=e=>(t,s=Ft)=>(!Ar||e==="sp")&&Cn(e,t,s),Fd=Vs("bm"),_0=Vs("m"),Pd=Vs("bu"),p0=Vs("u"),g0=Vs("bum"),b0=Vs("um"),Ud=Vs("sp"),Dd=Vs("rtg"),qd=Vs("rtc");function Vd(e,t=Ft){Cn("ec",e,t)}function zs(e,t){const s=Dt;if(s===null)return e;const a=Pn(s)||s.proxy,n=e.dirs||(e.dirs=[]);for(let r=0;rt(o,u,void 0,r&&r[u]));else{const o=Object.keys(e);n=new Array(o.length);for(let u=0,b=o.length;ujn(t)?!(t.type===vs||t.type===ut&&!w0(t.children)):!0)?e:null}const ao=e=>e?q0(e)?Pn(e)||e.proxy:ao(e.parent):null,Ln=is(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ao(e.parent),$root:e=>ao(e.root),$emit:e=>e.emit,$options:e=>A0(e),$forceUpdate:e=>e.f||(e.f=()=>e0(e.update)),$nextTick:e=>e.n||(e.n=$l.bind(e.proxy)),$watch:e=>Bd.bind(e)}),Xd={get({_:e},t){const{ctx:s,setupState:a,data:n,props:r,accessCache:o,type:u,appContext:b}=e;let l;if(t[0]!=="$"){const A=o[t];if(A!==void 0)switch(A){case 1:return a[t];case 2:return n[t];case 4:return s[t];case 3:return r[t]}else{if(a!==wt&&vt(a,t))return o[t]=1,a[t];if(n!==wt&&vt(n,t))return o[t]=2,n[t];if((l=e.propsOptions[0])&&vt(l,t))return o[t]=3,r[t];if(s!==wt&&vt(s,t))return o[t]=4,s[t];ro&&(o[t]=0)}}const p=Ln[t];let c,M;if(p)return t==="$attrs"&&ns(e,"get",t),p(e);if((c=u.__cssModules)&&(c=c[t]))return c;if(s!==wt&&vt(s,t))return o[t]=4,s[t];if(M=b.config.globalProperties,vt(M,t))return M[t]},set({_:e},t,s){const{data:a,setupState:n,ctx:r}=e;return n!==wt&&vt(n,t)?(n[t]=s,!0):a!==wt&&vt(a,t)?(a[t]=s,!0):vt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:a,appContext:n,propsOptions:r}},o){let u;return!!s[o]||e!==wt&&vt(e,o)||t!==wt&&vt(t,o)||(u=r[0])&&vt(u,o)||vt(a,o)||vt(Ln,o)||vt(n.config.globalProperties,o)},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:vt(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};let ro=!0;function Kd(e){const t=A0(e),s=e.proxy,a=e.ctx;ro=!1,t.beforeCreate&&S0(t.beforeCreate,e,"bc");const{data:n,computed:r,methods:o,watch:u,provide:b,inject:l,created:p,beforeMount:c,mounted:M,beforeUpdate:A,updated:i,activated:H,deactivated:B,beforeDestroy:N,beforeUnmount:m,destroyed:R,unmounted:C,render:T,renderTracked:L,renderTriggered:f,errorCaptured:E,serverPrefetch:w,expose:h,inheritAttrs:g,components:_,directives:v,filters:x}=t;if(l&&Gd(l,a,null,e.appContext.config.unwrapInjectedRef),o)for(const X in o){const P=o[X];nt(P)&&(a[X]=P.bind(s))}if(n){const X=n.call(s,s);Zt(X)&&(e.data=Ni(X))}if(ro=!0,r)for(const X in r){const P=r[X],V=nt(P)?P.bind(s,s):nt(P.get)?P.get.bind(s,s):Rs,d=!nt(P)&&nt(P.set)?P.set.bind(s):Rs,S=xf({get:V,set:d});Object.defineProperty(a,X,{enumerable:!0,configurable:!0,get:()=>S.value,set:Z=>S.value=Z})}if(u)for(const X in u)M0(u[X],a,s,X);if(b){const X=nt(b)?b.call(s):b;Reflect.ownKeys(X).forEach(P=>{Cd(P,X[P])})}p&&S0(p,e,"c");function j(X,P){lt(P)?P.forEach(V=>X(V.bind(s))):P&&X(P.bind(s))}if(j(Fd,c),j(_0,M),j(Pd,A),j(p0,i),j(Nd,H),j(jd,B),j(Vd,E),j(qd,L),j(Dd,f),j(g0,m),j(b0,C),j(Ud,w),lt(h))if(h.length){const X=e.exposed||(e.exposed={});h.forEach(P=>{Object.defineProperty(X,P,{get:()=>s[P],set:V=>s[P]=V})})}else e.exposed||(e.exposed={});T&&e.render===Rs&&(e.render=T),g!=null&&(e.inheritAttrs=g),_&&(e.components=_),v&&(e.directives=v)}function Gd(e,t,s=Rs,a=!1){lt(e)&&(e=no(e));for(const n in e){const r=e[n];let o;Zt(r)?"default"in r?o=Qi(r.from||n,r.default,!0):o=Qi(r.from||n):o=Qi(r),Kt(o)&&a?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:u=>o.value=u}):t[n]=o}}function S0(e,t,s){ms(lt(e)?e.map(a=>a.bind(t.proxy)):e.bind(t.proxy),t,s)}function M0(e,t,s,a){const n=a.includes(".")?u0(s,a):()=>s[a];if(Gt(e)){const r=t[e];nt(r)&&Ji(n,r)}else if(nt(e))Ji(n,e.bind(s));else if(Zt(e))if(lt(e))e.forEach(r=>M0(r,t,s,a));else{const r=nt(e.handler)?e.handler.bind(s):t[e.handler];nt(r)&&Ji(n,r,e)}}function A0(e){const t=e.type,{mixins:s,extends:a}=t,{mixins:n,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,u=r.get(t);let b;return u?b=u:!n.length&&!s&&!a?b=t:(b={},n.length&&n.forEach(l=>Nn(b,l,o,!0)),Nn(b,t,o)),r.set(t,b),b}function Nn(e,t,s,a=!1){const{mixins:n,extends:r}=t;r&&Nn(e,r,s,!0),n&&n.forEach(o=>Nn(e,o,s,!0));for(const o in t)if(!(a&&o==="expose")){const u=Zd[o]||s&&s[o];e[o]=u?u(e[o],t[o]):t[o]}return e}const Zd={data:E0,props:ya,emits:ya,methods:ya,computed:ya,beforeCreate:Wt,created:Wt,beforeMount:Wt,mounted:Wt,beforeUpdate:Wt,updated:Wt,beforeDestroy:Wt,beforeUnmount:Wt,destroyed:Wt,unmounted:Wt,activated:Wt,deactivated:Wt,errorCaptured:Wt,serverPrefetch:Wt,components:ya,directives:ya,watch:Qd,provide:E0,inject:Wd};function E0(e,t){return t?e?function(){return is(nt(e)?e.call(this,this):e,nt(t)?t.call(this,this):t)}:t:e}function Wd(e,t){return ya(no(e),no(t))}function no(e){if(lt(e)){const t={};for(let s=0;s0)&&!(o&16)){if(o&8){const p=e.vnode.dynamicProps;for(let c=0;c{b=!0;const[M,A]=k0(c,t,!0);is(o,M),A&&u.push(...A)};!s&&t.mixins.length&&t.mixins.forEach(p),e.extends&&p(e.extends),e.mixins&&e.mixins.forEach(p)}if(!r&&!b)return a.set(e,Ka),Ka;if(lt(r))for(let p=0;p-1,A[1]=H<0||i-1||vt(A,"default"))&&u.push(c)}}}const l=[o,u];return a.set(e,l),l}function R0(e){return e[0]!=="$"}function O0(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function I0(e,t){return O0(e)===O0(t)}function C0(e,t){return lt(t)?t.findIndex(s=>I0(s,e)):nt(t)&&I0(t,e)?0:-1}const B0=e=>e[0]==="_"||e==="$stable",oo=e=>lt(e)?e.map(Is):[Is(e)],ef=(e,t,s)=>{if(t._n)return t;const a=Ke((...n)=>oo(t(...n)),s);return a._c=!1,a},L0=(e,t,s)=>{const a=e._ctx;for(const n in e){if(B0(n))continue;const r=e[n];if(nt(r))t[n]=ef(n,r,a);else if(r!=null){const o=oo(r);t[n]=()=>o}}},N0=(e,t)=>{const s=oo(t);e.slots.default=()=>s},tf=(e,t)=>{if(e.vnode.shapeFlag&32){const s=t._;s?(e.slots=ht(t),Xi(t,"_",s)):L0(t,e.slots={})}else e.slots={},t&&N0(e,t);Xi(e.slots,Hn,1)},sf=(e,t,s)=>{const{vnode:a,slots:n}=e;let r=!0,o=wt;if(a.shapeFlag&32){const u=t._;u?s&&u===1?r=!1:(is(n,t),!s&&u===1&&delete n._):(r=!t.$stable,L0(t,n)),o=t}else t&&(N0(e,t),o={default:1});if(r)for(const u in n)!B0(u)&&!(u in o)&&delete n[u]};function j0(){return{app:null,config:{isNativeTag:md,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let af=0;function rf(e,t){return function(a,n=null){nt(a)||(a=Object.assign({},a)),n!=null&&!Zt(n)&&(n=null);const r=j0(),o=new Set;let u=!1;const b=r.app={_uid:af++,_component:a,_props:n,_container:null,_context:r,_instance:null,version:Sf,get config(){return r.config},set config(l){},use(l,...p){return o.has(l)||(l&&nt(l.install)?(o.add(l),l.install(b,...p)):nt(l)&&(o.add(l),l(b,...p))),b},mixin(l){return r.mixins.includes(l)||r.mixins.push(l),b},component(l,p){return p?(r.components[l]=p,b):r.components[l]},directive(l,p){return p?(r.directives[l]=p,b):r.directives[l]},mount(l,p,c){if(!u){const M=Oe(a,n);return M.appContext=r,p&&t?t(M,l):e(M,l,c),u=!0,b._container=l,l.__vue_app__=b,Pn(M.component)||M.component.proxy}},unmount(){u&&(e(null,b._container),delete b._container.__vue_app__)},provide(l,p){return r.provides[l]=p,b}};return b}}function lo(e,t,s,a,n=!1){if(lt(e)){e.forEach((M,A)=>lo(M,t&&(lt(t)?t[A]:t),s,a,n));return}if(wr(a)&&!n)return;const r=a.shapeFlag&4?Pn(a.component)||a.component.proxy:a.el,o=n?null:r,{i:u,r:b}=e,l=t&&t.r,p=u.refs===wt?u.refs={}:u.refs,c=u.setupState;if(l!=null&&l!==b&&(Gt(l)?(p[l]=null,vt(c,l)&&(c[l]=null)):Kt(l)&&(l.value=null)),nt(b))ea(b,u,12,[o,p]);else{const M=Gt(b),A=Kt(b);if(M||A){const i=()=>{if(e.f){const H=M?p[b]:b.value;n?lt(H)&&Di(H,r):lt(H)?H.includes(r)||H.push(r):M?(p[b]=[r],vt(c,b)&&(c[b]=p[b])):(b.value=[r],e.k&&(p[e.k]=b.value))}else M?(p[b]=o,vt(c,b)&&(c[b]=o)):A&&(b.value=o,e.k&&(p[e.k]=o))};o?(i.id=-1,Jt(i,s)):i()}}}const Jt=Id;function nf(e){return of(e)}function of(e,t){const s=bd();s.__VUE__=!0;const{insert:a,remove:n,patchProp:r,createElement:o,createText:u,createComment:b,setText:l,setElementText:p,parentNode:c,nextSibling:M,setScopeId:A=Rs,cloneNode:i,insertStaticContent:H}=e,B=(U,z,te,le=null,ue=null,xe=null,Ee=!1,be=null,Se=!!z.dynamicChildren)=>{if(U===z)return;U&&!wa(U,z)&&(le=Ue(U),W(U,ue,xe,!0),U=null),z.patchFlag===-2&&(Se=!1,z.dynamicChildren=null);const{type:me,ref:Fe,shapeFlag:Ne}=z;switch(me){case co:N(U,z,te,le);break;case vs:m(U,z,te,le);break;case uo:U==null&&R(z,te,le,Ee);break;case ut:v(U,z,te,le,ue,xe,Ee,be,Se);break;default:Ne&1?L(U,z,te,le,ue,xe,Ee,be,Se):Ne&6?x(U,z,te,le,ue,xe,Ee,be,Se):(Ne&64||Ne&128)&&me.process(U,z,te,le,ue,xe,Ee,be,Se,fe)}Fe!=null&&ue&&lo(Fe,U&&U.ref,xe,z||U,!z)},N=(U,z,te,le)=>{if(U==null)a(z.el=u(z.children),te,le);else{const ue=z.el=U.el;z.children!==U.children&&l(ue,z.children)}},m=(U,z,te,le)=>{U==null?a(z.el=b(z.children||""),te,le):z.el=U.el},R=(U,z,te,le)=>{[U.el,U.anchor]=H(U.children,z,te,le,U.el,U.anchor)},C=({el:U,anchor:z},te,le)=>{let ue;for(;U&&U!==z;)ue=M(U),a(U,te,le),U=ue;a(z,te,le)},T=({el:U,anchor:z})=>{let te;for(;U&&U!==z;)te=M(U),n(U),U=te;n(z)},L=(U,z,te,le,ue,xe,Ee,be,Se)=>{Ee=Ee||z.type==="svg",U==null?f(z,te,le,ue,xe,Ee,be,Se):h(U,z,ue,xe,Ee,be,Se)},f=(U,z,te,le,ue,xe,Ee,be)=>{let Se,me;const{type:Fe,props:Ne,shapeFlag:Pe,transition:De,patchFlag:Ze,dirs:ce}=U;if(U.el&&i!==void 0&&Ze===-1)Se=U.el=i(U.el);else{if(Se=U.el=o(U.type,xe,Ne&&Ne.is,Ne),Pe&8?p(Se,U.children):Pe&16&&w(U.children,Se,null,le,ue,xe&&Fe!=="foreignObject",Ee,be),ce&&ba(U,null,le,"created"),Ne){for(const $ in Ne)$!=="value"&&!Sn($)&&r(Se,$,null,Ne[$],xe,U.children,le,ue,ve);"value"in Ne&&r(Se,"value",null,Ne.value),(me=Ne.onVnodeBeforeMount)&&Cs(me,le,U)}E(Se,U,U.scopeId,Ee,le)}ce&&ba(U,null,le,"beforeMount");const ye=(!ue||ue&&!ue.pendingBranch)&&De&&!De.persisted;ye&&De.beforeEnter(Se),a(Se,z,te),((me=Ne&&Ne.onVnodeMounted)||ye||ce)&&Jt(()=>{me&&Cs(me,le,U),ye&&De.enter(Se),ce&&ba(U,null,le,"mounted")},ue)},E=(U,z,te,le,ue)=>{if(te&&A(U,te),le)for(let xe=0;xe{for(let me=Se;me{const be=z.el=U.el;let{patchFlag:Se,dynamicChildren:me,dirs:Fe}=z;Se|=U.patchFlag&16;const Ne=U.props||wt,Pe=z.props||wt;let De;te&&xa(te,!1),(De=Pe.onVnodeBeforeUpdate)&&Cs(De,te,z,U),Fe&&ba(z,U,te,"beforeUpdate"),te&&xa(te,!0);const Ze=ue&&z.type!=="foreignObject";if(me?g(U.dynamicChildren,me,be,te,le,Ze,xe):Ee||V(U,z,be,null,te,le,Ze,xe,!1),Se>0){if(Se&16)_(be,z,Ne,Pe,te,le,ue);else if(Se&2&&Ne.class!==Pe.class&&r(be,"class",null,Pe.class,ue),Se&4&&r(be,"style",Ne.style,Pe.style,ue),Se&8){const ce=z.dynamicProps;for(let ye=0;ye{De&&Cs(De,te,z,U),Fe&&ba(z,U,te,"updated")},le)},g=(U,z,te,le,ue,xe,Ee)=>{for(let be=0;be{if(te!==le){for(const be in le){if(Sn(be))continue;const Se=le[be],me=te[be];Se!==me&&be!=="value"&&r(U,be,me,Se,Ee,z.children,ue,xe,ve)}if(te!==wt)for(const be in te)!Sn(be)&&!(be in le)&&r(U,be,te[be],null,Ee,z.children,ue,xe,ve);"value"in le&&r(U,"value",te.value,le.value)}},v=(U,z,te,le,ue,xe,Ee,be,Se)=>{const me=z.el=U?U.el:u(""),Fe=z.anchor=U?U.anchor:u("");let{patchFlag:Ne,dynamicChildren:Pe,slotScopeIds:De}=z;De&&(be=be?be.concat(De):De),U==null?(a(me,te,le),a(Fe,te,le),w(z.children,te,Fe,ue,xe,Ee,be,Se)):Ne>0&&Ne&64&&Pe&&U.dynamicChildren?(g(U.dynamicChildren,Pe,te,ue,xe,Ee,be),(z.key!=null||ue&&z===ue.subTree)&&H0(U,z,!0)):V(U,z,te,Fe,ue,xe,Ee,be,Se)},x=(U,z,te,le,ue,xe,Ee,be,Se)=>{z.slotScopeIds=be,U==null?z.shapeFlag&512?ue.ctx.activate(z,te,le,Ee,Se):y(z,te,le,ue,xe,Ee,Se):j(U,z,Se)},y=(U,z,te,le,ue,xe,Ee)=>{const be=U.component=hf(U,le,ue);if(In(U)&&(be.ctx.renderer=fe),vf(be),be.asyncDep){if(ue&&ue.registerDep(be,X),!U.el){const Se=be.subTree=Oe(vs);m(null,Se,z,te)}return}X(be,U,z,te,ue,xe,Ee)},j=(U,z,te)=>{const le=z.component=U.component;if(kd(U,z,te))if(le.asyncDep&&!le.asyncResolved){P(le,z,te);return}else le.next=z,wd(le.update),le.update();else z.el=U.el,le.vnode=z},X=(U,z,te,le,ue,xe,Ee)=>{const be=()=>{if(U.isMounted){let{next:Fe,bu:Ne,u:Pe,parent:De,vnode:Ze}=U,ce=Fe,ye;xa(U,!1),Fe?(Fe.el=Ze.el,P(U,Fe,Ee)):Fe=Ze,Ne&&Yi(Ne),(ye=Fe.props&&Fe.props.onVnodeBeforeUpdate)&&Cs(ye,De,Fe,Ze),xa(U,!0);const $=Wi(U),Ce=U.subTree;U.subTree=$,B(Ce,$,c(Ce.el),Ue(Ce),U,ue,xe),Fe.el=$.el,ce===null&&Rd(U,$.el),Pe&&Jt(Pe,ue),(ye=Fe.props&&Fe.props.onVnodeUpdated)&&Jt(()=>Cs(ye,De,Fe,Ze),ue)}else{let Fe;const{el:Ne,props:Pe}=z,{bm:De,m:Ze,parent:ce}=U,ye=wr(z);if(xa(U,!1),De&&Yi(De),!ye&&(Fe=Pe&&Pe.onVnodeBeforeMount)&&Cs(Fe,ce,z),xa(U,!0),Ne&&it){const $=()=>{U.subTree=Wi(U),it(Ne,U.subTree,U,ue,null)};ye?z.type.__asyncLoader().then(()=>!U.isUnmounted&&$()):$()}else{const $=U.subTree=Wi(U);B(null,$,te,le,U,ue,xe),z.el=$.el}if(Ze&&Jt(Ze,ue),!ye&&(Fe=Pe&&Pe.onVnodeMounted)){const $=z;Jt(()=>Cs(Fe,ce,$),ue)}(z.shapeFlag&256||ce&&wr(ce.vnode)&&ce.vnode.shapeFlag&256)&&U.a&&Jt(U.a,ue),U.isMounted=!0,z=te=le=null}},Se=U.effect=new Oi(be,()=>e0(me),U.scope),me=U.update=()=>Se.run();me.id=U.uid,xa(U,!0),me()},P=(U,z,te)=>{z.component=U;const le=U.vnode.props;U.vnode=z,U.next=null,$d(U,z.props,le,te),sf(U,z.children,te),za(),kn(void 0,U.update),Ya()},V=(U,z,te,le,ue,xe,Ee,be,Se=!1)=>{const me=U&&U.children,Fe=U?U.shapeFlag:0,Ne=z.children,{patchFlag:Pe,shapeFlag:De}=z;if(Pe>0){if(Pe&128){S(me,Ne,te,le,ue,xe,Ee,be,Se);return}else if(Pe&256){d(me,Ne,te,le,ue,xe,Ee,be,Se);return}}De&8?(Fe&16&&ve(me,ue,xe),Ne!==me&&p(te,Ne)):Fe&16?De&16?S(me,Ne,te,le,ue,xe,Ee,be,Se):ve(me,ue,xe,!0):(Fe&8&&p(te,""),De&16&&w(Ne,te,le,ue,xe,Ee,be,Se))},d=(U,z,te,le,ue,xe,Ee,be,Se)=>{U=U||Ka,z=z||Ka;const me=U.length,Fe=z.length,Ne=Math.min(me,Fe);let Pe;for(Pe=0;PeFe?ve(U,ue,xe,!0,!1,Ne):w(z,te,le,ue,xe,Ee,be,Se,Ne)},S=(U,z,te,le,ue,xe,Ee,be,Se)=>{let me=0;const Fe=z.length;let Ne=U.length-1,Pe=Fe-1;for(;me<=Ne&&me<=Pe;){const De=U[me],Ze=z[me]=Se?ra(z[me]):Is(z[me]);if(wa(De,Ze))B(De,Ze,te,null,ue,xe,Ee,be,Se);else break;me++}for(;me<=Ne&&me<=Pe;){const De=U[Ne],Ze=z[Pe]=Se?ra(z[Pe]):Is(z[Pe]);if(wa(De,Ze))B(De,Ze,te,null,ue,xe,Ee,be,Se);else break;Ne--,Pe--}if(me>Ne){if(me<=Pe){const De=Pe+1,Ze=DePe)for(;me<=Ne;)W(U[me],ue,xe,!0),me++;else{const De=me,Ze=me,ce=new Map;for(me=Ze;me<=Pe;me++){const Y=z[me]=Se?ra(z[me]):Is(z[me]);Y.key!=null&&ce.set(Y.key,me)}let ye,$=0;const Ce=Pe-Ze+1;let k=!1,I=0;const D=new Array(Ce);for(me=0;me=Ce){W(Y,ue,xe,!0);continue}let F;if(Y.key!=null)F=ce.get(Y.key);else for(ye=Ze;ye<=Pe;ye++)if(D[ye-Ze]===0&&wa(Y,z[ye])){F=ye;break}F===void 0?W(Y,ue,xe,!0):(D[F-Ze]=me+1,F>=I?I=F:k=!0,B(Y,z[F],te,null,ue,xe,Ee,be,Se),$++)}const q=k?lf(D):Ka;for(ye=q.length-1,me=Ce-1;me>=0;me--){const Y=Ze+me,F=z[Y],G=Y+1{const{el:xe,type:Ee,transition:be,children:Se,shapeFlag:me}=U;if(me&6){Z(U.component.subTree,z,te,le);return}if(me&128){U.suspense.move(z,te,le);return}if(me&64){Ee.move(U,z,te,fe);return}if(Ee===ut){a(xe,z,te);for(let Ne=0;Nebe.enter(xe),ue);else{const{leave:Ne,delayLeave:Pe,afterLeave:De}=be,Ze=()=>a(xe,z,te),ce=()=>{Ne(xe,()=>{Ze(),De&&De()})};Pe?Pe(xe,Ze,ce):ce()}else a(xe,z,te)},W=(U,z,te,le=!1,ue=!1)=>{const{type:xe,props:Ee,ref:be,children:Se,dynamicChildren:me,shapeFlag:Fe,patchFlag:Ne,dirs:Pe}=U;if(be!=null&&lo(be,null,te,U,!0),Fe&256){z.ctx.deactivate(U);return}const De=Fe&1&&Pe,Ze=!wr(U);let ce;if(Ze&&(ce=Ee&&Ee.onVnodeBeforeUnmount)&&Cs(ce,z,U),Fe&6)Ae(U.component,te,le);else{if(Fe&128){U.suspense.unmount(te,le);return}De&&ba(U,null,z,"beforeUnmount"),Fe&64?U.type.remove(U,z,te,ue,fe,le):me&&(xe!==ut||Ne>0&&Ne&64)?ve(me,z,te,!1,!0):(xe===ut&&Ne&384||!ue&&Fe&16)&&ve(Se,z,te),le&&de(U)}(Ze&&(ce=Ee&&Ee.onVnodeUnmounted)||De)&&Jt(()=>{ce&&Cs(ce,z,U),De&&ba(U,null,z,"unmounted")},te)},de=U=>{const{type:z,el:te,anchor:le,transition:ue}=U;if(z===ut){Me(te,le);return}if(z===uo){T(U);return}const xe=()=>{n(te),ue&&!ue.persisted&&ue.afterLeave&&ue.afterLeave()};if(U.shapeFlag&1&&ue&&!ue.persisted){const{leave:Ee,delayLeave:be}=ue,Se=()=>Ee(te,xe);be?be(U.el,xe,Se):Se()}else xe()},Me=(U,z)=>{let te;for(;U!==z;)te=M(U),n(U),U=te;n(z)},Ae=(U,z,te)=>{const{bum:le,scope:ue,update:xe,subTree:Ee,um:be}=U;le&&Yi(le),ue.stop(),xe&&(xe.active=!1,W(Ee,U,z,te)),be&&Jt(be,z),Jt(()=>{U.isUnmounted=!0},z),z&&z.pendingBranch&&!z.isUnmounted&&U.asyncDep&&!U.asyncResolved&&U.suspenseId===z.pendingId&&(z.deps--,z.deps===0&&z.resolve())},ve=(U,z,te,le=!1,ue=!1,xe=0)=>{for(let Ee=xe;EeU.shapeFlag&6?Ue(U.component.subTree):U.shapeFlag&128?U.suspense.next():M(U.anchor||U.el),Le=(U,z,te)=>{U==null?z._vnode&&W(z._vnode,null,null,!0):B(z._vnode||null,U,z,null,null,null,te),a0(),z._vnode=U},fe={p:B,um:W,m:Z,r:de,mt:y,mc:w,pc:V,pbc:g,n:Ue,o:e};let Xe,it;return t&&([Xe,it]=t(fe)),{render:Le,hydrate:Xe,createApp:rf(Le,Xe)}}function xa({effect:e,update:t},s){e.allowRecurse=t.allowRecurse=s}function H0(e,t,s=!1){const a=e.children,n=t.children;if(lt(a)&<(n))for(let r=0;r>1,e[s[u]]0&&(t[a]=s[r-1]),s[r]=a)}}for(r=s.length,o=s[r-1];r-- >0;)s[r]=o,o=t[o];return s}const cf=e=>e.__isTeleport,ut=Symbol(void 0),co=Symbol(void 0),vs=Symbol(void 0),uo=Symbol(void 0),Sr=[];let xs=null;function Q(e=!1){Sr.push(xs=e?null:[])}function uf(){Sr.pop(),xs=Sr[Sr.length-1]||null}let Mr=1;function F0(e){Mr+=e}function P0(e){return e.dynamicChildren=Mr>0?xs||Ka:null,uf(),Mr>0&&xs&&xs.push(e),e}function ne(e,t,s,a,n,r){return P0(he(e,t,s,a,n,r,!0))}function _t(e,t,s,a,n){return P0(Oe(e,t,s,a,n,!0))}function jn(e){return e?e.__v_isVNode===!0:!1}function wa(e,t){return e.type===t.type&&e.key===t.key}const Hn="__vInternal",U0=({key:e})=>e!=null?e:null,Fn=({ref:e,ref_key:t,ref_for:s})=>e!=null?Gt(e)||Kt(e)||nt(e)?{i:Dt,r:e,k:t,f:!!s}:e:null;function he(e,t=null,s=null,a=0,n=null,r=e===ut?0:1,o=!1,u=!1){const b={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&U0(t),ref:t&&Fn(t),scopeId:i0,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:a,dynamicProps:n,dynamicChildren:null,appContext:null};return u?(fo(b,s),r&128&&e.normalize(b)):s&&(b.shapeFlag|=Gt(s)?8:16),Mr>0&&!o&&xs&&(b.patchFlag>0||r&6)&&b.patchFlag!==32&&xs.push(b),b}const Oe=df;function df(e,t=null,s=null,a=0,n=null,r=!1){if((!e||e===y0)&&(e=vs),jn(e)){const u=sa(e,t,!0);return s&&fo(u,s),Mr>0&&!r&&xs&&(u.shapeFlag&6?xs[xs.indexOf(e)]=u:xs.push(u)),u.patchFlag|=-2,u}if(yf(e)&&(e=e.__vccOpts),t){t=pt(t);let{class:u,style:b}=t;u&&!Gt(u)&&(t.class=at(u)),Zt(b)&&(Ul(b)&&!lt(b)&&(b=is({},b)),t.style=ft(b))}const o=Gt(e)?1:Od(e)?128:cf(e)?64:Zt(e)?4:nt(e)?2:0;return he(e,t,s,a,n,o,r,!0)}function pt(e){return e?Ul(e)||Hn in e?is({},e):e:null}function sa(e,t,s=!1){const{props:a,ref:n,patchFlag:r,children:o}=e,u=t?mo(a||{},t):a;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&U0(u),ref:t&&t.ref?s&&n?lt(n)?n.concat(Fn(t)):[n,Fn(t)]:Fn(t):n,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ut?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&sa(e.ssContent),ssFallback:e.ssFallback&&sa(e.ssFallback),el:e.el,anchor:e.anchor}}function aa(e=" ",t=0){return Oe(co,null,e,t)}function Ie(e="",t=!1){return t?(Q(),_t(vs,null,e)):Oe(vs,null,e)}function Is(e){return e==null||typeof e=="boolean"?Oe(vs):lt(e)?Oe(ut,null,e.slice()):typeof e=="object"?ra(e):Oe(co,null,String(e))}function ra(e){return e.el===null||e.memo?e:sa(e)}function fo(e,t){let s=0;const{shapeFlag:a}=e;if(t==null)t=null;else if(lt(t))s=16;else if(typeof t=="object")if(a&65){const n=t.default;n&&(n._c&&(n._d=!1),fo(e,n()),n._c&&(n._d=!0));return}else{s=32;const n=t._;!n&&!(Hn in t)?t._ctx=Dt:n===3&&Dt&&(Dt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else nt(t)?(t={default:t,_ctx:Dt},s=32):(t=String(t),a&64?(s=16,t=[aa(t)]):s=8);e.children=t,e.shapeFlag|=s}function mo(...e){const t={};for(let s=0;sFt||Dt,Wa=e=>{Ft=e,e.scope.on()},Sa=()=>{Ft&&Ft.scope.off(),Ft=null};function q0(e){return e.vnode.shapeFlag&4}let Ar=!1;function vf(e,t=!1){Ar=t;const{props:s,children:a}=e.vnode,n=q0(e);Jd(e,s,n,t),tf(e,a);const r=n?_f(e,t):void 0;return Ar=!1,r}function _f(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=Dl(new Proxy(e.ctx,Xd));const{setup:a}=s;if(a){const n=e.setupContext=a.length>1?gf(e):null;Wa(e),za();const r=ea(a,e,0,[e.props,n]);if(Ya(),Sa(),Kl(r)){if(r.then(Sa,Sa),t)return r.then(o=>{V0(e,o,t)}).catch(o=>{En(o,e,0)});e.asyncDep=r}else V0(e,r,t)}else Y0(e,t)}function V0(e,t,s){nt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Zt(t)&&(e.setupState=ql(t)),Y0(e,s)}let z0;function Y0(e,t,s){const a=e.type;if(!e.render){if(!t&&z0&&!a.render){const n=a.template;if(n){const{isCustomElement:r,compilerOptions:o}=e.appContext.config,{delimiters:u,compilerOptions:b}=a,l=is(is({isCustomElement:r,delimiters:u},o),b);a.render=z0(n,l)}}e.render=a.render||Rs}Wa(e),za(),Kd(e),Ya(),Sa()}function pf(e){return new Proxy(e.attrs,{get(t,s){return ns(e,"get","$attrs"),t[s]}})}function gf(e){const t=a=>{e.exposed=a||{}};let s;return{get attrs(){return s||(s=pf(e))},slots:e.slots,emit:e.emit,expose:t}}function Pn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ql(Dl(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Ln)return Ln[s](e)}}))}function bf(e,t=!0){return nt(e)?e.displayName||e.name:e.name||t&&e.__name}function yf(e){return nt(e)&&"__vccOpts"in e}const xf=(e,t)=>ld(e,t,Ar);function wf(e,t,s){const a=arguments.length;return a===2?Zt(t)&&!lt(t)?jn(t)?Oe(e,null,[t]):Oe(e,t):Oe(e,null,t):(a>3?s=Array.prototype.slice.call(arguments,2):a===3&&jn(s)&&(s=[s]),Oe(e,t,s))}const Sf="3.2.37";function Mf(e,t){const s=Object.create(null),a=e.split(",");for(let n=0;n!!s[n.toLowerCase()]:n=>!!s[n]}const Af=Mf("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function X0(e){return!!e||e===""}const Ef=/^on[^a-z]/,Tf=e=>Ef.test(e),kf=e=>e.startsWith("onUpdate:"),Er=Object.assign,Tr=Array.isArray,Rf=e=>typeof e=="function",ho=e=>typeof e=="string",Of=e=>e!==null&&typeof e=="object",vo=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},If=/-(\w)/g,K0=vo(e=>e.replace(If,(t,s)=>s?s.toUpperCase():"")),Cf=/\B([A-Z])/g,Qa=vo(e=>e.replace(Cf,"-$1").toLowerCase()),Bf=vo(e=>e.charAt(0).toUpperCase()+e.slice(1)),_o=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Lf="http://www.w3.org/2000/svg",Ma=typeof document!="undefined"?document:null,G0=Ma&&Ma.createElement("template"),Nf={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,a)=>{const n=t?Ma.createElementNS(Lf,e):Ma.createElement(e,s?{is:s}:void 0);return e==="select"&&a&&a.multiple!=null&&n.setAttribute("multiple",a.multiple),n},createText:e=>Ma.createTextNode(e),createComment:e=>Ma.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ma.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,s,a,n,r){const o=s?s.previousSibling:t.lastChild;if(n&&(n===r||n.nextSibling))for(;t.insertBefore(n.cloneNode(!0),s),!(n===r||!(n=n.nextSibling)););else{G0.innerHTML=a?`${e}`:e;const u=G0.content;if(a){const b=u.firstChild;for(;b.firstChild;)u.appendChild(b.firstChild);u.removeChild(b)}t.insertBefore(u,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}};function jf(e,t,s){const a=e._vtc;a&&(t=(t?[t,...a]:[...a]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}function Hf(e,t,s){const a=e.style,n=ho(s);if(s&&!n){for(const r in s)po(a,r,s[r]);if(t&&!ho(t))for(const r in t)s[r]==null&&po(a,r,"")}else{const r=a.display;n?t!==s&&(a.cssText=s):t&&e.removeAttribute("style"),"_vod"in e&&(a.display=r)}}const Z0=/\s*!important$/;function po(e,t,s){if(Tr(s))s.forEach(a=>po(e,t,a));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const a=Ff(e,t);Z0.test(s)?e.setProperty(Qa(a),s.replace(Z0,""),"important"):e[a]=s}}const W0=["Webkit","Moz","ms"],go={};function Ff(e,t){const s=go[t];if(s)return s;let a=Os(t);if(a!=="filter"&&a in e)return go[t]=a;a=Bf(a);for(let n=0;n{let e=Date.now,t=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const s=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(s&&Number(s[1])<=53)}return[e,t]})();let bo=0;const qf=Promise.resolve(),Vf=()=>{bo=0},zf=()=>bo||(qf.then(Vf),bo=J0());function Yf(e,t,s,a){e.addEventListener(t,s,a)}function Xf(e,t,s,a){e.removeEventListener(t,s,a)}function Kf(e,t,s,a,n=null){const r=e._vei||(e._vei={}),o=r[t];if(a&&o)o.value=a;else{const[u,b]=Gf(t);if(a){const l=r[t]=Zf(a,n);Yf(e,u,l,b)}else o&&(Xf(e,u,o,b),r[t]=void 0)}}const $0=/(?:Once|Passive|Capture)$/;function Gf(e){let t;if($0.test(e)){t={};let s;for(;s=e.match($0);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[Qa(e.slice(2)),t]}function Zf(e,t){const s=a=>{const n=a.timeStamp||J0();(Df||n>=s.attached-1)&&ms(Wf(a,s.value),t,5,[a])};return s.value=e,s.attached=zf(),s}function Wf(e,t){if(Tr(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(a=>n=>!n._stopped&&a&&a(n))}else return t}const ec=/^on[a-z]/,Qf=(e,t,s,a,n=!1,r,o,u,b)=>{t==="class"?jf(e,a,n):t==="style"?Hf(e,s,a):Tf(t)?kf(t)||Kf(e,t,s,a,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Jf(e,t,a,n))?Uf(e,t,a,r,o,u,b):(t==="true-value"?e._trueValue=a:t==="false-value"&&(e._falseValue=a),Pf(e,t,a,n))};function Jf(e,t,s,a){return a?!!(t==="innerHTML"||t==="textContent"||t in e&&ec.test(t)&&Rf(s)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||ec.test(t)&&ho(s)?!1:t in e}function $f(e,t){const s=Ld(e);class a extends yo{constructor(r){super(s,r,t)}}return a.def=s,a}const em=typeof HTMLElement!="undefined"?HTMLElement:class{};class yo extends em{constructor(t,s={},a){super(),this._def=t,this._props=s,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&a?a(this._createVNode(),this.shadowRoot):this.attachShadow({mode:"open"})}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,$l(()=>{this._connected||(mc(null,this.shadowRoot),this._instance=null)})}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let a=0;a{for(const n of a)this._setAttr(n.attributeName)}).observe(this,{attributes:!0});const t=a=>{const{props:n,styles:r}=a,o=!Tr(n),u=n?o?Object.keys(n):n:[];let b;if(o)for(const l in this._props){const p=n[l];(p===Number||p&&p.type===Number)&&(this._props[l]=_o(this._props[l]),(b||(b=Object.create(null)))[l]=!0)}this._numberProps=b;for(const l of Object.keys(this))l[0]!=="_"&&this._setProp(l,this[l],!0,!1);for(const l of u.map(K0))Object.defineProperty(this,l,{get(){return this._getProp(l)},set(p){this._setProp(l,p)}});this._applyStyles(r),this._update()},s=this._def.__asyncLoader;s?s().then(t):t(this._def)}_setAttr(t){let s=this.getAttribute(t);this._numberProps&&this._numberProps[t]&&(s=_o(s)),this._setProp(K0(t),s,!1)}_getProp(t){return this._props[t]}_setProp(t,s,a=!0,n=!0){s!==this._props[t]&&(this._props[t]=s,n&&this._instance&&this._update(),a&&(s===!0?this.setAttribute(Qa(t),""):typeof s=="string"||typeof s=="number"?this.setAttribute(Qa(t),s+""):s||this.removeAttribute(Qa(t))))}_update(){mc(this._createVNode(),this.shadowRoot)}_createVNode(){const t=Oe(this._def,Er({},this._props));return this._instance||(t.ce=s=>{this._instance=s,s.isCE=!0,s.emit=(n,...r)=>{this.dispatchEvent(new CustomEvent(n,{detail:r}))};let a=this;for(;a=a&&(a.parentNode||a.host);)if(a instanceof yo){s.parent=a._instance;break}}),t}_applyStyles(t){t&&t.forEach(s=>{const a=document.createElement("style");a.textContent=s,this.shadowRoot.appendChild(a)})}}const na="transition",kr="animation",Lt=(e,{slots:t})=>wf(f0,ac(e),t);Lt.displayName="Transition";const tc={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},tm=Lt.props=Er({},f0.props,tc),Aa=(e,t=[])=>{Tr(e)?e.forEach(s=>s(...t)):e&&e(...t)},sc=e=>e?Tr(e)?e.some(t=>t.length>1):e.length>1:!1;function ac(e){const t={};for(const _ in e)_ in tc||(t[_]=e[_]);if(e.css===!1)return t;const{name:s="v",type:a,duration:n,enterFromClass:r=`${s}-enter-from`,enterActiveClass:o=`${s}-enter-active`,enterToClass:u=`${s}-enter-to`,appearFromClass:b=r,appearActiveClass:l=o,appearToClass:p=u,leaveFromClass:c=`${s}-leave-from`,leaveActiveClass:M=`${s}-leave-active`,leaveToClass:A=`${s}-leave-to`}=e,i=sm(n),H=i&&i[0],B=i&&i[1],{onBeforeEnter:N,onEnter:m,onEnterCancelled:R,onLeave:C,onLeaveCancelled:T,onBeforeAppear:L=N,onAppear:f=m,onAppearCancelled:E=R}=t,w=(_,v,x)=>{ia(_,v?p:u),ia(_,v?l:o),x&&x()},h=(_,v)=>{_._isLeaving=!1,ia(_,c),ia(_,A),ia(_,M),v&&v()},g=_=>(v,x)=>{const y=_?f:m,j=()=>w(v,_,x);Aa(y,[v,j]),rc(()=>{ia(v,_?b:r),Ys(v,_?p:u),sc(y)||nc(v,a,H,j)})};return Er(t,{onBeforeEnter(_){Aa(N,[_]),Ys(_,r),Ys(_,o)},onBeforeAppear(_){Aa(L,[_]),Ys(_,b),Ys(_,l)},onEnter:g(!1),onAppear:g(!0),onLeave(_,v){_._isLeaving=!0;const x=()=>h(_,v);Ys(_,c),cc(),Ys(_,M),rc(()=>{!_._isLeaving||(ia(_,c),Ys(_,A),sc(C)||nc(_,a,B,x))}),Aa(C,[_,x])},onEnterCancelled(_){w(_,!1),Aa(R,[_])},onAppearCancelled(_){w(_,!0),Aa(E,[_])},onLeaveCancelled(_){h(_),Aa(T,[_])}})}function sm(e){if(e==null)return null;if(Of(e))return[xo(e.enter),xo(e.leave)];{const t=xo(e);return[t,t]}}function xo(e){return _o(e)}function Ys(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.add(s)),(e._vtc||(e._vtc=new Set)).add(t)}function ia(e,t){t.split(/\s+/).forEach(a=>a&&e.classList.remove(a));const{_vtc:s}=e;s&&(s.delete(t),s.size||(e._vtc=void 0))}function rc(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let am=0;function nc(e,t,s,a){const n=e._endId=++am,r=()=>{n===e._endId&&a()};if(s)return setTimeout(r,s);const{type:o,timeout:u,propCount:b}=ic(e,t);if(!o)return a();const l=o+"end";let p=0;const c=()=>{e.removeEventListener(l,M),r()},M=A=>{A.target===e&&++p>=b&&c()};setTimeout(()=>{p(s[i]||"").split(", "),n=a(na+"Delay"),r=a(na+"Duration"),o=oc(n,r),u=a(kr+"Delay"),b=a(kr+"Duration"),l=oc(u,b);let p=null,c=0,M=0;t===na?o>0&&(p=na,c=o,M=r.length):t===kr?l>0&&(p=kr,c=l,M=b.length):(c=Math.max(o,l),p=c>0?o>l?na:kr:null,M=p?p===na?r.length:b.length:0);const A=p===na&&/\b(transform|all)(,|$)/.test(s[na+"Property"]);return{type:p,timeout:c,propCount:M,hasTransform:A}}function oc(e,t){for(;e.lengthlc(s)+lc(e[a])))}function lc(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function cc(){return document.body.offsetHeight}const uc=new WeakMap,dc=new WeakMap,wo={name:"TransitionGroup",props:Er({},tm,{tag:String,moveClass:String}),setup(e,{slots:t}){const s=D0(),a=d0();let n,r;return p0(()=>{if(!n.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!om(n[0].el,s.vnode.el,o))return;n.forEach(rm),n.forEach(nm);const u=n.filter(im);cc(),u.forEach(b=>{const l=b.el,p=l.style;Ys(l,o),p.transform=p.webkitTransform=p.transitionDuration="";const c=l._moveCb=M=>{M&&M.target!==l||(!M||/transform$/.test(M.propertyName))&&(l.removeEventListener("transitionend",c),l._moveCb=null,ia(l,o))};l.addEventListener("transitionend",c)})}),()=>{const o=ht(e),u=ac(o);let b=o.tag||ut;n=r,r=t.default?eo(t.default()):[];for(let l=0;l{o.split(/\s+/).forEach(u=>u&&a.classList.remove(u))}),s.split(/\s+/).forEach(o=>o&&a.classList.add(o)),a.style.display="none";const n=t.nodeType===1?t:t.parentNode;n.appendChild(a);const{hasTransform:r}=ic(a);return n.removeChild(a),r}const lm=["ctrl","shift","alt","meta"],cm={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>lm.some(s=>e[`${s}Key`]&&!t.includes(s))},oa=(e,t)=>(s,...a)=>{for(let n=0;ns=>{if(!("key"in s))return;const a=Qa(s.key);if(t.some(n=>n===a||um[n]===a))return e(s)},Un={beforeMount(e,{value:t},{transition:s}){e._vod=e.style.display==="none"?"":e.style.display,s&&t?s.beforeEnter(e):Rr(e,t)},mounted(e,{value:t},{transition:s}){s&&t&&s.enter(e)},updated(e,{value:t,oldValue:s},{transition:a}){!t!=!s&&(a?t?(a.beforeEnter(e),Rr(e,!0),a.enter(e)):a.leave(e,()=>{Rr(e,!1)}):Rr(e,t))},beforeUnmount(e,{value:t}){Rr(e,t)}};function Rr(e,t){e.style.display=t?e._vod:"none"}const dm=Er({patchProp:Qf},Nf);let fc;function fm(){return fc||(fc=nf(dm))}const mc=(...e)=>{fm().render(...e)};var St=(e,t)=>{const s=e.__vccOpts||e;for(const[a,n]of t)s[a]=n;return s};const mm={name:"AppLoader",props:{show:{type:Boolean,default:!1},infinite:{type:Boolean,default:!1},type:{type:String,required:!0},messageId:{type:String,default:""}}},hm=he("div",{id:"vac-circle"},null,-1),vm=he("div",{id:"vac-circle"},null,-1),_m=he("div",{id:"vac-circle"},null,-1),pm=he("div",{id:"vac-circle"},null,-1),gm=he("div",{id:"vac-circle"},null,-1),bm=he("div",{id:"vac-circle"},null,-1);function ym(e,t,s,a,n,r){return Q(),_t(Lt,{name:"vac-fade-spinner",appear:""},{default:Ke(()=>[s.show?(Q(),ne("div",{key:0,class:at(["vac-loader-wrapper",{"vac-container-center":!s.infinite,"vac-container-top":s.infinite}])},[s.type==="rooms"?Re(e.$slots,"spinner-icon-rooms",{key:0},()=>[hm]):Ie("",!0),s.type==="infinite-rooms"?Re(e.$slots,"spinner-icon-infinite-rooms",{key:1},()=>[vm]):Ie("",!0),s.type==="message-file"?Re(e.$slots,"spinner-icon-message-file_"+s.messageId,{key:2},()=>[_m]):Ie("",!0),s.type==="room-file"?Re(e.$slots,"spinner-icon-room-file",{key:3},()=>[pm]):Ie("",!0),s.type==="messages"?Re(e.$slots,"spinner-icon-messages",{key:4},()=>[gm]):Ie("",!0),s.type==="infinite-messages"?Re(e.$slots,"spinner-icon-infinite-messages",{key:5},()=>[bm]):Ie("",!0)],2)):Ie("",!0)]),_:3})}var Dn=St(mm,[["render",ym]]);const xm={name:"SvgIcon",props:{name:{type:String,default:null},param:{type:String,default:null}},data(){return{svgItem:{search:{path:"M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z"},add:{path:"M17,13H13V17H11V13H7V11H11V7H13V11H17M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},toggle:{path:"M5,13L9,17L7.6,18.42L1.18,12L7.6,5.58L9,7L5,11H21V13H5M21,6V8H11V6H21M21,16V18H11V16H21Z"},menu:{path:"M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z"},close:{path:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z"},file:{path:"M14,17H7V15H14M17,13H7V11H17M17,9H7V7H17M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"},paperclip:{path:"M16.5,6V17.5A4,4 0 0,1 12.5,21.5A4,4 0 0,1 8.5,17.5V5A2.5,2.5 0 0,1 11,2.5A2.5,2.5 0 0,1 13.5,5V15.5A1,1 0 0,1 12.5,16.5A1,1 0 0,1 11.5,15.5V6H10V15.5A2.5,2.5 0 0,0 12.5,18A2.5,2.5 0 0,0 15,15.5V5A4,4 0 0,0 11,1A4,4 0 0,0 7,5V17.5A5.5,5.5 0 0,0 12.5,23A5.5,5.5 0 0,0 18,17.5V6H16.5Z"},"close-outline":{path:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"},send:{path:"M2,21L23,12L2,3V10L17,12L2,14V21Z"},emoji:{path:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11zm3.5 6.5c2.33 0 4.31-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5z"},document:{path:"M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z"},pencil:{path:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z"},checkmark:{path:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"},"double-checkmark":{path:"M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"},eye:{path:"M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z"},dropdown:{path:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"},deleted:{path:"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12C4,13.85 4.63,15.55 5.68,16.91L16.91,5.68C15.55,4.63 13.85,4 12,4M12,20A8,8 0 0,0 20,12C20,10.15 19.37,8.45 18.32,7.09L7.09,18.32C8.45,19.37 10.15,20 12,20Z"},microphone:{size:"large",path:"M432.8,216.4v39.2c0,45.2-15.3,84.3-45.2,118.4c-29.8,33.2-67.3,52.8-111.6,57.9v40.9h78.4c5.1,0,10.2,1.7,13.6,6c4.3,4.3,6,8.5,6,13.6c0,5.1-1.7,10.2-6,13.6c-4.3,4.3-8.5,6-13.6,6H157.6c-5.1,0-10.2-1.7-13.6-6c-4.3-4.3-6-8.5-6-13.6c0-5.1,1.7-10.2,6-13.6c4.3-4.3,8.5-6,13.6-6H236v-40.9c-44.3-5.1-81.8-23.9-111.6-57.9s-45.2-73.3-45.2-118.4v-39.2c0-5.1,1.7-10.2,6-13.6c4.3-4.3,8.5-6,13.6-6s10.2,1.7,13.6,6c4.3,4.3,6,8.5,6,13.6v39.2c0,37.5,13.6,70.7,40,97.1s59.6,40,97.1,40s70.7-13.6,97.1-40c26.4-26.4,40-59.6,40-97.1v-39.2c0-5.1,1.7-10.2,6-13.6c4.3-4.3,8.5-6,13.6-6c5.1,0,10.2,1.7,13.6,6C430.2,206.2,432.8,211.3,432.8,216.4z M353.5,98v157.6c0,27.3-9.4,50.3-29,69c-19.6,19.6-42.6,29-69,29s-50.3-9.4-69-29c-19.6-19.6-29-42.6-29-69V98c0-27.3,9.4-50.3,29-69c19.6-19.6,42.6-29,69-29s50.3,9.4,69,29C344.2,47.7,353.5,71.6,353.5,98z"},"audio-play":{size:"medium",path:"M43.331,21.237L7.233,0.397c-0.917-0.529-2.044-0.529-2.96,0c-0.916,0.528-1.48,1.505-1.48,2.563v41.684 c0,1.058,0.564,2.035,1.48,2.563c0.458,0.268,0.969,0.397,1.48,0.397c0.511,0,1.022-0.133,1.48-0.397l36.098-20.84 c0.918-0.529,1.479-1.506,1.479-2.564S44.247,21.767,43.331,21.237z"},"audio-pause":{size:"medium",path:"M17.991,40.976c0,3.662-2.969,6.631-6.631,6.631l0,0c-3.662,0-6.631-2.969-6.631-6.631V6.631C4.729,2.969,7.698,0,11.36,0l0,0c3.662,0,6.631,2.969,6.631,6.631V40.976z",path2:"M42.877,40.976c0,3.662-2.969,6.631-6.631,6.631l0,0c-3.662,0-6.631-2.969-6.631-6.631V6.631C29.616,2.969,32.585,0,36.246,0l0,0c3.662,0,6.631,2.969,6.631,6.631V40.976z"}}}},computed:{svgId(){const e=this.param?"-"+this.param:"";return`vac-icon-${this.name}${e}`},size(){const e=this.svgItem[this.name];return e.size==="large"?512:e.size==="medium"?48:24}}},wm=["viewBox"],Sm=["id","d"],Mm=["id","d"];function Am(e,t,s,a,n,r){return Q(),ne("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1",width:"24",height:"24",viewBox:`0 0 ${r.size} ${r.size}`},[he("path",{id:r.svgId,d:n.svgItem[s.name].path},null,8,Sm),n.svgItem[s.name].path2?(Q(),ne("path",{key:0,id:r.svgId,d:n.svgItem[s.name].path2},null,8,Mm)):Ie("",!0)],8,wm)}var Ut=St(xm,[["render",Am]]);const Em={name:"RoomsSearch",components:{SvgIcon:Ut},props:{textMessages:{type:Object,required:!0},showSearch:{type:Boolean,required:!0},showAddRoom:{type:Boolean,required:!0},rooms:{type:Array,required:!0},loadingRooms:{type:Boolean,required:!0}},emits:["search-room","add-room"],computed:{showSearchBar(){return this.showSearch||this.showAddRoom}}},Tm={key:0,class:"vac-icon-search"},km=["placeholder"];function Rm(e,t,s,a,n,r){const o=Ge("svg-icon");return Q(),ne("div",{class:at({"vac-box-search":r.showSearchBar,"vac-box-empty":!r.showSearchBar})},[s.showSearch?(Q(),ne(ut,{key:0},[!s.loadingRooms&&s.rooms.length?(Q(),ne("div",Tm,[Re(e.$slots,"search-icon",{},()=>[Oe(o,{name:"search"})])])):Ie("",!0),!s.loadingRooms&&s.rooms.length?(Q(),ne("input",{key:1,type:"search",placeholder:s.textMessages.SEARCH,autocomplete:"off",class:"vac-input",onInput:t[0]||(t[0]=u=>e.$emit("search-room",u))},null,40,km)):Ie("",!0)],64)):Ie("",!0),s.showAddRoom?(Q(),ne("div",{key:1,class:"vac-svg-button vac-add-icon",onClick:t[1]||(t[1]=u=>e.$emit("add-room"))},[Re(e.$slots,"add-icon",{},()=>[Oe(o,{name:"add"})])])):Ie("",!0)],2)}var Om=St(Em,[["render",Rm]]),qt={},Ja={};Ja.__esModule=!0,Ja.inherits=Im;function Im(e,t){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=Object.create(e.prototype);for(var n in s)a[n]=s[n];return a.constructor=t,t.prototype=a,t}var Or={};Or.__esModule=!0;var Cm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ls={defaultProtocol:"http",events:null,format:vc,formatHref:vc,nl2br:!1,tagName:"a",target:Lm,validate:!0,ignoreTags:[],attributes:null,className:"linkified"};Or.defaults=ls,Or.Options=hc,Or.contains=Bm;function hc(e){e=e||{},this.defaultProtocol=e.hasOwnProperty("defaultProtocol")?e.defaultProtocol:ls.defaultProtocol,this.events=e.hasOwnProperty("events")?e.events:ls.events,this.format=e.hasOwnProperty("format")?e.format:ls.format,this.formatHref=e.hasOwnProperty("formatHref")?e.formatHref:ls.formatHref,this.nl2br=e.hasOwnProperty("nl2br")?e.nl2br:ls.nl2br,this.tagName=e.hasOwnProperty("tagName")?e.tagName:ls.tagName,this.target=e.hasOwnProperty("target")?e.target:ls.target,this.validate=e.hasOwnProperty("validate")?e.validate:ls.validate,this.ignoreTags=[],this.attributes=e.attributes||e.linkAttributes||ls.attributes,this.className=e.hasOwnProperty("className")?e.className:e.linkClass||ls.className;for(var t=e.hasOwnProperty("ignoreTags")?e.ignoreTags:ls.ignoreTags,s=0;s1&&arguments[1]!==void 0?arguments[1]:null,a=this.next(new t(""));return a===this.defaultTransition?(a=new this.constructor(s),this.on(t,a)):s&&(a.T=s),a},test:function(t,s){return t instanceof s}});function jm(e,t,s,a){for(var n=0,r=e.length,o=t,u=[],b=void 0;n=r)return[];for(;n"),uh=Mt(")"),dh=Mt("&");qe.Base=Eo,qe.DOMAIN=Pm,qe.AT=Um,qe.COLON=Dm,qe.DOT=qm,qe.PUNCTUATION=Vm,qe.LOCALHOST=zm,qe.NL=Ym,qe.NUM=Xm,qe.PLUS=Km,qe.POUND=Gm,qe.QUERY=Qm,qe.PROTOCOL=Zm,qe.MAILTO=Wm,qe.SLASH=Jm,qe.UNDERSCORE=$m,qe.SYM=eh,qe.TLD=th,qe.WS=sh,qe.OPENBRACE=ah,qe.OPENBRACKET=rh,qe.OPENANGLEBRACKET=nh,qe.OPENPAREN=ih,qe.CLOSEBRACE=oh,qe.CLOSEBRACKET=lh,qe.CLOSEANGLEBRACKET=ch,qe.CLOSEPAREN=uh,qe.AMPERSAND=dh,Bs.__esModule=!0,Bs.start=Bs.run=Bs.TOKENS=Bs.State=void 0;var la=Ks,rt=qe,fh=mh(rt);function mh(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s]);return t.default=e,t}var gc="aaa|aarp|abarth|abb|abbott|abbvie|abc|able|abogado|abudhabi|ac|academy|accenture|accountant|accountants|aco|active|actor|ad|adac|ads|adult|ae|aeg|aero|aetna|af|afamilycompany|afl|africa|ag|agakhan|agency|ai|aig|aigo|airbus|airforce|airtel|akdn|al|alfaromeo|alibaba|alipay|allfinanz|allstate|ally|alsace|alstom|am|americanexpress|americanfamily|amex|amfam|amica|amsterdam|analytics|android|anquan|anz|ao|aol|apartments|app|apple|aq|aquarelle|ar|arab|aramco|archi|army|arpa|art|arte|as|asda|asia|associates|at|athleta|attorney|au|auction|audi|audible|audio|auspost|author|auto|autos|avianca|aw|aws|ax|axa|az|azure|ba|baby|baidu|banamex|bananarepublic|band|bank|bar|barcelona|barclaycard|barclays|barefoot|bargains|baseball|basketball|bauhaus|bayern|bb|bbc|bbt|bbva|bcg|bcn|bd|be|beats|beauty|beer|bentley|berlin|best|bestbuy|bet|bf|bg|bh|bharti|bi|bible|bid|bike|bing|bingo|bio|biz|bj|black|blackfriday|blanco|blockbuster|blog|bloomberg|blue|bm|bms|bmw|bn|bnl|bnpparibas|bo|boats|boehringer|bofa|bom|bond|boo|book|booking|boots|bosch|bostik|boston|bot|boutique|box|br|bradesco|bridgestone|broadway|broker|brother|brussels|bs|bt|budapest|bugatti|build|builders|business|buy|buzz|bv|bw|by|bz|bzh|ca|cab|cafe|cal|call|calvinklein|cam|camera|camp|cancerresearch|canon|capetown|capital|capitalone|car|caravan|cards|care|career|careers|cars|cartier|casa|case|caseih|cash|casino|cat|catering|catholic|cba|cbn|cbre|cbs|cc|cd|ceb|center|ceo|cern|cf|cfa|cfd|cg|ch|chanel|channel|chase|chat|cheap|chintai|chloe|christmas|chrome|chrysler|church|ci|cipriani|circle|cisco|citadel|citi|citic|city|cityeats|ck|cl|claims|cleaning|click|clinic|clinique|clothing|cloud|club|clubmed|cm|cn|co|coach|codes|coffee|college|cologne|com|comcast|commbank|community|company|compare|computer|comsec|condos|construction|consulting|contact|contractors|cooking|cookingchannel|cool|coop|corsica|country|coupon|coupons|courses|cr|credit|creditcard|creditunion|cricket|crown|crs|cruise|cruises|csc|cu|cuisinella|cv|cw|cx|cy|cymru|cyou|cz|dabur|dad|dance|data|date|dating|datsun|day|dclk|dds|de|deal|dealer|deals|degree|delivery|dell|deloitte|delta|democrat|dental|dentist|desi|design|dev|dhl|diamonds|diet|digital|direct|directory|discount|discover|dish|diy|dj|dk|dm|dnp|do|docs|doctor|dodge|dog|doha|domains|dot|download|drive|dtv|dubai|duck|dunlop|duns|dupont|durban|dvag|dvr|dz|earth|eat|ec|eco|edeka|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|epost|epson|equipment|er|ericsson|erni|es|esq|estate|esurance|et|etisalat|eu|eurovision|eus|events|everbank|exchange|expert|exposed|express|extraspace|fage|fail|fairwinds|faith|family|fan|fans|farm|farmers|fashion|fast|fedex|feedback|ferrari|ferrero|fi|fiat|fidelity|fido|film|final|finance|financial|fire|firestone|firmdale|fish|fishing|fit|fitness|fj|fk|flickr|flights|flir|florist|flowers|fly|fm|fo|foo|food|foodnetwork|football|ford|forex|forsale|forum|foundation|fox|fr|free|fresenius|frl|frogans|frontdoor|frontier|ftr|fujitsu|fujixerox|fun|fund|furniture|futbol|fyi|ga|gal|gallery|gallo|gallup|game|games|gap|garden|gb|gbiz|gd|gdn|ge|gea|gent|genting|george|gf|gg|ggee|gh|gi|gift|gifts|gives|giving|gl|glade|glass|gle|global|globo|gm|gmail|gmbh|gmo|gmx|gn|godaddy|gold|goldpoint|golf|goo|goodhands|goodyear|goog|google|gop|got|gov|gp|gq|gr|grainger|graphics|gratis|green|gripe|grocery|group|gs|gt|gu|guardian|gucci|guge|guide|guitars|guru|gw|gy|hair|hamburg|hangout|haus|hbo|hdfc|hdfcbank|health|healthcare|help|helsinki|here|hermes|hgtv|hiphop|hisamitsu|hitachi|hiv|hk|hkt|hm|hn|hockey|holdings|holiday|homedepot|homegoods|homes|homesense|honda|honeywell|horse|hospital|host|hosting|hot|hoteles|hotels|hotmail|house|how|hr|hsbc|ht|htc|hu|hughes|hyatt|hyundai|ibm|icbc|ice|icu|id|ie|ieee|ifm|ikano|il|im|imamat|imdb|immo|immobilien|in|industries|infiniti|info|ing|ink|institute|insurance|insure|int|intel|international|intuit|investments|io|ipiranga|iq|ir|irish|is|iselect|ismaili|ist|istanbul|it|itau|itv|iveco|iwc|jaguar|java|jcb|jcp|je|jeep|jetzt|jewelry|jio|jlc|jll|jm|jmp|jnj|jo|jobs|joburg|jot|joy|jp|jpmorgan|jprs|juegos|juniper|kaufen|kddi|ke|kerryhotels|kerrylogistics|kerryproperties|kfh|kg|kh|ki|kia|kim|kinder|kindle|kitchen|kiwi|km|kn|koeln|komatsu|kosher|kp|kpmg|kpn|kr|krd|kred|kuokgroup|kw|ky|kyoto|kz|la|lacaixa|ladbrokes|lamborghini|lamer|lancaster|lancia|lancome|land|landrover|lanxess|lasalle|lat|latino|latrobe|law|lawyer|lb|lc|lds|lease|leclerc|lefrak|legal|lego|lexus|lgbt|li|liaison|lidl|life|lifeinsurance|lifestyle|lighting|like|lilly|limited|limo|lincoln|linde|link|lipsy|live|living|lixil|lk|loan|loans|locker|locus|loft|lol|london|lotte|lotto|love|lpl|lplfinancial|lr|ls|lt|ltd|ltda|lu|lundbeck|lupin|luxe|luxury|lv|ly|ma|macys|madrid|maif|maison|makeup|man|management|mango|map|market|marketing|markets|marriott|marshalls|maserati|mattel|mba|mc|mckinsey|md|me|med|media|meet|melbourne|meme|memorial|men|menu|meo|merckmsd|metlife|mg|mh|miami|microsoft|mil|mini|mint|mit|mitsubishi|mk|ml|mlb|mls|mm|mma|mn|mo|mobi|mobile|mobily|moda|moe|moi|mom|monash|money|monster|mopar|mormon|mortgage|moscow|moto|motorcycles|mov|movie|movistar|mp|mq|mr|ms|msd|mt|mtn|mtr|mu|museum|mutual|mv|mw|mx|my|mz|na|nab|nadex|nagoya|name|nationwide|natura|navy|nba|nc|ne|nec|net|netbank|netflix|network|neustar|new|newholland|news|next|nextdirect|nexus|nf|nfl|ng|ngo|nhk|ni|nico|nike|nikon|ninja|nissan|nissay|nl|no|nokia|northwesternmutual|norton|now|nowruz|nowtv|np|nr|nra|nrw|ntt|nu|nyc|nz|obi|observer|off|office|okinawa|olayan|olayangroup|oldnavy|ollo|om|omega|one|ong|onl|online|onyourside|ooo|open|oracle|orange|org|organic|origins|osaka|otsuka|ott|ovh|pa|page|panasonic|panerai|paris|pars|partners|parts|party|passagens|pay|pccw|pe|pet|pf|pfizer|pg|ph|pharmacy|phd|philips|phone|photo|photography|photos|physio|piaget|pics|pictet|pictures|pid|pin|ping|pink|pioneer|pizza|pk|pl|place|play|playstation|plumbing|plus|pm|pn|pnc|pohl|poker|politie|porn|post|pr|pramerica|praxi|press|prime|pro|prod|productions|prof|progressive|promo|properties|property|protection|pru|prudential|ps|pt|pub|pw|pwc|py|qa|qpon|quebec|quest|qvc|racing|radio|raid|re|read|realestate|realtor|realty|recipes|red|redstone|redumbrella|rehab|reise|reisen|reit|reliance|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rexroth|rich|richardli|ricoh|rightathome|ril|rio|rip|rmit|ro|rocher|rocks|rodeo|rogers|room|rs|rsvp|ru|rugby|ruhr|run|rw|rwe|ryukyu|sa|saarland|safe|safety|sakura|sale|salon|samsclub|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|sas|save|saxo|sb|sbi|sbs|sc|sca|scb|schaeffler|schmidt|scholarships|school|schule|schwarz|science|scjohnson|scor|scot|sd|se|search|seat|secure|security|seek|select|sener|services|ses|seven|sew|sex|sexy|sfr|sg|sh|shangrila|sharp|shaw|shell|shia|shiksha|shoes|shop|shopping|shouji|show|showtime|shriram|si|silk|sina|singles|site|sj|sk|ski|skin|sky|skype|sl|sling|sm|smart|smile|sn|sncf|so|soccer|social|softbank|software|sohu|solar|solutions|song|sony|soy|space|spiegel|spot|spreadbetting|sr|srl|srt|st|stada|staples|star|starhub|statebank|statefarm|statoil|stc|stcgroup|stockholm|storage|store|stream|studio|study|style|su|sucks|supplies|supply|support|surf|surgery|suzuki|sv|swatch|swiftcover|swiss|sx|sy|sydney|symantec|systems|sz|tab|taipei|talk|taobao|target|tatamotors|tatar|tattoo|tax|taxi|tc|tci|td|tdk|team|tech|technology|tel|telecity|telefonica|temasek|tennis|teva|tf|tg|th|thd|theater|theatre|tiaa|tickets|tienda|tiffany|tips|tires|tirol|tj|tjmaxx|tjx|tk|tkmaxx|tl|tm|tmall|tn|to|today|tokyo|tools|top|toray|toshiba|total|tours|town|toyota|toys|tr|trade|trading|training|travel|travelchannel|travelers|travelersinsurance|trust|trv|tt|tube|tui|tunes|tushu|tv|tvs|tw|tz|ua|ubank|ubs|uconnect|ug|uk|unicom|university|uno|uol|ups|us|uy|uz|va|vacations|vana|vanguard|vc|ve|vegas|ventures|verisign|versicherung|vet|vg|vi|viajes|video|vig|viking|villas|vin|vip|virgin|visa|vision|vista|vistaprint|viva|vivo|vlaanderen|vn|vodka|volkswagen|volvo|vote|voting|voto|voyage|vu|vuelos|wales|walmart|walter|wang|wanggou|warman|watch|watches|weather|weatherchannel|webcam|weber|website|wed|wedding|weibo|weir|wf|whoswho|wien|wiki|williamhill|win|windows|wine|winners|wme|wolterskluwer|woodside|work|works|world|wow|ws|wtc|wtf|xbox|xerox|xfinity|xihuan|xin|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--30rr7y|xn--3bst00m|xn--3ds443g|xn--3e0b707e|xn--3hcrj9c|xn--3oq18vl8pn36a|xn--3pxu8k|xn--42c2d9a|xn--45br5cyl|xn--45brj9c|xn--45q11c|xn--4gbrim|xn--54b7fta0cc|xn--55qw42g|xn--55qx5d|xn--5su34j936bgsg|xn--5tzm5g|xn--6frz82g|xn--6qq986b3xl|xn--80adxhks|xn--80ao21a|xn--80aqecdr1a|xn--80asehdb|xn--80aswg|xn--8y0a063a|xn--90a3ac|xn--90ae|xn--90ais|xn--9dbq2a|xn--9et52u|xn--9krt00a|xn--b4w605ferd|xn--bck1b9a5dre4c|xn--c1avg|xn--c2br7g|xn--cck2b3b|xn--cg4bki|xn--clchc0ea0b2g2a9gcd|xn--czr694b|xn--czrs0t|xn--czru2d|xn--d1acj3b|xn--d1alf|xn--e1a4c|xn--eckvdtc9d|xn--efvy88h|xn--estv75g|xn--fct429k|xn--fhbei|xn--fiq228c5hs|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--fjq720a|xn--flw351e|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--fzys8d69uvgm|xn--g2xx48c|xn--gckr3f0f|xn--gecrj9c|xn--gk3at1e|xn--h2breg3eve|xn--h2brj9c|xn--h2brj9c8c|xn--hxt814e|xn--i1b6b1a6a2e|xn--imr513n|xn--io0a7i|xn--j1aef|xn--j1amh|xn--j6w193g|xn--jlq61u9w7b|xn--jvr189m|xn--kcrx77d1x4a|xn--kprw13d|xn--kpry57d|xn--kpu716f|xn--kput3i|xn--l1acc|xn--lgbbat1ad8j|xn--mgb9awbf|xn--mgba3a3ejt|xn--mgba3a4f16a|xn--mgba7c0bbn0a|xn--mgbaakc7dvf|xn--mgbaam7a8h|xn--mgbab2bd|xn--mgbai9azgqp6j|xn--mgbayh7gpa|xn--mgbb9fbpob|xn--mgbbh1a|xn--mgbbh1a71e|xn--mgbc0a9azcg|xn--mgbca7dzdo|xn--mgberp4a5d4ar|xn--mgbgu82a|xn--mgbi4ecexp|xn--mgbpl2fh|xn--mgbt3dhd|xn--mgbtx2b|xn--mgbx4cd0ab|xn--mix891f|xn--mk1bu44c|xn--mxtq1m|xn--ngbc5azd|xn--ngbe9e0a|xn--ngbrx|xn--node|xn--nqv7f|xn--nqv7fs00ema|xn--nyqy26a|xn--o3cw4h|xn--ogbpf8fl|xn--p1acf|xn--p1ai|xn--pbt977c|xn--pgbs0dh|xn--pssy2u|xn--q9jyb4c|xn--qcka1pmc|xn--qxam|xn--rhqv96g|xn--rovu88b|xn--rvc1e0am3e|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--tckwe|xn--tiq49xqyj|xn--unup4y|xn--vermgensberater-ctb|xn--vermgensberatung-pwb|xn--vhquv|xn--vuq861b|xn--w4r85el8fhu5dnra|xn--w4rs40l|xn--wgbh1c|xn--wgbl6a|xn--xhq521b|xn--xkc2al3hye2a|xn--xkc2dl3a5ee0h|xn--y9a3aq|xn--yfro4i67o|xn--ygbi2ammx|xn--zfr164b|xperia|xxx|xyz|yachts|yahoo|yamaxun|yandex|ye|yodobashi|yoga|yokohama|you|youtube|yt|yun|za|zappos|zara|zero|zip|zippo|zm|zone|zuerich|zw".split("|"),To="0123456789".split(""),Vn="0123456789abcdefghijklmnopqrstuvwxyz".split(""),bc=[" ","\f","\r"," ","\v","\xA0","\u1680","\u180E"],Qt=[],yt=function(t){return new la.CharacterState(t)},_s=yt(),ko=yt(rt.NUM),$a=yt(rt.DOMAIN),Ir=yt(),Ro=yt(rt.WS);_s.on("@",yt(rt.AT)).on(".",yt(rt.DOT)).on("+",yt(rt.PLUS)).on("#",yt(rt.POUND)).on("?",yt(rt.QUERY)).on("/",yt(rt.SLASH)).on("_",yt(rt.UNDERSCORE)).on(":",yt(rt.COLON)).on("{",yt(rt.OPENBRACE)).on("[",yt(rt.OPENBRACKET)).on("<",yt(rt.OPENANGLEBRACKET)).on("(",yt(rt.OPENPAREN)).on("}",yt(rt.CLOSEBRACE)).on("]",yt(rt.CLOSEBRACKET)).on(">",yt(rt.CLOSEANGLEBRACKET)).on(")",yt(rt.CLOSEPAREN)).on("&",yt(rt.AMPERSAND)).on([",",";","!",'"',"'"],yt(rt.PUNCTUATION)),_s.on(` `,yt(rt.NL)).on(bc,Ro),Ro.on(bc,Ro);for(var Oo=0;Oo=0&&p++,b++,r++;if(!(p<0)){r-=p,b-=p;var c=l.emit();n.push(new c(t.substr(r-b,b)))}}return n},wh=_s;Bs.State=la.CharacterState,Bs.TOKENS=fh,Bs.run=xh,Bs.start=wh;var Ls={},$t={};$t.__esModule=!0,$t.URL=$t.TEXT=$t.NL=$t.EMAIL=$t.MAILTOEMAIL=$t.Base=void 0;var er=qn,Cr=Ja,Br=qe;function Sh(e){return e instanceof Br.DOMAIN||e instanceof Br.TLD}var Ea=(0,er.createTokenClass)();Ea.prototype={type:"token",isLink:!1,toString:function(){for(var t=[],s=0;s0&&arguments[0]!==void 0?arguments[0]:"http";return{type:this.type,value:this.toString(),href:this.toHref(t)}}};var Mh=(0,Cr.inherits)(Ea,(0,er.createTokenClass)(),{type:"email",isLink:!0}),Ah=(0,Cr.inherits)(Ea,(0,er.createTokenClass)(),{type:"email",isLink:!0,toHref:function(){return"mailto:"+this.toString()}}),Eh=(0,Cr.inherits)(Ea,(0,er.createTokenClass)(),{type:"text"}),Th=(0,Cr.inherits)(Ea,(0,er.createTokenClass)(),{type:"nl"}),kh=(0,Cr.inherits)(Ea,(0,er.createTokenClass)(),{type:"url",isLink:!0,toHref:function(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"http",s=!1,a=!1,n=this.v,r=[],o=0;n[o]instanceof Br.PROTOCOL;)s=!0,r.push(n[o].toString().toLowerCase()),o++;for(;n[o]instanceof Br.SLASH;)a=!0,r.push(n[o].toString()),o++;for(;Sh(n[o]);)r.push(n[o].toString().toLowerCase()),o++;for(;o=0&&c++,a++,l++;if(c<0)for(var M=a-l;M0&&(n.push(new es.TEXT(r)),r=[]),a-=c,l-=c;var A=p.emit();n.push(new A(t.slice(a-l,a)))}}return r.length>0&&n.push(new es.TEXT(r)),n};Ls.State=Mc.TokenState,Ls.TOKENS=Rh,Ls.run=Bh,Ls.start=Xn,qt.__esModule=!0,qt.tokenize=qt.test=qt.scanner=qt.parser=qt.options=qt.inherits=qt.find=void 0;var Lh=Ja,Nh=Or,jh=No(Nh),Hh=Bs,Cc=No(Hh),Fh=Ls,Bc=No(Fh);function No(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s]);return t.default=e,t}Array.isArray||(Array.isArray=function(e){return Object.prototype.toString.call(e)==="[object Array]"});var jo=function(t){return Bc.run(Cc.run(t))},Ph=function(t){for(var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,a=jo(t),n=[],r=0;r1&&arguments[1]!==void 0?arguments[1]:null,a=jo(t);return a.length===1&&a[0].isLink&&(!s||a[0].type===s)};qt.find=Ph,qt.inherits=Lh.inherits,qt.options=jh,qt.parser=Bc,qt.scanner=Cc,qt.test=Uh,qt.tokenize=jo;var Lc=qt,Dh=(e,t,s)=>{const a={bold:s.bold,italic:s.italic,strike:s.strike,underline:s.underline,multilineCode:s.multilineCode,inlineCode:s.inlineCode},n={[a.bold]:{end:"\\"+a.bold,allowed_chars:".",type:"bold"},[a.italic]:{end:a.italic,allowed_chars:".",type:"italic"},[a.strike]:{end:a.strike,allowed_chars:".",type:"strike"},[a.underline]:{end:a.underline,allowed_chars:".",type:"underline"},[a.multilineCode]:{end:a.multilineCode,allowed_chars:`(.| )`,type:"multiline-code"},[a.inlineCode]:{end:a.inlineCode,allowed_chars:".",type:"inline-code"},"":{allowed_chars:".",end:"",type:"tag"}},r=Wn(e,n),o=qh(r,n),u=[].concat.apply([],o);return t&&zh(u),u};function Wn(e,t){let s=[],a=-1,n=null,r=Lc.find(e),o=!1;if(r.length>0&&(a=e.indexOf(r[0].value),o=!0),Object.keys(t).forEach(u=>{const b=e.indexOf(u);b>=0&&(a<0||b{typeof a=="string"?s.push({types:[],value:a}):t[a.start]&&s.push(Vh(a))}),s}function Vh(e){const t=[];return Nc(e,t,[]),t}function Nc(e,t,s){e.content.forEach(a=>{typeof a=="string"?t.push({types:jc(s.concat([e.type])),value:a}):Nc(a,t,jc([a.type].concat([e.type]).concat(s)))})}function jc(e){return[...new Set(e)]}function zh(e){const t=[];return e.forEach(s=>{const a=Lc.find(s.value);if(a.length){const n=s.value.replace(a[0].value,"");t.push({types:s.types,value:n}),s.types=["url"].concat(s.types),s.href=a[0].href,s.value=a[0].value}t.push(s)}),t}const Ho=["png","jpg","jpeg","webp","svg","gif"],Hc=["mp4","video/ogg","webm","quicktime"],Yh=["mp3","audio/ogg","wav","mpeg"],Xh={name:"FormatMessage",components:{SvgIcon:Ut},props:{messageId:{type:String,default:""},roomId:{type:String,default:""},roomList:{type:Boolean,default:!1},content:{type:[String,Number],required:!0},deleted:{type:Boolean,default:!1},users:{type:Array,default:()=>[]},linkify:{type:Boolean,default:!0},singleLine:{type:Boolean,default:!1},reply:{type:Boolean,default:!1},textFormatting:{type:Object,required:!0},textMessages:{type:Object,default:()=>{}},linkOptions:{type:Object,required:!0}},emits:["open-user-tag"],computed:{linkifiedMessage(){if(this.deleted)return[{value:this.textMessages.MESSAGE_DELETED}];const e=Dh(this.formatTags(this.content),this.linkify&&!this.linkOptions.disabled,this.textFormatting);return e.forEach(t=>{t.url=this.checkType(t,"url"),t.bold=this.checkType(t,"bold"),t.italic=this.checkType(t,"italic"),t.strike=this.checkType(t,"strike"),t.underline=this.checkType(t,"underline"),t.inline=this.checkType(t,"inline-code"),t.multiline=this.checkType(t,"multiline-code"),t.tag=this.checkType(t,"tag"),t.image=this.checkImageType(t),t.value=this.replaceEmojiByElement(t.value)}),e},formattedContent(){return this.deleted?this.textMessages.MESSAGE_DELETED:this.formatTags(this.content)}},methods:{checkType(e,t){return e.types.indexOf(t)!==-1},checkImageType(e){let t=e.value.lastIndexOf(".");e.value.lastIndexOf("/")>t&&(t=-1);const a=e.value.substring(t+1,e.value.length),n=t>0&&Ho.some(r=>a.toLowerCase().includes(r));return n&&this.setImageSize(e),n},setImageSize(e){const t=new Image;t.src=e.value,t.addEventListener("load",s);function s(a){const n=a.path[0].width/150;e.height=Math.round(a.path[0].height/n)+"px",t.removeEventListener("load",s)}},formatTags(e){const t="",s="",a=[...e.matchAll(new RegExp(t,"gi"))].map(r=>r.index),n=e;return a.forEach(r=>{const o=n.substring(r+t.length,n.indexOf(s,r)),u=this.users.find(b=>b._id===o);e=e.replaceAll(o,`@${(u==null?void 0:u.username)||"unknown"}`)}),e},openTag(e){if(!this.singleLine&&this.checkType(e,"tag")){const t=this.users.find(s=>e.value.indexOf(s.username)!==-1);this.$emit("open-user-tag",t)}},replaceEmojiByElement(e){let t;return this.singleLine?t=16:t=this.containsOnlyEmojis()?28:20,e.replaceAll(/[\p{Extended_Pictographic}\u{1F3FB}-\u{1F3FF}\u{1F9B0}-\u{1F9B3}]/gu,s=>`${s}`)},containsOnlyEmojis(){const e=this.content.replace(new RegExp("[\0-\u1EEFf]","g"),""),t=this.content.replace(new RegExp(`[ -\rs]+|( )+`,"g"),"");return e.length===t.length}}},Kh={class:"vac-image-link-container"},Gh={class:"vac-image-link-message"},Zh=["innerHTML"],Wh=["innerHTML"];function Qh(e,t,s,a,n,r){const o=Ge("svg-icon");return Q(),ne("div",{class:at(["vac-format-message-wrapper",{"vac-text-ellipsis":s.singleLine}])},[s.textFormatting.disabled?(Q(),ne("div",{key:1,innerHTML:r.formattedContent},null,8,Wh)):(Q(),ne("div",{key:0,class:at({"vac-text-ellipsis":s.singleLine})},[(Q(!0),ne(ut,null,tt(r.linkifiedMessage,(u,b)=>(Q(),ne("div",{key:b,class:"vac-format-container"},[(Q(),_t(Yd(u.url?"a":"span"),{class:at({"vac-text-ellipsis":s.singleLine,"vac-text-bold":u.bold,"vac-text-italic":s.deleted||u.italic,"vac-text-strike":u.strike,"vac-text-underline":u.underline,"vac-text-inline-code":!s.singleLine&&u.inline,"vac-text-multiline-code":!s.singleLine&&u.multiline,"vac-text-tag":!s.singleLine&&!s.reply&&u.tag}),href:u.href,target:u.href?s.linkOptions.target:null,rel:u.href?s.linkOptions.rel:null,onClick:l=>r.openTag(u)},{default:Ke(()=>[s.deleted?(Q(),ne(ut,{key:0},[Re(e.$slots,s.roomList?"deleted-icon-room_"+s.roomId:"deleted-icon_"+s.messageId,{},()=>[Oe(o,{name:"deleted",class:at(["vac-icon-deleted",{"vac-icon-deleted-room":s.roomList}])},null,8,["class"])]),aa(" "+Je(s.textMessages.MESSAGE_DELETED),1)],64)):u.url&&u.image?(Q(),ne(ut,{key:1},[he("div",Kh,[he("div",{class:"vac-image-link",style:ft({"background-image":`url('${u.value}')`,height:u.height})},null,4)]),he("div",Gh,[he("span",null,Je(u.value),1)])],64)):(Q(),ne("span",{key:2,innerHTML:u.value},null,8,Zh))]),_:2},1032,["class","href","target","rel","onClick"]))]))),128))],2))],2)}var Yr=St(Xh,[["render",Qh]]);const Ca="__v-click-outside",Fc=typeof window!="undefined",Jh=typeof navigator!="undefined",$h=Fc&&("ontouchstart"in window||Jh&&navigator.msMaxTouchPoints>0)?["touchstart"]:["click"],e2=e=>{const t=typeof e=="function";if(!t&&typeof e!="object")throw new Error("v-click-outside: Binding value must be a function or an object");return{handler:t?e:e.handler,middleware:e.middleware||(s=>s),events:e.events||$h,isActive:e.isActive!==!1,detectIframe:e.detectIframe!==!1,capture:Boolean(e.capture)}},Pc=({event:e,handler:t,middleware:s})=>{s(e)&&t(e)},t2=({el:e,event:t,handler:s,middleware:a})=>{setTimeout(()=>{const{activeElement:n}=document;n&&n.tagName==="IFRAME"&&!e.contains(n)&&Pc({event:t,handler:s,middleware:a})},0)},s2=({el:e,event:t,handler:s,middleware:a})=>{const n=t.path||t.composedPath&&t.composedPath();(n?n.indexOf(e)<0:!e.contains(t.target))&&Pc({event:t,handler:s,middleware:a})},Uc=(e,{value:t})=>{const{events:s,handler:a,middleware:n,isActive:r,detectIframe:o,capture:u}=e2(t);if(!!r){if(e[Ca]=s.map(b=>({event:b,srcTarget:document.documentElement,handler:l=>s2({el:e,event:l,handler:a,middleware:n}),capture:u})),o){const b={event:"blur",srcTarget:window,handler:l=>t2({el:e,event:l,handler:a,middleware:n}),capture:u};e[Ca]=[...e[Ca],b]}e[Ca].forEach(({event:b,srcTarget:l,handler:p})=>setTimeout(()=>{!e[Ca]||l.addEventListener(b,p,u)},0))}},Dc=e=>{(e[Ca]||[]).forEach(({event:s,srcTarget:a,handler:n,capture:r})=>a.removeEventListener(s,n,r)),delete e[Ca]};var Qn=Fc?{beforeMount:Uc,updated:(e,{value:t,oldValue:s})=>{JSON.stringify(t)!==JSON.stringify(s)&&(Dc(e),Uc(e,{value:t}))},unmounted:Dc}:{},qc=(e,t,s)=>{if(e.typingUsers&&e.typingUsers.length){const a=e.users.filter(n=>{if(n._id!==t&&e.typingUsers.indexOf(n._id)!==-1&&!(n.status&&n.status.state==="offline"))return!0});return a.length?e.users.length===2?s.IS_TYPING:a.map(n=>n.username).join(", ")+" "+s.IS_TYPING:void 0}};function Xr(e,t){if(!(!t||!t.type))return e.some(s=>t.type.toLowerCase().includes(s))}function ar(e){return Xr(Ho,e)}function Kr(e){return Xr(Hc,e)}function Vc(e){return Xr(Ho,e)||Xr(Hc,e)}function Jn(e){return Xr(Yh,e)}const a2={name:"RoomsContent",components:{SvgIcon:Ut,FormatMessage:Yr},directives:{clickOutside:Qn},props:{currentUserId:{type:[String,Number],required:!0},room:{type:Object,required:!0},textFormatting:{type:Object,required:!0},linkOptions:{type:Object,required:!0},textMessages:{type:Object,required:!0},roomActions:{type:Array,required:!0}},emits:["room-action-handler"],data(){return{roomMenuOpened:null}},computed:{getLastMessage(){const e=this.typingUsers;if(e)return e;const t=this.room.lastMessage.content;if(this.room.users.length<=2)return t;const s=this.room.users.find(a=>a._id===this.room.lastMessage.senderId);return this.room.lastMessage.username?`${this.room.lastMessage.username} - ${t}`:!s||s._id===this.currentUserId?t:`${s.username} - ${t}`},userStatus(){if(!this.room.users||this.room.users.length!==2)return;const e=this.room.users.find(t=>t._id!==this.currentUserId);return e&&e.status?e.status.state:null},typingUsers(){return qc(this.room,this.currentUserId,this.textMessages)},isMessageCheckmarkVisible(){return!this.typingUsers&&this.room.lastMessage&&!this.room.lastMessage.deleted&&this.room.lastMessage.senderId===this.currentUserId&&(this.room.lastMessage.saved||this.room.lastMessage.distributed||this.room.lastMessage.seen)},formattedDuration(){var t,s;const e=(s=(t=this.room.lastMessage)==null?void 0:t.files)==null?void 0:s[0];if(e){if(!e.duration)return`${e.name}.${e.extension}`;let a=Math.floor(e.duration);return(a-(a%=60))/60+(a>9?":":":0")+a}return""},isAudio(){return this.room.lastMessage.files?Jn(this.room.lastMessage.files[0]):!1}},methods:{roomActionHandler(e){this.closeRoomMenu(),this.$emit("room-action-handler",{action:e,roomId:this.room.roomId})},closeRoomMenu(){this.roomMenuOpened=null}}},r2={class:"vac-room-container"},n2={class:"vac-name-container vac-text-ellipsis"},i2={class:"vac-title-container"},o2={class:"vac-room-name vac-text-ellipsis"},l2={key:1,class:"vac-text-date"},c2={key:0},u2={key:1,class:"vac-text-ellipsis"},d2={key:3,class:"vac-text-ellipsis"},f2={class:"vac-room-options-container"},m2={key:0,class:"vac-badge-counter vac-room-badge"},h2={key:0,class:"vac-menu-options"},v2={class:"vac-menu-list"},_2=["onClick"];function p2(e,t,s,a,n,r){const o=Ge("svg-icon"),u=Ge("format-message"),b=Bn("click-outside");return Q(),ne("div",r2,[Re(e.$slots,"room-list-item_"+s.room.roomId,{},()=>[Re(e.$slots,"room-list-avatar_"+s.room.roomId,{},()=>[s.room.avatar?(Q(),ne("div",{key:0,class:"vac-avatar",style:ft({"background-image":`url('${s.room.avatar}')`})},null,4)):Be("",!0)]),he("div",n2,[he("div",i2,[r.userStatus?(Q(),ne("div",{key:0,class:at(["vac-state-circle",{"vac-state-online":r.userStatus==="online"}])},null,2)):Be("",!0),he("div",o2,Je(s.room.roomName),1),s.room.lastMessage?(Q(),ne("div",l2,Je(s.room.lastMessage.timestamp),1)):Be("",!0)]),he("div",{class:at(["vac-text-last",{"vac-message-new":s.room.lastMessage&&s.room.lastMessage.new&&!r.typingUsers}])},[r.isMessageCheckmarkVisible?(Q(),ne("span",c2,[Re(e.$slots,"checkmark-icon_"+s.room.roomId,{},()=>[Oe(o,{name:s.room.lastMessage.distributed?"double-checkmark":"checkmark",param:s.room.lastMessage.seen?"seen":"",class:"vac-icon-check"},null,8,["name","param"])])])):Be("",!0),s.room.lastMessage&&!s.room.lastMessage.deleted&&r.isAudio?(Q(),ne("div",u2,[Re(e.$slots,"microphone-icon_"+s.room.roomId,{},()=>[Oe(o,{name:"microphone",class:"vac-icon-microphone"})]),aa(" "+Je(r.formattedDuration),1)])):s.room.lastMessage?(Q(),_t(u,{key:2,"message-id":s.room.lastMessage._id,"room-id":s.room.roomId,"room-list":!0,content:r.getLastMessage,deleted:!!s.room.lastMessage.deleted&&!r.typingUsers,users:s.room.users,"text-messages":s.textMessages,linkify:!1,"text-formatting":s.textFormatting,"link-options":s.linkOptions,"single-line":!0},bt({_:2},[tt(e.$slots,(l,p)=>({name:p,fn:Ke(c=>[Re(e.$slots,p,gt(pt(c)))])}))]),1032,["message-id","room-id","content","deleted","users","text-messages","text-formatting","link-options"])):Be("",!0),!s.room.lastMessage&&r.typingUsers?(Q(),ne("div",d2,Je(r.typingUsers),1)):Be("",!0),he("div",f2,[s.room.unreadCount?(Q(),ne("div",m2,Je(s.room.unreadCount),1)):Be("",!0),Re(e.$slots,"room-list-options_"+s.room.roomId,{},()=>[s.roomActions.length?(Q(),ne("div",{key:0,class:"vac-svg-button vac-list-room-options",onClick:t[0]||(t[0]=oa(l=>n.roomMenuOpened=s.room.roomId,["stop"]))},[Re(e.$slots,"room-list-options-icon_"+s.room.roomId,{},()=>[Oe(o,{name:"dropdown",param:"room"})])])):Be("",!0),s.roomActions.length?(Q(),_t(Lt,{key:1,name:"vac-slide-left"},{default:Ke(()=>[n.roomMenuOpened===s.room.roomId?zs((Q(),ne("div",h2,[he("div",v2,[(Q(!0),ne(ut,null,tt(s.roomActions,l=>(Q(),ne("div",{key:l.name},[he("div",{class:"vac-menu-item",onClick:oa(p=>r.roomActionHandler(l),["stop"])},Je(l.title),9,_2)]))),128))])])),[[b,r.closeRoomMenu]]):Be("",!0)]),_:1})):Be("",!0)])])],2)])])])}var g2=St(a2,[["render",p2]]),Fo=(e,t,s,a=!1)=>!s||s===""?e:e.filter(n=>a?$n(n[t]).startsWith($n(s)):$n(n[t]).includes($n(s)));function $n(e){return e.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"")}const b2={name:"RoomsList",components:{Loader:Dn,RoomsSearch:Om,RoomContent:g2},props:{currentUserId:{type:[String,Number],required:!0},textMessages:{type:Object,required:!0},showRoomsList:{type:Boolean,required:!0},showSearch:{type:Boolean,required:!0},showAddRoom:{type:Boolean,required:!0},textFormatting:{type:Object,required:!0},linkOptions:{type:Object,required:!0},isMobile:{type:Boolean,required:!0},rooms:{type:Array,required:!0},loadingRooms:{type:Boolean,required:!0},roomsLoaded:{type:Boolean,required:!0},room:{type:Object,required:!0},roomActions:{type:Array,required:!0},scrollDistance:{type:Number,required:!0}},emits:["add-room","room-action-handler","loading-more-rooms","fetch-room","fetch-more-rooms"],data(){return{filteredRooms:this.rooms||[],observer:null,showLoader:!0,loadingMoreRooms:!1,selectedRoomId:""}},watch:{rooms:{deep:!0,handler(e,t){this.filteredRooms=e,(e.length!==t.length||this.roomsLoaded)&&(this.loadingMoreRooms=!1)}},loadingRooms(e){e||setTimeout(()=>this.initIntersectionObserver())},loadingMoreRooms(e){this.$emit("loading-more-rooms",e)},roomsLoaded:{immediate:!0,handler(e){e&&(this.loadingMoreRooms=!1,this.loadingRooms||(this.showLoader=!1))}},room:{immediate:!0,handler(e){e&&!this.isMobile&&(this.selectedRoomId=e.roomId)}}},methods:{initIntersectionObserver(){this.observer&&(this.showLoader=!0,this.observer.disconnect());const e=document.querySelector("vue-advanced-chat").shadowRoot.getElementById("infinite-loader-rooms");if(e){const t={root:document.querySelector("vue-advanced-chat").shadowRoot.getElementById("rooms-list"),rootMargin:`${this.scrollDistance}px`,threshold:0};this.observer=new IntersectionObserver(s=>{s[0].isIntersecting&&this.loadMoreRooms()},t),this.observer.observe(e)}},searchRoom(e){this.filteredRooms=Fo(this.rooms,"roomName",e.target.value)},openRoom(e){e.roomId===this.room.roomId&&!this.isMobile||(this.isMobile||(this.selectedRoomId=e.roomId),this.$emit("fetch-room",{room:e}))},loadMoreRooms(){if(!this.loadingMoreRooms){if(this.roomsLoaded){this.loadingMoreRooms=!1,this.showLoader=!1;return}this.$emit("fetch-more-rooms"),this.loadingMoreRooms=!0}}}},y2={key:0,class:"vac-rooms-empty"},x2={key:1,id:"rooms-list",class:"vac-room-list"},w2=["id","onClick"],S2={key:0,id:"infinite-loader-rooms"};function M2(e,t,s,a,n,r){const o=Ge("rooms-search"),u=Ge("loader"),b=Ge("room-content");return zs((Q(),ne("div",{class:at(["vac-rooms-container",{"vac-rooms-container-full":s.isMobile,"vac-app-border-r":!s.isMobile}])},[Re(e.$slots,"rooms-header"),Re(e.$slots,"rooms-list-search",{},()=>[Oe(o,{rooms:s.rooms,"loading-rooms":s.loadingRooms,"text-messages":s.textMessages,"show-search":s.showSearch,"show-add-room":s.showAddRoom,onSearchRoom:r.searchRoom,onAddRoom:t[0]||(t[0]=l=>e.$emit("add-room"))},bt({_:2},[tt(e.$slots,(l,p)=>({name:p,fn:Ke(c=>[Re(e.$slots,p,gt(pt(c)))])}))]),1032,["rooms","loading-rooms","text-messages","show-search","show-add-room","onSearchRoom"])]),Oe(u,{show:s.loadingRooms,type:"rooms"},bt({_:2},[tt(e.$slots,(l,p)=>({name:p,fn:Ke(c=>[Re(e.$slots,p,gt(pt(c)))])}))]),1032,["show"]),!s.loadingRooms&&!s.rooms.length?(Q(),ne("div",y2,[Re(e.$slots,"rooms-empty",{},()=>[aa(Je(s.textMessages.ROOMS_EMPTY),1)])])):Be("",!0),s.loadingRooms?Be("",!0):(Q(),ne("div",x2,[(Q(!0),ne(ut,null,tt(n.filteredRooms,l=>(Q(),ne("div",{id:l.roomId,key:l.roomId,class:at(["vac-room-item",{"vac-room-selected":n.selectedRoomId===l.roomId}]),onClick:p=>r.openRoom(l)},[Oe(b,{"current-user-id":s.currentUserId,room:l,"text-formatting":s.textFormatting,"link-options":s.linkOptions,"text-messages":s.textMessages,"room-actions":s.roomActions,onRoomActionHandler:t[1]||(t[1]=p=>e.$emit("room-action-handler",p))},bt({_:2},[tt(e.$slots,(p,c)=>({name:c,fn:Ke(M=>[Re(e.$slots,c,gt(pt(M)))])}))]),1032,["current-user-id","room","text-formatting","link-options","text-messages","room-actions"])],10,w2))),128)),Oe(Lt,{name:"vac-fade-message"},{default:Ke(()=>[s.rooms.length&&!s.loadingRooms?(Q(),ne("div",S2,[Oe(u,{show:n.showLoader,infinite:!0,type:"infinite-rooms"},bt({_:2},[tt(e.$slots,(l,p)=>({name:p,fn:Ke(c=>[Re(e.$slots,p,gt(pt(c)))])}))]),1032,["show"])])):Be("",!0)]),_:3})]))],2)),[[Un,s.showRoomsList]])}var A2=St(b2,[["render",M2]]);const E2={name:"RoomHeader",components:{SvgIcon:Ut},directives:{clickOutside:Qn},props:{currentUserId:{type:[String,Number],required:!0},textMessages:{type:Object,required:!0},singleRoom:{type:Boolean,required:!0},showRoomsList:{type:Boolean,required:!0},isMobile:{type:Boolean,required:!0},roomInfoEnabled:{type:Boolean,required:!0},menuActions:{type:Array,required:!0},room:{type:Object,required:!0},messageSelectionEnabled:{type:Boolean,required:!0},messageSelectionActions:{type:Array,required:!0},selectedMessagesTotal:{type:Number,required:!0}},emits:["toggle-rooms-list","room-info","menu-action-handler","cancel-message-selection","message-selection-action-handler"],data(){return{menuOpened:!1,messageSelectionAnimationEnded:!0}},computed:{typingUsers(){return qc(this.room,this.currentUserId,this.textMessages)},userStatus(){if(!this.room.users||this.room.users.length!==2)return;const e=this.room.users.find(s=>s._id!==this.currentUserId);if(!e.status)return;let t="";return e.status.state==="online"?t=this.textMessages.IS_ONLINE:e.status.lastChanged&&(t=this.textMessages.LAST_SEEN+e.status.lastChanged),t}},watch:{messageSelectionEnabled(e){e?this.messageSelectionAnimationEnded=!1:setTimeout(()=>{this.messageSelectionAnimationEnded=!0},300)}},methods:{menuActionHandler(e){this.closeMenu(),this.$emit("menu-action-handler",e)},closeMenu(){this.menuOpened=!1},messageSelectionActionHandler(e){this.$emit("message-selection-action-handler",e)}}},T2={class:"vac-room-header vac-app-border-b"},k2={class:"vac-room-wrapper"},R2={key:0,class:"vac-room-selection"},O2=["id"],I2=["onClick"],C2={class:"vac-selection-button-count"},B2={class:"vac-text-ellipsis"},L2={class:"vac-room-name vac-text-ellipsis"},N2={key:0,class:"vac-room-info vac-text-ellipsis"},j2={key:1,class:"vac-room-info vac-text-ellipsis"},H2={key:0,class:"vac-menu-options"},F2={class:"vac-menu-list"},P2=["onClick"];function U2(e,t,s,a,n,r){const o=Ge("svg-icon"),u=Bn("click-outside");return Q(),ne("div",T2,[Re(e.$slots,"room-header",{},()=>[he("div",k2,[Oe(Lt,{name:"vac-slide-up"},{default:Ke(()=>[s.messageSelectionEnabled?(Q(),ne("div",R2,[(Q(!0),ne(ut,null,tt(s.messageSelectionActions,b=>(Q(),ne("div",{id:b.name,key:b.name},[he("div",{class:"vac-selection-button",onClick:l=>r.messageSelectionActionHandler(b)},[aa(Je(b.title)+" ",1),he("span",C2,Je(s.selectedMessagesTotal),1)],8,I2)],8,O2))),128)),he("div",{class:"vac-selection-cancel vac-item-clickable",onClick:t[0]||(t[0]=b=>e.$emit("cancel-message-selection"))},Je(s.textMessages.CANCEL_SELECT_MESSAGE),1)])):Be("",!0)]),_:1}),!s.messageSelectionEnabled&&n.messageSelectionAnimationEnded?(Q(),ne(ut,{key:0},[s.singleRoom?Be("",!0):(Q(),ne("div",{key:0,class:at(["vac-svg-button vac-toggle-button",{"vac-rotate-icon-init":!s.isMobile,"vac-rotate-icon":!s.showRoomsList&&!s.isMobile}]),onClick:t[1]||(t[1]=b=>e.$emit("toggle-rooms-list"))},[Re(e.$slots,"toggle-icon",{},()=>[Oe(o,{name:"toggle"})])],2)),he("div",{class:at(["vac-info-wrapper",{"vac-item-clickable":s.roomInfoEnabled}]),onClick:t[2]||(t[2]=b=>e.$emit("room-info"))},[Re(e.$slots,"room-header-avatar",{},()=>[s.room.avatar?(Q(),ne("div",{key:0,class:"vac-avatar",style:ft({"background-image":`url('${s.room.avatar}')`})},null,4)):Be("",!0)]),Re(e.$slots,"room-header-info",{},()=>[he("div",B2,[he("div",L2,Je(s.room.roomName),1),r.typingUsers?(Q(),ne("div",N2,Je(r.typingUsers),1)):(Q(),ne("div",j2,Je(r.userStatus),1))])])],2),s.room.roomId?Re(e.$slots,"room-options",{key:1},()=>[s.menuActions.length?(Q(),ne("div",{key:0,class:"vac-svg-button vac-room-options",onClick:t[3]||(t[3]=b=>n.menuOpened=!n.menuOpened)},[Re(e.$slots,"menu-icon",{},()=>[Oe(o,{name:"menu"})])])):Be("",!0),s.menuActions.length?(Q(),_t(Lt,{key:1,name:"vac-slide-left"},{default:Ke(()=>[n.menuOpened?zs((Q(),ne("div",H2,[he("div",F2,[(Q(!0),ne(ut,null,tt(s.menuActions,b=>(Q(),ne("div",{key:b.name},[he("div",{class:"vac-menu-item",onClick:l=>r.menuActionHandler(b)},Je(b.title),9,P2)]))),128))])])),[[u,r.closeMenu]]):Be("",!0)]),_:1})):Be("",!0)]):Be("",!0)],64)):Be("",!0)])])])}var D2=St(E2,[["render",U2]]);function ei(e){if(typeof e!="string"||!e)throw new Error("expected a non-empty string, got: "+e)}function Po(e){if(typeof e!="number")throw new Error("expected a number, got: "+e)}const q2=1,V2=1,Ba="emoji",rr="keyvalue",Uo="favorites",z2="tokens",zc="tokens",Y2="unicode",Yc="count",X2="group",K2="order",Xc="group-order",Do="eTag",ti="url",Kc="skinTone",nr="readonly",qo="readwrite",Gc="skinUnicodes",G2="skinUnicodes",Z2="https://cdn.jsdelivr.net/npm/emoji-picker-element-data@^1/en/emojibase/data.json",W2="en";function Q2(e,t){const s=new Set,a=[];for(const n of e){const r=t(n);s.has(r)||(s.add(r),a.push(n))}return a}function Zc(e){return Q2(e,t=>t.unicode)}function J2(e){function t(s,a,n){const r=a?e.createObjectStore(s,{keyPath:a}):e.createObjectStore(s);if(n)for(const[o,[u,b]]of Object.entries(n))r.createIndex(o,u,{multiEntry:b});return r}t(rr),t(Ba,Y2,{[zc]:[z2,!0],[Xc]:[[X2,K2]],[Gc]:[G2,!0]}),t(Uo,void 0,{[Yc]:[""]})}const Vo={},si={},ai={};function Wc(e,t,s){s.onerror=()=>t(s.error),s.onblocked=()=>t(new Error("IDB blocked")),s.onsuccess=()=>e(s.result)}async function $2(e){const t=await new Promise((s,a)=>{const n=indexedDB.open(e,q2);Vo[e]=n,n.onupgradeneeded=r=>{r.oldVersionzo(e),t}function ev(e){return si[e]||(si[e]=$2(e)),si[e]}function Gs(e,t,s,a){return new Promise((n,r)=>{const o=e.transaction(t,s,{durability:"relaxed"}),u=typeof t=="string"?o.objectStore(t):t.map(l=>o.objectStore(l));let b;a(u,o,l=>{b=l}),o.oncomplete=()=>n(b),o.onerror=()=>r(o.error)})}function zo(e){const t=Vo[e],s=t&&t.result;if(s){s.close();const a=ai[e];if(a)for(const n of a)n()}delete Vo[e],delete si[e],delete ai[e]}function tv(e){return new Promise((t,s)=>{zo(e);const a=indexedDB.deleteDatabase(e);Wc(t,s,a)})}function sv(e,t){let s=ai[e];s||(s=ai[e]=[]),s.push(t)}const av=new Set([":D","XD",":'D","O:)",":X",":P",";P","XP",":L",":Z",":j","8D","XO","8)",":B",":O",":S",":'o","Dx","X(","D:",":C",">0)",":3","!t.match(/\w/)||av.has(t)?t.toLowerCase():t.replace(/[)(:,]/g,"").replace(/’/g,"'").toLowerCase()).filter(Boolean)}const rv=2;function Qc(e){return e.filter(Boolean).map(t=>t.toLowerCase()).filter(t=>t.length>=rv)}function nv(e){return e.map(({annotation:s,emoticon:a,group:n,order:r,shortcodes:o,skins:u,tags:b,emoji:l,version:p})=>{const c=[...new Set(Qc([...(o||[]).map(ir).flat(),...b.map(ir).flat(),...ir(s),a]))].sort(),M={annotation:s,group:n,order:r,tags:b,tokens:c,unicode:l,version:p};if(a&&(M.emoticon=a),o&&(M.shortcodes=o),u){M.skinTones=[],M.skinUnicodes=[],M.skinVersions=[];for(const{tone:A,emoji:i,version:H}of u)M.skinTones.push(A),M.skinUnicodes.push(i),M.skinVersions.push(H)}return M})}function Jc(e,t,s,a){e[t](s).onsuccess=n=>a&&a(n.target.result)}function La(e,t,s){Jc(e,"get",t,s)}function $c(e,t,s){Jc(e,"getAll",t,s)}function Yo(e){e.commit&&e.commit()}function iv(e,t){let s=e[0];for(let a=1;at(n)&&(s=n)}return s}function e1(e,t){const s=iv(e,n=>n.length),a=[];for(const n of s)e.some(r=>r.findIndex(o=>t(o)===t(n))===-1)||a.push(n);return a}async function ov(e){return!await Xo(e,rr,ti)}async function lv(e,t,s){const[a,n]=await Promise.all([Do,ti].map(r=>Xo(e,rr,r)));return a===s&&n===t}async function cv(e,t){return Gs(e,Ba,nr,(a,n,r)=>{let o;const u=()=>{a.getAll(o&&IDBKeyRange.lowerBound(o,!0),50).onsuccess=b=>{const l=b.target.result;for(const p of l)if(o=p.unicode,t(p))return r(p);if(l.length<50)return r();u()}};u()})}async function t1(e,t,s,a){try{const n=nv(t);await Gs(e,[Ba,rr],qo,([r,o],u)=>{let b,l,p=0;function c(){++p===2&&M()}function M(){if(!(b===a&&l===s)){r.clear();for(const A of n)r.put(A);o.put(a,Do),o.put(s,ti),Yo(u)}}La(o,Do,A=>{b=A,c()}),La(o,ti,A=>{l=A,c()})})}finally{}}async function uv(e,t){return Gs(e,Ba,nr,(s,a,n)=>{const r=IDBKeyRange.bound([t,0],[t+1,0],!1,!0);$c(s.index(Xc),r,n)})}async function s1(e,t){const s=Qc(ir(t));return s.length?Gs(e,Ba,nr,(a,n,r)=>{const o=[],u=()=>{o.length===s.length&&b()},b=()=>{const l=e1(o,p=>p.unicode);r(l.sort((p,c)=>p.order{o.push(M),u()})}}):[]}async function dv(e,t){const s=await s1(e,t);return s.length?s.filter(a=>(a.shortcodes||[]).map(r=>r.toLowerCase()).includes(t.toLowerCase()))[0]||null:await cv(e,n=>(n.shortcodes||[]).includes(t.toLowerCase()))||null}async function fv(e,t){return Gs(e,Ba,nr,(s,a,n)=>La(s,t,r=>{if(r)return n(r);La(s.index(Gc),t,o=>n(o||null))}))}function Xo(e,t,s){return Gs(e,t,nr,(a,n,r)=>La(a,s,r))}function mv(e,t,s,a){return Gs(e,t,qo,(n,r)=>{n.put(a,s),Yo(r)})}function hv(e,t){return Gs(e,Uo,qo,(s,a)=>La(s,t,n=>{s.put((n||0)+1,t),Yo(a)}))}function vv(e,t,s){return s===0?[]:Gs(e,[Uo,Ba],nr,([a,n],r,o)=>{const u=[];a.index(Yc).openCursor(void 0,"prev").onsuccess=b=>{const l=b.target.result;if(!l)return o(u);function p(A){if(u.push(A),u.length===s)return o(u);l.continue()}const c=l.primaryKey,M=t.byName(c);if(M)return p(M);La(n,c,A=>{if(A)return p(A);l.continue()})}})}const ri="";function _v(e,t){const s=new Map;for(const n of e){const r=t(n);for(const o of r){let u=s;for(let l=0;l{let o=s;for(let l=0;lc[0]!(a in e[0])));if(!t||s)throw new Error("Custom emojis are in the wrong format")}function a1(e){gv(e);const t=(M,A)=>M.name.toLowerCase()[...new Set((M.shortcodes||[]).map(A=>ir(A)).flat())]),r=M=>n(M,!0),o=M=>n(M,!1),u=M=>{const A=ir(M),i=A.map((H,B)=>(BH.name).sort(t)},b=new Map,l=new Map;for(const M of e){l.set(M.name.toLowerCase(),M);for(const A of M.shortcodes||[])b.set(A.toLowerCase(),M)}return{all:s,search:u,byShortcode:M=>b.get(M.toLowerCase()),byName:M=>l.get(M.toLowerCase())}}function Gr(e){if(!e)return e;if(delete e.tokens,e.skinTones){const t=e.skinTones.length;e.skins=Array(t);for(let s=0;s!(t in e[0])))throw new Error("Emoji data is in the wrong format")}function n1(e,t){if(Math.floor(e.status/100)!==2)throw new Error("Failed to fetch: "+t+": "+e.status)}async function xv(e){const t=await fetch(e,{method:"HEAD"});n1(t,e);const s=t.headers.get("etag");return r1(s),s}async function Ko(e){const t=await fetch(e);n1(t,e);const s=t.headers.get("etag");r1(s);const a=await t.json();return yv(a),[s,a]}function wv(e){for(var t="",s=new Uint8Array(e),a=s.byteLength,n=-1;++n(this._ready||(this._ready=this._init()),this._ready);await t(),this._db||await t()}async getEmojiByGroup(t){return Po(t),await this.ready(),Zc(await uv(this._db,t)).map(Gr)}async getEmojiBySearchQuery(t){ei(t),await this.ready();const s=this._custom.search(t),a=Zc(await s1(this._db,t)).map(Gr);return[...s,...a]}async getEmojiByShortcode(t){ei(t),await this.ready();const s=this._custom.byShortcode(t);return s||Gr(await dv(this._db,t))}async getEmojiByUnicodeOrName(t){ei(t),await this.ready();const s=this._custom.byName(t);return s||Gr(await fv(this._db,t))}async getPreferredSkinTone(){return await this.ready(),await Xo(this._db,rr,Kc)||0}async setPreferredSkinTone(t){return Po(t),await this.ready(),mv(this._db,rr,Kc,t)}async incrementFavoriteEmojiCount(t){return ei(t),await this.ready(),hv(this._db,t)}async getTopFavoriteEmoji(t){return Po(t),await this.ready(),(await vv(this._db,this._custom,t)).map(Gr)}set customEmoji(t){this._custom=a1(t)}get customEmoji(){return this._custom.all}async _shutdown(){await this.ready();try{await this._lazyUpdate}catch{}}_clear(){this._db=this._ready=this._lazyUpdate=void 0}async close(){await this._shutdown(),await zo(this._dbName)}async delete(){await this._shutdown(),await tv(this._dbName)}}function Zr(){}function l1(e){return e()}function c1(){return Object.create(null)}function Wr(e){e.forEach(l1)}function u1(e){return typeof e=="function"}function Ev(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let ni;function ii(e,t){return ni||(ni=document.createElement("a")),ni.href=t,e===ni.href}function Tv(e){return Object.keys(e).length===0}function kv(e){return e&&u1(e.destroy)?e.destroy:Zr}function At(e,t){e.appendChild(t)}function ws(e,t,s){e.insertBefore(t,s||null)}function Ss(e){e.parentNode.removeChild(e)}function xt(e){return document.createElement(e)}function Ns(e){return document.createTextNode(e)}function Ms(e,t,s,a){return e.addEventListener(t,s,a),()=>e.removeEventListener(t,s,a)}function se(e,t,s){s==null?e.removeAttribute(t):e.getAttribute(t)!==s&&e.setAttribute(t,s)}function js(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function d1(e,t){e.value=t==null?"":t}function ua(e,t,s,a){s===null?e.style.removeProperty(t):e.style.setProperty(t,s,a?"important":"")}let Go;function Qr(e){Go=e}const Jr=[],or=[],oi=[],f1=[],m1=Promise.resolve();let Zo=!1;function h1(){Zo||(Zo=!0,m1.then(v1))}function Rv(){return h1(),m1}function Wo(e){oi.push(e)}const Qo=new Set;let li=0;function v1(){const e=Go;do{for(;lim.get(w)?(C.add(E),T(L)):(R.add(w),M--):(b(f,o),M--)}for(;M--;){const L=e[M];N.has(L.key)||b(L,o)}for(;A;)T(B[A-1]);return B}function Lv(e,t,s,a){const{fragment:n,on_mount:r,on_destroy:o,after_update:u}=e.$$;n&&n.m(t,s),a||Wo(()=>{const b=r.map(l1).filter(u1);o?o.push(...b):Wr(b),e.$$.on_mount=[]}),u.forEach(Wo)}function Nv(e,t){const s=e.$$;s.fragment!==null&&(Wr(s.on_destroy),s.fragment&&s.fragment.d(t),s.on_destroy=s.fragment=null,s.ctx=[])}function jv(e,t){e.$$.dirty[0]===-1&&(Jr.push(e),h1(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<{const i=A.length?A[0]:M;return l.ctx&&n(l.ctx[c],l.ctx[c]=i)&&(!l.skip_bound&&l.bound[c]&&l.bound[c](i),p&&jv(e,c)),M}):[],l.update(),p=!0,Wr(l.before_update),l.fragment=a?a(l.ctx):!1,t.target&&(l.fragment&&l.fragment.c(),Lv(e,t.target,void 0,void 0),v1()),Qr(b)}class Fv{$destroy(){Nv(this,1),this.$destroy=Zr}$on(t,s){const a=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return a.push(s),()=>{const n=a.indexOf(s);n!==-1&&a.splice(n,1)}}$set(t){this.$$set&&!Tv(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const _1=[[-1,"\u2728","custom"],[0,"\u{1F600}","smileys-emotion"],[1,"\u{1F44B}","people-body"],[3,"\u{1F431}","animals-nature"],[4,"\u{1F34E}","food-drink"],[5,"\u{1F3E0}\uFE0F","travel-places"],[6,"\u26BD","activities"],[7,"\u{1F4DD}","objects"],[8,"\u26D4\uFE0F","symbols"],[9,"\u{1F3C1}","flags"]].map(([e,t,s])=>({id:e,emoji:t,name:s})),ci=_1.slice(1),Pv=_1[0],Uv=2,p1=6,g1=typeof requestIdleCallback=="function"?requestIdleCallback:setTimeout;function b1(e){return e.unicode.includes("\u200D")}const Dv={"\u{1FAE0}":14,"\u{1F972}":13.1,"\u{1F97B}":12.1,"\u{1F970}":11,"\u{1F929}":5,"\u{1F471}\u200D\u2640\uFE0F":4,"\u{1F923}":3,"\u{1F441}\uFE0F\u200D\u{1F5E8}\uFE0F":2,"\u{1F600}":1,"\u{1F610}\uFE0F":.7,"\u{1F603}":.6},qv=1e3,Vv="\u{1F590}\uFE0F",zv=8,Yv=["\u{1F60A}","\u{1F612}","\u2665\uFE0F","\u{1F44D}\uFE0F","\u{1F60D}","\u{1F602}","\u{1F62D}","\u263A\uFE0F","\u{1F614}","\u{1F629}","\u{1F60F}","\u{1F495}","\u{1F64C}","\u{1F618}"],y1='"Twemoji Mozilla","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji","EmojiOne Color","Android Emoji",sans-serif',Xv=(e,t)=>et?1:0,x1=(e,t)=>{const s=document.createElement("canvas");s.width=s.height=1;const a=s.getContext("2d");return a.textBaseline="top",a.font=`100px ${y1}`,a.fillStyle=t,a.scale(.01,.01),a.fillText(e,0,0),a.getImageData(0,0,1,1).data},Kv=(e,t)=>{const s=[...e].join(","),a=[...t].join(",");return s===a&&!s.startsWith("0,0,0,")};function Gv(e){const t=x1(e,"#000"),s=x1(e,"#fff");return t&&s&&Kv(t,s)}function Zv(){const e=Object.entries(Dv);try{for(const[t,s]of e)if(Gv(t))return s}catch{}finally{}return e[0][1]}const Jo=new Promise(e=>g1(()=>e(Zv()))),$o=new Map,Wv="\uFE0F",Qv="\uD83C",Jv="\u200D",$v=127995,e_=57339;function t_(e,t){if(t===0)return e;const s=e.indexOf(Jv);return s!==-1?e.substring(0,s)+String.fromCodePoint($v+t-1)+e.substring(s):(e.endsWith(Wv)&&(e=e.substring(0,e.length-1)),e+Qv+String.fromCodePoint(e_+t-1))}function da(e){e.preventDefault(),e.stopPropagation()}function el(e,t,s){return t+=e?-1:1,t<0?t=s.length-1:t>=s.length&&(t=0),t}function w1(e,t){const s=new Set,a=[];for(const n of e){const r=t(n);s.has(r)||(s.add(r),a.push(n))}return a}function s_(e,t){const s=a=>{const n={};for(const r of a)typeof r.tone=="number"&&r.version<=t&&(n[r.tone]=r.unicode);return n};return e.map(({unicode:a,skins:n,shortcodes:r,url:o,name:u,category:b})=>({unicode:a,name:u,shortcodes:r,url:o,category:b,id:a||u,skins:n&&s(n),title:(r||[]).join(", ")}))}const ui=requestAnimationFrame;let a_=typeof ResizeObserver=="function";function r_(e,t){let s;return a_?(s=new ResizeObserver(a=>t(a[0].contentRect.width)),s.observe(e)):ui(()=>t(e.getBoundingClientRect().width)),{destroy(){s&&s.disconnect()}}}function S1(e){{const t=document.createRange();return t.selectNode(e.firstChild),t.getBoundingClientRect().width}}let tl;function n_(e,t,s){for(const a of e){const n=s(a),r=S1(n);typeof tl=="undefined"&&(tl=S1(t));const o=r/1.8t)}const{Map:tn}=Bv;function M1(e,t,s){const a=e.slice();return a[63]=t[s],a[65]=s,a}function A1(e,t,s){const a=e.slice();return a[66]=t[s],a[65]=s,a}function E1(e,t,s){const a=e.slice();return a[63]=t[s],a[65]=s,a}function T1(e,t,s){const a=e.slice();return a[69]=t[s],a}function k1(e,t,s){const a=e.slice();return a[72]=t[s],a[65]=s,a}function R1(e,t){let s,a=t[72]+"",n,r,o,u,b,l;return{key:e,first:null,c(){s=xt("div"),n=Ns(a),se(s,"id",r="skintone-"+t[65]),se(s,"class",o="emoji hide-focus "+(t[65]===t[20]?"active":"")),se(s,"aria-selected",u=t[65]===t[20]),se(s,"role","option"),se(s,"title",b=t[0].skinTones[t[65]]),se(s,"tabindex","-1"),se(s,"aria-label",l=t[0].skinTones[t[65]]),this.first=s},m(p,c){ws(p,s,c),At(s,n)},p(p,c){t=p,c[0]&512&&a!==(a=t[72]+"")&&js(n,a),c[0]&512&&r!==(r="skintone-"+t[65])&&se(s,"id",r),c[0]&1049088&&o!==(o="emoji hide-focus "+(t[65]===t[20]?"active":""))&&se(s,"class",o),c[0]&1049088&&u!==(u=t[65]===t[20])&&se(s,"aria-selected",u),c[0]&513&&b!==(b=t[0].skinTones[t[65]])&&se(s,"title",b),c[0]&513&&l!==(l=t[0].skinTones[t[65]])&&se(s,"aria-label",l)},d(p){p&&Ss(s)}}}function O1(e,t){let s,a,n=t[69].emoji+"",r,o,u,b,l,p,c;function M(){return t[49](t[69])}return{key:e,first:null,c(){s=xt("button"),a=xt("div"),r=Ns(n),se(a,"class","nav-emoji emoji"),se(s,"role","tab"),se(s,"class","nav-button"),se(s,"aria-controls",o="tab-"+t[69].id),se(s,"aria-label",u=t[0].categories[t[69].name]),se(s,"aria-selected",b=!t[4]&&t[13].id===t[69].id),se(s,"title",l=t[0].categories[t[69].name]),this.first=s},m(A,i){ws(A,s,i),At(s,a),At(a,r),p||(c=Ms(s,"click",M),p=!0)},p(A,i){t=A,i[0]&4096&&n!==(n=t[69].emoji+"")&&js(r,n),i[0]&4096&&o!==(o="tab-"+t[69].id)&&se(s,"aria-controls",o),i[0]&4097&&u!==(u=t[0].categories[t[69].name])&&se(s,"aria-label",u),i[0]&12304&&b!==(b=!t[4]&&t[13].id===t[69].id)&&se(s,"aria-selected",b),i[0]&4097&&l!==(l=t[0].categories[t[69].name])&&se(s,"title",l)},d(A){A&&Ss(s),p=!1,c()}}}function o_(e){let t,s;return{c(){t=xt("img"),se(t,"class","custom-emoji"),ii(t.src,s=e[63].url)||se(t,"src",s),se(t,"alt",""),se(t,"loading","lazy")},m(a,n){ws(a,t,n)},p(a,n){n[0]&32768&&!ii(t.src,s=a[63].url)&&se(t,"src",s)},d(a){a&&Ss(t)}}}function l_(e){let t=e[27](e[63],e[8])+"",s;return{c(){s=Ns(t)},m(a,n){ws(a,s,n)},p(a,n){n[0]&33024&&t!==(t=a[27](a[63],a[8])+"")&&js(s,t)},d(a){a&&Ss(s)}}}function I1(e,t){let s,a,n,r,o,u,b;function l(M,A){return M[63].unicode?l_:o_}let p=l(t),c=p(t);return{key:e,first:null,c(){s=xt("button"),c.c(),se(s,"role",a=t[4]?"option":"menuitem"),se(s,"aria-selected",n=t[4]?t[65]==t[5]:""),se(s,"aria-label",r=t[28](t[63],t[8])),se(s,"title",o=t[63].title),se(s,"class",u="emoji "+(t[4]&&t[65]===t[5]?"active":"")),se(s,"id",b="emo-"+t[63].id),this.first=s},m(M,A){ws(M,s,A),c.m(s,null)},p(M,A){t=M,p===(p=l(t))&&c?c.p(t,A):(c.d(1),c=p(t),c&&(c.c(),c.m(s,null))),A[0]&16&&a!==(a=t[4]?"option":"menuitem")&&se(s,"role",a),A[0]&32816&&n!==(n=t[4]?t[65]==t[5]:"")&&se(s,"aria-selected",n),A[0]&33024&&r!==(r=t[28](t[63],t[8]))&&se(s,"aria-label",r),A[0]&32768&&o!==(o=t[63].title)&&se(s,"title",o),A[0]&32816&&u!==(u="emoji "+(t[4]&&t[65]===t[5]?"active":""))&&se(s,"class",u),A[0]&32768&&b!==(b="emo-"+t[63].id)&&se(s,"id",b)},d(M){M&&Ss(s),c.d()}}}function C1(e,t){let s,a=(t[4]?t[0].searchResultsLabel:t[66].category?t[66].category:t[15].length>1?t[0].categories.custom:t[0].categories[t[13].name])+"",n,r,o,u,b=[],l=new tn,p,c,M,A=t[66].emojis;const i=H=>H[63].id;for(let H=0;H1?t[0].categories.custom:t[0].categories[t[13].name])+"")&&js(n,a),B[0]&32768&&r!==(r="menu-label-"+t[65])&&se(s,"id",r),B[0]&32768&&o!==(o="category "+(t[15].length===1&&t[15][0].category===""?"gone":""))&&se(s,"class",o),B[0]&402686256&&(A=t[66].emojis,b=en(b,B,i,1,t,A,l,u,$r,I1,null,E1)),B[0]&16&&p!==(p=t[4]?"listbox":"menu")&&se(u,"role",p),B[0]&32768&&c!==(c="menu-label-"+t[65])&&se(u,"aria-labelledby",c),B[0]&16&&M!==(M=t[4]?"search-results":"")&&se(u,"id",M)},d(H){H&&Ss(s),H&&Ss(u);for(let B=0;Bce[72];for(let ce=0;cece[69].id;for(let ce=0;cece[66].category;for(let ce=0;cece[63].id;for(let ce=0;ce