UNPKG

@forgeflowai/chat

Version:

This is an embeddable Chat widget for n8n. It allows the execution of AI-Powered Workflows through a Chat window.

1 lines 195 kB
(function(It,dt){typeof exports=="object"&&typeof module<"u"?dt(exports):typeof define=="function"&&define.amd?define(["exports"],dt):(It=typeof globalThis<"u"?globalThis:It||self,dt(It.N8nChat={}))})(this,function(It){"use strict";function dt(t,e){const n=Object.create(null),r=t.split(",");for(let o=0;o<r.length;o++)n[r[o]]=!0;return e?o=>!!n[o.toLowerCase()]:o=>!!n[o]}const ue={},Ot=[],Ve=()=>{},xl=()=>!1,yl=/^on[^a-z]/,Nn=t=>yl.test(t),qr=t=>t.startsWith("onUpdate:"),de=Object.assign,Tr=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},wl=Object.prototype.hasOwnProperty,oe=(t,e)=>wl.call(t,e),G=Array.isArray,Ft=t=>Mn(t)==="[object Map]",es=t=>Mn(t)==="[object Set]",X=t=>typeof t=="function",ge=t=>typeof t=="string",Rr=t=>typeof t=="symbol",fe=t=>t!==null&&typeof t=="object",ts=t=>fe(t)&&X(t.then)&&X(t.catch),ns=Object.prototype.toString,Mn=t=>ns.call(t),kl=t=>Mn(t).slice(8,-1),rs=t=>Mn(t)==="[object Object]",Lr=t=>ge(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,In=dt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),On=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},El=/-(\w)/g,Bt=On(t=>t.replace(El,(e,n)=>n?n.toUpperCase():"")),Cl=/\B([A-Z])/g,gt=On(t=>t.replace(Cl,"-$1").toLowerCase()),os=On(t=>t.charAt(0).toUpperCase()+t.slice(1)),Nr=On(t=>t?`on${os(t)}`:""),on=(t,e)=>!Object.is(t,e),Fn=(t,e)=>{for(let n=0;n<t.length;n++)t[n](e)},Bn=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},Mr=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Al=t=>{const e=ge(t)?Number(t):NaN;return isNaN(e)?t:e};let ss;const Ir=()=>ss||(ss=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Or(t){if(G(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],o=ge(r)?Tl(r):Or(r);if(o)for(const s in o)e[s]=o[s]}return e}else{if(ge(t))return t;if(fe(t))return t}}const Sl=/;(?![^(]*\))/g,Dl=/:([^]+)/,ql=/\/\*[^]*?\*\//g;function Tl(t){const e={};return t.replace(ql,"").split(Sl).forEach(n=>{if(n){const r=n.split(Dl);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function sn(t){let e="";if(ge(t))e=t;else if(G(t))for(let n=0;n<t.length;n++){const r=sn(t[n]);r&&(e+=r+" ")}else if(fe(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}const Rl=dt("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function cs(t){return!!t||t===""}const Pn=t=>ge(t)?t:t==null?"":G(t)||fe(t)&&(t.toString===ns||!X(t.toString))?JSON.stringify(t,is,2):String(t),is=(t,e)=>e&&e.__v_isRef?is(t,e.value):Ft(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:es(e)?{[`Set(${e.size})`]:[...e.values()]}:fe(e)&&!G(e)&&!rs(e)?String(e):e;let Pe;class Ll{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Pe,!e&&Pe&&(this.index=(Pe.scopes||(Pe.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=Pe;try{return Pe=this,e()}finally{Pe=n}}}on(){Pe=this}off(){Pe=this.parent}stop(e){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!e){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function Nl(t,e=Pe){e&&e.active&&e.effects.push(t)}function Ml(){return Pe}const Fr=t=>{const e=new Set(t);return e.w=0,e.n=0,e},ls=t=>(t.w&rt)>0,as=t=>(t.n&rt)>0,Il=({deps:t})=>{if(t.length)for(let e=0;e<t.length;e++)t[e].w|=rt},Ol=t=>{const{deps:e}=t;if(e.length){let n=0;for(let r=0;r<e.length;r++){const o=e[r];ls(o)&&!as(o)?o.delete(t):e[n++]=o,o.w&=~rt,o.n&=~rt}e.length=n}},Un=new WeakMap;let cn=0,rt=1;const Br=30;let Ue;const mt=Symbol(""),Pr=Symbol("");class Ur{constructor(e,n=null,r){this.fn=e,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Nl(this,r)}run(){if(!this.active)return this.fn();let e=Ue,n=ot;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=Ue,Ue=this,ot=!0,rt=1<<++cn,cn<=Br?Il(this):us(this),this.fn()}finally{cn<=Br&&Ol(this),rt=1<<--cn,Ue=this.parent,ot=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Ue===this?this.deferStop=!0:this.active&&(us(this),this.onStop&&this.onStop(),this.active=!1)}}function us(t){const{deps:e}=t;if(e.length){for(let n=0;n<e.length;n++)e[n].delete(t);e.length=0}}let ot=!0;const fs=[];function Pt(){fs.push(ot),ot=!1}function Ut(){const t=fs.pop();ot=t===void 0?!0:t}function De(t,e,n){if(ot&&Ue){let r=Un.get(t);r||Un.set(t,r=new Map);let o=r.get(n);o||r.set(n,o=Fr()),ps(o)}}function ps(t,e){let n=!1;cn<=Br?as(t)||(t.n|=rt,n=!ls(t)):n=!t.has(Ue),n&&(t.add(Ue),Ue.deps.push(t))}function Qe(t,e,n,r,o,s){const c=Un.get(t);if(!c)return;let i=[];if(e==="clear")i=[...c.values()];else if(n==="length"&&G(t)){const l=Number(r);c.forEach((a,u)=>{(u==="length"||u>=l)&&i.push(a)})}else switch(n!==void 0&&i.push(c.get(n)),e){case"add":G(t)?Lr(n)&&i.push(c.get("length")):(i.push(c.get(mt)),Ft(t)&&i.push(c.get(Pr)));break;case"delete":G(t)||(i.push(c.get(mt)),Ft(t)&&i.push(c.get(Pr)));break;case"set":Ft(t)&&i.push(c.get(mt));break}if(i.length===1)i[0]&&zr(i[0]);else{const l=[];for(const a of i)a&&l.push(...a);zr(Fr(l))}}function zr(t,e){const n=G(t)?t:[...t];for(const r of n)r.computed&&hs(r);for(const r of n)r.computed||hs(r)}function hs(t,e){(t!==Ue||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}function Fl(t,e){var n;return(n=Un.get(t))==null?void 0:n.get(e)}const Bl=dt("__proto__,__v_isRef,__isVue"),ds=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Rr)),Pl=$r(),Ul=$r(!1,!0),zl=$r(!0),gs=$l();function $l(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const r=se(this);for(let s=0,c=this.length;s<c;s++)De(r,"get",s+"");const o=r[e](...n);return o===-1||o===!1?r[e](...n.map(se)):o}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...n){Pt();const r=se(this)[e].apply(this,n);return Ut(),r}}),t}function Hl(t){const e=se(this);return De(e,"has",t),e.hasOwnProperty(t)}function $r(t=!1,e=!1){return function(r,o,s){if(o==="__v_isReactive")return!t;if(o==="__v_isReadonly")return t;if(o==="__v_isShallow")return e;if(o==="__v_raw"&&s===(t?e?sa:Es:e?ks:ws).get(r))return r;const c=G(r);if(!t){if(c&&oe(gs,o))return Reflect.get(gs,o,s);if(o==="hasOwnProperty")return Hl}const i=Reflect.get(r,o,s);return(Rr(o)?ds.has(o):Bl(o))||(t||De(r,"get",o),e)?i:ve(i)?c&&Lr(o)?i:i.value:fe(i)?t?Cs(i):jr(i):i}}const Vl=ms(),jl=ms(!0);function ms(t=!1){return function(n,r,o,s){let c=n[r];if($t(c)&&ve(c)&&!ve(o))return!1;if(!t&&(!Zn(o)&&!$t(o)&&(c=se(c),o=se(o)),!G(n)&&ve(c)&&!ve(o)))return c.value=o,!0;const i=G(n)&&Lr(r)?Number(r)<n.length:oe(n,r),l=Reflect.set(n,r,o,s);return n===se(s)&&(i?on(o,c)&&Qe(n,"set",r,o):Qe(n,"add",r,o)),l}}function Gl(t,e){const n=oe(t,e);t[e];const r=Reflect.deleteProperty(t,e);return r&&n&&Qe(t,"delete",e,void 0),r}function Zl(t,e){const n=Reflect.has(t,e);return(!Rr(e)||!ds.has(e))&&De(t,"has",e),n}function Kl(t){return De(t,"iterate",G(t)?"length":mt),Reflect.ownKeys(t)}const bs={get:Pl,set:Vl,deleteProperty:Gl,has:Zl,ownKeys:Kl},Wl={get:zl,set(t,e){return!0},deleteProperty(t,e){return!0}},Jl=de({},bs,{get:Ul,set:jl}),Hr=t=>t,zn=t=>Reflect.getPrototypeOf(t);function $n(t,e,n=!1,r=!1){t=t.__v_raw;const o=se(t),s=se(e);n||(e!==s&&De(o,"get",e),De(o,"get",s));const{has:c}=zn(o),i=r?Hr:n?Zr:ln;if(c.call(o,e))return i(t.get(e));if(c.call(o,s))return i(t.get(s));t!==o&&t.get(e)}function Hn(t,e=!1){const n=this.__v_raw,r=se(n),o=se(t);return e||(t!==o&&De(r,"has",t),De(r,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)}function Vn(t,e=!1){return t=t.__v_raw,!e&&De(se(t),"iterate",mt),Reflect.get(t,"size",t)}function _s(t){t=se(t);const e=se(this);return zn(e).has.call(e,t)||(e.add(t),Qe(e,"add",t,t)),this}function vs(t,e){e=se(e);const n=se(this),{has:r,get:o}=zn(n);let s=r.call(n,t);s||(t=se(t),s=r.call(n,t));const c=o.call(n,t);return n.set(t,e),s?on(e,c)&&Qe(n,"set",t,e):Qe(n,"add",t,e),this}function xs(t){const e=se(this),{has:n,get:r}=zn(e);let o=n.call(e,t);o||(t=se(t),o=n.call(e,t)),r&&r.call(e,t);const s=e.delete(t);return o&&Qe(e,"delete",t,void 0),s}function ys(){const t=se(this),e=t.size!==0,n=t.clear();return e&&Qe(t,"clear",void 0,void 0),n}function jn(t,e){return function(r,o){const s=this,c=s.__v_raw,i=se(c),l=e?Hr:t?Zr:ln;return!t&&De(i,"iterate",mt),c.forEach((a,u)=>r.call(o,l(a),l(u),s))}}function Gn(t,e,n){return function(...r){const o=this.__v_raw,s=se(o),c=Ft(s),i=t==="entries"||t===Symbol.iterator&&c,l=t==="keys"&&c,a=o[t](...r),u=n?Hr:e?Zr:ln;return!e&&De(s,"iterate",l?Pr:mt),{next(){const{value:f,done:p}=a.next();return p?{value:f,done:p}:{value:i?[u(f[0]),u(f[1])]:u(f),done:p}},[Symbol.iterator](){return this}}}}function st(t){return function(...e){return t==="delete"?!1:this}}function Yl(){const t={get(s){return $n(this,s)},get size(){return Vn(this)},has:Hn,add:_s,set:vs,delete:xs,clear:ys,forEach:jn(!1,!1)},e={get(s){return $n(this,s,!1,!0)},get size(){return Vn(this)},has:Hn,add:_s,set:vs,delete:xs,clear:ys,forEach:jn(!1,!0)},n={get(s){return $n(this,s,!0)},get size(){return Vn(this,!0)},has(s){return Hn.call(this,s,!0)},add:st("add"),set:st("set"),delete:st("delete"),clear:st("clear"),forEach:jn(!0,!1)},r={get(s){return $n(this,s,!0,!0)},get size(){return Vn(this,!0)},has(s){return Hn.call(this,s,!0)},add:st("add"),set:st("set"),delete:st("delete"),clear:st("clear"),forEach:jn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{t[s]=Gn(s,!1,!1),n[s]=Gn(s,!0,!1),e[s]=Gn(s,!1,!0),r[s]=Gn(s,!0,!0)}),[t,n,e,r]}const[Xl,Ql,ea,ta]=Yl();function Vr(t,e){const n=e?t?ta:ea:t?Ql:Xl;return(r,o,s)=>o==="__v_isReactive"?!t:o==="__v_isReadonly"?t:o==="__v_raw"?r:Reflect.get(oe(n,o)&&o in r?n:r,o,s)}const na={get:Vr(!1,!1)},ra={get:Vr(!1,!0)},oa={get:Vr(!0,!1)},ws=new WeakMap,ks=new WeakMap,Es=new WeakMap,sa=new WeakMap;function ca(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ia(t){return t.__v_skip||!Object.isExtensible(t)?0:ca(kl(t))}function jr(t){return $t(t)?t:Gr(t,!1,bs,na,ws)}function la(t){return Gr(t,!1,Jl,ra,ks)}function Cs(t){return Gr(t,!0,Wl,oa,Es)}function Gr(t,e,n,r,o){if(!fe(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const s=o.get(t);if(s)return s;const c=ia(t);if(c===0)return t;const i=new Proxy(t,c===2?r:n);return o.set(t,i),i}function zt(t){return $t(t)?zt(t.__v_raw):!!(t&&t.__v_isReactive)}function $t(t){return!!(t&&t.__v_isReadonly)}function Zn(t){return!!(t&&t.__v_isShallow)}function As(t){return zt(t)||$t(t)}function se(t){const e=t&&t.__v_raw;return e?se(e):t}function Ss(t){return Bn(t,"__v_skip",!0),t}const ln=t=>fe(t)?jr(t):t,Zr=t=>fe(t)?Cs(t):t;function Ds(t){ot&&Ue&&(t=se(t),ps(t.dep||(t.dep=Fr())))}function qs(t,e){t=se(t);const n=t.dep;n&&zr(n)}function ve(t){return!!(t&&t.__v_isRef===!0)}function Ht(t){return aa(t,!1)}function aa(t,e){return ve(t)?t:new ua(t,e)}class ua{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:se(e),this._value=n?e:ln(e)}get value(){return Ds(this),this._value}set value(e){const n=this.__v_isShallow||Zn(e)||$t(e);e=n?e:se(e),on(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:ln(e),qs(this))}}function me(t){return ve(t)?t.value:t}const fa={get:(t,e,n)=>me(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const o=t[e];return ve(o)&&!ve(n)?(o.value=n,!0):Reflect.set(t,e,n,r)}};function Ts(t){return zt(t)?t:new Proxy(t,fa)}function pa(t){const e=G(t)?new Array(t.length):{};for(const n in t)e[n]=da(t,n);return e}class ha{constructor(e,n,r){this._object=e,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return Fl(se(this._object),this._key)}}function da(t,e,n){const r=t[e];return ve(r)?r:new ha(t,e,n)}class ga{constructor(e,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Ur(e,()=>{this._dirty||(this._dirty=!0,qs(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const e=se(this);return Ds(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function ma(t,e,n=!1){let r,o;const s=X(t);return s?(r=t,o=Ve):(r=t.get,o=t.set),new ga(r,o,s||!o,n)}function Ug(t,...e){}function ct(t,e,n,r){let o;try{o=r?t(...r):t()}catch(s){Kn(s,e,n)}return o}function Ne(t,e,n,r){if(X(t)){const s=ct(t,e,n,r);return s&&ts(s)&&s.catch(c=>{Kn(c,e,n)}),s}const o=[];for(let s=0;s<t.length;s++)o.push(Ne(t[s],e,n,r));return o}function Kn(t,e,n,r=!0){const o=e?e.vnode:null;if(e){let s=e.parent;const c=e.proxy,i=n;for(;s;){const a=s.ec;if(a){for(let u=0;u<a.length;u++)if(a[u](t,c,i)===!1)return}s=s.parent}const l=e.appContext.config.errorHandler;if(l){ct(l,null,10,[t,c,i]);return}}ba(t,n,o,r)}function ba(t,e,n,r=!0){console.error(t)}let an=!1,Kr=!1;const we=[];let je=0;const Vt=[];let et=null,bt=0;const Rs=Promise.resolve();let Wr=null;function jt(t){const e=Wr||Rs;return t?e.then(this?t.bind(this):t):e}function _a(t){let e=je+1,n=we.length;for(;e<n;){const r=e+n>>>1;un(we[r])<t?e=r+1:n=r}return e}function Jr(t){(!we.length||!we.includes(t,an&&t.allowRecurse?je+1:je))&&(t.id==null?we.push(t):we.splice(_a(t.id),0,t),Ls())}function Ls(){!an&&!Kr&&(Kr=!0,Wr=Rs.then(Is))}function va(t){const e=we.indexOf(t);e>je&&we.splice(e,1)}function xa(t){G(t)?Vt.push(...t):(!et||!et.includes(t,t.allowRecurse?bt+1:bt))&&Vt.push(t),Ls()}function Ns(t,e=an?je+1:0){for(;e<we.length;e++){const n=we[e];n&&n.pre&&(we.splice(e,1),e--,n())}}function Ms(t){if(Vt.length){const e=[...new Set(Vt)];if(Vt.length=0,et){et.push(...e);return}for(et=e,et.sort((n,r)=>un(n)-un(r)),bt=0;bt<et.length;bt++)et[bt]();et=null,bt=0}}const un=t=>t.id==null?1/0:t.id,ya=(t,e)=>{const n=un(t)-un(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function Is(t){Kr=!1,an=!0,we.sort(ya);try{for(je=0;je<we.length;je++){const e=we[je];e&&e.active!==!1&&ct(e,null,14)}}finally{je=0,we.length=0,Ms(),an=!1,Wr=null,(we.length||Vt.length)&&Is()}}function wa(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||ue;let o=n;const s=e.startsWith("update:"),c=s&&e.slice(7);if(c&&c in r){const u=`${c==="modelValue"?"model":c}Modifiers`,{number:f,trim:p}=r[u]||ue;p&&(o=n.map(d=>ge(d)?d.trim():d)),f&&(o=n.map(Mr))}let i,l=r[i=Nr(e)]||r[i=Nr(Bt(e))];!l&&s&&(l=r[i=Nr(gt(e))]),l&&Ne(l,t,6,o);const a=r[i+"Once"];if(a){if(!t.emitted)t.emitted={};else if(t.emitted[i])return;t.emitted[i]=!0,Ne(a,t,6,o)}}function Os(t,e,n=!1){const r=e.emitsCache,o=r.get(t);if(o!==void 0)return o;const s=t.emits;let c={},i=!1;if(!X(t)){const l=a=>{const u=Os(a,e,!0);u&&(i=!0,de(c,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!s&&!i?(fe(t)&&r.set(t,null),null):(G(s)?s.forEach(l=>c[l]=null):de(c,s),fe(t)&&r.set(t,c),c)}function Wn(t,e){return!t||!Nn(e)?!1:(e=e.slice(2).replace(/Once$/,""),oe(t,e[0].toLowerCase()+e.slice(1))||oe(t,gt(e))||oe(t,e))}let ke=null,Fs=null;function Jn(t){const e=ke;return ke=t,Fs=t&&t.type.__scopeId||null,e}function it(t,e=ke,n){if(!e||t._n)return t;const r=(...o)=>{r._d&&pc(-1);const s=Jn(e);let c;try{c=t(...o)}finally{Jn(s),r._d&&pc(1)}return c};return r._n=!0,r._c=!0,r._d=!0,r}function zg(){}function Yr(t){const{type:e,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[c],slots:i,attrs:l,emit:a,render:u,renderCache:f,data:p,setupState:d,ctx:w,inheritAttrs:_}=t;let M,q;const C=Jn(t);try{if(n.shapeFlag&4){const A=o||r;M=Ge(u.call(A,A,f,s,d,p,w)),q=l}else{const A=e;M=Ge(A.length>1?A(s,{attrs:l,slots:i,emit:a}):A(s,null)),q=e.props?l:ka(l)}}catch(A){mn.length=0,Kn(A,t,1),M=he(Ie)}let N=M;if(q&&_!==!1){const A=Object.keys(q),{shapeFlag:V}=N;A.length&&V&7&&(c&&A.some(qr)&&(q=Ea(q,c)),N=lt(N,q))}return n.dirs&&(N=lt(N),N.dirs=N.dirs?N.dirs.concat(n.dirs):n.dirs),n.transition&&(N.transition=n.transition),M=N,Jn(C),M}const ka=t=>{let e;for(const n in t)(n==="class"||n==="style"||Nn(n))&&((e||(e={}))[n]=t[n]);return e},Ea=(t,e)=>{const n={};for(const r in t)(!qr(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function Ca(t,e,n){const{props:r,children:o,component:s}=t,{props:c,children:i,patchFlag:l}=e,a=s.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Bs(r,c,a):!!c;if(l&8){const u=e.dynamicProps;for(let f=0;f<u.length;f++){const p=u[f];if(c[p]!==r[p]&&!Wn(a,p))return!0}}}else return(o||i)&&(!i||!i.$stable)?!0:r===c?!1:r?c?Bs(r,c,a):!0:!!c;return!1}function Bs(t,e,n){const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(e[s]!==t[s]&&!Wn(n,s))return!0}return!1}function Aa({vnode:t,parent:e},n){for(;e&&e.subTree===t;)(t=e.vnode).el=n,e=e.parent}const Sa=t=>t.__isSuspense;function Da(t,e){e&&e.pendingBranch?G(t)?e.effects.push(...t):e.effects.push(t):xa(t)}const Yn={};function Xr(t,e,n){return Ps(t,e,n)}function Ps(t,e,{immediate:n,deep:r,flush:o,onTrack:s,onTrigger:c}=ue){var i;const l=Ml()===((i=xe)==null?void 0:i.scope)?xe:null;let a,u=!1,f=!1;if(ve(t)?(a=()=>t.value,u=Zn(t)):zt(t)?(a=()=>t,r=!0):G(t)?(f=!0,u=t.some(A=>zt(A)||Zn(A)),a=()=>t.map(A=>{if(ve(A))return A.value;if(zt(A))return _t(A);if(X(A))return ct(A,l,2)})):X(t)?e?a=()=>ct(t,l,2):a=()=>{if(!(l&&l.isUnmounted))return p&&p(),Ne(t,l,3,[d])}:a=Ve,e&&r){const A=a;a=()=>_t(A())}let p,d=A=>{p=C.onStop=()=>{ct(A,l,4)}},w;if(vn)if(d=Ve,e?n&&Ne(e,l,3,[a(),f?[]:void 0,d]):a(),o==="sync"){const A=yu();w=A.__watcherHandles||(A.__watcherHandles=[])}else return Ve;let _=f?new Array(t.length).fill(Yn):Yn;const M=()=>{if(C.active)if(e){const A=C.run();(r||u||(f?A.some((V,R)=>on(V,_[R])):on(A,_)))&&(p&&p(),Ne(e,l,3,[A,_===Yn?void 0:f&&_[0]===Yn?[]:_,d]),_=A)}else C.run()};M.allowRecurse=!!e;let q;o==="sync"?q=M:o==="post"?q=()=>qe(M,l&&l.suspense):(M.pre=!0,l&&(M.id=l.uid),q=()=>Jr(M));const C=new Ur(a,q);e?n?M():_=C.run():o==="post"?qe(C.run.bind(C),l&&l.suspense):C.run();const N=()=>{C.stop(),l&&l.scope&&Tr(l.scope.effects,C)};return w&&w.push(N),N}function qa(t,e,n){const r=this.proxy,o=ge(t)?t.includes(".")?Us(r,t):()=>r[t]:t.bind(r,r);let s;X(e)?s=e:(s=e.handler,n=e);const c=xe;Kt(this);const i=Ps(o,s.bind(r),n);return c?Kt(c):wt(),i}function Us(t,e){const n=e.split(".");return()=>{let r=t;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function _t(t,e){if(!fe(t)||t.__v_skip||(e=e||new Set,e.has(t)))return t;if(e.add(t),ve(t))_t(t.value,e);else if(G(t))for(let n=0;n<t.length;n++)_t(t[n],e);else if(es(t)||Ft(t))t.forEach(n=>{_t(n,e)});else if(rs(t))for(const n in t)_t(t[n],e);return t}function zs(t,e){const n=ke;if(n===null)return t;const r=cr(n)||n.proxy,o=t.dirs||(t.dirs=[]);for(let s=0;s<e.length;s++){let[c,i,l,a=ue]=e[s];c&&(X(c)&&(c={mounted:c,updated:c}),c.deep&&_t(i),o.push({dir:c,instance:r,value:i,oldValue:void 0,arg:l,modifiers:a}))}return t}function vt(t,e,n,r){const o=t.dirs,s=e&&e.dirs;for(let c=0;c<o.length;c++){const i=o[c];s&&(i.oldValue=s[c].value);let l=i.dir[r];l&&(Pt(),Ne(l,n,8,[t.el,i,t,e]),Ut())}}function Ta(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return pn(()=>{t.isMounted=!0}),no(()=>{t.isUnmounting=!0}),t}const Me=[Function,Array],$s={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Me,onEnter:Me,onAfterEnter:Me,onEnterCancelled:Me,onBeforeLeave:Me,onLeave:Me,onAfterLeave:Me,onLeaveCancelled:Me,onBeforeAppear:Me,onAppear:Me,onAfterAppear:Me,onAppearCancelled:Me},Ra={name:"BaseTransition",props:$s,setup(t,{slots:e}){const n=du(),r=Ta();let o;return()=>{const s=e.default&&js(e.default(),!0);if(!s||!s.length)return;let c=s[0];if(s.length>1){for(const _ of s)if(_.type!==Ie){c=_;break}}const i=se(t),{mode:l}=i;if(r.isLeaving)return eo(c);const a=Vs(c);if(!a)return eo(c);const u=Qr(a,i,r,n);to(a,u);const f=n.subTree,p=f&&Vs(f);let d=!1;const{getTransitionKey:w}=a.type;if(w){const _=w();o===void 0?o=_:_!==o&&(o=_,d=!0)}if(p&&p.type!==Ie&&(!yt(a,p)||d)){const _=Qr(p,i,r,n);if(to(p,_),l==="out-in")return r.isLeaving=!0,_.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},eo(c);l==="in-out"&&a.type!==Ie&&(_.delayLeave=(M,q,C)=>{const N=Hs(r,p);N[String(p.key)]=p,M._leaveCb=()=>{q(),M._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=C})}return c}}};function Hs(t,e){const{leavingVNodes:n}=t;let r=n.get(e.type);return r||(r=Object.create(null),n.set(e.type,r)),r}function Qr(t,e,n,r){const{appear:o,mode:s,persisted:c=!1,onBeforeEnter:i,onEnter:l,onAfterEnter:a,onEnterCancelled:u,onBeforeLeave:f,onLeave:p,onAfterLeave:d,onLeaveCancelled:w,onBeforeAppear:_,onAppear:M,onAfterAppear:q,onAppearCancelled:C}=e,N=String(t.key),A=Hs(n,t),V=(U,Q)=>{U&&Ne(U,r,9,Q)},R=(U,Q)=>{const z=Q[1];V(U,Q),G(U)?U.every(J=>J.length<=1)&&z():U.length<=1&&z()},W={mode:s,persisted:c,beforeEnter(U){let Q=i;if(!n.isMounted)if(o)Q=_||i;else return;U._leaveCb&&U._leaveCb(!0);const z=A[N];z&&yt(t,z)&&z.el._leaveCb&&z.el._leaveCb(),V(Q,[U])},enter(U){let Q=l,z=a,J=u;if(!n.isMounted)if(o)Q=M||l,z=q||a,J=C||u;else return;let P=!1;const re=U._enterCb=D=>{P||(P=!0,D?V(J,[U]):V(z,[U]),W.delayedLeave&&W.delayedLeave(),U._enterCb=void 0)};Q?R(Q,[U,re]):re()},leave(U,Q){const z=String(t.key);if(U._enterCb&&U._enterCb(!0),n.isUnmounting)return Q();V(f,[U]);let J=!1;const P=U._leaveCb=re=>{J||(J=!0,Q(),re?V(w,[U]):V(d,[U]),U._leaveCb=void 0,A[z]===t&&delete A[z])};A[z]=t,p?R(p,[U,P]):P()},clone(U){return Qr(U,e,n,r)}};return W}function eo(t){if(Xn(t))return t=lt(t),t.children=null,t}function Vs(t){return Xn(t)?t.children?t.children[0]:void 0:t}function to(t,e){t.shapeFlag&6&&t.component?to(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function js(t,e=!1,n){let r=[],o=0;for(let s=0;s<t.length;s++){let c=t[s];const i=n==null?c.key:String(n)+String(c.key!=null?c.key:s);c.type===Te?(c.patchFlag&128&&o++,r=r.concat(js(c.children,e,i))):(e||c.type!==Ie)&&r.push(i!=null?lt(c,{key:i}):c)}if(o>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}function ze(t,e){return X(t)?de({name:t.name},e,{setup:t}):t}const fn=t=>!!t.type.__asyncLoader,Xn=t=>t.type.__isKeepAlive;function La(t,e){Gs(t,"a",e)}function Na(t,e){Gs(t,"da",e)}function Gs(t,e,n=xe){const r=t.__wdc||(t.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(Qn(e,r,n),n){let o=n.parent;for(;o&&o.parent;)Xn(o.parent.vnode)&&Ma(r,e,n,o),o=o.parent}}function Ma(t,e,n,r){const o=Qn(e,t,r,!0);Zs(()=>{Tr(r[e],o)},n)}function Qn(t,e,n=xe,r=!1){if(n){const o=n[t]||(n[t]=[]),s=e.__weh||(e.__weh=(...c)=>{if(n.isUnmounted)return;Pt(),Kt(n);const i=Ne(e,n,t,c);return wt(),Ut(),i});return r?o.unshift(s):o.push(s),s}}const tt=t=>(e,n=xe)=>(!vn||t==="sp")&&Qn(t,(...r)=>e(...r),n),Ia=tt("bm"),pn=tt("m"),Oa=tt("bu"),Fa=tt("u"),no=tt("bum"),Zs=tt("um"),Ba=tt("sp"),Pa=tt("rtg"),Ua=tt("rtc");function za(t,e=xe){Qn("ec",t,e)}const $a=Symbol.for("v-ndc");function Ks(t,e,n,r){let o;const s=n&&n[r];if(G(t)||ge(t)){o=new Array(t.length);for(let c=0,i=t.length;c<i;c++)o[c]=e(t[c],c,void 0,s&&s[c])}else if(typeof t=="number"){o=new Array(t);for(let c=0;c<t;c++)o[c]=e(c+1,c,void 0,s&&s[c])}else if(fe(t))if(t[Symbol.iterator])o=Array.from(t,(c,i)=>e(c,i,void 0,s&&s[i]));else{const c=Object.keys(t);o=new Array(c.length);for(let i=0,l=c.length;i<l;i++){const a=c[i];o[i]=e(t[a],a,i,s&&s[i])}}else o=[];return n&&(n[r]=o),o}function hn(t,e,n={},r,o){if(ke.isCE||ke.parent&&fn(ke.parent)&&ke.parent.isCE)return e!=="default"&&(n.name=e),he("slot",n,r&&r());let s=t[e];s&&s._c&&(s._d=!1),ce();const c=s&&Ws(s(n)),i=Ae(Te,{key:n.key||c&&c.key||`_${e}`},c||(r?r():[]),c&&t._===1?64:-2);return!o&&i.scopeId&&(i.slotScopeIds=[i.scopeId+"-s"]),s&&s._c&&(s._d=!0),i}function Ws(t){return t.some(e=>rr(e)?!(e.type===Ie||e.type===Te&&!Ws(e.children)):!0)?t:null}const ro=t=>t?mc(t)?cr(t)||t.proxy:ro(t.parent):null,dn=de(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>ro(t.parent),$root:t=>ro(t.root),$emit:t=>t.emit,$options:t=>co(t),$forceUpdate:t=>t.f||(t.f=()=>Jr(t.update)),$nextTick:t=>t.n||(t.n=jt.bind(t.proxy)),$watch:t=>qa.bind(t)}),oo=(t,e)=>t!==ue&&!t.__isScriptSetup&&oe(t,e),Ha={get({_:t},e){const{ctx:n,setupState:r,data:o,props:s,accessCache:c,type:i,appContext:l}=t;let a;if(e[0]!=="$"){const d=c[e];if(d!==void 0)switch(d){case 1:return r[e];case 2:return o[e];case 4:return n[e];case 3:return s[e]}else{if(oo(r,e))return c[e]=1,r[e];if(o!==ue&&oe(o,e))return c[e]=2,o[e];if((a=t.propsOptions[0])&&oe(a,e))return c[e]=3,s[e];if(n!==ue&&oe(n,e))return c[e]=4,n[e];so&&(c[e]=0)}}const u=dn[e];let f,p;if(u)return e==="$attrs"&&De(t,"get",e),u(t);if((f=i.__cssModules)&&(f=f[e]))return f;if(n!==ue&&oe(n,e))return c[e]=4,n[e];if(p=l.config.globalProperties,oe(p,e))return p[e]},set({_:t},e,n){const{data:r,setupState:o,ctx:s}=t;return oo(o,e)?(o[e]=n,!0):r!==ue&&oe(r,e)?(r[e]=n,!0):oe(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(s[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:o,propsOptions:s}},c){let i;return!!n[c]||t!==ue&&oe(t,c)||oo(e,c)||(i=s[0])&&oe(i,c)||oe(r,c)||oe(dn,c)||oe(o.config.globalProperties,c)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:oe(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function Js(t){return G(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let so=!0;function Va(t){const e=co(t),n=t.proxy,r=t.ctx;so=!1,e.beforeCreate&&Ys(e.beforeCreate,t,"bc");const{data:o,computed:s,methods:c,watch:i,provide:l,inject:a,created:u,beforeMount:f,mounted:p,beforeUpdate:d,updated:w,activated:_,deactivated:M,beforeDestroy:q,beforeUnmount:C,destroyed:N,unmounted:A,render:V,renderTracked:R,renderTriggered:W,errorCaptured:U,serverPrefetch:Q,expose:z,inheritAttrs:J,components:P,directives:re,filters:D}=e;if(a&&ja(a,r,null),c)for(const v in c){const S=c[v];X(S)&&(r[v]=S.bind(n))}if(o){const v=o.call(n,n);fe(v)&&(t.data=jr(v))}if(so=!0,s)for(const v in s){const S=s[v],Z=X(S)?S.bind(n,n):X(S.get)?S.get.bind(n,n):Ve,te=!X(S)&&X(S.set)?S.set.bind(n):Ve,ie=kt({get:Z,set:te});Object.defineProperty(r,v,{enumerable:!0,configurable:!0,get:()=>ie.value,set:ae=>ie.value=ae})}if(i)for(const v in i)Xs(i[v],r,n,v);if(l){const v=X(l)?l.call(n):l;Reflect.ownKeys(v).forEach(S=>{Ya(S,v[S])})}u&&Ys(u,t,"c");function j(v,S){G(S)?S.forEach(Z=>v(Z.bind(n))):S&&v(S.bind(n))}if(j(Ia,f),j(pn,p),j(Oa,d),j(Fa,w),j(La,_),j(Na,M),j(za,U),j(Ua,R),j(Pa,W),j(no,C),j(Zs,A),j(Ba,Q),G(z))if(z.length){const v=t.exposed||(t.exposed={});z.forEach(S=>{Object.defineProperty(v,S,{get:()=>n[S],set:Z=>n[S]=Z})})}else t.exposed||(t.exposed={});V&&t.render===Ve&&(t.render=V),J!=null&&(t.inheritAttrs=J),P&&(t.components=P),re&&(t.directives=re)}function ja(t,e,n=Ve){G(t)&&(t=io(t));for(const r in t){const o=t[r];let s;fe(o)?"default"in o?s=Gt(o.from||r,o.default,!0):s=Gt(o.from||r):s=Gt(o),ve(s)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:c=>s.value=c}):e[r]=s}}function Ys(t,e,n){Ne(G(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function Xs(t,e,n,r){const o=r.includes(".")?Us(n,r):()=>n[r];if(ge(t)){const s=e[t];X(s)&&Xr(o,s)}else if(X(t))Xr(o,t.bind(n));else if(fe(t))if(G(t))t.forEach(s=>Xs(s,e,n,r));else{const s=X(t.handler)?t.handler.bind(n):e[t.handler];X(s)&&Xr(o,s,t)}}function co(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:o,optionsCache:s,config:{optionMergeStrategies:c}}=t.appContext,i=s.get(e);let l;return i?l=i:!o.length&&!n&&!r?l=e:(l={},o.length&&o.forEach(a=>er(l,a,c,!0)),er(l,e,c)),fe(e)&&s.set(e,l),l}function er(t,e,n,r=!1){const{mixins:o,extends:s}=e;s&&er(t,s,n,!0),o&&o.forEach(c=>er(t,c,n,!0));for(const c in e)if(!(r&&c==="expose")){const i=Ga[c]||n&&n[c];t[c]=i?i(t[c],e[c]):e[c]}return t}const Ga={data:Qs,props:ec,emits:ec,methods:gn,computed:gn,beforeCreate:Ce,created:Ce,beforeMount:Ce,mounted:Ce,beforeUpdate:Ce,updated:Ce,beforeDestroy:Ce,beforeUnmount:Ce,destroyed:Ce,unmounted:Ce,activated:Ce,deactivated:Ce,errorCaptured:Ce,serverPrefetch:Ce,components:gn,directives:gn,watch:Ka,provide:Qs,inject:Za};function Qs(t,e){return e?t?function(){return de(X(t)?t.call(this,this):t,X(e)?e.call(this,this):e)}:e:t}function Za(t,e){return gn(io(t),io(e))}function io(t){if(G(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Ce(t,e){return t?[...new Set([].concat(t,e))]:e}function gn(t,e){return t?de(Object.create(null),t,e):e}function ec(t,e){return t?G(t)&&G(e)?[...new Set([...t,...e])]:de(Object.create(null),Js(t),Js(e??{})):e}function Ka(t,e){if(!t)return e;if(!e)return t;const n=de(Object.create(null),t);for(const r in e)n[r]=Ce(t[r],e[r]);return n}function tc(){return{app:null,config:{isNativeTag:xl,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 Wa=0;function Ja(t,e){return function(r,o=null){X(r)||(r=de({},r)),o!=null&&!fe(o)&&(o=null);const s=tc(),c=new Set;let i=!1;const l=s.app={_uid:Wa++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:wu,get config(){return s.config},set config(a){},use(a,...u){return c.has(a)||(a&&X(a.install)?(c.add(a),a.install(l,...u)):X(a)&&(c.add(a),a(l,...u))),l},mixin(a){return s.mixins.includes(a)||s.mixins.push(a),l},component(a,u){return u?(s.components[a]=u,l):s.components[a]},directive(a,u){return u?(s.directives[a]=u,l):s.directives[a]},mount(a,u,f){if(!i){const p=he(r,o);return p.appContext=s,u&&e?e(p,a):t(p,a,f),i=!0,l._container=a,a.__vue_app__=l,cr(p.component)||p.component.proxy}},unmount(){i&&(t(null,l._container),delete l._container.__vue_app__)},provide(a,u){return s.provides[a]=u,l},runWithContext(a){tr=l;try{return a()}finally{tr=null}}};return l}}let tr=null;function Ya(t,e){if(xe){let n=xe.provides;const r=xe.parent&&xe.parent.provides;r===n&&(n=xe.provides=Object.create(r)),n[t]=e}}function Gt(t,e,n=!1){const r=xe||ke;if(r||tr){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:tr._context.provides;if(o&&t in o)return o[t];if(arguments.length>1)return n&&X(e)?e.call(r&&r.proxy):e}}function Xa(t,e,n,r=!1){const o={},s={};Bn(s,or,1),t.propsDefaults=Object.create(null),nc(t,e,o,s);for(const c in t.propsOptions[0])c in o||(o[c]=void 0);n?t.props=r?o:la(o):t.type.props?t.props=o:t.props=s,t.attrs=s}function Qa(t,e,n,r){const{props:o,attrs:s,vnode:{patchFlag:c}}=t,i=se(o),[l]=t.propsOptions;let a=!1;if((r||c>0)&&!(c&16)){if(c&8){const u=t.vnode.dynamicProps;for(let f=0;f<u.length;f++){let p=u[f];if(Wn(t.emitsOptions,p))continue;const d=e[p];if(l)if(oe(s,p))d!==s[p]&&(s[p]=d,a=!0);else{const w=Bt(p);o[w]=lo(l,i,w,d,t,!1)}else d!==s[p]&&(s[p]=d,a=!0)}}}else{nc(t,e,o,s)&&(a=!0);let u;for(const f in i)(!e||!oe(e,f)&&((u=gt(f))===f||!oe(e,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=lo(l,i,f,void 0,t,!0)):delete o[f]);if(s!==i)for(const f in s)(!e||!oe(e,f))&&(delete s[f],a=!0)}a&&Qe(t,"set","$attrs")}function nc(t,e,n,r){const[o,s]=t.propsOptions;let c=!1,i;if(e)for(let l in e){if(In(l))continue;const a=e[l];let u;o&&oe(o,u=Bt(l))?!s||!s.includes(u)?n[u]=a:(i||(i={}))[u]=a:Wn(t.emitsOptions,l)||(!(l in r)||a!==r[l])&&(r[l]=a,c=!0)}if(s){const l=se(n),a=i||ue;for(let u=0;u<s.length;u++){const f=s[u];n[f]=lo(o,l,f,a[f],t,!oe(a,f))}}return c}function lo(t,e,n,r,o,s){const c=t[n];if(c!=null){const i=oe(c,"default");if(i&&r===void 0){const l=c.default;if(c.type!==Function&&!c.skipFactory&&X(l)){const{propsDefaults:a}=o;n in a?r=a[n]:(Kt(o),r=a[n]=l.call(null,e),wt())}else r=l}c[0]&&(s&&!i?r=!1:c[1]&&(r===""||r===gt(n))&&(r=!0))}return r}function rc(t,e,n=!1){const r=e.propsCache,o=r.get(t);if(o)return o;const s=t.props,c={},i=[];let l=!1;if(!X(t)){const u=f=>{l=!0;const[p,d]=rc(f,e,!0);de(c,p),d&&i.push(...d)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!s&&!l)return fe(t)&&r.set(t,Ot),Ot;if(G(s))for(let u=0;u<s.length;u++){const f=Bt(s[u]);oc(f)&&(c[f]=ue)}else if(s)for(const u in s){const f=Bt(u);if(oc(f)){const p=s[u],d=c[f]=G(p)||X(p)?{type:p}:de({},p);if(d){const w=ic(Boolean,d.type),_=ic(String,d.type);d[0]=w>-1,d[1]=_<0||w<_,(w>-1||oe(d,"default"))&&i.push(f)}}}const a=[c,i];return fe(t)&&r.set(t,a),a}function oc(t){return t[0]!=="$"}function sc(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function cc(t,e){return sc(t)===sc(e)}function ic(t,e){return G(e)?e.findIndex(n=>cc(n,t)):X(e)&&cc(e,t)?0:-1}const lc=t=>t[0]==="_"||t==="$stable",ao=t=>G(t)?t.map(Ge):[Ge(t)],eu=(t,e,n)=>{if(e._n)return e;const r=it((...o)=>ao(e(...o)),n);return r._c=!1,r},ac=(t,e,n)=>{const r=t._ctx;for(const o in t){if(lc(o))continue;const s=t[o];if(X(s))e[o]=eu(o,s,r);else if(s!=null){const c=ao(s);e[o]=()=>c}}},uc=(t,e)=>{const n=ao(e);t.slots.default=()=>n},tu=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=se(e),Bn(e,"_",n)):ac(e,t.slots={})}else t.slots={},e&&uc(t,e);Bn(t.slots,or,1)},nu=(t,e,n)=>{const{vnode:r,slots:o}=t;let s=!0,c=ue;if(r.shapeFlag&32){const i=e._;i?n&&i===1?s=!1:(de(o,e),!n&&i===1&&delete o._):(s=!e.$stable,ac(e,o)),c=e}else e&&(uc(t,e),c={default:1});if(s)for(const i in o)!lc(i)&&!(i in c)&&delete o[i]};function uo(t,e,n,r,o=!1){if(G(t)){t.forEach((p,d)=>uo(p,e&&(G(e)?e[d]:e),n,r,o));return}if(fn(r)&&!o)return;const s=r.shapeFlag&4?cr(r.component)||r.component.proxy:r.el,c=o?null:s,{i,r:l}=t,a=e&&e.r,u=i.refs===ue?i.refs={}:i.refs,f=i.setupState;if(a!=null&&a!==l&&(ge(a)?(u[a]=null,oe(f,a)&&(f[a]=null)):ve(a)&&(a.value=null)),X(l))ct(l,i,12,[c,u]);else{const p=ge(l),d=ve(l);if(p||d){const w=()=>{if(t.f){const _=p?oe(f,l)?f[l]:u[l]:l.value;o?G(_)&&Tr(_,s):G(_)?_.includes(s)||_.push(s):p?(u[l]=[s],oe(f,l)&&(f[l]=u[l])):(l.value=[s],t.k&&(u[t.k]=l.value))}else p?(u[l]=c,oe(f,l)&&(f[l]=c)):d&&(l.value=c,t.k&&(u[t.k]=c))};c?(w.id=-1,qe(w,n)):w()}}}const qe=Da;function ru(t){return ou(t)}function ou(t,e){const n=Ir();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:c,createText:i,createComment:l,setText:a,setElementText:u,parentNode:f,nextSibling:p,setScopeId:d=Ve,insertStaticContent:w}=t,_=(h,g,b,k=null,x=null,L=null,F=!1,m=null,I=!!g.dynamicChildren)=>{if(h===g)return;h&&!yt(h,g)&&(k=Nt(h),ae(h,x,L,!0),h=null),g.patchFlag===-2&&(I=!1,g.dynamicChildren=null);const{type:y,ref:O,shapeFlag:B}=g;switch(y){case nr:M(h,g,b,k);break;case Ie:q(h,g,b,k);break;case fo:h==null&&C(g,b,k,F);break;case Te:P(h,g,b,k,x,L,F,m,I);break;default:B&1?V(h,g,b,k,x,L,F,m,I):B&6?re(h,g,b,k,x,L,F,m,I):(B&64||B&128)&&y.process(h,g,b,k,x,L,F,m,I,nt)}O!=null&&x&&uo(O,h&&h.ref,L,g||h,!g)},M=(h,g,b,k)=>{if(h==null)r(g.el=i(g.children),b,k);else{const x=g.el=h.el;g.children!==h.children&&a(x,g.children)}},q=(h,g,b,k)=>{h==null?r(g.el=l(g.children||""),b,k):g.el=h.el},C=(h,g,b,k)=>{[h.el,h.anchor]=w(h.children,g,b,k,h.el,h.anchor)},N=({el:h,anchor:g},b,k)=>{let x;for(;h&&h!==g;)x=p(h),r(h,b,k),h=x;r(g,b,k)},A=({el:h,anchor:g})=>{let b;for(;h&&h!==g;)b=p(h),o(h),h=b;o(g)},V=(h,g,b,k,x,L,F,m,I)=>{F=F||g.type==="svg",h==null?R(g,b,k,x,L,F,m,I):Q(h,g,x,L,F,m,I)},R=(h,g,b,k,x,L,F,m)=>{let I,y;const{type:O,props:B,shapeFlag:$,transition:K,dirs:ee}=h;if(I=h.el=c(h.type,L,B&&B.is,B),$&8?u(I,h.children):$&16&&U(h.children,I,null,k,x,L&&O!=="foreignObject",F,m),ee&&vt(h,null,k,"created"),W(I,h,h.scopeId,F,k),B){for(const T in B)T!=="value"&&!In(T)&&s(I,T,null,B[T],L,h.children,k,x,be);"value"in B&&s(I,"value",null,B.value),(y=B.onVnodeBeforeMount)&&Ze(y,k,h)}ee&&vt(h,null,k,"beforeMount");const E=(!x||x&&!x.pendingBranch)&&K&&!K.persisted;E&&K.beforeEnter(I),r(I,g,b),((y=B&&B.onVnodeMounted)||E||ee)&&qe(()=>{y&&Ze(y,k,h),E&&K.enter(I),ee&&vt(h,null,k,"mounted")},x)},W=(h,g,b,k,x)=>{if(b&&d(h,b),k)for(let L=0;L<k.length;L++)d(h,k[L]);if(x){let L=x.subTree;if(g===L){const F=x.vnode;W(h,F,F.scopeId,F.slotScopeIds,x.parent)}}},U=(h,g,b,k,x,L,F,m,I=0)=>{for(let y=I;y<h.length;y++){const O=h[y]=m?at(h[y]):Ge(h[y]);_(null,O,g,b,k,x,L,F,m)}},Q=(h,g,b,k,x,L,F)=>{const m=g.el=h.el;let{patchFlag:I,dynamicChildren:y,dirs:O}=g;I|=h.patchFlag&16;const B=h.props||ue,$=g.props||ue;let K;b&&xt(b,!1),(K=$.onVnodeBeforeUpdate)&&Ze(K,b,g,h),O&&vt(g,h,b,"beforeUpdate"),b&&xt(b,!0);const ee=x&&g.type!=="foreignObject";if(y?z(h.dynamicChildren,y,m,b,k,ee,L):F||S(h,g,m,null,b,k,ee,L,!1),I>0){if(I&16)J(m,g,B,$,b,k,x);else if(I&2&&B.class!==$.class&&s(m,"class",null,$.class,x),I&4&&s(m,"style",B.style,$.style,x),I&8){const E=g.dynamicProps;for(let T=0;T<E.length;T++){const H=E[T],Y=B[H],pe=$[H];(pe!==Y||H==="value")&&s(m,H,Y,pe,x,h.children,b,k,be)}}I&1&&h.children!==g.children&&u(m,g.children)}else!F&&y==null&&J(m,g,B,$,b,k,x);((K=$.onVnodeUpdated)||O)&&qe(()=>{K&&Ze(K,b,g,h),O&&vt(g,h,b,"updated")},k)},z=(h,g,b,k,x,L,F)=>{for(let m=0;m<g.length;m++){const I=h[m],y=g[m],O=I.el&&(I.type===Te||!yt(I,y)||I.shapeFlag&70)?f(I.el):b;_(I,y,O,null,k,x,L,F,!0)}},J=(h,g,b,k,x,L,F)=>{if(b!==k){if(b!==ue)for(const m in b)!In(m)&&!(m in k)&&s(h,m,b[m],null,F,g.children,x,L,be);for(const m in k){if(In(m))continue;const I=k[m],y=b[m];I!==y&&m!=="value"&&s(h,m,y,I,F,g.children,x,L,be)}"value"in k&&s(h,"value",b.value,k.value)}},P=(h,g,b,k,x,L,F,m,I)=>{const y=g.el=h?h.el:i(""),O=g.anchor=h?h.anchor:i("");let{patchFlag:B,dynamicChildren:$,slotScopeIds:K}=g;K&&(m=m?m.concat(K):K),h==null?(r(y,b,k),r(O,b,k),U(g.children,b,O,x,L,F,m,I)):B>0&&B&64&&$&&h.dynamicChildren?(z(h.dynamicChildren,$,b,x,L,F,m),(g.key!=null||x&&g===x.subTree)&&fc(h,g,!0)):S(h,g,b,O,x,L,F,m,I)},re=(h,g,b,k,x,L,F,m,I)=>{g.slotScopeIds=m,h==null?g.shapeFlag&512?x.ctx.activate(g,b,k,F,I):D(g,b,k,x,L,F,I):ne(h,g,I)},D=(h,g,b,k,x,L,F)=>{const m=h.component=hu(h,k,x);if(Xn(h)&&(m.ctx.renderer=nt),gu(m),m.asyncDep){if(x&&x.registerDep(m,j),!h.el){const I=m.subTree=he(Ie);q(null,I,g,b)}return}j(m,h,g,b,x,L,F)},ne=(h,g,b)=>{const k=g.component=h.component;if(Ca(h,g,b))if(k.asyncDep&&!k.asyncResolved){v(k,g,b);return}else k.next=g,va(k.update),k.update();else g.el=h.el,k.vnode=g},j=(h,g,b,k,x,L,F)=>{const m=()=>{if(h.isMounted){let{next:O,bu:B,u:$,parent:K,vnode:ee}=h,E=O,T;xt(h,!1),O?(O.el=ee.el,v(h,O,F)):O=ee,B&&Fn(B),(T=O.props&&O.props.onVnodeBeforeUpdate)&&Ze(T,K,O,ee),xt(h,!0);const H=Yr(h),Y=h.subTree;h.subTree=H,_(Y,H,f(Y.el),Nt(Y),h,x,L),O.el=H.el,E===null&&Aa(h,H.el),$&&qe($,x),(T=O.props&&O.props.onVnodeUpdated)&&qe(()=>Ze(T,K,O,ee),x)}else{let O;const{el:B,props:$}=g,{bm:K,m:ee,parent:E}=h,T=fn(g);if(xt(h,!1),K&&Fn(K),!T&&(O=$&&$.onVnodeBeforeMount)&&Ze(O,E,g),xt(h,!0),B&&Ln){const H=()=>{h.subTree=Yr(h),Ln(B,h.subTree,h,x,null)};T?g.type.__asyncLoader().then(()=>!h.isUnmounted&&H()):H()}else{const H=h.subTree=Yr(h);_(null,H,b,k,h,x,L),g.el=H.el}if(ee&&qe(ee,x),!T&&(O=$&&$.onVnodeMounted)){const H=g;qe(()=>Ze(O,E,H),x)}(g.shapeFlag&256||E&&fn(E.vnode)&&E.vnode.shapeFlag&256)&&h.a&&qe(h.a,x),h.isMounted=!0,g=b=k=null}},I=h.effect=new Ur(m,()=>Jr(y),h.scope),y=h.update=()=>I.run();y.id=h.uid,xt(h,!0),y()},v=(h,g,b)=>{g.component=h;const k=h.vnode.props;h.vnode=g,h.next=null,Qa(h,g.props,k,b),nu(h,g.children,b),Pt(),Ns(),Ut()},S=(h,g,b,k,x,L,F,m,I=!1)=>{const y=h&&h.children,O=h?h.shapeFlag:0,B=g.children,{patchFlag:$,shapeFlag:K}=g;if($>0){if($&128){te(y,B,b,k,x,L,F,m,I);return}else if($&256){Z(y,B,b,k,x,L,F,m,I);return}}K&8?(O&16&&be(y,x,L),B!==y&&u(b,B)):O&16?K&16?te(y,B,b,k,x,L,F,m,I):be(y,x,L,!0):(O&8&&u(b,""),K&16&&U(B,b,k,x,L,F,m,I))},Z=(h,g,b,k,x,L,F,m,I)=>{h=h||Ot,g=g||Ot;const y=h.length,O=g.length,B=Math.min(y,O);let $;for($=0;$<B;$++){const K=g[$]=I?at(g[$]):Ge(g[$]);_(h[$],K,b,null,x,L,F,m,I)}y>O?be(h,x,L,!0,!1,B):U(g,b,k,x,L,F,m,I,B)},te=(h,g,b,k,x,L,F,m,I)=>{let y=0;const O=g.length;let B=h.length-1,$=O-1;for(;y<=B&&y<=$;){const K=h[y],ee=g[y]=I?at(g[y]):Ge(g[y]);if(yt(K,ee))_(K,ee,b,null,x,L,F,m,I);else break;y++}for(;y<=B&&y<=$;){const K=h[B],ee=g[$]=I?at(g[$]):Ge(g[$]);if(yt(K,ee))_(K,ee,b,null,x,L,F,m,I);else break;B--,$--}if(y>B){if(y<=$){const K=$+1,ee=K<O?g[K].el:k;for(;y<=$;)_(null,g[y]=I?at(g[y]):Ge(g[y]),b,ee,x,L,F,m,I),y++}}else if(y>$)for(;y<=B;)ae(h[y],x,L,!0),y++;else{const K=y,ee=y,E=new Map;for(y=ee;y<=$;y++){const Le=g[y]=I?at(g[y]):Ge(g[y]);Le.key!=null&&E.set(Le.key,y)}let T,H=0;const Y=$-ee+1;let pe=!1,Be=0;const Mt=new Array(Y);for(y=0;y<Y;y++)Mt[y]=0;for(y=K;y<=B;y++){const Le=h[y];if(H>=Y){ae(Le,x,L,!0);continue}let Xe;if(Le.key!=null)Xe=E.get(Le.key);else for(T=ee;T<=$;T++)if(Mt[T-ee]===0&&yt(Le,g[T])){Xe=T;break}Xe===void 0?ae(Le,x,L,!0):(Mt[Xe-ee]=y+1,Xe>=Be?Be=Xe:pe=!0,_(Le,g[Xe],b,null,x,L,F,m,I),H++)}const Dr=pe?su(Mt):Ot;for(T=Dr.length-1,y=Y-1;y>=0;y--){const Le=ee+y,Xe=g[Le],vl=Le+1<O?g[Le+1].el:k;Mt[y]===0?_(null,Xe,b,vl,x,L,F,m,I):pe&&(T<0||y!==Dr[T]?ie(Xe,b,vl,2):T--)}}},ie=(h,g,b,k,x=null)=>{const{el:L,type:F,transition:m,children:I,shapeFlag:y}=h;if(y&6){ie(h.component.subTree,g,b,k);return}if(y&128){h.suspense.move(g,b,k);return}if(y&64){F.move(h,g,b,nt);return}if(F===Te){r(L,g,b);for(let B=0;B<I.length;B++)ie(I[B],g,b,k);r(h.anchor,g,b);return}if(F===fo){N(h,g,b);return}if(k!==2&&y&1&&m)if(k===0)m.beforeEnter(L),r(L,g,b),qe(()=>m.enter(L),x);else{const{leave:B,delayLeave:$,afterLeave:K}=m,ee=()=>r(L,g,b),E=()=>{B(L,()=>{ee(),K&&K()})};$?$(L,ee,E):E()}else r(L,g,b)},ae=(h,g,b,k=!1,x=!1)=>{const{type:L,props:F,ref:m,children:I,dynamicChildren:y,shapeFlag:O,patchFlag:B,dirs:$}=h;if(m!=null&&uo(m,null,b,h,!0),O&256){g.ctx.deactivate(h);return}const K=O&1&&$,ee=!fn(h);let E;if(ee&&(E=F&&F.onVnodeBeforeUnmount)&&Ze(E,g,h),O&6)Se(h.component,b,k);else{if(O&128){h.suspense.unmount(b,k);return}K&&vt(h,null,g,"beforeUnmount"),O&64?h.type.remove(h,g,b,x,nt,k):y&&(L!==Te||B>0&&B&64)?be(y,g,b,!1,!0):(L===Te&&B&384||!x&&O&16)&&be(I,g,b),k&&Re(h)}(ee&&(E=F&&F.onVnodeUnmounted)||K)&&qe(()=>{E&&Ze(E,g,h),K&&vt(h,null,g,"unmounted")},b)},Re=h=>{const{type:g,el:b,anchor:k,transition:x}=h;if(g===Te){rn(b,k);return}if(g===fo){A(h);return}const L=()=>{o(b),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(h.shapeFlag&1&&x&&!x.persisted){const{leave:F,delayLeave:m}=x,I=()=>F(b,L);m?m(h.el,L,I):I()}else L()},rn=(h,g)=>{let b;for(;h!==g;)b=p(h),o(h),h=b;o(g)},Se=(h,g,b)=>{const{bum:k,scope:x,update:L,subTree:F,um:m}=h;k&&Fn(k),x.stop(),L&&(L.active=!1,ae(F,h,g,b)),m&&qe(m,g),qe(()=>{h.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},be=(h,g,b,k=!1,x=!1,L=0)=>{for(let F=L;F<h.length;F++)ae(h[F],g,b,k,x)},Nt=h=>h.shapeFlag&6?Nt(h.component.subTree):h.shapeFlag&128?h.suspense.next():p(h.anchor||h.el),Tn=(h,g,b)=>{h==null?g._vnode&&ae(g._vnode,null,null,!0):_(g._vnode||null,h,g,null,null,null,b),Ns(),Ms(),g._vnode=h},nt={p:_,um:ae,m:ie,r:Re,mt:D,mc:U,pc:S,pbc:z,n:Nt,o:t};let Rn,Ln;return e&&([Rn,Ln]=e(nt)),{render:Tn,hydrate:Rn,createApp:Ja(Tn,Rn)}}function xt({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function fc(t,e,n=!1){const r=t.children,o=e.children;if(G(r)&&G(o))for(let s=0;s<r.length;s++){const c=r[s];let i=o[s];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=o[s]=at(o[s]),i.el=c.el),n||fc(c,i)),i.type===nr&&(i.el=c.el)}}function su(t){const e=t.slice(),n=[0];let r,o,s,c,i;const l=t.length;for(r=0;r<l;r++){const a=t[r];if(a!==0){if(o=n[n.length-1],t[o]<a){e[r]=o,n.push(r);continue}for(s=0,c=n.length-1;s<c;)i=s+c>>1,t[n[i]]<a?s=i+1:c=i;a<t[n[s]]&&(s>0&&(e[r]=n[s-1]),n[s]=r)}}for(s=n.length,c=n[s-1];s-- >0;)n[s]=c,c=e[c];return n}const cu=t=>t.__isTeleport,Te=Symbol.for("v-fgt"),nr=Symbol.for("v-txt"),Ie=Symbol.for("v-cmt"),fo=Symbol.for("v-stc"),mn=[];let $e=null;function ce(t=!1){mn.push($e=t?null:[])}function iu(){mn.pop(),$e=mn[mn.length-1]||null}let bn=1;function pc(t){bn+=t}function hc(t){return t.dynamicChildren=bn>0?$e||Ot:null,iu(),bn>0&&$e&&$e.push(t),t}function _e(t,e,n,r,o,s){return hc(Ee(t,e,n,r,o,s,!0))}function Ae(t,e,n,r,o){return hc(he(t,e,n,r,o,!0))}function rr(t){return t?t.__v_isVNode===!0:!1}function yt(t,e){return t.type===e.type&&t.key===e.key}const or="__vInternal",dc=({key:t})=>t??null,sr=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?ge(t)||ve(t)||X(t)?{i:ke,r:t,k:e,f:!!n}:t:null);function Ee(t,e=null,n=null,r=0,o=null,s=t===Te?0:1,c=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&dc(e),ref:e&&sr(e),scopeId:Fs,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:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:ke};return i?(ho(l,n),s&128&&t.normalize(l)):n&&(l.shapeFlag|=ge(n)?8:16),bn>0&&!c&&$e&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&$e.push(l),l}const he=lu;function lu(t,e=null,n=null,r=0,o=null,s=!1){if((!t||t===$a)&&(t=Ie),rr(t)){const i=lt(t,e,!0);return n&&ho(i,n),bn>0&&!s&&$e&&(i.shapeFlag&6?$e[$e.indexOf(t)]=i:$e.push(i)),i.patchFlag|=-2,i}if(vu(t)&&(t=t.__vccOpts),e){e=au(e);let{class:i,style:l}=e;i&&!ge(i)&&(e.class=sn(i)),fe(l)&&(As(l)&&!G(l)&&(l=de({},l)),e.style=Or(l))}const c=ge(t)?1:Sa(t)?128:cu(t)?64:fe(t)?4:X(t)?2:0;return Ee(t,e,n,r,o,c,s,!0)}function au(t){return t?As(t)||or in t?de({},t):t:null}function lt(t,e,n=!1){const{props:r,ref:o,patchFlag:s,children:c}=t,i=e?uu(r||{},e):r;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:i,key:i&&dc(i),ref:e&&e.ref?n&&o?G(o)?o.concat(sr(e)):[o,sr(e)]:sr(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:c,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Te?s===-1?16:s|16:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&lt(t.ssContent),ssFallback:t.ssFallback&&lt(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function po(t=" ",e=0){return he(nr,null,t,e)}function _n(t="",e=!1){return e?(ce(),Ae(Ie,null,t)):he(Ie,null,t)}function Ge(t){return t==null||typeof t=="boolean"?he(Ie):G(t)?he(Te,null,t.slice()):typeof t=="object"?at(t):he(nr,null,String(t))}function at(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:lt(t)}function ho(t,e){let n=0;const{shapeFlag:r}=t;if(e==null)e=null;else if(G(e))n=16;else if(typeof e=="object")if(r&65){const o=e.default;o&&(o._c&&(o._d=!1),ho(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=e._;!o&&!(or in e)?e._ctx=ke:o===3&&ke&&(ke.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else X(e)?(e={default:e,_ctx:ke},n=32):(e=String(e),r&64?(n=16,e=[po(e)]):n=8);t.children=e,t.shapeFlag|=n}function uu(...t){const e={};for(let n=0;n<t.length;n++){const r=t[n];for(const o in r)if(o==="class")e.class!==r.class&&(e.class=sn([e.class,r.class]));else if(o==="style")e.style=Or([e.style,r.style]);else if(Nn(o)){const s=e[o],c=r[o];c&&s!==c&&!(G(s)&&s.includes(c))&&(e[o]=s?[].concat(s,c):c)}else o!==""&&(e[o]=r[o])}return e}function Ze(t,e,n,r=null){Ne(t,e,7,[n,r])}const fu=tc();let pu=0;function hu(t,e,n){const r=t.type,o=(e?e.appContext:t.appContext)||fu,s={uid:pu++,vnode:t,type:r,parent:e,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Ll(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:rc(r,o),emitsOptions:Os(r,o),emit:null,emitted:null,propsDefaults:ue,inheritAttrs:r.inheritAttrs,ctx:ue,data:ue,props:ue,attrs:ue,slots:ue,refs:ue,setupState:ue,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=e?e.root:s,s.emit=wa.bind(null,s),t.ce&&t.ce(s),s}let xe=null;const du=()=>xe||ke;let go,Zt,gc="__VUE_INSTANCE_SETTERS__";(Zt=Ir()[gc])||(Zt=Ir()[gc]=[]),Zt.push(t=>xe=t),go=t=>{Zt.length>1?Zt.forEach(e=>e(t)):Zt[0](t)};const Kt=t=>{go(t),t.scope.on()},wt=()=>{xe&&xe.scope.off(),go(null)};function mc(t){return t.vnode.shapeFlag&4}let vn=!1;function gu(t,e=!1){vn=e;const{props:n,children:r}=t.vnode,o=mc(t);Xa(t,n,o,e),tu(t,r);const s=o?mu(t,e):void 0;return vn=!1,s}function mu(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=Ss(new Proxy(t.ctx,Ha));const{setup:r}=n;if(r){const o=t.setupContext=r.length>1?_u(t):null;Kt(t),Pt();const s=ct(r,t,0,[t.props,o]);if(Ut(),wt(),ts(s)){if(s.then(wt,wt),e)return s.then(c=>{bc(t,c,e)}).catch(c=>{Kn(c,t,0)});t.asyncDep=s}else bc(t,s,e)}else vc(t,e)}function bc(t,e,n){X(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:fe(e)&&(t.setupState=Ts(e)),vc(t,n)}let _c;function vc(t,e,n){const r=t.type;if(!t.render){if(!e&&_c&&!r.render){const o=r.template||co(t).template;if(o){const{isCustomElement:s,compilerOptions:c}=t.appContext.config,{delimiters:i,compilerOptions:l}=r,a=de(de({isCustomElement:s,delimiters:i},c),l);r.render=_c(o,a)}}t.render=r.render||Ve}Kt(t),Pt(),Va(t),Ut(),wt()}function bu(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(e,n){return De(t,"get","$attrs"),e[n]}}))}function _u(t){const e=n=>{t.exposed=n||{}};return{get attrs(){return bu(t)},slots:t.slots,emit:t.emit,expose:e}}function cr(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Ts(Ss(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in dn)return dn[n](t)},has(e,n){retur