From 36218375496580463c69bf19a54999d667ad4774 Mon Sep 17 00:00:00 2001 From: tada5hi Date: Sat, 25 Nov 2023 17:08:00 +0000 Subject: [PATCH] deploy: 6f91abb2dd2986cebae361645ca0f7770cb70830 --- 404.html | 4 ++-- assets/{app.2b87d298.js => app.7030986a.js} | 2 +- assets/chunks/framework.6ee49df6.js | 2 -- assets/chunks/framework.c93772cc.js | 2 ++ assets/chunks/{theme.0dd48c6f.js => theme.9c375a70.js} | 2 +- ...ide_cli.md.a311eac1.js => guide_cli.md.3efd2036.js} | 2 +- ....a311eac1.lean.js => guide_cli.md.3efd2036.lean.js} | 2 +- ....js => guide_database-api-reference.md.e1912050.js} | 2 +- ...> guide_database-api-reference.md.e1912050.lean.js} | 2 +- ...se.md.51a2d1ed.js => guide_database.md.4ba39689.js} | 2 +- ...d1ed.lean.js => guide_database.md.4ba39689.lean.js} | 2 +- ...s => guide_datasource-api-reference.md.e832c3c1.js} | 2 +- ...guide_datasource-api-reference.md.e832c3c1.lean.js} | 2 +- ...index.md.17d5ba2a.js => guide_index.md.1ab1e021.js} | 2 +- ...7d5ba2a.lean.js => guide_index.md.1ab1e021.lean.js} | 2 +- ...d.a2ffe9fe.js => guide_installation.md.89e7f204.js} | 2 +- ....lean.js => guide_installation.md.89e7f204.lean.js} | 2 +- ...s.md.9e030836.js => guide_instances.md.cebcc886.js} | 2 +- ...836.lean.js => guide_instances.md.cebcc886.lean.js} | 2 +- ...11ba.js => guide_migration-guide-v3.md.9dd79858.js} | 2 +- ...js => guide_migration-guide-v3.md.9dd79858.lean.js} | 2 +- ...73b.js => guide_query-api-reference.md.1a5c7d3d.js} | 2 +- ...s => guide_query-api-reference.md.1a5c7d3d.lean.js} | 2 +- ...query.md.6e1a0b15.js => guide_query.md.749f0051.js} | 2 +- ...e1a0b15.lean.js => guide_query.md.749f0051.lean.js} | 2 +- ...9.js => guide_seeding-api-reference.md.e7d03aa9.js} | 2 +- ...=> guide_seeding-api-reference.md.e7d03aa9.lean.js} | 2 +- ...ing.md.840318a8.js => guide_seeding.md.a90b4a9d.js} | 2 +- ...318a8.lean.js => guide_seeding.md.a90b4a9d.lean.js} | 2 +- assets/{index.md.2872b197.js => index.md.8714ca63.js} | 2 +- ...x.md.2872b197.lean.js => index.md.8714ca63.lean.js} | 2 +- guide/cli.html | 10 +++++----- guide/database-api-reference.html | 10 +++++----- guide/database.html | 10 +++++----- guide/datasource-api-reference.html | 10 +++++----- guide/index.html | 10 +++++----- guide/installation.html | 10 +++++----- guide/instances.html | 10 +++++----- guide/migration-guide-v3.html | 10 +++++----- guide/query-api-reference.html | 10 +++++----- guide/query.html | 10 +++++----- guide/seeding-api-reference.html | 10 +++++----- guide/seeding.html | 10 +++++----- hashmap.json | 2 +- index.html | 10 +++++----- 45 files changed, 98 insertions(+), 98 deletions(-) rename assets/{app.2b87d298.js => app.7030986a.js} (90%) delete mode 100644 assets/chunks/framework.6ee49df6.js create mode 100644 assets/chunks/framework.c93772cc.js rename assets/chunks/{theme.0dd48c6f.js => theme.9c375a70.js} (99%) rename assets/{guide_cli.md.a311eac1.js => guide_cli.md.3efd2036.js} (97%) rename assets/{guide_cli.md.a311eac1.lean.js => guide_cli.md.3efd2036.lean.js} (65%) rename assets/{guide_database-api-reference.md.06af7476.js => guide_database-api-reference.md.e1912050.js} (99%) rename assets/{guide_database-api-reference.md.06af7476.lean.js => guide_database-api-reference.md.e1912050.lean.js} (70%) rename assets/{guide_database.md.51a2d1ed.js => guide_database.md.4ba39689.js} (99%) rename assets/{guide_database.md.51a2d1ed.lean.js => guide_database.md.4ba39689.lean.js} (67%) rename assets/{guide_datasource-api-reference.md.0912902c.js => guide_datasource-api-reference.md.e832c3c1.js} (99%) rename assets/{guide_datasource-api-reference.md.0912902c.lean.js => guide_datasource-api-reference.md.e832c3c1.lean.js} (70%) rename assets/{guide_index.md.17d5ba2a.js => guide_index.md.1ab1e021.js} (93%) rename assets/{guide_index.md.17d5ba2a.lean.js => guide_index.md.1ab1e021.lean.js} (66%) rename assets/{guide_installation.md.a2ffe9fe.js => guide_installation.md.89e7f204.js} (91%) rename assets/{guide_installation.md.a2ffe9fe.lean.js => guide_installation.md.89e7f204.lean.js} (68%) rename assets/{guide_instances.md.9e030836.js => guide_instances.md.cebcc886.js} (98%) rename assets/{guide_instances.md.9e030836.lean.js => guide_instances.md.cebcc886.lean.js} (67%) rename assets/{guide_migration-guide-v3.md.28ab11ba.js => guide_migration-guide-v3.md.9dd79858.js} (96%) rename assets/{guide_migration-guide-v3.md.28ab11ba.lean.js => guide_migration-guide-v3.md.9dd79858.lean.js} (70%) rename assets/{guide_query-api-reference.md.54f6f73b.js => guide_query-api-reference.md.1a5c7d3d.js} (99%) rename assets/{guide_query-api-reference.md.54f6f73b.lean.js => guide_query-api-reference.md.1a5c7d3d.lean.js} (69%) rename assets/{guide_query.md.6e1a0b15.js => guide_query.md.749f0051.js} (99%) rename assets/{guide_query.md.6e1a0b15.lean.js => guide_query.md.749f0051.lean.js} (66%) rename assets/{guide_seeding-api-reference.md.63a647d9.js => guide_seeding-api-reference.md.e7d03aa9.js} (99%) rename assets/{guide_seeding-api-reference.md.63a647d9.lean.js => guide_seeding-api-reference.md.e7d03aa9.lean.js} (70%) rename assets/{guide_seeding.md.840318a8.js => guide_seeding.md.a90b4a9d.js} (99%) rename assets/{guide_seeding.md.840318a8.lean.js => guide_seeding.md.a90b4a9d.lean.js} (66%) rename assets/{index.md.2872b197.js => index.md.8714ca63.js} (89%) rename assets/{index.md.2872b197.lean.js => index.md.8714ca63.lean.js} (89%) diff --git a/404.html b/404.html index 30b8c408..aec900dd 100644 --- a/404.html +++ b/404.html @@ -7,14 +7,14 @@ - +
Skip to content

404

PAGE NOT FOUND

But if you don't change your direction, and if you keep looking, you may end up where you are heading.
- + \ No newline at end of file diff --git a/assets/app.2b87d298.js b/assets/app.7030986a.js similarity index 90% rename from assets/app.2b87d298.js rename to assets/app.7030986a.js index a374e776..48397ed8 100644 --- a/assets/app.2b87d298.js +++ b/assets/app.7030986a.js @@ -1 +1 @@ -import{s,Z as i,$ as u,a0 as c,a1 as l,a2 as d,a3 as f,a4 as m,a5 as h,a6 as A,a7 as g,a8 as P,d as v,u as y,j as C,y as w,a9 as _,aa as b,ab as E,ac as R}from"./chunks/framework.6ee49df6.js";import{t as D}from"./chunks/theme.0dd48c6f.js";function p(e){if(e.extends){const a=p(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const o=p(D),j=v({name:"VitePressApp",setup(){const{site:e}=y();return C(()=>{w(()=>{document.documentElement.lang=e.value.lang,document.documentElement.dir=e.value.dir})}),_(),b(),E(),o.setup&&o.setup(),()=>R(o.Layout)}});async function O(){const e=T(),a=S();a.provide(u,e);const t=c(e.route);return a.provide(l,t),a.component("Content",d),a.component("ClientOnly",f),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),o.enhanceApp&&await o.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function S(){return h(j)}function T(){let e=s,a;return A(t=>{let n=g(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=P(()=>import(n),[])),s&&(e=!1),r},o.NotFound)}s&&O().then(({app:e,router:a,data:t})=>{a.go().then(()=>{i(a.route,t.site),e.mount("#app")})});export{O as createApp}; +import{s,Z as i,$ as u,a0 as c,a1 as l,a2 as d,a3 as f,a4 as m,a5 as h,a6 as A,a7 as g,a8 as P,d as v,u as y,j as C,y as w,a9 as _,aa as b,ab as E,ac as R}from"./chunks/framework.c93772cc.js";import{t as D}from"./chunks/theme.9c375a70.js";function p(e){if(e.extends){const a=p(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const o=p(D),j=v({name:"VitePressApp",setup(){const{site:e}=y();return C(()=>{w(()=>{document.documentElement.lang=e.value.lang,document.documentElement.dir=e.value.dir})}),_(),b(),E(),o.setup&&o.setup(),()=>R(o.Layout)}});async function O(){const e=T(),a=S();a.provide(u,e);const t=c(e.route);return a.provide(l,t),a.component("Content",d),a.component("ClientOnly",f),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),o.enhanceApp&&await o.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function S(){return h(j)}function T(){let e=s,a;return A(t=>{let n=g(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=P(()=>import(n),[])),s&&(e=!1),r},o.NotFound)}s&&O().then(({app:e,router:a,data:t})=>{a.go().then(()=>{i(a.route,t.site),e.mount("#app")})});export{O as createApp}; diff --git a/assets/chunks/framework.6ee49df6.js b/assets/chunks/framework.6ee49df6.js deleted file mode 100644 index 3ac9022f..00000000 --- a/assets/chunks/framework.6ee49df6.js +++ /dev/null @@ -1,2 +0,0 @@ -function is(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const te={},pt=[],Oe=()=>{},Yi=()=>!1,Ji=/^on[^a-z]/,Ut=e=>Ji.test(e),os=e=>e.startsWith("onUpdate:"),ie=Object.assign,ls=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Xi=Object.prototype.hasOwnProperty,z=(e,t)=>Xi.call(e,t),j=Array.isArray,gt=e=>yn(e)==="[object Map]",Rr=e=>yn(e)==="[object Set]",K=e=>typeof e=="function",se=e=>typeof e=="string",cs=e=>typeof e=="symbol",ee=e=>e!==null&&typeof e=="object",Or=e=>(ee(e)||K(e))&&K(e.then)&&K(e.catch),Pr=Object.prototype.toString,yn=e=>Pr.call(e),Qi=e=>yn(e).slice(8,-1),Ir=e=>yn(e)==="[object Object]",as=e=>se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,It=is(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),_n=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Zi=/-(\w)/g,Le=_n(e=>e.replace(Zi,(t,n)=>n?n.toUpperCase():"")),Gi=/\B([A-Z])/g,at=_n(e=>e.replace(Gi,"-$1").toLowerCase()),bn=_n(e=>e.charAt(0).toUpperCase()+e.slice(1)),sn=_n(e=>e?`on${bn(e)}`:""),ct=(e,t)=>!Object.is(e,t),Nn=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},eo=e=>{const t=parseFloat(e);return isNaN(t)?e:t},to=e=>{const t=se(e)?Number(e):NaN;return isNaN(t)?e:t};let Ls;const Vn=()=>Ls||(Ls=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function us(e){if(j(e)){const t={};for(let n=0;n{if(n){const s=n.split(so);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function fs(e){let t="";if(se(e))t=e;else if(j(e))for(let n=0;nse(e)?e:e==null?"":j(e)||ee(e)&&(e.toString===Pr||!K(e.toString))?JSON.stringify(e,Mr,2):String(e),Mr=(e,t)=>t&&t.__v_isRef?Mr(e,t.value):gt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:Rr(t)?{[`Set(${t.size})`]:[...t.values()]}:ee(t)&&!j(t)&&!Ir(t)?String(t):t;let be;class co{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=be,!t&&be&&(this.index=(be.scopes||(be.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=be;try{return be=this,t()}finally{be=n}}}on(){be=this}off(){be=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Nr=e=>(e.w&Ye)>0,Hr=e=>(e.n&Ye)>0,fo=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(d==="length"||d>=c)&&l.push(u)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":j(e)?as(n)&&l.push(o.get("length")):(l.push(o.get(rt)),gt(e)&&l.push(o.get(zn)));break;case"delete":j(e)||(l.push(o.get(rt)),gt(e)&&l.push(o.get(zn)));break;case"set":gt(e)&&l.push(o.get(rt));break}if(l.length===1)l[0]&&Yn(l[0]);else{const c=[];for(const u of l)u&&c.push(...u);Yn(ds(c))}}function Yn(e,t){const n=j(e)?e:[...e];for(const s of n)s.computed&&Hs(s);for(const s of n)s.computed||Hs(s)}function Hs(e,t){(e!==Se||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function po(e,t){var n;return(n=cn.get(e))==null?void 0:n.get(t)}const go=is("__proto__,__v_isRef,__isVue"),Dr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(cs)),$s=mo();function mo(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=Y(this);for(let i=0,o=this.length;i{e[t]=function(...n){Et();const s=Y(this)[t].apply(this,n);return Tt(),s}}),e}function yo(e){const t=Y(this);return me(t,"has",e),t.hasOwnProperty(e)}class Br{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,s){const r=this._isReadonly,i=this._shallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw"&&s===(r?i?Po:Wr:i?Kr:Ur).get(t))return t;const o=j(t);if(!r){if(o&&z($s,n))return Reflect.get($s,n,s);if(n==="hasOwnProperty")return yo}const l=Reflect.get(t,n,s);return(cs(n)?Dr.has(n):go(n))||(r||me(t,"get",n),i)?l:le(l)?o&&as(n)?l:l.value:ee(l)?r?xn(l):wn(l):l}}class kr extends Br{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(vt(i)&&le(i)&&!le(s))return!1;if(!this._shallow&&(!an(s)&&!vt(s)&&(i=Y(i),s=Y(s)),!j(t)&&le(i)&&!le(s)))return i.value=s,!0;const o=j(t)&&as(n)?Number(n)e,vn=e=>Reflect.getPrototypeOf(e);function Vt(e,t,n=!1,s=!1){e=e.__v_raw;const r=Y(e),i=Y(t);n||(ct(t,i)&&me(r,"get",t),me(r,"get",i));const{has:o}=vn(r),l=s?ps:n?ys:Ht;if(o.call(r,t))return l(e.get(t));if(o.call(r,i))return l(e.get(i));e!==r&&e.get(t)}function qt(e,t=!1){const n=this.__v_raw,s=Y(n),r=Y(e);return t||(ct(e,r)&&me(s,"has",e),me(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function zt(e,t=!1){return e=e.__v_raw,!t&&me(Y(e),"iterate",rt),Reflect.get(e,"size",e)}function js(e){e=Y(e);const t=Y(this);return vn(t).has.call(t,e)||(t.add(e),$e(t,"add",e,e)),this}function Ds(e,t){t=Y(t);const n=Y(this),{has:s,get:r}=vn(n);let i=s.call(n,e);i||(e=Y(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?ct(t,o)&&$e(n,"set",e,t):$e(n,"add",e,t),this}function Bs(e){const t=Y(this),{has:n,get:s}=vn(t);let r=n.call(t,e);r||(e=Y(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&$e(t,"delete",e,void 0),i}function ks(){const e=Y(this),t=e.size!==0,n=e.clear();return t&&$e(e,"clear",void 0,void 0),n}function Yt(e,t){return function(s,r){const i=this,o=i.__v_raw,l=Y(o),c=t?ps:e?ys:Ht;return!e&&me(l,"iterate",rt),o.forEach((u,d)=>s.call(r,c(u),c(d),i))}}function Jt(e,t,n){return function(...s){const r=this.__v_raw,i=Y(r),o=gt(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,u=r[e](...s),d=n?ps:t?ys:Ht;return!t&&me(i,"iterate",c?zn:rt),{next(){const{value:h,done:b}=u.next();return b?{value:h,done:b}:{value:l?[d(h[0]),d(h[1])]:d(h),done:b}},[Symbol.iterator](){return this}}}}function De(e){return function(...t){return e==="delete"?!1:this}}function xo(){const e={get(i){return Vt(this,i)},get size(){return zt(this)},has:qt,add:js,set:Ds,delete:Bs,clear:ks,forEach:Yt(!1,!1)},t={get(i){return Vt(this,i,!1,!0)},get size(){return zt(this)},has:qt,add:js,set:Ds,delete:Bs,clear:ks,forEach:Yt(!1,!0)},n={get(i){return Vt(this,i,!0)},get size(){return zt(this,!0)},has(i){return qt.call(this,i,!0)},add:De("add"),set:De("set"),delete:De("delete"),clear:De("clear"),forEach:Yt(!0,!1)},s={get(i){return Vt(this,i,!0,!0)},get size(){return zt(this,!0)},has(i){return qt.call(this,i,!0)},add:De("add"),set:De("set"),delete:De("delete"),clear:De("clear"),forEach:Yt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Jt(i,!1,!1),n[i]=Jt(i,!0,!1),t[i]=Jt(i,!1,!0),s[i]=Jt(i,!0,!0)}),[e,n,t,s]}const[Co,Eo,To,Ao]=xo();function gs(e,t){const n=t?e?Ao:To:e?Eo:Co;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(z(n,r)&&r in s?n:s,r,i)}const So={get:gs(!1,!1)},Ro={get:gs(!1,!0)},Oo={get:gs(!0,!1)},Ur=new WeakMap,Kr=new WeakMap,Wr=new WeakMap,Po=new WeakMap;function Io(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Fo(e){return e.__v_skip||!Object.isExtensible(e)?0:Io(Qi(e))}function wn(e){return vt(e)?e:ms(e,!1,bo,So,Ur)}function Mo(e){return ms(e,!1,wo,Ro,Kr)}function xn(e){return ms(e,!0,vo,Oo,Wr)}function ms(e,t,n,s,r){if(!ee(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=Fo(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function mt(e){return vt(e)?mt(e.__v_raw):!!(e&&e.__v_isReactive)}function vt(e){return!!(e&&e.__v_isReadonly)}function an(e){return!!(e&&e.__v_isShallow)}function Vr(e){return mt(e)||vt(e)}function Y(e){const t=e&&e.__v_raw;return t?Y(t):e}function Ft(e){return ln(e,"__v_skip",!0),e}const Ht=e=>ee(e)?wn(e):e,ys=e=>ee(e)?xn(e):e;function _s(e){Ve&&Se&&(e=Y(e),jr(e.dep||(e.dep=ds())))}function bs(e,t){e=Y(e);const n=e.dep;n&&Yn(n)}function le(e){return!!(e&&e.__v_isRef===!0)}function ge(e){return zr(e,!1)}function qr(e){return zr(e,!0)}function zr(e,t){return le(e)?e:new Lo(e,t)}class Lo{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Y(t),this._value=n?t:Ht(t)}get value(){return _s(this),this._value}set value(t){const n=this.__v_isShallow||an(t)||vt(t);t=n?t:Y(t),ct(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Ht(t),bs(this))}}function Yr(e){return le(e)?e.value:e}const No={get:(e,t,n)=>Yr(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return le(r)&&!le(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Jr(e){return mt(e)?e:new Proxy(e,No)}class Ho{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>_s(this),()=>bs(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function $o(e){return new Ho(e)}class jo{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return po(Y(this._object),this._key)}}class Do{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Bo(e,t,n){return le(e)?e:K(e)?new Do(e):ee(e)&&arguments.length>1?ko(e,t,n):ge(e)}function ko(e,t,n){const s=e[t];return le(s)?s:new jo(e,t,n)}class Uo{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new hs(t,()=>{this._dirty||(this._dirty=!0,bs(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=Y(this);return _s(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Ko(e,t,n=!1){let s,r;const i=K(e);return i?(s=e,r=Oe):(s=e.get,r=e.set),new Uo(s,r,i||!r,n)}function qe(e,t,n,s){let r;try{r=s?e(...s):e()}catch(i){Cn(i,t,n)}return r}function Ee(e,t,n,s){if(K(e)){const i=qe(e,t,n,s);return i&&Or(i)&&i.catch(o=>{Cn(o,t,n)}),i}const r=[];for(let i=0;i>>1;jt(ue[s])Me&&ue.splice(t,1)}function zo(e){j(e)?yt.push(...e):(!He||!He.includes(e,e.allowRecurse?tt+1:tt))&&yt.push(e),Qr()}function Us(e,t=$t?Me+1:0){for(;tjt(n)-jt(s)),tt=0;tte.id==null?1/0:e.id,Yo=(e,t)=>{const n=jt(e)-jt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Zr(e){Jn=!1,$t=!0,ue.sort(Yo);const t=Oe;try{for(Me=0;Mese(A)?A.trim():A)),h&&(r=n.map(eo))}let l,c=s[l=sn(t)]||s[l=sn(Le(t))];!c&&i&&(c=s[l=sn(at(t))]),c&&Ee(c,e,6,r);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ee(u,e,6,r)}}function Gr(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!K(e)){const c=u=>{const d=Gr(u,t,!0);d&&(l=!0,ie(o,d))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ee(e)&&s.set(e,null),null):(j(i)?i.forEach(c=>o[c]=null):ie(o,i),ee(e)&&s.set(e,o),o)}function Tn(e,t){return!e||!Ut(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,at(t))||z(e,t))}let fe=null,An=null;function fn(e){const t=fe;return fe=e,An=e&&e.type.__scopeId||null,t}function _a(e){An=e}function ba(){An=null}function Xo(e,t=fe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&er(-1);const i=fn(t);let o;try{o=e(...r)}finally{fn(i),s._d&&er(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Hn(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:l,attrs:c,emit:u,render:d,renderCache:h,data:b,setupState:A,ctx:O,inheritAttrs:R}=e;let B,g;const w=fn(e);try{if(n.shapeFlag&4){const E=r||s;B=Ae(d.call(E,E,h,i,A,b,O)),g=c}else{const E=t;B=Ae(E.length>1?E(i,{attrs:c,slots:l,emit:u}):E(i,null)),g=t.props?c:Qo(c)}}catch(E){Nt.length=0,Cn(E,e,1),B=ae(ve)}let $=B;if(g&&R!==!1){const E=Object.keys(g),{shapeFlag:D}=$;E.length&&D&7&&(o&&E.some(os)&&(g=Zo(g,o)),$=Je($,g))}return n.dirs&&($=Je($),$.dirs=$.dirs?$.dirs.concat(n.dirs):n.dirs),n.transition&&($.transition=n.transition),B=$,fn(w),B}const Qo=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ut(n))&&((t||(t={}))[n]=e[n]);return t},Zo=(e,t)=>{const n={};for(const s in e)(!os(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Go(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Ks(s,o,u):!!o;if(c&8){const d=t.dynamicProps;for(let h=0;he.__isSuspense;function ei(e,t){t&&t.pendingBranch?j(e)?t.effects.push(...e):t.effects.push(e):zo(e)}function ti(e,t){return Sn(e,null,t)}function va(e,t){return Sn(e,null,{flush:"post"})}const Xt={};function ze(e,t,n){return Sn(e,t,n)}function Sn(e,t,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:o}=te){var l;const c=Lr()===((l=oe)==null?void 0:l.scope)?oe:null;let u,d=!1,h=!1;if(le(e)?(u=()=>e.value,d=an(e)):mt(e)?(u=()=>e,s=!0):j(e)?(h=!0,d=e.some(E=>mt(E)||an(E)),u=()=>e.map(E=>{if(le(E))return E.value;if(mt(E))return ht(E);if(K(E))return qe(E,c,2)})):K(e)?t?u=()=>qe(e,c,2):u=()=>{if(!(c&&c.isUnmounted))return b&&b(),Ee(e,c,3,[A])}:u=Oe,t&&s){const E=u;u=()=>ht(E())}let b,A=E=>{b=w.onStop=()=>{qe(E,c,4)}},O;if(Bt)if(A=Oe,t?n&&Ee(t,c,3,[u(),h?[]:void 0,A]):u(),r==="sync"){const E=Jl();O=E.__watcherHandles||(E.__watcherHandles=[])}else return Oe;let R=h?new Array(e.length).fill(Xt):Xt;const B=()=>{if(w.active)if(t){const E=w.run();(s||d||(h?E.some((D,q)=>ct(D,R[q])):ct(E,R)))&&(b&&b(),Ee(t,c,3,[E,R===Xt?void 0:h&&R[0]===Xt?[]:R,A]),R=E)}else w.run()};B.allowRecurse=!!t;let g;r==="sync"?g=B:r==="post"?g=()=>he(B,c&&c.suspense):(B.pre=!0,c&&(B.id=c.uid),g=()=>ws(B));const w=new hs(u,g);t?n?B():R=w.run():r==="post"?he(w.run.bind(w),c&&c.suspense):w.run();const $=()=>{w.stop(),c&&c.scope&&ls(c.scope.effects,w)};return O&&O.push($),$}function nl(e,t,n){const s=this.proxy,r=se(e)?e.includes(".")?ni(s,e):()=>s[e]:e.bind(s,s);let i;K(t)?i=t:(i=t.handler,n=t);const o=oe;xt(this);const l=Sn(r,i.bind(s),n);return o?xt(o):it(),l}function ni(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{ht(n,t)});else if(Ir(e))for(const n in e)ht(e[n],t);return e}function Fe(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o{e.isMounted=!0}),ci(()=>{e.isUnmounting=!0}),e}const we=[Function,Array],si={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:we,onEnter:we,onAfterEnter:we,onEnterCancelled:we,onBeforeLeave:we,onLeave:we,onAfterLeave:we,onLeaveCancelled:we,onBeforeAppear:we,onAppear:we,onAfterAppear:we,onAppearCancelled:we},rl={name:"BaseTransition",props:si,setup(e,{slots:t}){const n=Fn(),s=sl();let r;return()=>{const i=t.default&&ii(t.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const R of i)if(R.type!==ve){o=R;break}}const l=Y(e),{mode:c}=l;if(s.isLeaving)return $n(o);const u=Ws(o);if(!u)return $n(o);const d=Xn(u,l,s,n);Qn(u,d);const h=n.subTree,b=h&&Ws(h);let A=!1;const{getTransitionKey:O}=u.type;if(O){const R=O();r===void 0?r=R:R!==r&&(r=R,A=!0)}if(b&&b.type!==ve&&(!nt(u,b)||A)){const R=Xn(b,l,s,n);if(Qn(b,R),c==="out-in")return s.isLeaving=!0,R.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},$n(o);c==="in-out"&&u.type!==ve&&(R.delayLeave=(B,g,w)=>{const $=ri(s,b);$[String(b.key)]=b,B[Ke]=()=>{g(),B[Ke]=void 0,delete d.delayedLeave},d.delayedLeave=w})}return o}}},il=rl;function ri(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 Xn(e,t,n,s){const{appear:r,mode:i,persisted:o=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:h,onLeave:b,onAfterLeave:A,onLeaveCancelled:O,onBeforeAppear:R,onAppear:B,onAfterAppear:g,onAppearCancelled:w}=t,$=String(e.key),E=ri(n,e),D=(m,F)=>{m&&Ee(m,s,9,F)},q=(m,F)=>{const M=F[1];D(m,F),j(m)?m.every(J=>J.length<=1)&&M():m.length<=1&&M()},U={mode:i,persisted:o,beforeEnter(m){let F=l;if(!n.isMounted)if(r)F=R||l;else return;m[Ke]&&m[Ke](!0);const M=E[$];M&&nt(e,M)&&M.el[Ke]&&M.el[Ke](),D(F,[m])},enter(m){let F=c,M=u,J=d;if(!n.isMounted)if(r)F=B||c,M=g||u,J=w||d;else return;let P=!1;const W=m[Qt]=L=>{P||(P=!0,L?D(J,[m]):D(M,[m]),U.delayedLeave&&U.delayedLeave(),m[Qt]=void 0)};F?q(F,[m,W]):W()},leave(m,F){const M=String(e.key);if(m[Qt]&&m[Qt](!0),n.isUnmounting)return F();D(h,[m]);let J=!1;const P=m[Ke]=W=>{J||(J=!0,F(),W?D(O,[m]):D(A,[m]),m[Ke]=void 0,E[M]===e&&delete E[M])};E[M]=e,b?q(b,[m,P]):P()},clone(m){return Xn(m,t,n,s)}};return U}function $n(e){if(Rn(e))return e=Je(e),e.children=null,e}function Ws(e){return Rn(e)?e.children?e.children[0]:void 0:e}function Qn(e,t){e.shapeFlag&6&&e.component?Qn(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 ii(e,t=!1,n){let s=[],r=0;for(let i=0;i1)for(let i=0;iie({name:e.name},t,{setup:e}))():e}const _t=e=>!!e.type.__asyncLoader,Rn=e=>e.type.__isKeepAlive;function ol(e,t){li(e,"a",t)}function ll(e,t){li(e,"da",t)}function li(e,t,n=oe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(On(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Rn(r.parent.vnode)&&cl(s,t,n,r),r=r.parent}}function cl(e,t,n,s){const r=On(t,e,s,!0);Pn(()=>{ls(s[t],r)},n)}function On(e,t,n=oe,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Et(),xt(n);const l=Ee(t,n,e,o);return it(),Tt(),l});return s?r.unshift(i):r.push(i),i}}const je=e=>(t,n=oe)=>(!Bt||e==="sp")&&On(e,(...s)=>t(...s),n),al=je("bm"),At=je("m"),ul=je("bu"),fl=je("u"),ci=je("bum"),Pn=je("um"),dl=je("sp"),hl=je("rtg"),pl=je("rtc");function gl(e,t=oe){On("ec",e,t)}const xs="components";function wa(e,t){return ui(xs,e,!0,t)||e}const ai=Symbol.for("v-ndc");function xa(e){return se(e)?ui(xs,e,!1)||e:e||ai}function ui(e,t,n=!0,s=!1){const r=fe||oe;if(r){const i=r.type;if(e===xs){const l=ql(i,!1);if(l&&(l===t||l===Le(t)||l===bn(Le(t))))return i}const o=Vs(r[e]||i[e],t)||Vs(r.appContext[e],t);return!o&&s?i:o}}function Vs(e,t){return e&&(e[t]||e[Le(t)]||e[bn(Le(t))])}function Ca(e,t,n,s){let r;const i=n&&n[s];if(j(e)||se(e)){r=new Array(e.length);for(let o=0,l=e.length;ot(o,l,void 0,i&&i[l]));else{const o=Object.keys(e);r=new Array(o.length);for(let l=0,c=o.length;lgn(t)?!(t.type===ve||t.type===pe&&!fi(t.children)):!0)?e:null}function Ta(e,t){const n={};for(const s in e)n[t&&/[A-Z]/.test(s)?`on:${s}`:sn(s)]=e[s];return n}const Zn=e=>e?Ai(e)?Ss(e)||e.proxy:Zn(e.parent):null,Mt=ie(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Zn(e.parent),$root:e=>Zn(e.root),$emit:e=>e.emit,$options:e=>Cs(e),$forceUpdate:e=>e.f||(e.f=()=>ws(e.update)),$nextTick:e=>e.n||(e.n=En.bind(e.proxy)),$watch:e=>nl.bind(e)}),jn=(e,t)=>e!==te&&!e.__isScriptSetup&&z(e,t),ml={get({_:e},t){const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let u;if(t[0]!=="$"){const A=o[t];if(A!==void 0)switch(A){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(jn(s,t))return o[t]=1,s[t];if(r!==te&&z(r,t))return o[t]=2,r[t];if((u=e.propsOptions[0])&&z(u,t))return o[t]=3,i[t];if(n!==te&&z(n,t))return o[t]=4,n[t];Gn&&(o[t]=0)}}const d=Mt[t];let h,b;if(d)return t==="$attrs"&&me(e,"get",t),d(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==te&&z(n,t))return o[t]=4,n[t];if(b=c.config.globalProperties,z(b,t))return b[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return jn(r,t)?(r[t]=n,!0):s!==te&&z(s,t)?(s[t]=n,!0):z(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:r,propsOptions:i}},o){let l;return!!n[o]||e!==te&&z(e,o)||jn(t,o)||(l=i[0])&&z(l,o)||z(s,o)||z(Mt,o)||z(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Aa(){return yl().slots}function yl(){const e=Fn();return e.setupContext||(e.setupContext=Ri(e))}function qs(e){return j(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Gn=!0;function _l(e){const t=Cs(e),n=e.proxy,s=e.ctx;Gn=!1,t.beforeCreate&&zs(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:u,created:d,beforeMount:h,mounted:b,beforeUpdate:A,updated:O,activated:R,deactivated:B,beforeDestroy:g,beforeUnmount:w,destroyed:$,unmounted:E,render:D,renderTracked:q,renderTriggered:U,errorCaptured:m,serverPrefetch:F,expose:M,inheritAttrs:J,components:P,directives:W,filters:L}=t;if(u&&bl(u,s,null),o)for(const ne in o){const Z=o[ne];K(Z)&&(s[ne]=Z.bind(n))}if(r){const ne=r.call(n,n);ee(ne)&&(e.data=wn(ne))}if(Gn=!0,i)for(const ne in i){const Z=i[ne],Xe=K(Z)?Z.bind(n,n):K(Z.get)?Z.get.bind(n,n):Oe,Kt=!K(Z)&&K(Z.set)?Z.set.bind(n):Oe,Qe=ce({get:Xe,set:Kt});Object.defineProperty(s,ne,{enumerable:!0,configurable:!0,get:()=>Qe.value,set:Pe=>Qe.value=Pe})}if(l)for(const ne in l)di(l[ne],s,n,ne);if(c){const ne=K(c)?c.call(n):c;Reflect.ownKeys(ne).forEach(Z=>{Tl(Z,ne[Z])})}d&&zs(d,e,"c");function X(ne,Z){j(Z)?Z.forEach(Xe=>ne(Xe.bind(n))):Z&&ne(Z.bind(n))}if(X(al,h),X(At,b),X(ul,A),X(fl,O),X(ol,R),X(ll,B),X(gl,m),X(pl,q),X(hl,U),X(ci,w),X(Pn,E),X(dl,F),j(M))if(M.length){const ne=e.exposed||(e.exposed={});M.forEach(Z=>{Object.defineProperty(ne,Z,{get:()=>n[Z],set:Xe=>n[Z]=Xe})})}else e.exposed||(e.exposed={});D&&e.render===Oe&&(e.render=D),J!=null&&(e.inheritAttrs=J),P&&(e.components=P),W&&(e.directives=W)}function bl(e,t,n=Oe){j(e)&&(e=es(e));for(const s in e){const r=e[s];let i;ee(r)?"default"in r?i=bt(r.from||s,r.default,!0):i=bt(r.from||s):i=bt(r),le(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function zs(e,t,n){Ee(j(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function di(e,t,n,s){const r=s.includes(".")?ni(n,s):()=>n[s];if(se(e)){const i=t[e];K(i)&&ze(r,i)}else if(K(e))ze(r,e.bind(n));else if(ee(e))if(j(e))e.forEach(i=>di(i,t,n,s));else{const i=K(e.handler)?e.handler.bind(n):t[e.handler];K(i)&&ze(r,i,e)}}function Cs(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(u=>dn(c,u,o,!0)),dn(c,t,o)),ee(t)&&i.set(t,c),c}function dn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&dn(e,i,n,!0),r&&r.forEach(o=>dn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=vl[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const vl={data:Ys,props:Js,emits:Js,methods:Pt,computed:Pt,beforeCreate:de,created:de,beforeMount:de,mounted:de,beforeUpdate:de,updated:de,beforeDestroy:de,beforeUnmount:de,destroyed:de,unmounted:de,activated:de,deactivated:de,errorCaptured:de,serverPrefetch:de,components:Pt,directives:Pt,watch:xl,provide:Ys,inject:wl};function Ys(e,t){return t?e?function(){return ie(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function wl(e,t){return Pt(es(e),es(t))}function es(e){if(j(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(s&&s.proxy):t}}function Al(e,t,n,s=!1){const r={},i={};ln(i,In,1),e.propsDefaults=Object.create(null),pi(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Mo(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Sl(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=Y(r),[c]=e.propsOptions;let u=!1;if((s||o>0)&&!(o&16)){if(o&8){const d=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[b,A]=gi(h,t,!0);ie(o,b),A&&l.push(...A)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!c)return ee(e)&&s.set(e,pt),pt;if(j(i))for(let d=0;d-1,A[1]=R<0||O-1||z(A,"default"))&&l.push(h)}}}const u=[o,l];return ee(e)&&s.set(e,u),u}function Xs(e){return e[0]!=="$"}function Qs(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Zs(e,t){return Qs(e)===Qs(t)}function Gs(e,t){return j(t)?t.findIndex(n=>Zs(n,e)):K(t)&&Zs(t,e)?0:-1}const mi=e=>e[0]==="_"||e==="$stable",Es=e=>j(e)?e.map(Ae):[Ae(e)],Rl=(e,t,n)=>{if(t._n)return t;const s=Xo((...r)=>Es(t(...r)),n);return s._c=!1,s},yi=(e,t,n)=>{const s=e._ctx;for(const r in e){if(mi(r))continue;const i=e[r];if(K(i))t[r]=Rl(r,i,s);else if(i!=null){const o=Es(i);t[r]=()=>o}}},_i=(e,t)=>{const n=Es(t);e.slots.default=()=>n},Ol=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Y(t),ln(t,"_",n)):yi(t,e.slots={})}else e.slots={},t&&_i(e,t);ln(e.slots,In,1)},Pl=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=te;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(ie(r,t),!n&&l===1&&delete r._):(i=!t.$stable,yi(t,r)),o=t}else t&&(_i(e,t),o={default:1});if(i)for(const l in r)!mi(l)&&o[l]==null&&delete r[l]};function pn(e,t,n,s,r=!1){if(j(e)){e.forEach((b,A)=>pn(b,t&&(j(t)?t[A]:t),n,s,r));return}if(_t(s)&&!r)return;const i=s.shapeFlag&4?Ss(s.component)||s.component.proxy:s.el,o=r?null:i,{i:l,r:c}=e,u=t&&t.r,d=l.refs===te?l.refs={}:l.refs,h=l.setupState;if(u!=null&&u!==c&&(se(u)?(d[u]=null,z(h,u)&&(h[u]=null)):le(u)&&(u.value=null)),K(c))qe(c,l,12,[o,d]);else{const b=se(c),A=le(c);if(b||A){const O=()=>{if(e.f){const R=b?z(h,c)?h[c]:d[c]:c.value;r?j(R)&&ls(R,i):j(R)?R.includes(i)||R.push(i):b?(d[c]=[i],z(h,c)&&(h[c]=d[c])):(c.value=[i],e.k&&(d[e.k]=c.value))}else b?(d[c]=o,z(h,c)&&(h[c]=o)):A&&(c.value=o,e.k&&(d[e.k]=o))};o?(O.id=-1,he(O,n)):O()}}}let Be=!1;const Zt=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Gt=e=>e.nodeType===8;function Il(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:u}}=e,d=(g,w)=>{if(!w.hasChildNodes()){n(null,g,w),un(),w._vnode=g;return}Be=!1,h(w.firstChild,g,null,null,null),un(),w._vnode=g,Be&&console.error("Hydration completed but contains mismatches.")},h=(g,w,$,E,D,q=!1)=>{const U=Gt(g)&&g.data==="[",m=()=>R(g,w,$,E,D,U),{type:F,ref:M,shapeFlag:J,patchFlag:P}=w;let W=g.nodeType;w.el=g,P===-2&&(q=!1,w.dynamicChildren=null);let L=null;switch(F){case wt:W!==3?w.children===""?(c(w.el=r(""),o(g),g),L=g):L=m():(g.data!==w.children&&(Be=!0,g.data=w.children),L=i(g));break;case ve:W!==8||U?L=m():L=i(g);break;case Lt:if(U&&(g=i(g),W=g.nodeType),W===1||W===3){L=g;const ye=!w.children.length;for(let X=0;X{q=q||!!w.dynamicChildren;const{type:U,props:m,patchFlag:F,shapeFlag:M,dirs:J}=w,P=U==="input"&&J||U==="option";if(P||F!==-1){if(J&&Fe(w,null,$,"created"),m)if(P||!q||F&48)for(const L in m)(P&&L.endsWith("value")||Ut(L)&&!It(L))&&s(g,L,null,m[L],!1,void 0,$);else m.onClick&&s(g,"onClick",null,m.onClick,!1,void 0,$);let W;if((W=m&&m.onVnodeBeforeMount)&&xe(W,$,w),J&&Fe(w,null,$,"beforeMount"),((W=m&&m.onVnodeMounted)||J)&&ei(()=>{W&&xe(W,$,w),J&&Fe(w,null,$,"mounted")},E),M&16&&!(m&&(m.innerHTML||m.textContent))){let L=A(g.firstChild,w,g,$,E,D,q);for(;L;){Be=!0;const ye=L;L=L.nextSibling,l(ye)}}else M&8&&g.textContent!==w.children&&(Be=!0,g.textContent=w.children)}return g.nextSibling},A=(g,w,$,E,D,q,U)=>{U=U||!!w.dynamicChildren;const m=w.children,F=m.length;for(let M=0;M{const{slotScopeIds:U}=w;U&&(D=D?D.concat(U):U);const m=o(g),F=A(i(g),w,m,$,E,D,q);return F&&Gt(F)&&F.data==="]"?i(w.anchor=F):(Be=!0,c(w.anchor=u("]"),m,F),F)},R=(g,w,$,E,D,q)=>{if(Be=!0,w.el=null,q){const F=B(g);for(;;){const M=i(g);if(M&&M!==F)l(M);else break}}const U=i(g),m=o(g);return l(g),n(null,w,m,U,$,E,Zt(m),D),U},B=g=>{let w=0;for(;g;)if(g=i(g),g&&Gt(g)&&(g.data==="["&&w++,g.data==="]")){if(w===0)return i(g);w--}return g};return[d,h]}const he=ei;function Fl(e){return Ml(e,Il)}function Ml(e,t){const n=Vn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:u,setElementText:d,parentNode:h,nextSibling:b,setScopeId:A=Oe,insertStaticContent:O}=e,R=(a,f,p,_=null,y=null,C=null,S=!1,x=null,T=!!f.dynamicChildren)=>{if(a===f)return;a&&!nt(a,f)&&(_=Wt(a),Pe(a,y,C,!0),a=null),f.patchFlag===-2&&(T=!1,f.dynamicChildren=null);const{type:v,ref:N,shapeFlag:I}=f;switch(v){case wt:B(a,f,p,_);break;case ve:g(a,f,p,_);break;case Lt:a==null&&w(f,p,_,S);break;case pe:P(a,f,p,_,y,C,S,x,T);break;default:I&1?D(a,f,p,_,y,C,S,x,T):I&6?W(a,f,p,_,y,C,S,x,T):(I&64||I&128)&&v.process(a,f,p,_,y,C,S,x,T,ut)}N!=null&&y&&pn(N,a&&a.ref,C,f||a,!f)},B=(a,f,p,_)=>{if(a==null)s(f.el=l(f.children),p,_);else{const y=f.el=a.el;f.children!==a.children&&u(y,f.children)}},g=(a,f,p,_)=>{a==null?s(f.el=c(f.children||""),p,_):f.el=a.el},w=(a,f,p,_)=>{[a.el,a.anchor]=O(a.children,f,p,_,a.el,a.anchor)},$=({el:a,anchor:f},p,_)=>{let y;for(;a&&a!==f;)y=b(a),s(a,p,_),a=y;s(f,p,_)},E=({el:a,anchor:f})=>{let p;for(;a&&a!==f;)p=b(a),r(a),a=p;r(f)},D=(a,f,p,_,y,C,S,x,T)=>{S=S||f.type==="svg",a==null?q(f,p,_,y,C,S,x,T):F(a,f,y,C,S,x,T)},q=(a,f,p,_,y,C,S,x)=>{let T,v;const{type:N,props:I,shapeFlag:H,transition:k,dirs:V}=a;if(T=a.el=o(a.type,C,I&&I.is,I),H&8?d(T,a.children):H&16&&m(a.children,T,null,_,y,C&&N!=="foreignObject",S,x),V&&Fe(a,null,_,"created"),U(T,a,a.scopeId,S,_),I){for(const Q in I)Q!=="value"&&!It(Q)&&i(T,Q,null,I[Q],C,a.children,_,y,Ne);"value"in I&&i(T,"value",null,I.value),(v=I.onVnodeBeforeMount)&&xe(v,_,a)}V&&Fe(a,null,_,"beforeMount");const G=(!y||y&&!y.pendingBranch)&&k&&!k.persisted;G&&k.beforeEnter(T),s(T,f,p),((v=I&&I.onVnodeMounted)||G||V)&&he(()=>{v&&xe(v,_,a),G&&k.enter(T),V&&Fe(a,null,_,"mounted")},y)},U=(a,f,p,_,y)=>{if(p&&A(a,p),_)for(let C=0;C<_.length;C++)A(a,_[C]);if(y){let C=y.subTree;if(f===C){const S=y.vnode;U(a,S,S.scopeId,S.slotScopeIds,y.parent)}}},m=(a,f,p,_,y,C,S,x,T=0)=>{for(let v=T;v{const x=f.el=a.el;let{patchFlag:T,dynamicChildren:v,dirs:N}=f;T|=a.patchFlag&16;const I=a.props||te,H=f.props||te;let k;p&&Ze(p,!1),(k=H.onVnodeBeforeUpdate)&&xe(k,p,f,a),N&&Fe(f,a,p,"beforeUpdate"),p&&Ze(p,!0);const V=y&&f.type!=="foreignObject";if(v?M(a.dynamicChildren,v,x,p,_,V,C):S||Z(a,f,x,null,p,_,V,C,!1),T>0){if(T&16)J(x,f,I,H,p,_,y);else if(T&2&&I.class!==H.class&&i(x,"class",null,H.class,y),T&4&&i(x,"style",I.style,H.style,y),T&8){const G=f.dynamicProps;for(let Q=0;Q{k&&xe(k,p,f,a),N&&Fe(f,a,p,"updated")},_)},M=(a,f,p,_,y,C,S)=>{for(let x=0;x{if(p!==_){if(p!==te)for(const x in p)!It(x)&&!(x in _)&&i(a,x,p[x],null,S,f.children,y,C,Ne);for(const x in _){if(It(x))continue;const T=_[x],v=p[x];T!==v&&x!=="value"&&i(a,x,v,T,S,f.children,y,C,Ne)}"value"in _&&i(a,"value",p.value,_.value)}},P=(a,f,p,_,y,C,S,x,T)=>{const v=f.el=a?a.el:l(""),N=f.anchor=a?a.anchor:l("");let{patchFlag:I,dynamicChildren:H,slotScopeIds:k}=f;k&&(x=x?x.concat(k):k),a==null?(s(v,p,_),s(N,p,_),m(f.children,p,N,y,C,S,x,T)):I>0&&I&64&&H&&a.dynamicChildren?(M(a.dynamicChildren,H,p,y,C,S,x),(f.key!=null||y&&f===y.subTree)&&bi(a,f,!0)):Z(a,f,p,N,y,C,S,x,T)},W=(a,f,p,_,y,C,S,x,T)=>{f.slotScopeIds=x,a==null?f.shapeFlag&512?y.ctx.activate(f,p,_,S,T):L(f,p,_,y,C,S,T):ye(a,f,T)},L=(a,f,p,_,y,C,S)=>{const x=a.component=Ul(a,_,y);if(Rn(a)&&(x.ctx.renderer=ut),Kl(x),x.asyncDep){if(y&&y.registerDep(x,X),!a.el){const T=x.subTree=ae(ve);g(null,T,f,p)}return}X(x,a,f,p,y,C,S)},ye=(a,f,p)=>{const _=f.component=a.component;if(Go(a,f,p))if(_.asyncDep&&!_.asyncResolved){ne(_,f,p);return}else _.next=f,qo(_.update),_.update();else f.el=a.el,_.vnode=f},X=(a,f,p,_,y,C,S)=>{const x=()=>{if(a.isMounted){let{next:N,bu:I,u:H,parent:k,vnode:V}=a,G=N,Q;Ze(a,!1),N?(N.el=V.el,ne(a,N,S)):N=V,I&&Nn(I),(Q=N.props&&N.props.onVnodeBeforeUpdate)&&xe(Q,k,N,V),Ze(a,!0);const re=Hn(a),Te=a.subTree;a.subTree=re,R(Te,re,h(Te.el),Wt(Te),a,y,C),N.el=re.el,G===null&&el(a,re.el),H&&he(H,y),(Q=N.props&&N.props.onVnodeUpdated)&&he(()=>xe(Q,k,N,V),y)}else{let N;const{el:I,props:H}=f,{bm:k,m:V,parent:G}=a,Q=_t(f);if(Ze(a,!1),k&&Nn(k),!Q&&(N=H&&H.onVnodeBeforeMount)&&xe(N,G,f),Ze(a,!0),I&&Ln){const re=()=>{a.subTree=Hn(a),Ln(I,a.subTree,a,y,null)};Q?f.type.__asyncLoader().then(()=>!a.isUnmounted&&re()):re()}else{const re=a.subTree=Hn(a);R(null,re,p,_,a,y,C),f.el=re.el}if(V&&he(V,y),!Q&&(N=H&&H.onVnodeMounted)){const re=f;he(()=>xe(N,G,re),y)}(f.shapeFlag&256||G&&_t(G.vnode)&&G.vnode.shapeFlag&256)&&a.a&&he(a.a,y),a.isMounted=!0,f=p=_=null}},T=a.effect=new hs(x,()=>ws(v),a.scope),v=a.update=()=>T.run();v.id=a.uid,Ze(a,!0),v()},ne=(a,f,p)=>{f.component=a;const _=a.vnode.props;a.vnode=f,a.next=null,Sl(a,f.props,_,p),Pl(a,f.children,p),Et(),Us(),Tt()},Z=(a,f,p,_,y,C,S,x,T=!1)=>{const v=a&&a.children,N=a?a.shapeFlag:0,I=f.children,{patchFlag:H,shapeFlag:k}=f;if(H>0){if(H&128){Kt(v,I,p,_,y,C,S,x,T);return}else if(H&256){Xe(v,I,p,_,y,C,S,x,T);return}}k&8?(N&16&&Ne(v,y,C),I!==v&&d(p,I)):N&16?k&16?Kt(v,I,p,_,y,C,S,x,T):Ne(v,y,C,!0):(N&8&&d(p,""),k&16&&m(I,p,_,y,C,S,x,T))},Xe=(a,f,p,_,y,C,S,x,T)=>{a=a||pt,f=f||pt;const v=a.length,N=f.length,I=Math.min(v,N);let H;for(H=0;HN?Ne(a,y,C,!0,!1,I):m(f,p,_,y,C,S,x,T,I)},Kt=(a,f,p,_,y,C,S,x,T)=>{let v=0;const N=f.length;let I=a.length-1,H=N-1;for(;v<=I&&v<=H;){const k=a[v],V=f[v]=T?We(f[v]):Ae(f[v]);if(nt(k,V))R(k,V,p,null,y,C,S,x,T);else break;v++}for(;v<=I&&v<=H;){const k=a[I],V=f[H]=T?We(f[H]):Ae(f[H]);if(nt(k,V))R(k,V,p,null,y,C,S,x,T);else break;I--,H--}if(v>I){if(v<=H){const k=H+1,V=kH)for(;v<=I;)Pe(a[v],y,C,!0),v++;else{const k=v,V=v,G=new Map;for(v=V;v<=H;v++){const _e=f[v]=T?We(f[v]):Ae(f[v]);_e.key!=null&&G.set(_e.key,v)}let Q,re=0;const Te=H-V+1;let ft=!1,Is=0;const St=new Array(Te);for(v=0;v=Te){Pe(_e,y,C,!0);continue}let Ie;if(_e.key!=null)Ie=G.get(_e.key);else for(Q=V;Q<=H;Q++)if(St[Q-V]===0&&nt(_e,f[Q])){Ie=Q;break}Ie===void 0?Pe(_e,y,C,!0):(St[Ie-V]=v+1,Ie>=Is?Is=Ie:ft=!0,R(_e,f[Ie],p,null,y,C,S,x,T),re++)}const Fs=ft?Ll(St):pt;for(Q=Fs.length-1,v=Te-1;v>=0;v--){const _e=V+v,Ie=f[_e],Ms=_e+1{const{el:C,type:S,transition:x,children:T,shapeFlag:v}=a;if(v&6){Qe(a.component.subTree,f,p,_);return}if(v&128){a.suspense.move(f,p,_);return}if(v&64){S.move(a,f,p,ut);return}if(S===pe){s(C,f,p);for(let I=0;Ix.enter(C),y);else{const{leave:I,delayLeave:H,afterLeave:k}=x,V=()=>s(C,f,p),G=()=>{I(C,()=>{V(),k&&k()})};H?H(C,V,G):G()}else s(C,f,p)},Pe=(a,f,p,_=!1,y=!1)=>{const{type:C,props:S,ref:x,children:T,dynamicChildren:v,shapeFlag:N,patchFlag:I,dirs:H}=a;if(x!=null&&pn(x,null,p,a,!0),N&256){f.ctx.deactivate(a);return}const k=N&1&&H,V=!_t(a);let G;if(V&&(G=S&&S.onVnodeBeforeUnmount)&&xe(G,f,a),N&6)zi(a.component,p,_);else{if(N&128){a.suspense.unmount(p,_);return}k&&Fe(a,null,f,"beforeUnmount"),N&64?a.type.remove(a,f,p,y,ut,_):v&&(C!==pe||I>0&&I&64)?Ne(v,f,p,!1,!0):(C===pe&&I&384||!y&&N&16)&&Ne(T,f,p),_&&Os(a)}(V&&(G=S&&S.onVnodeUnmounted)||k)&&he(()=>{G&&xe(G,f,a),k&&Fe(a,null,f,"unmounted")},p)},Os=a=>{const{type:f,el:p,anchor:_,transition:y}=a;if(f===pe){qi(p,_);return}if(f===Lt){E(a);return}const C=()=>{r(p),y&&!y.persisted&&y.afterLeave&&y.afterLeave()};if(a.shapeFlag&1&&y&&!y.persisted){const{leave:S,delayLeave:x}=y,T=()=>S(p,C);x?x(a.el,C,T):T()}else C()},qi=(a,f)=>{let p;for(;a!==f;)p=b(a),r(a),a=p;r(f)},zi=(a,f,p)=>{const{bum:_,scope:y,update:C,subTree:S,um:x}=a;_&&Nn(_),y.stop(),C&&(C.active=!1,Pe(S,a,f,p)),x&&he(x,f),he(()=>{a.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&a.asyncDep&&!a.asyncResolved&&a.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve())},Ne=(a,f,p,_=!1,y=!1,C=0)=>{for(let S=C;Sa.shapeFlag&6?Wt(a.component.subTree):a.shapeFlag&128?a.suspense.next():b(a.anchor||a.el),Ps=(a,f,p)=>{a==null?f._vnode&&Pe(f._vnode,null,null,!0):R(f._vnode||null,a,f,null,null,null,p),Us(),un(),f._vnode=a},ut={p:R,um:Pe,m:Qe,r:Os,mt:L,mc:m,pc:Z,pbc:M,n:Wt,o:e};let Mn,Ln;return t&&([Mn,Ln]=t(ut)),{render:Ps,hydrate:Mn,createApp:El(Ps,Mn)}}function Ze({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function bi(e,t,n=!1){const s=e.children,r=t.children;if(j(s)&&j(r))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}const Nl=e=>e.__isTeleport,pe=Symbol.for("v-fgt"),wt=Symbol.for("v-txt"),ve=Symbol.for("v-cmt"),Lt=Symbol.for("v-stc"),Nt=[];let Re=null;function vi(e=!1){Nt.push(Re=e?null:[])}function Hl(){Nt.pop(),Re=Nt[Nt.length-1]||null}let Dt=1;function er(e){Dt+=e}function wi(e){return e.dynamicChildren=Dt>0?Re||pt:null,Hl(),Dt>0&&Re&&Re.push(e),e}function Sa(e,t,n,s,r,i){return wi(Ei(e,t,n,s,r,i,!0))}function xi(e,t,n,s,r){return wi(ae(e,t,n,s,r,!0))}function gn(e){return e?e.__v_isVNode===!0:!1}function nt(e,t){return e.type===t.type&&e.key===t.key}const In="__vInternal",Ci=({key:e})=>e??null,rn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?se(e)||le(e)||K(e)?{i:fe,r:e,k:t,f:!!n}:e:null);function Ei(e,t=null,n=null,s=0,r=null,i=e===pe?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ci(t),ref:t&&rn(t),scopeId:An,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:r,dynamicChildren:null,appContext:null,ctx:fe};return l?(Ts(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=se(n)?8:16),Dt>0&&!o&&Re&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Re.push(c),c}const ae=$l;function $l(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===ai)&&(e=ve),gn(e)){const l=Je(e,t,!0);return n&&Ts(l,n),Dt>0&&!i&&Re&&(l.shapeFlag&6?Re[Re.indexOf(e)]=l:Re.push(l)),l.patchFlag|=-2,l}if(zl(e)&&(e=e.__vccOpts),t){t=jl(t);let{class:l,style:c}=t;l&&!se(l)&&(t.class=fs(l)),ee(c)&&(Vr(c)&&!j(c)&&(c=ie({},c)),t.style=us(c))}const o=se(e)?1:tl(e)?128:Nl(e)?64:ee(e)?4:K(e)?2:0;return Ei(e,t,n,s,r,o,i,!0)}function jl(e){return e?Vr(e)||In in e?ie({},e):e:null}function Je(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,l=t?Dl(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Ci(l),ref:t&&t.ref?n&&r?j(r)?r.concat(rn(t)):[r,rn(t)]:rn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==pe?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&&Je(e.ssContent),ssFallback:e.ssFallback&&Je(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ti(e=" ",t=0){return ae(wt,null,e,t)}function Ra(e,t){const n=ae(Lt,null,e);return n.staticCount=t,n}function Oa(e="",t=!1){return t?(vi(),xi(ve,null,e)):ae(ve,null,e)}function Ae(e){return e==null||typeof e=="boolean"?ae(ve):j(e)?ae(pe,null,e.slice()):typeof e=="object"?We(e):ae(wt,null,String(e))}function We(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Je(e)}function Ts(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(j(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Ts(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(In in t)?t._ctx=fe:r===3&&fe&&(fe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:fe},n=32):(t=String(t),s&64?(n=16,t=[Ti(t)]):n=8);e.children=t,e.shapeFlag|=n}function Dl(...e){const t={};for(let n=0;noe||fe;let As,dt,tr="__VUE_INSTANCE_SETTERS__";(dt=Vn()[tr])||(dt=Vn()[tr]=[]),dt.push(e=>oe=e),As=e=>{dt.length>1?dt.forEach(t=>t(e)):dt[0](e)};const xt=e=>{As(e),e.scope.on()},it=()=>{oe&&oe.scope.off(),As(null)};function Ai(e){return e.vnode.shapeFlag&4}let Bt=!1;function Kl(e,t=!1){Bt=t;const{props:n,children:s}=e.vnode,r=Ai(e);Al(e,n,r,t),Ol(e,s);const i=r?Wl(e,t):void 0;return Bt=!1,i}function Wl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ft(new Proxy(e.ctx,ml));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Ri(e):null;xt(e),Et();const i=qe(s,e,0,[e.props,r]);if(Tt(),it(),Or(i)){if(i.then(it,it),t)return i.then(o=>{nr(e,o,t)}).catch(o=>{Cn(o,e,0)});e.asyncDep=i}else nr(e,i,t)}else Si(e,t)}function nr(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ee(t)&&(e.setupState=Jr(t)),Si(e,n)}let sr;function Si(e,t,n){const s=e.type;if(!e.render){if(!t&&sr&&!s.render){const r=s.template||Cs(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,u=ie(ie({isCustomElement:i,delimiters:l},o),c);s.render=sr(r,u)}}e.render=s.render||Oe}{xt(e),Et();try{_l(e)}finally{Tt(),it()}}}function Vl(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return me(e,"get","$attrs"),t[n]}}))}function Ri(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Vl(e)},slots:e.slots,emit:e.emit,expose:t}}function Ss(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Jr(Ft(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Mt)return Mt[n](e)},has(t,n){return n in t||n in Mt}}))}function ql(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function zl(e){return K(e)&&"__vccOpts"in e}const ce=(e,t)=>Ko(e,t,Bt);function ns(e,t,n){const s=arguments.length;return s===2?ee(t)&&!j(t)?gn(t)?ae(e,null,[t]):ae(e,t):ae(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&gn(n)&&(n=[n]),ae(e,t,n))}const Yl=Symbol.for("v-scx"),Jl=()=>bt(Yl),Xl="3.3.6",Ql="http://www.w3.org/2000/svg",st=typeof document<"u"?document:null,rr=st&&st.createElement("template"),Zl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?st.createElementNS(Ql,e):st.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>st.createTextNode(e),createComment:e=>st.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>st.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{rr.innerHTML=s?`${e}`:e;const l=rr.content;if(s){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ke="transition",Rt="animation",kt=Symbol("_vtc"),Oi=(e,{slots:t})=>ns(il,Gl(e),t);Oi.displayName="Transition";const Pi={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};Oi.props=ie({},si,Pi);const Ge=(e,t=[])=>{j(e)?e.forEach(n=>n(...t)):e&&e(...t)},ir=e=>e?j(e)?e.some(t=>t.length>1):e.length>1:!1;function Gl(e){const t={};for(const P in e)P in Pi||(t[P]=e[P]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=o,appearToClass:d=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:b=`${n}-leave-active`,leaveToClass:A=`${n}-leave-to`}=e,O=ec(r),R=O&&O[0],B=O&&O[1],{onBeforeEnter:g,onEnter:w,onEnterCancelled:$,onLeave:E,onLeaveCancelled:D,onBeforeAppear:q=g,onAppear:U=w,onAppearCancelled:m=$}=t,F=(P,W,L)=>{et(P,W?d:l),et(P,W?u:o),L&&L()},M=(P,W)=>{P._isLeaving=!1,et(P,h),et(P,A),et(P,b),W&&W()},J=P=>(W,L)=>{const ye=P?U:w,X=()=>F(W,P,L);Ge(ye,[W,X]),or(()=>{et(W,P?c:i),Ue(W,P?d:l),ir(ye)||lr(W,s,R,X)})};return ie(t,{onBeforeEnter(P){Ge(g,[P]),Ue(P,i),Ue(P,o)},onBeforeAppear(P){Ge(q,[P]),Ue(P,c),Ue(P,u)},onEnter:J(!1),onAppear:J(!0),onLeave(P,W){P._isLeaving=!0;const L=()=>M(P,W);Ue(P,h),sc(),Ue(P,b),or(()=>{P._isLeaving&&(et(P,h),Ue(P,A),ir(E)||lr(P,s,B,L))}),Ge(E,[P,L])},onEnterCancelled(P){F(P,!1),Ge($,[P])},onAppearCancelled(P){F(P,!0),Ge(m,[P])},onLeaveCancelled(P){M(P),Ge(D,[P])}})}function ec(e){if(e==null)return null;if(ee(e))return[Dn(e.enter),Dn(e.leave)];{const t=Dn(e);return[t,t]}}function Dn(e){return to(e)}function Ue(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[kt]||(e[kt]=new Set)).add(t)}function et(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[kt];n&&(n.delete(t),n.size||(e[kt]=void 0))}function or(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let tc=0;function lr(e,t,n,s){const r=e._endId=++tc,i=()=>{r===e._endId&&s()};if(n)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=nc(e,t);if(!o)return s();const u=o+"end";let d=0;const h=()=>{e.removeEventListener(u,b),i()},b=A=>{A.target===e&&++d>=c&&h()};setTimeout(()=>{d(n[O]||"").split(", "),r=s(`${ke}Delay`),i=s(`${ke}Duration`),o=cr(r,i),l=s(`${Rt}Delay`),c=s(`${Rt}Duration`),u=cr(l,c);let d=null,h=0,b=0;t===ke?o>0&&(d=ke,h=o,b=i.length):t===Rt?u>0&&(d=Rt,h=u,b=c.length):(h=Math.max(o,u),d=h>0?o>u?ke:Rt:null,b=d?d===ke?i.length:c.length:0);const A=d===ke&&/\b(transform|all)(,|$)/.test(s(`${ke}Property`).toString());return{type:d,timeout:h,propCount:b,hasTransform:A}}function cr(e,t){for(;e.lengthar(n)+ar(e[s])))}function ar(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function sc(){return document.body.offsetHeight}function rc(e,t,n){const s=e[kt];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ic=Symbol("_vod");function oc(e,t,n){const s=e.style,r=se(n);if(n&&!r){if(t&&!se(t))for(const i in t)n[i]==null&&ss(s,i,"");for(const i in n)ss(s,i,n[i])}else{const i=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),ic in e&&(s.display=i)}}const ur=/\s*!important$/;function ss(e,t,n){if(j(n))n.forEach(s=>ss(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=lc(e,t);ur.test(n)?e.setProperty(at(s),n.replace(ur,""),"important"):e[s]=n}}const fr=["Webkit","Moz","ms"],Bn={};function lc(e,t){const n=Bn[t];if(n)return n;let s=Le(t);if(s!=="filter"&&s in e)return Bn[t]=s;s=bn(s);for(let r=0;rkn||(pc.then(()=>kn=0),kn=Date.now());function mc(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ee(yc(s,n.value),t,5,[s])};return n.value=e,n.attached=gc(),n}function yc(e,t){if(j(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const gr=/^on[a-z]/,_c=(e,t,n,s,r=!1,i,o,l,c)=>{t==="class"?rc(e,s,r):t==="style"?oc(e,n,s):Ut(t)?os(t)||dc(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):bc(e,t,s,r))?ac(e,t,s,i,o,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),cc(e,t,s,r))};function bc(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&gr.test(t)&&K(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||gr.test(t)&&se(n)?!1:t in e}const vc=["ctrl","shift","alt","meta"],wc={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)=>vc.some(n=>e[`${n}Key`]&&!t.includes(n))},Pa=(e,t)=>(n,...s)=>{for(let r=0;rn=>{if(!("key"in n))return;const s=at(n.key);if(t.some(r=>r===s||xc[r]===s))return e(n)},Cc=ie({patchProp:_c},Zl);let Un,mr=!1;function Ec(){return Un=mr?Un:Fl(Cc),mr=!0,Un}const Fa=(...e)=>{const t=Ec().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Tc(s);if(r)return n(r,!0,r instanceof SVGElement)},t};function Tc(e){return se(e)?document.querySelector(e):e}const Ma=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Ac="modulepreload",Sc=function(e){return"/"+e},yr={},La=function(t,n,s){if(!n||n.length===0)return t();const r=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=Sc(i),i in yr)return;yr[i]=!0;const o=i.endsWith(".css"),l=o?'[rel="stylesheet"]':"";if(!!s)for(let d=r.length-1;d>=0;d--){const h=r[d];if(h.href===i&&(!o||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${l}`))return;const u=document.createElement("link");if(u.rel=o?"stylesheet":Ac,o||(u.as="script",u.crossOrigin=""),u.href=i,document.head.appendChild(u),o)return new Promise((d,h)=>{u.addEventListener("load",d),u.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t()).catch(i=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=i,window.dispatchEvent(o),!o.defaultPrevented)throw i})},Rc=window.__VP_SITE_DATA__;function Rs(e){return Lr()?(uo(e),!0):!1}function ot(e){return typeof e=="function"?e():Yr(e)}const Ii=typeof window<"u"&&typeof document<"u",Oc=Object.prototype.toString,Pc=e=>Oc.call(e)==="[object Object]",Fi=()=>{},_r=Ic();function Ic(){var e;return Ii&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function Fc(e,t){function n(...s){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(i)})}return n}const Mi=e=>e();function Mc(e=Mi){const t=ge(!0);function n(){t.value=!1}function s(){t.value=!0}const r=(...i)=>{t.value&&e(...i)};return{isActive:xn(t),pause:n,resume:s,eventFilter:r}}function Li(...e){if(e.length!==1)return Bo(...e);const t=e[0];return typeof t=="function"?xn($o(()=>({get:t,set:Fi}))):ge(t)}function Lc(e,t,n={}){const{eventFilter:s=Mi,...r}=n;return ze(e,Fc(s,t),r)}function Nc(e,t,n={}){const{eventFilter:s,...r}=n,{eventFilter:i,pause:o,resume:l,isActive:c}=Mc(s);return{stop:Lc(e,t,{...r,eventFilter:i}),pause:o,resume:l,isActive:c}}function Hc(e,t=!0){Fn()?At(e):t?e():En(e)}function Ni(e){var t;const n=ot(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Ct=Ii?window:void 0;function mn(...e){let t,n,s,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,r]=e,t=Ct):[t,n,s,r]=e,!t)return Fi;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const i=[],o=()=>{i.forEach(d=>d()),i.length=0},l=(d,h,b,A)=>(d.addEventListener(h,b,A),()=>d.removeEventListener(h,b,A)),c=ze(()=>[Ni(t),ot(r)],([d,h])=>{if(o(),!d)return;const b=Pc(h)?{...h}:h;i.push(...n.flatMap(A=>s.map(O=>l(d,A,O,b))))},{immediate:!0,flush:"post"}),u=()=>{c(),o()};return Rs(u),u}function $c(){const e=ge(!1);return Fn()&&At(()=>{e.value=!0}),e}function jc(e){const t=$c();return ce(()=>(t.value,!!e()))}function Dc(e,t={}){const{window:n=Ct}=t,s=jc(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const i=ge(!1),o=u=>{i.value=u.matches},l=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",o):r.removeListener(o))},c=ti(()=>{s.value&&(l(),r=n.matchMedia(ot(e)),"addEventListener"in r?r.addEventListener("change",o):r.addListener(o),i.value=r.matches)});return Rs(()=>{c(),l(),r=void 0}),i}const en=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},tn="__vueuse_ssr_handlers__",Bc=kc();function kc(){return tn in en||(en[tn]=en[tn]||{}),en[tn]}function Hi(e,t){return Bc[e]||t}function Uc(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Kc={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},br="vueuse-storage";function Wc(e,t,n,s={}){var r;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:u=!1,shallow:d,window:h=Ct,eventFilter:b,onError:A=m=>{console.error(m)}}=s,O=(d?qr:ge)(t);if(!n)try{n=Hi("getDefaultStorage",()=>{var m;return(m=Ct)==null?void 0:m.localStorage})()}catch(m){A(m)}if(!n)return O;const R=ot(t),B=Uc(R),g=(r=s.serializer)!=null?r:Kc[B],{pause:w,resume:$}=Nc(O,()=>E(O.value),{flush:i,deep:o,eventFilter:b});return h&&l&&(mn(h,"storage",U),mn(h,br,q)),U(),O;function E(m){try{if(m==null)n.removeItem(e);else{const F=g.write(m),M=n.getItem(e);M!==F&&(n.setItem(e,F),h&&h.dispatchEvent(new CustomEvent(br,{detail:{key:e,oldValue:M,newValue:F,storageArea:n}})))}}catch(F){A(F)}}function D(m){const F=m?m.newValue:n.getItem(e);if(F==null)return c&&R!==null&&n.setItem(e,g.write(R)),R;if(!m&&u){const M=g.read(F);return typeof u=="function"?u(M,R):B==="object"&&!Array.isArray(M)?{...R,...M}:M}else return typeof F!="string"?F:g.read(F)}function q(m){U(m.detail)}function U(m){if(!(m&&m.storageArea!==n)){if(m&&m.key==null){O.value=R;return}if(!(m&&m.key!==e)){w();try{(m==null?void 0:m.newValue)!==g.write(O.value)&&(O.value=D(m))}catch(F){A(F)}finally{m?En($):$()}}}}}function Vc(e){return Dc("(prefers-color-scheme: dark)",e)}function qc(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=Ct,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:u,disableTransition:d=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},b=Vc({window:r}),A=ce(()=>b.value?"dark":"light"),O=c||(o==null?Li(s):Wc(o,s,i,{window:r,listenToStorageChanges:l})),R=ce(()=>O.value==="auto"?A.value:O.value),B=Hi("updateHTMLAttrs",(E,D,q)=>{const U=typeof E=="string"?r==null?void 0:r.document.querySelector(E):Ni(E);if(!U)return;let m;if(d){m=r.document.createElement("style");const F="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";m.appendChild(document.createTextNode(F)),r.document.head.appendChild(m)}if(D==="class"){const F=q.split(/\s/g);Object.values(h).flatMap(M=>(M||"").split(/\s/g)).filter(Boolean).forEach(M=>{F.includes(M)?U.classList.add(M):U.classList.remove(M)})}else U.setAttribute(D,q);d&&(r.getComputedStyle(m).opacity,document.head.removeChild(m))});function g(E){var D;B(t,n,(D=h[E])!=null?D:E)}function w(E){e.onChanged?e.onChanged(E,g):g(E)}ze(R,w,{flush:"post",immediate:!0}),Hc(()=>w(R.value));const $=ce({get(){return u?O.value:R.value},set(E){O.value=E}});try{return Object.assign($,{store:O,system:A,state:R})}catch{return $}}function zc(e={}){const{valueDark:t="dark",valueLight:n=""}=e,s=qc({...e,onChanged:(i,o)=>{var l;e.onChanged?(l=e.onChanged)==null||l.call(e,i==="dark",o,i):o(i)},modes:{dark:t,light:n}});return ce({get(){return s.value==="dark"},set(i){const o=i?"dark":"light";s.system.value===o?s.value="auto":s.value=o}})}function Kn(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function $i(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}function Na(e,t=!1){const n=ge(t);let s=null,r;ze(Li(e),l=>{const c=Kn(ot(l));if(c){const u=c;r=u.style.overflow,n.value&&(u.style.overflow="hidden")}},{immediate:!0});const i=()=>{const l=Kn(ot(e));!l||n.value||(_r&&(s=mn(l,"touchmove",c=>{Yc(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},o=()=>{const l=Kn(ot(e));!l||!n.value||(_r&&(s==null||s()),l.style.overflow=r,n.value=!1)};return Rs(o),ce({get(){return n.value},set(l){l?i():o()}})}function Ha(e={}){const{window:t=Ct}=e;if(!t)return{x:ge(0),y:ge(0)};const n=ge(t.scrollX),s=ge(t.scrollY);return mn(t,"scroll",()=>{n.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:n,y:s}}const ji=/^[a-z]+:/i,Jc="vitepress-theme-appearance",Di=/#.*$/,Xc=/(index)?\.(md|html)$/,Ce=typeof document<"u",Bi={relativePath:"",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function Qc(e,t,n=!1){if(t===void 0)return!1;if(e=vr(`/${e}`),n)return new RegExp(t).test(e);if(vr(t)!==e)return!1;const s=t.match(Di);return s?(Ce?location.hash:"")===s[0]:!0}function vr(e){return decodeURI(e).replace(Di,"").replace(Xc,"")}function Zc(e){return ji.test(e)}function Gc(e,t){var s,r,i,o,l,c,u;const n=Object.keys(e.locales).find(d=>d!=="root"&&!Zc(d)&&Qc(t,`/${d}/`,!0))||"root";return Object.assign({},e,{localeIndex:n,lang:((s=e.locales[n])==null?void 0:s.lang)??e.lang,dir:((r=e.locales[n])==null?void 0:r.dir)??e.dir,title:((i=e.locales[n])==null?void 0:i.title)??e.title,titleTemplate:((o=e.locales[n])==null?void 0:o.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:Ui(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(u=e.locales[n])==null?void 0:u.themeConfig}})}function ki(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 r=ea(e.title,s);return`${n}${r}`}function ea(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function ta(e,t){const[n,s]=t;if(n!=="meta")return!1;const r=Object.entries(s)[0];return r==null?!1:e.some(([i,o])=>i===n&&o[r[0]]===r[1])}function Ui(e,t){return[...e.filter(n=>!ta(t,n)),...t]}const na=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,sa=/^[a-z]:/i;function wr(e){const t=sa.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(na,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const ra=Symbol(),lt=qr(Rc);function $a(e){const t=ce(()=>Gc(lt.value,e.data.relativePath)),n=t.value.appearance,s=n==="force-dark"?ge(!0):n?zc({storageKey:Jc,initialValue:()=>typeof n=="string"?n:"auto",...typeof n=="object"?n:{}}):ge(!1);return{site:t,theme:ce(()=>t.value.themeConfig),page:ce(()=>e.data),frontmatter:ce(()=>e.data.frontmatter),params:ce(()=>e.data.params),lang:ce(()=>t.value.lang),dir:ce(()=>t.value.dir),localeIndex:ce(()=>t.value.localeIndex||"root"),title:ce(()=>ki(t.value,e.data)),description:ce(()=>e.data.description||t.value.description),isDark:s}}function ia(){const e=bt(ra);if(!e)throw new Error("vitepress data not properly injected in app");return e}function oa(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function xr(e){return ji.test(e)||!e.startsWith("/")?e:oa(lt.value.base,e)}function la(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),Ce){const n="/";t=wr(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let s=__VP_HASH_MAP__[t.toLowerCase()];if(s||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",s=__VP_HASH_MAP__[t.toLowerCase()]),!s)return null;t=`${n}assets/${t}.${s}.js`}else t=`./${wr(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let on=[];function ja(e){on.push(e),Pn(()=>{on=on.filter(t=>t!==e)})}const ca=Symbol(),Ki="http://a.com",aa=()=>({path:"/",component:null,data:Bi});function Da(e,t){const n=wn(aa()),s={route:n,go:r};async function r(l=Ce?location.href:"/"){var c,u;l=rs(l),await((c=s.onBeforeRouteChange)==null?void 0:c.call(s,l))!==!1&&(Tr(l),await o(l),await((u=s.onAfterRouteChanged)==null?void 0:u.call(s,l)))}let i=null;async function o(l,c=0,u=!1){var b;if(await((b=s.onBeforePageLoad)==null?void 0:b.call(s,l))===!1)return;const d=new URL(l,Ki),h=i=d.pathname;try{let A=await e(h);if(!A)throw new Error(`Page not found: ${h}`);if(i===h){i=null;const{default:O,__pageData:R}=A;if(!O)throw new Error(`Invalid route component: ${O}`);n.path=Ce?h:xr(h),n.component=Ft(O),n.data=Ft(R),Ce&&En(()=>{let B=lt.value.base+R.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!lt.value.cleanUrls&&!B.endsWith("/")&&(B+=".html"),B!==d.pathname&&(d.pathname=B,l=B+d.search+d.hash,history.replaceState(null,"",l)),d.hash&&!c){let g=null;try{g=document.getElementById(decodeURIComponent(d.hash).slice(1))}catch(w){console.warn(w)}if(g){Cr(g,d.hash);return}}window.scrollTo(0,c)})}}catch(A){if(!/fetch|Page not found/.test(A.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(A),!u)try{const O=await fetch(lt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await O.json(),await o(l,c,!0);return}catch{}i===h&&(i=null,n.path=Ce?h:xr(h),n.component=t?Ft(t):null,n.data=Bi)}}return Ce&&(window.addEventListener("click",l=>{if(l.target.closest("button"))return;const u=l.target.closest("a");if(u&&!u.closest(".vp-raw")&&(u instanceof SVGElement||!u.download)){const{target:d}=u,{href:h,origin:b,pathname:A,hash:O,search:R}=new URL(u.href instanceof SVGAnimatedString?u.href.animVal:u.href,u.baseURI),B=window.location,g=A.match(/\.\w+$/);!l.ctrlKey&&!l.shiftKey&&!l.altKey&&!l.metaKey&&!d&&b===B.origin&&!(g&&g[0]!==".html")&&(l.preventDefault(),A===B.pathname&&R===B.search?(O!==B.hash&&(history.pushState(null,"",O),window.dispatchEvent(new Event("hashchange"))),O?Cr(u,O,u.classList.contains("header-anchor")):(Tr(h),window.scrollTo(0,0))):r(h))}},{capture:!0}),window.addEventListener("popstate",l=>{o(rs(location.href),l.state&&l.state.scrollPosition||0)}),window.addEventListener("hashchange",l=>{l.preventDefault()})),s}function ua(){const e=bt(ca);if(!e)throw new Error("useRouter() is called without provider.");return e}function Wi(){return ua().route}function Cr(e,t,n=!1){let s=null;try{s=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(r){console.warn(r)}if(s){let u=function(){!n||Math.abs(c-window.scrollY)>window.innerHeight?window.scrollTo(0,c):window.scrollTo({left:0,top:c,behavior:"smooth"})},r=lt.value.scrollOffset,i=0,o=24;if(typeof r=="object"&&"padding"in r&&(o=r.padding,r=r.selector),typeof r=="number")i=r;else if(typeof r=="string")i=Er(r,o);else if(Array.isArray(r))for(const d of r){const h=Er(d,o);if(h){i=h;break}}const l=parseInt(window.getComputedStyle(s).paddingTop,10),c=window.scrollY+s.getBoundingClientRect().top-i+l;requestAnimationFrame(u)}}function Er(e,t){const n=document.querySelector(e);if(!n)return 0;const s=n.getBoundingClientRect().bottom;return s<0?0:s+t}function Tr(e){Ce&&e!==rs(location.href)&&(history.replaceState({scrollPosition:window.scrollY},document.title),history.pushState(null,"",e))}function rs(e){const t=new URL(e,Ki);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),lt.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash}const Ar=()=>on.forEach(e=>e()),Ba=oi({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Wi(),{site:n}=ia();return()=>ns(e.as,n.value.contentProps??{style:{position:"relative"}},[t.component?ns(t.component,{onVnodeMounted:Ar,onVnodeUpdated:Ar}):"404 Page Not Found"])}}),ka=oi({setup(e,{slots:t}){const n=ge(!1);return At(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function Ua(){Ce&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const s=(n=t.parentElement)==null?void 0:n.parentElement;if(!s)return;const r=Array.from(s.querySelectorAll("input")).indexOf(t);if(r<0)return;const i=s.querySelector(".blocks");if(!i)return;const o=Array.from(i.children).find(u=>u.classList.contains("active"));if(!o)return;const l=i.children[r];if(!l||o===l)return;o.classList.remove("active"),l.classList.add("active");const c=s==null?void 0:s.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function Ka(){if(Ce){const e=new WeakMap;window.addEventListener("click",t=>{var s;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const r=n.parentElement,i=(s=n.nextElementSibling)==null?void 0:s.nextElementSibling;if(!r||!i)return;const o=/language-(shellscript|shell|bash|sh|zsh)/.test(r.className);let l="";i.querySelectorAll("span.line:not(.diff.remove)").forEach(c=>l+=(c.textContent||"")+` -`),l=l.slice(0,-1),o&&(l=l.replace(/^ *(\$|>) /gm,"").trim()),fa(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 fa(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(),r=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),r&&(s.removeAllRanges(),s.addRange(r)),n&&n.focus()}}function Wa(e,t){let n=[],s=!0;const r=i=>{if(s){s=!1;return}const o=i.map(Sr);n.forEach((l,c)=>{const u=o.findIndex(d=>d==null?void 0:d.isEqualNode(l??null));u!==-1?delete o[u]:(l==null||l.remove(),delete n[c])}),o.forEach(l=>l&&document.head.appendChild(l)),n=[...n,...o].filter(Boolean)};ti(()=>{const i=e.data,o=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[],u=ki(o,i);u!==document.title&&(document.title=u);const d=l||o.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==d&&h.setAttribute("content",d):Sr(["meta",{name:"description",content:d}]),r(Ui(o.head,ha(c)))})}function Sr([e,t,n]){const s=document.createElement(e);for(const r in t)s.setAttribute(r,t[r]);return n&&(s.innerHTML=n),e==="script"&&!t.async&&(s.async=!1),s}function da(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function ha(e){return e.filter(t=>!da(t))}const Wn=new Set,Vi=()=>document.createElement("link"),pa=e=>{const t=Vi();t.rel="prefetch",t.href=e,document.head.appendChild(t)},ga=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let nn;const ma=Ce&&(nn=Vi())&&nn.relList&&nn.relList.supports&&nn.relList.supports("prefetch")?pa:ga;function Va(){if(!Ce||!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(o=>{if(o.isIntersecting){const l=o.target;n.unobserve(l);const{pathname:c}=l;if(!Wn.has(c)){Wn.add(c);const u=la(c);u&&ma(u)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{hostname:o,pathname:l}=new URL(i.href instanceof SVGAnimatedString?i.href.animVal:i.href,i.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||i.target!=="_blank"&&o===location.hostname&&(l!==location.pathname?n.observe(i):Wn.add(l))})})};At(s);const r=Wi();ze(()=>r.path,s),Pn(()=>{n&&n.disconnect()})}export{ca as $,va as A,fl as B,wa as C,Ca as D,qr as E,pe as F,ja as G,ae as H,xa as I,ji as J,Wi as K,Dl as L,bt as M,us as N,En as O,Ha as P,Ra as Q,xn as R,Na as S,Oi as T,Tl as U,Ia as V,Ta as W,Pa as X,Aa as Y,Wa as Z,Ma as _,Ti as a,$a as a0,ra as a1,Ba as a2,ka as a3,lt as a4,Fa as a5,Da as a6,la as a7,La as a8,Va as a9,Ka as aa,Ua as ab,ns as ac,xi as b,Sa as c,oi as d,Oa as e,xr as f,ce as g,ge as h,Zc as i,At as j,Ei as k,Yr as l,ba as m,fs as n,vi as o,_a as p,Qc as q,Ea as r,Ce as s,ya as t,ia as u,Dc as v,Xo as w,ze as x,ti as y,Pn as z}; diff --git a/assets/chunks/framework.c93772cc.js b/assets/chunks/framework.c93772cc.js new file mode 100644 index 00000000..d54d791d --- /dev/null +++ b/assets/chunks/framework.c93772cc.js @@ -0,0 +1,2 @@ +function os(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const te={},pt=[],Oe=()=>{},Ji=()=>!1,Xi=/^on[^a-z]/,Ut=e=>Xi.test(e),ls=e=>e.startsWith("onUpdate:"),ie=Object.assign,cs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Qi=Object.prototype.hasOwnProperty,J=(e,t)=>Qi.call(e,t),j=Array.isArray,gt=e=>_n(e)==="[object Map]",Rr=e=>_n(e)==="[object Set]",W=e=>typeof e=="function",ne=e=>typeof e=="string",yn=e=>typeof e=="symbol",ee=e=>e!==null&&typeof e=="object",Or=e=>(ee(e)||W(e))&&W(e.then)&&W(e.catch),Pr=Object.prototype.toString,_n=e=>Pr.call(e),Zi=e=>_n(e).slice(8,-1),Ir=e=>_n(e)==="[object Object]",as=e=>ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,It=os(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),bn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Gi=/-(\w)/g,Le=bn(e=>e.replace(Gi,(t,n)=>n?n.toUpperCase():"")),eo=/\B([A-Z])/g,at=bn(e=>e.replace(eo,"-$1").toLowerCase()),vn=bn(e=>e.charAt(0).toUpperCase()+e.slice(1)),sn=bn(e=>e?`on${vn(e)}`:""),ct=(e,t)=>!Object.is(e,t),Hn=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},to=e=>{const t=parseFloat(e);return isNaN(t)?e:t},no=e=>{const t=ne(e)?Number(e):NaN;return isNaN(t)?e:t};let Ls;const qn=()=>Ls||(Ls=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function us(e){if(j(e)){const t={};for(let n=0;n{if(n){const s=n.split(ro);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function fs(e){let t="";if(ne(e))t=e;else if(j(e))for(let n=0;nne(e)?e:e==null?"":j(e)||ee(e)&&(e.toString===Pr||!W(e.toString))?JSON.stringify(e,Mr,2):String(e),Mr=(e,t)=>t&&t.__v_isRef?Mr(e,t.value):gt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:Rr(t)?{[`Set(${t.size})`]:[...t.values()]}:ee(t)&&!j(t)&&!Ir(t)?String(t):t;let be;class ao{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=be,!t&&be&&(this.index=(be.scopes||(be.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=be;try{return be=this,t()}finally{be=n}}}on(){be=this}off(){be=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Nr=e=>(e.w&Je)>0,Hr=e=>(e.n&Je)>0,ho=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(d==="length"||!yn(d)&&d>=c)&&l.push(u)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":j(e)?as(n)&&l.push(o.get("length")):(l.push(o.get(rt)),gt(e)&&l.push(o.get(Yn)));break;case"delete":j(e)||(l.push(o.get(rt)),gt(e)&&l.push(o.get(Yn)));break;case"set":gt(e)&&l.push(o.get(rt));break}if(l.length===1)l[0]&&Jn(l[0]);else{const c=[];for(const u of l)u&&c.push(...u);Jn(ds(c))}}function Jn(e,t){const n=j(e)?e:[...e];for(const s of n)s.computed&&Hs(s);for(const s of n)s.computed||Hs(s)}function Hs(e,t){(e!==Se||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function go(e,t){var n;return(n=cn.get(e))==null?void 0:n.get(t)}const mo=os("__proto__,__v_isRef,__isVue"),Dr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(yn)),$s=yo();function yo(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=X(this);for(let i=0,o=this.length;i{e[t]=function(...n){Et();const s=X(this)[t].apply(this,n);return Tt(),s}}),e}function _o(e){const t=X(this);return ye(t,"has",e),t.hasOwnProperty(e)}class Br{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,s){const r=this._isReadonly,i=this._shallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw"&&s===(r?i?Io:Wr:i?Kr:Ur).get(t))return t;const o=j(t);if(!r){if(o&&J($s,n))return Reflect.get($s,n,s);if(n==="hasOwnProperty")return _o}const l=Reflect.get(t,n,s);return(yn(n)?Dr.has(n):mo(n))||(r||ye(t,"get",n),i)?l:le(l)?o&&as(n)?l:l.value:ee(l)?r?Cn(l):xn(l):l}}class kr extends Br{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(vt(i)&&le(i)&&!le(s))return!1;if(!this._shallow&&(!an(s)&&!vt(s)&&(i=X(i),s=X(s)),!j(t)&&le(i)&&!le(s)))return i.value=s,!0;const o=j(t)&&as(n)?Number(n)e,wn=e=>Reflect.getPrototypeOf(e);function Vt(e,t,n=!1,s=!1){e=e.__v_raw;const r=X(e),i=X(t);n||(ct(t,i)&&ye(r,"get",t),ye(r,"get",i));const{has:o}=wn(r),l=s?ps:n?ys:Ht;if(o.call(r,t))return l(e.get(t));if(o.call(r,i))return l(e.get(i));e!==r&&e.get(t)}function qt(e,t=!1){const n=this.__v_raw,s=X(n),r=X(e);return t||(ct(e,r)&&ye(s,"has",e),ye(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function zt(e,t=!1){return e=e.__v_raw,!t&&ye(X(e),"iterate",rt),Reflect.get(e,"size",e)}function js(e){e=X(e);const t=X(this);return wn(t).has.call(t,e)||(t.add(e),je(t,"add",e,e)),this}function Ds(e,t){t=X(t);const n=X(this),{has:s,get:r}=wn(n);let i=s.call(n,e);i||(e=X(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?ct(t,o)&&je(n,"set",e,t):je(n,"add",e,t),this}function Bs(e){const t=X(this),{has:n,get:s}=wn(t);let r=n.call(t,e);r||(e=X(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&je(t,"delete",e,void 0),i}function ks(){const e=X(this),t=e.size!==0,n=e.clear();return t&&je(e,"clear",void 0,void 0),n}function Yt(e,t){return function(s,r){const i=this,o=i.__v_raw,l=X(o),c=t?ps:e?ys:Ht;return!e&&ye(l,"iterate",rt),o.forEach((u,d)=>s.call(r,c(u),c(d),i))}}function Jt(e,t,n){return function(...s){const r=this.__v_raw,i=X(r),o=gt(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,u=r[e](...s),d=n?ps:t?ys:Ht;return!t&&ye(i,"iterate",c?Yn:rt),{next(){const{value:h,done:b}=u.next();return b?{value:h,done:b}:{value:l?[d(h[0]),d(h[1])]:d(h),done:b}},[Symbol.iterator](){return this}}}}function Be(e){return function(...t){return e==="delete"?!1:this}}function Co(){const e={get(i){return Vt(this,i)},get size(){return zt(this)},has:qt,add:js,set:Ds,delete:Bs,clear:ks,forEach:Yt(!1,!1)},t={get(i){return Vt(this,i,!1,!0)},get size(){return zt(this)},has:qt,add:js,set:Ds,delete:Bs,clear:ks,forEach:Yt(!1,!0)},n={get(i){return Vt(this,i,!0)},get size(){return zt(this,!0)},has(i){return qt.call(this,i,!0)},add:Be("add"),set:Be("set"),delete:Be("delete"),clear:Be("clear"),forEach:Yt(!0,!1)},s={get(i){return Vt(this,i,!0,!0)},get size(){return zt(this,!0)},has(i){return qt.call(this,i,!0)},add:Be("add"),set:Be("set"),delete:Be("delete"),clear:Be("clear"),forEach:Yt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Jt(i,!1,!1),n[i]=Jt(i,!0,!1),t[i]=Jt(i,!1,!0),s[i]=Jt(i,!0,!0)}),[e,n,t,s]}const[Eo,To,Ao,So]=Co();function gs(e,t){const n=t?e?So:Ao:e?To:Eo;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(J(n,r)&&r in s?n:s,r,i)}const Ro={get:gs(!1,!1)},Oo={get:gs(!1,!0)},Po={get:gs(!0,!1)},Ur=new WeakMap,Kr=new WeakMap,Wr=new WeakMap,Io=new WeakMap;function Fo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Mo(e){return e.__v_skip||!Object.isExtensible(e)?0:Fo(Zi(e))}function xn(e){return vt(e)?e:ms(e,!1,vo,Ro,Ur)}function Lo(e){return ms(e,!1,xo,Oo,Kr)}function Cn(e){return ms(e,!0,wo,Po,Wr)}function ms(e,t,n,s,r){if(!ee(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=Mo(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function mt(e){return vt(e)?mt(e.__v_raw):!!(e&&e.__v_isReactive)}function vt(e){return!!(e&&e.__v_isReadonly)}function an(e){return!!(e&&e.__v_isShallow)}function Vr(e){return mt(e)||vt(e)}function X(e){const t=e&&e.__v_raw;return t?X(t):e}function Ft(e){return ln(e,"__v_skip",!0),e}const Ht=e=>ee(e)?xn(e):e,ys=e=>ee(e)?Cn(e):e;function _s(e){qe&&Se&&(e=X(e),jr(e.dep||(e.dep=ds())))}function bs(e,t){e=X(e);const n=e.dep;n&&Jn(n)}function le(e){return!!(e&&e.__v_isRef===!0)}function me(e){return zr(e,!1)}function qr(e){return zr(e,!0)}function zr(e,t){return le(e)?e:new No(e,t)}class No{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:X(t),this._value=n?t:Ht(t)}get value(){return _s(this),this._value}set value(t){const n=this.__v_isShallow||an(t)||vt(t);t=n?t:X(t),ct(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Ht(t),bs(this))}}function Yr(e){return le(e)?e.value:e}const Ho={get:(e,t,n)=>Yr(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return le(r)&&!le(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Jr(e){return mt(e)?e:new Proxy(e,Ho)}class $o{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>_s(this),()=>bs(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function jo(e){return new $o(e)}class Do{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return go(X(this._object),this._key)}}class Bo{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function ko(e,t,n){return le(e)?e:W(e)?new Bo(e):ee(e)&&arguments.length>1?Uo(e,t,n):me(e)}function Uo(e,t,n){const s=e[t];return le(s)?s:new Do(e,t,n)}class Ko{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new hs(t,()=>{this._dirty||(this._dirty=!0,bs(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=X(this);return _s(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Wo(e,t,n=!1){let s,r;const i=W(e);return i?(s=e,r=Oe):(s=e.get,r=e.set),new Ko(s,r,i||!r,n)}function ze(e,t,n,s){let r;try{r=s?e(...s):e()}catch(i){En(i,t,n)}return r}function Ee(e,t,n,s){if(W(e)){const i=ze(e,t,n,s);return i&&Or(i)&&i.catch(o=>{En(o,t,n)}),i}const r=[];for(let i=0;i>>1,r=fe[s],i=jt(r);iMe&&fe.splice(t,1)}function Yo(e){j(e)?yt.push(...e):(!$e||!$e.includes(e,e.allowRecurse?tt+1:tt))&&yt.push(e),Qr()}function Us(e,t=$t?Me+1:0){for(;tjt(n)-jt(s)),tt=0;tt<$e.length;tt++)$e[tt]();$e=null,tt=0}}const jt=e=>e.id==null?1/0:e.id,Jo=(e,t)=>{const n=jt(e)-jt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Zr(e){Xn=!1,$t=!0,fe.sort(Jo);const t=Oe;try{for(Me=0;Mene(T)?T.trim():T)),h&&(r=n.map(to))}let l,c=s[l=sn(t)]||s[l=sn(Le(t))];!c&&i&&(c=s[l=sn(at(t))]),c&&Ee(c,e,6,r);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ee(u,e,6,r)}}function Gr(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!W(e)){const c=u=>{const d=Gr(u,t,!0);d&&(l=!0,ie(o,d))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ee(e)&&s.set(e,null),null):(j(i)?i.forEach(c=>o[c]=null):ie(o,i),ee(e)&&s.set(e,o),o)}function An(e,t){return!e||!Ut(t)?!1:(t=t.slice(2).replace(/Once$/,""),J(e,t[0].toLowerCase()+t.slice(1))||J(e,at(t))||J(e,t))}let de=null,Sn=null;function fn(e){const t=de;return de=e,Sn=e&&e.type.__scopeId||null,t}function ba(e){Sn=e}function va(){Sn=null}function Qo(e,t=de,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&er(-1);const i=fn(t);let o;try{o=e(...r)}finally{fn(i),s._d&&er(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function $n(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:l,attrs:c,emit:u,render:d,renderCache:h,data:b,setupState:T,ctx:I,inheritAttrs:O}=e;let D,U;const z=fn(e);try{if(n.shapeFlag&4){const p=r||s;D=Ae(d.call(p,p,h,i,T,b,I)),U=c}else{const p=t;D=Ae(p.length>1?p(i,{attrs:c,slots:l,emit:u}):p(i,null)),U=t.props?c:Zo(c)}}catch(p){Nt.length=0,En(p,e,1),D=ue(ve)}let m=D;if(U&&O!==!1){const p=Object.keys(U),{shapeFlag:M}=m;p.length&&M&7&&(o&&p.some(ls)&&(U=Go(U,o)),m=Xe(m,U))}return n.dirs&&(m=Xe(m),m.dirs=m.dirs?m.dirs.concat(n.dirs):n.dirs),n.transition&&(m.transition=n.transition),D=m,fn(z),D}const Zo=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ut(n))&&((t||(t={}))[n]=e[n]);return t},Go=(e,t)=>{const n={};for(const s in e)(!ls(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function el(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Ks(s,o,u):!!o;if(c&8){const d=t.dynamicProps;for(let h=0;he.__isSuspense;function ni(e,t){t&&t.pendingBranch?j(e)?t.effects.push(...e):t.effects.push(e):Yo(e)}function si(e,t){return Rn(e,null,t)}function Ca(e,t){return Rn(e,null,{flush:"post"})}const Xt={};function Ye(e,t,n){return Rn(e,t,n)}function Rn(e,t,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:o}=te){var l;const c=Lr()===((l=oe)==null?void 0:l.scope)?oe:null;let u,d=!1,h=!1;if(le(e)?(u=()=>e.value,d=an(e)):mt(e)?(u=()=>e,s=!0):j(e)?(h=!0,d=e.some(p=>mt(p)||an(p)),u=()=>e.map(p=>{if(le(p))return p.value;if(mt(p))return ht(p);if(W(p))return ze(p,c,2)})):W(e)?t?u=()=>ze(e,c,2):u=()=>{if(!(c&&c.isUnmounted))return b&&b(),Ee(e,c,3,[T])}:u=Oe,t&&s){const p=u;u=()=>ht(p())}let b,T=p=>{b=z.onStop=()=>{ze(p,c,4)}},I;if(Bt)if(T=Oe,t?n&&Ee(t,c,3,[u(),h?[]:void 0,T]):u(),r==="sync"){const p=Xl();I=p.__watcherHandles||(p.__watcherHandles=[])}else return Oe;let O=h?new Array(e.length).fill(Xt):Xt;const D=()=>{if(z.active)if(t){const p=z.run();(s||d||(h?p.some((M,K)=>ct(M,O[K])):ct(p,O)))&&(b&&b(),Ee(t,c,3,[p,O===Xt?void 0:h&&O[0]===Xt?[]:O,T]),O=p)}else z.run()};D.allowRecurse=!!t;let U;r==="sync"?U=D:r==="post"?U=()=>pe(D,c&&c.suspense):(D.pre=!0,c&&(D.id=c.uid),U=()=>ws(D));const z=new hs(u,U);t?n?D():O=z.run():r==="post"?pe(z.run.bind(z),c&&c.suspense):z.run();const m=()=>{z.stop(),c&&c.scope&&cs(c.scope.effects,z)};return I&&I.push(m),m}function sl(e,t,n){const s=this.proxy,r=ne(e)?e.includes(".")?ri(s,e):()=>s[e]:e.bind(s,s);let i;W(t)?i=t:(i=t.handler,n=t);const o=oe;xt(this);const l=Rn(r,i.bind(s),n);return o?xt(o):it(),l}function ri(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{ht(n,t)});else if(Ir(e))for(const n in e)ht(e[n],t);return e}function Fe(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o{e.isMounted=!0}),ui(()=>{e.isUnmounting=!0}),e}const we=[Function,Array],ii={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:we,onEnter:we,onAfterEnter:we,onEnterCancelled:we,onBeforeLeave:we,onLeave:we,onAfterLeave:we,onLeaveCancelled:we,onBeforeAppear:we,onAppear:we,onAfterAppear:we,onAppearCancelled:we},il={name:"BaseTransition",props:ii,setup(e,{slots:t}){const n=Mn(),s=rl();let r;return()=>{const i=t.default&&li(t.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const O of i)if(O.type!==ve){o=O;break}}const l=X(e),{mode:c}=l;if(s.isLeaving)return jn(o);const u=Vs(o);if(!u)return jn(o);const d=Qn(u,l,s,n);Zn(u,d);const h=n.subTree,b=h&&Vs(h);let T=!1;const{getTransitionKey:I}=u.type;if(I){const O=I();r===void 0?r=O:O!==r&&(r=O,T=!0)}if(b&&b.type!==ve&&(!nt(u,b)||T)){const O=Qn(b,l,s,n);if(Zn(b,O),c==="out-in")return s.isLeaving=!0,O.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},jn(o);c==="in-out"&&u.type!==ve&&(O.delayLeave=(D,U,z)=>{const m=oi(s,b);m[String(b.key)]=b,D[We]=()=>{U(),D[We]=void 0,delete d.delayedLeave},d.delayedLeave=z})}return o}}},ol=il;function oi(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 Qn(e,t,n,s){const{appear:r,mode:i,persisted:o=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:h,onLeave:b,onAfterLeave:T,onLeaveCancelled:I,onBeforeAppear:O,onAppear:D,onAfterAppear:U,onAppearCancelled:z}=t,m=String(e.key),p=oi(n,e),M=(w,P)=>{w&&Ee(w,s,9,P)},K=(w,P)=>{const A=P[1];M(w,P),j(w)?w.every(Q=>Q.length<=1)&&A():w.length<=1&&A()},B={mode:i,persisted:o,beforeEnter(w){let P=l;if(!n.isMounted)if(r)P=O||l;else return;w[We]&&w[We](!0);const A=p[m];A&&nt(e,A)&&A.el[We]&&A.el[We](),M(P,[w])},enter(w){let P=c,A=u,Q=d;if(!n.isMounted)if(r)P=D||c,A=U||u,Q=z||d;else return;let S=!1;const V=w[Qt]=re=>{S||(S=!0,re?M(Q,[w]):M(A,[w]),B.delayedLeave&&B.delayedLeave(),w[Qt]=void 0)};P?K(P,[w,V]):V()},leave(w,P){const A=String(e.key);if(w[Qt]&&w[Qt](!0),n.isUnmounting)return P();M(h,[w]);let Q=!1;const S=w[We]=V=>{Q||(Q=!0,P(),V?M(I,[w]):M(T,[w]),w[We]=void 0,p[A]===e&&delete p[A])};p[A]=e,b?K(b,[w,S]):S()},clone(w){return Qn(w,t,n,s)}};return B}function jn(e){if(On(e))return e=Xe(e),e.children=null,e}function Vs(e){return On(e)?e.children?e.children[0]:void 0:e}function Zn(e,t){e.shapeFlag&6&&e.component?Zn(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 li(e,t=!1,n){let s=[],r=0;for(let i=0;i1)for(let i=0;iie({name:e.name},t,{setup:e}))():e}const _t=e=>!!e.type.__asyncLoader,On=e=>e.type.__isKeepAlive;function ll(e,t){ai(e,"a",t)}function cl(e,t){ai(e,"da",t)}function ai(e,t,n=oe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Pn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)On(r.parent.vnode)&&al(s,t,n,r),r=r.parent}}function al(e,t,n,s){const r=Pn(t,e,s,!0);In(()=>{cs(s[t],r)},n)}function Pn(e,t,n=oe,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Et(),xt(n);const l=Ee(t,n,e,o);return it(),Tt(),l});return s?r.unshift(i):r.push(i),i}}const De=e=>(t,n=oe)=>(!Bt||e==="sp")&&Pn(e,(...s)=>t(...s),n),ul=De("bm"),At=De("m"),fl=De("bu"),dl=De("u"),ui=De("bum"),In=De("um"),hl=De("sp"),pl=De("rtg"),gl=De("rtc");function ml(e,t=oe){Pn("ec",e,t)}function Ea(e,t,n,s){let r;const i=n&&n[s];if(j(e)||ne(e)){r=new Array(e.length);for(let o=0,l=e.length;ot(o,l,void 0,i&&i[l]));else{const o=Object.keys(e);r=new Array(o.length);for(let l=0,c=o.length;lgn(t)?!(t.type===ve||t.type===ge&&!fi(t.children)):!0)?e:null}function Aa(e,t){const n={};for(const s in e)n[t&&/[A-Z]/.test(s)?`on:${s}`:sn(s)]=e[s];return n}const Gn=e=>e?Si(e)?Ss(e)||e.proxy:Gn(e.parent):null,Mt=ie(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=>Gn(e.parent),$root:e=>Gn(e.root),$emit:e=>e.emit,$options:e=>Cs(e),$forceUpdate:e=>e.f||(e.f=()=>ws(e.update)),$nextTick:e=>e.n||(e.n=Tn.bind(e.proxy)),$watch:e=>sl.bind(e)}),Dn=(e,t)=>e!==te&&!e.__isScriptSetup&&J(e,t),yl={get({_:e},t){const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let u;if(t[0]!=="$"){const T=o[t];if(T!==void 0)switch(T){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Dn(s,t))return o[t]=1,s[t];if(r!==te&&J(r,t))return o[t]=2,r[t];if((u=e.propsOptions[0])&&J(u,t))return o[t]=3,i[t];if(n!==te&&J(n,t))return o[t]=4,n[t];es&&(o[t]=0)}}const d=Mt[t];let h,b;if(d)return t==="$attrs"&&ye(e,"get",t),d(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==te&&J(n,t))return o[t]=4,n[t];if(b=c.config.globalProperties,J(b,t))return b[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Dn(r,t)?(r[t]=n,!0):s!==te&&J(s,t)?(s[t]=n,!0):J(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:r,propsOptions:i}},o){let l;return!!n[o]||e!==te&&J(e,o)||Dn(t,o)||(l=i[0])&&J(l,o)||J(s,o)||J(Mt,o)||J(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:J(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Sa(){return _l().slots}function _l(){const e=Mn();return e.setupContext||(e.setupContext=Oi(e))}function qs(e){return j(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let es=!0;function bl(e){const t=Cs(e),n=e.proxy,s=e.ctx;es=!1,t.beforeCreate&&zs(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:u,created:d,beforeMount:h,mounted:b,beforeUpdate:T,updated:I,activated:O,deactivated:D,beforeDestroy:U,beforeUnmount:z,destroyed:m,unmounted:p,render:M,renderTracked:K,renderTriggered:B,errorCaptured:w,serverPrefetch:P,expose:A,inheritAttrs:Q,components:S,directives:V,filters:re}=t;if(u&&vl(u,s,null),o)for(const Y in o){const $=o[Y];W($)&&(s[Y]=$.bind(n))}if(r){const Y=r.call(n,n);ee(Y)&&(e.data=xn(Y))}if(es=!0,i)for(const Y in i){const $=i[Y],Ne=W($)?$.bind(n,n):W($.get)?$.get.bind(n,n):Oe,Kt=!W($)&&W($.set)?$.set.bind(n):Oe,Qe=ae({get:Ne,set:Kt});Object.defineProperty(s,Y,{enumerable:!0,configurable:!0,get:()=>Qe.value,set:Pe=>Qe.value=Pe})}if(l)for(const Y in l)di(l[Y],s,n,Y);if(c){const Y=W(c)?c.call(n):c;Reflect.ownKeys(Y).forEach($=>{Al($,Y[$])})}d&&zs(d,e,"c");function L(Y,$){j($)?$.forEach(Ne=>Y(Ne.bind(n))):$&&Y($.bind(n))}if(L(ul,h),L(At,b),L(fl,T),L(dl,I),L(ll,O),L(cl,D),L(ml,w),L(gl,K),L(pl,B),L(ui,z),L(In,p),L(hl,P),j(A))if(A.length){const Y=e.exposed||(e.exposed={});A.forEach($=>{Object.defineProperty(Y,$,{get:()=>n[$],set:Ne=>n[$]=Ne})})}else e.exposed||(e.exposed={});M&&e.render===Oe&&(e.render=M),Q!=null&&(e.inheritAttrs=Q),S&&(e.components=S),V&&(e.directives=V)}function vl(e,t,n=Oe){j(e)&&(e=ts(e));for(const s in e){const r=e[s];let i;ee(r)?"default"in r?i=bt(r.from||s,r.default,!0):i=bt(r.from||s):i=bt(r),le(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function zs(e,t,n){Ee(j(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function di(e,t,n,s){const r=s.includes(".")?ri(n,s):()=>n[s];if(ne(e)){const i=t[e];W(i)&&Ye(r,i)}else if(W(e))Ye(r,e.bind(n));else if(ee(e))if(j(e))e.forEach(i=>di(i,t,n,s));else{const i=W(e.handler)?e.handler.bind(n):t[e.handler];W(i)&&Ye(r,i,e)}}function Cs(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(u=>dn(c,u,o,!0)),dn(c,t,o)),ee(t)&&i.set(t,c),c}function dn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&dn(e,i,n,!0),r&&r.forEach(o=>dn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=wl[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const wl={data:Ys,props:Js,emits:Js,methods:Pt,computed:Pt,beforeCreate:he,created:he,beforeMount:he,mounted:he,beforeUpdate:he,updated:he,beforeDestroy:he,beforeUnmount:he,destroyed:he,unmounted:he,activated:he,deactivated:he,errorCaptured:he,serverPrefetch:he,components:Pt,directives:Pt,watch:Cl,provide:Ys,inject:xl};function Ys(e,t){return t?e?function(){return ie(W(e)?e.call(this,this):e,W(t)?t.call(this,this):t)}:t:e}function xl(e,t){return Pt(ts(e),ts(t))}function ts(e){if(j(e)){const t={};for(let n=0;n1)return n&&W(t)?t.call(s&&s.proxy):t}}function Sl(e,t,n,s=!1){const r={},i={};ln(i,Fn,1),e.propsDefaults=Object.create(null),pi(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Lo(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Rl(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=X(r),[c]=e.propsOptions;let u=!1;if((s||o>0)&&!(o&16)){if(o&8){const d=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[b,T]=gi(h,t,!0);ie(o,b),T&&l.push(...T)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!c)return ee(e)&&s.set(e,pt),pt;if(j(i))for(let d=0;d-1,T[1]=O<0||I-1||J(T,"default"))&&l.push(h)}}}const u=[o,l];return ee(e)&&s.set(e,u),u}function Xs(e){return e[0]!=="$"}function Qs(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Zs(e,t){return Qs(e)===Qs(t)}function Gs(e,t){return j(t)?t.findIndex(n=>Zs(n,e)):W(t)&&Zs(t,e)?0:-1}const mi=e=>e[0]==="_"||e==="$stable",Es=e=>j(e)?e.map(Ae):[Ae(e)],Ol=(e,t,n)=>{if(t._n)return t;const s=Qo((...r)=>Es(t(...r)),n);return s._c=!1,s},yi=(e,t,n)=>{const s=e._ctx;for(const r in e){if(mi(r))continue;const i=e[r];if(W(i))t[r]=Ol(r,i,s);else if(i!=null){const o=Es(i);t[r]=()=>o}}},_i=(e,t)=>{const n=Es(t);e.slots.default=()=>n},Pl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=X(t),ln(t,"_",n)):yi(t,e.slots={})}else e.slots={},t&&_i(e,t);ln(e.slots,Fn,1)},Il=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=te;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(ie(r,t),!n&&l===1&&delete r._):(i=!t.$stable,yi(t,r)),o=t}else t&&(_i(e,t),o={default:1});if(i)for(const l in r)!mi(l)&&o[l]==null&&delete r[l]};function pn(e,t,n,s,r=!1){if(j(e)){e.forEach((b,T)=>pn(b,t&&(j(t)?t[T]:t),n,s,r));return}if(_t(s)&&!r)return;const i=s.shapeFlag&4?Ss(s.component)||s.component.proxy:s.el,o=r?null:i,{i:l,r:c}=e,u=t&&t.r,d=l.refs===te?l.refs={}:l.refs,h=l.setupState;if(u!=null&&u!==c&&(ne(u)?(d[u]=null,J(h,u)&&(h[u]=null)):le(u)&&(u.value=null)),W(c))ze(c,l,12,[o,d]);else{const b=ne(c),T=le(c);if(b||T){const I=()=>{if(e.f){const O=b?J(h,c)?h[c]:d[c]:c.value;r?j(O)&&cs(O,i):j(O)?O.includes(i)||O.push(i):b?(d[c]=[i],J(h,c)&&(h[c]=d[c])):(c.value=[i],e.k&&(d[e.k]=c.value))}else b?(d[c]=o,J(h,c)&&(h[c]=o)):T&&(c.value=o,e.k&&(d[e.k]=o))};o?(I.id=-1,pe(I,n)):I()}}}let ke=!1;const Zt=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Gt=e=>e.nodeType===8;function Fl(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:u}}=e,d=(m,p)=>{if(!p.hasChildNodes()){n(null,m,p),un(),p._vnode=m;return}ke=!1,h(p.firstChild,m,null,null,null),un(),p._vnode=m,ke&&console.error("Hydration completed but contains mismatches.")},h=(m,p,M,K,B,w=!1)=>{const P=Gt(m)&&m.data==="[",A=()=>O(m,p,M,K,B,P),{type:Q,ref:S,shapeFlag:V,patchFlag:re}=p;let ce=m.nodeType;p.el=m,re===-2&&(w=!1,p.dynamicChildren=null);let L=null;switch(Q){case wt:ce!==3?p.children===""?(c(p.el=r(""),o(m),m),L=m):L=A():(m.data!==p.children&&(ke=!0,m.data=p.children),L=i(m));break;case ve:z(m)?(L=i(m),U(p.el=m.content.firstChild,m,M)):ce!==8||P?L=A():L=i(m);break;case Lt:if(P&&(m=i(m),ce=m.nodeType),ce===1||ce===3){L=m;const Y=!p.children.length;for(let $=0;${w=w||!!p.dynamicChildren;const{type:P,props:A,patchFlag:Q,shapeFlag:S,dirs:V,transition:re}=p,ce=P==="input"&&V||P==="option";if(ce||Q!==-1){if(V&&Fe(p,null,M,"created"),A)if(ce||!w||Q&48)for(const $ in A)(ce&&$.endsWith("value")||Ut($)&&!It($))&&s(m,$,null,A[$],!1,void 0,M);else A.onClick&&s(m,"onClick",null,A.onClick,!1,void 0,M);let L;(L=A&&A.onVnodeBeforeMount)&&xe(L,M,p);let Y=!1;if(z(m)){Y=bi(K,re)&&M&&M.vnode.props&&M.vnode.props.appear;const $=m.content.firstChild;Y&&re.beforeEnter($),U($,m,M),p.el=m=$}if(V&&Fe(p,null,M,"beforeMount"),((L=A&&A.onVnodeMounted)||V||Y)&&ni(()=>{L&&xe(L,M,p),Y&&re.enter(m),V&&Fe(p,null,M,"mounted")},K),S&16&&!(A&&(A.innerHTML||A.textContent))){let $=T(m.firstChild,p,m,M,K,B,w);for(;$;){ke=!0;const Ne=$;$=$.nextSibling,l(Ne)}}else S&8&&m.textContent!==p.children&&(ke=!0,m.textContent=p.children)}return m.nextSibling},T=(m,p,M,K,B,w,P)=>{P=P||!!p.dynamicChildren;const A=p.children,Q=A.length;for(let S=0;S{const{slotScopeIds:P}=p;P&&(B=B?B.concat(P):P);const A=o(m),Q=T(i(m),p,A,M,K,B,w);return Q&&Gt(Q)&&Q.data==="]"?i(p.anchor=Q):(ke=!0,c(p.anchor=u("]"),A,Q),Q)},O=(m,p,M,K,B,w)=>{if(ke=!0,p.el=null,w){const Q=D(m);for(;;){const S=i(m);if(S&&S!==Q)l(S);else break}}const P=i(m),A=o(m);return l(m),n(null,p,A,P,M,K,Zt(A),B),P},D=(m,p="[",M="]")=>{let K=0;for(;m;)if(m=i(m),m&&Gt(m)&&(m.data===p&&K++,m.data===M)){if(K===0)return i(m);K--}return m},U=(m,p,M)=>{const K=p.parentNode;K&&K.replaceChild(m,p);let B=M;for(;B;)B.vnode.el===p&&(B.vnode.el=B.subTree.el=m),B=B.parent},z=m=>m.nodeType===1&&m.tagName.toLowerCase()==="template";return[d,h]}const pe=ni;function Ml(e){return Ll(e,Fl)}function Ll(e,t){const n=qn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:u,setElementText:d,parentNode:h,nextSibling:b,setScopeId:T=Oe,insertStaticContent:I}=e,O=(a,f,g,y=null,_=null,C=null,R=!1,x=null,E=!!f.dynamicChildren)=>{if(a===f)return;a&&!nt(a,f)&&(y=Wt(a),Pe(a,_,C,!0),a=null),f.patchFlag===-2&&(E=!1,f.dynamicChildren=null);const{type:v,ref:N,shapeFlag:F}=f;switch(v){case wt:D(a,f,g,y);break;case ve:U(a,f,g,y);break;case Lt:a==null&&z(f,g,y,R);break;case ge:S(a,f,g,y,_,C,R,x,E);break;default:F&1?M(a,f,g,y,_,C,R,x,E):F&6?V(a,f,g,y,_,C,R,x,E):(F&64||F&128)&&v.process(a,f,g,y,_,C,R,x,E,ut)}N!=null&&_&&pn(N,a&&a.ref,C,f||a,!f)},D=(a,f,g,y)=>{if(a==null)s(f.el=l(f.children),g,y);else{const _=f.el=a.el;f.children!==a.children&&u(_,f.children)}},U=(a,f,g,y)=>{a==null?s(f.el=c(f.children||""),g,y):f.el=a.el},z=(a,f,g,y)=>{[a.el,a.anchor]=I(a.children,f,g,y,a.el,a.anchor)},m=({el:a,anchor:f},g,y)=>{let _;for(;a&&a!==f;)_=b(a),s(a,g,y),a=_;s(f,g,y)},p=({el:a,anchor:f})=>{let g;for(;a&&a!==f;)g=b(a),r(a),a=g;r(f)},M=(a,f,g,y,_,C,R,x,E)=>{R=R||f.type==="svg",a==null?K(f,g,y,_,C,R,x,E):P(a,f,_,C,R,x,E)},K=(a,f,g,y,_,C,R,x)=>{let E,v;const{type:N,props:F,shapeFlag:H,transition:k,dirs:q}=a;if(E=a.el=o(a.type,C,F&&F.is,F),H&8?d(E,a.children):H&16&&w(a.children,E,null,y,_,C&&N!=="foreignObject",R,x),q&&Fe(a,null,y,"created"),B(E,a,a.scopeId,R,y),F){for(const Z in F)Z!=="value"&&!It(Z)&&i(E,Z,null,F[Z],C,a.children,y,_,He);"value"in F&&i(E,"value",null,F.value),(v=F.onVnodeBeforeMount)&&xe(v,y,a)}q&&Fe(a,null,y,"beforeMount");const G=bi(_,k);G&&k.beforeEnter(E),s(E,f,g),((v=F&&F.onVnodeMounted)||G||q)&&pe(()=>{v&&xe(v,y,a),G&&k.enter(E),q&&Fe(a,null,y,"mounted")},_)},B=(a,f,g,y,_)=>{if(g&&T(a,g),y)for(let C=0;C{for(let v=E;v{const x=f.el=a.el;let{patchFlag:E,dynamicChildren:v,dirs:N}=f;E|=a.patchFlag&16;const F=a.props||te,H=f.props||te;let k;g&&Ze(g,!1),(k=H.onVnodeBeforeUpdate)&&xe(k,g,f,a),N&&Fe(f,a,g,"beforeUpdate"),g&&Ze(g,!0);const q=_&&f.type!=="foreignObject";if(v?A(a.dynamicChildren,v,x,g,y,q,C):R||$(a,f,x,null,g,y,q,C,!1),E>0){if(E&16)Q(x,f,F,H,g,y,_);else if(E&2&&F.class!==H.class&&i(x,"class",null,H.class,_),E&4&&i(x,"style",F.style,H.style,_),E&8){const G=f.dynamicProps;for(let Z=0;Z{k&&xe(k,g,f,a),N&&Fe(f,a,g,"updated")},y)},A=(a,f,g,y,_,C,R)=>{for(let x=0;x{if(g!==y){if(g!==te)for(const x in g)!It(x)&&!(x in y)&&i(a,x,g[x],null,R,f.children,_,C,He);for(const x in y){if(It(x))continue;const E=y[x],v=g[x];E!==v&&x!=="value"&&i(a,x,v,E,R,f.children,_,C,He)}"value"in y&&i(a,"value",g.value,y.value)}},S=(a,f,g,y,_,C,R,x,E)=>{const v=f.el=a?a.el:l(""),N=f.anchor=a?a.anchor:l("");let{patchFlag:F,dynamicChildren:H,slotScopeIds:k}=f;k&&(x=x?x.concat(k):k),a==null?(s(v,g,y),s(N,g,y),w(f.children,g,N,_,C,R,x,E)):F>0&&F&64&&H&&a.dynamicChildren?(A(a.dynamicChildren,H,g,_,C,R,x),(f.key!=null||_&&f===_.subTree)&&vi(a,f,!0)):$(a,f,g,N,_,C,R,x,E)},V=(a,f,g,y,_,C,R,x,E)=>{f.slotScopeIds=x,a==null?f.shapeFlag&512?_.ctx.activate(f,g,y,R,E):re(f,g,y,_,C,R,E):ce(a,f,E)},re=(a,f,g,y,_,C,R)=>{const x=a.component=Kl(a,y,_);if(On(a)&&(x.ctx.renderer=ut),Wl(x),x.asyncDep){if(_&&_.registerDep(x,L),!a.el){const E=x.subTree=ue(ve);U(null,E,f,g)}return}L(x,a,f,g,_,C,R)},ce=(a,f,g)=>{const y=f.component=a.component;if(el(a,f,g))if(y.asyncDep&&!y.asyncResolved){Y(y,f,g);return}else y.next=f,zo(y.update),y.update();else f.el=a.el,y.vnode=f},L=(a,f,g,y,_,C,R)=>{const x=()=>{if(a.isMounted){let{next:N,bu:F,u:H,parent:k,vnode:q}=a,G=N,Z;Ze(a,!1),N?(N.el=q.el,Y(a,N,R)):N=q,F&&Hn(F),(Z=N.props&&N.props.onVnodeBeforeUpdate)&&xe(Z,k,N,q),Ze(a,!0);const se=$n(a),Te=a.subTree;a.subTree=se,O(Te,se,h(Te.el),Wt(Te),a,_,C),N.el=se.el,G===null&&tl(a,se.el),H&&pe(H,_),(Z=N.props&&N.props.onVnodeUpdated)&&pe(()=>xe(Z,k,N,q),_)}else{let N;const{el:F,props:H}=f,{bm:k,m:q,parent:G}=a,Z=_t(f);if(Ze(a,!1),k&&Hn(k),!Z&&(N=H&&H.onVnodeBeforeMount)&&xe(N,G,f),Ze(a,!0),F&&Nn){const se=()=>{a.subTree=$n(a),Nn(F,a.subTree,a,_,null)};Z?f.type.__asyncLoader().then(()=>!a.isUnmounted&&se()):se()}else{const se=a.subTree=$n(a);O(null,se,g,y,a,_,C),f.el=se.el}if(q&&pe(q,_),!Z&&(N=H&&H.onVnodeMounted)){const se=f;pe(()=>xe(N,G,se),_)}(f.shapeFlag&256||G&&_t(G.vnode)&&G.vnode.shapeFlag&256)&&a.a&&pe(a.a,_),a.isMounted=!0,f=g=y=null}},E=a.effect=new hs(x,()=>ws(v),a.scope),v=a.update=()=>E.run();v.id=a.uid,Ze(a,!0),v()},Y=(a,f,g)=>{f.component=a;const y=a.vnode.props;a.vnode=f,a.next=null,Rl(a,f.props,y,g),Il(a,f.children,g),Et(),Us(),Tt()},$=(a,f,g,y,_,C,R,x,E=!1)=>{const v=a&&a.children,N=a?a.shapeFlag:0,F=f.children,{patchFlag:H,shapeFlag:k}=f;if(H>0){if(H&128){Kt(v,F,g,y,_,C,R,x,E);return}else if(H&256){Ne(v,F,g,y,_,C,R,x,E);return}}k&8?(N&16&&He(v,_,C),F!==v&&d(g,F)):N&16?k&16?Kt(v,F,g,y,_,C,R,x,E):He(v,_,C,!0):(N&8&&d(g,""),k&16&&w(F,g,y,_,C,R,x,E))},Ne=(a,f,g,y,_,C,R,x,E)=>{a=a||pt,f=f||pt;const v=a.length,N=f.length,F=Math.min(v,N);let H;for(H=0;HN?He(a,_,C,!0,!1,F):w(f,g,y,_,C,R,x,E,F)},Kt=(a,f,g,y,_,C,R,x,E)=>{let v=0;const N=f.length;let F=a.length-1,H=N-1;for(;v<=F&&v<=H;){const k=a[v],q=f[v]=E?Ve(f[v]):Ae(f[v]);if(nt(k,q))O(k,q,g,null,_,C,R,x,E);else break;v++}for(;v<=F&&v<=H;){const k=a[F],q=f[H]=E?Ve(f[H]):Ae(f[H]);if(nt(k,q))O(k,q,g,null,_,C,R,x,E);else break;F--,H--}if(v>F){if(v<=H){const k=H+1,q=kH)for(;v<=F;)Pe(a[v],_,C,!0),v++;else{const k=v,q=v,G=new Map;for(v=q;v<=H;v++){const _e=f[v]=E?Ve(f[v]):Ae(f[v]);_e.key!=null&&G.set(_e.key,v)}let Z,se=0;const Te=H-q+1;let ft=!1,Is=0;const St=new Array(Te);for(v=0;v=Te){Pe(_e,_,C,!0);continue}let Ie;if(_e.key!=null)Ie=G.get(_e.key);else for(Z=q;Z<=H;Z++)if(St[Z-q]===0&&nt(_e,f[Z])){Ie=Z;break}Ie===void 0?Pe(_e,_,C,!0):(St[Ie-q]=v+1,Ie>=Is?Is=Ie:ft=!0,O(_e,f[Ie],g,null,_,C,R,x,E),se++)}const Fs=ft?Nl(St):pt;for(Z=Fs.length-1,v=Te-1;v>=0;v--){const _e=q+v,Ie=f[_e],Ms=_e+1{const{el:C,type:R,transition:x,children:E,shapeFlag:v}=a;if(v&6){Qe(a.component.subTree,f,g,y);return}if(v&128){a.suspense.move(f,g,y);return}if(v&64){R.move(a,f,g,ut);return}if(R===ge){s(C,f,g);for(let F=0;Fx.enter(C),_);else{const{leave:F,delayLeave:H,afterLeave:k}=x,q=()=>s(C,f,g),G=()=>{F(C,()=>{q(),k&&k()})};H?H(C,q,G):G()}else s(C,f,g)},Pe=(a,f,g,y=!1,_=!1)=>{const{type:C,props:R,ref:x,children:E,dynamicChildren:v,shapeFlag:N,patchFlag:F,dirs:H}=a;if(x!=null&&pn(x,null,g,a,!0),N&256){f.ctx.deactivate(a);return}const k=N&1&&H,q=!_t(a);let G;if(q&&(G=R&&R.onVnodeBeforeUnmount)&&xe(G,f,a),N&6)Yi(a.component,g,y);else{if(N&128){a.suspense.unmount(g,y);return}k&&Fe(a,null,f,"beforeUnmount"),N&64?a.type.remove(a,f,g,_,ut,y):v&&(C!==ge||F>0&&F&64)?He(v,f,g,!1,!0):(C===ge&&F&384||!_&&N&16)&&He(E,f,g),y&&Os(a)}(q&&(G=R&&R.onVnodeUnmounted)||k)&&pe(()=>{G&&xe(G,f,a),k&&Fe(a,null,f,"unmounted")},g)},Os=a=>{const{type:f,el:g,anchor:y,transition:_}=a;if(f===ge){zi(g,y);return}if(f===Lt){p(a);return}const C=()=>{r(g),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(a.shapeFlag&1&&_&&!_.persisted){const{leave:R,delayLeave:x}=_,E=()=>R(g,C);x?x(a.el,C,E):E()}else C()},zi=(a,f)=>{let g;for(;a!==f;)g=b(a),r(a),a=g;r(f)},Yi=(a,f,g)=>{const{bum:y,scope:_,update:C,subTree:R,um:x}=a;y&&Hn(y),_.stop(),C&&(C.active=!1,Pe(R,a,f,g)),x&&pe(x,f),pe(()=>{a.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&a.asyncDep&&!a.asyncResolved&&a.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve())},He=(a,f,g,y=!1,_=!1,C=0)=>{for(let R=C;Ra.shapeFlag&6?Wt(a.component.subTree):a.shapeFlag&128?a.suspense.next():b(a.anchor||a.el),Ps=(a,f,g)=>{a==null?f._vnode&&Pe(f._vnode,null,null,!0):O(f._vnode||null,a,f,null,null,null,g),Us(),un(),f._vnode=a},ut={p:O,um:Pe,m:Qe,r:Os,mt:re,mc:w,pc:$,pbc:A,n:Wt,o:e};let Ln,Nn;return t&&([Ln,Nn]=t(ut)),{render:Ps,hydrate:Ln,createApp:Tl(Ps,Ln)}}function Ze({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function bi(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function vi(e,t,n=!1){const s=e.children,r=t.children;if(j(s)&&j(r))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}const Hl=e=>e.__isTeleport,ge=Symbol.for("v-fgt"),wt=Symbol.for("v-txt"),ve=Symbol.for("v-cmt"),Lt=Symbol.for("v-stc"),Nt=[];let Re=null;function wi(e=!1){Nt.push(Re=e?null:[])}function $l(){Nt.pop(),Re=Nt[Nt.length-1]||null}let Dt=1;function er(e){Dt+=e}function xi(e){return e.dynamicChildren=Dt>0?Re||pt:null,$l(),Dt>0&&Re&&Re.push(e),e}function Ra(e,t,n,s,r,i){return xi(Ti(e,t,n,s,r,i,!0))}function Ci(e,t,n,s,r){return xi(ue(e,t,n,s,r,!0))}function gn(e){return e?e.__v_isVNode===!0:!1}function nt(e,t){return e.type===t.type&&e.key===t.key}const Fn="__vInternal",Ei=({key:e})=>e??null,rn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ne(e)||le(e)||W(e)?{i:de,r:e,k:t,f:!!n}:e:null);function Ti(e,t=null,n=null,s=0,r=null,i=e===ge?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ei(t),ref:t&&rn(t),scopeId:Sn,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:r,dynamicChildren:null,appContext:null,ctx:de};return l?(Ts(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=ne(n)?8:16),Dt>0&&!o&&Re&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Re.push(c),c}const ue=jl;function jl(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===ei)&&(e=ve),gn(e)){const l=Xe(e,t,!0);return n&&Ts(l,n),Dt>0&&!i&&Re&&(l.shapeFlag&6?Re[Re.indexOf(e)]=l:Re.push(l)),l.patchFlag|=-2,l}if(Yl(e)&&(e=e.__vccOpts),t){t=Dl(t);let{class:l,style:c}=t;l&&!ne(l)&&(t.class=fs(l)),ee(c)&&(Vr(c)&&!j(c)&&(c=ie({},c)),t.style=us(c))}const o=ne(e)?1:nl(e)?128:Hl(e)?64:ee(e)?4:W(e)?2:0;return Ti(e,t,n,s,r,o,i,!0)}function Dl(e){return e?Vr(e)||Fn in e?ie({},e):e:null}function Xe(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,l=t?Bl(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Ei(l),ref:t&&t.ref?n&&r?j(r)?r.concat(rn(t)):[r,rn(t)]:rn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ge?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&&Xe(e.ssContent),ssFallback:e.ssFallback&&Xe(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ai(e=" ",t=0){return ue(wt,null,e,t)}function Oa(e,t){const n=ue(Lt,null,e);return n.staticCount=t,n}function Pa(e="",t=!1){return t?(wi(),Ci(ve,null,e)):ue(ve,null,e)}function Ae(e){return e==null||typeof e=="boolean"?ue(ve):j(e)?ue(ge,null,e.slice()):typeof e=="object"?Ve(e):ue(wt,null,String(e))}function Ve(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Xe(e)}function Ts(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(j(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Ts(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Fn in t)?t._ctx=de:r===3&&de&&(de.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else W(t)?(t={default:t,_ctx:de},n=32):(t=String(t),s&64?(n=16,t=[Ai(t)]):n=8);e.children=t,e.shapeFlag|=n}function Bl(...e){const t={};for(let n=0;noe||de;let As,dt,tr="__VUE_INSTANCE_SETTERS__";(dt=qn()[tr])||(dt=qn()[tr]=[]),dt.push(e=>oe=e),As=e=>{dt.length>1?dt.forEach(t=>t(e)):dt[0](e)};const xt=e=>{As(e),e.scope.on()},it=()=>{oe&&oe.scope.off(),As(null)};function Si(e){return e.vnode.shapeFlag&4}let Bt=!1;function Wl(e,t=!1){Bt=t;const{props:n,children:s}=e.vnode,r=Si(e);Sl(e,n,r,t),Pl(e,s);const i=r?Vl(e,t):void 0;return Bt=!1,i}function Vl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ft(new Proxy(e.ctx,yl));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Oi(e):null;xt(e),Et();const i=ze(s,e,0,[e.props,r]);if(Tt(),it(),Or(i)){if(i.then(it,it),t)return i.then(o=>{nr(e,o,t)}).catch(o=>{En(o,e,0)});e.asyncDep=i}else nr(e,i,t)}else Ri(e,t)}function nr(e,t,n){W(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ee(t)&&(e.setupState=Jr(t)),Ri(e,n)}let sr;function Ri(e,t,n){const s=e.type;if(!e.render){if(!t&&sr&&!s.render){const r=s.template||Cs(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,u=ie(ie({isCustomElement:i,delimiters:l},o),c);s.render=sr(r,u)}}e.render=s.render||Oe}{xt(e),Et();try{bl(e)}finally{Tt(),it()}}}function ql(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return ye(e,"get","$attrs"),t[n]}}))}function Oi(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return ql(e)},slots:e.slots,emit:e.emit,expose:t}}function Ss(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Jr(Ft(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Mt)return Mt[n](e)},has(t,n){return n in t||n in Mt}}))}function zl(e,t=!0){return W(e)?e.displayName||e.name:e.name||t&&e.__name}function Yl(e){return W(e)&&"__vccOpts"in e}const ae=(e,t)=>Wo(e,t,Bt);function ss(e,t,n){const s=arguments.length;return s===2?ee(t)&&!j(t)?gn(t)?ue(e,null,[t]):ue(e,t):ue(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&gn(n)&&(n=[n]),ue(e,t,n))}const Jl=Symbol.for("v-scx"),Xl=()=>bt(Jl),Ql="3.3.8",Zl="http://www.w3.org/2000/svg",st=typeof document<"u"?document:null,rr=st&&st.createElement("template"),Gl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?st.createElementNS(Zl,e):st.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>st.createTextNode(e),createComment:e=>st.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>st.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{rr.innerHTML=s?`${e}`:e;const l=rr.content;if(s){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ue="transition",Rt="animation",kt=Symbol("_vtc"),Pi=(e,{slots:t})=>ss(ol,ec(e),t);Pi.displayName="Transition";const Ii={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};Pi.props=ie({},ii,Ii);const Ge=(e,t=[])=>{j(e)?e.forEach(n=>n(...t)):e&&e(...t)},ir=e=>e?j(e)?e.some(t=>t.length>1):e.length>1:!1;function ec(e){const t={};for(const S in e)S in Ii||(t[S]=e[S]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=o,appearToClass:d=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:b=`${n}-leave-active`,leaveToClass:T=`${n}-leave-to`}=e,I=tc(r),O=I&&I[0],D=I&&I[1],{onBeforeEnter:U,onEnter:z,onEnterCancelled:m,onLeave:p,onLeaveCancelled:M,onBeforeAppear:K=U,onAppear:B=z,onAppearCancelled:w=m}=t,P=(S,V,re)=>{et(S,V?d:l),et(S,V?u:o),re&&re()},A=(S,V)=>{S._isLeaving=!1,et(S,h),et(S,T),et(S,b),V&&V()},Q=S=>(V,re)=>{const ce=S?B:z,L=()=>P(V,S,re);Ge(ce,[V,L]),or(()=>{et(V,S?c:i),Ke(V,S?d:l),ir(ce)||lr(V,s,O,L)})};return ie(t,{onBeforeEnter(S){Ge(U,[S]),Ke(S,i),Ke(S,o)},onBeforeAppear(S){Ge(K,[S]),Ke(S,c),Ke(S,u)},onEnter:Q(!1),onAppear:Q(!0),onLeave(S,V){S._isLeaving=!0;const re=()=>A(S,V);Ke(S,h),rc(),Ke(S,b),or(()=>{S._isLeaving&&(et(S,h),Ke(S,T),ir(p)||lr(S,s,D,re))}),Ge(p,[S,re])},onEnterCancelled(S){P(S,!1),Ge(m,[S])},onAppearCancelled(S){P(S,!0),Ge(w,[S])},onLeaveCancelled(S){A(S),Ge(M,[S])}})}function tc(e){if(e==null)return null;if(ee(e))return[Bn(e.enter),Bn(e.leave)];{const t=Bn(e);return[t,t]}}function Bn(e){return no(e)}function Ke(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[kt]||(e[kt]=new Set)).add(t)}function et(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[kt];n&&(n.delete(t),n.size||(e[kt]=void 0))}function or(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let nc=0;function lr(e,t,n,s){const r=e._endId=++nc,i=()=>{r===e._endId&&s()};if(n)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=sc(e,t);if(!o)return s();const u=o+"end";let d=0;const h=()=>{e.removeEventListener(u,b),i()},b=T=>{T.target===e&&++d>=c&&h()};setTimeout(()=>{d(n[I]||"").split(", "),r=s(`${Ue}Delay`),i=s(`${Ue}Duration`),o=cr(r,i),l=s(`${Rt}Delay`),c=s(`${Rt}Duration`),u=cr(l,c);let d=null,h=0,b=0;t===Ue?o>0&&(d=Ue,h=o,b=i.length):t===Rt?u>0&&(d=Rt,h=u,b=c.length):(h=Math.max(o,u),d=h>0?o>u?Ue:Rt:null,b=d?d===Ue?i.length:c.length:0);const T=d===Ue&&/\b(transform|all)(,|$)/.test(s(`${Ue}Property`).toString());return{type:d,timeout:h,propCount:b,hasTransform:T}}function cr(e,t){for(;e.lengthar(n)+ar(e[s])))}function ar(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function rc(){return document.body.offsetHeight}function ic(e,t,n){const s=e[kt];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const oc=Symbol("_vod");function lc(e,t,n){const s=e.style,r=ne(n);if(n&&!r){if(t&&!ne(t))for(const i in t)n[i]==null&&rs(s,i,"");for(const i in n)rs(s,i,n[i])}else{const i=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),oc in e&&(s.display=i)}}const ur=/\s*!important$/;function rs(e,t,n){if(j(n))n.forEach(s=>rs(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=cc(e,t);ur.test(n)?e.setProperty(at(s),n.replace(ur,""),"important"):e[s]=n}}const fr=["Webkit","Moz","ms"],kn={};function cc(e,t){const n=kn[t];if(n)return n;let s=Le(t);if(s!=="filter"&&s in e)return kn[t]=s;s=vn(s);for(let r=0;rUn||(gc.then(()=>Un=0),Un=Date.now());function yc(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ee(_c(s,n.value),t,5,[s])};return n.value=e,n.attached=mc(),n}function _c(e,t){if(j(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const gr=/^on[a-z]/,bc=(e,t,n,s,r=!1,i,o,l,c)=>{t==="class"?ic(e,s,r):t==="style"?lc(e,n,s):Ut(t)?ls(t)||hc(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):vc(e,t,s,r))?uc(e,t,s,i,o,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),ac(e,t,s,r))};function vc(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&gr.test(t)&&W(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||gr.test(t)&&ne(n)?!1:t in e}const wc=["ctrl","shift","alt","meta"],xc={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)=>wc.some(n=>e[`${n}Key`]&&!t.includes(n))},Ia=(e,t)=>(n,...s)=>{for(let r=0;rn=>{if(!("key"in n))return;const s=at(n.key);if(t.some(r=>r===s||Cc[r]===s))return e(n)},Ec=ie({patchProp:bc},Gl);let Kn,mr=!1;function Tc(){return Kn=mr?Kn:Ml(Ec),mr=!0,Kn}const Ma=(...e)=>{const t=Tc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Ac(s);if(r)return n(r,!0,r instanceof SVGElement)},t};function Ac(e){return ne(e)?document.querySelector(e):e}const La=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Sc="modulepreload",Rc=function(e){return"/"+e},yr={},Na=function(t,n,s){if(!n||n.length===0)return t();const r=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=Rc(i),i in yr)return;yr[i]=!0;const o=i.endsWith(".css"),l=o?'[rel="stylesheet"]':"";if(!!s)for(let d=r.length-1;d>=0;d--){const h=r[d];if(h.href===i&&(!o||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${l}`))return;const u=document.createElement("link");if(u.rel=o?"stylesheet":Sc,o||(u.as="script",u.crossOrigin=""),u.href=i,document.head.appendChild(u),o)return new Promise((d,h)=>{u.addEventListener("load",d),u.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t()).catch(i=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=i,window.dispatchEvent(o),!o.defaultPrevented)throw i})},Oc=window.__VP_SITE_DATA__;function Rs(e){return Lr()?(fo(e),!0):!1}function ot(e){return typeof e=="function"?e():Yr(e)}const Fi=typeof window<"u"&&typeof document<"u",Pc=Object.prototype.toString,Ic=e=>Pc.call(e)==="[object Object]",Mi=()=>{},_r=Fc();function Fc(){var e;return Fi&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function Mc(e,t){function n(...s){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(i)})}return n}const Li=e=>e();function Lc(e=Li){const t=me(!0);function n(){t.value=!1}function s(){t.value=!0}const r=(...i)=>{t.value&&e(...i)};return{isActive:Cn(t),pause:n,resume:s,eventFilter:r}}function Ni(...e){if(e.length!==1)return ko(...e);const t=e[0];return typeof t=="function"?Cn(jo(()=>({get:t,set:Mi}))):me(t)}function Nc(e,t,n={}){const{eventFilter:s=Li,...r}=n;return Ye(e,Mc(s,t),r)}function Hc(e,t,n={}){const{eventFilter:s,...r}=n,{eventFilter:i,pause:o,resume:l,isActive:c}=Lc(s);return{stop:Nc(e,t,{...r,eventFilter:i}),pause:o,resume:l,isActive:c}}function $c(e,t=!0){Mn()?At(e):t?e():Tn(e)}function Hi(e){var t;const n=ot(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Ct=Fi?window:void 0;function mn(...e){let t,n,s,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,r]=e,t=Ct):[t,n,s,r]=e,!t)return Mi;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const i=[],o=()=>{i.forEach(d=>d()),i.length=0},l=(d,h,b,T)=>(d.addEventListener(h,b,T),()=>d.removeEventListener(h,b,T)),c=Ye(()=>[Hi(t),ot(r)],([d,h])=>{if(o(),!d)return;const b=Ic(h)?{...h}:h;i.push(...n.flatMap(T=>s.map(I=>l(d,T,I,b))))},{immediate:!0,flush:"post"}),u=()=>{c(),o()};return Rs(u),u}function jc(){const e=me(!1);return Mn()&&At(()=>{e.value=!0}),e}function Dc(e){const t=jc();return ae(()=>(t.value,!!e()))}function Bc(e,t={}){const{window:n=Ct}=t,s=Dc(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const i=me(!1),o=u=>{i.value=u.matches},l=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",o):r.removeListener(o))},c=si(()=>{s.value&&(l(),r=n.matchMedia(ot(e)),"addEventListener"in r?r.addEventListener("change",o):r.addListener(o),i.value=r.matches)});return Rs(()=>{c(),l(),r=void 0}),i}const en=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},tn="__vueuse_ssr_handlers__",kc=Uc();function Uc(){return tn in en||(en[tn]=en[tn]||{}),en[tn]}function $i(e,t){return kc[e]||t}function Kc(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Wc={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},br="vueuse-storage";function Vc(e,t,n,s={}){var r;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:u=!1,shallow:d,window:h=Ct,eventFilter:b,onError:T=w=>{console.error(w)}}=s,I=(d?qr:me)(t);if(!n)try{n=$i("getDefaultStorage",()=>{var w;return(w=Ct)==null?void 0:w.localStorage})()}catch(w){T(w)}if(!n)return I;const O=ot(t),D=Kc(O),U=(r=s.serializer)!=null?r:Wc[D],{pause:z,resume:m}=Hc(I,()=>p(I.value),{flush:i,deep:o,eventFilter:b});return h&&l&&(mn(h,"storage",B),mn(h,br,K)),B(),I;function p(w){try{if(w==null)n.removeItem(e);else{const P=U.write(w),A=n.getItem(e);A!==P&&(n.setItem(e,P),h&&h.dispatchEvent(new CustomEvent(br,{detail:{key:e,oldValue:A,newValue:P,storageArea:n}})))}}catch(P){T(P)}}function M(w){const P=w?w.newValue:n.getItem(e);if(P==null)return c&&O!==null&&n.setItem(e,U.write(O)),O;if(!w&&u){const A=U.read(P);return typeof u=="function"?u(A,O):D==="object"&&!Array.isArray(A)?{...O,...A}:A}else return typeof P!="string"?P:U.read(P)}function K(w){B(w.detail)}function B(w){if(!(w&&w.storageArea!==n)){if(w&&w.key==null){I.value=O;return}if(!(w&&w.key!==e)){z();try{(w==null?void 0:w.newValue)!==U.write(I.value)&&(I.value=M(w))}catch(P){T(P)}finally{w?Tn(m):m()}}}}}function qc(e){return Bc("(prefers-color-scheme: dark)",e)}function zc(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=Ct,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:u,disableTransition:d=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},b=qc({window:r}),T=ae(()=>b.value?"dark":"light"),I=c||(o==null?Ni(s):Vc(o,s,i,{window:r,listenToStorageChanges:l})),O=ae(()=>I.value==="auto"?T.value:I.value),D=$i("updateHTMLAttrs",(p,M,K)=>{const B=typeof p=="string"?r==null?void 0:r.document.querySelector(p):Hi(p);if(!B)return;let w;if(d){w=r.document.createElement("style");const P="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";w.appendChild(document.createTextNode(P)),r.document.head.appendChild(w)}if(M==="class"){const P=K.split(/\s/g);Object.values(h).flatMap(A=>(A||"").split(/\s/g)).filter(Boolean).forEach(A=>{P.includes(A)?B.classList.add(A):B.classList.remove(A)})}else B.setAttribute(M,K);d&&(r.getComputedStyle(w).opacity,document.head.removeChild(w))});function U(p){var M;D(t,n,(M=h[p])!=null?M:p)}function z(p){e.onChanged?e.onChanged(p,U):U(p)}Ye(O,z,{flush:"post",immediate:!0}),$c(()=>z(O.value));const m=ae({get(){return u?I.value:O.value},set(p){I.value=p}});try{return Object.assign(m,{store:I,system:T,state:O})}catch{return m}}function Yc(e={}){const{valueDark:t="dark",valueLight:n=""}=e,s=zc({...e,onChanged:(i,o)=>{var l;e.onChanged?(l=e.onChanged)==null||l.call(e,i==="dark",o,i):o(i)},modes:{dark:t,light:n}});return ae({get(){return s.value==="dark"},set(i){const o=i?"dark":"light";s.system.value===o?s.value="auto":s.value=o}})}function Wn(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function ji(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}function Ha(e,t=!1){const n=me(t);let s=null,r;Ye(Ni(e),l=>{const c=Wn(ot(l));if(c){const u=c;r=u.style.overflow,n.value&&(u.style.overflow="hidden")}},{immediate:!0});const i=()=>{const l=Wn(ot(e));!l||n.value||(_r&&(s=mn(l,"touchmove",c=>{Jc(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},o=()=>{const l=Wn(ot(e));!l||!n.value||(_r&&(s==null||s()),l.style.overflow=r,n.value=!1)};return Rs(o),ae({get(){return n.value},set(l){l?i():o()}})}function $a(e={}){const{window:t=Ct}=e;if(!t)return{x:me(0),y:me(0)};const n=me(t.scrollX),s=me(t.scrollY);return mn(t,"scroll",()=>{n.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:n,y:s}}const Di=/^[a-z]+:/i,Xc="vitepress-theme-appearance",Bi=/#.*$/,Qc=/(index)?\.(md|html)$/,Ce=typeof document<"u",ki={relativePath:"",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function Zc(e,t,n=!1){if(t===void 0)return!1;if(e=vr(`/${e}`),n)return new RegExp(t).test(e);if(vr(t)!==e)return!1;const s=t.match(Bi);return s?(Ce?location.hash:"")===s[0]:!0}function vr(e){return decodeURI(e).replace(Bi,"").replace(Qc,"")}function Gc(e){return Di.test(e)}function ea(e,t){var s,r,i,o,l,c,u;const n=Object.keys(e.locales).find(d=>d!=="root"&&!Gc(d)&&Zc(t,`/${d}/`,!0))||"root";return Object.assign({},e,{localeIndex:n,lang:((s=e.locales[n])==null?void 0:s.lang)??e.lang,dir:((r=e.locales[n])==null?void 0:r.dir)??e.dir,title:((i=e.locales[n])==null?void 0:i.title)??e.title,titleTemplate:((o=e.locales[n])==null?void 0:o.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:Ki(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(u=e.locales[n])==null?void 0:u.themeConfig}})}function Ui(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 r=ta(e.title,s);return`${n}${r}`}function ta(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function na(e,t){const[n,s]=t;if(n!=="meta")return!1;const r=Object.entries(s)[0];return r==null?!1:e.some(([i,o])=>i===n&&o[r[0]]===r[1])}function Ki(e,t){return[...e.filter(n=>!na(t,n)),...t]}const sa=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,ra=/^[a-z]:/i;function wr(e){const t=ra.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(sa,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const ia=Symbol(),lt=qr(Oc);function ja(e){const t=ae(()=>ea(lt.value,e.data.relativePath)),n=t.value.appearance,s=n==="force-dark"?me(!0):n?Yc({storageKey:Xc,initialValue:()=>typeof n=="string"?n:"auto",...typeof n=="object"?n:{}}):me(!1);return{site:t,theme:ae(()=>t.value.themeConfig),page:ae(()=>e.data),frontmatter:ae(()=>e.data.frontmatter),params:ae(()=>e.data.params),lang:ae(()=>t.value.lang),dir:ae(()=>t.value.dir),localeIndex:ae(()=>t.value.localeIndex||"root"),title:ae(()=>Ui(t.value,e.data)),description:ae(()=>e.data.description||t.value.description),isDark:s}}function oa(){const e=bt(ia);if(!e)throw new Error("vitepress data not properly injected in app");return e}function la(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function xr(e){return Di.test(e)||!e.startsWith("/")?e:la(lt.value.base,e)}function ca(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),Ce){const n="/";t=wr(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let s=__VP_HASH_MAP__[t.toLowerCase()];if(s||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",s=__VP_HASH_MAP__[t.toLowerCase()]),!s)return null;t=`${n}assets/${t}.${s}.js`}else t=`./${wr(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let on=[];function Da(e){on.push(e),In(()=>{on=on.filter(t=>t!==e)})}const aa=Symbol(),Wi="http://a.com",ua=()=>({path:"/",component:null,data:ki});function Ba(e,t){const n=xn(ua()),s={route:n,go:r};async function r(l=Ce?location.href:"/"){var c,u;l=is(l),await((c=s.onBeforeRouteChange)==null?void 0:c.call(s,l))!==!1&&(Tr(l),await o(l),await((u=s.onAfterRouteChanged)==null?void 0:u.call(s,l)))}let i=null;async function o(l,c=0,u=!1){var b;if(await((b=s.onBeforePageLoad)==null?void 0:b.call(s,l))===!1)return;const d=new URL(l,Wi),h=i=d.pathname;try{let T=await e(h);if(!T)throw new Error(`Page not found: ${h}`);if(i===h){i=null;const{default:I,__pageData:O}=T;if(!I)throw new Error(`Invalid route component: ${I}`);n.path=Ce?h:xr(h),n.component=Ft(I),n.data=Ft(O),Ce&&Tn(()=>{let D=lt.value.base+O.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!lt.value.cleanUrls&&!D.endsWith("/")&&(D+=".html"),D!==d.pathname&&(d.pathname=D,l=D+d.search+d.hash,history.replaceState(null,"",l)),d.hash&&!c){let U=null;try{U=document.getElementById(decodeURIComponent(d.hash).slice(1))}catch(z){console.warn(z)}if(U){Cr(U,d.hash);return}}window.scrollTo(0,c)})}}catch(T){if(!/fetch|Page not found/.test(T.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(T),!u)try{const I=await fetch(lt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await I.json(),await o(l,c,!0);return}catch{}i===h&&(i=null,n.path=Ce?h:xr(h),n.component=t?Ft(t):null,n.data=ki)}}return Ce&&(window.addEventListener("click",l=>{if(l.target.closest("button"))return;const u=l.target.closest("a");if(u&&!u.closest(".vp-raw")&&(u instanceof SVGElement||!u.download)){const{target:d}=u,{href:h,origin:b,pathname:T,hash:I,search:O}=new URL(u.href instanceof SVGAnimatedString?u.href.animVal:u.href,u.baseURI),D=window.location,U=T.match(/\.\w+$/);!l.ctrlKey&&!l.shiftKey&&!l.altKey&&!l.metaKey&&!d&&b===D.origin&&!(U&&U[0]!==".html")&&(l.preventDefault(),T===D.pathname&&O===D.search?(I!==D.hash&&(history.pushState(null,"",I),window.dispatchEvent(new Event("hashchange"))),I?Cr(u,I,u.classList.contains("header-anchor")):(Tr(h),window.scrollTo(0,0))):r(h))}},{capture:!0}),window.addEventListener("popstate",l=>{o(is(location.href),l.state&&l.state.scrollPosition||0)}),window.addEventListener("hashchange",l=>{l.preventDefault()})),s}function fa(){const e=bt(aa);if(!e)throw new Error("useRouter() is called without provider.");return e}function Vi(){return fa().route}function Cr(e,t,n=!1){let s=null;try{s=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(r){console.warn(r)}if(s){let u=function(){!n||Math.abs(c-window.scrollY)>window.innerHeight?window.scrollTo(0,c):window.scrollTo({left:0,top:c,behavior:"smooth"})},r=lt.value.scrollOffset,i=0,o=24;if(typeof r=="object"&&"padding"in r&&(o=r.padding,r=r.selector),typeof r=="number")i=r;else if(typeof r=="string")i=Er(r,o);else if(Array.isArray(r))for(const d of r){const h=Er(d,o);if(h){i=h;break}}const l=parseInt(window.getComputedStyle(s).paddingTop,10),c=window.scrollY+s.getBoundingClientRect().top-i+l;requestAnimationFrame(u)}}function Er(e,t){const n=document.querySelector(e);if(!n)return 0;const s=n.getBoundingClientRect().bottom;return s<0?0:s+t}function Tr(e){Ce&&e!==is(location.href)&&(history.replaceState({scrollPosition:window.scrollY},document.title),history.pushState(null,"",e))}function is(e){const t=new URL(e,Wi);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),lt.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash}const Ar=()=>on.forEach(e=>e()),ka=ci({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Vi(),{site:n}=oa();return()=>ss(e.as,n.value.contentProps??{style:{position:"relative"}},[t.component?ss(t.component,{onVnodeMounted:Ar,onVnodeUpdated:Ar}):"404 Page Not Found"])}}),Ua=ci({setup(e,{slots:t}){const n=me(!1);return At(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function Ka(){Ce&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const s=(n=t.parentElement)==null?void 0:n.parentElement;if(!s)return;const r=Array.from(s.querySelectorAll("input")).indexOf(t);if(r<0)return;const i=s.querySelector(".blocks");if(!i)return;const o=Array.from(i.children).find(u=>u.classList.contains("active"));if(!o)return;const l=i.children[r];if(!l||o===l)return;o.classList.remove("active"),l.classList.add("active");const c=s==null?void 0:s.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function Wa(){if(Ce){const e=new WeakMap;window.addEventListener("click",t=>{var s;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const r=n.parentElement,i=(s=n.nextElementSibling)==null?void 0:s.nextElementSibling;if(!r||!i)return;const o=/language-(shellscript|shell|bash|sh|zsh)/.test(r.className);let l="";i.querySelectorAll("span.line:not(.diff.remove)").forEach(c=>l+=(c.textContent||"")+` +`),l=l.slice(0,-1),o&&(l=l.replace(/^ *(\$|>) /gm,"").trim()),da(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 da(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(),r=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),r&&(s.removeAllRanges(),s.addRange(r)),n&&n.focus()}}function Va(e,t){let n=[],s=!0;const r=i=>{if(s){s=!1;return}const o=i.map(Sr);n.forEach((l,c)=>{const u=o.findIndex(d=>d==null?void 0:d.isEqualNode(l??null));u!==-1?delete o[u]:(l==null||l.remove(),delete n[c])}),o.forEach(l=>l&&document.head.appendChild(l)),n=[...n,...o].filter(Boolean)};si(()=>{const i=e.data,o=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[],u=Ui(o,i);u!==document.title&&(document.title=u);const d=l||o.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==d&&h.setAttribute("content",d):Sr(["meta",{name:"description",content:d}]),r(Ki(o.head,pa(c)))})}function Sr([e,t,n]){const s=document.createElement(e);for(const r in t)s.setAttribute(r,t[r]);return n&&(s.innerHTML=n),e==="script"&&!t.async&&(s.async=!1),s}function ha(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function pa(e){return e.filter(t=>!ha(t))}const Vn=new Set,qi=()=>document.createElement("link"),ga=e=>{const t=qi();t.rel="prefetch",t.href=e,document.head.appendChild(t)},ma=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let nn;const ya=Ce&&(nn=qi())&&nn.relList&&nn.relList.supports&&nn.relList.supports("prefetch")?ga:ma;function qa(){if(!Ce||!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(o=>{if(o.isIntersecting){const l=o.target;n.unobserve(l);const{pathname:c}=l;if(!Vn.has(c)){Vn.add(c);const u=ca(c);u&&ya(u)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{hostname:o,pathname:l}=new URL(i.href instanceof SVGAnimatedString?i.href.animVal:i.href,i.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||i.target!=="_blank"&&o===location.hostname&&(l!==location.pathname?n.observe(i):Vn.add(l))})})};At(s);const r=Vi();Ye(()=>r.path,s),In(()=>{n&&n.disconnect()})}export{aa as $,Ca as A,dl as B,wa as C,Ea as D,qr as E,ge as F,Da as G,ue as H,xa as I,Di as J,Vi as K,Bl as L,bt as M,us as N,Tn as O,$a as P,Oa as Q,Cn as R,Ha as S,Pi as T,Al as U,Fa as V,Aa as W,Ia as X,Sa as Y,Va as Z,La as _,Ai as a,ja as a0,ia as a1,ka as a2,Ua as a3,lt as a4,Ma as a5,Ba as a6,ca as a7,Na as a8,qa as a9,Wa as aa,Ka as ab,ss as ac,Ci as b,Ra as c,ci as d,Pa as e,xr as f,ae as g,me as h,Gc as i,At as j,Ti as k,Yr as l,va as m,fs as n,wi as o,ba as p,Zc as q,Ta as r,Ce as s,_a as t,oa as u,Bc as v,Qo as w,Ye as x,si as y,In as z}; diff --git a/assets/chunks/theme.0dd48c6f.js b/assets/chunks/theme.9c375a70.js similarity index 99% rename from assets/chunks/theme.0dd48c6f.js rename to assets/chunks/theme.9c375a70.js index 943b4060..540c8f5e 100644 --- a/assets/chunks/theme.0dd48c6f.js +++ b/assets/chunks/theme.9c375a70.js @@ -1 +1 @@ -import{d as g,o as a,c as i,r as u,n as N,a as x,t as L,_ as m,b as $,w as v,T as ce,e as f,u as He,i as ze,f as ue,g as k,h as S,j as G,k as c,l,p as H,m as z,q as O,s as R,v as re,x as U,y as te,z as de,A as Pe,B as De,C as j,F as M,D as A,E as _e,G as Y,H as h,I as E,J as Ve,K as se,L as X,M as ne,N as Fe,O as Ee,P as we,Q as Oe,R as Ge,S as Le,U as Se,V as Ue,W as je,X as qe,Y as Ke}from"./framework.6ee49df6.js";const Re=g({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(s){return(e,t)=>(a(),i("span",{class:N(["VPBadge",e.type])},[u(e.$slots,"default",{},()=>[x(L(e.text),1)],!0)],2))}});const We=m(Re,[["__scopeId","data-v-9613cc9f"]]),Ye={key:0,class:"VPBackdrop"},Je=g({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(s){return(e,t)=>(a(),$(ce,{name:"fade"},{default:v(()=>[e.show?(a(),i("div",Ye)):f("",!0)]),_:1}))}});const Qe=m(Je,[["__scopeId","data-v-c79a1216"]]),P=He;function Xe(s,e){let t,n=!1;return()=>{t&&clearTimeout(t),n?t=setTimeout(s,e):(s(),(n=!0)&&setTimeout(()=>n=!1,e))}}function le(s){return/^\//.test(s)?s:`/${s}`}function J(s){if(ze(s))return s;const{site:e}=P(),{pathname:t,search:n,hash:o}=new URL(s,"http://a.com"),r=t.endsWith("/")||t.endsWith(".html")?s:s.replace(/(?:(^\.+)\/)?.*$/,`$1${t.replace(/(\.md)?$/,e.value.cleanUrls?"":".html")}${n}${o}`);return ue(r)}function Q({removeCurrent:s=!0,correspondingLink:e=!1}={}){const{site:t,localeIndex:n,page:o,theme:r}=P(),d=k(()=>{var _,b;return{label:(_=t.value.locales[n.value])==null?void 0:_.label,link:((b=t.value.locales[n.value])==null?void 0:b.link)||(n.value==="root"?"/":`/${n.value}/`)}});return{localeLinks:k(()=>Object.entries(t.value.locales).flatMap(([_,b])=>s&&d.value.label===b.label?[]:{text:b.label,link:Ze(b.link||(_==="root"?"/":`/${_}/`),r.value.i18nRouting!==!1&&e,o.value.relativePath.slice(d.value.link.length-1),!t.value.cleanUrls)})),currentLang:d}}function Ze(s,e,t,n){return e?s.replace(/\/$/,"")+le(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):s}const et=s=>(H("data-v-f87ff6e4"),s=s(),z(),s),tt={class:"NotFound"},st={class:"code"},nt={class:"title"},ot=et(()=>c("div",{class:"divider"},null,-1)),at={class:"quote"},rt={class:"action"},lt=["href","aria-label"],it=g({__name:"NotFound",setup(s){const{site:e,theme:t}=P(),{localeLinks:n}=Q({removeCurrent:!1}),o=S("/");return G(()=>{var d;const r=window.location.pathname.replace(e.value.base,"").replace(/(^.*?\/).*$/,"/$1");n.value.length&&(o.value=((d=n.value.find(({link:p})=>p.startsWith(r)))==null?void 0:d.link)||n.value[0].link)}),(r,d)=>{var p,_,b,y,w;return a(),i("div",tt,[c("p",st,L(((p=l(t).notFound)==null?void 0:p.code)??"404"),1),c("h1",nt,L(((_=l(t).notFound)==null?void 0:_.title)??"PAGE NOT FOUND"),1),ot,c("blockquote",at,L(((b=l(t).notFound)==null?void 0:b.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),c("div",rt,[c("a",{class:"link",href:l(ue)(o.value),"aria-label":((y=l(t).notFound)==null?void 0:y.linkLabel)??"go to home"},L(((w=l(t).notFound)==null?void 0:w.linkText)??"Take me home"),9,lt)])])}}});const ct=m(it,[["__scopeId","data-v-f87ff6e4"]]);function Me(s,e){if(Array.isArray(s))return Z(s);if(s==null)return[];e=le(e);const t=Object.keys(s).sort((o,r)=>r.split("/").length-o.split("/").length).find(o=>e.startsWith(le(o))),n=t?s[t]:[];return Array.isArray(n)?Z(n):Z(n.items,n.base)}function ut(s){const e=[];let t=0;for(const n in s){const o=s[n];if(o.items){t=e.push(o);continue}e[t]||e.push({items:[]}),e[t].items.push(o)}return e}function dt(s){const e=[];function t(n){for(const o of n)o.text&&o.link&&e.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&t(o.items)}return t(s),e}function ie(s,e){return Array.isArray(e)?e.some(t=>ie(s,t)):O(s,e.link)?!0:e.items?ie(s,e.items):!1}function Z(s,e){return[...s].map(t=>{const n={...t},o=n.base||e;return o&&n.link&&(n.link=o+n.link),n.items&&(n.items=Z(n.items,o)),n})}function D(){const{frontmatter:s,page:e,theme:t}=P(),n=re("(min-width: 960px)"),o=S(!1),r=k(()=>{const T=t.value.sidebar,V=e.value.relativePath;return T?Me(T,V):[]}),d=S(r.value);U(r,(T,V)=>{JSON.stringify(T)!==JSON.stringify(V)&&(d.value=r.value)});const p=k(()=>s.value.sidebar!==!1&&d.value.length>0&&s.value.layout!=="home"),_=k(()=>b?s.value.aside==null?t.value.aside==="left":s.value.aside==="left":!1),b=k(()=>s.value.layout==="home"?!1:s.value.aside!=null?!!s.value.aside:t.value.aside!==!1),y=k(()=>p.value&&n.value),w=k(()=>p.value?ut(d.value):[]);function C(){o.value=!0}function I(){o.value=!1}function B(){o.value?I():C()}return{isOpen:o,sidebar:d,sidebarGroups:w,hasSidebar:p,hasAside:b,leftAside:_,isSidebarEnabled:y,open:C,close:I,toggle:B}}function _t(s,e){let t;te(()=>{t=s.value?document.activeElement:void 0}),G(()=>{window.addEventListener("keyup",n)}),de(()=>{window.removeEventListener("keyup",n)});function n(o){o.key==="Escape"&&s.value&&(e(),t==null||t.focus())}}const Ne=S(R?location.hash:"");R&&window.addEventListener("hashchange",()=>{Ne.value=location.hash});function vt(s){const{page:e}=P(),t=S(!1),n=k(()=>s.value.collapsed!=null),o=k(()=>!!s.value.link),r=S(!1),d=()=>{r.value=O(e.value.relativePath,s.value.link)};U([e,s,Ne],d),G(d);const p=k(()=>r.value?!0:s.value.items?ie(e.value.relativePath,s.value.items):!1),_=k(()=>!!(s.value.items&&s.value.items.length));te(()=>{t.value=!!(n.value&&s.value.collapsed)}),Pe(()=>{(r.value||p.value)&&(t.value=!1)});function b(){n.value&&(t.value=!t.value)}return{collapsed:t,collapsible:n,isLink:o,isActiveLink:r,hasActiveLink:p,hasChildren:_,toggle:b}}function pt(){const{hasSidebar:s}=D(),e=re("(min-width: 960px)"),t=re("(min-width: 1280px)");return{isAsideEnabled:k(()=>!t.value&&!e.value?!1:s.value?t.value:e.value)}}const ht=71;function ve(s){return typeof s.outline=="object"&&!Array.isArray(s.outline)&&s.outline.label||s.outlineTitle||"On this page"}function pe(s){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const n=Number(t.tagName[1]);return{title:ft(t),link:"#"+t.id,level:n}});return mt(e,s)}function ft(s){let e="";for(const t of s.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function mt(s,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[n,o]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;s=s.filter(d=>d.level>=n&&d.level<=o);const r=[];e:for(let d=0;d=0;_--){const b=s[_];if(b.level{requestAnimationFrame(r),window.addEventListener("scroll",n)}),De(()=>{d(location.hash)}),de(()=>{window.removeEventListener("scroll",n)});function r(){if(!t.value)return;const p=[].slice.call(s.value.querySelectorAll(".outline-link")),_=[].slice.call(document.querySelectorAll(".content .header-anchor")).filter(I=>p.some(B=>B.hash===I.hash&&I.offsetParent!==null)),b=window.scrollY,y=window.innerHeight,w=document.body.offsetHeight,C=Math.abs(b+y-w)<1;if(_.length&&C){d(_[_.length-1].hash);return}for(let I=0;I<_.length;I++){const B=_[I],T=_[I+1],[V,q]=bt(I,B,T);if(V){d(q);return}}}function d(p){o&&o.classList.remove("active"),p==null?o=null:o=s.value.querySelector(`a[href="${decodeURIComponent(p)}"]`);const _=o;_?(_.classList.add("active"),e.value.style.top=_.offsetTop+33+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function ke(s){return s.parentElement.offsetTop-ht}function bt(s,e,t){const n=window.scrollY;return s===0&&n===0?[!0,null]:n{const o=j("VPDocOutlineItem",!0);return a(),i("ul",{class:N(t.root?"root":"nested")},[(a(!0),i(M,null,A(t.headers,({children:r,link:d,title:p})=>(a(),i("li",null,[c("a",{class:"outline-link",href:d,onClick:e,title:p},L(p),9,$t),r!=null&&r.length?(a(),$(o,{key:0,headers:r},null,8,["headers"])):f("",!0)]))),256))],2)}}});const he=m(kt,[["__scopeId","data-v-d0ee3533"]]),yt=s=>(H("data-v-d330b1bb"),s=s(),z(),s),Pt={class:"content"},Vt={class:"outline-title",role:"heading","aria-level":"2"},wt={"aria-labelledby":"doc-outline-aria-label"},Lt=yt(()=>c("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),St=g({__name:"VPDocAsideOutline",setup(s){const{frontmatter:e,theme:t}=P(),n=_e([]);Y(()=>{n.value=pe(e.value.outline??t.value.outline)});const o=S(),r=S();return gt(o,r),(d,p)=>(a(),i("div",{class:N(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:o,role:"navigation"},[c("div",Pt,[c("div",{class:"outline-marker",ref_key:"marker",ref:r},null,512),c("div",Vt,L(l(ve)(l(t))),1),c("nav",wt,[Lt,h(he,{headers:n.value,root:!0},null,8,["headers"])])])],2))}});const Mt=m(St,[["__scopeId","data-v-d330b1bb"]]),Nt={class:"VPDocAsideCarbonAds"},It=g({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(s){const e=()=>null;return(t,n)=>(a(),i("div",Nt,[h(l(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),Ct=s=>(H("data-v-3f215769"),s=s(),z(),s),Tt={class:"VPDocAside"},Bt=Ct(()=>c("div",{class:"spacer"},null,-1)),At=g({__name:"VPDocAside",setup(s){const{theme:e}=P();return(t,n)=>(a(),i("div",Tt,[u(t.$slots,"aside-top",{},void 0,!0),u(t.$slots,"aside-outline-before",{},void 0,!0),h(Mt),u(t.$slots,"aside-outline-after",{},void 0,!0),Bt,u(t.$slots,"aside-ads-before",{},void 0,!0),l(e).carbonAds?(a(),$(It,{key:0,"carbon-ads":l(e).carbonAds},null,8,["carbon-ads"])):f("",!0),u(t.$slots,"aside-ads-after",{},void 0,!0),u(t.$slots,"aside-bottom",{},void 0,!0)]))}});const xt=m(At,[["__scopeId","data-v-3f215769"]]);function Ht(){const{theme:s,page:e}=P();return k(()=>{const{text:t="Edit this page",pattern:n=""}=s.value.editLink||{};let o;return typeof n=="function"?o=n(e.value):o=n.replace(/:path/g,e.value.filePath),{url:o,text:t}})}function zt(){const{page:s,theme:e,frontmatter:t}=P();return k(()=>{var _,b,y,w,C,I,B,T;const n=Me(e.value.sidebar,s.value.relativePath),o=dt(n),r=o.findIndex(V=>O(s.value.relativePath,V.link)),d=((_=e.value.docFooter)==null?void 0:_.prev)===!1&&!t.value.prev||t.value.prev===!1,p=((b=e.value.docFooter)==null?void 0:b.next)===!1&&!t.value.next||t.value.next===!1;return{prev:d?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((y=o[r-1])==null?void 0:y.docFooterText)??((w=o[r-1])==null?void 0:w.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((C=o[r-1])==null?void 0:C.link)},next:p?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((I=o[r+1])==null?void 0:I.docFooterText)??((B=o[r+1])==null?void 0:B.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((T=o[r+1])==null?void 0:T.link)}}})}const Dt={},Ft={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Et=c("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),Ot=c("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),Gt=[Et,Ot];function Ut(s,e){return a(),i("svg",Ft,Gt)}const jt=m(Dt,[["render",Ut]]),F=g({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(s){const e=s,t=k(()=>e.tag??(e.href?"a":"span")),n=k(()=>e.href&&Ve.test(e.href));return(o,r)=>(a(),$(E(t.value),{class:N(["VPLink",{link:o.href,"vp-external-link-icon":n.value,"no-icon":o.noIcon}]),href:o.href?l(J)(o.href):void 0,target:o.target??(n.value?"_blank":void 0),rel:o.rel??(n.value?"noreferrer":void 0)},{default:v(()=>[u(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),qt={class:"VPLastUpdated"},Kt=["datetime"],Rt=g({__name:"VPDocFooterLastUpdated",setup(s){const{theme:e,page:t,frontmatter:n,lang:o}=P(),r=k(()=>new Date(n.value.lastUpdated??t.value.lastUpdated)),d=k(()=>r.value.toISOString()),p=S("");return G(()=>{te(()=>{var _,b,y;p.value=new Intl.DateTimeFormat((b=(_=e.value.lastUpdated)==null?void 0:_.formatOptions)!=null&&b.forceLocale?o.value:void 0,((y=e.value.lastUpdated)==null?void 0:y.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(r.value)})}),(_,b)=>{var y;return a(),i("p",qt,[x(L(((y=l(e).lastUpdated)==null?void 0:y.text)||l(e).lastUpdatedText||"Last updated")+": ",1),c("time",{datetime:d.value},L(p.value),9,Kt)])}}});const Wt=m(Rt,[["__scopeId","data-v-7e05ebdb"]]),Yt={key:0,class:"VPDocFooter"},Jt={key:0,class:"edit-info"},Qt={key:0,class:"edit-link"},Xt={key:1,class:"last-updated"},Zt={key:1,class:"prev-next"},es={class:"pager"},ts=["href"],ss=["innerHTML"],ns=["innerHTML"],os={class:"pager"},as=["href"],rs=["innerHTML"],ls=["innerHTML"],is=g({__name:"VPDocFooter",setup(s){const{theme:e,page:t,frontmatter:n}=P(),o=Ht(),r=zt(),d=k(()=>e.value.editLink&&n.value.editLink!==!1),p=k(()=>t.value.lastUpdated&&n.value.lastUpdated!==!1),_=k(()=>d.value||p.value||r.value.prev||r.value.next);return(b,y)=>{var w,C,I,B,T,V;return _.value?(a(),i("footer",Yt,[u(b.$slots,"doc-footer-before",{},void 0,!0),d.value||p.value?(a(),i("div",Jt,[d.value?(a(),i("div",Qt,[h(F,{class:"edit-link-button",href:l(o).url,"no-icon":!0},{default:v(()=>[h(jt,{class:"edit-link-icon","aria-label":"edit icon"}),x(" "+L(l(o).text),1)]),_:1},8,["href"])])):f("",!0),p.value?(a(),i("div",Xt,[h(Wt)])):f("",!0)])):f("",!0),(w=l(r).prev)!=null&&w.link||(C=l(r).next)!=null&&C.link?(a(),i("nav",Zt,[c("div",es,[(I=l(r).prev)!=null&&I.link?(a(),i("a",{key:0,class:"pager-link prev",href:l(J)(l(r).prev.link)},[c("span",{class:"desc",innerHTML:((B=l(e).docFooter)==null?void 0:B.prev)||"Previous page"},null,8,ss),c("span",{class:"title",innerHTML:l(r).prev.text},null,8,ns)],8,ts)):f("",!0)]),c("div",os,[(T=l(r).next)!=null&&T.link?(a(),i("a",{key:0,class:"pager-link next",href:l(J)(l(r).next.link)},[c("span",{class:"desc",innerHTML:((V=l(e).docFooter)==null?void 0:V.next)||"Next page"},null,8,rs),c("span",{class:"title",innerHTML:l(r).next.text},null,8,ls)],8,as)):f("",!0)])])):f("",!0)])):f("",!0)}}});const cs=m(is,[["__scopeId","data-v-ef5dee53"]]),us={},ds={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},_s=c("path",{d:"M9,19c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l5.3-5.3L8.3,6.7c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l6,6c0.4,0.4,0.4,1,0,1.4l-6,6C9.5,18.9,9.3,19,9,19z"},null,-1),vs=[_s];function ps(s,e){return a(),i("svg",ds,vs)}const fe=m(us,[["render",ps]]),hs={key:0,class:"VPDocOutlineDropdown"},fs={key:0,class:"items"},ms=g({__name:"VPDocOutlineDropdown",setup(s){const{frontmatter:e,theme:t}=P(),n=S(!1);Y(()=>{n.value=!1});const o=_e([]);return Y(()=>{o.value=pe(e.value.outline??t.value.outline)}),(r,d)=>o.value.length>0?(a(),i("div",hs,[c("button",{onClick:d[0]||(d[0]=p=>n.value=!n.value),class:N({open:n.value})},[x(L(l(ve)(l(t)))+" ",1),h(fe,{class:"icon"})],2),n.value?(a(),i("div",fs,[h(he,{headers:o.value},null,8,["headers"])])):f("",!0)])):f("",!0)}});const gs=m(ms,[["__scopeId","data-v-eadfb36b"]]),bs=s=>(H("data-v-6b87e69f"),s=s(),z(),s),$s={class:"container"},ks=bs(()=>c("div",{class:"aside-curtain"},null,-1)),ys={class:"aside-container"},Ps={class:"aside-content"},Vs={class:"content"},ws={class:"content-container"},Ls={class:"main"},Ss=g({__name:"VPDoc",setup(s){const{theme:e}=P(),t=se(),{hasSidebar:n,hasAside:o,leftAside:r}=D(),d=k(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(p,_)=>{const b=j("Content");return a(),i("div",{class:N(["VPDoc",{"has-sidebar":l(n),"has-aside":l(o)}])},[u(p.$slots,"doc-top",{},void 0,!0),c("div",$s,[l(o)?(a(),i("div",{key:0,class:N(["aside",{"left-aside":l(r)}])},[ks,c("div",ys,[c("div",Ps,[h(xt,null,{"aside-top":v(()=>[u(p.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[u(p.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[u(p.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[u(p.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[u(p.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[u(p.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):f("",!0),c("div",Vs,[c("div",ws,[u(p.$slots,"doc-before",{},void 0,!0),h(gs),c("main",Ls,[h(b,{class:N(["vp-doc",[d.value,l(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),h(cs,null,{"doc-footer-before":v(()=>[u(p.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),u(p.$slots,"doc-after",{},void 0,!0)])])]),u(p.$slots,"doc-bottom",{},void 0,!0)],2)}}});const Ms=m(Ss,[["__scopeId","data-v-6b87e69f"]]),Ns=g({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{}},setup(s){const e=s,t=k(()=>e.href&&Ve.test(e.href)),n=k(()=>e.tag||e.href?"a":"button");return(o,r)=>(a(),$(E(n.value),{class:N(["VPButton",[o.size,o.theme]]),href:o.href?l(J)(o.href):void 0,target:t.value?"_blank":void 0,rel:t.value?"noreferrer":void 0},{default:v(()=>[x(L(o.text),1)]),_:1},8,["class","href","target","rel"]))}});const Is=m(Ns,[["__scopeId","data-v-c1c5efc1"]]),Cs=["src","alt"],Ts=g({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(s){return(e,t)=>{const n=j("VPImage",!0);return e.image?(a(),i(M,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),i("img",X({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:l(ue)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,Cs)):(a(),i(M,{key:1},[h(n,X({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),h(n,X({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):f("",!0)}}});const ee=m(Ts,[["__scopeId","data-v-8426fc1a"]]),Bs=s=>(H("data-v-da5d1713"),s=s(),z(),s),As={class:"container"},xs={class:"main"},Hs={key:0,class:"name"},zs=["innerHTML"],Ds=["innerHTML"],Fs=["innerHTML"],Es={key:0,class:"actions"},Os={key:0,class:"image"},Gs={class:"image-container"},Us=Bs(()=>c("div",{class:"image-bg"},null,-1)),js=g({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(s){const e=ne("hero-image-slot-exists");return(t,n)=>(a(),i("div",{class:N(["VPHero",{"has-image":t.image||l(e)}])},[c("div",As,[c("div",xs,[u(t.$slots,"home-hero-info",{},()=>[t.name?(a(),i("h1",Hs,[c("span",{innerHTML:t.name,class:"clip"},null,8,zs)])):f("",!0),t.text?(a(),i("p",{key:1,innerHTML:t.text,class:"text"},null,8,Ds)):f("",!0),t.tagline?(a(),i("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,Fs)):f("",!0)],!0),t.actions?(a(),i("div",Es,[(a(!0),i(M,null,A(t.actions,o=>(a(),i("div",{key:o.link,class:"action"},[h(Is,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link},null,8,["theme","text","href"])]))),128))])):f("",!0)]),t.image||l(e)?(a(),i("div",Os,[c("div",Gs,[Us,u(t.$slots,"home-hero-image",{},()=>[t.image?(a(),$(ee,{key:0,class:"image-src",image:t.image},null,8,["image"])):f("",!0)],!0)])])):f("",!0)])],2))}});const qs=m(js,[["__scopeId","data-v-da5d1713"]]),Ks=g({__name:"VPHomeHero",setup(s){const{frontmatter:e}=P();return(t,n)=>l(e).hero?(a(),$(qs,{key:0,class:"VPHomeHero",name:l(e).hero.name,text:l(e).hero.text,tagline:l(e).hero.tagline,image:l(e).hero.image,actions:l(e).hero.actions},{"home-hero-info":v(()=>[u(t.$slots,"home-hero-info")]),"home-hero-image":v(()=>[u(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):f("",!0)}}),Rs={},Ws={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Ys=c("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),Js=[Ys];function Qs(s,e){return a(),i("svg",Ws,Js)}const Xs=m(Rs,[["render",Qs]]),Zs={class:"box"},en={key:0,class:"icon"},tn=["innerHTML"],sn=["innerHTML"],nn=["innerHTML"],on={key:4,class:"link-text"},an={class:"link-text-value"},rn=g({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(s){return(e,t)=>(a(),$(F,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:v(()=>[c("article",Zs,[typeof e.icon=="object"&&e.icon.wrap?(a(),i("div",en,[h(ee,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(a(),$(ee,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(a(),i("div",{key:2,class:"icon",innerHTML:e.icon},null,8,tn)):f("",!0),c("h2",{class:"title",innerHTML:e.title},null,8,sn),e.details?(a(),i("p",{key:3,class:"details",innerHTML:e.details},null,8,nn)):f("",!0),e.linkText?(a(),i("div",on,[c("p",an,[x(L(e.linkText)+" ",1),h(Xs,{class:"link-text-icon"})])])):f("",!0)])]),_:1},8,["href","rel","target","tag"]))}});const ln=m(rn,[["__scopeId","data-v-33204567"]]),cn={key:0,class:"VPFeatures"},un={class:"container"},dn={class:"items"},_n=g({__name:"VPFeatures",props:{features:{}},setup(s){const e=s,t=k(()=>{const n=e.features.length;if(n){if(n===2)return"grid-2";if(n===3)return"grid-3";if(n%3===0)return"grid-6";if(n>3)return"grid-4"}else return});return(n,o)=>n.features?(a(),i("div",cn,[c("div",un,[c("div",dn,[(a(!0),i(M,null,A(n.features,r=>(a(),i("div",{key:r.title,class:N(["item",[t.value]])},[h(ln,{icon:r.icon,title:r.title,details:r.details,link:r.link,"link-text":r.linkText,rel:r.rel,target:r.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):f("",!0)}});const vn=m(_n,[["__scopeId","data-v-a6181336"]]),pn=g({__name:"VPHomeFeatures",setup(s){const{frontmatter:e}=P();return(t,n)=>l(e).features?(a(),$(vn,{key:0,class:"VPHomeFeatures",features:l(e).features},null,8,["features"])):f("",!0)}}),hn={class:"VPHome"},fn=g({__name:"VPHome",setup(s){return(e,t)=>{const n=j("Content");return a(),i("div",hn,[u(e.$slots,"home-hero-before",{},void 0,!0),h(Ks,null,{"home-hero-info":v(()=>[u(e.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[u(e.$slots,"home-hero-image",{},void 0,!0)]),_:3}),u(e.$slots,"home-hero-after",{},void 0,!0),u(e.$slots,"home-features-before",{},void 0,!0),h(pn),u(e.$slots,"home-features-after",{},void 0,!0),h(n)])}}});const mn=m(fn,[["__scopeId","data-v-d82743a8"]]),gn={},bn={class:"VPPage"};function $n(s,e){const t=j("Content");return a(),i("div",bn,[u(s.$slots,"page-top"),h(t),u(s.$slots,"page-bottom")])}const kn=m(gn,[["render",$n]]),yn=g({__name:"VPContent",setup(s){const{page:e,frontmatter:t}=P(),{hasSidebar:n}=D();return(o,r)=>(a(),i("div",{class:N(["VPContent",{"has-sidebar":l(n),"is-home":l(t).layout==="home"}]),id:"VPContent"},[l(e).isNotFound?u(o.$slots,"not-found",{key:0},()=>[h(ct)],!0):l(t).layout==="page"?(a(),$(kn,{key:1},{"page-top":v(()=>[u(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[u(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):l(t).layout==="home"?(a(),$(mn,{key:2},{"home-hero-before":v(()=>[u(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":v(()=>[u(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[u(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[u(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[u(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[u(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):l(t).layout&&l(t).layout!=="doc"?(a(),$(E(l(t).layout),{key:3})):(a(),$(Ms,{key:4},{"doc-top":v(()=>[u(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[u(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":v(()=>[u(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[u(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[u(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":v(()=>[u(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":v(()=>[u(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[u(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[u(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[u(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":v(()=>[u(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}});const Pn=m(yn,[["__scopeId","data-v-669faec9"]]),Vn={class:"container"},wn=["innerHTML"],Ln=["innerHTML"],Sn=g({__name:"VPFooter",setup(s){const{theme:e,frontmatter:t}=P(),{hasSidebar:n}=D();return(o,r)=>l(e).footer&&l(t).footer!==!1?(a(),i("footer",{key:0,class:N(["VPFooter",{"has-sidebar":l(n)}])},[c("div",Vn,[l(e).footer.message?(a(),i("p",{key:0,class:"message",innerHTML:l(e).footer.message},null,8,wn)):f("",!0),l(e).footer.copyright?(a(),i("p",{key:1,class:"copyright",innerHTML:l(e).footer.copyright},null,8,Ln)):f("",!0)])],2)):f("",!0)}});const Mn=m(Sn,[["__scopeId","data-v-e03eb2e1"]]),Nn={class:"header"},In={class:"outline"},Cn=g({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(s){const e=s,{theme:t}=P(),n=S(!1),o=S(0),r=S();Y(()=>{n.value=!1});function d(){n.value=!n.value,o.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function p(b){b.target.classList.contains("outline-link")&&(r.value&&(r.value.style.transition="none"),Ee(()=>{n.value=!1}))}function _(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(b,y)=>(a(),i("div",{class:"VPLocalNavOutlineDropdown",style:Fe({"--vp-vh":o.value+"px"})},[b.headers.length>0?(a(),i("button",{key:0,onClick:d,class:N({open:n.value})},[x(L(l(ve)(l(t)))+" ",1),h(fe,{class:"icon"})],2)):(a(),i("button",{key:1,onClick:_},L(l(t).returnToTopLabel||"Return to top"),1)),h(ce,{name:"flyout"},{default:v(()=>[n.value?(a(),i("div",{key:0,ref_key:"items",ref:r,class:"items",onClick:p},[c("div",Nn,[c("a",{class:"top-link",href:"#",onClick:_},L(l(t).returnToTopLabel||"Return to top"),1)]),c("div",In,[h(he,{headers:b.headers},null,8,["headers"])])],512)):f("",!0)]),_:1})],4))}});const Tn=m(Cn,[["__scopeId","data-v-1c15a60a"]]),Bn={},An={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},xn=c("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),Hn=c("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),zn=c("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),Dn=c("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),Fn=[xn,Hn,zn,Dn];function En(s,e){return a(),i("svg",An,Fn)}const On=m(Bn,[["render",En]]),Gn=["aria-expanded"],Un={class:"menu-text"},jn=g({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(s){const{theme:e,frontmatter:t}=P(),{hasSidebar:n}=D(),{y:o}=we(),r=_e([]),d=S(0);G(()=>{d.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),Y(()=>{r.value=pe(t.value.outline??e.value.outline)});const p=k(()=>r.value.length===0&&!n.value),_=k(()=>({VPLocalNav:!0,fixed:p.value,"reached-top":o.value>=d.value}));return(b,y)=>l(t).layout!=="home"&&(!p.value||l(o)>=d.value)?(a(),i("div",{key:0,class:N(_.value)},[l(n)?(a(),i("button",{key:0,class:"menu","aria-expanded":b.open,"aria-controls":"VPSidebarNav",onClick:y[0]||(y[0]=w=>b.$emit("open-menu"))},[h(On,{class:"menu-icon"}),c("span",Un,L(l(e).sidebarMenuLabel||"Menu"),1)],8,Gn)):f("",!0),h(Tn,{headers:r.value,navHeight:d.value},null,8,["headers","navHeight"])],2)):f("",!0)}});const qn=m(jn,[["__scopeId","data-v-79c8c1df"]]);function Kn(){const s=S(!1);function e(){s.value=!0,window.addEventListener("resize",o)}function t(){s.value=!1,window.removeEventListener("resize",o)}function n(){s.value?t():e()}function o(){window.outerWidth>=768&&t()}const r=se();return U(()=>r.path,t),{isScreenOpen:s,openScreen:e,closeScreen:t,toggleScreen:n}}const Rn={},Wn={class:"VPSwitch",type:"button",role:"switch"},Yn={class:"check"},Jn={key:0,class:"icon"};function Qn(s,e){return a(),i("button",Wn,[c("span",Yn,[s.$slots.default?(a(),i("span",Jn,[u(s.$slots,"default",{},void 0,!0)])):f("",!0)])])}const Xn=m(Rn,[["render",Qn],["__scopeId","data-v-b1685198"]]),Zn={},eo={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},to=c("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),so=[to];function no(s,e){return a(),i("svg",eo,so)}const oo=m(Zn,[["render",no]]),ao={},ro={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},lo=Oe('',9),io=[lo];function co(s,e){return a(),i("svg",ro,io)}const uo=m(ao,[["render",co]]),_o=g({__name:"VPSwitchAppearance",setup(s){const{isDark:e}=P(),t=ne("toggle-appearance",()=>{e.value=!e.value});return(n,o)=>(a(),$(Xn,{title:"toggle dark mode",class:"VPSwitchAppearance","aria-checked":l(e),onClick:l(t)},{default:v(()=>[h(uo,{class:"sun"}),h(oo,{class:"moon"})]),_:1},8,["aria-checked","onClick"]))}});const me=m(_o,[["__scopeId","data-v-ce54a7d1"]]),vo={key:0,class:"VPNavBarAppearance"},po=g({__name:"VPNavBarAppearance",setup(s){const{site:e}=P();return(t,n)=>l(e).appearance&&l(e).appearance!=="force-dark"?(a(),i("div",vo,[h(me)])):f("",!0)}});const ho=m(po,[["__scopeId","data-v-e6aabb21"]]),ge=S();let Ie=!1,ae=0;function fo(s){const e=S(!1);if(R){!Ie&&mo(),ae++;const t=U(ge,n=>{var o,r,d;n===s.el.value||(o=s.el.value)!=null&&o.contains(n)?(e.value=!0,(r=s.onFocus)==null||r.call(s)):(e.value=!1,(d=s.onBlur)==null||d.call(s))});de(()=>{t(),ae--,ae||go()})}return Ge(e)}function mo(){document.addEventListener("focusin",Ce),Ie=!0,ge.value=document.activeElement}function go(){document.removeEventListener("focusin",Ce)}function Ce(){ge.value=document.activeElement}const bo={},$o={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},ko=c("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),yo=[ko];function Po(s,e){return a(),i("svg",$o,yo)}const Te=m(bo,[["render",Po]]),Vo={},wo={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Lo=c("circle",{cx:"12",cy:"12",r:"2"},null,-1),So=c("circle",{cx:"19",cy:"12",r:"2"},null,-1),Mo=c("circle",{cx:"5",cy:"12",r:"2"},null,-1),No=[Lo,So,Mo];function Io(s,e){return a(),i("svg",wo,No)}const Co=m(Vo,[["render",Io]]),To={class:"VPMenuLink"},Bo=g({__name:"VPMenuLink",props:{item:{}},setup(s){const{page:e}=P();return(t,n)=>(a(),i("div",To,[h(F,{class:N({active:l(O)(l(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:v(()=>[x(L(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}});const oe=m(Bo,[["__scopeId","data-v-43f1e123"]]),Ao={class:"VPMenuGroup"},xo={key:0,class:"title"},Ho=g({__name:"VPMenuGroup",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),i("div",Ao,[e.text?(a(),i("p",xo,L(e.text),1)):f("",!0),(a(!0),i(M,null,A(e.items,n=>(a(),i(M,null,["link"in n?(a(),$(oe,{key:0,item:n},null,8,["item"])):f("",!0)],64))),256))]))}});const zo=m(Ho,[["__scopeId","data-v-69e747b5"]]),Do={class:"VPMenu"},Fo={key:0,class:"items"},Eo=g({__name:"VPMenu",props:{items:{}},setup(s){return(e,t)=>(a(),i("div",Do,[e.items?(a(),i("div",Fo,[(a(!0),i(M,null,A(e.items,n=>(a(),i(M,{key:n.text},["link"in n?(a(),$(oe,{key:0,item:n},null,8,["item"])):(a(),$(zo,{key:1,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):f("",!0),u(e.$slots,"default",{},void 0,!0)]))}});const Oo=m(Eo,[["__scopeId","data-v-e7ea1737"]]),Go=["aria-expanded","aria-label"],Uo={key:0,class:"text"},jo=["innerHTML"],qo={class:"menu"},Ko=g({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(s){const e=S(!1),t=S();fo({el:t,onBlur:n});function n(){e.value=!1}return(o,r)=>(a(),i("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:r[1]||(r[1]=d=>e.value=!0),onMouseleave:r[2]||(r[2]=d=>e.value=!1)},[c("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":o.label,onClick:r[0]||(r[0]=d=>e.value=!e.value)},[o.button||o.icon?(a(),i("span",Uo,[o.icon?(a(),$(E(o.icon),{key:0,class:"option-icon"})):f("",!0),o.button?(a(),i("span",{key:1,innerHTML:o.button},null,8,jo)):f("",!0),h(Te,{class:"text-icon"})])):(a(),$(Co,{key:1,class:"icon"}))],8,Go),c("div",qo,[h(Oo,{items:o.items},{default:v(()=>[u(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}});const be=m(Ko,[["__scopeId","data-v-9c007e85"]]),Ro={discord:'Discord',facebook:'Facebook',github:'GitHub',instagram:'Instagram',linkedin:'LinkedIn',mastodon:'Mastodon',slack:'Slack',twitter:'Twitter',x:'X',youtube:'YouTube'},Wo=["href","aria-label","innerHTML"],Yo=g({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(s){const e=s,t=k(()=>typeof e.icon=="object"?e.icon.svg:Ro[e.icon]);return(n,o)=>(a(),i("a",{class:"VPSocialLink no-icon",href:n.link,"aria-label":n.ariaLabel??(typeof n.icon=="string"?n.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,Wo))}});const Jo=m(Yo,[["__scopeId","data-v-f80f8133"]]),Qo={class:"VPSocialLinks"},Xo=g({__name:"VPSocialLinks",props:{links:{}},setup(s){return(e,t)=>(a(),i("div",Qo,[(a(!0),i(M,null,A(e.links,({link:n,icon:o,ariaLabel:r})=>(a(),$(Jo,{key:n,icon:o,link:n,ariaLabel:r},null,8,["icon","link","ariaLabel"]))),128))]))}});const $e=m(Xo,[["__scopeId","data-v-7bc22406"]]),Zo={key:0,class:"group translations"},ea={class:"trans-title"},ta={key:1,class:"group"},sa={class:"item appearance"},na={class:"label"},oa={class:"appearance-action"},aa={key:2,class:"group"},ra={class:"item social-links"},la=g({__name:"VPNavBarExtra",setup(s){const{site:e,theme:t}=P(),{localeLinks:n,currentLang:o}=Q({correspondingLink:!0}),r=k(()=>n.value.length&&o.value.label||e.value.appearance||t.value.socialLinks);return(d,p)=>r.value?(a(),$(be,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:v(()=>[l(n).length&&l(o).label?(a(),i("div",Zo,[c("p",ea,L(l(o).label),1),(a(!0),i(M,null,A(l(n),_=>(a(),$(oe,{key:_.link,item:_},null,8,["item"]))),128))])):f("",!0),l(e).appearance?(a(),i("div",ta,[c("div",sa,[c("p",na,L(l(t).darkModeSwitchLabel||"Appearance"),1),c("div",oa,[h(me)])])])):f("",!0),l(t).socialLinks?(a(),i("div",aa,[c("div",ra,[h($e,{class:"social-links-list",links:l(t).socialLinks},null,8,["links"])])])):f("",!0)]),_:1})):f("",!0)}});const ia=m(la,[["__scopeId","data-v-40855f84"]]),ca=s=>(H("data-v-e5dd9c1c"),s=s(),z(),s),ua=["aria-expanded"],da=ca(()=>c("span",{class:"container"},[c("span",{class:"top"}),c("span",{class:"middle"}),c("span",{class:"bottom"})],-1)),_a=[da],va=g({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(s){return(e,t)=>(a(),i("button",{type:"button",class:N(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=n=>e.$emit("click"))},_a,10,ua))}});const pa=m(va,[["__scopeId","data-v-e5dd9c1c"]]),ha=["innerHTML"],fa=g({__name:"VPNavBarMenuLink",props:{item:{}},setup(s){const{page:e}=P();return(t,n)=>(a(),$(F,{class:N({VPNavBarMenuLink:!0,active:l(O)(l(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:v(()=>[c("span",{innerHTML:t.item.text},null,8,ha)]),_:1},8,["class","href","target","rel"]))}});const ma=m(fa,[["__scopeId","data-v-42ef59de"]]),ga=g({__name:"VPNavBarMenuGroup",props:{item:{}},setup(s){const e=s,{page:t}=P(),n=r=>"link"in r?O(t.value.relativePath,r.link,!!e.item.activeMatch):r.items.some(n),o=k(()=>n(e.item));return(r,d)=>(a(),$(be,{class:N({VPNavBarMenuGroup:!0,active:l(O)(l(t).relativePath,r.item.activeMatch,!!r.item.activeMatch)||o.value}),button:r.item.text,items:r.item.items},null,8,["class","button","items"]))}}),ba=s=>(H("data-v-7f418b0f"),s=s(),z(),s),$a={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},ka=ba(()=>c("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),ya=g({__name:"VPNavBarMenu",setup(s){const{theme:e}=P();return(t,n)=>l(e).nav?(a(),i("nav",$a,[ka,(a(!0),i(M,null,A(l(e).nav,o=>(a(),i(M,{key:o.text},["link"in o?(a(),$(ma,{key:0,item:o},null,8,["item"])):(a(),$(ga,{key:1,item:o},null,8,["item"]))],64))),128))])):f("",!0)}});const Pa=m(ya,[["__scopeId","data-v-7f418b0f"]]);function Va(s,e){const{localeIndex:t}=P();function n(o){var I,B;const r=o.split("."),d=s&&typeof s=="object",p=d&&((B=(I=s.locales)==null?void 0:I[t.value])==null?void 0:B.translations)||null,_=d&&s.translations||null;let b=p,y=_,w=e;const C=r.pop();for(const T of r){let V=null;const q=w==null?void 0:w[T];q&&(V=w=q);const W=y==null?void 0:y[T];W&&(V=y=W);const K=b==null?void 0:b[T];K&&(V=b=K),q||(w=V),W||(y=V),K||(b=V)}return(b==null?void 0:b[C])??(y==null?void 0:y[C])??(w==null?void 0:w[C])??""}return n}const wa=["aria-label"],La={class:"DocSearch-Button-Container"},Sa=c("svg",{class:"DocSearch-Search-Icon",width:"20",height:"20",viewBox:"0 0 20 20","aria-label":"search icon"},[c("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),Ma={class:"DocSearch-Button-Placeholder"},Na=c("span",{class:"DocSearch-Button-Keys"},[c("kbd",{class:"DocSearch-Button-Key"}),c("kbd",{class:"DocSearch-Button-Key"},"K")],-1),ye=g({__name:"VPNavBarSearchButton",setup(s){var o;const{theme:e}=P(),t={button:{buttonText:"Search",buttonAriaLabel:"Search"}},n=Va((o=e.value.search)==null?void 0:o.options,t);return(r,d)=>(a(),i("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":l(n)("button.buttonAriaLabel")},[c("span",La,[Sa,c("span",Ma,L(l(n)("button.buttonText")),1)]),Na],8,wa))}});const Ia={class:"VPNavBarSearch"},Ca={id:"local-search"},Ta={key:1,id:"docsearch"},Ba=g({__name:"VPNavBarSearch",setup(s){const e=()=>null,t=()=>null,{theme:n}=P(),o=S(!1),r=S(!1);G(()=>{});function d(){o.value||(o.value=!0,setTimeout(p,16))}function p(){const y=new Event("keydown");y.key="k",y.metaKey=!0,window.dispatchEvent(y),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||p()},16)}const _=S(!1),b="";return(y,w)=>{var C;return a(),i("div",Ia,[l(b)==="local"?(a(),i(M,{key:0},[_.value?(a(),$(l(e),{key:0,onClose:w[0]||(w[0]=I=>_.value=!1)})):f("",!0),c("div",Ca,[h(ye,{onClick:w[1]||(w[1]=I=>_.value=!0)})])],64)):l(b)==="algolia"?(a(),i(M,{key:1},[o.value?(a(),$(l(t),{key:0,algolia:((C=l(n).search)==null?void 0:C.options)??l(n).algolia,onVnodeBeforeMount:w[2]||(w[2]=I=>r.value=!0)},null,8,["algolia"])):f("",!0),r.value?f("",!0):(a(),i("div",Ta,[h(ye,{onClick:d})]))],64)):f("",!0)])}}});const Aa=g({__name:"VPNavBarSocialLinks",setup(s){const{theme:e}=P();return(t,n)=>l(e).socialLinks?(a(),$($e,{key:0,class:"VPNavBarSocialLinks",links:l(e).socialLinks},null,8,["links"])):f("",!0)}});const xa=m(Aa,[["__scopeId","data-v-0394ad82"]]),Ha=["href"],za=g({__name:"VPNavBarTitle",setup(s){const{site:e,theme:t}=P(),{hasSidebar:n}=D(),{currentLang:o}=Q();return(r,d)=>(a(),i("div",{class:N(["VPNavBarTitle",{"has-sidebar":l(n)}])},[c("a",{class:"title",href:l(t).logoLink??l(J)(l(o).link)},[u(r.$slots,"nav-bar-title-before",{},void 0,!0),l(t).logo?(a(),$(ee,{key:0,class:"logo",image:l(t).logo},null,8,["image"])):f("",!0),l(t).siteTitle?(a(),i(M,{key:1},[x(L(l(t).siteTitle),1)],64)):l(t).siteTitle===void 0?(a(),i(M,{key:2},[x(L(l(e).title),1)],64)):f("",!0),u(r.$slots,"nav-bar-title-after",{},void 0,!0)],8,Ha)],2))}});const Da=m(za,[["__scopeId","data-v-86d1bed8"]]),Fa={},Ea={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Oa=c("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),Ga=c("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),Ua=[Oa,Ga];function ja(s,e){return a(),i("svg",Ea,Ua)}const Be=m(Fa,[["render",ja]]),qa={class:"items"},Ka={class:"title"},Ra=g({__name:"VPNavBarTranslations",setup(s){const{theme:e}=P(),{localeLinks:t,currentLang:n}=Q({correspondingLink:!0});return(o,r)=>l(t).length&&l(n).label?(a(),$(be,{key:0,class:"VPNavBarTranslations",icon:Be,label:l(e).langMenuLabel||"Change language"},{default:v(()=>[c("div",qa,[c("p",Ka,L(l(n).label),1),(a(!0),i(M,null,A(l(t),d=>(a(),$(oe,{key:d.link,item:d},null,8,["item"]))),128))])]),_:1},8,["label"])):f("",!0)}});const Wa=m(Ra,[["__scopeId","data-v-74abcbb9"]]),Ya=s=>(H("data-v-a0fd61f4"),s=s(),z(),s),Ja={class:"container"},Qa={class:"title"},Xa={class:"content"},Za=Ya(()=>c("div",{class:"curtain"},null,-1)),er={class:"content-body"},tr=g({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(s){const{y:e}=we(),{hasSidebar:t}=D(),{frontmatter:n}=P(),o=S({});return Pe(()=>{o.value={"has-sidebar":t.value,top:n.value.layout==="home"&&e.value===0}}),(r,d)=>(a(),i("div",{class:N(["VPNavBar",o.value])},[c("div",Ja,[c("div",Qa,[h(Da,null,{"nav-bar-title-before":v(()=>[u(r.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[u(r.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),c("div",Xa,[Za,c("div",er,[u(r.$slots,"nav-bar-content-before",{},void 0,!0),h(Ba,{class:"search"}),h(Pa,{class:"menu"}),h(Wa,{class:"translations"}),h(ho,{class:"appearance"}),h(xa,{class:"social-links"}),h(ia,{class:"extra"}),u(r.$slots,"nav-bar-content-after",{},void 0,!0),h(pa,{class:"hamburger",active:r.isScreenOpen,onClick:d[0]||(d[0]=p=>r.$emit("toggle-screen"))},null,8,["active"])])])])],2))}});const sr=m(tr,[["__scopeId","data-v-a0fd61f4"]]),nr={key:0,class:"VPNavScreenAppearance"},or={class:"text"},ar=g({__name:"VPNavScreenAppearance",setup(s){const{site:e,theme:t}=P();return(n,o)=>l(e).appearance?(a(),i("div",nr,[c("p",or,L(l(t).darkModeSwitchLabel||"Appearance"),1),h(me)])):f("",!0)}});const rr=m(ar,[["__scopeId","data-v-add8f686"]]),lr=g({__name:"VPNavScreenMenuLink",props:{item:{}},setup(s){const e=ne("close-screen");return(t,n)=>(a(),$(F,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:l(e)},{default:v(()=>[x(L(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}});const ir=m(lr,[["__scopeId","data-v-05f27b2a"]]),cr={},ur={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},dr=c("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),_r=[dr];function vr(s,e){return a(),i("svg",ur,_r)}const pr=m(cr,[["render",vr]]),hr=g({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(s){const e=ne("close-screen");return(t,n)=>(a(),$(F,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:l(e)},{default:v(()=>[x(L(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}});const Ae=m(hr,[["__scopeId","data-v-19976ae1"]]),fr={class:"VPNavScreenMenuGroupSection"},mr={key:0,class:"title"},gr=g({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),i("div",fr,[e.text?(a(),i("p",mr,L(e.text),1)):f("",!0),(a(!0),i(M,null,A(e.items,n=>(a(),$(Ae,{key:n.text,item:n},null,8,["item"]))),128))]))}});const br=m(gr,[["__scopeId","data-v-8133b170"]]),$r=["aria-controls","aria-expanded"],kr={class:"button-text"},yr=["id"],Pr={key:1,class:"group"},Vr=g({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(s){const e=s,t=S(!1),n=k(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function o(){t.value=!t.value}return(r,d)=>(a(),i("div",{class:N(["VPNavScreenMenuGroup",{open:t.value}])},[c("button",{class:"button","aria-controls":n.value,"aria-expanded":t.value,onClick:o},[c("span",kr,L(r.text),1),h(pr,{class:"button-icon"})],8,$r),c("div",{id:n.value,class:"items"},[(a(!0),i(M,null,A(r.items,p=>(a(),i(M,{key:p.text},["link"in p?(a(),i("div",{key:p.text,class:"item"},[h(Ae,{item:p},null,8,["item"])])):(a(),i("div",Pr,[h(br,{text:p.text,items:p.items},null,8,["text","items"])]))],64))),128))],8,yr)],2))}});const wr=m(Vr,[["__scopeId","data-v-1ecb84e7"]]),Lr={key:0,class:"VPNavScreenMenu"},Sr=g({__name:"VPNavScreenMenu",setup(s){const{theme:e}=P();return(t,n)=>l(e).nav?(a(),i("nav",Lr,[(a(!0),i(M,null,A(l(e).nav,o=>(a(),i(M,{key:o.text},["link"in o?(a(),$(ir,{key:0,item:o},null,8,["item"])):(a(),$(wr,{key:1,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):f("",!0)}}),Mr=g({__name:"VPNavScreenSocialLinks",setup(s){const{theme:e}=P();return(t,n)=>l(e).socialLinks?(a(),$($e,{key:0,class:"VPNavScreenSocialLinks",links:l(e).socialLinks},null,8,["links"])):f("",!0)}}),Nr={class:"list"},Ir=g({__name:"VPNavScreenTranslations",setup(s){const{localeLinks:e,currentLang:t}=Q({correspondingLink:!0}),n=S(!1);function o(){n.value=!n.value}return(r,d)=>l(e).length&&l(t).label?(a(),i("div",{key:0,class:N(["VPNavScreenTranslations",{open:n.value}])},[c("button",{class:"title",onClick:o},[h(Be,{class:"icon lang"}),x(" "+L(l(t).label)+" ",1),h(Te,{class:"icon chevron"})]),c("ul",Nr,[(a(!0),i(M,null,A(l(e),p=>(a(),i("li",{key:p.link,class:"item"},[h(F,{class:"link",href:p.link},{default:v(()=>[x(L(p.text),1)]),_:2},1032,["href"])]))),128))])],2)):f("",!0)}});const Cr=m(Ir,[["__scopeId","data-v-d72aa483"]]),Tr={class:"container"},Br=g({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(s){const e=S(null),t=Le(R?document.body:null);return(n,o)=>(a(),$(ce,{name:"fade",onEnter:o[0]||(o[0]=r=>t.value=!0),onAfterLeave:o[1]||(o[1]=r=>t.value=!1)},{default:v(()=>[n.open?(a(),i("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[c("div",Tr,[u(n.$slots,"nav-screen-content-before",{},void 0,!0),h(Sr,{class:"menu"}),h(Cr,{class:"translations"}),h(rr,{class:"appearance"}),h(Mr,{class:"social-links"}),u(n.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):f("",!0)]),_:3}))}});const Ar=m(Br,[["__scopeId","data-v-cc5739dd"]]),xr={key:0,class:"VPNav"},Hr=g({__name:"VPNav",setup(s){const{isScreenOpen:e,closeScreen:t,toggleScreen:n}=Kn(),{frontmatter:o}=P(),r=k(()=>o.value.navbar!==!1);return Se("close-screen",t),te(()=>{R&&document.documentElement.classList.toggle("hide-nav",!r.value)}),(d,p)=>r.value?(a(),i("header",xr,[h(sr,{"is-screen-open":l(e),onToggleScreen:l(n)},{"nav-bar-title-before":v(()=>[u(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[u(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[u(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[u(d.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),h(Ar,{open:l(e)},{"nav-screen-content-before":v(()=>[u(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[u(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):f("",!0)}});const zr=m(Hr,[["__scopeId","data-v-ae24b3ad"]]),Dr=s=>(H("data-v-e31bd47b"),s=s(),z(),s),Fr=["role","tabindex"],Er=Dr(()=>c("div",{class:"indicator"},null,-1)),Or=["onKeydown"],Gr={key:1,class:"items"},Ur=g({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(s){const e=s,{collapsed:t,collapsible:n,isLink:o,isActiveLink:r,hasActiveLink:d,hasChildren:p,toggle:_}=vt(k(()=>e.item)),b=k(()=>p.value?"section":"div"),y=k(()=>o.value?"a":"div"),w=k(()=>p.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),C=k(()=>o.value?void 0:"button"),I=k(()=>[[`level-${e.depth}`],{collapsible:n.value},{collapsed:t.value},{"is-link":o.value},{"is-active":r.value},{"has-active":d.value}]);function B(V){"key"in V&&V.key!=="Enter"||!e.item.link&&_()}function T(){e.item.link&&_()}return(V,q)=>{const W=j("VPSidebarItem",!0);return a(),$(E(b.value),{class:N(["VPSidebarItem",I.value])},{default:v(()=>[V.item.text?(a(),i("div",X({key:0,class:"item",role:C.value},je(V.item.items?{click:B,keydown:B}:{},!0),{tabindex:V.item.items&&0}),[Er,V.item.link?(a(),$(F,{key:0,tag:y.value,class:"link",href:V.item.link,rel:V.item.rel,target:V.item.target},{default:v(()=>[(a(),$(E(w.value),{class:"text",innerHTML:V.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(a(),$(E(w.value),{key:1,class:"text",innerHTML:V.item.text},null,8,["innerHTML"])),V.item.collapsed!=null?(a(),i("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:T,onKeydown:Ue(T,["enter"]),tabindex:"0"},[h(fe,{class:"caret-icon"})],40,Or)):f("",!0)],16,Fr)):f("",!0),V.item.items&&V.item.items.length?(a(),i("div",Gr,[V.depth<5?(a(!0),i(M,{key:0},A(V.item.items,K=>(a(),$(W,{key:K.text,item:K,depth:V.depth+1},null,8,["item","depth"]))),128)):f("",!0)])):f("",!0)]),_:1},8,["class"])}}});const jr=m(Ur,[["__scopeId","data-v-e31bd47b"]]),xe=s=>(H("data-v-b00e2fdd"),s=s(),z(),s),qr=xe(()=>c("div",{class:"curtain"},null,-1)),Kr={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Rr=xe(()=>c("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),Wr=g({__name:"VPSidebar",props:{open:{type:Boolean}},setup(s){const{sidebarGroups:e,hasSidebar:t}=D(),n=s,o=S(null),r=Le(R?document.body:null);return U([n,o],()=>{var d;n.open?(r.value=!0,(d=o.value)==null||d.focus()):r.value=!1},{immediate:!0,flush:"post"}),(d,p)=>l(t)?(a(),i("aside",{key:0,class:N(["VPSidebar",{open:d.open}]),ref_key:"navEl",ref:o,onClick:p[0]||(p[0]=qe(()=>{},["stop"]))},[qr,c("nav",Kr,[Rr,u(d.$slots,"sidebar-nav-before",{},void 0,!0),(a(!0),i(M,null,A(l(e),_=>(a(),i("div",{key:_.text,class:"group"},[h(jr,{item:_,depth:0},null,8,["item"])]))),128)),u(d.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):f("",!0)}});const Yr=m(Wr,[["__scopeId","data-v-b00e2fdd"]]),Jr=g({__name:"VPSkipLink",setup(s){const e=se(),t=S();U(()=>e.path,()=>t.value.focus());function n({target:o}){const r=document.getElementById(decodeURIComponent(o.hash).slice(1));if(r){const d=()=>{r.removeAttribute("tabindex"),r.removeEventListener("blur",d)};r.setAttribute("tabindex","-1"),r.addEventListener("blur",d),r.focus(),window.scrollTo(0,0)}}return(o,r)=>(a(),i(M,null,[c("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),c("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:n}," Skip to content ")],64))}});const Qr=m(Jr,[["__scopeId","data-v-0f60ec36"]]),Xr=g({__name:"Layout",setup(s){const{isOpen:e,open:t,close:n}=D(),o=se();U(()=>o.path,n),_t(e,n);const{frontmatter:r}=P(),d=Ke(),p=k(()=>!!d["home-hero-image"]);return Se("hero-image-slot-exists",p),(_,b)=>{const y=j("Content");return l(r).layout!==!1?(a(),i("div",{key:0,class:N(["Layout",l(r).pageClass])},[u(_.$slots,"layout-top",{},void 0,!0),h(Qr),h(Qe,{class:"backdrop",show:l(e),onClick:l(n)},null,8,["show","onClick"]),h(zr,null,{"nav-bar-title-before":v(()=>[u(_.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[u(_.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[u(_.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[u(_.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":v(()=>[u(_.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[u(_.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),h(qn,{open:l(e),onOpenMenu:l(t)},null,8,["open","onOpenMenu"]),h(Yr,{open:l(e)},{"sidebar-nav-before":v(()=>[u(_.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":v(()=>[u(_.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),h(Pn,null,{"page-top":v(()=>[u(_.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[u(_.$slots,"page-bottom",{},void 0,!0)]),"not-found":v(()=>[u(_.$slots,"not-found",{},void 0,!0)]),"home-hero-before":v(()=>[u(_.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":v(()=>[u(_.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[u(_.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[u(_.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[u(_.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[u(_.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":v(()=>[u(_.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[u(_.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[u(_.$slots,"doc-after",{},void 0,!0)]),"doc-top":v(()=>[u(_.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[u(_.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":v(()=>[u(_.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[u(_.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[u(_.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[u(_.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[u(_.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[u(_.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),h(Mn),u(_.$slots,"layout-bottom",{},void 0,!0)],2)):(a(),$(y,{key:1}))}}});const Zr=m(Xr,[["__scopeId","data-v-5a346dfe"]]);const tl={Layout:Zr,enhanceApp:({app:s})=>{s.component("Badge",We)}};export{tl as t}; +import{d as g,o as a,c as i,r as u,n as N,a as x,t as L,_ as m,b as $,w as v,T as ce,e as f,u as He,i as ze,f as ue,g as k,h as S,j as G,k as c,l,p as H,m as z,q as O,s as R,v as re,x as U,y as te,z as de,A as Pe,B as De,C as j,F as M,D as A,E as _e,G as Y,H as h,I as E,J as Ve,K as se,L as X,M as ne,N as Fe,O as Ee,P as we,Q as Oe,R as Ge,S as Le,U as Se,V as Ue,W as je,X as qe,Y as Ke}from"./framework.c93772cc.js";const Re=g({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(s){return(e,t)=>(a(),i("span",{class:N(["VPBadge",e.type])},[u(e.$slots,"default",{},()=>[x(L(e.text),1)],!0)],2))}});const We=m(Re,[["__scopeId","data-v-9613cc9f"]]),Ye={key:0,class:"VPBackdrop"},Je=g({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(s){return(e,t)=>(a(),$(ce,{name:"fade"},{default:v(()=>[e.show?(a(),i("div",Ye)):f("",!0)]),_:1}))}});const Qe=m(Je,[["__scopeId","data-v-c79a1216"]]),P=He;function Xe(s,e){let t,n=!1;return()=>{t&&clearTimeout(t),n?t=setTimeout(s,e):(s(),(n=!0)&&setTimeout(()=>n=!1,e))}}function le(s){return/^\//.test(s)?s:`/${s}`}function J(s){if(ze(s))return s;const{site:e}=P(),{pathname:t,search:n,hash:o}=new URL(s,"http://a.com"),r=t.endsWith("/")||t.endsWith(".html")?s:s.replace(/(?:(^\.+)\/)?.*$/,`$1${t.replace(/(\.md)?$/,e.value.cleanUrls?"":".html")}${n}${o}`);return ue(r)}function Q({removeCurrent:s=!0,correspondingLink:e=!1}={}){const{site:t,localeIndex:n,page:o,theme:r}=P(),d=k(()=>{var _,b;return{label:(_=t.value.locales[n.value])==null?void 0:_.label,link:((b=t.value.locales[n.value])==null?void 0:b.link)||(n.value==="root"?"/":`/${n.value}/`)}});return{localeLinks:k(()=>Object.entries(t.value.locales).flatMap(([_,b])=>s&&d.value.label===b.label?[]:{text:b.label,link:Ze(b.link||(_==="root"?"/":`/${_}/`),r.value.i18nRouting!==!1&&e,o.value.relativePath.slice(d.value.link.length-1),!t.value.cleanUrls)})),currentLang:d}}function Ze(s,e,t,n){return e?s.replace(/\/$/,"")+le(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):s}const et=s=>(H("data-v-f87ff6e4"),s=s(),z(),s),tt={class:"NotFound"},st={class:"code"},nt={class:"title"},ot=et(()=>c("div",{class:"divider"},null,-1)),at={class:"quote"},rt={class:"action"},lt=["href","aria-label"],it=g({__name:"NotFound",setup(s){const{site:e,theme:t}=P(),{localeLinks:n}=Q({removeCurrent:!1}),o=S("/");return G(()=>{var d;const r=window.location.pathname.replace(e.value.base,"").replace(/(^.*?\/).*$/,"/$1");n.value.length&&(o.value=((d=n.value.find(({link:p})=>p.startsWith(r)))==null?void 0:d.link)||n.value[0].link)}),(r,d)=>{var p,_,b,y,w;return a(),i("div",tt,[c("p",st,L(((p=l(t).notFound)==null?void 0:p.code)??"404"),1),c("h1",nt,L(((_=l(t).notFound)==null?void 0:_.title)??"PAGE NOT FOUND"),1),ot,c("blockquote",at,L(((b=l(t).notFound)==null?void 0:b.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),c("div",rt,[c("a",{class:"link",href:l(ue)(o.value),"aria-label":((y=l(t).notFound)==null?void 0:y.linkLabel)??"go to home"},L(((w=l(t).notFound)==null?void 0:w.linkText)??"Take me home"),9,lt)])])}}});const ct=m(it,[["__scopeId","data-v-f87ff6e4"]]);function Me(s,e){if(Array.isArray(s))return Z(s);if(s==null)return[];e=le(e);const t=Object.keys(s).sort((o,r)=>r.split("/").length-o.split("/").length).find(o=>e.startsWith(le(o))),n=t?s[t]:[];return Array.isArray(n)?Z(n):Z(n.items,n.base)}function ut(s){const e=[];let t=0;for(const n in s){const o=s[n];if(o.items){t=e.push(o);continue}e[t]||e.push({items:[]}),e[t].items.push(o)}return e}function dt(s){const e=[];function t(n){for(const o of n)o.text&&o.link&&e.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&t(o.items)}return t(s),e}function ie(s,e){return Array.isArray(e)?e.some(t=>ie(s,t)):O(s,e.link)?!0:e.items?ie(s,e.items):!1}function Z(s,e){return[...s].map(t=>{const n={...t},o=n.base||e;return o&&n.link&&(n.link=o+n.link),n.items&&(n.items=Z(n.items,o)),n})}function D(){const{frontmatter:s,page:e,theme:t}=P(),n=re("(min-width: 960px)"),o=S(!1),r=k(()=>{const T=t.value.sidebar,V=e.value.relativePath;return T?Me(T,V):[]}),d=S(r.value);U(r,(T,V)=>{JSON.stringify(T)!==JSON.stringify(V)&&(d.value=r.value)});const p=k(()=>s.value.sidebar!==!1&&d.value.length>0&&s.value.layout!=="home"),_=k(()=>b?s.value.aside==null?t.value.aside==="left":s.value.aside==="left":!1),b=k(()=>s.value.layout==="home"?!1:s.value.aside!=null?!!s.value.aside:t.value.aside!==!1),y=k(()=>p.value&&n.value),w=k(()=>p.value?ut(d.value):[]);function C(){o.value=!0}function I(){o.value=!1}function B(){o.value?I():C()}return{isOpen:o,sidebar:d,sidebarGroups:w,hasSidebar:p,hasAside:b,leftAside:_,isSidebarEnabled:y,open:C,close:I,toggle:B}}function _t(s,e){let t;te(()=>{t=s.value?document.activeElement:void 0}),G(()=>{window.addEventListener("keyup",n)}),de(()=>{window.removeEventListener("keyup",n)});function n(o){o.key==="Escape"&&s.value&&(e(),t==null||t.focus())}}const Ne=S(R?location.hash:"");R&&window.addEventListener("hashchange",()=>{Ne.value=location.hash});function vt(s){const{page:e}=P(),t=S(!1),n=k(()=>s.value.collapsed!=null),o=k(()=>!!s.value.link),r=S(!1),d=()=>{r.value=O(e.value.relativePath,s.value.link)};U([e,s,Ne],d),G(d);const p=k(()=>r.value?!0:s.value.items?ie(e.value.relativePath,s.value.items):!1),_=k(()=>!!(s.value.items&&s.value.items.length));te(()=>{t.value=!!(n.value&&s.value.collapsed)}),Pe(()=>{(r.value||p.value)&&(t.value=!1)});function b(){n.value&&(t.value=!t.value)}return{collapsed:t,collapsible:n,isLink:o,isActiveLink:r,hasActiveLink:p,hasChildren:_,toggle:b}}function pt(){const{hasSidebar:s}=D(),e=re("(min-width: 960px)"),t=re("(min-width: 1280px)");return{isAsideEnabled:k(()=>!t.value&&!e.value?!1:s.value?t.value:e.value)}}const ht=71;function ve(s){return typeof s.outline=="object"&&!Array.isArray(s.outline)&&s.outline.label||s.outlineTitle||"On this page"}function pe(s){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const n=Number(t.tagName[1]);return{title:ft(t),link:"#"+t.id,level:n}});return mt(e,s)}function ft(s){let e="";for(const t of s.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function mt(s,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[n,o]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;s=s.filter(d=>d.level>=n&&d.level<=o);const r=[];e:for(let d=0;d=0;_--){const b=s[_];if(b.level{requestAnimationFrame(r),window.addEventListener("scroll",n)}),De(()=>{d(location.hash)}),de(()=>{window.removeEventListener("scroll",n)});function r(){if(!t.value)return;const p=[].slice.call(s.value.querySelectorAll(".outline-link")),_=[].slice.call(document.querySelectorAll(".content .header-anchor")).filter(I=>p.some(B=>B.hash===I.hash&&I.offsetParent!==null)),b=window.scrollY,y=window.innerHeight,w=document.body.offsetHeight,C=Math.abs(b+y-w)<1;if(_.length&&C){d(_[_.length-1].hash);return}for(let I=0;I<_.length;I++){const B=_[I],T=_[I+1],[V,q]=bt(I,B,T);if(V){d(q);return}}}function d(p){o&&o.classList.remove("active"),p==null?o=null:o=s.value.querySelector(`a[href="${decodeURIComponent(p)}"]`);const _=o;_?(_.classList.add("active"),e.value.style.top=_.offsetTop+33+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function ke(s){return s.parentElement.offsetTop-ht}function bt(s,e,t){const n=window.scrollY;return s===0&&n===0?[!0,null]:n{const o=j("VPDocOutlineItem",!0);return a(),i("ul",{class:N(t.root?"root":"nested")},[(a(!0),i(M,null,A(t.headers,({children:r,link:d,title:p})=>(a(),i("li",null,[c("a",{class:"outline-link",href:d,onClick:e,title:p},L(p),9,$t),r!=null&&r.length?(a(),$(o,{key:0,headers:r},null,8,["headers"])):f("",!0)]))),256))],2)}}});const he=m(kt,[["__scopeId","data-v-d0ee3533"]]),yt=s=>(H("data-v-d330b1bb"),s=s(),z(),s),Pt={class:"content"},Vt={class:"outline-title",role:"heading","aria-level":"2"},wt={"aria-labelledby":"doc-outline-aria-label"},Lt=yt(()=>c("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),St=g({__name:"VPDocAsideOutline",setup(s){const{frontmatter:e,theme:t}=P(),n=_e([]);Y(()=>{n.value=pe(e.value.outline??t.value.outline)});const o=S(),r=S();return gt(o,r),(d,p)=>(a(),i("div",{class:N(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:o,role:"navigation"},[c("div",Pt,[c("div",{class:"outline-marker",ref_key:"marker",ref:r},null,512),c("div",Vt,L(l(ve)(l(t))),1),c("nav",wt,[Lt,h(he,{headers:n.value,root:!0},null,8,["headers"])])])],2))}});const Mt=m(St,[["__scopeId","data-v-d330b1bb"]]),Nt={class:"VPDocAsideCarbonAds"},It=g({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(s){const e=()=>null;return(t,n)=>(a(),i("div",Nt,[h(l(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),Ct=s=>(H("data-v-3f215769"),s=s(),z(),s),Tt={class:"VPDocAside"},Bt=Ct(()=>c("div",{class:"spacer"},null,-1)),At=g({__name:"VPDocAside",setup(s){const{theme:e}=P();return(t,n)=>(a(),i("div",Tt,[u(t.$slots,"aside-top",{},void 0,!0),u(t.$slots,"aside-outline-before",{},void 0,!0),h(Mt),u(t.$slots,"aside-outline-after",{},void 0,!0),Bt,u(t.$slots,"aside-ads-before",{},void 0,!0),l(e).carbonAds?(a(),$(It,{key:0,"carbon-ads":l(e).carbonAds},null,8,["carbon-ads"])):f("",!0),u(t.$slots,"aside-ads-after",{},void 0,!0),u(t.$slots,"aside-bottom",{},void 0,!0)]))}});const xt=m(At,[["__scopeId","data-v-3f215769"]]);function Ht(){const{theme:s,page:e}=P();return k(()=>{const{text:t="Edit this page",pattern:n=""}=s.value.editLink||{};let o;return typeof n=="function"?o=n(e.value):o=n.replace(/:path/g,e.value.filePath),{url:o,text:t}})}function zt(){const{page:s,theme:e,frontmatter:t}=P();return k(()=>{var _,b,y,w,C,I,B,T;const n=Me(e.value.sidebar,s.value.relativePath),o=dt(n),r=o.findIndex(V=>O(s.value.relativePath,V.link)),d=((_=e.value.docFooter)==null?void 0:_.prev)===!1&&!t.value.prev||t.value.prev===!1,p=((b=e.value.docFooter)==null?void 0:b.next)===!1&&!t.value.next||t.value.next===!1;return{prev:d?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((y=o[r-1])==null?void 0:y.docFooterText)??((w=o[r-1])==null?void 0:w.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((C=o[r-1])==null?void 0:C.link)},next:p?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((I=o[r+1])==null?void 0:I.docFooterText)??((B=o[r+1])==null?void 0:B.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((T=o[r+1])==null?void 0:T.link)}}})}const Dt={},Ft={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Et=c("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),Ot=c("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),Gt=[Et,Ot];function Ut(s,e){return a(),i("svg",Ft,Gt)}const jt=m(Dt,[["render",Ut]]),F=g({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(s){const e=s,t=k(()=>e.tag??(e.href?"a":"span")),n=k(()=>e.href&&Ve.test(e.href));return(o,r)=>(a(),$(E(t.value),{class:N(["VPLink",{link:o.href,"vp-external-link-icon":n.value,"no-icon":o.noIcon}]),href:o.href?l(J)(o.href):void 0,target:o.target??(n.value?"_blank":void 0),rel:o.rel??(n.value?"noreferrer":void 0)},{default:v(()=>[u(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),qt={class:"VPLastUpdated"},Kt=["datetime"],Rt=g({__name:"VPDocFooterLastUpdated",setup(s){const{theme:e,page:t,frontmatter:n,lang:o}=P(),r=k(()=>new Date(n.value.lastUpdated??t.value.lastUpdated)),d=k(()=>r.value.toISOString()),p=S("");return G(()=>{te(()=>{var _,b,y;p.value=new Intl.DateTimeFormat((b=(_=e.value.lastUpdated)==null?void 0:_.formatOptions)!=null&&b.forceLocale?o.value:void 0,((y=e.value.lastUpdated)==null?void 0:y.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(r.value)})}),(_,b)=>{var y;return a(),i("p",qt,[x(L(((y=l(e).lastUpdated)==null?void 0:y.text)||l(e).lastUpdatedText||"Last updated")+": ",1),c("time",{datetime:d.value},L(p.value),9,Kt)])}}});const Wt=m(Rt,[["__scopeId","data-v-7e05ebdb"]]),Yt={key:0,class:"VPDocFooter"},Jt={key:0,class:"edit-info"},Qt={key:0,class:"edit-link"},Xt={key:1,class:"last-updated"},Zt={key:1,class:"prev-next"},es={class:"pager"},ts=["href"],ss=["innerHTML"],ns=["innerHTML"],os={class:"pager"},as=["href"],rs=["innerHTML"],ls=["innerHTML"],is=g({__name:"VPDocFooter",setup(s){const{theme:e,page:t,frontmatter:n}=P(),o=Ht(),r=zt(),d=k(()=>e.value.editLink&&n.value.editLink!==!1),p=k(()=>t.value.lastUpdated&&n.value.lastUpdated!==!1),_=k(()=>d.value||p.value||r.value.prev||r.value.next);return(b,y)=>{var w,C,I,B,T,V;return _.value?(a(),i("footer",Yt,[u(b.$slots,"doc-footer-before",{},void 0,!0),d.value||p.value?(a(),i("div",Jt,[d.value?(a(),i("div",Qt,[h(F,{class:"edit-link-button",href:l(o).url,"no-icon":!0},{default:v(()=>[h(jt,{class:"edit-link-icon","aria-label":"edit icon"}),x(" "+L(l(o).text),1)]),_:1},8,["href"])])):f("",!0),p.value?(a(),i("div",Xt,[h(Wt)])):f("",!0)])):f("",!0),(w=l(r).prev)!=null&&w.link||(C=l(r).next)!=null&&C.link?(a(),i("nav",Zt,[c("div",es,[(I=l(r).prev)!=null&&I.link?(a(),i("a",{key:0,class:"pager-link prev",href:l(J)(l(r).prev.link)},[c("span",{class:"desc",innerHTML:((B=l(e).docFooter)==null?void 0:B.prev)||"Previous page"},null,8,ss),c("span",{class:"title",innerHTML:l(r).prev.text},null,8,ns)],8,ts)):f("",!0)]),c("div",os,[(T=l(r).next)!=null&&T.link?(a(),i("a",{key:0,class:"pager-link next",href:l(J)(l(r).next.link)},[c("span",{class:"desc",innerHTML:((V=l(e).docFooter)==null?void 0:V.next)||"Next page"},null,8,rs),c("span",{class:"title",innerHTML:l(r).next.text},null,8,ls)],8,as)):f("",!0)])])):f("",!0)])):f("",!0)}}});const cs=m(is,[["__scopeId","data-v-ef5dee53"]]),us={},ds={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},_s=c("path",{d:"M9,19c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l5.3-5.3L8.3,6.7c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l6,6c0.4,0.4,0.4,1,0,1.4l-6,6C9.5,18.9,9.3,19,9,19z"},null,-1),vs=[_s];function ps(s,e){return a(),i("svg",ds,vs)}const fe=m(us,[["render",ps]]),hs={key:0,class:"VPDocOutlineDropdown"},fs={key:0,class:"items"},ms=g({__name:"VPDocOutlineDropdown",setup(s){const{frontmatter:e,theme:t}=P(),n=S(!1);Y(()=>{n.value=!1});const o=_e([]);return Y(()=>{o.value=pe(e.value.outline??t.value.outline)}),(r,d)=>o.value.length>0?(a(),i("div",hs,[c("button",{onClick:d[0]||(d[0]=p=>n.value=!n.value),class:N({open:n.value})},[x(L(l(ve)(l(t)))+" ",1),h(fe,{class:"icon"})],2),n.value?(a(),i("div",fs,[h(he,{headers:o.value},null,8,["headers"])])):f("",!0)])):f("",!0)}});const gs=m(ms,[["__scopeId","data-v-eadfb36b"]]),bs=s=>(H("data-v-6b87e69f"),s=s(),z(),s),$s={class:"container"},ks=bs(()=>c("div",{class:"aside-curtain"},null,-1)),ys={class:"aside-container"},Ps={class:"aside-content"},Vs={class:"content"},ws={class:"content-container"},Ls={class:"main"},Ss=g({__name:"VPDoc",setup(s){const{theme:e}=P(),t=se(),{hasSidebar:n,hasAside:o,leftAside:r}=D(),d=k(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(p,_)=>{const b=j("Content");return a(),i("div",{class:N(["VPDoc",{"has-sidebar":l(n),"has-aside":l(o)}])},[u(p.$slots,"doc-top",{},void 0,!0),c("div",$s,[l(o)?(a(),i("div",{key:0,class:N(["aside",{"left-aside":l(r)}])},[ks,c("div",ys,[c("div",Ps,[h(xt,null,{"aside-top":v(()=>[u(p.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[u(p.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[u(p.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[u(p.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[u(p.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[u(p.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):f("",!0),c("div",Vs,[c("div",ws,[u(p.$slots,"doc-before",{},void 0,!0),h(gs),c("main",Ls,[h(b,{class:N(["vp-doc",[d.value,l(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),h(cs,null,{"doc-footer-before":v(()=>[u(p.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),u(p.$slots,"doc-after",{},void 0,!0)])])]),u(p.$slots,"doc-bottom",{},void 0,!0)],2)}}});const Ms=m(Ss,[["__scopeId","data-v-6b87e69f"]]),Ns=g({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{}},setup(s){const e=s,t=k(()=>e.href&&Ve.test(e.href)),n=k(()=>e.tag||e.href?"a":"button");return(o,r)=>(a(),$(E(n.value),{class:N(["VPButton",[o.size,o.theme]]),href:o.href?l(J)(o.href):void 0,target:t.value?"_blank":void 0,rel:t.value?"noreferrer":void 0},{default:v(()=>[x(L(o.text),1)]),_:1},8,["class","href","target","rel"]))}});const Is=m(Ns,[["__scopeId","data-v-c1c5efc1"]]),Cs=["src","alt"],Ts=g({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(s){return(e,t)=>{const n=j("VPImage",!0);return e.image?(a(),i(M,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),i("img",X({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:l(ue)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,Cs)):(a(),i(M,{key:1},[h(n,X({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),h(n,X({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):f("",!0)}}});const ee=m(Ts,[["__scopeId","data-v-8426fc1a"]]),Bs=s=>(H("data-v-da5d1713"),s=s(),z(),s),As={class:"container"},xs={class:"main"},Hs={key:0,class:"name"},zs=["innerHTML"],Ds=["innerHTML"],Fs=["innerHTML"],Es={key:0,class:"actions"},Os={key:0,class:"image"},Gs={class:"image-container"},Us=Bs(()=>c("div",{class:"image-bg"},null,-1)),js=g({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(s){const e=ne("hero-image-slot-exists");return(t,n)=>(a(),i("div",{class:N(["VPHero",{"has-image":t.image||l(e)}])},[c("div",As,[c("div",xs,[u(t.$slots,"home-hero-info",{},()=>[t.name?(a(),i("h1",Hs,[c("span",{innerHTML:t.name,class:"clip"},null,8,zs)])):f("",!0),t.text?(a(),i("p",{key:1,innerHTML:t.text,class:"text"},null,8,Ds)):f("",!0),t.tagline?(a(),i("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,Fs)):f("",!0)],!0),t.actions?(a(),i("div",Es,[(a(!0),i(M,null,A(t.actions,o=>(a(),i("div",{key:o.link,class:"action"},[h(Is,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link},null,8,["theme","text","href"])]))),128))])):f("",!0)]),t.image||l(e)?(a(),i("div",Os,[c("div",Gs,[Us,u(t.$slots,"home-hero-image",{},()=>[t.image?(a(),$(ee,{key:0,class:"image-src",image:t.image},null,8,["image"])):f("",!0)],!0)])])):f("",!0)])],2))}});const qs=m(js,[["__scopeId","data-v-da5d1713"]]),Ks=g({__name:"VPHomeHero",setup(s){const{frontmatter:e}=P();return(t,n)=>l(e).hero?(a(),$(qs,{key:0,class:"VPHomeHero",name:l(e).hero.name,text:l(e).hero.text,tagline:l(e).hero.tagline,image:l(e).hero.image,actions:l(e).hero.actions},{"home-hero-info":v(()=>[u(t.$slots,"home-hero-info")]),"home-hero-image":v(()=>[u(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):f("",!0)}}),Rs={},Ws={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Ys=c("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),Js=[Ys];function Qs(s,e){return a(),i("svg",Ws,Js)}const Xs=m(Rs,[["render",Qs]]),Zs={class:"box"},en={key:0,class:"icon"},tn=["innerHTML"],sn=["innerHTML"],nn=["innerHTML"],on={key:4,class:"link-text"},an={class:"link-text-value"},rn=g({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(s){return(e,t)=>(a(),$(F,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:v(()=>[c("article",Zs,[typeof e.icon=="object"&&e.icon.wrap?(a(),i("div",en,[h(ee,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(a(),$(ee,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(a(),i("div",{key:2,class:"icon",innerHTML:e.icon},null,8,tn)):f("",!0),c("h2",{class:"title",innerHTML:e.title},null,8,sn),e.details?(a(),i("p",{key:3,class:"details",innerHTML:e.details},null,8,nn)):f("",!0),e.linkText?(a(),i("div",on,[c("p",an,[x(L(e.linkText)+" ",1),h(Xs,{class:"link-text-icon"})])])):f("",!0)])]),_:1},8,["href","rel","target","tag"]))}});const ln=m(rn,[["__scopeId","data-v-33204567"]]),cn={key:0,class:"VPFeatures"},un={class:"container"},dn={class:"items"},_n=g({__name:"VPFeatures",props:{features:{}},setup(s){const e=s,t=k(()=>{const n=e.features.length;if(n){if(n===2)return"grid-2";if(n===3)return"grid-3";if(n%3===0)return"grid-6";if(n>3)return"grid-4"}else return});return(n,o)=>n.features?(a(),i("div",cn,[c("div",un,[c("div",dn,[(a(!0),i(M,null,A(n.features,r=>(a(),i("div",{key:r.title,class:N(["item",[t.value]])},[h(ln,{icon:r.icon,title:r.title,details:r.details,link:r.link,"link-text":r.linkText,rel:r.rel,target:r.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):f("",!0)}});const vn=m(_n,[["__scopeId","data-v-a6181336"]]),pn=g({__name:"VPHomeFeatures",setup(s){const{frontmatter:e}=P();return(t,n)=>l(e).features?(a(),$(vn,{key:0,class:"VPHomeFeatures",features:l(e).features},null,8,["features"])):f("",!0)}}),hn={class:"VPHome"},fn=g({__name:"VPHome",setup(s){return(e,t)=>{const n=j("Content");return a(),i("div",hn,[u(e.$slots,"home-hero-before",{},void 0,!0),h(Ks,null,{"home-hero-info":v(()=>[u(e.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[u(e.$slots,"home-hero-image",{},void 0,!0)]),_:3}),u(e.$slots,"home-hero-after",{},void 0,!0),u(e.$slots,"home-features-before",{},void 0,!0),h(pn),u(e.$slots,"home-features-after",{},void 0,!0),h(n)])}}});const mn=m(fn,[["__scopeId","data-v-d82743a8"]]),gn={},bn={class:"VPPage"};function $n(s,e){const t=j("Content");return a(),i("div",bn,[u(s.$slots,"page-top"),h(t),u(s.$slots,"page-bottom")])}const kn=m(gn,[["render",$n]]),yn=g({__name:"VPContent",setup(s){const{page:e,frontmatter:t}=P(),{hasSidebar:n}=D();return(o,r)=>(a(),i("div",{class:N(["VPContent",{"has-sidebar":l(n),"is-home":l(t).layout==="home"}]),id:"VPContent"},[l(e).isNotFound?u(o.$slots,"not-found",{key:0},()=>[h(ct)],!0):l(t).layout==="page"?(a(),$(kn,{key:1},{"page-top":v(()=>[u(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[u(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):l(t).layout==="home"?(a(),$(mn,{key:2},{"home-hero-before":v(()=>[u(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":v(()=>[u(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[u(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[u(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[u(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[u(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):l(t).layout&&l(t).layout!=="doc"?(a(),$(E(l(t).layout),{key:3})):(a(),$(Ms,{key:4},{"doc-top":v(()=>[u(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[u(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":v(()=>[u(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[u(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[u(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":v(()=>[u(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":v(()=>[u(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[u(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[u(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[u(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":v(()=>[u(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}});const Pn=m(yn,[["__scopeId","data-v-669faec9"]]),Vn={class:"container"},wn=["innerHTML"],Ln=["innerHTML"],Sn=g({__name:"VPFooter",setup(s){const{theme:e,frontmatter:t}=P(),{hasSidebar:n}=D();return(o,r)=>l(e).footer&&l(t).footer!==!1?(a(),i("footer",{key:0,class:N(["VPFooter",{"has-sidebar":l(n)}])},[c("div",Vn,[l(e).footer.message?(a(),i("p",{key:0,class:"message",innerHTML:l(e).footer.message},null,8,wn)):f("",!0),l(e).footer.copyright?(a(),i("p",{key:1,class:"copyright",innerHTML:l(e).footer.copyright},null,8,Ln)):f("",!0)])],2)):f("",!0)}});const Mn=m(Sn,[["__scopeId","data-v-e03eb2e1"]]),Nn={class:"header"},In={class:"outline"},Cn=g({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(s){const e=s,{theme:t}=P(),n=S(!1),o=S(0),r=S();Y(()=>{n.value=!1});function d(){n.value=!n.value,o.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function p(b){b.target.classList.contains("outline-link")&&(r.value&&(r.value.style.transition="none"),Ee(()=>{n.value=!1}))}function _(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(b,y)=>(a(),i("div",{class:"VPLocalNavOutlineDropdown",style:Fe({"--vp-vh":o.value+"px"})},[b.headers.length>0?(a(),i("button",{key:0,onClick:d,class:N({open:n.value})},[x(L(l(ve)(l(t)))+" ",1),h(fe,{class:"icon"})],2)):(a(),i("button",{key:1,onClick:_},L(l(t).returnToTopLabel||"Return to top"),1)),h(ce,{name:"flyout"},{default:v(()=>[n.value?(a(),i("div",{key:0,ref_key:"items",ref:r,class:"items",onClick:p},[c("div",Nn,[c("a",{class:"top-link",href:"#",onClick:_},L(l(t).returnToTopLabel||"Return to top"),1)]),c("div",In,[h(he,{headers:b.headers},null,8,["headers"])])],512)):f("",!0)]),_:1})],4))}});const Tn=m(Cn,[["__scopeId","data-v-1c15a60a"]]),Bn={},An={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},xn=c("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),Hn=c("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),zn=c("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),Dn=c("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),Fn=[xn,Hn,zn,Dn];function En(s,e){return a(),i("svg",An,Fn)}const On=m(Bn,[["render",En]]),Gn=["aria-expanded"],Un={class:"menu-text"},jn=g({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(s){const{theme:e,frontmatter:t}=P(),{hasSidebar:n}=D(),{y:o}=we(),r=_e([]),d=S(0);G(()=>{d.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),Y(()=>{r.value=pe(t.value.outline??e.value.outline)});const p=k(()=>r.value.length===0&&!n.value),_=k(()=>({VPLocalNav:!0,fixed:p.value,"reached-top":o.value>=d.value}));return(b,y)=>l(t).layout!=="home"&&(!p.value||l(o)>=d.value)?(a(),i("div",{key:0,class:N(_.value)},[l(n)?(a(),i("button",{key:0,class:"menu","aria-expanded":b.open,"aria-controls":"VPSidebarNav",onClick:y[0]||(y[0]=w=>b.$emit("open-menu"))},[h(On,{class:"menu-icon"}),c("span",Un,L(l(e).sidebarMenuLabel||"Menu"),1)],8,Gn)):f("",!0),h(Tn,{headers:r.value,navHeight:d.value},null,8,["headers","navHeight"])],2)):f("",!0)}});const qn=m(jn,[["__scopeId","data-v-79c8c1df"]]);function Kn(){const s=S(!1);function e(){s.value=!0,window.addEventListener("resize",o)}function t(){s.value=!1,window.removeEventListener("resize",o)}function n(){s.value?t():e()}function o(){window.outerWidth>=768&&t()}const r=se();return U(()=>r.path,t),{isScreenOpen:s,openScreen:e,closeScreen:t,toggleScreen:n}}const Rn={},Wn={class:"VPSwitch",type:"button",role:"switch"},Yn={class:"check"},Jn={key:0,class:"icon"};function Qn(s,e){return a(),i("button",Wn,[c("span",Yn,[s.$slots.default?(a(),i("span",Jn,[u(s.$slots,"default",{},void 0,!0)])):f("",!0)])])}const Xn=m(Rn,[["render",Qn],["__scopeId","data-v-b1685198"]]),Zn={},eo={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},to=c("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),so=[to];function no(s,e){return a(),i("svg",eo,so)}const oo=m(Zn,[["render",no]]),ao={},ro={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},lo=Oe('',9),io=[lo];function co(s,e){return a(),i("svg",ro,io)}const uo=m(ao,[["render",co]]),_o=g({__name:"VPSwitchAppearance",setup(s){const{isDark:e}=P(),t=ne("toggle-appearance",()=>{e.value=!e.value});return(n,o)=>(a(),$(Xn,{title:"toggle dark mode",class:"VPSwitchAppearance","aria-checked":l(e),onClick:l(t)},{default:v(()=>[h(uo,{class:"sun"}),h(oo,{class:"moon"})]),_:1},8,["aria-checked","onClick"]))}});const me=m(_o,[["__scopeId","data-v-ce54a7d1"]]),vo={key:0,class:"VPNavBarAppearance"},po=g({__name:"VPNavBarAppearance",setup(s){const{site:e}=P();return(t,n)=>l(e).appearance&&l(e).appearance!=="force-dark"?(a(),i("div",vo,[h(me)])):f("",!0)}});const ho=m(po,[["__scopeId","data-v-e6aabb21"]]),ge=S();let Ie=!1,ae=0;function fo(s){const e=S(!1);if(R){!Ie&&mo(),ae++;const t=U(ge,n=>{var o,r,d;n===s.el.value||(o=s.el.value)!=null&&o.contains(n)?(e.value=!0,(r=s.onFocus)==null||r.call(s)):(e.value=!1,(d=s.onBlur)==null||d.call(s))});de(()=>{t(),ae--,ae||go()})}return Ge(e)}function mo(){document.addEventListener("focusin",Ce),Ie=!0,ge.value=document.activeElement}function go(){document.removeEventListener("focusin",Ce)}function Ce(){ge.value=document.activeElement}const bo={},$o={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},ko=c("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),yo=[ko];function Po(s,e){return a(),i("svg",$o,yo)}const Te=m(bo,[["render",Po]]),Vo={},wo={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Lo=c("circle",{cx:"12",cy:"12",r:"2"},null,-1),So=c("circle",{cx:"19",cy:"12",r:"2"},null,-1),Mo=c("circle",{cx:"5",cy:"12",r:"2"},null,-1),No=[Lo,So,Mo];function Io(s,e){return a(),i("svg",wo,No)}const Co=m(Vo,[["render",Io]]),To={class:"VPMenuLink"},Bo=g({__name:"VPMenuLink",props:{item:{}},setup(s){const{page:e}=P();return(t,n)=>(a(),i("div",To,[h(F,{class:N({active:l(O)(l(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:v(()=>[x(L(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}});const oe=m(Bo,[["__scopeId","data-v-43f1e123"]]),Ao={class:"VPMenuGroup"},xo={key:0,class:"title"},Ho=g({__name:"VPMenuGroup",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),i("div",Ao,[e.text?(a(),i("p",xo,L(e.text),1)):f("",!0),(a(!0),i(M,null,A(e.items,n=>(a(),i(M,null,["link"in n?(a(),$(oe,{key:0,item:n},null,8,["item"])):f("",!0)],64))),256))]))}});const zo=m(Ho,[["__scopeId","data-v-69e747b5"]]),Do={class:"VPMenu"},Fo={key:0,class:"items"},Eo=g({__name:"VPMenu",props:{items:{}},setup(s){return(e,t)=>(a(),i("div",Do,[e.items?(a(),i("div",Fo,[(a(!0),i(M,null,A(e.items,n=>(a(),i(M,{key:n.text},["link"in n?(a(),$(oe,{key:0,item:n},null,8,["item"])):(a(),$(zo,{key:1,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):f("",!0),u(e.$slots,"default",{},void 0,!0)]))}});const Oo=m(Eo,[["__scopeId","data-v-e7ea1737"]]),Go=["aria-expanded","aria-label"],Uo={key:0,class:"text"},jo=["innerHTML"],qo={class:"menu"},Ko=g({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(s){const e=S(!1),t=S();fo({el:t,onBlur:n});function n(){e.value=!1}return(o,r)=>(a(),i("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:r[1]||(r[1]=d=>e.value=!0),onMouseleave:r[2]||(r[2]=d=>e.value=!1)},[c("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":o.label,onClick:r[0]||(r[0]=d=>e.value=!e.value)},[o.button||o.icon?(a(),i("span",Uo,[o.icon?(a(),$(E(o.icon),{key:0,class:"option-icon"})):f("",!0),o.button?(a(),i("span",{key:1,innerHTML:o.button},null,8,jo)):f("",!0),h(Te,{class:"text-icon"})])):(a(),$(Co,{key:1,class:"icon"}))],8,Go),c("div",qo,[h(Oo,{items:o.items},{default:v(()=>[u(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}});const be=m(Ko,[["__scopeId","data-v-9c007e85"]]),Ro={discord:'Discord',facebook:'Facebook',github:'GitHub',instagram:'Instagram',linkedin:'LinkedIn',mastodon:'Mastodon',slack:'Slack',twitter:'Twitter',x:'X',youtube:'YouTube'},Wo=["href","aria-label","innerHTML"],Yo=g({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(s){const e=s,t=k(()=>typeof e.icon=="object"?e.icon.svg:Ro[e.icon]);return(n,o)=>(a(),i("a",{class:"VPSocialLink no-icon",href:n.link,"aria-label":n.ariaLabel??(typeof n.icon=="string"?n.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,Wo))}});const Jo=m(Yo,[["__scopeId","data-v-f80f8133"]]),Qo={class:"VPSocialLinks"},Xo=g({__name:"VPSocialLinks",props:{links:{}},setup(s){return(e,t)=>(a(),i("div",Qo,[(a(!0),i(M,null,A(e.links,({link:n,icon:o,ariaLabel:r})=>(a(),$(Jo,{key:n,icon:o,link:n,ariaLabel:r},null,8,["icon","link","ariaLabel"]))),128))]))}});const $e=m(Xo,[["__scopeId","data-v-7bc22406"]]),Zo={key:0,class:"group translations"},ea={class:"trans-title"},ta={key:1,class:"group"},sa={class:"item appearance"},na={class:"label"},oa={class:"appearance-action"},aa={key:2,class:"group"},ra={class:"item social-links"},la=g({__name:"VPNavBarExtra",setup(s){const{site:e,theme:t}=P(),{localeLinks:n,currentLang:o}=Q({correspondingLink:!0}),r=k(()=>n.value.length&&o.value.label||e.value.appearance||t.value.socialLinks);return(d,p)=>r.value?(a(),$(be,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:v(()=>[l(n).length&&l(o).label?(a(),i("div",Zo,[c("p",ea,L(l(o).label),1),(a(!0),i(M,null,A(l(n),_=>(a(),$(oe,{key:_.link,item:_},null,8,["item"]))),128))])):f("",!0),l(e).appearance?(a(),i("div",ta,[c("div",sa,[c("p",na,L(l(t).darkModeSwitchLabel||"Appearance"),1),c("div",oa,[h(me)])])])):f("",!0),l(t).socialLinks?(a(),i("div",aa,[c("div",ra,[h($e,{class:"social-links-list",links:l(t).socialLinks},null,8,["links"])])])):f("",!0)]),_:1})):f("",!0)}});const ia=m(la,[["__scopeId","data-v-40855f84"]]),ca=s=>(H("data-v-e5dd9c1c"),s=s(),z(),s),ua=["aria-expanded"],da=ca(()=>c("span",{class:"container"},[c("span",{class:"top"}),c("span",{class:"middle"}),c("span",{class:"bottom"})],-1)),_a=[da],va=g({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(s){return(e,t)=>(a(),i("button",{type:"button",class:N(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=n=>e.$emit("click"))},_a,10,ua))}});const pa=m(va,[["__scopeId","data-v-e5dd9c1c"]]),ha=["innerHTML"],fa=g({__name:"VPNavBarMenuLink",props:{item:{}},setup(s){const{page:e}=P();return(t,n)=>(a(),$(F,{class:N({VPNavBarMenuLink:!0,active:l(O)(l(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:v(()=>[c("span",{innerHTML:t.item.text},null,8,ha)]),_:1},8,["class","href","target","rel"]))}});const ma=m(fa,[["__scopeId","data-v-42ef59de"]]),ga=g({__name:"VPNavBarMenuGroup",props:{item:{}},setup(s){const e=s,{page:t}=P(),n=r=>"link"in r?O(t.value.relativePath,r.link,!!e.item.activeMatch):r.items.some(n),o=k(()=>n(e.item));return(r,d)=>(a(),$(be,{class:N({VPNavBarMenuGroup:!0,active:l(O)(l(t).relativePath,r.item.activeMatch,!!r.item.activeMatch)||o.value}),button:r.item.text,items:r.item.items},null,8,["class","button","items"]))}}),ba=s=>(H("data-v-7f418b0f"),s=s(),z(),s),$a={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},ka=ba(()=>c("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),ya=g({__name:"VPNavBarMenu",setup(s){const{theme:e}=P();return(t,n)=>l(e).nav?(a(),i("nav",$a,[ka,(a(!0),i(M,null,A(l(e).nav,o=>(a(),i(M,{key:o.text},["link"in o?(a(),$(ma,{key:0,item:o},null,8,["item"])):(a(),$(ga,{key:1,item:o},null,8,["item"]))],64))),128))])):f("",!0)}});const Pa=m(ya,[["__scopeId","data-v-7f418b0f"]]);function Va(s,e){const{localeIndex:t}=P();function n(o){var I,B;const r=o.split("."),d=s&&typeof s=="object",p=d&&((B=(I=s.locales)==null?void 0:I[t.value])==null?void 0:B.translations)||null,_=d&&s.translations||null;let b=p,y=_,w=e;const C=r.pop();for(const T of r){let V=null;const q=w==null?void 0:w[T];q&&(V=w=q);const W=y==null?void 0:y[T];W&&(V=y=W);const K=b==null?void 0:b[T];K&&(V=b=K),q||(w=V),W||(y=V),K||(b=V)}return(b==null?void 0:b[C])??(y==null?void 0:y[C])??(w==null?void 0:w[C])??""}return n}const wa=["aria-label"],La={class:"DocSearch-Button-Container"},Sa=c("svg",{class:"DocSearch-Search-Icon",width:"20",height:"20",viewBox:"0 0 20 20","aria-label":"search icon"},[c("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),Ma={class:"DocSearch-Button-Placeholder"},Na=c("span",{class:"DocSearch-Button-Keys"},[c("kbd",{class:"DocSearch-Button-Key"}),c("kbd",{class:"DocSearch-Button-Key"},"K")],-1),ye=g({__name:"VPNavBarSearchButton",setup(s){var o;const{theme:e}=P(),t={button:{buttonText:"Search",buttonAriaLabel:"Search"}},n=Va((o=e.value.search)==null?void 0:o.options,t);return(r,d)=>(a(),i("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":l(n)("button.buttonAriaLabel")},[c("span",La,[Sa,c("span",Ma,L(l(n)("button.buttonText")),1)]),Na],8,wa))}});const Ia={class:"VPNavBarSearch"},Ca={id:"local-search"},Ta={key:1,id:"docsearch"},Ba=g({__name:"VPNavBarSearch",setup(s){const e=()=>null,t=()=>null,{theme:n}=P(),o=S(!1),r=S(!1);G(()=>{});function d(){o.value||(o.value=!0,setTimeout(p,16))}function p(){const y=new Event("keydown");y.key="k",y.metaKey=!0,window.dispatchEvent(y),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||p()},16)}const _=S(!1),b="";return(y,w)=>{var C;return a(),i("div",Ia,[l(b)==="local"?(a(),i(M,{key:0},[_.value?(a(),$(l(e),{key:0,onClose:w[0]||(w[0]=I=>_.value=!1)})):f("",!0),c("div",Ca,[h(ye,{onClick:w[1]||(w[1]=I=>_.value=!0)})])],64)):l(b)==="algolia"?(a(),i(M,{key:1},[o.value?(a(),$(l(t),{key:0,algolia:((C=l(n).search)==null?void 0:C.options)??l(n).algolia,onVnodeBeforeMount:w[2]||(w[2]=I=>r.value=!0)},null,8,["algolia"])):f("",!0),r.value?f("",!0):(a(),i("div",Ta,[h(ye,{onClick:d})]))],64)):f("",!0)])}}});const Aa=g({__name:"VPNavBarSocialLinks",setup(s){const{theme:e}=P();return(t,n)=>l(e).socialLinks?(a(),$($e,{key:0,class:"VPNavBarSocialLinks",links:l(e).socialLinks},null,8,["links"])):f("",!0)}});const xa=m(Aa,[["__scopeId","data-v-0394ad82"]]),Ha=["href"],za=g({__name:"VPNavBarTitle",setup(s){const{site:e,theme:t}=P(),{hasSidebar:n}=D(),{currentLang:o}=Q();return(r,d)=>(a(),i("div",{class:N(["VPNavBarTitle",{"has-sidebar":l(n)}])},[c("a",{class:"title",href:l(t).logoLink??l(J)(l(o).link)},[u(r.$slots,"nav-bar-title-before",{},void 0,!0),l(t).logo?(a(),$(ee,{key:0,class:"logo",image:l(t).logo},null,8,["image"])):f("",!0),l(t).siteTitle?(a(),i(M,{key:1},[x(L(l(t).siteTitle),1)],64)):l(t).siteTitle===void 0?(a(),i(M,{key:2},[x(L(l(e).title),1)],64)):f("",!0),u(r.$slots,"nav-bar-title-after",{},void 0,!0)],8,Ha)],2))}});const Da=m(za,[["__scopeId","data-v-86d1bed8"]]),Fa={},Ea={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Oa=c("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),Ga=c("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),Ua=[Oa,Ga];function ja(s,e){return a(),i("svg",Ea,Ua)}const Be=m(Fa,[["render",ja]]),qa={class:"items"},Ka={class:"title"},Ra=g({__name:"VPNavBarTranslations",setup(s){const{theme:e}=P(),{localeLinks:t,currentLang:n}=Q({correspondingLink:!0});return(o,r)=>l(t).length&&l(n).label?(a(),$(be,{key:0,class:"VPNavBarTranslations",icon:Be,label:l(e).langMenuLabel||"Change language"},{default:v(()=>[c("div",qa,[c("p",Ka,L(l(n).label),1),(a(!0),i(M,null,A(l(t),d=>(a(),$(oe,{key:d.link,item:d},null,8,["item"]))),128))])]),_:1},8,["label"])):f("",!0)}});const Wa=m(Ra,[["__scopeId","data-v-74abcbb9"]]),Ya=s=>(H("data-v-a0fd61f4"),s=s(),z(),s),Ja={class:"container"},Qa={class:"title"},Xa={class:"content"},Za=Ya(()=>c("div",{class:"curtain"},null,-1)),er={class:"content-body"},tr=g({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(s){const{y:e}=we(),{hasSidebar:t}=D(),{frontmatter:n}=P(),o=S({});return Pe(()=>{o.value={"has-sidebar":t.value,top:n.value.layout==="home"&&e.value===0}}),(r,d)=>(a(),i("div",{class:N(["VPNavBar",o.value])},[c("div",Ja,[c("div",Qa,[h(Da,null,{"nav-bar-title-before":v(()=>[u(r.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[u(r.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),c("div",Xa,[Za,c("div",er,[u(r.$slots,"nav-bar-content-before",{},void 0,!0),h(Ba,{class:"search"}),h(Pa,{class:"menu"}),h(Wa,{class:"translations"}),h(ho,{class:"appearance"}),h(xa,{class:"social-links"}),h(ia,{class:"extra"}),u(r.$slots,"nav-bar-content-after",{},void 0,!0),h(pa,{class:"hamburger",active:r.isScreenOpen,onClick:d[0]||(d[0]=p=>r.$emit("toggle-screen"))},null,8,["active"])])])])],2))}});const sr=m(tr,[["__scopeId","data-v-a0fd61f4"]]),nr={key:0,class:"VPNavScreenAppearance"},or={class:"text"},ar=g({__name:"VPNavScreenAppearance",setup(s){const{site:e,theme:t}=P();return(n,o)=>l(e).appearance?(a(),i("div",nr,[c("p",or,L(l(t).darkModeSwitchLabel||"Appearance"),1),h(me)])):f("",!0)}});const rr=m(ar,[["__scopeId","data-v-add8f686"]]),lr=g({__name:"VPNavScreenMenuLink",props:{item:{}},setup(s){const e=ne("close-screen");return(t,n)=>(a(),$(F,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:l(e)},{default:v(()=>[x(L(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}});const ir=m(lr,[["__scopeId","data-v-05f27b2a"]]),cr={},ur={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},dr=c("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),_r=[dr];function vr(s,e){return a(),i("svg",ur,_r)}const pr=m(cr,[["render",vr]]),hr=g({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(s){const e=ne("close-screen");return(t,n)=>(a(),$(F,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:l(e)},{default:v(()=>[x(L(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}});const Ae=m(hr,[["__scopeId","data-v-19976ae1"]]),fr={class:"VPNavScreenMenuGroupSection"},mr={key:0,class:"title"},gr=g({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),i("div",fr,[e.text?(a(),i("p",mr,L(e.text),1)):f("",!0),(a(!0),i(M,null,A(e.items,n=>(a(),$(Ae,{key:n.text,item:n},null,8,["item"]))),128))]))}});const br=m(gr,[["__scopeId","data-v-8133b170"]]),$r=["aria-controls","aria-expanded"],kr={class:"button-text"},yr=["id"],Pr={key:1,class:"group"},Vr=g({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(s){const e=s,t=S(!1),n=k(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function o(){t.value=!t.value}return(r,d)=>(a(),i("div",{class:N(["VPNavScreenMenuGroup",{open:t.value}])},[c("button",{class:"button","aria-controls":n.value,"aria-expanded":t.value,onClick:o},[c("span",kr,L(r.text),1),h(pr,{class:"button-icon"})],8,$r),c("div",{id:n.value,class:"items"},[(a(!0),i(M,null,A(r.items,p=>(a(),i(M,{key:p.text},["link"in p?(a(),i("div",{key:p.text,class:"item"},[h(Ae,{item:p},null,8,["item"])])):(a(),i("div",Pr,[h(br,{text:p.text,items:p.items},null,8,["text","items"])]))],64))),128))],8,yr)],2))}});const wr=m(Vr,[["__scopeId","data-v-1ecb84e7"]]),Lr={key:0,class:"VPNavScreenMenu"},Sr=g({__name:"VPNavScreenMenu",setup(s){const{theme:e}=P();return(t,n)=>l(e).nav?(a(),i("nav",Lr,[(a(!0),i(M,null,A(l(e).nav,o=>(a(),i(M,{key:o.text},["link"in o?(a(),$(ir,{key:0,item:o},null,8,["item"])):(a(),$(wr,{key:1,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):f("",!0)}}),Mr=g({__name:"VPNavScreenSocialLinks",setup(s){const{theme:e}=P();return(t,n)=>l(e).socialLinks?(a(),$($e,{key:0,class:"VPNavScreenSocialLinks",links:l(e).socialLinks},null,8,["links"])):f("",!0)}}),Nr={class:"list"},Ir=g({__name:"VPNavScreenTranslations",setup(s){const{localeLinks:e,currentLang:t}=Q({correspondingLink:!0}),n=S(!1);function o(){n.value=!n.value}return(r,d)=>l(e).length&&l(t).label?(a(),i("div",{key:0,class:N(["VPNavScreenTranslations",{open:n.value}])},[c("button",{class:"title",onClick:o},[h(Be,{class:"icon lang"}),x(" "+L(l(t).label)+" ",1),h(Te,{class:"icon chevron"})]),c("ul",Nr,[(a(!0),i(M,null,A(l(e),p=>(a(),i("li",{key:p.link,class:"item"},[h(F,{class:"link",href:p.link},{default:v(()=>[x(L(p.text),1)]),_:2},1032,["href"])]))),128))])],2)):f("",!0)}});const Cr=m(Ir,[["__scopeId","data-v-d72aa483"]]),Tr={class:"container"},Br=g({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(s){const e=S(null),t=Le(R?document.body:null);return(n,o)=>(a(),$(ce,{name:"fade",onEnter:o[0]||(o[0]=r=>t.value=!0),onAfterLeave:o[1]||(o[1]=r=>t.value=!1)},{default:v(()=>[n.open?(a(),i("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[c("div",Tr,[u(n.$slots,"nav-screen-content-before",{},void 0,!0),h(Sr,{class:"menu"}),h(Cr,{class:"translations"}),h(rr,{class:"appearance"}),h(Mr,{class:"social-links"}),u(n.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):f("",!0)]),_:3}))}});const Ar=m(Br,[["__scopeId","data-v-cc5739dd"]]),xr={key:0,class:"VPNav"},Hr=g({__name:"VPNav",setup(s){const{isScreenOpen:e,closeScreen:t,toggleScreen:n}=Kn(),{frontmatter:o}=P(),r=k(()=>o.value.navbar!==!1);return Se("close-screen",t),te(()=>{R&&document.documentElement.classList.toggle("hide-nav",!r.value)}),(d,p)=>r.value?(a(),i("header",xr,[h(sr,{"is-screen-open":l(e),onToggleScreen:l(n)},{"nav-bar-title-before":v(()=>[u(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[u(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[u(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[u(d.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),h(Ar,{open:l(e)},{"nav-screen-content-before":v(()=>[u(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[u(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):f("",!0)}});const zr=m(Hr,[["__scopeId","data-v-ae24b3ad"]]),Dr=s=>(H("data-v-e31bd47b"),s=s(),z(),s),Fr=["role","tabindex"],Er=Dr(()=>c("div",{class:"indicator"},null,-1)),Or=["onKeydown"],Gr={key:1,class:"items"},Ur=g({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(s){const e=s,{collapsed:t,collapsible:n,isLink:o,isActiveLink:r,hasActiveLink:d,hasChildren:p,toggle:_}=vt(k(()=>e.item)),b=k(()=>p.value?"section":"div"),y=k(()=>o.value?"a":"div"),w=k(()=>p.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),C=k(()=>o.value?void 0:"button"),I=k(()=>[[`level-${e.depth}`],{collapsible:n.value},{collapsed:t.value},{"is-link":o.value},{"is-active":r.value},{"has-active":d.value}]);function B(V){"key"in V&&V.key!=="Enter"||!e.item.link&&_()}function T(){e.item.link&&_()}return(V,q)=>{const W=j("VPSidebarItem",!0);return a(),$(E(b.value),{class:N(["VPSidebarItem",I.value])},{default:v(()=>[V.item.text?(a(),i("div",X({key:0,class:"item",role:C.value},je(V.item.items?{click:B,keydown:B}:{},!0),{tabindex:V.item.items&&0}),[Er,V.item.link?(a(),$(F,{key:0,tag:y.value,class:"link",href:V.item.link,rel:V.item.rel,target:V.item.target},{default:v(()=>[(a(),$(E(w.value),{class:"text",innerHTML:V.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(a(),$(E(w.value),{key:1,class:"text",innerHTML:V.item.text},null,8,["innerHTML"])),V.item.collapsed!=null?(a(),i("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:T,onKeydown:Ue(T,["enter"]),tabindex:"0"},[h(fe,{class:"caret-icon"})],40,Or)):f("",!0)],16,Fr)):f("",!0),V.item.items&&V.item.items.length?(a(),i("div",Gr,[V.depth<5?(a(!0),i(M,{key:0},A(V.item.items,K=>(a(),$(W,{key:K.text,item:K,depth:V.depth+1},null,8,["item","depth"]))),128)):f("",!0)])):f("",!0)]),_:1},8,["class"])}}});const jr=m(Ur,[["__scopeId","data-v-e31bd47b"]]),xe=s=>(H("data-v-b00e2fdd"),s=s(),z(),s),qr=xe(()=>c("div",{class:"curtain"},null,-1)),Kr={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Rr=xe(()=>c("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),Wr=g({__name:"VPSidebar",props:{open:{type:Boolean}},setup(s){const{sidebarGroups:e,hasSidebar:t}=D(),n=s,o=S(null),r=Le(R?document.body:null);return U([n,o],()=>{var d;n.open?(r.value=!0,(d=o.value)==null||d.focus()):r.value=!1},{immediate:!0,flush:"post"}),(d,p)=>l(t)?(a(),i("aside",{key:0,class:N(["VPSidebar",{open:d.open}]),ref_key:"navEl",ref:o,onClick:p[0]||(p[0]=qe(()=>{},["stop"]))},[qr,c("nav",Kr,[Rr,u(d.$slots,"sidebar-nav-before",{},void 0,!0),(a(!0),i(M,null,A(l(e),_=>(a(),i("div",{key:_.text,class:"group"},[h(jr,{item:_,depth:0},null,8,["item"])]))),128)),u(d.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):f("",!0)}});const Yr=m(Wr,[["__scopeId","data-v-b00e2fdd"]]),Jr=g({__name:"VPSkipLink",setup(s){const e=se(),t=S();U(()=>e.path,()=>t.value.focus());function n({target:o}){const r=document.getElementById(decodeURIComponent(o.hash).slice(1));if(r){const d=()=>{r.removeAttribute("tabindex"),r.removeEventListener("blur",d)};r.setAttribute("tabindex","-1"),r.addEventListener("blur",d),r.focus(),window.scrollTo(0,0)}}return(o,r)=>(a(),i(M,null,[c("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),c("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:n}," Skip to content ")],64))}});const Qr=m(Jr,[["__scopeId","data-v-0f60ec36"]]),Xr=g({__name:"Layout",setup(s){const{isOpen:e,open:t,close:n}=D(),o=se();U(()=>o.path,n),_t(e,n);const{frontmatter:r}=P(),d=Ke(),p=k(()=>!!d["home-hero-image"]);return Se("hero-image-slot-exists",p),(_,b)=>{const y=j("Content");return l(r).layout!==!1?(a(),i("div",{key:0,class:N(["Layout",l(r).pageClass])},[u(_.$slots,"layout-top",{},void 0,!0),h(Qr),h(Qe,{class:"backdrop",show:l(e),onClick:l(n)},null,8,["show","onClick"]),h(zr,null,{"nav-bar-title-before":v(()=>[u(_.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[u(_.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[u(_.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[u(_.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":v(()=>[u(_.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[u(_.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),h(qn,{open:l(e),onOpenMenu:l(t)},null,8,["open","onOpenMenu"]),h(Yr,{open:l(e)},{"sidebar-nav-before":v(()=>[u(_.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":v(()=>[u(_.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),h(Pn,null,{"page-top":v(()=>[u(_.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[u(_.$slots,"page-bottom",{},void 0,!0)]),"not-found":v(()=>[u(_.$slots,"not-found",{},void 0,!0)]),"home-hero-before":v(()=>[u(_.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":v(()=>[u(_.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[u(_.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[u(_.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[u(_.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[u(_.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":v(()=>[u(_.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[u(_.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[u(_.$slots,"doc-after",{},void 0,!0)]),"doc-top":v(()=>[u(_.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[u(_.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":v(()=>[u(_.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[u(_.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[u(_.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[u(_.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[u(_.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[u(_.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),h(Mn),u(_.$slots,"layout-bottom",{},void 0,!0)],2)):(a(),$(y,{key:1}))}}});const Zr=m(Xr,[["__scopeId","data-v-5a346dfe"]]);const tl={Layout:Zr,enhanceApp:({app:s})=>{s.component("Badge",We)}};export{tl as t}; diff --git a/assets/guide_cli.md.a311eac1.js b/assets/guide_cli.md.3efd2036.js similarity index 97% rename from assets/guide_cli.md.a311eac1.js rename to assets/guide_cli.md.3efd2036.js index b3fa6fca..369f13f2 100644 --- a/assets/guide_cli.md.a311eac1.js +++ b/assets/guide_cli.md.3efd2036.js @@ -1,4 +1,4 @@ -import{_ as e,o as t,c as o,Q as d}from"./chunks/framework.6ee49df6.js";const b=JSON.parse('{"title":"CLI","description":"","frontmatter":{},"headers":[],"relativePath":"guide/cli.md","filePath":"guide/cli.md"}'),s={name:"guide/cli.md"},c=d(`

CLI

The following commands are available in the terminal:

  • typeorm-extension db:create to create the database
  • typeorm-extension db:drop to drop the database
  • typeorm-extension seed seed the database

Alternatively, the full command path can be set in the package.json file to run it e.g. with ts-node.

"scripts": {
+import{_ as e,o as t,c as o,Q as d}from"./chunks/framework.c93772cc.js";const b=JSON.parse('{"title":"CLI","description":"","frontmatter":{},"headers":[],"relativePath":"guide/cli.md","filePath":"guide/cli.md"}'),s={name:"guide/cli.md"},c=d(`

CLI

The following commands are available in the terminal:

  • typeorm-extension db:create to create the database
  • typeorm-extension db:drop to drop the database
  • typeorm-extension seed seed the database

Alternatively, the full command path can be set in the package.json file to run it e.g. with ts-node.

"scripts": {
   ...
   "db:create": "ts-node ./node_modules/typeorm-extension/dist/cli/index.js db:create",
   "db:drop": "ts-node ./node_modules/typeorm-extension/dist/cli/index.js db:drop",
diff --git a/assets/guide_cli.md.a311eac1.lean.js b/assets/guide_cli.md.3efd2036.lean.js
similarity index 65%
rename from assets/guide_cli.md.a311eac1.lean.js
rename to assets/guide_cli.md.3efd2036.lean.js
index 8ff7a65d..f5827809 100644
--- a/assets/guide_cli.md.a311eac1.lean.js
+++ b/assets/guide_cli.md.3efd2036.lean.js
@@ -1 +1 @@
-import{_ as e,o as t,c as o,Q as d}from"./chunks/framework.6ee49df6.js";const b=JSON.parse('{"title":"CLI","description":"","frontmatter":{},"headers":[],"relativePath":"guide/cli.md","filePath":"guide/cli.md"}'),s={name:"guide/cli.md"},c=d("",8),a=[c];function n(i,l,r,p,u,h){return t(),o("div",null,a)}const f=e(s,[["render",n]]);export{b as __pageData,f as default};
+import{_ as e,o as t,c as o,Q as d}from"./chunks/framework.c93772cc.js";const b=JSON.parse('{"title":"CLI","description":"","frontmatter":{},"headers":[],"relativePath":"guide/cli.md","filePath":"guide/cli.md"}'),s={name:"guide/cli.md"},c=d("",8),a=[c];function n(i,l,r,p,u,h){return t(),o("div",null,a)}const f=e(s,[["render",n]]);export{b as __pageData,f as default};
diff --git a/assets/guide_database-api-reference.md.06af7476.js b/assets/guide_database-api-reference.md.e1912050.js
similarity index 99%
rename from assets/guide_database-api-reference.md.06af7476.js
rename to assets/guide_database-api-reference.md.e1912050.js
index 9bcf4876..14e8a7ce 100644
--- a/assets/guide_database-api-reference.md.06af7476.js
+++ b/assets/guide_database-api-reference.md.e1912050.js
@@ -1,4 +1,4 @@
-import{_ as s,o as a,c as n,Q as p}from"./chunks/framework.6ee49df6.js";const h=JSON.parse('{"title":"Database","description":"","frontmatter":{},"headers":[],"relativePath":"guide/database-api-reference.md","filePath":"guide/database-api-reference.md"}'),l={name:"guide/database-api-reference.md"},o=p(`

Database

createDatabase

Type

ts
declare function createDatabase(
+import{_ as s,o as a,c as n,Q as p}from"./chunks/framework.c93772cc.js";const h=JSON.parse('{"title":"Database","description":"","frontmatter":{},"headers":[],"relativePath":"guide/database-api-reference.md","filePath":"guide/database-api-reference.md"}'),l={name:"guide/database-api-reference.md"},o=p(`

Database

createDatabase

Type

ts
declare function createDatabase(
     context?: DatabaseCreateContext
 ): Promise<string>;
declare function createDatabase(
     context?: DatabaseCreateContext
diff --git a/assets/guide_database-api-reference.md.06af7476.lean.js b/assets/guide_database-api-reference.md.e1912050.lean.js
similarity index 70%
rename from assets/guide_database-api-reference.md.06af7476.lean.js
rename to assets/guide_database-api-reference.md.e1912050.lean.js
index d78fda65..9e655c92 100644
--- a/assets/guide_database-api-reference.md.06af7476.lean.js
+++ b/assets/guide_database-api-reference.md.e1912050.lean.js
@@ -1 +1 @@
-import{_ as s,o as a,c as n,Q as p}from"./chunks/framework.6ee49df6.js";const h=JSON.parse('{"title":"Database","description":"","frontmatter":{},"headers":[],"relativePath":"guide/database-api-reference.md","filePath":"guide/database-api-reference.md"}'),l={name:"guide/database-api-reference.md"},o=p("",53),e=[o];function t(c,r,y,i,E,d){return a(),n("div",null,e)}const b=s(l,[["render",t]]);export{h as __pageData,b as default};
+import{_ as s,o as a,c as n,Q as p}from"./chunks/framework.c93772cc.js";const h=JSON.parse('{"title":"Database","description":"","frontmatter":{},"headers":[],"relativePath":"guide/database-api-reference.md","filePath":"guide/database-api-reference.md"}'),l={name:"guide/database-api-reference.md"},o=p("",53),e=[o];function t(c,r,y,i,E,d){return a(),n("div",null,e)}const b=s(l,[["render",t]]);export{h as __pageData,b as default};
diff --git a/assets/guide_database.md.51a2d1ed.js b/assets/guide_database.md.4ba39689.js
similarity index 99%
rename from assets/guide_database.md.51a2d1ed.js
rename to assets/guide_database.md.4ba39689.js
index eb311db1..bba18d17 100644
--- a/assets/guide_database.md.51a2d1ed.js
+++ b/assets/guide_database.md.4ba39689.js
@@ -1,4 +1,4 @@
-import{_ as s,o as a,c as n,Q as p}from"./chunks/framework.6ee49df6.js";const h=JSON.parse('{"title":"Database","description":"","frontmatter":{},"headers":[],"relativePath":"guide/database.md","filePath":"guide/database.md"}'),l={name:"guide/database.md"},o=p(`

Database

An alternative to the CLI variant, is to create the database in the code base during the runtime of the application. Therefore, provide the DataSourceOptions for the DataSource manually, or let it be created automatically:

Create

Example #1

typescript
import { 
+import{_ as s,o as a,c as n,Q as p}from"./chunks/framework.c93772cc.js";const h=JSON.parse('{"title":"Database","description":"","frontmatter":{},"headers":[],"relativePath":"guide/database.md","filePath":"guide/database.md"}'),l={name:"guide/database.md"},o=p(`

Database

An alternative to the CLI variant, is to create the database in the code base during the runtime of the application. Therefore, provide the DataSourceOptions for the DataSource manually, or let it be created automatically:

Create

Example #1

typescript
import { 
     DataSource, 
     DataSourceOptions
 } from 'typeorm';
diff --git a/assets/guide_database.md.51a2d1ed.lean.js b/assets/guide_database.md.4ba39689.lean.js
similarity index 67%
rename from assets/guide_database.md.51a2d1ed.lean.js
rename to assets/guide_database.md.4ba39689.lean.js
index 27bee9fe..9f965873 100644
--- a/assets/guide_database.md.51a2d1ed.lean.js
+++ b/assets/guide_database.md.4ba39689.lean.js
@@ -1 +1 @@
-import{_ as s,o as a,c as n,Q as p}from"./chunks/framework.6ee49df6.js";const h=JSON.parse('{"title":"Database","description":"","frontmatter":{},"headers":[],"relativePath":"guide/database.md","filePath":"guide/database.md"}'),l={name:"guide/database.md"},o=p("",22),e=[o];function t(c,r,E,y,i,d){return a(),n("div",null,e)}const u=s(l,[["render",t]]);export{h as __pageData,u as default};
+import{_ as s,o as a,c as n,Q as p}from"./chunks/framework.c93772cc.js";const h=JSON.parse('{"title":"Database","description":"","frontmatter":{},"headers":[],"relativePath":"guide/database.md","filePath":"guide/database.md"}'),l={name:"guide/database.md"},o=p("",22),e=[o];function t(c,r,E,y,i,d){return a(),n("div",null,e)}const u=s(l,[["render",t]]);export{h as __pageData,u as default};
diff --git a/assets/guide_datasource-api-reference.md.0912902c.js b/assets/guide_datasource-api-reference.md.e832c3c1.js
similarity index 99%
rename from assets/guide_datasource-api-reference.md.0912902c.js
rename to assets/guide_datasource-api-reference.md.e832c3c1.js
index cb185e9a..4f18c8cc 100644
--- a/assets/guide_datasource-api-reference.md.0912902c.js
+++ b/assets/guide_datasource-api-reference.md.e832c3c1.js
@@ -1,4 +1,4 @@
-import{_ as s,o as a,c as n,Q as p}from"./chunks/framework.6ee49df6.js";const D=JSON.parse('{"title":"DataSource","description":"","frontmatter":{},"headers":[],"relativePath":"guide/datasource-api-reference.md","filePath":"guide/datasource-api-reference.md"}'),o={name:"guide/datasource-api-reference.md"},l=p(`

DataSource

setDataSource

typescript
declare function setDataSourceOptions(
+import{_ as s,o as a,c as n,Q as p}from"./chunks/framework.c93772cc.js";const D=JSON.parse('{"title":"DataSource","description":"","frontmatter":{},"headers":[],"relativePath":"guide/datasource-api-reference.md","filePath":"guide/datasource-api-reference.md"}'),o={name:"guide/datasource-api-reference.md"},l=p(`

DataSource

setDataSource

typescript
declare function setDataSourceOptions(
     dataSource: DataSource,
     alias?: string
 ) : void;
declare function setDataSourceOptions(
diff --git a/assets/guide_datasource-api-reference.md.0912902c.lean.js b/assets/guide_datasource-api-reference.md.e832c3c1.lean.js
similarity index 70%
rename from assets/guide_datasource-api-reference.md.0912902c.lean.js
rename to assets/guide_datasource-api-reference.md.e832c3c1.lean.js
index e4090f52..432f2d9e 100644
--- a/assets/guide_datasource-api-reference.md.0912902c.lean.js
+++ b/assets/guide_datasource-api-reference.md.e832c3c1.lean.js
@@ -1 +1 @@
-import{_ as s,o as a,c as n,Q as p}from"./chunks/framework.6ee49df6.js";const D=JSON.parse('{"title":"DataSource","description":"","frontmatter":{},"headers":[],"relativePath":"guide/datasource-api-reference.md","filePath":"guide/datasource-api-reference.md"}'),o={name:"guide/datasource-api-reference.md"},l=p("",63),e=[l];function t(c,r,y,E,i,d){return a(),n("div",null,e)}const F=s(o,[["render",t]]);export{D as __pageData,F as default};
+import{_ as s,o as a,c as n,Q as p}from"./chunks/framework.c93772cc.js";const D=JSON.parse('{"title":"DataSource","description":"","frontmatter":{},"headers":[],"relativePath":"guide/datasource-api-reference.md","filePath":"guide/datasource-api-reference.md"}'),o={name:"guide/datasource-api-reference.md"},l=p("",63),e=[l];function t(c,r,y,E,i,d){return a(),n("div",null,e)}const F=s(o,[["render",t]]);export{D as __pageData,F as default};
diff --git a/assets/guide_index.md.17d5ba2a.js b/assets/guide_index.md.1ab1e021.js
similarity index 93%
rename from assets/guide_index.md.17d5ba2a.js
rename to assets/guide_index.md.1ab1e021.js
index 3151f28f..f9768082 100644
--- a/assets/guide_index.md.17d5ba2a.js
+++ b/assets/guide_index.md.1ab1e021.js
@@ -1 +1 @@
-import{_ as e,o as t,c as i,Q as o}from"./chunks/framework.6ee49df6.js";const _=JSON.parse('{"title":"What is it?","description":"","frontmatter":{},"headers":[],"relativePath":"guide/index.md","filePath":"guide/index.md"}'),a={name:"guide/index.md"},r=o('

What is it?

This is a library to:

  • create, drop & seed the (default-) database 🔥
  • manage one or many data-source instances 👻
  • parse & apply query parameters (extended JSON:API specification & fully typed) to:
    • filter (related) resources according to one or more criteria,
    • reduce (related) resource fields,
    • include related resources,
    • sort resources according to one or more criteria,
    • limit the number of resources returned in a response by page limit & offset

Important NOTE

The guide is under construction ☂ at the moment. So please stay patient or contribute to it, till it covers all parts ⭐.

Limitations

At the moment, only the following typeorm drivers are supported to create or drop a database:

  • CockroachDB
  • MSSQL
  • MySQL
  • Oracle
  • Postgres
  • SQLite
',7),l=[r];function s(c,d,n,p,u,m){return t(),i("div",null,l)}const f=e(a,[["render",s]]);export{_ as __pageData,f as default}; +import{_ as e,o as t,c as i,Q as o}from"./chunks/framework.c93772cc.js";const _=JSON.parse('{"title":"What is it?","description":"","frontmatter":{},"headers":[],"relativePath":"guide/index.md","filePath":"guide/index.md"}'),a={name:"guide/index.md"},r=o('

What is it?

This is a library to:

  • create, drop & seed the (default-) database 🔥
  • manage one or many data-source instances 👻
  • parse & apply query parameters (extended JSON:API specification & fully typed) to:
    • filter (related) resources according to one or more criteria,
    • reduce (related) resource fields,
    • include related resources,
    • sort resources according to one or more criteria,
    • limit the number of resources returned in a response by page limit & offset

Important NOTE

The guide is under construction ☂ at the moment. So please stay patient or contribute to it, till it covers all parts ⭐.

Limitations

At the moment, only the following typeorm drivers are supported to create or drop a database:

  • CockroachDB
  • MSSQL
  • MySQL
  • Oracle
  • Postgres
  • SQLite
',7),l=[r];function s(c,d,n,p,u,m){return t(),i("div",null,l)}const f=e(a,[["render",s]]);export{_ as __pageData,f as default}; diff --git a/assets/guide_index.md.17d5ba2a.lean.js b/assets/guide_index.md.1ab1e021.lean.js similarity index 66% rename from assets/guide_index.md.17d5ba2a.lean.js rename to assets/guide_index.md.1ab1e021.lean.js index fc52ddad..6ed368be 100644 --- a/assets/guide_index.md.17d5ba2a.lean.js +++ b/assets/guide_index.md.1ab1e021.lean.js @@ -1 +1 @@ -import{_ as e,o as t,c as i,Q as o}from"./chunks/framework.6ee49df6.js";const _=JSON.parse('{"title":"What is it?","description":"","frontmatter":{},"headers":[],"relativePath":"guide/index.md","filePath":"guide/index.md"}'),a={name:"guide/index.md"},r=o("",7),l=[r];function s(c,d,n,p,u,m){return t(),i("div",null,l)}const f=e(a,[["render",s]]);export{_ as __pageData,f as default}; +import{_ as e,o as t,c as i,Q as o}from"./chunks/framework.c93772cc.js";const _=JSON.parse('{"title":"What is it?","description":"","frontmatter":{},"headers":[],"relativePath":"guide/index.md","filePath":"guide/index.md"}'),a={name:"guide/index.md"},r=o("",7),l=[r];function s(c,d,n,p,u,m){return t(),i("div",null,l)}const f=e(a,[["render",s]]);export{_ as __pageData,f as default}; diff --git a/assets/guide_installation.md.a2ffe9fe.js b/assets/guide_installation.md.89e7f204.js similarity index 91% rename from assets/guide_installation.md.a2ffe9fe.js rename to assets/guide_installation.md.89e7f204.js index e556705c..8cd9d96b 100644 --- a/assets/guide_installation.md.a2ffe9fe.js +++ b/assets/guide_installation.md.89e7f204.js @@ -1 +1 @@ -import{_ as a,o as s,c as t,Q as n}from"./chunks/framework.6ee49df6.js";const E=JSON.parse('{"title":"Installation","description":"","frontmatter":{},"headers":[],"relativePath":"guide/installation.md","filePath":"guide/installation.md"}'),e={name:"guide/installation.md"},o=n('

Installation

Add the package as a dependency to the project.

sh
npm install typeorm-extension --save
npm install typeorm-extension --save
',3),l=[o];function p(i,c,r,d,_,h){return s(),t("div",null,l)}const m=a(e,[["render",p]]);export{E as __pageData,m as default}; +import{_ as a,o as s,c as t,Q as n}from"./chunks/framework.c93772cc.js";const E=JSON.parse('{"title":"Installation","description":"","frontmatter":{},"headers":[],"relativePath":"guide/installation.md","filePath":"guide/installation.md"}'),e={name:"guide/installation.md"},o=n('

Installation

Add the package as a dependency to the project.

sh
npm install typeorm-extension --save
npm install typeorm-extension --save
',3),l=[o];function p(i,c,r,d,_,h){return s(),t("div",null,l)}const m=a(e,[["render",p]]);export{E as __pageData,m as default}; diff --git a/assets/guide_installation.md.a2ffe9fe.lean.js b/assets/guide_installation.md.89e7f204.lean.js similarity index 68% rename from assets/guide_installation.md.a2ffe9fe.lean.js rename to assets/guide_installation.md.89e7f204.lean.js index 6b56e32b..66522cff 100644 --- a/assets/guide_installation.md.a2ffe9fe.lean.js +++ b/assets/guide_installation.md.89e7f204.lean.js @@ -1 +1 @@ -import{_ as a,o as s,c as t,Q as n}from"./chunks/framework.6ee49df6.js";const E=JSON.parse('{"title":"Installation","description":"","frontmatter":{},"headers":[],"relativePath":"guide/installation.md","filePath":"guide/installation.md"}'),e={name:"guide/installation.md"},o=n("",3),l=[o];function p(i,c,r,d,_,h){return s(),t("div",null,l)}const m=a(e,[["render",p]]);export{E as __pageData,m as default}; +import{_ as a,o as s,c as t,Q as n}from"./chunks/framework.c93772cc.js";const E=JSON.parse('{"title":"Installation","description":"","frontmatter":{},"headers":[],"relativePath":"guide/installation.md","filePath":"guide/installation.md"}'),e={name:"guide/installation.md"},o=n("",3),l=[o];function p(i,c,r,d,_,h){return s(),t("div",null,l)}const m=a(e,[["render",p]]);export{E as __pageData,m as default}; diff --git a/assets/guide_instances.md.9e030836.js b/assets/guide_instances.md.cebcc886.js similarity index 98% rename from assets/guide_instances.md.9e030836.js rename to assets/guide_instances.md.cebcc886.js index a2cc79d8..7faf0f95 100644 --- a/assets/guide_instances.md.9e030836.js +++ b/assets/guide_instances.md.cebcc886.js @@ -1,4 +1,4 @@ -import{_ as s,o as a,c as n,Q as o}from"./chunks/framework.6ee49df6.js";const D=JSON.parse('{"title":"Instances","description":"","frontmatter":{},"headers":[],"relativePath":"guide/instances.md","filePath":"guide/instances.md"}'),l={name:"guide/instances.md"},p=o(`

Instances

Single

The default DataSource instance can be acquired, by not providing any alias at all or using the key default. If no DataSource instance or DataSourceOptions object is deposited initially, the method will attempt to locate and load the DataSource file and initialize itself from there.

typescript
import { useDataSource } from 'typeorm-extension';
+import{_ as s,o as a,c as n,Q as o}from"./chunks/framework.c93772cc.js";const D=JSON.parse('{"title":"Instances","description":"","frontmatter":{},"headers":[],"relativePath":"guide/instances.md","filePath":"guide/instances.md"}'),l={name:"guide/instances.md"},p=o(`

Instances

Single

The default DataSource instance can be acquired, by not providing any alias at all or using the key default. If no DataSource instance or DataSourceOptions object is deposited initially, the method will attempt to locate and load the DataSource file and initialize itself from there.

typescript
import { useDataSource } from 'typeorm-extension';
 
 (async () => {
     const dataSource : DataSource = await useDataSource();
diff --git a/assets/guide_instances.md.9e030836.lean.js b/assets/guide_instances.md.cebcc886.lean.js
similarity index 67%
rename from assets/guide_instances.md.9e030836.lean.js
rename to assets/guide_instances.md.cebcc886.lean.js
index d3e50ef2..4b5ba4f1 100644
--- a/assets/guide_instances.md.9e030836.lean.js
+++ b/assets/guide_instances.md.cebcc886.lean.js
@@ -1 +1 @@
-import{_ as s,o as a,c as n,Q as o}from"./chunks/framework.6ee49df6.js";const D=JSON.parse('{"title":"Instances","description":"","frontmatter":{},"headers":[],"relativePath":"guide/instances.md","filePath":"guide/instances.md"}'),l={name:"guide/instances.md"},p=o("",11),e=[p];function t(c,r,E,y,i,u){return a(),n("div",null,e)}const F=s(l,[["render",t]]);export{D as __pageData,F as default};
+import{_ as s,o as a,c as n,Q as o}from"./chunks/framework.c93772cc.js";const D=JSON.parse('{"title":"Instances","description":"","frontmatter":{},"headers":[],"relativePath":"guide/instances.md","filePath":"guide/instances.md"}'),l={name:"guide/instances.md"},p=o("",11),e=[p];function t(c,r,E,y,i,u){return a(),n("div",null,e)}const F=s(l,[["render",t]]);export{D as __pageData,F as default};
diff --git a/assets/guide_migration-guide-v3.md.28ab11ba.js b/assets/guide_migration-guide-v3.md.9dd79858.js
similarity index 96%
rename from assets/guide_migration-guide-v3.md.28ab11ba.js
rename to assets/guide_migration-guide-v3.md.9dd79858.js
index a1ecf855..4fa1f034 100644
--- a/assets/guide_migration-guide-v3.md.28ab11ba.js
+++ b/assets/guide_migration-guide-v3.md.9dd79858.js
@@ -1,4 +1,4 @@
-import{_ as s,o as n,c as e,Q as a}from"./chunks/framework.6ee49df6.js";const m=JSON.parse('{"title":"Upgrading to v3","description":"","frontmatter":{},"headers":[],"relativePath":"guide/migration-guide-v3.md","filePath":"guide/migration-guide-v3.md"}'),o={name:"guide/migration-guide-v3.md"},t=a(`

Upgrading to v3

This the migration guide for upgrading from v2 to v3.

CLI

File Path

Old

shell
ts-node ./node-modules/typeorm-extension/dist/cli/index.js
ts-node ./node-modules/typeorm-extension/dist/cli/index.js

New

shell
// CommonJS
+import{_ as s,o as n,c as e,Q as a}from"./chunks/framework.c93772cc.js";const m=JSON.parse('{"title":"Upgrading to v3","description":"","frontmatter":{},"headers":[],"relativePath":"guide/migration-guide-v3.md","filePath":"guide/migration-guide-v3.md"}'),o={name:"guide/migration-guide-v3.md"},t=a(`

Upgrading to v3

This the migration guide for upgrading from v2 to v3.

CLI

File Path

Old

shell
ts-node ./node-modules/typeorm-extension/dist/cli/index.js
ts-node ./node-modules/typeorm-extension/dist/cli/index.js

New

shell
// CommonJS
 ts-node ./node-modules/typeorm-extension/bin/cli.cjs 
 
 // ESM
diff --git a/assets/guide_migration-guide-v3.md.28ab11ba.lean.js b/assets/guide_migration-guide-v3.md.9dd79858.lean.js
similarity index 70%
rename from assets/guide_migration-guide-v3.md.28ab11ba.lean.js
rename to assets/guide_migration-guide-v3.md.9dd79858.lean.js
index e8bdf4dd..69ed4f10 100644
--- a/assets/guide_migration-guide-v3.md.28ab11ba.lean.js
+++ b/assets/guide_migration-guide-v3.md.9dd79858.lean.js
@@ -1 +1 @@
-import{_ as s,o as n,c as e,Q as a}from"./chunks/framework.6ee49df6.js";const m=JSON.parse('{"title":"Upgrading to v3","description":"","frontmatter":{},"headers":[],"relativePath":"guide/migration-guide-v3.md","filePath":"guide/migration-guide-v3.md"}'),o={name:"guide/migration-guide-v3.md"},t=a("",12),l=[t];function r(p,i,c,d,g,h){return n(),e("div",null,l)}const y=s(o,[["render",r]]);export{m as __pageData,y as default};
+import{_ as s,o as n,c as e,Q as a}from"./chunks/framework.c93772cc.js";const m=JSON.parse('{"title":"Upgrading to v3","description":"","frontmatter":{},"headers":[],"relativePath":"guide/migration-guide-v3.md","filePath":"guide/migration-guide-v3.md"}'),o={name:"guide/migration-guide-v3.md"},t=a("",12),l=[t];function r(p,i,c,d,g,h){return n(),e("div",null,l)}const y=s(o,[["render",r]]);export{m as __pageData,y as default};
diff --git a/assets/guide_query-api-reference.md.54f6f73b.js b/assets/guide_query-api-reference.md.1a5c7d3d.js
similarity index 99%
rename from assets/guide_query-api-reference.md.54f6f73b.js
rename to assets/guide_query-api-reference.md.1a5c7d3d.js
index c29af3c0..17babd71 100644
--- a/assets/guide_query-api-reference.md.54f6f73b.js
+++ b/assets/guide_query-api-reference.md.1a5c7d3d.js
@@ -1,4 +1,4 @@
-import{_ as s,o as a,c as n,Q as l}from"./chunks/framework.6ee49df6.js";const F=JSON.parse('{"title":"Query","description":"","frontmatter":{},"headers":[],"relativePath":"guide/query-api-reference.md","filePath":"guide/query-api-reference.md"}'),p={name:"guide/query-api-reference.md"},o=l(`

Query

Hint

To get an insight on the structure of the parsed query parameter values or to know, which values can be passed as (i.e. buildQuery, parseQuery, ...) function argument, check out the documentation of the rapiq library.

applyQueryFields

typescript
declare function applyQueryFields<T>(
+import{_ as s,o as a,c as n,Q as l}from"./chunks/framework.c93772cc.js";const F=JSON.parse('{"title":"Query","description":"","frontmatter":{},"headers":[],"relativePath":"guide/query-api-reference.md","filePath":"guide/query-api-reference.md"}'),p={name:"guide/query-api-reference.md"},o=l(`

Query

Hint

To get an insight on the structure of the parsed query parameter values or to know, which values can be passed as (i.e. buildQuery, parseQuery, ...) function argument, check out the documentation of the rapiq library.

applyQueryFields

typescript
declare function applyQueryFields<T>(
     query: SelectQueryBuilder<T>,
     data: unknown,
     options?: QueryFieldsApplyOptions<T>
diff --git a/assets/guide_query-api-reference.md.54f6f73b.lean.js b/assets/guide_query-api-reference.md.1a5c7d3d.lean.js
similarity index 69%
rename from assets/guide_query-api-reference.md.54f6f73b.lean.js
rename to assets/guide_query-api-reference.md.1a5c7d3d.lean.js
index a2e46006..9c52b0b8 100644
--- a/assets/guide_query-api-reference.md.54f6f73b.lean.js
+++ b/assets/guide_query-api-reference.md.1a5c7d3d.lean.js
@@ -1 +1 @@
-import{_ as s,o as a,c as n,Q as l}from"./chunks/framework.6ee49df6.js";const F=JSON.parse('{"title":"Query","description":"","frontmatter":{},"headers":[],"relativePath":"guide/query-api-reference.md","filePath":"guide/query-api-reference.md"}'),p={name:"guide/query-api-reference.md"},o=l("",92),e=[o];function t(r,c,y,i,E,d){return a(),n("div",null,e)}const g=s(p,[["render",t]]);export{F as __pageData,g as default};
+import{_ as s,o as a,c as n,Q as l}from"./chunks/framework.c93772cc.js";const F=JSON.parse('{"title":"Query","description":"","frontmatter":{},"headers":[],"relativePath":"guide/query-api-reference.md","filePath":"guide/query-api-reference.md"}'),p={name:"guide/query-api-reference.md"},o=l("",92),e=[o];function t(r,c,y,i,E,d){return a(),n("div",null,e)}const g=s(p,[["render",t]]);export{F as __pageData,g as default};
diff --git a/assets/guide_query.md.6e1a0b15.js b/assets/guide_query.md.749f0051.js
similarity index 99%
rename from assets/guide_query.md.6e1a0b15.js
rename to assets/guide_query.md.749f0051.js
index a3dedaa0..e81a1d8d 100644
--- a/assets/guide_query.md.6e1a0b15.js
+++ b/assets/guide_query.md.749f0051.js
@@ -1,4 +1,4 @@
-import{_ as s,o as n,c as a,Q as l}from"./chunks/framework.6ee49df6.js";const d=JSON.parse('{"title":"Query","description":"","frontmatter":{},"headers":[],"relativePath":"guide/query.md","filePath":"guide/query.md"}'),p={name:"guide/query.md"},o=l(`

Query

The query submodule enables query parameter (fields, filter, ...) values to be build, parsed & validated. Therefore, the rapiq library is used under the hood.

The query parameter options (allowed, default, ...) are fully typed 🔥 and depend on the (nested-) properties of the target entity passed to the typeorm query builder.

Info

For more details, get in touch with the rapiq documentation.

Entities

For explanation proposes, two simple entities with a relation between them are declared to demonstrate the usage of the query utils:

typescript
import {
+import{_ as s,o as n,c as a,Q as l}from"./chunks/framework.c93772cc.js";const d=JSON.parse('{"title":"Query","description":"","frontmatter":{},"headers":[],"relativePath":"guide/query.md","filePath":"guide/query.md"}'),p={name:"guide/query.md"},o=l(`

Query

The query submodule enables query parameter (fields, filter, ...) values to be build, parsed & validated. Therefore, the rapiq library is used under the hood.

The query parameter options (allowed, default, ...) are fully typed 🔥 and depend on the (nested-) properties of the target entity passed to the typeorm query builder.

Info

For more details, get in touch with the rapiq documentation.

Entities

For explanation proposes, two simple entities with a relation between them are declared to demonstrate the usage of the query utils:

typescript
import {
     Entity,
     PrimaryGeneratedColumn,
     Column,
diff --git a/assets/guide_query.md.6e1a0b15.lean.js b/assets/guide_query.md.749f0051.lean.js
similarity index 66%
rename from assets/guide_query.md.6e1a0b15.lean.js
rename to assets/guide_query.md.749f0051.lean.js
index b42a2de2..9d86e029 100644
--- a/assets/guide_query.md.6e1a0b15.lean.js
+++ b/assets/guide_query.md.749f0051.lean.js
@@ -1 +1 @@
-import{_ as s,o as n,c as a,Q as l}from"./chunks/framework.6ee49df6.js";const d=JSON.parse('{"title":"Query","description":"","frontmatter":{},"headers":[],"relativePath":"guide/query.md","filePath":"guide/query.md"}'),p={name:"guide/query.md"},o=l("",15),e=[o];function t(r,c,E,y,i,F){return n(),a("div",null,e)}const A=s(p,[["render",t]]);export{d as __pageData,A as default};
+import{_ as s,o as n,c as a,Q as l}from"./chunks/framework.c93772cc.js";const d=JSON.parse('{"title":"Query","description":"","frontmatter":{},"headers":[],"relativePath":"guide/query.md","filePath":"guide/query.md"}'),p={name:"guide/query.md"},o=l("",15),e=[o];function t(r,c,E,y,i,F){return n(),a("div",null,e)}const A=s(p,[["render",t]]);export{d as __pageData,A as default};
diff --git a/assets/guide_seeding-api-reference.md.63a647d9.js b/assets/guide_seeding-api-reference.md.e7d03aa9.js
similarity index 99%
rename from assets/guide_seeding-api-reference.md.63a647d9.js
rename to assets/guide_seeding-api-reference.md.e7d03aa9.js
index 332ca11e..345b5459 100644
--- a/assets/guide_seeding-api-reference.md.63a647d9.js
+++ b/assets/guide_seeding-api-reference.md.e7d03aa9.js
@@ -1,4 +1,4 @@
-import{_ as s,o as a,c as n,Q as p}from"./chunks/framework.6ee49df6.js";const u=JSON.parse('{"title":"Seeding","description":"","frontmatter":{},"headers":[],"relativePath":"guide/seeding-api-reference.md","filePath":"guide/seeding-api-reference.md"}'),l={name:"guide/seeding-api-reference.md"},o=p(`

Seeding

runSeeder

typescript
declare function runSeeder(
+import{_ as s,o as a,c as n,Q as p}from"./chunks/framework.c93772cc.js";const u=JSON.parse('{"title":"Seeding","description":"","frontmatter":{},"headers":[],"relativePath":"guide/seeding-api-reference.md","filePath":"guide/seeding-api-reference.md"}'),l={name:"guide/seeding-api-reference.md"},o=p(`

Seeding

runSeeder

typescript
declare function runSeeder(
     dataSource: DataSource, 
     seeder: SeederConstructor, 
     options: SeederOptions
diff --git a/assets/guide_seeding-api-reference.md.63a647d9.lean.js b/assets/guide_seeding-api-reference.md.e7d03aa9.lean.js
similarity index 70%
rename from assets/guide_seeding-api-reference.md.63a647d9.lean.js
rename to assets/guide_seeding-api-reference.md.e7d03aa9.lean.js
index a425daf5..22a36b03 100644
--- a/assets/guide_seeding-api-reference.md.63a647d9.lean.js
+++ b/assets/guide_seeding-api-reference.md.e7d03aa9.lean.js
@@ -1 +1 @@
-import{_ as s,o as a,c as n,Q as p}from"./chunks/framework.6ee49df6.js";const u=JSON.parse('{"title":"Seeding","description":"","frontmatter":{},"headers":[],"relativePath":"guide/seeding-api-reference.md","filePath":"guide/seeding-api-reference.md"}'),l={name:"guide/seeding-api-reference.md"},o=p("",33),e=[o];function t(r,c,y,E,i,d){return a(),n("div",null,e)}const S=s(l,[["render",t]]);export{u as __pageData,S as default};
+import{_ as s,o as a,c as n,Q as p}from"./chunks/framework.c93772cc.js";const u=JSON.parse('{"title":"Seeding","description":"","frontmatter":{},"headers":[],"relativePath":"guide/seeding-api-reference.md","filePath":"guide/seeding-api-reference.md"}'),l={name:"guide/seeding-api-reference.md"},o=p("",33),e=[o];function t(r,c,y,E,i,d){return a(),n("div",null,e)}const S=s(l,[["render",t]]);export{u as __pageData,S as default};
diff --git a/assets/guide_seeding.md.840318a8.js b/assets/guide_seeding.md.a90b4a9d.js
similarity index 99%
rename from assets/guide_seeding.md.840318a8.js
rename to assets/guide_seeding.md.a90b4a9d.js
index 1556f507..0c47295b 100644
--- a/assets/guide_seeding.md.840318a8.js
+++ b/assets/guide_seeding.md.a90b4a9d.js
@@ -1,4 +1,4 @@
-import{_ as s,o as a,c as n,Q as p}from"./chunks/framework.6ee49df6.js";const u=JSON.parse('{"title":"Seeding","description":"","frontmatter":{},"headers":[],"relativePath":"guide/seeding.md","filePath":"guide/seeding.md"}'),l={name:"guide/seeding.md"},o=p(`

Seeding

Seeding the database is fairly easy and can be achieved by following the steps below:

  • Configuration: Specify the seed and factory location by path or object.
  • Entity: Define one or more entities.
  • Factory (optional): Define a factory for each entity for which data should be automatically generated.
  • Seed: Define one or more seed classes to populate the database with an initial data set or generated data by a factory.
  • Execute: Run the seeder(s) with the CLI or in the code base.

Configuration

Seeder paths are configured as glob patterns, making it easy to match all the factory/seeder files in your project without configuration effort:

  • use * to match anything expect slashes and hidden files
  • use ** to match zero or more directories
  • use comma separate values between {} to match against a list of options

Check out the glob documentation for other supported pattern features. It is important to use the posix/unix path separator (/) because the Windows path separator (\\) is used to match paths with literal global pattern characters.

The seeder- & factory-location, can be specified via:

  • environment variable(s)
  • extended data-source.ts file
  • runSeeder(s) method options parameter, in case of a direct code base usage

The following values are assumed by default:

  • factory path: src/database/factories/**/*{.ts,.js}
  • seed path: src/database/seeds/**/*{.ts,.js}

env

TYPEORM_SEEDING_FACTORIES=src/database/factories/**/*{.ts,.js}
+import{_ as s,o as a,c as n,Q as p}from"./chunks/framework.c93772cc.js";const u=JSON.parse('{"title":"Seeding","description":"","frontmatter":{},"headers":[],"relativePath":"guide/seeding.md","filePath":"guide/seeding.md"}'),l={name:"guide/seeding.md"},o=p(`

Seeding

Seeding the database is fairly easy and can be achieved by following the steps below:

  • Configuration: Specify the seed and factory location by path or object.
  • Entity: Define one or more entities.
  • Factory (optional): Define a factory for each entity for which data should be automatically generated.
  • Seed: Define one or more seed classes to populate the database with an initial data set or generated data by a factory.
  • Execute: Run the seeder(s) with the CLI or in the code base.

Configuration

Seeder paths are configured as glob patterns, making it easy to match all the factory/seeder files in your project without configuration effort:

  • use * to match anything expect slashes and hidden files
  • use ** to match zero or more directories
  • use comma separate values between {} to match against a list of options

Check out the glob documentation for other supported pattern features. It is important to use the posix/unix path separator (/) because the Windows path separator (\\) is used to match paths with literal global pattern characters.

The seeder- & factory-location, can be specified via:

  • environment variable(s)
  • extended data-source.ts file
  • runSeeder(s) method options parameter, in case of a direct code base usage

The following values are assumed by default:

  • factory path: src/database/factories/**/*{.ts,.js}
  • seed path: src/database/seeds/**/*{.ts,.js}

env

TYPEORM_SEEDING_FACTORIES=src/database/factories/**/*{.ts,.js}
 TYPEORM_SEEDING_SEEDS=src/database/seeds/**/*{.ts,.js}
TYPEORM_SEEDING_FACTORIES=src/database/factories/**/*{.ts,.js}
 TYPEORM_SEEDING_SEEDS=src/database/seeds/**/*{.ts,.js}

data-source.ts

typescript
import { DataSource, DataSourceOptions } from 'typeorm';
 import { SeederOptions } from 'typeorm-extension';
diff --git a/assets/guide_seeding.md.840318a8.lean.js b/assets/guide_seeding.md.a90b4a9d.lean.js
similarity index 66%
rename from assets/guide_seeding.md.840318a8.lean.js
rename to assets/guide_seeding.md.a90b4a9d.lean.js
index 8902a1d6..9d8bfc15 100644
--- a/assets/guide_seeding.md.840318a8.lean.js
+++ b/assets/guide_seeding.md.a90b4a9d.lean.js
@@ -1 +1 @@
-import{_ as s,o as a,c as n,Q as p}from"./chunks/framework.6ee49df6.js";const u=JSON.parse('{"title":"Seeding","description":"","frontmatter":{},"headers":[],"relativePath":"guide/seeding.md","filePath":"guide/seeding.md"}'),l={name:"guide/seeding.md"},o=p("",36),e=[o];function t(c,r,E,y,i,d){return a(),n("div",null,e)}const m=s(l,[["render",t]]);export{u as __pageData,m as default};
+import{_ as s,o as a,c as n,Q as p}from"./chunks/framework.c93772cc.js";const u=JSON.parse('{"title":"Seeding","description":"","frontmatter":{},"headers":[],"relativePath":"guide/seeding.md","filePath":"guide/seeding.md"}'),l={name:"guide/seeding.md"},o=p("",36),e=[o];function t(c,r,E,y,i,d){return a(),n("div",null,e)}const m=s(l,[["render",t]]);export{u as __pageData,m as default};
diff --git a/assets/index.md.2872b197.js b/assets/index.md.8714ca63.js
similarity index 89%
rename from assets/index.md.2872b197.js
rename to assets/index.md.8714ca63.js
index 626d450d..502cb0d1 100644
--- a/assets/index.md.2872b197.js
+++ b/assets/index.md.8714ca63.js
@@ -1 +1 @@
-import{_ as e,o as t,c as a}from"./chunks/framework.6ee49df6.js";const l=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"typeorm-extension","tagline":"A library to create, drop & seed the database and apply URL query parameter(s).","actions":[{"theme":"brand","text":"Get Started","link":"/guide/"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/tada5hi/typeorm-extension"}]}},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),n={name:"index.md"};function r(o,i,s,d,c,p){return t(),a("div")}const h=e(n,[["render",r]]);export{l as __pageData,h as default};
+import{_ as e,o as t,c as a}from"./chunks/framework.c93772cc.js";const l=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"typeorm-extension","tagline":"A library to create, drop & seed the database and apply URL query parameter(s).","actions":[{"theme":"brand","text":"Get Started","link":"/guide/"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/tada5hi/typeorm-extension"}]}},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),n={name:"index.md"};function r(o,i,s,d,c,p){return t(),a("div")}const h=e(n,[["render",r]]);export{l as __pageData,h as default};
diff --git a/assets/index.md.2872b197.lean.js b/assets/index.md.8714ca63.lean.js
similarity index 89%
rename from assets/index.md.2872b197.lean.js
rename to assets/index.md.8714ca63.lean.js
index 626d450d..502cb0d1 100644
--- a/assets/index.md.2872b197.lean.js
+++ b/assets/index.md.8714ca63.lean.js
@@ -1 +1 @@
-import{_ as e,o as t,c as a}from"./chunks/framework.6ee49df6.js";const l=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"typeorm-extension","tagline":"A library to create, drop & seed the database and apply URL query parameter(s).","actions":[{"theme":"brand","text":"Get Started","link":"/guide/"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/tada5hi/typeorm-extension"}]}},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),n={name:"index.md"};function r(o,i,s,d,c,p){return t(),a("div")}const h=e(n,[["render",r]]);export{l as __pageData,h as default};
+import{_ as e,o as t,c as a}from"./chunks/framework.c93772cc.js";const l=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"typeorm-extension","tagline":"A library to create, drop & seed the database and apply URL query parameter(s).","actions":[{"theme":"brand","text":"Get Started","link":"/guide/"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/tada5hi/typeorm-extension"}]}},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),n={name:"index.md"};function r(o,i,s,d,c,p){return t(),a("div")}const h=e(n,[["render",r]]);export{l as __pageData,h as default};
diff --git a/guide/cli.html b/guide/cli.html
index 1a22c32a..4e9a35c9 100644
--- a/guide/cli.html
+++ b/guide/cli.html
@@ -7,11 +7,11 @@
     
     
     
-    
+    
     
-    
-    
-    
+    
+    
+    
     
     
   
@@ -29,7 +29,7 @@
   "seed": "ts-node ./node_modules/typeorm-extension/dist/cli/index.js seed"
   ...
 }

Hint

Read the Seeding Configuration section to find out how to specify the path, for the seeder- & factory-location.

Options

OptionCommandsDefaultDeprecatedDescription
--root or -rdb:create, db:drop & seedprocess.cwd()noPath to the data-source / config file.
--dataSource or -ddb:create, db:drop & seeddata-sourcenoName of the data-source file.
--synchronize or -sdb:create & db:dropyesnoSynchronize the database schema after database creation. Options: yes or no.
--initialDatabasedb:createundefinednoSpecify the initial database to connect to. This option is only relevant for the postgres driver, which must always to connect to a database. If no database is provided, the database name will be equal to the connection user name.
--seedseedundefinednoSpecify a specific seed class to run.
--connection or -cdb:create, db:drop & seeddefaultyesName of the connection. Required if there are multiple connections.
--config or -fdb:create, db:drop & seedormconfig.jsyesName to the config file.
- + \ No newline at end of file diff --git a/guide/database-api-reference.html b/guide/database-api-reference.html index 628d7998..2624857b 100644 --- a/guide/database-api-reference.html +++ b/guide/database-api-reference.html @@ -7,11 +7,11 @@ - + - - - + + + @@ -199,7 +199,7 @@ */ ifExist?: boolean };

References

- + \ No newline at end of file diff --git a/guide/database.html b/guide/database.html index 01b2ff67..42bdc234 100644 --- a/guide/database.html +++ b/guide/database.html @@ -7,11 +7,11 @@ - + - - - + + + @@ -173,7 +173,7 @@ // Drop the database without specifying it manually await dropDatabase(); })();

To get a better overview and understanding of the dropDatabase function go to the functions section and read more about it.

- + \ No newline at end of file diff --git a/guide/datasource-api-reference.html b/guide/datasource-api-reference.html index 5d740911..fddca051 100644 --- a/guide/datasource-api-reference.html +++ b/guide/datasource-api-reference.html @@ -7,11 +7,11 @@ - + - - - + + + @@ -283,7 +283,7 @@ */ preserveFilePaths?: boolean }; - + \ No newline at end of file diff --git a/guide/index.html b/guide/index.html index bdd62f9b..348e137b 100644 --- a/guide/index.html +++ b/guide/index.html @@ -7,17 +7,17 @@ - + - - - + + +
Skip to content

What is it?

This is a library to:

  • create, drop & seed the (default-) database 🔥
  • manage one or many data-source instances 👻
  • parse & apply query parameters (extended JSON:API specification & fully typed) to:
    • filter (related) resources according to one or more criteria,
    • reduce (related) resource fields,
    • include related resources,
    • sort resources according to one or more criteria,
    • limit the number of resources returned in a response by page limit & offset

Important NOTE

The guide is under construction ☂ at the moment. So please stay patient or contribute to it, till it covers all parts ⭐.

Limitations

At the moment, only the following typeorm drivers are supported to create or drop a database:

  • CockroachDB
  • MSSQL
  • MySQL
  • Oracle
  • Postgres
  • SQLite
- + \ No newline at end of file diff --git a/guide/installation.html b/guide/installation.html index 416ee2cf..61b72f39 100644 --- a/guide/installation.html +++ b/guide/installation.html @@ -7,17 +7,17 @@ - + - - - + + +
Skip to content

Installation

Add the package as a dependency to the project.

sh
npm install typeorm-extension --save
npm install typeorm-extension --save
- + \ No newline at end of file diff --git a/guide/instances.html b/guide/instances.html index c400539b..9ebd5c92 100644 --- a/guide/instances.html +++ b/guide/instances.html @@ -7,11 +7,11 @@ - + - - - + + + @@ -49,7 +49,7 @@ const instance : DataSource = await useDataSource('second'); })();

Reference(s):

- + \ No newline at end of file diff --git a/guide/migration-guide-v3.html b/guide/migration-guide-v3.html index 329c5e53..88dc615f 100644 --- a/guide/migration-guide-v3.html +++ b/guide/migration-guide-v3.html @@ -7,11 +7,11 @@ - + - - - + + + @@ -25,7 +25,7 @@ // ESM ts-node-esm ./node-modules/typeorm-extension/bin/cli.mjs

General

  1. The seeding command seed has been renamed to seed:run.
  2. The seeding option --seed has been renamed to --name.
  3. The seeding option --root now corresponds to the root directory of the project.
  4. The --dataSource option now can contain the relative path and the name to the data-source.

DataSource

  1. Drop support for ormconfig. The DataSource finder will no longer look for this kind of configuration.
- + \ No newline at end of file diff --git a/guide/query-api-reference.html b/guide/query-api-reference.html index 150274cc..130eea9e 100644 --- a/guide/query-api-reference.html +++ b/guide/query-api-reference.html @@ -7,11 +7,11 @@ - + - - - + + + @@ -197,7 +197,7 @@ import { SortParseOutput } from 'rapiq'; export type QuerySortApplyOutput = SortParseOutput; - + \ No newline at end of file diff --git a/guide/query.html b/guide/query.html index c64583bc..d078ea2d 100644 --- a/guide/query.html +++ b/guide/query.html @@ -7,11 +7,11 @@ - + - - - + + + @@ -409,7 +409,7 @@ }); app.listen(80); - + \ No newline at end of file diff --git a/guide/seeding-api-reference.html b/guide/seeding-api-reference.html index d7a4747e..844084ec 100644 --- a/guide/seeding-api-reference.html +++ b/guide/seeding-api-reference.html @@ -7,11 +7,11 @@ - + - - - + + + @@ -187,7 +187,7 @@ factories?: SeederFactoryConfig[] | string[], factoriesLoad?: boolean }; - + \ No newline at end of file diff --git a/guide/seeding.html b/guide/seeding.html index 0cf3d250..1e8ebb6b 100644 --- a/guide/seeding.html +++ b/guide/seeding.html @@ -7,11 +7,11 @@ - + - - - + + + @@ -261,7 +261,7 @@ await runSeeders(dataSource); })(); - + \ No newline at end of file diff --git a/hashmap.json b/hashmap.json index 3819d055..bf960e6f 100644 --- a/hashmap.json +++ b/hashmap.json @@ -1 +1 @@ -{"guide_instances.md":"9e030836","guide_index.md":"17d5ba2a","guide_seeding-api-reference.md":"63a647d9","guide_cli.md":"a311eac1","guide_database-api-reference.md":"06af7476","guide_datasource-api-reference.md":"0912902c","guide_migration-guide-v3.md":"28ab11ba","guide_query.md":"6e1a0b15","guide_seeding.md":"840318a8","guide_installation.md":"a2ffe9fe","guide_database.md":"51a2d1ed","guide_query-api-reference.md":"54f6f73b","index.md":"2872b197"} +{"guide_installation.md":"89e7f204","guide_migration-guide-v3.md":"9dd79858","index.md":"8714ca63","guide_query-api-reference.md":"1a5c7d3d","guide_instances.md":"cebcc886","guide_cli.md":"3efd2036","guide_seeding-api-reference.md":"e7d03aa9","guide_seeding.md":"a90b4a9d","guide_index.md":"1ab1e021","guide_query.md":"749f0051","guide_database.md":"4ba39689","guide_database-api-reference.md":"e1912050","guide_datasource-api-reference.md":"e832c3c1"} diff --git a/index.html b/index.html index 0bbdcd70..b9cc8802 100644 --- a/index.html +++ b/index.html @@ -7,17 +7,17 @@ - + - - - + + +
Skip to content

typeorm-extension

A library to create, drop & seed the database and apply URL query parameter(s).

- + \ No newline at end of file