mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.Docs.git
synced 2025-11-19 21:16:31 +08:00
10 lines
239 KiB
JavaScript
10 lines
239 KiB
JavaScript
const pu="modulepreload",hu=function(e){return"/"+e},za={},w=function(t,n,r){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(a=>{if(a=hu(a),a in za)return;za[a]=!0;const l=a.endsWith(".css"),s=l?'[rel="stylesheet"]':"";if(!!r)for(let u=o.length-1;u>=0;u--){const f=o[u];if(f.href===a&&(!l||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${s}`))return;const c=document.createElement("link");if(c.rel=l?"stylesheet":pu,l||(c.as="script",c.crossOrigin=""),c.href=a,document.head.appendChild(c),l)return new Promise((u,f)=>{c.addEventListener("load",u),c.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>t())};function Wo(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o<r.length;o++)n[r[o]]=!0;return t?o=>!!n[o.toLowerCase()]:o=>!!n[o]}const ye={},mn=[],ot=()=>{},mu=()=>!1,vu=/^on[^a-z]/,sr=e=>vu.test(e),qo=e=>e.startsWith("onUpdate:"),Ae=Object.assign,Ko=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},gu=Object.prototype.hasOwnProperty,ie=(e,t)=>gu.call(e,t),q=Array.isArray,vn=e=>ir(e)==="[object Map]",xn=e=>ir(e)==="[object Set]",Na=e=>ir(e)==="[object Date]",te=e=>typeof e=="function",ae=e=>typeof e=="string",Jn=e=>typeof e=="symbol",me=e=>e!==null&&typeof e=="object",Es=e=>me(e)&&te(e.then)&&te(e.catch),Ts=Object.prototype.toString,ir=e=>Ts.call(e),_u=e=>ir(e).slice(8,-1),Os=e=>ir(e)==="[object Object]",Go=e=>ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Un=Wo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),jr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},bu=/-(\w)/g,Ge=jr(e=>e.replace(bu,(t,n)=>n?n.toUpperCase():"")),yu=/\B([A-Z])/g,Cn=jr(e=>e.replace(yu,"-$1").toLowerCase()),cr=jr(e=>e.charAt(0).toUpperCase()+e.slice(1)),ao=jr(e=>e?`on${cr(e)}`:""),Xn=(e,t)=>!Object.is(e,t),xr=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Ir=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Sr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},wu=e=>{const t=ae(e)?Number(e):NaN;return isNaN(t)?e:t};let Va;const Oo=()=>Va||(Va=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Yo(e){if(q(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=ae(r)?Au(r):Yo(r);if(o)for(const a in o)t[a]=o[a]}return t}else{if(ae(e))return e;if(me(e))return e}}const Eu=/;(?![^(]*\))/g,Tu=/:([^]+)/,Ou=/\/\*[^]*?\*\//g;function Au(e){const t={};return e.replace(Ou,"").split(Eu).forEach(n=>{if(n){const r=n.split(Tu);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Qo(e){let t="";if(ae(e))t=e;else if(q(e))for(let n=0;n<e.length;n++){const r=Qo(e[n]);r&&(t+=r+" ")}else if(me(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Pu="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ku=Wo(Pu);function As(e){return!!e||e===""}function Lu(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Zt(e[r],t[r]);return n}function Zt(e,t){if(e===t)return!0;let n=Na(e),r=Na(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Jn(e),r=Jn(t),n||r)return e===t;if(n=q(e),r=q(t),n||r)return n&&r?Lu(e,t):!1;if(n=me(e),r=me(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,a=Object.keys(t).length;if(o!==a)return!1;for(const l in e){const s=e.hasOwnProperty(l),i=t.hasOwnProperty(l);if(s&&!i||!s&&i||!Zt(e[l],t[l]))return!1}}return String(e)===String(t)}function Jo(e,t){return e.findIndex(n=>Zt(n,t))}const N0=e=>ae(e)?e:e==null?"":q(e)||me(e)&&(e.toString===Ts||!te(e.toString))?JSON.stringify(e,Ps,2):String(e),Ps=(e,t)=>t&&t.__v_isRef?Ps(e,t.value):vn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:xn(t)?{[`Set(${t.size})`]:[...t.values()]}:me(t)&&!q(t)&&!Os(t)?String(t):t;let Be;class xu{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Be,!t&&Be&&(this.index=(Be.scopes||(Be.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Be;try{return Be=this,t()}finally{Be=n}}}on(){Be=this}off(){Be=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function Cu(e,t=Be){t&&t.active&&t.effects.push(e)}function ks(){return Be}function Iu(e){Be&&Be.cleanups.push(e)}const Xo=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Ls=e=>(e.w&Ft)>0,xs=e=>(e.n&Ft)>0,Su=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Ft},Ru=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const o=t[r];Ls(o)&&!xs(o)?o.delete(e):t[n++]=o,o.w&=~Ft,o.n&=~Ft}t.length=n}},Rr=new WeakMap;let Hn=0,Ft=1;const Ao=30;let tt;const Qt=Symbol(""),Po=Symbol("");class Zo{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Cu(this,r)}run(){if(!this.active)return this.fn();let t=tt,n=Nt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=tt,tt=this,Nt=!0,Ft=1<<++Hn,Hn<=Ao?Su(this):Fa(this),this.fn()}finally{Hn<=Ao&&Ru(this),Ft=1<<--Hn,tt=this.parent,Nt=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){tt===this?this.deferStop=!0:this.active&&(Fa(this),this.onStop&&this.onStop(),this.active=!1)}}function Fa(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Nt=!0;const Cs=[];function In(){Cs.push(Nt),Nt=!1}function Sn(){const e=Cs.pop();Nt=e===void 0?!0:e}function Ve(e,t,n){if(Nt&&tt){let r=Rr.get(e);r||Rr.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=Xo()),Is(o)}}function Is(e,t){let n=!1;Hn<=Ao?xs(e)||(e.n|=Ft,n=!Ls(e)):n=!e.has(tt),n&&(e.add(tt),tt.deps.push(e))}function At(e,t,n,r,o,a){const l=Rr.get(e);if(!l)return;let s=[];if(t==="clear")s=[...l.values()];else if(n==="length"&&q(e)){const i=Number(r);l.forEach((c,u)=>{(u==="length"||u>=i)&&s.push(c)})}else switch(n!==void 0&&s.push(l.get(n)),t){case"add":q(e)?Go(n)&&s.push(l.get("length")):(s.push(l.get(Qt)),vn(e)&&s.push(l.get(Po)));break;case"delete":q(e)||(s.push(l.get(Qt)),vn(e)&&s.push(l.get(Po)));break;case"set":vn(e)&&s.push(l.get(Qt));break}if(s.length===1)s[0]&&ko(s[0]);else{const i=[];for(const c of s)c&&i.push(...c);ko(Xo(i))}}function ko(e,t){const n=q(e)?e:[...e];for(const r of n)r.computed&&Ba(r);for(const r of n)r.computed||Ba(r)}function Ba(e,t){(e!==tt||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function $u(e,t){var n;return(n=Rr.get(e))==null?void 0:n.get(t)}const Du=Wo("__proto__,__v_isRef,__isVue"),Ss=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Jn)),Mu=ea(),zu=ea(!1,!0),Nu=ea(!0),Ha=Vu();function Vu(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=le(this);for(let a=0,l=this.length;a<l;a++)Ve(r,"get",a+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(le)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){In();const r=le(this)[t].apply(this,n);return Sn(),r}}),e}function Fu(e){const t=le(this);return Ve(t,"has",e),t.hasOwnProperty(e)}function ea(e=!1,t=!1){return function(r,o,a){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&a===(e?t?nd:zs:t?Ms:Ds).get(r))return r;const l=q(r);if(!e){if(l&&ie(Ha,o))return Reflect.get(Ha,o,a);if(o==="hasOwnProperty")return Fu}const s=Reflect.get(r,o,a);return(Jn(o)?Ss.has(o):Du(o))||(e||Ve(r,"get",o),t)?s:Te(s)?l&&Go(o)?s:s.value:me(s)?e?jt(s):Rn(s):s}}const Bu=Rs(),Hu=Rs(!0);function Rs(e=!1){return function(n,r,o,a){let l=n[r];if(wn(l)&&Te(l)&&!Te(o))return!1;if(!e&&(!$r(o)&&!wn(o)&&(l=le(l),o=le(o)),!q(n)&&Te(l)&&!Te(o)))return l.value=o,!0;const s=q(n)&&Go(r)?Number(r)<n.length:ie(n,r),i=Reflect.set(n,r,o,a);return n===le(a)&&(s?Xn(o,l)&&At(n,"set",r,o):At(n,"add",r,o)),i}}function ju(e,t){const n=ie(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&At(e,"delete",t,void 0),r}function Uu(e,t){const n=Reflect.has(e,t);return(!Jn(t)||!Ss.has(t))&&Ve(e,"has",t),n}function Wu(e){return Ve(e,"iterate",q(e)?"length":Qt),Reflect.ownKeys(e)}const $s={get:Mu,set:Bu,deleteProperty:ju,has:Uu,ownKeys:Wu},qu={get:Nu,set(e,t){return!0},deleteProperty(e,t){return!0}},Ku=Ae({},$s,{get:zu,set:Hu}),ta=e=>e,Ur=e=>Reflect.getPrototypeOf(e);function mr(e,t,n=!1,r=!1){e=e.__v_raw;const o=le(e),a=le(t);n||(t!==a&&Ve(o,"get",t),Ve(o,"get",a));const{has:l}=Ur(o),s=r?ta:n?oa:Zn;if(l.call(o,t))return s(e.get(t));if(l.call(o,a))return s(e.get(a));e!==o&&e.get(t)}function vr(e,t=!1){const n=this.__v_raw,r=le(n),o=le(e);return t||(e!==o&&Ve(r,"has",e),Ve(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function gr(e,t=!1){return e=e.__v_raw,!t&&Ve(le(e),"iterate",Qt),Reflect.get(e,"size",e)}function ja(e){e=le(e);const t=le(this);return Ur(t).has.call(t,e)||(t.add(e),At(t,"add",e,e)),this}function Ua(e,t){t=le(t);const n=le(this),{has:r,get:o}=Ur(n);let a=r.call(n,e);a||(e=le(e),a=r.call(n,e));const l=o.call(n,e);return n.set(e,t),a?Xn(t,l)&&At(n,"set",e,t):At(n,"add",e,t),this}function Wa(e){const t=le(this),{has:n,get:r}=Ur(t);let o=n.call(t,e);o||(e=le(e),o=n.call(t,e)),r&&r.call(t,e);const a=t.delete(e);return o&&At(t,"delete",e,void 0),a}function qa(){const e=le(this),t=e.size!==0,n=e.clear();return t&&At(e,"clear",void 0,void 0),n}function _r(e,t){return function(r,o){const a=this,l=a.__v_raw,s=le(l),i=t?ta:e?oa:Zn;return!e&&Ve(s,"iterate",Qt),l.forEach((c,u)=>r.call(o,i(c),i(u),a))}}function br(e,t,n){return function(...r){const o=this.__v_raw,a=le(o),l=vn(a),s=e==="entries"||e===Symbol.iterator&&l,i=e==="keys"&&l,c=o[e](...r),u=n?ta:t?oa:Zn;return!t&&Ve(a,"iterate",i?Po:Qt),{next(){const{value:f,done:p}=c.next();return p?{value:f,done:p}:{value:s?[u(f[0]),u(f[1])]:u(f),done:p}},[Symbol.iterator](){return this}}}}function It(e){return function(...t){return e==="delete"?!1:this}}function Gu(){const e={get(a){return mr(this,a)},get size(){return gr(this)},has:vr,add:ja,set:Ua,delete:Wa,clear:qa,forEach:_r(!1,!1)},t={get(a){return mr(this,a,!1,!0)},get size(){return gr(this)},has:vr,add:ja,set:Ua,delete:Wa,clear:qa,forEach:_r(!1,!0)},n={get(a){return mr(this,a,!0)},get size(){return gr(this,!0)},has(a){return vr.call(this,a,!0)},add:It("add"),set:It("set"),delete:It("delete"),clear:It("clear"),forEach:_r(!0,!1)},r={get(a){return mr(this,a,!0,!0)},get size(){return gr(this,!0)},has(a){return vr.call(this,a,!0)},add:It("add"),set:It("set"),delete:It("delete"),clear:It("clear"),forEach:_r(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=br(a,!1,!1),n[a]=br(a,!0,!1),t[a]=br(a,!1,!0),r[a]=br(a,!0,!0)}),[e,n,t,r]}const[Yu,Qu,Ju,Xu]=Gu();function na(e,t){const n=t?e?Xu:Ju:e?Qu:Yu;return(r,o,a)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(ie(n,o)&&o in r?n:r,o,a)}const Zu={get:na(!1,!1)},ed={get:na(!1,!0)},td={get:na(!0,!1)},Ds=new WeakMap,Ms=new WeakMap,zs=new WeakMap,nd=new WeakMap;function rd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function od(e){return e.__v_skip||!Object.isExtensible(e)?0:rd(_u(e))}function Rn(e){return wn(e)?e:ra(e,!1,$s,Zu,Ds)}function ad(e){return ra(e,!1,Ku,ed,Ms)}function jt(e){return ra(e,!0,qu,td,zs)}function ra(e,t,n,r,o){if(!me(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=o.get(e);if(a)return a;const l=od(e);if(l===0)return e;const s=new Proxy(e,l===2?r:n);return o.set(e,s),s}function gn(e){return wn(e)?gn(e.__v_raw):!!(e&&e.__v_isReactive)}function wn(e){return!!(e&&e.__v_isReadonly)}function $r(e){return!!(e&&e.__v_isShallow)}function Ns(e){return gn(e)||wn(e)}function le(e){const t=e&&e.__v_raw;return t?le(t):e}function Vs(e){return Ir(e,"__v_skip",!0),e}const Zn=e=>me(e)?Rn(e):e,oa=e=>me(e)?jt(e):e;function aa(e){Nt&&tt&&(e=le(e),Is(e.dep||(e.dep=Xo())))}function la(e,t){e=le(e);const n=e.dep;n&&ko(n)}function Te(e){return!!(e&&e.__v_isRef===!0)}function G(e){return Fs(e,!1)}function it(e){return Fs(e,!0)}function Fs(e,t){return Te(e)?e:new ld(e,t)}class ld{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:le(t),this._value=n?t:Zn(t)}get value(){return aa(this),this._value}set value(t){const n=this.__v_isShallow||$r(t)||wn(t);t=n?t:le(t),Xn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Zn(t),la(this))}}function nt(e){return Te(e)?e.value:e}const sd={get:(e,t,n)=>nt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Te(o)&&!Te(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Bs(e){return gn(e)?e:new Proxy(e,sd)}class id{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>aa(this),()=>la(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function cd(e){return new id(e)}class ud{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return $u(le(this._object),this._key)}}class dd{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Wr(e,t,n){return Te(e)?e:te(e)?new dd(e):me(e)&&arguments.length>1?fd(e,t,n):G(e)}function fd(e,t,n){const r=e[t];return Te(r)?r:new ud(e,t,n)}class pd{constructor(t,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Zo(t,()=>{this._dirty||(this._dirty=!0,la(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=le(this);return aa(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function hd(e,t,n=!1){let r,o;const a=te(e);return a?(r=e,o=ot):(r=e.get,o=e.set),new pd(r,o,a||!o,n)}function Vt(e,t,n,r){let o;try{o=r?e(...r):e()}catch(a){ur(a,t,n)}return o}function qe(e,t,n,r){if(te(e)){const a=Vt(e,t,n,r);return a&&Es(a)&&a.catch(l=>{ur(l,t,n)}),a}const o=[];for(let a=0;a<e.length;a++)o.push(qe(e[a],t,n,r));return o}function ur(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let a=t.parent;const l=t.proxy,s=n;for(;a;){const c=a.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,l,s)===!1)return}a=a.parent}const i=t.appContext.config.errorHandler;if(i){Vt(i,null,10,[e,l,s]);return}}md(e,n,o,r)}function md(e,t,n,r=!0){console.error(e)}let er=!1,Lo=!1;const Se=[];let ft=0;const _n=[];let yt=null,qt=0;const Hs=Promise.resolve();let sa=null;function rn(e){const t=sa||Hs;return e?t.then(this?e.bind(this):e):t}function vd(e){let t=ft+1,n=Se.length;for(;t<n;){const r=t+n>>>1;tr(Se[r])<e?t=r+1:n=r}return t}function qr(e){(!Se.length||!Se.includes(e,er&&e.allowRecurse?ft+1:ft))&&(e.id==null?Se.push(e):Se.splice(vd(e.id),0,e),js())}function js(){!er&&!Lo&&(Lo=!0,sa=Hs.then(Us))}function gd(e){const t=Se.indexOf(e);t>ft&&Se.splice(t,1)}function _d(e){q(e)?_n.push(...e):(!yt||!yt.includes(e,e.allowRecurse?qt+1:qt))&&_n.push(e),js()}function Ka(e,t=er?ft+1:0){for(;t<Se.length;t++){const n=Se[t];n&&n.pre&&(Se.splice(t,1),t--,n())}}function Dr(e){if(_n.length){const t=[...new Set(_n)];if(_n.length=0,yt){yt.push(...t);return}for(yt=t,yt.sort((n,r)=>tr(n)-tr(r)),qt=0;qt<yt.length;qt++)yt[qt]();yt=null,qt=0}}const tr=e=>e.id==null?1/0:e.id,bd=(e,t)=>{const n=tr(e)-tr(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Us(e){Lo=!1,er=!0,Se.sort(bd);const t=ot;try{for(ft=0;ft<Se.length;ft++){const n=Se[ft];n&&n.active!==!1&&Vt(n,null,14)}}finally{ft=0,Se.length=0,Dr(),er=!1,sa=null,(Se.length||_n.length)&&Us()}}function yd(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ye;let o=n;const a=t.startsWith("update:"),l=a&&t.slice(7);if(l&&l in r){const u=`${l==="modelValue"?"model":l}Modifiers`,{number:f,trim:p}=r[u]||ye;p&&(o=n.map(m=>ae(m)?m.trim():m)),f&&(o=n.map(Sr))}let s,i=r[s=ao(t)]||r[s=ao(Ge(t))];!i&&a&&(i=r[s=ao(Cn(t))]),i&&qe(i,e,6,o);const c=r[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,qe(c,e,6,o)}}function Ws(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const a=e.emits;let l={},s=!1;if(!te(e)){const i=c=>{const u=Ws(c,t,!0);u&&(s=!0,Ae(l,u))};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}return!a&&!s?(me(e)&&r.set(e,null),null):(q(a)?a.forEach(i=>l[i]=null):Ae(l,a),me(e)&&r.set(e,l),l)}function Kr(e,t){return!e||!sr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ie(e,t[0].toLowerCase()+t.slice(1))||ie(e,Cn(t))||ie(e,t))}let je=null,qs=null;function Mr(e){const t=je;return je=e,qs=e&&e.type.__scopeId||null,t}function wd(e,t=je,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&al(-1);const a=Mr(t);let l;try{l=e(...o)}finally{Mr(a),r._d&&al(1)}return l};return r._n=!0,r._c=!0,r._d=!0,r}function lo(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:a,propsOptions:[l],slots:s,attrs:i,emit:c,render:u,renderCache:f,data:p,setupState:m,ctx:y,inheritAttrs:E}=e;let T,g;const _=Mr(e);try{if(n.shapeFlag&4){const I=o||r;T=et(u.call(I,I,f,a,m,p,y)),g=i}else{const I=t;T=et(I.length>1?I(a,{attrs:i,slots:s,emit:c}):I(a,null)),g=t.props?i:Ed(i)}}catch(I){Gn.length=0,ur(I,e,1),T=Oe(Ke)}let R=T;if(g&&E!==!1){const I=Object.keys(g),{shapeFlag:j}=R;I.length&&j&7&&(l&&I.some(qo)&&(g=Td(g,l)),R=Bt(R,g))}return n.dirs&&(R=Bt(R),R.dirs=R.dirs?R.dirs.concat(n.dirs):n.dirs),n.transition&&(R.transition=n.transition),T=R,Mr(_),T}const Ed=e=>{let t;for(const n in e)(n==="class"||n==="style"||sr(n))&&((t||(t={}))[n]=e[n]);return t},Td=(e,t)=>{const n={};for(const r in e)(!qo(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Od(e,t,n){const{props:r,children:o,component:a}=e,{props:l,children:s,patchFlag:i}=t,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&i>=0){if(i&1024)return!0;if(i&16)return r?Ga(r,l,c):!!l;if(i&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const p=u[f];if(l[p]!==r[p]&&!Kr(c,p))return!0}}}else return(o||s)&&(!s||!s.$stable)?!0:r===l?!1:r?l?Ga(r,l,c):!0:!!l;return!1}function Ga(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const a=r[o];if(t[a]!==e[a]&&!Kr(n,a))return!0}return!1}function Ad({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Pd=e=>e.__isSuspense;function Ks(e,t){t&&t.pendingBranch?q(e)?t.effects.push(...e):t.effects.push(e):_d(e)}function kd(e,t){return ia(e,null,t)}const yr={};function re(e,t,n){return ia(e,t,n)}function ia(e,t,{immediate:n,deep:r,flush:o,onTrack:a,onTrigger:l}=ye){var s;const i=ks()===((s=Le)==null?void 0:s.scope)?Le:null;let c,u=!1,f=!1;if(Te(e)?(c=()=>e.value,u=$r(e)):gn(e)?(c=()=>e,r=!0):q(e)?(f=!0,u=e.some(I=>gn(I)||$r(I)),c=()=>e.map(I=>{if(Te(I))return I.value;if(gn(I))return Yt(I);if(te(I))return Vt(I,i,2)})):te(e)?t?c=()=>Vt(e,i,2):c=()=>{if(!(i&&i.isUnmounted))return p&&p(),qe(e,i,3,[m])}:c=ot,t&&r){const I=c;c=()=>Yt(I())}let p,m=I=>{p=_.onStop=()=>{Vt(I,i,4)}},y;if(On)if(m=ot,t?n&&qe(t,i,3,[c(),f?[]:void 0,m]):c(),o==="sync"){const I=Tf();y=I.__watcherHandles||(I.__watcherHandles=[])}else return ot;let E=f?new Array(e.length).fill(yr):yr;const T=()=>{if(_.active)if(t){const I=_.run();(r||u||(f?I.some((j,S)=>Xn(j,E[S])):Xn(I,E)))&&(p&&p(),qe(t,i,3,[I,E===yr?void 0:f&&E[0]===yr?[]:E,m]),E=I)}else _.run()};T.allowRecurse=!!t;let g;o==="sync"?g=T:o==="post"?g=()=>ze(T,i&&i.suspense):(T.pre=!0,i&&(T.id=i.uid),g=()=>qr(T));const _=new Zo(c,g);t?n?T():E=_.run():o==="post"?ze(_.run.bind(_),i&&i.suspense):_.run();const R=()=>{_.stop(),i&&i.scope&&Ko(i.scope.effects,_)};return y&&y.push(R),R}function Ld(e,t,n){const r=this.proxy,o=ae(e)?e.includes(".")?Gs(r,e):()=>r[e]:e.bind(r,r);let a;te(t)?a=t:(a=t.handler,n=t);const l=Le;Tn(this);const s=ia(o,a.bind(r),n);return l?Tn(l):Xt(),s}function Gs(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function Yt(e,t){if(!me(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Te(e))Yt(e.value,t);else if(q(e))for(let n=0;n<e.length;n++)Yt(e[n],t);else if(xn(e)||vn(e))e.forEach(n=>{Yt(n,t)});else if(Os(e))for(const n in e)Yt(e[n],t);return e}function V0(e,t){const n=je;if(n===null)return e;const r=Qr(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let a=0;a<t.length;a++){let[l,s,i,c=ye]=t[a];l&&(te(l)&&(l={mounted:l,updated:l}),l.deep&&Yt(s),o.push({dir:l,instance:r,value:s,oldValue:void 0,arg:i,modifiers:c}))}return e}function dt(e,t,n,r){const o=e.dirs,a=t&&t.dirs;for(let l=0;l<o.length;l++){const s=o[l];a&&(s.oldValue=a[l].value);let i=s.dir[r];i&&(In(),qe(i,n,8,[e.el,s,e,t]),Sn())}}function Ys(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ve(()=>{e.isMounted=!0}),ua(()=>{e.isUnmounting=!0}),e}const Ue=[Function,Array],Qs={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ue,onEnter:Ue,onAfterEnter:Ue,onEnterCancelled:Ue,onBeforeLeave:Ue,onLeave:Ue,onAfterLeave:Ue,onLeaveCancelled:Ue,onBeforeAppear:Ue,onAppear:Ue,onAfterAppear:Ue,onAppearCancelled:Ue},xd={name:"BaseTransition",props:Qs,setup(e,{slots:t}){const n=on(),r=Ys();let o;return()=>{const a=t.default&&ca(t.default(),!0);if(!a||!a.length)return;let l=a[0];if(a.length>1){for(const E of a)if(E.type!==Ke){l=E;break}}const s=le(e),{mode:i}=s;if(r.isLeaving)return so(l);const c=Ya(l);if(!c)return so(l);const u=nr(c,s,r,n);rr(c,u);const f=n.subTree,p=f&&Ya(f);let m=!1;const{getTransitionKey:y}=c.type;if(y){const E=y();o===void 0?o=E:E!==o&&(o=E,m=!0)}if(p&&p.type!==Ke&&(!Kt(c,p)||m)){const E=nr(p,s,r,n);if(rr(p,E),i==="out-in")return r.isLeaving=!0,E.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},so(l);i==="in-out"&&c.type!==Ke&&(E.delayLeave=(T,g,_)=>{const R=Js(r,p);R[String(p.key)]=p,T._leaveCb=()=>{g(),T._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=_})}return l}}},Cd=xd;function Js(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 nr(e,t,n,r){const{appear:o,mode:a,persisted:l=!1,onBeforeEnter:s,onEnter:i,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:p,onAfterLeave:m,onLeaveCancelled:y,onBeforeAppear:E,onAppear:T,onAfterAppear:g,onAppearCancelled:_}=t,R=String(e.key),I=Js(n,e),j=(P,U)=>{P&&qe(P,r,9,U)},S=(P,U)=>{const X=U[1];j(P,U),q(P)?P.every(oe=>oe.length<=1)&&X():P.length<=1&&X()},z={mode:a,persisted:l,beforeEnter(P){let U=s;if(!n.isMounted)if(o)U=E||s;else return;P._leaveCb&&P._leaveCb(!0);const X=I[R];X&&Kt(e,X)&&X.el._leaveCb&&X.el._leaveCb(),j(U,[P])},enter(P){let U=i,X=c,oe=u;if(!n.isMounted)if(o)U=T||i,X=g||c,oe=_||u;else return;let H=!1;const ee=P._enterCb=K=>{H||(H=!0,K?j(oe,[P]):j(X,[P]),z.delayedLeave&&z.delayedLeave(),P._enterCb=void 0)};U?S(U,[P,ee]):ee()},leave(P,U){const X=String(e.key);if(P._enterCb&&P._enterCb(!0),n.isUnmounting)return U();j(f,[P]);let oe=!1;const H=P._leaveCb=ee=>{oe||(oe=!0,U(),ee?j(y,[P]):j(m,[P]),P._leaveCb=void 0,I[X]===e&&delete I[X])};I[X]=e,p?S(p,[P,H]):H()},clone(P){return nr(P,t,n,r)}};return z}function so(e){if(dr(e))return e=Bt(e),e.children=null,e}function Ya(e){return dr(e)?e.children?e.children[0]:void 0:e}function rr(e,t){e.shapeFlag&6&&e.component?rr(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 ca(e,t=!1,n){let r=[],o=0;for(let a=0;a<e.length;a++){let l=e[a];const s=n==null?l.key:String(n)+String(l.key!=null?l.key:a);l.type===He?(l.patchFlag&128&&o++,r=r.concat(ca(l.children,t,s))):(t||l.type!==Ke)&&r.push(s!=null?Bt(l,{key:s}):l)}if(o>1)for(let a=0;a<r.length;a++)r[a].patchFlag=-2;return r}function B(e,t){return te(e)?(()=>Ae({name:e.name},t,{setup:e}))():e}const Wn=e=>!!e.type.__asyncLoader;function N(e){te(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:a,suspensible:l=!0,onError:s}=e;let i=null,c,u=0;const f=()=>(u++,i=null,p()),p=()=>{let m;return i||(m=i=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),s)return new Promise((E,T)=>{s(y,()=>E(f()),()=>T(y),u+1)});throw y}).then(y=>m!==i&&i?i:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),c=y,y)))};return B({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return c},setup(){const m=Le;if(c)return()=>io(c,m);const y=_=>{i=null,ur(_,m,13,!r)};if(l&&m.suspense||On)return p().then(_=>()=>io(_,m)).catch(_=>(y(_),()=>r?Oe(r,{error:_}):null));const E=G(!1),T=G(),g=G(!!o);return o&&setTimeout(()=>{g.value=!1},o),a!=null&&setTimeout(()=>{if(!E.value&&!T.value){const _=new Error(`Async component timed out after ${a}ms.`);y(_),T.value=_}},a),p().then(()=>{E.value=!0,m.parent&&dr(m.parent.vnode)&&qr(m.parent.update)}).catch(_=>{y(_),T.value=_}),()=>{if(E.value&&c)return io(c,m);if(T.value&&r)return Oe(r,{error:T.value});if(n&&!g.value)return Oe(n)}}})}function io(e,t){const{ref:n,props:r,children:o,ce:a}=t.vnode,l=Oe(e,r,o);return l.ref=n,l.ce=a,delete t.vnode.ce,l}const dr=e=>e.type.__isKeepAlive;function Id(e,t){Xs(e,"a",t)}function Sd(e,t){Xs(e,"da",t)}function Xs(e,t,n=Le){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Gr(t,r,n),n){let o=n.parent;for(;o&&o.parent;)dr(o.parent.vnode)&&Rd(r,t,n,o),o=o.parent}}function Rd(e,t,n,r){const o=Gr(t,e,r,!0);$n(()=>{Ko(r[t],o)},n)}function Gr(e,t,n=Le,r=!1){if(n){const o=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...l)=>{if(n.isUnmounted)return;In(),Tn(n);const s=qe(t,n,e,l);return Xt(),Sn(),s});return r?o.unshift(a):o.push(a),a}}const kt=e=>(t,n=Le)=>(!On||e==="sp")&&Gr(e,(...r)=>t(...r),n),$d=kt("bm"),ve=kt("m"),Dd=kt("bu"),Zs=kt("u"),ua=kt("bum"),$n=kt("um"),Md=kt("sp"),zd=kt("rtg"),Nd=kt("rtc");function Vd(e,t=Le){Gr("ec",e,t)}const ei="components";function at(e,t){return Bd(ei,e,!0,t)||e}const Fd=Symbol.for("v-ndc");function Bd(e,t,n=!0,r=!1){const o=je||Le;if(o){const a=o.type;if(e===ei){const s=yf(a,!1);if(s&&(s===t||s===Ge(t)||s===cr(Ge(t))))return a}const l=Qa(o[e]||a[e],t)||Qa(o.appContext[e],t);return!l&&r?a:l}}function Qa(e,t){return e&&(e[t]||e[Ge(t)]||e[cr(Ge(t))])}function F0(e,t,n,r){let o;const a=n&&n[r];if(q(e)||ae(e)){o=new Array(e.length);for(let l=0,s=e.length;l<s;l++)o[l]=t(e[l],l,void 0,a&&a[l])}else if(typeof e=="number"){o=new Array(e);for(let l=0;l<e;l++)o[l]=t(l+1,l,void 0,a&&a[l])}else if(me(e))if(e[Symbol.iterator])o=Array.from(e,(l,s)=>t(l,s,void 0,a&&a[s]));else{const l=Object.keys(e);o=new Array(l.length);for(let s=0,i=l.length;s<i;s++){const c=l[s];o[s]=t(e[c],c,s,a&&a[s])}}else o=[];return n&&(n[r]=o),o}const xo=e=>e?pi(e)?Qr(e)||e.proxy:xo(e.parent):null,qn=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=>xo(e.parent),$root:e=>xo(e.root),$emit:e=>e.emit,$options:e=>da(e),$forceUpdate:e=>e.f||(e.f=()=>qr(e.update)),$nextTick:e=>e.n||(e.n=rn.bind(e.proxy)),$watch:e=>Ld.bind(e)}),co=(e,t)=>e!==ye&&!e.__isScriptSetup&&ie(e,t),Hd={get({_:e},t){const{ctx:n,setupState:r,data:o,props:a,accessCache:l,type:s,appContext:i}=e;let c;if(t[0]!=="$"){const m=l[t];if(m!==void 0)switch(m){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return a[t]}else{if(co(r,t))return l[t]=1,r[t];if(o!==ye&&ie(o,t))return l[t]=2,o[t];if((c=e.propsOptions[0])&&ie(c,t))return l[t]=3,a[t];if(n!==ye&&ie(n,t))return l[t]=4,n[t];Co&&(l[t]=0)}}const u=qn[t];let f,p;if(u)return t==="$attrs"&&Ve(e,"get",t),u(e);if((f=s.__cssModules)&&(f=f[t]))return f;if(n!==ye&&ie(n,t))return l[t]=4,n[t];if(p=i.config.globalProperties,ie(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:a}=e;return co(o,t)?(o[t]=n,!0):r!==ye&&ie(r,t)?(r[t]=n,!0):ie(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:a}},l){let s;return!!n[l]||e!==ye&&ie(e,l)||co(t,l)||(s=a[0])&&ie(s,l)||ie(r,l)||ie(qn,l)||ie(o.config.globalProperties,l)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ie(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ja(e){return q(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Co=!0;function jd(e){const t=da(e),n=e.proxy,r=e.ctx;Co=!1,t.beforeCreate&&Xa(t.beforeCreate,e,"bc");const{data:o,computed:a,methods:l,watch:s,provide:i,inject:c,created:u,beforeMount:f,mounted:p,beforeUpdate:m,updated:y,activated:E,deactivated:T,beforeDestroy:g,beforeUnmount:_,destroyed:R,unmounted:I,render:j,renderTracked:S,renderTriggered:z,errorCaptured:P,serverPrefetch:U,expose:X,inheritAttrs:oe,components:H,directives:ee,filters:K}=t;if(c&&Ud(c,r,null),l)for(const _e in l){const ue=l[_e];te(ue)&&(r[_e]=ue.bind(n))}if(o){const _e=o.call(n,n);me(_e)&&(e.data=Rn(_e))}if(Co=!0,a)for(const _e in a){const ue=a[_e],mt=te(ue)?ue.bind(n,n):te(ue.get)?ue.get.bind(n,n):ot,Ct=!te(ue)&&te(ue.set)?ue.set.bind(n):ot,ct=A({get:mt,set:Ct});Object.defineProperty(r,_e,{enumerable:!0,configurable:!0,get:()=>ct.value,set:Me=>ct.value=Me})}if(s)for(const _e in s)ti(s[_e],r,n,_e);if(i){const _e=te(i)?i.call(n):i;Reflect.ownKeys(_e).forEach(ue=>{Jt(ue,_e[ue])})}u&&Xa(u,e,"c");function ce(_e,ue){q(ue)?ue.forEach(mt=>_e(mt.bind(n))):ue&&_e(ue.bind(n))}if(ce($d,f),ce(ve,p),ce(Dd,m),ce(Zs,y),ce(Id,E),ce(Sd,T),ce(Vd,P),ce(Nd,S),ce(zd,z),ce(ua,_),ce($n,I),ce(Md,U),q(X))if(X.length){const _e=e.exposed||(e.exposed={});X.forEach(ue=>{Object.defineProperty(_e,ue,{get:()=>n[ue],set:mt=>n[ue]=mt})})}else e.exposed||(e.exposed={});j&&e.render===ot&&(e.render=j),oe!=null&&(e.inheritAttrs=oe),H&&(e.components=H),ee&&(e.directives=ee)}function Ud(e,t,n=ot){q(e)&&(e=Io(e));for(const r in e){const o=e[r];let a;me(o)?"default"in o?a=Ee(o.from||r,o.default,!0):a=Ee(o.from||r):a=Ee(o),Te(a)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>a.value,set:l=>a.value=l}):t[r]=a}}function Xa(e,t,n){qe(q(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function ti(e,t,n,r){const o=r.includes(".")?Gs(n,r):()=>n[r];if(ae(e)){const a=t[e];te(a)&&re(o,a)}else if(te(e))re(o,e.bind(n));else if(me(e))if(q(e))e.forEach(a=>ti(a,t,n,r));else{const a=te(e.handler)?e.handler.bind(n):t[e.handler];te(a)&&re(o,a,e)}}function da(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:a,config:{optionMergeStrategies:l}}=e.appContext,s=a.get(t);let i;return s?i=s:!o.length&&!n&&!r?i=t:(i={},o.length&&o.forEach(c=>zr(i,c,l,!0)),zr(i,t,l)),me(t)&&a.set(t,i),i}function zr(e,t,n,r=!1){const{mixins:o,extends:a}=t;a&&zr(e,a,n,!0),o&&o.forEach(l=>zr(e,l,n,!0));for(const l in t)if(!(r&&l==="expose")){const s=Wd[l]||n&&n[l];e[l]=s?s(e[l],t[l]):t[l]}return e}const Wd={data:Za,props:el,emits:el,methods:jn,computed:jn,beforeCreate:$e,created:$e,beforeMount:$e,mounted:$e,beforeUpdate:$e,updated:$e,beforeDestroy:$e,beforeUnmount:$e,destroyed:$e,unmounted:$e,activated:$e,deactivated:$e,errorCaptured:$e,serverPrefetch:$e,components:jn,directives:jn,watch:Kd,provide:Za,inject:qd};function Za(e,t){return t?e?function(){return Ae(te(e)?e.call(this,this):e,te(t)?t.call(this,this):t)}:t:e}function qd(e,t){return jn(Io(e),Io(t))}function Io(e){if(q(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function $e(e,t){return e?[...new Set([].concat(e,t))]:t}function jn(e,t){return e?Ae(Object.create(null),e,t):t}function el(e,t){return e?q(e)&&q(t)?[...new Set([...e,...t])]:Ae(Object.create(null),Ja(e),Ja(t??{})):t}function Kd(e,t){if(!e)return t;if(!t)return e;const n=Ae(Object.create(null),e);for(const r in t)n[r]=$e(e[r],t[r]);return n}function ni(){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 Gd=0;function Yd(e,t){return function(r,o=null){te(r)||(r=Ae({},r)),o!=null&&!me(o)&&(o=null);const a=ni(),l=new Set;let s=!1;const i=a.app={_uid:Gd++,_component:r,_props:o,_container:null,_context:a,_instance:null,version:Of,get config(){return a.config},set config(c){},use(c,...u){return l.has(c)||(c&&te(c.install)?(l.add(c),c.install(i,...u)):te(c)&&(l.add(c),c(i,...u))),i},mixin(c){return a.mixins.includes(c)||a.mixins.push(c),i},component(c,u){return u?(a.components[c]=u,i):a.components[c]},directive(c,u){return u?(a.directives[c]=u,i):a.directives[c]},mount(c,u,f){if(!s){const p=Oe(r,o);return p.appContext=a,u&&t?t(p,c):e(p,c,f),s=!0,i._container=c,c.__vue_app__=i,Qr(p.component)||p.component.proxy}},unmount(){s&&(e(null,i._container),delete i._container.__vue_app__)},provide(c,u){return a.provides[c]=u,i},runWithContext(c){Nr=i;try{return c()}finally{Nr=null}}};return i}}let Nr=null;function Jt(e,t){if(Le){let n=Le.provides;const r=Le.parent&&Le.parent.provides;r===n&&(n=Le.provides=Object.create(r)),n[e]=t}}function Ee(e,t,n=!1){const r=Le||je;if(r||Nr){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Nr._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&te(t)?t.call(r&&r.proxy):t}}function Qd(e,t,n,r=!1){const o={},a={};Ir(a,Yr,1),e.propsDefaults=Object.create(null),ri(e,t,o,a);for(const l in e.propsOptions[0])l in o||(o[l]=void 0);n?e.props=r?o:ad(o):e.type.props?e.props=o:e.props=a,e.attrs=a}function Jd(e,t,n,r){const{props:o,attrs:a,vnode:{patchFlag:l}}=e,s=le(o),[i]=e.propsOptions;let c=!1;if((r||l>0)&&!(l&16)){if(l&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let p=u[f];if(Kr(e.emitsOptions,p))continue;const m=t[p];if(i)if(ie(a,p))m!==a[p]&&(a[p]=m,c=!0);else{const y=Ge(p);o[y]=So(i,s,y,m,e,!1)}else m!==a[p]&&(a[p]=m,c=!0)}}}else{ri(e,t,o,a)&&(c=!0);let u;for(const f in s)(!t||!ie(t,f)&&((u=Cn(f))===f||!ie(t,u)))&&(i?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=So(i,s,f,void 0,e,!0)):delete o[f]);if(a!==s)for(const f in a)(!t||!ie(t,f))&&(delete a[f],c=!0)}c&&At(e,"set","$attrs")}function ri(e,t,n,r){const[o,a]=e.propsOptions;let l=!1,s;if(t)for(let i in t){if(Un(i))continue;const c=t[i];let u;o&&ie(o,u=Ge(i))?!a||!a.includes(u)?n[u]=c:(s||(s={}))[u]=c:Kr(e.emitsOptions,i)||(!(i in r)||c!==r[i])&&(r[i]=c,l=!0)}if(a){const i=le(n),c=s||ye;for(let u=0;u<a.length;u++){const f=a[u];n[f]=So(o,i,f,c[f],e,!ie(c,f))}}return l}function So(e,t,n,r,o,a){const l=e[n];if(l!=null){const s=ie(l,"default");if(s&&r===void 0){const i=l.default;if(l.type!==Function&&!l.skipFactory&&te(i)){const{propsDefaults:c}=o;n in c?r=c[n]:(Tn(o),r=c[n]=i.call(null,t),Xt())}else r=i}l[0]&&(a&&!s?r=!1:l[1]&&(r===""||r===Cn(n))&&(r=!0))}return r}function oi(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const a=e.props,l={},s=[];let i=!1;if(!te(e)){const u=f=>{i=!0;const[p,m]=oi(f,t,!0);Ae(l,p),m&&s.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!a&&!i)return me(e)&&r.set(e,mn),mn;if(q(a))for(let u=0;u<a.length;u++){const f=Ge(a[u]);tl(f)&&(l[f]=ye)}else if(a)for(const u in a){const f=Ge(u);if(tl(f)){const p=a[u],m=l[f]=q(p)||te(p)?{type:p}:Ae({},p);if(m){const y=ol(Boolean,m.type),E=ol(String,m.type);m[0]=y>-1,m[1]=E<0||y<E,(y>-1||ie(m,"default"))&&s.push(f)}}}const c=[l,s];return me(e)&&r.set(e,c),c}function tl(e){return e[0]!=="$"}function nl(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function rl(e,t){return nl(e)===nl(t)}function ol(e,t){return q(t)?t.findIndex(n=>rl(n,e)):te(t)&&rl(t,e)?0:-1}const ai=e=>e[0]==="_"||e==="$stable",fa=e=>q(e)?e.map(et):[et(e)],Xd=(e,t,n)=>{if(t._n)return t;const r=wd((...o)=>fa(t(...o)),n);return r._c=!1,r},li=(e,t,n)=>{const r=e._ctx;for(const o in e){if(ai(o))continue;const a=e[o];if(te(a))t[o]=Xd(o,a,r);else if(a!=null){const l=fa(a);t[o]=()=>l}}},si=(e,t)=>{const n=fa(t);e.slots.default=()=>n},Zd=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=le(t),Ir(t,"_",n)):li(t,e.slots={})}else e.slots={},t&&si(e,t);Ir(e.slots,Yr,1)},ef=(e,t,n)=>{const{vnode:r,slots:o}=e;let a=!0,l=ye;if(r.shapeFlag&32){const s=t._;s?n&&s===1?a=!1:(Ae(o,t),!n&&s===1&&delete o._):(a=!t.$stable,li(t,o)),l=t}else t&&(si(e,t),l={default:1});if(a)for(const s in o)!ai(s)&&!(s in l)&&delete o[s]};function Vr(e,t,n,r,o=!1){if(q(e)){e.forEach((p,m)=>Vr(p,t&&(q(t)?t[m]:t),n,r,o));return}if(Wn(r)&&!o)return;const a=r.shapeFlag&4?Qr(r.component)||r.component.proxy:r.el,l=o?null:a,{i:s,r:i}=e,c=t&&t.r,u=s.refs===ye?s.refs={}:s.refs,f=s.setupState;if(c!=null&&c!==i&&(ae(c)?(u[c]=null,ie(f,c)&&(f[c]=null)):Te(c)&&(c.value=null)),te(i))Vt(i,s,12,[l,u]);else{const p=ae(i),m=Te(i);if(p||m){const y=()=>{if(e.f){const E=p?ie(f,i)?f[i]:u[i]:i.value;o?q(E)&&Ko(E,a):q(E)?E.includes(a)||E.push(a):p?(u[i]=[a],ie(f,i)&&(f[i]=u[i])):(i.value=[a],e.k&&(u[e.k]=i.value))}else p?(u[i]=l,ie(f,i)&&(f[i]=l)):m&&(i.value=l,e.k&&(u[e.k]=l))};l?(y.id=-1,ze(y,n)):y()}}}let St=!1;const wr=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Er=e=>e.nodeType===8;function tf(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:a,parentNode:l,remove:s,insert:i,createComment:c}}=e,u=(g,_)=>{if(!_.hasChildNodes()){n(null,g,_),Dr(),_._vnode=g;return}St=!1,f(_.firstChild,g,null,null,null),Dr(),_._vnode=g,St&&console.error("Hydration completed but contains mismatches.")},f=(g,_,R,I,j,S=!1)=>{const z=Er(g)&&g.data==="[",P=()=>E(g,_,R,I,j,z),{type:U,ref:X,shapeFlag:oe,patchFlag:H}=_;let ee=g.nodeType;_.el=g,H===-2&&(S=!1,_.dynamicChildren=null);let K=null;switch(U){case En:ee!==3?_.children===""?(i(_.el=o(""),l(g),g),K=g):K=P():(g.data!==_.children&&(St=!0,g.data=_.children),K=a(g));break;case Ke:ee!==8||z?K=P():K=a(g);break;case Kn:if(z&&(g=a(g),ee=g.nodeType),ee===1||ee===3){K=g;const Ce=!_.children.length;for(let ce=0;ce<_.staticCount;ce++)Ce&&(_.children+=K.nodeType===1?K.outerHTML:K.data),ce===_.staticCount-1&&(_.anchor=K),K=a(K);return z?a(K):K}else P();break;case He:z?K=y(g,_,R,I,j,S):K=P();break;default:if(oe&1)ee!==1||_.type.toLowerCase()!==g.tagName.toLowerCase()?K=P():K=p(g,_,R,I,j,S);else if(oe&6){_.slotScopeIds=j;const Ce=l(g);if(t(_,Ce,null,R,I,wr(Ce),S),K=z?T(g):a(g),K&&Er(K)&&K.data==="teleport end"&&(K=a(K)),Wn(_)){let ce;z?(ce=Oe(He),ce.anchor=K?K.previousSibling:Ce.lastChild):ce=g.nodeType===3?fi(""):Oe("div"),ce.el=g,_.component.subTree=ce}}else oe&64?ee!==8?K=P():K=_.type.hydrate(g,_,R,I,j,S,e,m):oe&128&&(K=_.type.hydrate(g,_,R,I,wr(l(g)),j,S,e,f))}return X!=null&&Vr(X,null,I,_),K},p=(g,_,R,I,j,S)=>{S=S||!!_.dynamicChildren;const{type:z,props:P,patchFlag:U,shapeFlag:X,dirs:oe}=_,H=z==="input"&&oe||z==="option";if(H||U!==-1){if(oe&&dt(_,null,R,"created"),P)if(H||!S||U&48)for(const K in P)(H&&K.endsWith("value")||sr(K)&&!Un(K))&&r(g,K,null,P[K],!1,void 0,R);else P.onClick&&r(g,"onClick",null,P.onClick,!1,void 0,R);let ee;if((ee=P&&P.onVnodeBeforeMount)&&We(ee,R,_),oe&&dt(_,null,R,"beforeMount"),((ee=P&&P.onVnodeMounted)||oe)&&Ks(()=>{ee&&We(ee,R,_),oe&&dt(_,null,R,"mounted")},I),X&16&&!(P&&(P.innerHTML||P.textContent))){let K=m(g.firstChild,_,g,R,I,j,S);for(;K;){St=!0;const Ce=K;K=K.nextSibling,s(Ce)}}else X&8&&g.textContent!==_.children&&(St=!0,g.textContent=_.children)}return g.nextSibling},m=(g,_,R,I,j,S,z)=>{z=z||!!_.dynamicChildren;const P=_.children,U=P.length;for(let X=0;X<U;X++){const oe=z?P[X]:P[X]=et(P[X]);if(g)g=f(g,oe,I,j,S,z);else{if(oe.type===En&&!oe.children)continue;St=!0,n(null,oe,R,null,I,j,wr(R),S)}}return g},y=(g,_,R,I,j,S)=>{const{slotScopeIds:z}=_;z&&(j=j?j.concat(z):z);const P=l(g),U=m(a(g),_,P,R,I,j,S);return U&&Er(U)&&U.data==="]"?a(_.anchor=U):(St=!0,i(_.anchor=c("]"),P,U),U)},E=(g,_,R,I,j,S)=>{if(St=!0,_.el=null,S){const U=T(g);for(;;){const X=a(g);if(X&&X!==U)s(X);else break}}const z=a(g),P=l(g);return s(g),n(null,_,P,z,R,I,wr(P),j),z},T=g=>{let _=0;for(;g;)if(g=a(g),g&&Er(g)&&(g.data==="["&&_++,g.data==="]")){if(_===0)return a(g);_--}return g};return[u,f]}const ze=Ks;function nf(e){return rf(e,tf)}function rf(e,t){const n=Oo();n.__VUE__=!0;const{insert:r,remove:o,patchProp:a,createElement:l,createText:s,createComment:i,setText:c,setElementText:u,parentNode:f,nextSibling:p,setScopeId:m=ot,insertStaticContent:y}=e,E=(h,v,b,O=null,L=null,x=null,V=!1,$=null,D=!!v.dynamicChildren)=>{if(h===v)return;h&&!Kt(h,v)&&(O=k(h),Me(h,L,x,!0),h=null),v.patchFlag===-2&&(D=!1,v.dynamicChildren=null);const{type:C,ref:Q,shapeFlag:W}=v;switch(C){case En:T(h,v,b,O);break;case Ke:g(h,v,b,O);break;case Kn:h==null&&_(v,b,O,V);break;case He:H(h,v,b,O,L,x,V,$,D);break;default:W&1?j(h,v,b,O,L,x,V,$,D):W&6?ee(h,v,b,O,L,x,V,$,D):(W&64||W&128)&&C.process(h,v,b,O,L,x,V,$,D,M)}Q!=null&&L&&Vr(Q,h&&h.ref,x,v||h,!v)},T=(h,v,b,O)=>{if(h==null)r(v.el=s(v.children),b,O);else{const L=v.el=h.el;v.children!==h.children&&c(L,v.children)}},g=(h,v,b,O)=>{h==null?r(v.el=i(v.children||""),b,O):v.el=h.el},_=(h,v,b,O)=>{[h.el,h.anchor]=y(h.children,v,b,O,h.el,h.anchor)},R=({el:h,anchor:v},b,O)=>{let L;for(;h&&h!==v;)L=p(h),r(h,b,O),h=L;r(v,b,O)},I=({el:h,anchor:v})=>{let b;for(;h&&h!==v;)b=p(h),o(h),h=b;o(v)},j=(h,v,b,O,L,x,V,$,D)=>{V=V||v.type==="svg",h==null?S(v,b,O,L,x,V,$,D):U(h,v,L,x,V,$,D)},S=(h,v,b,O,L,x,V,$)=>{let D,C;const{type:Q,props:W,shapeFlag:J,transition:Z,dirs:ne}=h;if(D=h.el=l(h.type,x,W&&W.is,W),J&8?u(D,h.children):J&16&&P(h.children,D,null,O,L,x&&Q!=="foreignObject",V,$),ne&&dt(h,null,O,"created"),z(D,h,h.scopeId,V,O),W){for(const he in W)he!=="value"&&!Un(he)&&a(D,he,null,W[he],x,h.children,O,L,Ie);"value"in W&&a(D,"value",null,W.value),(C=W.onVnodeBeforeMount)&&We(C,O,h)}ne&&dt(h,null,O,"beforeMount");const be=(!L||L&&!L.pendingBranch)&&Z&&!Z.persisted;be&&Z.beforeEnter(D),r(D,v,b),((C=W&&W.onVnodeMounted)||be||ne)&&ze(()=>{C&&We(C,O,h),be&&Z.enter(D),ne&&dt(h,null,O,"mounted")},L)},z=(h,v,b,O,L)=>{if(b&&m(h,b),O)for(let x=0;x<O.length;x++)m(h,O[x]);if(L){let x=L.subTree;if(v===x){const V=L.vnode;z(h,V,V.scopeId,V.slotScopeIds,L.parent)}}},P=(h,v,b,O,L,x,V,$,D=0)=>{for(let C=D;C<h.length;C++){const Q=h[C]=$?Dt(h[C]):et(h[C]);E(null,Q,v,b,O,L,x,V,$)}},U=(h,v,b,O,L,x,V)=>{const $=v.el=h.el;let{patchFlag:D,dynamicChildren:C,dirs:Q}=v;D|=h.patchFlag&16;const W=h.props||ye,J=v.props||ye;let Z;b&&Ut(b,!1),(Z=J.onVnodeBeforeUpdate)&&We(Z,b,v,h),Q&&dt(v,h,b,"beforeUpdate"),b&&Ut(b,!0);const ne=L&&v.type!=="foreignObject";if(C?X(h.dynamicChildren,C,$,b,O,ne,x):V||ue(h,v,$,null,b,O,ne,x,!1),D>0){if(D&16)oe($,v,W,J,b,O,L);else if(D&2&&W.class!==J.class&&a($,"class",null,J.class,L),D&4&&a($,"style",W.style,J.style,L),D&8){const be=v.dynamicProps;for(let he=0;he<be.length;he++){const ke=be[he],Ze=W[ke],cn=J[ke];(cn!==Ze||ke==="value")&&a($,ke,Ze,cn,L,h.children,b,O,Ie)}}D&1&&h.children!==v.children&&u($,v.children)}else!V&&C==null&&oe($,v,W,J,b,O,L);((Z=J.onVnodeUpdated)||Q)&&ze(()=>{Z&&We(Z,b,v,h),Q&&dt(v,h,b,"updated")},O)},X=(h,v,b,O,L,x,V)=>{for(let $=0;$<v.length;$++){const D=h[$],C=v[$],Q=D.el&&(D.type===He||!Kt(D,C)||D.shapeFlag&70)?f(D.el):b;E(D,C,Q,null,O,L,x,V,!0)}},oe=(h,v,b,O,L,x,V)=>{if(b!==O){if(b!==ye)for(const $ in b)!Un($)&&!($ in O)&&a(h,$,b[$],null,V,v.children,L,x,Ie);for(const $ in O){if(Un($))continue;const D=O[$],C=b[$];D!==C&&$!=="value"&&a(h,$,C,D,V,v.children,L,x,Ie)}"value"in O&&a(h,"value",b.value,O.value)}},H=(h,v,b,O,L,x,V,$,D)=>{const C=v.el=h?h.el:s(""),Q=v.anchor=h?h.anchor:s("");let{patchFlag:W,dynamicChildren:J,slotScopeIds:Z}=v;Z&&($=$?$.concat(Z):Z),h==null?(r(C,b,O),r(Q,b,O),P(v.children,b,Q,L,x,V,$,D)):W>0&&W&64&&J&&h.dynamicChildren?(X(h.dynamicChildren,J,b,L,x,V,$),(v.key!=null||L&&v===L.subTree)&&ii(h,v,!0)):ue(h,v,b,Q,L,x,V,$,D)},ee=(h,v,b,O,L,x,V,$,D)=>{v.slotScopeIds=$,h==null?v.shapeFlag&512?L.ctx.activate(v,b,O,V,D):K(v,b,O,L,x,V,D):Ce(h,v,D)},K=(h,v,b,O,L,x,V)=>{const $=h.component=mf(h,O,L);if(dr(h)&&($.ctx.renderer=M),vf($),$.asyncDep){if(L&&L.registerDep($,ce),!h.el){const D=$.subTree=Oe(Ke);g(null,D,v,b)}return}ce($,h,v,b,L,x,V)},Ce=(h,v,b)=>{const O=v.component=h.component;if(Od(h,v,b))if(O.asyncDep&&!O.asyncResolved){_e(O,v,b);return}else O.next=v,gd(O.update),O.update();else v.el=h.el,O.vnode=v},ce=(h,v,b,O,L,x,V)=>{const $=()=>{if(h.isMounted){let{next:Q,bu:W,u:J,parent:Z,vnode:ne}=h,be=Q,he;Ut(h,!1),Q?(Q.el=ne.el,_e(h,Q,V)):Q=ne,W&&xr(W),(he=Q.props&&Q.props.onVnodeBeforeUpdate)&&We(he,Z,Q,ne),Ut(h,!0);const ke=lo(h),Ze=h.subTree;h.subTree=ke,E(Ze,ke,f(Ze.el),k(Ze),h,L,x),Q.el=ke.el,be===null&&Ad(h,ke.el),J&&ze(J,L),(he=Q.props&&Q.props.onVnodeUpdated)&&ze(()=>We(he,Z,Q,ne),L)}else{let Q;const{el:W,props:J}=v,{bm:Z,m:ne,parent:be}=h,he=Wn(v);if(Ut(h,!1),Z&&xr(Z),!he&&(Q=J&&J.onVnodeBeforeMount)&&We(Q,be,v),Ut(h,!0),W&&de){const ke=()=>{h.subTree=lo(h),de(W,h.subTree,h,L,null)};he?v.type.__asyncLoader().then(()=>!h.isUnmounted&&ke()):ke()}else{const ke=h.subTree=lo(h);E(null,ke,b,O,h,L,x),v.el=ke.el}if(ne&&ze(ne,L),!he&&(Q=J&&J.onVnodeMounted)){const ke=v;ze(()=>We(Q,be,ke),L)}(v.shapeFlag&256||be&&Wn(be.vnode)&&be.vnode.shapeFlag&256)&&h.a&&ze(h.a,L),h.isMounted=!0,v=b=O=null}},D=h.effect=new Zo($,()=>qr(C),h.scope),C=h.update=()=>D.run();C.id=h.uid,Ut(h,!0),C()},_e=(h,v,b)=>{v.component=h;const O=h.vnode.props;h.vnode=v,h.next=null,Jd(h,v.props,O,b),ef(h,v.children,b),In(),Ka(),Sn()},ue=(h,v,b,O,L,x,V,$,D=!1)=>{const C=h&&h.children,Q=h?h.shapeFlag:0,W=v.children,{patchFlag:J,shapeFlag:Z}=v;if(J>0){if(J&128){Ct(C,W,b,O,L,x,V,$,D);return}else if(J&256){mt(C,W,b,O,L,x,V,$,D);return}}Z&8?(Q&16&&Ie(C,L,x),W!==C&&u(b,W)):Q&16?Z&16?Ct(C,W,b,O,L,x,V,$,D):Ie(C,L,x,!0):(Q&8&&u(b,""),Z&16&&P(W,b,O,L,x,V,$,D))},mt=(h,v,b,O,L,x,V,$,D)=>{h=h||mn,v=v||mn;const C=h.length,Q=v.length,W=Math.min(C,Q);let J;for(J=0;J<W;J++){const Z=v[J]=D?Dt(v[J]):et(v[J]);E(h[J],Z,b,null,L,x,V,$,D)}C>Q?Ie(h,L,x,!0,!1,W):P(v,b,O,L,x,V,$,D,W)},Ct=(h,v,b,O,L,x,V,$,D)=>{let C=0;const Q=v.length;let W=h.length-1,J=Q-1;for(;C<=W&&C<=J;){const Z=h[C],ne=v[C]=D?Dt(v[C]):et(v[C]);if(Kt(Z,ne))E(Z,ne,b,null,L,x,V,$,D);else break;C++}for(;C<=W&&C<=J;){const Z=h[W],ne=v[J]=D?Dt(v[J]):et(v[J]);if(Kt(Z,ne))E(Z,ne,b,null,L,x,V,$,D);else break;W--,J--}if(C>W){if(C<=J){const Z=J+1,ne=Z<Q?v[Z].el:O;for(;C<=J;)E(null,v[C]=D?Dt(v[C]):et(v[C]),b,ne,L,x,V,$,D),C++}}else if(C>J)for(;C<=W;)Me(h[C],L,x,!0),C++;else{const Z=C,ne=C,be=new Map;for(C=ne;C<=J;C++){const Fe=v[C]=D?Dt(v[C]):et(v[C]);Fe.key!=null&&be.set(Fe.key,C)}let he,ke=0;const Ze=J-ne+1;let cn=!1,$a=0;const Nn=new Array(Ze);for(C=0;C<Ze;C++)Nn[C]=0;for(C=Z;C<=W;C++){const Fe=h[C];if(ke>=Ze){Me(Fe,L,x,!0);continue}let ut;if(Fe.key!=null)ut=be.get(Fe.key);else for(he=ne;he<=J;he++)if(Nn[he-ne]===0&&Kt(Fe,v[he])){ut=he;break}ut===void 0?Me(Fe,L,x,!0):(Nn[ut-ne]=C+1,ut>=$a?$a=ut:cn=!0,E(Fe,v[ut],b,null,L,x,V,$,D),ke++)}const Da=cn?of(Nn):mn;for(he=Da.length-1,C=Ze-1;C>=0;C--){const Fe=ne+C,ut=v[Fe],Ma=Fe+1<Q?v[Fe+1].el:O;Nn[C]===0?E(null,ut,b,Ma,L,x,V,$,D):cn&&(he<0||C!==Da[he]?ct(ut,b,Ma,2):he--)}}},ct=(h,v,b,O,L=null)=>{const{el:x,type:V,transition:$,children:D,shapeFlag:C}=h;if(C&6){ct(h.component.subTree,v,b,O);return}if(C&128){h.suspense.move(v,b,O);return}if(C&64){V.move(h,v,b,M);return}if(V===He){r(x,v,b);for(let W=0;W<D.length;W++)ct(D[W],v,b,O);r(h.anchor,v,b);return}if(V===Kn){R(h,v,b);return}if(O!==2&&C&1&&$)if(O===0)$.beforeEnter(x),r(x,v,b),ze(()=>$.enter(x),L);else{const{leave:W,delayLeave:J,afterLeave:Z}=$,ne=()=>r(x,v,b),be=()=>{W(x,()=>{ne(),Z&&Z()})};J?J(x,ne,be):be()}else r(x,v,b)},Me=(h,v,b,O=!1,L=!1)=>{const{type:x,props:V,ref:$,children:D,dynamicChildren:C,shapeFlag:Q,patchFlag:W,dirs:J}=h;if($!=null&&Vr($,null,b,h,!0),Q&256){v.ctx.deactivate(h);return}const Z=Q&1&&J,ne=!Wn(h);let be;if(ne&&(be=V&&V.onVnodeBeforeUnmount)&&We(be,v,h),Q&6)hr(h.component,b,O);else{if(Q&128){h.suspense.unmount(b,O);return}Z&&dt(h,null,v,"beforeUnmount"),Q&64?h.type.remove(h,v,b,L,M,O):C&&(x!==He||W>0&&W&64)?Ie(C,v,b,!1,!0):(x===He&&W&384||!L&&Q&16)&&Ie(D,v,b),O&&ln(h)}(ne&&(be=V&&V.onVnodeUnmounted)||Z)&&ze(()=>{be&&We(be,v,h),Z&&dt(h,null,v,"unmounted")},b)},ln=h=>{const{type:v,el:b,anchor:O,transition:L}=h;if(v===He){sn(b,O);return}if(v===Kn){I(h);return}const x=()=>{o(b),L&&!L.persisted&&L.afterLeave&&L.afterLeave()};if(h.shapeFlag&1&&L&&!L.persisted){const{leave:V,delayLeave:$}=L,D=()=>V(b,x);$?$(h.el,x,D):D()}else x()},sn=(h,v)=>{let b;for(;h!==v;)b=p(h),o(h),h=b;o(v)},hr=(h,v,b)=>{const{bum:O,scope:L,update:x,subTree:V,um:$}=h;O&&xr(O),L.stop(),x&&(x.active=!1,Me(V,h,v,b)),$&&ze($,v),ze(()=>{h.isUnmounted=!0},v),v&&v.pendingBranch&&!v.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===v.pendingId&&(v.deps--,v.deps===0&&v.resolve())},Ie=(h,v,b,O=!1,L=!1,x=0)=>{for(let V=x;V<h.length;V++)Me(h[V],v,b,O,L)},k=h=>h.shapeFlag&6?k(h.component.subTree):h.shapeFlag&128?h.suspense.next():p(h.anchor||h.el),F=(h,v,b)=>{h==null?v._vnode&&Me(v._vnode,null,null,!0):E(v._vnode||null,h,v,null,null,null,b),Ka(),Dr(),v._vnode=h},M={p:E,um:Me,m:ct,r:ln,mt:K,mc:P,pc:ue,pbc:X,n:k,o:e};let Y,de;return t&&([Y,de]=t(M)),{render:F,hydrate:Y,createApp:Yd(F,Y)}}function Ut({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ii(e,t,n=!1){const r=e.children,o=t.children;if(q(r)&&q(o))for(let a=0;a<r.length;a++){const l=r[a];let s=o[a];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=o[a]=Dt(o[a]),s.el=l.el),n||ii(l,s)),s.type===En&&(s.el=l.el)}}function of(e){const t=e.slice(),n=[0];let r,o,a,l,s;const i=e.length;for(r=0;r<i;r++){const c=e[r];if(c!==0){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(a=0,l=n.length-1;a<l;)s=a+l>>1,e[n[s]]<c?a=s+1:l=s;c<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,l=n[a-1];a-- >0;)n[a]=l,l=t[l];return n}const af=e=>e.__isTeleport,He=Symbol.for("v-fgt"),En=Symbol.for("v-txt"),Ke=Symbol.for("v-cmt"),Kn=Symbol.for("v-stc"),Gn=[];let rt=null;function lf(e=!1){Gn.push(rt=e?null:[])}function sf(){Gn.pop(),rt=Gn[Gn.length-1]||null}let or=1;function al(e){or+=e}function ci(e){return e.dynamicChildren=or>0?rt||mn:null,sf(),or>0&&rt&&rt.push(e),e}function B0(e,t,n,r,o,a){return ci(di(e,t,n,r,o,a,!0))}function cf(e,t,n,r,o){return ci(Oe(e,t,n,r,o,!0))}function Ro(e){return e?e.__v_isVNode===!0:!1}function Kt(e,t){return e.type===t.type&&e.key===t.key}const Yr="__vInternal",ui=({key:e})=>e??null,Cr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ae(e)||Te(e)||te(e)?{i:je,r:e,k:t,f:!!n}:e:null);function di(e,t=null,n=null,r=0,o=null,a=e===He?0:1,l=!1,s=!1){const i={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ui(t),ref:t&&Cr(t),scopeId:qs,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:je};return s?(pa(i,n),a&128&&e.normalize(i)):n&&(i.shapeFlag|=ae(n)?8:16),or>0&&!l&&rt&&(i.patchFlag>0||a&6)&&i.patchFlag!==32&&rt.push(i),i}const Oe=uf;function uf(e,t=null,n=null,r=0,o=null,a=!1){if((!e||e===Fd)&&(e=Ke),Ro(e)){const s=Bt(e,t,!0);return n&&pa(s,n),or>0&&!a&&rt&&(s.shapeFlag&6?rt[rt.indexOf(e)]=s:rt.push(s)),s.patchFlag|=-2,s}if(wf(e)&&(e=e.__vccOpts),t){t=df(t);let{class:s,style:i}=t;s&&!ae(s)&&(t.class=Qo(s)),me(i)&&(Ns(i)&&!q(i)&&(i=Ae({},i)),t.style=Yo(i))}const l=ae(e)?1:Pd(e)?128:af(e)?64:me(e)?4:te(e)?2:0;return di(e,t,n,r,o,l,a,!0)}function df(e){return e?Ns(e)||Yr in e?Ae({},e):e:null}function Bt(e,t,n=!1){const{props:r,ref:o,patchFlag:a,children:l}=e,s=t?ff(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&ui(s),ref:t&&t.ref?n&&o?q(o)?o.concat(Cr(t)):[o,Cr(t)]:Cr(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==He?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Bt(e.ssContent),ssFallback:e.ssFallback&&Bt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function fi(e=" ",t=0){return Oe(En,null,e,t)}function H0(e,t){const n=Oe(Kn,null,e);return n.staticCount=t,n}function j0(e="",t=!1){return t?(lf(),cf(Ke,null,e)):Oe(Ke,null,e)}function et(e){return e==null||typeof e=="boolean"?Oe(Ke):q(e)?Oe(He,null,e.slice()):typeof e=="object"?Dt(e):Oe(En,null,String(e))}function Dt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Bt(e)}function pa(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(q(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),pa(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Yr in t)?t._ctx=je:o===3&&je&&(je.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else te(t)?(t={default:t,_ctx:je},n=32):(t=String(t),r&64?(n=16,t=[fi(t)]):n=8);e.children=t,e.shapeFlag|=n}function ff(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Qo([t.class,r.class]));else if(o==="style")t.style=Yo([t.style,r.style]);else if(sr(o)){const a=t[o],l=r[o];l&&a!==l&&!(q(a)&&a.includes(l))&&(t[o]=a?[].concat(a,l):l)}else o!==""&&(t[o]=r[o])}return t}function We(e,t,n,r=null){qe(e,t,7,[n,r])}const pf=ni();let hf=0;function mf(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||pf,a={uid:hf++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new xu(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:oi(r,o),emitsOptions:Ws(r,o),emit:null,emitted:null,propsDefaults:ye,inheritAttrs:r.inheritAttrs,ctx:ye,data:ye,props:ye,attrs:ye,slots:ye,refs:ye,setupState:ye,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=yd.bind(null,a),e.ce&&e.ce(a),a}let Le=null;const on=()=>Le||je;let ha,un,ll="__VUE_INSTANCE_SETTERS__";(un=Oo()[ll])||(un=Oo()[ll]=[]),un.push(e=>Le=e),ha=e=>{un.length>1?un.forEach(t=>t(e)):un[0](e)};const Tn=e=>{ha(e),e.scope.on()},Xt=()=>{Le&&Le.scope.off(),ha(null)};function pi(e){return e.vnode.shapeFlag&4}let On=!1;function vf(e,t=!1){On=t;const{props:n,children:r}=e.vnode,o=pi(e);Qd(e,n,o,t),Zd(e,r);const a=o?gf(e,t):void 0;return On=!1,a}function gf(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Vs(new Proxy(e.ctx,Hd));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?bf(e):null;Tn(e),In();const a=Vt(r,e,0,[e.props,o]);if(Sn(),Xt(),Es(a)){if(a.then(Xt,Xt),t)return a.then(l=>{sl(e,l,t)}).catch(l=>{ur(l,e,0)});e.asyncDep=a}else sl(e,a,t)}else hi(e,t)}function sl(e,t,n){te(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:me(t)&&(e.setupState=Bs(t)),hi(e,n)}let il;function hi(e,t,n){const r=e.type;if(!e.render){if(!t&&il&&!r.render){const o=r.template||da(e).template;if(o){const{isCustomElement:a,compilerOptions:l}=e.appContext.config,{delimiters:s,compilerOptions:i}=r,c=Ae(Ae({isCustomElement:a,delimiters:s},l),i);r.render=il(o,c)}}e.render=r.render||ot}Tn(e),In(),jd(e),Sn(),Xt()}function _f(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Ve(e,"get","$attrs"),t[n]}}))}function bf(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return _f(e)},slots:e.slots,emit:e.emit,expose:t}}function Qr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Bs(Vs(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in qn)return qn[n](e)},has(t,n){return n in t||n in qn}}))}function yf(e,t=!0){return te(e)?e.displayName||e.name:e.name||t&&e.__name}function wf(e){return te(e)&&"__vccOpts"in e}const A=(e,t)=>hd(e,t,On);function d(e,t,n){const r=arguments.length;return r===2?me(t)&&!q(t)?Ro(t)?Oe(e,null,[t]):Oe(e,t):Oe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Ro(n)&&(n=[n]),Oe(e,t,n))}const Ef=Symbol.for("v-scx"),Tf=()=>Ee(Ef),Of="3.3.4",Af="http://www.w3.org/2000/svg",Gt=typeof document<"u"?document:null,cl=Gt&&Gt.createElement("template"),Pf={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 o=t?Gt.createElementNS(Af,e):Gt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Gt.createTextNode(e),createComment:e=>Gt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Gt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,a){const l=n?n.previousSibling:t.lastChild;if(o&&(o===a||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===a||!(o=o.nextSibling)););else{cl.innerHTML=r?`<svg>${e}</svg>`:e;const s=cl.content;if(r){const i=s.firstChild;for(;i.firstChild;)s.appendChild(i.firstChild);s.removeChild(i)}t.insertBefore(s,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function kf(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Lf(e,t,n){const r=e.style,o=ae(n);if(n&&!o){if(t&&!ae(t))for(const a in t)n[a]==null&&$o(r,a,"");for(const a in n)$o(r,a,n[a])}else{const a=r.display;o?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=a)}}const ul=/\s*!important$/;function $o(e,t,n){if(q(n))n.forEach(r=>$o(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=xf(e,t);ul.test(n)?e.setProperty(Cn(r),n.replace(ul,""),"important"):e[r]=n}}const dl=["Webkit","Moz","ms"],uo={};function xf(e,t){const n=uo[t];if(n)return n;let r=Ge(t);if(r!=="filter"&&r in e)return uo[t]=r;r=cr(r);for(let o=0;o<dl.length;o++){const a=dl[o]+r;if(a in e)return uo[t]=a}return t}const fl="http://www.w3.org/1999/xlink";function Cf(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(fl,t.slice(6,t.length)):e.setAttributeNS(fl,t,n);else{const a=ku(t);n==null||a&&!As(n)?e.removeAttribute(t):e.setAttribute(t,a?"":n)}}function If(e,t,n,r,o,a,l){if(t==="innerHTML"||t==="textContent"){r&&l(r,o,a),e[t]=n??"";return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){e._value=n;const c=s==="OPTION"?e.getAttribute("value"):e.value,u=n??"";c!==u&&(e.value=u),n==null&&e.removeAttribute(t);return}let i=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=As(n):n==null&&c==="string"?(n="",i=!0):c==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(t)}function wt(e,t,n,r){e.addEventListener(t,n,r)}function Sf(e,t,n,r){e.removeEventListener(t,n,r)}function Rf(e,t,n,r,o=null){const a=e._vei||(e._vei={}),l=a[t];if(r&&l)l.value=r;else{const[s,i]=$f(t);if(r){const c=a[t]=zf(r,o);wt(e,s,c,i)}else l&&(Sf(e,s,l,i),a[t]=void 0)}}const pl=/(?:Once|Passive|Capture)$/;function $f(e){let t;if(pl.test(e)){t={};let r;for(;r=e.match(pl);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Cn(e.slice(2)),t]}let fo=0;const Df=Promise.resolve(),Mf=()=>fo||(Df.then(()=>fo=0),fo=Date.now());function zf(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;qe(Nf(r,n.value),t,5,[r])};return n.value=e,n.attached=Mf(),n}function Nf(e,t){if(q(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const hl=/^on[a-z]/,Vf=(e,t,n,r,o=!1,a,l,s,i)=>{t==="class"?kf(e,r,o):t==="style"?Lf(e,n,r):sr(t)?qo(t)||Rf(e,t,n,r,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ff(e,t,r,o))?If(e,t,r,a,l,s,i):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Cf(e,t,r,o))};function Ff(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&hl.test(t)&&te(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||hl.test(t)&&ae(n)?!1:t in e}const Rt="transition",Vn="animation",Pt=(e,{slots:t})=>d(Cd,vi(e),t);Pt.displayName="Transition";const mi={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},Bf=Pt.props=Ae({},Qs,mi),Wt=(e,t=[])=>{q(e)?e.forEach(n=>n(...t)):e&&e(...t)},ml=e=>e?q(e)?e.some(t=>t.length>1):e.length>1:!1;function vi(e){const t={};for(const H in e)H in mi||(t[H]=e[H]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:a=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:i=a,appearActiveClass:c=l,appearToClass:u=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,y=Hf(o),E=y&&y[0],T=y&&y[1],{onBeforeEnter:g,onEnter:_,onEnterCancelled:R,onLeave:I,onLeaveCancelled:j,onBeforeAppear:S=g,onAppear:z=_,onAppearCancelled:P=R}=t,U=(H,ee,K)=>{$t(H,ee?u:s),$t(H,ee?c:l),K&&K()},X=(H,ee)=>{H._isLeaving=!1,$t(H,f),$t(H,m),$t(H,p),ee&&ee()},oe=H=>(ee,K)=>{const Ce=H?z:_,ce=()=>U(ee,H,K);Wt(Ce,[ee,ce]),vl(()=>{$t(ee,H?i:a),gt(ee,H?u:s),ml(Ce)||gl(ee,r,E,ce)})};return Ae(t,{onBeforeEnter(H){Wt(g,[H]),gt(H,a),gt(H,l)},onBeforeAppear(H){Wt(S,[H]),gt(H,i),gt(H,c)},onEnter:oe(!1),onAppear:oe(!0),onLeave(H,ee){H._isLeaving=!0;const K=()=>X(H,ee);gt(H,f),_i(),gt(H,p),vl(()=>{H._isLeaving&&($t(H,f),gt(H,m),ml(I)||gl(H,r,T,K))}),Wt(I,[H,K])},onEnterCancelled(H){U(H,!1),Wt(R,[H])},onAppearCancelled(H){U(H,!0),Wt(P,[H])},onLeaveCancelled(H){X(H),Wt(j,[H])}})}function Hf(e){if(e==null)return null;if(me(e))return[po(e.enter),po(e.leave)];{const t=po(e);return[t,t]}}function po(e){return wu(e)}function gt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function $t(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function vl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let jf=0;function gl(e,t,n,r){const o=e._endId=++jf,a=()=>{o===e._endId&&r()};if(n)return setTimeout(a,n);const{type:l,timeout:s,propCount:i}=gi(e,t);if(!l)return r();const c=l+"end";let u=0;const f=()=>{e.removeEventListener(c,p),a()},p=m=>{m.target===e&&++u>=i&&f()};setTimeout(()=>{u<i&&f()},s+1),e.addEventListener(c,p)}function gi(e,t){const n=window.getComputedStyle(e),r=y=>(n[y]||"").split(", "),o=r(`${Rt}Delay`),a=r(`${Rt}Duration`),l=_l(o,a),s=r(`${Vn}Delay`),i=r(`${Vn}Duration`),c=_l(s,i);let u=null,f=0,p=0;t===Rt?l>0&&(u=Rt,f=l,p=a.length):t===Vn?c>0&&(u=Vn,f=c,p=i.length):(f=Math.max(l,c),u=f>0?l>c?Rt:Vn:null,p=u?u===Rt?a.length:i.length:0);const m=u===Rt&&/\b(transform|all)(,|$)/.test(r(`${Rt}Property`).toString());return{type:u,timeout:f,propCount:p,hasTransform:m}}function _l(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>bl(n)+bl(e[r])))}function bl(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function _i(){return document.body.offsetHeight}const bi=new WeakMap,yi=new WeakMap,wi={name:"TransitionGroup",props:Ae({},Bf,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=on(),r=Ys();let o,a;return Zs(()=>{if(!o.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!Gf(o[0].el,n.vnode.el,l))return;o.forEach(Wf),o.forEach(qf);const s=o.filter(Kf);_i(),s.forEach(i=>{const c=i.el,u=c.style;gt(c,l),u.transform=u.webkitTransform=u.transitionDuration="";const f=c._moveCb=p=>{p&&p.target!==c||(!p||/transform$/.test(p.propertyName))&&(c.removeEventListener("transitionend",f),c._moveCb=null,$t(c,l))};c.addEventListener("transitionend",f)})}),()=>{const l=le(e),s=vi(l);let i=l.tag||He;o=a,a=t.default?ca(t.default()):[];for(let c=0;c<a.length;c++){const u=a[c];u.key!=null&&rr(u,nr(u,s,r,n))}if(o)for(let c=0;c<o.length;c++){const u=o[c];rr(u,nr(u,s,r,n)),bi.set(u,u.el.getBoundingClientRect())}return Oe(i,null,a)}}},Uf=e=>delete e.mode;wi.props;const Ei=wi;function Wf(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function qf(e){yi.set(e,e.el.getBoundingClientRect())}function Kf(e){const t=bi.get(e),n=yi.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const a=e.el.style;return a.transform=a.webkitTransform=`translate(${r}px,${o}px)`,a.transitionDuration="0s",e}}function Gf(e,t,n){const r=e.cloneNode();e._vtc&&e._vtc.forEach(l=>{l.split(/\s+/).forEach(s=>s&&r.classList.remove(s))}),n.split(/\s+/).forEach(l=>l&&r.classList.add(l)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:a}=gi(r);return o.removeChild(r),a}const Ht=e=>{const t=e.props["onUpdate:modelValue"]||!1;return q(t)?n=>xr(t,n):t};function Yf(e){e.target.composing=!0}function yl(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const wl={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e._assign=Ht(o);const a=r||o.props&&o.props.type==="number";wt(e,t?"change":"input",l=>{if(l.target.composing)return;let s=e.value;n&&(s=s.trim()),a&&(s=Sr(s)),e._assign(s)}),n&&wt(e,"change",()=>{e.value=e.value.trim()}),t||(wt(e,"compositionstart",Yf),wt(e,"compositionend",yl),wt(e,"change",yl))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:o}},a){if(e._assign=Ht(a),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(o||e.type==="number")&&Sr(e.value)===t))return;const l=t??"";e.value!==l&&(e.value=l)}},Qf={deep:!0,created(e,t,n){e._assign=Ht(n),wt(e,"change",()=>{const r=e._modelValue,o=An(e),a=e.checked,l=e._assign;if(q(r)){const s=Jo(r,o),i=s!==-1;if(a&&!i)l(r.concat(o));else if(!a&&i){const c=[...r];c.splice(s,1),l(c)}}else if(xn(r)){const s=new Set(r);a?s.add(o):s.delete(o),l(s)}else l(Ti(e,a))})},mounted:El,beforeUpdate(e,t,n){e._assign=Ht(n),El(e,t,n)}};function El(e,{value:t,oldValue:n},r){e._modelValue=t,q(t)?e.checked=Jo(t,r.props.value)>-1:xn(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Zt(t,Ti(e,!0)))}const Jf={created(e,{value:t},n){e.checked=Zt(t,n.props.value),e._assign=Ht(n),wt(e,"change",()=>{e._assign(An(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=Ht(r),t!==n&&(e.checked=Zt(t,r.props.value))}},Xf={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=xn(t);wt(e,"change",()=>{const a=Array.prototype.filter.call(e.options,l=>l.selected).map(l=>n?Sr(An(l)):An(l));e._assign(e.multiple?o?new Set(a):a:a[0])}),e._assign=Ht(r)},mounted(e,{value:t}){Tl(e,t)},beforeUpdate(e,t,n){e._assign=Ht(n)},updated(e,{value:t}){Tl(e,t)}};function Tl(e,t){const n=e.multiple;if(!(n&&!q(t)&&!xn(t))){for(let r=0,o=e.options.length;r<o;r++){const a=e.options[r],l=An(a);if(n)q(t)?a.selected=Jo(t,l)>-1:a.selected=t.has(l);else if(Zt(An(a),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function An(e){return"_value"in e?e._value:e.value}function Ti(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const U0={created(e,t,n){Tr(e,t,n,null,"created")},mounted(e,t,n){Tr(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Tr(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Tr(e,t,n,r,"updated")}};function Zf(e,t){switch(e){case"SELECT":return Xf;case"TEXTAREA":return wl;default:switch(t){case"checkbox":return Qf;case"radio":return Jf;default:return wl}}}function Tr(e,t,n,r,o){const l=Zf(e.tagName,n.props&&n.props.type)[o];l&&l(e,t,n,r)}const W0={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Fn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Fn(e,!0),r.enter(e)):r.leave(e,()=>{Fn(e,!1)}):Fn(e,t))},beforeUnmount(e,{value:t}){Fn(e,t)}};function Fn(e,t){e.style.display=t?e._vod:"none"}const ep=Ae({patchProp:Vf},Pf);let ho,Ol=!1;function tp(){return ho=Ol?ho:nf(ep),Ol=!0,ho}const np=(...e)=>{const t=tp().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=rp(r);if(o)return n(o,!0,o instanceof SVGElement)},t};function rp(e){return ae(e)?document.querySelector(e):e}const op={"v-2d0a870d":()=>w(()=>import("./index.html-00dbcbea.js"),[]).then(({data:e})=>e),"v-082946dd":()=>w(()=>import("./community.html-8264ee0b.js"),[]).then(({data:e})=>e),"v-038e810e":()=>w(()=>import("./i18n.html-5fe8fe46.js"),[]).then(({data:e})=>e),"v-ba407326":()=>w(()=>import("./menu.html-26e19633.js"),[]).then(({data:e})=>e),"v-586858ed":()=>w(()=>import("./project.html-41f89b8c.js"),[]).then(({data:e})=>e),"v-0c01f6a4":()=>w(()=>import("./quick-start.html-6fea300a.js"),[]).then(({data:e})=>e),"v-23b9870a":()=>w(()=>import("./side-load.html-e04e7234.js"),[]).then(({data:e})=>e),"v-7d29d7d8":()=>w(()=>import("./star-request.html-4cb88d32.js"),[]).then(({data:e})=>e),"v-2d0ad528":()=>w(()=>import("./index.html-f78206be.js"),[]).then(({data:e})=>e),"v-5cad49b8":()=>w(()=>import("./community.html-77c874f1.js"),[]).then(({data:e})=>e),"v-27c4e153":()=>w(()=>import("./i18n.html-ce4441c1.js"),[]).then(({data:e})=>e),"v-71d3b29c":()=>w(()=>import("./menu.html-68335df6.js"),[]).then(({data:e})=>e),"v-6c355688":()=>w(()=>import("./project.html-e96a464c.js"),[]).then(({data:e})=>e),"v-4f90aebf":()=>w(()=>import("./quick-start.html-a1f49e05.js"),[]).then(({data:e})=>e),"v-783d89e5":()=>w(()=>import("./side-load.html-9cc44de3.js"),[]).then(({data:e})=>e),"v-a91bb9c6":()=>w(()=>import("./star-request.html-2ad37f25.js"),[]).then(({data:e})=>e),"v-1bd4ef83":()=>w(()=>import("./FAQ.html-d6fcc8da.js"),[]).then(({data:e})=>e),"v-5c3f740a":()=>w(()=>import("./Gacha-system-and-export-principal.html-cf17a2c3.js"),[]).then(({data:e})=>e),"v-5f449840":()=>w(()=>import("./index.html-b2cf2c28.js"),[]).then(({data:e})=>e),"v-1a028d16":()=>w(()=>import("./exceptions.html-8157d8c2.js"),[]).then(({data:e})=>e),"v-bd668802":()=>w(()=>import("./get-stoken-cookie-from-the-third-party.html-7c0dd482.js"),[]).then(({data:e})=>e),"v-51647c4a":()=>w(()=>import("./known-issue.html-511bf0e2.js"),[]).then(({data:e})=>e),"v-bbae7dd2":()=>w(()=>import("./uninstall.html-e98d2832.js"),[]).then(({data:e})=>e),"v-f88d343e":()=>w(()=>import("./index.html-7e4d27d7.js"),[]).then(({data:e})=>e),"v-32bb1805":()=>w(()=>import("./platform.html-1b433c3a.js"),[]).then(({data:e})=>e),"v-30f089b6":()=>w(()=>import("./index.html-d6e83c3d.js"),[]).then(({data:e})=>e),"v-699a13b0":()=>w(()=>import("./achievements.html-7e466c8a.js"),[]).then(({data:e})=>e),"v-f3692af4":()=>w(()=>import("./character-data.html-a8002393.js"),[]).then(({data:e})=>e),"v-10108380":()=>w(()=>import("./character-wiki.html-6f6ce2c3.js"),[]).then(({data:e})=>e),"v-36ceadac":()=>w(()=>import("./dashboard.html-2499d39c.js"),[]).then(({data:e})=>e),"v-83f6294a":()=>w(()=>import("./develop-plan.html-a870290b.js"),[]).then(({data:e})=>e),"v-7839fe83":()=>w(()=>import("./game-launcher.html-2f704534.js"),[]).then(({data:e})=>e),"v-0106e0dc":()=>w(()=>import("./hutao-API.html-f49eaf10.js"),[]).then(({data:e})=>e),"v-639b3ef9":()=>w(()=>import("./hutao-settings.html-912ef253.js"),[]).then(({data:e})=>e),"v-03aaffb1":()=>w(()=>import("./mhy-account-switch.html-e7ebd02a.js"),[]).then(({data:e})=>e),"v-124743a4":()=>w(()=>import("./real-time-notes.html-007137ef.js"),[]).then(({data:e})=>e),"v-e30b3c46":()=>w(()=>import("./weapon-wiki.html-5722a870.js"),[]).then(({data:e})=>e),"v-b8e3a2b8":()=>w(()=>import("./wish-export.html-e367596f.js"),[]).then(({data:e})=>e),"v-a4f9d2c4":()=>w(()=>import("./index.html-62b6158d.js"),[]).then(({data:e})=>e),"v-45ceb024":()=>w(()=>import("./bug-report.html-be008402.js"),[]).then(({data:e})=>e),"v-b4085a44":()=>w(()=>import("./privacy-notice.html-43cfb1bb.js"),[]).then(({data:e})=>e),"v-b1c7a1c2":()=>w(()=>import("./tos.html-2697c794.js"),[]).then(({data:e})=>e),"v-52f43e3b":()=>w(()=>import("./update-log.html-60a35ed5.js"),[]).then(({data:e})=>e),"v-4a1d3ac8":()=>w(()=>import("./FAQ.html-77b73d8a.js"),[]).then(({data:e})=>e),"v-b0dd6b00":()=>w(()=>import("./Gacha-system-and-export-principal.html-35e3a9ed.js"),[]).then(({data:e})=>e),"v-16d7d7b6":()=>w(()=>import("./index.html-20c8279c.js"),[]).then(({data:e})=>e),"v-c8e5b2e0":()=>w(()=>import("./exceptions.html-44fb45f0.js"),[]).then(({data:e})=>e),"v-6892c29a":()=>w(()=>import("./get-stoken-cookie-from-the-third-party.html-a4274fa1.js"),[]).then(({data:e})=>e),"v-8ab89ae2":()=>w(()=>import("./known-issue.html-dd2d4e95.js"),[]).then(({data:e})=>e),"v-a04a76c8":()=>w(()=>import("./uninstall.html-f3e75a7a.js"),[]).then(({data:e})=>e),"v-d0f33908":()=>w(()=>import("./index.html-3b8b0cf1.js"),[]).then(({data:e})=>e),"v-c80b636c":()=>w(()=>import("./platform.html-49d33fba.js"),[]).then(({data:e})=>e),"v-56d3ae80":()=>w(()=>import("./symposium1.html-fcc754a5.js"),[]).then(({data:e})=>e),"v-5369fd42":()=>w(()=>import("./symposium2.html-f0280800.js"),[]).then(({data:e})=>e),"v-0bbe1b6a":()=>w(()=>import("./index.html-c943e40a.js"),[]).then(({data:e})=>e),"v-2841a60b":()=>w(()=>import("./achievements.html-c513ff85.js"),[]).then(({data:e})=>e),"v-3957d221":()=>w(()=>import("./character-data.html-d19c231c.js"),[]).then(({data:e})=>e),"v-a9f7b44a":()=>w(()=>import("./character-wiki.html-47702f57.js"),[]).then(({data:e})=>e),"v-1b6aa6a2":()=>w(()=>import("./dashboard.html-22f8c199.js"),[]).then(({data:e})=>e),"v-7cac7db6":()=>w(()=>import("./develop-plan.html-6e34fa5d.js"),[]).then(({data:e})=>e),"v-e2f690f0":()=>w(()=>import("./game-launcher.html-d7fe4a18.js"),[]).then(({data:e})=>e),"v-0eb8e461":()=>w(()=>import("./hutao-API.html-238785b2.js"),[]).then(({data:e})=>e),"v-16a7a694":()=>w(()=>import("./hutao-settings.html-4c5f1089.js"),[]).then(({data:e})=>e),"v-04b421cc":()=>w(()=>import("./mhy-account-switch.html-60e9ae96.js"),[]).then(({data:e})=>e),"v-b5462c1a":()=>w(()=>import("./real-time-notes.html-4ffa95f3.js"),[]).then(({data:e})=>e),"v-108ccfbc":()=>w(()=>import("./weapon-wiki.html-38a68cbb.js"),[]).then(({data:e})=>e),"v-0ccd64e9":()=>w(()=>import("./wish-export.html-4db41232.js"),[]).then(({data:e})=>e),"v-c4bb0cba":()=>w(()=>import("./index.html-75933301.js"),[]).then(({data:e})=>e),"v-c87f8b6e":()=>w(()=>import("./bug-report.html-4e9d3984.js"),[]).then(({data:e})=>e),"v-70e6808e":()=>w(()=>import("./privacy-notice.html-09b28c46.js"),[]).then(({data:e})=>e),"v-647ebd24":()=>w(()=>import("./tos.html-09235935.js"),[]).then(({data:e})=>e),"v-119bd096":()=>w(()=>import("./update-log.html-2a70e7c3.js"),[]).then(({data:e})=>e),"v-3706649a":()=>w(()=>import("./404.html-392add74.js"),[]).then(({data:e})=>e),"v-8daa1a0e":()=>w(()=>import("./index.html-ead0711a.js"),[]).then(({data:e})=>e)},ap=JSON.parse('{"base":"/","lang":"en-US","title":"","description":"","head":[["script",{"src":"https://umami.irain.in/script.js","data-website-id":"f586534f-1741-450e-a0f4-3c0189f993c9","async":"","defer":""}],["script",{"type":"module","src":"https://get.microsoft.com/badge/ms-store-badge.bundled.js"}],["link",{"rel":"icon","href":"/favicon.ico"}],["link",{"rel":"icon","href":"/pwa-icon/chrome-512.png","type":"image/png","sizes":"512x512"}],["link",{"rel":"icon","href":"/pwa-icon/chrome-192.png","type":"image/png","sizes":"192x192"}],["link",{"rel":"icon","href":"/pwa-icon/chrome-144.png","type":"image/png","sizes":"144x144"}],["link",{"rel":"icon","href":"/pwa-icon/chrome-72.png","type":"image/png","sizes":"72x72"}],["link",{"rel":"icon","href":"/pwa-icon/chrome-96.png","type":"image/png","sizes":"96x96"}],["link",{"rel":"icon","href":"/pwa-icon/chrome-48.png","type":"image/png","sizes":"48x48"}],["link",{"rel":"manifest","href":"/manifest.webmanifest","crossorigin":"use-credentials"}],["meta",{"name":"theme-color","content":"#f26d6d"}],["link",{"rel":"apple-touch-icon","href":"/favicon.ico"}],["meta",{"name":"apple-mobile-web-app-capable","content":"yes"}],["meta",{"name":"apple-mobile-web-app-status-bar-style","content":"black"}],["meta",{"name":"msapplication-TileImage","content":"/favicon.ico"}],["meta",{"name":"msapplication-TileColor","content":"#ffffff"}],["meta",{"name":"viewport","content":"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}]],"locales":{"/zh/":{"lang":"zh-CN","title":"胡桃工具箱","description":"多功能的原神工具箱"},"/en/":{"lang":"en-US","title":"Snap Hutao","description":"Super utilitarian Genshin Impact Tool"}}}');var lp=([e,t,n])=>e==="meta"&&t.name?`${e}.${t.name}`:["title","base"].includes(e)?e:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,t,n]),sp=e=>{const t=new Set,n=[];return e.forEach(r=>{const o=lp(r);t.has(o)||(t.add(o),n.push(r))}),n},ip=e=>e[e.length-1]==="/"||e.endsWith(".html")?e:`${e}/`,cp=e=>e.startsWith("ftp://"),Dn=e=>/^(https?:)?\/\//.test(e),up=/.md((\?|#).*)?$/,Fr=(e,t="/")=>!!(Dn(e)||cp(e)||e.startsWith("/")&&!e.startsWith(t)&&!up.test(e)),Oi=e=>/^mailto:/.test(e),dp=e=>/^tel:/.test(e),ma=e=>Object.prototype.toString.call(e)==="[object Object]",va=e=>e[e.length-1]==="/"?e.slice(0,-1):e,Ai=e=>e[0]==="/"?e.slice(1):e,fp=(e,t)=>{const n=Object.keys(e).sort((r,o)=>{const a=o.split("/").length-r.split("/").length;return a!==0?a:o.length-r.length});for(const r of n)if(t.startsWith(r))return r;return"/"},Al=(e,t="/")=>{const n=e.replace(/^(https?:)?\/\/[^/]*/,"");return n.startsWith(t)?`/${n.slice(t.length)}`:n};const Pi={"v-2d0a870d":N(()=>w(()=>import("./index.html-cdb106dd.js"),["assets/index.html-cdb106dd.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-082946dd":N(()=>w(()=>import("./community.html-9c40a227.js"),["assets/community.html-9c40a227.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-038e810e":N(()=>w(()=>import("./i18n.html-97547831.js"),["assets/i18n.html-97547831.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-ba407326":N(()=>w(()=>import("./menu.html-965d73a2.js"),["assets/menu.html-965d73a2.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-586858ed":N(()=>w(()=>import("./project.html-0bc86b04.js"),["assets/project.html-0bc86b04.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-0c01f6a4":N(()=>w(()=>import("./quick-start.html-d52f76e6.js"),["assets/quick-start.html-d52f76e6.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-23b9870a":N(()=>w(()=>import("./side-load.html-a906d0ea.js"),["assets/side-load.html-a906d0ea.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-7d29d7d8":N(()=>w(()=>import("./star-request.html-a806e1e3.js"),["assets/star-request.html-a806e1e3.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-2d0ad528":N(()=>w(()=>import("./index.html-3508ae45.js"),["assets/index.html-3508ae45.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-5cad49b8":N(()=>w(()=>import("./community.html-5ef2320d.js"),["assets/community.html-5ef2320d.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-27c4e153":N(()=>w(()=>import("./i18n.html-d18b79eb.js"),["assets/i18n.html-d18b79eb.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-71d3b29c":N(()=>w(()=>import("./menu.html-4da31906.js"),["assets/menu.html-4da31906.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-6c355688":N(()=>w(()=>import("./project.html-bb79e8cb.js"),["assets/project.html-bb79e8cb.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-4f90aebf":N(()=>w(()=>import("./quick-start.html-f98b97d0.js"),["assets/quick-start.html-f98b97d0.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-783d89e5":N(()=>w(()=>import("./side-load.html-70ce2289.js"),["assets/side-load.html-70ce2289.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-a91bb9c6":N(()=>w(()=>import("./star-request.html-9743779e.js"),["assets/star-request.html-9743779e.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-1bd4ef83":N(()=>w(()=>import("./FAQ.html-5ad59832.js"),["assets/FAQ.html-5ad59832.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-5c3f740a":N(()=>w(()=>import("./Gacha-system-and-export-principal.html-e5e06d6b.js"),["assets/Gacha-system-and-export-principal.html-e5e06d6b.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-5f449840":N(()=>w(()=>import("./index.html-a2f7c506.js"),["assets/index.html-a2f7c506.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-1a028d16":N(()=>w(()=>import("./exceptions.html-28bfe411.js"),["assets/exceptions.html-28bfe411.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-bd668802":N(()=>w(()=>import("./get-stoken-cookie-from-the-third-party.html-ec2799b4.js"),["assets/get-stoken-cookie-from-the-third-party.html-ec2799b4.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-51647c4a":N(()=>w(()=>import("./known-issue.html-e05471ea.js"),["assets/known-issue.html-e05471ea.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-bbae7dd2":N(()=>w(()=>import("./uninstall.html-5f140ecf.js"),["assets/uninstall.html-5f140ecf.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-f88d343e":N(()=>w(()=>import("./index.html-86b28290.js"),["assets/index.html-86b28290.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-32bb1805":N(()=>w(()=>import("./platform.html-d1e289f7.js"),["assets/platform.html-d1e289f7.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-30f089b6":N(()=>w(()=>import("./index.html-95fa6e78.js"),["assets/index.html-95fa6e78.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-699a13b0":N(()=>w(()=>import("./achievements.html-193e97c2.js"),["assets/achievements.html-193e97c2.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-f3692af4":N(()=>w(()=>import("./character-data.html-e1b06baf.js"),["assets/character-data.html-e1b06baf.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-10108380":N(()=>w(()=>import("./character-wiki.html-a47450c4.js"),["assets/character-wiki.html-a47450c4.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-36ceadac":N(()=>w(()=>import("./dashboard.html-edf5d612.js"),["assets/dashboard.html-edf5d612.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-83f6294a":N(()=>w(()=>import("./develop-plan.html-b8a06082.js"),["assets/develop-plan.html-b8a06082.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-7839fe83":N(()=>w(()=>import("./game-launcher.html-73a05aec.js"),["assets/game-launcher.html-73a05aec.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-0106e0dc":N(()=>w(()=>import("./hutao-API.html-cef8eefd.js"),["assets/hutao-API.html-cef8eefd.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-639b3ef9":N(()=>w(()=>import("./hutao-settings.html-2b8d08a8.js"),["assets/hutao-settings.html-2b8d08a8.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-03aaffb1":N(()=>w(()=>import("./mhy-account-switch.html-466b8430.js"),["assets/mhy-account-switch.html-466b8430.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-124743a4":N(()=>w(()=>import("./real-time-notes.html-485bd43b.js"),["assets/real-time-notes.html-485bd43b.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-e30b3c46":N(()=>w(()=>import("./weapon-wiki.html-8a2211f1.js"),["assets/weapon-wiki.html-8a2211f1.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-b8e3a2b8":N(()=>w(()=>import("./wish-export.html-8c8f98f3.js"),["assets/wish-export.html-8c8f98f3.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-a4f9d2c4":N(()=>w(()=>import("./index.html-a856e4a5.js"),["assets/index.html-a856e4a5.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-45ceb024":N(()=>w(()=>import("./bug-report.html-7d6347dc.js"),["assets/bug-report.html-7d6347dc.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-b4085a44":N(()=>w(()=>import("./privacy-notice.html-a6ebdd0b.js"),["assets/privacy-notice.html-a6ebdd0b.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-b1c7a1c2":N(()=>w(()=>import("./tos.html-1d3cfa11.js"),["assets/tos.html-1d3cfa11.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-52f43e3b":N(()=>w(()=>import("./update-log.html-6c5c4cdc.js"),["assets/update-log.html-6c5c4cdc.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-4a1d3ac8":N(()=>w(()=>import("./FAQ.html-66aa7aa0.js"),["assets/FAQ.html-66aa7aa0.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-b0dd6b00":N(()=>w(()=>import("./Gacha-system-and-export-principal.html-83eada9b.js"),["assets/Gacha-system-and-export-principal.html-83eada9b.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-16d7d7b6":N(()=>w(()=>import("./index.html-03a53c22.js"),["assets/index.html-03a53c22.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-c8e5b2e0":N(()=>w(()=>import("./exceptions.html-0b83e1ba.js"),["assets/exceptions.html-0b83e1ba.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-6892c29a":N(()=>w(()=>import("./get-stoken-cookie-from-the-third-party.html-ae6a95a9.js"),["assets/get-stoken-cookie-from-the-third-party.html-ae6a95a9.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-8ab89ae2":N(()=>w(()=>import("./known-issue.html-83423385.js"),["assets/known-issue.html-83423385.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-a04a76c8":N(()=>w(()=>import("./uninstall.html-08d679ee.js"),["assets/uninstall.html-08d679ee.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-d0f33908":N(()=>w(()=>import("./index.html-c6a3007c.js"),["assets/index.html-c6a3007c.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-c80b636c":N(()=>w(()=>import("./platform.html-edbc69ea.js"),["assets/platform.html-edbc69ea.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-56d3ae80":N(()=>w(()=>import("./symposium1.html-4e5cad0b.js"),["assets/symposium1.html-4e5cad0b.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-5369fd42":N(()=>w(()=>import("./symposium2.html-a3e8732e.js"),["assets/symposium2.html-a3e8732e.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-0bbe1b6a":N(()=>w(()=>import("./index.html-a28dd6fb.js"),["assets/index.html-a28dd6fb.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-2841a60b":N(()=>w(()=>import("./achievements.html-0f803c5c.js"),["assets/achievements.html-0f803c5c.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-3957d221":N(()=>w(()=>import("./character-data.html-c6df149c.js"),["assets/character-data.html-c6df149c.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-a9f7b44a":N(()=>w(()=>import("./character-wiki.html-eaa1cab6.js"),["assets/character-wiki.html-eaa1cab6.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-1b6aa6a2":N(()=>w(()=>import("./dashboard.html-1af9e950.js"),["assets/dashboard.html-1af9e950.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-7cac7db6":N(()=>w(()=>import("./develop-plan.html-ee596474.js"),["assets/develop-plan.html-ee596474.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-e2f690f0":N(()=>w(()=>import("./game-launcher.html-69f961e4.js"),["assets/game-launcher.html-69f961e4.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-0eb8e461":N(()=>w(()=>import("./hutao-API.html-85c59718.js"),["assets/hutao-API.html-85c59718.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-16a7a694":N(()=>w(()=>import("./hutao-settings.html-ef1abfbf.js"),["assets/hutao-settings.html-ef1abfbf.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-04b421cc":N(()=>w(()=>import("./mhy-account-switch.html-d18a8f83.js"),["assets/mhy-account-switch.html-d18a8f83.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-b5462c1a":N(()=>w(()=>import("./real-time-notes.html-5c1061b7.js"),["assets/real-time-notes.html-5c1061b7.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-108ccfbc":N(()=>w(()=>import("./weapon-wiki.html-facdc2a9.js"),["assets/weapon-wiki.html-facdc2a9.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-0ccd64e9":N(()=>w(()=>import("./wish-export.html-0e6f1983.js"),["assets/wish-export.html-0e6f1983.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-c4bb0cba":N(()=>w(()=>import("./index.html-81ae5447.js"),["assets/index.html-81ae5447.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-c87f8b6e":N(()=>w(()=>import("./bug-report.html-310e0a0e.js"),["assets/bug-report.html-310e0a0e.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-70e6808e":N(()=>w(()=>import("./privacy-notice.html-dd02ae9b.js"),["assets/privacy-notice.html-dd02ae9b.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-647ebd24":N(()=>w(()=>import("./tos.html-c988e41e.js"),["assets/tos.html-c988e41e.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-119bd096":N(()=>w(()=>import("./update-log.html-c0111bae.js"),["assets/update-log.html-c0111bae.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-3706649a":N(()=>w(()=>import("./404.html-55d1fae4.js"),["assets/404.html-55d1fae4.js","assets/plugin-vue_export-helper-c27b6911.js"])),"v-8daa1a0e":N(()=>w(()=>import("./index.html-f454d95a.js"),["assets/index.html-f454d95a.js","assets/plugin-vue_export-helper-c27b6911.js"]))};var pp=Symbol(""),hp=G(op),ki=jt({key:"",path:"",title:"",lang:"",frontmatter:{},headers:[]}),Mt=G(ki),pe=()=>Mt,Li=Symbol(""),Pe=()=>{const e=Ee(Li);if(!e)throw new Error("usePageFrontmatter() is called without provider.");return e},xi=Symbol(""),mp=()=>{const e=Ee(xi);if(!e)throw new Error("usePageHead() is called without provider.");return e},vp=Symbol(""),Ci=Symbol(""),Jr=()=>{const e=Ee(Ci);if(!e)throw new Error("usePageLang() is called without provider.");return e},Ii=Symbol(""),gp=()=>{const e=Ee(Ii);if(!e)throw new Error("usePageLayout() is called without provider.");return e},ga=Symbol(""),Lt=()=>{const e=Ee(ga);if(!e)throw new Error("useRouteLocale() is called without provider.");return e},pn=G(ap),Si=()=>pn,Ri=Symbol(""),Xr=()=>{const e=Ee(Ri);if(!e)throw new Error("useSiteLocaleData() is called without provider.");return e},_p=Symbol(""),bp="Layout",yp="NotFound",_t=Rn({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageData:async e=>{const t=hp.value[e];return await(t==null?void 0:t())??ki},resolvePageFrontmatter:e=>e.frontmatter,resolvePageHead:(e,t,n)=>{const r=ae(t.description)?t.description:n.description,o=[...q(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:r}]];return sp(o)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:e=>e.lang||"en",resolvePageLayout:(e,t)=>{let n;if(e.path){const r=e.frontmatter.layout;ae(r)?n=r:n=bp}else n=yp;return t[n]},resolveRouteLocale:(e,t)=>fp(e,t),resolveSiteLocaleData:(e,t)=>({...e,...e.locales[t]})}),Zr=B({name:"ClientOnly",setup(e,t){const n=G(!1);return ve(()=>{n.value=!0}),()=>{var r,o;return n.value?(o=(r=t.slots).default)==null?void 0:o.call(r):null}}}),$i=B({name:"Content",props:{pageKey:{type:String,required:!1,default:""}},setup(e){const t=pe(),n=A(()=>Pi[e.pageKey||t.value.key]);return()=>n.value?d(n.value):d("div","404 Not Found")}}),De=(e={})=>e,ht=e=>Dn(e)?e:`/${Ai(e)}`;const wp={},we=({name:e="",color:t="currentColor"},{slots:n})=>{var r;return d("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))};we.displayName="IconBase";const Di=({size:e=48,stroke:t=4,wrapper:n=!0,height:r=2*e})=>{const o=d("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[d("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),d("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[d("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),d("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?d("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${r}px`},o):o};Di.displayName="LoadingIcon";const Mi=(e,{slots:t})=>{var n;return(n=t.default)==null?void 0:n.call(t)},zi=()=>d(we,{name:"github"},()=>d("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"}));zi.displayName="GitHubIcon";const Ni=()=>d(we,{name:"gitlab"},()=>d("path",{d:"M229.333 78.688C223.52 62 199.895 62 193.895 78.688L87.958 406.438h247.5c-.188 0-106.125-327.75-106.125-327.75zM33.77 571.438c-4.875 15 .563 31.687 13.313 41.25l464.812 345L87.77 406.438zm301.5-165 176.813 551.25 176.812-551.25zm655.125 165-54-165-424.312 551.25 464.812-345c12.938-9.563 18.188-26.25 13.5-41.25zM830.27 78.688c-5.812-16.688-29.437-16.688-35.437 0l-106.125 327.75h247.5z"}));Ni.displayName="GitLabIcon";const Vi=()=>d(we,{name:"gitee"},()=>d("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"}));Vi.displayName="GiteeIcon";const Fi=()=>d(we,{name:"bitbucket"},()=>d("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"}));Fi.displayName="BitbucketIcon";const Bi=()=>d(we,{name:"source"},()=>d("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"}));Bi.displayName="SourceIcon";const Hi=Array.isArray,Ep=e=>typeof e=="function",Tp=e=>typeof e=="string";var ji=e=>/^(https?:)?\/\//.test(e),Ui=e=>Object.prototype.toString.call(e)==="[object Object]";const pt=(e,t)=>{const n=t?t._instance:on();return Ui(n==null?void 0:n.appContext.components)&&(e in n.appContext.components||Ge(e)in n.appContext.components||cr(Ge(e))in n.appContext.components)};function Op(){const e=G(!1);return on()&&ve(()=>{e.value=!0}),e}function Ap(e){return Op(),A(()=>!!e())}const Pp=()=>Ap(()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator),kp=()=>{const e=Pp();return A(()=>e.value&&/\b(?:Android|iPhone)/i.test(navigator.userAgent))},an=e=>{const t=Lt();return A(()=>e[t.value])},Lp=(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},Wi=(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},en=e=>typeof e=="string",ar=(e,t)=>en(e)&&e.startsWith(t),dn=(e,t)=>en(e)&&e.endsWith(t),eo=Object.entries,xp=Object.fromEntries,Mn=Object.keys,Pl=e=>Ui(e)&&en(e.name),kl=(e,t=!1)=>e?Hi(e)?e.map(n=>en(n)?{name:n}:Pl(n)?n:null).filter(n=>n!==null):en(e)?[{name:e}]:Pl(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],qi=(e,t)=>{if(e){if(Hi(e)&&e.every(en))return e;if(en(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},Cp=e=>qi(e,"category"),Ip=e=>qi(e,"tag"),_a=e=>ar(e,"/"),Ki=/#.*$/u,Sp=e=>{const t=Ki.exec(e);return t?t[0]:""},Ll=e=>decodeURI(e).replace(Ki,"").replace(/(index)?\.(md|html)$/,""),ba=(e,t)=>{if(t===void 0)return!1;const n=Ll(e.path),r=Ll(t),o=Sp(t);return o?o===e.hash&&(!r||n===r):n===r},Rp=e=>ji(e)?e:`https://github.com/${e}`,Gi=e=>!ji(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null,ya=(e,...t)=>{const n=e.resolve(...t),r=n.matched[n.matched.length-1];if(!(r!=null&&r.redirect))return n;const{redirect:o}=r,a=Ep(o)?o(n):o,l=Tp(a)?{path:a}:a;return ya(e,{hash:n.hash,query:n.query,params:n.params,...l})};function lt(e){return ks()?(Iu(e),!0):!1}function Re(e){return typeof e=="function"?e():nt(e)}const tn=typeof window<"u",nn=()=>{},xl=$p();function $p(){var e;return tn&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function wa(e,t){function n(...r){return new Promise((o,a)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(a)})}return n}const Yi=e=>e();function Dp(e,t={}){let n,r,o=nn;const a=s=>{clearTimeout(s),o(),o=nn};return s=>{const i=Re(e),c=Re(t.maxWait);return n&&a(n),i<=0||c!==void 0&&c<=0?(r&&(a(r),r=null),Promise.resolve(s())):new Promise((u,f)=>{o=t.rejectOnCancel?f:u,c&&!r&&(r=setTimeout(()=>{n&&a(n),r=null,u(s())},c)),n=setTimeout(()=>{r&&a(r),r=null,u(s())},i)})}}function Mp(e,t=!0,n=!0,r=!1){let o=0,a,l=!0,s=nn,i;const c=()=>{a&&(clearTimeout(a),a=void 0,s(),s=nn)};return f=>{const p=Re(e),m=Date.now()-o,y=()=>i=f();return c(),p<=0?(o=Date.now(),y()):(m>p&&(n||!l)?(o=Date.now(),y()):t&&(i=new Promise((E,T)=>{s=r?T:E,a=setTimeout(()=>{o=Date.now(),l=!0,E(y()),c()},Math.max(0,p-m))})),!n&&!a&&(a=setTimeout(()=>l=!0,p)),l=!1,i)}}function zp(e=Yi){const t=G(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...a)=>{t.value&&e(...a)};return{isActive:jt(t),pause:n,resume:r,eventFilter:o}}function Qi(...e){if(e.length!==1)return Wr(...e);const t=e[0];return typeof t=="function"?jt(cd(()=>({get:t,set:nn}))):G(t)}function q0(e,t=200,n={}){return wa(Dp(t,n),e)}function Np(e,t=200,n=!1,r=!0,o=!1){return wa(Mp(t,n,r,o),e)}function Ea(e,t=!0){on()?ve(e):t?e():rn(e)}function Vp(e){on()&&$n(e)}function Fp(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:o=!1}=n;let a=null;const l=G(!1);function s(){a&&(clearInterval(a),a=null)}function i(){l.value=!1,s()}function c(){const u=Re(t);u<=0||(l.value=!0,o&&e(),s(),a=setInterval(e,u))}if(r&&tn&&c(),Te(t)||typeof t=="function"){const u=re(t,()=>{l.value&&tn&&c()});lt(u)}return lt(i),{isActive:l,pause:i,resume:c}}function Bp(e,t,n={}){const{immediate:r=!0}=n,o=G(!1);let a=null;function l(){a&&(clearTimeout(a),a=null)}function s(){o.value=!1,l()}function i(...c){l(),o.value=!0,a=setTimeout(()=>{o.value=!1,a=null,e(...c)},Re(t))}return r&&(o.value=!0,tn&&i()),lt(s),{isPending:jt(o),start:i,stop:s}}function Cl(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=Te(e),a=G(e);function l(s){if(arguments.length)return a.value=s,a.value;{const i=Re(n);return a.value=a.value===i?Re(r):i,a.value}}return o?l:[a,l]}var Il=Object.getOwnPropertySymbols,Hp=Object.prototype.hasOwnProperty,jp=Object.prototype.propertyIsEnumerable,Up=(e,t)=>{var n={};for(var r in e)Hp.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Il)for(var r of Il(e))t.indexOf(r)<0&&jp.call(e,r)&&(n[r]=e[r]);return n};function Wp(e,t,n={}){const r=n,{eventFilter:o=Yi}=r,a=Up(r,["eventFilter"]);return re(e,wa(o,t),a)}var qp=Object.defineProperty,Kp=Object.defineProperties,Gp=Object.getOwnPropertyDescriptors,Br=Object.getOwnPropertySymbols,Ji=Object.prototype.hasOwnProperty,Xi=Object.prototype.propertyIsEnumerable,Sl=(e,t,n)=>t in e?qp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Yp=(e,t)=>{for(var n in t||(t={}))Ji.call(t,n)&&Sl(e,n,t[n]);if(Br)for(var n of Br(t))Xi.call(t,n)&&Sl(e,n,t[n]);return e},Qp=(e,t)=>Kp(e,Gp(t)),Jp=(e,t)=>{var n={};for(var r in e)Ji.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Br)for(var r of Br(e))t.indexOf(r)<0&&Xi.call(e,r)&&(n[r]=e[r]);return n};function Xp(e,t,n={}){const r=n,{eventFilter:o}=r,a=Jp(r,["eventFilter"]),{eventFilter:l,pause:s,resume:i,isActive:c}=zp(o);return{stop:Wp(e,t,Qp(Yp({},a),{eventFilter:l})),pause:s,resume:i,isActive:c}}function Tt(e){var t;const n=Re(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Ye=tn?window:void 0,Ta=tn?window.document:void 0,Zp=tn?window.navigator:void 0;function xe(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=Ye):[t,n,r,o]=e,!t)return nn;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const a=[],l=()=>{a.forEach(u=>u()),a.length=0},s=(u,f,p,m)=>(u.addEventListener(f,p,m),()=>u.removeEventListener(f,p,m)),i=re(()=>[Tt(t),Re(o)],([u,f])=>{l(),u&&a.push(...n.flatMap(p=>r.map(m=>s(u,p,m,f))))},{immediate:!0,flush:"post"}),c=()=>{i(),l()};return lt(c),c}function eh(){const e=G(!1);return on()&&ve(()=>{e.value=!0}),e}function fr(e){const t=eh();return A(()=>(t.value,!!e()))}function th(e,t={}){const{immediate:n=!0,window:r=Ye}=t,o=G(!1);let a=0,l=null;function s(u){if(!o.value||!r)return;const f=u-a;e({delta:f,timestamp:u}),a=u,l=r.requestAnimationFrame(s)}function i(){!o.value&&r&&(o.value=!0,l=r.requestAnimationFrame(s))}function c(){o.value=!1,l!=null&&r&&(r.cancelAnimationFrame(l),l=null)}return n&&i(),lt(c),{isActive:jt(o),pause:c,resume:i}}function Zi(e,t={}){const{window:n=Ye}=t,r=fr(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const a=G(!1),l=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",s):o.removeListener(s))},s=()=>{r.value&&(l(),o=n.matchMedia(Qi(e).value),a.value=!!(o!=null&&o.matches),o&&("addEventListener"in o?o.addEventListener("change",s):o.addListener(s)))};return kd(s),lt(()=>l()),a}function nh(e={}){const{navigator:t=Zp,read:n=!1,source:r,copiedDuring:o=1500,legacy:a=!1}=e,l=["copy","cut"],s=fr(()=>t&&"clipboard"in t),i=A(()=>s.value||a),c=G(""),u=G(!1),f=Bp(()=>u.value=!1,o);function p(){s.value?t.clipboard.readText().then(T=>{c.value=T}):c.value=E()}if(i.value&&n)for(const T of l)xe(T,p);async function m(T=Re(r)){i.value&&T!=null&&(s.value?await t.clipboard.writeText(T):y(T),c.value=T,u.value=!0,f.start())}function y(T){const g=document.createElement("textarea");g.value=T??"",g.style.position="absolute",g.style.opacity="0",document.body.appendChild(g),g.select(),document.execCommand("copy"),g.remove()}function E(){var T,g,_;return(_=(g=(T=document==null?void 0:document.getSelection)==null?void 0:T.call(document))==null?void 0:g.toString())!=null?_:""}return{isSupported:i,text:c,copied:u,copy:m}}const Or=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ar="__vueuse_ssr_handlers__",rh=oh();function oh(){return Ar in Or||(Or[Ar]=Or[Ar]||{}),Or[Ar]}function ah(e,t){return rh[e]||t}function lh(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"}var sh=Object.defineProperty,Rl=Object.getOwnPropertySymbols,ih=Object.prototype.hasOwnProperty,ch=Object.prototype.propertyIsEnumerable,$l=(e,t,n)=>t in e?sh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Dl=(e,t)=>{for(var n in t||(t={}))ih.call(t,n)&&$l(e,n,t[n]);if(Rl)for(var n of Rl(t))ch.call(t,n)&&$l(e,n,t[n]);return e};const uh={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()}},Ml="vueuse-storage";function Oa(e,t,n,r={}){var o;const{flush:a="pre",deep:l=!0,listenToStorageChanges:s=!0,writeDefaults:i=!0,mergeDefaults:c=!1,shallow:u,window:f=Ye,eventFilter:p,onError:m=P=>{console.error(P)}}=r,y=(u?it:G)(t);if(!n)try{n=ah("getDefaultStorage",()=>{var P;return(P=Ye)==null?void 0:P.localStorage})()}catch(P){m(P)}if(!n)return y;const E=Re(t),T=lh(E),g=(o=r.serializer)!=null?o:uh[T],{pause:_,resume:R}=Xp(y,()=>I(y.value),{flush:a,deep:l,eventFilter:p});return f&&s&&(xe(f,"storage",z),xe(f,Ml,S)),z(),y;function I(P){try{if(P==null)n.removeItem(e);else{const U=g.write(P),X=n.getItem(e);X!==U&&(n.setItem(e,U),f&&f.dispatchEvent(new CustomEvent(Ml,{detail:{key:e,oldValue:X,newValue:U,storageArea:n}})))}}catch(U){m(U)}}function j(P){const U=P?P.newValue:n.getItem(e);if(U==null)return i&&E!==null&&n.setItem(e,g.write(E)),E;if(!P&&c){const X=g.read(U);return typeof c=="function"?c(X,E):T==="object"&&!Array.isArray(X)?Dl(Dl({},E),X):X}else return typeof U!="string"?U:g.read(U)}function S(P){z(P.detail)}function z(P){if(!(P&&P.storageArea!==n)){if(P&&P.key==null){y.value=E;return}if(!(P&&P.key!==e)){_();try{y.value=j(P)}catch(U){m(U)}finally{P?rn(R):R()}}}}}function dh(e){return Zi("(prefers-color-scheme: dark)",e)}var zl=Object.getOwnPropertySymbols,fh=Object.prototype.hasOwnProperty,ph=Object.prototype.propertyIsEnumerable,hh=(e,t)=>{var n={};for(var r in e)fh.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&zl)for(var r of zl(e))t.indexOf(r)<0&&ph.call(e,r)&&(n[r]=e[r]);return n};function mh(e,t,n={}){const r=n,{window:o=Ye}=r,a=hh(r,["window"]);let l;const s=fr(()=>o&&"MutationObserver"in o),i=()=>{l&&(l.disconnect(),l=void 0)},c=re(()=>Tt(e),f=>{i(),s.value&&o&&f&&(l=new MutationObserver(t),l.observe(f,a))},{immediate:!0}),u=()=>{i(),c()};return lt(u),{isSupported:s,stop:u}}var Nl=Object.getOwnPropertySymbols,vh=Object.prototype.hasOwnProperty,gh=Object.prototype.propertyIsEnumerable,_h=(e,t)=>{var n={};for(var r in e)vh.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Nl)for(var r of Nl(e))t.indexOf(r)<0&&gh.call(e,r)&&(n[r]=e[r]);return n};function bh(e,t,n={}){const r=n,{window:o=Ye}=r,a=_h(r,["window"]);let l;const s=fr(()=>o&&"ResizeObserver"in o),i=()=>{l&&(l.disconnect(),l=void 0)},c=A(()=>Array.isArray(e)?e.map(p=>Tt(p)):[Tt(e)]),u=re(c,p=>{if(i(),s.value&&o){l=new ResizeObserver(t);for(const m of p)m&&l.observe(m,a)}},{immediate:!0,flush:"post",deep:!0}),f=()=>{i(),u()};return lt(f),{isSupported:s,stop:f}}function yh(e,t={width:0,height:0},n={}){const{window:r=Ye,box:o="content-box"}=n,a=A(()=>{var i,c;return(c=(i=Tt(e))==null?void 0:i.namespaceURI)==null?void 0:c.includes("svg")}),l=G(t.width),s=G(t.height);return bh(e,([i])=>{const c=o==="border-box"?i.borderBoxSize:o==="content-box"?i.contentBoxSize:i.devicePixelContentBoxSize;if(r&&a.value){const u=Tt(e);if(u){const f=r.getComputedStyle(u);l.value=parseFloat(f.width),s.value=parseFloat(f.height)}}else if(c){const u=Array.isArray(c)?c:[c];l.value=u.reduce((f,{inlineSize:p})=>f+p,0),s.value=u.reduce((f,{blockSize:p})=>f+p,0)}else l.value=i.contentRect.width,s.value=i.contentRect.height},n),re(()=>Tt(e),i=>{l.value=i?t.width:0,s.value=i?t.height:0}),{width:l,height:s}}const Vl=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Aa(e,t={}){const{document:n=Ta,autoExit:r=!1}=t,o=A(()=>{var g;return(g=Tt(e))!=null?g:n==null?void 0:n.querySelector("html")}),a=G(!1),l=A(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(g=>n&&g in n||o.value&&g in o.value)),s=A(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(g=>n&&g in n||o.value&&g in o.value)),i=A(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(g=>n&&g in n||o.value&&g in o.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(g=>n&&g in n),u=fr(()=>o.value&&n&&l.value!==void 0&&s.value!==void 0&&i.value!==void 0),f=()=>c?(n==null?void 0:n[c])===o.value:!1,p=()=>{if(i.value){if(n&&n[i.value]!=null)return n[i.value];{const g=o.value;if((g==null?void 0:g[i.value])!=null)return!!g[i.value]}}return!1};async function m(){if(u.value){if(s.value)if((n==null?void 0:n[s.value])!=null)await n[s.value]();else{const g=o.value;(g==null?void 0:g[s.value])!=null&&await g[s.value]()}a.value=!1}}async function y(){if(!u.value)return;p()&&await m();const g=o.value;l.value&&(g==null?void 0:g[l.value])!=null&&(await g[l.value](),a.value=!0)}async function E(){await(a.value?m():y())}const T=()=>{const g=p();(!g||g&&f())&&(a.value=g)};return xe(n,Vl,T,!1),xe(()=>Tt(o),Vl,T,!1),r&<(m),{isSupported:u,isFullscreen:a,enter:y,exit:m,toggle:E}}var wh=Object.defineProperty,Fl=Object.getOwnPropertySymbols,Eh=Object.prototype.hasOwnProperty,Th=Object.prototype.propertyIsEnumerable,Bl=(e,t,n)=>t in e?wh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Oh=(e,t)=>{for(var n in t||(t={}))Eh.call(t,n)&&Bl(e,n,t[n]);if(Fl)for(var n of Fl(t))Th.call(t,n)&&Bl(e,n,t[n]);return e};function K0(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,r=G(new Date),o=()=>r.value=new Date,a=n==="requestAnimationFrame"?th(o,{immediate:!0}):Fp(o,n,{immediate:!0});return t?Oh({now:r},a):r}function Ah(e={}){const{window:t=Ye}=e;if(!t)return G(["en"]);const n=t.navigator,r=G(n.languages);return xe(t,"languagechange",()=>{r.value=n.languages}),r}function G0(e,t=nn,n={}){const{immediate:r=!0,manual:o=!1,type:a="text/javascript",async:l=!0,crossOrigin:s,referrerPolicy:i,noModule:c,defer:u,document:f=Ta,attrs:p={}}=n,m=G(null);let y=null;const E=_=>new Promise((R,I)=>{const j=P=>(m.value=P,R(P),P);if(!f){R(!1);return}let S=!1,z=f.querySelector(`script[src="${Re(e)}"]`);z?z.hasAttribute("data-loaded")&&j(z):(z=f.createElement("script"),z.type=a,z.async=l,z.src=Re(e),u&&(z.defer=u),s&&(z.crossOrigin=s),c&&(z.noModule=c),i&&(z.referrerPolicy=i),Object.entries(p).forEach(([P,U])=>z==null?void 0:z.setAttribute(P,U)),S=!0),z.addEventListener("error",P=>I(P)),z.addEventListener("abort",P=>I(P)),z.addEventListener("load",()=>{z.setAttribute("data-loaded","true"),t(z),j(z)}),S&&(z=f.head.appendChild(z)),_||j(z)}),T=(_=!0)=>(y||(y=E(_)),y),g=()=>{if(!f)return;y=null,m.value&&(m.value=null);const _=f.querySelector(`script[src="${Re(e)}"]`);_&&f.head.removeChild(_)};return r&&!o&&Ea(T),o||Vp(g),{scriptTag:m,load:T,unload:g}}function ec(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientHeight<e.scrollHeight||t.overflowY==="auto"&&e.clientWidth<e.scrollWidth)return!0;{const n=e.parentNode;return!n||n.tagName==="BODY"?!1:ec(n)}}function Ph(e){const t=e||window.event,n=t.target;return ec(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}function Pa(e,t=!1){const n=G(t);let r=null,o;re(Qi(e),s=>{if(s){const i=s;o=i.style.overflow,n.value&&(i.style.overflow="hidden")}},{immediate:!0});const a=()=>{const s=Re(e);!s||n.value||(xl&&(r=xe(s,"touchmove",i=>{Ph(i)},{passive:!1})),s.style.overflow="hidden",n.value=!0)},l=()=>{const s=Re(e);!s||!n.value||(xl&&(r==null||r()),s.style.overflow=o,n.value=!1)};return lt(l),A({get(){return n.value},set(s){s?a():l()}})}function kh(e,t,n={}){const{window:r=Ye}=n;return Oa(e,t,r==null?void 0:r.sessionStorage,n)}let Lh=0;function xh(e,t={}){const n=G(!1),{document:r=Ta,immediate:o=!0,manual:a=!1,id:l=`vueuse_styletag_${++Lh}`}=t,s=G(e);let i=()=>{};const c=()=>{if(!r)return;const f=r.getElementById(l)||r.createElement("style");f.isConnected||(f.type="text/css",f.id=l,t.media&&(f.media=t.media),r.head.appendChild(f)),!n.value&&(i=re(s,p=>{f.textContent=p},{immediate:!0}),n.value=!0)},u=()=>{!r||!n.value||(i(),r.head.removeChild(r.getElementById(l)),n.value=!1)};return o&&!a&&Ea(c),a||lt(u),{id:l,css:s,unload:u,load:c,isLoaded:jt(n)}}function Ch({window:e=Ye}={}){if(!e)return{x:G(0),y:G(0)};const t=G(e.scrollX),n=G(e.scrollY);return xe(e,"scroll",()=>{t.value=e.scrollX,n.value=e.scrollY},{capture:!1,passive:!0}),{x:t,y:n}}function Ih(e={}){const{window:t=Ye,initialWidth:n=1/0,initialHeight:r=1/0,listenOrientation:o=!0,includeScrollbar:a=!0}=e,l=G(n),s=G(r),i=()=>{t&&(a?(l.value=t.innerWidth,s.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,s.value=t.document.documentElement.clientHeight))};if(i(),Ea(i),xe("resize",i,{passive:!0}),o){const c=Zi("(orientation: portrait)");re(c,()=>i())}return{width:l,height:s}}var Sh=B({name:"FontIcon",props:{icon:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""}},setup(e){const t=A(()=>{const r=["font-icon icon"],o=`iconfont icon-${e.icon}`;return r.push(o),r}),n=A(()=>{const r={};return e.color&&(r.color=e.color),e.size&&(r["font-size"]=Number.isNaN(Number(e.size))?e.size:`${e.size}px`),Mn(r).length?r:null});return()=>e.icon?d("span",{key:e.icon,class:t.value,style:n.value}):null}});const tc=({type:e="info",text:t="",vertical:n="top",color:r},{slots:o})=>{var a;return d("span",{class:["badge",e,{diy:r}],style:{verticalAlign:n,...r?{backgroundColor:r}:{}}},((a=o.default)==null?void 0:a.call(o))||t)};tc.displayName="Badge";const Rh="accelerometer; autoplay; clipboard-write; encrypted-media; fullscreen; gyroscope; picture-in-picture",Hl=e=>ae(e)?e:`${e}px`,$h=(e,t=0)=>{const n=it(),r=A(()=>Hl(nt(e.width)||"100%")),o=G("auto"),a=i=>{if(ae(i)){const[c,u]=i.split(":"),f=Number(c)/Number(u);if(!Number.isNaN(f))return f}return typeof i=="number"?i:16/9},l=i=>{const c=nt(e.height),u=a(nt(e.ratio));return c?Hl(c):`${Number(i)/u+nt(t)}px`},s=()=>{n.value&&(o.value=l(n.value.clientWidth))};return ve(()=>{s(),Te(t)&&re(t,()=>s()),xe("orientationchange",()=>s()),xe("resize",()=>s())}),{el:n,width:r,height:o}},jl="https://player.bilibili.com/player.html";var Dh=B({name:"BiliBili",props:{bvid:{type:String,default:""},aid:{type:String,default:""},cid:{type:String,default:""},title:{type:String,default:"A BiliBili video"},page:{type:[String,Number],default:1},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:void 0},ratio:{type:[String,Number],default:16/9},time:{type:[String,Number],default:0},autoplay:Boolean},setup(e){const{el:t,width:n,height:r}=$h(e),o=A(()=>{const{aid:a,bvid:l,cid:s,autoplay:i,time:c,page:u}=e;return a&&s?`${jl}?aid=${a}&cid=${s}&t=${c}&autoplay=${i?1:0}&page=${u}`:l?`${jl}?bvid=${l}&t=${c}&autoplay=${i?1:0}`:null});return()=>o.value?[d("div",{class:"bili-desc"},d("a",{class:"sr-only",href:o.value},e.title)),d("iframe",{ref:t,src:o.value,title:e.title,class:"bili-iframe",allow:Rh,style:{width:n.value,height:r.value}})]:null}});const nc=()=>d(we,{name:"back-to-top"},()=>[d("path",{d:"M512 843.2c-36.2 0-66.4-13.6-85.8-21.8-10.8-4.6-22.6 3.6-21.8 15.2l7 102c.4 6.2 7.6 9.4 12.6 5.6l29-22c3.6-2.8 9-1.8 11.4 2l41 64.2c3 4.8 10.2 4.8 13.2 0l41-64.2c2.4-3.8 7.8-4.8 11.4-2l29 22c5 3.8 12.2.6 12.6-5.6l7-102c.8-11.6-11-20-21.8-15.2-19.6 8.2-49.6 21.8-85.8 21.8z"}),d("path",{d:"m795.4 586.2-96-98.2C699.4 172 513 32 513 32S324.8 172 324.8 488l-96 98.2c-3.6 3.6-5.2 9-4.4 14.2L261.2 824c1.8 11.4 14.2 17 23.6 10.8L419 744s41.4 40 94.2 40c52.8 0 92.2-40 92.2-40l134.2 90.8c9.2 6.2 21.6.6 23.6-10.8l37-223.8c.4-5.2-1.2-10.4-4.8-14zM513 384c-34 0-61.4-28.6-61.4-64s27.6-64 61.4-64c34 0 61.4 28.6 61.4 64S547 384 513 384z"})]);nc.displayName="BackToTopIcon";var Mh=B({name:"BackToTop",props:{threshold:{type:Number,default:100},noProgress:Boolean},setup(e){const t=Pe(),n=an({"/zh/":{backToTop:"返回顶部"},"/en/":{backToTop:"Back to top"},"/":{backToTop:"Back to top"}}),r=it(),{height:o}=yh(r),{height:a}=Ih(),{y:l}=Ch(),s=A(()=>t.value.backToTop!==!1&&l.value>e.threshold),i=A(()=>l.value/(o.value-a.value));return ve(()=>{r.value=document.body}),()=>d(Pt,{name:"fade"},()=>s.value?d("button",{type:"button",class:"back-to-top","aria-label":n.value.backToTop,"data-balloon-pos":"left",onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[e.noProgress?null:d("svg",{class:"scroll-progress"},d("circle",{cx:"50%",cy:"50%",style:{"stroke-dasharray":`calc(${Math.PI*i.value*100}% - ${4*Math.PI}px) calc(${Math.PI*100}% - ${4*Math.PI}px)`}})),d(nc)]):null)}});const zh=De({enhance:({app:e})=>{pt("FontIcon")||e.component("FontIcon",Sh),pt("Badge")||e.component("Badge",tc),pt("BiliBili")||e.component("BiliBili",Dh)},setup:()=>{xh(` @import url("https://at.alicdn.com/t/c/font_2410206_5vb9zlyghj.css");
|
||
`)},rootComponents:[()=>d(Mh,{})]});function rc(e,t,n){var r,o,a;t===void 0&&(t=50),n===void 0&&(n={});var l=(r=n.isImmediate)!=null&&r,s=(o=n.callback)!=null&&o,i=n.maxWait,c=Date.now(),u=[];function f(){if(i!==void 0){var m=Date.now()-c;if(m+t>=i)return i-m}return t}var p=function(){var m=[].slice.call(arguments),y=this;return new Promise(function(E,T){var g=l&&a===void 0;if(a!==void 0&&clearTimeout(a),a=setTimeout(function(){if(a=void 0,c=Date.now(),!l){var R=e.apply(y,m);s&&s(R),u.forEach(function(I){return(0,I.resolve)(R)}),u=[]}},f()),g){var _=e.apply(y,m);return s&&s(_),E(_)}u.push({resolve:E,reject:T})})};return p.cancel=function(m){a!==void 0&&clearTimeout(a),u.forEach(function(y){return(0,y.reject)(m)}),u=[]},p}/*!
|
||
* vue-router v4.2.1
|
||
* (c) 2023 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const fn=typeof window<"u";function Nh(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const fe=Object.assign;function mo(e,t){const n={};for(const r in t){const o=t[r];n[r]=st(o)?o.map(e):e(o)}return n}const Yn=()=>{},st=Array.isArray,Vh=/\/$/,Fh=e=>e.replace(Vh,"");function vo(e,t,n="/"){let r,o={},a="",l="";const s=t.indexOf("#");let i=t.indexOf("?");return s<i&&s>=0&&(i=-1),i>-1&&(r=t.slice(0,i),a=t.slice(i+1,s>-1?s:t.length),o=e(a)),s>-1&&(r=r||t.slice(0,s),l=t.slice(s,t.length)),r=Uh(r??t,n),{fullPath:r+(a&&"?")+a+l,path:r,query:o,hash:l}}function Bh(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ul(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Hh(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Pn(t.matched[r],n.matched[o])&&oc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Pn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function oc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!jh(e[n],t[n]))return!1;return!0}function jh(e,t){return st(e)?Wl(e,t):st(t)?Wl(t,e):e===t}function Wl(e,t){return st(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Uh(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let a=n.length-1,l,s;for(l=0;l<r.length;l++)if(s=r[l],s!==".")if(s==="..")a>1&&a--;else break;return n.slice(0,a).join("/")+"/"+r.slice(l-(l===r.length?1:0)).join("/")}var lr;(function(e){e.pop="pop",e.push="push"})(lr||(lr={}));var Qn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Qn||(Qn={}));function Wh(e){if(!e)if(fn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Fh(e)}const qh=/^[^#]+#/;function Kh(e,t){return e.replace(qh,"#")+t}function Gh(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 to=()=>({left:window.pageXOffset,top:window.pageYOffset});function Yh(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Gh(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function ql(e,t){return(history.state?history.state.position-t:-1)+e}const Do=new Map;function Qh(e,t){Do.set(e,t)}function Jh(e){const t=Do.get(e);return Do.delete(e),t}let Xh=()=>location.protocol+"//"+location.host;function ac(e,t){const{pathname:n,search:r,hash:o}=t,a=e.indexOf("#");if(a>-1){let s=o.includes(e.slice(a))?e.slice(a).length:1,i=o.slice(s);return i[0]!=="/"&&(i="/"+i),Ul(i,"")}return Ul(n,e)+r+o}function Zh(e,t,n,r){let o=[],a=[],l=null;const s=({state:p})=>{const m=ac(e,location),y=n.value,E=t.value;let T=0;if(p){if(n.value=m,t.value=p,l&&l===y){l=null;return}T=E?p.position-E.position:0}else r(m);o.forEach(g=>{g(n.value,y,{delta:T,type:lr.pop,direction:T?T>0?Qn.forward:Qn.back:Qn.unknown})})};function i(){l=n.value}function c(p){o.push(p);const m=()=>{const y=o.indexOf(p);y>-1&&o.splice(y,1)};return a.push(m),m}function u(){const{history:p}=window;p.state&&p.replaceState(fe({},p.state,{scroll:to()}),"")}function f(){for(const p of a)p();a=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:i,listen:c,destroy:f}}function Kl(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?to():null}}function em(e){const{history:t,location:n}=window,r={value:ac(e,n)},o={value:t.state};o.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(i,c,u){const f=e.indexOf("#"),p=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+i:Xh()+e+i;try{t[u?"replaceState":"pushState"](c,"",p),o.value=c}catch(m){console.error(m),n[u?"replace":"assign"](p)}}function l(i,c){const u=fe({},t.state,Kl(o.value.back,i,o.value.forward,!0),c,{position:o.value.position});a(i,u,!0),r.value=i}function s(i,c){const u=fe({},o.value,t.state,{forward:i,scroll:to()});a(u.current,u,!0);const f=fe({},Kl(r.value,i,null),{position:u.position+1},c);a(i,f,!1),r.value=i}return{location:r,state:o,push:s,replace:l}}function tm(e){e=Wh(e);const t=em(e),n=Zh(e,t.state,t.location,t.replace);function r(a,l=!0){l||n.pauseListeners(),history.go(a)}const o=fe({location:"",base:e,go:r,createHref:Kh.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function nm(e){return typeof e=="string"||e&&typeof e=="object"}function lc(e){return typeof e=="string"||typeof e=="symbol"}const bt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},sc=Symbol("");var Gl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Gl||(Gl={}));function kn(e,t){return fe(new Error,{type:e,[sc]:!0},t)}function vt(e,t){return e instanceof Error&&sc in e&&(t==null||!!(e.type&t))}const Yl="[^/]+?",rm={sensitive:!1,strict:!1,start:!0,end:!0},om=/[.+*?^${}()[\]/\\]/g;function am(e,t){const n=fe({},rm,t),r=[];let o=n.start?"^":"";const a=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let f=0;f<c.length;f++){const p=c[f];let m=40+(n.sensitive?.25:0);if(p.type===0)f||(o+="/"),o+=p.value.replace(om,"\\$&"),m+=40;else if(p.type===1){const{value:y,repeatable:E,optional:T,regexp:g}=p;a.push({name:y,repeatable:E,optional:T});const _=g||Yl;if(_!==Yl){m+=10;try{new RegExp(`(${_})`)}catch(I){throw new Error(`Invalid custom RegExp for param "${y}" (${_}): `+I.message)}}let R=E?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;f||(R=T&&c.length<2?`(?:/${R})`:"/"+R),T&&(R+="?"),o+=R,m+=20,T&&(m+=-8),E&&(m+=-20),_===".*"&&(m+=-50)}u.push(m)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const l=new RegExp(o,n.sensitive?"":"i");function s(c){const u=c.match(l),f={};if(!u)return null;for(let p=1;p<u.length;p++){const m=u[p]||"",y=a[p-1];f[y.name]=m&&y.repeatable?m.split("/"):m}return f}function i(c){let u="",f=!1;for(const p of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const m of p)if(m.type===0)u+=m.value;else if(m.type===1){const{value:y,repeatable:E,optional:T}=m,g=y in c?c[y]:"";if(st(g)&&!E)throw new Error(`Provided param "${y}" is an array but it is not repeatable (* or + modifiers)`);const _=st(g)?g.join("/"):g;if(!_)if(T)p.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${y}"`);u+=_}}return u||"/"}return{re:l,score:r,keys:a,parse:s,stringify:i}}function lm(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]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function sm(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const a=lm(r[n],o[n]);if(a)return a;n++}if(Math.abs(o.length-r.length)===1){if(Ql(r))return 1;if(Ql(o))return-1}return o.length-r.length}function Ql(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const im={type:0,value:""},cm=/[a-zA-Z0-9_]/;function um(e){if(!e)return[[]];if(e==="/")return[[im]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${c}": ${m}`)}let n=0,r=n;const o=[];let a;function l(){a&&o.push(a),a=[]}let s=0,i,c="",u="";function f(){c&&(n===0?a.push({type:0,value:c}):n===1||n===2||n===3?(a.length>1&&(i==="*"||i==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:c,regexp:u,repeatable:i==="*"||i==="+",optional:i==="*"||i==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=i}for(;s<e.length;){if(i=e[s++],i==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:i==="/"?(c&&f(),l()):i===":"?(f(),n=1):p();break;case 4:p(),n=r;break;case 1:i==="("?n=2:cm.test(i)?p():(f(),n=0,i!=="*"&&i!=="?"&&i!=="+"&&s--);break;case 2:i===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+i:n=3:u+=i;break;case 3:f(),n=0,i!=="*"&&i!=="?"&&i!=="+"&&s--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),l(),o}function dm(e,t,n){const r=am(um(e.path),n),o=fe(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function fm(e,t){const n=[],r=new Map;t=Zl({strict:!1,end:!0,sensitive:!1},t);function o(u){return r.get(u)}function a(u,f,p){const m=!p,y=pm(u);y.aliasOf=p&&p.record;const E=Zl(t,u),T=[y];if("alias"in u){const R=typeof u.alias=="string"?[u.alias]:u.alias;for(const I of R)T.push(fe({},y,{components:p?p.record.components:y.components,path:I,aliasOf:p?p.record:y}))}let g,_;for(const R of T){const{path:I}=R;if(f&&I[0]!=="/"){const j=f.record.path,S=j[j.length-1]==="/"?"":"/";R.path=f.record.path+(I&&S+I)}if(g=dm(R,f,E),p?p.alias.push(g):(_=_||g,_!==g&&_.alias.push(g),m&&u.name&&!Xl(g)&&l(u.name)),y.children){const j=y.children;for(let S=0;S<j.length;S++)a(j[S],g,p&&p.children[S])}p=p||g,(g.record.components&&Object.keys(g.record.components).length||g.record.name||g.record.redirect)&&i(g)}return _?()=>{l(_)}:Yn}function l(u){if(lc(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(l),f.alias.forEach(l))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(l),u.alias.forEach(l))}}function s(){return n}function i(u){let f=0;for(;f<n.length&&sm(u,n[f])>=0&&(u.record.path!==n[f].record.path||!ic(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!Xl(u)&&r.set(u.record.name,u)}function c(u,f){let p,m={},y,E;if("name"in u&&u.name){if(p=r.get(u.name),!p)throw kn(1,{location:u});E=p.record.name,m=fe(Jl(f.params,p.keys.filter(_=>!_.optional).map(_=>_.name)),u.params&&Jl(u.params,p.keys.map(_=>_.name))),y=p.stringify(m)}else if("path"in u)y=u.path,p=n.find(_=>_.re.test(y)),p&&(m=p.parse(y),E=p.record.name);else{if(p=f.name?r.get(f.name):n.find(_=>_.re.test(f.path)),!p)throw kn(1,{location:u,currentLocation:f});E=p.record.name,m=fe({},f.params,u.params),y=p.stringify(m)}const T=[];let g=p;for(;g;)T.unshift(g.record),g=g.parent;return{name:E,path:y,params:m,matched:T,meta:mm(T)}}return e.forEach(u=>a(u)),{addRoute:a,resolve:c,removeRoute:l,getRoutes:s,getRecordMatcher:o}}function Jl(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function pm(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:hm(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function hm(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=="boolean"?n:n[r];return t}function Xl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function mm(e){return e.reduce((t,n)=>fe(t,n.meta),{})}function Zl(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function ic(e,t){return t.children.some(n=>n===e||ic(e,n))}const cc=/#/g,vm=/&/g,gm=/\//g,_m=/=/g,bm=/\?/g,uc=/\+/g,ym=/%5B/g,wm=/%5D/g,dc=/%5E/g,Em=/%60/g,fc=/%7B/g,Tm=/%7C/g,pc=/%7D/g,Om=/%20/g;function ka(e){return encodeURI(""+e).replace(Tm,"|").replace(ym,"[").replace(wm,"]")}function Am(e){return ka(e).replace(fc,"{").replace(pc,"}").replace(dc,"^")}function Mo(e){return ka(e).replace(uc,"%2B").replace(Om,"+").replace(cc,"%23").replace(vm,"%26").replace(Em,"`").replace(fc,"{").replace(pc,"}").replace(dc,"^")}function Pm(e){return Mo(e).replace(_m,"%3D")}function km(e){return ka(e).replace(cc,"%23").replace(bm,"%3F")}function Lm(e){return e==null?"":km(e).replace(gm,"%2F")}function Hr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function xm(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const a=r[o].replace(uc," "),l=a.indexOf("="),s=Hr(l<0?a:a.slice(0,l)),i=l<0?null:Hr(a.slice(l+1));if(s in t){let c=t[s];st(c)||(c=t[s]=[c]),c.push(i)}else t[s]=i}return t}function es(e){let t="";for(let n in e){const r=e[n];if(n=Pm(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(st(r)?r.map(a=>a&&Mo(a)):[r&&Mo(r)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+n,a!=null&&(t+="="+a))})}return t}function Cm(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=st(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const Im=Symbol(""),ts=Symbol(""),no=Symbol(""),La=Symbol(""),zo=Symbol("");function Bn(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function zt(e,t,n,r,o){const a=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((l,s)=>{const i=f=>{f===!1?s(kn(4,{from:n,to:t})):f instanceof Error?s(f):nm(f)?s(kn(2,{from:t,to:f})):(a&&r.enterCallbacks[o]===a&&typeof f=="function"&&a.push(f),l())},c=e.call(r&&r.instances[o],t,n,i);let u=Promise.resolve(c);e.length<3&&(u=u.then(i)),u.catch(f=>s(f))})}function go(e,t,n,r){const o=[];for(const a of e)for(const l in a.components){let s=a.components[l];if(!(t!=="beforeRouteEnter"&&!a.instances[l]))if(Sm(s)){const c=(s.__vccOpts||s)[t];c&&o.push(zt(c,n,r,a,l))}else{let i=s();o.push(()=>i.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${a.path}"`));const u=Nh(c)?c.default:c;a.components[l]=u;const p=(u.__vccOpts||u)[t];return p&&zt(p,n,r,a,l)()}))}}return o}function Sm(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function No(e){const t=Ee(no),n=Ee(La),r=A(()=>t.resolve(nt(e.to))),o=A(()=>{const{matched:i}=r.value,{length:c}=i,u=i[c-1],f=n.matched;if(!u||!f.length)return-1;const p=f.findIndex(Pn.bind(null,u));if(p>-1)return p;const m=ns(i[c-2]);return c>1&&ns(u)===m&&f[f.length-1].path!==m?f.findIndex(Pn.bind(null,i[c-2])):p}),a=A(()=>o.value>-1&&Dm(n.params,r.value.params)),l=A(()=>o.value>-1&&o.value===n.matched.length-1&&oc(n.params,r.value.params));function s(i={}){return $m(i)?t[nt(e.replace)?"replace":"push"](nt(e.to)).catch(Yn):Promise.resolve()}return{route:r,href:A(()=>r.value.href),isActive:a,isExactActive:l,navigate:s}}const Rm=B({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"}},useLink:No,setup(e,{slots:t}){const n=Rn(No(e)),{options:r}=Ee(no),o=A(()=>({[rs(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[rs(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const a=t.default&&t.default(n);return e.custom?a:d("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},a)}}}),Ot=Rm;function $m(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 Dm(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!st(o)||o.length!==r.length||r.some((a,l)=>a!==o[l]))return!1}return!0}function ns(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const rs=(e,t,n)=>e??t??n,Mm=B({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ee(zo),o=A(()=>e.route||r.value),a=Ee(ts,0),l=A(()=>{let c=nt(a);const{matched:u}=o.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),s=A(()=>o.value.matched[l.value]);Jt(ts,A(()=>l.value+1)),Jt(Im,s),Jt(zo,o);const i=G();return re(()=>[i.value,s.value,e.name],([c,u,f],[p,m,y])=>{u&&(u.instances[f]=c,m&&m!==u&&c&&c===p&&(u.leaveGuards.size||(u.leaveGuards=m.leaveGuards),u.updateGuards.size||(u.updateGuards=m.updateGuards))),c&&u&&(!m||!Pn(u,m)||!p)&&(u.enterCallbacks[f]||[]).forEach(E=>E(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,f=s.value,p=f&&f.components[u];if(!p)return os(n.default,{Component:p,route:c});const m=f.props[u],y=m?m===!0?c.params:typeof m=="function"?m(c):m:null,T=d(p,fe({},y,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(f.instances[u]=null)},ref:i}));return os(n.default,{Component:T,route:c})||T}}});function os(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const hc=Mm;function zm(e){const t=fm(e.routes,e),n=e.parseQuery||xm,r=e.stringifyQuery||es,o=e.history,a=Bn(),l=Bn(),s=Bn(),i=it(bt);let c=bt;fn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=mo.bind(null,k=>""+k),f=mo.bind(null,Lm),p=mo.bind(null,Hr);function m(k,F){let M,Y;return lc(k)?(M=t.getRecordMatcher(k),Y=F):Y=k,t.addRoute(Y,M)}function y(k){const F=t.getRecordMatcher(k);F&&t.removeRoute(F)}function E(){return t.getRoutes().map(k=>k.record)}function T(k){return!!t.getRecordMatcher(k)}function g(k,F){if(F=fe({},F||i.value),typeof k=="string"){const b=vo(n,k,F.path),O=t.resolve({path:b.path},F),L=o.createHref(b.fullPath);return fe(b,O,{params:p(O.params),hash:Hr(b.hash),redirectedFrom:void 0,href:L})}let M;if("path"in k)M=fe({},k,{path:vo(n,k.path,F.path).path});else{const b=fe({},k.params);for(const O in b)b[O]==null&&delete b[O];M=fe({},k,{params:f(b)}),F.params=f(F.params)}const Y=t.resolve(M,F),de=k.hash||"";Y.params=u(p(Y.params));const h=Bh(r,fe({},k,{hash:Am(de),path:Y.path})),v=o.createHref(h);return fe({fullPath:h,hash:de,query:r===es?Cm(k.query):k.query||{}},Y,{redirectedFrom:void 0,href:v})}function _(k){return typeof k=="string"?vo(n,k,i.value.path):fe({},k)}function R(k,F){if(c!==k)return kn(8,{from:F,to:k})}function I(k){return z(k)}function j(k){return I(fe(_(k),{replace:!0}))}function S(k){const F=k.matched[k.matched.length-1];if(F&&F.redirect){const{redirect:M}=F;let Y=typeof M=="function"?M(k):M;return typeof Y=="string"&&(Y=Y.includes("?")||Y.includes("#")?Y=_(Y):{path:Y},Y.params={}),fe({query:k.query,hash:k.hash,params:"path"in Y?{}:k.params},Y)}}function z(k,F){const M=c=g(k),Y=i.value,de=k.state,h=k.force,v=k.replace===!0,b=S(M);if(b)return z(fe(_(b),{state:typeof b=="object"?fe({},de,b.state):de,force:h,replace:v}),F||M);const O=M;O.redirectedFrom=F;let L;return!h&&Hh(r,Y,M)&&(L=kn(16,{to:O,from:Y}),ct(Y,Y,!0,!1)),(L?Promise.resolve(L):X(O,Y)).catch(x=>vt(x)?vt(x,2)?x:Ct(x):ue(x,O,Y)).then(x=>{if(x){if(vt(x,2))return z(fe({replace:v},_(x.to),{state:typeof x.to=="object"?fe({},de,x.to.state):de,force:h}),F||O)}else x=H(O,Y,!0,v,de);return oe(O,Y,x),x})}function P(k,F){const M=R(k,F);return M?Promise.reject(M):Promise.resolve()}function U(k){const F=sn.values().next().value;return F&&typeof F.runWithContext=="function"?F.runWithContext(k):k()}function X(k,F){let M;const[Y,de,h]=Nm(k,F);M=go(Y.reverse(),"beforeRouteLeave",k,F);for(const b of Y)b.leaveGuards.forEach(O=>{M.push(zt(O,k,F))});const v=P.bind(null,k,F);return M.push(v),Ie(M).then(()=>{M=[];for(const b of a.list())M.push(zt(b,k,F));return M.push(v),Ie(M)}).then(()=>{M=go(de,"beforeRouteUpdate",k,F);for(const b of de)b.updateGuards.forEach(O=>{M.push(zt(O,k,F))});return M.push(v),Ie(M)}).then(()=>{M=[];for(const b of k.matched)if(b.beforeEnter&&!F.matched.includes(b))if(st(b.beforeEnter))for(const O of b.beforeEnter)M.push(zt(O,k,F));else M.push(zt(b.beforeEnter,k,F));return M.push(v),Ie(M)}).then(()=>(k.matched.forEach(b=>b.enterCallbacks={}),M=go(h,"beforeRouteEnter",k,F),M.push(v),Ie(M))).then(()=>{M=[];for(const b of l.list())M.push(zt(b,k,F));return M.push(v),Ie(M)}).catch(b=>vt(b,8)?b:Promise.reject(b))}function oe(k,F,M){for(const Y of s.list())U(()=>Y(k,F,M))}function H(k,F,M,Y,de){const h=R(k,F);if(h)return h;const v=F===bt,b=fn?history.state:{};M&&(Y||v?o.replace(k.fullPath,fe({scroll:v&&b&&b.scroll},de)):o.push(k.fullPath,de)),i.value=k,ct(k,F,M,v),Ct()}let ee;function K(){ee||(ee=o.listen((k,F,M)=>{if(!hr.listening)return;const Y=g(k),de=S(Y);if(de){z(fe(de,{replace:!0}),Y).catch(Yn);return}c=Y;const h=i.value;fn&&Qh(ql(h.fullPath,M.delta),to()),X(Y,h).catch(v=>vt(v,12)?v:vt(v,2)?(z(v.to,Y).then(b=>{vt(b,20)&&!M.delta&&M.type===lr.pop&&o.go(-1,!1)}).catch(Yn),Promise.reject()):(M.delta&&o.go(-M.delta,!1),ue(v,Y,h))).then(v=>{v=v||H(Y,h,!1),v&&(M.delta&&!vt(v,8)?o.go(-M.delta,!1):M.type===lr.pop&&vt(v,20)&&o.go(-1,!1)),oe(Y,h,v)}).catch(Yn)}))}let Ce=Bn(),ce=Bn(),_e;function ue(k,F,M){Ct(k);const Y=ce.list();return Y.length?Y.forEach(de=>de(k,F,M)):console.error(k),Promise.reject(k)}function mt(){return _e&&i.value!==bt?Promise.resolve():new Promise((k,F)=>{Ce.add([k,F])})}function Ct(k){return _e||(_e=!k,K(),Ce.list().forEach(([F,M])=>k?M(k):F()),Ce.reset()),k}function ct(k,F,M,Y){const{scrollBehavior:de}=e;if(!fn||!de)return Promise.resolve();const h=!M&&Jh(ql(k.fullPath,0))||(Y||!M)&&history.state&&history.state.scroll||null;return rn().then(()=>de(k,F,h)).then(v=>v&&Yh(v)).catch(v=>ue(v,k,F))}const Me=k=>o.go(k);let ln;const sn=new Set,hr={currentRoute:i,listening:!0,addRoute:m,removeRoute:y,hasRoute:T,getRoutes:E,resolve:g,options:e,push:I,replace:j,go:Me,back:()=>Me(-1),forward:()=>Me(1),beforeEach:a.add,beforeResolve:l.add,afterEach:s.add,onError:ce.add,isReady:mt,install(k){const F=this;k.component("RouterLink",Ot),k.component("RouterView",hc),k.config.globalProperties.$router=F,Object.defineProperty(k.config.globalProperties,"$route",{enumerable:!0,get:()=>nt(i)}),fn&&!ln&&i.value===bt&&(ln=!0,I(o.location).catch(de=>{}));const M={};for(const de in bt)M[de]=A(()=>i.value[de]);k.provide(no,F),k.provide(La,Rn(M)),k.provide(zo,i);const Y=k.unmount;sn.add(k),k.unmount=function(){sn.delete(k),sn.size<1&&(c=bt,ee&&ee(),ee=null,i.value=bt,ln=!1,_e=!1),Y()}}};function Ie(k){return k.reduce((F,M)=>F.then(()=>U(M)),Promise.resolve())}return hr}function Nm(e,t){const n=[],r=[],o=[],a=Math.max(t.matched.length,e.matched.length);for(let l=0;l<a;l++){const s=t.matched[l];s&&(e.matched.find(c=>Pn(c,s))?r.push(s):n.push(s));const i=e.matched[l];i&&(t.matched.find(c=>Pn(c,i))||o.push(i))}return[n,r,o]}function Je(){return Ee(no)}function Xe(){return Ee(La)}const Vm=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:r=5})=>{const o=Je(),l=rc(()=>{var E,T;const s=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(s-0)<r){as(o,"");return}const c=window.innerHeight+s,u=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),f=Math.abs(u-c)<r,p=Array.from(document.querySelectorAll(e)),y=Array.from(document.querySelectorAll(t)).filter(g=>p.some(_=>_.hash===g.hash));for(let g=0;g<y.length;g++){const _=y[g],R=y[g+1],I=s>=(((E=_.parentElement)==null?void 0:E.offsetTop)??0)-r,j=!R||s<(((T=R.parentElement)==null?void 0:T.offsetTop)??0)-r;if(!(I&&j))continue;const z=decodeURIComponent(o.currentRoute.value.hash),P=decodeURIComponent(_.hash);if(z===P)return;if(f){for(let U=g+1;U<y.length;U++)if(z===decodeURIComponent(y[U].hash))return}as(o,P);return}},n);ve(()=>{window.addEventListener("scroll",l)}),ua(()=>{window.removeEventListener("scroll",l)})},as=async(e,t)=>{const{scrollBehavior:n}=e.options;e.options.scrollBehavior=void 0,await e.replace({query:e.currentRoute.value.query,hash:t,force:!0}).finally(()=>e.options.scrollBehavior=n)},Fm=".sidebar-link, .toc-link",Bm=".header-anchor",Hm=200,jm=5,Um=De({setup(){Vm({headerLinkSelector:Fm,headerAnchorSelector:Bm,delay:Hm,offset:jm})}});let mc=()=>null;const vc=Symbol(""),Wm=e=>{mc=e},qm=()=>Ee(vc),Km=e=>{e.provide(vc,mc)};var Gm=B({name:"AutoCatalog",props:{base:{type:String,default:""},level:{type:Number,default:3},index:Boolean},setup(e){const t=qm(),n=an({"/zh/":{title:"目录"},"/en/":{title:"Catalog"},"/":{title:"Catalog"}}),r=pe(),o=Je(),a=Si(),l=c=>{const u=c.I;return typeof u>"u"||u},s=()=>{const c=e.base||r.value.path.replace(/\/[^/]+$/,"/"),u=o.getRoutes(),f=[];return u.filter(({meta:p,path:m})=>{if(!ar(m,c)||m===c)return!1;if(c==="/"){const y=Mn(a.value.locales).filter(E=>E!=="/");if(m==="/404.html"||y.some(E=>ar(m,E)))return!1}return(dn(m,".html")&&!dn(m,"/index.html")||dn(m,"/"))&&l(p)}).map(({path:p,meta:m})=>{const y=p.substring(c.length).split("/").length;return{title:m.t||"",icon:m.i,base:p.replace(/\/[^/]+\/?$/,"/"),order:m.O||null,level:dn(p,"/")?y-1:y,path:p}}).filter(({title:p,level:m})=>typeof p=="string"&&p&&m<=e.level).sort(({title:p,level:m,path:y,order:E},{title:T,level:g,path:_,order:R})=>m-g||(dn(y,"/index.html")?-1:dn(_,"/index.html")?1:E===null?R===null?p.localeCompare(T):R:R===null?E:E>0?R>0?E-R:-1:R<0?E-R:1)).forEach(p=>{var m;const{base:y,level:E}=p;switch(E){case 1:f.push(p);break;case 2:{const T=f.find(g=>g.path===y);T&&(T.children??(T.children=[])).push(p);break}default:{const T=f.find(g=>g.path===y.replace(/\/[^/]+\/$/,"/"));if(T){const g=(m=T.children)==null?void 0:m.find(_=>_.path===y);g&&(g.children??(g.children=[])).push(p)}}}}),f},i=A(()=>s());return()=>d("div",{class:"auto-catalog-wrapper"},[d("h2",{class:"main-title"},n.value.title),i.value.map(({children:c=[],icon:u,path:f,title:p},m)=>[d("h3",{id:p,class:["child-title",{"has-children":c.length}]},[d("a",{href:`#${p}`,class:"header-anchor"},"#"),d(Ot,{class:"catalog-title",to:f},()=>[e.index?`${m+1}.`:null,u&&t?d(t,{icon:u}):null,p||"Unknown"])]),c.length?d("ul",{class:"child-catalog-wrapper"},c.map(({children:y=[],icon:E,path:T,title:g},_)=>d("li",{class:"child-catalog-item"},[d("div",{class:["sub-title",{"has-children":y.length}]},[d("a",{href:`#${g}`,class:"header-anchor"},"#"),d(Ot,{class:"catalog-title",to:T},()=>[e.index?`${m+1}.${_+1}`:null,E&&t?d(t,{icon:E}):null,g||"Unknown"])]),y.length?d("div",{class:"sub-catalog-wrapper"},y.map(({icon:R,path:I,title:j},S)=>d(Ot,{class:"sub-catalog-item",to:I},()=>[e.index?`${m+1}.${_+1}.${S+1}`:null,R&&t?d(t,{icon:R}):null,j||"Unknown"]))):null]))):null])])}}),Ym=De({enhance:({app:e})=>{Km(e),pt("AutoCatalog",e)||e.component("AutoCatalog",Gm)}});const Qm=d("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"},[d("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"}),d("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"})]),gc=B({name:"ExternalLinkIcon",props:{locales:{type:Object,required:!1,default:()=>({})}},setup(e){const t=Lt(),n=A(()=>e.locales[t.value]??{openInNewWindow:"open in new window"});return()=>d("span",[Qm,d("span",{class:"external-link-icon-sr-only"},n.value.openInNewWindow)])}}),Jm={},Xm=De({enhance({app:e}){e.component("ExternalLinkIcon",d(gc,{locales:Jm}))}});/**
|
||
* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
||
* @license MIT
|
||
*/const se={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=se.isStarted();e=_o(e,se.settings.minimum,1),se.status=e===1?null:e;const n=se.render(!t),r=n.querySelector(se.settings.barSelector),o=se.settings.speed,a=se.settings.easing;return n.offsetWidth,Zm(l=>{Pr(r,{transform:"translate3d("+ls(e)+"%,0,0)",transition:"all "+o+"ms "+a}),e===1?(Pr(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){Pr(n,{transition:"all "+o+"ms linear",opacity:"0"}),setTimeout(function(){se.remove(),l()},o)},o)):setTimeout(()=>l(),o)}),se},isStarted:()=>typeof se.status=="number",start:()=>{se.status||se.set(0);const e=()=>{setTimeout(()=>{se.status&&(se.trickle(),e())},se.settings.trickleSpeed)};return se.settings.trickle&&e(),se},done:e=>!e&&!se.status?se:se.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=se.status;return t?(typeof e!="number"&&(e=(1-t)*_o(Math.random()*t,.1,.95)),t=_o(t+e,0,.994),se.set(t)):se.start()},trickle:()=>se.inc(Math.random()*se.settings.trickleRate),render:e=>{if(se.isRendered())return document.getElementById("nprogress");ss(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=se.settings.template;const n=t.querySelector(se.settings.barSelector),r=e?"-100":ls(se.status||0),o=document.querySelector(se.settings.parent);return Pr(n,{transition:"all 0 linear",transform:"translate3d("+r+"%,0,0)"}),o!==document.body&&ss(o,"nprogress-custom-parent"),o==null||o.appendChild(t),t},remove:()=>{is(document.documentElement,"nprogress-busy"),is(document.querySelector(se.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&ev(e)},isRendered:()=>!!document.getElementById("nprogress")},_o=(e,t,n)=>e<t?t:e>n?n:e,ls=e=>(-1+e)*100,Zm=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),Pr=function(){const e=["Webkit","O","Moz","ms"],t={};function n(l){return l.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(s,i){return i.toUpperCase()})}function r(l){const s=document.body.style;if(l in s)return l;let i=e.length;const c=l.charAt(0).toUpperCase()+l.slice(1);let u;for(;i--;)if(u=e[i]+c,u in s)return u;return l}function o(l){return l=n(l),t[l]??(t[l]=r(l))}function a(l,s,i){s=o(s),l.style[s]=i}return function(l,s){for(const i in s){const c=s[i];c!==void 0&&Object.prototype.hasOwnProperty.call(s,i)&&a(l,i,c)}}}(),_c=(e,t)=>(typeof e=="string"?e:xa(e)).indexOf(" "+t+" ")>=0,ss=(e,t)=>{const n=xa(e),r=n+t;_c(n,t)||(e.className=r.substring(1))},is=(e,t)=>{const n=xa(e);if(!_c(e,t))return;const r=n.replace(" "+t+" "," ");e.className=r.substring(1,r.length-1)},xa=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),ev=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)};const tv=()=>{ve(()=>{const e=Je(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||se.start()}),e.afterEach(n=>{t.add(n.path),se.done()})})},nv=De({setup(){tv()}}),rv=JSON.parse(`{"encrypt":{},"author":{"name":"DGP-Studio","url":"https://github.com/DGP-Studio"},"logo":"https://img.alicdn.com/imgextra/i4/1797064093/O1CN01vK3m2w1g6duwt8quS_!!1797064093.png","repo":"DGP-Studio/Snap.Hutao","pageInfo":["Author","Original","Date","Category","Tag","ReadingTime"],"docsRepo":"DGP-Studio/Snap.Hutao.Docs","docsDir":"docs","locales":{"/zh/":{"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":["/zh/",{"text":"文档","icon":"article","link":"/zh/menu.html"},{"text":"下载","icon":"install","link":"https://apps.microsoft.com/store/detail/snap-hutao/9PH4NXJ2JN52"},{"text":"加入社区讨论","icon":"community","link":"/zh/community"}],"sidebar":{"/zh/":["",{"icon":"workingDirectory","text":"项目介绍","link":"project"},{"icon":"network","text":"国际化支持","link":"i18n"},{"icon":"play","text":"快速开始","link":"quick-start"},{"icon":"read","text":"功能指南","prefix":"features/","children":"structure"},{"icon":"advance","text":"高级","prefix":"advanced/","children":"structure"},{"icon":"article","text":"声明和公告","prefix":"statements/","children":"structure"}]},"footer":"用开源社区力量为原神 PC 端玩家带来最好的游戏体验","displayFooter":true},"/en/":{"lang":"en-US","navbarLocales":{"langName":"English","selectLangAriaLabel":"Select language"},"metaLocales":{"author":"Author","date":"Writing Date","origin":"Original","views":"Page views","category":"Category","tag":"Tag","readingTime":"Reading Time","words":"Words","toc":"On This Page","prev":"Prev","next":"Next","lastUpdated":"Last update","contributors":"Contributors","editLink":"Edit this page on GitHub","print":"Print"},"outlookLocales":{"themeColor":"Theme Color","darkmode":"Theme Mode","fullscreen":"Full Screen"},"routeLocales":{"skipToContent":"Skip to main content","notFoundTitle":"Page not found","notFoundMsg":["There’s nothing here.","How did we get here?","That’s a Four-Oh-Four.","Looks like we've got some broken links."],"back":"Go back","home":"Take me home","openInNewWindow":"Open in new window"},"navbar":["/en/",{"text":"Document","icon":"article","link":"/en/menu.html"},{"text":"Download","icon":"install","link":"https://apps.microsoft.com/store/detail/snap-hutao/9PH4NXJ2JN52"},{"text":"Community","icon":"community","link":"/en/community"}],"sidebar":{"/en/":["",{"icon":"workingDirectory","text":"Project","link":"project"},{"icon":"network","text":"Localization","link":"i18n"},{"icon":"play","text":"Quick Start","link":"quick-start"},{"icon":"read","text":"Features","prefix":"features/","children":"structure"},{"icon":"advance","text":"Advanced","prefix":"advanced/","children":"structure"},{"icon":"article","text":"Statements","prefix":"statements/","children":"structure"}]},"footer":"Be the best Genshin Impact tool","displayFooter":true},"/":{"lang":"en-US","navbarLocales":{"langName":"English","selectLangAriaLabel":"Select language"},"metaLocales":{"author":"Author","date":"Writing Date","origin":"Original","views":"Page views","category":"Category","tag":"Tag","readingTime":"Reading Time","words":"Words","toc":"On This Page","prev":"Prev","next":"Next","lastUpdated":"Last update","contributors":"Contributors","editLink":"Edit this page","print":"Print"},"outlookLocales":{"themeColor":"Theme Color","darkmode":"Theme Mode","fullscreen":"Full Screen"},"routeLocales":{"skipToContent":"Skip to main content","notFoundTitle":"Page not found","notFoundMsg":["There’s nothing here.","How did we get here?","That’s a Four-Oh-Four.","Looks like we've got some broken links."],"back":"Go back","home":"Take me home","openInNewWindow":"Open in new window"}}}}`),ov=G(rv),bc=()=>ov,yc=Symbol(""),av=()=>{const e=Ee(yc);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},lv=(e,t)=>{const{locales:n,...r}=e;return{...r,...n==null?void 0:n[t]}},sv=De({enhance({app:e}){const t=bc(),n=e._context.provides[ga],r=A(()=>lv(t.value,n.value));e.provide(yc,r),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return r.value}}})}}),iv={"Content-Type":"application/json"},cv=({serverURL:e,lang:t,paths:n,signal:r})=>(({serverURL:o,lang:a,paths:l,type:s,signal:i})=>fetch(`${o}/article?path=${encodeURIComponent(l.join(","))}&type=${encodeURIComponent(s.join(","))}&lang=${a}`,{signal:i}).then(c=>c.json()))({serverURL:e,lang:t,paths:n,type:["time"],signal:r}).then(o=>Array.isArray(o)?o:[o]),uv=e=>(({serverURL:t,lang:n,path:r,type:o,action:a})=>fetch(`${t}/article?lang=${n}`,{method:"POST",headers:iv,body:JSON.stringify({path:r,type:o,action:a})}).then(l=>l.json()))({...e,type:"time",action:"inc"}),cs=e=>{const t=((n="")=>n.replace(/\/$/u,""))(e);return/^(https?:)?\/\//.test(t)?t:`https://${t}`},dv=e=>{e.name!=="AbortError"&&console.error(e.message)},us=e=>e.dataset.path||e.getAttribute("id"),ds=(e,t)=>{t.forEach((n,r)=>{n.innerText=e[r].toString()})},fv=({serverURL:e,path:t=window.location.pathname,selector:n=".waline-pageview-count",update:r=!0,lang:o=navigator.language})=>{const a=new AbortController,l=Array.from(document.querySelectorAll(n)),s=c=>{const u=us(c);return u!==null&&t!==u},i=c=>cv({serverURL:cs(e),paths:c.map(u=>us(u)||t),lang:o,signal:a.signal}).then(u=>ds(u,c)).catch(dv);if(r){const c=l.filter(f=>!s(f)),u=l.filter(s);uv({serverURL:cs(e),path:t,lang:o}).then(f=>ds(new Array(c.length).fill(f),c)),u.length&&i(u)}else i(l);return a.abort.bind(a)};const pv={provider:"Waline",dark:'html[data-theme="dark"]',serverURL:"https://comments.snapgenshin.com",emoji:["//unpkg.com/@waline/emojis@1.1.0/weibo","//unpkg.com/@waline/emojis@1.1.0/bilibili","//unpkg.com/@waline/emojis@1.1.0/bmoji","//unpkg.com/@waline/emojis@1.1.0/qq","//unpkg.com/@waline/emojis@1.1.0/tieba"],requiredMeta:["mail"],reaction:!1};let hv=pv;const wc=Symbol(""),Ec=()=>Ee(wc),mv=Ec,vv=e=>{e.provide(wc,hv)},gv={"/zh/":{placeholder:"请留言。(填写邮箱可在被回复时收到邮件提醒)"},"/en/":{placeholder:"Write a comment here (Fill in the email address to receive an email notification when being replied)"},"/":{placeholder:"Write a comment here (Fill in the email address to receive an email notification when being replied)"}};w(()=>import("./waline-meta-a31b78ed.js"),[]);var _v=B({name:"WalineComment",setup(){const e=mv(),t=pe(),n=Pe(),r=Jr(),o=an(gv);let a;const l=!!e.serverURL,s=A(()=>{if(!l)return!1;const u=e.pageview!==!1,f=n.value.pageview;return!!f||u!==!1&&f!==!1}),i=A(()=>ht(t.value.path)),c=A(()=>({lang:r.value==="zh-CN"?"zh-CN":"en",locale:o.value,dark:"html.dark",...e,path:i.value}));return ve(()=>{re(i,()=>{a==null||a(),s.value&&rn().then(()=>{setTimeout(()=>{a=fv({serverURL:e.serverURL,path:i.value})},e.delay||800)})},{immediate:!0})}),()=>l?d("div",{class:"waline-wrapper",id:"comment"},l?d(N({loader:async()=>(await w(()=>import("./component-f5334886.js"),[])).Waline,loadingComponent:Di}),c.value):[]):null}}),bv=B({name:"CommentService",props:{darkmode:Boolean},setup(e){const t=Ec(),n=Pe(),r=t.comment!==!1,o=A(()=>n.value.comment||r&&n.value.comment!==!1);return()=>d(_v,{darkmode:e.darkmode,style:{display:o.value?"block":"none"}})}}),yv=De({enhance:({app:e})=>{vv(e),e.component("CommentService",bv)}});const wv=800,Ev=2e3,Tv={"/zh/":{copy:"复制代码",copied:"已复制",hint:"复制成功"},"/en/":{copy:"Copy code",copied:"Copied",hint:"Copied successfully"},"/":{copy:"Copy code",copied:"Copied",hint:"Copied successfully"}},Ov=!1,Av=['.theme-hope-content div[class*="language-"] pre'],fs=!1,bo=new Map,Pv=()=>{const{copy:e}=nh({legacy:!0}),t=an(Tv),n=pe(),r=kp(),o=s=>{if(!s.hasAttribute("copy-code-registered")){const i=document.createElement("button");i.type="button",i.classList.add("copy-code-button"),i.innerHTML='<div class="copy-icon" />',i.setAttribute("aria-label",t.value.copy),i.setAttribute("data-copied",t.value.copied),s.parentElement&&s.parentElement.insertBefore(i,s),s.setAttribute("copy-code-registered","")}},a=()=>rn().then(()=>new Promise(s=>{setTimeout(()=>{Av.forEach(i=>{document.querySelectorAll(i).forEach(o)}),s()},wv)})),l=(s,i,c)=>{let{innerText:u=""}=i;/language-(shellscript|shell|bash|sh|zsh)/.test(s.classList.toString())&&(u=u.replace(/^ *(\$|>) /gm,"")),e(u).then(()=>{c.classList.add("copied"),clearTimeout(bo.get(c));const f=setTimeout(()=>{c.classList.remove("copied"),c.blur(),bo.delete(c)},Ev);bo.set(c,f)})};ve(()=>{(!r.value||fs)&&a(),xe("click",s=>{const i=s.target;if(i.matches('div[class*="language-"] > button.copy')){const c=i.parentElement,u=i.nextElementSibling;u&&l(c,u,i)}else if(i.matches('div[class*="language-"] div.copy-icon')){const c=i.parentElement,u=c.parentElement,f=c.nextElementSibling;f&&l(u,f,c)}}),re(()=>n.value.path,()=>{(!r.value||fs)&&a()})})};var kv=De({setup:()=>{Pv()}});const yo=Oa("VUEPRESS_TAB_STORE",{});var Lv=B({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=G(e.active),r=it([]),o=()=>{if(e.tabId){const{title:c,id:u=c}=e.data[n.value];yo.value[e.tabId]=u}},a=(c=n.value)=>{n.value=c<r.value.length-1?c+1:0,r.value[n.value].focus()},l=(c=n.value)=>{n.value=c>0?c-1:r.value.length-1,r.value[n.value].focus()},s=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=u):c.key==="ArrowRight"?(c.preventDefault(),a()):c.key==="ArrowLeft"&&(c.preventDefault(),l()),o()},i=()=>{if(e.tabId){const c=e.data.findIndex(({title:u,id:f=u})=>yo.value[e.tabId]===f);if(c!==-1)return c}return e.active};return ve(()=>{n.value=i(),re(()=>yo.value[e.tabId],(c,u)=>{if(e.tabId&&c!==u){const f=e.data.findIndex(({title:p,id:m=p})=>m===c);f!==-1&&(n.value=f)}})}),()=>e.data.length?d("div",{class:"tab-list"},[d("div",{class:"tab-list-nav",role:"tablist"},e.data.map(({title:c},u)=>{const f=u===n.value;return d("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["tab-list-nav-item",{active:f}],role:"tab","aria-controls":`tab-${e.id}-${u}`,"aria-selected":f,onClick:()=>{n.value=u,o()},onKeydown:p=>s(p,u)},c)})),e.data.map(({title:c,id:u=c},f)=>{const p=f===n.value;return d("div",{class:["tab-item",{active:p}],id:`tab-${e.id}-${f}`,role:"tabpanel","aria-expanded":p},t[`tab${f}`]({title:c,value:u,isActive:p}))})]):null}});const xv=De({enhance:({app:e})=>{e.component("Tabs",Lv)}});let Cv={};const Tc=Symbol(""),Iv=()=>Ee(Tc),Sv=e=>{e.provide(Tc,Cv)};const Rv=".theme-hope-content :not(a) > img:not([no-view])",$v={"/zh/":{closeTitle:"关闭",downloadTitle:"下载图片",fullscreenTitle:"切换全屏",zoomTitle:"缩放",arrowPrevTitle:"上一个 (左箭头)",arrowNextTitle:"下一个 (右箭头)"},"/en/":{closeTitle:"Close",downloadTitle:"Download Image",fullscreenTitle:"Switch to full screen",zoomTitle:"Zoom in/out",arrowPrevTitle:"Prev (Arrow Left)",arrowNextTitle:"Next (Arrow Right)"},"/":{closeTitle:"Close",downloadTitle:"Download Image",fullscreenTitle:"Switch to full screen",zoomTitle:"Zoom in/out",arrowPrevTitle:"Prev (Arrow Left)",arrowNextTitle:"Next (Arrow Right)"}},Dv=800,Mv='<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>',zv=e=>ae(e)?Array.from(document.querySelectorAll(e)):e.map(t=>Array.from(document.querySelectorAll(t))).flat(),Oc=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(Oc(e)),e.onerror=r=>n(r))}),Nv=()=>{const{isSupported:e,toggle:t}=Aa(),n=Iv(),r=an($v),o=pe();let a;const l=i=>{i.on("uiRegister",()=>{e&&i.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:()=>{t()}}),i.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:(c,u)=>{c.setAttribute("download",""),c.setAttribute("target","_blank"),c.setAttribute("rel","noopener"),u.on("change",()=>{c.setAttribute("href",u.currSlide.data.src)})}}),i.ui.registerElement({name:"bulletsIndicator",className:"photo-swipe-bullets-indicator",appendTo:"wrapper",onInit:(c,u)=>{const f=[];let p=-1;for(let m=0;m<u.getNumItems();m++){const y=document.createElement("div");y.className="photo-swipe-bullet",y.onclick=E=>{u.goTo(f.indexOf(E.target))},f.push(y),c.appendChild(y)}u.on("change",()=>{p>=0&&f[p].classList.remove("active"),f[u.currIndex].classList.add("active"),p=u.currIndex})}})})},s=()=>Promise.all([w(()=>import("./photoswipe.esm-2450701e.js"),[]),rn().then(()=>new Promise(i=>setTimeout(i,Dv)).then(()=>zv(Rv)))]).then(([{default:i},c])=>{const u=c.map(f=>({html:Mv,element:f,msrc:f.src}));c.forEach((f,p)=>{const m=()=>{a=new i({preloaderDelay:0,showHideAnimationType:"zoom",...r.value,...n,dataSource:u,index:p,closeOnVerticalDrag:!0,wheelToZoom:!1}),l(a),a.addFilter("thumbEl",()=>f),a.addFilter("placeholderSrc",()=>f.src),a.init()};f.style.cursor="zoom-in",f.addEventListener("click",()=>{m()}),f.addEventListener("keypress",({key:y})=>{y==="Enter"&&m()})}),c.forEach((f,p)=>{Oc(f).then(m=>{u.splice(p,1,m),a==null||a.refreshSlideContent(p)})})});ve(()=>{xe("wheel",()=>{a==null||a.close()}),s(),re(()=>o.value.path,()=>s())})};var Vv=De({enhance:({app:e})=>{Sv(e)},setup:()=>{Nv()}});function Fv(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(o){o(n)}),(r=e.get("*"))&&r.slice().map(function(o){o(t,n)})}}}const Ac=Symbol(""),Bv=()=>{const e=Ee(Ac);if(!e)throw new Error("usePWAEvent() is called without provider.");return e},Hv=async e=>{const{register:t}=await w(()=>import("./index-e32a7948.js"),[]);t(ht("service-worker.js"),{ready(n){console.log("[PWA]: Service worker is active"),e.emit("ready",n)},registered(n){console.log("[PWA]: Service worker has been registered."),e.emit("registered",n)},cached(n){console.log("[PWA]: Content has been cached for offline usage"),e.emit("cached",n)},async updatefound(n){await navigator.serviceWorker.getRegistration()&&(console.log("[PWA]: New content is downloading."),e.emit("updatefound",n))},updated(n){console.log("[PWA]: New content is available, please refresh.");const r="service-worker-version",o=Number(localStorage.getItem(r)||0);localStorage.setItem(r,(o+1).toString()),localStorage.removeItem("manifest"),e.emit("updated",n)},offline(){console.log("[PWA]: No internet connection found. App is running in offline mode."),e.emit("offline")},error(n){console.log("[PWA]: Error during service worker registration:",n),e.emit("error",n)}})},jv=()=>{const e=Fv();Jt(Ac,e),ve(async()=>{var t;let n=!1;(t=navigator.serviceWorker)!=null&&t.controller&&navigator.serviceWorker.addEventListener("controllerchange",()=>{n||(n=!0,window.location.reload())}),await Hv(e)})},Pc=()=>d(we,{name:"update"},()=>d("path",{d:"M949.949 146.25v255.826c0 21.981-13.989 35.97-35.97 35.97H658.154c-13.988 0-25.983-7.992-33.973-21.981-5.997-13.989-4-27.977 7.991-39.97l79.942-77.946c-55.954-51.973-121.918-77.955-199.863-77.955-37.975 0-75.95 8.002-113.924 21.99-37.975 15.985-67.948 37.976-91.934 63.957-25.982 23.987-47.973 53.96-63.957 91.934-29.983 73.955-29.983 153.895 0 227.85 15.984 37.976 37.975 67.947 63.957 91.934 23.986 25.982 53.959 47.973 91.934 63.956 37.974 13.989 75.95 21.991 113.924 21.991 45.967 0 87.942-9.998 127.913-29.982 41.976-17.99 75.951-45.967 101.931-83.943 7.993-4 11.994-5.995 13.989-5.995 5.997 0 9.998 1.994 13.988 5.995l77.958 77.946c3.989 4 5.986 7.993 5.986 11.994 0 1.994-1.996 5.995-3.99 11.994-43.973 51.962-93.941 91.934-151.9 117.914-53.958 25.983-115.92 39.972-185.874 39.972-61.961 0-119.921-11.984-169.89-33.973-57.96-25.985-105.923-57.963-139.896-93.943-35.98-33.972-67.958-81.936-93.94-139.897-45.967-101.93-45.967-237.846 0-339.777 25.982-57.96 57.96-105.923 93.94-139.896 33.973-35.98 81.936-67.958 139.896-93.94 49.968-21.99 107.928-33.974 169.89-33.974 55.963 0 109.923 9.988 161.885 29.973 53.97 21.99 101.933 51.963 139.908 89.938l73.954-73.944c9.987-9.998 23.987-13.988 39.971-8.002 13.988 8.002 21.98 19.995 21.98 33.984z"}));Pc.displayName="UpdateIcon";const Uv={"/zh/":{install:"安装",iOSInstall:"点击分享按钮然后点击“添加到主屏幕”",cancel:"取消",close:"关闭",prevImage:"上一张图片",nextImage:"下一张图片",desc:"详情",feature:"主要特色",explain:"该应用可以安装在你的 PC 或移动设备上。这将使该 Web 应用程序外观和行为与其他应用程序相同。它将在出现在应用程序列表中,并可以固定到主屏幕,开始菜单或任务栏。此 Web 应用程序还将能够与其他应用程序和你的操作系统安全地进行交互。",hint:"发现新内容可用",update:"新内容已就绪"},"/en/":{install:"Install",iOSInstall:"Tap the share button and then 'Add to Home Screen'",cancel:"Cancel",close:"Close",prevImage:"Previous Image",nextImage:"Next Image",desc:"Description",feature:"Key Features",explain:"This app can be installed on your PC or mobile device. This will allow this web app to look and behave like any other installed app. You will find it in your app lists and be able to pin it to your home screen, start menus or task bars. This installed web app will also be able to safely interact with other apps and your operating system. ",hint:"New content found.",update:"New content is available."},"/":{install:"Install",iOSInstall:"Tap the share button and then 'Add to Home Screen'",cancel:"Cancel",close:"Close",prevImage:"Previous Image",nextImage:"Next Image",desc:"Description",feature:"Key Features",explain:"This app can be installed on your PC or mobile device. This will allow this web app to look and behave like any other installed app. You will find it in your app lists and be able to pin it to your home screen, start menus or task bars. This installed web app will also be able to safely interact with other apps and your operating system. ",hint:"New content found.",update:"New content is available."}};var Wv=B({name:"SWHintPopup",slots:Object,setup(e,{slots:t}){const n=an(Uv),r=G(!1),o=()=>{r.value&&(window.location.reload(!0),r.value=!1)};return ve(()=>{const a=Bv();a.on("updatefound",()=>{navigator.serviceWorker.getRegistration().then(l=>{l&&l.active&&(r.value=!0)})}),a.on("updated",()=>{r.value=!1})}),()=>d(Pt,{name:"popup"},()=>{var a;return((a=t.default)==null?void 0:a.call(t,{enabled:r.value,uninstall:o}))||(r.value?d("button",{type:"button",class:"sw-hint-popup",tabindex:0,onClick:()=>o()},[n.value.hint,d("span",{class:"icon-wrapper"},d(Pc))]):null)})}});const qv=De({setup:()=>{jv()},rootComponents:[Wv]}),kc=()=>{const e=pe();return A(()=>e.value.readingTime??null)},Vo=typeof{"/zh/":{word:"约 $word 字",less1Minute:"小于 1 分钟",time:"大约 $time 分钟"},"/en/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"},"/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"}}>"u"?null:{"/zh/":{word:"约 $word 字",less1Minute:"小于 1 分钟",time:"大约 $time 分钟"},"/en/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"},"/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"}},Kv=(e,t)=>{const{minutes:n,words:r}=e,{less1Minute:o,word:a,time:l}=t;return{time:n<1?o:l.replace("$time",Math.round(n).toString()),words:a.replace("$word",r.toString())}},ps={words:"",time:""},Gv=()=>Vo?an(Vo):A(()=>null),Yv=()=>{if(typeof Vo>"u")return A(()=>ps);const e=kc(),t=Gv();return A(()=>e.value&&t.value?Kv(e.value,t.value):ps)},zn=()=>bc(),ge=()=>av(),ro=()=>A(()=>!!zn().value.pure);var hs=B({name:"EmptyComponent",setup:()=>()=>null});const Qv="719px",Jv="1440px",Xv="false",Ca={mobileBreakPoint:Qv,pcBreakPoint:Jv,enableThemeColor:Xv},Ia={"/zh/features/":["dashboard","game-launcher","wish-export","achievements","real-time-notes","character-data","hutao-API","develop-plan","character-wiki","weapon-wiki","mhy-account-switch","hutao-settings"],"/zh/advanced/":["FAQ","exceptions","known-issue","get-stoken-cookie-from-the-third-party","Gacha-system-and-export-principal","uninstall"],"/zh/statements/":["update-log","bug-report","privacy-notice","tos"],"/en/features/":["dashboard","game-launcher","wish-export","achievements","real-time-notes","character-data","hutao-API","develop-plan","character-wiki","weapon-wiki","mhy-account-switch","hutao-settings"],"/en/advanced/":["FAQ","exceptions","known-issue","get-stoken-cookie-from-the-third-party","Gacha-system-and-export-principal","uninstall"],"/en/statements/":["update-log","bug-report","privacy-notice","tos"],"/":[]},Lc=e=>{const{icon:t="",color:n,size:r}=e,o={};return n&&(o.color=n),r&&(o.height=Number.isNaN(Number(r))?r:`${r}px`),Dn(t)?d("img",{class:"icon",src:t,"no-view":"",style:o}):_a(t)?d("img",{class:"icon",src:ht(t),"no-view":"",style:o}):d(at("FontIcon"),e)};Lc.displayName="HopeIcon";var Qe=Lc,Et=(e=>(e.type="y",e.title="t",e.shortTitle="s",e.icon="i",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.index="I",e.order="O",e))(Et||{}),Zv=(e=>(e.article="a",e.home="h",e.slide="s",e.page="p",e))(Zv||{});const bn=(e,t=!1)=>{const n=Je(),{fullPath:r,meta:o,name:a}=ya(n,encodeURI(e));return{text:!t&&o[Et.shortTitle]?o[Et.shortTitle]:o[Et.title]||e,link:a==="404"?e:r,...o[Et.icon]?{icon:o[Et.icon]}:{}}},e1=()=>{const e=Je(),t=Xe();return n=>{if(n)if(_a(n))t.path!==n&&e.push(n);else if(Dn(n)||Oi(n))window&&window.open(n);else{const r=t.path.slice(0,t.path.lastIndexOf("/"));e.push(`${r}/${encodeURI(n)}`)}}},xc=()=>{const e=ge(),t=Pe();return A(()=>{const{author:n}=t.value;return n?kl(n):n===!1?[]:kl(e.value.author,!1)})},t1=()=>{const e=Pe();return A(()=>Cp(e.value.category).map(t=>({name:t,path:""})))},n1=()=>{const e=Pe();return A(()=>Ip(e.value.tag).map(t=>({name:t,path:""})))},r1=()=>{const e=Pe(),t=pe();return A(()=>{const n=Lp(e.value.date);if(n)return n;const{createdTime:r}=t.value.git||{};return r?new Date(r):null})},o1=()=>{const e=ge(),t=pe(),n=Pe(),r=xc(),o=t1(),a=n1(),l=r1(),s=kc(),i=Yv(),c=A(()=>({author:r.value,category:o.value,date:l.value,localizedDate:t.value.localizedDate,tag:a.value,isOriginal:n.value.isOriginal||!1,readingTime:s.value,readingTimeLocale:i.value,pageview:"pageview"in n.value?n.value.pageview:!0})),u=A(()=>"pageInfo"in n.value?n.value.pageInfo:"pageInfo"in e.value?e.value.pageInfo:null);return{info:c,items:u}},{mobileBreakPoint:a1,pcBreakPoint:l1}=Ca,ms=e=>e.endsWith("px")?Number(e.slice(0,-2)):null,oo=()=>{const e=G(!1),t=G(!1),n=()=>{e.value=window.innerWidth<=(ms(a1)??719),t.value=window.innerWidth>=(ms(l1)??1440)};return ve(()=>{n(),xe("resize",n,!1),xe("orientationchange",n,!1)}),{isMobile:e,isPC:t}},Cc=Symbol(""),pr=()=>{const e=Ee(Cc);if(!e)throw new Error("useDarkmode() is called without provider.");return e},s1=e=>{const t=zn(),n=dh(),r=Oa("vuepress-theme-hope-scheme","auto"),o=A(()=>t.value.darkmode||"switch"),a=A(()=>{const s=o.value;return s==="disable"?!1:s==="enable"?!0:s==="auto"?n.value:s==="toggle"?r.value==="dark":r.value==="dark"||r.value==="auto"&&n.value}),l=A(()=>{const s=o.value;return s==="switch"||s==="toggle"});e.provide(Cc,{canToggle:l,config:o,isDarkmode:a,status:r}),Object.defineProperties(e.config.globalProperties,{$isDarkmode:{get:()=>a.value}})},i1=()=>{const{isDarkmode:e}=pr(),t=(n=e.value)=>document.documentElement.setAttribute("data-theme",n?"dark":"light");ve(()=>{re(e,t,{immediate:!0})})};var Ne=B({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 o=Xe(),a=Si(),l=Wr(e,"config"),s=A(()=>Dn(l.value.link)),i=A(()=>Oi(l.value.link)||dp(l.value.link)),c=A(()=>i.value?void 0:l.value.target||(s.value?"_blank":void 0)),u=A(()=>c.value==="_blank"),f=A(()=>!s.value&&!i.value&&!u.value),p=A(()=>i.value?void 0:l.value.rel||(u.value?"noopener noreferrer":void 0)),m=A(()=>l.value.ariaLabel||l.value.text),y=A(()=>{if(e.exact)return!1;const T=Mn(a.value.locales);return T.length?T.every(g=>g!==l.value.link):l.value.link!=="/"}),E=A(()=>f.value?l.value.activeMatch?new RegExp(l.value.activeMatch).test(o.path):y.value?ar(o.path,l.value.link):o.path===l.value.link:!1);return()=>{const{before:T,after:g,default:_}=r,{text:R,icon:I,link:j}=l.value;return f.value?d(Ot,{to:j,"aria-label":m.value,...t,class:["nav-link",{active:E.value},t.class],onFocusout:()=>n("focusout")},()=>_?_():[T?T():d(Qe,{icon:I}),R,g==null?void 0:g()]):d("a",{href:j,rel:p.value,target:c.value,"aria-label":m.value,...t,class:["nav-link",t.class],onFocusout:()=>n("focusout")},_?_():[T?T():d(Qe,{icon:I}),R,e.noExternalLinkIcon?null:d(gc),g==null?void 0:g()])}}});const Ln=(e,t,n=!1)=>"activeMatch"in t?new RegExp(t.activeMatch).test(e.path):ba(e,t.link)?!0:t.children&&!n?t.children.some(r=>Ln(e,r)):!1,Ic=(e,t)=>t.type==="group"?t.children.some(n=>n.type==="group"?Ic(e,n):n.type==="page"&&Ln(e,n,!0))||"prefix"in t&&ba(e,t.prefix):!1,Sc=(e,t)=>ae(e.link)?d(Ne,{...t,config:e}):d("p",t,[d(Qe,{icon:e.icon}),e.text]),Rc=e=>{const t=Xe();return e?d("ul",{class:"sidebar-sub-headers"},e.map(n=>{const r=Ln(t,n,!0);return d("li",{class:"sidebar-sub-header"},[Sc(n,{class:["sidebar-link","heading",{active:r}]}),Rc(n.children)])})):null},wo=(e="",t="")=>_a(t)?t:`${ip(e)}${t}`,c1=(e,t)=>{const n=pe();return{type:"heading",text:e.title,link:`${n.value.path}#${e.slug}`,children:Sa(e.children,t)}},Sa=(e,t)=>t>0?e.map(n=>c1(n,t-1)):[],$c=e=>{const t=pe();return Sa(t.value.headers,e)},Fo=(e,t,n="")=>{const r=pe(),o=(a,l=n)=>{var s;const i=ae(a)?bn(wo(l,a)):a.link?{...a,...Fr(a.link)?{}:{link:bn(wo(l,a.link)).link}}:a;if("children"in i){const c=wo(l,i.prefix),u=i.children==="structure"?Ia[c]:i.children;return{type:"group",...i,prefix:c,children:u.map(f=>o(f,c))}}return{type:"page",...i,children:i.link===r.value.path?Sa(((s=r.value.headers[0])==null?void 0:s.level)===1?r.value.headers[0].children:r.value.headers,t):[]}};return e.map(a=>o(a))},u1=(e,t)=>{const n=pe(),r=Mn(e).sort((o,a)=>a.length-o.length);for(const o of r)if(ar(decodeURI(n.value.path),o)){const a=e[o];return a?Fo(a==="structure"?Ia[o]:a==="heading"?$c(t):a,t,o):[]}return console.warn(`${n.value.path} is missing sidebar config.`),[]},d1=()=>{const e=Lt(),t=Pe(),n=ge(),r=t.value.home?!1:t.value.sidebar??n.value.sidebar??"structure",o=t.value.headerDepth??n.value.headerDepth??2;return r===!1?[]:r==="heading"?$c(o):r==="structure"?Fo(Ia[e.value],o,e.value):q(r)?Fo(r,o):ma(r)?u1(r,o):[]},Dc=Symbol(""),f1=()=>{const e=A(()=>d1());Jt(Dc,e)},Ra=()=>{const e=Ee(Dc);if(!e)throw new Error("useSidebarItems() is called without provider.");return e};var p1=B({name:"PageFooter",setup(){const e=Pe(),t=ge(),n=xc(),r=A(()=>{const{copyright:l,footer:s}=e.value;return s!==!1&&!!(l||s||t.value.displayFooter)}),o=A(()=>{const{footer:l}=e.value;return l===!1?!1:ae(l)?l:t.value.footer||""}),a=A(()=>"copyright"in e.value?e.value.copyright:"copyright"in t.value?t.value.copyright:n.value.length?`Copyright © ${new Date().getFullYear()} ${n.value[0].name}`:!1);return()=>r.value?d("footer",{class:"footer-wrapper"},[o.value?d("div",{class:"footer",innerHTML:o.value}):null,a.value?d("div",{class:"copyright",innerHTML:a.value}):null]):null}}),Mc=B({name:"NavbarDropdownLink",props:{config:{type:Object,required:!0}},slots:Object,setup(e,{slots:t}){const n=pe(),r=Wr(e,"config"),o=A(()=>r.value.ariaLabel||r.value.text),a=G(!1);re(()=>n.value.path,()=>{a.value=!1});const l=s=>{s.detail===0&&(a.value=!a.value)};return()=>{var s;return d("div",{class:["dropdown-wrapper",{open:a.value}]},[d("button",{type:"button",class:"dropdown-title","aria-label":o.value,onClick:l},[((s=t.title)==null?void 0:s.call(t))||d("span",{class:"title"},[d(Qe,{icon:r.value.icon}),e.config.text]),d("span",{class:"arrow"}),d("ul",{class:"nav-dropdown"},r.value.children.map((i,c)=>{const u=c===r.value.children.length-1;return d("li",{class:"dropdown-item"},"children"in i?[d("h4",{class:"dropdown-subtitle"},i.link?d(Ne,{config:i,onFocusout:()=>{i.children.length===0&&u&&(a.value=!1)}}):d("span",i.text)),d("ul",{class:"dropdown-subitem-wrapper"},i.children.map((f,p)=>d("li",{class:"dropdown-subitem"},d(Ne,{config:f,onFocusout:()=>{p===i.children.length-1&&u&&(a.value=!1)}}))))]:d(Ne,{config:i,onFocusout:()=>{u&&(a.value=!1)}}))}))])])}}});const zc=()=>d(we,{name:"i18n"},()=>[d("path",{d:"M379.392 460.8 494.08 575.488l-42.496 102.4L307.2 532.48 138.24 701.44l-71.68-72.704L234.496 460.8l-45.056-45.056c-27.136-27.136-51.2-66.56-66.56-108.544h112.64c7.68 14.336 16.896 27.136 26.112 35.84l45.568 46.08 45.056-45.056C382.976 312.32 409.6 247.808 409.6 204.8H0V102.4h256V0h102.4v102.4h256v102.4H512c0 70.144-37.888 161.28-87.04 210.944L378.88 460.8zM576 870.4 512 1024H409.6l256-614.4H768l256 614.4H921.6l-64-153.6H576zM618.496 768h196.608L716.8 532.48 618.496 768z"})]);zc.displayName="I18nIcon";const Nc=(e,t="")=>ae(e)?bn(`${t}${e}`):"children"in e?{...e,...e.link&&!Fr(e.link)?bn(`${t}${e.link}`):{},children:e.children.map(n=>Nc(n,`${t}${e.prefix||""}`))}:{...e,link:Fr(e.link)?e.link:bn(`${t}${e.link}`).link},Vc=()=>A(()=>(ge().value.navbar||[]).map(e=>Nc(e))),h1=()=>{const e=Je(),t=Xe(),n=Lt(),r=Xr(),o=zn(),a=ge();return A(()=>{const l=Mn(r.value.locales);if(l.length<2)return null;const{path:s,fullPath:i}=e.currentRoute.value,{navbarLocales:c}=a.value;return{text:"",ariaLabel:c==null?void 0:c.selectLangAriaLabel,children:[...l.map(u=>{var f,p,m;const y=((f=r.value.locales)==null?void 0:f[u])??{},E=((p=o.value.locales)==null?void 0:p[u])??{},T=y.lang||"",g=((m=E.navbarLocales)==null?void 0:m.langName)??T;let _;if(T===r.value.lang)_=s;else{const R=s.replace(n.value,u);_=e.getRoutes().some(I=>I.path===R)?i.replace(s,R):E.home??u}return{text:g,link:_}}),...eo(o.value.extraLocales||{}).map(([u,f])=>({text:u,link:f.replace(":route",t.path.replace(n.value,""))}))]}})},m1=()=>{const e=ge(),t=A(()=>e.value.repo||null),n=A(()=>t.value?Rp(t.value):null),r=A(()=>t.value?Gi(t.value):null),o=A(()=>n.value?e.value.repoLabel??(r.value===null?"Source":r.value):null);return A(()=>!n.value||!o.value||e.value.repoDisplay===!1?null:{type:r.value||"Source",label:o.value,link:n.value})};var v1=B({name:"LanguageDropdown",setup(){const e=h1();return()=>e.value?d("div",{class:"nav-item"},d(Mc,{class:"i18n-dropdown",config:e.value},{title:()=>{var t;return d(zc,{"aria-label":(t=e.value)==null?void 0:t.ariaLabel,style:{width:"1rem",height:"1rem",verticalAlign:"middle"}})}})):null}}),g1=B({name:"NavScreenDropdown",props:{config:{type:Object,required:!0}},setup(e){const t=pe(),n=Wr(e,"config"),r=A(()=>n.value.ariaLabel||n.value.text),o=G(!1);re(()=>t.value.path,()=>{o.value=!1});const a=(l,s)=>s[s.length-1]===l;return()=>[d("button",{type:"button",class:["nav-screen-dropdown-title",{active:o.value}],"aria-label":r.value,onClick:()=>{o.value=!o.value}},[d("span",{class:"title"},[d(Qe,{icon:n.value.icon}),e.config.text]),d("span",{class:["arrow",o.value?"down":"end"]})]),d("ul",{class:["nav-screen-dropdown",{hide:!o.value}]},n.value.children.map(l=>d("li",{class:"dropdown-item"},"children"in l?[d("h4",{class:"dropdown-subtitle"},l.link?d(Ne,{config:l,onFocusout:()=>{a(l,n.value.children)&&l.children.length===0&&(o.value=!1)}}):d("span",l.text)),d("ul",{class:"dropdown-subitem-wrapper"},l.children.map(s=>d("li",{class:"dropdown-subitem"},d(Ne,{config:s,onFocusout:()=>{a(s,l.children)&&a(l,n.value.children)&&(o.value=!1)}}))))]:d(Ne,{config:l,onFocusout:()=>{a(l,n.value.children)&&(o.value=!1)}}))))]}}),_1=B({name:"NavScreenLinks",setup(){const e=Vc();return()=>e.value.length?d("nav",{class:"nav-screen-links"},e.value.map(t=>d("div",{class:"navbar-links-item"},"children"in t?d(g1,{config:t}):d(Ne,{config:t})))):null}});const Fc=()=>d(we,{name:"dark"},()=>d("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"}));Fc.displayName="DarkIcon";const Bc=()=>d(we,{name:"light"},()=>d("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"}));Bc.displayName="LightIcon";const Hc=()=>d(we,{name:"auto"},()=>d("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"}));Hc.displayName="AutoIcon";const jc=()=>d(we,{name:"enter-fullscreen"},()=>d("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"}));jc.displayName="EnterFullScreenIcon";const Uc=()=>d(we,{name:"cancel-fullscreen"},()=>d("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"}));Uc.displayName="CancelFullScreenIcon";const Wc=()=>d(we,{name:"outlook"},()=>[d("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"})]);Wc.displayName="OutlookIcon";var qc=B({name:"AppearanceSwitch",setup(){const{config:e,status:t}=pr(),n=()=>{e.value==="switch"?t.value={light:"dark",dark:"auto",auto:"light"}[t.value]:t.value=t.value==="light"?"dark":"light"};return()=>d("button",{type:"button",id:"appearance-switch",onClick:()=>n()},[d(Hc,{style:{display:t.value==="auto"?"block":"none"}}),d(Fc,{style:{display:t.value==="dark"?"block":"none"}}),d(Bc,{style:{display:t.value==="light"?"block":"none"}})])}}),b1=B({name:"AppearanceMode",setup(){const e=ge(),{canToggle:t}=pr(),n=A(()=>e.value.outlookLocales.darkmode);return()=>t.value?d("div",{class:"appearance-wrapper"},[d("label",{class:"appearance-title",for:"appearance-switch"},n.value),d(qc)]):null}});const Eo="VUEPRESS_THEME_COLOR";var y1=B({name:"ThemeColorPicker",props:{themeColor:{type:Object,required:!0}},setup(e){const t=(n="")=>{const r=document.documentElement.classList,o=Mn(e.themeColor);if(!n){localStorage.removeItem(Eo),r.remove(...o);return}r.remove(...o.filter(a=>a!==n)),r.add(n),localStorage.setItem(Eo,n)};return ve(()=>{const n=localStorage.getItem(Eo);n&&t(n)}),()=>d("ul",{id:"theme-color-picker"},[d("li",d("span",{class:"theme-color",onClick:()=>t()})),eo(e.themeColor).map(([n,r])=>d("li",d("span",{style:{background:r},onClick:()=>t(n)})))])}});const yn=Ca.enableThemeColor==="true",w1=yn?xp(eo(Ca).filter(([e])=>e.startsWith("theme-"))):{};var E1=B({name:"ThemeColor",setup(){const e=ge(),t=A(()=>e.value.outlookLocales.themeColor);return()=>yn?d("div",{class:"theme-color-wrapper"},[d("label",{class:"theme-color-title",for:"theme-color-picker"},t.value),d(y1,{themeColor:w1})]):null}}),Kc=B({name:"ToggleFullScreenButton",setup(){const e=ge(),{isSupported:t,isFullscreen:n,toggle:r}=Aa(),o=A(()=>e.value.outlookLocales.fullscreen);return()=>t?d("div",{class:"full-screen-wrapper"},[d("label",{class:"full-screen-title",for:"full-screen-switch"},o.value),d("button",{type:"button",class:"full-screen",id:"full-screen-switch",ariaPressed:n.value,onClick:()=>r()},n.value?d(Uc):d(jc))]):null}}),Gc=B({name:"OutlookSettings",setup(){const e=zn(),t=ro(),n=A(()=>!t.value&&e.value.fullscreen);return()=>d(Zr,()=>[yn?d(E1):null,d(b1),n.value?d(Kc):null])}}),T1=B({name:"NavScreen",props:{show:Boolean},emits:["close"],slots:Object,setup(e,{emit:t,slots:n}){const r=pe(),{isMobile:o}=oo(),a=it(),l=Pa(a);return ve(()=>{a.value=document.body,re(o,s=>{!s&&e.show&&(l.value=!1,t("close"))}),re(()=>r.value.path,()=>{l.value=!1,t("close")})}),$n(()=>{l.value=!1}),()=>d(Pt,{name:"fade",onEnter:()=>{l.value=!0},onAfterLeave:()=>{l.value=!1}},()=>{var s,i;return e.show?d("div",{id:"nav-screen"},d("div",{class:"container"},[(s=n.before)==null?void 0:s.call(n),d(_1),d("div",{class:"outlook-wrapper"},d(Gc)),(i=n.after)==null?void 0:i.call(n)])):null})}}),O1=B({name:"NavbarBrand",setup(){const e=Lt(),t=Xr(),n=ge(),r=A(()=>n.value.home||e.value),o=A(()=>t.value.title),a=A(()=>n.value.logo?ht(n.value.logo):null),l=A(()=>n.value.logoDark?ht(n.value.logoDark):null);return()=>d(Ot,{to:r.value,class:"brand"},()=>[a.value?d("img",{class:["logo",{light:!!l.value}],src:a.value,alt:o.value}):null,l.value?d("img",{class:["logo dark"],src:l.value,alt:o.value}):null,o.value?d("span",{class:["site-name",{"hide-in-pad":a.value&&n.value.hideSiteNameOnMobile!==!1}]},o.value):null])}}),A1=B({name:"NavbarLinks",setup(){const e=Vc();return()=>e.value.length?d("nav",{class:"nav-links"},e.value.map(t=>d("div",{class:"nav-item hide-in-mobile"},"children"in t?d(Mc,{config:t}):d(Ne,{config:t})))):null}}),P1=B({name:"RepoLink",components:{BitbucketIcon:Fi,GiteeIcon:Vi,GitHubIcon:zi,GitLabIcon:Ni,SourceIcon:Bi},setup(){const e=m1();return()=>e.value?d("div",{class:"nav-item"},d("a",{class:"repo-link",href:e.value.link,target:"_blank",rel:"noopener noreferrer","aria-label":e.value.label},d(at(`${e.value.type}Icon`),{style:{width:"1.25rem",height:"1.25rem",verticalAlign:"middle"}}))):null}});const Yc=({active:e=!1},{emit:t})=>d("button",{type:"button",class:["toggle-navbar-button",{"is-active":e}],"aria-label":"Toggle Navbar","aria-expanded":e,"aria-controls":"nav-screen",onClick:()=>t("toggle")},d("span",{class:"button-container"},[d("span",{class:"button-top"}),d("span",{class:"button-middle"}),d("span",{class:"button-bottom"})]));Yc.displayName="ToggleNavbarButton";var k1=Yc;const Bo=(e,{emit:t})=>d("button",{type:"button",class:"toggle-sidebar-button",title:"Toggle Sidebar",onClick:()=>t("toggle")},d("span",{class:"icon"}));Bo.displayName="ToggleSidebarButton",Bo.emits=["toggle"];var L1=Bo,x1=B({name:"OutlookButton",setup(){const{isSupported:e}=Aa(),t=zn(),n=ro(),r=pe(),{canToggle:o}=pr(),a=G(!1),l=A(()=>!n.value&&t.value.fullscreen&&e);return re(()=>r.value.path,()=>{a.value=!1}),()=>o.value||l.value||yn?d("div",{class:"nav-item hide-in-mobile"},o.value&&!l.value&&!yn?d(qc):l.value&&!o.value&&!yn?d(Kc):d("button",{type:"button",class:["outlook-button",{open:a.value}],tabindex:"-1","aria-hidden":!0},[d(Wc),d("div",{class:"outlook-dropdown"},d(Gc))])):null}}),C1=B({name:"NavBar",emits:["toggleSidebar"],slots:Object,setup(e,{emit:t,slots:n}){const r=ge(),{isMobile:o}=oo(),a=G(!1),l=A(()=>{const{navbarAutoHide:u="mobile"}=r.value;return u!=="none"&&(u==="always"||o.value)}),s=A(()=>r.value.navbarLayout||{start:["Brand"],center:["Links"],end:["Language","Repo","Outlook","Search"]}),i={Brand:O1,Language:v1,Links:A1,Repo:P1,Outlook:x1,Search:pt("Docsearch")?at("Docsearch"):pt("SearchBox")?at("SearchBox"):hs},c=u=>i[u]??(pt(u)?at(u):hs);return()=>{var u,f,p,m,y,E;return[d("header",{class:["navbar",{"auto-hide":l.value,"hide-icon":r.value.navbarIcon===!1}],id:"navbar"},[d("div",{class:"navbar-start"},[d(L1,{onToggle:()=>{a.value&&(a.value=!1),t("toggleSidebar")}}),(u=n.startBefore)==null?void 0:u.call(n),(s.value.start||[]).map(T=>d(c(T))),(f=n.startAfter)==null?void 0:f.call(n)]),d("div",{class:"navbar-center"},[(p=n.centerBefore)==null?void 0:p.call(n),(s.value.center||[]).map(T=>d(c(T))),(m=n.centerAfter)==null?void 0:m.call(n)]),d("div",{class:"navbar-end"},[(y=n.endBefore)==null?void 0:y.call(n),(s.value.end||[]).map(T=>d(c(T))),(E=n.endAfter)==null?void 0:E.call(n),d(k1,{active:a.value,onToggle:()=>{a.value=!a.value}})])]),d(T1,{show:a.value,onClose:()=>{a.value=!1}},{before:()=>{var T;return(T=n.screenTop)==null?void 0:T.call(n)},after:()=>{var T;return(T=n.screenBottom)==null?void 0:T.call(n)}})]}}}),I1=B({name:"SidebarChild",props:{config:{type:Object,required:!0}},setup(e){const t=Xe();return()=>[Sc(e.config,{class:["sidebar-link",`sidebar-${e.config.type}`,{active:Ln(t,e.config,!0)}],exact:!0}),Rc(e.config.children)]}}),S1=B({name:"SidebarGroup",props:{config:{type:Object,required:!0},open:{type:Boolean,required:!0}},emits:["toggle"],setup(e,{emit:t}){const n=Xe(),r=A(()=>Ln(n,e.config)),o=A(()=>Ln(n,e.config,!0));return()=>{const{collapsible:a,children:l=[],icon:s,prefix:i,link:c,text:u}=e.config;return d("section",{class:"sidebar-group"},[d(a?"button":"p",{class:["sidebar-heading",{clickable:a||c,exact:o.value,active:r.value}],...a?{type:"button",onClick:()=>t("toggle"),onKeydown:f=>{f.key==="Enter"&&t("toggle")}}:{}},[d(Qe,{icon:s}),c?d(Ne,{class:"title",config:{text:u,link:c},noExternalLinkIcon:!0}):d("span",{class:"title"},u),a?d("span",{class:["arrow",e.open?"down":"end"]}):null]),e.open||!a?d(Qc,{key:i,config:l}):null])}}}),Qc=B({name:"SidebarLinks",props:{config:{type:Array,required:!0}},setup(e){const t=Xe(),n=G(-1),r=o=>{n.value=o===n.value?-1:o};return re(()=>t.path,()=>{const o=e.config.findIndex(a=>Ic(t,a));n.value=o},{immediate:!0,flush:"post"}),()=>d("ul",{class:"sidebar-links"},e.config.map((o,a)=>d("li",o.type==="group"?d(S1,{config:o,open:a===n.value,onToggle:()=>r(a)}):d(I1,{config:o}))))}}),R1=B({name:"SideBar",slots:Object,setup(e,{slots:t}){const n=Xe(),r=ge(),o=Ra(),a=it();return ve(()=>{re(()=>n.hash,l=>{const s=document.querySelector(`.sidebar a.sidebar-link[href="${n.path}${l}"]`);if(!s)return;const{top:i,height:c}=a.value.getBoundingClientRect(),{top:u,height:f}=s.getBoundingClientRect();u<i?s.scrollIntoView(!0):u+f>i+c&&s.scrollIntoView(!1)})}),()=>{var l,s,i;return d("aside",{class:["sidebar",{"hide-icon":r.value.sidebarIcon===!1}],id:"sidebar",ref:a},[(l=t.top)==null?void 0:l.call(t),((s=t.default)==null?void 0:s.call(t))||d(Qc,{config:o.value}),(i=t.bottom)==null?void 0:i.call(t)])}}}),Jc=B({name:"CommonWrapper",props:{noNavbar:Boolean,noSidebar:Boolean,noToc:Boolean},slots:Object,setup(e,{slots:t}){const n=Je(),r=pe(),o=Pe(),a=ge(),{isMobile:l,isPC:s}=oo(),[i,c]=Cl(!1),[u,f]=Cl(!1),p=Ra(),m=G(!1),y=A(()=>e.noNavbar||o.value.navbar===!1||a.value.navbar===!1?!1:!!(r.value.title||a.value.logo||a.value.repo||a.value.navbar)),E=A(()=>e.noSidebar?!1:o.value.sidebar!==!1&&p.value.length!==0&&!o.value.home),T=A(()=>e.noToc||o.value.home?!1:o.value.toc||a.value.toc!==!1&&o.value.toc!==!1),g={x:0,y:0},_=S=>{g.x=S.changedTouches[0].clientX,g.y=S.changedTouches[0].clientY},R=S=>{const z=S.changedTouches[0].clientX-g.x,P=S.changedTouches[0].clientY-g.y;Math.abs(z)>Math.abs(P)*1.5&&Math.abs(z)>40&&(z>0&&g.x<=80?c(!0):c(!1))},I=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;let j=0;return xe("scroll",Np(()=>{const S=I();S<=58||S<j?m.value=!1:j+200<S&&!i.value&&(m.value=!0),j=S},300,!0)),re(l,S=>{S||c(!1)}),ve(()=>{const S=Pa(document.body);re(i,P=>{S.value=P});const z=n.afterEach(()=>{c(!1)});$n(()=>{S.value=!1,z()})}),()=>d(pt("GlobalEncrypt")?at("GlobalEncrypt"):Mi,()=>d("div",{class:["theme-container",{"no-navbar":!y.value,"no-sidebar":!E.value&&!(t.sidebar||t.sidebarTop||t.sidebarBottom),"has-toc":T.value,"hide-navbar":m.value,"sidebar-collapsed":!l.value&&!s.value&&u.value,"sidebar-open":l.value&&i.value},o.value.containerClass||""],onTouchStart:_,onTouchEnd:R},[y.value?d(C1,{onToggleSidebar:()=>c()},{startBefore:()=>{var S;return(S=t.navbarStartBefore)==null?void 0:S.call(t)},startAfter:()=>{var S;return(S=t.navbarStartAfter)==null?void 0:S.call(t)},centerBefore:()=>{var S;return(S=t.navbarCenterBefore)==null?void 0:S.call(t)},centerAfter:()=>{var S;return(S=t.navbarCenterAfter)==null?void 0:S.call(t)},endBefore:()=>{var S;return(S=t.navbarEndBefore)==null?void 0:S.call(t)},endAfter:()=>{var S;return(S=t.navbarEndAfter)==null?void 0:S.call(t)},screenTop:()=>{var S;return(S=t.navScreenTop)==null?void 0:S.call(t)},screenBottom:()=>{var S;return(S=t.navScreenBottom)==null?void 0:S.call(t)}}):null,d(Pt,{name:"fade"},()=>i.value?d("div",{class:"sidebar-mask",onClick:()=>c(!1)}):null),d(Pt,{name:"fade"},()=>l.value?null:d("div",{class:"toggle-sidebar-wrapper",onClick:()=>f()},d("span",{class:["arrow",u.value?"end":"start"]}))),d(R1,{},{...t.sidebar?{default:()=>t.sidebar()}:{},top:()=>{var S;return(S=t.sidebarTop)==null?void 0:S.call(t)},bottom:()=>{var S;return(S=t.sidebarBottom)==null?void 0:S.call(t)}}),t.default(),d(p1)]))}}),hn=B({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=o=>{o.style.transition=`transform ${e.duration}s ease-in-out ${e.delay}s, opacity ${e.duration}s ease-in-out ${e.delay}s`,o.style.transform="translateY(-20px)",o.style.opacity="0"},r=o=>{o.style.transform="translateY(0)",o.style.opacity="1"};return()=>d(e.type==="single"?Pt:Ei,{name:"drop",appear:e.appear,onAppear:n,onAfterAppear:r,onEnter:n,onAfterEnter:r,onBeforeLeave:n},()=>t.default())}});const Ho=({custom:e})=>d($i,{class:["theme-hope-content",{custom:e}]});Ho.displayName="MarkdownContent",Ho.props={custom:Boolean};var Xc=Ho;const Zc=()=>d(we,{name:"author"},()=>d("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"}));Zc.displayName="AuthorIcon";const eu=()=>d(we,{name:"calendar"},()=>d("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"}));eu.displayName="CalendarIcon";const tu=()=>d(we,{name:"category"},()=>d("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"}));tu.displayName="CategoryIcon";const nu=()=>d(we,{name:"eye"},()=>d("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"}));nu.displayName="EyeIcon";const ru=()=>d(we,{name:"fire"},()=>d("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"}));ru.displayName="FireIcon";const ou=()=>d(we,{name:"print"},()=>d("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"}));ou.displayName="PrintIcon";const au=()=>d(we,{name:"tag"},()=>d("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"}));au.displayName="TagIcon";const lu=()=>d(we,{name:"timer"},()=>d("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"}));lu.displayName="TimerIcon";const su=()=>d(we,{name:"word"},()=>[d("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"}),d("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"})]);su.displayName="WordIcon";const xt=()=>{const e=ge();return A(()=>e.value.metaLocales)};var $1=B({name:"AuthorInfo",inheritAttrs:!1,props:{author:{type:Array,required:!0},pure:Boolean},setup(e){const t=xt();return()=>e.author.length?d("span",{class:"page-author-info","aria-label":`${t.value.author}${e.pure?"":"🖊"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[d(Zc),d("span",e.author.map(n=>n.url?d("a",{class:"page-author-item",href:n.url,target:"_blank",rel:"noopener noreferrer"},n.name):d("span",{class:"page-author-item"},n.name))),d("span",{property:"author",content:e.author.map(n=>n.name).join(", ")})]):null}}),D1=B({name:"CategoryInfo",inheritAttrs:!1,props:{category:{type:Array,required:!0},pure:Boolean},setup(e){const t=Je(),n=pe(),r=xt(),o=(a,l="")=>{l&&n.value.path!==l&&(a.preventDefault(),t.push(l))};return()=>e.category.length?d("span",{class:"page-category-info","aria-label":`${r.value.category}${e.pure?"":"🌈"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[d(tu),e.category.map(({name:a,path:l})=>d("span",{class:["page-category-item",{[`category${Wi(a,9)}`]:!e.pure,clickable:l}],role:l?"navigation":"",onClick:s=>o(s,l)},a)),d("meta",{property:"articleSection",content:e.category.map(({name:a})=>a).join(",")})]):null}}),M1=B({name:"DateInfo",inheritAttrs:!1,props:{date:{type:Object,default:null},localizedDate:{type:String,default:""},pure:Boolean},setup(e){const t=Jr(),n=xt();return()=>e.date?d("span",{class:"page-date-info","aria-label":`${n.value.date}${e.pure?"":"📅"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[d(eu),d("span",d(Zr,()=>e.localizedDate||e.date.toLocaleDateString(t.value))),d("meta",{property:"datePublished",content:e.date.toISOString()||""})]):null}}),z1=B({name:"OriginalInfo",inheritAttrs:!1,props:{isOriginal:Boolean},setup(e){const t=xt();return()=>e.isOriginal?d("span",{class:"page-original-info"},t.value.origin):null}}),N1=B({name:"PageViewInfo",inheritAttrs:!1,props:{pageview:{type:[Boolean,String],default:!1},pure:Boolean},setup(e){const t=Xe(),n=xt(),r=it(),o=G(0);return mh(r,()=>{const a=r.value.textContent;a&&!isNaN(Number(a))&&(o.value=Number(a))},{childList:!0}),()=>e.pageview?d("span",{class:"page-pageview-info","aria-label":`${n.value.views}${e.pure?"":"🔢"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[d(o.value<1e3?nu:ru),d("span",{ref:r,class:"waline-pageview-count",id:"ArtalkPV","data-path":ae(e.pageview)?e.pageview:ht(t.path)},"...")]):null}}),V1=B({name:"ReadingTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=xt(),n=A(()=>{if(!e.readingTime)return null;const{minutes:r}=e.readingTime;return r<1?"PT1M":`PT${Math.round(r)}M`});return()=>{var r,o;return(r=e.readingTimeLocale)!=null&&r.time?d("span",{class:"page-reading-time-info","aria-label":`${t.value.readingTime}${e.pure?"":"⌛"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[d(lu),d("span",(o=e.readingTimeLocale)==null?void 0:o.time),d("meta",{property:"timeRequired",content:n.value})]):null}}}),F1=B({name:"TagInfo",inheritAttrs:!1,props:{tag:{type:Array,default:()=>[]},pure:Boolean},setup(e){const t=Je(),n=pe(),r=xt(),o=(a,l="")=>{l&&n.value.path!==l&&(a.preventDefault(),t.push(l))};return()=>e.tag.length?d("span",{class:"page-tag-info","aria-label":`${r.value.tag}${e.pure?"":"🏷"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[d(au),e.tag.map(({name:a,path:l})=>d("span",{class:["page-tag-item",{[`tag${Wi(a,9)}`]:!e.pure,clickable:l}],role:l?"navigation":"",onClick:s=>o(s,l)},a)),d("meta",{property:"keywords",content:e.tag.map(({name:a})=>a).join(",")})]):null}}),B1=B({name:"ReadTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=xt();return()=>{var n,r,o;return(n=e.readingTimeLocale)!=null&&n.words?d("span",{class:"page-word-info","aria-label":`${t.value.words}${e.pure?"":"🔠"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[d(su),d("span",(r=e.readingTimeLocale)==null?void 0:r.words),d("meta",{property:"wordCount",content:(o=e.readingTime)==null?void 0:o.words})]):null}}}),H1=B({name:"PageInfo",components:{AuthorInfo:$1,CategoryInfo:D1,DateInfo:M1,OriginalInfo:z1,PageViewInfo:N1,ReadingTimeInfo:V1,TagInfo:F1,WordInfo:B1},props:{items:{type:[Array,Boolean],default:()=>["Author","Original","Date","PageView","ReadingTime","Category","Tag"]},info:{type:Object,required:!0}},setup(e){const t=ro();return()=>e.items?d("div",{class:"page-info"},e.items.map(n=>d(at(`${n}Info`),{...e.info,pure:t.value}))):null}}),j1=B({name:"PrintButton",setup(){const e=zn(),t=ge();return()=>e.value.print===!1?null:d("button",{type:"button",class:"print-button",title:t.value.metaLocales.print,onClick:()=>{window.print()}},d(ou))}});const U1=({title:e,level:t,slug:n})=>d(Ot,{to:`#${n}`,class:["toc-link",`level${t}`]},()=>e),jo=(e,t)=>{const n=Xe();return e.length&&t>0?d("ul",{class:"toc-list"},e.map(r=>{const o=jo(r.children,t-1);return[d("li",{class:["toc-item",{active:ba(n,`#${r.slug}`)}]},U1(r)),o?d("li",o):null]})):null};var W1=B({name:"TOC",props:{items:{type:Array,default:()=>[]},headerDepth:{type:Number,default:2}},slots:Object,setup(e,{slots:t}){const n=Xe(),r=pe(),o=xt(),a=it(),l=G("-1.7rem"),s=c=>{var u;(u=a.value)==null||u.scrollTo({top:c,behavior:"smooth"})},i=()=>{if(a.value){const c=document.querySelector(".toc-item.active");c?l.value=`${c.getBoundingClientRect().top-a.value.getBoundingClientRect().top+a.value.scrollTop}px`:l.value="-1.7rem"}else l.value="-1.7rem"};return ve(()=>{re(()=>n.hash,c=>{if(a.value){const u=document.querySelector(`#toc a.toc-link[href$="${c}"]`);if(!u)return;const{top:f,height:p}=a.value.getBoundingClientRect(),{top:m,height:y}=u.getBoundingClientRect();m<f?s(a.value.scrollTop+m-f):m+y>f+p&&s(a.value.scrollTop+m+y-f-p)}}),re(()=>n.fullPath,()=>i(),{flush:"post",immediate:!0})}),()=>{var c,u;const f=e.items.length?jo(e.items,e.headerDepth):r.value.headers?jo(r.value.headers,e.headerDepth):null;return f?d("div",{class:"toc-place-holder"},[d("aside",{id:"toc"},[(c=t.before)==null?void 0:c.call(t),d("div",{class:"toc-header"},[o.value.toc,d(j1)]),d("div",{class:"toc-wrapper",ref:a},[f,d("div",{class:"toc-marker",style:{top:l.value}})]),(u=t.after)==null?void 0:u.call(t)])]):null}}}),iu=B({name:"SkipLink",props:{content:{type:String,default:"main-content"}},setup(e){const t=pe(),n=ge(),r=it(),o=({target:a})=>{const l=document.querySelector(a.hash);if(l){const s=()=>{l.removeAttribute("tabindex"),l.removeEventListener("blur",s)};l.setAttribute("tabindex","-1"),l.addEventListener("blur",s),l.focus(),window.scrollTo(0,0)}};return ve(()=>{re(()=>t.value.path,()=>r.value.focus())}),()=>[d("span",{ref:r,tabindex:"-1"}),d("a",{href:`#${e.content}`,class:"skip-link sr-only",onClick:o},n.value.routeLocales.skipToContent)]}});let To=null,kr=null;const q1={wait:()=>To,pending:()=>{To=new Promise(e=>kr=e)},resolve:()=>{kr==null||kr(),To=null,kr=null}},cu=()=>q1;var K1=B({name:"FadeSlideY",slots:Object,setup(e,{slots:t}){const{resolve:n,pending:r}=cu();return()=>d(Pt,{name:"fade-slide-y",mode:"out-in",onBeforeEnter:n,onBeforeLeave:r},()=>{var o;return(o=t.default)==null?void 0:o.call(t)})}}),G1=B({name:"FeaturePanel",props:{items:{type:Object,default:()=>[]},header:{type:String,default:""}},setup(e){return()=>d("div",{class:"feature-panel"},[e.header?d("h2",{class:"feature-header"},e.header):null,e.items.length?d("div",{class:"feature-wrapper"},e.items.map(t=>{const n=[d("h3",[d(Qe,{icon:t.icon}),d("span",{innerHTML:t.title})]),d("p",{innerHTML:t.details})];return t.link?Fr(t.link)?d("a",{class:"feature-item link",href:t.link,role:"navigation","aria-label":t.title,target:"_blank"},n):d(Ot,{class:"feature-item link",to:t.link,role:"navigation","aria-label":t.title},()=>n):d("div",{class:"feature-item"},n)})):null])}}),Y1=B({name:"HeroInfo",slots:Object,setup(e,{slots:t}){const n=Pe(),r=Xr(),o=A(()=>n.value.heroText===!1?!1:n.value.heroText||r.value.title||"Hello"),a=A(()=>n.value.tagline===!1?!1:n.value.tagline||r.value.description||"Welcome to your VuePress site"),l=A(()=>n.value.heroImage?ht(n.value.heroImage):null),s=A(()=>n.value.heroImageDark?ht(n.value.heroImageDark):null),i=A(()=>n.value.heroAlt||o.value||"hero"),c=A(()=>n.value.actions??[]);return()=>{var u,f;return d("header",{class:"hero-info-wrapper"},[((u=t.heroImage)==null?void 0:u.call(t))||d(hn,{appear:!0,type:"group"},()=>[l.value?d("img",{key:"light",class:{light:s.value},src:l.value,alt:i.value}):null,s.value?d("img",{key:"dark",class:"dark",src:s.value,alt:i.value}):null]),((f=t.heroInfo)==null?void 0:f.call(t))??d("div",{class:"hero-info"},[o.value?d(hn,{appear:!0,delay:.04},()=>d("h1",{id:"main-title"},o.value)):null,a.value?d(hn,{appear:!0,delay:.08},()=>d("p",{class:"description"},a.value)):null,c.value.length?d(hn,{appear:!0,delay:.12},()=>d("p",{class:"actions"},c.value.map(p=>d(Ne,{class:["action-button",p.type||"default"],config:p,noExternalLinkIcon:!0})))):null])])}}}),Q1=B({name:"HomePage",slots:Object,setup(e,{slots:t}){const n=ro(),r=Pe(),o=A(()=>{const{features:a}=r.value;return q(a)?a.some(l=>!("items"in l))?[{items:a}]:a:[]});return()=>{var a,l,s;return d("main",{class:["home project",{pure:n.value}],id:"main-content","aria-labelledby":r.value.heroText===null?void 0:"main-title"},[(a=t.top)==null?void 0:a.call(t),d(Y1),o.value.map(({header:i="",items:c},u)=>d(hn,{appear:!0,delay:.16+u*.08},()=>d(G1,{header:i,items:c}))),(l=t.center)==null?void 0:l.call(t),d(hn,{appear:!0,delay:.16+o.value.length*.08},()=>d(Xc)),(s=t.bottom)==null?void 0:s.call(t)])}}});const J1=(e,t)=>{const n=e.replace(t,"/").split("/"),r=[];let o=va(t);return n.forEach((a,l)=>{l!==n.length-1?(o+=`${a}/`,r.push(o)):a!==""&&(o+=a,r.push(o))}),r};var X1=B({name:"BreadCrumb",setup(){const e=Je(),t=pe(),n=Lt(),r=Pe(),o=ge(),a=it([]),l=A(()=>(r.value.breadcrumb||r.value.breadcrumb!==!1&&o.value.breadcrumb!==!1)&&a.value.length>1),s=A(()=>r.value.breadcrumbIcon||r.value.breadcrumbIcon!==!1&&o.value.breadcrumbIcon!==!1),i=()=>{const c=e.getRoutes(),u=J1(t.value.path,n.value).map(f=>{const p=c.find(m=>m.path===f);if(p){const{meta:m,path:y}=ya(e,p.path),E=m[Et.shortTitle]||m[Et.title];if(E)return{title:E,icon:m[Et.icon],path:y}}return null}).filter(f=>f!==null);u.length>1&&(a.value=u)};return ve(()=>{i(),re(()=>t.value.path,i)}),()=>d("nav",{class:["breadcrumb",{disable:!l.value}]},l.value?d("ol",{vocab:"https://schema.org/",typeof:"BreadcrumbList"},a.value.map((c,u)=>d("li",{class:{"is-active":a.value.length-1===u},property:"itemListElement",typeof:"ListItem"},[d(Ot,{to:c.path,property:"item",typeof:"WebPage"},()=>[s.value?d(Qe,{icon:c.icon}):null,d("span",{property:"name"},c.title||"Unknown")]),d("meta",{property:"position",content:u+1})]))):[])}});const vs=e=>e===!1?!1:ae(e)?bn(e,!0):ma(e)?e:null,Uo=(e,t,n)=>{const r=e.findIndex(o=>o.link===t);if(r!==-1){const o=e[r+n];return o!=null&&o.link?o:null}for(const o of e)if(o.children){const a=Uo(o.children,t,n);if(a)return a}return null};var Z1=B({name:"PageNav",setup(){const e=ge(),t=Pe(),n=Ra(),r=pe(),o=e1(),a=A(()=>{const s=vs(t.value.prev);return s===!1?null:s||(e.value.prevLink===!1?null:Uo(n.value,r.value.path,-1))}),l=A(()=>{const s=vs(t.value.next);return s===!1?null:s||(e.value.nextLink===!1?null:Uo(n.value,r.value.path,1))});return xe("keydown",s=>{s.altKey&&(s.key==="ArrowRight"?l.value&&(o(l.value.link),s.preventDefault()):s.key==="ArrowLeft"&&a.value&&(o(a.value.link),s.preventDefault()))}),()=>a.value||l.value?d("nav",{class:"page-nav"},[a.value?d(Ne,{class:"prev",config:a.value},()=>{var s,i;return[d("div",{class:"hint"},[d("span",{class:"arrow start"}),e.value.metaLocales.prev]),d("div",{class:"link"},[d(Qe,{icon:(s=a.value)==null?void 0:s.icon}),(i=a.value)==null?void 0:i.text])]}):null,l.value?d(Ne,{class:"next",config:l.value},()=>{var s,i;return[d("div",{class:"hint"},[e.value.metaLocales.next,d("span",{class:"arrow end"})]),d("div",{class:"link"},[(s=l.value)==null?void 0:s.text,d(Qe,{icon:(i=l.value)==null?void 0:i.icon})])]}):null]):null}});const e0={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"},t0=({docsRepo:e,docsBranch:t,docsDir:n,filePathRelative:r,editLinkPattern:o})=>{if(!r)return null;const a=Gi(e);let l;return o?l=o:a!==null&&(l=e0[a]),l?l.replace(/:repo/,Dn(e)?e:`https://github.com/${e}`).replace(/:branch/,t).replace(/:path/,Ai(`${va(n)}/${r}`)):null},n0=()=>{const e=ge(),t=pe(),n=Pe();return A(()=>{const{repo:r,docsRepo:o=r,docsBranch:a="main",docsDir:l="",editLink:s,editLinkPattern:i=""}=e.value;if(!(n.value.editLink??s??!0)||!o)return null;const c=t0({docsRepo:o,docsBranch:a,docsDir:l,editLinkPattern:i,filePathRelative:t.value.filePathRelative});return c?{text:e.value.metaLocales.editLink,link:c}:null})},r0=()=>{const e=Xr(),t=ge(),n=pe(),r=Pe();return A(()=>{var o,a;return!(r.value.lastUpdated??t.value.lastUpdated??!0)||!((o=n.value.git)!=null&&o.updatedTime)?null:new Date((a=n.value.git)==null?void 0:a.updatedTime).toLocaleString(e.value.lang)})},o0=()=>{const e=ge(),t=pe(),n=Pe();return A(()=>{var r;return n.value.contributors??e.value.contributors??!0?((r=t.value.git)==null?void 0:r.contributors)??null:null})};var a0=B({name:"PageTitle",setup(){const e=pe(),t=Pe(),n=ge(),{info:r,items:o}=o1();return()=>d("div",{class:"page-title"},[d("h1",[n.value.titleIcon===!1?null:d(Qe,{icon:t.value.icon}),e.value.title]),d(H1,{info:r.value,...o.value===null?{}:{items:o.value}}),d("hr")])}});const uu=()=>d(we,{name:"edit"},()=>[d("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"}),d("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"})]);uu.displayName="EditIcon";var l0=B({name:"PageMeta",setup(){const e=ge(),t=n0(),n=r0(),r=o0();return()=>{const{metaLocales:o}=e.value;return d("footer",{class:"page-meta"},[t.value?d("div",{class:"meta-item edit-link"},d(Ne,{class:"label",config:t.value},{before:()=>d(uu)})):null,d("div",{class:"meta-item git-info"},[n.value?d("div",{class:"update-time"},[d("span",{class:"label"},`${o.lastUpdated}: `),d(Zr,()=>d("span",{class:"info"},n.value))]):null,r.value&&r.value.length?d("div",{class:"contributors"},[d("span",{class:"label"},`${o.contributors}: `),r.value.map(({email:a,name:l},s)=>[d("span",{class:"contributor",title:`email: ${a}`},l),s!==r.value.length-1?",":""])]):null])])}}}),s0=B({name:"NormalPage",slots:Object,setup(e,{slots:t}){const n=Pe(),r=pe(),{isDarkmode:o}=pr(),a=ge(),l=A(()=>n.value.toc||n.value.toc!==!1&&a.value.toc!==!1);return()=>d("main",{class:"page",id:"main-content"},d(pt("LocalEncrypt")?at("LocalEncrypt"):Mi,()=>{var s,i,c,u;return[(s=t.top)==null?void 0:s.call(t),n.value.cover?d("img",{class:"page-cover",src:ht(n.value.cover),alt:r.value.title,"no-view":""}):null,d(X1),d(a0),l.value?d(W1,{headerDepth:n.value.headerDepth??a.value.headerDepth??2},{before:()=>{var f;return(f=t.tocBefore)==null?void 0:f.call(t)},after:()=>{var f;return(f=t.tocAfter)==null?void 0:f.call(t)}}):null,(i=t.contentBefore)==null?void 0:i.call(t),d(Xc),(c=t.contentAfter)==null?void 0:c.call(t),d(l0),d(Z1),pt("CommentService")?d(at("CommentService"),{darkmode:o.value}):null,(u=t.bottom)==null?void 0:u.call(t)]}))}}),i0=B({name:"Layout",setup(){ge();const e=pe(),t=Pe(),{isMobile:n}=oo(),r=A(()=>"none");return()=>[d(iu),d(Jc,{},{default:()=>t.value.home?d(Q1):d(K1,()=>d(s0,{key:e.value.path})),...r.value!=="none"?{navScreenBottom:()=>d(at("BloggerInfo"))}:{},...!n.value&&r.value==="always"?{sidebar:()=>d(at("BloggerInfo"))}:{}})]}}),c0=B({name:"NotFoundHint",setup(){const e=ge(),t=()=>{const n=e.value.routeLocales.notFoundMsg;return n[Math.floor(Math.random()*n.length)]};return()=>d("div",{class:"not-found-hint"},[d("p",{class:"error-code"},"404"),d("h1",{class:"error-title"},e.value.routeLocales.notFoundTitle),d("p",{class:"error-hint"},t())])}}),u0=B({name:"NotFound",slots:Object,setup(e,{slots:t}){const n=Lt(),r=ge(),{navigate:o}=No({to:r.value.home??n.value});return()=>[d(iu),d(Jc,{noSidebar:!0},()=>{var a;return d("main",{class:"page not-found",id:"main-content"},((a=t.default)==null?void 0:a.call(t))||[d(c0),d("div",{class:"actions"},[d("button",{type:"button",class:"action-button",onClick:()=>{window.history.go(-1)}},r.value.routeLocales.back),d("button",{type:"button",class:"action-button",onClick:()=>o()},r.value.routeLocales.home)])])})]}});Wm(Qe);const d0=De({enhance:({app:e,router:t})=>{const{scrollBehavior:n}=t.options;t.options.scrollBehavior=async(...r)=>(await cu().wait(),n(...r)),s1(e)},setup:()=>{i1(),f1()},layouts:{Layout:i0,NotFound:u0}}),f0=e=>{const t=xe("keydown",n=>{const r=n.key==="k"&&(n.ctrlKey||n.metaKey);!(n.key==="/")&&!r||(n.preventDefault(),e(),t())})},p0=e=>e.button===1||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey,h0=()=>{const e=Je();return{hitComponent:({hit:t,children:n})=>({type:"a",ref:void 0,constructor:void 0,key:void 0,props:{href:t.url,onClick:r=>{p0(r)||(r.preventDefault(),e.push(Al(t.url,"/")))},children:n},__v:null}),navigator:{navigate:({itemUrl:t})=>{e.push(Al(t,"/"))}},transformSearchClient:t=>{const n=rc(t.search,500);return{...t,search:async(...r)=>n(...r)}}}},m0=(e=[],t)=>[`lang:${t}`,...q(e)?e:[e]],v0=({buttonText:e="Search",buttonAriaLabel:t=e}={})=>`<button type="button" class="DocSearch DocSearch-Button" aria-label="${t}"><span class="DocSearch-Button-Container"><svg width="20" height="20" class="DocSearch-Search-Icon" viewBox="0 0 20 20"><path d="M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"></path></svg><span class="DocSearch-Button-Placeholder">${e}</span></span><span class="DocSearch-Button-Keys"><kbd class="DocSearch-Button-Key"><svg width="15" height="15" class="DocSearch-Control-Key-Icon"><path d="M4.505 4.496h2M5.505 5.496v5M8.216 4.496l.055 5.993M10 7.5c.333.333.5.667.5 1v2M12.326 4.5v5.996M8.384 4.496c1.674 0 2.116 0 2.116 1.5s-.442 1.5-2.116 1.5M3.205 9.303c-.09.448-.277 1.21-1.241 1.203C1 10.5.5 9.513.5 8V7c0-1.57.5-2.5 1.464-2.494.964.006 1.134.598 1.24 1.342M12.553 10.5h1.953" stroke-width="1.2" stroke="currentColor" fill="none" stroke-linecap="square"></path></svg></kbd><kbd class="DocSearch-Button-Key">K</kbd></span></button>`,g0=16,du=()=>{if(document.querySelector(".DocSearch-Modal"))return;const e=new Event("keydown");e.key="k",e.metaKey=!0,window.dispatchEvent(e),setTimeout(du,g0)},_0=e=>{const t="algolia-preconnect";(window.requestIdleCallback||setTimeout)(()=>{if(document.head.querySelector(`#${t}`))return;const r=document.createElement("link");r.id=t,r.rel="preconnect",r.href=`https://${e}-dsn.algolia.net`,r.crossOrigin="",document.head.appendChild(r)})},b0={appId:"28CTGDOOQD",apiKey:"72d7a9a0f9f0466218ea19988886dce8",indexName:"hutao",locales:{"/zh/":{placeholder:"搜索文档",translations:{button:{buttonText:"搜索文档",buttonAriaLabel:"搜索文档"},modal:{searchBox:{resetButtonTitle:"清除查询条件",resetButtonAriaLabel:"清除查询条件",cancelButtonText:"取消",cancelButtonAriaLabel:"取消"},startScreen:{recentSearchesTitle:"搜索历史",noRecentSearchesText:"没有搜索历史",saveRecentSearchButtonTitle:"保存至搜索历史",removeRecentSearchButtonTitle:"从搜索历史中移除",favoriteSearchesTitle:"收藏",removeFavoriteSearchButtonTitle:"从收藏中移除"},errorScreen:{titleText:"无法获取结果",helpText:"你可能需要检查你的网络连接"},footer:{selectText:"选择",navigateText:"切换",closeText:"关闭",searchByText:"搜索提供者"},noResultsScreen:{noResultsText:"无法找到相关结果",suggestedQueryText:"你可以尝试查询",reportMissingResultsText:"你认为该查询应该有结果?",reportMissingResultsLinkText:"点击反馈"}}}},"/en/":{placeholder:"Search documents",translations:{button:{buttonText:"Search documents"}}}}};w(()=>import("./style-e9220a04.js"),[]),w(()=>import("./docsearch-1d421ddb.js"),[]);const y0=B({name:"Docsearch",props:{containerId:{type:String,required:!1,default:"docsearch-container"},options:{type:Object,required:!1,default:()=>b0}},setup(e){const t=h0(),n=Jr(),r=Lt(),o=G(!1),a=G(!1),l=A(()=>{var c;return{...e.options,...(c=e.options.locales)==null?void 0:c[r.value]}}),s=async()=>{var u;const{default:c}=await w(()=>import("./index-d20b7d60.js"),[]);c({...t,...l.value,container:`#${e.containerId}`,searchParameters:{...l.value.searchParameters,facetFilters:m0((u=l.value.searchParameters)==null?void 0:u.facetFilters,n.value)}}),o.value=!0},i=()=>{a.value||o.value||(a.value=!0,s(),du(),re(r,s))};return f0(i),ve(()=>_0(l.value.appId)),()=>{var c;return[d("div",{id:e.containerId,style:{display:o.value?"block":"none"}}),o.value?null:d("div",{onClick:i,innerHTML:v0((c=l.value.translations)==null?void 0:c.button)})]}}}),w0=De({enhance({app:e}){e.component("Docsearch",y0)}}),E0=e=>{if(window.dataLayer&&window.gtag)return;const t=document.createElement("script");t.src=`https://www.googletagmanager.com/gtag/js?id=${e.id}`,t.async=!0,document.head.appendChild(t),window.dataLayer=window.dataLayer||[],window.gtag=function(){dataLayer.push(arguments)},gtag("js",new Date),e.debug?gtag("config",e.id,{debug_mode:!0}):gtag("config",e.id)},T0={id:"G-F3LFJCE3RM"},O0=De({enhance(){E0(T0)}});const fu={autoLocale:!0,switchLocale:"modal",localeConfig:{0:["/en/",["en-US","en-UK","en"]],1:["/zh/",["zh-CN","zh-TW","zh"]],"/zh/":["zh-CN"],"/en/":["en-US"]},defaultLocale:"/en/",localeFallback:!0,defaultBehavior:"defaultLocale"},gs=eo(fu.localeConfig),_s={"/zh/":{name:"简体中文",hint:"您的首选语言是 $1,是否切换到该语言?",switch:"切换到 $1",cancel:"取消"},"/en/":{name:"English",hint:"Your primary language is $1, do you want to switch to it?",switch:"Switch to $1",cancel:"Cancel"},"/":{name:"English",hint:"Your primary language is $1, do you want to switch to it?",switch:"Switch to $1",cancel:"Cancel"}},{switchLocale:bs}=fu,ys=kh("VUEPRESS_REDIRECT_LOCALES",{});var A0=B({name:"LanguageSwitch",setup(){const e=Ah(),t=Xe(),n=Je(),r=Lt(),o=G(!1),a=A(()=>{if(gs.some(([c])=>r.value===c)){for(const c of e.value)for(const[u,f]of gs)if(f.includes(c))return u===r.value?null:{lang:c,localePath:u}}return null}),l=A(()=>{if(a.value){const{lang:c,localePath:u}=a.value,f=[_s[r.value],_s[u]];return{hint:f.map(({hint:p})=>p.replace("$1",c)),switch:f.map(({switch:p})=>p.replace("$1",c)).join(" / "),cancel:f.map(({cancel:p})=>p).join(" / ")}}return null}),s=A(()=>a.value?t.path.replace(r.value,a.value.localePath):null),i=()=>{ys.value[r.value]=!0,o.value=!1};return ve(()=>{const c=Pa(document.body);ys.value[r.value]||(a.value?bs==="direct"?n.replace(s.value):bs==="modal"?o.value=!0:o.value=!1:o.value=!1),re(o,u=>{c.value=u},{immediate:!0}),$n(()=>{c.value=!1})}),()=>o.value?d(Ei,{name:"lang-modal-fade"},()=>{var c,u,f;return o.value?[d("div",{key:"mask",class:"lang-modal-mask"}),d("div",{key:"popup",class:"lang-modal-wrapper"},[d("div",{class:"lang-modal-content"},(c=l.value)==null?void 0:c.hint.map(p=>d("p",p))),d("button",{type:"button",class:"lang-modal-action primary",onClick:()=>{i(),n.replace(s.value)}},(u=l.value)==null?void 0:u.switch),d("button",{type:"button",class:"lang-modal-action",onClick:()=>i()},(f=l.value)==null?void 0:f.cancel)])]:[]}):null}}),P0=De({setup(){},rootComponents:[A0]});const Lr=[wp,zh,Um,Ym,Xm,nv,sv,yv,kv,xv,Vv,qv,d0,w0,O0,P0],k0=[["v-2d0a870d","/en/",{y:"h",t:"Home",i:"home"},["/en/index.html","/en/README.md"]],["v-082946dd","/en/community.html",{y:"a",t:"Join Community",O:8},["/en/community","/en/community.md"]],["v-038e810e","/en/i18n.html",{y:"a",t:"Localization",O:7},["/en/i18n","/en/i18n.md"]],["v-ba407326","/en/menu.html",{y:"a",t:"Site Menu",I:0},["/en/menu","/en/menu.md"]],["v-586858ed","/en/project.html",{y:"a",t:"Project",O:6},["/en/project","/en/project.md"]],["v-0c01f6a4","/en/quick-start.html",{y:"a",t:"Quick Start",O:5},["/en/quick-start","/en/quick-start.md"]],["v-23b9870a","/en/side-load.html",{y:"a",t:""},["/en/side-load","/en/side-load.md"]],["v-7d29d7d8","/en/star-request.html",{y:"a",t:""},["/en/star-request","/en/star-request.md"]],["v-2d0ad528","/zh/",{y:"h",t:"首页",i:"home"},["/zh/index.html","/zh/README.md"]],["v-5cad49b8","/zh/community.html",{y:"a",t:"加入用户社区",O:8},["/zh/community","/zh/community.md"]],["v-27c4e153","/zh/i18n.html",{y:"a",t:"国际化支持",O:7},["/zh/i18n","/zh/i18n.md"]],["v-71d3b29c","/zh/menu.html",{y:"a",t:"全站目录",I:0},["/zh/menu","/zh/menu.md"]],["v-6c355688","/zh/project.html",{y:"a",t:"项目说明",O:6},["/zh/project","/zh/project.md"]],["v-4f90aebf","/zh/quick-start.html",{y:"a",t:"快速开始",O:5},["/zh/quick-start","/zh/quick-start.md"]],["v-783d89e5","/zh/side-load.html",{y:"a",t:""},["/zh/side-load","/zh/side-load.md"]],["v-a91bb9c6","/zh/star-request.html",{y:"a",t:""},["/zh/star-request","/zh/star-request.md"]],["v-1bd4ef83","/en/advanced/FAQ.html",{y:"a",t:"FAQ",i:"ask",O:1},["/en/advanced/FAQ","/en/advanced/FAQ.md"]],["v-5c3f740a","/en/advanced/Gacha-system-and-export-principal.html",{y:"a",t:"祈愿系统与导出原理",i:"read",O:7},["/en/advanced/Gacha-system-and-export-principal","/en/advanced/Gacha-system-and-export-principal.md"]],["v-5f449840","/en/advanced/",{y:"a",t:"Advanced",O:2},["/en/advanced/index.html","/en/advanced/README.md"]],["v-1a028d16","/en/advanced/exceptions.html",{y:"a",t:"Common Program Exceptions",i:"debug",O:2},["/en/advanced/exceptions","/en/advanced/exceptions.md"]],["v-bd668802","/en/advanced/get-stoken-cookie-from-the-third-party.html",{y:"a",t:"使用第三方工具获取有 Stoken 的 cookie",i:"read",O:6},["/en/advanced/get-stoken-cookie-from-the-third-party","/en/advanced/get-stoken-cookie-from-the-third-party.md"]],["v-51647c4a","/en/advanced/known-issue.html",{y:"a",t:"Known Issue",i:"tool",O:3},["/en/advanced/known-issue","/en/advanced/known-issue.md"]],["v-bbae7dd2","/en/advanced/uninstall.html",{y:"a",t:"Uninstall Snap Hutao",i:"delete",O:8},["/en/advanced/uninstall","/en/advanced/uninstall.md"]],["v-f88d343e","/en/development/",{y:"a",t:"Development",O:3},["/en/development/index.html","/en/development/README.md"]],["v-32bb1805","/en/development/platform.html",{y:"a",t:"Hutao Open Platform",i:"vscode",O:1},["/en/development/platform","/en/development/platform.md"]],["v-30f089b6","/en/features/",{y:"a",t:"Features",O:1},["/en/features/index.html","/en/features/README.md"]],["v-699a13b0","/en/features/achievements.html",{y:"a",t:"Achievement Management",O:4},["/en/features/achievements","/en/features/achievements.md"]],["v-f3692af4","/en/features/character-data.html",{y:"a",t:"My Characters",O:6},["/en/features/character-data","/en/features/character-data.md"]],["v-10108380","/en/features/character-wiki.html",{y:"a",t:"Character WIKI",O:9},["/en/features/character-wiki","/en/features/character-wiki.md"]],["v-36ceadac","/en/features/dashboard.html",{y:"a",t:"Home Dashboard",O:1},["/en/features/dashboard","/en/features/dashboard.md"]],["v-83f6294a","/en/features/develop-plan.html",{y:"a",t:"Development Plan",O:8},["/en/features/develop-plan","/en/features/develop-plan.md"]],["v-7839fe83","/en/features/game-launcher.html",{y:"a",t:"Game Launcher",O:2},["/en/features/game-launcher","/en/features/game-launcher.md"]],["v-0106e0dc","/en/features/hutao-API.html",{y:"a",t:"Hutao Database / Abyss Record",O:7},["/en/features/hutao-API","/en/features/hutao-API.md"]],["v-639b3ef9","/en/features/hutao-settings.html",{y:"a",t:"Software Settings",O:12},["/en/features/hutao-settings","/en/features/hutao-settings.md"]],["v-03aaffb1","/en/features/mhy-account-switch.html",{y:"a",t:"MiHoYo BBS Account Switch",O:11},["/en/features/mhy-account-switch","/en/features/mhy-account-switch.md"]],["v-124743a4","/en/features/real-time-notes.html",{y:"a",t:"Real-time Notes",O:5},["/en/features/real-time-notes","/en/features/real-time-notes.md"]],["v-e30b3c46","/en/features/weapon-wiki.html",{y:"a",t:"Weapon WIKI",O:10},["/en/features/weapon-wiki","/en/features/weapon-wiki.md"]],["v-b8e3a2b8","/en/features/wish-export.html",{y:"a",t:"Wish History",O:3},["/en/features/wish-export","/en/features/wish-export.md"]],["v-a4f9d2c4","/en/statements/",{y:"a",t:"Statements",O:4},["/en/statements/index.html","/en/statements/README.md"]],["v-45ceb024","/en/statements/bug-report.html",{y:"a",t:"Submit Bug Report",i:"debug",O:2},["/en/statements/bug-report","/en/statements/bug-report.md"]],["v-b4085a44","/en/statements/privacy-notice.html",{y:"a",t:"User Data and Privacy Notice",i:"license",O:3},["/en/statements/privacy-notice","/en/statements/privacy-notice.md"]],["v-b1c7a1c2","/en/statements/tos.html",{y:"a",t:"User Agreement and Legal Disclaime",i:"license",O:4},["/en/statements/tos","/en/statements/tos.md"]],["v-52f43e3b","/en/statements/update-log.html",{y:"a",t:"Update Logs",i:"update",O:1},["/en/statements/update-log","/en/statements/update-log.md"]],["v-4a1d3ac8","/zh/advanced/FAQ.html",{y:"a",t:"常见问题",i:"ask",O:1},["/zh/advanced/FAQ","/zh/advanced/FAQ.md"]],["v-b0dd6b00","/zh/advanced/Gacha-system-and-export-principal.html",{y:"a",t:"祈愿系统与导出原理",i:"read",O:7},["/zh/advanced/Gacha-system-and-export-principal","/zh/advanced/Gacha-system-and-export-principal.md"]],["v-16d7d7b6","/zh/advanced/",{y:"a",t:"高级",O:2},["/zh/advanced/index.html","/zh/advanced/README.md"]],["v-c8e5b2e0","/zh/advanced/exceptions.html",{y:"a",t:"常见的程序异常",i:"debug",O:2},["/zh/advanced/exceptions","/zh/advanced/exceptions.md"]],["v-6892c29a","/zh/advanced/get-stoken-cookie-from-the-third-party.html",{y:"a",t:"使用第三方工具获取有 Stoken 的 cookie",i:"read",O:6},["/zh/advanced/get-stoken-cookie-from-the-third-party","/zh/advanced/get-stoken-cookie-from-the-third-party.md"]],["v-8ab89ae2","/zh/advanced/known-issue.html",{y:"a",t:"已知问题",i:"tool",O:3},["/zh/advanced/known-issue","/zh/advanced/known-issue.md"]],["v-a04a76c8","/zh/advanced/uninstall.html",{y:"a",t:"卸载胡桃工具箱",i:"delete",O:8},["/zh/advanced/uninstall","/zh/advanced/uninstall.md"]],["v-d0f33908","/zh/development/",{y:"a",t:"开发",O:3},["/zh/development/index.html","/zh/development/README.md"]],["v-c80b636c","/zh/development/platform.html",{y:"a",t:"胡桃开放平台",i:"vscode",O:1},["/zh/development/platform","/zh/development/platform.md"]],["v-56d3ae80","/zh/development/symposium1.html",{y:"a",t:"第一期开发组座谈会",I:0},["/zh/development/symposium1","/zh/development/symposium1.md"]],["v-5369fd42","/zh/development/symposium2.html",{y:"a",t:"第二期开发组座谈会",I:0},["/zh/development/symposium2","/zh/development/symposium2.md"]],["v-0bbe1b6a","/zh/features/",{y:"a",t:"功能指南",O:1},["/zh/features/index.html","/zh/features/README.md"]],["v-2841a60b","/zh/features/achievements.html",{y:"a",t:"成就管理",O:4},["/zh/features/achievements","/zh/features/achievements.md"]],["v-3957d221","/zh/features/character-data.html",{y:"a",t:"属性统计",O:6},["/zh/features/character-data","/zh/features/character-data.md"]],["v-a9f7b44a","/zh/features/character-wiki.html",{y:"a",t:"角色资料",O:9},["/zh/features/character-wiki","/zh/features/character-wiki.md"]],["v-1b6aa6a2","/zh/features/dashboard.html",{y:"a",t:"首页仪表盘",O:1},["/zh/features/dashboard","/zh/features/dashboard.md"]],["v-7cac7db6","/zh/features/develop-plan.html",{y:"a",t:"养成计划",O:8},["/zh/features/develop-plan","/zh/features/develop-plan.md"]],["v-e2f690f0","/zh/features/game-launcher.html",{y:"a",t:"高级启动器",O:2},["/zh/features/game-launcher","/zh/features/game-launcher.md"]],["v-0eb8e461","/zh/features/hutao-API.html",{y:"a",t:"胡桃数据库/深渊统计",O:7},["/zh/features/hutao-API","/zh/features/hutao-API.md"]],["v-16a7a694","/zh/features/hutao-settings.html",{y:"a",t:"软件设置",O:12},["/zh/features/hutao-settings","/zh/features/hutao-settings.md"]],["v-04b421cc","/zh/features/mhy-account-switch.html",{y:"a",t:"米游社多帐号切换",O:11},["/zh/features/mhy-account-switch","/zh/features/mhy-account-switch.md"]],["v-b5462c1a","/zh/features/real-time-notes.html",{y:"a",t:"实时便笺",O:5},["/zh/features/real-time-notes","/zh/features/real-time-notes.md"]],["v-108ccfbc","/zh/features/weapon-wiki.html",{y:"a",t:"武器资料",O:10},["/zh/features/weapon-wiki","/zh/features/weapon-wiki.md"]],["v-0ccd64e9","/zh/features/wish-export.html",{y:"a",t:"祈愿记录",O:3},["/zh/features/wish-export","/zh/features/wish-export.md"]],["v-c4bb0cba","/zh/statements/",{y:"a",t:"声明和公告",O:4},["/zh/statements/index.html","/zh/statements/README.md"]],["v-c87f8b6e","/zh/statements/bug-report.html",{y:"a",t:"提交 BUG 报告",i:"debug",O:2},["/zh/statements/bug-report","/zh/statements/bug-report.md"]],["v-70e6808e","/zh/statements/privacy-notice.html",{y:"a",t:"用户数据和隐私权益",i:"license",O:3},["/zh/statements/privacy-notice","/zh/statements/privacy-notice.md"]],["v-647ebd24","/zh/statements/tos.html",{y:"a",t:"用户使用协议和法律声明",i:"license",O:4},["/zh/statements/tos","/zh/statements/tos.md"]],["v-119bd096","/zh/statements/update-log.html",{y:"a",t:"更新日志",i:"update",O:1},["/zh/statements/update-log","/zh/statements/update-log.md"]],["v-3706649a","/404.html",{y:"p",t:""},["/404"]],["v-8daa1a0e","/",{y:"p",t:"Home"},["/index.html"]]];var ws=B({name:"Vuepress",setup(){const e=gp();return()=>d(e.value)}}),L0=()=>k0.reduce((e,[t,n,r,o])=>(e.push({name:t,path:n,component:ws,meta:r},...o.map(a=>({path:a,redirect:n}))),e),[{name:"404",path:"/:catchAll(.*)",component:ws}]),x0=tm,C0=()=>{const e=zm({history:x0(va("/")),routes:L0(),scrollBehavior:(t,n,r)=>r||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,n)=>{var r;(t.path!==n.path||n===bt)&&([Mt.value]=await Promise.all([_t.resolvePageData(t.name),(r=Pi[t.name])==null?void 0:r.__asyncLoader()]))}),e},I0=e=>{e.component("ClientOnly",Zr),e.component("Content",$i)},S0=(e,t,n)=>{const r=G(t.currentRoute.value.path);re(()=>t.currentRoute.value.path,p=>r.value=p);const o=A(()=>_t.resolveLayouts(n)),a=A(()=>_t.resolveRouteLocale(pn.value.locales,r.value)),l=A(()=>_t.resolveSiteLocaleData(pn.value,a.value)),s=A(()=>_t.resolvePageFrontmatter(Mt.value)),i=A(()=>_t.resolvePageHeadTitle(Mt.value,l.value)),c=A(()=>_t.resolvePageHead(i.value,s.value,l.value)),u=A(()=>_t.resolvePageLang(Mt.value)),f=A(()=>_t.resolvePageLayout(Mt.value,o.value));return e.provide(pp,o),e.provide(Li,s),e.provide(vp,i),e.provide(xi,c),e.provide(Ci,u),e.provide(Ii,f),e.provide(ga,a),e.provide(Ri,l),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>s.value},$head:{get:()=>c.value},$headTitle:{get:()=>i.value},$lang:{get:()=>u.value},$page:{get:()=>Mt.value},$routeLocale:{get:()=>a.value},$site:{get:()=>pn.value},$siteLocale:{get:()=>l.value},$withBase:{get:()=>ht}}),{layouts:o,pageData:Mt,pageFrontmatter:s,pageHead:c,pageHeadTitle:i,pageLang:u,pageLayout:f,routeLocale:a,siteData:pn,siteLocaleData:l}},R0=()=>{const e=mp(),t=Jr(),n=G([]),r=()=>{e.value.forEach(a=>{const l=$0(a);l&&n.value.push(l)})},o=()=>{document.documentElement.lang=t.value,n.value.forEach(a=>{a.parentNode===document.head&&document.head.removeChild(a)}),n.value.splice(0,n.value.length),e.value.forEach(a=>{const l=D0(a);l!==null&&(document.head.appendChild(l),n.value.push(l))})};Jt(_p,o),ve(()=>{r(),o(),re(()=>e.value,()=>o())})},$0=([e,t,n=""])=>{const r=Object.entries(t).map(([s,i])=>ae(i)?`[${s}=${JSON.stringify(i)}]`:i===!0?`[${s}]`:"").join(""),o=`head > ${e}${r}`;return Array.from(document.querySelectorAll(o)).find(s=>s.innerText===n)||null},D0=([e,t,n])=>{if(!ae(e))return null;const r=document.createElement(e);return ma(t)&&Object.entries(t).forEach(([o,a])=>{ae(a)?r.setAttribute(o,a):a===!0&&r.setAttribute(o,"")}),ae(n)&&r.appendChild(document.createTextNode(n)),r},M0=np,z0=async()=>{var n;const e=M0({name:"VuepressApp",setup(){var r;R0();for(const o of Lr)(r=o.setup)==null||r.call(o);return()=>[d(hc),...Lr.flatMap(({rootComponents:o=[]})=>o.map(a=>d(a)))]}}),t=C0();I0(e),S0(e,t,Lr);for(const r of Lr)await((n=r.enhance)==null?void 0:n.call(r,{app:e,router:t,siteData:pn}));return e.use(t),{app:e,router:t}};z0().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{Rn as A,V0 as B,U0 as C,wl as D,Te as E,He as F,W0 as G,xh as H,Jt as I,rn as J,G0 as K,q0 as L,di as a,fi as b,B0 as c,z0 as createVueApp,Oe as d,H0 as e,ve as f,B as g,G as h,re as i,ua as j,F0 as k,Ee as l,A as m,Yo as n,lf as o,j0 as p,cf as q,at as r,nt as s,N0 as t,K0 as u,Qo as v,wd as w,d as x,Oa as y,$n as z};
|