mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
6 lines
79 KiB
JavaScript
6 lines
79 KiB
JavaScript
function is(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r<s.length;r++)n[s[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const Xo="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Zo=is(Xo);function Tr(e){return!!e||e===""}function ls(e){if(j(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ae(s)?ti(s):ls(s);if(r)for(const o in r)t[o]=r[o]}return t}else{if(ae(e))return e;if(de(e))return e}}const Go=/;(?![^(]*\))/g,ei=/:(.+)/;function ti(e){const t={};return e.split(Go).forEach(n=>{if(n){const s=n.split(ei);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function cs(e){let t="";if(ae(e))t=e;else if(j(e))for(let n=0;n<e.length;n++){const s=cs(e[n]);s&&(t+=s+" ")}else if(de(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Eu=e=>ae(e)?e:e==null?"":j(e)||de(e)&&(e.toString===Mr||!U(e.toString))?JSON.stringify(e,Sr,2):String(e),Sr=(e,t)=>t&&t.__v_isRef?Sr(e,t.value):Ct(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:Or(t)?{[`Set(${t.size})`]:[...t.values()]}:de(t)&&!j(t)&&!Fr(t)?String(t):t,ne={},Et=[],Ie=()=>{},ni=()=>!1,si=/^on[^a-z]/,vn=e=>si.test(e),us=e=>e.startsWith("onUpdate:"),me=Object.assign,fs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ri=Object.prototype.hasOwnProperty,V=(e,t)=>ri.call(e,t),j=Array.isArray,Ct=e=>En(e)==="[object Map]",Or=e=>En(e)==="[object Set]",U=e=>typeof e=="function",ae=e=>typeof e=="string",as=e=>typeof e=="symbol",de=e=>e!==null&&typeof e=="object",Ir=e=>de(e)&&U(e.then)&&U(e.catch),Mr=Object.prototype.toString,En=e=>Mr.call(e),oi=e=>En(e).slice(8,-1),Fr=e=>En(e)==="[object Object]",ds=e=>ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,on=is(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Cn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ii=/-(\w)/g,$e=Cn(e=>e.replace(ii,(t,n)=>n?n.toUpperCase():"")),li=/\B([A-Z])/g,Pt=Cn(e=>e.replace(li,"-$1").toLowerCase()),xn=Cn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Mn=Cn(e=>e?`on${xn(e)}`:""),Wt=(e,t)=>!Object.is(e,t),$t=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},fn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Nr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Hs;const ci=()=>Hs||(Hs=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let De;class ui{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&De&&(this.parent=De,this.index=(De.scopes||(De.scopes=[])).push(this)-1)}run(t){if(this.active)try{return De=this,t()}finally{De=this.parent}}on(){De=this}off(){De=this.parent}stop(t){if(this.active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.active=!1}}}function fi(e,t=De){t&&t.active&&t.effects.push(e)}const hs=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Lr=e=>(e.w&tt)>0,Hr=e=>(e.n&tt)>0,ai=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=tt},di=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];Lr(r)&&!Hr(r)?r.delete(e):t[n++]=r,r.w&=~tt,r.n&=~tt}t.length=n}},Kn=new WeakMap;let Lt=0,tt=1;const Un=30;let Be;const ft=Symbol(""),zn=Symbol("");class ps{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,fi(this,s)}run(){if(!this.active)return this.fn();let t=Be,n=Ze;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Be,Be=this,Ze=!0,tt=1<<++Lt,Lt<=Un?ai(this):Bs(this),this.fn()}finally{Lt<=Un&&di(this),tt=1<<--Lt,Be=this.parent,Ze=n,this.parent=void 0}}stop(){this.active&&(Bs(this),this.onStop&&this.onStop(),this.active=!1)}}function Bs(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Ze=!0;const Br=[];function Tt(){Br.push(Ze),Ze=!1}function St(){const e=Br.pop();Ze=e===void 0?!0:e}function xe(e,t,n){if(Ze&&Be){let s=Kn.get(e);s||Kn.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=hs()),$r(r)}}function $r(e,t){let n=!1;Lt<=Un?Hr(e)||(e.n|=tt,n=!Lr(e)):n=!e.has(Be),n&&(e.add(Be),Be.deps.push(e))}function Ue(e,t,n,s,r,o){const i=Kn.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&j(e))i.forEach((c,f)=>{(f==="length"||f>=s)&&l.push(c)});else switch(n!==void 0&&l.push(i.get(n)),t){case"add":j(e)?ds(n)&&l.push(i.get("length")):(l.push(i.get(ft)),Ct(e)&&l.push(i.get(zn)));break;case"delete":j(e)||(l.push(i.get(ft)),Ct(e)&&l.push(i.get(zn)));break;case"set":Ct(e)&&l.push(i.get(ft));break}if(l.length===1)l[0]&&qn(l[0]);else{const c=[];for(const f of l)f&&c.push(...f);qn(hs(c))}}function qn(e,t){for(const n of j(e)?e:[...e])(n!==Be||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const hi=is("__proto__,__v_isRef,__isVue"),kr=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(as)),pi=gs(),gi=gs(!1,!0),mi=gs(!0),$s=_i();function _i(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=Y(this);for(let o=0,i=this.length;o<i;o++)xe(s,"get",o+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(Y)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Tt();const s=Y(this)[t].apply(this,n);return St(),s}}),e}function gs(e=!1,t=!1){return function(s,r,o){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&o===(e?t?Fi:zr:t?Ur:Kr).get(s))return s;const i=j(s);if(!e&&i&&V($s,r))return Reflect.get($s,r,o);const l=Reflect.get(s,r,o);return(as(r)?kr.has(r):hi(r))||(e||xe(s,"get",r),t)?l:ge(l)?!i||!ds(r)?l.value:l:de(l)?e?qr(l):Gt(l):l}}const yi=jr(),bi=jr(!0);function jr(e=!1){return function(n,s,r,o){let i=n[s];if(Vt(i)&&ge(i)&&!ge(r))return!1;if(!e&&!Vt(r)&&(Wr(r)||(r=Y(r),i=Y(i)),!j(n)&&ge(i)&&!ge(r)))return i.value=r,!0;const l=j(n)&&ds(s)?Number(s)<n.length:V(n,s),c=Reflect.set(n,s,r,o);return n===Y(o)&&(l?Wt(r,i)&&Ue(n,"set",s,r):Ue(n,"add",s,r)),c}}function vi(e,t){const n=V(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&Ue(e,"delete",t,void 0),s}function Ei(e,t){const n=Reflect.has(e,t);return(!as(t)||!kr.has(t))&&xe(e,"has",t),n}function Ci(e){return xe(e,"iterate",j(e)?"length":ft),Reflect.ownKeys(e)}const Dr={get:pi,set:yi,deleteProperty:vi,has:Ei,ownKeys:Ci},xi={get:mi,set(e,t){return!0},deleteProperty(e,t){return!0}},wi=me({},Dr,{get:gi,set:bi}),ms=e=>e,wn=e=>Reflect.getPrototypeOf(e);function en(e,t,n=!1,s=!1){e=e.__v_raw;const r=Y(e),o=Y(t);t!==o&&!n&&xe(r,"get",t),!n&&xe(r,"get",o);const{has:i}=wn(r),l=s?ms:n?bs:Yt;if(i.call(r,t))return l(e.get(t));if(i.call(r,o))return l(e.get(o));e!==r&&e.get(t)}function tn(e,t=!1){const n=this.__v_raw,s=Y(n),r=Y(e);return e!==r&&!t&&xe(s,"has",e),!t&&xe(s,"has",r),e===r?n.has(e):n.has(e)||n.has(r)}function nn(e,t=!1){return e=e.__v_raw,!t&&xe(Y(e),"iterate",ft),Reflect.get(e,"size",e)}function ks(e){e=Y(e);const t=Y(this);return wn(t).has.call(t,e)||(t.add(e),Ue(t,"add",e,e)),this}function js(e,t){t=Y(t);const n=Y(this),{has:s,get:r}=wn(n);let o=s.call(n,e);o||(e=Y(e),o=s.call(n,e));const i=r.call(n,e);return n.set(e,t),o?Wt(t,i)&&Ue(n,"set",e,t):Ue(n,"add",e,t),this}function Ds(e){const t=Y(this),{has:n,get:s}=wn(t);let r=n.call(t,e);r||(e=Y(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&Ue(t,"delete",e,void 0),o}function Ks(){const e=Y(this),t=e.size!==0,n=e.clear();return t&&Ue(e,"clear",void 0,void 0),n}function sn(e,t){return function(s,r){const o=this,i=o.__v_raw,l=Y(i),c=t?ms:e?bs:Yt;return!e&&xe(l,"iterate",ft),i.forEach((f,a)=>s.call(r,c(f),c(a),o))}}function rn(e,t,n){return function(...s){const r=this.__v_raw,o=Y(r),i=Ct(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,f=r[e](...s),a=n?ms:t?bs:Yt;return!t&&xe(o,"iterate",c?zn:ft),{next(){const{value:p,done:h}=f.next();return h?{value:p,done:h}:{value:l?[a(p[0]),a(p[1])]:a(p),done:h}},[Symbol.iterator](){return this}}}}function qe(e){return function(...t){return e==="delete"?!1:this}}function Ai(){const e={get(o){return en(this,o)},get size(){return nn(this)},has:tn,add:ks,set:js,delete:Ds,clear:Ks,forEach:sn(!1,!1)},t={get(o){return en(this,o,!1,!0)},get size(){return nn(this)},has:tn,add:ks,set:js,delete:Ds,clear:Ks,forEach:sn(!1,!0)},n={get(o){return en(this,o,!0)},get size(){return nn(this,!0)},has(o){return tn.call(this,o,!0)},add:qe("add"),set:qe("set"),delete:qe("delete"),clear:qe("clear"),forEach:sn(!0,!1)},s={get(o){return en(this,o,!0,!0)},get size(){return nn(this,!0)},has(o){return tn.call(this,o,!0)},add:qe("add"),set:qe("set"),delete:qe("delete"),clear:qe("clear"),forEach:sn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=rn(o,!1,!1),n[o]=rn(o,!0,!1),t[o]=rn(o,!1,!0),s[o]=rn(o,!0,!0)}),[e,n,t,s]}const[Ri,Pi,Ti,Si]=Ai();function _s(e,t){const n=t?e?Si:Ti:e?Pi:Ri;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(V(n,r)&&r in s?n:s,r,o)}const Oi={get:_s(!1,!1)},Ii={get:_s(!1,!0)},Mi={get:_s(!0,!1)},Kr=new WeakMap,Ur=new WeakMap,zr=new WeakMap,Fi=new WeakMap;function Ni(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Li(e){return e.__v_skip||!Object.isExtensible(e)?0:Ni(oi(e))}function Gt(e){return Vt(e)?e:ys(e,!1,Dr,Oi,Kr)}function Hi(e){return ys(e,!1,wi,Ii,Ur)}function qr(e){return ys(e,!0,xi,Mi,zr)}function ys(e,t,n,s,r){if(!de(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=Li(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function xt(e){return Vt(e)?xt(e.__v_raw):!!(e&&e.__v_isReactive)}function Vt(e){return!!(e&&e.__v_isReadonly)}function Wr(e){return!!(e&&e.__v_isShallow)}function Vr(e){return xt(e)||Vt(e)}function Y(e){const t=e&&e.__v_raw;return t?Y(t):e}function Yr(e){return fn(e,"__v_skip",!0),e}const Yt=e=>de(e)?Gt(e):e,bs=e=>de(e)?qr(e):e;function Qr(e){Ze&&Be&&(e=Y(e),$r(e.dep||(e.dep=hs())))}function Jr(e,t){e=Y(e),e.dep&&qn(e.dep)}function ge(e){return!!(e&&e.__v_isRef===!0)}function Bi(e){return Xr(e,!1)}function $i(e){return Xr(e,!0)}function Xr(e,t){return ge(e)?e:new ki(e,t)}class ki{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Y(t),this._value=n?t:Yt(t)}get value(){return Qr(this),this._value}set value(t){t=this.__v_isShallow?t:Y(t),Wt(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Yt(t),Jr(this))}}function kt(e){return ge(e)?e.value:e}const ji={get:(e,t,n)=>kt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ge(r)&&!ge(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Zr(e){return xt(e)?e:new Proxy(e,ji)}class Di{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new ps(t,()=>{this._dirty||(this._dirty=!0,Jr(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=Y(this);return Qr(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Ki(e,t,n=!1){let s,r;const o=U(e);return o?(s=e,r=Ie):(s=e.get,r=e.set),new Di(s,r,o||!r,n)}Promise.resolve();function Ge(e,t,n,s){let r;try{r=s?e(...s):e()}catch(o){An(o,t,n)}return r}function Se(e,t,n,s){if(U(e)){const o=Ge(e,t,n,s);return o&&Ir(o)&&o.catch(i=>{An(i,t,n)}),o}const r=[];for(let o=0;o<e.length;o++)r.push(Se(e[o],t,n,s));return r}function An(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,l=n;for(;o;){const f=o.ec;if(f){for(let a=0;a<f.length;a++)if(f[a](e,i,l)===!1)return}o=o.parent}const c=t.appContext.config.errorHandler;if(c){Ge(c,null,10,[e,i,l]);return}}Ui(e,n,r,s)}function Ui(e,t,n,s=!0){console.error(e)}let an=!1,Wn=!1;const Ee=[];let Ke=0;const jt=[];let Ht=null,yt=0;const Dt=[];let Qe=null,bt=0;const Gr=Promise.resolve();let vs=null,Vn=null;function eo(e){const t=vs||Gr;return e?t.then(this?e.bind(this):e):t}function zi(e){let t=Ke+1,n=Ee.length;for(;t<n;){const s=t+n>>>1;Qt(Ee[s])<e?t=s+1:n=s}return t}function to(e){(!Ee.length||!Ee.includes(e,an&&e.allowRecurse?Ke+1:Ke))&&e!==Vn&&(e.id==null?Ee.push(e):Ee.splice(zi(e.id),0,e),no())}function no(){!an&&!Wn&&(Wn=!0,vs=Gr.then(oo))}function qi(e){const t=Ee.indexOf(e);t>Ke&&Ee.splice(t,1)}function so(e,t,n,s){j(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?s+1:s))&&n.push(e),no()}function Wi(e){so(e,Ht,jt,yt)}function Vi(e){so(e,Qe,Dt,bt)}function Es(e,t=null){if(jt.length){for(Vn=t,Ht=[...new Set(jt)],jt.length=0,yt=0;yt<Ht.length;yt++)Ht[yt]();Ht=null,yt=0,Vn=null,Es(e,t)}}function ro(e){if(Dt.length){const t=[...new Set(Dt)];if(Dt.length=0,Qe){Qe.push(...t);return}for(Qe=t,Qe.sort((n,s)=>Qt(n)-Qt(s)),bt=0;bt<Qe.length;bt++)Qe[bt]();Qe=null,bt=0}}const Qt=e=>e.id==null?1/0:e.id;function oo(e){Wn=!1,an=!0,Es(e),Ee.sort((n,s)=>Qt(n)-Qt(s));const t=Ie;try{for(Ke=0;Ke<Ee.length;Ke++){const n=Ee[Ke];n&&n.active!==!1&&Ge(n,null,14)}}finally{Ke=0,Ee.length=0,ro(),an=!1,vs=null,(Ee.length||jt.length||Dt.length)&&oo(e)}}function Yi(e,t,...n){const s=e.vnode.props||ne;let r=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in s){const a=`${i==="modelValue"?"model":i}Modifiers`,{number:p,trim:h}=s[a]||ne;h?r=n.map(b=>b.trim()):p&&(r=n.map(Nr))}let l,c=s[l=Mn(t)]||s[l=Mn($e(t))];!c&&o&&(c=s[l=Mn(Pt(t))]),c&&Se(c,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Se(f,e,6,r)}}function io(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!U(e)){const c=f=>{const a=io(f,t,!0);a&&(l=!0,me(i,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(s.set(e,null),null):(j(o)?o.forEach(c=>i[c]=null):me(i,o),s.set(e,i),i)}function Cs(e,t){return!e||!vn(t)?!1:(t=t.slice(2).replace(/Once$/,""),V(e,t[0].toLowerCase()+t.slice(1))||V(e,Pt(t))||V(e,t))}let Ce=null,Rn=null;function dn(e){const t=Ce;return Ce=e,Rn=e&&e.type.__scopeId||null,t}function Cu(e){Rn=e}function xu(){Rn=null}function Qi(e,t=Ce,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Gs(-1);const o=dn(t),i=e(...r);return dn(o),s._d&&Gs(1),i};return s._n=!0,s._c=!0,s._d=!0,s}function Fn(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:o,propsOptions:[i],slots:l,attrs:c,emit:f,render:a,renderCache:p,data:h,setupState:b,ctx:R,inheritAttrs:N}=e;let S,O;const x=dn(e);try{if(n.shapeFlag&4){const T=r||s;S=Le(a.call(T,T,p,o,b,h,R)),O=c}else{const T=t;S=Le(T.length>1?T(o,{attrs:c,slots:l,emit:f}):T(o,null)),O=t.props?c:Ji(c)}}catch(T){Ut.length=0,An(T,e,1),S=ye(Me)}let I=S;if(O&&N!==!1){const T=Object.keys(O),{shapeFlag:q}=I;T.length&&q&7&&(i&&T.some(us)&&(O=Xi(O,i)),I=ht(I,O))}return n.dirs&&(I.dirs=I.dirs?I.dirs.concat(n.dirs):n.dirs),n.transition&&(I.transition=n.transition),S=I,dn(x),S}const Ji=e=>{let t;for(const n in e)(n==="class"||n==="style"||vn(n))&&((t||(t={}))[n]=e[n]);return t},Xi=(e,t)=>{const n={};for(const s in e)(!us(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Zi(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Us(s,i,f):!!i;if(c&8){const a=t.dynamicProps;for(let p=0;p<a.length;p++){const h=a[p];if(i[h]!==s[h]&&!Cs(f,h))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===i?!1:s?i?Us(s,i,f):!0:!!i;return!1}function Us(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const o=s[r];if(t[o]!==e[o]&&!Cs(n,o))return!0}return!1}function Gi({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const el=e=>e.__isSuspense;function tl(e,t){t&&t.pendingBranch?j(e)?t.effects.push(...e):t.effects.push(e):Vi(e)}function ln(e,t){if(he){let n=he.provides;const s=he.parent&&he.parent.provides;s===n&&(n=he.provides=Object.create(s)),n[e]=t}}function et(e,t,n=!1){const s=he||Ce;if(s){const r=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&U(t)?t.call(s.proxy):t}}const zs={};function Kt(e,t,n){return lo(e,t,n)}function lo(e,t,{immediate:n,deep:s,flush:r,onTrack:o,onTrigger:i}=ne){const l=he;let c,f=!1,a=!1;if(ge(e)?(c=()=>e.value,f=Wr(e)):xt(e)?(c=()=>e,s=!0):j(e)?(a=!0,f=e.some(xt),c=()=>e.map(O=>{if(ge(O))return O.value;if(xt(O))return ut(O);if(U(O))return Ge(O,l,2)})):U(e)?t?c=()=>Ge(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return p&&p(),Se(e,l,3,[h])}:c=Ie,t&&s){const O=c;c=()=>ut(O())}let p,h=O=>{p=S.onStop=()=>{Ge(O,l,4)}};if(Xt)return h=Ie,t?n&&Se(t,l,3,[c(),a?[]:void 0,h]):c(),Ie;let b=a?[]:zs;const R=()=>{if(!!S.active)if(t){const O=S.run();(s||f||(a?O.some((x,I)=>Wt(x,b[I])):Wt(O,b)))&&(p&&p(),Se(t,l,3,[O,b===zs?void 0:b,h]),b=O)}else S.run()};R.allowRecurse=!!t;let N;r==="sync"?N=R:r==="post"?N=()=>pe(R,l&&l.suspense):N=()=>{!l||l.isMounted?Wi(R):R()};const S=new ps(c,N);return t?n?R():b=S.run():r==="post"?pe(S.run.bind(S),l&&l.suspense):S.run(),()=>{S.stop(),l&&l.scope&&fs(l.scope.effects,S)}}function nl(e,t,n){const s=this.proxy,r=ae(e)?e.includes(".")?co(s,e):()=>s[e]:e.bind(s,s);let o;U(t)?o=t:(o=t.handler,n=t);const i=he;wt(this);const l=lo(r,o.bind(s),n);return i?wt(i):dt(),l}function co(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}function ut(e,t){if(!de(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),ge(e))ut(e.value,t);else if(j(e))for(let n=0;n<e.length;n++)ut(e[n],t);else if(Or(e)||Ct(e))e.forEach(n=>{ut(n,t)});else if(Fr(e))for(const n in e)ut(e[n],t);return e}function sl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return xs(()=>{e.isMounted=!0}),ws(()=>{e.isUnmounting=!0}),e}const Re=[Function,Array],rl={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Re,onEnter:Re,onAfterEnter:Re,onEnterCancelled:Re,onBeforeLeave:Re,onLeave:Re,onAfterLeave:Re,onLeaveCancelled:Re,onBeforeAppear:Re,onAppear:Re,onAfterAppear:Re,onAppearCancelled:Re},setup(e,{slots:t}){const n=No(),s=sl();let r;return()=>{const o=t.default&&ao(t.default(),!0);if(!o||!o.length)return;const i=Y(e),{mode:l}=i,c=o[0];if(s.isLeaving)return Nn(c);const f=qs(c);if(!f)return Nn(c);const a=Yn(f,i,s,n);hn(f,a);const p=n.subTree,h=p&&qs(p);let b=!1;const{getTransitionKey:R}=f.type;if(R){const N=R();r===void 0?r=N:N!==r&&(r=N,b=!0)}if(h&&h.type!==Me&&(!lt(f,h)||b)){const N=Yn(h,i,s,n);if(hn(h,N),l==="out-in")return s.isLeaving=!0,N.afterLeave=()=>{s.isLeaving=!1,n.update()},Nn(c);l==="in-out"&&f.type!==Me&&(N.delayLeave=(S,O,x)=>{const I=fo(s,h);I[String(h.key)]=h,S._leaveCb=()=>{O(),S._leaveCb=void 0,delete a.delayedLeave},a.delayedLeave=x})}return c}}},uo=rl;function fo(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Yn(e,t,n,s){const{appear:r,mode:o,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:f,onEnterCancelled:a,onBeforeLeave:p,onLeave:h,onAfterLeave:b,onLeaveCancelled:R,onBeforeAppear:N,onAppear:S,onAfterAppear:O,onAppearCancelled:x}=t,I=String(e.key),T=fo(n,e),q=(k,X)=>{k&&Se(k,s,9,X)},Q={mode:o,persisted:i,beforeEnter(k){let X=l;if(!n.isMounted)if(r)X=N||l;else return;k._leaveCb&&k._leaveCb(!0);const J=T[I];J&<(e,J)&&J.el._leaveCb&&J.el._leaveCb(),q(X,[k])},enter(k){let X=c,J=f,le=a;if(!n.isMounted)if(r)X=S||c,J=O||f,le=x||a;else return;let ce=!1;const L=k._enterCb=ue=>{ce||(ce=!0,ue?q(le,[k]):q(J,[k]),Q.delayedLeave&&Q.delayedLeave(),k._enterCb=void 0)};X?(X(k,L),X.length<=1&&L()):L()},leave(k,X){const J=String(e.key);if(k._enterCb&&k._enterCb(!0),n.isUnmounting)return X();q(p,[k]);let le=!1;const ce=k._leaveCb=L=>{le||(le=!0,X(),L?q(R,[k]):q(b,[k]),k._leaveCb=void 0,T[J]===e&&delete T[J])};T[J]=e,h?(h(k,ce),h.length<=1&&ce()):ce()},clone(k){return Yn(k,t,n,s)}};return Q}function Nn(e){if(Pn(e))return e=ht(e),e.children=null,e}function qs(e){return Pn(e)?e.children?e.children[0]:void 0:e}function hn(e,t){e.shapeFlag&6&&e.component?hn(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 ao(e,t=!1){let n=[],s=0;for(let r=0;r<e.length;r++){const o=e[r];o.type===Te?(o.patchFlag&128&&s++,n=n.concat(ao(o.children,t))):(t||o.type!==Me)&&n.push(o)}if(s>1)for(let r=0;r<n.length;r++)n[r].patchFlag=-2;return n}function ho(e){return U(e)?{setup:e,name:e.name}:e}const pn=e=>!!e.type.__asyncLoader,Pn=e=>e.type.__isKeepAlive,ol={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=No(),s=n.ctx;if(!s.renderer)return t.default;const r=new Map,o=new Set;let i=null;const l=n.suspense,{renderer:{p:c,m:f,um:a,o:{createElement:p}}}=s,h=p("div");s.activate=(x,I,T,q,Q)=>{const k=x.component;f(x,I,T,0,l),c(k.vnode,x,I,T,k,l,q,x.slotScopeIds,Q),pe(()=>{k.isDeactivated=!1,k.a&&$t(k.a);const X=x.props&&x.props.onVnodeMounted;X&&Pe(X,k.parent,x)},l)},s.deactivate=x=>{const I=x.component;f(x,h,null,1,l),pe(()=>{I.da&&$t(I.da);const T=x.props&&x.props.onVnodeUnmounted;T&&Pe(T,I.parent,x),I.isDeactivated=!0},l)};function b(x){Ln(x),a(x,n,l,!0)}function R(x){r.forEach((I,T)=>{const q=es(I.type);q&&(!x||!x(q))&&N(T)})}function N(x){const I=r.get(x);!i||I.type!==i.type?b(I):i&&Ln(i),r.delete(x),o.delete(x)}Kt(()=>[e.include,e.exclude],([x,I])=>{x&&R(T=>Bt(x,T)),I&&R(T=>!Bt(I,T))},{flush:"post",deep:!0});let S=null;const O=()=>{S!=null&&r.set(S,Hn(n.subTree))};return xs(O),go(O),ws(()=>{r.forEach(x=>{const{subTree:I,suspense:T}=n,q=Hn(I);if(x.type===q.type){Ln(q);const Q=q.component.da;Q&&pe(Q,T);return}b(x)})}),()=>{if(S=null,!t.default)return null;const x=t.default(),I=x[0];if(x.length>1)return i=null,x;if(!Jt(I)||!(I.shapeFlag&4)&&!(I.shapeFlag&128))return i=null,I;let T=Hn(I);const q=T.type,Q=es(pn(T)?T.type.__asyncResolved||{}:q),{include:k,exclude:X,max:J}=e;if(k&&(!Q||!Bt(k,Q))||X&&Q&&Bt(X,Q))return i=T,I;const le=T.key==null?q:T.key,ce=r.get(le);return T.el&&(T=ht(T),I.shapeFlag&128&&(I.ssContent=T)),S=le,ce?(T.el=ce.el,T.component=ce.component,T.transition&&hn(T,T.transition),T.shapeFlag|=512,o.delete(le),o.add(le)):(o.add(le),J&&o.size>parseInt(J,10)&&N(o.values().next().value)),T.shapeFlag|=256,i=T,I}}},wu=ol;function Bt(e,t){return j(e)?e.some(n=>Bt(n,t)):ae(e)?e.split(",").includes(t):e.test?e.test(t):!1}function il(e,t){po(e,"a",t)}function ll(e,t){po(e,"da",t)}function po(e,t,n=he){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Tn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Pn(r.parent.vnode)&&cl(s,t,n,r),r=r.parent}}function cl(e,t,n,s){const r=Tn(t,e,s,!0);mo(()=>{fs(s[t],r)},n)}function Ln(e){let t=e.shapeFlag;t&256&&(t-=256),t&512&&(t-=512),e.shapeFlag=t}function Hn(e){return e.shapeFlag&128?e.ssContent:e}function Tn(e,t,n=he,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Tt(),wt(n);const l=Se(t,n,e,i);return dt(),St(),l});return s?r.unshift(o):r.push(o),o}}const ze=e=>(t,n=he)=>(!Xt||e==="sp")&&Tn(e,t,n),ul=ze("bm"),xs=ze("m"),fl=ze("bu"),go=ze("u"),ws=ze("bum"),mo=ze("um"),al=ze("sp"),dl=ze("rtg"),hl=ze("rtc");function pl(e,t=he){Tn("ec",e,t)}let Qn=!0;function gl(e){const t=yo(e),n=e.proxy,s=e.ctx;Qn=!1,t.beforeCreate&&Ws(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:f,created:a,beforeMount:p,mounted:h,beforeUpdate:b,updated:R,activated:N,deactivated:S,beforeDestroy:O,beforeUnmount:x,destroyed:I,unmounted:T,render:q,renderTracked:Q,renderTriggered:k,errorCaptured:X,serverPrefetch:J,expose:le,inheritAttrs:ce,components:L,directives:ue,filters:be}=t;if(f&&ml(f,s,null,e.appContext.config.unwrapInjectedRef),i)for(const se in i){const Z=i[se];U(Z)&&(s[se]=Z.bind(n))}if(r){const se=r.call(n,n);de(se)&&(e.data=Gt(se))}if(Qn=!0,o)for(const se in o){const Z=o[se],we=U(Z)?Z.bind(n,n):U(Z.get)?Z.get.bind(n,n):Ie,pt=!U(Z)&&U(Z.set)?Z.set.bind(n):Ie,je=He({get:we,set:pt});Object.defineProperty(s,se,{enumerable:!0,configurable:!0,get:()=>je.value,set:Fe=>je.value=Fe})}if(l)for(const se in l)_o(l[se],s,n,se);if(c){const se=U(c)?c.call(n):c;Reflect.ownKeys(se).forEach(Z=>{ln(Z,se[Z])})}a&&Ws(a,e,"c");function fe(se,Z){j(Z)?Z.forEach(we=>se(we.bind(n))):Z&&se(Z.bind(n))}if(fe(ul,p),fe(xs,h),fe(fl,b),fe(go,R),fe(il,N),fe(ll,S),fe(pl,X),fe(hl,Q),fe(dl,k),fe(ws,x),fe(mo,T),fe(al,J),j(le))if(le.length){const se=e.exposed||(e.exposed={});le.forEach(Z=>{Object.defineProperty(se,Z,{get:()=>n[Z],set:we=>n[Z]=we})})}else e.exposed||(e.exposed={});q&&e.render===Ie&&(e.render=q),ce!=null&&(e.inheritAttrs=ce),L&&(e.components=L),ue&&(e.directives=ue)}function ml(e,t,n=Ie,s=!1){j(e)&&(e=Jn(e));for(const r in e){const o=e[r];let i;de(o)?"default"in o?i=et(o.from||r,o.default,!0):i=et(o.from||r):i=et(o),ge(i)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[r]=i}}function Ws(e,t,n){Se(j(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function _o(e,t,n,s){const r=s.includes(".")?co(n,s):()=>n[s];if(ae(e)){const o=t[e];U(o)&&Kt(r,o)}else if(U(e))Kt(r,e.bind(n));else if(de(e))if(j(e))e.forEach(o=>_o(o,t,n,s));else{const o=U(e.handler)?e.handler.bind(n):t[e.handler];U(o)&&Kt(r,o,e)}}function yo(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(f=>gn(c,f,i,!0)),gn(c,t,i)),o.set(t,c),c}function gn(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&gn(e,o,n,!0),r&&r.forEach(i=>gn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=_l[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const _l={data:Vs,props:it,emits:it,methods:it,computed:it,beforeCreate:_e,created:_e,beforeMount:_e,mounted:_e,beforeUpdate:_e,updated:_e,beforeDestroy:_e,beforeUnmount:_e,destroyed:_e,unmounted:_e,activated:_e,deactivated:_e,errorCaptured:_e,serverPrefetch:_e,components:it,directives:it,watch:bl,provide:Vs,inject:yl};function Vs(e,t){return t?e?function(){return me(U(e)?e.call(this,this):e,U(t)?t.call(this,this):t)}:t:e}function yl(e,t){return it(Jn(e),Jn(t))}function Jn(e){if(j(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function _e(e,t){return e?[...new Set([].concat(e,t))]:t}function it(e,t){return e?me(me(Object.create(null),e),t):t}function bl(e,t){if(!e)return t;if(!t)return e;const n=me(Object.create(null),e);for(const s in t)n[s]=_e(e[s],t[s]);return n}function vl(e,t,n,s=!1){const r={},o={};fn(o,Sn,1),e.propsDefaults=Object.create(null),bo(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Hi(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function El(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=Y(r),[c]=e.propsOptions;let f=!1;if((s||i>0)&&!(i&16)){if(i&8){const a=e.vnode.dynamicProps;for(let p=0;p<a.length;p++){let h=a[p];const b=t[h];if(c)if(V(o,h))b!==o[h]&&(o[h]=b,f=!0);else{const R=$e(h);r[R]=Xn(c,l,R,b,e,!1)}else b!==o[h]&&(o[h]=b,f=!0)}}}else{bo(e,t,r,o)&&(f=!0);let a;for(const p in l)(!t||!V(t,p)&&((a=Pt(p))===p||!V(t,a)))&&(c?n&&(n[p]!==void 0||n[a]!==void 0)&&(r[p]=Xn(c,l,p,void 0,e,!0)):delete r[p]);if(o!==l)for(const p in o)(!t||!V(t,p)&&!0)&&(delete o[p],f=!0)}f&&Ue(e,"set","$attrs")}function bo(e,t,n,s){const[r,o]=e.propsOptions;let i=!1,l;if(t)for(let c in t){if(on(c))continue;const f=t[c];let a;r&&V(r,a=$e(c))?!o||!o.includes(a)?n[a]=f:(l||(l={}))[a]=f:Cs(e.emitsOptions,c)||(!(c in s)||f!==s[c])&&(s[c]=f,i=!0)}if(o){const c=Y(n),f=l||ne;for(let a=0;a<o.length;a++){const p=o[a];n[p]=Xn(r,c,p,f[p],e,!V(f,p))}}return i}function Xn(e,t,n,s,r,o){const i=e[n];if(i!=null){const l=V(i,"default");if(l&&s===void 0){const c=i.default;if(i.type!==Function&&U(c)){const{propsDefaults:f}=r;n in f?s=f[n]:(wt(r),s=f[n]=c.call(null,t),dt())}else s=c}i[0]&&(o&&!l?s=!1:i[1]&&(s===""||s===Pt(n))&&(s=!0))}return s}function vo(e,t,n=!1){const s=t.propsCache,r=s.get(e);if(r)return r;const o=e.props,i={},l=[];let c=!1;if(!U(e)){const a=p=>{c=!0;const[h,b]=vo(p,t,!0);me(i,h),b&&l.push(...b)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!o&&!c)return s.set(e,Et),Et;if(j(o))for(let a=0;a<o.length;a++){const p=$e(o[a]);Ys(p)&&(i[p]=ne)}else if(o)for(const a in o){const p=$e(a);if(Ys(p)){const h=o[a],b=i[p]=j(h)||U(h)?{type:h}:h;if(b){const R=Xs(Boolean,b.type),N=Xs(String,b.type);b[0]=R>-1,b[1]=N<0||R<N,(R>-1||V(b,"default"))&&l.push(p)}}}const f=[i,l];return s.set(e,f),f}function Ys(e){return e[0]!=="$"}function Qs(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Js(e,t){return Qs(e)===Qs(t)}function Xs(e,t){return j(t)?t.findIndex(n=>Js(n,e)):U(t)&&Js(t,e)?0:-1}const Eo=e=>e[0]==="_"||e==="$stable",As=e=>j(e)?e.map(Le):[Le(e)],Cl=(e,t,n)=>{const s=Qi((...r)=>As(t(...r)),n);return s._c=!1,s},Co=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Eo(r))continue;const o=e[r];if(U(o))t[r]=Cl(r,o,s);else if(o!=null){const i=As(o);t[r]=()=>i}}},xo=(e,t)=>{const n=As(t);e.slots.default=()=>n},xl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Y(t),fn(t,"_",n)):Co(t,e.slots={})}else e.slots={},t&&xo(e,t);fn(e.slots,Sn,1)},wl=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ne;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(me(r,t),!n&&l===1&&delete r._):(o=!t.$stable,Co(t,r)),i=t}else t&&(xo(e,t),i={default:1});if(o)for(const l in r)!Eo(l)&&!(l in i)&&delete r[l]};function Au(e,t){const n=Ce;if(n===null)return e;const s=n.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,l,c,f=ne]=t[o];U(i)&&(i={mounted:i,updated:i}),i.deep&&ut(l),r.push({dir:i,instance:s,value:l,oldValue:void 0,arg:c,modifiers:f})}return e}function nt(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let i=0;i<r.length;i++){const l=r[i];o&&(l.oldValue=o[i].value);let c=l.dir[s];c&&(Tt(),Se(c,n,8,[e.el,l,e,t]),St())}}function wo(){return{app:null,config:{isNativeTag:ni,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 Al=0;function Rl(e,t){return function(s,r=null){r!=null&&!de(r)&&(r=null);const o=wo(),i=new Set;let l=!1;const c=o.app={_uid:Al++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:ql,get config(){return o.config},set config(f){},use(f,...a){return i.has(f)||(f&&U(f.install)?(i.add(f),f.install(c,...a)):U(f)&&(i.add(f),f(c,...a))),c},mixin(f){return o.mixins.includes(f)||o.mixins.push(f),c},component(f,a){return a?(o.components[f]=a,c):o.components[f]},directive(f,a){return a?(o.directives[f]=a,c):o.directives[f]},mount(f,a,p){if(!l){const h=ye(s,r);return h.appContext=o,a&&t?t(h,f):e(h,f,p),l=!0,c._container=f,f.__vue_app__=c,Ss(h.component)||h.component.proxy}},unmount(){l&&(e(null,c._container),delete c._container.__vue_app__)},provide(f,a){return o.provides[f]=a,c}};return c}}function Zn(e,t,n,s,r=!1){if(j(e)){e.forEach((h,b)=>Zn(h,t&&(j(t)?t[b]:t),n,s,r));return}if(pn(s)&&!r)return;const o=s.shapeFlag&4?Ss(s.component)||s.component.proxy:s.el,i=r?null:o,{i:l,r:c}=e,f=t&&t.r,a=l.refs===ne?l.refs={}:l.refs,p=l.setupState;if(f!=null&&f!==c&&(ae(f)?(a[f]=null,V(p,f)&&(p[f]=null)):ge(f)&&(f.value=null)),U(c))Ge(c,l,12,[i,a]);else{const h=ae(c),b=ge(c);if(h||b){const R=()=>{if(e.f){const N=h?a[c]:c.value;r?j(N)&&fs(N,o):j(N)?N.includes(o)||N.push(o):h?a[c]=[o]:(c.value=[o],e.k&&(a[e.k]=c.value))}else h?(a[c]=i,V(p,c)&&(p[c]=i)):ge(c)&&(c.value=i,e.k&&(a[e.k]=i))};i?(R.id=-1,pe(R,n)):R()}}}const pe=tl;function Pl(e){return Tl(e)}function Tl(e,t){const n=ci();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:f,setElementText:a,parentNode:p,nextSibling:h,setScopeId:b=Ie,cloneNode:R,insertStaticContent:N}=e,S=(u,d,g,y=null,_=null,C=null,P=!1,E=null,w=!!d.dynamicChildren)=>{if(u===d)return;u&&!lt(u,d)&&(y=H(u),Ae(u,_,C,!0),u=null),d.patchFlag===-2&&(w=!1,d.dynamicChildren=null);const{type:v,ref:B,shapeFlag:M}=d;switch(v){case Ps:O(u,d,g,y);break;case Me:x(u,d,g,y);break;case cn:u==null&&I(d,g,y,P);break;case Te:ue(u,d,g,y,_,C,P,E,w);break;default:M&1?Q(u,d,g,y,_,C,P,E,w):M&6?be(u,d,g,y,_,C,P,E,w):(M&64||M&128)&&v.process(u,d,g,y,_,C,P,E,w,re)}B!=null&&_&&Zn(B,u&&u.ref,C,d||u,!d)},O=(u,d,g,y)=>{if(u==null)s(d.el=l(d.children),g,y);else{const _=d.el=u.el;d.children!==u.children&&f(_,d.children)}},x=(u,d,g,y)=>{u==null?s(d.el=c(d.children||""),g,y):d.el=u.el},I=(u,d,g,y)=>{[u.el,u.anchor]=N(u.children,d,g,y,u.el,u.anchor)},T=({el:u,anchor:d},g,y)=>{let _;for(;u&&u!==d;)_=h(u),s(u,g,y),u=_;s(d,g,y)},q=({el:u,anchor:d})=>{let g;for(;u&&u!==d;)g=h(u),r(u),u=g;r(d)},Q=(u,d,g,y,_,C,P,E,w)=>{P=P||d.type==="svg",u==null?k(d,g,y,_,C,P,E,w):le(u,d,_,C,P,E,w)},k=(u,d,g,y,_,C,P,E)=>{let w,v;const{type:B,props:M,shapeFlag:$,transition:D,patchFlag:W,dirs:ie}=u;if(u.el&&R!==void 0&&W===-1)w=u.el=R(u.el);else{if(w=u.el=i(u.type,C,M&&M.is,M),$&8?a(w,u.children):$&16&&J(u.children,w,null,y,_,C&&B!=="foreignObject",P,E),ie&&nt(u,null,y,"created"),M){for(const oe in M)oe!=="value"&&!on(oe)&&o(w,oe,null,M[oe],C,u.children,y,_,A);"value"in M&&o(w,"value",null,M.value),(v=M.onVnodeBeforeMount)&&Pe(v,y,u)}X(w,u,u.scopeId,P,y)}ie&&nt(u,null,y,"beforeMount");const ee=(!_||_&&!_.pendingBranch)&&D&&!D.persisted;ee&&D.beforeEnter(w),s(w,d,g),((v=M&&M.onVnodeMounted)||ee||ie)&&pe(()=>{v&&Pe(v,y,u),ee&&D.enter(w),ie&&nt(u,null,y,"mounted")},_)},X=(u,d,g,y,_)=>{if(g&&b(u,g),y)for(let C=0;C<y.length;C++)b(u,y[C]);if(_){let C=_.subTree;if(d===C){const P=_.vnode;X(u,P,P.scopeId,P.slotScopeIds,_.parent)}}},J=(u,d,g,y,_,C,P,E,w=0)=>{for(let v=w;v<u.length;v++){const B=u[v]=E?Je(u[v]):Le(u[v]);S(null,B,d,g,y,_,C,P,E)}},le=(u,d,g,y,_,C,P)=>{const E=d.el=u.el;let{patchFlag:w,dynamicChildren:v,dirs:B}=d;w|=u.patchFlag&16;const M=u.props||ne,$=d.props||ne;let D;g&&st(g,!1),(D=$.onVnodeBeforeUpdate)&&Pe(D,g,d,u),B&&nt(d,u,g,"beforeUpdate"),g&&st(g,!0);const W=_&&d.type!=="foreignObject";if(v?ce(u.dynamicChildren,v,E,g,y,W,C):P||we(u,d,E,null,g,y,W,C,!1),w>0){if(w&16)L(E,d,M,$,g,y,_);else if(w&2&&M.class!==$.class&&o(E,"class",null,$.class,_),w&4&&o(E,"style",M.style,$.style,_),w&8){const ie=d.dynamicProps;for(let ee=0;ee<ie.length;ee++){const oe=ie[ee],Oe=M[oe],gt=$[oe];(gt!==Oe||oe==="value")&&o(E,oe,Oe,gt,_,u.children,g,y,A)}}w&1&&u.children!==d.children&&a(E,d.children)}else!P&&v==null&&L(E,d,M,$,g,y,_);((D=$.onVnodeUpdated)||B)&&pe(()=>{D&&Pe(D,g,d,u),B&&nt(d,u,g,"updated")},y)},ce=(u,d,g,y,_,C,P)=>{for(let E=0;E<d.length;E++){const w=u[E],v=d[E],B=w.el&&(w.type===Te||!lt(w,v)||w.shapeFlag&70)?p(w.el):g;S(w,v,B,null,y,_,C,P,!0)}},L=(u,d,g,y,_,C,P)=>{if(g!==y){for(const E in y){if(on(E))continue;const w=y[E],v=g[E];w!==v&&E!=="value"&&o(u,E,v,w,P,d.children,_,C,A)}if(g!==ne)for(const E in g)!on(E)&&!(E in y)&&o(u,E,g[E],null,P,d.children,_,C,A);"value"in y&&o(u,"value",g.value,y.value)}},ue=(u,d,g,y,_,C,P,E,w)=>{const v=d.el=u?u.el:l(""),B=d.anchor=u?u.anchor:l("");let{patchFlag:M,dynamicChildren:$,slotScopeIds:D}=d;D&&(E=E?E.concat(D):D),u==null?(s(v,g,y),s(B,g,y),J(d.children,g,B,_,C,P,E,w)):M>0&&M&64&&$&&u.dynamicChildren?(ce(u.dynamicChildren,$,g,_,C,P,E),(d.key!=null||_&&d===_.subTree)&&Ao(u,d,!0)):we(u,d,g,B,_,C,P,E,w)},be=(u,d,g,y,_,C,P,E,w)=>{d.slotScopeIds=E,u==null?d.shapeFlag&512?_.ctx.activate(d,g,y,P,w):ke(d,g,y,_,C,P,w):fe(u,d,w)},ke=(u,d,g,y,_,C,P)=>{const E=u.component=kl(u,y,_);if(Pn(u)&&(E.ctx.renderer=re),jl(E),E.asyncDep){if(_&&_.registerDep(E,se),!u.el){const w=E.subTree=ye(Me);x(null,w,d,g)}return}se(E,u,d,g,_,C,P)},fe=(u,d,g)=>{const y=d.component=u.component;if(Zi(u,d,g))if(y.asyncDep&&!y.asyncResolved){Z(y,d,g);return}else y.next=d,qi(y.update),y.update();else d.component=u.component,d.el=u.el,y.vnode=d},se=(u,d,g,y,_,C,P)=>{const E=()=>{if(u.isMounted){let{next:B,bu:M,u:$,parent:D,vnode:W}=u,ie=B,ee;st(u,!1),B?(B.el=W.el,Z(u,B,P)):B=W,M&&$t(M),(ee=B.props&&B.props.onVnodeBeforeUpdate)&&Pe(ee,D,B,W),st(u,!0);const oe=Fn(u),Oe=u.subTree;u.subTree=oe,S(Oe,oe,p(Oe.el),H(Oe),u,_,C),B.el=oe.el,ie===null&&Gi(u,oe.el),$&&pe($,_),(ee=B.props&&B.props.onVnodeUpdated)&&pe(()=>Pe(ee,D,B,W),_)}else{let B;const{el:M,props:$}=d,{bm:D,m:W,parent:ie}=u,ee=pn(d);if(st(u,!1),D&&$t(D),!ee&&(B=$&&$.onVnodeBeforeMount)&&Pe(B,ie,d),st(u,!0),M&&K){const oe=()=>{u.subTree=Fn(u),K(M,u.subTree,u,_,null)};ee?d.type.__asyncLoader().then(()=>!u.isUnmounted&&oe()):oe()}else{const oe=u.subTree=Fn(u);S(null,oe,g,y,u,_,C),d.el=oe.el}if(W&&pe(W,_),!ee&&(B=$&&$.onVnodeMounted)){const oe=d;pe(()=>Pe(B,ie,oe),_)}d.shapeFlag&256&&u.a&&pe(u.a,_),u.isMounted=!0,d=g=y=null}},w=u.effect=new ps(E,()=>to(u.update),u.scope),v=u.update=w.run.bind(w);v.id=u.uid,st(u,!0),v()},Z=(u,d,g)=>{d.component=u;const y=u.vnode.props;u.vnode=d,u.next=null,El(u,d.props,y,g),wl(u,d.children,g),Tt(),Es(void 0,u.update),St()},we=(u,d,g,y,_,C,P,E,w=!1)=>{const v=u&&u.children,B=u?u.shapeFlag:0,M=d.children,{patchFlag:$,shapeFlag:D}=d;if($>0){if($&128){je(v,M,g,y,_,C,P,E,w);return}else if($&256){pt(v,M,g,y,_,C,P,E,w);return}}D&8?(B&16&&A(v,_,C),M!==v&&a(g,M)):B&16?D&16?je(v,M,g,y,_,C,P,E,w):A(v,_,C,!0):(B&8&&a(g,""),D&16&&J(M,g,y,_,C,P,E,w))},pt=(u,d,g,y,_,C,P,E,w)=>{u=u||Et,d=d||Et;const v=u.length,B=d.length,M=Math.min(v,B);let $;for($=0;$<M;$++){const D=d[$]=w?Je(d[$]):Le(d[$]);S(u[$],D,g,null,_,C,P,E,w)}v>B?A(u,_,C,!0,!1,M):J(d,g,y,_,C,P,E,w,M)},je=(u,d,g,y,_,C,P,E,w)=>{let v=0;const B=d.length;let M=u.length-1,$=B-1;for(;v<=M&&v<=$;){const D=u[v],W=d[v]=w?Je(d[v]):Le(d[v]);if(lt(D,W))S(D,W,g,null,_,C,P,E,w);else break;v++}for(;v<=M&&v<=$;){const D=u[M],W=d[$]=w?Je(d[$]):Le(d[$]);if(lt(D,W))S(D,W,g,null,_,C,P,E,w);else break;M--,$--}if(v>M){if(v<=$){const D=$+1,W=D<B?d[D].el:y;for(;v<=$;)S(null,d[v]=w?Je(d[v]):Le(d[v]),g,W,_,C,P,E,w),v++}}else if(v>$)for(;v<=M;)Ae(u[v],_,C,!0),v++;else{const D=v,W=v,ie=new Map;for(v=W;v<=$;v++){const ve=d[v]=w?Je(d[v]):Le(d[v]);ve.key!=null&&ie.set(ve.key,v)}let ee,oe=0;const Oe=$-W+1;let gt=!1,Fs=0;const It=new Array(Oe);for(v=0;v<Oe;v++)It[v]=0;for(v=D;v<=M;v++){const ve=u[v];if(oe>=Oe){Ae(ve,_,C,!0);continue}let Ne;if(ve.key!=null)Ne=ie.get(ve.key);else for(ee=W;ee<=$;ee++)if(It[ee-W]===0&<(ve,d[ee])){Ne=ee;break}Ne===void 0?Ae(ve,_,C,!0):(It[Ne-W]=v+1,Ne>=Fs?Fs=Ne:gt=!0,S(ve,d[Ne],g,null,_,C,P,E,w),oe++)}const Ns=gt?Sl(It):Et;for(ee=Ns.length-1,v=Oe-1;v>=0;v--){const ve=W+v,Ne=d[ve],Ls=ve+1<B?d[ve+1].el:y;It[v]===0?S(null,Ne,g,Ls,_,C,P,E,w):gt&&(ee<0||v!==Ns[ee]?Fe(Ne,g,Ls,2):ee--)}}},Fe=(u,d,g,y,_=null)=>{const{el:C,type:P,transition:E,children:w,shapeFlag:v}=u;if(v&6){Fe(u.component.subTree,d,g,y);return}if(v&128){u.suspense.move(d,g,y);return}if(v&64){P.move(u,d,g,re);return}if(P===Te){s(C,d,g);for(let M=0;M<w.length;M++)Fe(w[M],d,g,y);s(u.anchor,d,g);return}if(P===cn){T(u,d,g);return}if(y!==2&&v&1&&E)if(y===0)E.beforeEnter(C),s(C,d,g),pe(()=>E.enter(C),_);else{const{leave:M,delayLeave:$,afterLeave:D}=E,W=()=>s(C,d,g),ie=()=>{M(C,()=>{W(),D&&D()})};$?$(C,W,ie):ie()}else s(C,d,g)},Ae=(u,d,g,y=!1,_=!1)=>{const{type:C,props:P,ref:E,children:w,dynamicChildren:v,shapeFlag:B,patchFlag:M,dirs:$}=u;if(E!=null&&Zn(E,null,g,u,!0),B&256){d.ctx.deactivate(u);return}const D=B&1&&$,W=!pn(u);let ie;if(W&&(ie=P&&P.onVnodeBeforeUnmount)&&Pe(ie,d,u),B&6)F(u.component,g,y);else{if(B&128){u.suspense.unmount(g,y);return}D&&nt(u,null,d,"beforeUnmount"),B&64?u.type.remove(u,d,g,_,re,y):v&&(C!==Te||M>0&&M&64)?A(v,d,g,!1,!0):(C===Te&&M&384||!_&&B&16)&&A(w,d,g),y&&In(u)}(W&&(ie=P&&P.onVnodeUnmounted)||D)&&pe(()=>{ie&&Pe(ie,d,u),D&&nt(u,null,d,"unmounted")},g)},In=u=>{const{type:d,el:g,anchor:y,transition:_}=u;if(d===Te){m(g,y);return}if(d===cn){q(u);return}const C=()=>{r(g),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(u.shapeFlag&1&&_&&!_.persisted){const{leave:P,delayLeave:E}=_,w=()=>P(g,C);E?E(u.el,C,w):w()}else C()},m=(u,d)=>{let g;for(;u!==d;)g=h(u),r(u),u=g;r(d)},F=(u,d,g)=>{const{bum:y,scope:_,update:C,subTree:P,um:E}=u;y&&$t(y),_.stop(),C&&(C.active=!1,Ae(P,u,d,g)),E&&pe(E,d),pe(()=>{u.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},A=(u,d,g,y=!1,_=!1,C=0)=>{for(let P=C;P<u.length;P++)Ae(u[P],d,g,y,_)},H=u=>u.shapeFlag&6?H(u.component.subTree):u.shapeFlag&128?u.suspense.next():h(u.anchor||u.el),G=(u,d,g)=>{u==null?d._vnode&&Ae(d._vnode,null,null,!0):S(d._vnode||null,u,d,null,null,null,g),ro(),d._vnode=u},re={p:S,um:Ae,m:Fe,r:In,mt:ke,mc:J,pc:we,pbc:ce,n:H,o:e};let z,K;return t&&([z,K]=t(re)),{render:G,hydrate:z,createApp:Rl(G,z)}}function st({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ao(e,t,n=!1){const s=e.children,r=t.children;if(j(s)&&j(r))for(let o=0;o<s.length;o++){const i=s[o];let l=r[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[o]=Je(r[o]),l.el=i.el),n||Ao(i,l))}}function Sl(e){const t=e.slice(),n=[0];let s,r,o,i,l;const c=e.length;for(s=0;s<c;s++){const f=e[s];if(f!==0){if(r=n[n.length-1],e[r]<f){t[s]=r,n.push(s);continue}for(o=0,i=n.length-1;o<i;)l=o+i>>1,e[n[l]]<f?o=l+1:i=l;f<e[n[o]]&&(o>0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const Ol=e=>e.__isTeleport,Rs="components";function Ru(e,t){return Po(Rs,e,!0,t)||e}const Ro=Symbol();function Pu(e){return ae(e)?Po(Rs,e,!1)||e:e||Ro}function Po(e,t,n=!0,s=!1){const r=Ce||he;if(r){const o=r.type;if(e===Rs){const l=es(o);if(l&&(l===t||l===$e(t)||l===xn($e(t))))return o}const i=Zs(r[e]||o[e],t)||Zs(r.appContext[e],t);return!i&&s?o:i}}function Zs(e,t){return e&&(e[t]||e[$e(t)]||e[xn($e(t))])}const Te=Symbol(void 0),Ps=Symbol(void 0),Me=Symbol(void 0),cn=Symbol(void 0),Ut=[];let at=null;function To(e=!1){Ut.push(at=e?null:[])}function Il(){Ut.pop(),at=Ut[Ut.length-1]||null}let mn=1;function Gs(e){mn+=e}function So(e){return e.dynamicChildren=mn>0?at||Et:null,Il(),mn>0&&at&&at.push(e),e}function Tu(e,t,n,s,r,o){return So(Mo(e,t,n,s,r,o,!0))}function Oo(e,t,n,s,r){return So(ye(e,t,n,s,r,!0))}function Jt(e){return e?e.__v_isVNode===!0:!1}function lt(e,t){return e.type===t.type&&e.key===t.key}const Sn="__vInternal",Io=({key:e})=>e!=null?e:null,un=({ref:e,ref_key:t,ref_for:n})=>e!=null?ae(e)||ge(e)||U(e)?{i:Ce,r:e,k:t,f:!!n}:e:null;function Mo(e,t=null,n=null,s=0,r=null,o=e===Te?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Io(t),ref:t&&un(t),scopeId:Rn,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:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null};return l?(Ts(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ae(n)?8:16),mn>0&&!i&&at&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&at.push(c),c}const ye=Ml;function Ml(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Ro)&&(e=Me),Jt(e)){const l=ht(e,t,!0);return n&&Ts(l,n),l}if(zl(e)&&(e=e.__vccOpts),t){t=Fl(t);let{class:l,style:c}=t;l&&!ae(l)&&(t.class=cs(l)),de(c)&&(Vr(c)&&!j(c)&&(c=me({},c)),t.style=ls(c))}const i=ae(e)?1:el(e)?128:Ol(e)?64:de(e)?4:U(e)?2:0;return Mo(e,t,n,s,r,i,o,!0)}function Fl(e){return e?Vr(e)||Sn in e?me({},e):e:null}function ht(e,t,n=!1){const{props:s,ref:r,patchFlag:o,children:i}=e,l=t?Ll(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Io(l),ref:t&&t.ref?n&&r?j(r)?r.concat(un(t)):[r,un(t)]:un(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Te?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ht(e.ssContent),ssFallback:e.ssFallback&&ht(e.ssFallback),el:e.el,anchor:e.anchor}}function Nl(e=" ",t=0){return ye(Ps,null,e,t)}function Su(e,t){const n=ye(cn,null,e);return n.staticCount=t,n}function Ou(e="",t=!1){return t?(To(),Oo(Me,null,e)):ye(Me,null,e)}function Le(e){return e==null||typeof e=="boolean"?ye(Me):j(e)?ye(Te,null,e.slice()):typeof e=="object"?Je(e):ye(Ps,null,String(e))}function Je(e){return e.el===null||e.memo?e:ht(e)}function Ts(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(j(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Ts(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Sn in t)?t._ctx=Ce:r===3&&Ce&&(Ce.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else U(t)?(t={default:t,_ctx:Ce},n=32):(t=String(t),s&64?(n=16,t=[Nl(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ll(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=cs([t.class,s.class]));else if(r==="style")t.style=ls([t.style,s.style]);else if(vn(r)){const o=t[r],i=s[r];i&&o!==i&&!(j(o)&&o.includes(i))&&(t[r]=o?[].concat(o,i):i)}else r!==""&&(t[r]=s[r])}return t}function Pe(e,t,n,s=null){Se(e,t,7,[n,s])}function Iu(e,t,n,s){let r;const o=n&&n[s];if(j(e)||ae(e)){r=new Array(e.length);for(let i=0,l=e.length;i<l;i++)r[i]=t(e[i],i,void 0,o&&o[i])}else if(typeof e=="number"){r=new Array(e);for(let i=0;i<e;i++)r[i]=t(i+1,i,void 0,o&&o[i])}else if(de(e))if(e[Symbol.iterator])r=Array.from(e,(i,l)=>t(i,l,void 0,o&&o[l]));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,c=i.length;l<c;l++){const f=i[l];r[l]=t(e[f],f,l,o&&o[l])}}else r=[];return n&&(n[s]=r),r}function Mu(e,t,n={},s,r){if(Ce.isCE)return ye("slot",t==="default"?null:{name:t},s&&s());let o=e[t];o&&o._c&&(o._d=!1),To();const i=o&&Fo(o(n)),l=Oo(Te,{key:n.key||`_${t}`},i||(s?s():[]),i&&e._===1?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function Fo(e){return e.some(t=>Jt(t)?!(t.type===Me||t.type===Te&&!Fo(t.children)):!0)?e:null}const Gn=e=>e?Lo(e)?Ss(e)||e.proxy:Gn(e.parent):null,_n=me(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Gn(e.parent),$root:e=>Gn(e.root),$emit:e=>e.emit,$options:e=>yo(e),$forceUpdate:e=>()=>to(e.update),$nextTick:e=>eo.bind(e.proxy),$watch:e=>nl.bind(e)}),Hl={get({_:e},t){const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const b=i[t];if(b!==void 0)switch(b){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(s!==ne&&V(s,t))return i[t]=1,s[t];if(r!==ne&&V(r,t))return i[t]=2,r[t];if((f=e.propsOptions[0])&&V(f,t))return i[t]=3,o[t];if(n!==ne&&V(n,t))return i[t]=4,n[t];Qn&&(i[t]=0)}}const a=_n[t];let p,h;if(a)return t==="$attrs"&&xe(e,"get",t),a(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(n!==ne&&V(n,t))return i[t]=4,n[t];if(h=c.config.globalProperties,V(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return r!==ne&&V(r,t)?(r[t]=n,!0):s!==ne&&V(s,t)?(s[t]=n,!0):V(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==ne&&V(e,i)||t!==ne&&V(t,i)||(l=o[0])&&V(l,i)||V(s,i)||V(_n,i)||V(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?this.set(e,t,n.get(),null):n.value!=null&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Bl=wo();let $l=0;function kl(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Bl,o={uid:$l++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new ui(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:vo(s,r),emitsOptions:io(s,r),emit:null,emitted:null,propsDefaults:ne,inheritAttrs:s.inheritAttrs,ctx:ne,data:ne,props:ne,attrs:ne,slots:ne,refs:ne,setupState:ne,setupContext: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 o.ctx={_:o},o.root=t?t.root:o,o.emit=Yi.bind(null,o),e.ce&&e.ce(o),o}let he=null;const No=()=>he||Ce,wt=e=>{he=e,e.scope.on()},dt=()=>{he&&he.scope.off(),he=null};function Lo(e){return e.vnode.shapeFlag&4}let Xt=!1;function jl(e,t=!1){Xt=t;const{props:n,children:s}=e.vnode,r=Lo(e);vl(e,n,r,t),xl(e,s);const o=r?Dl(e,t):void 0;return Xt=!1,o}function Dl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Yr(new Proxy(e.ctx,Hl));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Ul(e):null;wt(e),Tt();const o=Ge(s,e,0,[e.props,r]);if(St(),dt(),Ir(o)){if(o.then(dt,dt),t)return o.then(i=>{er(e,i,t)}).catch(i=>{An(i,e,0)});e.asyncDep=o}else er(e,o,t)}else Ho(e,t)}function er(e,t,n){U(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:de(t)&&(e.setupState=Zr(t)),Ho(e,n)}let tr;function Ho(e,t,n){const s=e.type;if(!e.render){if(!t&&tr&&!s.render){const r=s.template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,f=me(me({isCustomElement:o,delimiters:l},i),c);s.render=tr(r,f)}}e.render=s.render||Ie}wt(e),Tt(),gl(e),St(),dt()}function Kl(e){return new Proxy(e.attrs,{get(t,n){return xe(e,"get","$attrs"),t[n]}})}function Ul(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=Kl(e))},slots:e.slots,emit:e.emit,expose:t}}function Ss(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Zr(Yr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in _n)return _n[n](e)}}))}function es(e){return U(e)&&e.displayName||e.name}function zl(e){return U(e)&&"__vccOpts"in e}const He=(e,t)=>Ki(e,t,Xt);function Os(e,t,n){const s=arguments.length;return s===2?de(t)&&!j(t)?Jt(t)?ye(e,null,[t]):ye(e,t):ye(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Jt(n)&&(n=[n]),ye(e,t,n))}const ql="3.2.31",Wl="http://www.w3.org/2000/svg",ct=typeof document!="undefined"?document:null,nr=ct&&ct.createElement("template"),Vl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?ct.createElementNS(Wl,e):ct.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>ct.createTextNode(e),createComment:e=>ct.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ct.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{nr.innerHTML=s?`<svg>${e}</svg>`:e;const l=nr.content;if(s){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Yl(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Ql(e,t,n){const s=e.style,r=ae(n);if(n&&!r){for(const o in n)ts(s,o,n[o]);if(t&&!ae(t))for(const o in t)n[o]==null&&ts(s,o,"")}else{const o=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=o)}}const sr=/\s*!important$/;function ts(e,t,n){if(j(n))n.forEach(s=>ts(e,t,s));else if(t.startsWith("--"))e.setProperty(t,n);else{const s=Jl(e,t);sr.test(n)?e.setProperty(Pt(s),n.replace(sr,""),"important"):e[s]=n}}const rr=["Webkit","Moz","ms"],Bn={};function Jl(e,t){const n=Bn[t];if(n)return n;let s=$e(t);if(s!=="filter"&&s in e)return Bn[t]=s;s=xn(s);for(let r=0;r<rr.length;r++){const o=rr[r]+s;if(o in e)return Bn[t]=o}return t}const or="http://www.w3.org/1999/xlink";function Xl(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(or,t.slice(6,t.length)):e.setAttributeNS(or,t,n);else{const o=Zo(t);n==null||o&&!Tr(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function Zl(e,t,n,s,r,o,i){if(t==="innerHTML"||t==="textContent"){s&&i(s,r,o),e[t]=n==null?"":n;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const l=n==null?"":n;(e.value!==l||e.tagName==="OPTION")&&(e.value=l),n==null&&e.removeAttribute(t);return}if(n===""||n==null){const l=typeof e[t];if(l==="boolean"){e[t]=Tr(n);return}else if(n==null&&l==="string"){e[t]="",e.removeAttribute(t);return}else if(l==="number"){try{e[t]=0}catch{}e.removeAttribute(t);return}}try{e[t]=n}catch{}}let yn=Date.now,Bo=!1;if(typeof window!="undefined"){yn()>document.createEvent("Event").timeStamp&&(yn=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);Bo=!!(e&&Number(e[1])<=53)}let ns=0;const Gl=Promise.resolve(),ec=()=>{ns=0},tc=()=>ns||(Gl.then(ec),ns=yn());function nc(e,t,n,s){e.addEventListener(t,n,s)}function sc(e,t,n,s){e.removeEventListener(t,n,s)}function rc(e,t,n,s,r=null){const o=e._vei||(e._vei={}),i=o[t];if(s&&i)i.value=s;else{const[l,c]=oc(t);if(s){const f=o[t]=ic(s,r);nc(e,l,f,c)}else i&&(sc(e,l,i,c),o[t]=void 0)}}const ir=/(?:Once|Passive|Capture)$/;function oc(e){let t;if(ir.test(e)){t={};let n;for(;n=e.match(ir);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[Pt(e.slice(2)),t]}function ic(e,t){const n=s=>{const r=s.timeStamp||yn();(Bo||r>=n.attached-1)&&Se(lc(s,n.value),t,5,[s])};return n.value=e,n.attached=tc(),n}function lc(e,t){if(j(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const lr=/^on[a-z]/,cc=(e,t,n,s,r=!1,o,i,l,c)=>{t==="class"?Yl(e,s,r):t==="style"?Ql(e,n,s):vn(t)?us(t)||rc(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):uc(e,t,s,r))?Zl(e,t,s,o,i,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Xl(e,t,s,r))};function uc(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&lr.test(t)&&U(n)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||lr.test(t)&&ae(n)?!1:t in e}const We="transition",Mt="animation",$o=(e,{slots:t})=>Os(uo,fc(e),t);$o.displayName="Transition";const ko={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};$o.props=me({},uo.props,ko);const rt=(e,t=[])=>{j(e)?e.forEach(n=>n(...t)):e&&e(...t)},cr=e=>e?j(e)?e.some(t=>t.length>1):e.length>1:!1;function fc(e){const t={};for(const L in e)L in ko||(t[L]=e[L]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:f=i,appearToClass:a=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:b=`${n}-leave-to`}=e,R=ac(r),N=R&&R[0],S=R&&R[1],{onBeforeEnter:O,onEnter:x,onEnterCancelled:I,onLeave:T,onLeaveCancelled:q,onBeforeAppear:Q=O,onAppear:k=x,onAppearCancelled:X=I}=t,J=(L,ue,be)=>{mt(L,ue?a:l),mt(L,ue?f:i),be&&be()},le=(L,ue)=>{mt(L,b),mt(L,h),ue&&ue()},ce=L=>(ue,be)=>{const ke=L?k:x,fe=()=>J(ue,L,be);rt(ke,[ue,fe]),ur(()=>{mt(ue,L?c:o),Ve(ue,L?a:l),cr(ke)||fr(ue,s,N,fe)})};return me(t,{onBeforeEnter(L){rt(O,[L]),Ve(L,o),Ve(L,i)},onBeforeAppear(L){rt(Q,[L]),Ve(L,c),Ve(L,f)},onEnter:ce(!1),onAppear:ce(!0),onLeave(L,ue){const be=()=>le(L,ue);Ve(L,p),pc(),Ve(L,h),ur(()=>{mt(L,p),Ve(L,b),cr(T)||fr(L,s,S,be)}),rt(T,[L,be])},onEnterCancelled(L){J(L,!1),rt(I,[L])},onAppearCancelled(L){J(L,!0),rt(X,[L])},onLeaveCancelled(L){le(L),rt(q,[L])}})}function ac(e){if(e==null)return null;if(de(e))return[$n(e.enter),$n(e.leave)];{const t=$n(e);return[t,t]}}function $n(e){return Nr(e)}function Ve(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function mt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function ur(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let dc=0;function fr(e,t,n,s){const r=e._endId=++dc,o=()=>{r===e._endId&&s()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=hc(e,t);if(!i)return s();const f=i+"end";let a=0;const p=()=>{e.removeEventListener(f,h),o()},h=b=>{b.target===e&&++a>=c&&p()};setTimeout(()=>{a<c&&p()},l+1),e.addEventListener(f,h)}function hc(e,t){const n=window.getComputedStyle(e),s=R=>(n[R]||"").split(", "),r=s(We+"Delay"),o=s(We+"Duration"),i=ar(r,o),l=s(Mt+"Delay"),c=s(Mt+"Duration"),f=ar(l,c);let a=null,p=0,h=0;t===We?i>0&&(a=We,p=i,h=o.length):t===Mt?f>0&&(a=Mt,p=f,h=c.length):(p=Math.max(i,f),a=p>0?i>f?We:Mt:null,h=a?a===We?o.length:c.length:0);const b=a===We&&/\b(transform|all)(,|$)/.test(n[We+"Property"]);return{type:a,timeout:p,propCount:h,hasTransform:b}}function ar(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>dr(n)+dr(e[s])))}function dr(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function pc(){return document.body.offsetHeight}const Fu={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ft(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Ft(e,!0),s.enter(e)):s.leave(e,()=>{Ft(e,!1)}):Ft(e,t))},beforeUnmount(e,{value:t}){Ft(e,t)}};function Ft(e,t){e.style.display=t?e._vod:"none"}const gc=me({patchProp:cc},Vl);let hr;function mc(){return hr||(hr=Pl(gc))}const Nu=(...e)=>{const t=mc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=_c(s);if(!r)return;const o=t._component;!U(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function _c(e){return ae(e)?document.querySelector(e):e}/*!
|
|
* vue-router v4.0.12
|
|
* (c) 2021 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/const jo=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Ot=e=>jo?Symbol(e):"_vr_"+e,yc=Ot("rvlm"),pr=Ot("rvd"),Is=Ot("r"),Do=Ot("rl"),ss=Ot("rvl"),vt=typeof window!="undefined";function bc(e){return e.__esModule||jo&&e[Symbol.toStringTag]==="Module"}const te=Object.assign;function kn(e,t){const n={};for(const s in t){const r=t[s];n[s]=Array.isArray(r)?r.map(e):e(r)}return n}const zt=()=>{},vc=/\/$/,Ec=e=>e.replace(vc,"");function jn(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("?"),c=t.indexOf("#",l>-1?l:0);return l>-1&&(s=t.slice(0,l),o=t.slice(l+1,c>-1?c:t.length),r=e(o)),c>-1&&(s=s||t.slice(0,c),i=t.slice(c,t.length)),s=Ac(s!=null?s:t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:i}}function Cc(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function gr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function xc(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&At(t.matched[s],n.matched[r])&&Ko(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function At(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ko(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!wc(e[n],t[n]))return!1;return!0}function wc(e,t){return Array.isArray(e)?mr(e,t):Array.isArray(t)?mr(t,e):e===t}function mr(e,t){return Array.isArray(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Ac(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/");let r=n.length-1,o,i;for(o=0;o<s.length;o++)if(i=s[o],!(r===1||i==="."))if(i==="..")r--;else break;return n.slice(0,r).join("/")+"/"+s.slice(o-(o===s.length?1:0)).join("/")}var Zt;(function(e){e.pop="pop",e.push="push"})(Zt||(Zt={}));var qt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(qt||(qt={}));function Rc(e){if(!e)if(vt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Ec(e)}const Pc=/^[^#]+#/;function Tc(e,t){return e.replace(Pc,"#")+t}function Sc(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const On=()=>({left:window.pageXOffset,top:window.pageYOffset});function Oc(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Sc(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function _r(e,t){return(history.state?history.state.position-t:-1)+e}const rs=new Map;function Ic(e,t){rs.set(e,t)}function Mc(e){const t=rs.get(e);return rs.delete(e),t}let Fc=()=>location.protocol+"//"+location.host;function Uo(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),gr(c,"")}return gr(n,e)+s+r}function Nc(e,t,n,s){let r=[],o=[],i=null;const l=({state:h})=>{const b=Uo(e,location),R=n.value,N=t.value;let S=0;if(h){if(n.value=b,t.value=h,i&&i===R){i=null;return}S=N?h.position-N.position:0}else s(b);r.forEach(O=>{O(n.value,R,{delta:S,type:Zt.pop,direction:S?S>0?qt.forward:qt.back:qt.unknown})})};function c(){i=n.value}function f(h){r.push(h);const b=()=>{const R=r.indexOf(h);R>-1&&r.splice(R,1)};return o.push(b),b}function a(){const{history:h}=window;!h.state||h.replaceState(te({},h.state,{scroll:On()}),"")}function p(){for(const h of o)h();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",a)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",a),{pauseListeners:c,listen:f,destroy:p}}function yr(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?On():null}}function Lc(e){const{history:t,location:n}=window,s={value:Uo(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,f,a){const p=e.indexOf("#"),h=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+c:Fc()+e+c;try{t[a?"replaceState":"pushState"](f,"",h),r.value=f}catch(b){console.error(b),n[a?"replace":"assign"](h)}}function i(c,f){const a=te({},t.state,yr(r.value.back,c,r.value.forward,!0),f,{position:r.value.position});o(c,a,!0),s.value=c}function l(c,f){const a=te({},r.value,t.state,{forward:c,scroll:On()});o(a.current,a,!0);const p=te({},yr(s.value,c,null),{position:a.position+1},f);o(c,p,!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function Hc(e){e=Rc(e);const t=Lc(e),n=Nc(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=te({location:"",base:e,go:s,createHref:Tc.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Lu(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Hc(e)}function Bc(e){return typeof e=="string"||e&&typeof e=="object"}function zo(e){return typeof e=="string"||typeof e=="symbol"}const Ye={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},qo=Ot("nf");var br;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(br||(br={}));function Rt(e,t){return te(new Error,{type:e,[qo]:!0},t)}function ot(e,t){return e instanceof Error&&qo in e&&(t==null||!!(e.type&t))}const vr="[^/]+?",$c={sensitive:!1,strict:!1,start:!0,end:!0},kc=/[.+*?^${}()[\]/\\]/g;function jc(e,t){const n=te({},$c,t),s=[];let r=n.start?"^":"";const o=[];for(const f of e){const a=f.length?[]:[90];n.strict&&!f.length&&(r+="/");for(let p=0;p<f.length;p++){const h=f[p];let b=40+(n.sensitive?.25:0);if(h.type===0)p||(r+="/"),r+=h.value.replace(kc,"\\$&"),b+=40;else if(h.type===1){const{value:R,repeatable:N,optional:S,regexp:O}=h;o.push({name:R,repeatable:N,optional:S});const x=O||vr;if(x!==vr){b+=10;try{new RegExp(`(${x})`)}catch(T){throw new Error(`Invalid custom RegExp for param "${R}" (${x}): `+T.message)}}let I=N?`((?:${x})(?:/(?:${x}))*)`:`(${x})`;p||(I=S&&f.length<2?`(?:/${I})`:"/"+I),S&&(I+="?"),r+=I,b+=20,S&&(b+=-8),N&&(b+=-20),x===".*"&&(b+=-50)}a.push(b)}s.push(a)}if(n.strict&&n.end){const f=s.length-1;s[f][s[f].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function l(f){const a=f.match(i),p={};if(!a)return null;for(let h=1;h<a.length;h++){const b=a[h]||"",R=o[h-1];p[R.name]=b&&R.repeatable?b.split("/"):b}return p}function c(f){let a="",p=!1;for(const h of e){(!p||!a.endsWith("/"))&&(a+="/"),p=!1;for(const b of h)if(b.type===0)a+=b.value;else if(b.type===1){const{value:R,repeatable:N,optional:S}=b,O=R in f?f[R]:"";if(Array.isArray(O)&&!N)throw new Error(`Provided param "${R}" is an array but it is not repeatable (* or + modifiers)`);const x=Array.isArray(O)?O.join("/"):O;if(!x)if(S)h.length<2&&(a.endsWith("/")?a=a.slice(0,-1):p=!0);else throw new Error(`Missing required param "${R}"`);a+=x}}return a}return{re:i,score:s,keys:o,parse:l,stringify:c}}function Dc(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function Kc(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=Dc(s[n],r[n]);if(o)return o;n++}return r.length-s.length}const Uc={type:0,value:""},zc=/[a-zA-Z0-9_]/;function qc(e){if(!e)return[[]];if(e==="/")return[[Uc]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(b){throw new Error(`ERR (${n})/"${f}": ${b}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,f="",a="";function p(){!f||(n===0?o.push({type:0,value:f}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:f,regexp:a,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),f="")}function h(){f+=c}for(;l<e.length;){if(c=e[l++],c==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:c==="/"?(f&&p(),i()):c===":"?(p(),n=1):h();break;case 4:h(),n=s;break;case 1:c==="("?n=2:zc.test(c)?h():(p(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&l--);break;case 2:c===")"?a[a.length-1]=="\\"?a=a.slice(0,-1)+c:n=3:a+=c;break;case 3:p(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&l--,a="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${f}"`),p(),i(),r}function Wc(e,t,n){const s=jc(qc(e.path),n),r=te(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Vc(e,t){const n=[],s=new Map;t=Cr({strict:!1,end:!0,sensitive:!1},t);function r(a){return s.get(a)}function o(a,p,h){const b=!h,R=Qc(a);R.aliasOf=h&&h.record;const N=Cr(t,a),S=[R];if("alias"in a){const I=typeof a.alias=="string"?[a.alias]:a.alias;for(const T of I)S.push(te({},R,{components:h?h.record.components:R.components,path:T,aliasOf:h?h.record:R}))}let O,x;for(const I of S){const{path:T}=I;if(p&&T[0]!=="/"){const q=p.record.path,Q=q[q.length-1]==="/"?"":"/";I.path=p.record.path+(T&&Q+T)}if(O=Wc(I,p,N),h?h.alias.push(O):(x=x||O,x!==O&&x.alias.push(O),b&&a.name&&!Er(O)&&i(a.name)),"children"in R){const q=R.children;for(let Q=0;Q<q.length;Q++)o(q[Q],O,h&&h.children[Q])}h=h||O,c(O)}return x?()=>{i(x)}:zt}function i(a){if(zo(a)){const p=s.get(a);p&&(s.delete(a),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(a);p>-1&&(n.splice(p,1),a.record.name&&s.delete(a.record.name),a.children.forEach(i),a.alias.forEach(i))}}function l(){return n}function c(a){let p=0;for(;p<n.length&&Kc(a,n[p])>=0;)p++;n.splice(p,0,a),a.record.name&&!Er(a)&&s.set(a.record.name,a)}function f(a,p){let h,b={},R,N;if("name"in a&&a.name){if(h=s.get(a.name),!h)throw Rt(1,{location:a});N=h.record.name,b=te(Yc(p.params,h.keys.filter(x=>!x.optional).map(x=>x.name)),a.params),R=h.stringify(b)}else if("path"in a)R=a.path,h=n.find(x=>x.re.test(R)),h&&(b=h.parse(R),N=h.record.name);else{if(h=p.name?s.get(p.name):n.find(x=>x.re.test(p.path)),!h)throw Rt(1,{location:a,currentLocation:p});N=h.record.name,b=te({},p.params,a.params),R=h.stringify(b)}const S=[];let O=h;for(;O;)S.unshift(O.record),O=O.parent;return{name:N,path:R,params:b,matched:S,meta:Xc(S)}}return e.forEach(a=>o(a)),{addRoute:o,resolve:f,removeRoute:i,getRoutes:l,getRecordMatcher:r}}function Yc(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Qc(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Jc(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function Jc(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="boolean"?n:n[s];return t}function Er(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Xc(e){return e.reduce((t,n)=>te(t,n.meta),{})}function Cr(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const Wo=/#/g,Zc=/&/g,Gc=/\//g,eu=/=/g,tu=/\?/g,Vo=/\+/g,nu=/%5B/g,su=/%5D/g,Yo=/%5E/g,ru=/%60/g,Qo=/%7B/g,ou=/%7C/g,Jo=/%7D/g,iu=/%20/g;function Ms(e){return encodeURI(""+e).replace(ou,"|").replace(nu,"[").replace(su,"]")}function lu(e){return Ms(e).replace(Qo,"{").replace(Jo,"}").replace(Yo,"^")}function os(e){return Ms(e).replace(Vo,"%2B").replace(iu,"+").replace(Wo,"%23").replace(Zc,"%26").replace(ru,"`").replace(Qo,"{").replace(Jo,"}").replace(Yo,"^")}function cu(e){return os(e).replace(eu,"%3D")}function uu(e){return Ms(e).replace(Wo,"%23").replace(tu,"%3F")}function fu(e){return e==null?"":uu(e).replace(Gc,"%2F")}function bn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function au(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<s.length;++r){const o=s[r].replace(Vo," "),i=o.indexOf("="),l=bn(i<0?o:o.slice(0,i)),c=i<0?null:bn(o.slice(i+1));if(l in t){let f=t[l];Array.isArray(f)||(f=t[l]=[f]),f.push(c)}else t[l]=c}return t}function xr(e){let t="";for(let n in e){const s=e[n];if(n=cu(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Array.isArray(s)?s.map(o=>o&&os(o)):[s&&os(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function du(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Array.isArray(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}function Nt(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function Xe(e,t,n,s,r){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((i,l)=>{const c=p=>{p===!1?l(Rt(4,{from:n,to:t})):p instanceof Error?l(p):Bc(p)?l(Rt(2,{from:t,to:p})):(o&&s.enterCallbacks[r]===o&&typeof p=="function"&&o.push(p),i())},f=e.call(s&&s.instances[r],t,n,c);let a=Promise.resolve(f);e.length<3&&(a=a.then(c)),a.catch(p=>l(p))})}function Dn(e,t,n,s){const r=[];for(const o of e)for(const i in o.components){let l=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(hu(l)){const f=(l.__vccOpts||l)[t];f&&r.push(Xe(f,n,s,o,i))}else{let c=l();r.push(()=>c.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const a=bc(f)?f.default:f;o.components[i]=a;const h=(a.__vccOpts||a)[t];return h&&Xe(h,n,s,o,i)()}))}}return r}function hu(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function wr(e){const t=et(Is),n=et(Do),s=He(()=>t.resolve(kt(e.to))),r=He(()=>{const{matched:c}=s.value,{length:f}=c,a=c[f-1],p=n.matched;if(!a||!p.length)return-1;const h=p.findIndex(At.bind(null,a));if(h>-1)return h;const b=Ar(c[f-2]);return f>1&&Ar(a)===b&&p[p.length-1].path!==b?p.findIndex(At.bind(null,c[f-2])):h}),o=He(()=>r.value>-1&&_u(n.params,s.value.params)),i=He(()=>r.value>-1&&r.value===n.matched.length-1&&Ko(n.params,s.value.params));function l(c={}){return mu(c)?t[kt(e.replace)?"replace":"push"](kt(e.to)).catch(zt):Promise.resolve()}return{route:s,href:He(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}const pu=ho({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:wr,setup(e,{slots:t}){const n=Gt(wr(e)),{options:s}=et(Is),r=He(()=>({[Rr(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Rr(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Os("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),gu=pu;function mu(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function _u(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Array.isArray(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function Ar(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Rr=(e,t,n)=>e!=null?e:t!=null?t:n,yu=ho({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(e,{attrs:t,slots:n}){const s=et(ss),r=He(()=>e.route||s.value),o=et(pr,0),i=He(()=>r.value.matched[o]);ln(pr,o+1),ln(yc,i),ln(ss,r);const l=Bi();return Kt(()=>[l.value,i.value,e.name],([c,f,a],[p,h,b])=>{f&&(f.instances[a]=c,h&&h!==f&&c&&c===p&&(f.leaveGuards.size||(f.leaveGuards=h.leaveGuards),f.updateGuards.size||(f.updateGuards=h.updateGuards))),c&&f&&(!h||!At(f,h)||!p)&&(f.enterCallbacks[a]||[]).forEach(R=>R(c))},{flush:"post"}),()=>{const c=r.value,f=i.value,a=f&&f.components[e.name],p=e.name;if(!a)return Pr(n.default,{Component:a,route:c});const h=f.props[e.name],b=h?h===!0?c.params:typeof h=="function"?h(c):h:null,N=Os(a,te({},b,t,{onVnodeUnmounted:S=>{S.component.isUnmounted&&(f.instances[p]=null)},ref:l}));return Pr(n.default,{Component:N,route:c})||N}}});function Pr(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const bu=yu;function Hu(e){const t=Vc(e.routes,e),n=e.parseQuery||au,s=e.stringifyQuery||xr,r=e.history,o=Nt(),i=Nt(),l=Nt(),c=$i(Ye);let f=Ye;vt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const a=kn.bind(null,m=>""+m),p=kn.bind(null,fu),h=kn.bind(null,bn);function b(m,F){let A,H;return zo(m)?(A=t.getRecordMatcher(m),H=F):H=m,t.addRoute(H,A)}function R(m){const F=t.getRecordMatcher(m);F&&t.removeRoute(F)}function N(){return t.getRoutes().map(m=>m.record)}function S(m){return!!t.getRecordMatcher(m)}function O(m,F){if(F=te({},F||c.value),typeof m=="string"){const K=jn(n,m,F.path),u=t.resolve({path:K.path},F),d=r.createHref(K.fullPath);return te(K,u,{params:h(u.params),hash:bn(K.hash),redirectedFrom:void 0,href:d})}let A;if("path"in m)A=te({},m,{path:jn(n,m.path,F.path).path});else{const K=te({},m.params);for(const u in K)K[u]==null&&delete K[u];A=te({},m,{params:p(m.params)}),F.params=p(F.params)}const H=t.resolve(A,F),G=m.hash||"";H.params=a(h(H.params));const re=Cc(s,te({},m,{hash:lu(G),path:H.path})),z=r.createHref(re);return te({fullPath:re,hash:G,query:s===xr?du(m.query):m.query||{}},H,{redirectedFrom:void 0,href:z})}function x(m){return typeof m=="string"?jn(n,m,c.value.path):te({},m)}function I(m,F){if(f!==m)return Rt(8,{from:F,to:m})}function T(m){return k(m)}function q(m){return T(te(x(m),{replace:!0}))}function Q(m){const F=m.matched[m.matched.length-1];if(F&&F.redirect){const{redirect:A}=F;let H=typeof A=="function"?A(m):A;return typeof H=="string"&&(H=H.includes("?")||H.includes("#")?H=x(H):{path:H},H.params={}),te({query:m.query,hash:m.hash,params:m.params},H)}}function k(m,F){const A=f=O(m),H=c.value,G=m.state,re=m.force,z=m.replace===!0,K=Q(A);if(K)return k(te(x(K),{state:G,force:re,replace:z}),F||A);const u=A;u.redirectedFrom=F;let d;return!re&&xc(s,H,A)&&(d=Rt(16,{to:u,from:H}),pt(H,H,!0,!1)),(d?Promise.resolve(d):J(u,H)).catch(g=>ot(g)?g:se(g,u,H)).then(g=>{if(g){if(ot(g,2))return k(te(x(g.to),{state:G,force:re,replace:z}),F||u)}else g=ce(u,H,!0,z,G);return le(u,H,g),g})}function X(m,F){const A=I(m,F);return A?Promise.reject(A):Promise.resolve()}function J(m,F){let A;const[H,G,re]=vu(m,F);A=Dn(H.reverse(),"beforeRouteLeave",m,F);for(const K of H)K.leaveGuards.forEach(u=>{A.push(Xe(u,m,F))});const z=X.bind(null,m,F);return A.push(z),_t(A).then(()=>{A=[];for(const K of o.list())A.push(Xe(K,m,F));return A.push(z),_t(A)}).then(()=>{A=Dn(G,"beforeRouteUpdate",m,F);for(const K of G)K.updateGuards.forEach(u=>{A.push(Xe(u,m,F))});return A.push(z),_t(A)}).then(()=>{A=[];for(const K of m.matched)if(K.beforeEnter&&!F.matched.includes(K))if(Array.isArray(K.beforeEnter))for(const u of K.beforeEnter)A.push(Xe(u,m,F));else A.push(Xe(K.beforeEnter,m,F));return A.push(z),_t(A)}).then(()=>(m.matched.forEach(K=>K.enterCallbacks={}),A=Dn(re,"beforeRouteEnter",m,F),A.push(z),_t(A))).then(()=>{A=[];for(const K of i.list())A.push(Xe(K,m,F));return A.push(z),_t(A)}).catch(K=>ot(K,8)?K:Promise.reject(K))}function le(m,F,A){for(const H of l.list())H(m,F,A)}function ce(m,F,A,H,G){const re=I(m,F);if(re)return re;const z=F===Ye,K=vt?history.state:{};A&&(H||z?r.replace(m.fullPath,te({scroll:z&&K&&K.scroll},G)):r.push(m.fullPath,G)),c.value=m,pt(m,F,A,z),we()}let L;function ue(){L=r.listen((m,F,A)=>{const H=O(m),G=Q(H);if(G){k(te(G,{replace:!0}),H).catch(zt);return}f=H;const re=c.value;vt&&Ic(_r(re.fullPath,A.delta),On()),J(H,re).catch(z=>ot(z,12)?z:ot(z,2)?(k(z.to,H).then(K=>{ot(K,20)&&!A.delta&&A.type===Zt.pop&&r.go(-1,!1)}).catch(zt),Promise.reject()):(A.delta&&r.go(-A.delta,!1),se(z,H,re))).then(z=>{z=z||ce(H,re,!1),z&&(A.delta?r.go(-A.delta,!1):A.type===Zt.pop&&ot(z,20)&&r.go(-1,!1)),le(H,re,z)}).catch(zt)})}let be=Nt(),ke=Nt(),fe;function se(m,F,A){we(m);const H=ke.list();return H.length?H.forEach(G=>G(m,F,A)):console.error(m),Promise.reject(m)}function Z(){return fe&&c.value!==Ye?Promise.resolve():new Promise((m,F)=>{be.add([m,F])})}function we(m){fe||(fe=!0,ue(),be.list().forEach(([F,A])=>m?A(m):F()),be.reset())}function pt(m,F,A,H){const{scrollBehavior:G}=e;if(!vt||!G)return Promise.resolve();const re=!A&&Mc(_r(m.fullPath,0))||(H||!A)&&history.state&&history.state.scroll||null;return eo().then(()=>G(m,F,re)).then(z=>z&&Oc(z)).catch(z=>se(z,m,F))}const je=m=>r.go(m);let Fe;const Ae=new Set;return{currentRoute:c,addRoute:b,removeRoute:R,hasRoute:S,getRoutes:N,resolve:O,options:e,push:T,replace:q,go:je,back:()=>je(-1),forward:()=>je(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:ke.add,isReady:Z,install(m){const F=this;m.component("RouterLink",gu),m.component("RouterView",bu),m.config.globalProperties.$router=F,Object.defineProperty(m.config.globalProperties,"$route",{enumerable:!0,get:()=>kt(c)}),vt&&!Fe&&c.value===Ye&&(Fe=!0,T(r.location).catch(G=>{}));const A={};for(const G in Ye)A[G]=He(()=>c.value[G]);m.provide(Is,F),m.provide(Do,Gt(A)),m.provide(ss,c);const H=m.unmount;Ae.add(m),m.unmount=function(){Ae.delete(m),Ae.size<1&&(f=Ye,L&&L(),c.value=Ye,Fe=!1,fe=!1),H()}}}}function _t(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function vu(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const l=t.matched[i];l&&(e.matched.find(f=>At(f,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(f=>At(f,c))||r.push(c))}return[n,s,r]}export{Te as F,wu as K,$o as T,Tu as a,Iu as b,Oo as c,Mo as d,ye as e,Ou as f,ls as g,Nl as h,Mu as i,Au as j,xu as k,Hu as l,Lu as m,cs as n,To as o,Cu as p,eo as q,Ru as r,Nu as s,Eu as t,Su as u,Fu as v,Qi as w,Kt as x,Pu as y};
|