mirror of
https://github.com/MeoProject/lx-music-api-server.git
synced 2025-07-05 19:49:00 +08:00
31 lines
215 KiB
JavaScript
31 lines
215 KiB
JavaScript
const __vite__fileDeps=["assets/index.html-CtuKDaUj.js","assets/plugin-vue_export-helper-DlAUqK2U.js","assets/index.html-DhMQOp1d.js","assets/deploy-linux.html-RPPQ2VsH.js","assets/deploy-windows.html-BQcqmpEF.js","assets/index.html-BoHpYDr9.js","assets/api.html-HY3hTcwQ.js","assets/404.html-B52eZklz.js","assets/index.html-Dlnwdrhm.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
|
|
/**
|
|
* @vue/shared v3.5.16
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**//*! #__NO_SIDE_EFFECTS__ */function ho(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const me={},_n=[],xt=()=>{},mu=()=>!1,yr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),vo=e=>e.startsWith("onUpdate:"),Ae=Object.assign,go=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},bu=Object.prototype.hasOwnProperty,ue=(e,t)=>bu.call(e,t),ee=Array.isArray,Qn=e=>ns(e)==="[object Map]",yu=e=>ns(e)==="[object Set]",ne=e=>typeof e=="function",Le=e=>typeof e=="string",Dn=e=>typeof e=="symbol",we=e=>e!==null&&typeof e=="object",gi=e=>(we(e)||ne(e))&&ne(e.then)&&ne(e.catch),wu=Object.prototype.toString,ns=e=>wu.call(e),_u=e=>ns(e).slice(8,-1),Cu=e=>ns(e)==="[object Object]",mo=e=>Le(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Cn=ho(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),rs=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Su=/-(\w)/g,Ke=rs(e=>e.replace(Su,(t,n)=>n?n.toUpperCase():"")),Eu=/\B([A-Z])/g,un=rs(e=>e.replace(Eu,"-$1").toLowerCase()),wr=rs(e=>e.charAt(0).toUpperCase()+e.slice(1)),gs=rs(e=>e?`on${wr(e)}`:""),Kt=(e,t)=>!Object.is(e,t),ms=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},mi=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},xu=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Tu=e=>{const t=Le(e)?Number(e):NaN;return isNaN(t)?e:t};let Xo;const ss=()=>Xo||(Xo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function bo(e){if(ee(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Le(r)?Ru(r):bo(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(Le(e)||we(e))return e}const ku=/;(?![^(]*\))/g,Au=/:([^]+)/,Lu=/\/\*[^]*?\*\//g;function Ru(e){const t={};return e.replace(Lu,"").split(ku).forEach(n=>{if(n){const r=n.split(Au);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function yo(e){let t="";if(Le(e))t=e;else if(ee(e))for(let n=0;n<e.length;n++){const r=yo(e[n]);r&&(t+=r+" ")}else if(we(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Ou="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Pu=ho(Ou);function bi(e){return!!e||e===""}/**
|
|
* @vue/reactivity v3.5.16
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let He;class Iu{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=He,!t&&He&&(this.index=(He.scopes||(He.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=He;try{return He=this,t()}finally{He=n}}}on(){++this._on===1&&(this.prevScope=He,He=this)}off(){this._on>0&&--this._on===0&&(He=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function yi(){return He}function Mu(e,t=!1){He&&He.cleanups.push(e)}let ge;const bs=new WeakSet;class wi{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,He&&He.active&&He.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,bs.has(this)&&(bs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ci(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Zo(this),Si(this);const t=ge,n=dt;ge=this,dt=!0;try{return this.fn()}finally{Ei(this),ge=t,dt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Co(t);this.deps=this.depsTail=void 0,Zo(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?bs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ws(this)&&this.run()}get dirty(){return Ws(this)}}let _i=0,Xn,Zn;function Ci(e,t=!1){if(e.flags|=8,t){e.next=Zn,Zn=e;return}e.next=Xn,Xn=e}function wo(){_i++}function _o(){if(--_i>0)return;if(Zn){let t=Zn;for(Zn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Xn;){let t=Xn;for(Xn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Si(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ei(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),Co(r),$u(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Ws(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(xi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function xi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===lr)||(e.globalVersion=lr,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ws(e))))return;e.flags|=2;const t=e.dep,n=ge,r=dt;ge=e,dt=!0;try{Si(e);const s=e.fn(e._value);(t.version===0||Kt(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{ge=n,dt=r,Ei(e),e.flags&=-3}}function Co(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Co(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function $u(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let dt=!0;const Ti=[];function $t(){Ti.push(dt),dt=!1}function Nt(){const e=Ti.pop();dt=e===void 0?!0:e}function Zo(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ge;ge=void 0;try{t()}finally{ge=n}}}let lr=0;class Nu{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class os{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!ge||!dt||ge===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ge)n=this.activeLink=new Nu(ge,this),ge.deps?(n.prevDep=ge.depsTail,ge.depsTail.nextDep=n,ge.depsTail=n):ge.deps=ge.depsTail=n,ki(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=ge.depsTail,n.nextDep=void 0,ge.depsTail.nextDep=n,ge.depsTail=n,ge.deps===n&&(ge.deps=r)}return n}trigger(t){this.version++,lr++,this.notify(t)}notify(t){wo();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{_o()}}}function ki(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)ki(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Gr=new WeakMap,rn=Symbol(""),qs=Symbol(""),ir=Symbol("");function je(e,t,n){if(dt&&ge){let r=Gr.get(e);r||Gr.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new os),s.map=r,s.key=n),s.track()}}function Mt(e,t,n,r,s,o){const l=Gr.get(e);if(!l){lr++;return}const i=a=>{a&&a.trigger()};if(wo(),t==="clear")l.forEach(i);else{const a=ee(e),u=a&&mo(n);if(a&&n==="length"){const c=Number(r);l.forEach((d,p)=>{(p==="length"||p===ir||!Dn(p)&&p>=c)&&i(d)})}else switch((n!==void 0||l.has(void 0))&&i(l.get(n)),u&&i(l.get(ir)),t){case"add":a?u&&i(l.get("length")):(i(l.get(rn)),Qn(e)&&i(l.get(qs)));break;case"delete":a||(i(l.get(rn)),Qn(e)&&i(l.get(qs)));break;case"set":Qn(e)&&i(l.get(rn));break}}_o()}function Du(e,t){const n=Gr.get(e);return n&&n.get(t)}function hn(e){const t=le(e);return t===e?t:(je(t,"iterate",ir),pt(e)?t:t.map(Be))}function So(e){return je(e=le(e),"iterate",ir),e}const Hu={__proto__:null,[Symbol.iterator](){return ys(this,Symbol.iterator,Be)},concat(...e){return hn(this).concat(...e.map(t=>ee(t)?hn(t):t))},entries(){return ys(this,"entries",e=>(e[1]=Be(e[1]),e))},every(e,t){return Lt(this,"every",e,t,void 0,arguments)},filter(e,t){return Lt(this,"filter",e,t,n=>n.map(Be),arguments)},find(e,t){return Lt(this,"find",e,t,Be,arguments)},findIndex(e,t){return Lt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Lt(this,"findLast",e,t,Be,arguments)},findLastIndex(e,t){return Lt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Lt(this,"forEach",e,t,void 0,arguments)},includes(...e){return ws(this,"includes",e)},indexOf(...e){return ws(this,"indexOf",e)},join(e){return hn(this).join(e)},lastIndexOf(...e){return ws(this,"lastIndexOf",e)},map(e,t){return Lt(this,"map",e,t,void 0,arguments)},pop(){return qn(this,"pop")},push(...e){return qn(this,"push",e)},reduce(e,...t){return el(this,"reduce",e,t)},reduceRight(e,...t){return el(this,"reduceRight",e,t)},shift(){return qn(this,"shift")},some(e,t){return Lt(this,"some",e,t,void 0,arguments)},splice(...e){return qn(this,"splice",e)},toReversed(){return hn(this).toReversed()},toSorted(e){return hn(this).toSorted(e)},toSpliced(...e){return hn(this).toSpliced(...e)},unshift(...e){return qn(this,"unshift",e)},values(){return ys(this,"values",Be)}};function ys(e,t,n){const r=So(e),s=r[t]();return r!==e&&!pt(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.value&&(o.value=n(o.value)),o}),s}const ju=Array.prototype;function Lt(e,t,n,r,s,o){const l=So(e),i=l!==e&&!pt(e),a=l[t];if(a!==ju[t]){const d=a.apply(e,o);return i?Be(d):d}let u=n;l!==e&&(i?u=function(d,p){return n.call(this,Be(d),p,e)}:n.length>2&&(u=function(d,p){return n.call(this,d,p,e)}));const c=a.call(l,u,r);return i&&s?s(c):c}function el(e,t,n,r){const s=So(e);let o=n;return s!==e&&(pt(e)?n.length>3&&(o=function(l,i,a){return n.call(this,l,i,a,e)}):o=function(l,i,a){return n.call(this,l,Be(i),a,e)}),s[t](o,...r)}function ws(e,t,n){const r=le(e);je(r,"iterate",ir);const s=r[t](...n);return(s===-1||s===!1)&&To(n[0])?(n[0]=le(n[0]),r[t](...n)):s}function qn(e,t,n=[]){$t(),wo();const r=le(e)[t].apply(e,n);return _o(),Nt(),r}const Fu=ho("__proto__,__v_isRef,__isVue"),Ai=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Dn));function Bu(e){Dn(e)||(e=String(e));const t=le(this);return je(t,"has",e),t.hasOwnProperty(e)}class Li{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?Qu:Ii:o?Pi:Oi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const l=ee(t);if(!s){let a;if(l&&(a=Hu[n]))return a;if(n==="hasOwnProperty")return Bu}const i=Reflect.get(t,n,xe(t)?t:r);return(Dn(n)?Ai.has(n):Fu(n))||(s||je(t,"get",n),o)?i:xe(i)?l&&mo(n)?i:i.value:we(i)?s?Cr(i):_r(i):i}}class Ri extends Li{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const a=ln(o);if(!pt(r)&&!ln(r)&&(o=le(o),r=le(r)),!ee(t)&&xe(o)&&!xe(r))return a?!1:(o.value=r,!0)}const l=ee(t)&&mo(n)?Number(n)<t.length:ue(t,n),i=Reflect.set(t,n,r,xe(t)?t:s);return t===le(s)&&(l?Kt(r,o)&&Mt(t,"set",n,r):Mt(t,"add",n,r)),i}deleteProperty(t,n){const r=ue(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&Mt(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!Dn(n)||!Ai.has(n))&&je(t,"has",n),r}ownKeys(t){return je(t,"iterate",ee(t)?"length":rn),Reflect.ownKeys(t)}}class Vu extends Li{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const zu=new Ri,Wu=new Vu,qu=new Ri(!0);const Us=e=>e,Mr=e=>Reflect.getPrototypeOf(e);function Uu(e,t,n){return function(...r){const s=this.__v_raw,o=le(s),l=Qn(o),i=e==="entries"||e===Symbol.iterator&&l,a=e==="keys"&&l,u=s[e](...r),c=n?Us:t?Gs:Be;return!t&&je(o,"iterate",a?qs:rn),{next(){const{value:d,done:p}=u.next();return p?{value:d,done:p}:{value:i?[c(d[0]),c(d[1])]:c(d),done:p}},[Symbol.iterator](){return this}}}}function $r(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Gu(e,t){const n={get(s){const o=this.__v_raw,l=le(o),i=le(s);e||(Kt(s,i)&&je(l,"get",s),je(l,"get",i));const{has:a}=Mr(l),u=t?Us:e?Gs:Be;if(a.call(l,s))return u(o.get(s));if(a.call(l,i))return u(o.get(i));o!==l&&o.get(s)},get size(){const s=this.__v_raw;return!e&&je(le(s),"iterate",rn),Reflect.get(s,"size",s)},has(s){const o=this.__v_raw,l=le(o),i=le(s);return e||(Kt(s,i)&&je(l,"has",s),je(l,"has",i)),s===i?o.has(s):o.has(s)||o.has(i)},forEach(s,o){const l=this,i=l.__v_raw,a=le(i),u=t?Us:e?Gs:Be;return!e&&je(a,"iterate",rn),i.forEach((c,d)=>s.call(o,u(c),u(d),l))}};return Ae(n,e?{add:$r("add"),set:$r("set"),delete:$r("delete"),clear:$r("clear")}:{add(s){!t&&!pt(s)&&!ln(s)&&(s=le(s));const o=le(this);return Mr(o).has.call(o,s)||(o.add(s),Mt(o,"add",s,s)),this},set(s,o){!t&&!pt(o)&&!ln(o)&&(o=le(o));const l=le(this),{has:i,get:a}=Mr(l);let u=i.call(l,s);u||(s=le(s),u=i.call(l,s));const c=a.call(l,s);return l.set(s,o),u?Kt(o,c)&&Mt(l,"set",s,o):Mt(l,"add",s,o),this},delete(s){const o=le(this),{has:l,get:i}=Mr(o);let a=l.call(o,s);a||(s=le(s),a=l.call(o,s)),i&&i.call(o,s);const u=o.delete(s);return a&&Mt(o,"delete",s,void 0),u},clear(){const s=le(this),o=s.size!==0,l=s.clear();return o&&Mt(s,"clear",void 0,void 0),l}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Uu(s,e,t)}),n}function Eo(e,t){const n=Gu(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(ue(n,s)&&s in r?n:r,s,o)}const Ku={get:Eo(!1,!1)},Yu={get:Eo(!1,!0)},Ju={get:Eo(!0,!1)};const Oi=new WeakMap,Pi=new WeakMap,Ii=new WeakMap,Qu=new WeakMap;function Xu(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Zu(e){return e.__v_skip||!Object.isExtensible(e)?0:Xu(_u(e))}function _r(e){return ln(e)?e:xo(e,!1,zu,Ku,Oi)}function Mi(e){return xo(e,!1,qu,Yu,Pi)}function Cr(e){return xo(e,!0,Wu,Ju,Ii)}function xo(e,t,n,r,s){if(!we(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=Zu(e);if(o===0)return e;const l=s.get(e);if(l)return l;const i=new Proxy(e,o===2?r:n);return s.set(e,i),i}function Sn(e){return ln(e)?Sn(e.__v_raw):!!(e&&e.__v_isReactive)}function ln(e){return!!(e&&e.__v_isReadonly)}function pt(e){return!!(e&&e.__v_isShallow)}function To(e){return e?!!e.__v_raw:!1}function le(e){const t=e&&e.__v_raw;return t?le(t):e}function ef(e){return!ue(e,"__v_skip")&&Object.isExtensible(e)&&mi(e,"__v_skip",!0),e}const Be=e=>we(e)?_r(e):e,Gs=e=>we(e)?Cr(e):e;function xe(e){return e?e.__v_isRef===!0:!1}function te(e){return $i(e,!1)}function Re(e){return $i(e,!0)}function $i(e,t){return xe(e)?e:new tf(e,t)}class tf{constructor(t,n){this.dep=new os,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:le(t),this._value=n?t:Be(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||pt(t)||ln(t);t=r?t:le(t),Kt(t,n)&&(this._rawValue=t,this._value=r?t:Be(t),this.dep.trigger())}}function sn(e){return xe(e)?e.value:e}const nf={get:(e,t,n)=>t==="__v_raw"?e:sn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return xe(s)&&!xe(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Ni(e){return Sn(e)?e:new Proxy(e,nf)}class rf{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new os,{get:r,set:s}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function ko(e){return new rf(e)}class sf{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Du(le(this._object),this._key)}}class of{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function ls(e,t,n){return xe(e)?e:ne(e)?new of(e):we(e)&&arguments.length>1?lf(e,t,n):te(e)}function lf(e,t,n){const r=e[t];return xe(r)?r:new sf(e,t,n)}class af{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new os(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=lr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&ge!==this)return Ci(this,!0),!0}get value(){const t=this.dep.track();return xi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function cf(e,t,n=!1){let r,s;return ne(e)?r=e:(r=e.get,s=e.set),new af(r,s,n)}const Nr={},Kr=new WeakMap;let en;function uf(e,t=!1,n=en){if(n){let r=Kr.get(n);r||Kr.set(n,r=[]),r.push(e)}}function ff(e,t,n=me){const{immediate:r,deep:s,once:o,scheduler:l,augmentJob:i,call:a}=n,u=C=>s?C:pt(C)||s===!1||s===0?Gt(C,1):Gt(C);let c,d,p,h,b=!1,y=!1;if(xe(e)?(d=()=>e.value,b=pt(e)):Sn(e)?(d=()=>u(e),b=!0):ee(e)?(y=!0,b=e.some(C=>Sn(C)||pt(C)),d=()=>e.map(C=>{if(xe(C))return C.value;if(Sn(C))return u(C);if(ne(C))return a?a(C,2):C()})):ne(e)?t?d=a?()=>a(e,2):e:d=()=>{if(p){$t();try{p()}finally{Nt()}}const C=en;en=c;try{return a?a(e,3,[h]):e(h)}finally{en=C}}:d=xt,t&&s){const C=d,P=s===!0?1/0:s;d=()=>Gt(C(),P)}const _=yi(),w=()=>{c.stop(),_&&_.active&&go(_.effects,c)};if(o&&t){const C=t;t=(...P)=>{C(...P),w()}}let E=y?new Array(e.length).fill(Nr):Nr;const m=C=>{if(!(!(c.flags&1)||!c.dirty&&!C))if(t){const P=c.run();if(s||b||(y?P.some((A,$)=>Kt(A,E[$])):Kt(P,E))){p&&p();const A=en;en=c;try{const $=[P,E===Nr?void 0:y&&E[0]===Nr?[]:E,h];E=P,a?a(t,3,$):t(...$)}finally{en=A}}}else c.run()};return i&&i(m),c=new wi(d),c.scheduler=l?()=>l(m,!1):m,h=C=>uf(C,!1,c),p=c.onStop=()=>{const C=Kr.get(c);if(C){if(a)a(C,4);else for(const P of C)P();Kr.delete(c)}},t?r?m(!0):E=c.run():l?l(m.bind(null,!0),!0):c.run(),w.pause=c.pause.bind(c),w.resume=c.resume.bind(c),w.stop=w,w}function Gt(e,t=1/0,n){if(t<=0||!we(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,xe(e))Gt(e.value,t,n);else if(ee(e))for(let r=0;r<e.length;r++)Gt(e[r],t,n);else if(yu(e)||Qn(e))e.forEach(r=>{Gt(r,t,n)});else if(Cu(e)){for(const r in e)Gt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Gt(e[r],t,n)}return e}/**
|
|
* @vue/runtime-core v3.5.16
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/function Sr(e,t,n,r){try{return r?e(...r):e()}catch(s){Er(s,t,n)}}function ht(e,t,n,r){if(ne(e)){const s=Sr(e,t,n,r);return s&&gi(s)&&s.catch(o=>{Er(o,t,n)}),s}if(ee(e)){const s=[];for(let o=0;o<e.length;o++)s.push(ht(e[o],t,n,r));return s}}function Er(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:l}=t&&t.appContext.config||me;if(t){let i=t.parent;const a=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const c=i.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](e,a,u)===!1)return}i=i.parent}if(o){$t(),Sr(o,null,10,[e,a,u]),Nt();return}}df(e,n,s,r,l)}function df(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const Ve=[];let _t=-1;const En=[];let zt=null,gn=0;const Di=Promise.resolve();let Yr=null;function fn(e){const t=Yr||Di;return e?t.then(this?e.bind(this):e):t}function pf(e){let t=_t+1,n=Ve.length;for(;t<n;){const r=t+n>>>1,s=Ve[r],o=ar(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function Ao(e){if(!(e.flags&1)){const t=ar(e),n=Ve[Ve.length-1];!n||!(e.flags&2)&&t>=ar(n)?Ve.push(e):Ve.splice(pf(t),0,e),e.flags|=1,Hi()}}function Hi(){Yr||(Yr=Di.then(ji))}function hf(e){ee(e)?En.push(...e):zt&&e.id===-1?zt.splice(gn+1,0,e):e.flags&1||(En.push(e),e.flags|=1),Hi()}function tl(e,t,n=_t+1){for(;n<Ve.length;n++){const r=Ve[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Ve.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Jr(e){if(En.length){const t=[...new Set(En)].sort((n,r)=>ar(n)-ar(r));if(En.length=0,zt){zt.push(...t);return}for(zt=t,gn=0;gn<zt.length;gn++){const n=zt[gn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}zt=null,gn=0}}const ar=e=>e.id==null?e.flags&2?-1:1/0:e.id;function ji(e){try{for(_t=0;_t<Ve.length;_t++){const t=Ve[_t];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Sr(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;_t<Ve.length;_t++){const t=Ve[_t];t&&(t.flags&=-2)}_t=-1,Ve.length=0,Jr(),Yr=null,(Ve.length||En.length)&&ji()}}let at=null,Fi=null;function Qr(e){const t=at;return at=e,Fi=e&&e.type.__scopeId||null,t}function vf(e,t=at,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&pl(-1);const o=Qr(t);let l;try{l=e(...s)}finally{Qr(o),r._d&&pl(1)}return l};return r._n=!0,r._c=!0,r._d=!0,r}function Ct(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let l=0;l<s.length;l++){const i=s[l];o&&(i.oldValue=o[l].value);let a=i.dir[r];a&&($t(),ht(a,n,8,[e.el,i,e,t]),Nt())}}const gf=Symbol("_vte"),Bi=e=>e.__isTeleport,Wt=Symbol("_leaveCb"),Dr=Symbol("_enterCb");function Vi(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ce(()=>{e.isMounted=!0}),Yi(()=>{e.isUnmounting=!0}),e}const st=[Function,Array],zi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:st,onEnter:st,onAfterEnter:st,onEnterCancelled:st,onBeforeLeave:st,onLeave:st,onAfterLeave:st,onLeaveCancelled:st,onBeforeAppear:st,onAppear:st,onAfterAppear:st,onAppearCancelled:st},Wi=e=>{const t=e.subTree;return t.component?Wi(t.component):t},mf={name:"BaseTransition",props:zi,setup(e,{slots:t}){const n=Tr(),r=Vi();return()=>{const s=t.default&&Lo(t.default(),!0);if(!s||!s.length)return;const o=qi(s),l=le(e),{mode:i}=l;if(r.isLeaving)return _s(o);const a=nl(o);if(!a)return _s(o);let u=cr(a,l,r,n,d=>u=d);a.type!==qe&&an(a,u);let c=n.subTree&&nl(n.subTree);if(c&&c.type!==qe&&!tn(a,c)&&Wi(n).type!==qe){let d=cr(c,l,r,n);if(an(c,d),i==="out-in"&&a.type!==qe)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,c=void 0},_s(o);i==="in-out"&&a.type!==qe?d.delayLeave=(p,h,b)=>{const y=Ui(r,c);y[String(c.key)]=c,p[Wt]=()=>{h(),p[Wt]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{b(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function qi(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==qe){t=n;break}}return t}const bf=mf;function Ui(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function cr(e,t,n,r,s){const{appear:o,mode:l,persisted:i=!1,onBeforeEnter:a,onEnter:u,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:p,onLeave:h,onAfterLeave:b,onLeaveCancelled:y,onBeforeAppear:_,onAppear:w,onAfterAppear:E,onAppearCancelled:m}=t,C=String(e.key),P=Ui(n,e),A=(H,L)=>{H&&ht(H,r,9,L)},$=(H,L)=>{const F=L[1];A(H,L),ee(H)?H.every(I=>I.length<=1)&&F():H.length<=1&&F()},W={mode:l,persisted:i,beforeEnter(H){let L=a;if(!n.isMounted)if(o)L=_||a;else return;H[Wt]&&H[Wt](!0);const F=P[C];F&&tn(e,F)&&F.el[Wt]&&F.el[Wt](),A(L,[H])},enter(H){let L=u,F=c,I=d;if(!n.isMounted)if(o)L=w||u,F=E||c,I=m||d;else return;let Q=!1;const fe=H[Dr]=pe=>{Q||(Q=!0,pe?A(I,[H]):A(F,[H]),W.delayedLeave&&W.delayedLeave(),H[Dr]=void 0)};L?$(L,[H,fe]):fe()},leave(H,L){const F=String(e.key);if(H[Dr]&&H[Dr](!0),n.isUnmounting)return L();A(p,[H]);let I=!1;const Q=H[Wt]=fe=>{I||(I=!0,L(),fe?A(y,[H]):A(b,[H]),H[Wt]=void 0,P[F]===e&&delete P[F])};P[F]=e,h?$(h,[H,Q]):Q()},clone(H){const L=cr(H,t,n,r,s);return s&&s(L),L}};return W}function _s(e){if(xr(e))return e=Yt(e),e.children=null,e}function nl(e){if(!xr(e))return Bi(e.type)&&e.children?qi(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ne(n.default))return n.default()}}function an(e,t){e.shapeFlag&6&&e.component?(e.transition=t,an(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 Lo(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let l=e[o];const i=n==null?l.key:String(n)+String(l.key!=null?l.key:o);l.type===et?(l.patchFlag&128&&s++,r=r.concat(Lo(l.children,t,i))):(t||l.type!==qe)&&r.push(i!=null?Yt(l,{key:i}):l)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function K(e,t){return ne(e)?Ae({name:e.name},t,{setup:e}):e}function Ro(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ur(e,t,n,r,s=!1){if(ee(e)){e.forEach((b,y)=>ur(b,t&&(ee(t)?t[y]:t),n,r,s));return}if(xn(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&ur(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?$o(r.component):r.el,l=s?null:o,{i,r:a}=e,u=t&&t.r,c=i.refs===me?i.refs={}:i.refs,d=i.setupState,p=le(d),h=d===me?()=>!1:b=>ue(p,b);if(u!=null&&u!==a&&(Le(u)?(c[u]=null,h(u)&&(d[u]=null)):xe(u)&&(u.value=null)),ne(a))Sr(a,i,12,[l,c]);else{const b=Le(a),y=xe(a);if(b||y){const _=()=>{if(e.f){const w=b?h(a)?d[a]:c[a]:a.value;s?ee(w)&&go(w,o):ee(w)?w.includes(o)||w.push(o):b?(c[a]=[o],h(a)&&(d[a]=c[a])):(a.value=[o],e.k&&(c[e.k]=a.value))}else b?(c[a]=l,h(a)&&(d[a]=l)):y&&(a.value=l,e.k&&(c[e.k]=l))};l?(_.id=-1,Ze(_,n)):_()}}}let rl=!1;const vn=()=>{rl||(console.error("Hydration completed but contains mismatches."),rl=!0)},yf=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",wf=e=>e.namespaceURI.includes("MathML"),Hr=e=>{if(e.nodeType===1){if(yf(e))return"svg";if(wf(e))return"mathml"}},bn=e=>e.nodeType===8;function _f(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:l,remove:i,insert:a,createComment:u}}=e,c=(m,C)=>{if(!C.hasChildNodes()){n(null,m,C),Jr(),C._vnode=m;return}d(C.firstChild,m,null,null,null),Jr(),C._vnode=m},d=(m,C,P,A,$,W=!1)=>{W=W||!!C.dynamicChildren;const H=bn(m)&&m.data==="[",L=()=>y(m,C,P,A,$,H),{type:F,ref:I,shapeFlag:Q,patchFlag:fe}=C;let pe=m.nodeType;C.el=m,fe===-2&&(W=!1,C.dynamicChildren=null);let U=null;switch(F){case on:pe!==3?C.children===""?(a(C.el=s(""),l(m),m),U=m):U=L():(m.data!==C.children&&(vn(),m.data=C.children),U=o(m));break;case qe:E(m)?(U=o(m),w(C.el=m.content.firstChild,m,P)):pe!==8||H?U=L():U=o(m);break;case tr:if(H&&(m=o(m),pe=m.nodeType),pe===1||pe===3){U=m;const X=!C.children.length;for(let q=0;q<C.staticCount;q++)X&&(C.children+=U.nodeType===1?U.outerHTML:U.data),q===C.staticCount-1&&(C.anchor=U),U=o(U);return H?o(U):U}else L();break;case et:H?U=b(m,C,P,A,$,W):U=L();break;default:if(Q&1)(pe!==1||C.type.toLowerCase()!==m.tagName.toLowerCase())&&!E(m)?U=L():U=p(m,C,P,A,$,W);else if(Q&6){C.slotScopeIds=$;const X=l(m);if(H?U=_(m):bn(m)&&m.data==="teleport start"?U=_(m,m.data,"teleport end"):U=o(m),t(C,X,null,P,A,Hr(X),W),xn(C)&&!C.type.__asyncResolved){let q;H?(q=ke(et),q.anchor=U?U.previousSibling:X.lastChild):q=m.nodeType===3?ba(""):ke("div"),q.el=m,C.component.subTree=q}}else Q&64?pe!==8?U=L():U=C.type.hydrate(m,C,P,A,$,W,e,h):Q&128&&(U=C.type.hydrate(m,C,P,A,Hr(l(m)),$,W,e,d))}return I!=null&&ur(I,null,A,C),U},p=(m,C,P,A,$,W)=>{W=W||!!C.dynamicChildren;const{type:H,props:L,patchFlag:F,shapeFlag:I,dirs:Q,transition:fe}=C,pe=H==="input"||H==="option";if(pe||F!==-1){Q&&Ct(C,null,P,"created");let U=!1;if(E(m)){U=ia(null,fe)&&P&&P.vnode.props&&P.vnode.props.appear;const q=m.content.firstChild;if(U){const ae=q.getAttribute("class");ae&&(q.$cls=ae),fe.beforeEnter(q)}w(q,m,P),C.el=m=q}if(I&16&&!(L&&(L.innerHTML||L.textContent))){let q=h(m.firstChild,C,m,P,A,$,W);for(;q;){jr(m,1)||vn();const ae=q;q=q.nextSibling,i(ae)}}else if(I&8){let q=C.children;q[0]===`
|
|
`&&(m.tagName==="PRE"||m.tagName==="TEXTAREA")&&(q=q.slice(1)),m.textContent!==q&&(jr(m,0)||vn(),m.textContent=C.children)}if(L){if(pe||!W||F&48){const q=m.tagName.includes("-");for(const ae in L)(pe&&(ae.endsWith("value")||ae==="indeterminate")||yr(ae)&&!Cn(ae)||ae[0]==="."||q)&&r(m,ae,null,L[ae],void 0,P)}else if(L.onClick)r(m,"onClick",null,L.onClick,void 0,P);else if(F&4&&Sn(L.style))for(const q in L.style)L.style[q]}let X;(X=L&&L.onVnodeBeforeMount)&&ot(X,P,C),Q&&Ct(C,null,P,"beforeMount"),((X=L&&L.onVnodeMounted)||Q||U)&&va(()=>{X&&ot(X,P,C),U&&fe.enter(m),Q&&Ct(C,null,P,"mounted")},A)}return m.nextSibling},h=(m,C,P,A,$,W,H)=>{H=H||!!C.dynamicChildren;const L=C.children,F=L.length;for(let I=0;I<F;I++){const Q=H?L[I]:L[I]=it(L[I]),fe=Q.type===on;m?(fe&&!H&&I+1<F&&it(L[I+1]).type===on&&(a(s(m.data.slice(Q.children.length)),P,o(m)),m.data=Q.children),m=d(m,Q,A,$,W,H)):fe&&!Q.children?a(Q.el=s(""),P):(jr(P,1)||vn(),n(null,Q,P,null,A,$,Hr(P),W))}return m},b=(m,C,P,A,$,W)=>{const{slotScopeIds:H}=C;H&&($=$?$.concat(H):H);const L=l(m),F=h(o(m),C,L,P,A,$,W);return F&&bn(F)&&F.data==="]"?o(C.anchor=F):(vn(),a(C.anchor=u("]"),L,F),F)},y=(m,C,P,A,$,W)=>{if(jr(m.parentElement,1)||vn(),C.el=null,W){const F=_(m);for(;;){const I=o(m);if(I&&I!==F)i(I);else break}}const H=o(m),L=l(m);return i(m),n(null,C,L,H,P,A,Hr(L),$),P&&(P.vnode.el=C.el,pa(P,C.el)),H},_=(m,C="[",P="]")=>{let A=0;for(;m;)if(m=o(m),m&&bn(m)&&(m.data===C&&A++,m.data===P)){if(A===0)return o(m);A--}return m},w=(m,C,P)=>{const A=C.parentNode;A&&A.replaceChild(m,C);let $=P;for(;$;)$.vnode.el===C&&($.vnode.el=$.subTree.el=m),$=$.parent},E=m=>m.nodeType===1&&m.tagName==="TEMPLATE";return[c,d]}const sl="data-allow-mismatch",Cf={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function jr(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(sl);)e=e.parentElement;const n=e&&e.getAttribute(sl);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(Cf[t])}}ss().requestIdleCallback;ss().cancelIdleCallback;function Sf(e,t){if(bn(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(bn(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const xn=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Ef(e){ne(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,hydrate:o,timeout:l,suspensible:i=!0,onError:a}=e;let u=null,c,d=0;const p=()=>(d++,u=null,h()),h=()=>{let b;return u||(b=u=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),a)return new Promise((_,w)=>{a(y,()=>_(p()),()=>w(y),d+1)});throw y}).then(y=>b!==u&&u?u:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),c=y,y)))};return K({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(b,y,_){const w=o?()=>{const m=o(()=>{_()},C=>Sf(b,C));m&&(y.bum||(y.bum=[])).push(m),(y.u||(y.u=[])).push(()=>!0)}:_;c?w():h().then(()=>!y.isUnmounted&&w())},get __asyncResolved(){return c},setup(){const b=Ie;if(Ro(b),c)return()=>Cs(c,b);const y=m=>{u=null,Er(m,b,13,!r)};if(i&&b.suspense||On)return h().then(m=>()=>Cs(m,b)).catch(m=>(y(m),()=>r?ke(r,{error:m}):null));const _=te(!1),w=te(),E=te(!!s);return s&&setTimeout(()=>{E.value=!1},s),l!=null&&setTimeout(()=>{if(!_.value&&!w.value){const m=new Error(`Async component timed out after ${l}ms.`);y(m),w.value=m}},l),h().then(()=>{_.value=!0,b.parent&&xr(b.parent.vnode)&&b.parent.update()}).catch(m=>{y(m),w.value=m}),()=>{if(_.value&&c)return Cs(c,b);if(w.value&&r)return ke(r,{error:w.value});if(n&&!E.value)return ke(n)}}})}function Cs(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,l=ke(e,r,s);return l.ref=n,l.ce=o,delete t.vnode.ce,l}const xr=e=>e.type.__isKeepAlive;function xf(e,t){Gi(e,"a",t)}function Tf(e,t){Gi(e,"da",t)}function Gi(e,t,n=Ie){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(is(t,r,n),n){let s=n.parent;for(;s&&s.parent;)xr(s.parent.vnode)&&kf(r,t,n,s),s=s.parent}}function kf(e,t,n,r){const s=is(t,e,r,!0);Hn(()=>{go(r[t],s)},n)}function is(e,t,n=Ie,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...l)=>{$t();const i=kr(n),a=ht(t,n,e,l);return i(),Nt(),a});return r?s.unshift(o):s.push(o),o}}const Ht=e=>(t,n=Ie)=>{(!On||e==="sp")&&is(e,(...r)=>t(...r),n)},Af=Ht("bm"),Ce=Ht("m"),Lf=Ht("bu"),Ki=Ht("u"),Yi=Ht("bum"),Hn=Ht("um"),Rf=Ht("sp"),Of=Ht("rtg"),Pf=Ht("rtc");function If(e,t=Ie){is("ec",e,t)}const Mf="components";function Tt(e,t){return Nf(Mf,e,!0,t)||e}const $f=Symbol.for("v-ndc");function Nf(e,t,n=!0,r=!1){const s=at||Ie;if(s){const o=s.type;{const i=wd(o,!1);if(i&&(i===t||i===Ke(t)||i===wr(Ke(t))))return o}const l=ol(s[e]||o[e],t)||ol(s.appContext[e],t);return!l&&r?o:l}}function ol(e,t){return e&&(e[t]||e[Ke(t)]||e[wr(Ke(t))])}const Ks=e=>e?ya(e)?$o(e):Ks(e.parent):null,er=Ae(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=>Ks(e.parent),$root:e=>Ks(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Qi(e),$forceUpdate:e=>e.f||(e.f=()=>{Ao(e.update)}),$nextTick:e=>e.n||(e.n=fn.bind(e.proxy)),$watch:e=>nd.bind(e)}),Ss=(e,t)=>e!==me&&!e.__isScriptSetup&&ue(e,t),Df={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:l,type:i,appContext:a}=e;let u;if(t[0]!=="$"){const h=l[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Ss(r,t))return l[t]=1,r[t];if(s!==me&&ue(s,t))return l[t]=2,s[t];if((u=e.propsOptions[0])&&ue(u,t))return l[t]=3,o[t];if(n!==me&&ue(n,t))return l[t]=4,n[t];Ys&&(l[t]=0)}}const c=er[t];let d,p;if(c)return t==="$attrs"&&je(e.attrs,"get",""),c(e);if((d=i.__cssModules)&&(d=d[t]))return d;if(n!==me&&ue(n,t))return l[t]=4,n[t];if(p=a.config.globalProperties,ue(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Ss(s,t)?(s[t]=n,!0):r!==me&&ue(r,t)?(r[t]=n,!0):ue(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},l){let i;return!!n[l]||e!==me&&ue(e,l)||Ss(t,l)||(i=o[0])&&ue(i,l)||ue(r,l)||ue(er,l)||ue(s.config.globalProperties,l)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ue(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ll(e){return ee(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ys=!0;function Hf(e){const t=Qi(e),n=e.proxy,r=e.ctx;Ys=!1,t.beforeCreate&&il(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:l,watch:i,provide:a,inject:u,created:c,beforeMount:d,mounted:p,beforeUpdate:h,updated:b,activated:y,deactivated:_,beforeDestroy:w,beforeUnmount:E,destroyed:m,unmounted:C,render:P,renderTracked:A,renderTriggered:$,errorCaptured:W,serverPrefetch:H,expose:L,inheritAttrs:F,components:I,directives:Q,filters:fe}=t;if(u&&jf(u,r,null),l)for(const X in l){const q=l[X];ne(q)&&(r[X]=q.bind(n))}if(s){const X=s.call(n,n);we(X)&&(e.data=_r(X))}if(Ys=!0,o)for(const X in o){const q=o[X],ae=ne(q)?q.bind(n,n):ne(q.get)?q.get.bind(n,n):xt,mt=!ne(q)&&ne(q.set)?q.set.bind(n):xt,rt=x({get:ae,set:mt});Object.defineProperty(r,X,{enumerable:!0,configurable:!0,get:()=>rt.value,set:Pe=>rt.value=Pe})}if(i)for(const X in i)Ji(i[X],r,n,X);if(a){const X=ne(a)?a.call(n):a;Reflect.ownKeys(X).forEach(q=>{kn(q,X[q])})}c&&il(c,e,"c");function U(X,q){ee(q)?q.forEach(ae=>X(ae.bind(n))):q&&X(q.bind(n))}if(U(Af,d),U(Ce,p),U(Lf,h),U(Ki,b),U(xf,y),U(Tf,_),U(If,W),U(Pf,A),U(Of,$),U(Yi,E),U(Hn,C),U(Rf,H),ee(L))if(L.length){const X=e.exposed||(e.exposed={});L.forEach(q=>{Object.defineProperty(X,q,{get:()=>n[q],set:ae=>n[q]=ae})})}else e.exposed||(e.exposed={});P&&e.render===xt&&(e.render=P),F!=null&&(e.inheritAttrs=F),I&&(e.components=I),Q&&(e.directives=Q),H&&Ro(e)}function jf(e,t,n=xt){ee(e)&&(e=Js(e));for(const r in e){const s=e[r];let o;we(s)?"default"in s?o=$e(s.from||r,s.default,!0):o=$e(s.from||r):o=$e(s),xe(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:l=>o.value=l}):t[r]=o}}function il(e,t,n){ht(ee(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ji(e,t,n,r){let s=r.includes(".")?fa(n,r):()=>n[r];if(Le(e)){const o=t[e];ne(o)&&ie(s,o)}else if(ne(e))ie(s,e.bind(n));else if(we(e))if(ee(e))e.forEach(o=>Ji(o,t,n,r));else{const o=ne(e.handler)?e.handler.bind(n):t[e.handler];ne(o)&&ie(s,o,e)}}function Qi(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:l}}=e.appContext,i=o.get(t);let a;return i?a=i:!s.length&&!n&&!r?a=t:(a={},s.length&&s.forEach(u=>Xr(a,u,l,!0)),Xr(a,t,l)),we(t)&&o.set(t,a),a}function Xr(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Xr(e,o,n,!0),s&&s.forEach(l=>Xr(e,l,n,!0));for(const l in t)if(!(r&&l==="expose")){const i=Ff[l]||n&&n[l];e[l]=i?i(e[l],t[l]):t[l]}return e}const Ff={data:al,props:cl,emits:cl,methods:Yn,computed:Yn,beforeCreate:Fe,created:Fe,beforeMount:Fe,mounted:Fe,beforeUpdate:Fe,updated:Fe,beforeDestroy:Fe,beforeUnmount:Fe,destroyed:Fe,unmounted:Fe,activated:Fe,deactivated:Fe,errorCaptured:Fe,serverPrefetch:Fe,components:Yn,directives:Yn,watch:Vf,provide:al,inject:Bf};function al(e,t){return t?e?function(){return Ae(ne(e)?e.call(this,this):e,ne(t)?t.call(this,this):t)}:t:e}function Bf(e,t){return Yn(Js(e),Js(t))}function Js(e){if(ee(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Fe(e,t){return e?[...new Set([].concat(e,t))]:t}function Yn(e,t){return e?Ae(Object.create(null),e,t):t}function cl(e,t){return e?ee(e)&&ee(t)?[...new Set([...e,...t])]:Ae(Object.create(null),ll(e),ll(t??{})):t}function Vf(e,t){if(!e)return t;if(!t)return e;const n=Ae(Object.create(null),e);for(const r in t)n[r]=Fe(e[r],t[r]);return n}function Xi(){return{app:null,config:{isNativeTag:mu,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 zf=0;function Wf(e,t){return function(r,s=null){ne(r)||(r=Ae({},r)),s!=null&&!we(s)&&(s=null);const o=Xi(),l=new WeakSet,i=[];let a=!1;const u=o.app={_uid:zf++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:Cd,get config(){return o.config},set config(c){},use(c,...d){return l.has(c)||(c&&ne(c.install)?(l.add(c),c.install(u,...d)):ne(c)&&(l.add(c),c(u,...d))),u},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),u},component(c,d){return d?(o.components[c]=d,u):o.components[c]},directive(c,d){return d?(o.directives[c]=d,u):o.directives[c]},mount(c,d,p){if(!a){const h=u._ceVNode||ke(r,s);return h.appContext=o,p===!0?p="svg":p===!1&&(p=void 0),d&&t?t(h,c):e(h,c,p),a=!0,u._container=c,c.__vue_app__=u,$o(h.component)}},onUnmount(c){i.push(c)},unmount(){a&&(ht(i,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,d){return o.provides[c]=d,u},runWithContext(c){const d=Tn;Tn=u;try{return c()}finally{Tn=d}}};return u}}let Tn=null;function kn(e,t){if(Ie){let n=Ie.provides;const r=Ie.parent&&Ie.parent.provides;r===n&&(n=Ie.provides=Object.create(r)),n[e]=t}}function $e(e,t,n=!1){const r=Ie||at;if(r||Tn){let s=Tn?Tn._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&ne(t)?t.call(r&&r.proxy):t}}const Zi={},ea=()=>Object.create(Zi),ta=e=>Object.getPrototypeOf(e)===Zi;function qf(e,t,n,r=!1){const s={},o=ea();e.propsDefaults=Object.create(null),na(e,t,s,o);for(const l in e.propsOptions[0])l in s||(s[l]=void 0);n?e.props=r?s:Mi(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Uf(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:l}}=e,i=le(s),[a]=e.propsOptions;let u=!1;if((r||l>0)&&!(l&16)){if(l&8){const c=e.vnode.dynamicProps;for(let d=0;d<c.length;d++){let p=c[d];if(as(e.emitsOptions,p))continue;const h=t[p];if(a)if(ue(o,p))h!==o[p]&&(o[p]=h,u=!0);else{const b=Ke(p);s[b]=Qs(a,i,b,h,e,!1)}else h!==o[p]&&(o[p]=h,u=!0)}}}else{na(e,t,s,o)&&(u=!0);let c;for(const d in i)(!t||!ue(t,d)&&((c=un(d))===d||!ue(t,c)))&&(a?n&&(n[d]!==void 0||n[c]!==void 0)&&(s[d]=Qs(a,i,d,void 0,e,!0)):delete s[d]);if(o!==i)for(const d in o)(!t||!ue(t,d))&&(delete o[d],u=!0)}u&&Mt(e.attrs,"set","")}function na(e,t,n,r){const[s,o]=e.propsOptions;let l=!1,i;if(t)for(let a in t){if(Cn(a))continue;const u=t[a];let c;s&&ue(s,c=Ke(a))?!o||!o.includes(c)?n[c]=u:(i||(i={}))[c]=u:as(e.emitsOptions,a)||(!(a in r)||u!==r[a])&&(r[a]=u,l=!0)}if(o){const a=le(n),u=i||me;for(let c=0;c<o.length;c++){const d=o[c];n[d]=Qs(s,a,d,u[d],e,!ue(u,d))}}return l}function Qs(e,t,n,r,s,o){const l=e[n];if(l!=null){const i=ue(l,"default");if(i&&r===void 0){const a=l.default;if(l.type!==Function&&!l.skipFactory&&ne(a)){const{propsDefaults:u}=s;if(n in u)r=u[n];else{const c=kr(s);r=u[n]=a.call(null,t),c()}}else r=a;s.ce&&s.ce._setProp(n,r)}l[0]&&(o&&!i?r=!1:l[1]&&(r===""||r===un(n))&&(r=!0))}return r}const Gf=new WeakMap;function ra(e,t,n=!1){const r=n?Gf:t.propsCache,s=r.get(e);if(s)return s;const o=e.props,l={},i=[];let a=!1;if(!ne(e)){const c=d=>{a=!0;const[p,h]=ra(d,t,!0);Ae(l,p),h&&i.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!a)return we(e)&&r.set(e,_n),_n;if(ee(o))for(let c=0;c<o.length;c++){const d=Ke(o[c]);ul(d)&&(l[d]=me)}else if(o)for(const c in o){const d=Ke(c);if(ul(d)){const p=o[c],h=l[d]=ee(p)||ne(p)?{type:p}:Ae({},p),b=h.type;let y=!1,_=!0;if(ee(b))for(let w=0;w<b.length;++w){const E=b[w],m=ne(E)&&E.name;if(m==="Boolean"){y=!0;break}else m==="String"&&(_=!1)}else y=ne(b)&&b.name==="Boolean";h[0]=y,h[1]=_,(y||ue(h,"default"))&&i.push(d)}}const u=[l,i];return we(e)&&r.set(e,u),u}function ul(e){return e[0]!=="$"&&!Cn(e)}const Oo=e=>e[0]==="_"||e==="$stable",Po=e=>ee(e)?e.map(it):[it(e)],Kf=(e,t,n)=>{if(t._n)return t;const r=vf((...s)=>Po(t(...s)),n);return r._c=!1,r},sa=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Oo(s))continue;const o=e[s];if(ne(o))t[s]=Kf(s,o,r);else if(o!=null){const l=Po(o);t[s]=()=>l}}},oa=(e,t)=>{const n=Po(t);e.slots.default=()=>n},la=(e,t,n)=>{for(const r in t)(n||!Oo(r))&&(e[r]=t[r])},Yf=(e,t,n)=>{const r=e.slots=ea();if(e.vnode.shapeFlag&32){const s=t._;s?(la(r,t,n),n&&mi(r,"_",s,!0)):sa(t,r)}else t&&oa(e,t)},Jf=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,l=me;if(r.shapeFlag&32){const i=t._;i?n&&i===1?o=!1:la(s,t,n):(o=!t.$stable,sa(t,s)),l=t}else t&&(oa(e,t),l={default:1});if(o)for(const i in s)!Oo(i)&&l[i]==null&&delete s[i]},Ze=va;function Qf(e){return Xf(e,_f)}function Xf(e,t){const n=ss();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:l,createText:i,createComment:a,setText:u,setElementText:c,parentNode:d,nextSibling:p,setScopeId:h=xt,insertStaticContent:b}=e,y=(v,g,S,R=null,k=null,O=null,B=void 0,D=null,N=!!g.dynamicChildren)=>{if(v===g)return;v&&!tn(v,g)&&(R=T(v),Pe(v,k,O,!0),v=null),g.patchFlag===-2&&(N=!1,g.dynamicChildren=null);const{type:M,ref:J,shapeFlag:V}=g;switch(M){case on:_(v,g,S,R);break;case qe:w(v,g,S,R);break;case tr:v==null&&E(g,S,R,B);break;case et:I(v,g,S,R,k,O,B,D,N);break;default:V&1?P(v,g,S,R,k,O,B,D,N):V&6?Q(v,g,S,R,k,O,B,D,N):(V&64||V&128)&&M.process(v,g,S,R,k,O,B,D,N,G)}J!=null&&k&&ur(J,v&&v.ref,O,g||v,!g)},_=(v,g,S,R)=>{if(v==null)r(g.el=i(g.children),S,R);else{const k=g.el=v.el;g.children!==v.children&&u(k,g.children)}},w=(v,g,S,R)=>{v==null?r(g.el=a(g.children||""),S,R):g.el=v.el},E=(v,g,S,R)=>{[v.el,v.anchor]=b(v.children,g,S,R,v.el,v.anchor)},m=({el:v,anchor:g},S,R)=>{let k;for(;v&&v!==g;)k=p(v),r(v,S,R),v=k;r(g,S,R)},C=({el:v,anchor:g})=>{let S;for(;v&&v!==g;)S=p(v),s(v),v=S;s(g)},P=(v,g,S,R,k,O,B,D,N)=>{g.type==="svg"?B="svg":g.type==="math"&&(B="mathml"),v==null?A(g,S,R,k,O,B,D,N):H(v,g,k,O,B,D,N)},A=(v,g,S,R,k,O,B,D)=>{let N,M;const{props:J,shapeFlag:V,transition:Y,dirs:Z}=v;if(N=v.el=l(v.type,O,J&&J.is,J),V&8?c(N,v.children):V&16&&W(v.children,N,null,R,k,Es(v,O),B,D),Z&&Ct(v,null,R,"created"),$(N,v,v.scopeId,B,R),J){for(const ve in J)ve!=="value"&&!Cn(ve)&&o(N,ve,null,J[ve],O,R);"value"in J&&o(N,"value",null,J.value,O),(M=J.onVnodeBeforeMount)&&ot(M,R,v)}Z&&Ct(v,null,R,"beforeMount");const re=ia(k,Y);re&&Y.beforeEnter(N),r(N,g,S),((M=J&&J.onVnodeMounted)||re||Z)&&Ze(()=>{M&&ot(M,R,v),re&&Y.enter(N),Z&&Ct(v,null,R,"mounted")},k)},$=(v,g,S,R,k)=>{if(S&&h(v,S),R)for(let O=0;O<R.length;O++)h(v,R[O]);if(k){let O=k.subTree;if(g===O||ha(O.type)&&(O.ssContent===g||O.ssFallback===g)){const B=k.vnode;$(v,B,B.scopeId,B.slotScopeIds,k.parent)}}},W=(v,g,S,R,k,O,B,D,N=0)=>{for(let M=N;M<v.length;M++){const J=v[M]=D?qt(v[M]):it(v[M]);y(null,J,g,S,R,k,O,B,D)}},H=(v,g,S,R,k,O,B)=>{const D=g.el=v.el;let{patchFlag:N,dynamicChildren:M,dirs:J}=g;N|=v.patchFlag&16;const V=v.props||me,Y=g.props||me;let Z;if(S&&Qt(S,!1),(Z=Y.onVnodeBeforeUpdate)&&ot(Z,S,g,v),J&&Ct(g,v,S,"beforeUpdate"),S&&Qt(S,!0),(V.innerHTML&&Y.innerHTML==null||V.textContent&&Y.textContent==null)&&c(D,""),M?L(v.dynamicChildren,M,D,S,R,Es(g,k),O):B||q(v,g,D,null,S,R,Es(g,k),O,!1),N>0){if(N&16)F(D,V,Y,S,k);else if(N&2&&V.class!==Y.class&&o(D,"class",null,Y.class,k),N&4&&o(D,"style",V.style,Y.style,k),N&8){const re=g.dynamicProps;for(let ve=0;ve<re.length;ve++){const de=re[ve],Je=V[de],De=Y[de];(De!==Je||de==="value")&&o(D,de,Je,De,k,S)}}N&1&&v.children!==g.children&&c(D,g.children)}else!B&&M==null&&F(D,V,Y,S,k);((Z=Y.onVnodeUpdated)||J)&&Ze(()=>{Z&&ot(Z,S,g,v),J&&Ct(g,v,S,"updated")},R)},L=(v,g,S,R,k,O,B)=>{for(let D=0;D<g.length;D++){const N=v[D],M=g[D],J=N.el&&(N.type===et||!tn(N,M)||N.shapeFlag&198)?d(N.el):S;y(N,M,J,null,R,k,O,B,!0)}},F=(v,g,S,R,k)=>{if(g!==S){if(g!==me)for(const O in g)!Cn(O)&&!(O in S)&&o(v,O,g[O],null,k,R);for(const O in S){if(Cn(O))continue;const B=S[O],D=g[O];B!==D&&O!=="value"&&o(v,O,D,B,k,R)}"value"in S&&o(v,"value",g.value,S.value,k)}},I=(v,g,S,R,k,O,B,D,N)=>{const M=g.el=v?v.el:i(""),J=g.anchor=v?v.anchor:i("");let{patchFlag:V,dynamicChildren:Y,slotScopeIds:Z}=g;Z&&(D=D?D.concat(Z):Z),v==null?(r(M,S,R),r(J,S,R),W(g.children||[],S,J,k,O,B,D,N)):V>0&&V&64&&Y&&v.dynamicChildren?(L(v.dynamicChildren,Y,S,k,O,B,D),(g.key!=null||k&&g===k.subTree)&&aa(v,g,!0)):q(v,g,S,J,k,O,B,D,N)},Q=(v,g,S,R,k,O,B,D,N)=>{g.slotScopeIds=D,v==null?g.shapeFlag&512?k.ctx.activate(g,S,R,B,N):fe(g,S,R,k,O,B,N):pe(v,g,N)},fe=(v,g,S,R,k,O,B)=>{const D=v.component=vd(v,R,k);if(xr(v)&&(D.ctx.renderer=G),gd(D,!1,B),D.asyncDep){if(k&&k.registerDep(D,U,B),!v.el){const N=D.subTree=ke(qe);w(null,N,g,S)}}else U(D,v,g,S,k,O,B)},pe=(v,g,S)=>{const R=g.component=v.component;if(id(v,g,S))if(R.asyncDep&&!R.asyncResolved){X(R,g,S);return}else R.next=g,R.update();else g.el=v.el,R.vnode=g},U=(v,g,S,R,k,O,B)=>{const D=()=>{if(v.isMounted){let{next:V,bu:Y,u:Z,parent:re,vnode:ve}=v;{const Qe=ca(v);if(Qe){V&&(V.el=ve.el,X(v,V,B)),Qe.asyncDep.then(()=>{v.isUnmounted||D()});return}}let de=V,Je;Qt(v,!1),V?(V.el=ve.el,X(v,V,B)):V=ve,Y&&ms(Y),(Je=V.props&&V.props.onVnodeBeforeUpdate)&&ot(Je,re,V,ve),Qt(v,!0);const De=xs(v),ut=v.subTree;v.subTree=De,y(ut,De,d(ut.el),T(ut),v,k,O),V.el=De.el,de===null&&pa(v,De.el),Z&&Ze(Z,k),(Je=V.props&&V.props.onVnodeUpdated)&&Ze(()=>ot(Je,re,V,ve),k)}else{let V;const{el:Y,props:Z}=g,{bm:re,m:ve,parent:de,root:Je,type:De}=v,ut=xn(g);if(Qt(v,!1),re&&ms(re),!ut&&(V=Z&&Z.onVnodeBeforeMount)&&ot(V,de,g),Qt(v,!0),Y&&he){const Qe=()=>{v.subTree=xs(v),he(Y,v.subTree,v,k,null)};ut&&De.__asyncHydrate?De.__asyncHydrate(Y,v,Qe):Qe()}else{Je.ce&&Je.ce._injectChildStyle(De);const Qe=v.subTree=xs(v);y(null,Qe,S,R,v,k,O),g.el=Qe.el}if(ve&&Ze(ve,k),!ut&&(V=Z&&Z.onVnodeMounted)){const Qe=g;Ze(()=>ot(V,de,Qe),k)}(g.shapeFlag&256||de&&xn(de.vnode)&&de.vnode.shapeFlag&256)&&v.a&&Ze(v.a,k),v.isMounted=!0,g=S=R=null}};v.scope.on();const N=v.effect=new wi(D);v.scope.off();const M=v.update=N.run.bind(N),J=v.job=N.runIfDirty.bind(N);J.i=v,J.id=v.uid,N.scheduler=()=>Ao(J),Qt(v,!0),M()},X=(v,g,S)=>{g.component=v;const R=v.vnode.props;v.vnode=g,v.next=null,Uf(v,g.props,R,S),Jf(v,g.children,S),$t(),tl(v),Nt()},q=(v,g,S,R,k,O,B,D,N=!1)=>{const M=v&&v.children,J=v?v.shapeFlag:0,V=g.children,{patchFlag:Y,shapeFlag:Z}=g;if(Y>0){if(Y&128){mt(M,V,S,R,k,O,B,D,N);return}else if(Y&256){ae(M,V,S,R,k,O,B,D,N);return}}Z&8?(J&16&&Ne(M,k,O),V!==M&&c(S,V)):J&16?Z&16?mt(M,V,S,R,k,O,B,D,N):Ne(M,k,O,!0):(J&8&&c(S,""),Z&16&&W(V,S,R,k,O,B,D,N))},ae=(v,g,S,R,k,O,B,D,N)=>{v=v||_n,g=g||_n;const M=v.length,J=g.length,V=Math.min(M,J);let Y;for(Y=0;Y<V;Y++){const Z=g[Y]=N?qt(g[Y]):it(g[Y]);y(v[Y],Z,S,null,k,O,B,D,N)}M>J?Ne(v,k,O,!0,!1,V):W(g,S,R,k,O,B,D,N,V)},mt=(v,g,S,R,k,O,B,D,N)=>{let M=0;const J=g.length;let V=v.length-1,Y=J-1;for(;M<=V&&M<=Y;){const Z=v[M],re=g[M]=N?qt(g[M]):it(g[M]);if(tn(Z,re))y(Z,re,S,null,k,O,B,D,N);else break;M++}for(;M<=V&&M<=Y;){const Z=v[V],re=g[Y]=N?qt(g[Y]):it(g[Y]);if(tn(Z,re))y(Z,re,S,null,k,O,B,D,N);else break;V--,Y--}if(M>V){if(M<=Y){const Z=Y+1,re=Z<J?g[Z].el:R;for(;M<=Y;)y(null,g[M]=N?qt(g[M]):it(g[M]),S,re,k,O,B,D,N),M++}}else if(M>Y)for(;M<=V;)Pe(v[M],k,O,!0),M++;else{const Z=M,re=M,ve=new Map;for(M=re;M<=Y;M++){const Xe=g[M]=N?qt(g[M]):it(g[M]);Xe.key!=null&&ve.set(Xe.key,M)}let de,Je=0;const De=Y-re+1;let ut=!1,Qe=0;const Wn=new Array(De);for(M=0;M<De;M++)Wn[M]=0;for(M=Z;M<=V;M++){const Xe=v[M];if(Je>=De){Pe(Xe,k,O,!0);continue}let yt;if(Xe.key!=null)yt=ve.get(Xe.key);else for(de=re;de<=Y;de++)if(Wn[de-re]===0&&tn(Xe,g[de])){yt=de;break}yt===void 0?Pe(Xe,k,O,!0):(Wn[yt-re]=M+1,yt>=Qe?Qe=yt:ut=!0,y(Xe,g[yt],S,null,k,O,B,D,N),Je++)}const Jo=ut?Zf(Wn):_n;for(de=Jo.length-1,M=De-1;M>=0;M--){const Xe=re+M,yt=g[Xe],Qo=Xe+1<J?g[Xe+1].el:R;Wn[M]===0?y(null,yt,S,Qo,k,O,B,D,N):ut&&(de<0||M!==Jo[de]?rt(yt,S,Qo,2):de--)}}},rt=(v,g,S,R,k=null)=>{const{el:O,type:B,transition:D,children:N,shapeFlag:M}=v;if(M&6){rt(v.component.subTree,g,S,R);return}if(M&128){v.suspense.move(g,S,R);return}if(M&64){B.move(v,g,S,G);return}if(B===et){r(O,g,S);for(let V=0;V<N.length;V++)rt(N[V],g,S,R);r(v.anchor,g,S);return}if(B===tr){m(v,g,S);return}if(R!==2&&M&1&&D)if(R===0)D.beforeEnter(O),r(O,g,S),Ze(()=>D.enter(O),k);else{const{leave:V,delayLeave:Y,afterLeave:Z}=D,re=()=>{v.ctx.isUnmounted?s(O):r(O,g,S)},ve=()=>{V(O,()=>{re(),Z&&Z()})};Y?Y(O,re,ve):ve()}else r(O,g,S)},Pe=(v,g,S,R=!1,k=!1)=>{const{type:O,props:B,ref:D,children:N,dynamicChildren:M,shapeFlag:J,patchFlag:V,dirs:Y,cacheIndex:Z}=v;if(V===-2&&(k=!1),D!=null&&($t(),ur(D,null,S,v,!0),Nt()),Z!=null&&(g.renderCache[Z]=void 0),J&256){g.ctx.deactivate(v);return}const re=J&1&&Y,ve=!xn(v);let de;if(ve&&(de=B&&B.onVnodeBeforeUnmount)&&ot(de,g,v),J&6)bt(v.component,S,R);else{if(J&128){v.suspense.unmount(S,R);return}re&&Ct(v,null,g,"beforeUnmount"),J&64?v.type.remove(v,g,S,G,R):M&&!M.hasOnce&&(O!==et||V>0&&V&64)?Ne(M,g,S,!1,!0):(O===et&&V&384||!k&&J&16)&&Ne(N,g,S),R&&Ye(v)}(ve&&(de=B&&B.onVnodeUnmounted)||re)&&Ze(()=>{de&&ot(de,g,v),re&&Ct(v,null,g,"unmounted")},S)},Ye=v=>{const{type:g,el:S,anchor:R,transition:k}=v;if(g===et){At(S,R);return}if(g===tr){C(v);return}const O=()=>{s(S),k&&!k.persisted&&k.afterLeave&&k.afterLeave()};if(v.shapeFlag&1&&k&&!k.persisted){const{leave:B,delayLeave:D}=k,N=()=>B(S,O);D?D(v.el,O,N):N()}else O()},At=(v,g)=>{let S;for(;v!==g;)S=p(v),s(v),v=S;s(g)},bt=(v,g,S)=>{const{bum:R,scope:k,job:O,subTree:B,um:D,m:N,a:M,parent:J,slots:{__:V}}=v;fl(N),fl(M),R&&ms(R),J&&ee(V)&&V.forEach(Y=>{J.renderCache[Y]=void 0}),k.stop(),O&&(O.flags|=8,Pe(B,v,g,S)),D&&Ze(D,g),Ze(()=>{v.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&v.asyncDep&&!v.asyncResolved&&v.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},Ne=(v,g,S,R=!1,k=!1,O=0)=>{for(let B=O;B<v.length;B++)Pe(v[B],g,S,R,k)},T=v=>{if(v.shapeFlag&6)return T(v.component.subTree);if(v.shapeFlag&128)return v.suspense.next();const g=p(v.anchor||v.el),S=g&&g[gf];return S?p(S):g};let z=!1;const j=(v,g,S)=>{v==null?g._vnode&&Pe(g._vnode,null,null,!0):y(g._vnode||null,v,g,null,null,null,S),g._vnode=v,z||(z=!0,tl(),Jr(),z=!1)},G={p:y,um:Pe,m:rt,r:Ye,mt:fe,mc:W,pc:q,pbc:L,n:T,o:e};let se,he;return t&&([se,he]=t(G)),{render:j,hydrate:se,createApp:Wf(j,se)}}function Es({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Qt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ia(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function aa(e,t,n=!1){const r=e.children,s=t.children;if(ee(r)&&ee(s))for(let o=0;o<r.length;o++){const l=r[o];let i=s[o];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=s[o]=qt(s[o]),i.el=l.el),!n&&i.patchFlag!==-2&&aa(l,i)),i.type===on&&(i.el=l.el),i.type===qe&&!i.el&&(i.el=l.el)}}function Zf(e){const t=e.slice(),n=[0];let r,s,o,l,i;const a=e.length;for(r=0;r<a;r++){const u=e[r];if(u!==0){if(s=n[n.length-1],e[s]<u){t[r]=s,n.push(r);continue}for(o=0,l=n.length-1;o<l;)i=o+l>>1,e[n[i]]<u?o=i+1:l=i;u<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,l=n[o-1];o-- >0;)n[o]=l,l=t[l];return n}function ca(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ca(t)}function fl(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const ed=Symbol.for("v-scx"),td=()=>$e(ed);function ua(e,t){return Io(e,null,t)}function ie(e,t,n){return Io(e,t,n)}function Io(e,t,n=me){const{immediate:r,deep:s,flush:o,once:l}=n,i=Ae({},n),a=t&&r||!t&&o!=="post";let u;if(On){if(o==="sync"){const h=td();u=h.__watcherHandles||(h.__watcherHandles=[])}else if(!a){const h=()=>{};return h.stop=xt,h.resume=xt,h.pause=xt,h}}const c=Ie;i.call=(h,b,y)=>ht(h,c,b,y);let d=!1;o==="post"?i.scheduler=h=>{Ze(h,c&&c.suspense)}:o!=="sync"&&(d=!0,i.scheduler=(h,b)=>{b?h():Ao(h)}),i.augmentJob=h=>{t&&(h.flags|=4),d&&(h.flags|=2,c&&(h.id=c.uid,h.i=c))};const p=ff(e,t,i);return On&&(u?u.push(p):a&&p()),p}function nd(e,t,n){const r=this.proxy,s=Le(e)?e.includes(".")?fa(r,e):()=>r[e]:e.bind(r,r);let o;ne(t)?o=t:(o=t.handler,n=t);const l=kr(this),i=Io(s,o.bind(r),n);return l(),i}function fa(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const rd=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ke(t)}Modifiers`]||e[`${un(t)}Modifiers`];function sd(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||me;let s=n;const o=t.startsWith("update:"),l=o&&rd(r,t.slice(7));l&&(l.trim&&(s=n.map(c=>Le(c)?c.trim():c)),l.number&&(s=n.map(xu)));let i,a=r[i=gs(t)]||r[i=gs(Ke(t))];!a&&o&&(a=r[i=gs(un(t))]),a&&ht(a,e,6,s);const u=r[i+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,ht(u,e,6,s)}}function da(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let l={},i=!1;if(!ne(e)){const a=u=>{const c=da(u,t,!0);c&&(i=!0,Ae(l,c))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!i?(we(e)&&r.set(e,null),null):(ee(o)?o.forEach(a=>l[a]=null):Ae(l,o),we(e)&&r.set(e,l),l)}function as(e,t){return!e||!yr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ue(e,t[0].toLowerCase()+t.slice(1))||ue(e,un(t))||ue(e,t))}function xs(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:l,attrs:i,emit:a,render:u,renderCache:c,props:d,data:p,setupState:h,ctx:b,inheritAttrs:y}=e,_=Qr(e);let w,E;try{if(n.shapeFlag&4){const C=s||r,P=C;w=it(u.call(P,C,c,d,h,p,b)),E=i}else{const C=t;w=it(C.length>1?C(d,{attrs:i,slots:l,emit:a}):C(d,null)),E=t.props?i:od(i)}}catch(C){nr.length=0,Er(C,e,1),w=ke(qe)}let m=w;if(E&&y!==!1){const C=Object.keys(E),{shapeFlag:P}=m;C.length&&P&7&&(o&&C.some(vo)&&(E=ld(E,o)),m=Yt(m,E,!1,!0))}return n.dirs&&(m=Yt(m,null,!1,!0),m.dirs=m.dirs?m.dirs.concat(n.dirs):n.dirs),n.transition&&an(m,n.transition),w=m,Qr(_),w}const od=e=>{let t;for(const n in e)(n==="class"||n==="style"||yr(n))&&((t||(t={}))[n]=e[n]);return t},ld=(e,t)=>{const n={};for(const r in e)(!vo(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function id(e,t,n){const{props:r,children:s,component:o}=e,{props:l,children:i,patchFlag:a}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?dl(r,l,u):!!l;if(a&8){const c=t.dynamicProps;for(let d=0;d<c.length;d++){const p=c[d];if(l[p]!==r[p]&&!as(u,p))return!0}}}else return(s||i)&&(!i||!i.$stable)?!0:r===l?!1:r?l?dl(r,l,u):!0:!!l;return!1}function dl(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(t[o]!==e[o]&&!as(n,o))return!0}return!1}function pa({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const ha=e=>e.__isSuspense;function va(e,t){t&&t.pendingBranch?ee(e)?t.effects.push(...e):t.effects.push(e):hf(e)}const et=Symbol.for("v-fgt"),on=Symbol.for("v-txt"),qe=Symbol.for("v-cmt"),tr=Symbol.for("v-stc"),nr=[];let nt=null;function Tm(e=!1){nr.push(nt=e?null:[])}function ad(){nr.pop(),nt=nr[nr.length-1]||null}let fr=1;function pl(e,t=!1){fr+=e,e<0&&nt&&t&&(nt.hasOnce=!0)}function cd(e){return e.dynamicChildren=fr>0?nt||_n:null,ad(),fr>0&&nt&&nt.push(e),e}function km(e,t,n,r,s,o){return cd(ma(e,t,n,r,s,o,!0))}function Zr(e){return e?e.__v_isVNode===!0:!1}function tn(e,t){return e.type===t.type&&e.key===t.key}const ga=({key:e})=>e??null,qr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Le(e)||xe(e)||ne(e)?{i:at,r:e,k:t,f:!!n}:e:null);function ma(e,t=null,n=null,r=0,s=null,o=e===et?0:1,l=!1,i=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ga(t),ref:t&&qr(t),scopeId:Fi,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:at};return i?(Mo(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=Le(n)?8:16),fr>0&&!l&&nt&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&nt.push(a),a}const ke=ud;function ud(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===$f)&&(e=qe),Zr(e)){const i=Yt(e,t,!0);return n&&Mo(i,n),fr>0&&!o&&nt&&(i.shapeFlag&6?nt[nt.indexOf(e)]=i:nt.push(i)),i.patchFlag=-2,i}if(_d(e)&&(e=e.__vccOpts),t){t=fd(t);let{class:i,style:a}=t;i&&!Le(i)&&(t.class=yo(i)),we(a)&&(To(a)&&!ee(a)&&(a=Ae({},a)),t.style=bo(a))}const l=Le(e)?1:ha(e)?128:Bi(e)?64:we(e)?4:ne(e)?2:0;return ma(e,t,n,r,s,l,o,!0)}function fd(e){return e?To(e)||ta(e)?Ae({},e):e:null}function Yt(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:l,children:i,transition:a}=e,u=t?dd(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&ga(u),ref:t&&t.ref?n&&o?ee(o)?o.concat(qr(t)):[o,qr(t)]:qr(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==et?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Yt(e.ssContent),ssFallback:e.ssFallback&&Yt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&r&&an(c,a.clone(c)),c}function ba(e=" ",t=0){return ke(on,null,e,t)}function Am(e,t){const n=ke(tr,null,e);return n.staticCount=t,n}function it(e){return e==null||typeof e=="boolean"?ke(qe):ee(e)?ke(et,null,e.slice()):Zr(e)?qt(e):ke(on,null,String(e))}function qt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Yt(e)}function Mo(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ee(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Mo(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!ta(t)?t._ctx=at:s===3&&at&&(at.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ne(t)?(t={default:t,_ctx:at},n=32):(t=String(t),r&64?(n=16,t=[ba(t)]):n=8);e.children=t,e.shapeFlag|=n}function dd(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=yo([t.class,r.class]));else if(s==="style")t.style=bo([t.style,r.style]);else if(yr(s)){const o=t[s],l=r[s];l&&o!==l&&!(ee(o)&&o.includes(l))&&(t[s]=o?[].concat(o,l):l)}else s!==""&&(t[s]=r[s])}return t}function ot(e,t,n,r=null){ht(e,t,7,[n,r])}const pd=Xi();let hd=0;function vd(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||pd,o={uid:hd++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Iu(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ra(r,s),emitsOptions:da(r,s),emit:null,emitted:null,propsDefaults:me,inheritAttrs:r.inheritAttrs,ctx:me,data:me,props:me,attrs:me,slots:me,refs:me,setupState:me,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=sd.bind(null,o),e.ce&&e.ce(o),o}let Ie=null;const Tr=()=>Ie||at;let es,Xs;{const e=ss(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(l=>l(o)):s[0](o)}};es=t("__VUE_INSTANCE_SETTERS__",n=>Ie=n),Xs=t("__VUE_SSR_SETTERS__",n=>On=n)}const kr=e=>{const t=Ie;return es(e),e.scope.on(),()=>{e.scope.off(),es(t)}},hl=()=>{Ie&&Ie.scope.off(),es(null)};function ya(e){return e.vnode.shapeFlag&4}let On=!1;function gd(e,t=!1,n=!1){t&&Xs(t);const{props:r,children:s}=e.vnode,o=ya(e);qf(e,r,o,t),Yf(e,s,n||t);const l=o?md(e,t):void 0;return t&&Xs(!1),l}function md(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Df);const{setup:r}=n;if(r){$t();const s=e.setupContext=r.length>1?yd(e):null,o=kr(e),l=Sr(r,e,0,[e.props,s]),i=gi(l);if(Nt(),o(),(i||e.sp)&&!xn(e)&&Ro(e),i){if(l.then(hl,hl),t)return l.then(a=>{vl(e,a)}).catch(a=>{Er(a,e,0)});e.asyncDep=l}else vl(e,l)}else wa(e)}function vl(e,t,n){ne(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:we(t)&&(e.setupState=Ni(t)),wa(e)}function wa(e,t,n){const r=e.type;e.render||(e.render=r.render||xt);{const s=kr(e);$t();try{Hf(e)}finally{Nt(),s()}}}const bd={get(e,t){return je(e,"get",""),e[t]}};function yd(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,bd),slots:e.slots,emit:e.emit,expose:t}}function $o(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ni(ef(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in er)return er[n](e)},has(t,n){return n in t||n in er}})):e.proxy}function wd(e,t=!0){return ne(e)?e.displayName||e.name:e.name||t&&e.__name}function _d(e){return ne(e)&&"__vccOpts"in e}const x=(e,t)=>cf(e,t,On);function f(e,t,n){const r=arguments.length;return r===2?we(t)&&!ee(t)?Zr(t)?ke(e,null,[t]):ke(e,t):ke(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Zr(n)&&(n=[n]),ke(e,t,n))}const Cd="3.5.16";/**
|
|
* @vue/runtime-dom v3.5.16
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let Zs;const gl=typeof window<"u"&&window.trustedTypes;if(gl)try{Zs=gl.createPolicy("vue",{createHTML:e=>e})}catch{}const _a=Zs?e=>Zs.createHTML(e):e=>e,Sd="http://www.w3.org/2000/svg",Ed="http://www.w3.org/1998/Math/MathML",It=typeof document<"u"?document:null,ml=It&&It.createElement("template"),xd={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?It.createElementNS(Sd,e):t==="mathml"?It.createElementNS(Ed,e):n?It.createElement(e,{is:n}):It.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>It.createTextNode(e),createComment:e=>It.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>It.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const l=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{ml.innerHTML=_a(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const i=ml.content;if(r==="svg"||r==="mathml"){const a=i.firstChild;for(;a.firstChild;)i.appendChild(a.firstChild);i.removeChild(a)}t.insertBefore(i,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ft="transition",Un="animation",Pn=Symbol("_vtc"),Ca={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},Sa=Ae({},zi,Ca),Td=e=>(e.displayName="Transition",e.props=Sa,e),In=Td((e,{slots:t})=>f(bf,Ea(e),t)),Xt=(e,t=[])=>{ee(e)?e.forEach(n=>n(...t)):e&&e(...t)},bl=e=>e?ee(e)?e.some(t=>t.length>1):e.length>1:!1;function Ea(e){const t={};for(const I in e)I in Ca||(t[I]=e[I]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:i=`${n}-enter-to`,appearFromClass:a=o,appearActiveClass:u=l,appearToClass:c=i,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,b=kd(s),y=b&&b[0],_=b&&b[1],{onBeforeEnter:w,onEnter:E,onEnterCancelled:m,onLeave:C,onLeaveCancelled:P,onBeforeAppear:A=w,onAppear:$=E,onAppearCancelled:W=m}=t,H=(I,Q,fe,pe)=>{I._enterCancelled=pe,Vt(I,Q?c:i),Vt(I,Q?u:l),fe&&fe()},L=(I,Q)=>{I._isLeaving=!1,Vt(I,d),Vt(I,h),Vt(I,p),Q&&Q()},F=I=>(Q,fe)=>{const pe=I?$:E,U=()=>H(Q,I,fe);Xt(pe,[Q,U]),yl(()=>{Vt(Q,I?a:o),wt(Q,I?c:i),bl(pe)||wl(Q,r,y,U)})};return Ae(t,{onBeforeEnter(I){Xt(w,[I]),wt(I,o),wt(I,l)},onBeforeAppear(I){Xt(A,[I]),wt(I,a),wt(I,u)},onEnter:F(!1),onAppear:F(!0),onLeave(I,Q){I._isLeaving=!0;const fe=()=>L(I,Q);wt(I,d),I._enterCancelled?(wt(I,p),eo()):(eo(),wt(I,p)),yl(()=>{I._isLeaving&&(Vt(I,d),wt(I,h),bl(C)||wl(I,r,_,fe))}),Xt(C,[I,fe])},onEnterCancelled(I){H(I,!1,void 0,!0),Xt(m,[I])},onAppearCancelled(I){H(I,!0,void 0,!0),Xt(W,[I])},onLeaveCancelled(I){L(I),Xt(P,[I])}})}function kd(e){if(e==null)return null;if(we(e))return[Ts(e.enter),Ts(e.leave)];{const t=Ts(e);return[t,t]}}function Ts(e){return Tu(e)}function wt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Pn]||(e[Pn]=new Set)).add(t)}function Vt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Pn];n&&(n.delete(t),n.size||(e[Pn]=void 0))}function yl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Ad=0;function wl(e,t,n,r){const s=e._endId=++Ad,o=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:l,timeout:i,propCount:a}=xa(e,t);if(!l)return r();const u=l+"end";let c=0;const d=()=>{e.removeEventListener(u,p),o()},p=h=>{h.target===e&&++c>=a&&d()};setTimeout(()=>{c<a&&d()},i+1),e.addEventListener(u,p)}function xa(e,t){const n=window.getComputedStyle(e),r=b=>(n[b]||"").split(", "),s=r(`${Ft}Delay`),o=r(`${Ft}Duration`),l=_l(s,o),i=r(`${Un}Delay`),a=r(`${Un}Duration`),u=_l(i,a);let c=null,d=0,p=0;t===Ft?l>0&&(c=Ft,d=l,p=o.length):t===Un?u>0&&(c=Un,d=u,p=a.length):(d=Math.max(l,u),c=d>0?l>u?Ft:Un:null,p=c?c===Ft?o.length:a.length:0);const h=c===Ft&&/\b(transform|all)(,|$)/.test(r(`${Ft}Property`).toString());return{type:c,timeout:d,propCount:p,hasTransform:h}}function _l(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Cl(n)+Cl(e[r])))}function Cl(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function eo(){return document.body.offsetHeight}function Ld(e,t,n){const r=e[Pn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Sl=Symbol("_vod"),Rd=Symbol("_vsh"),Od=Symbol(""),Pd=/(^|;)\s*display\s*:/;function Id(e,t,n){const r=e.style,s=Le(n);let o=!1;if(n&&!s){if(t)if(Le(t))for(const l of t.split(";")){const i=l.slice(0,l.indexOf(":")).trim();n[i]==null&&Ur(r,i,"")}else for(const l in t)n[l]==null&&Ur(r,l,"");for(const l in n)l==="display"&&(o=!0),Ur(r,l,n[l])}else if(s){if(t!==n){const l=r[Od];l&&(n+=";"+l),r.cssText=n,o=Pd.test(n)}}else t&&e.removeAttribute("style");Sl in e&&(e[Sl]=o?r.display:"",e[Rd]&&(r.display="none"))}const El=/\s*!important$/;function Ur(e,t,n){if(ee(n))n.forEach(r=>Ur(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Md(e,t);El.test(n)?e.setProperty(un(r),n.replace(El,""),"important"):e[r]=n}}const xl=["Webkit","Moz","ms"],ks={};function Md(e,t){const n=ks[t];if(n)return n;let r=Ke(t);if(r!=="filter"&&r in e)return ks[t]=r;r=wr(r);for(let s=0;s<xl.length;s++){const o=xl[s]+r;if(o in e)return ks[t]=o}return t}const Tl="http://www.w3.org/1999/xlink";function kl(e,t,n,r,s,o=Pu(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Tl,t.slice(6,t.length)):e.setAttributeNS(Tl,t,n):n==null||o&&!bi(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Dn(n)?String(n):n)}function Al(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?_a(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const i=o==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(i!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let l=!1;if(n===""||n==null){const i=typeof e[t];i==="boolean"?n=bi(n):n==null&&i==="string"?(n="",l=!0):i==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(s||t)}function $d(e,t,n,r){e.addEventListener(t,n,r)}function Nd(e,t,n,r){e.removeEventListener(t,n,r)}const Ll=Symbol("_vei");function Dd(e,t,n,r,s=null){const o=e[Ll]||(e[Ll]={}),l=o[t];if(r&&l)l.value=r;else{const[i,a]=Hd(t);if(r){const u=o[t]=Bd(r,s);$d(e,i,u,a)}else l&&(Nd(e,i,l,a),o[t]=void 0)}}const Rl=/(?:Once|Passive|Capture)$/;function Hd(e){let t;if(Rl.test(e)){t={};let r;for(;r=e.match(Rl);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):un(e.slice(2)),t]}let As=0;const jd=Promise.resolve(),Fd=()=>As||(jd.then(()=>As=0),As=Date.now());function Bd(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;ht(Vd(r,n.value),t,5,[r])};return n.value=e,n.attached=Fd(),n}function Vd(e,t){if(ee(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const Ol=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,zd=(e,t,n,r,s,o)=>{const l=s==="svg";t==="class"?Ld(e,r,l):t==="style"?Id(e,n,r):yr(t)?vo(t)||Dd(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Wd(e,t,r,l))?(Al(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&kl(e,t,r,l,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Le(r))?Al(e,Ke(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),kl(e,t,r,l))};function Wd(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ol(t)&&ne(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Ol(t)&&Le(n)?!1:t in e}const Ta=new WeakMap,ka=new WeakMap,ts=Symbol("_moveCb"),Pl=Symbol("_enterCb"),qd=e=>(delete e.props.mode,e),Ud=qd({name:"TransitionGroup",props:Ae({},Sa,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Tr(),r=Vi();let s,o;return Ki(()=>{if(!s.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!Qd(s[0].el,n.vnode.el,l)){s=[];return}s.forEach(Kd),s.forEach(Yd);const i=s.filter(Jd);eo(),i.forEach(a=>{const u=a.el,c=u.style;wt(u,l),c.transform=c.webkitTransform=c.transitionDuration="";const d=u[ts]=p=>{p&&p.target!==u||(!p||/transform$/.test(p.propertyName))&&(u.removeEventListener("transitionend",d),u[ts]=null,Vt(u,l))};u.addEventListener("transitionend",d)}),s=[]}),()=>{const l=le(e),i=Ea(l);let a=l.tag||et;if(s=[],o)for(let u=0;u<o.length;u++){const c=o[u];c.el&&c.el instanceof Element&&(s.push(c),an(c,cr(c,i,r,n)),Ta.set(c,c.el.getBoundingClientRect()))}o=t.default?Lo(t.default()):[];for(let u=0;u<o.length;u++){const c=o[u];c.key!=null&&an(c,cr(c,i,r,n))}return ke(a,null,o)}}}),Gd=Ud;function Kd(e){const t=e.el;t[ts]&&t[ts](),t[Pl]&&t[Pl]()}function Yd(e){ka.set(e,e.el.getBoundingClientRect())}function Jd(e){const t=Ta.get(e),n=ka.get(e),r=t.left-n.left,s=t.top-n.top;if(r||s){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${r}px,${s}px)`,o.transitionDuration="0s",e}}function Qd(e,t,n){const r=e.cloneNode(),s=e[Pn];s&&s.forEach(i=>{i.split(/\s+/).forEach(a=>a&&r.classList.remove(a))}),n.split(/\s+/).forEach(i=>i&&r.classList.add(i)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:l}=xa(r);return o.removeChild(r),l}const Xd=Ae({patchProp:zd},xd);let Ls,Il=!1;function Zd(){return Ls=Il?Ls:Qf(Xd),Il=!0,Ls}const ep=(...e)=>{const t=Zd().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=np(r);if(s)return n(s,!0,tp(s))},t};function tp(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function np(e){return Le(e)?document.querySelector(e):e}var rp=["link","meta","script","style","noscript","template"],sp=["title","base"],op=([e,t,n])=>sp.includes(e)?e:rp.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([r,s])=>typeof s=="boolean"?s?[r,""]:null:[r,s]).filter(r=>r!=null).sort(([r],[s])=>r.localeCompare(s)),n]):null,lp=e=>{const t=new Set,n=[];return e.forEach(r=>{const s=op(r);s&&!t.has(s)&&(t.add(s),n.push(r))}),n},ip=e=>e[0]==="/"?e:`/${e}`,Aa=e=>e[e.length-1]==="/"||e.endsWith(".html")?e:`${e}/`,dn=e=>/^(https?:)?\/\//.test(e),ap=/.md((\?|#).*)?$/,Mn=(e,t="/")=>!!(dn(e)||e.startsWith("/")&&!e.startsWith(t)&&!ap.test(e)),La=e=>/^[a-z][a-z0-9+.-]*:/.test(e),Ar=e=>Object.prototype.toString.call(e)==="[object Object]",cp=e=>{const[t,...n]=e.split(/(\?|#)/);if(!t||t.endsWith("/"))return e;let r=t.replace(/(^|\/)README.md$/i,"$1index.html");return r.endsWith(".md")?r=r.substring(0,r.length-3)+".html":r.endsWith(".html")||(r=r+".html"),r.endsWith("/index.html")&&(r=r.substring(0,r.length-10)),r+n.join("")},No=e=>e[e.length-1]==="/"?e.slice(0,-1):e,Ra=e=>e[0]==="/"?e.slice(1):e,up=(e,t)=>{const n=Object.keys(e).sort((r,s)=>{const o=s.split("/").length-r.split("/").length;return o!==0?o:s.length-r.length});for(const r of n)if(t.startsWith(r))return r;return"/"},_e=e=>typeof e=="string";const fp="modulepreload",dp=function(e){return"/"+e},Ml={},Ot=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),l=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));s=Promise.all(n.map(i=>{if(i=dp(i),i in Ml)return;Ml[i]=!0;const a=i.endsWith(".css"),u=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${i}"]${u}`))return;const c=document.createElement("link");if(c.rel=a?"stylesheet":fp,a||(c.as="script",c.crossOrigin=""),c.href=i,l&&c.setAttribute("nonce",l),document.head.appendChild(c),a)return new Promise((d,p)=>{c.addEventListener("load",d),c.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${i}`)))})}))}return s.then(()=>t()).catch(o=>{const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o})},pp=JSON.parse("{}"),hp=Object.fromEntries([["/",{loader:()=>Ot(()=>import("./index.html-CtuKDaUj.js"),__vite__mapDeps([0,1])),meta:{t:"首页",i:"home"}}],["/deploy/",{loader:()=>Ot(()=>import("./index.html-DhMQOp1d.js"),__vite__mapDeps([2,1])),meta:{t:"部署",i:"fas fa-file-alt"}}],["/deploy/deploy-linux.html",{loader:()=>Ot(()=>import("./deploy-linux.html-RPPQ2VsH.js"),__vite__mapDeps([3,1])),meta:{t:"Linux部署教程",i:"fas fa-file-alt",I:!1}}],["/deploy/deploy-windows.html",{loader:()=>Ot(()=>import("./deploy-windows.html-BQcqmpEF.js"),__vite__mapDeps([4,1])),meta:{t:"Windows部署教程",i:"fas fa-file-alt",I:!1}}],["/guide/",{loader:()=>Ot(()=>import("./index.html-BoHpYDr9.js"),__vite__mapDeps([5,1])),meta:{t:"介绍",i:"fas fa-info"}}],["/guide/api/api.html",{loader:()=>Ot(()=>import("./api.html-HY3hTcwQ.js"),__vite__mapDeps([6,1])),meta:{t:"API接口",i:"fas fa-file-alt",I:!1}}],["/404.html",{loader:()=>Ot(()=>import("./404.html-B52eZklz.js"),__vite__mapDeps([7,1])),meta:{t:""}}],["/guide/api/",{loader:()=>Ot(()=>import("./index.html-Dlnwdrhm.js"),__vite__mapDeps([8,1])),meta:{t:"Api"}}]]);/*!
|
|
* vue-router v4.5.1
|
|
* (c) 2025 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/const mn=typeof document<"u";function Oa(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function vp(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Oa(e.default)}const ce=Object.assign;function Rs(e,t){const n={};for(const r in t){const s=t[r];n[r]=vt(s)?s.map(e):e(s)}return n}const rr=()=>{},vt=Array.isArray,Pa=/#/g,gp=/&/g,mp=/\//g,bp=/=/g,yp=/\?/g,Ia=/\+/g,wp=/%5B/g,_p=/%5D/g,Ma=/%5E/g,Cp=/%60/g,$a=/%7B/g,Sp=/%7C/g,Na=/%7D/g,Ep=/%20/g;function Do(e){return encodeURI(""+e).replace(Sp,"|").replace(wp,"[").replace(_p,"]")}function xp(e){return Do(e).replace($a,"{").replace(Na,"}").replace(Ma,"^")}function to(e){return Do(e).replace(Ia,"%2B").replace(Ep,"+").replace(Pa,"%23").replace(gp,"%26").replace(Cp,"`").replace($a,"{").replace(Na,"}").replace(Ma,"^")}function Tp(e){return to(e).replace(bp,"%3D")}function kp(e){return Do(e).replace(Pa,"%23").replace(yp,"%3F")}function Ap(e){return e==null?"":kp(e).replace(mp,"%2F")}function dr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Lp=/\/$/,Rp=e=>e.replace(Lp,"");function Os(e,t,n="/"){let r,s={},o="",l="";const i=t.indexOf("#");let a=t.indexOf("?");return i<a&&i>=0&&(a=-1),a>-1&&(r=t.slice(0,a),o=t.slice(a+1,i>-1?i:t.length),s=e(o)),i>-1&&(r=r||t.slice(0,i),l=t.slice(i,t.length)),r=Mp(r??t,n),{fullPath:r+(o&&"?")+o+l,path:r,query:s,hash:dr(l)}}function Op(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function $l(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Pp(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&$n(t.matched[r],n.matched[s])&&Da(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function $n(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Da(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ip(e[n],t[n]))return!1;return!0}function Ip(e,t){return vt(e)?Nl(e,t):vt(t)?Nl(t,e):e===t}function Nl(e,t){return vt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Mp(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,l,i;for(l=0;l<r.length;l++)if(i=r[l],i!==".")if(i==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(l).join("/")}const Pt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var pr;(function(e){e.pop="pop",e.push="push"})(pr||(pr={}));var sr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(sr||(sr={}));function $p(e){if(!e)if(mn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Rp(e)}const Np=/^[^#]+#/;function Dp(e,t){return e.replace(Np,"#")+t}function Hp(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const cs=()=>({left:window.scrollX,top:window.scrollY});function jp(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=Hp(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Dl(e,t){return(history.state?history.state.position-t:-1)+e}const no=new Map;function Fp(e,t){no.set(e,t)}function Bp(e){const t=no.get(e);return no.delete(e),t}let Vp=()=>location.protocol+"//"+location.host;function Ha(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let i=s.includes(e.slice(o))?e.slice(o).length:1,a=s.slice(i);return a[0]!=="/"&&(a="/"+a),$l(a,"")}return $l(n,e)+r+s}function zp(e,t,n,r){let s=[],o=[],l=null;const i=({state:p})=>{const h=Ha(e,location),b=n.value,y=t.value;let _=0;if(p){if(n.value=h,t.value=p,l&&l===b){l=null;return}_=y?p.position-y.position:0}else r(h);s.forEach(w=>{w(n.value,b,{delta:_,type:pr.pop,direction:_?_>0?sr.forward:sr.back:sr.unknown})})};function a(){l=n.value}function u(p){s.push(p);const h=()=>{const b=s.indexOf(p);b>-1&&s.splice(b,1)};return o.push(h),h}function c(){const{history:p}=window;p.state&&p.replaceState(ce({},p.state,{scroll:cs()}),"")}function d(){for(const p of o)p();o=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:a,listen:u,destroy:d}}function Hl(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?cs():null}}function Wp(e){const{history:t,location:n}=window,r={value:Ha(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(a,u,c){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+a:Vp()+e+a;try{t[c?"replaceState":"pushState"](u,"",p),s.value=u}catch(h){console.error(h),n[c?"replace":"assign"](p)}}function l(a,u){const c=ce({},t.state,Hl(s.value.back,a,s.value.forward,!0),u,{position:s.value.position});o(a,c,!0),r.value=a}function i(a,u){const c=ce({},s.value,t.state,{forward:a,scroll:cs()});o(c.current,c,!0);const d=ce({},Hl(r.value,a,null),{position:c.position+1},u);o(a,d,!1),r.value=a}return{location:r,state:s,push:i,replace:l}}function qp(e){e=$p(e);const t=Wp(e),n=zp(e,t.state,t.location,t.replace);function r(o,l=!0){l||n.pauseListeners(),history.go(o)}const s=ce({location:"",base:e,go:r,createHref:Dp.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function Up(e){return typeof e=="string"||e&&typeof e=="object"}function ja(e){return typeof e=="string"||typeof e=="symbol"}const Fa=Symbol("");var jl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(jl||(jl={}));function Nn(e,t){return ce(new Error,{type:e,[Fa]:!0},t)}function Rt(e,t){return e instanceof Error&&Fa in e&&(t==null||!!(e.type&t))}const Fl="[^/]+?",Gp={sensitive:!1,strict:!1,start:!0,end:!0},Kp=/[.+*?^${}()[\]/\\]/g;function Yp(e,t){const n=ce({},Gp,t),r=[];let s=n.start?"^":"";const o=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(s+="/");for(let d=0;d<u.length;d++){const p=u[d];let h=40+(n.sensitive?.25:0);if(p.type===0)d||(s+="/"),s+=p.value.replace(Kp,"\\$&"),h+=40;else if(p.type===1){const{value:b,repeatable:y,optional:_,regexp:w}=p;o.push({name:b,repeatable:y,optional:_});const E=w||Fl;if(E!==Fl){h+=10;try{new RegExp(`(${E})`)}catch(C){throw new Error(`Invalid custom RegExp for param "${b}" (${E}): `+C.message)}}let m=y?`((?:${E})(?:/(?:${E}))*)`:`(${E})`;d||(m=_&&u.length<2?`(?:/${m})`:"/"+m),_&&(m+="?"),s+=m,h+=20,_&&(h+=-8),y&&(h+=-20),E===".*"&&(h+=-50)}c.push(h)}r.push(c)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const l=new RegExp(s,n.sensitive?"":"i");function i(u){const c=u.match(l),d={};if(!c)return null;for(let p=1;p<c.length;p++){const h=c[p]||"",b=o[p-1];d[b.name]=h&&b.repeatable?h.split("/"):h}return d}function a(u){let c="",d=!1;for(const p of e){(!d||!c.endsWith("/"))&&(c+="/"),d=!1;for(const h of p)if(h.type===0)c+=h.value;else if(h.type===1){const{value:b,repeatable:y,optional:_}=h,w=b in u?u[b]:"";if(vt(w)&&!y)throw new Error(`Provided param "${b}" is an array but it is not repeatable (* or + modifiers)`);const E=vt(w)?w.join("/"):w;if(!E)if(_)p.length<2&&(c.endsWith("/")?c=c.slice(0,-1):d=!0);else throw new Error(`Missing required param "${b}"`);c+=E}}return c||"/"}return{re:l,score:r,keys:o,parse:i,stringify:a}}function Jp(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Ba(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=Jp(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Bl(r))return 1;if(Bl(s))return-1}return s.length-r.length}function Bl(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Qp={type:0,value:""},Xp=/[a-zA-Z0-9_]/;function Zp(e){if(!e)return[[]];if(e==="/")return[[Qp]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${u}": ${h}`)}let n=0,r=n;const s=[];let o;function l(){o&&s.push(o),o=[]}let i=0,a,u="",c="";function d(){u&&(n===0?o.push({type:0,value:u}):n===1||n===2||n===3?(o.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:c,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),u="")}function p(){u+=a}for(;i<e.length;){if(a=e[i++],a==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:a==="/"?(u&&d(),l()):a===":"?(d(),n=1):p();break;case 4:p(),n=r;break;case 1:a==="("?n=2:Xp.test(a)?p():(d(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&i--);break;case 2:a===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+a:n=3:c+=a;break;case 3:d(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&i--,c="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),d(),l(),s}function eh(e,t,n){const r=Yp(Zp(e.path),n),s=ce(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function th(e,t){const n=[],r=new Map;t=ql({strict:!1,end:!0,sensitive:!1},t);function s(d){return r.get(d)}function o(d,p,h){const b=!h,y=zl(d);y.aliasOf=h&&h.record;const _=ql(t,d),w=[y];if("alias"in d){const C=typeof d.alias=="string"?[d.alias]:d.alias;for(const P of C)w.push(zl(ce({},y,{components:h?h.record.components:y.components,path:P,aliasOf:h?h.record:y})))}let E,m;for(const C of w){const{path:P}=C;if(p&&P[0]!=="/"){const A=p.record.path,$=A[A.length-1]==="/"?"":"/";C.path=p.record.path+(P&&$+P)}if(E=eh(C,p,_),h?h.alias.push(E):(m=m||E,m!==E&&m.alias.push(E),b&&d.name&&!Wl(E)&&l(d.name)),Va(E)&&a(E),y.children){const A=y.children;for(let $=0;$<A.length;$++)o(A[$],E,h&&h.children[$])}h=h||E}return m?()=>{l(m)}:rr}function l(d){if(ja(d)){const p=r.get(d);p&&(r.delete(d),n.splice(n.indexOf(p),1),p.children.forEach(l),p.alias.forEach(l))}else{const p=n.indexOf(d);p>-1&&(n.splice(p,1),d.record.name&&r.delete(d.record.name),d.children.forEach(l),d.alias.forEach(l))}}function i(){return n}function a(d){const p=sh(d,n);n.splice(p,0,d),d.record.name&&!Wl(d)&&r.set(d.record.name,d)}function u(d,p){let h,b={},y,_;if("name"in d&&d.name){if(h=r.get(d.name),!h)throw Nn(1,{location:d});_=h.record.name,b=ce(Vl(p.params,h.keys.filter(m=>!m.optional).concat(h.parent?h.parent.keys.filter(m=>m.optional):[]).map(m=>m.name)),d.params&&Vl(d.params,h.keys.map(m=>m.name))),y=h.stringify(b)}else if(d.path!=null)y=d.path,h=n.find(m=>m.re.test(y)),h&&(b=h.parse(y),_=h.record.name);else{if(h=p.name?r.get(p.name):n.find(m=>m.re.test(p.path)),!h)throw Nn(1,{location:d,currentLocation:p});_=h.record.name,b=ce({},p.params,d.params),y=h.stringify(b)}const w=[];let E=h;for(;E;)w.unshift(E.record),E=E.parent;return{name:_,path:y,params:b,matched:w,meta:rh(w)}}e.forEach(d=>o(d));function c(){n.length=0,r.clear()}return{addRoute:o,resolve:u,removeRoute:l,clearRoutes:c,getRoutes:i,getRecordMatcher:s}}function Vl(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function zl(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:nh(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function nh(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Wl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function rh(e){return e.reduce((t,n)=>ce(t,n.meta),{})}function ql(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function sh(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;Ba(e,t[o])<0?r=o:n=o+1}const s=oh(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function oh(e){let t=e;for(;t=t.parent;)if(Va(t)&&Ba(e,t)===0)return t}function Va({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function lh(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const o=r[s].replace(Ia," "),l=o.indexOf("="),i=dr(l<0?o:o.slice(0,l)),a=l<0?null:dr(o.slice(l+1));if(i in t){let u=t[i];vt(u)||(u=t[i]=[u]),u.push(a)}else t[i]=a}return t}function Ul(e){let t="";for(let n in e){const r=e[n];if(n=Tp(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(vt(r)?r.map(o=>o&&to(o)):[r&&to(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function ih(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=vt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const ah=Symbol(""),Gl=Symbol(""),us=Symbol(""),Ho=Symbol(""),ro=Symbol("");function Gn(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ut(e,t,n,r,s,o=l=>l()){const l=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((i,a)=>{const u=p=>{p===!1?a(Nn(4,{from:n,to:t})):p instanceof Error?a(p):Up(p)?a(Nn(2,{from:t,to:p})):(l&&r.enterCallbacks[s]===l&&typeof p=="function"&&l.push(p),i())},c=o(()=>e.call(r&&r.instances[s],t,n,u));let d=Promise.resolve(c);e.length<3&&(d=d.then(u)),d.catch(p=>a(p))})}function Ps(e,t,n,r,s=o=>o()){const o=[];for(const l of e)for(const i in l.components){let a=l.components[i];if(!(t!=="beforeRouteEnter"&&!l.instances[i]))if(Oa(a)){const c=(a.__vccOpts||a)[t];c&&o.push(Ut(c,n,r,l,i,s))}else{let u=a();o.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${i}" at "${l.path}"`);const d=vp(c)?c.default:c;l.mods[i]=c,l.components[i]=d;const h=(d.__vccOpts||d)[t];return h&&Ut(h,n,r,l,i,s)()}))}}return o}function Kl(e){const t=$e(us),n=$e(Ho),r=x(()=>{const a=sn(e.to);return t.resolve(a)}),s=x(()=>{const{matched:a}=r.value,{length:u}=a,c=a[u-1],d=n.matched;if(!c||!d.length)return-1;const p=d.findIndex($n.bind(null,c));if(p>-1)return p;const h=Yl(a[u-2]);return u>1&&Yl(c)===h&&d[d.length-1].path!==h?d.findIndex($n.bind(null,a[u-2])):p}),o=x(()=>s.value>-1&&ph(n.params,r.value.params)),l=x(()=>s.value>-1&&s.value===n.matched.length-1&&Da(n.params,r.value.params));function i(a={}){if(dh(a)){const u=t[sn(e.replace)?"replace":"push"](sn(e.to)).catch(rr);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:x(()=>r.value.href),isActive:o,isExactActive:l,navigate:i}}function ch(e){return e.length===1?e[0]:e}const uh=K({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Kl,setup(e,{slots:t}){const n=_r(Kl(e)),{options:r}=$e(us),s=x(()=>({[Jl(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Jl(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&ch(t.default(n));return e.custom?o:f("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),fh=uh;function dh(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 ph(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!vt(s)||s.length!==r.length||r.some((o,l)=>o!==s[l]))return!1}return!0}function Yl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Jl=(e,t,n)=>e??t??n,hh=K({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=$e(ro),s=x(()=>e.route||r.value),o=$e(Gl,0),l=x(()=>{let u=sn(o);const{matched:c}=s.value;let d;for(;(d=c[u])&&!d.components;)u++;return u}),i=x(()=>s.value.matched[l.value]);kn(Gl,x(()=>l.value+1)),kn(ah,i),kn(ro,s);const a=te();return ie(()=>[a.value,i.value,e.name],([u,c,d],[p,h,b])=>{c&&(c.instances[d]=u,h&&h!==c&&u&&u===p&&(c.leaveGuards.size||(c.leaveGuards=h.leaveGuards),c.updateGuards.size||(c.updateGuards=h.updateGuards))),u&&c&&(!h||!$n(c,h)||!p)&&(c.enterCallbacks[d]||[]).forEach(y=>y(u))},{flush:"post"}),()=>{const u=s.value,c=e.name,d=i.value,p=d&&d.components[c];if(!p)return Ql(n.default,{Component:p,route:u});const h=d.props[c],b=h?h===!0?u.params:typeof h=="function"?h(u):h:null,_=f(p,ce({},b,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(d.instances[c]=null)},ref:a}));return Ql(n.default,{Component:_,route:u})||_}}});function Ql(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const vh=hh;function gh(e){const t=th(e.routes,e),n=e.parseQuery||lh,r=e.stringifyQuery||Ul,s=e.history,o=Gn(),l=Gn(),i=Gn(),a=Re(Pt);let u=Pt;mn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Rs.bind(null,T=>""+T),d=Rs.bind(null,Ap),p=Rs.bind(null,dr);function h(T,z){let j,G;return ja(T)?(j=t.getRecordMatcher(T),G=z):G=T,t.addRoute(G,j)}function b(T){const z=t.getRecordMatcher(T);z&&t.removeRoute(z)}function y(){return t.getRoutes().map(T=>T.record)}function _(T){return!!t.getRecordMatcher(T)}function w(T,z){if(z=ce({},z||a.value),typeof T=="string"){const g=Os(n,T,z.path),S=t.resolve({path:g.path},z),R=s.createHref(g.fullPath);return ce(g,S,{params:p(S.params),hash:dr(g.hash),redirectedFrom:void 0,href:R})}let j;if(T.path!=null)j=ce({},T,{path:Os(n,T.path,z.path).path});else{const g=ce({},T.params);for(const S in g)g[S]==null&&delete g[S];j=ce({},T,{params:d(g)}),z.params=d(z.params)}const G=t.resolve(j,z),se=T.hash||"";G.params=c(p(G.params));const he=Op(r,ce({},T,{hash:xp(se),path:G.path})),v=s.createHref(he);return ce({fullPath:he,hash:se,query:r===Ul?ih(T.query):T.query||{}},G,{redirectedFrom:void 0,href:v})}function E(T){return typeof T=="string"?Os(n,T,a.value.path):ce({},T)}function m(T,z){if(u!==T)return Nn(8,{from:z,to:T})}function C(T){return $(T)}function P(T){return C(ce(E(T),{replace:!0}))}function A(T){const z=T.matched[T.matched.length-1];if(z&&z.redirect){const{redirect:j}=z;let G=typeof j=="function"?j(T):j;return typeof G=="string"&&(G=G.includes("?")||G.includes("#")?G=E(G):{path:G},G.params={}),ce({query:T.query,hash:T.hash,params:G.path!=null?{}:T.params},G)}}function $(T,z){const j=u=w(T),G=a.value,se=T.state,he=T.force,v=T.replace===!0,g=A(j);if(g)return $(ce(E(g),{state:typeof g=="object"?ce({},se,g.state):se,force:he,replace:v}),z||j);const S=j;S.redirectedFrom=z;let R;return!he&&Pp(r,G,j)&&(R=Nn(16,{to:S,from:G}),rt(G,G,!0,!1)),(R?Promise.resolve(R):L(S,G)).catch(k=>Rt(k)?Rt(k,2)?k:mt(k):q(k,S,G)).then(k=>{if(k){if(Rt(k,2))return $(ce({replace:v},E(k.to),{state:typeof k.to=="object"?ce({},se,k.to.state):se,force:he}),z||S)}else k=I(S,G,!0,v,se);return F(S,G,k),k})}function W(T,z){const j=m(T,z);return j?Promise.reject(j):Promise.resolve()}function H(T){const z=At.values().next().value;return z&&typeof z.runWithContext=="function"?z.runWithContext(T):T()}function L(T,z){let j;const[G,se,he]=mh(T,z);j=Ps(G.reverse(),"beforeRouteLeave",T,z);for(const g of G)g.leaveGuards.forEach(S=>{j.push(Ut(S,T,z))});const v=W.bind(null,T,z);return j.push(v),Ne(j).then(()=>{j=[];for(const g of o.list())j.push(Ut(g,T,z));return j.push(v),Ne(j)}).then(()=>{j=Ps(se,"beforeRouteUpdate",T,z);for(const g of se)g.updateGuards.forEach(S=>{j.push(Ut(S,T,z))});return j.push(v),Ne(j)}).then(()=>{j=[];for(const g of he)if(g.beforeEnter)if(vt(g.beforeEnter))for(const S of g.beforeEnter)j.push(Ut(S,T,z));else j.push(Ut(g.beforeEnter,T,z));return j.push(v),Ne(j)}).then(()=>(T.matched.forEach(g=>g.enterCallbacks={}),j=Ps(he,"beforeRouteEnter",T,z,H),j.push(v),Ne(j))).then(()=>{j=[];for(const g of l.list())j.push(Ut(g,T,z));return j.push(v),Ne(j)}).catch(g=>Rt(g,8)?g:Promise.reject(g))}function F(T,z,j){i.list().forEach(G=>H(()=>G(T,z,j)))}function I(T,z,j,G,se){const he=m(T,z);if(he)return he;const v=z===Pt,g=mn?history.state:{};j&&(G||v?s.replace(T.fullPath,ce({scroll:v&&g&&g.scroll},se)):s.push(T.fullPath,se)),a.value=T,rt(T,z,j,v),mt()}let Q;function fe(){Q||(Q=s.listen((T,z,j)=>{if(!bt.listening)return;const G=w(T),se=A(G);if(se){$(ce(se,{replace:!0,force:!0}),G).catch(rr);return}u=G;const he=a.value;mn&&Fp(Dl(he.fullPath,j.delta),cs()),L(G,he).catch(v=>Rt(v,12)?v:Rt(v,2)?($(ce(E(v.to),{force:!0}),G).then(g=>{Rt(g,20)&&!j.delta&&j.type===pr.pop&&s.go(-1,!1)}).catch(rr),Promise.reject()):(j.delta&&s.go(-j.delta,!1),q(v,G,he))).then(v=>{v=v||I(G,he,!1),v&&(j.delta&&!Rt(v,8)?s.go(-j.delta,!1):j.type===pr.pop&&Rt(v,20)&&s.go(-1,!1)),F(G,he,v)}).catch(rr)}))}let pe=Gn(),U=Gn(),X;function q(T,z,j){mt(T);const G=U.list();return G.length?G.forEach(se=>se(T,z,j)):console.error(T),Promise.reject(T)}function ae(){return X&&a.value!==Pt?Promise.resolve():new Promise((T,z)=>{pe.add([T,z])})}function mt(T){return X||(X=!T,fe(),pe.list().forEach(([z,j])=>T?j(T):z()),pe.reset()),T}function rt(T,z,j,G){const{scrollBehavior:se}=e;if(!mn||!se)return Promise.resolve();const he=!j&&Bp(Dl(T.fullPath,0))||(G||!j)&&history.state&&history.state.scroll||null;return fn().then(()=>se(T,z,he)).then(v=>v&&jp(v)).catch(v=>q(v,T,z))}const Pe=T=>s.go(T);let Ye;const At=new Set,bt={currentRoute:a,listening:!0,addRoute:h,removeRoute:b,clearRoutes:t.clearRoutes,hasRoute:_,getRoutes:y,resolve:w,options:e,push:C,replace:P,go:Pe,back:()=>Pe(-1),forward:()=>Pe(1),beforeEach:o.add,beforeResolve:l.add,afterEach:i.add,onError:U.add,isReady:ae,install(T){const z=this;T.component("RouterLink",fh),T.component("RouterView",vh),T.config.globalProperties.$router=z,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>sn(a)}),mn&&!Ye&&a.value===Pt&&(Ye=!0,C(s.location).catch(se=>{}));const j={};for(const se in Pt)Object.defineProperty(j,se,{get:()=>a.value[se],enumerable:!0});T.provide(us,z),T.provide(Ho,Mi(j)),T.provide(ro,a);const G=T.unmount;At.add(T),T.unmount=function(){At.delete(T),At.size<1&&(u=Pt,Q&&Q(),Q=null,a.value=Pt,Ye=!1,X=!1),G()}}};function Ne(T){return T.reduce((z,j)=>z.then(()=>H(j)),Promise.resolve())}return bt}function mh(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let l=0;l<o;l++){const i=t.matched[l];i&&(e.matched.find(u=>$n(u,i))?r.push(i):n.push(i));const a=e.matched[l];a&&(t.matched.find(u=>$n(u,a))||s.push(a))}return[n,r,s]}function jn(){return $e(us)}function Jt(e){return $e(Ho)}var jo=Symbol(""),kt=()=>{const e=$e(jo);if(!e)throw new Error("useClientData() is called without provider.");return e},bh=()=>kt().pageComponent,Se=()=>kt().pageData,Te=()=>kt().pageFrontmatter,yh=()=>kt().pageHead,za=()=>kt().pageLang,wh=()=>kt().pageLayout,Fn=()=>kt().routeLocale,_h=()=>kt().routes,Wa=()=>kt().siteData,Fo=()=>kt().siteLocaleData,Ch=Symbol(""),so=Re(pp),hr=Re(hp),qa=e=>{const t=cp(e);if(hr.value[t])return t;const n=encodeURI(t);return hr.value[n]?n:so.value[t]||so.value[n]||t},fs=e=>{const t=qa(e),n=hr.value[t]??{...hr.value["/404.html"],notFound:!0};return{path:t,notFound:!1,...n}},ds=K({name:"ClientOnly",setup(e,t){const n=te(!1);return Ce(()=>{n.value=!0}),()=>{var r,s;return n.value?(s=(r=t.slots).default)==null?void 0:s.call(r):null}}}),Ua=K({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=bh(),n=x(()=>{if(!e.path)return t.value;const r=fs(e.path);return Ef(()=>r.loader().then(({comp:s})=>s))});return()=>f(n.value)}}),gt=(e={})=>e,ze=e=>dn(e)?e:`/${Ra(e)}`,Sh=e=>{if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget){const t=e.currentTarget.getAttribute("target");if(t!=null&&t.match(/\b_blank\b/i))return}return e.preventDefault(),!0}},Ue=({active:e=!1,activeClass:t="route-link-active",to:n,...r},{slots:s})=>{var a;const o=jn(),l=qa(n),i=l.startsWith("#")||l.startsWith("?")?l:ze(l);return f("a",{...r,class:["route-link",{[t]:e}],href:i,onClick:(u={})=>{Sh(u)?o.push(n).catch():Promise.resolve()}},(a=s.default)==null?void 0:a.call(s))};Ue.displayName="RouteLink";Ue.props={active:Boolean,activeClass:String,to:String};var Eh="Layout",xh="en-US",Zt=_r({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageHead:(e,t,n)=>{const r=_e(t.description)?t.description:n.description,s=[...Array.isArray(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:r}]];return lp(s)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:(e,t)=>e.lang||t.lang||xh,resolvePageLayout:(e,t)=>{const n=_e(e.frontmatter.layout)?e.frontmatter.layout:Eh;if(!t[n])throw new Error(`[vuepress] Cannot resolve layout: ${n}`);return t[n]},resolveRouteLocale:(e,t)=>up(e,t),resolveSiteLocaleData:(e,t)=>{var n;return{...e,...e.locales[t],head:[...((n=e.locales[t])==null?void 0:n.head)??[],...e.head??[]]}}});const Th={},Lr=e=>{const t=Fn();return x(()=>e[t.value]??{})};var tt=Uint8Array,yn=Uint16Array,kh=Int32Array,Ga=new tt([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Ka=new tt([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Ah=new tt([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Ya=function(e,t){for(var n=new yn(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];for(var s=new kh(n[30]),r=1;r<30;++r)for(var o=n[r];o<n[r+1];++o)s[o]=o-n[r]<<5|r;return{b:n,r:s}},Ja=Ya(Ga,2),Qa=Ja.b,Lh=Ja.r;Qa[28]=258,Lh[258]=28;var Rh=Ya(Ka,0),Oh=Rh.b,oo=new yn(32768);for(var ye=0;ye<32768;++ye){var Bt=(ye&43690)>>1|(ye&21845)<<1;Bt=(Bt&52428)>>2|(Bt&13107)<<2,Bt=(Bt&61680)>>4|(Bt&3855)<<4,oo[ye]=((Bt&65280)>>8|(Bt&255)<<8)>>1}var or=function(e,t,n){for(var r=e.length,s=0,o=new yn(t);s<r;++s)e[s]&&++o[e[s]-1];var l=new yn(t);for(s=1;s<t;++s)l[s]=l[s-1]+o[s-1]<<1;var i;if(n){i=new yn(1<<t);var a=15-t;for(s=0;s<r;++s)if(e[s])for(var u=s<<4|e[s],c=t-e[s],d=l[e[s]-1]++<<c,p=d|(1<<c)-1;d<=p;++d)i[oo[d]>>a]=u}else for(i=new yn(r),s=0;s<r;++s)e[s]&&(i[s]=oo[l[e[s]-1]++]>>15-e[s]);return i},Rr=new tt(288);for(var ye=0;ye<144;++ye)Rr[ye]=8;for(var ye=144;ye<256;++ye)Rr[ye]=9;for(var ye=256;ye<280;++ye)Rr[ye]=7;for(var ye=280;ye<288;++ye)Rr[ye]=8;var Xa=new tt(32);for(var ye=0;ye<32;++ye)Xa[ye]=5;var Ph=or(Rr,9,1),Ih=or(Xa,5,1),Is=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},ft=function(e,t,n){var r=t/8|0;return(e[r]|e[r+1]<<8)>>(t&7)&n},Ms=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},Mh=function(e){return(e+7)/8|0},Za=function(e,t,n){return(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length),new tt(e.subarray(t,n))},$h=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],lt=function(e,t,n){var r=new Error(t||$h[e]);if(r.code=e,Error.captureStackTrace&&Error.captureStackTrace(r,lt),!n)throw r;return r},Nh=function(e,t,n,r){var s=e.length,o=0;if(!s||t.f&&!t.l)return n||new tt(0);var l=!n,i=l||t.i!=2,a=t.i;l&&(n=new tt(s*3));var u=function(se){var he=n.length;if(se>he){var v=new tt(Math.max(he*2,se));v.set(n),n=v}},c=t.f||0,d=t.p||0,p=t.b||0,h=t.l,b=t.d,y=t.m,_=t.n,w=s*8;do{if(!h){c=ft(e,d,1);var E=ft(e,d+1,3);if(d+=3,E)if(E==1)h=Ph,b=Ih,y=9,_=5;else if(E==2){var A=ft(e,d,31)+257,$=ft(e,d+10,15)+4,W=A+ft(e,d+5,31)+1;d+=14;for(var H=new tt(W),L=new tt(19),F=0;F<$;++F)L[Ah[F]]=ft(e,d+F*3,7);d+=$*3;for(var I=Is(L),Q=(1<<I)-1,fe=or(L,I,1),F=0;F<W;){var pe=fe[ft(e,d,Q)];d+=pe&15;var m=pe>>4;if(m<16)H[F++]=m;else{var U=0,X=0;for(m==16?(X=3+ft(e,d,3),d+=2,U=H[F-1]):m==17?(X=3+ft(e,d,7),d+=3):m==18&&(X=11+ft(e,d,127),d+=7);X--;)H[F++]=U}}var q=H.subarray(0,A),ae=H.subarray(A);y=Is(q),_=Is(ae),h=or(q,y,1),b=or(ae,_,1)}else lt(1);else{var m=Mh(d)+4,C=e[m-4]|e[m-3]<<8,P=m+C;if(P>s){a&<(0);break}i&&u(p+C),n.set(e.subarray(m,P),p),t.b=p+=C,t.p=d=P*8,t.f=c;continue}if(d>w){a&<(0);break}}i&&u(p+131072);for(var mt=(1<<y)-1,rt=(1<<_)-1,Pe=d;;Pe=d){var U=h[Ms(e,d)&mt],Ye=U>>4;if(d+=U&15,d>w){a&<(0);break}if(U||lt(2),Ye<256)n[p++]=Ye;else if(Ye==256){Pe=d,h=null;break}else{var At=Ye-254;if(Ye>264){var F=Ye-257,bt=Ga[F];At=ft(e,d,(1<<bt)-1)+Qa[F],d+=bt}var Ne=b[Ms(e,d)&rt],T=Ne>>4;Ne||lt(3),d+=Ne&15;var ae=Oh[T];if(T>3){var bt=Ka[T];ae+=Ms(e,d)&(1<<bt)-1,d+=bt}if(d>w){a&<(0);break}i&&u(p+131072);var z=p+At;if(p<ae){var j=o-ae,G=Math.min(ae,z);for(j+p<0&<(3);p<G;++p)n[p]=r[j+p]}for(;p<z;++p)n[p]=n[p-ae]}}t.l=h,t.p=Pe,t.b=p,t.f=c,h&&(c=1,t.m=y,t.d=b,t.n=_)}while(!c);return p!=n.length&&l?Za(n,0,p):n.subarray(0,p)},Dh=new tt(0),Hh=function(e,t){return((e[0]&15)!=8||e[0]>>4>7||(e[0]<<8|e[1])%31)&<(6,"invalid zlib data"),(e[1]>>5&1)==1&<(6,"invalid zlib data: "+(e[1]&32?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function jh(e,t){return Nh(e.subarray(Hh(e),-4),{i:2},t,t)}var lo=typeof TextDecoder<"u"&&new TextDecoder,Fh=0;try{lo.decode(Dh,{stream:!0}),Fh=1}catch{}var Bh=function(e){for(var t="",n=0;;){var r=e[n++],s=(r>127)+(r>223)+(r>239);if(n+s>e.length)return{s:t,r:Za(e,n-1)};s?s==3?(r=((r&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|r>>10,56320|r&1023)):s&1?t+=String.fromCharCode((r&31)<<6|e[n++]&63):t+=String.fromCharCode((r&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(r)}};function Vh(e,t){{for(var n=new tt(e.length),r=0;r<e.length;++r)n[r]=e.charCodeAt(r);return n}for(var s=e.length,r=0;r<s;++r);}function zh(e,t){var n;if(lo)return lo.decode(e);var r=Bh(e),s=r.s,n=r.r;return n.length&<(8),s}const Xl=e=>{const t=atob(e);return zh(jh(Vh(t)))},ct=(e,t)=>{var r;const n=(r=(t==null?void 0:t._instance)||Tr())==null?void 0:r.appContext.components;return n?e in n||Ke(e)in n||wr(Ke(e))in n:!1},ec=e=>typeof e<"u",$s=e=>typeof e=="number",io=Array.isArray,vr=(e,t)=>_e(e)&&e.startsWith(t),Wh=(e,t)=>_e(e)&&e.endsWith(t),qh=Object.entries,Bn=Object.keys,Uh=e=>{if(e){if(typeof e=="number")return new Date(e);const t=Date.parse(e.toString());if(!Number.isNaN(t))return new Date(t)}return null},ps=e=>vr(e,"/"),Gh=(e,t)=>(ps(e),fs(e)),tc=e=>new Promise(t=>setTimeout(t,e));function nc(e,t){let n,r,s;const o=te(!0),l=()=>{o.value=!0,s()};ie(e,l,{flush:"sync"});const i=typeof t=="function"?t:t.get,a=typeof t=="function"?void 0:t.set,u=ko((c,d)=>(r=c,s=d,{get(){return o.value&&(n=i(),o.value=!1),r(),n},set(p){a==null||a(p)}}));return Object.isExtensible(u)&&(u.trigger=l),u}function pn(e){return yi()?(Mu(e),!0):!1}function Me(e){return typeof e=="function"?e():sn(e)}const Or=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Kh=e=>e!=null,Yh=Object.prototype.toString,Jh=e=>Yh.call(e)==="[object Object]",cn=()=>{},Zl=Qh();function Qh(){var e,t;return Or&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Bo(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}const rc=e=>e();function Xh(e,t={}){let n,r,s=cn;const o=i=>{clearTimeout(i),s(),s=cn};return i=>{const a=Me(e),u=Me(t.maxWait);return n&&o(n),a<=0||u!==void 0&&u<=0?(r&&(o(r),r=null),Promise.resolve(i())):new Promise((c,d)=>{s=t.rejectOnCancel?d:c,u&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,c(i())},u)),n=setTimeout(()=>{r&&o(r),r=null,c(i())},a)})}}function Zh(...e){let t=0,n,r=!0,s=cn,o,l,i,a,u;!xe(e[0])&&typeof e[0]=="object"?{delay:l,trailing:i=!0,leading:a=!0,rejectOnCancel:u=!1}=e[0]:[l,i=!0,a=!0,u=!1]=e;const c=()=>{n&&(clearTimeout(n),n=void 0,s(),s=cn)};return p=>{const h=Me(l),b=Date.now()-t,y=()=>o=p();return c(),h<=0?(t=Date.now(),y()):(b>h&&(a||!r)?(t=Date.now(),y()):i&&(o=new Promise((_,w)=>{s=u?w:_,n=setTimeout(()=>{t=Date.now(),r=!0,_(y()),c()},Math.max(0,h-b))})),!a&&!n&&(n=setTimeout(()=>r=!0,h)),r=!1,o)}}function ev(e=rc){const t=te(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:Cr(t),pause:n,resume:r,eventFilter:s}}function tv(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function sc(e){return Tr()}function nv(...e){if(e.length!==1)return ls(...e);const t=e[0];return typeof t=="function"?Cr(ko(()=>({get:t,set:cn}))):te(t)}function rv(e,t=200,n={}){return Bo(Xh(t,n),e)}function sv(e,t=200,n=!1,r=!0,s=!1){return Bo(Zh(t,n,r,s),e)}function ov(e,t,n={}){const{eventFilter:r=rc,...s}=n;return ie(e,Bo(r,t),s)}function lv(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:o,pause:l,resume:i,isActive:a}=ev(r);return{stop:ov(e,t,{...s,eventFilter:o}),pause:l,resume:i,isActive:a}}function hs(e,t=!0,n){sc()?Ce(e,n):t?e():fn(e)}function iv(e,t){sc()&&Hn(e,t)}function av(e,t,n={}){const{immediate:r=!0}=n,s=te(!1);let o=null;function l(){o&&(clearTimeout(o),o=null)}function i(){s.value=!1,l()}function a(...u){l(),s.value=!0,o=setTimeout(()=>{s.value=!1,o=null,e(...u)},Me(t))}return r&&(s.value=!0,Or&&a()),pn(i),{isPending:Cr(s),start:a,stop:i}}function gr(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,s=xe(e),o=te(e);function l(i){if(arguments.length)return o.value=i,o.value;{const a=Me(n);return o.value=o.value===a?Me(r):a,o.value}}return s?l:[o,l]}function Et(e){var t;const n=Me(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Dt=Or?window:void 0,oc=Or?window.document:void 0,lc=Or?window.navigator:void 0;function Oe(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=Dt):[t,n,r,s]=e,!t)return cn;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],l=()=>{o.forEach(c=>c()),o.length=0},i=(c,d,p,h)=>(c.addEventListener(d,p,h),()=>c.removeEventListener(d,p,h)),a=ie(()=>[Et(t),Me(s)],([c,d])=>{if(l(),!c)return;const p=Jh(d)?{...d}:d;o.push(...n.flatMap(h=>r.map(b=>i(c,h,b,p))))},{immediate:!0,flush:"post"}),u=()=>{a(),l()};return pn(u),u}function cv(){const e=te(!1),t=Tr();return t&&Ce(()=>{e.value=!0},t),e}function Vn(e){const t=cv();return x(()=>(t.value,!!e()))}function uv(e,t,n={}){const{window:r=Dt,...s}=n;let o;const l=Vn(()=>r&&"MutationObserver"in r),i=()=>{o&&(o.disconnect(),o=void 0)},a=x(()=>{const p=Me(e),h=(Array.isArray(p)?p:[p]).map(Et).filter(Kh);return new Set(h)}),u=ie(()=>a.value,p=>{i(),l.value&&p.size&&(o=new MutationObserver(t),p.forEach(h=>o.observe(h,s)))},{immediate:!0,flush:"post"}),c=()=>o==null?void 0:o.takeRecords(),d=()=>{i(),u()};return pn(d),{isSupported:l,stop:d,takeRecords:c}}function ic(e,t={}){const{window:n=Dt}=t,r=Vn(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=te(!1),l=u=>{o.value=u.matches},i=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",l):s.removeListener(l))},a=ua(()=>{r.value&&(i(),s=n.matchMedia(Me(e)),"addEventListener"in s?s.addEventListener("change",l):s.addListener(l),o.value=s.matches)});return pn(()=>{a(),i(),s=void 0}),o}function ei(e,t={}){const{controls:n=!1,navigator:r=lc}=t,s=Vn(()=>r&&"permissions"in r);let o;const l=typeof e=="string"?{name:e}:e,i=te(),a=()=>{o&&(i.value=o.state)},u=tv(async()=>{if(s.value){if(!o)try{o=await r.permissions.query(l),Oe(o,"change",a),a()}catch{i.value="prompt"}return o}});return u(),n?{state:i,isSupported:s,query:u}:i}function fv(e={}){const{navigator:t=lc,read:n=!1,source:r,copiedDuring:s=1500,legacy:o=!1}=e,l=Vn(()=>t&&"clipboard"in t),i=ei("clipboard-read"),a=ei("clipboard-write"),u=x(()=>l.value||o),c=te(""),d=te(!1),p=av(()=>d.value=!1,s);function h(){l.value&&w(i.value)?t.clipboard.readText().then(E=>{c.value=E}):c.value=_()}u.value&&n&&Oe(["copy","cut"],h);async function b(E=Me(r)){u.value&&E!=null&&(l.value&&w(a.value)?await t.clipboard.writeText(E):y(E),c.value=E,d.value=!0,p.start())}function y(E){const m=document.createElement("textarea");m.value=E??"",m.style.position="absolute",m.style.opacity="0",document.body.appendChild(m),m.select(),document.execCommand("copy"),m.remove()}function _(){var E,m,C;return(C=(m=(E=document==null?void 0:document.getSelection)==null?void 0:E.call(document))==null?void 0:m.toString())!=null?C:""}function w(E){return E==="granted"||E==="prompt"}return{isSupported:u,text:c,copied:d,copy:b}}const Fr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Br="__vueuse_ssr_handlers__",dv=pv();function pv(){return Br in Fr||(Fr[Br]=Fr[Br]||{}),Fr[Br]}function hv(e,t){return dv[e]||t}function vv(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const gv={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},ti="vueuse-storage";function Vo(e,t,n,r={}){var s;const{flush:o="pre",deep:l=!0,listenToStorageChanges:i=!0,writeDefaults:a=!0,mergeDefaults:u=!1,shallow:c,window:d=Dt,eventFilter:p,onError:h=L=>{console.error(L)},initOnMounted:b}=r,y=(c?Re:te)(typeof t=="function"?t():t);if(!n)try{n=hv("getDefaultStorage",()=>{var L;return(L=Dt)==null?void 0:L.localStorage})()}catch(L){h(L)}if(!n)return y;const _=Me(t),w=vv(_),E=(s=r.serializer)!=null?s:gv[w],{pause:m,resume:C}=lv(y,()=>A(y.value),{flush:o,deep:l,eventFilter:p});d&&i&&hs(()=>{Oe(d,"storage",W),Oe(d,ti,H),b&&W()}),b||W();function P(L,F){d&&d.dispatchEvent(new CustomEvent(ti,{detail:{key:e,oldValue:L,newValue:F,storageArea:n}}))}function A(L){try{const F=n.getItem(e);if(L==null)P(F,null),n.removeItem(e);else{const I=E.write(L);F!==I&&(n.setItem(e,I),P(F,I))}}catch(F){h(F)}}function $(L){const F=L?L.newValue:n.getItem(e);if(F==null)return a&&_!=null&&n.setItem(e,E.write(_)),_;if(!L&&u){const I=E.read(F);return typeof u=="function"?u(I,_):w==="object"&&!Array.isArray(I)?{..._,...I}:I}else return typeof F!="string"?F:E.read(F)}function W(L){if(!(L&&L.storageArea!==n)){if(L&&L.key==null){y.value=_;return}if(!(L&&L.key!==e)){m();try{(L==null?void 0:L.newValue)!==E.write(y.value)&&(y.value=$(L))}catch(F){h(F)}finally{L?fn(C):C()}}}}function H(L){W(L.detail)}return y}function mv(e){return ic("(prefers-color-scheme: dark)",e)}function bv(e,t,n={}){const{window:r=Dt,...s}=n;let o;const l=Vn(()=>r&&"ResizeObserver"in r),i=()=>{o&&(o.disconnect(),o=void 0)},a=x(()=>Array.isArray(e)?e.map(d=>Et(d)):[Et(e)]),u=ie(a,d=>{if(i(),l.value&&r){o=new ResizeObserver(t);for(const p of d)p&&o.observe(p,s)}},{immediate:!0,flush:"post"}),c=()=>{i(),u()};return pn(c),{isSupported:l,stop:c}}function yv(e,t={width:0,height:0},n={}){const{window:r=Dt,box:s="content-box"}=n,o=x(()=>{var d,p;return(p=(d=Et(e))==null?void 0:d.namespaceURI)==null?void 0:p.includes("svg")}),l=te(t.width),i=te(t.height),{stop:a}=bv(e,([d])=>{const p=s==="border-box"?d.borderBoxSize:s==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(r&&o.value){const h=Et(e);if(h){const b=h.getBoundingClientRect();l.value=b.width,i.value=b.height}}else if(p){const h=Array.isArray(p)?p:[p];l.value=h.reduce((b,{inlineSize:y})=>b+y,0),i.value=h.reduce((b,{blockSize:y})=>b+y,0)}else l.value=d.contentRect.width,i.value=d.contentRect.height},n);hs(()=>{const d=Et(e);d&&(l.value="offsetWidth"in d?d.offsetWidth:t.width,i.value="offsetHeight"in d?d.offsetHeight:t.height)});const u=ie(()=>Et(e),d=>{l.value=d?t.width:0,i.value=d?t.height:0});function c(){a(),u()}return{width:l,height:i,stop:c}}const ni=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function zo(e,t={}){const{document:n=oc,autoExit:r=!1}=t,s=x(()=>{var w;return(w=Et(e))!=null?w:n==null?void 0:n.querySelector("html")}),o=te(!1),l=x(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(w=>n&&w in n||s.value&&w in s.value)),i=x(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(w=>n&&w in n||s.value&&w in s.value)),a=x(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(w=>n&&w in n||s.value&&w in s.value)),u=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(w=>n&&w in n),c=Vn(()=>s.value&&n&&l.value!==void 0&&i.value!==void 0&&a.value!==void 0),d=()=>u?(n==null?void 0:n[u])===s.value:!1,p=()=>{if(a.value){if(n&&n[a.value]!=null)return n[a.value];{const w=s.value;if((w==null?void 0:w[a.value])!=null)return!!w[a.value]}}return!1};async function h(){if(!(!c.value||!o.value)){if(i.value)if((n==null?void 0:n[i.value])!=null)await n[i.value]();else{const w=s.value;(w==null?void 0:w[i.value])!=null&&await w[i.value]()}o.value=!1}}async function b(){if(!c.value||o.value)return;p()&&await h();const w=s.value;l.value&&(w==null?void 0:w[l.value])!=null&&(await w[l.value](),o.value=!0)}async function y(){await(o.value?h():b())}const _=()=>{const w=p();(!w||w&&d())&&(o.value=w)};return Oe(n,ni,_,!1),Oe(()=>Et(s),ni,_,!1),r&&pn(h),{isSupported:c,isFullscreen:o,enter:b,exit:h,toggle:y}}function Ns(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Ds(e,t=cn,n={}){const{immediate:r=!0,manual:s=!1,type:o="text/javascript",async:l=!0,crossOrigin:i,referrerPolicy:a,noModule:u,defer:c,document:d=oc,attrs:p={}}=n,h=te(null);let b=null;const y=E=>new Promise((m,C)=>{const P=W=>(h.value=W,m(W),W);if(!d){m(!1);return}let A=!1,$=d.querySelector(`script[src="${Me(e)}"]`);$?$.hasAttribute("data-loaded")&&P($):($=d.createElement("script"),$.type=o,$.async=l,$.src=Me(e),c&&($.defer=c),i&&($.crossOrigin=i),u&&($.noModule=u),a&&($.referrerPolicy=a),Object.entries(p).forEach(([W,H])=>$==null?void 0:$.setAttribute(W,H)),A=!0),$.addEventListener("error",W=>C(W)),$.addEventListener("abort",W=>C(W)),$.addEventListener("load",()=>{$.setAttribute("data-loaded","true"),t($),P($)}),A&&($=d.head.appendChild($)),E||P($)}),_=(E=!0)=>(b||(b=y(E)),b),w=()=>{if(!d)return;b=null,h.value&&(h.value=null);const E=d.querySelector(`script[src="${Me(e)}"]`);E&&d.head.removeChild(E)};return r&&!s&&hs(_),s||iv(w),{scriptTag:h,load:_,unload:w}}function ac(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!n||n.tagName==="BODY"?!1:ac(n)}}function wv(e){const t=e||window.event,n=t.target;return ac(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const Hs=new WeakMap;function cc(e,t=!1){const n=te(t);let r=null,s="";ie(nv(e),i=>{const a=Ns(Me(i));if(a){const u=a;if(Hs.get(u)||Hs.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(s=u.style.overflow),u.style.overflow==="hidden")return n.value=!0;if(n.value)return u.style.overflow="hidden"}},{immediate:!0});const o=()=>{const i=Ns(Me(e));!i||n.value||(Zl&&(r=Oe(i,"touchmove",a=>{wv(a)},{passive:!1})),i.style.overflow="hidden",n.value=!0)},l=()=>{const i=Ns(Me(e));!i||!n.value||(Zl&&(r==null||r()),i.style.overflow=s,Hs.delete(i),n.value=!1)};return pn(l),x({get(){return n.value},set(i){i?o():l()}})}function _v(e={}){const{window:t=Dt,behavior:n="auto"}=e;if(!t)return{x:te(0),y:te(0)};const r=te(t.scrollX),s=te(t.scrollY),o=x({get(){return r.value},set(i){scrollTo({left:i,behavior:n})}}),l=x({get(){return s.value},set(i){scrollTo({top:i,behavior:n})}});return Oe(t,"scroll",()=>{r.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:o,y:l}}function Cv(e={}){const{window:t=Dt,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:o=!0}=e,l=te(n),i=te(r),a=()=>{t&&(o?(l.value=t.innerWidth,i.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,i.value=t.document.documentElement.clientHeight))};if(a(),hs(a),Oe("resize",a,{passive:!0}),s){const u=ic("(orientation: portrait)");ie(u,()=>a())}return{width:l,height:i}}var Sv=K({name:"FontIcon",props:{icon:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""}},setup(e){const t=x(()=>{const r=["font-icon icon"],s=`fas fa-${e.icon}`;return r.push("fa-fw fa-sm"),r.push(e.icon.includes(" ")?e.icon:s),r}),n=x(()=>{const r={};return e.color&&(r.color=e.color),e.size&&(r["font-size"]=Number.isNaN(Number(e.size))?e.size:`${e.size}px`),Bn(r).length?r:null});return()=>e.icon?f("span",{key:e.icon,class:t.value,style:n.value}):null}});const uc=({type:e="info",text:t="",vertical:n,color:r},{slots:s})=>{var o;return f("span",{class:["vp-badge",e,{diy:r}],style:{verticalAlign:n??!1,backgroundColor:r??!1}},((o=s.default)==null?void 0:o.call(s))||t)};uc.displayName="Badge";const fc=({title:e,desc:t="",logo:n,background:r,color:s,link:o})=>{const l=[n?f("img",{class:"vp-card-logo",src:ze(n),loading:"lazy","no-view":""}):null,f("div",{class:"vp-card-content"},[f("div",{class:"vp-card-title",innerHTML:e}),f("hr"),f("div",{class:"vp-card-desc",innerHTML:t})])],i={};return r&&(i.background=r),s&&(i.color=s),o?Mn(o)?f("a",{class:"vp-card",href:o,target:"_blank",style:i},l):f(Ue,{to:o,class:"vp-card",style:i},()=>l):f("div",{class:"vp-card",style:i},l)};fc.displayName="VPCard";const Ev=gt({enhance:({app:e})=>{ct("FontIcon")||e.component("FontIcon",Sv),ct("Badge")||e.component("Badge",uc),ct("VPCard")||e.component("VPCard",fc)},setup:()=>{Ds("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/brands.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Ds("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/solid.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Ds("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/fontawesome.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}})},rootComponents:[]}),ri=async(e,t)=>{const{path:n,query:r}=e.currentRoute.value,{scrollBehavior:s}=e.options;e.options.scrollBehavior=void 0,await e.replace({path:n,query:r,hash:t}),e.options.scrollBehavior=s},xv=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:r=5})=>{const s=jn();Oe("scroll",rv(()=>{var b,y;const l=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(l-0)<r){ri(s,"");return}const a=window.innerHeight+l,u=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),c=Math.abs(u-a)<r,d=Array.from(document.querySelectorAll(e)),h=Array.from(document.querySelectorAll(t)).filter(_=>d.some(w=>w.hash===_.hash));for(let _=0;_<h.length;_++){const w=h[_],E=h[_+1],m=l>=(((b=w.parentElement)==null?void 0:b.offsetTop)??0)-r,C=!E||l<(((y=E.parentElement)==null?void 0:y.offsetTop)??0)-r;if(!(m&&C))continue;const A=decodeURIComponent(s.currentRoute.value.hash),$=decodeURIComponent(w.hash);if(A===$)return;if(c){for(let W=_+1;W<h.length;W++)if(A===decodeURIComponent(h[W].hash))return}ri(s,$);return}},n))},Tv=".vp-sidebar-link, .vp-toc-link",kv=".header-anchor",Av=200,Lv=5,Rv=gt({setup(){xv({headerLinkSelector:Tv,headerAnchorSelector:kv,delay:Av,offset:Lv})}});let dc=e=>_e(e.title)?{title:e.title}:null;const pc=Symbol(""),Ov=e=>{dc=e},Pv=()=>$e(pc),Iv=e=>{e.provide(pc,dc)};var Mv={"/":{title:"目录",empty:"暂无目录"}};const $v=K({name:"Catalog",props:{base:{type:String,default:""},level:{type:Number,default:3},index:Boolean,hideHeading:Boolean},setup(e){const t=Pv(),n=Lr(Mv),r=Se(),s=_h(),o=Wa(),i=Re(qh(s.value).map(([u,{meta:c}])=>{const d=t(c);if(!d)return null;const p=u.split("/").length;return{level:Wh(u,"/")?p-2:p-1,base:u.replace(/\/[^/]+\/?$/,"/"),path:u,...d}}).filter(u=>Ar(u)&&_e(u.title))),a=x(()=>{const u=e.base?ip(Aa(e.base)):r.value.path.replace(/\/[^/]+$/,"/"),c=u.split("/").length-2,d=[];return i.value.filter(({level:p,path:h})=>{if(!vr(h,u)||h===u)return!1;if(u==="/"){const b=Bn(o.value.locales).filter(y=>y!=="/");if(h==="/404.html"||b.some(y=>vr(h,y)))return!1}return p-c<=e.level}).sort(({title:p,level:h,order:b},{title:y,level:_,order:w})=>{const E=h-_;return E||($s(b)?$s(w)?b>0?w>0?b-w:-1:w<0?b-w:1:b:$s(w)?w:p.localeCompare(y))}).forEach(p=>{var y;const{base:h,level:b}=p;switch(b-c){case 1:{d.push(p);break}case 2:{const _=d.find(w=>w.path===h);_&&(_.children??(_.children=[])).push(p);break}default:{const _=d.find(w=>w.path===h.replace(/\/[^/]+\/$/,"/"));if(_){const w=(y=_.children)==null?void 0:y.find(E=>E.path===h);w&&(w.children??(w.children=[])).push(p)}}}}),d});return()=>{const u=a.value.some(c=>c.children);return f("div",{class:["vp-catalog-wrapper",{index:e.index}]},[e.hideHeading?null:f("h2",{class:"vp-catalog-main-title"},n.value.title),a.value.length?f(e.index?"ol":"ul",{class:["vp-catalogs",{deep:u}]},a.value.map(({children:c=[],title:d,path:p,content:h})=>{const b=f(Ue,{class:"vp-catalog-title",to:p},()=>h?f(h):d);return f("li",{class:"vp-catalog"},u?[f("h3",{id:d,class:["vp-catalog-child-title",{"has-children":c.length}]},[f("a",{href:`#${d}`,class:"vp-catalog-header-anchor","aria-hidden":!0},"#"),b]),c.length?f(e.index?"ol":"ul",{class:"vp-child-catalogs"},c.map(({children:y=[],content:_,path:w,title:E})=>f("li",{class:"vp-child-catalog"},[f("div",{class:["vp-catalog-sub-title",{"has-children":y.length}]},[f("a",{href:`#${E}`,class:"vp-catalog-header-anchor"},"#"),f(Ue,{class:"vp-catalog-title",to:w},()=>_?f(_):E)]),y.length?f(e.index?"ol":"div",{class:e.index?"vp-sub-catalogs":"vp-sub-catalogs-wrapper"},y.map(({content:m,path:C,title:P})=>e.index?f("li",{class:"vp-sub-catalog"},f(Ue,{to:C},()=>m?f(m):P)):f(Ue,{class:"vp-sub-catalog-link",to:C},()=>m?f(m):P))):null]))):null]:f("div",{class:"vp-catalog-child-title"},b))})):f("p",{class:"vp-empty-catalog"},n.value.empty)])}}}),Nv=gt({enhance:({app:e})=>{Iv(e),ct("Catalog",e)||e.component("Catalog",$v)}});var Dv={"/":{backToTop:"返回顶部"}};const Hv=K({name:"BackToTop",setup(){const e=Te(),t=Lr(Dv),n=Re(),{height:r}=yv(n),{height:s}=Cv(),{y:o}=_v(),l=x(()=>e.value.backToTop!==!1&&o.value>100),i=x(()=>o.value/(r.value-s.value)*100);return Ce(()=>{n.value=document.body}),()=>f(In,{name:"back-to-top"},()=>l.value?f("button",{type:"button",class:"vp-back-to-top-button","aria-label":t.value.backToTop,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[f("span",{class:"vp-scroll-progress",role:"progressbar","aria-labelledby":"loadinglabel","aria-valuenow":i.value},f("svg",f("circle",{cx:"26",cy:"26",r:"24",fill:"none",stroke:"currentColor","stroke-width":"4","stroke-dasharray":`${Math.PI*i.value*.48} ${Math.PI*(100-i.value)*.48}`}))),f("div",{class:"back-to-top-icon"})]):null)}}),jv=gt({rootComponents:[Hv]}),Fv=f("svg",{class:"external-link-icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"},[f("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),f("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})]),hc=K({name:"ExternalLinkIcon",props:{locales:{type:Object,default:()=>({})}},setup(e){const t=Fn(),n=x(()=>e.locales[t.value]??{openInNewWindow:"open in new window"});return()=>f("span",[Fv,f("span",{class:"external-link-icon-sr-only"},n.value.openInNewWindow)])}});var Bv={};const Vv=Bv,zv=gt({enhance({app:e}){e.component("ExternalLinkIcon",f(hc,{locales:Vv}))}});/**
|
|
* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
|
* @license MIT
|
|
*/const oe={settings:{minimum:.08,easing:"ease",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,barSelector:'[role="bar"]',parent:"body",template:'<div class="bar" role="bar"></div>'},status:null,set:e=>{const t=oe.isStarted();e=js(e,oe.settings.minimum,1),oe.status=e===1?null:e;const n=oe.render(!t),r=n.querySelector(oe.settings.barSelector),s=oe.settings.speed,o=oe.settings.easing;return n.offsetWidth,Wv(l=>{Vr(r,{transform:"translate3d("+si(e)+"%,0,0)",transition:"all "+s+"ms "+o}),e===1?(Vr(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){Vr(n,{transition:"all "+s+"ms linear",opacity:"0"}),setTimeout(function(){oe.remove(),l()},s)},s)):setTimeout(()=>l(),s)}),oe},isStarted:()=>typeof oe.status=="number",start:()=>{oe.status||oe.set(0);const e=()=>{setTimeout(()=>{oe.status&&(oe.trickle(),e())},oe.settings.trickleSpeed)};return oe.settings.trickle&&e(),oe},done:e=>!e&&!oe.status?oe:oe.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=oe.status;return t?(typeof e!="number"&&(e=(1-t)*js(Math.random()*t,.1,.95)),t=js(t+e,0,.994),oe.set(t)):oe.start()},trickle:()=>oe.inc(Math.random()*oe.settings.trickleRate),render:e=>{if(oe.isRendered())return document.getElementById("nprogress");oi(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=oe.settings.template;const n=t.querySelector(oe.settings.barSelector),r=e?"-100":si(oe.status||0),s=document.querySelector(oe.settings.parent);return Vr(n,{transition:"all 0 linear",transform:"translate3d("+r+"%,0,0)"}),s!==document.body&&oi(s,"nprogress-custom-parent"),s==null||s.appendChild(t),t},remove:()=>{li(document.documentElement,"nprogress-busy"),li(document.querySelector(oe.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&qv(e)},isRendered:()=>!!document.getElementById("nprogress")},js=(e,t,n)=>e<t?t:e>n?n:e,si=e=>(-1+e)*100,Wv=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),Vr=function(){const e=["Webkit","O","Moz","ms"],t={};function n(l){return l.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(i,a){return a.toUpperCase()})}function r(l){const i=document.body.style;if(l in i)return l;let a=e.length;const u=l.charAt(0).toUpperCase()+l.slice(1);let c;for(;a--;)if(c=e[a]+u,c in i)return c;return l}function s(l){return l=n(l),t[l]??(t[l]=r(l))}function o(l,i,a){i=s(i),l.style[i]=a}return function(l,i){for(const a in i){const u=i[a];u!==void 0&&Object.prototype.hasOwnProperty.call(i,a)&&o(l,a,u)}}}(),vc=(e,t)=>(typeof e=="string"?e:Wo(e)).indexOf(" "+t+" ")>=0,oi=(e,t)=>{const n=Wo(e),r=n+t;vc(n,t)||(e.className=r.substring(1))},li=(e,t)=>{const n=Wo(e);if(!vc(e,t))return;const r=n.replace(" "+t+" "," ");e.className=r.substring(1,r.length-1)},Wo=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),qv=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},Uv=()=>{Ce(()=>{const e=jn(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||oe.start()}),e.afterEach(n=>{t.add(n.path),oe.done()})})},Gv=gt({setup(){Uv()}}),Kv=JSON.parse('{"encrypt":{},"logo":"/images/favicon.ico","repo":"MeoProject/lx-music-api-server","docsDir":"src","docsBranch":"docs","displayFooter":true,"locales":{"/":{"lang":"zh-CN","navbarLocales":{"langName":"简体中文","selectLangAriaLabel":"选择语言"},"metaLocales":{"author":"作者","date":"写作日期","origin":"原创","views":"访问量","category":"分类","tag":"标签","readingTime":"阅读时间","words":"字数","toc":"此页内容","prev":"上一页","next":"下一页","lastUpdated":"上次编辑于","contributors":"贡献者","editLink":"在 GitHub 上编辑此页","print":"打印"},"outlookLocales":{"themeColor":"主题色","darkmode":"外观","fullscreen":"全屏"},"routeLocales":{"skipToContent":"跳至主要內容","notFoundTitle":"页面不存在","notFoundMsg":["这里什么也没有","我们是怎么来到这儿的?","这 是 四 零 四 !","看起来你访问了一个失效的链接"],"back":"返回上一页","home":"带我回家","openInNewWindow":"Open in new window"},"navbar":[{"text":"首页","link":"/README.md","icon":"home"},{"text":"介绍","link":"/guide/README.md","icon":"fas fa-info"},{"text":"部署","link":"/deploy/README.md","icon":"fas fa-file-alt"}],"sidebar":{"/":["",{"text":"介绍","icon":"laptop-code","prefix":"guide/readme.md","link":"guide/readme.md","children":"structure"},{"text":"部署","icon":"book","prefix":"deploy/","collapsible":true,"link":"deploy/readme.md","children":["deploy-windows.md","deploy-linux.md"]},{"text":"API调用方法","icon":"person-chalkboard","link":"guide/api/api.md"}]}}}}'),Yv=te(Kv),gc=()=>Yv,mc=Symbol(""),Jv=()=>{const e=$e(mc);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},Qv=(e,t)=>{const{locales:n,...r}=e;return{...r,...n==null?void 0:n[t]}},Xv=gt({enhance({app:e}){const t=gc(),n=e._context.provides[jo],r=x(()=>Qv(t.value,n.routeLocale.value));e.provide(mc,r),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return r.value}}})}}),Zv=/\b(?:Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini)/i,e1=()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator&&Zv.test(navigator.userAgent),t1=({delay:e=500,duration:t=2e3,locales:n,selector:r,showInMobile:s})=>{const{copy:o,copied:l}=fv({legacy:!0,copiedDuring:t}),i=Lr(n),a=Se(),u=p=>{if(!p.hasAttribute("copy-code-registered")){const h=document.createElement("button");h.type="button",h.classList.add("vp-copy-code-button"),h.innerHTML='<div class="vp-copy-icon" />',h.setAttribute("aria-label",i.value.copy),h.setAttribute("data-copied",i.value.copied),p.parentElement&&p.parentElement.insertBefore(h,p),p.setAttribute("copy-code-registered","")}},c=()=>{fn().then(()=>tc(e)).then(()=>{r.forEach(p=>{document.querySelectorAll(p).forEach(u)})})},d=(p,h,b)=>{let{innerText:y=""}=h;/language-(shellscript|shell|bash|sh|zsh)/.test(p.classList.toString())&&(y=y.replace(/^ *(\$|>) /gm,"")),o(y).then(()=>{b.classList.add("copied"),ie(l,()=>{b.classList.remove("copied"),b.blur()},{once:!0})})};Ce(()=>{const p=!e1()||s;p&&c(),Oe("click",h=>{const b=h.target;if(b.matches('div[class*="language-"] > button.copy')){const y=b.parentElement,_=b.nextElementSibling;_&&d(y,_,b)}else if(b.matches('div[class*="language-"] div.vp-copy-icon')){const y=b.parentElement,_=y.parentElement,w=y.nextElementSibling;w&&d(_,w,y)}}),ie(()=>a.value.path,()=>{p&&c()})})};var n1={"/":{copy:"复制代码",copied:"已复制"}},r1=['.theme-hope-content div[class*="language-"] pre'];const s1=500,o1=2e3,l1=n1,i1=r1,a1=!1,c1=gt({setup:()=>{t1({selector:i1,locales:l1,duration:o1,delay:s1,showInMobile:a1})}}),zr=Vo("VUEPRESS_CODE_TAB_STORE",{});var u1=K({name:"CodeTabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=te(e.active),r=Re([]),s=()=>{e.tabId&&(zr.value[e.tabId]=e.data[n.value].id)},o=(u=n.value)=>{n.value=u<r.value.length-1?u+1:0,r.value[n.value].focus()},l=(u=n.value)=>{n.value=u>0?u-1:r.value.length-1,r.value[n.value].focus()},i=(u,c)=>{u.key===" "||u.key==="Enter"?(u.preventDefault(),n.value=c):u.key==="ArrowRight"?(u.preventDefault(),o()):u.key==="ArrowLeft"&&(u.preventDefault(),l()),e.tabId&&(zr.value[e.tabId]=e.data[n.value].id)},a=()=>{if(e.tabId){const u=e.data.findIndex(({id:c})=>zr.value[e.tabId]===c);if(u!==-1)return u}return e.active};return Ce(()=>{n.value=a(),ie(()=>zr.value[e.tabId],(u,c)=>{if(e.tabId&&u!==c){const d=e.data.findIndex(({id:p})=>p===u);d!==-1&&(n.value=d)}})}),()=>e.data.length?f("div",{class:"vp-code-tabs"},[f("div",{class:"vp-code-tabs-nav",role:"tablist"},e.data.map(({id:u},c)=>{const d=c===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[c]=p)},class:["vp-code-tab-nav",{active:d}],role:"tab","aria-controls":`codetab-${e.id}-${c}`,"aria-selected":d,onClick:()=>{n.value=c,s()},onKeydown:p=>i(p,c)},t[`title${c}`]({value:u,isActive:d}))})),e.data.map(({id:u},c)=>{const d=c===n.value;return f("div",{class:["vp-code-tab",{active:d}],id:`codetab-${e.id}-${c}`,role:"tabpanel","aria-expanded":d},[f("div",{class:"vp-code-tab-title"},t[`title${c}`]({value:u,isActive:d})),t[`tab${c}`]({value:u,isActive:d})])})]):null}});const bc=({active:e=!1},{slots:t})=>{var n;return f("div",{class:["code-group-item",{active:e}],"aria-selected":e},(n=t.default)==null?void 0:n.call(t))};bc.displayName="CodeGroupItem";const f1=K({name:"CodeGroup",slots:Object,setup(e,{slots:t}){const n=te(-1),r=Re([]),s=(i=n.value)=>{n.value=i<r.value.length-1?i+1:0,r.value[n.value].focus()},o=(i=n.value)=>{n.value=i>0?i-1:r.value.length-1,r.value[n.value].focus()},l=(i,a)=>{i.key===" "||i.key==="Enter"?(i.preventDefault(),n.value=a):i.key==="ArrowRight"?(i.preventDefault(),s(a)):i.key==="ArrowLeft"&&(i.preventDefault(),o(a))};return()=>{var a;const i=(((a=t.default)==null?void 0:a.call(t))||[]).filter(u=>u.type.name==="CodeGroupItem").map(u=>(u.props===null&&(u.props={}),u));return i.length===0?null:(n.value<0||n.value>i.length-1?(n.value=i.findIndex(u=>"active"in u.props),n.value===-1&&(n.value=0)):i.forEach((u,c)=>{u.props.active=c===n.value}),f("div",{class:"code-group"},[f("div",{class:"code-group-nav"},i.map((u,c)=>{const d=c===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[c]=p)},class:["code-group-nav-tab",{active:d}],"aria-pressed":d,"aria-expanded":d,onClick:()=>{n.value=c},onKeydown:p=>l(p,c)},u.props.title)})),i]))}}}),Ee=({name:e="",color:t="currentColor"},{slots:n})=>{var r;return f("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":`${e} icon`},(r=n.default)==null?void 0:r.call(n))};Ee.displayName="IconBase";const yc=({size:e=48,stroke:t=4,wrapper:n=!0,height:r=2*e})=>{const s=f("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[f("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),f("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[f("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),f("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?f("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${r}px`},s):s};yc.displayName="LoadingIcon";const wc=(e,{slots:t})=>{var n;return(n=t.default)==null?void 0:n.call(t)},d1=e=>dn(e)?e:`https://github.com/${e}`,qo=(e="")=>!dn(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null,_c=()=>f(Ee,{name:"github"},()=>f("path",{d:"M511.957 21.333C241.024 21.333 21.333 240.981 21.333 512c0 216.832 140.544 400.725 335.574 465.664 24.49 4.395 32.256-10.07 32.256-23.083 0-11.69.256-44.245 0-85.205-136.448 29.61-164.736-64.64-164.736-64.64-22.315-56.704-54.4-71.765-54.4-71.765-44.587-30.464 3.285-29.824 3.285-29.824 49.195 3.413 75.179 50.517 75.179 50.517 43.776 75.008 114.816 53.333 142.762 40.79 4.523-31.66 17.152-53.377 31.19-65.537-108.971-12.458-223.488-54.485-223.488-242.602 0-53.547 19.114-97.323 50.517-131.67-5.035-12.33-21.93-62.293 4.779-129.834 0 0 41.258-13.184 134.912 50.346a469.803 469.803 0 0 1 122.88-16.554c41.642.213 83.626 5.632 122.88 16.554 93.653-63.488 134.784-50.346 134.784-50.346 26.752 67.541 9.898 117.504 4.864 129.834 31.402 34.347 50.474 78.123 50.474 131.67 0 188.586-114.73 230.016-224.042 242.09 17.578 15.232 33.578 44.672 33.578 90.454v135.85c0 13.142 7.936 27.606 32.854 22.87C862.25 912.597 1002.667 728.747 1002.667 512c0-271.019-219.648-490.667-490.71-490.667z"}));_c.displayName="GitHubIcon";const Cc=()=>f(Ee,{name:"gitee"},()=>f("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm242.97-533.34H482.39a23.7 23.7 0 0 0-23.7 23.7l-.03 59.28c0 13.08 10.59 23.7 23.7 23.7h165.96a23.7 23.7 0 0 1 23.7 23.7v11.85a71.1 71.1 0 0 1-71.1 71.1H375.71a23.7 23.7 0 0 1-23.7-23.7V423.11a71.1 71.1 0 0 1 71.1-71.1h331.8a23.7 23.7 0 0 0 23.7-23.7l.06-59.25a23.73 23.73 0 0 0-23.7-23.73H423.11a177.78 177.78 0 0 0-177.78 177.75v331.83c0 13.08 10.62 23.7 23.7 23.7h349.62a159.99 159.99 0 0 0 159.99-159.99V482.33a23.7 23.7 0 0 0-23.7-23.7z"}));Cc.displayName="GiteeIcon";const Sc=()=>f(Ee,{name:"bitbucket"},()=>f("path",{d:"M575.256 490.862c6.29 47.981-52.005 85.723-92.563 61.147-45.714-20.004-45.714-92.562-1.133-113.152 38.29-23.442 93.696 7.424 93.696 52.005zm63.451-11.996c-10.276-81.152-102.29-134.839-177.152-101.156-47.433 21.138-79.433 71.424-77.129 124.562 2.853 69.705 69.157 126.866 138.862 120.576S647.3 548.571 638.708 478.83zm136.558-309.723c-25.161-33.134-67.986-38.839-105.728-45.13-106.862-17.151-216.576-17.7-323.438 1.134-35.438 5.706-75.447 11.996-97.719 43.996 36.572 34.304 88.576 39.424 135.424 45.129 84.553 10.862 171.447 11.447 256 .585 47.433-5.705 99.987-10.276 135.424-45.714zm32.585 591.433c-16.018 55.99-6.839 131.438-66.304 163.986-102.29 56.576-226.304 62.867-338.87 42.862-59.43-10.862-129.135-29.696-161.72-85.723-14.3-54.858-23.442-110.848-32.585-166.84l3.438-9.142 10.276-5.157c170.277 112.567 408.576 112.567 579.438 0 26.844 8.01 6.84 40.558 6.29 60.014zm103.424-549.157c-19.42 125.148-41.728 249.71-63.415 374.272-6.29 36.572-41.728 57.162-71.424 72.558-106.862 53.724-231.424 62.866-348.562 50.286-79.433-8.558-160.585-29.696-225.134-79.433-30.28-23.443-30.28-63.415-35.986-97.134-20.005-117.138-42.862-234.277-57.161-352.585 6.839-51.42 64.585-73.728 107.447-89.71 57.16-21.138 118.272-30.866 178.87-36.571 129.134-12.58 261.157-8.01 386.304 28.562 44.581 13.13 92.563 31.415 122.844 69.705 13.714 17.7 9.143 40.01 6.29 60.014z"}));Sc.displayName="BitbucketIcon";const Ec=()=>f(Ee,{name:"source"},()=>f("path",{d:"M601.92 475.2c0 76.428-8.91 83.754-28.512 99.594-14.652 11.88-43.956 14.058-78.012 16.434-18.81 1.386-40.392 2.97-62.172 6.534-18.612 2.97-36.432 9.306-53.064 17.424V299.772c37.818-21.978 63.36-62.766 63.36-109.692 0-69.894-56.826-126.72-126.72-126.72S190.08 120.186 190.08 190.08c0 46.926 25.542 87.714 63.36 109.692v414.216c-37.818 21.978-63.36 62.766-63.36 109.692 0 69.894 56.826 126.72 126.72 126.72s126.72-56.826 126.72-126.72c0-31.086-11.286-59.598-29.7-81.576 13.266-9.504 27.522-17.226 39.996-19.206 16.038-2.574 32.868-3.762 50.688-5.148 48.312-3.366 103.158-7.326 148.896-44.55 61.182-49.698 74.25-103.158 75.24-187.902V475.2h-126.72zM316.8 126.72c34.848 0 63.36 28.512 63.36 63.36s-28.512 63.36-63.36 63.36-63.36-28.512-63.36-63.36 28.512-63.36 63.36-63.36zm0 760.32c-34.848 0-63.36-28.512-63.36-63.36s28.512-63.36 63.36-63.36 63.36 28.512 63.36 63.36-28.512 63.36-63.36 63.36zM823.68 158.4h-95.04V63.36h-126.72v95.04h-95.04v126.72h95.04v95.04h126.72v-95.04h95.04z"}));Ec.displayName="SourceIcon";const p1=({link:e,type:t=qo(e??"")})=>{if(!t)return null;const n=t.toLowerCase();return f(n==="bitbucket"?Sc:n==="github"?_c:n==="gitlab"?"GitLab":n==="gitee"?Cc:Ec)},xc=(e,t)=>{let n=1;for(let r=0;r<e.length;r++)n+=e.charCodeAt(r),n+=n<<10,n^=n>>6;return n+=n<<3,n^=n>>11,n%t},Tc=/#.*$/u,h1=e=>{const t=Tc.exec(e);return t?t[0]:""},ii=e=>decodeURI(e).replace(Tc,"").replace(/\/index\.html$/iu,"/").replace(/\.html$/iu,"").replace(/(README|index)?\.md$/iu,""),kc=(e,t)=>{if(!ec(t))return!1;const n=ii(e.path),r=ii(t),s=h1(t);return s?s===e.hash&&(!r||n===r):n===r};var v1=e=>Object.prototype.toString.call(e)==="[object Object]",mr=e=>typeof e=="string";const Ac=Array.isArray,ai=e=>v1(e)&&mr(e.name),ci=(e,t=!1)=>e?Ac(e)?e.map(n=>mr(n)?{name:n}:ai(n)?n:null).filter(n=>n!==null):mr(e)?[{name:e}]:ai(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],Lc=(e,t)=>{if(e){if(Ac(e)&&e.every(mr))return e;if(mr(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},g1=e=>Lc(e,"category"),m1=e=>Lc(e,"tag"),b1='<svg class="codepen-icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path d="M123.429 668L468 897.714V692.571L277.143 565.143zM88 585.714L198.286 512 88 438.286v147.428zm468 312L900.571 668 746.857 565.143 556 692.57v205.143zM512 616l155.429-104L512 408 356.571 512zM277.143 458.857L468 331.43V126.286L123.429 356zM825.714 512L936 585.714V438.286zm-78.857-53.143L900.571 356 556 126.286v205.143zM1024 356v312q0 23.429-19.429 36.571l-468 312Q524.571 1024 512 1024t-24.571-7.429l-468-312Q0 691.43 0 668V356q0-23.429 19.429-36.571l468-312Q499.429 0 512 0t24.571 7.429l468 312Q1024 332.57 1024 356z"/></svg>',y1='<svg class="jsfiddle-icon" viewBox="0 0 1170 1024" xmlns="http://www.w3.org/2000/svg"><path d="M1028.571 441.143q63.429 26.286 102.572 83.143t39.143 126.571q0 93.714-67.429 160.286T940 877.714q-2.286 0-6.571-.285t-6-.286H232q-97.143-5.714-164.571-71.714T0 645.143q0-62.857 31.429-116t84-84q-6.858-22.286-6.858-46.857 0-65.715 46.858-112T269.143 240q54.286 0 98.286 33.143 42.857-88 127.142-141.714t186.572-53.715q94.857 0 174.857 46t126.571 124.857 46.572 172q0 3.429-.286 10.286t-.286 10.286zm-761.142 152q0 69.714 48 110.286T434.286 744q78.285 0 137.143-56.571-9.143-11.429-27.143-32.286t-24.857-28.857q-38.286 37.143-82.286 37.143-31.429 0-53.429-19.143t-22-50q0-30.286 22-49.715T436 525.143q25.143 0 48.286 12T526 568.57t37.143 42.858 39.428 46.857 44 42.857T702 732.57t69.429 12q69.142 0 116.857-40.857T936 594.857q0-69.143-48-109.714T769.714 444.57Q688 444.571 632 500l53.143 61.714q37.714-36.571 81.143-36.571 29.714 0 52.571 18.857t22.857 48q0 32.571-21.143 52.286T766.857 664q-24.571 0-47.143-12t-41.143-31.429-37.428-42.857-39.714-46.857T557.143 488 502 456.571t-67.714-12q-69.715 0-118.286 40.286t-48.571 108.286z"/></svg>';var w1={useBabel:!1,jsLib:[],cssLib:[],codepenLayout:"left",codepenEditors:"101",babel:"https://unpkg.com/@babel/standalone/babel.min.js",vue:"https://unpkg.com/vue/dist/vue.global.prod.js",react:"https://unpkg.com/react/umd/react.production.min.js",reactDOM:"https://unpkg.com/react-dom/umd/react-dom.production.min.js"};const Fs=w1,ui={html:{types:["html","slim","haml","md","markdown","vue"],map:{html:"none",vue:"none",md:"markdown"}},js:{types:["js","javascript","coffee","coffeescript","ts","typescript","ls","livescript"],map:{js:"none",javascript:"none",coffee:"coffeescript",ls:"livescript",ts:"typescript"}},css:{types:["css","less","sass","scss","stylus","styl"],map:{css:"none",styl:"stylus"}}},_1=(e,t,n)=>{const r=document.createElement(e);return Ar(t)&&Bn(t).forEach(s=>{if(s.indexOf("data"))r[s]=t[s];else{const o=s.replace("data","");r.dataset[o]=t[s]}}),r},Uo=e=>({...Fs,...e,jsLib:Array.from(new Set([...Fs.jsLib||[],...e.jsLib||[]])),cssLib:Array.from(new Set([...Fs.cssLib||[],...e.cssLib||[]]))}),An=(e,t)=>{if(ec(e[t]))return e[t];const n=new Promise(r=>{var o;const s=document.createElement("script");s.src=t,(o=document.querySelector("body"))==null||o.appendChild(s),s.onload=()=>{r()}});return e[t]=n,n},C1=(e,t)=>{if(t.css&&Array.from(e.childNodes).every(n=>n.nodeName!=="STYLE")){const n=_1("style",{innerHTML:t.css});e.appendChild(n)}},S1=(e,t,n)=>{const r=n.getScript();if(r&&Array.from(t.childNodes).every(s=>s.nodeName!=="SCRIPT")){const s=document.createElement("script");s.appendChild(document.createTextNode(`{const document=window.document.querySelector('#${e} .vp-code-demo-display').shadowRoot;
|
|
${r}}`)),t.appendChild(s)}},E1=e=>{const t=Bn(e),n={html:[],js:[],css:[],isLegal:!1};return["html","js","css"].forEach(r=>{const s=t.filter(o=>ui[r].types.includes(o));if(s.length){const o=s[0];n[r]=[e[o].replace(/^\n|\n$/g,""),ui[r].map[o]||o]}}),n.isLegal=(!n.html.length||n.html[1]==="none")&&(!n.js.length||n.js[1]==="none")&&(!n.css.length||n.css[1]==="none"),n},Rc=e=>e.replace(/<br \/>/g,"<br>").replace(/<((\S+)[^<]*?)\s+\/>/g,"<$1></$2>"),Oc=e=>`<div id="app">
|
|
${Rc(e)}
|
|
</div>`,x1=e=>`${e.replace("export default ","const $reactApp = ").replace(/App\.__style__(\s*)=(\s*)`([\s\S]*)?`/,"")};
|
|
ReactDOM.createRoot(document.getElementById("app")).render(React.createElement($reactApp))`,T1=e=>e.replace(/export\s+default\s*\{(\n*[\s\S]*)\n*\}\s*;?$/u,"Vue.createApp({$1}).mount('#app')").replace(/export\s+default\s*define(Async)?Component\s*\(\s*\{(\n*[\s\S]*)\n*\}\s*\)\s*;?$/u,"Vue.createApp({$1}).mount('#app')").trim(),Pc=e=>`(function(exports){var module={};module.exports=exports;${e};return module.exports.__esModule?module.exports.default:module.exports;})({})`,k1=(e,t)=>{const n=Uo(t),r=e.js[0]||"";return{...n,html:Rc(e.html[0]||""),js:r,css:e.css[0]||"",isLegal:e.isLegal,getScript:()=>{var s;return n.useBabel?((s=window.Babel.transform(r,{presets:["es2015"]}))==null?void 0:s.code)||"":r}}},A1=/<template>([\s\S]+)<\/template>/u,L1=/<script(\s*lang=(['"])(.*?)\2)?>([\s\S]+)<\/script>/u,R1=/<style(\s*lang=(['"])(.*?)\2)?\s*(?:scoped)?>([\s\S]+)<\/style>/u,O1=(e,t)=>{const n=Uo(t),r=e.html[0]||"",s=A1.exec(r),o=L1.exec(r),l=R1.exec(r),i=s?s[1].replace(/^\n|\n$/g,""):"",[a="",u=""]=o?[o[4].replace(/^\n|\n$/g,""),o[3]]:[],[c="",d=""]=l?[l[4].replace(/^\n|\n$/g,""),l[3]]:[],p=u===""&&(d===""||d==="css");return{...n,html:Oc(i),js:T1(a),css:c,isLegal:p,jsLib:[n.vue,...n.jsLib],getScript:()=>{var b,y;const h=t.useBabel?((y=(b=window.Babel)==null?void 0:b.transform(a,{presets:["es2015"]}))==null?void 0:y.code)||"":a.replace(/export\s+default/u,"return");return`const app=window.document.createElement('div');document.firstElementChild.appendChild(app);const appOptions=${Pc(h)};appOptions.template=\`${i.replace("`",'\\`"')}\`;window.Vue.createApp(appOptions).mount(app);`}}},P1=(e,t)=>{const n=Uo(t);return{...n,html:Oc(""),js:x1(e.js[0]||""),css:e.css[0]||(e.js[0]?e.js[0].replace(/App\.__style__(?:\s*)=(?:\s*)`([\s\S]*)?`/,"$1").trim():""),isLegal:e.isLegal,jsLib:[n.react,n.reactDOM,...n.jsLib],jsx:!0,getScript:()=>{var s,o;const r=((o=(s=window.Babel)==null?void 0:s.transform(e.js[0]||"",{presets:["es2015","react"]}))==null?void 0:o.code)||"";return`window.ReactDOM.createRoot(document.firstElementChild).render(window.React.createElement(${Pc(r)}))`}}},Ln={},I1=e=>Promise.all([An(Ln,e.babel),An(Ln,e.react),An(Ln,e.reactDOM)]),M1=e=>{const t=[An(Ln,e.vue)];return e.useBabel&&t.push(An(Ln,e.babel)),Promise.all(t)},$1=e=>e.useBabel?An(Ln,e.babel):Promise.resolve();var N1=K({name:"CodeDemo",props:{id:{type:String,required:!0},type:{type:String,default:"normal"},title:{type:String,default:""},config:{type:String,default:""},code:{type:String,required:!0}},slots:Object,setup(e,{slots:t}){const[n,r]=gr(!1),s=Re(),o=Re(),l=te("0"),i=te(!1),a=x(()=>JSON.parse(e.config?Xl(e.config):"{}")),u=x(()=>{const b=JSON.parse(Xl(e.code));return E1(b)}),c=x(()=>e.type==="react"?P1(u.value,a.value):e.type==="vue"?O1(u.value,a.value):k1(u.value,a.value)),d=x(()=>c.value.isLegal),p=(b=!1)=>{const y=s.value.attachShadow({mode:"open"}),_=document.createElement("div");_.classList.add("code-demo-app"),y.appendChild(_),d.value?(b&&(_.innerHTML=c.value.html),C1(y,c.value),S1(e.id,y,c.value),l.value="0"):l.value="auto",i.value=!0},h=()=>{switch(e.type){case"react":return I1(c.value).then(()=>p());case"vue":return M1(c.value).then(()=>p());default:return $1(c.value).then(()=>p(!0))}};return Oe("beforeprint",()=>{r(!0)}),Ce(()=>{setTimeout(()=>{h()},800)}),()=>{var b;return f("div",{class:"vp-code-demo",id:e.id},[f("div",{class:"vp-code-demo-header"},[c.value.isLegal?f("button",{type:"button",title:"toggle","aria-hidden":!0,class:["vp-code-demo-toggle-button",n.value?"down":"end"],onClick:()=>{l.value=n.value?"0":`${o.value.clientHeight+13.8}px`,r()}}):null,e.title?f("span",{class:"vp-code-demo-title"},decodeURIComponent(e.title)):null,c.value.isLegal&&c.value.jsfiddle!==!1?f("form",{class:"code-demo-jsfiddle",target:"_blank",action:"https://jsfiddle.net/api/post/library/pure/",method:"post"},[f("input",{type:"hidden",name:"html",value:c.value.html}),f("input",{type:"hidden",name:"js",value:c.value.js}),f("input",{type:"hidden",name:"css",value:c.value.css}),f("input",{type:"hidden",name:"wrap",value:"1"}),f("input",{type:"hidden",name:"panel_js",value:"3"}),f("input",{type:"hidden",name:"resources",value:[...c.value.cssLib,...c.value.jsLib].join(",")}),f("button",{type:"submit",class:"jsfiddle-button",innerHTML:y1,"aria-label":"JSFiddle","data-balloon-pos":"up"})]):null,!c.value.isLegal||c.value.codepen!==!1?f("form",{class:"code-demo-codepen",target:"_blank",action:"https://codepen.io/pen/define",method:"post"},[f("input",{type:"hidden",name:"data",value:JSON.stringify({html:c.value.html,js:c.value.js,css:c.value.css,js_external:c.value.jsLib.join(";"),css_external:c.value.cssLib.join(";"),layout:c.value.codepenLayout,html_pre_processor:u.value?u.value.html[1]:"none",js_pre_processor:u.value?u.value.js[1]:c.value.jsx?"babel":"none",css_pre_processor:u.value?u.value.css[1]:"none",editors:c.value.codepenEditors})}),f("button",{type:"submit",innerHTML:b1,class:"codepen-button","aria-label":"Codepen","data-balloon-pos":"up"})]):null]),i.value?null:f(yc,{class:"vp-code-demo-loading"}),f("div",{ref:s,class:"vp-code-demo-display",style:{display:d.value&&i.value?"block":"none"}}),f("div",{class:"vp-code-demo-code-wrapper",style:{height:l.value}},f("div",{ref:o,class:"vp-code-demo-codes"},(b=t.default)==null?void 0:b.call(t)))])}}}),D1=K({name:"MdDemo",props:{id:{type:String,required:!0},title:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const[n,r]=gr(!1),s=Re(),o=te("0");return Oe("beforeprint",()=>{r(!0)}),()=>{var l,i;return f("div",{class:"vp-md-demo",id:e.id},[f("div",{class:"vp-md-demo-header"},[f("button",{type:"button",title:"toggle","aria-hidden":!0,class:["vp-md-demo-toggle-button",n.value?"down":"end"],onClick:()=>{o.value=n.value?"0":`${s.value.clientHeight+13.8}px`,r()}}),e.title?decodeURIComponent(e.title):null]),f("div",{class:"vp-md-demo-display"},(l=t.default)==null?void 0:l.call(t)),f("div",{class:"vp-md-demo-code-wrapper",style:{height:o.value}},f("div",{ref:s,class:"vp-md-demo-codes"},(i=t.code)==null?void 0:i.call(t)))])}}});const H1=()=>{Oe("beforeprint",()=>{document.querySelectorAll("details").forEach(e=>{e.open=!0})})},Bs=Vo("VUEPRESS_TAB_STORE",{});var j1=K({name:"Tabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=te(e.active),r=Re([]),s=()=>{e.tabId&&(Bs.value[e.tabId]=e.data[n.value].id)},o=(u=n.value)=>{n.value=u<r.value.length-1?u+1:0,r.value[n.value].focus()},l=(u=n.value)=>{n.value=u>0?u-1:r.value.length-1,r.value[n.value].focus()},i=(u,c)=>{u.key===" "||u.key==="Enter"?(u.preventDefault(),n.value=c):u.key==="ArrowRight"?(u.preventDefault(),o()):u.key==="ArrowLeft"&&(u.preventDefault(),l()),s()},a=()=>{if(e.tabId){const u=e.data.findIndex(({id:c})=>Bs.value[e.tabId]===c);if(u!==-1)return u}return e.active};return Ce(()=>{n.value=a(),ie(()=>Bs.value[e.tabId],(u,c)=>{if(e.tabId&&u!==c){const d=e.data.findIndex(({id:p})=>p===u);d!==-1&&(n.value=d)}})}),()=>e.data.length?f("div",{class:"vp-tabs"},[f("div",{class:"vp-tabs-nav",role:"tablist"},e.data.map(({id:u},c)=>{const d=c===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[c]=p)},class:["vp-tab-nav",{active:d}],role:"tab","aria-controls":`tab-${e.id}-${c}`,"aria-selected":d,onClick:()=>{n.value=c,s()},onKeydown:p=>i(p,c)},t[`title${c}`]({value:u,isActive:d}))})),e.data.map(({id:u},c)=>{const d=c===n.value;return f("div",{class:["vp-tab",{active:d}],id:`tab-${e.id}-${c}`,role:"tabpanel","aria-expanded":d},[f("div",{class:"vp-tab-title"},t[`title${c}`]({value:u,isActive:d})),t[`tab${c}`]({value:u,isActive:d})])})]):null}});const F1=gt({enhance:({app:e})=>{e.component("CodeTabs",u1),ct("CodeGroup",e)||e.component("CodeGroup",f1),ct("CodeGroupItem",e)||e.component("CodeGroupItem",bc),e.component("CodeDemo",N1),e.component("MdDemo",D1),e.component("Tabs",j1)},setup:()=>{H1()}});let B1={};const Ic=Symbol(""),V1=()=>$e(Ic),z1=e=>{e.provide(Ic,B1)},W1='<div class="photo-swipe-loading"><svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" preserveAspectRatio="xMidYMid" viewBox="25 25 50 50"><animateTransform attributeName="transform" type="rotate" dur="2s" keyTimes="0;1" repeatCount="indefinite" values="0;360"></animateTransform><circle cx="50" cy="50" r="20" fill="none" stroke="currentColor" stroke-width="4" stroke-linecap="round"><animate attributeName="stroke-dasharray" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="1,200;90,200;1,200"></animate><animate attributeName="stroke-dashoffset" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="0;-35px;-125px"></animate></circle></svg></div>',q1=e=>_e(e)?Array.from(document.querySelectorAll(e)):e.map(t=>Array.from(document.querySelectorAll(t))).flat(),Mc=e=>new Promise((t,n)=>{e.complete?t({type:"image",element:e,src:e.src,width:e.naturalWidth,height:e.naturalHeight,alt:e.alt,msrc:e.src}):(e.onload=()=>t(Mc(e)),e.onerror=r=>n(r))}),U1=e=>{const{isSupported:t,toggle:n}=zo();e.on("uiRegister",()=>{t.value&&e.ui.registerElement({name:"fullscreen",order:7,isButton:!0,html:'<svg class="pswp__icn" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path d="M249.5 270.833H437v-75H212a37.5 37.5 0 0 0-37.5 37.5v225h75v-187.5zm-37.5 600h225v-75H249.5v-187.5h-75v225a37.5 37.5 0 0 0 37.5 37.5zm637.5-37.5v-225h-75v187.5H587v75h225a37.5 37.5 0 0 0 37.5-37.5zM587 270.833h187.5v187.5h75v-225a37.5 37.5 0 0 0-37.5-37.5H587v75z"/></svg>',onClick:()=>{n()}}),e.ui.registerElement({name:"download",order:8,isButton:!0,tagName:"a",html:{isCustomSVG:!0,inner:'<path d="M20.5 14.3 17.1 18V10h-2.2v7.9l-3.4-3.6L10 16l6 6.1 6-6.1-1.5-1.6ZM23 23H9v2h14" id="pswp__icn-download"/>',outlineID:"pswp__icn-download"},onInit:(r,s)=>{r.setAttribute("download",""),r.setAttribute("target","_blank"),r.setAttribute("rel","noopener"),s.on("change",()=>{r.setAttribute("href",s.currSlide.data.src)})}}),e.ui.registerElement({name:"bulletsIndicator",className:"photo-swipe-bullets-indicator",appendTo:"wrapper",onInit:(r,s)=>{const o=[];let l=-1;for(let i=0;i<s.getNumItems();i++){const a=document.createElement("div");a.className="photo-swipe-bullet",a.onclick=u=>{s.goTo(o.indexOf(u.target))},o.push(a),r.appendChild(a)}s.on("change",()=>{l>=0&&o[l].classList.remove("active"),o[s.currIndex].classList.add("active"),l=s.currIndex})}})})},G1=(e,t,n=!0)=>Ot(()=>import("./photoswipe.esm-DXWKOczD.js"),[]).then(({default:r})=>{let s=null;const o=e.map(l=>({html:W1,element:l,msrc:l.src}));return e.forEach((l,i)=>{const a=()=>{s==null||s.destroy(),s=new r({preloaderDelay:0,showHideAnimationType:"zoom",...t,dataSource:o,index:i,...n?{closeOnVerticalDrag:!0,wheelToZoom:!1}:{}}),U1(s),s.addFilter("thumbEl",()=>l),s.addFilter("placeholderSrc",()=>l.src),s.init()};l.getAttribute("photo-swipe")||(l.style.cursor="zoom-in",l.addEventListener("click",()=>{a()}),l.addEventListener("keypress",({key:u})=>{u==="Enter"&&a()}),l.setAttribute("photo-swipe","")),Mc(l).then(u=>{o.splice(i,1,u),s==null||s.refreshSlideContent(i)})}),n?Oe("wheel",()=>{s==null||s.close()}):()=>{}}),K1=({selector:e,locales:t,delay:n=500,scrollToClose:r=!0})=>{const s=V1(),o=Lr(t),l=Se(),i=Te();let a=null;const u=()=>{const{photoSwipe:c}=i.value;c!==!1&&fn().then(()=>tc(n)).then(async()=>{const d=_e(c)?c:e;a=await G1(q1(d),{...s,...o.value},r)})};Ce(()=>{u(),ie(()=>l.value.path,()=>{a==null||a(),u()})}),Hn(()=>{a==null||a()})};var Y1={"/":{closeTitle:"关闭",downloadTitle:"下载图片",fullscreenTitle:"切换全屏",zoomTitle:"缩放",arrowPrevTitle:"上一个 (左箭头)",arrowNextTitle:"下一个 (右箭头)"}};const J1=".theme-hope-content :not(a) > img:not([no-view])",Q1=Y1,X1=800,Z1=!0,eg=gt({enhance:({app:e})=>{z1(e)},setup:()=>{K1({selector:J1,delay:X1,locales:Q1,scrollToClose:Z1})}}),$c=()=>{const e=Se();return x(()=>e.value.readingTime??null)},tg=(e,t)=>{const{minutes:n,words:r}=e,{less1Minute:s,word:o,time:l}=t;return{time:n<1?s:l.replace("$time",Math.round(n).toString()),words:o.replace("$word",r.toString())}};var fi={"/":{word:"约 $word 字",less1Minute:"小于 1 分钟",time:"大约 $time 分钟"}};const di={words:"",time:""},ao=typeof fi>"u"?null:fi,ng=()=>ao?Lr(ao):x(()=>null),rg=()=>{if(typeof ao>"u")return x(()=>di);const e=$c(),t=ng();return x(()=>e.value&&t.value?tg(e.value,t.value):di)},zn=()=>gc(),be=()=>Jv(),Pr=()=>{const e=zn();return x(()=>!!e.value.pure)},Vs=()=>null,sg="719px",og="1440px",lg="false",Nc={mobileBreakPoint:sg,pcBreakPoint:og,enableThemeColor:lg},Go={"/guide/readme.md":[]},Dc=e=>{const{icon:t="",color:n,size:r}=e,s=n||r?{}:null;return n&&(s.color=n),r&&(s.height=Number.isNaN(Number(r))?r:`${r}px`),dn(t)?f("img",{class:"icon",src:t,alt:"","no-view":"",style:s}):ps(t)?f("img",{class:"icon",src:ze(t),alt:"","aria-hidden":"","no-view":"",style:s}):f(Tt("FontIcon"),e)};Dc.displayName="HopeIcon";var We=Dc;const ig="http://.",Ko=()=>{const e=jn(),t=Jt();return n=>{if(n)if(ps(n))t.path!==n&&e.push(n);else if(La(n))window&&window.open(n);else{const r=t.path.slice(0,t.path.lastIndexOf("/"));e.push(new URL(`${r}/${encodeURI(n)}`,ig).pathname)}}},Hc=()=>{const e=be(),t=Te();return x(()=>{const{author:n}=t.value;return n?ci(n):n===!1?[]:ci(e.value.author,!1)})},ag=()=>{const e=Te();return x(()=>g1(e.value.category).map(t=>({name:t,path:""})))},cg=()=>{const e=Te();return x(()=>m1(e.value.tag).map(t=>({name:t,path:""})))},ug=()=>{const e=Te(),t=Se();return x(()=>{const n=Uh(e.value.date);if(n)return n;const{createdTime:r}=t.value.git||{};return r?new Date(r):null})},fg=()=>{const e=be(),t=Se(),n=Te(),r=Hc(),s=ag(),o=cg(),l=ug(),i=$c(),a=rg(),u=x(()=>({author:r.value,category:s.value,date:l.value,localizedDate:t.value.localizedDate,tag:o.value,isOriginal:n.value.isOriginal||!1,readingTime:i.value,readingTimeLocale:a.value,pageview:"pageview"in n.value?n.value.pageview:!0})),c=x(()=>"pageInfo"in n.value?n.value.pageInfo:"pageInfo"in e.value?e.value.pageInfo:null);return{info:u,items:c}},{mobileBreakPoint:dg,pcBreakPoint:pg}=Nc,pi=e=>e.endsWith("px")?Number(e.slice(0,-2)):null,vs=()=>{const e=te(!1),t=te(!1),n=()=>{e.value=window.innerWidth<=(pi(dg)??719),t.value=window.innerWidth>=(pi(pg)??1440)};return Ce(()=>{n(),Oe("resize",n,!1),Oe("orientationchange",n,!1)}),{isMobile:e,isPC:t}},jc=Symbol(""),Ir=()=>{const e=$e(jc);if(!e)throw new Error("useDarkmode() is called without provider.");return e},hg=e=>{const t=zn(),n=mv(),r=x(()=>t.value.darkmode||"switch"),s=Vo("vuepress-theme-hope-scheme","auto"),o=x(()=>{const i=r.value;return i==="disable"?!1:i==="enable"?!0:i==="auto"?n.value:i==="toggle"?s.value==="dark":s.value==="dark"||s.value==="auto"&&n.value}),l=x(()=>{const i=r.value;return i==="switch"||i==="toggle"});e.provide(jc,{canToggle:l,config:r,isDarkmode:o,status:s}),Object.defineProperties(e.config.globalProperties,{$isDarkmode:{get:()=>o.value}})},vg=()=>{const{config:e,isDarkmode:t,status:n}=Ir();ua(()=>{e.value==="disable"?n.value="light":e.value==="enable"?n.value="dark":e.value==="toggle"&&n.value==="auto"&&(n.value="light")}),Ce(()=>{ie(t,r=>document.documentElement.setAttribute("data-theme",r?"dark":"light"),{immediate:!0})})};var St=(e=>(e.title="t",e.shortTitle="s",e.icon="i",e.index="I",e.order="O",e.breadcrumbExclude="b",e))(St||{}),gg=(e=>(e.type="y",e.author="a",e.date="d",e.localizedDate="l",e.category="c",e.tag="g",e.isEncrypted="n",e.isOriginal="o",e.readingTime="r",e.excerpt="e",e.sticky="u",e.cover="v",e))(gg||{}),mg=(e=>(e.article="a",e.home="h",e.slide="s",e.page="p",e))(mg||{});const nn=(e="",t="")=>ps(t)?t:`${Aa(e)}${t}`,Rn=(e,t=!1,n)=>{const{meta:r,path:s,notFound:o}=Gh(e);return o?{text:s,link:s}:{text:!t&&r[St.shortTitle]?r[St.shortTitle]:r[St.title]||s,link:s,...r[St.icon]?{icon:r[St.icon]}:{}}},co=({config:e,prefix:t=""})=>{const n=(r,s=t)=>{const o=_e(r)?Rn(nn(s,r)):r.link?{...r,...Mn(r.link)?{}:{link:Rn(nn(s,r.link)).link}}:r;if("children"in o){const l=nn(s,o.prefix),i=o.children==="structure"?Go[l]:o.children;return{type:"group",...o,prefix:l,children:i.map(a=>n(a,l))}}return{type:"page",...o}};return e.map(r=>n(r))},bg=({config:e,page:t,headerDepth:n})=>{const r=Bn(e).sort((s,o)=>o.length-s.length);for(const s of r)if(vr(decodeURI(t.path),s)){const o=e[s];return o?co({config:o==="structure"?Go[s]:o,prefix:s}):[]}return console.warn(`${t.path} is missing sidebar config.`),[]},yg=({config:e,routeLocale:t,page:n,headerDepth:r})=>e==="structure"?co({config:Go[t],prefix:t}):io(e)?co({config:e}):Ar(e)?bg({config:e,page:n,headerDepth:r}):[],Fc=Symbol(""),wg=()=>{const e=Te(),t=be(),n=Se(),r=Fn(),s=x(()=>e.value.home?!1:e.value.sidebar??t.value.sidebar??"structure"),o=x(()=>e.value.headerDepth??t.value.headerDepth??2),l=nc(()=>[s.value,o.value,n.value.path,null],()=>yg({config:s.value,routeLocale:r.value,page:n.value,headerDepth:o.value}));kn(Fc,l)},Yo=()=>{const e=$e(Fc);if(!e)throw new Error("useSidebarItems() is called without provider.");return e};var _g=K({name:"PageFooter",setup(){const e=zn(),t=be(),n=Te(),r=Hc(),s=x(()=>{const{copyright:u,footer:c}=n.value;return c!==!1&&!!(u||c||t.value.displayFooter)}),o=x(()=>{const{footer:u}=n.value;return u===!1?!1:_e(u)?u:t.value.footer||""}),l=x(()=>r.value.map(({name:u})=>u).join(", ")),i=u=>`Copyright © ${new Date().getFullYear()} ${l.value} ${u?`${u} Licensed`:""}`,a=x(()=>{const{copyright:u,license:c=""}=n.value,{license:d}=e.value,{copyright:p}=t.value;return u??(c?i(c):_e(p)?p:l.value||d?i(d):!1)});return()=>s.value?f("footer",{class:"vp-footer-wrapper"},[o.value?f("div",{class:"vp-footer",innerHTML:o.value}):null,a.value?f("div",{class:"vp-copyright",innerHTML:a.value}):null]):null}}),Ge=K({name:"AutoLink",inheritAttrs:!1,props:{config:{type:Object,required:!0},exact:Boolean,noExternalLinkIcon:Boolean},emits:["focusout"],slots:Object,setup(e,{attrs:t,emit:n,slots:r}){const s=Jt(),o=Wa(),l=ls(e,"config"),i=x(()=>dn(l.value.link)),a=x(()=>!i.value&&La(l.value.link)),u=x(()=>l.value.target||(i.value?"_blank":void 0)),c=x(()=>u.value==="_blank"),d=x(()=>!i.value&&!a.value&&!c.value),p=x(()=>l.value.rel||(c.value?"noopener noreferrer":null)),h=x(()=>l.value.ariaLabel||l.value.text),b=x(()=>{if(e.exact)return!1;const _=Bn(o.value.locales);return _.length?_.every(w=>w!==l.value.link):l.value.link!=="/"}),y=x(()=>d.value?l.value.activeMatch?new RegExp(l.value.activeMatch,"u").test(s.path):b.value?vr(s.path,l.value.link):s.path===l.value.link:!1);return()=>{const{before:_,after:w,default:E}=r,{text:m,icon:C,link:P}=l.value;return d.value?f(Ue,{to:P,"aria-label":h.value,...t,class:["nav-link",{active:y.value},t.class],onFocusout:()=>n("focusout")},()=>E?E():[_?_():f(We,{icon:C}),m,w==null?void 0:w()]):f("a",{href:P,rel:p.value,target:u.value,"aria-label":h.value,...t,class:["nav-link",t.class],onFocusout:()=>n("focusout")},E?E():[_?_():f(We,{icon:C}),m,e.noExternalLinkIcon?null:f(hc),w==null?void 0:w()])}}}),Cg=K({name:"NavbarDropdownLink",props:{config:{type:Object,required:!0}},slots:Object,setup(e,{slots:t}){const n=Se(),r=ls(e,"config"),s=x(()=>r.value.ariaLabel||r.value.text),o=te(!1);ie(()=>n.value.path,()=>{o.value=!1});const l=i=>{i.detail===0&&(o.value=!o.value)};return()=>{var i;return f("div",{class:["dropdown-wrapper",{open:o.value}]},[f("button",{type:"button",class:"dropdown-title","aria-label":s.value,onClick:l},[((i=t.title)==null?void 0:i.call(t))||f("span",{class:"title"},[f(We,{icon:r.value.icon}),e.config.text]),f("span",{class:"arrow"}),f("ul",{class:"nav-dropdown"},r.value.children.map((a,u)=>{const c=u===r.value.children.length-1;return f("li",{class:"dropdown-item"},"children"in a?[f("h4",{class:"dropdown-subtitle"},a.link?f(Ge,{config:a,onFocusout:()=>{a.children.length===0&&c&&(o.value=!1)}}):f("span",a.text)),f("ul",{class:"dropdown-subitem-wrapper"},a.children.map((d,p)=>f("li",{class:"dropdown-subitem"},f(Ge,{config:d,onFocusout:()=>{p===a.children.length-1&&c&&(o.value=!1)}}))))]:f(Ge,{config:a,onFocusout:()=>{c&&(o.value=!1)}}))}))])])}}});const Bc=(e,t="")=>_e(e)?Rn(nn(t,e)):"children"in e?{...e,...e.link&&!Mn(e.link)?Rn(nn(t,e.link)):{},children:e.children.map(n=>Bc(n,nn(t,e.prefix)))}:{...e,link:Mn(e.link)?e.link:Rn(nn(t,e.link)).link},Vc=()=>{const e=be(),t=()=>(e.value.navbar||[]).map(n=>Bc(n));return nc(()=>e.value.navbar,()=>t())},Sg=()=>{const e=be(),t=x(()=>e.value.repo||null),n=x(()=>t.value?d1(t.value):null),r=x(()=>t.value?qo(t.value):null),s=x(()=>n.value?e.value.repoLabel??(r.value===null?"Source":r.value):null);return x(()=>!n.value||!s.value||e.value.repoDisplay===!1?null:{type:r.value||"Source",label:s.value,link:n.value})};var Eg=K({name:"NavScreenDropdown",props:{config:{type:Object,required:!0}},setup(e){const t=Se(),n=ls(e,"config"),r=x(()=>n.value.ariaLabel||n.value.text),s=te(!1);ie(()=>t.value.path,()=>{s.value=!1});const o=(l,i)=>i[i.length-1]===l;return()=>[f("button",{type:"button",class:["nav-screen-dropdown-title",{active:s.value}],"aria-label":r.value,onClick:()=>{s.value=!s.value}},[f("span",{class:"title"},[f(We,{icon:n.value.icon}),e.config.text]),f("span",{class:["arrow",s.value?"down":"end"]})]),f("ul",{class:["nav-screen-dropdown",{hide:!s.value}]},n.value.children.map(l=>f("li",{class:"dropdown-item"},"children"in l?[f("h4",{class:"dropdown-subtitle"},l.link?f(Ge,{config:l,onFocusout:()=>{o(l,n.value.children)&&l.children.length===0&&(s.value=!1)}}):f("span",l.text)),f("ul",{class:"dropdown-subitem-wrapper"},l.children.map(i=>f("li",{class:"dropdown-subitem"},f(Ge,{config:i,onFocusout:()=>{o(i,l.children)&&o(l,n.value.children)&&(s.value=!1)}}))))]:f(Ge,{config:l,onFocusout:()=>{o(l,n.value.children)&&(s.value=!1)}}))))]}}),xg=K({name:"NavScreenLinks",setup(){const e=Vc();return()=>e.value.length?f("nav",{class:"nav-screen-links"},e.value.map(t=>f("div",{class:"navbar-links-item"},"children"in t?f(Eg,{config:t}):f(Ge,{config:t})))):null}});const zc=()=>f(Ee,{name:"dark"},()=>f("path",{d:"M524.8 938.667h-4.267a439.893 439.893 0 0 1-313.173-134.4 446.293 446.293 0 0 1-11.093-597.334A432.213 432.213 0 0 1 366.933 90.027a42.667 42.667 0 0 1 45.227 9.386 42.667 42.667 0 0 1 10.24 42.667 358.4 358.4 0 0 0 82.773 375.893 361.387 361.387 0 0 0 376.747 82.774 42.667 42.667 0 0 1 54.187 55.04 433.493 433.493 0 0 1-99.84 154.88 438.613 438.613 0 0 1-311.467 128z"}));zc.displayName="DarkIcon";const Wc=()=>f(Ee,{name:"light"},()=>f("path",{d:"M952 552h-80a40 40 0 0 1 0-80h80a40 40 0 0 1 0 80zM801.88 280.08a41 41 0 0 1-57.96-57.96l57.96-58a41.04 41.04 0 0 1 58 58l-58 57.96zM512 752a240 240 0 1 1 0-480 240 240 0 0 1 0 480zm0-560a40 40 0 0 1-40-40V72a40 40 0 0 1 80 0v80a40 40 0 0 1-40 40zm-289.88 88.08-58-57.96a41.04 41.04 0 0 1 58-58l57.96 58a41 41 0 0 1-57.96 57.96zM192 512a40 40 0 0 1-40 40H72a40 40 0 0 1 0-80h80a40 40 0 0 1 40 40zm30.12 231.92a41 41 0 0 1 57.96 57.96l-57.96 58a41.04 41.04 0 0 1-58-58l58-57.96zM512 832a40 40 0 0 1 40 40v80a40 40 0 0 1-80 0v-80a40 40 0 0 1 40-40zm289.88-88.08 58 57.96a41.04 41.04 0 0 1-58 58l-57.96-58a41 41 0 0 1 57.96-57.96z"}));Wc.displayName="LightIcon";const qc=()=>f(Ee,{name:"auto"},()=>f("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm0-840c-198.78 0-360 161.22-360 360 0 198.84 161.22 360 360 360s360-161.16 360-360c0-198.78-161.22-360-360-360zm0 660V212c165.72 0 300 134.34 300 300 0 165.72-134.28 300-300 300z"}));qc.displayName="AutoIcon";const Uc=()=>f(Ee,{name:"enter-fullscreen"},()=>f("path",{d:"M762.773 90.24h-497.28c-96.106 0-174.4 78.293-174.4 174.4v497.28c0 96.107 78.294 174.4 174.4 174.4h497.28c96.107 0 175.04-78.293 174.4-174.4V264.64c0-96.213-78.186-174.4-174.4-174.4zm-387.2 761.173H215.04c-21.867 0-40.427-17.92-41.067-41.066V649.92c0-22.507 17.92-40.427 40.427-40.427 11.307 0 21.227 4.694 28.48 11.947 7.253 7.253 11.947 17.92 11.947 28.48v62.293l145.28-145.28c15.893-15.893 41.813-15.893 57.706 0 15.894 15.894 15.894 41.814 0 57.707l-145.28 145.28h62.294c22.506 0 40.426 17.92 40.426 40.427s-17.173 41.066-39.68 41.066zM650.24 165.76h160.427c21.866 0 40.426 17.92 41.066 41.067v160.426c0 22.507-17.92 40.427-40.426 40.427-11.307 0-21.227-4.693-28.48-11.947-7.254-7.253-11.947-17.92-11.947-28.48v-62.186L625.6 450.347c-15.893 15.893-41.813 15.893-57.707 0-15.893-15.894-15.893-41.814 0-57.707l145.28-145.28H650.88c-22.507 0-40.427-17.92-40.427-40.427s17.174-41.173 39.787-41.173z"}));Uc.displayName="EnterFullScreenIcon";const Gc=()=>f(Ee,{name:"cancel-fullscreen"},()=>f("path",{d:"M778.468 78.62H247.922c-102.514 0-186.027 83.513-186.027 186.027V795.08c0 102.514 83.513 186.027 186.027 186.027h530.432c102.514 0 186.71-83.513 186.026-186.027V264.647C964.494 162.02 880.981 78.62 778.468 78.62zM250.88 574.35h171.122c23.324 0 43.122 19.115 43.804 43.805v171.121c0 24.008-19.114 43.122-43.122 43.122-12.06 0-22.641-5.006-30.378-12.743s-12.743-19.115-12.743-30.379V722.83L224.597 877.91c-16.953 16.952-44.6 16.952-61.553 0-16.953-16.954-16.953-44.602 0-61.554L318.009 661.39h-66.446c-24.007 0-43.122-19.114-43.122-43.122 0-24.12 18.432-43.918 42.439-43.918zm521.899-98.873H601.657c-23.325 0-43.122-19.114-43.805-43.804V260.55c0-24.007 19.115-43.122 43.122-43.122 12.06 0 22.642 5.007 30.379 12.743s12.743 19.115 12.743 30.38v66.445l154.965-154.965c16.953-16.953 44.601-16.953 61.554 0 16.953 16.953 16.953 44.6 0 61.554L705.536 388.55h66.446c24.007 0 43.122 19.115 43.122 43.122.114 24.007-18.318 43.804-42.325 43.804z"}));Gc.displayName="CancelFullScreenIcon";const Kc=()=>f(Ee,{name:"outlook"},()=>[f("path",{d:"M224 800c0 9.6 3.2 44.8 6.4 54.4 6.4 48-48 76.8-48 76.8s80 41.6 147.2 0 134.4-134.4 38.4-195.2c-22.4-12.8-41.6-19.2-57.6-19.2C259.2 716.8 227.2 761.6 224 800zM560 675.2l-32 51.2c-51.2 51.2-83.2 32-83.2 32 25.6 67.2 0 112-12.8 128 25.6 6.4 51.2 9.6 80 9.6 54.4 0 102.4-9.6 150.4-32l0 0c3.2 0 3.2-3.2 3.2-3.2 22.4-16 12.8-35.2 6.4-44.8-9.6-12.8-12.8-25.6-12.8-41.6 0-54.4 60.8-99.2 137.6-99.2 6.4 0 12.8 0 22.4 0 12.8 0 38.4 9.6 48-25.6 0-3.2 0-3.2 3.2-6.4 0-3.2 3.2-6.4 3.2-6.4 6.4-16 6.4-16 6.4-19.2 9.6-35.2 16-73.6 16-115.2 0-105.6-41.6-198.4-108.8-268.8C704 396.8 560 675.2 560 675.2zM224 419.2c0-28.8 22.4-51.2 51.2-51.2 28.8 0 51.2 22.4 51.2 51.2 0 28.8-22.4 51.2-51.2 51.2C246.4 470.4 224 448 224 419.2zM320 284.8c0-22.4 19.2-41.6 41.6-41.6 22.4 0 41.6 19.2 41.6 41.6 0 22.4-19.2 41.6-41.6 41.6C339.2 326.4 320 307.2 320 284.8zM457.6 208c0-12.8 12.8-25.6 25.6-25.6 12.8 0 25.6 12.8 25.6 25.6 0 12.8-12.8 25.6-25.6 25.6C470.4 233.6 457.6 220.8 457.6 208zM128 505.6C128 592 153.6 672 201.6 736c28.8-60.8 112-60.8 124.8-60.8-16-51.2 16-99.2 16-99.2l316.8-422.4c-48-19.2-99.2-32-150.4-32C297.6 118.4 128 291.2 128 505.6zM764.8 86.4c-22.4 19.2-390.4 518.4-390.4 518.4-22.4 28.8-12.8 76.8 22.4 99.2l9.6 6.4c35.2 22.4 80 12.8 99.2-25.6 0 0 6.4-12.8 9.6-19.2 54.4-105.6 275.2-524.8 288-553.6 6.4-19.2-3.2-32-19.2-32C777.6 76.8 771.2 80 764.8 86.4z"})]);Kc.displayName="OutlookIcon";var Yc=K({name:"AppearanceSwitch",setup(){const{config:e,isDarkmode:t,status:n}=Ir(),r=Pr(),s=()=>{e.value==="switch"?n.value={light:"dark",dark:"auto",auto:"light"}[n.value]:n.value=n.value==="light"?"dark":"light"},o=async l=>{if(!(document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches&&!r.value)||!l){s();return}const i=l.clientX,a=l.clientY,u=Math.hypot(Math.max(i,innerWidth-i),Math.max(a,innerHeight-a)),c=t.value;await document.startViewTransition(async()=>{s(),await fn()}).ready,t.value!==c&&document.documentElement.animate({clipPath:t.value?[`circle(${u}px at ${i}px ${a}px)`,`circle(0px at ${i}px ${a}px)`]:[`circle(0px at ${i}px ${a}px)`,`circle(${u}px at ${i}px ${a}px)`]},{duration:400,pseudoElement:t.value?"::view-transition-old(root)":"::view-transition-new(root)"})};return()=>f("button",{type:"button",id:"appearance-switch",onClick:o},[f(qc,{style:{display:n.value==="auto"?"block":"none"}}),f(zc,{style:{display:n.value==="dark"?"block":"none"}}),f(Wc,{style:{display:n.value==="light"?"block":"none"}})])}}),Tg=K({name:"AppearanceMode",setup(){const e=be(),{canToggle:t}=Ir(),n=x(()=>e.value.outlookLocales.darkmode);return()=>t.value?f("div",{class:"appearance-wrapper"},[f("label",{class:"appearance-title",for:"appearance-switch"},n.value),f(Yc)]):null}});const kg=Nc.enableThemeColor==="true";var Jc=K({name:"ToggleFullScreenButton",setup(){const e=be(),{isSupported:t,isFullscreen:n,toggle:r}=zo(),s=x(()=>e.value.outlookLocales.fullscreen);return()=>t?f("div",{class:"full-screen-wrapper"},[f("label",{class:"full-screen-title",for:"full-screen-switch"},s.value),f("button",{type:"button",id:"full-screen-switch",class:"full-screen",ariaPressed:n.value,onClick:()=>r()},n.value?f(Gc):f(Uc))]):null}}),Qc=K({name:"OutlookSettings",setup(){const e=zn(),t=Pr(),n=x(()=>!t.value&&e.value.fullscreen);return()=>f(ds,()=>[null,f(Tg),n.value?f(Jc):null])}}),Ag=K({name:"NavScreen",props:{show:Boolean},emits:["close"],slots:Object,setup(e,{emit:t,slots:n}){const r=Se(),{isMobile:s}=vs(),o=Re(),l=cc(o);return Ce(()=>{o.value=document.body,ie(s,i=>{!i&&e.show&&(l.value=!1,t("close"))}),ie(()=>r.value.path,()=>{l.value=!1,t("close")})}),Hn(()=>{l.value=!1}),()=>f(In,{name:"fade",onEnter:()=>{l.value=!0},onAfterLeave:()=>{l.value=!1}},()=>{var i,a;return e.show?f("div",{id:"nav-screen"},f("div",{class:"vp-nav-screen-container"},[(i=n.before)==null?void 0:i.call(n),f(xg),f("div",{class:"vp-outlook-wrapper"},f(Qc)),(a=n.after)==null?void 0:a.call(n)])):null})}}),Lg=K({name:"NavbarBrand",setup(){const e=Fn(),t=Fo(),n=be(),r=x(()=>n.value.home||e.value),s=x(()=>t.value.title),o=x(()=>n.value.navTitle??s.value),l=x(()=>n.value.logo?ze(n.value.logo):null),i=x(()=>n.value.logoDark?ze(n.value.logoDark):null);return()=>f(Ue,{to:r.value,class:"vp-brand"},()=>[l.value?f("img",{class:["vp-nav-logo",{light:!!i.value}],src:l.value,alt:""}):null,i.value?f("img",{class:["vp-nav-logo dark"],src:i.value,alt:""}):null,o.value?f("span",{class:["vp-site-name",{"hide-in-pad":l.value&&n.value.hideSiteNameOnMobile!==!1}]},o.value):null])}}),Rg=K({name:"NavbarLinks",setup(){const e=Vc();return()=>e.value.length?f("nav",{class:"vp-nav-links"},e.value.map(t=>f("div",{class:"vp-nav-item hide-in-mobile"},"children"in t?f(Cg,{config:t}):f(Ge,{config:t})))):null}}),Og=K({name:"RepoLink",setup(){const e=Sg();return()=>e.value?f("div",{class:"vp-nav-item vp-action"},f("a",{class:"vp-action-link",href:e.value.link,target:"_blank",rel:"noopener noreferrer","aria-label":e.value.label},f(p1,{type:e.value.type,style:{width:"1.25rem",height:"1.25rem",verticalAlign:"middle"}}))):null}});const Xc=({active:e=!1},{emit:t})=>f("button",{type:"button",class:["vp-toggle-navbar-button",{"is-active":e}],"aria-label":"Toggle Navbar","aria-expanded":e,"aria-controls":"nav-screen",onClick:()=>t("toggle")},f("span",[f("span",{class:"vp-top"}),f("span",{class:"vp-middle"}),f("span",{class:"vp-bottom"})]));Xc.displayName="ToggleNavbarButton";var Pg=Xc;const uo=(e,{emit:t})=>f("button",{type:"button",class:"vp-toggle-sidebar-button",title:"Toggle Sidebar",onClick:()=>t("toggle")},f("span",{class:"icon"}));uo.displayName="ToggleSidebarButton",uo.emits=["toggle"];var Ig=uo,Mg=K({name:"OutlookButton",setup(){const{isSupported:e}=zo(),t=zn(),n=Pr(),r=Se(),{canToggle:s}=Ir(),o=te(!1),l=x(()=>!n.value&&t.value.fullscreen&&e);return ie(()=>r.value.path,()=>{o.value=!1}),()=>s.value||l.value||kg?f("div",{class:"vp-nav-item hide-in-mobile"},s.value&&!l.value?f(Yc):l.value&&!s.value?f(Jc):f("button",{type:"button",class:["outlook-button",{open:o.value}],tabindex:"-1","aria-hidden":!0},[f(Kc),f("div",{class:"outlook-dropdown"},f(Qc))])):null}}),$g=K({name:"NavBar",emits:["toggleSidebar"],slots:Object,setup(e,{emit:t,slots:n}){const r=be(),{isMobile:s}=vs(),o=te(!1),l=x(()=>{const{navbarAutoHide:c="mobile"}=r.value;return c!=="none"&&(c==="always"||s.value)}),i=x(()=>r.value.navbarLayout||{start:["Brand"],center:["Links"],end:["Language","Repo","Outlook","Search"]}),a={Brand:Lg,Language:Vs,Links:Rg,Repo:Og,Outlook:Mg,Search:ct("Docsearch")?Tt("Docsearch"):ct("SearchBox")?Tt("SearchBox"):Vs},u=c=>a[c]??(ct(c)?Tt(c):Vs);return()=>{var c,d,p,h,b,y;return[f("header",{key:"navbar",id:"navbar",class:["vp-navbar",{"auto-hide":l.value,"hide-icon":r.value.navbarIcon===!1}]},[f("div",{class:"vp-navbar-start"},[f(Ig,{onToggle:()=>{o.value&&(o.value=!1),t("toggleSidebar")}}),(c=n.startBefore)==null?void 0:c.call(n),(i.value.start||[]).map(_=>f(u(_))),(d=n.startAfter)==null?void 0:d.call(n)]),f("div",{class:"vp-navbar-center"},[(p=n.centerBefore)==null?void 0:p.call(n),(i.value.center||[]).map(_=>f(u(_))),(h=n.centerAfter)==null?void 0:h.call(n)]),f("div",{class:"vp-navbar-end"},[(b=n.endBefore)==null?void 0:b.call(n),(i.value.end||[]).map(_=>f(u(_))),(y=n.endAfter)==null?void 0:y.call(n),f(Pg,{active:o.value,onToggle:()=>{o.value=!o.value}})])]),f(Ag,{show:o.value,onClose:()=>{o.value=!1}},{before:()=>{var _;return(_=n.screenTop)==null?void 0:_.call(n)},after:()=>{var _;return(_=n.screenBottom)==null?void 0:_.call(n)}})]}}});const br=(e,t,n=!1)=>"activeMatch"in t?new RegExp(t.activeMatch,"u").test(e.path):kc(e,t.link)?!0:"children"in t&&!n?t.children.some(r=>br(e,r)):!1,Zc=(e,t)=>t.type==="group"?t.children.some(n=>n.type==="group"?Zc(e,n):n.type==="page"&&br(e,n,!0))||"prefix"in t&&kc(e,t.prefix):!1;var Ng=K({name:"SidebarChild",props:{config:{type:Object,required:!0}},setup(e){const t=Jt();return()=>_e(e.config.link)?f(Ge,{class:["vp-sidebar-link","vp-sidebar-page",{active:br(t,e.config,!0)}],exact:!0,config:e.config}):f("p",e,[f(We,{icon:e.config.icon}),e.config.text])}}),Dg=K({name:"SidebarGroup",props:{config:{type:Object,required:!0},open:{type:Boolean,required:!0}},emits:["toggle"],setup(e,{emit:t}){const n=Jt(),r=x(()=>br(n,e.config)),s=x(()=>br(n,e.config,!0));return()=>{const{collapsible:o,children:l=[],icon:i,prefix:a,link:u,text:c}=e.config;return f("section",{class:"vp-sidebar-group"},[f(o?"button":"p",{class:["vp-sidebar-header",{clickable:o||u,exact:s.value,active:r.value}],...o?{type:"button",onClick:()=>t("toggle"),onKeydown:d=>{d.key==="Enter"&&t("toggle")}}:{}},[f(We,{icon:i}),u?f(Ge,{class:"vp-sidebar-title",config:{text:c,link:u},noExternalLinkIcon:!0}):f("span",{class:"vp-sidebar-title"},c),o?f("span",{class:["vp-arrow",e.open?"down":"end"]}):null]),e.open||!o?f(eu,{key:a,config:l}):null])}}}),eu=K({name:"SidebarLinks",props:{config:{type:Array,required:!0}},setup(e){const t=Jt(),n=te(-1),r=s=>{n.value=s===n.value?-1:s};return ie(()=>t.path,()=>{const s=e.config.findIndex(o=>Zc(t,o));n.value=s},{immediate:!0,flush:"post"}),()=>f("ul",{class:"vp-sidebar-links"},e.config.map((s,o)=>f("li",s.type==="group"?f(Dg,{config:s,open:o===n.value,onToggle:()=>r(o)}):f(Ng,{config:s}))))}}),Hg=K({name:"SideBar",slots:Object,setup(e,{slots:t}){const n=Jt(),r=be(),s=Yo(),o=Re();return Ce(()=>{ie(()=>n.hash,l=>{const i=document.querySelector(`.vp-sidebar a.vp-sidebar-link[href="${n.path}${l}"]`);if(!i)return;const{top:a,height:u}=o.value.getBoundingClientRect(),{top:c,height:d}=i.getBoundingClientRect();c<a?i.scrollIntoView(!0):c+d>a+u&&i.scrollIntoView(!1)},{immediate:!0})}),()=>{var l,i,a;return f("aside",{ref:o,id:"sidebar",class:["vp-sidebar",{"hide-icon":r.value.sidebarIcon===!1}],key:"sidebar"},[(l=t.top)==null?void 0:l.call(t),((i=t.default)==null?void 0:i.call(t))||f(eu,{config:s.value}),(a=t.bottom)==null?void 0:a.call(t)])}}}),tu=K({name:"CommonWrapper",props:{containerClass:{type:String,default:""},noNavbar:Boolean,noSidebar:Boolean,noToc:Boolean},slots:Object,setup(e,{slots:t}){const n=jn(),r=Se(),s=Te(),o=be(),{isMobile:l,isPC:i}=vs(),[a,u]=gr(!1),[c,d]=gr(!1),p=Yo(),h=te(!1),b=x(()=>e.noNavbar||s.value.navbar===!1||o.value.navbar===!1?!1:!!(r.value.title||o.value.logo||o.value.repo||o.value.navbar)),y=x(()=>e.noSidebar?!1:s.value.sidebar!==!1&&p.value.length!==0&&!s.value.home),_=x(()=>e.noToc||s.value.home?!1:s.value.toc||o.value.toc!==!1&&s.value.toc!==!1),w={x:0,y:0},E=A=>{w.x=A.changedTouches[0].clientX,w.y=A.changedTouches[0].clientY},m=A=>{const $=A.changedTouches[0].clientX-w.x,W=A.changedTouches[0].clientY-w.y;Math.abs($)>Math.abs(W)*1.5&&Math.abs($)>40&&($>0&&w.x<=80?u(!0):u(!1))},C=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;let P=0;return Oe("scroll",sv(()=>{const A=C();A<=58||A<P?h.value=!1:P+200<A&&!a.value&&(h.value=!0),P=A},300,!0)),ie(l,A=>{A||u(!1)}),Ce(()=>{const A=cc(document.body);ie(a,W=>{A.value=W});const $=n.afterEach(()=>{u(!1)});Hn(()=>{A.value=!1,$()})}),()=>f(ct("GlobalEncrypt")?Tt("GlobalEncrypt"):wc,()=>f("div",{class:["theme-container",{"no-navbar":!b.value,"no-sidebar":!y.value&&!(t.sidebar||t.sidebarTop||t.sidebarBottom),"has-toc":_.value,"hide-navbar":h.value,"sidebar-collapsed":!l.value&&!i.value&&c.value,"sidebar-open":l.value&&a.value},e.containerClass,s.value.containerClass||""],onTouchStart:E,onTouchEnd:m},[b.value?f($g,{onToggleSidebar:()=>u()},{startBefore:()=>{var A;return(A=t.navbarStartBefore)==null?void 0:A.call(t)},startAfter:()=>{var A;return(A=t.navbarStartAfter)==null?void 0:A.call(t)},centerBefore:()=>{var A;return(A=t.navbarCenterBefore)==null?void 0:A.call(t)},centerAfter:()=>{var A;return(A=t.navbarCenterAfter)==null?void 0:A.call(t)},endBefore:()=>{var A;return(A=t.navbarEndBefore)==null?void 0:A.call(t)},endAfter:()=>{var A;return(A=t.navbarEndAfter)==null?void 0:A.call(t)},screenTop:()=>{var A;return(A=t.navScreenTop)==null?void 0:A.call(t)},screenBottom:()=>{var A;return(A=t.navScreenBottom)==null?void 0:A.call(t)}}):null,f(In,{name:"fade"},()=>a.value?f("div",{class:"vp-sidebar-mask",onClick:()=>u(!1)}):null),f(In,{name:"fade"},()=>l.value?null:f("div",{class:"toggle-sidebar-wrapper",onClick:()=>d()},f("span",{class:["arrow",c.value?"end":"start"]}))),f(Hg,{},{...t.sidebar?{default:()=>t.sidebar()}:{},top:()=>{var A;return(A=t.sidebarTop)==null?void 0:A.call(t)},bottom:()=>{var A;return(A=t.sidebarBottom)==null?void 0:A.call(t)}}),t.default(),f(_g)]))}}),wn=K({name:"DropTransition",props:{type:{type:String,default:"single"},delay:{type:Number,default:0},duration:{type:Number,default:.25},appear:Boolean},slots:Object,setup(e,{slots:t}){const n=s=>{s.style.transition=`transform ${e.duration}s ease-in-out ${e.delay}s, opacity ${e.duration}s ease-in-out ${e.delay}s`,s.style.transform="translateY(-20px)",s.style.opacity="0"},r=s=>{s.style.transform="translateY(0)",s.style.opacity="1"};return()=>f(e.type==="single"?In:Gd,{name:"drop",appear:e.appear,onAppear:n,onAfterAppear:r,onEnter:n,onAfterEnter:r,onBeforeLeave:n},()=>t.default())}});const fo=({custom:e})=>f(Ua,{class:["theme-hope-content",{custom:e}]});fo.displayName="MarkdownContent",fo.props={custom:Boolean};var nu=fo;const ru=()=>f(Ee,{name:"author"},()=>f("path",{d:"M649.6 633.6c86.4-48 147.2-144 147.2-249.6 0-160-128-288-288-288s-288 128-288 288c0 108.8 57.6 201.6 147.2 249.6-121.6 48-214.4 153.6-240 288-3.2 9.6 0 19.2 6.4 25.6 3.2 9.6 12.8 12.8 22.4 12.8h704c9.6 0 19.2-3.2 25.6-12.8 6.4-6.4 9.6-16 6.4-25.6-25.6-134.4-121.6-240-243.2-288z"}));ru.displayName="AuthorIcon";const su=()=>f(Ee,{name:"calendar"},()=>f("path",{d:"M716.4 110.137c0-18.753-14.72-33.473-33.472-33.473-18.753 0-33.473 14.72-33.473 33.473v33.473h66.993v-33.473zm-334.87 0c0-18.753-14.72-33.473-33.473-33.473s-33.52 14.72-33.52 33.473v33.473h66.993v-33.473zm468.81 33.52H716.4v100.465c0 18.753-14.72 33.473-33.472 33.473a33.145 33.145 0 01-33.473-33.473V143.657H381.53v100.465c0 18.753-14.72 33.473-33.473 33.473a33.145 33.145 0 01-33.473-33.473V143.657H180.6A134.314 134.314 0 0046.66 277.595v535.756A134.314 134.314 0 00180.6 947.289h669.74a134.36 134.36 0 00133.94-133.938V277.595a134.314 134.314 0 00-133.94-133.938zm33.473 267.877H147.126a33.145 33.145 0 01-33.473-33.473c0-18.752 14.72-33.473 33.473-33.473h736.687c18.752 0 33.472 14.72 33.472 33.473a33.145 33.145 0 01-33.472 33.473z"}));su.displayName="CalendarIcon";const ou=()=>f(Ee,{name:"category"},()=>f("path",{d:"M148.41 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H148.41c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.311-40.31zM147.556 553.478H429.73c22.263 0 40.311 18.048 40.311 40.31v282.176c0 22.263-18.048 40.312-40.31 40.312H147.555c-22.263 0-40.311-18.049-40.311-40.312V593.79c0-22.263 18.048-40.311 40.31-40.311zM593.927 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H593.927c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.31-40.31zM730.22 920.502H623.926c-40.925 0-74.22-33.388-74.22-74.425V623.992c0-41.038 33.387-74.424 74.425-74.424h222.085c41.038 0 74.424 33.226 74.424 74.067v114.233c0 10.244-8.304 18.548-18.547 18.548s-18.548-8.304-18.548-18.548V623.635c0-20.388-16.746-36.974-37.33-36.974H624.13c-20.585 0-37.331 16.747-37.331 37.33v222.086c0 20.585 16.654 37.331 37.126 37.331H730.22c10.243 0 18.547 8.304 18.547 18.547 0 10.244-8.304 18.547-18.547 18.547z"}));ou.displayName="CategoryIcon";const lu=()=>f(Ee,{name:"eye"},()=>f("path",{d:"M992 512.096c0-5.76-.992-10.592-1.28-11.136-.192-2.88-1.152-8.064-2.08-10.816-.256-.672-.544-1.376-.832-2.08-.48-1.568-1.024-3.104-1.6-4.32C897.664 290.112 707.104 160 512 160c-195.072 0-385.632 130.016-473.76 322.592-1.056 2.112-1.792 4.096-2.272 5.856a55.512 55.512 0 00-.64 1.6c-1.76 5.088-1.792 8.64-1.632 7.744-.832 3.744-1.568 11.168-1.568 11.168-.224 2.272-.224 4.032.032 6.304 0 0 .736 6.464 1.088 7.808.128 1.824.576 4.512 1.12 6.976h-.032c.448 2.08 1.12 4.096 1.984 6.08.48 1.536.992 2.976 1.472 4.032C126.432 733.856 316.992 864 512 864c195.136 0 385.696-130.048 473.216-321.696 1.376-2.496 2.24-4.832 2.848-6.912.256-.608.48-1.184.672-1.728 1.536-4.48 1.856-8.32 1.728-8.32l-.032.032c.608-3.104 1.568-7.744 1.568-13.28zM512 672c-88.224 0-160-71.776-160-160s71.776-160 160-160 160 71.776 160 160-71.776 160-160 160z"}));lu.displayName="EyeIcon";const iu=()=>f(Ee,{name:"fire"},()=>f("path",{d:"M726.4 201.6c-12.8-9.6-28.8-6.4-38.4 0-9.6 9.6-16 25.6-9.6 38.4 6.4 12.8 9.6 28.8 12.8 44.8C604.8 83.2 460.8 38.4 454.4 35.2c-9.6-3.2-22.4 0-28.8 6.4-9.6 6.4-12.8 19.2-9.6 28.8 12.8 86.4-25.6 188.8-115.2 310.4-6.4-25.6-16-51.2-32-80-9.6-9.6-22.4-16-35.2-12.8-16 3.2-25.6 12.8-25.6 28.8-3.2 48-25.6 92.8-51.2 140.8C134.4 499.2 112 544 102.4 592c-32 150.4 99.2 329.6 233.6 380.8 9.6 3.2 19.2 6.4 32 9.6-25.6-19.2-41.6-51.2-48-96C294.4 691.2 505.6 640 515.2 460.8c153.6 105.6 224 336 137.6 505.6 3.2 0 6.4-3.2 9.6-3.2 0 0 3.2 0 3.2-3.2 163.2-89.6 252.8-208 259.2-345.6 16-211.2-163.2-390.4-198.4-412.8z"}));iu.displayName="FireIcon";const au=()=>f(Ee,{name:"print"},()=>f("path",{d:"M819.2 364.8h-44.8V128c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v236.8h-44.8C145.067 364.8 96 413.867 96 473.6v192c0 59.733 49.067 108.8 108.8 108.8h44.8V896c0 17.067 14.933 32 32 32h460.8c17.067 0 32-14.933 32-32V774.4h44.8c59.733 0 108.8-49.067 108.8-108.8v-192c0-59.733-49.067-108.8-108.8-108.8zM313.6 160h396.8v204.8H313.6V160zm396.8 704H313.6V620.8h396.8V864zM864 665.6c0 25.6-19.2 44.8-44.8 44.8h-44.8V588.8c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v121.6h-44.8c-25.6 0-44.8-19.2-44.8-44.8v-192c0-25.6 19.2-44.8 44.8-44.8h614.4c25.6 0 44.8 19.2 44.8 44.8v192z"}));au.displayName="PrintIcon";const cu=()=>f(Ee,{name:"tag"},()=>f("path",{d:"M939.902 458.563L910.17 144.567c-1.507-16.272-14.465-29.13-30.737-30.737L565.438 84.098h-.402c-3.215 0-5.726 1.005-7.634 2.913l-470.39 470.39a10.004 10.004 0 000 14.164l365.423 365.424c1.909 1.908 4.42 2.913 7.132 2.913s5.223-1.005 7.132-2.913l470.39-470.39c2.01-2.11 3.014-5.023 2.813-8.036zm-240.067-72.121c-35.458 0-64.286-28.828-64.286-64.286s28.828-64.285 64.286-64.285 64.286 28.828 64.286 64.285-28.829 64.286-64.286 64.286z"}));cu.displayName="TagIcon";const uu=()=>f(Ee,{name:"timer"},()=>f("path",{d:"M799.387 122.15c4.402-2.978 7.38-7.897 7.38-13.463v-1.165c0-8.933-7.38-16.312-16.312-16.312H256.33c-8.933 0-16.311 7.38-16.311 16.312v1.165c0 5.825 2.977 10.874 7.637 13.592 4.143 194.44 97.22 354.963 220.201 392.763-122.204 37.542-214.893 196.511-220.2 389.397-4.661 5.049-7.638 11.651-7.638 19.03v5.825h566.49v-5.825c0-7.379-2.849-13.981-7.509-18.9-5.049-193.016-97.867-351.985-220.2-389.527 123.24-37.67 216.446-198.453 220.588-392.892zM531.16 450.445v352.632c117.674 1.553 211.787 40.778 211.787 88.676H304.097c0-48.286 95.149-87.382 213.728-88.676V450.445c-93.077-3.107-167.901-81.297-167.901-177.093 0-8.803 6.99-15.793 15.793-15.793 8.803 0 15.794 6.99 15.794 15.793 0 80.261 63.69 145.635 142.01 145.635s142.011-65.374 142.011-145.635c0-8.803 6.99-15.793 15.794-15.793s15.793 6.99 15.793 15.793c0 95.019-73.789 172.82-165.96 177.093z"}));uu.displayName="TimerIcon";const fu=()=>f(Ee,{name:"word"},()=>[f("path",{d:"M518.217 432.64V73.143A73.143 73.143 0 01603.43 1.097a512 512 0 01419.474 419.474 73.143 73.143 0 01-72.046 85.212H591.36a73.143 73.143 0 01-73.143-73.143z"}),f("path",{d:"M493.714 566.857h340.297a73.143 73.143 0 0173.143 85.577A457.143 457.143 0 11371.566 117.76a73.143 73.143 0 0185.577 73.143v339.383a36.571 36.571 0 0036.571 36.571z"})]);fu.displayName="WordIcon";const jt=()=>{const e=be();return x(()=>e.value.metaLocales)};var jg=K({name:"AuthorInfo",inheritAttrs:!1,props:{author:{type:Array,required:!0},pure:Boolean},setup(e){const t=jt();return()=>e.author.length?f("span",{class:"page-author-info","aria-label":`${t.value.author}${e.pure?"":"🖊"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(ru),f("span",e.author.map(n=>n.url?f("a",{class:"page-author-item",href:n.url,target:"_blank",rel:"noopener noreferrer"},n.name):f("span",{class:"page-author-item"},n.name))),f("span",{property:"author",content:e.author.map(n=>n.name).join(", ")})]):null}}),Fg=K({name:"CategoryInfo",inheritAttrs:!1,props:{category:{type:Array,required:!0},pure:Boolean},setup(e){const t=jt(),n=Ko();return()=>e.category.length?f("span",{class:"page-category-info","aria-label":`${t.value.category}${e.pure?"":"🌈"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(ou),e.category.map(({name:r,path:s})=>f("span",{class:["page-category-item",{[`category${xc(r,9)}`]:!e.pure,clickable:s}],role:s?"navigation":"",onClick:()=>{s&&n(s)}},r)),f("meta",{property:"articleSection",content:e.category.map(({name:r})=>r).join(",")})]):null}}),Bg=K({name:"DateInfo",inheritAttrs:!1,props:{date:{type:Object,default:null},localizedDate:{type:String,default:""},pure:Boolean},setup(e){const t=za(),n=jt();return()=>e.date?f("span",{class:"page-date-info","aria-label":`${n.value.date}${e.pure?"":"📅"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(su),f("span",f(ds,()=>e.localizedDate||e.date.toLocaleDateString(t.value))),f("meta",{property:"datePublished",content:e.date.toISOString()||""})]):null}}),Vg=K({name:"OriginalInfo",inheritAttrs:!1,props:{isOriginal:Boolean},setup(e){const t=jt();return()=>e.isOriginal?f("span",{class:"page-original-info"},t.value.origin):null}}),zg=K({name:"PageViewInfo",inheritAttrs:!1,props:{pageview:{type:[Boolean,String],default:!1},pure:Boolean},setup(e){const t=Jt(),n=jt(),r=Re(),s=te(0);return uv(r,()=>{},{childList:!0}),()=>e.pageview?f("span",{class:"page-pageview-info","aria-label":`${n.value.views}${e.pure?"":"🔢"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(s.value<1e3?lu:iu),f("span",{ref:r,id:"ArtalkPV",class:"vp-pageview waline-pageview-count","data-path":_e(e.pageview)?e.pageview:t.path,"data-page-key":_e(e.pageview)?e.pageview:t.path},"...")]):null}}),Wg=K({name:"ReadingTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=jt(),n=x(()=>{if(!e.readingTime)return null;const{minutes:r}=e.readingTime;return r<1?"PT1M":`PT${Math.round(r)}M`});return()=>{var r,s;return(r=e.readingTimeLocale)!=null&&r.time?f("span",{class:"page-reading-time-info","aria-label":`${t.value.readingTime}${e.pure?"":"⌛"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(uu),f("span",(s=e.readingTimeLocale)==null?void 0:s.time),f("meta",{property:"timeRequired",content:n.value})]):null}}}),qg=K({name:"TagInfo",inheritAttrs:!1,props:{tag:{type:Array,default:()=>[]},pure:Boolean},setup(e){const t=jt(),n=Ko();return()=>e.tag.length?f("span",{class:"page-tag-info","aria-label":`${t.value.tag}${e.pure?"":"🏷"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(cu),e.tag.map(({name:r,path:s})=>f("span",{class:["page-tag-item",{[`tag${xc(r,9)}`]:!e.pure,clickable:s}],role:s?"navigation":"",onClick:()=>{s&&n(s)}},r)),f("meta",{property:"keywords",content:e.tag.map(({name:r})=>r).join(",")})]):null}}),Ug=K({name:"ReadTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=jt();return()=>{var n,r,s;return(n=e.readingTimeLocale)!=null&&n.words?f("span",{class:"page-word-info","aria-label":`${t.value.words}${e.pure?"":"🔠"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(fu),f("span",(r=e.readingTimeLocale)==null?void 0:r.words),f("meta",{property:"wordCount",content:(s=e.readingTime)==null?void 0:s.words})]):null}}}),Gg=K({name:"PageInfo",components:{AuthorInfo:jg,CategoryInfo:Fg,DateInfo:Bg,OriginalInfo:Vg,PageViewInfo:zg,ReadingTimeInfo:Wg,TagInfo:qg,WordInfo:Ug},props:{items:{type:[Array,Boolean],default:()=>["Author","Original","Date","PageView","ReadingTime","Category","Tag"]},info:{type:Object,required:!0}},setup(e){const t=Pr();return()=>e.items?f("div",{class:"page-info"},e.items.map(n=>f(Tt(`${n}Info`),{...e.info,pure:t.value}))):null}}),Kg=K({name:"PrintButton",setup(){const e=zn(),t=be();return()=>e.value.print===!1?null:f("button",{type:"button",class:"print-button",title:t.value.metaLocales.print,onClick:()=>{window.print()}},f(au))}}),Yg=K({name:"TOC",props:{items:{type:Array,default:()=>[]},headerDepth:{type:Number,default:2}},slots:Object,setup(e,{slots:t}){const n=Jt(),r=Se(),s=jt(),[o,l]=gr(),i=Re(),a=te("-1.7rem"),u=d=>{var p;(p=i.value)==null||p.scrollTo({top:d,behavior:"smooth"})},c=()=>{if(i.value){const d=document.querySelector(".vp-toc-item.active");d?a.value=`${d.getBoundingClientRect().top-i.value.getBoundingClientRect().top+i.value.scrollTop}px`:a.value="-1.7rem"}else a.value="-1.7rem"};return Ce(()=>{ie(()=>n.hash,d=>{if(i.value){const p=document.querySelector(`#toc a.toc-link[href$="${d}"]`);if(!p)return;const{top:h,height:b}=i.value.getBoundingClientRect(),{top:y,height:_}=p.getBoundingClientRect();y<h?u(i.value.scrollTop+y-h):y+_>h+b&&u(i.value.scrollTop+y+_-h-b)}}),ie(()=>n.fullPath,c,{flush:"post",immediate:!0})}),()=>{var b,y;const d=({title:_,level:w,slug:E})=>f(Ue,{to:`#${E}`,class:["vp-toc-link",`level${w}`],onClick:()=>{l()}},()=>_),p=(_,w)=>_.length&&w>0?f("ul",{class:"vp-toc-list"},_.map(E=>{const m=p(E.children,w-1);return[f("li",{class:["vp-toc-item",{active:n.hash===`#${E.slug}`}]},d(E)),m?f("li",m):null]})):null,h=e.items.length?p(e.items,e.headerDepth):r.value.headers?p(r.value.headers,e.headerDepth):null;return h?f("div",{class:"vp-toc-placeholder"},[f("aside",{id:"toc"},[(b=t.before)==null?void 0:b.call(t),f("div",{class:"vp-toc-header",onClick:()=>{l()}},[s.value.toc,f(Kg),f("div",{class:["arrow",o.value?"down":"end"]})]),f("div",{class:["vp-toc-wrapper",o.value?"open":""],ref:i},[h,f("div",{class:"vp-toc-marker",style:{top:a.value}})]),(y=t.after)==null?void 0:y.call(t)])]):null}}}),du=K({name:"SkipLink",props:{content:{type:String,default:"main-content"}},setup(e){const t=Se(),n=be(),r=Re(),s=({target:o})=>{const l=document.querySelector(o.hash);if(l){const i=()=>{l.removeAttribute("tabindex"),l.removeEventListener("blur",i)};l.setAttribute("tabindex","-1"),l.addEventListener("blur",i),l.focus(),window.scrollTo(0,0)}};return Ce(()=>{ie(()=>t.value.path,()=>r.value.focus())}),()=>[f("span",{ref:r,tabindex:"-1"}),f("a",{href:`#${e.content}`,class:"vp-skip-link sr-only",onClick:s},n.value.routeLocales.skipToContent)]}});let zs=null,Kn=null;const Jg={wait:()=>zs,pending:()=>{zs=new Promise(e=>{Kn=e})},resolve:()=>{Kn==null||Kn(),zs=null,Kn=null}},pu=()=>Jg;var Qg=K({name:"FadeSlideY",slots:Object,setup(e,{slots:t}){const{resolve:n,pending:r}=pu();return()=>f(In,{name:"fade-slide-y",mode:"out-in",onBeforeEnter:n,onBeforeLeave:r},()=>{var s;return(s=t.default)==null?void 0:s.call(t)})}});const Xg=(e,t)=>{const n=e.replace(t,"/").split("/"),r=[];let s=No(t);return n.forEach((o,l)=>{l!==n.length-1?(s+=`${o}/`,r.push({link:s,name:o||"Home"})):o!==""&&(s+=o,r.push({link:s,name:o}))}),r},hu=(e,{slots:t})=>{var d,p;const{bgImage:n,bgImageDark:r,bgImageStyle:s,color:o,description:l,image:i,imageDark:a,header:u,features:c=[]}=e;return f("div",{class:"vp-feature-wrapper"},[n?f("div",{class:["vp-feature-bg",{light:r}],style:[{"background-image":`url(${n})`},s]}):null,r?f("div",{class:"vp-feature-bg dark",style:[{"background-image":`url(${r})`},s]}):null,f("div",{class:"vp-feature",style:o?{color:o}:{}},[((d=t.image)==null?void 0:d.call(t,e))||[i?f("img",{class:["vp-feature-image",{light:a}],src:ze(i),alt:""}):null,a?f("img",{class:"vp-feature-image dark",src:ze(a),alt:""}):null],((p=t.info)==null?void 0:p.call(t,e))||[u?f("h2",{class:"vp-feature-header"},u):null,l?f("p",{class:"vp-feature-description",innerHTML:l}):null],c.length?f("div",{class:"vp-features"},c.map(({icon:h,title:b,details:y,link:_})=>{const w=[f("h3",{class:"vp-feature-title"},[f(We,{icon:h}),f("span",{innerHTML:b})]),f("p",{class:"vp-feature-details",innerHTML:y})];return _?Mn(_)?f("a",{class:"vp-feature-item link",href:_,"aria-label":b,target:"_blank"},w):f(Ue,{class:"vp-feature-item link",to:_,"aria-label":b},()=>w):f("div",{class:"vp-feature-item"},w)})):null])])};hu.displayName="FeaturePanel";var hi=hu,Zg=K({name:"HeroInfo",slots:Object,setup(e,{slots:t}){const n=Te(),r=Fo(),s=x(()=>n.value.heroFullScreen??!1),o=x(()=>{const{heroText:u,tagline:c}=n.value;return{text:u??r.value.title??"Hello",tagline:c??r.value.description??"",isFullScreen:s.value}}),l=x(()=>{const{heroText:u,heroImage:c,heroImageDark:d,heroAlt:p,heroImageStyle:h}=n.value;return{image:c?ze(c):null,imageDark:d?ze(d):null,style:h,alt:p||u||"",isFullScreen:s.value}}),i=x(()=>{const{bgImage:u,bgImageDark:c,bgImageStyle:d}=n.value;return{image:_e(u)?ze(u):null,imageDark:_e(c)?ze(c):null,bgStyle:d,isFullScreen:s.value}}),a=x(()=>n.value.actions??[]);return()=>{var u,c,d;return f("header",{class:["vp-hero-info-wrapper",{fullscreen:s.value}]},[((u=t.heroBg)==null?void 0:u.call(t,i.value))||[i.value.image?f("div",{class:["vp-hero-mask",{light:i.value.imageDark}],style:[{"background-image":`url(${i.value.image})`},i.value.bgStyle]}):null,i.value.imageDark?f("div",{class:"vp-hero-mask dark",style:[{"background-image":`url(${i.value.imageDark})`},i.value.bgStyle]}):null],f("div",{class:"vp-hero-info"},[((c=t.heroImage)==null?void 0:c.call(t,l.value))||f(wn,{appear:!0,type:"group"},()=>[l.value.image?f("img",{key:"light",class:["vp-hero-image",{light:l.value.imageDark}],style:l.value.style,src:l.value.image,alt:l.value.alt}):null,l.value.imageDark?f("img",{key:"dark",class:"vp-hero-image dark",style:l.value.style,src:l.value.imageDark,alt:l.value.alt}):null]),((d=t.heroInfo)==null?void 0:d.call(t,o.value))??f("div",{class:"vp-hero-infos"},[o.value.text?f(wn,{appear:!0,delay:.04},()=>f("h1",{id:"main-title"},o.value.text)):null,o.value.tagline?f(wn,{appear:!0,delay:.08},()=>f("p",{id:"main-description",innerHTML:o.value.tagline})):null,a.value.length?f(wn,{appear:!0,delay:.12},()=>f("p",{class:"vp-hero-actions"},a.value.map(p=>f(Ge,{class:["vp-hero-action",p.type||"default"],config:p,noExternalLinkIcon:!0},p.icon?{before:()=>f(We,{icon:p.icon})}:{})))):null])])])}}});const vu=(e,{slots:t})=>{var p,h,b;const{bgImage:n,bgImageDark:r,bgImageStyle:s,color:o,description:l,image:i,imageDark:a,header:u,highlights:c=[],type:d="un-order"}=e;return f("div",{class:"vp-highlight-wrapper",style:o?{color:o}:{}},[n?f("div",{class:["vp-highlight-bg",{light:r}],style:[{"background-image":`url(${n})`},s]}):null,r?f("div",{class:"vp-highlight-bg dark",style:[{"background-image":`url(${r})`},s]}):null,f("div",{class:"vp-highlight"},[((p=t.image)==null?void 0:p.call(t,e))||[i?f("img",{class:["vp-highlight-image",{light:a}],src:ze(i),alt:""}):null,a?f("img",{class:"vp-highlight-image dark",src:ze(a),alt:""}):null],((h=t.info)==null?void 0:h.call(t,e))||[f("div",{class:"vp-highlight-info-wrapper"},f("div",{class:"vp-highlight-info"},[u?f("h2",{class:"vp-highlight-header",innerHTML:u}):null,l?f("p",{class:"vp-highlight-description",innerHTML:l}):null,((b=t.highlights)==null?void 0:b.call(t,c))||f(d==="order"?"ol":d==="no-order"?"dl":"ul",{class:"vp-highlights"},c.map(({icon:y,title:_,details:w,link:E})=>{const m=[f(d==="no-order"?"dt":"h3",{class:"vp-highlight-title"},[y?f(We,{class:"vp-highlight-icon",icon:y}):null,f("span",{innerHTML:_})]),w?f(d==="no-order"?"dd":"p",{class:"vp-highlight-details",innerHTML:w}):null];return f(d==="no-order"?"div":"li",{class:["vp-highlight-item-wrapper",{link:E}]},E?Mn(E)?f("a",{class:"vp-highlight-item link",href:E,"aria-label":_,target:"_blank"},m):f(Ue,{class:"vp-highlight-item link",to:E,"aria-label":_},()=>m):f("div",{class:"vp-highlight-item"},m))}))]))]])])};vu.displayName="HighlightPanel";var em=vu,tm=K({name:"HomePage",slots:Object,setup(e,{slots:t}){const n=Pr(),r=Te(),s=x(()=>{const{features:l}=r.value;return io(l)?l:null}),o=x(()=>{const{highlights:l}=r.value;return io(l)?l:null});return()=>{var l,i,a,u;return f("main",{id:"main-content",class:["vp-project-home ",{pure:n.value}],"aria-labelledby":r.value.heroText===null?"":"main-title"},[(l=t.top)==null?void 0:l.call(t),f(Zg),((i=o.value)==null?void 0:i.map(c=>"features"in c?f(hi,c):f(em,c)))||(s.value?f(wn,{appear:!0,delay:.24},()=>f(hi,{features:s.value})):null),(a=t.center)==null?void 0:a.call(t),f(wn,{appear:!0,delay:.32},()=>f(nu)),(u=t.bottom)==null?void 0:u.call(t)])}}}),nm=K({name:"BreadCrumb",setup(){const e=Se(),t=Fn(),n=Te(),r=be(),s=Re([]),o=x(()=>(n.value.breadcrumb||n.value.breadcrumb!==!1&&r.value.breadcrumb!==!1)&&s.value.length>1),l=x(()=>n.value.breadcrumbIcon||n.value.breadcrumbIcon!==!1&&r.value.breadcrumbIcon!==!1),i=()=>{const a=Xg(e.value.path,t.value).map(({link:u,name:c})=>{const{path:d,meta:p,notFound:h}=fs(u);return h||p[St.breadcrumbExclude]?null:{title:p[St.shortTitle]||p[St.title]||c,icon:p[St.icon],path:d}}).filter(u=>u!==null);a.length>1&&(s.value=a)};return Ce(()=>{ie(()=>e.value.path,i,{immediate:!0})}),()=>f("nav",{class:["vp-breadcrumb",{disable:!o.value}]},o.value?f("ol",{vocab:"https://schema.org/",typeof:"BreadcrumbList"},s.value.map((a,u)=>f("li",{class:{"is-active":s.value.length-1===u},property:"itemListElement",typeof:"ListItem"},[f(Ue,{to:a.path,property:"item",typeof:"WebPage"},()=>[l.value?f(We,{icon:a.icon}):null,f("span",{property:"name"},a.title||"Unknown")]),f("meta",{property:"position",content:u+1})]))):[])}});const vi=e=>e===!1||Ar(e)?e:_e(e)?Rn(e,!0):null,po=(e,t,n)=>{const r=e.findIndex(s=>s.link===t);if(r!==-1){const s=e[r+n];return s!=null&&s.link?s:null}for(const s of e)if("children"in s){const o=po(s.children,t,n);if(o)return o}return null};var rm=K({name:"PageNav",setup(){const e=be(),t=Te(),n=Yo(),r=Se(),s=Ko(),o=x(()=>{const i=vi(t.value.prev);return i===!1?null:i||(e.value.prevLink===!1?null:po(n.value,r.value.path,-1))}),l=x(()=>{const i=vi(t.value.next);return i===!1?null:i||(e.value.nextLink===!1?null:po(n.value,r.value.path,1))});return Oe("keydown",i=>{i.altKey&&(i.key==="ArrowRight"?l.value&&(s(l.value.link),i.preventDefault()):i.key==="ArrowLeft"&&o.value&&(s(o.value.link),i.preventDefault()))}),()=>o.value||l.value?f("nav",{class:"vp-page-nav"},[o.value?f(Ge,{class:"prev",config:o.value},()=>{var i,a;return[f("div",{class:"hint"},[f("span",{class:"arrow start"}),e.value.metaLocales.prev]),f("div",{class:"link"},[f(We,{icon:(i=o.value)==null?void 0:i.icon}),(a=o.value)==null?void 0:a.text])]}):null,l.value?f(Ge,{class:"next",config:l.value},()=>{var i,a;return[f("div",{class:"hint"},[e.value.metaLocales.next,f("span",{class:"arrow end"})]),f("div",{class:"link"},[(i=l.value)==null?void 0:i.text,f(We,{icon:(a=l.value)==null?void 0:a.icon})])]}):null]):null}});const sm={GitHub:":repo/edit/:branch/:path",GitLab:":repo/-/edit/:branch/:path",Gitee:":repo/edit/:branch/:path",Bitbucket:":repo/src/:branch/:path?mode=edit&spa=0&at=:branch&fileviewer=file-view-default"},om=({docsRepo:e,docsBranch:t,docsDir:n,filePathRelative:r,editLinkPattern:s})=>{if(!r)return null;const o=qo(e);let l;return s?l=s:o!==null&&(l=sm[o]),l?l.replace(/:repo/u,dn(e)?e:`https://github.com/${e}`).replace(/:branch/u,t).replace(/:path/u,Ra(`${No(n)}/${r}`)):null},lm=()=>{const e=be(),t=Se(),n=Te();return x(()=>{const{repo:r,docsRepo:s=r,docsBranch:o="main",docsDir:l="",editLink:i,editLinkPattern:a=""}=e.value;if(!(n.value.editLink??i??!0)||!s)return null;const u=om({docsRepo:s,docsBranch:o,docsDir:l,editLinkPattern:a,filePathRelative:t.value.filePathRelative});return u?{text:e.value.metaLocales.editLink,link:u}:null})},im=()=>{const e=Fo(),t=be(),n=Se(),r=Te();return x(()=>{var s,o;return!(r.value.lastUpdated??t.value.lastUpdated??!0)||!((s=n.value.git)!=null&&s.updatedTime)?null:new Date((o=n.value.git)==null?void 0:o.updatedTime).toLocaleString(e.value.lang)})},am=()=>{const e=be(),t=Se(),n=Te();return x(()=>{var r;return n.value.contributors??e.value.contributors??!0?((r=t.value.git)==null?void 0:r.contributors)??null:null})};var cm=K({name:"PageTitle",setup(){const e=Se(),t=Te(),n=be(),{info:r,items:s}=fg();return()=>f("div",{class:"vp-page-title"},[f("h1",[n.value.titleIcon===!1?null:f(We,{icon:t.value.icon}),e.value.title]),f(Gg,{info:r.value,...s.value===null?{}:{items:s.value}}),f("hr")])}});const gu=()=>f(Ee,{name:"edit"},()=>[f("path",{d:"M430.818 653.65a60.46 60.46 0 0 1-50.96-93.281l71.69-114.012 7.773-10.365L816.038 80.138A60.46 60.46 0 0 1 859.225 62a60.46 60.46 0 0 1 43.186 18.138l43.186 43.186a60.46 60.46 0 0 1 0 86.373L588.879 565.55l-8.637 8.637-117.466 68.234a60.46 60.46 0 0 1-31.958 11.229z"}),f("path",{d:"M728.802 962H252.891A190.883 190.883 0 0 1 62.008 771.98V296.934a190.883 190.883 0 0 1 190.883-192.61h267.754a60.46 60.46 0 0 1 0 120.92H252.891a69.962 69.962 0 0 0-69.098 69.099V771.98a69.962 69.962 0 0 0 69.098 69.098h475.911A69.962 69.962 0 0 0 797.9 771.98V503.363a60.46 60.46 0 1 1 120.922 0V771.98A190.883 190.883 0 0 1 728.802 962z"})]);gu.displayName="EditIcon";var um=K({name:"PageMeta",setup(){const e=be(),t=lm(),n=im(),r=am();return()=>{const{metaLocales:s}=e.value;return f("footer",{class:"vp-page-meta"},[t.value?f("div",{class:"vp-meta-item edit-link"},f(Ge,{class:"vp-meta-label",config:t.value},{before:()=>f(gu)})):null,f("div",{class:"vp-meta-item git-info"},[n.value?f("div",{class:"update-time"},[f("span",{class:"vp-meta-label"},`${s.lastUpdated}: `),f(ds,()=>f("span",{class:"vp-meta-info"},n.value))]):null,r.value&&r.value.length?f("div",{class:"contributors"},[f("span",{class:"vp-meta-label"},`${s.contributors}: `),r.value.map(({email:o,name:l},i)=>[f("span",{class:"vp-meta-info",title:`email: ${o}`},l),i!==r.value.length-1?",":""])]):null])])}}}),fm=K({name:"NormalPage",slots:Object,setup(e,{slots:t}){const n=Te(),{isDarkmode:r}=Ir(),s=be(),o=x(()=>n.value.toc||n.value.toc!==!1&&s.value.toc!==!1);return()=>f("main",{id:"main-content",class:"vp-page"},f(ct("LocalEncrypt")?Tt("LocalEncrypt"):wc,()=>{var l,i,a,u;return[(l=t.top)==null?void 0:l.call(t),n.value.cover?f("div",{class:"page-cover"},f("img",{src:ze(n.value.cover),alt:"","no-view":""})):null,f(nm),f(cm),o.value?f(Yg,{headerDepth:n.value.headerDepth??s.value.headerDepth??2},{before:()=>{var c;return(c=t.tocBefore)==null?void 0:c.call(t)},after:()=>{var c;return(c=t.tocAfter)==null?void 0:c.call(t)}}):null,(i=t.contentBefore)==null?void 0:i.call(t),f(nu),(a=t.contentAfter)==null?void 0:a.call(t),f(um),f(rm),ct("CommentService")?f(Tt("CommentService"),{darkmode:r.value}):null,(u=t.bottom)==null?void 0:u.call(t)]}))}}),dm=K({name:"Layout",slots:Object,setup(e,{slots:t}){be();const n=Se(),r=Te(),{isMobile:s}=vs(),o=x(()=>"none");return()=>[f(du),f(tu,{},{default:()=>{var l;return((l=t.default)==null?void 0:l.call(t))||(r.value.home?f(tm):f(Qg,()=>f(fm,{key:n.value.path},{top:()=>{var i;return(i=t.top)==null?void 0:i.call(t)},bottom:()=>{var i;return(i=t.bottom)==null?void 0:i.call(t)},contentBefore:()=>{var i;return(i=t.contentBefore)==null?void 0:i.call(t)},contentAfter:()=>{var i;return(i=t.contentAfter)==null?void 0:i.call(t)},tocBefore:()=>{var i;return(i=t.tocBefore)==null?void 0:i.call(t)},tocAfter:()=>{var i;return(i=t.tocAfter)==null?void 0:i.call(t)}})))},...o.value==="none"?{}:{navScreenBottom:()=>f(Tt("BloggerInfo"))},...!s.value&&o.value==="always"?{sidebar:()=>f(Tt("BloggerInfo"))}:{}})]}}),pm=K({name:"NotFoundHint",setup(){const e=be(),t=()=>{const n=e.value.routeLocales.notFoundMsg;return n[Math.floor(Math.random()*n.length)]};return()=>f("div",{class:"not-found-hint"},[f("p",{class:"error-code"},"404"),f("h1",{class:"error-title"},e.value.routeLocales.notFoundTitle),f("p",{class:"error-hint"},t())])}}),hm=K({name:"NotFound",slots:Object,setup(e,{slots:t}){const n=jn(),r=Fn(),s=be();return()=>[f(du),f(tu,{noSidebar:!0},()=>{var o;return f("main",{id:"main-content",class:"vp-page not-found"},((o=t.default)==null?void 0:o.call(t))||[f(pm),f("div",{class:"actions"},[f("button",{type:"button",class:"action-button",onClick:()=>{window.history.go(-1)}},s.value.routeLocales.back),f("button",{type:"button",class:"action-button",onClick:()=>{n.push(s.value.home??r.value)}},s.value.routeLocales.home)])])})]}});Ov(e=>{const t=e.t,n=e.I!==!1,r=e.i;return n?{title:t,content:r?()=>[f(We,{icon:r}),t]:null,order:e.O,index:e.I}:null});const vm=gt({enhance:({app:e,router:t})=>{const{scrollBehavior:n}=t.options;t.options.scrollBehavior=async(...r)=>(await pu().wait(),n(...r)),hg(e),e.component("HopeIcon",We)},setup:()=>{vg(),wg()},layouts:{Layout:dm,NotFound:hm}}),Wr=[Th,Ev,Rv,Nv,jv,zv,Gv,Xv,c1,F1,eg,vm],gm=JSON.parse('{"base":"/","lang":"zh-CN","title":"LX Music Api Server","description":"适用于 LX Music 的解析接口服务器的 Python 实现","head":[],"locales":{}}');var Jn=Re(gm),mm=qp,bm=()=>{const e=gh({history:mm(No("/")),routes:[{name:"vuepress-route",path:"/:catchAll(.*)",components:{}}],scrollBehavior:(t,n,r)=>r||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,n)=>{if(t.path!==n.path||n===Pt){const r=fs(t.path);if(r.path!==t.path)return r.path;const s=await r.loader();t.meta={...r.meta,_pageChunk:s}}else t.path===n.path&&(t.meta=n.meta)}),e},ym=e=>{e.component("ClientOnly",ds),e.component("Content",Ua),e.component("RouteLink",Ue)},wm=(e,t,n)=>{const r=x(()=>t.currentRoute.value.path),s=ko((_,w)=>({get(){return _(),t.currentRoute.value.meta._pageChunk},set(E){t.currentRoute.value.meta._pageChunk=E,w()}})),o=x(()=>Zt.resolveLayouts(n)),l=x(()=>Zt.resolveRouteLocale(Jn.value.locales,r.value)),i=x(()=>Zt.resolveSiteLocaleData(Jn.value,l.value)),a=x(()=>s.value.comp),u=x(()=>s.value.data),c=x(()=>u.value.frontmatter),d=x(()=>Zt.resolvePageHeadTitle(u.value,i.value)),p=x(()=>Zt.resolvePageHead(d.value,c.value,i.value)),h=x(()=>Zt.resolvePageLang(u.value,i.value)),b=x(()=>Zt.resolvePageLayout(u.value,o.value)),y={layouts:o,pageData:u,pageComponent:a,pageFrontmatter:c,pageHead:p,pageHeadTitle:d,pageLang:h,pageLayout:b,redirects:so,routeLocale:l,routePath:r,routes:hr,siteData:Jn,siteLocaleData:i};return e.provide(jo,y),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>c.value},$head:{get:()=>p.value},$headTitle:{get:()=>d.value},$lang:{get:()=>h.value},$page:{get:()=>u.value},$routeLocale:{get:()=>l.value},$site:{get:()=>Jn.value},$siteLocale:{get:()=>i.value},$withBase:{get:()=>ze}}),y},_m=()=>{const e=yh(),t=za();let n=[];const r=()=>{e.value.forEach(l=>{const i=Cm(l);i&&n.push(i)})},s=()=>{const l=[];return e.value.forEach(i=>{const a=Sm(i);a&&l.push(a)}),l},o=()=>{document.documentElement.lang=t.value;const l=s();n.forEach((i,a)=>{const u=l.findIndex(c=>i.isEqualNode(c));u===-1?(i.remove(),delete n[a]):l.splice(u,1)}),l.forEach(i=>document.head.appendChild(i)),n=[...n.filter(i=>!!i),...l]};kn(Ch,o),Ce(()=>{r(),ie(e,o,{immediate:!1})})},Cm=([e,t,n=""])=>{const r=Object.entries(t).map(([i,a])=>_e(a)?`[${i}=${JSON.stringify(a)}]`:a===!0?`[${i}]`:"").join(""),s=`head > ${e}${r}`;return Array.from(document.querySelectorAll(s)).find(i=>i.innerText===n)||null},Sm=([e,t,n])=>{if(!_e(e))return null;const r=document.createElement(e);return Ar(t)&&Object.entries(t).forEach(([s,o])=>{_e(o)?r.setAttribute(s,o):o===!0&&r.setAttribute(s,"")}),_e(n)&&r.appendChild(document.createTextNode(n)),r},Em=ep,xm=async()=>{var n;const e=Em({name:"Vuepress",setup(){var o;_m();for(const l of Wr)(o=l.setup)==null||o.call(l);const r=Wr.flatMap(({rootComponents:l=[]})=>l.map(i=>f(i))),s=wh();return()=>[f(s.value),r]}}),t=bm();ym(e),wm(e,t,Wr);for(const r of Wr)await((n=r.enhance)==null?void 0:n.call(r,{app:e,router:t,siteData:Jn}));return e.use(t),{app:e,router:t}};xm().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{ma as a,ba as b,km as c,xm as createVueApp,ke as d,Am as e,Tm as o,Tt as r,vf as w};
|