(function(Ae,Oe){typeof exports=="object"&&typeof module<"u"?Oe(exports):typeof define=="function"&&define.amd?define(["exports"],Oe):(Ae=typeof globalThis<"u"?globalThis:Ae||self,Oe(Ae.TedirDropZone={}))})(this,function(Ae){"use strict";function Oe(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const Zs=Oe("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function jo(e){return!!e||e===""}function Rn(e){if(T(e)){const t={};for(let n=0;n{if(n){const o=n.split(Ps);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function Qt(e){let t="";if(G(e))t=e;else if(T(e))for(let n=0;n{},Bo=()=>!1,Ms=/^on[^a-z]/,Ct=e=>Ms.test(e),Gt=e=>e.startsWith("onUpdate:"),Y=Object.assign,jn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Rs=Object.prototype.hasOwnProperty,F=(e,t)=>Rs.call(e,t),T=Array.isArray,gt=e=>en(e)==="[object Map]",js=e=>en(e)==="[object Set]",I=e=>typeof e=="function",G=e=>typeof e=="string",Bn=e=>typeof e=="symbol",K=e=>e!==null&&typeof e=="object",Ln=e=>K(e)&&I(e.then)&&I(e.catch),Bs=Object.prototype.toString,en=e=>Bs.call(e),Hn=e=>en(e).slice(8,-1),Ls=e=>en(e)==="[object Object]",kn=e=>G(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,tn=Oe(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Hs=Oe("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),nn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ks=/-(\w)/g,Le=nn(e=>e.replace(ks,(t,n)=>n?n.toUpperCase():"")),Ws=/\B([A-Z])/g,ve=nn(e=>e.replace(Ws,"-$1").toLowerCase()),on=nn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Qe=nn(e=>e?`on${on(e)}`:""),Tt=(e,t)=>!Object.is(e,t),It=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Wn=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Lo;const Ho=()=>Lo||(Lo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Un(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let we;class Us{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&we&&(this.parent=we,this.index=(we.scopes||(we.scopes=[])).push(this)-1)}run(t){if(this.active){const n=we;try{return we=this,t()}finally{we=n}}else process.env.NODE_ENV!=="production"&&Un("cannot run an inactive effect scope.")}on(){we=this}off(){we=this.parent}stop(t){if(this.active){let n,o;for(n=0,o=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},ko=e=>(e.w&He)>0,Wo=e=>(e.n&He)>0,zs=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o{(p==="length"||p>=o)&&c.push(f)});else switch(n!==void 0&&c.push(i.get(n)),t){case"add":T(e)?kn(n)&&c.push(i.get("length")):(c.push(i.get(Ge)),gt(e)&&c.push(i.get(qn)));break;case"delete":T(e)||(c.push(i.get(Ge)),gt(e)&&c.push(i.get(qn)));break;case"set":gt(e)&&c.push(i.get(Ge));break}const a=process.env.NODE_ENV!=="production"?{target:e,type:t,key:n,newValue:o,oldValue:r,oldTarget:s}:void 0;if(c.length===1)c[0]&&(process.env.NODE_ENV!=="production"?_t(c[0],a):_t(c[0]));else{const f=[];for(const p of c)p&&f.push(...p);process.env.NODE_ENV!=="production"?_t($t(f),a):_t($t(f))}}function _t(e,t){const n=T(e)?e:[...e];for(const o of n)o.computed&&zo(o,t);for(const o of n)o.computed||zo(o,t)}function zo(e,t){(e!==ce||e.allowRecurse)&&(process.env.NODE_ENV!=="production"&&e.onTrigger&&e.onTrigger(Y({effect:e},t)),e.scheduler?e.scheduler():e.run())}const Js=Oe("__proto__,__v_isRef,__isVue"),qo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Bn)),Ys=sn(),Xs=sn(!1,!0),Qs=sn(!0),Gs=sn(!0,!0),Jo=ei();function ei(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=A(this);for(let s=0,i=this.length;s{e[t]=function(...n){et();const o=A(this)[t].apply(this,n);return tt(),o}}),e}function sn(e=!1,t=!1){return function(o,r,s){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&s===(e?t?lr:ir:t?sr:rr).get(o))return o;const i=T(o);if(!e&&i&&F(Jo,r))return Reflect.get(Jo,r,s);const c=Reflect.get(o,r,s);return(Bn(r)?qo.has(r):Js(r))||(e||fe(o,"get",r),t)?c:ee(c)?i&&kn(r)?c:c.value:K(c)?e?cr(c):Qn(c):c}}const ti=Yo(),ni=Yo(!0);function Yo(e=!1){return function(n,o,r,s){let i=n[o];if(Ue(i)&&ee(i)&&!ee(r))return!1;if(!e&&(!mn(r)&&!Ue(r)&&(i=A(i),r=A(r)),!T(n)&&ee(i)&&!ee(r)))return i.value=r,!0;const c=T(n)&&kn(o)?Number(o)e,ln=e=>Reflect.getPrototypeOf(e);function cn(e,t,n=!1,o=!1){e=e.__v_raw;const r=A(e),s=A(t);n||(t!==s&&fe(r,"get",t),fe(r,"get",s));const{has:i}=ln(r),c=o?Xn:n?eo:Zt;if(i.call(r,t))return c(e.get(t));if(i.call(r,s))return c(e.get(s));e!==r&&e.get(t)}function an(e,t=!1){const n=this.__v_raw,o=A(n),r=A(e);return t||(e!==r&&fe(o,"has",e),fe(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function un(e,t=!1){return e=e.__v_raw,!t&&fe(A(e),"iterate",Ge),Reflect.get(e,"size",e)}function Go(e){e=A(e);const t=A(this);return ln(t).has.call(t,e)||(t.add(e),Ze(t,"add",e,e)),this}function er(e,t){t=A(t);const n=A(this),{has:o,get:r}=ln(n);let s=o.call(n,e);s?process.env.NODE_ENV!=="production"&&or(n,o,e):(e=A(e),s=o.call(n,e));const i=r.call(n,e);return n.set(e,t),s?Tt(t,i)&&Ze(n,"set",e,t,i):Ze(n,"add",e,t),this}function tr(e){const t=A(this),{has:n,get:o}=ln(t);let r=n.call(t,e);r?process.env.NODE_ENV!=="production"&&or(t,n,e):(e=A(e),r=n.call(t,e));const s=o?o.call(t,e):void 0,i=t.delete(e);return r&&Ze(t,"delete",e,void 0,s),i}function nr(){const e=A(this),t=e.size!==0,n=process.env.NODE_ENV!=="production"?gt(e)?new Map(e):new Set(e):void 0,o=e.clear();return t&&Ze(e,"clear",void 0,void 0,n),o}function fn(e,t){return function(o,r){const s=this,i=s.__v_raw,c=A(i),a=t?Xn:e?eo:Zt;return!e&&fe(c,"iterate",Ge),i.forEach((f,p)=>o.call(r,a(f),a(p),s))}}function dn(e,t,n){return function(...o){const r=this.__v_raw,s=A(r),i=gt(s),c=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,f=r[e](...o),p=n?Xn:t?eo:Zt;return!t&&fe(s,"iterate",a?qn:Ge),{next(){const{value:d,done:g}=f.next();return g?{value:d,done:g}:{value:c?[p(d[0]),p(d[1])]:p(d),done:g}},[Symbol.iterator](){return this}}}}function We(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${on(e)} operation ${n}failed: target is readonly.`,A(this))}return e==="delete"?!1:this}}function ci(){const e={get(s){return cn(this,s)},get size(){return un(this)},has:an,add:Go,set:er,delete:tr,clear:nr,forEach:fn(!1,!1)},t={get(s){return cn(this,s,!1,!0)},get size(){return un(this)},has:an,add:Go,set:er,delete:tr,clear:nr,forEach:fn(!1,!0)},n={get(s){return cn(this,s,!0)},get size(){return un(this,!0)},has(s){return an.call(this,s,!0)},add:We("add"),set:We("set"),delete:We("delete"),clear:We("clear"),forEach:fn(!0,!1)},o={get(s){return cn(this,s,!0,!0)},get size(){return un(this,!0)},has(s){return an.call(this,s,!0)},add:We("add"),set:We("set"),delete:We("delete"),clear:We("clear"),forEach:fn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=dn(s,!1,!1),n[s]=dn(s,!0,!1),t[s]=dn(s,!1,!0),o[s]=dn(s,!0,!0)}),[e,n,t,o]}const[ai,ui,fi,di]=ci();function pn(e,t){const n=t?e?di:fi:e?ui:ai;return(o,r,s)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(F(n,r)&&r in o?n:o,r,s)}const pi={get:pn(!1,!1)},hi={get:pn(!1,!0)},mi={get:pn(!0,!1)},gi={get:pn(!0,!0)};function or(e,t,n){const o=A(n);if(o!==n&&t.call(e,o)){const r=Hn(e);console.warn(`Reactive ${r} contains both the raw and reactive versions of the same object${r==="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 rr=new WeakMap,sr=new WeakMap,ir=new WeakMap,lr=new WeakMap;function _i(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function vi(e){return e.__v_skip||!Object.isExtensible(e)?0:_i(Hn(e))}function Qn(e){return Ue(e)?e:hn(e,!1,Xo,pi,rr)}function Ei(e){return hn(e,!1,ii,hi,sr)}function cr(e){return hn(e,!0,Qo,mi,ir)}function vt(e){return hn(e,!0,li,gi,lr)}function hn(e,t,n,o,r){if(!K(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 s=r.get(e);if(s)return s;const i=vi(e);if(i===0)return e;const c=new Proxy(e,i===2?o:n);return r.set(e,c),c}function nt(e){return Ue(e)?nt(e.__v_raw):!!(e&&e.__v_isReactive)}function Ue(e){return!!(e&&e.__v_isReadonly)}function mn(e){return!!(e&&e.__v_isShallow)}function Gn(e){return nt(e)||Ue(e)}function A(e){const t=e&&e.__v_raw;return t?A(t):e}function ar(e){return rn(e,"__v_skip",!0),e}const Zt=e=>K(e)?Qn(e):e,eo=e=>K(e)?cr(e):e;function ur(e){ke&&ce&&(e=A(e),process.env.NODE_ENV!=="production"?Yn(e.dep||(e.dep=$t()),{target:e,type:"get",key:"value"}):Yn(e.dep||(e.dep=$t())))}function fr(e,t){e=A(e),e.dep&&(process.env.NODE_ENV!=="production"?_t(e.dep,{target:e,type:"set",key:"value",newValue:t}):_t(e.dep))}function ee(e){return!!(e&&e.__v_isRef===!0)}function Et(e){return bi(e,!1)}function bi(e,t){return ee(e)?e:new Ni(e,t)}class Ni{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:A(t),this._value=n?t:Zt(t)}get value(){return ur(this),this._value}set value(t){const n=this.__v_isShallow||mn(t)||Ue(t);t=n?t:A(t),Tt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Zt(t),fr(this,t))}}function ot(e){return ee(e)?e.value:e}const yi={get:(e,t,n)=>ot(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return ee(r)&&!ee(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function dr(e){return nt(e)?e:new Proxy(e,yi)}var pr;class Oi{constructor(t,n,o,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[pr]=!1,this._dirty=!0,this.effect=new Jn(t,()=>{this._dirty||(this._dirty=!0,fr(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const t=A(this);return ur(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}pr="__v_isReadonly";function wi(e,t,n=!1){let o,r;const s=I(e);s?(o=e,r=process.env.NODE_ENV!=="production"?()=>{console.warn("Write operation failed: computed value is readonly")}:ne):(o=e.get,r=e.set);const i=new Oi(o,r,s||!r,n);return process.env.NODE_ENV!=="production"&&t&&!n&&(i.effect.onTrack=t.onTrack,i.effect.onTrigger=t.onTrigger),i}const rt=[];function gn(e){rt.push(e)}function _n(){rt.pop()}function y(e,...t){et();const n=rt.length?rt[rt.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=xi();if(o)Fe(o,n,11,[e+t.join(""),n&&n.proxy,r.map(({vnode:s})=>`at <${Fn(n,s.type)}>`).join(` `),r]);else{const s=[`[Vue warn]: ${e}`,...t];r.length&&s.push(` `,...Di(r)),console.warn(...s)}tt()}function xi(){let e=rt[rt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}function Di(e){const t=[];return e.forEach((n,o)=>{t.push(...o===0?[]:[` `],...Vi(n))}),t}function Vi({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=e.component?e.component.parent==null:!1,r=` at <${Fn(e.component,e.type,o)}`,s=">"+n;return e.props?[r,...Ci(e.props),s]:[r+s]}function Ci(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(o=>{t.push(...hr(o,e[o]))}),n.length>3&&t.push(" ..."),t}function hr(e,t,n){return G(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:ee(t)?(t=hr(e,A(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):I(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=A(t),n?t:[`${e}=`,t])}const to={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 Fe(e,t,n,o){let r;try{r=o?e(...o):e()}catch(s){vn(s,t,n)}return r}function ge(e,t,n,o){if(I(e)){const s=Fe(e,t,n,o);return s&&Ln(s)&&s.catch(i=>{vn(i,t,n)}),s}const r=[];for(let s=0;s>>1;Pt(se[o])xe&&se.splice(t,1)}function vr(e){T(e)?bt.push(...e):(!De||!De.includes(e,e.allowRecurse?Ke+1:Ke))&&bt.push(e),_r()}function Er(e,t=Ft?xe+1:0){for(process.env.NODE_ENV!=="production"&&(e=e||new Map);tPt(n)-Pt(o)),Ke=0;Kee.id==null?1/0:e.id,Zi=(e,t)=>{const n=Pt(e)-Pt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Nr(e){no=!1,Ft=!0,process.env.NODE_ENV!=="production"&&(e=e||new Map),se.sort(Zi);const t=process.env.NODE_ENV!=="production"?n=>ro(e,n):ne;try{for(xe=0;xeIi){const o=t.ownerInstance,r=o&&hs(o.type);return y(`Maximum recursive updates exceeded${r?` in component <${r}>`:""}. 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,n+1)}}let st=!1;const Nt=new Set;process.env.NODE_ENV!=="production"&&(Ho().__VUE_HMR_RUNTIME__={createRecord:so(yr),rerender:so(Si),reload:so(Mi)});const it=new Map;function Fi(e){const t=e.type.__hmrId;let n=it.get(t);n||(yr(t,e.type),n=it.get(t)),n.instances.add(e)}function Pi(e){it.get(e.type.__hmrId).instances.delete(e)}function yr(e,t){return it.has(e)?!1:(it.set(e,{initialDef:St(t),instances:new Set}),!0)}function St(e){return ms(e)?e.__vccOpts:e}function Si(e,t){const n=it.get(e);!n||(n.initialDef.render=t,[...n.instances].forEach(o=>{t&&(o.render=t,St(o.type).render=t),o.renderCache=[],st=!0,o.update(),st=!1}))}function Mi(e,t){const n=it.get(e);if(!n)return;t=St(t),Or(n.initialDef,t);const o=[...n.instances];for(const r of o){const s=St(r.type);Nt.has(s)||(s!==n.initialDef&&Or(s,t),Nt.add(s)),r.appContext.optionsCache.delete(r.type),r.ceReload?(Nt.add(s),r.ceReload(t.styles),Nt.delete(s)):r.parent?(En(r.parent.update),r.parent.type.__asyncLoader&&r.parent.ceReload&&r.parent.ceReload(t.styles)):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}vr(()=>{for(const r of o)Nt.delete(St(r.type))})}function Or(e,t){Y(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function so(e){return(t,n)=>{try{return e(t,n)}catch(o){console.error(o),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let lt,Mt=[],io=!1;function Rt(e,...t){lt?lt.emit(e,...t):io||Mt.push({event:e,args:t})}function wr(e,t){var n,o;lt=e,lt?(lt.enabled=!0,Mt.forEach(({event:r,args:s})=>lt.emit(r,...s)),Mt=[]):typeof window<"u"&&window.HTMLElement&&!(!((o=(n=window.navigator)===null||n===void 0?void 0:n.userAgent)===null||o===void 0)&&o.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{wr(s,t)}),setTimeout(()=>{lt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,io=!0,Mt=[])},3e3)):(io=!0,Mt=[])}function Ri(e,t){Rt("app:init",e,t,{Fragment:me,Text:Tn,Comment:ie,Static:kt})}function ji(e){Rt("app:unmount",e)}const Bi=lo("component:added"),xr=lo("component:updated"),Li=lo("component:removed");function lo(e){return t=>{Rt(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const Hi=Dr("perf:start"),ki=Dr("perf:end");function Dr(e){return(t,n,o)=>{Rt(e,t.appContext.app,t.uid,t,n,o)}}function Wi(e,t,n){Rt("component:emit",e.appContext.app,e,t,n)}function Ui(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||j;if(process.env.NODE_ENV!=="production"){const{emitsOptions:p,propsOptions:[d]}=e;if(p)if(!(t in p))(!d||!(Qe(t)in d))&&y(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Qe(t)}" prop.`);else{const g=p[t];I(g)&&(g(...n)||y(`Invalid event arguments: event validation failed for event "${t}".`))}}let r=n;const s=t.startsWith("update:"),i=s&&t.slice(7);if(i&&i in o){const p=`${i==="modelValue"?"model":i}Modifiers`,{number:d,trim:g}=o[p]||j;g&&(r=n.map(w=>w.trim())),d&&(r=n.map(Wn))}if(process.env.NODE_ENV!=="production"&&Wi(e,t,r),process.env.NODE_ENV!=="production"){const p=t.toLowerCase();p!==t&&o[Qe(p)]&&y(`Event "${p}" is emitted in component ${Fn(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 "${ve(t)}" instead of "${t}".`)}let c,a=o[c=Qe(t)]||o[c=Qe(Le(t))];!a&&s&&(a=o[c=Qe(ve(t))]),a&&ge(a,e,6,r);const f=o[c+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,ge(f,e,6,r)}}function Vr(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(r!==void 0)return r;const s=e.emits;let i={},c=!1;if(!I(e)){const a=f=>{const p=Vr(f,t,!0);p&&(c=!0,Y(i,p))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!s&&!c?(K(e)&&o.set(e,null),null):(T(s)?s.forEach(a=>i[a]=null):Y(i,s),K(e)&&o.set(e,i),i)}function bn(e,t){return!e||!Ct(t)?!1:(t=t.slice(2).replace(/Once$/,""),F(e,t[0].toLowerCase()+t.slice(1))||F(e,ve(t))||F(e,t))}let oe=null,Nn=null;function yn(e){const t=oe;return oe=e,Nn=e&&e.type.__scopeId||null,t}function Ki(e){Nn=e}function zi(){Nn=null}function qi(e,t=oe,n){if(!t||e._n)return e;const o=(...r)=>{o._d&&ss(-1);const s=yn(t),i=e(...r);return yn(s),o._d&&ss(1),process.env.NODE_ENV!=="production"&&xr(t),i};return o._n=!0,o._c=!0,o._d=!0,o}let co=!1;function On(){co=!0}function ao(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:s,propsOptions:[i],slots:c,attrs:a,emit:f,render:p,renderCache:d,data:g,setupState:w,ctx:Z,inheritAttrs:C}=e;let W,L;const B=yn(e);process.env.NODE_ENV!=="production"&&(co=!1);try{if(n.shapeFlag&4){const z=r||o;W=Ne(p.call(z,z,d,s,w,g,Z)),L=a}else{const z=t;process.env.NODE_ENV!=="production"&&a===s&&On(),W=Ne(z.length>1?z(s,process.env.NODE_ENV!=="production"?{get attrs(){return On(),a},slots:c,emit:f}:{attrs:a,slots:c,emit:f}):z(s,null)),L=t.props?a:Yi(a)}}catch(z){Wt.length=0,vn(z,e,1),W=be(ie)}let q=W,pe;if(process.env.NODE_ENV!=="production"&&W.patchFlag>0&&W.patchFlag&2048&&([q,pe]=Ji(W)),L&&C!==!1){const z=Object.keys(L),{shapeFlag:Je}=q;if(z.length){if(Je&7)i&&z.some(Gt)&&(L=Xi(L,i)),q=Ve(q,L);else if(process.env.NODE_ENV!=="production"&&!co&&q.type!==ie){const Te=Object.keys(a),P=[],U=[];for(let J=0,le=Te.length;J renders non-element root node that cannot be animated."),q.transition=n.transition),process.env.NODE_ENV!=="production"&&pe?pe(q):W=q,yn(B),W}const Ji=e=>{const t=e.children,n=e.dynamicChildren,o=Cr(t);if(!o)return[e,void 0];const r=t.indexOf(o),s=n?n.indexOf(o):-1,i=c=>{t[r]=c,n&&(s>-1?n[s]=c:c.patchFlag>0&&(e.dynamicChildren=[...n,c]))};return[Ne(o),i]};function Cr(e){let t;for(let n=0;n{let t;for(const n in e)(n==="class"||n==="style"||Ct(n))&&((t||(t={}))[n]=e[n]);return t},Xi=(e,t)=>{const n={};for(const o in e)(!Gt(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n},Tr=e=>e.shapeFlag&7||e.type===ie;function Qi(e,t,n){const{props:o,children:r,component:s}=e,{props:i,children:c,patchFlag:a}=t,f=s.emitsOptions;if(process.env.NODE_ENV!=="production"&&(r||c)&&st||t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return o?Ir(o,i,f):!!i;if(a&8){const p=t.dynamicProps;for(let d=0;de.__isSuspense;function tl(e,t){t&&t.pendingBranch?T(e)?t.effects.push(...e):t.effects.push(e):vr(e)}function nl(e,t){if(!te)process.env.NODE_ENV!=="production"&&y("provide() can only be used inside setup().");else{let n=te.provides;const o=te.parent&&te.parent.provides;o===n&&(n=te.provides=Object.create(o)),n[e]=t}}function uo(e,t,n=!1){const o=te||oe;if(o){const r=o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&I(t)?t.call(o.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 $r={};function jt(e,t,n){return process.env.NODE_ENV!=="production"&&!I(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."),Ar(e,t,n)}function Ar(e,t,{immediate:n,deep:o,flush:r,onTrack:s,onTrigger:i}=j){process.env.NODE_ENV!=="production"&&!t&&(n!==void 0&&y('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&y('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const c=B=>{y("Invalid watch source: ",B,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},a=te;let f,p=!1,d=!1;if(ee(e)?(f=()=>e.value,p=mn(e)):nt(e)?(f=()=>e,o=!0):T(e)?(d=!0,p=e.some(B=>nt(B)||mn(B)),f=()=>e.map(B=>{if(ee(B))return B.value;if(nt(B))return ct(B);if(I(B))return Fe(B,a,2);process.env.NODE_ENV!=="production"&&c(B)})):I(e)?t?f=()=>Fe(e,a,2):f=()=>{if(!(a&&a.isUnmounted))return g&&g(),ge(e,a,3,[w])}:(f=ne,process.env.NODE_ENV!=="production"&&c(e)),t&&o){const B=f;f=()=>ct(B())}let g,w=B=>{g=L.onStop=()=>{Fe(B,a,4)}};if(zt)return w=ne,t?n&&ge(t,a,3,[f(),d?[]:void 0,w]):f(),ne;let Z=d?[]:$r;const C=()=>{if(!!L.active)if(t){const B=L.run();(o||p||(d?B.some((q,pe)=>Tt(q,Z[pe])):Tt(B,Z)))&&(g&&g(),ge(t,a,3,[B,Z===$r?void 0:Z,w]),Z=B)}else L.run()};C.allowRecurse=!!t;let W;r==="sync"?W=C:r==="post"?W=()=>de(C,a&&a.suspense):(C.pre=!0,a&&(C.id=a.uid),W=()=>En(C));const L=new Jn(f,W);return process.env.NODE_ENV!=="production"&&(L.onTrack=s,L.onTrigger=i),t?n?C():Z=L.run():r==="post"?de(L.run.bind(L),a&&a.suspense):L.run(),()=>{L.stop(),a&&a.scope&&jn(a.scope.effects,L)}}function ol(e,t,n){const o=this.proxy,r=G(e)?e.includes(".")?Zr(o,e):()=>o[e]:e.bind(o,o);let s;I(t)?s=t:(s=t.handler,n=t);const i=te;wt(this);const c=Ar(r,s.bind(o),n);return i?wt(i):pt(),c}function Zr(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r{ct(n,t)});else if(Ls(e))for(const n in e)ct(e[n],t);return e}function rl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return mo(()=>{e.isMounted=!0}),Rr(()=>{e.isUnmounting=!0}),e}const _e=[Function,Array],sl={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:_e,onEnter:_e,onAfterEnter:_e,onEnterCancelled:_e,onBeforeLeave:_e,onLeave:_e,onAfterLeave:_e,onLeaveCancelled:_e,onBeforeAppear:_e,onAppear:_e,onAfterAppear:_e,onAppearCancelled:_e},setup(e,{slots:t}){const n=tc(),o=rl();let r;return()=>{const s=t.default&&Sr(t.default(),!0);if(!s||!s.length)return;let i=s[0];if(s.length>1){let C=!1;for(const W of s)if(W.type!==ie){if(process.env.NODE_ENV!=="production"&&C){y(" can only be used on a single element or component. Use for lists.");break}if(i=W,C=!0,process.env.NODE_ENV==="production")break}}const c=A(e),{mode:a}=c;if(process.env.NODE_ENV!=="production"&&a&&a!=="in-out"&&a!=="out-in"&&a!=="default"&&y(`invalid mode: ${a}`),o.isLeaving)return po(i);const f=Pr(i);if(!f)return po(i);const p=fo(f,c,o,n);ho(f,p);const d=n.subTree,g=d&&Pr(d);let w=!1;const{getTransitionKey:Z}=f.type;if(Z){const C=Z();r===void 0?r=C:C!==r&&(r=C,w=!0)}if(g&&g.type!==ie&&(!dt(f,g)||w)){const C=fo(g,c,o,n);if(ho(g,C),a==="out-in")return o.isLeaving=!0,C.afterLeave=()=>{o.isLeaving=!1,n.update()},po(i);a==="in-out"&&f.type!==ie&&(C.delayLeave=(W,L,B)=>{const q=Fr(o,g);q[String(g.key)]=g,W._leaveCb=()=>{L(),W._leaveCb=void 0,delete p.delayedLeave},p.delayedLeave=B})}return i}}};function Fr(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function fo(e,t,n,o){const{appear:r,mode:s,persisted:i=!1,onBeforeEnter:c,onEnter:a,onAfterEnter:f,onEnterCancelled:p,onBeforeLeave:d,onLeave:g,onAfterLeave:w,onLeaveCancelled:Z,onBeforeAppear:C,onAppear:W,onAfterAppear:L,onAppearCancelled:B}=t,q=String(e.key),pe=Fr(n,e),z=(P,U)=>{P&&ge(P,o,9,U)},Je=(P,U)=>{const J=U[1];z(P,U),T(P)?P.every(le=>le.length<=1)&&J():P.length<=1&&J()},Te={mode:s,persisted:i,beforeEnter(P){let U=c;if(!n.isMounted)if(r)U=C||c;else return;P._leaveCb&&P._leaveCb(!0);const J=pe[q];J&&dt(e,J)&&J.el._leaveCb&&J.el._leaveCb(),z(U,[P])},enter(P){let U=a,J=f,le=p;if(!n.isMounted)if(r)U=W||a,J=L||f,le=B||p;else return;let re=!1;const je=P._enterCb=Sn=>{re||(re=!0,Sn?z(le,[P]):z(J,[P]),Te.delayedLeave&&Te.delayedLeave(),P._enterCb=void 0)};U?Je(U,[P,je]):je()},leave(P,U){const J=String(e.key);if(P._enterCb&&P._enterCb(!0),n.isUnmounting)return U();z(d,[P]);let le=!1;const re=P._leaveCb=je=>{le||(le=!0,U(),je?z(Z,[P]):z(w,[P]),P._leaveCb=void 0,pe[J]===e&&delete pe[J])};pe[J]=e,g?Je(g,[P,re]):re()},clone(P){return fo(P,t,n,o)}};return Te}function po(e){if(Lt(e))return e=Ve(e),e.children=null,e}function Pr(e){return Lt(e)?e.children?e.children[0]:void 0:e}function ho(e,t){e.shapeFlag&6&&e.component?ho(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 Sr(e,t=!1,n){let o=[],r=0;for(let s=0;s1)for(let s=0;s!!e.type.__asyncLoader,Lt=e=>e.type.__isKeepAlive;function il(e,t){Mr(e,"a",t)}function ll(e,t){Mr(e,"da",t)}function Mr(e,t,n=te){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(xn(t,o,n),n){let r=n.parent;for(;r&&r.parent;)Lt(r.parent.vnode)&&cl(o,t,n,r),r=r.parent}}function cl(e,t,n,o){const r=xn(t,e,o,!0);jr(()=>{jn(o[t],r)},n)}function xn(e,t,n=te,o=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;et(),wt(n);const c=ge(t,n,e,i);return pt(),tt(),c});return o?r.unshift(s):r.push(s),s}else if(process.env.NODE_ENV!=="production"){const r=Qe(to[e].replace(/ hook$/,""));y(`${r} 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 Pe=e=>(t,n=te)=>(!zt||e==="sp")&&xn(e,(...o)=>t(...o),n),al=Pe("bm"),mo=Pe("m"),ul=Pe("bu"),fl=Pe("u"),Rr=Pe("bum"),jr=Pe("um"),dl=Pe("sp"),pl=Pe("rtg"),hl=Pe("rtc");function ml(e,t=te){xn("ec",e,t)}function Br(e){Hs(e)&&y("Do not use built-in directive ids as custom directive id: "+e)}function gl(e,t){const n=oe;if(n===null)return process.env.NODE_ENV!=="production"&&y("withDirectives can only be used inside render functions."),e;const o=Zn(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let s=0;s1&&(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."),s=()=>[]),s&&s._c&&(s._d=!1),Ot();const i=s&&Hr(s(n)),c=Kl(me,{key:n.key||i&&i.key||`_${t}`},i||(o?o():[]),i&&e._===1?64:-2);return!r&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),s&&s._c&&(s._d=!0),c}function Hr(e){return e.some(t=>In(t)?!(t.type===ie||t.type===me&&!Hr(t.children)):!0)?e:null}const go=e=>e?us(e)?Zn(e)||e.proxy:go(e.parent):null,yt=Y(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?vt(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?vt(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?vt(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?vt(e.refs):e.refs,$parent:e=>go(e.parent),$root:e=>go(e.root),$emit:e=>e.emit,$options:e=>Eo(e),$forceUpdate:e=>e.f||(e.f=()=>En(e.update)),$nextTick:e=>e.n||(e.n=gr.bind(e.proxy)),$watch:e=>ol.bind(e)}),_o=e=>e==="_"||e==="$",kr={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:c,appContext:a}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;if(process.env.NODE_ENV!=="production"&&o!==j&&o.__isScriptSetup&&F(o,t))return o[t];let f;if(t[0]!=="$"){const w=i[t];if(w!==void 0)switch(w){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return s[t]}else{if(o!==j&&F(o,t))return i[t]=1,o[t];if(r!==j&&F(r,t))return i[t]=2,r[t];if((f=e.propsOptions[0])&&F(f,t))return i[t]=3,s[t];if(n!==j&&F(n,t))return i[t]=4,n[t];vo&&(i[t]=0)}}const p=yt[t];let d,g;if(p)return t==="$attrs"&&(fe(e,"get",t),process.env.NODE_ENV!=="production"&&On()),p(e);if((d=c.__cssModules)&&(d=d[t]))return d;if(n!==j&&F(n,t))return i[t]=4,n[t];if(g=a.config.globalProperties,F(g,t))return g[t];process.env.NODE_ENV!=="production"&&oe&&(!G(t)||t.indexOf("__v")!==0)&&(r!==j&&_o(t[0])&&F(r,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===oe&&y(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;return r!==j&&F(r,t)?(r[t]=n,!0):o!==j&&F(o,t)?(o[t]=n,!0):F(e.props,t)?(process.env.NODE_ENV!=="production"&&y(`Attempting to mutate prop "${t}". Props are readonly.`,e),!1):t[0]==="$"&&t.slice(1)in e?(process.env.NODE_ENV!=="production"&&y(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`,e),!1):(process.env.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(s,t,{enumerable:!0,configurable:!0,value:n}):s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let c;return!!n[i]||e!==j&&F(e,i)||t!==j&&F(t,i)||(c=s[0])&&F(c,i)||F(o,i)||F(yt,i)||F(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:F(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};process.env.NODE_ENV!=="production"&&(kr.ownKeys=e=>(y("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function vl(e){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(yt).forEach(n=>{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:()=>yt[n](e),set:ne})}),t}function El(e){const{ctx:t,propsOptions:[n]}=e;n&&Object.keys(n).forEach(o=>{Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>e.props[o],set:ne})})}function bl(e){const{ctx:t,setupState:n}=e;Object.keys(A(n)).forEach(o=>{if(!n.__isScriptSetup){if(_o(o[0])){y(`setup() return property ${JSON.stringify(o)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>n[o],set:ne})}})}function Nl(){const e=Object.create(null);return(t,n)=>{e[n]?y(`${t} property "${n}" is already defined in ${e[n]}.`):e[n]=t}}let vo=!0;function yl(e){const t=Eo(e),n=e.proxy,o=e.ctx;vo=!1,t.beforeCreate&&Wr(t.beforeCreate,e,"bc");const{data:r,computed:s,methods:i,watch:c,provide:a,inject:f,created:p,beforeMount:d,mounted:g,beforeUpdate:w,updated:Z,activated:C,deactivated:W,beforeDestroy:L,beforeUnmount:B,destroyed:q,unmounted:pe,render:z,renderTracked:Je,renderTriggered:Te,errorCaptured:P,serverPrefetch:U,expose:J,inheritAttrs:le,components:re,directives:je,filters:Sn}=t,Ye=process.env.NODE_ENV!=="production"?Nl():null;if(process.env.NODE_ENV!=="production"){const[M]=e.propsOptions;if(M)for(const R in M)Ye("Props",R)}if(f&&Ol(f,o,Ye,e.appContext.config.unwrapInjectedRef),i)for(const M in i){const R=i[M];I(R)?(process.env.NODE_ENV!=="production"?Object.defineProperty(o,M,{value:R.bind(n),configurable:!0,enumerable:!0,writable:!0}):o[M]=R.bind(n),process.env.NODE_ENV!=="production"&&Ye("Methods",M)):process.env.NODE_ENV!=="production"&&y(`Method "${M}" has type "${typeof R}" in the component definition. Did you reference the function correctly?`)}if(r){process.env.NODE_ENV!=="production"&&!I(r)&&y("The data option must be a function. Plain object usage is no longer supported.");const M=r.call(n,n);if(process.env.NODE_ENV!=="production"&&Ln(M)&&y("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + ."),!K(M))process.env.NODE_ENV!=="production"&&y("data() should return an object.");else if(e.data=Qn(M),process.env.NODE_ENV!=="production")for(const R in M)Ye("Data",R),_o(R[0])||Object.defineProperty(o,R,{configurable:!0,enumerable:!0,get:()=>M[R],set:ne})}if(vo=!0,s)for(const M in s){const R=s[M],Ie=I(R)?R.bind(n,n):I(R.get)?R.get.bind(n,n):ne;process.env.NODE_ENV!=="production"&&Ie===ne&&y(`Computed property "${M}" has no getter.`);const Po=!I(R)&&I(R.set)?R.set.bind(n):process.env.NODE_ENV!=="production"?()=>{y(`Write operation failed: computed property "${M}" is readonly.`)}:ne,Yt=ac({get:Ie,set:Po});Object.defineProperty(o,M,{enumerable:!0,configurable:!0,get:()=>Yt.value,set:xt=>Yt.value=xt}),process.env.NODE_ENV!=="production"&&Ye("Computed",M)}if(c)for(const M in c)Ur(c[M],o,n,M);if(a){const M=I(a)?a.call(n):a;Reflect.ownKeys(M).forEach(R=>{nl(R,M[R])})}p&&Wr(p,e,"c");function he(M,R){T(R)?R.forEach(Ie=>M(Ie.bind(n))):R&&M(R.bind(n))}if(he(al,d),he(mo,g),he(ul,w),he(fl,Z),he(il,C),he(ll,W),he(ml,P),he(hl,Je),he(pl,Te),he(Rr,B),he(jr,pe),he(dl,U),T(J))if(J.length){const M=e.exposed||(e.exposed={});J.forEach(R=>{Object.defineProperty(M,R,{get:()=>n[R],set:Ie=>n[R]=Ie})})}else e.exposed||(e.exposed={});z&&e.render===ne&&(e.render=z),le!=null&&(e.inheritAttrs=le),re&&(e.components=re),je&&(e.directives=je)}function Ol(e,t,n=ne,o=!1){T(e)&&(e=bo(e));for(const r in e){const s=e[r];let i;K(s)?"default"in s?i=uo(s.from||r,s.default,!0):i=uo(s.from||r):i=uo(s),ee(i)?o?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:c=>i.value=c}):(process.env.NODE_ENV!=="production"&&y(`injected property "${r}" is a ref and will be auto-unwrapped and no longer needs \`.value\` in the next minor release. To opt-in to the new behavior now, set \`app.config.unwrapInjectedRef = true\` (this config is temporary and will not be needed in the future.)`),t[r]=i):t[r]=i,process.env.NODE_ENV!=="production"&&n("Inject",r)}}function Wr(e,t,n){ge(T(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ur(e,t,n,o){const r=o.includes(".")?Zr(n,o):()=>n[o];if(G(e)){const s=t[e];I(s)?jt(r,s):process.env.NODE_ENV!=="production"&&y(`Invalid watch handler specified by key "${e}"`,s)}else if(I(e))jt(r,e.bind(n));else if(K(e))if(T(e))e.forEach(s=>Ur(s,t,n,o));else{const s=I(e.handler)?e.handler.bind(n):t[e.handler];I(s)?jt(r,s,e):process.env.NODE_ENV!=="production"&&y(`Invalid watch handler specified by key "${e.handler}"`,s)}else process.env.NODE_ENV!=="production"&&y(`Invalid watch option: "${o}"`,e)}function Eo(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,c=s.get(t);let a;return c?a=c:!r.length&&!n&&!o?a=t:(a={},r.length&&r.forEach(f=>Dn(a,f,i,!0)),Dn(a,t,i)),K(t)&&s.set(t,a),a}function Dn(e,t,n,o=!1){const{mixins:r,extends:s}=t;s&&Dn(e,s,n,!0),r&&r.forEach(i=>Dn(e,i,n,!0));for(const i in t)if(o&&i==="expose")process.env.NODE_ENV!=="production"&&y('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const c=wl[i]||n&&n[i];e[i]=c?c(e[i],t[i]):t[i]}return e}const wl={data:Kr,props:ut,emits:ut,methods:ut,computed:ut,beforeCreate:ae,created:ae,beforeMount:ae,mounted:ae,beforeUpdate:ae,updated:ae,beforeDestroy:ae,beforeUnmount:ae,destroyed:ae,unmounted:ae,activated:ae,deactivated:ae,errorCaptured:ae,serverPrefetch:ae,components:ut,directives:ut,watch:Dl,provide:Kr,inject:xl};function Kr(e,t){return t?e?function(){return Y(I(e)?e.call(this,this):e,I(t)?t.call(this,this):t)}:t:e}function xl(e,t){return ut(bo(e),bo(t))}function bo(e){if(T(e)){const t={};for(let n=0;n0)&&!(i&16)){if(i&8){const p=e.vnode.dynamicProps;for(let d=0;d{a=!0;const[g,w]=qr(d,t,!0);Y(i,g),w&&c.push(...w)};!n&&t.mixins.length&&t.mixins.forEach(p),e.extends&&p(e.extends),e.mixins&&e.mixins.forEach(p)}if(!s&&!a)return K(e)&&o.set(e,mt),mt;if(T(s))for(let p=0;p-1,w[1]=C<0||Z-1||F(w,"default"))&&c.push(d)}}}}const f=[i,c];return K(e)&&o.set(e,f),f}function Jr(e){return e[0]!=="$"?!0:(process.env.NODE_ENV!=="production"&&y(`Invalid prop name: "${e}" is a reserved property.`),!1)}function yo(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Yr(e,t){return yo(e)===yo(t)}function Xr(e,t){return T(t)?t.findIndex(n=>Yr(n,e)):I(t)&&Yr(t,e)?0:-1}function Qr(e,t,n){const o=A(t),r=n.propsOptions[0];for(const s in r){let i=r[s];i!=null&&Il(s,o[s],i,!F(e,s)&&!F(e,ve(s)))}}function Il(e,t,n,o){const{type:r,required:s,validator:i}=n;if(s&&o){y('Missing required prop: "'+e+'"');return}if(!(t==null&&!n.required)){if(r!=null&&r!==!0){let c=!1;const a=T(r)?r:[r],f=[];for(let p=0;pe.toLowerCase()===n)}function Fl(...e){return e.some(t=>t.toLowerCase()==="boolean")}const ts=e=>e[0]==="_"||e==="$stable",Oo=e=>T(e)?e.map(Ne):[Ne(e)],Pl=(e,t,n)=>{if(t._n)return t;const o=qi((...r)=>(process.env.NODE_ENV!=="production"&&te&&y(`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),Oo(t(...r))),n);return o._c=!1,o},ns=(e,t,n)=>{const o=e._ctx;for(const r in e){if(ts(r))continue;const s=e[r];if(I(s))t[r]=Pl(r,s,o);else if(s!=null){process.env.NODE_ENV!=="production"&&y(`Non-function value encountered for slot "${r}". Prefer function slots for better performance.`);const i=Oo(s);t[r]=()=>i}}},os=(e,t)=>{process.env.NODE_ENV!=="production"&&!Lt(e.vnode)&&y("Non-function value encountered for default slot. Prefer function slots for better performance.");const n=Oo(t);e.slots.default=()=>n},Sl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=A(t),rn(t,"_",n)):ns(t,e.slots={})}else e.slots={},t&&os(e,t);rn(e.slots,$n,1)},Ml=(e,t,n)=>{const{vnode:o,slots:r}=e;let s=!0,i=j;if(o.shapeFlag&32){const c=t._;c?process.env.NODE_ENV!=="production"&&st?Y(r,t):n&&c===1?s=!1:(Y(r,t),!n&&c===1&&delete r._):(s=!t.$stable,ns(t,r)),i=t}else t&&(os(e,t),i={default:1});if(s)for(const c in r)!ts(c)&&!(c in i)&&delete r[c]};function rs(){return{app:null,config:{isNativeTag:Bo,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 Rl=0;function jl(e,t){return function(o,r=null){I(o)||(o=Object.assign({},o)),r!=null&&!K(r)&&(process.env.NODE_ENV!=="production"&&y("root props passed to app.mount() must be an object."),r=null);const s=rs(),i=new Set;let c=!1;const a=s.app={_uid:Rl++,_component:o,_props:r,_container:null,_context:s,_instance:null,version:gs,get config(){return s.config},set config(f){process.env.NODE_ENV!=="production"&&y("app.config cannot be replaced. Modify individual options instead.")},use(f,...p){return i.has(f)?process.env.NODE_ENV!=="production"&&y("Plugin has already been applied to target app."):f&&I(f.install)?(i.add(f),f.install(a,...p)):I(f)?(i.add(f),f(a,...p)):process.env.NODE_ENV!=="production"&&y('A plugin must either be a function or an object with an "install" function.'),a},mixin(f){return s.mixins.includes(f)?process.env.NODE_ENV!=="production"&&y("Mixin has already been applied to target app"+(f.name?`: ${f.name}`:"")):s.mixins.push(f),a},component(f,p){return process.env.NODE_ENV!=="production"&&Do(f,s.config),p?(process.env.NODE_ENV!=="production"&&s.components[f]&&y(`Component "${f}" has already been registered in target app.`),s.components[f]=p,a):s.components[f]},directive(f,p){return process.env.NODE_ENV!=="production"&&Br(f),p?(process.env.NODE_ENV!=="production"&&s.directives[f]&&y(`Directive "${f}" has already been registered in target app.`),s.directives[f]=p,a):s.directives[f]},mount(f,p,d){if(c)process.env.NODE_ENV!=="production"&&y("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{process.env.NODE_ENV!=="production"&&f.__vue_app__&&y("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const g=be(o,r);return g.appContext=s,process.env.NODE_ENV!=="production"&&(s.reload=()=>{e(Ve(g),f,d)}),p&&t?t(g,f):e(g,f,d),c=!0,a._container=f,f.__vue_app__=a,process.env.NODE_ENV!=="production"&&(a._instance=g.component,Ri(a,gs)),Zn(g.component)||g.component.proxy}},unmount(){c?(e(null,a._container),process.env.NODE_ENV!=="production"&&(a._instance=null,ji(a)),delete a._container.__vue_app__):process.env.NODE_ENV!=="production"&&y("Cannot unmount an app that is not mounted.")},provide(f,p){return process.env.NODE_ENV!=="production"&&f in s.provides&&y(`App already provides property with key "${String(f)}". It will be overwritten with the new value.`),s.provides[f]=p,a}};return a}}function wo(e,t,n,o,r=!1){if(T(e)){e.forEach((g,w)=>wo(g,t&&(T(t)?t[w]:t),n,o,r));return}if(Bt(o)&&!r)return;const s=o.shapeFlag&4?Zn(o.component)||o.component.proxy:o.el,i=r?null:s,{i:c,r:a}=e;if(process.env.NODE_ENV!=="production"&&!c){y("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const f=t&&t.r,p=c.refs===j?c.refs={}:c.refs,d=c.setupState;if(f!=null&&f!==a&&(G(f)?(p[f]=null,F(d,f)&&(d[f]=null)):ee(f)&&(f.value=null)),I(a))Fe(a,c,12,[i,p]);else{const g=G(a),w=ee(a);if(g||w){const Z=()=>{if(e.f){const C=g?p[a]:a.value;r?T(C)&&jn(C,s):T(C)?C.includes(s)||C.push(s):g?(p[a]=[s],F(d,a)&&(d[a]=p[a])):(a.value=[s],e.k&&(p[e.k]=a.value))}else g?(p[a]=i,F(d,a)&&(d[a]=i)):w?(a.value=i,e.k&&(p[e.k]=i)):process.env.NODE_ENV!=="production"&&y("Invalid template ref type:",a,`(${typeof a})`)};i?(Z.id=-1,de(Z,n)):Z()}else process.env.NODE_ENV!=="production"&&y("Invalid template ref type:",a,`(${typeof a})`)}}let Ht,ze;function Se(e,t){e.appContext.config.performance&&Vn()&&ze.mark(`vue-${t}-${e.uid}`),process.env.NODE_ENV!=="production"&&Hi(e,t,Vn()?ze.now():Date.now())}function Me(e,t){if(e.appContext.config.performance&&Vn()){const n=`vue-${t}-${e.uid}`,o=n+":end";ze.mark(o),ze.measure(`<${Fn(e,e.type)}> ${t}`,n,o),ze.clearMarks(n),ze.clearMarks(o)}process.env.NODE_ENV!=="production"&&ki(e,t,Vn()?ze.now():Date.now())}function Vn(){return Ht!==void 0||(typeof window<"u"&&window.performance?(Ht=!0,ze=window.performance):Ht=!1),Ht}function Bl(){const e=[];if(process.env.NODE_ENV!=="production"&&e.length){const t=e.length>1;console.warn(`Feature flag${t?"s":""} ${e.join(", ")} ${t?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle. For more details, see https://link.vuejs.org/feature-flags.`)}}const de=tl;function Ll(e){return Hl(e)}function Hl(e,t){Bl();const n=Ho();n.__VUE__=!0,process.env.NODE_ENV!=="production"&&wr(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:o,remove:r,patchProp:s,createElement:i,createText:c,createComment:a,setText:f,setElementText:p,parentNode:d,nextSibling:g,setScopeId:w=ne,insertStaticContent:Z}=e,C=(l,u,h,_=null,m=null,b=null,O=!1,E=null,N=process.env.NODE_ENV!=="production"&&st?!1:!!u.dynamicChildren)=>{if(l===u)return;l&&!dt(l,u)&&(_=Mn(l),Xe(l,m,b,!0),l=null),u.patchFlag===-2&&(N=!1,u.dynamicChildren=null);const{type:v,ref:D,shapeFlag:x}=u;switch(v){case Tn:W(l,u,h,_);break;case ie:L(l,u,h,_);break;case kt:l==null?B(u,h,_,O):process.env.NODE_ENV!=="production"&&q(l,u,h,O);break;case me:je(l,u,h,_,m,b,O,E,N);break;default:x&1?Je(l,u,h,_,m,b,O,E,N):x&6?Sn(l,u,h,_,m,b,O,E,N):x&64||x&128?v.process(l,u,h,_,m,b,O,E,N,Dt):process.env.NODE_ENV!=="production"&&y("Invalid VNode type:",v,`(${typeof v})`)}D!=null&&m&&wo(D,l&&l.ref,b,u||l,!u)},W=(l,u,h,_)=>{if(l==null)o(u.el=c(u.children),h,_);else{const m=u.el=l.el;u.children!==l.children&&f(m,u.children)}},L=(l,u,h,_)=>{l==null?o(u.el=a(u.children||""),h,_):u.el=l.el},B=(l,u,h,_)=>{[l.el,l.anchor]=Z(l.children,u,h,_,l.el,l.anchor)},q=(l,u,h,_)=>{if(u.children!==l.children){const m=g(l.anchor);z(l),[u.el,u.anchor]=Z(u.children,h,m,_)}else u.el=l.el,u.anchor=l.anchor},pe=({el:l,anchor:u},h,_)=>{let m;for(;l&&l!==u;)m=g(l),o(l,h,_),l=m;o(u,h,_)},z=({el:l,anchor:u})=>{let h;for(;l&&l!==u;)h=g(l),r(l),l=h;r(u)},Je=(l,u,h,_,m,b,O,E,N)=>{O=O||u.type==="svg",l==null?Te(u,h,_,m,b,O,E,N):J(l,u,m,b,O,E,N)},Te=(l,u,h,_,m,b,O,E)=>{let N,v;const{type:D,props:x,shapeFlag:V,transition:$,dirs:S}=l;if(N=l.el=i(l.type,b,x&&x.is,x),V&8?p(N,l.children):V&16&&U(l.children,N,null,_,m,b&&D!=="foreignObject",O,E),S&&at(l,null,_,"created"),x){for(const H in x)H!=="value"&&!tn(H)&&s(N,H,null,x[H],b,l.children,_,m,Be);"value"in x&&s(N,"value",null,x.value),(v=x.onVnodeBeforeMount)&&Ce(v,_,l)}P(N,l,l.scopeId,O,_),process.env.NODE_ENV!=="production"&&(Object.defineProperty(N,"__vnode",{value:l,enumerable:!1}),Object.defineProperty(N,"__vueParentComponent",{value:_,enumerable:!1})),S&&at(l,null,_,"beforeMount");const k=(!m||m&&!m.pendingBranch)&&$&&!$.persisted;k&&$.beforeEnter(N),o(N,u,h),((v=x&&x.onVnodeMounted)||k||S)&&de(()=>{v&&Ce(v,_,l),k&&$.enter(N),S&&at(l,null,_,"mounted")},m)},P=(l,u,h,_,m)=>{if(h&&w(l,h),_)for(let b=0;b<_.length;b++)w(l,_[b]);if(m){let b=m.subTree;if(process.env.NODE_ENV!=="production"&&b.patchFlag>0&&b.patchFlag&2048&&(b=Cr(b.children)||b),u===b){const O=m.vnode;P(l,O,O.scopeId,O.slotScopeIds,m.parent)}}},U=(l,u,h,_,m,b,O,E,N=0)=>{for(let v=N;v{const E=u.el=l.el;let{patchFlag:N,dynamicChildren:v,dirs:D}=u;N|=l.patchFlag&16;const x=l.props||j,V=u.props||j;let $;h&&ft(h,!1),($=V.onVnodeBeforeUpdate)&&Ce($,h,u,l),D&&at(u,l,h,"beforeUpdate"),h&&ft(h,!0),process.env.NODE_ENV!=="production"&&st&&(N=0,O=!1,v=null);const S=m&&u.type!=="foreignObject";if(v?(le(l.dynamicChildren,v,E,h,_,S,b),process.env.NODE_ENV!=="production"&&h&&h.type.__hmrId&&Cn(l,u)):O||Ie(l,u,E,null,h,_,S,b,!1),N>0){if(N&16)re(E,u,x,V,h,_,m);else if(N&2&&x.class!==V.class&&s(E,"class",null,V.class,m),N&4&&s(E,"style",x.style,V.style,m),N&8){const k=u.dynamicProps;for(let H=0;H{$&&Ce($,h,u,l),D&&at(u,l,h,"updated")},_)},le=(l,u,h,_,m,b,O)=>{for(let E=0;E{if(h!==_){if(h!==j)for(const E in h)!tn(E)&&!(E in _)&&s(l,E,h[E],null,O,u.children,m,b,Be);for(const E in _){if(tn(E))continue;const N=_[E],v=h[E];N!==v&&E!=="value"&&s(l,E,v,N,O,u.children,m,b,Be)}"value"in _&&s(l,"value",h.value,_.value)}},je=(l,u,h,_,m,b,O,E,N)=>{const v=u.el=l?l.el:c(""),D=u.anchor=l?l.anchor:c("");let{patchFlag:x,dynamicChildren:V,slotScopeIds:$}=u;process.env.NODE_ENV!=="production"&&(st||x&2048)&&(x=0,N=!1,V=null),$&&(E=E?E.concat($):$),l==null?(o(v,h,_),o(D,h,_),U(u.children,h,D,m,b,O,E,N)):x>0&&x&64&&V&&l.dynamicChildren?(le(l.dynamicChildren,V,h,m,b,O,E),process.env.NODE_ENV!=="production"&&m&&m.type.__hmrId?Cn(l,u):(u.key!=null||m&&u===m.subTree)&&Cn(l,u,!0)):Ie(l,u,h,D,m,b,O,E,N)},Sn=(l,u,h,_,m,b,O,E,N)=>{u.slotScopeIds=E,l==null?u.shapeFlag&512?m.ctx.activate(u,h,_,O,N):Ye(u,h,_,m,b,O,N):he(l,u,N)},Ye=(l,u,h,_,m,b,O)=>{const E=l.component=ec(l,_,m);if(process.env.NODE_ENV!=="production"&&E.type.__hmrId&&Fi(E),process.env.NODE_ENV!=="production"&&(gn(l),Se(E,"mount")),Lt(l)&&(E.ctx.renderer=Dt),process.env.NODE_ENV!=="production"&&Se(E,"init"),oc(E),process.env.NODE_ENV!=="production"&&Me(E,"init"),E.asyncDep){if(m&&m.registerDep(E,M),!l.el){const N=E.subTree=be(ie);L(null,N,u,h)}return}M(E,l,u,h,m,b,O),process.env.NODE_ENV!=="production"&&(_n(),Me(E,"mount"))},he=(l,u,h)=>{const _=u.component=l.component;if(Qi(l,u,h))if(_.asyncDep&&!_.asyncResolved){process.env.NODE_ENV!=="production"&&gn(u),R(_,u,h),process.env.NODE_ENV!=="production"&&_n();return}else _.next=u,Ai(_.update),_.update();else u.el=l.el,_.vnode=u},M=(l,u,h,_,m,b,O)=>{const E=()=>{if(l.isMounted){let{next:D,bu:x,u:V,parent:$,vnode:S}=l,k=D,H;process.env.NODE_ENV!=="production"&&gn(D||l.vnode),ft(l,!1),D?(D.el=S.el,R(l,D,O)):D=S,x&&It(x),(H=D.props&&D.props.onVnodeBeforeUpdate)&&Ce(H,$,D,S),ft(l,!0),process.env.NODE_ENV!=="production"&&Se(l,"render");const X=ao(l);process.env.NODE_ENV!=="production"&&Me(l,"render");const ye=l.subTree;l.subTree=X,process.env.NODE_ENV!=="production"&&Se(l,"patch"),C(ye,X,d(ye.el),Mn(ye),l,m,b),process.env.NODE_ENV!=="production"&&Me(l,"patch"),D.el=X.el,k===null&&Gi(l,X.el),V&&de(V,m),(H=D.props&&D.props.onVnodeUpdated)&&de(()=>Ce(H,$,D,S),m),process.env.NODE_ENV!=="production"&&xr(l),process.env.NODE_ENV!=="production"&&_n()}else{let D;const{el:x,props:V}=u,{bm:$,m:S,parent:k}=l,H=Bt(u);if(ft(l,!1),$&&It($),!H&&(D=V&&V.onVnodeBeforeMount)&&Ce(D,k,u),ft(l,!0),x&&Ro){const X=()=>{process.env.NODE_ENV!=="production"&&Se(l,"render"),l.subTree=ao(l),process.env.NODE_ENV!=="production"&&Me(l,"render"),process.env.NODE_ENV!=="production"&&Se(l,"hydrate"),Ro(x,l.subTree,l,m,null),process.env.NODE_ENV!=="production"&&Me(l,"hydrate")};H?u.type.__asyncLoader().then(()=>!l.isUnmounted&&X()):X()}else{process.env.NODE_ENV!=="production"&&Se(l,"render");const X=l.subTree=ao(l);process.env.NODE_ENV!=="production"&&Me(l,"render"),process.env.NODE_ENV!=="production"&&Se(l,"patch"),C(null,X,h,_,l,m,b),process.env.NODE_ENV!=="production"&&Me(l,"patch"),u.el=X.el}if(S&&de(S,m),!H&&(D=V&&V.onVnodeMounted)){const X=u;de(()=>Ce(D,k,X),m)}(u.shapeFlag&256||k&&Bt(k.vnode)&&k.vnode.shapeFlag&256)&&l.a&&de(l.a,m),l.isMounted=!0,process.env.NODE_ENV!=="production"&&Bi(l),u=h=_=null}},N=l.effect=new Jn(E,()=>En(v),l.scope),v=l.update=()=>N.run();v.id=l.uid,ft(l,!0),process.env.NODE_ENV!=="production"&&(N.onTrack=l.rtc?D=>It(l.rtc,D):void 0,N.onTrigger=l.rtg?D=>It(l.rtg,D):void 0,v.ownerInstance=l),v()},R=(l,u,h)=>{u.component=l;const _=l.vnode.props;l.vnode=u,l.next=null,Tl(l,u.props,_,h),Ml(l,u.children,h),et(),Er(),tt()},Ie=(l,u,h,_,m,b,O,E,N=!1)=>{const v=l&&l.children,D=l?l.shapeFlag:0,x=u.children,{patchFlag:V,shapeFlag:$}=u;if(V>0){if(V&128){Yt(v,x,h,_,m,b,O,E,N);return}else if(V&256){Po(v,x,h,_,m,b,O,E,N);return}}$&8?(D&16&&Be(v,m,b),x!==v&&p(h,x)):D&16?$&16?Yt(v,x,h,_,m,b,O,E,N):Be(v,m,b,!0):(D&8&&p(h,""),$&16&&U(x,h,_,m,b,O,E,N))},Po=(l,u,h,_,m,b,O,E,N)=>{l=l||mt,u=u||mt;const v=l.length,D=u.length,x=Math.min(v,D);let V;for(V=0;VD?Be(l,m,b,!0,!1,x):U(u,h,_,m,b,O,E,N,x)},Yt=(l,u,h,_,m,b,O,E,N)=>{let v=0;const D=u.length;let x=l.length-1,V=D-1;for(;v<=x&&v<=V;){const $=l[v],S=u[v]=N?qe(u[v]):Ne(u[v]);if(dt($,S))C($,S,h,null,m,b,O,E,N);else break;v++}for(;v<=x&&v<=V;){const $=l[x],S=u[V]=N?qe(u[V]):Ne(u[V]);if(dt($,S))C($,S,h,null,m,b,O,E,N);else break;x--,V--}if(v>x){if(v<=V){const $=V+1,S=$V)for(;v<=x;)Xe(l[v],m,b,!0),v++;else{const $=v,S=v,k=new Map;for(v=S;v<=V;v++){const ue=u[v]=N?qe(u[v]):Ne(u[v]);ue.key!=null&&(process.env.NODE_ENV!=="production"&&k.has(ue.key)&&y("Duplicate keys found during update:",JSON.stringify(ue.key),"Make sure keys are unique."),k.set(ue.key,v))}let H,X=0;const ye=V-S+1;let Vt=!1,Is=0;const Xt=new Array(ye);for(v=0;v=ye){Xe(ue,m,b,!0);continue}let $e;if(ue.key!=null)$e=k.get(ue.key);else for(H=S;H<=V;H++)if(Xt[H-S]===0&&dt(ue,u[H])){$e=H;break}$e===void 0?Xe(ue,m,b,!0):(Xt[$e-S]=v+1,$e>=Is?Is=$e:Vt=!0,C(ue,u[$e],h,null,m,b,O,E,N),X++)}const $s=Vt?kl(Xt):mt;for(H=$s.length-1,v=ye-1;v>=0;v--){const ue=S+v,$e=u[ue],As=ue+1{const{el:b,type:O,transition:E,children:N,shapeFlag:v}=l;if(v&6){xt(l.component.subTree,u,h,_);return}if(v&128){l.suspense.move(u,h,_);return}if(v&64){O.move(l,u,h,Dt);return}if(O===me){o(b,u,h);for(let x=0;xE.enter(b),m);else{const{leave:x,delayLeave:V,afterLeave:$}=E,S=()=>o(b,u,h),k=()=>{x(b,()=>{S(),$&&$()})};V?V(b,S,k):k()}else o(b,u,h)},Xe=(l,u,h,_=!1,m=!1)=>{const{type:b,props:O,ref:E,children:N,dynamicChildren:v,shapeFlag:D,patchFlag:x,dirs:V}=l;if(E!=null&&wo(E,null,h,l,!0),D&256){u.ctx.deactivate(l);return}const $=D&1&&V,S=!Bt(l);let k;if(S&&(k=O&&O.onVnodeBeforeUnmount)&&Ce(k,u,l),D&6)fa(l.component,h,_);else{if(D&128){l.suspense.unmount(h,_);return}$&&at(l,null,u,"beforeUnmount"),D&64?l.type.remove(l,u,h,m,Dt,_):v&&(b!==me||x>0&&x&64)?Be(v,u,h,!1,!0):(b===me&&x&384||!m&&D&16)&&Be(N,u,h),_&&So(l)}(S&&(k=O&&O.onVnodeUnmounted)||$)&&de(()=>{k&&Ce(k,u,l),$&&at(l,null,u,"unmounted")},h)},So=l=>{const{type:u,el:h,anchor:_,transition:m}=l;if(u===me){process.env.NODE_ENV!=="production"&&l.patchFlag>0&&l.patchFlag&2048&&m&&!m.persisted?l.children.forEach(O=>{O.type===ie?r(O.el):So(O)}):ua(h,_);return}if(u===kt){z(l);return}const b=()=>{r(h),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(l.shapeFlag&1&&m&&!m.persisted){const{leave:O,delayLeave:E}=m,N=()=>O(h,b);E?E(l.el,b,N):N()}else b()},ua=(l,u)=>{let h;for(;l!==u;)h=g(l),r(l),l=h;r(u)},fa=(l,u,h)=>{process.env.NODE_ENV!=="production"&&l.type.__hmrId&&Pi(l);const{bum:_,scope:m,update:b,subTree:O,um:E}=l;_&&It(_),m.stop(),b&&(b.active=!1,Xe(O,l,u,h)),E&&de(E,u),de(()=>{l.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&l.asyncDep&&!l.asyncResolved&&l.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve()),process.env.NODE_ENV!=="production"&&Li(l)},Be=(l,u,h,_=!1,m=!1,b=0)=>{for(let O=b;Ol.shapeFlag&6?Mn(l.component.subTree):l.shapeFlag&128?l.suspense.next():g(l.anchor||l.el),Ts=(l,u,h)=>{l==null?u._vnode&&Xe(u._vnode,null,null,!0):C(u._vnode||null,l,u,null,null,null,h),Er(),br(),u._vnode=l},Dt={p:C,um:Xe,m:xt,r:So,mt:Ye,mc:U,pc:Ie,pbc:le,n:Mn,o:e};let Mo,Ro;return t&&([Mo,Ro]=t(Dt)),{render:Ts,hydrate:Mo,createApp:jl(Ts,Mo)}}function ft({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Cn(e,t,n=!1){const o=e.children,r=t.children;if(T(o)&&T(r))for(let s=0;s>1,e[n[c]]0&&(t[o]=n[s-1]),n[s]=o)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}const Wl=e=>e.__isTeleport,me=Symbol(process.env.NODE_ENV!=="production"?"Fragment":void 0),Tn=Symbol(process.env.NODE_ENV!=="production"?"Text":void 0),ie=Symbol(process.env.NODE_ENV!=="production"?"Comment":void 0),kt=Symbol(process.env.NODE_ENV!=="production"?"Static":void 0),Wt=[];let Ee=null;function Ot(e=!1){Wt.push(Ee=e?null:[])}function Ul(){Wt.pop(),Ee=Wt[Wt.length-1]||null}let Ut=1;function ss(e){Ut+=e}function is(e){return e.dynamicChildren=Ut>0?Ee||mt:null,Ul(),Ut>0&&Ee&&Ee.push(e),e}function Kt(e,t,n,o,r,s){return is(Q(e,t,n,o,r,s,!0))}function Kl(e,t,n,o,r){return is(be(e,t,n,o,r,!0))}function In(e){return e?e.__v_isVNode===!0:!1}function dt(e,t){return process.env.NODE_ENV!=="production"&&t.shapeFlag&6&&Nt.has(t.type)?!1:e.type===t.type&&e.key===t.key}const zl=(...e)=>cs(...e),$n="__vInternal",ls=({key:e})=>e!=null?e:null,An=({ref:e,ref_key:t,ref_for:n})=>e!=null?G(e)||ee(e)||I(e)?{i:oe,r:e,k:t,f:!!n}:e:null;function Q(e,t=null,n=null,o=0,r=null,s=e===me?0:1,i=!1,c=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ls(t),ref:t&&An(t),scopeId:Nn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null};return c?(xo(a,n),s&128&&e.normalize(a)):n&&(a.shapeFlag|=G(n)?8:16),process.env.NODE_ENV!=="production"&&a.key!==a.key&&y("VNode created with invalid key (NaN). VNode type:",a.type),Ut>0&&!i&&Ee&&(a.patchFlag>0||s&6)&&a.patchFlag!==32&&Ee.push(a),a}const be=process.env.NODE_ENV!=="production"?zl:cs;function cs(e,t=null,n=null,o=0,r=null,s=!1){if((!e||e===_l)&&(process.env.NODE_ENV!=="production"&&!e&&y(`Invalid vnode type when creating vnode: ${e}.`),e=ie),In(e)){const c=Ve(e,t,!0);return n&&xo(c,n),Ut>0&&!s&&Ee&&(c.shapeFlag&6?Ee[Ee.indexOf(e)]=c:Ee.push(c)),c.patchFlag|=-2,c}if(ms(e)&&(e=e.__vccOpts),t){t=ql(t);let{class:c,style:a}=t;c&&!G(c)&&(t.class=Qt(c)),K(a)&&(Gn(a)&&!T(a)&&(a=Y({},a)),t.style=Rn(a))}const i=G(e)?1:el(e)?128:Wl(e)?64:K(e)?4:I(e)?2:0;return process.env.NODE_ENV!=="production"&&i&4&&Gn(e)&&(e=A(e),y("Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",` Component that was made reactive: `,e)),Q(e,t,n,o,r,i,s,!0)}function ql(e){return e?Gn(e)||$n in e?Y({},e):e:null}function Ve(e,t,n=!1){const{props:o,ref:r,patchFlag:s,children:i}=e,c=t?Xl(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&ls(c),ref:t&&t.ref?n&&r?T(r)?r.concat(An(t)):[r,An(t)]:An(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&s===-1&&T(i)?i.map(as):i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==me?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ve(e.ssContent),ssFallback:e.ssFallback&&Ve(e.ssFallback),el:e.el,anchor:e.anchor}}function as(e){const t=Ve(e);return T(e.children)&&(t.children=e.children.map(as)),t}function Jl(e=" ",t=0){return be(Tn,null,e,t)}function Yl(e,t){const n=be(kt,null,e);return n.staticCount=t,n}function Ne(e){return e==null||typeof e=="boolean"?be(ie):T(e)?be(me,null,e.slice()):typeof e=="object"?qe(e):be(Tn,null,String(e))}function qe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ve(e)}function xo(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(T(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),xo(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!($n in t)?t._ctx=oe:r===3&&oe&&(oe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else I(t)?(t={default:t,_ctx:oe},n=32):(t=String(t),o&64?(n=16,t=[Jl(t)]):n=8);e.children=t,e.shapeFlag|=n}function Xl(...e){const t={};for(let n=0;nte||oe,wt=e=>{te=e,e.scope.on()},pt=()=>{te&&te.scope.off(),te=null},nc=Oe("slot,component");function Do(e,t){const n=t.isNativeTag||Bo;(nc(e)||n(e))&&y("Do not use built-in or reserved HTML elements as component id: "+e)}function us(e){return e.vnode.shapeFlag&4}let zt=!1;function oc(e,t=!1){zt=t;const{props:n,children:o}=e.vnode,r=us(e);Vl(e,n,r,t),Sl(e,o);const s=r?rc(e,t):void 0;return zt=!1,s}function rc(e,t){var n;const o=e.type;if(process.env.NODE_ENV!=="production"){if(o.name&&Do(o.name,e.appContext.config),o.components){const s=Object.keys(o.components);for(let i=0;i1?ic(e):null;wt(e),et();const i=Fe(r,e,0,[process.env.NODE_ENV!=="production"?vt(e.props):e.props,s]);if(tt(),pt(),Ln(i)){if(i.then(pt,pt),t)return i.then(c=>{fs(e,c,t)}).catch(c=>{vn(c,e,0)});if(e.asyncDep=i,process.env.NODE_ENV!=="production"&&!e.suspense){const c=(n=o.name)!==null&&n!==void 0?n:"Anonymous";y(`Component <${c}>: setup function returned a promise, but no boundary was found in the parent component tree. A component with async setup() must be nested in a in order to be rendered.`)}}else fs(e,i,t)}else ds(e,t)}function fs(e,t,n){I(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:K(t)?(process.env.NODE_ENV!=="production"&&In(t)&&y("setup() should not return VNodes directly - return a render function instead."),process.env.NODE_ENV!=="production"&&(e.devtoolsRawSetupState=t),e.setupState=dr(t),process.env.NODE_ENV!=="production"&&bl(e)):process.env.NODE_ENV!=="production"&&t!==void 0&&y(`setup() should return an object. Received: ${t===null?"null":typeof t}`),ds(e,n)}let Vo;const sc=()=>!Vo;function ds(e,t,n){const o=e.type;if(!e.render){if(!t&&Vo&&!o.render){const r=o.template||Eo(e).template;if(r){process.env.NODE_ENV!=="production"&&Se(e,"compile");const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:c,compilerOptions:a}=o,f=Y(Y({isCustomElement:s,delimiters:c},i),a);o.render=Vo(r,f),process.env.NODE_ENV!=="production"&&Me(e,"compile")}}e.render=o.render||ne}wt(e),et(),yl(e),tt(),pt(),process.env.NODE_ENV!=="production"&&!o.render&&e.render===ne&&!t&&(o.template?y('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):y("Component is missing template or render function."))}function ps(e){return new Proxy(e.attrs,process.env.NODE_ENV!=="production"?{get(t,n){return On(),fe(e,"get","$attrs"),t[n]},set(){return y("setupContext.attrs is readonly."),!1},deleteProperty(){return y("setupContext.attrs is readonly."),!1}}:{get(t,n){return fe(e,"get","$attrs"),t[n]}})}function ic(e){const t=o=>{process.env.NODE_ENV!=="production"&&e.exposed&&y("expose() should be called only once per setup()."),e.exposed=o||{}};let n;return process.env.NODE_ENV!=="production"?Object.freeze({get attrs(){return n||(n=ps(e))},get slots(){return vt(e.slots)},get emit(){return(o,...r)=>e.emit(o,...r)},expose:t}):{get attrs(){return n||(n=ps(e))},slots:e.slots,emit:e.emit,expose:t}}function Zn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(dr(ar(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in yt)return yt[n](e)}}))}const lc=/(?:^|[-_])(\w)/g,cc=e=>e.replace(lc,t=>t.toUpperCase()).replace(/[-_]/g,"");function hs(e,t=!0){return I(e)?e.displayName||e.name:e.name||t&&e.__name}function Fn(e,t,n=!1){let o=hs(t);if(!o&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(o=r[1])}if(!o&&e&&e.parent){const r=s=>{for(const i in s)if(s[i]===t)return i};o=r(e.components||e.parent.type.components)||r(e.appContext.components)}return o?cc(o):n?"App":"Anonymous"}function ms(e){return I(e)&&"__vccOpts"in e}const ac=(e,t)=>wi(e,t,zt);Symbol(process.env.NODE_ENV!=="production"?"ssrContext":"");function Co(e){return!!(e&&e.__v_isShallow)}function uc(){if(process.env.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#0b1bc9"},n={style:"color:#b62e24"},o={style:"color:#9d288c"},r={header(d){return K(d)?d.__isVue?["div",e,"VueInstance"]:ee(d)?["div",{},["span",e,p(d)],"<",c(d.value),">"]:nt(d)?["div",{},["span",e,Co(d)?"ShallowReactive":"Reactive"],"<",c(d),`>${Ue(d)?" (readonly)":""}`]:Ue(d)?["div",{},["span",e,Co(d)?"ShallowReadonly":"Readonly"],"<",c(d),">"]:null:null},hasBody(d){return d&&d.__isVue},body(d){if(d&&d.__isVue)return["div",{},...s(d.$)]}};function s(d){const g=[];d.type.props&&d.props&&g.push(i("props",A(d.props))),d.setupState!==j&&g.push(i("setup",d.setupState)),d.data!==j&&g.push(i("data",A(d.data)));const w=a(d,"computed");w&&g.push(i("computed",w));const Z=a(d,"inject");return Z&&g.push(i("injected",Z)),g.push(["div",{},["span",{style:o.style+";opacity:0.66"},"$ (internal): "],["object",{object:d}]]),g}function i(d,g){return g=Y({},g),Object.keys(g).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},d],["div",{style:"padding-left:1.25em"},...Object.keys(g).map(w=>["div",{},["span",o,w+": "],c(g[w],!1)])]]:["span",{}]}function c(d,g=!0){return typeof d=="number"?["span",t,d]:typeof d=="string"?["span",n,JSON.stringify(d)]:typeof d=="boolean"?["span",o,d]:K(d)?["object",{object:g?A(d):d}]:["span",n,String(d)]}function a(d,g){const w=d.type;if(I(w))return;const Z={};for(const C in d.ctx)f(w,C,g)&&(Z[C]=d.ctx[C]);return Z}function f(d,g,w){const Z=d[w];if(T(Z)&&Z.includes(g)||K(Z)&&g in Z||d.extends&&f(d.extends,g,w)||d.mixins&&d.mixins.some(C=>f(C,g,w)))return!0}function p(d){return Co(d)?"ShallowRef":d.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}const gs="3.2.40",fc="http://www.w3.org/2000/svg",ht=typeof document<"u"?document:null,_s=ht&&ht.createElement("template"),dc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t?ht.createElementNS(fc,e):ht.createElement(e,n?{is:n}:void 0);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>ht.createTextNode(e),createComment:e=>ht.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ht.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,s){const i=n?n.previousSibling:t.lastChild;if(r&&(r===s||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===s||!(r=r.nextSibling)););else{_s.innerHTML=o?`${e}`:e;const c=_s.content;if(o){const a=c.firstChild;for(;a.firstChild;)c.appendChild(a.firstChild);c.removeChild(a)}t.insertBefore(c,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function pc(e,t,n){const o=e._vtc;o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function hc(e,t,n){const o=e.style,r=G(n);if(n&&!r){for(const s in n)To(o,s,n[s]);if(t&&!G(t))for(const s in t)n[s]==null&&To(o,s,"")}else{const s=o.display;r?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=s)}}const vs=/\s*!important$/;function To(e,t,n){if(T(n))n.forEach(o=>To(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=mc(e,t);vs.test(n)?e.setProperty(ve(o),n.replace(vs,""),"important"):e[o]=n}}const Es=["Webkit","Moz","ms"],Io={};function mc(e,t){const n=Io[t];if(n)return n;let o=Le(t);if(o!=="filter"&&o in e)return Io[t]=o;o=on(o);for(let r=0;r: value ${n} is invalid.`,a)}c&&e.removeAttribute(t)}const[Ns,vc]=(()=>{let e=Date.now,t=!1;if(typeof window<"u"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let $o=0;const Ec=Promise.resolve(),bc=()=>{$o=0},Nc=()=>$o||(Ec.then(bc),$o=Ns());function yc(e,t,n,o){e.addEventListener(t,n,o)}function Oc(e,t,n,o){e.removeEventListener(t,n,o)}function wc(e,t,n,o,r=null){const s=e._vei||(e._vei={}),i=s[t];if(o&&i)i.value=o;else{const[c,a]=xc(t);if(o){const f=s[t]=Dc(o,r);yc(e,c,f,a)}else i&&(Oc(e,c,i,a),s[t]=void 0)}}const ys=/(?:Once|Passive|Capture)$/;function xc(e){let t;if(ys.test(e)){t={};let o;for(;o=e.match(ys);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ve(e.slice(2)),t]}function Dc(e,t){const n=o=>{const r=o.timeStamp||Ns();(vc||r>=n.attached-1)&&ge(Vc(o,n.value),t,5,[o])};return n.value=e,n.attached=Nc(),n}function Vc(e,t){if(T(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>r=>!r._stopped&&o&&o(r))}else return t}const Os=/^on[a-z]/,Cc=(e,t,n,o,r=!1,s,i,c,a)=>{t==="class"?pc(e,o,r):t==="style"?hc(e,n,o):Ct(t)?Gt(t)||wc(e,t,n,o,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Tc(e,t,o,r))?_c(e,t,o,s,i,c,a):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),gc(e,t,o,r))};function Tc(e,t,n,o){return o?!!(t==="innerHTML"||t==="textContent"||t in e&&Os.test(t)&&I(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Os.test(t)&&G(n)?!1:t in e}function Ao(e,t){const n=wn(e);class o extends Zo{constructor(s){super(n,s,t)}}return o.def=n,o}const Ic=typeof HTMLElement<"u"?HTMLElement:class{};class Zo extends Ic{constructor(t,n={},o){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&o?o(this._createVNode(),this.shadowRoot):(process.env.NODE_ENV!=="production"&&this.shadowRoot&&y("Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."),this.attachShadow({mode:"open"}))}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,gr(()=>{this._connected||(xs(null,this.shadowRoot),this._instance=null)})}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let o=0;o{for(const r of o)this._setAttr(r.attributeName)}).observe(this,{attributes:!0});const t=o=>{const{props:r,styles:s}=o,i=!T(r),c=r?i?Object.keys(r):r:[];let a;if(i)for(const f in this._props){const p=r[f];(p===Number||p&&p.type===Number)&&(this._props[f]=Wn(this._props[f]),(a||(a=Object.create(null)))[f]=!0)}this._numberProps=a;for(const f of Object.keys(this))f[0]!=="_"&&this._setProp(f,this[f],!0,!1);for(const f of c.map(Le))Object.defineProperty(this,f,{get(){return this._getProp(f)},set(p){this._setProp(f,p)}});this._applyStyles(s),this._update()},n=this._def.__asyncLoader;n?n().then(t):t(this._def)}_setAttr(t){let n=this.getAttribute(t);this._numberProps&&this._numberProps[t]&&(n=Wn(n)),this._setProp(Le(t),n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,o=!0,r=!0){n!==this._props[t]&&(this._props[t]=n,r&&this._instance&&this._update(),o&&(n===!0?this.setAttribute(ve(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(ve(t),n+""):n||this.removeAttribute(ve(t))))}_update(){xs(this._createVNode(),this.shadowRoot)}_createVNode(){const t=be(this._def,Y({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0,process.env.NODE_ENV!=="production"&&(n.ceReload=r=>{this._styles&&(this._styles.forEach(s=>this.shadowRoot.removeChild(s)),this._styles.length=0),this._applyStyles(r),this._def.__asyncLoader||(this._instance=null,this._update())}),n.emit=(r,...s)=>{this.dispatchEvent(new CustomEvent(r,{detail:s}))};let o=this;for(;o=o&&(o.parentNode||o.host);)if(o instanceof Zo){n.parent=o._instance;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const o=document.createElement("style");o.textContent=n,this.shadowRoot.appendChild(o),process.env.NODE_ENV!=="production"&&(this._styles||(this._styles=[])).push(o)})}}const $c={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};sl.props;const Ac=["ctrl","shift","alt","meta"],Zc={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)=>Ac.some(n=>e[`${n}Key`]&&!t.includes(n))},Re=(e,t)=>(n,...o)=>{for(let r=0;r{qt(e,!1)}):qt(e,t))},beforeUnmount(e,{value:t}){qt(e,t)}};function qt(e,t){e.style.display=t?e._vod:"none"}const Pc=Y({patchProp:Cc},dc);let ws;function Sc(){return ws||(ws=Ll(Pc))}const xs=(...e)=>{Sc().render(...e)};function Mc(){uc()}process.env.NODE_ENV!=="production"&&Mc(),typeof SuppressedError=="function"&&SuppressedError;var Jt=function(e){e===void 0&&(e=0);var t="",n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",o=String(JSON.parse(new Date().toJSON().replace(/-|T|Z|:|\./g,"")));Number(e)>=1&&(t+=String(Number(e)+1));for(var r=0;r

Drag and drop files to upload

Your files will be added automatically

',2)],kc=wn({__name:"DropZone",props:{modelValue:{default:[]},accept:{default:"*"},base64:{type:Boolean,default:!1},uniqid:{type:Boolean,default:!1}},emits:["update:modelValue","handler"],setup(e,{emit:t}){const n=e,o=Et(n.modelValue||[]),r=Et(null),s=Jt(),i=c=>{const a=c.target.files||c.dataTransfer.files||r.value.files;for(let f=0;f{p.base64=d.result},d.readAsDataURL(p)}o.value.unshift(p)}t("update:modelValue",o.value),t("handler",o.value)};return(c,a)=>(Ot(),Kt("div",Rc,[Q("input",{type:"file",id:"dropZoneFile-"+ot(s),class:"dropZoneFile",ref_key:"dropZoneFile",ref:r,onChange:i,multiple:"",accept:e.accept},null,40,jc),Q("div",{class:"dropZoneWrap",onDragenter:a[0]||(a[0]=Re(()=>{},["prevent"])),onDragover:a[1]||(a[1]=Re(()=>{},["prevent"])),onDrop:Re(i,["prevent"])},[Q("label",{for:"dropZoneFile-"+ot(s),class:"dropZoneLabel"},Hc,8,Lc)],40,Bc)]))}}),Wc=`.dropZone[data-v-80aea37e]{overflow-wrap:break-word;padding:.5rem;max-width:calc(100vw - .5rem);max-height:calc(100vh - .5rem)}.dropZone .dropZoneFile[data-v-80aea37e]{position:absolute;width:0px;height:0px;overflow:hidden;clip:rect(1px,1px,1px,1px)}.dropZone .dropZoneWrap[data-v-80aea37e]{border-width:3px;border-style:dashed;border-color:currentColor;box-shadow:-1px 5px 25px -9px #0003}.dropZone .dropZoneWrap .dropZoneLabel[data-v-80aea37e]{display:grid;place-items:center;width:100%;height:100%;padding-top:1.5rem;padding-bottom:2.5rem;cursor:pointer}.dropZone .dropZoneWrap .dropZoneImage[data-v-80aea37e]{pointer-events:none;color:currentColor}.dropZone .dropZoneWrap .dropZoneBody[data-v-80aea37e]{text-align:center}.dropZone .dropZoneWrap .dropZoneBody p[data-v-80aea37e],.dropZone .dropZoneWrap .dropZoneBody span[data-v-80aea37e]{margin:0}.dropZone .dropZoneWrap .dropZoneBody .dropZoneTitle[data-v-80aea37e]{color:inherit}.dropZone .dropZoneWrap .dropZoneBody .dropZoneText[data-v-80aea37e]{color:#737373}.dropZone .dropZoneWrap .dropZoneBody .button[data-v-80aea37e]{background-color:transparent;display:inline-block;text-align:center;vertical-align:middle;pointer-events:none;font-size:1rem;line-height:1.5rem;font-weight:400;user-select:none;margin-top:1.25rem;border-radius:.35rem;color:currentColor;border:2px solid currentColor;padding:.375rem .75rem}.fg-inherit[data-v-80aea37e]{color:inherit!important} `,Fo=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},Uc=Fo(kc,[["styles",[Wc]],["__scopeId","data-v-80aea37e"]]),Pn=e=>(Ki("data-v-51c61893"),e=e(),zi(),e),Kc={class:"dropZone tedirThumbnail"},zc=["id"],qc=["onDrop"],Jc=["for"],Yc=["src"],Xc=["width","height"],Qc=[Pn(()=>Q("path",{d:"M6.002 5.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"},null,-1)),Pn(()=>Q("path",{d:"M2.002 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2h-12zm12 1a1 1 0 0 1 1 1v6.5l-3.777-1.947a.5.5 0 0 0-.577.093l-3.71 3.71-2.66-1.772a.5.5 0 0 0-.63.062L1.002 12V3a1 1 0 0 1 1-1h12z"},null,-1))],Gc={class:"dropZoneBody"},ea=Pn(()=>Q("p",null,[Q("strong",{class:"dropZoneTitle"},"Drag and drop thumbnail")],-1)),ta=Pn(()=>Q("p",null,[Q("small",{class:"dropZoneText"},"Your thumbnail will be shown here")],-1)),na={type:"button",class:"button"},oa=Fo(wn({__name:"ThumbBox",props:{modelValue:{default:""},iconSize:{default:"10em"},showButton:{type:Boolean,default:!0},type:{default:"both"}},emits:["update:modelValue","handler"],setup(e,{emit:t}){const n=e,o=Et(""),r=Et(null),s=Jt(),i=()=>{var a,f;if(typeof n.modelValue=="string")o.value=n.modelValue;else if(typeof n.modelValue=="object"&&((a=n.modelValue)==null?void 0:a.base64))o.value=n.modelValue.base64;else if(typeof n.modelValue=="object"&&((f=n.modelValue)==null?void 0:f.name)){const p=new FileReader;p.onload=function(){const d=p.result;o.value=String(d)},p.readAsDataURL(n.modelValue)}};mo(i),jt(()=>n.modelValue,i);const c=a=>{const f=a.target.files||a.dataTransfer.files||r.value.files;for(let p=0;p{const w=g.result;n.type==="base64"?(o.value=String(w),t("update:modelValue",w),t("handler",w)):n.type==="file"?(o.value=String(w),t("update:modelValue",d),t("handler",d)):(d.base64=w,o.value=String(d.base64),t("update:modelValue",d),t("handler",d))},g.readAsDataURL(d)}};return(a,f)=>(Ot(),Kt("div",Kc,[Q("input",{type:"file",id:"dropZoneThumbnail-"+ot(s),class:"dropZoneFile",ref_key:"dropZoneFile",ref:r,onChange:c,accept:"image/*"},null,40,zc),Q("div",{class:"dropZoneWrap",onDragenter:f[0]||(f[0]=Re(()=>{},["prevent"])),onDragover:f[1]||(f[1]=Re(()=>{},["prevent"])),onDrop:Re(c,["prevent"])},[Q("label",{for:"dropZoneThumbnail-"+ot(s),class:Qt(["dropZoneLabel",o.value?"tedirThumbnailLabel":""])},[o.value?(Ot(),Kt("img",{key:0,src:o.value,class:"tedirThumbnailImage",alt:"Thumbnail"},null,8,Yc)):Lr(a.$slots,"default",{key:1},()=>[(Ot(),Kt("svg",{xmlns:"http://www.w3.org/2000/svg",width:e.iconSize,height:e.iconSize,fill:"currentColor",class:"dropZoneImage my-10px",viewBox:"0 0 16 16"},Qc,8,Xc)),Q("div",Gc,[ea,ta,gl(Q("button",na,"or select thumbnail",512),[[Fc,e.showButton]])])],!0)],10,Jc)],40,qc)]))}}),[["styles",[`.dropZone[data-v-51c61893]{overflow-wrap:break-word;padding:.5rem;max-width:calc(100vw - .5rem);max-height:calc(100vh - .5rem)}.dropZone .dropZoneFile[data-v-51c61893]{position:absolute;width:0px;height:0px;overflow:hidden;clip:rect(1px,1px,1px,1px)}.dropZone .dropZoneWrap[data-v-51c61893]{border-width:3px;border-style:dashed;border-color:currentColor;box-shadow:-1px 5px 25px -9px #0003}.dropZone .dropZoneWrap .dropZoneLabel[data-v-51c61893]{display:grid;place-items:center;width:100%;height:100%;padding-top:1.5rem;padding-bottom:2.5rem;cursor:pointer}.dropZone .dropZoneWrap .dropZoneImage[data-v-51c61893]{pointer-events:none;color:currentColor}.dropZone .dropZoneWrap .dropZoneBody[data-v-51c61893]{text-align:center}.dropZone .dropZoneWrap .dropZoneBody p[data-v-51c61893],.dropZone .dropZoneWrap .dropZoneBody span[data-v-51c61893]{margin:0}.dropZone .dropZoneWrap .dropZoneBody .dropZoneTitle[data-v-51c61893]{color:inherit}.dropZone .dropZoneWrap .dropZoneBody .dropZoneText[data-v-51c61893]{color:#737373}.dropZone .dropZoneWrap .dropZoneBody .button[data-v-51c61893]{background-color:transparent;display:inline-block;text-align:center;vertical-align:middle;pointer-events:none;font-size:1rem;line-height:1.5rem;font-weight:400;user-select:none;margin-top:1.25rem;border-radius:.35rem;color:currentColor;border:2px solid currentColor;padding:.375rem .75rem}.tedirThumbnail .dropZoneWrap label.tedirThumbnailLabel[data-v-51c61893]{padding-top:0;padding-bottom:0}.tedirThumbnail .dropZoneWrap .dropZoneBody p .dropZoneTitle[data-v-51c61893]{color:inherit}.tedirThumbnailImage[data-v-51c61893]{object-fit:fill;width:100%} `]],["__scopeId","data-v-51c61893"]]),ra={class:"dropZone tedirAttach"},sa=["id","multiple","accept"],ia=["onDrop"],la=["for"],ca=Fo(wn({__name:"AttachBox",props:{modelValue:{default:[]},accept:{default:"*"},base64:{type:Boolean,default:!1},uniqid:{type:Boolean,default:!1},multiple:{type:Boolean,default:!0}},emits:["update:modelValue","handler"],setup(e,{emit:t}){const n=e,o=Et(n.modelValue||[]),r=Et(null),s=Jt();jt(()=>n.modelValue,()=>{o.value=n.modelValue});const i=c=>{const a=c.target.files||c.dataTransfer.files||r.value.files;for(let f=0;f{p.base64=d.result},d.readAsDataURL(p)}o.value.unshift(p)}t("update:modelValue",o.value),t("handler",o.value)};return(c,a)=>(Ot(),Kt("div",ra,[Q("input",{type:"file",id:"dropZoneFile-"+ot(s),class:"dropZoneFile",ref_key:"dropZoneFile",ref:r,onChange:i,multiple:e.multiple,accept:e.accept},null,40,sa),Q("div",{class:"dropZoneWrap",onDragenter:a[0]||(a[0]=Re(()=>{},["prevent"])),onDragover:a[1]||(a[1]=Re(()=>{},["prevent"])),onDrop:Re(i,["prevent"])},[Q("label",{for:"dropZoneFile-"+ot(s),class:"dropZoneLabel tedirAttachLabel"},[Lr(c.$slots,"default",{},void 0,!0)],8,la)],40,ia)]))}}),[["styles",[`.dropZone[data-v-6e404a6d]{overflow-wrap:break-word;padding:.5rem;max-width:calc(100vw - .5rem);max-height:calc(100vh - .5rem)}.dropZone .dropZoneFile[data-v-6e404a6d]{position:absolute;width:0px;height:0px;overflow:hidden;clip:rect(1px,1px,1px,1px)}.dropZone .dropZoneWrap[data-v-6e404a6d]{border-width:3px;border-style:dashed;border-color:currentColor;box-shadow:-1px 5px 25px -9px #0003}.dropZone .dropZoneWrap .dropZoneLabel[data-v-6e404a6d]{display:grid;place-items:center;width:100%;height:100%;padding-top:1.5rem;padding-bottom:2.5rem;cursor:pointer}.dropZone .dropZoneWrap .dropZoneImage[data-v-6e404a6d]{pointer-events:none;color:currentColor}.dropZone .dropZoneWrap .dropZoneBody[data-v-6e404a6d]{text-align:center}.dropZone .dropZoneWrap .dropZoneBody p[data-v-6e404a6d],.dropZone .dropZoneWrap .dropZoneBody span[data-v-6e404a6d]{margin:0}.dropZone .dropZoneWrap .dropZoneBody .dropZoneTitle[data-v-6e404a6d]{color:inherit}.dropZone .dropZoneWrap .dropZoneBody .dropZoneText[data-v-6e404a6d]{color:#737373}.dropZone .dropZoneWrap .dropZoneBody .button[data-v-6e404a6d]{background-color:transparent;display:inline-block;text-align:center;vertical-align:middle;pointer-events:none;font-size:1rem;line-height:1.5rem;font-weight:400;user-select:none;margin-top:1.25rem;border-radius:.35rem;color:currentColor;border:2px solid currentColor;padding:.375rem .75rem}.tedirAttach[data-v-6e404a6d]{padding:0;max-width:none;max-height:none;display:inline-grid}.tedirAttach .dropZoneWrap[data-v-6e404a6d]{border:none;box-shadow:none}.tedirAttach .dropZoneWrap label.tedirAttachLabel[data-v-6e404a6d]{display:inline-grid;padding:0} `]],["__scopeId","data-v-6e404a6d"]]),Ds=Ao(Uc),Vs=Ao(oa),Cs=Ao(ca);function aa(){customElements.define("drop-zone",Ds),customElements.define("thumb-box",Vs),customElements.define("attach-box",Cs)}Ae.AttachBox=Cs,Ae.DropZone=Ds,Ae.ThumbBox=Vs,Ae.useTedirDropZone=aa,Object.defineProperties(Ae,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});