mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.Docs.git
synced 2025-11-19 21:16:31 +08:00
13 lines
274 KiB
JavaScript
13 lines
274 KiB
JavaScript
const scriptRel="modulepreload",assetsURL=function(s){return"/Snap.Hutao.Docs/"+s},seen={},__vitePreload=function(l,T,F){return!T||T.length===0?l():Promise.all(T.map(j=>{if(j=assetsURL(j),j in seen)return;seen[j]=!0;const U=j.endsWith(".css"),Y=U?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${j}"]${Y}`))return;const W=document.createElement("link");if(W.rel=U?"stylesheet":scriptRel,U||(W.as="script",W.crossOrigin=""),W.href=j,document.head.appendChild(W),U)return new Promise((Z,X)=>{W.addEventListener("load",Z),W.addEventListener("error",()=>X(new Error(`Unable to preload CSS for ${j}`)))})})).then(()=>l())},pagesData$1={"v-8daa1a0e":()=>__vitePreload(()=>import("./index.html.38811233.js"),[]).then(({data:s})=>s),"v-590a42d9":()=>__vitePreload(()=>import("./project.html.c181bf3b.js"),[]).then(({data:s})=>s),"v-96f5eae0":()=>__vitePreload(()=>import("./quick-start.html.0c28810d.js"),[]).then(({data:s})=>s),"v-c0f957a0":()=>__vitePreload(()=>import("./index.html.b8e426a2.js"),[]).then(({data:s})=>s),"v-2d0a870d":()=>__vitePreload(()=>import("./index.html.a3664473.js"),[]).then(({data:s})=>s),"v-586858ed":()=>__vitePreload(()=>import("./project.html.a4751fad.js"),[]).then(({data:s})=>s),"v-0c01f6a4":()=>__vitePreload(()=>import("./quick-start.html.97585f5a.js"),[]).then(({data:s})=>s),"v-12dc29da":()=>__vitePreload(()=>import("./achievements.html.4122b975.js"),[]).then(({data:s})=>s),"v-9f47423e":()=>__vitePreload(()=>import("./wish-export.html.60cfd5d6.js"),[]).then(({data:s})=>s),"v-6a107f51":()=>__vitePreload(()=>import("./bug-report.html.ba6bebbe.js"),[]).then(({data:s})=>s),"v-3c504178":()=>__vitePreload(()=>import("./index.html.975fd487.js"),[]).then(({data:s})=>s),"v-9357f5b2":()=>__vitePreload(()=>import("./achievements.html.8392dcb7.js"),[]).then(({data:s})=>s),"v-19a4b24d":()=>__vitePreload(()=>import("./wish-export.html.cc58be84.js"),[]).then(({data:s})=>s),"v-29d29965":()=>__vitePreload(()=>import("./bug-report.html.b371ce84.js"),[]).then(({data:s})=>s),"v-3706649a":()=>__vitePreload(()=>import("./404.html.8b26e0f7.js"),[]).then(({data:s})=>s)};function makeMap(s,l){const T=Object.create(null),F=s.split(",");for(let j=0;j<F.length;j++)T[F[j]]=!0;return l?j=>!!T[j.toLowerCase()]:j=>!!T[j]}const specialBooleanAttrs="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",isSpecialBooleanAttr=makeMap(specialBooleanAttrs);function includeBooleanAttr(s){return!!s||s===""}function normalizeStyle(s){if(isArray$1(s)){const l={};for(let T=0;T<s.length;T++){const F=s[T],j=isString$1(F)?parseStringStyle(F):normalizeStyle(F);if(j)for(const U in j)l[U]=j[U]}return l}else{if(isString$1(s))return s;if(isObject(s))return s}}const listDelimiterRE=/;(?![^(]*\))/g,propertyDelimiterRE=/:(.+)/;function parseStringStyle(s){const l={};return s.split(listDelimiterRE).forEach(T=>{if(T){const F=T.split(propertyDelimiterRE);F.length>1&&(l[F[0].trim()]=F[1].trim())}}),l}function normalizeClass(s){let l="";if(isString$1(s))l=s;else if(isArray$1(s))for(let T=0;T<s.length;T++){const F=normalizeClass(s[T]);F&&(l+=F+" ")}else if(isObject(s))for(const T in s)s[T]&&(l+=T+" ");return l.trim()}const toDisplayString=s=>isString$1(s)?s:s==null?"":isArray$1(s)||isObject(s)&&(s.toString===objectToString||!isFunction$1(s.toString))?JSON.stringify(s,replacer,2):String(s),replacer=(s,l)=>l&&l.__v_isRef?replacer(s,l.value):isMap(l)?{[`Map(${l.size})`]:[...l.entries()].reduce((T,[F,j])=>(T[`${F} =>`]=j,T),{})}:isSet(l)?{[`Set(${l.size})`]:[...l.values()]}:isObject(l)&&!isArray$1(l)&&!isPlainObject$1(l)?String(l):l,EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,onRE=/^on[^a-z]/,isOn=s=>onRE.test(s),isModelListener=s=>s.startsWith("onUpdate:"),extend=Object.assign,remove=(s,l)=>{const T=s.indexOf(l);T>-1&&s.splice(T,1)},hasOwnProperty=Object.prototype.hasOwnProperty,hasOwn=(s,l)=>hasOwnProperty.call(s,l),isArray$1=Array.isArray,isMap=s=>toTypeString(s)==="[object Map]",isSet=s=>toTypeString(s)==="[object Set]",isFunction$1=s=>typeof s=="function",isString$1=s=>typeof s=="string",isSymbol=s=>typeof s=="symbol",isObject=s=>s!==null&&typeof s=="object",isPromise=s=>isObject(s)&&isFunction$1(s.then)&&isFunction$1(s.catch),objectToString=Object.prototype.toString,toTypeString=s=>objectToString.call(s),toRawType=s=>toTypeString(s).slice(8,-1),isPlainObject$1=s=>toTypeString(s)==="[object Object]",isIntegerKey=s=>isString$1(s)&&s!=="NaN"&&s[0]!=="-"&&""+parseInt(s,10)===s,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction=s=>{const l=Object.create(null);return T=>l[T]||(l[T]=s(T))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction(s=>s.replace(camelizeRE,(l,T)=>T?T.toUpperCase():"")),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(s=>s.replace(hyphenateRE,"-$1").toLowerCase()),capitalize=cacheStringFunction(s=>s.charAt(0).toUpperCase()+s.slice(1)),toHandlerKey=cacheStringFunction(s=>s?`on${capitalize(s)}`:""),hasChanged=(s,l)=>!Object.is(s,l),invokeArrayFns=(s,l)=>{for(let T=0;T<s.length;T++)s[T](l)},def=(s,l,T)=>{Object.defineProperty(s,l,{configurable:!0,enumerable:!1,value:T})},toNumber=s=>{const l=parseFloat(s);return isNaN(l)?s:l};let _globalThis;const getGlobalThis=()=>_globalThis||(_globalThis=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let activeEffectScope;class EffectScope{constructor(l=!1){this.active=!0,this.effects=[],this.cleanups=[],!l&&activeEffectScope&&(this.parent=activeEffectScope,this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}run(l){if(this.active){const T=activeEffectScope;try{return activeEffectScope=this,l()}finally{activeEffectScope=T}}}on(){activeEffectScope=this}off(){activeEffectScope=this.parent}stop(l){if(this.active){let T,F;for(T=0,F=this.effects.length;T<F;T++)this.effects[T].stop();for(T=0,F=this.cleanups.length;T<F;T++)this.cleanups[T]();if(this.scopes)for(T=0,F=this.scopes.length;T<F;T++)this.scopes[T].stop(!0);if(this.parent&&!l){const j=this.parent.scopes.pop();j&&j!==this&&(this.parent.scopes[this.index]=j,j.index=this.index)}this.active=!1}}}function recordEffectScope(s,l=activeEffectScope){l&&l.active&&l.effects.push(s)}function getCurrentScope(){return activeEffectScope}function onScopeDispose(s){activeEffectScope&&activeEffectScope.cleanups.push(s)}const createDep=s=>{const l=new Set(s);return l.w=0,l.n=0,l},wasTracked=s=>(s.w&trackOpBit)>0,newTracked=s=>(s.n&trackOpBit)>0,initDepMarkers=({deps:s})=>{if(s.length)for(let l=0;l<s.length;l++)s[l].w|=trackOpBit},finalizeDepMarkers=s=>{const{deps:l}=s;if(l.length){let T=0;for(let F=0;F<l.length;F++){const j=l[F];wasTracked(j)&&!newTracked(j)?j.delete(s):l[T++]=j,j.w&=~trackOpBit,j.n&=~trackOpBit}l.length=T}},targetMap=new WeakMap;let effectTrackDepth=0,trackOpBit=1;const maxMarkerBits=30;let activeEffect;const ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol("");class ReactiveEffect{constructor(l,T=null,F){this.fn=l,this.scheduler=T,this.active=!0,this.deps=[],this.parent=void 0,recordEffectScope(this,F)}run(){if(!this.active)return this.fn();let l=activeEffect,T=shouldTrack;for(;l;){if(l===this)return;l=l.parent}try{return this.parent=activeEffect,activeEffect=this,shouldTrack=!0,trackOpBit=1<<++effectTrackDepth,effectTrackDepth<=maxMarkerBits?initDepMarkers(this):cleanupEffect(this),this.fn()}finally{effectTrackDepth<=maxMarkerBits&&finalizeDepMarkers(this),trackOpBit=1<<--effectTrackDepth,activeEffect=this.parent,shouldTrack=T,this.parent=void 0,this.deferStop&&this.stop()}}stop(){activeEffect===this?this.deferStop=!0:this.active&&(cleanupEffect(this),this.onStop&&this.onStop(),this.active=!1)}}function cleanupEffect(s){const{deps:l}=s;if(l.length){for(let T=0;T<l.length;T++)l[T].delete(s);l.length=0}}let shouldTrack=!0;const trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){const s=trackStack.pop();shouldTrack=s===void 0?!0:s}function track(s,l,T){if(shouldTrack&&activeEffect){let F=targetMap.get(s);F||targetMap.set(s,F=new Map);let j=F.get(T);j||F.set(T,j=createDep()),trackEffects(j)}}function trackEffects(s,l){let T=!1;effectTrackDepth<=maxMarkerBits?newTracked(s)||(s.n|=trackOpBit,T=!wasTracked(s)):T=!s.has(activeEffect),T&&(s.add(activeEffect),activeEffect.deps.push(s))}function trigger(s,l,T,F,j,U){const Y=targetMap.get(s);if(!Y)return;let W=[];if(l==="clear")W=[...Y.values()];else if(T==="length"&&isArray$1(s))Y.forEach((Z,X)=>{(X==="length"||X>=F)&&W.push(Z)});else switch(T!==void 0&&W.push(Y.get(T)),l){case"add":isArray$1(s)?isIntegerKey(T)&&W.push(Y.get("length")):(W.push(Y.get(ITERATE_KEY)),isMap(s)&&W.push(Y.get(MAP_KEY_ITERATE_KEY)));break;case"delete":isArray$1(s)||(W.push(Y.get(ITERATE_KEY)),isMap(s)&&W.push(Y.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap(s)&&W.push(Y.get(ITERATE_KEY));break}if(W.length===1)W[0]&&triggerEffects(W[0]);else{const Z=[];for(const X of W)X&&Z.push(...X);triggerEffects(createDep(Z))}}function triggerEffects(s,l){const T=isArray$1(s)?s:[...s];for(const F of T)F.computed&&triggerEffect(F);for(const F of T)F.computed||triggerEffect(F)}function triggerEffect(s,l){(s!==activeEffect||s.allowRecurse)&&(s.scheduler?s.scheduler():s.run())}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(s=>s!=="arguments"&&s!=="caller").map(s=>Symbol[s]).filter(isSymbol)),get=createGetter(),shallowGet=createGetter(!1,!0),readonlyGet=createGetter(!0),arrayInstrumentations=createArrayInstrumentations();function createArrayInstrumentations(){const s={};return["includes","indexOf","lastIndexOf"].forEach(l=>{s[l]=function(...T){const F=toRaw(this);for(let U=0,Y=this.length;U<Y;U++)track(F,"get",U+"");const j=F[l](...T);return j===-1||j===!1?F[l](...T.map(toRaw)):j}}),["push","pop","shift","unshift","splice"].forEach(l=>{s[l]=function(...T){pauseTracking();const F=toRaw(this)[l].apply(this,T);return resetTracking(),F}}),s}function createGetter(s=!1,l=!1){return function(F,j,U){if(j==="__v_isReactive")return!s;if(j==="__v_isReadonly")return s;if(j==="__v_isShallow")return l;if(j==="__v_raw"&&U===(s?l?shallowReadonlyMap:readonlyMap:l?shallowReactiveMap:reactiveMap).get(F))return F;const Y=isArray$1(F);if(!s&&Y&&hasOwn(arrayInstrumentations,j))return Reflect.get(arrayInstrumentations,j,U);const W=Reflect.get(F,j,U);return(isSymbol(j)?builtInSymbols.has(j):isNonTrackableKeys(j))||(s||track(F,"get",j),l)?W:isRef(W)?Y&&isIntegerKey(j)?W:W.value:isObject(W)?s?readonly(W):reactive(W):W}}const set=createSetter(),shallowSet=createSetter(!0);function createSetter(s=!1){return function(T,F,j,U){let Y=T[F];if(isReadonly(Y)&&isRef(Y)&&!isRef(j))return!1;if(!s&&(!isShallow(j)&&!isReadonly(j)&&(Y=toRaw(Y),j=toRaw(j)),!isArray$1(T)&&isRef(Y)&&!isRef(j)))return Y.value=j,!0;const W=isArray$1(T)&&isIntegerKey(F)?Number(F)<T.length:hasOwn(T,F),Z=Reflect.set(T,F,j,U);return T===toRaw(U)&&(W?hasChanged(j,Y)&&trigger(T,"set",F,j):trigger(T,"add",F,j)),Z}}function deleteProperty(s,l){const T=hasOwn(s,l);s[l];const F=Reflect.deleteProperty(s,l);return F&&T&&trigger(s,"delete",l,void 0),F}function has(s,l){const T=Reflect.has(s,l);return(!isSymbol(l)||!builtInSymbols.has(l))&&track(s,"has",l),T}function ownKeys(s){return track(s,"iterate",isArray$1(s)?"length":ITERATE_KEY),Reflect.ownKeys(s)}const mutableHandlers={get,set,deleteProperty,has,ownKeys},readonlyHandlers={get:readonlyGet,set(s,l){return!0},deleteProperty(s,l){return!0}},shallowReactiveHandlers=extend({},mutableHandlers,{get:shallowGet,set:shallowSet}),toShallow=s=>s,getProto=s=>Reflect.getPrototypeOf(s);function get$1(s,l,T=!1,F=!1){s=s.__v_raw;const j=toRaw(s),U=toRaw(l);T||(l!==U&&track(j,"get",l),track(j,"get",U));const{has:Y}=getProto(j),W=F?toShallow:T?toReadonly:toReactive;if(Y.call(j,l))return W(s.get(l));if(Y.call(j,U))return W(s.get(U));s!==j&&s.get(l)}function has$1(s,l=!1){const T=this.__v_raw,F=toRaw(T),j=toRaw(s);return l||(s!==j&&track(F,"has",s),track(F,"has",j)),s===j?T.has(s):T.has(s)||T.has(j)}function size(s,l=!1){return s=s.__v_raw,!l&&track(toRaw(s),"iterate",ITERATE_KEY),Reflect.get(s,"size",s)}function add(s){s=toRaw(s);const l=toRaw(this);return getProto(l).has.call(l,s)||(l.add(s),trigger(l,"add",s,s)),this}function set$1(s,l){l=toRaw(l);const T=toRaw(this),{has:F,get:j}=getProto(T);let U=F.call(T,s);U||(s=toRaw(s),U=F.call(T,s));const Y=j.call(T,s);return T.set(s,l),U?hasChanged(l,Y)&&trigger(T,"set",s,l):trigger(T,"add",s,l),this}function deleteEntry(s){const l=toRaw(this),{has:T,get:F}=getProto(l);let j=T.call(l,s);j||(s=toRaw(s),j=T.call(l,s)),F&&F.call(l,s);const U=l.delete(s);return j&&trigger(l,"delete",s,void 0),U}function clear(){const s=toRaw(this),l=s.size!==0,T=s.clear();return l&&trigger(s,"clear",void 0,void 0),T}function createForEach(s,l){return function(F,j){const U=this,Y=U.__v_raw,W=toRaw(Y),Z=l?toShallow:s?toReadonly:toReactive;return!s&&track(W,"iterate",ITERATE_KEY),Y.forEach((X,ee)=>F.call(j,Z(X),Z(ee),U))}}function createIterableMethod(s,l,T){return function(...F){const j=this.__v_raw,U=toRaw(j),Y=isMap(U),W=s==="entries"||s===Symbol.iterator&&Y,Z=s==="keys"&&Y,X=j[s](...F),ee=T?toShallow:l?toReadonly:toReactive;return!l&&track(U,"iterate",Z?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:te,done:ne}=X.next();return ne?{value:te,done:ne}:{value:W?[ee(te[0]),ee(te[1])]:ee(te),done:ne}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(s){return function(...l){return s==="delete"?!1:this}}function createInstrumentations(){const s={get(U){return get$1(this,U)},get size(){return size(this)},has:has$1,add,set:set$1,delete:deleteEntry,clear,forEach:createForEach(!1,!1)},l={get(U){return get$1(this,U,!1,!0)},get size(){return size(this)},has:has$1,add,set:set$1,delete:deleteEntry,clear,forEach:createForEach(!1,!0)},T={get(U){return get$1(this,U,!0)},get size(){return size(this,!0)},has(U){return has$1.call(this,U,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!1)},F={get(U){return get$1(this,U,!0,!0)},get size(){return size(this,!0)},has(U){return has$1.call(this,U,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(U=>{s[U]=createIterableMethod(U,!1,!1),T[U]=createIterableMethod(U,!0,!1),l[U]=createIterableMethod(U,!1,!0),F[U]=createIterableMethod(U,!0,!0)}),[s,T,l,F]}const[mutableInstrumentations,readonlyInstrumentations,shallowInstrumentations,shallowReadonlyInstrumentations]=createInstrumentations();function createInstrumentationGetter(s,l){const T=l?s?shallowReadonlyInstrumentations:shallowInstrumentations:s?readonlyInstrumentations:mutableInstrumentations;return(F,j,U)=>j==="__v_isReactive"?!s:j==="__v_isReadonly"?s:j==="__v_raw"?F:Reflect.get(hasOwn(T,j)&&j in F?T:F,j,U)}const mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(s){switch(s){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType(s){return s.__v_skip||!Object.isExtensible(s)?0:targetTypeMap(toRawType(s))}function reactive(s){return isReadonly(s)?s:createReactiveObject(s,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(s){return createReactiveObject(s,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(s){return createReactiveObject(s,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function createReactiveObject(s,l,T,F,j){if(!isObject(s)||s.__v_raw&&!(l&&s.__v_isReactive))return s;const U=j.get(s);if(U)return U;const Y=getTargetType(s);if(Y===0)return s;const W=new Proxy(s,Y===2?F:T);return j.set(s,W),W}function isReactive(s){return isReadonly(s)?isReactive(s.__v_raw):!!(s&&s.__v_isReactive)}function isReadonly(s){return!!(s&&s.__v_isReadonly)}function isShallow(s){return!!(s&&s.__v_isShallow)}function isProxy(s){return isReactive(s)||isReadonly(s)}function toRaw(s){const l=s&&s.__v_raw;return l?toRaw(l):s}function markRaw(s){return def(s,"__v_skip",!0),s}const toReactive=s=>isObject(s)?reactive(s):s,toReadonly=s=>isObject(s)?readonly(s):s;function trackRefValue(s){shouldTrack&&activeEffect&&(s=toRaw(s),trackEffects(s.dep||(s.dep=createDep())))}function triggerRefValue(s,l){s=toRaw(s),s.dep&&triggerEffects(s.dep)}function isRef(s){return!!(s&&s.__v_isRef===!0)}function ref(s){return createRef(s,!1)}function shallowRef(s){return createRef(s,!0)}function createRef(s,l){return isRef(s)?s:new RefImpl(s,l)}class RefImpl{constructor(l,T){this.__v_isShallow=T,this.dep=void 0,this.__v_isRef=!0,this._rawValue=T?l:toRaw(l),this._value=T?l:toReactive(l)}get value(){return trackRefValue(this),this._value}set value(l){const T=this.__v_isShallow||isShallow(l)||isReadonly(l);l=T?l:toRaw(l),hasChanged(l,this._rawValue)&&(this._rawValue=l,this._value=T?l:toReactive(l),triggerRefValue(this))}}function unref(s){return isRef(s)?s.value:s}const shallowUnwrapHandlers={get:(s,l,T)=>unref(Reflect.get(s,l,T)),set:(s,l,T,F)=>{const j=s[l];return isRef(j)&&!isRef(T)?(j.value=T,!0):Reflect.set(s,l,T,F)}};function proxyRefs(s){return isReactive(s)?s:new Proxy(s,shallowUnwrapHandlers)}class ObjectRefImpl{constructor(l,T,F){this._object=l,this._key=T,this._defaultValue=F,this.__v_isRef=!0}get value(){const l=this._object[this._key];return l===void 0?this._defaultValue:l}set value(l){this._object[this._key]=l}}function toRef(s,l,T){const F=s[l];return isRef(F)?F:new ObjectRefImpl(s,l,T)}var _a$1;class ComputedRefImpl{constructor(l,T,F,j){this._setter=T,this.dep=void 0,this.__v_isRef=!0,this[_a$1]=!1,this._dirty=!0,this.effect=new ReactiveEffect(l,()=>{this._dirty||(this._dirty=!0,triggerRefValue(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!j,this.__v_isReadonly=F}get value(){const l=toRaw(this);return trackRefValue(l),(l._dirty||!l._cacheable)&&(l._dirty=!1,l._value=l.effect.run()),l._value}set value(l){this._setter(l)}}_a$1="__v_isReadonly";function computed$1(s,l,T=!1){let F,j;const U=isFunction$1(s);return U?(F=s,j=NOOP):(F=s.get,j=s.set),new ComputedRefImpl(F,j,U||!j,T)}function callWithErrorHandling(s,l,T,F){let j;try{j=F?s(...F):s()}catch(U){handleError(U,l,T)}return j}function callWithAsyncErrorHandling(s,l,T,F){if(isFunction$1(s)){const U=callWithErrorHandling(s,l,T,F);return U&&isPromise(U)&&U.catch(Y=>{handleError(Y,l,T)}),U}const j=[];for(let U=0;U<s.length;U++)j.push(callWithAsyncErrorHandling(s[U],l,T,F));return j}function handleError(s,l,T,F=!0){const j=l?l.vnode:null;if(l){let U=l.parent;const Y=l.proxy,W=T;for(;U;){const X=U.ec;if(X){for(let ee=0;ee<X.length;ee++)if(X[ee](s,Y,W)===!1)return}U=U.parent}const Z=l.appContext.config.errorHandler;if(Z){callWithErrorHandling(Z,null,10,[s,Y,W]);return}}logError(s,T,j,F)}function logError(s,l,T,F=!0){console.error(s)}let isFlushing=!1,isFlushPending=!1;const queue$1=[];let flushIndex=0;const pendingPostFlushCbs=[];let activePostFlushCbs=null,postFlushIndex=0;const resolvedPromise=Promise.resolve();let currentFlushPromise=null;function nextTick(s){const l=currentFlushPromise||resolvedPromise;return s?l.then(this?s.bind(this):s):l}function findInsertionIndex(s){let l=flushIndex+1,T=queue$1.length;for(;l<T;){const F=l+T>>>1;getId(queue$1[F])<s?l=F+1:T=F}return l}function queueJob(s){(!queue$1.length||!queue$1.includes(s,isFlushing&&s.allowRecurse?flushIndex+1:flushIndex))&&(s.id==null?queue$1.push(s):queue$1.splice(findInsertionIndex(s.id),0,s),queueFlush())}function queueFlush(){!isFlushing&&!isFlushPending&&(isFlushPending=!0,currentFlushPromise=resolvedPromise.then(flushJobs))}function invalidateJob(s){const l=queue$1.indexOf(s);l>flushIndex&&queue$1.splice(l,1)}function queuePostFlushCb(s){isArray$1(s)?pendingPostFlushCbs.push(...s):(!activePostFlushCbs||!activePostFlushCbs.includes(s,s.allowRecurse?postFlushIndex+1:postFlushIndex))&&pendingPostFlushCbs.push(s),queueFlush()}function flushPreFlushCbs(s,l=isFlushing?flushIndex+1:0){for(;l<queue$1.length;l++){const T=queue$1[l];T&&T.pre&&(queue$1.splice(l,1),l--,T())}}function flushPostFlushCbs(s){if(pendingPostFlushCbs.length){const l=[...new Set(pendingPostFlushCbs)];if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...l);return}for(activePostFlushCbs=l,activePostFlushCbs.sort((T,F)=>getId(T)-getId(F)),postFlushIndex=0;postFlushIndex<activePostFlushCbs.length;postFlushIndex++)activePostFlushCbs[postFlushIndex]();activePostFlushCbs=null,postFlushIndex=0}}const getId=s=>s.id==null?1/0:s.id,comparator=(s,l)=>{const T=getId(s)-getId(l);if(T===0){if(s.pre&&!l.pre)return-1;if(l.pre&&!s.pre)return 1}return T};function flushJobs(s){isFlushPending=!1,isFlushing=!0,queue$1.sort(comparator);const l=NOOP;try{for(flushIndex=0;flushIndex<queue$1.length;flushIndex++){const T=queue$1[flushIndex];T&&T.active!==!1&&callWithErrorHandling(T,null,14)}}finally{flushIndex=0,queue$1.length=0,flushPostFlushCbs(),isFlushing=!1,currentFlushPromise=null,(queue$1.length||pendingPostFlushCbs.length)&&flushJobs()}}function emit$1(s,l,...T){if(s.isUnmounted)return;const F=s.vnode.props||EMPTY_OBJ;let j=T;const U=l.startsWith("update:"),Y=U&&l.slice(7);if(Y&&Y in F){const ee=`${Y==="modelValue"?"model":Y}Modifiers`,{number:te,trim:ne}=F[ee]||EMPTY_OBJ;ne&&(j=T.map(oe=>oe.trim())),te&&(j=T.map(toNumber))}let W,Z=F[W=toHandlerKey(l)]||F[W=toHandlerKey(camelize(l))];!Z&&U&&(Z=F[W=toHandlerKey(hyphenate(l))]),Z&&callWithAsyncErrorHandling(Z,s,6,j);const X=F[W+"Once"];if(X){if(!s.emitted)s.emitted={};else if(s.emitted[W])return;s.emitted[W]=!0,callWithAsyncErrorHandling(X,s,6,j)}}function normalizeEmitsOptions(s,l,T=!1){const F=l.emitsCache,j=F.get(s);if(j!==void 0)return j;const U=s.emits;let Y={},W=!1;if(!isFunction$1(s)){const Z=X=>{const ee=normalizeEmitsOptions(X,l,!0);ee&&(W=!0,extend(Y,ee))};!T&&l.mixins.length&&l.mixins.forEach(Z),s.extends&&Z(s.extends),s.mixins&&s.mixins.forEach(Z)}return!U&&!W?(isObject(s)&&F.set(s,null),null):(isArray$1(U)?U.forEach(Z=>Y[Z]=null):extend(Y,U),isObject(s)&&F.set(s,Y),Y)}function isEmitListener(s,l){return!s||!isOn(l)?!1:(l=l.slice(2).replace(/Once$/,""),hasOwn(s,l[0].toLowerCase()+l.slice(1))||hasOwn(s,hyphenate(l))||hasOwn(s,l))}let currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(s){const l=currentRenderingInstance;return currentRenderingInstance=s,currentScopeId=s&&s.type.__scopeId||null,l}function pushScopeId(s){currentScopeId=s}function popScopeId(){currentScopeId=null}function withCtx(s,l=currentRenderingInstance,T){if(!l||s._n)return s;const F=(...j)=>{F._d&&setBlockTracking(-1);const U=setCurrentRenderingInstance(l),Y=s(...j);return setCurrentRenderingInstance(U),F._d&&setBlockTracking(1),Y};return F._n=!0,F._c=!0,F._d=!0,F}function markAttrsAccessed(){}function renderComponentRoot(s){const{type:l,vnode:T,proxy:F,withProxy:j,props:U,propsOptions:[Y],slots:W,attrs:Z,emit:X,render:ee,renderCache:te,data:ne,setupState:oe,ctx:se,inheritAttrs:ae}=s;let ue,le;const ce=setCurrentRenderingInstance(s);try{if(T.shapeFlag&4){const Ce=j||F;ue=normalizeVNode(ee.call(Ce,Ce,te,U,oe,ne,se)),le=Z}else{const Ce=l;ue=normalizeVNode(Ce.length>1?Ce(U,{attrs:Z,slots:W,emit:X}):Ce(U,null)),le=l.props?Z:getFunctionalFallthrough(Z)}}catch(Ce){blockStack.length=0,handleError(Ce,s,1),ue=createVNode(Comment)}let me=ue;if(le&&ae!==!1){const Ce=Object.keys(le),{shapeFlag:Re}=me;Ce.length&&Re&7&&(Y&&Ce.some(isModelListener)&&(le=filterModelListeners(le,Y)),me=cloneVNode(me,le))}return T.dirs&&(me=cloneVNode(me),me.dirs=me.dirs?me.dirs.concat(T.dirs):T.dirs),T.transition&&(me.transition=T.transition),ue=me,setCurrentRenderingInstance(ce),ue}const getFunctionalFallthrough=s=>{let l;for(const T in s)(T==="class"||T==="style"||isOn(T))&&((l||(l={}))[T]=s[T]);return l},filterModelListeners=(s,l)=>{const T={};for(const F in s)(!isModelListener(F)||!(F.slice(9)in l))&&(T[F]=s[F]);return T};function shouldUpdateComponent(s,l,T){const{props:F,children:j,component:U}=s,{props:Y,children:W,patchFlag:Z}=l,X=U.emitsOptions;if(l.dirs||l.transition)return!0;if(T&&Z>=0){if(Z&1024)return!0;if(Z&16)return F?hasPropsChanged(F,Y,X):!!Y;if(Z&8){const ee=l.dynamicProps;for(let te=0;te<ee.length;te++){const ne=ee[te];if(Y[ne]!==F[ne]&&!isEmitListener(X,ne))return!0}}}else return(j||W)&&(!W||!W.$stable)?!0:F===Y?!1:F?Y?hasPropsChanged(F,Y,X):!0:!!Y;return!1}function hasPropsChanged(s,l,T){const F=Object.keys(l);if(F.length!==Object.keys(s).length)return!0;for(let j=0;j<F.length;j++){const U=F[j];if(l[U]!==s[U]&&!isEmitListener(T,U))return!0}return!1}function updateHOCHostEl({vnode:s,parent:l},T){for(;l&&l.subTree===s;)(s=l.vnode).el=T,l=l.parent}const isSuspense=s=>s.__isSuspense;function queueEffectWithSuspense(s,l){l&&l.pendingBranch?isArray$1(s)?l.effects.push(...s):l.effects.push(s):queuePostFlushCb(s)}function provide(s,l){if(currentInstance){let T=currentInstance.provides;const F=currentInstance.parent&¤tInstance.parent.provides;F===T&&(T=currentInstance.provides=Object.create(F)),T[s]=l}}function inject(s,l,T=!1){const F=currentInstance||currentRenderingInstance;if(F){const j=F.parent==null?F.vnode.appContext&&F.vnode.appContext.provides:F.parent.provides;if(j&&s in j)return j[s];if(arguments.length>1)return T&&isFunction$1(l)?l.call(F.proxy):l}}function watchEffect(s,l){return doWatch(s,null,l)}const INITIAL_WATCHER_VALUE={};function watch(s,l,T){return doWatch(s,l,T)}function doWatch(s,l,{immediate:T,deep:F,flush:j,onTrack:U,onTrigger:Y}=EMPTY_OBJ){const W=currentInstance;let Z,X=!1,ee=!1;if(isRef(s)?(Z=()=>s.value,X=isShallow(s)):isReactive(s)?(Z=()=>s,F=!0):isArray$1(s)?(ee=!0,X=s.some(le=>isReactive(le)||isShallow(le)),Z=()=>s.map(le=>{if(isRef(le))return le.value;if(isReactive(le))return traverse(le);if(isFunction$1(le))return callWithErrorHandling(le,W,2)})):isFunction$1(s)?l?Z=()=>callWithErrorHandling(s,W,2):Z=()=>{if(!(W&&W.isUnmounted))return te&&te(),callWithAsyncErrorHandling(s,W,3,[ne])}:Z=NOOP,l&&F){const le=Z;Z=()=>traverse(le())}let te,ne=le=>{te=ue.onStop=()=>{callWithErrorHandling(le,W,4)}};if(isInSSRComponentSetup)return ne=NOOP,l?T&&callWithAsyncErrorHandling(l,W,3,[Z(),ee?[]:void 0,ne]):Z(),NOOP;let oe=ee?[]:INITIAL_WATCHER_VALUE;const se=()=>{if(!!ue.active)if(l){const le=ue.run();(F||X||(ee?le.some((ce,me)=>hasChanged(ce,oe[me])):hasChanged(le,oe)))&&(te&&te(),callWithAsyncErrorHandling(l,W,3,[le,oe===INITIAL_WATCHER_VALUE?void 0:oe,ne]),oe=le)}else ue.run()};se.allowRecurse=!!l;let ae;j==="sync"?ae=se:j==="post"?ae=()=>queuePostRenderEffect(se,W&&W.suspense):(se.pre=!0,W&&(se.id=W.uid),ae=()=>queueJob(se));const ue=new ReactiveEffect(Z,ae);return l?T?se():oe=ue.run():j==="post"?queuePostRenderEffect(ue.run.bind(ue),W&&W.suspense):ue.run(),()=>{ue.stop(),W&&W.scope&&remove(W.scope.effects,ue)}}function instanceWatch(s,l,T){const F=this.proxy,j=isString$1(s)?s.includes(".")?createPathGetter(F,s):()=>F[s]:s.bind(F,F);let U;isFunction$1(l)?U=l:(U=l.handler,T=l);const Y=currentInstance;setCurrentInstance(this);const W=doWatch(j,U.bind(F),T);return Y?setCurrentInstance(Y):unsetCurrentInstance(),W}function createPathGetter(s,l){const T=l.split(".");return()=>{let F=s;for(let j=0;j<T.length&&F;j++)F=F[T[j]];return F}}function traverse(s,l){if(!isObject(s)||s.__v_skip||(l=l||new Set,l.has(s)))return s;if(l.add(s),isRef(s))traverse(s.value,l);else if(isArray$1(s))for(let T=0;T<s.length;T++)traverse(s[T],l);else if(isSet(s)||isMap(s))s.forEach(T=>{traverse(T,l)});else if(isPlainObject$1(s))for(const T in s)traverse(s[T],l);return s}function useTransitionState(){const s={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return onMounted(()=>{s.isMounted=!0}),onBeforeUnmount(()=>{s.isUnmounting=!0}),s}const TransitionHookValidator=[Function,Array],BaseTransitionImpl={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},setup(s,{slots:l}){const T=getCurrentInstance(),F=useTransitionState();let j;return()=>{const U=l.default&&getTransitionRawChildren(l.default(),!0);if(!U||!U.length)return;let Y=U[0];if(U.length>1){for(const ae of U)if(ae.type!==Comment){Y=ae;break}}const W=toRaw(s),{mode:Z}=W;if(F.isLeaving)return emptyPlaceholder(Y);const X=getKeepAliveChild(Y);if(!X)return emptyPlaceholder(Y);const ee=resolveTransitionHooks(X,W,F,T);setTransitionHooks(X,ee);const te=T.subTree,ne=te&&getKeepAliveChild(te);let oe=!1;const{getTransitionKey:se}=X.type;if(se){const ae=se();j===void 0?j=ae:ae!==j&&(j=ae,oe=!0)}if(ne&&ne.type!==Comment&&(!isSameVNodeType(X,ne)||oe)){const ae=resolveTransitionHooks(ne,W,F,T);if(setTransitionHooks(ne,ae),Z==="out-in")return F.isLeaving=!0,ae.afterLeave=()=>{F.isLeaving=!1,T.update()},emptyPlaceholder(Y);Z==="in-out"&&X.type!==Comment&&(ae.delayLeave=(ue,le,ce)=>{const me=getLeavingNodesForType(F,ne);me[String(ne.key)]=ne,ue._leaveCb=()=>{le(),ue._leaveCb=void 0,delete ee.delayedLeave},ee.delayedLeave=ce})}return Y}}},BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(s,l){const{leavingVNodes:T}=s;let F=T.get(l.type);return F||(F=Object.create(null),T.set(l.type,F)),F}function resolveTransitionHooks(s,l,T,F){const{appear:j,mode:U,persisted:Y=!1,onBeforeEnter:W,onEnter:Z,onAfterEnter:X,onEnterCancelled:ee,onBeforeLeave:te,onLeave:ne,onAfterLeave:oe,onLeaveCancelled:se,onBeforeAppear:ae,onAppear:ue,onAfterAppear:le,onAppearCancelled:ce}=l,me=String(s.key),Ce=getLeavingNodesForType(T,s),Re=(ge,Te)=>{ge&&callWithAsyncErrorHandling(ge,F,9,Te)},_e=(ge,Te)=>{const Se=Te[1];Re(ge,Te),isArray$1(ge)?ge.every(ze=>ze.length<=1)&&Se():ge.length<=1&&Se()},fe={mode:U,persisted:Y,beforeEnter(ge){let Te=W;if(!T.isMounted)if(j)Te=ae||W;else return;ge._leaveCb&&ge._leaveCb(!0);const Se=Ce[me];Se&&isSameVNodeType(s,Se)&&Se.el._leaveCb&&Se.el._leaveCb(),Re(Te,[ge])},enter(ge){let Te=Z,Se=X,ze=ee;if(!T.isMounted)if(j)Te=ue||Z,Se=le||X,ze=ce||ee;else return;let Me=!1;const Pe=ge._enterCb=pe=>{Me||(Me=!0,pe?Re(ze,[ge]):Re(Se,[ge]),fe.delayedLeave&&fe.delayedLeave(),ge._enterCb=void 0)};Te?_e(Te,[ge,Pe]):Pe()},leave(ge,Te){const Se=String(s.key);if(ge._enterCb&&ge._enterCb(!0),T.isUnmounting)return Te();Re(te,[ge]);let ze=!1;const Me=ge._leaveCb=Pe=>{ze||(ze=!0,Te(),Pe?Re(se,[ge]):Re(oe,[ge]),ge._leaveCb=void 0,Ce[Se]===s&&delete Ce[Se])};Ce[Se]=s,ne?_e(ne,[ge,Me]):Me()},clone(ge){return resolveTransitionHooks(ge,l,T,F)}};return fe}function emptyPlaceholder(s){if(isKeepAlive(s))return s=cloneVNode(s),s.children=null,s}function getKeepAliveChild(s){return isKeepAlive(s)?s.children?s.children[0]:void 0:s}function setTransitionHooks(s,l){s.shapeFlag&6&&s.component?setTransitionHooks(s.component.subTree,l):s.shapeFlag&128?(s.ssContent.transition=l.clone(s.ssContent),s.ssFallback.transition=l.clone(s.ssFallback)):s.transition=l}function getTransitionRawChildren(s,l=!1,T){let F=[],j=0;for(let U=0;U<s.length;U++){let Y=s[U];const W=T==null?Y.key:String(T)+String(Y.key!=null?Y.key:U);Y.type===Fragment?(Y.patchFlag&128&&j++,F=F.concat(getTransitionRawChildren(Y.children,l,W))):(l||Y.type!==Comment)&&F.push(W!=null?cloneVNode(Y,{key:W}):Y)}if(j>1)for(let U=0;U<F.length;U++)F[U].patchFlag=-2;return F}function defineComponent(s){return isFunction$1(s)?{setup:s,name:s.name}:s}const isAsyncWrapper=s=>!!s.type.__asyncLoader;function defineAsyncComponent(s){isFunction$1(s)&&(s={loader:s});const{loader:l,loadingComponent:T,errorComponent:F,delay:j=200,timeout:U,suspensible:Y=!0,onError:W}=s;let Z=null,X,ee=0;const te=()=>(ee++,Z=null,ne()),ne=()=>{let oe;return Z||(oe=Z=l().catch(se=>{if(se=se instanceof Error?se:new Error(String(se)),W)return new Promise((ae,ue)=>{W(se,()=>ae(te()),()=>ue(se),ee+1)});throw se}).then(se=>oe!==Z&&Z?Z:(se&&(se.__esModule||se[Symbol.toStringTag]==="Module")&&(se=se.default),X=se,se)))};return defineComponent({name:"AsyncComponentWrapper",__asyncLoader:ne,get __asyncResolved(){return X},setup(){const oe=currentInstance;if(X)return()=>createInnerComp(X,oe);const se=ce=>{Z=null,handleError(ce,oe,13,!F)};if(Y&&oe.suspense||isInSSRComponentSetup)return ne().then(ce=>()=>createInnerComp(ce,oe)).catch(ce=>(se(ce),()=>F?createVNode(F,{error:ce}):null));const ae=ref(!1),ue=ref(),le=ref(!!j);return j&&setTimeout(()=>{le.value=!1},j),U!=null&&setTimeout(()=>{if(!ae.value&&!ue.value){const ce=new Error(`Async component timed out after ${U}ms.`);se(ce),ue.value=ce}},U),ne().then(()=>{ae.value=!0,oe.parent&&isKeepAlive(oe.parent.vnode)&&queueJob(oe.parent.update)}).catch(ce=>{se(ce),ue.value=ce}),()=>{if(ae.value&&X)return createInnerComp(X,oe);if(ue.value&&F)return createVNode(F,{error:ue.value});if(T&&!le.value)return createVNode(T)}}})}function createInnerComp(s,{vnode:{ref:l,props:T,children:F,shapeFlag:j},parent:U}){const Y=createVNode(s,T,F);return Y.ref=l,Y}const isKeepAlive=s=>s.type.__isKeepAlive;function onActivated(s,l){registerKeepAliveHook(s,"a",l)}function onDeactivated(s,l){registerKeepAliveHook(s,"da",l)}function registerKeepAliveHook(s,l,T=currentInstance){const F=s.__wdc||(s.__wdc=()=>{let j=T;for(;j;){if(j.isDeactivated)return;j=j.parent}return s()});if(injectHook(l,F,T),T){let j=T.parent;for(;j&&j.parent;)isKeepAlive(j.parent.vnode)&&injectToKeepAliveRoot(F,l,T,j),j=j.parent}}function injectToKeepAliveRoot(s,l,T,F){const j=injectHook(l,s,F,!0);onUnmounted(()=>{remove(F[l],j)},T)}function injectHook(s,l,T=currentInstance,F=!1){if(T){const j=T[s]||(T[s]=[]),U=l.__weh||(l.__weh=(...Y)=>{if(T.isUnmounted)return;pauseTracking(),setCurrentInstance(T);const W=callWithAsyncErrorHandling(l,T,s,Y);return unsetCurrentInstance(),resetTracking(),W});return F?j.unshift(U):j.push(U),U}}const createHook=s=>(l,T=currentInstance)=>(!isInSSRComponentSetup||s==="sp")&&injectHook(s,l,T),onBeforeMount=createHook("bm"),onMounted=createHook("m"),onBeforeUpdate=createHook("bu"),onUpdated=createHook("u"),onBeforeUnmount=createHook("bum"),onUnmounted=createHook("um"),onServerPrefetch=createHook("sp"),onRenderTriggered=createHook("rtg"),onRenderTracked=createHook("rtc");function onErrorCaptured(s,l=currentInstance){injectHook("ec",s,l)}function withDirectives(s,l){const T=currentRenderingInstance;if(T===null)return s;const F=getExposeProxy(T)||T.proxy,j=s.dirs||(s.dirs=[]);for(let U=0;U<l.length;U++){let[Y,W,Z,X=EMPTY_OBJ]=l[U];isFunction$1(Y)&&(Y={mounted:Y,updated:Y}),Y.deep&&traverse(W),j.push({dir:Y,instance:F,value:W,oldValue:void 0,arg:Z,modifiers:X})}return s}function invokeDirectiveHook(s,l,T,F){const j=s.dirs,U=l&&l.dirs;for(let Y=0;Y<j.length;Y++){const W=j[Y];U&&(W.oldValue=U[Y].value);let Z=W.dir[F];Z&&(pauseTracking(),callWithAsyncErrorHandling(Z,T,8,[s.el,W,s,l]),resetTracking())}}const COMPONENTS="components";function resolveComponent(s,l){return resolveAsset(COMPONENTS,s,!0,l)||s}const NULL_DYNAMIC_COMPONENT=Symbol();function resolveAsset(s,l,T=!0,F=!1){const j=currentRenderingInstance||currentInstance;if(j){const U=j.type;if(s===COMPONENTS){const W=getComponentName(U,!1);if(W&&(W===l||W===camelize(l)||W===capitalize(camelize(l))))return U}const Y=resolve(j[s]||U[s],l)||resolve(j.appContext[s],l);return!Y&&F?U:Y}}function resolve(s,l){return s&&(s[l]||s[camelize(l)]||s[capitalize(camelize(l))])}function renderList(s,l,T,F){let j;const U=T&&T[F];if(isArray$1(s)||isString$1(s)){j=new Array(s.length);for(let Y=0,W=s.length;Y<W;Y++)j[Y]=l(s[Y],Y,void 0,U&&U[Y])}else if(typeof s=="number"){j=new Array(s);for(let Y=0;Y<s;Y++)j[Y]=l(Y+1,Y,void 0,U&&U[Y])}else if(isObject(s))if(s[Symbol.iterator])j=Array.from(s,(Y,W)=>l(Y,W,void 0,U&&U[W]));else{const Y=Object.keys(s);j=new Array(Y.length);for(let W=0,Z=Y.length;W<Z;W++){const X=Y[W];j[W]=l(s[X],X,W,U&&U[W])}}else j=[];return T&&(T[F]=j),j}function renderSlot(s,l,T={},F,j){if(currentRenderingInstance.isCE||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.isCE)return createVNode("slot",l==="default"?null:{name:l},F&&F());let U=s[l];U&&U._c&&(U._d=!1),openBlock();const Y=U&&ensureValidVNode(U(T)),W=createBlock(Fragment,{key:T.key||Y&&Y.key||`_${l}`},Y||(F?F():[]),Y&&s._===1?64:-2);return!j&&W.scopeId&&(W.slotScopeIds=[W.scopeId+"-s"]),U&&U._c&&(U._d=!0),W}function ensureValidVNode(s){return s.some(l=>isVNode(l)?!(l.type===Comment||l.type===Fragment&&!ensureValidVNode(l.children)):!0)?s:null}const getPublicInstance=s=>s?isStatefulComponent(s)?getExposeProxy(s)||s.proxy:getPublicInstance(s.parent):null,publicPropertiesMap=extend(Object.create(null),{$:s=>s,$el:s=>s.vnode.el,$data:s=>s.data,$props:s=>s.props,$attrs:s=>s.attrs,$slots:s=>s.slots,$refs:s=>s.refs,$parent:s=>getPublicInstance(s.parent),$root:s=>getPublicInstance(s.root),$emit:s=>s.emit,$options:s=>resolveMergedOptions(s),$forceUpdate:s=>s.f||(s.f=()=>queueJob(s.update)),$nextTick:s=>s.n||(s.n=nextTick.bind(s.proxy)),$watch:s=>instanceWatch.bind(s)}),PublicInstanceProxyHandlers={get({_:s},l){const{ctx:T,setupState:F,data:j,props:U,accessCache:Y,type:W,appContext:Z}=s;let X;if(l[0]!=="$"){const oe=Y[l];if(oe!==void 0)switch(oe){case 1:return F[l];case 2:return j[l];case 4:return T[l];case 3:return U[l]}else{if(F!==EMPTY_OBJ&&hasOwn(F,l))return Y[l]=1,F[l];if(j!==EMPTY_OBJ&&hasOwn(j,l))return Y[l]=2,j[l];if((X=s.propsOptions[0])&&hasOwn(X,l))return Y[l]=3,U[l];if(T!==EMPTY_OBJ&&hasOwn(T,l))return Y[l]=4,T[l];shouldCacheAccess&&(Y[l]=0)}}const ee=publicPropertiesMap[l];let te,ne;if(ee)return l==="$attrs"&&track(s,"get",l),ee(s);if((te=W.__cssModules)&&(te=te[l]))return te;if(T!==EMPTY_OBJ&&hasOwn(T,l))return Y[l]=4,T[l];if(ne=Z.config.globalProperties,hasOwn(ne,l))return ne[l]},set({_:s},l,T){const{data:F,setupState:j,ctx:U}=s;return j!==EMPTY_OBJ&&hasOwn(j,l)?(j[l]=T,!0):F!==EMPTY_OBJ&&hasOwn(F,l)?(F[l]=T,!0):hasOwn(s.props,l)||l[0]==="$"&&l.slice(1)in s?!1:(U[l]=T,!0)},has({_:{data:s,setupState:l,accessCache:T,ctx:F,appContext:j,propsOptions:U}},Y){let W;return!!T[Y]||s!==EMPTY_OBJ&&hasOwn(s,Y)||l!==EMPTY_OBJ&&hasOwn(l,Y)||(W=U[0])&&hasOwn(W,Y)||hasOwn(F,Y)||hasOwn(publicPropertiesMap,Y)||hasOwn(j.config.globalProperties,Y)},defineProperty(s,l,T){return T.get!=null?s._.accessCache[l]=0:hasOwn(T,"value")&&this.set(s,l,T.value,null),Reflect.defineProperty(s,l,T)}};let shouldCacheAccess=!0;function applyOptions(s){const l=resolveMergedOptions(s),T=s.proxy,F=s.ctx;shouldCacheAccess=!1,l.beforeCreate&&callHook$1(l.beforeCreate,s,"bc");const{data:j,computed:U,methods:Y,watch:W,provide:Z,inject:X,created:ee,beforeMount:te,mounted:ne,beforeUpdate:oe,updated:se,activated:ae,deactivated:ue,beforeDestroy:le,beforeUnmount:ce,destroyed:me,unmounted:Ce,render:Re,renderTracked:_e,renderTriggered:fe,errorCaptured:ge,serverPrefetch:Te,expose:Se,inheritAttrs:ze,components:Me,directives:Pe,filters:pe}=l;if(X&&resolveInjections(X,F,null,s.appContext.config.unwrapInjectedRef),Y)for(const $e in Y){const xe=Y[$e];isFunction$1(xe)&&(F[$e]=xe.bind(T))}if(j){const $e=j.call(T,T);isObject($e)&&(s.data=reactive($e))}if(shouldCacheAccess=!0,U)for(const $e in U){const xe=U[$e],He=isFunction$1(xe)?xe.bind(T,T):isFunction$1(xe.get)?xe.get.bind(T,T):NOOP,We=!isFunction$1(xe)&&isFunction$1(xe.set)?xe.set.bind(T):NOOP,Qe=computed({get:He,set:We});Object.defineProperty(F,$e,{enumerable:!0,configurable:!0,get:()=>Qe.value,set:Ge=>Qe.value=Ge})}if(W)for(const $e in W)createWatcher(W[$e],F,T,$e);if(Z){const $e=isFunction$1(Z)?Z.call(T):Z;Reflect.ownKeys($e).forEach(xe=>{provide(xe,$e[xe])})}ee&&callHook$1(ee,s,"c");function Ae($e,xe){isArray$1(xe)?xe.forEach(He=>$e(He.bind(T))):xe&&$e(xe.bind(T))}if(Ae(onBeforeMount,te),Ae(onMounted,ne),Ae(onBeforeUpdate,oe),Ae(onUpdated,se),Ae(onActivated,ae),Ae(onDeactivated,ue),Ae(onErrorCaptured,ge),Ae(onRenderTracked,_e),Ae(onRenderTriggered,fe),Ae(onBeforeUnmount,ce),Ae(onUnmounted,Ce),Ae(onServerPrefetch,Te),isArray$1(Se))if(Se.length){const $e=s.exposed||(s.exposed={});Se.forEach(xe=>{Object.defineProperty($e,xe,{get:()=>T[xe],set:He=>T[xe]=He})})}else s.exposed||(s.exposed={});Re&&s.render===NOOP&&(s.render=Re),ze!=null&&(s.inheritAttrs=ze),Me&&(s.components=Me),Pe&&(s.directives=Pe)}function resolveInjections(s,l,T=NOOP,F=!1){isArray$1(s)&&(s=normalizeInject(s));for(const j in s){const U=s[j];let Y;isObject(U)?"default"in U?Y=inject(U.from||j,U.default,!0):Y=inject(U.from||j):Y=inject(U),isRef(Y)&&F?Object.defineProperty(l,j,{enumerable:!0,configurable:!0,get:()=>Y.value,set:W=>Y.value=W}):l[j]=Y}}function callHook$1(s,l,T){callWithAsyncErrorHandling(isArray$1(s)?s.map(F=>F.bind(l.proxy)):s.bind(l.proxy),l,T)}function createWatcher(s,l,T,F){const j=F.includes(".")?createPathGetter(T,F):()=>T[F];if(isString$1(s)){const U=l[s];isFunction$1(U)&&watch(j,U)}else if(isFunction$1(s))watch(j,s.bind(T));else if(isObject(s))if(isArray$1(s))s.forEach(U=>createWatcher(U,l,T,F));else{const U=isFunction$1(s.handler)?s.handler.bind(T):l[s.handler];isFunction$1(U)&&watch(j,U,s)}}function resolveMergedOptions(s){const l=s.type,{mixins:T,extends:F}=l,{mixins:j,optionsCache:U,config:{optionMergeStrategies:Y}}=s.appContext,W=U.get(l);let Z;return W?Z=W:!j.length&&!T&&!F?Z=l:(Z={},j.length&&j.forEach(X=>mergeOptions$1(Z,X,Y,!0)),mergeOptions$1(Z,l,Y)),isObject(l)&&U.set(l,Z),Z}function mergeOptions$1(s,l,T,F=!1){const{mixins:j,extends:U}=l;U&&mergeOptions$1(s,U,T,!0),j&&j.forEach(Y=>mergeOptions$1(s,Y,T,!0));for(const Y in l)if(!(F&&Y==="expose")){const W=internalOptionMergeStrats[Y]||T&&T[Y];s[Y]=W?W(s[Y],l[Y]):l[Y]}return s}const internalOptionMergeStrats={data:mergeDataFn,props:mergeObjectOptions,emits:mergeObjectOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray,created:mergeAsArray,beforeMount:mergeAsArray,mounted:mergeAsArray,beforeUpdate:mergeAsArray,updated:mergeAsArray,beforeDestroy:mergeAsArray,beforeUnmount:mergeAsArray,destroyed:mergeAsArray,unmounted:mergeAsArray,activated:mergeAsArray,deactivated:mergeAsArray,errorCaptured:mergeAsArray,serverPrefetch:mergeAsArray,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(s,l){return l?s?function(){return extend(isFunction$1(s)?s.call(this,this):s,isFunction$1(l)?l.call(this,this):l)}:l:s}function mergeInject(s,l){return mergeObjectOptions(normalizeInject(s),normalizeInject(l))}function normalizeInject(s){if(isArray$1(s)){const l={};for(let T=0;T<s.length;T++)l[s[T]]=s[T];return l}return s}function mergeAsArray(s,l){return s?[...new Set([].concat(s,l))]:l}function mergeObjectOptions(s,l){return s?extend(extend(Object.create(null),s),l):l}function mergeWatchOptions(s,l){if(!s)return l;if(!l)return s;const T=extend(Object.create(null),s);for(const F in l)T[F]=mergeAsArray(s[F],l[F]);return T}function initProps(s,l,T,F=!1){const j={},U={};def(U,InternalObjectKey,1),s.propsDefaults=Object.create(null),setFullProps(s,l,j,U);for(const Y in s.propsOptions[0])Y in j||(j[Y]=void 0);T?s.props=F?j:shallowReactive(j):s.type.props?s.props=j:s.props=U,s.attrs=U}function updateProps(s,l,T,F){const{props:j,attrs:U,vnode:{patchFlag:Y}}=s,W=toRaw(j),[Z]=s.propsOptions;let X=!1;if((F||Y>0)&&!(Y&16)){if(Y&8){const ee=s.vnode.dynamicProps;for(let te=0;te<ee.length;te++){let ne=ee[te];if(isEmitListener(s.emitsOptions,ne))continue;const oe=l[ne];if(Z)if(hasOwn(U,ne))oe!==U[ne]&&(U[ne]=oe,X=!0);else{const se=camelize(ne);j[se]=resolvePropValue(Z,W,se,oe,s,!1)}else oe!==U[ne]&&(U[ne]=oe,X=!0)}}}else{setFullProps(s,l,j,U)&&(X=!0);let ee;for(const te in W)(!l||!hasOwn(l,te)&&((ee=hyphenate(te))===te||!hasOwn(l,ee)))&&(Z?T&&(T[te]!==void 0||T[ee]!==void 0)&&(j[te]=resolvePropValue(Z,W,te,void 0,s,!0)):delete j[te]);if(U!==W)for(const te in U)(!l||!hasOwn(l,te)&&!0)&&(delete U[te],X=!0)}X&&trigger(s,"set","$attrs")}function setFullProps(s,l,T,F){const[j,U]=s.propsOptions;let Y=!1,W;if(l)for(let Z in l){if(isReservedProp(Z))continue;const X=l[Z];let ee;j&&hasOwn(j,ee=camelize(Z))?!U||!U.includes(ee)?T[ee]=X:(W||(W={}))[ee]=X:isEmitListener(s.emitsOptions,Z)||(!(Z in F)||X!==F[Z])&&(F[Z]=X,Y=!0)}if(U){const Z=toRaw(T),X=W||EMPTY_OBJ;for(let ee=0;ee<U.length;ee++){const te=U[ee];T[te]=resolvePropValue(j,Z,te,X[te],s,!hasOwn(X,te))}}return Y}function resolvePropValue(s,l,T,F,j,U){const Y=s[T];if(Y!=null){const W=hasOwn(Y,"default");if(W&&F===void 0){const Z=Y.default;if(Y.type!==Function&&isFunction$1(Z)){const{propsDefaults:X}=j;T in X?F=X[T]:(setCurrentInstance(j),F=X[T]=Z.call(null,l),unsetCurrentInstance())}else F=Z}Y[0]&&(U&&!W?F=!1:Y[1]&&(F===""||F===hyphenate(T))&&(F=!0))}return F}function normalizePropsOptions(s,l,T=!1){const F=l.propsCache,j=F.get(s);if(j)return j;const U=s.props,Y={},W=[];let Z=!1;if(!isFunction$1(s)){const ee=te=>{Z=!0;const[ne,oe]=normalizePropsOptions(te,l,!0);extend(Y,ne),oe&&W.push(...oe)};!T&&l.mixins.length&&l.mixins.forEach(ee),s.extends&&ee(s.extends),s.mixins&&s.mixins.forEach(ee)}if(!U&&!Z)return isObject(s)&&F.set(s,EMPTY_ARR),EMPTY_ARR;if(isArray$1(U))for(let ee=0;ee<U.length;ee++){const te=camelize(U[ee]);validatePropName(te)&&(Y[te]=EMPTY_OBJ)}else if(U)for(const ee in U){const te=camelize(ee);if(validatePropName(te)){const ne=U[ee],oe=Y[te]=isArray$1(ne)||isFunction$1(ne)?{type:ne}:ne;if(oe){const se=getTypeIndex(Boolean,oe.type),ae=getTypeIndex(String,oe.type);oe[0]=se>-1,oe[1]=ae<0||se<ae,(se>-1||hasOwn(oe,"default"))&&W.push(te)}}}const X=[Y,W];return isObject(s)&&F.set(s,X),X}function validatePropName(s){return s[0]!=="$"}function getType(s){const l=s&&s.toString().match(/^\s*function (\w+)/);return l?l[1]:s===null?"null":""}function isSameType(s,l){return getType(s)===getType(l)}function getTypeIndex(s,l){return isArray$1(l)?l.findIndex(T=>isSameType(T,s)):isFunction$1(l)&&isSameType(l,s)?0:-1}const isInternalKey=s=>s[0]==="_"||s==="$stable",normalizeSlotValue=s=>isArray$1(s)?s.map(normalizeVNode):[normalizeVNode(s)],normalizeSlot$1=(s,l,T)=>{if(l._n)return l;const F=withCtx((...j)=>normalizeSlotValue(l(...j)),T);return F._c=!1,F},normalizeObjectSlots=(s,l,T)=>{const F=s._ctx;for(const j in s){if(isInternalKey(j))continue;const U=s[j];if(isFunction$1(U))l[j]=normalizeSlot$1(j,U,F);else if(U!=null){const Y=normalizeSlotValue(U);l[j]=()=>Y}}},normalizeVNodeSlots=(s,l)=>{const T=normalizeSlotValue(l);s.slots.default=()=>T},initSlots=(s,l)=>{if(s.vnode.shapeFlag&32){const T=l._;T?(s.slots=toRaw(l),def(l,"_",T)):normalizeObjectSlots(l,s.slots={})}else s.slots={},l&&normalizeVNodeSlots(s,l);def(s.slots,InternalObjectKey,1)},updateSlots=(s,l,T)=>{const{vnode:F,slots:j}=s;let U=!0,Y=EMPTY_OBJ;if(F.shapeFlag&32){const W=l._;W?T&&W===1?U=!1:(extend(j,l),!T&&W===1&&delete j._):(U=!l.$stable,normalizeObjectSlots(l,j)),Y=l}else l&&(normalizeVNodeSlots(s,l),Y={default:1});if(U)for(const W in j)!isInternalKey(W)&&!(W in Y)&&delete j[W]};function createAppContext(){return{app:null,config:{isNativeTag:NO,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 uid=0;function createAppAPI(s,l){return function(F,j=null){isFunction$1(F)||(F=Object.assign({},F)),j!=null&&!isObject(j)&&(j=null);const U=createAppContext(),Y=new Set;let W=!1;const Z=U.app={_uid:uid++,_component:F,_props:j,_container:null,_context:U,_instance:null,version,get config(){return U.config},set config(X){},use(X,...ee){return Y.has(X)||(X&&isFunction$1(X.install)?(Y.add(X),X.install(Z,...ee)):isFunction$1(X)&&(Y.add(X),X(Z,...ee))),Z},mixin(X){return U.mixins.includes(X)||U.mixins.push(X),Z},component(X,ee){return ee?(U.components[X]=ee,Z):U.components[X]},directive(X,ee){return ee?(U.directives[X]=ee,Z):U.directives[X]},mount(X,ee,te){if(!W){const ne=createVNode(F,j);return ne.appContext=U,ee&&l?l(ne,X):s(ne,X,te),W=!0,Z._container=X,X.__vue_app__=Z,getExposeProxy(ne.component)||ne.component.proxy}},unmount(){W&&(s(null,Z._container),delete Z._container.__vue_app__)},provide(X,ee){return U.provides[X]=ee,Z}};return Z}}function setRef(s,l,T,F,j=!1){if(isArray$1(s)){s.forEach((ne,oe)=>setRef(ne,l&&(isArray$1(l)?l[oe]:l),T,F,j));return}if(isAsyncWrapper(F)&&!j)return;const U=F.shapeFlag&4?getExposeProxy(F.component)||F.component.proxy:F.el,Y=j?null:U,{i:W,r:Z}=s,X=l&&l.r,ee=W.refs===EMPTY_OBJ?W.refs={}:W.refs,te=W.setupState;if(X!=null&&X!==Z&&(isString$1(X)?(ee[X]=null,hasOwn(te,X)&&(te[X]=null)):isRef(X)&&(X.value=null)),isFunction$1(Z))callWithErrorHandling(Z,W,12,[Y,ee]);else{const ne=isString$1(Z),oe=isRef(Z);if(ne||oe){const se=()=>{if(s.f){const ae=ne?ee[Z]:Z.value;j?isArray$1(ae)&&remove(ae,U):isArray$1(ae)?ae.includes(U)||ae.push(U):ne?(ee[Z]=[U],hasOwn(te,Z)&&(te[Z]=ee[Z])):(Z.value=[U],s.k&&(ee[s.k]=Z.value))}else ne?(ee[Z]=Y,hasOwn(te,Z)&&(te[Z]=Y)):oe&&(Z.value=Y,s.k&&(ee[s.k]=Y))};Y?(se.id=-1,queuePostRenderEffect(se,T)):se()}}}let hasMismatch=!1;const isSVGContainer=s=>/svg/.test(s.namespaceURI)&&s.tagName!=="foreignObject",isComment=s=>s.nodeType===8;function createHydrationFunctions(s){const{mt:l,p:T,o:{patchProp:F,createText:j,nextSibling:U,parentNode:Y,remove:W,insert:Z,createComment:X}}=s,ee=(le,ce)=>{if(!ce.hasChildNodes()){T(null,le,ce),flushPostFlushCbs(),ce._vnode=le;return}hasMismatch=!1,te(ce.firstChild,le,null,null,null),flushPostFlushCbs(),ce._vnode=le,hasMismatch&&console.error("Hydration completed but contains mismatches.")},te=(le,ce,me,Ce,Re,_e=!1)=>{const fe=isComment(le)&&le.data==="[",ge=()=>ae(le,ce,me,Ce,Re,fe),{type:Te,ref:Se,shapeFlag:ze,patchFlag:Me}=ce,Pe=le.nodeType;ce.el=le,Me===-2&&(_e=!1,ce.dynamicChildren=null);let pe=null;switch(Te){case Text:Pe!==3?ce.children===""?(Z(ce.el=j(""),Y(le),le),pe=le):pe=ge():(le.data!==ce.children&&(hasMismatch=!0,le.data=ce.children),pe=U(le));break;case Comment:Pe!==8||fe?pe=ge():pe=U(le);break;case Static:if(Pe!==1&&Pe!==3)pe=ge();else{pe=le;const we=!ce.children.length;for(let Ae=0;Ae<ce.staticCount;Ae++)we&&(ce.children+=pe.nodeType===1?pe.outerHTML:pe.data),Ae===ce.staticCount-1&&(ce.anchor=pe),pe=U(pe);return pe}break;case Fragment:fe?pe=se(le,ce,me,Ce,Re,_e):pe=ge();break;default:if(ze&1)Pe!==1||ce.type.toLowerCase()!==le.tagName.toLowerCase()?pe=ge():pe=ne(le,ce,me,Ce,Re,_e);else if(ze&6){ce.slotScopeIds=Re;const we=Y(le);if(l(ce,we,null,me,Ce,isSVGContainer(we),_e),pe=fe?ue(le):U(le),pe&&isComment(pe)&&pe.data==="teleport end"&&(pe=U(pe)),isAsyncWrapper(ce)){let Ae;fe?(Ae=createVNode(Fragment),Ae.anchor=pe?pe.previousSibling:we.lastChild):Ae=le.nodeType===3?createTextVNode(""):createVNode("div"),Ae.el=le,ce.component.subTree=Ae}}else ze&64?Pe!==8?pe=ge():pe=ce.type.hydrate(le,ce,me,Ce,Re,_e,s,oe):ze&128&&(pe=ce.type.hydrate(le,ce,me,Ce,isSVGContainer(Y(le)),Re,_e,s,te))}return Se!=null&&setRef(Se,null,Ce,ce),pe},ne=(le,ce,me,Ce,Re,_e)=>{_e=_e||!!ce.dynamicChildren;const{type:fe,props:ge,patchFlag:Te,shapeFlag:Se,dirs:ze}=ce,Me=fe==="input"&&ze||fe==="option";if(Me||Te!==-1){if(ze&&invokeDirectiveHook(ce,null,me,"created"),ge)if(Me||!_e||Te&48)for(const pe in ge)(Me&&pe.endsWith("value")||isOn(pe)&&!isReservedProp(pe))&&F(le,pe,null,ge[pe],!1,void 0,me);else ge.onClick&&F(le,"onClick",null,ge.onClick,!1,void 0,me);let Pe;if((Pe=ge&&ge.onVnodeBeforeMount)&&invokeVNodeHook(Pe,me,ce),ze&&invokeDirectiveHook(ce,null,me,"beforeMount"),((Pe=ge&&ge.onVnodeMounted)||ze)&&queueEffectWithSuspense(()=>{Pe&&invokeVNodeHook(Pe,me,ce),ze&&invokeDirectiveHook(ce,null,me,"mounted")},Ce),Se&16&&!(ge&&(ge.innerHTML||ge.textContent))){let pe=oe(le.firstChild,ce,le,me,Ce,Re,_e);for(;pe;){hasMismatch=!0;const we=pe;pe=pe.nextSibling,W(we)}}else Se&8&&le.textContent!==ce.children&&(hasMismatch=!0,le.textContent=ce.children)}return le.nextSibling},oe=(le,ce,me,Ce,Re,_e,fe)=>{fe=fe||!!ce.dynamicChildren;const ge=ce.children,Te=ge.length;for(let Se=0;Se<Te;Se++){const ze=fe?ge[Se]:ge[Se]=normalizeVNode(ge[Se]);if(le)le=te(le,ze,Ce,Re,_e,fe);else{if(ze.type===Text&&!ze.children)continue;hasMismatch=!0,T(null,ze,me,null,Ce,Re,isSVGContainer(me),_e)}}return le},se=(le,ce,me,Ce,Re,_e)=>{const{slotScopeIds:fe}=ce;fe&&(Re=Re?Re.concat(fe):fe);const ge=Y(le),Te=oe(U(le),ce,ge,me,Ce,Re,_e);return Te&&isComment(Te)&&Te.data==="]"?U(ce.anchor=Te):(hasMismatch=!0,Z(ce.anchor=X("]"),ge,Te),Te)},ae=(le,ce,me,Ce,Re,_e)=>{if(hasMismatch=!0,ce.el=null,_e){const Te=ue(le);for(;;){const Se=U(le);if(Se&&Se!==Te)W(Se);else break}}const fe=U(le),ge=Y(le);return W(le),T(null,ce,ge,fe,me,Ce,isSVGContainer(ge),Re),fe},ue=le=>{let ce=0;for(;le;)if(le=U(le),le&&isComment(le)&&(le.data==="["&&ce++,le.data==="]")){if(ce===0)return U(le);ce--}return le};return[ee,te]}const queuePostRenderEffect=queueEffectWithSuspense;function createHydrationRenderer(s){return baseCreateRenderer(s,createHydrationFunctions)}function baseCreateRenderer(s,l){const T=getGlobalThis();T.__VUE__=!0;const{insert:F,remove:j,patchProp:U,createElement:Y,createText:W,createComment:Z,setText:X,setElementText:ee,parentNode:te,nextSibling:ne,setScopeId:oe=NOOP,cloneNode:se,insertStaticContent:ae}=s,ue=(re,ie,de,ye=null,ve=null,Le=null,Oe=!1,Ee=null,Ie=!!ie.dynamicChildren)=>{if(re===ie)return;re&&!isSameVNodeType(re,ie)&&(ye=De(re),Ze(re,ve,Le,!0),re=null),ie.patchFlag===-2&&(Ie=!1,ie.dynamicChildren=null);const{type:be,ref:Be,shapeFlag:Fe}=ie;switch(be){case Text:le(re,ie,de,ye);break;case Comment:ce(re,ie,de,ye);break;case Static:re==null&&me(ie,de,ye,Oe);break;case Fragment:Pe(re,ie,de,ye,ve,Le,Oe,Ee,Ie);break;default:Fe&1?_e(re,ie,de,ye,ve,Le,Oe,Ee,Ie):Fe&6?pe(re,ie,de,ye,ve,Le,Oe,Ee,Ie):(Fe&64||Fe&128)&&be.process(re,ie,de,ye,ve,Le,Oe,Ee,Ie,Ke)}Be!=null&&ve&&setRef(Be,re&&re.ref,Le,ie||re,!ie)},le=(re,ie,de,ye)=>{if(re==null)F(ie.el=W(ie.children),de,ye);else{const ve=ie.el=re.el;ie.children!==re.children&&X(ve,ie.children)}},ce=(re,ie,de,ye)=>{re==null?F(ie.el=Z(ie.children||""),de,ye):ie.el=re.el},me=(re,ie,de,ye)=>{[re.el,re.anchor]=ae(re.children,ie,de,ye,re.el,re.anchor)},Ce=({el:re,anchor:ie},de,ye)=>{let ve;for(;re&&re!==ie;)ve=ne(re),F(re,de,ye),re=ve;F(ie,de,ye)},Re=({el:re,anchor:ie})=>{let de;for(;re&&re!==ie;)de=ne(re),j(re),re=de;j(ie)},_e=(re,ie,de,ye,ve,Le,Oe,Ee,Ie)=>{Oe=Oe||ie.type==="svg",re==null?fe(ie,de,ye,ve,Le,Oe,Ee,Ie):Se(re,ie,ve,Le,Oe,Ee,Ie)},fe=(re,ie,de,ye,ve,Le,Oe,Ee)=>{let Ie,be;const{type:Be,props:Fe,shapeFlag:je,transition:qe,patchFlag:Je,dirs:Xe}=re;if(re.el&&se!==void 0&&Je===-1)Ie=re.el=se(re.el);else{if(Ie=re.el=Y(re.type,Le,Fe&&Fe.is,Fe),je&8?ee(Ie,re.children):je&16&&Te(re.children,Ie,null,ye,ve,Le&&Be!=="foreignObject",Oe,Ee),Xe&&invokeDirectiveHook(re,null,ye,"created"),Fe){for(const tt in Fe)tt!=="value"&&!isReservedProp(tt)&&U(Ie,tt,null,Fe[tt],Le,re.children,ye,ve,ke);"value"in Fe&&U(Ie,"value",null,Fe.value),(be=Fe.onVnodeBeforeMount)&&invokeVNodeHook(be,ye,re)}ge(Ie,re,re.scopeId,Oe,ye)}Xe&&invokeDirectiveHook(re,null,ye,"beforeMount");const et=(!ve||ve&&!ve.pendingBranch)&&qe&&!qe.persisted;et&&qe.beforeEnter(Ie),F(Ie,ie,de),((be=Fe&&Fe.onVnodeMounted)||et||Xe)&&queuePostRenderEffect(()=>{be&&invokeVNodeHook(be,ye,re),et&&qe.enter(Ie),Xe&&invokeDirectiveHook(re,null,ye,"mounted")},ve)},ge=(re,ie,de,ye,ve)=>{if(de&&oe(re,de),ye)for(let Le=0;Le<ye.length;Le++)oe(re,ye[Le]);if(ve){let Le=ve.subTree;if(ie===Le){const Oe=ve.vnode;ge(re,Oe,Oe.scopeId,Oe.slotScopeIds,ve.parent)}}},Te=(re,ie,de,ye,ve,Le,Oe,Ee,Ie=0)=>{for(let be=Ie;be<re.length;be++){const Be=re[be]=Ee?cloneIfMounted(re[be]):normalizeVNode(re[be]);ue(null,Be,ie,de,ye,ve,Le,Oe,Ee)}},Se=(re,ie,de,ye,ve,Le,Oe)=>{const Ee=ie.el=re.el;let{patchFlag:Ie,dynamicChildren:be,dirs:Be}=ie;Ie|=re.patchFlag&16;const Fe=re.props||EMPTY_OBJ,je=ie.props||EMPTY_OBJ;let qe;de&&toggleRecurse(de,!1),(qe=je.onVnodeBeforeUpdate)&&invokeVNodeHook(qe,de,ie,re),Be&&invokeDirectiveHook(ie,re,de,"beforeUpdate"),de&&toggleRecurse(de,!0);const Je=ve&&ie.type!=="foreignObject";if(be?ze(re.dynamicChildren,be,Ee,de,ye,Je,Le):Oe||He(re,ie,Ee,null,de,ye,Je,Le,!1),Ie>0){if(Ie&16)Me(Ee,ie,Fe,je,de,ye,ve);else if(Ie&2&&Fe.class!==je.class&&U(Ee,"class",null,je.class,ve),Ie&4&&U(Ee,"style",Fe.style,je.style,ve),Ie&8){const Xe=ie.dynamicProps;for(let et=0;et<Xe.length;et++){const tt=Xe[et],vt=Fe[tt],bt=je[tt];(bt!==vt||tt==="value")&&U(Ee,tt,vt,bt,ve,re.children,de,ye,ke)}}Ie&1&&re.children!==ie.children&&ee(Ee,ie.children)}else!Oe&&be==null&&Me(Ee,ie,Fe,je,de,ye,ve);((qe=je.onVnodeUpdated)||Be)&&queuePostRenderEffect(()=>{qe&&invokeVNodeHook(qe,de,ie,re),Be&&invokeDirectiveHook(ie,re,de,"updated")},ye)},ze=(re,ie,de,ye,ve,Le,Oe)=>{for(let Ee=0;Ee<ie.length;Ee++){const Ie=re[Ee],be=ie[Ee],Be=Ie.el&&(Ie.type===Fragment||!isSameVNodeType(Ie,be)||Ie.shapeFlag&70)?te(Ie.el):de;ue(Ie,be,Be,null,ye,ve,Le,Oe,!0)}},Me=(re,ie,de,ye,ve,Le,Oe)=>{if(de!==ye){for(const Ee in ye){if(isReservedProp(Ee))continue;const Ie=ye[Ee],be=de[Ee];Ie!==be&&Ee!=="value"&&U(re,Ee,be,Ie,Oe,ie.children,ve,Le,ke)}if(de!==EMPTY_OBJ)for(const Ee in de)!isReservedProp(Ee)&&!(Ee in ye)&&U(re,Ee,de[Ee],null,Oe,ie.children,ve,Le,ke);"value"in ye&&U(re,"value",de.value,ye.value)}},Pe=(re,ie,de,ye,ve,Le,Oe,Ee,Ie)=>{const be=ie.el=re?re.el:W(""),Be=ie.anchor=re?re.anchor:W("");let{patchFlag:Fe,dynamicChildren:je,slotScopeIds:qe}=ie;qe&&(Ee=Ee?Ee.concat(qe):qe),re==null?(F(be,de,ye),F(Be,de,ye),Te(ie.children,de,Be,ve,Le,Oe,Ee,Ie)):Fe>0&&Fe&64&&je&&re.dynamicChildren?(ze(re.dynamicChildren,je,de,ve,Le,Oe,Ee),(ie.key!=null||ve&&ie===ve.subTree)&&traverseStaticChildren(re,ie,!0)):He(re,ie,de,Be,ve,Le,Oe,Ee,Ie)},pe=(re,ie,de,ye,ve,Le,Oe,Ee,Ie)=>{ie.slotScopeIds=Ee,re==null?ie.shapeFlag&512?ve.ctx.activate(ie,de,ye,Oe,Ie):we(ie,de,ye,ve,Le,Oe,Ie):Ae(re,ie,Ie)},we=(re,ie,de,ye,ve,Le,Oe)=>{const Ee=re.component=createComponentInstance(re,ye,ve);if(isKeepAlive(re)&&(Ee.ctx.renderer=Ke),setupComponent(Ee),Ee.asyncDep){if(ve&&ve.registerDep(Ee,$e),!re.el){const Ie=Ee.subTree=createVNode(Comment);ce(null,Ie,ie,de)}return}$e(Ee,re,ie,de,ve,Le,Oe)},Ae=(re,ie,de)=>{const ye=ie.component=re.component;if(shouldUpdateComponent(re,ie,de))if(ye.asyncDep&&!ye.asyncResolved){xe(ye,ie,de);return}else ye.next=ie,invalidateJob(ye.update),ye.update();else ie.el=re.el,ye.vnode=ie},$e=(re,ie,de,ye,ve,Le,Oe)=>{const Ee=()=>{if(re.isMounted){let{next:Be,bu:Fe,u:je,parent:qe,vnode:Je}=re,Xe=Be,et;toggleRecurse(re,!1),Be?(Be.el=Je.el,xe(re,Be,Oe)):Be=Je,Fe&&invokeArrayFns(Fe),(et=Be.props&&Be.props.onVnodeBeforeUpdate)&&invokeVNodeHook(et,qe,Be,Je),toggleRecurse(re,!0);const tt=renderComponentRoot(re),vt=re.subTree;re.subTree=tt,ue(vt,tt,te(vt.el),De(vt),re,ve,Le),Be.el=tt.el,Xe===null&&updateHOCHostEl(re,tt.el),je&&queuePostRenderEffect(je,ve),(et=Be.props&&Be.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(et,qe,Be,Je),ve)}else{let Be;const{el:Fe,props:je}=ie,{bm:qe,m:Je,parent:Xe}=re,et=isAsyncWrapper(ie);if(toggleRecurse(re,!1),qe&&invokeArrayFns(qe),!et&&(Be=je&&je.onVnodeBeforeMount)&&invokeVNodeHook(Be,Xe,ie),toggleRecurse(re,!0),Fe&&Ve){const tt=()=>{re.subTree=renderComponentRoot(re),Ve(Fe,re.subTree,re,ve,null)};et?ie.type.__asyncLoader().then(()=>!re.isUnmounted&&tt()):tt()}else{const tt=re.subTree=renderComponentRoot(re);ue(null,tt,de,ye,re,ve,Le),ie.el=tt.el}if(Je&&queuePostRenderEffect(Je,ve),!et&&(Be=je&&je.onVnodeMounted)){const tt=ie;queuePostRenderEffect(()=>invokeVNodeHook(Be,Xe,tt),ve)}(ie.shapeFlag&256||Xe&&isAsyncWrapper(Xe.vnode)&&Xe.vnode.shapeFlag&256)&&re.a&&queuePostRenderEffect(re.a,ve),re.isMounted=!0,ie=de=ye=null}},Ie=re.effect=new ReactiveEffect(Ee,()=>queueJob(be),re.scope),be=re.update=()=>Ie.run();be.id=re.uid,toggleRecurse(re,!0),be()},xe=(re,ie,de)=>{ie.component=re;const ye=re.vnode.props;re.vnode=ie,re.next=null,updateProps(re,ie.props,ye,de),updateSlots(re,ie.children,de),pauseTracking(),flushPreFlushCbs(),resetTracking()},He=(re,ie,de,ye,ve,Le,Oe,Ee,Ie=!1)=>{const be=re&&re.children,Be=re?re.shapeFlag:0,Fe=ie.children,{patchFlag:je,shapeFlag:qe}=ie;if(je>0){if(je&128){Qe(be,Fe,de,ye,ve,Le,Oe,Ee,Ie);return}else if(je&256){We(be,Fe,de,ye,ve,Le,Oe,Ee,Ie);return}}qe&8?(Be&16&&ke(be,ve,Le),Fe!==be&&ee(de,Fe)):Be&16?qe&16?Qe(be,Fe,de,ye,ve,Le,Oe,Ee,Ie):ke(be,ve,Le,!0):(Be&8&&ee(de,""),qe&16&&Te(Fe,de,ye,ve,Le,Oe,Ee,Ie))},We=(re,ie,de,ye,ve,Le,Oe,Ee,Ie)=>{re=re||EMPTY_ARR,ie=ie||EMPTY_ARR;const be=re.length,Be=ie.length,Fe=Math.min(be,Be);let je;for(je=0;je<Fe;je++){const qe=ie[je]=Ie?cloneIfMounted(ie[je]):normalizeVNode(ie[je]);ue(re[je],qe,de,null,ve,Le,Oe,Ee,Ie)}be>Be?ke(re,ve,Le,!0,!1,Fe):Te(ie,de,ye,ve,Le,Oe,Ee,Ie,Fe)},Qe=(re,ie,de,ye,ve,Le,Oe,Ee,Ie)=>{let be=0;const Be=ie.length;let Fe=re.length-1,je=Be-1;for(;be<=Fe&&be<=je;){const qe=re[be],Je=ie[be]=Ie?cloneIfMounted(ie[be]):normalizeVNode(ie[be]);if(isSameVNodeType(qe,Je))ue(qe,Je,de,null,ve,Le,Oe,Ee,Ie);else break;be++}for(;be<=Fe&&be<=je;){const qe=re[Fe],Je=ie[je]=Ie?cloneIfMounted(ie[je]):normalizeVNode(ie[je]);if(isSameVNodeType(qe,Je))ue(qe,Je,de,null,ve,Le,Oe,Ee,Ie);else break;Fe--,je--}if(be>Fe){if(be<=je){const qe=je+1,Je=qe<Be?ie[qe].el:ye;for(;be<=je;)ue(null,ie[be]=Ie?cloneIfMounted(ie[be]):normalizeVNode(ie[be]),de,Je,ve,Le,Oe,Ee,Ie),be++}}else if(be>je)for(;be<=Fe;)Ze(re[be],ve,Le,!0),be++;else{const qe=be,Je=be,Xe=new Map;for(be=Je;be<=je;be++){const mt=ie[be]=Ie?cloneIfMounted(ie[be]):normalizeVNode(ie[be]);mt.key!=null&&Xe.set(mt.key,be)}let et,tt=0;const vt=je-Je+1;let bt=!1,_t=0;const $t=new Array(vt);for(be=0;be<vt;be++)$t[be]=0;for(be=qe;be<=Fe;be++){const mt=re[be];if(tt>=vt){Ze(mt,ve,Le,!0);continue}let yt;if(mt.key!=null)yt=Xe.get(mt.key);else for(et=Je;et<=je;et++)if($t[et-Je]===0&&isSameVNodeType(mt,ie[et])){yt=et;break}yt===void 0?Ze(mt,ve,Le,!0):($t[yt-Je]=be+1,yt>=_t?_t=yt:bt=!0,ue(mt,ie[yt],de,null,ve,Le,Oe,Ee,Ie),tt++)}const wt=bt?getSequence($t):EMPTY_ARR;for(et=wt.length-1,be=vt-1;be>=0;be--){const mt=Je+be,yt=ie[mt],Tt=mt+1<Be?ie[mt+1].el:ye;$t[be]===0?ue(null,yt,de,Tt,ve,Le,Oe,Ee,Ie):bt&&(et<0||be!==wt[et]?Ge(yt,de,Tt,2):et--)}}},Ge=(re,ie,de,ye,ve=null)=>{const{el:Le,type:Oe,transition:Ee,children:Ie,shapeFlag:be}=re;if(be&6){Ge(re.component.subTree,ie,de,ye);return}if(be&128){re.suspense.move(ie,de,ye);return}if(be&64){Oe.move(re,ie,de,Ke);return}if(Oe===Fragment){F(Le,ie,de);for(let Fe=0;Fe<Ie.length;Fe++)Ge(Ie[Fe],ie,de,ye);F(re.anchor,ie,de);return}if(Oe===Static){Ce(re,ie,de);return}if(ye!==2&&be&1&&Ee)if(ye===0)Ee.beforeEnter(Le),F(Le,ie,de),queuePostRenderEffect(()=>Ee.enter(Le),ve);else{const{leave:Fe,delayLeave:je,afterLeave:qe}=Ee,Je=()=>F(Le,ie,de),Xe=()=>{Fe(Le,()=>{Je(),qe&&qe()})};je?je(Le,Je,Xe):Xe()}else F(Le,ie,de)},Ze=(re,ie,de,ye=!1,ve=!1)=>{const{type:Le,props:Oe,ref:Ee,children:Ie,dynamicChildren:be,shapeFlag:Be,patchFlag:Fe,dirs:je}=re;if(Ee!=null&&setRef(Ee,null,de,re,!0),Be&256){ie.ctx.deactivate(re);return}const qe=Be&1&&je,Je=!isAsyncWrapper(re);let Xe;if(Je&&(Xe=Oe&&Oe.onVnodeBeforeUnmount)&&invokeVNodeHook(Xe,ie,re),Be&6)Ne(re.component,de,ye);else{if(Be&128){re.suspense.unmount(de,ye);return}qe&&invokeDirectiveHook(re,null,ie,"beforeUnmount"),Be&64?re.type.remove(re,ie,de,ve,Ke,ye):be&&(Le!==Fragment||Fe>0&&Fe&64)?ke(be,ie,de,!1,!0):(Le===Fragment&&Fe&384||!ve&&Be&16)&&ke(Ie,ie,de),ye&&pt(re)}(Je&&(Xe=Oe&&Oe.onVnodeUnmounted)||qe)&&queuePostRenderEffect(()=>{Xe&&invokeVNodeHook(Xe,ie,re),qe&&invokeDirectiveHook(re,null,ie,"unmounted")},de)},pt=re=>{const{type:ie,el:de,anchor:ye,transition:ve}=re;if(ie===Fragment){he(de,ye);return}if(ie===Static){Re(re);return}const Le=()=>{j(de),ve&&!ve.persisted&&ve.afterLeave&&ve.afterLeave()};if(re.shapeFlag&1&&ve&&!ve.persisted){const{leave:Oe,delayLeave:Ee}=ve,Ie=()=>Oe(de,Le);Ee?Ee(re.el,Le,Ie):Ie()}else Le()},he=(re,ie)=>{let de;for(;re!==ie;)de=ne(re),j(re),re=de;j(ie)},Ne=(re,ie,de)=>{const{bum:ye,scope:ve,update:Le,subTree:Oe,um:Ee}=re;ye&&invokeArrayFns(ye),ve.stop(),Le&&(Le.active=!1,Ze(Oe,re,ie,de)),Ee&&queuePostRenderEffect(Ee,ie),queuePostRenderEffect(()=>{re.isUnmounted=!0},ie),ie&&ie.pendingBranch&&!ie.isUnmounted&&re.asyncDep&&!re.asyncResolved&&re.suspenseId===ie.pendingId&&(ie.deps--,ie.deps===0&&ie.resolve())},ke=(re,ie,de,ye=!1,ve=!1,Le=0)=>{for(let Oe=Le;Oe<re.length;Oe++)Ze(re[Oe],ie,de,ye,ve)},De=re=>re.shapeFlag&6?De(re.component.subTree):re.shapeFlag&128?re.suspense.next():ne(re.anchor||re.el),Ue=(re,ie,de)=>{re==null?ie._vnode&&Ze(ie._vnode,null,null,!0):ue(ie._vnode||null,re,ie,null,null,null,de),flushPreFlushCbs(),flushPostFlushCbs(),ie._vnode=re},Ke={p:ue,um:Ze,m:Ge,r:pt,mt:we,mc:Te,pc:He,pbc:ze,n:De,o:s};let Ye,Ve;return l&&([Ye,Ve]=l(Ke)),{render:Ue,hydrate:Ye,createApp:createAppAPI(Ue,Ye)}}function toggleRecurse({effect:s,update:l},T){s.allowRecurse=l.allowRecurse=T}function traverseStaticChildren(s,l,T=!1){const F=s.children,j=l.children;if(isArray$1(F)&&isArray$1(j))for(let U=0;U<F.length;U++){const Y=F[U];let W=j[U];W.shapeFlag&1&&!W.dynamicChildren&&((W.patchFlag<=0||W.patchFlag===32)&&(W=j[U]=cloneIfMounted(j[U]),W.el=Y.el),T||traverseStaticChildren(Y,W))}}function getSequence(s){const l=s.slice(),T=[0];let F,j,U,Y,W;const Z=s.length;for(F=0;F<Z;F++){const X=s[F];if(X!==0){if(j=T[T.length-1],s[j]<X){l[F]=j,T.push(F);continue}for(U=0,Y=T.length-1;U<Y;)W=U+Y>>1,s[T[W]]<X?U=W+1:Y=W;X<s[T[U]]&&(U>0&&(l[F]=T[U-1]),T[U]=F)}}for(U=T.length,Y=T[U-1];U-- >0;)T[U]=Y,Y=l[Y];return T}const isTeleport=s=>s.__isTeleport,Fragment=Symbol(void 0),Text=Symbol(void 0),Comment=Symbol(void 0),Static=Symbol(void 0),blockStack=[];let currentBlock=null;function openBlock(s=!1){blockStack.push(currentBlock=s?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}let isBlockTreeEnabled=1;function setBlockTracking(s){isBlockTreeEnabled+=s}function setupBlock(s){return s.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(s),s}function createElementBlock(s,l,T,F,j,U){return setupBlock(createBaseVNode(s,l,T,F,j,U,!0))}function createBlock(s,l,T,F,j){return setupBlock(createVNode(s,l,T,F,j,!0))}function isVNode(s){return s?s.__v_isVNode===!0:!1}function isSameVNodeType(s,l){return s.type===l.type&&s.key===l.key}const InternalObjectKey="__vInternal",normalizeKey=({key:s})=>s!=null?s:null,normalizeRef=({ref:s,ref_key:l,ref_for:T})=>s!=null?isString$1(s)||isRef(s)||isFunction$1(s)?{i:currentRenderingInstance,r:s,k:l,f:!!T}:s:null;function createBaseVNode(s,l=null,T=null,F=0,j=null,U=s===Fragment?0:1,Y=!1,W=!1){const Z={__v_isVNode:!0,__v_skip:!0,type:s,props:l,key:l&&normalizeKey(l),ref:l&&normalizeRef(l),scopeId:currentScopeId,slotScopeIds:null,children:T,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:U,patchFlag:F,dynamicProps:j,dynamicChildren:null,appContext:null};return W?(normalizeChildren(Z,T),U&128&&s.normalize(Z)):T&&(Z.shapeFlag|=isString$1(T)?8:16),isBlockTreeEnabled>0&&!Y&¤tBlock&&(Z.patchFlag>0||U&6)&&Z.patchFlag!==32&¤tBlock.push(Z),Z}const createVNode=_createVNode;function _createVNode(s,l=null,T=null,F=0,j=null,U=!1){if((!s||s===NULL_DYNAMIC_COMPONENT)&&(s=Comment),isVNode(s)){const W=cloneVNode(s,l,!0);return T&&normalizeChildren(W,T),isBlockTreeEnabled>0&&!U&¤tBlock&&(W.shapeFlag&6?currentBlock[currentBlock.indexOf(s)]=W:currentBlock.push(W)),W.patchFlag|=-2,W}if(isClassComponent(s)&&(s=s.__vccOpts),l){l=guardReactiveProps(l);let{class:W,style:Z}=l;W&&!isString$1(W)&&(l.class=normalizeClass(W)),isObject(Z)&&(isProxy(Z)&&!isArray$1(Z)&&(Z=extend({},Z)),l.style=normalizeStyle(Z))}const Y=isString$1(s)?1:isSuspense(s)?128:isTeleport(s)?64:isObject(s)?4:isFunction$1(s)?2:0;return createBaseVNode(s,l,T,F,j,Y,U,!0)}function guardReactiveProps(s){return s?isProxy(s)||InternalObjectKey in s?extend({},s):s:null}function cloneVNode(s,l,T=!1){const{props:F,ref:j,patchFlag:U,children:Y}=s,W=l?mergeProps(F||{},l):F;return{__v_isVNode:!0,__v_skip:!0,type:s.type,props:W,key:W&&normalizeKey(W),ref:l&&l.ref?T&&j?isArray$1(j)?j.concat(normalizeRef(l)):[j,normalizeRef(l)]:normalizeRef(l):j,scopeId:s.scopeId,slotScopeIds:s.slotScopeIds,children:Y,target:s.target,targetAnchor:s.targetAnchor,staticCount:s.staticCount,shapeFlag:s.shapeFlag,patchFlag:l&&s.type!==Fragment?U===-1?16:U|16:U,dynamicProps:s.dynamicProps,dynamicChildren:s.dynamicChildren,appContext:s.appContext,dirs:s.dirs,transition:s.transition,component:s.component,suspense:s.suspense,ssContent:s.ssContent&&cloneVNode(s.ssContent),ssFallback:s.ssFallback&&cloneVNode(s.ssFallback),el:s.el,anchor:s.anchor}}function createTextVNode(s=" ",l=0){return createVNode(Text,null,s,l)}function createStaticVNode(s,l){const T=createVNode(Static,null,s);return T.staticCount=l,T}function createCommentVNode(s="",l=!1){return l?(openBlock(),createBlock(Comment,null,s)):createVNode(Comment,null,s)}function normalizeVNode(s){return s==null||typeof s=="boolean"?createVNode(Comment):isArray$1(s)?createVNode(Fragment,null,s.slice()):typeof s=="object"?cloneIfMounted(s):createVNode(Text,null,String(s))}function cloneIfMounted(s){return s.el===null||s.memo?s:cloneVNode(s)}function normalizeChildren(s,l){let T=0;const{shapeFlag:F}=s;if(l==null)l=null;else if(isArray$1(l))T=16;else if(typeof l=="object")if(F&65){const j=l.default;j&&(j._c&&(j._d=!1),normalizeChildren(s,j()),j._c&&(j._d=!0));return}else{T=32;const j=l._;!j&&!(InternalObjectKey in l)?l._ctx=currentRenderingInstance:j===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?l._=1:(l._=2,s.patchFlag|=1024))}else isFunction$1(l)?(l={default:l,_ctx:currentRenderingInstance},T=32):(l=String(l),F&64?(T=16,l=[createTextVNode(l)]):T=8);s.children=l,s.shapeFlag|=T}function mergeProps(...s){const l={};for(let T=0;T<s.length;T++){const F=s[T];for(const j in F)if(j==="class")l.class!==F.class&&(l.class=normalizeClass([l.class,F.class]));else if(j==="style")l.style=normalizeStyle([l.style,F.style]);else if(isOn(j)){const U=l[j],Y=F[j];Y&&U!==Y&&!(isArray$1(U)&&U.includes(Y))&&(l[j]=U?[].concat(U,Y):Y)}else j!==""&&(l[j]=F[j])}return l}function invokeVNodeHook(s,l,T,F=null){callWithAsyncErrorHandling(s,l,7,[T,F])}const emptyAppContext=createAppContext();let uid$1=0;function createComponentInstance(s,l,T){const F=s.type,j=(l?l.appContext:s.appContext)||emptyAppContext,U={uid:uid$1++,vnode:s,type:F,parent:l,appContext:j,root:null,next:null,subTree:null,effect:null,update:null,scope:new EffectScope(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:l?l.provides:Object.create(j.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:normalizePropsOptions(F,j),emitsOptions:normalizeEmitsOptions(F,j),emit:null,emitted:null,propsDefaults:EMPTY_OBJ,inheritAttrs:F.inheritAttrs,ctx:EMPTY_OBJ,data:EMPTY_OBJ,props:EMPTY_OBJ,attrs:EMPTY_OBJ,slots:EMPTY_OBJ,refs:EMPTY_OBJ,setupState:EMPTY_OBJ,setupContext:null,suspense:T,suspenseId:T?T.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 U.ctx={_:U},U.root=l?l.root:U,U.emit=emit$1.bind(null,U),s.ce&&s.ce(U),U}let currentInstance=null;const getCurrentInstance=()=>currentInstance||currentRenderingInstance,setCurrentInstance=s=>{currentInstance=s,s.scope.on()},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),currentInstance=null};function isStatefulComponent(s){return s.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent(s,l=!1){isInSSRComponentSetup=l;const{props:T,children:F}=s.vnode,j=isStatefulComponent(s);initProps(s,T,j,l),initSlots(s,F);const U=j?setupStatefulComponent(s,l):void 0;return isInSSRComponentSetup=!1,U}function setupStatefulComponent(s,l){const T=s.type;s.accessCache=Object.create(null),s.proxy=markRaw(new Proxy(s.ctx,PublicInstanceProxyHandlers));const{setup:F}=T;if(F){const j=s.setupContext=F.length>1?createSetupContext(s):null;setCurrentInstance(s),pauseTracking();const U=callWithErrorHandling(F,s,0,[s.props,j]);if(resetTracking(),unsetCurrentInstance(),isPromise(U)){if(U.then(unsetCurrentInstance,unsetCurrentInstance),l)return U.then(Y=>{handleSetupResult(s,Y,l)}).catch(Y=>{handleError(Y,s,0)});s.asyncDep=U}else handleSetupResult(s,U,l)}else finishComponentSetup(s,l)}function handleSetupResult(s,l,T){isFunction$1(l)?s.type.__ssrInlineRender?s.ssrRender=l:s.render=l:isObject(l)&&(s.setupState=proxyRefs(l)),finishComponentSetup(s,T)}let compile;function finishComponentSetup(s,l,T){const F=s.type;if(!s.render){if(!l&&compile&&!F.render){const j=F.template||resolveMergedOptions(s).template;if(j){const{isCustomElement:U,compilerOptions:Y}=s.appContext.config,{delimiters:W,compilerOptions:Z}=F,X=extend(extend({isCustomElement:U,delimiters:W},Y),Z);F.render=compile(j,X)}}s.render=F.render||NOOP}setCurrentInstance(s),pauseTracking(),applyOptions(s),resetTracking(),unsetCurrentInstance()}function createAttrsProxy(s){return new Proxy(s.attrs,{get(l,T){return track(s,"get","$attrs"),l[T]}})}function createSetupContext(s){const l=F=>{s.exposed=F||{}};let T;return{get attrs(){return T||(T=createAttrsProxy(s))},slots:s.slots,emit:s.emit,expose:l}}function getExposeProxy(s){if(s.exposed)return s.exposeProxy||(s.exposeProxy=new Proxy(proxyRefs(markRaw(s.exposed)),{get(l,T){if(T in l)return l[T];if(T in publicPropertiesMap)return publicPropertiesMap[T](s)}}))}function getComponentName(s,l=!0){return isFunction$1(s)?s.displayName||s.name:s.name||l&&s.__name}function isClassComponent(s){return isFunction$1(s)&&"__vccOpts"in s}const computed=(s,l)=>computed$1(s,l,isInSSRComponentSetup);function h$5(s,l,T){const F=arguments.length;return F===2?isObject(l)&&!isArray$1(l)?isVNode(l)?createVNode(s,null,[l]):createVNode(s,l):createVNode(s,null,l):(F>3?T=Array.prototype.slice.call(arguments,2):F===3&&isVNode(T)&&(T=[T]),createVNode(s,l,T))}const version="3.2.39",svgNS="http://www.w3.org/2000/svg",doc=typeof document<"u"?document:null,templateContainer=doc&&doc.createElement("template"),nodeOps={insert:(s,l,T)=>{l.insertBefore(s,T||null)},remove:s=>{const l=s.parentNode;l&&l.removeChild(s)},createElement:(s,l,T,F)=>{const j=l?doc.createElementNS(svgNS,s):doc.createElement(s,T?{is:T}:void 0);return s==="select"&&F&&F.multiple!=null&&j.setAttribute("multiple",F.multiple),j},createText:s=>doc.createTextNode(s),createComment:s=>doc.createComment(s),setText:(s,l)=>{s.nodeValue=l},setElementText:(s,l)=>{s.textContent=l},parentNode:s=>s.parentNode,nextSibling:s=>s.nextSibling,querySelector:s=>doc.querySelector(s),setScopeId(s,l){s.setAttribute(l,"")},cloneNode(s){const l=s.cloneNode(!0);return"_value"in s&&(l._value=s._value),l},insertStaticContent(s,l,T,F,j,U){const Y=T?T.previousSibling:l.lastChild;if(j&&(j===U||j.nextSibling))for(;l.insertBefore(j.cloneNode(!0),T),!(j===U||!(j=j.nextSibling)););else{templateContainer.innerHTML=F?`<svg>${s}</svg>`:s;const W=templateContainer.content;if(F){const Z=W.firstChild;for(;Z.firstChild;)W.appendChild(Z.firstChild);W.removeChild(Z)}l.insertBefore(W,T)}return[Y?Y.nextSibling:l.firstChild,T?T.previousSibling:l.lastChild]}};function patchClass(s,l,T){const F=s._vtc;F&&(l=(l?[l,...F]:[...F]).join(" ")),l==null?s.removeAttribute("class"):T?s.setAttribute("class",l):s.className=l}function patchStyle(s,l,T){const F=s.style,j=isString$1(T);if(T&&!j){for(const U in T)setStyle(F,U,T[U]);if(l&&!isString$1(l))for(const U in l)T[U]==null&&setStyle(F,U,"")}else{const U=F.display;j?l!==T&&(F.cssText=T):l&&s.removeAttribute("style"),"_vod"in s&&(F.display=U)}}const importantRE=/\s*!important$/;function setStyle(s,l,T){if(isArray$1(T))T.forEach(F=>setStyle(s,l,F));else if(T==null&&(T=""),l.startsWith("--"))s.setProperty(l,T);else{const F=autoPrefix(s,l);importantRE.test(T)?s.setProperty(hyphenate(F),T.replace(importantRE,""),"important"):s[F]=T}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(s,l){const T=prefixCache[l];if(T)return T;let F=camelize(l);if(F!=="filter"&&F in s)return prefixCache[l]=F;F=capitalize(F);for(let j=0;j<prefixes.length;j++){const U=prefixes[j]+F;if(U in s)return prefixCache[l]=U}return l}const xlinkNS="http://www.w3.org/1999/xlink";function patchAttr(s,l,T,F,j){if(F&&l.startsWith("xlink:"))T==null?s.removeAttributeNS(xlinkNS,l.slice(6,l.length)):s.setAttributeNS(xlinkNS,l,T);else{const U=isSpecialBooleanAttr(l);T==null||U&&!includeBooleanAttr(T)?s.removeAttribute(l):s.setAttribute(l,U?"":T)}}function patchDOMProp(s,l,T,F,j,U,Y){if(l==="innerHTML"||l==="textContent"){F&&Y(F,j,U),s[l]=T==null?"":T;return}if(l==="value"&&s.tagName!=="PROGRESS"&&!s.tagName.includes("-")){s._value=T;const Z=T==null?"":T;(s.value!==Z||s.tagName==="OPTION")&&(s.value=Z),T==null&&s.removeAttribute(l);return}let W=!1;if(T===""||T==null){const Z=typeof s[l];Z==="boolean"?T=includeBooleanAttr(T):T==null&&Z==="string"?(T="",W=!0):Z==="number"&&(T=0,W=!0)}try{s[l]=T}catch{}W&&s.removeAttribute(l)}const[_getNow,skipTimestampCheck]=(()=>{let s=Date.now,l=!1;if(typeof window<"u"){Date.now()>document.createEvent("Event").timeStamp&&(s=performance.now.bind(performance));const T=navigator.userAgent.match(/firefox\/(\d+)/i);l=!!(T&&Number(T[1])<=53)}return[s,l]})();let cachedNow=0;const p$2=Promise.resolve(),reset=()=>{cachedNow=0},getNow=()=>cachedNow||(p$2.then(reset),cachedNow=_getNow());function addEventListener(s,l,T,F){s.addEventListener(l,T,F)}function removeEventListener(s,l,T,F){s.removeEventListener(l,T,F)}function patchEvent(s,l,T,F,j=null){const U=s._vei||(s._vei={}),Y=U[l];if(F&&Y)Y.value=F;else{const[W,Z]=parseName(l);if(F){const X=U[l]=createInvoker(F,j);addEventListener(s,W,X,Z)}else Y&&(removeEventListener(s,W,Y,Z),U[l]=void 0)}}const optionsModifierRE=/(?:Once|Passive|Capture)$/;function parseName(s){let l;if(optionsModifierRE.test(s)){l={};let F;for(;F=s.match(optionsModifierRE);)s=s.slice(0,s.length-F[0].length),l[F[0].toLowerCase()]=!0}return[s[2]===":"?s.slice(3):hyphenate(s.slice(2)),l]}function createInvoker(s,l){const T=F=>{const j=F.timeStamp||_getNow();(skipTimestampCheck||j>=T.attached-1)&&callWithAsyncErrorHandling(patchStopImmediatePropagation(F,T.value),l,5,[F])};return T.value=s,T.attached=getNow(),T}function patchStopImmediatePropagation(s,l){if(isArray$1(l)){const T=s.stopImmediatePropagation;return s.stopImmediatePropagation=()=>{T.call(s),s._stopped=!0},l.map(F=>j=>!j._stopped&&F&&F(j))}else return l}const nativeOnRE=/^on[a-z]/,patchProp=(s,l,T,F,j=!1,U,Y,W,Z)=>{l==="class"?patchClass(s,F,j):l==="style"?patchStyle(s,T,F):isOn(l)?isModelListener(l)||patchEvent(s,l,T,F,Y):(l[0]==="."?(l=l.slice(1),!0):l[0]==="^"?(l=l.slice(1),!1):shouldSetAsProp(s,l,F,j))?patchDOMProp(s,l,F,U,Y,W,Z):(l==="true-value"?s._trueValue=F:l==="false-value"&&(s._falseValue=F),patchAttr(s,l,F,j))};function shouldSetAsProp(s,l,T,F){return F?!!(l==="innerHTML"||l==="textContent"||l in s&&nativeOnRE.test(l)&&isFunction$1(T)):l==="spellcheck"||l==="draggable"||l==="translate"||l==="form"||l==="list"&&s.tagName==="INPUT"||l==="type"&&s.tagName==="TEXTAREA"||nativeOnRE.test(l)&&isString$1(T)?!1:l in s}const TRANSITION="transition",ANIMATION="animation",Transition=(s,{slots:l})=>h$5(BaseTransition,resolveTransitionProps(s),l);Transition.displayName="Transition";const DOMTransitionPropsValidators={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},TransitionPropsValidators=Transition.props=extend({},BaseTransition.props,DOMTransitionPropsValidators),callHook=(s,l=[])=>{isArray$1(s)?s.forEach(T=>T(...l)):s&&s(...l)},hasExplicitCallback=s=>s?isArray$1(s)?s.some(l=>l.length>1):s.length>1:!1;function resolveTransitionProps(s){const l={};for(const Me in s)Me in DOMTransitionPropsValidators||(l[Me]=s[Me]);if(s.css===!1)return l;const{name:T="v",type:F,duration:j,enterFromClass:U=`${T}-enter-from`,enterActiveClass:Y=`${T}-enter-active`,enterToClass:W=`${T}-enter-to`,appearFromClass:Z=U,appearActiveClass:X=Y,appearToClass:ee=W,leaveFromClass:te=`${T}-leave-from`,leaveActiveClass:ne=`${T}-leave-active`,leaveToClass:oe=`${T}-leave-to`}=s,se=normalizeDuration(j),ae=se&&se[0],ue=se&&se[1],{onBeforeEnter:le,onEnter:ce,onEnterCancelled:me,onLeave:Ce,onLeaveCancelled:Re,onBeforeAppear:_e=le,onAppear:fe=ce,onAppearCancelled:ge=me}=l,Te=(Me,Pe,pe)=>{removeTransitionClass(Me,Pe?ee:W),removeTransitionClass(Me,Pe?X:Y),pe&&pe()},Se=(Me,Pe)=>{Me._isLeaving=!1,removeTransitionClass(Me,te),removeTransitionClass(Me,oe),removeTransitionClass(Me,ne),Pe&&Pe()},ze=Me=>(Pe,pe)=>{const we=Me?fe:ce,Ae=()=>Te(Pe,Me,pe);callHook(we,[Pe,Ae]),nextFrame(()=>{removeTransitionClass(Pe,Me?Z:U),addTransitionClass(Pe,Me?ee:W),hasExplicitCallback(we)||whenTransitionEnds(Pe,F,ae,Ae)})};return extend(l,{onBeforeEnter(Me){callHook(le,[Me]),addTransitionClass(Me,U),addTransitionClass(Me,Y)},onBeforeAppear(Me){callHook(_e,[Me]),addTransitionClass(Me,Z),addTransitionClass(Me,X)},onEnter:ze(!1),onAppear:ze(!0),onLeave(Me,Pe){Me._isLeaving=!0;const pe=()=>Se(Me,Pe);addTransitionClass(Me,te),forceReflow(),addTransitionClass(Me,ne),nextFrame(()=>{!Me._isLeaving||(removeTransitionClass(Me,te),addTransitionClass(Me,oe),hasExplicitCallback(Ce)||whenTransitionEnds(Me,F,ue,pe))}),callHook(Ce,[Me,pe])},onEnterCancelled(Me){Te(Me,!1),callHook(me,[Me])},onAppearCancelled(Me){Te(Me,!0),callHook(ge,[Me])},onLeaveCancelled(Me){Se(Me),callHook(Re,[Me])}})}function normalizeDuration(s){if(s==null)return null;if(isObject(s))return[NumberOf(s.enter),NumberOf(s.leave)];{const l=NumberOf(s);return[l,l]}}function NumberOf(s){return toNumber(s)}function addTransitionClass(s,l){l.split(/\s+/).forEach(T=>T&&s.classList.add(T)),(s._vtc||(s._vtc=new Set)).add(l)}function removeTransitionClass(s,l){l.split(/\s+/).forEach(F=>F&&s.classList.remove(F));const{_vtc:T}=s;T&&(T.delete(l),T.size||(s._vtc=void 0))}function nextFrame(s){requestAnimationFrame(()=>{requestAnimationFrame(s)})}let endId=0;function whenTransitionEnds(s,l,T,F){const j=s._endId=++endId,U=()=>{j===s._endId&&F()};if(T)return setTimeout(U,T);const{type:Y,timeout:W,propCount:Z}=getTransitionInfo(s,l);if(!Y)return F();const X=Y+"end";let ee=0;const te=()=>{s.removeEventListener(X,ne),U()},ne=oe=>{oe.target===s&&++ee>=Z&&te()};setTimeout(()=>{ee<Z&&te()},W+1),s.addEventListener(X,ne)}function getTransitionInfo(s,l){const T=window.getComputedStyle(s),F=se=>(T[se]||"").split(", "),j=F(TRANSITION+"Delay"),U=F(TRANSITION+"Duration"),Y=getTimeout(j,U),W=F(ANIMATION+"Delay"),Z=F(ANIMATION+"Duration"),X=getTimeout(W,Z);let ee=null,te=0,ne=0;l===TRANSITION?Y>0&&(ee=TRANSITION,te=Y,ne=U.length):l===ANIMATION?X>0&&(ee=ANIMATION,te=X,ne=Z.length):(te=Math.max(Y,X),ee=te>0?Y>X?TRANSITION:ANIMATION:null,ne=ee?ee===TRANSITION?U.length:Z.length:0);const oe=ee===TRANSITION&&/\b(transform|all)(,|$)/.test(T[TRANSITION+"Property"]);return{type:ee,timeout:te,propCount:ne,hasTransform:oe}}function getTimeout(s,l){for(;s.length<l.length;)s=s.concat(s);return Math.max(...l.map((T,F)=>toMs(T)+toMs(s[F])))}function toMs(s){return Number(s.slice(0,-1).replace(",","."))*1e3}function forceReflow(){return document.body.offsetHeight}const positionMap=new WeakMap,newPositionMap=new WeakMap,TransitionGroupImpl={name:"TransitionGroup",props:extend({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(s,{slots:l}){const T=getCurrentInstance(),F=useTransitionState();let j,U;return onUpdated(()=>{if(!j.length)return;const Y=s.moveClass||`${s.name||"v"}-move`;if(!hasCSSTransform(j[0].el,T.vnode.el,Y))return;j.forEach(callPendingCbs),j.forEach(recordPosition);const W=j.filter(applyTranslation);forceReflow(),W.forEach(Z=>{const X=Z.el,ee=X.style;addTransitionClass(X,Y),ee.transform=ee.webkitTransform=ee.transitionDuration="";const te=X._moveCb=ne=>{ne&&ne.target!==X||(!ne||/transform$/.test(ne.propertyName))&&(X.removeEventListener("transitionend",te),X._moveCb=null,removeTransitionClass(X,Y))};X.addEventListener("transitionend",te)})}),()=>{const Y=toRaw(s),W=resolveTransitionProps(Y);let Z=Y.tag||Fragment;j=U,U=l.default?getTransitionRawChildren(l.default()):[];for(let X=0;X<U.length;X++){const ee=U[X];ee.key!=null&&setTransitionHooks(ee,resolveTransitionHooks(ee,W,F,T))}if(j)for(let X=0;X<j.length;X++){const ee=j[X];setTransitionHooks(ee,resolveTransitionHooks(ee,W,F,T)),positionMap.set(ee,ee.el.getBoundingClientRect())}return createVNode(Z,null,U)}}},TransitionGroup=TransitionGroupImpl;function callPendingCbs(s){const l=s.el;l._moveCb&&l._moveCb(),l._enterCb&&l._enterCb()}function recordPosition(s){newPositionMap.set(s,s.el.getBoundingClientRect())}function applyTranslation(s){const l=positionMap.get(s),T=newPositionMap.get(s),F=l.left-T.left,j=l.top-T.top;if(F||j){const U=s.el.style;return U.transform=U.webkitTransform=`translate(${F}px,${j}px)`,U.transitionDuration="0s",s}}function hasCSSTransform(s,l,T){const F=s.cloneNode();s._vtc&&s._vtc.forEach(Y=>{Y.split(/\s+/).forEach(W=>W&&F.classList.remove(W))}),T.split(/\s+/).forEach(Y=>Y&&F.classList.add(Y)),F.style.display="none";const j=l.nodeType===1?l:l.parentNode;j.appendChild(F);const{hasTransform:U}=getTransitionInfo(F);return j.removeChild(F),U}const getModelAssigner=s=>{const l=s.props["onUpdate:modelValue"]||!1;return isArray$1(l)?T=>invokeArrayFns(l,T):l};function onCompositionStart(s){s.target.composing=!0}function onCompositionEnd(s){const l=s.target;l.composing&&(l.composing=!1,l.dispatchEvent(new Event("input")))}const vModelText={created(s,{modifiers:{lazy:l,trim:T,number:F}},j){s._assign=getModelAssigner(j);const U=F||j.props&&j.props.type==="number";addEventListener(s,l?"change":"input",Y=>{if(Y.target.composing)return;let W=s.value;T&&(W=W.trim()),U&&(W=toNumber(W)),s._assign(W)}),T&&addEventListener(s,"change",()=>{s.value=s.value.trim()}),l||(addEventListener(s,"compositionstart",onCompositionStart),addEventListener(s,"compositionend",onCompositionEnd),addEventListener(s,"change",onCompositionEnd))},mounted(s,{value:l}){s.value=l==null?"":l},beforeUpdate(s,{value:l,modifiers:{lazy:T,trim:F,number:j}},U){if(s._assign=getModelAssigner(U),s.composing||document.activeElement===s&&s.type!=="range"&&(T||F&&s.value.trim()===l||(j||s.type==="number")&&toNumber(s.value)===l))return;const Y=l==null?"":l;s.value!==Y&&(s.value=Y)}},systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={stop:s=>s.stopPropagation(),prevent:s=>s.preventDefault(),self:s=>s.target!==s.currentTarget,ctrl:s=>!s.ctrlKey,shift:s=>!s.shiftKey,alt:s=>!s.altKey,meta:s=>!s.metaKey,left:s=>"button"in s&&s.button!==0,middle:s=>"button"in s&&s.button!==1,right:s=>"button"in s&&s.button!==2,exact:(s,l)=>systemModifiers.some(T=>s[`${T}Key`]&&!l.includes(T))},withModifiers=(s,l)=>(T,...F)=>{for(let j=0;j<l.length;j++){const U=modifierGuards[l[j]];if(U&&U(T,l))return}return s(T,...F)},keyNames={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},withKeys=(s,l)=>T=>{if(!("key"in T))return;const F=hyphenate(T.key);if(l.some(j=>j===F||keyNames[j]===F))return s(T)},vShow={beforeMount(s,{value:l},{transition:T}){s._vod=s.style.display==="none"?"":s.style.display,T&&l?T.beforeEnter(s):setDisplay(s,l)},mounted(s,{value:l},{transition:T}){T&&l&&T.enter(s)},updated(s,{value:l,oldValue:T},{transition:F}){!l!=!T&&(F?l?(F.beforeEnter(s),setDisplay(s,!0),F.enter(s)):F.leave(s,()=>{setDisplay(s,!1)}):setDisplay(s,l))},beforeUnmount(s,{value:l}){setDisplay(s,l)}};function setDisplay(s,l){s.style.display=l?s._vod:"none"}const rendererOptions=extend({patchProp},nodeOps);let renderer,enabledHydration=!1;function ensureHydrationRenderer(){return renderer=enabledHydration?renderer:createHydrationRenderer(rendererOptions),enabledHydration=!0,renderer}const createSSRApp=(...s)=>{const l=ensureHydrationRenderer().createApp(...s),{mount:T}=l;return l.mount=F=>{const j=normalizeContainer(F);if(j)return T(j,!0,j instanceof SVGElement)},l};function normalizeContainer(s){return isString$1(s)?document.querySelector(s):s}const siteData$1=JSON.parse('{"base":"/Snap.Hutao.Docs/","lang":"en-US","title":"","description":"","head":[],"locales":{"/":{"lang":"zh-CN","title":"\u80E1\u6843\u5DE5\u5177\u7BB1","description":"\u591A\u529F\u80FD\u7684\u539F\u795E\u5DE5\u5177\u7BB1"},"/en/":{"lang":"en-US","title":"Snap Hutao","description":"Super utilitarian Genshin Impact Tool"}}}');var resolveHeadIdentifier=([s,l,T])=>s==="meta"&&l.name?`${s}.${l.name}`:["title","base"].includes(s)?s:s==="template"&&l.id?`${s}.${l.id}`:JSON.stringify([s,l,T]),dedupeHead=s=>{const l=new Set,T=[];return s.forEach(F=>{const j=resolveHeadIdentifier(F);l.has(j)||(l.add(j),T.push(F))}),T},ensureEndingSlash=s=>/(\.html|\/)$/.test(s)?s:s+"/",isLinkFtp=s=>s.startsWith("ftp://"),isLinkHttp=s=>/^(https?:)?\/\//.test(s),markdownLinkRegexp=/.md((\?|#).*)?$/,isLinkExternal=(s,l="/")=>!!(isLinkHttp(s)||isLinkFtp(s)||s.startsWith("/")&&!s.startsWith(l)&&!markdownLinkRegexp.test(s)),isLinkMailto=s=>/^mailto:/.test(s),isLinkTel=s=>/^tel:/.test(s),isPlainObject=s=>Object.prototype.toString.call(s)==="[object Object]",removeEndingSlash=s=>s.replace(/\/$/,""),removeLeadingSlash=s=>s.replace(/^\//,""),resolveLocalePath=(s,l)=>{const T=Object.keys(s).sort((F,j)=>{const U=j.split("/").length-F.split("/").length;return U!==0?U:j.length-F.length});for(const F of T)if(l.startsWith(F))return F;return"/"};const pagesComponents={"v-8daa1a0e":defineAsyncComponent(()=>__vitePreload(()=>import("./index.html.6fd22556.js"),["assets/index.html.6fd22556.js","assets/_plugin-vue_export-helper.cdc0426e.js"])),"v-590a42d9":defineAsyncComponent(()=>__vitePreload(()=>import("./project.html.f03a8476.js"),["assets/project.html.f03a8476.js","assets/_plugin-vue_export-helper.cdc0426e.js"])),"v-96f5eae0":defineAsyncComponent(()=>__vitePreload(()=>import("./quick-start.html.43e350c0.js"),["assets/quick-start.html.43e350c0.js","assets/_plugin-vue_export-helper.cdc0426e.js"])),"v-c0f957a0":defineAsyncComponent(()=>__vitePreload(()=>import("./index.html.67401367.js"),["assets/index.html.67401367.js","assets/_plugin-vue_export-helper.cdc0426e.js"])),"v-2d0a870d":defineAsyncComponent(()=>__vitePreload(()=>import("./index.html.a69ae427.js"),["assets/index.html.a69ae427.js","assets/_plugin-vue_export-helper.cdc0426e.js"])),"v-586858ed":defineAsyncComponent(()=>__vitePreload(()=>import("./project.html.1d696c7a.js"),["assets/project.html.1d696c7a.js","assets/_plugin-vue_export-helper.cdc0426e.js"])),"v-0c01f6a4":defineAsyncComponent(()=>__vitePreload(()=>import("./quick-start.html.12d69bf6.js"),["assets/quick-start.html.12d69bf6.js","assets/_plugin-vue_export-helper.cdc0426e.js"])),"v-12dc29da":defineAsyncComponent(()=>__vitePreload(()=>import("./achievements.html.b94936de.js"),["assets/achievements.html.b94936de.js","assets/_plugin-vue_export-helper.cdc0426e.js"])),"v-9f47423e":defineAsyncComponent(()=>__vitePreload(()=>import("./wish-export.html.2d8d8848.js"),["assets/wish-export.html.2d8d8848.js","assets/_plugin-vue_export-helper.cdc0426e.js"])),"v-6a107f51":defineAsyncComponent(()=>__vitePreload(()=>import("./bug-report.html.3d1fbf9e.js"),["assets/bug-report.html.3d1fbf9e.js","assets/_plugin-vue_export-helper.cdc0426e.js"])),"v-3c504178":defineAsyncComponent(()=>__vitePreload(()=>import("./index.html.35e99859.js"),["assets/index.html.35e99859.js","assets/_plugin-vue_export-helper.cdc0426e.js"])),"v-9357f5b2":defineAsyncComponent(()=>__vitePreload(()=>import("./achievements.html.0093c49c.js"),["assets/achievements.html.0093c49c.js","assets/_plugin-vue_export-helper.cdc0426e.js"])),"v-19a4b24d":defineAsyncComponent(()=>__vitePreload(()=>import("./wish-export.html.c9d44ec2.js"),["assets/wish-export.html.c9d44ec2.js","assets/_plugin-vue_export-helper.cdc0426e.js"])),"v-29d29965":defineAsyncComponent(()=>__vitePreload(()=>import("./bug-report.html.1c8a6164.js"),["assets/bug-report.html.1c8a6164.js","assets/_plugin-vue_export-helper.cdc0426e.js"])),"v-3706649a":defineAsyncComponent(()=>__vitePreload(()=>import("./404.html.eae3ec60.js"),["assets/404.html.eae3ec60.js","assets/_plugin-vue_export-helper.cdc0426e.js"]))},hopeInject="",clientConfig0={};var _a;const isClient=typeof window<"u",isFunction=s=>typeof s=="function",isString=s=>typeof s=="string",noop$1=()=>{},isIOS=isClient&&((_a=window==null?void 0:window.navigator)==null?void 0:_a.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function resolveUnref(s){return typeof s=="function"?s():unref(s)}function createFilterWrapper(s,l){function T(...F){s(()=>l.apply(this,F),{fn:l,thisArg:this,args:F})}return T}const bypassFilter=s=>s();function debounceFilter(s,l={}){let T,F;return U=>{const Y=resolveUnref(s),W=resolveUnref(l.maxWait);if(T&&clearTimeout(T),Y<=0||W!==void 0&&W<=0)return F&&(clearTimeout(F),F=null),U();W&&!F&&(F=setTimeout(()=>{T&&clearTimeout(T),F=null,U()},W)),T=setTimeout(()=>{F&&clearTimeout(F),F=null,U()},Y)}}function throttleFilter(s,l=!0,T=!0){let F=0,j,U=!0;const Y=()=>{j&&(clearTimeout(j),j=void 0)};return Z=>{const X=resolveUnref(s),ee=Date.now()-F;if(Y(),X<=0)return F=Date.now(),Z();ee>X&&(T||!U)?(F=Date.now(),Z()):l&&(j=setTimeout(()=>{F=Date.now(),U=!0,Y(),Z()},X)),!T&&!j&&(j=setTimeout(()=>U=!0,X)),U=!1}}function pausableFilter(s=bypassFilter){const l=ref(!0);function T(){l.value=!1}function F(){l.value=!0}return{isActive:l,pause:T,resume:F,eventFilter:(...U)=>{l.value&&s(...U)}}}function identity(s){return s}function tryOnScopeDispose(s){return getCurrentScope()?(onScopeDispose(s),!0):!1}function useDebounceFn(s,l=200,T={}){return createFilterWrapper(debounceFilter(l,T),s)}function useThrottleFn(s,l=200,T=!1,F=!0){return createFilterWrapper(throttleFilter(l,T,F),s)}function resolveRef(s){return typeof s=="function"?computed(s):ref(s)}function tryOnMounted(s,l=!0){getCurrentInstance()?onMounted(s):l?s():nextTick(s)}var __getOwnPropSymbols$6=Object.getOwnPropertySymbols,__hasOwnProp$6=Object.prototype.hasOwnProperty,__propIsEnum$6=Object.prototype.propertyIsEnumerable,__objRest$5=(s,l)=>{var T={};for(var F in s)__hasOwnProp$6.call(s,F)&&l.indexOf(F)<0&&(T[F]=s[F]);if(s!=null&&__getOwnPropSymbols$6)for(var F of __getOwnPropSymbols$6(s))l.indexOf(F)<0&&__propIsEnum$6.call(s,F)&&(T[F]=s[F]);return T};function watchWithFilter(s,l,T={}){const F=T,{eventFilter:j=bypassFilter}=F,U=__objRest$5(F,["eventFilter"]);return watch(s,createFilterWrapper(j,l),U)}var __defProp$2=Object.defineProperty,__defProps$2=Object.defineProperties,__getOwnPropDescs$2=Object.getOwnPropertyDescriptors,__getOwnPropSymbols$2=Object.getOwnPropertySymbols,__hasOwnProp$2=Object.prototype.hasOwnProperty,__propIsEnum$2=Object.prototype.propertyIsEnumerable,__defNormalProp$2=(s,l,T)=>l in s?__defProp$2(s,l,{enumerable:!0,configurable:!0,writable:!0,value:T}):s[l]=T,__spreadValues$2=(s,l)=>{for(var T in l||(l={}))__hasOwnProp$2.call(l,T)&&__defNormalProp$2(s,T,l[T]);if(__getOwnPropSymbols$2)for(var T of __getOwnPropSymbols$2(l))__propIsEnum$2.call(l,T)&&__defNormalProp$2(s,T,l[T]);return s},__spreadProps$2=(s,l)=>__defProps$2(s,__getOwnPropDescs$2(l)),__objRest$1=(s,l)=>{var T={};for(var F in s)__hasOwnProp$2.call(s,F)&&l.indexOf(F)<0&&(T[F]=s[F]);if(s!=null&&__getOwnPropSymbols$2)for(var F of __getOwnPropSymbols$2(s))l.indexOf(F)<0&&__propIsEnum$2.call(s,F)&&(T[F]=s[F]);return T};function watchPausable(s,l,T={}){const F=T,{eventFilter:j}=F,U=__objRest$1(F,["eventFilter"]),{eventFilter:Y,pause:W,resume:Z,isActive:X}=pausableFilter(j);return{stop:watchWithFilter(s,l,__spreadProps$2(__spreadValues$2({},U),{eventFilter:Y})),pause:W,resume:Z,isActive:X}}function unrefElement(s){var l;const T=resolveUnref(s);return(l=T==null?void 0:T.$el)!=null?l:T}const defaultWindow=isClient?window:void 0,defaultDocument=isClient?window.document:void 0;isClient&&window.navigator;isClient&&window.location;function useEventListener(...s){let l,T,F,j;if(isString(s[0])?([T,F,j]=s,l=defaultWindow):[l,T,F,j]=s,!l)return noop$1;let U=noop$1;const Y=watch(()=>unrefElement(l),Z=>{U(),Z&&(Z.addEventListener(T,F,j),U=()=>{Z.removeEventListener(T,F,j),U=noop$1})},{immediate:!0,flush:"post"}),W=()=>{Y(),U()};return tryOnScopeDispose(W),W}function onClickOutside(s,l,T={}){const{window:F=defaultWindow,ignore:j,capture:U=!0,detectIframe:Y=!1}=T;if(!F)return;const W=ref(!0);let Z;const X=oe=>{F.clearTimeout(Z);const se=unrefElement(s);!se||se===oe.target||oe.composedPath().includes(se)||!W.value||l(oe)},ee=oe=>j&&j.some(se=>{const ae=unrefElement(se);return ae&&(oe.target===ae||oe.composedPath().includes(ae))}),te=[useEventListener(F,"click",X,{passive:!0,capture:U}),useEventListener(F,"pointerdown",oe=>{const se=unrefElement(s);W.value=!!se&&!oe.composedPath().includes(se)&&!ee(oe)},{passive:!0}),useEventListener(F,"pointerup",oe=>{if(oe.button===0){const se=oe.composedPath();oe.composedPath=()=>se,Z=F.setTimeout(()=>X(oe),50)}},{passive:!0}),Y&&useEventListener(F,"blur",oe=>{var se;const ae=unrefElement(s);((se=document.activeElement)==null?void 0:se.tagName)==="IFRAME"&&!(ae!=null&&ae.contains(document.activeElement))&&l(oe)})].filter(Boolean);return()=>te.forEach(oe=>oe())}function useSupported(s,l=!1){const T=ref(),F=()=>T.value=Boolean(s());return F(),tryOnMounted(F,l),T}function useMediaQuery(s,l={}){const{window:T=defaultWindow}=l,F=useSupported(()=>T&&"matchMedia"in T&&typeof T.matchMedia=="function");let j;const U=ref(!1),Y=()=>{!j||("removeEventListener"in j?j.removeEventListener("change",W):j.removeListener(W))},W=()=>{!F.value||(Y(),j=T.matchMedia(resolveRef(s).value),U.value=j.matches,"addEventListener"in j?j.addEventListener("change",W):j.addListener(W))};return watchEffect(W),tryOnScopeDispose(()=>Y()),U}const _global=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},globalKey="__vueuse_ssr_handlers__";_global[globalKey]=_global[globalKey]||{};const handlers=_global[globalKey];function getSSRHandler(s,l){return handlers[s]||l}function guessSerializerType(s){return s==null?"any":s instanceof Set?"set":s instanceof Map?"map":s instanceof Date?"date":typeof s=="boolean"?"boolean":typeof s=="string"?"string":typeof s=="object"||Array.isArray(s)?"object":Number.isNaN(s)?"any":"number"}var __defProp$j=Object.defineProperty,__getOwnPropSymbols$l=Object.getOwnPropertySymbols,__hasOwnProp$l=Object.prototype.hasOwnProperty,__propIsEnum$l=Object.prototype.propertyIsEnumerable,__defNormalProp$j=(s,l,T)=>l in s?__defProp$j(s,l,{enumerable:!0,configurable:!0,writable:!0,value:T}):s[l]=T,__spreadValues$j=(s,l)=>{for(var T in l||(l={}))__hasOwnProp$l.call(l,T)&&__defNormalProp$j(s,T,l[T]);if(__getOwnPropSymbols$l)for(var T of __getOwnPropSymbols$l(l))__propIsEnum$l.call(l,T)&&__defNormalProp$j(s,T,l[T]);return s};const StorageSerializers={boolean:{read:s=>s==="true",write:s=>String(s)},object:{read:s=>JSON.parse(s),write:s=>JSON.stringify(s)},number:{read:s=>Number.parseFloat(s),write:s=>String(s)},any:{read:s=>s,write:s=>String(s)},string:{read:s=>s,write:s=>String(s)},map:{read:s=>new Map(JSON.parse(s)),write:s=>JSON.stringify(Array.from(s.entries()))},set:{read:s=>new Set(JSON.parse(s)),write:s=>JSON.stringify(Array.from(s))},date:{read:s=>new Date(s),write:s=>s.toISOString()}};function useStorage(s,l,T,F={}){var j;const{flush:U="pre",deep:Y=!0,listenToStorageChanges:W=!0,writeDefaults:Z=!0,mergeDefaults:X=!1,shallow:ee,window:te=defaultWindow,eventFilter:ne,onError:oe=fe=>{console.error(fe)}}=F,se=(ee?shallowRef:ref)(l);if(!T)try{T=getSSRHandler("getDefaultStorage",()=>{var fe;return(fe=defaultWindow)==null?void 0:fe.localStorage})()}catch(fe){oe(fe)}if(!T)return se;const ae=resolveUnref(l),ue=guessSerializerType(ae),le=(j=F.serializer)!=null?j:StorageSerializers[ue],{pause:ce,resume:me}=watchPausable(se,()=>Ce(se.value),{flush:U,deep:Y,eventFilter:ne});return te&&W&&useEventListener(te,"storage",_e),_e(),se;function Ce(fe){try{fe==null?T.removeItem(s):T.setItem(s,le.write(fe))}catch(ge){oe(ge)}}function Re(fe){if(!(fe&&fe.key!==s)){ce();try{const ge=fe?fe.newValue:T.getItem(s);if(ge==null)return Z&&ae!==null&&T.setItem(s,le.write(ae)),ae;if(!fe&&X){const Te=le.read(ge);return isFunction(X)?X(Te,ae):ue==="object"&&!Array.isArray(Te)?__spreadValues$j(__spreadValues$j({},ae),Te):Te}else return typeof ge!="string"?ge:le.read(ge)}catch(ge){oe(ge)}finally{me()}}}function _e(fe){fe&&fe.key!==s||(se.value=Re(fe))}}function usePreferredDark(s){return useMediaQuery("(prefers-color-scheme: dark)",s)}const functionsMap=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];function useFullscreen(s,l={}){const{document:T=defaultDocument,autoExit:F=!1}=l,j=s||(T==null?void 0:T.querySelector("html")),U=ref(!1);let Y=functionsMap[0];const W=useSupported(()=>{if(T){for(const ae of functionsMap)if(ae[1]in T)return Y=ae,!0}else return!1;return!1}),[Z,X,ee,,te]=Y;async function ne(){!W.value||(T!=null&&T[ee]&&await T[X](),U.value=!1)}async function oe(){if(!W.value)return;await ne();const ae=unrefElement(j);ae&&(await ae[Z](),U.value=!0)}async function se(){U.value?await ne():await oe()}return T&&useEventListener(T,te,()=>{U.value=!!(T!=null&&T[ee])},!1),F&&tryOnScopeDispose(ne),{isSupported:W,isFullscreen:U,enter:oe,exit:ne,toggle:se}}var SwipeDirection;(function(s){s.UP="UP",s.RIGHT="RIGHT",s.DOWN="DOWN",s.LEFT="LEFT",s.NONE="NONE"})(SwipeDirection||(SwipeDirection={}));function preventDefault(s){const l=s||window.event;return l.touches.length>1?!0:(l.preventDefault&&l.preventDefault(),!1)}function useScrollLock(s,l=!1){const T=ref(l);let F=null,j;watch(resolveRef(s),W=>{if(W){const Z=W;j=Z.style.overflow,T.value&&(Z.style.overflow="hidden")}},{immediate:!0});const U=()=>{const W=resolveUnref(s);!W||T.value||(isIOS&&(F=useEventListener(W,"touchmove",preventDefault,{passive:!1})),W.style.overflow="hidden",T.value=!0)},Y=()=>{const W=resolveUnref(s);!W||!T.value||(isIOS&&(F==null||F()),W.style.overflow=j,T.value=!1)};return tryOnScopeDispose(Y),computed({get(){return T.value},set(W){W?U():Y()}})}let _id=0;function useStyleTag(s,l={}){const T=ref(!1),{document:F=defaultDocument,immediate:j=!0,manual:U=!1,id:Y=`vueuse_styletag_${++_id}`}=l,W=ref(s);let Z=()=>{};const X=()=>{if(!F)return;const te=F.getElementById(Y)||F.createElement("style");te.type="text/css",te.id=Y,l.media&&(te.media=l.media),F.head.appendChild(te),!T.value&&(Z=watch(W,ne=>{te.innerText=ne},{immediate:!0}),T.value=!0)},ee=()=>{!F||!T.value||(Z(),F.head.removeChild(F.getElementById(Y)),T.value=!1)};return j&&!U&&tryOnMounted(X),U||tryOnScopeDispose(ee),{id:Y,css:W,unload:ee,load:X,isLoaded:readonly(T)}}var __defProp=Object.defineProperty,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(s,l,T)=>l in s?__defProp(s,l,{enumerable:!0,configurable:!0,writable:!0,value:T}):s[l]=T,__spreadValues=(s,l)=>{for(var T in l||(l={}))__hasOwnProp.call(l,T)&&__defNormalProp(s,T,l[T]);if(__getOwnPropSymbols)for(var T of __getOwnPropSymbols(l))__propIsEnum.call(l,T)&&__defNormalProp(s,T,l[T]);return s};const _TransitionPresets={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};__spreadValues({linear:identity},_TransitionPresets);var defineClientConfig=(s={})=>s;const badge="",t$1=({type:s="info",text:l="",vertical:T="top",color:F},{slots:j})=>{var U;return h$5("span",{class:["badge",s,{diy:F}],style:{verticalAlign:T,...F?{backgroundColor:F}:{}}},l||((U=j.default)==null?void 0:U.call(j)))};t$1.displayName="Badge";const i$2=({icon:s="",color:l,size:T})=>s?h$5("span",{class:["icon",`iconfont icon-${s}`],...l||T?{style:{...l?{color:l}:{},...T?{"font-size":`${T}px`}:{}}}:{}}):null;i$2.displayName="FontIcon",i$2.props={icon:String,color:String,size:Number};const nt=({name:s="",color:l="currentColor"},{slots:T})=>{var F;return h$5("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${s}-icon`],viewBox:"0 0 1024 1024",fill:l,"aria-label":`${s} icon`},(F=T.default)==null?void 0:F.call(T))};nt.displayName="IconBase";const gt=(s,{slots:l})=>{var T;return((T=l.default)==null?void 0:T.call(l))||null},Mt=s=>{const l=getCurrentInstance();return typeof(l==null?void 0:l.appContext.components)=="object"&&(s in l.appContext.components||camelize(s)in l.appContext.components||capitalize(camelize(s))in l.appContext.components)},Dt=s=>{const l=useRouteLocale();return computed(()=>s[l.value])},Ct=(s,l)=>{let T=1;for(let F=0;F<s.length;F++)T+=s.charCodeAt(F),T+=T<<10,T^=T>>6;return T+=T<<3,T^=T>>11,T%l},rt=/#.*$/u,it=s=>{const l=rt.exec(s);return l?l[0]:""},G=s=>decodeURI(s).replace(rt,"").replace(/(index)?\.(md|html)$/,""),Ht=(s,l)=>{if(l===void 0)return!1;const T=G(s.path),F=G(l),j=it(l);return j?j===s.hash&&(!F||T===F):T===F};class kt{constructor(){this.messageElements={};const l="message-container",T=document.getElementById(l);T?this.containerElement=T:(this.containerElement=document.createElement("div"),this.containerElement.id=l,document.body.appendChild(this.containerElement))}pop(l,T=2e3){const F=document.createElement("div"),j=Date.now();return F.className="message move-in",F.innerHTML=l,this.containerElement.appendChild(F),this.messageElements[j]=F,T>0&&setTimeout(()=>{this.close(j)},T),j}close(l){if(l){const T=this.messageElements[l];T.className=T.className.replace("move-in",""),T.className+="move-out",T.addEventListener("animationend",()=>{T.remove(),delete this.messageElements[l]})}else Object.keys(this.messageElements).forEach(T=>this.close(Number(T)))}destory(){document.body.removeChild(this.containerElement)}}const It=s=>typeof s=="function",Et=s=>typeof s=="string",st=(s,...l)=>{const T=s.resolve(...l),F=T.matched[T.matched.length-1];if(!(F!=null&&F.redirect))return T;const{redirect:j}=F,U=It(j)?j(T):j,Y=Et(U)?{path:U}:U;return st(s,{hash:T.hash,query:T.query,params:T.params,...Y})},Q=(s,...l)=>{if(l.length===0)return s;const T=l.shift()||{};return Object.keys(T).forEach(F=>{typeof s[F]=="object"&&!Array.isArray(s[F])&&typeof T[F]=="object"&&!Array.isArray(T[F])?Q(s[F],T[F]):typeof T[F]=="object"?Array.isArray(T[F])?s[F]=[...T[F]]:s[F]={...T[F]}:s[F]=T[F]}),Q(s,...l)};var R$1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ot={exports:{}};(function(s,l){(function(T,F){s.exports=F()})(R$1,function(){var T=1e3,F=6e4,j=36e5,U="millisecond",Y="second",W="minute",Z="hour",X="day",ee="week",te="month",ne="quarter",oe="year",se="date",ae="Invalid Date",ue=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,le=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,ce={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},me=function(Pe,pe,we){var Ae=String(Pe);return!Ae||Ae.length>=pe?Pe:""+Array(pe+1-Ae.length).join(we)+Pe},Ce={s:me,z:function(Pe){var pe=-Pe.utcOffset(),we=Math.abs(pe),Ae=Math.floor(we/60),$e=we%60;return(pe<=0?"+":"-")+me(Ae,2,"0")+":"+me($e,2,"0")},m:function Pe(pe,we){if(pe.date()<we.date())return-Pe(we,pe);var Ae=12*(we.year()-pe.year())+(we.month()-pe.month()),$e=pe.clone().add(Ae,te),xe=we-$e<0,He=pe.clone().add(Ae+(xe?-1:1),te);return+(-(Ae+(we-$e)/(xe?$e-He:He-$e))||0)},a:function(Pe){return Pe<0?Math.ceil(Pe)||0:Math.floor(Pe)},p:function(Pe){return{M:te,y:oe,w:ee,d:X,D:se,h:Z,m:W,s:Y,ms:U,Q:ne}[Pe]||String(Pe||"").toLowerCase().replace(/s$/,"")},u:function(Pe){return Pe===void 0}},Re="en",_e={};_e[Re]=ce;var fe=function(Pe){return Pe instanceof ze},ge=function Pe(pe,we,Ae){var $e;if(!pe)return Re;if(typeof pe=="string"){var xe=pe.toLowerCase();_e[xe]&&($e=xe),we&&(_e[xe]=we,$e=xe);var He=pe.split("-");if(!$e&&He.length>1)return Pe(He[0])}else{var We=pe.name;_e[We]=pe,$e=We}return!Ae&&$e&&(Re=$e),$e||!Ae&&Re},Te=function(Pe,pe){if(fe(Pe))return Pe.clone();var we=typeof pe=="object"?pe:{};return we.date=Pe,we.args=arguments,new ze(we)},Se=Ce;Se.l=ge,Se.i=fe,Se.w=function(Pe,pe){return Te(Pe,{locale:pe.$L,utc:pe.$u,x:pe.$x,$offset:pe.$offset})};var ze=function(){function Pe(we){this.$L=ge(we.locale,null,!0),this.parse(we)}var pe=Pe.prototype;return pe.parse=function(we){this.$d=function(Ae){var $e=Ae.date,xe=Ae.utc;if($e===null)return new Date(NaN);if(Se.u($e))return new Date;if($e instanceof Date)return new Date($e);if(typeof $e=="string"&&!/Z$/i.test($e)){var He=$e.match(ue);if(He){var We=He[2]-1||0,Qe=(He[7]||"0").substring(0,3);return xe?new Date(Date.UTC(He[1],We,He[3]||1,He[4]||0,He[5]||0,He[6]||0,Qe)):new Date(He[1],We,He[3]||1,He[4]||0,He[5]||0,He[6]||0,Qe)}}return new Date($e)}(we),this.$x=we.x||{},this.init()},pe.init=function(){var we=this.$d;this.$y=we.getFullYear(),this.$M=we.getMonth(),this.$D=we.getDate(),this.$W=we.getDay(),this.$H=we.getHours(),this.$m=we.getMinutes(),this.$s=we.getSeconds(),this.$ms=we.getMilliseconds()},pe.$utils=function(){return Se},pe.isValid=function(){return this.$d.toString()!==ae},pe.isSame=function(we,Ae){var $e=Te(we);return this.startOf(Ae)<=$e&&$e<=this.endOf(Ae)},pe.isAfter=function(we,Ae){return Te(we)<this.startOf(Ae)},pe.isBefore=function(we,Ae){return this.endOf(Ae)<Te(we)},pe.$g=function(we,Ae,$e){return Se.u(we)?this[Ae]:this.set($e,we)},pe.unix=function(){return Math.floor(this.valueOf()/1e3)},pe.valueOf=function(){return this.$d.getTime()},pe.startOf=function(we,Ae){var $e=this,xe=!!Se.u(Ae)||Ae,He=Se.p(we),We=function(De,Ue){var Ke=Se.w($e.$u?Date.UTC($e.$y,Ue,De):new Date($e.$y,Ue,De),$e);return xe?Ke:Ke.endOf(X)},Qe=function(De,Ue){return Se.w($e.toDate()[De].apply($e.toDate("s"),(xe?[0,0,0,0]:[23,59,59,999]).slice(Ue)),$e)},Ge=this.$W,Ze=this.$M,pt=this.$D,he="set"+(this.$u?"UTC":"");switch(He){case oe:return xe?We(1,0):We(31,11);case te:return xe?We(1,Ze):We(0,Ze+1);case ee:var Ne=this.$locale().weekStart||0,ke=(Ge<Ne?Ge+7:Ge)-Ne;return We(xe?pt-ke:pt+(6-ke),Ze);case X:case se:return Qe(he+"Hours",0);case Z:return Qe(he+"Minutes",1);case W:return Qe(he+"Seconds",2);case Y:return Qe(he+"Milliseconds",3);default:return this.clone()}},pe.endOf=function(we){return this.startOf(we,!1)},pe.$set=function(we,Ae){var $e,xe=Se.p(we),He="set"+(this.$u?"UTC":""),We=($e={},$e[X]=He+"Date",$e[se]=He+"Date",$e[te]=He+"Month",$e[oe]=He+"FullYear",$e[Z]=He+"Hours",$e[W]=He+"Minutes",$e[Y]=He+"Seconds",$e[U]=He+"Milliseconds",$e)[xe],Qe=xe===X?this.$D+(Ae-this.$W):Ae;if(xe===te||xe===oe){var Ge=this.clone().set(se,1);Ge.$d[We](Qe),Ge.init(),this.$d=Ge.set(se,Math.min(this.$D,Ge.daysInMonth())).$d}else We&&this.$d[We](Qe);return this.init(),this},pe.set=function(we,Ae){return this.clone().$set(we,Ae)},pe.get=function(we){return this[Se.p(we)]()},pe.add=function(we,Ae){var $e,xe=this;we=Number(we);var He=Se.p(Ae),We=function(Ze){var pt=Te(xe);return Se.w(pt.date(pt.date()+Math.round(Ze*we)),xe)};if(He===te)return this.set(te,this.$M+we);if(He===oe)return this.set(oe,this.$y+we);if(He===X)return We(1);if(He===ee)return We(7);var Qe=($e={},$e[W]=F,$e[Z]=j,$e[Y]=T,$e)[He]||1,Ge=this.$d.getTime()+we*Qe;return Se.w(Ge,this)},pe.subtract=function(we,Ae){return this.add(-1*we,Ae)},pe.format=function(we){var Ae=this,$e=this.$locale();if(!this.isValid())return $e.invalidDate||ae;var xe=we||"YYYY-MM-DDTHH:mm:ssZ",He=Se.z(this),We=this.$H,Qe=this.$m,Ge=this.$M,Ze=$e.weekdays,pt=$e.months,he=function(Ue,Ke,Ye,Ve){return Ue&&(Ue[Ke]||Ue(Ae,xe))||Ye[Ke].slice(0,Ve)},Ne=function(Ue){return Se.s(We%12||12,Ue,"0")},ke=$e.meridiem||function(Ue,Ke,Ye){var Ve=Ue<12?"AM":"PM";return Ye?Ve.toLowerCase():Ve},De={YY:String(this.$y).slice(-2),YYYY:this.$y,M:Ge+1,MM:Se.s(Ge+1,2,"0"),MMM:he($e.monthsShort,Ge,pt,3),MMMM:he(pt,Ge),D:this.$D,DD:Se.s(this.$D,2,"0"),d:String(this.$W),dd:he($e.weekdaysMin,this.$W,Ze,2),ddd:he($e.weekdaysShort,this.$W,Ze,3),dddd:Ze[this.$W],H:String(We),HH:Se.s(We,2,"0"),h:Ne(1),hh:Ne(2),a:ke(We,Qe,!0),A:ke(We,Qe,!1),m:String(Qe),mm:Se.s(Qe,2,"0"),s:String(this.$s),ss:Se.s(this.$s,2,"0"),SSS:Se.s(this.$ms,3,"0"),Z:He};return xe.replace(le,function(Ue,Ke){return Ke||De[Ue]||He.replace(":","")})},pe.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},pe.diff=function(we,Ae,$e){var xe,He=Se.p(Ae),We=Te(we),Qe=(We.utcOffset()-this.utcOffset())*F,Ge=this-We,Ze=Se.m(this,We);return Ze=(xe={},xe[oe]=Ze/12,xe[te]=Ze,xe[ne]=Ze/3,xe[ee]=(Ge-Qe)/6048e5,xe[X]=(Ge-Qe)/864e5,xe[Z]=Ge/j,xe[W]=Ge/F,xe[Y]=Ge/T,xe)[He]||Ge,$e?Ze:Se.a(Ze)},pe.daysInMonth=function(){return this.endOf(te).$D},pe.$locale=function(){return _e[this.$L]},pe.locale=function(we,Ae){if(!we)return this.$L;var $e=this.clone(),xe=ge(we,Ae,!0);return xe&&($e.$L=xe),$e},pe.clone=function(){return Se.w(this.$d,this)},pe.toDate=function(){return new Date(this.valueOf())},pe.toJSON=function(){return this.isValid()?this.toISOString():null},pe.toISOString=function(){return this.$d.toISOString()},pe.toString=function(){return this.$d.toUTCString()},Pe}(),Me=ze.prototype;return Te.prototype=Me,[["$ms",U],["$s",Y],["$m",W],["$H",Z],["$W",X],["$M",te],["$y",oe],["$D",se]].forEach(function(Pe){Me[Pe[1]]=function(pe){return this.$g(pe,Pe[0],Pe[1])}}),Te.extend=function(Pe,pe){return Pe.$i||(Pe(pe,ze,Te),Pe.$i=!0),Te},Te.locale=ge,Te.isDayjs=fe,Te.unix=function(Pe){return Te(1e3*Pe)},Te.en=_e[Re],Te.Ls=_e,Te.p={},Te})})(ot);var N$1=ot.exports,at={exports:{}};(function(s,l){(function(T,F){s.exports=F()})(R$1,function(){var T={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(F,j,U){var Y=j.prototype,W=Y.format;U.en.formats=T,Y.format=function(Z){Z===void 0&&(Z="YYYY-MM-DDTHH:mm:ssZ");var X=this.$locale().formats,ee=function(te,ne){return te.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(oe,se,ae){var ue=ae&&ae.toUpperCase();return se||ne[ae]||T[ae]||ne[ue].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(le,ce,me){return ce||me.slice(1)})})}(Z,X===void 0?{}:X);return W.call(this,ee)}}})})(at);var Ut=at.exports,ut={exports:{}};(function(s,l){(function(T,F){s.exports=F()})(R$1,function(){return function(T,F,j){var U=F.prototype,Y=function(te){var ne,oe=te.date,se=te.utc,ae={};if(!((ne=oe)instanceof Date)&&!(ne instanceof Array)&&ne instanceof Object){if(!Object.keys(oe).length)return new Date;var ue=se?j.utc():j();Object.keys(oe).forEach(function(ge){var Te,Se;ae[Te=ge,Se=U.$utils().p(Te),Se==="date"?"day":Se]=oe[ge]});var le=ae.day||(ae.year||ae.month>=0?1:ue.date()),ce=ae.year||ue.year(),me=ae.month>=0?ae.month:ae.year||ae.day?0:ue.month(),Ce=ae.hour||0,Re=ae.minute||0,_e=ae.second||0,fe=ae.millisecond||0;return se?new Date(Date.UTC(ce,me,le,Ce,Re,_e,fe)):new Date(ce,me,le,Ce,Re,_e,fe)}return oe},W=U.parse;U.parse=function(te){te.date=Y.bind(this)(te),W.bind(this)(te)};var Z=U.set,X=U.add,ee=function(te,ne,oe,se){if(se===void 0&&(se=1),ne instanceof Object){var ae=Object.keys(ne),ue=this;return ae.forEach(function(le){ue=te.bind(ue)(ne[le]*se,le)}),ue}return te.bind(this)(ne*se,oe)};U.set=function(te,ne){return ne=ne===void 0?te:ne,ee.bind(this)(function(oe,se){return Z.bind(this)(se,oe)},ne,te)},U.add=function(te,ne){return ee.bind(this)(X,te,ne)},U.subtract=function(te,ne){return ee.bind(this)(X,te,ne,-1)}}})})(ut);var ct=ut.exports,ft={exports:{}};(function(s,l){(function(T,F){s.exports=F()})(R$1,function(){var T={year:0,month:1,day:2,hour:3,minute:4,second:5},F={};return function(j,U,Y){var W,Z=function(ne,oe,se){se===void 0&&(se={});var ae=new Date(ne),ue=function(le,ce){ce===void 0&&(ce={});var me=ce.timeZoneName||"short",Ce=le+"|"+me,Re=F[Ce];return Re||(Re=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:le,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:me}),F[Ce]=Re),Re}(oe,se);return ue.formatToParts(ae)},X=function(ne,oe){for(var se=Z(ne,oe),ae=[],ue=0;ue<se.length;ue+=1){var le=se[ue],ce=le.type,me=le.value,Ce=T[ce];Ce>=0&&(ae[Ce]=parseInt(me,10))}var Re=ae[3],_e=Re===24?0:Re,fe=ae[0]+"-"+ae[1]+"-"+ae[2]+" "+_e+":"+ae[4]+":"+ae[5]+":000",ge=+ne;return(Y.utc(fe).valueOf()-(ge-=ge%1e3))/6e4},ee=U.prototype;ee.tz=function(ne,oe){ne===void 0&&(ne=W);var se=this.utcOffset(),ae=this.toDate(),ue=ae.toLocaleString("en-US",{timeZone:ne}),le=Math.round((ae-new Date(ue))/1e3/60),ce=Y(ue).$set("millisecond",this.$ms).utcOffset(15*-Math.round(ae.getTimezoneOffset()/15)-le,!0);if(oe){var me=ce.utcOffset();ce=ce.add(se-me,"minute")}return ce.$x.$timezone=ne,ce},ee.offsetName=function(ne){var oe=this.$x.$timezone||Y.tz.guess(),se=Z(this.valueOf(),oe,{timeZoneName:ne}).find(function(ae){return ae.type.toLowerCase()==="timezonename"});return se&&se.value};var te=ee.startOf;ee.startOf=function(ne,oe){if(!this.$x||!this.$x.$timezone)return te.call(this,ne,oe);var se=Y(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return te.call(se,ne,oe).tz(this.$x.$timezone,!0)},Y.tz=function(ne,oe,se){var ae=se&&oe,ue=se||oe||W,le=X(+Y(),ue);if(typeof ne!="string")return Y(ne).tz(ue);var ce=function(_e,fe,ge){var Te=_e-60*fe*1e3,Se=X(Te,ge);if(fe===Se)return[Te,fe];var ze=X(Te-=60*(Se-fe)*1e3,ge);return Se===ze?[Te,Se]:[_e-60*Math.min(Se,ze)*1e3,Math.max(Se,ze)]}(Y.utc(ne,ae).valueOf(),le,ue),me=ce[0],Ce=ce[1],Re=Y(me).utcOffset(Ce);return Re.$x.$timezone=ue,Re},Y.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},Y.tz.setDefault=function(ne){W=ne}}})})(ft);var ht=ft.exports,dt={exports:{}};(function(s,l){(function(T,F){s.exports=F()})(R$1,function(){var T="minute",F=/[+-]\d\d(?::?\d\d)?/g,j=/([+-]|\d\d)/g;return function(U,Y,W){var Z=Y.prototype;W.utc=function(ae){var ue={date:ae,utc:!0,args:arguments};return new Y(ue)},Z.utc=function(ae){var ue=W(this.toDate(),{locale:this.$L,utc:!0});return ae?ue.add(this.utcOffset(),T):ue},Z.local=function(){return W(this.toDate(),{locale:this.$L,utc:!1})};var X=Z.parse;Z.parse=function(ae){ae.utc&&(this.$u=!0),this.$utils().u(ae.$offset)||(this.$offset=ae.$offset),X.call(this,ae)};var ee=Z.init;Z.init=function(){if(this.$u){var ae=this.$d;this.$y=ae.getUTCFullYear(),this.$M=ae.getUTCMonth(),this.$D=ae.getUTCDate(),this.$W=ae.getUTCDay(),this.$H=ae.getUTCHours(),this.$m=ae.getUTCMinutes(),this.$s=ae.getUTCSeconds(),this.$ms=ae.getUTCMilliseconds()}else ee.call(this)};var te=Z.utcOffset;Z.utcOffset=function(ae,ue){var le=this.$utils().u;if(le(ae))return this.$u?0:le(this.$offset)?te.call(this):this.$offset;if(typeof ae=="string"&&(ae=function(Re){Re===void 0&&(Re="");var _e=Re.match(F);if(!_e)return null;var fe=(""+_e[0]).match(j)||["-",0,0],ge=fe[0],Te=60*+fe[1]+ +fe[2];return Te===0?0:ge==="+"?Te:-Te}(ae),ae===null))return this;var ce=Math.abs(ae)<=16?60*ae:ae,me=this;if(ue)return me.$offset=ce,me.$u=ae===0,me;if(ae!==0){var Ce=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(me=this.local().add(ce+Ce,T)).$offset=ce,me.$x.$localOffset=Ce}else me=this.utc();return me};var ne=Z.format;Z.format=function(ae){var ue=ae||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return ne.call(this,ue)},Z.valueOf=function(){var ae=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*ae},Z.isUTC=function(){return!!this.$u},Z.toISOString=function(){return this.toDate().toISOString()},Z.toString=function(){return this.toDate().toUTCString()};var oe=Z.toDate;Z.toDate=function(ae){return ae==="s"&&this.$offset?W(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():oe.call(this)};var se=Z.diff;Z.diff=function(ae,ue,le){if(ae&&this.$u===ae.$u)return se.call(this,ae,ue,le);var ce=this.local(),me=W(ae).local();return se.call(ce,me,ue,le)}}})})(dt);var lt=dt.exports;N$1.extend(Ut),N$1.extend(ct),N$1.extend(lt),N$1.extend(ht);const Nt={name:"zh-cn",weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u5468\u65E5_\u5468\u4E00_\u5468\u4E8C_\u5468\u4E09_\u5468\u56DB_\u5468\u4E94_\u5468\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:(s,l)=>{switch(l){case"W":return`${s}\u5468`;default:return`${s}\u65E5`}},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5Ah\u70B9mm\u5206",LLLL:"YYYY\u5E74M\u6708D\u65E5ddddAh\u70B9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},relativeTime:{future:"%s\u5185",past:"%s\u524D",s:"\u51E0\u79D2",m:"1 \u5206\u949F",mm:"%d \u5206\u949F",h:"1 \u5C0F\u65F6",hh:"%d \u5C0F\u65F6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4E2A\u6708",MM:"%d \u4E2A\u6708",y:"1 \u5E74",yy:"%d \u5E74"},meridiem:(s,l)=>{const T=s*100+l;return T<600?"\u51CC\u6668":T<900?"\u65E9\u4E0A":T<1100?"\u4E0A\u5348":T<1300?"\u4E2D\u5348":T<1800?"\u4E0B\u5348":"\u665A\u4E0A"}},jt={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")};N$1.locale("zh",Nt),N$1.locale("en",jt),N$1.extend(ct),N$1.extend(lt),N$1.extend(ht);const K=(s,l)=>{if(s){if(N$1(s instanceof Date?s:s.trim()).isValid()){const F=l?N$1(s).tz(l):N$1(s),j=F.year(),U=F.month()+1,Y=F.date(),W=F.hour(),Z=F.minute(),X=F.second(),ee=F.millisecond(),te=W===0&&Z===0&&X===0&&ee===0;return{value:F.toDate(),info:{year:j,month:U,day:Y,...te?{}:{hour:W,minute:Z,second:X}},type:te?"date":"full"}}const T=/(?:(\d{2,4})[/-](\d{1,2})[/-](\d{1,2}))?\s*(?:(\d{1,2}):(\d{1,2})(?::(\d{1,2}))?)?/u.exec(s.trim());if(T){const[,F,j,U,Y,W,Z]=T,X=ue=>typeof ue>"u"?void 0:Number(ue),ee=ue=>ue&&ue<100?ue+2e3:ue,te=ue=>Y&&W&&!Z?0:ue,ne={year:ee(X(F)),month:X(j),day:X(U),hour:X(Y),minute:X(W),second:te(X(Z))},oe=F===void 0&&j===void 0&&U===void 0,se=Y===void 0&&W===void 0&&Z===void 0,ae=N$1({...ne,month:ne.month-1}).toDate();return{value:oe?void 0:ae,info:se?{year:ne.year,month:ne.month,day:ne.day}:oe?{hour:ne.hour,minute:ne.minute,second:ne.second}:ne,type:oe?"time":se?"date":"full"}}}return null},Zt=(s,l=!1)=>s?Array.isArray(s)?s.map(T=>typeof T=="string"?{name:T}:T):typeof s=="string"?[{name:s}]:typeof s=="object"&&s.name?[s]:(console.error(`Expect 'author' to be \`AuthorInfo[] | AuthorInfo | string[] | string ${l?"":"| false"} | undefined\`, but got`,s),[]):[],Ft=s=>{if(s){if(Array.isArray(s))return s;if(typeof s=="string")return[s];console.error("Expect 'category' to be `string[] | string | undefined`, but got",s)}return[]},Pt=s=>{if(s){if(Array.isArray(s))return s;if(typeof s=="string")return[s];console.error("Expect 'tag' to be `string[] | string | undefined`, but got",s)}return[]},backToTop="",a$1=()=>h$5(nt,{name:"back-to-top"},()=>[h$5("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"}),h$5("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"})]);a$1.displayName="BacktoTopIcon";var h$4=defineComponent({name:"BackToTop",props:{threshold:{type:Number,default:300}},setup(s){const l=usePageFrontmatter(),T=Dt({"/en/":{backToTop:"Back to top"},"/":{backToTop:"\u8FD4\u56DE\u9876\u90E8"}}),F=ref(0),j=computed(()=>l.value.backToTop!==!1&&F.value>s.threshold),U=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;return onMounted(()=>{F.value=U()}),useEventListener("scroll",useDebounceFn(()=>{F.value=U()},100)),()=>h$5(Transition,{name:"fade"},()=>j.value?h$5("button",{class:"back-to-top","aria-label":T.value.backToTop,"data-balloon-pos":"left",onClick:()=>{window.scrollTo({top:0,behavior:"smooth"}),F.value=0}},h$5(a$1)):null)}});const clientConfig1=defineClientConfig({enhance:({app:s})=>{s.component("Badge",t$1),s.component("FontIcon",i$2)},setup:()=>{useStyleTag('@import url("//at.alicdn.com/t/font_2410206_a0xb9hku9iu.css");',{id:"icon-assets"})},rootComponents:[()=>h$5(h$4,{threshold:300})]});function r$2(s,l,T){var F,j,U;l===void 0&&(l=50),T===void 0&&(T={});var Y=(F=T.isImmediate)!=null&&F,W=(j=T.callback)!=null&&j,Z=T.maxWait,X=Date.now(),ee=[];function te(){if(Z!==void 0){var oe=Date.now()-X;if(oe+l>=Z)return Z-oe}return l}var ne=function(){var oe=[].slice.call(arguments),se=this;return new Promise(function(ae,ue){var le=Y&&U===void 0;if(U!==void 0&&clearTimeout(U),U=setTimeout(function(){if(U=void 0,X=Date.now(),!Y){var me=s.apply(se,oe);W&&W(me),ee.forEach(function(Ce){return(0,Ce.resolve)(me)}),ee=[]}},te()),le){var ce=s.apply(se,oe);return W&&W(ce),ae(ce)}ee.push({resolve:ae,reject:ue})})};return ne.cancel=function(oe){U!==void 0&&clearTimeout(U),ee.forEach(function(se){return(0,se.reject)(oe)}),ee=[]},ne}/*!
|
|
* vue-router v4.1.5
|
|
* (c) 2022 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/const isBrowser=typeof window<"u";function isESModule(s){return s.__esModule||s[Symbol.toStringTag]==="Module"}const assign=Object.assign;function applyToParams(s,l){const T={};for(const F in l){const j=l[F];T[F]=isArray(j)?j.map(s):s(j)}return T}const noop=()=>{},isArray=Array.isArray,TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=s=>s.replace(TRAILING_SLASH_RE,"");function parseURL(s,l,T="/"){let F,j={},U="",Y="";const W=l.indexOf("#");let Z=l.indexOf("?");return W<Z&&W>=0&&(Z=-1),Z>-1&&(F=l.slice(0,Z),U=l.slice(Z+1,W>-1?W:l.length),j=s(U)),W>-1&&(F=F||l.slice(0,W),Y=l.slice(W,l.length)),F=resolveRelativePath(F!=null?F:l,T),{fullPath:F+(U&&"?")+U+Y,path:F,query:j,hash:Y}}function stringifyURL(s,l){const T=l.query?s(l.query):"";return l.path+(T&&"?")+T+(l.hash||"")}function stripBase(s,l){return!l||!s.toLowerCase().startsWith(l.toLowerCase())?s:s.slice(l.length)||"/"}function isSameRouteLocation(s,l,T){const F=l.matched.length-1,j=T.matched.length-1;return F>-1&&F===j&&isSameRouteRecord(l.matched[F],T.matched[j])&&isSameRouteLocationParams(l.params,T.params)&&s(l.query)===s(T.query)&&l.hash===T.hash}function isSameRouteRecord(s,l){return(s.aliasOf||s)===(l.aliasOf||l)}function isSameRouteLocationParams(s,l){if(Object.keys(s).length!==Object.keys(l).length)return!1;for(const T in s)if(!isSameRouteLocationParamsValue(s[T],l[T]))return!1;return!0}function isSameRouteLocationParamsValue(s,l){return isArray(s)?isEquivalentArray(s,l):isArray(l)?isEquivalentArray(l,s):s===l}function isEquivalentArray(s,l){return isArray(l)?s.length===l.length&&s.every((T,F)=>T===l[F]):s.length===1&&s[0]===l}function resolveRelativePath(s,l){if(s.startsWith("/"))return s;if(!s)return l;const T=l.split("/"),F=s.split("/");let j=T.length-1,U,Y;for(U=0;U<F.length;U++)if(Y=F[U],Y!==".")if(Y==="..")j>1&&j--;else break;return T.slice(0,j).join("/")+"/"+F.slice(U-(U===F.length?1:0)).join("/")}var NavigationType;(function(s){s.pop="pop",s.push="push"})(NavigationType||(NavigationType={}));var NavigationDirection;(function(s){s.back="back",s.forward="forward",s.unknown=""})(NavigationDirection||(NavigationDirection={}));function normalizeBase(s){if(!s)if(isBrowser){const l=document.querySelector("base");s=l&&l.getAttribute("href")||"/",s=s.replace(/^\w+:\/\/[^\/]+/,"")}else s="/";return s[0]!=="/"&&s[0]!=="#"&&(s="/"+s),removeTrailingSlash(s)}const BEFORE_HASH_RE=/^[^#]+#/;function createHref(s,l){return s.replace(BEFORE_HASH_RE,"#")+l}function getElementPosition(s,l){const T=document.documentElement.getBoundingClientRect(),F=s.getBoundingClientRect();return{behavior:l.behavior,left:F.left-T.left-(l.left||0),top:F.top-T.top-(l.top||0)}}const computeScrollPosition=()=>({left:window.pageXOffset,top:window.pageYOffset});function scrollToPosition(s){let l;if("el"in s){const T=s.el,F=typeof T=="string"&&T.startsWith("#"),j=typeof T=="string"?F?document.getElementById(T.slice(1)):document.querySelector(T):T;if(!j)return;l=getElementPosition(j,s)}else l=s;"scrollBehavior"in document.documentElement.style?window.scrollTo(l):window.scrollTo(l.left!=null?l.left:window.pageXOffset,l.top!=null?l.top:window.pageYOffset)}function getScrollKey(s,l){return(history.state?history.state.position-l:-1)+s}const scrollPositions=new Map;function saveScrollPosition(s,l){scrollPositions.set(s,l)}function getSavedScrollPosition(s){const l=scrollPositions.get(s);return scrollPositions.delete(s),l}let createBaseLocation=()=>location.protocol+"//"+location.host;function createCurrentLocation(s,l){const{pathname:T,search:F,hash:j}=l,U=s.indexOf("#");if(U>-1){let W=j.includes(s.slice(U))?s.slice(U).length:1,Z=j.slice(W);return Z[0]!=="/"&&(Z="/"+Z),stripBase(Z,"")}return stripBase(T,s)+F+j}function useHistoryListeners(s,l,T,F){let j=[],U=[],Y=null;const W=({state:ne})=>{const oe=createCurrentLocation(s,location),se=T.value,ae=l.value;let ue=0;if(ne){if(T.value=oe,l.value=ne,Y&&Y===se){Y=null;return}ue=ae?ne.position-ae.position:0}else F(oe);j.forEach(le=>{le(T.value,se,{delta:ue,type:NavigationType.pop,direction:ue?ue>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})})};function Z(){Y=T.value}function X(ne){j.push(ne);const oe=()=>{const se=j.indexOf(ne);se>-1&&j.splice(se,1)};return U.push(oe),oe}function ee(){const{history:ne}=window;!ne.state||ne.replaceState(assign({},ne.state,{scroll:computeScrollPosition()}),"")}function te(){for(const ne of U)ne();U=[],window.removeEventListener("popstate",W),window.removeEventListener("beforeunload",ee)}return window.addEventListener("popstate",W),window.addEventListener("beforeunload",ee),{pauseListeners:Z,listen:X,destroy:te}}function buildState(s,l,T,F=!1,j=!1){return{back:s,current:l,forward:T,replaced:F,position:window.history.length,scroll:j?computeScrollPosition():null}}function useHistoryStateNavigation(s){const{history:l,location:T}=window,F={value:createCurrentLocation(s,T)},j={value:l.state};j.value||U(F.value,{back:null,current:F.value,forward:null,position:l.length-1,replaced:!0,scroll:null},!0);function U(Z,X,ee){const te=s.indexOf("#"),ne=te>-1?(T.host&&document.querySelector("base")?s:s.slice(te))+Z:createBaseLocation()+s+Z;try{l[ee?"replaceState":"pushState"](X,"",ne),j.value=X}catch(oe){console.error(oe),T[ee?"replace":"assign"](ne)}}function Y(Z,X){const ee=assign({},l.state,buildState(j.value.back,Z,j.value.forward,!0),X,{position:j.value.position});U(Z,ee,!0),F.value=Z}function W(Z,X){const ee=assign({},j.value,l.state,{forward:Z,scroll:computeScrollPosition()});U(ee.current,ee,!0);const te=assign({},buildState(F.value,Z,null),{position:ee.position+1},X);U(Z,te,!1),F.value=Z}return{location:F,state:j,push:W,replace:Y}}function createWebHistory(s){s=normalizeBase(s);const l=useHistoryStateNavigation(s),T=useHistoryListeners(s,l.state,l.location,l.replace);function F(U,Y=!0){Y||T.pauseListeners(),history.go(U)}const j=assign({location:"",base:s,go:F,createHref:createHref.bind(null,s)},l,T);return Object.defineProperty(j,"location",{enumerable:!0,get:()=>l.location.value}),Object.defineProperty(j,"state",{enumerable:!0,get:()=>l.state.value}),j}function isRouteLocation(s){return typeof s=="string"||s&&typeof s=="object"}function isRouteName(s){return typeof s=="string"||typeof s=="symbol"}const START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},NavigationFailureSymbol=Symbol("");var NavigationFailureType;(function(s){s[s.aborted=4]="aborted",s[s.cancelled=8]="cancelled",s[s.duplicated=16]="duplicated"})(NavigationFailureType||(NavigationFailureType={}));function createRouterError(s,l){return assign(new Error,{type:s,[NavigationFailureSymbol]:!0},l)}function isNavigationFailure(s,l){return s instanceof Error&&NavigationFailureSymbol in s&&(l==null||!!(s.type&l))}const BASE_PARAM_PATTERN="[^/]+?",BASE_PATH_PARSER_OPTIONS={sensitive:!1,strict:!1,start:!0,end:!0},REGEX_CHARS_RE=/[.+*?^${}()[\]/\\]/g;function tokensToParser(s,l){const T=assign({},BASE_PATH_PARSER_OPTIONS,l),F=[];let j=T.start?"^":"";const U=[];for(const X of s){const ee=X.length?[]:[90];T.strict&&!X.length&&(j+="/");for(let te=0;te<X.length;te++){const ne=X[te];let oe=40+(T.sensitive?.25:0);if(ne.type===0)te||(j+="/"),j+=ne.value.replace(REGEX_CHARS_RE,"\\$&"),oe+=40;else if(ne.type===1){const{value:se,repeatable:ae,optional:ue,regexp:le}=ne;U.push({name:se,repeatable:ae,optional:ue});const ce=le||BASE_PARAM_PATTERN;if(ce!==BASE_PARAM_PATTERN){oe+=10;try{new RegExp(`(${ce})`)}catch(Ce){throw new Error(`Invalid custom RegExp for param "${se}" (${ce}): `+Ce.message)}}let me=ae?`((?:${ce})(?:/(?:${ce}))*)`:`(${ce})`;te||(me=ue&&X.length<2?`(?:/${me})`:"/"+me),ue&&(me+="?"),j+=me,oe+=20,ue&&(oe+=-8),ae&&(oe+=-20),ce===".*"&&(oe+=-50)}ee.push(oe)}F.push(ee)}if(T.strict&&T.end){const X=F.length-1;F[X][F[X].length-1]+=.7000000000000001}T.strict||(j+="/?"),T.end?j+="$":T.strict&&(j+="(?:/|$)");const Y=new RegExp(j,T.sensitive?"":"i");function W(X){const ee=X.match(Y),te={};if(!ee)return null;for(let ne=1;ne<ee.length;ne++){const oe=ee[ne]||"",se=U[ne-1];te[se.name]=oe&&se.repeatable?oe.split("/"):oe}return te}function Z(X){let ee="",te=!1;for(const ne of s){(!te||!ee.endsWith("/"))&&(ee+="/"),te=!1;for(const oe of ne)if(oe.type===0)ee+=oe.value;else if(oe.type===1){const{value:se,repeatable:ae,optional:ue}=oe,le=se in X?X[se]:"";if(isArray(le)&&!ae)throw new Error(`Provided param "${se}" is an array but it is not repeatable (* or + modifiers)`);const ce=isArray(le)?le.join("/"):le;if(!ce)if(ue)ne.length<2&&(ee.endsWith("/")?ee=ee.slice(0,-1):te=!0);else throw new Error(`Missing required param "${se}"`);ee+=ce}}return ee||"/"}return{re:Y,score:F,keys:U,parse:W,stringify:Z}}function compareScoreArray(s,l){let T=0;for(;T<s.length&&T<l.length;){const F=l[T]-s[T];if(F)return F;T++}return s.length<l.length?s.length===1&&s[0]===40+40?-1:1:s.length>l.length?l.length===1&&l[0]===40+40?1:-1:0}function comparePathParserScore(s,l){let T=0;const F=s.score,j=l.score;for(;T<F.length&&T<j.length;){const U=compareScoreArray(F[T],j[T]);if(U)return U;T++}if(Math.abs(j.length-F.length)===1){if(isLastScoreNegative(F))return 1;if(isLastScoreNegative(j))return-1}return j.length-F.length}function isLastScoreNegative(s){const l=s[s.length-1];return s.length>0&&l[l.length-1]<0}const ROOT_TOKEN={type:0,value:""},VALID_PARAM_RE=/[a-zA-Z0-9_]/;function tokenizePath(s){if(!s)return[[]];if(s==="/")return[[ROOT_TOKEN]];if(!s.startsWith("/"))throw new Error(`Invalid path "${s}"`);function l(oe){throw new Error(`ERR (${T})/"${X}": ${oe}`)}let T=0,F=T;const j=[];let U;function Y(){U&&j.push(U),U=[]}let W=0,Z,X="",ee="";function te(){!X||(T===0?U.push({type:0,value:X}):T===1||T===2||T===3?(U.length>1&&(Z==="*"||Z==="+")&&l(`A repeatable param (${X}) must be alone in its segment. eg: '/:ids+.`),U.push({type:1,value:X,regexp:ee,repeatable:Z==="*"||Z==="+",optional:Z==="*"||Z==="?"})):l("Invalid state to consume buffer"),X="")}function ne(){X+=Z}for(;W<s.length;){if(Z=s[W++],Z==="\\"&&T!==2){F=T,T=4;continue}switch(T){case 0:Z==="/"?(X&&te(),Y()):Z===":"?(te(),T=1):ne();break;case 4:ne(),T=F;break;case 1:Z==="("?T=2:VALID_PARAM_RE.test(Z)?ne():(te(),T=0,Z!=="*"&&Z!=="?"&&Z!=="+"&&W--);break;case 2:Z===")"?ee[ee.length-1]=="\\"?ee=ee.slice(0,-1)+Z:T=3:ee+=Z;break;case 3:te(),T=0,Z!=="*"&&Z!=="?"&&Z!=="+"&&W--,ee="";break;default:l("Unknown state");break}}return T===2&&l(`Unfinished custom RegExp for param "${X}"`),te(),Y(),j}function createRouteRecordMatcher(s,l,T){const F=tokensToParser(tokenizePath(s.path),T),j=assign(F,{record:s,parent:l,children:[],alias:[]});return l&&!j.record.aliasOf==!l.record.aliasOf&&l.children.push(j),j}function createRouterMatcher(s,l){const T=[],F=new Map;l=mergeOptions({strict:!1,end:!0,sensitive:!1},l);function j(ee){return F.get(ee)}function U(ee,te,ne){const oe=!ne,se=normalizeRouteRecord(ee);se.aliasOf=ne&&ne.record;const ae=mergeOptions(l,ee),ue=[se];if("alias"in ee){const me=typeof ee.alias=="string"?[ee.alias]:ee.alias;for(const Ce of me)ue.push(assign({},se,{components:ne?ne.record.components:se.components,path:Ce,aliasOf:ne?ne.record:se}))}let le,ce;for(const me of ue){const{path:Ce}=me;if(te&&Ce[0]!=="/"){const Re=te.record.path,_e=Re[Re.length-1]==="/"?"":"/";me.path=te.record.path+(Ce&&_e+Ce)}if(le=createRouteRecordMatcher(me,te,ae),ne?ne.alias.push(le):(ce=ce||le,ce!==le&&ce.alias.push(le),oe&&ee.name&&!isAliasRecord(le)&&Y(ee.name)),se.children){const Re=se.children;for(let _e=0;_e<Re.length;_e++)U(Re[_e],le,ne&&ne.children[_e])}ne=ne||le,Z(le)}return ce?()=>{Y(ce)}:noop}function Y(ee){if(isRouteName(ee)){const te=F.get(ee);te&&(F.delete(ee),T.splice(T.indexOf(te),1),te.children.forEach(Y),te.alias.forEach(Y))}else{const te=T.indexOf(ee);te>-1&&(T.splice(te,1),ee.record.name&&F.delete(ee.record.name),ee.children.forEach(Y),ee.alias.forEach(Y))}}function W(){return T}function Z(ee){let te=0;for(;te<T.length&&comparePathParserScore(ee,T[te])>=0&&(ee.record.path!==T[te].record.path||!isRecordChildOf(ee,T[te]));)te++;T.splice(te,0,ee),ee.record.name&&!isAliasRecord(ee)&&F.set(ee.record.name,ee)}function X(ee,te){let ne,oe={},se,ae;if("name"in ee&&ee.name){if(ne=F.get(ee.name),!ne)throw createRouterError(1,{location:ee});ae=ne.record.name,oe=assign(paramsFromLocation(te.params,ne.keys.filter(ce=>!ce.optional).map(ce=>ce.name)),ee.params&¶msFromLocation(ee.params,ne.keys.map(ce=>ce.name))),se=ne.stringify(oe)}else if("path"in ee)se=ee.path,ne=T.find(ce=>ce.re.test(se)),ne&&(oe=ne.parse(se),ae=ne.record.name);else{if(ne=te.name?F.get(te.name):T.find(ce=>ce.re.test(te.path)),!ne)throw createRouterError(1,{location:ee,currentLocation:te});ae=ne.record.name,oe=assign({},te.params,ee.params),se=ne.stringify(oe)}const ue=[];let le=ne;for(;le;)ue.unshift(le.record),le=le.parent;return{name:ae,path:se,params:oe,matched:ue,meta:mergeMetaFields(ue)}}return s.forEach(ee=>U(ee)),{addRoute:U,resolve:X,removeRoute:Y,getRoutes:W,getRecordMatcher:j}}function paramsFromLocation(s,l){const T={};for(const F of l)F in s&&(T[F]=s[F]);return T}function normalizeRouteRecord(s){return{path:s.path,redirect:s.redirect,name:s.name,meta:s.meta||{},aliasOf:void 0,beforeEnter:s.beforeEnter,props:normalizeRecordProps(s),children:s.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in s?s.components||null:s.component&&{default:s.component}}}function normalizeRecordProps(s){const l={},T=s.props||!1;if("component"in s)l.default=T;else for(const F in s.components)l[F]=typeof T=="boolean"?T:T[F];return l}function isAliasRecord(s){for(;s;){if(s.record.aliasOf)return!0;s=s.parent}return!1}function mergeMetaFields(s){return s.reduce((l,T)=>assign(l,T.meta),{})}function mergeOptions(s,l){const T={};for(const F in s)T[F]=F in l?l[F]:s[F];return T}function isRecordChildOf(s,l){return l.children.some(T=>T===s||isRecordChildOf(s,T))}const HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_BRACKET_OPEN_RE=/%5B/g,ENC_BRACKET_CLOSE_RE=/%5D/g,ENC_CARET_RE=/%5E/g,ENC_BACKTICK_RE=/%60/g,ENC_CURLY_OPEN_RE=/%7B/g,ENC_PIPE_RE=/%7C/g,ENC_CURLY_CLOSE_RE=/%7D/g,ENC_SPACE_RE=/%20/g;function commonEncode(s){return encodeURI(""+s).replace(ENC_PIPE_RE,"|").replace(ENC_BRACKET_OPEN_RE,"[").replace(ENC_BRACKET_CLOSE_RE,"]")}function encodeHash(s){return commonEncode(s).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(s){return commonEncode(s).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryKey(s){return encodeQueryValue(s).replace(EQUAL_RE,"%3D")}function encodePath(s){return commonEncode(s).replace(HASH_RE,"%23").replace(IM_RE,"%3F")}function encodeParam(s){return s==null?"":encodePath(s).replace(SLASH_RE,"%2F")}function decode(s){try{return decodeURIComponent(""+s)}catch{}return""+s}function parseQuery(s){const l={};if(s===""||s==="?")return l;const F=(s[0]==="?"?s.slice(1):s).split("&");for(let j=0;j<F.length;++j){const U=F[j].replace(PLUS_RE," "),Y=U.indexOf("="),W=decode(Y<0?U:U.slice(0,Y)),Z=Y<0?null:decode(U.slice(Y+1));if(W in l){let X=l[W];isArray(X)||(X=l[W]=[X]),X.push(Z)}else l[W]=Z}return l}function stringifyQuery(s){let l="";for(let T in s){const F=s[T];if(T=encodeQueryKey(T),F==null){F!==void 0&&(l+=(l.length?"&":"")+T);continue}(isArray(F)?F.map(U=>U&&encodeQueryValue(U)):[F&&encodeQueryValue(F)]).forEach(U=>{U!==void 0&&(l+=(l.length?"&":"")+T,U!=null&&(l+="="+U))})}return l}function normalizeQuery(s){const l={};for(const T in s){const F=s[T];F!==void 0&&(l[T]=isArray(F)?F.map(j=>j==null?null:""+j):F==null?F:""+F)}return l}const matchedRouteKey=Symbol(""),viewDepthKey=Symbol(""),routerKey=Symbol(""),routeLocationKey=Symbol(""),routerViewLocationKey=Symbol("");function useCallbacks(){let s=[];function l(F){return s.push(F),()=>{const j=s.indexOf(F);j>-1&&s.splice(j,1)}}function T(){s=[]}return{add:l,list:()=>s,reset:T}}function guardToPromiseFn(s,l,T,F,j){const U=F&&(F.enterCallbacks[j]=F.enterCallbacks[j]||[]);return()=>new Promise((Y,W)=>{const Z=te=>{te===!1?W(createRouterError(4,{from:T,to:l})):te instanceof Error?W(te):isRouteLocation(te)?W(createRouterError(2,{from:l,to:te})):(U&&F.enterCallbacks[j]===U&&typeof te=="function"&&U.push(te),Y())},X=s.call(F&&F.instances[j],l,T,Z);let ee=Promise.resolve(X);s.length<3&&(ee=ee.then(Z)),ee.catch(te=>W(te))})}function extractComponentsGuards(s,l,T,F){const j=[];for(const U of s)for(const Y in U.components){let W=U.components[Y];if(!(l!=="beforeRouteEnter"&&!U.instances[Y]))if(isRouteComponent(W)){const X=(W.__vccOpts||W)[l];X&&j.push(guardToPromiseFn(X,T,F,U,Y))}else{let Z=W();j.push(()=>Z.then(X=>{if(!X)return Promise.reject(new Error(`Couldn't resolve component "${Y}" at "${U.path}"`));const ee=isESModule(X)?X.default:X;U.components[Y]=ee;const ne=(ee.__vccOpts||ee)[l];return ne&&guardToPromiseFn(ne,T,F,U,Y)()}))}}return j}function isRouteComponent(s){return typeof s=="object"||"displayName"in s||"props"in s||"__vccOpts"in s}function useLink(s){const l=inject(routerKey),T=inject(routeLocationKey),F=computed(()=>l.resolve(unref(s.to))),j=computed(()=>{const{matched:Z}=F.value,{length:X}=Z,ee=Z[X-1],te=T.matched;if(!ee||!te.length)return-1;const ne=te.findIndex(isSameRouteRecord.bind(null,ee));if(ne>-1)return ne;const oe=getOriginalPath(Z[X-2]);return X>1&&getOriginalPath(ee)===oe&&te[te.length-1].path!==oe?te.findIndex(isSameRouteRecord.bind(null,Z[X-2])):ne}),U=computed(()=>j.value>-1&&includesParams(T.params,F.value.params)),Y=computed(()=>j.value>-1&&j.value===T.matched.length-1&&isSameRouteLocationParams(T.params,F.value.params));function W(Z={}){return guardEvent(Z)?l[unref(s.replace)?"replace":"push"](unref(s.to)).catch(noop):Promise.resolve()}return{route:F,href:computed(()=>F.value.href),isActive:U,isExactActive:Y,navigate:W}}const RouterLinkImpl=defineComponent({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,setup(s,{slots:l}){const T=reactive(useLink(s)),{options:F}=inject(routerKey),j=computed(()=>({[getLinkClass(s.activeClass,F.linkActiveClass,"router-link-active")]:T.isActive,[getLinkClass(s.exactActiveClass,F.linkExactActiveClass,"router-link-exact-active")]:T.isExactActive}));return()=>{const U=l.default&&l.default(T);return s.custom?U:h$5("a",{"aria-current":T.isExactActive?s.ariaCurrentValue:null,href:T.href,onClick:T.navigate,class:j.value},U)}}}),RouterLink=RouterLinkImpl;function guardEvent(s){if(!(s.metaKey||s.altKey||s.ctrlKey||s.shiftKey)&&!s.defaultPrevented&&!(s.button!==void 0&&s.button!==0)){if(s.currentTarget&&s.currentTarget.getAttribute){const l=s.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(l))return}return s.preventDefault&&s.preventDefault(),!0}}function includesParams(s,l){for(const T in l){const F=l[T],j=s[T];if(typeof F=="string"){if(F!==j)return!1}else if(!isArray(j)||j.length!==F.length||F.some((U,Y)=>U!==j[Y]))return!1}return!0}function getOriginalPath(s){return s?s.aliasOf?s.aliasOf.path:s.path:""}const getLinkClass=(s,l,T)=>s!=null?s:l!=null?l:T,RouterViewImpl=defineComponent({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(s,{attrs:l,slots:T}){const F=inject(routerViewLocationKey),j=computed(()=>s.route||F.value),U=inject(viewDepthKey,0),Y=computed(()=>{let X=unref(U);const{matched:ee}=j.value;let te;for(;(te=ee[X])&&!te.components;)X++;return X}),W=computed(()=>j.value.matched[Y.value]);provide(viewDepthKey,computed(()=>Y.value+1)),provide(matchedRouteKey,W),provide(routerViewLocationKey,j);const Z=ref();return watch(()=>[Z.value,W.value,s.name],([X,ee,te],[ne,oe,se])=>{ee&&(ee.instances[te]=X,oe&&oe!==ee&&X&&X===ne&&(ee.leaveGuards.size||(ee.leaveGuards=oe.leaveGuards),ee.updateGuards.size||(ee.updateGuards=oe.updateGuards))),X&&ee&&(!oe||!isSameRouteRecord(ee,oe)||!ne)&&(ee.enterCallbacks[te]||[]).forEach(ae=>ae(X))},{flush:"post"}),()=>{const X=j.value,ee=s.name,te=W.value,ne=te&&te.components[ee];if(!ne)return normalizeSlot(T.default,{Component:ne,route:X});const oe=te.props[ee],se=oe?oe===!0?X.params:typeof oe=="function"?oe(X):oe:null,ue=h$5(ne,assign({},se,l,{onVnodeUnmounted:le=>{le.component.isUnmounted&&(te.instances[ee]=null)},ref:Z}));return normalizeSlot(T.default,{Component:ue,route:X})||ue}}});function normalizeSlot(s,l){if(!s)return null;const T=s(l);return T.length===1?T[0]:T}const RouterView=RouterViewImpl;function createRouter(s){const l=createRouterMatcher(s.routes,s),T=s.parseQuery||parseQuery,F=s.stringifyQuery||stringifyQuery,j=s.history,U=useCallbacks(),Y=useCallbacks(),W=useCallbacks(),Z=shallowRef(START_LOCATION_NORMALIZED);let X=START_LOCATION_NORMALIZED;isBrowser&&s.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const ee=applyToParams.bind(null,he=>""+he),te=applyToParams.bind(null,encodeParam),ne=applyToParams.bind(null,decode);function oe(he,Ne){let ke,De;return isRouteName(he)?(ke=l.getRecordMatcher(he),De=Ne):De=he,l.addRoute(De,ke)}function se(he){const Ne=l.getRecordMatcher(he);Ne&&l.removeRoute(Ne)}function ae(){return l.getRoutes().map(he=>he.record)}function ue(he){return!!l.getRecordMatcher(he)}function le(he,Ne){if(Ne=assign({},Ne||Z.value),typeof he=="string"){const Ve=parseURL(T,he,Ne.path),re=l.resolve({path:Ve.path},Ne),ie=j.createHref(Ve.fullPath);return assign(Ve,re,{params:ne(re.params),hash:decode(Ve.hash),redirectedFrom:void 0,href:ie})}let ke;if("path"in he)ke=assign({},he,{path:parseURL(T,he.path,Ne.path).path});else{const Ve=assign({},he.params);for(const re in Ve)Ve[re]==null&&delete Ve[re];ke=assign({},he,{params:te(he.params)}),Ne.params=te(Ne.params)}const De=l.resolve(ke,Ne),Ue=he.hash||"";De.params=ee(ne(De.params));const Ke=stringifyURL(F,assign({},he,{hash:encodeHash(Ue),path:De.path})),Ye=j.createHref(Ke);return assign({fullPath:Ke,hash:Ue,query:F===stringifyQuery?normalizeQuery(he.query):he.query||{}},De,{redirectedFrom:void 0,href:Ye})}function ce(he){return typeof he=="string"?parseURL(T,he,Z.value.path):assign({},he)}function me(he,Ne){if(X!==he)return createRouterError(8,{from:Ne,to:he})}function Ce(he){return fe(he)}function Re(he){return Ce(assign(ce(he),{replace:!0}))}function _e(he){const Ne=he.matched[he.matched.length-1];if(Ne&&Ne.redirect){const{redirect:ke}=Ne;let De=typeof ke=="function"?ke(he):ke;return typeof De=="string"&&(De=De.includes("?")||De.includes("#")?De=ce(De):{path:De},De.params={}),assign({query:he.query,hash:he.hash,params:"path"in De?{}:he.params},De)}}function fe(he,Ne){const ke=X=le(he),De=Z.value,Ue=he.state,Ke=he.force,Ye=he.replace===!0,Ve=_e(ke);if(Ve)return fe(assign(ce(Ve),{state:typeof Ve=="object"?assign({},Ue,Ve.state):Ue,force:Ke,replace:Ye}),Ne||ke);const re=ke;re.redirectedFrom=Ne;let ie;return!Ke&&isSameRouteLocation(F,De,ke)&&(ie=createRouterError(16,{to:re,from:De}),We(De,De,!0,!1)),(ie?Promise.resolve(ie):Te(re,De)).catch(de=>isNavigationFailure(de)?isNavigationFailure(de,2)?de:He(de):$e(de,re,De)).then(de=>{if(de){if(isNavigationFailure(de,2))return fe(assign({replace:Ye},ce(de.to),{state:typeof de.to=="object"?assign({},Ue,de.to.state):Ue,force:Ke}),Ne||re)}else de=ze(re,De,!0,Ye,Ue);return Se(re,De,de),de})}function ge(he,Ne){const ke=me(he,Ne);return ke?Promise.reject(ke):Promise.resolve()}function Te(he,Ne){let ke;const[De,Ue,Ke]=extractChangingRecords(he,Ne);ke=extractComponentsGuards(De.reverse(),"beforeRouteLeave",he,Ne);for(const Ve of De)Ve.leaveGuards.forEach(re=>{ke.push(guardToPromiseFn(re,he,Ne))});const Ye=ge.bind(null,he,Ne);return ke.push(Ye),runGuardQueue(ke).then(()=>{ke=[];for(const Ve of U.list())ke.push(guardToPromiseFn(Ve,he,Ne));return ke.push(Ye),runGuardQueue(ke)}).then(()=>{ke=extractComponentsGuards(Ue,"beforeRouteUpdate",he,Ne);for(const Ve of Ue)Ve.updateGuards.forEach(re=>{ke.push(guardToPromiseFn(re,he,Ne))});return ke.push(Ye),runGuardQueue(ke)}).then(()=>{ke=[];for(const Ve of he.matched)if(Ve.beforeEnter&&!Ne.matched.includes(Ve))if(isArray(Ve.beforeEnter))for(const re of Ve.beforeEnter)ke.push(guardToPromiseFn(re,he,Ne));else ke.push(guardToPromiseFn(Ve.beforeEnter,he,Ne));return ke.push(Ye),runGuardQueue(ke)}).then(()=>(he.matched.forEach(Ve=>Ve.enterCallbacks={}),ke=extractComponentsGuards(Ke,"beforeRouteEnter",he,Ne),ke.push(Ye),runGuardQueue(ke))).then(()=>{ke=[];for(const Ve of Y.list())ke.push(guardToPromiseFn(Ve,he,Ne));return ke.push(Ye),runGuardQueue(ke)}).catch(Ve=>isNavigationFailure(Ve,8)?Ve:Promise.reject(Ve))}function Se(he,Ne,ke){for(const De of W.list())De(he,Ne,ke)}function ze(he,Ne,ke,De,Ue){const Ke=me(he,Ne);if(Ke)return Ke;const Ye=Ne===START_LOCATION_NORMALIZED,Ve=isBrowser?history.state:{};ke&&(De||Ye?j.replace(he.fullPath,assign({scroll:Ye&&Ve&&Ve.scroll},Ue)):j.push(he.fullPath,Ue)),Z.value=he,We(he,Ne,ke,Ye),He()}let Me;function Pe(){Me||(Me=j.listen((he,Ne,ke)=>{if(!pt.listening)return;const De=le(he),Ue=_e(De);if(Ue){fe(assign(Ue,{replace:!0}),De).catch(noop);return}X=De;const Ke=Z.value;isBrowser&&saveScrollPosition(getScrollKey(Ke.fullPath,ke.delta),computeScrollPosition()),Te(De,Ke).catch(Ye=>isNavigationFailure(Ye,12)?Ye:isNavigationFailure(Ye,2)?(fe(Ye.to,De).then(Ve=>{isNavigationFailure(Ve,20)&&!ke.delta&&ke.type===NavigationType.pop&&j.go(-1,!1)}).catch(noop),Promise.reject()):(ke.delta&&j.go(-ke.delta,!1),$e(Ye,De,Ke))).then(Ye=>{Ye=Ye||ze(De,Ke,!1),Ye&&(ke.delta&&!isNavigationFailure(Ye,8)?j.go(-ke.delta,!1):ke.type===NavigationType.pop&&isNavigationFailure(Ye,20)&&j.go(-1,!1)),Se(De,Ke,Ye)}).catch(noop)}))}let pe=useCallbacks(),we=useCallbacks(),Ae;function $e(he,Ne,ke){He(he);const De=we.list();return De.length?De.forEach(Ue=>Ue(he,Ne,ke)):console.error(he),Promise.reject(he)}function xe(){return Ae&&Z.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise((he,Ne)=>{pe.add([he,Ne])})}function He(he){return Ae||(Ae=!he,Pe(),pe.list().forEach(([Ne,ke])=>he?ke(he):Ne()),pe.reset()),he}function We(he,Ne,ke,De){const{scrollBehavior:Ue}=s;if(!isBrowser||!Ue)return Promise.resolve();const Ke=!ke&&getSavedScrollPosition(getScrollKey(he.fullPath,0))||(De||!ke)&&history.state&&history.state.scroll||null;return nextTick().then(()=>Ue(he,Ne,Ke)).then(Ye=>Ye&&scrollToPosition(Ye)).catch(Ye=>$e(Ye,he,Ne))}const Qe=he=>j.go(he);let Ge;const Ze=new Set,pt={currentRoute:Z,listening:!0,addRoute:oe,removeRoute:se,hasRoute:ue,getRoutes:ae,resolve:le,options:s,push:Ce,replace:Re,go:Qe,back:()=>Qe(-1),forward:()=>Qe(1),beforeEach:U.add,beforeResolve:Y.add,afterEach:W.add,onError:we.add,isReady:xe,install(he){const Ne=this;he.component("RouterLink",RouterLink),he.component("RouterView",RouterView),he.config.globalProperties.$router=Ne,Object.defineProperty(he.config.globalProperties,"$route",{enumerable:!0,get:()=>unref(Z)}),isBrowser&&!Ge&&Z.value===START_LOCATION_NORMALIZED&&(Ge=!0,Ce(j.location).catch(Ue=>{}));const ke={};for(const Ue in START_LOCATION_NORMALIZED)ke[Ue]=computed(()=>Z.value[Ue]);he.provide(routerKey,Ne),he.provide(routeLocationKey,reactive(ke)),he.provide(routerViewLocationKey,Z);const De=he.unmount;Ze.add(he),he.unmount=function(){Ze.delete(he),Ze.size<1&&(X=START_LOCATION_NORMALIZED,Me&&Me(),Me=null,Z.value=START_LOCATION_NORMALIZED,Ge=!1,Ae=!1),De()}}};return pt}function runGuardQueue(s){return s.reduce((l,T)=>l.then(()=>T()),Promise.resolve())}function extractChangingRecords(s,l){const T=[],F=[],j=[],U=Math.max(l.matched.length,s.matched.length);for(let Y=0;Y<U;Y++){const W=l.matched[Y];W&&(s.matched.find(X=>isSameRouteRecord(X,W))?F.push(W):T.push(W));const Z=s.matched[Y];Z&&(l.matched.find(X=>isSameRouteRecord(X,Z))||j.push(Z))}return[T,F,j]}function useRouter(){return inject(routerKey)}function useRoute(){return inject(routeLocationKey)}const useActiveHeaderLinks=({headerLinkSelector:s,headerAnchorSelector:l,delay:T,offset:F=5})=>{const j=useRouter(),Y=r$2(()=>{var ae,ue,le,ce;const W=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(W-0)<F){updateHash(j,"");return}const X=window.innerHeight+W,ee=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),te=Math.abs(ee-X)<F,ne=Array.from(document.querySelectorAll(s)),se=Array.from(document.querySelectorAll(l)).filter(me=>ne.some(Ce=>Ce.hash===me.hash));for(let me=0;me<se.length;me++){const Ce=se[me],Re=se[me+1],_e=W>=((ue=(ae=Ce.parentElement)==null?void 0:ae.offsetTop)!=null?ue:0)-F,fe=!Re||W<((ce=(le=Re.parentElement)==null?void 0:le.offsetTop)!=null?ce:0)-F;if(!(_e&&fe))continue;const Te=decodeURIComponent(j.currentRoute.value.hash),Se=decodeURIComponent(Ce.hash);if(Te===Se)return;if(te){for(let ze=me+1;ze<se.length;ze++)if(Te===decodeURIComponent(se[ze].hash))return}updateHash(j,Se);return}},T);onMounted(()=>{window.addEventListener("scroll",Y)}),onBeforeUnmount(()=>{window.removeEventListener("scroll",Y)})},updateHash=async(s,l)=>{const{scrollBehavior:T}=s.options;s.options.scrollBehavior=void 0,await s.replace({query:s.currentRoute.value.query,hash:l,force:!0}).finally(()=>s.options.scrollBehavior=T)},headerLinkSelector=".sidebar-link, .toc-link",headerAnchorSelector=".header-anchor",delay=200,offset=5,clientConfig2=defineClientConfig({setup(){useActiveHeaderLinks({headerLinkSelector,headerAnchorSelector,delay,offset})}}),vars$1="",externalLinkIcon="",svg=h$5("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"},[h$5("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"}),h$5("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"})]),ExternalLinkIcon=defineComponent({name:"ExternalLinkIcon",props:{locales:{type:Object,required:!1,default:()=>({})}},setup(s){const l=useRouteLocale(),T=computed(()=>{var F;return(F=s.locales[l.value])!=null?F:{openInNewWindow:"open in new window"}});return()=>h$5("span",[svg,h$5("span",{class:"external-link-icon-sr-only"},T.value.openInNewWindow)])}}),locales={},clientConfig3=defineClientConfig({enhance({app:s}){s.component("ExternalLinkIcon",h$5(ExternalLinkIcon,{locales}))}});/**
|
|
* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
|
* @license MIT
|
|
*/const nprogress$1={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:s=>{const l=nprogress$1.isStarted();s=clamp(s,nprogress$1.settings.minimum,1),nprogress$1.status=s===1?null:s;const T=nprogress$1.render(!l),F=T.querySelector(nprogress$1.settings.barSelector),j=nprogress$1.settings.speed,U=nprogress$1.settings.easing;return T.offsetWidth,queue(Y=>{css(F,{transform:"translate3d("+toBarPerc(s)+"%,0,0)",transition:"all "+j+"ms "+U}),s===1?(css(T,{transition:"none",opacity:"1"}),T.offsetWidth,setTimeout(function(){css(T,{transition:"all "+j+"ms linear",opacity:"0"}),setTimeout(function(){nprogress$1.remove(),Y()},j)},j)):setTimeout(()=>Y(),j)}),nprogress$1},isStarted:()=>typeof nprogress$1.status=="number",start:()=>{nprogress$1.status||nprogress$1.set(0);const s=()=>{setTimeout(()=>{!nprogress$1.status||(nprogress$1.trickle(),s())},nprogress$1.settings.trickleSpeed)};return nprogress$1.settings.trickle&&s(),nprogress$1},done:s=>!s&&!nprogress$1.status?nprogress$1:nprogress$1.inc(.3+.5*Math.random()).set(1),inc:s=>{let l=nprogress$1.status;return l?(typeof s!="number"&&(s=(1-l)*clamp(Math.random()*l,.1,.95)),l=clamp(l+s,0,.994),nprogress$1.set(l)):nprogress$1.start()},trickle:()=>nprogress$1.inc(Math.random()*nprogress$1.settings.trickleRate),render:s=>{if(nprogress$1.isRendered())return document.getElementById("nprogress");addClass(document.documentElement,"nprogress-busy");const l=document.createElement("div");l.id="nprogress",l.innerHTML=nprogress$1.settings.template;const T=l.querySelector(nprogress$1.settings.barSelector),F=s?"-100":toBarPerc(nprogress$1.status||0),j=document.querySelector(nprogress$1.settings.parent);return css(T,{transition:"all 0 linear",transform:"translate3d("+F+"%,0,0)"}),j!==document.body&&addClass(j,"nprogress-custom-parent"),j==null||j.appendChild(l),l},remove:()=>{removeClass(document.documentElement,"nprogress-busy"),removeClass(document.querySelector(nprogress$1.settings.parent),"nprogress-custom-parent");const s=document.getElementById("nprogress");s&&removeElement(s)},isRendered:()=>!!document.getElementById("nprogress")},clamp=(s,l,T)=>s<l?l:s>T?T:s,toBarPerc=s=>(-1+s)*100,queue=function(){const s=[];function l(){const T=s.shift();T&&T(l)}return function(T){s.push(T),s.length===1&&l()}}(),css=function(){const s=["Webkit","O","Moz","ms"],l={};function T(Y){return Y.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(W,Z){return Z.toUpperCase()})}function F(Y){const W=document.body.style;if(Y in W)return Y;let Z=s.length;const X=Y.charAt(0).toUpperCase()+Y.slice(1);let ee;for(;Z--;)if(ee=s[Z]+X,ee in W)return ee;return Y}function j(Y){return Y=T(Y),l[Y]||(l[Y]=F(Y))}function U(Y,W,Z){W=j(W),Y.style[W]=Z}return function(Y,W){for(const Z in W){const X=W[Z];X!==void 0&&Object.prototype.hasOwnProperty.call(W,Z)&&U(Y,Z,X)}}}(),hasClass=(s,l)=>(typeof s=="string"?s:classList(s)).indexOf(" "+l+" ")>=0,addClass=(s,l)=>{const T=classList(s),F=T+l;hasClass(T,l)||(s.className=F.substring(1))},removeClass=(s,l)=>{const T=classList(s);if(!hasClass(s,l))return;const F=T.replace(" "+l+" "," ");s.className=F.substring(1,F.length-1)},classList=s=>(" "+(s.className||"")+" ").replace(/\s+/gi," "),removeElement=s=>{s&&s.parentNode&&s.parentNode.removeChild(s)},vars="",nprogress="",useNprogress=()=>{onMounted(()=>{const s=useRouter(),l=new Set;l.add(s.currentRoute.value.path),s.beforeEach(T=>{l.has(T.path)||nprogress$1.start()}),s.afterEach(T=>{l.add(T.path),nprogress$1.done()})})},clientConfig4=defineClientConfig({setup(){useNprogress()}}),themeData$1=JSON.parse(`{"blog":{},"encrypt":{},"pure":false,"darkmode":"switch","themeColor":false,"fullscreen":false,"locales":{"/en/":{"blog":{},"repoDisplay":true,"navbarIcon":true,"navbarAutoHide":"mobile","hideSiteNameonMobile":true,"sidebar":{"/en/":["",{"icon":"discover","text":"Demo","prefix":"demo/","link":"demo/","children":"structure"},{"text":"Docs","icon":"note","prefix":"guide/","children":"structure"},"slides"]},"sidebarIcon":true,"headerDepth":2,"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"},"outlookLocales":{"themeColor":"Theme Color","darkmode":"Theme Mode","fullscreen":"Full Screen"},"encryptLocales":{"iconLabel":"Page Encrypted","placeholder":"Enter password","remember":"Remember password","errorHint":"Please enter the correct password!"},"routeLocales":{"notFoundMsg":["There\u2019s nothing here.","How did we get here?","That\u2019s a Four-Oh-Four.","Looks like we've got some broken links."],"back":"Go back","home":"Take me home","openInNewWindow":"Open in new window"},"author":{"name":"DGP-Studio","url":"https://github.com/DGP-Studio"},"logo":"/images/202209/HeroImageLogo.png","repo":"DGP-Studio/Snap.Hutao","docsDir":"demo/theme-docs/src","pageInfo":["Author","Original","Date","Category","Tag","ReadingTime"],"navbar":["/en/",{"text":"\u4E0B\u8F7D","icon":"download","link":"https://go.hut.ao/archive"},{"text":"\u6587\u6863","icon":"documents","link":"/documents/"},{"text":"GitHub","icon":"github","link":"https://github.com/DGP-Studio/Snap.Hutao"}],"footer":"Default footer","displayFooter":true},"/":{"blog":{},"repoDisplay":true,"navbarIcon":true,"navbarAutoHide":"mobile","hideSiteNameonMobile":true,"sidebar":{"/":["",{"icon":"play","text":"\u5FEB\u901F\u5F00\u59CB","link":"quick-start.md"},{"icon":"read","text":"\u529F\u80FD\u6307\u5357","prefix":"documents/features/","children":"structure"},{"icon":"article","text":"\u58F0\u660E\u548C\u516C\u544A","prefix":"documents/statements/","children":"structure"}]},"sidebarIcon":true,"headerDepth":2,"lang":"zh-CN","navbarLocales":{"langName":"\u7B80\u4F53\u4E2D\u6587","selectLangAriaLabel":"\u9009\u62E9\u8BED\u8A00"},"metaLocales":{"author":"\u4F5C\u8005","date":"\u5199\u4F5C\u65E5\u671F","origin":"\u539F\u521B","views":"\u8BBF\u95EE\u91CF","category":"\u5206\u7C7B","tag":"\u6807\u7B7E","readingTime":"\u9605\u8BFB\u65F6\u95F4","words":"\u5B57\u6570","toc":"\u6B64\u9875\u5185\u5BB9","prev":"\u4E0A\u4E00\u9875","next":"\u4E0B\u4E00\u9875","lastUpdated":"\u4E0A\u6B21\u7F16\u8F91\u4E8E","contributors":"\u8D21\u732E\u8005","editLink":"\u5728 GitHub \u4E0A\u7F16\u8F91\u6B64\u9875"},"outlookLocales":{"themeColor":"\u4E3B\u9898\u8272","darkmode":"\u5916\u89C2","fullscreen":"\u5168\u5C4F"},"encryptLocales":{"iconLabel":"\u6587\u7AE0\u5DF2\u52A0\u5BC6","placeholder":"\u8F93\u5165\u5BC6\u7801","remember":"\u8BB0\u4F4F\u5BC6\u7801","errorHint":"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u5BC6\u7801"},"routeLocales":{"notFoundMsg":["\u8FD9\u91CC\u4EC0\u4E48\u4E5F\u6CA1\u6709","\u6211\u4EEC\u662F\u600E\u4E48\u6765\u5230\u8FD9\u513F\u7684\uFF1F","\u8FD9 \u662F \u56DB \u96F6 \u56DB !","\u770B\u8D77\u6765\u4F60\u8BBF\u95EE\u4E86\u4E00\u4E2A\u5931\u6548\u7684\u94FE\u63A5"],"back":"\u8FD4\u56DE\u4E0A\u4E00\u9875","home":"\u5E26\u6211\u56DE\u5BB6","openInNewWindow":"Open in new window"},"author":{"name":"DGP-Studio","url":"https://github.com/DGP-Studio"},"logo":"/images/202209/HeroImageLogo.png","repo":"DGP-Studio/Snap.Hutao","docsDir":"demo/theme-docs/src","pageInfo":["Author","Original","Date","Category","Tag","ReadingTime"],"navbar":["/",{"text":"\u6587\u6863","icon":"article","link":"/documents/"},{"text":"\u4E0B\u8F7D","icon":"install","link":"https://go.hut.ao/archive"}],"footer":"\u9ED8\u8BA4\u9875\u811A","displayFooter":true}}}`),themeData=ref(themeData$1),useThemeData$1=()=>themeData;import.meta.webpackHot&&(__VUE_HMR_RUNTIME__.updateThemeData=s=>{themeData.value=s});const themeLocaleDataSymbol=Symbol(""),useThemeLocaleData$1=()=>{const s=inject(themeLocaleDataSymbol);if(!s)throw new Error("useThemeLocaleData() is called without provider.");return s},resolveThemeLocaleData=(s,l)=>{var T;return{...s,...(T=s.locales)==null?void 0:T[l]}},clientConfig5=defineClientConfig({enhance({app:s}){const l=useThemeData$1(),T=s._context.provides[routeLocaleSymbol],F=computed(()=>resolveThemeLocaleData(l.value,T.value));s.provide(themeLocaleDataSymbol,F),Object.defineProperties(s.config.globalProperties,{$theme:{get(){return l.value}},$themeLocale:{get(){return F.value}}})}}),message="",balloon="",button="",E$2=async s=>{try{return navigator.clipboard.writeText(s)}catch{const l=document.createElement("textarea"),T=document.activeElement;l.value=s,l.setAttribute("readonly",""),l.style.contain="strict",l.style.position="absolute",l.style.left="-9999px",l.style.fontSize="12pt";const F=document.getSelection(),j=F?F.rangeCount>0&&F.getRangeAt(0):null;document.body.appendChild(l),l.select(),l.selectionStart=0,l.selectionEnd=s.length,document.execCommand("copy"),document.body.removeChild(l),j&&(F.removeAllRanges(),F.addRange(j)),T&&T.focus()}},C$3='<svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#06a35a"><path d="M822.812 824.618c-83.076 81.992-188.546 124.614-316.05 127.865-122.085-3.251-223.943-45.873-305.935-127.865S76.213 640.406 72.962 518.682c3.251-127.503 45.873-232.973 127.865-316.05 81.992-83.075 184.211-126.058 305.936-129.309 127.503 3.251 232.973 46.234 316.049 129.31 83.076 83.076 126.059 188.546 129.31 316.05-2.89 121.723-46.234 223.943-129.31 305.935zM432.717 684.111c3.973 3.974 8.307 5.78 13.364 6.14 5.057.362 9.753-1.444 13.365-5.417l292.57-287.515c3.974-3.973 5.78-8.307 5.78-13.364s-1.806-9.753-5.78-13.365l1.807 1.806c-3.973-3.973-8.669-5.779-14.087-6.14-5.418-.361-10.475 1.445-14.809 5.418L460.529 592.006c-3.973 3.25-8.669 4.695-14.448 4.695-5.78 0-10.836-1.445-15.531-3.973l-94.273-72.962c-4.335-3.251-9.392-4.335-14.448-3.973s-9.392 3.25-12.642 7.585l-2.89 3.973c-3.25 4.334-4.334 9.391-3.973 14.81.722 5.417 2.528 10.113 5.779 14.086L432.717 684.11z"/></svg>',c$2={selector:'.theme-hope-content div[class*="language-"] pre',pure:!1},m=()=>navigator?/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/iu.test(navigator.userAgent):!1,p$1=new Map,w$1=()=>{const s=useRoute(),l=Dt({"/en/":{copy:"Copy code",copied:"Copied",hint:"Copied successfully"},"/":{copy:"\u590D\u5236\u4EE3\u7801",copied:"\u5DF2\u590D\u5236",hint:"\u590D\u5236\u6210\u529F"}});let T;const F=Y=>{if(!Y.hasAttribute("copy-code-registered")){const W=document.createElement("button");W.classList.add("copy"),W.innerHTML='<div class="copy-icon" />',W.setAttribute("aria-label",l.value.copy),W.setAttribute("data-copied",l.value.copied),W.setAttribute("data-balloon-pos","left"),Y.parentElement&&Y.parentElement.insertBefore(W,Y),Y.setAttribute("copy-code-registered","")}},j=()=>{const Y=c$2.selector;setTimeout(()=>{document.querySelectorAll(Y).forEach(F)},c$2.delay||500)},U=(Y,W,Z)=>{let{innerText:X=""}=W;/language-(shellscript|shell|bash|sh|zsh)/.test(Y.classList.toString())&&(X=X.replace(/^ *(\$|>) /gm,"")),E$2(X).then(()=>{Z.classList.add("copied"),clearTimeout(p$1.get(Z));const ee=setTimeout(()=>{Z.classList.remove("copied"),Z.blur(),p$1.delete(Z)},2e3);p$1.set(Z,ee),T.pop(`${C$3}<span>${l.value.hint} \u{1F389}</span>`,c$2.duration)})};onMounted(()=>{T=new kt,(!m()||c$2.showInMobile)&&j(),window.addEventListener("click",Y=>{const W=Y.target;if(W.matches('div[class*="language-"] > button.copy')){const Z=W.parentElement,X=W.nextElementSibling;X&&U(Z,X,W)}else if(W.matches('div[class*="language-"] div.copy-icon')){const Z=W.parentElement,X=Z.parentElement,ee=Z.nextElementSibling;ee&&U(X,ee,Z)}})}),watch(()=>s.path,()=>{(!m()||c$2.showInMobile)&&j()})};var A$1=defineClientConfig({setup:()=>{w$1()}});const chart="",LOADING_SVG$1='<svg xmlns="http://www.w3.org/2000/svg" class="loading-icon" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid"><circle cx="50" cy="50" r="0" fill="none" stroke="currentColor" stroke-width="2"><animate attributeName="r" repeatCount="indefinite" dur="1s" values="0;40" keyTimes="0;1" keySplines="0 0.2 0.8 1" calcMode="spline" begin="0s"/><animate attributeName="opacity" repeatCount="indefinite" dur="1s" values="1;0" keyTimes="0;1" keySplines="0.2 0 0.8 1" calcMode="spline" begin="0s"/></circle><circle cx="50" cy="50" r="0" fill="none" stroke="currentColor" stroke-width="2"><animate attributeName="r" repeatCount="indefinite" dur="1s" values="0;40" keyTimes="0;1" keySplines="0 0.2 0.8 1" calcMode="spline" begin="-0.3333333333333333s"/><animate attributeName="opacity" repeatCount="indefinite" dur="1s" values="1;0" keyTimes="0;1" keySplines="0.2 0 0.8 1" calcMode="spline" begin="-0.3333333333333333s"/></circle><circle cx="50" cy="50" r="0" fill="none" stroke="currentColor" stroke-width="2"><animate attributeName="r" repeatCount="indefinite" dur="1s" values="0;40" keyTimes="0;1" keySplines="0 0.2 0.8 1" calcMode="spline" begin="-0.6666666666666666s"/><animate attributeName="opacity" repeatCount="indefinite" dur="1s" values="1;0" keyTimes="0;1" keySplines="0.2 0 0.8 1" calcMode="spline" begin="-0.6666666666666666s"/></circle></svg>',parseChartConfig=(config,type)=>{if(type==="json")return JSON.parse(config);const exports={},module={exports};return eval(config),module.exports};var ChartJS=defineComponent({name:"ChartJS",props:{config:{type:String,required:!0},id:{type:String,required:!0},title:{type:String,default:""},type:{type:String,default:"json"}},setup(s){const l=ref(null),T=ref(null),F=ref(!0);return onMounted(()=>{Promise.all([__vitePreload(()=>import("./auto.264f6c8c.js"),[]),new Promise(j=>setTimeout(j,500))]).then(([{default:j}])=>{j.defaults.maintainAspectRatio=!1;const U=parseChartConfig(decodeURIComponent(s.config),s.type),Y=T.value.getContext("2d");new j(Y,U),F.value=!1})}),()=>[s.title?h$5("div",{class:"chart-title"},decodeURIComponent(s.title)):null,F.value?h$5("div",{class:"chart-loading-wrapper",innerHTML:LOADING_SVG$1}):null,h$5("div",{ref:l,class:"chart-wrapper",id:s.id,style:{display:F.value?"none":"block"}},h$5("canvas",{ref:T,height:400}))]}});const codeTabs="",i$1=useStorage("VUEPRESS_CODE_TAB_STORE",{});var h$3=defineComponent({name:"CodeTabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},tabId:{type:String,default:""}},setup(s,{slots:l}){const T=ref((()=>{if(s.tabId){const Z=s.data.findIndex(({title:X,value:ee=X})=>i$1.value[s.tabId]===ee);if(Z!==-1)return Z}return s.active})()),F=ref([]),j=()=>{if(s.tabId){const{title:Z,value:X=Z}=s.data[T.value];i$1.value[s.tabId]=X}},U=(Z=T.value)=>{T.value=Z<F.value.length-1?Z+1:0,F.value[T.value].focus()},Y=(Z=T.value)=>{T.value=Z>0?Z-1:F.value.length-1,F.value[T.value].focus()},W=(Z,X)=>{if(Z.key===" "||Z.key==="Enter"?(Z.preventDefault(),T.value=X):Z.key==="ArrowRight"?(Z.preventDefault(),U()):Z.key==="ArrowLeft"&&(Z.preventDefault(),Y()),s.tabId){const{title:ee,value:te=ee}=s.data[T.value];i$1.value[s.tabId]=te}};return watch(()=>i$1.value[s.tabId],(Z,X)=>{if(s.tabId&&Z!==X){const ee=s.data.findIndex(({title:te,value:ne=te})=>ne===Z);ee!==-1&&(T.value=ee)}}),()=>h$5(ClientOnly,()=>s.data.length?h$5("div",{class:"code-tabs"},[h$5("div",{class:"code-tabs-nav"},s.data.map(({title:Z},X)=>{const ee=X===T.value;return h$5("button",{ref:te=>{te&&(F.value[X]=te)},class:["code-tabs-nav-tab",{active:ee}],"aria-pressed":ee,"aria-expanded":ee,onClick:()=>{T.value=X,j()},onKeydown:te=>W(te,X)},Z)})),s.data.map(({title:Z,value:X=Z},ee)=>{var te;const ne=ee===T.value;return h$5("div",{class:["code-tab",{active:ne}],"aria-selected":ne},(te=l[`tab${ee}`])==null?void 0:te.call(l,{title:Z,value:X,isActive:ne}))})]):null)}});const index$2="",codeDemo="",k$3='<svg xmlns="http://www.w3.org/2000/svg" class="loading-icon" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid"><circle cx="50" cy="50" r="0" fill="none" stroke="currentColor" stroke-width="2"><animate attributeName="r" repeatCount="indefinite" dur="1s" values="0;40" keyTimes="0;1" keySplines="0 0.2 0.8 1" calcMode="spline" begin="0s"/><animate attributeName="opacity" repeatCount="indefinite" dur="1s" values="1;0" keyTimes="0;1" keySplines="0.2 0 0.8 1" calcMode="spline" begin="0s"/></circle><circle cx="50" cy="50" r="0" fill="none" stroke="currentColor" stroke-width="2"><animate attributeName="r" repeatCount="indefinite" dur="1s" values="0;40" keyTimes="0;1" keySplines="0 0.2 0.8 1" calcMode="spline" begin="-0.3333333333333333s"/><animate attributeName="opacity" repeatCount="indefinite" dur="1s" values="1;0" keyTimes="0;1" keySplines="0.2 0 0.8 1" calcMode="spline" begin="-0.3333333333333333s"/></circle><circle cx="50" cy="50" r="0" fill="none" stroke="currentColor" stroke-width="2"><animate attributeName="r" repeatCount="indefinite" dur="1s" values="0;40" keyTimes="0;1" keySplines="0 0.2 0.8 1" calcMode="spline" begin="-0.6666666666666666s"/><animate attributeName="opacity" repeatCount="indefinite" dur="1s" values="1;0" keyTimes="0;1" keySplines="0.2 0 0.8 1" calcMode="spline" begin="-0.6666666666666666s"/></circle></svg>',q='<svg class="codepen-icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="200" height="200"><path d="M123.429 668L468 897.714V692.571L277.143 565.143zM88 585.714L198.286 512 88 438.286v147.428zm468 312L900.571 668 746.857 565.143 556 692.57v205.143zM512 616l155.429-104L512 408 356.571 512zM277.143 458.857L468 331.43V126.286L123.429 356zM825.714 512L936 585.714V438.286zm-78.857-53.143L900.571 356 556 126.286v205.143zM1024 356v312q0 23.429-19.429 36.571l-468 312Q524.571 1024 512 1024t-24.571-7.429l-468-312Q0 691.43 0 668V356q0-23.429 19.429-36.571l468-312Q499.429 0 512 0t24.571 7.429l468 312Q1024 332.57 1024 356z"/></svg>',$='<svg class="jsfiddle-icon" viewBox="0 0 1170 1024" xmlns="http://www.w3.org/2000/svg" width="228.516" height="200"><path d="M1028.571 441.143q63.429 26.286 102.572 83.143t39.143 126.571q0 93.714-67.429 160.286T940 877.714q-2.286 0-6.571-.285t-6-.286H232q-97.143-5.714-164.571-71.714T0 645.143q0-62.857 31.429-116t84-84q-6.858-22.286-6.858-46.857 0-65.715 46.858-112T269.143 240q54.286 0 98.286 33.143 42.857-88 127.142-141.714t186.572-53.715q94.857 0 174.857 46t126.571 124.857 46.572 172q0 3.429-.286 10.286t-.286 10.286zm-761.142 152q0 69.714 48 110.286T434.286 744q78.285 0 137.143-56.571-9.143-11.429-27.143-32.286t-24.857-28.857q-38.286 37.143-82.286 37.143-31.429 0-53.429-19.143t-22-50q0-30.286 22-49.715T436 525.143q25.143 0 48.286 12T526 568.57t37.143 42.858 39.428 46.857 44 42.857T702 732.57t69.429 12q69.142 0 116.857-40.857T936 594.857q0-69.143-48-109.714T769.714 444.57Q688 444.571 632 500l53.143 61.714q37.714-36.571 81.143-36.571 29.714 0 52.571 18.857t22.857 48q0 32.571-21.143 52.286T766.857 664q-24.571 0-47.143-12t-41.143-31.429-37.428-42.857-39.714-46.857T557.143 488 502 456.571t-67.714-12q-69.715 0-118.286 40.286t-48.571 108.286z"/></svg>',w={useBabel:!1,jsLib:[],cssLib:[],codepenLayout:"left",codepenEditors:"101",babel:"https://unpkg.com/@babel/standalone/babel.min.js",vue:"https://unpkg.com/vue/dist/vue.global.prod.js",react:"https://unpkg.com/react/umd/react.production.min.js",reactDOM:"https://unpkg.com/react-dom/umd/react-dom.production.min.js"},S$1={html:{types:["html","slim","haml","md","markdown","vue"],map:{html:"none",vue:"none",md:"markdown"}},js:{types:["js","javascript","coffee","coffeescript","ts","typescript","ls","livescript"],map:{js:"none",javascript:"none",coffee:"coffeescript",ls:"livescript",ts:"typescript"}},css:{types:["css","less","sass","scss","stylus","styl"],map:{css:"none",styl:"stylus"}}},E$1=(s,l,T)=>{const F=document.createElement(s);return l&&Object.keys(l).forEach(j=>{if(j.indexOf("data"))F[j]=l[j];else{const U=j.replace("data","");F.dataset[U]=l[j]}}),T&&T.forEach(j=>{F.appendChild(j)}),F},L=s=>({...w,...s,jsLib:Array.from(new Set([...w.jsLib||[],...s.jsLib||[]])),cssLib:Array.from(new Set([...w.cssLib||[],...s.cssLib||[]]))}),v=(s,l)=>{if(s[l]!==void 0)return s[l];const T=new Promise(F=>{var j;const U=document.createElement("script");U.src=l,(j=document.querySelector("body"))==null||j.appendChild(U),U.onload=()=>{F()}});return s[l]=T,T},N=(s,l)=>{if(l.css&&Array.from(s.childNodes).every(T=>T.nodeName!=="STYLE")){const T=E$1("style",{innerHTML:l.css});s.appendChild(T)}},O$1=(s,l,T)=>{const F=T.getScript();if(F&&Array.from(l.childNodes).every(j=>j.nodeName!=="SCRIPT")){const j=document.createElement("script");j.appendChild(document.createTextNode(`{const document=window.document.querySelector('#${s} .code-demo-container').shadowRoot;
|
|
${F}}`)),l.appendChild(j)}},A=s=>{const l=Object.keys(s),T={html:[],js:[],css:[],isLegal:!1};return["html","js","css"].forEach(F=>{const j=l.filter(U=>S$1[F].types.includes(U));if(j.length){const U=j[0];T[F]=[s[U].replace(/^\n|\n$/g,""),S$1[F].map[U]||U]}}),T.isLegal=(!T.html.length||T.html[1]==="none")&&(!T.js.length||T.js[1]==="none")&&(!T.css.length||T.css[1]==="none"),T},C$2=s=>s.replace(/<br \/>/g,"<br>").replace(/<((\S+)[^<]*?)\s+\/>/g,"<$1></$2>"),x=s=>`<div id="app">
|
|
${C$2(s)}
|
|
</div>`,R=s=>`${s.replace("export default ","const $reactApp = ").replace(/App\.__style__(\s*)=(\s*)`([\s\S]*)?`/,"")};
|
|
ReactDOM.createRoot(document.getElementById("app")).render(React.createElement($reactApp))`,D=s=>s.replace(/export\s+default\s*\{(\n*[\s\S]*)\n*\}\s*;?$/u,"Vue.createApp({$1}).mount('#app')").replace(/export\s+default\s*define(Async)?Component\s*\(\s*\{(\n*[\s\S]*)\n*\}\s*\)\s*;?$/u,"Vue.createApp({$1}).mount('#app')").trim(),M=s=>`(function(exports){var module={};module.exports=exports;${s};return module.exports.__esModule?module.exports.default:module.exports;})({})`,V=(s,l)=>{const T=L(l),F=s.js[0]||"";return{...T,html:C$2(s.html[0]||""),js:F,css:s.css[0]||"",isLegal:s.isLegal,getScript:()=>{var j;return T.useBabel?((j=window.Babel.transform(F,{presets:["es2015"]}))==null?void 0:j.code)||"":F}}},B$1=(s,l)=>{const T=L(l),F=s.html[0]||"",j=/<template>([\s\S]+)<\/template>/u.exec(F),U=/<script(\s*lang=(['"])(.*?)\2)?>([\s\S]+)<\/script>/u.exec(F),Y=/<style(\s*lang=(['"])(.*?)\2)?\s*(?:scoped)?>([\s\S]+)<\/style>/u.exec(F),W=j?j[1].replace(/^\n|\n$/g,""):"",[Z="",X=""]=U?[U[4].replace(/^\n|\n$/g,""),U[3]]:[],[ee="",te=""]=Y?[Y[4].replace(/^\n|\n$/g,""),Y[3]]:[],ne=X===""&&(te===""||te==="css");return{...T,html:x(W),js:D(Z),css:ee,isLegal:ne,jsLib:[T.vue,...T.jsLib],getScript:()=>{var oe,se;const ae=l.useBabel?((se=(oe=window.Babel)==null?void 0:oe.transform(Z,{presets:["es2015"]}))==null?void 0:se.code)||"":Z.replace(/export\s+default/u,"return");return`const app=window.document.createElement('div');document.firstElementChild.appendChild(app);const appOptions=${M(ae)};appOptions.template=\`${W.replace("`",'\\`"')}\`;window.Vue.createApp(appOptions).mount(app);`}}},z=(s,l)=>{const T=L(l);return{...T,html:x(""),js:R(s.js[0]||""),css:s.css[0]||(s.js[0]?s.js[0].replace(/App\.__style__(?:\s*)=(?:\s*)`([\s\S]*)?`/,"$1").trim():""),isLegal:s.isLegal,jsLib:[T.react,T.reactDOM,...T.jsLib],jsx:!0,getScript:()=>{var F,j;const U=((j=(F=window.Babel)==null?void 0:F.transform(s.js[0]||"",{presets:["es2015","react"]}))==null?void 0:j.code)||"";return`window.ReactDOM.createRoot(document.firstElementChild).render(window.React.createElement(${M(U)}))`}}},h$2={},H$1=s=>Promise.all([v(h$2,s.babel),v(h$2,s.react),v(h$2,s.reactDOM)]),I$1=s=>{const l=[v(h$2,s.vue)];return s.useBabel&&l.push(v(h$2,s.babel)),Promise.all(l)},P$1=s=>s.useBabel?v(h$2,s.babel):Promise.resolve();var J=defineComponent({name:"CodeDemo",props:{id:{type:String,required:!0},type:{type:String,default:"normal"},title:{type:String,default:""},config:{type:String,default:""},code:{type:String,required:!0}},setup(s,{slots:l}){const T=ref(!1),F=ref(null),j=ref(null),U=ref("0"),Y=ref(!1),W=computed(()=>JSON.parse(decodeURIComponent(s.config||"{}"))),Z=computed(()=>{const oe=JSON.parse(decodeURIComponent(s.code||"{}"));return A(oe)}),X=computed(()=>s.type==="react"?z(Z.value,W.value):s.type==="vue"?B$1(Z.value,W.value):V(Z.value,W.value)),ee=computed(()=>X.value.isLegal),te=(oe=!1)=>{const se=F.value.attachShadow({mode:"open"}),ae=document.createElement("div");ae.classList.add("code-demo-app"),se.appendChild(ae),ee.value?(oe&&(ae.innerHTML=X.value.html),N(se,X.value),O$1(s.id,se,X.value),U.value="0"):U.value="auto",Y.value=!0},ne=()=>{switch(s.type){case"react":return H$1(X.value).then(()=>te());case"vue":return I$1(X.value).then(()=>te());default:return P$1(X.value).then(()=>te(!0))}};return onMounted(()=>{setTimeout(()=>{ne()},500)}),()=>{var oe;return h$5("div",{class:"code-demo-wrapper",id:s.id},[Y.value?null:h$5("div",{class:["loading"],innerHTML:k$3}),h$5("div",{class:"code-demo-header"},[X.value.isLegal?h$5("button",{class:["toggle-button",T.value?"down":"right"],onClick:()=>{U.value=T.value?"0":`${j.value.clientHeight+13.8}px`,T.value=!T.value}}):null,s.title?h$5("span",{class:"title"},decodeURIComponent(s.title)):null,X.value.isLegal&&X.value.jsfiddle!==!1?h$5("form",{class:"code-demo-jsfiddle",target:"_blank",action:"https://jsfiddle.net/api/post/library/pure/",method:"post"},[h$5("input",{type:"hidden",name:"html",value:X.value.html}),h$5("input",{type:"hidden",name:"js",value:X.value.js}),h$5("input",{type:"hidden",name:"css",value:X.value.css}),h$5("input",{type:"hidden",name:"wrap",value:"1"}),h$5("input",{type:"hidden",name:"panel_js",value:"3"}),h$5("input",{type:"hidden",name:"resources",value:[...X.value.cssLib,...X.value.jsLib].join(",")}),h$5("button",{type:"submit",class:"jsfiddle-button",innerHTML:$,"aria-label":"JSFiddle","data-balloon-pos":"up"})]):null,!X.value.isLegal||X.value.codepen!==!1?h$5("form",{class:"code-demo-codepen",target:"_blank",action:"https://codepen.io/pen/define",method:"post"},[h$5("input",{type:"hidden",name:"data",value:JSON.stringify({html:X.value.html,js:X.value.js,css:X.value.css,js_external:X.value.jsLib.join(";"),css_external:X.value.cssLib.join(";"),layout:X.value.codepenLayout,html_pre_processor:Z.value?Z.value.html[1]:"none",js_pre_processor:Z.value?Z.value.js[1]:X.value.jsx?"babel":"none",css_pre_processor:Z.value?Z.value.css[1]:"none",editors:X.value.codepenEditors})}),h$5("button",{type:"submit",innerHTML:q,class:"codepen-button","aria-label":"Codepen","data-balloon-pos":"up"})]):null]),h$5("div",{ref:F,class:"code-demo-container",style:{display:ee.value&&Y.value?"block":"none"}}),h$5("div",{class:"code-demo-code-wrapper",style:{height:U.value}},h$5("div",{ref:j,class:"code-demo-codes"},(oe=l.default)==null?void 0:oe.call(l)))])}}});const echarts="",LOADING_SVG='<svg xmlns="http://www.w3.org/2000/svg" class="loading-icon" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid"><circle cx="50" cy="50" r="0" fill="none" stroke="currentColor" stroke-width="2"><animate attributeName="r" repeatCount="indefinite" dur="1s" values="0;40" keyTimes="0;1" keySplines="0 0.2 0.8 1" calcMode="spline" begin="0s"/><animate attributeName="opacity" repeatCount="indefinite" dur="1s" values="1;0" keyTimes="0;1" keySplines="0.2 0 0.8 1" calcMode="spline" begin="0s"/></circle><circle cx="50" cy="50" r="0" fill="none" stroke="currentColor" stroke-width="2"><animate attributeName="r" repeatCount="indefinite" dur="1s" values="0;40" keyTimes="0;1" keySplines="0 0.2 0.8 1" calcMode="spline" begin="-0.3333333333333333s"/><animate attributeName="opacity" repeatCount="indefinite" dur="1s" values="1;0" keyTimes="0;1" keySplines="0.2 0 0.8 1" calcMode="spline" begin="-0.3333333333333333s"/></circle><circle cx="50" cy="50" r="0" fill="none" stroke="currentColor" stroke-width="2"><animate attributeName="r" repeatCount="indefinite" dur="1s" values="0;40" keyTimes="0;1" keySplines="0 0.2 0.8 1" calcMode="spline" begin="-0.6666666666666666s"/><animate attributeName="opacity" repeatCount="indefinite" dur="1s" values="1;0" keyTimes="0;1" keySplines="0.2 0 0.8 1" calcMode="spline" begin="-0.6666666666666666s"/></circle></svg>',parseEChartsConfig=(config,type)=>{if(type==="json")return JSON.parse(config);const exports={},module={exports};return eval(config),module.exports};var ECharts=defineComponent({name:"ECharts",props:{config:{type:String,required:!0},id:{type:String,required:!0},title:{type:String,default:""},type:{type:String,default:"json"}},setup(s){const l=ref(null);let T;const F=ref(!0);return onMounted(()=>{Promise.all([__vitePreload(()=>import("./index.cac02f97.js"),[]),new Promise(j=>setTimeout(j,500))]).then(([j])=>{const U=parseEChartsConfig(decodeURIComponent(s.config),s.type);T=j.init(l.value),T.showLoading(),T.setOption(U),T.hideLoading(),F.value=!1}),useEventListener("resize",useDebounceFn(()=>T==null?void 0:T.resize(),100))}),onBeforeUnmount(()=>{T==null||T.dispose()}),()=>[s.title?h$5("div",{class:"echarts-title"},decodeURIComponent(s.title)):null,F.value?h$5("div",{class:"echarts-loading-wrapper",innerHTML:LOADING_SVG}):null,h$5("div",{ref:l,class:"echarts-wrapper",id:s.id})]}});const flowchart="",y='<svg xmlns="http://www.w3.org/2000/svg" class="loading-icon" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid"><circle cx="50" cy="50" r="0" fill="none" stroke="currentColor" stroke-width="2"><animate attributeName="r" repeatCount="indefinite" dur="1s" values="0;40" keyTimes="0;1" keySplines="0 0.2 0.8 1" calcMode="spline" begin="0s"/><animate attributeName="opacity" repeatCount="indefinite" dur="1s" values="1;0" keyTimes="0;1" keySplines="0.2 0 0.8 1" calcMode="spline" begin="0s"/></circle><circle cx="50" cy="50" r="0" fill="none" stroke="currentColor" stroke-width="2"><animate attributeName="r" repeatCount="indefinite" dur="1s" values="0;40" keyTimes="0;1" keySplines="0 0.2 0.8 1" calcMode="spline" begin="-0.3333333333333333s"/><animate attributeName="opacity" repeatCount="indefinite" dur="1s" values="1;0" keyTimes="0;1" keySplines="0.2 0 0.8 1" calcMode="spline" begin="-0.3333333333333333s"/></circle><circle cx="50" cy="50" r="0" fill="none" stroke="currentColor" stroke-width="2"><animate attributeName="r" repeatCount="indefinite" dur="1s" values="0;40" keyTimes="0;1" keySplines="0 0.2 0.8 1" calcMode="spline" begin="-0.6666666666666666s"/><animate attributeName="opacity" repeatCount="indefinite" dur="1s" values="1;0" keyTimes="0;1" keySplines="0.2 0 0.8 1" calcMode="spline" begin="-0.6666666666666666s"/></circle></svg>';var c$1={x:0,y:0,"line-width":2,"line-length":40,"text-margin":8,"font-size":14,"font-color":"#8DA1AC","line-color":"#8DA1AC","element-color":"black",fill:"white","yes-text":"Yes","no-text":"No","arrow-end":"block",scale:1},b={...c$1,symbols:{start:{class:"start-element","font-color":"#fff",fill:"#595959","line-width":"0px"},end:{class:"end-element","font-color":"#fff",fill:"#595959","line-width":"0px"},operation:{class:"operation-element","font-color":"#fff",fill:"#1890ff","line-width":"0px"},inputoutput:{class:"inputoutput-element","font-color":"#fff",fill:"#1890ff","line-width":"0px"},subroutine:{class:"subroutine-element","font-color":"#fff",fill:"#FF485E","element-color":"#fff","line-color":"red"},condition:{class:"condition-element","font-color":"#fff",fill:"#FF485E","line-width":"0px"},parallel:{class:"parallel-element","font-color":"#fff",fill:"#1890ff","line-width":"0px"}}},k$2={...c$1,"line-width":1,symbols:{start:{class:"start-element",fill:"#ccc","line-width":"1px","line-color":"#5c6ac4","font-color":"#000"},end:{class:"end-element",fill:"#ccc","line-width":"1px","line-color":"#5c6ac4","font-color":"#000"},operation:{class:"operation-element",fill:"#f1f1f1","line-width":"1px","line-color":"#5c6ac4","font-color":"#000"},inputoutput:{class:"inputoutput-element",fill:"#f1f1f1","line-width":"1px","line-color":"#5c6ac4","font-color":"#000"},subroutine:{class:"subroutine-element",fill:"#f1f1f1","line-width":"1px","line-color":"#5c6ac4","font-color":"#000"},condition:{class:"condition-element",fill:"#f1f1f1","line-width":"1px","line-color":"#5c6ac4","font-color":"#000"},parallel:{class:"parallel-element",fill:"#f1f1f1","line-width":"1px","line-color":"#5c6ac4","font-color":"#000"}}},C$1={...c$1,symbols:{start:{class:"start-element","font-color":"#fff",fill:"#2F495F","line-width":"0px"},end:{class:"end-element","font-color":"#fff",fill:"#2F495F","line-width":"0px"},operation:{class:"operation-element","font-color":"#fff",fill:"#00BC7D","line-width":"0px"},inputoutput:{class:"inputoutput-element","font-color":"#fff",fill:"#EB4D5D","line-width":"0px"},subroutine:{class:"subroutine-element","font-color":"#fff",fill:"#937AC4","element-color":"#fff","line-color":"red"},condition:{class:"condition-element","font-color":"#fff",fill:"#FFB500","line-width":"0px"},parallel:{class:"parallel-element","font-color":"#fff",fill:"#2F495F","line-width":"0px"}}},p={ant:b,vue:C$1,pie:k$2},g$1=defineComponent({name:"FlowChart",props:{code:{type:String,required:!0},id:{type:String,required:!0},preset:{type:String,default:"vue"}},setup(s){let l;const T=ref(),F=ref(!0),j=ref(1),U=computed(()=>p[s.preset]||(console.warn(`[md-enhance:flowchart] Unknown preset: ${s.preset}`),p.vue)),Y=W=>W<419?.8:W>1280?1:.9;return onMounted(()=>{Promise.all([__vitePreload(()=>import("./flowchart.parse.ee90d7e0.js").then(W=>W.f),[]),new Promise(W=>setTimeout(W,500))]).then(([W])=>{const{default:Z}=W;l=Z(decodeURIComponent(s.code)),j.value=Y(window.innerWidth),F.value=!1,l.drawSVG(s.id,{...U.value,scale:j.value}),useEventListener("resize",useDebounceFn(()=>{const X=Y(window.innerWidth);j.value!==X&&(j.value=X,l.drawSVG(s.id,{...U.value,scale:X}))},100))})}),()=>[F.value?h$5("div",{class:["flowchart-loading-wrapper"],innerHTML:y}):null,h$5("div",{ref:T,class:["flowchart-wrapper",s.preset],id:s.id,style:{display:F.value?"none":"block"}})]}});const footnote="",imageMark="",mermaid="",g=()=>h$5(nt,{name:"loading"},()=>["0s","-0.333s","-0.667s"].map(s=>h$5("circle",{cx:50,cy:50,r:0,fill:"none",stroke:"currentColor",strokeWidth:"2"},[h$5("animate",{attributeName:"r",repeatCount:"indefinite",dur:"1s",values:"0;40",keyTimes:"0;1",keySplines:"0 0.2 0.8 1",calcMode:"spline",begin:s}),h$5("animate",{attributeName:"opacity",repeatCount:"indefinite",dur:"1s",values:"1;0",keyTimes:"0;1",keySplines:"0.2 0 0.8 1",calcMode:"spline",begin:s})]))),k$1=s=>({dark:s,background:s?"#1e1e1e":"#fff",primaryColor:s?"#389d70":"#4abf8a",primaryBorderColor:s?"#389d70":"#4abf8a",primaryTextColor:"#fff",secondaryColor:"#ffb500",secondaryBorderColor:s?"#fff":"#000",secondaryTextColor:s?"#ddd":"#333",tertiaryColor:s?"#282828":"#efeef4",tertiaryBorderColor:s?"#bbb":"#242424",tertiaryTextColor:s?"#ddd":"#333",noteBkgColor:s?"#f6d365":"#fff5ad",noteTextColor:"#242424",noteBorderColor:s?"#f6d365":"#333",lineColor:s?"#d3d3d3":"#333",textColor:s?"#fff":"#242424",mainBkg:s?"#389d70":"#4abf8a",errorBkgColor:"#eb4d5d",errorTextColor:"#fff",nodeBorder:s?"#389d70":"#4abf8a",nodeTextColor:s?"#fff":"#242424",signalTextColor:s?"#9e9e9e":"#242424",classText:"#fff",labelColor:"#fff",fillType0:s?"#cf1322":"#f1636e",fillType1:"#f39c12",fillType2:"#2ecc71",fillType3:"#fa541c",fillType4:"#25a55b",fillType5:"#13c2c2",fillType6:"#096dd9",fillType7:"#aa6fe9"});var B=defineComponent({name:"Mermaid",props:{id:{type:String,required:!0},code:{type:String,required:!0}},setup(s){const l=ref(""),T=ref(),F=ref(!1);let j=null;return onMounted(()=>{const U=document.querySelector("html"),Y=decodeURIComponent(s.code),W=()=>U.classList.contains("dark")||U.getAttribute("data-theme")==="dark";F.value=W(),Promise.all([__vitePreload(()=>import("./mermaid.esm.min.e3b5d21d.js"),[]),new Promise(Z=>setTimeout(Z,500))]).then(([{default:Z}])=>{const{initialize:X,render:ee}=Z,te=()=>{const ne=document.createElement("div");ne.style.position="relative",ne.style.top="-9999px";const oe=se=>{l.value=se,document.body.removeChild(ne)};X({theme:"base",themeVariables:k$1(F.value),flowchart:{useMaxWidth:!1},sequence:{useMaxWidth:!1},journey:{useMaxWidth:!1},gantt:{useMaxWidth:!1},er:{useMaxWidth:!1},pie:{useMaxWidth:!1},startOnLoad:!1}),l.value="",document.body.appendChild(ne),nextTick(()=>{ee(s.id,Y,oe,ne)})};te(),j=new MutationObserver(()=>{F.value=W()}),j.observe(U,{attributeFilter:["class","data-theme"],attributes:!0}),watch(F,te)})}),onBeforeUnmount(()=>{j==null||j.disconnect()}),()=>h$5("div",{ref:T,class:["md-enhance-mermaid",{loading:!l.value}]},l.value?h$5("div",{class:"content",innerHTML:l.value}):h$5(g))}});const o=()=>__vitePreload(()=>import("./highlight.esm.d982e650.js"),[]),t=()=>__vitePreload(()=>import("./markdown.esm.832a189d.js"),[]),e=()=>__vitePreload(()=>import("./math.esm.a3f84b6f.js"),[]),r$1=()=>__vitePreload(()=>import("./notes.esm.3c361cb7.js"),[]),a=()=>__vitePreload(()=>import("./reveal.esm.b96f05d8.js"),[]),i=()=>__vitePreload(()=>import("./search.esm.80da4a02.js"),[]),c=()=>__vitePreload(()=>import("./zoom.esm.8514a202.js"),[]),useReveal=()=>[a(),t(),o(),e(),i(),r$1(),c()],index$1="",leagueGothic="",sourceSansPro="",k=()=>h$5(nt,{name:"loading"},()=>["0s","-0.333s","-0.667s"].map(s=>h$5("circle",{cx:50,cy:50,r:0,fill:"none",stroke:"currentColor",strokeWidth:"2"},[h$5("animate",{attributeName:"r",repeatCount:"indefinite",dur:"1s",values:"0;40",keyTimes:"0;1",keySplines:"0 0.2 0.8 1",calcMode:"spline",begin:s}),h$5("animate",{attributeName:"opacity",repeatCount:"indefinite",dur:"1s",values:"1;0",keyTimes:"0;1",keySplines:"0.2 0 0.8 1",calcMode:"spline",begin:s})])));var C=defineComponent({name:"Presentation",props:{id:{type:String,required:!0},theme:{type:String,default:"auto"}},setup(s){const l=usePageFrontmatter(),T=ref(""),F=ref(!1),j=ref(),U=ref();let Y;return onMounted(()=>{var W;if(U.value){T.value=decodeURIComponent(((W=j.value)==null?void 0:W.dataset.code)||""),U.value.setAttribute("id",s.id),U.value.setAttribute("data-theme",s.theme);const Z=[new Promise(X=>setTimeout(X,500)),...useReveal()];Promise.all(Z).then(([,X,...ee])=>{Y=new X.default(U.value,{plugins:ee.map(te=>te.default)}),Y.initialize({backgroundTransition:"slide",hash:l.value.layout==="Slide",mouseWheel:l.value.layout==="Slide",transition:"slide",slideNumber:!0,...l.value.reveal||{},embedded:l.value.layout!=="Slide"}).then(()=>{F.value=!1,Y.configure({backgroundTransition:"slide"})})})}}),onBeforeUnmount(()=>{Y==null||Y.destroy()}),()=>h$5("div",{ref:j,class:{"md-enhance-presentation":!0,loading:F.value}},[F.value?h$5(k):null,h$5("div",{ref:U,class:["reveal","reveal-viewport"]},h$5("div",{class:"slides",style:{display:F.value?"none":"block"},innerHTML:`<section data-markdown data-separator="^\\r?\\n---\\r?\\n$" data-separator-vertical="^\\r?\\n--\\r?\\n$"><script type="text/template">${T.value}<\/script></section>`}))])}});const playground="",n='<svg class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="200" height="200"><path d="M512 74.667C270.933 74.667 74.667 270.933 74.667 512S270.933 949.333 512 949.333 949.333 753.067 949.333 512 753.067 74.667 512 74.667zm0 810.666C307.2 885.333 138.667 716.8 138.667 512S307.2 138.667 512 138.667 885.333 307.2 885.333 512 716.8 885.333 512 885.333z"/><path d="M708.267 465.067 473.6 330.667c-8.533-4.267-17.067-6.4-25.6-6.4-29.867 0-53.333 23.466-53.333 53.333v268.8c0 8.533 2.133 19.2 6.4 25.6 10.666 17.067 27.733 27.733 46.933 27.733 8.533 0 17.067-2.133 25.6-6.4l234.667-134.4c8.533-4.266 14.933-10.666 19.2-19.2 6.4-12.8 8.533-27.733 4.266-40.533-2.133-14.933-10.666-25.6-23.466-34.133zM458.667 627.2V396.8L661.333 512 458.667 627.2z"/></svg>';var r=defineComponent({name:"Playground",props:{title:{type:String,default:""},link:{type:String,required:!0}},setup(s){return()=>[h$5("div",{class:"playground-wrapper"},[h$5("div",{class:"title-wrapper"},[s.title?h$5("div",{class:"title"},decodeURIComponent(s.title)):null,h$5("div",{class:"actions"},[h$5("a",{class:"action",href:decodeURIComponent(s.link),target:"_blank",innerHTML:n})])]),h$5("div",{class:"preview-container"},h$5("iframe",{class:"iframe-preview",src:decodeURIComponent(s.link)}))])]}});const tabs="",d$1=useStorage("VUEPRESS_TAB_STORE",{});var h$1=defineComponent({name:"Tabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},tabId:{type:String,default:""}},setup(s,{slots:l}){const T=ref((()=>{if(s.tabId){const Z=s.data.findIndex(({title:X,value:ee=X})=>d$1.value[s.tabId]===ee);if(Z!==-1)return Z}return s.active})()),F=ref([]),j=()=>{if(s.tabId){const{title:Z,value:X=Z}=s.data[T.value];d$1.value[s.tabId]=X}},U=(Z=T.value)=>{T.value=Z<F.value.length-1?Z+1:0,F.value[T.value].focus()},Y=(Z=T.value)=>{T.value=Z>0?Z-1:F.value.length-1,F.value[T.value].focus()},W=(Z,X)=>{Z.key===" "||Z.key==="Enter"?(Z.preventDefault(),T.value=X):Z.key==="ArrowRight"?(Z.preventDefault(),U()):Z.key==="ArrowLeft"&&(Z.preventDefault(),Y()),j()};return watch(()=>d$1.value[s.tabId],(Z,X)=>{if(s.tabId&&Z!==X){const ee=s.data.findIndex(({title:te,value:ne=te})=>ne===Z);ee!==-1&&(T.value=ee)}}),()=>h$5(ClientOnly,()=>h$5("div",{class:"tab-list"},[h$5("div",{class:"tab-list-nav"},s.data.map(({title:Z},X)=>{const ee=X===T.value;return h$5("button",{ref:te=>{te&&(F.value[X]=te)},class:["tab-list-nav-item",{active:ee}],"aria-pressed":ee,"aria-expanded":ee,onClick:()=>{T.value=X,j()},onKeydown:te=>W(te,X)},Z)})),s.data.map(({title:Z,value:X=Z},ee)=>{var te;const ne=ee===T.value;return h$5("div",{class:["tab-item",{active:ne}],"aria-selected":ne},(te=l[`tab${ee}`])==null?void 0:te.call(l,{title:Z,value:X,isActive:ne}))})]))}});const tasklist="",katex="",clientConfig7=defineClientConfig({enhance:({app:s})=>{s.component("ChartJS",ChartJS),s.component("CodeTabs",h$3),s.component("CodeDemo",J),s.component("ECharts",ECharts),s.component("FlowChart",g$1),s.component("Mermaid",B),s.component("Presentation",C),s.component("Playground",r),s.component("Tabs",h$1);const l=defineAsyncComponent(()=>__vitePreload(()=>import("./VuePlayground.9bd0da3f.js"),[]));s.component("VuePlayground",l)}}),photoswipe="",_=".theme-hope-content :not(a) > img",P={"/en/":{closeTitle:"Close",downloadTitle:"Download Image",fullscreenTitle:"Switch to full screen",zoomTitle:"Zoom in/out",arrowPrevTitle:"Prev (Arrow Left)",arrowNextTitle:"Next (Arrow Right)"},"/":{closeTitle:"\u5173\u95ED",downloadTitle:"\u4E0B\u8F7D\u56FE\u7247",fullscreenTitle:"\u5207\u6362\u5168\u5C4F",zoomTitle:"\u7F29\u653E",arrowPrevTitle:"\u4E0A\u4E00\u4E2A (\u5DE6\u7BAD\u5934)",arrowNextTitle:"\u4E0B\u4E00\u4E2A (\u53F3\u7BAD\u5934)"}},S=500,E={},u=s=>({src:s.src,width:s.naturalWidth,height:s.naturalHeight,alt:s.alt}),O=s=>{const l=Array.from(document.querySelectorAll(s));return Promise.all(l.map(T=>new Promise((F,j)=>{T.complete?F(u(T)):(T.onload=()=>F(u(T)),T.onerror=U=>j(U))}))).then(T=>({elements:l,infos:T}))},H=()=>{const{isSupported:s,toggle:l}=useFullscreen(),T=Dt(P),F=useRoute(),j=()=>{Promise.all([__vitePreload(()=>import("./photoswipe.esm.382b1873.js"),[]),new Promise(U=>setTimeout(U,S)).then(()=>O(_))]).then(([U,Y])=>{Y.elements.forEach((W,Z)=>{W.addEventListener("click",()=>{const X=new U.default({dataSource:Y.infos,...T.value,...E,index:Z});X.on("uiRegister",()=>{s&&X.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:()=>{l()}}),X.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:(ee,te)=>{ee.setAttribute("download",""),ee.setAttribute("target","_blank"),ee.setAttribute("rel","noopener"),te.on("change",()=>{ee.href=te.currSlide.data.src})}})}),X.init()})})})};watch(()=>F.path,()=>j()),onMounted(()=>j())};var I=defineClientConfig({setup:()=>{H()}});const useThemeData=()=>useThemeData$1(),useThemeLocaleData=()=>useThemeLocaleData$1(),usePure=()=>computed(()=>Boolean(useThemeData().value.pure)),useMobile=()=>{const s=useThemeData(),l=ref(!1),T=()=>{l.value=window.innerWidth<(s.value.mobileBreakPoint||719)};return onMounted(()=>{T(),useEventListener("resize",T,!1),useEventListener("orientationchange",T,!1)}),l},useNavigate=()=>{const s=useRouter(),l=useRoute();return T=>{if(T)if(T.startsWith("/"))l.path!==T&&s.push(T);else if(T.startsWith("http://")||T.startsWith("https://")||T.startsWith("mailto:"))window&&window.open(T);else{const F=l.path.slice(0,l.path.lastIndexOf("/"));s.push(`${F}/${encodeURI(T)}`)}}},useAutoLink=(s,l=!1)=>{const T=useRouter(),{fullPath:F,meta:j,name:U}=st(T,encodeURI(s));return{text:!l&&j.shortTitle?j.shortTitle:j.title||s,link:U==="404"?s:F,...j.icon?{icon:j.icon}:{}}},usePageAuthor=()=>{const s=useThemeLocaleData(),l=usePageFrontmatter();return computed(()=>{const{author:T}=l.value;return T?Zt(T):T===!1?[]:Zt(s.value.author,!1)})},usePageCategory=()=>{const s=usePageFrontmatter();return computed(()=>Ft(s.value.category).map(l=>({name:l,path:""})))},usePageTag=()=>{const s=usePageFrontmatter();return computed(()=>Pt(s.value.tag).map(l=>({name:l,path:""})))},usePageDate=()=>{const s=usePageFrontmatter(),l=usePageData();return computed(()=>{const{date:T}=s.value;if(T)return K(T);const{createdTime:F}=l.value.git||{};return F?K(new Date(F)):null})},usePageInfo=()=>{const s=useThemeLocaleData(),l=usePageData(),T=usePageFrontmatter(),F=usePageAuthor(),j=usePageCategory(),U=usePageTag(),Y=usePageDate(),W=reactive({author:F.value,category:j.value,date:Y.value,localizedDate:l.value.localizedDate,tag:U.value,isOriginal:T.value.isOriginal||!1,readingTime:l.value.readingTime,pageview:!1}),Z=computed(()=>"pageInfo"in T.value?T.value.pageInfo:"pageInfo"in s.value?s.value.pageInfo:null);return{config:W,items:Z}};let promise=null,promiseResolve=null;const scrollPromise={wait:()=>promise,pending:()=>{promise=new Promise(s=>promiseResolve=s)},resolve:()=>{promiseResolve==null||promiseResolve(),promise=null,promiseResolve=null}},useScrollPromise=()=>scrollPromise,footer="",PageFooter=defineComponent({name:"PageFooter",setup(){const s=usePageFrontmatter(),l=useThemeLocaleData(),T=usePageAuthor(),F=computed(()=>{const{copyright:Y,footer:W}=s.value;return W!==!1&&Boolean(Y||W||l.value.displayFooter)}),j=computed(()=>{const{footer:Y}=s.value;return Y===!1?!1:typeof Y=="string"?Y:l.value.footer||""}),U=computed(()=>"copyright"in s.value?s.value.copyright:"copyright"in l.value?l.value.copyright:T.value.length?`Copyright \xA9 ${new Date().getFullYear()} ${T.value[0].name}`:!1);return()=>F.value?h$5("footer",{class:"footer-wrapper"},[h$5("div",{class:"footer",innerHTML:j.value}),U.value?h$5("div",{class:"copyright",innerHTML:U.value}):null]):null}}),Icon=s=>{const{icon:l=""}=s;return isLinkHttp(l)?h$5("img",{class:"icon",src:l}):l.startsWith("/")?h$5("img",{class:"icon",src:withBase(l)}):h$5(resolveComponent("FontIcon"),s)};Icon.displayName="Icon";const AutoLink=defineComponent({name:"AutoLink",inheritAttrs:!1,props:{config:{type:Object,required:!0},exact:Boolean,externalLinkIcon:{type:Boolean,default:!0}},emits:["focusout"],setup(s,{attrs:l,emit:T,slots:F}){const j=useRoute(),U=useSiteData(),Y=toRef(s,"config"),W=computed(()=>isLinkHttp(Y.value.link)),Z=computed(()=>isLinkMailto(Y.value.link)||isLinkTel(Y.value.link)),X=computed(()=>Z.value?void 0:Y.value.target||(W.value?"_blank":void 0)),ee=computed(()=>X.value==="_blank"),te=computed(()=>!W.value&&!Z.value&&!ee.value),ne=computed(()=>Z.value?void 0:Y.value.rel||(ee.value?"noopener noreferrer":void 0)),oe=computed(()=>Y.value.ariaLabel||Y.value.text),se=computed(()=>{if(s.exact)return!1;const ue=Object.keys(U.value.locales);return ue.length?ue.every(le=>le!==Y.value.link):Y.value.link!=="/"}),ae=computed(()=>te.value?Y.value.activeMatch?new RegExp(Y.value.activeMatch).test(j.path):se.value?j.path.startsWith(Y.value.link):j.path===Y.value.link:!1);return()=>{var me,Ce,Re;const{text:ue,icon:le,link:ce}=Y.value;return te.value?h$5(RouterLink,{to:ce,"aria-label":oe.value,...l,class:["nav-link",{active:ae.value},l.class],onFocusout:()=>T("focusout")},()=>{var _e,fe,ge;return((_e=F.default)==null?void 0:_e.call(F))||[((fe=F.before)==null?void 0:fe.call(F))||h$5(Icon,{icon:le}),ue,(ge=F.after)==null?void 0:ge.call(F)]}):h$5("a",{href:ce,rel:ne.value,target:X.value,"aria-label":oe.value,...l,class:["nav-link",l.class],onFocusout:()=>T("focusout")},((me=F.default)==null?void 0:me.call(F))||[((Ce=F.before)==null?void 0:Ce.call(F))||h$5(Icon,{icon:le}),ue,s.externalLinkIcon?h$5(ExternalLinkIcon):null,(Re=F.after)==null?void 0:Re.call(F)])}}}),isActiveSidebarItem=(s,l,T=!1)=>"activeMatch"in l?new RegExp(l.activeMatch).test(s.path):Ht(s,l.link)?!0:l.children&&!T?l.children.some(F=>isActiveSidebarItem(s,F)):!1,isMatchedSidebarItem=(s,l)=>l.type==="group"?l.children.some(T=>T.type==="group"?isMatchedSidebarItem(s,T):T.type==="page"&&isActiveSidebarItem(s,T,!0))||"prefix"in l&&Ht(s,l.prefix):!1,renderItem=(s,l)=>s.link?h$5(AutoLink,{...l,config:s}):h$5("p",l,[h$5(Icon,{icon:s.icon}),s.text]),renderChildren$1=s=>{const l=useRoute();return s?h$5("ul",{class:"sidebar-sub-headers"},s.map(T=>{const F=isActiveSidebarItem(l,T,!0);return h$5("li",{class:"sidebar-sub-header"},[renderItem(T,{class:["sidebar-link","heading",{active:F}]}),renderChildren$1(T.children)])})):null},sidebarData={"/en/demo/":[],"/en/guide/":[],"/documents/features/":["wish-export.md","achievements.md"],"/documents/statements/":["bug-report.md"]},resolvePrefix=(s="",l="")=>l.startsWith("/")?l:`${ensureEndingSlash(s)}${l}`,headerToSidebarItem=(s,l)=>{const T=usePageData();return{type:"heading",text:s.title,link:`${T.value.path}#${s.slug}`,children:headersToSidebarItemChildren(s.children,l)}},headersToSidebarItemChildren=(s,l)=>l>0?s.map(T=>headerToSidebarItem(T,l-1)):[],resolveHeadingSidebarItems=s=>{const l=usePageData();return headersToSidebarItemChildren(l.value.headers,s)},resolveArraySidebarItems=(s,l,T="")=>{const F=usePageData(),j=useRoute(),U=(Y,W=T)=>{var X;const Z=isString$1(Y)?useAutoLink(resolvePrefix(W,Y)):Y.link?{...Y,...isLinkExternal(Y.link)?{}:{link:useAutoLink(resolvePrefix(W,Y.link)).link}}:Y;if("children"in Z){const ee=resolvePrefix(W,Z.prefix),te=Z.children==="structure"?sidebarData[ee]:Z.children;return{type:"group",...Z,prefix:ee,children:te.map(ne=>U(ne,ee))}}return{type:"page",...Z,children:Z.link===j.path?headersToSidebarItemChildren(((X=F.value.headers[0])==null?void 0:X.level)===1?F.value.headers[0].children:F.value.headers,l):[]}};return s.map(Y=>U(Y))},resolveMultiSidebarItems=(s,l)=>{const T=useRoute(),F=Object.keys(s).sort((j,U)=>U.length-j.length);for(const j of F)if(decodeURI(T.path).startsWith(j)){const U=s[j];return U?resolveArraySidebarItems(U==="structure"?sidebarData[j]:U,l,j):[]}return console.warn(`${T.path} do not have valid sidebar config`),[]},resolveSidebarItems=()=>{var U,Y,W,Z;const s=useRouteLocale(),l=usePageFrontmatter(),T=useThemeLocaleData(),F=l.value.home?!1:(Y=(U=l.value.sidebar)!=null?U:T.value.sidebar)!=null?Y:"structure",j=(Z=(W=l.value.headerDepth)!=null?W:T.value.headerDepth)!=null?Z:2;return F===!1?[]:F==="heading"?resolveHeadingSidebarItems(j):F==="structure"?resolveArraySidebarItems(sidebarData[s.value],j,s.value):isArray$1(F)?resolveArraySidebarItems(F,j):isPlainObject(F)?resolveMultiSidebarItems(F,j):[]},sidebarItemsSymbol=Symbol.for("sidebarItems"),setupSidebarItems=()=>{const s=computed(()=>resolveSidebarItems());provide(sidebarItemsSymbol,s)},useSidebarItems=()=>{const s=inject(sidebarItemsSymbol);if(!s)throw new Error("useSidebarItems() is called without provider.");return s},common="",CommonWrapper=defineComponent({name:"CommonWrapper",props:{navbar:{type:Boolean,default:!0},sidebar:{type:Boolean,default:!0}},setup(s,{slots:l}){const T=useRouter(),F=usePageData(),j=usePageFrontmatter(),U=useThemeLocaleData(),Y=useMobile(),W=ref(!1),Z=computed(()=>s.navbar===!1||j.value.navbar===!1||U.value.navbar===!1?!1:Boolean(F.value.title||U.value.logo||U.value.repo||U.value.navbar)),X=useSidebarItems(),ee=computed(()=>s.sidebar===!1?!1:j.value.sidebar!==!1&&X.value.length!==0&&!j.value.home),te=ref(!1),ne=ref(!1),oe=_e=>{te.value=typeof _e=="boolean"?_e:!te.value},se=_e=>{ne.value=typeof _e=="boolean"?_e:!ne.value},ae={x:0,y:0},ue=_e=>{ae.x=_e.changedTouches[0].clientX,ae.y=_e.changedTouches[0].clientY},le=_e=>{const fe=_e.changedTouches[0].clientX-ae.x,ge=_e.changedTouches[0].clientY-ae.y;Math.abs(fe)>Math.abs(ge)*1.5&&Math.abs(fe)>40&&(fe>0&&ae.x<=80?oe(!0):oe(!1))},ce=computed(()=>j.value.toc||U.value.toc!==!1&&j.value.toc!==!1),me=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;let Ce,Re=0;return useEventListener("scroll",useThrottleFn(()=>{const _e=me();Re<_e&&_e>58?te.value||(W.value=!0):W.value=!1,Re=_e},300)),watch(Y,_e=>{_e||oe(!1)}),onMounted(()=>{Ce=T.afterEach(()=>{oe(!1)})}),onBeforeUnmount(()=>{Ce()}),()=>h$5("div",{class:["theme-container",{"no-navbar":!Z.value,"no-sidebar":!ee.value&&!(l.sidebar||l.sidebarTop||l.sidebarBottom),"has-toc":ce.value,"hide-navbar":W.value,"sidebar-collapsed":!Y.value&&ne.value,"sidebar-open":Y.value&&te.value},j.value.containerClass||""],onTouchStart:ue,onTouchEnd:le},h$5(Mt("GloablEncrypt")?resolveComponent("GloablEncrypt"):gt,()=>{var _e;return[Z.value?h$5(resolveComponent("Navbar"),{onToggleSidebar:()=>oe()},{leftStart:()=>{var fe;return(fe=l.navbarLeftStart)==null?void 0:fe.call(l)},leftEnd:()=>{var fe;return(fe=l.navbarLeftEnd)==null?void 0:fe.call(l)},centerStart:()=>{var fe;return(fe=l.navbarCenterStart)==null?void 0:fe.call(l)},centerEnd:()=>{var fe;return(fe=l.navbarCenterEnd)==null?void 0:fe.call(l)},rightStart:()=>{var fe;return(fe=l.navbarRightStart)==null?void 0:fe.call(l)},rightEnd:()=>{var fe;return(fe=l.navbarRightEnd)==null?void 0:fe.call(l)},screenTop:()=>{var fe;return(fe=l.navScreenTop)==null?void 0:fe.call(l)},screenBottom:()=>{var fe;return(fe=l.navScreenBottom)==null?void 0:fe.call(l)}}):null,h$5(Transition,{name:"fade"},()=>te.value?h$5("div",{class:"sidebar-mask",onClick:()=>oe(!1)}):null),h$5(Transition,{name:"fade"},()=>Y.value?null:h$5("div",{class:"toggle-sidebar-wrapper",onClick:()=>se()},h$5("span",{class:["arrow",ne.value?"right":"left"]}))),h$5(resolveComponent("Sidebar"),{},{...l.sidebar?{default:()=>{var fe;return(fe=l.sidebar)==null?void 0:fe.call(l)}}:{},top:()=>{var fe;return(fe=l.sidebarTop)==null?void 0:fe.call(l)},bottom:()=>{var fe;return(fe=l.sidebarBottom)==null?void 0:fe.call(l)}}),(_e=l.default)==null?void 0:_e.call(l),h$5(PageFooter)]}))}}),DropTransition=defineComponent({name:"DropTransition",components:{Transition,TransitionGroup},props:{type:{type:String,default:"single"},delay:{type:Number,default:0},duration:{type:Number,default:.25},appear:Boolean},setup(s,{slots:l}){const T=j=>{j.style.transition=`transform ${s.duration}s ease-in-out ${s.delay}s, opacity ${s.duration}s ease-in-out ${s.delay}s`,j.style.transform="translateY(-20px)",j.style.opacity="0"},F=j=>{j.style.transform="translateY(0)",j.style.opacity="1"};return()=>h$5(s.type==="single"?Transition:TransitionGroup,{name:"drop",appear:s.appear,onAppear:T,onAfterAppear:F,onEnter:T,onAfterEnter:F,onBeforeLeave:T},()=>{var j;return(j=l.default)==null?void 0:j.call(l)})}}),HomeFeatures=defineComponent({name:"HomeFeatures",setup(){const s=usePageFrontmatter(),l=computed(()=>isArray$1(s.value.features)?s.value.features:[]);return()=>{var T;return l.value.length?h$5("div",{class:"features"},(T=s.value.features)==null?void 0:T.map(F=>{const j=[h$5(Icon,{icon:F.icon}),h$5("h2",{innerHTML:F.title}),h$5("p",{innerHTML:F.details})];return F.link?isLinkExternal(F.link)?h$5("a",{class:"feature link",href:F.link,role:"navigation",target:"_blank"},j):h$5(RouterLink,{class:"feature link",to:F.link,role:"navigation"},()=>j):h$5("div",{class:"feature"},j)})):null}}}),MarkdownContent=({custom:s})=>h$5(Content,{class:["theme-hope-content",{custom:s}]});MarkdownContent.displayName="MarkdownContent";MarkdownContent.props={custom:Boolean};const HomeHero=defineComponent({name:"HomeHero",setup(s,{slots:l}){const T=usePageFrontmatter(),F=useSiteLocaleData(),j=computed(()=>T.value.heroText===!1?!1:T.value.heroText||F.value.title||"Hello"),U=computed(()=>T.value.tagline===!1?!1:T.value.tagline||F.value.description||"Welcome to your VuePress site"),Y=computed(()=>T.value.heroImage?withBase(T.value.heroImage):null),W=computed(()=>T.value.heroImageDark?withBase(T.value.heroImageDark):null),Z=computed(()=>T.value.heroAlt||j.value||"hero"),X=computed(()=>isArray$1(T.value.actions)?T.value.actions:[]);return()=>{var ee,te;return h$5("header",{class:"hero"},[((ee=l.heroImage)==null?void 0:ee.call(l))||h$5(DropTransition,{appear:!0,type:"group"},()=>[Y.value?h$5("img",{key:"light",class:{light:W.value},src:Y.value,alt:Z.value}):null,W.value?h$5("img",{key:"dark",class:"dark",src:W.value,alt:Z.value}):null]),((te=l.heroInfo)==null?void 0:te.call(l))||h$5("div",{class:"hero-info"},[j.value?h$5(DropTransition,{appear:!0,delay:.04},()=>h$5("h1",{id:"main-title"},j.value)):null,U.value?h$5(DropTransition,{appear:!0,delay:.08},()=>h$5("p",{class:"description"},U.value)):null,X.value.length?h$5(DropTransition,{appear:!0,delay:.12},()=>h$5("p",{class:"actions"},X.value.map(ne=>h$5(AutoLink,{class:["action-button",ne.type||"default"],config:ne,externalLinkIcon:!1})))):null])])}}}),homePage="",HomePage=defineComponent({name:"HopePage",setup(s,{slots:l}){const T=usePageFrontmatter();return()=>{var F,j,U;return h$5("main",{class:"home project",id:"main-content","aria-labelledby":T.value.heroText===null?void 0:"main-title"},[(F=l.top)==null?void 0:F.call(l),h$5(HomeHero),h$5(DropTransition,{appear:!0,delay:.16},()=>h$5(HomeFeatures)),(j=l.center)==null?void 0:j.call(l),h$5(DropTransition,{appear:!0,delay:.24},()=>h$5(MarkdownContent,{custom:!0})),(U=l.bottom)==null?void 0:U.call(l)])}}}),getAncestorLinks=(s,l)=>{const T=s.path.replace(l,"/").split("/"),F=[];let j=removeEndingSlash(l);return T.forEach((U,Y)=>{Y!==T.length-1?(j+=`${U}/`,F.push(j)):U!==""&&(j+=U,F.push(j))}),F},resolveRepoType=s=>!isLinkHttp(s)||/github\.com/.test(s)?"GitHub":/bitbucket\.org/.test(s)?"Bitbucket":/gitlab\.com/.test(s)?"GitLab":/gitee\.com/.test(s)?"Gitee":null,breadcrumb="",BreadCrumb=defineComponent({name:"BreadCrumb",setup(){const s=useRouter(),l=useRoute(),T=useRouteLocale(),F=usePageFrontmatter(),j=useThemeLocaleData(),U=ref([]),Y=computed(()=>(F.value.breadcrumb||F.value.breadcrumb!==!1&&j.value.breadcrumb!==!1)&&U.value.length>1),W=computed(()=>F.value.breadcrumbIcon||F.value.breadcrumbIcon!==!1&&j.value.breadcrumbIcon!==!1),Z=()=>{const X=s.getRoutes(),ee=getAncestorLinks(l,T.value).map(te=>{const ne=X.find(oe=>oe.path===te);if(ne){const{meta:oe,path:se}=st(s,ne.path);if(oe.shortTitle||oe.title)return{title:oe.shortTitle||oe.title,icon:oe.icon,path:se}}return null}).filter(te=>te!==null);ee.length>1&&(U.value=ee)};return onMounted(()=>{Z(),watch(()=>l.path,Z)}),()=>h$5("nav",{class:["breadcrumb",{disable:!Y.value}]},Y.value?h$5("ol",{vocab:"https://schema.org/",typeof:"BreadcrumbList"},U.value.map((X,ee)=>h$5("li",{class:{"is-active":U.value.length-1===ee},property:"itemListElement",typeof:"ListItem"},[h$5(RouterLink,{to:X.path,property:"item",typeof:"WebPage"},()=>[W.value?h$5(Icon,{icon:X.icon}):null,h$5("span",{property:"name"},X.title||"Unknown")]),h$5("meta",{property:"position",content:ee+1})]))):[])}}),pageNav="",resolveFromFrontmatterConfig=s=>s===!1?!1:isString$1(s)?useAutoLink(s,!0):isPlainObject(s)?s:null,resolveFromSidebarItems=(s,l,T)=>{const F=s.findIndex(j=>j.link===l);if(F!==-1){const j=s[F+T];return j!=null&&j.link?j:null}for(const j of s)if(j.children){const U=resolveFromSidebarItems(j.children,l,T);if(U)return U}return null},PageNav=defineComponent({name:"PageNav",setup(){const s=useThemeLocaleData(),l=usePageFrontmatter(),T=useSidebarItems(),F=useRoute(),j=useNavigate(),U=computed(()=>{const W=resolveFromFrontmatterConfig(l.value.prev);return W===!1?null:W||(s.value.prevLink===!1?null:resolveFromSidebarItems(T.value,F.path,-1))}),Y=computed(()=>{const W=resolveFromFrontmatterConfig(l.value.next);return W===!1?null:W||(s.value.nextLink===!1?null:resolveFromSidebarItems(T.value,F.path,1))});return useEventListener("keydown",W=>{W.altKey&&(W.key==="ArrowRight"?Y.value&&(j(Y.value.link),W.preventDefault()):W.key==="ArrowLeft"&&U.value&&(j(U.value.link),W.preventDefault()))}),()=>U.value||Y.value?h$5("nav",{class:"page-nav"},[U.value?h$5(AutoLink,{class:"prev",config:U.value},()=>{var W,Z;return[h$5("div",{class:"hint"},[h$5("span",{class:"arrow left"}),s.value.metaLocales.prev]),h$5("div",{class:"link"},[h$5(Icon,{icon:(W=U.value)==null?void 0:W.icon}),(Z=U.value)==null?void 0:Z.text])]}):null,Y.value?h$5(AutoLink,{class:"next",config:Y.value},()=>{var W,Z;return[h$5("div",{class:"hint"},[s.value.metaLocales.next,h$5("span",{class:"arrow right"})]),h$5("div",{class:"link"},[(W=Y.value)==null?void 0:W.text,h$5(Icon,{icon:(Z=Y.value)==null?void 0:Z.icon})])]}):null]):null}}),AuthorIcon=()=>h$5(nt,{name:"author"},()=>h$5("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"}));AuthorIcon.displayName="AuthorIcon";const CalendarIcon=()=>h$5(nt,{name:"calendar"},()=>h$5("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"}));CalendarIcon.displayName="CalendarIcon";const CategoryIcon=()=>h$5(nt,{name:"category"},()=>h$5("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"}));CategoryIcon.displayName="CategoryIcon";const EyeIcon=()=>h$5(nt,{name:"eye"},()=>h$5("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"}));EyeIcon.displayName="EyeIcon";const FireIcon=()=>h$5(nt,{name:"fire"},()=>h$5("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"}));FireIcon.displayName="FireIcon";const TagIcon=()=>h$5(nt,{name:"tag"},()=>h$5("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"}));TagIcon.displayName="TagIcon";const TimerIcon=()=>h$5(nt,{name:"timer"},()=>h$5("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"}));TimerIcon.displayName="TimerIcon";const WordIcon=()=>h$5(nt,{name:"word"},()=>[h$5("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"}),h$5("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"})]);WordIcon.displayName="WordIcon";const useMetaLocale=()=>{const s=useThemeLocaleData();return computed(()=>s.value.metaLocales)},readingTimeLocales={"/en/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"},"/":{word:"\u7EA6 $word \u5B57",less1Minute:"\u5C0F\u4E8E 1 \u5206\u949F",time:"\u5927\u7EA6 $time \u5206\u949F"}},editLinkPatterns={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"},resolveEditLink=({docsRepo:s,docsBranch:l,docsDir:T,filePathRelative:F,editLinkPattern:j})=>{if(!F)return null;const U=resolveRepoType(s);let Y;return j?Y=j:U!==null&&(Y=editLinkPatterns[U]),Y?Y.replace(/:repo/,isLinkHttp(s)?s:`https://github.com/${s}`).replace(/:branch/,l).replace(/:path/,removeLeadingSlash(`${removeEndingSlash(T)}/${F}`)):null},useEditLink=()=>{const s=useThemeLocaleData(),l=usePageData(),T=usePageFrontmatter();return computed(()=>{var te,ne;const{repo:F,docsRepo:j=F,docsBranch:U="main",docsDir:Y="",editLink:W,editLinkPattern:Z=""}=s.value;if(!((ne=(te=T.value.editLink)!=null?te:W)!=null?ne:!0)||!j)return null;const ee=resolveEditLink({docsRepo:j,docsBranch:U,docsDir:Y,editLinkPattern:Z,filePathRelative:l.value.filePathRelative});return ee?{text:s.value.metaLocales.editLink,link:ee}:null})},useUpdateTime=()=>{const s=useSiteLocaleData(),l=useThemeLocaleData(),T=usePageData(),F=usePageFrontmatter();return computed(()=>{var Y,W,Z,X;return!((W=(Y=F.value.lastUpdated)!=null?Y:l.value.lastUpdated)!=null?W:!0)||!((Z=T.value.git)!=null&&Z.updatedTime)?null:new Date((X=T.value.git)==null?void 0:X.updatedTime).toLocaleString(s.value.lang)})},useContributors=()=>{const s=useThemeLocaleData(),l=usePageData(),T=usePageFrontmatter();return computed(()=>{var j,U,Y,W;return((U=(j=T.value.contributors)!=null?j:s.value.contributors)!=null?U:!0)&&(W=(Y=l.value.git)==null?void 0:Y.contributors)!=null?W:null})},AuthorInfo=defineComponent({name:"AuthorInfo",inheritAttrs:!1,props:{author:{type:Array,required:!0},pure:Boolean},setup(s){const l=useMetaLocale();return()=>s.author.length?h$5("span",{class:"author-info","aria-label":`${l.value.author}${s.pure?"":"\u{1F58A}"}`,...s.pure?{}:{"data-balloon-pos":"down"}},[h$5(AuthorIcon),h$5("span",s.author.map(T=>T.url?h$5("a",{class:"author-item",href:T.url,target:"_blank",rel:"noopener noreferrer"},T.name):h$5("span",{class:"author-item"},T.name))),h$5("span",{property:"author",content:s.author.map(T=>T.name).join(", ")})]):null}}),category="",CategoryInfo=defineComponent({name:"CategoryInfo",inheritAttrs:!1,props:{category:{type:Array,required:!0},pure:Boolean},setup(s){const l=useRouter(),T=useRoute(),F=useMetaLocale(),j=(U="")=>{U&&T.path!==U&&l.push(U)};return()=>s.category.length?h$5("span",{class:"category-info","aria-label":`${F.value.category}${s.pure?"":"\u{1F308}"}`,...s.pure?{}:{"data-balloon-pos":"down"}},[h$5(CategoryIcon),h$5("ul",{class:"categories-wrapper"},[...s.category.map(({name:U,path:Y})=>h$5("li",{class:["category",{[`category${Ct(U,9)}`]:!s.pure,clickable:Y}],role:Y?"navigation":"",onClick:()=>j(Y)},U)),h$5("meta",{property:"articleSection",content:s.category.map(({name:U})=>U).join(",")})])]):null}}),DateInfo=defineComponent({name:"DateInfo",inheritAttrs:!1,props:{date:{type:Object,default:null},localizedDate:{type:String,default:""},pure:Boolean},setup(s){const l=usePageLang(),T=useMetaLocale();return()=>{var F,j,U;return s.date?h$5("span",{class:"date-info","aria-label":`${T.value.date}${s.pure?"":"\u{1F4C5}"}`,...s.pure?{}:{"data-balloon-pos":"down"}},[h$5(CalendarIcon),h$5("span",s.localizedDate||((F=s.date.value)==null?void 0:F.toLocaleDateString(l.value))),h$5("meta",{property:"datePublished",content:((U=(j=s.date)==null?void 0:j.value)==null?void 0:U.toISOString())||""})]):null}}}),PageViewInfo=defineComponent({name:"PageViewInfo",inheritAttrs:!1,props:{pageview:{type:[Boolean,String],default:!1},pure:Boolean},setup(s){const l=useRoute(),T=useMetaLocale(),F=ref(0),j=()=>{const U=document.querySelector(".waline-pageview-count");if(U){const Y=U.textContent;Y&&!isNaN(Number(Y))?F.value=Number(Y):setTimeout(j,500)}};return onMounted(()=>{setTimeout(j,1500)}),watch(()=>l.path,(U,Y)=>{U!==Y&&setTimeout(j,500)}),()=>s.pageview?h$5("span",{class:"visitor-info","aria-label":`${T.value.views}${s.pure?"":"\u{1F522}"}`,...s.pure?{}:{"data-balloon-pos":"down"}},[h$5(F.value<1e3?EyeIcon:FireIcon),h$5("span",{class:"waline-pageview-count","data-path":typeof s.pageview=="string"?s.pageview:withBase(l.path)},"...")]):null}}),ReadingTimeInfo=defineComponent({name:"ReadingTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},pure:Boolean},setup(s){const l=useMetaLocale(),T=Dt(readingTimeLocales),F=computed(()=>{if(!s.readingTime)return null;const{minutes:j}=s.readingTime;return j<1?{text:T.value.less1Minute,time:"PT1M"}:{text:T.value.time.replace("$time",Math.round(j).toString()),time:`PT${Math.round(j)}M`}});return()=>F.value?h$5("span",{class:"reading-time-info","aria-label":`${l.value.readingTime}${s.pure?"":"\u231B"}`,...s.pure?{}:{"data-balloon-pos":"down"}},[h$5(TimerIcon),h$5("span",F.value.text),h$5("meta",{property:"timeRequired",content:F.value.time})]):null}}),tag="",TagInfo=defineComponent({name:"TagInfo",inheritAttrs:!1,props:{tag:{type:Array,default:()=>[]},pure:Boolean},setup(s){const l=useRouter(),T=useRoute(),F=useMetaLocale(),j=(U="")=>{U&&T.path!==U&&l.push(U)};return()=>s.tag.length?h$5("span",{"aria-label":`${F.value.tag}${s.pure?"":"\u{1F3F7}"}`,...s.pure?{}:{"data-balloon-pos":"down"}},[h$5(TagIcon),h$5("ul",{class:"tags-wrapper"},s.tag.map(({name:U,path:Y})=>h$5("li",{class:["tag",{[`tag${Ct(U,9)}`]:!s.pure,clickable:Y}],role:Y?"navigation":"",onClick:()=>j(Y)},U))),h$5("meta",{property:"keywords",content:s.tag.map(({name:U})=>U).join(",")})]):null}}),OriginalInfo=defineComponent({name:"OriginalMark",inheritAttrs:!1,props:{isOriginal:Boolean},setup(s){const l=useMetaLocale();return()=>s.isOriginal?h$5("span",{class:"origin"},l.value.origin):null}}),WordInfo=defineComponent({name:"ReadTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},pure:Boolean},setup(s){const l=useMetaLocale(),T=Dt(readingTimeLocales),F=computed(()=>{var U;return(U=s.readingTime)==null?void 0:U.words.toString()}),j=computed(()=>T.value.word.replace("$word",F.value||""));return()=>F.value?h$5("span",{class:"words-info","aria-label":`${l.value.words}${s.pure?"":"\u{1F520}"}`,...s.pure?{}:{"data-balloon-pos":"down"}},[h$5(WordIcon),h$5("span",j.value),h$5("meta",{property:"wordCount",content:F.value})]):null}}),pageInfo="",PageInfo=defineComponent({name:"PageInfo",components:{AuthorInfo,CategoryInfo,DateInfo,OriginalInfo,PageViewInfo,ReadingTimeInfo,TagInfo,WordInfo},props:{items:{type:[Array,Boolean],default:()=>["Author","Original","Date","Category","Tag","ReadingTime"]},config:{type:Object,required:!0}},setup(s){const l=usePure();return()=>s.items?h$5("div",{class:"page-info"},s.items.map(T=>h$5(resolveComponent(`${T}Info`),{...s.config,pure:l.value}))):null}}),pageTitle="",PageTitle=defineComponent({name:"PageTitle",setup(){const s=usePageData(),l=usePageFrontmatter(),T=useThemeLocaleData(),{config:F,items:j}=usePageInfo();return()=>h$5("div",{class:"page-title"},[h$5("h1",[T.value.titleIcon!==!1?h$5(Icon,{icon:l.value.icon}):null,s.value.title]),h$5(PageInfo,{config:unref(F),...j.value===null?{}:{items:j.value}}),h$5("hr")])}}),EditIcon=()=>h$5(nt,{name:"edit"},()=>[h$5("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"}),h$5("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"})]);EditIcon.displayName="EditIcon";const NotFoundIcon=()=>h$5("svg",{xmlns:"http://www.w3.org/2000/svg",class:"not-found-icon",viewBox:"0 0 178 130",innerHTML:'<defs><linearGradient id="b" x1=".5" x2=".5" y2="1" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#e9e9e9"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="c" x1=".5" x2=".5" y2="1" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#dcdcdc"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="d" x1=".5" x2=".5" y2="1" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#f1f1f1"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="e" x1=".5" x2=".5" y2="1" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#dedede"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="f" x1=".5" x2=".5" y2="1" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#e8e8e8"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="g" x1=".213" y1="1.265" x2=".846" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#f5f5f5"/></linearGradient><linearGradient id="h" x1=".5" x2=".5" y2="1" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#c5c5c5"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="i" x1=".5" x2=".5" y2="1" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#acacac"/><stop offset="1" stop-color="#f2f2f2" stop-opacity=".388"/></linearGradient><clipPath id="a"><path transform="translate(744 1111)" fill="none" d="M0 0h178v130H0z"/></clipPath></defs><g transform="translate(-744 -1111)" clip-path="url(#a)"><path d="M0 10.795 36.6 0v93.779L0 104.574z" transform="translate(772.466 1122.142)" fill="url(#b)"/><path d="M-8.492 10.642-26.361-.469v93.78l17.868 11.111z" transform="translate(780.958 1122.293)" fill="url(#c)"/><path d="M-8.5 5.55 28.106-5.3 10.228-16.437l-36.6 10.845z" transform="translate(780.963 1127.438)" fill="url(#d)"/><path d="M0 10.539 35.741 0v91.56L0 102.1z" transform="translate(870.158 1123.617)" fill="url(#d)"/><path d="M-8.913 10.38-26.361-.469v91.562l17.448 10.848z" transform="translate(879.071 1123.775)" fill="url(#e)"/><path d="m-8.918 5.032 35.741-10.59L9.366-16.437-26.375-5.848z" transform="translate(879.076 1129.175)" fill="url(#d)"/><path d="M0 9.137 30.839 0v79.381L0 88.519z" transform="translate(799.678 1151.579)" fill="url(#f)"/><path d="m-11.306 8.936-15.054-9.4v79.377l15.054 9.4z" transform="translate(810.985 1151.78)" fill="url(#c)"/><path d="M-11.313 2.087 19.526-7.05 4.464-16.437-26.375-7.3z" transform="translate(810.991 1158.63)" fill="url(#g)"/><path d="M178 53H0a51.361 51.361 0 0 1 10.453-20.952 74.532 74.532 0 0 1 19.742-16.811A103.3 103.3 0 0 1 57.089 4.058a127.515 127.515 0 0 1 63.823 0 103.3 103.3 0 0 1 26.894 11.179 74.532 74.532 0 0 1 19.741 16.811A51.363 51.363 0 0 1 178 53z" transform="translate(744 1187.549)" fill="url(#h)"/><path d="m814.529 1199.586-1.272 1.212h2.3l1.2-1.212zM816.725 1194.909l-1.272 1.212h2.3l1.263-1.212zM863.284 1199.585l-1.272 1.212h2.3l1.2-1.212zM865.519 1194.9l-1.272 1.212h2.3l1.263-1.212z" fill="#cbcbcb"/><path d="m799.527 1191.21 10.182-21.97h4.381l-9.931 21.719h14.876v3.941h-19.508zm13.081-9.493h4.152v17.859h-4.152zm20.728 18.151q-4.256 0-6.457-2.274a8.74 8.74 0 0 1-2.2-6.343v-13.791a8.708 8.708 0 0 1 2.21-6.353q2.212-2.264 6.447-2.264 4.256 0 6.457 2.253a8.726 8.726 0 0 1 2.2 6.363v13.792a8.708 8.708 0 0 1-2.21 6.349q-2.211 2.268-6.447 2.268zm0-4.048a4.29 4.29 0 0 0 3.328-1.178 4.862 4.862 0 0 0 1.074-3.39v-13.792a4.893 4.893 0 0 0-1.064-3.39 4.285 4.285 0 0 0-3.338-1.179 4.285 4.285 0 0 0-3.338 1.179 4.893 4.893 0 0 0-1.064 3.39v13.791a4.862 4.862 0 0 0 1.075 3.391 4.29 4.29 0 0 0 3.327 1.178zm14.928-4.61 10.181-21.97h4.381l-9.931 21.719h14.876v3.941h-19.507zm13.081-9.493h4.152v17.859h-4.152z" fill="#c6c6c6"/><path d="m798.306 1192.431 10.182-21.97h4.381l-9.931 21.719h14.876v3.941h-19.508zm13.081-9.493h4.152v17.859h-4.152zm20.728 18.151q-4.256 0-6.457-2.274a8.74 8.74 0 0 1-2.2-6.343v-13.791a8.708 8.708 0 0 1 2.21-6.353q2.212-2.264 6.447-2.264 4.256 0 6.457 2.253a8.726 8.726 0 0 1 2.2 6.363v13.792a8.708 8.708 0 0 1-2.21 6.349q-2.211 2.268-6.447 2.268zm0-4.048a4.29 4.29 0 0 0 3.328-1.178 4.862 4.862 0 0 0 1.074-3.39v-13.792a4.893 4.893 0 0 0-1.064-3.39 4.285 4.285 0 0 0-3.338-1.179 4.285 4.285 0 0 0-3.338 1.179 4.893 4.893 0 0 0-1.064 3.39v13.791a4.862 4.862 0 0 0 1.075 3.391 4.29 4.29 0 0 0 3.327 1.178zm14.928-4.61 10.181-21.97h4.381l-9.931 21.719h14.876v3.941h-19.507zm13.081-9.493h4.152v17.859h-4.152z" fill="#b2b2b2"/><path d="m-27.694-19.435 10.182 14.517h4.381l-9.931-14.352h14.876v-2.606h-19.508zm13.081 6.273h4.152v-11.8h-4.152zM6.115-25.156q-4.256 0-6.457 1.5a4.8 4.8 0 0 0-2.2 4.191v9.113a4.784 4.784 0 0 0 2.212 4.2 11.511 11.511 0 0 0 6.447 1.5q4.256 0 6.457-1.489a4.786 4.786 0 0 0 2.2-4.2v-9.113a4.784 4.784 0 0 0-2.212-4.2 11.511 11.511 0 0 0-6.447-1.502zm0 2.675a5.705 5.705 0 0 1 3.328.779 2.6 2.6 0 0 1 1.074 2.24v9.113a2.607 2.607 0 0 1-1.064 2.24 5.7 5.7 0 0 1-3.338.779 5.7 5.7 0 0 1-3.338-.779 2.607 2.607 0 0 1-1.064-2.24v-9.113A2.6 2.6 0 0 1 2.788-21.7a5.705 5.705 0 0 1 3.327-.782zm14.927 3.047L31.224-4.918h4.381l-9.931-14.351H40.55v-2.606H21.043zm13.081 6.273h4.152v-11.8h-4.151z" transform="translate(826 1226.245)" opacity=".32" fill="url(#i)"/><g fill="#e6e6e6"><path d="m858.428 1169.23-1.2 1.259h4.388l1.178-1.259zM802.944 1192.187l1.288-1.375h7.143v1.375zm8.415-9.25 1.273-1.234h4.15l-1.235 1.234zm-2.855-12.469 1.198-1.259h4.367l-1.178 1.259zM861.362 1181.678l-1.27 1.3h4.188l1.236-1.3zM865.519 1190.9l-1.27 1.3h2.3l1.162-1.3zM852.838 1190.791l-1.207 1.508h8.447v-1.508z"/></g></g>'}),pageMeta="",PageMeta=defineComponent({name:"PageMeta",setup(){const s=useThemeLocaleData(),l=useEditLink(),T=useUpdateTime(),F=useContributors();return()=>{const{metaLocales:j}=s.value;return h$5("footer",{class:"page-meta"},[l.value?h$5("div",{class:"meta-item edit-link"},h$5(AutoLink,{class:"label",config:l.value},{before:()=>h$5(EditIcon)})):null,T.value?h$5("div",{class:"meta-item update-time"},[h$5("span",{class:"label"},`${j.lastUpdated}: `),h$5(ClientOnly,()=>h$5("span",{class:"info"},T.value))]):null,F.value&&F.value.length?h$5("div",{class:"meta-item contributors"},[h$5("span",{class:"label"},`${j.contributors}: `),F.value.map(({email:U,name:Y},W)=>[h$5("span",{class:"contributor",title:`email: ${U}`},Y),W!==F.value.length-1?",":""])]):null])}}}),toc="",renderHeader=({title:s,level:l,slug:T})=>h$5(RouterLink,{to:`#${T}`,class:["toc-link",`level${l}`]},()=>s),renderChildren=(s,l)=>{const T=useRoute();return s.length&&l>0?h$5("ul",{class:"toc-list"},s.map(F=>[h$5("li",{class:["toc-item",{active:Ht(T,`#${F.slug}`)}]},renderHeader(F)),renderChildren(F.children,l-1)])):null},TOC=defineComponent({name:"TOC",props:{items:{type:Array,default:()=>[]},headerDepth:{type:Number,default:2}},setup(s){const l=useRoute(),T=usePageData(),F=useMetaLocale(),j=ref(null),U=Y=>{var W;(W=j.value)==null||W.scrollTo({top:Y,behavior:"smooth"})};return onMounted(()=>{watch(()=>l.hash,Y=>{if(j.value){const W=document.querySelector(`#toc a.toc-link[href$="${Y}"]`);if(!W)return;const{top:Z,height:X}=j.value.getBoundingClientRect(),{top:ee,height:te}=W.getBoundingClientRect();ee<Z?U(j.value.scrollTop+ee-Z):ee+te>Z+X&&U(j.value.scrollTop+ee+te-Z-X)}})}),()=>{const Y=s.items.length?renderChildren(s.items,s.headerDepth):T.value.headers?renderChildren(T.value.headers,s.headerDepth):null;return Y?h$5("div",{class:"toc-place-holder"},[h$5("aside",{id:"toc"},[h$5("div",{class:"toc-header"},F.value.toc),h$5("div",{class:"toc-wrapper",ref:j},[Y])])]):null}}}),darkModeSymbol=Symbol.for("darkMode"),useDarkMode=()=>{const s=inject(darkModeSymbol);if(!s)throw new Error("useDarkMode() is called without provider.");return s},injectDarkMode=s=>{const l=useThemeData(),T=usePreferredDark(),F=useStorage("vuepress-theme-hope-scheme","auto"),j=computed(()=>{const{darkmode:U}=l.value;return U==="disable"?!1:U==="enable"?!0:U==="auto"?T.value:U==="toggle"?F.value==="dark":F.value==="dark"||F.value==="auto"&&T.value});s.provide(darkModeSymbol,{isDarkMode:j,status:F}),Object.defineProperties(s.config.globalProperties,{$isDarkMode:{get:()=>j.value}})},setupDarkMode=()=>{const{isDarkMode:s}=useDarkMode(),l=(T=s.value)=>{const F=window==null?void 0:window.document.querySelector("html");F==null||F.setAttribute("data-theme",T?"dark":"light")};onMounted(()=>{watch(s,l,{immediate:!0})})},page="",NormalPage=defineComponent({name:"NormalPage",setup(s,{slots:l}){const T=usePageFrontmatter(),{isDarkMode:F}=useDarkMode(),j=useThemeLocaleData(),U=computed(()=>T.value.toc||T.value.toc!==!1&&j.value.toc!==!1);return()=>h$5("main",{class:"page",id:"main-content"},h$5(Mt("LocalEncrypt")?resolveComponent("LocalEncrypt"):gt,()=>{var Y,W,Z,X,ee,te;return[(Y=l.top)==null?void 0:Y.call(l),h$5(BreadCrumb),h$5(PageTitle),U.value?h$5(TOC,{headerDepth:(Z=(W=T.value.headerDepth)!=null?W:j.value.headerDepth)!=null?Z:2}):null,(X=l.contentBefore)==null?void 0:X.call(l),h$5(MarkdownContent),(ee=l.contentAfter)==null?void 0:ee.call(l),h$5(PageMeta),h$5(PageNav),Mt("CommentService")?h$5(resolveComponent("CommentService"),{darkmode:F.value}):null,(te=l.bottom)==null?void 0:te.call(l)]}))}}),I18nIcon=()=>h$5(nt,{name:"i18n"},()=>[h$5("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"})]);I18nIcon.displayName="I18nIcon";const GitHubIcon=()=>h$5(nt,{name:"github"},()=>h$5("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"}));GitHubIcon.displayName="GitHubIcon";const GitlabIcon=()=>h$5(nt,{name:"gitlab"},()=>h$5("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"}));GitlabIcon.displayName="GitlabIcon";const GiteeIcon=()=>h$5(nt,{name:"gitee"},()=>h$5("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"}));GiteeIcon.displayName="GiteeIcon";const BitbucketIcon=()=>h$5(nt,{name:"bitbucket"},()=>h$5("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"}));BitbucketIcon.displayName="BitbucketIcon";const SourceIcon=()=>h$5(nt,{name:"source"},()=>h$5("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"}));SourceIcon.displayName="SourceIcon";const dropdownLink="",DropdownLink=defineComponent({name:"NavbarDropdownLink",props:{config:{type:Object,required:!0}},setup(s,{slots:l}){const T=useRoute(),F=toRef(s,"config"),j=computed(()=>F.value.ariaLabel||F.value.text),U=ref(!1);watch(()=>T.path,()=>{U.value=!1});const Y=W=>{W.detail===0&&(U.value=!U.value)};return()=>{var W;return h$5("div",{class:["dropdown-wrapper",{open:U.value}]},[h$5("button",{class:"dropdown-title",type:"button","aria-label":j.value,onClick:Y},[((W=l.title)==null?void 0:W.call(l))||h$5("span",{class:"title"},[h$5(Icon,{icon:F.value.icon}),s.config.text]),h$5("span",{class:"arrow"}),h$5("ul",{class:"nav-dropdown"},F.value.children.map((Z,X)=>{const ee=X===F.value.children.length-1;return h$5("li",{class:"dropdown-item"},"children"in Z?[h$5("h4",{class:"dropdown-subtitle"},Z.link?h$5(AutoLink,{config:Z,onFocusout:()=>{Z.children.length===0&&ee&&(U.value=!1)}}):h$5("span",Z.text)),h$5("ul",{class:"dropdown-subitem-wrapper"},Z.children.map((te,ne)=>h$5("li",{class:"dropdown-subitem"},h$5(AutoLink,{config:te,onFocusout:()=>{ne===Z.children.length-1&&ee&&(U.value=!1)}}))))]:h$5(AutoLink,{config:Z,onFocusout:()=>{ee&&(U.value=!1)}}))}))])])}}}),resolveNavbarItem=(s,l="")=>isString$1(s)?useAutoLink(`${l}${s}`):"children"in s?{...s,...s.link&&!isLinkExternal(s.link)?useAutoLink(`${l}${s.link}`):{},children:s.children.map(T=>resolveNavbarItem(T,`${l}${s.prefix||""}`))}:{...s,link:isLinkExternal(s.link)?s.link:useAutoLink(`${l}${s.link}`).link},useNavbarConfig=()=>computed(()=>(useThemeLocaleData().value.navbar||[]).map(s=>resolveNavbarItem(s))),useNavbarLanguageDropdown=()=>{const s=useRouter(),l=useRouteLocale(),T=useSiteLocaleData(),F=useThemeData(),j=useThemeLocaleData();return computed(()=>{const U=Object.keys(T.value.locales);if(U.length<2)return null;const{path:Y,hash:W}=s.currentRoute.value,{navbarLocales:Z}=j.value;return{text:"",ariaLabel:Z==null?void 0:Z.selectLangAriaLabel,children:U.map(ee=>{var ue,le,ce,me,Ce,Re,_e;const te=(le=(ue=T.value.locales)==null?void 0:ue[ee])!=null?le:{},ne=(me=(ce=F.value.locales)==null?void 0:ce[ee])!=null?me:{},oe=te.lang||"",se=(Re=(Ce=ne.navbarLocales)==null?void 0:Ce.langName)!=null?Re:oe;let ae;if(oe===T.value.lang)ae=Y;else{const fe=Y.replace(l.value,ee);ae=s.getRoutes().some(ge=>ge.path===fe)?`${fe}${W}`:(_e=ne.home)!=null?_e:ee}return{text:se,link:ae}})}})},useNavbarRepo=()=>{const s=useThemeLocaleData(),l=computed(()=>s.value.repo||null),T=computed(()=>l.value?resolveRepoType(l.value):null),F=computed(()=>l.value&&!isLinkHttp(l.value)?`https://github.com/${l.value}`:l.value),j=computed(()=>{var U;return F.value?(U=s.value.repoLabel)!=null?U:T.value===null?"Source":T.value:null});return computed(()=>!F.value||!j.value||s.value.repoDisplay===!1?null:{type:T.value||"Source",label:j.value,link:F.value})},LanguageDropdown=defineComponent({name:"LanguageDropdown",setup(){const s=useNavbarLanguageDropdown();return()=>s.value?h$5("div",{class:"nav-item"},h$5(DropdownLink,{class:"i18n-dropdown",config:s.value},{title:()=>{var l;return h$5(I18nIcon,{"aria-label":(l=s.value)==null?void 0:l.ariaLabel,style:{width:"1rem",height:"1rem",verticalAlign:"middle"}})}})):null}}),navbarBrand="",NavbarBrand=defineComponent({name:"NavbarBrand",setup(){const s=useRouteLocale(),l=useSiteLocaleData(),T=useThemeLocaleData(),F=computed(()=>T.value.home||s.value),j=computed(()=>l.value.title),U=computed(()=>T.value.logo?withBase(T.value.logo):null),Y=computed(()=>T.value.logoDark?withBase(T.value.logoDark):null);return()=>h$5(RouterLink,{to:F.value,class:"brand"},()=>[U.value?h$5("img",{class:["logo",{light:Boolean(Y.value)}],src:U.value,alt:j.value}):null,Y.value?h$5("img",{class:["logo dark"],src:Y.value,alt:j.value}):null,j.value?h$5("span",{class:["site-name",{"hide-in-pad":U.value}]},j.value):null])}}),navbarLinks="",NavbarLinks=defineComponent({name:"NavbarLinks",setup(){const s=useNavbarConfig();return()=>s.value.length?h$5("nav",{class:"nav-links"},[...s.value.map(l=>h$5("div",{class:"nav-item hide-in-mobile"},"children"in l?h$5(DropdownLink,{config:l}):h$5(AutoLink,{config:l})))]):null}}),navScreenDropdown="",NavScreenDropdown=defineComponent({name:"NavScreenDropdown",props:{config:{type:Object,required:!0}},setup(s){const l=useRoute(),T=toRef(s,"config"),F=computed(()=>T.value.ariaLabel||T.value.text),j=ref(!1);watch(()=>l.path,()=>{j.value=!1});const U=(Y,W)=>W[W.length-1]===Y;return()=>[h$5("button",{class:["nav-screen-dropdown-title",{active:j.value}],type:"button","aria-label":F.value,onClick:()=>{j.value=!j.value}},[h$5("span",{class:"title"},[h$5(Icon,{icon:T.value.icon}),s.config.text]),h$5("span",{class:["arrow",j.value?"down":"right"]})]),h$5("ul",{class:["nav-screen-dropdown",{hide:!j.value}]},T.value.children.map(Y=>h$5("li",{class:"dropdown-item"},"children"in Y?[h$5("h4",{class:"dropdown-subtitle"},Y.link?h$5(AutoLink,{config:Y,onFocusout:()=>{U(Y,T.value.children)&&Y.children.length===0&&(j.value=!1)}}):h$5("span",Y.text)),h$5("ul",{class:"dropdown-subitem-wrapper"},Y.children.map(W=>h$5("li",{class:"dropdown-subitem"},h$5(AutoLink,{config:W,onFocusout:()=>{U(W,Y.children)&&U(Y,T.value.children)&&(j.value=!1)}}))))]:h$5(AutoLink,{config:Y,onFocusout:()=>{U(Y,T.value.children)&&(j.value=!1)}}))))]}}),navScreenLinks="",NavScreenLinks=defineComponent({name:"NavScreenLinks",setup(){const s=useNavbarConfig();return()=>s.value.length?h$5("nav",{class:"nav-screen-links"},s.value.map(l=>h$5("div",{class:"navbar-links-item"},"children"in l?h$5(NavScreenDropdown,{config:l}):h$5(AutoLink,{config:l})))):null}}),DarkIcon=()=>h$5(nt,{name:"dark"},()=>h$5("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"}));DarkIcon.displayName="DarkIcon";const LightIcon=()=>h$5(nt,{name:"light"},()=>h$5("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"}));LightIcon.displayName="LightIcon";const AutoIcon=()=>h$5(nt,{name:"auto"},()=>h$5("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"}));AutoIcon.displayName="AutoIcon";const EnterFullScreenIcon=()=>h$5(nt,{name:"enter-fullscreen"},()=>h$5("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"}));EnterFullScreenIcon.displayName="EnterFullScreenIcon";const CancelFullScreenIcon=()=>h$5(nt,{name:"cancel-fullscreen"},()=>h$5("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"}));CancelFullScreenIcon.displayName="CancelFullScreenIcon";const OutlookIcon=()=>h$5(nt,{name:"outlook"},()=>[h$5("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"})]);OutlookIcon.displayName="OutlookIcon";const appearanceSwitch="",AppearanceSwitch=defineComponent({name:"AppearanceSwitch",setup(){const s=useThemeData(),{status:l}=useDarkMode(),T=computed(()=>s.value.darkmode),F=()=>{T.value==="switch"?l.value={light:"dark",dark:"auto",auto:"light"}[l.value]:l.value=l.value==="light"?"dark":"light"};return()=>h$5("button",{id:"appearance-switch",onClick:()=>F()},[h$5(AutoIcon,{style:{display:l.value==="auto"?"block":"none"}}),h$5(DarkIcon,{style:{display:l.value==="dark"?"block":"none"}}),h$5(LightIcon,{style:{display:l.value==="light"?"block":"none"}})])}}),AppearanceMode=defineComponent({name:"AppearanceMode",setup(){const s=useThemeData(),l=useThemeLocaleData(),T=computed(()=>l.value.outlookLocales.darkmode),F=computed(()=>s.value.darkmode),j=computed(()=>F.value==="switch"||F.value==="toggle");return()=>j.value?h$5("div",{class:"appearance-wrapper"},[h$5("label",{class:"appearance-title",for:"appearance-switch"},T.value),h$5(AppearanceSwitch)]):null}}),themeColorPicker="",ThemeColorPicker=defineComponent({name:"ThemeColorPicker",props:{themeColor:{type:Object,required:!0}},setup(s){const l=(T="")=>{const F=document.documentElement.classList,j=Object.keys(s.themeColor).map(U=>`theme-${U}`);if(!T){localStorage.removeItem("theme"),F.remove(...j);return}F.remove(...j.filter(U=>U!==`theme-${T}`)),F.add(`theme-${T}`),localStorage.setItem("theme",T)};return onMounted(()=>{const T=localStorage.getItem("theme");T&&l(T)}),()=>h$5("ul",{id:"themecolor-picker"},[h$5("li",h$5("span",{class:"theme-color",onClick:()=>l()})),...Object.entries(s.themeColor).map(([T,F])=>h$5("li",h$5("span",{style:{background:F},onClick:()=>l(T)})))])}}),ThemeColor=defineComponent({name:"ThemeColor",setup(){const s=useThemeData(),l=useThemeLocaleData(),T=computed(()=>l.value.outlookLocales.themeColor),F=computed(()=>{const{themeColor:j}=s.value;return j===!1?null:j});return()=>F.value?h$5("div",{class:"themecolor-wrapper"},[h$5("label",{class:"themecolor-title",for:"theme-color-picker"},T.value),h$5(ThemeColorPicker,{themeColor:F.value})]):null}}),toggleFullScreenButton="",ToggleFullScreenButton=defineComponent({name:"ToggleFullScreenButton",setup(){const s=useThemeLocaleData(),{isSupported:l,isFullscreen:T,toggle:F}=useFullscreen(),j=computed(()=>s.value.outlookLocales.fullscreen);return()=>l?h$5("div",{class:"fullscreen-wrapper"},[h$5("label",{class:"full-screen-title",for:"full-screen-switch"},j.value),h$5("button",{class:"full-screen",id:"full-screen-switch",ariaPressed:T.value,onClick:()=>F()},T.value?h$5(CancelFullScreenIcon):h$5(EnterFullScreenIcon))]):null}}),OutlookSettings=defineComponent({name:"OutlookSettings",setup(){const s=useThemeData(),l=usePure(),T=computed(()=>s.value.darkmode!=="disable"&&s.value.darkmode!=="enable"),F=computed(()=>!l.value&&Boolean(s.value.themeColor)),j=computed(()=>!l.value&&s.value.fullscreen);return()=>h$5(ClientOnly,()=>[F.value?h$5(ThemeColor):null,T.value?h$5(AppearanceMode):null,j.value?h$5(ToggleFullScreenButton):null])}}),navScreen="",NavScreen=defineComponent({name:"NavScreen",props:{active:Boolean},emits:["close"],setup(s,{emit:l,slots:T}){const F=useRoute(),j=useMobile(),U=ref(),Y=useScrollLock(U);return watch(j,W=>{!W&&s.active&&l("close")}),watch(()=>F.path,()=>{Y.value=!1,l("close")}),onMounted(()=>{U.value=document.body}),onBeforeUnmount(()=>{Y.value=!1}),()=>h$5(Transition,{name:"fade",onEnter:()=>{Y.value=!0},onAfterLeave:()=>{Y.value=!1}},()=>{var W,Z;return s.active?h$5("div",{id:"nav-screen"},h$5("div",{class:"container"},[(W=T.before)==null?void 0:W.call(T),h$5(NavScreenLinks),h$5("div",{class:"outlook-wrapper"},h$5(OutlookSettings)),(Z=T.after)==null?void 0:Z.call(T)])):null})}}),outlookButton="",OutlookButton=defineComponent({name:"OutlookButton",setup(){const{isSupported:s}=useFullscreen(),l=useThemeData(),T=usePure(),F=useRoute(),j=ref(!1),U=computed(()=>l.value.darkmode!=="disable"&&l.value.darkmode!=="enable"),Y=computed(()=>!T.value&&Boolean(l.value.themeColor)),W=computed(()=>!T.value&&l.value.fullscreen&&s);return watch(()=>F.path,()=>{j.value=!1}),()=>U.value||W.value||Y.value?h$5("div",{class:"nav-item hide-in-mobile"},U.value&&!W.value&&!Y.value?h$5(AppearanceSwitch):W.value&&!U.value&&!Y.value?h$5(ToggleFullScreenButton):h$5("button",{class:["outlook-button",{open:j.value}],tabindex:"-1",ariaHidden:!0},[h$5(OutlookIcon),h$5("div",{class:"outlook-dropdown"},h$5(OutlookSettings))])):null}}),toggleNavbarButton="",ToggleNavbarButton=({active:s=!1},{emit:l})=>h$5("button",{class:["toggle-navbar-button",{"is-active":s}],"aria-label":"Toggle Navbar","aria-expanded":s,"aria-controls":"nav-screen",onClick:()=>l("toggle")},h$5("span",{class:"button-container"},[h$5("span",{class:"button-top"}),h$5("span",{class:"button-middle"}),h$5("span",{class:"button-bottom"})]));ToggleNavbarButton.displayName="ToggleNavbarButton";const toggleSidebarButton="",ToggleSidebarButton=(s,{emit:l})=>h$5("button",{class:"toggle-sidebar-button",title:"Toggle Sidebar",onClick:()=>l("toggle")},h$5("span",{class:"icon"}));ToggleSidebarButton.displayName="ToggleSidebarButton";ToggleSidebarButton.emits=["toggle"];const repoLink="",RepoLink=defineComponent({name:"RepoLink",components:{BitbucketIcon,GiteeIcon,GitHubIcon,GitlabIcon,SourceIcon},setup(){const s=useNavbarRepo();return()=>s.value?h$5("div",{class:"nav-item"},h$5("a",{class:"repo-link",href:s.value.link,target:"_blank",rel:"noopener noreferrer","aria-label":s.value.label},h$5(resolveComponent(`${s.value.type}Icon`),{style:{width:"1.25rem",height:"1.25rem",verticalAlign:"middle"}}))):null}}),navbar="",Navbar=defineComponent({name:"NavBar",emits:["toggle-sidebar"],setup(s,{emit:l,slots:T}){const F=useThemeLocaleData(),j=useMobile(),U=ref(!1),Y=computed(()=>{const{navbarAutoHide:Z}=F.value;return Z!=="none"&&(Z==="always"||j.value)}),W=computed(()=>F.value.navbarLayout||{left:["Brand"],center:["Links"],right:["Language","Repo","Outlook","Search"]});return()=>{var X,ee,te,ne,oe,se;const Z={Brand:h$5(NavbarBrand),Language:h$5(LanguageDropdown),Links:h$5(NavbarLinks),Repo:h$5(RepoLink),Outlook:h$5(OutlookButton),Search:Mt("Docsearch")?h$5(resolveComponent("Docsearch")):Mt("SearchBox")?h$5(resolveComponent("SearchBox")):null};return[h$5("header",{class:["navbar",{"auto-hide":Y.value,"hide-icon":!F.value.navbarIcon}]},[h$5("div",{class:"navbar-left"},[h$5(ToggleSidebarButton,{onToggle:()=>{U.value&&(U.value=!1),l("toggle-sidebar")}}),(X=T["left-start"])==null?void 0:X.call(T),...W.value.left.map(ae=>Z[ae]),(ee=T["left-end"])==null?void 0:ee.call(T)]),h$5("div",{class:"navbar-center"},[(te=T["center-start"])==null?void 0:te.call(T),...W.value.center.map(ae=>Z[ae]),(ne=T["center-end"])==null?void 0:ne.call(T)]),h$5("div",{class:"navbar-right"},[(oe=T["right-start"])==null?void 0:oe.call(T),...W.value.right.map(ae=>Z[ae]),(se=T["right-start"])==null?void 0:se.call(T),h$5(ToggleNavbarButton,{active:U.value,onToggle:()=>{U.value=!U.value}})])]),h$5(NavScreen,{active:U.value,onClose:()=>{U.value=!1}},{before:()=>{var ae;return(ae=T.screenTop)==null?void 0:ae.call(T)},after:()=>{var ae;return(ae=T.screenBottom)==null?void 0:ae.call(T)}})]}}}),sidebarChild="",SidebarChild=defineComponent({name:"SidebarChild",props:{config:{type:Object,required:!0}},setup(s){const l=useRoute();return()=>[renderItem(s.config,{class:["sidebar-link",`sidebar-${s.config.type}`,{active:isActiveSidebarItem(l,s.config,!0)}],exact:!0}),renderChildren$1(s.config.children)]}}),sidebarGroup="",SidebarGroup=defineComponent({name:"SidebarGroup",props:{config:{type:Object,required:!0},open:{type:Boolean,required:!0}},emits:["toggle"],setup(s,{emit:l}){const T=useRoute(),F=computed(()=>isActiveSidebarItem(T,s.config)),j=computed(()=>isActiveSidebarItem(T,s.config,!0));return()=>{const{collapsable:U,children:Y=[],icon:W,link:Z,text:X}=s.config;return[h$5("section",{class:"sidebar-group"},[h$5(U?"button":"p",{class:["sidebar-heading",{clickable:U||Z,exact:j.value,active:F.value}],...U?{onClick:()=>l("toggle"),onKeydown:ee=>{ee.key==="Enter"&&l("toggle")}}:{}},[h$5(Icon,{icon:W}),Z?h$5(RouterLink,{to:Z,class:"title"},()=>X):h$5("span",{class:"title"},X),U?h$5("span",{class:["arrow",s.open?"down":"right"]}):null]),h$5(DropTransition,()=>s.open||!U?h$5(SidebarLinks,{config:Y}):null)])]}}}),sidebarLinks="",SidebarLinks=defineComponent({name:"SidebarLinks",props:{config:{type:Array,required:!0}},setup(s){const l=useRoute(),T=ref(-1),F=j=>{T.value=j===T.value?-1:j};return watch(()=>[l.path,s.config],()=>{const j=s.config.findIndex(U=>isMatchedSidebarItem(l,U));T.value=j},{immediate:!0}),()=>h$5("ul",{class:"sidebar-links"},s.config.map((j,U)=>h$5("li",j.type==="group"?h$5(SidebarGroup,{config:j,open:U===T.value,onToggle:()=>F(U)}):h$5(SidebarChild,{config:j}))))}}),sidebar="",Sidebar=defineComponent({name:"SideBar",setup(s,{slots:l}){const T=useRoute(),F=useThemeLocaleData(),j=useSidebarItems(),U=ref(null);return onMounted(()=>{watch(()=>T.hash,Y=>{const W=document.querySelector(`.sidebar a.sidebar-link[href="${T.path}${Y}"]`);if(!W)return;const{top:Z,height:X}=U.value.getBoundingClientRect(),{top:ee,height:te}=W.getBoundingClientRect();ee<Z?W.scrollIntoView(!0):ee+te>Z+X&&W.scrollIntoView(!1)})}),()=>{var Y,W,Z;return h$5("aside",{class:["sidebar",{"hide-icon":!F.value.sidebarIcon}],ref:U},[(Y=l.top)==null?void 0:Y.call(l),((W=l.default)==null?void 0:W.call(l))||h$5(SidebarLinks,{config:j.value}),(Z=l.bottom)==null?void 0:Z.call(l)])}}}),fadeSlideY="",FadeSlideY=defineComponent({name:"FadeSlideY",setup(s,{slots:l}){const T=useScrollPromise(),F=T.resolve,j=T.pending;return()=>h$5(Transition,{name:"fade-slide-y",mode:"out-in",onBeforeEnter:F,onBeforeLeave:j},()=>{var U;return(U=l.default)==null?void 0:U.call(l)})}}),skipLink="",SkipLink=defineComponent({name:"SkipLink",props:{content:{type:String,default:"main-content"}},setup(s){const l=useRoute(),T=ref();watch(()=>l.path,()=>T.value.focus());const F=({target:j})=>{const U=document.querySelector(j.hash);if(U){const Y=()=>{U.removeAttribute("tabindex"),U.removeEventListener("blur",Y)};U.setAttribute("tabindex","-1"),U.addEventListener("blur",Y),U.focus(),window.scrollTo(0,0)}};return()=>[h$5("span",{ref:T,tabindex:"-1"}),h$5("a",{href:`#${s.content}`,class:"skip-link sr-only",onClick:F},"Skip to content")]}}),Layout=defineComponent({name:"Layout",setup(){const s=useThemeData(),l=useThemeLocaleData(),T=usePageData(),F=usePageFrontmatter();return useMobile(),computed(()=>l.value.blog.sidebarDisplay||s.value.blog.sidebarDisplay||"mobile"),()=>[h$5(SkipLink),h$5(resolveComponent("CommonWrapper"),{},{default:()=>F.value.home?h$5(resolveComponent("HomePage")):h$5(FadeSlideY,()=>h$5(resolveComponent("NormalPage"),{key:T.value.path}))})]}}),notFound="",NotFound=defineComponent({name:"NotFound",setup(){var j;const s=useRouteLocale(),l=useThemeLocaleData(),T=()=>{const U=l.value.routeLocales.notFoundMsg;return U[Math.floor(Math.random()*U.length)]},{navigate:F}=useLink({to:(j=l.value.home)!=null?j:s.value});return()=>[h$5(SkipLink),h$5(resolveComponent("CommonWrapper"),{sidebar:!1},()=>h$5("main",{class:"page not-found",id:"main-content"},[h$5(NotFoundIcon),h$5("blockquote",T()),h$5("button",{class:"action-button",onClick:()=>{window.history.go(-1)}},l.value.routeLocales.back),h$5("button",{class:"action-button",onClick:()=>F()},l.value.routeLocales.home)]))]}}),index="",layout="",d=()=>h$5(nt,{name:"back"},()=>h$5("path",{d:"M1014.749 449.156v125.688H260.626l345.64 345.64-89.239 89.237L19.307 512l497.72-497.721 89.238 89.238-345.64 345.64h754.124z"})),h=()=>h$5(nt,{name:"home"},()=>h$5("path",{d:"M780.106 420.978L506.994 147.866 233.882 420.978h.045v455.11H780.06v-455.11h.046zm90.977 90.976V876.09a91.022 91.022 0 01-91.023 91.022H233.927a91.022 91.022 0 01-91.022-91.022V511.954l-67.22 67.175-64.307-64.307 431.309-431.31c35.498-35.498 93.115-35.498 128.614 0l431.309 431.31-64.307 64.307L871.083 512z"}));var f=defineComponent({name:"SlidePage",setup(){const s=useRouter(),l=ref(!1),T=ref(null),F=()=>{l.value=!l.value},j=()=>{l.value=!1},U=()=>{j(),window.history.go(-1)},Y=()=>{j(),s.push("/")};return onClickOutside(T,j),()=>h$5("div",{class:"presentation"},[h$5(Content),h$5("div",{ref:T,class:["menu",{active:l.value}]},[h$5("button",{class:"menu-button",onClick:()=>F()},h$5("span",{class:"icon"})),h$5("button",{class:"back-button",onClick:()=>U()},h$5(d)),h$5("button",{class:"home-button",onClick:()=>Y()},h$5(h))])])}});const clientConfig9=defineClientConfig({enhance:({app:s,router:l})=>{const{scrollBehavior:T}=l.options;l.options.scrollBehavior=async(...F)=>(await useScrollPromise().wait(),T(...F)),injectDarkMode(s),s.component("CommonWrapper",CommonWrapper),s.component("HomePage",HomePage),s.component("NormalPage",NormalPage),s.component("Navbar",Navbar),s.component("Sidebar",Sidebar)},setup:()=>{setupDarkMode(),setupSidebarItems()},layouts:{Layout,NotFound,Slide:f}}),clientConfigs=[clientConfig0,clientConfig1,clientConfig2,clientConfig3,clientConfig4,clientConfig5,A$1,clientConfig7,I,clientConfig9];var pagesData=ref(pagesData$1),pageDataEmpty=readonly({key:"",path:"",title:"",lang:"",frontmatter:{},excerpt:"",headers:[]}),pageData=ref(pageDataEmpty),usePageData=()=>pageData;import.meta.webpackHot&&(__VUE_HMR_RUNTIME__.updatePageData=s=>{pagesData.value[s.key]=()=>Promise.resolve(s),s.key===pageData.value.key&&(pageData.value=s)});var pageFrontmatterSymbol=Symbol(""),usePageFrontmatter=()=>{const s=inject(pageFrontmatterSymbol);if(!s)throw new Error("usePageFrontmatter() is called without provider.");return s},pageHeadSymbol=Symbol(""),usePageHead=()=>{const s=inject(pageHeadSymbol);if(!s)throw new Error("usePageHead() is called without provider.");return s},pageHeadTitleSymbol=Symbol(""),pageLangSymbol=Symbol(""),usePageLang=()=>{const s=inject(pageLangSymbol);if(!s)throw new Error("usePageLang() is called without provider.");return s},routeLocaleSymbol=Symbol(""),useRouteLocale=()=>{const s=inject(routeLocaleSymbol);if(!s)throw new Error("useRouteLocale() is called without provider.");return s},siteData=ref(siteData$1),useSiteData=()=>siteData;import.meta.webpackHot&&(__VUE_HMR_RUNTIME__.updateSiteData=s=>{siteData.value=s});var siteLocaleDataSymbol=Symbol(""),useSiteLocaleData=()=>{const s=inject(siteLocaleDataSymbol);if(!s)throw new Error("useSiteLocaleData() is called without provider.");return s},updateHeadSymbol=Symbol(""),resolvers=reactive({resolvePageData:async s=>{const l=pagesData.value[s],T=await(l==null?void 0:l());return T!=null?T:pageDataEmpty},resolvePageFrontmatter:s=>s.frontmatter,resolvePageHead:(s,l,T)=>{const F=isString$1(l.description)?l.description:T.description,j=[...isArray$1(l.head)?l.head:[],...T.head,["title",{},s],["meta",{name:"description",content:F}]];return dedupeHead(j)},resolvePageHeadTitle:(s,l)=>`${s.title?`${s.title} | `:""}${l.title}`,resolvePageLang:s=>s.lang||"en",resolveRouteLocale:(s,l)=>resolveLocalePath(s,l),resolveSiteLocaleData:(s,l)=>({...s,...s.locales[l]})}),ClientOnly=defineComponent({name:"ClientOnly",setup(s,l){const T=ref(!1);return onMounted(()=>{T.value=!0}),()=>{var F,j;return T.value?(j=(F=l.slots).default)==null?void 0:j.call(F):null}}}),Content=defineComponent({name:"Content",props:{pageKey:{type:String,required:!1,default:""}},setup(s){const l=usePageData(),T=computed(()=>pagesComponents[s.pageKey||l.value.key]);return()=>T.value?h$5(T.value):h$5("div","404 Not Found")}}),LAYOUT_NAME_DEFAULT="Layout",LAYOUT_NAME_NOT_FOUND="NotFound",layouts=clientConfigs.reduce((s,l)=>({...s,...l.layouts}),{}),Vuepress=defineComponent({name:"Vuepress",setup(){const s=usePageData(),l=computed(()=>{let T;if(s.value.path){const F=s.value.frontmatter.layout;isString$1(F)?T=F:T=LAYOUT_NAME_DEFAULT}else T=LAYOUT_NAME_NOT_FOUND;return layouts[T]});return()=>h$5(l.value)}}),withBase=s=>isLinkHttp(s)?s:`${useSiteData().value.base}${removeLeadingSlash(s)}`;const pagesRoutes=[["v-8daa1a0e","/",{title:"\u9996\u9875",icon:"home"},["/index.html","/README.md"]],["v-590a42d9","/project.html",{title:"\u9879\u76EE\u8BF4\u660E"},["/project","/project.md"]],["v-96f5eae0","/quick-start.html",{title:"\u5FEB\u901F\u5F00\u59CB"},["/quick-start","/quick-start.md"]],["v-c0f957a0","/documents/",{title:""},["/documents/index.html","/documents/README.md"]],["v-2d0a870d","/en/",{title:"\u9996\u9875",icon:"home"},["/en/index.html","/en/README.md"]],["v-586858ed","/en/project.html",{title:"\u9879\u76EE\u8BF4\u660E"},["/en/project","/en/project.md"]],["v-0c01f6a4","/en/quick-start.html",{title:"\u5FEB\u901F\u5F00\u59CB"},["/en/quick-start","/en/quick-start.md"]],["v-12dc29da","/documents/features/achievements.html",{title:"\u6210\u5C31\u7BA1\u7406"},["/documents/features/achievements","/documents/features/achievements.md"]],["v-9f47423e","/documents/features/wish-export.html",{title:"\u539F\u795E\u7948\u613F\u8BB0\u5F55\u5BFC\u51FA"},["/documents/features/wish-export","/documents/features/wish-export.md"]],["v-6a107f51","/documents/statements/bug-report.html",{title:"\u63D0\u4EA4BUG\u62A5\u544A"},["/documents/statements/bug-report","/documents/statements/bug-report.md"]],["v-3c504178","/en/documents/",{title:""},["/en/documents/index.html","/en/documents/README.md"]],["v-9357f5b2","/en/documents/features/achievements.html",{title:"\u6210\u5C31\u7BA1\u7406"},["/en/documents/features/achievements","/en/documents/features/achievements.md"]],["v-19a4b24d","/en/documents/features/wish-export.html",{title:"\u539F\u795E\u7948\u613F\u8BB0\u5F55\u5BFC\u51FA"},["/en/documents/features/wish-export","/en/documents/features/wish-export.md"]],["v-29d29965","/en/documents/statements/bug-report.html",{title:"\u63D0\u4EA4BUG\u62A5\u544A"},["/en/documents/statements/bug-report","/en/documents/statements/bug-report.md"]],["v-3706649a","/404.html",{title:""},["/404"]]];var createRoutes=()=>pagesRoutes.reduce((s,[l,T,F,j])=>(s.push({name:l,path:T,component:Vuepress,meta:F},...j.map(U=>({path:U,redirect:T}))),s),[{name:"404",path:"/:catchAll(.*)",component:Vuepress}]),historyCreator=createWebHistory,createVueRouter=()=>{const s=createRouter({history:historyCreator(removeEndingSlash(siteData.value.base)),routes:createRoutes(),scrollBehavior:(l,T,F)=>F||(l.hash?{el:l.hash}:{top:0})});return s.beforeResolve(async(l,T)=>{var F;(l.path!==T.path||T===START_LOCATION_NORMALIZED)&&([pageData.value]=await Promise.all([resolvers.resolvePageData(l.name),(F=pagesComponents[l.name])==null?void 0:F.__asyncLoader()]))}),s},setupGlobalComponents=s=>{s.component("ClientOnly",ClientOnly),s.component("Content",Content)},setupGlobalComputed=(s,l)=>{const T=computed(()=>resolvers.resolveRouteLocale(siteData.value.locales,l.currentRoute.value.path)),F=computed(()=>resolvers.resolveSiteLocaleData(siteData.value,T.value)),j=computed(()=>resolvers.resolvePageFrontmatter(pageData.value)),U=computed(()=>resolvers.resolvePageHeadTitle(pageData.value,F.value)),Y=computed(()=>resolvers.resolvePageHead(U.value,j.value,F.value)),W=computed(()=>resolvers.resolvePageLang(pageData.value));return s.provide(routeLocaleSymbol,T),s.provide(siteLocaleDataSymbol,F),s.provide(pageFrontmatterSymbol,j),s.provide(pageHeadTitleSymbol,U),s.provide(pageHeadSymbol,Y),s.provide(pageLangSymbol,W),Object.defineProperties(s.config.globalProperties,{$frontmatter:{get:()=>j.value},$head:{get:()=>Y.value},$headTitle:{get:()=>U.value},$lang:{get:()=>W.value},$page:{get:()=>pageData.value},$routeLocale:{get:()=>T.value},$site:{get:()=>siteData.value},$siteLocale:{get:()=>F.value},$withBase:{get:()=>withBase}}),{pageData,pageFrontmatter:j,pageHead:Y,pageHeadTitle:U,pageLang:W,routeLocale:T,siteData,siteLocaleData:F}},setupUpdateHead=()=>{const s=useRoute(),l=usePageHead(),T=usePageLang(),F=ref([]),j=()=>{l.value.forEach(Y=>{const W=queryHeadTag(Y);W&&F.value.push(W)})},U=()=>{document.documentElement.lang=T.value,F.value.forEach(Y=>{Y.parentNode===document.head&&document.head.removeChild(Y)}),F.value.splice(0,F.value.length),l.value.forEach(Y=>{const W=createHeadTag(Y);W!==null&&(document.head.appendChild(W),F.value.push(W))})};provide(updateHeadSymbol,U),onMounted(()=>{j(),U(),watch(()=>s.path,()=>U())})},queryHeadTag=([s,l,T=""])=>{const F=Object.entries(l).map(([W,Z])=>isString$1(Z)?`[${W}="${Z}"]`:Z===!0?`[${W}]`:"").join(""),j=`head > ${s}${F}`;return Array.from(document.querySelectorAll(j)).find(W=>W.innerText===T)||null},createHeadTag=([s,l,T])=>{if(!isString$1(s))return null;const F=document.createElement(s);return isPlainObject(l)&&Object.entries(l).forEach(([j,U])=>{isString$1(U)?F.setAttribute(j,U):U===!0&&F.setAttribute(j,"")}),isString$1(T)&&F.appendChild(document.createTextNode(T)),F},appCreator=createSSRApp,createVueApp=async()=>{var T;const s=appCreator({name:"VuepressApp",setup(){var F;setupUpdateHead();for(const j of clientConfigs)(F=j.setup)==null||F.call(j);return()=>[h$5(RouterView),...clientConfigs.flatMap(({rootComponents:j=[]})=>j.map(U=>h$5(U)))]}}),l=createVueRouter();setupGlobalComponents(s),setupGlobalComputed(s,l);for(const F of clientConfigs)await((T=F.enhance)==null?void 0:T.call(F,{app:s,router:l,siteData}));return s.use(l),{app:s,router:l}};createVueApp().then(({app:s,router:l})=>{l.isReady().then(()=>{s.mount("#app")})});export{renderSlot as A,withModifiers as B,normalizeStyle as C,unref as D,toDisplayString as E,Fragment as F,normalizeClass as G,renderList as H,vModelText as I,withKeys as J,pushScopeId as K,popScopeId as L,Q,Transition as T,__vitePreload as _,createStaticVNode as a,createBaseVNode as b,createElementBlock as c,createVueApp,createVNode as d,createTextVNode as e,defineComponent as f,ref as g,computed as h,onMounted as i,h$5 as j,reactive as k,inject as l,watch as m,onUnmounted as n,openBlock as o,withDirectives as p,vShow as q,resolveComponent as r,shallowRef as s,createBlock as t,createCommentVNode as u,version as v,watchEffect as w,provide as x,toRef as y,withCtx as z};
|