(function(rt,Je){typeof exports=="object"&&typeof module<"u"?Je(exports):typeof define=="function"&&define.amd?define(["exports"],Je):(rt=typeof globalThis<"u"?globalThis:rt||self,Je(rt.TedirTable={}))})(this,function(rt){"use strict";function Je(e,t){const o=Object.create(null),r=e.split(",");for(let n=0;n!!o[n.toLowerCase()]:n=>!!o[n]}function nt(e){if(M(e)){const t={};for(let o=0;o{if(o){const r=o.split(di);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function wo(e){let t="";if(be(e))t=e;else if(M(e))for(let o=0;oNo(o,t))}const te=e=>be(e)?e:e==null?"":M(e)||ie(e)&&(e.toString===dn||!H(e.toString))?JSON.stringify(e,an,2):String(e),an=(e,t)=>t&&t.__v_isRef?an(e,t.value):yt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[r,n])=>(o[`${r} =>`]=n,o),{})}:xo(t)?{[`Set(${t.size})`]:[...t.values()]}:ie(t)&&!M(t)&&!cn(t)?String(t):t,le=process.env.NODE_ENV!=="production"?Object.freeze({}):{},Rt=process.env.NODE_ENV!=="production"?Object.freeze([]):[],Ne=()=>{},ln=()=>!1,bi=/^on[^a-z]/,Jt=e=>bi.test(e),Eo=e=>e.startsWith("onUpdate:"),he=Object.assign,cr=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},mi=Object.prototype.hasOwnProperty,Z=(e,t)=>mi.call(e,t),M=Array.isArray,yt=e=>Xt(e)==="[object Map]",xo=e=>Xt(e)==="[object Set]",sn=e=>Xt(e)==="[object Date]",H=e=>typeof e=="function",be=e=>typeof e=="string",Yt=e=>typeof e=="symbol",ie=e=>e!==null&&typeof e=="object",ur=e=>ie(e)&&H(e.then)&&H(e.catch),dn=Object.prototype.toString,Xt=e=>dn.call(e),fr=e=>Xt(e).slice(8,-1),cn=e=>Xt(e)==="[object Object]",pr=e=>be(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Oo=Je(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),vi=Je("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Vo=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},gi=/-(\w)/g,at=Vo(e=>e.replace(gi,(t,o)=>o?o.toUpperCase():"")),ki=/\B([A-Z])/g,Me=Vo(e=>e.replace(ki,"-$1").toLowerCase()),To=Vo(e=>e.charAt(0).toUpperCase()+e.slice(1)),wt=Vo(e=>e?`on${To(e)}`:""),Zt=(e,t)=>!Object.is(e,t),Ft=(e,t)=>{for(let o=0;o{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:o})},Io=e=>{const t=parseFloat(e);return isNaN(t)?e:t},un=e=>{const t=be(e)?Number(e):NaN;return isNaN(t)?e:t};let fn;const pn=()=>fn||(fn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function hr(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Ue;class _i{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ue,!t&&Ue&&(this.index=(Ue.scopes||(Ue.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const o=Ue;try{return Ue=this,t()}finally{Ue=o}}else process.env.NODE_ENV!=="production"&&hr("cannot run an inactive effect scope.")}on(){Ue=this}off(){Ue=this.parent}stop(t){if(this._active){let o,r;for(o=0,r=this.effects.length;o{const t=new Set(e);return t.w=0,t.n=0,t},hn=e=>(e.w&pt)>0,bn=e=>(e.n&pt)>0,Ni=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let o=0;for(let r=0;r{(f==="length"||f>=u)&&l.push(p)})}else switch(o!==void 0&&l.push(i.get(o)),t){case"add":M(e)?pr(o)&&l.push(i.get("length")):(l.push(i.get(Nt)),yt(e)&&l.push(i.get(mr)));break;case"delete":M(e)||(l.push(i.get(Nt)),yt(e)&&l.push(i.get(mr)));break;case"set":yt(e)&&l.push(i.get(Nt));break}const s=process.env.NODE_ENV!=="production"?{target:e,type:t,key:o,newValue:r,oldValue:n,oldTarget:a}:void 0;if(l.length===1)l[0]&&(process.env.NODE_ENV!=="production"?jt(l[0],s):jt(l[0]));else{const u=[];for(const p of l)p&&u.push(...p);process.env.NODE_ENV!=="production"?jt(Qt(u),s):jt(Qt(u))}}function jt(e,t){const o=M(e)?e:[...e];for(const r of o)r.computed&&gn(r,t);for(const r of o)r.computed||gn(r,t)}function gn(e,t){(e!==De||e.allowRecurse)&&(process.env.NODE_ENV!=="production"&&e.onTrigger&&e.onTrigger(he({effect:e},t)),e.scheduler?e.scheduler():e.run())}function xi(e,t){var o;return(o=Co.get(e))===null||o===void 0?void 0:o.get(t)}const Oi=Je("__proto__,__v_isRef,__isVue"),kn=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Yt)),Vi=$o(),Ti=$o(!1,!0),Di=$o(!0),Ii=$o(!0,!0),_n=Ci();function Ci(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...o){const r=W(this);for(let a=0,i=this.length;a{e[t]=function(...o){Et();const r=W(this)[t].apply(this,o);return xt(),r}}),e}function $i(e){const t=W(this);return Ie(t,"has",e),t.hasOwnProperty(e)}function $o(e=!1,t=!1){return function(r,n,a){if(n==="__v_isReactive")return!e;if(n==="__v_isReadonly")return e;if(n==="__v_isShallow")return t;if(n==="__v_raw"&&a===(e?t?$n:Cn:t?In:Dn).get(r))return r;const i=M(r);if(!e){if(i&&Z(_n,n))return Reflect.get(_n,n,a);if(n==="hasOwnProperty")return $i}const l=Reflect.get(r,n,a);return(Yt(n)?kn.has(n):Oi(n))||(e||Ie(r,"get",n),t)?l:ve(l)?i&&pr(n)?l:l.value:ie(l)?e?Bn(l):_r(l):l}}const Bi=yn(),Mi=yn(!0);function yn(e=!1){return function(o,r,n,a){let i=o[r];if(mt(i)&&ve(i)&&!ve(n))return!1;if(!e&&(!jo(n)&&!mt(n)&&(i=W(i),n=W(n)),!M(o)&&ve(i)&&!ve(n)))return i.value=n,!0;const l=M(o)&&pr(r)?Number(r)e,Bo=e=>Reflect.getPrototypeOf(e);function Mo(e,t,o=!1,r=!1){e=e.__v_raw;const n=W(e),a=W(t);o||(t!==a&&Ie(n,"get",t),Ie(n,"get",a));const{has:i}=Bo(n),l=r?kr:o?wr:eo;if(i.call(n,t))return l(e.get(t));if(i.call(n,a))return l(e.get(a));e!==n&&e.get(t)}function Lo(e,t=!1){const o=this.__v_raw,r=W(o),n=W(e);return t||(e!==n&&Ie(r,"has",e),Ie(r,"has",n)),e===n?o.has(e):o.has(e)||o.has(n)}function So(e,t=!1){return e=e.__v_raw,!t&&Ie(W(e),"iterate",Nt),Reflect.get(e,"size",e)}function En(e){e=W(e);const t=W(this);return Bo(t).has.call(t,e)||(t.add(e),it(t,"add",e,e)),this}function xn(e,t){t=W(t);const o=W(this),{has:r,get:n}=Bo(o);let a=r.call(o,e);a?process.env.NODE_ENV!=="production"&&Tn(o,r,e):(e=W(e),a=r.call(o,e));const i=n.call(o,e);return o.set(e,t),a?Zt(t,i)&&it(o,"set",e,t,i):it(o,"add",e,t),this}function On(e){const t=W(this),{has:o,get:r}=Bo(t);let n=o.call(t,e);n?process.env.NODE_ENV!=="production"&&Tn(t,o,e):(e=W(e),n=o.call(t,e));const a=r?r.call(t,e):void 0,i=t.delete(e);return n&&it(t,"delete",e,void 0,a),i}function Vn(){const e=W(this),t=e.size!==0,o=process.env.NODE_ENV!=="production"?yt(e)?new Map(e):new Set(e):void 0,r=e.clear();return t&&it(e,"clear",void 0,void 0,o),r}function Ao(e,t){return function(r,n){const a=this,i=a.__v_raw,l=W(i),s=t?kr:e?wr:eo;return!e&&Ie(l,"iterate",Nt),i.forEach((u,p)=>r.call(n,s(u),s(p),a))}}function Po(e,t,o){return function(...r){const n=this.__v_raw,a=W(n),i=yt(a),l=e==="entries"||e===Symbol.iterator&&i,s=e==="keys"&&i,u=n[e](...r),p=o?kr:t?wr:eo;return!t&&Ie(a,"iterate",s?mr:Nt),{next(){const{value:f,done:b}=u.next();return b?{value:f,done:b}:{value:l?[p(f[0]),p(f[1])]:p(f),done:b}},[Symbol.iterator](){return this}}}}function bt(e){return function(...t){if(process.env.NODE_ENV!=="production"){const o=t[0]?`on key "${t[0]}" `:"";console.warn(`${To(e)} operation ${o}failed: target is readonly.`,W(this))}return e==="delete"?!1:this}}function Fi(){const e={get(a){return Mo(this,a)},get size(){return So(this)},has:Lo,add:En,set:xn,delete:On,clear:Vn,forEach:Ao(!1,!1)},t={get(a){return Mo(this,a,!1,!0)},get size(){return So(this)},has:Lo,add:En,set:xn,delete:On,clear:Vn,forEach:Ao(!1,!0)},o={get(a){return Mo(this,a,!0)},get size(){return So(this,!0)},has(a){return Lo.call(this,a,!0)},add:bt("add"),set:bt("set"),delete:bt("delete"),clear:bt("clear"),forEach:Ao(!0,!1)},r={get(a){return Mo(this,a,!0,!0)},get size(){return So(this,!0)},has(a){return Lo.call(this,a,!0)},add:bt("add"),set:bt("set"),delete:bt("delete"),clear:bt("clear"),forEach:Ao(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=Po(a,!1,!1),o[a]=Po(a,!0,!1),t[a]=Po(a,!1,!0),r[a]=Po(a,!0,!0)}),[e,o,t,r]}const[ji,Hi,zi,Ui]=Fi();function Ro(e,t){const o=t?e?Ui:zi:e?Hi:ji;return(r,n,a)=>n==="__v_isReactive"?!e:n==="__v_isReadonly"?e:n==="__v_raw"?r:Reflect.get(Z(o,n)&&n in r?o:r,n,a)}const Ki={get:Ro(!1,!1)},Wi={get:Ro(!1,!0)},qi={get:Ro(!0,!1)},Ji={get:Ro(!0,!0)};function Tn(e,t,o){const r=W(o);if(r!==o&&t.call(e,r)){const n=fr(e);console.warn(`Reactive ${n} contains both the raw and reactive versions of the same object${n==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Dn=new WeakMap,In=new WeakMap,Cn=new WeakMap,$n=new WeakMap;function Yi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Xi(e){return e.__v_skip||!Object.isExtensible(e)?0:Yi(fr(e))}function _r(e){return mt(e)?e:Fo(e,!1,wn,Ki,Dn)}function Zi(e){return Fo(e,!1,Pi,Wi,In)}function Bn(e){return Fo(e,!0,Nn,qi,Cn)}function Ht(e){return Fo(e,!0,Ri,Ji,$n)}function Fo(e,t,o,r,n){if(!ie(e))return process.env.NODE_ENV!=="production"&&console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=n.get(e);if(a)return a;const i=Xi(e);if(i===0)return e;const l=new Proxy(e,i===2?r:o);return n.set(e,l),l}function Ot(e){return mt(e)?Ot(e.__v_raw):!!(e&&e.__v_isReactive)}function mt(e){return!!(e&&e.__v_isReadonly)}function jo(e){return!!(e&&e.__v_isShallow)}function yr(e){return Ot(e)||mt(e)}function W(e){const t=e&&e.__v_raw;return t?W(t):e}function Mn(e){return Do(e,"__v_skip",!0),e}const eo=e=>ie(e)?_r(e):e,wr=e=>ie(e)?Bn(e):e;function Ln(e){ht&&De&&(e=W(e),process.env.NODE_ENV!=="production"?gr(e.dep||(e.dep=Qt()),{target:e,type:"get",key:"value"}):gr(e.dep||(e.dep=Qt())))}function Sn(e,t){e=W(e);const o=e.dep;o&&(process.env.NODE_ENV!=="production"?jt(o,{target:e,type:"set",key:"value",newValue:t}):jt(o))}function ve(e){return!!(e&&e.__v_isRef===!0)}function oe(e){return Qi(e,!1)}function Qi(e,t){return ve(e)?e:new Gi(e,t)}class Gi{constructor(t,o){this.__v_isShallow=o,this.dep=void 0,this.__v_isRef=!0,this._rawValue=o?t:W(t),this._value=o?t:eo(t)}get value(){return Ln(this),this._value}set value(t){const o=this.__v_isShallow||jo(t)||mt(t);t=o?t:W(t),Zt(t,this._rawValue)&&(this._rawValue=t,this._value=o?t:eo(t),Sn(this,t))}}function Re(e){return ve(e)?e.value:e}const el={get:(e,t,o)=>Re(Reflect.get(e,t,o)),set:(e,t,o,r)=>{const n=e[t];return ve(n)&&!ve(o)?(n.value=o,!0):Reflect.set(e,t,o,r)}};function An(e){return Ot(e)?e:new Proxy(e,el)}class tl{constructor(t,o,r){this._object=t,this._key=o,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return xi(W(this._object),this._key)}}function Nr(e,t,o){const r=e[t];return ve(r)?r:new tl(e,t,o)}var Pn;class ol{constructor(t,o,r,n){this._setter=o,this.dep=void 0,this.__v_isRef=!0,this[Pn]=!1,this._dirty=!0,this.effect=new vr(t,()=>{this._dirty||(this._dirty=!0,Sn(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!n,this.__v_isReadonly=r}get value(){const t=W(this);return Ln(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Pn="__v_isReadonly";function rl(e,t,o=!1){let r,n;const a=H(e);a?(r=e,n=process.env.NODE_ENV!=="production"?()=>{console.warn("Write operation failed: computed value is readonly")}:Ne):(r=e.get,n=e.set);const i=new ol(r,n,a||!n,o);return process.env.NODE_ENV!=="production"&&t&&!o&&(i.effect.onTrack=t.onTrack,i.effect.onTrigger=t.onTrigger),i}const Vt=[];function Ho(e){Vt.push(e)}function zo(){Vt.pop()}function y(e,...t){if(process.env.NODE_ENV==="production")return;Et();const o=Vt.length?Vt[Vt.length-1].component:null,r=o&&o.appContext.config.warnHandler,n=nl();if(r)lt(r,o,11,[e+t.join(""),o&&o.proxy,n.map(({vnode:a})=>`at <${lr(o,a.type)}>`).join(` `),n]);else{const a=[`[Vue warn]: ${e}`,...t];n.length&&a.push(` `,...al(n)),console.warn(...a)}xt()}function nl(){let e=Vt[Vt.length-1];if(!e)return[];const t=[];for(;e;){const o=t[0];o&&o.vnode===e?o.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function al(e){const t=[];return e.forEach((o,r)=>{t.push(...r===0?[]:[` `],...il(o))}),t}function il({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,n=` at <${lr(e.component,e.type,r)}`,a=">"+o;return e.props?[n,...ll(e.props),a]:[n+a]}function ll(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(r=>{t.push(...Rn(r,e[r]))}),o.length>3&&t.push(" ..."),t}function Rn(e,t,o){return be(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:ve(t)?(t=Rn(e,W(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):H(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=W(t),o?t:[`${e}=`,t])}const Er={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function lt(e,t,o,r){let n;try{n=r?e(...r):e()}catch(a){Uo(a,t,o)}return n}function Fe(e,t,o,r){if(H(e)){const a=lt(e,t,o,r);return a&&ur(a)&&a.catch(i=>{Uo(i,t,o)}),a}const n=[];for(let a=0;a>>1;oo(xe[r])Ye&&xe.splice(t,1)}function zn(e){M(e)?zt.push(...e):(!Xe||!Xe.includes(e,e.allowRecurse?vt+1:vt))&&zt.push(e),Hn()}function Un(e,t=to?Ye+1:0){for(process.env.NODE_ENV!=="production"&&(e=e||new Map);too(o)-oo(r)),vt=0;vte.id==null?1/0:e.id,fl=(e,t)=>{const o=oo(e)-oo(t);if(o===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return o};function Wn(e){xr=!1,to=!0,process.env.NODE_ENV!=="production"&&(e=e||new Map),xe.sort(fl);const t=process.env.NODE_ENV!=="production"?o=>Vr(e,o):Ne;try{for(Ye=0;Yedl){const r=t.ownerInstance,n=r&&ja(r.type);return y(`Maximum recursive updates exceeded${n?` in component <${n}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`),!0}else e.set(t,o+1)}}let Tt=!1;const Ut=new Set;process.env.NODE_ENV!=="production"&&(pn().__VUE_HMR_RUNTIME__={createRecord:Tr(qn),rerender:Tr(bl),reload:Tr(ml)});const Dt=new Map;function pl(e){const t=e.type.__hmrId;let o=Dt.get(t);o||(qn(t,e.type),o=Dt.get(t)),o.instances.add(e)}function hl(e){Dt.get(e.type.__hmrId).instances.delete(e)}function qn(e,t){return Dt.has(e)?!1:(Dt.set(e,{initialDef:ro(t),instances:new Set}),!0)}function ro(e){return Ha(e)?e.__vccOpts:e}function bl(e,t){const o=Dt.get(e);o&&(o.initialDef.render=t,[...o.instances].forEach(r=>{t&&(r.render=t,ro(r.type).render=t),r.renderCache=[],Tt=!0,r.update(),Tt=!1}))}function ml(e,t){const o=Dt.get(e);if(!o)return;t=ro(t),Jn(o.initialDef,t);const r=[...o.instances];for(const n of r){const a=ro(n.type);Ut.has(a)||(a!==o.initialDef&&Jn(a,t),Ut.add(a)),n.appContext.optionsCache.delete(n.type),n.ceReload?(Ut.add(a),n.ceReload(t.styles),Ut.delete(a)):n.parent?Ko(n.parent.update):n.appContext.reload?n.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}zn(()=>{for(const n of r)Ut.delete(ro(n.type))})}function Jn(e,t){he(e,t);for(const o in e)o!=="__file"&&!(o in t)&&delete e[o]}function Tr(e){return(t,o)=>{try{return e(t,o)}catch(r){console.error(r),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Ze,no=[],Dr=!1;function ao(e,...t){Ze?Ze.emit(e,...t):Dr||no.push({event:e,args:t})}function Yn(e,t){var o,r;Ze=e,Ze?(Ze.enabled=!0,no.forEach(({event:n,args:a})=>Ze.emit(n,...a)),no=[]):typeof window<"u"&&window.HTMLElement&&!(!((r=(o=window.navigator)===null||o===void 0?void 0:o.userAgent)===null||r===void 0)&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(a=>{Yn(a,t)}),setTimeout(()=>{Ze||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Dr=!0,no=[])},3e3)):(Dr=!0,no=[])}function vl(e,t){ao("app:init",e,t,{Fragment:X,Text:co,Comment:we,Static:uo})}function gl(e){ao("app:unmount",e)}const kl=Ir("component:added"),Xn=Ir("component:updated"),_l=Ir("component:removed"),yl=e=>{Ze&&typeof Ze.cleanupBuffer=="function"&&!Ze.cleanupBuffer(e)&&_l(e)};function Ir(e){return t=>{ao(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const wl=Zn("perf:start"),Nl=Zn("perf:end");function Zn(e){return(t,o,r)=>{ao(e,t.appContext.app,t.uid,t,o,r)}}function El(e,t,o){ao("component:emit",e.appContext.app,e,t,o)}function xl(e,t,...o){if(e.isUnmounted)return;const r=e.vnode.props||le;if(process.env.NODE_ENV!=="production"){const{emitsOptions:p,propsOptions:[f]}=e;if(p)if(!(t in p))(!f||!(wt(t)in f))&&y(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${wt(t)}" prop.`);else{const b=p[t];H(b)&&(b(...o)||y(`Invalid event arguments: event validation failed for event "${t}".`))}}let n=o;const a=t.startsWith("update:"),i=a&&t.slice(7);if(i&&i in r){const p=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:b}=r[p]||le;b&&(n=o.map(T=>be(T)?T.trim():T)),f&&(n=o.map(Io))}if(process.env.NODE_ENV!=="production"&&El(e,t,n),process.env.NODE_ENV!=="production"){const p=t.toLowerCase();p!==t&&r[wt(p)]&&y(`Event "${p}" is emitted in component ${lr(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${Me(t)}" instead of "${t}".`)}let l,s=r[l=wt(t)]||r[l=wt(at(t))];!s&&a&&(s=r[l=wt(Me(t))]),s&&Fe(s,e,6,n);const u=r[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Fe(u,e,6,n)}}function Qn(e,t,o=!1){const r=t.emitsCache,n=r.get(e);if(n!==void 0)return n;const a=e.emits;let i={},l=!1;if(!H(e)){const s=u=>{const p=Qn(u,t,!0);p&&(l=!0,he(i,p))};!o&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return!a&&!l?(ie(e)&&r.set(e,null),null):(M(a)?a.forEach(s=>i[s]=null):he(i,a),ie(e)&&r.set(e,i),i)}function Wo(e,t){return!e||!Jt(t)?!1:(t=t.slice(2).replace(/Once$/,""),Z(e,t[0].toLowerCase()+t.slice(1))||Z(e,Me(t))||Z(e,t))}let ye=null,qo=null;function Jo(e){const t=ye;return ye=e,qo=e&&e.type.__scopeId||null,t}function Gn(e){qo=e}function ea(){qo=null}function Ol(e,t=ye,o){if(!t||e._n)return e;const r=(...n)=>{r._d&&Ia(-1);const a=Jo(t);let i;try{i=e(...n)}finally{Jo(a),r._d&&Ia(1)}return process.env.NODE_ENV!=="production"&&Xn(t),i};return r._n=!0,r._c=!0,r._d=!0,r}let Cr=!1;function Yo(){Cr=!0}function $r(e){const{type:t,vnode:o,proxy:r,withProxy:n,props:a,propsOptions:[i],slots:l,attrs:s,emit:u,render:p,renderCache:f,data:b,setupState:T,ctx:A,inheritAttrs:V}=e;let z,R;const ee=Jo(e);process.env.NODE_ENV!=="production"&&(Cr=!1);try{if(o.shapeFlag&4){const re=n||r;z=We(p.call(re,re,f,a,T,b,A)),R=s}else{const re=t;process.env.NODE_ENV!=="production"&&s===a&&Yo(),z=We(re.length>1?re(a,process.env.NODE_ENV!=="production"?{get attrs(){return Yo(),s},slots:l,emit:u}:{attrs:s,slots:l,emit:u}):re(a,null)),R=t.props?s:Tl(s)}}catch(re){fo.length=0,Uo(re,e,1),z=Se(we)}let G=z,S;if(process.env.NODE_ENV!=="production"&&z.patchFlag>0&&z.patchFlag&2048&&([G,S]=Vl(z)),R&&V!==!1){const re=Object.keys(R),{shapeFlag:ce}=G;if(re.length){if(ce&7)i&&re.some(Eo)&&(R=Dl(R,i)),G=Ge(G,R);else if(process.env.NODE_ENV!=="production"&&!Cr&&G.type!==we){const Pe=Object.keys(s),U=[],ne=[];for(let ae=0,ue=Pe.length;ae renders non-element root node that cannot be animated."),G.transition=o.transition),process.env.NODE_ENV!=="production"&&S?S(G):z=G,Jo(ee),z}const Vl=e=>{const t=e.children,o=e.dynamicChildren,r=ta(t);if(!r)return[e,void 0];const n=t.indexOf(r),a=o?o.indexOf(r):-1,i=l=>{t[n]=l,o&&(a>-1?o[a]=l:l.patchFlag>0&&(e.dynamicChildren=[...o,l]))};return[We(r),i]};function ta(e){let t;for(let o=0;o{let t;for(const o in e)(o==="class"||o==="style"||Jt(o))&&((t||(t={}))[o]=e[o]);return t},Dl=(e,t)=>{const o={};for(const r in e)(!Eo(r)||!(r.slice(9)in t))&&(o[r]=e[r]);return o},oa=e=>e.shapeFlag&7||e.type===we;function Il(e,t,o){const{props:r,children:n,component:a}=e,{props:i,children:l,patchFlag:s}=t,u=a.emitsOptions;if(process.env.NODE_ENV!=="production"&&(n||l)&&Tt||t.dirs||t.transition)return!0;if(o&&s>=0){if(s&1024)return!0;if(s&16)return r?ra(r,i,u):!!i;if(s&8){const p=t.dynamicProps;for(let f=0;fe.__isSuspense;function Bl(e,t){t&&t.pendingBranch?M(e)?t.effects.push(...e):t.effects.push(e):zn(e)}function Ml(e,t){if(!me)process.env.NODE_ENV!=="production"&&y("provide() can only be used inside setup().");else{let o=me.provides;const r=me.parent&&me.parent.provides;r===o&&(o=me.provides=Object.create(r)),o[e]=t}}function Xo(e,t,o=!1){const r=me||ye;if(r){const n=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(n&&e in n)return n[e];if(arguments.length>1)return o&&H(t)?t.call(r.proxy):t;process.env.NODE_ENV!=="production"&&y(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&y("inject() can only be used inside setup() or functional components.")}const Zo={};function gt(e,t,o){return process.env.NODE_ENV!=="production"&&!H(t)&&y("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),na(e,t,o)}function na(e,t,{immediate:o,deep:r,flush:n,onTrack:a,onTrigger:i}=le){process.env.NODE_ENV!=="production"&&!t&&(o!==void 0&&y('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),r!==void 0&&y('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const l=S=>{y("Invalid watch source: ",S,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},s=wi()===(me==null?void 0:me.scope)?me:null;let u,p=!1,f=!1;if(ve(e)?(u=()=>e.value,p=jo(e)):Ot(e)?(u=()=>e,r=!0):M(e)?(f=!0,p=e.some(S=>Ot(S)||jo(S)),u=()=>e.map(S=>{if(ve(S))return S.value;if(Ot(S))return It(S);if(H(S))return lt(S,s,2);process.env.NODE_ENV!=="production"&&l(S)})):H(e)?t?u=()=>lt(e,s,2):u=()=>{if(!(s&&s.isUnmounted))return b&&b(),Fe(e,s,3,[T])}:(u=Ne,process.env.NODE_ENV!=="production"&&l(e)),t&&r){const S=u;u=()=>It(S())}let b,T=S=>{b=ee.onStop=()=>{lt(S,s,4)}},A;if(bo)if(T=Ne,t?o&&Fe(t,s,3,[u(),f?[]:void 0,T]):u(),n==="sync"){const S=Ps();A=S.__watcherHandles||(S.__watcherHandles=[])}else return Ne;let V=f?new Array(e.length).fill(Zo):Zo;const z=()=>{if(ee.active)if(t){const S=ee.run();(r||p||(f?S.some((re,ce)=>Zt(re,V[ce])):Zt(S,V)))&&(b&&b(),Fe(t,s,3,[S,V===Zo?void 0:f&&V[0]===Zo?[]:V,T]),V=S)}else ee.run()};z.allowRecurse=!!t;let R;n==="sync"?R=z:n==="post"?R=()=>Le(z,s&&s.suspense):(z.pre=!0,s&&(z.id=s.uid),R=()=>Ko(z));const ee=new vr(u,R);process.env.NODE_ENV!=="production"&&(ee.onTrack=a,ee.onTrigger=i),t?o?z():V=ee.run():n==="post"?Le(ee.run.bind(ee),s&&s.suspense):ee.run();const G=()=>{ee.stop(),s&&s.scope&&cr(s.scope.effects,ee)};return A&&A.push(G),G}function Ll(e,t,o){const r=this.proxy,n=be(e)?e.includes(".")?aa(r,e):()=>r[e]:e.bind(r,r);let a;H(t)?a=t:(a=t.handler,o=t);const i=me;Kt(this);const l=na(n,a.bind(r),o);return i?Kt(i):St(),l}function aa(e,t){const o=t.split(".");return()=>{let r=e;for(let n=0;n{It(o,t)});else if(cn(e))for(const o in e)It(e[o],t);return e}function Sl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Sr(()=>{e.isMounted=!0}),ca(()=>{e.isUnmounting=!0}),e}const je=[Function,Array],Al={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:je,onEnter:je,onAfterEnter:je,onEnterCancelled:je,onBeforeLeave:je,onLeave:je,onAfterLeave:je,onLeaveCancelled:je,onBeforeAppear:je,onAppear:je,onAfterAppear:je,onAppearCancelled:je},setup(e,{slots:t}){const o=Ds(),r=Sl();let n;return()=>{const a=t.default&&sa(t.default(),!0);if(!a||!a.length)return;let i=a[0];if(a.length>1){let V=!1;for(const z of a)if(z.type!==we){if(process.env.NODE_ENV!=="production"&&V){y(" can only be used on a single element or component. Use for lists.");break}if(i=z,V=!0,process.env.NODE_ENV==="production")break}}const l=W(e),{mode:s}=l;if(process.env.NODE_ENV!=="production"&&s&&s!=="in-out"&&s!=="out-in"&&s!=="default"&&y(`invalid mode: ${s}`),r.isLeaving)return Mr(i);const u=la(i);if(!u)return Mr(i);const p=Br(u,l,r,o);Lr(u,p);const f=o.subTree,b=f&&la(f);let T=!1;const{getTransitionKey:A}=u.type;if(A){const V=A();n===void 0?n=V:V!==n&&(n=V,T=!0)}if(b&&b.type!==we&&(!Lt(u,b)||T)){const V=Br(b,l,r,o);if(Lr(b,V),s==="out-in")return r.isLeaving=!0,V.afterLeave=()=>{r.isLeaving=!1,o.update.active!==!1&&o.update()},Mr(i);s==="in-out"&&u.type!==we&&(V.delayLeave=(z,R,ee)=>{const G=ia(r,b);G[String(b.key)]=b,z._leaveCb=()=>{R(),z._leaveCb=void 0,delete p.delayedLeave},p.delayedLeave=ee})}return i}}};function ia(e,t){const{leavingVNodes:o}=e;let r=o.get(t.type);return r||(r=Object.create(null),o.set(t.type,r)),r}function Br(e,t,o,r){const{appear:n,mode:a,persisted:i=!1,onBeforeEnter:l,onEnter:s,onAfterEnter:u,onEnterCancelled:p,onBeforeLeave:f,onLeave:b,onAfterLeave:T,onLeaveCancelled:A,onBeforeAppear:V,onAppear:z,onAfterAppear:R,onAppearCancelled:ee}=t,G=String(e.key),S=ia(o,e),re=(U,ne)=>{U&&Fe(U,r,9,ne)},ce=(U,ne)=>{const ae=ne[1];re(U,ne),M(U)?U.every(ue=>ue.length<=1)&&ae():U.length<=1&&ae()},Pe={mode:a,persisted:i,beforeEnter(U){let ne=l;if(!o.isMounted)if(n)ne=V||l;else return;U._leaveCb&&U._leaveCb(!0);const ae=S[G];ae&&Lt(e,ae)&&ae.el._leaveCb&&ae.el._leaveCb(),re(ne,[U])},enter(U){let ne=s,ae=u,ue=p;if(!o.isMounted)if(n)ne=z||s,ae=R||u,ue=ee||p;else return;let pe=!1;const Ve=U._enterCb=He=>{pe||(pe=!0,He?re(ue,[U]):re(ae,[U]),Pe.delayedLeave&&Pe.delayedLeave(),U._enterCb=void 0)};ne?ce(ne,[U,Ve]):Ve()},leave(U,ne){const ae=String(e.key);if(U._enterCb&&U._enterCb(!0),o.isUnmounting)return ne();re(f,[U]);let ue=!1;const pe=U._leaveCb=Ve=>{ue||(ue=!0,ne(),Ve?re(A,[U]):re(T,[U]),U._leaveCb=void 0,S[ae]===e&&delete S[ae])};S[ae]=e,b?ce(b,[U,pe]):pe()},clone(U){return Br(U,t,o,r)}};return Pe}function Mr(e){if(lo(e))return e=Ge(e),e.children=null,e}function la(e){return lo(e)?e.children?e.children[0]:void 0:e}function Lr(e,t){e.shapeFlag&6&&e.component?Lr(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 sa(e,t=!1,o){let r=[],n=0;for(let a=0;a1)for(let a=0;a!!e.type.__asyncLoader,lo=e=>e.type.__isKeepAlive;function Pl(e,t){da(e,"a",t)}function Rl(e,t){da(e,"da",t)}function da(e,t,o=me){const r=e.__wdc||(e.__wdc=()=>{let n=o;for(;n;){if(n.isDeactivated)return;n=n.parent}return e()});if(Go(t,r,o),o){let n=o.parent;for(;n&&n.parent;)lo(n.parent.vnode)&&Fl(r,t,o,n),n=n.parent}}function Fl(e,t,o,r){const n=Go(t,e,r,!0);ua(()=>{cr(r[t],n)},o)}function Go(e,t,o=me,r=!1){if(o){const n=o[e]||(o[e]=[]),a=t.__weh||(t.__weh=(...i)=>{if(o.isUnmounted)return;Et(),Kt(o);const l=Fe(t,o,e,i);return St(),xt(),l});return r?n.unshift(a):n.push(a),a}else if(process.env.NODE_ENV!=="production"){const n=wt(Er[e].replace(/ hook$/,""));y(`${n} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const st=e=>(t,o=me)=>(!bo||e==="sp")&&Go(e,(...r)=>t(...r),o),jl=st("bm"),Sr=st("m"),Hl=st("bu"),zl=st("u"),ca=st("bum"),ua=st("um"),Ul=st("sp"),Kl=st("rtg"),Wl=st("rtc");function ql(e,t=me){Go("ec",e,t)}function fa(e){vi(e)&&y("Do not use built-in directive ids as custom directive id: "+e)}function dt(e,t){const o=ye;if(o===null)return process.env.NODE_ENV!=="production"&&y("withDirectives can only be used inside render functions."),e;const r=ir(o)||o.proxy,n=e.dirs||(e.dirs=[]);for(let a=0;at(i,l,void 0,a&&a[l]));else{const i=Object.keys(e);n=new Array(i.length);for(let l=0,s=i.length;l1&&(y("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),a=()=>[]),a&&a._c&&(a._d=!1),N();const i=a&&pa(a(o)),l=$a(X,{key:o.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!n&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),a&&a._c&&(a._d=!0),l}function pa(e){return e.some(t=>rr(t)?!(t.type===we||t.type===X&&!pa(t.children)):!0)?e:null}const Ar=e=>e?Aa(e)?ir(e)||e.proxy:Ar(e.parent):null,$t=he(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?Ht(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?Ht(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?Ht(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?Ht(e.refs):e.refs,$parent:e=>Ar(e.parent),$root:e=>Ar(e.root),$emit:e=>e.emit,$options:e=>jr(e),$forceUpdate:e=>e.f||(e.f=()=>Ko(e.update)),$nextTick:e=>e.n||(e.n=jn.bind(e.proxy)),$watch:e=>Ll.bind(e)}),Pr=e=>e==="_"||e==="$",Rr=(e,t)=>e!==le&&!e.__isScriptSetup&&Z(e,t),ha={get({_:e},t){const{ctx:o,setupState:r,data:n,props:a,accessCache:i,type:l,appContext:s}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;let u;if(t[0]!=="$"){const T=i[t];if(T!==void 0)switch(T){case 1:return r[t];case 2:return n[t];case 4:return o[t];case 3:return a[t]}else{if(Rr(r,t))return i[t]=1,r[t];if(n!==le&&Z(n,t))return i[t]=2,n[t];if((u=e.propsOptions[0])&&Z(u,t))return i[t]=3,a[t];if(o!==le&&Z(o,t))return i[t]=4,o[t];Fr&&(i[t]=0)}}const p=$t[t];let f,b;if(p)return t==="$attrs"&&(Ie(e,"get",t),process.env.NODE_ENV!=="production"&&Yo()),p(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(o!==le&&Z(o,t))return i[t]=4,o[t];if(b=s.config.globalProperties,Z(b,t))return b[t];process.env.NODE_ENV!=="production"&&ye&&(!be(t)||t.indexOf("__v")!==0)&&(n!==le&&Pr(t[0])&&Z(n,t)?y(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===ye&&y(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,o){const{data:r,setupState:n,ctx:a}=e;return Rr(n,t)?(n[t]=o,!0):process.env.NODE_ENV!=="production"&&n.__isScriptSetup&&Z(n,t)?(y(`Cannot mutate