function ts(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const Lo="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Io=ts(Lo);function pr(e){return!!e||e===""}function ns(e){if(F(e)){const t={};for(let n=0;n{if(n){const s=n.split(Oo);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function at(e){let t="";if(pe(e))t=e;else if(F(e))for(let n=0;npe(e)?e:e==null?"":F(e)||ae(e)&&(e.toString===vr||!B(e.toString))?JSON.stringify(e,_r,2):String(e),_r=(e,t)=>t&&t.__v_isRef?_r(e,t.value):vt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:gr(t)?{[`Set(${t.size})`]:[...t.values()]}:ae(t)&&!F(t)&&!br(t)?String(t):t,X={},mt=[],Me=()=>{},Fo=()=>!1,So=/^on[^a-z]/,qt=e=>So.test(e),ss=e=>e.startsWith("onUpdate:"),ye=Object.assign,rs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},No=Object.prototype.hasOwnProperty,z=(e,t)=>No.call(e,t),F=Array.isArray,vt=e=>yn(e)==="[object Map]",gr=e=>yn(e)==="[object Set]",B=e=>typeof e=="function",pe=e=>typeof e=="string",os=e=>typeof e=="symbol",ae=e=>e!==null&&typeof e=="object",mr=e=>ae(e)&&B(e.then)&&B(e.catch),vr=Object.prototype.toString,yn=e=>vr.call(e),Ho=e=>yn(e).slice(8,-1),br=e=>yn(e)==="[object Object]",is=e=>pe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Mt=ts(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),xn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Bo=/-(\w)/g,Ne=xn(e=>e.replace(Bo,(t,n)=>n?n.toUpperCase():"")),Uo=/\B([A-Z])/g,$t=xn(e=>e.replace(Uo,"-$1").toLowerCase()),wn=xn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Rn=xn(e=>e?`on${wn(e)}`:""),Bt=(e,t)=>!Object.is(e,t),Fn=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},jo=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Os;const Do=()=>Os||(Os=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let Ue;class Wo{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&Ue&&(this.parent=Ue,this.index=(Ue.scopes||(Ue.scopes=[])).push(this)-1)}run(t){if(this.active)try{return Ue=this,t()}finally{Ue=this.parent}}on(){Ue=this}off(){Ue=this.parent}stop(t){if(this.active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},yr=e=>(e.w&Ge)>0,xr=e=>(e.n&Ge)>0,qo=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(f==="length"||f>=s)&&l.push(u)});else switch(n!==void 0&&l.push(i.get(n)),t){case"add":F(e)?is(n)&&l.push(i.get("length")):(l.push(i.get(ot)),vt(e)&&l.push(i.get(Kn)));break;case"delete":F(e)||(l.push(i.get(ot)),vt(e)&&l.push(i.get(Kn)));break;case"set":vt(e)&&l.push(i.get(ot));break}if(l.length===1)l[0]&&qn(l[0]);else{const u=[];for(const f of l)f&&u.push(...f);qn(ls(u))}}function qn(e,t){for(const n of F(e)?e:[...e])(n!==Se||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const Vo=ts("__proto__,__v_isRef,__isVue"),Cr=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(os)),Yo=us(),Jo=us(!1,!0),Xo=us(!0),Fs=Zo();function Zo(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=V(this);for(let o=0,i=this.length;o{e[t]=function(...n){Ct();const s=V(this)[t].apply(this,n);return Et(),s}}),e}function us(e=!1,t=!1){return function(s,r,o){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&o===(e?t?hi:Pr:t?Ar:Tr).get(s))return s;const i=F(s);if(!e&&i&&z(Fs,r))return Reflect.get(Fs,r,o);const l=Reflect.get(s,r,o);return(os(r)?Cr.has(r):Vo(r))||(e||ke(s,"get",r),t)?l:he(l)?!i||!is(r)?l.value:l:ae(l)?e?Lr(l):Cn(l):l}}const Qo=Er(),Go=Er(!0);function Er(e=!1){return function(n,s,r,o){let i=n[s];if(Ut(i)&&he(i)&&!he(r))return!1;if(!e&&!Ut(r)&&(Ir(r)||(r=V(r),i=V(i)),!F(n)&&he(i)&&!he(r)))return i.value=r,!0;const l=F(n)&&is(s)?Number(s)e,$n=e=>Reflect.getPrototypeOf(e);function Xt(e,t,n=!1,s=!1){e=e.__v_raw;const r=V(e),o=V(t);t!==o&&!n&&ke(r,"get",t),!n&&ke(r,"get",o);const{has:i}=$n(r),l=s?as:n?hs:jt;if(i.call(r,t))return l(e.get(t));if(i.call(r,o))return l(e.get(o));e!==r&&e.get(t)}function Zt(e,t=!1){const n=this.__v_raw,s=V(n),r=V(e);return e!==r&&!t&&ke(s,"has",e),!t&&ke(s,"has",r),e===r?n.has(e):n.has(e)||n.has(r)}function Qt(e,t=!1){return e=e.__v_raw,!t&&ke(V(e),"iterate",ot),Reflect.get(e,"size",e)}function Ss(e){e=V(e);const t=V(this);return $n(t).has.call(t,e)||(t.add(e),We(t,"add",e,e)),this}function Ns(e,t){t=V(t);const n=V(this),{has:s,get:r}=$n(n);let o=s.call(n,e);o||(e=V(e),o=s.call(n,e));const i=r.call(n,e);return n.set(e,t),o?Bt(t,i)&&We(n,"set",e,t):We(n,"add",e,t),this}function Hs(e){const t=V(this),{has:n,get:s}=$n(t);let r=n.call(t,e);r||(e=V(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&We(t,"delete",e,void 0),o}function Bs(){const e=V(this),t=e.size!==0,n=e.clear();return t&&We(e,"clear",void 0,void 0),n}function Gt(e,t){return function(s,r){const o=this,i=o.__v_raw,l=V(i),u=t?as:e?hs:jt;return!e&&ke(l,"iterate",ot),i.forEach((f,h)=>s.call(r,u(f),u(h),o))}}function en(e,t,n){return function(...s){const r=this.__v_raw,o=V(r),i=vt(o),l=e==="entries"||e===Symbol.iterator&&i,u=e==="keys"&&i,f=r[e](...s),h=n?as:t?hs:jt;return!t&&ke(o,"iterate",u?Kn:ot),{next(){const{value:m,done:b}=f.next();return b?{value:m,done:b}:{value:l?[h(m[0]),h(m[1])]:h(m),done:b}},[Symbol.iterator](){return this}}}}function Ve(e){return function(...t){return e==="delete"?!1:this}}function oi(){const e={get(o){return Xt(this,o)},get size(){return Qt(this)},has:Zt,add:Ss,set:Ns,delete:Hs,clear:Bs,forEach:Gt(!1,!1)},t={get(o){return Xt(this,o,!1,!0)},get size(){return Qt(this)},has:Zt,add:Ss,set:Ns,delete:Hs,clear:Bs,forEach:Gt(!1,!0)},n={get(o){return Xt(this,o,!0)},get size(){return Qt(this,!0)},has(o){return Zt.call(this,o,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:Gt(!0,!1)},s={get(o){return Xt(this,o,!0,!0)},get size(){return Qt(this,!0)},has(o){return Zt.call(this,o,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:Gt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=en(o,!1,!1),n[o]=en(o,!0,!1),t[o]=en(o,!1,!0),s[o]=en(o,!0,!0)}),[e,n,t,s]}const[ii,li,ci,ui]=oi();function fs(e,t){const n=t?e?ui:ci:e?li:ii;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(z(n,r)&&r in s?n:s,r,o)}const ai={get:fs(!1,!1)},fi={get:fs(!1,!0)},di={get:fs(!0,!1)},Tr=new WeakMap,Ar=new WeakMap,Pr=new WeakMap,hi=new WeakMap;function pi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function _i(e){return e.__v_skip||!Object.isExtensible(e)?0:pi(Ho(e))}function Cn(e){return Ut(e)?e:ds(e,!1,kr,ai,Tr)}function gi(e){return ds(e,!1,ri,fi,Ar)}function Lr(e){return ds(e,!0,si,di,Pr)}function ds(e,t,n,s,r){if(!ae(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=_i(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function bt(e){return Ut(e)?bt(e.__v_raw):!!(e&&e.__v_isReactive)}function Ut(e){return!!(e&&e.__v_isReadonly)}function Ir(e){return!!(e&&e.__v_isShallow)}function Mr(e){return bt(e)||Ut(e)}function V(e){const t=e&&e.__v_raw;return t?V(t):e}function Ot(e){return rn(e,"__v_skip",!0),e}const jt=e=>ae(e)?Cn(e):e,hs=e=>ae(e)?Lr(e):e;function Or(e){Ze&&Se&&(e=V(e),$r(e.dep||(e.dep=ls())))}function Rr(e,t){e=V(e),e.dep&&qn(e.dep)}function he(e){return!!(e&&e.__v_isRef===!0)}function it(e){return Fr(e,!1)}function mi(e){return Fr(e,!0)}function Fr(e,t){return he(e)?e:new vi(e,t)}class vi{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:V(t),this._value=n?t:jt(t)}get value(){return Or(this),this._value}set value(t){t=this.__v_isShallow?t:V(t),Bt(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:jt(t),Rr(this))}}function C(e){return he(e)?e.value:e}const bi={get:(e,t,n)=>C(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return he(r)&&!he(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Sr(e){return bt(e)?e:new Proxy(e,bi)}function Nr(e){const t=F(e)?new Array(e.length):{};for(const n in e)t[n]=xi(e,n);return t}class yi{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function xi(e,t,n){const s=e[t];return he(s)?s:new yi(e,t,n)}class wi{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new cs(t,()=>{this._dirty||(this._dirty=!0,Rr(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=V(this);return Or(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function $i(e,t,n=!1){let s,r;const o=B(e);return o?(s=e,r=Me):(s=e.get,r=e.set),new wi(s,r,o||!r,n)}Promise.resolve();function Qe(e,t,n,s){let r;try{r=s?e(...s):e()}catch(o){zt(o,t,n)}return r}function Oe(e,t,n,s){if(B(e)){const o=Qe(e,t,n,s);return o&&mr(o)&&o.catch(i=>{zt(i,t,n)}),o}const r=[];for(let o=0;o>>1;Dt(Ee[s])De&&Ee.splice(t,1)}function jr(e,t,n,s){F(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?s+1:s))&&n.push(e),Ur()}function Ti(e){jr(e,It,Rt,_t)}function Ai(e){jr(e,Je,Ft,gt)}function gs(e,t=null){if(Rt.length){for(Vn=t,It=[...new Set(Rt)],Rt.length=0,_t=0;_tDt(n)-Dt(s)),gt=0;gte.id==null?1/0:e.id;function Dr(e){zn=!1,on=!0,gs(e),Ee.sort((n,s)=>Dt(n)-Dt(s));const t=Me;try{for(De=0;Dek.trim()):m&&(r=n.map(jo))}let l,u=s[l=Rn(t)]||s[l=Rn(Ne(t))];!u&&o&&(u=s[l=Rn($t(t))]),u&&Oe(u,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Oe(f,e,6,r)}}function Wr(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!B(e)){const u=f=>{const h=Wr(f,t,!0);h&&(l=!0,ye(i,h))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!o&&!l?(s.set(e,null),null):(F(o)?o.forEach(u=>i[u]=null):ye(i,o),s.set(e,i),i)}function ms(e,t){return!e||!qt(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,$t(t))||z(e,t))}let Ae=null,En=null;function cn(e){const t=Ae;return Ae=e,En=e&&e.type.__scopeId||null,t}function Kr(e){En=e}function qr(){En=null}function je(e,t=Ae,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Js(-1);const o=cn(t),i=e(...r);return cn(o),s._d&&Js(1),i};return s._n=!0,s._c=!0,s._d=!0,s}function Sn(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:o,propsOptions:[i],slots:l,attrs:u,emit:f,render:h,renderCache:m,data:b,setupState:k,ctx:T,inheritAttrs:j}=e;let p,y;const O=cn(e);try{if(n.shapeFlag&4){const U=r||s;p=Ie(h.call(U,U,m,o,k,b,T)),y=u}else{const U=t;p=Ie(U.length>1?U(o,{attrs:u,slots:l,emit:f}):U(o,null)),y=t.props?u:Li(u)}}catch(U){Ht.length=0,zt(U,e,1),p=S(Ke)}let M=p;if(y&&j!==!1){const U=Object.keys(y),{shapeFlag:Z}=M;U.length&&Z&7&&(i&&U.some(ss)&&(y=Ii(y,i)),M=Kt(M,y))}return n.dirs&&(M.dirs=M.dirs?M.dirs.concat(n.dirs):n.dirs),n.transition&&(M.transition=n.transition),p=M,cn(O),p}const Li=e=>{let t;for(const n in e)(n==="class"||n==="style"||qt(n))&&((t||(t={}))[n]=e[n]);return t},Ii=(e,t)=>{const n={};for(const s in e)(!ss(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Mi(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:u}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return s?Us(s,i,f):!!i;if(u&8){const h=t.dynamicProps;for(let m=0;me.__isSuspense;function zr(e,t){t&&t.pendingBranch?F(e)?t.effects.push(...e):t.effects.push(e):Ai(e)}function Fi(e,t){if(de){let n=de.provides;const s=de.parent&&de.parent.provides;s===n&&(n=de.provides=Object.create(s)),n[e]=t}}function St(e,t,n=!1){const s=de||Ae;if(s){const r=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&B(t)?t.call(s.proxy):t}}function Vr(e,t){return vs(e,null,t)}const js={};function lt(e,t,n){return vs(e,t,n)}function vs(e,t,{immediate:n,deep:s,flush:r,onTrack:o,onTrigger:i}=X){const l=de;let u,f=!1,h=!1;if(he(e)?(u=()=>e.value,f=Ir(e)):bt(e)?(u=()=>e,s=!0):F(e)?(h=!0,f=e.some(bt),u=()=>e.map(y=>{if(he(y))return y.value;if(bt(y))return rt(y);if(B(y))return Qe(y,l,2)})):B(e)?t?u=()=>Qe(e,l,2):u=()=>{if(!(l&&l.isUnmounted))return m&&m(),Oe(e,l,3,[b])}:u=Me,t&&s){const y=u;u=()=>rt(y())}let m,b=y=>{m=p.onStop=()=>{Qe(y,l,4)}};if(xt)return b=Me,t?n&&Oe(t,l,3,[u(),h?[]:void 0,b]):u(),Me;let k=h?[]:js;const T=()=>{if(!!p.active)if(t){const y=p.run();(s||f||(h?y.some((O,M)=>Bt(O,k[M])):Bt(y,k)))&&(m&&m(),Oe(t,l,3,[y,k===js?void 0:k,b]),k=y)}else p.run()};T.allowRecurse=!!t;let j;r==="sync"?j=T:r==="post"?j=()=>$e(T,l&&l.suspense):j=()=>{!l||l.isMounted?Ti(T):T()};const p=new cs(u,j);return t?n?T():k=p.run():r==="post"?$e(p.run.bind(p),l&&l.suspense):p.run(),()=>{p.stop(),l&&l.scope&&rs(l.scope.effects,p)}}function Si(e,t,n){const s=this.proxy,r=pe(e)?e.includes(".")?Yr(s,e):()=>s[e]:e.bind(s,s);let o;B(t)?o=t:(o=t.handler,n=t);const i=de;yt(this);const l=vs(r,o.bind(s),n);return i?yt(i):ut(),l}function Yr(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{rt(n,t)});else if(br(e))for(const n in e)rt(e[n],t);return e}function re(e){return B(e)?{setup:e,name:e.name}:e}const un=e=>!!e.type.__asyncLoader;function Qa(e){B(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,timeout:o,suspensible:i=!0,onError:l}=e;let u=null,f,h=0;const m=()=>(h++,u=null,b()),b=()=>{let k;return u||(k=u=t().catch(T=>{if(T=T instanceof Error?T:new Error(String(T)),l)return new Promise((j,p)=>{l(T,()=>j(m()),()=>p(T),h+1)});throw T}).then(T=>k!==u&&u?u:(T&&(T.__esModule||T[Symbol.toStringTag]==="Module")&&(T=T.default),f=T,T)))};return re({name:"AsyncComponentWrapper",__asyncLoader:b,get __asyncResolved(){return f},setup(){const k=de;if(f)return()=>Nn(f,k);const T=O=>{u=null,zt(O,k,13,!s)};if(i&&k.suspense||xt)return b().then(O=>()=>Nn(O,k)).catch(O=>(T(O),()=>s?S(s,{error:O}):null));const j=it(!1),p=it(),y=it(!!r);return r&&setTimeout(()=>{y.value=!1},r),o!=null&&setTimeout(()=>{if(!j.value&&!p.value){const O=new Error(`Async component timed out after ${o}ms.`);T(O),p.value=O}},o),b().then(()=>{j.value=!0,k.parent&&bs(k.parent.vnode)&&_s(k.parent.update)}).catch(O=>{T(O),p.value=O}),()=>{if(j.value&&f)return Nn(f,k);if(p.value&&s)return S(s,{error:p.value});if(n&&!y.value)return S(n)}}})}function Nn(e,{vnode:{ref:t,props:n,children:s}}){const r=S(e,n,s);return r.ref=t,r}const bs=e=>e.type.__isKeepAlive;function Ni(e,t){Jr(e,"a",t)}function Hi(e,t){Jr(e,"da",t)}function Jr(e,t,n=de){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(kn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)bs(r.parent.vnode)&&Bi(s,t,n,r),r=r.parent}}function Bi(e,t,n,s){const r=kn(t,e,s,!0);Tn(()=>{rs(s[t],r)},n)}function kn(e,t,n=de,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Ct(),yt(n);const l=Oe(t,n,e,i);return ut(),Et(),l});return s?r.unshift(o):r.push(o),o}}const qe=e=>(t,n=de)=>(!xt||e==="sp")&&kn(e,t,n),Ui=qe("bm"),kt=qe("m"),ji=qe("bu"),Xr=qe("u"),Di=qe("bum"),Tn=qe("um"),Wi=qe("sp"),Ki=qe("rtg"),qi=qe("rtc");function zi(e,t=de){kn("ec",e,t)}let Yn=!0;function Vi(e){const t=Qr(e),n=e.proxy,s=e.ctx;Yn=!1,t.beforeCreate&&Ds(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:u,inject:f,created:h,beforeMount:m,mounted:b,beforeUpdate:k,updated:T,activated:j,deactivated:p,beforeDestroy:y,beforeUnmount:O,destroyed:M,unmounted:U,render:Z,renderTracked:Q,renderTriggered:D,errorCaptured:le,serverPrefetch:ne,expose:oe,inheritAttrs:_e,components:K,directives:ie,filters:xe}=t;if(f&&Yi(f,s,null,e.appContext.config.unwrapInjectedRef),i)for(const se in i){const G=i[se];B(G)&&(s[se]=G.bind(n))}if(r){const se=r.call(n,n);ae(se)&&(e.data=Cn(se))}if(Yn=!0,o)for(const se in o){const G=o[se],He=B(G)?G.bind(n,n):B(G.get)?G.get.bind(n,n):Me,In=!B(G)&&B(G.set)?G.set.bind(n):Me,Tt=W({get:He,set:In});Object.defineProperty(s,se,{enumerable:!0,configurable:!0,get:()=>Tt.value,set:dt=>Tt.value=dt})}if(l)for(const se in l)Zr(l[se],s,n,se);if(u){const se=B(u)?u.call(n):u;Reflect.ownKeys(se).forEach(G=>{Fi(G,se[G])})}h&&Ds(h,e,"c");function we(se,G){F(G)?G.forEach(He=>se(He.bind(n))):G&&se(G.bind(n))}if(we(Ui,m),we(kt,b),we(ji,k),we(Xr,T),we(Ni,j),we(Hi,p),we(zi,le),we(qi,Q),we(Ki,D),we(Di,O),we(Tn,U),we(Wi,ne),F(oe))if(oe.length){const se=e.exposed||(e.exposed={});oe.forEach(G=>{Object.defineProperty(se,G,{get:()=>n[G],set:He=>n[G]=He})})}else e.exposed||(e.exposed={});Z&&e.render===Me&&(e.render=Z),_e!=null&&(e.inheritAttrs=_e),K&&(e.components=K),ie&&(e.directives=ie)}function Yi(e,t,n=Me,s=!1){F(e)&&(e=Jn(e));for(const r in e){const o=e[r];let i;ae(o)?"default"in o?i=St(o.from||r,o.default,!0):i=St(o.from||r):i=St(o),he(i)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[r]=i}}function Ds(e,t,n){Oe(F(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Zr(e,t,n,s){const r=s.includes(".")?Yr(n,s):()=>n[s];if(pe(e)){const o=t[e];B(o)&<(r,o)}else if(B(e))lt(r,e.bind(n));else if(ae(e))if(F(e))e.forEach(o=>Zr(o,t,n,s));else{const o=B(e.handler)?e.handler.bind(n):t[e.handler];B(o)&<(r,o,e)}}function Qr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let u;return l?u=l:!r.length&&!n&&!s?u=t:(u={},r.length&&r.forEach(f=>an(u,f,i,!0)),an(u,t,i)),o.set(t,u),u}function an(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&an(e,o,n,!0),r&&r.forEach(i=>an(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=Ji[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Ji={data:Ws,props:nt,emits:nt,methods:nt,computed:nt,beforeCreate:ve,created:ve,beforeMount:ve,mounted:ve,beforeUpdate:ve,updated:ve,beforeDestroy:ve,beforeUnmount:ve,destroyed:ve,unmounted:ve,activated:ve,deactivated:ve,errorCaptured:ve,serverPrefetch:ve,components:nt,directives:nt,watch:Zi,provide:Ws,inject:Xi};function Ws(e,t){return t?e?function(){return ye(B(e)?e.call(this,this):e,B(t)?t.call(this,this):t)}:t:e}function Xi(e,t){return nt(Jn(e),Jn(t))}function Jn(e){if(F(e)){const t={};for(let n=0;n0)&&!(i&16)){if(i&8){const h=e.vnode.dynamicProps;for(let m=0;m{u=!0;const[b,k]=eo(m,t,!0);ye(i,b),k&&l.push(...k)};!n&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}if(!o&&!u)return s.set(e,mt),mt;if(F(o))for(let h=0;h-1,k[1]=j<0||T-1||z(k,"default"))&&l.push(m)}}}const f=[i,l];return s.set(e,f),f}function Ks(e){return e[0]!=="$"}function qs(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function zs(e,t){return qs(e)===qs(t)}function Vs(e,t){return F(t)?t.findIndex(n=>zs(n,e)):B(t)&&zs(t,e)?0:-1}const to=e=>e[0]==="_"||e==="$stable",ys=e=>F(e)?e.map(Ie):[Ie(e)],el=(e,t,n)=>{const s=je((...r)=>ys(t(...r)),n);return s._c=!1,s},no=(e,t,n)=>{const s=e._ctx;for(const r in e){if(to(r))continue;const o=e[r];if(B(o))t[r]=el(r,o,s);else if(o!=null){const i=ys(o);t[r]=()=>i}}},so=(e,t)=>{const n=ys(t);e.slots.default=()=>n},tl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=V(t),rn(t,"_",n)):no(t,e.slots={})}else e.slots={},t&&so(e,t);rn(e.slots,An,1)},nl=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=X;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(ye(r,t),!n&&l===1&&delete r._):(o=!t.$stable,no(t,r)),i=t}else t&&(so(e,t),i={default:1});if(o)for(const l in r)!to(l)&&!(l in i)&&delete r[l]};function Ga(e,t){const n=Ae;if(n===null)return e;const s=n.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;ofn(b,t&&(F(t)?t[k]:t),n,s,r));return}if(un(s)&&!r)return;const o=s.shapeFlag&4?$s(s.component)||s.component.proxy:s.el,i=r?null:o,{i:l,r:u}=e,f=t&&t.r,h=l.refs===X?l.refs={}:l.refs,m=l.setupState;if(f!=null&&f!==u&&(pe(f)?(h[f]=null,z(m,f)&&(m[f]=null)):he(f)&&(f.value=null)),B(u))Qe(u,l,12,[i,h]);else{const b=pe(u),k=he(u);if(b||k){const T=()=>{if(e.f){const j=b?h[u]:u.value;r?F(j)&&rs(j,o):F(j)?j.includes(o)||j.push(o):b?h[u]=[o]:(u.value=[o],e.k&&(h[e.k]=u.value))}else b?(h[u]=i,z(m,u)&&(m[u]=i)):he(u)&&(u.value=i,e.k&&(h[e.k]=i))};i?(T.id=-1,$e(T,n)):T()}}}let Ye=!1;const tn=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Hn=e=>e.nodeType===8;function ol(e){const{mt:t,p:n,o:{patchProp:s,nextSibling:r,parentNode:o,remove:i,insert:l,createComment:u}}=e,f=(p,y)=>{if(!y.hasChildNodes()){n(null,p,y),ln();return}Ye=!1,h(y.firstChild,p,null,null,null),ln(),Ye&&console.error("Hydration completed but contains mismatches.")},h=(p,y,O,M,U,Z=!1)=>{const Q=Hn(p)&&p.data==="[",D=()=>T(p,y,O,M,U,Q),{type:le,ref:ne,shapeFlag:oe}=y,_e=p.nodeType;y.el=p;let K=null;switch(le){case Wt:_e!==3?K=D():(p.data!==y.children&&(Ye=!0,p.data=y.children),K=r(p));break;case Ke:_e!==8||Q?K=D():K=r(p);break;case Nt:if(_e!==1)K=D();else{K=p;const ie=!y.children.length;for(let xe=0;xe{Z=Z||!!y.dynamicChildren;const{type:Q,props:D,patchFlag:le,shapeFlag:ne,dirs:oe}=y,_e=Q==="input"&&oe||Q==="option";if(_e||le!==-1){if(oe&&Fe(y,null,O,"created"),D)if(_e||!Z||le&48)for(const ie in D)(_e&&ie.endsWith("value")||qt(ie)&&!Mt(ie))&&s(p,ie,null,D[ie],!1,void 0,O);else D.onClick&&s(p,"onClick",null,D.onClick,!1,void 0,O);let K;if((K=D&&D.onVnodeBeforeMount)&&Te(K,O,y),oe&&Fe(y,null,O,"beforeMount"),((K=D&&D.onVnodeMounted)||oe)&&zr(()=>{K&&Te(K,O,y),oe&&Fe(y,null,O,"mounted")},M),ne&16&&!(D&&(D.innerHTML||D.textContent))){let ie=b(p.firstChild,y,p,O,M,U,Z);for(;ie;){Ye=!0;const xe=ie;ie=ie.nextSibling,i(xe)}}else ne&8&&p.textContent!==y.children&&(Ye=!0,p.textContent=y.children)}return p.nextSibling},b=(p,y,O,M,U,Z,Q)=>{Q=Q||!!y.dynamicChildren;const D=y.children,le=D.length;for(let ne=0;ne{const{slotScopeIds:Q}=y;Q&&(U=U?U.concat(Q):Q);const D=o(p),le=b(r(p),y,D,O,M,U,Z);return le&&Hn(le)&&le.data==="]"?r(y.anchor=le):(Ye=!0,l(y.anchor=u("]"),D,le),le)},T=(p,y,O,M,U,Z)=>{if(Ye=!0,y.el=null,Z){const le=j(p);for(;;){const ne=r(p);if(ne&&ne!==le)i(ne);else break}}const Q=r(p),D=o(p);return i(p),n(null,y,D,Q,O,M,tn(D),U),Q},j=p=>{let y=0;for(;p;)if(p=r(p),p&&Hn(p)&&(p.data==="["&&y++,p.data==="]")){if(y===0)return r(p);y--}return p};return[f,h]}const $e=zr;function il(e){return ll(e,ol)}function ll(e,t){const n=Do();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:u,setText:f,setElementText:h,parentNode:m,nextSibling:b,setScopeId:k=Me,cloneNode:T,insertStaticContent:j}=e,p=(c,a,d,g=null,_=null,w=null,E=!1,x=null,$=!!a.dynamicChildren)=>{if(c===a)return;c&&!Pt(c,a)&&(g=Jt(c),ze(c,_,w,!0),c=null),a.patchFlag===-2&&($=!1,a.dynamicChildren=null);const{type:v,ref:L,shapeFlag:A}=a;switch(v){case Wt:y(c,a,d,g);break;case Ke:O(c,a,d,g);break;case Nt:c==null&&M(a,d,g,E);break;case fe:ie(c,a,d,g,_,w,E,x,$);break;default:A&1?Q(c,a,d,g,_,w,E,x,$):A&6?xe(c,a,d,g,_,w,E,x,$):(A&64||A&128)&&v.process(c,a,d,g,_,w,E,x,$,ht)}L!=null&&_&&fn(L,c&&c.ref,w,a||c,!a)},y=(c,a,d,g)=>{if(c==null)s(a.el=l(a.children),d,g);else{const _=a.el=c.el;a.children!==c.children&&f(_,a.children)}},O=(c,a,d,g)=>{c==null?s(a.el=u(a.children||""),d,g):a.el=c.el},M=(c,a,d,g)=>{[c.el,c.anchor]=j(c.children,a,d,g,c.el,c.anchor)},U=({el:c,anchor:a},d,g)=>{let _;for(;c&&c!==a;)_=b(c),s(c,d,g),c=_;s(a,d,g)},Z=({el:c,anchor:a})=>{let d;for(;c&&c!==a;)d=b(c),r(c),c=d;r(a)},Q=(c,a,d,g,_,w,E,x,$)=>{E=E||a.type==="svg",c==null?D(a,d,g,_,w,E,x,$):oe(c,a,_,w,E,x,$)},D=(c,a,d,g,_,w,E,x)=>{let $,v;const{type:L,props:A,shapeFlag:I,transition:R,patchFlag:q,dirs:te}=c;if(c.el&&T!==void 0&&q===-1)$=c.el=T(c.el);else{if($=c.el=i(c.type,w,A&&A.is,A),I&8?h($,c.children):I&16&&ne(c.children,$,null,g,_,w&&L!=="foreignObject",E,x),te&&Fe(c,null,g,"created"),A){for(const ee in A)ee!=="value"&&!Mt(ee)&&o($,ee,null,A[ee],w,c.children,g,_,Be);"value"in A&&o($,"value",null,A.value),(v=A.onVnodeBeforeMount)&&Te(v,g,c)}le($,c,c.scopeId,E,g)}te&&Fe(c,null,g,"beforeMount");const J=(!_||_&&!_.pendingBranch)&&R&&!R.persisted;J&&R.beforeEnter($),s($,a,d),((v=A&&A.onVnodeMounted)||J||te)&&$e(()=>{v&&Te(v,g,c),J&&R.enter($),te&&Fe(c,null,g,"mounted")},_)},le=(c,a,d,g,_)=>{if(d&&k(c,d),g)for(let w=0;w{for(let v=$;v{const x=a.el=c.el;let{patchFlag:$,dynamicChildren:v,dirs:L}=a;$|=c.patchFlag&16;const A=c.props||X,I=a.props||X;let R;d&&tt(d,!1),(R=I.onVnodeBeforeUpdate)&&Te(R,d,a,c),L&&Fe(a,c,d,"beforeUpdate"),d&&tt(d,!0);const q=_&&a.type!=="foreignObject";if(v?_e(c.dynamicChildren,v,x,d,g,q,w):E||He(c,a,x,null,d,g,q,w,!1),$>0){if($&16)K(x,a,A,I,d,g,_);else if($&2&&A.class!==I.class&&o(x,"class",null,I.class,_),$&4&&o(x,"style",A.style,I.style,_),$&8){const te=a.dynamicProps;for(let J=0;J{R&&Te(R,d,a,c),L&&Fe(a,c,d,"updated")},g)},_e=(c,a,d,g,_,w,E)=>{for(let x=0;x{if(d!==g){for(const x in g){if(Mt(x))continue;const $=g[x],v=d[x];$!==v&&x!=="value"&&o(c,x,v,$,E,a.children,_,w,Be)}if(d!==X)for(const x in d)!Mt(x)&&!(x in g)&&o(c,x,d[x],null,E,a.children,_,w,Be);"value"in g&&o(c,"value",d.value,g.value)}},ie=(c,a,d,g,_,w,E,x,$)=>{const v=a.el=c?c.el:l(""),L=a.anchor=c?c.anchor:l("");let{patchFlag:A,dynamicChildren:I,slotScopeIds:R}=a;R&&(x=x?x.concat(R):R),c==null?(s(v,d,g),s(L,d,g),ne(a.children,d,L,_,w,E,x,$)):A>0&&A&64&&I&&c.dynamicChildren?(_e(c.dynamicChildren,I,d,_,w,E,x),(a.key!=null||_&&a===_.subTree)&&oo(c,a,!0)):He(c,a,d,L,_,w,E,x,$)},xe=(c,a,d,g,_,w,E,x,$)=>{a.slotScopeIds=x,c==null?a.shapeFlag&512?_.ctx.activate(a,d,g,E,$):Ln(a,d,g,_,w,E,$):we(c,a,$)},Ln=(c,a,d,g,_,w,E)=>{const x=c.component=vl(c,g,_);if(bs(c)&&(x.ctx.renderer=ht),bl(x),x.asyncDep){if(_&&_.registerDep(x,se),!c.el){const $=x.subTree=S(Ke);O(null,$,a,d)}return}se(x,c,a,d,_,w,E)},we=(c,a,d)=>{const g=a.component=c.component;if(Mi(c,a,d))if(g.asyncDep&&!g.asyncResolved){G(g,a,d);return}else g.next=a,ki(g.update),g.update();else a.component=c.component,a.el=c.el,g.vnode=a},se=(c,a,d,g,_,w,E)=>{const x=()=>{if(c.isMounted){let{next:L,bu:A,u:I,parent:R,vnode:q}=c,te=L,J;tt(c,!1),L?(L.el=q.el,G(c,L,E)):L=q,A&&Fn(A),(J=L.props&&L.props.onVnodeBeforeUpdate)&&Te(J,R,L,q),tt(c,!0);const ee=Sn(c),Le=c.subTree;c.subTree=ee,p(Le,ee,m(Le.el),Jt(Le),c,_,w),L.el=ee.el,te===null&&Oi(c,ee.el),I&&$e(I,_),(J=L.props&&L.props.onVnodeUpdated)&&$e(()=>Te(J,R,L,q),_)}else{let L;const{el:A,props:I}=a,{bm:R,m:q,parent:te}=c,J=un(a);if(tt(c,!1),R&&Fn(R),!J&&(L=I&&I.onVnodeBeforeMount)&&Te(L,te,a),tt(c,!0),A&&On){const ee=()=>{c.subTree=Sn(c),On(A,c.subTree,c,_,null)};J?a.type.__asyncLoader().then(()=>!c.isUnmounted&&ee()):ee()}else{const ee=c.subTree=Sn(c);p(null,ee,d,g,c,_,w),a.el=ee.el}if(q&&$e(q,_),!J&&(L=I&&I.onVnodeMounted)){const ee=a;$e(()=>Te(L,te,ee),_)}a.shapeFlag&256&&c.a&&$e(c.a,_),c.isMounted=!0,a=d=g=null}},$=c.effect=new cs(x,()=>_s(c.update),c.scope),v=c.update=$.run.bind($);v.id=c.uid,tt(c,!0),v()},G=(c,a,d)=>{a.component=c;const g=c.vnode.props;c.vnode=a,c.next=null,Gi(c,a.props,g,d),nl(c,a.children,d),Ct(),gs(void 0,c.update),Et()},He=(c,a,d,g,_,w,E,x,$=!1)=>{const v=c&&c.children,L=c?c.shapeFlag:0,A=a.children,{patchFlag:I,shapeFlag:R}=a;if(I>0){if(I&128){Tt(v,A,d,g,_,w,E,x,$);return}else if(I&256){In(v,A,d,g,_,w,E,x,$);return}}R&8?(L&16&&Be(v,_,w),A!==v&&h(d,A)):L&16?R&16?Tt(v,A,d,g,_,w,E,x,$):Be(v,_,w,!0):(L&8&&h(d,""),R&16&&ne(A,d,g,_,w,E,x,$))},In=(c,a,d,g,_,w,E,x,$)=>{c=c||mt,a=a||mt;const v=c.length,L=a.length,A=Math.min(v,L);let I;for(I=0;IL?Be(c,_,w,!0,!1,A):ne(a,d,g,_,w,E,x,$,A)},Tt=(c,a,d,g,_,w,E,x,$)=>{let v=0;const L=a.length;let A=c.length-1,I=L-1;for(;v<=A&&v<=I;){const R=c[v],q=a[v]=$?Xe(a[v]):Ie(a[v]);if(Pt(R,q))p(R,q,d,null,_,w,E,x,$);else break;v++}for(;v<=A&&v<=I;){const R=c[A],q=a[I]=$?Xe(a[I]):Ie(a[I]);if(Pt(R,q))p(R,q,d,null,_,w,E,x,$);else break;A--,I--}if(v>A){if(v<=I){const R=I+1,q=RI)for(;v<=A;)ze(c[v],_,w,!0),v++;else{const R=v,q=v,te=new Map;for(v=q;v<=I;v++){const Ce=a[v]=$?Xe(a[v]):Ie(a[v]);Ce.key!=null&&te.set(Ce.key,v)}let J,ee=0;const Le=I-q+1;let pt=!1,Ls=0;const At=new Array(Le);for(v=0;v=Le){ze(Ce,_,w,!0);continue}let Re;if(Ce.key!=null)Re=te.get(Ce.key);else for(J=q;J<=I;J++)if(At[J-q]===0&&Pt(Ce,a[J])){Re=J;break}Re===void 0?ze(Ce,_,w,!0):(At[Re-q]=v+1,Re>=Ls?Ls=Re:pt=!0,p(Ce,a[Re],d,null,_,w,E,x,$),ee++)}const Is=pt?cl(At):mt;for(J=Is.length-1,v=Le-1;v>=0;v--){const Ce=q+v,Re=a[Ce],Ms=Ce+1{const{el:w,type:E,transition:x,children:$,shapeFlag:v}=c;if(v&6){dt(c.component.subTree,a,d,g);return}if(v&128){c.suspense.move(a,d,g);return}if(v&64){E.move(c,a,d,ht);return}if(E===fe){s(w,a,d);for(let A=0;A<$.length;A++)dt($[A],a,d,g);s(c.anchor,a,d);return}if(E===Nt){U(c,a,d);return}if(g!==2&&v&1&&x)if(g===0)x.beforeEnter(w),s(w,a,d),$e(()=>x.enter(w),_);else{const{leave:A,delayLeave:I,afterLeave:R}=x,q=()=>s(w,a,d),te=()=>{A(w,()=>{q(),R&&R()})};I?I(w,q,te):te()}else s(w,a,d)},ze=(c,a,d,g=!1,_=!1)=>{const{type:w,props:E,ref:x,children:$,dynamicChildren:v,shapeFlag:L,patchFlag:A,dirs:I}=c;if(x!=null&&fn(x,null,d,c,!0),L&256){a.ctx.deactivate(c);return}const R=L&1&&I,q=!un(c);let te;if(q&&(te=E&&E.onVnodeBeforeUnmount)&&Te(te,a,c),L&6)Po(c.component,d,g);else{if(L&128){c.suspense.unmount(d,g);return}R&&Fe(c,null,a,"beforeUnmount"),L&64?c.type.remove(c,a,d,_,ht,g):v&&(w!==fe||A>0&&A&64)?Be(v,a,d,!1,!0):(w===fe&&A&384||!_&&L&16)&&Be($,a,d),g&&As(c)}(q&&(te=E&&E.onVnodeUnmounted)||R)&&$e(()=>{te&&Te(te,a,c),R&&Fe(c,null,a,"unmounted")},d)},As=c=>{const{type:a,el:d,anchor:g,transition:_}=c;if(a===fe){Ao(d,g);return}if(a===Nt){Z(c);return}const w=()=>{r(d),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(c.shapeFlag&1&&_&&!_.persisted){const{leave:E,delayLeave:x}=_,$=()=>E(d,w);x?x(c.el,w,$):$()}else w()},Ao=(c,a)=>{let d;for(;c!==a;)d=b(c),r(c),c=d;r(a)},Po=(c,a,d)=>{const{bum:g,scope:_,update:w,subTree:E,um:x}=c;g&&Fn(g),_.stop(),w&&(w.active=!1,ze(E,c,a,d)),x&&$e(x,a),$e(()=>{c.isUnmounted=!0},a),a&&a.pendingBranch&&!a.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===a.pendingId&&(a.deps--,a.deps===0&&a.resolve())},Be=(c,a,d,g=!1,_=!1,w=0)=>{for(let E=w;Ec.shapeFlag&6?Jt(c.component.subTree):c.shapeFlag&128?c.suspense.next():b(c.anchor||c.el),Ps=(c,a,d)=>{c==null?a._vnode&&ze(a._vnode,null,null,!0):p(a._vnode||null,c,a,null,null,null,d),ln(),a._vnode=c},ht={p,um:ze,m:dt,r:As,mt:Ln,mc:ne,pc:He,pbc:_e,n:Jt,o:e};let Mn,On;return t&&([Mn,On]=t(ht)),{render:Ps,hydrate:Mn,createApp:rl(Ps,Mn)}}function tt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function oo(e,t,n=!1){const s=e.children,r=t.children;if(F(s)&&F(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const ul=e=>e.__isTeleport,io="components",al="directives";function dn(e,t){return lo(io,e,!0,t)||e}const fl=Symbol();function ef(e){return lo(al,e)}function lo(e,t,n=!0,s=!1){const r=Ae||de;if(r){const o=r.type;if(e===io){const l=$l(o);if(l&&(l===t||l===Ne(t)||l===wn(Ne(t))))return o}const i=Ys(r[e]||o[e],t)||Ys(r.appContext[e],t);return!i&&s?o:i}}function Ys(e,t){return e&&(e[t]||e[Ne(t)]||e[wn(Ne(t))])}const fe=Symbol(void 0),Wt=Symbol(void 0),Ke=Symbol(void 0),Nt=Symbol(void 0),Ht=[];let ct=null;function P(e=!1){Ht.push(ct=e?null:[])}function dl(){Ht.pop(),ct=Ht[Ht.length-1]||null}let hn=1;function Js(e){hn+=e}function co(e){return e.dynamicChildren=hn>0?ct||mt:null,dl(),hn>0&&ct&&ct.push(e),e}function N(e,t,n,s,r,o){return co(H(e,t,n,s,r,o,!0))}function ge(e,t,n,s,r){return co(S(e,t,n,s,r,!0))}function pn(e){return e?e.__v_isVNode===!0:!1}function Pt(e,t){return e.type===t.type&&e.key===t.key}const An="__vInternal",uo=({key:e})=>e!=null?e:null,sn=({ref:e,ref_key:t,ref_for:n})=>e!=null?pe(e)||he(e)||B(e)?{i:Ae,r:e,k:t,f:!!n}:e:null;function H(e,t=null,n=null,s=0,r=null,o=e===fe?0:1,i=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&uo(t),ref:t&&sn(t),scopeId:En,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null};return l?(xs(u,n),o&128&&e.normalize(u)):n&&(u.shapeFlag|=pe(n)?8:16),hn>0&&!i&&ct&&(u.patchFlag>0||o&6)&&u.patchFlag!==32&&ct.push(u),u}const S=hl;function hl(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===fl)&&(e=Ke),pn(e)){const l=Kt(e,t,!0);return n&&xs(l,n),l}if(Cl(e)&&(e=e.__vccOpts),t){t=pl(t);let{class:l,style:u}=t;l&&!pe(l)&&(t.class=at(l)),ae(u)&&(Mr(u)&&!F(u)&&(u=ye({},u)),t.style=ns(u))}const i=pe(e)?1:Ri(e)?128:ul(e)?64:ae(e)?4:B(e)?2:0;return H(e,t,n,s,r,i,o,!0)}function pl(e){return e?Mr(e)||An in e?ye({},e):e:null}function Kt(e,t,n=!1){const{props:s,ref:r,patchFlag:o,children:i}=e,l=t?ws(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&uo(l),ref:t&&t.ref?n&&r?F(r)?r.concat(sn(t)):[r,sn(t)]:sn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==fe?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Kt(e.ssContent),ssFallback:e.ssFallback&&Kt(e.ssFallback),el:e.el,anchor:e.anchor}}function Vt(e=" ",t=0){return S(Wt,null,e,t)}function tf(e,t){const n=S(Nt,null,e);return n.staticCount=t,n}function Y(e="",t=!1){return t?(P(),ge(Ke,null,e)):S(Ke,null,e)}function Ie(e){return e==null||typeof e=="boolean"?S(Ke):F(e)?S(fe,null,e.slice()):typeof e=="object"?Xe(e):S(Wt,null,String(e))}function Xe(e){return e.el===null||e.memo?e:Kt(e)}function xs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(F(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),xs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(An in t)?t._ctx=Ae:r===3&&Ae&&(Ae.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else B(t)?(t={default:t,_ctx:Ae},n=32):(t=String(t),s&64?(n=16,t=[Vt(t)]):n=8);e.children=t,e.shapeFlag|=n}function ws(...e){const t={};for(let n=0;nt(i,l,void 0,o&&o[l]));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,u=i.length;lpn(t)?!(t.type===Ke||t.type===fe&&!ao(t.children)):!0)?e:null}const Zn=e=>e?fo(e)?$s(e)||e.proxy:Zn(e.parent):null,_n=ye(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=>Zn(e.parent),$root:e=>Zn(e.root),$emit:e=>e.emit,$options:e=>Qr(e),$forceUpdate:e=>()=>_s(e.update),$nextTick:e=>Br.bind(e.proxy),$watch:e=>Si.bind(e)}),_l={get({_:e},t){const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:u}=e;let f;if(t[0]!=="$"){const k=i[t];if(k!==void 0)switch(k){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(s!==X&&z(s,t))return i[t]=1,s[t];if(r!==X&&z(r,t))return i[t]=2,r[t];if((f=e.propsOptions[0])&&z(f,t))return i[t]=3,o[t];if(n!==X&&z(n,t))return i[t]=4,n[t];Yn&&(i[t]=0)}}const h=_n[t];let m,b;if(h)return t==="$attrs"&&ke(e,"get",t),h(e);if((m=l.__cssModules)&&(m=m[t]))return m;if(n!==X&&z(n,t))return i[t]=4,n[t];if(b=u.config.globalProperties,z(b,t))return b[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return r!==X&&z(r,t)?(r[t]=n,!0):s!==X&&z(s,t)?(s[t]=n,!0):z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==X&&z(e,i)||t!==X&&z(t,i)||(l=o[0])&&z(l,i)||z(s,i)||z(_n,i)||z(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?this.set(e,t,n.get(),null):n.value!=null&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},gl=ro();let ml=0;function vl(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||gl,o={uid:ml++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Wo(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:eo(s,r),emitsOptions:Wr(s,r),emit:null,emitted:null,propsDefaults:X,inheritAttrs:s.inheritAttrs,ctx:X,data:X,props:X,attrs:X,slots:X,refs:X,setupState:X,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=Pi.bind(null,o),e.ce&&e.ce(o),o}let de=null;const yt=e=>{de=e,e.scope.on()},ut=()=>{de&&de.scope.off(),de=null};function fo(e){return e.vnode.shapeFlag&4}let xt=!1;function bl(e,t=!1){xt=t;const{props:n,children:s}=e.vnode,r=fo(e);Qi(e,n,r,t),tl(e,s);const o=r?yl(e,t):void 0;return xt=!1,o}function yl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ot(new Proxy(e.ctx,_l));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?wl(e):null;yt(e),Ct();const o=Qe(s,e,0,[e.props,r]);if(Et(),ut(),mr(o)){if(o.then(ut,ut),t)return o.then(i=>{Xs(e,i,t)}).catch(i=>{zt(i,e,0)});e.asyncDep=o}else Xs(e,o,t)}else ho(e,t)}function Xs(e,t,n){B(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ae(t)&&(e.setupState=Sr(t)),ho(e,n)}let Zs;function ho(e,t,n){const s=e.type;if(!e.render){if(!t&&Zs&&!s.render){const r=s.template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:u}=s,f=ye(ye({isCustomElement:o,delimiters:l},i),u);s.render=Zs(r,f)}}e.render=s.render||Me}yt(e),Ct(),Vi(e),Et(),ut()}function xl(e){return new Proxy(e.attrs,{get(t,n){return ke(e,"get","$attrs"),t[n]}})}function wl(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=xl(e))},slots:e.slots,emit:e.emit,expose:t}}function $s(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Sr(Ot(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in _n)return _n[n](e)}}))}function $l(e){return B(e)&&e.displayName||e.name}function Cl(e){return B(e)&&"__vccOpts"in e}const W=(e,t)=>$i(e,t,xt);function ft(e,t,n){const s=arguments.length;return s===2?ae(t)&&!F(t)?pn(t)?S(e,null,[t]):S(e,t):S(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&pn(n)&&(n=[n]),S(e,t,n))}const El="3.2.31",kl="http://www.w3.org/2000/svg",st=typeof document!="undefined"?document:null,Qs=st&&st.createElement("template"),Tl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?st.createElementNS(kl,e):st.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>st.createTextNode(e),createComment:e=>st.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>st.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Qs.innerHTML=s?`${e}`:e;const l=Qs.content;if(s){const u=l.firstChild;for(;u.firstChild;)l.appendChild(u.firstChild);l.removeChild(u)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Al(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Pl(e,t,n){const s=e.style,r=pe(n);if(n&&!r){for(const o in n)Qn(s,o,n[o]);if(t&&!pe(t))for(const o in t)n[o]==null&&Qn(s,o,"")}else{const o=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=o)}}const Gs=/\s*!important$/;function Qn(e,t,n){if(F(n))n.forEach(s=>Qn(e,t,s));else if(t.startsWith("--"))e.setProperty(t,n);else{const s=Ll(e,t);Gs.test(n)?e.setProperty($t(s),n.replace(Gs,""),"important"):e[s]=n}}const er=["Webkit","Moz","ms"],Bn={};function Ll(e,t){const n=Bn[t];if(n)return n;let s=Ne(t);if(s!=="filter"&&s in e)return Bn[t]=s;s=wn(s);for(let r=0;rdocument.createEvent("Event").timeStamp&&(gn=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);po=!!(e&&Number(e[1])<=53)}let Gn=0;const Ol=Promise.resolve(),Rl=()=>{Gn=0},Fl=()=>Gn||(Ol.then(Rl),Gn=gn());function Sl(e,t,n,s){e.addEventListener(t,n,s)}function Nl(e,t,n,s){e.removeEventListener(t,n,s)}function Hl(e,t,n,s,r=null){const o=e._vei||(e._vei={}),i=o[t];if(s&&i)i.value=s;else{const[l,u]=Bl(t);if(s){const f=o[t]=Ul(s,r);Sl(e,l,f,u)}else i&&(Nl(e,l,i,u),o[t]=void 0)}}const nr=/(?:Once|Passive|Capture)$/;function Bl(e){let t;if(nr.test(e)){t={};let n;for(;n=e.match(nr);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[$t(e.slice(2)),t]}function Ul(e,t){const n=s=>{const r=s.timeStamp||gn();(po||r>=n.attached-1)&&Oe(jl(s,n.value),t,5,[s])};return n.value=e,n.attached=Fl(),n}function jl(e,t){if(F(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const sr=/^on[a-z]/,Dl=(e,t,n,s,r=!1,o,i,l,u)=>{t==="class"?Al(e,s,r):t==="style"?Pl(e,n,s):qt(t)?ss(t)||Hl(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Wl(e,t,s,r))?Ml(e,t,s,o,i,l,u):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Il(e,t,s,r))};function Wl(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&sr.test(t)&&B(n)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||sr.test(t)&&pe(n)?!1:t in e}const Kl=ye({patchProp:Dl},Tl);let Un,rr=!1;function ql(){return Un=rr?Un:il(Kl),rr=!0,Un}const zl=(...e)=>{const t=ql().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Vl(s);if(r)return n(r,!0,r instanceof SVGElement)},t};function Vl(e){return pe(e)?document.querySelector(e):e}var Yl='{"lang":"en-US","title":"Schlechtenburg","description":"Experimental WYSIWYG block editor","base":"/schlechtenburg/","head":[],"themeConfig":{"nav":[{"text":"Guide","activeMatch":"^/guide/","link":"/guide/introduction"},{"text":"API","activeMatch":"^/api/","items":[{"text":"@schlechtenburg/core","link":"/api/@schlechtenburg/core"}]}],"sidebar":{"/guide/":[{"text":"Getting Started","children":[{"text":"Why Schlechtenburg?","link":"/guide/why"},{"text":"Installation","link":"/guide/installation"}]}],"/api/":[{"text":"API","children":[{"text":"Core","link":"/api/core"}]}],"/":false}},"locales":{},"langs":{},"scrollOffset":90}';const _o=/^https?:/i,Pe=typeof window!="undefined";function Jl(e,t){t.sort((n,s)=>{const r=s.split("/").length-n.split("/").length;return r!==0?r:s.length-n.length});for(const n of t)if(e.startsWith(n))return n}function or(e,t){const n=Jl(t,Object.keys(e));return n?e[n]:void 0}function Xl(e){const{locales:t}=e.themeConfig||{},n=e.locales;return t&&n?Object.keys(t).reduce((s,r)=>(s[r]={label:t[r].label,lang:n[r].lang},s),{}):{}}function Zl(e,t){t=Ql(e,t);const n=or(e.locales||{},t),s=or(e.themeConfig.locales||{},t);return Object.assign({},e,n,{themeConfig:Object.assign({},e.themeConfig,s,{locales:{}}),lang:(n||e).lang,locales:{},langs:Xl(e)})}function Ql(e,t){if(!Pe)return t;const n=e.base,s=n.endsWith("/")?n.slice(0,-1):n;return t.slice(s.length)}const go=Symbol(),Yt=mi(Gl(Yl));function Gl(e){return JSON.parse(e)}function ec(e){const t=W(()=>Zl(Yt.value,e.path));return{site:t,theme:W(()=>t.value.themeConfig),page:W(()=>e.data),frontmatter:W(()=>e.data.frontmatter),lang:W(()=>t.value.lang),localePath:W(()=>{const{langs:n,lang:s}=t.value,r=Object.keys(n).find(o=>n[o].lang===s);return wt(r||"/")}),title:W(()=>e.data.title?e.data.title+" | "+t.value.title:t.value.title),description:W(()=>e.data.description||t.value.description)}}function me(){const e=St(go);if(!e)throw new Error("vitepress data not properly injected in app");return e}function tc(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function wt(e){return _o.test(e)?e:tc(Yt.value.base,e)}function mo(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t.endsWith("/")&&(t+="index"),Pe){const n="/schlechtenburg/";t=t.slice(n.length).replace(/\//g,"_")+".md";const s=__VP_HASH_MAP__[t.toLowerCase()];t=`${n}assets/${t}.${s}.js`}else t=`./${t.slice(1).replace(/\//g,"_")}.md.js`;return t}const vo=Symbol(),ir="http://a.com",bo={relativePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{},lastUpdated:0},nc=()=>({path:"/",component:null,data:bo});function sc(e,t){const n=Cn(nc());function s(i=Pe?location.href:"/"){const l=new URL(i,ir);return!l.pathname.endsWith("/")&&!l.pathname.endsWith(".html")&&(l.pathname+=".html",i=l.pathname+l.search+l.hash),Pe&&(history.replaceState({scrollPosition:window.scrollY},document.title),history.pushState(null,"",i)),o(i)}let r=null;async function o(i,l=0,u=!1){const f=new URL(i,ir),h=r=f.pathname;try{let m=e(h);if("then"in m&&typeof m.then=="function"&&(m=await m),r===h){r=null;const{default:b,__pageData:k}=m;if(!b)throw new Error(`Invalid route component: ${b}`);n.path=h,n.component=Ot(b),n.data=Ot(JSON.parse(k)),Pe&&Br(()=>{if(f.hash&&!l){let T=null;try{T=document.querySelector(decodeURIComponent(f.hash))}catch(j){console.warn(j)}if(T){lr(T,f.hash);return}}window.scrollTo(0,l)})}}catch(m){if(m.message.match(/fetch/)||console.error(m),!u)try{const b=await fetch(Yt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await b.json(),await o(i,l,!0);return}catch{}r===h&&(r=null,n.path=h,n.component=t?Ot(t):null,n.data=bo)}}return Pe&&(window.addEventListener("click",i=>{const l=i.target.closest("a");if(l){const{href:u,protocol:f,hostname:h,pathname:m,hash:b,target:k}=l,T=window.location,j=m.match(/\.\w+$/);!i.ctrlKey&&!i.shiftKey&&!i.altKey&&!i.metaKey&&k!=="_blank"&&f===T.protocol&&h===T.hostname&&!(j&&j[0]!==".html")&&(i.preventDefault(),m===T.pathname?b&&b!==T.hash&&(history.pushState(null,"",b),window.dispatchEvent(new Event("hashchange")),lr(l,b,l.classList.contains("header-anchor"))):s(u))}},{capture:!0}),window.addEventListener("popstate",i=>{o(location.href,i.state&&i.state.scrollPosition||0)}),window.addEventListener("hashchange",i=>{i.preventDefault()})),{route:n,go:s}}function rc(){const e=St(vo);if(!e)throw new Error("useRouter() is called without provider.");return e}function et(){return rc().route}function lr(e,t,n=!1){let s=null;try{s=e.classList.contains("header-anchor")?e:document.querySelector(decodeURIComponent(t))}catch(r){console.warn(r)}if(s){let r=Yt.value.scrollOffset;typeof r=="string"&&(r=document.querySelector(r).getBoundingClientRect().bottom+24);const o=parseInt(window.getComputedStyle(s).paddingTop,10),i=window.scrollY+s.getBoundingClientRect().top-r+o;!n||Math.abs(i-window.scrollY)>window.innerHeight?window.scrollTo(0,i):window.scrollTo({left:0,top:i,behavior:"smooth"})}}function oc(e,t){let n=[],s=!0;const r=o=>{if(s){s=!1;return}const i=[],l=Math.min(n.length,o.length);for(let u=0;udocument.head.removeChild(u)),o.slice(l).forEach(u=>{const f=cr(u);document.head.appendChild(f),i.push(f)}),n=i};Vr(()=>{const o=e.data,i=t.value,l=o&&o.title,u=o&&o.description,f=o&&o.frontmatter.head;document.title=(l?l+" | ":"")+i.title,document.querySelector("meta[name=description]").setAttribute("content",u||i.description),r([...f?lc(f):[]])})}function cr([e,t,n]){const s=document.createElement(e);for(const r in t)s.setAttribute(r,t[r]);return n&&(s.innerHTML=n),s}function ic(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function lc(e){return e.filter(t=>!ic(t))}const cc=re({name:"VitePressContent",setup(){const e=et();return()=>ft("div",{style:{position:"relative"}},[e.component?ft(e.component):null])}});var ce=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};const uc=/#.*$/,ac=/(index)?\.(md|html)$/,mn=/\/$/,fc=/^[a-z]+:/i;function Cs(e){return Array.isArray(e)}function Es(e){return fc.test(e)}function dc(e,t){if(t===void 0)return!1;const n=ur(`/${e.data.relativePath}`),s=ur(t);return n===s}function ur(e){return decodeURI(e).replace(uc,"").replace(ac,"")}function hc(e,t){const n=e.endsWith("/"),s=t.startsWith("/");return n&&s?e.slice(0,-1)+t:!n&&!s?`${e}/${t}`:e+t}function es(e){return/^\//.test(e)?e:`/${e}`}function yo(e){return e.replace(/(index)?(\.(md|html))?$/,"")||"/"}function pc(e){return e===!1||e==="auto"||Cs(e)}function _c(e){return e.children!==void 0}function gc(e){return Cs(e)?e.length===0:!e}function ks(e,t){if(pc(e))return e;t=es(t);for(const n in e)if(t.startsWith(es(n)))return e[n];return"auto"}function xo(e){return e.reduce((t,n)=>(n.link&&t.push({text:n.text,link:yo(n.link)}),_c(n)&&(t=[...t,...xo(n.children)]),t),[])}function wo(e){const t=et(),n=Es(e.value.link);return{props:W(()=>{const r=ar(`/${t.data.relativePath}`);let o=!1;if(e.value.activeMatch)o=new RegExp(e.value.activeMatch).test(r);else{const i=ar(e.value.link);o=i==="/"?i===r:r.startsWith(i)}return{class:{active:o,isExternal:n},href:n?e.value.link:wt(e.value.link),target:e.value.target||(n?"_blank":null),rel:e.value.rel||(n?"noopener noreferrer":null),"aria-label":e.value.ariaLabel}}),isExternal:n}}function ar(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\.(html|md)$/,"").replace(/\/index$/,"/")}const mc={},vc={class:"icon outbound",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"},bc=H("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"},null,-1),yc=H("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"},null,-1),xc=[bc,yc];function wc(e,t){return P(),N("svg",vc,xc)}var Ts=ce(mc,[["render",wc]]);const $c={class:"nav-link"},Cc=re({props:{item:null},setup(e){const n=Nr(e),{props:s,isExternal:r}=wo(n.item);return(o,i)=>(P(),N("div",$c,[H("a",ws({class:"item"},C(s)),[Vt(be(e.item.text)+" ",1),C(r)?(P(),ge(Ts,{key:0})):Y("",!0)],16)]))}});var vn=ce(Cc,[["__scopeId","data-v-b8818f8c"]]);const Ec={key:0,class:"home-hero"},kc={key:0,class:"figure"},Tc=["src","alt"],Ac={key:1,id:"main-title",class:"title"},Pc={key:2,class:"tagline"},Lc=re({setup(e){const{site:t,frontmatter:n}=me(),s=W(()=>{const{heroImage:i,heroText:l,tagline:u,actionLink:f,actionText:h}=n.value;return i||l||u||f&&h}),r=W(()=>n.value.heroText||t.value.title),o=W(()=>n.value.tagline||t.value.description);return(i,l)=>C(s)?(P(),N("header",Ec,[C(n).heroImage?(P(),N("figure",kc,[H("img",{class:"image",src:C(wt)(C(n).heroImage),alt:C(n).heroAlt},null,8,Tc)])):Y("",!0),C(r)?(P(),N("h1",Ac,be(C(r)),1)):Y("",!0),C(o)?(P(),N("p",Pc,be(C(o)),1)):Y("",!0),C(n).actionLink&&C(n).actionText?(P(),ge(vn,{key:3,item:{link:C(n).actionLink,text:C(n).actionText},class:"action"},null,8,["item"])):Y("",!0),C(n).altActionLink&&C(n).altActionText?(P(),ge(vn,{key:4,item:{link:C(n).altActionLink,text:C(n).altActionText},class:"action alt"},null,8,["item"])):Y("",!0)])):Y("",!0)}});var Ic=ce(Lc,[["__scopeId","data-v-370f18c0"]]);const Mc={key:0,class:"home-features"},Oc={class:"wrapper"},Rc={class:"container"},Fc={class:"features"},Sc={key:0,class:"title"},Nc={key:1,class:"details"},Hc=re({setup(e){const{frontmatter:t}=me(),n=W(()=>t.value.features&&t.value.features.length>0),s=W(()=>t.value.features?t.value.features:[]);return(r,o)=>C(n)?(P(),N("div",Mc,[H("div",Oc,[H("div",Rc,[H("div",Fc,[(P(!0),N(fe,null,Pn(C(s),(i,l)=>(P(),N("section",{key:l,class:"feature"},[i.title?(P(),N("h2",Sc,be(i.title),1)):Y("",!0),i.details?(P(),N("p",Nc,be(i.details),1)):Y("",!0)]))),128))])])])])):Y("",!0)}});var Bc=ce(Hc,[["__scopeId","data-v-e39c13e0"]]);const Uc={key:0,class:"footer"},jc={class:"container"},Dc={class:"text"},Wc=re({setup(e){const{frontmatter:t}=me();return(n,s)=>C(t).footer?(P(),N("footer",Uc,[H("div",jc,[H("p",Dc,be(C(t).footer),1)])])):Y("",!0)}});var Kc=ce(Wc,[["__scopeId","data-v-30918238"]]);const qc={class:"home","aria-labelledby":"main-title"},zc={class:"home-content"},Vc=re({setup(e){return(t,n)=>{const s=dn("Content");return P(),N("main",qc,[S(Ic),ue(t.$slots,"hero",{},void 0,!0),S(Bc),H("div",zc,[S(s)]),ue(t.$slots,"features",{},void 0,!0),S(Kc),ue(t.$slots,"footer",{},void 0,!0)])}}});var Yc=ce(Vc,[["__scopeId","data-v-10122c92"]]);const Jc=["href","aria-label"],Xc=["src"],Zc=re({setup(e){const{site:t,theme:n,localePath:s}=me();return(r,o)=>(P(),N("a",{class:"nav-bar-title",href:C(s),"aria-label":`${C(t).title}, back to home`},[C(n).logo?(P(),N("img",{key:0,class:"logo",src:C(wt)(C(n).logo),alt:"Logo"},null,8,Xc)):Y("",!0),Vt(" "+be(C(t).title),1)],8,Jc))}});var Qc=ce(Zc,[["__scopeId","data-v-cc01ef16"]]);function Gc(){const{site:e,localePath:t,theme:n}=me();return W(()=>{const s=e.value.langs,r=Object.keys(s);if(r.length<2)return null;const i=et().path.replace(t.value,""),l=r.map(f=>({text:s[f].label,link:`${f}${i}`}));return{text:n.value.selectText||"Languages",items:l}})}const eu=["GitHub","GitLab","Bitbucket"].map(e=>[e,new RegExp(e,"i")]);function tu(){const{site:e}=me();return W(()=>{const t=e.value.themeConfig,n=t.docsRepo||t.repo;if(!n)return null;const s=nu(n);return{text:su(s,t.repoLabel),link:s}})}function nu(e){return _o.test(e)?e:`https://github.com/${e}`}function su(e,t){if(t)return t;const n=e.match(/^https?:\/\/[^/]+/);if(!n)return"Source";const s=eu.find(([r,o])=>o.test(n[0]));return s&&s[0]?s[0]:"Source"}const ru=e=>(Kr("data-v-bbc27490"),e=e(),qr(),e),ou={class:"nav-dropdown-link-item"},iu=ru(()=>H("span",{class:"arrow"},null,-1)),lu={class:"text"},cu={class:"icon"},uu=re({props:{item:null},setup(e){const n=Nr(e),{props:s,isExternal:r}=wo(n.item);return(o,i)=>(P(),N("div",ou,[H("a",ws({class:"item"},C(s)),[iu,H("span",lu,be(e.item.text),1),H("span",cu,[C(r)?(P(),ge(Ts,{key:0})):Y("",!0)])],16)]))}});var au=ce(uu,[["__scopeId","data-v-bbc27490"]]);const fu=["aria-label"],du={class:"button-text"},hu={class:"dialog"},pu=re({props:{item:null},setup(e){const t=et(),n=it(!1);lt(()=>t.path,()=>{n.value=!1});function s(){n.value=!n.value}return(r,o)=>(P(),N("div",{class:at(["nav-dropdown-link",{open:n.value}])},[H("button",{class:"button","aria-label":e.item.ariaLabel,onClick:s},[H("span",du,be(e.item.text),1),H("span",{class:at(["button-arrow",n.value?"down":"right"])},null,2)],8,fu),H("ul",hu,[(P(!0),N(fe,null,Pn(e.item.items,i=>(P(),N("li",{key:i.text,class:"dialog-item"},[S(au,{item:i},null,8,["item"])]))),128))])],2))}});var fr=ce(pu,[["__scopeId","data-v-56bf3a3f"]]);const _u={key:0,class:"nav-links"},gu={key:1,class:"item"},mu={key:2,class:"item"},vu=re({setup(e){const{theme:t}=me(),n=Gc(),s=tu(),r=W(()=>t.value.nav||s.value||n.value);return(o,i)=>C(r)?(P(),N("nav",_u,[C(t).nav?(P(!0),N(fe,{key:0},Pn(C(t).nav,l=>(P(),N("div",{key:l.text,class:"item"},[l.items?(P(),ge(fr,{key:0,item:l},null,8,["item"])):(P(),ge(vn,{key:1,item:l},null,8,["item"]))]))),128)):Y("",!0),C(n)?(P(),N("div",gu,[S(fr,{item:C(n)},null,8,["item"])])):Y("",!0),C(s)?(P(),N("div",mu,[S(vn,{item:C(s)},null,8,["item"])])):Y("",!0)])):Y("",!0)}});var $o=ce(vu,[["__scopeId","data-v-eab3edfe"]]);const bu={emits:["toggle"]},yu=H("svg",{class:"icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",viewBox:"0 0 448 512"},[H("path",{fill:"currentColor",d:"M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z",class:""})],-1),xu=[yu];function wu(e,t,n,s,r,o){return P(),N("div",{class:"sidebar-button",onClick:t[0]||(t[0]=i=>e.$emit("toggle"))},xu)}var $u=ce(bu,[["render",wu]]);const Cu=e=>(Kr("data-v-675d8756"),e=e(),qr(),e),Eu={class:"nav-bar"},ku=Cu(()=>H("div",{class:"flex-grow"},null,-1)),Tu={class:"nav"},Au=re({emits:["toggle"],setup(e){return(t,n)=>(P(),N("header",Eu,[S($u,{onToggle:n[0]||(n[0]=s=>t.$emit("toggle"))}),S(Qc),ku,H("div",Tu,[S($o)]),ue(t.$slots,"search",{},void 0,!0)]))}});var Pu=ce(Au,[["__scopeId","data-v-675d8756"]]);function Lu(){let e=null,t=null;const n=Fu(s,300);function s(){const i=Iu(),l=Mu(i);for(let u=0;u ul > li");l&&l!==t.parentElement?(e=l.querySelector("a"),e&&e.classList.add("active")):e=null}function o(i){i&&i.classList.remove("active")}kt(()=>{s(),window.addEventListener("scroll",n)}),Xr(()=>{r(decodeURIComponent(location.hash))}),Tn(()=>{window.removeEventListener("scroll",n)})}function Iu(){return[].slice.call(document.querySelectorAll(".sidebar a.sidebar-link-item"))}function Mu(e){return[].slice.call(document.querySelectorAll(".header-anchor")).filter(t=>e.some(n=>n.hash===t.hash))}function Ou(){return document.querySelector(".nav-bar").offsetHeight}function dr(e){const t=Ou();return e.parentElement.offsetTop-t-15}function Ru(e,t,n){const s=window.scrollY;return e===0&&s===0?[!0,null]:s{n&&clearTimeout(n),s?n=setTimeout(e,t):(e(),s=!0,setTimeout(()=>{s=!1},t))}}function Su(){const e=et(),{site:t}=me();return Lu(),W(()=>{const n=e.data.headers,s=e.data.frontmatter.sidebar,r=e.data.frontmatter.sidebarDepth;if(s===!1)return[];if(s==="auto")return hr(n,r);const o=ks(t.value.themeConfig.sidebar,e.data.relativePath);return o===!1?[]:o==="auto"?hr(n,r):o})}function hr(e,t){const n=[];if(e===void 0)return[];let s;return e.forEach(({level:r,title:o,slug:i})=>{if(r-1>t)return;const l={text:o,link:`#${i}`};r===2?(s=l,n.push(l)):s&&(s.children||(s.children=[])).push(l)}),n}const Co=e=>{const t=et(),{site:n,frontmatter:s}=me(),r=e.depth||1,o=s.value.sidebarDepth||1/0,i=t.data.headers,l=e.item.text,u=Nu(n.value.base,e.item.link),f=e.item.children,h=dc(t,e.item.link),m=r0?ft("ul",{class:"sidebar-links"},t.map(r=>ft(Co,{item:r,depth:s}))):e&&n?Eo(!1,Hu(n),void 0,s):null}function Hu(e){return ko(Bu(e))}function Bu(e){e=e.map(n=>Object.assign({},n));let t;return e.forEach(n=>{n.level===2?t=n:t&&(t.children||(t.children=[])).push(n)}),e.filter(n=>n.level===2)}function ko(e){return e.map(t=>({text:t.title,link:`#${t.slug}`,children:t.children?ko(t.children):void 0}))}const Uu={key:0,class:"sidebar-links"},ju=re({setup(e){const t=Su();return(n,s)=>C(t).length>0?(P(),N("ul",Uu,[(P(!0),N(fe,null,Pn(C(t),r=>(P(),ge(C(Co),{item:r},null,8,["item"]))),256))])):Y("",!0)}});const Du=re({props:{open:{type:Boolean}},setup(e){return(t,n)=>(P(),N("aside",{class:at(["sidebar",{open:e.open}])},[S($o,{class:"nav"}),ue(t.$slots,"sidebar-top",{},void 0,!0),S(ju),ue(t.$slots,"sidebar-bottom",{},void 0,!0)],2))}});var Wu=ce(Du,[["__scopeId","data-v-83e92a68"]]);const Ku=/bitbucket.org/;function qu(){const{page:e,theme:t,frontmatter:n}=me(),s=W(()=>{const{repo:o,docsDir:i="",docsBranch:l="master",docsRepo:u=o,editLinks:f}=t.value,h=n.value.editLink!=null?n.value.editLink:f,{relativePath:m}=e.value;return!h||!m||!o?null:zu(o,u,i,l,m)}),r=W(()=>t.value.editLinkText||"Edit this page");return{url:s,text:r}}function zu(e,t,n,s,r){return Ku.test(e)?Yu(e,t,n,s,r):Vu(e,t,n,s,r)}function Vu(e,t,n,s,r){return(Es(t)?t:`https://github.com/${t}`).replace(mn,"")+`/edit/${s}/`+(n?n.replace(mn,"")+"/":"")+r}function Yu(e,t,n,s,r){return(Es(t)?t:e).replace(mn,"")+`/src/${s}/`+(n?n.replace(mn,"")+"/":"")+r+`?mode=edit&spa=0&at=${s}&fileviewer=file-view-default`}const Ju={class:"edit-link"},Xu=["href"],Zu=re({setup(e){const{url:t,text:n}=qu();return(s,r)=>(P(),N("div",Ju,[C(t)?(P(),N("a",{key:0,class:"link",href:C(t),target:"_blank",rel:"noopener noreferrer"},[Vt(be(C(n))+" ",1),S(Ts,{class:"icon"})],8,Xu)):Y("",!0)]))}});var Qu=ce(Zu,[["__scopeId","data-v-1ed99556"]]);const Gu={key:0,class:"last-updated"},ea={class:"prefix"},ta={class:"datetime"},na=re({setup(e){const{theme:t,page:n}=me(),s=W(()=>{const i=t.value.lastUpdated;return i!==void 0&&i!==!1&&n.value.lastUpdated!==0}),r=W(()=>{const i=t.value.lastUpdated;return i===!0?"Last Updated":i}),o=it("");return kt(()=>{Vr(()=>{o.value=new Date(n.value.lastUpdated).toLocaleString("en-US")})}),(i,l)=>C(s)?(P(),N("p",Gu,[H("span",ea,be(C(r))+":",1),H("span",ta,be(o.value),1)])):Y("",!0)}});var sa=ce(na,[["__scopeId","data-v-abce3432"]]);const ra={class:"page-footer"},oa={class:"edit"},ia={class:"updated"},la=re({setup(e){const{page:t}=me();return(n,s)=>(P(),N("footer",ra,[H("div",oa,[S(Qu)]),H("div",ia,[C(t).lastUpdated?(P(),ge(sa,{key:0})):Y("",!0)])]))}});var ca=ce(la,[["__scopeId","data-v-07c132fc"]]);function ua(){const{page:e,theme:t}=me(),n=W(()=>yo(es(e.value.relativePath))),s=W(()=>{const u=ks(t.value.sidebar,n.value);return Cs(u)?xo(u):[]}),r=W(()=>s.value.findIndex(u=>u.link===n.value)),o=W(()=>{if(t.value.nextLinks!==!1&&r.value>-1&&r.value{if(t.value.prevLinks!==!1&&r.value>0)return s.value[r.value-1]}),l=W(()=>!!o.value||!!i.value);return{next:o,prev:i,hasLinks:l}}const aa={},fa={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},da=H("path",{d:"M19,11H7.4l5.3-5.3c0.4-0.4,0.4-1,0-1.4s-1-0.4-1.4,0l-7,7c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.2-0.1,0.5,0,0.8c0.1,0.1,0.1,0.2,0.2,0.3l7,7c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L7.4,13H19c0.6,0,1-0.4,1-1S19.6,11,19,11z"},null,-1),ha=[da];function pa(e,t){return P(),N("svg",fa,ha)}var _a=ce(aa,[["render",pa]]);const ga={},ma={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},va=H("path",{d:"M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"},null,-1),ba=[va];function ya(e,t){return P(),N("svg",ma,ba)}var xa=ce(ga,[["render",ya]]);const wa={key:0,class:"next-and-prev-link"},$a={class:"container"},Ca={class:"prev"},Ea=["href"],ka={class:"text"},Ta={class:"next"},Aa=["href"],Pa={class:"text"},La=re({setup(e){const{hasLinks:t,prev:n,next:s}=ua();return(r,o)=>C(t)?(P(),N("div",wa,[H("div",$a,[H("div",Ca,[C(n)?(P(),N("a",{key:0,class:"link",href:C(wt)(C(n).link)},[S(_a,{class:"icon icon-prev"}),H("span",ka,be(C(n).text),1)],8,Ea)):Y("",!0)]),H("div",Ta,[C(s)?(P(),N("a",{key:0,class:"link",href:C(wt)(C(s).link)},[H("span",Pa,be(C(s).text),1),S(xa,{class:"icon icon-next"})],8,Aa)):Y("",!0)])])])):Y("",!0)}});var Ia=ce(La,[["__scopeId","data-v-38ede35f"]]);const Ma={class:"page"},Oa={class:"container"},Ra=re({setup(e){return(t,n)=>{const s=dn("Content");return P(),N("main",Ma,[H("div",Oa,[ue(t.$slots,"top",{},void 0,!0),S(s,{class:"content"}),S(ca),S(Ia),ue(t.$slots,"bottom",{},void 0,!0)])])}}});var Fa=ce(Ra,[["__scopeId","data-v-7eddb2c4"]]);const Sa={key:0,id:"ads-container"},Na=re({setup(e){const t=()=>null,n=t,s=t,r=t,o=et(),{site:i,page:l,theme:u,frontmatter:f}=me(),h=W(()=>!!f.value.customLayout),m=W(()=>!!f.value.home),b=W(()=>Object.keys(i.value.langs).length>1),k=W(()=>{const M=u.value;return f.value.navbar===!1||M.navbar===!1?!1:i.value.title||M.logo||M.repo||M.nav}),T=it(!1),j=W(()=>f.value.home||f.value.sidebar===!1?!1:!gc(ks(u.value.sidebar,o.data.relativePath))),p=M=>{T.value=typeof M=="boolean"?M:!T.value},y=p.bind(null,!1);lt(o,y);const O=W(()=>[{"no-navbar":!k.value,"sidebar-open":T.value,"no-sidebar":!j.value}]);return(M,U)=>{const Z=dn("Content"),Q=dn("Debug");return P(),N(fe,null,[H("div",{class:at(["theme",C(O)])},[C(k)?(P(),ge(Pu,{key:0,onToggle:p},{search:je(()=>[ue(M.$slots,"navbar-search",{},()=>[C(u).algolia?(P(),ge(C(r),{key:0,options:C(u).algolia,multilang:C(b)},null,8,["options","multilang"])):Y("",!0)])]),_:3})):Y("",!0),S(Wu,{open:T.value},{"sidebar-top":je(()=>[ue(M.$slots,"sidebar-top")]),"sidebar-bottom":je(()=>[ue(M.$slots,"sidebar-bottom")]),_:3},8,["open"]),H("div",{class:"sidebar-mask",onClick:U[0]||(U[0]=D=>p(!1))}),C(h)?(P(),ge(Z,{key:1})):C(m)?ue(M.$slots,"home",{key:2},()=>[S(Yc,null,{hero:je(()=>[ue(M.$slots,"home-hero")]),features:je(()=>[ue(M.$slots,"home-features")]),footer:je(()=>[ue(M.$slots,"home-footer")]),_:3})]):(P(),ge(Fa,{key:3},{top:je(()=>[ue(M.$slots,"page-top-ads",{},()=>[C(u).carbonAds&&C(u).carbonAds.carbon?(P(),N("div",Sa,[(P(),ge(C(n),{key:"carbon"+C(l).relativePath,code:C(u).carbonAds.carbon,placement:C(u).carbonAds.placement},null,8,["code","placement"]))])):Y("",!0)]),ue(M.$slots,"page-top")]),bottom:je(()=>[ue(M.$slots,"page-bottom"),ue(M.$slots,"page-bottom-ads",{},()=>[C(u).carbonAds&&C(u).carbonAds.custom?(P(),ge(C(s),{key:"custom"+C(l).relativePath,code:C(u).carbonAds.custom,placement:C(u).carbonAds.placement},null,8,["code","placement"])):Y("",!0)])]),_:3}))],2),S(Q)],64)}}}),Ha={class:"theme"},Ba=H("h1",null,"404",-1),Ua=["href"],ja=re({setup(e){const{site:t}=me(),n=["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."];function s(){return n[Math.floor(Math.random()*n.length)]}return(r,o)=>(P(),N("div",Ha,[Ba,H("blockquote",null,be(s()),1),H("a",{href:C(t).base,"aria-label":"go to home"},"Take me home.",8,Ua)]))}}),bn={Layout:Na,NotFound:ja};const jn=new Set,To=()=>document.createElement("link"),Da=e=>{const t=To();t.rel="prefetch",t.href=e,document.head.appendChild(t)},Wa=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let nn;const Ka=Pe&&(nn=To())&&nn.relList&&nn.relList.supports&&nn.relList.supports("prefetch")?Da:Wa;function qa(){if(!Pe||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const s=()=>{n&&n.disconnect(),n=new IntersectionObserver(o=>{o.forEach(i=>{if(i.isIntersecting){const l=i.target;n.unobserve(l);const{pathname:u}=l;if(!jn.has(u)){jn.add(u);const f=mo(u);Ka(f)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(o=>{const{target:i,hostname:l,pathname:u}=o,f=u.match(/\.\w+$/);f&&f[0]!==".html"||i!=="_blank"&&l===location.hostname&&(u!==location.pathname?n.observe(o):jn.add(u))})})};kt(s);const r=et();lt(()=>r.path,s),Tn(()=>{n&&n.disconnect()})}const za=re({setup(e,{slots:t}){const n=it(!1);return kt(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}}),Va=bn.NotFound||(()=>"404 Not Found"),Ya={name:"VitePressApp",setup(){const{site:e}=me();return kt(()=>{lt(()=>e.value.lang,t=>{document.documentElement.lang=t},{immediate:!0})}),qa(),()=>ft(bn.Layout)}};function Ja(){const e=Za(),t=Xa();t.provide(vo,e);const n=ec(e.route);return t.provide(go,n),Pe&&oc(e.route,n.site),t.component("Content",cc),t.component("ClientOnly",za),t.component("Debug",()=>null),Object.defineProperty(t.config.globalProperties,"$frontmatter",{get(){return n.frontmatter.value}}),bn.enhanceApp&&bn.enhanceApp({app:t,router:e,siteData:Yt}),{app:t,router:e}}function Xa(){return zl(Ya)}function Za(){let e=Pe,t;return sc(n=>{let s=mo(n);return e&&(t=s),(e||t===s)&&(s=s.replace(/\.js$/,".lean.js")),Pe?(e=!1,import(s)):require(s)},Va)}if(Pe){const{app:e,router:t}=Ja();t.go().then(()=>{e.mount("#app")})}export{fe as F,ce as _,H as a,Vt as b,N as c,Ja as createApp,tf as d,W as e,Di as f,Cn as g,Ui as h,St as i,Tn as j,re as k,S as l,ws as m,Qa as n,P as o,Fi as p,Ga as q,it as r,ef as s,gi as t,C as u,kt as v,lt as w,ft as x};