mirror of
https://github.com/RainCraft-Server/raincraft-server.github.io.git
synced 2025-12-16 13:17:29 +00:00
67 lines
389 KiB
JavaScript
67 lines
389 KiB
JavaScript
const Ap="modulepreload",Ip=function(e){return"/"+e},za={},Ve=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.allSettled(n.map(l=>{if(l=Ip(l),l in za)return;za[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":Ap,c||(f.as="script"),f.crossOrigin="",f.href=l,a&&f.setAttribute("nonce",a),document.head.appendChild(f),c)return new Promise((d,p)=>{f.addEventListener("load",d),f.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${l}`)))})}))}function s(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return o.then(i=>{for(const a of i||[])a.status==="rejected"&&s(a.reason);return t().catch(s)})};/**
|
|
* @vue/shared v3.5.12
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**//*! #__NO_SIDE_EFFECTS__ */function Sr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Le={},or=[],Dt=()=>{},Vp=()=>!1,uo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Yi=e=>e.startsWith("onUpdate:"),Ue=Object.assign,Qi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Mp=Object.prototype.hasOwnProperty,Pe=(e,t)=>Mp.call(e,t),fe=Array.isArray,sr=e=>is(e)==="[object Map]",tu=e=>is(e)==="[object Set]",de=e=>typeof e=="function",Ee=e=>typeof e=="string",an=e=>typeof e=="symbol",Ie=e=>e!==null&&typeof e=="object",nu=e=>(Ie(e)||de(e))&&de(e.then)&&de(e.catch),ru=Object.prototype.toString,is=e=>ru.call(e),Rp=e=>is(e).slice(8,-1),ou=e=>is(e)==="[object Object]",Ji=e=>Ee(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ir=Sr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),as=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},$p=/-(\w)/g,ft=as(e=>e.replace($p,(t,n)=>n?n.toUpperCase():"")),Bp=/\B([A-Z])/g,ln=as(e=>e.replace(Bp,"-$1").toLowerCase()),fo=as(e=>e.charAt(0).toUpperCase()+e.slice(1)),Bo=as(e=>e?`on${fo(e)}`:""),Sn=(e,t)=>!Object.is(e,t),No=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},vr=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},li=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Np=e=>{const t=Ee(e)?Number(e):NaN;return isNaN(t)?e:t};let Wa;const ls=()=>Wa||(Wa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Fe(e){if(fe(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Ee(r)?Fp(r):Fe(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(Ee(e)||Ie(e))return e}const jp=/;(?![^(]*\))/g,Dp=/:([^]+)/,Hp=/\/\*[^]*?\*\//g;function Fp(e){const t={};return e.replace(Hp,"").split(jp).forEach(n=>{if(n){const r=n.split(Dp);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Up(e){let t="";if(!e||Ee(e))return t;for(const n in e){const r=e[n];if(Ee(r)||typeof r=="number"){const o=n.startsWith("--")?n:ln(n);t+=`${o}:${r};`}}return t}function Z(e){let t="";if(Ee(e))t=e;else if(fe(e))for(let n=0;n<e.length;n++){const r=Z(e[n]);r&&(t+=r+" ")}else if(Ie(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const su="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",zp=Sr(su),Ga=Sr(su+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function Xi(e){return!!e||e===""}const Wp=Sr("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),Gp=Sr("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan");function qp(e){if(e==null)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"}const Kp=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function Yp(e,t){return e.replace(Kp,n=>`\\${n}`)}const iu=e=>!!(e&&e.__v_isRef===!0),K=e=>Ee(e)?e:e==null?"":fe(e)||Ie(e)&&(e.toString===ru||!de(e.toString))?iu(e)?K(e.value):JSON.stringify(e,au,2):String(e),au=(e,t)=>iu(t)?au(e,t.value):sr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[xs(r,s)+" =>"]=o,n),{})}:tu(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>xs(n))}:an(t)?xs(t):Ie(t)&&!fe(t)&&!ou(t)?String(t):t,xs=(e,t="")=>{var n;return an(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
* @vue/reactivity v3.5.12
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let st;class Qp{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=st,!t&&st&&(this.index=(st.scopes||(st.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=st;try{return st=this,t()}finally{st=n}}}on(){st=this}off(){st=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function lu(){return st}function Jp(e,t=!1){st&&st.cleanups.push(e)}let Ae;const Ts=new WeakSet;class cu{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,st&&st.active&&st.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ts.has(this)&&(Ts.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||fu(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,qa(this),du(this);const t=Ae,n=Et;Ae=this,Et=!0;try{return this.fn()}finally{pu(this),Ae=t,Et=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)ta(t);this.deps=this.depsTail=void 0,qa(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ts.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ci(this)&&this.run()}get dirty(){return ci(this)}}let uu=0,Ur,zr;function fu(e,t=!1){if(e.flags|=8,t){e.next=zr,zr=e;return}e.next=Ur,Ur=e}function Zi(){uu++}function ea(){if(--uu>0)return;if(zr){let t=zr;for(zr=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Ur;){let t=Ur;for(Ur=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function du(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function pu(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),ta(r),Xp(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function ci(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(hu(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function hu(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Zr))return;e.globalVersion=Zr;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!ci(e)){e.flags&=-3;return}const n=Ae,r=Et;Ae=e,Et=!0;try{du(e);const o=e.fn(e._value);(t.version===0||Sn(o,e._value))&&(e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Ae=n,Et=r,pu(e),e.flags&=-3}}function ta(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)ta(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Xp(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Et=!0;const vu=[];function cn(){vu.push(Et),Et=!1}function un(){const e=vu.pop();Et=e===void 0?!0:e}function qa(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ae;Ae=void 0;try{t()}finally{Ae=n}}}let Zr=0;class Zp{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class cs{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!Ae||!Et||Ae===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ae)n=this.activeLink=new Zp(Ae,this),Ae.deps?(n.prevDep=Ae.depsTail,Ae.depsTail.nextDep=n,Ae.depsTail=n):Ae.deps=Ae.depsTail=n,mu(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Ae.depsTail,n.nextDep=void 0,Ae.depsTail.nextDep=n,Ae.depsTail=n,Ae.deps===n&&(Ae.deps=r)}return n}trigger(t){this.version++,Zr++,this.notify(t)}notify(t){Zi();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{ea()}}}function mu(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)mu(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const qo=new WeakMap,Hn=Symbol(""),ui=Symbol(""),eo=Symbol("");function Ze(e,t,n){if(Et&&Ae){let r=qo.get(e);r||qo.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new cs),o.map=r,o.key=n),o.track()}}function en(e,t,n,r,o,s){const i=qo.get(e);if(!i){Zr++;return}const a=l=>{l&&l.trigger()};if(Zi(),t==="clear")i.forEach(a);else{const l=fe(e),c=l&&Ji(n);if(l&&n==="length"){const u=Number(r);i.forEach((f,d)=>{(d==="length"||d===eo||!an(d)&&d>=u)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),c&&a(i.get(eo)),t){case"add":l?c&&a(i.get("length")):(a(i.get(Hn)),sr(e)&&a(i.get(ui)));break;case"delete":l||(a(i.get(Hn)),sr(e)&&a(i.get(ui)));break;case"set":sr(e)&&a(i.get(Hn));break}}ea()}function eh(e,t){const n=qo.get(e);return n&&n.get(t)}function Qn(e){const t=be(e);return t===e?t:(Ze(t,"iterate",eo),Tt(e)?t:t.map(et))}function us(e){return Ze(e=be(e),"iterate",eo),e}const th={__proto__:null,[Symbol.iterator](){return Cs(this,Symbol.iterator,et)},concat(...e){return Qn(this).concat(...e.map(t=>fe(t)?Qn(t):t))},entries(){return Cs(this,"entries",e=>(e[1]=et(e[1]),e))},every(e,t){return qt(this,"every",e,t,void 0,arguments)},filter(e,t){return qt(this,"filter",e,t,n=>n.map(et),arguments)},find(e,t){return qt(this,"find",e,t,et,arguments)},findIndex(e,t){return qt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return qt(this,"findLast",e,t,et,arguments)},findLastIndex(e,t){return qt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return qt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ls(this,"includes",e)},indexOf(...e){return Ls(this,"indexOf",e)},join(e){return Qn(this).join(e)},lastIndexOf(...e){return Ls(this,"lastIndexOf",e)},map(e,t){return qt(this,"map",e,t,void 0,arguments)},pop(){return Ar(this,"pop")},push(...e){return Ar(this,"push",e)},reduce(e,...t){return Ka(this,"reduce",e,t)},reduceRight(e,...t){return Ka(this,"reduceRight",e,t)},shift(){return Ar(this,"shift")},some(e,t){return qt(this,"some",e,t,void 0,arguments)},splice(...e){return Ar(this,"splice",e)},toReversed(){return Qn(this).toReversed()},toSorted(e){return Qn(this).toSorted(e)},toSpliced(...e){return Qn(this).toSpliced(...e)},unshift(...e){return Ar(this,"unshift",e)},values(){return Cs(this,"values",et)}};function Cs(e,t,n){const r=us(e),o=r[t]();return r!==e&&!Tt(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.value&&(s.value=n(s.value)),s}),o}const nh=Array.prototype;function qt(e,t,n,r,o,s){const i=us(e),a=i!==e&&!Tt(e),l=i[t];if(l!==nh[t]){const f=l.apply(e,s);return a?et(f):f}let c=n;i!==e&&(a?c=function(f,d){return n.call(this,et(f),d,e)}:n.length>2&&(c=function(f,d){return n.call(this,f,d,e)}));const u=l.call(i,c,r);return a&&o?o(u):u}function Ka(e,t,n,r){const o=us(e);let s=n;return o!==e&&(Tt(e)?n.length>3&&(s=function(i,a,l){return n.call(this,i,a,l,e)}):s=function(i,a,l){return n.call(this,i,et(a),l,e)}),o[t](s,...r)}function Ls(e,t,n){const r=be(e);Ze(r,"iterate",eo);const o=r[t](...n);return(o===-1||o===!1)&&oa(n[0])?(n[0]=be(n[0]),r[t](...n)):o}function Ar(e,t,n=[]){cn(),Zi();const r=be(e)[t].apply(e,n);return ea(),un(),r}const rh=Sr("__proto__,__v_isRef,__isVue"),gu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(an));function oh(e){an(e)||(e=String(e));const t=be(this);return Ze(t,"has",e),t.hasOwnProperty(e)}class _u{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?hh:wu:s?ku:yu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=fe(t);if(!o){let l;if(i&&(l=th[n]))return l;if(n==="hasOwnProperty")return oh}const a=Reflect.get(t,n,$e(t)?t:r);return(an(n)?gu.has(n):rh(n))||(o||Ze(t,"get",n),s)?a:$e(a)?i&&Ji(n)?a:a.value:Ie(a)?o?Pr(a):po(a):a}}class bu extends _u{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];if(!this._isShallow){const l=Un(s);if(!Tt(r)&&!Un(r)&&(s=be(s),r=be(r)),!fe(t)&&$e(s)&&!$e(r))return l?!1:(s.value=r,!0)}const i=fe(t)&&Ji(n)?Number(n)<t.length:Pe(t,n),a=Reflect.set(t,n,r,$e(t)?t:o);return t===be(o)&&(i?Sn(r,s)&&en(t,"set",n,r):en(t,"add",n,r)),a}deleteProperty(t,n){const r=Pe(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&en(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!an(n)||!gu.has(n))&&Ze(t,"has",n),r}ownKeys(t){return Ze(t,"iterate",fe(t)?"length":Hn),Reflect.ownKeys(t)}}class sh extends _u{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const ih=new bu,ah=new sh,lh=new bu(!0);const fi=e=>e,wo=e=>Reflect.getPrototypeOf(e);function ch(e,t,n){return function(...r){const o=this.__v_raw,s=be(o),i=sr(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=o[e](...r),u=n?fi:t?di:et;return!t&&Ze(s,"iterate",l?ui:Hn),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function So(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function uh(e,t){const n={get(o){const s=this.__v_raw,i=be(s),a=be(o);e||(Sn(o,a)&&Ze(i,"get",o),Ze(i,"get",a));const{has:l}=wo(i),c=t?fi:e?di:et;if(l.call(i,o))return c(s.get(o));if(l.call(i,a))return c(s.get(a));s!==i&&s.get(o)},get size(){const o=this.__v_raw;return!e&&Ze(be(o),"iterate",Hn),Reflect.get(o,"size",o)},has(o){const s=this.__v_raw,i=be(s),a=be(o);return e||(Sn(o,a)&&Ze(i,"has",o),Ze(i,"has",a)),o===a?s.has(o):s.has(o)||s.has(a)},forEach(o,s){const i=this,a=i.__v_raw,l=be(a),c=t?fi:e?di:et;return!e&&Ze(l,"iterate",Hn),a.forEach((u,f)=>o.call(s,c(u),c(f),i))}};return Ue(n,e?{add:So("add"),set:So("set"),delete:So("delete"),clear:So("clear")}:{add(o){!t&&!Tt(o)&&!Un(o)&&(o=be(o));const s=be(this);return wo(s).has.call(s,o)||(s.add(o),en(s,"add",o,o)),this},set(o,s){!t&&!Tt(s)&&!Un(s)&&(s=be(s));const i=be(this),{has:a,get:l}=wo(i);let c=a.call(i,o);c||(o=be(o),c=a.call(i,o));const u=l.call(i,o);return i.set(o,s),c?Sn(s,u)&&en(i,"set",o,s):en(i,"add",o,s),this},delete(o){const s=be(this),{has:i,get:a}=wo(s);let l=i.call(s,o);l||(o=be(o),l=i.call(s,o)),a&&a.call(s,o);const c=s.delete(o);return l&&en(s,"delete",o,void 0),c},clear(){const o=be(this),s=o.size!==0,i=o.clear();return s&&en(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=ch(o,e,t)}),n}function na(e,t){const n=uh(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Pe(n,o)&&o in r?n:r,o,s)}const fh={get:na(!1,!1)},dh={get:na(!1,!0)},ph={get:na(!0,!1)};const yu=new WeakMap,ku=new WeakMap,wu=new WeakMap,hh=new WeakMap;function vh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function mh(e){return e.__v_skip||!Object.isExtensible(e)?0:vh(Rp(e))}function po(e){return Un(e)?e:ra(e,!1,ih,fh,yu)}function Su(e){return ra(e,!1,lh,dh,ku)}function Pr(e){return ra(e,!0,ah,ph,wu)}function ra(e,t,n,r,o){if(!Ie(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const i=mh(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function ar(e){return Un(e)?ar(e.__v_raw):!!(e&&e.__v_isReactive)}function Un(e){return!!(e&&e.__v_isReadonly)}function Tt(e){return!!(e&&e.__v_isShallow)}function oa(e){return e?!!e.__v_raw:!1}function be(e){const t=e&&e.__v_raw;return t?be(t):e}function gh(e){return!Pe(e,"__v_skip")&&Object.isExtensible(e)&&vr(e,"__v_skip",!0),e}const et=e=>Ie(e)?po(e):e,di=e=>Ie(e)?Pr(e):e;function $e(e){return e?e.__v_isRef===!0:!1}function G(e){return Pu(e,!1)}function nt(e){return Pu(e,!0)}function Pu(e,t){return $e(e)?e:new _h(e,t)}class _h{constructor(t,n){this.dep=new cs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:be(t),this._value=n?t:et(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Tt(t)||Un(t);t=r?t:be(t),Sn(t,n)&&(this._rawValue=t,this._value=r?t:et(t),this.dep.trigger())}}function nn(e){return $e(e)?e.value:e}function lr(e){return de(e)?e():nn(e)}const bh={get:(e,t,n)=>t==="__v_raw"?e:nn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return $e(o)&&!$e(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function xu(e){return ar(e)?e:new Proxy(e,bh)}class yh{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new cs,{get:r,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function sa(e){return new yh(e)}class kh{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return eh(be(this._object),this._key)}}class wh{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function zn(e,t,n){return $e(e)?e:de(e)?new wh(e):Ie(e)&&arguments.length>1?Sh(e,t,n):G(e)}function Sh(e,t,n){const r=e[t];return $e(r)?r:new kh(e,t,n)}class Ph{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new cs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Zr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ae!==this)return fu(this,!0),!0}get value(){const t=this.dep.track();return hu(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function xh(e,t,n=!1){let r,o;return de(e)?r=e:(r=e.get,o=e.set),new Ph(r,o,n)}const Po={},Ko=new WeakMap;let Nn;function Th(e,t=!1,n=Nn){if(n){let r=Ko.get(n);r||Ko.set(n,r=[]),r.push(e)}}function Ch(e,t,n=Le){const{immediate:r,deep:o,once:s,scheduler:i,augmentJob:a,call:l}=n,c=x=>o?x:Tt(x)||o===!1||o===0?tn(x,1):tn(x);let u,f,d,p,v=!1,m=!1;if($e(e)?(f=()=>e.value,v=Tt(e)):ar(e)?(f=()=>c(e),v=!0):fe(e)?(m=!0,v=e.some(x=>ar(x)||Tt(x)),f=()=>e.map(x=>{if($e(x))return x.value;if(ar(x))return c(x);if(de(x))return l?l(x,2):x()})):de(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){cn();try{d()}finally{un()}}const x=Nn;Nn=u;try{return l?l(e,3,[p]):e(p)}finally{Nn=x}}:f=Dt,t&&o){const x=f,N=o===!0?1/0:o;f=()=>tn(x(),N)}const k=lu(),S=()=>{u.stop(),k&&Qi(k.effects,u)};if(s&&t){const x=t;t=(...N)=>{x(...N),S()}}let L=m?new Array(e.length).fill(Po):Po;const _=x=>{if(!(!(u.flags&1)||!u.dirty&&!x))if(t){const N=u.run();if(o||v||(m?N.some(($,W)=>Sn($,L[W])):Sn(N,L))){d&&d();const $=Nn;Nn=u;try{const W=[N,L===Po?void 0:m&&L[0]===Po?[]:L,p];l?l(t,3,W):t(...W),L=N}finally{Nn=$}}}else u.run()};return a&&a(_),u=new cu(f),u.scheduler=i?()=>i(_,!1):_,p=x=>Th(x,!1,u),d=u.onStop=()=>{const x=Ko.get(u);if(x){if(l)l(x,4);else for(const N of x)N();Ko.delete(u)}},t?r?_(!0):L=u.run():i?i(_.bind(null,!0),!0):u.run(),S.pause=u.pause.bind(u),S.resume=u.resume.bind(u),S.stop=S,S}function tn(e,t=1/0,n){if(t<=0||!Ie(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,$e(e))tn(e.value,t,n);else if(fe(e))for(let r=0;r<e.length;r++)tn(e[r],t,n);else if(tu(e)||sr(e))e.forEach(r=>{tn(r,t,n)});else if(ou(e)){for(const r in e)tn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&tn(e[r],t,n)}return e}/**
|
|
* @vue/runtime-core v3.5.12
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/const Wr=[];let Es=!1;function gn(e,...t){if(Es)return;Es=!0,cn();const n=Wr.length?Wr[Wr.length-1].component:null,r=n&&n.appContext.config.warnHandler,o=Lh();if(r)xr(r,n,11,[e+t.map(s=>{var i,a;return(a=(i=s.toString)==null?void 0:i.call(s))!=null?a:JSON.stringify(s)}).join(""),n&&n.proxy,o.map(({vnode:s})=>`at <${yf(n,s.type)}>`).join(`
|
|
`),o]);else{const s=[`[Vue warn]: ${e}`,...t];o.length&&s.push(`
|
|
`,...Eh(o)),console.warn(...s)}un(),Es=!1}function Lh(){let e=Wr[Wr.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function Eh(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[`
|
|
`],...Oh(n))}),t}function Oh({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,o=` at <${yf(e.component,e.type,r)}`,s=">"+n;return e.props?[o,...Ah(e.props),s]:[o+s]}function Ah(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...Tu(r,e[r]))}),n.length>3&&t.push(" ..."),t}function Tu(e,t,n){return Ee(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:$e(t)?(t=Tu(e,be(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):de(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=be(t),n?t:[`${e}=`,t])}function xr(e,t,n,r){try{return r?e(...r):e()}catch(o){ho(o,t,n)}}function At(e,t,n,r){if(de(e)){const o=xr(e,t,n,r);return o&&nu(o)&&o.catch(s=>{ho(s,t,n)}),o}if(fe(e)){const o=[];for(let s=0;s<e.length;s++)o.push(At(e[s],t,n,r));return o}}function ho(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Le;if(t){let a=t.parent;const l=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,l,c)===!1)return}a=a.parent}if(s){cn(),xr(s,null,10,[e,l,c]),un();return}}Ih(e,n,o,r,i)}function Ih(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const it=[];let $t=-1;const cr=[];let _n=null,Zn=0;const Cu=Promise.resolve();let Yo=null;function Vt(e){const t=Yo||Cu;return e?t.then(this?e.bind(this):e):t}function Vh(e){let t=$t+1,n=it.length;for(;t<n;){const r=t+n>>>1,o=it[r],s=to(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function ia(e){if(!(e.flags&1)){const t=to(e),n=it[it.length-1];!n||!(e.flags&2)&&t>=to(n)?it.push(e):it.splice(Vh(t),0,e),e.flags|=1,Lu()}}function Lu(){Yo||(Yo=Cu.then(Eu))}function Mh(e){fe(e)?cr.push(...e):_n&&e.id===-1?_n.splice(Zn+1,0,e):e.flags&1||(cr.push(e),e.flags|=1),Lu()}function Ya(e,t,n=$t+1){for(;n<it.length;n++){const r=it[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;it.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Qo(e){if(cr.length){const t=[...new Set(cr)].sort((n,r)=>to(n)-to(r));if(cr.length=0,_n){_n.push(...t);return}for(_n=t,Zn=0;Zn<_n.length;Zn++){const n=_n[Zn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}_n=null,Zn=0}}const to=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Eu(e){try{for($t=0;$t<it.length;$t++){const t=it[$t];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),xr(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;$t<it.length;$t++){const t=it[$t];t&&(t.flags&=-2)}$t=-1,it.length=0,Qo(),Yo=null,(it.length||cr.length)&&Eu()}}let jt,jr=[],pi=!1;function fs(e,...t){jt?jt.emit(e,...t):pi||jr.push({event:e,args:t})}function Ou(e,t){var n,r;jt=e,jt?(jt.enabled=!0,jr.forEach(({event:o,args:s})=>jt.emit(o,...s)),jr=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{Ou(s,t)}),setTimeout(()=>{jt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,pi=!0,jr=[])},3e3)):(pi=!0,jr=[])}function Rh(e,t){fs("app:init",e,t,{Fragment:ee,Text:Pn,Comment:Qe,Static:fr})}function $h(e){fs("app:unmount",e)}const Bh=aa("component:added"),Au=aa("component:updated"),Nh=aa("component:removed"),jh=e=>{jt&&typeof jt.cleanupBuffer=="function"&&!jt.cleanupBuffer(e)&&Nh(e)};/*! #__NO_SIDE_EFFECTS__ */function aa(e){return t=>{fs(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}function Dh(e,t,n){fs("component:emit",e.appContext.app,e,t,n)}let qe=null,Iu=null;function Jo(e){const t=qe;return qe=e,Iu=e&&e.type.__scopeId||null,t}function C(e,t=qe,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&fl(-1);const s=Jo(t);let i;try{i=e(...o)}finally{Jo(s),r._d&&fl(1)}return Au(t),i};return r._n=!0,r._c=!0,r._d=!0,r}function la(e,t){if(qe===null)return e;const n=vs(qe),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,a,l=Le]=t[o];s&&(de(s)&&(s={mounted:s,updated:s}),s.deep&&tn(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function Bt(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];s&&(a.oldValue=s[i].value);let l=a.dir[r];l&&(cn(),At(l,n,8,[e.el,a,e,t]),un())}}const Vu=Symbol("_vte"),Mu=e=>e.__isTeleport,Gr=e=>e&&(e.disabled||e.disabled===""),Hh=e=>e&&(e.defer||e.defer===""),Qa=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Ja=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,hi=(e,t)=>{const n=e&&e.to;return Ee(n)?t?t(n):null:n},Fh={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,i,a,l,c){const{mc:u,pc:f,pbc:d,o:{insert:p,querySelector:v,createText:m,createComment:k}}=c,S=Gr(t.props);let{shapeFlag:L,children:_,dynamicChildren:x}=t;if(e==null){const N=t.el=m(""),$=t.anchor=m("");p(N,n,r),p($,n,r);const W=(H,A)=>{L&16&&(o&&o.isCE&&(o.ce._teleportTarget=H),u(_,H,A,o,s,i,a,l))},re=()=>{const H=t.target=hi(t.props,v),A=Ru(H,t,m,p);H&&(i!=="svg"&&Qa(H)?i="svg":i!=="mathml"&&Ja(H)&&(i="mathml"),S||(W(H,A),jo(t,!1)))};S&&(W(n,$),jo(t,!0)),Hh(t.props)?ct(re,s):re()}else{t.el=e.el,t.targetStart=e.targetStart;const N=t.anchor=e.anchor,$=t.target=e.target,W=t.targetAnchor=e.targetAnchor,re=Gr(e.props),H=re?n:$,A=re?N:W;if(i==="svg"||Qa($)?i="svg":(i==="mathml"||Ja($))&&(i="mathml"),x?(d(e.dynamicChildren,x,H,o,s,i,a),ha(e,t,!0)):l||f(e,t,H,A,o,s,i,a,!1),S)re?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):xo(t,n,N,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const q=t.target=hi(t.props,v);q&&xo(t,q,null,c,0)}else re&&xo(t,$,W,c,1);jo(t,S)}},remove(e,t,n,{um:r,o:{remove:o}},s){const{shapeFlag:i,children:a,anchor:l,targetStart:c,targetAnchor:u,target:f,props:d}=e;if(f&&(o(c),o(u)),s&&o(l),i&16){const p=s||!Gr(d);for(let v=0;v<a.length;v++){const m=a[v];r(m,t,n,p,!!m.dynamicChildren)}}},move:xo,hydrate:Uh};function xo(e,t,n,{o:{insert:r},m:o},s=2){s===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:c,props:u}=e,f=s===2;if(f&&r(i,t,n),(!f||Gr(u))&&l&16)for(let d=0;d<c.length;d++)o(c[d],t,n,2);f&&r(a,t,n)}function Uh(e,t,n,r,o,s,{o:{nextSibling:i,parentNode:a,querySelector:l,insert:c,createText:u}},f){const d=t.target=hi(t.props,l);if(d){const p=Gr(t.props),v=d._lpa||d.firstChild;if(t.shapeFlag&16)if(p)t.anchor=f(i(e),t,a(e),n,r,o,s),t.targetStart=v,t.targetAnchor=v&&i(v);else{t.anchor=i(e);let m=v;for(;m;){if(m&&m.nodeType===8){if(m.data==="teleport start anchor")t.targetStart=m;else if(m.data==="teleport anchor"){t.targetAnchor=m,d._lpa=t.targetAnchor&&i(t.targetAnchor);break}}m=i(m)}t.targetAnchor||Ru(d,t,u,c),f(v&&i(v),t,d,n,r,o,s)}jo(t,p)}return t.anchor&&i(t.anchor)}const GP=Fh;function jo(e,t){const n=e.ctx;if(n&&n.ut){let r,o;for(t?(r=e.el,o=e.anchor):(r=e.targetStart,o=e.targetAnchor);r&&r!==o;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function Ru(e,t,n,r){const o=t.targetStart=n(""),s=t.targetAnchor=n("");return o[Vu]=s,e&&(r(o,e),r(s,e)),s}const bn=Symbol("_leaveCb"),To=Symbol("_enterCb");function zh(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Re(()=>{e.isMounted=!0}),fa(()=>{e.isUnmounting=!0}),e}const kt=[Function,Array],$u={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:kt,onEnter:kt,onAfterEnter:kt,onEnterCancelled:kt,onBeforeLeave:kt,onLeave:kt,onAfterLeave:kt,onLeaveCancelled:kt,onBeforeAppear:kt,onAppear:kt,onAfterAppear:kt,onAppearCancelled:kt},Bu=e=>{const t=e.subTree;return t.component?Bu(t.component):t},Wh={name:"BaseTransition",props:$u,setup(e,{slots:t}){const n=Tr(),r=zh();return()=>{const o=t.default&&Du(t.default(),!0);if(!o||!o.length)return;const s=Nu(o),i=be(e),{mode:a}=i;if(r.isLeaving)return Os(s);const l=Xa(s);if(!l)return Os(s);let c=vi(l,i,r,n,d=>c=d);l.type!==Qe&&no(l,c);const u=n.subTree,f=u&&Xa(u);if(f&&f.type!==Qe&&!Dn(l,f)&&Bu(n).type!==Qe){const d=vi(f,i,r,n);if(no(f,d),a==="out-in"&&l.type!==Qe)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave},Os(s);a==="in-out"&&l.type!==Qe&&(d.delayLeave=(p,v,m)=>{const k=ju(r,f);k[String(f.key)]=f,p[bn]=()=>{v(),p[bn]=void 0,delete c.delayedLeave},c.delayedLeave=m})}return s}}};function Nu(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Qe){t=n;break}}return t}const Gh=Wh;function ju(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function vi(e,t,n,r,o){const{appear:s,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:p,onAfterLeave:v,onLeaveCancelled:m,onBeforeAppear:k,onAppear:S,onAfterAppear:L,onAppearCancelled:_}=t,x=String(e.key),N=ju(n,e),$=(H,A)=>{H&&At(H,r,9,A)},W=(H,A)=>{const q=A[1];$(H,A),fe(H)?H.every(F=>F.length<=1)&&q():H.length<=1&&q()},re={mode:i,persisted:a,beforeEnter(H){let A=l;if(!n.isMounted)if(s)A=k||l;else return;H[bn]&&H[bn](!0);const q=N[x];q&&Dn(e,q)&&q.el[bn]&&q.el[bn](),$(A,[H])},enter(H){let A=c,q=u,F=f;if(!n.isMounted)if(s)A=S||c,q=L||u,F=_||f;else return;let ie=!1;const ge=H[To]=Te=>{ie||(ie=!0,Te?$(F,[H]):$(q,[H]),re.delayedLeave&&re.delayedLeave(),H[To]=void 0)};A?W(A,[H,ge]):ge()},leave(H,A){const q=String(e.key);if(H[To]&&H[To](!0),n.isUnmounting)return A();$(d,[H]);let F=!1;const ie=H[bn]=ge=>{F||(F=!0,A(),ge?$(m,[H]):$(v,[H]),H[bn]=void 0,N[q]===e&&delete N[q])};N[q]=e,p?W(p,[H,ie]):ie()},clone(H){const A=vi(H,t,n,r,o);return o&&o(A),A}};return re}function Os(e){if(vo(e))return e=Cn(e),e.children=null,e}function Xa(e){if(!vo(e))return Mu(e.type)&&e.children?Nu(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&de(n.default))return n.default()}}function no(e,t){e.shapeFlag&6&&e.component?(e.transition=t,no(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Du(e,t=!1,n){let r=[],o=0;for(let s=0;s<e.length;s++){let i=e[s];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:s);i.type===ee?(i.patchFlag&128&&o++,r=r.concat(Du(i.children,t,a))):(t||i.type!==Qe)&&r.push(a!=null?Cn(i,{key:a}):i)}if(o>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function R(e,t){return de(e)?Ue({name:e.name},t,{setup:e}):e}function ca(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Xo(e,t,n,r,o=!1){if(fe(e)){e.forEach((v,m)=>Xo(v,t&&(fe(t)?t[m]:t),n,r,o));return}if(Fn(r)&&!o)return;const s=r.shapeFlag&4?vs(r.component):r.el,i=o?null:s,{i:a,r:l}=e,c=t&&t.r,u=a.refs===Le?a.refs={}:a.refs,f=a.setupState,d=be(f),p=f===Le?()=>!1:v=>Pe(d,v);if(c!=null&&c!==l&&(Ee(c)?(u[c]=null,p(c)&&(f[c]=null)):$e(c)&&(c.value=null)),de(l))xr(l,a,12,[i,u]);else{const v=Ee(l),m=$e(l);if(v||m){const k=()=>{if(e.f){const S=v?p(l)?f[l]:u[l]:l.value;o?fe(S)&&Qi(S,s):fe(S)?S.includes(s)||S.push(s):v?(u[l]=[s],p(l)&&(f[l]=u[l])):(l.value=[s],e.k&&(u[e.k]=l.value))}else v?(u[l]=i,p(l)&&(f[l]=i)):m&&(l.value=i,e.k&&(u[e.k]=i))};i?(k.id=-1,ct(k,n)):k()}}}let Za=!1;const Vn=()=>{Za||(console.error("Hydration completed but contains mismatches."),Za=!0)},qh=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Kh=e=>e.namespaceURI.includes("MathML"),Co=e=>{if(e.nodeType===1){if(qh(e))return"svg";if(Kh(e))return"mathml"}},jn=e=>e.nodeType===8;function Yh(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:i,remove:a,insert:l,createComment:c}}=e,u=(_,x)=>{if(!x.hasChildNodes()){gn("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,_,x),Qo(),x._vnode=_;return}f(x.firstChild,_,null,null,null),Qo(),x._vnode=_},f=(_,x,N,$,W,re=!1)=>{re=re||!!x.dynamicChildren;const H=jn(_)&&_.data==="[",A=()=>m(_,x,N,$,W,H),{type:q,ref:F,shapeFlag:ie,patchFlag:ge}=x;let Te=_.nodeType;x.el=_,vr(_,"__vnode",x,!0),vr(_,"__vueParentComponent",N,!0),ge===-2&&(re=!1,x.dynamicChildren=null);let se=null;switch(q){case Pn:Te!==3?x.children===""?(l(x.el=o(""),i(_),_),se=_):se=A():(_.data!==x.children&&(gn("Hydration text mismatch in",_.parentNode,`
|
|
- rendered on server: ${JSON.stringify(_.data)}
|
|
- expected on client: ${JSON.stringify(x.children)}`),Vn(),_.data=x.children),se=s(_));break;case Qe:L(_)?(se=s(_),S(x.el=_.content.firstChild,_,N)):Te!==8||H?se=A():se=s(_);break;case fr:if(H&&(_=s(_),Te=_.nodeType),Te===1||Te===3){se=_;const pe=!x.children.length;for(let le=0;le<x.staticCount;le++)pe&&(x.children+=se.nodeType===1?se.outerHTML:se.data),le===x.staticCount-1&&(x.anchor=se),se=s(se);return H?s(se):se}else A();break;case ee:H?se=v(_,x,N,$,W,re):se=A();break;default:if(ie&1)(Te!==1||x.type.toLowerCase()!==_.tagName.toLowerCase())&&!L(_)?se=A():se=d(_,x,N,$,W,re);else if(ie&6){x.slotScopeIds=W;const pe=i(_);if(H?se=k(_):jn(_)&&_.data==="teleport start"?se=k(_,_.data,"teleport end"):se=s(_),t(x,pe,null,N,$,Co(pe),re),Fn(x)){let le;H?(le=I(ee),le.anchor=se?se.previousSibling:pe.lastChild):le=_.nodeType===3?je(""):I("div"),le.el=_,x.component.subTree=le}}else ie&64?Te!==8?se=A():se=x.type.hydrate(_,x,N,$,W,re,e,p):ie&128?se=x.type.hydrate(_,x,N,$,Co(i(_)),W,re,e,f):gn("Invalid HostVNode type:",q,`(${typeof q})`)}return F!=null&&Xo(F,null,$,x),se},d=(_,x,N,$,W,re)=>{re=re||!!x.dynamicChildren;const{type:H,props:A,patchFlag:q,shapeFlag:F,dirs:ie,transition:ge}=x,Te=H==="input"||H==="option";if(Te||q!==-1){ie&&Bt(x,null,N,"created");let se=!1;if(L(_)){se=af(null,ge)&&N&&N.vnode.props&&N.vnode.props.appear;const le=_.content.firstChild;se&&ge.beforeEnter(le),S(le,_,N),x.el=_=le}if(F&16&&!(A&&(A.innerHTML||A.textContent))){let le=p(_.firstChild,x,_,N,$,W,re),we=!1;for(;le;){Dr(_,1)||(we||(gn("Hydration children mismatch on",_,`
|
|
Server rendered element contains more child nodes than client vdom.`),we=!0),Vn());const lt=le;le=le.nextSibling,a(lt)}}else if(F&8){let le=x.children;le[0]===`
|
|
`&&(_.tagName==="PRE"||_.tagName==="TEXTAREA")&&(le=le.slice(1)),_.textContent!==le&&(Dr(_,0)||(gn("Hydration text content mismatch on",_,`
|
|
- rendered on server: ${_.textContent}
|
|
- expected on client: ${x.children}`),Vn()),_.textContent=x.children)}if(A){const le=_.tagName.includes("-");for(const we in A)!(ie&&ie.some(lt=>lt.dir.created))&&Qh(_,we,A[we],x,N)&&Vn(),(Te&&(we.endsWith("value")||we==="indeterminate")||uo(we)&&!ir(we)||we[0]==="."||le)&&r(_,we,null,A[we],void 0,N)}let pe;(pe=A&&A.onVnodeBeforeMount)&&wt(pe,N,x),ie&&Bt(x,null,N,"beforeMount"),((pe=A&&A.onVnodeMounted)||ie||se)&&pf(()=>{pe&&wt(pe,N,x),se&&ge.enter(_),ie&&Bt(x,null,N,"mounted")},$)}return _.nextSibling},p=(_,x,N,$,W,re,H)=>{H=H||!!x.dynamicChildren;const A=x.children,q=A.length;let F=!1;for(let ie=0;ie<q;ie++){const ge=H?A[ie]:A[ie]=Pt(A[ie]),Te=ge.type===Pn;_?(Te&&!H&&ie+1<q&&Pt(A[ie+1]).type===Pn&&(l(o(_.data.slice(ge.children.length)),N,s(_)),_.data=ge.children),_=f(_,ge,$,W,re,H)):Te&&!ge.children?l(ge.el=o(""),N):(Dr(N,1)||(F||(gn("Hydration children mismatch on",N,`
|
|
Server rendered element contains fewer child nodes than client vdom.`),F=!0),Vn()),n(null,ge,N,null,$,W,Co(N),re))}return _},v=(_,x,N,$,W,re)=>{const{slotScopeIds:H}=x;H&&(W=W?W.concat(H):H);const A=i(_),q=p(s(_),x,A,N,$,W,re);return q&&jn(q)&&q.data==="]"?s(x.anchor=q):(Vn(),l(x.anchor=c("]"),A,q),q)},m=(_,x,N,$,W,re)=>{if(Dr(_.parentElement,1)||(gn(`Hydration node mismatch:
|
|
- rendered on server:`,_,_.nodeType===3?"(text)":jn(_)&&_.data==="["?"(start of fragment)":"",`
|
|
- expected on client:`,x.type),Vn()),x.el=null,re){const q=k(_);for(;;){const F=s(_);if(F&&F!==q)a(F);else break}}const H=s(_),A=i(_);return a(_),n(null,x,A,H,N,$,Co(A),W),H},k=(_,x="[",N="]")=>{let $=0;for(;_;)if(_=s(_),_&&jn(_)&&(_.data===x&&$++,_.data===N)){if($===0)return s(_);$--}return _},S=(_,x,N)=>{const $=x.parentNode;$&&$.replaceChild(_,x);let W=N;for(;W;)W.vnode.el===x&&(W.vnode.el=W.subTree.el=_),W=W.parent},L=_=>_.nodeType===1&&_.tagName==="TEMPLATE";return[u,f]}function Qh(e,t,n,r,o){let s,i,a,l;if(t==="class")a=e.getAttribute("class"),l=Z(n),Jh(el(a||""),el(l))||(s=2,i="class");else if(t==="style"){a=e.getAttribute("style")||"",l=Ee(n)?n:Up(Fe(n));const c=tl(a),u=tl(l);if(r.dirs)for(const{dir:f,value:d}of r.dirs)f.name==="show"&&!d&&u.set("display","none");o&&Hu(o,r,u),Xh(c,u)||(s=3,i="style")}else(e instanceof SVGElement&&Gp(t)||e instanceof HTMLElement&&(Ga(t)||Wp(t)))&&(Ga(t)?(a=e.hasAttribute(t),l=Xi(n)):n==null?(a=e.hasAttribute(t),l=!1):(e.hasAttribute(t)?a=e.getAttribute(t):t==="value"&&e.tagName==="TEXTAREA"?a=e.value:a=!1,l=qp(n)?String(n):!1),a!==l&&(s=4,i=t));if(s!=null&&!Dr(e,s)){const c=d=>d===!1?"(not rendered)":`${i}="${d}"`,u=`Hydration ${Fu[s]} mismatch on`,f=`
|
|
- rendered on server: ${c(a)}
|
|
- expected on client: ${c(l)}
|
|
Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead.
|
|
You should fix the source of the mismatch.`;return gn(u,e,f),!0}return!1}function el(e){return new Set(e.trim().split(/\s+/))}function Jh(e,t){if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}function tl(e){const t=new Map;for(const n of e.split(";")){let[r,o]=n.split(":");r=r.trim(),o=o&&o.trim(),r&&o&&t.set(r,o)}return t}function Xh(e,t){if(e.size!==t.size)return!1;for(const[n,r]of e)if(r!==t.get(n))return!1;return!0}function Hu(e,t,n){const r=e.subTree;if(e.getCssVars&&(t===r||r&&r.type===ee&&r.children.includes(t))){const o=e.getCssVars();for(const s in o)n.set(`--${Yp(s)}`,String(o[s]))}t===r&&e.parent&&Hu(e.parent,e.vnode,n)}const nl="data-allow-mismatch",Fu={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Dr(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(nl);)e=e.parentElement;const n=e&&e.getAttribute(nl);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(Fu[t])}}ls().requestIdleCallback;ls().cancelIdleCallback;function Zh(e,t){if(jn(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(jn(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const Fn=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function ua(e){de(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:s,timeout:i,suspensible:a=!0,onError:l}=e;let c=null,u,f=0;const d=()=>(f++,c=null,p()),p=()=>{let v;return c||(v=c=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),l)return new Promise((k,S)=>{l(m,()=>k(d()),()=>S(m),f+1)});throw m}).then(m=>v!==c&&c?c:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),u=m,m)))};return R({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(v,m,k){const S=s?()=>{const L=s(k,_=>Zh(v,_));L&&(m.bum||(m.bum=[])).push(L)}:k;u?S():p().then(()=>!m.isUnmounted&&S())},get __asyncResolved(){return u},setup(){const v=Ge;if(ca(v),u)return()=>As(u,v);const m=_=>{c=null,ho(_,v,13,!r)};if(a&&v.suspense||mr)return p().then(_=>()=>As(_,v)).catch(_=>(m(_),()=>r?I(r,{error:_}):null));const k=G(!1),S=G(),L=G(!!o);return o&&setTimeout(()=>{L.value=!1},o),i!=null&&setTimeout(()=>{if(!k.value&&!S.value){const _=new Error(`Async component timed out after ${i}ms.`);m(_),S.value=_}},i),p().then(()=>{k.value=!0,v.parent&&vo(v.parent.vnode)&&v.parent.update()}).catch(_=>{m(_),S.value=_}),()=>{if(k.value&&u)return As(u,v);if(S.value&&r)return I(r,{error:S.value});if(n&&!L.value)return I(n)}}})}function As(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,i=I(e,r,o);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const vo=e=>e.type.__isKeepAlive;function ev(e,t){Uu(e,"a",t)}function tv(e,t){Uu(e,"da",t)}function Uu(e,t,n=Ge){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(ds(t,r,n),n){let o=n.parent;for(;o&&o.parent;)vo(o.parent.vnode)&&nv(r,t,n,o),o=o.parent}}function nv(e,t,n,r){const o=ds(t,e,r,!0);zt(()=>{Qi(r[t],o)},n)}function ds(e,t,n=Ge,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{cn();const a=mo(n),l=At(t,n,e,i);return a(),un(),l});return r?o.unshift(s):o.push(s),s}}const fn=e=>(t,n=Ge)=>{(!mr||e==="sp")&&ds(e,(...r)=>t(...r),n)},rv=fn("bm"),Re=fn("m"),ov=fn("bu"),zu=fn("u"),fa=fn("bum"),zt=fn("um"),sv=fn("sp"),iv=fn("rtg"),av=fn("rtc");function lv(e,t=Ge){ds("ec",e,t)}const Wu="components";function De(e,t){return qu(Wu,e,!0,t)||e}const Gu=Symbol.for("v-ndc");function on(e){return Ee(e)?qu(Wu,e,!1)||e:e||Gu}function qu(e,t,n=!0,r=!1){const o=qe||Ge;if(o){const s=o.type;{const a=bf(s,!1);if(a&&(a===t||a===ft(t)||a===fo(ft(t))))return s}const i=rl(o[e]||s[e],t)||rl(o.appContext[e],t);return!i&&r?s:i}}function rl(e,t){return e&&(e[t]||e[ft(t)]||e[fo(ft(t))])}function _e(e,t,n,r){let o;const s=n,i=fe(e);if(i||Ee(e)){const a=i&&ar(e);let l=!1;a&&(l=!Tt(e),e=us(e)),o=new Array(e.length);for(let c=0,u=e.length;c<u;c++)o[c]=t(l?et(e[c]):e[c],c,void 0,s)}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,s)}else if(Ie(e))if(e[Symbol.iterator])o=Array.from(e,(a,l)=>t(a,l,void 0,s));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,c=a.length;l<c;l++){const u=a[l];o[l]=t(e[u],u,l,s)}}else o=[];return o}function T(e,t,n={},r,o){if(qe.ce||qe.parent&&Fn(qe.parent)&&qe.parent.ce)return t!=="default"&&(n.name=t),h(),B(ee,null,[I("slot",n,r&&r())],64);let s=e[t];s&&s._c&&(s._d=!1),h();const i=s&&Ku(s(n)),a=n.key||i&&i.key,l=B(ee,{key:(a&&!an(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function Ku(e){return e.some(t=>oo(t)?!(t.type===Qe||t.type===ee&&!Ku(t.children)):!0)?e:null}function cv(e,t){const n={};for(const r in e)n[/[A-Z]/.test(r)?`on:${r}`:Bo(r)]=e[r];return n}const mi=e=>e?mf(e)?vs(e):mi(e.parent):null,qr=Ue(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>mi(e.parent),$root:e=>mi(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>da(e),$forceUpdate:e=>e.f||(e.f=()=>{ia(e.update)}),$nextTick:e=>e.n||(e.n=Vt.bind(e.proxy)),$watch:e=>Av.bind(e)}),Is=(e,t)=>e!==Le&&!e.__isScriptSetup&&Pe(e,t),uv={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(Is(r,t))return i[t]=1,r[t];if(o!==Le&&Pe(o,t))return i[t]=2,o[t];if((c=e.propsOptions[0])&&Pe(c,t))return i[t]=3,s[t];if(n!==Le&&Pe(n,t))return i[t]=4,n[t];gi&&(i[t]=0)}}const u=qr[t];let f,d;if(u)return t==="$attrs"&&Ze(e.attrs,"get",""),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Le&&Pe(n,t))return i[t]=4,n[t];if(d=l.config.globalProperties,Pe(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Is(o,t)?(o[t]=n,!0):r!==Le&&Pe(r,t)?(r[t]=n,!0):Pe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},i){let a;return!!n[i]||e!==Le&&Pe(e,i)||Is(t,i)||(a=s[0])&&Pe(a,i)||Pe(r,i)||Pe(qr,i)||Pe(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Pe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function fv(){return dv().slots}function dv(){const e=Tr();return e.setupContext||(e.setupContext=_f(e))}function ol(e){return fe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let gi=!0;function pv(e){const t=da(e),n=e.proxy,r=e.ctx;gi=!1,t.beforeCreate&&sl(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:v,activated:m,deactivated:k,beforeDestroy:S,beforeUnmount:L,destroyed:_,unmounted:x,render:N,renderTracked:$,renderTriggered:W,errorCaptured:re,serverPrefetch:H,expose:A,inheritAttrs:q,components:F,directives:ie,filters:ge}=t;if(c&&hv(c,r,null),i)for(const pe in i){const le=i[pe];de(le)&&(r[pe]=le.bind(n))}if(o){const pe=o.call(n,n);Ie(pe)&&(e.data=po(pe))}if(gi=!0,s)for(const pe in s){const le=s[pe],we=de(le)?le.bind(n,n):de(le.get)?le.get.bind(n,n):Dt,lt=!de(le)&&de(le.set)?le.set.bind(n):Dt,yt=P({get:we,set:lt});Object.defineProperty(r,pe,{enumerable:!0,configurable:!0,get:()=>yt.value,set:We=>yt.value=We})}if(a)for(const pe in a)Yu(a[pe],r,n,pe);if(l){const pe=de(l)?l.call(n):l;Reflect.ownKeys(pe).forEach(le=>{sn(le,pe[le])})}u&&sl(u,e,"c");function se(pe,le){fe(le)?le.forEach(we=>pe(we.bind(n))):le&&pe(le.bind(n))}if(se(rv,f),se(Re,d),se(ov,p),se(zu,v),se(ev,m),se(tv,k),se(lv,re),se(av,$),se(iv,W),se(fa,L),se(zt,x),se(sv,H),fe(A))if(A.length){const pe=e.exposed||(e.exposed={});A.forEach(le=>{Object.defineProperty(pe,le,{get:()=>n[le],set:we=>n[le]=we})})}else e.exposed||(e.exposed={});N&&e.render===Dt&&(e.render=N),q!=null&&(e.inheritAttrs=q),F&&(e.components=F),ie&&(e.directives=ie),H&&ca(e)}function hv(e,t,n=Dt){fe(e)&&(e=_i(e));for(const r in e){const o=e[r];let s;Ie(o)?"default"in o?s=He(o.from||r,o.default,!0):s=He(o.from||r):s=He(o),$e(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function sl(e,t,n){At(fe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Yu(e,t,n,r){let o=r.includes(".")?uf(n,r):()=>n[r];if(Ee(e)){const s=t[e];de(s)&&me(o,s)}else if(de(e))me(o,e.bind(n));else if(Ie(e))if(fe(e))e.forEach(s=>Yu(s,t,n,r));else{const s=de(e.handler)?e.handler.bind(n):t[e.handler];de(s)&&me(o,s,e)}}function da(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(c=>Zo(l,c,i,!0)),Zo(l,t,i)),Ie(t)&&s.set(t,l),l}function Zo(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&Zo(e,s,n,!0),o&&o.forEach(i=>Zo(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=vv[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const vv={data:il,props:al,emits:al,methods:Hr,computed:Hr,beforeCreate:ot,created:ot,beforeMount:ot,mounted:ot,beforeUpdate:ot,updated:ot,beforeDestroy:ot,beforeUnmount:ot,destroyed:ot,unmounted:ot,activated:ot,deactivated:ot,errorCaptured:ot,serverPrefetch:ot,components:Hr,directives:Hr,watch:gv,provide:il,inject:mv};function il(e,t){return t?e?function(){return Ue(de(e)?e.call(this,this):e,de(t)?t.call(this,this):t)}:t:e}function mv(e,t){return Hr(_i(e),_i(t))}function _i(e){if(fe(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ot(e,t){return e?[...new Set([].concat(e,t))]:t}function Hr(e,t){return e?Ue(Object.create(null),e,t):t}function al(e,t){return e?fe(e)&&fe(t)?[...new Set([...e,...t])]:Ue(Object.create(null),ol(e),ol(t??{})):t}function gv(e,t){if(!e)return t;if(!t)return e;const n=Ue(Object.create(null),e);for(const r in t)n[r]=ot(e[r],t[r]);return n}function Qu(){return{app:null,config:{isNativeTag:Vp,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 _v=0;function bv(e,t){return function(r,o=null){de(r)||(r=Ue({},r)),o!=null&&!Ie(o)&&(o=null);const s=Qu(),i=new WeakSet,a=[];let l=!1;const c=s.app={_uid:_v++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:vl,get config(){return s.config},set config(u){},use(u,...f){return i.has(u)||(u&&de(u.install)?(i.add(u),u.install(c,...f)):de(u)&&(i.add(u),u(c,...f))),c},mixin(u){return s.mixins.includes(u)||s.mixins.push(u),c},component(u,f){return f?(s.components[u]=f,c):s.components[u]},directive(u,f){return f?(s.directives[u]=f,c):s.directives[u]},mount(u,f,d){if(!l){const p=c._ceVNode||I(r,o);return p.appContext=s,d===!0?d="svg":d===!1&&(d=void 0),f&&t?t(p,u):e(p,u,d),l=!0,c._container=u,u.__vue_app__=c,c._instance=p.component,Rh(c,vl),vs(p.component)}},onUnmount(u){a.push(u)},unmount(){l&&(At(a,c._instance,16),e(null,c._container),c._instance=null,$h(c),delete c._container.__vue_app__)},provide(u,f){return s.provides[u]=f,c},runWithContext(u){const f=ur;ur=c;try{return u()}finally{ur=f}}};return c}}let ur=null;function sn(e,t){if(Ge){let n=Ge.provides;const r=Ge.parent&&Ge.parent.provides;r===n&&(n=Ge.provides=Object.create(r)),n[e]=t}}function He(e,t,n=!1){const r=Ge||qe;if(r||ur){const o=ur?ur._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&de(t)?t.call(r&&r.proxy):t}}const Ju={},Xu=()=>Object.create(Ju),Zu=e=>Object.getPrototypeOf(e)===Ju;function yv(e,t,n,r=!1){const o={},s=Xu();e.propsDefaults=Object.create(null),ef(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:Su(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function kv(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=be(o),[l]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(hs(e.emitsOptions,d))continue;const p=t[d];if(l)if(Pe(s,d))p!==s[d]&&(s[d]=p,c=!0);else{const v=ft(d);o[v]=bi(l,a,v,p,e,!1)}else p!==s[d]&&(s[d]=p,c=!0)}}}else{ef(e,t,o,s)&&(c=!0);let u;for(const f in a)(!t||!Pe(t,f)&&((u=ln(f))===f||!Pe(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=bi(l,a,f,void 0,e,!0)):delete o[f]);if(s!==a)for(const f in s)(!t||!Pe(t,f))&&(delete s[f],c=!0)}c&&en(e.attrs,"set","")}function ef(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(ir(l))continue;const c=t[l];let u;o&&Pe(o,u=ft(l))?!s||!s.includes(u)?n[u]=c:(a||(a={}))[u]=c:hs(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(s){const l=be(n),c=a||Le;for(let u=0;u<s.length;u++){const f=s[u];n[f]=bi(o,l,f,c[f],e,!Pe(c,f))}}return i}function bi(e,t,n,r,o,s){const i=e[n];if(i!=null){const a=Pe(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&de(l)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=mo(o);r=c[n]=l.call(null,t),u()}}else r=l;o.ce&&o.ce._setProp(n,r)}i[0]&&(s&&!a?r=!1:i[1]&&(r===""||r===ln(n))&&(r=!0))}return r}const wv=new WeakMap;function tf(e,t,n=!1){const r=n?wv:t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},a=[];let l=!1;if(!de(e)){const u=f=>{l=!0;const[d,p]=tf(f,t,!0);Ue(i,d),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return Ie(e)&&r.set(e,or),or;if(fe(s))for(let u=0;u<s.length;u++){const f=ft(s[u]);ll(f)&&(i[f]=Le)}else if(s)for(const u in s){const f=ft(u);if(ll(f)){const d=s[u],p=i[f]=fe(d)||de(d)?{type:d}:Ue({},d),v=p.type;let m=!1,k=!0;if(fe(v))for(let S=0;S<v.length;++S){const L=v[S],_=de(L)&&L.name;if(_==="Boolean"){m=!0;break}else _==="String"&&(k=!1)}else m=de(v)&&v.name==="Boolean";p[0]=m,p[1]=k,(m||Pe(p,"default"))&&a.push(f)}}const c=[i,a];return Ie(e)&&r.set(e,c),c}function ll(e){return e[0]!=="$"&&!ir(e)}const nf=e=>e[0]==="_"||e==="$stable",pa=e=>fe(e)?e.map(Pt):[Pt(e)],Sv=(e,t,n)=>{if(t._n)return t;const r=C((...o)=>pa(t(...o)),n);return r._c=!1,r},rf=(e,t,n)=>{const r=e._ctx;for(const o in e){if(nf(o))continue;const s=e[o];if(de(s))t[o]=Sv(o,s,r);else if(s!=null){const i=pa(s);t[o]=()=>i}}},of=(e,t)=>{const n=pa(t);e.slots.default=()=>n},sf=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},Pv=(e,t,n)=>{const r=e.slots=Xu();if(e.vnode.shapeFlag&32){const o=t._;o?(sf(r,t,n),n&&vr(r,"_",o,!0)):rf(t,r)}else t&&of(e,t)},xv=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=Le;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:sf(o,t,n):(s=!t.$stable,rf(t,o)),i=t}else t&&(of(e,t),i={default:1});if(s)for(const a in o)!nf(a)&&i[a]==null&&delete o[a]},ct=pf;function Tv(e){return Cv(e,Yh)}function Cv(e,t){const n=ls();n.__VUE__=!0,Ou(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=Dt,insertStaticContent:v}=e,m=(g,w,O,j=null,M=null,U=null,X=void 0,Q=null,Y=!!w.dynamicChildren)=>{if(g===w)return;g&&!Dn(g,w)&&(j=V(g),We(g,M,U,!0),g=null),w.patchFlag===-2&&(Y=!1,w.dynamicChildren=null);const{type:z,ref:ue,shapeFlag:ne}=w;switch(z){case Pn:k(g,w,O,j);break;case Qe:S(g,w,O,j);break;case fr:g==null&&L(w,O,j,X);break;case ee:F(g,w,O,j,M,U,X,Q,Y);break;default:ne&1?N(g,w,O,j,M,U,X,Q,Y):ne&6?ie(g,w,O,j,M,U,X,Q,Y):(ne&64||ne&128)&&z.process(g,w,O,j,M,U,X,Q,Y,ae)}ue!=null&&M&&Xo(ue,g&&g.ref,U,w||g,!w)},k=(g,w,O,j)=>{if(g==null)r(w.el=a(w.children),O,j);else{const M=w.el=g.el;w.children!==g.children&&c(M,w.children)}},S=(g,w,O,j)=>{g==null?r(w.el=l(w.children||""),O,j):w.el=g.el},L=(g,w,O,j)=>{[g.el,g.anchor]=v(g.children,w,O,j,g.el,g.anchor)},_=({el:g,anchor:w},O,j)=>{let M;for(;g&&g!==w;)M=d(g),r(g,O,j),g=M;r(w,O,j)},x=({el:g,anchor:w})=>{let O;for(;g&&g!==w;)O=d(g),o(g),g=O;o(w)},N=(g,w,O,j,M,U,X,Q,Y)=>{w.type==="svg"?X="svg":w.type==="math"&&(X="mathml"),g==null?$(w,O,j,M,U,X,Q,Y):H(g,w,M,U,X,Q,Y)},$=(g,w,O,j,M,U,X,Q)=>{let Y,z;const{props:ue,shapeFlag:ne,transition:ce,dirs:he}=g;if(Y=g.el=i(g.type,U,ue&&ue.is,ue),ne&8?u(Y,g.children):ne&16&&re(g.children,Y,null,j,M,Vs(g,U),X,Q),he&&Bt(g,null,j,"created"),W(Y,g,g.scopeId,X,j),ue){for(const Oe in ue)Oe!=="value"&&!ir(Oe)&&s(Y,Oe,null,ue[Oe],U,j);"value"in ue&&s(Y,"value",null,ue.value,U),(z=ue.onVnodeBeforeMount)&&wt(z,j,g)}vr(Y,"__vnode",g,!0),vr(Y,"__vueParentComponent",j,!0),he&&Bt(g,null,j,"beforeMount");const ye=af(M,ce);ye&&ce.beforeEnter(Y),r(Y,w,O),((z=ue&&ue.onVnodeMounted)||ye||he)&&ct(()=>{z&&wt(z,j,g),ye&&ce.enter(Y),he&&Bt(g,null,j,"mounted")},M)},W=(g,w,O,j,M)=>{if(O&&p(g,O),j)for(let U=0;U<j.length;U++)p(g,j[U]);if(M){let U=M.subTree;if(w===U||df(U.type)&&(U.ssContent===w||U.ssFallback===w)){const X=M.vnode;W(g,X,X.scopeId,X.slotScopeIds,M.parent)}}},re=(g,w,O,j,M,U,X,Q,Y=0)=>{for(let z=Y;z<g.length;z++){const ue=g[z]=Q?yn(g[z]):Pt(g[z]);m(null,ue,w,O,j,M,U,X,Q)}},H=(g,w,O,j,M,U,X)=>{const Q=w.el=g.el;Q.__vnode=w;let{patchFlag:Y,dynamicChildren:z,dirs:ue}=w;Y|=g.patchFlag&16;const ne=g.props||Le,ce=w.props||Le;let he;if(O&&Mn(O,!1),(he=ce.onVnodeBeforeUpdate)&&wt(he,O,w,g),ue&&Bt(w,g,O,"beforeUpdate"),O&&Mn(O,!0),(ne.innerHTML&&ce.innerHTML==null||ne.textContent&&ce.textContent==null)&&u(Q,""),z?A(g.dynamicChildren,z,Q,O,j,Vs(w,M),U):X||le(g,w,Q,null,O,j,Vs(w,M),U,!1),Y>0){if(Y&16)q(Q,ne,ce,O,M);else if(Y&2&&ne.class!==ce.class&&s(Q,"class",null,ce.class,M),Y&4&&s(Q,"style",ne.style,ce.style,M),Y&8){const ye=w.dynamicProps;for(let Oe=0;Oe<ye.length;Oe++){const xe=ye[Oe],ht=ne[xe],Xe=ce[xe];(Xe!==ht||xe==="value")&&s(Q,xe,ht,Xe,M,O)}}Y&1&&g.children!==w.children&&u(Q,w.children)}else!X&&z==null&&q(Q,ne,ce,O,M);((he=ce.onVnodeUpdated)||ue)&&ct(()=>{he&&wt(he,O,w,g),ue&&Bt(w,g,O,"updated")},j)},A=(g,w,O,j,M,U,X)=>{for(let Q=0;Q<w.length;Q++){const Y=g[Q],z=w[Q],ue=Y.el&&(Y.type===ee||!Dn(Y,z)||Y.shapeFlag&70)?f(Y.el):O;m(Y,z,ue,null,j,M,U,X,!0)}},q=(g,w,O,j,M)=>{if(w!==O){if(w!==Le)for(const U in w)!ir(U)&&!(U in O)&&s(g,U,w[U],null,M,j);for(const U in O){if(ir(U))continue;const X=O[U],Q=w[U];X!==Q&&U!=="value"&&s(g,U,Q,X,M,j)}"value"in O&&s(g,"value",w.value,O.value,M)}},F=(g,w,O,j,M,U,X,Q,Y)=>{const z=w.el=g?g.el:a(""),ue=w.anchor=g?g.anchor:a("");let{patchFlag:ne,dynamicChildren:ce,slotScopeIds:he}=w;he&&(Q=Q?Q.concat(he):he),g==null?(r(z,O,j),r(ue,O,j),re(w.children||[],O,ue,M,U,X,Q,Y)):ne>0&&ne&64&&ce&&g.dynamicChildren?(A(g.dynamicChildren,ce,O,M,U,X,Q),(w.key!=null||M&&w===M.subTree)&&ha(g,w,!0)):le(g,w,O,ue,M,U,X,Q,Y)},ie=(g,w,O,j,M,U,X,Q,Y)=>{w.slotScopeIds=Q,g==null?w.shapeFlag&512?M.ctx.activate(w,O,j,X,Y):ge(w,O,j,M,U,X,Y):Te(g,w,Y)},ge=(g,w,O,j,M,U,X)=>{const Q=g.component=Uv(g,j,M);if(vo(g)&&(Q.ctx.renderer=ae),zv(Q,!1,X),Q.asyncDep){if(M&&M.registerDep(Q,se,X),!g.el){const Y=Q.subTree=I(Qe);S(null,Y,w,O)}}else se(Q,g,w,O,M,U,X)},Te=(g,w,O)=>{const j=w.component=g.component;if($v(g,w,O))if(j.asyncDep&&!j.asyncResolved){pe(j,w,O);return}else j.next=w,j.update();else w.el=g.el,j.vnode=w},se=(g,w,O,j,M,U,X)=>{const Q=()=>{if(g.isMounted){let{next:ne,bu:ce,u:he,parent:ye,vnode:Oe}=g;{const vt=lf(g);if(vt){ne&&(ne.el=Oe.el,pe(g,ne,X)),vt.asyncDep.then(()=>{g.isUnmounted||Q()});return}}let xe=ne,ht;Mn(g,!1),ne?(ne.el=Oe.el,pe(g,ne,X)):ne=Oe,ce&&No(ce),(ht=ne.props&&ne.props.onVnodeBeforeUpdate)&&wt(ht,ye,ne,Oe),Mn(g,!0);const Xe=Ms(g),Ct=g.subTree;g.subTree=Xe,m(Ct,Xe,f(Ct.el),V(Ct),g,M,U),ne.el=Xe.el,xe===null&&Bv(g,Xe.el),he&&ct(he,M),(ht=ne.props&&ne.props.onVnodeUpdated)&&ct(()=>wt(ht,ye,ne,Oe),M),Au(g)}else{let ne;const{el:ce,props:he}=w,{bm:ye,m:Oe,parent:xe,root:ht,type:Xe}=g,Ct=Fn(w);if(Mn(g,!1),ye&&No(ye),!Ct&&(ne=he&&he.onVnodeBeforeMount)&&wt(ne,xe,w),Mn(g,!0),ce&&Ce){const vt=()=>{g.subTree=Ms(g),Ce(ce,g.subTree,g,M,null)};Ct&&Xe.__asyncHydrate?Xe.__asyncHydrate(ce,g,vt):vt()}else{ht.ce&&ht.ce._injectChildStyle(Xe);const vt=g.subTree=Ms(g);m(null,vt,O,j,g,M,U),w.el=vt.el}if(Oe&&ct(Oe,M),!Ct&&(ne=he&&he.onVnodeMounted)){const vt=w;ct(()=>wt(ne,xe,vt),M)}(w.shapeFlag&256||xe&&Fn(xe.vnode)&&xe.vnode.shapeFlag&256)&&g.a&&ct(g.a,M),g.isMounted=!0,Bh(g),w=O=j=null}};g.scope.on();const Y=g.effect=new cu(Q);g.scope.off();const z=g.update=Y.run.bind(Y),ue=g.job=Y.runIfDirty.bind(Y);ue.i=g,ue.id=g.uid,Y.scheduler=()=>ia(ue),Mn(g,!0),z()},pe=(g,w,O)=>{w.component=g;const j=g.vnode.props;g.vnode=w,g.next=null,kv(g,w.props,j,O),xv(g,w.children,O),cn(),Ya(g),un()},le=(g,w,O,j,M,U,X,Q,Y=!1)=>{const z=g&&g.children,ue=g?g.shapeFlag:0,ne=w.children,{patchFlag:ce,shapeFlag:he}=w;if(ce>0){if(ce&128){lt(z,ne,O,j,M,U,X,Q,Y);return}else if(ce&256){we(z,ne,O,j,M,U,X,Q,Y);return}}he&8?(ue&16&&Je(z,M,U),ne!==z&&u(O,ne)):ue&16?he&16?lt(z,ne,O,j,M,U,X,Q,Y):Je(z,M,U,!0):(ue&8&&u(O,""),he&16&&re(ne,O,j,M,U,X,Q,Y))},we=(g,w,O,j,M,U,X,Q,Y)=>{g=g||or,w=w||or;const z=g.length,ue=w.length,ne=Math.min(z,ue);let ce;for(ce=0;ce<ne;ce++){const he=w[ce]=Y?yn(w[ce]):Pt(w[ce]);m(g[ce],he,O,null,M,U,X,Q,Y)}z>ue?Je(g,M,U,!0,!1,ne):re(w,O,j,M,U,X,Q,Y,ne)},lt=(g,w,O,j,M,U,X,Q,Y)=>{let z=0;const ue=w.length;let ne=g.length-1,ce=ue-1;for(;z<=ne&&z<=ce;){const he=g[z],ye=w[z]=Y?yn(w[z]):Pt(w[z]);if(Dn(he,ye))m(he,ye,O,null,M,U,X,Q,Y);else break;z++}for(;z<=ne&&z<=ce;){const he=g[ne],ye=w[ce]=Y?yn(w[ce]):Pt(w[ce]);if(Dn(he,ye))m(he,ye,O,null,M,U,X,Q,Y);else break;ne--,ce--}if(z>ne){if(z<=ce){const he=ce+1,ye=he<ue?w[he].el:j;for(;z<=ce;)m(null,w[z]=Y?yn(w[z]):Pt(w[z]),O,ye,M,U,X,Q,Y),z++}}else if(z>ce)for(;z<=ne;)We(g[z],M,U,!0),z++;else{const he=z,ye=z,Oe=new Map;for(z=ye;z<=ce;z++){const mt=w[z]=Y?yn(w[z]):Pt(w[z]);mt.key!=null&&Oe.set(mt.key,z)}let xe,ht=0;const Xe=ce-ye+1;let Ct=!1,vt=0;const Or=new Array(Xe);for(z=0;z<Xe;z++)Or[z]=0;for(z=he;z<=ne;z++){const mt=g[z];if(ht>=Xe){We(mt,M,U,!0);continue}let Rt;if(mt.key!=null)Rt=Oe.get(mt.key);else for(xe=ye;xe<=ce;xe++)if(Or[xe-ye]===0&&Dn(mt,w[xe])){Rt=xe;break}Rt===void 0?We(mt,M,U,!0):(Or[Rt-ye]=z+1,Rt>=vt?vt=Rt:Ct=!0,m(mt,w[Rt],O,null,M,U,X,Q,Y),ht++)}const Fa=Ct?Lv(Or):or;for(xe=Fa.length-1,z=Xe-1;z>=0;z--){const mt=ye+z,Rt=w[mt],Ua=mt+1<ue?w[mt+1].el:j;Or[z]===0?m(null,Rt,O,Ua,M,U,X,Q,Y):Ct&&(xe<0||z!==Fa[xe]?yt(Rt,O,Ua,2):xe--)}}},yt=(g,w,O,j,M=null)=>{const{el:U,type:X,transition:Q,children:Y,shapeFlag:z}=g;if(z&6){yt(g.component.subTree,w,O,j);return}if(z&128){g.suspense.move(w,O,j);return}if(z&64){X.move(g,w,O,ae);return}if(X===ee){r(U,w,O);for(let ne=0;ne<Y.length;ne++)yt(Y[ne],w,O,j);r(g.anchor,w,O);return}if(X===fr){_(g,w,O);return}if(j!==2&&z&1&&Q)if(j===0)Q.beforeEnter(U),r(U,w,O),ct(()=>Q.enter(U),M);else{const{leave:ne,delayLeave:ce,afterLeave:he}=Q,ye=()=>r(U,w,O),Oe=()=>{ne(U,()=>{ye(),he&&he()})};ce?ce(U,ye,Oe):Oe()}else r(U,w,O)},We=(g,w,O,j=!1,M=!1)=>{const{type:U,props:X,ref:Q,children:Y,dynamicChildren:z,shapeFlag:ue,patchFlag:ne,dirs:ce,cacheIndex:he}=g;if(ne===-2&&(M=!1),Q!=null&&Xo(Q,null,O,g,!0),he!=null&&(w.renderCache[he]=void 0),ue&256){w.ctx.deactivate(g);return}const ye=ue&1&&ce,Oe=!Fn(g);let xe;if(Oe&&(xe=X&&X.onVnodeBeforeUnmount)&&wt(xe,w,g),ue&6)Mt(g.component,O,j);else{if(ue&128){g.suspense.unmount(O,j);return}ye&&Bt(g,null,w,"beforeUnmount"),ue&64?g.type.remove(g,w,O,ae,j):z&&!z.hasOnce&&(U!==ee||ne>0&&ne&64)?Je(z,w,O,!1,!0):(U===ee&&ne&384||!M&&ue&16)&&Je(Y,w,O),j&&pt(g)}(Oe&&(xe=X&&X.onVnodeUnmounted)||ye)&&ct(()=>{xe&&wt(xe,w,g),ye&&Bt(g,null,w,"unmounted")},O)},pt=g=>{const{type:w,el:O,anchor:j,transition:M}=g;if(w===ee){Gt(O,j);return}if(w===fr){x(g);return}const U=()=>{o(O),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(g.shapeFlag&1&&M&&!M.persisted){const{leave:X,delayLeave:Q}=M,Y=()=>X(O,U);Q?Q(g.el,U,Y):Y()}else U()},Gt=(g,w)=>{let O;for(;g!==w;)O=d(g),o(g),g=O;o(w)},Mt=(g,w,O)=>{const{bum:j,scope:M,job:U,subTree:X,um:Q,m:Y,a:z}=g;cl(Y),cl(z),j&&No(j),M.stop(),U&&(U.flags|=8,We(X,g,w,O)),Q&&ct(Q,w),ct(()=>{g.isUnmounted=!0},w),w&&w.pendingBranch&&!w.isUnmounted&&g.asyncDep&&!g.asyncResolved&&g.suspenseId===w.pendingId&&(w.deps--,w.deps===0&&w.resolve()),jh(g)},Je=(g,w,O,j=!1,M=!1,U=0)=>{for(let X=U;X<g.length;X++)We(g[X],w,O,j,M)},V=g=>{if(g.shapeFlag&6)return V(g.component.subTree);if(g.shapeFlag&128)return g.suspense.next();const w=d(g.anchor||g.el),O=w&&w[Vu];return O?d(O):w};let te=!1;const J=(g,w,O)=>{g==null?w._vnode&&We(w._vnode,null,null,!0):m(w._vnode||null,g,w,null,null,null,O),w._vnode=g,te||(te=!0,Ya(),Qo(),te=!1)},ae={p:m,um:We,m:yt,r:pt,mt:ge,mc:re,pc:le,pbc:A,n:V,o:e};let ke,Ce;return t&&([ke,Ce]=t(ae)),{render:J,hydrate:ke,createApp:bv(J,ke)}}function Vs({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Mn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function af(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ha(e,t,n=!1){const r=e.children,o=t.children;if(fe(r)&&fe(o))for(let s=0;s<r.length;s++){const i=r[s];let a=o[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[s]=yn(o[s]),a.el=i.el),!n&&a.patchFlag!==-2&&ha(i,a)),a.type===Pn&&(a.el=i.el)}}function Lv(e){const t=e.slice(),n=[0];let r,o,s,i,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(s=0,i=n.length-1;s<i;)a=s+i>>1,e[n[a]]<c?s=a+1:i=a;c<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function lf(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:lf(t)}function cl(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Ev=Symbol.for("v-scx"),Ov=()=>He(Ev);function Gn(e,t){return ps(e,null,t)}function cf(e,t){return ps(e,null,{flush:"post"})}function me(e,t,n){return ps(e,t,n)}function ps(e,t,n=Le){const{immediate:r,deep:o,flush:s,once:i}=n,a=Ue({},n),l=t&&r||!t&&s!=="post";let c;if(mr){if(s==="sync"){const p=Ov();c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=Dt,p.resume=Dt,p.pause=Dt,p}}const u=Ge;a.call=(p,v,m)=>At(p,u,v,m);let f=!1;s==="post"?a.scheduler=p=>{ct(p,u&&u.suspense)}:s!=="sync"&&(f=!0,a.scheduler=(p,v)=>{v?p():ia(p)}),a.augmentJob=p=>{t&&(p.flags|=4),f&&(p.flags|=2,u&&(p.id=u.uid,p.i=u))};const d=Ch(e,t,a);return mr&&(c?c.push(d):l&&d()),d}function Av(e,t,n){const r=this.proxy,o=Ee(e)?e.includes(".")?uf(r,e):()=>r[e]:e.bind(r,r);let s;de(t)?s=t:(s=t.handler,n=t);const i=mo(this),a=ps(o,s.bind(r),n);return i(),a}function uf(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}const Iv=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ft(t)}Modifiers`]||e[`${ln(t)}Modifiers`];function Vv(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Le;let o=n;const s=t.startsWith("update:"),i=s&&Iv(r,t.slice(7));i&&(i.trim&&(o=n.map(u=>Ee(u)?u.trim():u)),i.number&&(o=n.map(li))),Dh(e,t,o);let a,l=r[a=Bo(t)]||r[a=Bo(ft(t))];!l&&s&&(l=r[a=Bo(ln(t))]),l&&At(l,e,6,o);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,At(c,e,6,o)}}function ff(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!de(e)){const l=c=>{const u=ff(c,t,!0);u&&(a=!0,Ue(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(Ie(e)&&r.set(e,null),null):(fe(s)?s.forEach(l=>i[l]=null):Ue(i,s),Ie(e)&&r.set(e,i),i)}function hs(e,t){return!e||!uo(t)?!1:(t=t.slice(2).replace(/Once$/,""),Pe(e,t[0].toLowerCase()+t.slice(1))||Pe(e,ln(t))||Pe(e,t))}function Ms(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:i,attrs:a,emit:l,render:c,renderCache:u,props:f,data:d,setupState:p,ctx:v,inheritAttrs:m}=e,k=Jo(e);let S,L;try{if(n.shapeFlag&4){const x=o||r,N=x;S=Pt(c.call(N,x,u,f,p,d,v)),L=a}else{const x=t;S=Pt(x.length>1?x(f,{attrs:a,slots:i,emit:l}):x(f,null)),L=t.props?a:Mv(a)}}catch(x){Kr.length=0,ho(x,e,1),S=I(Qe)}let _=S;if(L&&m!==!1){const x=Object.keys(L),{shapeFlag:N}=_;x.length&&N&7&&(s&&x.some(Yi)&&(L=Rv(L,s)),_=Cn(_,L,!1,!0))}return n.dirs&&(_=Cn(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&no(_,n.transition),S=_,Jo(k),S}const Mv=e=>{let t;for(const n in e)(n==="class"||n==="style"||uo(n))&&((t||(t={}))[n]=e[n]);return t},Rv=(e,t)=>{const n={};for(const r in e)(!Yi(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function $v(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?ul(r,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(i[d]!==r[d]&&!hs(c,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?ul(r,i,c):!0:!!i;return!1}function ul(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(t[s]!==e[s]&&!hs(n,s))return!0}return!1}function Bv({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const df=e=>e.__isSuspense;function pf(e,t){t&&t.pendingBranch?fe(e)?t.effects.push(...e):t.effects.push(e):Mh(e)}const ee=Symbol.for("v-fgt"),Pn=Symbol.for("v-txt"),Qe=Symbol.for("v-cmt"),fr=Symbol.for("v-stc"),Kr=[];let _t=null;function h(e=!1){Kr.push(_t=e?null:[])}function Nv(){Kr.pop(),_t=Kr[Kr.length-1]||null}let ro=1;function fl(e){ro+=e,e<0&&_t&&(_t.hasOnce=!0)}function hf(e){return e.dynamicChildren=ro>0?_t||or:null,Nv(),ro>0&&_t&&_t.push(e),e}function b(e,t,n,r,o,s){return hf(y(e,t,n,r,o,s,!0))}function B(e,t,n,r,o){return hf(I(e,t,n,r,o,!0))}function oo(e){return e?e.__v_isVNode===!0:!1}function Dn(e,t){return e.type===t.type&&e.key===t.key}const vf=({key:e})=>e??null,Do=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ee(e)||$e(e)||de(e)?{i:qe,r:e,k:t,f:!!n}:e:null);function y(e,t=null,n=null,r=0,o=null,s=e===ee?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&vf(t),ref:t&&Do(t),scopeId:Iu,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:qe};return a?(va(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=Ee(n)?8:16),ro>0&&!i&&_t&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&_t.push(l),l}const I=jv;function jv(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===Gu)&&(e=Qe),oo(e)){const a=Cn(e,t,!0);return n&&va(a,n),ro>0&&!s&&_t&&(a.shapeFlag&6?_t[_t.indexOf(e)]=a:_t.push(a)),a.patchFlag=-2,a}if(Yv(e)&&(e=e.__vccOpts),t){t=Dv(t);let{class:a,style:l}=t;a&&!Ee(a)&&(t.class=Z(a)),Ie(l)&&(oa(l)&&!fe(l)&&(l=Ue({},l)),t.style=Fe(l))}const i=Ee(e)?1:df(e)?128:Mu(e)?64:Ie(e)?4:de(e)?2:0;return y(e,t,n,r,o,i,s,!0)}function Dv(e){return e?oa(e)||Zu(e)?Ue({},e):e:null}function Cn(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:a,transition:l}=e,c=t?xn(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&vf(c),ref:t&&t.ref?n&&s?fe(s)?s.concat(Do(t)):[s,Do(t)]:Do(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ee?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Cn(e.ssContent),ssFallback:e.ssFallback&&Cn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&no(u,l.clone(u)),u}function je(e=" ",t=0){return I(Pn,null,e,t)}function qP(e,t){const n=I(fr,null,e);return n.staticCount=t,n}function E(e="",t=!1){return t?(h(),B(Qe,null,e)):I(Qe,null,e)}function Pt(e){return e==null||typeof e=="boolean"?I(Qe):fe(e)?I(ee,null,e.slice()):oo(e)?yn(e):I(Pn,null,String(e))}function yn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Cn(e)}function va(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(fe(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),va(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Zu(t)?t._ctx=qe:o===3&&qe&&(qe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else de(t)?(t={default:t,_ctx:qe},n=32):(t=String(t),r&64?(n=16,t=[je(t)]):n=8);e.children=t,e.shapeFlag|=n}function xn(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Z([t.class,r.class]));else if(o==="style")t.style=Fe([t.style,r.style]);else if(uo(o)){const s=t[o],i=r[o];i&&s!==i&&!(fe(s)&&s.includes(i))&&(t[o]=s?[].concat(s,i):i)}else o!==""&&(t[o]=r[o])}return t}function wt(e,t,n,r=null){At(e,t,7,[n,r])}const Hv=Qu();let Fv=0;function Uv(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||Hv,s={uid:Fv++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Qp(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:tf(r,o),emitsOptions:ff(r,o),emit:null,emitted:null,propsDefaults:Le,inheritAttrs:r.inheritAttrs,ctx:Le,data:Le,props:Le,attrs:Le,slots:Le,refs:Le,setupState:Le,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=Vv.bind(null,s),e.ce&&e.ce(s),s}let Ge=null;const Tr=()=>Ge||qe;let es,yi;{const e=ls(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(i=>i(s)):o[0](s)}};es=t("__VUE_INSTANCE_SETTERS__",n=>Ge=n),yi=t("__VUE_SSR_SETTERS__",n=>mr=n)}const mo=e=>{const t=Ge;return es(e),e.scope.on(),()=>{e.scope.off(),es(t)}},dl=()=>{Ge&&Ge.scope.off(),es(null)};function mf(e){return e.vnode.shapeFlag&4}let mr=!1;function zv(e,t=!1,n=!1){t&&yi(t);const{props:r,children:o}=e.vnode,s=mf(e);yv(e,r,s,t),Pv(e,o,n);const i=s?Wv(e,t):void 0;return t&&yi(!1),i}function Wv(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,uv);const{setup:r}=n;if(r){cn();const o=e.setupContext=r.length>1?_f(e):null,s=mo(e),i=xr(r,e,0,[e.props,o]),a=nu(i);if(un(),s(),(a||e.sp)&&!Fn(e)&&ca(e),a){if(i.then(dl,dl),t)return i.then(l=>{pl(e,l,t)}).catch(l=>{ho(l,e,0)});e.asyncDep=i}else pl(e,i,t)}else gf(e,t)}function pl(e,t,n){de(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ie(t)&&(e.devtoolsRawSetupState=t,e.setupState=xu(t)),gf(e,n)}let hl;function gf(e,t,n){const r=e.type;if(!e.render){if(!t&&hl&&!r.render){const o=r.template||da(e).template;if(o){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=Ue(Ue({isCustomElement:s,delimiters:a},i),l);r.render=hl(o,c)}}e.render=r.render||Dt}{const o=mo(e);cn();try{pv(e)}finally{un(),o()}}}const Gv={get(e,t){return Ze(e,"get",""),e[t]}};function _f(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Gv),slots:e.slots,emit:e.emit,expose:t}}function vs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(xu(gh(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in qr)return qr[n](e)},has(t,n){return n in t||n in qr}})):e.proxy}const qv=/(?:^|[-_])(\w)/g,Kv=e=>e.replace(qv,t=>t.toUpperCase()).replace(/[-_]/g,"");function bf(e,t=!0){return de(e)?e.displayName||e.name:e.name||t&&e.__name}function yf(e,t,n=!1){let r=bf(t);if(!r&&t.__file){const o=t.__file.match(/([^/\\]+)\.\w+$/);o&&(r=o[1])}if(!r&&e&&e.parent){const o=s=>{for(const i in s)if(s[i]===t)return i};r=o(e.components||e.parent.type.components)||o(e.appContext.components)}return r?Kv(r):n?"App":"Anonymous"}function Yv(e){return de(e)&&"__vccOpts"in e}const P=(e,t)=>xh(e,t,mr);function ve(e,t,n){const r=arguments.length;return r===2?Ie(t)&&!fe(t)?oo(t)?I(e,null,[t]):I(e,t):I(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&oo(n)&&(n=[n]),I(e,t,n))}const vl="3.5.12";/**
|
|
* @vue/runtime-dom v3.5.12
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let ki;const ml=typeof window<"u"&&window.trustedTypes;if(ml)try{ki=ml.createPolicy("vue",{createHTML:e=>e})}catch{}const kf=ki?e=>ki.createHTML(e):e=>e,Qv="http://www.w3.org/2000/svg",Jv="http://www.w3.org/1998/Math/MathML",Jt=typeof document<"u"?document:null,gl=Jt&&Jt.createElement("template"),Xv={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Jt.createElementNS(Qv,e):t==="mathml"?Jt.createElementNS(Jv,e):n?Jt.createElement(e,{is:n}):Jt.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Jt.createTextNode(e),createComment:e=>Jt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Jt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{gl.innerHTML=kf(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=gl.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},pn="transition",Ir="animation",so=Symbol("_vtc"),wf={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},Zv=Ue({},$u,wf),em=e=>(e.displayName="Transition",e.props=Zv,e),En=em((e,{slots:t})=>ve(Gh,tm(e),t)),Rn=(e,t=[])=>{fe(e)?e.forEach(n=>n(...t)):e&&e(...t)},_l=e=>e?fe(e)?e.some(t=>t.length>1):e.length>1:!1;function tm(e){const t={};for(const F in e)F in wf||(t[F]=e[F]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:c=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,v=nm(o),m=v&&v[0],k=v&&v[1],{onBeforeEnter:S,onEnter:L,onEnterCancelled:_,onLeave:x,onLeaveCancelled:N,onBeforeAppear:$=S,onAppear:W=L,onAppearCancelled:re=_}=t,H=(F,ie,ge)=>{$n(F,ie?u:a),$n(F,ie?c:i),ge&&ge()},A=(F,ie)=>{F._isLeaving=!1,$n(F,f),$n(F,p),$n(F,d),ie&&ie()},q=F=>(ie,ge)=>{const Te=F?W:L,se=()=>H(ie,F,ge);Rn(Te,[ie,se]),bl(()=>{$n(ie,F?l:s),hn(ie,F?u:a),_l(Te)||yl(ie,r,m,se)})};return Ue(t,{onBeforeEnter(F){Rn(S,[F]),hn(F,s),hn(F,i)},onBeforeAppear(F){Rn($,[F]),hn(F,l),hn(F,c)},onEnter:q(!1),onAppear:q(!0),onLeave(F,ie){F._isLeaving=!0;const ge=()=>A(F,ie);hn(F,f),hn(F,d),sm(),bl(()=>{F._isLeaving&&($n(F,f),hn(F,p),_l(x)||yl(F,r,k,ge))}),Rn(x,[F,ge])},onEnterCancelled(F){H(F,!1),Rn(_,[F])},onAppearCancelled(F){H(F,!0),Rn(re,[F])},onLeaveCancelled(F){A(F),Rn(N,[F])}})}function nm(e){if(e==null)return null;if(Ie(e))return[Rs(e.enter),Rs(e.leave)];{const t=Rs(e);return[t,t]}}function Rs(e){return Np(e)}function hn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[so]||(e[so]=new Set)).add(t)}function $n(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[so];n&&(n.delete(t),n.size||(e[so]=void 0))}function bl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let rm=0;function yl(e,t,n,r){const o=e._endId=++rm,s=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=om(e,t);if(!i)return r();const c=i+"end";let u=0;const f=()=>{e.removeEventListener(c,d),s()},d=p=>{p.target===e&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},a+1),e.addEventListener(c,d)}function om(e,t){const n=window.getComputedStyle(e),r=v=>(n[v]||"").split(", "),o=r(`${pn}Delay`),s=r(`${pn}Duration`),i=kl(o,s),a=r(`${Ir}Delay`),l=r(`${Ir}Duration`),c=kl(a,l);let u=null,f=0,d=0;t===pn?i>0&&(u=pn,f=i,d=s.length):t===Ir?c>0&&(u=Ir,f=c,d=l.length):(f=Math.max(i,c),u=f>0?i>c?pn:Ir:null,d=u?u===pn?s.length:l.length:0);const p=u===pn&&/\b(transform|all)(,|$)/.test(r(`${pn}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:p}}function kl(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>wl(n)+wl(e[r])))}function wl(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function sm(){return document.body.offsetHeight}function im(e,t,n){const r=e[so];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ts=Symbol("_vod"),Sf=Symbol("_vsh"),Pf={beforeMount(e,{value:t},{transition:n}){e[ts]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Vr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Vr(e,!0),r.enter(e)):r.leave(e,()=>{Vr(e,!1)}):Vr(e,t))},beforeUnmount(e,{value:t}){Vr(e,t)}};function Vr(e,t){e.style.display=t?e[ts]:"none",e[Sf]=!t}const am=Symbol(""),lm=/(^|;)\s*display\s*:/;function cm(e,t,n){const r=e.style,o=Ee(n);let s=!1;if(n&&!o){if(t)if(Ee(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Ho(r,a,"")}else for(const i in t)n[i]==null&&Ho(r,i,"");for(const i in n)i==="display"&&(s=!0),Ho(r,i,n[i])}else if(o){if(t!==n){const i=r[am];i&&(n+=";"+i),r.cssText=n,s=lm.test(n)}}else t&&e.removeAttribute("style");ts in e&&(e[ts]=s?r.display:"",e[Sf]&&(r.display="none"))}const Sl=/\s*!important$/;function Ho(e,t,n){if(fe(n))n.forEach(r=>Ho(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=um(e,t);Sl.test(n)?e.setProperty(ln(r),n.replace(Sl,""),"important"):e[r]=n}}const Pl=["Webkit","Moz","ms"],$s={};function um(e,t){const n=$s[t];if(n)return n;let r=ft(t);if(r!=="filter"&&r in e)return $s[t]=r;r=fo(r);for(let o=0;o<Pl.length;o++){const s=Pl[o]+r;if(s in e)return $s[t]=s}return t}const xl="http://www.w3.org/1999/xlink";function Tl(e,t,n,r,o,s=zp(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(xl,t.slice(6,t.length)):e.setAttributeNS(xl,t,n):n==null||s&&!Xi(n)?e.removeAttribute(t):e.setAttribute(t,s?"":an(n)?String(n):n)}function Cl(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?kf(n):n);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const a=s==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Xi(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(o||t)}function er(e,t,n,r){e.addEventListener(t,n,r)}function fm(e,t,n,r){e.removeEventListener(t,n,r)}const Ll=Symbol("_vei");function dm(e,t,n,r,o=null){const s=e[Ll]||(e[Ll]={}),i=s[t];if(r&&i)i.value=r;else{const[a,l]=pm(t);if(r){const c=s[t]=mm(r,o);er(e,a,c,l)}else i&&(fm(e,a,i,l),s[t]=void 0)}}const El=/(?:Once|Passive|Capture)$/;function pm(e){let t;if(El.test(e)){t={};let r;for(;r=e.match(El);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ln(e.slice(2)),t]}let Bs=0;const hm=Promise.resolve(),vm=()=>Bs||(hm.then(()=>Bs=0),Bs=Date.now());function mm(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;At(gm(r,n.value),t,5,[r])};return n.value=e,n.attached=vm(),n}function gm(e,t){if(fe(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const Ol=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,_m=(e,t,n,r,o,s)=>{const i=o==="svg";t==="class"?im(e,r,i):t==="style"?cm(e,n,r):uo(t)?Yi(t)||dm(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):bm(e,t,r,i))?(Cl(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Tl(e,t,r,i,s,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Ee(r))?Cl(e,ft(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Tl(e,t,r,i))};function bm(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ol(t)&&de(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Ol(t)&&Ee(n)?!1:t in e}const Al=e=>{const t=e.props["onUpdate:modelValue"]||!1;return fe(t)?n=>No(t,n):t};function ym(e){e.target.composing=!0}function Il(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ns=Symbol("_assign"),km={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[Ns]=Al(o);const s=r||o.props&&o.props.type==="number";er(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),s&&(a=li(a)),e[Ns](a)}),n&&er(e,"change",()=>{e.value=e.value.trim()}),t||(er(e,"compositionstart",ym),er(e,"compositionend",Il),er(e,"change",Il))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:s}},i){if(e[Ns]=Al(i),e.composing)return;const a=(s||e.type==="number")&&!/^0\d/.test(e.value)?li(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||o&&e.value.trim()===l)||(e.value=l))}},wm=["ctrl","shift","alt","meta"],Sm={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>wm.some(n=>e[`${n}Key`]&&!t.includes(n))},xf=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(o,...s)=>{for(let i=0;i<t.length;i++){const a=Sm[t[i]];if(a&&a(o,t))return}return e(o,...s)})},Pm={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Tf=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const s=ln(o.key);if(t.some(i=>i===s||Pm[i]===s))return e(o)})},xm=Ue({patchProp:_m},Xv);let js,Vl=!1;function Tm(){return js=Vl?js:Tv(xm),Vl=!0,js}const Cm=(...e)=>{const t=Tm().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Em(r);if(o)return n(o,!0,Lm(o))},t};function Lm(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Em(e){return Ee(e)?document.querySelector(e):e}var Cf=e=>/^[a-z][a-z0-9+.-]*:/.test(e)||e.startsWith("//"),Om=/.md((\?|#).*)?$/,Am=(e,t="/")=>Cf(e)||e.startsWith("/")&&!e.startsWith(t)&&!Om.test(e),It=e=>/^(https?:)?\/\//.test(e),Ml=e=>{if(!e||e.endsWith("/"))return e;let t=e.replace(/(^|\/)README.md$/i,"$1index.html");return t.endsWith(".md")?t=`${t.substring(0,t.length-3)}.html`:t.endsWith(".html")||(t=`${t}.html`),t.endsWith("/index.html")&&(t=t.substring(0,t.length-10)),t},Im="http://.",Vm=(e,t)=>{if(!e.startsWith("/")&&t){const n=t.slice(0,t.lastIndexOf("/"));return Ml(new URL(`${n}/${e}`,Im).pathname)}return Ml(e)},Mm=(e,t)=>{const n=Object.keys(e).sort((r,o)=>{const s=o.split("/").length-r.split("/").length;return s!==0?s:o.length-r.length});for(const r of n)if(t.startsWith(r))return r;return"/"},Rm=/(#|\?)/,Lf=e=>{const[t,...n]=e.split(Rm);return{pathname:t,hashAndQueries:n.join("")}},$m=["link","meta","script","style","noscript","template"],Bm=["title","base"],Nm=([e,t,n])=>Bm.includes(e)?e:$m.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([r,o])=>typeof o=="boolean"?o?[r,""]:null:[r,o]).filter(r=>r!=null).sort(([r],[o])=>r.localeCompare(o)),n]):null,jm=e=>{const t=new Set,n=[];return e.forEach(r=>{const o=Nm(r);o&&!t.has(o)&&(t.add(o),n.push(r))}),n},Ef=e=>e.startsWith("/")?e:`/${e}`,Dm=e=>e.endsWith("/")||e.endsWith(".html")?e:`${e}/`,Of=e=>e.endsWith("/")?e.slice(0,-1):e,ma=e=>e.startsWith("/")?e.slice(1):e,Hm=e=>typeof e=="function",gr=e=>Object.prototype.toString.call(e)==="[object Object]",Ot=e=>typeof e=="string";const Fm=JSON.parse('{"/docs/community.html":"/docs/community/","/docs/donate.html":"/docs/donate/","/docs/get-start.html":"/docs/get-start/","/docs/offline-users.html":"/docs/offline-users/","/docs/online-users.html":"/docs/online-users/","/%E5%88%B6%E5%BA%A6/raincraft-zd-20241201-01.html":"/rules/raincraft-zd-20241201-01/","/%E6%96%B0%E9%97%BB/raincraft-beta-202410.html":"/news/raincraft-beta-202410/","/%E6%96%B0%E9%97%BB/raincraft-upgrade.html":"/news/raincraft-upgrade/","/%E6%96%B0%E9%97%BB/raincraft-zd-20241201-01-publish.html":"/news/raincraft-zd-20241201-01-publish/"}'),Um=Object.fromEntries([["/",{loader:()=>Ve(()=>import("./index.html-Dz42UzbO.js"),[]),meta:{title:""}}],["/docs/community/",{loader:()=>Ve(()=>import("./index.html-DwTbOMLd.js"),[]),meta:{title:"我们的社区"}}],["/docs/donate/",{loader:()=>Ve(()=>import("./index.html-mYA6GyBO.js"),[]),meta:{title:"投喂我们!"}}],["/docs/get-start/",{loader:()=>Ve(()=>import("./index.html-BjT9Hqf5.js"),[]),meta:{title:"让我们开始吧!"}}],["/docs/offline-users/",{loader:()=>Ve(()=>import("./index.html-CPDZbWRZ.js"),[]),meta:{title:"使用外置登录服务"}}],["/docs/online-users/",{loader:()=>Ve(()=>import("./index.html-ccT_euSo.js"),[]),meta:{title:"正版玩家"}}],["/en/",{loader:()=>Ve(()=>import("./index.html-CWkgxnBF.js"),[]),meta:{title:""}}],["/rules/raincraft-zd-20241201-01/",{loader:()=>Ve(()=>import("./index.html-C8B_aBdm.js"),[]),meta:{title:"RainCraft玩家游玩守则"}}],["/news/raincraft-beta-202410/",{loader:()=>Ve(()=>import("./index.html-YgqtsKip.js"),[]),meta:{title:"Raincraft开展新周目公测活动"}}],["/news/raincraft-upgrade/",{loader:()=>Ve(()=>import("./index.html-C9q_x8VX.js"),[]),meta:{title:"关于RainCraft服务器升级的通知"}}],["/news/raincraft-zd-20241201-01-publish/",{loader:()=>Ve(()=>import("./index.html-CSPyni92.js"),[]),meta:{title:"关于印发《RainCraft玩家游玩守则》的通知"}}],["/404.html",{loader:()=>Ve(()=>import("./404.html-BjA0bAfq.js"),[]),meta:{title:""}}],["/en/blog/",{loader:()=>Ve(()=>import("./index.html-BGn9jbvQ.js"),[]),meta:{title:"Blog"}}],["/en/blog/tags/",{loader:()=>Ve(()=>import("./index.html-CpfX778C.js"),[]),meta:{title:"Tags"}}],["/en/blog/archives/",{loader:()=>Ve(()=>import("./index.html-BzylYHG7.js"),[]),meta:{title:"Archives"}}],["/en/blog/categories/",{loader:()=>Ve(()=>import("./index.html-CFip6vMf.js"),[]),meta:{title:"Categories"}}],["/blog/",{loader:()=>Ve(()=>import("./index.html-DnrFiQN1.js"),[]),meta:{title:"博客"}}],["/blog/tags/",{loader:()=>Ve(()=>import("./index.html-ZXdTY7EU.js"),[]),meta:{title:"标签"}}],["/blog/archives/",{loader:()=>Ve(()=>import("./index.html-BEKOhyjO.js"),[]),meta:{title:"归档"}}],["/blog/categories/",{loader:()=>Ve(()=>import("./index.html-BXADg4sw.js"),[]),meta:{title:"分类"}}]]);function zm(){return Af().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Af(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const Wm=typeof Proxy=="function",Gm="devtools-plugin:setup",qm="plugin:settings:set";let Jn,wi;function Km(){var e;return Jn!==void 0||(typeof window<"u"&&window.performance?(Jn=!0,wi=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(Jn=!0,wi=globalThis.perf_hooks.performance):Jn=!1),Jn}function Ym(){return Km()?wi.now():Date.now()}class Qm{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const i in t.settings){const a=t.settings[i];r[i]=a.defaultValue}const o=`__vue-devtools-plugin-settings__${t.id}`;let s=Object.assign({},r);try{const i=localStorage.getItem(o),a=JSON.parse(i);Object.assign(s,a)}catch{}this.fallbacks={getSettings(){return s},setSettings(i){try{localStorage.setItem(o,JSON.stringify(i))}catch{}s=i},now(){return Ym()}},n&&n.on(qm,(i,a)=>{i===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(i,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(i,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:a,args:l,resolve:c})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function Jm(e,t){const n=e,r=Af(),o=zm(),s=Wm&&n.enableEarlyProxy;if(o&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!s))o.emit(Gm,e,t);else{const i=s?new Qm(n,o):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*!
|
|
* vue-router v4.4.5
|
|
* (c) 2024 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/const Xt=typeof document<"u";function If(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Xm(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&If(e.default)}const Se=Object.assign;function Ds(e,t){const n={};for(const r in t){const o=t[r];n[r]=bt(o)?o.map(e):e(o)}return n}const Yr=()=>{},bt=Array.isArray,Vf=/#/g,Zm=/&/g,eg=/\//g,tg=/=/g,ng=/\?/g,Mf=/\+/g,rg=/%5B/g,og=/%5D/g,Rf=/%5E/g,sg=/%60/g,$f=/%7B/g,ig=/%7C/g,Bf=/%7D/g,ag=/%20/g;function ga(e){return encodeURI(""+e).replace(ig,"|").replace(rg,"[").replace(og,"]")}function lg(e){return ga(e).replace($f,"{").replace(Bf,"}").replace(Rf,"^")}function Si(e){return ga(e).replace(Mf,"%2B").replace(ag,"+").replace(Vf,"%23").replace(Zm,"%26").replace(sg,"`").replace($f,"{").replace(Bf,"}").replace(Rf,"^")}function cg(e){return Si(e).replace(tg,"%3D")}function ug(e){return ga(e).replace(Vf,"%23").replace(ng,"%3F")}function fg(e){return e==null?"":ug(e).replace(eg,"%2F")}function _r(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const dg=/\/$/,pg=e=>e.replace(dg,"");function Hs(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=gg(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:_r(i)}}function hg(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Rl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function vg(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Ln(t.matched[r],n.matched[o])&&Nf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ln(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Nf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!mg(e[n],t[n]))return!1;return!0}function mg(e,t){return bt(e)?$l(e,t):bt(t)?$l(t,e):e===t}function $l(e,t){return bt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function gg(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}const Qt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var io;(function(e){e.pop="pop",e.push="push"})(io||(io={}));var Qr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Qr||(Qr={}));function _g(e){if(!e)if(Xt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),pg(e)}const bg=/^[^#]+#/;function yg(e,t){return e.replace(bg,"#")+t}function kg(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const ms=()=>({left:window.scrollX,top:window.scrollY});function wg(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=kg(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Bl(e,t){return(history.state?history.state.position-t:-1)+e}const Pi=new Map;function Sg(e,t){Pi.set(e,t)}function Pg(e){const t=Pi.get(e);return Pi.delete(e),t}let xg=()=>location.protocol+"//"+location.host;function jf(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),Rl(l,"")}return Rl(n,e)+r+o}function Tg(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const p=jf(e,location),v=n.value,m=t.value;let k=0;if(d){if(n.value=p,t.value=d,i&&i===v){i=null;return}k=m?d.position-m.position:0}else r(p);o.forEach(S=>{S(n.value,v,{delta:k,type:io.pop,direction:k?k>0?Qr.forward:Qr.back:Qr.unknown})})};function l(){i=n.value}function c(d){o.push(d);const p=()=>{const v=o.indexOf(d);v>-1&&o.splice(v,1)};return s.push(p),p}function u(){const{history:d}=window;d.state&&d.replaceState(Se({},d.state,{scroll:ms()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:f}}function Nl(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?ms():null}}function Cg(e){const{history:t,location:n}=window,r={value:jf(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:xg()+e+l;try{t[u?"replaceState":"pushState"](c,"",d),o.value=c}catch(p){console.error(p),n[u?"replace":"assign"](d)}}function i(l,c){const u=Se({},t.state,Nl(o.value.back,l,o.value.forward,!0),c,{position:o.value.position});s(l,u,!0),r.value=l}function a(l,c){const u=Se({},o.value,t.state,{forward:l,scroll:ms()});s(u.current,u,!0);const f=Se({},Nl(r.value,l,null),{position:u.position+1},c);s(l,f,!1),r.value=l}return{location:r,state:o,push:a,replace:i}}function Lg(e){e=_g(e);const t=Cg(e),n=Tg(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=Se({location:"",base:e,go:r,createHref:yg.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Df(e){return typeof e=="string"||e&&typeof e=="object"}function Hf(e){return typeof e=="string"||typeof e=="symbol"}const Ff=Symbol("");var jl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(jl||(jl={}));function br(e,t){return Se(new Error,{type:e,[Ff]:!0},t)}function Kt(e,t){return e instanceof Error&&Ff in e&&(t==null||!!(e.type&t))}const Dl="[^/]+?",Eg={sensitive:!1,strict:!1,start:!0,end:!0},Og=/[.+*?^${}()[\]/\\]/g;function Ag(e,t){const n=Se({},Eg,t),r=[];let o=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let f=0;f<c.length;f++){const d=c[f];let p=40+(n.sensitive?.25:0);if(d.type===0)f||(o+="/"),o+=d.value.replace(Og,"\\$&"),p+=40;else if(d.type===1){const{value:v,repeatable:m,optional:k,regexp:S}=d;s.push({name:v,repeatable:m,optional:k});const L=S||Dl;if(L!==Dl){p+=10;try{new RegExp(`(${L})`)}catch(x){throw new Error(`Invalid custom RegExp for param "${v}" (${L}): `+x.message)}}let _=m?`((?:${L})(?:/(?:${L}))*)`:`(${L})`;f||(_=k&&c.length<2?`(?:/${_})`:"/"+_),k&&(_+="?"),o+=_,p+=20,k&&(p+=-8),m&&(p+=-20),L===".*"&&(p+=-50)}u.push(p)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function a(c){const u=c.match(i),f={};if(!u)return null;for(let d=1;d<u.length;d++){const p=u[d]||"",v=s[d-1];f[v.name]=p&&v.repeatable?p.split("/"):p}return f}function l(c){let u="",f=!1;for(const d of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const p of d)if(p.type===0)u+=p.value;else if(p.type===1){const{value:v,repeatable:m,optional:k}=p,S=v in c?c[v]:"";if(bt(S)&&!m)throw new Error(`Provided param "${v}" is an array but it is not repeatable (* or + modifiers)`);const L=bt(S)?S.join("/"):S;if(!L)if(k)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${v}"`);u+=L}}return u||"/"}return{re:i,score:r,keys:s,parse:a,stringify:l}}function Ig(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Uf(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=Ig(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(Hl(r))return 1;if(Hl(o))return-1}return o.length-r.length}function Hl(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Vg={type:0,value:""},Mg=/[a-zA-Z0-9_]/;function Rg(e){if(!e)return[[]];if(e==="/")return[[Vg]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,l,c="",u="";function f(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&f(),i()):l===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:l==="("?n=2:Mg.test(l)?d():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),i(),o}function $g(e,t,n){const r=Ag(Rg(e.path),n),o=Se(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function Bg(e,t){const n=[],r=new Map;t=Wl({strict:!1,end:!0,sensitive:!1},t);function o(f){return r.get(f)}function s(f,d,p){const v=!p,m=Ul(f);m.aliasOf=p&&p.record;const k=Wl(t,f),S=[m];if("alias"in f){const x=typeof f.alias=="string"?[f.alias]:f.alias;for(const N of x)S.push(Ul(Se({},m,{components:p?p.record.components:m.components,path:N,aliasOf:p?p.record:m})))}let L,_;for(const x of S){const{path:N}=x;if(d&&N[0]!=="/"){const $=d.record.path,W=$[$.length-1]==="/"?"":"/";x.path=d.record.path+(N&&W+N)}if(L=$g(x,d,k),p?p.alias.push(L):(_=_||L,_!==L&&_.alias.push(L),v&&f.name&&!zl(L)&&i(f.name)),zf(L)&&l(L),m.children){const $=m.children;for(let W=0;W<$.length;W++)s($[W],L,p&&p.children[W])}p=p||L}return _?()=>{i(_)}:Yr}function i(f){if(Hf(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function a(){return n}function l(f){const d=Dg(f,n);n.splice(d,0,f),f.record.name&&!zl(f)&&r.set(f.record.name,f)}function c(f,d){let p,v={},m,k;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw br(1,{location:f});k=p.record.name,v=Se(Fl(d.params,p.keys.filter(_=>!_.optional).concat(p.parent?p.parent.keys.filter(_=>_.optional):[]).map(_=>_.name)),f.params&&Fl(f.params,p.keys.map(_=>_.name))),m=p.stringify(v)}else if(f.path!=null)m=f.path,p=n.find(_=>_.re.test(m)),p&&(v=p.parse(m),k=p.record.name);else{if(p=d.name?r.get(d.name):n.find(_=>_.re.test(d.path)),!p)throw br(1,{location:f,currentLocation:d});k=p.record.name,v=Se({},d.params,f.params),m=p.stringify(v)}const S=[];let L=p;for(;L;)S.unshift(L.record),L=L.parent;return{name:k,path:m,params:v,matched:S,meta:jg(S)}}e.forEach(f=>s(f));function u(){n.length=0,r.clear()}return{addRoute:s,resolve:c,removeRoute:i,clearRoutes:u,getRoutes:a,getRecordMatcher:o}}function Fl(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Ul(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Ng(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Ng(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function zl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function jg(e){return e.reduce((t,n)=>Se(t,n.meta),{})}function Wl(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Dg(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;Uf(e,t[s])<0?r=s:n=s+1}const o=Hg(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function Hg(e){let t=e;for(;t=t.parent;)if(zf(t)&&Uf(e,t)===0)return t}function zf({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Fg(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const s=r[o].replace(Mf," "),i=s.indexOf("="),a=_r(i<0?s:s.slice(0,i)),l=i<0?null:_r(s.slice(i+1));if(a in t){let c=t[a];bt(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function Gl(e){let t="";for(let n in e){const r=e[n];if(n=cg(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(bt(r)?r.map(s=>s&&Si(s)):[r&&Si(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function Ug(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=bt(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const zg=Symbol(""),ql=Symbol(""),gs=Symbol(""),_a=Symbol(""),xi=Symbol("");function Mr(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function kn(e,t,n,r,o,s=i=>i()){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const c=d=>{d===!1?l(br(4,{from:n,to:t})):d instanceof Error?l(d):Df(d)?l(br(2,{from:t,to:d})):(i&&r.enterCallbacks[o]===i&&typeof d=="function"&&i.push(d),a())},u=s(()=>e.call(r&&r.instances[o],t,n,c));let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch(d=>l(d))})}function Fs(e,t,n,r,o=s=>s()){const s=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(If(l)){const u=(l.__vccOpts||l)[t];u&&s.push(kn(u,n,r,i,a,o))}else{let c=l();s.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const f=Xm(u)?u.default:u;i.mods[a]=u,i.components[a]=f;const p=(f.__vccOpts||f)[t];return p&&kn(p,n,r,i,a,o)()}))}}return s}function Kl(e){const t=He(gs),n=He(_a),r=P(()=>{const l=nn(e.to);return t.resolve(l)}),o=P(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(Ln.bind(null,u));if(d>-1)return d;const p=Yl(l[c-2]);return c>1&&Yl(u)===p&&f[f.length-1].path!==p?f.findIndex(Ln.bind(null,l[c-2])):d}),s=P(()=>o.value>-1&&Kg(n.params,r.value.params)),i=P(()=>o.value>-1&&o.value===n.matched.length-1&&Nf(n.params,r.value.params));function a(l={}){return qg(l)?t[nn(e.replace)?"replace":"push"](nn(e.to)).catch(Yr):Promise.resolve()}if(Xt){const l=Tr();if(l){const c={route:r.value,isActive:s.value,isExactActive:i.value,error:null};l.__vrl_devtools=l.__vrl_devtools||[],l.__vrl_devtools.push(c),Gn(()=>{c.route=r.value,c.isActive=s.value,c.isExactActive=i.value,c.error=Df(nn(e.to))?null:'Invalid "to" value'},{flush:"post"})}}return{route:r,href:P(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}const Wg=R({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:Kl,setup(e,{slots:t}){const n=po(Kl(e)),{options:r}=He(gs),o=P(()=>({[Ql(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ql(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:ve("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),Gg=Wg;function qg(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Kg(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!bt(o)||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function Yl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ql=(e,t,n)=>e??t??n,Yg=R({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=He(xi),o=P(()=>e.route||r.value),s=He(ql,0),i=P(()=>{let c=nn(s);const{matched:u}=o.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=P(()=>o.value.matched[i.value]);sn(ql,P(()=>i.value+1)),sn(zg,a),sn(xi,o);const l=G();return me(()=>[l.value,a.value,e.name],([c,u,f],[d,p,v])=>{u&&(u.instances[f]=c,p&&p!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!Ln(u,p)||!d)&&(u.enterCallbacks[f]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return Jl(n.default,{Component:d,route:c});const p=f.props[u],v=p?p===!0?c.params:typeof p=="function"?p(c):p:null,k=ve(d,Se({},v,t,{onVnodeUnmounted:S=>{S.component.isUnmounted&&(f.instances[u]=null)},ref:l}));if(Xt&&k.ref){const S={depth:i.value,name:f.name,path:f.path,meta:f.meta};(bt(k.ref)?k.ref.map(_=>_.i):[k.ref.i]).forEach(_=>{_.__vrv_devtools=S})}return Jl(n.default,{Component:k,route:c})||k}}});function Jl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Qg=Yg;function Rr(e,t){const n=Se({},e,{matched:e.matched.map(r=>a_(r,["instances","children","aliasOf"]))});return{_custom:{type:null,readOnly:!0,display:e.fullPath,tooltip:t,value:n}}}function Lo(e){return{_custom:{display:e}}}let Jg=0;function Xg(e,t,n){if(t.__hasDevtools)return;t.__hasDevtools=!0;const r=Jg++;Jm({id:"org.vuejs.router"+(r?"."+r:""),label:"Vue Router",packageName:"vue-router",homepage:"https://router.vuejs.org",logo:"https://router.vuejs.org/logo.png",componentStateTypes:["Routing"],app:e},o=>{typeof o.now!="function"&&console.warn("[Vue Router]: You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),o.on.inspectComponent((u,f)=>{u.instanceData&&u.instanceData.state.push({type:"Routing",key:"$route",editable:!1,value:Rr(t.currentRoute.value,"Current Route")})}),o.on.visitComponentTree(({treeNode:u,componentInstance:f})=>{if(f.__vrv_devtools){const d=f.__vrv_devtools;u.tags.push({label:(d.name?`${d.name.toString()}: `:"")+d.path,textColor:0,tooltip:"This component is rendered by <router-view>",backgroundColor:Wf})}bt(f.__vrl_devtools)&&(f.__devtoolsApi=o,f.__vrl_devtools.forEach(d=>{let p=d.route.path,v=Kf,m="",k=0;d.error?(p=d.error,v=r_,k=o_):d.isExactActive?(v=qf,m="This is exactly active"):d.isActive&&(v=Gf,m="This link is active"),u.tags.push({label:p,textColor:k,tooltip:m,backgroundColor:v})}))}),me(t.currentRoute,()=>{l(),o.notifyComponentUpdate(),o.sendInspectorTree(a),o.sendInspectorState(a)});const s="router:navigations:"+r;o.addTimelineLayer({id:s,label:`Router${r?" "+r:""} Navigations`,color:4237508}),t.onError((u,f)=>{o.addTimelineEvent({layerId:s,event:{title:"Error during Navigation",subtitle:f.fullPath,logType:"error",time:o.now(),data:{error:u},groupId:f.meta.__navigationId}})});let i=0;t.beforeEach((u,f)=>{const d={guard:Lo("beforeEach"),from:Rr(f,"Current Location during this navigation"),to:Rr(u,"Target location")};Object.defineProperty(u.meta,"__navigationId",{value:i++}),o.addTimelineEvent({layerId:s,event:{time:o.now(),title:"Start of navigation",subtitle:u.fullPath,data:d,groupId:u.meta.__navigationId}})}),t.afterEach((u,f,d)=>{const p={guard:Lo("afterEach")};d?(p.failure={_custom:{type:Error,readOnly:!0,display:d?d.message:"",tooltip:"Navigation Failure",value:d}},p.status=Lo("❌")):p.status=Lo("✅"),p.from=Rr(f,"Current Location during this navigation"),p.to=Rr(u,"Target location"),o.addTimelineEvent({layerId:s,event:{title:"End of navigation",subtitle:u.fullPath,time:o.now(),data:p,logType:d?"warning":"default",groupId:u.meta.__navigationId}})});const a="router-inspector:"+r;o.addInspector({id:a,label:"Routes"+(r?" "+r:""),icon:"book",treeFilterPlaceholder:"Search routes"});function l(){if(!c)return;const u=c;let f=n.getRoutes().filter(d=>!d.parent||!d.parent.record.components);f.forEach(Jf),u.filter&&(f=f.filter(d=>Ti(d,u.filter.toLowerCase()))),f.forEach(d=>Qf(d,t.currentRoute.value)),u.rootNodes=f.map(Yf)}let c;o.on.getInspectorTree(u=>{c=u,u.app===e&&u.inspectorId===a&&l()}),o.on.getInspectorState(u=>{if(u.app===e&&u.inspectorId===a){const d=n.getRoutes().find(p=>p.record.__vd_id===u.nodeId);d&&(u.state={options:e_(d)})}}),o.sendInspectorTree(a),o.sendInspectorState(a)})}function Zg(e){return e.optional?e.repeatable?"*":"?":e.repeatable?"+":""}function e_(e){const{record:t}=e,n=[{editable:!1,key:"path",value:t.path}];return t.name!=null&&n.push({editable:!1,key:"name",value:t.name}),n.push({editable:!1,key:"regexp",value:e.re}),e.keys.length&&n.push({editable:!1,key:"keys",value:{_custom:{type:null,readOnly:!0,display:e.keys.map(r=>`${r.name}${Zg(r)}`).join(" "),tooltip:"Param keys",value:e.keys}}}),t.redirect!=null&&n.push({editable:!1,key:"redirect",value:t.redirect}),e.alias.length&&n.push({editable:!1,key:"aliases",value:e.alias.map(r=>r.record.path)}),Object.keys(e.record.meta).length&&n.push({editable:!1,key:"meta",value:e.record.meta}),n.push({key:"score",editable:!1,value:{_custom:{type:null,readOnly:!0,display:e.score.map(r=>r.join(", ")).join(" | "),tooltip:"Score used to sort routes",value:e.score}}}),n}const Wf=15485081,Gf=2450411,qf=8702998,t_=2282478,Kf=16486972,n_=6710886,r_=16704226,o_=12131356;function Yf(e){const t=[],{record:n}=e;n.name!=null&&t.push({label:String(n.name),textColor:0,backgroundColor:t_}),n.aliasOf&&t.push({label:"alias",textColor:0,backgroundColor:Kf}),e.__vd_match&&t.push({label:"matches",textColor:0,backgroundColor:Wf}),e.__vd_exactActive&&t.push({label:"exact",textColor:0,backgroundColor:qf}),e.__vd_active&&t.push({label:"active",textColor:0,backgroundColor:Gf}),n.redirect&&t.push({label:typeof n.redirect=="string"?`redirect: ${n.redirect}`:"redirects",textColor:16777215,backgroundColor:n_});let r=n.__vd_id;return r==null&&(r=String(s_++),n.__vd_id=r),{id:r,label:n.path,tags:t,children:e.children.map(Yf)}}let s_=0;const i_=/^\/(.*)\/([a-z]*)$/;function Qf(e,t){const n=t.matched.length&&Ln(t.matched[t.matched.length-1],e.record);e.__vd_exactActive=e.__vd_active=n,n||(e.__vd_active=t.matched.some(r=>Ln(r,e.record))),e.children.forEach(r=>Qf(r,t))}function Jf(e){e.__vd_match=!1,e.children.forEach(Jf)}function Ti(e,t){const n=String(e.re).match(i_);if(e.__vd_match=!1,!n||n.length<3)return!1;if(new RegExp(n[1].replace(/\$$/,""),n[2]).test(t))return e.children.forEach(i=>Ti(i,t)),e.record.path!=="/"||t==="/"?(e.__vd_match=e.re.test(t),!0):!1;const o=e.record.path.toLowerCase(),s=_r(o);return!t.startsWith("/")&&(s.includes(t)||o.includes(t))||s.startsWith(t)||o.startsWith(t)||e.record.name&&String(e.record.name).includes(t)?!0:e.children.some(i=>Ti(i,t))}function a_(e,t){const n={};for(const r in e)t.includes(r)||(n[r]=e[r]);return n}function l_(e){const t=Bg(e.routes,e),n=e.parseQuery||Fg,r=e.stringifyQuery||Gl,o=e.history,s=Mr(),i=Mr(),a=Mr(),l=nt(Qt);let c=Qt;Xt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ds.bind(null,V=>""+V),f=Ds.bind(null,fg),d=Ds.bind(null,_r);function p(V,te){let J,ae;return Hf(V)?(J=t.getRecordMatcher(V),ae=te):ae=V,t.addRoute(ae,J)}function v(V){const te=t.getRecordMatcher(V);te&&t.removeRoute(te)}function m(){return t.getRoutes().map(V=>V.record)}function k(V){return!!t.getRecordMatcher(V)}function S(V,te){if(te=Se({},te||l.value),typeof V=="string"){const w=Hs(n,V,te.path),O=t.resolve({path:w.path},te),j=o.createHref(w.fullPath);return Se(w,O,{params:d(O.params),hash:_r(w.hash),redirectedFrom:void 0,href:j})}let J;if(V.path!=null)J=Se({},V,{path:Hs(n,V.path,te.path).path});else{const w=Se({},V.params);for(const O in w)w[O]==null&&delete w[O];J=Se({},V,{params:f(w)}),te.params=f(te.params)}const ae=t.resolve(J,te),ke=V.hash||"";ae.params=u(d(ae.params));const Ce=hg(r,Se({},V,{hash:lg(ke),path:ae.path})),g=o.createHref(Ce);return Se({fullPath:Ce,hash:ke,query:r===Gl?Ug(V.query):V.query||{}},ae,{redirectedFrom:void 0,href:g})}function L(V){return typeof V=="string"?Hs(n,V,l.value.path):Se({},V)}function _(V,te){if(c!==V)return br(8,{from:te,to:V})}function x(V){return W(V)}function N(V){return x(Se(L(V),{replace:!0}))}function $(V){const te=V.matched[V.matched.length-1];if(te&&te.redirect){const{redirect:J}=te;let ae=typeof J=="function"?J(V):J;return typeof ae=="string"&&(ae=ae.includes("?")||ae.includes("#")?ae=L(ae):{path:ae},ae.params={}),Se({query:V.query,hash:V.hash,params:ae.path!=null?{}:V.params},ae)}}function W(V,te){const J=c=S(V),ae=l.value,ke=V.state,Ce=V.force,g=V.replace===!0,w=$(J);if(w)return W(Se(L(w),{state:typeof w=="object"?Se({},ke,w.state):ke,force:Ce,replace:g}),te||J);const O=J;O.redirectedFrom=te;let j;return!Ce&&vg(r,ae,J)&&(j=br(16,{to:O,from:ae}),yt(ae,ae,!0,!1)),(j?Promise.resolve(j):A(O,ae)).catch(M=>Kt(M)?Kt(M,2)?M:lt(M):le(M,O,ae)).then(M=>{if(M){if(Kt(M,2))return W(Se({replace:g},L(M.to),{state:typeof M.to=="object"?Se({},ke,M.to.state):ke,force:Ce}),te||O)}else M=F(O,ae,!0,g,ke);return q(O,ae,M),M})}function re(V,te){const J=_(V,te);return J?Promise.reject(J):Promise.resolve()}function H(V){const te=Gt.values().next().value;return te&&typeof te.runWithContext=="function"?te.runWithContext(V):V()}function A(V,te){let J;const[ae,ke,Ce]=c_(V,te);J=Fs(ae.reverse(),"beforeRouteLeave",V,te);for(const w of ae)w.leaveGuards.forEach(O=>{J.push(kn(O,V,te))});const g=re.bind(null,V,te);return J.push(g),Je(J).then(()=>{J=[];for(const w of s.list())J.push(kn(w,V,te));return J.push(g),Je(J)}).then(()=>{J=Fs(ke,"beforeRouteUpdate",V,te);for(const w of ke)w.updateGuards.forEach(O=>{J.push(kn(O,V,te))});return J.push(g),Je(J)}).then(()=>{J=[];for(const w of Ce)if(w.beforeEnter)if(bt(w.beforeEnter))for(const O of w.beforeEnter)J.push(kn(O,V,te));else J.push(kn(w.beforeEnter,V,te));return J.push(g),Je(J)}).then(()=>(V.matched.forEach(w=>w.enterCallbacks={}),J=Fs(Ce,"beforeRouteEnter",V,te,H),J.push(g),Je(J))).then(()=>{J=[];for(const w of i.list())J.push(kn(w,V,te));return J.push(g),Je(J)}).catch(w=>Kt(w,8)?w:Promise.reject(w))}function q(V,te,J){a.list().forEach(ae=>H(()=>ae(V,te,J)))}function F(V,te,J,ae,ke){const Ce=_(V,te);if(Ce)return Ce;const g=te===Qt,w=Xt?history.state:{};J&&(ae||g?o.replace(V.fullPath,Se({scroll:g&&w&&w.scroll},ke)):o.push(V.fullPath,ke)),l.value=V,yt(V,te,J,g),lt()}let ie;function ge(){ie||(ie=o.listen((V,te,J)=>{if(!Mt.listening)return;const ae=S(V),ke=$(ae);if(ke){W(Se(ke,{replace:!0}),ae).catch(Yr);return}c=ae;const Ce=l.value;Xt&&Sg(Bl(Ce.fullPath,J.delta),ms()),A(ae,Ce).catch(g=>Kt(g,12)?g:Kt(g,2)?(W(g.to,ae).then(w=>{Kt(w,20)&&!J.delta&&J.type===io.pop&&o.go(-1,!1)}).catch(Yr),Promise.reject()):(J.delta&&o.go(-J.delta,!1),le(g,ae,Ce))).then(g=>{g=g||F(ae,Ce,!1),g&&(J.delta&&!Kt(g,8)?o.go(-J.delta,!1):J.type===io.pop&&Kt(g,20)&&o.go(-1,!1)),q(ae,Ce,g)}).catch(Yr)}))}let Te=Mr(),se=Mr(),pe;function le(V,te,J){lt(V);const ae=se.list();return ae.length?ae.forEach(ke=>ke(V,te,J)):console.error(V),Promise.reject(V)}function we(){return pe&&l.value!==Qt?Promise.resolve():new Promise((V,te)=>{Te.add([V,te])})}function lt(V){return pe||(pe=!V,ge(),Te.list().forEach(([te,J])=>V?J(V):te()),Te.reset()),V}function yt(V,te,J,ae){const{scrollBehavior:ke}=e;if(!Xt||!ke)return Promise.resolve();const Ce=!J&&Pg(Bl(V.fullPath,0))||(ae||!J)&&history.state&&history.state.scroll||null;return Vt().then(()=>ke(V,te,Ce)).then(g=>g&&wg(g)).catch(g=>le(g,V,te))}const We=V=>o.go(V);let pt;const Gt=new Set,Mt={currentRoute:l,listening:!0,addRoute:p,removeRoute:v,clearRoutes:t.clearRoutes,hasRoute:k,getRoutes:m,resolve:S,options:e,push:x,replace:N,go:We,back:()=>We(-1),forward:()=>We(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:se.add,isReady:we,install(V){const te=this;V.component("RouterLink",Gg),V.component("RouterView",Qg),V.config.globalProperties.$router=te,Object.defineProperty(V.config.globalProperties,"$route",{enumerable:!0,get:()=>nn(l)}),Xt&&!pt&&l.value===Qt&&(pt=!0,x(o.location).catch(ke=>{}));const J={};for(const ke in Qt)Object.defineProperty(J,ke,{get:()=>l.value[ke],enumerable:!0});V.provide(gs,te),V.provide(_a,Su(J)),V.provide(xi,l);const ae=V.unmount;Gt.add(V),V.unmount=function(){Gt.delete(V),Gt.size<1&&(c=Qt,ie&&ie(),ie=null,l.value=Qt,pt=!1,pe=!1),ae()},Xt&&Xg(V,te,t)}};function Je(V){return V.reduce((te,J)=>te.then(()=>H(J)),Promise.resolve())}return Mt}function c_(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;i<s;i++){const a=t.matched[i];a&&(e.matched.find(c=>Ln(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>Ln(c,l))||o.push(l))}return[n,r,o]}function Cr(){return He(gs)}function at(e){return He(_a)}var ba=Symbol(""),dn=()=>{const e=He(ba);if(!e)throw new Error("useClientData() is called without provider.");return e},Xf=()=>dn().pageComponent,ya=()=>dn().pageData,ka=()=>dn().pageFrontmatter,u_=()=>dn().pageHead,Lr=()=>dn().pageLang,f_=()=>dn().pageLayout,On=()=>dn().routeLocale,d_=()=>dn().routePath,p_=()=>dn().siteLocaleData,h_=Symbol(""),Ci=nt(Fm),dr=nt(Um),Zf=(e,t)=>{const n=Vm(e,t);if(dr.value[n])return n;const r=encodeURI(n);if(dr.value[r])return r;const o=Ci.value[n]||Ci.value[r];return o||n},yr=(e,t)=>{const{pathname:n,hashAndQueries:r}=Lf(e),o=Zf(n,t),s=o+r;return dr.value[o]?{...dr.value[o],path:s,notFound:!1}:{...dr.value["/404.html"],path:s,notFound:!0}},An=(e,t)=>{const{pathname:n,hashAndQueries:r}=Lf(e);return Zf(n,t)+r},v_=e=>{if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget){const t=e.currentTarget.getAttribute("target");if(t!=null&&t.match(/\b_blank\b/i))return}return e.preventDefault(),!0}},m_=R({name:"RouteLink",props:{to:{type:String,required:!0},active:Boolean,activeClass:{type:String,default:"route-link-active"}},slots:Object,setup(e,{slots:t}){const n=Cr(),r=at(),o=P(()=>e.to.startsWith("#")||e.to.startsWith("?")?e.to:`/${An(e.to,r.path).substring(1)}`);return()=>ve("a",{class:["route-link",{[e.activeClass]:e.active}],href:o.value,onClick:(s={})=>{v_(s)&&n.push(e.to).catch()}},t.default())}}),g_=R({name:"ClientOnly",setup(e,t){const n=G(!1);return Re(()=>{n.value=!0}),()=>{var r,o;return n.value?(o=(r=t.slots).default)==null?void 0:o.call(r):null}}}),ed=R({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=Xf(),n=P(()=>{if(!e.path)return t.value;const r=yr(e.path);return ua(async()=>r.loader().then(({comp:o})=>o))});return()=>ve(n.value)}}),__="Layout",b_="en-US",Bn=po({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageHead:(e,t,n)=>{const r=Ot(t.description)?t.description:n.description,o=[...Array.isArray(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:r}]];return jm(o)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:(e,t)=>e.lang||t.lang||b_,resolvePageLayout:(e,t)=>{const n=Ot(e.frontmatter.layout)?e.frontmatter.layout:__;if(!t[n])throw new Error(`[vuepress] Cannot resolve layout: ${n}`);return t[n]},resolveRouteLocale:(e,t)=>Mm(e,decodeURI(t)),resolveSiteLocaleData:({base:e,locales:t,...n},r)=>{var o;return{...n,...t[r],head:[...((o=t[r])==null?void 0:o.head)??[],...n.head]}}}),qn=(e={})=>e,ut=e=>It(e)?e:`/${ma(e)}`,y_={};const k_=Object.freeze(Object.defineProperty({__proto__:null,default:y_},Symbol.toStringTag,{value:"Module"}));var Fo=[];function w_(e){Fo.push(e),zt(()=>{Fo=Fo.filter(t=>t!==e)})}function Us(e){Fo.forEach(t=>t(e))}var S_=R({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=Xf(),n=P(()=>{if(!e.path)return t.value;const r=yr(e.path);return ua(()=>r.loader().then(({comp:o})=>o))});return()=>ve(n.value,{onVnodeMounted:()=>Us({mounted:!0}),onVnodeUpdated:()=>Us({updated:!0}),onVnodeBeforeUnmount:()=>Us({beforeUnmount:!0})})}}),P_=qn({enhance({app:e}){e._context.components.Content&&delete e._context.components.Content,e.component("Content",S_)}});const x_=Object.freeze(Object.defineProperty({__proto__:null,default:P_},Symbol.toStringTag,{value:"Module"}));function In(e){return lu()?(Jp(e),!0):!1}function Ne(e){return typeof e=="function"?e():nn(e)}const go=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const T_=e=>e!=null,C_=Object.prototype.toString,L_=e=>C_.call(e)==="[object Object]",Ht=()=>{},E_=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Li=O_();function O_(){var e,t;return go&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function td(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}const nd=e=>e();function A_(e,t={}){let n,r,o=Ht;const s=a=>{clearTimeout(a),o(),o=Ht};return a=>{const l=Ne(e),c=Ne(t.maxWait);return n&&s(n),l<=0||c!==void 0&&c<=0?(r&&(s(r),r=null),Promise.resolve(a())):new Promise((u,f)=>{o=t.rejectOnCancel?f:u,c&&!r&&(r=setTimeout(()=>{n&&s(n),r=null,u(a())},c)),n=setTimeout(()=>{r&&s(r),r=null,u(a())},l)})}}function I_(...e){let t=0,n,r=!0,o=Ht,s,i,a,l,c;!$e(e[0])&&typeof e[0]=="object"?{delay:i,trailing:a=!0,leading:l=!0,rejectOnCancel:c=!1}=e[0]:[i,a=!0,l=!0,c=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,o(),o=Ht)};return d=>{const p=Ne(i),v=Date.now()-t,m=()=>s=d();return u(),p<=0?(t=Date.now(),m()):(v>p&&(l||!r)?(t=Date.now(),m()):a&&(s=new Promise((k,S)=>{o=c?S:k,n=setTimeout(()=>{t=Date.now(),r=!0,k(m()),u()},Math.max(0,p-v))})),!l&&!n&&(n=setTimeout(()=>r=!0,p)),r=!1,s)}}function V_(e=nd){const t=G(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...s)=>{t.value&&e(...s)};return{isActive:Pr(t),pause:n,resume:r,eventFilter:o}}function M_(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function R_(e){return Tr()}function rd(...e){if(e.length!==1)return zn(...e);const t=e[0];return typeof t=="function"?Pr(sa(()=>({get:t,set:Ht}))):G(t)}function $_(e,t=200,n=!1,r=!0,o=!1){return td(I_(t,n,r,o),e)}function od(e,t,n={}){const{eventFilter:r=nd,...o}=n;return me(e,td(r,t),o)}function B_(e,t,n={}){const{eventFilter:r,...o}=n,{eventFilter:s,pause:i,resume:a,isActive:l}=V_(r);return{stop:od(e,t,{...o,eventFilter:s}),pause:i,resume:a,isActive:l}}function _s(e,t=!0,n){R_()?Re(e,n):t?e():Vt(e)}function N_(e,t,n={}){const{immediate:r=!0}=n,o=G(!1);let s=null;function i(){s&&(clearTimeout(s),s=null)}function a(){o.value=!1,i()}function l(...c){i(),o.value=!0,s=setTimeout(()=>{o.value=!1,s=null,e(...c)},Ne(t))}return r&&(o.value=!0,go&&l()),In(a),{isPending:Pr(o),start:l,stop:a}}function sd(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=$e(e),s=G(e);function i(a){if(arguments.length)return s.value=a,s.value;{const l=Ne(n);return s.value=s.value===l?Ne(r):l,s.value}}return o?i:[s,i]}function j_(e,t,n={}){const{debounce:r=0,maxWait:o=void 0,...s}=n;return od(e,t,{...s,eventFilter:A_(r,{maxWait:o})})}function KP(e,t,n){let r;$e(n)?r={evaluating:n}:r={};const{lazy:o=!1,evaluating:s=void 0,shallow:i=!0,onError:a=Ht}=r,l=G(!o),c=i?nt(t):G(t);let u=0;return Gn(async f=>{if(!l.value)return;u++;const d=u;let p=!1;s&&Promise.resolve().then(()=>{s.value=!0});try{const v=await e(m=>{f(()=>{s&&(s.value=!1),p||m()})});d===u&&(c.value=v)}catch(v){a(v)}finally{s&&d===u&&(s.value=!1),p=!0}}),o?P(()=>(l.value=!0,c.value)):c}const rt=go?window:void 0,D_=go?window.document:void 0,id=go?window.navigator:void 0;function tt(e){var t;const n=Ne(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Ke(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=rt):[t,n,r,o]=e,!t)return Ht;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],i=()=>{s.forEach(u=>u()),s.length=0},a=(u,f,d,p)=>(u.addEventListener(f,d,p),()=>u.removeEventListener(f,d,p)),l=me(()=>[tt(t),Ne(o)],([u,f])=>{if(i(),!u)return;const d=L_(f)?{...f}:f;s.push(...n.flatMap(p=>r.map(v=>a(u,p,v,d))))},{immediate:!0,flush:"post"}),c=()=>{l(),i()};return In(c),c}let Xl=!1;function ad(e,t,n={}){const{window:r=rt,ignore:o=[],capture:s=!0,detectIframe:i=!1}=n;if(!r)return Ht;Li&&!Xl&&(Xl=!0,Array.from(r.document.body.children).forEach(p=>p.addEventListener("click",Ht)),r.document.documentElement.addEventListener("click",Ht));let a=!0;const l=p=>Ne(o).some(v=>{if(typeof v=="string")return Array.from(r.document.querySelectorAll(v)).some(m=>m===p.target||p.composedPath().includes(m));{const m=tt(v);return m&&(p.target===m||p.composedPath().includes(m))}}),c=p=>{const v=tt(e);if(!(!v||v===p.target||p.composedPath().includes(v))){if(p.detail===0&&(a=!l(p)),!a){a=!0;return}t(p)}};let u=!1;const f=[Ke(r,"click",p=>{u||(u=!0,setTimeout(()=>{u=!1},0),c(p))},{passive:!0,capture:s}),Ke(r,"pointerdown",p=>{const v=tt(e);a=!l(p)&&!!(v&&!p.composedPath().includes(v))},{passive:!0}),i&&Ke(r,"blur",p=>{setTimeout(()=>{var v;const m=tt(e);((v=r.document.activeElement)==null?void 0:v.tagName)==="IFRAME"&&!(m!=null&&m.contains(r.document.activeElement))&&t(p)},0)})].filter(Boolean);return()=>f.forEach(p=>p())}function H_(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Zl(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:o=rt,eventName:s="keydown",passive:i=!1,dedupe:a=!1}=r,l=H_(t);return Ke(o,s,u=>{u.repeat&&Ne(a)||l(u)&&n(u)},i)}function F_(){const e=G(!1),t=Tr();return t&&Re(()=>{e.value=!0},t),e}function Er(e){const t=F_();return P(()=>(t.value,!!e()))}function U_(e,t,n={}){const{window:r=rt,...o}=n;let s;const i=Er(()=>r&&"MutationObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},l=P(()=>{const d=Ne(e),p=(Array.isArray(d)?d:[d]).map(tt).filter(T_);return new Set(p)}),c=me(()=>l.value,d=>{a(),i.value&&d.size&&(s=new MutationObserver(t),d.forEach(p=>s.observe(p,o)))},{immediate:!0,flush:"post"}),u=()=>s==null?void 0:s.takeRecords(),f=()=>{c(),a()};return In(f),{isSupported:i,stop:f,takeRecords:u}}function Ft(e,t={}){const{window:n=rt}=t,r=Er(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const s=G(!1),i=c=>{s.value=c.matches},a=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",i):o.removeListener(i))},l=Gn(()=>{r.value&&(a(),o=n.matchMedia(Ne(e)),"addEventListener"in o?o.addEventListener("change",i):o.addListener(i),s.value=o.matches)});return In(()=>{l(),a(),o=void 0}),s}function ec(e,t={}){const{controls:n=!1,navigator:r=id}=t,o=Er(()=>r&&"permissions"in r),s=nt(),i=typeof e=="string"?{name:e}:e,a=nt(),l=()=>{var u,f;a.value=(f=(u=s.value)==null?void 0:u.state)!=null?f:"prompt"};Ke(s,"change",l);const c=M_(async()=>{if(o.value){if(!s.value)try{s.value=await r.permissions.query(i)}catch{s.value=void 0}finally{l()}if(n)return be(s.value)}});return c(),n?{state:a,isSupported:o,query:c}:a}function z_(e={}){const{navigator:t=id,read:n=!1,source:r,copiedDuring:o=1500,legacy:s=!1}=e,i=Er(()=>t&&"clipboard"in t),a=ec("clipboard-read"),l=ec("clipboard-write"),c=P(()=>i.value||s),u=G(""),f=G(!1),d=N_(()=>f.value=!1,o);function p(){i.value&&S(a.value)?t.clipboard.readText().then(L=>{u.value=L}):u.value=k()}c.value&&n&&Ke(["copy","cut"],p);async function v(L=Ne(r)){c.value&&L!=null&&(i.value&&S(l.value)?await t.clipboard.writeText(L):m(L),u.value=L,f.value=!0,d.start())}function m(L){const _=document.createElement("textarea");_.value=L??"",_.style.position="absolute",_.style.opacity="0",document.body.appendChild(_),_.select(),document.execCommand("copy"),_.remove()}function k(){var L,_,x;return(x=(_=(L=document==null?void 0:document.getSelection)==null?void 0:L.call(document))==null?void 0:_.toString())!=null?x:""}function S(L){return L==="granted"||L==="prompt"}return{isSupported:c,text:u,copied:f,copy:v}}const Eo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Oo="__vueuse_ssr_handlers__",W_=G_();function G_(){return Oo in Eo||(Eo[Oo]=Eo[Oo]||{}),Eo[Oo]}function ld(e,t){return W_[e]||t}function cd(e){return Ft("(prefers-color-scheme: dark)",e)}function q_(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const K_={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},tc="vueuse-storage";function _o(e,t,n,r={}){var o;const{flush:s="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=rt,eventFilter:d,onError:p=A=>{console.error(A)},initOnMounted:v}=r,m=(u?nt:G)(typeof t=="function"?t():t);if(!n)try{n=ld("getDefaultStorage",()=>{var A;return(A=rt)==null?void 0:A.localStorage})()}catch(A){p(A)}if(!n)return m;const k=Ne(t),S=q_(k),L=(o=r.serializer)!=null?o:K_[S],{pause:_,resume:x}=B_(m,()=>$(m.value),{flush:s,deep:i,eventFilter:d});f&&a&&_s(()=>{n instanceof Storage?Ke(f,"storage",re):Ke(f,tc,H),v&&re()}),v||re();function N(A,q){if(f){const F={key:e,oldValue:A,newValue:q,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",F):new CustomEvent(tc,{detail:F}))}}function $(A){try{const q=n.getItem(e);if(A==null)N(q,null),n.removeItem(e);else{const F=L.write(A);q!==F&&(n.setItem(e,F),N(q,F))}}catch(q){p(q)}}function W(A){const q=A?A.newValue:n.getItem(e);if(q==null)return l&&k!=null&&n.setItem(e,L.write(k)),k;if(!A&&c){const F=L.read(q);return typeof c=="function"?c(F,k):S==="object"&&!Array.isArray(F)?{...k,...F}:F}else return typeof q!="string"?q:L.read(q)}function re(A){if(!(A&&A.storageArea!==n)){if(A&&A.key==null){m.value=k;return}if(!(A&&A.key!==e)){_();try{(A==null?void 0:A.newValue)!==L.write(m.value)&&(m.value=W(A))}catch(q){p(q)}finally{A?Vt(x):x()}}}}function H(A){re(A.detail)}return m}const Y_="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Q_(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=rt,storage:s,storageKey:i="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:l,emitAuto:c,disableTransition:u=!0}=e,f={auto:"",light:"light",dark:"dark",...e.modes||{}},d=cd({window:o}),p=P(()=>d.value?"dark":"light"),v=l||(i==null?rd(r):_o(i,r,s,{window:o,listenToStorageChanges:a})),m=P(()=>v.value==="auto"?p.value:v.value),k=ld("updateHTMLAttrs",(x,N,$)=>{const W=typeof x=="string"?o==null?void 0:o.document.querySelector(x):tt(x);if(!W)return;const re=new Set,H=new Set;let A=null;if(N==="class"){const F=$.split(/\s/g);Object.values(f).flatMap(ie=>(ie||"").split(/\s/g)).filter(Boolean).forEach(ie=>{F.includes(ie)?re.add(ie):H.add(ie)})}else A={key:N,value:$};if(re.size===0&&H.size===0&&A===null)return;let q;u&&(q=o.document.createElement("style"),q.appendChild(document.createTextNode(Y_)),o.document.head.appendChild(q));for(const F of re)W.classList.add(F);for(const F of H)W.classList.remove(F);A&&W.setAttribute(A.key,A.value),u&&(o.getComputedStyle(q).opacity,document.head.removeChild(q))});function S(x){var N;k(t,n,(N=f[x])!=null?N:x)}function L(x){e.onChanged?e.onChanged(x,S):S(x)}me(m,L,{flush:"post",immediate:!0}),_s(()=>L(m.value));const _=P({get(){return c?v.value:m.value},set(x){v.value=x}});try{return Object.assign(_,{store:v,system:p,state:m})}catch{return _}}function J_(e,t,n={}){const{window:r=rt,initialValue:o,observe:s=!1}=n,i=G(o),a=P(()=>{var c;return tt(t)||((c=r==null?void 0:r.document)==null?void 0:c.documentElement)});function l(){var c;const u=Ne(e),f=Ne(a);if(f&&r&&u){const d=(c=r.getComputedStyle(f).getPropertyValue(u))==null?void 0:c.trim();i.value=d||o}}return s&&U_(a,l,{attributeFilter:["style","class"],window:r}),me([a,()=>Ne(e)],(c,u)=>{u[0]&&u[1]&&u[0].style.removeProperty(u[1]),l()},{immediate:!0}),me(i,c=>{var u;const f=Ne(e);(u=a.value)!=null&&u.style&&f&&(c==null?a.value.style.removeProperty(f):a.value.style.setProperty(f,c))}),i}function X_(e={}){const{valueDark:t="dark",valueLight:n="",window:r=rt}=e,o=Q_({...e,onChanged:(a,l)=>{var c;e.onChanged?(c=e.onChanged)==null||c.call(e,a==="dark",l,a):l(a)},modes:{dark:t,light:n}}),s=P(()=>o.system?o.system.value:cd({window:r}).value?"dark":"light");return P({get(){return o.value==="dark"},set(a){const l=a?"dark":"light";s.value===l?o.value="auto":o.value=l}})}function Z_(e,t,n={}){const{window:r=rt,...o}=n;let s;const i=Er(()=>r&&"ResizeObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},l=P(()=>{const f=Ne(e);return Array.isArray(f)?f.map(d=>tt(d)):[tt(f)]}),c=me(l,f=>{if(a(),i.value&&r){s=new ResizeObserver(t);for(const d of f)d&&s.observe(d,o)}},{immediate:!0,flush:"post"}),u=()=>{a(),c()};return In(u),{isSupported:i,stop:u}}function e0(e,t={width:0,height:0},n={}){const{window:r=rt,box:o="content-box"}=n,s=P(()=>{var f,d;return(d=(f=tt(e))==null?void 0:f.namespaceURI)==null?void 0:d.includes("svg")}),i=G(t.width),a=G(t.height),{stop:l}=Z_(e,([f])=>{const d=o==="border-box"?f.borderBoxSize:o==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(r&&s.value){const p=tt(e);if(p){const v=p.getBoundingClientRect();i.value=v.width,a.value=v.height}}else if(d){const p=Array.isArray(d)?d:[d];i.value=p.reduce((v,{inlineSize:m})=>v+m,0),a.value=p.reduce((v,{blockSize:m})=>v+m,0)}else i.value=f.contentRect.width,a.value=f.contentRect.height},n);_s(()=>{const f=tt(e);f&&(i.value="offsetWidth"in f?f.offsetWidth:t.width,a.value="offsetHeight"in f?f.offsetHeight:t.height)});const c=me(()=>tt(e),f=>{i.value=f?t.width:0,a.value=f?t.height:0});function u(){l(),c()}return{width:i,height:a,stop:u}}const nc=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function t0(e,t={}){const{document:n=D_,autoExit:r=!1}=t,o=P(()=>{var S;return(S=tt(e))!=null?S:n==null?void 0:n.querySelector("html")}),s=G(!1),i=P(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(S=>n&&S in n||o.value&&S in o.value)),a=P(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(S=>n&&S in n||o.value&&S in o.value)),l=P(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(S=>n&&S in n||o.value&&S in o.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(S=>n&&S in n),u=Er(()=>o.value&&n&&i.value!==void 0&&a.value!==void 0&&l.value!==void 0),f=()=>c?(n==null?void 0:n[c])===o.value:!1,d=()=>{if(l.value){if(n&&n[l.value]!=null)return n[l.value];{const S=o.value;if((S==null?void 0:S[l.value])!=null)return!!S[l.value]}}return!1};async function p(){if(!(!u.value||!s.value)){if(a.value)if((n==null?void 0:n[a.value])!=null)await n[a.value]();else{const S=o.value;(S==null?void 0:S[a.value])!=null&&await S[a.value]()}s.value=!1}}async function v(){if(!u.value||s.value)return;d()&&await p();const S=o.value;i.value&&(S==null?void 0:S[i.value])!=null&&(await S[i.value](),s.value=!0)}async function m(){await(s.value?p():v())}const k=()=>{const S=d();(!S||S&&f())&&(s.value=S)};return Ke(n,nc,k,!1),Ke(()=>tt(o),nc,k,!1),r&&In(p),{isSupported:u,isFullscreen:s,enter:v,exit:p,toggle:m}}function zs(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function n0(e,t,n={}){const{window:r=rt}=n;return _o(e,t,r==null?void 0:r.localStorage,n)}function ud(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!n||n.tagName==="BODY"?!1:ud(n)}}function r0(e){const t=e||window.event,n=t.target;return ud(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const Ws=new WeakMap;function wa(e,t=!1){const n=G(t);let r=null,o="";me(rd(e),a=>{const l=zs(Ne(a));if(l){const c=l;if(Ws.get(c)||Ws.set(c,c.style.overflow),c.style.overflow!=="hidden"&&(o=c.style.overflow),c.style.overflow==="hidden")return n.value=!0;if(n.value)return c.style.overflow="hidden"}},{immediate:!0});const s=()=>{const a=zs(Ne(e));!a||n.value||(Li&&(r=Ke(a,"touchmove",l=>{r0(l)},{passive:!1})),a.style.overflow="hidden",n.value=!0)},i=()=>{const a=zs(Ne(e));!a||!n.value||(Li&&(r==null||r()),a.style.overflow=o,Ws.delete(a),n.value=!1)};return In(i),P({get(){return n.value},set(a){a?s():i()}})}function fd(e,t,n={}){const{window:r=rt}=n;return _o(e,t,r==null?void 0:r.sessionStorage,n)}function Sa(e={}){const{window:t=rt,behavior:n="auto"}=e;if(!t)return{x:G(0),y:G(0)};const r=G(t.scrollX),o=G(t.scrollY),s=P({get(){return r.value},set(a){scrollTo({left:a,behavior:n})}}),i=P({get(){return o.value},set(a){scrollTo({top:a,behavior:n})}});return Ke(t,"scroll",()=>{r.value=t.scrollX,o.value=t.scrollY},{capture:!1,passive:!0}),{x:s,y:i}}function o0(e={}){const{window:t=rt,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:s=!0,type:i="inner"}=e,a=G(n),l=G(r),c=()=>{t&&(i==="outer"?(a.value=t.outerWidth,l.value=t.outerHeight):s?(a.value=t.innerWidth,l.value=t.innerHeight):(a.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};if(c(),_s(c),Ke("resize",c,{passive:!0}),o){const u=Ft("(orientation: portrait)");me(u,()=>c())}return{width:a,height:l}}var gt=Uint8Array,rr=Uint16Array,s0=Int32Array,dd=new gt([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),pd=new gt([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),i0=new gt([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),hd=function(e,t){for(var n=new rr(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];for(var o=new s0(n[30]),r=1;r<30;++r)for(var s=n[r];s<n[r+1];++s)o[s]=s-n[r]<<5|r;return{b:n,r:o}},vd=hd(dd,2),md=vd.b,a0=vd.r;md[28]=258,a0[258]=28;var l0=hd(pd,0),c0=l0.b,Ei=new rr(32768);for(var Me=0;Me<32768;++Me){var vn=(Me&43690)>>1|(Me&21845)<<1;vn=(vn&52428)>>2|(vn&13107)<<2,vn=(vn&61680)>>4|(vn&3855)<<4,Ei[Me]=((vn&65280)>>8|(vn&255)<<8)>>1}var Jr=function(e,t,n){for(var r=e.length,o=0,s=new rr(t);o<r;++o)e[o]&&++s[e[o]-1];var i=new rr(t);for(o=1;o<t;++o)i[o]=i[o-1]+s[o-1]<<1;var a;if(n){a=new rr(1<<t);var l=15-t;for(o=0;o<r;++o)if(e[o])for(var c=o<<4|e[o],u=t-e[o],f=i[e[o]-1]++<<u,d=f|(1<<u)-1;f<=d;++f)a[Ei[f]>>l]=c}else for(a=new rr(r),o=0;o<r;++o)e[o]&&(a[o]=Ei[i[e[o]-1]++]>>15-e[o]);return a},bo=new gt(288);for(var Me=0;Me<144;++Me)bo[Me]=8;for(var Me=144;Me<256;++Me)bo[Me]=9;for(var Me=256;Me<280;++Me)bo[Me]=7;for(var Me=280;Me<288;++Me)bo[Me]=8;var gd=new gt(32);for(var Me=0;Me<32;++Me)gd[Me]=5;var u0=Jr(bo,9,1),f0=Jr(gd,5,1),Gs=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},Lt=function(e,t,n){var r=t/8|0;return(e[r]|e[r+1]<<8)>>(t&7)&n},qs=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},d0=function(e){return(e+7)/8|0},_d=function(e,t,n){return(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length),new gt(e.subarray(t,n))},p0=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],St=function(e,t,n){var r=new Error(t||p0[e]);if(r.code=e,Error.captureStackTrace&&Error.captureStackTrace(r,St),!n)throw r;return r},h0=function(e,t,n,r){var o=e.length,s=0;if(!o||t.f&&!t.l)return n||new gt(0);var i=!n,a=i||t.i!=2,l=t.i;i&&(n=new gt(o*3));var c=function(ke){var Ce=n.length;if(ke>Ce){var g=new gt(Math.max(Ce*2,ke));g.set(n),n=g}},u=t.f||0,f=t.p||0,d=t.b||0,p=t.l,v=t.d,m=t.m,k=t.n,S=o*8;do{if(!p){u=Lt(e,f,1);var L=Lt(e,f+1,3);if(f+=3,L)if(L==1)p=u0,v=f0,m=9,k=5;else if(L==2){var $=Lt(e,f,31)+257,W=Lt(e,f+10,15)+4,re=$+Lt(e,f+5,31)+1;f+=14;for(var H=new gt(re),A=new gt(19),q=0;q<W;++q)A[i0[q]]=Lt(e,f+q*3,7);f+=W*3;for(var F=Gs(A),ie=(1<<F)-1,ge=Jr(A,F,1),q=0;q<re;){var Te=ge[Lt(e,f,ie)];f+=Te&15;var _=Te>>4;if(_<16)H[q++]=_;else{var se=0,pe=0;for(_==16?(pe=3+Lt(e,f,3),f+=2,se=H[q-1]):_==17?(pe=3+Lt(e,f,7),f+=3):_==18&&(pe=11+Lt(e,f,127),f+=7);pe--;)H[q++]=se}}var le=H.subarray(0,$),we=H.subarray($);m=Gs(le),k=Gs(we),p=Jr(le,m,1),v=Jr(we,k,1)}else St(1);else{var _=d0(f)+4,x=e[_-4]|e[_-3]<<8,N=_+x;if(N>o){l&&St(0);break}a&&c(d+x),n.set(e.subarray(_,N),d),t.b=d+=x,t.p=f=N*8,t.f=u;continue}if(f>S){l&&St(0);break}}a&&c(d+131072);for(var lt=(1<<m)-1,yt=(1<<k)-1,We=f;;We=f){var se=p[qs(e,f)<],pt=se>>4;if(f+=se&15,f>S){l&&St(0);break}if(se||St(2),pt<256)n[d++]=pt;else if(pt==256){We=f,p=null;break}else{var Gt=pt-254;if(pt>264){var q=pt-257,Mt=dd[q];Gt=Lt(e,f,(1<<Mt)-1)+md[q],f+=Mt}var Je=v[qs(e,f)&yt],V=Je>>4;Je||St(3),f+=Je&15;var we=c0[V];if(V>3){var Mt=pd[V];we+=qs(e,f)&(1<<Mt)-1,f+=Mt}if(f>S){l&&St(0);break}a&&c(d+131072);var te=d+Gt;if(d<we){var J=s-we,ae=Math.min(we,te);for(J+d<0&&St(3);d<ae;++d)n[d]=r[J+d]}for(;d<te;++d)n[d]=n[d-we]}}t.l=p,t.p=We,t.b=d,t.f=u,p&&(u=1,t.m=m,t.d=v,t.n=k)}while(!u);return d!=n.length&&i?_d(n,0,d):n.subarray(0,d)},v0=new gt(0),m0=function(e,t){return((e[0]&15)!=8||e[0]>>4>7||(e[0]<<8|e[1])%31)&&St(6,"invalid zlib data"),(e[1]>>5&1)==+!t&&St(6,"invalid zlib data: "+(e[1]&32?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function g0(e,t){return h0(e.subarray(m0(e,t),-4),{i:2},t,t)}var Oi=typeof TextDecoder<"u"&&new TextDecoder,_0=0;try{Oi.decode(v0,{stream:!0}),_0=1}catch{}var b0=function(e){for(var t="",n=0;;){var r=e[n++],o=(r>127)+(r>223)+(r>239);if(n+o>e.length)return{s:t,r:_d(e,n-1)};o?o==3?(r=((r&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|r>>10,56320|r&1023)):o&1?t+=String.fromCharCode((r&31)<<6|e[n++]&63):t+=String.fromCharCode((r&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(r)}};function y0(e,t){{for(var n=new gt(e.length),r=0;r<e.length;++r)n[r]=e.charCodeAt(r);return n}for(var o=e.length,r=0;r<o;++r);}function k0(e,t){var n;if(Oi)return Oi.decode(e);var r=b0(e),o=r.s,n=r.r;return n.length&&St(8),o}const rc=(e,t)=>{var r;const n=(r=Tr())==null?void 0:r.appContext.components;return n?e in n||ft(e)in n||fo(ft(e))in n:!1},w0=e=>new Promise(t=>{setTimeout(t,e)}),bd=e=>{const t=On();return P(()=>e[t.value]??{})},S0=e=>typeof e<"u",{isArray:Ai}=Array,P0=(e,t)=>Ot(e)&&e.startsWith(t),yd=e=>P0(e,"/");/**
|
|
* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
|
* @license MIT
|
|
*/const oc=(e,t)=>{e.classList.add(t)},sc=(e,t)=>{e.classList.remove(t)},x0=e=>{var t;(t=e==null?void 0:e.parentNode)==null||t.removeChild(e)},Ks=(e,t,n)=>e<t?t:e>n?n:e,ic=e=>(-1+e)*100,T0=(()=>{const e=[],t=()=>{const n=e.shift();n&&n(t)};return n=>{e.push(n),e.length===1&&t()}})(),C0=e=>e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(t,n)=>n.toUpperCase()),Ao=(()=>{const e=["Webkit","O","Moz","ms"],t={},n=s=>{const{style:i}=document.body;if(s in i)return s;const a=s.charAt(0).toUpperCase()+s.slice(1);let l=e.length;for(;l--;){const c=`${e[l]}${a}`;if(c in i)return c}return s},r=s=>{const i=C0(s);return t[i]??(t[i]=n(i))},o=(s,i,a)=>{s.style[r(i)]=a};return(s,i)=>{for(const a in i){const l=i[a];Object.hasOwn(i,a)&&S0(l)&&o(s,a,l)}}})(),Yt={minimum:.08,easing:"ease",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,barSelector:'[role="bar"]',parent:"body",template:'<div class="bar" role="bar"></div>'},Be={percent:null,isRendered:()=>!!document.getElementById("nprogress"),set:e=>{const{speed:t,easing:n}=Yt,r=Be.isStarted(),o=Ks(e,Yt.minimum,1);Be.percent=o===1?null:o;const s=Be.render(!r),i=s.querySelector(Yt.barSelector);return s.offsetWidth,T0(a=>{Ao(i,{transform:`translate3d(${ic(o)}%,0,0)`,transition:`all ${t}ms ${n}`}),o===1?(Ao(s,{transition:"none",opacity:"1"}),s.offsetWidth,setTimeout(()=>{Ao(s,{transition:`all ${t}ms linear`,opacity:"0"}),setTimeout(()=>{Be.remove(),a()},t)},t)):setTimeout(()=>{a()},t)}),Be},isStarted:()=>typeof Be.percent=="number",start:()=>{Be.percent||Be.set(0);const e=()=>{setTimeout(()=>{Be.percent&&(Be.trickle(),e())},Yt.trickleSpeed)};return e(),Be},done:e=>!e&&!Be.percent?Be:Be.increase(.3+.5*Math.random()).set(1),increase:e=>{let{percent:t}=Be;return t?(t=Ks(t+(typeof e=="number"?e:(1-t)*Ks(Math.random()*t,.1,.95)),0,.994),Be.set(t)):Be.start()},trickle:()=>Be.increase(Math.random()*Yt.trickleRate),render:e=>{if(Be.isRendered())return document.getElementById("nprogress");oc(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=Yt.template;const n=t.querySelector(Yt.barSelector),r=document.querySelector(Yt.parent),o=e?"-100":ic(Be.percent??0);return Ao(n,{transition:"all 0 linear",transform:`translate3d(${o}%,0,0)`}),r&&(r!==document.body&&oc(r,"nprogress-custom-parent"),r.appendChild(t)),t},remove:()=>{sc(document.documentElement,"nprogress-busy"),sc(document.querySelector(Yt.parent),"nprogress-custom-parent"),x0(document.getElementById("nprogress"))}},L0=()=>{Re(()=>{const e=Cr(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||Be.start()}),e.afterEach(n=>{t.add(n.path),Be.done()})})},E0=qn({setup(){L0()}}),O0=Object.freeze(Object.defineProperty({__proto__:null,default:E0},Symbol.toStringTag,{value:"Module"})),A0=G({}),kd=Symbol(""),I0=()=>He(kd),V0=e=>{e.provide(kd,A0)},M0='<div class="photo-swipe-loading"><svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" preserveAspectRatio="xMidYMid" viewBox="25 25 50 50"><animateTransform attributeName="transform" type="rotate" dur="2s" keyTimes="0;1" repeatCount="indefinite" values="0;360"></animateTransform><circle cx="50" cy="50" r="20" fill="none" stroke="currentColor" stroke-width="4" stroke-linecap="round"><animate attributeName="stroke-dasharray" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="1,200;90,200;1,200"></animate><animate attributeName="stroke-dashoffset" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="0;-35px;-125px"></animate></circle></svg></div>',R0=e=>Ot(e)?Array.from(document.querySelectorAll(e)):e.map(t=>Array.from(document.querySelectorAll(t))).flat(),wd=e=>new Promise((t,n)=>{e.complete?t({type:"image",element:e,src:e.src,width:e.naturalWidth,height:e.naturalHeight,alt:e.alt,msrc:e.src}):(e.onload=()=>{t(wd(e))},e.onerror=()=>{n()})}),$0=(e,{download:t=!0,fullscreen:n=!0}={})=>{e.on("uiRegister",()=>{if(e.ui.registerElement({name:"bulletsIndicator",className:"photo-swipe-bullets-indicator",appendTo:"wrapper",onInit:r=>{const o=[];let s=-1;for(let i=0;i<e.getNumItems();i++){const a=document.createElement("div");a.className="photo-swipe-bullet",a.onclick=l=>{e.goTo(o.indexOf(l.target))},o.push(a),r.appendChild(a)}e.on("change",()=>{s>=0&&o[s].classList.remove("active"),o[e.currIndex].classList.add("active"),s=e.currIndex})}}),n){const{isSupported:r,toggle:o}=t0();r.value&&e.ui.registerElement({name:"fullscreen",order:7,isButton:!0,html:'<svg class="pswp__icn" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path d="M249.5 270.833H437v-75H212a37.5 37.5 0 0 0-37.5 37.5v225h75v-187.5zm-37.5 600h225v-75H249.5v-187.5h-75v225a37.5 37.5 0 0 0 37.5 37.5zm637.5-37.5v-225h-75v187.5H587v75h225a37.5 37.5 0 0 0 37.5-37.5zM587 270.833h187.5v187.5h75v-225a37.5 37.5 0 0 0-37.5-37.5H587v75z"/></svg>',onClick:()=>{o()}})}t&&e.ui.registerElement({name:"download",order:8,isButton:!0,tagName:"a",html:{isCustomSVG:!0,inner:'<path d="M20.5 14.3 17.1 18V10h-2.2v7.9l-3.4-3.6L10 16l6 6.1 6-6.1-1.5-1.6ZM23 23H9v2h14" id="pswp__icn-download"/>',outlineID:"pswp__icn-download"},onInit:r=>{r.setAttribute("download",""),r.setAttribute("target","_blank"),r.setAttribute("rel","noopener"),e.on("change",()=>{r.setAttribute("href",e.currSlide.data.src)})}})})},B0=(e,{scrollToClose:t=!0,download:n=!0,fullscreen:r=!0,...o})=>Ve(async()=>{const{default:s}=await import("./photoswipe.esm-GXRgw7eJ.js");return{default:s}},[]).then(({default:s})=>{let i=null;const a=e.map(l=>({html:M0,element:l,msrc:l.src}));return e.forEach((l,c)=>{const u=()=>{i==null||i.destroy(),i=new s({preloaderDelay:0,showHideAnimationType:"zoom",...o,dataSource:a,index:c,...t?{closeOnVerticalDrag:!0,wheelToZoom:!1}:{}}),$0(i,{download:n,fullscreen:r}),i.addFilter("thumbEl",()=>l),i.addFilter("placeholderSrc",()=>l.src),i.init()};l.getAttribute("photo-swipe")||(l.style.cursor="zoom-in",l.addEventListener("click",()=>{u()}),l.addEventListener("keypress",({key:f})=>{f==="Enter"&&u()}),l.setAttribute("photo-swipe","")),wd(l).then(f=>{a.splice(c,1,f),i==null||i.refreshSlideContent(c)})}),t?Ke("wheel",()=>{i==null||i.close()}):()=>{}}),N0=({selector:e,locales:t,delay:n=500,download:r=!0,fullscreen:o=!0,scrollToClose:s=!0})=>{const i=I0(),a=bd(t),l=ya(),c=ka();let u=null;const f=()=>{const{photoSwipe:d}=c.value;d!==!1&&Vt().then(()=>w0(n)).then(async()=>{const p=Ot(d)?d:e;u=await B0(R0(p),{...i.value,...a.value,download:r,fullscreen:o,scrollToClose:s})})};Re(()=>{f(),me(()=>[l.value.path,i.value],()=>{u==null||u(),f()})}),zt(()=>{u==null||u()})};var j0={"/en/":{closeTitle:"Close",downloadTitle:"Download Image",fullscreenTitle:"Switch to fullscreen",zoomTitle:"Zoom in/out",arrowPrevTitle:"Prev (Arrow Left)",arrowNextTitle:"Next (Arrow Right)"},"/":{closeTitle:"关闭",downloadTitle:"下载图片",fullscreenTitle:"切换全屏",zoomTitle:"缩放",arrowPrevTitle:"上一个 (左箭头)",arrowNextTitle:"下一个 (右箭头)"}};const D0=".plume-content > img, .plume-content :not(a) > img",H0=j0,F0=300,U0=!0,z0=!0,W0=!0;var G0=qn({enhance:({app:e})=>{V0(e)},setup:()=>{N0({selector:D0,delay:F0,locales:H0,download:U0,fullscreen:z0,scrollToClose:W0})}});const q0=Object.freeze(Object.defineProperty({__proto__:null,default:G0},Symbol.toStringTag,{value:"Module"})),K0={"/":()=>Ve(()=>import("./searchBox-default-ByuXYeEL.js"),[]),"/en/":()=>Ve(()=>import("./searchBox-en-cVud1dAQ.js"),[])};var ac={"/":{placeholder:"Search",resetButtonTitle:"Reset search",backButtonTitle:"Close search",noResultsText:"No results for",footer:{selectText:"to select",selectKeyAriaLabel:"enter",navigateText:"to navigate",navigateUpKeyAriaLabel:"up arrow",navigateDownKeyAriaLabel:"down arrow",closeText:"to close",closeKeyAriaLabel:"escape"}}};function Y0(e){const t=zn(e),n=On();return P(()=>t.value[n.value]??ac[n.value]??ac["/"])}var Q0=nt(K0);function YP(){return Q0}const J0=R({__name:"SearchButton",props:{locales:{}},setup(e,{expose:t}){t();const n=e,r=Y0(zn(n.locales)),o={props:n,locale:r};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}}),D=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},X0=["aria-label"],Z0={class:"mini-search-button-container"},e1={class:"mini-search-button-placeholder"};function t1(e,t,n,r,o,s){return h(),b("button",{type:"button",class:"mini-search mini-search-button","aria-label":r.locale.placeholder},[y("span",Z0,[t[0]||(t[0]=y("svg",{class:"mini-search-search-icon",width:"20",height:"20",viewBox:"0 0 20 20","aria-label":"search icon"},[y("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),y("span",e1,K(r.locale.placeholder),1)]),t[1]||(t[1]=y("span",{class:"mini-search-button-keys"},[y("kbd",{class:"mini-search-button-key"}),y("kbd",{class:"mini-search-button-key"},"K")],-1))],8,X0)}const n1=D(J0,[["render",t1],["__file","SearchButton.vue"]]),r1=R({__name:"Search",props:{locales:{},options:{}},setup(e,{expose:t}){t();const n=ua(()=>Ve(()=>import("./SearchBox-Ciabcu3v.js"),[])),r=G(!1);Zl("k",i=>{(i.ctrlKey||i.metaKey)&&(i.preventDefault(),r.value=!0)}),Zl("/",i=>{o(i)||(i.preventDefault(),r.value=!0)});function o(i){const a=i.target,l=a.tagName;return a.isContentEditable||l==="INPUT"||l==="SELECT"||l==="TEXTAREA"}const s={SearchBox:n,showSearch:r,isEditingContent:o,SearchButton:n1};return Object.defineProperty(s,"__isScriptSetup",{enumerable:!1,value:!0}),s}}),o1={class:"search-wrapper"},s1={id:"local-search"};function i1(e,t,n,r,o,s){return h(),b("div",o1,[r.showSearch?(h(),B(r.SearchBox,{key:0,locales:n.locales,options:n.options,onClose:t[0]||(t[0]=i=>r.showSearch=!1)},null,8,["locales","options"])):E("",!0),y("div",s1,[I(r.SearchButton,{locales:n.locales,onClick:t[1]||(t[1]=i=>r.showSearch=!0)},null,8,["locales"])])])}const a1=D(r1,[["render",i1],["__scopeId","data-v-853b0860"],["__file","Search.vue"]]);var l1={"/en/":{placeholder:"Search",resetButtonTitle:"Reset search",backButtonTitle:"Close search",noResultsText:"No results for",footer:{selectText:"to select",selectKeyAriaLabel:"enter",navigateText:"to navigate",navigateUpKeyAriaLabel:"up arrow",navigateDownKeyAriaLabel:"down arrow",closeText:"to close",closeKeyAriaLabel:"escape"}},"/":{placeholder:"搜索文档",resetButtonTitle:"重置搜索",backButtonTitle:"关闭",noResultsText:"无搜索结果:",footer:{selectText:"选择",selectKeyAriaLabel:"输入",navigateText:"切换",navigateUpKeyAriaLabel:"向上",navigateDownKeyAriaLabel:"向下",closeText:"关闭",closeKeyAriaLabel:"退出"}}},c1={},u1=l1,f1=c1,d1=qn({enhance({app:e}){e.component("SearchBox",t=>ve(a1,{locales:u1,options:f1,...t}))}});const p1=Object.freeze(Object.defineProperty({__proto__:null,default:d1},Symbol.toStringTag,{value:"Module"}));var h1=/language-(?:shellscript|shell|bash|sh|zsh)/,v1=[".vp-copy-ignore",".diff.remove"];function m1({selector:e='div[class*="language-"] > button.copy',duration:t=2e3}={}){const n=new WeakMap,{copy:r}=z_({legacy:!0});Ke("click",o=>{const s=o.target;if(s.matches(e)){const i=s.parentElement,a=s.nextElementSibling;if(!i||!a)return;const l=h1.test(i.className),c=a.cloneNode(!0);c.querySelectorAll(v1.join(",")).forEach(f=>f.remove());let u=c.textContent||"";l&&(u=u.replace(/^ *(\$|>) /gm,"").trim()),r(u).then(()=>{if(t<=0)return;s.classList.add("copied"),clearTimeout(n.get(s));const f=setTimeout(()=>{s.classList.remove("copied"),s.blur(),n.delete(s)},t);n.set(s,f)})}})}function g1({selector:e='div[class*="language-"] > .collapsed-lines'}={}){Ke("click",t=>{const n=t.target;if(n.matches(e)){const r=n.parentElement;r!=null&&r.classList.toggle("collapsed")&&r.scrollIntoView({block:"center",behavior:"instant"})}})}const _1={setup(){m1({selector:'div[class*="language-"] > button.copy',duration:2e3}),g1()}},b1=Object.freeze(Object.defineProperty({__proto__:null,default:_1},Symbol.toStringTag,{value:"Module"})),y1=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Sd=({size:e=48,stroke:t=4,wrapper:n=!0,height:r=2*e})=>{const o=ve("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[ve("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),ve("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[ve("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),ve("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?ve("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${r}px`},o):o};Sd.displayName="LoadingIcon";const lc=e=>{const t=atob(e);return k0(g0(y0(t)))},k1=e=>new Promise(t=>{setTimeout(t,e)}),w1=e=>typeof e<"u",{keys:Pd}=Object,S1='<svg class="codepen-icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path d="M123.429 668L468 897.714V692.571L277.143 565.143zM88 585.714L198.286 512 88 438.286v147.428zm468 312L900.571 668 746.857 565.143 556 692.57v205.143zM512 616l155.429-104L512 408 356.571 512zM277.143 458.857L468 331.43V126.286L123.429 356zM825.714 512L936 585.714V438.286zm-78.857-53.143L900.571 356 556 126.286v205.143zM1024 356v312q0 23.429-19.429 36.571l-468 312Q524.571 1024 512 1024t-24.571-7.429l-468-312Q0 691.43 0 668V356q0-23.429 19.429-36.571l468-312Q499.429 0 512 0t24.571 7.429l468 312Q1024 332.57 1024 356z"/></svg>',P1='<svg class="jsfiddle-icon" viewBox="0 0 1170 1024" xmlns="http://www.w3.org/2000/svg"><path d="M1028.571 441.143q63.429 26.286 102.572 83.143t39.143 126.571q0 93.714-67.429 160.286T940 877.714q-2.286 0-6.571-.285t-6-.286H232q-97.143-5.714-164.571-71.714T0 645.143q0-62.857 31.429-116t84-84q-6.858-22.286-6.858-46.857 0-65.715 46.858-112T269.143 240q54.286 0 98.286 33.143 42.857-88 127.142-141.714t186.572-53.715q94.857 0 174.857 46t126.571 124.857 46.572 172q0 3.429-.286 10.286t-.286 10.286zm-761.142 152q0 69.714 48 110.286T434.286 744q78.285 0 137.143-56.571-9.143-11.429-27.143-32.286t-24.857-28.857q-38.286 37.143-82.286 37.143-31.429 0-53.429-19.143t-22-50q0-30.286 22-49.715T436 525.143q25.143 0 48.286 12T526 568.57t37.143 42.858 39.428 46.857 44 42.857T702 732.57t69.429 12q69.142 0 116.857-40.857T936 594.857q0-69.143-48-109.714T769.714 444.57Q688 444.571 632 500l53.143 61.714q37.714-36.571 81.143-36.571 29.714 0 52.571 18.857t22.857 48q0 32.571-21.143 52.286T766.857 664q-24.571 0-47.143-12t-41.143-31.429-37.428-42.857-39.714-46.857T557.143 488 502 456.571t-67.714-12q-69.715 0-118.286 40.286t-48.571 108.286z"/></svg>';var x1={useBabel:!1,jsLib:[],cssLib:[],codepenLayout:"left",codepenEditors:"101",babel:"https://unpkg.com/@babel/standalone/babel.min.js",vue:"https://unpkg.com/vue/dist/vue.global.prod.js",react:"https://unpkg.com/react/umd/react.production.min.js",reactDOM:"https://unpkg.com/react-dom/umd/react-dom.production.min.js"};const Ys=x1,cc={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"}}},T1=(e,t,n)=>{const r=document.createElement(e);return gr(t)&&Pd(t).forEach(o=>{if(o.indexOf("data"))r[o]=t[o];else{const s=o.replace("data","");r.dataset[s]=t[o]}}),r},Pa=e=>({...Ys,...e,jsLib:Array.from(new Set([Ys.jsLib??[],e.jsLib??[]].flat())),cssLib:Array.from(new Set([Ys.cssLib??[],e.cssLib??[]].flat()))}),pr=(e,t)=>{if(w1(e[t]))return e[t];const n=new Promise(r=>{var s;const o=document.createElement("script");o.src=t,(s=document.querySelector("body"))==null||s.appendChild(o),o.onload=()=>{r()}});return e[t]=n,n},C1=(e,t)=>{if(t.css&&Array.from(e.childNodes).every(n=>n.nodeName!=="STYLE")){const n=T1("style",{innerHTML:t.css});e.appendChild(n)}},L1=(e,t,n)=>{const r=n.getScript();if(r&&Array.from(t.childNodes).every(o=>o.nodeName!=="SCRIPT")){const o=document.createElement("script");o.appendChild(document.createTextNode(`{const document=window.document.querySelector('#${e} .vp-code-demo-display').shadowRoot;
|
|
${r}}`)),t.appendChild(o)}},E1=["html","js","css"],O1=e=>{const t=Pd(e),n={html:[],js:[],css:[],isLegal:!1};return E1.forEach(r=>{const o=t.filter(s=>cc[r].types.includes(s));if(o.length){const s=o[0];n[r]=[e[s].replace(/^\n|\n$/g,""),cc[r].map[s]??s]}}),n.isLegal=(!n.html.length||n.html[1]==="none")&&(!n.js.length||n.js[1]==="none")&&(!n.css.length||n.css[1]==="none"),n},xd=e=>e.replace(/<br \/>/g,"<br>").replace(/<((\S+)[^<]*?)\s+\/>/g,"<$1></$2>"),Td=e=>`<div id="app">
|
|
${xd(e)}
|
|
</div>`,A1=e=>`${e.replace("export default ","const $reactApp = ").replace(/App\.__style__(\s*)=(\s*)`([\s\S]*)?`/,"")};
|
|
ReactDOM.createRoot(document.getElementById("app")).render(React.createElement($reactApp))`,I1=e=>e.replace(/export\s+default\s*\{(\n*[\s\S]*)\n*\}\s*;?$/u,"Vue.createApp({$1}).mount('#app')").replace(/export\s+default\s*define(Async)?Component\s*\(\s*\{(\n*[\s\S]*)\n*\}\s*\)\s*;?$/u,"Vue.createApp({$1}).mount('#app')").trim(),Cd=e=>`(function(exports){var module={};module.exports=exports;${e};return module.exports.__esModule?exports.default:module.exports;})({})`,V1=(e,t)=>{const n=Pa(t),r=e.js[0]??"";return{...n,html:xd(e.html[0]??""),js:r,css:e.css[0]??"",isLegal:e.isLegal,getScript:()=>{var o;return n.useBabel?((o=window.Babel.transform(r,{presets:["es2015"]}))==null?void 0:o.code)??"":r}}},M1=/<template>([\s\S]+)<\/template>/u,R1=/<script(\s*lang=(['"])(.*?)\2)?>([\s\S]+)<\/script>/u,$1=/<style(\s*lang=(['"])(.*?)\2)?\s*(?:scoped)?>([\s\S]+)<\/style>/u,B1=(e,t)=>{const n=Pa(t),r=e.html[0]??"",o=M1.exec(r),s=R1.exec(r),i=$1.exec(r),a=(o==null?void 0:o[1].replace(/^\n|\n$/g,""))??"",[l="",c=""]=s?[s[4].replace(/^\n|\n$/g,""),s[3]]:[],[u="",f=""]=i?[i[4].replace(/^\n|\n$/g,""),i[3]]:[],d=c===""&&(f===""||f==="css");return{...n,html:Td(a),js:I1(l),css:u,isLegal:d,jsLib:[n.vue,...n.jsLib],getScript:()=>{var v,m;const p=t.useBabel?((m=(v=window.Babel)==null?void 0:v.transform(l,{presets:["es2015"]}))==null?void 0:m.code)??"":l.replace(/export\s+default/u,"return");return`const app=window.document.createElement('div');document.firstElementChild.appendChild(app);const appOptions=${Cd(p)};appOptions.template=\`${a.replace("`",'\\`"')}\`;window.Vue.createApp(appOptions).mount(app);`}}},N1=(e,t)=>{var o;const n=Pa(t),r=e.js[0]??"";return{...n,html:Td(""),js:A1(r),css:e.css[0]??((o=e.js[0])==null?void 0:o.replace(/App\.__style__(?:\s*)=(?:\s*)`([\s\S]*)?`/,"$1").trim())??"",isLegal:e.isLegal,jsLib:[n.react,n.reactDOM,...n.jsLib],jsx:!0,getScript:()=>{var i,a;const s=((a=(i=window.Babel)==null?void 0:i.transform(r,{presets:["es2015","react"]}))==null?void 0:a.code)??"";return`window.ReactDOM.createRoot(document.firstElementChild).render(window.React.createElement(${Cd(s)}))`}}},hr={},j1=e=>Promise.all([pr(hr,e.babel),pr(hr,e.react),pr(hr,e.reactDOM)]),D1=e=>{const t=[pr(hr,e.vue)];return e.useBabel&&t.push(pr(hr,e.babel)),Promise.all(t)},H1=e=>e.useBabel?pr(hr,e.babel):Promise.resolve();var F1=R({name:"CodeDemo",props:{id:{type:String,required:!0},type:{type:String,default:"normal"},title:{type:String,default:""},config:{type:String,default:""},code:{type:String,required:!0}},slots:Object,setup(e,{slots:t}){const[n,r]=sd(!1),o=nt(),s=nt(),i=G("0"),a=G(!1),l=P(()=>JSON.parse(e.config?lc(e.config):"{}")),c=P(()=>{const v=JSON.parse(lc(e.code));return O1(v)}),u=P(()=>e.type==="react"?N1(c.value,l.value):e.type==="vue"?B1(c.value,l.value):V1(c.value,l.value)),f=P(()=>u.value.isLegal),d=(v=!1)=>{const m=o.value.attachShadow({mode:"open"}),k=document.createElement("div");k.classList.add("code-demo-app"),m.appendChild(k),f.value?(v&&(k.innerHTML=u.value.html),C1(m,u.value),L1(e.id,m,u.value),i.value="0"):i.value="auto",a.value=!0},p=()=>{switch(e.type){case"react":return j1(u.value).then(()=>d());case"vue":return D1(u.value).then(()=>d());default:return H1(u.value).then(()=>d(!0))}};return Ke("beforeprint",()=>{r(!0)}),Re(async()=>{await k1(800),await p()}),()=>{var v;return ve("div",{class:"vp-container vp-code-demo",id:e.id},[ve("div",{class:"vp-container-header"},[u.value.isLegal?ve("button",{type:"button",title:"toggle","aria-hidden":!0,class:["vp-code-demo-toggle-button",n.value?"down":"end"],onClick:()=>{i.value=n.value?"0":`${s.value.clientHeight+13.8}px`,r()}}):null,e.title?ve("span",{class:"vp-container-title"},decodeURIComponent(e.title)):null,u.value.isLegal&&u.value.jsfiddle!==!1?ve("form",{class:"code-demo-jsfiddle",target:"_blank",action:"https://jsfiddle.net/api/post/library/pure/",method:"post"},[ve("input",{type:"hidden",name:"html",value:u.value.html}),ve("input",{type:"hidden",name:"js",value:u.value.js}),ve("input",{type:"hidden",name:"css",value:u.value.css}),ve("input",{type:"hidden",name:"wrap",value:"1"}),ve("input",{type:"hidden",name:"panel_js",value:"3"}),ve("input",{type:"hidden",name:"resources",value:[...u.value.cssLib,...u.value.jsLib].join(",")}),ve("button",{type:"submit",class:"jsfiddle-button",innerHTML:P1,"aria-label":"JSFiddle","data-balloon-pos":"down"})]):null,!u.value.isLegal||u.value.codepen!==!1?ve("form",{class:"code-demo-codepen",target:"_blank",action:"https://codepen.io/pen/define",method:"post"},[ve("input",{type:"hidden",name:"data",value:JSON.stringify({html:u.value.html,js:u.value.js,css:u.value.css,js_external:u.value.jsLib.join(";"),css_external:u.value.cssLib.join(";"),layout:u.value.codepenLayout,html_pre_processor:c.value?c.value.html[1]:"none",js_pre_processor:c.value?c.value.js[1]:u.value.jsx?"babel":"none",css_pre_processor:c.value?c.value.css[1]:"none",editors:u.value.codepenEditors})}),ve("button",{type:"submit",innerHTML:S1,class:"codepen-button","aria-label":"Codepen","data-balloon-pos":"down"})]):null]),a.value?null:ve(Sd,{class:"vp-code-demo-loading"}),ve("div",{ref:o,class:"vp-code-demo-display",style:{display:f.value&&a.value?"block":"none"}}),ve("div",{class:"vp-code-demo-code-wrapper",style:{height:i.value}},ve("div",{ref:s,class:"vp-code-demo-codes"},(v=t.default)==null?void 0:v.call(t)))])}}}),U1=R({name:"MdDemo",props:{id:{type:String,required:!0},title:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const[n,r]=sd(!1),o=nt(),s=G("0");return Ke("beforeprint",()=>{r(!0)}),()=>{var i,a;return ve("div",{class:"vp-container vp-md-demo",id:e.id},[ve("div",{class:"vp-container-header"},[ve("button",{type:"button",title:"toggle","aria-hidden":!0,class:["vp-md-demo-toggle-button",n.value?"down":"end"],onClick:()=>{s.value=n.value?"0":`${o.value.clientHeight+13.8}px`,r()}}),e.title?ve("div",{class:"vp-container-title"},decodeURIComponent(e.title)):null]),ve("div",{class:"vp-md-demo-display"},(i=t.default)==null?void 0:i.call(t)),ve("div",{class:"vp-md-demo-code-wrapper",style:{height:s.value}},ve("div",{ref:o,class:"vp-md-demo-codes"},(a=t.code)==null?void 0:a.call(t)))])}}});const z1={enhance:({app:e})=>{e.component("CodeDemo",F1),e.component("MdDemo",U1)}},W1=Object.freeze(Object.defineProperty({__proto__:null,default:z1},Symbol.toStringTag,{value:"Module"})),uc="VUEPRESS_TAB_STORE",G1=R({__name:"Tabs",props:{id:{},tabId:{default:""},active:{default:0},data:{}},setup(e,{expose:t}){t();const n=e,r=_o(uc,{}),o=G(n.active),s=nt([]);function i(){n.tabId&&(r.value[n.tabId]=n.data[o.value].id)}function a(p=o.value){o.value=p<s.value.length-1?p+1:0,s.value[o.value].focus()}function l(p=o.value){o.value=p>0?p-1:s.value.length-1,s.value[o.value].focus()}function c(p,v){p.key===" "||p.key==="Enter"?(p.preventDefault(),o.value=v):p.key==="ArrowRight"?(p.preventDefault(),a()):p.key==="ArrowLeft"&&(p.preventDefault(),l()),i()}function u(){if(n.tabId){const p=n.data.findIndex(({id:v})=>r.value[n.tabId]===v);if(p!==-1)return p}return n.active}Re(()=>{o.value=u(),me(()=>r.value[n.tabId],(p,v)=>{if(n.tabId&&p!==v){const m=n.data.findIndex(({id:k})=>k===p);m!==-1&&(o.value=m)}})});function f(p){o.value=p,i()}const d={props:n,TAB_STORE_NAME:uc,tabStore:r,activeIndex:o,tabRefs:s,updateStore:i,activateNext:a,activatePrev:l,keyboardHandler:c,getInitialIndex:u,onTabNavClick:f};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}}),q1={key:0,class:"vp-tabs"},K1={class:"vp-tabs-nav",role:"tablist"},Y1=["aria-controls","aria-selected","onClick","onKeydown"],Q1=["id","aria-expanded"],J1={class:"vp-tab-title"};function X1(e,t,n,r,o,s){return n.data.length?(h(),b("div",q1,[y("div",K1,[(h(!0),b(ee,null,_e(n.data,(i,a)=>(h(),b("button",{key:a,ref_for:!0,ref:l=>l&&(r.tabRefs[a]=l),class:Z(["vp-tab-nav",{active:a===r.activeIndex}]),type:"button",role:"tab","aria-controls":`tab-${n.id}-${a}`,"aria-selected":a===r.activeIndex,onClick:()=>r.onTabNavClick(a),onKeydown:l=>r.keyboardHandler(l,a)},[T(e.$slots,`title${a}`,{value:i.id,isActive:a===r.activeIndex})],42,Y1))),128))]),(h(!0),b(ee,null,_e(n.data,(i,a)=>(h(),b("div",{id:`tab-${n.id}-${a}`,key:a,class:Z(["vp-tab",{active:a===r.activeIndex}]),role:"tabpanel","aria-expanded":a===r.activeIndex},[y("div",J1,[T(e.$slots,`title${a}`,{value:i.id,isActive:a===r.activeIndex})]),T(e.$slots,`tab${a}`,{value:i.id,isActive:a===r.activeIndex})],10,Q1))),128))])):E("",!0)}const Z1=D(G1,[["render",X1],["__file","Tabs.vue"]]),fc="VUEPRESS_CODE_TAB_STORE",eb=R({__name:"CodeTabs",props:{id:{},tabId:{default:""},active:{default:0},data:{}},setup(e,{expose:t}){t();const n=e,r=_o(fc,{}),o=G(n.active),s=nt([]);function i(){n.tabId&&(r.value[n.tabId]=n.data[o.value].id)}function a(p=o.value){o.value=p<s.value.length-1?p+1:0,s.value[o.value].focus()}function l(p=o.value){o.value=p>0?p-1:s.value.length-1,s.value[o.value].focus()}function c(p,v){p.key===" "||p.key==="Enter"?(p.preventDefault(),o.value=v):p.key==="ArrowRight"?(p.preventDefault(),a()):p.key==="ArrowLeft"&&(p.preventDefault(),l()),n.tabId&&(r.value[n.tabId]=n.data[o.value].id)}function u(){if(n.tabId){const p=n.data.findIndex(({id:v})=>r.value[n.tabId]===v);if(p!==-1)return p}return n.active}Re(()=>{o.value=u(),me(()=>r.value[n.tabId],(p,v)=>{if(n.tabId&&p!==v){const m=n.data.findIndex(({id:k})=>k===p);m!==-1&&(o.value=m)}})});function f(p){o.value=p,i()}const d={props:n,CODE_TAB_STORE_NAME:fc,codeTabStore:r,activeIndex:o,tabRefs:s,updateStore:i,activateNext:a,activatePrev:l,keyboardHandler:c,getInitialIndex:u,onTabNavClick:f};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}}),tb={key:0,class:"vp-code-tabs"},nb={class:"vp-code-tabs-nav",role:"tablist"},rb=["aria-controls","aria-selected","onClick","onKeydown"],ob=["id","aria-expanded"],sb={class:"vp-code-tab-title"};function ib(e,t,n,r,o,s){return n.data.length?(h(),b("div",tb,[y("div",nb,[(h(!0),b(ee,null,_e(n.data,(i,a)=>(h(),b("button",{key:a,ref_for:!0,ref:l=>l&&(r.tabRefs[a]=l),class:Z(["vp-code-tab-nav",{active:a===r.activeIndex}]),type:"button",role:"tab","aria-controls":`codetab-${n.id}-${a}`,"aria-selected":a===r.activeIndex,onClick:()=>r.onTabNavClick(a),onKeydown:l=>r.keyboardHandler(l,a)},[T(e.$slots,`title${a}`,{value:i.id,isActive:a===r.activeIndex})],42,rb))),128))]),(h(!0),b(ee,null,_e(n.data,(i,a)=>(h(),b("div",{id:`codetab-${n.id}-${a}`,key:a,class:Z(["vp-code-tab",{active:a===r.activeIndex}]),role:"tabpanel","aria-expanded":a===r.activeIndex},[y("div",sb,[T(e.$slots,`title${a}`,{value:i.id,isActive:a===r.activeIndex})]),T(e.$slots,`tab${a}`,{value:i.id,isActive:a===r.activeIndex})],10,ob))),128))])):E("",!0)}const ab=D(eb,[["render",ib],["__file","CodeTabs.vue"]]),lb=R({__name:"Plot",props:{mask:{},color:{},trigger:{}},setup(e,{expose:t}){t();const n=e,r=ka(),o=P(()=>{const f={};return{trigger:n.trigger||r.value.plotTrigger||f.trigger||"hover",color:n.color||f.color,mask:n.mask||f.mask}}),s=P(()=>{const f=o.value;if(!f.color&&!f.mask)return{};const d={};return f.color&&(typeof f.color=="string"?d["--vp-c-plot-light"]=f.color:(d["--vp-c-plot-light"]=f.color.light,d["--vp-c-plot-dark"]=f.color.dark)),f.mask&&(typeof f.mask=="string"?d["--vp-c-bg-plot-light"]=f.mask:(d["--vp-c-bg-plot-light"]=f.mask.light,d["--vp-c-bg-plot-dark"]=f.mask.dark)),d}),i=Ft("(max-width: 768px)"),a=G(!1),l=nt();ad(l,()=>{(o.value.trigger==="click"||i.value)&&(a.value=!1)});function c(){(n.trigger==="click"||i.value)&&(a.value=!a.value)}const u={props:n,matter:r,options:o,styles:s,isMobile:i,active:a,el:l,onClick:c};return Object.defineProperty(u,"__isScriptSetup",{enumerable:!1,value:!0}),u}});function cb(e,t,n,r,o,s){return h(),b("span",{ref:"el",class:Z(["vp-plot",{hover:r.options.trigger!=="click",active:r.active}]),style:Fe(r.styles),onClick:r.onClick},[T(e.$slots,"default")],6)}const ub=D(lb,[["render",cb],["__file","Plot.vue"]]),fb=R({__name:"FileTreeItem",props:{type:{},expanded:{type:Boolean},empty:{type:Boolean}},setup(e,{expose:t}){t();const n=e,r=G(!!n.expanded),o=G();function s(a){const l=a.target;l.matches(".comment")||a.currentTarget===l||(r.value=!r.value)}Re(()=>{var a;!o.value||n.type!=="folder"||(a=o.value.querySelector(".tree-node.folder"))==null||a.addEventListener("click",s)}),zt(()=>{var a;!o.value||n.type!=="folder"||(a=o.value.querySelector(".tree-node.folder"))==null||a.removeEventListener("click",s)});const i={props:n,active:r,el:o,toggle:s};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),db={key:0};function pb(e,t,n,r,o,s){return h(),b("li",{ref:"el",class:Z(["file-tree-item",{expanded:r.active}])},[T(e.$slots,"default"),r.props.type==="folder"&&r.props.empty?(h(),b("ul",db,t[0]||(t[0]=[y("li",{class:"file-tree-item"},[y("span",{class:"tree-node file"},[y("span",{class:"name"},"…")])],-1)]))):E("",!0)],2)}const hb=D(fb,[["render",pb],["__file","FileTreeItem.vue"]]),vb=qn({enhance({router:e,app:t}){t.component("Tabs",Z1),t.component("CodeTabs",ab),t.component("Plot",ub),t.component("FileTreeItem",hb)}}),mb=Object.freeze(Object.defineProperty({__proto__:null,default:vb},Symbol.toStringTag,{value:"Module"})),gb=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),_b={"/en/":{"/demo":{items:["","foo","bar"],prefix:"/en/docs/demo/"}},"/":{"/demo":{items:["","foo","bar"],prefix:"/docs/demo/"}},__auto__:{}};function bb(e){return!It(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null}var yb={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"};function kb({docsRepo:e,editLinkPattern:t}){if(t)return t;const n=bb(e);return n!==null?yb[n]:null}function wb({docsRepo:e,docsBranch:t,docsDir:n,filePathRelative:r,editLinkPattern:o}){if(!r)return null;const s=kb({docsRepo:e,editLinkPattern:o});return s?s.replace(/:repo/,It(e)?e:`https://github.com/${e}`).replace(/:branch/,t).replace(/:path/,ma(`${Of(n)}/${r}`)):null}function ns(e){const{notFound:t,meta:n,path:r}=yr(e);return t?{text:r,link:r}:{text:n.title||r,link:r,icon:n.icon}}function Tn(e="",t=""){return yd(t)||Cf(t)?t:Ef(`${e}/${t}`.replace(/\/+/g,"/"))}function Ld(e,t=""){return Dm(Tn(e,t))}var Ed=/#.*$/,Sb=/(index|README)?\.(md|html)$/,Ut=typeof document<"u";function Ii(e){return Array.isArray(e)?e:[e]}function kr(e,t,n=!1){if(t===void 0)return!1;if(e=dc(`/${e.replace(/^\//,"")}`),n)return new RegExp(t).test(e);if(dc(t)!==e)return!1;const r=t.match(Ed);return r?(Ut?location.hash:"")===r[0]:!0}function dc(e){return decodeURI(e).replace(Ed,"").replace(Sb,"")}const Pb={locales:{"/en/":{selectLanguageName:"English",selectLanguageText:"Languages",appearanceText:"Appearance",lightModeSwitchTitle:"Switch to light theme",darkModeSwitchTitle:"Switch to dark theme",editLinkText:"Edit this page",contributorsText:"Contributors",lastUpdated:{text:"Last Updated"},encryptButtonText:"Confirm",encryptPlaceholder:"Enter password",encryptGlobalText:"Only password can access this site",encryptPageText:"Only password can access this page",footer:{message:'Powered by <a target="_blank" href="https://v2.vuepress.vuejs.org/">VuePress</a> & <a target="_blank" href="https://theme-plume.vuejs.press">vuepress-theme-plume</a>',copyright:"Made with ❤ by GiriNeko"},changelog:!0,logo:"/images/raincraft-1x1-circle.png",docsRepo:"",docsDir:"docs",social:[{icon:"github",link:"https://github.com/RainCraft-Server"},{icon:"bilibili",link:"https://space.bilibili.com/3546384733047458"}],navbarSocialInclude:["github","bilibili"],profile:{avatar:"/images/raincraft-1x1.jpeg",name:"RainCraft",description:"An Minecraft Server.",circle:!0},navbar:[{text:"Home",icon:"icon-park-outline:home",link:"/en/"},{text:"More",icon:"icon-park-outline:more-two",items:[{text:"BBS",link:"https://bbs.mc.ineko.cc"},{text:"Union Ban System",link:"https://uni-ban.mc.ineko.cc"},{text:"Server Stats",link:"https://stat.mc.ineko.cc"}]}]},"/":{selectLanguageName:"简体中文",selectLanguageText:"选择语言",appearanceText:"外观",lightModeSwitchTitle:"切换为浅色主题",darkModeSwitchTitle:"切换为深色主题",outlineLabel:"此页内容",returnToTopLabel:"返回顶部",editLinkText:"编辑此页",contributorsText:"贡献者",prevPageLabel:"上一页",nextPageLabel:"下一页",lastUpdated:{text:"最后更新于"},notFound:{code:"404",title:"页面未找到",quote:"但是,如果你不改变方向,并且一直寻找,最终可能会到达你要去的地方。",linkText:"返回首页"},encryptButtonText:"确认",encryptPlaceholder:"请输入密码",encryptGlobalText:"本站只允许密码访问",encryptPageText:"本页面只允许密码访问",footer:{message:'Powered by <a target="_blank" href="https://v2.vuepress.vuejs.org/">VuePress</a> & <a target="_blank" href="https://theme-plume.vuejs.press">vuepress-theme-plume</a>',copyright:"Made with ❤ by GiriNeko"},changelog:!0,logo:"/images/raincraft-1x1-circle.png",docsRepo:"",docsDir:"docs",social:[{icon:"github",link:"https://github.com/RainCraft-Server"},{icon:"bilibili",link:"https://space.bilibili.com/3546384733047458"}],navbarSocialInclude:["github","bilibili"],profile:{avatar:"/images/raincraft-1x1.jpeg",name:"RainCraft",description:"又是一个纯净生存养老服",circle:!0},navbar:[{text:"首页",icon:"icon-park-outline:home",link:"/"},{text:"博客",icon:"icon-park-outline:thinking-problem",link:"/blog/"},{text:"投喂",icon:"icon-park-outline:cup",link:"/docs/donate/"},{text:"文档",icon:"icon-park-outline:document-folder",items:[{text:"开始",link:"/docs/get-start/"},{text:"社区",link:"/docs/community/"}]},{text:"更多",icon:"icon-park-outline:more-two",items:[{text:"皮肤站",link:"https://skin.ineko.cc"},{text:"论坛",link:"https://bbs.mc.ineko.cc"},{text:"联合封禁系统",link:"https://uni-ban.mc.ineko.cc"},{text:"服务器状态",link:"https://status.ineko.cc/status/raincraft"}]}]}},appearance:!0,blog:{pagination:15,postList:!0,tags:!0,archives:!0,categories:!0,link:"/blog/",tagsLink:"/blog/tags/",archivesLink:"/blog/archives/",categoriesLink:"/blog/categories/"},navbarSocialInclude:["github","bilibili"],aside:!0,outline:[2,3],externalLinkIcon:!0,editLink:!0,contributors:!0,prevPage:!0,nextPage:!0,footer:{copyright:"Made with ❤ by GiriNeko"},changelog:!0,logo:"/images/raincraft-1x1-circle.png",docsRepo:"",docsDir:"docs",social:[{icon:"github",link:"https://github.com/RainCraft-Server"},{icon:"bilibili",link:"https://space.bilibili.com/3546384733047458"}]};var xb={};const Xn="./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),Qs=Array.from({length:64},(e,t)=>t),Io=e=>Array(e).fill(-1),mn=[...Io(46),0,1,...Qs.slice(54,64),...Io(7),...Qs.slice(2,28),...Io(6),...Qs.slice(28,54),...Io(5)],pc=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],hc=[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946,1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055,3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504,976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462],Od=[1332899944,1700884034,1701343084,1684370003,1668446532,1869963892],Vi=(e,t)=>{if(t<=0||t>e.length)throw Error(`Illegal len: ${t}`);let n=0,r,o;const s=[];for(;n<t;){if(r=e[n++]&255,s.push(Xn[r>>2&63]),r=(r&3)<<4,n>=t){s.push(Xn[r&63]);break}if(o=e[n++]&255,r|=o>>4&15,s.push(Xn[r&63]),r=(o&15)<<2,n>=t){s.push(Xn[r&63]);break}o=e[n++]&255,r|=o>>6&3,s.push(Xn[r&63]),s.push(Xn[o&63])}return s.join("")},Tb=(e,t)=>{const n=e.length;let r=0,o=0,s,i,a,l,c,u;const f=[];for(;r<n-1&&o<t&&(u=e.charCodeAt(r++),s=u<mn.length?mn[u]:-1,u=e.charCodeAt(r++),i=u<mn.length?mn[u]:-1,!(s==-1||i==-1||(c=s<<2>>>0,c|=(i&48)>>4,f.push(String.fromCharCode(c)),++o>=t||r>=n)||(u=e.charCodeAt(r++),a=u<mn.length?mn[u]:-1,a==-1)||(c=(i&15)<<4>>>0,c|=(a&60)>>2,f.push(String.fromCharCode(c)),++o>=t||r>=n)));)u=e.charCodeAt(r++),l=u<mn.length?mn[u]:-1,c=(a&3)<<6>>>0,c|=l,f.push(String.fromCharCode(c)),++o;return f.map(d=>d.charCodeAt(0))},Cb=(e,t)=>{let n=null;for(typeof e=="number"&&(n=e,e=()=>null);n!==null||(n=e())!==null;)n<128?t(n&127):n<2048?(t(n>>6&31|192),t(n&63|128)):n<65536?(t(n>>12&15|224),t(n>>6&63|128),t(n&63|128)):(t(n>>18&7|240),t(n>>12&63|128),t(n>>6&63|128),t(n&63|128)),n=null},Lb=(e,t)=>{let n,r=null;for(;(n=r!==null?r:e())!==null;){if(n>=55296&&n<=57343&&(r=e())!==null&&r>=56320&&r<=57343){t((n-55296)*1024+r-56320+65536),r=null;continue}t(n)}r!==null&&t(r)},Eb=(e,t)=>{Lb(e,function(n){Cb(n,t)})},rs=typeof process=="object"&&xb.NEXT_RUNTIME==="edge"?setTimeout:typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:setTimeout,Ob=e=>{const t=[];let n=0;return Eb(()=>n>=e.length?null:e.charCodeAt(n++),r=>{t.push(r)}),t},ao=(e,t,n,r)=>{let o,s=e[t],i=e[t+1];return s^=n[0],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],i^=o^n[1],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|i&255],s^=o^n[2],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],i^=o^n[3],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|i&255],s^=o^n[4],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],i^=o^n[5],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|i&255],s^=o^n[6],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],i^=o^n[7],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|i&255],s^=o^n[8],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],i^=o^n[9],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|i&255],s^=o^n[10],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],i^=o^n[11],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|i&255],s^=o^n[12],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],i^=o^n[13],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|i&255],s^=o^n[14],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],i^=o^n[15],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|i&255],s^=o^n[16],e[t]=i^n[17],e[t+1]=s,e},tr=(e,t)=>{let n=0;for(let r=0;r<4;++r)n=n<<8|e[t]&255,t=(t+1)%e.length;return{key:n,offp:t}},vc=(e,t,n)=>{const r=t.length,o=n.length;let s=0,i=[0,0],a;for(let l=0;l<r;l++)a=tr(e,s),s=a.offp,t[l]=t[l]^a.key;for(let l=0;l<r;l+=2)i=ao(i,0,t,n),t[l]=i[0],t[l+1]=i[1];for(let l=0;l<o;l+=2)i=ao(i,0,t,n),n[l]=i[0],n[l+1]=i[1]},Ab=(e,t,n,r)=>{const o=n.length,s=r.length;let i=0,a=[0,0],l;for(let c=0;c<o;c++)l=tr(t,i),i=l.offp,n[c]=n[c]^l.key;i=0;for(let c=0;c<o;c+=2)l=tr(e,i),i=l.offp,a[0]^=l.key,l=tr(e,i),i=l.offp,a[1]^=l.key,a=ao(a,0,n,r),n[c]=a[0],n[c+1]=a[1];for(let c=0;c<s;c+=2)l=tr(e,i),i=l.offp,a[0]^=l.key,l=tr(e,i),i=l.offp,a[1]^=l.key,a=ao(a,0,n,r),r[c]=a[0],r[c+1]=a[1]},mc=(e,t,n,r,o)=>{const s=Od.slice(),i=s.length;if(n<4||n>31){const d=new Error(`Illegal number of rounds (4-31): ${n}`);if(r===!1)return Promise.reject(d);throw d}if(t.length!==16){const d=new Error(`Illegal salt length: ${t.length} != 16`);if(r===!1)return Promise.reject(d);throw d}n=1<<n>>>0;let a,l,c=0,u;Int32Array?(a=new Int32Array(pc),l=new Int32Array(hc)):(a=pc.slice(),l=hc.slice()),Ab(t,e,a,l);const f=()=>{if(c<n){const d=Date.now();for(;c<n&&(c=c+1,vc(e,a,l),vc(t,a,l),!(Date.now()-d>100)););}else{for(c=0;c<64;c++)for(u=0;u<i>>1;u++)ao(s,u<<1,a,l);const d=[];for(c=0;c<i;c++)d.push((s[c]>>24&255)>>>0),d.push((s[c]>>16&255)>>>0),d.push((s[c]>>8&255)>>>0),d.push((s[c]&255)>>>0);return r===!1?Promise.resolve(d):d}if(r===!1)return new Promise(d=>rs(()=>{f().then(d)}))};if(r===!1)return f();{let d;for(;;)if(typeof(d=f())<"u")return d||[]}},Ib=e=>{try{let t;typeof window<"u"?t=window.crypto??window.msCrypto:t=globalThis.crypto;const n=new Uint32Array(e);return t==null||t.getRandomValues(n),Array.from(n)}catch{throw Error("WebCryptoAPI is not available")}},Mi=(e=10)=>{if(typeof e!="number")throw Error("Illegal arguments: "+typeof e);e<4?e=4:e>31&&(e=31);const t=[];return t.push("$2a$"),e<10&&t.push("0"),t.push(e.toString()),t.push("$"),t.push(Vi(Ib(16),16)),t.join("")},Vb=(e=10)=>{if(typeof e!="number")throw Error("illegal arguments: "+typeof e);return new Promise((t,n)=>rs(()=>{try{t(Mi(e))}catch(r){n(r)}}))};function gc(e,t,n,r){if(typeof e!="string"||typeof t!="string"){const p=new Error("Invalid string / salt: Not a string");if(n===!1)return Promise.reject(p);throw p}let o,s;if(t.charAt(0)!=="$"||t.charAt(1)!=="2"){const p=new Error("Invalid salt version: "+t.substring(0,2));if(n===!1)return Promise.reject(p);throw p}if(t.charAt(2)==="$")o="\0",s=3;else{if(o=t.charAt(2),o!=="a"&&o!=="b"&&o!=="y"||t.charAt(3)!=="$"){const p=Error("Invalid salt revision: "+t.substring(2,4));if(n===!1)return Promise.reject(p);throw p}s=4}if(t.charAt(s+2)>"$"){const p=new Error("Missing salt rounds");if(n===!1)return Promise.reject(p);throw p}const i=parseInt(t.substring(s,s+1),10)*10,a=parseInt(t.substring(s+1,s+2),10),l=i+a,c=t.substring(s+3,s+25);e+=o>="a"?"\0":"";const u=Ob(e),f=Tb(c,16),d=p=>{const v=[];return v.push("$2"),o>="a"&&v.push(o),v.push("$"),l<10&&v.push("0"),v.push(l.toString()),v.push("$"),v.push(Vi(f,f.length)),v.push(Vi(p,Od.length*4-1)),v.join("")};return n===!1?mc(u,f,l,!1).then(p=>d(p)):d(mc(u,f,l,!0))}const Mb=function(e,t,n){return typeof e=="string"&&typeof t=="number"?Vb(t).then(r=>gc(e,r,!1)):typeof e=="string"&&typeof t=="string"?gc(e,t,!1):Promise.reject(new Error(`Illegal arguments: ${typeof e}, ${typeof t}`))},Rb=(e,t,n)=>new Promise((r,o)=>{if(typeof e!="string"||typeof t!="string"){rs(()=>o(new Error(`Illegal arguments: ${typeof e}, ${typeof t}`)));return}if(t.length!==60){rs(()=>o(!1));return}Mb(e,t.substring(0,29)).then(s=>r(s===t)).catch(s=>o(s))}),$b=[!1,":","",[],{}],Bb=[{path:"/news/raincraft-zd-20241201-01-publish/",title:"关于印发《RainCraft玩家游玩守则》的通知",categoryList:[{id:"1d9c15",sort:10002,name:"新闻"}],tags:["新闻"],createTime:"2024/12/01 18:18:07",lang:"zh-CN",excerpt:""},{path:"/rules/raincraft-zd-20241201-01/",title:"RainCraft玩家游玩守则",categoryList:[{id:"7afcb3",sort:10001,name:"制度"}],tags:["游玩守则","管理制度"],createTime:"2024/12/01 18:12:05",lang:"zh-CN",excerpt:""},{path:"/news/raincraft-beta-202410/",title:"Raincraft开展新周目公测活动",categoryList:[{id:"1d9c15",sort:10002,name:"新闻"}],tags:["新闻","活动"],createTime:"2024/10/27 21:00:00",lang:"zh-CN",excerpt:""},{path:"/news/raincraft-upgrade/",title:"关于RainCraft服务器升级的通知",categoryList:[{id:"1d9c15",sort:10002,name:"新闻"}],tags:["新闻","升级"],createTime:"2024/10/20 20:12:05",lang:"zh-CN",excerpt:""}],Nb={游玩守则:"t1aq",管理制度:"9get",新闻:"k1uh",活动:"ty8z",升级:"cl8l"},jb="{}";/*!
|
|
* watermark-js-plus v1.5.7
|
|
* (c) 2022-2024 Michael Sun
|
|
* Released under the MIT License.
|
|
*/function Db(e,t){t===void 0&&(t={});var n=t.insertAt;if(!(typeof document>"u")){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",n==="top"&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}var Hb="@keyframes watermark{0%{background-position:0 0}25%{background-position:100% 100%}50%{background-position:0 0}75%{background-position:100% -100%}to{background-position:0 0}}";Db(Hb);var Ri=function(e,t){return Ri=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},Ri(e,t)};function Fb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ri(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var wn=function(){return wn=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},wn.apply(this,arguments)};function Zt(e,t,n,r){function o(s){return s instanceof n?s:new n(function(i){i(s)})}return new(n||(n=Promise))(function(s,i){function a(u){try{c(r.next(u))}catch(f){i(f)}}function l(u){try{c(r.throw(u))}catch(f){i(f)}}function c(u){u.done?s(u.value):o(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})}function Nt(e,t){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,o,s,i;return i={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function a(c){return function(u){return l([c,u])}}function l(c){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(n=0)),n;)try{if(r=1,o&&(s=c[0]&2?o.return:c[0]?o.throw||((s=o.return)&&s.call(o),0):o.next)&&!(s=s.call(o,c[1])).done)return s;switch(o=0,s&&(c=[c[0]&2,s.value]),c[0]){case 0:case 1:s=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,o=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(s=n.trys,!(s=s.length>0&&s[s.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!s||c[1]>s[0]&&c[1]<s[3])){n.label=c[1];break}if(c[0]===6&&n.label<s[1]){n.label=s[1],s=c;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(c);break}s[2]&&n.ops.pop(),n.trys.pop();continue}c=t.call(e,n)}catch(u){c=[6,u],o=0}finally{r=s=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var Ad=function(e){return e.toDataURL("image/png",1)},Id=function(e){return typeof e=="function"},xt=function(e){return e===void 0},Ub=function(e){return typeof e=="string"},_c=function(e,t,n){t===void 0&&(t={}),n===void 0&&(n="http://www.w3.org/2000/svg");var r=document.createElementNS(n,e);for(var o in t)r.setAttribute(o,t[o]);return r},zb=function(e,t,n){for(var r=[],o="",s="",i=0,a=t.length;i<a;i++){if(s=t.charAt(i),s===`
|
|
`){r.push(o),o="";continue}o+=s,e.measureText(o).width>n&&(r.push(o.substring(0,o.length-1)),o="",i--)}return r.push(o),r},Wb=function(e,t){return Zt(void 0,void 0,void 0,function(){var n,r,o,s,i,a,l,c,u;return Nt(this,function(f){switch(f.label){case 0:return n=_c("svg",{xmlns:"http://www.w3.org/2000/svg"}),r=document.createElement("div"),r.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),r.style.cssText=`
|
|
text-align: center;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
font: `.concat(e.font,`;
|
|
color: `).concat(t.fontColor,`;
|
|
`),r.innerHTML="<div class='rich-text-content'>".concat(t.content,"</div>"),document.body.appendChild(r),[4,Gb(r)];case 1:return f.sent(),o=(u=r.querySelector(".rich-text-content"))===null||u===void 0?void 0:u.getBoundingClientRect(),s=o==null?void 0:o.width,i=o==null?void 0:o.height,document.body.removeChild(r),a=t.richTextWidth||s||t.width,l=t.richTextHeight||i||t.height,n.setAttribute("width",a.toString()),n.setAttribute("height",l.toString()),c=_c("foreignObject",{width:a.toString(),height:l.toString()}),c.appendChild(r),n.appendChild(c),[2,{element:n,width:a,height:l}]}})})};function Gb(e){return Zt(this,void 0,void 0,function(){var t,n,r,o,s;return Nt(this,function(i){switch(i.label){case 0:t=e.querySelectorAll("img"),n=function(a){var l,c,u,f,d;return Nt(this,function(p){switch(p.label){case 0:if(l=a.getAttribute("src"),!l)return[3,6];p.label=1;case 1:return p.trys.push([1,5,,6]),[4,fetch(l)];case 2:return c=p.sent(),[4,c.blob()];case 3:return u=p.sent(),[4,new Promise(function(v,m){var k=new FileReader;k.onloadend=function(){return v(k.result)},k.onerror=m,k.readAsDataURL(u)})];case 4:return f=p.sent(),Ub(f)&&a.setAttribute("src",f),[3,6];case 5:return d=p.sent(),console.error("Error converting ".concat(l," to base64:"),d),[3,6];case 6:return[2]}})},r=0,o=Array.from(t),i.label=1;case 1:return r<o.length?(s=o[r],[5,n(s)]):[3,4];case 2:i.sent(),i.label=3;case 3:return r++,[3,1];case 4:return[2]}})})}var qb=function(e){var t=e.outerHTML.replace(/<(img|br|input|hr|embed)(.*?)>/g,"<$1$2/>").replace(/\n/g,"").replace(/\t/g,"").replace(/#/g,"%23");return"data:image/svg+xml;charset=utf-8,".concat(t)},Ye=function(e,t){return xt(e)?t:e},bc=function(e,t,n){t===void 0&&(t=void 0),n===void 0&&(n=void 0);var r=new Image;return r.setAttribute("crossOrigin","Anonymous"),!xt(t)&&(r.width=t),!xt(n)&&(r.height=n),r.src=e,new Promise(function(o){r.onload=function(){o(r)}})},Kb=function(e,t,n){return Array.from({length:e},function(){return new Array(t).fill(n)})},yc={width:300,height:300,rotate:45,layout:"default",auxiliaryLine:!1,translatePlacement:"middle",contentType:"text",content:"hello watermark-js-plus",textType:"fill",imageWidth:0,imageHeight:0,lineHeight:30,zIndex:2147483647,backgroundPosition:"0 0",backgroundRepeat:"repeat",fontSize:"20px",fontFamily:"sans-serif",fontStyle:"",fontVariant:"",fontColor:"#000",fontWeight:"normal",filter:"none",letterSpacing:"0px",wordSpacing:"0px",globalAlpha:.5,mode:"default",mutationObserve:!0,monitorProtection:!1,movable:!1,parent:"body",onSuccess:function(){},onBeforeDestroy:function(){},onDestroyed:function(){},onObserveError:function(){}},Yb=function(e,t,n){var r=e.getContext("2d");if(r===null)throw new Error("get context error");r.font="".concat(t.fontStyle," ").concat(t.fontVariant," ").concat(t.fontWeight," ").concat(t.fontSize," ").concat(t.fontFamily),r.filter=t.filter,r.letterSpacing=t.letterSpacing,r.wordSpacing=t.wordSpacing,t!=null&&t.rotate&&(t.rotate=(360-t.rotate%360)*(Math.PI/180)),xt(n.textRowMaxWidth)&&(t.textRowMaxWidth=t.width);var o={image:{rect:{width:t.imageWidth,height:t.imageHeight},position:{x:0,y:0}},textLine:{data:[],yOffsetValue:0},advancedStyleParams:{linear:{x0:0,x1:0},radial:{x0:0,y0:0,r0:0,x1:0,y1:0,r1:0},conic:{x:0,y:0,startAngle:0},pattern:{}}};switch(t.contentType){case"text":o.textLine.data=[t.content];break;case"multi-line-text":o.textLine.data=zb(r,t.content,t.textRowMaxWidth);break}var s=t.width/2,i=t.height/2,a="middle",l="center";switch(!xt(n==null?void 0:n.translateX)&&!xt(n==null?void 0:n.translateY)?(s=n==null?void 0:n.translateX,i=n==null?void 0:n.translateY,a="top",l="left"):(o.advancedStyleParams.linear.x0=-t.width/2,o.advancedStyleParams.linear.x1=t.width/2,o.advancedStyleParams.radial.r0=0,o.advancedStyleParams.radial.r1=t.width/2),n.translatePlacement){case"top":s=t.width/2,i=0,a="top",o.advancedStyleParams.linear.x0=-t.width/2,o.advancedStyleParams.linear.x1=t.width/2,o.advancedStyleParams.radial.y0=o.textLine.data.length*t.lineHeight/2,o.advancedStyleParams.radial.y1=o.textLine.data.length*t.lineHeight/2,o.advancedStyleParams.conic.y=o.textLine.data.length*t.lineHeight/2;break;case"top-start":s=0,i=0,a="top",l="start",o.advancedStyleParams.linear.x0=0,o.advancedStyleParams.linear.x1=t.width,o.advancedStyleParams.radial.x0=t.width/2,o.advancedStyleParams.radial.y0=o.textLine.data.length*t.lineHeight/2,o.advancedStyleParams.radial.x1=t.width/2,o.advancedStyleParams.radial.y1=o.textLine.data.length*t.lineHeight/2,o.advancedStyleParams.conic.x=t.width/2,o.advancedStyleParams.conic.y=o.textLine.data.length*t.lineHeight/2;break;case"top-end":s=t.width,i=0,a="top",l="end",o.advancedStyleParams.linear.x0=0,o.advancedStyleParams.linear.x1=-t.width,o.advancedStyleParams.radial.x0=-t.width/2,o.advancedStyleParams.radial.y0=o.textLine.data.length*t.lineHeight/2,o.advancedStyleParams.radial.x1=-t.width/2,o.advancedStyleParams.radial.y1=o.textLine.data.length*t.lineHeight/2,o.advancedStyleParams.conic.x=-t.width/2,o.advancedStyleParams.conic.y=o.textLine.data.length*t.lineHeight/2;break;case"bottom":s=t.width/2,i=t.height,a="bottom",o.advancedStyleParams.linear.x0=-t.width/2,o.advancedStyleParams.linear.x1=t.width/2,o.advancedStyleParams.radial.y0=-o.textLine.data.length*t.lineHeight/2,o.advancedStyleParams.radial.y1=-o.textLine.data.length*t.lineHeight/2,o.advancedStyleParams.conic.x=0,o.advancedStyleParams.conic.y=-o.textLine.data.length*t.lineHeight/2;break;case"bottom-start":s=0,i=t.height,a="bottom",l="start",o.advancedStyleParams.linear.x0=0,o.advancedStyleParams.linear.x1=t.width,o.advancedStyleParams.radial.x0=t.width/2,o.advancedStyleParams.radial.y0=-o.textLine.data.length*t.lineHeight/2,o.advancedStyleParams.radial.x1=t.width/2,o.advancedStyleParams.radial.y1=-o.textLine.data.length*t.lineHeight/2,o.advancedStyleParams.conic.x=t.width/2,o.advancedStyleParams.conic.y=-o.textLine.data.length*t.lineHeight/2;break;case"bottom-end":s=t.width,i=t.height,a="bottom",l="end",o.advancedStyleParams.linear.x0=0,o.advancedStyleParams.linear.x1=-t.width,o.advancedStyleParams.radial.x0=-t.width/2,o.advancedStyleParams.radial.y0=-o.textLine.data.length*t.lineHeight/2,o.advancedStyleParams.radial.x1=-t.width/2,o.advancedStyleParams.radial.y1=-o.textLine.data.length*t.lineHeight/2,o.advancedStyleParams.conic.x=-t.width/2,o.advancedStyleParams.conic.y=-o.textLine.data.length*t.lineHeight/2;break;case"left":s=0,i=t.height/2,l="start",o.advancedStyleParams.linear.x0=0,o.advancedStyleParams.linear.x1=t.width,o.advancedStyleParams.radial.x0=t.width/2,o.advancedStyleParams.radial.x1=t.width/2,o.advancedStyleParams.conic.x=t.width/2,o.advancedStyleParams.conic.y=0;break;case"right":s=t.width,i=t.height/2,l="end",o.advancedStyleParams.linear.x0=0,o.advancedStyleParams.linear.x1=-t.width,o.advancedStyleParams.radial.x0=-t.width/2,o.advancedStyleParams.radial.x1=-t.width/2,o.advancedStyleParams.conic.x=-t.width/2,o.advancedStyleParams.conic.y=0;break}if(t.translateX=s,t.translateY=i,xt(n==null?void 0:n.textBaseline)&&(t.textBaseline=a),xt(n==null?void 0:n.textAlign)&&(t.textAlign=l),["text","multi-line-text"].includes(t.contentType))switch(t.textBaseline){case"middle":o.textLine.yOffsetValue=(o.textLine.data.length-1)*t.lineHeight/2;break;case"bottom":case"alphabetic":case"ideographic":o.textLine.yOffsetValue=(o.textLine.data.length-1)*t.lineHeight+(t.lineHeight-parseInt(t.fontSize))/2;break;case"top":case"hanging":o.textLine.yOffsetValue=-t.lineHeight/2+parseInt(t.fontSize)/2;break}return o},kc=function(e){typeof window>"u"||e&&(Object.defineProperty(window,"MutationObserver",{writable:!1,configurable:!1}),Object.defineProperty(window,"requestAnimationFrame",{writable:!1,configurable:!1}))},os=function(){function e(t,n){this.props=t,this.options=n,this.canvas=e.createCanvas(this.options.width,this.options.height),this.recommendOptions=Yb(this.canvas,this.options,this.props)}return e.createCanvas=function(t,n){var r,o=window.devicePixelRatio||1,s=document.createElement("canvas");return s.width=t*o,s.height=n*o,s.style.width="".concat(t,"px"),s.style.height="".concat(n,"px"),(r=s.getContext("2d"))===null||r===void 0||r.setTransform(o,0,0,o,0,0),s},e.clearCanvas=function(t){var n=t.getContext("2d");if(n===null)throw new Error("get context error");n.restore(),n.resetTransform(),n.clearRect(0,0,t.width,t.height);var r=window.devicePixelRatio||1;n.setTransform(r,0,0,r,0,0)},e.prototype.getCanvas=function(){return this.canvas},e.prototype.clear=function(){e.clearCanvas(this.canvas)},e.prototype.draw=function(){var t=this,n=this.canvas.getContext("2d");if(n===null)throw new Error("get context error");return this.options.auxiliaryLine&&(n.beginPath(),n.rect(0,0,this.options.width,this.options.height),n.lineWidth=1,n.strokeStyle="#000",n.stroke(),n.closePath(),n.beginPath(),n.rect(this.options.translateX,this.options.translateY,1,1),n.lineWidth=1,n.strokeStyle="#f00",n.stroke(),n.closePath()),this.setStyle(n),n.save(),n.translate(this.options.translateX,this.options.translateY),n.rotate(this.options.rotate),new Promise(function(r){switch(t.options.contentType){case"text":t.drawText(n,r);break;case"image":t.drawImage(n,r);break;case"multi-line-text":t.drawMultiLineText(n,r);break;case"rich-text":t.drawRichText(n,r);break}})},e.prototype.setStyle=function(t){var n,r="fillStyle";this.options.textType==="stroke"&&(r="strokeStyle");var o=this.options.fontColor;if(!((n=this.options)===null||n===void 0)&&n.advancedStyle)switch(this.options.advancedStyle.type){case"linear":o=this.createLinearGradient(t);break;case"radial":o=this.createRadialGradient(t);break;case"conic":o=this.createConicGradient(t);break;case"pattern":o=this.createPattern(t);break}t[r]&&o&&(t[r]=o),this.options.textAlign&&(t.textAlign=this.options.textAlign),this.options.textBaseline&&(t.textBaseline=this.options.textBaseline),t.globalAlpha=this.options.globalAlpha,this.options.shadowStyle&&(t.shadowBlur=Ye(this.options.shadowStyle.shadowBlur,0),t.shadowColor=Ye(this.options.shadowStyle.shadowColor,"#00000000"),t.shadowOffsetX=Ye(this.options.shadowStyle.shadowOffsetX,0),t.shadowOffsetY=Ye(this.options.shadowStyle.shadowOffsetY,0)),Id(this.options.extraDrawFunc)&&this.options.extraDrawFunc(t)},e.prototype.createLinearGradient=function(t){var n,r,o,s,i,a,l,c,u,f,d,p,v,m,k,S=t.createLinearGradient(Ye((o=(r=(n=this.options.advancedStyle)===null||n===void 0?void 0:n.params)===null||r===void 0?void 0:r.linear)===null||o===void 0?void 0:o.x0,this.recommendOptions.advancedStyleParams.linear.x0),Ye((a=(i=(s=this.options.advancedStyle)===null||s===void 0?void 0:s.params)===null||i===void 0?void 0:i.linear)===null||a===void 0?void 0:a.y0,0),Ye((u=(c=(l=this.options.advancedStyle)===null||l===void 0?void 0:l.params)===null||c===void 0?void 0:c.linear)===null||u===void 0?void 0:u.x1,this.recommendOptions.advancedStyleParams.linear.x1),Ye((p=(d=(f=this.options.advancedStyle)===null||f===void 0?void 0:f.params)===null||d===void 0?void 0:d.linear)===null||p===void 0?void 0:p.y1,0));return(k=(m=(v=this.options)===null||v===void 0?void 0:v.advancedStyle)===null||m===void 0?void 0:m.colorStops)===null||k===void 0||k.forEach(function(L){S.addColorStop(L.offset,L.color)}),S},e.prototype.createConicGradient=function(t){var n,r,o,s,i,a,l,c,u,f,d,p,v,m,k,S=t.createConicGradient(Ye((s=(o=(r=(n=this.options)===null||n===void 0?void 0:n.advancedStyle)===null||r===void 0?void 0:r.params)===null||o===void 0?void 0:o.conic)===null||s===void 0?void 0:s.startAngle,0),Ye((c=(l=(a=(i=this.options)===null||i===void 0?void 0:i.advancedStyle)===null||a===void 0?void 0:a.params)===null||l===void 0?void 0:l.conic)===null||c===void 0?void 0:c.x,this.recommendOptions.advancedStyleParams.conic.x),Ye((p=(d=(f=(u=this.options)===null||u===void 0?void 0:u.advancedStyle)===null||f===void 0?void 0:f.params)===null||d===void 0?void 0:d.conic)===null||p===void 0?void 0:p.y,this.recommendOptions.advancedStyleParams.conic.y));return(k=(m=(v=this.options)===null||v===void 0?void 0:v.advancedStyle)===null||m===void 0?void 0:m.colorStops)===null||k===void 0||k.forEach(function(L){S.addColorStop(L.offset,L.color)}),S},e.prototype.createRadialGradient=function(t){var n,r,o,s,i,a,l,c,u,f,d,p,v,m,k,S,L,_,x,N,$,W,re,H,A,q,F,ie=t.createRadialGradient(Ye((s=(o=(r=(n=this.options)===null||n===void 0?void 0:n.advancedStyle)===null||r===void 0?void 0:r.params)===null||o===void 0?void 0:o.radial)===null||s===void 0?void 0:s.x0,this.recommendOptions.advancedStyleParams.radial.x0),Ye((c=(l=(a=(i=this.options)===null||i===void 0?void 0:i.advancedStyle)===null||a===void 0?void 0:a.params)===null||l===void 0?void 0:l.radial)===null||c===void 0?void 0:c.y0,this.recommendOptions.advancedStyleParams.radial.y0),Ye((p=(d=(f=(u=this.options)===null||u===void 0?void 0:u.advancedStyle)===null||f===void 0?void 0:f.params)===null||d===void 0?void 0:d.radial)===null||p===void 0?void 0:p.r0,this.recommendOptions.advancedStyleParams.radial.r0),Ye((S=(k=(m=(v=this.options)===null||v===void 0?void 0:v.advancedStyle)===null||m===void 0?void 0:m.params)===null||k===void 0?void 0:k.radial)===null||S===void 0?void 0:S.x1,this.recommendOptions.advancedStyleParams.radial.x1),Ye((N=(x=(_=(L=this.options)===null||L===void 0?void 0:L.advancedStyle)===null||_===void 0?void 0:_.params)===null||x===void 0?void 0:x.radial)===null||N===void 0?void 0:N.y1,this.recommendOptions.advancedStyleParams.radial.y1),Ye((H=(re=(W=($=this.options)===null||$===void 0?void 0:$.advancedStyle)===null||W===void 0?void 0:W.params)===null||re===void 0?void 0:re.radial)===null||H===void 0?void 0:H.r1,this.recommendOptions.advancedStyleParams.radial.r1));return(F=(q=(A=this.options)===null||A===void 0?void 0:A.advancedStyle)===null||q===void 0?void 0:q.colorStops)===null||F===void 0||F.forEach(function(ge){ie.addColorStop(ge.offset,ge.color)}),ie},e.prototype.createPattern=function(t){var n,r,o,s,i,a,l,c;return t.createPattern((s=(o=(r=(n=this.options)===null||n===void 0?void 0:n.advancedStyle)===null||r===void 0?void 0:r.params)===null||o===void 0?void 0:o.pattern)===null||s===void 0?void 0:s.image,((c=(l=(a=(i=this.options)===null||i===void 0?void 0:i.advancedStyle)===null||a===void 0?void 0:a.params)===null||l===void 0?void 0:l.pattern)===null||c===void 0?void 0:c.repetition)||"")},e.prototype.setText=function(t,n){var r="fillText";this.options.textType==="stroke"&&(r="strokeText"),t[r]&&t[r](n.text,n.x,n.y,n.maxWidth)},e.prototype.drawText=function(t,n){this.setText(t,{text:this.options.content,x:0,y:0-this.recommendOptions.textLine.yOffsetValue,maxWidth:this.options.textRowMaxWidth||this.options.width}),n(t.canvas)},e.prototype.drawImage=function(t,n){var r=this;bc(this.options.image).then(function(o){var s=r.getImageRect(o),i=s.width,a=s.height,l=r.getDrawImagePosition(i,a);t.drawImage(o,l.x,l.y,i,a),n(t.canvas)})},e.prototype.drawMultiLineText=function(t,n){var r=this,o=this.recommendOptions.textLine.data,s=this.recommendOptions.textLine.yOffsetValue;o.forEach(function(i,a){r.setText(t,{text:i,x:0,y:r.options.lineHeight*a-s,maxWidth:r.options.textRowMaxWidth||r.options.width})}),n(t.canvas)},e.prototype.drawRichText=function(t,n){return Zt(this,void 0,void 0,function(){var r,o=this;return Nt(this,function(s){switch(s.label){case 0:return[4,Wb(t,this.options)];case 1:return r=s.sent(),bc(qb(r.element),r.width,r.height).then(function(i){var a=o.getDrawImagePosition(i.width,i.height);t.drawImage(i,a.x,a.y,i.width,i.height),n(t.canvas)}),[2]}})})},e.prototype.getImageRect=function(t){var n={width:this.options.imageWidth||0,height:this.options.imageHeight||0};switch(!0){case(n.width!==0&&n.height===0):n.height=n.width*t.height/t.width;break;case(n.width===0&&n.height!==0):n.width=n.height*t.width/t.height;break;case(n.width===0&&n.height===0):n.width=t.width,n.height=t.height;break}return n},e.prototype.getDrawImagePosition=function(t,n){var r,o,s={x:-t/2,y:-n/2};switch(this.options.translatePlacement){case"top":s.x=-t/2,s.y=0;break;case"top-start":s.x=0,s.y=0;break;case"top-end":s.x=-t,s.y=0;break;case"bottom":s.x=-t/2,s.y=-n;break;case"bottom-start":s.x=0,s.y=-n;break;case"bottom-end":s.x=-t,s.y=-n;break;case"left":s.x=0,s.y=-n/2;break;case"right":s.x=-t,s.y=-n/2;break}return!xt((r=this.props)===null||r===void 0?void 0:r.translateX)&&(s.x=0),!xt((o=this.props)===null||o===void 0?void 0:o.translateY)&&(s.y=0),s},e}(),Qb=function(){function e(t,n){var r,o,s,i;this.options=t,this.partialWidth=this.options.width,this.partialHeight=this.options.height,this.rows=((r=this.options.gridLayoutOptions)===null||r===void 0?void 0:r.rows)||1,this.cols=((o=this.options.gridLayoutOptions)===null||o===void 0?void 0:o.cols)||1,this.matrix=((s=this.options.gridLayoutOptions)===null||s===void 0?void 0:s.matrix)||Kb(this.rows,this.cols,1),this.gap=((i=this.options.gridLayoutOptions)===null||i===void 0?void 0:i.gap)||[0,0],this.partialCanvas=n}return e.prototype.draw=function(){var t,n,r,o,s,i,a,l,c=os.createCanvas(((t=this.options.gridLayoutOptions)===null||t===void 0?void 0:t.width)||this.partialWidth*this.cols+this.gap[0]*this.cols,((n=this.options.gridLayoutOptions)===null||n===void 0?void 0:n.height)||this.partialHeight*this.rows+this.gap[1]*this.rows),u=c.getContext("2d");!((r=this.options.gridLayoutOptions)===null||r===void 0)&&r.backgroundImage&&(u==null||u.drawImage((o=this.options.gridLayoutOptions)===null||o===void 0?void 0:o.backgroundImage,0,0,(s=this.options.gridLayoutOptions)===null||s===void 0?void 0:s.width,(i=this.options.gridLayoutOptions)===null||i===void 0?void 0:i.height));for(var f=0;f<this.rows;f++)for(var d=0;d<this.cols;d++)!((l=(a=this.matrix)===null||a===void 0?void 0:a[f])===null||l===void 0)&&l[d]&&(u==null||u.drawImage(this.partialCanvas,this.partialWidth*d+this.gap[0]*d,this.partialHeight*f+this.gap[1]*f,this.partialWidth,this.partialHeight));return c},e}(),Jb=function(e,t){switch(e.layout){case"grid":return new Qb(e,t).draw();default:return t}},Xb=function(e){var t,n,r;switch(e.layout){case"grid":{var o=((t=e.gridLayoutOptions)===null||t===void 0?void 0:t.cols)||1,s=((n=e.gridLayoutOptions)===null||n===void 0?void 0:n.rows)||1,i=((r=e.gridLayoutOptions)===null||r===void 0?void 0:r.gap)||[0,0];return[e.width*o+i[0]*o,e.height*s+i[1]*s]}default:return[e.width,e.height]}},Zb=function(){function e(t){t===void 0&&(t={}),this.parentElement=document.body,this.isCreating=!1,this.props=t,this.options=wn(wn({},yc),t),this.changeParentElement(this.options.parent),this.watermarkCanvas=new os(this.props,this.options),kc(this.options.monitorProtection)}return e.prototype.changeOptions=function(){return Zt(this,arguments,void 0,function(t,n,r){return t===void 0&&(t={}),n===void 0&&(n="overwrite"),r===void 0&&(r=!0),Nt(this,function(o){switch(o.label){case 0:return this.initConfigData(t,n),kc(this.options.monitorProtection),r?(this.remove(),[4,this.create()]):[3,2];case 1:o.sent(),o.label=2;case 2:return[2]}})})},e.prototype.create=function(){return Zt(this,void 0,void 0,function(){var t,n,r,o,s,i,a,l,c,u,f,d;return Nt(this,function(p){switch(p.label){case 0:return this.isCreating?[2]:(this.isCreating=!0,this.validateUnique()?this.validateContent()?(t=xt(this.watermarkDom),[4,(i=this.watermarkCanvas)===null||i===void 0?void 0:i.draw()]):(this.isCreating=!1,[2]):(this.isCreating=!1,[2]));case 1:if(p.sent(),this.layoutCanvas=Jb(this.options,(a=this.watermarkCanvas)===null||a===void 0?void 0:a.getCanvas()),n=Ad(this.layoutCanvas),(l=this.watermarkCanvas)===null||l===void 0||l.clear(),this.watermarkDom=document.createElement("div"),r=document.createElement("div"),this.watermarkDom.__WATERMARK__="watermark",this.watermarkDom.__WATERMARK__INSTANCE__=this,o=this.checkParentElementType(),this.watermarkDom.style.cssText=`
|
|
z-index:`.concat(this.options.zIndex,`!important;display:block!important;visibility:visible!important;transform:none!important;scale:none!important;
|
|
`).concat(o==="custom"?"top:0!important;bottom:0!important;left:0!important;right:0!important;height:100%!important;pointer-events:none!important;position:absolute!important;":"position:relative!important;",`
|
|
`),s=Xb(this.options),r.style.cssText=`
|
|
display:block!important;visibility:visible!important;pointer-events:none;top:0;bottom:0;left:0;right:0;transform:none!important;scale:none!important;
|
|
position:`.concat(o==="root"?"fixed":"absolute",`!important;-webkit-print-color-adjust:exact!important;width:100%!important;height:100%!important;
|
|
z-index:`).concat(this.options.zIndex,"!important;background-image:url(").concat(n,")!important;background-repeat:").concat(this.options.backgroundRepeat,`!important;
|
|
background-size:`).concat(s[0],"px ").concat(s[1],"px!important;background-position:").concat(this.options.backgroundPosition,`;
|
|
`).concat(this.options.movable?"animation: 200s ease 0s infinite normal none running watermark !important;":"",`
|
|
`),this.watermarkDom.appendChild(r),this.parentElement.appendChild(this.watermarkDom),this.options.mutationObserve)try{this.bindMutationObserve()}catch{(u=(c=this.options).onObserveError)===null||u===void 0||u.call(c)}return t&&((d=(f=this.options).onSuccess)===null||d===void 0||d.call(f)),this.isCreating=!1,[2]}})})},e.prototype.destroy=function(){this.remove(),this.watermarkDom=void 0},e.prototype.check=function(){return Zt(this,void 0,void 0,function(){return Nt(this,function(t){return[2,this.parentElement.contains(this.watermarkDom)]})})},e.prototype.remove=function(){var t,n,r,o,s,i,a,l;(n=(t=this.options).onBeforeDestroy)===null||n===void 0||n.call(t),(r=this.observer)===null||r===void 0||r.disconnect(),(o=this.parentObserve)===null||o===void 0||o.disconnect(),this.unbindCheckWatermarkElementEvent(),(i=(s=this.watermarkDom)===null||s===void 0?void 0:s.parentNode)===null||i===void 0||i.removeChild(this.watermarkDom),(l=(a=this.options).onDestroyed)===null||l===void 0||l.call(a)},e.prototype.initConfigData=function(t,n){var r=this;n===void 0&&(n="overwrite"),n==="append"?Object.keys(t).forEach(function(o){r.props&&(r.props[o]=t[o])}):this.props=t,this.options=wn(wn({},yc),this.props),this.changeParentElement(this.options.parent),this.watermarkCanvas=new os(this.props,this.options)},e.prototype.changeParentElement=function(t){if(typeof t=="string"){var n=document.querySelector(t);n&&(this.parentElement=n)}else this.parentElement=t;this.parentElement||console.error("[WatermarkJsPlus]: please pass a valid parent element.")},e.prototype.validateUnique=function(){var t=!0;return Array.from(this.parentElement.childNodes).forEach(function(n){t&&Object.hasOwnProperty.call(n,"__WATERMARK__")&&(t=!1)}),t},e.prototype.validateContent=function(){switch(this.options.contentType){case"image":return Object.hasOwnProperty.call(this.options,"image");case"multi-line-text":case"rich-text":case"text":return this.options.content.length>0}},e.prototype.checkParentElementType=function(){return["html","body"].includes(this.parentElement.tagName.toLocaleLowerCase())?"root":"custom"},e.prototype.checkWatermarkElement=function(){return Zt(this,void 0,void 0,function(){return Nt(this,function(t){switch(t.label){case 0:return this.parentElement.contains(this.watermarkDom)?[3,2]:(this.remove(),[4,this.create()]);case 1:t.sent(),t.label=2;case 2:return this.bindCheckWatermarkElementEvent(),[2]}})})},e.prototype.bindMutationObserve=function(){var t=this;this.watermarkDom&&(this.bindCheckWatermarkElementEvent(),this.observer=new MutationObserver(function(n){return Zt(t,void 0,void 0,function(){return Nt(this,function(r){switch(r.label){case 0:return n.length>0?(this.remove(),[4,this.create()]):[3,2];case 1:r.sent(),r.label=2;case 2:return[2]}})})}),this.observer.observe(this.watermarkDom,{attributes:!0,childList:!0,subtree:!0,characterData:!0}),this.parentObserve=new MutationObserver(function(n){return Zt(t,void 0,void 0,function(){var r,o,s,i;return Nt(this,function(a){switch(a.label){case 0:r=0,o=n,a.label=1;case 1:return r<o.length?(s=o[r],(s==null?void 0:s.target)===this.watermarkDom||((i=s==null?void 0:s.removedNodes)===null||i===void 0?void 0:i[0])===this.watermarkDom||s.type==="childList"&&s.target===this.parentElement&&s.target.lastChild!==this.watermarkDom?(this.remove(),[4,this.create()]):[3,3]):[3,4];case 2:a.sent(),a.label=3;case 3:return r++,[3,1];case 4:return[2]}})})}),this.parentObserve.observe(this.parentElement,{attributes:!0,childList:!0,subtree:!0,characterData:!0}))},e.prototype.bindCheckWatermarkElementEvent=function(){this.unbindCheckWatermarkElementEvent(),this.checkWatermarkElementRequestID=requestAnimationFrame(this.checkWatermarkElement.bind(this))},e.prototype.unbindCheckWatermarkElementEvent=function(){xt(this.checkWatermarkElementRequestID)||cancelAnimationFrame(this.checkWatermarkElementRequestID)},e}();(function(e){Fb(t,e);function t(n){n===void 0&&(n={});var r={globalAlpha:.005,mode:"blind"};return e.call(this,wn(wn({},n),r))||this}return t.decode=function(n){var r=n.url,o=r===void 0?"":r,s=n.fillColor,i=s===void 0?"#000":s,a=n.compositeOperation,l=a===void 0?"color-burn":a,c=n.mode,u=c===void 0?"canvas":c,f=n.compositeTimes,d=f===void 0?3:f,p=n.onSuccess;if(o&&u==="canvas"){var v=new Image;v.src=o,v.addEventListener("load",function(){var m=v.width,k=v.height,S=os.createCanvas(m,k),L=S.getContext("2d");if(!L)throw new Error("get context error");L.drawImage(v,0,0,m,k),L.globalCompositeOperation=l,L.fillStyle=i;for(var _=0;_<d;_++)L.fillRect(0,0,m,k);var x=Ad(S);Id(p)&&(p==null||p(x))})}},t})(Zb);const Js=G({}),ey=e=>{$e(e)?me(e,t=>{Js.value=t},{immediate:!0}):Hm(e)?me(e,t=>{Js.value=t}):Js.value=e};var ty={"/":{home:"首页",blog:"博客",tag:"标签",archive:"归档",category:"分类"},"/en/":{home:"Home",blog:"Blog",tag:"Tags",archive:"Archives",category:"Categories"}},Vd=Symbol(""),ny=G(Pb);function xa(){return ny}function ry(){const e=He(Vd);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e}function oy(e,t){const{locales:n,...r}=e;return{...r,...n==null?void 0:n[t]}}function sy(e){const t=xa(),n=e._context.provides[ba],r=P(()=>oy(t.value,n.routeLocale.value));e.provide(Vd,r),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return r.value}}})}var Md=Symbol("");function iy(e){const t=xa(),n=t.value.transition,r=typeof n=="object"?n.appearance===!1:n===!1,o=t.value.appearance,s=o==="force-dark"?G(!0):o?X_({storageKey:"vuepress-theme-appearance",attribute:"data-theme",valueLight:"light",valueDark:"dark",disableTransition:r,initialValue:()=>typeof o=="string"?o:"auto",...typeof o=="object"?o:{}}):G(!1);e.provide(Md,s),Object.defineProperty(e.config.globalProperties,"$isDark",{get:()=>s})}function bs(){const e=He(Md);if(!e)throw new Error("useDarkMode() is called without provider.");return e}function oe(){const e=ry(),t=ya(),n=ka(),r=p_(),o=bs(),s=Lr();return{theme:e,page:t,frontmatter:n,lang:s,site:r,isDark:o}}var ay=G(ly($b));function Rd(){return ay}function ly([e,t,n,r,o]){return{global:e,separator:t,matches:r,admins:n.split(t),ruleList:Object.keys(o).map(s=>({key:s,match:r[s],rules:o[s].split(t)}))}}var $d=Symbol(""),rn=fd("2a0a3d6afb2fdf1f",()=>({s:[Mi(10),Mi(10)],g:"",p:{}}));function wc(e){const[t,n]=rn.value.s;return t+e+n}function Xs(e){const[t,n]=rn.value.s;return!e.startsWith(t)||!e.endsWith(n)?"":e.slice(t.length,e.length-n.length)}var Vo=new Map;async function Sc(e,t,n=":"){const r=[e,t].join(n);if(Vo.has(r))return Vo.get(r);try{const o=await Rb(e,t);return Vo.set(r,o),o}catch{return Vo.set(r,!1),!1}}var Zs=new Map;function cy(e){if(Zs.has(e))return Zs.get(e);const t=new RegExp(e);return Zs.set(e,t),t}function $i(e,t,n){const r=n||"";if(e[0]==="^"){const o=cy(e);return o.test(t)||r&&o.test(r)}return e.endsWith(".md")?r&&r.endsWith(e):t.startsWith(e)||r.startsWith(e)}function uy(){const{page:e}=oe(),t=at(),n=Rd(),r=P(()=>{const a=t.path,l=e.value.filePathRelative;return n.value.ruleList.length?n.value.matches.some(c=>$i(c,a,l)):!1}),o=P(()=>{if(!n.value.global)return!0;const a=Xs(rn.value.g);return!!a&&n.value.admins.includes(a)}),s=P(()=>{const a=t.path,l=e.value.filePathRelative;return n.value.ruleList.length?n.value.ruleList.filter(c=>$i(c.match,a,l)):[]}),i=P(()=>{if(!r.value)return!0;const a=Xs(rn.value.p.__GLOBAL__||"");if(a&&n.value.admins.includes(a))return!0;for(const{key:l,rules:c}of s.value)if(E_(rn.value.p,l)){const u=Xs(rn.value.p[l]);if(u&&c.includes(u))return!0}return!1});sn($d,{hasPageEncrypt:r,isGlobalDecrypted:o,isPageDecrypted:i,hashList:s})}function ys(){const e=He($d);if(!e)throw new Error("useEncrypt() is called without setup");return e}function fy(){const e=Rd(),{page:t}=oe(),n=at(),{hashList:r}=ys();async function o(i){if(!i)return!1;for(const a of e.value.admins)if(await Sc(i,a,e.value.separator))return rn.value.g=wc(a),!0;return!1}async function s(i){if(!i)return!1;const a=n.path,l=t.value.filePathRelative;let c=!1;for(const{match:u,key:f,rules:d}of r.value)if($i(u,a,l)){for(const p of d)if(await Sc(i,p,e.value.separator)){c=!0,rn.value.p={...rn.value.p,[f]:wc(p)};break}if(c)break}return c||(c=await o(i)),c}return{compareGlobal:o,comparePage:s}}var{__auto__:dy,...py}=_b,Bd=G(py),Uo=G(dy),Nd=Symbol("");function hy(){const{page:e,frontmatter:t}=oe(),n=On(),r=P(()=>t.value.pageLayout!=="home"&&t.value.pageLayout!=="friends"&&t.value.sidebar!==!1&&t.value.layout!=="NotFound"),o=P(()=>r.value?vy(typeof t.value.sidebar=="string"?t.value.sidebar:e.value.path,n.value):[]);sn(Nd,o)}function jd(){const e=He(Nd);if(!e)throw new Error("useSidebarData() is called without provider.");return e}function vy(e,t){const n=Bd.value[t];if(n==="auto")return nr(Uo.value[t]);if(Ai(n))return nr(n,t);if(gr(n)){e=decodeURIComponent(e);const r=Object.keys(n).sort((s,i)=>i.split("/").length-s.split("/").length).find(s=>e.startsWith(`${t}${ma(s)}`))||"",o=r?n[r]:void 0;if(o==="auto")return nr(r?Uo.value[r]:[],t);if(Ai(o))return nr(o,r);if(gr(o)){const s=Ld(r,o.prefix);return nr(o.items==="auto"?Uo.value[s]:o.items,s)}}return[]}function nr(e,t=""){const n=[];return e.forEach(r=>{if(Ot(r))n.push(ns(Tn(t,r)));else{const{link:o,items:s,prefix:i,dir:a,...l}=r,c={...l};if(o){c.link=Tn(t,o);const f=ns(c.link);c.icon=f.icon}const u=Ld(t,i||a);s==="auto"?c.items=Uo.value[u]:c.items=s!=null&&s.length?nr(s,u):void 0,n.push(c)}}),n}function my(e){const t=[];let n=0;for(const r in e){const o=e[r];if(o.items){n=t.push(o);continue}t[n]||t.push({items:[]}),t[n].items.push(o)}return t}function Bi(e,t){return Array.isArray(t)?t.some(n=>Bi(e,n)):kr(e,t.link?An(t.link):void 0)?!0:t.items?Bi(e,t.items):!1}var gy=Bi;function Wt(){const{theme:e,frontmatter:t,page:n}=oe(),r=On(),o=Ft("(min-width: 960px)"),{isPageDecrypted:s}=ys(),i=G(!1),a=P(()=>{const S=Bd.value[r.value];return!S||S==="auto"||Ai(S)?r.value:Object.keys(S).sort((L,_)=>_.split("/").length-L.split("/").length).find(L=>n.value.path.startsWith(Ef(L)))||""}),l=jd(),c=P(()=>t.value.sidebar!==!1&&l.value.length>0&&t.value.pageLayout!=="home"),u=P(()=>t.value.pageLayout==="home"||t.value.home||t.value.pageLayout==="friends"||t.value.friends||!s.value?!1:t.value.aside!=null?!!t.value.aside:e.value.aside!==!1),f=P(()=>u.value?t.value.aside==null?e.value.aside==="left":t.value.aside==="left":!1),d=P(()=>c.value&&o.value),p=P(()=>c.value?my(l.value):[]),v=()=>{i.value=!0},m=()=>{i.value=!1};return{isOpen:i,sidebar:l,sidebarKey:a,sidebarGroups:p,hasSidebar:c,hasAside:u,leftAside:f,isSidebarEnabled:d,open:v,close:m,toggle:()=>{i.value?m():v()}}}function _y(e,t){let n;Gn(()=>{n=e.value?document.activeElement:void 0}),Re(()=>{window.addEventListener("keyup",r)}),zt(()=>{window.removeEventListener("keyup",r)});function r(o){o.key==="Escape"&&e.value&&(t(),n==null||n.focus())}}function by(e){const{page:t}=oe(),n=at(),r=G(!1),o=P(()=>e.value.collapsed!=null),s=P(()=>!!e.value.link),i=G(!1),a=()=>{i.value=kr(t.value.path,e.value.link?An(e.value.link):void 0)};me([()=>t.value.path,e,()=>n.hash],a),Re(a);const l=P(()=>i.value?!0:e.value.items?gy(t.value.path,e.value.items):!1),c=P(()=>!!(e.value.items&&e.value.items.length));return Gn(()=>{r.value=!!(o.value&&e.value.collapsed)}),me(()=>[t.value.path,i.value,l.value],()=>{(i.value||l.value)&&(r.value=!1)},{immediate:!0,flush:"post"}),{collapsed:r,collapsible:o,isLink:s,isActiveLink:i,hasActiveLink:l,hasChildren:c,toggle:()=>{o.value&&(r.value=!r.value)}}}function yy(){const{hasSidebar:e}=Wt(),t=Ft("(min-width: 960px)"),n=Ft("(min-width: 1280px)");return{isAsideEnabled:P(()=>!n.value&&!t.value?!1:e.value?n.value:t.value)}}var Dd=G(Bb);function Hd(){return Dd}function yo(){const e=Lr();return P(()=>Dd.value.filter(t=>t.lang===e.value))}function ky(){const e=yo();return{archives:P(()=>{const n=[];return e.value.forEach(r=>{var a;const o=((a=r.createTime)==null?void 0:a.split(" ")[0])||"",s=o.split("/")[0];let i=n.find(l=>l.label===s);i||(i={label:s,list:[]},n.push(i)),i.list.push({title:r.title,path:r.path,createTime:o.slice(s.length+1).replace(/\//g,"-")})}),n})}}function Fd(){const e=yo();return{categories:P(()=>{const n=[];return e.value.forEach(r=>{const o=r.categoryList;if(!o||o.length===0)n.push({type:"post",title:r.title,path:r.path});else{let s=n,i=0;for(;i<o.length;){const{id:a,name:l,sort:c}=o[i],u=s.find(f=>f.type==="category"&&f.id===a);if(u)s=u.items;else{const f=[];s.push({type:"category",title:l,id:a,sort:c,items:f}),s=f}i++}s.push({type:"post",title:r.title,path:r.path})}}),Ud(n)})}}function Ud(e){for(const t of e)t.type==="category"&&t.items.length&&(t.items=Ud(t.items));return e.sort((t,n)=>t.type==="category"&&n.type==="category"?t.sort<n.sort?-1:1:t.type==="category"&&n.type==="post"?-1:t.type==="post"&&n.type==="category"?1:0)}var ei=new WeakMap;function zd(e,t,n={}){const{mode:r="replace",route:o=at(),router:s=Cr(),transform:i=f=>f}=n;ei.has(s)||ei.set(s,new Map);const a=ei.get(s);let l=o.query[e];In(()=>{l=void 0});let c;const u=sa((f,d)=>(c=d,{get(){return f(),i(l!==void 0?l:lr(t))},set(p){l!==p&&(l=p,a.set(e,p),d(),Vt(()=>{if(a.size===0)return;const v=Object.fromEntries(a.entries());a.clear();const{query:m,hash:k,path:S}=o;s[lr(r)]({path:S,query:{...m,...v},hash:k})}))}}));return me(()=>o.query[e],f=>{l=f,c()},{flush:"sync"}),u}var wy=G(Nb),Ta=()=>wy;function Wd(){const{theme:e}=oe(),t=yo(),n=Ta(),r=P(()=>{const l=(e.value.blog||{}).tagsTheme??"colored",c={};return t.value.forEach(u=>{u.tags&&Ii(u.tags).forEach(f=>{c[f]?c[f]+=1:c[f]=1})}),Object.keys(c).map(u=>({name:u,count:c[u]>99?"99+":c[u],className:n.value[u]?`vp-tag-${n.value[u]}`:`tag-${l}`}))}),o=zd("tag"),s=P(()=>o.value?t.value.filter(a=>a.tags?Ii(a.tags).includes(o.value):!1).map(a=>({title:a.title,path:a.path,createTime:a.createTime.split(" ")[0].replace(/\//g,"-")})):[]);return{tags:r,currentTag:o,postList:s,handleTagClick:a=>{o.value=a}}}var Pc=ty;function Sy(e,t){var n;return((n=Pc[e])==null?void 0:n[t])||Pc["/"][t]}function Kn(){const{theme:e}=oe(),t=On();function n(c,u){return{link:(t.value+u).replace(/\/+/g,"/"),text:Sy(t.value,c)}}const r=P(()=>e.value.blog||{}),o=P(()=>n("home","/")),s=P(()=>r.value.postList!==!1?n("blog",r.value.link||"blog/"):o.value),i=P(()=>r.value.tags!==!1?n("tag",r.value.tagsLink||"blog/tags/"):void 0),a=P(()=>r.value.archives!==!1?n("archive",r.value.archivesLink||"blog/archives/"):void 0),l=P(()=>r.value.categories!==!1?n("category",r.value.categoriesLink||"blog/categories/"):void 0);return{home:o,blog:s,tags:i,archive:a,categories:l}}function Gd(){const{theme:e}=oe(),t=yo(),{tags:n}=Wd(),{categories:r}=Fd(),o=P(()=>e.value.blog||{}),s=Kn(),i=P(()=>o.value.archives!==!1||o.value.tags!==!1||o.value.categories!==!1),a=P(()=>{var u,f;return{link:(u=s.tags.value)==null?void 0:u.link,text:(f=s.tags.value)==null?void 0:f.text,total:n.value.length}}),l=P(()=>{var u,f;return{link:(u=s.archive.value)==null?void 0:u.link,text:(f=s.archive.value)==null?void 0:f.text,total:t.value.length}}),c=P(()=>{var u,f;return{link:(u=s.categories.value)==null?void 0:u.link,text:(f=s.categories.value)==null?void 0:f.text,total:qd(r.value)}});return{hasBlogExtract:i,tags:a,archives:l,categories:c}}function qd(e){let t=0;for(const n of e)n.type==="category"&&(t+=1,n.items.length&&(t+=qd(n.items)));return t}var Py=15;function xy(e){const{theme:t}=oe(),n=yo(),r=P(()=>t.value.blog||{}),o=Ft("(max-width: 960px)"),s=P(()=>{const m=n.value.filter(S=>S.sticky===!0||typeof S.sticky=="number"),k=n.value.filter(S=>S.sticky===void 0||S.sticky===!1);return[...m.sort((S,L)=>L.sticky===!0&&S.sticky===!0?0:L.sticky>S.sticky?1:-1),...k]}),i=zd("p",1,{mode:"push",transform(m){const k=Number(m);return!Number.isNaN(k)&&k>0?k:1}}),a=P(()=>{var m;return r.value.pagination===!1?0:typeof r.value.pagination=="number"?r.value.pagination:((m=r.value.pagination)==null?void 0:m.perPage)||Py}),l=P(()=>r.value.pagination===!1?0:Math.ceil(s.value.length/a.value)),c=P(()=>i.value>=l.value),u=P(()=>i.value<=1),f=P(()=>r.value.pagination!==!1&&l.value>1),d=P(()=>r.value.pagination===!1||s.value.length<=a.value?s.value:s.value.slice((i.value-1)*a.value,i.value*a.value)),p=P(()=>{let m=[];const k=l.value,S=i.value,L=o.value?4:5;if(k<=0)return m;if(k<=10)m=Array.from({length:k},(_,x)=>({value:x+1}));else{let _=1,x=!1;for(;_<=k;)S<=L&&_<=L||S>=k-(L-1)&&_>=k-(L-1)?(x=!1,m.push({value:_})):_<=2||_>=k-1?(x=!1,m.push({value:_})):(S>L+1||S<k-(L+1))&&S-_<L-2&&_-S<L-2?(x=!1,m.push({value:_})):x||(x=!0,m.push({value:_,more:!0})),_++}return m});return{postList:d,page:i,totalPage:l,pageRange:p,isLastPage:c,isFirstPage:u,isPaginationEnabled:f,changePage:m=>{i.value!==m&&(i.value=m,setTimeout(()=>{var S;let k=0;e.value&&(k=((S=document.querySelector(".vp-blog"))==null?void 0:S.getBoundingClientRect().top)||0,k+=window.scrollY-64),window.scrollTo({top:k,behavior:"instant"})},0))}}}var $r=G(!1);function Ty(){const{theme:e}=oe();return P(()=>e.value.bulletin===!0?{}:e.value.bulletin)}function Cy(){const e=fd("plume:bulletin",""),t=n0("plume:bulletin",""),{page:n}=oe(),r=Ty(),o=P(()=>n.value.bulletin??!0);me(()=>{var i;return(i=r.value)==null?void 0:i.lifetime},i=>{var l;const a=(l=r.value)==null?void 0:l.id;i==="session"?$r.value=e.value!==a:i==="once"?$r.value=t.value!==a:$r.value=!0},{immediate:!0});function s(){var l,c;$r.value=!1;const i=(l=r.value)==null?void 0:l.lifetime,a=(c=r.value)==null?void 0:c.id;i==="session"?e.value=a:i==="once"&&(t.value=a)}return{bulletin:r,enableBulletin:o,showBulletin:$r,close:s}}function Ly(){const{theme:e,page:t,frontmatter:n}=oe();return P(()=>{var i;const r=n.value.contributors??e.value.contributors??!0;if(r===!1)return[];const o=r===!0?[]:Ii(r),s=(((i=t.value.git)==null?void 0:i.contributors)??[]).map(({name:a})=>a);return Array.from(new Set([...s,...o]))})}function Kd(){const{theme:e,page:t,frontmatter:n}=oe();return P(()=>{if(!(n.value.editLink??e.value.editLink??!0))return null;const{docsRepo:o,docsBranch:s="main",docsDir:i="",editLinkText:a}=e.value;if(!o)return null;const l=wb({docsRepo:o,docsBranch:s,docsDir:i,filePathRelative:t.value.filePathRelative,editLinkPattern:n.value.editLinkPattern??e.value.editLinkPattern});return l?{text:a??"Edit this page",link:l}:null})}var Ca=G(),Yd=!1,ti=0;function Ey(e){const t=G(!1);if(Ut){Yd||Oy(),ti++;const n=me(Ca,r=>{var o,s,i;r===e.el.value||(o=e.el.value)!=null&&o.contains(r)?(t.value=!0,(s=e.onFocus)==null||s.call(e)):(t.value=!1,(i=e.onBlur)==null||i.call(e))});zt(()=>{n(),ti--,ti||Ay()})}return Pr(t)}function Oy(){document.addEventListener("focusin",Qd),Yd=!0,Ca.value=document.activeElement}function Ay(){document.removeEventListener("focusin",Qd)}function Qd(){Ca.value=document.activeElement}var Mo={r:{value:200,offset:36},g:{value:200,offset:36},b:{value:200,offset:36}},ni={r:{value:32,offset:36},g:{value:32,offset:36},b:{value:32,offset:36}};function Iy(e,t,n){const r=bs();let o=null,s=0,i;const a=P(()=>{const p=r.value?ni:Mo;if(!n.value)return p;const v=n.value;if(typeof v=="string"||typeof v=="number"){if(r.value)return ni;const m=xc(v);return m.length!==3?Mo:Tc(m)}if(typeof v=="object"){if("r"in v)return r.value?ni:Cc({...Mo,...v});const m=r.value?"dark":"light";if(m in v){const k=v[m];if(typeof k=="string"||typeof k=="number"){const S=xc(k);return S.length!==3?Mo:Tc(S)}return Cc({...p,...v})}}return p});Re(()=>{e.value&&t.value&&(o=e.value.getContext("2d"),i&&window.cancelAnimationFrame(i),l())}),zt(()=>{i&&window.cancelAnimationFrame(i)});function l(){for(let p=0;p<=35;p++)for(let v=0;v<=35;v++)c(p,v,u(p,v,s),f(p,v,s),d(p,v,s));s=s+.02,i=window.requestAnimationFrame(l)}function c(p,v,m,k,S){o&&(o.fillStyle=`rgb(${m},${k},${S})`,o.fillRect(p,v,1,1))}function u(p,v,m){const k=a.value.r;return Math.floor(k.value+k.offset*Math.cos((p*p-v*v)/300+m))}function f(p,v,m){const k=a.value.g;return Math.floor(k.value+k.offset*Math.sin((p*p*Math.cos(m/4)+v*v*Math.sin(m/3))/300))}function d(p,v,m){const k=a.value.b;return Math.floor(k.value+k.offset*Math.sin(5*Math.sin(m/9)+((p-100)*(p-100)+(v-100)*(v-100))/1100))}}function xc(e){return typeof e=="number"||Number(e)===Number.parseInt(e)?[e,e,e].map(t=>Number(t)):e.includes(",")?e.replace(/\s/g,"").split(",").map(t=>Number(t)):[]}function Tc([e,t,n]){return{r:ri(e),g:ri(t),b:ri(n)}}function ri(e){const t=256-e;return{value:e,offset:t>64?64:t}}function Cc(e){return Object.keys(e).forEach(t=>{const n=e[t];n.value=Number(n.value),n.offset=Number(n.offset)}),e}var Vy=G(jb),My=()=>Vy;function Yn(){const{page:e}=oe(),t=Hd(),n=P(()=>t.value.some(o=>o.path===e.value.path)),r=P(()=>{const o=e.value.type;return o==="blog"||o==="blog-archives"||o==="blog-tags"||o==="blog-categories"});return{isBlogPost:n,isBlogLayout:r}}function La({removeCurrent:e=!0}={}){const t=xa(),{page:n}=oe(),r=On(),{isBlogPost:o}=Yn(),s=P(()=>{var c,u;const l=r.value;return{label:(u=(c=t.value.locales)==null?void 0:c[l])==null?void 0:u.selectLanguageName,link:l}}),i=l=>{const u=(n.value.filePathRelative?`/${n.value.filePathRelative}`:n.value.path).slice(r.value.length),f=Tn(l,u),{notFound:d,path:p}=yr(f);if(!d)return p;const v=t.value.blog;if(o.value&&v!==!1)return ut((v==null?void 0:v.link)||Tn(l,"blog/"));const m=ut(t.value.home||"/"),k=yr(ut(l));return k.notFound?m:k.path};return{localeLinks:P(()=>Object.entries(t.value.locales||{}).flatMap(([l,c])=>e&&s.value.label===c.selectLanguageName?[]:{text:c.selectLanguageName,link:i(l)})),currentLang:s}}function Ry(){const{theme:e,page:t,frontmatter:n}=oe(),r=Lr(),o=P(()=>{var l;return(l=t.value.git)!=null&&l.updatedTime?new Date(t.value.git.updatedTime):null}),s=P(()=>{var l;return(l=o.value)==null?void 0:l.toISOString()}),i=G(""),a=P(()=>{var l;if(e.value.lastUpdated!==!1)return((l=e.value.lastUpdated)==null?void 0:l.text)||e.value.lastUpdatedText||"Last updated"});return Re(()=>{Gn(()=>{var l,c,u;n.value.lastUpdated===!1||e.value.lastUpdated===!1||(i.value=o.value?new Intl.DateTimeFormat((c=(l=e.value.lastUpdated)==null?void 0:l.formatOptions)!=null&&c.forceLocale?r.value:void 0,((u=e.value.lastUpdated)==null?void 0:u.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(o.value):"")})}),{datetime:i,isoDatetime:s,lastUpdatedText:a}}var $y=/\.md(?:(?:#|\?).*)?$/;function Jd(e,t){const n=at(),{page:r}=oe(),o=P(()=>{const i=lr(e),a=lr(t);return i&&Am(i)||a==="_blank"}),s=P(()=>{const i=lr(e);if(!i)return;if(o.value)return i;const a=i.startsWith("./")&&$y.test(i)?`/${r.value.filePathRelative}`:n.path,l=An(i,a);return l.includes("#")&&l.slice(0,l.indexOf("#"))===n.path?l.slice(l.indexOf("#")):l});return{isExternal:o,link:s}}function Xd(){const{theme:e}=oe();return P(()=>Zd(e.value.navbar||[]))}function Zd(e,t=""){const n=[];return e.forEach(r=>{if(typeof r=="string")n.push(ns(Tn(t,r)));else{const{items:o,prefix:s,...i}=r,a={...i};"link"in a&&(a.link=Tn(t,a.link)),o!=null&&o.length&&(a.items=Zd(o,Tn(t,s))),n.push(a)}}),n}function By(){const e=G(!1);function t(){e.value=!0,window.addEventListener("resize",o)}function n(){e.value=!1,window.removeEventListener("resize",o)}function r(){e.value?n():t()}function o(){window.outerWidth>=768&&n()}const s=at();return me(()=>s.path,n),{isScreenOpen:e,openScreen:t,closeScreen:n,toggleScreen:r}}var Ni=[],ep=Symbol("");function Ny(){const{frontmatter:e,theme:t}=oe(),n=G([]);return w_(()=>{n.value=jy(e.value.outline??t.value.outline)}),sn(ep,n),n}function Ea(){const e=He(ep);if(!e)throw new Error("useHeaders() is called without provider.");return e}function jy(e){const t=Array.from(document.querySelectorAll(".vp-doc :where(h1,h2,h3,h4,h5,h6)")).filter(n=>n.id&&n.hasChildNodes()).map(n=>{const r=Number(n.tagName[1]);return{element:n,title:Dy(n),link:`#${n.id}`,level:r}});return Hy(t,e)}function Dy(e){const t=e.firstChild,n=t==null?void 0:t.firstChild;let r="";for(const s of Array.from((n==null?void 0:n.childNodes)??[]))if(s.nodeType===1){if(s.classList.contains("vp-badge")||s.classList.contains("ignore-header"))continue;r+=s.textContent}else s.nodeType===3&&(r+=s.textContent);let o=t==null?void 0:t.nextSibling;for(;o;)(o.nodeType===1||o.nodeType===3)&&(r+=o.textContent),o=o.nextSibling;return r.trim()}function Hy(e,t){if(t===!1)return[];const n=t||2,[r,o]=typeof n=="number"?[n,n]:n==="deep"?[2,6]:n;e=e.filter(i=>i.level>=r&&i.level<=o),Ni.length=0;for(const{element:i,link:a}of e)Ni.push({element:i,link:a});const s=[];e:for(let i=0;i<e.length;i++){const a=e[i];if(i===0)s.push(a);else{for(let l=i-1;l>=0;l--){const c=e[l];if(c.level<a.level){(c.children||(c.children=[])).push(a);continue e}}s.push(a)}}return s}function Fy(e,t){const{isAsideEnabled:n}=yy(),r=Cr(),o=G(r.currentRoute.value.hash);let s=null;const i=()=>{if(!n.value)return;const c=window.scrollY,u=window.innerHeight,f=document.body.offsetHeight,d=Math.abs(c+u-f)<1,p=Ni.map(({element:m,link:k})=>({link:k,top:Uy(m)})).filter(({top:m})=>!Number.isNaN(m)).sort((m,k)=>m.top-k.top);if(!p.length){a(null);return}if(c<1){a(null);return}if(d){a(p[p.length-1].link);return}let v=null;for(const{link:m,top:k}of p){if(k>c+88)break;v=m}a(v)};function a(c){var f;o.value=c||"",s&&s.classList.remove("active"),c==null?s=null:s=((f=e.value)==null?void 0:f.querySelector(`a[href="${decodeURIComponent(c)}"]`))??null;const u=s;u?(u.classList.add("active"),t.value&&(t.value.style.top=`${u.offsetTop+39}px`,t.value.style.opacity="1")):t.value&&(t.value.style.top="33px",t.value.style.opacity="0")}const l=$_(i,100);j_(o,()=>{zy(r,o.value)},{debounce:500}),Re(()=>{requestAnimationFrame(i),window.addEventListener("scroll",l)}),zu(()=>{a(location.hash)}),zt(()=>{window.removeEventListener("scroll",l)})}function Uy(e){let t=0;for(;e!==document.body;){if(e===null)return Number.NaN;t+=e.offsetTop,e=e.offsetParent}return t}async function zy(e,t){const{path:n,query:r}=e.currentRoute.value,{scrollBehavior:o}=e.options;e.options.scrollBehavior=void 0,await e.replace({path:n,query:r,hash:t}),e.options.scrollBehavior=o}function Wy(){const e=at(),{frontmatter:t,theme:n}=oe(),{sidebar:r}=Wt(),o=Hd(),s=Lr(),{isBlogPost:i}=Yn(),a=P(()=>{if(n.value.prevPage===!1)return null;const c=Lc(t.value.prev);return c!==!1?c:i.value?Oc(o.value.filter(u=>u.lang===s.value),e.path,-1):Ec(ji(r.value),e.path,-1)}),l=P(()=>{if(n.value.nextPage===!1)return null;const c=Lc(t.value.next);return c!==!1?c:i.value?Oc(o.value.filter(u=>u.lang===s.value),e.path,1):Ec(ji(r.value),e.path,1)});return{prev:a,next:l}}function Lc(e){return e===!1?null:Ot(e)?ns(e):gr(e)?e:!1}function ji(e,t=[]){for(const n of e)n.link&&t.push({link:n.link,text:n.text||n.dir||""}),Array.isArray(n.items)&&n.items.length&&ji(n.items,t);return t}function Ec(e,t,n){const r=e.findIndex(o=>An(o.link)===t);if(r!==-1){const o=e[r+n];if(o!=null&&o.link)return{link:o.link,text:o.text}}return null}function Oc(e,t,n){const r=e.findIndex(o=>o.path===t);if(r!==-1){const o=e[r+n];return o!=null&&o.path?{link:o.path,text:o.title}:null}return null}var oi=null,Br=null,Gy={wait:()=>oi,pending:()=>{oi=new Promise(e=>Br=e)},resolve:()=>{Br==null||Br(),oi=null,Br=null}},tp=()=>Gy;function qy(e){e.options.scrollBehavior=async(t,n,r)=>(await tp().wait(),r||(t.hash?{el:t.hash,top:64}:{top:0})),e.beforeEach(()=>{Ut&&document.documentElement.classList.remove("smooth")}),e.afterEach(()=>Vt(()=>{Ut&&document.documentElement.classList.add("smooth")}))}function Ky(){const{frontmatter:e}=oe();ey(P(()=>({parent:typeof e.value.watermark=="object"&&e.value.watermark.fullPage===!1?".vp-doc":"body"})))}const Yy=R({__name:"VPBadge",props:{text:{default:void 0},type:{default:"tip"}},setup(e,{expose:t}){t();const n={};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}});function Qy(e,t,n,r,o,s){return h(),b("span",{class:Z(["vp-badge",n.type])},[T(e.$slots,"default",{},()=>[je(K(n.text),1)],!0)],2)}const Di=D(Yy,[["render",Qy],["__scopeId","data-v-56fdb9a0"],["__file","VPBadge.vue"]]),Xr=/^[a-z0-9]+(-[a-z0-9]+)*$/,ks=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),l=o.pop(),c={provider:o.length>0?o[0]:r,prefix:l,name:a};return t&&!zo(c)?null:c}const s=o[0],i=s.split("-");if(i.length>1){const a={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!zo(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:s};return t&&!zo(a,n)?null:a}return null},zo=(e,t)=>e?!!((e.provider===""||e.provider.match(Xr))&&(t&&e.prefix===""||e.prefix.match(Xr))&&e.name.match(Xr)):!1,np=Object.freeze({left:0,top:0,width:16,height:16}),ss=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Oa=Object.freeze({...np,...ss}),Hi=Object.freeze({...Oa,body:"",hidden:!1});function Jy(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Ac(e,t){const n=Jy(e,t);for(const r in Hi)r in ss?r in e&&!(r in n)&&(n[r]=ss[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Xy(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function s(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const a=r[i]&&r[i].parent,l=a&&s(a);l&&(o[i]=[a].concat(l))}return o[i]}return Object.keys(n).concat(Object.keys(r)).forEach(s),o}function Zy(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(a){s=Ac(r[a]||o[a],s)}return i(t),n.forEach(i),Ac(e,s)}function rp(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=Xy(e);for(const o in r){const s=r[o];s&&(t(o,Zy(e,o,s)),n.push(o))}return n}const e2={provider:"",aliases:{},not_found:{},...np};function si(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function op(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!si(e,e2))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o.match(Xr)||typeof s.body!="string"||!si(s,Hi))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],i=s.parent;if(!o.match(Xr)||typeof i!="string"||!n[i]&&!r[i]||!si(s,Hi))return null}return t}const Ic=Object.create(null);function t2(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Wn(e,t){const n=Ic[e]||(Ic[e]=Object.create(null));return n[t]||(n[t]=t2(e,t))}function Aa(e,t){return op(t)?rp(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function n2(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let lo=!1;function sp(e){return typeof e=="boolean"&&(lo=e),lo}function r2(e){const t=typeof e=="string"?ks(e,!0,lo):e;if(t){const n=Wn(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function o2(e,t){const n=ks(e,!0,lo);if(!n)return!1;const r=Wn(n.provider,n.prefix);return n2(r,n.name,t)}function s2(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),lo&&!t&&!e.prefix){let o=!1;return op(e)&&(e.prefix="",rp(e,(s,i)=>{i&&o2(s,i)&&(o=!0)})),o}const n=e.prefix;if(!zo({provider:t,prefix:n,name:"a"}))return!1;const r=Wn(t,n);return!!Aa(r,e)}const i2=Object.freeze({width:null,height:null}),a2=Object.freeze({...i2,...ss});""+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);const Fi=Object.create(null);function l2(e,t){Fi[e]=t}function Ui(e){return Fi[e]||Fi[""]}function Ia(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Va=Object.create(null),Nr=["https://api.simplesvg.com","https://api.unisvg.com"],Wo=[];for(;Nr.length>0;)Nr.length===1||Math.random()>.5?Wo.push(Nr.shift()):Wo.push(Nr.pop());Va[""]=Ia({resources:["https://api.iconify.design"].concat(Wo)});function c2(e,t){const n=Ia(t);return n===null?!1:(Va[e]=n,!0)}function Ma(e){return Va[e]}const u2=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Vc=u2();function f2(e,t){const n=Ma(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(i=>{o=Math.max(o,i.length)});const s=t+".json?icons=";r=n.maxURL-o-n.path.length-s.length}return r}function d2(e){return e===404}const p2=(e,t,n)=>{const r=[],o=f2(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},a=0;return n.forEach((l,c)=>{a+=l.length+1,a>=o&&c>0&&(r.push(i),i={type:s,provider:e,prefix:t,icons:[]},a=l.length),i.icons.push(l)}),r.push(i),r};function h2(e){if(typeof e=="string"){const t=Ma(e);if(t)return t.path}return"/"}const v2=(e,t,n)=>{if(!Vc){n("abort",424);return}let r=h2(t.provider);switch(t.type){case"icons":{const s=t.prefix,a=t.icons.join(","),l=new URLSearchParams({icons:a});r+=s+".json?"+l.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let o=503;Vc(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(d2(i)?"abort":"next",i)});return}return o=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",o)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",o)})},m2={prepare:p2,send:v2};function g2(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,s)=>o.provider!==s.provider?o.provider.localeCompare(s.provider):o.prefix!==s.prefix?o.prefix.localeCompare(s.prefix):o.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const s=o.provider,i=o.prefix,a=o.name,l=n[s]||(n[s]=Object.create(null)),c=l[i]||(l[i]=Wn(s,i));let u;a in c.icons?u=t.loaded:i===""||c.missing.has(a)?u=t.missing:u=t.pending;const f={provider:s,prefix:i,name:a};u.push(f)}),t}function ip(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function _2(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(s=>{const i=s.icons,a=i.pending.length;i.pending=i.pending.filter(l=>{if(l.prefix!==o)return!0;const c=l.name;if(e.icons[c])i.loaded.push({provider:r,prefix:o,name:c});else if(e.missing.has(c))i.missing.push({provider:r,prefix:o,name:c});else return n=!0,!0;return!1}),i.pending.length!==a&&(n||ip([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let b2=0;function y2(e,t,n){const r=b2++,o=ip.bind(null,n,r);if(!t.pending.length)return o;const s={id:r,icons:t,callback:e,abort:o};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(s)}),o}function k2(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?ks(o,t,n):o;s&&r.push(s)}),r}var w2={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function S2(e,t,n,r){const o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let $=e.resources.slice(0);for(i=[];$.length>1;){const W=Math.floor(Math.random()*$.length);i.push($[W]),$=$.slice(0,W).concat($.slice(W+1))}i=i.concat($)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const a=Date.now();let l="pending",c=0,u,f=null,d=[],p=[];typeof r=="function"&&p.push(r);function v(){f&&(clearTimeout(f),f=null)}function m(){l==="pending"&&(l="aborted"),v(),d.forEach($=>{$.status==="pending"&&($.status="aborted")}),d=[]}function k($,W){W&&(p=[]),typeof $=="function"&&p.push($)}function S(){return{startTime:a,payload:t,status:l,queriesSent:c,queriesPending:d.length,subscribe:k,abort:m}}function L(){l="failed",p.forEach($=>{$(void 0,u)})}function _(){d.forEach($=>{$.status==="pending"&&($.status="aborted")}),d=[]}function x($,W,re){const H=W!=="success";switch(d=d.filter(A=>A!==$),l){case"pending":break;case"failed":if(H||!e.dataAfterTimeout)return;break;default:return}if(W==="abort"){u=re,L();return}if(H){u=re,d.length||(i.length?N():L());return}if(v(),_(),!e.random){const A=e.resources.indexOf($.resource);A!==-1&&A!==e.index&&(e.index=A)}l="completed",p.forEach(A=>{A(re)})}function N(){if(l!=="pending")return;v();const $=i.shift();if($===void 0){if(d.length){f=setTimeout(()=>{v(),l==="pending"&&(_(),L())},e.timeout);return}L();return}const W={status:"pending",resource:$,callback:(re,H)=>{x(W,re,H)}};d.push(W),c++,f=setTimeout(N,e.rotate),n($,t,W.callback)}return setTimeout(N),S}function ap(e){const t={...w2,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function o(a,l,c){const u=S2(t,a,l,(f,d)=>{r(),c&&c(f,d)});return n.push(u),u}function s(a){return n.find(l=>a(l))||null}return{query:o,find:s,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function Mc(){}const ii=Object.create(null);function P2(e){if(!ii[e]){const t=Ma(e);if(!t)return;const n=ap(t),r={config:t,redundancy:n};ii[e]=r}return ii[e]}function x2(e,t,n){let r,o;if(typeof e=="string"){const s=Ui(e);if(!s)return n(void 0,424),Mc;o=s.send;const i=P2(e);i&&(r=i.redundancy)}else{const s=Ia(e);if(s){r=ap(s);const i=e.resources?e.resources[0]:"",a=Ui(i);a&&(o=a.send)}}return!r||!o?(n(void 0,424),Mc):r.query(t,o,n)().abort}const Rc="iconify2",co="iconify",lp=co+"-count",$c=co+"-version",cp=36e5,T2=168,C2=50;function zi(e,t){try{return e.getItem(t)}catch{}}function Ra(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Bc(e,t){try{e.removeItem(t)}catch{}}function Wi(e,t){return Ra(e,lp,t.toString())}function Gi(e){return parseInt(zi(e,lp))||0}const ws={local:!0,session:!0},up={local:new Set,session:new Set};let $a=!1;function L2(e){$a=e}let Ro=typeof window>"u"?{}:window;function fp(e){const t=e+"Storage";try{if(Ro&&Ro[t]&&typeof Ro[t].length=="number")return Ro[t]}catch{}ws[e]=!1}function dp(e,t){const n=fp(e);if(!n)return;const r=zi(n,$c);if(r!==Rc){if(r){const a=Gi(n);for(let l=0;l<a;l++)Bc(n,co+l.toString())}Ra(n,$c,Rc),Wi(n,0);return}const o=Math.floor(Date.now()/cp)-T2,s=a=>{const l=co+a.toString(),c=zi(n,l);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>o&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,a))return!0}catch{}Bc(n,l)}};let i=Gi(n);for(let a=i-1;a>=0;a--)s(a)||(a===i-1?(i--,Wi(n,i)):up[e].add(a))}function pp(){if(!$a){L2(!0);for(const e in ws)dp(e,t=>{const n=t.data,r=t.provider,o=n.prefix,s=Wn(r,o);if(!Aa(s,n).length)return!1;const i=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,i):i,!0})}}function E2(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in ws)dp(r,o=>{const s=o.data;return o.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function O2(e,t){$a||pp();function n(r){let o;if(!ws[r]||!(o=fp(r)))return;const s=up[r];let i;if(s.size)s.delete(i=Array.from(s).shift());else if(i=Gi(o),i>=C2||!Wi(o,i+1))return;const a={cached:Math.floor(Date.now()/cp),provider:e.provider,data:t};return Ra(o,co+i.toString(),JSON.stringify(a))}t.lastModified&&!E2(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Nc(){}function A2(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,_2(e)}))}function I2(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;delete e.iconsToLoad;let s;if(!o||!(s=Ui(n)))return;s.prepare(n,r,o).forEach(a=>{x2(n,a,l=>{if(typeof l!="object")a.icons.forEach(c=>{e.missing.add(c)});else try{const c=Aa(e,l);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(f=>{u.delete(f)}),O2(e,l)}catch(c){console.error(c)}A2(e)})})}))}const V2=(e,t)=>{const n=k2(e,!0,sp()),r=g2(n);if(!r.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(r.loaded,r.missing,r.pending,Nc)}),()=>{l=!1}}const o=Object.create(null),s=[];let i,a;return r.pending.forEach(l=>{const{provider:c,prefix:u}=l;if(u===a&&c===i)return;i=c,a=u,s.push(Wn(c,u));const f=o[c]||(o[c]=Object.create(null));f[u]||(f[u]=[])}),r.pending.forEach(l=>{const{provider:c,prefix:u,name:f}=l,d=Wn(c,u),p=d.pendingIcons||(d.pendingIcons=new Set);p.has(f)||(p.add(f),o[c][u].push(f))}),s.forEach(l=>{const{provider:c,prefix:u}=l;o[c][u].length&&I2(l,o[c][u])}),t?y2(t,r,s):Nc},M2=e=>new Promise((t,n)=>{const r=typeof e=="string"?ks(e,!0):e;if(!r){n(e);return}V2([r||e],o=>{if(o.length&&r){const s=r2(r);if(s){t({...Oa,...s});return}}n(e)})});({...a2});const jc={backgroundColor:"currentColor"},R2={backgroundColor:"transparent"},Dc={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Hc={webkitMask:jc,mask:jc,background:R2};for(const e in Hc){const t=Hc[e];for(const n in Dc)t[e+n]=Dc[n]}const ai={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";ai[e+"-flip"]=t,ai[e.slice(0,1)+"-flip"]=t,ai[e+"Flip"]=t});sp(!0);l2("",m2);if(typeof document<"u"&&typeof window<"u"){pp();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!s2(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;c2(n,o)||console.error(r)}catch{console.error(r)}}}}({...Oa});const hp=Object.freeze({left:0,top:0,width:16,height:16}),vp=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Ba=Object.freeze({...hp,...vp});Object.freeze({...Ba,body:"",hidden:!1});({...hp});const mp=Object.freeze({width:null,height:null}),gp=Object.freeze({...mp,...vp});function $2(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in mp?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const B2=/[\s,]+/;function N2(e,t){t.split(B2).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function j2(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/o,s%1===0?r(s):0)}}return t}const D2=/(-?[0-9.]*[0-9]+[0-9.]*)/g,H2=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Fc(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(D2);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=H2.test(s);for(;;){if(i){const a=parseFloat(s);isNaN(a)?o.push(s):o.push(Math.ceil(a*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");i=!i}}function F2(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const o=e.indexOf(">",r),s=e.indexOf("</"+t);if(o===-1||s===-1)break;const i=e.indexOf(">",s);if(i===-1)break;n+=e.slice(o+1,s).trim(),e=e.slice(0,r).trim()+e.slice(i+1)}return{defs:n,content:e}}function U2(e,t){return e?"<defs>"+e+"</defs>"+t:t}function z2(e,t,n){const r=F2(e);return U2(r.defs,t+r.content+n)}const W2=e=>e==="unset"||e==="undefined"||e==="none";function G2(e,t){const n={...Ba,...e},r={...gp,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(m=>{const k=[],S=m.hFlip,L=m.vFlip;let _=m.rotate;S?L?_+=2:(k.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),k.push("scale(-1 1)"),o.top=o.left=0):L&&(k.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),k.push("scale(1 -1)"),o.top=o.left=0);let x;switch(_<0&&(_-=Math.floor(_/4)*4),_=_%4,_){case 1:x=o.height/2+o.top,k.unshift("rotate(90 "+x.toString()+" "+x.toString()+")");break;case 2:k.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:x=o.width/2+o.left,k.unshift("rotate(-90 "+x.toString()+" "+x.toString()+")");break}_%2===1&&(o.left!==o.top&&(x=o.left,o.left=o.top,o.top=x),o.width!==o.height&&(x=o.width,o.width=o.height,o.height=x)),k.length&&(s=z2(s,'<g transform="'+k.join(" ")+'">',"</g>"))});const i=r.width,a=r.height,l=o.width,c=o.height;let u,f;i===null?(f=a===null?"1em":a==="auto"?c:a,u=Fc(f,l/c)):(u=i==="auto"?l:i,f=a===null?Fc(u,c/l):a==="auto"?c:a);const d={},p=(m,k)=>{W2(k)||(d[m]=k.toString())};p("width",u),p("height",f);const v=[o.left,o.top,l,c];return d.viewBox=v.join(" "),{attributes:d,viewBox:v,body:s}}const q2=/\sid="(\S+)"/g,K2="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Y2=0;function Q2(e,t=K2){const n=[];let r;for(;r=q2.exec(e);)n.push(r[1]);if(!n.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(s=>{const i=typeof t=="function"?t(s):t+(Y2++).toString(),a=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+i+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}function J2(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function X2(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Z2(e){return"data:image/svg+xml,"+X2(e)}function e3(e){return'url("'+Z2(e)+'")'}const Uc={...gp,inline:!1},t3={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},n3={display:"inline-block"},qi={backgroundColor:"currentColor"},_p={backgroundColor:"transparent"},zc={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Wc={webkitMask:qi,mask:qi,background:_p};for(const e in Wc){const t=Wc[e];for(const n in zc)t[e+n]=zc[n]}const Go={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Go[e+"-flip"]=t,Go[e.slice(0,1)+"-flip"]=t,Go[e+"Flip"]=t});function Gc(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const r3=(e,t)=>{const n=$2(Uc,t),r={...t3},o=t.mode||"svg",s={},i=t.style,a=typeof i=="object"&&!(i instanceof Array)?i:{};for(let m in t){const k=t[m];if(k!==void 0)switch(m){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[m]=k===!0||k==="true"||k===1;break;case"flip":typeof k=="string"&&N2(n,k);break;case"color":s.color=k;break;case"rotate":typeof k=="string"?n[m]=j2(k):typeof k=="number"&&(n[m]=k);break;case"ariaHidden":case"aria-hidden":k!==!0&&k!=="true"&&delete r["aria-hidden"];break;default:{const S=Go[m];S?(k===!0||k==="true"||k===1)&&(n[S]=!0):Uc[m]===void 0&&(r[m]=k)}}}const l=G2(e,n),c=l.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),o==="svg"){r.style={...s,...a},Object.assign(r,c);let m=0,k=t.id;return typeof k=="string"&&(k=k.replace(/-/g,"_")),r.innerHTML=Q2(l.body,k?()=>k+"ID"+m++:"iconifyVue"),ve("svg",r)}const{body:u,width:f,height:d}=e,p=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),v=J2(u,{...c,width:f+"",height:d+""});return r.style={...s,"--svg":e3(v),width:Gc(c.width),height:Gc(c.height),...n3,...p?qi:_p,...a},ve("span",r)},o3=Object.create(null),s3=R({inheritAttrs:!1,render(){const e=this.$attrs,t=e.icon,n=typeof t=="string"?o3[t]:typeof t=="object"?t:null;return n===null||typeof n!="object"||typeof n.body!="string"?this.$slots.default?this.$slots.default():null:r3({...Ba,...n},e)}}),i3=R({__name:"VPIconify",props:{name:{default:""},size:{default:""},color:{default:""}},setup(e,{expose:t}){t();const n=e,r=G(null),o=G(!1);async function s(){if(!r.value)try{o.value=!1,r.value=await M2(n.name)}finally{o.value=!0}}me(()=>n.name,s,{immediate:!0});const i=P(()=>{const u=n.size||"1em";return String(Number(u))===u?`${u}px`:u}),a=P(()=>n.color||"currentColor"),l=P(()=>({icon:r.value,color:n.color,height:i.value})),c={props:n,icon:r,loaded:o,loadIconComponent:s,size:i,color:a,bind:l,get OfflineIcon(){return s3}};return Object.defineProperty(c,"__isScriptSetup",{enumerable:!1,value:!0}),c}});function a3(e,t,n,r,o,s){const i=De("ClientOnly");return h(),B(i,null,{default:C(()=>[r.loaded?r.icon?(h(),B(r.OfflineIcon,xn({key:1,class:"vp-icon iconify"},r.bind),null,16)):E("",!0):(h(),b("span",{key:0,class:"vp-icon iconify",style:Fe({color:r.color,width:r.size,height:r.size})},null,4))]),_:1})}const l3=D(i3,[["render",a3],["__file","VPIconify.vue"]]),c3=R({__name:"VPIcon",props:{name:{},size:{},color:{}},setup(e,{expose:t}){t();const n=e,r=My(),o=P(()=>typeof n.name=="string"&&(It(n.name)||n.name[0]==="/")?"link":typeof n.name=="object"&&n.name.svg?"svg":typeof n.name=="string"&&r.value[n.name]?"local":"remote"),s=P(()=>o.value==="svg"?n.name.svg:""),i=P(()=>{if(o.value==="link"){const f=n.name;return It(f)?f:ut(f)}return""}),a=P(()=>{if(o.value==="local"){const f=n.name;return r.value[f]||""}return""}),l=P(()=>{const f=n.size;if(f)return String(Number(f))===f?`${f}px`:f}),c=P(()=>({"background-color":n.color,width:l.value,height:l.value})),u={props:n,iconsData:r,type:o,svg:s,link:i,className:a,size:l,style:c,VPIconify:l3};return Object.defineProperty(u,"__isScriptSetup",{enumerable:!1,value:!0}),u}}),u3={key:0,class:"vp-icon-img"},f3=["src"],d3=["innerHTML"];function p3(e,t,n,r,o,s){return r.type==="link"?(h(),b("span",u3,[y("img",{src:r.link,alt:"",style:Fe({height:r.size})},null,12,f3)])):r.type==="svg"?(h(),b("span",{key:1,class:"vp-icon",style:Fe(r.style),innerHTML:r.svg},null,12,d3)):r.type==="local"&&r.className?(h(),b("span",{key:2,class:Z(["vp-icon",[r.className]]),style:Fe(r.style)},null,6)):(h(),B(r.VPIconify,{key:3,name:n.name,size:r.size,color:n.color},null,8,["name","size","color"]))}const dt=D(c3,[["render",p3],["__scopeId","data-v-73b625f6"],["__file","VPIcon.vue"]]),h3=R({__name:"VPCard",props:{title:{},icon:{}},setup(e,{expose:t}){t();const n=e,r=P(()=>{var s;if(((s=n.icon)==null?void 0:s[0])==="{")try{return JSON.parse(r)}catch{}return n.icon}),o={props:n,icon:r,VPIcon:dt};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}}),v3={class:"vp-card-wrapper"},m3={key:0,class:"title"},g3=["innerHTML"],_3={class:"body"};function b3(e,t,n,r,o,s){return h(),b("article",v3,[T(e.$slots,"title",{},()=>[n.title||r.icon?(h(),b("p",m3,[r.icon?(h(),B(r.VPIcon,{key:0,name:r.icon},null,8,["name"])):E("",!0),n.title?(h(),b("span",{key:1,innerHTML:n.title},null,8,g3)):E("",!0)])):E("",!0)],!0),y("div",_3,[T(e.$slots,"default",{},void 0,!0)])])}const qc=D(h3,[["render",b3],["__scopeId","data-v-ab4c2dd0"],["__file","VPCard.vue"]]),y3=R({__name:"VPCardGrid",props:{cols:{}},setup(e,{expose:t}){t();const n=e,r=Ft("(min-width: 768px)"),o=Ft("(min-width: 960px)"),s=G(1);function i(){const c={sm:1,md:2,lg:2};if(!n.cols)return c;if(typeof n.cols=="number"||typeof n.cols=="string"){const u=Number(n.cols);return{sm:u,md:u,lg:u}}return{...c,...lr(n.cols)}}function a(){const c=i();return o.value?c.lg:r.value?c.md:c.sm}me(()=>[r.value,o.value,n.cols],()=>{s.value=a()}),Re(()=>{s.value=a()});const l={props:n,md:r,lg:o,repeat:s,resolveCols:i,getRepeat:a};return Object.defineProperty(l,"__isScriptSetup",{enumerable:!1,value:!0}),l}});function k3(e,t,n,r,o,s){return h(),b("div",{class:Z(["vp-card-grid",[`cols-${r.repeat}`]]),style:Fe({gridTemplateColumns:`repeat(${r.repeat}, 1fr)`})},[T(e.$slots,"default",{},void 0,!0)],6)}const Kc=D(y3,[["render",k3],["__scopeId","data-v-11db2f0b"],["__file","VPCardGrid.vue"]]),w3=R({__name:"VPImageCard",props:{image:{},title:{},description:{},href:{},author:{},date:{}},setup(e,{expose:t}){t();const n=e,r=Lr(),o=P(()=>{if(n.title)return n.title;const l=(n.image||"").split("/");return l[l.length-1]}),s=P(()=>{if(!n.date)return"";const a=n.date instanceof Date?n.date:new Date(n.date);return new Intl.DateTimeFormat(r.value,{year:"numeric",month:"short",day:"numeric"}).format(a)}),i={props:n,lang:r,title:o,date:s};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),S3={class:"vp-image-card"},P3={class:"image-container"},x3=["src","alt"],T3={class:"image-info"},C3={class:"title"},L3=["href"],E3={key:1},O3={key:0,class:"copyright"},A3={key:0},I3={key:1},V3={key:2},M3={key:1,class:"description"};function R3(e,t,n,r,o,s){return h(),b("div",S3,[y("div",P3,[y("img",{src:n.image,alt:r.title,loading:"lazy"},null,8,x3),y("div",T3,[y("h3",C3,[n.href?(h(),b("a",{key:0,href:n.href,target:"_blank",rel:"noopener noreferrer",class:"no-icon"},K(r.title),9,L3)):(h(),b("span",E3,K(r.title),1))]),n.author||r.date?(h(),b("p",O3,[n.author?(h(),b("span",A3,K(n.author),1)):E("",!0),n.author&&r.date?(h(),b("span",I3," | ")):E("",!0),r.date?(h(),b("span",V3,K(r.date),1)):E("",!0)])):E("",!0),n.description?(h(),b("p",M3,K(n.description),1)):E("",!0)])])])}const Yc=D(w3,[["render",R3],["__scopeId","data-v-46d2d24b"],["__file","VPImageCard.vue"]]),$3=R({__name:"VPLink",props:{tag:{},href:{},text:{},noIcon:{type:Boolean},target:{},rel:{}},setup(e,{expose:t}){t();const n=e,r=Cr(),o=P(()=>n.tag??(n.href?"a":"span")),{link:s,isExternal:i}=Jd(zn(n,"href"),zn(n,"target"));function a(c){i.value||(c.preventDefault(),s.value&&r.push(s.value))}const l={props:n,router:r,tag:o,link:s,isExternal:i,linkTo:a,get withBase(){return ut}};return Object.defineProperty(l,"__isScriptSetup",{enumerable:!1,value:!0}),l}}),B3={key:0,class:"vpi-external-link icon"};function N3(e,t,n,r,o,s){return h(),B(on(r.tag),{class:Z(["vp-link no-icon",{link:r.link}]),href:r.withBase(r.link||""),target:n.target??(r.isExternal?"_blank":void 0),rel:n.rel??(r.isExternal?"noreferrer":void 0),onClick:t[0]||(t[0]=i=>r.linkTo(i))},{default:C(()=>[T(e.$slots,"default",{},()=>[je(K(n.text||n.href),1)],!0),r.isExternal&&!n.noIcon?(h(),b("span",B3)):E("",!0)]),_:3},8,["class","href","target","rel"])}const ze=D($3,[["render",N3],["__scopeId","data-v-849c270f"],["__file","VPLink.vue"]]),j3=R({__name:"VPLinkCard",props:{href:{},title:{},icon:{},description:{}},setup(e,{expose:t}){t();const n={VPIcon:dt,VPLink:ze};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),D3={class:"vp-link-card"},H3={class:"body"},F3=["innerHTML"],U3=["innerHTML"];function z3(e,t,n,r,o,s){return h(),b("div",D3,[y("span",H3,[I(r.VPLink,{href:n.href,"no-icon":"",class:"link no-icon"},{default:C(()=>[T(e.$slots,"title",{},()=>[n.icon?(h(),B(r.VPIcon,{key:0,name:n.icon},null,8,["name"])):E("",!0),n.title?(h(),b("span",{key:1,innerHTML:n.title},null,8,F3)):E("",!0)],!0)]),_:3},8,["href"]),T(e.$slots,"default",{},()=>[n.description?(h(),b("p",{key:0,innerHTML:n.description},null,8,U3)):E("",!0)],!0)]),t[0]||(t[0]=y("span",{class:"vpi-arrow-right"},null,-1))])}const Qc=D(j3,[["render",z3],["__scopeId","data-v-a63d81df"],["__file","VPLinkCard.vue"]]),W3=R({__name:"VPHomeBox",props:{type:{},full:{type:Boolean},backgroundImage:{},backgroundAttachment:{},onlyOnce:{type:Boolean},containerClass:{}},setup(e,{expose:t}){t();const n=e,r=bs(),o=P(()=>{if(!n.backgroundImage)return null;const a=typeof n.backgroundImage=="string"?n.backgroundImage:n.backgroundImage[r.value?"dark":"light"]??n.backgroundImage.light;return{"background-image":`url(${It(a)?n.backgroundImage:ut(a)})`,"background-size":"cover","background-position":"center","background-repeat":"no-repeat","background-attachment":n.backgroundAttachment||""}}),s=P(()=>Z(n.containerClass||"")),i={props:n,isDark:r,styles:o,containerClass:s};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}});function G3(e,t,n,r,o,s){return h(),b("div",{class:Z(["vp-home-box",{full:r.props.full}]),style:Fe(r.styles)},[T(e.$slots,"before"),y("div",{class:Z(["container",r.containerClass])},[T(e.$slots,"default")],2),T(e.$slots,"after")],6)}const wr=D(W3,[["render",G3],["__file","VPHomeBox.vue"]]),q3={},K3={class:"vp-switch",type:"button",role:"switch"},Y3={class:"check"},Q3={key:0,class:"icon"};function J3(e,t){return h(),b("button",K3,[y("span",Y3,[e.$slots.default?(h(),b("span",Q3,[T(e.$slots,"default",{},void 0,!0)])):E("",!0)])])}const X3=D(q3,[["render",J3],["__scopeId","data-v-9181024e"],["__file","VPSwitch.vue"]]),Z3=R({__name:"VPSwitchAppearance",setup(e,{expose:t}){t();const n=G(!1),{theme:r,isDark:o}=oe(),s=He("toggle-appearance",()=>{o.value=!o.value}),i=G("");cf(()=>{i.value=o.value?r.value.lightModeSwitchTitle||"Switch to light theme":r.value.darkModeSwitchTitle||"Switch to dark theme"});const a={checked:n,theme:r,isDark:o,toggleAppearance:s,switchTitle:i,VPSwitch:X3};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}});function e4(e,t,n,r,o,s){return h(),B(r.VPSwitch,{class:"vp-switch-appearance",title:r.switchTitle,"aria-checked":r.checked,onClick:r.toggleAppearance},{default:C(()=>t[0]||(t[0]=[y("span",{class:"vpi-sun sun"},null,-1),y("span",{class:"vpi-moon moon"},null,-1)])),_:1},8,["title","aria-checked","onClick"])}const Na=D(Z3,[["render",e4],["__scopeId","data-v-b19f3f20"],["__file","VPSwitchAppearance.vue"]]),t4=R({__name:"VPNavBarAppearance",setup(e,{expose:t}){t();const{theme:n}=oe(),r={theme:n,VPSwitchAppearance:Na};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}}),n4={key:0,class:"vp-navbar-appearance"};function r4(e,t,n,r,o,s){return r.theme.appearance&&r.theme.appearance!=="force-dark"?(h(),b("div",n4,[I(r.VPSwitchAppearance)])):E("",!0)}const o4=D(t4,[["render",r4],["__scopeId","data-v-84b4ae64"],["__file","VPNavBarAppearance.vue"]]),s4=R({__name:"VPMenuLink",props:{item:{}},setup(e,{expose:t}){t();const{page:n}=oe(),r={page:n,VPIcon:dt,VPLink:ze,get resolveRouteFullPath(){return An},get isActive(){return kr}};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}}),i4={class:"vp-menu-link"};function a4(e,t,n,r,o,s){return h(),b("div",i4,[I(r.VPLink,{class:Z({active:r.isActive(r.page.path,n.item.activeMatch||r.resolveRouteFullPath(n.item.link),!!n.item.activeMatch)}),href:n.item.link},{default:C(()=>[n.item.icon?(h(),B(r.VPIcon,{key:0,name:n.item.icon},null,8,["name"])):E("",!0),je(" "+K(n.item.text),1)]),_:1},8,["class","href"])])}const Ss=D(s4,[["render",a4],["__scopeId","data-v-7a0cb3f6"],["__file","VPMenuLink.vue"]]),l4=R({__name:"VPMenuGroup",props:{text:{},icon:{},items:{}},setup(e,{expose:t}){t();const n={VPIcon:dt,VPMenuLink:Ss};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),c4={class:"vp-menu-group"},u4={key:0,class:"title"},f4=["textContent"];function d4(e,t,n,r,o,s){return h(),b("div",c4,[n.text?(h(),b("p",u4,[n.icon?(h(),B(r.VPIcon,{key:0,name:n.icon},null,8,["name"])):E("",!0),y("span",{textContent:K(n.text)},null,8,f4)])):E("",!0),(h(!0),b(ee,null,_e(n.items,i=>(h(),b(ee,null,["link"in i?(h(),B(r.VPMenuLink,{key:i==null?void 0:i.link,item:i},null,8,["item"])):E("",!0)],64))),256))])}const p4=D(l4,[["render",d4],["__scopeId","data-v-83e9628e"],["__file","VPMenuGroup.vue"]]),h4=R({__name:"VPMenu",props:{items:{}},setup(e,{expose:t}){t();const n={VPMenuGroup:p4,VPMenuLink:Ss};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),v4={class:"vp-menu"},m4={key:0,class:"items"};function g4(e,t,n,r,o,s){return h(),b("div",v4,[n.items?(h(),b("div",m4,[(h(!0),b(ee,null,_e(n.items,i=>(h(),b(ee,{key:i.text},["link"in i?(h(),B(r.VPMenuLink,{key:0,item:i},null,8,["item"])):(h(),B(r.VPMenuGroup,{key:1,text:i.text,items:i.items,icon:i.icon},null,8,["text","items","icon"]))],64))),128))])):E("",!0),T(e.$slots,"default",{},void 0,!0)])}const _4=D(h4,[["render",g4],["__scopeId","data-v-94fe61f3"],["__file","VPMenu.vue"]]),b4=R({__name:"VPFlyout",props:{prefixIcon:{},icon:{},button:{},label:{},items:{}},setup(e,{expose:t}){t();const n=G(!1),r=G();Ey({el:r,onBlur:o});function o(){n.value=!1}const s={open:n,el:r,onBlur:o,VPIcon:dt,VPMenu:_4};return Object.defineProperty(s,"__isScriptSetup",{enumerable:!1,value:!0}),s}}),y4=["aria-expanded","aria-label"],k4={key:0,class:"text"},w4=["innerHTML"],S4={key:1,class:"vpi-more-horizontal icon"},P4={class:"menu"};function x4(e,t,n,r,o,s){return h(),b("div",{ref:"el",class:"vp-flyout",onMouseenter:t[1]||(t[1]=i=>r.open=!0),onMouseleave:t[2]||(t[2]=i=>r.open=!1)},[y("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":r.open,"aria-label":n.label,onClick:t[0]||(t[0]=i=>r.open=!r.open)},[n.button||n.icon?(h(),b("span",k4,[n.prefixIcon?(h(),B(r.VPIcon,{key:0,name:n.prefixIcon},null,8,["name"])):E("",!0),n.icon?(h(),b("span",{key:1,class:Z(["option-icon",[n.icon]])},null,2)):E("",!0),n.button?(h(),b("span",{key:2,innerHTML:n.button},null,8,w4)):E("",!0),t[3]||(t[3]=y("span",{class:"vpi-chevron-down text-icon"},null,-1))])):(h(),b("span",S4))],8,y4),y("div",P4,[I(r.VPMenu,{items:n.items},{default:C(()=>[T(e.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544)}const ja=D(b4,[["render",x4],["__scopeId","data-v-000639c9"],["__file","VPFlyout.vue"]]),T4=R({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(e,{expose:t}){t();const n=e,r=P(()=>typeof n.icon=="object"?n.icon.svg:`<span class="vpi-social-${n.icon}" />`),o={props:n,svg:r};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}}),C4=["href","aria-label","innerHTML"];function L4(e,t,n,r,o,s){return h(),b("a",{class:"vp-social-link no-icon",href:n.link,"aria-label":n.ariaLabel??(typeof n.icon=="string"?n.icon:""),target:"_blank",rel:"noopener",innerHTML:r.svg},null,8,C4)}const E4=D(T4,[["render",L4],["__scopeId","data-v-f2c3d26d"],["__file","VPSocialLink.vue"]]),O4=R({__name:"VPSocialLinks",props:{links:{}},setup(e,{expose:t}){t();const n={VPSocialLink:E4};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),A4={class:"vp-social-links"};function I4(e,t,n,r,o,s){return h(),b("div",A4,[(h(!0),b(ee,null,_e(n.links,({link:i,icon:a})=>(h(),B(r.VPSocialLink,{key:i,icon:a,link:i},null,8,["icon","link"]))),128))])}const ko=D(O4,[["render",I4],["__scopeId","data-v-8a700a7a"],["__file","VPSocialLinks.vue"]]),V4=R({__name:"VPNavBarExtra",setup(e,{expose:t}){t();const{theme:n}=oe(),{localeLinks:r,currentLang:o}=La(),s=P(()=>{var c;const l=n.value.navbarSocialInclude??[];return l.length?(c=n.value.social)==null?void 0:c.filter(({icon:u})=>typeof u=="string"?l.includes(u):u.name?l.includes(u.name):!1):n.value.social}),i=P(()=>{var l;return r.value.length&&o.value.label||n.value.appearance||((l=s.value)==null?void 0:l.length)}),a={theme:n,localeLinks:r,currentLang:o,social:s,hasExtraContent:i,VPFlyout:ja,VPMenuLink:Ss,VPSocialLinks:ko,VPSwitchAppearance:Na};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}}),M4={key:0,class:"group translations"},R4={class:"trans-title"},$4={key:1,class:"group"},B4={class:"item appearance"},N4={class:"label"},j4={class:"appearance-action"},D4={key:2,class:"group"},H4={class:"item social-links"};function F4(e,t,n,r,o,s){return r.hasExtraContent?(h(),B(r.VPFlyout,{key:0,class:"vp-navbar-extra",label:"extra navigation"},{default:C(()=>[r.localeLinks.length&&r.currentLang.label?(h(),b("div",M4,[y("p",R4,K(r.currentLang.label),1),(h(!0),b(ee,null,_e(r.localeLinks,i=>(h(),B(r.VPMenuLink,{key:i.link,item:i},null,8,["item"]))),128))])):E("",!0),r.theme.appearance&&r.theme.appearance!=="force-dark"?(h(),b("div",$4,[y("div",B4,[y("p",N4,K(r.theme.appearanceText||"Appearance"),1),y("div",j4,[I(r.VPSwitchAppearance)])])])):E("",!0),r.social?(h(),b("div",D4,[y("div",H4,[I(r.VPSocialLinks,{class:"social-links-list",links:r.social},null,8,["links"])])])):E("",!0)]),_:1})):E("",!0)}const U4=D(V4,[["render",F4],["__scopeId","data-v-a640e8c4"],["__file","VPNavBarExtra.vue"]]),z4=R({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e,{expose:t}){t();const n={};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),W4=["aria-expanded"];function G4(e,t,n,r,o,s){return h(),b("button",{type:"button",class:Z(["vp-navbar-hamburger",{active:n.active}]),"aria-label":"mobile navigation","aria-expanded":n.active,"aria-controls":"nav-screen",onClick:t[0]||(t[0]=i=>e.$emit("click"))},t[1]||(t[1]=[y("span",{class:"container"},[y("span",{class:"top"}),y("span",{class:"middle"}),y("span",{class:"bottom"})],-1)]),10,W4)}const q4=D(z4,[["render",G4],["__scopeId","data-v-dabf4270"],["__file","VPNavBarHamburger.vue"]]),K4=R({__name:"VPNavBarMenuGroup",props:{item:{}},setup(e,{expose:t}){t();const n=e,{page:r}=oe();function o(a){return"link"in a?kr(r.value.path,An(a.link),!!n.item.activeMatch):a.items.some(o)}const s=P(()=>o(n.item)),i={props:n,page:r,isChildActive:o,childrenActive:s,VPFlyout:ja,get isActive(){return kr}};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}});function Y4(e,t,n,r,o,s){return h(),B(r.VPFlyout,{class:Z(["vp-navbar-menu-group",{active:r.isActive(r.page.path,n.item.activeMatch,!!n.item.activeMatch)||r.childrenActive}]),button:n.item.text,items:n.item.items,"prefix-icon":n.item.icon},null,8,["class","button","items","prefix-icon"])}const Q4=D(K4,[["render",Y4],["__file","VPNavBarMenuGroup.vue"]]),J4=R({__name:"VPNavBarMenuLink",props:{item:{}},setup(e,{expose:t}){t();const{page:n}=oe(),r={page:n,VPIcon:dt,VPLink:ze,get resolveRouteFullPath(){return An},get isActive(){return kr}};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}}),X4=["innerHTML"];function Z4(e,t,n,r,o,s){return h(),B(r.VPLink,{class:Z(["navbar-menu-link",{active:r.isActive(r.page.path,n.item.activeMatch||r.resolveRouteFullPath(n.item.link),!!n.item.activeMatch)}]),href:n.item.link,"no-icon":n.item.noIcon,target:n.item.target,rel:n.item.rel,tabindex:"0"},{default:C(()=>[n.item.icon?(h(),B(r.VPIcon,{key:0,name:n.item.icon},null,8,["name"])):E("",!0),y("span",{innerHTML:n.item.text},null,8,X4)]),_:1},8,["class","href","no-icon","target","rel"])}const e5=D(J4,[["render",Z4],["__scopeId","data-v-746bf967"],["__file","VPNavBarMenuLink.vue"]]),t5=R({__name:"VPNavBarMenu",setup(e,{expose:t}){t();const r={navbar:Xd(),VPNavBarMenuGroup:Q4,VPNavBarMenuLink:e5};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}}),n5={key:0,"aria-labelledby":"main-nav-aria-label",class:"vp-navbar-menu"};function r5(e,t,n,r,o,s){return r.navbar.length?(h(),b("nav",n5,[t[0]||(t[0]=y("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),(h(!0),b(ee,null,_e(r.navbar,i=>(h(),b(ee,{key:i.text},["link"in i?(h(),B(r.VPNavBarMenuLink,{key:0,item:i},null,8,["item"])):(h(),B(r.VPNavBarMenuGroup,{key:1,item:i},null,8,["item"]))],64))),128))])):E("",!0)}const o5=D(t5,[["render",r5],["__scopeId","data-v-b1acc93e"],["__file","VPNavBarMenu.vue"]]),s5={},i5={class:"vp-navbar-search"};function a5(e,t){const n=De("SearchBox");return h(),b("div",i5,[I(n)])}const l5=D(s5,[["render",a5],["__file","VPNavBarSearch.vue"]]),c5=R({__name:"VPNavBarSocialLinks",setup(e,{expose:t}){t();const{theme:n}=oe(),r=P(()=>{var i;const s=n.value.navbarSocialInclude??[];return s.length?(i=n.value.social)==null?void 0:i.filter(({icon:a})=>typeof a=="string"?s.includes(a):a.name?s.includes(a.name):!1):n.value.social}),o={theme:n,social:r,VPSocialLinks:ko};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}});function u5(e,t,n,r,o,s){return r.social?(h(),B(r.VPSocialLinks,{key:0,class:"vp-navbar-social-links",links:r.social},null,8,["links"])):E("",!0)}const f5=D(c5,[["render",u5],["__scopeId","data-v-4386dbda"],["__file","VPNavBarSocialLinks.vue"]]),d5={inheritAttrs:!1},p5=R({...d5,__name:"VPImage",props:{image:{},alt:{}},setup(e,{expose:t}){t();const n={get withBase(){return ut}};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),h5=["src","alt"];function v5(e,t,n,r,o,s){const i=De("VPImage",!0);return n.image?(h(),b(ee,{key:0},[typeof n.image=="string"||"src"in n.image?(h(),b("img",xn({key:0,class:"vp-image"},typeof n.image=="string"?e.$attrs:{...n.image,...e.$attrs},{src:r.withBase(typeof n.image=="string"?n.image:n.image.src),alt:n.alt??(typeof n.image=="string"?"":n.image.alt||"")}),null,16,h5)):(h(),b(ee,{key:1},[I(i,xn({class:"dark",image:n.image.dark,alt:n.image.alt},e.$attrs),null,16,["image","alt"]),I(i,xn({class:"light",image:n.image.light,alt:n.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):E("",!0)}const Ps=D(p5,[["render",v5],["__scopeId","data-v-9ce7ea76"],["__file","VPImage.vue"]]),m5=R({__name:"VPNavBarTitle",setup(e,{expose:t}){t();const{theme:n,site:r}=oe(),{hasSidebar:o}=Wt(),s=On(),i={theme:n,site:r,hasSidebar:o,routeLocale:s,VPImage:Ps,VPLink:ze};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}});function g5(e,t,n,r,o,s){return h(),b("div",{class:Z(["vp-navbar-title",{"has-sidebar":r.hasSidebar}])},[I(r.VPLink,{class:"title",href:r.theme.home??r.routeLocale},{default:C(()=>[T(e.$slots,"nav-bar-title-before",{},void 0,!0),r.theme.logo?(h(),B(r.VPImage,{key:0,class:"logo",image:{light:r.theme.logo,dark:r.theme.logoDark||r.theme.logo}},null,8,["image"])):E("",!0),y("span",null,K(r.site.title),1),T(e.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3},8,["href"])],2)}const _5=D(m5,[["render",g5],["__scopeId","data-v-46a35c72"],["__file","VPNavBarTitle.vue"]]),b5=R({__name:"VPNavBarTranslations",setup(e,{expose:t}){t();const{theme:n}=oe(),{currentLang:r,localeLinks:o}=La(),s={theme:n,currentLang:r,localeLinks:o,VPFlyout:ja,VPMenuLink:Ss};return Object.defineProperty(s,"__isScriptSetup",{enumerable:!1,value:!0}),s}}),y5={class:"items"},k5={class:"title"};function w5(e,t,n,r,o,s){return r.localeLinks.length&&r.currentLang.label?(h(),B(r.VPFlyout,{key:0,class:"vp-navbar-translations",icon:"vpi-languages",label:r.theme.selectLanguageText||"Change Language"},{default:C(()=>[y("div",y5,[y("p",k5,K(r.currentLang.label),1),(h(!0),b(ee,null,_e(r.localeLinks,i=>(h(),B(r.VPMenuLink,{key:i.link,item:i},null,8,["item"]))),128))])]),_:1},8,["label"])):E("",!0)}const S5=D(b5,[["render",w5],["__scopeId","data-v-e0af844c"],["__file","VPNavBarTranslations.vue"]]),P5=R({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggleScreen"],setup(e,{expose:t}){t();const n=e,{frontmatter:r}=oe(),{y:o}=Sa(),{hasSidebar:s}=Wt(),i=G({});cf(()=>{i.value={"has-sidebar":s.value,home:r.value.pageLayout==="home",top:o.value===0,"screen-open":n.isScreenOpen}});const a={props:n,frontmatter:r,y:o,hasSidebar:s,classes:i,VPNavBarAppearance:o4,VPNavBarExtra:U4,VPNavBarHamburger:q4,VPNavBarMenu:o5,VPNavBarSearch:l5,VPNavBarSocialLinks:f5,VPNavBarTitle:_5,VPNavBarTranslations:S5};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}}),x5={class:"wrapper"},T5={class:"container"},C5={class:"title"},L5={class:"content"},E5={class:"content-body"};function O5(e,t,n,r,o,s){return h(),b("div",{class:Z(["vp-navbar",r.classes]),"vp-navbar":""},[y("div",x5,[y("div",T5,[y("div",C5,[I(r.VPNavBarTitle,null,{"nav-bar-title-before":C(()=>[T(e.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":C(()=>[T(e.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),y("div",L5,[y("div",E5,[T(e.$slots,"nav-bar-content-before",{},void 0,!0),I(r.VPNavBarSearch,{class:"search"}),I(r.VPNavBarMenu,{class:"menu"}),I(r.VPNavBarTranslations,{class:"translations"}),I(r.VPNavBarAppearance,{class:"appearance"}),I(r.VPNavBarSocialLinks,{class:"social-links"}),I(r.VPNavBarExtra,{class:"extra"}),T(e.$slots,"nav-bar-content-after",{},void 0,!0),I(r.VPNavBarHamburger,{class:"hamburger",active:n.isScreenOpen,onClick:t[0]||(t[0]=i=>e.$emit("toggleScreen"))},null,8,["active"])])])])]),t[1]||(t[1]=y("div",{class:"divider"},[y("div",{class:"divider-line"})],-1))],2)}const A5=D(P5,[["render",O5],["__scopeId","data-v-5255606e"],["__file","VPNavBar.vue"]]),I5=R({__name:"VPNavScreenAppearance",setup(e,{expose:t}){t();const{theme:n}=oe(),r={theme:n,VPSwitchAppearance:Na};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}}),V5={key:0,class:"vp-nav-screen-appearance"},M5={class:"text"};function R5(e,t,n,r,o,s){return r.theme.appearance&&r.theme.appearance!=="force-dark"?(h(),b("div",V5,[y("p",M5,K(r.theme.appearanceText??"Appearance"),1),I(r.VPSwitchAppearance)])):E("",!0)}const $5=D(I5,[["render",R5],["__scopeId","data-v-4fd487cc"],["__file","VPNavScreenAppearance.vue"]]),B5=R({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(e,{expose:t}){t();const r={closeScreen:He("close-screen"),VPIcon:dt,VPLink:ze};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}}),N5=["innerHTML"];function j5(e,t,n,r,o,s){return h(),B(r.VPLink,{class:"vp-nav-screen-menu-group-link",href:n.item.link,target:n.item.target,rel:n.item.rel,"no-icon":n.item.noIcon,onClick:r.closeScreen},{default:C(()=>[n.item.icon?(h(),B(r.VPIcon,{key:0,name:n.item.icon},null,8,["name"])):E("",!0),y("span",{innerHTML:n.item.text},null,8,N5)]),_:1},8,["href","target","rel","no-icon","onClick"])}const bp=D(B5,[["render",j5],["__scopeId","data-v-f8c0e718"],["__file","VPNavScreenMenuGroupLink.vue"]]),D5=R({__name:"VPNavScreenMenuGroupSection",props:{icon:{},text:{},items:{}},setup(e,{expose:t}){t();const n={VPNavScreenMenuGroupLink:bp,VPIcon:dt};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),H5={class:"vp-nav-screen-menu-group-section"},F5={key:0,class:"title"};function U5(e,t,n,r,o,s){return h(),b("div",H5,[n.text?(h(),b("p",F5,[n.icon?(h(),B(r.VPIcon,{key:0,name:n.icon},null,8,["name"])):E("",!0),je(" "+K(n.text),1)])):E("",!0),(h(!0),b(ee,null,_e(n.items,i=>(h(),B(r.VPNavScreenMenuGroupLink,{key:i.text,item:i},null,8,["item"]))),128))])}const z5=D(D5,[["render",U5],["__scopeId","data-v-92272f10"],["__file","VPNavScreenMenuGroupSection.vue"]]),W5=R({__name:"VPNavScreenMenuGroup",props:{text:{},icon:{},items:{}},setup(e,{expose:t}){t();const n=e,r=G(!1),o=P(()=>`nav-screen-menu-group-${n.text.replace(" ","-").toLowerCase()}`);function s(){r.value=!r.value}const i={props:n,isOpen:r,groupId:o,toggle:s,VPNavScreenMenuGroupLink:bp,VPNavScreenMenuGroupSection:z5,VPIcon:dt};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),G5=["aria-controls","aria-expanded"],q5={class:"button-text"},K5=["innerHTML"],Y5=["id"],Q5={key:1,class:"group"};function J5(e,t,n,r,o,s){return h(),b("div",{class:Z(["vp-nav-screen-menu-group",{open:r.isOpen}])},[y("button",{class:"button","aria-controls":r.groupId,"aria-expanded":r.isOpen,onClick:r.toggle},[y("span",q5,[n.icon?(h(),B(r.VPIcon,{key:0,name:n.icon},null,8,["name"])):E("",!0),y("span",{innerHTML:n.text},null,8,K5)]),t[0]||(t[0]=y("span",{class:"vpi-plus button-icon"},null,-1))],8,G5),y("div",{id:r.groupId,class:"items"},[(h(!0),b(ee,null,_e(n.items,i=>(h(),b(ee,{key:i.text},["link"in i?(h(),b("div",{key:i.text,class:"item"},[I(r.VPNavScreenMenuGroupLink,{item:i},null,8,["item"])])):(h(),b("div",Q5,[I(r.VPNavScreenMenuGroupSection,{text:i.text,items:i.items,icon:i.icon},null,8,["text","items","icon"])]))],64))),128))],8,Y5)],2)}const X5=D(W5,[["render",J5],["__scopeId","data-v-10278eb7"],["__file","VPNavScreenMenuGroup.vue"]]),Z5=R({__name:"VPNavScreenMenuLink",props:{item:{}},setup(e,{expose:t}){t();const r={closeScreen:He("close-screen"),VPIcon:dt,VPLink:ze};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}}),ek=["innerHTML"];function tk(e,t,n,r,o,s){return h(),B(r.VPLink,{class:"vp-nav-screen-menu-link",href:n.item.link,target:n.item.target,rel:n.item.rel,"no-icon":n.item.noIcon,onClick:r.closeScreen},{default:C(()=>[n.item.icon?(h(),B(r.VPIcon,{key:0,name:n.item.icon},null,8,["name"])):E("",!0),y("span",{innerHTML:n.item.text},null,8,ek)]),_:1},8,["href","target","rel","no-icon","onClick"])}const nk=D(Z5,[["render",tk],["__scopeId","data-v-8deacc43"],["__file","VPNavScreenMenuLink.vue"]]),rk=R({__name:"VPNavScreenMenu",setup(e,{expose:t}){t();const r={navbar:Xd(),VPNavScreenMenuGroup:X5,VPNavScreenMenuLink:nk};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}}),ok={key:0,class:"vp-nav-screen-menu"};function sk(e,t,n,r,o,s){return r.navbar.length?(h(),b("nav",ok,[(h(!0),b(ee,null,_e(r.navbar,i=>(h(),b(ee,{key:i.text},["link"in i?(h(),B(r.VPNavScreenMenuLink,{key:0,item:i},null,8,["item"])):(h(),B(r.VPNavScreenMenuGroup,{key:1,text:i.text||"",items:i.items,icon:i.icon},null,8,["text","items","icon"]))],64))),128))])):E("",!0)}const ik=D(rk,[["render",sk],["__file","VPNavScreenMenu.vue"]]),ak=R({__name:"VPNavScreenSocialLinks",setup(e,{expose:t}){t();const{theme:n}=oe(),r={theme:n,VPSocialLinks:ko};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}});function lk(e,t,n,r,o,s){return r.theme.social?(h(),B(r.VPSocialLinks,{key:0,class:"vp-nav-screen-social-links",links:r.theme.social},null,8,["links"])):E("",!0)}const ck=D(ak,[["render",lk],["__file","VPNavScreenSocialLinks.vue"]]),uk=R({__name:"VPNavScreenTranslations",setup(e,{expose:t}){t();const{localeLinks:n,currentLang:r}=La(),o=G(!1);function s(){o.value=!o.value}const i={localeLinks:n,currentLang:r,isOpen:o,toggle:s,VPLink:ze};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),fk={class:"list"};function dk(e,t,n,r,o,s){return r.localeLinks.length&&r.currentLang.label?(h(),b("div",{key:0,class:Z(["vp-nav-screen-translations",{open:r.isOpen}])},[y("button",{class:"title",onClick:r.toggle},[t[0]||(t[0]=y("span",{class:"vpi-languages icon lang"},null,-1)),je(" "+K(r.currentLang.label)+" ",1),t[1]||(t[1]=y("span",{class:"vpi-chevron-down icon chevron"},null,-1))]),y("ul",fk,[(h(!0),b(ee,null,_e(r.localeLinks,i=>(h(),b("li",{key:i.link,class:"item"},[I(r.VPLink,{class:"link",href:i.link},{default:C(()=>[je(K(i.text),1)]),_:2},1032,["href"])]))),128))])],2)):E("",!0)}const pk=D(uk,[["render",dk],["__scopeId","data-v-d1e812dd"],["__file","VPNavScreenTranslations.vue"]]),hk=R({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e,{expose:t}){t();const r={isLocked:wa(Ut?document.body:null),VPNavScreenAppearance:$5,VPNavScreenMenu:ik,VPNavScreenSocialLinks:ck,VPNavScreenTranslates:pk};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}}),vk={key:0,id:"navScreen",class:"vp-nav-screen"},mk={class:"container"};function gk(e,t,n,r,o,s){return h(),B(En,{name:"fade",onEnter:t[0]||(t[0]=i=>r.isLocked=!0),onAfterLeave:t[1]||(t[1]=i=>r.isLocked=!1)},{default:C(()=>[n.open?(h(),b("div",vk,[y("div",mk,[T(e.$slots,"nav-screen-content-before",{},void 0,!0),I(r.VPNavScreenMenu,{class:"menu"}),I(r.VPNavScreenTranslates,{class:"translations"}),I(r.VPNavScreenAppearance,{class:"appearance"}),I(r.VPNavScreenSocialLinks,{class:"social-links"}),T(e.$slots,"nav-screen-content-after",{},void 0,!0)])])):E("",!0)]),_:3})}const _k=D(hk,[["render",gk],["__scopeId","data-v-c407709e"],["__file","VPNavScreen.vue"]]),bk=R({__name:"VPNav",setup(e,{expose:t}){t();const{page:n,frontmatter:r}=oe(),{isScreenOpen:o,closeScreen:s,toggleScreen:i}=By(),a=["blog","friends","blog-archives","blog-tags","blog-categories"],l=P(()=>a.includes(n.value.type)),c=P(()=>r.value.navbar!==!1);sn("close-screen",s),Gn(()=>{Ut&&document.documentElement.classList.toggle("hide-nav",!c.value)});const u={page:n,frontmatter:r,isScreenOpen:o,closeScreen:s,toggleScreen:i,fixedInclude:a,fixed:l,hasNavbar:c,VPNavbar:A5,VPNavScreen:_k};return Object.defineProperty(u,"__isScriptSetup",{enumerable:!1,value:!0}),u}});function yk(e,t,n,r,o,s){return r.hasNavbar?(h(),b("header",{key:0,class:Z(["vp-nav",{fixed:r.fixed}])},[I(r.VPNavbar,{"is-screen-open":r.isScreenOpen,onToggleScreen:r.toggleScreen},{"nav-bar-title-before":C(()=>[T(e.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":C(()=>[T(e.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":C(()=>[T(e.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":C(()=>[T(e.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),I(r.VPNavScreen,{open:r.isScreenOpen},{"nav-screen-content-before":C(()=>[T(e.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":C(()=>[T(e.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])],2)):E("",!0)}const yp=D(bk,[["render",yk],["__scopeId","data-v-9aae872a"],["__file","VPNav.vue"]]),kk=R({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e,{expose:t}){t();const n={};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),wk={key:0,class:"vp-backdrop"};function Sk(e,t,n,r,o,s){return h(),B(En,{name:"fade"},{default:C(()=>[n.show?(h(),b("div",wk)):E("",!0)]),_:1})}const Pk=D(kk,[["render",Sk],["__scopeId","data-v-16eeba5c"],["__file","VPBackdrop.vue"]]),xk=R({__name:"VPBackToTop",setup(e,{expose:t}){t();const n=nt(),{height:r}=e0(n),{height:o}=o0();Re(()=>{n.value=document.body});const{page:s}=oe(),{y:i}=Sa(),a=G(!1),l=P(()=>i.value/(r.value-o.value)*100),c=P(()=>`${Math.min(Math.round(l.value),100)||0}%`),u=P(()=>`calc(${Math.PI*l.value}% - ${4*Math.PI}px) calc(${Math.PI*100}% - ${4*Math.PI}px)`),f=P(()=>s.value.frontmatter.backToTop===!1||s.value.frontmatter.pageLayout==="home"&&s.value.frontmatter.config&&s.value.frontmatter.config.length<=1),d=P(()=>r.value<o.value?!1:i.value>o.value/2);let p=null;function v(){p&&clearTimeout(p),p=setTimeout(()=>{a.value=!1},1e3)}me(i,()=>{a.value=!0,v()});function m(){window.scrollTo({top:0,behavior:"smooth"})}const k={body:n,bodyHeight:r,windowHeight:o,page:s,y:i,isScrolling:a,progress:l,percent:c,stroke:u,mustHidden:f,show:d,get timer(){return p},set timer(S){p=S},resetScrolling:v,handleClick:m};return Object.defineProperty(k,"__isScriptSetup",{enumerable:!1,value:!0}),k}}),Tk={"aria-hidden":"true"};function Ck(e,t,n,r,o,s){return h(),B(En,{name:"fade"},{default:C(()=>[la(y("button",{type:"button",class:"vp-back-to-top","aria-label":"back to top",onClick:r.handleClick},[y("span",{class:Z(["percent",{show:r.isScrolling}]),"data-allow-mismatch":""},K(r.percent),3),y("span",{class:Z(["icon vpi-back-to-top",{show:!r.isScrolling}])},null,2),(h(),b("svg",Tk,[y("circle",{cx:"50%",cy:"50%","data-allow-mismatch":"",style:Fe({"stroke-dasharray":r.stroke})},null,4)]))],512),[[Pf,!r.mustHidden&&(r.show||r.isScrolling)]])]),_:1})}const Lk=D(xk,[["render",Ck],["__scopeId","data-v-bb8f8959"],["__file","VPBackToTop.vue"]]),Ek=R({__name:"VPBulletin",setup(e,{expose:t}){t();const n=rc("Bulletin")?De("Bulletin"):null,r=rc("BulletinContent")?De("BulletinContent"):null,{bulletin:o,showBulletin:s,enableBulletin:i,close:a}=Cy(),l={UserBulletin:n,UserBulletinContent:r,bulletin:o,showBulletin:s,enableBulletin:i,close:a};return Object.defineProperty(l,"__isScriptSetup",{enumerable:!1,value:!0}),l}}),Ok=["innerHTML"],Ak={class:"container"},Ik=["innerHTML"];function Vk(e,t,n,r,o,s){return r.UserBulletin&&r.enableBulletin&&r.showBulletin?(h(),B(on(r.UserBulletin),{key:0,class:"vp-bulletin"})):r.bulletin&&r.enableBulletin&&r.showBulletin?(h(),b("div",{key:1,class:Z(["vp-bulletin preset",{border:r.bulletin.border??!0,[r.bulletin.layout??"top-right"]:!0}])},[y("button",{type:"button",class:"close",onClick:t[0]||(t[0]=(...i)=>r.close&&r.close(...i))},t[1]||(t[1]=[y("span",{class:"vpi-close"},null,-1)])),T(e.$slots,"bulletin-content",{},()=>[r.bulletin.title?(h(),b("h2",{key:0,innerHTML:r.bulletin.title},null,8,Ok)):E("",!0),y("div",Ak,[r.UserBulletinContent?(h(),B(on(r.UserBulletinContent),{key:0,class:"content vp-doc"})):r.bulletin.content?(h(),b("div",{key:1,class:"content vp-doc",innerHTML:r.bulletin.content},null,8,Ik)):E("",!0)])])],2)):E("",!0)}const kp=D(Ek,[["render",Vk],["__file","VPBulletin.vue"]]),Mk=R({__name:"VPShortPostList",props:{postList:{}},setup(e,{expose:t}){t();const n={VPLink:ze};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),Rk={class:"vp-blog-short-post-list"},$k={class:"post-title"},Bk={class:"post-time"};function Nk(e,t,n,r,o,s){return h(),b("ul",Rk,[(h(!0),b(ee,null,_e(n.postList,i=>(h(),b("li",{key:i.path},[y("p",$k,[I(r.VPLink,{class:"post-link",href:i.path},{default:C(()=>[je(K(i.title),1)]),_:2},1032,["href"])]),y("span",Bk,K(i.createTime),1)]))),128))])}const wp=D(Mk,[["render",Nk],["__scopeId","data-v-550718d9"],["__file","VPShortPostList.vue"]]),jk=R({__name:"VPBlogArchives",setup(e,{expose:t}){t();const{archive:n}=Kn(),{archives:r}=ky(),o={archiveLink:n,archives:r,VPShortPostList:wp};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}}),Dk={class:"vp-blog-archives"},Hk={class:"archives-title"},Fk={key:0,class:"archives"},Uk={class:"archive-title"};function zk(e,t,n,r,o,s){var i;return h(),b("div",Dk,[T(e.$slots,"blog-archives-before",{},void 0,!0),y("h2",Hk,[t[0]||(t[0]=y("span",{class:"vpi-archive icon"},null,-1)),y("span",null,K(((i=r.archiveLink)==null?void 0:i.text)??"Archives"),1)]),r.archives.length?(h(),b("div",Fk,[(h(!0),b(ee,null,_e(r.archives,a=>(h(),b("div",{key:a.label,class:"archive"},[y("h3",Uk,K(a.label),1),I(r.VPShortPostList,{"post-list":a.list},null,8,["post-list"])]))),128))])):E("",!0),T(e.$slots,"blog-archives-after",{},void 0,!0)])}const Wk=D(jk,[["render",zk],["__scopeId","data-v-e2c39d17"],["__file","VPBlogArchives.vue"]]),Gk=R({__name:"VPBlogNav",props:{isLocal:{type:Boolean}},setup(e,{expose:t}){t();const n=e,r=at(),{hasBlogExtract:o,tags:s,archives:i,categories:a}=Gd(),l={props:n,route:r,hasBlogExtract:o,tags:s,archives:i,categories:a,VPLink:ze};return Object.defineProperty(l,"__isScriptSetup",{enumerable:!1,value:!0}),l}}),qk={class:"text"},Kk={class:"total"},Yk={class:"text"},Qk={class:"total"},Jk={class:"text"},Xk={class:"total"};function Zk(e,t,n,r,o,s){return r.hasBlogExtract?(h(),b("div",{key:0,class:Z(["vp-blog-nav",{local:r.props.isLocal}])},[I(r.VPLink,{class:Z(["nav-link",{active:r.route.path===r.tags.link}]),href:r.tags.link},{default:C(()=>[t[0]||(t[0]=y("span",{class:"icon icon-logo vpi-tag"},null,-1)),y("span",qk,K(r.tags.text),1),y("span",Kk,K(r.tags.total),1),t[1]||(t[1]=y("span",{class:"icon vpi-chevron-right"},null,-1))]),_:1},8,["class","href"]),I(r.VPLink,{class:Z(["nav-link",{active:r.route.path===r.categories.link}]),href:r.categories.link},{default:C(()=>[t[2]||(t[2]=y("span",{class:"icon icon-logo vpi-category"},null,-1)),y("span",Yk,K(r.categories.text),1),y("span",Qk,K(r.categories.total),1),t[3]||(t[3]=y("span",{class:"icon vpi-chevron-right"},null,-1))]),_:1},8,["class","href"]),I(r.VPLink,{class:Z(["nav-link",{active:r.route.path===r.archives.link}]),href:r.archives.link},{default:C(()=>[t[4]||(t[4]=y("span",{class:"icon icon-logo vpi-archive"},null,-1)),y("span",Jk,K(r.archives.text),1),y("span",Xk,K(r.archives.total),1),t[5]||(t[5]=y("span",{class:"icon vpi-chevron-right"},null,-1))]),_:1},8,["class","href"])],2)):E("",!0)}const Sp=D(Gk,[["render",Zk],["__scopeId","data-v-fc762021"],["__file","VPBlogNav.vue"]]),e8=R({__name:"VPBlogProfile",setup(e,{expose:t}){t();const{theme:n}=oe(),r=P(()=>n.value.profile),o=P(()=>{var a,l;const i=((a=r.value)==null?void 0:a.avatar)??((l=r.value)==null?void 0:l.url);return i?It(i)?i:ut(i):""}),s={theme:n,profile:r,imageUrl:o,VPSocialLinks:ko};return Object.defineProperty(s,"__isScriptSetup",{enumerable:!1,value:!0}),s}}),t8={key:0,class:"vp-blog-profile"},n8=["src","alt","width","height"],r8={class:"profile-info"},o8=["innerHTML"],s8={key:1,class:"profile-location"},i8=["innerHTML"],a8={key:2,class:"profile-organization"},l8=["innerHTML"],c8={key:1,class:"profile-social"};function u8(e,t,n,r,o,s){return r.profile?(h(),b("div",t8,[r.imageUrl?(h(),b("p",{key:0,class:Z({circle:!!r.profile.circle})},[y("img",{src:r.imageUrl,alt:r.profile.name,width:r.profile.originalWidth,height:r.profile.originalHeight},null,8,n8)],2)):E("",!0),y("div",r8,[y("h3",null,K(r.profile.name),1),r.profile.description?(h(),b("p",{key:0,innerHTML:r.profile.description},null,8,o8)):E("",!0),r.profile.location?(h(),b("div",s8,[t[0]||(t[0]=y("span",{class:"vpi-location"},null,-1)),r.profile.location?(h(),b("p",{key:0,innerHTML:r.profile.location},null,8,i8)):E("",!0)])):E("",!0),r.profile.organization?(h(),b("div",a8,[t[1]||(t[1]=y("span",{class:"vpi-organization"},null,-1)),r.profile.organization?(h(),b("p",{key:0,innerHTML:r.profile.organization},null,8,l8)):E("",!0)])):E("",!0)]),r.theme.social?(h(),b("div",c8,[I(r.VPSocialLinks,{links:r.theme.social},null,8,["links"])])):E("",!0)])):E("",!0)}const f8=D(e8,[["render",u8],["__scopeId","data-v-e6119de5"],["__file","VPBlogProfile.vue"]]),d8=R({__name:"VPBlogAside",setup(e,{expose:t}){t();const{theme:n}=oe(),r={theme:n,VPBlogNav:Sp,VPBlogProfile:f8};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}}),p8={key:0,class:"vp-blog-aside"};function h8(e,t,n,r,o,s){return r.theme.profile?(h(),b("div",p8,[T(e.$slots,"blog-aside-top",{},void 0,!0),I(r.VPBlogProfile),I(r.VPBlogNav),T(e.$slots,"blog-aside-bottom",{},void 0,!0)])):E("",!0)}const v8=D(d8,[["render",h8],["__scopeId","data-v-7c81350b"],["__file","VPBlogAside.vue"]]),m8=R({__name:"VPCategoriesGroup",props:{item:{},depth:{default:0}},setup(e,{expose:t}){t();const n=e,{theme:r}=oe(),o=at(),s=G(null),i=G(!0),a=G(!1),l=P(()=>{const d=typeof r.value.blog=="boolean"?{}:r.value.blog,p=(d==null?void 0:d.categoriesExpand)??"deep";if(p==="deep")return 1/0;const v=Number(p);return Number.isNaN(v)?1/0:v});me(()=>[o.query,n.item,l.value],()=>{const d=o.query.id;d?i.value=c(n.item,d):i.value=n.depth<=l.value,a.value=d?n.item.id===d:!1},{immediate:!0});function c(d,p){return d.id===p||d.items.filter(v=>v.type==="category").some(v=>c(v,p))}function u(){i.value=!i.value}Re(()=>{s.value&&a.value&&s.value.scrollIntoView({block:"center"})});const f={props:n,theme:r,route:o,el:s,expand:i,isExpand:a,expandDepth:l,hasExpand:c,toggle:u,VPCategories:Pp};return Object.defineProperty(f,"__isScriptSetup",{enumerable:!1,value:!0}),f}});function g8(e,t,n,r,o,s){return h(),b("div",{ref:"el",class:Z(["vp-category-group",{expand:r.expand}])},[y("p",{class:"folder",onClick:r.toggle},[y("span",{class:Z(["icon",[r.expand?"vpi-folder-open":"vpi-folder"]])},null,2),y("span",null,K(n.item.title),1)]),n.item.items.length?(h(),B(r.VPCategories,{key:0,class:"group",items:n.item.items,depth:n.depth},null,8,["items","depth"])):E("",!0)],2)}const _8=D(m8,[["render",g8],["__scopeId","data-v-a2c728bb"],["__file","VPCategoriesGroup.vue"]]),b8=R({__name:"VPCategories",props:{items:{},depth:{default:0}},setup(e,{expose:t}){t();const n={VPCategoriesGroup:_8,VPLink:ze};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),y8={class:"vp-categories"},k8={key:0,class:"post"};function w8(e,t,n,r,o,s){return h(),b("ul",y8,[(h(!0),b(ee,null,_e(n.items,i=>(h(),b("li",{key:i.path||i.id,class:"vp-categories-item"},[i.type==="post"?(h(),b("p",k8,[t[0]||(t[0]=y("span",{class:"vpi-post"},null,-1)),I(r.VPLink,{href:i.path,text:i.title},null,8,["href","text"])])):(h(),B(r.VPCategoriesGroup,{key:1,item:i,depth:n.depth+1},null,8,["item","depth"]))]))),128))])}const Pp=D(b8,[["render",w8],["__scopeId","data-v-b92e1ea5"],["__file","VPCategories.vue"]]),S8=R({__name:"VPBlogCategories",setup(e,{expose:t}){t();const{categories:n}=Kn(),{categories:r}=Fd(),o={categoriesLink:n,categories:r,VPCategories:Pp};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}}),P8={class:"vp-blog-categories"},x8={class:"categories-title"},T8={class:"content"};function C8(e,t,n,r,o,s){var i;return h(),b("div",P8,[T(e.$slots,"blog-categories-before",{},void 0,!0),y("h2",x8,[t[0]||(t[0]=y("span",{class:"vpi-category icon"},null,-1)),y("span",null,K(((i=r.categoriesLink)==null?void 0:i.text)??"Categories"),1)]),T(e.$slots,"blog-categories-content-before",{},void 0,!0),y("div",T8,[I(r.VPCategories,{items:r.categories,depth:0},null,8,["items"])]),T(e.$slots,"blog-categories-after",{},void 0,!0)])}const L8=D(S8,[["render",C8],["__scopeId","data-v-415ee7d5"],["__file","VPBlogCategories.vue"]]),E8=R({__name:"VPBlogExtract",setup(e,{expose:t}){t();const{theme:n}=oe(),r=at(),o=P(()=>n.value.profile),s=P(()=>{var k,S;const m=((k=o.value)==null?void 0:k.avatar)??((S=o.value)==null?void 0:S.url);return m?It(m)?m:ut(m):""}),{hasBlogExtract:i,tags:a,archives:l,categories:c}=Gd(),u=G(!1),f=G(!1),d=wa(Ut?document.body:null);me(()=>r.path,()=>{u.value=!1}),me(u,async()=>{u.value?setTimeout(()=>{f.value=!0},200):f.value=!1}),me([()=>u.value],()=>{u.value?d.value=!0:d.value=!1},{immediate:!0,flush:"post"});const p=P(()=>o.value||i.value),v={theme:n,route:r,profile:o,imageUrl:s,hasBlogExtract:i,tags:a,archives:l,categories:c,open:u,lazyOpen:f,isLocked:d,showBlogExtract:p,VPLink:ze};return Object.defineProperty(v,"__isScriptSetup",{enumerable:!1,value:!0}),v}}),O8={key:0,class:"profile"},A8={key:0,class:"avatar"},I8=["src","alt"],V8={class:"desc"},M8={class:"profile-info"},R8={key:0,class:"profile-location"},$8=["innerHTML"],B8={key:1,class:"profile-organization"},N8=["innerHTML"];function j8(e,t,n,r,o,s){return r.showBlogExtract?(h(),b(ee,{key:0},[y("div",{class:"vp-blog-extract",onClick:t[0]||(t[0]=i=>r.open=!r.open)},t[2]||(t[2]=[y("span",{class:"vpi-blog-ext icon"},null,-1)])),I(En,{name:"fade"},{default:C(()=>[la(y("div",{class:"blog-modal",onClick:t[1]||(t[1]=xf(i=>r.open=!1,["self"]))},[y("div",{class:Z(["blog-modal-container",{open:r.lazyOpen}])},[T(e.$slots,"blog-extract-before",{},void 0,!0),r.profile?(h(),b("div",O8,[r.imageUrl?(h(),b("p",A8,[y("img",{src:r.imageUrl,alt:r.profile.name},null,8,I8)])):E("",!0),y("div",null,[y("h3",null,K(r.profile.name),1),y("p",V8,K(r.profile.description),1),y("div",M8,[r.profile.location?(h(),b("div",R8,[t[3]||(t[3]=y("span",{class:"vpi-location"},null,-1)),r.profile.location?(h(),b("p",{key:0,innerHTML:r.profile.location},null,8,$8)):E("",!0)])):E("",!0),r.profile.organization?(h(),b("div",B8,[t[4]||(t[4]=y("span",{class:"vpi-organization"},null,-1)),r.profile.organization?(h(),b("p",{key:0,innerHTML:r.profile.organization},null,8,N8)):E("",!0)])):E("",!0)])])])):E("",!0),r.hasBlogExtract?(h(),b("div",{key:1,class:Z(["blog-nav",{"no-profile":!r.profile}])},[I(r.VPLink,{class:"nav-link",href:r.tags.link,"no-icon":""},{default:C(()=>[t[5]||(t[5]=y("span",{class:"vpi-tag icon"},null,-1)),y("span",null,K(r.tags.text),1)]),_:1},8,["href"]),I(r.VPLink,{class:"nav-link",href:r.categories.link,"no-icon":""},{default:C(()=>[t[6]||(t[6]=y("span",{class:"vpi-category icon"},null,-1)),y("span",null,K(r.categories.text),1)]),_:1},8,["href"]),I(r.VPLink,{class:"nav-link",href:r.archives.link,"no-icon":""},{default:C(()=>[t[7]||(t[7]=y("span",{class:"vpi-archive icon"},null,-1)),y("span",null,K(r.archives.text),1)]),_:1},8,["href"])],2)):E("",!0),T(e.$slots,"blog-extract-after",{},void 0,!0)],2)],512),[[Pf,r.open]])]),_:3})],64)):E("",!0)}const D8=D(E8,[["render",j8],["__scopeId","data-v-3a3fbb91"],["__file","VPBlogExtract.vue"]]),H8=R({__name:"VPBlogTags",setup(e,{expose:t}){t();const{tags:n}=Kn(),{tags:r,currentTag:o,postList:s,handleTagClick:i}=Wd(),a={tagsLink:n,tags:r,currentTag:o,postList:s,handleTagClick:i,VPShortPostList:wp};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}}),F8={class:"tags-nav"},U8={class:"tags-title"},z8={class:"tags"},W8=["onClick"],G8={class:"tag-name"},q8={class:"tag-count"},K8={key:0,class:"tags-container"},Y8={class:"tag-title"};function Q8(e,t,n,r,o,s){var i;return h(),b("div",{class:Z(["vp-blog-tags",{"has-list":r.postList.length>0}])},[T(e.$slots,"blog-tags-before",{},void 0,!0),y("div",F8,[y("h2",U8,[t[0]||(t[0]=y("span",{class:"vpi-tag icon"},null,-1)),y("span",null,K(((i=r.tagsLink)==null?void 0:i.text)??"Tags"),1)]),T(e.$slots,"blog-tags-title-after",{},void 0,!0),y("div",z8,[(h(!0),b(ee,null,_e(r.tags,a=>(h(),b("p",{key:a.name,class:Z(["tag",{active:a.name===r.currentTag,[a.className]:!0}]),onClick:l=>r.handleTagClick(a.name)},[y("span",G8,K(a.name),1),y("span",q8,K(a.count),1)],10,W8))),128))])]),T(e.$slots,"blog-tags-content-before",{},void 0,!0),r.currentTag?(h(),b("div",K8,[y("h3",Y8,K(r.currentTag),1),r.postList.length?(h(),B(r.VPShortPostList,{key:0,"post-list":r.postList},null,8,["post-list"])):E("",!0)])):E("",!0),T(e.$slots,"blog-tags-after",{},void 0,!0)],2)}const J8=D(H8,[["render",Q8],["__scopeId","data-v-9ecc2668"],["__file","VPBlogTags.vue"]]),X8=R({__name:"VPPagination",props:{page:{},totalPage:{},isFirstPage:{type:Boolean},isLastPage:{type:Boolean},pageRange:{}},emits:["change"],setup(e,{expose:t,emit:n}){t();const r=n,{theme:o}=oe(),s={emit:r,theme:o};return Object.defineProperty(s,"__isScriptSetup",{enumerable:!1,value:!0}),s}}),Z8={class:"vp-blog-pagination"},e6=["disabled"],t6={class:"page-range"},n6=["disabled","onClick"],r6=["disabled"];function o6(e,t,n,r,o,s){return h(),b("div",Z8,[y("button",{type:"button",class:"btn prev",disabled:n.isFirstPage,onClick:t[0]||(t[0]=()=>r.emit("change",n.page-1))},K(r.theme.prevPageLabel||"Prev"),9,e6),y("div",t6,[(h(!0),b(ee,null,_e(n.pageRange,({value:i,more:a})=>(h(),b("button",{key:i,class:Z(["btn",{more:a,active:i===n.page}]),disabled:a,type:"button",onClick:()=>!a&&r.emit("change",i)},K(a?"...":i),11,n6))),128))]),y("button",{type:"button",class:"btn next",disabled:n.isLastPage,onClick:t[1]||(t[1]=()=>r.emit("change",n.page+1))},K(r.theme.nextPageLabel||"Next"),9,r6)])}const s6=D(X8,[["render",o6],["__scopeId","data-v-b4ebd071"],["__file","VPPagination.vue"]]),i6=R({__name:"VPPostItem",props:{post:{},index:{}},setup(e,{expose:t}){t();const n=e,{theme:r}=oe(),o=Ta(),{categories:s,tags:i}=Kn(),a=P(()=>{var S;return(S=n.post.createTime)==null?void 0:S.split(" ")[0].replace(/\//g,"-")}),l=P(()=>n.post.categoryList??[]),c=P(()=>typeof n.post.sticky=="boolean"?n.post.sticky:typeof n.post.sticky=="number"?n.post.sticky>=0:!1),u=P(()=>{const L=(r.value.blog||{}).tagsTheme??"colored";return(n.post.tags??[]).slice(0,4).map(_=>({name:_,className:o.value[_]?`vp-tag-${o.value[_]}`:`tag-${L}`}))}),f=P(()=>{var x;if(!n.post.cover)return null;const S=(typeof r.value.blog=="boolean"?"right":(x=r.value.blog)==null?void 0:x.postCover)??"right",L=typeof S=="string"?{layout:S}:S,_=typeof n.post.cover=="string"?{url:n.post.cover}:n.post.cover;return{layout:"right",ratio:"4:3",...L,..._}}),d=Ft("(max-width: 496px)"),p=P(()=>{var _;if(d.value)return"top";const S=((_=f.value)==null?void 0:_.layout)??"right",L=(n.index+1)%2===1;return S==="odd-left"?L?"left":"right":S==="odd-right"?L?"right":"left":S}),v=P(()=>{var S;return n.post.excerpt||p.value==="top"?!1:((S=f.value)==null?void 0:S.compact)??!1}),m=P(()=>{if(!f.value)return null;let S;if(typeof f.value.ratio=="number")S=f.value.ratio;else{const[L,_]=f.value.ratio.split(/[:/]/).map(Number);S=_/L}if(p.value==="left"||p.value==="right"){const L=f.value.width??240;return{width:`${L}px`,height:`${L*S}px`}}return{height:0,paddingBottom:`${S*100}%`}}),k={props:n,theme:r,colors:o,categoriesLink:s,tagsLink:i,createTime:a,categoryList:l,sticky:c,tags:u,cover:f,isMobile:d,coverLayout:p,coverCompact:v,coverStyles:m,VPLink:ze};return Object.defineProperty(k,"__isScriptSetup",{enumerable:!1,value:!0}),k}}),a6=["src","alt"],l6={class:"blog-post-item-content"},c6={key:0,class:"sticky"},u6={key:1,class:"icon-lock vpi-lock"},f6={class:"post-meta"},d6={key:0,class:"category-list"},p6={key:0},h6={key:1,class:"tag-list"},v6={key:2,class:"create-time"},m6=["innerHTML"];function g6(e,t,n,r,o,s){return h(),b("div",{class:Z(["vp-blog-post-item",{"has-cover":r.cover,[r.coverLayout]:r.cover}]),"data-allow-mismatch":""},[r.cover?(h(),b("div",{key:0,class:Z(["post-cover",{compact:r.coverCompact}]),"data-allow-mismatch":"",style:Fe(r.coverStyles)},[y("img",{src:r.cover.url,alt:n.post.title,loading:"lazy"},null,8,a6)],6)):E("",!0),y("div",l6,[y("h3",null,[r.sticky?(h(),b("span",c6,"TOP")):E("",!0),n.post.encrypt?(h(),b("span",u6)):E("",!0),I(r.VPLink,{href:n.post.path,text:n.post.title},null,8,["href","text"])]),y("div",f6,[r.categoryList.length?(h(),b("div",d6,[t[0]||(t[0]=y("span",{class:"icon vpi-folder"},null,-1)),(h(!0),b(ee,null,_e(r.categoryList,(i,a)=>(h(),b(ee,{key:a},[I(r.VPLink,{href:r.categoriesLink?`${r.categoriesLink.link}?id=${i.id}`:void 0},{default:C(()=>[je(K(i.name),1)]),_:2},1032,["href"]),a!==r.categoryList.length-1?(h(),b("span",p6,"/")):E("",!0)],64))),128))])):E("",!0),r.tags.length?(h(),b("div",h6,[t[1]||(t[1]=y("span",{class:"icon vpi-tag"},null,-1)),(h(!0),b(ee,null,_e(r.tags,i=>(h(),B(r.VPLink,{key:i.name,class:Z(["tag",i.className]),href:r.tagsLink?`${r.tagsLink.link}?tag=${i.name}`:void 0},{default:C(()=>[je(K(i.name),1)]),_:2},1032,["class","href"]))),128))])):E("",!0),r.createTime?(h(),b("div",v6,[t[2]||(t[2]=y("span",{class:"icon vpi-clock"},null,-1)),y("span",null,K(r.createTime),1)])):E("",!0)]),n.post.excerpt?(h(),b("div",{key:0,class:"vp-doc excerpt",innerHTML:n.post.excerpt},null,8,m6)):E("",!0)])],2)}const _6=D(i6,[["render",g6],["__scopeId","data-v-f813830a"],["__file","VPPostItem.vue"]]),b6=R({__name:"VPTransitionDrop",props:{delay:{default:0},duration:{default:.25},appear:{type:Boolean}},setup(e,{expose:t}){t();const n=e,{theme:r}=oe(),o=P(()=>{const u=r.value.transition;return typeof u=="object"?u.postList!==!1:u!==!1});let s="";function i(u){const f=u;f.style.transform="translateY(-20px)",f.style.opacity="0"}function a(u){var d;const f=u;if(!s){const p=typeof window<"u"?(d=window.getComputedStyle)==null?void 0:d.call(window,f).transition:"";s=p&&!p.includes("all")?`${p||""}, `:" "}f.style.transition=`${s}transform ${n.duration}s ease-in-out ${n.delay}s, opacity ${n.duration}s ease-in-out ${n.delay}s`}function l(u){const f=u;f.style.transform="translateY(0)",f.style.opacity="1",f.style.transition=s}const c={props:n,theme:r,enabledTransition:o,get _transition(){return s},set _transition(u){s=u},beforeAppear:i,setStyle:a,unsetStyle:l};return Object.defineProperty(c,"__isScriptSetup",{enumerable:!1,value:!0}),c}});function y6(e,t,n,r,o,s){return r.enabledTransition?(h(),B(En,{key:0,name:"drop",mode:"out-in",appear:n.appear,onAppear:r.setStyle,onBeforeAppear:r.beforeAppear,onAfterAppear:r.unsetStyle,onEnter:r.setStyle,onAfterEnter:r.unsetStyle,onBeforeLeave:r.setStyle},{default:C(()=>[T(e.$slots,"default")]),_:3},8,["appear"])):T(e.$slots,"default",{key:1})}const k6=D(b6,[["render",y6],["__file","VPTransitionDrop.vue"]]),w6=R({__name:"VPPostList",props:{homeBlog:{type:Boolean}},setup(e,{expose:t}){t();const n=e,{postList:r,page:o,totalPage:s,pageRange:i,isLastPage:a,isFirstPage:l,isPaginationEnabled:c,changePage:u}=xy(P(()=>!!n.homeBlog)),f={props:n,postList:r,page:o,totalPage:s,pageRange:i,isLastPage:a,isFirstPage:l,isPaginationEnabled:c,changePage:u,VPPagination:s6,VPPostItem:_6,VPTransitionDrop:k6};return Object.defineProperty(f,"__isScriptSetup",{enumerable:!1,value:!0}),f}}),S6={class:"vp-blog-post-list"};function P6(e,t,n,r,o,s){return h(),b("div",S6,[T(e.$slots,"blog-post-list-before",{},void 0,!0),(h(!0),b(ee,null,_e(r.postList,(i,a)=>(h(),B(r.VPTransitionDrop,{key:i.path,appear:"",delay:a*.025},{default:C(()=>[(h(),B(r.VPPostItem,{key:i.path,post:i,index:a},null,8,["post","index"]))]),_:2},1032,["delay"]))),128)),T(e.$slots,"blog-post-list-after",{},void 0,!0),r.isPaginationEnabled?(h(),B(r.VPPagination,{key:0,page:r.page,"total-page":r.totalPage,"page-range":r.pageRange,"is-last-page":r.isLastPage,"is-first-page":r.isFirstPage,onChange:r.changePage},null,8,["page","total-page","page-range","is-last-page","is-first-page","onChange"])):E("",!0),T(e.$slots,"blog-post-list-pagination-after",{},void 0,!0)])}const x6=D(w6,[["render",P6],["__scopeId","data-v-e8ad7548"],["__file","VPPostList.vue"]]),T6=R({__name:"VPTransitionFadeSlideY",setup(e,{expose:t}){t();const{theme:n}=oe(),{resolve:r,pending:o}=tp(),s=P(()=>{const a=n.value.transition;return typeof a=="object"?a.page!==!1:a!==!1}),i={theme:n,onBeforeEnter:r,onBeforeLeave:o,enabledTransition:s};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}});function C6(e,t,n,r,o,s){return r.enabledTransition?(h(),B(En,{key:0,name:"fade-slide-y",mode:"out-in",onAfterEnter:r.onBeforeEnter,onBeforeLeave:r.onBeforeLeave},{default:C(()=>[T(e.$slots,"default")]),_:3},8,["onAfterEnter","onBeforeLeave"])):T(e.$slots,"default",{key:1})}const Da=D(T6,[["render",C6],["__file","VPTransitionFadeSlideY.vue"]]),L6=R({__name:"VPBlog",props:{homeBlog:{type:Boolean},type:{},onlyOnce:{type:Boolean}},setup(e,{expose:t}){t();const{theme:n,page:r}=oe(),o={theme:n,page:r,VPBlogArchives:Wk,VPBlogAside:v8,VPBlogCategories:L8,VPBlogExtract:D8,VPBlogNav:Sp,VPBlogTags:J8,VPPostList:x6,VPTransitionFadeSlideY:Da};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}});function E6(e,t,n,r,o,s){var i;return h(),b("div",{class:Z(["vp-blog",{"home-blog":n.homeBlog}]),"vp-blog":""},[T(e.$slots,"blog-top",{},void 0,!0),y("div",{class:Z(["blog-container",{"no-profile":!r.theme.profile,left:((i=r.theme.profile)==null?void 0:i.layout)==="left"}])},[r.theme.profile?E("",!0):(h(),B(r.VPBlogNav,{key:0,"is-local":""})),I(r.VPTransitionFadeSlideY,null,{default:C(()=>[r.page.type==="blog-archives"?(h(),B(r.VPBlogArchives,{key:0},{"blog-archives-before":C(()=>[T(e.$slots,"blog-archives-before",{},void 0,!0)]),"blog-archives-after":C(()=>[T(e.$slots,"blog-archives-after",{},void 0,!0)]),_:3})):r.page.type==="blog-tags"?(h(),B(r.VPBlogTags,{key:1},{"blog-tags-before":C(()=>[T(e.$slots,"blog-tags-before",{},void 0,!0)]),"blog-tags-after":C(()=>[T(e.$slots,"blog-tags-after",{},void 0,!0)]),"blog-tags-title-after":C(()=>[T(e.$slots,"blog-tags-title-after",{},void 0,!0)]),"blog-tags-content-before":C(()=>[T(e.$slots,"blog-tags-content-before",{},void 0,!0)]),_:3})):r.page.type==="blog-categories"?(h(),B(r.VPBlogCategories,{key:2},{"blog-categories-before":C(()=>[T(e.$slots,"blog-categories-before",{},void 0,!0)]),"blog-categories-after":C(()=>[T(e.$slots,"blog-categories-after",{},void 0,!0)]),"blog-categories-content-before":C(()=>[T(e.$slots,"blog-categories-content-before",{},void 0,!0)]),_:3})):(h(),B(r.VPPostList,{key:3,"home-blog":n.homeBlog},{"blog-post-list-before":C(()=>[T(e.$slots,"blog-post-list-before",{},void 0,!0)]),"blog-post-list-after":C(()=>[T(e.$slots,"blog-post-list-after",{},void 0,!0)]),"blog-post-list-pagination-after":C(()=>[T(e.$slots,"blog-post-list-pagination-after",{},void 0,!0)]),_:3},8,["home-blog"]))]),_:3}),I(r.VPBlogAside,null,{"blog-aside-top":C(()=>[T(e.$slots,"blog-aside-top",{},void 0,!0)]),"blog-aside-bottom":C(()=>[T(e.$slots,"blog-aside-bottom",{},void 0,!0)]),_:3}),I(r.VPBlogExtract,null,{"blog-extract-before":C(()=>[T(e.$slots,"blog-extract-before",{},void 0,!0)]),"blog-extract-after":C(()=>[T(e.$slots,"blog-extract-after",{},void 0,!0)]),_:3})],2),T(e.$slots,"blog-bottom",{},void 0,!0)],2)}const xp=D(L6,[["render",E6],["__scopeId","data-v-a64101c8"],["__file","VPBlog.vue"]]),O6=R({__name:"VPButton",props:{tag:{default:void 0},size:{default:"medium"},theme:{default:"brand"},text:{},href:{default:void 0},target:{default:void 0},rel:{default:void 0}},setup(e,{expose:t}){t();const n=e,r=Cr(),o=P(()=>n.tag||n.href?"a":"button"),{link:s,isExternal:i}=Jd(zn(n,"href"),zn(n,"target"));function a(c){var u;!i.value&&((u=s.value)==null?void 0:u[0])!=="#"&&(c.preventDefault(),s.value&&r.push(s.value))}const l={props:n,router:r,component:o,link:s,isExternal:i,linkTo:a,get withBase(){return ut}};return Object.defineProperty(l,"__isScriptSetup",{enumerable:!1,value:!0}),l}});function A6(e,t,n,r,o,s){var i;return h(),B(on(r.component),{class:Z(["vp-button",[n.size,n.theme]]),href:((i=r.link)==null?void 0:i[0])==="#"?r.link:r.withBase(r.link||""),target:n.target??(r.isExternal?"_blank":void 0),rel:n.rel??(r.isExternal?"noreferrer":void 0),onClick:t[0]||(t[0]=a=>r.linkTo(a))},{default:C(()=>[je(K(n.text),1)]),_:1},8,["class","href","target","rel"])}const Tp=D(O6,[["render",A6],["__scopeId","data-v-60445161"],["__file","VPButton.vue"]]),Jc="https://api.pengzhanbo.cn/wallpaper/bing",I6=R({__name:"VPHomeBanner",props:{type:{},banner:{},bannerMask:{},hero:{},onlyOnce:{type:Boolean},full:{type:Boolean}},setup(e,{expose:t}){t();const n=e,{isDark:r,frontmatter:o}=oe(),s=P(()=>{const d=n.bannerMask??o.value.bannerMask;return typeof d!="object"?d||0:(r.value?d.dark:d.light)||0}),i=P(()=>{const d=n.banner??o.value.banner;return{"background-image":`url(${d?It(d)?d:ut(d):Jc})`}}),a=P(()=>{var d,p;return((d=n.hero)==null?void 0:d.name)??((p=o.value.hero)==null?void 0:p.name)??"Plume"}),l=P(()=>{var d,p;return((d=n.hero)==null?void 0:d.tagline)??((p=o.value.hero)==null?void 0:p.tagline)??"A VuePress Theme"}),c=P(()=>{var d,p;return((d=n.hero)==null?void 0:d.text)??((p=o.value.hero)==null?void 0:p.text)}),u=P(()=>{var d,p;return((d=n.hero)==null?void 0:d.actions)??((p=o.value.hero)==null?void 0:p.actions)??[]}),f={props:n,DEFAULT_BANNER:Jc,isDark:r,matter:o,mask:s,bannerStyle:i,name:a,tagline:l,text:c,actions:u,VPButton:Tp};return Object.defineProperty(f,"__isScriptSetup",{enumerable:!1,value:!0}),f}}),V6={class:"container"},M6={class:"content"},R6={key:0,class:"hero-name"},$6={key:1,class:"hero-tagline"},B6={key:2,class:"hero-text"},N6={key:3,class:"actions"};function j6(e,t,n,r,o,s){return h(),b("div",{class:"vp-home-banner",style:Fe(r.bannerStyle)},[y("div",{class:"banner-mask",style:Fe({opacity:r.mask})},null,4),y("div",V6,[y("div",M6,[r.name?(h(),b("h2",R6,K(r.name),1)):E("",!0),r.tagline?(h(),b("p",$6,[t[0]||(t[0]=y("span",{class:"line"},null,-1)),t[1]||(t[1]=je()),y("span",null,K(r.tagline),1)])):E("",!0),r.text?(h(),b("p",B6,K(r.text),1)):E("",!0),r.actions.length?(h(),b("div",N6,[(h(!0),b(ee,null,_e(r.actions,i=>(h(),b("div",{key:i.link,class:"action"},[I(r.VPButton,{tag:"a",size:"medium",theme:i.theme,text:i.text,href:i.link},null,8,["theme","text","href"])]))),128))])):E("",!0)])])],4)}const D6=D(I6,[["render",j6],["__scopeId","data-v-7453d00f"],["__file","VPHomeBanner.vue"]]),H6=R({__name:"VPHomeCustom",props:{type:{},full:{type:Boolean},backgroundImage:{},backgroundAttachment:{},onlyOnce:{type:Boolean}},setup(e,{expose:t}){t();const r={props:e,VPHomeBox:wr,get Content(){return ed}};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}});function F6(e,t,n,r,o,s){return h(),B(r.VPHomeBox,xn({class:"vp-home-custom"},r.props),{default:C(()=>[I(r.Content,{class:"vp-doc","vp-content":""})]),_:1},16)}const U6=D(H6,[["render",F6],["__file","VPHomeCustom.vue"]]),z6=R({__name:"VPHomeFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(e,{expose:t}){t();const n=e,r=/^[\w-]+:[\w-]+$/,o=P(()=>typeof n.icon!="string"||yd(n.icon)||It(n.icon)?!1:r.test(n.icon)),s={props:n,ICONIFY_NAME:r,isIconify:o,VPIcon:dt,VPImage:Ps,VPLink:ze};return Object.defineProperty(s,"__isScriptSetup",{enumerable:!1,value:!0}),s}}),W6={class:"box"},G6={key:0,class:"icon"},q6={key:2,class:"icon"},K6=["innerHTML"],Y6=["innerHTML"],Q6=["innerHTML"],J6={key:5,class:"link-text"},X6={class:"link-text-value"};function Z6(e,t,n,r,o,s){return h(),B(r.VPLink,{class:"vp-home-feature",href:n.link,rel:n.rel,target:n.target,"no-icon":"",tag:n.link?"a":"div"},{default:C(()=>[y("article",W6,[typeof n.icon=="object"&&n.icon.wrap?(h(),b("div",G6,[I(r.VPImage,{image:n.icon,alt:n.icon.alt,height:n.icon.height||48,width:n.icon.width||48},null,8,["image","alt","height","width"])])):typeof n.icon=="object"?(h(),B(r.VPImage,{key:1,image:n.icon,alt:n.icon.alt,height:n.icon.height||48,width:n.icon.width||48},null,8,["image","alt","height","width"])):n.icon&&r.isIconify?(h(),b("div",q6,[I(r.VPIcon,{name:n.icon},null,8,["name"])])):n.icon?(h(),b("div",{key:3,class:"icon",innerHTML:n.icon},null,8,K6)):E("",!0),y("h2",{class:"title",innerHTML:n.title},null,8,Y6),n.details?(h(),b("p",{key:4,class:"details",innerHTML:n.details},null,8,Q6)):E("",!0),n.linkText?(h(),b("div",J6,[y("p",X6,[je(K(n.linkText)+" ",1),t[0]||(t[0]=y("span",{class:"vpi-arrow-right link-text-icon"},null,-1))])])):E("",!0)])]),_:1},8,["href","rel","target","tag"])}const e7=D(z6,[["render",Z6],["__scopeId","data-v-8cb22cff"],["__file","VPHomeFeature.vue"]]),t7=R({__name:"VPHomeFeatures",props:{type:{},title:{},description:{},features:{},full:{type:Boolean},backgroundImage:{},backgroundAttachment:{},onlyOnce:{type:Boolean}},setup(e,{expose:t}){t();const n=e,r=P(()=>{var i;const s=(i=n.features)==null?void 0:i.length;if(s){if(s===2)return"grid-2";if(s===3)return"grid-3";if(s%3===0)return"grid-6";if(s>3)return"grid-4"}else return}),o={props:n,grid:r,VPHomeBox:wr,VPHomeFeature:e7};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}}),n7=["innerHTML"],r7=["innerHTML"],o7={class:"items"};function s7(e,t,n,r,o,s){return n.features?(h(),B(r.VPHomeBox,{key:0,class:"vp-home-features",type:n.type,"background-image":n.backgroundImage,"background-attachment":n.backgroundAttachment,full:n.full},{default:C(()=>[n.title?(h(),b("h2",{key:0,class:"title",innerHTML:n.title},null,8,n7)):E("",!0),n.description?(h(),b("p",{key:1,class:"description",innerHTML:n.description},null,8,r7)):E("",!0),y("div",o7,[(h(!0),b(ee,null,_e(n.features,i=>(h(),b("div",{key:i.title,class:Z(["item",[r.grid]])},[I(r.VPHomeFeature,{icon:i.icon,title:i.title,details:i.details,link:i.link,"link-text":i.linkText,rel:i.rel,target:i.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])]),_:1},8,["type","background-image","background-attachment","full"])):E("",!0)}const i7=D(t7,[["render",s7],["__scopeId","data-v-49813e8f"],["__file","VPHomeFeatures.vue"]]),a7=R({__name:"VPHomeHero",props:{type:{},hero:{},full:{type:Boolean},background:{},tintPlate:{},filter:{},backgroundImage:{},backgroundAttachment:{},onlyOnce:{type:Boolean}},setup(e,{expose:t}){t();const n=e,{isDark:r,frontmatter:o}=oe(),s=P(()=>{if(n.background==="tint-plate")return null;const f=(n.backgroundImage?typeof n.backgroundImage=="string"?n.backgroundImage:n.backgroundImage[r.value?"dark":"light"]??n.backgroundImage.light:"")||n.background;return f?{"background-image":`url(${It(f)?f:ut(f)})`,"background-attachment":n.backgroundAttachment||"","--vp-hero-bg-filter":n.filter}:null}),i=P(()=>n.hero??o.value.hero??{}),a=P(()=>i.value.actions??[]),l=G();Iy(l,P(()=>n.background==="tint-plate"),P(()=>n.tintPlate));const c={props:n,isDark:r,matter:o,heroBackground:s,hero:i,actions:a,canvas:l,VPButton:Tp};return Object.defineProperty(c,"__isScriptSetup",{enumerable:!1,value:!0}),c}}),l7={key:1,class:"bg-filter"},c7={ref:"canvas",width:"32",height:"32"},u7={class:"container"},f7={class:"content"},d7=["innerHTML"],p7=["innerHTML"],h7=["innerHTML"],v7={key:3,class:"actions"},m7={class:"action"};function g7(e,t,n,r,o,s){return h(),b("div",{class:Z(["vp-home-hero",{full:r.props.full,once:r.props.onlyOnce}])},[r.heroBackground?(h(),b("div",{key:0,class:"home-hero-bg",style:Fe(r.heroBackground)},null,4)):E("",!0),n.background==="tint-plate"?(h(),b("div",l7,[y("canvas",c7,null,512)])):E("",!0),y("div",u7,[y("div",f7,[r.hero.name?(h(),b("h1",{key:0,class:"hero-name",innerHTML:r.hero.name},null,8,d7)):E("",!0),r.hero.tagline?(h(),b("p",{key:1,class:"hero-tagline",innerHTML:r.hero.tagline},null,8,p7)):E("",!0),r.hero.text?(h(),b("p",{key:2,class:"hero-text",innerHTML:r.hero.text},null,8,h7)):E("",!0),r.actions.length?(h(),b("div",v7,[y("div",m7,[(h(!0),b(ee,null,_e(r.actions,i=>(h(),B(r.VPButton,{key:i.link,tag:"a",size:"medium",theme:i.theme,text:i.text,href:i.link,target:i.target,rel:i.rel},null,8,["theme","text","href","target","rel"]))),128))])])):E("",!0)])])],2)}const _7=D(a7,[["render",g7],["__scopeId","data-v-d6e34c99"],["__file","VPHomeHero.vue"]]),b7=R({__name:"VPHomeProfile",props:{type:{},name:{},description:{},avatar:{},circle:{type:Boolean},full:{type:Boolean},backgroundImage:{},backgroundAttachment:{},onlyOnce:{type:Boolean}},setup(e,{expose:t}){t();const n=e,{theme:r}=oe(),o=P(()=>r.value.profile),s=P(()=>{var a,l,c,u,f;return{name:n.name||((a=o.value)==null?void 0:a.name),description:n.description||((l=o.value)==null?void 0:l.description),avatar:n.avatar||((c=o.value)==null?void 0:c.avatar)||((u=o.value)==null?void 0:u.url),circle:n.circle||((f=o.value)==null?void 0:f.circle)}}),i={props:n,theme:r,rawProfile:o,profile:s,VPHomeBox:wr,VPImage:Ps};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),y7=["innerHTML"],k7=["innerHTML"];function w7(e,t,n,r,o,s){return h(),B(r.VPHomeBox,{class:"vp-home-profile",type:n.type,"background-image":n.backgroundImage,"background-attachment":n.backgroundAttachment,full:n.full},{default:C(()=>[r.profile.avatar?(h(),B(r.VPImage,{key:0,image:r.profile.avatar,class:Z({circle:r.profile.circle})},null,8,["image","class"])):E("",!0),r.profile.name?(h(),b("h3",{key:1,innerHTML:r.profile.name},null,8,y7)):E("",!0),r.profile.description?(h(),b("p",{key:2,innerHTML:r.profile.description},null,8,k7)):E("",!0)]),_:1},8,["type","background-image","background-attachment","full"])}const S7=D(b7,[["render",w7],["__scopeId","data-v-faeb7992"],["__file","VPHomeProfile.vue"]]),P7=R({__name:"VPHomeTextImage",props:{type:{},image:{},width:{},title:{},description:{},list:{},full:{type:Boolean},backgroundImage:{},backgroundAttachment:{},onlyOnce:{type:Boolean}},setup(e,{expose:t}){t();const n=e,r=P(()=>{const s=n.width;return typeof s=="number"?`${s}px`:s}),o={props:n,maxWidth:r,VPHomeBox:wr,VPImage:Ps};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}}),x7={class:"content-image"},T7={class:"content-text vp-doc"},C7={key:0,class:"title"},L7=["innerHTML"],E7={key:2,class:"list"},O7=["innerHTML"],A7=["innerHTML"],I7=["innerHTML"];function V7(e,t,n,r,o,s){return h(),B(r.VPHomeBox,{class:"vp-home-text-image",type:n.type,"background-image":n.backgroundImage,"background-attachment":n.backgroundAttachment,full:n.full,"container-class":{reverse:n.type==="text-image"}},{default:C(()=>[y("div",x7,[I(r.VPImage,{image:n.image,style:Fe({maxWidth:r.maxWidth})},null,8,["image","style"])]),y("div",T7,[y("section",null,[n.title?(h(),b("h2",C7,K(n.title),1)):E("",!0),n.description?(h(),b("p",{key:1,class:"description",innerHTML:n.description},null,8,L7)):E("",!0),n.list&&n.list.length?(h(),b("ul",E7,[(h(!0),b(ee,null,_e(n.list,(i,a)=>(h(),b("li",{key:a},[typeof i=="object"?(h(),b(ee,{key:0},[i.title?(h(),b("h3",{key:0,innerHTML:i.title},null,8,O7)):E("",!0),i.description?(h(),b("p",{key:1,innerHTML:i.description},null,8,A7)):E("",!0)],64)):(h(),b("p",{key:1,innerHTML:i},null,8,I7))]))),128))])):E("",!0)])])]),_:1},8,["type","background-image","background-attachment","full","container-class"])}const Xc=D(P7,[["render",V7],["__scopeId","data-v-d27ad99f"],["__file","VPHomeTextImage.vue"]]),M7=R({__name:"VPHome",setup(e,{expose:t}){t();const n=fv();function r(){return ve(xp,{homeBlog:!0},{"blog-top":()=>{var d;return(d=n["blog-top"])==null?void 0:d.call(n)},"blog-bottom":()=>{var d;return(d=n["blog-bottom"])==null?void 0:d.call(n)},"blog-post-list-before":()=>{var d;return(d=n["blog-post-list-before"])==null?void 0:d.call(n)},"blog-post-list-after":()=>{var d;return(d=n["blog-post-list-after"])==null?void 0:d.call(n)},"blog-post-list-pagination-after":()=>{var d;return(d=n["blog-post-list-pagination-after"])==null?void 0:d.call(n)}})}const o={banner:D6,hero:_7,features:i7,"text-image":Xc,"image-text":Xc,profile:S7,blog:r,custom:U6},s={name:"Theme Plume",tagline:"VuePress Next Theme",text:"一个简约的,功能丰富的 vuepress 文档&博客 主题"},{frontmatter:i}=oe(),a=P(()=>{const d=i.value.config;return d&&d.length?d:i.value.banner?[{type:"banner",banner:i.value.banner,bannerMask:i.value.bannerMask,hero:i.value.hero??s}]:[{type:"hero",full:!0,background:"tint-plate",hero:i.value.hero??s}]}),l=P(()=>a.value.length===1);function c(d){return o[d]??De(d)}let u=null;me(()=>l.value,d=>Vt(()=>{typeof document<"u"&&(u??(u=document.querySelector(".vp-layout")),u==null||u.classList.toggle("footer-no-border",d))}),{immediate:!0}),zt(()=>{u==null||u.classList.remove("footer-no-border")});const f={slots:n,VPHomeBlog:r,components:o,DEFAULT_HERO:s,matter:i,config:a,onlyOnce:l,resolveComponentName:c,get el(){return u},set el(d){u=d}};return Object.defineProperty(f,"__isScriptSetup",{enumerable:!1,value:!0}),f}}),R7={class:"vp-home"};function $7(e,t,n,r,o,s){return h(),b("div",R7,[(h(!0),b(ee,null,_e(r.config,(i,a)=>(h(),b("div",{key:i.type+a,class:Z({layout:a>0&&i.type!=="features"&&i.type!=="custom"})},[(h(),B(on(r.resolveComponentName(i.type)),xn({ref_for:!0},i,{"only-once":r.onlyOnce}),null,16,["only-once"]))],2))),128))])}const B7=D(M7,[["render",$7],["__scopeId","data-v-77b446df"],["__file","VPHome.vue"]]),N7=R({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(e,{expose:t}){t();function n({target:o}){const s=`#${o.href.split("#")[1]}`,i=document.querySelector(decodeURIComponent(s));i==null||i.focus({preventScroll:!0})}const r={handleClick:n};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}}),j7=["href"];function D7(e,t,n,r,o,s){const i=De("VPDocOutlineItem",!0);return h(),b("ul",{class:Z(n.root?"root":"nested")},[(h(!0),b(ee,null,_e(n.headers,({children:a,link:l,title:c})=>(h(),b("li",{key:l},[y("a",{class:"outline-link",href:l,onClick:r.handleClick},K(c),9,j7),a!=null&&a.length?(h(),B(i,{key:0,headers:a},null,8,["headers"])):E("",!0)]))),128))],2)}const Cp=D(N7,[["render",D7],["__scopeId","data-v-c165cf89"],["__file","VPDocOutlineItem.vue"]]),H7=R({__name:"VPDocAsideOutline",setup(e,{expose:t}){t();const{theme:n}=oe(),r=Ea(),o=P(()=>r.value.length>0),s=G(),i=G();Fy(s,i);function a(){window.print()}const l={theme:n,headers:r,hasOutline:o,container:s,marker:i,handlePrint:a,VPDocOutlineItem:Cp};return Object.defineProperty(l,"__isScriptSetup",{enumerable:!1,value:!0}),l}}),F7={class:"content"},U7={ref:"marker",class:"outline-marker"},z7={id:"doc-outline-aria-label","aria-level":"2",class:"outline-title",role:"heading"};function W7(e,t,n,r,o,s){return h(),b("nav",{ref:"container","aria-labelledby":"doc-outline-aria-label",class:Z(["vp-doc-aside-outline",{"has-outline":r.hasOutline}]),role:"navigation"},[y("div",F7,[y("div",U7,null,512),y("div",z7,[y("span",null,K(r.theme.outlineLabel||"On this page"),1),y("span",{class:"vpi-print icon",onClick:r.handlePrint})]),I(r.VPDocOutlineItem,{headers:r.headers,root:!0},null,8,["headers"])])],2)}const G7=D(H7,[["render",W7],["__scopeId","data-v-4c468c8f"],["__file","VPDocAsideOutline.vue"]]),q7=R({__name:"VPDocAside",setup(e,{expose:t}){t();const n={VPDocAsideOutline:G7};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),K7={class:"vp-doc-aside"};function Y7(e,t,n,r,o,s){return h(),b("div",K7,[T(e.$slots,"aside-top",{},void 0,!0),T(e.$slots,"aside-outline-before",{},void 0,!0),I(r.VPDocAsideOutline),T(e.$slots,"aside-outline-after",{},void 0,!0),t[0]||(t[0]=y("div",{class:"spacer"},null,-1)),T(e.$slots,"aside-bottom",{},void 0,!0)])}const Q7=D(q7,[["render",Y7],["__scopeId","data-v-41429abd"],["__file","VPDocAside.vue"]]),J7=R({__name:"VPDocBreadcrumbs",setup(e,{expose:t}){t();const{page:n,theme:r}=oe(),{isBlogPost:o}=Yn(),{home:s,blog:i,categories:a}=Kn(),l=jd(),c=P(()=>o.value&&n.value.categoryList?n.value.categoryList.length>0:l.value.length>0),u=P(()=>{if(!c.value)return[];const p=[{text:s.value.text,link:s.value.link}];if(o.value){((r.value.blog||{}).postList??!0)&&p.push({text:i.value.text,link:i.value.link});const m=n.value.categoryList??[];for(const k of m)p.push({text:k.name,link:a.value?`${a.value.link}?id=${k.id}`:void 0})}else l.value.length>0&&p.push(...f(l.value)||[]);return p.push({text:n.value.title,link:n.value.path,current:!0}),p});function f(p,v=[]){for(const m of p){if(m.link===n.value.path)return v;if(m.items){const k=f(m.items,[...v,{text:m.text,link:m.link}]);if(k)return k}}return null}const d={page:n,theme:r,isBlogPost:o,home:s,blog:i,categories:a,sidebar:l,hasBreadcrumb:c,breadcrumbList:u,resolveSidebar:f,VPLink:ze};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}}),X7={key:0,class:"vp-breadcrumb"},Z7={vocab:"https://schema.org/",typeof:"BreadcrumbList"},ew={key:0,class:"vpi-chevron-right"},tw=["content"];function nw(e,t,n,r,o,s){return r.hasBreadcrumb?(h(),b("nav",X7,[y("ol",Z7,[(h(!0),b(ee,null,_e(r.breadcrumbList,({text:i,link:a,current:l},c)=>(h(),b("li",{key:a,property:"itemListElement",typeof:"ListItem"},[I(r.VPLink,{href:a,class:Z(["breadcrumb",{current:l}]),property:"item",typeof:"WebPage",text:i},null,8,["href","class","text"]),c!==r.breadcrumbList.length-1?(h(),b("span",ew)):E("",!0),y("meta",{property:"position",content:`${c+1}`},null,8,tw)]))),128))])])):E("",!0)}const rw=D(J7,[["render",nw],["__scopeId","data-v-b88f3f5c"],["__file","VPDocBreadcrumbs.vue"]]),ow=R({__name:"VPDocFooter",setup(e,{expose:t}){t();const{theme:n,frontmatter:r}=oe(),o=Kd(),{datetime:s,isoDatetime:i,lastUpdatedText:a}=Ry(),l=Ly(),{prev:c,next:u}=Wy(),f=P(()=>!!(n.value.editLink&&r.value.editLink!==!1&&o.value)),d=P(()=>!!(n.value.lastUpdated&&r.value.lastUpdated!==!1&&s.value)),p=P(()=>!!l.value.length),v=P(()=>{var k,S;return f.value||d.value||p.value||((k=c.value)==null?void 0:k.link)||((S=u.value)==null?void 0:S.link)}),m={theme:n,frontmatter:r,editLink:o,lastUpdated:s,isoDatetime:i,lastUpdatedText:a,contributors:l,prev:c,next:u,hasEditLink:f,hasLastUpdated:d,hasContributors:p,showFooter:v,VPLink:ze};return Object.defineProperty(m,"__isScriptSetup",{enumerable:!1,value:!0}),m}}),sw={key:0,class:"vp-doc-footer"},iw={key:0,class:"edit-info"},aw={key:0,class:"edit-link"},lw={key:1,class:"last-updated"},cw={class:"last-updated-text"},uw=["datetime"],fw={key:1,class:"contributors"},dw={class:"contributors-label"},pw={class:"contributors-info"},hw={class:"contributor"},vw={key:2,class:"prev-next"},mw={class:"pager"},gw=["innerHTML"],_w=["innerHTML"],bw={class:"pager"},yw=["innerHTML"],kw=["innerHTML"];function ww(e,t,n,r,o,s){var i,a,l,c,u;return r.showFooter?(h(),b("footer",sw,[T(e.$slots,"doc-footer-before",{},void 0,!0),r.hasEditLink||r.hasLastUpdated?(h(),b("div",iw,[r.hasEditLink&&r.editLink?(h(),b("div",aw,[I(r.VPLink,{class:"edit-link-button",href:r.editLink.link,"no-icon":""},{default:C(()=>[t[0]||(t[0]=y("span",{class:"vpi-square-pen edit-link-icon","aria-label":"edit icon"},null,-1)),je(" "+K(r.editLink.text),1)]),_:1},8,["href"])])):E("",!0),r.hasLastUpdated?(h(),b("div",lw,[y("p",cw,[je(K(r.lastUpdatedText)+": ",1),y("time",{datetime:r.isoDatetime,class:"last-updated-time"},K(r.lastUpdated),9,uw)])])):E("",!0)])):E("",!0),r.hasContributors&&((i=r.contributors)!=null&&i.length)?(h(),b("div",fw,[y("span",dw,K(r.theme.contributorsText||"Contributors")+": ",1),y("span",pw,[(h(!0),b(ee,null,_e(r.contributors,(f,d)=>(h(),b(ee,{key:f},[y("span",hw,K(f),1),d!==r.contributors.length-1?(h(),b(ee,{key:0},[je(", ")],64)):E("",!0)],64))),128))])])):E("",!0),(a=r.prev)!=null&&a.link||(l=r.next)!=null&&l.link?(h(),b("nav",vw,[y("div",mw,[(c=r.prev)!=null&&c.link?(h(),B(r.VPLink,{key:0,class:"pager-link prev",href:r.prev.link},{default:C(()=>[y("span",{class:"desc",innerHTML:r.theme.prevPageLabel||"Previous page"},null,8,gw),y("span",{class:"title",innerHTML:r.prev.text},null,8,_w)]),_:1},8,["href"])):E("",!0)]),y("div",bw,[(u=r.next)!=null&&u.link?(h(),B(r.VPLink,{key:0,class:"pager-link next",href:r.next.link},{default:C(()=>[y("span",{class:"desc",innerHTML:r.theme.nextPageLabel||"Next page"},null,8,yw),y("span",{class:"title",innerHTML:r.next.text},null,8,kw)]),_:1},8,["href"])):E("",!0)])])):E("",!0)])):E("",!0)}const Sw=D(ow,[["render",ww],["__scopeId","data-v-05aa816e"],["__file","VPDocFooter.vue"]]);var Zc={"/en/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"},"/":{word:"$word字",less1Minute:"小于1分钟",time:"约$time分钟"}};const Pw=()=>{const e=ya();return P(()=>e.value.readingTime??null)},xw=(e,t)=>{const{minutes:n,words:r}=e,{less1Minute:o,word:s,time:i}=t;return{time:n<1?o:i.replace("$time",Math.round(n).toString()),words:s.replace("$word",r.toString())}},eu={words:"",time:""},Ki=typeof Zc>"u"?null:Zc,Tw=()=>Ki?bd(Ki):P(()=>null),Cw=()=>{if(typeof Ki>"u")return P(()=>eu);const e=Pw(),t=Tw();return P(()=>e.value&&t.value?xw(e.value,t.value):eu)},Lw=R({__name:"VPDocMeta",setup(e,{expose:t}){t();const{page:n,frontmatter:r,theme:o}=oe(),s=Ta(),i=Cw(),{tags:a}=Kn(),{isBlogPost:l}=Yn(),c=P(()=>{const v=o.value.createTime??!0;return!v||v==="only-blog"&&!l.value?"":r.value.createTime?r.value.createTime.split(" ")[0].replace(/\//g,"-"):""}),u=P(()=>{const m=(o.value.blog||{}).tagsTheme??"colored";return r.value.tags?r.value.tags.slice(0,4).map(k=>({name:k,className:s.value[k]?`vp-tag-${s.value[k]}`:`tag-${m}`})):[]}),f=P(()=>r.value.badge?typeof r.value.badge=="string"?{text:r.value.badge}:r.value.badge:!1),d=P(()=>i.value.time||u.value.length||c.value),p={page:n,matter:r,theme:o,colors:s,readingTime:i,tagsLink:a,isBlogPost:l,createTime:c,tags:u,badge:f,hasMeta:d,VPBadge:Di,VPLink:ze};return Object.defineProperty(p,"__isScriptSetup",{enumerable:!1,value:!0}),p}}),Ew={key:0,class:"vp-doc-meta"},Ow={key:0,class:"reading-time"},Aw={key:1},Iw={key:2,class:"create-time"};function Vw(e,t,n,r,o,s){return h(),b(ee,null,[y("h1",{class:Z(["vp-doc-title page-title",{padding:!r.hasMeta}])},[je(K(r.page.title)+" ",1),r.badge?(h(),B(r.VPBadge,{key:0,type:r.badge.type||"tip",text:r.badge.text},null,8,["type","text"])):E("",!0)],2),r.hasMeta?(h(),b("div",Ew,[r.readingTime.time&&r.matter.readingTime!==!1?(h(),b("p",Ow,[t[0]||(t[0]=y("span",{class:"vpi-books icon"},null,-1)),y("span",null,K(r.readingTime.words),1),y("span",null,K(r.readingTime.time),1)])):E("",!0),r.tags.length>0?(h(),b("p",Aw,[t[1]||(t[1]=y("span",{class:"vpi-tag icon"},null,-1)),(h(!0),b(ee,null,_e(r.tags,i=>{var a;return h(),B(r.VPLink,{key:i.name,class:Z(["tag",i.className]),href:(a=r.tagsLink)!=null&&a.link&&r.isBlogPost?`${r.tagsLink.link}?tag=${i.name}`:void 0},{default:C(()=>[je(K(i.name),1)]),_:2},1032,["class","href"])}),128))])):E("",!0),r.createTime?(h(),b("p",Iw,[t[2]||(t[2]=y("span",{class:"vpi-clock icon"},null,-1)),y("span",null,K(r.createTime),1)])):E("",!0)])):E("",!0)],64)}const Mw=D(Lw,[["render",Vw],["__scopeId","data-v-0fe862d4"],["__file","VPDocMeta.vue"]]),Rw=R({__name:"VPEncryptForm",props:{global:{type:Boolean},info:{}},setup(e,{expose:t}){t();const n=e,{theme:r}=oe(),{compareGlobal:o,comparePage:s}=fy(),i=G(""),a=G(0),l=G(!1);async function c(){if(l.value)return;const f=n.global?o:s;l.value=!0;const d=await f(i.value);l.value=!1,d?(a.value=0,i.value=""):a.value=1}const u={props:n,theme:r,compareGlobal:o,comparePage:s,password:i,errorCode:a,unlocking:l,onSubmit:c};return Object.defineProperty(u,"__isScriptSetup",{enumerable:!1,value:!0}),u}}),$w={class:"vp-encrypt-form"},Bw=["innerHTML"],Nw={class:"encrypt-input-wrapper"},jw=["placeholder"],Dw={key:0},Hw={key:1,class:"vpi-loading"};function Fw(e,t,n,r,o,s){return h(),b("div",$w,[y("p",{class:"encrypt-text",innerHTML:n.info??"Only Password can access this site"},null,8,Bw),y("p",Nw,[t[2]||(t[2]=y("span",{class:"vpi-lock icon-lock"},null,-1)),la(y("input",{"onUpdate:modelValue":t[0]||(t[0]=i=>r.password=i),class:Z(["encrypt-input",{error:r.errorCode===1}]),type:"password",placeholder:r.theme.encryptPlaceholder??"Enter Password",onKeyup:Tf(r.onSubmit,["enter"]),onInput:t[1]||(t[1]=i=>r.password&&(r.errorCode=0))},null,42,jw),[[km,r.password]])]),y("button",{class:Z(["encrypt-button",{unlocking:r.unlocking}]),onClick:r.onSubmit},[r.unlocking?(h(),b("span",Hw)):(h(),b("span",Dw,K(r.theme.encryptButtonText??"Confirm"),1))],2)])}const Lp=D(Rw,[["render",Fw],["__scopeId","data-v-e4d4d5e0"],["__file","VPEncryptForm.vue"]]),Uw=R({__name:"VPEncryptPage",setup(e,{expose:t}){t();const{theme:n}=oe(),r={theme:n,VPEncryptForm:Lp};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}}),zw={class:"vp-page-encrypt"};function Ww(e,t,n,r,o,s){const i=De("ClientOnly");return h(),B(i,null,{default:C(()=>[y("div",zw,[t[0]||(t[0]=y("div",{class:"logo"},[y("span",{class:"vpi-lock icon-lock-head"})],-1)),I(r.VPEncryptForm,{info:r.theme.encryptPageText},null,8,["info"])])]),_:1})}const Gw=D(Uw,[["render",Ww],["__scopeId","data-v-a7c809cd"],["__file","VPEncryptPage.vue"]]),qw=R({__name:"VPDoc",setup(e,{expose:t}){t();const{page:n,theme:r,frontmatter:o,isDark:s}=oe(),i=at(),{hasSidebar:a,hasAside:l,leftAside:c}=Wt(),{isBlogPost:u}=Yn(),f=Ea(),{isPageDecrypted:d}=ys(),p=P(()=>De("CommentService")!=="CommentService"&&n.value.frontmatter.comments!==!1&&d.value),v=P(()=>l.value?u.value?f.value.length>0:!0:!1),m=P(()=>i.path.replace(/[./]+/g,"_").replace(/_html$/,"")),k=P(()=>r.value.externalLinkIcon&&o.value.externalLinkIcon!==!1),S=G();me(()=>i.hash,_=>Vt(()=>{if(!S.value)return;const x=S.value.querySelector(`.outline-link[href="${_}"]`);if(!x||!_){S.value.scrollTop=0;return}const{top:N,height:$}=S.value.getBoundingClientRect(),{top:W,height:re}=x.getBoundingClientRect();(W<N||W+re>N+$)&&x.scrollIntoView({block:"center"})}),{immediate:!0});const L={page:n,theme:r,frontmatter:o,isDark:s,route:i,hasSidebar:a,hasAside:l,leftAside:c,isBlogPost:u,headers:f,isPageDecrypted:d,hasComments:p,enableAside:v,pageName:m,enabledExternalLinkIcon:k,asideEl:S,VPDocAside:Q7,VPDocBreadcrumbs:rw,VPDocFooter:Sw,VPDocMeta:Mw,VPEncryptPage:Gw,VPTransitionFadeSlideY:Da};return Object.defineProperty(L,"__isScriptSetup",{enumerable:!1,value:!0}),L}}),Kw={class:"container"},Yw={ref:"asideEl",class:"aside-container"},Qw={class:"aside-content"},Jw={class:"content"},Xw={class:"content-container"},Zw={class:"main"};function eS(e,t,n,r,o,s){const i=De("Content"),a=De("CommentService");return h(),B(r.VPTransitionFadeSlideY,null,{default:C(()=>[(h(),b("div",{key:r.page.path,class:Z(["vp-doc-container",{"has-sidebar":r.hasSidebar,"has-aside":r.enableAside,"is-blog":r.isBlogPost,"with-encrypt":!r.isPageDecrypted}])},[T(e.$slots,"doc-top",{},void 0,!0),y("div",Kw,[r.enableAside?(h(),b("div",{key:0,class:Z(["aside",{"left-aside":r.leftAside}]),"vp-outline":""},[t[0]||(t[0]=y("div",{class:"aside-curtain"},null,-1)),y("div",Yw,[y("div",Qw,[I(r.VPDocAside,null,{"aside-top":C(()=>[T(e.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":C(()=>[T(e.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":C(()=>[T(e.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":C(()=>[T(e.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":C(()=>[T(e.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":C(()=>[T(e.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])],512)],2)):E("",!0),y("div",Jw,[y("div",Xw,[T(e.$slots,"doc-before",{},void 0,!0),y("main",Zw,[I(r.VPDocBreadcrumbs),I(r.VPDocMeta),r.isPageDecrypted?(h(),B(i,{key:1,class:Z(["vp-doc plume-content",[r.pageName,r.enabledExternalLinkIcon&&"external-link-icon-enabled"]]),"vp-content":""},null,8,["class"])):(h(),B(r.VPEncryptPage,{key:0}))]),r.isPageDecrypted?(h(),B(r.VPDocFooter,{key:0},{"doc-footer-before":C(()=>[T(e.$slots,"doc-footer-before",{},void 0,!0)]),_:3})):E("",!0),r.hasComments?(h(),B(a,{key:1,darkmode:r.isDark,"vp-comment":""},null,8,["darkmode"])):E("",!0),T(e.$slots,"doc-after",{},void 0,!0)])])]),T(e.$slots,"doc-bottom",{},void 0,!0)],2))]),_:3})}const tS=D(qw,[["render",eS],["__scopeId","data-v-ac1462a0"],["__file","VPDoc.vue"]]),nS=R({__name:"VPFriendsItem",props:{friend:{}},setup(e,{expose:t}){t();const n=e,r=bs();function o(a,l){if(!l)return{};const c=gr(l)?r.value?l.dark:l.light:l;return c?{[a]:c}:{}}const s=P(()=>({...o("--vp-friends-text-color",n.friend.color),...o("--vp-friends-bg-color",n.friend.backgroundColor),...o("--vp-friends-name-color",n.friend.nameColor)})),i={props:n,isDark:r,getStyle:o,friendStyle:s,VPLink:ze,VPSocialLinks:ko};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),rS={class:"content"},oS={key:0};function sS(e,t,n,r,o,s){return h(),b("div",{class:Z(["vp-friend",{"only-title":!n.friend.desc&&(!n.friend.socials||!n.friend.socials.length),"no-desc":!n.friend.desc}]),style:Fe(r.friendStyle)},[I(r.VPLink,{class:"avatar-link",href:n.friend.link,"no-icon":""},{default:C(()=>[y("div",{class:"avatar",style:Fe({backgroundImage:`url(${n.friend.avatar})`})},null,4)]),_:1},8,["href"]),y("div",rS,[I(r.VPLink,{class:"title",href:n.friend.link,"no-icon":""},{default:C(()=>[je(K(n.friend.name),1)]),_:1},8,["href"]),n.friend.desc?(h(),b("p",oS,K(n.friend.desc),1)):E("",!0),n.friend.socials?(h(),B(r.VPSocialLinks,{key:1,links:n.friend.socials},null,8,["links"])):E("",!0)])],6)}const Ep=D(nS,[["render",sS],["__scopeId","data-v-70eed9e8"],["__file","VPFriendsItem.vue"]]),iS=R({__name:"VPFriendsGroup",props:{group:{}},setup(e,{expose:t}){t();const n={VPFriendsItem:Ep};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),aS={class:"vp-friends-group"},lS={class:"title"},cS={key:0,class:"description"},uS={key:1,class:"friends-list"};function fS(e,t,n,r,o,s){var i;return h(),b("div",aS,[y("h3",lS,K(n.group.title||"My Friends"),1),n.group.desc?(h(),b("p",cS,K(n.group.desc),1)):E("",!0),(i=n.group.list)!=null&&i.length?(h(),b("section",uS,[(h(!0),b(ee,null,_e(n.group.list,(a,l)=>(h(),B(r.VPFriendsItem,{key:a.name+l,friend:a},null,8,["friend"]))),128))])):E("",!0)])}const dS=D(iS,[["render",fS],["__scopeId","data-v-b4501e37"],["__file","VPFriendsGroup.vue"]]),pS=R({__name:"VPFriends",setup(e,{expose:t}){t();const n=Kd(),{frontmatter:r}=oe(),o=P(()=>r.value.list||[]),s=P(()=>r.value.groups||[]),i={editLink:n,matter:r,list:o,groups:s,VPFriendsGroup:dS,VPFriendsItem:Ep,VPLink:ze};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),hS={class:"vp-friends"},vS={class:"title"},mS={key:0,class:"description"},gS={key:1,class:"friends-list"},_S={key:2,class:"edit-link"};function bS(e,t,n,r,o,s){return h(),b("div",hS,[y("h2",vS,K(r.matter.title||"My Friends"),1),r.matter.description?(h(),b("p",mS,K(r.matter.description),1)):E("",!0),r.list.length?(h(),b("section",gS,[(h(!0),b(ee,null,_e(r.list,(i,a)=>(h(),B(r.VPFriendsItem,{key:i.name+a,friend:i},null,8,["friend"]))),128))])):E("",!0),(h(!0),b(ee,null,_e(r.groups,(i,a)=>(h(),B(r.VPFriendsGroup,{key:a,group:i},null,8,["group"]))),128)),r.editLink?(h(),b("div",_S,[I(r.VPLink,{class:"edit-link-button",href:r.editLink.link,"no-icon":!0},{default:C(()=>[t[0]||(t[0]=y("span",{class:"vpi-square-pen edit-link-icon","aria-label":"edit icon"},null,-1)),je(" "+K(r.editLink.text),1)]),_:1},8,["href"])])):E("",!0)])}const yS=D(pS,[["render",bS],["__scopeId","data-v-ff654154"],["__file","VPFriends.vue"]]),kS={},wS={class:"vp-page"};function SS(e,t){const n=De("Content");return h(),b("div",wS,[T(e.$slots,"page-top"),I(n,{class:"vp-doc plume-content","vp-content":""}),T(e.$slots,"page-bottom")])}const PS=D(kS,[["render",SS],["__file","VPPage.vue"]]),xS=R({__name:"VPContent",props:{isNotFound:{type:Boolean}},setup(e,{expose:t}){t();const n=e,{hasSidebar:r}=Wt(),{frontmatter:o}=oe(),{isBlogLayout:s}=Yn(),i=at();me([s,()=>o.value.pageLayout,()=>i.path],()=>Vt(()=>{var l;if(Ut){document.documentElement.classList.toggle("bg-gray",s.value);const c=(l=document.documentElement.className.match(/(?:^|\s)(layout-\S+)(?:$|\s)/))==null?void 0:l[1];c&&document.documentElement.classList.remove(c),document.documentElement.classList.add(`layout-${s.value?"blog":o.value.pageLayout||"doc"}`)}}),{immediate:!0});const a={props:n,hasSidebar:r,frontmatter:o,isBlogLayout:s,route:i,VPBlog:xp,VPHome:B7,VPDoc:tS,VPFriends:yS,VPPage:PS};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}});function TS(e,t,n,r,o,s){return h(),b("div",{id:"VPContent","vp-content":"",class:Z(["vp-content",{"has-sidebar":r.hasSidebar&&!r.props.isNotFound,"is-home":r.frontmatter.pageLayout==="home"}])},[r.isBlogLayout?(h(),B(r.VPBlog,{key:0},{"blog-top":C(()=>[T(e.$slots,"blog-top",{},void 0,!0)]),"blog-bottom":C(()=>[T(e.$slots,"blog-bottom",{},void 0,!0)]),"blog-archives-before":C(()=>[T(e.$slots,"blog-archives-before",{},void 0,!0)]),"blog-archives-after":C(()=>[T(e.$slots,"blog-archives-after",{},void 0,!0)]),"blog-tags-before":C(()=>[T(e.$slots,"blog-tags-before",{},void 0,!0)]),"blog-tags-after":C(()=>[T(e.$slots,"blog-tags-after",{},void 0,!0)]),"blog-tags-title-after":C(()=>[T(e.$slots,"blog-tags-title-after",{},void 0,!0)]),"blog-tags-content-before":C(()=>[T(e.$slots,"blog-tags-content-before",{},void 0,!0)]),"blog-categories-before":C(()=>[T(e.$slots,"blog-categories-before",{},void 0,!0)]),"blog-categories-after":C(()=>[T(e.$slots,"blog-categories-after",{},void 0,!0)]),"blog-categories-content-before":C(()=>[T(e.$slots,"blog-categories-content-before",{},void 0,!0)]),"blog-post-list-before":C(()=>[T(e.$slots,"blog-post-list-before",{},void 0,!0)]),"blog-post-list-after":C(()=>[T(e.$slots,"blog-post-list-after",{},void 0,!0)]),"blog-post-list-pagination-after":C(()=>[T(e.$slots,"blog-post-list-pagination-after",{},void 0,!0)]),"blog-aside-top":C(()=>[T(e.$slots,"blog-aside-top",{},void 0,!0)]),"blog-aside-bottom":C(()=>[T(e.$slots,"blog-aside-bottom",{},void 0,!0)]),"blog-extract-before":C(()=>[T(e.$slots,"blog-extract-before",{},void 0,!0)]),"blog-extract-after":C(()=>[T(e.$slots,"blog-extract-after",{},void 0,!0)]),_:3})):r.frontmatter.pageLayout==="page"?(h(),B(r.VPPage,{key:1},{"page-top":C(()=>[T(e.$slots,"page-top",{},void 0,!0)]),"page-bottom":C(()=>[T(e.$slots,"page-bottom",{},void 0,!0)]),_:3})):r.frontmatter.pageLayout==="friends"?(h(),B(r.VPFriends,{key:2})):r.frontmatter.pageLayout==="home"?(h(),B(r.VPHome,{key:3},{"blog-top":C(()=>[T(e.$slots,"blog-top",{},void 0,!0)]),"blog-bottom":C(()=>[T(e.$slots,"blog-bottom",{},void 0,!0)]),"blog-post-list-before":C(()=>[T(e.$slots,"blog-post-list-before",{},void 0,!0)]),"blog-post-list-after":C(()=>[T(e.$slots,"blog-post-list-after",{},void 0,!0)]),"blog-post-list-pagination-after":C(()=>[T(e.$slots,"blog-post-list-pagination-after",{},void 0,!0)]),_:3})):r.frontmatter.pageLayout&&r.frontmatter.pageLayout!=="doc"?(h(),B(on(r.frontmatter.pageLayout),{key:4})):(h(),B(r.VPDoc,{key:5},{"doc-top":C(()=>[T(e.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":C(()=>[T(e.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":C(()=>[T(e.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":C(()=>[T(e.$slots,"doc-before",{},void 0,!0)]),"doc-after":C(()=>[T(e.$slots,"doc-after",{},void 0,!0)]),"aside-top":C(()=>[T(e.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":C(()=>[T(e.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":C(()=>[T(e.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":C(()=>[T(e.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":C(()=>[T(e.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":C(()=>[T(e.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2)}const CS=D(xS,[["render",TS],["__scopeId","data-v-39b761d7"],["__file","VPContent.vue"]]),LS=R({__name:"VPFooter",setup(e,{expose:t}){t();const{theme:n}=oe(),{hasSidebar:r}=Wt(),o=J_("--vp-footer-height",Ut?document.body:null),s=G(null);Re(()=>{n.value.footer&&s.value&&(o.value=`${s.value.offsetHeight}px`)});const i={theme:n,hasSidebar:r,footerHeight:o,footer:s};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),ES={class:"container"},OS=["innerHTML"],AS=["innerHTML"];function IS(e,t,n,r,o,s){return r.theme.footer?(h(),b("footer",{key:0,ref:"footer",class:Z(["vp-footer",{"has-sidebar":r.hasSidebar}]),"vp-footer":""},[T(e.$slots,"footer-content",{},()=>[y("div",ES,[r.theme.footer.message?(h(),b("p",{key:0,class:"message",innerHTML:r.theme.footer.message},null,8,OS)):E("",!0),r.theme.footer.copyright?(h(),b("p",{key:1,class:"copyright",innerHTML:r.theme.footer.copyright},null,8,AS)):E("",!0)])],!0)],2)):E("",!0)}const Ha=D(LS,[["render",IS],["__scopeId","data-v-ea5aebaa"],["__file","VPFooter.vue"]]),VS=R({__name:"VPEncryptGlobal",setup(e,{expose:t}){t();const{theme:n,site:r}=oe(),o=P(()=>n.value.profile),s=P(()=>{var a;return((a=o.value)==null?void 0:a.name)||r.value.title}),i={theme:n,site:r,profile:o,title:s,VPEncryptForm:Lp,VPFooter:Ha};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),MS={class:"vp-global-encrypt"},RS={class:"global-encrypt-container"},$S={key:0,class:"profile"},BS=["src","alt"],NS={key:1};function jS(e,t,n,r,o,s){const i=De("ClientOnly");return h(),b(ee,null,[I(i,null,{default:C(()=>[y("div",MS,[y("div",RS,[r.profile||r.title?(h(),b("div",$S,[r.profile?(h(),b("p",{key:0,class:Z(["avatar",{circle:r.profile.circle}])},[y("img",{src:r.profile.avatar??r.profile.url,alt:r.profile.name},null,8,BS)],2)):E("",!0),r.title?(h(),b("h3",NS,K(r.title),1)):E("",!0)])):E("",!0),I(r.VPEncryptForm,{global:"",info:r.theme.encryptGlobalText},null,8,["info"])])])]),_:1}),I(r.VPFooter)],64)}const DS=D(VS,[["render",jS],["__scopeId","data-v-24e31571"],["__file","VPEncryptGlobal.vue"]]),HS=R({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(e,{expose:t}){t();const n=e,{theme:r}=oe(),o=G(!1),s=G(0),i=G(),a=G();me(()=>n.headers,()=>{o.value=!1}),ad(i,()=>{o.value=!1},{ignore:[a]});function l(){o.value=!o.value,s.value=window.innerHeight+Math.min(window.scrollY-n.navHeight,0)}function c(d){d.target.classList.contains("outline-link")&&(i.value&&(i.value.style.transition="none"),Vt(()=>{o.value=!1}))}function u(){o.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}const f={props:n,theme:r,open:o,vh:s,items:i,btn:a,toggle:l,onItemClick:c,scrollToTop:u,VPDocOutlineItem:Cp};return Object.defineProperty(f,"__isScriptSetup",{enumerable:!1,value:!0}),f}}),FS={class:"header"},US={class:"outline"};function zS(e,t,n,r,o,s){return h(),b("div",{class:"vp-local-nav-outline-dropdown",style:Fe({"--vp-vh":`${r.vh}px`})},[n.headers.length>0?(h(),b("button",{key:0,ref:"btn",class:Z({open:r.open}),onClick:r.toggle},[je(K(r.theme.outlineLabel||"On this page")+" ",1),t[0]||(t[0]=y("span",{class:"vpi-chevron-right icon"},null,-1))],2)):(h(),b("button",{key:1,onClick:r.scrollToTop},K(r.theme.returnToTopLabel||"Return to top"),1)),I(En,{name:"flyout"},{default:C(()=>[r.open?(h(),b("div",{key:0,ref:"items",class:"items",onClick:r.onItemClick},[y("div",FS,[y("a",{class:"top-link",href:"#",onClick:r.scrollToTop},K(r.theme.returnToTopLabel||"Return to top"),1)]),y("div",US,[I(r.VPDocOutlineItem,{headers:n.headers},null,8,["headers"])])],512)):E("",!0)]),_:1})],4)}const WS=D(HS,[["render",zS],["__scopeId","data-v-d5e43a92"],["__file","VPLocalNavOutlineDropdown.vue"]]),GS=R({__name:"VPLocalNav",props:{open:{type:Boolean},showOutline:{type:Boolean}},emits:["openMenu"],setup(e,{expose:t}){t();const n=e,{theme:r}=oe(),{isBlogPost:o}=Yn(),{hasSidebar:s}=Wt(),{y:i}=Sa(),a=G(0),l=Ea(),c=P(()=>l.value.length===0&&!s.value);Re(()=>{a.value=Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))});const u=P(()=>({"vp-local-nav":!0,fixed:c.value,"reached-top":i.value>=a.value,"is-blog":o,"with-outline":!n.showOutline})),f=P(()=>(s.value||o.value)&&(!c.value||i.value>=a.value)),d={props:n,theme:r,isBlogPost:o,hasSidebar:s,y:i,navHeight:a,headers:l,empty:c,classes:u,showLocalNav:f,VPLocalNavOutlineDropdown:WS};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}}),qS=["disabled","aria-expanded"],KS={class:"menu-text"};function YS(e,t,n,r,o,s){return r.showLocalNav?(h(),b("div",{key:0,class:Z(r.classes)},[y("button",{class:Z(["menu",{hidden:r.isBlogPost}]),disabled:r.isBlogPost,"aria-expanded":n.open,"aria-controls":"SidebarNav",onClick:t[0]||(t[0]=i=>e.$emit("openMenu"))},[t[1]||(t[1]=y("span",{class:"vpi-align-left menu-icon"},null,-1)),y("span",KS,K(r.theme.sidebarMenuLabel||"Menu"),1)],10,qS),n.showOutline?(h(),B(r.VPLocalNavOutlineDropdown,{key:0,headers:r.headers,"nav-height":r.navHeight},null,8,["headers","nav-height"])):E("",!0)],2)):E("",!0)}const QS=D(GS,[["render",YS],["__scopeId","data-v-8adcad7e"],["__file","VPLocalNav.vue"]]),JS=R({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(e,{expose:t}){t();const n=e,{collapsed:r,collapsible:o,isLink:s,isActiveLink:i,hasActiveLink:a,hasChildren:l,toggle:c}=by(P(()=>n.item)),u=P(()=>l.value?"section":"div"),f=P(()=>s.value?"a":"div"),d=P(()=>l.value?n.depth+2===7?"p":`h${n.depth+2}`:"p"),p=P(()=>s.value?void 0:"button"),v=P(()=>[[`level-${n.depth}`],{collapsible:o.value},{collapsed:r.value},{"is-link":s.value},{"is-active":i.value},{"has-active":a.value}]);function m(L){"key"in L&&L.key!=="Enter"||n.item.link||c()}function k(){n.item.link&&c()}const S={props:n,collapsed:r,collapsible:o,isLink:s,isActiveLink:i,hasActiveLink:a,hasChildren:l,toggle:c,sectionTag:u,linkTag:f,textTag:d,itemRole:p,classes:v,onItemInteraction:m,onCaretClick:k,VPIcon:dt,VPLink:ze};return Object.defineProperty(S,"__isScriptSetup",{enumerable:!1,value:!0}),S}}),XS=["role","tabindex"],ZS={key:1,class:"items"};function eP(e,t,n,r,o,s){const i=De("VPSidebarItem",!0);return h(),B(on(r.sectionTag),{class:Z(["vp-sidebar-item sidebar-item",r.classes])},{default:C(()=>[n.item.text?(h(),b("div",xn({key:0,class:"item",role:r.itemRole,tabindex:n.item.items&&0},cv(n.item.items?{click:r.onItemInteraction,keydown:r.onItemInteraction}:{},!0)),[t[1]||(t[1]=y("div",{class:"indicator"},null,-1)),n.item.icon?(h(),B(r.VPIcon,{key:0,name:n.item.icon},null,8,["name"])):E("",!0),n.item.link?(h(),B(r.VPLink,{key:1,tag:r.linkTag,class:"link",href:n.item.link},{default:C(()=>[(h(),B(on(r.textTag),{class:"text",innerHTML:n.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href"])):(h(),B(on(r.textTag),{key:2,class:"text",innerHTML:n.item.text},null,8,["innerHTML"])),n.item.collapsed!=null?(h(),b("div",{key:3,class:"caret",role:"button","aria-label":"toggle section",tabindex:"0",onClick:r.onCaretClick,onKeydown:Tf(r.onCaretClick,["enter"])},t[0]||(t[0]=[y("span",{class:"vpi-chevron-right caret-icon"},null,-1)]),32)):E("",!0)],16,XS)):E("",!0),n.item.items&&n.item.items.length?(h(),b("div",ZS,[n.depth<5?(h(!0),b(ee,{key:0},_e(n.item.items,a=>(h(),B(i,{key:a.text,item:a,depth:n.depth+1},null,8,["item","depth"]))),128)):E("",!0)])):E("",!0)]),_:1},8,["class"])}const tP=D(JS,[["render",eP],["__scopeId","data-v-56ff62bb"],["__file","VPSidebarItem.vue"]]),nP=R({__name:"VPSidebarGroup",props:{items:{}},setup(e,{expose:t}){t();const n=G(!0);let r=null;Re(()=>{r=setTimeout(()=>{r=null,n.value=!1},300)}),fa(()=>{r!=null&&(clearTimeout(r),r=null)});const o={disableTransition:n,get timer(){return r},set timer(s){r=s},VPSidebarItem:tP};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}});function rP(e,t,n,r,o,s){return h(!0),b(ee,null,_e(n.items,i=>(h(),b("div",{key:i.text,class:Z(["group",{"no-transition":r.disableTransition}])},[I(r.VPSidebarItem,{item:i,depth:0},null,8,["item"])],2))),128)}const oP=D(nP,[["render",rP],["__scopeId","data-v-abe76b9d"],["__file","VPSidebarGroup.vue"]]),sP=R({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e,{expose:t}){t();const n=e,{sidebarGroups:r,hasSidebar:o,sidebarKey:s}=Wt(),i=d_(),a=G(null),l=wa(Ut?document.body:null);me([()=>n.open,a],()=>{var u;n.open?(l.value=!0,(u=a.value)==null||u.focus()):l.value=!1},{immediate:!0,flush:"post"}),Re(()=>{const u=document.querySelector(`.vp-sidebar .vp-link[href*="${i.value}"]`);if(!u||!a.value)return;const{top:f,height:d}=a.value.getBoundingClientRect(),{top:p,height:v}=u.getBoundingClientRect();(p<f||p+v>f+d)&&u.scrollIntoView({block:"center"})});const c={props:n,sidebarGroups:r,hasSidebar:o,sidebarKey:s,routePath:i,navEl:a,isLocked:l,VPSidebarGroup:oP,VPTransitionFadeSlideY:Da};return Object.defineProperty(c,"__isScriptSetup",{enumerable:!1,value:!0}),c}});function iP(e,t,n,r,o,s){return h(),B(En,{name:"fade-slide-x",mode:"out-in"},{default:C(()=>[r.hasSidebar?(h(),b("aside",{key:0,ref:"navEl",class:Z(["vp-sidebar",{open:n.open}]),"vp-sidebar":"",onClick:t[0]||(t[0]=xf(()=>{},["stop"]))},[t[2]||(t[2]=y("div",{class:"curtain"},null,-1)),I(r.VPTransitionFadeSlideY,null,{default:C(()=>[(h(),b("nav",{id:"SidebarNav",key:r.sidebarKey,class:"nav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},[t[1]||(t[1]=y("span",{id:"sidebar-aria-label",class:"visually-hidden"}," Sidebar Navigation ",-1)),T(e.$slots,"sidebar-nav-before",{},void 0,!0),I(r.VPSidebarGroup,{items:r.sidebarGroups},null,8,["items"]),T(e.$slots,"sidebar-nav-after",{},void 0,!0)]))]),_:3})],2)):E("",!0)]),_:3})}const aP=D(sP,[["render",iP],["__scopeId","data-v-a6a47692"],["__file","VPSidebar.vue"]]),lP=R({__name:"VPSkipLink",setup(e,{expose:t}){t();const n=at(),r=G();me(()=>n.path,()=>r.value.focus());function o({target:i}){const a=document.getElementById(decodeURIComponent(i.hash).slice(1));if(a){const l=()=>{a.removeAttribute("tabindex"),a.removeEventListener("blur",l)};a.setAttribute("tabindex","-1"),a.addEventListener("blur",l),a.focus(),window.scrollTo(0,0)}}const s={route:n,backToTop:r,focusOnTargetAnchor:o};return Object.defineProperty(s,"__isScriptSetup",{enumerable:!1,value:!0}),s}}),cP={ref:"backToTop",tabindex:"-1"};function uP(e,t,n,r,o,s){return h(),b(ee,null,[y("span",cP,null,512),y("a",{href:"#VPContent",class:"vp-skip-link visually-hidden",onClick:r.focusOnTargetAnchor}," Skip to content ")],64)}const Op=D(lP,[["render",uP],["__scopeId","data-v-3fc556ff"],["__file","VPSkipLink.vue"]]),fP=R({__name:"Layout",setup(e,{expose:t}){t();const{isOpen:n,open:r,close:o}=Wt(),{frontmatter:s}=oe(),{isGlobalDecrypted:i,isPageDecrypted:a}=ys(),l=at();me(()=>l.path,o),_y(n,o);const c={isSidebarOpen:n,openSidebar:r,closeSidebar:o,frontmatter:s,isGlobalDecrypted:i,isPageDecrypted:a,route:l,VPNav:yp,VPBackdrop:Pk,VPBackToTop:Lk,VPBulletin:kp,VPContent:CS,VPEncryptGlobal:DS,VPFooter:Ha,VPLocalNav:QS,VPSidebar:aP,VPSkipLink:Op};return Object.defineProperty(c,"__isScriptSetup",{enumerable:!1,value:!0}),c}});function dP(e,t,n,r,o,s){const i=De("Content");return h(),b(ee,null,[r.frontmatter.pageLayout!==!1&&r.frontmatter.pageLayout!=="custom"?(h(),b("div",{key:0,class:Z(["theme-plume vp-layout",r.frontmatter.pageClass]),"vp-container":""},[r.isGlobalDecrypted?(h(),b(ee,{key:1},[T(e.$slots,"layout-top",{},void 0,!0),I(r.VPSkipLink),I(r.VPBackdrop,{show:r.isSidebarOpen,onClick:r.closeSidebar},null,8,["show","onClick"]),I(r.VPNav,null,{"nav-bar-title-before":C(()=>[T(e.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":C(()=>[T(e.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":C(()=>[T(e.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":C(()=>[T(e.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":C(()=>[T(e.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":C(()=>[T(e.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),I(r.VPLocalNav,{open:r.isSidebarOpen,"show-outline":r.isPageDecrypted,onOpenMenu:r.openSidebar},null,8,["open","show-outline","onOpenMenu"]),I(r.VPSidebar,{open:r.isSidebarOpen},{"sidebar-nav-before":C(()=>[T(e.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":C(()=>[T(e.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),T(e.$slots,"custom-content",{},()=>[I(r.VPContent,null,{"page-top":C(()=>[T(e.$slots,"page-top",{},void 0,!0)]),"page-bottom":C(()=>[T(e.$slots,"page-bottom",{},void 0,!0)]),"doc-footer-before":C(()=>[T(e.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":C(()=>[T(e.$slots,"doc-before",{},void 0,!0)]),"doc-after":C(()=>[T(e.$slots,"doc-after",{},void 0,!0)]),"doc-top":C(()=>[T(e.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":C(()=>[T(e.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":C(()=>[T(e.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":C(()=>[T(e.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":C(()=>[T(e.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":C(()=>[T(e.$slots,"aside-outline-after",{},void 0,!0)]),"blog-top":C(()=>[T(e.$slots,"blog-top",{},void 0,!0)]),"blog-bottom":C(()=>[T(e.$slots,"blog-bottom",{},void 0,!0)]),"blog-archives-before":C(()=>[T(e.$slots,"blog-archives-before",{},void 0,!0)]),"blog-archives-after":C(()=>[T(e.$slots,"blog-archives-after",{},void 0,!0)]),"blog-tags-before":C(()=>[T(e.$slots,"blog-tags-before",{},void 0,!0)]),"blog-tags-after":C(()=>[T(e.$slots,"blog-tags-after",{},void 0,!0)]),"blog-tags-title-after":C(()=>[T(e.$slots,"blog-tags-title-after",{},void 0,!0)]),"blog-tags-content-before":C(()=>[T(e.$slots,"blog-tags-content-before",{},void 0,!0)]),"blog-categories-before":C(()=>[T(e.$slots,"blog-categories-before",{},void 0,!0)]),"blog-categories-after":C(()=>[T(e.$slots,"blog-categories-after",{},void 0,!0)]),"blog-categories-content-before":C(()=>[T(e.$slots,"blog-categories-content-before",{},void 0,!0)]),"blog-post-list-before":C(()=>[T(e.$slots,"blog-post-list-before",{},void 0,!0)]),"blog-post-list-after":C(()=>[T(e.$slots,"blog-post-list-after",{},void 0,!0)]),"blog-post-list-pagination-after":C(()=>[T(e.$slots,"blog-post-list-pagination-after",{},void 0,!0)]),"blog-aside-top":C(()=>[T(e.$slots,"blog-aside-top",{},void 0,!0)]),"blog-aside-bottom":C(()=>[T(e.$slots,"blog-aside-bottom",{},void 0,!0)]),"blog-extract-before":C(()=>[T(e.$slots,"blog-extract-before",{},void 0,!0)]),"blog-extract-after":C(()=>[T(e.$slots,"blog-extract-after",{},void 0,!0)]),_:3})],!0),I(r.VPBackToTop),I(r.VPFooter,null,{"footer-content":C(()=>[T(e.$slots,"footer-content",{},void 0,!0)]),_:3}),T(e.$slots,"layout-bottom",{},void 0,!0)],64)):(h(),B(r.VPEncryptGlobal,{key:0}))],2)):(h(),B(i,{key:1,"vp-container":"","vp-content":""})),I(r.VPBulletin,null,{"bulletin-content":C(()=>[T(e.$slots,"bulletin-content",{},void 0,!0)]),_:3})],64)}const pP=D(fP,[["render",dP],["__scopeId","data-v-a6e1c2df"],["__file","Layout.vue"]]),hP=R({__name:"NotFound",setup(e,{expose:t}){t();const n=On(),{theme:r}=oe(),o={root:n,theme:r,VPNav:yp,VPBulletin:kp,VPFooter:Ha,VPSkipLink:Op,get withBase(){return ut}};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}}),vP={"vp-not-found":"",class:"theme-plume vp-layout"},mP={id:"VPContent",class:"vp-content"},gP={class:"vp-not-found"},_P={class:"code"},bP={class:"title"},yP={class:"quote"},kP={class:"action"},wP=["href","aria-label"];function SP(e,t,n,r,o,s){return h(),b(ee,null,[y("div",vP,[T(e.$slots,"layout-top",{},void 0,!0),I(r.VPSkipLink),I(r.VPNav,null,{"nav-bar-title-before":C(()=>[T(e.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":C(()=>[T(e.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":C(()=>[T(e.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":C(()=>[T(e.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":C(()=>[T(e.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":C(()=>[T(e.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),y("div",mP,[T(e.$slots,"not-found",{},()=>{var i,a,l,c,u;return[y("div",gP,[y("p",_P,K(((i=r.theme.notFound)==null?void 0:i.code)??"404"),1),y("h1",bP,K(((a=r.theme.notFound)==null?void 0:a.title)??"PAGE NOT FOUND"),1),t[0]||(t[0]=y("div",{class:"divider"},null,-1)),y("blockquote",yP,K(((l=r.theme.notFound)==null?void 0:l.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),y("div",kP,[y("a",{class:"link",href:r.withBase(r.root),"aria-label":((c=r.theme.notFound)==null?void 0:c.linkLabel)??"go to home"},K(((u=r.theme.notFound)==null?void 0:u.linkText)??"Take me home"),9,wP)])])]},!0)]),I(r.VPFooter,null,{"footer-content":C(()=>[T(e.$slots,"footer-content",{},void 0,!0)]),_:3}),T(e.$slots,"layout-bottom",{},void 0,!0)]),I(r.VPBulletin,null,{"bulletin-content":C(()=>[T(e.$slots,"bulletin-content",{},void 0,!0)]),_:3})],64)}const PP=D(hP,[["render",SP],["__scopeId","data-v-4c92feed"],["__file","NotFound.vue"]]);function xP(e){e.component("Badge",Di),e.component("VPBadge",Di),e.component("VPCard",qc),e.component("Card",qc),e.component("VPCardGrid",Kc),e.component("CardGrid",Kc),e.component("VPLinkCard",Qc),e.component("LinkCard",Qc),e.component("VPImageCard",Yc),e.component("ImageCard",Yc),e.component("Icon",dt),e.component("VPIcon",dt),e.component("HomeBox",wr),e.component("VPHomeBox",wr)}var TP=qn({enhance({app:e,router:t}){sy(e),iy(e),qy(t),xP(e)},setup(){hy(),Ny(),uy(),Ky()},layouts:{Layout:pP,NotFound:PP}});const CP=Object.freeze(Object.defineProperty({__proto__:null,default:TP},Symbol.toStringTag,{value:"Module"})),LP=R({__name:"staff",props:{type:{},full:{type:Boolean},backgroundImage:{},backgroundAttachment:{},onlyOnce:{type:Boolean}},setup(e,{expose:t}){t();const r={props:e};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}});function EP(e,t,n,r,o,s){const i=De("Card"),a=De("CardGrid"),l=De("VPHomeBox");return h(),B(l,{type:n.type,class:"title","background-image":n.backgroundImage,"background-attachment":n.backgroundAttachment,full:!1},{default:C(()=>[t[0]||(t[0]=y("div",null,[y("h1",{style:{"text-align":"center","font-size":"28px","font-weight":"bolder"}},"管理团队")],-1)),I(a,{cols:{sm:1,md:3,lg:3}},{default:C(()=>[I(i,{title:"GiriNeko",icon:"https://crafatar.com/avatars/9df952a339884a06a5fa0407ab9f9b6a"}),I(i,{title:"Kamisato_Kirara",icon:"https://crafatar.com/avatars/4b5e4499e22142fe86eeebd493e1d114"}),I(i,{title:"xiaocao",icon:"https://crafatar.com/avatars/308a81ddafef406c8ddb271ecd9d640e"})]),_:1})]),_:1},8,["type","background-image","background-attachment"])}const OP=D(LP,[["render",EP],["__file","staff.vue"]]),AP=R({__name:"info",props:{type:{},full:{type:Boolean},backgroundImage:{},backgroundAttachment:{},onlyOnce:{type:Boolean}},setup(e,{expose:t}){t();const r={props:e};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}});function IP(e,t,n,r,o,s){const i=De("ImageCard"),a=De("CardGrid"),l=De("VPHomeBox");return h(),B(l,{type:n.type,class:"title","background-image":n.backgroundImage,"background-attachment":n.backgroundAttachment,full:!1},{default:C(()=>[y("div",null,[I(a,null,{default:C(()=>[I(i,{image:"/images/info-01.png",title:"友好的社区"}),I(i,{image:"/images/info-02.png",title:"华丽的建筑"}),I(i,{image:"/images/info-03.png",title:"佛系的玩家"}),I(i,{image:"/images/info-04.png",title:"自由放松的世界"})]),_:1})])]),_:1},8,["type","background-image","background-attachment"])}const VP=D(AP,[["render",IP],["__file","info.vue"]]),MP=qn({enhance({app:e}){e.component("staff",OP),e.component("info",VP)}}),RP=Object.freeze(Object.defineProperty({__proto__:null,default:MP},Symbol.toStringTag,{value:"Module"})),$o=[k_,x_,O0,q0,p1,b1,y1,W1,mb,gb,CP,RP].map(e=>e.default).filter(Boolean),$P=JSON.parse('{"base":"/","lang":"zh-CN","title":"","description":"","head":[],"locales":{"/":{"title":"RainCraft","lang":"zh-CN","description":"又是一个纯净生存养老服。"},"/en/":{"title":"RainCraft","lang":"en-US","description":"An Minecraft Server."}}}');var Fr=nt($P),BP=Lg,NP=()=>{const e=l_({history:BP(Of("/")),routes:[{name:"vuepress-route",path:"/:catchAll(.*)",components:{}}],scrollBehavior:(t,n,r)=>r||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,n)=>{if(t.path!==n.path||n===Qt){const r=yr(t.fullPath);if(r.path!==t.fullPath)return r.path;const o=await r.loader();t.meta={...r.meta,_pageChunk:o}}else t.path===n.path&&(t.meta=n.meta)}),e},jP=e=>{e.component("ClientOnly",g_),e.component("Content",ed),e.component("RouteLink",m_)},DP=(e,t,n)=>{const r=P(()=>t.currentRoute.value.path),o=sa((k,S)=>({get(){return k(),t.currentRoute.value.meta._pageChunk},set(L){t.currentRoute.value.meta._pageChunk=L,S()}})),s=P(()=>Bn.resolveLayouts(n)),i=P(()=>Bn.resolveRouteLocale(Fr.value.locales,r.value)),a=P(()=>Bn.resolveSiteLocaleData(Fr.value,i.value)),l=P(()=>o.value.comp),c=P(()=>o.value.data),u=P(()=>c.value.frontmatter),f=P(()=>Bn.resolvePageHeadTitle(c.value,a.value)),d=P(()=>Bn.resolvePageHead(f.value,u.value,a.value)),p=P(()=>Bn.resolvePageLang(c.value,a.value)),v=P(()=>Bn.resolvePageLayout(c.value,s.value)),m={layouts:s,pageData:c,pageComponent:l,pageFrontmatter:u,pageHead:d,pageHeadTitle:f,pageLang:p,pageLayout:v,redirects:Ci,routeLocale:i,routePath:r,routes:dr,siteData:Fr,siteLocaleData:a};return e.provide(ba,m),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>u.value},$head:{get:()=>d.value},$headTitle:{get:()=>f.value},$lang:{get:()=>p.value},$page:{get:()=>c.value},$routeLocale:{get:()=>i.value},$site:{get:()=>Fr.value},$siteLocale:{get:()=>a.value},$withBase:{get:()=>ut}}),m},HP=([e,t,n=""])=>{const r=Object.entries(t).map(([a,l])=>Ot(l)?`[${a}=${JSON.stringify(l)}]`:l?`[${a}]`:"").join(""),o=`head > ${e}${r}`;return Array.from(document.querySelectorAll(o)).find(a=>a.innerText===n)??null},FP=([e,t,n])=>{if(!Ot(e))return null;const r=document.createElement(e);return gr(t)&&Object.entries(t).forEach(([o,s])=>{Ot(s)?r.setAttribute(o,s):s&&r.setAttribute(o,"")}),Ot(n)&&r.appendChild(document.createTextNode(n)),r},UP=()=>{const e=u_(),t=Lr();let n=[];const r=()=>{e.value.forEach(i=>{const a=HP(i);a&&n.push(a)})},o=()=>{const i=[];return e.value.forEach(a=>{const l=FP(a);l&&i.push(l)}),i},s=()=>{document.documentElement.lang=t.value;const i=o();n.forEach((a,l)=>{const c=i.findIndex(u=>a.isEqualNode(u));c===-1?(a.remove(),delete n[l]):i.splice(c,1)}),i.forEach(a=>document.head.appendChild(a)),n=[...n.filter(a=>!!a),...i]};sn(h_,s),Re(()=>{r(),me(e,s,{immediate:!1})})},zP=Cm,WP=async()=>{var r;const e=zP({name:"Vuepress",setup(){var i;UP();for(const a of $o)(i=a.setup)==null||i.call(a);const o=$o.flatMap(({rootComponents:a=[]})=>a.map(l=>ve(l))),s=f_();return()=>[ve(s.value),o]}}),t=NP();jP(e);const n=DP(e,t,$o);{const{setupDevtools:o}=await Ve(async()=>{const{setupDevtools:s}=await import("./setupDevtools-7MC2TMWH-BQTkVBLd.js");return{setupDevtools:s}},[]);o(e,n)}for(const o of $o)await((r=o.enhance)==null?void 0:r.call(o,{app:e,router:t,siteData:Fr}));return e.use(t),{app:e,router:t}};WP().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{Cr as A,Ke as B,wa as C,fa as D,ut as E,YP as F,gh as G,B as H,xf as I,la as J,km as K,_e as L,Z as M,ee as N,K as O,E as P,GP as T,D as _,y as a,I as b,b as c,WP as createVueApp,C as d,je as e,qP as f,G as g,P as h,In as i,R as j,On as k,Y0 as l,zn as m,T_ as n,h as o,KP as p,fd as q,De as r,nt as s,Ne as t,tt as u,j_ as v,me as w,Re as x,Vt as y,Zl as z};
|