mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 19:06:15 -08:00
9 lines
148 KiB
JavaScript
9 lines
148 KiB
JavaScript
function Qs(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 ts(e){if(Q(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=be(s)?tl(s):ts(s);if(o)for(const i in o)t[i]=o[i]}return t}else{if(be(e))return e;if(ve(e))return e}}const Xr=/;(?![^(]*\))/g,Zr=/:([^]+)/,el=/\/\*.*?\*\//gs;function tl(e){const t={};return e.replace(el,"").split(Xr).forEach(n=>{if(n){const s=n.split(Zr);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function pe(e){let t="";if(be(e))t=e;else if(Q(e))for(let n=0;n<e.length;n++){const s=pe(e[n]);s&&(t+=s+" ")}else if(ve(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const nl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",sl=Qs(nl);function Oi(e){return!!e||e===""}const ae=e=>be(e)?e:e==null?"":Q(e)||ve(e)&&(e.toString===Fi||!ne(e.toString))?JSON.stringify(e,Ni,2):String(e),Ni=(e,t)=>t&&t.__v_isRef?Ni(e,t.value):Ht(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:Bi(t)?{[`Set(${t.size})`]:[...t.values()]}:ve(t)&&!Q(t)&&!Di(t)?String(t):t,ge={},Bt=[],We=()=>{},ol=()=>!1,il=/^on[^a-z]/,wn=e=>il.test(e),Js=e=>e.startsWith("onUpdate:"),Pe=Object.assign,Xs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},rl=Object.prototype.hasOwnProperty,ce=(e,t)=>rl.call(e,t),Q=Array.isArray,Ht=e=>ns(e)==="[object Map]",Bi=e=>ns(e)==="[object Set]",ne=e=>typeof e=="function",be=e=>typeof e=="string",Zs=e=>typeof e=="symbol",ve=e=>e!==null&&typeof e=="object",Hi=e=>ve(e)&&ne(e.then)&&ne(e.catch),Fi=Object.prototype.toString,ns=e=>Fi.call(e),ll=e=>ns(e).slice(8,-1),Di=e=>ns(e)==="[object Object]",eo=e=>be(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,rn=Qs(",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))},cl=/-(\w)/g,st=ss(e=>e.replace(cl,(t,n)=>n?n.toUpperCase():"")),al=/\B([A-Z])/g,Yt=ss(e=>e.replace(al,"-$1").toLowerCase()),os=ss(e=>e.charAt(0).toUpperCase()+e.slice(1)),xs=ss(e=>e?`on${os(e)}`:""),pn=(e,t)=>!Object.is(e,t),Bn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Rn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},_n=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Mo;const ul=()=>Mo||(Mo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Ne;class fl{constructor(t=!1){this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Ne,!t&&Ne&&(this.index=(Ne.scopes||(Ne.scopes=[])).push(this)-1)}run(t){if(this.active){const n=Ne;try{return Ne=this,t()}finally{Ne=n}}}on(){Ne=this}off(){Ne=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 dl(e,t=Ne){t&&t.active&&t.effects.push(e)}function hl(){return Ne}function pl(e){Ne&&Ne.cleanups.push(e)}const to=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Ri=e=>(e.w&_t)>0,zi=e=>(e.n&_t)>0,_l=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=_t},ml=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const o=t[s];Ri(o)&&!zi(o)?o.delete(e):t[n++]=o,o.w&=~_t,o.n&=~_t}t.length=n}},Ms=new WeakMap;let on=0,_t=1;const Is=30;let qe;const Vt=Symbol(""),Os=Symbol("");class no{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,dl(this,s)}run(){if(!this.active)return this.fn();let t=qe,n=ht;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=qe,qe=this,ht=!0,_t=1<<++on,on<=Is?_l(this):Io(this),this.fn()}finally{on<=Is&&ml(this),_t=1<<--on,qe=this.parent,ht=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){qe===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 ht=!0;const ji=[];function Qt(){ji.push(ht),ht=!1}function Jt(){const e=ji.pop();ht=e===void 0?!0:e}function Fe(e,t,n){if(ht&&qe){let s=Ms.get(e);s||Ms.set(e,s=new Map);let o=s.get(n);o||s.set(n,o=to()),Ui(o)}}function Ui(e,t){let n=!1;on<=Is?zi(e)||(e.n|=_t,n=!Ri(e)):n=!e.has(qe),n&&(e.add(qe),qe.deps.push(e))}function rt(e,t,n,s,o,i){const r=Ms.get(e);if(!r)return;let l=[];if(t==="clear")l=[...r.values()];else if(n==="length"&&Q(e)){const c=_n(s);r.forEach((a,f)=>{(f==="length"||f>=c)&&l.push(a)})}else switch(n!==void 0&&l.push(r.get(n)),t){case"add":Q(e)?eo(n)&&l.push(r.get("length")):(l.push(r.get(Vt)),Ht(e)&&l.push(r.get(Os)));break;case"delete":Q(e)||(l.push(r.get(Vt)),Ht(e)&&l.push(r.get(Os)));break;case"set":Ht(e)&&l.push(r.get(Vt));break}if(l.length===1)l[0]&&Ns(l[0]);else{const c=[];for(const a of l)a&&c.push(...a);Ns(to(c))}}function Ns(e,t){const n=Q(e)?e:[...e];for(const s of n)s.computed&&Oo(s);for(const s of n)s.computed||Oo(s)}function Oo(e,t){(e!==qe||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const gl=Qs("__proto__,__v_isRef,__isVue"),qi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Zs)),vl=so(),yl=so(!1,!0),bl=so(!0),No=xl();function xl(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=fe(this);for(let i=0,r=this.length;i<r;i++)Fe(s,"get",i+"");const o=s[t](...n);return o===-1||o===!1?s[t](...n.map(fe)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Qt();const s=fe(this)[t].apply(this,n);return Jt(),s}}),e}function so(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?Bl:Qi:t?Yi:Gi).get(s))return s;const r=Q(s);if(!e&&r&&ce(No,o))return Reflect.get(No,o,i);const l=Reflect.get(s,o,i);return(Zs(o)?qi.has(o):gl(o))||(e||Fe(s,"get",o),t)?l:Se(l)?r&&eo(o)?l:l.value:ve(l)?e?ro(l):rs(l):l}}const wl=Ki(),kl=Ki(!0);function Ki(e=!1){return function(n,s,o,i){let r=n[s];if(qt(r)&&Se(r)&&!Se(o))return!1;if(!e&&(!zn(o)&&!qt(o)&&(r=fe(r),o=fe(o)),!Q(n)&&Se(r)&&!Se(o)))return r.value=o,!0;const l=Q(n)&&eo(s)?Number(s)<n.length:ce(n,s),c=Reflect.set(n,s,o,i);return n===fe(i)&&(l?pn(o,r)&&rt(n,"set",s,o):rt(n,"add",s,o)),c}}function $l(e,t){const n=ce(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&rt(e,"delete",t,void 0),s}function Pl(e,t){const n=Reflect.has(e,t);return(!Zs(t)||!qi.has(t))&&Fe(e,"has",t),n}function Cl(e){return Fe(e,"iterate",Q(e)?"length":Vt),Reflect.ownKeys(e)}const Wi={get:vl,set:wl,deleteProperty:$l,has:Pl,ownKeys:Cl},Sl={get:bl,set(e,t){return!0},deleteProperty(e,t){return!0}},Tl=Pe({},Wi,{get:yl,set:kl}),oo=e=>e,is=e=>Reflect.getPrototypeOf(e);function Cn(e,t,n=!1,s=!1){e=e.__v_raw;const o=fe(e),i=fe(t);n||(t!==i&&Fe(o,"get",t),Fe(o,"get",i));const{has:r}=is(o),l=s?oo:n?co:mn;if(r.call(o,t))return l(e.get(t));if(r.call(o,i))return l(e.get(i));e!==o&&e.get(t)}function Sn(e,t=!1){const n=this.__v_raw,s=fe(n),o=fe(e);return t||(e!==o&&Fe(s,"has",e),Fe(s,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Tn(e,t=!1){return e=e.__v_raw,!t&&Fe(fe(e),"iterate",Vt),Reflect.get(e,"size",e)}function Bo(e){e=fe(e);const t=fe(this);return is(t).has.call(t,e)||(t.add(e),rt(t,"add",e,e)),this}function Ho(e,t){t=fe(t);const n=fe(this),{has:s,get:o}=is(n);let i=s.call(n,e);i||(e=fe(e),i=s.call(n,e));const r=o.call(n,e);return n.set(e,t),i?pn(t,r)&&rt(n,"set",e,t):rt(n,"add",e,t),this}function Fo(e){const t=fe(this),{has:n,get:s}=is(t);let o=n.call(t,e);o||(e=fe(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 Do(){const e=fe(this),t=e.size!==0,n=e.clear();return t&&rt(e,"clear",void 0,void 0),n}function En(e,t){return function(s,o){const i=this,r=i.__v_raw,l=fe(r),c=t?oo:e?co:mn;return!e&&Fe(l,"iterate",Vt),r.forEach((a,f)=>s.call(o,c(a),c(f),i))}}function Vn(e,t,n){return function(...s){const o=this.__v_raw,i=fe(o),r=Ht(i),l=e==="entries"||e===Symbol.iterator&&r,c=e==="keys"&&r,a=o[e](...s),f=n?oo:t?co:mn;return!t&&Fe(i,"iterate",c?Os:Vt),{next(){const{value:h,done:_}=a.next();return _?{value:h,done:_}:{value:l?[f(h[0]),f(h[1])]:f(h),done:_}},[Symbol.iterator](){return this}}}}function ct(e){return function(...t){return e==="delete"?!1:this}}function El(){const e={get(i){return Cn(this,i)},get size(){return Tn(this)},has:Sn,add:Bo,set:Ho,delete:Fo,clear:Do,forEach:En(!1,!1)},t={get(i){return Cn(this,i,!1,!0)},get size(){return Tn(this)},has:Sn,add:Bo,set:Ho,delete:Fo,clear:Do,forEach:En(!1,!0)},n={get(i){return Cn(this,i,!0)},get size(){return Tn(this,!0)},has(i){return Sn.call(this,i,!0)},add:ct("add"),set:ct("set"),delete:ct("delete"),clear:ct("clear"),forEach:En(!0,!1)},s={get(i){return Cn(this,i,!0,!0)},get size(){return Tn(this,!0)},has(i){return Sn.call(this,i,!0)},add:ct("add"),set:ct("set"),delete:ct("delete"),clear:ct("clear"),forEach:En(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Vn(i,!1,!1),n[i]=Vn(i,!0,!1),t[i]=Vn(i,!1,!0),s[i]=Vn(i,!0,!0)}),[e,n,t,s]}const[Vl,Ll,Al,Ml]=El();function io(e,t){const n=t?e?Ml:Al:e?Ll:Vl;return(s,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(ce(n,o)&&o in s?n:s,o,i)}const Il={get:io(!1,!1)},Ol={get:io(!1,!0)},Nl={get:io(!0,!1)},Gi=new WeakMap,Yi=new WeakMap,Qi=new WeakMap,Bl=new WeakMap;function Hl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Fl(e){return e.__v_skip||!Object.isExtensible(e)?0:Hl(ll(e))}function rs(e){return qt(e)?e:lo(e,!1,Wi,Il,Gi)}function Dl(e){return lo(e,!1,Tl,Ol,Yi)}function ro(e){return lo(e,!0,Sl,Nl,Qi)}function lo(e,t,n,s,o){if(!ve(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const r=Fl(e);if(r===0)return e;const l=new Proxy(e,r===2?s:n);return o.set(e,l),l}function Ft(e){return qt(e)?Ft(e.__v_raw):!!(e&&e.__v_isReactive)}function qt(e){return!!(e&&e.__v_isReadonly)}function zn(e){return!!(e&&e.__v_isShallow)}function Ji(e){return Ft(e)||qt(e)}function fe(e){const t=e&&e.__v_raw;return t?fe(t):e}function ln(e){return Rn(e,"__v_skip",!0),e}const mn=e=>ve(e)?rs(e):e,co=e=>ve(e)?ro(e):e;function Xi(e){ht&&qe&&(e=fe(e),Ui(e.dep||(e.dep=to())))}function Zi(e,t){e=fe(e),e.dep&&Ns(e.dep)}function Se(e){return!!(e&&e.__v_isRef===!0)}function le(e){return er(e,!1)}function Rl(e){return er(e,!0)}function er(e,t){return Se(e)?e:new zl(e,t)}class zl{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:fe(t),this._value=n?t:mn(t)}get value(){return Xi(this),this._value}set value(t){const n=this.__v_isShallow||zn(t)||qt(t);t=n?t:fe(t),pn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:mn(t),Zi(this))}}function g(e){return Se(e)?e.value:e}const jl={get:(e,t,n)=>g(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return Se(o)&&!Se(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function tr(e){return Ft(e)?e:new Proxy(e,jl)}var nr;class Ul{constructor(t,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[nr]=!1,this._dirty=!0,this.effect=new no(t,()=>{this._dirty||(this._dirty=!0,Zi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const t=fe(this);return Xi(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}nr="__v_isReadonly";function ql(e,t,n=!1){let s,o;const i=ne(e);return i?(s=e,o=We):(s=e.get,o=e.set),new Ul(s,o,i||!o,n)}function pt(e,t,n,s){let o;try{o=s?e(...s):e()}catch(i){ls(i,t,n)}return o}function ze(e,t,n,s){if(ne(e)){const i=pt(e,t,n,s);return i&&Hi(i)&&i.catch(r=>{ls(r,t,n)}),i}const o=[];for(let i=0;i<e.length;i++)o.push(ze(e[i],t,n,s));return o}function ls(e,t,n,s=!0){const o=t?t.vnode:null;if(t){let i=t.parent;const r=t.proxy,l=n;for(;i;){const a=i.ec;if(a){for(let f=0;f<a.length;f++)if(a[f](e,r,l)===!1)return}i=i.parent}const c=t.appContext.config.errorHandler;if(c){pt(c,null,10,[e,r,l]);return}}Kl(e,n,o,s)}function Kl(e,t,n,s=!0){console.error(e)}let gn=!1,Bs=!1;const Ce=[];let tt=0;const Dt=[];let it=null,Pt=0;const sr=Promise.resolve();let ao=null;function uo(e){const t=ao||sr;return e?t.then(this?e.bind(this):e):t}function Wl(e){let t=tt+1,n=Ce.length;for(;t<n;){const s=t+n>>>1;vn(Ce[s])<e?t=s+1:n=s}return t}function fo(e){(!Ce.length||!Ce.includes(e,gn&&e.allowRecurse?tt+1:tt))&&(e.id==null?Ce.push(e):Ce.splice(Wl(e.id),0,e),or())}function or(){!gn&&!Bs&&(Bs=!0,ao=sr.then(ir))}function Gl(e){const t=Ce.indexOf(e);t>tt&&Ce.splice(t,1)}function Yl(e){Q(e)?Dt.push(...e):(!it||!it.includes(e,e.allowRecurse?Pt+1:Pt))&&Dt.push(e),or()}function Ro(e,t=gn?tt+1:0){for(;t<Ce.length;t++){const n=Ce[t];n&&n.pre&&(Ce.splice(t,1),t--,n())}}function jn(e){if(Dt.length){const t=[...new Set(Dt)];if(Dt.length=0,it){it.push(...t);return}for(it=t,it.sort((n,s)=>vn(n)-vn(s)),Pt=0;Pt<it.length;Pt++)it[Pt]();it=null,Pt=0}}const vn=e=>e.id==null?1/0:e.id,Ql=(e,t)=>{const n=vn(e)-vn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function ir(e){Bs=!1,gn=!0,Ce.sort(Ql);const t=We;try{for(tt=0;tt<Ce.length;tt++){const n=Ce[tt];n&&n.active!==!1&&pt(n,null,14)}}finally{tt=0,Ce.length=0,jn(),gn=!1,ao=null,(Ce.length||Dt.length)&&ir()}}function Jl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ge;let o=n;const i=t.startsWith("update:"),r=i&&t.slice(7);if(r&&r in s){const f=`${r==="modelValue"?"model":r}Modifiers`,{number:h,trim:_}=s[f]||ge;_&&(o=n.map(m=>be(m)?m.trim():m)),h&&(o=n.map(_n))}let l,c=s[l=xs(t)]||s[l=xs(st(t))];!c&&i&&(c=s[l=xs(Yt(t))]),c&&ze(c,e,6,o);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,ze(a,e,6,o)}}function rr(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const i=e.emits;let r={},l=!1;if(!ne(e)){const c=a=>{const f=rr(a,t,!0);f&&(l=!0,Pe(r,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ve(e)&&s.set(e,null),null):(Q(i)?i.forEach(c=>r[c]=null):Pe(r,i),ve(e)&&s.set(e,r),r)}function cs(e,t){return!e||!wn(t)?!1:(t=t.slice(2).replace(/Once$/,""),ce(e,t[0].toLowerCase()+t.slice(1))||ce(e,Yt(t))||ce(e,t))}let $e=null,as=null;function Un(e){const t=$e;return $e=e,as=e&&e.type.__scopeId||null,t}function Ge(e){as=e}function Ye(){as=null}function B(e,t=$e,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&Zo(-1);const i=Un(t);let r;try{r=e(...o)}finally{Un(i),s._d&&Zo(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:l,attrs:c,emit:a,render:f,renderCache:h,data:_,setupState:m,ctx:S,inheritAttrs:A}=e;let W,y;const w=Un(e);try{if(n.shapeFlag&4){const O=o||s;W=Ue(f.call(O,O,h,i,m,_,S)),y=c}else{const O=t;W=Ue(O.length>1?O(i,{attrs:c,slots:l,emit:a}):O(i,null)),y=t.props?c:Xl(c)}}catch(O){fn.length=0,ls(O,e,1),W=I(He)}let C=W;if(y&&A!==!1){const O=Object.keys(y),{shapeFlag:z}=C;O.length&&z&7&&(r&&O.some(Js)&&(y=Zl(y,r)),C=mt(C,y))}return n.dirs&&(C=mt(C),C.dirs=C.dirs?C.dirs.concat(n.dirs):n.dirs),n.transition&&(C.transition=n.transition),W=C,Un(w),W}const Xl=e=>{let t;for(const n in e)(n==="class"||n==="style"||wn(n))&&((t||(t={}))[n]=e[n]);return t},Zl=(e,t)=>{const n={};for(const s in e)(!Js(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function ec(e,t,n){const{props:s,children:o,component:i}=e,{props:r,children:l,patchFlag:c}=t,a=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?zo(s,r,a):!!r;if(c&8){const f=t.dynamicProps;for(let h=0;h<f.length;h++){const _=f[h];if(r[_]!==s[_]&&!cs(a,_))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:s===r?!1:s?r?zo(s,r,a):!0:!!r;return!1}function zo(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]&&!cs(n,i))return!0}return!1}function tc({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const nc=e=>e.__isSuspense;function lr(e,t){t&&t.pendingBranch?Q(e)?t.effects.push(...e):t.effects.push(e):Yl(e)}function Rt(e,t){if(we){let n=we.provides;const s=we.parent&&we.parent.provides;s===n&&(n=we.provides=Object.create(s)),n[e]=t}}function Be(e,t,n=!1){const s=we||$e;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&&ne(t)?t.call(s.proxy):t}}function At(e,t){return us(e,null,t)}function sc(e,t){return us(e,null,{flush:"post"})}const Ln={};function nt(e,t,n){return us(e,t,n)}function us(e,t,{immediate:n,deep:s,flush:o,onTrack:i,onTrigger:r}=ge){const l=we;let c,a=!1,f=!1;if(Se(e)?(c=()=>e.value,a=zn(e)):Ft(e)?(c=()=>e,s=!0):Q(e)?(f=!0,a=e.some(C=>Ft(C)||zn(C)),c=()=>e.map(C=>{if(Se(C))return C.value;if(Ft(C))return Et(C);if(ne(C))return pt(C,l,2)})):ne(e)?t?c=()=>pt(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return h&&h(),ze(e,l,3,[_])}:c=We,t&&s){const C=c;c=()=>Et(C())}let h,_=C=>{h=y.onStop=()=>{pt(C,l,4)}},m;if(bn)if(_=We,t?n&&ze(t,l,3,[c(),f?[]:void 0,_]):c(),o==="sync"){const C=Xc();m=C.__watcherHandles||(C.__watcherHandles=[])}else return We;let S=f?new Array(e.length).fill(Ln):Ln;const A=()=>{if(y.active)if(t){const C=y.run();(s||a||(f?C.some((O,z)=>pn(O,S[z])):pn(C,S)))&&(h&&h(),ze(t,l,3,[C,S===Ln?void 0:f&&S[0]===Ln?[]:S,_]),S=C)}else y.run()};A.allowRecurse=!!t;let W;o==="sync"?W=A:o==="post"?W=()=>Ae(A,l&&l.suspense):(A.pre=!0,l&&(A.id=l.uid),W=()=>fo(A));const y=new no(c,W);t?n?A():S=y.run():o==="post"?Ae(y.run.bind(y),l&&l.suspense):y.run();const w=()=>{y.stop(),l&&l.scope&&Xs(l.scope.effects,y)};return m&&m.push(w),w}function oc(e,t,n){const s=this.proxy,o=be(e)?e.includes(".")?cr(s,e):()=>s[e]:e.bind(s,s);let i;ne(t)?i=t:(i=t.handler,n=t);const r=we;Wt(this);const l=us(o,i.bind(s),n);return r?Wt(r):Lt(),l}function cr(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 Et(e,t){if(!ve(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Se(e))Et(e.value,t);else if(Q(e))for(let n=0;n<e.length;n++)Et(e[n],t);else if(Bi(e)||Ht(e))e.forEach(n=>{Et(n,t)});else if(Di(e))for(const n in e)Et(e[n],t);return e}function ic(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Qe(()=>{e.isMounted=!0}),hr(()=>{e.isUnmounting=!0}),e}const De=[Function,Array],rc={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:De,onEnter:De,onAfterEnter:De,onEnterCancelled:De,onBeforeLeave:De,onLeave:De,onAfterLeave:De,onLeaveCancelled:De,onBeforeAppear:De,onAppear:De,onAfterAppear:De,onAppearCancelled:De},setup(e,{slots:t}){const n=bo(),s=ic();let o;return()=>{const i=t.default&&fr(t.default(),!0);if(!i||!i.length)return;let r=i[0];if(i.length>1){for(const A of i)if(A.type!==He){r=A;break}}const l=fe(e),{mode:c}=l;if(s.isLeaving)return ks(r);const a=jo(r);if(!a)return ks(r);const f=Hs(a,l,s,n);Fs(a,f);const h=n.subTree,_=h&&jo(h);let m=!1;const{getTransitionKey:S}=a.type;if(S){const A=S();o===void 0?o=A:A!==o&&(o=A,m=!0)}if(_&&_.type!==He&&(!Ct(a,_)||m)){const A=Hs(_,l,s,n);if(Fs(_,A),c==="out-in")return s.isLeaving=!0,A.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},ks(r);c==="in-out"&&a.type!==He&&(A.delayLeave=(W,y,w)=>{const C=ur(s,_);C[String(_.key)]=_,W._leaveCb=()=>{y(),W._leaveCb=void 0,delete f.delayedLeave},f.delayedLeave=w})}return r}}},ar=rc;function ur(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:l,onEnter:c,onAfterEnter:a,onEnterCancelled:f,onBeforeLeave:h,onLeave:_,onAfterLeave:m,onLeaveCancelled:S,onBeforeAppear:A,onAppear:W,onAfterAppear:y,onAppearCancelled:w}=t,C=String(e.key),O=ur(n,e),z=(V,Y)=>{V&&ze(V,s,9,Y)},G=(V,Y)=>{const J=Y[1];z(V,Y),Q(V)?V.every(se=>se.length<=1)&&J():V.length<=1&&J()},X={mode:i,persisted:r,beforeEnter(V){let Y=l;if(!n.isMounted)if(o)Y=A||l;else return;V._leaveCb&&V._leaveCb(!0);const J=O[C];J&&Ct(e,J)&&J.el._leaveCb&&J.el._leaveCb(),z(Y,[V])},enter(V){let Y=c,J=a,se=f;if(!n.isMounted)if(o)Y=W||c,J=y||a,se=w||f;else return;let F=!1;const oe=V._enterCb=j=>{F||(F=!0,j?z(se,[V]):z(J,[V]),X.delayedLeave&&X.delayedLeave(),V._enterCb=void 0)};Y?G(Y,[V,oe]):oe()},leave(V,Y){const J=String(e.key);if(V._enterCb&&V._enterCb(!0),n.isUnmounting)return Y();z(h,[V]);let se=!1;const F=V._leaveCb=oe=>{se||(se=!0,Y(),oe?z(S,[V]):z(m,[V]),V._leaveCb=void 0,O[J]===e&&delete O[J])};O[J]=e,_?G(_,[V,F]):F()},clone(V){return Hs(V,t,n,s)}};return X}function ks(e){if(fs(e))return e=mt(e),e.children=null,e}function jo(e){return fs(e)?e.children?e.children[0]:void 0:e}function Fs(e,t){e.shapeFlag&6&&e.component?Fs(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 fr(e,t=!1,n){let s=[],o=0;for(let i=0;i<e.length;i++){let r=e[i];const l=n==null?r.key:String(n)+String(r.key!=null?r.key:i);r.type===te?(r.patchFlag&128&&o++,s=s.concat(fr(r.children,t,l))):(t||r.type!==He)&&s.push(l!=null?mt(r,{key:l}):r)}if(o>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}function R(e){return ne(e)?{setup:e,name:e.name}:e}const zt=e=>!!e.type.__asyncLoader,fs=e=>e.type.__isKeepAlive;function lc(e,t){dr(e,"a",t)}function cc(e,t){dr(e,"da",t)}function dr(e,t,n=we){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;)fs(o.parent.vnode)&&ac(s,t,n,o),o=o.parent}}function ac(e,t,n,s){const o=ds(t,e,s,!0);Xt(()=>{Xs(s[t],o)},n)}function ds(e,t,n=we,s=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;Qt(),Wt(n);const l=ze(t,n,e,r);return Lt(),Jt(),l});return s?o.unshift(i):o.push(i),i}}const lt=e=>(t,n=we)=>(!bn||e==="sp")&&ds(e,(...s)=>t(...s),n),uc=lt("bm"),Qe=lt("m"),fc=lt("bu"),ho=lt("u"),hr=lt("bum"),Xt=lt("um"),dc=lt("sp"),hc=lt("rtg"),pc=lt("rtc");function _c(e,t=we){ds("ec",e,t)}function Uo(e,t){const n=$e;if(n===null)return e;const s=ps(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[r,l,c,a=ge]=t[i];r&&(ne(r)&&(r={mounted:r,updated:r}),r.deep&&Et(l),o.push({dir:r,instance:s,value:l,oldValue:void 0,arg:c,modifiers:a}))}return e}function et(e,t,n,s){const o=e.dirs,i=t&&t.dirs;for(let r=0;r<o.length;r++){const l=o[r];i&&(l.oldValue=i[r].value);let c=l.dir[s];c&&(Qt(),ze(c,n,8,[e.el,l,e,t]),Jt())}}const po="components";function gt(e,t){return _r(po,e,!0,t)||e}const pr=Symbol();function _o(e){return be(e)?_r(po,e,!1)||e:e||pr}function _r(e,t,n=!0,s=!1){const o=$e||we;if(o){const i=o.type;if(e===po){const l=Wc(i,!1);if(l&&(l===t||l===st(t)||l===os(st(t))))return i}const r=qo(o[e]||i[e],t)||qo(o.appContext[e],t);return!r&&s?i:r}}function qo(e,t){return e&&(e[t]||e[st(t)]||e[os(st(t))])}function ke(e,t,n,s){let o;const i=n&&n[s];if(Q(e)||be(e)){o=new Array(e.length);for(let r=0,l=e.length;r<l;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(ve(e))if(e[Symbol.iterator])o=Array.from(e,(r,l)=>t(r,l,void 0,i&&i[l]));else{const r=Object.keys(e);o=new Array(r.length);for(let l=0,c=r.length;l<c;l++){const a=r[l];o[l]=t(e[a],a,l,i&&i[l])}}else o=[];return n&&(n[s]=o),o}function L(e,t,n={},s,o){if($e.isCE||$e.parent&&zt($e.parent)&&$e.parent.isCE)return t!=="default"&&(n.name=t),I("slot",n,s&&s());let i=e[t];i&&i._c&&(i._d=!1),p();const r=i&&mr(i(n)),l=ee(te,{key:n.key||r&&r.key||`_${t}`},r||(s?s():[]),r&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function mr(e){return e.some(t=>Wn(t)?!(t.type===He||t.type===te&&!mr(t.children)):!0)?e:null}const Ds=e=>e?Sr(e)?ps(e)||e.proxy:Ds(e.parent):null,cn=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=>Ds(e.parent),$root:e=>Ds(e.root),$emit:e=>e.emit,$options:e=>mo(e),$forceUpdate:e=>e.f||(e.f=()=>fo(e.update)),$nextTick:e=>e.n||(e.n=uo.bind(e.proxy)),$watch:e=>oc.bind(e)}),$s=(e,t)=>e!==ge&&!e.__isScriptSetup&&ce(e,t),mc={get({_:e},t){const{ctx:n,setupState:s,data:o,props:i,accessCache:r,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const m=r[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if($s(s,t))return r[t]=1,s[t];if(o!==ge&&ce(o,t))return r[t]=2,o[t];if((a=e.propsOptions[0])&&ce(a,t))return r[t]=3,i[t];if(n!==ge&&ce(n,t))return r[t]=4,n[t];Rs&&(r[t]=0)}}const f=cn[t];let h,_;if(f)return t==="$attrs"&&Fe(e,"get",t),f(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==ge&&ce(n,t))return r[t]=4,n[t];if(_=c.config.globalProperties,ce(_,t))return _[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:i}=e;return $s(o,t)?(o[t]=n,!0):s!==ge&&ce(s,t)?(s[t]=n,!0):ce(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 l;return!!n[r]||e!==ge&&ce(e,r)||$s(t,r)||(l=i[0])&&ce(l,r)||ce(s,r)||ce(cn,r)||ce(o.config.globalProperties,r)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ce(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let Rs=!0;function gc(e){const t=mo(e),n=e.proxy,s=e.ctx;Rs=!1,t.beforeCreate&&Ko(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:r,watch:l,provide:c,inject:a,created:f,beforeMount:h,mounted:_,beforeUpdate:m,updated:S,activated:A,deactivated:W,beforeDestroy:y,beforeUnmount:w,destroyed:C,unmounted:O,render:z,renderTracked:G,renderTriggered:X,errorCaptured:V,serverPrefetch:Y,expose:J,inheritAttrs:se,components:F,directives:oe,filters:j}=t;if(a&&vc(a,s,null,e.appContext.config.unwrapInjectedRef),r)for(const ye in r){const _e=r[ye];ne(_e)&&(s[ye]=_e.bind(n))}if(o){const ye=o.call(n,n);ve(ye)&&(e.data=rs(ye))}if(Rs=!0,i)for(const ye in i){const _e=i[ye],yt=ne(_e)?_e.bind(n,n):ne(_e.get)?_e.get.bind(n,n):We,$n=!ne(_e)&&ne(_e.set)?_e.set.bind(n):We,bt=ie({get:yt,set:$n});Object.defineProperty(s,ye,{enumerable:!0,configurable:!0,get:()=>bt.value,set:Xe=>bt.value=Xe})}if(l)for(const ye in l)gr(l[ye],s,n,ye);if(c){const ye=ne(c)?c.call(n):c;Reflect.ownKeys(ye).forEach(_e=>{Rt(_e,ye[_e])})}f&&Ko(f,e,"c");function de(ye,_e){Q(_e)?_e.forEach(yt=>ye(yt.bind(n))):_e&&ye(_e.bind(n))}if(de(uc,h),de(Qe,_),de(fc,m),de(ho,S),de(lc,A),de(cc,W),de(_c,V),de(pc,G),de(hc,X),de(hr,w),de(Xt,O),de(dc,Y),Q(J))if(J.length){const ye=e.exposed||(e.exposed={});J.forEach(_e=>{Object.defineProperty(ye,_e,{get:()=>n[_e],set:yt=>n[_e]=yt})})}else e.exposed||(e.exposed={});z&&e.render===We&&(e.render=z),se!=null&&(e.inheritAttrs=se),F&&(e.components=F),oe&&(e.directives=oe)}function vc(e,t,n=We,s=!1){Q(e)&&(e=zs(e));for(const o in e){const i=e[o];let r;ve(i)?"default"in i?r=Be(i.from||o,i.default,!0):r=Be(i.from||o):r=Be(i),Se(r)&&s?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:l=>r.value=l}):t[o]=r}}function Ko(e,t,n){ze(Q(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function gr(e,t,n,s){const o=s.includes(".")?cr(n,s):()=>n[s];if(be(e)){const i=t[e];ne(i)&&nt(o,i)}else if(ne(e))nt(o,e.bind(n));else if(ve(e))if(Q(e))e.forEach(i=>gr(i,t,n,s));else{const i=ne(e.handler)?e.handler.bind(n):t[e.handler];ne(i)&&nt(o,i,e)}}function mo(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:r}}=e.appContext,l=i.get(t);let c;return l?c=l:!o.length&&!n&&!s?c=t:(c={},o.length&&o.forEach(a=>qn(c,a,r,!0)),qn(c,t,r)),ve(t)&&i.set(t,c),c}function qn(e,t,n,s=!1){const{mixins:o,extends:i}=t;i&&qn(e,i,n,!0),o&&o.forEach(r=>qn(e,r,n,!0));for(const r in t)if(!(s&&r==="expose")){const l=yc[r]||n&&n[r];e[r]=l?l(e[r],t[r]):t[r]}return e}const yc={data:Wo,props:$t,emits:$t,methods:$t,computed:$t,beforeCreate:Te,created:Te,beforeMount:Te,mounted:Te,beforeUpdate:Te,updated:Te,beforeDestroy:Te,beforeUnmount:Te,destroyed:Te,unmounted:Te,activated:Te,deactivated:Te,errorCaptured:Te,serverPrefetch:Te,components:$t,directives:$t,watch:xc,provide:Wo,inject:bc};function Wo(e,t){return t?e?function(){return Pe(ne(e)?e.call(this,this):e,ne(t)?t.call(this,this):t)}:t:e}function bc(e,t){return $t(zs(e),zs(t))}function zs(e){if(Q(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Te(e,t){return e?[...new Set([].concat(e,t))]:t}function $t(e,t){return e?Pe(Pe(Object.create(null),e),t):t}function xc(e,t){if(!e)return t;if(!t)return e;const n=Pe(Object.create(null),e);for(const s in t)n[s]=Te(e[s],t[s]);return n}function wc(e,t,n,s=!1){const o={},i={};Rn(i,hs,1),e.propsDefaults=Object.create(null),vr(e,t,o,i);for(const r in e.propsOptions[0])r in o||(o[r]=void 0);n?e.props=s?o:Dl(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function kc(e,t,n,s){const{props:o,attrs:i,vnode:{patchFlag:r}}=e,l=fe(o),[c]=e.propsOptions;let a=!1;if((s||r>0)&&!(r&16)){if(r&8){const f=e.vnode.dynamicProps;for(let h=0;h<f.length;h++){let _=f[h];if(cs(e.emitsOptions,_))continue;const m=t[_];if(c)if(ce(i,_))m!==i[_]&&(i[_]=m,a=!0);else{const S=st(_);o[S]=js(c,l,S,m,e,!1)}else m!==i[_]&&(i[_]=m,a=!0)}}}else{vr(e,t,o,i)&&(a=!0);let f;for(const h in l)(!t||!ce(t,h)&&((f=Yt(h))===h||!ce(t,f)))&&(c?n&&(n[h]!==void 0||n[f]!==void 0)&&(o[h]=js(c,l,h,void 0,e,!0)):delete o[h]);if(i!==l)for(const h in i)(!t||!ce(t,h))&&(delete i[h],a=!0)}a&&rt(e,"set","$attrs")}function vr(e,t,n,s){const[o,i]=e.propsOptions;let r=!1,l;if(t)for(let c in t){if(rn(c))continue;const a=t[c];let f;o&&ce(o,f=st(c))?!i||!i.includes(f)?n[f]=a:(l||(l={}))[f]=a:cs(e.emitsOptions,c)||(!(c in s)||a!==s[c])&&(s[c]=a,r=!0)}if(i){const c=fe(n),a=l||ge;for(let f=0;f<i.length;f++){const h=i[f];n[h]=js(o,c,h,a[h],e,!ce(a,h))}}return r}function js(e,t,n,s,o,i){const r=e[n];if(r!=null){const l=ce(r,"default");if(l&&s===void 0){const c=r.default;if(r.type!==Function&&ne(c)){const{propsDefaults:a}=o;n in a?s=a[n]:(Wt(o),s=a[n]=c.call(null,t),Lt())}else s=c}r[0]&&(i&&!l?s=!1:r[1]&&(s===""||s===Yt(n))&&(s=!0))}return s}function yr(e,t,n=!1){const s=t.propsCache,o=s.get(e);if(o)return o;const i=e.props,r={},l=[];let c=!1;if(!ne(e)){const f=h=>{c=!0;const[_,m]=yr(h,t,!0);Pe(r,_),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!i&&!c)return ve(e)&&s.set(e,Bt),Bt;if(Q(i))for(let f=0;f<i.length;f++){const h=st(i[f]);Go(h)&&(r[h]=ge)}else if(i)for(const f in i){const h=st(f);if(Go(h)){const _=i[f],m=r[h]=Q(_)||ne(_)?{type:_}:Object.assign({},_);if(m){const S=Jo(Boolean,m.type),A=Jo(String,m.type);m[0]=S>-1,m[1]=A<0||S<A,(S>-1||ce(m,"default"))&&l.push(h)}}}const a=[r,l];return ve(e)&&s.set(e,a),a}function Go(e){return e[0]!=="$"}function Yo(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Qo(e,t){return Yo(e)===Yo(t)}function Jo(e,t){return Q(t)?t.findIndex(n=>Qo(n,e)):ne(t)&&Qo(t,e)?0:-1}const br=e=>e[0]==="_"||e==="$stable",go=e=>Q(e)?e.map(Ue):[Ue(e)],$c=(e,t,n)=>{if(t._n)return t;const s=B((...o)=>go(t(...o)),n);return s._c=!1,s},xr=(e,t,n)=>{const s=e._ctx;for(const o in e){if(br(o))continue;const i=e[o];if(ne(i))t[o]=$c(o,i,s);else if(i!=null){const r=go(i);t[o]=()=>r}}},wr=(e,t)=>{const n=go(t);e.slots.default=()=>n},Pc=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=fe(t),Rn(t,"_",n)):xr(t,e.slots={})}else e.slots={},t&&wr(e,t);Rn(e.slots,hs,1)},Cc=(e,t,n)=>{const{vnode:s,slots:o}=e;let i=!0,r=ge;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(Pe(o,t),!n&&l===1&&delete o._):(i=!t.$stable,xr(t,o)),r=t}else t&&(wr(e,t),r={default:1});if(i)for(const l in o)!br(l)&&!(l in r)&&delete o[l]};function kr(){return{app:null,config:{isNativeTag:ol,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 Sc=0;function Tc(e,t){return function(s,o=null){ne(s)||(s=Object.assign({},s)),o!=null&&!ve(o)&&(o=null);const i=kr(),r=new Set;let l=!1;const c=i.app={_uid:Sc++,_component:s,_props:o,_container:null,_context:i,_instance:null,version:Zc,get config(){return i.config},set config(a){},use(a,...f){return r.has(a)||(a&&ne(a.install)?(r.add(a),a.install(c,...f)):ne(a)&&(r.add(a),a(c,...f))),c},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),c},component(a,f){return f?(i.components[a]=f,c):i.components[a]},directive(a,f){return f?(i.directives[a]=f,c):i.directives[a]},mount(a,f,h){if(!l){const _=I(s,o);return _.appContext=i,f&&t?t(_,a):e(_,a,h),l=!0,c._container=a,a.__vue_app__=c,ps(_.component)||_.component.proxy}},unmount(){l&&(e(null,c._container),delete c._container.__vue_app__)},provide(a,f){return i.provides[a]=f,c}};return c}}function Kn(e,t,n,s,o=!1){if(Q(e)){e.forEach((_,m)=>Kn(_,t&&(Q(t)?t[m]:t),n,s,o));return}if(zt(s)&&!o)return;const i=s.shapeFlag&4?ps(s.component)||s.component.proxy:s.el,r=o?null:i,{i:l,r:c}=e,a=t&&t.r,f=l.refs===ge?l.refs={}:l.refs,h=l.setupState;if(a!=null&&a!==c&&(be(a)?(f[a]=null,ce(h,a)&&(h[a]=null)):Se(a)&&(a.value=null)),ne(c))pt(c,l,12,[r,f]);else{const _=be(c),m=Se(c);if(_||m){const S=()=>{if(e.f){const A=_?ce(h,c)?h[c]:f[c]:c.value;o?Q(A)&&Xs(A,i):Q(A)?A.includes(i)||A.push(i):_?(f[c]=[i],ce(h,c)&&(h[c]=f[c])):(c.value=[i],e.k&&(f[e.k]=c.value))}else _?(f[c]=r,ce(h,c)&&(h[c]=r)):m&&(c.value=r,e.k&&(f[e.k]=r))};r?(S.id=-1,Ae(S,n)):S()}}}let at=!1;const An=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Mn=e=>e.nodeType===8;function Ec(e){const{mt:t,p:n,o:{patchProp:s,createText:o,nextSibling:i,parentNode:r,remove:l,insert:c,createComment:a}}=e,f=(y,w)=>{if(!w.hasChildNodes()){n(null,y,w),jn(),w._vnode=y;return}at=!1,h(w.firstChild,y,null,null,null),jn(),w._vnode=y,at&&console.error("Hydration completed but contains mismatches.")},h=(y,w,C,O,z,G=!1)=>{const X=Mn(y)&&y.data==="[",V=()=>A(y,w,C,O,z,X),{type:Y,ref:J,shapeFlag:se,patchFlag:F}=w;let oe=y.nodeType;w.el=y,F===-2&&(G=!1,w.dynamicChildren=null);let j=null;switch(Y){case Kt:oe!==3?w.children===""?(c(w.el=o(""),r(y),y),j=y):j=V():(y.data!==w.children&&(at=!0,y.data=w.children),j=i(y));break;case He:oe!==8||X?j=V():j=i(y);break;case un:if(X&&(y=i(y),oe=y.nodeType),oe===1||oe===3){j=y;const Ie=!w.children.length;for(let de=0;de<w.staticCount;de++)Ie&&(w.children+=j.nodeType===1?j.outerHTML:j.data),de===w.staticCount-1&&(w.anchor=j),j=i(j);return X?i(j):j}else V();break;case te:X?j=S(y,w,C,O,z,G):j=V();break;default:if(se&1)oe!==1||w.type.toLowerCase()!==y.tagName.toLowerCase()?j=V():j=_(y,w,C,O,z,G);else if(se&6){w.slotScopeIds=z;const Ie=r(y);if(t(w,Ie,null,C,O,An(Ie),G),j=X?W(y):i(y),j&&Mn(j)&&j.data==="teleport end"&&(j=i(j)),zt(w)){let de;X?(de=I(te),de.anchor=j?j.previousSibling:Ie.lastChild):de=y.nodeType===3?Le(""):I("div"),de.el=y,w.component.subTree=de}}else se&64?oe!==8?j=V():j=w.type.hydrate(y,w,C,O,z,G,e,m):se&128&&(j=w.type.hydrate(y,w,C,O,An(r(y)),z,G,e,h))}return J!=null&&Kn(J,null,O,w),j},_=(y,w,C,O,z,G)=>{G=G||!!w.dynamicChildren;const{type:X,props:V,patchFlag:Y,shapeFlag:J,dirs:se}=w,F=X==="input"&&se||X==="option";if(F||Y!==-1){if(se&&et(w,null,C,"created"),V)if(F||!G||Y&48)for(const j in V)(F&&j.endsWith("value")||wn(j)&&!rn(j))&&s(y,j,null,V[j],!1,void 0,C);else V.onClick&&s(y,"onClick",null,V.onClick,!1,void 0,C);let oe;if((oe=V&&V.onVnodeBeforeMount)&&Re(oe,C,w),se&&et(w,null,C,"beforeMount"),((oe=V&&V.onVnodeMounted)||se)&&lr(()=>{oe&&Re(oe,C,w),se&&et(w,null,C,"mounted")},O),J&16&&!(V&&(V.innerHTML||V.textContent))){let j=m(y.firstChild,w,y,C,O,z,G);for(;j;){at=!0;const Ie=j;j=j.nextSibling,l(Ie)}}else J&8&&y.textContent!==w.children&&(at=!0,y.textContent=w.children)}return y.nextSibling},m=(y,w,C,O,z,G,X)=>{X=X||!!w.dynamicChildren;const V=w.children,Y=V.length;for(let J=0;J<Y;J++){const se=X?V[J]:V[J]=Ue(V[J]);if(y)y=h(y,se,O,z,G,X);else{if(se.type===Kt&&!se.children)continue;at=!0,n(null,se,C,null,O,z,An(C),G)}}return y},S=(y,w,C,O,z,G)=>{const{slotScopeIds:X}=w;X&&(z=z?z.concat(X):X);const V=r(y),Y=m(i(y),w,V,C,O,z,G);return Y&&Mn(Y)&&Y.data==="]"?i(w.anchor=Y):(at=!0,c(w.anchor=a("]"),V,Y),Y)},A=(y,w,C,O,z,G)=>{if(at=!0,w.el=null,G){const Y=W(y);for(;;){const J=i(y);if(J&&J!==Y)l(J);else break}}const X=i(y),V=r(y);return l(y),n(null,w,V,X,C,O,An(V),z),X},W=y=>{let w=0;for(;y;)if(y=i(y),y&&Mn(y)&&(y.data==="["&&w++,y.data==="]")){if(w===0)return i(y);w--}return y};return[f,h]}const Ae=lr;function Vc(e){return Lc(e,Ec)}function Lc(e,t){const n=ul();n.__VUE__=!0;const{insert:s,remove:o,patchProp:i,createElement:r,createText:l,createComment:c,setText:a,setElementText:f,parentNode:h,nextSibling:_,setScopeId:m=We,insertStaticContent:S}=e,A=(u,d,b,$=null,k=null,E=null,N=!1,T=null,M=!!d.dynamicChildren)=>{if(u===d)return;u&&!Ct(u,d)&&($=Pn(u),Xe(u,k,E,!0),u=null),d.patchFlag===-2&&(M=!1,d.dynamicChildren=null);const{type:P,ref:U,shapeFlag:D}=d;switch(P){case Kt:W(u,d,b,$);break;case He:y(u,d,b,$);break;case un:u==null&&w(d,b,$,N);break;case te:F(u,d,b,$,k,E,N,T,M);break;default:D&1?z(u,d,b,$,k,E,N,T,M):D&6?oe(u,d,b,$,k,E,N,T,M):(D&64||D&128)&&P.process(u,d,b,$,k,E,N,T,M,It)}U!=null&&k&&Kn(U,u&&u.ref,E,d||u,!d)},W=(u,d,b,$)=>{if(u==null)s(d.el=l(d.children),b,$);else{const k=d.el=u.el;d.children!==u.children&&a(k,d.children)}},y=(u,d,b,$)=>{u==null?s(d.el=c(d.children||""),b,$):d.el=u.el},w=(u,d,b,$)=>{[u.el,u.anchor]=S(u.children,d,b,$,u.el,u.anchor)},C=({el:u,anchor:d},b,$)=>{let k;for(;u&&u!==d;)k=_(u),s(u,b,$),u=k;s(d,b,$)},O=({el:u,anchor:d})=>{let b;for(;u&&u!==d;)b=_(u),o(u),u=b;o(d)},z=(u,d,b,$,k,E,N,T,M)=>{N=N||d.type==="svg",u==null?G(d,b,$,k,E,N,T,M):Y(u,d,k,E,N,T,M)},G=(u,d,b,$,k,E,N,T)=>{let M,P;const{type:U,props:D,shapeFlag:q,transition:Z,dirs:re}=u;if(M=u.el=r(u.type,E,D&&D.is,D),q&8?f(M,u.children):q&16&&V(u.children,M,null,$,k,E&&U!=="foreignObject",N,T),re&&et(u,null,$,"created"),D){for(const he in D)he!=="value"&&!rn(he)&&i(M,he,null,D[he],E,u.children,$,k,ot);"value"in D&&i(M,"value",null,D.value),(P=D.onVnodeBeforeMount)&&Re(P,$,u)}X(M,u,u.scopeId,N,$),re&&et(u,null,$,"beforeMount");const me=(!k||k&&!k.pendingBranch)&&Z&&!Z.persisted;me&&Z.beforeEnter(M),s(M,d,b),((P=D&&D.onVnodeMounted)||me||re)&&Ae(()=>{P&&Re(P,$,u),me&&Z.enter(M),re&&et(u,null,$,"mounted")},k)},X=(u,d,b,$,k)=>{if(b&&m(u,b),$)for(let E=0;E<$.length;E++)m(u,$[E]);if(k){let E=k.subTree;if(d===E){const N=k.vnode;X(u,N,N.scopeId,N.slotScopeIds,k.parent)}}},V=(u,d,b,$,k,E,N,T,M=0)=>{for(let P=M;P<u.length;P++){const U=u[P]=T?dt(u[P]):Ue(u[P]);A(null,U,d,b,$,k,E,N,T)}},Y=(u,d,b,$,k,E,N)=>{const T=d.el=u.el;let{patchFlag:M,dynamicChildren:P,dirs:U}=d;M|=u.patchFlag&16;const D=u.props||ge,q=d.props||ge;let Z;b&&xt(b,!1),(Z=q.onVnodeBeforeUpdate)&&Re(Z,b,d,u),U&&et(d,u,b,"beforeUpdate"),b&&xt(b,!0);const re=k&&d.type!=="foreignObject";if(P?J(u.dynamicChildren,P,T,b,$,re,E):N||_e(u,d,T,null,b,$,re,E,!1),M>0){if(M&16)se(T,d,D,q,b,$,k);else if(M&2&&D.class!==q.class&&i(T,"class",null,q.class,k),M&4&&i(T,"style",D.style,q.style,k),M&8){const me=d.dynamicProps;for(let he=0;he<me.length;he++){const xe=me[he],je=D[xe],Ot=q[xe];(Ot!==je||xe==="value")&&i(T,xe,je,Ot,k,u.children,b,$,ot)}}M&1&&u.children!==d.children&&f(T,d.children)}else!N&&P==null&&se(T,d,D,q,b,$,k);((Z=q.onVnodeUpdated)||U)&&Ae(()=>{Z&&Re(Z,b,d,u),U&&et(d,u,b,"updated")},$)},J=(u,d,b,$,k,E,N)=>{for(let T=0;T<d.length;T++){const M=u[T],P=d[T],U=M.el&&(M.type===te||!Ct(M,P)||M.shapeFlag&70)?h(M.el):b;A(M,P,U,null,$,k,E,N,!0)}},se=(u,d,b,$,k,E,N)=>{if(b!==$){if(b!==ge)for(const T in b)!rn(T)&&!(T in $)&&i(u,T,b[T],null,N,d.children,k,E,ot);for(const T in $){if(rn(T))continue;const M=$[T],P=b[T];M!==P&&T!=="value"&&i(u,T,P,M,N,d.children,k,E,ot)}"value"in $&&i(u,"value",b.value,$.value)}},F=(u,d,b,$,k,E,N,T,M)=>{const P=d.el=u?u.el:l(""),U=d.anchor=u?u.anchor:l("");let{patchFlag:D,dynamicChildren:q,slotScopeIds:Z}=d;Z&&(T=T?T.concat(Z):Z),u==null?(s(P,b,$),s(U,b,$),V(d.children,b,U,k,E,N,T,M)):D>0&&D&64&&q&&u.dynamicChildren?(J(u.dynamicChildren,q,b,k,E,N,T),(d.key!=null||k&&d===k.subTree)&&vo(u,d,!0)):_e(u,d,b,U,k,E,N,T,M)},oe=(u,d,b,$,k,E,N,T,M)=>{d.slotScopeIds=T,u==null?d.shapeFlag&512?k.ctx.activate(d,b,$,N,M):j(d,b,$,k,E,N,M):Ie(u,d,M)},j=(u,d,b,$,k,E,N)=>{const T=u.component=jc(u,$,k);if(fs(u)&&(T.ctx.renderer=It),Uc(T),T.asyncDep){if(k&&k.registerDep(T,de),!u.el){const M=T.subTree=I(He);y(null,M,d,b)}return}de(T,u,d,b,k,E,N)},Ie=(u,d,b)=>{const $=d.component=u.component;if(ec(u,d,b))if($.asyncDep&&!$.asyncResolved){ye($,d,b);return}else $.next=d,Gl($.update),$.update();else d.el=u.el,$.vnode=d},de=(u,d,b,$,k,E,N)=>{const T=()=>{if(u.isMounted){let{next:U,bu:D,u:q,parent:Z,vnode:re}=u,me=U,he;xt(u,!1),U?(U.el=re.el,ye(u,U,N)):U=re,D&&Bn(D),(he=U.props&&U.props.onVnodeBeforeUpdate)&&Re(he,Z,U,re),xt(u,!0);const xe=ws(u),je=u.subTree;u.subTree=xe,A(je,xe,h(je.el),Pn(je),u,k,E),U.el=xe.el,me===null&&tc(u,xe.el),q&&Ae(q,k),(he=U.props&&U.props.onVnodeUpdated)&&Ae(()=>Re(he,Z,U,re),k)}else{let U;const{el:D,props:q}=d,{bm:Z,m:re,parent:me}=u,he=zt(d);if(xt(u,!1),Z&&Bn(Z),!he&&(U=q&&q.onVnodeBeforeMount)&&Re(U,me,d),xt(u,!0),D&&bs){const xe=()=>{u.subTree=ws(u),bs(D,u.subTree,u,k,null)};he?d.type.__asyncLoader().then(()=>!u.isUnmounted&&xe()):xe()}else{const xe=u.subTree=ws(u);A(null,xe,b,$,u,k,E),d.el=xe.el}if(re&&Ae(re,k),!he&&(U=q&&q.onVnodeMounted)){const xe=d;Ae(()=>Re(U,me,xe),k)}(d.shapeFlag&256||me&&zt(me.vnode)&&me.vnode.shapeFlag&256)&&u.a&&Ae(u.a,k),u.isMounted=!0,d=b=$=null}},M=u.effect=new no(T,()=>fo(P),u.scope),P=u.update=()=>M.run();P.id=u.uid,xt(u,!0),P()},ye=(u,d,b)=>{d.component=u;const $=u.vnode.props;u.vnode=d,u.next=null,kc(u,d.props,$,b),Cc(u,d.children,b),Qt(),Ro(),Jt()},_e=(u,d,b,$,k,E,N,T,M=!1)=>{const P=u&&u.children,U=u?u.shapeFlag:0,D=d.children,{patchFlag:q,shapeFlag:Z}=d;if(q>0){if(q&128){$n(P,D,b,$,k,E,N,T,M);return}else if(q&256){yt(P,D,b,$,k,E,N,T,M);return}}Z&8?(U&16&&ot(P,k,E),D!==P&&f(b,D)):U&16?Z&16?$n(P,D,b,$,k,E,N,T,M):ot(P,k,E,!0):(U&8&&f(b,""),Z&16&&V(D,b,$,k,E,N,T,M))},yt=(u,d,b,$,k,E,N,T,M)=>{u=u||Bt,d=d||Bt;const P=u.length,U=d.length,D=Math.min(P,U);let q;for(q=0;q<D;q++){const Z=d[q]=M?dt(d[q]):Ue(d[q]);A(u[q],Z,b,null,k,E,N,T,M)}P>U?ot(u,k,E,!0,!1,D):V(d,b,$,k,E,N,T,M,D)},$n=(u,d,b,$,k,E,N,T,M)=>{let P=0;const U=d.length;let D=u.length-1,q=U-1;for(;P<=D&&P<=q;){const Z=u[P],re=d[P]=M?dt(d[P]):Ue(d[P]);if(Ct(Z,re))A(Z,re,b,null,k,E,N,T,M);else break;P++}for(;P<=D&&P<=q;){const Z=u[D],re=d[q]=M?dt(d[q]):Ue(d[q]);if(Ct(Z,re))A(Z,re,b,null,k,E,N,T,M);else break;D--,q--}if(P>D){if(P<=q){const Z=q+1,re=Z<U?d[Z].el:$;for(;P<=q;)A(null,d[P]=M?dt(d[P]):Ue(d[P]),b,re,k,E,N,T,M),P++}}else if(P>q)for(;P<=D;)Xe(u[P],k,E,!0),P++;else{const Z=P,re=P,me=new Map;for(P=re;P<=q;P++){const Oe=d[P]=M?dt(d[P]):Ue(d[P]);Oe.key!=null&&me.set(Oe.key,P)}let he,xe=0;const je=q-re+1;let Ot=!1,Vo=0;const en=new Array(je);for(P=0;P<je;P++)en[P]=0;for(P=Z;P<=D;P++){const Oe=u[P];if(xe>=je){Xe(Oe,k,E,!0);continue}let Ze;if(Oe.key!=null)Ze=me.get(Oe.key);else for(he=re;he<=q;he++)if(en[he-re]===0&&Ct(Oe,d[he])){Ze=he;break}Ze===void 0?Xe(Oe,k,E,!0):(en[Ze-re]=P+1,Ze>=Vo?Vo=Ze:Ot=!0,A(Oe,d[Ze],b,null,k,E,N,T,M),xe++)}const Lo=Ot?Ac(en):Bt;for(he=Lo.length-1,P=je-1;P>=0;P--){const Oe=re+P,Ze=d[Oe],Ao=Oe+1<U?d[Oe+1].el:$;en[P]===0?A(null,Ze,b,Ao,k,E,N,T,M):Ot&&(he<0||P!==Lo[he]?bt(Ze,b,Ao,2):he--)}}},bt=(u,d,b,$,k=null)=>{const{el:E,type:N,transition:T,children:M,shapeFlag:P}=u;if(P&6){bt(u.component.subTree,d,b,$);return}if(P&128){u.suspense.move(d,b,$);return}if(P&64){N.move(u,d,b,It);return}if(N===te){s(E,d,b);for(let D=0;D<M.length;D++)bt(M[D],d,b,$);s(u.anchor,d,b);return}if(N===un){C(u,d,b);return}if($!==2&&P&1&&T)if($===0)T.beforeEnter(E),s(E,d,b),Ae(()=>T.enter(E),k);else{const{leave:D,delayLeave:q,afterLeave:Z}=T,re=()=>s(E,d,b),me=()=>{D(E,()=>{re(),Z&&Z()})};q?q(E,re,me):me()}else s(E,d,b)},Xe=(u,d,b,$=!1,k=!1)=>{const{type:E,props:N,ref:T,children:M,dynamicChildren:P,shapeFlag:U,patchFlag:D,dirs:q}=u;if(T!=null&&Kn(T,null,b,u,!0),U&256){d.ctx.deactivate(u);return}const Z=U&1&&q,re=!zt(u);let me;if(re&&(me=N&&N.onVnodeBeforeUnmount)&&Re(me,d,u),U&6)Jr(u.component,b,$);else{if(U&128){u.suspense.unmount(b,$);return}Z&&et(u,null,d,"beforeUnmount"),U&64?u.type.remove(u,d,b,k,It,$):P&&(E!==te||D>0&&D&64)?ot(P,d,b,!1,!0):(E===te&&D&384||!k&&U&16)&&ot(M,d,b),$&&To(u)}(re&&(me=N&&N.onVnodeUnmounted)||Z)&&Ae(()=>{me&&Re(me,d,u),Z&&et(u,null,d,"unmounted")},b)},To=u=>{const{type:d,el:b,anchor:$,transition:k}=u;if(d===te){Qr(b,$);return}if(d===un){O(u);return}const E=()=>{o(b),k&&!k.persisted&&k.afterLeave&&k.afterLeave()};if(u.shapeFlag&1&&k&&!k.persisted){const{leave:N,delayLeave:T}=k,M=()=>N(b,E);T?T(u.el,E,M):M()}else E()},Qr=(u,d)=>{let b;for(;u!==d;)b=_(u),o(u),u=b;o(d)},Jr=(u,d,b)=>{const{bum:$,scope:k,update:E,subTree:N,um:T}=u;$&&Bn($),k.stop(),E&&(E.active=!1,Xe(N,u,d,b)),T&&Ae(T,d),Ae(()=>{u.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},ot=(u,d,b,$=!1,k=!1,E=0)=>{for(let N=E;N<u.length;N++)Xe(u[N],d,b,$,k)},Pn=u=>u.shapeFlag&6?Pn(u.component.subTree):u.shapeFlag&128?u.suspense.next():_(u.anchor||u.el),Eo=(u,d,b)=>{u==null?d._vnode&&Xe(d._vnode,null,null,!0):A(d._vnode||null,u,d,null,null,null,b),Ro(),jn(),d._vnode=u},It={p:A,um:Xe,m:bt,r:To,mt:j,mc:V,pc:_e,pbc:J,n:Pn,o:e};let ys,bs;return t&&([ys,bs]=t(It)),{render:Eo,hydrate:ys,createApp:Tc(Eo,ys)}}function xt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function vo(e,t,n=!1){const s=e.children,o=t.children;if(Q(s)&&Q(o))for(let i=0;i<s.length;i++){const r=s[i];let l=o[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[i]=dt(o[i]),l.el=r.el),n||vo(r,l)),l.type===Kt&&(l.el=r.el)}}function Ac(e){const t=e.slice(),n=[0];let s,o,i,r,l;const c=e.length;for(s=0;s<c;s++){const a=e[s];if(a!==0){if(o=n[n.length-1],e[o]<a){t[s]=o,n.push(s);continue}for(i=0,r=n.length-1;i<r;)l=i+r>>1,e[n[l]]<a?i=l+1:r=l;a<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 Mc=e=>e.__isTeleport,an=e=>e&&(e.disabled||e.disabled===""),Xo=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Us=(e,t)=>{const n=e&&e.to;return be(n)?t?t(n):null:n},Ic={__isTeleport:!0,process(e,t,n,s,o,i,r,l,c,a){const{mc:f,pc:h,pbc:_,o:{insert:m,querySelector:S,createText:A,createComment:W}}=a,y=an(t.props);let{shapeFlag:w,children:C,dynamicChildren:O}=t;if(e==null){const z=t.el=A(""),G=t.anchor=A("");m(z,n,s),m(G,n,s);const X=t.target=Us(t.props,S),V=t.targetAnchor=A("");X&&(m(V,X),r=r||Xo(X));const Y=(J,se)=>{w&16&&f(C,J,se,o,i,r,l,c)};y?Y(n,G):X&&Y(X,V)}else{t.el=e.el;const z=t.anchor=e.anchor,G=t.target=e.target,X=t.targetAnchor=e.targetAnchor,V=an(e.props),Y=V?n:G,J=V?z:X;if(r=r||Xo(G),O?(_(e.dynamicChildren,O,Y,o,i,r,l),vo(e,t,!0)):c||h(e,t,Y,J,o,i,r,l,!1),y)V||In(t,n,z,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const se=t.target=Us(t.props,S);se&&In(t,se,null,a,0)}else V&&In(t,G,X,a,1)}$r(t)},remove(e,t,n,s,{um:o,o:{remove:i}},r){const{shapeFlag:l,children:c,anchor:a,targetAnchor:f,target:h,props:_}=e;if(h&&i(f),(r||!an(_))&&(i(a),l&16))for(let m=0;m<c.length;m++){const S=c[m];o(S,t,n,!0,!!S.dynamicChildren)}},move:In,hydrate:Oc};function In(e,t,n,{o:{insert:s},m:o},i=2){i===0&&s(e.targetAnchor,t,n);const{el:r,anchor:l,shapeFlag:c,children:a,props:f}=e,h=i===2;if(h&&s(r,t,n),(!h||an(f))&&c&16)for(let _=0;_<a.length;_++)o(a[_],t,n,2);h&&s(l,t,n)}function Oc(e,t,n,s,o,i,{o:{nextSibling:r,parentNode:l,querySelector:c}},a){const f=t.target=Us(t.props,c);if(f){const h=f._lpa||f.firstChild;if(t.shapeFlag&16)if(an(t.props))t.anchor=a(r(e),t,l(e),n,s,o,i),t.targetAnchor=h;else{t.anchor=r(e);let _=h;for(;_;)if(_=r(_),_&&_.nodeType===8&&_.data==="teleport anchor"){t.targetAnchor=_,f._lpa=t.targetAnchor&&r(t.targetAnchor);break}a(h,t,f,n,s,o,i)}$r(t)}return t.anchor&&r(t.anchor)}const Nc=Ic;function $r(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const te=Symbol(void 0),Kt=Symbol(void 0),He=Symbol(void 0),un=Symbol(void 0),fn=[];let Ke=null;function p(e=!1){fn.push(Ke=e?null:[])}function Bc(){fn.pop(),Ke=fn[fn.length-1]||null}let yn=1;function Zo(e){yn+=e}function Pr(e){return e.dynamicChildren=yn>0?Ke||Bt:null,Bc(),yn>0&&Ke&&Ke.push(e),e}function x(e,t,n,s,o,i){return Pr(v(e,t,n,s,o,i,!0))}function ee(e,t,n,s,o){return Pr(I(e,t,n,s,o,!0))}function Wn(e){return e?e.__v_isVNode===!0:!1}function Ct(e,t){return e.type===t.type&&e.key===t.key}const hs="__vInternal",Cr=({key:e})=>e??null,Hn=({ref:e,ref_key:t,ref_for:n})=>e!=null?be(e)||Se(e)||ne(e)?{i:$e,r:e,k:t,f:!!n}:e:null;function v(e,t=null,n=null,s=0,o=null,i=e===te?0:1,r=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Cr(t),ref:t&&Hn(t),scopeId:as,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:$e};return l?(yo(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=be(n)?8:16),yn>0&&!r&&Ke&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ke.push(c),c}const I=Hc;function Hc(e,t=null,n=null,s=0,o=null,i=!1){if((!e||e===pr)&&(e=He),Wn(e)){const l=mt(e,t,!0);return n&&yo(l,n),yn>0&&!i&&Ke&&(l.shapeFlag&6?Ke[Ke.indexOf(e)]=l:Ke.push(l)),l.patchFlag|=-2,l}if(Gc(e)&&(e=e.__vccOpts),t){t=Fc(t);let{class:l,style:c}=t;l&&!be(l)&&(t.class=pe(l)),ve(c)&&(Ji(c)&&!Q(c)&&(c=Pe({},c)),t.style=ts(c))}const r=be(e)?1:nc(e)?128:Mc(e)?64:ve(e)?4:ne(e)?2:0;return v(e,t,n,s,o,r,i,!0)}function Fc(e){return e?Ji(e)||hs in e?Pe({},e):e:null}function mt(e,t,n=!1){const{props:s,ref:o,patchFlag:i,children:r}=e,l=t?Fn(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Cr(l),ref:t&&t.ref?n&&o?Q(o)?o.concat(Hn(t)):[o,Hn(t)]:Hn(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!==te?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&&mt(e.ssContent),ssFallback:e.ssFallback&&mt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx}}function Le(e=" ",t=0){return I(Kt,null,e,t)}function Dc(e,t){const n=I(un,null,e);return n.staticCount=t,n}function K(e="",t=!1){return t?(p(),ee(He,null,e)):I(He,null,e)}function Ue(e){return e==null||typeof e=="boolean"?I(He):Q(e)?I(te,null,e.slice()):typeof e=="object"?dt(e):I(Kt,null,String(e))}function dt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:mt(e)}function yo(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(Q(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),yo(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(hs in t)?t._ctx=$e:o===3&&$e&&($e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ne(t)?(t={default:t,_ctx:$e},n=32):(t=String(t),s&64?(n=16,t=[Le(t)]):n=8);e.children=t,e.shapeFlag|=n}function Fn(...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=pe([t.class,s.class]));else if(o==="style")t.style=ts([t.style,s.style]);else if(wn(o)){const i=t[o],r=s[o];r&&i!==r&&!(Q(i)&&i.includes(r))&&(t[o]=i?[].concat(i,r):r)}else o!==""&&(t[o]=s[o])}return t}function Re(e,t,n,s=null){ze(e,t,7,[n,s])}const Rc=kr();let zc=0;function jc(e,t,n){const s=e.type,o=(t?t.appContext:e.appContext)||Rc,i={uid:zc++,vnode:e,type:s,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new fl(!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:yr(s,o),emitsOptions:rr(s,o),emit:null,emitted:null,propsDefaults:ge,inheritAttrs:s.inheritAttrs,ctx:ge,data:ge,props:ge,attrs:ge,slots:ge,refs:ge,setupState:ge,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=Jl.bind(null,i),e.ce&&e.ce(i),i}let we=null;const bo=()=>we||$e,Wt=e=>{we=e,e.scope.on()},Lt=()=>{we&&we.scope.off(),we=null};function Sr(e){return e.vnode.shapeFlag&4}let bn=!1;function Uc(e,t=!1){bn=t;const{props:n,children:s}=e.vnode,o=Sr(e);wc(e,n,o,t),Pc(e,s);const i=o?qc(e,t):void 0;return bn=!1,i}function qc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ln(new Proxy(e.ctx,mc));const{setup:s}=n;if(s){const o=e.setupContext=s.length>1?Er(e):null;Wt(e),Qt();const i=pt(s,e,0,[e.props,o]);if(Jt(),Lt(),Hi(i)){if(i.then(Lt,Lt),t)return i.then(r=>{ei(e,r,t)}).catch(r=>{ls(r,e,0)});e.asyncDep=i}else ei(e,i,t)}else Tr(e,t)}function ei(e,t,n){ne(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ve(t)&&(e.setupState=tr(t)),Tr(e,n)}let ti;function Tr(e,t,n){const s=e.type;if(!e.render){if(!t&&ti&&!s.render){const o=s.template||mo(e).template;if(o){const{isCustomElement:i,compilerOptions:r}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,a=Pe(Pe({isCustomElement:i,delimiters:l},r),c);s.render=ti(o,a)}}e.render=s.render||We}Wt(e),Qt(),gc(e),Jt(),Lt()}function Kc(e){return new Proxy(e.attrs,{get(t,n){return Fe(e,"get","$attrs"),t[n]}})}function Er(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=Kc(e))},slots:e.slots,emit:e.emit,expose:t}}function ps(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(tr(ln(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in cn)return cn[n](e)},has(t,n){return n in t||n in cn}}))}function Wc(e,t=!0){return ne(e)?e.displayName||e.name:e.name||t&&e.__name}function Gc(e){return ne(e)&&"__vccOpts"in e}const ie=(e,t)=>ql(e,t,bn);function Yc(){return Qc().slots}function Qc(){const e=bo();return e.setupContext||(e.setupContext=Er(e))}function Gn(e,t,n){const s=arguments.length;return s===2?ve(t)&&!Q(t)?Wn(t)?I(e,null,[t]):I(e,t):I(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Wn(n)&&(n=[n]),I(e,t,n))}const Jc=Symbol(""),Xc=()=>Be(Jc),Zc="3.2.45",ea="http://www.w3.org/2000/svg",St=typeof document<"u"?document:null,ni=St&&St.createElement("template"),ta={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?St.createElementNS(ea,e):St.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>St.createTextNode(e),createComment:e=>St.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>St.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},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{ni.innerHTML=s?`<svg>${e}</svg>`:e;const l=ni.content;if(s){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function na(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 sa(e,t,n){const s=e.style,o=be(n);if(n&&!o){for(const i in n)qs(s,i,n[i]);if(t&&!be(t))for(const i in t)n[i]==null&&qs(s,i,"")}else{const i=s.display;o?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const si=/\s*!important$/;function qs(e,t,n){if(Q(n))n.forEach(s=>qs(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=oa(e,t);si.test(n)?e.setProperty(Yt(s),n.replace(si,""),"important"):e[s]=n}}const oi=["Webkit","Moz","ms"],Ps={};function oa(e,t){const n=Ps[t];if(n)return n;let s=st(t);if(s!=="filter"&&s in e)return Ps[t]=s;s=os(s);for(let o=0;o<oi.length;o++){const i=oi[o]+s;if(i in e)return Ps[t]=i}return t}const ii="http://www.w3.org/1999/xlink";function ia(e,t,n,s,o){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(ii,t.slice(6,t.length)):e.setAttributeNS(ii,t,n);else{const i=sl(t);n==null||i&&!Oi(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function ra(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 c=n??"";(e.value!==c||e.tagName==="OPTION")&&(e.value=c),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=Oi(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function Nt(e,t,n,s){e.addEventListener(t,n,s)}function la(e,t,n,s){e.removeEventListener(t,n,s)}function ca(e,t,n,s,o=null){const i=e._vei||(e._vei={}),r=i[t];if(s&&r)r.value=s;else{const[l,c]=aa(t);if(s){const a=i[t]=da(s,o);Nt(e,l,a,c)}else r&&(la(e,l,r,c),i[t]=void 0)}}const ri=/(?:Once|Passive|Capture)$/;function aa(e){let t;if(ri.test(e)){t={};let s;for(;s=e.match(ri);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Yt(e.slice(2)),t]}let Cs=0;const ua=Promise.resolve(),fa=()=>Cs||(ua.then(()=>Cs=0),Cs=Date.now());function da(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;ze(ha(s,n.value),t,5,[s])};return n.value=e,n.attached=fa(),n}function ha(e,t){if(Q(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 li=/^on[a-z]/,pa=(e,t,n,s,o=!1,i,r,l,c)=>{t==="class"?na(e,s,o):t==="style"?sa(e,n,s):wn(t)?Js(t)||ca(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):_a(e,t,s,o))?ra(e,t,s,i,r,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),ia(e,t,s,o))};function _a(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&li.test(t)&&ne(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||li.test(t)&&be(n)?!1:t in e}const ut="transition",tn="animation",_s=(e,{slots:t})=>Gn(ar,ma(e),t);_s.displayName="Transition";const Vr={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};_s.props=Pe({},ar.props,Vr);const wt=(e,t=[])=>{Q(e)?e.forEach(n=>n(...t)):e&&e(...t)},ci=e=>e?Q(e)?e.some(t=>t.length>1):e.length>1:!1;function ma(e){const t={};for(const F in e)F in Vr||(t[F]=e[F]);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:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:a=r,appearToClass:f=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:_=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,S=ga(o),A=S&&S[0],W=S&&S[1],{onBeforeEnter:y,onEnter:w,onEnterCancelled:C,onLeave:O,onLeaveCancelled:z,onBeforeAppear:G=y,onAppear:X=w,onAppearCancelled:V=C}=t,Y=(F,oe,j)=>{kt(F,oe?f:l),kt(F,oe?a:r),j&&j()},J=(F,oe)=>{F._isLeaving=!1,kt(F,h),kt(F,m),kt(F,_),oe&&oe()},se=F=>(oe,j)=>{const Ie=F?X:w,de=()=>Y(oe,F,j);wt(Ie,[oe,de]),ai(()=>{kt(oe,F?c:i),ft(oe,F?f:l),ci(Ie)||ui(oe,s,A,de)})};return Pe(t,{onBeforeEnter(F){wt(y,[F]),ft(F,i),ft(F,r)},onBeforeAppear(F){wt(G,[F]),ft(F,c),ft(F,a)},onEnter:se(!1),onAppear:se(!0),onLeave(F,oe){F._isLeaving=!0;const j=()=>J(F,oe);ft(F,h),ba(),ft(F,_),ai(()=>{F._isLeaving&&(kt(F,h),ft(F,m),ci(O)||ui(F,s,W,j))}),wt(O,[F,j])},onEnterCancelled(F){Y(F,!1),wt(C,[F])},onAppearCancelled(F){Y(F,!0),wt(V,[F])},onLeaveCancelled(F){J(F),wt(z,[F])}})}function ga(e){if(e==null)return null;if(ve(e))return[Ss(e.enter),Ss(e.leave)];{const t=Ss(e);return[t,t]}}function Ss(e){return _n(e)}function ft(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function kt(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 va=0;function ui(e,t,n,s){const o=e._endId=++va,i=()=>{o===e._endId&&s()};if(n)return setTimeout(i,n);const{type:r,timeout:l,propCount:c}=ya(e,t);if(!r)return s();const a=r+"end";let f=0;const h=()=>{e.removeEventListener(a,_),i()},_=m=>{m.target===e&&++f>=c&&h()};setTimeout(()=>{f<c&&h()},l+1),e.addEventListener(a,_)}function ya(e,t){const n=window.getComputedStyle(e),s=S=>(n[S]||"").split(", "),o=s(`${ut}Delay`),i=s(`${ut}Duration`),r=fi(o,i),l=s(`${tn}Delay`),c=s(`${tn}Duration`),a=fi(l,c);let f=null,h=0,_=0;t===ut?r>0&&(f=ut,h=r,_=i.length):t===tn?a>0&&(f=tn,h=a,_=c.length):(h=Math.max(r,a),f=h>0?r>a?ut:tn:null,_=f?f===ut?i.length:c.length:0);const m=f===ut&&/\b(transform|all)(,|$)/.test(s(`${ut}Property`).toString());return{type:f,timeout:h,propCount:_,hasTransform:m}}function fi(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>di(n)+di(e[s])))}function di(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function ba(){return document.body.offsetHeight}const hi=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Q(t)?n=>Bn(t,n):t};function xa(e){e.target.composing=!0}function pi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const wa={created(e,{modifiers:{lazy:t,trim:n,number:s}},o){e._assign=hi(o);const i=s||o.props&&o.props.type==="number";Nt(e,t?"change":"input",r=>{if(r.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=_n(l)),e._assign(l)}),n&&Nt(e,"change",()=>{e.value=e.value.trim()}),t||(Nt(e,"compositionstart",xa),Nt(e,"compositionend",pi),Nt(e,"change",pi))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:o}},i){if(e._assign=hi(i),e.composing||document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===t||(o||e.type==="number")&&_n(e.value)===t))return;const r=t??"";e.value!==r&&(e.value=r)}},ka=["ctrl","shift","alt","meta"],$a={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)=>ka.some(n=>e[`${n}Key`]&&!t.includes(n))},Lr=(e,t)=>(n,...s)=>{for(let o=0;o<t.length;o++){const i=$a[t[o]];if(i&&i(n,t))return}return e(n,...s)},Pa={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):nn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),nn(e,!0),s.enter(e)):s.leave(e,()=>{nn(e,!1)}):nn(e,t))},beforeUnmount(e,{value:t}){nn(e,t)}};function nn(e,t){e.style.display=t?e._vod:"none"}const Ca=Pe({patchProp:pa},ta);let Ts,_i=!1;function Sa(){return Ts=_i?Ts:Vc(Ca),_i=!0,Ts}const Ta=(...e)=>{const t=Sa().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=Ea(s);if(o)return n(o,!0,o instanceof SVGElement)},t};function Ea(e){return be(e)?document.querySelector(e):e}const H=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},Va="modulepreload",La=function(e){return"/document/"+e},mi={},Ar=function(t,n,s){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=La(i),i in mi)return;mi[i]=!0;const r=i.endsWith(".css"),l=r?'[rel="stylesheet"]':"";if(!!s)for(let f=o.length-1;f>=0;f--){const h=o[f];if(h.href===i&&(!r||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${l}`))return;const a=document.createElement("link");if(a.rel=r?"stylesheet":Va,r||(a.as="script",a.crossOrigin=""),a.href=i,document.head.appendChild(a),r)return new Promise((f,h)=>{a.addEventListener("load",f),a.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t())};const Aa=R({__name:"VPBadge",props:{text:null,type:null},setup(e){return(t,n)=>(p(),x("span",{class:pe(["VPBadge",e.type??"tip"])},[L(t.$slots,"default",{},()=>[Le(ae(e.text),1)],!0)],2))}});const Ma=H(Aa,[["__scopeId","data-v-350d3852"]]),Ia=JSON.parse('{"lang":"en-US","title":"Artplayer.js","description":"ArtPlayer.js is a modern and full featured HTML5 video player","base":"/document/","head":[],"appearance":"dark","themeConfig":{"siteTitle":"Artplayer.js","logo":"/logo.png","nav":[{"text":"中文版","link":"/"},{"text":"English","link":"/en/","activeMatch":"/en/"},{"text":"Online Editor","link":"https://artplayer.org"},{"text":"4.6.x","items":[{"text":"Changelog","link":"https://github.com/zhw2590582/ArtPlayer/blob/master/CHANGELOG_CN.md"},{"text":"Donation","link":"https://github.com/zhw2590582/ArtPlayer#donations"},{"text":"Q群: 320881312","link":"https://github.com/zhw2590582/ArtPlayer#qq-group"}]}],"socialLinks":[{"icon":"github","link":"https://github.com/zhw2590582/ArtPlayer"}],"sidebar":{"/":[{"text":"开始","collapsible":true,"items":[{"text":"安装使用","link":"/"},{"text":"基础选项","link":"/start/option"},{"text":"组件配置","link":"/start/component"},{"text":"设置面板","link":"/start/setting"}]},{"text":"高级","collapsible":true,"items":[{"text":"实例属性","link":"/advanced/property"},{"text":"高级属性","link":"/advanced/built-in"},{"text":"静态属性","link":"/advanced/class"},{"text":"实例事件","link":"/advanced/event"},{"text":"编写插件","link":"/advanced/plugin"}]},{"text":"插件","collapsible":true,"items":[{"text":"弹幕库","link":"/plugin/danmuku"},{"text":"视频广告","link":"/plugin/ads"},{"text":"Iframe 控制","link":"/plugin/iframe"},{"text":"Hls 画质","link":"/plugin/hls-quality"},{"text":"Dash 画质","link":"/plugin/dash-quality"},{"text":"控制器皮肤","link":"/plugin/control-ui"}]},{"text":"第三方库","collapsible":true,"items":[{"text":"hls.js","link":"/library/hls"},{"text":"flv.js","link":"/library/flv"},{"text":"dash.js","link":"/library/dash"},{"text":"webtorrent.js","link":"/library/webtorrent"}]}],"/en/":[{"text":"Quick start","collapsible":true,"items":[{"text":"Install","link":"/en/"},{"text":"Option","link":"/en/start/option"},{"text":"Component","link":"/en/start/component"},{"text":"Setting","link":"/en/start/setting"}]},{"text":"Advanced","collapsible":true,"items":[{"text":"Instance Property","link":"/en/advanced/property"},{"text":"Advanced Property","link":"/en/advanced/built-in"},{"text":"Static Property","link":"/en/advanced/class"},{"text":"Instance Event","link":"/en/advanced/event"},{"text":"Writing Plugin","link":"/en/advanced/plugin"}]},{"text":"Plugins","collapsible":true,"items":[{"text":"Video Ads","link":"/en/plugin/ads"},{"text":"Iframe Control","link":"/en/plugin/iframe"},{"text":"Hls Quality","link":"/en/plugin/hls-quality"},{"text":"Dash Quality","link":"/en/plugin/dash-quality"},{"text":"Control UI","link":"/en/plugin/control-ui"}]},{"text":"Libraries","collapsible":true,"items":[{"text":"hls.js","link":"/en/library/hls"},{"text":"flv.js","link":"/en/library/flv"},{"text":"dash.js","link":"/en/library/dash"},{"text":"webtorrent.js","link":"/en/library/webtorrent"}]}]},"editLink":{"pattern":"https://github.com/zhw2590582/ArtPlayer/tree/master/packages/artplayer-vitepress/docs/:path","text":"Edit this page on GitHub"}},"locales":{},"langs":{},"scrollOffset":90,"cleanUrls":"disabled"}'),ms=/^[a-z]+:/i,Oa=/^pathname:\/\//,gi="vitepress-theme-appearance",Ee=typeof window<"u",Mr={relativePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0};function Na(e,t){t.sort((n,s)=>{const o=s.split("/").length-n.split("/").length;return o!==0?o:s.length-n.length});for(const n of t)if(e.startsWith(n))return n}function vi(e,t){const n=Na(t,Object.keys(e));return n?e[n]:void 0}function Ba(e){const{locales:t}=e.themeConfig||{},n=e.locales;return t&&n?Object.keys(t).reduce((s,o)=>(s[o]={label:t[o].label,lang:n[o].lang},s),{}):{}}function Ha(e,t){t=Da(e,t);const n=vi(e.locales||{},t),s=vi(e.themeConfig.locales||{},t);return Object.assign({},e,n,{themeConfig:Object.assign({},e.themeConfig,s,{locales:{}}),lang:(n||e).lang,locales:{},langs:Ba(e)})}function Ir(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=Fa(e.title,s);return`${n}${o}`}function Fa(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function Da(e,t){if(!Ee)return t;const n=e.base,s=n.endsWith("/")?n.slice(0,-1):n;return t.slice(s.length)}function Ra(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 za(e,t){return[...e.filter(n=>!Ra(t,n)),...t]}const ja=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,Ua=/^[a-z]:/i;function yi(e){const t=Ua.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(ja,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}function qa(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function xn(e){return ms.test(e)?e:qa(Gt.value.base,e)}function Or(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),Ee){const n="/document/";t=yi(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let s=__VP_HASH_MAP__[t.toLowerCase()];!s&&t.endsWith("_index.md")&&(t=t.slice(0,-9)+".md",s=__VP_HASH_MAP__[t.toLowerCase()]),t=`${n}assets/${t}.${s}.js`}else t=`./${yi(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}const Nr=Symbol(),Gt=Rl(Ia);function Ka(e){const t=ie(()=>Ha(Gt.value,e.path));return{site:t,theme:ie(()=>t.value.themeConfig),page:ie(()=>e.data),frontmatter:ie(()=>e.data.frontmatter),lang:ie(()=>t.value.lang),localePath:ie(()=>{const{langs:n,lang:s}=t.value,o=Object.keys(n).find(i=>n[i].lang===s);return xn(o||"/")}),title:ie(()=>Ir(t.value,e.data)),description:ie(()=>e.data.description||t.value.description),isDark:le(!1)}}function ue(){const e=Be(Nr);if(!e)throw new Error("vitepress data not properly injected in app");return e}const Br=Symbol(),bi="http://a.com",Wa=()=>({path:"/",component:null,data:Mr});function Ga(e,t){const n=rs(Wa()),s={route:n,go:o};async function o(l=Ee?location.href:"/"){var a,f;await((a=s.onBeforeRouteChange)==null?void 0:a.call(s,l));const c=new URL(l,bi);Gt.value.cleanUrls==="disabled"&&!c.pathname.endsWith("/")&&!c.pathname.endsWith(".html")&&(c.pathname+=".html",l=c.pathname+c.search+c.hash),Ee&&(history.replaceState({scrollPosition:window.scrollY},document.title),history.pushState(null,"",l)),await r(l),await((f=s.onAfterRouteChanged)==null?void 0:f.call(s,l))}let i=null;async function r(l,c=0,a=!1){const f=new URL(l,bi),h=i=f.pathname;try{let _=await e(h);if(i===h){i=null;const{default:m,__pageData:S}=_;if(!m)throw new Error(`Invalid route component: ${m}`);n.path=Ee?h:xn(h),n.component=ln(m),n.data=ln(S),Ee&&uo(()=>{if(f.hash&&!c){let A=null;try{A=document.querySelector(decodeURIComponent(f.hash))}catch(W){console.warn(W)}if(A){xi(A,f.hash);return}}window.scrollTo(0,c)})}}catch(_){if(!/fetch/.test(_.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(_),!a)try{const m=await fetch(Gt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await m.json(),await r(l,c,!0);return}catch{}i===h&&(i=null,n.path=Ee?h:xn(h),n.component=t?ln(t):null,n.data=Mr)}}return Ee&&(window.addEventListener("click",l=>{if(l.target.closest("button"))return;const a=l.target.closest("a");if(a&&!a.closest(".vp-raw")&&!a.download){const{href:f,origin:h,pathname:_,hash:m,search:S,target:A}=a,W=window.location,y=_.match(/\.\w+$/);!l.ctrlKey&&!l.shiftKey&&!l.altKey&&!l.metaKey&&A!=="_blank"&&h===W.origin&&!(y&&y[0]!==".html")&&(l.preventDefault(),_===W.pathname&&S===W.search?m&&m!==W.hash&&(history.pushState(null,"",m),window.dispatchEvent(new Event("hashchange")),xi(a,m,a.classList.contains("header-anchor"))):o(f))}},{capture:!0}),window.addEventListener("popstate",l=>{r(location.href,l.state&&l.state.scrollPosition||0)}),window.addEventListener("hashchange",l=>{l.preventDefault()})),s}function Ya(){const e=Be(Br);if(!e)throw new Error("useRouter() is called without provider.");return e}function vt(){return Ya().route}function xi(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=Gt.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 Qa=R({name:"VitePressContent",props:{onContentUpdated:Function},setup(e){const t=vt();return ho(()=>{var n;(n=e.onContentUpdated)==null||n.call(e)}),()=>Gn("div",{style:{position:"relative"}},[t.component?Gn(t.component):null])}});var wi;const kn=typeof window<"u";kn&&((wi=window==null?void 0:window.navigator)!=null&&wi.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Ja(e){return e}function Xa(e){return hl()?(pl(e),!0):!1}function Za(e){return typeof e=="function"?ie(e):le(e)}function eu(e,t=!0){bo()?Qe(e):t?e():uo(e)}const tu=kn?window:void 0;kn&&window.document;kn&&window.navigator;kn&&window.location;function nu(e,t=!1){const n=le(),s=()=>n.value=Boolean(e());return s(),eu(s,t),n}function Ks(e,t={}){const{window:n=tu}=t,s=nu(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const i=le(!1),r=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",l):o.removeListener(l))},l=()=>{s.value&&(r(),o=n.matchMedia(Za(e).value),i.value=o.matches,"addEventListener"in o?o.addEventListener("change",l):o.addListener(l))};return At(l),Xa(()=>r()),i}const Ws=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Gs="__vueuse_ssr_handlers__";Ws[Gs]=Ws[Gs]||{};Ws[Gs];var ki;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(ki||(ki={}));var su=Object.defineProperty,$i=Object.getOwnPropertySymbols,ou=Object.prototype.hasOwnProperty,iu=Object.prototype.propertyIsEnumerable,Pi=(e,t,n)=>t in e?su(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ru=(e,t)=>{for(var n in t||(t={}))ou.call(t,n)&&Pi(e,n,t[n]);if($i)for(var n of $i(t))iu.call(t,n)&&Pi(e,n,t[n]);return e};const lu={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]};ru({linear:Ja},lu);const Hr=/#.*$/,cu=/(index)?\.(md|html)$/,au=typeof window<"u",uu=le(au?location.hash:"");function fu(e){return ms.test(e)}function du(e,t){let n,s=!1;return()=>{n&&clearTimeout(n),s?n=setTimeout(e,t):(e(),s=!0,setTimeout(()=>{s=!1},t))}}function Zt(e,t,n=!1){if(t===void 0)return!1;if(e=Si(`/${e}`),n)return new RegExp(t).test(e);if(Si(t)!==e)return!1;const s=t.match(Hr);return s?uu.value===s[0]:!0}function Ci(e){return/^\//.test(e)?e:`/${e}`}function Si(e){return decodeURI(e).replace(Hr,"").replace(cu,"")}function Yn(e){if(fu(e))return e.replace(Oa,"");const{site:t}=ue(),{pathname:n,search:s,hash:o}=new URL(e,"http://example.com"),i=n.endsWith("/")||n.endsWith(".html")?e:`${n.replace(/(\.md)?$/,t.value.cleanUrls==="disabled"?".html":"")}${s}${o}`;return xn(i)}function Fr(e,t){if(Array.isArray(e))return e;if(e==null)return[];t=Ci(t);const n=Object.keys(e).sort((s,o)=>o.split("/").length-s.split("/").length).find(s=>t.startsWith(Ci(s)));return n?e[n]:[]}function hu(e){const t=[];function n(s){for(const o of s)o.link&&t.push({...o,link:o.link}),"items"in o&&n(o.items)}for(const s of e)n(s.items);return t}function Je(){const e=vt(),{theme:t,frontmatter:n}=ue(),s=Ks("(min-width: 960px)"),o=le(!1),i=ie(()=>{const _=t.value.sidebar,m=e.data.relativePath;return _?Fr(_,m):[]}),r=ie(()=>n.value.sidebar!==!1&&i.value.length>0&&n.value.layout!=="home"),l=ie(()=>n.value.layout!=="home"&&n.value.aside!==!1),c=ie(()=>r.value&&s.value);function a(){o.value=!0}function f(){o.value=!1}function h(){o.value?f():a()}return{isOpen:o,sidebar:i,hasSidebar:r,hasAside:l,isSidebarEnabled:c,open:a,close:f,toggle:h}}function pu(e,t){let n;At(()=>{n=e.value?document.activeElement:void 0}),Qe(()=>{window.addEventListener("keyup",s)}),Xt(()=>{window.removeEventListener("keyup",s)});function s(o){o.key==="Escape"&&e.value&&(t(),n==null||n.focus())}}const _u=R({__name:"VPSkipLink",setup(e){const t=vt(),n=le();nt(()=>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)=>(p(),x(te,null,[v("span",{ref_key:"backToTop",ref:n,tabindex:"-1"},null,512),v("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s}," Skip to content ")],64))}});const mu=H(_u,[["__scopeId","data-v-151f2593"]]),gu={key:0,class:"VPBackdrop"},vu=R({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,n)=>(p(),ee(_s,{name:"fade"},{default:B(()=>[e.show?(p(),x("div",gu)):K("",!0)]),_:1}))}});const yu=H(vu,[["__scopeId","data-v-c7c65b34"]]);function bu(){const e=le(!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=vt();return nt(()=>i.path,n),{isScreenOpen:e,openScreen:t,closeScreen:n,toggleScreen:s}}const xu=["src","alt"],wu={inheritAttrs:!1},ku=R({...wu,__name:"VPImage",props:{image:null,alt:null},setup(e){return(t,n)=>{const s=gt("VPImage",!0);return e.image?(p(),x(te,{key:0},[typeof e.image=="string"||"src"in e.image?(p(),x("img",Fn({key:0,class:"VPImage"},typeof e.image=="string"?t.$attrs:{...e.image,...t.$attrs},{src:g(xn)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,xu)):(p(),x(te,{key:1},[I(s,Fn({class:"dark",image:e.image.dark,alt:e.image.alt},t.$attrs),null,16,["image","alt"]),I(s,Fn({class:"light",image:e.image.light,alt:e.image.alt},t.$attrs),null,16,["image","alt"])],64))],64)):K("",!0)}}});const xo=H(ku,[["__scopeId","data-v-6db2186b"]]),$u=["href"],Pu=R({__name:"VPNavBarTitle",setup(e){const{site:t,theme:n}=ue(),{hasSidebar:s}=Je();return(o,i)=>(p(),x("div",{class:pe(["VPNavBarTitle",{"has-sidebar":g(s)}])},[v("a",{class:"title",href:g(t).base},[L(o.$slots,"nav-bar-title-before",{},void 0,!0),I(xo,{class:"logo",image:g(n).logo},null,8,["image"]),g(n).siteTitle?(p(),x(te,{key:0},[Le(ae(g(n).siteTitle),1)],64)):g(n).siteTitle===void 0?(p(),x(te,{key:1},[Le(ae(g(t).title),1)],64)):K("",!0),L(o.$slots,"nav-bar-title-after",{},void 0,!0)],8,$u)],2))}});const Cu=H(Pu,[["__scopeId","data-v-d5925166"]]),Su="/document/assets/flex-logo.2489261b.svg";function Es(e,t){return typeof e>"u"?t:e}function Ti(e){const t=Array(e);for(let n=0;n<e;n++)t[n]=Me();return t}function Tu(e){return Object.keys(e)}function Me(){return Object.create(null)}function Eu(e){return[].concat.apply([],e)}function Vu(e,t){return t.length-e.length}function Lu(e){return e.constructor===Array}function Qn(e){return typeof e=="string"}function Ys(e){return typeof e=="object"}function Au(e){return typeof e=="function"}function Mu(e,t,n,s){if(e&&(t&&(e=Vs(e,t)),this.matcher&&(e=Vs(e,this.matcher)),this.stemmer&&1<e.length&&(e=Vs(e,this.stemmer)),s&&1<e.length&&(e=Nu(e)),n||n==="")){const o=e.split(n);return this.filter?Bu(o,this.filter):o}return e}const Iu=/[\p{Z}\p{S}\p{P}\p{C}]+/u;function Ou(e){const t=Me();for(let n=0,s=e.length;n<s;n++)t[e[n]]=1;return t}function Ei(e,t){const n=Tu(e),s=n.length,o=[];let i="",r=0;for(let l,c,a=0;a<s;a++)l=n[a],c=e[l],c?(o[r++]=Vi(t?"(?!\\b)"+l+"(\\b|_)":l),o[r++]=c):i+=(i?"|":"")+l;return i&&(o[r++]=Vi(t?"(?!\\b)("+i+")(\\b|_)":"("+i+")"),o[r]=""),o}function Vs(e,t){for(let n=0,s=t.length;n<s&&(e=e.replace(t[n],t[n+1]),!!e);n+=2);return e}function Vi(e){return new RegExp(e,"g")}function Nu(e){let t="",n="";for(let s,o=0,i=e.length;o<i;o++)(s=e[o])!==n&&(t+=n=s);return t}function Bu(e,t){const n=e.length,s=[];for(let o=0,i=0;o<n;o++){const r=e[o];r&&!t[r]&&(s[i++]=r)}return s}function Hu(e){return Mu.call(this,(""+e).toLowerCase(),!1,Iu,!1)}const Fu={},Du={};function Ru(e){sn(e,"add"),sn(e,"append"),sn(e,"search"),sn(e,"update"),sn(e,"remove")}function sn(e,t){e[t+"Async"]=function(){const n=this,s=arguments,o=s[s.length-1];let i;Au(o)&&(i=o,delete s[s.length-1]);const r=new Promise(function(l){setTimeout(function(){n.async=!0;const c=n[t].apply(n,s);n.async=!1,l(c)})});return i?(r.then(i),this):r}}function zu(e,t,n,s){const o=e.length;let i,r,l=[],c=0;s&&(s=[]);for(let a=o-1;0<=a;a--){const f=e[a],h=f.length,_=Me();let m=!i;for(let S=0;S<h;S++){const A=f[S],W=A.length;if(W)for(let y,w,C=0;C<W;C++)if(w=A[C],i){if(i[w]){if(!a){if(n)n--;else if(l[c++]=w,c===t)return l}(a||s)&&(_[w]=1),m=!0}if(s&&(r[w]=(y=r[w])?++y:y=1,y<o)){const O=s[y-2]||(s[y-2]=[]);O[O.length]=w}}else _[w]=1}if(s)i||(r=_);else if(!m)return[];i=_}if(s)for(let a,f,h=s.length-1;0<=h;h--){a=s[h],f=a.length;for(let _,m=0;m<f;m++)if(_=a[m],!i[_]){if(n)n--;else if(l[c++]=_,c===t)return l;i[_]=1}}return l}function Dn(e){this.limit=e!==!0&&e,this.cache=Me(),this.queue=[]}function ju(e,t,n){Ys(e)&&(e=e.query);let s=this.cache.get(e);return s||(s=this.search(e,t,n),this.cache.set(e,s)),s}Dn.prototype.set=function(e,t){if(!this.cache[e]){let n=this.queue.length;n===this.limit?delete this.cache[this.queue[n-1]]:n++;for(let s=n-1;0<s;s--)this.queue[s]=this.queue[s-1];this.queue[0]=e}this.cache[e]=t},Dn.prototype.get=function(e){const t=this.cache[e];if(this.limit&&t){const n=this.queue.indexOf(e);if(n){const s=this.queue[n-1];this.queue[n-1]=this.queue[n],this.queue[n]=s}}return t},Dn.prototype.del=function(e){for(let t,n,s=0;s<this.queue.length;s++)n=this.queue[s],t=this.cache[n],t.indexOf(e)!==-1&&(this.queue.splice(s--,1),delete this.cache[n])};const Uu={memory:{charset:"latin:extra",resolution:3,minlength:4,fastupdate:!1},performance:{resolution:3,minlength:3,optimize:!1,context:{depth:2,resolution:1}},match:{charset:"latin:extra",tokenize:"reverse"},score:{charset:"latin:advanced",resolution:20,minlength:3,context:{depth:3,resolution:9}},default:{}};function qu(e){if(Qn(e))e=Uu[e];else{const t=e.preset;t&&(e=Object.assign({},t[t],e))}return e}function Ku(e,t,n,s,o,i){setTimeout(function(){const r=e(n,JSON.stringify(i));r&&r.then?r.then(function(){t.export(e,t,n,s,o+1)}):t.export(e,t,n,s,o+1)})}function Wu(e,t,n,s,o){let i,r;switch(o||(o=0)){case 0:if(i="reg",this.fastupdate)for(let l in r=Me(),this.register)r[l]=1;else r=this.register;break;case 1:i="cfg",r={doc:0,opt:this.optimize?1:0};break;case 2:i="map",r=this.map;break;case 3:i="ctx",r=this.ctx;break;default:return}return Ku(e,t||this,n?n+"."+i:i,s,o,r),!0}function Gu(e,t){t&&(Qn(t)&&(t=JSON.parse(t)),e==="cfg"?this.optimize=!!t.opt:e==="reg"?(this.fastupdate=!1,this.register=t):e==="map"?this.map=t:e==="ctx"&&(this.ctx=t))}function Ve(e,t){if(!(this instanceof Ve))return new Ve(e);let n,s,o;e?(e=qu(e),n=e.charset,s=e.lang,Qn(n)&&(n.indexOf(":")===-1&&(n+=":default"),n=Du[n]),Qn(s)&&(s=Fu[s])):e={};let i,r,l=e.context||{};this.encode=e.encode||n&&n.encode||Hu,this.register=t||Me(),this.resolution=i=e.resolution||9,this.tokenize=o=n&&n.tokenize||e.tokenize||"strict",this.depth=o==="strict"&&l.depth,this.bidirectional=Es(l.bidirectional,!0),this.optimize=r=Es(e.optimize,!0),this.fastupdate=Es(e.fastupdate,!0),this.minlength=e.minlength||1,this.boost=e.boost,this.map=r?Ti(i):Me(),this.resolution_ctx=i=l.resolution||1,this.ctx=r?Ti(i):Me(),this.rtl=n&&n.rtl||e.rtl,this.matcher=(o=e.matcher||s&&s.matcher)&&Ei(o,!1),this.stemmer=(o=e.stemmer||s&&s.stemmer)&&Ei(o,!0),this.filter=(o=e.filter||s&&s.filter)&&Ou(o),this.cache=(o=e.cache)&&new Dn(o)}Ve.prototype.append=function(e,t){return this.add(e,t,!0)},Ve.prototype.add=function(e,t,n,s){if(t&&(e||e===0)){if(!s&&!n&&this.register[e])return this.update(e,t);t=this.encode(t);const o=t.length;if(o){const i=Me(),r=Me(),l=this.depth,c=this.resolution;for(let a=0;a<o;a++){let f=t[this.rtl?o-1-a:a],h=f.length;if(f&&h>=this.minlength&&(l||!r[f])){let _=On(c,o,a),m="";switch(this.tokenize){case"full":if(3<h){for(let S=0;S<h;S++)for(let A=h;A>S;A--)if(A-S>=this.minlength){const W=On(c,o,a,h,S);m=f.substring(S,A),this.push_index(r,m,W,e,n)}break}case"reverse":if(2<h){for(let S=h-1;0<S;S--)if(m=f[S]+m,m.length>=this.minlength){const A=On(c,o,a,h,S);this.push_index(r,m,A,e,n)}m=""}case"forward":if(1<h){for(let S=0;S<h;S++)m+=f[S],m.length>=this.minlength&&this.push_index(r,m,_,e,n);break}default:if(this.boost&&(_=Math.min(0|_/this.boost(t,f,a),c-1)),this.push_index(r,f,_,e,n),l&&1<o&&a<o-1){const S=Me(),A=this.resolution_ctx,W=f,y=Math.min(l+1,o-a);S[W]=1;for(let w=1;w<y;w++)if(f=t[this.rtl?o-1-a-w:a+w],f&&f.length>=this.minlength&&!S[f]){S[f]=1;const C=On(A+(o/2>A?0:1),o,a,y-1,w-1),O=this.bidirectional&&f>W;this.push_index(i,O?W:f,C,e,n,O?f:W)}}}}}this.fastupdate||(this.register[e]=1)}}return this};function On(e,t,n,s,o){return n&&1<e?t+(s||0)<=e?n+(o||0):0|(e-1)/(t+(s||0))*(n+(o||0))+1:0}Ve.prototype.push_index=function(e,t,n,s,o,i){let r=i?this.ctx:this.map;if((!e[t]||i&&!e[t][i])&&(this.optimize&&(r=r[n]),i?(e=e[t]||(e[t]=Me()),e[i]=1,r=r[i]||(r[i]=Me())):e[t]=1,r=r[t]||(r[t]=[]),this.optimize||(r=r[n]||(r[n]=[])),(!o||r.indexOf(s)===-1)&&(r[r.length]=s,this.fastupdate))){const l=this.register[s]||(this.register[s]=[]);l[l.length]=r}},Ve.prototype.search=function(e,t,n){n||(!t&&Ys(e)?(n=e,e=n.query):Ys(t)&&(n=t));let s,o,i,r=[],l=0;if(n&&(t=n.limit,l=n.offset||0,o=n.context,i=n.suggest),e&&(e=this.encode(e),s=e.length,1<s)){const h=Me(),_=[];for(let m,S=0,A=0;S<s;S++)if(m=e[S],m&&m.length>=this.minlength&&!h[m]){if(!this.optimize&&!i&&!this.map[m])return r;_[A++]=m,h[m]=1}e=_,s=e.length}if(!s)return r;t||(t=100);let c,a=this.depth&&1<s&&o!==!1,f=0;a?(c=e[0],f=1):1<s&&e.sort(Vu);for(let h,_;f<s;f++){if(_=e[f],a?(h=this.add_result(r,i,t,l,s===2,_,c),(!i||h!==!1||!r.length)&&(c=_)):h=this.add_result(r,i,t,l,s===1,_),h)return h;if(i&&f==s-1){let m=r.length;if(!m){if(a){a=0,f=-1;continue}return r}if(m===1)return Li(r[0],t,l)}}return zu(r,t,l,i)},Ve.prototype.add_result=function(e,t,n,s,o,i,r){let l=[],c=r?this.ctx:this.map;if(this.optimize||(c=Ai(c,i,r,this.bidirectional)),c){let a=0;const f=Math.min(c.length,r?this.resolution_ctx:this.resolution);for(let h,_,m=0,S=0;m<f&&(h=c[m],!(h&&(this.optimize&&(h=Ai(h,i,r,this.bidirectional)),s&&h&&o&&(_=h.length,_<=s?(s-=_,h=null):(h=h.slice(s),s=0)),h&&(l[a++]=h,o&&(S+=h.length,S>=n)))));m++);if(a)return o?Li(l,n,0):void(e[e.length]=l)}return!t&&l};function Li(e,t,n){return e=e.length===1?e[0]:Eu(e),n||e.length>t?e.slice(n,n+t):e}function Ai(e,t,n,s){if(n){const o=s&&t>n;e=e[o?t:n],e=e&&e[o?n:t]}else e=e[t];return e}Ve.prototype.contain=function(e){return!!this.register[e]},Ve.prototype.update=function(e,t){return this.remove(e).add(e,t)},Ve.prototype.remove=function(e,t){const n=this.register[e];if(n){if(this.fastupdate)for(let s,o=0;o<n.length;o++)s=n[o],s.splice(s.indexOf(e),1);else Jn(this.map,e,this.resolution,this.optimize),this.depth&&Jn(this.ctx,e,this.resolution_ctx,this.optimize);t||delete this.register[e],this.cache&&this.cache.del(e)}return this};function Jn(e,t,n,s,o){let i=0;if(Lu(e))if(o){const r=e.indexOf(t);r===-1?i++:1<e.length&&(e.splice(r,1),i++)}else{o=Math.min(e.length,n);for(let r,l=0;l<o;l++)r=e[l],r&&(i=Jn(r,t,n,s,o),!s&&!i&&delete e[l])}else for(let r in e)i=Jn(e[r],t,n,s,o),i||delete e[r];return i}Ve.prototype.searchCache=ju,Ve.prototype.export=Wu,Ve.prototype.import=Gu,Ru(Ve.prototype);const Yu={class:"VPNavBarSearch"},Qu={class:"DocSearch-Form"},Ju=v("label",{class:"DocSearch-MagnifierLabel",for:"docsearch-input",id:"docsearch-label"},[v("svg",{width:"20",height:"20",class:"DocSearch-Search-Icon",viewBox:"0 0 20 20"},[v("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),Xu=["placeholder"],Zu={class:"search-list"},ef={class:"search-group"},tf=["href"],nf={class:"search-item"},sf={class:"search-item-icon"},of={style:{width:"100%"}},rf=["innerHTML"],lf=v("span",{class:"search-item-icon"},"↪",-1),cf=v("img",{class:"flex-logo",src:Su,alt:"flex logo"},null,-1),af={type:"button",class:"DocSearch DocSearch-Button","aria-label":"Search"},uf={class:"DocSearch-Button-Container"},ff=v("svg",{width:"20",height:"20",class:"DocSearch-Search-Icon",viewBox:"0 0 20 20"},[v("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),df={class:"DocSearch-Button-Placeholder"},hf={class:"DocSearch-Button-Keys"},pf=v("span",{class:"DocSearch-Button-Key"},"K",-1),_f=R({__name:"Search",setup(e){const{localePath:t}=ue(),n=le(),s=le(!1),o=le(),i=le(""),r=le(),l=le(),c=le(),a=le(),f=le(),h=le("Search"),_=le("Search docs"),m=ie(()=>{if(o.value){for(var y=f.value.search(o.value,{enrich:!0}),w=[],C=0;C<y.length;C++){var O=y[C],z=c.value[O],G=z.t,X=z.p,V=z.l,Y=z.a;V=V.split(" ").join("-"),w.push({id:C,link:V,title:G,preview:X,anchor:Y})}return w}}),S=(y,w)=>!y||!y.length?[]:y.reduce((C,O)=>(C[w(O)]||(C[w(O)]=[]),C[w(O)].push(O),C),{}),A=()=>{setTimeout(()=>{r.value&&r.value.focus()},100),W(),s.value=!0};Qe(async()=>{var O,z;const y=await Ar(()=>import("./chunks/virtual_search-data.d91f3c33.js"),[]);l.value=y.default.INDEX_DATA,c.value=y.default.PREVIEW_LOOKUP,a.value=y.default.Options,i.value=window.location.origin+t.value,h.value=((O=a.value)==null?void 0:O.buttonLabel)||h.value,_.value=((z=a.value)==null?void 0:z.placeholder)||_.value;var w=new Ve(a.value);w.import("reg",l.value.reg),w.import("cfg",l.value.cfg),w.import("map",l.value.map),w.import("ctx",l.value.ctx),f.value=w,n.value.innerHTML=/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"⌘":"Ctrl";const C=G=>{G.key==="k"&&(G.ctrlKey||G.metaKey)&&(G.preventDefault(),A())};window.addEventListener("keydown",C)});function W(){s.value=!1,o.value=""}return(y,w)=>{const C=gt("ClientOnly");return p(),x("div",Yu,[I(C,null,{default:B(()=>[(p(),ee(Nc,{to:"body"},[Uo(v("div",{class:"modal-back",onClick:w[2]||(w[2]=O=>s.value=!1)},[v("div",{class:"modal",onClick:w[1]||(w[1]=Lr(()=>{},["stop"]))},[v("form",Qu,[Ju,Uo(v("input",{class:"DocSearch-Input","aria-autocomplete":"both","aria-labelledby":"docsearch-label",id:"docsearch-input",autocomplete:"off",autocorrect:"off",autocapitalize:"off",enterkeyhint:"search",spellcheck:"false",autofocus:"true","onUpdate:modelValue":w[0]||(w[0]=O=>o.value=O),placeholder:_.value,maxlength:"64",type:"search",ref_key:"input",ref:r},null,8,Xu),[[wa,o.value]])]),v("div",Zu,[(p(!0),x(te,null,ke(S(g(m),O=>O.link.split("/").slice(0,-1).join("-")),(O,z)=>(p(),x("div",{key:z},[v("span",ef,ae(z?z.toString()[0].toUpperCase()+z.toString().slice(1):"Home"),1),(p(!0),x(te,null,ke(O,G=>(p(),x("a",{href:i.value+G.link,key:G.id,onClick:W},[v("div",nf,[v("span",sf,ae(G.link.includes("#")?"#":"▤"),1),v("div",of,[v("h3",null,ae(G.title),1),v("p",null,[v("div",{innerHTML:G.preview},null,8,rf)])]),lf])],8,tf))),128))]))),128))]),cf])],512),[[Pa,s.value]])]))]),_:1}),v("div",{id:"docsearch",onClick:w[3]||(w[3]=O=>A())},[v("button",af,[v("span",uf,[ff,v("span",df,ae(h.value),1)]),v("span",hf,[v("span",{class:"DocSearch-Button-Key",ref_key:"metaKey",ref:n},"Meta",512),pf])])])])}}});const mf={},gf={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",height:"24px",viewBox:"0 0 24 24",width:"24px"},vf=v("path",{d:"M0 0h24v24H0V0z",fill:"none"},null,-1),yf=v("path",{d:"M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z"},null,-1),bf=[vf,yf];function xf(e,t){return p(),x("svg",gf,bf)}const wf=H(mf,[["render",xf]]),kf=R({__name:"VPLink",props:{href:null,noIcon:{type:Boolean}},setup(e){const t=e,n=ie(()=>t.href&&ms.test(t.href));return(s,o)=>(p(),ee(_o(e.href?"a":"span"),{class:pe(["VPLink",{link:e.href}]),href:e.href?g(Yn)(e.href):void 0,target:g(n)?"_blank":void 0,rel:g(n)?"noreferrer":void 0},{default:B(()=>[L(s.$slots,"default",{},void 0,!0),g(n)&&!e.noIcon?(p(),ee(wf,{key:0,class:"icon"})):K("",!0)]),_:3},8,["class","href","target","rel"]))}});const Mt=H(kf,[["__scopeId","data-v-3c355974"]]),$f=R({__name:"VPNavBarMenuLink",props:{item:null},setup(e){const{page:t}=ue();return(n,s)=>(p(),ee(Mt,{class:pe({VPNavBarMenuLink:!0,active:g(Zt)(g(t).relativePath,e.item.activeMatch||e.item.link,!!e.item.activeMatch)}),href:e.item.link,noIcon:!0},{default:B(()=>[Le(ae(e.item.text),1)]),_:1},8,["class","href"]))}});const Pf=H($f,[["__scopeId","data-v-47a2263e"]]),wo=le();let Dr=!1,Ls=0;function Cf(e){const t=le(!1);if(typeof window<"u"){!Dr&&Sf(),Ls++;const n=nt(wo,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))});Xt(()=>{n(),Ls--,Ls||Tf()})}return ro(t)}function Sf(){document.addEventListener("focusin",Rr),Dr=!0,wo.value=document.activeElement}function Tf(){document.removeEventListener("focusin",Rr)}function Rr(){wo.value=document.activeElement}const Ef={},Vf={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Lf=v("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),Af=[Lf];function Mf(e,t){return p(),x("svg",Vf,Af)}const zr=H(Ef,[["render",Mf]]),If={},Of={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Nf=v("circle",{cx:"12",cy:"12",r:"2"},null,-1),Bf=v("circle",{cx:"19",cy:"12",r:"2"},null,-1),Hf=v("circle",{cx:"5",cy:"12",r:"2"},null,-1),Ff=[Nf,Bf,Hf];function Df(e,t){return p(),x("svg",Of,Ff)}const Rf=H(If,[["render",Df]]),zf={class:"VPMenuLink"},jf=R({__name:"VPMenuLink",props:{item:null},setup(e){const{page:t}=ue();return(n,s)=>(p(),x("div",zf,[I(Mt,{class:pe({active:g(Zt)(g(t).relativePath,e.item.activeMatch||e.item.link)}),href:e.item.link},{default:B(()=>[Le(ae(e.item.text),1)]),_:1},8,["class","href"])]))}});const gs=H(jf,[["__scopeId","data-v-e8e0fb1d"]]),Uf={class:"VPMenuGroup"},qf={key:0,class:"title"},Kf=R({__name:"VPMenuGroup",props:{text:null,items:null},setup(e){return(t,n)=>(p(),x("div",Uf,[e.text?(p(),x("p",qf,ae(e.text),1)):K("",!0),(p(!0),x(te,null,ke(e.items,s=>(p(),x(te,null,["link"in s?(p(),ee(gs,{key:0,item:s},null,8,["item"])):K("",!0)],64))),256))]))}});const Wf=H(Kf,[["__scopeId","data-v-9ca52130"]]),Gf={class:"VPMenu"},Yf={key:0,class:"items"},Qf=R({__name:"VPMenu",props:{items:null},setup(e){return(t,n)=>(p(),x("div",Gf,[e.items?(p(),x("div",Yf,[(p(!0),x(te,null,ke(e.items,s=>(p(),x(te,{key:s.text},["link"in s?(p(),ee(gs,{key:0,item:s},null,8,["item"])):(p(),ee(Wf,{key:1,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):K("",!0),L(t.$slots,"default",{},void 0,!0)]))}});const Jf=H(Qf,[["__scopeId","data-v-1c5d0cfc"]]),Xf=["aria-expanded","aria-label"],Zf={key:0,class:"text"},ed={class:"menu"},td=R({__name:"VPFlyout",props:{icon:null,button:null,label:null,items:null},setup(e){const t=le(!1),n=le();Cf({el:n,onBlur:s});function s(){t.value=!1}return(o,i)=>(p(),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)},[v("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?(p(),x("span",Zf,[e.icon?(p(),ee(_o(e.icon),{key:0,class:"option-icon"})):K("",!0),Le(" "+ae(e.button)+" ",1),I(zr,{class:"text-icon"})])):(p(),ee(Rf,{key:1,class:"icon"}))],8,Xf),v("div",ed,[I(Jf,{items:e.items},{default:B(()=>[L(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}});const ko=H(td,[["__scopeId","data-v-6ffb57d3"]]),nd=R({__name:"VPNavBarMenuGroup",props:{item:null},setup(e){const{page:t}=ue();return(n,s)=>(p(),ee(ko,{class:pe({VPNavBarMenuGroup:!0,active:g(Zt)(g(t).relativePath,e.item.activeMatch,!!e.item.activeMatch)}),button:e.item.text,items:e.item.items},null,8,["class","button","items"]))}}),sd=e=>(Ge("data-v-f83db6ba"),e=e(),Ye(),e),od={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},id=sd(()=>v("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),rd=R({__name:"VPNavBarMenu",setup(e){const{theme:t}=ue();return(n,s)=>g(t).nav?(p(),x("nav",od,[id,(p(!0),x(te,null,ke(g(t).nav,o=>(p(),x(te,{key:o.text},["link"in o?(p(),ee(Pf,{key:0,item:o},null,8,["item"])):(p(),ee(nd,{key:1,item:o},null,8,["item"]))],64))),128))])):K("",!0)}});const ld=H(rd,[["__scopeId","data-v-f83db6ba"]]),cd={},ad={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},ud=v("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),fd=v("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),dd=[ud,fd];function hd(e,t){return p(),x("svg",ad,dd)}const jr=H(cd,[["render",hd]]),pd={class:"items"},_d={class:"title"},md=R({__name:"VPNavBarTranslations",setup(e){const{theme:t}=ue();return(n,s)=>g(t).localeLinks?(p(),ee(ko,{key:0,class:"VPNavBarTranslations",icon:jr},{default:B(()=>[v("div",pd,[v("p",_d,ae(g(t).localeLinks.text),1),(p(!0),x(te,null,ke(g(t).localeLinks.items,o=>(p(),ee(gs,{key:o.link,item:o},null,8,["item"]))),128))])]),_:1})):K("",!0)}});const gd=H(md,[["__scopeId","data-v-db824e91"]]);const vd={},yd={class:"VPSwitch",type:"button",role:"switch"},bd={class:"check"},xd={key:0,class:"icon"};function wd(e,t){return p(),x("button",yd,[v("span",bd,[e.$slots.default?(p(),x("span",xd,[L(e.$slots,"default",{},void 0,!0)])):K("",!0)])])}const kd=H(vd,[["render",wd],["__scopeId","data-v-eba7420e"]]),$d={},Pd={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Cd=Dc('<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),Sd=[Cd];function Td(e,t){return p(),x("svg",Pd,Sd)}const Ed=H($d,[["render",Td]]),Vd={},Ld={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Ad=v("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),Md=[Ad];function Id(e,t){return p(),x("svg",Ld,Md)}const Od=H(Vd,[["render",Id]]),Nd=R({__name:"VPSwitchAppearance",setup(e){const{site:t,isDark:n}=ue(),s=le(!1),o=typeof localStorage<"u"?i():()=>{};Qe(()=>{s.value=document.documentElement.classList.contains("dark")});function i(){const r=window.matchMedia("(prefers-color-scheme: dark)"),l=document.documentElement.classList;let c=localStorage.getItem(gi),a=t.value.appearance==="dark"&&c==null||(c==="auto"||c==null?r.matches:c==="dark");r.onchange=_=>{c==="auto"&&h(a=_.matches)};function f(){h(a=!a),c=a?r.matches?"auto":"dark":r.matches?"light":"auto",localStorage.setItem(gi,c)}function h(_){const m=document.createElement("style");m.type="text/css",m.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(m),s.value=_,l[_?"add":"remove"]("dark"),window.getComputedStyle(m).opacity,document.head.removeChild(m)}return f}return nt(s,r=>{n.value=r}),(r,l)=>(p(),ee(kd,{class:"VPSwitchAppearance","aria-label":"toggle dark mode","aria-checked":s.value,onClick:g(o)},{default:B(()=>[I(Ed,{class:"sun"}),I(Od,{class:"moon"})]),_:1},8,["aria-checked","onClick"]))}});const $o=H(Nd,[["__scopeId","data-v-481098f9"]]),Bd={key:0,class:"VPNavBarAppearance"},Hd=R({__name:"VPNavBarAppearance",setup(e){const{site:t}=ue();return(n,s)=>g(t).appearance?(p(),x("div",Bd,[I($o)])):K("",!0)}});const Fd=H(Hd,[["__scopeId","data-v-a3e7452b"]]),Dd={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>'},Rd=["href","innerHTML"],zd=R({__name:"VPSocialLink",props:{icon:null,link:null},setup(e){const t=e,n=ie(()=>typeof t.icon=="object"?t.icon.svg:Dd[t.icon]);return(s,o)=>(p(),x("a",{class:"VPSocialLink",href:e.link,target:"_blank",rel:"noopener",innerHTML:g(n)},null,8,Rd))}});const jd=H(zd,[["__scopeId","data-v-e57698f6"]]),Ud={class:"VPSocialLinks"},qd=R({__name:"VPSocialLinks",props:{links:null},setup(e){return(t,n)=>(p(),x("div",Ud,[(p(!0),x(te,null,ke(e.links,({link:s,icon:o})=>(p(),ee(jd,{key:s,icon:o,link:s},null,8,["icon","link"]))),128))]))}});const Po=H(qd,[["__scopeId","data-v-f6988cfb"]]),Kd=R({__name:"VPNavBarSocialLinks",setup(e){const{theme:t}=ue();return(n,s)=>g(t).socialLinks?(p(),ee(Po,{key:0,class:"VPNavBarSocialLinks",links:g(t).socialLinks},null,8,["links"])):K("",!0)}});const Wd=H(Kd,[["__scopeId","data-v-738bef5a"]]),Gd=e=>(Ge("data-v-e4361c82"),e=e(),Ye(),e),Yd={key:0,class:"group"},Qd={class:"trans-title"},Jd={key:1,class:"group"},Xd={class:"item appearance"},Zd=Gd(()=>v("p",{class:"label"},"Appearance",-1)),eh={class:"appearance-action"},th={key:2,class:"group"},nh={class:"item social-links"},sh=R({__name:"VPNavBarExtra",setup(e){const{site:t,theme:n}=ue(),s=ie(()=>n.value.localeLinks||t.value.appearance||n.value.socialLinks);return(o,i)=>g(s)?(p(),ee(ko,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:B(()=>[g(n).localeLinks?(p(),x("div",Yd,[v("p",Qd,ae(g(n).localeLinks.text),1),(p(!0),x(te,null,ke(g(n).localeLinks.items,r=>(p(),ee(gs,{key:r.link,item:r},null,8,["item"]))),128))])):K("",!0),g(t).appearance?(p(),x("div",Jd,[v("div",Xd,[Zd,v("div",eh,[I($o)])])])):K("",!0),g(n).socialLinks?(p(),x("div",th,[v("div",nh,[I(Po,{class:"social-links-list",links:g(n).socialLinks},null,8,["links"])])])):K("",!0)]),_:1})):K("",!0)}});const oh=H(sh,[["__scopeId","data-v-e4361c82"]]),ih=e=>(Ge("data-v-e5dd9c1c"),e=e(),Ye(),e),rh=["aria-expanded"],lh=ih(()=>v("span",{class:"container"},[v("span",{class:"top"}),v("span",{class:"middle"}),v("span",{class:"bottom"})],-1)),ch=[lh],ah=R({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(t,n)=>(p(),x("button",{type:"button",class:pe(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:n[0]||(n[0]=s=>t.$emit("click"))},ch,10,rh))}});const uh=H(ah,[["__scopeId","data-v-e5dd9c1c"]]),fh={class:"container"},dh={class:"content"},hh=R({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const{hasSidebar:t}=Je();return(n,s)=>(p(),x("div",{class:pe(["VPNavBar",{"has-sidebar":g(t)}])},[v("div",fh,[I(Cu,null,{"nav-bar-title-before":B(()=>[L(n.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":B(()=>[L(n.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3}),v("div",dh,[L(n.$slots,"nav-bar-content-before",{},void 0,!0),I(_f,{class:"search"}),I(ld,{class:"menu"}),I(gd,{class:"translations"}),I(Fd,{class:"appearance"}),I(Wd,{class:"social-links"}),I(oh,{class:"extra"}),L(n.$slots,"nav-bar-content-after",{},void 0,!0),I(uh,{class:"hamburger",active:e.isScreenOpen,onClick:s[0]||(s[0]=o=>n.$emit("toggle-screen"))},null,8,["active"])])])],2))}});const ph=H(hh,[["__scopeId","data-v-1bbed88e"]]);function _h(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 Co=!1;if(typeof window<"u"){var Mi={get passive(){Co=!0}};window.addEventListener("testPassive",null,Mi),window.removeEventListener("testPassive",null,Mi)}var Xn=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform==="MacIntel"&&window.navigator.maxTouchPoints>1),jt=[],Zn=!1,So=-1,dn=void 0,Tt=void 0,hn=void 0,Ur=function(t){return jt.some(function(n){return!!(n.options.allowTouchMove&&n.options.allowTouchMove(t))})},es=function(t){var n=t||window.event;return Ur(n.target)||n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)},mh=function(t){if(hn===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);hn=document.body.style.paddingRight,document.body.style.paddingRight=o+s+"px"}}dn===void 0&&(dn=document.body.style.overflow,document.body.style.overflow="hidden")},gh=function(){hn!==void 0&&(document.body.style.paddingRight=hn,hn=void 0),dn!==void 0&&(document.body.style.overflow=dn,dn=void 0)},vh=function(){return window.requestAnimationFrame(function(){if(Tt===void 0){Tt={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)}})},yh=function(){if(Tt!==void 0){var t=-parseInt(document.body.style.top,10),n=-parseInt(document.body.style.left,10);document.body.style.position=Tt.position,document.body.style.top=Tt.top,document.body.style.left=Tt.left,window.scrollTo(n,t),Tt=void 0}},bh=function(t){return t?t.scrollHeight-t.scrollTop<=t.clientHeight:!1},xh=function(t,n){var s=t.targetTouches[0].clientY-So;return Ur(t.target)?!1:n&&n.scrollTop===0&&s>0||bh(n)&&s<0?es(t):(t.stopPropagation(),!0)},qr=function(t,n){if(!t){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(!jt.some(function(o){return o.targetElement===t})){var s={targetElement:t,options:n||{}};jt=[].concat(_h(jt),[s]),Xn?vh():mh(n),Xn&&(t.ontouchstart=function(o){o.targetTouches.length===1&&(So=o.targetTouches[0].clientY)},t.ontouchmove=function(o){o.targetTouches.length===1&&xh(o,t)},Zn||(document.addEventListener("touchmove",es,Co?{passive:!1}:void 0),Zn=!0))}},Kr=function(){Xn&&(jt.forEach(function(t){t.targetElement.ontouchstart=null,t.targetElement.ontouchmove=null}),Zn&&(document.removeEventListener("touchmove",es,Co?{passive:!1}:void 0),Zn=!1),So=-1),Xn?yh():gh(),jt=[]};const wh=R({__name:"VPNavScreenMenuLink",props:{text:null,link:null},setup(e){const t=Be("close-screen");return(n,s)=>(p(),ee(Mt,{class:"VPNavScreenMenuLink",href:e.link,onClick:g(t)},{default:B(()=>[Le(ae(e.text),1)]),_:1},8,["href","onClick"]))}});const kh=H(wh,[["__scopeId","data-v-b7098508"]]),$h={},Ph={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Ch=v("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),Sh=[Ch];function Th(e,t){return p(),x("svg",Ph,Sh)}const Eh=H($h,[["render",Th]]),Vh=R({__name:"VPNavScreenMenuGroupLink",props:{text:null,link:null},setup(e){const t=Be("close-screen");return(n,s)=>(p(),ee(Mt,{class:"VPNavScreenMenuGroupLink",href:e.link,onClick:g(t)},{default:B(()=>[Le(ae(e.text),1)]),_:1},8,["href","onClick"]))}});const Wr=H(Vh,[["__scopeId","data-v-7f173864"]]),Lh={class:"VPNavScreenMenuGroupSection"},Ah={key:0,class:"title"},Mh=R({__name:"VPNavScreenMenuGroupSection",props:{text:null,items:null},setup(e){return(t,n)=>(p(),x("div",Lh,[e.text?(p(),x("p",Ah,ae(e.text),1)):K("",!0),(p(!0),x(te,null,ke(e.items,s=>(p(),ee(Wr,{key:s.text,text:s.text,link:s.link},null,8,["text","link"]))),128))]))}});const Ih=H(Mh,[["__scopeId","data-v-7478538b"]]),Oh=["aria-controls","aria-expanded"],Nh={class:"button-text"},Bh=["id"],Hh={key:1,class:"group"},Fh=R({__name:"VPNavScreenMenuGroup",props:{text:null,items:null},setup(e){const t=e,n=le(!1),s=ie(()=>`NavScreenGroup-${t.text.replace(" ","-").toLowerCase()}`);function o(){n.value=!n.value}return(i,r)=>(p(),x("div",{class:pe(["VPNavScreenMenuGroup",{open:n.value}])},[v("button",{class:"button","aria-controls":g(s),"aria-expanded":n.value,onClick:o},[v("span",Nh,ae(e.text),1),I(Eh,{class:"button-icon"})],8,Oh),v("div",{id:g(s),class:"items"},[(p(!0),x(te,null,ke(e.items,l=>(p(),x(te,{key:l.text},["link"in l?(p(),x("div",{key:l.text,class:"item"},[I(Wr,{text:l.text,link:l.link},null,8,["text","link"])])):(p(),x("div",Hh,[I(Ih,{text:l.text,items:l.items},null,8,["text","items"])]))],64))),128))],8,Bh)],2))}});const Dh=H(Fh,[["__scopeId","data-v-5bc84358"]]),Rh={key:0,class:"VPNavScreenMenu"},zh=R({__name:"VPNavScreenMenu",setup(e){const{theme:t}=ue();return(n,s)=>g(t).nav?(p(),x("nav",Rh,[(p(!0),x(te,null,ke(g(t).nav,o=>(p(),x(te,{key:o.text},["link"in o?(p(),ee(kh,{key:0,text:o.text,link:o.link},null,8,["text","link"])):(p(),ee(Dh,{key:1,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):K("",!0)}}),jh=e=>(Ge("data-v-7bc19822"),e=e(),Ye(),e),Uh={key:0,class:"VPNavScreenAppearance"},qh=jh(()=>v("p",{class:"text"},"Appearance",-1)),Kh=R({__name:"VPNavScreenAppearance",setup(e){const{site:t}=ue();return(n,s)=>g(t).appearance?(p(),x("div",Uh,[qh,I($o)])):K("",!0)}});const Wh=H(Kh,[["__scopeId","data-v-7bc19822"]]),Gh={class:"list"},Yh=["href"],Qh=R({__name:"VPNavScreenTranslations",setup(e){const{theme:t}=ue(),n=le(!1);function s(){n.value=!n.value}return(o,i)=>g(t).localeLinks?(p(),x("div",{key:0,class:pe(["VPNavScreenTranslations",{open:n.value}])},[v("button",{class:"title",onClick:s},[I(jr,{class:"icon lang"}),Le(" "+ae(g(t).localeLinks.text)+" ",1),I(zr,{class:"icon chevron"})]),v("ul",Gh,[(p(!0),x(te,null,ke(g(t).localeLinks.items,r=>(p(),x("li",{key:r.link,class:"item"},[v("a",{class:"link",href:r.link},ae(r.text),9,Yh)]))),128))])],2)):K("",!0)}});const Jh=H(Qh,[["__scopeId","data-v-6bfcad30"]]),Xh=R({__name:"VPNavScreenSocialLinks",setup(e){const{theme:t}=ue();return(n,s)=>g(t).socialLinks?(p(),ee(Po,{key:0,class:"VPNavScreenSocialLinks",links:g(t).socialLinks},null,8,["links"])):K("",!0)}}),Zh={class:"container"},e1=R({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const t=le(null);function n(){qr(t.value,{reserveScrollBarGap:!0})}function s(){Kr()}return(o,i)=>(p(),ee(_s,{name:"fade",onEnter:n,onAfterLeave:s},{default:B(()=>[e.open?(p(),x("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:t},[v("div",Zh,[L(o.$slots,"nav-screen-content-before",{},void 0,!0),I(zh,{class:"menu"}),I(Jh,{class:"translations"}),I(Wh,{class:"appearance"}),I(Xh,{class:"social-links"}),L(o.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):K("",!0)]),_:3}))}});const t1=H(e1,[["__scopeId","data-v-4a289eba"]]),n1=R({__name:"VPNav",setup(e){const{isScreenOpen:t,closeScreen:n,toggleScreen:s}=bu(),{hasSidebar:o}=Je();return Rt("close-screen",n),(i,r)=>(p(),x("header",{class:pe(["VPNav",{"no-sidebar":!g(o)}])},[I(ph,{"is-screen-open":g(t),onToggleScreen:g(s)},{"nav-bar-title-before":B(()=>[L(i.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":B(()=>[L(i.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":B(()=>[L(i.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":B(()=>[L(i.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),I(t1,{open:g(t)},{"nav-screen-content-before":B(()=>[L(i.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":B(()=>[L(i.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])],2))}});const s1=H(n1,[["__scopeId","data-v-8c0a9870"]]),o1={},i1={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},r1=v("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),l1=v("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),c1=v("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),a1=v("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),u1=[r1,l1,c1,a1];function f1(e,t){return p(),x("svg",i1,u1)}const d1=H(o1,[["render",f1]]),h1=e=>(Ge("data-v-b6162a8b"),e=e(),Ye(),e),p1={key:0,class:"VPLocalNav"},_1=["aria-expanded"],m1=h1(()=>v("span",{class:"menu-text"},"Menu",-1)),g1=R({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{hasSidebar:t}=Je();function n(){window.scrollTo({top:0,left:0,behavior:"smooth"})}return(s,o)=>g(t)?(p(),x("div",p1,[v("button",{class:"menu","aria-expanded":e.open,"aria-controls":"VPSidebarNav",onClick:o[0]||(o[0]=i=>s.$emit("open-menu"))},[I(d1,{class:"menu-icon"}),m1],8,_1),v("a",{class:"top-link",href:"#",onClick:n}," Return to top ")])):K("",!0)}});const v1=H(g1,[["__scopeId","data-v-b6162a8b"]]),y1={},b1={version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},x1=v("path",{d:"M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2z M20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"},null,-1),w1=v("path",{d:"M16,11h-3V8c0-0.6-0.4-1-1-1s-1,0.4-1,1v3H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h3v3c0,0.6,0.4,1,1,1s1-0.4,1-1v-3h3c0.6,0,1-0.4,1-1S16.6,11,16,11z"},null,-1),k1=[x1,w1];function $1(e,t){return p(),x("svg",b1,k1)}const P1=H(y1,[["render",$1]]),C1={},S1={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},T1=v("path",{d:"M19,2H5C3.3,2,2,3.3,2,5v14c0,1.7,1.3,3,3,3h14c1.7,0,3-1.3,3-3V5C22,3.3,20.7,2,19,2zM20,19c0,0.6-0.4,1-1,1H5c-0.6,0-1-0.4-1-1V5c0-0.6,0.4-1,1-1h14c0.6,0,1,0.4,1,1V19z"},null,-1),E1=v("path",{d:"M16,11H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h8c0.6,0,1-0.4,1-1S16.6,11,16,11z"},null,-1),V1=[T1,E1];function L1(e,t){return p(),x("svg",S1,V1)}const A1=H(C1,[["render",L1]]),M1=["innerHTML"],I1=R({__name:"VPSidebarLink",props:{item:null,depth:{default:1}},setup(e){const t=e,{page:n,frontmatter:s}=ue(),o=ie(()=>s.value.sidebarDepth||1/0),i=ie(()=>Zt(n.value.relativePath,t.item.link)),{isSidebarEnabled:r}=Je(),l=Be("close-sidebar"),c=Be("is-sidebar-open"),a=le(null);return At(()=>{var f,h;c.value&&i.value&&((h=(f=a.value)==null?void 0:f.$el)==null||h.focus())}),(f,h)=>{const _=gt("VPSidebarLink",!0);return p(),x(te,null,[I(Mt,{class:pe(["link",{active:g(i)}]),style:ts({paddingLeft:16*(e.depth-1)+"px"}),href:e.item.link,tabindex:g(r)||g(c)?0:-1,onClick:g(l),ref_key:"link",ref:a},{default:B(()=>[v("span",{innerHTML:e.item.text,class:pe(["link-text",{light:e.depth>1}])},null,10,M1)]),_:1},8,["class","style","href","tabindex","onClick"]),"items"in e.item&&e.depth<g(o)?(p(!0),x(te,{key:0},ke(e.item.items,m=>(p(),ee(_,{key:m.link,item:m,depth:e.depth+1},null,8,["item","depth"]))),128)):K("",!0)],64)}}});const O1=H(I1,[["__scopeId","data-v-70e2cdfb"]]),N1=["role"],B1=["innerHTML"],H1={class:"action"},F1={class:"items"},D1=R({__name:"VPSidebarGroup",props:{text:null,items:null,collapsible:{type:Boolean},collapsed:{type:Boolean}},setup(e){const t=e,n=le(!1);At(()=>{n.value=!!(t.collapsible&&t.collapsed)});const{page:s}=ue();At(()=>{t.items.some(i=>Zt(s.value.relativePath,i.link))&&(n.value=!1)});function o(){t.collapsible&&(n.value=!n.value)}return(i,r)=>(p(),x("section",{class:pe(["VPSidebarGroup",{collapsible:e.collapsible,collapsed:n.value}])},[e.text?(p(),x("div",{key:0,class:"title",role:e.collapsible?"button":void 0,onClick:o},[v("h2",{innerHTML:e.text,class:"title-text"},null,8,B1),v("div",H1,[I(A1,{class:"icon minus"}),I(P1,{class:"icon plus"})])],8,N1)):K("",!0),v("div",F1,[(p(!0),x(te,null,ke(e.items,l=>(p(),ee(O1,{key:l.link,item:l},null,8,["item"]))),128))])],2))}});const R1=H(D1,[["__scopeId","data-v-6e45c352"]]),z1=e=>(Ge("data-v-a186aa16"),e=e(),Ye(),e),j1={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},U1=z1(()=>v("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),q1=R({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const t=e,{sidebar:n,hasSidebar:s}=Je();let o=le(null);function i(){qr(o.value,{reserveScrollBarGap:!0})}function r(){Kr()}return sc(async()=>{var l;t.open?(i(),(l=o.value)==null||l.focus()):r()}),(l,c)=>g(s)?(p(),x("aside",{key:0,class:pe(["VPSidebar",{open:e.open}]),ref_key:"navEl",ref:o,onClick:c[0]||(c[0]=Lr(()=>{},["stop"]))},[v("nav",j1,[U1,L(l.$slots,"sidebar-nav-before",{},void 0,!0),(p(!0),x(te,null,ke(g(n),a=>(p(),x("div",{key:a.text,class:"group"},[I(R1,{text:a.text,items:a.items,collapsible:a.collapsible,collapsed:a.collapsed},null,8,["text","items","collapsible","collapsed"])]))),128)),L(l.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):K("",!0)}});const K1=H(q1,[["__scopeId","data-v-a186aa16"]]),W1={},G1={class:"VPPage"};function Y1(e,t){const n=gt("Content");return p(),x("div",G1,[I(n)])}const Q1=H(W1,[["render",Y1]]),J1=R({__name:"VPButton",props:{tag:null,size:null,theme:null,text:null,href:null},setup(e){const t=e,n=ie(()=>[t.size??"medium",t.theme??"brand"]),s=ie(()=>t.href&&ms.test(t.href)),o=ie(()=>t.tag?t.tag:t.href?"a":"button");return(i,r)=>(p(),ee(_o(g(o)),{class:pe(["VPButton",g(n)]),href:e.href?g(Yn)(e.href):void 0,target:g(s)?"_blank":void 0,rel:g(s)?"noreferrer":void 0},{default:B(()=>[Le(ae(e.text),1)]),_:1},8,["class","href","target","rel"]))}});const X1=H(J1,[["__scopeId","data-v-53dbb8eb"]]),Z1=e=>(Ge("data-v-1fe9e8f3"),e=e(),Ye(),e),e0={class:"container"},t0={class:"main"},n0={key:0,class:"name"},s0={class:"clip"},o0={key:1,class:"text"},i0={key:2,class:"tagline"},r0={key:3,class:"actions"},l0={key:0,class:"image"},c0={class:"image-container"},a0=Z1(()=>v("div",{class:"image-bg"},null,-1)),u0=R({__name:"VPHero",props:{name:null,text:null,tagline:null,image:null,actions:null},setup(e){const t=Be("hero-image-slot-exists");return(n,s)=>(p(),x("div",{class:pe(["VPHero",{"has-image":e.image||g(t)}])},[v("div",e0,[v("div",t0,[e.name?(p(),x("h1",n0,[v("span",s0,ae(e.name),1)])):K("",!0),e.text?(p(),x("p",o0,ae(e.text),1)):K("",!0),e.tagline?(p(),x("p",i0,ae(e.tagline),1)):K("",!0),e.actions?(p(),x("div",r0,[(p(!0),x(te,null,ke(e.actions,o=>(p(),x("div",{key:o.link,class:"action"},[I(X1,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link},null,8,["theme","text","href"])]))),128))])):K("",!0)]),e.image||g(t)?(p(),x("div",l0,[v("div",c0,[a0,L(n.$slots,"home-hero-image",{},()=>[e.image?(p(),ee(xo,{key:0,class:"image-src",image:e.image},null,8,["image"])):K("",!0)],!0)])])):K("",!0)])],2))}});const f0=H(u0,[["__scopeId","data-v-1fe9e8f3"]]),d0=R({__name:"VPHomeHero",setup(e){const{frontmatter:t}=ue();return(n,s)=>g(t).hero?(p(),ee(f0,{key:0,class:"VPHomeHero",name:g(t).hero.name,text:g(t).hero.text,tagline:g(t).hero.tagline,image:g(t).hero.image,actions:g(t).hero.actions},{"home-hero-image":B(()=>[L(n.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):K("",!0)}}),h0={},p0={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},_0=v("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),m0=[_0];function g0(e,t){return p(),x("svg",p0,m0)}const v0=H(h0,[["render",g0]]),y0={class:"box"},b0={key:1,class:"icon"},x0={class:"title"},w0={class:"details"},k0={key:2,class:"link-text"},$0={class:"link-text-value"},P0=R({__name:"VPFeature",props:{icon:null,title:null,details:null,link:null,linkText:null},setup(e){return(t,n)=>(p(),ee(Mt,{class:"VPFeature",href:e.link,"no-icon":!0},{default:B(()=>[v("article",y0,[typeof e.icon=="object"?(p(),ee(xo,{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?(p(),x("div",b0,ae(e.icon),1)):K("",!0),v("h2",x0,ae(e.title),1),v("p",w0,ae(e.details),1),e.linkText?(p(),x("div",k0,[v("p",$0,[Le(ae(e.linkText)+" ",1),I(v0,{class:"link-text-icon"})])])):K("",!0)])]),_:1},8,["href"]))}});const C0=H(P0,[["__scopeId","data-v-81ce8129"]]),S0={key:0,class:"VPFeatures"},T0={class:"container"},E0={class:"items"},V0=R({__name:"VPFeatures",props:{features:null},setup(e){const t=e,n=ie(()=>{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?(p(),x("div",S0,[v("div",T0,[v("div",E0,[(p(!0),x(te,null,ke(e.features,i=>(p(),x("div",{key:i.title,class:pe(["item",[g(n)]])},[I(C0,{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))])])])):K("",!0)}});const L0=H(V0,[["__scopeId","data-v-6816157f"]]),A0=R({__name:"VPHomeFeatures",setup(e){const{frontmatter:t}=ue();return(n,s)=>g(t).features?(p(),ee(L0,{key:0,class:"VPHomeFeatures",features:g(t).features},null,8,["features"])):K("",!0)}}),M0={class:"VPHome"},I0=R({__name:"VPHome",setup(e){return(t,n)=>{const s=gt("Content");return p(),x("div",M0,[L(t.$slots,"home-hero-before",{},void 0,!0),I(d0,null,{"home-hero-image":B(()=>[L(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),L(t.$slots,"home-hero-after",{},void 0,!0),L(t.$slots,"home-features-before",{},void 0,!0),I(A0),L(t.$slots,"home-features-after",{},void 0,!0),I(s)])}}});const O0=H(I0,[["__scopeId","data-v-b07783ac"]]);function N0(){const{hasSidebar:e}=Je(),t=Ks("(min-width: 960px)"),n=Ks("(min-width: 1280px)");return{isAsideEnabled:ie(()=>!n.value&&!t.value?!1:e.value?n.value:t.value)}}const B0=71;function H0(e){if(e===!1)return[];let t=[];return document.querySelectorAll("h2, h3, h4, h5, h6").forEach(n=>{n.textContent&&n.id&&t.push({level:Number(n.tagName[1]),title:n.innerText.replace(/\s+#\s*$/,""),link:`#${n.id}`})}),F0(t,e)}function F0(e,t=2){return D0(e,typeof t=="number"?[t,t]:t==="deep"?[2,6]:t)}function D0(e,t){const n=[];return e=e.map(s=>({...s})),e.forEach((s,o)=>{s.level>=t[0]&&s.level<=t[1]&&R0(o,e,t)&&n.push(s)}),n}function R0(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 z0(e,t){const{isAsideEnabled:n}=N0(),s=du(i,100);let o=null;Qe(()=>{requestAnimationFrame(i),window.addEventListener("scroll",s)}),ho(()=>{r(location.hash)}),Xt(()=>{window.removeEventListener("scroll",s)});function i(){if(!n.value)return;const l=[].slice.call(e.value.querySelectorAll(".outline-link")),c=[].slice.call(document.querySelectorAll(".content .header-anchor")).filter(m=>l.some(S=>S.hash===m.hash&&m.offsetParent!==null)),a=window.scrollY,f=window.innerHeight,h=document.body.offsetHeight,_=Math.abs(a+f-h)<1;if(c.length&&_){r(c[c.length-1].hash);return}for(let m=0;m<c.length;m++){const S=c[m],A=c[m+1],[W,y]=j0(m,S,A);if(W){r(y);return}}}function r(l){o&&o.classList.remove("active"),l!==null&&(o=e.value.querySelector(`a[href="${decodeURIComponent(l)}"]`));const c=o;c?(c.classList.add("active"),t.value.style.top=c.offsetTop+33+"px",t.value.style.opacity="1"):(t.value.style.top="33px",t.value.style.opacity="0")}}function Ii(e){return e.parentElement.offsetTop-B0}function j0(e,t,n){const s=window.scrollY;return e===0&&s===0?[!0,null]:s<Ii(t)?[!1,null]:!n||s<Ii(n)?[!0,t.hash]:[!1,null]}const U0=["href"],q0=R({__name:"VPDocAsideOutlineItem",props:{headers:null,onClick:null,root:{type:Boolean}},setup(e){return(t,n)=>{const s=gt("VPDocAsideOutlineItem",!0);return p(),x("ul",{class:pe(e.root?"root":"nested")},[(p(!0),x(te,null,ke(e.headers,({children:o,link:i,title:r})=>(p(),x("li",null,[v("a",{class:"outline-link",href:i,onClick:n[0]||(n[0]=(...l)=>e.onClick&&e.onClick(...l))},ae(r),9,U0),o!=null&&o.length?(p(),ee(s,{key:0,headers:o,onClick:e.onClick},null,8,["headers","onClick"])):K("",!0)]))),256))],2)}}});const K0=H(q0,[["__scopeId","data-v-1188541a"]]),W0=e=>(Ge("data-v-2865c0b0"),e=e(),Ye(),e),G0={class:"content"},Y0={class:"outline-title"},Q0={"aria-labelledby":"doc-outline-aria-label"},J0=W0(()=>v("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),X0=R({__name:"VPDocAsideOutline",setup(e){const{frontmatter:t,theme:n}=ue(),s=ie(()=>t.value.outline??n.value.outline),o=Be("onContentUpdated");o.value=()=>{i.value=H0(s.value)};const i=le([]),r=ie(()=>i.value.length>0),l=le(),c=le();z0(l,c);function a({target:f}){const h="#"+f.href.split("#")[1],_=document.querySelector(decodeURIComponent(h));_==null||_.focus()}return(f,h)=>(p(),x("div",{class:pe(["VPDocAsideOutline",{"has-outline":g(r)}]),ref_key:"container",ref:l},[v("div",G0,[v("div",{class:"outline-marker",ref_key:"marker",ref:c},null,512),v("div",Y0,ae(g(n).outlineTitle||"On this page"),1),v("nav",Q0,[J0,I(K0,{headers:i.value,root:!0,onClick:a},null,8,["headers"])])])],2))}});const Z0=H(X0,[["__scopeId","data-v-2865c0b0"]]),ep={class:"VPDocAsideCarbonAds"},tp=R({__name:"VPDocAsideCarbonAds",setup(e){const t=()=>null;return(n,s)=>(p(),x("div",ep,[I(g(t))]))}}),np=e=>(Ge("data-v-afc4c1a1"),e=e(),Ye(),e),sp={class:"VPDocAside"},op=np(()=>v("div",{class:"spacer"},null,-1)),ip=R({__name:"VPDocAside",setup(e){const{theme:t}=ue();return(n,s)=>(p(),x("div",sp,[L(n.$slots,"aside-top",{},void 0,!0),L(n.$slots,"aside-outline-before",{},void 0,!0),I(Z0),L(n.$slots,"aside-outline-after",{},void 0,!0),op,L(n.$slots,"aside-ads-before",{},void 0,!0),g(t).carbonAds?(p(),ee(tp,{key:0})):K("",!0),L(n.$slots,"aside-ads-after",{},void 0,!0),L(n.$slots,"aside-bottom",{},void 0,!0)]))}});const rp=H(ip,[["__scopeId","data-v-afc4c1a1"]]);function lp(){const{theme:e,page:t}=ue();return ie(()=>{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 cp(){const{page:e,theme:t,frontmatter:n}=ue();return ie(()=>{const s=Fr(t.value.sidebar,e.value.relativePath),o=hu(s),i=o.findIndex(r=>Zt(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 ap={},up={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},fp=v("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),dp=v("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),hp=[fp,dp];function pp(e,t){return p(),x("svg",up,hp)}const _p=H(ap,[["render",pp]]),mp={class:"VPLastUpdated"},gp=["datetime"],vp=R({__name:"VPDocFooterLastUpdated",setup(e){const{theme:t,page:n}=ue(),s=ie(()=>new Date(n.value.lastUpdated)),o=ie(()=>s.value.toISOString()),i=le("");return Qe(()=>{At(()=>{i.value=s.value.toLocaleString(window.navigator.language)})}),(r,l)=>(p(),x("p",mp,[Le(ae(g(t).lastUpdatedText??"Last updated")+": ",1),v("time",{datetime:g(o)},ae(i.value),9,gp)]))}});const yp=H(vp,[["__scopeId","data-v-18fe8fc2"]]),bp={key:0,class:"VPDocFooter"},xp={key:0,class:"edit-info"},wp={key:0,class:"edit-link"},kp={key:1,class:"last-updated"},$p={key:1,class:"prev-next"},Pp={class:"pager"},Cp=["href"],Sp=["innerHTML"],Tp=["innerHTML"],Ep=["href"],Vp=["innerHTML"],Lp=["innerHTML"],Ap=R({__name:"VPDocFooter",setup(e){const{theme:t,page:n,frontmatter:s}=ue(),o=lp(),i=cp(),r=ie(()=>t.value.editLink&&s.value.editLink!==!1),l=ie(()=>n.value.lastUpdated&&s.value.lastUpdated!==!1),c=ie(()=>r.value||l.value||i.value.prev||i.value.next);return(a,f)=>{var h,_;return g(c)?(p(),x("footer",bp,[g(r)||g(l)?(p(),x("div",xp,[g(r)?(p(),x("div",wp,[I(Mt,{class:"edit-link-button",href:g(o).url,"no-icon":!0},{default:B(()=>[I(_p,{class:"edit-link-icon"}),Le(" "+ae(g(o).text),1)]),_:1},8,["href"])])):K("",!0),g(l)?(p(),x("div",kp,[I(yp)])):K("",!0)])):K("",!0),g(i).prev||g(i).next?(p(),x("div",$p,[v("div",Pp,[g(i).prev?(p(),x("a",{key:0,class:"pager-link prev",href:g(Yn)(g(i).prev.link)},[v("span",{class:"desc",innerHTML:((h=g(t).docFooter)==null?void 0:h.prev)??"Previous page"},null,8,Sp),v("span",{class:"title",innerHTML:g(i).prev.text},null,8,Tp)],8,Cp)):K("",!0)]),v("div",{class:pe(["pager",{"has-prev":g(i).prev}])},[g(i).next?(p(),x("a",{key:0,class:"pager-link next",href:g(Yn)(g(i).next.link)},[v("span",{class:"desc",innerHTML:((_=g(t).docFooter)==null?void 0:_.next)??"Next page"},null,8,Vp),v("span",{class:"title",innerHTML:g(i).next.text},null,8,Lp)],8,Ep)):K("",!0)],2)])):K("",!0)])):K("",!0)}}});const Mp=H(Ap,[["__scopeId","data-v-21f75714"]]),Ip=e=>(Ge("data-v-cfb513e0"),e=e(),Ye(),e),Op={class:"container"},Np={key:0,class:"aside"},Bp=Ip(()=>v("div",{class:"aside-curtain"},null,-1)),Hp={class:"aside-container"},Fp={class:"aside-content"},Dp={class:"content"},Rp={class:"content-container"},zp={class:"main"},jp=R({__name:"VPDoc",setup(e){const t=vt(),{hasSidebar:n,hasAside:s}=Je(),o=ie(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,"")),i=le();return Rt("onContentUpdated",i),(r,l)=>{const c=gt("Content");return p(),x("div",{class:pe(["VPDoc",{"has-sidebar":g(n),"has-aside":g(s)}])},[v("div",Op,[g(s)?(p(),x("div",Np,[Bp,v("div",Hp,[v("div",Fp,[I(rp,null,{"aside-top":B(()=>[L(r.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":B(()=>[L(r.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":B(()=>[L(r.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":B(()=>[L(r.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":B(()=>[L(r.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":B(()=>[L(r.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])])):K("",!0),v("div",Dp,[v("div",Rp,[L(r.$slots,"doc-before",{},void 0,!0),v("main",zp,[I(c,{class:pe(["vp-doc",g(o)]),onContentUpdated:i.value},null,8,["class","onContentUpdated"])]),L(r.$slots,"doc-footer-before",{},void 0,!0),I(Mp),L(r.$slots,"doc-after",{},void 0,!0)])])])],2)}}});const Up=H(jp,[["__scopeId","data-v-cfb513e0"]]),qp=R({__name:"VPContent",setup(e){const t=vt(),{frontmatter:n}=ue(),{hasSidebar:s}=Je(),o=Be("NotFound");return(i,r)=>(p(),x("div",{class:pe(["VPContent",{"has-sidebar":g(s),"is-home":g(n).layout==="home"}]),id:"VPContent"},[g(t).component===g(o)?(p(),ee(g(o),{key:0})):g(n).layout==="page"?(p(),ee(Q1,{key:1})):g(n).layout==="home"?(p(),ee(O0,{key:2},{"home-hero-before":B(()=>[L(i.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-image":B(()=>[L(i.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":B(()=>[L(i.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":B(()=>[L(i.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":B(()=>[L(i.$slots,"home-features-after",{},void 0,!0)]),_:3})):(p(),ee(Up,{key:3},{"doc-footer-before":B(()=>[L(i.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":B(()=>[L(i.$slots,"doc-before",{},void 0,!0)]),"doc-after":B(()=>[L(i.$slots,"doc-after",{},void 0,!0)]),"aside-top":B(()=>[L(i.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":B(()=>[L(i.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":B(()=>[L(i.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":B(()=>[L(i.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":B(()=>[L(i.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":B(()=>[L(i.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}});const Kp=H(qp,[["__scopeId","data-v-296cfad2"]]),Wp={class:"container"},Gp=["innerHTML"],Yp=["innerHTML"],Qp=R({__name:"VPFooter",setup(e){const{theme:t}=ue(),{hasSidebar:n}=Je();return(s,o)=>g(t).footer?(p(),x("footer",{key:0,class:pe(["VPFooter",{"has-sidebar":g(n)}])},[v("div",Wp,[g(t).footer.message?(p(),x("p",{key:0,class:"message",innerHTML:g(t).footer.message},null,8,Gp)):K("",!0),g(t).footer.copyright?(p(),x("p",{key:1,class:"copyright",innerHTML:g(t).footer.copyright},null,8,Yp)):K("",!0)])],2)):K("",!0)}});const Jp=H(Qp,[["__scopeId","data-v-9f24cc86"]]),Xp={key:0,class:"Layout"},Zp=R({__name:"Layout",setup(e){const{isOpen:t,open:n,close:s}=Je(),o=vt();nt(()=>o.path,s),pu(t,s),Rt("close-sidebar",s),Rt("is-sidebar-open",t);const{frontmatter:i}=ue(),r=Yc(),l=ie(()=>!!r["home-hero-image"]);return Rt("hero-image-slot-exists",l),(c,a)=>{const f=gt("Content");return g(i).layout!==!1?(p(),x("div",Xp,[L(c.$slots,"layout-top",{},void 0,!0),I(mu),I(yu,{class:"backdrop",show:g(t),onClick:g(s)},null,8,["show","onClick"]),I(s1,null,{"nav-bar-title-before":B(()=>[L(c.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":B(()=>[L(c.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":B(()=>[L(c.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":B(()=>[L(c.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":B(()=>[L(c.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":B(()=>[L(c.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),I(v1,{open:g(t),onOpenMenu:g(n)},null,8,["open","onOpenMenu"]),I(K1,{open:g(t)},{"sidebar-nav-before":B(()=>[L(c.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":B(()=>[L(c.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),I(Kp,null,{"home-hero-before":B(()=>[L(c.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-image":B(()=>[L(c.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":B(()=>[L(c.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":B(()=>[L(c.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":B(()=>[L(c.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":B(()=>[L(c.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":B(()=>[L(c.$slots,"doc-before",{},void 0,!0)]),"doc-after":B(()=>[L(c.$slots,"doc-after",{},void 0,!0)]),"aside-top":B(()=>[L(c.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":B(()=>[L(c.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":B(()=>[L(c.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":B(()=>[L(c.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":B(()=>[L(c.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":B(()=>[L(c.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),I(Jp),L(c.$slots,"layout-bottom",{},void 0,!0)])):(p(),ee(f,{key:1}))}}});const e_=H(Zp,[["__scopeId","data-v-5211c0b1"]]),vs=e=>(Ge("data-v-95656537"),e=e(),Ye(),e),t_={class:"NotFound"},n_=vs(()=>v("p",{class:"code"},"404",-1)),s_=vs(()=>v("h1",{class:"title"},"PAGE NOT FOUND",-1)),o_=vs(()=>v("div",{class:"divider"},null,-1)),i_=vs(()=>v("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)),r_={class:"action"},l_=["href"],c_=R({__name:"NotFound",setup(e){const{site:t}=ue();return(n,s)=>(p(),x("div",t_,[n_,s_,o_,i_,v("div",r_,[v("a",{class:"link",href:g(t).base,"aria-label":"go to home"}," Take me home ",8,l_)])]))}});const a_=H(c_,[["__scopeId","data-v-95656537"]]);const Ut={Layout:e_,NotFound:a_,enhanceApp:({app:e})=>{e.component("Badge",Ma)}};function u_(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 l=f_(r);document.head.appendChild(l),n.push(l)})};At(()=>{const i=e.data,r=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[];document.title=Ir(r,i),document.querySelector("meta[name=description]").setAttribute("content",l||r.description),o(za(r.head,h_(c)))})}function f_([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 d_(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function h_(e){return e.filter(t=>!d_(t))}const As=new Set,Gr=()=>document.createElement("link"),p_=e=>{const t=Gr();t.rel="prefetch",t.href=e,document.head.appendChild(t)},__=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let Nn;const m_=Ee&&(Nn=Gr())&&Nn.relList&&Nn.relList.supports&&Nn.relList.supports("prefetch")?p_:__;function g_(){if(!Ee||!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 l=r.target;n.unobserve(l);const{pathname:c}=l;if(!As.has(c)){As.add(c);const a=Or(c);m_(a)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{target:r,hostname:l,pathname:c}=i,a=c.match(/\.\w+$/);a&&a[0]!==".html"||r!=="_blank"&&l===location.hostname&&(c!==location.pathname?n.observe(i):As.add(c))})})};Qe(s);const o=vt();nt(()=>o.path,s),Xt(()=>{n&&n.disconnect()})}const v_=R({setup(e,{slots:t}){const n=le(!1);return Qe(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function y_(){if(Ee){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 l="";i.querySelectorAll("span.line:not(.diff.remove)").forEach(c=>l+=(c.textContent||"")+`
|
|
`),l=l.slice(0,-1),r&&(l=l.replace(/^ *(\$|>) /gm,"").trim()),b_(l).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const c=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,c)})}})}}async function b_(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 x_(){Ee&&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'),l=(s=o==null?void 0:o.querySelectorAll('div[class*="language-"]'))==null?void 0:s[i];r&&l&&r!==l&&(r.classList.remove("active"),l.classList.add("active"))}})}const Yr=Ut.NotFound||(()=>"404 Not Found"),w_=R({name:"VitePressApp",setup(){const{site:e}=ue();return Qe(()=>{nt(()=>e.value.lang,t=>{document.documentElement.lang=t},{immediate:!0})}),g_(),y_(),x_(),Ut.setup&&Ut.setup(),()=>Gn(Ut.Layout)}});function k_(){const e=P_(),t=$_();t.provide(Br,e);const n=Ka(e.route);return t.provide(Nr,n),t.provide("NotFound",Yr),t.component("Content",Qa),t.component("ClientOnly",v_),Object.defineProperty(t.config.globalProperties,"$frontmatter",{get(){return n.frontmatter.value}}),Ut.enhanceApp&&Ut.enhanceApp({app:t,router:e,siteData:Gt}),{app:t,router:e,data:n}}function $_(){return Ta(w_)}function P_(){let e=Ee,t;return Ga(n=>{let s=Or(n);return e&&(t=s),(e||t===s)&&(s=s.replace(/\.js$/,".lean.js")),Ee&&(e=!1),Ar(()=>import(s),[])},Yr)}if(Ee){const{app:e,router:t,data:n}=k_();t.go().then(()=>{u_(t.route,n.site),e.mount("#app")})}export{H as _,Dc as a,v as b,x as c,k_ as createApp,Le as d,p as o};
|