mirror of
https://github.com/andatoshiki/toshiki-notebook.git
synced 2026-06-06 09:16:45 +00:00
12 lines
163 KiB
JavaScript
12 lines
163 KiB
JavaScript
function Zs(e,t){const n=Object.create(null),s=e.split(",");for(let o=0;o<s.length;o++)n[s[o]]=!0;return t?o=>!!n[o.toLowerCase()]:o=>!!n[o]}function eo(e){if(se(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=we(s)?Qr(s):eo(s);if(o)for(const i in o)t[i]=o[i]}return t}else{if(we(e))return e;if(ye(e))return e}}const Yr=/;(?![^(]*\))/g,Xr=/:([^]+)/,Jr=/\/\*.*?\*\//gs;function Qr(e){const t={};return e.replace(Jr,"").split(Yr).forEach(n=>{if(n){const s=n.split(Xr);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function ve(e){let t="";if(we(e))t=e;else if(se(e))for(let n=0;n<e.length;n++){const s=ve(e[n]);s&&(t+=s+" ")}else if(ye(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Zr="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ea=Zs(Zr);function Si(e){return!!e||e===""}const de=e=>we(e)?e:e==null?"":se(e)||ye(e)&&(e.toString===Mi||!re(e.toString))?JSON.stringify(e,Ti,2):String(e),Ti=(e,t)=>t&&t.__v_isRef?Ti(e,t.value):Wt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:Ei(t)?{[`Set(${t.size})`]:[...t.values()]}:ye(t)&&!se(t)&&!Ai(t)?String(t):t,be={},Kt=[],Xe=()=>{},ta=()=>!1,na=/^on[^a-z]/,Cn=e=>na.test(e),to=e=>e.startsWith("onUpdate:"),Pe=Object.assign,no=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},sa=Object.prototype.hasOwnProperty,he=(e,t)=>sa.call(e,t),se=Array.isArray,Wt=e=>ns(e)==="[object Map]",Ei=e=>ns(e)==="[object Set]",re=e=>typeof e=="function",we=e=>typeof e=="string",so=e=>typeof e=="symbol",ye=e=>e!==null&&typeof e=="object",Li=e=>ye(e)&&re(e.then)&&re(e.catch),Mi=Object.prototype.toString,ns=e=>Mi.call(e),oa=e=>ns(e).slice(8,-1),Ai=e=>ns(e)==="[object Object]",oo=e=>we(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,fn=Zs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ss=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ia=/-(\w)/g,ot=ss(e=>e.replace(ia,(t,n)=>n?n.toUpperCase():"")),ra=/\B([A-Z])/g,on=ss(e=>e.replace(ra,"-$1").toLowerCase()),os=ss(e=>e.charAt(0).toUpperCase()+e.slice(1)),bs=ss(e=>e?`on${os(e)}`:""),gn=(e,t)=>!Object.is(e,t),xs=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Wn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},aa=e=>{const t=parseFloat(e);return isNaN(t)?e:t},la=e=>{const t=we(e)?Number(e):NaN;return isNaN(t)?e:t};let Vo;const ca=()=>Vo||(Vo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let He;class ua{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=He,!t&&He&&(this.index=(He.scopes||(He.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=He;try{return He=this,t()}finally{He=n}}}on(){He=this}off(){He=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;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 da(e,t=He){t&&t.active&&t.effects.push(e)}function Vi(){return He}function fa(e){He&&He.cleanups.push(e)}const io=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Ii=e=>(e.w&yt)>0,Ni=e=>(e.n&yt)>0,ha=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=yt},pa=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const o=t[s];Ii(o)&&!Ni(o)?o.delete(e):t[n++]=o,o.w&=~yt,o.n&=~yt}t.length=n}},Vs=new WeakMap;let dn=0,yt=1;const Is=30;let Ge;const Ot=Symbol(""),Ns=Symbol("");class ro{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,da(this,s)}run(){if(!this.active)return this.fn();let t=Ge,n=vt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Ge,Ge=this,vt=!0,yt=1<<++dn,dn<=Is?ha(this):Io(this),this.fn()}finally{dn<=Is&&pa(this),yt=1<<--dn,Ge=this.parent,vt=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Ge===this?this.deferStop=!0:this.active&&(Io(this),this.onStop&&this.onStop(),this.active=!1)}}function Io(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let vt=!0;const Oi=[];function rn(){Oi.push(vt),vt=!1}function an(){const e=Oi.pop();vt=e===void 0?!0:e}function Ne(e,t,n){if(vt&&Ge){let s=Vs.get(e);s||Vs.set(e,s=new Map);let o=s.get(n);o||s.set(n,o=io()),zi(o)}}function zi(e,t){let n=!1;dn<=Is?Ni(e)||(e.n|=yt,n=!Ii(e)):n=!e.has(Ge),n&&(e.add(Ge),Ge.deps.push(e))}function rt(e,t,n,s,o,i){const r=Vs.get(e);if(!r)return;let a=[];if(t==="clear")a=[...r.values()];else if(n==="length"&&se(e)){const l=Number(s);r.forEach((u,d)=>{(d==="length"||d>=l)&&a.push(u)})}else switch(n!==void 0&&a.push(r.get(n)),t){case"add":se(e)?oo(n)&&a.push(r.get("length")):(a.push(r.get(Ot)),Wt(e)&&a.push(r.get(Ns)));break;case"delete":se(e)||(a.push(r.get(Ot)),Wt(e)&&a.push(r.get(Ns)));break;case"set":Wt(e)&&a.push(r.get(Ot));break}if(a.length===1)a[0]&&Os(a[0]);else{const l=[];for(const u of a)u&&l.push(...u);Os(io(l))}}function Os(e,t){const n=se(e)?e:[...e];for(const s of n)s.computed&&No(s);for(const s of n)s.computed||No(s)}function No(e,t){(e!==Ge||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const ma=Zs("__proto__,__v_isRef,__isVue"),Hi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(so)),_a=ao(),va=ao(!1,!0),ga=ao(!0),Oo=ya();function ya(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=pe(this);for(let i=0,r=this.length;i<r;i++)Ne(s,"get",i+"");const o=s[t](...n);return o===-1||o===!1?s[t](...n.map(pe)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){rn();const s=pe(this)[t].apply(this,n);return an(),s}}),e}function ba(e){const t=pe(this);return Ne(t,"has",e),t.hasOwnProperty(e)}function ao(e=!1,t=!1){return function(s,o,i){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&i===(e?t?Oa:ji:t?Di:Ri).get(s))return s;const r=se(s);if(!e){if(r&&he(Oo,o))return Reflect.get(Oo,o,i);if(o==="hasOwnProperty")return ba}const a=Reflect.get(s,o,i);return(so(o)?Hi.has(o):ma(o))||(e||Ne(s,"get",o),t)?a:Ee(a)?r&&oo(o)?a:a.value:ye(a)?e?uo(a):rs(a):a}}const xa=Bi(),wa=Bi(!0);function Bi(e=!1){return function(n,s,o,i){let r=n[s];if(en(r)&&Ee(r)&&!Ee(o))return!1;if(!e&&(!qn(o)&&!en(o)&&(r=pe(r),o=pe(o)),!se(n)&&Ee(r)&&!Ee(o)))return r.value=o,!0;const a=se(n)&&oo(s)?Number(s)<n.length:he(n,s),l=Reflect.set(n,s,o,i);return n===pe(i)&&(a?gn(o,r)&&rt(n,"set",s,o):rt(n,"add",s,o)),l}}function ka(e,t){const n=he(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&rt(e,"delete",t,void 0),s}function $a(e,t){const n=Reflect.has(e,t);return(!so(t)||!Hi.has(t))&&Ne(e,"has",t),n}function Pa(e){return Ne(e,"iterate",se(e)?"length":Ot),Reflect.ownKeys(e)}const Fi={get:_a,set:xa,deleteProperty:ka,has:$a,ownKeys:Pa},Ca={get:ga,set(e,t){return!0},deleteProperty(e,t){return!0}},Sa=Pe({},Fi,{get:va,set:wa}),lo=e=>e,is=e=>Reflect.getPrototypeOf(e);function Vn(e,t,n=!1,s=!1){e=e.__v_raw;const o=pe(e),i=pe(t);n||(t!==i&&Ne(o,"get",t),Ne(o,"get",i));const{has:r}=is(o),a=s?lo:n?ho:yn;if(r.call(o,t))return a(e.get(t));if(r.call(o,i))return a(e.get(i));e!==o&&e.get(t)}function In(e,t=!1){const n=this.__v_raw,s=pe(n),o=pe(e);return t||(e!==o&&Ne(s,"has",e),Ne(s,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Nn(e,t=!1){return e=e.__v_raw,!t&&Ne(pe(e),"iterate",Ot),Reflect.get(e,"size",e)}function zo(e){e=pe(e);const t=pe(this);return is(t).has.call(t,e)||(t.add(e),rt(t,"add",e,e)),this}function Ho(e,t){t=pe(t);const n=pe(this),{has:s,get:o}=is(n);let i=s.call(n,e);i||(e=pe(e),i=s.call(n,e));const r=o.call(n,e);return n.set(e,t),i?gn(t,r)&&rt(n,"set",e,t):rt(n,"add",e,t),this}function Bo(e){const t=pe(this),{has:n,get:s}=is(t);let o=n.call(t,e);o||(e=pe(e),o=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return o&&rt(t,"delete",e,void 0),i}function Fo(){const e=pe(this),t=e.size!==0,n=e.clear();return t&&rt(e,"clear",void 0,void 0),n}function On(e,t){return function(s,o){const i=this,r=i.__v_raw,a=pe(r),l=t?lo:e?ho:yn;return!e&&Ne(a,"iterate",Ot),r.forEach((u,d)=>s.call(o,l(u),l(d),i))}}function zn(e,t,n){return function(...s){const o=this.__v_raw,i=pe(o),r=Wt(i),a=e==="entries"||e===Symbol.iterator&&r,l=e==="keys"&&r,u=o[e](...s),d=n?lo:t?ho:yn;return!t&&Ne(i,"iterate",l?Ns:Ot),{next(){const{value:v,done:y}=u.next();return y?{value:v,done:y}:{value:a?[d(v[0]),d(v[1])]:d(v),done:y}},[Symbol.iterator](){return this}}}}function dt(e){return function(...t){return e==="delete"?!1:this}}function Ta(){const e={get(i){return Vn(this,i)},get size(){return Nn(this)},has:In,add:zo,set:Ho,delete:Bo,clear:Fo,forEach:On(!1,!1)},t={get(i){return Vn(this,i,!1,!0)},get size(){return Nn(this)},has:In,add:zo,set:Ho,delete:Bo,clear:Fo,forEach:On(!1,!0)},n={get(i){return Vn(this,i,!0)},get size(){return Nn(this,!0)},has(i){return In.call(this,i,!0)},add:dt("add"),set:dt("set"),delete:dt("delete"),clear:dt("clear"),forEach:On(!0,!1)},s={get(i){return Vn(this,i,!0,!0)},get size(){return Nn(this,!0)},has(i){return In.call(this,i,!0)},add:dt("add"),set:dt("set"),delete:dt("delete"),clear:dt("clear"),forEach:On(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=zn(i,!1,!1),n[i]=zn(i,!0,!1),t[i]=zn(i,!1,!0),s[i]=zn(i,!0,!0)}),[e,n,t,s]}const[Ea,La,Ma,Aa]=Ta();function co(e,t){const n=t?e?Aa:Ma:e?La:Ea;return(s,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(he(n,o)&&o in s?n:s,o,i)}const Va={get:co(!1,!1)},Ia={get:co(!1,!0)},Na={get:co(!0,!1)},Ri=new WeakMap,Di=new WeakMap,ji=new WeakMap,Oa=new WeakMap;function za(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ha(e){return e.__v_skip||!Object.isExtensible(e)?0:za(oa(e))}function rs(e){return en(e)?e:fo(e,!1,Fi,Va,Ri)}function Ba(e){return fo(e,!1,Sa,Ia,Di)}function uo(e){return fo(e,!0,Ca,Na,ji)}function fo(e,t,n,s,o){if(!ye(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const r=Ha(e);if(r===0)return e;const a=new Proxy(e,r===2?s:n);return o.set(e,a),a}function qt(e){return en(e)?qt(e.__v_raw):!!(e&&e.__v_isReactive)}function en(e){return!!(e&&e.__v_isReadonly)}function qn(e){return!!(e&&e.__v_isShallow)}function Ui(e){return qt(e)||en(e)}function pe(e){const t=e&&e.__v_raw;return t?pe(t):e}function hn(e){return Wn(e,"__v_skip",!0),e}const yn=e=>ye(e)?rs(e):e,ho=e=>ye(e)?uo(e):e;function Ki(e){vt&&Ge&&(e=pe(e),zi(e.dep||(e.dep=io())))}function Wi(e,t){e=pe(e);const n=e.dep;n&&Os(n)}function Ee(e){return!!(e&&e.__v_isRef===!0)}function ue(e){return qi(e,!1)}function Fa(e){return qi(e,!0)}function qi(e,t){return Ee(e)?e:new Ra(e,t)}class Ra{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:pe(t),this._value=n?t:yn(t)}get value(){return Ki(this),this._value}set value(t){const n=this.__v_isShallow||qn(t)||en(t);t=n?t:pe(t),gn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:yn(t),Wi(this))}}function _(e){return Ee(e)?e.value:e}const Da={get:(e,t,n)=>_(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return Ee(o)&&!Ee(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function Gi(e){return qt(e)?e:new Proxy(e,Da)}var Yi;class ja{constructor(t,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[Yi]=!1,this._dirty=!0,this.effect=new ro(t,()=>{this._dirty||(this._dirty=!0,Wi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const t=pe(this);return Ki(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Yi="__v_isReadonly";function Ua(e,t,n=!1){let s,o;const i=re(e);return i?(s=e,o=Xe):(s=e.get,o=e.set),new ja(s,o,i||!o,n)}function gt(e,t,n,s){let o;try{o=s?e(...s):e()}catch(i){Sn(i,t,n)}return o}function je(e,t,n,s){if(re(e)){const i=gt(e,t,n,s);return i&&Li(i)&&i.catch(r=>{Sn(r,t,n)}),i}const o=[];for(let i=0;i<e.length;i++)o.push(je(e[i],t,n,s));return o}function Sn(e,t,n,s=!0){const o=t?t.vnode:null;if(t){let i=t.parent;const r=t.proxy,a=n;for(;i;){const u=i.ec;if(u){for(let d=0;d<u.length;d++)if(u[d](e,r,a)===!1)return}i=i.parent}const l=t.appContext.config.errorHandler;if(l){gt(l,null,10,[e,r,a]);return}}Ka(e,n,o,s)}function Ka(e,t,n,s=!0){console.error(e)}let bn=!1,zs=!1;const Te=[];let nt=0;const Gt=[];let it=null,At=0;const Xi=Promise.resolve();let po=null;function mo(e){const t=po||Xi;return e?t.then(this?e.bind(this):e):t}function Wa(e){let t=nt+1,n=Te.length;for(;t<n;){const s=t+n>>>1;xn(Te[s])<e?t=s+1:n=s}return t}function as(e){(!Te.length||!Te.includes(e,bn&&e.allowRecurse?nt+1:nt))&&(e.id==null?Te.push(e):Te.splice(Wa(e.id),0,e),Ji())}function Ji(){!bn&&!zs&&(zs=!0,po=Xi.then(Qi))}function qa(e){const t=Te.indexOf(e);t>nt&&Te.splice(t,1)}function Ga(e){se(e)?Gt.push(...e):(!it||!it.includes(e,e.allowRecurse?At+1:At))&&Gt.push(e),Ji()}function Ro(e,t=bn?nt+1:0){for(;t<Te.length;t++){const n=Te[t];n&&n.pre&&(Te.splice(t,1),t--,n())}}function Gn(e){if(Gt.length){const t=[...new Set(Gt)];if(Gt.length=0,it){it.push(...t);return}for(it=t,it.sort((n,s)=>xn(n)-xn(s)),At=0;At<it.length;At++)it[At]();it=null,At=0}}const xn=e=>e.id==null?1/0:e.id,Ya=(e,t)=>{const n=xn(e)-xn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Qi(e){zs=!1,bn=!0,Te.sort(Ya);const t=Xe;try{for(nt=0;nt<Te.length;nt++){const n=Te[nt];n&&n.active!==!1&>(n,null,14)}}finally{nt=0,Te.length=0,Gn(),bn=!1,po=null,(Te.length||Gt.length)&&Qi()}}function Xa(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||be;let o=n;const i=t.startsWith("update:"),r=i&&t.slice(7);if(r&&r in s){const d=`${r==="modelValue"?"model":r}Modifiers`,{number:v,trim:y}=s[d]||be;y&&(o=n.map(k=>we(k)?k.trim():k)),v&&(o=n.map(aa))}let a,l=s[a=bs(t)]||s[a=bs(ot(t))];!l&&i&&(l=s[a=bs(on(t))]),l&&je(l,e,6,o);const u=s[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,je(u,e,6,o)}}function Zi(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const i=e.emits;let r={},a=!1;if(!re(e)){const l=u=>{const d=Zi(u,t,!0);d&&(a=!0,Pe(r,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(ye(e)&&s.set(e,null),null):(se(i)?i.forEach(l=>r[l]=null):Pe(r,i),ye(e)&&s.set(e,r),r)}function ls(e,t){return!e||!Cn(t)?!1:(t=t.slice(2).replace(/Once$/,""),he(e,t[0].toLowerCase()+t.slice(1))||he(e,on(t))||he(e,t))}let Le=null,cs=null;function Yn(e){const t=Le;return Le=e,cs=e&&e.type.__scopeId||null,t}function Qe(e){cs=e}function Ze(){cs=null}function j(e,t=Le,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&Jo(-1);const i=Yn(t);let r;try{r=e(...o)}finally{Yn(i),s._d&&Jo(1)}return r};return s._n=!0,s._c=!0,s._d=!0,s}function ws(e){const{type:t,vnode:n,proxy:s,withProxy:o,props:i,propsOptions:[r],slots:a,attrs:l,emit:u,render:d,renderCache:v,data:y,setupState:k,ctx:L,inheritAttrs:H}=e;let J,w;const T=Yn(e);try{if(n.shapeFlag&4){const S=o||s;J=qe(d.call(S,S,v,i,k,y,L)),w=l}else{const S=t;J=qe(S.length>1?S(i,{attrs:l,slots:a,emit:u}):S(i,null)),w=t.props?l:Ja(l)}}catch(S){mn.length=0,Sn(S,e,1),J=N(Be)}let m=J;if(w&&H!==!1){const S=Object.keys(w),{shapeFlag:O}=m;S.length&&O&7&&(r&&S.some(to)&&(w=Qa(w,r)),m=bt(m,w))}return n.dirs&&(m=bt(m),m.dirs=m.dirs?m.dirs.concat(n.dirs):n.dirs),n.transition&&(m.transition=n.transition),J=m,Yn(T),J}const Ja=e=>{let t;for(const n in e)(n==="class"||n==="style"||Cn(n))&&((t||(t={}))[n]=e[n]);return t},Qa=(e,t)=>{const n={};for(const s in e)(!to(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Za(e,t,n){const{props:s,children:o,component:i}=e,{props:r,children:a,patchFlag:l}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Do(s,r,u):!!r;if(l&8){const d=t.dynamicProps;for(let v=0;v<d.length;v++){const y=d[v];if(r[y]!==s[y]&&!ls(u,y))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:s===r?!1:s?r?Do(s,r,u):!0:!!r;return!1}function Do(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let o=0;o<s.length;o++){const i=s[o];if(t[i]!==e[i]&&!ls(n,i))return!0}return!1}function el({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const tl=e=>e.__isSuspense;function er(e,t){t&&t.pendingBranch?se(e)?t.effects.push(...e):t.effects.push(e):Ga(e)}function Yt(e,t){if(xe){let n=xe.provides;const s=xe.parent&&xe.parent.provides;s===n&&(n=xe.provides=Object.create(s)),n[e]=t}}function Je(e,t,n=!1){const s=xe||Le;if(s){const o=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&re(t)?t.call(s.proxy):t}}function Bt(e,t){return us(e,null,t)}function tr(e,t){return us(e,null,{flush:"post"})}const Hn={};function st(e,t,n){return us(e,t,n)}function us(e,t,{immediate:n,deep:s,flush:o,onTrack:i,onTrigger:r}=be){const a=Vi()===(xe==null?void 0:xe.scope)?xe:null;let l,u=!1,d=!1;if(Ee(e)?(l=()=>e.value,u=qn(e)):qt(e)?(l=()=>e,s=!0):se(e)?(d=!0,u=e.some(m=>qt(m)||qn(m)),l=()=>e.map(m=>{if(Ee(m))return m.value;if(qt(m))return Ut(m);if(re(m))return gt(m,a,2)})):re(e)?t?l=()=>gt(e,a,2):l=()=>{if(!(a&&a.isUnmounted))return v&&v(),je(e,a,3,[y])}:l=Xe,t&&s){const m=l;l=()=>Ut(m())}let v,y=m=>{v=w.onStop=()=>{gt(m,a,4)}},k;if(sn)if(y=Xe,t?n&&je(t,a,3,[l(),d?[]:void 0,y]):l(),o==="sync"){const m=Gl();k=m.__watcherHandles||(m.__watcherHandles=[])}else return Xe;let L=d?new Array(e.length).fill(Hn):Hn;const H=()=>{if(w.active)if(t){const m=w.run();(s||u||(d?m.some((S,O)=>gn(S,L[O])):gn(m,L)))&&(v&&v(),je(t,a,3,[m,L===Hn?void 0:d&&L[0]===Hn?[]:L,y]),L=m)}else w.run()};H.allowRecurse=!!t;let J;o==="sync"?J=H:o==="post"?J=()=>Ie(H,a&&a.suspense):(H.pre=!0,a&&(H.id=a.uid),J=()=>as(H));const w=new ro(l,J);t?n?H():L=w.run():o==="post"?Ie(w.run.bind(w),a&&a.suspense):w.run();const T=()=>{w.stop(),a&&a.scope&&no(a.scope.effects,w)};return k&&k.push(T),T}function nl(e,t,n){const s=this.proxy,o=we(e)?e.includes(".")?nr(s,e):()=>s[e]:e.bind(s,s);let i;re(t)?i=t:(i=t.handler,n=t);const r=xe;nn(this);const a=us(o,i.bind(s),n);return r?nn(r):zt(),a}function nr(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o<n.length&&s;o++)s=s[n[o]];return s}}function Ut(e,t){if(!ye(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Ee(e))Ut(e.value,t);else if(se(e))for(let n=0;n<e.length;n++)Ut(e[n],t);else if(Ei(e)||Wt(e))e.forEach(n=>{Ut(n,t)});else if(Ai(e))for(const n in e)Ut(e[n],t);return e}function sl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ae(()=>{e.isMounted=!0}),ar(()=>{e.isUnmounting=!0}),e}const Re=[Function,Array],ol={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Re,onEnter:Re,onAfterEnter:Re,onEnterCancelled:Re,onBeforeLeave:Re,onLeave:Re,onAfterLeave:Re,onLeaveCancelled:Re,onBeforeAppear:Re,onAppear:Re,onAfterAppear:Re,onAppearCancelled:Re},setup(e,{slots:t}){const n=hs(),s=sl();let o;return()=>{const i=t.default&&ir(t.default(),!0);if(!i||!i.length)return;let r=i[0];if(i.length>1){for(const H of i)if(H.type!==Be){r=H;break}}const a=pe(e),{mode:l}=a;if(s.isLeaving)return ks(r);const u=jo(r);if(!u)return ks(r);const d=Hs(u,a,s,n);Bs(u,d);const v=n.subTree,y=v&&jo(v);let k=!1;const{getTransitionKey:L}=u.type;if(L){const H=L();o===void 0?o=H:H!==o&&(o=H,k=!0)}if(y&&y.type!==Be&&(!Vt(u,y)||k)){const H=Hs(y,a,s,n);if(Bs(y,H),l==="out-in")return s.isLeaving=!0,H.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},ks(r);l==="in-out"&&u.type!==Be&&(H.delayLeave=(J,w,T)=>{const m=or(s,y);m[String(y.key)]=y,J._leaveCb=()=>{w(),J._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=T})}return r}}},sr=ol;function or(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Hs(e,t,n,s){const{appear:o,mode:i,persisted:r=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:v,onLeave:y,onAfterLeave:k,onLeaveCancelled:L,onBeforeAppear:H,onAppear:J,onAfterAppear:w,onAppearCancelled:T}=t,m=String(e.key),S=or(n,e),O=(p,U)=>{p&&je(p,s,9,U)},te=(p,U)=>{const D=U[1];O(p,U),se(p)?p.every(Y=>Y.length<=1)&&D():p.length<=1&&D()},R={mode:i,persisted:r,beforeEnter(p){let U=a;if(!n.isMounted)if(o)U=H||a;else return;p._leaveCb&&p._leaveCb(!0);const D=S[m];D&&Vt(e,D)&&D.el._leaveCb&&D.el._leaveCb(),O(U,[p])},enter(p){let U=l,D=u,Y=d;if(!n.isMounted)if(o)U=J||l,D=w||u,Y=T||d;else return;let $=!1;const V=p._enterCb=z=>{$||($=!0,z?O(Y,[p]):O(D,[p]),R.delayedLeave&&R.delayedLeave(),p._enterCb=void 0)};U?te(U,[p,V]):V()},leave(p,U){const D=String(e.key);if(p._enterCb&&p._enterCb(!0),n.isUnmounting)return U();O(v,[p]);let Y=!1;const $=p._leaveCb=V=>{Y||(Y=!0,U(),V?O(L,[p]):O(k,[p]),p._leaveCb=void 0,S[D]===e&&delete S[D])};S[D]=e,y?te(y,[p,$]):$()},clone(p){return Hs(p,t,n,s)}};return R}function ks(e){if(Tn(e))return e=bt(e),e.children=null,e}function jo(e){return Tn(e)?e.children?e.children[0]:void 0:e}function Bs(e,t){e.shapeFlag&6&&e.component?Bs(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 ir(e,t=!1,n){let s=[],o=0;for(let i=0;i<e.length;i++){let r=e[i];const a=n==null?r.key:String(n)+String(r.key!=null?r.key:i);r.type===ie?(r.patchFlag&128&&o++,s=s.concat(ir(r.children,t,a))):(t||r.type!==Be)&&s.push(a!=null?bt(r,{key:a}):r)}if(o>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}function W(e){return re(e)?{setup:e,name:e.name}:e}const Xt=e=>!!e.type.__asyncLoader;function il(e){re(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:o=200,timeout:i,suspensible:r=!0,onError:a}=e;let l=null,u,d=0;const v=()=>(d++,l=null,y()),y=()=>{let k;return l||(k=l=t().catch(L=>{if(L=L instanceof Error?L:new Error(String(L)),a)return new Promise((H,J)=>{a(L,()=>H(v()),()=>J(L),d+1)});throw L}).then(L=>k!==l&&l?l:(L&&(L.__esModule||L[Symbol.toStringTag]==="Module")&&(L=L.default),u=L,L)))};return W({name:"AsyncComponentWrapper",__asyncLoader:y,get __asyncResolved(){return u},setup(){const k=xe;if(u)return()=>$s(u,k);const L=T=>{l=null,Sn(T,k,13,!s)};if(r&&k.suspense||sn)return y().then(T=>()=>$s(T,k)).catch(T=>(L(T),()=>s?N(s,{error:T}):null));const H=ue(!1),J=ue(),w=ue(!!o);return o&&setTimeout(()=>{w.value=!1},o),i!=null&&setTimeout(()=>{if(!H.value&&!J.value){const T=new Error(`Async component timed out after ${i}ms.`);L(T),J.value=T}},i),y().then(()=>{H.value=!0,k.parent&&Tn(k.parent.vnode)&&as(k.parent.update)}).catch(T=>{L(T),J.value=T}),()=>{if(H.value&&u)return $s(u,k);if(J.value&&s)return N(s,{error:J.value});if(n&&!w.value)return N(n)}}})}function $s(e,t){const{ref:n,props:s,children:o,ce:i}=t.vnode,r=N(e,s,o);return r.ref=n,r.ce=i,delete t.vnode.ce,r}const Tn=e=>e.type.__isKeepAlive;function rl(e,t){rr(e,"a",t)}function al(e,t){rr(e,"da",t)}function rr(e,t,n=xe){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(ds(t,s,n),n){let o=n.parent;for(;o&&o.parent;)Tn(o.parent.vnode)&&ll(s,t,n,o),o=o.parent}}function ll(e,t,n,s){const o=ds(t,e,s,!0);lt(()=>{no(s[t],o)},n)}function ds(e,t,n=xe,s=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;rn(),nn(n);const a=je(t,n,e,r);return zt(),an(),a});return s?o.unshift(i):o.push(i),i}}const at=e=>(t,n=xe)=>(!sn||e==="sp")&&ds(e,(...s)=>t(...s),n),cl=at("bm"),Ae=at("m"),ul=at("bu"),_o=at("u"),ar=at("bum"),lt=at("um"),dl=at("sp"),fl=at("rtg"),hl=at("rtc");function pl(e,t=xe){ds("ec",e,t)}function tt(e,t,n,s){const o=e.dirs,i=t&&t.dirs;for(let r=0;r<o.length;r++){const a=o[r];i&&(a.oldValue=i[r].value);let l=a.dir[s];l&&(rn(),je(l,n,8,[e.el,a,e,t]),an())}}const vo="components";function xt(e,t){return cr(vo,e,!0,t)||e}const lr=Symbol();function wn(e){return we(e)?cr(vo,e,!1)||e:e||lr}function cr(e,t,n=!0,s=!1){const o=Le||xe;if(o){const i=o.type;if(e===vo){const a=jl(i,!1);if(a&&(a===t||a===ot(t)||a===os(ot(t))))return i}const r=Uo(o[e]||i[e],t)||Uo(o.appContext[e],t);return!r&&s?i:r}}function Uo(e,t){return e&&(e[t]||e[ot(t)]||e[os(ot(t))])}function Ce(e,t,n,s){let o;const i=n&&n[s];if(se(e)||we(e)){o=new Array(e.length);for(let r=0,a=e.length;r<a;r++)o[r]=t(e[r],r,void 0,i&&i[r])}else if(typeof e=="number"){o=new Array(e);for(let r=0;r<e;r++)o[r]=t(r+1,r,void 0,i&&i[r])}else if(ye(e))if(e[Symbol.iterator])o=Array.from(e,(r,a)=>t(r,a,void 0,i&&i[a]));else{const r=Object.keys(e);o=new Array(r.length);for(let a=0,l=r.length;a<l;a++){const u=r[a];o[a]=t(e[u],u,a,i&&i[a])}}else o=[];return n&&(n[s]=o),o}function I(e,t,n={},s,o){if(Le.isCE||Le.parent&&Xt(Le.parent)&&Le.parent.isCE)return t!=="default"&&(n.name=t),N("slot",n,s&&s());let i=e[t];i&&i._c&&(i._d=!1),h();const r=i&&ur(i(n)),a=ne(ie,{key:n.key||r&&r.key||`_${t}`},r||(s?s():[]),r&&e._===1?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function ur(e){return e.some(t=>Qn(t)?!(t.type===Be||t.type===ie&&!ur(t.children)):!0)?e:null}const Fs=e=>e?xr(e)?xo(e)||e.proxy:Fs(e.parent):null,pn=Pe(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=>Fs(e.parent),$root:e=>Fs(e.root),$emit:e=>e.emit,$options:e=>go(e),$forceUpdate:e=>e.f||(e.f=()=>as(e.update)),$nextTick:e=>e.n||(e.n=mo.bind(e.proxy)),$watch:e=>nl.bind(e)}),Ps=(e,t)=>e!==be&&!e.__isScriptSetup&&he(e,t),ml={get({_:e},t){const{ctx:n,setupState:s,data:o,props:i,accessCache:r,type:a,appContext:l}=e;let u;if(t[0]!=="$"){const k=r[t];if(k!==void 0)switch(k){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(Ps(s,t))return r[t]=1,s[t];if(o!==be&&he(o,t))return r[t]=2,o[t];if((u=e.propsOptions[0])&&he(u,t))return r[t]=3,i[t];if(n!==be&&he(n,t))return r[t]=4,n[t];Rs&&(r[t]=0)}}const d=pn[t];let v,y;if(d)return t==="$attrs"&&Ne(e,"get",t),d(e);if((v=a.__cssModules)&&(v=v[t]))return v;if(n!==be&&he(n,t))return r[t]=4,n[t];if(y=l.config.globalProperties,he(y,t))return y[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:i}=e;return Ps(o,t)?(o[t]=n,!0):s!==be&&he(s,t)?(s[t]=n,!0):he(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,propsOptions:i}},r){let a;return!!n[r]||e!==be&&he(e,r)||Ps(t,r)||(a=i[0])&&he(a,r)||he(s,r)||he(pn,r)||he(o.config.globalProperties,r)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:he(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let Rs=!0;function _l(e){const t=go(e),n=e.proxy,s=e.ctx;Rs=!1,t.beforeCreate&&Ko(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:r,watch:a,provide:l,inject:u,created:d,beforeMount:v,mounted:y,beforeUpdate:k,updated:L,activated:H,deactivated:J,beforeDestroy:w,beforeUnmount:T,destroyed:m,unmounted:S,render:O,renderTracked:te,renderTriggered:R,errorCaptured:p,serverPrefetch:U,expose:D,inheritAttrs:Y,components:$,directives:V,filters:z}=t;if(u&&vl(u,s,null,e.appContext.config.unwrapInjectedRef),r)for(const ae in r){const le=r[ae];re(le)&&(s[ae]=le.bind(n))}if(o){const ae=o.call(n,n);ye(ae)&&(e.data=rs(ae))}if(Rs=!0,i)for(const ae in i){const le=i[ae],Ve=re(le)?le.bind(n,n):re(le.get)?le.get.bind(n,n):Xe,Oe=!re(le)&&re(le.set)?le.set.bind(n):Xe,Ue=ee({get:Ve,set:Oe});Object.defineProperty(s,ae,{enumerable:!0,configurable:!0,get:()=>Ue.value,set:Fe=>Ue.value=Fe})}if(a)for(const ae in a)dr(a[ae],s,n,ae);if(l){const ae=re(l)?l.call(n):l;Reflect.ownKeys(ae).forEach(le=>{Yt(le,ae[le])})}d&&Ko(d,e,"c");function K(ae,le){se(le)?le.forEach(Ve=>ae(Ve.bind(n))):le&&ae(le.bind(n))}if(K(cl,v),K(Ae,y),K(ul,k),K(_o,L),K(rl,H),K(al,J),K(pl,p),K(hl,te),K(fl,R),K(ar,T),K(lt,S),K(dl,U),se(D))if(D.length){const ae=e.exposed||(e.exposed={});D.forEach(le=>{Object.defineProperty(ae,le,{get:()=>n[le],set:Ve=>n[le]=Ve})})}else e.exposed||(e.exposed={});O&&e.render===Xe&&(e.render=O),Y!=null&&(e.inheritAttrs=Y),$&&(e.components=$),V&&(e.directives=V)}function vl(e,t,n=Xe,s=!1){se(e)&&(e=Ds(e));for(const o in e){const i=e[o];let r;ye(i)?"default"in i?r=Je(i.from||o,i.default,!0):r=Je(i.from||o):r=Je(i),Ee(r)&&s?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:a=>r.value=a}):t[o]=r}}function Ko(e,t,n){je(se(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function dr(e,t,n,s){const o=s.includes(".")?nr(n,s):()=>n[s];if(we(e)){const i=t[e];re(i)&&st(o,i)}else if(re(e))st(o,e.bind(n));else if(ye(e))if(se(e))e.forEach(i=>dr(i,t,n,s));else{const i=re(e.handler)?e.handler.bind(n):t[e.handler];re(i)&&st(o,i,e)}}function go(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:r}}=e.appContext,a=i.get(t);let l;return a?l=a:!o.length&&!n&&!s?l=t:(l={},o.length&&o.forEach(u=>Xn(l,u,r,!0)),Xn(l,t,r)),ye(t)&&i.set(t,l),l}function Xn(e,t,n,s=!1){const{mixins:o,extends:i}=t;i&&Xn(e,i,n,!0),o&&o.forEach(r=>Xn(e,r,n,!0));for(const r in t)if(!(s&&r==="expose")){const a=gl[r]||n&&n[r];e[r]=a?a(e[r],t[r]):t[r]}return e}const gl={data:Wo,props:Lt,emits:Lt,methods:Lt,computed:Lt,beforeCreate:Me,created:Me,beforeMount:Me,mounted:Me,beforeUpdate:Me,updated:Me,beforeDestroy:Me,beforeUnmount:Me,destroyed:Me,unmounted:Me,activated:Me,deactivated:Me,errorCaptured:Me,serverPrefetch:Me,components:Lt,directives:Lt,watch:bl,provide:Wo,inject:yl};function Wo(e,t){return t?e?function(){return Pe(re(e)?e.call(this,this):e,re(t)?t.call(this,this):t)}:t:e}function yl(e,t){return Lt(Ds(e),Ds(t))}function Ds(e){if(se(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Me(e,t){return e?[...new Set([].concat(e,t))]:t}function Lt(e,t){return e?Pe(Pe(Object.create(null),e),t):t}function bl(e,t){if(!e)return t;if(!t)return e;const n=Pe(Object.create(null),e);for(const s in t)n[s]=Me(e[s],t[s]);return n}function xl(e,t,n,s=!1){const o={},i={};Wn(i,fs,1),e.propsDefaults=Object.create(null),fr(e,t,o,i);for(const r in e.propsOptions[0])r in o||(o[r]=void 0);n?e.props=s?o:Ba(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function wl(e,t,n,s){const{props:o,attrs:i,vnode:{patchFlag:r}}=e,a=pe(o),[l]=e.propsOptions;let u=!1;if((s||r>0)&&!(r&16)){if(r&8){const d=e.vnode.dynamicProps;for(let v=0;v<d.length;v++){let y=d[v];if(ls(e.emitsOptions,y))continue;const k=t[y];if(l)if(he(i,y))k!==i[y]&&(i[y]=k,u=!0);else{const L=ot(y);o[L]=js(l,a,L,k,e,!1)}else k!==i[y]&&(i[y]=k,u=!0)}}}else{fr(e,t,o,i)&&(u=!0);let d;for(const v in a)(!t||!he(t,v)&&((d=on(v))===v||!he(t,d)))&&(l?n&&(n[v]!==void 0||n[d]!==void 0)&&(o[v]=js(l,a,v,void 0,e,!0)):delete o[v]);if(i!==a)for(const v in i)(!t||!he(t,v))&&(delete i[v],u=!0)}u&&rt(e,"set","$attrs")}function fr(e,t,n,s){const[o,i]=e.propsOptions;let r=!1,a;if(t)for(let l in t){if(fn(l))continue;const u=t[l];let d;o&&he(o,d=ot(l))?!i||!i.includes(d)?n[d]=u:(a||(a={}))[d]=u:ls(e.emitsOptions,l)||(!(l in s)||u!==s[l])&&(s[l]=u,r=!0)}if(i){const l=pe(n),u=a||be;for(let d=0;d<i.length;d++){const v=i[d];n[v]=js(o,l,v,u[v],e,!he(u,v))}}return r}function js(e,t,n,s,o,i){const r=e[n];if(r!=null){const a=he(r,"default");if(a&&s===void 0){const l=r.default;if(r.type!==Function&&re(l)){const{propsDefaults:u}=o;n in u?s=u[n]:(nn(o),s=u[n]=l.call(null,t),zt())}else s=l}r[0]&&(i&&!a?s=!1:r[1]&&(s===""||s===on(n))&&(s=!0))}return s}function hr(e,t,n=!1){const s=t.propsCache,o=s.get(e);if(o)return o;const i=e.props,r={},a=[];let l=!1;if(!re(e)){const d=v=>{l=!0;const[y,k]=hr(v,t,!0);Pe(r,y),k&&a.push(...k)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!l)return ye(e)&&s.set(e,Kt),Kt;if(se(i))for(let d=0;d<i.length;d++){const v=ot(i[d]);qo(v)&&(r[v]=be)}else if(i)for(const d in i){const v=ot(d);if(qo(v)){const y=i[d],k=r[v]=se(y)||re(y)?{type:y}:Object.assign({},y);if(k){const L=Xo(Boolean,k.type),H=Xo(String,k.type);k[0]=L>-1,k[1]=H<0||L<H,(L>-1||he(k,"default"))&&a.push(v)}}}const u=[r,a];return ye(e)&&s.set(e,u),u}function qo(e){return e[0]!=="$"}function Go(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Yo(e,t){return Go(e)===Go(t)}function Xo(e,t){return se(t)?t.findIndex(n=>Yo(n,e)):re(t)&&Yo(t,e)?0:-1}const pr=e=>e[0]==="_"||e==="$stable",yo=e=>se(e)?e.map(qe):[qe(e)],kl=(e,t,n)=>{if(t._n)return t;const s=j((...o)=>yo(t(...o)),n);return s._c=!1,s},mr=(e,t,n)=>{const s=e._ctx;for(const o in e){if(pr(o))continue;const i=e[o];if(re(i))t[o]=kl(o,i,s);else if(i!=null){const r=yo(i);t[o]=()=>r}}},_r=(e,t)=>{const n=yo(t);e.slots.default=()=>n},$l=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=pe(t),Wn(t,"_",n)):mr(t,e.slots={})}else e.slots={},t&&_r(e,t);Wn(e.slots,fs,1)},Pl=(e,t,n)=>{const{vnode:s,slots:o}=e;let i=!0,r=be;if(s.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:(Pe(o,t),!n&&a===1&&delete o._):(i=!t.$stable,mr(t,o)),r=t}else t&&(_r(e,t),r={default:1});if(i)for(const a in o)!pr(a)&&!(a in r)&&delete o[a]};function vr(){return{app:null,config:{isNativeTag:ta,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 Cl=0;function Sl(e,t){return function(s,o=null){re(s)||(s=Object.assign({},s)),o!=null&&!ye(o)&&(o=null);const i=vr(),r=new Set;let a=!1;const l=i.app={_uid:Cl++,_component:s,_props:o,_container:null,_context:i,_instance:null,version:Yl,get config(){return i.config},set config(u){},use(u,...d){return r.has(u)||(u&&re(u.install)?(r.add(u),u.install(l,...d)):re(u)&&(r.add(u),u(l,...d))),l},mixin(u){return i.mixins.includes(u)||i.mixins.push(u),l},component(u,d){return d?(i.components[u]=d,l):i.components[u]},directive(u,d){return d?(i.directives[u]=d,l):i.directives[u]},mount(u,d,v){if(!a){const y=N(s,o);return y.appContext=i,d&&t?t(y,u):e(y,u,v),a=!0,l._container=u,u.__vue_app__=l,xo(y.component)||y.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(u,d){return i.provides[u]=d,l}};return l}}function Jn(e,t,n,s,o=!1){if(se(e)){e.forEach((y,k)=>Jn(y,t&&(se(t)?t[k]:t),n,s,o));return}if(Xt(s)&&!o)return;const i=s.shapeFlag&4?xo(s.component)||s.component.proxy:s.el,r=o?null:i,{i:a,r:l}=e,u=t&&t.r,d=a.refs===be?a.refs={}:a.refs,v=a.setupState;if(u!=null&&u!==l&&(we(u)?(d[u]=null,he(v,u)&&(v[u]=null)):Ee(u)&&(u.value=null)),re(l))gt(l,a,12,[r,d]);else{const y=we(l),k=Ee(l);if(y||k){const L=()=>{if(e.f){const H=y?he(v,l)?v[l]:d[l]:l.value;o?se(H)&&no(H,i):se(H)?H.includes(i)||H.push(i):y?(d[l]=[i],he(v,l)&&(v[l]=d[l])):(l.value=[i],e.k&&(d[e.k]=l.value))}else y?(d[l]=r,he(v,l)&&(v[l]=r)):k&&(l.value=r,e.k&&(d[e.k]=r))};r?(L.id=-1,Ie(L,n)):L()}}}let ft=!1;const Bn=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Fn=e=>e.nodeType===8;function Tl(e){const{mt:t,p:n,o:{patchProp:s,createText:o,nextSibling:i,parentNode:r,remove:a,insert:l,createComment:u}}=e,d=(w,T)=>{if(!T.hasChildNodes()){n(null,w,T),Gn(),T._vnode=w;return}ft=!1,v(T.firstChild,w,null,null,null),Gn(),T._vnode=w,ft&&console.error("Hydration completed but contains mismatches.")},v=(w,T,m,S,O,te=!1)=>{const R=Fn(w)&&w.data==="[",p=()=>H(w,T,m,S,O,R),{type:U,ref:D,shapeFlag:Y,patchFlag:$}=T;let V=w.nodeType;T.el=w,$===-2&&(te=!1,T.dynamicChildren=null);let z=null;switch(U){case tn:V!==3?T.children===""?(l(T.el=o(""),r(w),w),z=w):z=p():(w.data!==T.children&&(ft=!0,w.data=T.children),z=i(w));break;case Be:V!==8||R?z=p():z=i(w);break;case Jt:if(R&&(w=i(w),V=w.nodeType),V===1||V===3){z=w;const fe=!T.children.length;for(let K=0;K<T.staticCount;K++)fe&&(T.children+=z.nodeType===1?z.outerHTML:z.data),K===T.staticCount-1&&(T.anchor=z),z=i(z);return R?i(z):z}else p();break;case ie:R?z=L(w,T,m,S,O,te):z=p();break;default:if(Y&1)V!==1||T.type.toLowerCase()!==w.tagName.toLowerCase()?z=p():z=y(w,T,m,S,O,te);else if(Y&6){T.slotScopeIds=O;const fe=r(w);if(t(T,fe,null,m,S,Bn(fe),te),z=R?J(w):i(w),z&&Fn(z)&&z.data==="teleport end"&&(z=i(z)),Xt(T)){let K;R?(K=N(ie),K.anchor=z?z.previousSibling:fe.lastChild):K=w.nodeType===3?$e(""):N("div"),K.el=w,T.component.subTree=K}}else Y&64?V!==8?z=p():z=T.type.hydrate(w,T,m,S,O,te,e,k):Y&128&&(z=T.type.hydrate(w,T,m,S,Bn(r(w)),O,te,e,v))}return D!=null&&Jn(D,null,S,T),z},y=(w,T,m,S,O,te)=>{te=te||!!T.dynamicChildren;const{type:R,props:p,patchFlag:U,shapeFlag:D,dirs:Y}=T,$=R==="input"&&Y||R==="option";if($||U!==-1){if(Y&&tt(T,null,m,"created"),p)if($||!te||U&48)for(const z in p)($&&z.endsWith("value")||Cn(z)&&!fn(z))&&s(w,z,null,p[z],!1,void 0,m);else p.onClick&&s(w,"onClick",null,p.onClick,!1,void 0,m);let V;if((V=p&&p.onVnodeBeforeMount)&&De(V,m,T),Y&&tt(T,null,m,"beforeMount"),((V=p&&p.onVnodeMounted)||Y)&&er(()=>{V&&De(V,m,T),Y&&tt(T,null,m,"mounted")},S),D&16&&!(p&&(p.innerHTML||p.textContent))){let z=k(w.firstChild,T,w,m,S,O,te);for(;z;){ft=!0;const fe=z;z=z.nextSibling,a(fe)}}else D&8&&w.textContent!==T.children&&(ft=!0,w.textContent=T.children)}return w.nextSibling},k=(w,T,m,S,O,te,R)=>{R=R||!!T.dynamicChildren;const p=T.children,U=p.length;for(let D=0;D<U;D++){const Y=R?p[D]:p[D]=qe(p[D]);if(w)w=v(w,Y,S,O,te,R);else{if(Y.type===tn&&!Y.children)continue;ft=!0,n(null,Y,m,null,S,O,Bn(m),te)}}return w},L=(w,T,m,S,O,te)=>{const{slotScopeIds:R}=T;R&&(O=O?O.concat(R):R);const p=r(w),U=k(i(w),T,p,m,S,O,te);return U&&Fn(U)&&U.data==="]"?i(T.anchor=U):(ft=!0,l(T.anchor=u("]"),p,U),U)},H=(w,T,m,S,O,te)=>{if(ft=!0,T.el=null,te){const U=J(w);for(;;){const D=i(w);if(D&&D!==U)a(D);else break}}const R=i(w),p=r(w);return a(w),n(null,T,p,R,m,S,Bn(p),O),R},J=w=>{let T=0;for(;w;)if(w=i(w),w&&Fn(w)&&(w.data==="["&&T++,w.data==="]")){if(T===0)return i(w);T--}return w};return[d,v]}const Ie=er;function El(e){return Ll(e,Tl)}function Ll(e,t){const n=ca();n.__VUE__=!0;const{insert:s,remove:o,patchProp:i,createElement:r,createText:a,createComment:l,setText:u,setElementText:d,parentNode:v,nextSibling:y,setScopeId:k=Xe,insertStaticContent:L}=e,H=(c,f,b,P=null,C=null,M=null,F=!1,A=null,B=!!f.dynamicChildren)=>{if(c===f)return;c&&!Vt(c,f)&&(P=Rt(c),Fe(c,C,M,!0),c=null),f.patchFlag===-2&&(B=!1,f.dynamicChildren=null);const{type:E,ref:Q,shapeFlag:G}=f;switch(E){case tn:J(c,f,b,P);break;case Be:w(c,f,b,P);break;case Jt:c==null&&T(f,b,P,F);break;case ie:$(c,f,b,P,C,M,F,A,B);break;default:G&1?O(c,f,b,P,C,M,F,A,B):G&6?V(c,f,b,P,C,M,F,A,B):(G&64||G&128)&&E.process(c,f,b,P,C,M,F,A,B,ut)}Q!=null&&C&&Jn(Q,c&&c.ref,M,f||c,!f)},J=(c,f,b,P)=>{if(c==null)s(f.el=a(f.children),b,P);else{const C=f.el=c.el;f.children!==c.children&&u(C,f.children)}},w=(c,f,b,P)=>{c==null?s(f.el=l(f.children||""),b,P):f.el=c.el},T=(c,f,b,P)=>{[c.el,c.anchor]=L(c.children,f,b,P,c.el,c.anchor)},m=({el:c,anchor:f},b,P)=>{let C;for(;c&&c!==f;)C=y(c),s(c,b,P),c=C;s(f,b,P)},S=({el:c,anchor:f})=>{let b;for(;c&&c!==f;)b=y(c),o(c),c=b;o(f)},O=(c,f,b,P,C,M,F,A,B)=>{F=F||f.type==="svg",c==null?te(f,b,P,C,M,F,A,B):U(c,f,C,M,F,A,B)},te=(c,f,b,P,C,M,F,A)=>{let B,E;const{type:Q,props:G,shapeFlag:Z,transition:oe,dirs:ce}=c;if(B=c.el=r(c.type,M,G&&G.is,G),Z&8?d(B,c.children):Z&16&&p(c.children,B,null,P,C,M&&Q!=="foreignObject",F,A),ce&&tt(c,null,P,"created"),R(B,c,c.scopeId,F,P),G){for(const _e in G)_e!=="value"&&!fn(_e)&&i(B,_e,null,G[_e],M,c.children,P,C,Ke);"value"in G&&i(B,"value",null,G.value),(E=G.onVnodeBeforeMount)&&De(E,P,c)}ce&&tt(c,null,P,"beforeMount");const ge=(!C||C&&!C.pendingBranch)&&oe&&!oe.persisted;ge&&oe.beforeEnter(B),s(B,f,b),((E=G&&G.onVnodeMounted)||ge||ce)&&Ie(()=>{E&&De(E,P,c),ge&&oe.enter(B),ce&&tt(c,null,P,"mounted")},C)},R=(c,f,b,P,C)=>{if(b&&k(c,b),P)for(let M=0;M<P.length;M++)k(c,P[M]);if(C){let M=C.subTree;if(f===M){const F=C.vnode;R(c,F,F.scopeId,F.slotScopeIds,C.parent)}}},p=(c,f,b,P,C,M,F,A,B=0)=>{for(let E=B;E<c.length;E++){const Q=c[E]=A?mt(c[E]):qe(c[E]);H(null,Q,f,b,P,C,M,F,A)}},U=(c,f,b,P,C,M,F)=>{const A=f.el=c.el;let{patchFlag:B,dynamicChildren:E,dirs:Q}=f;B|=c.patchFlag&16;const G=c.props||be,Z=f.props||be;let oe;b&&St(b,!1),(oe=Z.onVnodeBeforeUpdate)&&De(oe,b,f,c),Q&&tt(f,c,b,"beforeUpdate"),b&&St(b,!0);const ce=C&&f.type!=="foreignObject";if(E?D(c.dynamicChildren,E,A,b,P,ce,M):F||le(c,f,A,null,b,P,ce,M,!1),B>0){if(B&16)Y(A,f,G,Z,b,P,C);else if(B&2&&G.class!==Z.class&&i(A,"class",null,Z.class,C),B&4&&i(A,"style",G.style,Z.style,C),B&8){const ge=f.dynamicProps;for(let _e=0;_e<ge.length;_e++){const ke=ge[_e],We=G[ke],Dt=Z[ke];(Dt!==We||ke==="value")&&i(A,ke,We,Dt,C,c.children,b,P,Ke)}}B&1&&c.children!==f.children&&d(A,f.children)}else!F&&E==null&&Y(A,f,G,Z,b,P,C);((oe=Z.onVnodeUpdated)||Q)&&Ie(()=>{oe&&De(oe,b,f,c),Q&&tt(f,c,b,"updated")},P)},D=(c,f,b,P,C,M,F)=>{for(let A=0;A<f.length;A++){const B=c[A],E=f[A],Q=B.el&&(B.type===ie||!Vt(B,E)||B.shapeFlag&70)?v(B.el):b;H(B,E,Q,null,P,C,M,F,!0)}},Y=(c,f,b,P,C,M,F)=>{if(b!==P){if(b!==be)for(const A in b)!fn(A)&&!(A in P)&&i(c,A,b[A],null,F,f.children,C,M,Ke);for(const A in P){if(fn(A))continue;const B=P[A],E=b[A];B!==E&&A!=="value"&&i(c,A,E,B,F,f.children,C,M,Ke)}"value"in P&&i(c,"value",b.value,P.value)}},$=(c,f,b,P,C,M,F,A,B)=>{const E=f.el=c?c.el:a(""),Q=f.anchor=c?c.anchor:a("");let{patchFlag:G,dynamicChildren:Z,slotScopeIds:oe}=f;oe&&(A=A?A.concat(oe):oe),c==null?(s(E,b,P),s(Q,b,P),p(f.children,b,Q,C,M,F,A,B)):G>0&&G&64&&Z&&c.dynamicChildren?(D(c.dynamicChildren,Z,b,C,M,F,A),(f.key!=null||C&&f===C.subTree)&&gr(c,f,!0)):le(c,f,b,Q,C,M,F,A,B)},V=(c,f,b,P,C,M,F,A,B)=>{f.slotScopeIds=A,c==null?f.shapeFlag&512?C.ctx.activate(f,b,P,F,B):z(f,b,P,C,M,F,B):fe(c,f,B)},z=(c,f,b,P,C,M,F)=>{const A=c.component=Bl(c,P,C);if(Tn(c)&&(A.ctx.renderer=ut),Fl(A),A.asyncDep){if(C&&C.registerDep(A,K),!c.el){const B=A.subTree=N(Be);w(null,B,f,b)}return}K(A,c,f,b,C,M,F)},fe=(c,f,b)=>{const P=f.component=c.component;if(Za(c,f,b))if(P.asyncDep&&!P.asyncResolved){ae(P,f,b);return}else P.next=f,qa(P.update),P.update();else f.el=c.el,P.vnode=f},K=(c,f,b,P,C,M,F)=>{const A=()=>{if(c.isMounted){let{next:Q,bu:G,u:Z,parent:oe,vnode:ce}=c,ge=Q,_e;St(c,!1),Q?(Q.el=ce.el,ae(c,Q,F)):Q=ce,G&&xs(G),(_e=Q.props&&Q.props.onVnodeBeforeUpdate)&&De(_e,oe,Q,ce),St(c,!0);const ke=ws(c),We=c.subTree;c.subTree=ke,H(We,ke,v(We.el),Rt(We),c,C,M),Q.el=ke.el,ge===null&&el(c,ke.el),Z&&Ie(Z,C),(_e=Q.props&&Q.props.onVnodeUpdated)&&Ie(()=>De(_e,oe,Q,ce),C)}else{let Q;const{el:G,props:Z}=f,{bm:oe,m:ce,parent:ge}=c,_e=Xt(f);if(St(c,!1),oe&&xs(oe),!_e&&(Q=Z&&Z.onVnodeBeforeMount)&&De(Q,ge,f),St(c,!0),G&&Ct){const ke=()=>{c.subTree=ws(c),Ct(G,c.subTree,c,C,null)};_e?f.type.__asyncLoader().then(()=>!c.isUnmounted&&ke()):ke()}else{const ke=c.subTree=ws(c);H(null,ke,b,P,c,C,M),f.el=ke.el}if(ce&&Ie(ce,C),!_e&&(Q=Z&&Z.onVnodeMounted)){const ke=f;Ie(()=>De(Q,ge,ke),C)}(f.shapeFlag&256||ge&&Xt(ge.vnode)&&ge.vnode.shapeFlag&256)&&c.a&&Ie(c.a,C),c.isMounted=!0,f=b=P=null}},B=c.effect=new ro(A,()=>as(E),c.scope),E=c.update=()=>B.run();E.id=c.uid,St(c,!0),E()},ae=(c,f,b)=>{f.component=c;const P=c.vnode.props;c.vnode=f,c.next=null,wl(c,f.props,P,b),Pl(c,f.children,b),rn(),Ro(),an()},le=(c,f,b,P,C,M,F,A,B=!1)=>{const E=c&&c.children,Q=c?c.shapeFlag:0,G=f.children,{patchFlag:Z,shapeFlag:oe}=f;if(Z>0){if(Z&128){Oe(E,G,b,P,C,M,F,A,B);return}else if(Z&256){Ve(E,G,b,P,C,M,F,A,B);return}}oe&8?(Q&16&&Ke(E,C,M),G!==E&&d(b,G)):Q&16?oe&16?Oe(E,G,b,P,C,M,F,A,B):Ke(E,C,M,!0):(Q&8&&d(b,""),oe&16&&p(G,b,P,C,M,F,A,B))},Ve=(c,f,b,P,C,M,F,A,B)=>{c=c||Kt,f=f||Kt;const E=c.length,Q=f.length,G=Math.min(E,Q);let Z;for(Z=0;Z<G;Z++){const oe=f[Z]=B?mt(f[Z]):qe(f[Z]);H(c[Z],oe,b,null,C,M,F,A,B)}E>Q?Ke(c,C,M,!0,!1,G):p(f,b,P,C,M,F,A,B,G)},Oe=(c,f,b,P,C,M,F,A,B)=>{let E=0;const Q=f.length;let G=c.length-1,Z=Q-1;for(;E<=G&&E<=Z;){const oe=c[E],ce=f[E]=B?mt(f[E]):qe(f[E]);if(Vt(oe,ce))H(oe,ce,b,null,C,M,F,A,B);else break;E++}for(;E<=G&&E<=Z;){const oe=c[G],ce=f[Z]=B?mt(f[Z]):qe(f[Z]);if(Vt(oe,ce))H(oe,ce,b,null,C,M,F,A,B);else break;G--,Z--}if(E>G){if(E<=Z){const oe=Z+1,ce=oe<Q?f[oe].el:P;for(;E<=Z;)H(null,f[E]=B?mt(f[E]):qe(f[E]),b,ce,C,M,F,A,B),E++}}else if(E>Z)for(;E<=G;)Fe(c[E],C,M,!0),E++;else{const oe=E,ce=E,ge=new Map;for(E=ce;E<=Z;E++){const ze=f[E]=B?mt(f[E]):qe(f[E]);ze.key!=null&&ge.set(ze.key,E)}let _e,ke=0;const We=Z-ce+1;let Dt=!1,Lo=0;const cn=new Array(We);for(E=0;E<We;E++)cn[E]=0;for(E=oe;E<=G;E++){const ze=c[E];if(ke>=We){Fe(ze,C,M,!0);continue}let et;if(ze.key!=null)et=ge.get(ze.key);else for(_e=ce;_e<=Z;_e++)if(cn[_e-ce]===0&&Vt(ze,f[_e])){et=_e;break}et===void 0?Fe(ze,C,M,!0):(cn[et-ce]=E+1,et>=Lo?Lo=et:Dt=!0,H(ze,f[et],b,null,C,M,F,A,B),ke++)}const Mo=Dt?Ml(cn):Kt;for(_e=Mo.length-1,E=We-1;E>=0;E--){const ze=ce+E,et=f[ze],Ao=ze+1<Q?f[ze+1].el:P;cn[E]===0?H(null,et,b,Ao,C,M,F,A,B):Dt&&(_e<0||E!==Mo[_e]?Ue(et,b,Ao,2):_e--)}}},Ue=(c,f,b,P,C=null)=>{const{el:M,type:F,transition:A,children:B,shapeFlag:E}=c;if(E&6){Ue(c.component.subTree,f,b,P);return}if(E&128){c.suspense.move(f,b,P);return}if(E&64){F.move(c,f,b,ut);return}if(F===ie){s(M,f,b);for(let G=0;G<B.length;G++)Ue(B[G],f,b,P);s(c.anchor,f,b);return}if(F===Jt){m(c,f,b);return}if(P!==2&&E&1&&A)if(P===0)A.beforeEnter(M),s(M,f,b),Ie(()=>A.enter(M),C);else{const{leave:G,delayLeave:Z,afterLeave:oe}=A,ce=()=>s(M,f,b),ge=()=>{G(M,()=>{ce(),oe&&oe()})};Z?Z(M,ce,ge):ge()}else s(M,f,b)},Fe=(c,f,b,P=!1,C=!1)=>{const{type:M,props:F,ref:A,children:B,dynamicChildren:E,shapeFlag:Q,patchFlag:G,dirs:Z}=c;if(A!=null&&Jn(A,null,b,c,!0),Q&256){f.ctx.deactivate(c);return}const oe=Q&1&&Z,ce=!Xt(c);let ge;if(ce&&(ge=F&&F.onVnodeBeforeUnmount)&&De(ge,f,c),Q&6)$t(c.component,b,P);else{if(Q&128){c.suspense.unmount(b,P);return}oe&&tt(c,null,f,"beforeUnmount"),Q&64?c.type.remove(c,f,b,C,ut,P):E&&(M!==ie||G>0&&G&64)?Ke(E,f,b,!1,!0):(M===ie&&G&384||!C&&Q&16)&&Ke(B,f,b),P&&An(c)}(ce&&(ge=F&&F.onVnodeUnmounted)||oe)&&Ie(()=>{ge&&De(ge,f,c),oe&&tt(c,null,f,"unmounted")},b)},An=c=>{const{type:f,el:b,anchor:P,transition:C}=c;if(f===ie){ys(b,P);return}if(f===Jt){S(c);return}const M=()=>{o(b),C&&!C.persisted&&C.afterLeave&&C.afterLeave()};if(c.shapeFlag&1&&C&&!C.persisted){const{leave:F,delayLeave:A}=C,B=()=>F(b,M);A?A(c.el,M,B):B()}else M()},ys=(c,f)=>{let b;for(;c!==f;)b=y(c),o(c),c=b;o(f)},$t=(c,f,b)=>{const{bum:P,scope:C,update:M,subTree:F,um:A}=c;P&&xs(P),C.stop(),M&&(M.active=!1,Fe(F,c,f,b)),A&&Ie(A,f),Ie(()=>{c.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve())},Ke=(c,f,b,P=!1,C=!1,M=0)=>{for(let F=M;F<c.length;F++)Fe(c[F],f,b,P,C)},Rt=c=>c.shapeFlag&6?Rt(c.component.subTree):c.shapeFlag&128?c.suspense.next():y(c.anchor||c.el),Pt=(c,f,b)=>{c==null?f._vnode&&Fe(f._vnode,null,null,!0):H(f._vnode||null,c,f,null,null,null,b),Ro(),Gn(),f._vnode=c},ut={p:H,um:Fe,m:Ue,r:An,mt:z,mc:p,pc:le,pbc:D,n:Rt,o:e};let ln,Ct;return t&&([ln,Ct]=t(ut)),{render:Pt,hydrate:ln,createApp:Sl(Pt,ln)}}function St({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function gr(e,t,n=!1){const s=e.children,o=t.children;if(se(s)&&se(o))for(let i=0;i<s.length;i++){const r=s[i];let a=o[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[i]=mt(o[i]),a.el=r.el),n||gr(r,a)),a.type===tn&&(a.el=r.el)}}function Ml(e){const t=e.slice(),n=[0];let s,o,i,r,a;const l=e.length;for(s=0;s<l;s++){const u=e[s];if(u!==0){if(o=n[n.length-1],e[o]<u){t[s]=o,n.push(s);continue}for(i=0,r=n.length-1;i<r;)a=i+r>>1,e[n[a]]<u?i=a+1:r=a;u<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,r=n[i-1];i-- >0;)n[i]=r,r=t[r];return n}const Al=e=>e.__isTeleport,ie=Symbol(void 0),tn=Symbol(void 0),Be=Symbol(void 0),Jt=Symbol(void 0),mn=[];let Ye=null;function h(e=!1){mn.push(Ye=e?null:[])}function Vl(){mn.pop(),Ye=mn[mn.length-1]||null}let kn=1;function Jo(e){kn+=e}function yr(e){return e.dynamicChildren=kn>0?Ye||Kt:null,Vl(),kn>0&&Ye&&Ye.push(e),e}function x(e,t,n,s,o,i){return yr(g(e,t,n,s,o,i,!0))}function ne(e,t,n,s,o){return yr(N(e,t,n,s,o,!0))}function Qn(e){return e?e.__v_isVNode===!0:!1}function Vt(e,t){return e.type===t.type&&e.key===t.key}const fs="__vInternal",br=({key:e})=>e??null,jn=({ref:e,ref_key:t,ref_for:n})=>e!=null?we(e)||Ee(e)||re(e)?{i:Le,r:e,k:t,f:!!n}:e:null;function g(e,t=null,n=null,s=0,o=null,i=e===ie?0:1,r=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&br(t),ref:t&&jn(t),scopeId:cs,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:i,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Le};return a?(bo(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=we(n)?8:16),kn>0&&!r&&Ye&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Ye.push(l),l}const N=Il;function Il(e,t=null,n=null,s=0,o=null,i=!1){if((!e||e===lr)&&(e=Be),Qn(e)){const a=bt(e,t,!0);return n&&bo(a,n),kn>0&&!i&&Ye&&(a.shapeFlag&6?Ye[Ye.indexOf(e)]=a:Ye.push(a)),a.patchFlag|=-2,a}if(Ul(e)&&(e=e.__vccOpts),t){t=Nl(t);let{class:a,style:l}=t;a&&!we(a)&&(t.class=ve(a)),ye(l)&&(Ui(l)&&!se(l)&&(l=Pe({},l)),t.style=eo(l))}const r=we(e)?1:tl(e)?128:Al(e)?64:ye(e)?4:re(e)?2:0;return g(e,t,n,s,o,r,i,!0)}function Nl(e){return e?Ui(e)||fs in e?Pe({},e):e:null}function bt(e,t,n=!1){const{props:s,ref:o,patchFlag:i,children:r}=e,a=t?Un(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&br(a),ref:t&&t.ref?n&&o?se(o)?o.concat(jn(t)):[o,jn(t)]:jn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ie?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&bt(e.ssContent),ssFallback:e.ssFallback&&bt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function $e(e=" ",t=0){return N(tn,null,e,t)}function Ol(e,t){const n=N(Jt,null,e);return n.staticCount=t,n}function X(e="",t=!1){return t?(h(),ne(Be,null,e)):N(Be,null,e)}function qe(e){return e==null||typeof e=="boolean"?N(Be):se(e)?N(ie,null,e.slice()):typeof e=="object"?mt(e):N(tn,null,String(e))}function mt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:bt(e)}function bo(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(se(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),bo(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(fs in t)?t._ctx=Le:o===3&&Le&&(Le.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else re(t)?(t={default:t,_ctx:Le},n=32):(t=String(t),s&64?(n=16,t=[$e(t)]):n=8);e.children=t,e.shapeFlag|=n}function Un(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const o in s)if(o==="class")t.class!==s.class&&(t.class=ve([t.class,s.class]));else if(o==="style")t.style=eo([t.style,s.style]);else if(Cn(o)){const i=t[o],r=s[o];r&&i!==r&&!(se(i)&&i.includes(r))&&(t[o]=i?[].concat(i,r):r)}else o!==""&&(t[o]=s[o])}return t}function De(e,t,n,s=null){je(e,t,7,[n,s])}const zl=vr();let Hl=0;function Bl(e,t,n){const s=e.type,o=(t?t.appContext:e.appContext)||zl,i={uid:Hl++,vnode:e,type:s,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new ua(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:hr(s,o),emitsOptions:Zi(s,o),emit:null,emitted:null,propsDefaults:be,inheritAttrs:s.inheritAttrs,ctx:be,data:be,props:be,attrs:be,slots:be,refs:be,setupState:be,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 i.ctx={_:i},i.root=t?t.root:i,i.emit=Xa.bind(null,i),e.ce&&e.ce(i),i}let xe=null;const hs=()=>xe||Le,nn=e=>{xe=e,e.scope.on()},zt=()=>{xe&&xe.scope.off(),xe=null};function xr(e){return e.vnode.shapeFlag&4}let sn=!1;function Fl(e,t=!1){sn=t;const{props:n,children:s}=e.vnode,o=xr(e);xl(e,n,o,t),$l(e,s);const i=o?Rl(e,t):void 0;return sn=!1,i}function Rl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=hn(new Proxy(e.ctx,ml));const{setup:s}=n;if(s){const o=e.setupContext=s.length>1?kr(e):null;nn(e),rn();const i=gt(s,e,0,[e.props,o]);if(an(),zt(),Li(i)){if(i.then(zt,zt),t)return i.then(r=>{Qo(e,r,t)}).catch(r=>{Sn(r,e,0)});e.asyncDep=i}else Qo(e,i,t)}else wr(e,t)}function Qo(e,t,n){re(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ye(t)&&(e.setupState=Gi(t)),wr(e,n)}let Zo;function wr(e,t,n){const s=e.type;if(!e.render){if(!t&&Zo&&!s.render){const o=s.template||go(e).template;if(o){const{isCustomElement:i,compilerOptions:r}=e.appContext.config,{delimiters:a,compilerOptions:l}=s,u=Pe(Pe({isCustomElement:i,delimiters:a},r),l);s.render=Zo(o,u)}}e.render=s.render||Xe}nn(e),rn(),_l(e),an(),zt()}function Dl(e){return new Proxy(e.attrs,{get(t,n){return Ne(e,"get","$attrs"),t[n]}})}function kr(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=Dl(e))},slots:e.slots,emit:e.emit,expose:t}}function xo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Gi(hn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in pn)return pn[n](e)},has(t,n){return n in t||n in pn}}))}function jl(e,t=!0){return re(e)?e.displayName||e.name:e.name||t&&e.__name}function Ul(e){return re(e)&&"__vccOpts"in e}const ee=(e,t)=>Ua(e,t,sn);function Kl(){return Wl().slots}function Wl(){const e=hs();return e.setupContext||(e.setupContext=kr(e))}function Ht(e,t,n){const s=arguments.length;return s===2?ye(t)&&!se(t)?Qn(t)?N(e,null,[t]):N(e,t):N(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Qn(n)&&(n=[n]),N(e,t,n))}const ql=Symbol(""),Gl=()=>Je(ql),Yl="3.2.47",Xl="http://www.w3.org/2000/svg",It=typeof document<"u"?document:null,ei=It&&It.createElement("template"),Jl={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 o=t?It.createElementNS(Xl,e):It.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>It.createTextNode(e),createComment:e=>It.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>It.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,i){const r=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{ei.innerHTML=s?`<svg>${e}</svg>`:e;const a=ei.content;if(s){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Ql(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 Zl(e,t,n){const s=e.style,o=we(n);if(n&&!o){if(t&&!we(t))for(const i in t)n[i]==null&&Us(s,i,"");for(const i in n)Us(s,i,n[i])}else{const i=s.display;o?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const ti=/\s*!important$/;function Us(e,t,n){if(se(n))n.forEach(s=>Us(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=ec(e,t);ti.test(n)?e.setProperty(on(s),n.replace(ti,""),"important"):e[s]=n}}const ni=["Webkit","Moz","ms"],Cs={};function ec(e,t){const n=Cs[t];if(n)return n;let s=ot(t);if(s!=="filter"&&s in e)return Cs[t]=s;s=os(s);for(let o=0;o<ni.length;o++){const i=ni[o]+s;if(i in e)return Cs[t]=i}return t}const si="http://www.w3.org/1999/xlink";function tc(e,t,n,s,o){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(si,t.slice(6,t.length)):e.setAttributeNS(si,t,n);else{const i=ea(t);n==null||i&&!Si(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function nc(e,t,n,s,o,i,r){if(t==="innerHTML"||t==="textContent"){s&&r(s,o,i),e[t]=n??"";return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const l=n??"";(e.value!==l||e.tagName==="OPTION")&&(e.value=l),n==null&&e.removeAttribute(t);return}let a=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Si(n):n==null&&l==="string"?(n="",a=!0):l==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}function sc(e,t,n,s){e.addEventListener(t,n,s)}function oc(e,t,n,s){e.removeEventListener(t,n,s)}function ic(e,t,n,s,o=null){const i=e._vei||(e._vei={}),r=i[t];if(s&&r)r.value=s;else{const[a,l]=rc(t);if(s){const u=i[t]=cc(s,o);sc(e,a,u,l)}else r&&(oc(e,a,r,l),i[t]=void 0)}}const oi=/(?:Once|Passive|Capture)$/;function rc(e){let t;if(oi.test(e)){t={};let s;for(;s=e.match(oi);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):on(e.slice(2)),t]}let Ss=0;const ac=Promise.resolve(),lc=()=>Ss||(ac.then(()=>Ss=0),Ss=Date.now());function cc(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;je(uc(s,n.value),t,5,[s])};return n.value=e,n.attached=lc(),n}function uc(e,t){if(se(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>o=>!o._stopped&&s&&s(o))}else return t}const ii=/^on[a-z]/,dc=(e,t,n,s,o=!1,i,r,a,l)=>{t==="class"?Ql(e,s,o):t==="style"?Zl(e,n,s):Cn(t)?to(t)||ic(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):fc(e,t,s,o))?nc(e,t,s,i,r,a,l):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),tc(e,t,s,o))};function fc(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&ii.test(t)&&re(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||ii.test(t)&&we(n)?!1:t in e}function hc(e){const t=hs();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>Ws(i,o))},s=()=>{const o=e(t.proxy);Ks(t.subTree,o),n(o)};tr(s),Ae(()=>{const o=new MutationObserver(s);o.observe(t.subTree.el.parentNode,{childList:!0}),lt(()=>o.disconnect())})}function Ks(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Ks(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Ws(e.el,t);else if(e.type===ie)e.children.forEach(n=>Ks(n,t));else if(e.type===Jt){let{el:n,anchor:s}=e;for(;n&&(Ws(n,t),n!==s);)n=n.nextSibling}}function Ws(e,t){if(e.nodeType===1){const n=e.style;for(const s in t)n.setProperty(`--${s}`,t[s])}}const ht="transition",un="animation",ps=(e,{slots:t})=>Ht(sr,pc(e),t);ps.displayName="Transition";const $r={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};ps.props=Pe({},sr.props,$r);const Tt=(e,t=[])=>{se(e)?e.forEach(n=>n(...t)):e&&e(...t)},ri=e=>e?se(e)?e.some(t=>t.length>1):e.length>1:!1;function pc(e){const t={};for(const $ in e)$ in $r||(t[$]=e[$]);if(e.css===!1)return t;const{name:n="v",type:s,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:r=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:u=r,appearToClass:d=a,leaveFromClass:v=`${n}-leave-from`,leaveActiveClass:y=`${n}-leave-active`,leaveToClass:k=`${n}-leave-to`}=e,L=mc(o),H=L&&L[0],J=L&&L[1],{onBeforeEnter:w,onEnter:T,onEnterCancelled:m,onLeave:S,onLeaveCancelled:O,onBeforeAppear:te=w,onAppear:R=T,onAppearCancelled:p=m}=t,U=($,V,z)=>{Et($,V?d:a),Et($,V?u:r),z&&z()},D=($,V)=>{$._isLeaving=!1,Et($,v),Et($,k),Et($,y),V&&V()},Y=$=>(V,z)=>{const fe=$?R:T,K=()=>U(V,$,z);Tt(fe,[V,K]),ai(()=>{Et(V,$?l:i),pt(V,$?d:a),ri(fe)||li(V,s,H,K)})};return Pe(t,{onBeforeEnter($){Tt(w,[$]),pt($,i),pt($,r)},onBeforeAppear($){Tt(te,[$]),pt($,l),pt($,u)},onEnter:Y(!1),onAppear:Y(!0),onLeave($,V){$._isLeaving=!0;const z=()=>D($,V);pt($,v),gc(),pt($,y),ai(()=>{$._isLeaving&&(Et($,v),pt($,k),ri(S)||li($,s,J,z))}),Tt(S,[$,z])},onEnterCancelled($){U($,!1),Tt(m,[$])},onAppearCancelled($){U($,!0),Tt(p,[$])},onLeaveCancelled($){D($),Tt(O,[$])}})}function mc(e){if(e==null)return null;if(ye(e))return[Ts(e.enter),Ts(e.leave)];{const t=Ts(e);return[t,t]}}function Ts(e){return la(e)}function pt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Et(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function ai(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let _c=0;function li(e,t,n,s){const o=e._endId=++_c,i=()=>{o===e._endId&&s()};if(n)return setTimeout(i,n);const{type:r,timeout:a,propCount:l}=vc(e,t);if(!r)return s();const u=r+"end";let d=0;const v=()=>{e.removeEventListener(u,y),i()},y=k=>{k.target===e&&++d>=l&&v()};setTimeout(()=>{d<l&&v()},a+1),e.addEventListener(u,y)}function vc(e,t){const n=window.getComputedStyle(e),s=L=>(n[L]||"").split(", "),o=s(`${ht}Delay`),i=s(`${ht}Duration`),r=ci(o,i),a=s(`${un}Delay`),l=s(`${un}Duration`),u=ci(a,l);let d=null,v=0,y=0;t===ht?r>0&&(d=ht,v=r,y=i.length):t===un?u>0&&(d=un,v=u,y=l.length):(v=Math.max(r,u),d=v>0?r>u?ht:un:null,y=d?d===ht?i.length:l.length:0);const k=d===ht&&/\b(transform|all)(,|$)/.test(s(`${ht}Property`).toString());return{type:d,timeout:v,propCount:y,hasTransform:k}}function ci(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>ui(n)+ui(e[s])))}function ui(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function gc(){return document.body.offsetHeight}const yc=["ctrl","shift","alt","meta"],bc={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)=>yc.some(n=>e[`${n}Key`]&&!t.includes(n))},xc=(e,t)=>(n,...s)=>{for(let o=0;o<t.length;o++){const i=bc[t[o]];if(i&&i(n,t))return}return e(n,...s)},wc=Pe({patchProp:dc},Jl);let Es,di=!1;function kc(){return Es=di?Es:El(wc),di=!0,Es}const $c=(...e)=>{const t=kc().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=Pc(s);if(o)return n(o,!0,o instanceof SVGElement)},t};function Pc(e){return we(e)?document.querySelector(e):e}const q=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},Cc="modulepreload",Sc=function(e){return"/"+e},fi={},Pr=function(t,n,s){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=Sc(i),i in fi)return;fi[i]=!0;const r=i.endsWith(".css"),a=r?'[rel="stylesheet"]':"";if(!!s)for(let d=o.length-1;d>=0;d--){const v=o[d];if(v.href===i&&(!r||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${a}`))return;const u=document.createElement("link");if(u.rel=r?"stylesheet":Cc,r||(u.as="script",u.crossOrigin=""),u.href=i,document.head.appendChild(u),r)return new Promise((d,v)=>{u.addEventListener("load",d),u.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t())},Tc=JSON.parse(`{"lang":"en-US","dir":"ltr","title":"Toshiki's Note","description":"Toshiki's web notebook served via Vitepress!","base":"/","head":[],"appearance":true,"themeConfig":{"nav":[{"text":"Development","link":"/development/"},{"text":"Academic","items":[{"text":"K-12","items":[{"text":"Chemistry","link":"/academic/chemistry/index","activeMatch":"/academic/chemistry/"},{"text":"Discrete Math.","link":"/discrete-math/index","activeMatch":"/categories/fragments/"},{"text":"Literature","link":"/academic/literature/index","activeMatch":"/academic/literature/"}]},{"text":"Tools","items":[{"text":"Formulas for IPhO JPN.","link":"/academic/physics/ipho-formulas-jpn/1","activeMatch":"/academic/physics/ipho-formulas-jpn/"}]},{"text":"","link":"","activeMatch":""},{"text":"","link":"","activeMatch":""},{"text":"","link":"","activeMatch":""},{"text":"","link":"","activeMatch":""},{"text":"","link":"","activeMatch":""},{"text":"","link":"","activeMatch":""},{"text":"","link":"","activeMatch":""}],"activeMatch":"/academic/"},{"text":"Application","items":[{"text":"Personal projects","items":[{"text":"markdown-it-katex","link":"/application/markdown-it-katex/how-to-use","activeMatch":"/application/markdown-it-katex/"},{"text":"","link":"","activeMatch":""}]}],"activeMatch":"/save/"},{"text":"Save","items":[{"text":"Reading","link":"/save/reading/index","activeMatch":"/save/reading/"},{"text":"Vocabulary","link":"/academic/vocabulary/index","activeMatch":"/academic/vocabulary/"}],"activeMatch":"/save/"}],"sidebar":{"/development/":[{"text":"Wiki Database","collapsed":false,"items":[{"text":"","link":""}]}],"/academic/chemistry/":[{"text":"Textbook","collapsed":true,"items":[{"text":"12-5: Reaction Mechanism","link":"/academic/chemistry/notes/12-5"},{"text":"","link":""},{"text":"","link":""},{"text":"","link":""},{"text":"","link":""},{"text":"","link":""},{"text":"","link":""},{"text":"","link":""}]},{"text":"Kinetics","collapsed":false,"items":[{"text":"Rate determining steps","link":"/academic/chemistry/notes/kinetics/rate-determining-step"},{"text":"","link":""},{"text":"","link":""},{"text":"","link":""}]},{"text":"Problems & Solutions","collapsed":true,"items":[{"text":"Problem: 02-20","link":"/academic/chemistry/problems/02-20"},{"text":"Problem: 03-02-1","link":"/academic/chemistry/problems/03-02-1"},{"text":"Problem: 03-02-2","link":"/academic/chemistry/problems/03-02-2"},{"text":"Problem: 03-02-3","link":"/academic/chemistry/problems/03-02-3"}]}],"/academic/physics":[{"text":"IPhO Formulas: JP Ver.","collapsed":false,"items":[{"text":"1: 数学","link":"/academic/physics/ipho-formulas-jpn/1"},{"text":"2: 一般的な推奨事","link":"/academic/physics/ipho-formulas-jpn/2"},{"text":"3: 運動学","link":"/academic/physics/ipho-formulas-jpn/3"},{"text":"4: 力学","link":"/academic/physics/ipho-formulas-jpn/4"},{"text":"5: 振動と波","link":"/academic/physics/ipho-formulas-jpn/5"},{"text":"6: 幾何光学,測光","link":"/academic/physics/ipho-formulas-jpn/6"},{"text":"7: 波動光学","link":"/academic/physics/ipho-formulas-jpn/7"},{"text":"8: 電気回路","link":"/academic/physics/ipho-formulas-jpn/8"},{"text":"9: 電磁気学","link":"/academic/physics/ipho-formulas-jpn/9"},{"text":"10: 熱力","link":"/academic/physics/ipho-formulas-jpn/10"},{"text":"11: 量子力学","link":"/academic/physics/ipho-formulas-jpn/11"},{"text":"12: Keplerの法則","link":"/academic/physics/ipho-formulas-jpn/12"},{"text":"13: 相対性理論","link":"/academic/physics/ipho-formulas-jpn/13"}]}],"/academic/vocabulary/":[{"text":"Vocabulary","collapsed":true,"items":[{"text":"2023-02-27","link":"/academic/vocabulary/2023/02/2023-02-27"}]}],"/academic/literature/":[{"text":"Writing Resources","collapsed":true,"items":[{"text":"Patterns of Organization and Methods of Development","link":"/academic/literature/writing/methods-of-development"}]}],"/javascript/":[{"text":"1: Basic JavaScript-Value, Variables, and Control Flow","collapsed":true,"items":[{"text":"1-1: Numbers","link":"/javascript/notes/1/1-1"},{"text":"","link":""},{"text":"","link":""},{"text":"","link":""},{"text":"","link":""}]}],"/save/reading/":[{"text":"Outliers","collapsed":true,"items":[{"text":"Introduction & Chapter 1: The Roseto Mystery","link":"/save/reading/outliers/1"},{"text":"Chapter 2: The 10,000-Hour Rule","link":"/save/reading/outliers/2"},{"text":"Chapter 3: The Trouble with Geniuses, Part 1","link":"/save/reading/outliers/3"},{"text":"Chapter 4: The Trouble with Geniuses, Part 2","link":"/save/reading/outliers/4"}]}],"/application/":[{"text":"markdown-it-katex","collapsed":false,"items":[{"text":"1: How to use?","link":"/application/markdown-it-katex/how-to-use"},{"text":"2: KaTeX supported functions","link":"/application/markdown-it-katex/support-function"},{"text":"3: KaTeX support tables","link":"/application/markdown-it-katex/support-table"},{"text":"4: Tips","link":"/application/markdown-it-katex/tips"}]}]},"footer":{"copyright":"Copyright © 2023-2023 <a href=\\"https://github.com/andatoshiki\\">Anda Toshiki</a>, <a href=\\"https://github.com/lolilab\\">LoliLab</a> and <a href=\\"https://github.com/toshikidev\\">Toshiki Dev</a> present <br /><span id=\\"siteruntime_span\\"></span>","message":"Wrote with <i class=\\"heart fa fa-heart fa-xs fa-beat\\"></i> and <i class=\\"coffee fa fa-coffee fa-xs\\" aria-hidden=\\"true\\"></i> by <a href=\\"https://toshiki.dev\\">Anda Toshiki</a> at <code>root@andatoshiki:/~</code>"},"logo":"/logos/logo.png","outline":"deep","outlineTitle":"TOC","outlineBadges":false,"lastUpdatedText":"Last updated","algolia":{"appId":"G9IUR45K98","apiKey":"8528cc91281d8112b28f508317a96dd3","indexName":"toshiki-notebook"},"editLink":{"pattern":"https://github.com/andatoshiki/toshiki-notebook/edit/master/docs/:path","text":"Edit this page on GitHub"},"socialLinks":[{"icon":"github","link":"https://github.com/andatoshiki"},{"icon":"twitter","link":"https://twitter.com/andatoshiki"}]},"locales":{},"scrollOffset":90,"cleanUrls":true}`),ms=/^[a-z]+:/i,Ec=/^pathname:\/\//,hi="vitepress-theme-appearance",Cr=/#.*$/,Lc=/(index)?\.(md|html)$/,Se=typeof document<"u",Sr={relativePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0};function Ft(e,t,n=!1){if(t===void 0)return!1;if(e=pi(`/${e}`),n)return new RegExp(t).test(e);if(pi(t)!==e)return!1;const s=t.match(Cr);return s?(Se?location.hash:"")===s[0]:!0}function pi(e){return decodeURI(e).replace(Cr,"").replace(Lc,"")}function Tr(e){return ms.test(e)}function Mc(e,t){var s,o,i,r,a,l,u;const n=Object.keys(e.locales).find(d=>d!=="root"&&!Tr(d)&&Ft(t,`/${d}/`,!0))||"root";return Object.assign({},e,{localeIndex:n,lang:((s=e.locales[n])==null?void 0:s.lang)??e.lang,dir:((o=e.locales[n])==null?void 0:o.dir)??e.dir,title:((i=e.locales[n])==null?void 0:i.title)??e.title,titleTemplate:((r=e.locales[n])==null?void 0:r.titleTemplate)??e.titleTemplate,description:((a=e.locales[n])==null?void 0:a.description)??e.description,head:Lr(e.head,((l=e.locales[n])==null?void 0:l.head)??[]),themeConfig:{...e.themeConfig,...(u=e.locales[n])==null?void 0:u.themeConfig}})}function Er(e,t){const n=t.title||e.title,s=t.titleTemplate??e.titleTemplate;if(typeof s=="string"&&s.includes(":title"))return s.replace(/:title/g,n);const o=Ac(e.title,s);return`${n}${o}`}function Ac(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function Vc(e,t){const[n,s]=t;if(n!=="meta")return!1;const o=Object.entries(s)[0];return o==null?!1:e.some(([i,r])=>i===n&&r[o[0]]===o[1])}function Lr(e,t){return[...e.filter(n=>!Vc(t,n)),...t]}const Ic=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,Nc=/^[a-z]:/i;function mi(e){const t=Nc.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(Ic,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const Mr=Symbol(),_t=Fa(Tc);function Oc(e){const t=ee(()=>Mc(_t.value,e.data.relativePath));return{site:t,theme:ee(()=>t.value.themeConfig),page:ee(()=>e.data),frontmatter:ee(()=>e.data.frontmatter),lang:ee(()=>t.value.lang),dir:ee(()=>t.value.dir),localeIndex:ee(()=>t.value.localeIndex||"root"),title:ee(()=>Er(t.value,e.data)),description:ee(()=>e.data.description||t.value.description),isDark:ue(!1)}}function _s(){const e=Je(Mr);if(!e)throw new Error("vitepress data not properly injected in app");return e}function zc(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function $n(e){return ms.test(e)||e.startsWith(".")?e:zc(_t.value.base,e)}function Ar(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),Se){const n="/";t=mi(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let s=__VP_HASH_MAP__[t.toLowerCase()];s||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",s=__VP_HASH_MAP__[t.toLowerCase()]),t=`${n}assets/${t}.${s}.js`}else t=`./${mi(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}const Vr=Symbol(),_i="http://a.com",Hc=()=>({path:"/",component:null,data:Sr});function Bc(e,t){const n=rs(Hc()),s={route:n,go:o};async function o(a=Se?location.href:"/"){var u,d;await((u=s.onBeforeRouteChange)==null?void 0:u.call(s,a));const l=new URL(a,_i);_t.value.cleanUrls||!l.pathname.endsWith("/")&&!l.pathname.endsWith(".html")&&(l.pathname+=".html",a=l.pathname+l.search+l.hash),Se&&a!==location.href&&(history.replaceState({scrollPosition:window.scrollY},document.title),history.pushState(null,"",a)),await r(a),await((d=s.onAfterRouteChanged)==null?void 0:d.call(s,a))}let i=null;async function r(a,l=0,u=!1){const d=new URL(a,_i),v=i=d.pathname;try{let y=await e(v);if(i===v){i=null;const{default:k,__pageData:L}=y;if(!k)throw new Error(`Invalid route component: ${k}`);n.path=Se?v:$n(v),n.component=hn(k),n.data=hn(L),Se&&mo(()=>{let H=_t.value.base+L.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!_t.value.cleanUrls&&!H.endsWith("/")&&(H+=".html"),H!==d.pathname&&(d.pathname=H,a=H+d.search+d.hash,history.replaceState(null,"",a)),d.hash&&!l){let J=null;try{J=document.querySelector(decodeURIComponent(d.hash))}catch(w){console.warn(w)}if(J){vi(J,d.hash);return}}window.scrollTo(0,l)})}}catch(y){if(!/fetch/.test(y.message)&&!/^\/404(\.html|\/)?$/.test(a)&&console.error(y),!u)try{const k=await fetch(_t.value.base+"hashmap.json");window.__VP_HASH_MAP__=await k.json(),await r(a,l,!0);return}catch{}i===v&&(i=null,n.path=Se?v:$n(v),n.component=t?hn(t):null,n.data=Sr)}}return Se&&(window.addEventListener("click",a=>{if(a.target.closest("button"))return;const u=a.target.closest("a");if(u&&!u.closest(".vp-raw")&&(u instanceof SVGElement||!u.download)){const{target:d}=u,{href:v,origin:y,pathname:k,hash:L,search:H}=new URL(u.href instanceof SVGAnimatedString?u.href.animVal:u.href,u.baseURI),J=window.location,w=k.match(/\.\w+$/);!a.ctrlKey&&!a.shiftKey&&!a.altKey&&!a.metaKey&&d!=="_blank"&&y===J.origin&&!(w&&w[0]!==".html")&&(a.preventDefault(),k===J.pathname&&H===J.search?L&&L!==J.hash&&(history.pushState(null,"",L),window.dispatchEvent(new Event("hashchange")),vi(u,L,u.classList.contains("header-anchor"))):o(v))}},{capture:!0}),window.addEventListener("popstate",a=>{r(location.href,a.state&&a.state.scrollPosition||0)}),window.addEventListener("hashchange",a=>{a.preventDefault()})),s}function Fc(){const e=Je(Vr);if(!e)throw new Error("useRouter() is called without provider.");return e}function wt(){return Fc().route}function vi(e,t,n=!1){let s=null;try{s=e.classList.contains("header-anchor")?e:document.querySelector(decodeURIComponent(t))}catch(o){console.warn(o)}if(s){let o=_t.value.scrollOffset;typeof o=="string"&&(o=document.querySelector(o).getBoundingClientRect().bottom+24);const i=parseInt(window.getComputedStyle(s).paddingTop,10),r=window.scrollY+s.getBoundingClientRect().top-o+i;!n||Math.abs(r-window.scrollY)>window.innerHeight?window.scrollTo(0,r):window.scrollTo({left:0,top:r,behavior:"smooth"})}}const Rc=W({name:"VitePressContent",props:{onContentUpdated:Function},setup(e){const t=wt();return _o(()=>{var n;(n=e.onContentUpdated)==null||n.call(e)}),()=>Ht("div",{style:{position:"relative"}},[t.component?Ht(t.component):null])}});const Dc=W({__name:"VPBadge",props:{text:null,type:null},setup(e){return(t,n)=>(h(),x("span",{class:ve(["VPBadge",e.type??"tip"])},[I(t.$slots,"default",{},()=>[$e(de(e.text),1)],!0)],2))}});const jc=q(Dc,[["__scopeId","data-v-350d3852"]]),me=_s;var gi;const En=typeof window<"u",Uc=e=>typeof e=="string",Kc=()=>{};En&&((gi=window==null?void 0:window.navigator)!=null&&gi.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Ir(e){return typeof e=="function"?e():_(e)}function Wc(e){return e}function Nr(e){return Vi()?(fa(e),!0):!1}function qc(e){return typeof e=="function"?ee(e):ue(e)}function Gc(e,t=!0){hs()?Ae(e):t?e():mo(e)}function Yc(e){var t;const n=Ir(e);return(t=n==null?void 0:n.$el)!=null?t:n}const wo=En?window:void 0;En&&window.document;En&&window.navigator;En&&window.location;function Xc(...e){let t,n,s,o;if(Uc(e[0])||Array.isArray(e[0])?([n,s,o]=e,t=wo):[t,n,s,o]=e,!t)return Kc;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const i=[],r=()=>{i.forEach(d=>d()),i.length=0},a=(d,v,y,k)=>(d.addEventListener(v,y,k),()=>d.removeEventListener(v,y,k)),l=st(()=>[Yc(t),Ir(o)],([d,v])=>{r(),d&&i.push(...n.flatMap(y=>s.map(k=>a(d,y,k,v))))},{immediate:!0,flush:"post"}),u=()=>{l(),r()};return Nr(u),u}function Jc(e,t=!1){const n=ue(),s=()=>n.value=Boolean(e());return s(),Gc(s,t),n}function qs(e,t={}){const{window:n=wo}=t,s=Jc(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const i=ue(!1),r=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",a):o.removeListener(a))},a=()=>{s.value&&(r(),o=n.matchMedia(qc(e).value),i.value=o.matches,"addEventListener"in o?o.addEventListener("change",a):o.addListener(a))};return Bt(a),Nr(()=>r()),i}const Gs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ys="__vueuse_ssr_handlers__";Gs[Ys]=Gs[Ys]||{};Gs[Ys];var yi;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(yi||(yi={}));var Qc=Object.defineProperty,bi=Object.getOwnPropertySymbols,Zc=Object.prototype.hasOwnProperty,eu=Object.prototype.propertyIsEnumerable,xi=(e,t,n)=>t in e?Qc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tu=(e,t)=>{for(var n in t||(t={}))Zc.call(t,n)&&xi(e,n,t[n]);if(bi)for(var n of bi(t))eu.call(t,n)&&xi(e,n,t[n]);return e};const nu={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};tu({linear:Wc},nu);function su({window:e=wo}={}){if(!e)return{x:ue(0),y:ue(0)};const t=ue(e.scrollX),n=ue(e.scrollY);return Xc(e,"scroll",()=>{t.value=e.scrollX,n.value=e.scrollY},{capture:!1,passive:!0}),{x:t,y:n}}function Or(e,t){let n,s=!1;return()=>{n&&clearTimeout(n),s?n=setTimeout(e,t):(e(),s=!0,setTimeout(()=>{s=!1},t))}}function Xs(e){return/^\//.test(e)?e:`/${e}`}function Pn(e){if(Tr(e))return e.replace(Ec,"");const{site:t}=me(),{pathname:n,search:s,hash:o}=new URL(e,"http://example.com"),i=n.endsWith("/")||n.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${n.replace(/(\.md)?$/,t.value.cleanUrls?"":".html")}${s}${o}`);return $n(i)}function zr(e,t){if(Array.isArray(e))return e;if(e==null)return[];t=Xs(t);const n=Object.keys(e).sort((s,o)=>o.split("/").length-s.split("/").length).find(s=>t.startsWith(Xs(s)));return n?e[n]:[]}function ou(e){const t=[];let n=0;for(const s in e){const o=e[s];if(o.items){n=t.push(o);continue}t[n]||t.push({items:[]}),t[n].items.push(o)}return t}function iu(e){const t=[];function n(s){for(const o of s)o.text&&o.link&&t.push({text:o.text,link:o.link}),o.items&&n(o.items)}return n(e),t}function Js(e,t){return Array.isArray(t)?t.some(n=>Js(e,n)):Ft(e,t.link)?!0:t.items?Js(e,t.items):!1}function ct(){const e=wt(),{theme:t,frontmatter:n}=me(),s=qs("(min-width: 960px)"),o=ue(!1),i=ee(()=>{const k=t.value.sidebar,L=e.data.relativePath;return k?zr(k,L):[]}),r=ee(()=>n.value.sidebar!==!1&&i.value.length>0&&n.value.layout!=="home"),a=ee(()=>n.value.layout==="home"?!1:n.value.aside!=null?!!n.value.aside:t.value.aside!==!1),l=ee(()=>r.value&&s.value),u=ee(()=>r.value?ou(i.value):[]);function d(){o.value=!0}function v(){o.value=!1}function y(){o.value?v():d()}return{isOpen:o,sidebar:i,sidebarGroups:u,hasSidebar:r,hasAside:a,isSidebarEnabled:l,open:d,close:v,toggle:y}}function ru(e,t){let n;Bt(()=>{n=e.value?document.activeElement:void 0}),Ae(()=>{window.addEventListener("keyup",s)}),lt(()=>{window.removeEventListener("keyup",s)});function s(o){o.key==="Escape"&&e.value&&(t(),n==null||n.focus())}}function au(e){const{page:t}=me(),n=ue(!1),s=ee(()=>e.value.collapsed!=null),o=ee(()=>!!e.value.link),i=ee(()=>Ft(t.value.relativePath,e.value.link)),r=ee(()=>i.value?!0:e.value.items?Js(t.value.relativePath,e.value.items):!1),a=ee(()=>!!(e.value.items&&e.value.items.length));Bt(()=>{n.value=!!(s.value&&e.value.collapsed)}),Bt(()=>{(i.value||r.value)&&(n.value=!1)});function l(){s.value&&(n.value=!n.value)}return{collapsed:n,collapsible:s,isLink:o,isActiveLink:i,hasActiveLink:r,hasChildren:a,toggle:l}}const lu=W({__name:"VPSkipLink",setup(e){const t=wt(),n=ue();st(()=>t.path,()=>n.value.focus());function s({target:o}){const i=document.querySelector(o.hash);if(i){const r=()=>{i.removeAttribute("tabindex"),i.removeEventListener("blur",r)};i.setAttribute("tabindex","-1"),i.addEventListener("blur",r),i.focus(),window.scrollTo(0,0)}}return(o,i)=>(h(),x(ie,null,[g("span",{ref_key:"backToTop",ref:n,tabindex:"-1"},null,512),g("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s}," Skip to content ")],64))}});const cu=q(lu,[["__scopeId","data-v-151f2593"]]),uu={key:0,class:"VPBackdrop"},du=W({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,n)=>(h(),ne(ps,{name:"fade"},{default:j(()=>[e.show?(h(),x("div",uu)):X("",!0)]),_:1}))}});const fu=q(du,[["__scopeId","data-v-c79a1216"]]);function hu(){const e=ue(!1);function t(){e.value=!0,window.addEventListener("resize",o)}function n(){e.value=!1,window.removeEventListener("resize",o)}function s(){e.value?n():t()}function o(){window.outerWidth>=768&&n()}const i=wt();return st(()=>i.path,n),{isScreenOpen:e,openScreen:t,closeScreen:n,toggleScreen:s}}function Ln({removeCurrent:e=!0,correspondingLink:t=!1}={}){const{site:n,localeIndex:s,page:o,theme:i}=me(),r=ee(()=>{var l,u;return{label:(l=n.value.locales[s.value])==null?void 0:l.label,link:((u=n.value.locales[s.value])==null?void 0:u.link)||(s.value==="root"?"/":`/${s.value}/`)}});return{localeLinks:ee(()=>Object.entries(n.value.locales).flatMap(([l,u])=>e&&r.value.label===u.label?[]:{text:u.label,link:pu(u.link||(l==="root"?"/":`/${l}/`),i.value.i18nRouting!==!1&&t,o.value.relativePath.slice(r.value.link.length-1),!n.value.cleanUrls)})),currentLang:r}}function pu(e,t,n,s){return t?e.replace(/\/$/,"")+Xs(n.replace(/(^|\/)?index.md$/,"$1").replace(/\.md$/,s?".html":"")):e}const mu=["src","alt"],_u={inheritAttrs:!1},vu=W({..._u,__name:"VPImage",props:{image:null,alt:null},setup(e){return(t,n)=>{const s=xt("VPImage",!0);return e.image?(h(),x(ie,{key:0},[typeof e.image=="string"||"src"in e.image?(h(),x("img",Un({key:0,class:"VPImage"},typeof e.image=="string"?t.$attrs:{...e.image,...t.$attrs},{src:_($n)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,mu)):(h(),x(ie,{key:1},[N(s,Un({class:"dark",image:e.image.dark,alt:e.image.alt},t.$attrs),null,16,["image","alt"]),N(s,Un({class:"light",image:e.image.light,alt:e.image.alt},t.$attrs),null,16,["image","alt"])],64))],64)):X("",!0)}}});const ko=q(vu,[["__scopeId","data-v-6db2186b"]]),gu=["href"],yu=W({__name:"VPNavBarTitle",setup(e){const{site:t,theme:n}=me(),{hasSidebar:s}=ct(),{currentLang:o}=Ln();return(i,r)=>(h(),x("div",{class:ve(["VPNavBarTitle",{"has-sidebar":_(s)}])},[g("a",{class:"title",href:_(Pn)(_(o).link)},[I(i.$slots,"nav-bar-title-before",{},void 0,!0),_(n).logo?(h(),ne(ko,{key:0,class:"logo",image:_(n).logo},null,8,["image"])):X("",!0),_(n).siteTitle?(h(),x(ie,{key:1},[$e(de(_(n).siteTitle),1)],64)):_(n).siteTitle===void 0?(h(),x(ie,{key:2},[$e(de(_(t).title),1)],64)):X("",!0),I(i.$slots,"nav-bar-title-after",{},void 0,!0)],8,gu)],2))}});const bu=q(yu,[["__scopeId","data-v-6d2fb2d9"]]);const xu={key:0,class:"VPNavBarSearch"},wu={type:"button",class:"DocSearch DocSearch-Button","aria-label":"Search"},ku={class:"DocSearch-Button-Container"},$u=g("svg",{class:"DocSearch-Search-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},[g("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),Pu={class:"DocSearch-Button-Placeholder"},Cu=g("span",{class:"DocSearch-Button-Keys"},[g("kbd",{class:"DocSearch-Button-Key"}),g("kbd",{class:"DocSearch-Button-Key"},"K")],-1),Su=W({__name:"VPNavBarSearch",setup(e){hc(d=>({"636b0e38":i.value}));const t=il(()=>Pr(()=>import("./chunks/VPAlgoliaSearchBox.6d4ee094.js"),[])),{theme:n,localeIndex:s}=me(),o=ue(!1),i=ue("'Meta'"),r=ee(()=>{var d,v,y,k,L,H,J,w;return((L=(k=(y=(v=(d=n.value.algolia)==null?void 0:d.locales)==null?void 0:v[s.value])==null?void 0:y.translations)==null?void 0:k.button)==null?void 0:L.buttonText)||((w=(J=(H=n.value.algolia)==null?void 0:H.translations)==null?void 0:J.button)==null?void 0:w.buttonText)||"Search"}),a=()=>{const d="VPAlgoliaPreconnect";(window.requestIdleCallback||setTimeout)(()=>{const y=document.createElement("link");y.id=d,y.rel="preconnect",y.href=`https://${n.value.algolia.appId}-dsn.algolia.net`,y.crossOrigin="",document.head.appendChild(y)})};Ae(()=>{if(!n.value.algolia)return;a(),i.value=/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"'⌘'":"'Ctrl'";const d=y=>{y.key==="k"&&(y.ctrlKey||y.metaKey)&&(y.preventDefault(),l(),v())},v=()=>{window.removeEventListener("keydown",d)};window.addEventListener("keydown",d),lt(v)});function l(){o.value||(o.value=!0,setTimeout(u,16))}function u(){const d=new Event("keydown");d.key="k",d.metaKey=!0,window.dispatchEvent(d),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||u()},16)}return(d,v)=>_(n).algolia?(h(),x("div",xu,[o.value?(h(),ne(_(t),{key:0,algolia:_(n).algolia},null,8,["algolia"])):(h(),x("div",{key:1,id:"docsearch",onClick:l},[g("button",wu,[g("span",ku,[$u,g("span",Pu,de(_(r)),1)]),Cu])]))])):X("",!0)}});const Tu={},Eu={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",height:"24px",viewBox:"0 0 24 24",width:"24px"},Lu=g("path",{d:"M0 0h24v24H0V0z",fill:"none"},null,-1),Mu=g("path",{d:"M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z"},null,-1),Au=[Lu,Mu];function Vu(e,t){return h(),x("svg",Eu,Au)}const Iu=q(Tu,[["render",Vu]]),Nu=W({__name:"VPLink",props:{tag:null,href:null,noIcon:{type:Boolean}},setup(e){const t=e,n=ee(()=>t.tag??t.href?"a":"span"),s=ee(()=>t.href&&ms.test(t.href));return(o,i)=>(h(),ne(wn(_(n)),{class:ve(["VPLink",{link:e.href}]),href:e.href?_(Pn)(e.href):void 0,target:_(s)?"_blank":void 0,rel:_(s)?"noreferrer":void 0},{default:j(()=>[I(o.$slots,"default",{},void 0,!0),_(s)&&!e.noIcon?(h(),ne(Iu,{key:0,class:"icon"})):X("",!0)]),_:3},8,["class","href","target","rel"]))}});const kt=q(Nu,[["__scopeId","data-v-30c06bd3"]]),Ou=W({__name:"VPNavBarMenuLink",props:{item:null},setup(e){const{page:t}=me();return(n,s)=>(h(),ne(kt,{class:ve({VPNavBarMenuLink:!0,active:_(Ft)(_(t).relativePath,e.item.activeMatch||e.item.link,!!e.item.activeMatch)}),href:e.item.link,noIcon:!0},{default:j(()=>[$e(de(e.item.text),1)]),_:1},8,["class","href"]))}});const zu=q(Ou,[["__scopeId","data-v-95f5d58b"]]),$o=ue();let Hr=!1,Ls=0;function Hu(e){const t=ue(!1);if(Se){!Hr&&Bu(),Ls++;const n=st($o,s=>{var o,i,r;s===e.el.value||(o=e.el.value)!=null&&o.contains(s)?(t.value=!0,(i=e.onFocus)==null||i.call(e)):(t.value=!1,(r=e.onBlur)==null||r.call(e))});lt(()=>{n(),Ls--,Ls||Fu()})}return uo(t)}function Bu(){document.addEventListener("focusin",Br),Hr=!0,$o.value=document.activeElement}function Fu(){document.removeEventListener("focusin",Br)}function Br(){$o.value=document.activeElement}const Ru={},Du={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},ju=g("path",{d:"M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"},null,-1),Uu=[ju];function Ku(e,t){return h(),x("svg",Du,Uu)}const Fr=q(Ru,[["render",Ku]]),Wu={},qu={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Gu=g("circle",{cx:"12",cy:"12",r:"2"},null,-1),Yu=g("circle",{cx:"19",cy:"12",r:"2"},null,-1),Xu=g("circle",{cx:"5",cy:"12",r:"2"},null,-1),Ju=[Gu,Yu,Xu];function Qu(e,t){return h(),x("svg",qu,Ju)}const Zu=q(Wu,[["render",Qu]]),ed={class:"VPMenuLink"},td=W({__name:"VPMenuLink",props:{item:null},setup(e){const{page:t}=me();return(n,s)=>(h(),x("div",ed,[N(kt,{class:ve({active:_(Ft)(_(t).relativePath,e.item.activeMatch||e.item.link,!!e.item.activeMatch)}),href:e.item.link},{default:j(()=>[$e(de(e.item.text),1)]),_:1},8,["class","href"])]))}});const vs=q(td,[["__scopeId","data-v-a5bbb52c"]]),nd={class:"VPMenuGroup"},sd={key:0,class:"title"},od=W({__name:"VPMenuGroup",props:{text:null,items:null},setup(e){return(t,n)=>(h(),x("div",nd,[e.text?(h(),x("p",sd,de(e.text),1)):X("",!0),(h(!0),x(ie,null,Ce(e.items,s=>(h(),x(ie,null,["link"in s?(h(),ne(vs,{key:0,item:s},null,8,["item"])):X("",!0)],64))),256))]))}});const id=q(od,[["__scopeId","data-v-b66affaf"]]),rd={class:"VPMenu"},ad={key:0,class:"items"},ld=W({__name:"VPMenu",props:{items:null},setup(e){return(t,n)=>(h(),x("div",rd,[e.items?(h(),x("div",ad,[(h(!0),x(ie,null,Ce(e.items,s=>(h(),x(ie,{key:s.text},["link"in s?(h(),ne(vs,{key:0,item:s},null,8,["item"])):(h(),ne(id,{key:1,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):X("",!0),I(t.$slots,"default",{},void 0,!0)]))}});const cd=q(ld,[["__scopeId","data-v-e7ea1737"]]),ud=["aria-expanded","aria-label"],dd={key:0,class:"text"},fd={class:"menu"},hd=W({__name:"VPFlyout",props:{icon:null,button:null,label:null,items:null},setup(e){const t=ue(!1),n=ue();Hu({el:n,onBlur:s});function s(){t.value=!1}return(o,i)=>(h(),x("div",{class:"VPFlyout",ref_key:"el",ref:n,onMouseenter:i[1]||(i[1]=r=>t.value=!0),onMouseleave:i[2]||(i[2]=r=>t.value=!1)},[g("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":t.value,"aria-label":e.label,onClick:i[0]||(i[0]=r=>t.value=!t.value)},[e.button||e.icon?(h(),x("span",dd,[e.icon?(h(),ne(wn(e.icon),{key:0,class:"option-icon"})):X("",!0),$e(" "+de(e.button)+" ",1),N(Fr,{class:"text-icon"})])):(h(),ne(Zu,{key:1,class:"icon"}))],8,ud),g("div",fd,[N(cd,{items:e.items},{default:j(()=>[I(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}});const Po=q(hd,[["__scopeId","data-v-96001b6b"]]),pd=W({__name:"VPNavBarMenuGroup",props:{item:null},setup(e){const{page:t}=me();return(n,s)=>(h(),ne(Po,{class:ve({VPNavBarMenuGroup:!0,active:_(Ft)(_(t).relativePath,e.item.activeMatch,!!e.item.activeMatch)}),button:e.item.text,items:e.item.items},null,8,["class","button","items"]))}}),md=e=>(Qe("data-v-bdedfc22"),e=e(),Ze(),e),_d={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},vd=md(()=>g("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),gd=W({__name:"VPNavBarMenu",setup(e){const{theme:t}=me();return(n,s)=>_(t).nav?(h(),x("nav",_d,[vd,(h(!0),x(ie,null,Ce(_(t).nav,o=>(h(),x(ie,{key:o.text},["link"in o?(h(),ne(zu,{key:0,item:o},null,8,["item"])):(h(),ne(pd,{key:1,item:o},null,8,["item"]))],64))),128))])):X("",!0)}});const yd=q(gd,[["__scopeId","data-v-bdedfc22"]]),bd={},xd={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},wd=g("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),kd=g("path",{d:" M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z ",class:"css-c4d79v"},null,-1),$d=[wd,kd];function Pd(e,t){return h(),x("svg",xd,$d)}const Rr=q(bd,[["render",Pd]]),Cd={class:"items"},Sd={class:"title"},Td=W({__name:"VPNavBarTranslations",setup(e){const{localeLinks:t,currentLang:n}=Ln({correspondingLink:!0});return(s,o)=>_(t).length&&_(n).label?(h(),ne(Po,{key:0,class:"VPNavBarTranslations",icon:Rr},{default:j(()=>[g("div",Cd,[g("p",Sd,de(_(n).label),1),(h(!0),x(ie,null,Ce(_(t),i=>(h(),ne(vs,{key:i.link,item:i},null,8,["item"]))),128))])]),_:1})):X("",!0)}});const Ed=q(Td,[["__scopeId","data-v-fdaf79b7"]]);const Ld={},Md={class:"VPSwitch",type:"button",role:"switch"},Ad={class:"check"},Vd={key:0,class:"icon"};function Id(e,t){return h(),x("button",Md,[g("span",Ad,[e.$slots.default?(h(),x("span",Vd,[I(e.$slots,"default",{},void 0,!0)])):X("",!0)])])}const Nd=q(Ld,[["render",Id],["__scopeId","data-v-f3c41672"]]),Od={},zd={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Hd=Ol('<path d="M12,18c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S15.3,18,12,18zM12,8c-2.2,0-4,1.8-4,4c0,2.2,1.8,4,4,4c2.2,0,4-1.8,4-4C16,9.8,14.2,8,12,8z"></path><path d="M12,4c-0.6,0-1-0.4-1-1V1c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,3.6,12.6,4,12,4z"></path><path d="M12,24c-0.6,0-1-0.4-1-1v-2c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,23.6,12.6,24,12,24z"></path><path d="M5.6,6.6c-0.3,0-0.5-0.1-0.7-0.3L3.5,4.9c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C6.2,6.5,5.9,6.6,5.6,6.6z"></path><path d="M19.8,20.8c-0.3,0-0.5-0.1-0.7-0.3l-1.4-1.4c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C20.3,20.7,20,20.8,19.8,20.8z"></path><path d="M3,13H1c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S3.6,13,3,13z"></path><path d="M23,13h-2c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S23.6,13,23,13z"></path><path d="M4.2,20.8c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C4.7,20.7,4.5,20.8,4.2,20.8z"></path><path d="M18.4,6.6c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C18.9,6.5,18.6,6.6,18.4,6.6z"></path>',9),Bd=[Hd];function Fd(e,t){return h(),x("svg",zd,Bd)}const Rd=q(Od,[["render",Fd]]),Dd={},jd={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Ud=g("path",{d:"M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"},null,-1),Kd=[Ud];function Wd(e,t){return h(),x("svg",jd,Kd)}const qd=q(Dd,[["render",Wd]]),Gd=W({__name:"VPSwitchAppearance",setup(e){const{site:t,isDark:n}=me(),s=ue(!1),o=typeof localStorage<"u"?i():()=>{};Ae(()=>{s.value=document.documentElement.classList.contains("dark")});function i(){const r=window.matchMedia("(prefers-color-scheme: dark)"),a=document.documentElement.classList;let l=localStorage.getItem(hi),u=t.value.appearance==="dark"&&l==null||(l==="auto"||l==null?r.matches:l==="dark");r.onchange=y=>{l==="auto"&&v(u=y.matches)};function d(){v(u=!u),l=u?r.matches?"auto":"dark":r.matches?"light":"auto",localStorage.setItem(hi,l)}function v(y){const k=document.createElement("style");k.type="text/css",k.appendChild(document.createTextNode(`:not(.VPSwitchAppearance):not(.VPSwitchAppearance *) {
|
||
-webkit-transition: none !important;
|
||
-moz-transition: none !important;
|
||
-o-transition: none !important;
|
||
-ms-transition: none !important;
|
||
transition: none !important;
|
||
}`)),document.head.appendChild(k),s.value=y,a[y?"add":"remove"]("dark"),window.getComputedStyle(k).opacity,document.head.removeChild(k)}return d}return st(s,r=>{n.value=r}),(r,a)=>(h(),ne(Nd,{class:"VPSwitchAppearance","aria-label":"toggle dark mode","aria-checked":s.value,onClick:_(o)},{default:j(()=>[N(Rd,{class:"sun"}),N(qd,{class:"moon"})]),_:1},8,["aria-checked","onClick"]))}});const Co=q(Gd,[["__scopeId","data-v-0d529b6d"]]),Yd={key:0,class:"VPNavBarAppearance"},Xd=W({__name:"VPNavBarAppearance",setup(e){const{site:t}=me();return(n,s)=>_(t).appearance?(h(),x("div",Yd,[N(Co)])):X("",!0)}});const Jd=q(Xd,[["__scopeId","data-v-da3f667a"]]),Qd={discord:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Discord</title><path d="M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"/></svg>',facebook:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Facebook</title><path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"/></svg>',github:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>GitHub</title><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>',instagram:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Instagram</title><path d="M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.899 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.899-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678c-3.405 0-6.162 2.76-6.162 6.162 0 3.405 2.76 6.162 6.162 6.162 3.405 0 6.162-2.76 6.162-6.162 0-3.405-2.76-6.162-6.162-6.162zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405c0 .795-.646 1.44-1.44 1.44-.795 0-1.44-.646-1.44-1.44 0-.794.646-1.439 1.44-1.439.793-.001 1.44.645 1.44 1.439z"/></svg>',linkedin:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>LinkedIn</title><path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/></svg>',mastodon:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Mastodon</title><path d="M23.268 5.313c-.35-2.578-2.617-4.61-5.304-5.004C17.51.242 15.792 0 11.813 0h-.03c-3.98 0-4.835.242-5.288.309C3.882.692 1.496 2.518.917 5.127.64 6.412.61 7.837.661 9.143c.074 1.874.088 3.745.26 5.611.118 1.24.325 2.47.62 3.68.55 2.237 2.777 4.098 4.96 4.857 2.336.792 4.849.923 7.256.38.265-.061.527-.132.786-.213.585-.184 1.27-.39 1.774-.753a.057.057 0 0 0 .023-.043v-1.809a.052.052 0 0 0-.02-.041.053.053 0 0 0-.046-.01 20.282 20.282 0 0 1-4.709.545c-2.73 0-3.463-1.284-3.674-1.818a5.593 5.593 0 0 1-.319-1.433.053.053 0 0 1 .066-.054c1.517.363 3.072.546 4.632.546.376 0 .75 0 1.125-.01 1.57-.044 3.224-.124 4.768-.422.038-.008.077-.015.11-.024 2.435-.464 4.753-1.92 4.989-5.604.008-.145.03-1.52.03-1.67.002-.512.167-3.63-.024-5.545zm-3.748 9.195h-2.561V8.29c0-1.309-.55-1.976-1.67-1.976-1.23 0-1.846.79-1.846 2.35v3.403h-2.546V8.663c0-1.56-.617-2.35-1.848-2.35-1.112 0-1.668.668-1.67 1.977v6.218H4.822V8.102c0-1.31.337-2.35 1.011-3.12.696-.77 1.608-1.164 2.74-1.164 1.311 0 2.302.5 2.962 1.498l.638 1.06.638-1.06c.66-.999 1.65-1.498 2.96-1.498 1.13 0 2.043.395 2.74 1.164.675.77 1.012 1.81 1.012 3.12z"/></svg>',slack:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Slack</title><path d="M5.042 15.165a2.528 2.528 0 0 1-2.52 2.523A2.528 2.528 0 0 1 0 15.165a2.527 2.527 0 0 1 2.522-2.52h2.52v2.52zM6.313 15.165a2.527 2.527 0 0 1 2.521-2.52 2.527 2.527 0 0 1 2.521 2.52v6.313A2.528 2.528 0 0 1 8.834 24a2.528 2.528 0 0 1-2.521-2.522v-6.313zM8.834 5.042a2.528 2.528 0 0 1-2.521-2.52A2.528 2.528 0 0 1 8.834 0a2.528 2.528 0 0 1 2.521 2.522v2.52H8.834zM8.834 6.313a2.528 2.528 0 0 1 2.521 2.521 2.528 2.528 0 0 1-2.521 2.521H2.522A2.528 2.528 0 0 1 0 8.834a2.528 2.528 0 0 1 2.522-2.521h6.312zM18.956 8.834a2.528 2.528 0 0 1 2.522-2.521A2.528 2.528 0 0 1 24 8.834a2.528 2.528 0 0 1-2.522 2.521h-2.522V8.834zM17.688 8.834a2.528 2.528 0 0 1-2.523 2.521 2.527 2.527 0 0 1-2.52-2.521V2.522A2.527 2.527 0 0 1 15.165 0a2.528 2.528 0 0 1 2.523 2.522v6.312zM15.165 18.956a2.528 2.528 0 0 1 2.523 2.522A2.528 2.528 0 0 1 15.165 24a2.527 2.527 0 0 1-2.52-2.522v-2.522h2.52zM15.165 17.688a2.527 2.527 0 0 1-2.52-2.523 2.526 2.526 0 0 1 2.52-2.52h6.313A2.527 2.527 0 0 1 24 15.165a2.528 2.528 0 0 1-2.522 2.523h-6.313z"/></svg>',twitter:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Twitter</title><path d="M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"/></svg>',youtube:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>YouTube</title><path d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"/></svg>'},Zd=["href","innerHTML"],ef=W({__name:"VPSocialLink",props:{icon:null,link:null},setup(e){const t=e,n=ee(()=>typeof t.icon=="object"?t.icon.svg:Qd[t.icon]);return(s,o)=>(h(),x("a",{class:"VPSocialLink",href:e.link,target:"_blank",rel:"noopener",innerHTML:_(n)},null,8,Zd))}});const tf=q(ef,[["__scopeId","data-v-e57698f6"]]),nf={class:"VPSocialLinks"},sf=W({__name:"VPSocialLinks",props:{links:null},setup(e){return(t,n)=>(h(),x("div",nf,[(h(!0),x(ie,null,Ce(e.links,({link:s,icon:o})=>(h(),ne(tf,{key:s,icon:o,link:s},null,8,["icon","link"]))),128))]))}});const So=q(sf,[["__scopeId","data-v-f6988cfb"]]),of=W({__name:"VPNavBarSocialLinks",setup(e){const{theme:t}=me();return(n,s)=>_(t).socialLinks?(h(),ne(So,{key:0,class:"VPNavBarSocialLinks",links:_(t).socialLinks},null,8,["links"])):X("",!0)}});const rf=q(of,[["__scopeId","data-v-2ab2a029"]]),af={key:0,class:"group translations"},lf={class:"trans-title"},cf={key:1,class:"group"},uf={class:"item appearance"},df={class:"label"},ff={class:"appearance-action"},hf={key:2,class:"group"},pf={class:"item social-links"},mf=W({__name:"VPNavBarExtra",setup(e){const{site:t,theme:n}=me(),{localeLinks:s,currentLang:o}=Ln({correspondingLink:!0}),i=ee(()=>s.value.length&&o.value.label||t.value.appearance||n.value.socialLinks);return(r,a)=>_(i)?(h(),ne(Po,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:j(()=>[_(s).length&&_(o).label?(h(),x("div",af,[g("p",lf,de(_(o).label),1),(h(!0),x(ie,null,Ce(_(s),l=>(h(),ne(vs,{key:l.link,item:l},null,8,["item"]))),128))])):X("",!0),_(t).appearance?(h(),x("div",cf,[g("div",uf,[g("p",df,de(_(n).darkModeSwitchLabel||"Appearance"),1),g("div",ff,[N(Co)])])])):X("",!0),_(n).socialLinks?(h(),x("div",hf,[g("div",pf,[N(So,{class:"social-links-list",links:_(n).socialLinks},null,8,["links"])])])):X("",!0)]),_:1})):X("",!0)}});const _f=q(mf,[["__scopeId","data-v-66bb1f24"]]),vf=e=>(Qe("data-v-e5dd9c1c"),e=e(),Ze(),e),gf=["aria-expanded"],yf=vf(()=>g("span",{class:"container"},[g("span",{class:"top"}),g("span",{class:"middle"}),g("span",{class:"bottom"})],-1)),bf=[yf],xf=W({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(t,n)=>(h(),x("button",{type:"button",class:ve(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:n[0]||(n[0]=s=>t.$emit("click"))},bf,10,gf))}});const wf=q(xf,[["__scopeId","data-v-e5dd9c1c"]]),kf=e=>(Qe("data-v-be450ad9"),e=e(),Ze(),e),$f={class:"container"},Pf={class:"title"},Cf={class:"content"},Sf=kf(()=>g("div",{class:"curtain"},null,-1)),Tf={class:"content-body"},Ef=W({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const{y:t}=su(),{hasSidebar:n}=ct(),s=ee(()=>({"has-sidebar":n.value,fill:t.value>0}));return(o,i)=>(h(),x("div",{class:ve(["VPNavBar",_(s)])},[g("div",$f,[g("div",Pf,[N(bu,null,{"nav-bar-title-before":j(()=>[I(o.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":j(()=>[I(o.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),g("div",Cf,[Sf,g("div",Tf,[I(o.$slots,"nav-bar-content-before",{},void 0,!0),N(Su,{class:"search"}),N(yd,{class:"menu"}),N(Ed,{class:"translations"}),N(Jd,{class:"appearance"}),N(rf,{class:"social-links"}),N(_f,{class:"extra"}),I(o.$slots,"nav-bar-content-after",{},void 0,!0),N(wf,{class:"hamburger",active:e.isScreenOpen,onClick:i[0]||(i[0]=r=>o.$emit("toggle-screen"))},null,8,["active"])])])])],2))}});const Lf=q(Ef,[["__scopeId","data-v-be450ad9"]]);function Mf(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}else return Array.from(e)}var To=!1;if(typeof window<"u"){var wi={get passive(){To=!0}};window.addEventListener("testPassive",null,wi),window.removeEventListener("testPassive",null,wi)}var Zn=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform==="MacIntel"&&window.navigator.maxTouchPoints>1),Qt=[],es=!1,Eo=-1,_n=void 0,Nt=void 0,vn=void 0,Dr=function(t){return Qt.some(function(n){return!!(n.options.allowTouchMove&&n.options.allowTouchMove(t))})},ts=function(t){var n=t||window.event;return Dr(n.target)||n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)},Af=function(t){if(vn===void 0){var n=!!t&&t.reserveScrollBarGap===!0,s=window.innerWidth-document.documentElement.clientWidth;if(n&&s>0){var o=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);vn=document.body.style.paddingRight,document.body.style.paddingRight=o+s+"px"}}_n===void 0&&(_n=document.body.style.overflow,document.body.style.overflow="hidden")},Vf=function(){vn!==void 0&&(document.body.style.paddingRight=vn,vn=void 0),_n!==void 0&&(document.body.style.overflow=_n,_n=void 0)},If=function(){return window.requestAnimationFrame(function(){if(Nt===void 0){Nt={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left};var t=window,n=t.scrollY,s=t.scrollX,o=t.innerHeight;document.body.style.position="fixed",document.body.style.top=-n,document.body.style.left=-s,setTimeout(function(){return window.requestAnimationFrame(function(){var i=o-window.innerHeight;i&&n>=o&&(document.body.style.top=-(n+i))})},300)}})},Nf=function(){if(Nt!==void 0){var t=-parseInt(document.body.style.top,10),n=-parseInt(document.body.style.left,10);document.body.style.position=Nt.position,document.body.style.top=Nt.top,document.body.style.left=Nt.left,window.scrollTo(n,t),Nt=void 0}},Of=function(t){return t?t.scrollHeight-t.scrollTop<=t.clientHeight:!1},zf=function(t,n){var s=t.targetTouches[0].clientY-Eo;return Dr(t.target)?!1:n&&n.scrollTop===0&&s>0||Of(n)&&s<0?ts(t):(t.stopPropagation(),!0)},jr=function(t,n){if(!t){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(!Qt.some(function(o){return o.targetElement===t})){var s={targetElement:t,options:n||{}};Qt=[].concat(Mf(Qt),[s]),Zn?If():Af(n),Zn&&(t.ontouchstart=function(o){o.targetTouches.length===1&&(Eo=o.targetTouches[0].clientY)},t.ontouchmove=function(o){o.targetTouches.length===1&&zf(o,t)},es||(document.addEventListener("touchmove",ts,To?{passive:!1}:void 0),es=!0))}},Ur=function(){Zn&&(Qt.forEach(function(t){t.targetElement.ontouchstart=null,t.targetElement.ontouchmove=null}),es&&(document.removeEventListener("touchmove",ts,To?{passive:!1}:void 0),es=!1),Eo=-1),Zn?Nf():Vf(),Qt=[]};const Hf=W({__name:"VPNavScreenMenuLink",props:{text:null,link:null},setup(e){const t=Je("close-screen");return(n,s)=>(h(),ne(kt,{class:"VPNavScreenMenuLink",href:e.link,onClick:_(t)},{default:j(()=>[$e(de(e.text),1)]),_:1},8,["href","onClick"]))}});const Bf=q(Hf,[["__scopeId","data-v-c328f34f"]]),Ff={},Rf={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Df=g("path",{d:"M18.9,10.9h-6v-6c0-0.6-0.4-1-1-1s-1,0.4-1,1v6h-6c-0.6,0-1,0.4-1,1s0.4,1,1,1h6v6c0,0.6,0.4,1,1,1s1-0.4,1-1v-6h6c0.6,0,1-0.4,1-1S19.5,10.9,18.9,10.9z"},null,-1),jf=[Df];function Uf(e,t){return h(),x("svg",Rf,jf)}const Kf=q(Ff,[["render",Uf]]),Wf=W({__name:"VPNavScreenMenuGroupLink",props:{text:null,link:null},setup(e){const t=Je("close-screen");return(n,s)=>(h(),ne(kt,{class:"VPNavScreenMenuGroupLink",href:e.link,onClick:_(t)},{default:j(()=>[$e(de(e.text),1)]),_:1},8,["href","onClick"]))}});const Kr=q(Wf,[["__scopeId","data-v-3d20956d"]]),qf={class:"VPNavScreenMenuGroupSection"},Gf={key:0,class:"title"},Yf=W({__name:"VPNavScreenMenuGroupSection",props:{text:null,items:null},setup(e){return(t,n)=>(h(),x("div",qf,[e.text?(h(),x("p",Gf,de(e.text),1)):X("",!0),(h(!0),x(ie,null,Ce(e.items,s=>(h(),ne(Kr,{key:s.text,text:s.text,link:s.link},null,8,["text","link"]))),128))]))}});const Xf=q(Yf,[["__scopeId","data-v-7478538b"]]),Jf=["aria-controls","aria-expanded"],Qf={class:"button-text"},Zf=["id"],eh={key:1,class:"group"},th=W({__name:"VPNavScreenMenuGroup",props:{text:null,items:null},setup(e){const t=e,n=ue(!1),s=ee(()=>`NavScreenGroup-${t.text.replace(" ","-").toLowerCase()}`);function o(){n.value=!n.value}return(i,r)=>(h(),x("div",{class:ve(["VPNavScreenMenuGroup",{open:n.value}])},[g("button",{class:"button","aria-controls":_(s),"aria-expanded":n.value,onClick:o},[g("span",Qf,de(e.text),1),N(Kf,{class:"button-icon"})],8,Jf),g("div",{id:_(s),class:"items"},[(h(!0),x(ie,null,Ce(e.items,a=>(h(),x(ie,{key:a.text},["link"in a?(h(),x("div",{key:a.text,class:"item"},[N(Kr,{text:a.text,link:a.link},null,8,["text","link"])])):(h(),x("div",eh,[N(Xf,{text:a.text,items:a.items},null,8,["text","items"])]))],64))),128))],8,Zf)],2))}});const nh=q(th,[["__scopeId","data-v-a9a19324"]]),sh={key:0,class:"VPNavScreenMenu"},oh=W({__name:"VPNavScreenMenu",setup(e){const{theme:t}=me();return(n,s)=>_(t).nav?(h(),x("nav",sh,[(h(!0),x(ie,null,Ce(_(t).nav,o=>(h(),x(ie,{key:o.text},["link"in o?(h(),ne(Bf,{key:0,text:o.text,link:o.link},null,8,["text","link"])):(h(),ne(nh,{key:1,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):X("",!0)}}),ih={key:0,class:"VPNavScreenAppearance"},rh={class:"text"},ah=W({__name:"VPNavScreenAppearance",setup(e){const{site:t,theme:n}=me();return(s,o)=>_(t).appearance?(h(),x("div",ih,[g("p",rh,de(_(n).darkModeSwitchLabel||"Appearance"),1),N(Co)])):X("",!0)}});const lh=q(ah,[["__scopeId","data-v-7e6603c2"]]),ch={class:"list"},uh=W({__name:"VPNavScreenTranslations",setup(e){const{localeLinks:t,currentLang:n}=Ln({correspondingLink:!0}),s=ue(!1);function o(){s.value=!s.value}return(i,r)=>_(t).length&&_(n).label?(h(),x("div",{key:0,class:ve(["VPNavScreenTranslations",{open:s.value}])},[g("button",{class:"title",onClick:o},[N(Rr,{class:"icon lang"}),$e(" "+de(_(n).label)+" ",1),N(Fr,{class:"icon chevron"})]),g("ul",ch,[(h(!0),x(ie,null,Ce(_(t),a=>(h(),x("li",{key:a.link,class:"item"},[N(kt,{class:"link",href:a.link},{default:j(()=>[$e(de(a.text),1)]),_:2},1032,["href"])]))),128))])],2)):X("",!0)}});const dh=q(uh,[["__scopeId","data-v-8982effe"]]),fh=W({__name:"VPNavScreenSocialLinks",setup(e){const{theme:t}=me();return(n,s)=>_(t).socialLinks?(h(),ne(So,{key:0,class:"VPNavScreenSocialLinks",links:_(t).socialLinks},null,8,["links"])):X("",!0)}}),hh={class:"container"},ph=W({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const t=ue(null);function n(){jr(t.value,{reserveScrollBarGap:!0})}function s(){Ur()}return(o,i)=>(h(),ne(ps,{name:"fade",onEnter:n,onAfterLeave:s},{default:j(()=>[e.open?(h(),x("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:t},[g("div",hh,[I(o.$slots,"nav-screen-content-before",{},void 0,!0),N(oh,{class:"menu"}),N(dh,{class:"translations"}),N(lh,{class:"appearance"}),N(fh,{class:"social-links"}),I(o.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):X("",!0)]),_:3}))}});const mh=q(ph,[["__scopeId","data-v-724636ae"]]),_h={class:"VPNav"},vh=W({__name:"VPNav",setup(e){const{isScreenOpen:t,closeScreen:n,toggleScreen:s}=hu();return Yt("close-screen",n),(o,i)=>(h(),x("header",_h,[N(Lf,{"is-screen-open":_(t),onToggleScreen:_(s)},{"nav-bar-title-before":j(()=>[I(o.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":j(()=>[I(o.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":j(()=>[I(o.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":j(()=>[I(o.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),N(mh,{open:_(t)},{"nav-screen-content-before":j(()=>[I(o.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":j(()=>[I(o.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])]))}});const gh=q(vh,[["__scopeId","data-v-0fa0e57d"]]),yh={},bh={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},xh=g("path",{d:"M17,11H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,11,17,11z"},null,-1),wh=g("path",{d:"M21,7H3C2.4,7,2,6.6,2,6s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,7,21,7z"},null,-1),kh=g("path",{d:"M21,15H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,15,21,15z"},null,-1),$h=g("path",{d:"M17,19H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,19,17,19z"},null,-1),Ph=[xh,wh,kh,$h];function Ch(e,t){return h(),x("svg",bh,Ph)}const Sh=q(yh,[["render",Ch]]),Th={key:0,class:"VPLocalNav"},Eh=["aria-expanded"],Lh={class:"menu-text"},Mh=W({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{theme:t}=me(),{hasSidebar:n}=ct();function s(){window.scrollTo({top:0,left:0,behavior:"smooth"})}return(o,i)=>_(n)?(h(),x("div",Th,[g("button",{class:"menu","aria-expanded":e.open,"aria-controls":"VPSidebarNav",onClick:i[0]||(i[0]=r=>o.$emit("open-menu"))},[N(Sh,{class:"menu-icon"}),g("span",Lh,de(_(t).sidebarMenuLabel||"Menu"),1)],8,Eh),g("a",{class:"top-link",href:"#",onClick:s},de(_(t).returnToTopLabel||"Return to top"),1)])):X("",!0)}});const Ah=q(Mh,[["__scopeId","data-v-2817d72e"]]),Vh={},Ih={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Nh=g("path",{d:"M9,19c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l5.3-5.3L8.3,6.7c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l6,6c0.4,0.4,0.4,1,0,1.4l-6,6C9.5,18.9,9.3,19,9,19z"},null,-1),Oh=[Nh];function zh(e,t){return h(),x("svg",Ih,Oh)}const Hh=q(Vh,[["render",zh]]),Bh=e=>(Qe("data-v-b05232f3"),e=e(),Ze(),e),Fh=["role"],Rh=Bh(()=>g("div",{class:"indicator"},null,-1)),Dh={key:1,class:"items"},jh=W({__name:"VPSidebarItem",props:{item:null,depth:null},setup(e){const t=e,{collapsed:n,collapsible:s,isLink:o,isActiveLink:i,hasActiveLink:r,hasChildren:a,toggle:l}=au(ee(()=>t.item)),u=ee(()=>a.value?"section":"div"),d=ee(()=>o.value?"a":"div"),v=ee(()=>a.value?t.depth+2===7?"p":`h${t.depth+2}`:"p"),y=ee(()=>o.value?void 0:"button"),k=ee(()=>[[`level-${t.depth}`],{collapsible:s.value},{collapsed:n.value},{"is-link":o.value},{"is-active":i.value},{"has-active":r.value}]);function L(){!t.item.link&&l()}function H(){t.item.link&&l()}return(J,w)=>{const T=xt("VPSidebarItem",!0);return h(),ne(wn(_(u)),{class:ve(["VPSidebarItem",_(k)])},{default:j(()=>[e.item.text?(h(),x("div",{key:0,class:"item",role:_(y),onClick:L},[Rh,N(kt,{tag:_(d),class:"link",href:e.item.link},{default:j(()=>[(h(),ne(wn(_(v)),{class:"text",innerHTML:e.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href"]),e.item.collapsed!=null?(h(),x("div",{key:0,class:"caret",role:"button",onClick:H},[N(Hh,{class:"caret-icon"})])):X("",!0)],8,Fh)):X("",!0),e.item.items&&e.item.items.length?(h(),x("div",Dh,[e.depth<5?(h(!0),x(ie,{key:0},Ce(e.item.items,m=>(h(),ne(T,{key:m.text,item:m,depth:e.depth+1},null,8,["item","depth"]))),128)):X("",!0)])):X("",!0)]),_:1},8,["class"])}}});const Uh=q(jh,[["__scopeId","data-v-b05232f3"]]),Wr=e=>(Qe("data-v-c79ccefa"),e=e(),Ze(),e),Kh=Wr(()=>g("div",{class:"curtain"},null,-1)),Wh={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},qh=Wr(()=>g("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),Gh=W({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const t=e,{sidebarGroups:n,hasSidebar:s}=ct();let o=ue(null);function i(){jr(o.value,{reserveScrollBarGap:!0})}function r(){Ur()}return tr(async()=>{var a;t.open?(i(),(a=o.value)==null||a.focus()):r()}),(a,l)=>_(s)?(h(),x("aside",{key:0,class:ve(["VPSidebar",{open:e.open}]),ref_key:"navEl",ref:o,onClick:l[0]||(l[0]=xc(()=>{},["stop"]))},[Kh,g("nav",Wh,[qh,I(a.$slots,"sidebar-nav-before",{},void 0,!0),(h(!0),x(ie,null,Ce(_(n),u=>(h(),x("div",{key:u.text,class:"group"},[N(Uh,{item:u,depth:0},null,8,["item"])]))),128)),I(a.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):X("",!0)}});const Yh=q(Gh,[["__scopeId","data-v-c79ccefa"]]),Xh={},Jh={class:"VPPage"};function Qh(e,t){const n=xt("Content");return h(),x("div",Jh,[N(n)])}const Zh=q(Xh,[["render",Qh]]),e0=W({__name:"VPButton",props:{tag:null,size:null,theme:null,text:null,href:null},setup(e){const t=e,n=ee(()=>[t.size??"medium",t.theme??"brand"]),s=ee(()=>t.href&&ms.test(t.href)),o=ee(()=>t.tag?t.tag:t.href?"a":"button");return(i,r)=>(h(),ne(wn(_(o)),{class:ve(["VPButton",_(n)]),href:e.href?_(Pn)(e.href):void 0,target:_(s)?"_blank":void 0,rel:_(s)?"noreferrer":void 0},{default:j(()=>[$e(de(e.text),1)]),_:1},8,["class","href","target","rel"]))}});const t0=q(e0,[["__scopeId","data-v-a7c4128c"]]),n0=e=>(Qe("data-v-45916f1d"),e=e(),Ze(),e),s0={class:"container"},o0={class:"main"},i0={key:0,class:"name"},r0={class:"clip"},a0={key:1,class:"text"},l0={key:2,class:"tagline"},c0={key:3,class:"actions"},u0={key:0,class:"image"},d0={class:"image-container"},f0=n0(()=>g("div",{class:"image-bg"},null,-1)),h0=W({__name:"VPHero",props:{name:null,text:null,tagline:null,image:null,actions:null},setup(e){const t=Je("hero-image-slot-exists");return(n,s)=>(h(),x("div",{class:ve(["VPHero",{"has-image":e.image||_(t)}])},[g("div",s0,[g("div",o0,[e.name?(h(),x("h1",i0,[g("span",r0,de(e.name),1)])):X("",!0),e.text?(h(),x("p",a0,de(e.text),1)):X("",!0),e.tagline?(h(),x("p",l0,de(e.tagline),1)):X("",!0),e.actions?(h(),x("div",c0,[(h(!0),x(ie,null,Ce(e.actions,o=>(h(),x("div",{key:o.link,class:"action"},[N(t0,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link},null,8,["theme","text","href"])]))),128))])):X("",!0)]),e.image||_(t)?(h(),x("div",u0,[g("div",d0,[f0,I(n.$slots,"home-hero-image",{},()=>[e.image?(h(),ne(ko,{key:0,class:"image-src",image:e.image},null,8,["image"])):X("",!0)],!0)])])):X("",!0)])],2))}});const p0=q(h0,[["__scopeId","data-v-45916f1d"]]),m0=W({__name:"VPHomeHero",setup(e){const{frontmatter:t}=me();return(n,s)=>_(t).hero?(h(),ne(p0,{key:0,class:"VPHomeHero",name:_(t).hero.name,text:_(t).hero.text,tagline:_(t).hero.tagline,image:_(t).hero.image,actions:_(t).hero.actions},{"home-hero-image":j(()=>[I(n.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):X("",!0)}}),_0={},v0={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},g0=g("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),y0=[g0];function b0(e,t){return h(),x("svg",v0,y0)}const x0=q(_0,[["render",b0]]),w0={class:"box"},k0={key:1,class:"icon"},$0=["innerHTML"],P0=["innerHTML"],C0={key:2,class:"link-text"},S0={class:"link-text-value"},T0=W({__name:"VPFeature",props:{icon:null,title:null,details:null,link:null,linkText:null},setup(e){return(t,n)=>(h(),ne(kt,{class:"VPFeature",href:e.link,"no-icon":!0},{default:j(()=>[g("article",w0,[typeof e.icon=="object"?(h(),ne(ko,{key:0,image:e.icon,alt:e.icon.alt,height:e.icon.height,width:e.icon.width},null,8,["image","alt","height","width"])):e.icon?(h(),x("div",k0,de(e.icon),1)):X("",!0),g("h2",{class:"title",innerHTML:e.title},null,8,$0),g("p",{class:"details",innerHTML:e.details},null,8,P0),e.linkText?(h(),x("div",C0,[g("p",S0,[$e(de(e.linkText)+" ",1),N(x0,{class:"link-text-icon"})])])):X("",!0)])]),_:1},8,["href"]))}});const E0=q(T0,[["__scopeId","data-v-1ef28411"]]),L0={key:0,class:"VPFeatures"},M0={class:"container"},A0={class:"items"},V0=W({__name:"VPFeatures",props:{features:null},setup(e){const t=e,n=ee(()=>{const s=t.features.length;if(s){if(s===2)return"grid-2";if(s===3)return"grid-3";if(s%3===0)return"grid-6";if(s%2===0)return"grid-4"}else return});return(s,o)=>e.features?(h(),x("div",L0,[g("div",M0,[g("div",A0,[(h(!0),x(ie,null,Ce(e.features,i=>(h(),x("div",{key:i.title,class:ve(["item",[_(n)]])},[N(E0,{icon:i.icon,title:i.title,details:i.details,link:i.link,"link-text":i.linkText},null,8,["icon","title","details","link","link-text"])],2))),128))])])])):X("",!0)}});const I0=q(V0,[["__scopeId","data-v-6816157f"]]),N0=W({__name:"VPHomeFeatures",setup(e){const{frontmatter:t}=me();return(n,s)=>_(t).features?(h(),ne(I0,{key:0,class:"VPHomeFeatures",features:_(t).features},null,8,["features"])):X("",!0)}}),O0={class:"VPHome"},z0=W({__name:"VPHome",setup(e){return(t,n)=>{const s=xt("Content");return h(),x("div",O0,[I(t.$slots,"home-hero-before",{},void 0,!0),N(m0,null,{"home-hero-image":j(()=>[I(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),I(t.$slots,"home-hero-after",{},void 0,!0),I(t.$slots,"home-features-before",{},void 0,!0),N(N0),I(t.$slots,"home-features-after",{},void 0,!0),N(s)])}}});const H0=q(z0,[["__scopeId","data-v-b07783ac"]]);function B0(){const{hasSidebar:e}=ct(),t=qs("(min-width: 960px)"),n=qs("(min-width: 1280px)");return{isAsideEnabled:ee(()=>!n.value&&!t.value?!1:e.value?n.value:t.value)}}const F0=71;function R0(e,t){if(e===!1)return[];let n=[];return document.querySelectorAll("h2, h3, h4, h5, h6").forEach(s=>{if(s.textContent&&s.id){let o=s.textContent;if(t===!1){const i=s.cloneNode(!0);for(const r of i.querySelectorAll(".VPBadge"))r.remove();o=i.textContent||""}n.push({level:Number(s.tagName[1]),title:o.replace(/\s+#\s*$/,""),link:`#${s.id}`})}}),D0(n,e)}function D0(e,t){const n=(typeof t=="object"&&!Array.isArray(t)?t.level:t)||2;return j0(e,typeof n=="number"?[n,n]:n==="deep"?[2,6]:n)}function j0(e,t){const n=[];return e=e.map(s=>({...s})),e.forEach((s,o)=>{s.level>=t[0]&&s.level<=t[1]&&U0(o,e,t)&&n.push(s)}),n}function U0(e,t,n){if(e===0)return!0;const s=t[e];for(let o=e-1;o>=0;o--){const i=t[o];if(i.level<s.level&&i.level>=n[0]&&i.level<=n[1])return i.children==null&&(i.children=[]),i.children.push(s),!1}return!0}function K0(e,t){const{isAsideEnabled:n}=B0(),s=Or(i,100);let o=null;Ae(()=>{requestAnimationFrame(i),window.addEventListener("scroll",s)}),_o(()=>{r(location.hash)}),lt(()=>{window.removeEventListener("scroll",s)});function i(){if(!n.value)return;const a=[].slice.call(e.value.querySelectorAll(".outline-link")),l=[].slice.call(document.querySelectorAll(".content .header-anchor")).filter(k=>a.some(L=>L.hash===k.hash&&k.offsetParent!==null)),u=window.scrollY,d=window.innerHeight,v=document.body.offsetHeight,y=Math.abs(u+d-v)<1;if(l.length&&y){r(l[l.length-1].hash);return}for(let k=0;k<l.length;k++){const L=l[k],H=l[k+1],[J,w]=W0(k,L,H);if(J){r(w);return}}}function r(a){o&&o.classList.remove("active"),a!==null&&(o=e.value.querySelector(`a[href="${decodeURIComponent(a)}"]`));const l=o;l?(l.classList.add("active"),t.value.style.top=l.offsetTop+33+"px",t.value.style.opacity="1"):(t.value.style.top="33px",t.value.style.opacity="0")}}function ki(e){return e.parentElement.offsetTop-F0}function W0(e,t,n){const s=window.scrollY;return e===0&&s===0?[!0,null]:s<ki(t)?[!1,null]:!n||s<ki(n)?[!0,t.hash]:[!1,null]}const q0=["href"],G0=W({__name:"VPDocAsideOutlineItem",props:{headers:null,onClick:{type:Function},root:{type:Boolean}},setup(e){return(t,n)=>{const s=xt("VPDocAsideOutlineItem",!0);return h(),x("ul",{class:ve(e.root?"root":"nested")},[(h(!0),x(ie,null,Ce(e.headers,({children:o,link:i,title:r})=>(h(),x("li",null,[g("a",{class:"outline-link",href:i,onClick:n[0]||(n[0]=(...a)=>e.onClick&&e.onClick(...a))},de(r),9,q0),o!=null&&o.length?(h(),ne(s,{key:0,headers:o,onClick:e.onClick},null,8,["headers","onClick"])):X("",!0)]))),256))],2)}}});const Y0=q(G0,[["__scopeId","data-v-1188541a"]]),X0=e=>(Qe("data-v-5dd9d5f6"),e=e(),Ze(),e),J0={class:"content"},Q0={class:"outline-title"},Z0={"aria-labelledby":"doc-outline-aria-label"},ep=X0(()=>g("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),tp=W({__name:"VPDocAsideOutline",setup(e){const{frontmatter:t,theme:n}=me(),s=ee(()=>t.value.outline??n.value.outline),o=Je("onContentUpdated");o.value=()=>{i.value=R0(s.value,n.value.outlineBadges)};const i=ue([]),r=ee(()=>i.value.length>0),a=ue(),l=ue();K0(a,l);function u({target:d}){const v="#"+d.href.split("#")[1],y=document.querySelector(decodeURIComponent(v));y==null||y.focus()}return(d,v)=>(h(),x("div",{class:ve(["VPDocAsideOutline",{"has-outline":_(r)}]),ref_key:"container",ref:a},[g("div",J0,[g("div",{class:"outline-marker",ref_key:"marker",ref:l},null,512),g("div",Q0,de(typeof _(n).outline=="object"&&!Array.isArray(_(n).outline)&&_(n).outline.label||_(n).outlineTitle||"On this page"),1),g("nav",Z0,[ep,N(Y0,{headers:i.value,root:!0,onClick:u},null,8,["headers"])])])],2))}});const np=q(tp,[["__scopeId","data-v-5dd9d5f6"]]),sp={class:"VPDocAsideCarbonAds"},op=W({__name:"VPDocAsideCarbonAds",props:{carbonAds:null},setup(e){const t=()=>null;return(n,s)=>(h(),x("div",sp,[N(_(t),{"carbon-ads":e.carbonAds},null,8,["carbon-ads"])]))}}),ip=e=>(Qe("data-v-cdc66372"),e=e(),Ze(),e),rp={class:"VPDocAside"},ap=ip(()=>g("div",{class:"spacer"},null,-1)),lp=W({__name:"VPDocAside",setup(e){const{theme:t}=me();return(n,s)=>(h(),x("div",rp,[I(n.$slots,"aside-top",{},void 0,!0),I(n.$slots,"aside-outline-before",{},void 0,!0),N(np),I(n.$slots,"aside-outline-after",{},void 0,!0),ap,I(n.$slots,"aside-ads-before",{},void 0,!0),_(t).carbonAds?(h(),ne(op,{key:0,"carbon-ads":_(t).carbonAds},null,8,["carbon-ads"])):X("",!0),I(n.$slots,"aside-ads-after",{},void 0,!0),I(n.$slots,"aside-bottom",{},void 0,!0)]))}});const cp=q(lp,[["__scopeId","data-v-cdc66372"]]);function up(){const{theme:e,page:t}=me();return ee(()=>{const{text:n="Edit this page",pattern:s=""}=e.value.editLink||{},{relativePath:o}=t.value;return{url:s.replace(/:path/g,o),text:n}})}function dp(){const{page:e,theme:t,frontmatter:n}=me();return ee(()=>{const s=zr(t.value.sidebar,e.value.relativePath),o=iu(s),i=o.findIndex(r=>Ft(e.value.relativePath,r.link));return{prev:n.value.prev?{...o[i-1],text:n.value.prev}:o[i-1],next:n.value.next?{...o[i+1],text:n.value.next}:o[i+1]}})}const fp={},hp={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},pp=g("path",{d:"M18,23H4c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h7c0.6,0,1,0.4,1,1s-0.4,1-1,1H4C3.4,5,3,5.4,3,6v14c0,0.6,0.4,1,1,1h14c0.6,0,1-0.4,1-1v-7c0-0.6,0.4-1,1-1s1,0.4,1,1v7C21,21.7,19.7,23,18,23z"},null,-1),mp=g("path",{d:"M8,17c-0.3,0-0.5-0.1-0.7-0.3C7,16.5,6.9,16.1,7,15.8l1-4c0-0.2,0.1-0.3,0.3-0.5l9.5-9.5c1.2-1.2,3.2-1.2,4.4,0c1.2,1.2,1.2,3.2,0,4.4l-9.5,9.5c-0.1,0.1-0.3,0.2-0.5,0.3l-4,1C8.2,17,8.1,17,8,17zM9.9,12.5l-0.5,2.1l2.1-0.5l9.3-9.3c0.4-0.4,0.4-1.1,0-1.6c-0.4-0.4-1.2-0.4-1.6,0l0,0L9.9,12.5z M18.5,2.5L18.5,2.5L18.5,2.5z"},null,-1),_p=[pp,mp];function vp(e,t){return h(),x("svg",hp,_p)}const gp=q(fp,[["render",vp]]),yp={class:"VPLastUpdated"},bp=["datetime"],xp=W({__name:"VPDocFooterLastUpdated",setup(e){const{theme:t,page:n}=me(),s=ee(()=>new Date(n.value.lastUpdated)),o=ee(()=>s.value.toISOString()),i=ue("");return Ae(()=>{Bt(()=>{i.value=s.value.toLocaleString(window.navigator.language)})}),(r,a)=>(h(),x("p",yp,[$e(de(_(t).lastUpdatedText||"Last updated")+": ",1),g("time",{datetime:_(o)},de(i.value),9,bp)]))}});const wp=q(xp,[["__scopeId","data-v-355aa5ef"]]),kp={key:0,class:"VPDocFooter"},$p={key:0,class:"edit-info"},Pp={key:0,class:"edit-link"},Cp={key:1,class:"last-updated"},Sp={key:1,class:"prev-next"},Tp={class:"pager"},Ep=["href"],Lp=["innerHTML"],Mp=["innerHTML"],Ap=["href"],Vp=["innerHTML"],Ip=["innerHTML"],Np=W({__name:"VPDocFooter",setup(e){const{theme:t,page:n,frontmatter:s}=me(),o=up(),i=dp(),r=ee(()=>t.value.editLink&&s.value.editLink!==!1),a=ee(()=>n.value.lastUpdated&&s.value.lastUpdated!==!1),l=ee(()=>r.value||a.value||i.value.prev||i.value.next);return(u,d)=>{var v,y;return _(l)?(h(),x("footer",kp,[_(r)||_(a)?(h(),x("div",$p,[_(r)?(h(),x("div",Pp,[N(kt,{class:"edit-link-button",href:_(o).url,"no-icon":!0},{default:j(()=>[N(gp,{class:"edit-link-icon"}),$e(" "+de(_(o).text),1)]),_:1},8,["href"])])):X("",!0),_(a)?(h(),x("div",Cp,[N(wp)])):X("",!0)])):X("",!0),_(i).prev||_(i).next?(h(),x("div",Sp,[g("div",Tp,[_(i).prev?(h(),x("a",{key:0,class:"pager-link prev",href:_(Pn)(_(i).prev.link)},[g("span",{class:"desc",innerHTML:((v=_(t).docFooter)==null?void 0:v.prev)||"Previous page"},null,8,Lp),g("span",{class:"title",innerHTML:_(i).prev.text},null,8,Mp)],8,Ep)):X("",!0)]),g("div",{class:ve(["pager",{"has-prev":_(i).prev}])},[_(i).next?(h(),x("a",{key:0,class:"pager-link next",href:_(Pn)(_(i).next.link)},[g("span",{class:"desc",innerHTML:((y=_(t).docFooter)==null?void 0:y.next)||"Next page"},null,8,Vp),g("span",{class:"title",innerHTML:_(i).next.text},null,8,Ip)],8,Ap)):X("",!0)],2)])):X("",!0)])):X("",!0)}}});const Op=q(Np,[["__scopeId","data-v-e033cd21"]]),zp=e=>(Qe("data-v-c5936a1e"),e=e(),Ze(),e),Hp={class:"container"},Bp={key:0,class:"aside"},Fp=zp(()=>g("div",{class:"aside-curtain"},null,-1)),Rp={class:"aside-container"},Dp={class:"aside-content"},jp={class:"content"},Up={class:"content-container"},Kp={class:"main"},Wp=W({__name:"VPDoc",setup(e){const t=wt(),{hasSidebar:n,hasAside:s}=ct(),o=ee(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,"")),i=ue();return Yt("onContentUpdated",i),(r,a)=>{const l=xt("Content");return h(),x("div",{class:ve(["VPDoc",{"has-sidebar":_(n),"has-aside":_(s)}])},[g("div",Hp,[_(s)?(h(),x("div",Bp,[Fp,g("div",Rp,[g("div",Dp,[N(cp,null,{"aside-top":j(()=>[I(r.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":j(()=>[I(r.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":j(()=>[I(r.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":j(()=>[I(r.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":j(()=>[I(r.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":j(()=>[I(r.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])])):X("",!0),g("div",jp,[g("div",Up,[I(r.$slots,"doc-before",{},void 0,!0),g("main",Kp,[N(l,{class:ve(["vp-doc",_(o)]),onContentUpdated:i.value},null,8,["class","onContentUpdated"])]),I(r.$slots,"doc-footer-before",{},void 0,!0),N(Op),I(r.$slots,"doc-after",{},void 0,!0)])])])],2)}}});const qp=q(Wp,[["__scopeId","data-v-c5936a1e"]]),Gp=W({__name:"VPContent",setup(e){const t=wt(),{frontmatter:n}=me(),{hasSidebar:s}=ct(),o=Je("NotFound");return(i,r)=>(h(),x("div",{class:ve(["VPContent",{"has-sidebar":_(s),"is-home":_(n).layout==="home"}]),id:"VPContent"},[_(t).component===_(o)?(h(),ne(_(o),{key:0})):_(n).layout==="page"?(h(),ne(Zh,{key:1})):_(n).layout==="home"?(h(),ne(H0,{key:2},{"home-hero-before":j(()=>[I(i.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-image":j(()=>[I(i.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":j(()=>[I(i.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":j(()=>[I(i.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":j(()=>[I(i.$slots,"home-features-after",{},void 0,!0)]),_:3})):(h(),ne(qp,{key:3},{"doc-footer-before":j(()=>[I(i.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":j(()=>[I(i.$slots,"doc-before",{},void 0,!0)]),"doc-after":j(()=>[I(i.$slots,"doc-after",{},void 0,!0)]),"aside-top":j(()=>[I(i.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":j(()=>[I(i.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":j(()=>[I(i.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":j(()=>[I(i.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":j(()=>[I(i.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":j(()=>[I(i.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}});const Yp=q(Gp,[["__scopeId","data-v-0bd490fb"]]),Xp={class:"container"},Jp=["innerHTML"],Qp=["innerHTML"],Zp=W({__name:"VPFooter",setup(e){const{theme:t}=me(),{hasSidebar:n}=ct();return(s,o)=>_(t).footer?(h(),x("footer",{key:0,class:ve(["VPFooter",{"has-sidebar":_(n)}])},[g("div",Xp,[_(t).footer.message?(h(),x("p",{key:0,class:"message",innerHTML:_(t).footer.message},null,8,Jp)):X("",!0),_(t).footer.copyright?(h(),x("p",{key:1,class:"copyright",innerHTML:_(t).footer.copyright},null,8,Qp)):X("",!0)])],2)):X("",!0)}});const e1=q(Zp,[["__scopeId","data-v-d24360a6"]]),t1={key:0,class:"Layout"},n1=W({__name:"Layout",setup(e){const{isOpen:t,open:n,close:s}=ct(),o=wt();st(()=>o.path,s),ru(t,s),Yt("close-sidebar",s),Yt("is-sidebar-open",t);const{frontmatter:i}=me(),r=Kl(),a=ee(()=>!!r["home-hero-image"]);return Yt("hero-image-slot-exists",a),(l,u)=>{const d=xt("Content");return _(i).layout!==!1?(h(),x("div",t1,[I(l.$slots,"layout-top",{},void 0,!0),N(cu),N(fu,{class:"backdrop",show:_(t),onClick:_(s)},null,8,["show","onClick"]),N(gh,null,{"nav-bar-title-before":j(()=>[I(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":j(()=>[I(l.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":j(()=>[I(l.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":j(()=>[I(l.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":j(()=>[I(l.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":j(()=>[I(l.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),N(Ah,{open:_(t),onOpenMenu:_(n)},null,8,["open","onOpenMenu"]),N(Yh,{open:_(t)},{"sidebar-nav-before":j(()=>[I(l.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":j(()=>[I(l.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),N(Yp,null,{"home-hero-before":j(()=>[I(l.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-image":j(()=>[I(l.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":j(()=>[I(l.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":j(()=>[I(l.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":j(()=>[I(l.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":j(()=>[I(l.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":j(()=>[I(l.$slots,"doc-before",{},void 0,!0)]),"doc-after":j(()=>[I(l.$slots,"doc-after",{},void 0,!0)]),"aside-top":j(()=>[I(l.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":j(()=>[I(l.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":j(()=>[I(l.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":j(()=>[I(l.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":j(()=>[I(l.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":j(()=>[I(l.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),N(e1),I(l.$slots,"layout-bottom",{},void 0,!0)])):(h(),ne(d,{key:1}))}}});const s1=q(n1,[["__scopeId","data-v-93a960b4"]]),gs=e=>(Qe("data-v-63c9cdeb"),e=e(),Ze(),e),o1={class:"NotFound"},i1=gs(()=>g("p",{class:"code"},"404",-1)),r1=gs(()=>g("h1",{class:"title"},"PAGE NOT FOUND",-1)),a1=gs(()=>g("div",{class:"divider"},null,-1)),l1=gs(()=>g("blockquote",{class:"quote"}," But if you don't change your direction, and if you keep looking, you may end up where you are heading. ",-1)),c1={class:"action"},u1=["href"],d1=W({__name:"NotFound",setup(e){const{site:t}=me(),{localeLinks:n}=Ln({removeCurrent:!1}),s=ue("/");return Ae(()=>{var i;const o=window.location.pathname.replace(t.value.base,"").replace(/(^.*?\/).*$/,"/$1");n.value.length&&(s.value=((i=n.value.find(({link:r})=>r.startsWith(o)))==null?void 0:i.link)||n.value[0].link)}),(o,i)=>(h(),x("div",o1,[i1,r1,a1,l1,g("div",c1,[g("a",{class:"link",href:_($n)(s.value),"aria-label":"go to home"}," Take me home ",8,u1)])]))}});const f1=q(d1,[["__scopeId","data-v-63c9cdeb"]]),h1={xmini:[[0,2]],mini:[],small:[[920,6],[768,5],[640,4],[480,3],[0,2]],medium:[[960,5],[832,4],[640,3],[480,2]],big:[[832,3],[640,2]]};function p1({el:e,size:t="medium"}){const n=Or(s,100);Ae(()=>{s(),window.addEventListener("resize",n)}),lt(()=>{window.removeEventListener("resize",n)});function s(){m1(e.value,t)}}function m1(e,t){const n=e.children.length,s=e.querySelectorAll(".vp-sponsor-grid-item:not(.empty)").length,o=_1(e,t,s);g1(e,o,n,s)}function _1(e,t,n){const s=h1[t],o=window.innerWidth;let i=1;return s.some(([r,a])=>{if(o>=r)return i=n<a?n:a,!0}),v1(e,i),i}function v1(e,t){e.dataset.vpGrid=String(t)}function g1(e,t,n,s){const o=n-s,i=s%t,r=i===0?i:t-i;y1(e,r-o)}function y1(e,t){t!==0&&(t>0?b1(e,t):x1(e,t*-1))}function b1(e,t){for(let n=0;n<t;n++){const s=document.createElement("div");s.classList.add("vp-sponsor-grid-item","empty"),e.append(s)}}function x1(e,t){for(let n=0;n<t;n++)e.removeChild(e.lastElementChild)}const w1=["href"],k1={class:"vp-sponsor-grid-box"},$1={class:"visually-hidden"},P1=["src","alt"],C1=W({__name:"VPSponsorsGrid",props:{size:null,data:null},setup(e){const t=e,n=ue(null);return p1({el:n,size:t.size}),(s,o)=>(h(),x("div",{class:ve(["VPSponsorsGrid vp-sponsor-grid",[t.size??"medium"]]),ref_key:"el",ref:n},[(h(!0),x(ie,null,Ce(e.data,i=>(h(),x("div",{key:i.name,class:"vp-sponsor-grid-item"},[g("a",{class:"vp-sponsor-grid-link",href:i.url,target:"_blank",rel:"sponsored noopener"},[g("article",k1,[g("h4",$1,de(i.name),1),g("img",{class:"vp-sponsor-grid-image",src:i.img,alt:i.name},null,8,P1)])],8,w1)]))),128))],2))}}),S1={key:0,class:"vp-sponsor-tier"},T1=W({__name:"VPSponsors",props:{mode:null,tier:null,size:null,data:null},setup(e){const t=e,n=ee(()=>t.data.some(o=>"items"in o)?t.data:[{tier:t.tier,size:t.size,items:t.data}]);return(s,o)=>(h(),x("div",{class:ve(["VPSponsors vp-sponsor",[e.mode??"normal"]])},[(h(!0),x(ie,null,Ce(_(n),(i,r)=>(h(),x("section",{key:r,class:"vp-sponsor-section"},[i.tier?(h(),x("h3",S1,de(i.tier),1)):X("",!0),N(C1,{size:i.size,data:i.items},null,8,["size","data"])]))),128))],2))}});const E1={class:"VPDocAsideSponsors"},L1=W({__name:"VPDocAsideSponsors",props:{tier:null,size:null,data:null},setup(e){return(t,n)=>(h(),x("div",E1,[N(T1,{mode:"aside",tier:e.tier,size:e.size,data:e.data},null,8,["tier","size","data"])]))}});const $i={Layout:s1,NotFound:f1,enhanceApp:({app:e})=>{e.component("Badge",jc)}};/*! medium-zoom 1.0.8 | MIT License | https://github.com/francoischalifour/medium-zoom */var Mt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},Rn=function(t){return t.tagName==="IMG"},M1=function(t){return NodeList.prototype.isPrototypeOf(t)},Kn=function(t){return t&&t.nodeType===1},Pi=function(t){var n=t.currentSrc||t.src;return n.substr(-4).toLowerCase()===".svg"},Ci=function(t){try{return Array.isArray(t)?t.filter(Rn):M1(t)?[].slice.call(t).filter(Rn):Kn(t)?[t].filter(Rn):typeof t=="string"?[].slice.call(document.querySelectorAll(t)).filter(Rn):[]}catch{throw new TypeError(`The provided selector is invalid.
|
||
Expects a CSS selector, a Node element, a NodeList or an array.
|
||
See: https://github.com/francoischalifour/medium-zoom`)}},A1=function(t){var n=document.createElement("div");return n.classList.add("medium-zoom-overlay"),n.style.background=t,n},V1=function(t){var n=t.getBoundingClientRect(),s=n.top,o=n.left,i=n.width,r=n.height,a=t.cloneNode(),l=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,u=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return a.removeAttribute("id"),a.style.position="absolute",a.style.top=s+l+"px",a.style.left=o+u+"px",a.style.width=i+"px",a.style.height=r+"px",a.style.transform="",a},jt=function(t,n){var s=Mt({bubbles:!1,cancelable:!1,detail:void 0},n);if(typeof window.CustomEvent=="function")return new CustomEvent(t,s);var o=document.createEvent("CustomEvent");return o.initCustomEvent(t,s.bubbles,s.cancelable,s.detail),o},I1=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=window.Promise||function($){function V(){}$(V,V)},o=function($){var V=$.target;if(V===U){L();return}m.indexOf(V)!==-1&&H({target:V})},i=function(){if(!(O||!p.original)){var $=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(te-$)>R.scrollOffset&&setTimeout(L,150)}},r=function($){var V=$.key||$.keyCode;(V==="Escape"||V==="Esc"||V===27)&&L()},a=function(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},V=$;if($.background&&(U.style.background=$.background),$.container&&$.container instanceof Object&&(V.container=Mt({},R.container,$.container)),$.template){var z=Kn($.template)?$.template:document.querySelector($.template);V.template=z}return R=Mt({},R,V),m.forEach(function(fe){fe.dispatchEvent(jt("medium-zoom:update",{detail:{zoom:D}}))}),D},l=function(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e(Mt({},R,$))},u=function(){for(var $=arguments.length,V=Array($),z=0;z<$;z++)V[z]=arguments[z];var fe=V.reduce(function(K,ae){return[].concat(K,Ci(ae))},[]);return fe.filter(function(K){return m.indexOf(K)===-1}).forEach(function(K){m.push(K),K.classList.add("medium-zoom-image")}),S.forEach(function(K){var ae=K.type,le=K.listener,Ve=K.options;fe.forEach(function(Oe){Oe.addEventListener(ae,le,Ve)})}),D},d=function(){for(var $=arguments.length,V=Array($),z=0;z<$;z++)V[z]=arguments[z];p.zoomed&&L();var fe=V.length>0?V.reduce(function(K,ae){return[].concat(K,Ci(ae))},[]):m;return fe.forEach(function(K){K.classList.remove("medium-zoom-image"),K.dispatchEvent(jt("medium-zoom:detach",{detail:{zoom:D}}))}),m=m.filter(function(K){return fe.indexOf(K)===-1}),D},v=function($,V){var z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return m.forEach(function(fe){fe.addEventListener("medium-zoom:"+$,V,z)}),S.push({type:"medium-zoom:"+$,listener:V,options:z}),D},y=function($,V){var z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return m.forEach(function(fe){fe.removeEventListener("medium-zoom:"+$,V,z)}),S=S.filter(function(fe){return!(fe.type==="medium-zoom:"+$&&fe.listener.toString()===V.toString())}),D},k=function(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},V=$.target,z=function(){var K={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},ae=void 0,le=void 0;if(R.container)if(R.container instanceof Object)K=Mt({},K,R.container),ae=K.width-K.left-K.right-R.margin*2,le=K.height-K.top-K.bottom-R.margin*2;else{var Ve=Kn(R.container)?R.container:document.querySelector(R.container),Oe=Ve.getBoundingClientRect(),Ue=Oe.width,Fe=Oe.height,An=Oe.left,ys=Oe.top;K=Mt({},K,{width:Ue,height:Fe,left:An,top:ys})}ae=ae||K.width-R.margin*2,le=le||K.height-R.margin*2;var $t=p.zoomedHd||p.original,Ke=Pi($t)?ae:$t.naturalWidth||ae,Rt=Pi($t)?le:$t.naturalHeight||le,Pt=$t.getBoundingClientRect(),ut=Pt.top,ln=Pt.left,Ct=Pt.width,c=Pt.height,f=Math.min(Math.max(Ct,Ke),ae)/Ct,b=Math.min(Math.max(c,Rt),le)/c,P=Math.min(f,b),C=(-ln+(ae-Ct)/2+R.margin+K.left)/P,M=(-ut+(le-c)/2+R.margin+K.top)/P,F="scale("+P+") translate3d("+C+"px, "+M+"px, 0)";p.zoomed.style.transform=F,p.zoomedHd&&(p.zoomedHd.style.transform=F)};return new s(function(fe){if(V&&m.indexOf(V)===-1){fe(D);return}var K=function Ue(){O=!1,p.zoomed.removeEventListener("transitionend",Ue),p.original.dispatchEvent(jt("medium-zoom:opened",{detail:{zoom:D}})),fe(D)};if(p.zoomed){fe(D);return}if(V)p.original=V;else if(m.length>0){var ae=m;p.original=ae[0]}else{fe(D);return}if(p.original.dispatchEvent(jt("medium-zoom:open",{detail:{zoom:D}})),te=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,O=!0,p.zoomed=V1(p.original),document.body.appendChild(U),R.template){var le=Kn(R.template)?R.template:document.querySelector(R.template);p.template=document.createElement("div"),p.template.appendChild(le.content.cloneNode(!0)),document.body.appendChild(p.template)}if(p.original.parentElement&&p.original.parentElement.tagName==="PICTURE"&&p.original.currentSrc&&(p.zoomed.src=p.original.currentSrc),document.body.appendChild(p.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),p.original.classList.add("medium-zoom-image--hidden"),p.zoomed.classList.add("medium-zoom-image--opened"),p.zoomed.addEventListener("click",L),p.zoomed.addEventListener("transitionend",K),p.original.getAttribute("data-zoom-src")){p.zoomedHd=p.zoomed.cloneNode(),p.zoomedHd.removeAttribute("srcset"),p.zoomedHd.removeAttribute("sizes"),p.zoomedHd.removeAttribute("loading"),p.zoomedHd.src=p.zoomed.getAttribute("data-zoom-src"),p.zoomedHd.onerror=function(){clearInterval(Ve),console.warn("Unable to reach the zoom image target "+p.zoomedHd.src),p.zoomedHd=null,z()};var Ve=setInterval(function(){p.zoomedHd.complete&&(clearInterval(Ve),p.zoomedHd.classList.add("medium-zoom-image--opened"),p.zoomedHd.addEventListener("click",L),document.body.appendChild(p.zoomedHd),z())},10)}else if(p.original.hasAttribute("srcset")){p.zoomedHd=p.zoomed.cloneNode(),p.zoomedHd.removeAttribute("sizes"),p.zoomedHd.removeAttribute("loading");var Oe=p.zoomedHd.addEventListener("load",function(){p.zoomedHd.removeEventListener("load",Oe),p.zoomedHd.classList.add("medium-zoom-image--opened"),p.zoomedHd.addEventListener("click",L),document.body.appendChild(p.zoomedHd),z()})}else z()})},L=function(){return new s(function($){if(O||!p.original){$(D);return}var V=function z(){p.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(p.zoomed),p.zoomedHd&&document.body.removeChild(p.zoomedHd),document.body.removeChild(U),p.zoomed.classList.remove("medium-zoom-image--opened"),p.template&&document.body.removeChild(p.template),O=!1,p.zoomed.removeEventListener("transitionend",z),p.original.dispatchEvent(jt("medium-zoom:closed",{detail:{zoom:D}})),p.original=null,p.zoomed=null,p.zoomedHd=null,p.template=null,$(D)};O=!0,document.body.classList.remove("medium-zoom--opened"),p.zoomed.style.transform="",p.zoomedHd&&(p.zoomedHd.style.transform=""),p.template&&(p.template.style.transition="opacity 150ms",p.template.style.opacity=0),p.original.dispatchEvent(jt("medium-zoom:close",{detail:{zoom:D}})),p.zoomed.addEventListener("transitionend",V)})},H=function(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},V=$.target;return p.original?L():k({target:V})},J=function(){return R},w=function(){return m},T=function(){return p.original},m=[],S=[],O=!1,te=0,R=n,p={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(t)==="[object Object]"?R=t:(t||typeof t=="string")&&u(t),R=Mt({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},R);var U=A1(R.background);document.addEventListener("click",o),document.addEventListener("keyup",r),document.addEventListener("scroll",i),window.addEventListener("resize",L);var D={open:k,close:L,toggle:H,update:a,clone:l,attach:u,detach:d,on:v,off:y,getOptions:J,getImages:w,getZoomedImage:T};return D};function N1(e,t){t===void 0&&(t={});var n=t.insertAt;if(!(!e||typeof document>"u")){var s=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",n==="top"&&s.firstChild?s.insertBefore(o,s.firstChild):s.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}var O1=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";N1(O1);const z1=I1;var Ms=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Qs={},H1={get exports(){return Qs},set exports(e){Qs=e}};(function(e,t){(function(n,s){e.exports=s()})(Ms,function(){var n=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Ms<"u"?Ms:typeof self<"u"?self:{},s={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
||
* @license MIT */(function(i,r){(function(a,l){i.exports=l()})(n,function(){var a={};a.version="0.2.0";var l=a.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};a.configure=function(m){var S,O;for(S in m)O=m[S],O!==void 0&&m.hasOwnProperty(S)&&(l[S]=O);return this},a.status=null,a.set=function(m){var S=a.isStarted();m=u(m,l.minimum,1),a.status=m===1?null:m;var O=a.render(!S),te=O.querySelector(l.barSelector),R=l.speed,p=l.easing;return O.offsetWidth,y(function(U){l.positionUsing===""&&(l.positionUsing=a.getPositioningCSS()),k(te,v(m,R,p)),m===1?(k(O,{transition:"none",opacity:1}),O.offsetWidth,setTimeout(function(){k(O,{transition:"all "+R+"ms linear",opacity:0}),setTimeout(function(){a.remove(),U()},R)},R)):setTimeout(U,R)}),this},a.isStarted=function(){return typeof a.status=="number"},a.start=function(){a.status||a.set(0);var m=function(){setTimeout(function(){!a.status||(a.trickle(),m())},l.trickleSpeed)};return l.trickle&&m(),this},a.done=function(m){return!m&&!a.status?this:a.inc(.3+.5*Math.random()).set(1)},a.inc=function(m){var S=a.status;return S?(typeof m!="number"&&(m=(1-S)*u(Math.random()*S,.1,.95)),S=u(S+m,0,.994),a.set(S)):a.start()},a.trickle=function(){return a.inc(Math.random()*l.trickleRate)},function(){var m=0,S=0;a.promise=function(O){return!O||O.state()==="resolved"?this:(S===0&&a.start(),m++,S++,O.always(function(){S--,S===0?(m=0,a.done()):a.set((m-S)/m)}),this)}}(),a.render=function(m){if(a.isRendered())return document.getElementById("nprogress");H(document.documentElement,"nprogress-busy");var S=document.createElement("div");S.id="nprogress",S.innerHTML=l.template;var O=S.querySelector(l.barSelector),te=m?"-100":d(a.status||0),R=document.querySelector(l.parent),p;return k(O,{transition:"all 0 linear",transform:"translate3d("+te+"%,0,0)"}),l.showSpinner||(p=S.querySelector(l.spinnerSelector),p&&T(p)),R!=document.body&&H(R,"nprogress-custom-parent"),R.appendChild(S),S},a.remove=function(){J(document.documentElement,"nprogress-busy"),J(document.querySelector(l.parent),"nprogress-custom-parent");var m=document.getElementById("nprogress");m&&T(m)},a.isRendered=function(){return!!document.getElementById("nprogress")},a.getPositioningCSS=function(){var m=document.body.style,S="WebkitTransform"in m?"Webkit":"MozTransform"in m?"Moz":"msTransform"in m?"ms":"OTransform"in m?"O":"";return S+"Perspective"in m?"translate3d":S+"Transform"in m?"translate":"margin"};function u(m,S,O){return m<S?S:m>O?O:m}function d(m){return(-1+m)*100}function v(m,S,O){var te;return l.positionUsing==="translate3d"?te={transform:"translate3d("+d(m)+"%,0,0)"}:l.positionUsing==="translate"?te={transform:"translate("+d(m)+"%,0)"}:te={"margin-left":d(m)+"%"},te.transition="all "+S+"ms "+O,te}var y=function(){var m=[];function S(){var O=m.shift();O&&O(S)}return function(O){m.push(O),m.length==1&&S()}}(),k=function(){var m=["Webkit","O","Moz","ms"],S={};function O(U){return U.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(D,Y){return Y.toUpperCase()})}function te(U){var D=document.body.style;if(U in D)return U;for(var Y=m.length,$=U.charAt(0).toUpperCase()+U.slice(1),V;Y--;)if(V=m[Y]+$,V in D)return V;return U}function R(U){return U=O(U),S[U]||(S[U]=te(U))}function p(U,D,Y){D=R(D),U.style[D]=Y}return function(U,D){var Y=arguments,$,V;if(Y.length==2)for($ in D)V=D[$],V!==void 0&&D.hasOwnProperty($)&&p(U,$,V);else p(U,Y[1],Y[2])}}();function L(m,S){var O=typeof m=="string"?m:w(m);return O.indexOf(" "+S+" ")>=0}function H(m,S){var O=w(m),te=O+S;L(O,S)||(m.className=te.substring(1))}function J(m,S){var O=w(m),te;!L(m,S)||(te=O.replace(" "+S+" "," "),m.className=te.substring(1,te.length-1))}function w(m){return(" "+(m.className||"")+" ").replace(/\s+/gi," ")}function T(m){m&&m.parentNode&&m.parentNode.removeChild(m)}return a})})(s);const o=s.exports;return i=>{if(typeof window>"u")return;const{router:r}=i;return setTimeout(()=>{o.configure({showSpinner:!1});const a=r.onBeforeRouteChange,l=r.onAfterRouteChanged;r.onBeforeRouteChange=u=>{o.start(),a==null||a(u)},r.onAfterRouteChanged=u=>{o.done(),l==null||l(u)}}),o}})})(H1);const B1=Qs;const F1=W({__name:"AsideSponsors",setup(e){const t=[{items:[{img:"https://cdn.jsdelivr.net/gh/maomao1996/picture/sponsor/wechat-color.jpg"}]},{items:[{img:"https://cdn.jsdelivr.net/gh/maomao1996/picture/sponsor/alipay-color.jpg"}]}];return(n,s)=>(h(),ne(_(L1),{data:t}))}});const Mn=e=>(Qe("data-v-ddda9334"),e=e(),Ze(),e),R1={class:"copyright"},D1={class:"content"},j1={class:"item"},U1=Mn(()=>g("svg",{class:"icon",width:"20",height:"20",viewBox:"0 0 1024 1024"},[g("title",null,"original author"),g("path",{d:"M614.72 554.538c-49.086-6.399-100.27-2.1-149.256-2.1-119.465 0-209.04 95.972-206.84 215.437 0 17.095 8.498 31.99 23.493 40.488 14.896 10.697 34.09 14.896 53.285 17.095 61.882 6.398 123.664 6.398 198.342 6.398 40.488 0 93.872-2.1 142.858-4.298 27.692 0 53.284-4.3 78.877-14.896 19.194-8.498 29.89-19.194 31.99-40.488 8.498-104.57-72.478-204.84-172.75-217.636zM680.8 375.39c0-87.474-74.678-162.053-164.251-162.053-89.574 0-162.053 74.679-162.053 162.053-2.1 87.474 74.678 164.252 162.053 164.252 89.673 0 164.252-74.678 164.252-164.252z",fill:"#FFF"}),g("path",{d:"M512.35 0C228.733 0 .5 228.233.5 511.85s228.233 511.85 511.85 511.85 511.85-228.233 511.85-511.85S795.967 0 512.35 0zm275.12 772.074c-2.1 21.294-12.797 31.99-31.991 40.488-25.593 10.697-51.185 14.896-78.877 14.896-49.086 2.099-102.37 4.298-142.858 4.298-74.678 0-136.46 0-198.342-6.398-19.195-2.1-38.389-6.398-53.285-17.095-14.895-8.497-23.493-23.493-23.493-40.488-2.1-119.465 87.475-215.437 206.84-215.437 49.085 0 100.27-4.299 149.256 2.1 100.27 12.896 181.247 113.166 172.75 217.636zM354.495 375.39c0-87.474 72.479-162.053 162.053-162.053S680.8 288.016 680.8 375.39c0 89.574-74.679 164.252-164.252 164.252-87.375 0-164.152-76.778-162.053-164.252z",fill:"#249FF8"})],-1)),K1=Mn(()=>g("span",{class:"copyrightText"},"Author: ",-1)),W1={class:"item"},q1=Mn(()=>g("svg",{class:"icon",width:"20",height:"20",viewBox:"0 0 1024 1024"},[g("title",null,"Original Link"),g("path",{d:"M511.854 0A511.854 511.854 0 1 0 1024 511.854 511.854 511.854 0 0 0 511.854 0z",fill:"#39B54A"}),g("path",{d:"M576.491 630.355L460.028 746.818a129.565 129.565 0 0 1-182.555 0l-2.038-2.038a128.983 128.983 0 0 1 0-182.264l81.233-81.233a179.644 179.644 0 0 0 13.102 70.46l-52.7 52.408a69.878 69.878 0 0 0 0 98.703l2.038 2.038a70.169 70.169 0 0 0 98.703 0l116.463-116.463a69.878 69.878 0 0 0 0-98.703l-2.039-2.038a69.587 69.587 0 0 0-13.975-10.772l42.509-42.51a128.11 128.11 0 0 1 13.102 11.356l2.038 2.038a129.274 129.274 0 0 1 0 182.264z",fill:"#FFF"}),g("path",{d:"M746.236 460.902l-81.233 81.233a179.353 179.353 0 0 0-13.102-70.46l52.7-52.409a69.878 69.878 0 0 0 0-98.702l-2.039-2.038a69.878 69.878 0 0 0-98.702 0L487.397 434.989a69.878 69.878 0 0 0 0 98.702l2.038 2.038a68.422 68.422 0 0 0 13.976 10.773l-42.51 42.51a136.553 136.553 0 0 1-13.101-11.356l-2.038-2.038a128.983 128.983 0 0 1 0-182.265l116.463-116.462a129.565 129.565 0 0 1 182.555 0l2.038 2.038a128.983 128.983 0 0 1 0 182.264z",fill:"#FFF"})],-1)),G1=Mn(()=>g("span",{class:"copyrightText"},"Link: ",-1)),Y1=["href"],X1=Mn(()=>g("div",{class:"item"},[g("svg",{class:"icon",width:"20",height:"20",viewBox:"0 0 1024 1024"},[g("title",null,"documentation license"),g("path",{d:"M0 512a512 512 0 1 0 1024 0A512 512 0 1 0 0 512z",fill:"#F3B243"}),g("path",{d:"M540.672 323.584a90.112 90.112 0 1 0 180.224 0 90.112 90.112 0 1 0-180.224 0zM540.672 688.128a90.112 90.112 0 1 0 180.224 0 90.112 90.112 0 1 0-180.224 0zM229.376 512a90.112 90.112 0 1 0 180.224 0 90.112 90.112 0 1 0-180.224 0z",fill:"#FFF"}),g("path",{d:"M341.037 480.37l257.344-175.718 27.713 40.592-257.34 175.718z",fill:"#FFF"}),g("path",{d:"M349.053 488.452L601.907 670.56l-28.725 39.887L320.307 528.34z",fill:"#FFF"})]),g("span",{class:"copyrightText"},"Licensing: "),g("span",null,[$e(" This documentation and all content contained herein, including but not limited to text, graphics, images, and logos, are licensed under "),g("a",{href:"https://creativecommons.org/licenses/by-nc-sa/4.0/",rel:"noreferrer",target:"_blank"},"CC BY-NC 4.0"),$e(", unless specifically noted, attribute the source when reprint. ")])],-1)),J1=W({__name:"Copyright",setup(e){var r,a;const t="Anda Toshiki (安田俊樹)",{frontmatter:n}=_s(),s=ue(t);(r=n.value)!=null&&r.author&&(s.value=(a=n.value)==null?void 0:a.author);const o=location.href,i="https://www.toshiki.dev";return(l,u)=>{const d=xt("ClientOnly");return h(),ne(d,null,{default:j(()=>[g("div",R1,[g("div",D1,[g("div",j1,[U1,K1,g("span",null,[g("a",{href:i,rel:"noreferrer",target:"_blank"},de(s.value),1)])]),g("div",W1,[q1,G1,g("span",null,[g("a",{href:_(o),rel:"noreferrer",target:"_blank"},de(_(o)),9,Y1)])]),X1])])]),_:1})}}});const Q1=q(J1,[["__scopeId","data-v-ddda9334"]]);typeof window<"u"&&(window.navigator&&navigator.serviceWorker&&navigator.serviceWorker.getRegistrations().then(function(e){for(let t of e)t.unregister()}),"caches"in window&&caches.keys().then(function(e){return Promise.all(e.map(function(t){return caches.delete(t)}))}));const Zt={...$i,Layout:()=>{var n;const e={},{frontmatter:t}=_s();return(n=t.value)!=null&&n.layoutClass&&(e.class=t.value.layoutClass),Ht($i.Layout,e,{"aside-bottom":()=>Ht(F1),"doc-footer-before":()=>Ht(Q1)})},setup(){Ae(()=>{z1(".main img",{background:"var(--vp-c-bg)"})})},enhanceApp(e){B1(e)}};function Z1(e,t){let n=[],s=!0;const o=i=>{if(s){s=!1;return}n.forEach(r=>document.head.removeChild(r)),n=[],i.forEach(r=>{const a=em(r);document.head.appendChild(a),n.push(a)})};Bt(()=>{const i=e.data,r=t.value,a=i&&i.description,l=i&&i.frontmatter.head||[];document.title=Er(r,i),document.querySelector("meta[name=description]").setAttribute("content",a||r.description),o(Lr(r.head,nm(l)))})}function em([e,t,n]){const s=document.createElement(e);for(const o in t)s.setAttribute(o,t[o]);return n&&(s.innerHTML=n),s}function tm(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function nm(e){return e.filter(t=>!tm(t))}const As=new Set,qr=()=>document.createElement("link"),sm=e=>{const t=qr();t.rel="prefetch",t.href=e,document.head.appendChild(t)},om=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let Dn;const im=Se&&(Dn=qr())&&Dn.relList&&Dn.relList.supports&&Dn.relList.supports("prefetch")?sm:om;function rm(){if(!Se||!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(i=>{i.forEach(r=>{if(r.isIntersecting){const a=r.target;n.unobserve(a);const{pathname:l}=a;if(!As.has(l)){As.add(l);const u=Ar(l);im(u)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{target:r}=i,{hostname:a,pathname:l}=new URL(i.href instanceof SVGAnimatedString?i.href.animVal:i.href,i.baseURI),u=l.match(/\.\w+$/);u&&u[0]!==".html"||r!=="_blank"&&a===location.hostname&&(l!==location.pathname?n.observe(i):As.add(l))})})};Ae(s);const o=wt();st(()=>o.path,s),lt(()=>{n&&n.disconnect()})}const am=W({setup(e,{slots:t}){const n=ue(!1);return Ae(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function lm(){if(Se){const e=new Map;window.addEventListener("click",t=>{var s;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const o=n.parentElement,i=(s=n.nextElementSibling)==null?void 0:s.nextElementSibling;if(!o||!i)return;const r=/language-(shellscript|shell|bash|sh|zsh)/.test(o.className);let a="";i.querySelectorAll("span.line:not(.diff.remove)").forEach(l=>a+=(l.textContent||"")+`
|
||
`),a=a.slice(0,-1),r&&(a=a.replace(/^ *(\$|>) /gm,"").trim()),cm(a).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const l=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,l)})}})}}async function cm(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const s=document.getSelection(),o=s?s.rangeCount>0&&s.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),o&&(s.removeAllRanges(),s.addRange(o)),n&&n.focus()}}function um(){Se&&window.addEventListener("click",e=>{var n,s;const t=e.target;if(t.matches(".vp-code-group input")){const o=(n=t.parentElement)==null?void 0:n.parentElement,i=Array.from((o==null?void 0:o.querySelectorAll("input"))||[]).indexOf(t),r=o==null?void 0:o.querySelector('div[class*="language-"].active'),a=(s=o==null?void 0:o.querySelectorAll('div[class*="language-"]'))==null?void 0:s[i];r&&a&&r!==a&&(r.classList.remove("active"),a.classList.add("active"))}})}const Gr=Zt.NotFound||(()=>"404 Not Found"),dm=W({name:"VitePressApp",setup(){const{site:e}=_s();return Ae(()=>{Bt(()=>{document.documentElement.lang=e.value.lang,document.documentElement.dir=e.value.dir})}),rm(),lm(),um(),Zt.setup&&Zt.setup(),()=>Ht(Zt.Layout)}});async function fm(){const e=pm(),t=hm();t.provide(Vr,e);const n=Oc(e.route);return t.provide(Mr,n),t.provide("NotFound",Gr),t.component("Content",Rc),t.component("ClientOnly",am),Object.defineProperty(t.config.globalProperties,"$frontmatter",{get(){return n.frontmatter.value}}),Zt.enhanceApp&&await Zt.enhanceApp({app:t,router:e,siteData:_t}),{app:t,router:e,data:n}}function hm(){return $c(dm)}function pm(){let e=Se,t;return Bc(n=>{let s=Ar(n);return e&&(t=s),(e||t===s)&&(s=s.replace(/\.js$/,".lean.js")),Se&&(e=!1),Pr(()=>import(s),[])},Gr)}Se&&fm().then(({app:e,router:t,data:n})=>{t.go().then(()=>{Z1(t.route,n.site),e.mount("#app")})});export{q as _,g as a,$e as b,x as c,fm as createApp,Ol as d,N as e,W as f,wt as g,me as h,Ae as i,h as o,xt as r,Fc as u,st as w};
|