diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/404.html b/404.html new file mode 100644 index 0000000..5256b1d --- /dev/null +++ b/404.html @@ -0,0 +1,23 @@ + + + + + + 404 | Root Docs + + + + + + + + + + + + +
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.

Released under the GFDL License.

+ + + + \ No newline at end of file diff --git a/assets/app.ae_-uMHQ.js b/assets/app.ae_-uMHQ.js new file mode 100644 index 0000000..4dae28c --- /dev/null +++ b/assets/app.ae_-uMHQ.js @@ -0,0 +1,7 @@ +import{j as o,ag as p,ah as u,ai as l,aj as c,ak as f,al as d,am as m,an as h,ao as A,ap as g,ae as v,d as P,u as w,l as y,z as C,aq as R,ar as _,as as E,a2 as b}from"./chunks/framework.zvL6SVfk.js";import{R as j}from"./chunks/theme.8l1eSkSt.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(j),D=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=w();return y(()=>{C(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&R(),_(),E(),s.setup&&s.setup(),()=>b(s.Layout)}});async function T(){const e=O(),a=L();a.provide(u,e);const t=l(e.route);return a.provide(c,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function L(){return h(D)}function O(){let e=o,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=v(()=>import(n),__vite__mapDeps([]))),o&&(e=!1),r},s.NotFound)}o&&T().then(({app:e,router:a,data:t})=>{a.go().then(()=>{p(a.route,t.site),e.mount("#app")})});export{T as createApp}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = [] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} diff --git a/assets/chunks/framework.zvL6SVfk.js b/assets/chunks/framework.zvL6SVfk.js new file mode 100644 index 0000000..2340662 --- /dev/null +++ b/assets/chunks/framework.zvL6SVfk.js @@ -0,0 +1,17 @@ +/** +* @vue/shared v3.4.15 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function bs(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const ee={},yt=[],Ee=()=>{},vi=()=>!1,Kt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ws=e=>e.startsWith("onUpdate:"),ie=Object.assign,vs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},xi=Object.prototype.hasOwnProperty,J=(e,t)=>xi.call(e,t),D=Array.isArray,_t=e=>En(e)==="[object Map]",Br=e=>En(e)==="[object Set]",K=e=>typeof e=="function",ne=e=>typeof e=="string",At=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",Ur=e=>(Z(e)||K(e))&&K(e.then)&&K(e.catch),Kr=Object.prototype.toString,En=e=>Kr.call(e),Ci=e=>En(e).slice(8,-1),Wr=e=>En(e)==="[object Object]",xs=e=>ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Mt=bs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Tn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ei=/-(\w)/g,Ie=Tn(e=>e.replace(Ei,(t,n)=>n?n.toUpperCase():"")),Ti=/\B([A-Z])/g,ft=Tn(e=>e.replace(Ti,"-$1").toLowerCase()),An=Tn(e=>e.charAt(0).toUpperCase()+e.slice(1)),un=Tn(e=>e?`on${An(e)}`:""),Qe=(e,t)=>!Object.is(e,t),Un=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Ai=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Si=e=>{const t=ne(e)?Number(e):NaN;return isNaN(t)?e:t};let Gs;const qr=()=>Gs||(Gs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Cs(e){if(D(e)){const t={};for(let n=0;n{if(n){const s=n.split(Ri);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Es(e){let t="";if(ne(e))t=e;else if(D(e))for(let n=0;nne(e)?e:e==null?"":D(e)||Z(e)&&(e.toString===Kr||!K(e.toString))?JSON.stringify(e,zr,2):String(e),zr=(e,t)=>t&&t.__v_isRef?zr(e,t.value):_t(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Kn(s,o)+" =>"]=r,n),{})}:Br(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Kn(n))}:At(t)?Kn(t):Z(t)&&!D(t)&&!Wr(t)?String(t):t,Kn=(e,t="")=>{var n;return At(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.4.15 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let be;class Ni{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=2))break}this._dirtyLevel<2&&(this._dirtyLevel=0),dt()}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?2:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ge,n=lt;try{return Ge=!0,lt=this,this._runnings++,zs(this),this.fn()}finally{Ys(this),this._runnings--,lt=n,Ge=t}}stop(){var t;this.active&&(zs(this),Ys(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Hi(e){return e.value}function zs(e){e._trackId++,e._depsLength=0}function Ys(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},gn=new WeakMap,ct=Symbol(""),ss=Symbol("");function ye(e,t,n){if(Ge&<){let s=gn.get(e);s||gn.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=to(()=>s.delete(n))),Qr(lt,r)}}function $e(e,t,n,s,r,o){const i=gn.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&D(e)){const c=Number(s);i.forEach((f,u)=>{(u==="length"||!At(u)&&u>=c)&&l.push(f)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":D(e)?xs(n)&&l.push(i.get("length")):(l.push(i.get(ct)),_t(e)&&l.push(i.get(ss)));break;case"delete":D(e)||(l.push(i.get(ct)),_t(e)&&l.push(i.get(ss)));break;case"set":_t(e)&&l.push(i.get(ct));break}As();for(const c of l)c&&Zr(c,2);Ss()}function ji(e,t){var n;return(n=gn.get(e))==null?void 0:n.get(t)}const Vi=bs("__proto__,__v_isRef,__isVue"),no=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(At)),Js=ki();function ki(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=X(this);for(let o=0,i=this.length;o{e[t]=function(...n){ut(),As();const s=X(this)[t].apply(this,n);return Ss(),dt(),s}}),e}function Di(e){const t=X(this);return ye(t,"has",e),t.hasOwnProperty(e)}class so{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,s){const r=this._isReadonly,o=this._shallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?el:lo:o?io:oo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=D(t);if(!r){if(i&&J(Js,n))return Reflect.get(Js,n,s);if(n==="hasOwnProperty")return Di}const l=Reflect.get(t,n,s);return(At(n)?no.has(n):Vi(n))||(r||ye(t,"get",n),o)?l:de(l)?i&&xs(n)?l:l.value:Z(l)?r?Rn(l):Ln(l):l}}class ro extends so{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._shallow){const c=Et(o);if(!mn(s)&&!Et(s)&&(o=X(o),s=X(s)),!D(t)&&de(o)&&!de(s))return c?!1:(o.value=s,!0)}const i=D(t)&&xs(n)?Number(n)e,Sn=e=>Reflect.getPrototypeOf(e);function Jt(e,t,n=!1,s=!1){e=e.__v_raw;const r=X(e),o=X(t);n||(Qe(t,o)&&ye(r,"get",t),ye(r,"get",o));const{has:i}=Sn(r),l=s?Ls:n?Ms:Vt;if(i.call(r,t))return l(e.get(t));if(i.call(r,o))return l(e.get(o));e!==r&&e.get(t)}function Xt(e,t=!1){const n=this.__v_raw,s=X(n),r=X(e);return t||(Qe(e,r)&&ye(s,"has",e),ye(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Qt(e,t=!1){return e=e.__v_raw,!t&&ye(X(e),"iterate",ct),Reflect.get(e,"size",e)}function Xs(e){e=X(e);const t=X(this);return Sn(t).has.call(t,e)||(t.add(e),$e(t,"add",e,e)),this}function Qs(e,t){t=X(t);const n=X(this),{has:s,get:r}=Sn(n);let o=s.call(n,e);o||(e=X(e),o=s.call(n,e));const i=r.call(n,e);return n.set(e,t),o?Qe(t,i)&&$e(n,"set",e,t):$e(n,"add",e,t),this}function Zs(e){const t=X(this),{has:n,get:s}=Sn(t);let r=n.call(t,e);r||(e=X(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&$e(t,"delete",e,void 0),o}function er(){const e=X(this),t=e.size!==0,n=e.clear();return t&&$e(e,"clear",void 0,void 0),n}function Zt(e,t){return function(s,r){const o=this,i=o.__v_raw,l=X(i),c=t?Ls:e?Ms:Vt;return!e&&ye(l,"iterate",ct),i.forEach((f,u)=>s.call(r,c(f),c(u),o))}}function en(e,t,n){return function(...s){const r=this.__v_raw,o=X(r),i=_t(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,f=r[e](...s),u=n?Ls:t?Ms:Vt;return!t&&ye(o,"iterate",c?ss:ct),{next(){const{value:h,done:p}=f.next();return p?{value:h,done:p}:{value:l?[u(h[0]),u(h[1])]:u(h),done:p}},[Symbol.iterator](){return this}}}}function Ve(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function qi(){const e={get(o){return Jt(this,o)},get size(){return Qt(this)},has:Xt,add:Xs,set:Qs,delete:Zs,clear:er,forEach:Zt(!1,!1)},t={get(o){return Jt(this,o,!1,!0)},get size(){return Qt(this)},has:Xt,add:Xs,set:Qs,delete:Zs,clear:er,forEach:Zt(!1,!0)},n={get(o){return Jt(this,o,!0)},get size(){return Qt(this,!0)},has(o){return Xt.call(this,o,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:Zt(!0,!1)},s={get(o){return Jt(this,o,!0,!0)},get size(){return Qt(this,!0)},has(o){return Xt.call(this,o,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:Zt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=en(o,!1,!1),n[o]=en(o,!0,!1),t[o]=en(o,!1,!0),s[o]=en(o,!0,!0)}),[e,n,t,s]}const[Gi,zi,Yi,Ji]=qi();function Rs(e,t){const n=t?e?Ji:Yi:e?zi:Gi;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(J(n,r)&&r in s?n:s,r,o)}const Xi={get:Rs(!1,!1)},Qi={get:Rs(!1,!0)},Zi={get:Rs(!0,!1)},oo=new WeakMap,io=new WeakMap,lo=new WeakMap,el=new WeakMap;function tl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function nl(e){return e.__v_skip||!Object.isExtensible(e)?0:tl(Ci(e))}function Ln(e){return Et(e)?e:Os(e,!1,Ui,Xi,oo)}function sl(e){return Os(e,!1,Wi,Qi,io)}function Rn(e){return Os(e,!0,Ki,Zi,lo)}function Os(e,t,n,s,r){if(!Z(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=nl(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function bt(e){return Et(e)?bt(e.__v_raw):!!(e&&e.__v_isReactive)}function Et(e){return!!(e&&e.__v_isReadonly)}function mn(e){return!!(e&&e.__v_isShallow)}function co(e){return bt(e)||Et(e)}function X(e){const t=e&&e.__v_raw;return t?X(t):e}function Pt(e){return pn(e,"__v_skip",!0),e}const Vt=e=>Z(e)?Ln(e):e,Ms=e=>Z(e)?Rn(e):e;class ao{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Ts(()=>t(this._value),()=>It(this,1),()=>this.dep&&eo(this.dep)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=X(this);return(!t._cacheable||t.effect.dirty)&&Qe(t._value,t._value=t.effect.run())&&It(t,2),Ps(t),t.effect._dirtyLevel>=1&&It(t,1),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function rl(e,t,n=!1){let s,r;const o=K(e);return o?(s=e,r=Ee):(s=e.get,r=e.set),new ao(s,r,o||!r,n)}function Ps(e){Ge&<&&(e=X(e),Qr(lt,e.dep||(e.dep=to(()=>e.dep=void 0,e instanceof ao?e:void 0))))}function It(e,t=2,n){e=X(e);const s=e.dep;s&&Zr(s,t)}function de(e){return!!(e&&e.__v_isRef===!0)}function me(e){return uo(e,!1)}function fo(e){return uo(e,!0)}function uo(e,t){return de(e)?e:new ol(e,t)}class ol{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:Vt(t)}get value(){return Ps(this),this._value}set value(t){const n=this.__v_isShallow||mn(t)||Et(t);t=n?t:X(t),Qe(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Vt(t),It(this,2))}}function ho(e){return de(e)?e.value:e}const il={get:(e,t,n)=>ho(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return de(r)&&!de(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function po(e){return bt(e)?e:new Proxy(e,il)}class ll{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>Ps(this),()=>It(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function cl(e){return new ll(e)}function qa(e){const t=D(e)?new Array(e.length):{};for(const n in e)t[n]=go(e,n);return t}class al{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 ji(X(this._object),this._key)}}class fl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function ul(e,t,n){return de(e)?e:K(e)?new fl(e):Z(e)&&arguments.length>1?go(e,t,n):me(e)}function go(e,t,n){const s=e[t];return de(s)?s:new al(e,t,n)}/** +* @vue/runtime-core v3.4.15 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function ze(e,t,n,s){let r;try{r=s?e(...s):e()}catch(o){On(o,t,n)}return r}function Te(e,t,n,s){if(K(e)){const o=ze(e,t,n,s);return o&&Ur(o)&&o.catch(i=>{On(i,t,n)}),o}const r=[];for(let o=0;o>>1,r=ue[s],o=Dt(r);oPe&&ue.splice(t,1)}function gl(e){D(e)?wt.push(...e):(!Ue||!Ue.includes(e,e.allowRecurse?rt+1:rt))&&wt.push(e),yo()}function tr(e,t,n=kt?Pe+1:0){for(;nDt(n)-Dt(s));if(wt.length=0,Ue){Ue.push(...t);return}for(Ue=t,rt=0;rte.id==null?1/0:e.id,ml=(e,t)=>{const n=Dt(e)-Dt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function _o(e){rs=!1,kt=!0,ue.sort(ml);try{for(Pe=0;Pene(w)?w.trim():w)),h&&(r=n.map(Ai))}let l,c=s[l=un(t)]||s[l=un(Ie(t))];!c&&o&&(c=s[l=un(ft(t))]),c&&Te(c,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Te(f,e,6,r)}}function bo(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!K(e)){const c=f=>{const u=bo(f,t,!0);u&&(l=!0,ie(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(Z(e)&&s.set(e,null),null):(D(o)?o.forEach(c=>i[c]=null):ie(i,o),Z(e)&&s.set(e,i),i)}function Pn(e,t){return!e||!Kt(t)?!1:(t=t.slice(2).replace(/Once$/,""),J(e,t[0].toLowerCase()+t.slice(1))||J(e,ft(t))||J(e,t))}let oe=null,In=null;function _n(e){const t=oe;return oe=e,In=e&&e.type.__scopeId||null,t}function Ga(e){In=e}function za(){In=null}function _l(e,t=oe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&gr(-1);const o=_n(t);let i;try{i=e(...r)}finally{_n(o),s._d&&gr(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Wn(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:o,propsOptions:[i],slots:l,attrs:c,emit:f,render:u,renderCache:h,data:p,setupState:w,ctx:R,inheritAttrs:P}=e;let $,W;const Y=_n(e);try{if(n.shapeFlag&4){const y=r||s,I=y;$=Se(u.call(I,y,h,o,w,p,R)),W=c}else{const y=t;$=Se(y.length>1?y(o,{attrs:c,slots:l,emit:f}):y(o,null)),W=t.props?c:bl(c)}}catch(y){$t.length=0,On(y,e,1),$=fe(we)}let g=$;if(W&&P!==!1){const y=Object.keys(W),{shapeFlag:I}=g;y.length&&I&7&&(i&&y.some(ws)&&(W=wl(W,i)),g=Ze(g,W))}return n.dirs&&(g=Ze(g),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(g.transition=n.transition),$=g,_n(Y),$}const bl=e=>{let t;for(const n in e)(n==="class"||n==="style"||Kt(n))&&((t||(t={}))[n]=e[n]);return t},wl=(e,t)=>{const n={};for(const s in e)(!ws(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function vl(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?nr(s,i,f):!!i;if(c&8){const u=t.dynamicProps;for(let h=0;he.__isSuspense;function xo(e,t){t&&t.pendingBranch?D(e)?t.effects.push(...e):t.effects.push(e):gl(e)}const El=Symbol.for("v-scx"),Tl=()=>xt(El);function Co(e,t){return Nn(e,null,t)}function Al(e,t){return Nn(e,null,{flush:"post"})}const tn={};function Ye(e,t,n){return Nn(e,t,n)}function Nn(e,t,{immediate:n,deep:s,flush:r,once:o,onTrack:i,onTrigger:l}=ee){if(t&&o){const L=t;t=(...F)=>{L(...F),I()}}const c=ae,f=L=>s===!0?L:it(L,s===!1?1:void 0);let u,h=!1,p=!1;if(de(e)?(u=()=>e.value,h=mn(e)):bt(e)?(u=()=>f(e),h=!0):D(e)?(p=!0,h=e.some(L=>bt(L)||mn(L)),u=()=>e.map(L=>{if(de(L))return L.value;if(bt(L))return f(L);if(K(L))return ze(L,c,2)})):K(e)?t?u=()=>ze(e,c,2):u=()=>(w&&w(),Te(e,c,3,[R])):u=Ee,t&&s){const L=u;u=()=>it(L())}let w,R=L=>{w=g.onStop=()=>{ze(L,c,4),w=g.onStop=void 0}},P;if(jn)if(R=Ee,t?n&&Te(t,c,3,[u(),p?[]:void 0,R]):u(),r==="sync"){const L=Tl();P=L.__watcherHandles||(L.__watcherHandles=[])}else return Ee;let $=p?new Array(e.length).fill(tn):tn;const W=()=>{if(!(!g.active||!g.dirty))if(t){const L=g.run();(s||h||(p?L.some((F,A)=>Qe(F,$[A])):Qe(L,$)))&&(w&&w(),Te(t,c,3,[L,$===tn?void 0:p&&$[0]===tn?[]:$,R]),$=L)}else g.run()};W.allowRecurse=!!t;let Y;r==="sync"?Y=W:r==="post"?Y=()=>ge(W,c&&c.suspense):(W.pre=!0,c&&(W.id=c.uid),Y=()=>Ns(W));const g=new Ts(u,Ee,Y),y=Yr(),I=()=>{g.stop(),y&&vs(y.effects,g)};return t?n?W():$=g.run():r==="post"?ge(g.run.bind(g),c&&c.suspense):g.run(),P&&P.push(I),I}function Sl(e,t,n){const s=this.proxy,r=ne(e)?e.includes(".")?Eo(s,e):()=>s[e]:e.bind(s,s);let o;K(t)?o=t:(o=t.handler,n=t);const i=Gt(this),l=Nn(r,o.bind(s),n);return i(),l}function Eo(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r0){if(n>=t)return e;n++}if(s=s||new Set,s.has(e))return e;if(s.add(e),de(e))it(e.value,t,n,s);else if(D(e))for(let r=0;r{it(r,t,n,s)});else if(Wr(e))for(const r in e)it(e[r],t,n,s);return e}function Xa(e,t){if(oe===null)return e;const n=Vn(oe)||oe.proxy,s=e.dirs||(e.dirs=[]);for(let r=0;r{e.isMounted=!0}),Oo(()=>{e.isUnmounting=!0}),e}const ve=[Function,Array],To={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ve,onEnter:ve,onAfterEnter:ve,onEnterCancelled:ve,onBeforeLeave:ve,onLeave:ve,onAfterLeave:ve,onLeaveCancelled:ve,onBeforeAppear:ve,onAppear:ve,onAfterAppear:ve,onAppearCancelled:ve},Rl={name:"BaseTransition",props:To,setup(e,{slots:t}){const n=qt(),s=Ll();let r;return()=>{const o=t.default&&So(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const P of o)if(P.type!==we){i=P;break}}const l=X(e),{mode:c}=l;if(s.isLeaving)return qn(i);const f=rr(i);if(!f)return qn(i);const u=os(f,l,s,n);is(f,u);const h=n.subTree,p=h&&rr(h);let w=!1;const{getTransitionKey:R}=f.type;if(R){const P=R();r===void 0?r=P:P!==r&&(r=P,w=!0)}if(p&&p.type!==we&&(!ot(f,p)||w)){const P=os(p,l,s,n);if(is(p,P),c==="out-in")return s.isLeaving=!0,P.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},qn(i);c==="in-out"&&f.type!==we&&(P.delayLeave=($,W,Y)=>{const g=Ao(s,p);g[String(p.key)]=p,$[Ke]=()=>{W(),$[Ke]=void 0,delete u.delayedLeave},u.delayedLeave=Y})}return i}}},Ol=Rl;function Ao(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 os(e,t,n,s){const{appear:r,mode:o,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:f,onEnterCancelled:u,onBeforeLeave:h,onLeave:p,onAfterLeave:w,onLeaveCancelled:R,onBeforeAppear:P,onAppear:$,onAfterAppear:W,onAppearCancelled:Y}=t,g=String(e.key),y=Ao(n,e),I=(A,E)=>{A&&Te(A,s,9,E)},L=(A,E)=>{const T=E[1];I(A,E),D(A)?A.every(B=>B.length<=1)&&T():A.length<=1&&T()},F={mode:o,persisted:i,beforeEnter(A){let E=l;if(!n.isMounted)if(r)E=P||l;else return;A[Ke]&&A[Ke](!0);const T=y[g];T&&ot(e,T)&&T.el[Ke]&&T.el[Ke](),I(E,[A])},enter(A){let E=c,T=f,B=u;if(!n.isMounted)if(r)E=$||c,T=W||f,B=Y||u;else return;let M=!1;const q=A[nn]=re=>{M||(M=!0,re?I(B,[A]):I(T,[A]),F.delayedLeave&&F.delayedLeave(),A[nn]=void 0)};E?L(E,[A,q]):q()},leave(A,E){const T=String(e.key);if(A[nn]&&A[nn](!0),n.isUnmounting)return E();I(h,[A]);let B=!1;const M=A[Ke]=q=>{B||(B=!0,E(),q?I(R,[A]):I(w,[A]),A[Ke]=void 0,y[T]===e&&delete y[T])};y[T]=e,p?L(p,[A,M]):M()},clone(A){return os(A,t,n,s)}};return F}function qn(e){if(Fn(e))return e=Ze(e),e.children=null,e}function rr(e){return Fn(e)?e.children?e.children[0]:void 0:e}function is(e,t){e.shapeFlag&6&&e.component?is(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 So(e,t=!1,n){let s=[],r=0;for(let o=0;o1)for(let o=0;o!!e.type.__asyncLoader,Fn=e=>e.type.__isKeepAlive;function Ml(e,t){Ro(e,"a",t)}function Pl(e,t){Ro(e,"da",t)}function Ro(e,t,n=ae){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if($n(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Fn(r.parent.vnode)&&Il(s,t,n,r),r=r.parent}}function Il(e,t,n,s){const r=$n(t,e,s,!0);Wt(()=>{vs(s[t],r)},n)}function $n(e,t,n=ae,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;ut();const l=Gt(n),c=Te(t,n,e,i);return l(),dt(),c});return s?r.unshift(o):r.push(o),o}}const je=e=>(t,n=ae)=>(!jn||e==="sp")&&$n(e,(...s)=>t(...s),n),Nl=je("bm"),ht=je("m"),Fl=je("bu"),$l=je("u"),Oo=je("bum"),Wt=je("um"),Hl=je("sp"),jl=je("rtg"),Vl=je("rtc");function kl(e,t=ae){$n("ec",e,t)}function Qa(e,t,n,s){let r;const o=n&&n[s];if(D(e)||ne(e)){r=new Array(e.length);for(let i=0,l=e.length;it(i,l,void 0,o&&o[l]));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,c=i.length;l{const o=s.fn(...r);return o&&(o.key=s.key),o}:s.fn)}return e}function ef(e,t,n={},s,r){if(oe.isCE||oe.parent&&vt(oe.parent)&&oe.parent.isCE)return t!=="default"&&(n.name=t),fe("slot",n,s&&s());let o=e[t];o&&o._c&&(o._d=!1),Uo();const i=o&&Mo(o(n)),l=Wo(pe,{key:n.key||i&&i.key||`_${t}`},i||(s?s():[]),i&&e._===1?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function Mo(e){return e.some(t=>xn(t)?!(t.type===we||t.type===pe&&!Mo(t.children)):!0)?e:null}function tf(e,t){const n={};for(const s in e)n[t&&/[A-Z]/.test(s)?`on:${s}`:un(s)]=e[s];return n}const ls=e=>e?Yo(e)?Vn(e)||e.proxy:ls(e.parent):null,Nt=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=>ls(e.parent),$root:e=>ls(e.root),$emit:e=>e.emit,$options:e=>$s(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Ns(e.update)}),$nextTick:e=>e.n||(e.n=Mn.bind(e.proxy)),$watch:e=>Sl.bind(e)}),Gn=(e,t)=>e!==ee&&!e.__isScriptSetup&&J(e,t),Dl={get({_:e},t){const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const w=i[t];if(w!==void 0)switch(w){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(Gn(s,t))return i[t]=1,s[t];if(r!==ee&&J(r,t))return i[t]=2,r[t];if((f=e.propsOptions[0])&&J(f,t))return i[t]=3,o[t];if(n!==ee&&J(n,t))return i[t]=4,n[t];cs&&(i[t]=0)}}const u=Nt[t];let h,p;if(u)return t==="$attrs"&&ye(e,"get",t),u(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==ee&&J(n,t))return i[t]=4,n[t];if(p=c.config.globalProperties,J(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return Gn(r,t)?(r[t]=n,!0):s!==ee&&J(s,t)?(s[t]=n,!0):J(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==ee&&J(e,i)||Gn(t,i)||(l=o[0])&&J(l,i)||J(s,i)||J(Nt,i)||J(r.config.globalProperties,i)},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 nf(){return Bl().slots}function Bl(){const e=qt();return e.setupContext||(e.setupContext=Xo(e))}function or(e){return D(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let cs=!0;function Ul(e){const t=$s(e),n=e.proxy,s=e.ctx;cs=!1,t.beforeCreate&&ir(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:f,created:u,beforeMount:h,mounted:p,beforeUpdate:w,updated:R,activated:P,deactivated:$,beforeDestroy:W,beforeUnmount:Y,destroyed:g,unmounted:y,render:I,renderTracked:L,renderTriggered:F,errorCaptured:A,serverPrefetch:E,expose:T,inheritAttrs:B,components:M,directives:q,filters:re}=t;if(f&&Kl(f,s,null),i)for(const z in i){const j=i[z];K(j)&&(s[z]=j.bind(n))}if(r){const z=r.call(n,n);Z(z)&&(e.data=Ln(z))}if(cs=!0,o)for(const z in o){const j=o[z],Ne=K(j)?j.bind(n,n):K(j.get)?j.get.bind(n,n):Ee,zt=!K(j)&&K(j.set)?j.set.bind(n):Ee,et=se({get:Ne,set:zt});Object.defineProperty(s,z,{enumerable:!0,configurable:!0,get:()=>et.value,set:Re=>et.value=Re})}if(l)for(const z in l)Po(l[z],s,n,z);if(c){const z=K(c)?c.call(n):c;Reflect.ownKeys(z).forEach(j=>{Jl(j,z[j])})}u&&ir(u,e,"c");function V(z,j){D(j)?j.forEach(Ne=>z(Ne.bind(n))):j&&z(j.bind(n))}if(V(Nl,h),V(ht,p),V(Fl,w),V($l,R),V(Ml,P),V(Pl,$),V(kl,A),V(Vl,L),V(jl,F),V(Oo,Y),V(Wt,y),V(Hl,E),D(T))if(T.length){const z=e.exposed||(e.exposed={});T.forEach(j=>{Object.defineProperty(z,j,{get:()=>n[j],set:Ne=>n[j]=Ne})})}else e.exposed||(e.exposed={});I&&e.render===Ee&&(e.render=I),B!=null&&(e.inheritAttrs=B),M&&(e.components=M),q&&(e.directives=q)}function Kl(e,t,n=Ee){D(e)&&(e=as(e));for(const s in e){const r=e[s];let o;Z(r)?"default"in r?o=xt(r.from||s,r.default,!0):o=xt(r.from||s):o=xt(r),de(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function ir(e,t,n){Te(D(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Po(e,t,n,s){const r=s.includes(".")?Eo(n,s):()=>n[s];if(ne(e)){const o=t[e];K(o)&&Ye(r,o)}else if(K(e))Ye(r,e.bind(n));else if(Z(e))if(D(e))e.forEach(o=>Po(o,t,n,s));else{const o=K(e.handler)?e.handler.bind(n):t[e.handler];K(o)&&Ye(r,o,e)}}function $s(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(f=>bn(c,f,i,!0)),bn(c,t,i)),Z(t)&&o.set(t,c),c}function bn(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&bn(e,o,n,!0),r&&r.forEach(i=>bn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=Wl[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Wl={data:lr,props:cr,emits:cr,methods:Ot,computed:Ot,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:Ot,directives:Ot,watch:Gl,provide:lr,inject:ql};function lr(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 ql(e,t){return Ot(as(e),as(t))}function as(e){if(D(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(s&&s.proxy):t}}function Xl(e,t,n,s=!1){const r={},o={};pn(o,Hn,1),e.propsDefaults=Object.create(null),No(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:sl(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function Ql(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=X(r),[c]=e.propsOptions;let f=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[p,w]=Fo(h,t,!0);ie(i,p),w&&l.push(...w)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!c)return Z(e)&&s.set(e,yt),yt;if(D(o))for(let u=0;u-1,w[1]=P<0||R-1||J(w,"default"))&&l.push(h)}}}const f=[i,l];return Z(e)&&s.set(e,f),f}function ar(e){return e[0]!=="$"}function fr(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function ur(e,t){return fr(e)===fr(t)}function dr(e,t){return D(t)?t.findIndex(n=>ur(n,e)):K(t)&&ur(t,e)?0:-1}const $o=e=>e[0]==="_"||e==="$stable",Hs=e=>D(e)?e.map(Se):[Se(e)],Zl=(e,t,n)=>{if(t._n)return t;const s=_l((...r)=>Hs(t(...r)),n);return s._c=!1,s},Ho=(e,t,n)=>{const s=e._ctx;for(const r in e){if($o(r))continue;const o=e[r];if(K(o))t[r]=Zl(r,o,s);else if(o!=null){const i=Hs(o);t[r]=()=>i}}},jo=(e,t)=>{const n=Hs(t);e.slots.default=()=>n},ec=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=X(t),pn(t,"_",n)):Ho(t,e.slots={})}else e.slots={},t&&jo(e,t);pn(e.slots,Hn,1)},tc=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ee;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(ie(r,t),!n&&l===1&&delete r._):(o=!t.$stable,Ho(t,r)),i=t}else t&&(jo(e,t),i={default:1});if(o)for(const l in r)!$o(l)&&i[l]==null&&delete r[l]};function vn(e,t,n,s,r=!1){if(D(e)){e.forEach((p,w)=>vn(p,t&&(D(t)?t[w]:t),n,s,r));return}if(vt(s)&&!r)return;const o=s.shapeFlag&4?Vn(s.component)||s.component.proxy:s.el,i=r?null:o,{i:l,r:c}=e,f=t&&t.r,u=l.refs===ee?l.refs={}:l.refs,h=l.setupState;if(f!=null&&f!==c&&(ne(f)?(u[f]=null,J(h,f)&&(h[f]=null)):de(f)&&(f.value=null)),K(c))ze(c,l,12,[i,u]);else{const p=ne(c),w=de(c),R=e.f;if(p||w){const P=()=>{if(R){const $=p?J(h,c)?h[c]:u[c]:c.value;r?D($)&&vs($,o):D($)?$.includes(o)||$.push(o):p?(u[c]=[o],J(h,c)&&(h[c]=u[c])):(c.value=[o],e.k&&(u[e.k]=c.value))}else p?(u[c]=i,J(h,c)&&(h[c]=i)):w&&(c.value=i,e.k&&(u[e.k]=i))};r||R?P():(P.id=-1,ge(P,n))}}}let ke=!1;const nc=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",sc=e=>e.namespaceURI.includes("MathML"),sn=e=>{if(nc(e))return"svg";if(sc(e))return"mathml"},rn=e=>e.nodeType===8;function rc(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:o,parentNode:i,remove:l,insert:c,createComment:f}}=e,u=(g,y)=>{if(!y.hasChildNodes()){n(null,g,y),yn(),y._vnode=g;return}ke=!1,h(y.firstChild,g,null,null,null),yn(),y._vnode=g,ke&&console.error("Hydration completed but contains mismatches.")},h=(g,y,I,L,F,A=!1)=>{const E=rn(g)&&g.data==="[",T=()=>P(g,y,I,L,F,E),{type:B,ref:M,shapeFlag:q,patchFlag:re}=y;let ce=g.nodeType;y.el=g,re===-2&&(A=!1,y.dynamicChildren=null);let V=null;switch(B){case Tt:ce!==3?y.children===""?(c(y.el=r(""),i(g),g),V=g):V=T():(g.data!==y.children&&(ke=!0,g.data=y.children),V=o(g));break;case we:Y(g)?(V=o(g),W(y.el=g.content.firstChild,g,I)):ce!==8||E?V=T():V=o(g);break;case Ct:if(E&&(g=o(g),ce=g.nodeType),ce===1||ce===3){V=g;const z=!y.children.length;for(let j=0;j{A=A||!!y.dynamicChildren;const{type:E,props:T,patchFlag:B,shapeFlag:M,dirs:q,transition:re}=y,ce=E==="input"||E==="option";if(ce||B!==-1){q&&Me(y,null,I,"created");let V=!1;if(Y(g)){V=ko(L,re)&&I&&I.vnode.props&&I.vnode.props.appear;const j=g.content.firstChild;V&&re.beforeEnter(j),W(j,g,I),y.el=g=j}if(M&16&&!(T&&(T.innerHTML||T.textContent))){let j=w(g.firstChild,y,g,I,L,F,A);for(;j;){ke=!0;const Ne=j;j=j.nextSibling,l(Ne)}}else M&8&&g.textContent!==y.children&&(ke=!0,g.textContent=y.children);if(T)if(ce||!A||B&48)for(const j in T)(ce&&(j.endsWith("value")||j==="indeterminate")||Kt(j)&&!Mt(j)||j[0]===".")&&s(g,j,null,T[j],void 0,void 0,I);else T.onClick&&s(g,"onClick",null,T.onClick,void 0,void 0,I);let z;(z=T&&T.onVnodeBeforeMount)&&xe(z,I,y),q&&Me(y,null,I,"beforeMount"),((z=T&&T.onVnodeMounted)||q||V)&&xo(()=>{z&&xe(z,I,y),V&&re.enter(g),q&&Me(y,null,I,"mounted")},L)}return g.nextSibling},w=(g,y,I,L,F,A,E)=>{E=E||!!y.dynamicChildren;const T=y.children,B=T.length;for(let M=0;M{const{slotScopeIds:E}=y;E&&(F=F?F.concat(E):E);const T=i(g),B=w(o(g),y,T,I,L,F,A);return B&&rn(B)&&B.data==="]"?o(y.anchor=B):(ke=!0,c(y.anchor=f("]"),T,B),B)},P=(g,y,I,L,F,A)=>{if(ke=!0,y.el=null,A){const B=$(g);for(;;){const M=o(g);if(M&&M!==B)l(M);else break}}const E=o(g),T=i(g);return l(g),n(null,y,T,E,I,L,sn(T),F),E},$=(g,y="[",I="]")=>{let L=0;for(;g;)if(g=o(g),g&&rn(g)&&(g.data===y&&L++,g.data===I)){if(L===0)return o(g);L--}return g},W=(g,y,I)=>{const L=y.parentNode;L&&L.replaceChild(g,y);let F=I;for(;F;)F.vnode.el===y&&(F.vnode.el=F.subTree.el=g),F=F.parent},Y=g=>g.nodeType===1&&g.tagName.toLowerCase()==="template";return[u,h]}const ge=xo;function oc(e){return Vo(e)}function ic(e){return Vo(e,rc)}function Vo(e,t){const n=qr();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:f,setElementText:u,parentNode:h,nextSibling:p,setScopeId:w=Ee,insertStaticContent:R}=e,P=(a,d,m,_=null,b=null,C=null,O=void 0,x=null,S=!!d.dynamicChildren)=>{if(a===d)return;a&&!ot(a,d)&&(_=Yt(a),Re(a,b,C,!0),a=null),d.patchFlag===-2&&(S=!1,d.dynamicChildren=null);const{type:v,ref:N,shapeFlag:k}=d;switch(v){case Tt:$(a,d,m,_);break;case we:W(a,d,m,_);break;case Ct:a==null&&Y(d,m,_,O);break;case pe:M(a,d,m,_,b,C,O,x,S);break;default:k&1?I(a,d,m,_,b,C,O,x,S):k&6?q(a,d,m,_,b,C,O,x,S):(k&64||k&128)&&v.process(a,d,m,_,b,C,O,x,S,pt)}N!=null&&b&&vn(N,a&&a.ref,C,d||a,!d)},$=(a,d,m,_)=>{if(a==null)s(d.el=l(d.children),m,_);else{const b=d.el=a.el;d.children!==a.children&&f(b,d.children)}},W=(a,d,m,_)=>{a==null?s(d.el=c(d.children||""),m,_):d.el=a.el},Y=(a,d,m,_)=>{[a.el,a.anchor]=R(a.children,d,m,_,a.el,a.anchor)},g=({el:a,anchor:d},m,_)=>{let b;for(;a&&a!==d;)b=p(a),s(a,m,_),a=b;s(d,m,_)},y=({el:a,anchor:d})=>{let m;for(;a&&a!==d;)m=p(a),r(a),a=m;r(d)},I=(a,d,m,_,b,C,O,x,S)=>{d.type==="svg"?O="svg":d.type==="math"&&(O="mathml"),a==null?L(d,m,_,b,C,O,x,S):E(a,d,b,C,O,x,S)},L=(a,d,m,_,b,C,O,x)=>{let S,v;const{props:N,shapeFlag:k,transition:H,dirs:U}=a;if(S=a.el=i(a.type,C,N&&N.is,N),k&8?u(S,a.children):k&16&&A(a.children,S,null,_,b,zn(a,C),O,x),U&&Me(a,null,_,"created"),F(S,a,a.scopeId,O,_),N){for(const Q in N)Q!=="value"&&!Mt(Q)&&o(S,Q,null,N[Q],C,a.children,_,b,Fe);"value"in N&&o(S,"value",null,N.value,C),(v=N.onVnodeBeforeMount)&&xe(v,_,a)}U&&Me(a,null,_,"beforeMount");const G=ko(b,H);G&&H.beforeEnter(S),s(S,d,m),((v=N&&N.onVnodeMounted)||G||U)&&ge(()=>{v&&xe(v,_,a),G&&H.enter(S),U&&Me(a,null,_,"mounted")},b)},F=(a,d,m,_,b)=>{if(m&&w(a,m),_)for(let C=0;C<_.length;C++)w(a,_[C]);if(b){let C=b.subTree;if(d===C){const O=b.vnode;F(a,O,O.scopeId,O.slotScopeIds,b.parent)}}},A=(a,d,m,_,b,C,O,x,S=0)=>{for(let v=S;v{const x=d.el=a.el;let{patchFlag:S,dynamicChildren:v,dirs:N}=d;S|=a.patchFlag&16;const k=a.props||ee,H=d.props||ee;let U;if(m&&tt(m,!1),(U=H.onVnodeBeforeUpdate)&&xe(U,m,d,a),N&&Me(d,a,m,"beforeUpdate"),m&&tt(m,!0),v?T(a.dynamicChildren,v,x,m,_,zn(d,b),C):O||j(a,d,x,null,m,_,zn(d,b),C,!1),S>0){if(S&16)B(x,d,k,H,m,_,b);else if(S&2&&k.class!==H.class&&o(x,"class",null,H.class,b),S&4&&o(x,"style",k.style,H.style,b),S&8){const G=d.dynamicProps;for(let Q=0;Q{U&&xe(U,m,d,a),N&&Me(d,a,m,"updated")},_)},T=(a,d,m,_,b,C,O)=>{for(let x=0;x{if(m!==_){if(m!==ee)for(const x in m)!Mt(x)&&!(x in _)&&o(a,x,m[x],null,O,d.children,b,C,Fe);for(const x in _){if(Mt(x))continue;const S=_[x],v=m[x];S!==v&&x!=="value"&&o(a,x,v,S,O,d.children,b,C,Fe)}"value"in _&&o(a,"value",m.value,_.value,O)}},M=(a,d,m,_,b,C,O,x,S)=>{const v=d.el=a?a.el:l(""),N=d.anchor=a?a.anchor:l("");let{patchFlag:k,dynamicChildren:H,slotScopeIds:U}=d;U&&(x=x?x.concat(U):U),a==null?(s(v,m,_),s(N,m,_),A(d.children||[],m,N,b,C,O,x,S)):k>0&&k&64&&H&&a.dynamicChildren?(T(a.dynamicChildren,H,m,b,C,O,x),(d.key!=null||b&&d===b.subTree)&&js(a,d,!0)):j(a,d,m,N,b,C,O,x,S)},q=(a,d,m,_,b,C,O,x,S)=>{d.slotScopeIds=x,a==null?d.shapeFlag&512?b.ctx.activate(d,m,_,O,S):re(d,m,_,b,C,O,S):ce(a,d,S)},re=(a,d,m,_,b,C,O)=>{const x=a.component=yc(a,_,b);if(Fn(a)&&(x.ctx.renderer=pt),_c(x),x.asyncDep){if(b&&b.registerDep(x,V),!a.el){const S=x.subTree=fe(we);W(null,S,d,m)}}else V(x,a,d,m,b,C,O)},ce=(a,d,m)=>{const _=d.component=a.component;if(vl(a,d,m))if(_.asyncDep&&!_.asyncResolved){z(_,d,m);return}else _.next=d,pl(_.update),_.effect.dirty=!0,_.update();else d.el=a.el,_.vnode=d},V=(a,d,m,_,b,C,O)=>{const x=()=>{if(a.isMounted){let{next:N,bu:k,u:H,parent:U,vnode:G}=a;{const gt=Do(a);if(gt){N&&(N.el=G.el,z(a,N,O)),gt.asyncDep.then(()=>{a.isUnmounted||x()});return}}let Q=N,te;tt(a,!1),N?(N.el=G.el,z(a,N,O)):N=G,k&&Un(k),(te=N.props&&N.props.onVnodeBeforeUpdate)&&xe(te,U,N,G),tt(a,!0);const le=Wn(a),Ae=a.subTree;a.subTree=le,P(Ae,le,h(Ae.el),Yt(Ae),a,b,C),N.el=le.el,Q===null&&xl(a,le.el),H&&ge(H,b),(te=N.props&&N.props.onVnodeUpdated)&&ge(()=>xe(te,U,N,G),b)}else{let N;const{el:k,props:H}=d,{bm:U,m:G,parent:Q}=a,te=vt(d);if(tt(a,!1),U&&Un(U),!te&&(N=H&&H.onVnodeBeforeMount)&&xe(N,Q,d),tt(a,!0),k&&Bn){const le=()=>{a.subTree=Wn(a),Bn(k,a.subTree,a,b,null)};te?d.type.__asyncLoader().then(()=>!a.isUnmounted&&le()):le()}else{const le=a.subTree=Wn(a);P(null,le,m,_,a,b,C),d.el=le.el}if(G&&ge(G,b),!te&&(N=H&&H.onVnodeMounted)){const le=d;ge(()=>xe(N,Q,le),b)}(d.shapeFlag&256||Q&&vt(Q.vnode)&&Q.vnode.shapeFlag&256)&&a.a&&ge(a.a,b),a.isMounted=!0,d=m=_=null}},S=a.effect=new Ts(x,Ee,()=>Ns(v),a.scope),v=a.update=()=>{S.dirty&&S.run()};v.id=a.uid,tt(a,!0),v()},z=(a,d,m)=>{d.component=a;const _=a.vnode.props;a.vnode=d,a.next=null,Ql(a,d.props,_,m),tc(a,d.children,m),ut(),tr(a),dt()},j=(a,d,m,_,b,C,O,x,S=!1)=>{const v=a&&a.children,N=a?a.shapeFlag:0,k=d.children,{patchFlag:H,shapeFlag:U}=d;if(H>0){if(H&128){zt(v,k,m,_,b,C,O,x,S);return}else if(H&256){Ne(v,k,m,_,b,C,O,x,S);return}}U&8?(N&16&&Fe(v,b,C),k!==v&&u(m,k)):N&16?U&16?zt(v,k,m,_,b,C,O,x,S):Fe(v,b,C,!0):(N&8&&u(m,""),U&16&&A(k,m,_,b,C,O,x,S))},Ne=(a,d,m,_,b,C,O,x,S)=>{a=a||yt,d=d||yt;const v=a.length,N=d.length,k=Math.min(v,N);let H;for(H=0;HN?Fe(a,b,C,!0,!1,k):A(d,m,_,b,C,O,x,S,k)},zt=(a,d,m,_,b,C,O,x,S)=>{let v=0;const N=d.length;let k=a.length-1,H=N-1;for(;v<=k&&v<=H;){const U=a[v],G=d[v]=S?We(d[v]):Se(d[v]);if(ot(U,G))P(U,G,m,null,b,C,O,x,S);else break;v++}for(;v<=k&&v<=H;){const U=a[k],G=d[H]=S?We(d[H]):Se(d[H]);if(ot(U,G))P(U,G,m,null,b,C,O,x,S);else break;k--,H--}if(v>k){if(v<=H){const U=H+1,G=UH)for(;v<=k;)Re(a[v],b,C,!0),v++;else{const U=v,G=v,Q=new Map;for(v=G;v<=H;v++){const _e=d[v]=S?We(d[v]):Se(d[v]);_e.key!=null&&Q.set(_e.key,v)}let te,le=0;const Ae=H-G+1;let gt=!1,Ks=0;const St=new Array(Ae);for(v=0;v=Ae){Re(_e,b,C,!0);continue}let Oe;if(_e.key!=null)Oe=Q.get(_e.key);else for(te=G;te<=H;te++)if(St[te-G]===0&&ot(_e,d[te])){Oe=te;break}Oe===void 0?Re(_e,b,C,!0):(St[Oe-G]=v+1,Oe>=Ks?Ks=Oe:gt=!0,P(_e,d[Oe],m,null,b,C,O,x,S),le++)}const Ws=gt?lc(St):yt;for(te=Ws.length-1,v=Ae-1;v>=0;v--){const _e=G+v,Oe=d[_e],qs=_e+1{const{el:C,type:O,transition:x,children:S,shapeFlag:v}=a;if(v&6){et(a.component.subTree,d,m,_);return}if(v&128){a.suspense.move(d,m,_);return}if(v&64){O.move(a,d,m,pt);return}if(O===pe){s(C,d,m);for(let k=0;kx.enter(C),b);else{const{leave:k,delayLeave:H,afterLeave:U}=x,G=()=>s(C,d,m),Q=()=>{k(C,()=>{G(),U&&U()})};H?H(C,G,Q):Q()}else s(C,d,m)},Re=(a,d,m,_=!1,b=!1)=>{const{type:C,props:O,ref:x,children:S,dynamicChildren:v,shapeFlag:N,patchFlag:k,dirs:H}=a;if(x!=null&&vn(x,null,m,a,!0),N&256){d.ctx.deactivate(a);return}const U=N&1&&H,G=!vt(a);let Q;if(G&&(Q=O&&O.onVnodeBeforeUnmount)&&xe(Q,d,a),N&6)wi(a.component,m,_);else{if(N&128){a.suspense.unmount(m,_);return}U&&Me(a,null,d,"beforeUnmount"),N&64?a.type.remove(a,d,m,b,pt,_):v&&(C!==pe||k>0&&k&64)?Fe(v,d,m,!1,!0):(C===pe&&k&384||!b&&N&16)&&Fe(S,d,m),_&&Bs(a)}(G&&(Q=O&&O.onVnodeUnmounted)||U)&&ge(()=>{Q&&xe(Q,d,a),U&&Me(a,null,d,"unmounted")},m)},Bs=a=>{const{type:d,el:m,anchor:_,transition:b}=a;if(d===pe){bi(m,_);return}if(d===Ct){y(a);return}const C=()=>{r(m),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(a.shapeFlag&1&&b&&!b.persisted){const{leave:O,delayLeave:x}=b,S=()=>O(m,C);x?x(a.el,C,S):S()}else C()},bi=(a,d)=>{let m;for(;a!==d;)m=p(a),r(a),a=m;r(d)},wi=(a,d,m)=>{const{bum:_,scope:b,update:C,subTree:O,um:x}=a;_&&Un(_),b.stop(),C&&(C.active=!1,Re(O,a,d,m)),x&&ge(x,d),ge(()=>{a.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&a.asyncDep&&!a.asyncResolved&&a.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},Fe=(a,d,m,_=!1,b=!1,C=0)=>{for(let O=C;Oa.shapeFlag&6?Yt(a.component.subTree):a.shapeFlag&128?a.suspense.next():p(a.anchor||a.el);let kn=!1;const Us=(a,d,m)=>{a==null?d._vnode&&Re(d._vnode,null,null,!0):P(d._vnode||null,a,d,null,null,null,m),kn||(kn=!0,tr(),yn(),kn=!1),d._vnode=a},pt={p:P,um:Re,m:et,r:Bs,mt:re,mc:A,pc:j,pbc:T,n:Yt,o:e};let Dn,Bn;return t&&([Dn,Bn]=t(pt)),{render:Us,hydrate:Dn,createApp:Yl(Us,Dn)}}function zn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function tt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ko(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function js(e,t,n=!1){const s=e.children,r=t.children;if(D(s)&&D(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Do(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Do(t)}const cc=e=>e.__isTeleport,Ft=e=>e&&(e.disabled||e.disabled===""),hr=e=>typeof SVGElement<"u"&&e instanceof SVGElement,pr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,us=(e,t)=>{const n=e&&e.to;return ne(n)?t?t(n):null:n},ac={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,o,i,l,c,f){const{mc:u,pc:h,pbc:p,o:{insert:w,querySelector:R,createText:P,createComment:$}}=f,W=Ft(t.props);let{shapeFlag:Y,children:g,dynamicChildren:y}=t;if(e==null){const I=t.el=P(""),L=t.anchor=P("");w(I,n,s),w(L,n,s);const F=t.target=us(t.props,R),A=t.targetAnchor=P("");F&&(w(A,F),i==="svg"||hr(F)?i="svg":(i==="mathml"||pr(F))&&(i="mathml"));const E=(T,B)=>{Y&16&&u(g,T,B,r,o,i,l,c)};W?E(n,L):F&&E(F,A)}else{t.el=e.el;const I=t.anchor=e.anchor,L=t.target=e.target,F=t.targetAnchor=e.targetAnchor,A=Ft(e.props),E=A?n:L,T=A?I:F;if(i==="svg"||hr(L)?i="svg":(i==="mathml"||pr(L))&&(i="mathml"),y?(p(e.dynamicChildren,y,E,r,o,i,l),js(e,t,!0)):c||h(e,t,E,T,r,o,i,l,!1),W)A?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):on(t,n,I,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const B=t.target=us(t.props,R);B&&on(t,B,null,f,0)}else A&&on(t,L,F,f,1)}Bo(t)},remove(e,t,n,s,{um:r,o:{remove:o}},i){const{shapeFlag:l,children:c,anchor:f,targetAnchor:u,target:h,props:p}=e;if(h&&o(u),i&&o(f),l&16){const w=i||!Ft(p);for(let R=0;R0?Le||yt:null,uc(),Bt>0&&Le&&Le.push(e),e}function rf(e,t,n,s,r,o){return Ko(Go(e,t,n,s,r,o,!0))}function Wo(e,t,n,s,r){return Ko(fe(e,t,n,s,r,!0))}function xn(e){return e?e.__v_isVNode===!0:!1}function ot(e,t){return e.type===t.type&&e.key===t.key}const Hn="__vInternal",qo=({key:e})=>e??null,dn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ne(e)||de(e)||K(e)?{i:oe,r:e,k:t,f:!!n}:e:null);function Go(e,t=null,n=null,s=0,r=null,o=e===pe?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&qo(t),ref:t&&dn(t),scopeId:In,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:oe};return l?(Vs(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ne(n)?8:16),Bt>0&&!i&&Le&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Le.push(c),c}const fe=dc;function dc(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===wo)&&(e=we),xn(e)){const l=Ze(e,t,!0);return n&&Vs(l,n),Bt>0&&!o&&Le&&(l.shapeFlag&6?Le[Le.indexOf(e)]=l:Le.push(l)),l.patchFlag|=-2,l}if(xc(e)&&(e=e.__vccOpts),t){t=hc(t);let{class:l,style:c}=t;l&&!ne(l)&&(t.class=Es(l)),Z(c)&&(co(c)&&!D(c)&&(c=ie({},c)),t.style=Cs(c))}const i=ne(e)?1:Cl(e)?128:cc(e)?64:Z(e)?4:K(e)?2:0;return Go(e,t,n,s,r,i,o,!0)}function hc(e){return e?co(e)||Hn in e?ie({},e):e:null}function Ze(e,t,n=!1){const{props:s,ref:r,patchFlag:o,children:i}=e,l=t?pc(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&qo(l),ref:t&&t.ref?n&&r?D(r)?r.concat(dn(t)):[r,dn(t)]:dn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==pe?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ze(e.ssContent),ssFallback:e.ssFallback&&Ze(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function zo(e=" ",t=0){return fe(Tt,null,e,t)}function of(e,t){const n=fe(Ct,null,e);return n.staticCount=t,n}function lf(e="",t=!1){return t?(Uo(),Wo(we,null,e)):fe(we,null,e)}function Se(e){return e==null||typeof e=="boolean"?fe(we):D(e)?fe(pe,null,e.slice()):typeof e=="object"?We(e):fe(Tt,null,String(e))}function We(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ze(e)}function Vs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(D(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Vs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Hn in t)?t._ctx=oe:r===3&&oe&&(oe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:oe},n=32):(t=String(t),s&64?(n=16,t=[zo(t)]):n=8);e.children=t,e.shapeFlag|=n}function pc(...e){const t={};for(let n=0;nae||oe;let Cn,ds;{const e=qr(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};Cn=t("__VUE_INSTANCE_SETTERS__",n=>ae=n),ds=t("__VUE_SSR_SETTERS__",n=>jn=n)}const Gt=e=>{const t=ae;return Cn(e),e.scope.on(),()=>{e.scope.off(),Cn(t)}},mr=()=>{ae&&ae.scope.off(),Cn(null)};function Yo(e){return e.vnode.shapeFlag&4}let jn=!1;function _c(e,t=!1){t&&ds(t);const{props:n,children:s}=e.vnode,r=Yo(e);Xl(e,n,r,t),ec(e,s);const o=r?bc(e,t):void 0;return t&&ds(!1),o}function bc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Pt(new Proxy(e.ctx,Dl));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Xo(e):null,o=Gt(e);ut();const i=ze(s,e,0,[e.props,r]);if(dt(),o(),Ur(i)){if(i.then(mr,mr),t)return i.then(l=>{yr(e,l,t)}).catch(l=>{On(l,e,0)});e.asyncDep=i}else yr(e,i,t)}else Jo(e,t)}function yr(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Z(t)&&(e.setupState=po(t)),Jo(e,n)}let _r;function Jo(e,t,n){const s=e.type;if(!e.render){if(!t&&_r&&!s.render){const r=s.template||$s(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,f=ie(ie({isCustomElement:o,delimiters:l},i),c);s.render=_r(r,f)}}e.render=s.render||Ee}{const r=Gt(e);ut();try{Ul(e)}finally{dt(),r()}}}function wc(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return ye(e,"get","$attrs"),t[n]}}))}function Xo(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return wc(e)},slots:e.slots,emit:e.emit,expose:t}}function Vn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(po(Pt(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Nt)return Nt[n](e)},has(t,n){return n in t||n in Nt}}))}function vc(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function xc(e){return K(e)&&"__vccOpts"in e}const se=(e,t)=>rl(e,t,jn);function hs(e,t,n){const s=arguments.length;return s===2?Z(t)&&!D(t)?xn(t)?fe(e,null,[t]):fe(e,t):fe(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&xn(n)&&(n=[n]),fe(e,t,n))}const Cc="3.4.15";/** +* @vue/runtime-dom v3.4.15 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const Ec="http://www.w3.org/2000/svg",Tc="http://www.w3.org/1998/Math/MathML",qe=typeof document<"u"?document:null,br=qe&&qe.createElement("template"),Ac={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==="svg"?qe.createElementNS(Ec,e):t==="mathml"?qe.createElementNS(Tc,e):qe.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>qe.createTextNode(e),createComment:e=>qe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>qe.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{br.innerHTML=s==="svg"?`${e}`:s==="mathml"?`${e}`:e;const l=br.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},De="transition",Lt="animation",Ut=Symbol("_vtc"),Qo=(e,{slots:t})=>hs(Ol,Sc(e),t);Qo.displayName="Transition";const Zo={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};Qo.props=ie({},To,Zo);const nt=(e,t=[])=>{D(e)?e.forEach(n=>n(...t)):e&&e(...t)},wr=e=>e?D(e)?e.some(t=>t.length>1):e.length>1:!1;function Sc(e){const t={};for(const M in e)M in Zo||(t[M]=e[M]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:f=i,appearToClass:u=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:w=`${n}-leave-to`}=e,R=Lc(r),P=R&&R[0],$=R&&R[1],{onBeforeEnter:W,onEnter:Y,onEnterCancelled:g,onLeave:y,onLeaveCancelled:I,onBeforeAppear:L=W,onAppear:F=Y,onAppearCancelled:A=g}=t,E=(M,q,re)=>{st(M,q?u:l),st(M,q?f:i),re&&re()},T=(M,q)=>{M._isLeaving=!1,st(M,h),st(M,w),st(M,p),q&&q()},B=M=>(q,re)=>{const ce=M?F:Y,V=()=>E(q,M,re);nt(ce,[q,V]),vr(()=>{st(q,M?c:o),Be(q,M?u:l),wr(ce)||xr(q,s,P,V)})};return ie(t,{onBeforeEnter(M){nt(W,[M]),Be(M,o),Be(M,i)},onBeforeAppear(M){nt(L,[M]),Be(M,c),Be(M,f)},onEnter:B(!1),onAppear:B(!0),onLeave(M,q){M._isLeaving=!0;const re=()=>T(M,q);Be(M,h),Mc(),Be(M,p),vr(()=>{M._isLeaving&&(st(M,h),Be(M,w),wr(y)||xr(M,s,$,re))}),nt(y,[M,re])},onEnterCancelled(M){E(M,!1),nt(g,[M])},onAppearCancelled(M){E(M,!0),nt(A,[M])},onLeaveCancelled(M){T(M),nt(I,[M])}})}function Lc(e){if(e==null)return null;if(Z(e))return[Yn(e.enter),Yn(e.leave)];{const t=Yn(e);return[t,t]}}function Yn(e){return Si(e)}function Be(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ut]||(e[Ut]=new Set)).add(t)}function st(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Ut];n&&(n.delete(t),n.size||(e[Ut]=void 0))}function vr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Rc=0;function xr(e,t,n,s){const r=e._endId=++Rc,o=()=>{r===e._endId&&s()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=Oc(e,t);if(!i)return s();const f=i+"end";let u=0;const h=()=>{e.removeEventListener(f,p),o()},p=w=>{w.target===e&&++u>=c&&h()};setTimeout(()=>{u(n[R]||"").split(", "),r=s(`${De}Delay`),o=s(`${De}Duration`),i=Cr(r,o),l=s(`${Lt}Delay`),c=s(`${Lt}Duration`),f=Cr(l,c);let u=null,h=0,p=0;t===De?i>0&&(u=De,h=i,p=o.length):t===Lt?f>0&&(u=Lt,h=f,p=c.length):(h=Math.max(i,f),u=h>0?i>f?De:Lt:null,p=u?u===De?o.length:c.length:0);const w=u===De&&/\b(transform|all)(,|$)/.test(s(`${De}Property`).toString());return{type:u,timeout:h,propCount:p,hasTransform:w}}function Cr(e,t){for(;e.lengthEr(n)+Er(e[s])))}function Er(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Mc(){return document.body.offsetHeight}function Pc(e,t,n){const s=e[Ut];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ks=Symbol("_vod"),cf={beforeMount(e,{value:t},{transition:n}){e[ks]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Rt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Rt(e,!0),s.enter(e)):s.leave(e,()=>{Rt(e,!1)}):Rt(e,t))},beforeUnmount(e,{value:t}){Rt(e,t)}};function Rt(e,t){e.style.display=t?e[ks]:"none"}const ei=Symbol("");function af(e){const t=qt();if(!t)return;const n=t.ut=(r=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>gs(o,r))},s=()=>{const r=e(t.proxy);ps(t.subTree,r),n(r)};Al(s),ht(()=>{const r=new MutationObserver(s);r.observe(t.subTree.el.parentNode,{childList:!0}),Wt(()=>r.disconnect())})}function ps(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{ps(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)gs(e.el,t);else if(e.type===pe)e.children.forEach(n=>ps(n,t));else if(e.type===Ct){let{el:n,anchor:s}=e;for(;n&&(gs(n,t),n!==s);)n=n.nextSibling}}function gs(e,t){if(e.nodeType===1){const n=e.style;let s="";for(const r in t)n.setProperty(`--${r}`,t[r]),s+=`--${r}: ${t[r]};`;n[ei]=s}}function Ic(e,t,n){const s=e.style,r=s.display,o=ne(n);if(n&&!o){if(t&&!ne(t))for(const i in t)n[i]==null&&ms(s,i,"");for(const i in n)ms(s,i,n[i])}else if(o){if(t!==n){const i=s[ei];i&&(n+=";"+i),s.cssText=n}}else t&&e.removeAttribute("style");ks in e&&(s.display=r)}const Tr=/\s*!important$/;function ms(e,t,n){if(D(n))n.forEach(s=>ms(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Nc(e,t);Tr.test(n)?e.setProperty(ft(s),n.replace(Tr,""),"important"):e[s]=n}}const Ar=["Webkit","Moz","ms"],Jn={};function Nc(e,t){const n=Jn[t];if(n)return n;let s=Ie(t);if(s!=="filter"&&s in e)return Jn[t]=s;s=An(s);for(let r=0;rXn||(Dc.then(()=>Xn=0),Xn=Date.now());function Uc(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Te(Kc(s,n.value),t,5,[s])};return n.value=e,n.attached=Bc(),n}function Kc(e,t){if(D(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 Or=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Wc=(e,t,n,s,r,o,i,l,c)=>{const f=r==="svg";t==="class"?Pc(e,s,f):t==="style"?Ic(e,n,s):Kt(t)?ws(t)||Vc(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):qc(e,t,s,f))?$c(e,t,s,o,i,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Fc(e,t,s,f))};function qc(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Or(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Or(t)&&ne(n)?!1:t in e}const Gc=["ctrl","shift","alt","meta"],zc={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)=>Gc.some(n=>e[`${n}Key`]&&!t.includes(n))},ff=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const o=ft(r.key);if(t.some(i=>i===o||Yc[i]===o))return e(r)})},ti=ie({patchProp:Wc},Ac);let Ht,Mr=!1;function Jc(){return Ht||(Ht=oc(ti))}function Xc(){return Ht=Mr?Ht:ic(ti),Mr=!0,Ht}const df=(...e)=>{const t=Jc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=si(s);if(!r)return;const o=t._component;!K(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,ni(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t},hf=(...e)=>{const t=Xc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=si(s);if(r)return n(r,!0,ni(r))},t};function ni(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function si(e){return ne(e)?document.querySelector(e):e}const pf=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Qc="modulepreload",Zc=function(e){return"/"+e},Pr={},gf=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link");r=Promise.all(n.map(i=>{if(i=Zc(i),i in Pr)return;Pr[i]=!0;const l=i.endsWith(".css"),c=l?'[rel="stylesheet"]':"";if(!!s)for(let h=o.length-1;h>=0;h--){const p=o[h];if(p.href===i&&(!l||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${c}`))return;const u=document.createElement("link");if(u.rel=l?"stylesheet":Qc,l||(u.as="script",u.crossOrigin=""),u.href=i,document.head.appendChild(u),l)return new Promise((h,p)=>{u.addEventListener("load",h),u.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${i}`)))})}))}return r.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},ea=window.__VP_SITE_DATA__;function Ds(e){return Yr()?($i(e),!0):!1}function Je(e){return typeof e=="function"?e():ho(e)}const ri=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ta=Object.prototype.toString,na=e=>ta.call(e)==="[object Object]",jt=()=>{},ys=sa();function sa(){var e,t;return ri&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function ra(e,t){function n(...s){return new Promise((r,o)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(o)})}return n}const oi=e=>e();function oa(e=oi){const t=me(!0);function n(){t.value=!1}function s(){t.value=!0}const r=(...o)=>{t.value&&e(...o)};return{isActive:Rn(t),pause:n,resume:s,eventFilter:r}}function ia(e){return e||qt()}function ii(...e){if(e.length!==1)return ul(...e);const t=e[0];return typeof t=="function"?Rn(cl(()=>({get:t,set:jt}))):me(t)}function la(e,t,n={}){const{eventFilter:s=oi,...r}=n;return Ye(e,ra(s,t),r)}function ca(e,t,n={}){const{eventFilter:s,...r}=n,{eventFilter:o,pause:i,resume:l,isActive:c}=oa(s);return{stop:la(e,t,{...r,eventFilter:o}),pause:i,resume:l,isActive:c}}function li(e,t=!0,n){ia()?ht(e,n):t?e():Mn(e)}function mt(e){var t;const n=Je(e);return(t=n==null?void 0:n.$el)!=null?t:n}const He=ri?window:void 0;function Xe(...e){let t,n,s,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,r]=e,t=He):[t,n,s,r]=e,!t)return jt;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const o=[],i=()=>{o.forEach(u=>u()),o.length=0},l=(u,h,p,w)=>(u.addEventListener(h,p,w),()=>u.removeEventListener(h,p,w)),c=Ye(()=>[mt(t),Je(r)],([u,h])=>{if(i(),!u)return;const p=na(h)?{...h}:h;o.push(...n.flatMap(w=>s.map(R=>l(u,w,R,p))))},{immediate:!0,flush:"post"}),f=()=>{c(),i()};return Ds(f),f}let Ir=!1;function mf(e,t,n={}){const{window:s=He,ignore:r=[],capture:o=!0,detectIframe:i=!1}=n;if(!s)return jt;ys&&!Ir&&(Ir=!0,Array.from(s.document.body.children).forEach(p=>p.addEventListener("click",jt)),s.document.documentElement.addEventListener("click",jt));let l=!0;const c=p=>r.some(w=>{if(typeof w=="string")return Array.from(s.document.querySelectorAll(w)).some(R=>R===p.target||p.composedPath().includes(R));{const R=mt(w);return R&&(p.target===R||p.composedPath().includes(R))}}),u=[Xe(s,"click",p=>{const w=mt(e);if(!(!w||w===p.target||p.composedPath().includes(w))){if(p.detail===0&&(l=!c(p)),!l){l=!0;return}t(p)}},{passive:!0,capture:o}),Xe(s,"pointerdown",p=>{const w=mt(e);l=!c(p)&&!!(w&&!p.composedPath().includes(w))},{passive:!0}),i&&Xe(s,"blur",p=>{setTimeout(()=>{var w;const R=mt(e);((w=s.document.activeElement)==null?void 0:w.tagName)==="IFRAME"&&!(R!=null&&R.contains(s.document.activeElement))&&t(p)},0)})].filter(Boolean);return()=>u.forEach(p=>p())}function aa(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function yf(...e){let t,n,s={};e.length===3?(t=e[0],n=e[1],s=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],s=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=He,eventName:o="keydown",passive:i=!1,dedupe:l=!1}=s,c=aa(t);return Xe(r,o,u=>{u.repeat&&Je(l)||c(u)&&n(u)},i)}function fa(){const e=me(!1);return qt()&&ht(()=>{e.value=!0}),e}function ua(e){const t=fa();return se(()=>(t.value,!!e()))}function da(e,t={}){const{window:n=He}=t,s=ua(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const o=me(!1),i=f=>{o.value=f.matches},l=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",i):r.removeListener(i))},c=Co(()=>{s.value&&(l(),r=n.matchMedia(Je(e)),"addEventListener"in r?r.addEventListener("change",i):r.addListener(i),o.value=r.matches)});return Ds(()=>{c(),l(),r=void 0}),o}const ln=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},cn="__vueuse_ssr_handlers__",ha=pa();function pa(){return cn in ln||(ln[cn]=ln[cn]||{}),ln[cn]}function ci(e,t){return ha[e]||t}function ga(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 ma={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()}},Nr="vueuse-storage";function ya(e,t,n,s={}){var r;const{flush:o="pre",deep:i=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:f=!1,shallow:u,window:h=He,eventFilter:p,onError:w=E=>{console.error(E)},initOnMounted:R}=s,P=(u?fo:me)(typeof t=="function"?t():t);if(!n)try{n=ci("getDefaultStorage",()=>{var E;return(E=He)==null?void 0:E.localStorage})()}catch(E){w(E)}if(!n)return P;const $=Je(t),W=ga($),Y=(r=s.serializer)!=null?r:ma[W],{pause:g,resume:y}=ca(P,()=>I(P.value),{flush:o,deep:i,eventFilter:p});return h&&l&&li(()=>{Xe(h,"storage",A),Xe(h,Nr,F),R&&A()}),R||A(),P;function I(E){try{if(E==null)n.removeItem(e);else{const T=Y.write(E),B=n.getItem(e);B!==T&&(n.setItem(e,T),h&&h.dispatchEvent(new CustomEvent(Nr,{detail:{key:e,oldValue:B,newValue:T,storageArea:n}})))}}catch(T){w(T)}}function L(E){const T=E?E.newValue:n.getItem(e);if(T==null)return c&&$!=null&&n.setItem(e,Y.write($)),$;if(!E&&f){const B=Y.read(T);return typeof f=="function"?f(B,$):W==="object"&&!Array.isArray(B)?{...$,...B}:B}else return typeof T!="string"?T:Y.read(T)}function F(E){A(E.detail)}function A(E){if(!(E&&E.storageArea!==n)){if(E&&E.key==null){P.value=$;return}if(!(E&&E.key!==e)){g();try{(E==null?void 0:E.newValue)!==Y.write(P.value)&&(P.value=L(E))}catch(T){w(T)}finally{E?Mn(y):y()}}}}}function ai(e){return da("(prefers-color-scheme: dark)",e)}function _a(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=He,storage:o,storageKey:i="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:f,disableTransition:u=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},p=ai({window:r}),w=se(()=>p.value?"dark":"light"),R=c||(i==null?ii(s):ya(i,s,o,{window:r,listenToStorageChanges:l})),P=se(()=>R.value==="auto"?w.value:R.value),$=ci("updateHTMLAttrs",(y,I,L)=>{const F=typeof y=="string"?r==null?void 0:r.document.querySelector(y):mt(y);if(!F)return;let A;if(u&&(A=r.document.createElement("style"),A.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),r.document.head.appendChild(A)),I==="class"){const E=L.split(/\s/g);Object.values(h).flatMap(T=>(T||"").split(/\s/g)).filter(Boolean).forEach(T=>{E.includes(T)?F.classList.add(T):F.classList.remove(T)})}else F.setAttribute(I,L);u&&(r.getComputedStyle(A).opacity,document.head.removeChild(A))});function W(y){var I;$(t,n,(I=h[y])!=null?I:y)}function Y(y){e.onChanged?e.onChanged(y,W):W(y)}Ye(P,Y,{flush:"post",immediate:!0}),li(()=>Y(P.value));const g=se({get(){return f?R.value:P.value},set(y){R.value=y}});try{return Object.assign(g,{store:R,system:w,state:P})}catch{return g}}function ba(e={}){const{valueDark:t="dark",valueLight:n="",window:s=He}=e,r=_a({...e,onChanged:(l,c)=>{var f;e.onChanged?(f=e.onChanged)==null||f.call(e,l==="dark",c,l):c(l)},modes:{dark:t,light:n}}),o=se(()=>r.system?r.system.value:ai({window:s}).value?"dark":"light");return se({get(){return r.value==="dark"},set(l){const c=l?"dark":"light";o.value===c?r.value="auto":r.value=c}})}function Qn(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function fi(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const an=new WeakMap;function _f(e,t=!1){const n=me(t);let s=null,r;Ye(ii(e),l=>{const c=Qn(Je(l));if(c){const f=c;an.get(f)||an.set(f,r),n.value&&(f.style.overflow="hidden")}},{immediate:!0});const o=()=>{const l=Qn(Je(e));!l||n.value||(ys&&(s=Xe(l,"touchmove",c=>{wa(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},i=()=>{var l;const c=Qn(Je(e));!c||!n.value||(ys&&(s==null||s()),c.style.overflow=(l=an.get(c))!=null?l:"",an.delete(c),n.value=!1)};return Ds(i),se({get(){return n.value},set(l){l?o():i()}})}function bf(e={}){const{window:t=He,behavior:n="auto"}=e;if(!t)return{x:me(0),y:me(0)};const s=me(t.scrollX),r=me(t.scrollY),o=se({get(){return s.value},set(l){scrollTo({left:l,behavior:n})}}),i=se({get(){return r.value},set(l){scrollTo({top:l,behavior:n})}});return Xe(t,"scroll",()=>{s.value=t.scrollX,r.value=t.scrollY},{capture:!1,passive:!0}),{x:o,y:i}}const ui=/^(?:[a-z]+:|\/\/)/i,va="vitepress-theme-appearance",di=/#.*$/,xa=/(index)?\.(md|html)$/,Ce=typeof document<"u",hi={relativePath:"",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function Ca(e,t,n=!1){if(t===void 0)return!1;if(e=Fr(`/${e}`),n)return new RegExp(t).test(e);if(Fr(t)!==e)return!1;const s=t.match(di);return s?(Ce?location.hash:"")===s[0]:!0}function Fr(e){return decodeURI(e).replace(di,"").replace(xa,"")}function Ea(e){return ui.test(e)}function Ta(e,t){var s,r,o,i,l,c,f;const n=Object.keys(e.locales).find(u=>u!=="root"&&!Ea(u)&&Ca(t,`/${u}/`,!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:((o=e.locales[n])==null?void 0:o.title)??e.title,titleTemplate:((i=e.locales[n])==null?void 0:i.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:gi(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(f=e.locales[n])==null?void 0:f.themeConfig}})}function pi(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=Aa(e.title,s);return n===r.slice(3)?n:`${n}${r}`}function Aa(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function Sa(e,t){const[n,s]=t;if(n!=="meta")return!1;const r=Object.entries(s)[0];return r==null?!1:e.some(([o,i])=>o===n&&i[r[0]]===r[1])}function gi(e,t){return[...e.filter(n=>!Sa(t,n)),...t]}const La=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,Ra=/^[a-z]:/i;function $r(e){const t=Ra.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(La,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const Oa=new Set("3g2,3gp,7z,aac,abw,ai,aif,aifc,aiff,arc,asf,asr,asx,au,avi,avif,axs,azw,bin,bmp,bz,bz2,c,cda,cer,class,crl,crt,csh,css,csv,dcr,der,dll,doc,docx,eot,eps,epub,exe,gif,gtar,gz,gzip,ico,ics,ief,jar,jpe,jpeg,jpg,js,json,jsonld,latex,m3u,man,mdb,mht,mhtml,mid,midi,mjs,mov,mp2,mp3,mp4,mpa,mpe,mpeg,mpg,mpkg,mpp,odp,ods,odt,oga,ogv,ogx,opus,otf,p10,p12,p7b,p7c,p7m,p7r,p7s,pbm,pdf,pfx,php,png,ppt,pptx,ps,pub,qt,rar,roff,rtf,rtx,ser,sh,spc,svg,swf,t,tar,tcl,tex,texi,texinfo,tgz,tif,tiff,tr,ts,tsv,ttf,txt,ua,viv,vivo,vsd,wav,weba,webm,webp,woff,woff2,xbm,xhtml,xls,xlsx,xml,xul,zip".split(","));function Ma(e){const t=e.split(".").pop();return t==null||!Oa.has(t.toLowerCase())}const Pa=Symbol(),at=fo(ea);function wf(e){const t=se(()=>Ta(at.value,e.data.relativePath)),n=t.value.appearance,s=n==="force-dark"?me(!0):n?ba({storageKey:va,initialValue:()=>typeof n=="string"?n:"auto",...typeof n=="object"?n:{}}):me(!1);return{site:t,theme:se(()=>t.value.themeConfig),page:se(()=>e.data),frontmatter:se(()=>e.data.frontmatter),params:se(()=>e.data.params),lang:se(()=>t.value.lang),dir:se(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:se(()=>t.value.localeIndex||"root"),title:se(()=>pi(t.value,e.data)),description:se(()=>e.data.description||t.value.description),isDark:s}}function Ia(){const e=xt(Pa);if(!e)throw new Error("vitepress data not properly injected in app");return e}function Na(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function Hr(e){return ui.test(e)||!e.startsWith("/")?e:Na(at.value.base,e)}function Fa(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),Ce){const n="/";t=$r(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=`./${$r(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let hn=[];function vf(e){hn.push(e),Wt(()=>{hn=hn.filter(t=>t!==e)})}const $a=Symbol(),mi="http://a.com",Ha=()=>({path:"/",component:null,data:hi});function xf(e,t){const n=Ln(Ha()),s={route:n,go:r};async function r(l=Ce?location.href:"/"){var c,f;l=_s(l),await((c=s.onBeforeRouteChange)==null?void 0:c.call(s,l))!==!1&&(kr(l),await i(l),await((f=s.onAfterRouteChanged)==null?void 0:f.call(s,l)))}let o=null;async function i(l,c=0,f=!1){var p;if(await((p=s.onBeforePageLoad)==null?void 0:p.call(s,l))===!1)return;const u=new URL(l,mi),h=o=u.pathname;try{let w=await e(h);if(!w)throw new Error(`Page not found: ${h}`);if(o===h){o=null;const{default:R,__pageData:P}=w;if(!R)throw new Error(`Invalid route component: ${R}`);n.path=Ce?h:Hr(h),n.component=Pt(R),n.data=Pt(P),Ce&&Mn(()=>{let $=at.value.base+P.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!at.value.cleanUrls&&!$.endsWith("/")&&($+=".html"),$!==u.pathname&&(u.pathname=$,l=$+u.search+u.hash,history.replaceState(null,"",l)),u.hash&&!c){let W=null;try{W=document.getElementById(decodeURIComponent(u.hash).slice(1))}catch(Y){console.warn(Y)}if(W){jr(W,u.hash);return}}window.scrollTo(0,c)})}}catch(w){if(!/fetch|Page not found/.test(w.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(w),!f)try{const R=await fetch(at.value.base+"hashmap.json");window.__VP_HASH_MAP__=await R.json(),await i(l,c,!0);return}catch{}o===h&&(o=null,n.path=Ce?h:Hr(h),n.component=t?Pt(t):null,n.data=hi)}}return Ce&&(window.addEventListener("click",l=>{if(l.target.closest("button"))return;const f=l.target.closest("a");if(f&&!f.closest(".vp-raw")&&(f instanceof SVGElement||!f.download)){const{target:u}=f,{href:h,origin:p,pathname:w,hash:R,search:P}=new URL(f.href instanceof SVGAnimatedString?f.href.animVal:f.href,f.baseURI),$=window.location;!l.ctrlKey&&!l.shiftKey&&!l.altKey&&!l.metaKey&&!u&&p===$.origin&&Ma(w)&&(l.preventDefault(),w===$.pathname&&P===$.search?(R!==$.hash&&(history.pushState(null,"",R),window.dispatchEvent(new Event("hashchange"))),R?jr(f,R,f.classList.contains("header-anchor")):(kr(h),window.scrollTo(0,0))):r(h))}},{capture:!0}),window.addEventListener("popstate",async l=>{var c;await i(_s(location.href),l.state&&l.state.scrollPosition||0),(c=s.onAfterRouteChanged)==null||c.call(s,location.href)}),window.addEventListener("hashchange",l=>{l.preventDefault()})),s}function ja(){const e=xt($a);if(!e)throw new Error("useRouter() is called without provider.");return e}function yi(){return ja().route}function jr(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 r=function(){!n||Math.abs(f-window.scrollY)>window.innerHeight?window.scrollTo(0,f):window.scrollTo({left:0,top:f,behavior:"smooth"})},o=at.value.scrollOffset,i=0,l=24;if(typeof o=="object"&&"padding"in o&&(l=o.padding,o=o.selector),typeof o=="number")i=o;else if(typeof o=="string")i=Vr(o,l);else if(Array.isArray(o))for(const u of o){const h=Vr(u,l);if(h){i=h;break}}const c=parseInt(window.getComputedStyle(s).paddingTop,10),f=window.scrollY+s.getBoundingClientRect().top-i+c;requestAnimationFrame(r)}}function Vr(e,t){const n=document.querySelector(e);if(!n)return 0;const s=n.getBoundingClientRect().bottom;return s<0?0:s+t}function kr(e){Ce&&e!==_s(location.href)&&(history.replaceState({scrollPosition:window.scrollY},document.title),history.pushState(null,"",e))}function _s(e){const t=new URL(e,mi);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),at.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 Zn=()=>hn.forEach(e=>e()),Cf=Lo({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=yi(),{site:n}=Ia();return()=>hs(e.as,n.value.contentProps??{style:{position:"relative"}},[t.component?hs(t.component,{onVnodeMounted:Zn,onVnodeUpdated:Zn,onVnodeUnmounted:Zn}):"404 Page Not Found"])}}),Ef=Lo({setup(e,{slots:t}){const n=me(!1);return ht(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function Tf(){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 o=s.querySelector(".blocks");if(!o)return;const i=Array.from(o.children).find(f=>f.classList.contains("active"));if(!i)return;const l=o.children[r];if(!l||i===l)return;i.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 Af(){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,o=(s=n.nextElementSibling)==null?void 0:s.nextElementSibling;if(!r||!o)return;const i=/language-(shellscript|shell|bash|sh|zsh)/.test(r.className),l=[".vp-copy-ignore",".diff.remove"],c=o.cloneNode(!0);c.querySelectorAll(l.join(",")).forEach(u=>u.remove());let f=c.textContent||"";i&&(f=f.replace(/^ *(\$|>) /gm,"").trim()),Va(f).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const u=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,u)})}})}}async function Va(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 Sf(e,t){let n=[],s=!0;const r=o=>{if(s){s=!1;return}const i=o.map(Dr);n.forEach((l,c)=>{const f=i.findIndex(u=>u==null?void 0:u.isEqualNode(l??null));f!==-1?delete i[f]:(l==null||l.remove(),delete n[c])}),i.forEach(l=>l&&document.head.appendChild(l)),n=[...n,...i].filter(Boolean)};Co(()=>{const o=e.data,i=t.value,l=o&&o.description,c=o&&o.frontmatter.head||[],f=pi(i,o);f!==document.title&&(document.title=f);const u=l||i.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==u&&h.setAttribute("content",u):Dr(["meta",{name:"description",content:u}]),r(gi(i.head,Da(c)))})}function Dr([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 ka(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function Da(e){return e.filter(t=>!ka(t))}const es=new Set,_i=()=>document.createElement("link"),Ba=e=>{const t=_i();t.rel="prefetch",t.href=e,document.head.appendChild(t)},Ua=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let fn;const Ka=Ce&&(fn=_i())&&fn.relList&&fn.relList.supports&&fn.relList.supports("prefetch")?Ba:Ua;function Lf(){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(o=>{o.forEach(i=>{if(i.isIntersecting){const l=i.target;n.unobserve(l);const{pathname:c}=l;if(!es.has(c)){es.add(c);const f=Fa(c);f&&Ka(f)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(o=>{const{hostname:i,pathname:l}=new URL(o.href instanceof SVGAnimatedString?o.href.animVal:o.href,o.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||o.target!=="_blank"&&i===location.hostname&&(l!==location.pathname?n.observe(o):es.add(l))})})};ht(s);const r=yi();Ye(()=>r.path,s),Wt(()=>{n&&n.disconnect()})}export{Xa as $,Wt as A,Al as B,$l as C,Ya as D,Qa as E,pe as F,fo as G,vf as H,fe as I,ui as J,Ja as K,yi as L,pc as M,xt as N,mf as O,yf as P,Cs as Q,Mn as R,bf as S,Qo as T,of as U,Rn as V,Ln as W,Jl as X,Oo as Y,sf as Z,pf as _,zo as a,cf as a0,qa as a1,hs as a2,Yr as a3,$i as a4,qt as a5,af as a6,ja as a7,Za as a8,_f as a9,tf as aa,uf as ab,ff as ac,nf as ad,gf as ae,df as af,Sf as ag,$a as ah,wf as ai,Pa as aj,Cf as ak,Ef as al,at as am,hf as an,xf as ao,Fa as ap,Lf as aq,Af as ar,Tf as as,Wo as b,rf as c,Lo as d,lf as e,Ma as f,Hr as g,me as h,Ea as i,Ce as j,se as k,ht as l,Go as m,Es as n,Uo as o,ho as p,Ga as q,ef as r,za as s,Wa as t,Ia as u,Ca as v,_l as w,da as x,Ye as y,Co as z}; diff --git a/assets/chunks/giscus-aTimukGI.jKnbteiG.js b/assets/chunks/giscus-aTimukGI.jKnbteiG.js new file mode 100644 index 0000000..901e31a --- /dev/null +++ b/assets/chunks/giscus-aTimukGI.jKnbteiG.js @@ -0,0 +1,66 @@ +/** + * @license + * Copyright 2019 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const x=globalThis,j=x.ShadowRoot&&(x.ShadyCSS===void 0||x.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,W=Symbol(),q=new WeakMap;let ot=class{constructor(s,t,e){if(this._$cssResult$=!0,e!==W)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=s,this.t=t}get styleSheet(){let s=this.o;const t=this.t;if(j&&s===void 0){const e=t!==void 0&&t.length===1;e&&(s=q.get(t)),s===void 0&&((this.o=s=new CSSStyleSheet).replaceSync(this.cssText),e&&q.set(t,s))}return s}toString(){return this.cssText}};const pt=s=>new ot(typeof s=="string"?s:s+"",void 0,W),_t=(s,...t)=>{const e=s.length===1?s[0]:t.reduce((i,r,o)=>i+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+s[o+1],s[0]);return new ot(e,s,W)},gt=(s,t)=>{if(j)s.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const i=document.createElement("style"),r=x.litNonce;r!==void 0&&i.setAttribute("nonce",r),i.textContent=e.cssText,s.appendChild(i)}},K=j?s=>s:s=>s instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return pt(e)})(s):s;/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const{is:$t,defineProperty:ft,getOwnPropertyDescriptor:mt,getOwnPropertyNames:vt,getOwnPropertySymbols:At,getPrototypeOf:yt}=Object,E=globalThis,Y=E.trustedTypes,St=Y?Y.emptyScript:"",J=E.reactiveElementPolyfillSupport,U=(s,t)=>s,H={toAttribute(s,t){switch(t){case Boolean:s=s?St:null;break;case Object:case Array:s=s==null?s:JSON.stringify(s)}return s},fromAttribute(s,t){let e=s;switch(t){case Boolean:e=s!==null;break;case Number:e=s===null?null:Number(s);break;case Object:case Array:try{e=JSON.parse(s)}catch{e=null}}return e}},V=(s,t)=>!$t(s,t),F={attribute:!0,type:String,converter:H,reflect:!1,hasChanged:V};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),E.litPropertyMetadata??(E.litPropertyMetadata=new WeakMap);class S extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=F){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,e);r!==void 0&&ft(this.prototype,t,r)}}static getPropertyDescriptor(t,e,i){const{get:r,set:o}=mt(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get(){return r==null?void 0:r.call(this)},set(n){const a=r==null?void 0:r.call(this);o.call(this,n),this.requestUpdate(t,a,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??F}static _$Ei(){if(this.hasOwnProperty(U("elementProperties")))return;const t=yt(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(U("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(U("properties"))){const e=this.properties,i=[...vt(e),...At(e)];for(const r of i)this.createProperty(r,e[r])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[i,r]of e)this.elementProperties.set(i,r)}this._$Eh=new Map;for(const[e,i]of this.elementProperties){const r=this._$Eu(e,i);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const r of i)e.unshift(K(r))}else t!==void 0&&e.push(K(t));return e}static _$Eu(t,e){const i=e.attribute;return i===!1?void 0:typeof i=="string"?i:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$E_??(this._$E_=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$E_)==null||e.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const i of e.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return gt(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$E_)==null||t.forEach(e=>{var i;return(i=e.hostConnected)==null?void 0:i.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$E_)==null||t.forEach(e=>{var i;return(i=e.hostDisconnected)==null?void 0:i.call(e)})}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e){var i;const r=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,r);if(o!==void 0&&r.reflect===!0){const n=(((i=r.converter)==null?void 0:i.toAttribute)!==void 0?r.converter:H).toAttribute(e,r.type);this._$Em=t,n==null?this.removeAttribute(o):this.setAttribute(o,n),this._$Em=null}}_$AK(t,e){var i;const r=this.constructor,o=r._$Eh.get(t);if(o!==void 0&&this._$Em!==o){const n=r.getPropertyOptions(o),a=typeof n.converter=="function"?{fromAttribute:n.converter}:((i=n.converter)==null?void 0:i.fromAttribute)!==void 0?n.converter:H;this._$Em=o,this[o]=a.fromAttribute(e,n.type),this._$Em=null}}requestUpdate(t,e,i,r=!1,o){if(t!==void 0){if(i??(i=this.constructor.getPropertyOptions(t)),!(i.hasChanged??V)(r?o:this[t],e))return;this.C(t,e,i)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,e,i){this._$AL.has(t)||this._$AL.set(t,e),i.reflect===!0&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[o,n]of this._$Ep)this[o]=n;this._$Ep=void 0}const r=this.constructor.elementProperties;if(r.size>0)for(const[o,n]of r)n.wrapped!==!0||this._$AL.has(o)||this[o]===void 0||this.C(o,this[o],n)}let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),(t=this._$E_)==null||t.forEach(r=>{var o;return(o=r.hostUpdate)==null?void 0:o.call(r)}),this.update(i)):this._$ET()}catch(r){throw e=!1,this._$ET(),r}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;(e=this._$E_)==null||e.forEach(i=>{var r;return(r=i.hostUpdated)==null?void 0:r.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EO(e,this[e]))),this._$ET()}updated(t){}firstUpdated(t){}}S.elementStyles=[],S.shadowRootOptions={mode:"open"},S[U("elementProperties")]=new Map,S[U("finalized")]=new Map,J==null||J({ReactiveElement:S}),(E.reactiveElementVersions??(E.reactiveElementVersions=[])).push("2.0.2");/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const L=globalThis,k=L.trustedTypes,Q=k?k.createPolicy("lit-html",{createHTML:s=>s}):void 0,at="$lit$",m=`lit$${(Math.random()+"").slice(9)}$`,ht="?"+m,Et=`<${ht}>`,y=document,O=()=>y.createComment(""),R=s=>s===null||typeof s!="object"&&typeof s!="function",lt=Array.isArray,bt=s=>lt(s)||typeof(s==null?void 0:s[Symbol.iterator])=="function",z=`[ +\f\r]`,w=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Z=/-->/g,X=/>/g,v=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ +\f\r"'\`<>=]|("|')|))|$)`,"g"),tt=/'/g,et=/"/g,ct=/^(?:script|style|textarea|title)$/i,Ct=s=>(t,...e)=>({_$litType$:s,strings:t,values:e}),wt=Ct(1),b=Symbol.for("lit-noChange"),c=Symbol.for("lit-nothing"),st=new WeakMap,A=y.createTreeWalker(y,129);function dt(s,t){if(!Array.isArray(s)||!s.hasOwnProperty("raw"))throw Error("invalid template strings array");return Q!==void 0?Q.createHTML(t):t}const Ut=(s,t)=>{const e=s.length-1,i=[];let r,o=t===2?"":"",n=w;for(let a=0;a"?(n=r??w,l=-1):u[1]===void 0?l=-2:(l=n.lastIndex-u[2].length,g=u[1],n=u[3]===void 0?v:u[3]==='"'?et:tt):n===et||n===tt?n=v:n===Z||n===X?n=w:(n=v,r=void 0);const f=n===v&&s[a+1].startsWith("/>")?" ":"";o+=n===w?h+Et:l>=0?(i.push(g),h.slice(0,l)+at+h.slice(l)+m+f):h+m+(l===-2?a:f)}return[dt(s,o+(s[e]||"")+(t===2?"":"")),i]};class N{constructor({strings:t,_$litType$:e},i){let r;this.parts=[];let o=0,n=0;const a=t.length-1,h=this.parts,[g,u]=Ut(t,e);if(this.el=N.createElement(g,i),A.currentNode=this.el.content,e===2){const l=this.el.content.firstChild;l.replaceWith(...l.childNodes)}for(;(r=A.nextNode())!==null&&h.length0){r.textContent=k?k.emptyScript:"";for(let f=0;f<$;f++)r.append(l[f],O()),A.nextNode(),h.push({type:2,index:++o});r.append(l[$],O())}}}else if(r.nodeType===8)if(r.data===ht)h.push({type:2,index:o});else{let l=-1;for(;(l=r.data.indexOf(m,l+1))!==-1;)h.push({type:7,index:o}),l+=m.length-1}o++}}static createElement(t,e){const i=y.createElement("template");return i.innerHTML=t,i}}function C(s,t,e=s,i){var r,o;if(t===b)return t;let n=i!==void 0?(r=e._$Co)==null?void 0:r[i]:e._$Cl;const a=R(t)?void 0:t._$litDirective$;return(n==null?void 0:n.constructor)!==a&&((o=n==null?void 0:n._$AO)==null||o.call(n,!1),a===void 0?n=void 0:(n=new a(s),n._$AT(s,e,i)),i!==void 0?(e._$Co??(e._$Co=[]))[i]=n:e._$Cl=n),n!==void 0&&(t=C(s,n._$AS(s,t.values),n,i)),t}let Pt=class{constructor(s,t){this._$AV=[],this._$AN=void 0,this._$AD=s,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(s){const{el:{content:t},parts:e}=this._$AD,i=((s==null?void 0:s.creationScope)??y).importNode(t,!0);A.currentNode=i;let r=A.nextNode(),o=0,n=0,a=e[0];for(;a!==void 0;){if(o===a.index){let h;a.type===2?h=new M(r,r.nextSibling,this,s):a.type===1?h=new a.ctor(r,a.name,a.strings,this,s):a.type===6&&(h=new Nt(r,this,s)),this._$AV.push(h),a=e[++n]}o!==(a==null?void 0:a.index)&&(r=A.nextNode(),o++)}return A.currentNode=y,i}p(s){let t=0;for(const e of this._$AV)e!==void 0&&(e.strings!==void 0?(e._$AI(s,e,t),t+=e.strings.length-2):e._$AI(s[t])),t++}};class M{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,i,r){this.type=2,this._$AH=c,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=r,this._$Cv=(r==null?void 0:r.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=C(this,t,e),R(t)?t===c||t==null||t===""?(this._$AH!==c&&this._$AR(),this._$AH=c):t!==this._$AH&&t!==b&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):bt(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==c&&R(this._$AH)?this._$AA.nextSibling.data=t:this.$(y.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:r}=t,o=typeof r=="number"?this._$AC(t):(r.el===void 0&&(r.el=N.createElement(dt(r.h,r.h[0]),this.options)),r);if(((e=this._$AH)==null?void 0:e._$AD)===o)this._$AH.p(i);else{const n=new Pt(o,this),a=n.u(this.options);n.p(i),this.$(a),this._$AH=n}}_$AC(t){let e=st.get(t.strings);return e===void 0&&st.set(t.strings,e=new N(t)),e}T(t){lt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const o of t)r===e.length?e.push(i=new M(this.k(O()),this.k(O()),this,this.options)):i=e[r],i._$AI(o),r++;r2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=c}_$AI(t,e=this,i,r){const o=this.strings;let n=!1;if(o===void 0)t=C(this,t,e,0),n=!R(t)||t!==this._$AH&&t!==b,n&&(this._$AH=t);else{const a=t;let h,g;for(t=o[0],h=0;h{const i=(e==null?void 0:e.renderBefore)??t;let r=i._$litPart$;if(r===void 0){const o=(e==null?void 0:e.renderBefore)??null;i._$litPart$=r=new M(t.insertBefore(O(),o),o,void 0,e??{})}return r._$AI(s),r};/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */let P=class extends S{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var s;const t=super.createRenderRoot();return(s=this.renderOptions).renderBefore??(s.renderBefore=t.firstChild),t}update(s){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(s),this._$Do=Mt(t,this.renderRoot,this.renderOptions)}connectedCallback(){var s;super.connectedCallback(),(s=this._$Do)==null||s.setConnected(!0)}disconnectedCallback(){var s;super.disconnectedCallback(),(s=this._$Do)==null||s.setConnected(!1)}render(){return b}};var rt;P._$litElement$=!0,P.finalized=!0,(rt=globalThis.litElementHydrateSupport)==null||rt.call(globalThis,{LitElement:P});const nt=globalThis.litElementPolyfillSupport;nt==null||nt({LitElement:P});(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.0.2");/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const It=s=>(t,e)=>{e!==void 0?e.addInitializer(()=>{customElements.define(s,t)}):customElements.define(s,t)};/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const xt={attribute:!0,type:String,converter:H,reflect:!1,hasChanged:V},Ht=(s=xt,t,e)=>{const{kind:i,metadata:r}=e;let o=globalThis.litPropertyMetadata.get(r);if(o===void 0&&globalThis.litPropertyMetadata.set(r,o=new Map),o.set(e.name,s),i==="accessor"){const{name:n}=e;return{set(a){const h=t.get.call(this);t.set.call(this,a),this.requestUpdate(n,h,s)},init(a){return a!==void 0&&this.C(n,void 0,s),a}}}if(i==="setter"){const{name:n}=e;return function(a){const h=this[n];t.call(this,a),this.requestUpdate(n,h,s)}}throw Error("Unsupported decorator location: "+i)};function _(s){return(t,e)=>typeof e=="object"?Ht(s,t,e):((i,r,o)=>{const n=r.hasOwnProperty(o);return r.constructor.createProperty(o,n?{...i,wrapped:!0}:i),n?Object.getOwnPropertyDescriptor(r,o):void 0})(s,t,e)}/** + * @license + * Copyright 2020 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const Lt=s=>s.strings===void 0;/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const kt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Gt=s=>(...t)=>({_$litDirective$:s,values:t});let Dt=class{constructor(s){}get _$AU(){return this._$AM._$AU}_$AT(s,t,e){this._$Ct=s,this._$AM=t,this._$Ci=e}_$AS(s,t){return this.update(s,t)}update(s,t){return this.render(...t)}};/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const T=(s,t)=>{var e;const i=s._$AN;if(i===void 0)return!1;for(const r of i)(e=r._$AO)==null||e.call(r,t,!1),T(r,t);return!0},G=s=>{let t,e;do{if((t=s._$AM)===void 0)break;e=t._$AN,e.delete(s),s=t}while((e==null?void 0:e.size)===0)},ut=s=>{for(let t;t=s._$AM;s=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(s))break;e.add(s),jt(t)}};function zt(s){this._$AN!==void 0?(G(this),this._$AM=s,ut(this)):this._$AM=s}function Bt(s,t=!1,e=0){const i=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(i))for(let o=e;o{s.type==kt.CHILD&&(s._$AP??(s._$AP=Bt),s._$AQ??(s._$AQ=zt))};class Wt extends Dt{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,i){super._$AT(t,e,i),ut(this),this.isConnected=t._$AU}_$AO(t,e=!0){var i,r;t!==this.isConnected&&(this.isConnected=t,t?(i=this.reconnected)==null||i.call(this):(r=this.disconnected)==null||r.call(this)),e&&(T(this,t),G(this))}setValue(t){if(Lt(this._$Ct))this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}/** + * @license + * Copyright 2020 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const Vt=()=>new qt;class qt{}const B=new WeakMap,Kt=Gt(class extends Wt{render(s){return c}update(s,[t]){var e;const i=t!==this.G;return i&&this.G!==void 0&&this.ot(void 0),(i||this.rt!==this.lt)&&(this.G=t,this.ct=(e=s.options)==null?void 0:e.host,this.ot(this.lt=s.element)),c}ot(s){if(typeof this.G=="function"){const t=this.ct??globalThis;let e=B.get(t);e===void 0&&(e=new WeakMap,B.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ct,void 0),e.set(this.G,s),s!==void 0&&this.G.call(this.ct,s)}else this.G.value=s}get rt(){var s,t;return typeof this.G=="function"?(s=B.get(this.ct??globalThis))==null?void 0:s.get(this.G):(t=this.G)==null?void 0:t.value}disconnected(){this.rt===this.lt&&this.ot(void 0)}reconnected(){this.ot(this.lt)}});var Yt=Object.defineProperty,Jt=Object.getOwnPropertyDescriptor,p=(s,t,e,i)=>{for(var r=i>1?void 0:i?Jt(t,e):t,o=s.length-1,n;o>=0;o--)(n=s[o])&&(r=(i?n(t,e,r):n(r))||r);return i&&r&&Yt(t,e,r),r};function Ft(s){return customElements.get(s)?t=>t:It(s)}let d=class extends P{constructor(){super(),this.GISCUS_SESSION_KEY="giscus-session",this.GISCUS_DEFAULT_HOST="https://giscus.app",this.ERROR_SUGGESTION="Please consider reporting this error at https://github.com/giscus/giscus/issues/new.",this.__session="",this._iframeRef=Vt(),this.messageEventHandler=this.handleMessageEvent.bind(this),this.hasLoaded=!1,this.host=this.GISCUS_DEFAULT_HOST,this.strict="0",this.reactionsEnabled="1",this.emitMetadata="0",this.inputPosition="bottom",this.theme="light",this.lang="en",this.loading="eager",this.setupSession(),window.addEventListener("message",this.messageEventHandler)}get iframeRef(){var s;return(s=this._iframeRef)==null?void 0:s.value}get _host(){try{return new URL(this.host),this.host}catch{return this.GISCUS_DEFAULT_HOST}}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("message",this.messageEventHandler)}_formatError(s){return`[giscus] An error occurred. Error message: "${s}".`}setupSession(){const s=location.href,t=new URL(s),e=localStorage.getItem(this.GISCUS_SESSION_KEY),i=t.searchParams.get("giscus")??"";if(this.__session="",i){localStorage.setItem(this.GISCUS_SESSION_KEY,JSON.stringify(i)),this.__session=i,t.searchParams.delete("giscus"),t.hash="",history.replaceState(void 0,document.title,t.toString());return}if(e)try{this.__session=JSON.parse(e)}catch(r){localStorage.removeItem(this.GISCUS_SESSION_KEY),console.warn(`${this._formatError(r==null?void 0:r.message)} Session has been cleared.`)}}signOut(){localStorage.removeItem(this.GISCUS_SESSION_KEY),this.__session="",this.update(new Map)}handleMessageEvent(s){if(s.origin!==this._host)return;const{data:t}=s;if(!(typeof t=="object"&&t.giscus))return;if(this.iframeRef&&t.giscus.resizeHeight&&(this.iframeRef.style.height=`${t.giscus.resizeHeight}px`),t.giscus.signOut){console.info("[giscus] User has logged out. Session has been cleared."),this.signOut();return}if(!t.giscus.error)return;const e=t.giscus.error;if(e.includes("Bad credentials")||e.includes("Invalid state value")||e.includes("State has expired")){if(localStorage.getItem(this.GISCUS_SESSION_KEY)!==null){console.warn(`${this._formatError(e)} Session has been cleared.`),this.signOut();return}console.error(`${this._formatError(e)} No session is stored initially. ${this.ERROR_SUGGESTION}`)}if(e.includes("Discussion not found")){console.warn(`[giscus] ${e}. A new discussion will be created if a comment/reaction is submitted.`);return}console.error(`${this._formatError(e)} ${this.ERROR_SUGGESTION}`)}sendMessage(s){var t;!((t=this.iframeRef)!=null&&t.contentWindow)||!this.hasLoaded||this.iframeRef.contentWindow.postMessage({giscus:s},this._host)}updateConfig(){const s={setConfig:{repo:this.repo,repoId:this.repoId,category:this.category,categoryId:this.categoryId,term:this.getTerm(),number:+this.getNumber(),strict:this.strict==="1",reactionsEnabled:this.reactionsEnabled==="1",emitMetadata:this.emitMetadata==="1",inputPosition:this.inputPosition,theme:this.theme,lang:this.lang}};this.sendMessage(s)}firstUpdated(){var s;(s=this.iframeRef)==null||s.addEventListener("load",()=>{var t;(t=this.iframeRef)==null||t.classList.remove("loading"),this.hasLoaded=!0,this.updateConfig()})}requestUpdate(s,t,e){if(!this.hasUpdated||s==="host"){super.requestUpdate(s,t,e);return}this.updateConfig()}getMetaContent(s,t=!1){const e=t?`meta[property='og:${s}'],`:"",i=document.querySelector(e+`meta[name='${s}']`);return i?i.content:""}_getCleanedUrl(){const s=new URL(location.href);return s.searchParams.delete("giscus"),s.hash="",s}getTerm(){switch(this.mapping){case"url":return this._getCleanedUrl().toString();case"title":return document.title;case"og:title":return this.getMetaContent("title",!0);case"specific":return this.term??"";case"number":return"";case"pathname":default:return location.pathname.length<2?"index":location.pathname.substring(1).replace(/\.\w+$/,"")}}getNumber(){return this.mapping==="number"?this.term??"":""}getIframeSrc(){const s=this._getCleanedUrl().toString(),t=`${s}${this.id?"#"+this.id:""}`,e=this.getMetaContent("description",!0),i=this.getMetaContent("giscus:backlink")||s,r={origin:t,session:this.__session,repo:this.repo,repoId:this.repoId??"",category:this.category??"",categoryId:this.categoryId??"",term:this.getTerm(),number:this.getNumber(),strict:this.strict,reactionsEnabled:this.reactionsEnabled,emitMetadata:this.emitMetadata,inputPosition:this.inputPosition,theme:this.theme,description:e,backLink:i},o=this._host,n=this.lang?`/${this.lang}`:"",a=new URLSearchParams(r);return`${o}${n}/widget?${a.toString()}`}render(){return wt` + + `}};d.styles=_t` + :host, + iframe { + width: 100%; + border: none; + min-height: 150px; + color-scheme: light dark; + } + + iframe.loading { + opacity: 0; + } + `;p([_({reflect:!0})],d.prototype,"host",2);p([_({reflect:!0})],d.prototype,"repo",2);p([_({reflect:!0})],d.prototype,"repoId",2);p([_({reflect:!0})],d.prototype,"category",2);p([_({reflect:!0})],d.prototype,"categoryId",2);p([_({reflect:!0})],d.prototype,"mapping",2);p([_({reflect:!0})],d.prototype,"term",2);p([_({reflect:!0})],d.prototype,"strict",2);p([_({reflect:!0})],d.prototype,"reactionsEnabled",2);p([_({reflect:!0})],d.prototype,"emitMetadata",2);p([_({reflect:!0})],d.prototype,"inputPosition",2);p([_({reflect:!0})],d.prototype,"theme",2);p([_({reflect:!0})],d.prototype,"lang",2);p([_({reflect:!0})],d.prototype,"loading",2);d=p([Ft("giscus-widget")],d);export{d as GiscusWidget}; diff --git a/assets/chunks/theme.8l1eSkSt.js b/assets/chunks/theme.8l1eSkSt.js new file mode 100644 index 0000000..5c20abf --- /dev/null +++ b/assets/chunks/theme.8l1eSkSt.js @@ -0,0 +1,99 @@ +import{d as y,o as c,c as h,r as f,a as te,t as E,n as F,b as I,w as g,e as M,T as De,_ as P,u as Re,i as Nn,f as Tn,g as Ge,h as A,j as Ce,k as w,l as oe,m as d,p as u,q as ae,s as re,v as _e,x as Xe,y as W,z as be,A as dt,B as Wt,C as Hn,D as ye,F as D,E as J,G as qt,H as je,I as $,J as Kt,K as ge,L as Se,M as He,N as Ue,O as On,P as Bn,Q as Rn,R as ie,S as Qt,U as Zt,V as zn,W as Ie,X as ht,Y as pt,Z as Fn,$ as Jt,a0 as Yt,a1 as Dn,a2 as Ae,a3 as Xt,a4 as en,a5 as Gn,a6 as jn,a7 as Un,a8 as Wn,a9 as tn,aa as qn,ab as Kn,ac as Qn,ad as Zn,ae as Jn,af as Yn}from"./framework.zvL6SVfk.js";const Xn=y({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(n){return(e,t)=>(c(),h("span",{class:F(["VPBadge",e.type])},[f(e.$slots,"default",{},()=>[te(E(e.text),1)])],2))}}),es={key:0,class:"VPBackdrop"},ts=y({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(n){return(e,t)=>(c(),I(De,{name:"fade"},{default:g(()=>[e.show?(c(),h("div",es)):M("",!0)]),_:1}))}}),ns=P(ts,[["__scopeId","data-v-c79a1216"]]),N=Re;function ss(n,e){let t,s=!1;return()=>{t&&clearTimeout(t),s?t=setTimeout(n,e):(n(),(s=!0)&&setTimeout(()=>s=!1,e))}}function et(n){return/^\//.test(n)?n:`/${n}`}function vt(n){const{pathname:e,search:t,hash:s,protocol:o}=new URL(n,"http://a.com");if(Nn(n)||n.startsWith("#")||!o.startsWith("http")||!Tn(e))return n;const{site:a}=N(),r=e.endsWith("/")||e.endsWith(".html")?n:n.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,a.value.cleanUrls?"":".html")}${t}${s}`);return Ge(r)}const ft=A(Ce?location.hash:"");Ce&&window.addEventListener("hashchange",()=>{ft.value=location.hash});function xe({removeCurrent:n=!0,correspondingLink:e=!1}={}){const{site:t,localeIndex:s,page:o,theme:a}=N(),r=w(()=>{var i,p;return{label:(i=t.value.locales[s.value])==null?void 0:i.label,link:((p=t.value.locales[s.value])==null?void 0:p.link)||(s.value==="root"?"/":`/${s.value}/`)}});return{localeLinks:w(()=>Object.entries(t.value.locales).flatMap(([i,p])=>n&&r.value.label===p.label?[]:{text:p.label,link:os(p.link||(i==="root"?"/":`/${i}/`),a.value.i18nRouting!==!1&&e,o.value.relativePath.slice(r.value.link.length-1),!t.value.cleanUrls)+ft.value})),currentLang:r}}function os(n,e,t,s){return e?n.replace(/\/$/,"")+et(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,s?".html":"")):n}const as=n=>(ae("data-v-f87ff6e4"),n=n(),re(),n),rs={class:"NotFound"},is={class:"code"},ls={class:"title"},cs=as(()=>d("div",{class:"divider"},null,-1)),us={class:"quote"},ds={class:"action"},hs=["href","aria-label"],ps=y({__name:"NotFound",setup(n){const{site:e,theme:t}=N(),{localeLinks:s}=xe({removeCurrent:!1}),o=A("/");return oe(()=>{var r;const a=window.location.pathname.replace(e.value.base,"").replace(/(^.*?\/).*$/,"/$1");s.value.length&&(o.value=((r=s.value.find(({link:l})=>l.startsWith(a)))==null?void 0:r.link)||s.value[0].link)}),(a,r)=>{var l,i,p,v,k;return c(),h("div",rs,[d("p",is,E(((l=u(t).notFound)==null?void 0:l.code)??"404"),1),d("h1",ls,E(((i=u(t).notFound)==null?void 0:i.title)??"PAGE NOT FOUND"),1),cs,d("blockquote",us,E(((p=u(t).notFound)==null?void 0:p.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),d("div",ds,[d("a",{class:"link",href:u(Ge)(o.value),"aria-label":((v=u(t).notFound)==null?void 0:v.linkLabel)??"go to home"},E(((k=u(t).notFound)==null?void 0:k.linkText)??"Take me home"),9,hs)])])}}}),vs=P(ps,[["__scopeId","data-v-f87ff6e4"]]);function nn(n,e){if(Array.isArray(n))return Oe(n);if(n==null)return[];e=et(e);const t=Object.keys(n).sort((o,a)=>a.split("/").length-o.split("/").length).find(o=>e.startsWith(et(o))),s=t?n[t]:[];return Array.isArray(s)?Oe(s):Oe(s.items,s.base)}function fs(n){const e=[];let t=0;for(const s in n){const o=n[s];if(o.items){t=e.push(o);continue}e[t]||e.push({items:[]}),e[t].items.push(o)}return e}function ms(n){const e=[];function t(s){for(const o of s)o.text&&o.link&&e.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&t(o.items)}return t(n),e}function tt(n,e){return Array.isArray(e)?e.some(t=>tt(n,t)):_e(n,e.link)?!0:e.items?tt(n,e.items):!1}function Oe(n,e){return[...n].map(t=>{const s={...t},o=s.base||e;return o&&s.link&&(s.link=o+s.link),s.items&&(s.items=Oe(s.items,o)),s})}function he(){const{frontmatter:n,page:e,theme:t}=N(),s=Xe("(min-width: 960px)"),o=A(!1),a=w(()=>{const m=t.value.sidebar,_=e.value.relativePath;return m?nn(m,_):[]}),r=A(a.value);W(a,(m,_)=>{JSON.stringify(m)!==JSON.stringify(_)&&(r.value=a.value)});const l=w(()=>n.value.sidebar!==!1&&r.value.length>0&&n.value.layout!=="home"),i=w(()=>p?n.value.aside==null?t.value.aside==="left":n.value.aside==="left":!1),p=w(()=>n.value.layout==="home"?!1:n.value.aside!=null?!!n.value.aside:t.value.aside!==!1),v=w(()=>l.value&&s.value),k=w(()=>l.value?fs(r.value):[]);function b(){o.value=!0}function L(){o.value=!1}function V(){o.value?L():b()}return{isOpen:o,sidebar:r,sidebarGroups:k,hasSidebar:l,hasAside:p,leftAside:i,isSidebarEnabled:v,open:b,close:L,toggle:V}}function gs(n,e){let t;be(()=>{t=n.value?document.activeElement:void 0}),oe(()=>{window.addEventListener("keyup",s)}),dt(()=>{window.removeEventListener("keyup",s)});function s(o){o.key==="Escape"&&n.value&&(e(),t==null||t.focus())}}function _s(n){const{page:e}=N(),t=A(!1),s=w(()=>n.value.collapsed!=null),o=w(()=>!!n.value.link),a=A(!1),r=()=>{a.value=_e(e.value.relativePath,n.value.link)};W([e,n,ft],r),oe(r);const l=w(()=>a.value?!0:n.value.items?tt(e.value.relativePath,n.value.items):!1),i=w(()=>!!(n.value.items&&n.value.items.length));be(()=>{t.value=!!(s.value&&n.value.collapsed)}),Wt(()=>{(a.value||l.value)&&(t.value=!1)});function p(){s.value&&(t.value=!t.value)}return{collapsed:t,collapsible:s,isLink:o,isActiveLink:a,hasActiveLink:l,hasChildren:i,toggle:p}}function ks(){const{hasSidebar:n}=he(),e=Xe("(min-width: 960px)"),t=Xe("(min-width: 1280px)");return{isAsideEnabled:w(()=>!t.value&&!e.value?!1:n.value?t.value:e.value)}}const nt=[];function sn(n){return typeof n.outline=="object"&&!Array.isArray(n.outline)&&n.outline.label||n.outlineTitle||"On this page"}function mt(n){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const s=Number(t.tagName[1]);return{element:t,title:bs(t),link:"#"+t.id,level:s}});return ys(e,n)}function bs(n){let e="";for(const t of n.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor")||t.classList.contains("ignore-header"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function ys(n,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[s,o]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;n=n.filter(r=>r.level>=s&&r.level<=o),nt.length=0;for(const{element:r,link:l}of n)nt.push({element:r,link:l});const a=[];e:for(let r=0;r=0;i--){const p=n[i];if(p.level{requestAnimationFrame(a),window.addEventListener("scroll",s)}),Hn(()=>{r(location.hash)}),dt(()=>{window.removeEventListener("scroll",s)});function a(){if(!t.value)return;const l=(()=>{var m;const V=(m=document.querySelector("#VPContent .VPDoc"))==null?void 0:m.firstElementChild;return V?Mt(V):78})(),i=window.scrollY,p=window.innerHeight,v=document.body.offsetHeight,k=Math.abs(i+p-v)<1,b=nt.map(({element:V,link:m})=>({link:m,top:Mt(V)})).filter(({top:V})=>!Number.isNaN(V)).sort((V,m)=>V.top-m.top);if(!b.length){r(null);return}if(i<1){r(null);return}if(k){r(b[b.length-1].link);return}let L=null;for(const{link:V,top:m}of b){if(m>i+l)break;L=V}r(L)}function r(l){o&&o.classList.remove("active"),l==null?o=null:o=n.value.querySelector(`a[href="${decodeURIComponent(l)}"]`);const i=o;i?(i.classList.add("active"),e.value.style.top=i.offsetTop+39+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function Mt(n){let e=0;for(;n!==document.body;){if(n===null)return NaN;e+=n.offsetTop,n=n.offsetParent}return e}const ws=["href","title"],Ms=y({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(n){function e({target:t}){const s=t.href.split("#")[1],o=document.getElementById(decodeURIComponent(s));o==null||o.focus({preventScroll:!0})}return(t,s)=>{const o=ye("VPDocOutlineItem",!0);return c(),h("ul",{class:F(["VPDocOutlineItem",t.root?"root":"nested"])},[(c(!0),h(D,null,J(t.headers,({children:a,link:r,title:l})=>(c(),h("li",null,[d("a",{class:"outline-link",href:r,onClick:e,title:l},E(l),9,ws),a!=null&&a.length?(c(),I(o,{key:0,headers:a},null,8,["headers"])):M("",!0)]))),256))],2)}}}),on=P(Ms,[["__scopeId","data-v-b933a997"]]),Ls=n=>(ae("data-v-935f8a84"),n=n(),re(),n),Cs={class:"content"},Ss={class:"outline-title",role:"heading","aria-level":"2"},Ps={"aria-labelledby":"doc-outline-aria-label"},Vs=Ls(()=>d("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),Is=y({__name:"VPDocAsideOutline",setup(n){const{frontmatter:e,theme:t}=N(),s=qt([]);je(()=>{s.value=mt(e.value.outline??t.value.outline)});const o=A(),a=A();return $s(o,a),(r,l)=>(c(),h("div",{class:F(["VPDocAsideOutline",{"has-outline":s.value.length>0}]),ref_key:"container",ref:o,role:"navigation"},[d("div",Cs,[d("div",{class:"outline-marker",ref_key:"marker",ref:a},null,512),d("div",Ss,E(u(sn)(u(t))),1),d("nav",Ps,[Vs,$(on,{headers:s.value,root:!0},null,8,["headers"])])])],2))}}),As=P(Is,[["__scopeId","data-v-935f8a84"]]),xs={class:"VPDocAsideCarbonAds"},Es=y({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(n){const e=()=>null;return(t,s)=>(c(),h("div",xs,[$(u(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),Ns=n=>(ae("data-v-3f215769"),n=n(),re(),n),Ts={class:"VPDocAside"},Hs=Ns(()=>d("div",{class:"spacer"},null,-1)),Os=y({__name:"VPDocAside",setup(n){const{theme:e}=N();return(t,s)=>(c(),h("div",Ts,[f(t.$slots,"aside-top",{},void 0,!0),f(t.$slots,"aside-outline-before",{},void 0,!0),$(As),f(t.$slots,"aside-outline-after",{},void 0,!0),Hs,f(t.$slots,"aside-ads-before",{},void 0,!0),u(e).carbonAds?(c(),I(Es,{key:0,"carbon-ads":u(e).carbonAds},null,8,["carbon-ads"])):M("",!0),f(t.$slots,"aside-ads-after",{},void 0,!0),f(t.$slots,"aside-bottom",{},void 0,!0)]))}}),Bs=P(Os,[["__scopeId","data-v-3f215769"]]);function Rs(){const{theme:n,page:e}=N();return w(()=>{const{text:t="Edit this page",pattern:s=""}=n.value.editLink||{};let o;return typeof s=="function"?o=s(e.value):o=s.replace(/:path/g,e.value.filePath),{url:o,text:t}})}function zs(){const{page:n,theme:e,frontmatter:t}=N();return w(()=>{var i,p,v,k,b,L,V,m;const s=nn(e.value.sidebar,n.value.relativePath),o=ms(s),a=o.findIndex(_=>_e(n.value.relativePath,_.link)),r=((i=e.value.docFooter)==null?void 0:i.prev)===!1&&!t.value.prev||t.value.prev===!1,l=((p=e.value.docFooter)==null?void 0:p.next)===!1&&!t.value.next||t.value.next===!1;return{prev:r?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((v=o[a-1])==null?void 0:v.docFooterText)??((k=o[a-1])==null?void 0:k.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((b=o[a-1])==null?void 0:b.link)},next:l?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((L=o[a+1])==null?void 0:L.docFooterText)??((V=o[a+1])==null?void 0:V.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((m=o[a+1])==null?void 0:m.link)}}})}const Fs={},Ds={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Gs=d("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),js=d("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),Us=[Gs,js];function Ws(n,e){return c(),h("svg",Ds,Us)}const qs=P(Fs,[["render",Ws]]),ce=y({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(n){const e=n,t=w(()=>e.tag??(e.href?"a":"span")),s=w(()=>e.href&&Kt.test(e.href));return(o,a)=>(c(),I(ge(t.value),{class:F(["VPLink",{link:o.href,"vp-external-link-icon":s.value,"no-icon":o.noIcon}]),href:o.href?u(vt)(o.href):void 0,target:o.target??(s.value?"_blank":void 0),rel:o.rel??(s.value?"noreferrer":void 0)},{default:g(()=>[f(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Ks={class:"VPLastUpdated"},Qs=["datetime"],Zs=y({__name:"VPDocFooterLastUpdated",setup(n){const{theme:e,page:t,frontmatter:s,lang:o}=N(),a=w(()=>new Date(s.value.lastUpdated??t.value.lastUpdated)),r=w(()=>a.value.toISOString()),l=A("");return oe(()=>{be(()=>{var i,p,v;l.value=new Intl.DateTimeFormat((p=(i=e.value.lastUpdated)==null?void 0:i.formatOptions)!=null&&p.forceLocale?o.value:void 0,((v=e.value.lastUpdated)==null?void 0:v.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(a.value)})}),(i,p)=>{var v;return c(),h("p",Ks,[te(E(((v=u(e).lastUpdated)==null?void 0:v.text)||u(e).lastUpdatedText||"Last updated")+": ",1),d("time",{datetime:r.value},E(l.value),9,Qs)])}}}),Js=P(Zs,[["__scopeId","data-v-7e05ebdb"]]),Ys={key:0,class:"VPDocFooter"},Xs={key:0,class:"edit-info"},eo={key:0,class:"edit-link"},to={key:1,class:"last-updated"},no={key:1,class:"prev-next"},so={class:"pager"},oo=["innerHTML"],ao=["innerHTML"],ro={class:"pager"},io=["innerHTML"],lo=["innerHTML"],co=y({__name:"VPDocFooter",setup(n){const{theme:e,page:t,frontmatter:s}=N(),o=Rs(),a=zs(),r=w(()=>e.value.editLink&&s.value.editLink!==!1),l=w(()=>t.value.lastUpdated&&s.value.lastUpdated!==!1),i=w(()=>r.value||l.value||a.value.prev||a.value.next);return(p,v)=>{var k,b,L,V;return i.value?(c(),h("footer",Ys,[f(p.$slots,"doc-footer-before",{},void 0,!0),r.value||l.value?(c(),h("div",Xs,[r.value?(c(),h("div",eo,[$(ce,{class:"edit-link-button",href:u(o).url,"no-icon":!0},{default:g(()=>[$(qs,{class:"edit-link-icon","aria-label":"edit icon"}),te(" "+E(u(o).text),1)]),_:1},8,["href"])])):M("",!0),l.value?(c(),h("div",to,[$(Js)])):M("",!0)])):M("",!0),(k=u(a).prev)!=null&&k.link||(b=u(a).next)!=null&&b.link?(c(),h("nav",no,[d("div",so,[(L=u(a).prev)!=null&&L.link?(c(),I(ce,{key:0,class:"pager-link prev",href:u(a).prev.link},{default:g(()=>{var m;return[d("span",{class:"desc",innerHTML:((m=u(e).docFooter)==null?void 0:m.prev)||"Previous page"},null,8,oo),d("span",{class:"title",innerHTML:u(a).prev.text},null,8,ao)]}),_:1},8,["href"])):M("",!0)]),d("div",ro,[(V=u(a).next)!=null&&V.link?(c(),I(ce,{key:0,class:"pager-link next",href:u(a).next.link},{default:g(()=>{var m;return[d("span",{class:"desc",innerHTML:((m=u(e).docFooter)==null?void 0:m.next)||"Next page"},null,8,io),d("span",{class:"title",innerHTML:u(a).next.text},null,8,lo)]}),_:1},8,["href"])):M("",!0)])])):M("",!0)])):M("",!0)}}}),uo=P(co,[["__scopeId","data-v-48f9bb55"]]),ho=n=>(ae("data-v-ad5bd23b"),n=n(),re(),n),po={class:"container"},vo=ho(()=>d("div",{class:"aside-curtain"},null,-1)),fo={class:"aside-container"},mo={class:"aside-content"},go={class:"content"},_o={class:"content-container"},ko={class:"main"},bo=y({__name:"VPDoc",setup(n){const{theme:e}=N(),t=Se(),{hasSidebar:s,hasAside:o,leftAside:a}=he(),r=w(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(l,i)=>{const p=ye("Content");return c(),h("div",{class:F(["VPDoc",{"has-sidebar":u(s),"has-aside":u(o)}])},[f(l.$slots,"doc-top",{},void 0,!0),d("div",po,[u(o)?(c(),h("div",{key:0,class:F(["aside",{"left-aside":u(a)}])},[vo,d("div",fo,[d("div",mo,[$(Bs,null,{"aside-top":g(()=>[f(l.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":g(()=>[f(l.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":g(()=>[f(l.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":g(()=>[f(l.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":g(()=>[f(l.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":g(()=>[f(l.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):M("",!0),d("div",go,[d("div",_o,[f(l.$slots,"doc-before",{},void 0,!0),d("main",ko,[$(p,{class:F(["vp-doc",[r.value,u(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),$(uo,null,{"doc-footer-before":g(()=>[f(l.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),f(l.$slots,"doc-after",{},void 0,!0)])])]),f(l.$slots,"doc-bottom",{},void 0,!0)],2)}}}),yo=P(bo,[["__scopeId","data-v-ad5bd23b"]]),$o=y({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{}},setup(n){const e=n,t=w(()=>e.href&&Kt.test(e.href)),s=w(()=>e.tag||e.href?"a":"button");return(o,a)=>(c(),I(ge(s.value),{class:F(["VPButton",[o.size,o.theme]]),href:o.href?u(vt)(o.href):void 0,target:t.value?"_blank":void 0,rel:t.value?"noreferrer":void 0},{default:g(()=>[te(E(o.text),1)]),_:1},8,["class","href","target","rel"]))}}),wo=P($o,[["__scopeId","data-v-c1c5efc1"]]),Mo=["src","alt"],Lo=y({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(n){return(e,t)=>{const s=ye("VPImage",!0);return e.image?(c(),h(D,{key:0},[typeof e.image=="string"||"src"in e.image?(c(),h("img",He({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:u(Ge)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,Mo)):(c(),h(D,{key:1},[$(s,He({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),$(s,He({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):M("",!0)}}}),ze=P(Lo,[["__scopeId","data-v-8426fc1a"]]),Co=n=>(ae("data-v-da5d1713"),n=n(),re(),n),So={class:"container"},Po={class:"main"},Vo={key:0,class:"name"},Io=["innerHTML"],Ao=["innerHTML"],xo=["innerHTML"],Eo={key:0,class:"actions"},No={key:0,class:"image"},To={class:"image-container"},Ho=Co(()=>d("div",{class:"image-bg"},null,-1)),Oo=y({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(n){const e=Ue("hero-image-slot-exists");return(t,s)=>(c(),h("div",{class:F(["VPHero",{"has-image":t.image||u(e)}])},[d("div",So,[d("div",Po,[f(t.$slots,"home-hero-info",{},()=>[t.name?(c(),h("h1",Vo,[d("span",{innerHTML:t.name,class:"clip"},null,8,Io)])):M("",!0),t.text?(c(),h("p",{key:1,innerHTML:t.text,class:"text"},null,8,Ao)):M("",!0),t.tagline?(c(),h("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,xo)):M("",!0)],!0),t.actions?(c(),h("div",Eo,[(c(!0),h(D,null,J(t.actions,o=>(c(),h("div",{key:o.link,class:"action"},[$(wo,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link},null,8,["theme","text","href"])]))),128))])):M("",!0)]),t.image||u(e)?(c(),h("div",No,[d("div",To,[Ho,f(t.$slots,"home-hero-image",{},()=>[t.image?(c(),I(ze,{key:0,class:"image-src",image:t.image},null,8,["image"])):M("",!0)],!0)])])):M("",!0)])],2))}}),Bo=P(Oo,[["__scopeId","data-v-da5d1713"]]),Ro=y({__name:"VPHomeHero",setup(n){const{frontmatter:e}=N();return(t,s)=>u(e).hero?(c(),I(Bo,{key:0,class:"VPHomeHero",name:u(e).hero.name,text:u(e).hero.text,tagline:u(e).hero.tagline,image:u(e).hero.image,actions:u(e).hero.actions},{"home-hero-info":g(()=>[f(t.$slots,"home-hero-info")]),"home-hero-image":g(()=>[f(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):M("",!0)}}),zo={},Fo={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Do=d("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),Go=[Do];function jo(n,e){return c(),h("svg",Fo,Go)}const Uo=P(zo,[["render",jo]]),Wo={class:"box"},qo={key:0,class:"icon"},Ko=["innerHTML"],Qo=["innerHTML"],Zo=["innerHTML"],Jo={key:4,class:"link-text"},Yo={class:"link-text-value"},Xo=y({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(n){return(e,t)=>(c(),I(ce,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:g(()=>[d("article",Wo,[typeof e.icon=="object"&&e.icon.wrap?(c(),h("div",qo,[$(ze,{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"?(c(),I(ze,{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?(c(),h("div",{key:2,class:"icon",innerHTML:e.icon},null,8,Ko)):M("",!0),d("h2",{class:"title",innerHTML:e.title},null,8,Qo),e.details?(c(),h("p",{key:3,class:"details",innerHTML:e.details},null,8,Zo)):M("",!0),e.linkText?(c(),h("div",Jo,[d("p",Yo,[te(E(e.linkText)+" ",1),$(Uo,{class:"link-text-icon"})])])):M("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),ea=P(Xo,[["__scopeId","data-v-33204567"]]),ta={key:0,class:"VPFeatures"},na={class:"container"},sa={class:"items"},oa=y({__name:"VPFeatures",props:{features:{}},setup(n){const e=n,t=w(()=>{const s=e.features.length;if(s){if(s===2)return"grid-2";if(s===3)return"grid-3";if(s%3===0)return"grid-6";if(s>3)return"grid-4"}else return});return(s,o)=>s.features?(c(),h("div",ta,[d("div",na,[d("div",sa,[(c(!0),h(D,null,J(s.features,a=>(c(),h("div",{key:a.title,class:F(["item",[t.value]])},[$(ea,{icon:a.icon,title:a.title,details:a.details,link:a.link,"link-text":a.linkText,rel:a.rel,target:a.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):M("",!0)}}),aa=P(oa,[["__scopeId","data-v-a6181336"]]),ra=y({__name:"VPHomeFeatures",setup(n){const{frontmatter:e}=N();return(t,s)=>u(e).features?(c(),I(aa,{key:0,class:"VPHomeFeatures",features:u(e).features},null,8,["features"])):M("",!0)}}),ia={class:"VPHome"},la=y({__name:"VPHome",setup(n){return(e,t)=>{const s=ye("Content");return c(),h("div",ia,[f(e.$slots,"home-hero-before",{},void 0,!0),$(Ro,null,{"home-hero-info":g(()=>[f(e.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":g(()=>[f(e.$slots,"home-hero-image",{},void 0,!0)]),_:3}),f(e.$slots,"home-hero-after",{},void 0,!0),f(e.$slots,"home-features-before",{},void 0,!0),$(ra),f(e.$slots,"home-features-after",{},void 0,!0),$(s)])}}}),ca=P(la,[["__scopeId","data-v-d82743a8"]]),ua={},da={class:"VPPage"};function ha(n,e){const t=ye("Content");return c(),h("div",da,[f(n.$slots,"page-top"),$(t),f(n.$slots,"page-bottom")])}const pa=P(ua,[["render",ha]]),va=y({__name:"VPContent",setup(n){const{page:e,frontmatter:t}=N(),{hasSidebar:s}=he();return(o,a)=>(c(),h("div",{class:F(["VPContent",{"has-sidebar":u(s),"is-home":u(t).layout==="home"}]),id:"VPContent"},[u(e).isNotFound?f(o.$slots,"not-found",{key:0},()=>[$(vs)],!0):u(t).layout==="page"?(c(),I(pa,{key:1},{"page-top":g(()=>[f(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":g(()=>[f(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):u(t).layout==="home"?(c(),I(ca,{key:2},{"home-hero-before":g(()=>[f(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":g(()=>[f(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":g(()=>[f(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":g(()=>[f(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":g(()=>[f(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":g(()=>[f(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):u(t).layout&&u(t).layout!=="doc"?(c(),I(ge(u(t).layout),{key:3})):(c(),I(yo,{key:4},{"doc-top":g(()=>[f(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":g(()=>[f(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":g(()=>[f(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":g(()=>[f(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":g(()=>[f(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":g(()=>[f(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":g(()=>[f(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":g(()=>[f(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":g(()=>[f(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":g(()=>[f(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":g(()=>[f(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),fa=P(va,[["__scopeId","data-v-669faec9"]]),ma={class:"container"},ga=["innerHTML"],_a=["innerHTML"],ka=y({__name:"VPFooter",setup(n){const{theme:e,frontmatter:t}=N(),{hasSidebar:s}=he();return(o,a)=>u(e).footer&&u(t).footer!==!1?(c(),h("footer",{key:0,class:F(["VPFooter",{"has-sidebar":u(s)}])},[d("div",ma,[u(e).footer.message?(c(),h("p",{key:0,class:"message",innerHTML:u(e).footer.message},null,8,ga)):M("",!0),u(e).footer.copyright?(c(),h("p",{key:1,class:"copyright",innerHTML:u(e).footer.copyright},null,8,_a)):M("",!0)])],2)):M("",!0)}}),ba=P(ka,[["__scopeId","data-v-e315a0ad"]]);function an(){const{theme:n,frontmatter:e}=N(),t=qt([]),s=w(()=>t.value.length>0);return je(()=>{t.value=mt(e.value.outline??n.value.outline)}),{headers:t,hasLocalNav:s}}const ya={},$a={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},wa=d("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),Ma=[wa];function La(n,e){return c(),h("svg",$a,Ma)}const rn=P(ya,[["render",La]]),Ca={class:"header"},Sa={class:"outline"},Pa=y({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(n){const e=n,{theme:t}=N(),s=A(!1),o=A(0),a=A(),r=A();On(a,()=>{s.value=!1}),Bn("Escape",()=>{s.value=!1}),je(()=>{s.value=!1});function l(){s.value=!s.value,o.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function i(v){v.target.classList.contains("outline-link")&&(r.value&&(r.value.style.transition="none"),ie(()=>{s.value=!1}))}function p(){s.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(v,k)=>(c(),h("div",{class:"VPLocalNavOutlineDropdown",style:Rn({"--vp-vh":o.value+"px"}),ref_key:"main",ref:a},[v.headers.length>0?(c(),h("button",{key:0,onClick:l,class:F({open:s.value})},[te(E(u(sn)(u(t)))+" ",1),$(rn,{class:"icon"})],2)):(c(),h("button",{key:1,onClick:p},E(u(t).returnToTopLabel||"Return to top"),1)),$(De,{name:"flyout"},{default:g(()=>[s.value?(c(),h("div",{key:0,ref_key:"items",ref:r,class:"items",onClick:i},[d("div",Ca,[d("a",{class:"top-link",href:"#",onClick:p},E(u(t).returnToTopLabel||"Return to top"),1)]),d("div",Sa,[$(on,{headers:v.headers},null,8,["headers"])])],512)):M("",!0)]),_:1})],4))}}),Va=P(Pa,[["__scopeId","data-v-af18c0d5"]]),Ia={},Aa={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},xa=d("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),Ea=d("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),Na=d("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),Ta=d("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),Ha=[xa,Ea,Na,Ta];function Oa(n,e){return c(),h("svg",Aa,Ha)}const Ba=P(Ia,[["render",Oa]]),Ra={class:"container"},za=["aria-expanded"],Fa={class:"menu-text"},Da=y({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(n){const{theme:e,frontmatter:t}=N(),{hasSidebar:s}=he(),{headers:o}=an(),{y:a}=Qt(),r=A(0);oe(()=>{r.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),je(()=>{o.value=mt(t.value.outline??e.value.outline)});const l=w(()=>o.value.length===0),i=w(()=>l.value&&!s.value),p=w(()=>({VPLocalNav:!0,"has-sidebar":s.value,empty:l.value,fixed:i.value}));return(v,k)=>u(t).layout!=="home"&&(!i.value||u(a)>=r.value)?(c(),h("div",{key:0,class:F(p.value)},[d("div",Ra,[u(s)?(c(),h("button",{key:0,class:"menu","aria-expanded":v.open,"aria-controls":"VPSidebarNav",onClick:k[0]||(k[0]=b=>v.$emit("open-menu"))},[$(Ba,{class:"menu-icon"}),d("span",Fa,E(u(e).sidebarMenuLabel||"Menu"),1)],8,za)):M("",!0),$(Va,{headers:u(o),navHeight:r.value},null,8,["headers","navHeight"])])],2)):M("",!0)}}),Ga=P(Da,[["__scopeId","data-v-0282ae07"]]);function ja(){const n=A(!1);function e(){n.value=!0,window.addEventListener("resize",o)}function t(){n.value=!1,window.removeEventListener("resize",o)}function s(){n.value?t():e()}function o(){window.outerWidth>=768&&t()}const a=Se();return W(()=>a.path,t),{isScreenOpen:n,openScreen:e,closeScreen:t,toggleScreen:s}}const Ua={},Wa={class:"VPSwitch",type:"button",role:"switch"},qa={class:"check"},Ka={key:0,class:"icon"};function Qa(n,e){return c(),h("button",Wa,[d("span",qa,[n.$slots.default?(c(),h("span",Ka,[f(n.$slots,"default",{},void 0,!0)])):M("",!0)])])}const Za=P(Ua,[["render",Qa],["__scopeId","data-v-b1685198"]]),Ja={},Ya={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Xa=d("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),er=[Xa];function tr(n,e){return c(),h("svg",Ya,er)}const nr=P(Ja,[["render",tr]]),sr={},or={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},ar=Zt('',9),rr=[ar];function ir(n,e){return c(),h("svg",or,rr)}const lr=P(sr,[["render",ir]]),cr=y({__name:"VPSwitchAppearance",setup(n){const{isDark:e,theme:t}=N(),s=Ue("toggle-appearance",()=>{e.value=!e.value}),o=w(()=>e.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme");return(a,r)=>(c(),I(Za,{title:o.value,class:"VPSwitchAppearance","aria-checked":u(e),onClick:u(s)},{default:g(()=>[$(lr,{class:"sun"}),$(nr,{class:"moon"})]),_:1},8,["title","aria-checked","onClick"]))}}),gt=P(cr,[["__scopeId","data-v-1736f215"]]),ur={key:0,class:"VPNavBarAppearance"},dr=y({__name:"VPNavBarAppearance",setup(n){const{site:e}=N();return(t,s)=>u(e).appearance&&u(e).appearance!=="force-dark"?(c(),h("div",ur,[$(gt)])):M("",!0)}}),hr=P(dr,[["__scopeId","data-v-e6aabb21"]]),_t=A();let ln=!1,Ze=0;function pr(n){const e=A(!1);if(Ce){!ln&&vr(),Ze++;const t=W(_t,s=>{var o,a,r;s===n.el.value||(o=n.el.value)!=null&&o.contains(s)?(e.value=!0,(a=n.onFocus)==null||a.call(n)):(e.value=!1,(r=n.onBlur)==null||r.call(n))});dt(()=>{t(),Ze--,Ze||fr()})}return zn(e)}function vr(){document.addEventListener("focusin",cn),ln=!0,_t.value=document.activeElement}function fr(){document.removeEventListener("focusin",cn)}function cn(){_t.value=document.activeElement}const mr={},gr={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},_r=d("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),kr=[_r];function br(n,e){return c(),h("svg",gr,kr)}const un=P(mr,[["render",br]]),yr={},$r={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},wr=d("circle",{cx:"12",cy:"12",r:"2"},null,-1),Mr=d("circle",{cx:"19",cy:"12",r:"2"},null,-1),Lr=d("circle",{cx:"5",cy:"12",r:"2"},null,-1),Cr=[wr,Mr,Lr];function Sr(n,e){return c(),h("svg",$r,Cr)}const Pr=P(yr,[["render",Sr]]),Vr={class:"VPMenuLink"},Ir=y({__name:"VPMenuLink",props:{item:{}},setup(n){const{page:e}=N();return(t,s)=>(c(),h("div",Vr,[$(ce,{class:F({active:u(_e)(u(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:g(()=>[te(E(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),We=P(Ir,[["__scopeId","data-v-43f1e123"]]),Ar={class:"VPMenuGroup"},xr={key:0,class:"title"},Er=y({__name:"VPMenuGroup",props:{text:{},items:{}},setup(n){return(e,t)=>(c(),h("div",Ar,[e.text?(c(),h("p",xr,E(e.text),1)):M("",!0),(c(!0),h(D,null,J(e.items,s=>(c(),h(D,null,["link"in s?(c(),I(We,{key:0,item:s},null,8,["item"])):M("",!0)],64))),256))]))}}),Nr=P(Er,[["__scopeId","data-v-69e747b5"]]),Tr={class:"VPMenu"},Hr={key:0,class:"items"},Or=y({__name:"VPMenu",props:{items:{}},setup(n){return(e,t)=>(c(),h("div",Tr,[e.items?(c(),h("div",Hr,[(c(!0),h(D,null,J(e.items,s=>(c(),h(D,{key:s.text},["link"in s?(c(),I(We,{key:0,item:s},null,8,["item"])):(c(),I(Nr,{key:1,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):M("",!0),f(e.$slots,"default",{},void 0,!0)]))}}),Br=P(Or,[["__scopeId","data-v-e7ea1737"]]),Rr=["aria-expanded","aria-label"],zr={key:0,class:"text"},Fr=["innerHTML"],Dr={class:"menu"},Gr=y({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(n){const e=A(!1),t=A();pr({el:t,onBlur:s});function s(){e.value=!1}return(o,a)=>(c(),h("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:a[1]||(a[1]=r=>e.value=!0),onMouseleave:a[2]||(a[2]=r=>e.value=!1)},[d("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":o.label,onClick:a[0]||(a[0]=r=>e.value=!e.value)},[o.button||o.icon?(c(),h("span",zr,[o.icon?(c(),I(ge(o.icon),{key:0,class:"option-icon"})):M("",!0),o.button?(c(),h("span",{key:1,innerHTML:o.button},null,8,Fr)):M("",!0),$(un,{class:"text-icon"})])):(c(),I(Pr,{key:1,class:"icon"}))],8,Rr),d("div",Dr,[$(Br,{items:o.items},{default:g(()=>[f(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),kt=P(Gr,[["__scopeId","data-v-9c007e85"]]),jr={discord:'Discord',facebook:'Facebook',github:'GitHub',instagram:'Instagram',linkedin:'LinkedIn',mastodon:'Mastodon',slack:'Slack',twitter:'Twitter',x:'X',youtube:'YouTube'},Ur=["href","aria-label","innerHTML"],Wr=y({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(n){const e=n,t=w(()=>typeof e.icon=="object"?e.icon.svg:jr[e.icon]);return(s,o)=>(c(),h("a",{class:"VPSocialLink no-icon",href:s.link,"aria-label":s.ariaLabel??(typeof s.icon=="string"?s.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,Ur))}}),qr=P(Wr,[["__scopeId","data-v-f80f8133"]]),Kr={class:"VPSocialLinks"},Qr=y({__name:"VPSocialLinks",props:{links:{}},setup(n){return(e,t)=>(c(),h("div",Kr,[(c(!0),h(D,null,J(e.links,({link:s,icon:o,ariaLabel:a})=>(c(),I(qr,{key:s,icon:o,link:s,ariaLabel:a},null,8,["icon","link","ariaLabel"]))),128))]))}}),bt=P(Qr,[["__scopeId","data-v-7bc22406"]]),Zr={key:0,class:"group translations"},Jr={class:"trans-title"},Yr={key:1,class:"group"},Xr={class:"item appearance"},ei={class:"label"},ti={class:"appearance-action"},ni={key:2,class:"group"},si={class:"item social-links"},oi=y({__name:"VPNavBarExtra",setup(n){const{site:e,theme:t}=N(),{localeLinks:s,currentLang:o}=xe({correspondingLink:!0}),a=w(()=>s.value.length&&o.value.label||e.value.appearance||t.value.socialLinks);return(r,l)=>a.value?(c(),I(kt,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:g(()=>[u(s).length&&u(o).label?(c(),h("div",Zr,[d("p",Jr,E(u(o).label),1),(c(!0),h(D,null,J(u(s),i=>(c(),I(We,{key:i.link,item:i},null,8,["item"]))),128))])):M("",!0),u(e).appearance&&u(e).appearance!=="force-dark"?(c(),h("div",Yr,[d("div",Xr,[d("p",ei,E(u(t).darkModeSwitchLabel||"Appearance"),1),d("div",ti,[$(gt)])])])):M("",!0),u(t).socialLinks?(c(),h("div",ni,[d("div",si,[$(bt,{class:"social-links-list",links:u(t).socialLinks},null,8,["links"])])])):M("",!0)]),_:1})):M("",!0)}}),ai=P(oi,[["__scopeId","data-v-d0bd9dde"]]),ri=n=>(ae("data-v-e5dd9c1c"),n=n(),re(),n),ii=["aria-expanded"],li=ri(()=>d("span",{class:"container"},[d("span",{class:"top"}),d("span",{class:"middle"}),d("span",{class:"bottom"})],-1)),ci=[li],ui=y({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(n){return(e,t)=>(c(),h("button",{type:"button",class:F(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=s=>e.$emit("click"))},ci,10,ii))}}),di=P(ui,[["__scopeId","data-v-e5dd9c1c"]]),hi=["innerHTML"],pi=y({__name:"VPNavBarMenuLink",props:{item:{}},setup(n){const{page:e}=N();return(t,s)=>(c(),I(ce,{class:F({VPNavBarMenuLink:!0,active:u(_e)(u(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:g(()=>[d("span",{innerHTML:t.item.text},null,8,hi)]),_:1},8,["class","href","target","rel"]))}}),vi=P(pi,[["__scopeId","data-v-42ef59de"]]),fi=y({__name:"VPNavBarMenuGroup",props:{item:{}},setup(n){const e=n,{page:t}=N(),s=a=>"link"in a?_e(t.value.relativePath,a.link,!!e.item.activeMatch):a.items.some(s),o=w(()=>s(e.item));return(a,r)=>(c(),I(kt,{class:F({VPNavBarMenuGroup:!0,active:u(_e)(u(t).relativePath,a.item.activeMatch,!!a.item.activeMatch)||o.value}),button:a.item.text,items:a.item.items},null,8,["class","button","items"]))}}),mi=n=>(ae("data-v-7f418b0f"),n=n(),re(),n),gi={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},_i=mi(()=>d("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),ki=y({__name:"VPNavBarMenu",setup(n){const{theme:e}=N();return(t,s)=>u(e).nav?(c(),h("nav",gi,[_i,(c(!0),h(D,null,J(u(e).nav,o=>(c(),h(D,{key:o.text},["link"in o?(c(),I(vi,{key:0,item:o},null,8,["item"])):(c(),I(fi,{key:1,item:o},null,8,["item"]))],64))),128))])):M("",!0)}}),bi=P(ki,[["__scopeId","data-v-7f418b0f"]]);var Lt;const dn=typeof window<"u",yi=n=>typeof n=="string",Be=()=>{};dn&&((Lt=window==null?void 0:window.navigator)!=null&&Lt.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function st(n){return typeof n=="function"?n():u(n)}function $i(n,e){function t(...s){n(()=>e.apply(this,s),{fn:e,thisArg:this,args:s})}return t}function wi(n,e={}){let t,s;return o=>{const a=st(n),r=st(e.maxWait);if(t&&clearTimeout(t),a<=0||r!==void 0&&r<=0)return s&&(clearTimeout(s),s=null),o();r&&!s&&(s=setTimeout(()=>{t&&clearTimeout(t),s=null,o()},r)),t=setTimeout(()=>{s&&clearTimeout(s),s=null,o()},a)}}function Mi(n){return n}function Li(n){return Xt()?(en(n),!0):!1}function hn(n,e=200,t={}){return $i(wi(e,t),n)}function Je(n,e=200,t={}){if(e<=0)return n;const s=A(n.value),o=hn(()=>{s.value=n.value},e,t);return W(n,()=>o()),s}function pn(n,e,t){return W(n,(s,o,a)=>{s&&e(s,o,a)},t)}function Ci(n){var e;const t=st(n);return(e=t==null?void 0:t.$el)!=null?e:t}const vn=dn?window:void 0;function Ne(...n){let e,t,s,o;if(yi(n[0])?([t,s,o]=n,e=vn):[e,t,s,o]=n,!e)return Be;let a=Be;const r=W(()=>Ci(e),i=>{a(),i&&(i.addEventListener(t,s,o),a=()=>{i.removeEventListener(t,s,o),a=Be})},{immediate:!0,flush:"post"}),l=()=>{r(),a()};return Li(l),l}const Ct=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},St="__vueuse_ssr_handlers__";Ct[St]=Ct[St]||{};const Si={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function Pi(n={}){const{reactive:e=!1,target:t=vn,aliasMap:s=Si,passive:o=!0,onEventFired:a=Be}=n,r=Ie(new Set),l={toJSON(){return{}},current:r},i=e?Ie(l):l,p=new Set,v=new Set;function k(m,_){m in i&&(e?i[m]=_:i[m].value=_)}function b(){for(const m of v)k(m,!1)}function L(m,_){var H,R;const T=(H=m.key)==null?void 0:H.toLowerCase(),G=[(R=m.code)==null?void 0:R.toLowerCase(),T].filter(Boolean);T&&(_?r.add(T):r.delete(T));for(const q of G)v.add(q),k(q,_);T==="meta"&&!_?(p.forEach(q=>{r.delete(q),k(q,!1)}),p.clear()):typeof m.getModifierState=="function"&&m.getModifierState("Meta")&&_&&[...r,...G].forEach(q=>p.add(q))}Ne(t,"keydown",m=>(L(m,!0),a(m)),{passive:o}),Ne(t,"keyup",m=>(L(m,!1),a(m)),{passive:o}),Ne("blur",b,{passive:!0}),Ne("focus",b,{passive:!0});const V=new Proxy(i,{get(m,_,H){if(typeof _!="string")return Reflect.get(m,_,H);if(_=_.toLowerCase(),_ in s&&(_=s[_]),!(_ in i))if(/[+_-]/.test(_)){const T=_.split(/[+_-]/g).map(G=>G.trim());i[_]=w(()=>T.every(G=>u(V[G])))}else i[_]=A(!1);const R=Reflect.get(m,_,H);return e?u(R):R}});return V}var Pt;(function(n){n.UP="UP",n.RIGHT="RIGHT",n.DOWN="DOWN",n.LEFT="LEFT",n.NONE="NONE"})(Pt||(Pt={}));var Vi=Object.defineProperty,Vt=Object.getOwnPropertySymbols,Ii=Object.prototype.hasOwnProperty,Ai=Object.prototype.propertyIsEnumerable,It=(n,e,t)=>e in n?Vi(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,xi=(n,e)=>{for(var t in e||(e={}))Ii.call(e,t)&&It(n,t,e[t]);if(Vt)for(var t of Vt(e))Ai.call(e,t)&&It(n,t,e[t]);return n};const Ei={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};xi({linear:Mi},Ei);function de(n){return Array.isArray?Array.isArray(n):gn(n)==="[object Array]"}const Ni=1/0;function Ti(n){if(typeof n=="string")return n;let e=n+"";return e=="0"&&1/n==-Ni?"-0":e}function Hi(n){return n==null?"":Ti(n)}function le(n){return typeof n=="string"}function fn(n){return typeof n=="number"}function Oi(n){return n===!0||n===!1||Bi(n)&&gn(n)=="[object Boolean]"}function mn(n){return typeof n=="object"}function Bi(n){return mn(n)&&n!==null}function se(n){return n!=null}function Ye(n){return!n.trim().length}function gn(n){return n==null?n===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(n)}const Ri="Incorrect 'index' type",zi=n=>`Invalid value for key ${n}`,Fi=n=>`Pattern length exceeds max of ${n}.`,Di=n=>`Missing ${n} property in key`,Gi=n=>`Property 'weight' in key '${n}' must be a positive integer`,At=Object.prototype.hasOwnProperty;class ji{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(s=>{let o=_n(s);t+=o.weight,this._keys.push(o),this._keyMap[o.id]=o,t+=o.weight}),this._keys.forEach(s=>{s.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function _n(n){let e=null,t=null,s=null,o=1,a=null;if(le(n)||de(n))s=n,e=xt(n),t=ot(n);else{if(!At.call(n,"name"))throw new Error(Di("name"));const r=n.name;if(s=r,At.call(n,"weight")&&(o=n.weight,o<=0))throw new Error(Gi(r));e=xt(r),t=ot(r),a=n.getFn}return{path:e,id:t,weight:o,src:s,getFn:a}}function xt(n){return de(n)?n:n.split(".")}function ot(n){return de(n)?n.join("."):n}function Ui(n,e){let t=[],s=!1;const o=(a,r,l)=>{if(se(a))if(!r[l])t.push(a);else{let i=r[l];const p=a[i];if(!se(p))return;if(l===r.length-1&&(le(p)||fn(p)||Oi(p)))t.push(Hi(p));else if(de(p)){s=!0;for(let v=0,k=p.length;vn.score===e.score?n.idx{this._keysMap[t.id]=s})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,le(this.docs[0])?this.docs.forEach((e,t)=>{this._addString(e,t)}):this.docs.forEach((e,t)=>{this._addObject(e,t)}),this.norm.clear())}add(e){const t=this.size();le(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,s=this.size();t{let r=o.getFn?o.getFn(e):this.getFn(e,o.path);if(se(r)){if(de(r)){let l=[];const i=[{nestedArrIndex:-1,value:r}];for(;i.length;){const{nestedArrIndex:p,value:v}=i.pop();if(se(v))if(le(v)&&!Ye(v)){let k={v,i:p,n:this.norm.get(v)};l.push(k)}else de(v)&&v.forEach((k,b)=>{i.push({nestedArrIndex:b,value:k})})}s.$[a]=l}else if(le(r)&&!Ye(r)){let l={v:r,n:this.norm.get(r)};s.$[a]=l}}}),this.records.push(s)}toJSON(){return{keys:this.keys,records:this.records}}}function kn(n,e,{getFn:t=x.getFn,fieldNormWeight:s=x.fieldNormWeight}={}){const o=new yt({getFn:t,fieldNormWeight:s});return o.setKeys(n.map(_n)),o.setSources(e),o.create(),o}function Yi(n,{getFn:e=x.getFn,fieldNormWeight:t=x.fieldNormWeight}={}){const{keys:s,records:o}=n,a=new yt({getFn:e,fieldNormWeight:t});return a.setKeys(s),a.setIndexRecords(o),a}function Te(n,{errors:e=0,currentLocation:t=0,expectedLocation:s=0,distance:o=x.distance,ignoreLocation:a=x.ignoreLocation}={}){const r=e/n.length;if(a)return r;const l=Math.abs(s-t);return o?r+l/o:l?1:r}function Xi(n=[],e=x.minMatchCharLength){let t=[],s=-1,o=-1,a=0;for(let r=n.length;a=e&&t.push([s,o]),s=-1)}return n[a-1]&&a-s>=e&&t.push([s,a-1]),t}const me=32;function el(n,e,t,{location:s=x.location,distance:o=x.distance,threshold:a=x.threshold,findAllMatches:r=x.findAllMatches,minMatchCharLength:l=x.minMatchCharLength,includeMatches:i=x.includeMatches,ignoreLocation:p=x.ignoreLocation}={}){if(e.length>me)throw new Error(Fi(me));const v=e.length,k=n.length,b=Math.max(0,Math.min(s,k));let L=a,V=b;const m=l>1||i,_=m?Array(k):[];let H;for(;(H=n.indexOf(e,V))>-1;){let Z=Te(e,{currentLocation:H,expectedLocation:b,distance:o,ignoreLocation:p});if(L=Math.min(Z,L),V=H+v,m){let X=0;for(;X=$e;C-=1){let B=C-1,Q=t[n.charAt(B)];if(m&&(_[B]=+!!Q),ne[C]=(ne[C+1]<<1|1)&Q,Z&&(ne[C]|=(R[C+1]|R[C])<<1|1|R[C+1]),ne[C]&q&&(T=Te(e,{errors:Z,currentLocation:B,expectedLocation:b,distance:o,ignoreLocation:p}),T<=L)){if(L=T,V=B,V<=b)break;$e=Math.max(1,2*b-V)}}if(Te(e,{errors:Z+1,currentLocation:b,expectedLocation:b,distance:o,ignoreLocation:p})>L)break;R=ne}const Y={isMatch:V>=0,score:Math.max(.001,T)};if(m){const Z=Xi(_,l);Z.length?i&&(Y.indices=Z):Y.isMatch=!1}return Y}function tl(n){let e={};for(let t=0,s=n.length;t{this.chunks.push({pattern:b,alphabet:tl(b),startIndex:L})},k=this.pattern.length;if(k>me){let b=0;const L=k%me,V=k-L;for(;b{const{isMatch:H,score:R,indices:T}=el(e,V,m,{location:o+_,distance:a,threshold:r,findAllMatches:l,minMatchCharLength:i,includeMatches:s,ignoreLocation:p});H&&(b=!0),k+=R,H&&T&&(v=[...v,...T])});let L={isMatch:b,score:b?k/this.chunks.length:1};return b&&s&&(L.indices=v),L}}class ve{constructor(e){this.pattern=e}static isMultiMatch(e){return Et(e,this.multiRegex)}static isSingleMatch(e){return Et(e,this.singleRegex)}search(){}}function Et(n,e){const t=n.match(e);return t?t[1]:null}class nl extends ve{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}class sl extends ve{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const t=e.indexOf(this.pattern)===-1;return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}class ol extends ve{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}class al extends ve{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}class rl extends ve{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class il extends ve{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}class yn extends ve{constructor(e,{location:t=x.location,threshold:s=x.threshold,distance:o=x.distance,includeMatches:a=x.includeMatches,findAllMatches:r=x.findAllMatches,minMatchCharLength:l=x.minMatchCharLength,isCaseSensitive:i=x.isCaseSensitive,ignoreLocation:p=x.ignoreLocation}={}){super(e),this._bitapSearch=new bn(e,{location:t,threshold:s,distance:o,includeMatches:a,findAllMatches:r,minMatchCharLength:l,isCaseSensitive:i,ignoreLocation:p})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class $n extends ve{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t=0,s;const o=[],a=this.pattern.length;for(;(s=e.indexOf(this.pattern,t))>-1;)t=s+a,o.push([s,t-1]);const r=!!o.length;return{isMatch:r,score:r?0:1,indices:o}}}const at=[nl,$n,ol,al,il,rl,sl,yn],Nt=at.length,ll=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,cl="|";function ul(n,e={}){return n.split(cl).map(t=>{let s=t.trim().split(ll).filter(a=>a&&!!a.trim()),o=[];for(let a=0,r=s.length;a!!(n[Fe.AND]||n[Fe.OR]),vl=n=>!!n[lt.PATH],fl=n=>!de(n)&&mn(n)&&!ct(n),Tt=n=>({[Fe.AND]:Object.keys(n).map(e=>({[e]:n[e]}))});function wn(n,e,{auto:t=!0}={}){const s=o=>{let a=Object.keys(o);const r=vl(o);if(!r&&a.length>1&&!ct(o))return s(Tt(o));if(fl(o)){const i=r?o[lt.PATH]:a[0],p=r?o[lt.PATTERN]:o[i];if(!le(p))throw new Error(zi(i));const v={keyId:ot(i),pattern:p};return t&&(v.searcher=it(p,e)),v}let l={children:[],operator:a[0]};return a.forEach(i=>{const p=o[i];de(p)&&p.forEach(v=>{l.children.push(s(v))})}),l};return ct(n)||(n=Tt(n)),s(n)}function ml(n,{ignoreFieldNorm:e=x.ignoreFieldNorm}){n.forEach(t=>{let s=1;t.matches.forEach(({key:o,norm:a,score:r})=>{const l=o?o.weight:null;s*=Math.pow(r===0&&l?Number.EPSILON:r,(l||1)*(e?1:a))}),t.score=s})}function gl(n,e){const t=n.matches;e.matches=[],se(t)&&t.forEach(s=>{if(!se(s.indices)||!s.indices.length)return;const{indices:o,value:a}=s;let r={indices:o,value:a};s.key&&(r.key=s.key.src),s.idx>-1&&(r.refIndex=s.idx),e.matches.push(r)})}function _l(n,e){e.score=n.score}function kl(n,e,{includeMatches:t=x.includeMatches,includeScore:s=x.includeScore}={}){const o=[];return t&&o.push(gl),s&&o.push(_l),n.map(a=>{const{idx:r}=a,l={item:e[r],refIndex:r};return o.length&&o.forEach(i=>{i(a,l)}),l})}class ke{constructor(e,t={},s){this.options={...x,...t},this.options.useExtendedSearch,this._keyStore=new ji(this.options.keys),this.setCollection(e,s)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof yt))throw new Error(Ri);this._myIndex=t||kn(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){!se(e)||(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const t=[];for(let s=0,o=this._docs.length;s-1&&(i=i.slice(0,t)),kl(i,this._docs,{includeMatches:s,includeScore:o})}_searchStringList(e){const t=it(e,this.options),{records:s}=this._myIndex,o=[];return s.forEach(({v:a,i:r,n:l})=>{if(!se(a))return;const{isMatch:i,score:p,indices:v}=t.searchIn(a);i&&o.push({item:a,idx:r,matches:[{score:p,value:a,norm:l,indices:v}]})}),o}_searchLogical(e){const t=wn(e,this.options),s=(l,i,p)=>{if(!l.children){const{keyId:k,searcher:b}=l,L=this._findMatches({key:this._keyStore.get(k),value:this._myIndex.getValueForItemAtKeyId(i,k),searcher:b});return L&&L.length?[{idx:p,item:i,matches:L}]:[]}const v=[];for(let k=0,b=l.children.length;k{if(se(l)){let p=s(t,l,i);p.length&&(a[i]||(a[i]={idx:i,item:l,matches:[]},r.push(a[i])),p.forEach(({matches:v})=>{a[i].matches.push(...v)}))}}),r}_searchObjectList(e){const t=it(e,this.options),{keys:s,records:o}=this._myIndex,a=[];return o.forEach(({$:r,i:l})=>{if(!se(r))return;let i=[];s.forEach((p,v)=>{i.push(...this._findMatches({key:p,value:r[v],searcher:t}))}),i.length&&a.push({idx:l,item:r,matches:i})}),a}_findMatches({key:e,value:t,searcher:s}){if(!se(t))return[];let o=[];if(de(t))t.forEach(({v:a,i:r,n:l})=>{if(!se(a))return;const{isMatch:i,score:p,indices:v}=s.searchIn(a);i&&o.push({score:p,key:e,value:a,idx:r,norm:l,indices:v})});else{const{v:a,n:r}=t,{isMatch:l,score:i,indices:p}=s.searchIn(a);l&&o.push({score:i,key:e,value:a,norm:r,indices:p})}return o}}ke.version="6.6.2";ke.createIndex=kn;ke.parseIndex=Yi;ke.config=x;ke.parseQuery=wn;pl(hl);const Ht=Ie({selectedNode:"",selectedGroup:"",search:"",dataValue:"",filtered:{count:0,items:new Map,groups:new Set}}),Pe=()=>({isSearching:w(()=>Ht.search!==""),...Dn(Ht)});function bl(n){return{all:n=n||new Map,on:function(e,t){var s=n.get(e);s?s.push(t):n.set(e,[t])},off:function(e,t){var s=n.get(e);s&&(t?s.splice(s.indexOf(t)>>>0,1):n.set(e,[]))},emit:function(e,t){var s=n.get(e);s&&s.slice().map(function(o){o(t)}),(s=n.get("*"))&&s.slice().map(function(o){o(e,t)})}}}const yl=bl(),qe=()=>({emitter:yl});function $l(n,e){let t=n.nextElementSibling;for(;t;){if(t.matches(e))return t;t=t.nextElementSibling}}function wl(n,e){let t=n.previousElementSibling;for(;t;){if(t.matches(e))return t;t=t.previousElementSibling}}const Ml=["command-theme"],Ll={"command-root":""},Cl=y({name:"Command"}),Sl=y({...Cl,props:{theme:{type:String,default:"default"},fuseOptions:{type:Object,default:()=>({threshold:.2,keys:["label"]})}},emits:["select-item"],setup(n,{emit:e}){const t=n,s='[command-item=""]',o="command-item-key",a='[command-group=""]',r="command-group-key",l='[command-group-heading=""]',i=`${s}:not([aria-disabled="true"])`,p=`${s}[aria-selected="true"]`,v="command-item-select",k="data-value";ht("theme",t.theme||"default");const{selectedNode:b,search:L,dataValue:V,filtered:m}=Pe(),{emitter:_}=qe(),H=A(),R=Je(A(new Map),333),T=Je(A(new Set),333),G=Je(A(new Map)),q=w(()=>{const S=[];for(const[z,O]of R.value.entries())S.push({key:z,label:O});return S}),Y=w(()=>{const S=ke.createIndex(t.fuseOptions.keys,q.value);return new ke(q.value,t.fuseOptions,S)}),Z=()=>{var S,z,O;const j=X();j&&(((S=j.parentElement)==null?void 0:S.firstElementChild)===j&&((O=(z=j.closest(a))==null?void 0:z.querySelector(l))==null||O.scrollIntoView({block:"nearest"})),j.scrollIntoView({block:"nearest"}))},X=()=>{var S;return(S=H.value)==null?void 0:S.querySelector(p)},K=(S=H.value)=>{const z=S==null?void 0:S.querySelectorAll(i);return z?Array.from(z):[]},$e=()=>{var S;const z=(S=H.value)==null?void 0:S.querySelectorAll(a);return z?Array.from(z):[]},ue=()=>{const[S]=K();S&&S.getAttribute(o)&&(b.value=S.getAttribute(o)||"")},ne=S=>{const z=K()[S];z&&(b.value=z.getAttribute(o)||"")},C=S=>{const z=X(),O=K(),j=O.findIndex(Ee=>Ee===z),pe=O[j+S];pe?b.value=pe.getAttribute(o)||"":S>0?ne(0):ne(O.length-1)},B=S=>{const z=X();let O=z==null?void 0:z.closest(a),j=null;for(;O&&!j;)O=S>0?$l(O,a):wl(O,a),j=O==null?void 0:O.querySelector(i);j?b.value=j.getAttribute(o)||"":C(S)},Q=()=>ne(0),U=()=>ne(K().length-1),we=S=>{S.preventDefault(),S.metaKey?U():S.altKey?B(1):C(1)},Ke=S=>{S.preventDefault(),S.metaKey?Q():S.altKey?B(-1):C(-1)},Qe=S=>{switch(S.key){case"n":case"j":{S.ctrlKey&&we(S);break}case"ArrowDown":{we(S);break}case"p":case"k":{S.ctrlKey&&Ke(S);break}case"ArrowUp":{Ke(S);break}case"Home":{Q();break}case"End":{U();break}case"Enter":{const z=X();if(z){const O=new Event(v);z.dispatchEvent(O)}}}},ee=()=>{if(!L.value){m.value.count=T.value.size;return}m.value.groups=new Set("");const S=new Map,z=Y.value.search(L.value).map(O=>O.item);for(const{key:O,label:j}of z)S.set(O,j);for(const[O,j]of G.value)for(const pe of j)S.get(pe)&&m.value.groups.add(O);ie(()=>{m.value.count=S.size,m.value.items=S})},fe=()=>{const S=K(),z=$e();for(const O of S){const j=O.getAttribute(o)||"",pe=O.getAttribute(k)||"";T.value.add(j),R.value.set(j,pe),m.value.count=R.value.size}for(const O of z){const j=K(O),pe=O.getAttribute(r)||"",Ee=new Set("");for(const xn of j){const En=xn.getAttribute(o)||"";Ee.add(En)}G.value.set(pe,Ee)}};W(()=>b.value,S=>{S&&ie(Z)},{deep:!0}),W(()=>L.value,S=>{ee(),ie(ue)}),_.on("selectItem",S=>{e("select-item",S)});const An=hn(S=>{S&&(fe(),ie(ue))},100);return _.on("rerenderList",An),oe(()=>{fe(),ue()}),(S,z)=>(c(),h("div",{class:F(n.theme),onKeydown:Qe,ref_key:"commandRef",ref:H,"command-theme":n.theme},[d("div",Ll,[f(S.$slots,"default")])],42,Ml))}}),Ve=(n,e)=>{const t=n.__vccOpts||n;for(const[s,o]of e)t[s]=o;return t},ut=Ve(Sl,[["__file","/Users/xiaoyunwei/Documents/GitHub/oss/vue-command-palette/packages/Command.vue"]]),Pl={"command-dialog":""},Vl={"command-dialog-mask":""},Il={"command-dialog-wrapper":""},Al={"command-dialog-header":""},xl={"command-dialog-body":""},El={key:0,"command-dialog-footer":""},Nl=y({name:"Command.Dialog"}),Tl=y({...Nl,props:{visible:{type:Boolean,required:!0},theme:{type:String,required:!0}},emits:["select-item"],setup(n,{emit:e}){const t=n,{search:s,filtered:o}=Pe(),{emitter:a}=qe(),r=A();a.on("selectItem",i=>{e("select-item",i)});const l=()=>{s.value="",o.value.count=0,o.value.items=new Map,o.value.groups=new Set};return pn(()=>t.visible,l),pt(l),(i,p)=>(c(),I(Fn,{to:"body",ref_key:"dialogRef",ref:r},[$(De,{name:"command-dialog",appear:""},{default:g(()=>[n.visible?(c(),I(ut,{key:0,theme:n.theme},{default:g(()=>[d("div",Pl,[d("div",Vl,[d("div",Il,[d("div",Al,[f(i.$slots,"header")]),d("div",xl,[f(i.$slots,"body")]),i.$slots.footer?(c(),h("div",El,[f(i.$slots,"footer")])):M("v-if",!0)])])])]),_:3},8,["theme"])):M("v-if",!0)]),_:3})],512))}}),Hl=Ve(Tl,[["__file","/Users/xiaoyunwei/Documents/GitHub/oss/vue-command-palette/packages/CommandDialog.vue"]]);let Mn=(n=21)=>crypto.getRandomValues(new Uint8Array(n)).reduce((e,t)=>(t&=63,t<36?e+=t.toString(36):t<62?e+=(t-26).toString(36).toUpperCase():t>62?e+="-":e+="_",e),"");const Ol=["command-group-key","data-value"],Bl={key:0,"command-group-heading":""},Rl={"command-group-items":"",role:"group"},zl=y({name:"Command.Group"}),Fl=y({...zl,props:{heading:{type:String,required:!0}},setup(n){const e=w(()=>`command-group-${Mn()}`),{filtered:t,isSearching:s}=Pe(),o=w(()=>s.value?t.value.groups.has(e.value):!0);return(a,r)=>Jt((c(),h("div",{"command-group":"",role:"presentation",key:u(e),"command-group-key":u(e),"data-value":n.heading},[n.heading?(c(),h("div",Bl,E(n.heading),1)):M("v-if",!0),d("div",Rl,[f(a.$slots,"default")])],8,Ol)),[[Yt,u(o)]])}}),Dl=Ve(Fl,[["__file","/Users/xiaoyunwei/Documents/GitHub/oss/vue-command-palette/packages/CommandGroup.vue"]]),Gl=["placeholder","value"],jl=y({name:"Command.Input"}),Ul=y({...jl,props:{placeholder:{type:String,required:!0},value:{type:String,required:!1}},emits:["input","update:value"],setup(n,{emit:e}){const t=A(null),{search:s}=Pe(),o=w(()=>s.value),a=r=>{const l=r,i=r.target;s.value=i==null?void 0:i.value,e("input",l),e("update:value",s.value)};return be(()=>{var r;(r=t.value)==null||r.focus()}),(r,l)=>(c(),h("input",{ref_key:"inputRef",ref:t,"command-input":"","auto-focus":"","auto-complete":"off","auto-correct":"off","spell-check":!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,placeholder:n.placeholder,value:u(o),onInput:a},null,40,Gl))}}),Wl=Ve(Ul,[["__file","/Users/xiaoyunwei/Documents/GitHub/oss/vue-command-palette/packages/CommandInput.vue"]]),ql=["aria-selected","aria-disabled","command-item-key"],Kl=y({name:"Command.Item"}),Ql=y({...Kl,props:{shortcut:{type:Array,required:!1},perform:{type:null,required:!1}},emits:["select"],setup(n,{emit:e}){const t=n,s="command-item-select",o="data-value",{current:a}=Pi(),{selectedNode:r,filtered:l,isSearching:i}=Pe(),{emitter:p}=qe(),v=A(),k=w(()=>`command-item-${Mn()}`),b=w(()=>{const m=l.value.items.get(k.value);return i.value?m!==void 0:!0}),L=w(()=>Array.from(a)),V=()=>{var m;const _={key:k.value,value:((m=v.value)==null?void 0:m.getAttribute(o))||""};e("select",_),p.emit("selectItem",_)};return pn(L,m=>{t.shortcut&&t.shortcut.length>0&&t.shortcut.every(_=>a.has(_.toLowerCase()))&&t.perform&&t.perform()}),be(()=>{var m;(m=v.value)==null||m.addEventListener(s,V)}),pt(()=>{var m;(m=v.value)==null||m.removeEventListener(s,V)}),(m,_)=>Jt((c(),h("div",{ref_key:"itemRef",ref:v,"command-item":"",role:"option","aria-selected":u(r)===u(k),"aria-disabled":!u(b),key:u(k),"command-item-key":u(k),onClick:V},[f(m.$slots,"default")],8,ql)),[[Yt,u(b)]])}}),Zl=Ve(Ql,[["__file","/Users/xiaoyunwei/Documents/GitHub/oss/vue-command-palette/packages/CommandItem.vue"]]),Jl=y({name:"Command.List"}),Yl=y({...Jl,setup(n){const{emitter:e}=qe(),t=A(),s=A();let o=null,a;return be(()=>{a=s.value;const r=t.value;a&&r&&(o=new ResizeObserver(l=>{ie(()=>{const i=a==null?void 0:a.offsetHeight;r==null||r.style.setProperty("--command-list-height",`${i==null?void 0:i.toFixed(1)}px`),e.emit("rerenderList",!0)})}),o.observe(a))}),pt(()=>{o!==null&&a&&o.unobserve(a)}),(r,l)=>(c(),h("div",{"command-list":"",role:"listbox","aria-label":"Suggestions",ref_key:"listRef",ref:t},[d("div",{"command-list-sizer":"",ref_key:"heightRef",ref:s},[f(r.$slots,"default")],512)],512))}}),Xl=Ve(Yl,[["__file","/Users/xiaoyunwei/Documents/GitHub/oss/vue-command-palette/packages/CommandList.vue"]]),ec=y({name:"Command.Empty",setup(n,{attrs:e,slots:t}){const{filtered:s}=Pe(),o=w(()=>s.value.count===0);return()=>o.value?Ae("div",{"command-empty":"",role:"presentation",...e},t):Ae("div",{"command-empty":"hidden",role:"presentation",style:{display:"none"},...e})}}),tc=y({name:"Command.Loading",setup(n,{attrs:e,slots:t}){return()=>Ae("div",{"command-loading":"",role:"progressbar",...e},t)}}),nc=y({name:"Command.Separator",setup(n,{attrs:e,slots:t}){return()=>Ae("div",{"command-separator":"",role:"separator",...e})}}),Me=Object.assign(ut,{Dialog:Hl,Empty:ec,Group:Dl,Input:Wl,Item:Zl,List:Xl,Loading:tc,Separator:nc,Root:ut});var Ot;const Ln=typeof window<"u",sc=n=>typeof n=="string",Cn=()=>{};Ln&&((Ot=window==null?void 0:window.navigator)!=null&&Ot.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Sn(n){return typeof n=="function"?n():u(n)}function oc(n){return n}function ac(n){return Xt()?(en(n),!0):!1}function rc(n,e=!0){Gn()?oe(n):e?n():ie(n)}function ic(n){var e;const t=Sn(n);return(e=t==null?void 0:t.$el)!=null?e:t}const $t=Ln?window:void 0;function Le(...n){let e,t,s,o;if(sc(n[0])||Array.isArray(n[0])?([t,s,o]=n,e=$t):[e,t,s,o]=n,!e)return Cn;Array.isArray(t)||(t=[t]),Array.isArray(s)||(s=[s]);const a=[],r=()=>{a.forEach(v=>v()),a.length=0},l=(v,k,b,L)=>(v.addEventListener(k,b,L),()=>v.removeEventListener(k,b,L)),i=W(()=>[ic(e),Sn(o)],([v,k])=>{r(),v&&a.push(...t.flatMap(b=>s.map(L=>l(v,b,L,k))))},{immediate:!0,flush:"post"}),p=()=>{i(),r()};return ac(p),p}const Bt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Rt="__vueuse_ssr_handlers__";Bt[Rt]=Bt[Rt]||{};const lc={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function cc(n={}){const{reactive:e=!1,target:t=$t,aliasMap:s=lc,passive:o=!0,onEventFired:a=Cn}=n,r=Ie(new Set),l={toJSON(){return{}},current:r},i=e?Ie(l):l,p=new Set,v=new Set;function k(m,_){m in i&&(e?i[m]=_:i[m].value=_)}function b(){r.clear();for(const m of v)k(m,!1)}function L(m,_){var H,R;const T=(H=m.key)==null?void 0:H.toLowerCase(),q=[(R=m.code)==null?void 0:R.toLowerCase(),T].filter(Boolean);T&&(_?r.add(T):r.delete(T));for(const Y of q)v.add(Y),k(Y,_);T==="meta"&&!_?(p.forEach(Y=>{r.delete(Y),k(Y,!1)}),p.clear()):typeof m.getModifierState=="function"&&m.getModifierState("Meta")&&_&&[...r,...q].forEach(Y=>p.add(Y))}Le(t,"keydown",m=>(L(m,!0),a(m)),{passive:o}),Le(t,"keyup",m=>(L(m,!1),a(m)),{passive:o}),Le("blur",b,{passive:!0}),Le("focus",b,{passive:!0});const V=new Proxy(i,{get(m,_,H){if(typeof _!="string")return Reflect.get(m,_,H);if(_=_.toLowerCase(),_ in s&&(_=s[_]),!(_ in i))if(/[+_-]/.test(_)){const T=_.split(/[+_-]/g).map(G=>G.trim());i[_]=w(()=>T.every(G=>u(V[G])))}else i[_]=A(!1);const R=Reflect.get(m,_,H);return e?u(R):R}});return V}var zt;(function(n){n.UP="UP",n.RIGHT="RIGHT",n.DOWN="DOWN",n.LEFT="LEFT",n.NONE="NONE"})(zt||(zt={}));var uc=Object.defineProperty,Ft=Object.getOwnPropertySymbols,dc=Object.prototype.hasOwnProperty,hc=Object.prototype.propertyIsEnumerable,Dt=(n,e,t)=>e in n?uc(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,pc=(n,e)=>{for(var t in e||(e={}))dc.call(e,t)&&Dt(n,t,e[t]);if(Ft)for(var t of Ft(e))hc.call(e,t)&&Dt(n,t,e[t]);return n};const vc={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};pc({linear:oc},vc);function fc(n={}){const{window:e=$t,initialWidth:t=1/0,initialHeight:s=1/0,listenOrientation:o=!0,includeScrollbar:a=!0}=n,r=A(t),l=A(s),i=()=>{e&&(a?(r.value=e.innerWidth,l.value=e.innerHeight):(r.value=e.document.documentElement.clientWidth,l.value=e.document.documentElement.clientHeight))};return i(),rc(i),Le("resize",i,{passive:!0}),o&&Le("orientationchange",i,{passive:!0}),{width:r,height:l}}const Gt=A([{route:"/docs/9008flash",meta:{description:"",title:"施工中",date:"2024-01-30 01:41:51"}},{route:"/docs/brush",meta:{description:"",title:"施工中",date:"2024-01-30 01:41:51"}},{route:"/docs/gsi",meta:{description:"",title:"施工中",date:"2024-01-30 01:41:51"}},{route:"/docs/",meta:{description:`# 前言 + +本教程包含 \`Android\` 设备的 \`Root\` 与 \`刷机\` 教程,以及 \`Magisk\` 模块的使用方法和注意事项,供刷写机器时进行速查或者作为入门教程。 + +仓库地址是 [sudoskys/Root](https://github.com/sudoskys/Root/) + +::: warning +刷写机器有风险,刷机前请做好备份。 +因为机型众多,本教程难免疏漏,请多多询问同机型用户。如果对自己的能力感到怀疑,请委托专人刷写机器。 +作者不会对刷机过程中的任何损失负责。 +::: + +# 快速开始 + +此页面为快速开始,介绍整个流程。 + +我为 \`VAB分区\` \`SELinux\` 撰写的其他科普专题,请点击左侧导航栏。 + +## 什么是 Root + +Root,即超级用户,是 Android 系统中的最高权限,拥有 Root 权限的用户可以对系统进行任意修改,包括删除系统自带的应用、修改系统文件、更换系统字体、更换系统主题、更换系统开机动画等等。[^1] + +但是厂商并不希望用户获取 Root 权限,因为这会破坏系统安全,并且可能会被不法分子利用。 + +目前,最流行的 Root 框架是 \`Magisk\`,我们使用 \`adb\` 和 \`fastboot\` 工具链接手机和烧录 \`Magisk\` 修补后的分区文件,来获取 Root +权限。 + +下文将会主要介绍这种方法。 + +::: tip +因为 Android 阵营厂商众多,的确很难保证他们步伐齐一,所以本教程只会介绍通用的刷机方法和几个专题。 +如果你的机型不在本教程中,可以尝试在 [xda-developers](https://forum.xda-developers.com/) 或 知乎,酷安 上搜索你的机型。 +::: + +## 还没有买手机? + +如果你还没有买手机,可以参考 [Bootloader 解锁各厂商支持列表](https://github.com/KHwang9883/MobileModels/blob/master/misc/bootloader-kernel-source.md)。 + +## 流程(线刷) + +引用 少数派教程[^3] 的大致流程图如下: + +![引用自少数派](https://user-images.githubusercontent.com/75739606/207025077-5d0231c7-08b1-4856-98c9-15c3efc1410a.png) + +要查询你的机型是否可以刷机,需要做以下几步调查: + +- 是否允许解锁 Bootloader +- 是否有可用的同系统版本的 Rom 包 +- 刷写分区是 \`boot\` 还是 \`init_boot\` +- 如果没有,是否有其他玩家成功刷入 +- 如果没有,论坛询问其他玩家 + +## 备份数据 + +利用手机自带的备份功能,备份好你的数据,比如短信、通讯录、照片、视频、聊天记录、音乐等等。 + +接下来的操作会清除你的手机数据,所以请务必备份你的数据到**其他存储设备**。 + + +## 准备刷写环境 + +### 寻找一键工具箱 + +如果你的机型有一键工具箱,那么你可以直接使用它来刷机,类似 大侠阿木的 [一加全能工具箱](https://optool.daxiaamu.com)。 + +如果你觉得仍然有必要学习刷机的话,那么你可以继续阅读本教程。 + +### 准备 **Magisk** + +为了准备修补系统分区获取 Root 权限,请从 [Github](https://github.com/topjohnwu/Magisk/releases) 下载最新版本 Magisk。 + +\`Ramdisk\` 是系统中的一个小分区,\`Ramdisk\` 告诉系统需要加载哪些东西。而 Magisk 的目的就是修改 \`Ramdsik\`,把自己加进开机需要加载的系统组件中。 + +::: warning +安装 \`Magisk Manager\` 后如果主页面 \`Ramdisk\` 为 \`是\`,那么你才可以用面具刷写机器,反之只能放弃线刷。 +当 \`Ramdisk\` 的值为「否」时,表示需要修改的 Ramdisk 被放在了 \`recovery.img\` 中,我们需要提取并修改 \`recovery.img\`,具体详情需要查阅专题。 +::: + +::: tip +少数小米设备存在检测设备信息错误的问题,Ramdisk 虽然显示为 \`否\`,但实际上需要修改 boot.img,具体请询问相同机型的刷机爱好者。 +::: + + +### 安装手机驱动 + +你必须安装驱动才能调试你的设备。不同的安卓系统需要不同的驱动,它们一般由手机厂商提供。 + +如果你持有 \`Google\` 手机,你可以安装 [Google USB 驱动](https://developer.android.com/studio/run/win-usb)。 + +其他厂商的驱动如下表所示: + +| OEM | Driver URL | +|`,title:"前言",date:"2024-01-29 17:32:24"}},{route:"/docs/kernelsu",meta:{description:"",title:"施工中",date:"2024-01-30 01:41:51"}},{route:"/docs/mtk_vul",meta:{description:"",title:"施工中",date:"2024-01-30 01:41:51"}},{route:"/docs/optimize",meta:{description:"",title:"施工中",date:"2024-01-30 01:41:51"}},{route:"/docs/partition",meta:{description:"",title:"施工中",date:"2024-01-30 01:41:51"}},{route:"/docs/unbrick",meta:{description:"",title:"施工中",date:"2024-01-30 01:50:10"}}]),mc={};function gc(n,e="yyyy-MM-dd hh:mm:ss"){n instanceof Date||(n=new Date(n));const t={"M+":n.getMonth()+1,"d+":n.getDate(),"h+":n.getHours(),"m+":n.getMinutes(),"s+":n.getSeconds(),"q+":Math.floor((n.getMonth()+3)/3),S:n.getMilliseconds()};/(y+)/.test(e)&&(e=e.replace(RegExp.$1,`${n.getFullYear()}`.substr(4-RegExp.$1.length)));for(const s in t)new RegExp(`(${s})`).test(e)&&(e=e.replace(RegExp.$1,RegExp.$1.length===1?t[s]:`00${t[s]}`.substr(`${t[s]}`.length)));return e}const _c={},kc={width:"594",height:"112",viewBox:"0 0 594 112",fill:"none",xmlns:"http://www.w3.org/2000/svg"},bc=Zt('',11),yc=[bc];function $c(n,e){return c(),h("svg",kc,yc)}const wc=P(_c,[["render",$c]]),wt=n=>(ae("data-v-bebd53ce"),n=n(),re(),n),Mc={class:"blog-search","data-pagefind-ignore":"all"},Lc=wt(()=>d("svg",{width:"14",height:"14",viewBox:"0 0 20 20"},[d("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)),Cc={key:0,class:"search-tip"},Sc={key:1,class:"metaKey"},Pc={class:"search-dialog"},Vc={class:"link"},Ic={class:"title"},Ac={key:0,class:"date"},xc=["innerHTML"],Ec={class:"command-palette-logo"},Nc={href:"https://github.com/cloudcannon/pagefind",target:"_blank",rel:"noopener noreferrer"},Tc=wt(()=>d("span",{class:"command-palette-Label"},"Search by",-1)),Hc=wt(()=>d("ul",{class:"command-palette-commands"},[d("li",null,[d("kbd",{class:"command-palette-commands-key"},[d("svg",{width:"15",height:"15","aria-label":"Enter key",role:"img"},[d("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.2"},[d("path",{d:"M12 3.53088v3c0 1-1 2-2 2H4M7 11.53088l-3-3 3-3"})])])]),d("span",{class:"command-palette-Label"},"to select")]),d("li",null,[d("kbd",{class:"command-palette-commands-key"},[d("svg",{width:"15",height:"15","aria-label":"Arrow down",role:"img"},[d("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.2"},[d("path",{d:"M7.5 3.5v8M10.5 8.5l-3 3-3-3"})])])]),d("kbd",{class:"command-palette-commands-key"},[d("svg",{width:"15",height:"15","aria-label":"Arrow up",role:"img"},[d("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.2"},[d("path",{d:"M7.5 11.5v-8M10.5 6.5l-3-3-3 3"})])])]),d("span",{class:"command-palette-Label"},"to navigate")]),d("li",null,[d("kbd",{class:"command-palette-commands-key"},[d("svg",{width:"15",height:"15","aria-label":"Escape key",role:"img"},[d("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.2"},[d("path",{d:"M13.6167 8.936c-.1065.3583-.6883.962-1.4875.962-.7993 0-1.653-.9165-1.653-2.1258v-.5678c0-1.2548.7896-2.1016 1.653-2.1016.8634 0 1.3601.4778 1.4875 1.0724M9 6c-.1352-.4735-.7506-.9219-1.46-.8972-.7092.0246-1.344.57-1.344 1.2166s.4198.8812 1.3445.9805C8.465 7.3992 8.968 7.9337 9 8.5c.032.5663-.454 1.398-1.4595 1.398C6.6593 9.898 6 9 5.963 8.4851m-1.4748.5368c-.2635.5941-.8099.876-1.5443.876s-1.7073-.6248-1.7073-2.204v-.4603c0-1.0416.721-2.131 1.7073-2.131.9864 0 1.6425 1.031 1.5443 2.2492h-2.956"})])])]),d("span",{class:"command-palette-Label"},"to close")])],-1)),Oc=y({__name:"Search",setup(n){jn(C=>({"54fbd49d":p.value}));const e=A([]),t=mc,{localeIndex:s,site:o}=Re(),a=w(()=>{var C;return{...t,...((C=t==null?void 0:t.locales)==null?void 0:C[s.value])||{}}}),r=w(()=>{var C;return((C=a.value)==null?void 0:C.showDate)??!0}),l=fc(),i=w(()=>l.width.value<760),p=w(()=>i.value?0:1),v=w(()=>{var C;return(C=a.value)!=null&&C.heading?a.value.heading.replace(/\{\{searchResult\}\}/,e.value.length):`Total: ${e.value.length} search results.`}),k=A("");oe(()=>{k.value=/(Mac|iPhone|iPod|iPad)/i.test(navigator==null?void 0:navigator.platform)?"⌘":"Ctrl"});const b=A(!1),L=A(""),V=cc({passive:!1,onEventFired(C){C.ctrlKey&&C.key==="k"&&C.type==="keydown"&&C.preventDefault()}}),m=V["Meta+K"],_=V["Ctrl+K"],H=V.Escape;W(m,C=>{C&&(b.value=!0)}),W(_,C=>{C&&(b.value=!0)}),W(H,C=>{C&&(b.value=!1)});function R(){if(!L.value){e.value=[];return}e.value=Gt.value.filter(C=>`${C.meta.description}${C.meta.title}`.includes(L.value)).map(C=>{var B,Q;return{...C,meta:{...C.meta,description:((Q=(B=C.meta)==null?void 0:B.description)==null?void 0:Q.replace(new RegExp(`(${L.value})`,"g"),"$1"))||""}}}),e.value.sort((C,B)=>+new Date(B.meta.date)-+new Date(C.meta.date))}const T=w(()=>{var C;return((C=a.value)==null?void 0:C.resultOptimization)??!0});W(()=>L.value,async()=>{var C,B,Q;if(!((C=window==null?void 0:window.__pagefind__)!=null&&C.search))R();else{const U=typeof a.value.customSearchQuery=="function"?a.value.customSearchQuery(L.value):L.value;await((Q=(B=window==null?void 0:window.__pagefind__)==null?void 0:B.search)==null?void 0:Q.call(B,U).then(async we=>{const Qe=(await Promise.all(we.results.map(ee=>ee.data()))).map(ee=>{var fe;return{route:ee.url.startsWith(o.value.base)?ee.url:Ge(ee.url),meta:{title:ee.meta.title,description:ee.excerpt,date:(fe=ee==null?void 0:ee.meta)==null?void 0:fe.date}}}).filter(ee=>!T.value||Gt.value.some(fe=>fe.route===ee.route));e.value=Qe.filter(a.value.filter??(()=>!0))}))}ie(()=>{document.querySelectorAll('div[aria-disabled="true"]').forEach(U=>{U.setAttribute("aria-disabled","false")})})});function G(C){C.target===C.currentTarget&&(b.value=!1)}W(()=>b.value,C=>{var B;C?ie(()=>{var Q;(Q=document.querySelector("div[command-dialog-mask]"))==null||Q.addEventListener("click",G)}):(B=document.querySelector("div[command-dialog-mask]"))==null||B.removeEventListener("click",G)});const q=A(999),Y=A(0),Z=w(()=>{const B=Y.value%Math.ceil(e.value.length/q.value)*q.value;return e.value.slice(B,B+q.value)}),X=Un(),K=Se();function $e(C){b.value=!1,K.path!==C.value&&X.go(C.value)}const{lang:ue}=Re(),ne=w(()=>a.value.langReload??!0);return W(()=>ue.value,()=>{ne.value&&window.location.reload()}),(C,B)=>{var Q;return c(),h("div",Mc,[d("div",{class:"nav-search-btn-wait",onClick:B[0]||(B[0]=U=>b.value=!0)},[Lc,i.value?M("",!0):(c(),h("span",Cc,E(((Q=a.value)==null?void 0:Q.btnPlaceholder)||"Search"),1)),i.value?M("",!0):(c(),h("span",Sc,E(k.value)+" K ",1))]),$(u(Me).Dialog,{visible:b.value,theme:"algolia"},Wn({header:g(()=>{var U;return[$(u(Me).Input,{value:L.value,"onUpdate:value":B[1]||(B[1]=we=>L.value=we),placeholder:((U=a.value)==null?void 0:U.placeholder)||"Search Docs"},null,8,["value","placeholder"])]}),body:g(()=>[d("div",Pc,[$(u(Me).List,null,{default:g(()=>[e.value.length?(c(),I(u(Me).Group,{key:1,heading:v.value},{default:g(()=>[(c(!0),h(D,null,J(Z.value,U=>(c(),I(u(Me).Item,{key:U.route,"data-value":U.route,onSelect:$e},{default:g(()=>[d("div",Vc,[d("div",Ic,[d("span",null,E(U.meta.title),1),r.value&&U.meta.date?(c(),h("span",Ac,E(u(gc)(U.meta.date,"yyyy-MM-dd")),1)):M("",!0)]),d("div",{class:"des",innerHTML:U.meta.description},null,8,xc)])]),_:2},1032,["data-value"]))),128))]),_:1},8,["heading"])):(c(),I(u(Me).Empty,{key:0},{default:g(()=>{var U;return[te(E(((U=a.value)==null?void 0:U.emptyText)||"No results found."),1)]}),_:1}))]),_:1})])]),_:2},[e.value.length?{name:"footer",fn:g(()=>[d("div",Ec,[d("a",Nc,[Tc,$(wc,{style:{width:"77px"}})])]),Hc]),key:"0"}:void 0]),1032,["visible"])])}}}),Bc=P(Oc,[["__scopeId","data-v-bebd53ce"]]),Rc=y({__name:"VPNavBarSocialLinks",setup(n){const{theme:e}=N();return(t,s)=>u(e).socialLinks?(c(),I(bt,{key:0,class:"VPNavBarSocialLinks",links:u(e).socialLinks},null,8,["links"])):M("",!0)}}),zc=P(Rc,[["__scopeId","data-v-0394ad82"]]),Fc=["href","rel","target"],Dc=y({__name:"VPNavBarTitle",setup(n){const{site:e,theme:t}=N(),{hasSidebar:s}=he(),{currentLang:o}=xe(),a=w(()=>{var i;return typeof t.value.logoLink=="string"?t.value.logoLink:(i=t.value.logoLink)==null?void 0:i.link}),r=w(()=>{var i;return typeof t.value.logoLink=="string"||(i=t.value.logoLink)==null?void 0:i.rel}),l=w(()=>{var i;return typeof t.value.logoLink=="string"||(i=t.value.logoLink)==null?void 0:i.target});return(i,p)=>(c(),h("div",{class:F(["VPNavBarTitle",{"has-sidebar":u(s)}])},[d("a",{class:"title",href:a.value??u(vt)(u(o).link),rel:r.value,target:l.value},[f(i.$slots,"nav-bar-title-before",{},void 0,!0),u(t).logo?(c(),I(ze,{key:0,class:"logo",image:u(t).logo},null,8,["image"])):M("",!0),u(t).siteTitle?(c(),h(D,{key:1},[te(E(u(t).siteTitle),1)],64)):u(t).siteTitle===void 0?(c(),h(D,{key:2},[te(E(u(e).title),1)],64)):M("",!0),f(i.$slots,"nav-bar-title-after",{},void 0,!0)],8,Fc)],2))}}),Gc=P(Dc,[["__scopeId","data-v-8460f0a8"]]),jc={},Uc={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Wc=d("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),qc=d("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),Kc=[Wc,qc];function Qc(n,e){return c(),h("svg",Uc,Kc)}const Pn=P(jc,[["render",Qc]]),Zc={class:"items"},Jc={class:"title"},Yc=y({__name:"VPNavBarTranslations",setup(n){const{theme:e}=N(),{localeLinks:t,currentLang:s}=xe({correspondingLink:!0});return(o,a)=>u(t).length&&u(s).label?(c(),I(kt,{key:0,class:"VPNavBarTranslations",icon:Pn,label:u(e).langMenuLabel||"Change language"},{default:g(()=>[d("div",Zc,[d("p",Jc,E(u(s).label),1),(c(!0),h(D,null,J(u(t),r=>(c(),I(We,{key:r.link,item:r},null,8,["item"]))),128))])]),_:1},8,["label"])):M("",!0)}}),Xc=P(Yc,[["__scopeId","data-v-74abcbb9"]]),eu=n=>(ae("data-v-19c990f1"),n=n(),re(),n),tu={class:"wrapper"},nu={class:"container"},su={class:"title"},ou={class:"content"},au={class:"content-body"},ru=eu(()=>d("div",{class:"divider"},[d("div",{class:"divider-line"})],-1)),iu=y({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(n){const{y:e}=Qt(),{hasSidebar:t}=he(),{hasLocalNav:s}=an(),{frontmatter:o}=N(),a=A({});return Wt(()=>{a.value={"has-sidebar":t.value,"has-local-nav":s.value,top:o.value.layout==="home"&&e.value===0}}),(r,l)=>(c(),h("div",{class:F(["VPNavBar",a.value])},[d("div",tu,[d("div",nu,[d("div",su,[$(Gc,null,{"nav-bar-title-before":g(()=>[f(r.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":g(()=>[f(r.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),d("div",ou,[d("div",au,[f(r.$slots,"nav-bar-content-before",{},void 0,!0),$(Bc,{class:"search"}),$(bi,{class:"menu"}),$(Xc,{class:"translations"}),$(hr,{class:"appearance"}),$(zc,{class:"social-links"}),$(ai,{class:"extra"}),f(r.$slots,"nav-bar-content-after",{},void 0,!0),$(di,{class:"hamburger",active:r.isScreenOpen,onClick:l[0]||(l[0]=i=>r.$emit("toggle-screen"))},null,8,["active"])])])])]),ru],2))}}),lu=P(iu,[["__scopeId","data-v-19c990f1"]]),cu={key:0,class:"VPNavScreenAppearance"},uu={class:"text"},du=y({__name:"VPNavScreenAppearance",setup(n){const{site:e,theme:t}=N();return(s,o)=>u(e).appearance&&u(e).appearance!=="force-dark"?(c(),h("div",cu,[d("p",uu,E(u(t).darkModeSwitchLabel||"Appearance"),1),$(gt)])):M("",!0)}}),hu=P(du,[["__scopeId","data-v-2d7af913"]]),pu=y({__name:"VPNavScreenMenuLink",props:{item:{}},setup(n){const e=Ue("close-screen");return(t,s)=>(c(),I(ce,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:u(e)},{default:g(()=>[te(E(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),vu=P(pu,[["__scopeId","data-v-05f27b2a"]]),fu={},mu={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},gu=d("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),_u=[gu];function ku(n,e){return c(),h("svg",mu,_u)}const bu=P(fu,[["render",ku]]),yu=y({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(n){const e=Ue("close-screen");return(t,s)=>(c(),I(ce,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:u(e)},{default:g(()=>[te(E(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),Vn=P(yu,[["__scopeId","data-v-19976ae1"]]),$u={class:"VPNavScreenMenuGroupSection"},wu={key:0,class:"title"},Mu=y({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(n){return(e,t)=>(c(),h("div",$u,[e.text?(c(),h("p",wu,E(e.text),1)):M("",!0),(c(!0),h(D,null,J(e.items,s=>(c(),I(Vn,{key:s.text,item:s},null,8,["item"]))),128))]))}}),Lu=P(Mu,[["__scopeId","data-v-8133b170"]]),Cu=["aria-controls","aria-expanded"],Su=["innerHTML"],Pu=["id"],Vu={key:1,class:"group"},Iu=y({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(n){const e=n,t=A(!1),s=w(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function o(){t.value=!t.value}return(a,r)=>(c(),h("div",{class:F(["VPNavScreenMenuGroup",{open:t.value}])},[d("button",{class:"button","aria-controls":s.value,"aria-expanded":t.value,onClick:o},[d("span",{class:"button-text",innerHTML:a.text},null,8,Su),$(bu,{class:"button-icon"})],8,Cu),d("div",{id:s.value,class:"items"},[(c(!0),h(D,null,J(a.items,l=>(c(),h(D,{key:l.text},["link"in l?(c(),h("div",{key:l.text,class:"item"},[$(Vn,{item:l},null,8,["item"])])):(c(),h("div",Vu,[$(Lu,{text:l.text,items:l.items},null,8,["text","items"])]))],64))),128))],8,Pu)],2))}}),Au=P(Iu,[["__scopeId","data-v-65ef89ca"]]),xu={key:0,class:"VPNavScreenMenu"},Eu=y({__name:"VPNavScreenMenu",setup(n){const{theme:e}=N();return(t,s)=>u(e).nav?(c(),h("nav",xu,[(c(!0),h(D,null,J(u(e).nav,o=>(c(),h(D,{key:o.text},["link"in o?(c(),I(vu,{key:0,item:o},null,8,["item"])):(c(),I(Au,{key:1,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):M("",!0)}}),Nu=y({__name:"VPNavScreenSocialLinks",setup(n){const{theme:e}=N();return(t,s)=>u(e).socialLinks?(c(),I(bt,{key:0,class:"VPNavScreenSocialLinks",links:u(e).socialLinks},null,8,["links"])):M("",!0)}}),Tu={class:"list"},Hu=y({__name:"VPNavScreenTranslations",setup(n){const{localeLinks:e,currentLang:t}=xe({correspondingLink:!0}),s=A(!1);function o(){s.value=!s.value}return(a,r)=>u(e).length&&u(t).label?(c(),h("div",{key:0,class:F(["VPNavScreenTranslations",{open:s.value}])},[d("button",{class:"title",onClick:o},[$(Pn,{class:"icon lang"}),te(" "+E(u(t).label)+" ",1),$(un,{class:"icon chevron"})]),d("ul",Tu,[(c(!0),h(D,null,J(u(e),l=>(c(),h("li",{key:l.link,class:"item"},[$(ce,{class:"link",href:l.link},{default:g(()=>[te(E(l.text),1)]),_:2},1032,["href"])]))),128))])],2)):M("",!0)}}),Ou=P(Hu,[["__scopeId","data-v-d72aa483"]]),Bu={class:"container"},Ru=y({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(n){const e=A(null),t=tn(Ce?document.body:null);return(s,o)=>(c(),I(De,{name:"fade",onEnter:o[0]||(o[0]=a=>t.value=!0),onAfterLeave:o[1]||(o[1]=a=>t.value=!1)},{default:g(()=>[s.open?(c(),h("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[d("div",Bu,[f(s.$slots,"nav-screen-content-before",{},void 0,!0),$(Eu,{class:"menu"}),$(Ou,{class:"translations"}),$(hu,{class:"appearance"}),$(Nu,{class:"social-links"}),f(s.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):M("",!0)]),_:3}))}}),zu=P(Ru,[["__scopeId","data-v-cc5739dd"]]),Fu={key:0,class:"VPNav"},Du=y({__name:"VPNav",setup(n){const{isScreenOpen:e,closeScreen:t,toggleScreen:s}=ja(),{frontmatter:o}=N(),a=w(()=>o.value.navbar!==!1);return ht("close-screen",t),be(()=>{Ce&&document.documentElement.classList.toggle("hide-nav",!a.value)}),(r,l)=>a.value?(c(),h("header",Fu,[$(lu,{"is-screen-open":u(e),onToggleScreen:u(s)},{"nav-bar-title-before":g(()=>[f(r.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":g(()=>[f(r.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":g(()=>[f(r.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":g(()=>[f(r.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),$(zu,{open:u(e)},{"nav-screen-content-before":g(()=>[f(r.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":g(()=>[f(r.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):M("",!0)}}),Gu=P(Du,[["__scopeId","data-v-ae24b3ad"]]),ju=n=>(ae("data-v-e31bd47b"),n=n(),re(),n),Uu=["role","tabindex"],Wu=ju(()=>d("div",{class:"indicator"},null,-1)),qu={key:1,class:"items"},Ku=y({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(n){const e=n,{collapsed:t,collapsible:s,isLink:o,isActiveLink:a,hasActiveLink:r,hasChildren:l,toggle:i}=_s(w(()=>e.item)),p=w(()=>l.value?"section":"div"),v=w(()=>o.value?"a":"div"),k=w(()=>l.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),b=w(()=>o.value?void 0:"button"),L=w(()=>[[`level-${e.depth}`],{collapsible:s.value},{collapsed:t.value},{"is-link":o.value},{"is-active":a.value},{"has-active":r.value}]);function V(_){"key"in _&&_.key!=="Enter"||!e.item.link&&i()}function m(){e.item.link&&i()}return(_,H)=>{const R=ye("VPSidebarItem",!0);return c(),I(ge(p.value),{class:F(["VPSidebarItem",L.value])},{default:g(()=>[_.item.text?(c(),h("div",He({key:0,class:"item",role:b.value},qn(_.item.items?{click:V,keydown:V}:{},!0),{tabindex:_.item.items&&0}),[Wu,_.item.link?(c(),I(ce,{key:0,tag:v.value,class:"link",href:_.item.link,rel:_.item.rel,target:_.item.target},{default:g(()=>[(c(),I(ge(k.value),{class:"text",innerHTML:_.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(c(),I(ge(k.value),{key:1,class:"text",innerHTML:_.item.text},null,8,["innerHTML"])),_.item.collapsed!=null?(c(),h("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:m,onKeydown:Kn(m,["enter"]),tabindex:"0"},[$(rn,{class:"caret-icon"})],32)):M("",!0)],16,Uu)):M("",!0),_.item.items&&_.item.items.length?(c(),h("div",qu,[_.depth<5?(c(!0),h(D,{key:0},J(_.item.items,T=>(c(),I(R,{key:T.text,item:T,depth:_.depth+1},null,8,["item","depth"]))),128)):M("",!0)])):M("",!0)]),_:1},8,["class"])}}}),Qu=P(Ku,[["__scopeId","data-v-e31bd47b"]]),In=n=>(ae("data-v-575e6a36"),n=n(),re(),n),Zu=In(()=>d("div",{class:"curtain"},null,-1)),Ju={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Yu=In(()=>d("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),Xu=y({__name:"VPSidebar",props:{open:{type:Boolean}},setup(n){const{sidebarGroups:e,hasSidebar:t}=he(),s=n,o=A(null),a=tn(Ce?document.body:null);return W([s,o],()=>{var r;s.open?(a.value=!0,(r=o.value)==null||r.focus()):a.value=!1},{immediate:!0,flush:"post"}),(r,l)=>u(t)?(c(),h("aside",{key:0,class:F(["VPSidebar",{open:r.open}]),ref_key:"navEl",ref:o,onClick:l[0]||(l[0]=Qn(()=>{},["stop"]))},[Zu,d("nav",Ju,[Yu,f(r.$slots,"sidebar-nav-before",{},void 0,!0),(c(!0),h(D,null,J(u(e),i=>(c(),h("div",{key:i.text,class:"group"},[$(Qu,{item:i,depth:0},null,8,["item"])]))),128)),f(r.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):M("",!0)}}),ed=P(Xu,[["__scopeId","data-v-575e6a36"]]),td=y({__name:"VPSkipLink",setup(n){const e=Se(),t=A();W(()=>e.path,()=>t.value.focus());function s({target:o}){const a=document.getElementById(decodeURIComponent(o.hash).slice(1));if(a){const r=()=>{a.removeAttribute("tabindex"),a.removeEventListener("blur",r)};a.setAttribute("tabindex","-1"),a.addEventListener("blur",r),a.focus(),window.scrollTo(0,0)}}return(o,a)=>(c(),h(D,null,[d("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),d("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s}," Skip to content ")],64))}}),nd=P(td,[["__scopeId","data-v-0f60ec36"]]),sd=y({__name:"Layout",setup(n){const{isOpen:e,open:t,close:s}=he(),o=Se();W(()=>o.path,s),gs(e,s);const{frontmatter:a}=N(),r=Zn(),l=w(()=>!!r["home-hero-image"]);return ht("hero-image-slot-exists",l),(i,p)=>{const v=ye("Content");return u(a).layout!==!1?(c(),h("div",{key:0,class:F(["Layout",u(a).pageClass])},[f(i.$slots,"layout-top",{},void 0,!0),$(nd),$(ns,{class:"backdrop",show:u(e),onClick:u(s)},null,8,["show","onClick"]),$(Gu,null,{"nav-bar-title-before":g(()=>[f(i.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":g(()=>[f(i.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":g(()=>[f(i.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":g(()=>[f(i.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":g(()=>[f(i.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":g(()=>[f(i.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),$(Ga,{open:u(e),onOpenMenu:u(t)},null,8,["open","onOpenMenu"]),$(ed,{open:u(e)},{"sidebar-nav-before":g(()=>[f(i.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":g(()=>[f(i.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),$(fa,{"data-pagefind-body":""},{"page-top":g(()=>[f(i.$slots,"page-top",{},void 0,!0)]),"page-bottom":g(()=>[f(i.$slots,"page-bottom",{},void 0,!0)]),"not-found":g(()=>[f(i.$slots,"not-found",{},void 0,!0)]),"home-hero-before":g(()=>[f(i.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":g(()=>[f(i.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":g(()=>[f(i.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":g(()=>[f(i.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":g(()=>[f(i.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":g(()=>[f(i.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":g(()=>[f(i.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":g(()=>[f(i.$slots,"doc-before",{},void 0,!0)]),"doc-after":g(()=>[f(i.$slots,"doc-after",{},void 0,!0)]),"doc-top":g(()=>[f(i.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":g(()=>[f(i.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":g(()=>[f(i.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":g(()=>[f(i.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":g(()=>[f(i.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":g(()=>[f(i.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":g(()=>[f(i.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":g(()=>[f(i.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),$(ba),f(i.$slots,"layout-bottom",{},void 0,!0)],2)):(c(),I(v,{key:1}))}}}),od=P(sd,[["__scopeId","data-v-ae5c84bb"]]),jt={Layout:od,enhanceApp:({app:n})=>{n.component("Badge",Xn)}},ad=["id","host","repo","repoid","category","categoryid","mapping","term","strict","reactionsenabled","emitmetadata","inputposition","theme","lang","loading"],rd=y({__name:"Giscus",props:{id:{},host:{},repo:{},repoId:{},category:{},categoryId:{},mapping:{},term:{},theme:{},strict:{},reactionsEnabled:{},emitMetadata:{},inputPosition:{},lang:{},loading:{}},setup(n){const e=A(!1);return oe(()=>{e.value=!0,Jn(()=>import("./giscus-aTimukGI.jKnbteiG.js"),__vite__mapDeps([]))}),(t,s)=>e.value?(c(),h("giscus-widget",{key:0,id:t.id,host:t.host,repo:t.repo,repoid:t.repoId,category:t.category,categoryid:t.categoryId,mapping:t.mapping,term:t.term,strict:t.strict,reactionsenabled:t.reactionsEnabled,emitmetadata:t.emitMetadata,inputposition:t.inputPosition,theme:t.theme,lang:t.lang,loading:t.loading},null,8,ad)):M("",!0)}}),Ut=(n,e,t=!0)=>{var p;const s={id:"comment",host:"https://giscus.app",category:"General",mapping:"pathname",term:"Welcome to giscus!",reactionsEnabled:"1",inputPosition:"top",lang:"zh-CN",loading:"lazy",repo:"xxx/xxx",repoId:""},o=n.lightTheme||"light",a=n.darkTheme||"transparent_dark";let r=document.getElementById("giscus");if(r&&r.parentNode.removeChild(r),console.log(e==null?void 0:e.value.comment),(e==null?void 0:e.value.comment)!==void 0){if(!(e!=null&&e.value.comment))return}else if(!t)return;if(!location.pathname||location.pathname==="/")return;const l=((p=document.querySelector("html"))==null?void 0:p.className.indexOf("dark"))!==-1,i=document.getElementsByClassName("content-container")[0];if(i){const v=document.createElement("div");v.setAttribute("id","giscus"),v.style.height="auto",v.style.marginTop="40px",v.style.borderTop="1px solid var(--vp-c-divider)",v.style.paddingTop="20px",i.append(v),Yn({render:()=>Ae(rd,{...s,theme:l?a:o,...n})}).mount("#giscus")}},id=n=>{const e=document.querySelector("html"),t=n.lightTheme||"light",s=n.darkTheme||"transparent_dark";new MutationObserver(a=>{a.forEach(r=>{if(r.type=="attributes"){let l=document.getElementById("comment");l==null||l.setAttribute("theme",e.className.indexOf("dark")!==-1?s:t)}})}).observe(e,{attributeFilter:["class"]})},ld=(n,e,t=!0)=>{oe(()=>{Ut(n,e.frontmatter,t),id(n)}),W(()=>e.route.path,()=>ie(()=>{Ut(n,e.frontmatter,t)}))},ud={...jt,enhanceApp(n){jt.enhanceApp(n)},setup(){const{frontmatter:n}=Re(),e=Se();ld({repo:"sudoskys/Root",repoId:"R_kgDOH0E2Jg",category:"Q&A",categoryId:"DIC_kwDOH0E2Js4CQ2Y8",mapping:"pathname",inputPosition:"top",lang:"zh-CN",lightTheme:"preferred_color_scheme",darkTheme:"transparent_dark",loading:"lazy",reactionsEnabled:"1",emitMetadata:"0"},{frontmatter:n,route:e},!0)}};export{ud as R}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = [] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} diff --git a/assets/docs_9008flash.md.o9PBSX4e.js b/assets/docs_9008flash.md.o9PBSX4e.js new file mode 100644 index 0000000..c749d19 --- /dev/null +++ b/assets/docs_9008flash.md.o9PBSX4e.js @@ -0,0 +1 @@ +import{_ as a,o as t,c as s,m as e,a as o}from"./chunks/framework.zvL6SVfk.js";const u=JSON.parse('{"title":"施工中","description":"","frontmatter":{},"headers":[],"relativePath":"docs/9008flash.md","filePath":"docs/9008flash.md","lastUpdated":1706578911000}'),r={name:"docs/9008flash.md"},c=e("h1",{id:"施工中",tabindex:"-1"},[o("施工中 "),e("a",{class:"header-anchor",href:"#施工中","aria-label":'Permalink to "施工中"'},"​")],-1),d=[c];function n(l,i,_,h,f,p){return t(),s("div",null,d)}const x=a(r,[["render",n]]);export{u as __pageData,x as default}; diff --git a/assets/docs_9008flash.md.o9PBSX4e.lean.js b/assets/docs_9008flash.md.o9PBSX4e.lean.js new file mode 100644 index 0000000..c749d19 --- /dev/null +++ b/assets/docs_9008flash.md.o9PBSX4e.lean.js @@ -0,0 +1 @@ +import{_ as a,o as t,c as s,m as e,a as o}from"./chunks/framework.zvL6SVfk.js";const u=JSON.parse('{"title":"施工中","description":"","frontmatter":{},"headers":[],"relativePath":"docs/9008flash.md","filePath":"docs/9008flash.md","lastUpdated":1706578911000}'),r={name:"docs/9008flash.md"},c=e("h1",{id:"施工中",tabindex:"-1"},[o("施工中 "),e("a",{class:"header-anchor",href:"#施工中","aria-label":'Permalink to "施工中"'},"​")],-1),d=[c];function n(l,i,_,h,f,p){return t(),s("div",null,d)}const x=a(r,[["render",n]]);export{u as __pageData,x as default}; diff --git a/assets/docs_brush.md.6RkhBpa0.js b/assets/docs_brush.md.6RkhBpa0.js new file mode 100644 index 0000000..c697496 --- /dev/null +++ b/assets/docs_brush.md.6RkhBpa0.js @@ -0,0 +1 @@ +import{_ as a,o as t,c as s,m as e,a as r}from"./chunks/framework.zvL6SVfk.js";const u=JSON.parse('{"title":"施工中","description":"","frontmatter":{},"headers":[],"relativePath":"docs/brush.md","filePath":"docs/brush.md","lastUpdated":1706578911000}'),o={name:"docs/brush.md"},c=e("h1",{id:"施工中",tabindex:"-1"},[r("施工中 "),e("a",{class:"header-anchor",href:"#施工中","aria-label":'Permalink to "施工中"'},"​")],-1),d=[c];function n(i,_,h,l,p,m){return t(),s("div",null,d)}const b=a(o,[["render",n]]);export{u as __pageData,b as default}; diff --git a/assets/docs_brush.md.6RkhBpa0.lean.js b/assets/docs_brush.md.6RkhBpa0.lean.js new file mode 100644 index 0000000..c697496 --- /dev/null +++ b/assets/docs_brush.md.6RkhBpa0.lean.js @@ -0,0 +1 @@ +import{_ as a,o as t,c as s,m as e,a as r}from"./chunks/framework.zvL6SVfk.js";const u=JSON.parse('{"title":"施工中","description":"","frontmatter":{},"headers":[],"relativePath":"docs/brush.md","filePath":"docs/brush.md","lastUpdated":1706578911000}'),o={name:"docs/brush.md"},c=e("h1",{id:"施工中",tabindex:"-1"},[r("施工中 "),e("a",{class:"header-anchor",href:"#施工中","aria-label":'Permalink to "施工中"'},"​")],-1),d=[c];function n(i,_,h,l,p,m){return t(),s("div",null,d)}const b=a(o,[["render",n]]);export{u as __pageData,b as default}; diff --git a/assets/docs_gsi.md.wh6lnbqG.js b/assets/docs_gsi.md.wh6lnbqG.js new file mode 100644 index 0000000..e182c74 --- /dev/null +++ b/assets/docs_gsi.md.wh6lnbqG.js @@ -0,0 +1 @@ +import{_ as a,o as t,c as s,m as e,a as o}from"./chunks/framework.zvL6SVfk.js";const g=JSON.parse('{"title":"施工中","description":"","frontmatter":{},"headers":[],"relativePath":"docs/gsi.md","filePath":"docs/gsi.md","lastUpdated":1706578911000}'),r={name:"docs/gsi.md"},c=e("h1",{id:"施工中",tabindex:"-1"},[o("施工中 "),e("a",{class:"header-anchor",href:"#施工中","aria-label":'Permalink to "施工中"'},"​")],-1),d=[c];function n(i,_,l,p,m,h){return t(),s("div",null,d)}const u=a(r,[["render",n]]);export{g as __pageData,u as default}; diff --git a/assets/docs_gsi.md.wh6lnbqG.lean.js b/assets/docs_gsi.md.wh6lnbqG.lean.js new file mode 100644 index 0000000..e182c74 --- /dev/null +++ b/assets/docs_gsi.md.wh6lnbqG.lean.js @@ -0,0 +1 @@ +import{_ as a,o as t,c as s,m as e,a as o}from"./chunks/framework.zvL6SVfk.js";const g=JSON.parse('{"title":"施工中","description":"","frontmatter":{},"headers":[],"relativePath":"docs/gsi.md","filePath":"docs/gsi.md","lastUpdated":1706578911000}'),r={name:"docs/gsi.md"},c=e("h1",{id:"施工中",tabindex:"-1"},[o("施工中 "),e("a",{class:"header-anchor",href:"#施工中","aria-label":'Permalink to "施工中"'},"​")],-1),d=[c];function n(i,_,l,p,m,h){return t(),s("div",null,d)}const u=a(r,[["render",n]]);export{g as __pageData,u as default}; diff --git a/assets/docs_index.md.MXph_Dtz.js b/assets/docs_index.md.MXph_Dtz.js new file mode 100644 index 0000000..a5fbb1b --- /dev/null +++ b/assets/docs_index.md.MXph_Dtz.js @@ -0,0 +1,18 @@ +import{_ as s,o as a,c as e,U as t}from"./chunks/framework.zvL6SVfk.js";const b=JSON.parse('{"title":"前言","description":"","frontmatter":{},"headers":[],"relativePath":"docs/index.md","filePath":"docs/index.md","lastUpdated":1706549544000}'),o={name:"docs/index.md"},i=t(`

前言

本教程包含 Android 设备的 Root刷机 教程,以及 Magisk 模块的使用方法和注意事项,供刷写机器时进行速查或者作为入门教程。

仓库地址是 sudoskys/Root

WARNING

刷写机器有风险,刷机前请做好备份。 因为机型众多,本教程难免疏漏,请多多询问同机型用户。如果对自己的能力感到怀疑,请委托专人刷写机器。 作者不会对刷机过程中的任何损失负责。

快速开始

此页面为快速开始,介绍整个流程。

我为 VAB分区 SELinux 撰写的其他科普专题,请点击左侧导航栏。

什么是 Root

Root,即超级用户,是 Android 系统中的最高权限,拥有 Root 权限的用户可以对系统进行任意修改,包括删除系统自带的应用、修改系统文件、更换系统字体、更换系统主题、更换系统开机动画等等。[^1]

但是厂商并不希望用户获取 Root 权限,因为这会破坏系统安全,并且可能会被不法分子利用。

目前,最流行的 Root 框架是 Magisk,我们使用 adbfastboot 工具链接手机和烧录 Magisk 修补后的分区文件,来获取 Root 权限。

下文将会主要介绍这种方法。

TIP

因为 Android 阵营厂商众多,的确很难保证他们步伐齐一,所以本教程只会介绍通用的刷机方法和几个专题。 如果你的机型不在本教程中,可以尝试在 xda-developers 或 知乎,酷安 上搜索你的机型。

还没有买手机?

如果你还没有买手机,可以参考 Bootloader 解锁各厂商支持列表

流程(线刷)

引用 少数派教程^3 的大致流程图如下:

引用自少数派

要查询你的机型是否可以刷机,需要做以下几步调查:

  • 是否允许解锁 Bootloader
  • 是否有可用的同系统版本的 Rom 包
  • 刷写分区是 boot 还是 init_boot
  • 如果没有,是否有其他玩家成功刷入
  • 如果没有,论坛询问其他玩家

备份数据

利用手机自带的备份功能,备份好你的数据,比如短信、通讯录、照片、视频、聊天记录、音乐等等。

接下来的操作会清除你的手机数据,所以请务必备份你的数据到其他存储设备

准备刷写环境

寻找一键工具箱

如果你的机型有一键工具箱,那么你可以直接使用它来刷机,类似 大侠阿木的 一加全能工具箱

如果你觉得仍然有必要学习刷机的话,那么你可以继续阅读本教程。

准备 Magisk

为了准备修补系统分区获取 Root 权限,请从 Github 下载最新版本 Magisk。

Ramdisk 是系统中的一个小分区,Ramdisk 告诉系统需要加载哪些东西。而 Magisk 的目的就是修改 Ramdsik,把自己加进开机需要加载的系统组件中。

WARNING

安装 Magisk Manager 后如果主页面 Ramdisk,那么你才可以用面具刷写机器,反之只能放弃线刷。 当 Ramdisk 的值为「否」时,表示需要修改的 Ramdisk 被放在了 recovery.img 中,我们需要提取并修改 recovery.img,具体详情需要查阅专题。

TIP

少数小米设备存在检测设备信息错误的问题,Ramdisk 虽然显示为 ,但实际上需要修改 boot.img,具体请询问相同机型的刷机爱好者。

安装手机驱动

你必须安装驱动才能调试你的设备。不同的安卓系统需要不同的驱动,它们一般由手机厂商提供。

如果你持有 Google 手机,你可以安装 Google USB 驱动

其他厂商的驱动如下表所示:

OEMDriver URL
Acerhttps://www.acer.com/worldwide/support/
Alcatel Mobilehttps://www.alcatelmobile.com/support/
Asushttps://www.asus.com/support/Download-Center/
Blackberryhttps://swdownloads.blackberry.com/Downloads/entry.do?code=4EE0932F46276313B51570F46266A608
Dellhttps://support.dell.com/support/downloads/index.aspx?c=us&cs=19&l=en&s=dhs&~ck=anavml
FCNThttps://www.fcnt.com/support/develop/#anc-03
HTChttps://www.htc.com/support
Huaweihttps://consumer.huawei.com/en/support/index.htm
Intelhttps://www.intel.com/software/android
Kyocerahttps://kyoceramobile.com/support/drivers/
Lenovohttps://support.lenovo.com/us/en/GlobalProductSelector
LGEhttps://www.lg.com/us/support/software-firmware
Motorolahttps://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481/
MTKhttp://online.mediatek.com/Public%20Documents/MTK_Android_USB_Driver.zip(ZIP download)
Samsunghttps://developer.samsung.com/galaxy/others/android-usb-driver-for-windows
Sharphttp://k-tai.sharp.co.jp/support/
Sony Mobile Communicationshttps://developer.sonymobile.com/downloads/drivers/
Toshibahttps://support.toshiba.com/sscontent?docId=4001814
Xiaomihttps://web.vip.miui.com/page/info/mio/mio/detail?postId=18464849&app_version=dev.20051
ZTEhttp://support.zte.com.cn/support/news/NewsDetail.aspx?newsId=1000442

表中数据来自 Install OEM USB drivers

安装 adbfastboot 工具

手动安装

  • Windows10 系统

按住 shift 键,点击 右键,选择 在此处打开 PowerShell 窗口

输入以下命令:

shell
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
+Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
+scoop install aria2
+scoop install main/adb

等待安装完成。

  • Linux 系统
shell
# Debian
+sudo apt install android-tools-adb 
+sudo apt install android-tools-fastboot
+# CentOS
+sudo yum install android-tools
+sudo yum install android-tools-fastboot
+# Arch
+sudo pacman -S android-tools
  • macOS 系统
shell
brew install android-platform-tools

测试 adb 链接

关于手机 中找到 版本号,连续点击,进入开发者模式,打开 USB调试

使用可靠的 USB 数据线连接手机和电脑。

在弹出窗口中选择 允许文件传输一律允许此设备进行 USB 调试

打开 PowerShell终端,输入 adb devices 列出设备,如果出现以下结果,说明链接成功。

shell
List of devices attached
+xxx device

TIP

如果你在之后的步骤中遇到了 xxx offline 的问题(例如在切换到同设备的其他系统)。 请按照下面的操作重启链接。

  • 拔掉 USB 数据线
  • 在电脑终端输入 adb kill-server 关闭 adb 服务,然后输入 adb start-server 重启 adb 服务
  • 在手机中关闭 USB调试
  • 撤销 USB调试 的授权
  • 重新插入 USB 数据线
  • 重新打开 USB调试 并授权

使用 adbfastboot 工具的小技巧

  • ADB
shell
adb reboot bootloader     #进入 Bootloader 模式-
+adb shell                 #启动 ADB 终端--
+adb push <local> <remote> #从本地复制文件到设备---
+adb pull <remote> <local> #从设备复制文件到本地----
  • Fastboot
shell
fastboot reboot

解锁 Bootloader

DANGER

解锁 Bootloader 会清除你的手机数据。 解锁 Bootloader 后,你可能会面临失去保修,损坏 TTE ,无法使用某些应用,无法升级系统等问题。

请阅读 Bootloader 解锁支持列表

Bootloader 是 Android 系统开始运行前的一个小程序,它是运行的第一个程序。

Bootloader 由 OEM厂商(华为、小米和三星等)锁定,或由运营商限制,以防止用户安装其他系统。我们需要解锁 Bootloader 才能。

解锁 Bootloader 会清除手机内的所有数据,所以在解锁前请做好备份。

一些安卓厂商会开放解锁 Bootloader 的权限,比如一加,或者设置一些门槛,比如小米采用答题 来测试用户水平。

有些安卓厂商会禁止解锁 Bootloader ,比如华为的部分机型。

TIP

除了官方的解锁方式,还有一些第三方的解锁方式,比如 9008短接/线刷MTK漏洞。 当然,还有万能的淘宝。

解锁步骤

使用可靠的 USB 数据线连接手机和电脑。

关于手机 中找到 版本号,连续点击,进入开发者模式,打开 OEM解锁USB调试。OEM 必须一直开启。

使用ADB命令 adb reboot bootloader 重启手机,进入 Bootloader 模式。

进入 Bootloader 模式的其他方法

你可以使用 adb 工具指示手机进入 Bootloader 模式。 对于某些手机,你还也可以使用按键组合进入 Bootloader 模式,比如按 电源键 重启,马上按住 音量键-

输入 fastboot flashing unlock 解锁。详见 安卓开发者文档-锁定/解锁引导加载程序

在手机上使用音量键选择 UNLOCK THE BOOTLOADER,按 电源键 确认。

准备文件

在手机的 关于手机 中,寻找系统版本号,记录下来。然后去下载对应的全量包或 boot 分区文件。

关于全量包

官方 ROM 的压缩包,例如 Google小米Moto,它们由厂商发布,可从固定的发布页面、机型论坛等下载符合你的机型和型号的 Rom. 一些厂商同时提供了 OTA包 和 全量包 ,我们优先下载全量包,解压后即可获得 boot.img,也就是我们所需要的 boot 分区的镜像文件。 如果你使用的是第三方开发者制作的 ROM,也同样需要下载系统全量包解压获取,而部分开发者也会单独释出 boot.img 为玩家提供便利。 如果你的机型没有释放对应的 ROM 包,但是机器为联发科(天矶<920),你可以利用芯片漏洞提取 boot.img

下载全量包后,如果打开发现 pyload.bin,那么你需要使用 payload dumper 工具解包,请下载 payload-dumper-go 按照操作解包。

工具如何使用

请打开浏览器的翻译功能,翻译 这个页面

解包的过程需要大约 镜像大小*3 硬盘空间。

WARNING

Android 12 及更高版本的设备的架构中,包含通用 ramdisk 的为新 init_boot 映像,而不是传统的 boot 映像。 所以如果你的设备是 Android 12 及更高版本,你需要使用 init_boot.img 镜像文件。参考 安卓开发文档-通用Boot镜像

准备修补

将镜像通过文叔叔或数据线传递到手机,打开 Magisk Manager ,点击 Magisk 后边的安装,选择安装方式为 选择并修改一个文件 ,从手机端复制 boot.img 文件到手机并选中该文件,点击开始 ,仔细阅读修改结果并从结果中复制patch后的文件(一般在 Download 文件夹下,文件名类似magisk_patched-24100_gk0te.img)到电脑。

INFO

有些安卓10及以上机型刷入修改的 boot 后可能会由于 vbmeta.img 的验证导致设备无法启动 ,可尝试保持 boot 镜像 中的 vbmeta,此选项在最新版面具中已支持。

现在你有了修补后的 boot 分区镜像文件和原始的 boot 分区镜像文件,把它们都复制到电脑上备用。

准备刷写

A/B分区

从安卓 7.0 开始,厂商们引入了新的OTA升级方式 A/B System Updates,这种升级方式将 boot 等分区变为两套,叫做 slot A (boot_a,system_a...) 和 slot B(boot_b, system_b...),平时使用的叫主分区,不用的叫备用分区。 系统升级时主备切换可以做到无缝升级。

为了解决双倍占用的问题,就有了 VAB 虚拟AB分区 (普遍见于安卓11以上的机器)。 VAB 的一个分区出现问题,另一个也会受到影响。

你可以在 运行 adb shell getprop ro.boot.slot_suffix 获取当前分区。

  • 临时启动

如果你的机器支持 fastboot boot,那么你可以使用 fastboot boot <修改后的 boot.img 路径> 来临时启动 Magisk。 但是下次启动就会失去 Root 权限。

  • 刷写

使用 adb 命令 adb reboot bootloader 重启手机,进入 Bootloader 模式。

使用 fastboot 命令 fastboot devices 检查设备是否连接,如果没有则为驱动问题。

使用 fastboot 命令 fastboot flash boot <修改后的 boot.img 路径> 刷写镜像。

输出类似以下结果,说明刷写成功。

shell
PS C:\\114514\\Downloads> fastboot flash boot .\\magisk_patched-20000_AAAAA.img
+Sending 'boot' (29079 KB)                          OKAY [  0.936s]
+Writing 'boot'                                     OKAY [  0.878s]
+Finished. Total time: 2.085s

注意事项

如果你的机型是 A/B 分区,那么你需要刷写 boot_aboot_b 分区,否则可能不生效。 如果你的机器有 init_boot.img 分区,那么你需要用命令 fastboot flash init_boot 刷写 init_boot 分区。

使用 fastboot 命令 fastboot reboot 重启手机。

如果重启失败,刷写回原始的 boot 分区镜像文件,就可以修复。

如果重启成功,打开 Magisk Manager ,如果显示 安装,那么说明刷写成功。

但是刷机并没有完全结束,你还需要进行一些配置。

`,103),l=[i];function d(r,p,n,h,c,k){return a(),e("div",null,l)}const F=s(o,[["render",d]]);export{b as __pageData,F as default}; diff --git a/assets/docs_index.md.MXph_Dtz.lean.js b/assets/docs_index.md.MXph_Dtz.lean.js new file mode 100644 index 0000000..f63cb44 --- /dev/null +++ b/assets/docs_index.md.MXph_Dtz.lean.js @@ -0,0 +1 @@ +import{_ as s,o as a,c as e,U as t}from"./chunks/framework.zvL6SVfk.js";const b=JSON.parse('{"title":"前言","description":"","frontmatter":{},"headers":[],"relativePath":"docs/index.md","filePath":"docs/index.md","lastUpdated":1706549544000}'),o={name:"docs/index.md"},i=t("",103),l=[i];function d(r,p,n,h,c,k){return a(),e("div",null,l)}const F=s(o,[["render",d]]);export{b as __pageData,F as default}; diff --git a/assets/docs_kernelsu.md.cXutu6xB.js b/assets/docs_kernelsu.md.cXutu6xB.js new file mode 100644 index 0000000..8fcdc09 --- /dev/null +++ b/assets/docs_kernelsu.md.cXutu6xB.js @@ -0,0 +1 @@ +import{_ as a,o as t,c as s,m as e,a as r}from"./chunks/framework.zvL6SVfk.js";const u=JSON.parse('{"title":"施工中","description":"","frontmatter":{},"headers":[],"relativePath":"docs/kernelsu.md","filePath":"docs/kernelsu.md","lastUpdated":1706578911000}'),o={name:"docs/kernelsu.md"},n=e("h1",{id:"施工中",tabindex:"-1"},[r("施工中 "),e("a",{class:"header-anchor",href:"#施工中","aria-label":'Permalink to "施工中"'},"​")],-1),c=[n];function d(l,i,_,p,m,h){return t(),s("div",null,c)}const k=a(o,[["render",d]]);export{u as __pageData,k as default}; diff --git a/assets/docs_kernelsu.md.cXutu6xB.lean.js b/assets/docs_kernelsu.md.cXutu6xB.lean.js new file mode 100644 index 0000000..8fcdc09 --- /dev/null +++ b/assets/docs_kernelsu.md.cXutu6xB.lean.js @@ -0,0 +1 @@ +import{_ as a,o as t,c as s,m as e,a as r}from"./chunks/framework.zvL6SVfk.js";const u=JSON.parse('{"title":"施工中","description":"","frontmatter":{},"headers":[],"relativePath":"docs/kernelsu.md","filePath":"docs/kernelsu.md","lastUpdated":1706578911000}'),o={name:"docs/kernelsu.md"},n=e("h1",{id:"施工中",tabindex:"-1"},[r("施工中 "),e("a",{class:"header-anchor",href:"#施工中","aria-label":'Permalink to "施工中"'},"​")],-1),c=[n];function d(l,i,_,p,m,h){return t(),s("div",null,c)}const k=a(o,[["render",d]]);export{u as __pageData,k as default}; diff --git a/assets/docs_mtk_vul.md.x0mChdRu.js b/assets/docs_mtk_vul.md.x0mChdRu.js new file mode 100644 index 0000000..1dac557 --- /dev/null +++ b/assets/docs_mtk_vul.md.x0mChdRu.js @@ -0,0 +1 @@ +import{_ as t,o as a,c as s,m as e,a as o}from"./chunks/framework.zvL6SVfk.js";const u=JSON.parse('{"title":"施工中","description":"","frontmatter":{},"headers":[],"relativePath":"docs/mtk_vul.md","filePath":"docs/mtk_vul.md","lastUpdated":1706578911000}'),r={name:"docs/mtk_vul.md"},c=e("h1",{id:"施工中",tabindex:"-1"},[o("施工中 "),e("a",{class:"header-anchor",href:"#施工中","aria-label":'Permalink to "施工中"'},"​")],-1),d=[c];function n(_,l,i,m,p,h){return a(),s("div",null,d)}const k=t(r,[["render",n]]);export{u as __pageData,k as default}; diff --git a/assets/docs_mtk_vul.md.x0mChdRu.lean.js b/assets/docs_mtk_vul.md.x0mChdRu.lean.js new file mode 100644 index 0000000..1dac557 --- /dev/null +++ b/assets/docs_mtk_vul.md.x0mChdRu.lean.js @@ -0,0 +1 @@ +import{_ as t,o as a,c as s,m as e,a as o}from"./chunks/framework.zvL6SVfk.js";const u=JSON.parse('{"title":"施工中","description":"","frontmatter":{},"headers":[],"relativePath":"docs/mtk_vul.md","filePath":"docs/mtk_vul.md","lastUpdated":1706578911000}'),r={name:"docs/mtk_vul.md"},c=e("h1",{id:"施工中",tabindex:"-1"},[o("施工中 "),e("a",{class:"header-anchor",href:"#施工中","aria-label":'Permalink to "施工中"'},"​")],-1),d=[c];function n(_,l,i,m,p,h){return a(),s("div",null,d)}const k=t(r,[["render",n]]);export{u as __pageData,k as default}; diff --git a/assets/docs_optimize.md.jw4QeG1q.js b/assets/docs_optimize.md.jw4QeG1q.js new file mode 100644 index 0000000..0030fcd --- /dev/null +++ b/assets/docs_optimize.md.jw4QeG1q.js @@ -0,0 +1 @@ +import{_ as t,o as a,c as o,m as e,a as s}from"./chunks/framework.zvL6SVfk.js";const u=JSON.parse('{"title":"施工中","description":"","frontmatter":{},"headers":[],"relativePath":"docs/optimize.md","filePath":"docs/optimize.md","lastUpdated":1706578911000}'),r={name:"docs/optimize.md"},c=e("h1",{id:"施工中",tabindex:"-1"},[s("施工中 "),e("a",{class:"header-anchor",href:"#施工中","aria-label":'Permalink to "施工中"'},"​")],-1),i=[c];function d(n,p,m,_,l,h){return a(),o("div",null,i)}const x=t(r,[["render",d]]);export{u as __pageData,x as default}; diff --git a/assets/docs_optimize.md.jw4QeG1q.lean.js b/assets/docs_optimize.md.jw4QeG1q.lean.js new file mode 100644 index 0000000..0030fcd --- /dev/null +++ b/assets/docs_optimize.md.jw4QeG1q.lean.js @@ -0,0 +1 @@ +import{_ as t,o as a,c as o,m as e,a as s}from"./chunks/framework.zvL6SVfk.js";const u=JSON.parse('{"title":"施工中","description":"","frontmatter":{},"headers":[],"relativePath":"docs/optimize.md","filePath":"docs/optimize.md","lastUpdated":1706578911000}'),r={name:"docs/optimize.md"},c=e("h1",{id:"施工中",tabindex:"-1"},[s("施工中 "),e("a",{class:"header-anchor",href:"#施工中","aria-label":'Permalink to "施工中"'},"​")],-1),i=[c];function d(n,p,m,_,l,h){return a(),o("div",null,i)}const x=t(r,[["render",d]]);export{u as __pageData,x as default}; diff --git a/assets/docs_partition.md.XwNI5O47.js b/assets/docs_partition.md.XwNI5O47.js new file mode 100644 index 0000000..213bf93 --- /dev/null +++ b/assets/docs_partition.md.XwNI5O47.js @@ -0,0 +1 @@ +import{_ as e,o as a,c as o,m as t,a as r}from"./chunks/framework.zvL6SVfk.js";const u=JSON.parse('{"title":"施工中","description":"","frontmatter":{},"headers":[],"relativePath":"docs/partition.md","filePath":"docs/partition.md","lastUpdated":1706578911000}'),s={name:"docs/partition.md"},n=t("h1",{id:"施工中",tabindex:"-1"},[r("施工中 "),t("a",{class:"header-anchor",href:"#施工中","aria-label":'Permalink to "施工中"'},"​")],-1),c=[n];function i(d,p,_,l,m,h){return a(),o("div",null,c)}const x=e(s,[["render",i]]);export{u as __pageData,x as default}; diff --git a/assets/docs_partition.md.XwNI5O47.lean.js b/assets/docs_partition.md.XwNI5O47.lean.js new file mode 100644 index 0000000..213bf93 --- /dev/null +++ b/assets/docs_partition.md.XwNI5O47.lean.js @@ -0,0 +1 @@ +import{_ as e,o as a,c as o,m as t,a as r}from"./chunks/framework.zvL6SVfk.js";const u=JSON.parse('{"title":"施工中","description":"","frontmatter":{},"headers":[],"relativePath":"docs/partition.md","filePath":"docs/partition.md","lastUpdated":1706578911000}'),s={name:"docs/partition.md"},n=t("h1",{id:"施工中",tabindex:"-1"},[r("施工中 "),t("a",{class:"header-anchor",href:"#施工中","aria-label":'Permalink to "施工中"'},"​")],-1),c=[n];function i(d,p,_,l,m,h){return a(),o("div",null,c)}const x=e(s,[["render",i]]);export{u as __pageData,x as default}; diff --git a/assets/docs_unbrick.md.8r_VtOhz.js b/assets/docs_unbrick.md.8r_VtOhz.js new file mode 100644 index 0000000..b59cb35 --- /dev/null +++ b/assets/docs_unbrick.md.8r_VtOhz.js @@ -0,0 +1 @@ +import{_ as a,o as t,c as r,m as e,a as s}from"./chunks/framework.zvL6SVfk.js";const u=JSON.parse('{"title":"施工中","description":"","frontmatter":{},"headers":[],"relativePath":"docs/unbrick.md","filePath":"docs/unbrick.md","lastUpdated":1706579410000}'),c={name:"docs/unbrick.md"},o=e("h1",{id:"施工中",tabindex:"-1"},[s("施工中 "),e("a",{class:"header-anchor",href:"#施工中","aria-label":'Permalink to "施工中"'},"​")],-1),n=[o];function d(i,_,l,p,m,h){return t(),r("div",null,n)}const k=a(c,[["render",d]]);export{u as __pageData,k as default}; diff --git a/assets/docs_unbrick.md.8r_VtOhz.lean.js b/assets/docs_unbrick.md.8r_VtOhz.lean.js new file mode 100644 index 0000000..b59cb35 --- /dev/null +++ b/assets/docs_unbrick.md.8r_VtOhz.lean.js @@ -0,0 +1 @@ +import{_ as a,o as t,c as r,m as e,a as s}from"./chunks/framework.zvL6SVfk.js";const u=JSON.parse('{"title":"施工中","description":"","frontmatter":{},"headers":[],"relativePath":"docs/unbrick.md","filePath":"docs/unbrick.md","lastUpdated":1706579410000}'),c={name:"docs/unbrick.md"},o=e("h1",{id:"施工中",tabindex:"-1"},[s("施工中 "),e("a",{class:"header-anchor",href:"#施工中","aria-label":'Permalink to "施工中"'},"​")],-1),n=[o];function d(i,_,l,p,m,h){return t(),r("div",null,n)}const k=a(c,[["render",d]]);export{u as __pageData,k as default}; diff --git a/assets/index.md.MhDXnfXh.js b/assets/index.md.MhDXnfXh.js new file mode 100644 index 0000000..1d86ce6 --- /dev/null +++ b/assets/index.md.MhDXnfXh.js @@ -0,0 +1 @@ +import{_ as t,o as e,c as o}from"./chunks/framework.zvL6SVfk.js";const p=JSON.parse('{"title":"Root Docs","description":"","frontmatter":{"layout":"home","title":"Root Docs","editLink":true,"hero":{"name":"RootDocs","text":"刷写机器指南和教程","tagline":"为快速刷写安卓机器编写的速查手册","actions":[{"theme":"brand","text":"阅读指南","link":"/docs/"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/sudoskys/Root/"}]},"features":[{"icon":"🛠️","title":"重新上手","details":"太久没刷机,忘记了怎么刷?打开本文档,重新快速上手。"},{"icon":"📚","title":"科普知识","details":"本文档包含了刷机所需的基础知识,让你更好的理解这些操作。"}]},"headers":[],"relativePath":"index.md","filePath":"index.md","lastUpdated":1706587775000}'),a={name:"index.md"};function i(n,s,c,d,r,l){return e(),o("div")}const _=t(a,[["render",i]]);export{p as __pageData,_ as default}; diff --git a/assets/index.md.MhDXnfXh.lean.js b/assets/index.md.MhDXnfXh.lean.js new file mode 100644 index 0000000..1d86ce6 --- /dev/null +++ b/assets/index.md.MhDXnfXh.lean.js @@ -0,0 +1 @@ +import{_ as t,o as e,c as o}from"./chunks/framework.zvL6SVfk.js";const p=JSON.parse('{"title":"Root Docs","description":"","frontmatter":{"layout":"home","title":"Root Docs","editLink":true,"hero":{"name":"RootDocs","text":"刷写机器指南和教程","tagline":"为快速刷写安卓机器编写的速查手册","actions":[{"theme":"brand","text":"阅读指南","link":"/docs/"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/sudoskys/Root/"}]},"features":[{"icon":"🛠️","title":"重新上手","details":"太久没刷机,忘记了怎么刷?打开本文档,重新快速上手。"},{"icon":"📚","title":"科普知识","details":"本文档包含了刷机所需的基础知识,让你更好的理解这些操作。"}]},"headers":[],"relativePath":"index.md","filePath":"index.md","lastUpdated":1706587775000}'),a={name:"index.md"};function i(n,s,c,d,r,l){return e(),o("div")}const _=t(a,[["render",i]]);export{p as __pageData,_ as default}; diff --git a/assets/inter-italic-cyrillic-ext.OVycGSDq.woff2 b/assets/inter-italic-cyrillic-ext.OVycGSDq.woff2 new file mode 100644 index 0000000..2a68729 Binary files /dev/null and b/assets/inter-italic-cyrillic-ext.OVycGSDq.woff2 differ diff --git a/assets/inter-italic-cyrillic.-nLMcIwj.woff2 b/assets/inter-italic-cyrillic.-nLMcIwj.woff2 new file mode 100644 index 0000000..f640351 Binary files /dev/null and b/assets/inter-italic-cyrillic.-nLMcIwj.woff2 differ diff --git a/assets/inter-italic-greek-ext.hznxWNZO.woff2 b/assets/inter-italic-greek-ext.hznxWNZO.woff2 new file mode 100644 index 0000000..0021896 Binary files /dev/null and b/assets/inter-italic-greek-ext.hznxWNZO.woff2 differ diff --git a/assets/inter-italic-greek.PSfer2Kc.woff2 b/assets/inter-italic-greek.PSfer2Kc.woff2 new file mode 100644 index 0000000..71c265f Binary files /dev/null and b/assets/inter-italic-greek.PSfer2Kc.woff2 differ diff --git a/assets/inter-italic-latin-ext.RnFly65-.woff2 b/assets/inter-italic-latin-ext.RnFly65-.woff2 new file mode 100644 index 0000000..9c1b944 Binary files /dev/null and b/assets/inter-italic-latin-ext.RnFly65-.woff2 differ diff --git a/assets/inter-italic-latin.27E69YJn.woff2 b/assets/inter-italic-latin.27E69YJn.woff2 new file mode 100644 index 0000000..01fcf20 Binary files /dev/null and b/assets/inter-italic-latin.27E69YJn.woff2 differ diff --git a/assets/inter-italic-vietnamese.xzQHe1q1.woff2 b/assets/inter-italic-vietnamese.xzQHe1q1.woff2 new file mode 100644 index 0000000..e4f788e Binary files /dev/null and b/assets/inter-italic-vietnamese.xzQHe1q1.woff2 differ diff --git a/assets/inter-roman-cyrillic-ext.8T9wMG5w.woff2 b/assets/inter-roman-cyrillic-ext.8T9wMG5w.woff2 new file mode 100644 index 0000000..28593cc Binary files /dev/null and b/assets/inter-roman-cyrillic-ext.8T9wMG5w.woff2 differ diff --git a/assets/inter-roman-cyrillic.jIZ9REo5.woff2 b/assets/inter-roman-cyrillic.jIZ9REo5.woff2 new file mode 100644 index 0000000..a20adc1 Binary files /dev/null and b/assets/inter-roman-cyrillic.jIZ9REo5.woff2 differ diff --git a/assets/inter-roman-greek-ext.9JiNzaSO.woff2 b/assets/inter-roman-greek-ext.9JiNzaSO.woff2 new file mode 100644 index 0000000..e3b0be7 Binary files /dev/null and b/assets/inter-roman-greek-ext.9JiNzaSO.woff2 differ diff --git a/assets/inter-roman-greek.Cb5wWeGA.woff2 b/assets/inter-roman-greek.Cb5wWeGA.woff2 new file mode 100644 index 0000000..f790e04 Binary files /dev/null and b/assets/inter-roman-greek.Cb5wWeGA.woff2 differ diff --git a/assets/inter-roman-latin-ext.GZWE-KO4.woff2 b/assets/inter-roman-latin-ext.GZWE-KO4.woff2 new file mode 100644 index 0000000..715bd90 Binary files /dev/null and b/assets/inter-roman-latin-ext.GZWE-KO4.woff2 differ diff --git a/assets/inter-roman-latin.bvIUbFQP.woff2 b/assets/inter-roman-latin.bvIUbFQP.woff2 new file mode 100644 index 0000000..a540b7a Binary files /dev/null and b/assets/inter-roman-latin.bvIUbFQP.woff2 differ diff --git a/assets/inter-roman-vietnamese.paY3CzEB.woff2 b/assets/inter-roman-vietnamese.paY3CzEB.woff2 new file mode 100644 index 0000000..5a9f9cb Binary files /dev/null and b/assets/inter-roman-vietnamese.paY3CzEB.woff2 differ diff --git a/assets/style.l1k2qvwn.css b/assets/style.l1k2qvwn.css new file mode 100644 index 0000000..f407c32 --- /dev/null +++ b/assets/style.l1k2qvwn.css @@ -0,0 +1 @@ +@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/assets/inter-roman-cyrillic.jIZ9REo5.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/assets/inter-roman-cyrillic-ext.8T9wMG5w.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/assets/inter-roman-greek.Cb5wWeGA.woff2) format("woff2");unicode-range:U+0370-03FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/assets/inter-roman-greek-ext.9JiNzaSO.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/assets/inter-roman-latin.bvIUbFQP.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/assets/inter-roman-latin-ext.GZWE-KO4.woff2) format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/assets/inter-roman-vietnamese.paY3CzEB.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/assets/inter-italic-cyrillic.-nLMcIwj.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/assets/inter-italic-cyrillic-ext.OVycGSDq.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/assets/inter-italic-greek.PSfer2Kc.woff2) format("woff2");unicode-range:U+0370-03FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/assets/inter-italic-greek-ext.hznxWNZO.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/assets/inter-italic-latin.27E69YJn.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/assets/inter-italic-latin-ext.RnFly65-.woff2) format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/assets/inter-italic-vietnamese.xzQHe1q1.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}@font-face{font-family:Chinese Quotes;src:local("PingFang SC Regular"),local("PingFang SC"),local("SimHei"),local("Source Han Sans SC");unicode-range:U+2018,U+2019,U+201C,U+201D}:root{--vp-c-white: #ffffff;--vp-c-black: #000000;--vp-c-neutral: var(--vp-c-black);--vp-c-neutral-inverse: var(--vp-c-white)}.dark{--vp-c-neutral: var(--vp-c-white);--vp-c-neutral-inverse: var(--vp-c-black)}:root{--vp-c-gray-1: #dddde3;--vp-c-gray-2: #e4e4e9;--vp-c-gray-3: #ebebef;--vp-c-gray-soft: rgba(142, 150, 170, .14);--vp-c-indigo-1: #3451b2;--vp-c-indigo-2: #3a5ccc;--vp-c-indigo-3: #5672cd;--vp-c-indigo-soft: rgba(100, 108, 255, .14);--vp-c-green-1: #18794e;--vp-c-green-2: #299764;--vp-c-green-3: #30a46c;--vp-c-green-soft: rgba(16, 185, 129, .14);--vp-c-yellow-1: #915930;--vp-c-yellow-2: #946300;--vp-c-yellow-3: #9f6a00;--vp-c-yellow-soft: rgba(234, 179, 8, .14);--vp-c-red-1: #b8272c;--vp-c-red-2: #d5393e;--vp-c-red-3: #e0575b;--vp-c-red-soft: rgba(244, 63, 94, .14);--vp-c-sponsor: #db2777}.dark{--vp-c-gray-1: #515c67;--vp-c-gray-2: #414853;--vp-c-gray-3: #32363f;--vp-c-gray-soft: rgba(101, 117, 133, .16);--vp-c-indigo-1: #a8b1ff;--vp-c-indigo-2: #5c73e7;--vp-c-indigo-3: #3e63dd;--vp-c-indigo-soft: rgba(100, 108, 255, .16);--vp-c-green-1: #3dd68c;--vp-c-green-2: #30a46c;--vp-c-green-3: #298459;--vp-c-green-soft: rgba(16, 185, 129, .16);--vp-c-yellow-1: #f9b44e;--vp-c-yellow-2: #da8b17;--vp-c-yellow-3: #a46a0a;--vp-c-yellow-soft: rgba(234, 179, 8, .16);--vp-c-red-1: #f66f81;--vp-c-red-2: #f14158;--vp-c-red-3: #b62a3c;--vp-c-red-soft: rgba(244, 63, 94, .16)}:root{--vp-c-bg: #ffffff;--vp-c-bg-alt: #f6f6f7;--vp-c-bg-elv: #ffffff;--vp-c-bg-soft: #f6f6f7}.dark{--vp-c-bg: #1b1b1f;--vp-c-bg-alt: #161618;--vp-c-bg-elv: #202127;--vp-c-bg-soft: #202127}:root{--vp-c-border: #c2c2c4;--vp-c-divider: #e2e2e3;--vp-c-gutter: #e2e2e3}.dark{--vp-c-border: #3c3f44;--vp-c-divider: #2e2e32;--vp-c-gutter: #000000}:root{--vp-c-text-1: rgba(60, 60, 67);--vp-c-text-2: rgba(60, 60, 67, .78);--vp-c-text-3: rgba(60, 60, 67, .56)}.dark{--vp-c-text-1: rgba(255, 255, 245, .86);--vp-c-text-2: rgba(235, 235, 245, .6);--vp-c-text-3: rgba(235, 235, 245, .38)}:root{--vp-c-default-1: var(--vp-c-gray-1);--vp-c-default-2: var(--vp-c-gray-2);--vp-c-default-3: var(--vp-c-gray-3);--vp-c-default-soft: var(--vp-c-gray-soft);--vp-c-brand-1: var(--vp-c-indigo-1);--vp-c-brand-2: var(--vp-c-indigo-2);--vp-c-brand-3: var(--vp-c-indigo-3);--vp-c-brand-soft: var(--vp-c-indigo-soft);--vp-c-brand: var(--vp-c-brand-1);--vp-c-tip-1: var(--vp-c-brand-1);--vp-c-tip-2: var(--vp-c-brand-2);--vp-c-tip-3: var(--vp-c-brand-3);--vp-c-tip-soft: var(--vp-c-brand-soft);--vp-c-warning-1: var(--vp-c-yellow-1);--vp-c-warning-2: var(--vp-c-yellow-2);--vp-c-warning-3: var(--vp-c-yellow-3);--vp-c-warning-soft: var(--vp-c-yellow-soft);--vp-c-danger-1: var(--vp-c-red-1);--vp-c-danger-2: var(--vp-c-red-2);--vp-c-danger-3: var(--vp-c-red-3);--vp-c-danger-soft: var(--vp-c-red-soft)}:root{--vp-font-family-base: "Chinese Quotes", "Inter var", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--vp-font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}:root{--vp-shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .06);--vp-shadow-2: 0 3px 12px rgba(0, 0, 0, .07), 0 1px 4px rgba(0, 0, 0, .07);--vp-shadow-3: 0 12px 32px rgba(0, 0, 0, .1), 0 2px 6px rgba(0, 0, 0, .08);--vp-shadow-4: 0 14px 44px rgba(0, 0, 0, .12), 0 3px 9px rgba(0, 0, 0, .12);--vp-shadow-5: 0 18px 56px rgba(0, 0, 0, .16), 0 4px 12px rgba(0, 0, 0, .16)}:root{--vp-z-index-footer: 10;--vp-z-index-local-nav: 20;--vp-z-index-nav: 30;--vp-z-index-layout-top: 40;--vp-z-index-backdrop: 50;--vp-z-index-sidebar: 60}@media (min-width: 960px){:root{--vp-z-index-sidebar: 25}}:root{--vp-icon-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' height='20' width='20' stroke='rgba(128,128,128,1)' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2'/%3E%3C/svg%3E");--vp-icon-copied: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' height='20' width='20' stroke='rgba(128,128,128,1)' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2m-6 9 2 2 4-4'/%3E%3C/svg%3E")}:root{--vp-layout-max-width: 1440px}:root{--vp-header-anchor-symbol: "#"}:root{--vp-code-line-height: 1.7;--vp-code-font-size: .875em;--vp-code-color: var(--vp-c-brand-1);--vp-code-link-color: var(--vp-c-brand-1);--vp-code-link-hover-color: var(--vp-c-brand-2);--vp-code-bg: var(--vp-c-default-soft);--vp-code-block-color: var(--vp-c-text-2);--vp-code-block-bg: var(--vp-c-bg-alt);--vp-code-block-divider-color: var(--vp-c-gutter);--vp-code-lang-color: var(--vp-c-text-3);--vp-code-line-highlight-color: var(--vp-c-default-soft);--vp-code-line-number-color: var(--vp-c-text-3);--vp-code-line-diff-add-color: var(--vp-c-green-soft);--vp-code-line-diff-add-symbol-color: var(--vp-c-green-1);--vp-code-line-diff-remove-color: var(--vp-c-red-soft);--vp-code-line-diff-remove-symbol-color: var(--vp-c-red-1);--vp-code-line-warning-color: var(--vp-c-yellow-soft);--vp-code-line-error-color: var(--vp-c-red-soft);--vp-code-copy-code-border-color: var(--vp-c-divider);--vp-code-copy-code-bg: var(--vp-c-bg-soft);--vp-code-copy-code-hover-border-color: var(--vp-c-divider);--vp-code-copy-code-hover-bg: var(--vp-c-bg);--vp-code-copy-code-active-text: var(--vp-c-text-2);--vp-code-copy-copied-text-content: "Copied";--vp-code-tab-divider: var(--vp-code-block-divider-color);--vp-code-tab-text-color: var(--vp-c-text-2);--vp-code-tab-bg: var(--vp-code-block-bg);--vp-code-tab-hover-text-color: var(--vp-c-text-1);--vp-code-tab-active-text-color: var(--vp-c-text-1);--vp-code-tab-active-bar-color: var(--vp-c-brand-1)}:root{--vp-button-brand-border: transparent;--vp-button-brand-text: var(--vp-c-white);--vp-button-brand-bg: var(--vp-c-brand-3);--vp-button-brand-hover-border: transparent;--vp-button-brand-hover-text: var(--vp-c-white);--vp-button-brand-hover-bg: var(--vp-c-brand-2);--vp-button-brand-active-border: transparent;--vp-button-brand-active-text: var(--vp-c-white);--vp-button-brand-active-bg: var(--vp-c-brand-1);--vp-button-alt-border: transparent;--vp-button-alt-text: var(--vp-c-text-1);--vp-button-alt-bg: var(--vp-c-default-3);--vp-button-alt-hover-border: transparent;--vp-button-alt-hover-text: var(--vp-c-text-1);--vp-button-alt-hover-bg: var(--vp-c-default-2);--vp-button-alt-active-border: transparent;--vp-button-alt-active-text: var(--vp-c-text-1);--vp-button-alt-active-bg: var(--vp-c-default-1);--vp-button-sponsor-border: var(--vp-c-text-2);--vp-button-sponsor-text: var(--vp-c-text-2);--vp-button-sponsor-bg: transparent;--vp-button-sponsor-hover-border: var(--vp-c-sponsor);--vp-button-sponsor-hover-text: var(--vp-c-sponsor);--vp-button-sponsor-hover-bg: transparent;--vp-button-sponsor-active-border: var(--vp-c-sponsor);--vp-button-sponsor-active-text: var(--vp-c-sponsor);--vp-button-sponsor-active-bg: transparent}:root{--vp-custom-block-font-size: 14px;--vp-custom-block-code-font-size: 13px;--vp-custom-block-info-border: transparent;--vp-custom-block-info-text: var(--vp-c-text-1);--vp-custom-block-info-bg: var(--vp-c-default-soft);--vp-custom-block-info-code-bg: var(--vp-c-default-soft);--vp-custom-block-tip-border: transparent;--vp-custom-block-tip-text: var(--vp-c-text-1);--vp-custom-block-tip-bg: var(--vp-c-brand-soft);--vp-custom-block-tip-code-bg: var(--vp-c-brand-soft);--vp-custom-block-warning-border: transparent;--vp-custom-block-warning-text: var(--vp-c-text-1);--vp-custom-block-warning-bg: var(--vp-c-warning-soft);--vp-custom-block-warning-code-bg: var(--vp-c-warning-soft);--vp-custom-block-danger-border: transparent;--vp-custom-block-danger-text: var(--vp-c-text-1);--vp-custom-block-danger-bg: var(--vp-c-danger-soft);--vp-custom-block-danger-code-bg: var(--vp-c-danger-soft);--vp-custom-block-details-border: var(--vp-custom-block-info-border);--vp-custom-block-details-text: var(--vp-custom-block-info-text);--vp-custom-block-details-bg: var(--vp-custom-block-info-bg);--vp-custom-block-details-code-bg: var(--vp-custom-block-info-code-bg)}:root{--vp-input-border-color: var(--vp-c-border);--vp-input-bg-color: var(--vp-c-bg-alt);--vp-input-switch-bg-color: var(--vp-c-gray-soft)}:root{--vp-nav-height: 64px;--vp-nav-bg-color: var(--vp-c-bg);--vp-nav-screen-bg-color: var(--vp-c-bg);--vp-nav-logo-height: 24px}.hide-nav{--vp-nav-height: 0px}.hide-nav .VPSidebar{--vp-nav-height: 22px}:root{--vp-local-nav-bg-color: var(--vp-c-bg)}:root{--vp-sidebar-width: 272px;--vp-sidebar-bg-color: var(--vp-c-bg-alt)}:root{--vp-backdrop-bg-color: rgba(0, 0, 0, .6)}:root{--vp-home-hero-name-color: var(--vp-c-brand-1);--vp-home-hero-name-background: transparent;--vp-home-hero-image-background-image: none;--vp-home-hero-image-filter: none}:root{--vp-badge-info-border: transparent;--vp-badge-info-text: var(--vp-c-text-2);--vp-badge-info-bg: var(--vp-c-default-soft);--vp-badge-tip-border: transparent;--vp-badge-tip-text: var(--vp-c-brand-1);--vp-badge-tip-bg: var(--vp-c-brand-soft);--vp-badge-warning-border: transparent;--vp-badge-warning-text: var(--vp-c-warning-1);--vp-badge-warning-bg: var(--vp-c-warning-soft);--vp-badge-danger-border: transparent;--vp-badge-danger-text: var(--vp-c-danger-1);--vp-badge-danger-bg: var(--vp-c-danger-soft)}:root{--vp-carbon-ads-text-color: var(--vp-c-text-1);--vp-carbon-ads-poweredby-color: var(--vp-c-text-2);--vp-carbon-ads-bg-color: var(--vp-c-bg-soft);--vp-carbon-ads-hover-text-color: var(--vp-c-brand-1);--vp-carbon-ads-hover-poweredby-color: var(--vp-c-text-1)}:root{--vp-local-search-bg: var(--vp-c-bg);--vp-local-search-result-bg: var(--vp-c-bg);--vp-local-search-result-border: var(--vp-c-divider);--vp-local-search-result-selected-bg: var(--vp-c-bg);--vp-local-search-result-selected-border: var(--vp-c-brand-1);--vp-local-search-highlight-bg: var(--vp-c-brand-1);--vp-local-search-highlight-text: var(--vp-c-neutral-inverse)}@media (prefers-reduced-motion: reduce){*,:before,:after{animation-delay:-1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important;background-attachment:initial!important;scroll-behavior:auto!important;transition-duration:0s!important;transition-delay:0s!important}}*,:before,:after{box-sizing:border-box}html{line-height:1.4;font-size:16px;-webkit-text-size-adjust:100%}html.dark{color-scheme:dark}body{margin:0;width:100%;min-width:320px;min-height:100vh;line-height:24px;font-family:var(--vp-font-family-base);font-size:16px;font-weight:400;color:var(--vp-c-text-1);background-color:var(--vp-c-bg);font-synthesis:style;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}main{display:block}h1,h2,h3,h4,h5,h6{margin:0;line-height:24px;font-size:16px;font-weight:400}p{margin:0}strong,b{font-weight:600}a,area,button,[role=button],input,label,select,summary,textarea{touch-action:manipulation}a{color:inherit;text-decoration:inherit}ol,ul{list-style:none;margin:0;padding:0}blockquote{margin:0}pre,code,kbd,samp{font-family:var(--vp-font-family-mono)}img,svg,video,canvas,audio,iframe,embed,object{display:block}figure{margin:0}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{border:0;padding:0;line-height:inherit;color:inherit}button{padding:0;font-family:inherit;background-color:transparent;background-image:none}button:enabled,[role=button]:enabled{cursor:pointer}button:focus,button:focus-visible{outline:1px dotted;outline:4px auto -webkit-focus-ring-color}button:focus:not(:focus-visible){outline:none!important}input:focus,textarea:focus,select:focus{outline:none}table{border-collapse:collapse}input{background-color:transparent}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:var(--vp-c-text-3)}input::-ms-input-placeholder,textarea::-ms-input-placeholder{color:var(--vp-c-text-3)}input::placeholder,textarea::placeholder{color:var(--vp-c-text-3)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}textarea{resize:vertical}select{-webkit-appearance:none}fieldset{margin:0;padding:0}h1,h2,h3,h4,h5,h6,li,p{overflow-wrap:break-word}vite-error-overlay{z-index:9999}mjx-container{display:inline-block;margin:auto 2px -2px}mjx-container>svg{margin:auto}.visually-hidden{position:absolute;width:1px;height:1px;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden}.custom-block{border:1px solid transparent;border-radius:8px;padding:16px 16px 8px;line-height:24px;font-size:var(--vp-custom-block-font-size);color:var(--vp-c-text-2)}.custom-block.info{border-color:var(--vp-custom-block-info-border);color:var(--vp-custom-block-info-text);background-color:var(--vp-custom-block-info-bg)}.custom-block.info a,.custom-block.info code{color:var(--vp-c-brand-1)}.custom-block.info a:hover{color:var(--vp-c-brand-2)}.custom-block.info code{background-color:var(--vp-custom-block-info-code-bg)}.custom-block.tip{border-color:var(--vp-custom-block-tip-border);color:var(--vp-custom-block-tip-text);background-color:var(--vp-custom-block-tip-bg)}.custom-block.tip a,.custom-block.tip code{color:var(--vp-c-brand-1)}.custom-block.tip a:hover{color:var(--vp-c-brand-2)}.custom-block.tip code{background-color:var(--vp-custom-block-tip-code-bg)}.custom-block.warning{border-color:var(--vp-custom-block-warning-border);color:var(--vp-custom-block-warning-text);background-color:var(--vp-custom-block-warning-bg)}.custom-block.warning a,.custom-block.warning code{color:var(--vp-c-warning-1)}.custom-block.warning a:hover{color:var(--vp-c-warning-2)}.custom-block.warning code{background-color:var(--vp-custom-block-warning-code-bg)}.custom-block.danger{border-color:var(--vp-custom-block-danger-border);color:var(--vp-custom-block-danger-text);background-color:var(--vp-custom-block-danger-bg)}.custom-block.danger a,.custom-block.danger code{color:var(--vp-c-danger-1)}.custom-block.danger a:hover{color:var(--vp-c-danger-2)}.custom-block.danger code{background-color:var(--vp-custom-block-danger-code-bg)}.custom-block.details{border-color:var(--vp-custom-block-details-border);color:var(--vp-custom-block-details-text);background-color:var(--vp-custom-block-details-bg)}.custom-block.details a{color:var(--vp-c-brand-1)}.custom-block.details a:hover{color:var(--vp-c-brand-2)}.custom-block.details code{background-color:var(--vp-custom-block-details-code-bg)}.custom-block-title{font-weight:600}.custom-block p+p{margin:8px 0}.custom-block.details summary{margin:0 0 8px;font-weight:700;cursor:pointer}.custom-block.details summary+p{margin:8px 0}.custom-block a{color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px;transition:opacity .25s}.custom-block a:hover{opacity:.75}.custom-block code{font-size:var(--vp-custom-block-code-font-size)}.custom-block.custom-block th,.custom-block.custom-block blockquote>p{font-size:var(--vp-custom-block-font-size);color:inherit}.dark .vp-code span{color:var(--shiki-dark, inherit)}html:not(.dark) .vp-code span{color:var(--shiki-light, inherit)}.vp-code-group{margin-top:16px}.vp-code-group .tabs{position:relative;display:flex;margin-right:-24px;margin-left:-24px;padding:0 12px;background-color:var(--vp-code-tab-bg);overflow-x:auto;overflow-y:hidden;box-shadow:inset 0 -1px var(--vp-code-tab-divider)}@media (min-width: 640px){.vp-code-group .tabs{margin-right:0;margin-left:0;border-radius:8px 8px 0 0}}.vp-code-group .tabs input{position:fixed;opacity:0;pointer-events:none}.vp-code-group .tabs label{position:relative;display:inline-block;border-bottom:1px solid transparent;padding:0 12px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-code-tab-text-color);white-space:nowrap;cursor:pointer;transition:color .25s}.vp-code-group .tabs label:after{position:absolute;right:8px;bottom:-1px;left:8px;z-index:1;height:2px;border-radius:2px;content:"";background-color:transparent;transition:background-color .25s}.vp-code-group label:hover{color:var(--vp-code-tab-hover-text-color)}.vp-code-group input:checked+label{color:var(--vp-code-tab-active-text-color)}.vp-code-group input:checked+label:after{background-color:var(--vp-code-tab-active-bar-color)}.vp-code-group div[class*=language-],.vp-block{display:none;margin-top:0!important;border-top-left-radius:0!important;border-top-right-radius:0!important}.vp-code-group div[class*=language-].active,.vp-block.active{display:block}.vp-block{padding:20px 24px}.vp-doc h1,.vp-doc h2,.vp-doc h3,.vp-doc h4,.vp-doc h5,.vp-doc h6{position:relative;font-weight:600;outline:none}.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:28px}.vp-doc h2{margin:48px 0 16px;border-top:1px solid var(--vp-c-divider);padding-top:24px;letter-spacing:-.02em;line-height:32px;font-size:24px}.vp-doc h3{margin:32px 0 0;letter-spacing:-.01em;line-height:28px;font-size:20px}.vp-doc .header-anchor{position:absolute;top:0;left:0;margin-left:-.87em;font-weight:500;-webkit-user-select:none;user-select:none;opacity:0;text-decoration:none;transition:color .25s,opacity .25s}.vp-doc .header-anchor:before{content:var(--vp-header-anchor-symbol)}.vp-doc h1:hover .header-anchor,.vp-doc h1 .header-anchor:focus,.vp-doc h2:hover .header-anchor,.vp-doc h2 .header-anchor:focus,.vp-doc h3:hover .header-anchor,.vp-doc h3 .header-anchor:focus,.vp-doc h4:hover .header-anchor,.vp-doc h4 .header-anchor:focus,.vp-doc h5:hover .header-anchor,.vp-doc h5 .header-anchor:focus,.vp-doc h6:hover .header-anchor,.vp-doc h6 .header-anchor:focus{opacity:1}@media (min-width: 768px){.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:32px}}.vp-doc h2 .header-anchor{top:24px}.vp-doc p,.vp-doc summary{margin:16px 0}.vp-doc p{line-height:28px}.vp-doc blockquote{margin:16px 0;border-left:2px solid var(--vp-c-divider);padding-left:16px;transition:border-color .5s}.vp-doc blockquote>p{margin:0;font-size:16px;color:var(--vp-c-text-2);transition:color .5s}.vp-doc a{font-weight:500;color:var(--vp-c-brand-1);text-decoration:underline;text-underline-offset:2px;transition:color .25s,opacity .25s}.vp-doc a:hover{color:var(--vp-c-brand-2)}.vp-doc strong{font-weight:600}.vp-doc ul,.vp-doc ol{padding-left:1.25rem;margin:16px 0}.vp-doc ul{list-style:disc}.vp-doc ol{list-style:decimal}.vp-doc li+li{margin-top:8px}.vp-doc li>ol,.vp-doc li>ul{margin:8px 0 0}.vp-doc table{display:block;border-collapse:collapse;margin:20px 0;overflow-x:auto}.vp-doc tr{background-color:var(--vp-c-bg);border-top:1px solid var(--vp-c-divider);transition:background-color .5s}.vp-doc tr:nth-child(2n){background-color:var(--vp-c-bg-soft)}.vp-doc th,.vp-doc td{border:1px solid var(--vp-c-divider);padding:8px 16px}.vp-doc th{text-align:left;font-size:14px;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-doc td{font-size:14px}.vp-doc hr{margin:16px 0;border:none;border-top:1px solid var(--vp-c-divider)}.vp-doc .custom-block{margin:16px 0}.vp-doc .custom-block p{margin:8px 0;line-height:24px}.vp-doc .custom-block p:first-child{margin:0}.vp-doc .custom-block div[class*=language-]{margin:8px 0;border-radius:8px}.vp-doc .custom-block div[class*=language-] code{font-weight:400;background-color:transparent}.vp-doc .custom-block .vp-code-group .tabs{margin:0;border-radius:8px 8px 0 0}.vp-doc :not(pre,h1,h2,h3,h4,h5,h6)>code{font-size:var(--vp-code-font-size);color:var(--vp-code-color)}.vp-doc :not(pre)>code{border-radius:4px;padding:3px 6px;background-color:var(--vp-code-bg);transition:color .25s,background-color .5s}.vp-doc a>code{color:var(--vp-code-link-color)}.vp-doc a:hover>code{color:var(--vp-code-link-hover-color)}.vp-doc h1>code,.vp-doc h2>code,.vp-doc h3>code{font-size:.9em}.vp-doc div[class*=language-],.vp-block{position:relative;margin:16px -24px;background-color:var(--vp-code-block-bg);overflow-x:auto;transition:background-color .5s}@media (min-width: 640px){.vp-doc div[class*=language-],.vp-block{border-radius:8px;margin:16px 0}}@media (max-width: 639px){.vp-doc li div[class*=language-]{border-radius:8px 0 0 8px}}.vp-doc div[class*=language-]+div[class*=language-],.vp-doc div[class$=-api]+div[class*=language-],.vp-doc div[class*=language-]+div[class$=-api]>div[class*=language-]{margin-top:-8px}.vp-doc [class*=language-] pre,.vp-doc [class*=language-] code{direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}.vp-doc [class*=language-] pre{position:relative;z-index:1;margin:0;padding:20px 0;background:transparent;overflow-x:auto}.vp-doc [class*=language-] code{display:block;padding:0 24px;width:fit-content;min-width:100%;line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-block-color);transition:color .5s}.vp-doc [class*=language-] code .highlighted{background-color:var(--vp-code-line-highlight-color);transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .highlighted.error{background-color:var(--vp-code-line-error-color)}.vp-doc [class*=language-] code .highlighted.warning{background-color:var(--vp-code-line-warning-color)}.vp-doc [class*=language-] code .diff{transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .diff:before{position:absolute;left:10px}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){filter:blur(.095rem);opacity:.4;transition:filter .35s,opacity .35s}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){opacity:.7;transition:filter .35s,opacity .35s}.vp-doc [class*=language-]:hover .has-focused-lines .line:not(.has-focus){filter:blur(0);opacity:1}.vp-doc [class*=language-] code .diff.remove{background-color:var(--vp-code-line-diff-remove-color);opacity:.7}.vp-doc [class*=language-] code .diff.remove:before{content:"-";color:var(--vp-code-line-diff-remove-symbol-color)}.vp-doc [class*=language-] code .diff.add{background-color:var(--vp-code-line-diff-add-color)}.vp-doc [class*=language-] code .diff.add:before{content:"+";color:var(--vp-code-line-diff-add-symbol-color)}.vp-doc div[class*=language-].line-numbers-mode{padding-left:32px}.vp-doc .line-numbers-wrapper{position:absolute;top:0;bottom:0;left:0;z-index:3;border-right:1px solid var(--vp-code-block-divider-color);padding-top:20px;width:32px;text-align:center;font-family:var(--vp-font-family-mono);line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-line-number-color);transition:border-color .5s,color .5s}.vp-doc [class*=language-]>button.copy{direction:ltr;position:absolute;top:12px;right:12px;z-index:3;border:1px solid var(--vp-code-copy-code-border-color);border-radius:4px;width:40px;height:40px;background-color:var(--vp-code-copy-code-bg);opacity:0;cursor:pointer;background-image:var(--vp-icon-copy);background-position:50%;background-size:20px;background-repeat:no-repeat;transition:border-color .25s,background-color .25s,opacity .25s}.vp-doc [class*=language-]:hover>button.copy,.vp-doc [class*=language-]>button.copy:focus{opacity:1}.vp-doc [class*=language-]>button.copy:hover,.vp-doc [class*=language-]>button.copy.copied{border-color:var(--vp-code-copy-code-hover-border-color);background-color:var(--vp-code-copy-code-hover-bg)}.vp-doc [class*=language-]>button.copy.copied,.vp-doc [class*=language-]>button.copy:hover.copied{border-radius:0 4px 4px 0;background-color:var(--vp-code-copy-code-hover-bg);background-image:var(--vp-icon-copied)}.vp-doc [class*=language-]>button.copy.copied:before,.vp-doc [class*=language-]>button.copy:hover.copied:before{position:relative;top:-1px;transform:translate(calc(-100% - 1px));display:flex;justify-content:center;align-items:center;border:1px solid var(--vp-code-copy-code-hover-border-color);border-right:0;border-radius:4px 0 0 4px;padding:0 10px;width:fit-content;height:40px;text-align:center;font-size:12px;font-weight:500;color:var(--vp-code-copy-code-active-text);background-color:var(--vp-code-copy-code-hover-bg);white-space:nowrap;content:var(--vp-code-copy-copied-text-content)}.vp-doc [class*=language-]>span.lang{position:absolute;top:2px;right:8px;z-index:2;font-size:12px;font-weight:500;color:var(--vp-code-lang-color);transition:color .4s,opacity .4s}.vp-doc [class*=language-]:hover>button.copy+span.lang,.vp-doc [class*=language-]>button.copy:focus+span.lang{opacity:0}.vp-doc .VPTeamMembers{margin-top:24px}.vp-doc .VPTeamMembers.small.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}.vp-doc .VPTeamMembers.small.count-2 .container,.vp-doc .VPTeamMembers.small.count-3 .container{max-width:100%!important}.vp-doc .VPTeamMembers.medium.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}:is(.vp-external-link-icon,.vp-doc a[href*="://"],.vp-doc a[target=_blank]):not(.no-icon):after{display:inline-block;margin-top:-1px;margin-left:4px;width:11px;height:11px;background:currentColor;color:var(--vp-c-text-3);flex-shrink:0;--icon: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M0 0h24v24H0V0z' fill='none' /%3E%3Cpath d='M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z' /%3E%3C/svg%3E");-webkit-mask-image:var(--icon);mask-image:var(--icon)}.vp-external-link-icon:after{content:""}.vp-sponsor{border-radius:16px;overflow:hidden}.vp-sponsor.aside{border-radius:12px}.vp-sponsor-section+.vp-sponsor-section{margin-top:4px}.vp-sponsor-tier{margin-bottom:4px;text-align:center;letter-spacing:1px;line-height:24px;width:100%;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-sponsor.normal .vp-sponsor-tier{padding:13px 0 11px;font-size:14px}.vp-sponsor.aside .vp-sponsor-tier{padding:9px 0 7px;font-size:12px}.vp-sponsor-grid+.vp-sponsor-tier{margin-top:4px}.vp-sponsor-grid{display:flex;flex-wrap:wrap;gap:4px}.vp-sponsor-grid.xmini .vp-sponsor-grid-link{height:64px}.vp-sponsor-grid.xmini .vp-sponsor-grid-image{max-width:64px;max-height:22px}.vp-sponsor-grid.mini .vp-sponsor-grid-link{height:72px}.vp-sponsor-grid.mini .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.small .vp-sponsor-grid-link{height:96px}.vp-sponsor-grid.small .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.medium .vp-sponsor-grid-link{height:112px}.vp-sponsor-grid.medium .vp-sponsor-grid-image{max-width:120px;max-height:36px}.vp-sponsor-grid.big .vp-sponsor-grid-link{height:184px}.vp-sponsor-grid.big .vp-sponsor-grid-image{max-width:192px;max-height:56px}.vp-sponsor-grid[data-vp-grid="2"] .vp-sponsor-grid-item{width:calc((100% - 4px)/2)}.vp-sponsor-grid[data-vp-grid="3"] .vp-sponsor-grid-item{width:calc((100% - 4px * 2) / 3)}.vp-sponsor-grid[data-vp-grid="4"] .vp-sponsor-grid-item{width:calc((100% - 12px)/4)}.vp-sponsor-grid[data-vp-grid="5"] .vp-sponsor-grid-item{width:calc((100% - 16px)/5)}.vp-sponsor-grid[data-vp-grid="6"] .vp-sponsor-grid-item{width:calc((100% - 4px * 5) / 6)}.vp-sponsor-grid-item{flex-shrink:0;width:100%;background-color:var(--vp-c-bg-soft);transition:background-color .25s}.vp-sponsor-grid-item:hover{background-color:var(--vp-c-default-soft)}.vp-sponsor-grid-item:hover .vp-sponsor-grid-image{filter:grayscale(0) invert(0)}.vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.dark .vp-sponsor-grid-item:hover{background-color:var(--vp-c-white)}.dark .vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.vp-sponsor-grid-link{display:flex}.vp-sponsor-grid-box{display:flex;justify-content:center;align-items:center;width:100%}.vp-sponsor-grid-image{max-width:100%;filter:grayscale(1);transition:filter .25s}.dark .vp-sponsor-grid-image{filter:grayscale(1) invert(1)}.VPBadge{display:inline-block;margin-left:2px;border:1px solid transparent;border-radius:12px;padding:0 10px;line-height:22px;font-size:12px;font-weight:500;transform:translateY(-2px)}.VPBadge.small{padding:0 6px;line-height:18px;font-size:10px;transform:translateY(-8px)}.VPDocFooter .VPBadge{display:none}.vp-doc h1>.VPBadge{margin-top:4px;vertical-align:top}.vp-doc h2>.VPBadge{margin-top:3px;padding:0 8px;vertical-align:top}.vp-doc h3>.VPBadge{vertical-align:middle}.vp-doc h4>.VPBadge,.vp-doc h5>.VPBadge,.vp-doc h6>.VPBadge{vertical-align:middle;line-height:18px}.VPBadge.info{border-color:var(--vp-badge-info-border);color:var(--vp-badge-info-text);background-color:var(--vp-badge-info-bg)}.VPBadge.tip{border-color:var(--vp-badge-tip-border);color:var(--vp-badge-tip-text);background-color:var(--vp-badge-tip-bg)}.VPBadge.warning{border-color:var(--vp-badge-warning-border);color:var(--vp-badge-warning-text);background-color:var(--vp-badge-warning-bg)}.VPBadge.danger{border-color:var(--vp-badge-danger-border);color:var(--vp-badge-danger-text);background-color:var(--vp-badge-danger-bg)}.VPBackdrop[data-v-c79a1216]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--vp-z-index-backdrop);background:var(--vp-backdrop-bg-color);transition:opacity .5s}.VPBackdrop.fade-enter-from[data-v-c79a1216],.VPBackdrop.fade-leave-to[data-v-c79a1216]{opacity:0}.VPBackdrop.fade-leave-active[data-v-c79a1216]{transition-duration:.25s}@media (min-width: 1280px){.VPBackdrop[data-v-c79a1216]{display:none}}.NotFound[data-v-f87ff6e4]{padding:64px 24px 96px;text-align:center}@media (min-width: 768px){.NotFound[data-v-f87ff6e4]{padding:96px 32px 168px}}.code[data-v-f87ff6e4]{line-height:64px;font-size:64px;font-weight:600}.title[data-v-f87ff6e4]{padding-top:12px;letter-spacing:2px;line-height:20px;font-size:20px;font-weight:700}.divider[data-v-f87ff6e4]{margin:24px auto 18px;width:64px;height:1px;background-color:var(--vp-c-divider)}.quote[data-v-f87ff6e4]{margin:0 auto;max-width:256px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.action[data-v-f87ff6e4]{padding-top:20px}.link[data-v-f87ff6e4]{display:inline-block;border:1px solid var(--vp-c-brand-1);border-radius:16px;padding:3px 16px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:border-color .25s,color .25s}.link[data-v-f87ff6e4]:hover{border-color:var(--vp-c-brand-2);color:var(--vp-c-brand-2)}.root[data-v-b933a997]{position:relative;z-index:1}.nested[data-v-b933a997]{padding-right:16px;padding-left:16px}.outline-link[data-v-b933a997]{display:block;line-height:32px;font-size:14px;font-weight:400;color:var(--vp-c-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .5s}.outline-link[data-v-b933a997]:hover,.outline-link.active[data-v-b933a997]{color:var(--vp-c-text-1);transition:color .25s}.outline-link.nested[data-v-b933a997]{padding-left:13px}.VPDocAsideOutline[data-v-935f8a84]{display:none}.VPDocAsideOutline.has-outline[data-v-935f8a84]{display:block}.content[data-v-935f8a84]{position:relative;border-left:1px solid var(--vp-c-divider);padding-left:16px;font-size:13px;font-weight:500}.outline-marker[data-v-935f8a84]{position:absolute;top:32px;left:-1px;z-index:0;opacity:0;width:2px;border-radius:2px;height:18px;background-color:var(--vp-c-brand-1);transition:top .25s cubic-bezier(0,1,.5,1),background-color .5s,opacity .25s}.outline-title[data-v-935f8a84]{line-height:32px;font-size:14px;font-weight:600}.VPDocAside[data-v-3f215769]{display:flex;flex-direction:column;flex-grow:1}.spacer[data-v-3f215769]{flex-grow:1}.VPDocAside[data-v-3f215769] .spacer+.VPDocAsideSponsors,.VPDocAside[data-v-3f215769] .spacer+.VPDocAsideCarbonAds{margin-top:24px}.VPDocAside[data-v-3f215769] .VPDocAsideSponsors+.VPDocAsideCarbonAds{margin-top:16px}.VPLastUpdated[data-v-7e05ebdb]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 640px){.VPLastUpdated[data-v-7e05ebdb]{line-height:32px;font-size:14px;font-weight:500}}.VPDocFooter[data-v-48f9bb55]{margin-top:64px}.edit-info[data-v-48f9bb55]{padding-bottom:18px}@media (min-width: 640px){.edit-info[data-v-48f9bb55]{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px}}.edit-link-button[data-v-48f9bb55]{display:flex;align-items:center;border:0;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.edit-link-button[data-v-48f9bb55]:hover{color:var(--vp-c-brand-2)}.edit-link-icon[data-v-48f9bb55]{margin-right:8px;width:14px;height:14px;fill:currentColor}.prev-next[data-v-48f9bb55]{border-top:1px solid var(--vp-c-divider);padding-top:24px;display:grid;grid-row-gap:8px}@media (min-width: 640px){.prev-next[data-v-48f9bb55]{grid-template-columns:repeat(2,1fr);grid-column-gap:16px}}.pager-link[data-v-48f9bb55]{display:block;border:1px solid var(--vp-c-divider);border-radius:8px;padding:11px 16px 13px;width:100%;height:100%;transition:border-color .25s}.pager-link[data-v-48f9bb55]:hover{border-color:var(--vp-c-brand-1)}.pager-link.next[data-v-48f9bb55]{margin-left:auto;text-align:right}.desc[data-v-48f9bb55]{display:block;line-height:20px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.title[data-v-48f9bb55]{display:block;line-height:20px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.VPDoc[data-v-ad5bd23b]{padding:32px 24px 96px;width:100%}@media (min-width: 768px){.VPDoc[data-v-ad5bd23b]{padding:48px 32px 128px}}@media (min-width: 960px){.VPDoc[data-v-ad5bd23b]{padding:48px 32px 0}.VPDoc:not(.has-sidebar) .container[data-v-ad5bd23b]{display:flex;justify-content:center;max-width:992px}.VPDoc:not(.has-sidebar) .content[data-v-ad5bd23b]{max-width:752px}}@media (min-width: 1280px){.VPDoc .container[data-v-ad5bd23b]{display:flex;justify-content:center}.VPDoc .aside[data-v-ad5bd23b]{display:block}}@media (min-width: 1440px){.VPDoc:not(.has-sidebar) .content[data-v-ad5bd23b]{max-width:784px}.VPDoc:not(.has-sidebar) .container[data-v-ad5bd23b]{max-width:1104px}}.container[data-v-ad5bd23b]{margin:0 auto;width:100%}.aside[data-v-ad5bd23b]{position:relative;display:none;order:2;flex-grow:1;padding-left:32px;width:100%;max-width:256px}.left-aside[data-v-ad5bd23b]{order:1;padding-left:unset;padding-right:32px}.aside-container[data-v-ad5bd23b]{position:fixed;top:0;padding-top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + var(--vp-doc-top-height, 0px) + 48px);width:224px;height:100vh;overflow-x:hidden;overflow-y:auto;scrollbar-width:none}.aside-container[data-v-ad5bd23b]::-webkit-scrollbar{display:none}.aside-curtain[data-v-ad5bd23b]{position:fixed;bottom:0;z-index:10;width:224px;height:32px;background:linear-gradient(transparent,var(--vp-c-bg) 70%)}.aside-content[data-v-ad5bd23b]{display:flex;flex-direction:column;min-height:calc(100vh - (var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px));padding-bottom:32px}.content[data-v-ad5bd23b]{position:relative;margin:0 auto;width:100%}@media (min-width: 960px){.content[data-v-ad5bd23b]{padding:0 32px 128px}}@media (min-width: 1280px){.content[data-v-ad5bd23b]{order:1;margin:0;min-width:640px}}.content-container[data-v-ad5bd23b]{margin:0 auto}.VPDoc.has-aside .content-container[data-v-ad5bd23b]{max-width:688px}.external-link-icon-enabled :is(.vp-doc a[href*="://"][data-v-ad5bd23b],.vp-doc a[target=_blank][data-v-ad5bd23b]):after{content:"";color:currentColor}.VPButton[data-v-c1c5efc1]{display:inline-block;border:1px solid transparent;text-align:center;font-weight:600;white-space:nowrap;transition:color .25s,border-color .25s,background-color .25s}.VPButton[data-v-c1c5efc1]:active{transition:color .1s,border-color .1s,background-color .1s}.VPButton.medium[data-v-c1c5efc1]{border-radius:20px;padding:0 20px;line-height:38px;font-size:14px}.VPButton.big[data-v-c1c5efc1]{border-radius:24px;padding:0 24px;line-height:46px;font-size:16px}.VPButton.brand[data-v-c1c5efc1]{border-color:var(--vp-button-brand-border);color:var(--vp-button-brand-text);background-color:var(--vp-button-brand-bg)}.VPButton.brand[data-v-c1c5efc1]:hover{border-color:var(--vp-button-brand-hover-border);color:var(--vp-button-brand-hover-text);background-color:var(--vp-button-brand-hover-bg)}.VPButton.brand[data-v-c1c5efc1]:active{border-color:var(--vp-button-brand-active-border);color:var(--vp-button-brand-active-text);background-color:var(--vp-button-brand-active-bg)}.VPButton.alt[data-v-c1c5efc1]{border-color:var(--vp-button-alt-border);color:var(--vp-button-alt-text);background-color:var(--vp-button-alt-bg)}.VPButton.alt[data-v-c1c5efc1]:hover{border-color:var(--vp-button-alt-hover-border);color:var(--vp-button-alt-hover-text);background-color:var(--vp-button-alt-hover-bg)}.VPButton.alt[data-v-c1c5efc1]:active{border-color:var(--vp-button-alt-active-border);color:var(--vp-button-alt-active-text);background-color:var(--vp-button-alt-active-bg)}.VPButton.sponsor[data-v-c1c5efc1]{border-color:var(--vp-button-sponsor-border);color:var(--vp-button-sponsor-text);background-color:var(--vp-button-sponsor-bg)}.VPButton.sponsor[data-v-c1c5efc1]:hover{border-color:var(--vp-button-sponsor-hover-border);color:var(--vp-button-sponsor-hover-text);background-color:var(--vp-button-sponsor-hover-bg)}.VPButton.sponsor[data-v-c1c5efc1]:active{border-color:var(--vp-button-sponsor-active-border);color:var(--vp-button-sponsor-active-text);background-color:var(--vp-button-sponsor-active-bg)}html:not(.dark) .VPImage.dark[data-v-8426fc1a]{display:none}.dark .VPImage.light[data-v-8426fc1a]{display:none}.VPHero[data-v-da5d1713]{margin-top:calc((var(--vp-nav-height) + var(--vp-layout-top-height, 0px)) * -1);padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px) 24px 48px}@media (min-width: 640px){.VPHero[data-v-da5d1713]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 48px 64px}}@media (min-width: 960px){.VPHero[data-v-da5d1713]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 64px 64px}}.container[data-v-da5d1713]{display:flex;flex-direction:column;margin:0 auto;max-width:1152px}@media (min-width: 960px){.container[data-v-da5d1713]{flex-direction:row}}.main[data-v-da5d1713]{position:relative;z-index:10;order:2;flex-grow:1;flex-shrink:0}.VPHero.has-image .container[data-v-da5d1713]{text-align:center}@media (min-width: 960px){.VPHero.has-image .container[data-v-da5d1713]{text-align:left}}@media (min-width: 960px){.main[data-v-da5d1713]{order:1;width:calc((100% / 3) * 2)}.VPHero.has-image .main[data-v-da5d1713]{max-width:592px}}.name[data-v-da5d1713],.text[data-v-da5d1713]{max-width:392px;letter-spacing:-.4px;line-height:40px;font-size:32px;font-weight:700;white-space:pre-wrap}.VPHero.has-image .name[data-v-da5d1713],.VPHero.has-image .text[data-v-da5d1713]{margin:0 auto}.name[data-v-da5d1713]{color:var(--vp-home-hero-name-color)}.clip[data-v-da5d1713]{background:var(--vp-home-hero-name-background);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:var(--vp-home-hero-name-color)}@media (min-width: 640px){.name[data-v-da5d1713],.text[data-v-da5d1713]{max-width:576px;line-height:56px;font-size:48px}}@media (min-width: 960px){.name[data-v-da5d1713],.text[data-v-da5d1713]{line-height:64px;font-size:56px}.VPHero.has-image .name[data-v-da5d1713],.VPHero.has-image .text[data-v-da5d1713]{margin:0}}.tagline[data-v-da5d1713]{padding-top:8px;max-width:392px;line-height:28px;font-size:18px;font-weight:500;white-space:pre-wrap;color:var(--vp-c-text-2)}.VPHero.has-image .tagline[data-v-da5d1713]{margin:0 auto}@media (min-width: 640px){.tagline[data-v-da5d1713]{padding-top:12px;max-width:576px;line-height:32px;font-size:20px}}@media (min-width: 960px){.tagline[data-v-da5d1713]{line-height:36px;font-size:24px}.VPHero.has-image .tagline[data-v-da5d1713]{margin:0}}.actions[data-v-da5d1713]{display:flex;flex-wrap:wrap;margin:-6px;padding-top:24px}.VPHero.has-image .actions[data-v-da5d1713]{justify-content:center}@media (min-width: 640px){.actions[data-v-da5d1713]{padding-top:32px}}@media (min-width: 960px){.VPHero.has-image .actions[data-v-da5d1713]{justify-content:flex-start}}.action[data-v-da5d1713]{flex-shrink:0;padding:6px}.image[data-v-da5d1713]{order:1;margin:-76px -24px -48px}@media (min-width: 640px){.image[data-v-da5d1713]{margin:-108px -24px -48px}}@media (min-width: 960px){.image[data-v-da5d1713]{flex-grow:1;order:2;margin:0;min-height:100%}}.image-container[data-v-da5d1713]{position:relative;margin:0 auto;width:320px;height:320px}@media (min-width: 640px){.image-container[data-v-da5d1713]{width:392px;height:392px}}@media (min-width: 960px){.image-container[data-v-da5d1713]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;transform:translate(-32px,-32px)}}.image-bg[data-v-da5d1713]{position:absolute;top:50%;left:50%;border-radius:50%;width:192px;height:192px;background-image:var(--vp-home-hero-image-background-image);filter:var(--vp-home-hero-image-filter);transform:translate(-50%,-50%)}@media (min-width: 640px){.image-bg[data-v-da5d1713]{width:256px;height:256px}}@media (min-width: 960px){.image-bg[data-v-da5d1713]{width:320px;height:320px}}[data-v-da5d1713] .image-src{position:absolute;top:50%;left:50%;max-width:192px;max-height:192px;transform:translate(-50%,-50%)}@media (min-width: 640px){[data-v-da5d1713] .image-src{max-width:256px;max-height:256px}}@media (min-width: 960px){[data-v-da5d1713] .image-src{max-width:320px;max-height:320px}}.VPFeature[data-v-33204567]{display:block;border:1px solid var(--vp-c-bg-soft);border-radius:12px;height:100%;background-color:var(--vp-c-bg-soft);transition:border-color .25s,background-color .25s}.VPFeature.link[data-v-33204567]:hover{border-color:var(--vp-c-brand-1)}.box[data-v-33204567]{display:flex;flex-direction:column;padding:24px;height:100%}.box[data-v-33204567]>.VPImage{margin-bottom:20px}.icon[data-v-33204567]{display:flex;justify-content:center;align-items:center;margin-bottom:20px;border-radius:6px;background-color:var(--vp-c-default-soft);width:48px;height:48px;font-size:24px;transition:background-color .25s}.title[data-v-33204567]{line-height:24px;font-size:16px;font-weight:600}.details[data-v-33204567]{flex-grow:1;padding-top:8px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.link-text[data-v-33204567]{padding-top:8px}.link-text-value[data-v-33204567]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.link-text-icon[data-v-33204567]{display:inline-block;margin-left:6px;width:14px;height:14px;fill:currentColor}.VPFeatures[data-v-a6181336]{position:relative;padding:0 24px}@media (min-width: 640px){.VPFeatures[data-v-a6181336]{padding:0 48px}}@media (min-width: 960px){.VPFeatures[data-v-a6181336]{padding:0 64px}}.container[data-v-a6181336]{margin:0 auto;max-width:1152px}.items[data-v-a6181336]{display:flex;flex-wrap:wrap;margin:-8px}.item[data-v-a6181336]{padding:8px;width:100%}@media (min-width: 640px){.item.grid-2[data-v-a6181336],.item.grid-4[data-v-a6181336],.item.grid-6[data-v-a6181336]{width:50%}}@media (min-width: 768px){.item.grid-2[data-v-a6181336],.item.grid-4[data-v-a6181336]{width:50%}.item.grid-3[data-v-a6181336],.item.grid-6[data-v-a6181336]{width:calc(100% / 3)}}@media (min-width: 960px){.item.grid-4[data-v-a6181336]{width:25%}}.VPHome[data-v-d82743a8]{padding-bottom:96px}.VPHome[data-v-d82743a8] .VPHomeSponsors{margin-top:112px;margin-bottom:-128px}@media (min-width: 768px){.VPHome[data-v-d82743a8]{padding-bottom:128px}}.VPContent[data-v-669faec9]{flex-grow:1;flex-shrink:0;margin:var(--vp-layout-top-height, 0px) auto 0;width:100%}.VPContent.is-home[data-v-669faec9]{width:100%;max-width:100%}.VPContent.has-sidebar[data-v-669faec9]{margin:0}@media (min-width: 960px){.VPContent[data-v-669faec9]{padding-top:var(--vp-nav-height)}.VPContent.has-sidebar[data-v-669faec9]{margin:var(--vp-layout-top-height, 0px) 0 0;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPContent.has-sidebar[data-v-669faec9]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.VPFooter[data-v-e315a0ad]{position:relative;z-index:var(--vp-z-index-footer);border-top:1px solid var(--vp-c-gutter);padding:32px 24px;background-color:var(--vp-c-bg)}.VPFooter.has-sidebar[data-v-e315a0ad]{display:none}.VPFooter[data-v-e315a0ad] a{text-decoration-line:underline;text-underline-offset:2px;transition:color .25s}.VPFooter[data-v-e315a0ad] a:hover{color:var(--vp-c-text-1)}@media (min-width: 768px){.VPFooter[data-v-e315a0ad]{padding:32px}}.container[data-v-e315a0ad]{margin:0 auto;max-width:var(--vp-layout-max-width);text-align:center}.message[data-v-e315a0ad],.copyright[data-v-e315a0ad]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.VPLocalNavOutlineDropdown[data-v-af18c0d5]{padding:12px 20px 11px}@media (min-width: 960px){.VPLocalNavOutlineDropdown[data-v-af18c0d5]{padding:12px 36px 11px}}.VPLocalNavOutlineDropdown button[data-v-af18c0d5]{display:block;font-size:12px;font-weight:500;line-height:24px;color:var(--vp-c-text-2);transition:color .5s;position:relative}.VPLocalNavOutlineDropdown button[data-v-af18c0d5]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPLocalNavOutlineDropdown button.open[data-v-af18c0d5]{color:var(--vp-c-text-1)}@media (min-width: 960px){.VPLocalNavOutlineDropdown button[data-v-af18c0d5]{font-size:14px}}.icon[data-v-af18c0d5]{display:inline-block;vertical-align:middle;margin-left:2px;width:14px;height:14px;fill:currentColor}.open>.icon[data-v-af18c0d5]{transform:rotate(90deg)}.items[data-v-af18c0d5]{position:absolute;top:40px;right:16px;left:16px;display:grid;gap:1px;border:1px solid var(--vp-c-border);border-radius:8px;background-color:var(--vp-c-gutter);max-height:calc(var(--vp-vh, 100vh) - 86px);overflow:hidden auto;box-shadow:var(--vp-shadow-3)}@media (min-width: 960px){.items[data-v-af18c0d5]{right:auto;left:calc(var(--vp-sidebar-width) + 32px);width:320px}}.header[data-v-af18c0d5]{background-color:var(--vp-c-bg-soft)}.top-link[data-v-af18c0d5]{display:block;padding:0 16px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.outline[data-v-af18c0d5]{padding:8px 0;background-color:var(--vp-c-bg-soft)}.flyout-enter-active[data-v-af18c0d5]{transition:all .2s ease-out}.flyout-leave-active[data-v-af18c0d5]{transition:all .15s ease-in}.flyout-enter-from[data-v-af18c0d5],.flyout-leave-to[data-v-af18c0d5]{opacity:0;transform:translateY(-16px)}.VPLocalNav[data-v-0282ae07]{position:sticky;top:0;left:0;z-index:var(--vp-z-index-local-nav);border-bottom:1px solid var(--vp-c-gutter);padding-top:var(--vp-layout-top-height, 0px);width:100%;background-color:var(--vp-local-nav-bg-color)}.VPLocalNav.fixed[data-v-0282ae07]{position:fixed}@media (min-width: 960px){.VPLocalNav[data-v-0282ae07]{top:var(--vp-nav-height)}.VPLocalNav.has-sidebar[data-v-0282ae07]{padding-left:var(--vp-sidebar-width)}.VPLocalNav.empty[data-v-0282ae07]{display:none}}@media (min-width: 1280px){.VPLocalNav[data-v-0282ae07]{display:none}}@media (min-width: 1440px){.VPLocalNav.has-sidebar[data-v-0282ae07]{padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.container[data-v-0282ae07]{display:flex;justify-content:space-between;align-items:center}.menu[data-v-0282ae07]{display:flex;align-items:center;padding:12px 24px 11px;line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.menu[data-v-0282ae07]:hover{color:var(--vp-c-text-1);transition:color .25s}@media (min-width: 768px){.menu[data-v-0282ae07]{padding:0 32px}}@media (min-width: 960px){.menu[data-v-0282ae07]{display:none}}.menu-icon[data-v-0282ae07]{margin-right:8px;width:16px;height:16px;fill:currentColor}.VPOutlineDropdown[data-v-0282ae07]{padding:12px 24px 11px}@media (min-width: 768px){.VPOutlineDropdown[data-v-0282ae07]{padding:12px 32px 11px}}.VPSwitch[data-v-b1685198]{position:relative;border-radius:11px;display:block;width:40px;height:22px;flex-shrink:0;border:1px solid var(--vp-input-border-color);background-color:var(--vp-input-switch-bg-color);transition:border-color .25s!important}.VPSwitch[data-v-b1685198]:hover{border-color:var(--vp-c-brand-1)}.check[data-v-b1685198]{position:absolute;top:1px;left:1px;width:18px;height:18px;border-radius:50%;background-color:var(--vp-c-neutral-inverse);box-shadow:var(--vp-shadow-1);transition:transform .25s!important}.icon[data-v-b1685198]{position:relative;display:block;width:18px;height:18px;border-radius:50%;overflow:hidden}.icon[data-v-b1685198] svg{position:absolute;top:3px;left:3px;width:12px;height:12px;fill:var(--vp-c-text-2)}.dark .icon[data-v-b1685198] svg{fill:var(--vp-c-text-1);transition:opacity .25s!important}.sun[data-v-1736f215]{opacity:1}.moon[data-v-1736f215],.dark .sun[data-v-1736f215]{opacity:0}.dark .moon[data-v-1736f215]{opacity:1}.dark .VPSwitchAppearance[data-v-1736f215] .check{transform:translate(18px)}.VPNavBarAppearance[data-v-e6aabb21]{display:none}@media (min-width: 1280px){.VPNavBarAppearance[data-v-e6aabb21]{display:flex;align-items:center}}.VPMenuGroup+.VPMenuLink[data-v-43f1e123]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.link[data-v-43f1e123]{display:block;border-radius:6px;padding:0 12px;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);white-space:nowrap;transition:background-color .25s,color .25s}.link[data-v-43f1e123]:hover{color:var(--vp-c-brand-1);background-color:var(--vp-c-default-soft)}.link.active[data-v-43f1e123]{color:var(--vp-c-brand-1)}.VPMenuGroup[data-v-69e747b5]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.VPMenuGroup[data-v-69e747b5]:first-child{margin-top:0;border-top:0;padding-top:0}.VPMenuGroup+.VPMenuGroup[data-v-69e747b5]{margin-top:12px;border-top:1px solid var(--vp-c-divider)}.title[data-v-69e747b5]{padding:0 12px;line-height:32px;font-size:14px;font-weight:600;color:var(--vp-c-text-2);white-space:nowrap;transition:color .25s}.VPMenu[data-v-e7ea1737]{border-radius:12px;padding:12px;min-width:128px;border:1px solid var(--vp-c-divider);background-color:var(--vp-c-bg-elv);box-shadow:var(--vp-shadow-3);transition:background-color .5s;max-height:calc(100vh - var(--vp-nav-height));overflow-y:auto}.VPMenu[data-v-e7ea1737] .group{margin:0 -12px;padding:0 12px 12px}.VPMenu[data-v-e7ea1737] .group+.group{border-top:1px solid var(--vp-c-divider);padding:11px 12px 12px}.VPMenu[data-v-e7ea1737] .group:last-child{padding-bottom:0}.VPMenu[data-v-e7ea1737] .group+.item{border-top:1px solid var(--vp-c-divider);padding:11px 16px 0}.VPMenu[data-v-e7ea1737] .item{padding:0 16px;white-space:nowrap}.VPMenu[data-v-e7ea1737] .label{flex-grow:1;line-height:28px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.VPMenu[data-v-e7ea1737] .action{padding-left:24px}.VPFlyout[data-v-9c007e85]{position:relative}.VPFlyout[data-v-9c007e85]:hover{color:var(--vp-c-brand-1);transition:color .25s}.VPFlyout:hover .text[data-v-9c007e85]{color:var(--vp-c-text-2)}.VPFlyout:hover .icon[data-v-9c007e85]{fill:var(--vp-c-text-2)}.VPFlyout.active .text[data-v-9c007e85]{color:var(--vp-c-brand-1)}.VPFlyout.active:hover .text[data-v-9c007e85]{color:var(--vp-c-brand-2)}.VPFlyout:hover .menu[data-v-9c007e85],.button[aria-expanded=true]+.menu[data-v-9c007e85]{opacity:1;visibility:visible;transform:translateY(0)}.button[aria-expanded=false]+.menu[data-v-9c007e85]{opacity:0;visibility:hidden;transform:translateY(0)}.button[data-v-9c007e85]{display:flex;align-items:center;padding:0 12px;height:var(--vp-nav-height);color:var(--vp-c-text-1);transition:color .5s}.text[data-v-9c007e85]{display:flex;align-items:center;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.option-icon[data-v-9c007e85]{margin-right:0;width:16px;height:16px;fill:currentColor}.text-icon[data-v-9c007e85]{margin-left:4px;width:14px;height:14px;fill:currentColor}.icon[data-v-9c007e85]{width:20px;height:20px;fill:currentColor;transition:fill .25s}.menu[data-v-9c007e85]{position:absolute;top:calc(var(--vp-nav-height) / 2 + 20px);right:0;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s,transform .25s}.VPSocialLink[data-v-f80f8133]{display:flex;justify-content:center;align-items:center;width:36px;height:36px;color:var(--vp-c-text-2);transition:color .5s}.VPSocialLink[data-v-f80f8133]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPSocialLink[data-v-f80f8133]>svg{width:20px;height:20px;fill:currentColor}.VPSocialLinks[data-v-7bc22406]{display:flex;justify-content:center}.VPNavBarExtra[data-v-d0bd9dde]{display:none;margin-right:-12px}@media (min-width: 768px){.VPNavBarExtra[data-v-d0bd9dde]{display:block}}@media (min-width: 1280px){.VPNavBarExtra[data-v-d0bd9dde]{display:none}}.trans-title[data-v-d0bd9dde]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.item.appearance[data-v-d0bd9dde],.item.social-links[data-v-d0bd9dde]{display:flex;align-items:center;padding:0 12px}.item.appearance[data-v-d0bd9dde]{min-width:176px}.appearance-action[data-v-d0bd9dde]{margin-right:-2px}.social-links-list[data-v-d0bd9dde]{margin:-4px -8px}.VPNavBarHamburger[data-v-e5dd9c1c]{display:flex;justify-content:center;align-items:center;width:48px;height:var(--vp-nav-height)}@media (min-width: 768px){.VPNavBarHamburger[data-v-e5dd9c1c]{display:none}}.container[data-v-e5dd9c1c]{position:relative;width:16px;height:14px;overflow:hidden}.VPNavBarHamburger:hover .top[data-v-e5dd9c1c]{top:0;left:0;transform:translate(4px)}.VPNavBarHamburger:hover .middle[data-v-e5dd9c1c]{top:6px;left:0;transform:translate(0)}.VPNavBarHamburger:hover .bottom[data-v-e5dd9c1c]{top:12px;left:0;transform:translate(8px)}.VPNavBarHamburger.active .top[data-v-e5dd9c1c]{top:6px;transform:translate(0) rotate(225deg)}.VPNavBarHamburger.active .middle[data-v-e5dd9c1c]{top:6px;transform:translate(16px)}.VPNavBarHamburger.active .bottom[data-v-e5dd9c1c]{top:6px;transform:translate(0) rotate(135deg)}.VPNavBarHamburger.active:hover .top[data-v-e5dd9c1c],.VPNavBarHamburger.active:hover .middle[data-v-e5dd9c1c],.VPNavBarHamburger.active:hover .bottom[data-v-e5dd9c1c]{background-color:var(--vp-c-text-2);transition:top .25s,background-color .25s,transform .25s}.top[data-v-e5dd9c1c],.middle[data-v-e5dd9c1c],.bottom[data-v-e5dd9c1c]{position:absolute;width:16px;height:2px;background-color:var(--vp-c-text-1);transition:top .25s,background-color .5s,transform .25s}.top[data-v-e5dd9c1c]{top:0;left:0;transform:translate(0)}.middle[data-v-e5dd9c1c]{top:6px;left:0;transform:translate(8px)}.bottom[data-v-e5dd9c1c]{top:12px;left:0;transform:translate(4px)}.VPNavBarMenuLink[data-v-42ef59de]{display:flex;align-items:center;padding:0 12px;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.VPNavBarMenuLink.active[data-v-42ef59de],.VPNavBarMenuLink[data-v-42ef59de]:hover{color:var(--vp-c-brand-1)}.VPNavBarMenu[data-v-7f418b0f]{display:none}@media (min-width: 768px){.VPNavBarMenu[data-v-7f418b0f]{display:flex}}.blog-search[data-v-bebd53ce]{flex:var(--54fbd49d);display:flex;padding-left:32px}.blog-search .nav-search-btn-wait[data-v-bebd53ce]{cursor:pointer;display:flex;align-items:center;justify-content:center;padding:6px;box-sizing:border-box}.blog-search .nav-search-btn-wait .metaKey[data-v-bebd53ce]{margin-left:10px;font-size:12px}.blog-search .nav-search-btn-wait[data-v-bebd53ce]:hover{border:1px solid var(--vp-c-brand-1);border-radius:6px}.blog-search .nav-search-btn-wait .search-tip[data-v-bebd53ce]{color:#909399;font-size:12px;padding-left:10px}html pre code.hljs{display:block;overflow-x:auto;padding:1em}html code.hljs{padding:3px 5px}html .hljs{color:#24292e;background:#fff}html .hljs-doctag,html .hljs-keyword,html .hljs-meta .hljs-keyword,html .hljs-template-tag,html .hljs-template-variable,html .hljs-type,html .hljs-variable.language_{color:#d73a49}html .hljs-title,html .hljs-title.class_,html .hljs-title.class_.inherited__,html .hljs-title.function_{color:#6f42c1}html .hljs-attr,html .hljs-attribute,html .hljs-literal,html .hljs-meta,html .hljs-number,html .hljs-operator,html .hljs-selector-attr,html .hljs-selector-class,html .hljs-selector-id,html .hljs-variable{color:#005cc5}html .hljs-meta .hljs-string,html .hljs-regexp,html .hljs-string{color:#032f62}html .hljs-built_in,html .hljs-symbol{color:#e36209}html .hljs-code,html .hljs-comment,html .hljs-formula{color:#6a737d}html .hljs-name,html .hljs-quote,html .hljs-selector-pseudo,html .hljs-selector-tag{color:#22863a}html .hljs-subst{color:#24292e}html .hljs-section{color:#005cc5;font-weight:700}html .hljs-bullet{color:#735c0f}html .hljs-emphasis{color:#24292e;font-style:italic}html .hljs-strong{color:#24292e;font-weight:700}html .hljs-addition{color:#22863a;background-color:#f0fff4}html .hljs-deletion{color:#b31d28;background-color:#ffeef0}html.dark pre code.hljs{display:block;overflow-x:auto;padding:1em}html.dark code.hljs{padding:3px 5px}html.dark .hljs{color:#c9d1d9;background:#0d1117}html.dark .hljs-doctag,html.dark .hljs-keyword,html.dark .hljs-meta .hljs-keyword,html.dark .hljs-template-tag,html.dark .hljs-template-variable,html.dark .hljs-type,html.dark .hljs-variable.language_{color:#ff7b72}html.dark .hljs-title,html.dark .hljs-title.class_,html.dark .hljs-title.class_.inherited__,html.dark .hljs-title.function_{color:#d2a8ff}html.dark .hljs-attr,html.dark .hljs-attribute,html.dark .hljs-literal,html.dark .hljs-meta,html.dark .hljs-number,html.dark .hljs-operator,html.dark .hljs-selector-attr,html.dark .hljs-selector-class,html.dark .hljs-selector-id,html.dark .hljs-variable{color:#79c0ff}html.dark .hljs-meta .hljs-string,html.dark .hljs-regexp,html.dark .hljs-string{color:#a5d6ff}html.dark .hljs-built_in,html.dark .hljs-symbol{color:#ffa657}html.dark .hljs-code,html.dark .hljs-comment,html.dark .hljs-formula{color:#8b949e}html.dark .hljs-name,html.dark .hljs-quote,html.dark .hljs-selector-pseudo,html.dark .hljs-selector-tag{color:#7ee787}html.dark .hljs-subst{color:#c9d1d9}html.dark .hljs-section{color:#1f6feb;font-weight:700}html.dark .hljs-bullet{color:#f2cc60}html.dark .hljs-emphasis{color:#c9d1d9;font-style:italic}html.dark .hljs-strong{color:#c9d1d9;font-weight:700}html.dark .hljs-addition{color:#aff5b4;background-color:#033a16}html.dark .hljs-deletion{color:#ffdcd7;background-color:#67060c}code.hljs{border-radius:16px}body,ul{margin:0;padding:0}:root{--font-sans: "Inter", --apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;--app-bg: var(--gray1);--app-text: #000000;--command-shadow: 0 16px 70px rgb(0 0 0 / 20%);--lowContrast: #ffffff;--highContrast: #000000;--vcp-c-brand: var(--vp-c-brand-2);--vcp-c-accent: #35495e;--gray1: hsl(0, 0%, 98%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--grayA1: hsla(0, 0%, 0%, .012);--grayA2: hsla(0, 0%, 0%, .027);--grayA3: hsla(0, 0%, 0%, .047);--grayA4: hsla(0, 0%, 0%, .071);--grayA5: hsla(0, 0%, 0%, .09);--grayA6: hsla(0, 0%, 0%, .114);--grayA7: hsla(0, 0%, 0%, .141);--grayA8: hsla(0, 0%, 0%, .22);--grayA9: hsla(0, 0%, 0%, .439);--grayA10: hsla(0, 0%, 0%, .478);--grayA11: hsla(0, 0%, 0%, .565);--grayA12: hsla(0, 0%, 0%, .91);--blue1: hsl(206, 100%, 99.2%);--blue2: hsl(210, 100%, 98%);--blue3: hsl(209, 100%, 96.5%);--blue4: hsl(210, 98.8%, 94%);--blue5: hsl(209, 95%, 90.1%);--blue6: hsl(209, 81.2%, 84.5%);--blue7: hsl(208, 77.5%, 76.9%);--blue8: hsl(206, 81.9%, 65.3%);--blue9: hsl(206, 100%, 50%);--blue10: hsl(208, 100%, 47.3%);--blue11: hsl(211, 100%, 43.2%);--blue12: hsl(211, 100%, 15%)}.dark{--app-bg: var(--gray1);--app-text: #ffffff;--lowContrast: #000000;--highContrast: #ffffff;--gray1: hsl(0, 0%, 8.5%);--gray2: hsl(0, 0%, 11%);--gray3: hsl(0, 0%, 13.6%);--gray4: hsl(0, 0%, 15.8%);--gray5: hsl(0, 0%, 17.9%);--gray6: hsl(0, 0%, 20.5%);--gray7: hsl(0, 0%, 24.3%);--gray8: hsl(0, 0%, 31.2%);--gray9: hsl(0, 0%, 43.9%);--gray10: hsl(0, 0%, 49.4%);--gray11: hsl(0, 0%, 62.8%);--gray12: hsl(0, 0%, 93%);--grayA1: hsla(0, 0%, 100%, 0);--grayA2: hsla(0, 0%, 100%, .026);--grayA3: hsla(0, 0%, 100%, .056);--grayA4: hsla(0, 0%, 100%, .077);--grayA5: hsla(0, 0%, 100%, .103);--grayA6: hsla(0, 0%, 100%, .129);--grayA7: hsla(0, 0%, 100%, .172);--grayA8: hsla(0, 0%, 100%, .249);--grayA9: hsla(0, 0%, 100%, .386);--grayA10: hsla(0, 0%, 100%, .446);--grayA11: hsla(0, 0%, 100%, .592);--grayA12: hsla(0, 0%, 100%, .923);--blue1: hsl(212, 35%, 9.2%);--blue2: hsl(216, 50%, 11.8%);--blue3: hsl(214, 59.4%, 15.3%);--blue4: hsl(214, 65.8%, 17.9%);--blue5: hsl(213, 71.2%, 20.2%);--blue6: hsl(212, 77.4%, 23.1%);--blue7: hsl(211, 85.1%, 27.4%);--blue8: hsl(211, 89.7%, 34.1%);--blue9: hsl(206, 100%, 50%);--blue10: hsl(209, 100%, 60.6%);--blue11: hsl(210, 100%, 66.1%);--blue12: hsl(206, 98%, 95.8%)}div [command-dialog-mask]{background-color:#0000004d;height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:200}div [command-dialog-wrapper]{position:relative;background:var(--gray2);border-radius:6px;box-shadow:none;flex-direction:column;margin:20vh auto auto;max-width:560px}div [command-dialog-footer]{border-top:1px solid var(--gray6);align-items:center;background:var(--gray4);color:var(--gray11);border-radius:0 0 8px 8px;box-shadow:none;display:flex;flex-direction:row-reverse;flex-shrink:0;height:44px;justify-content:space-between;padding:0 12px;position:relative;-webkit-user-select:none;user-select:none;width:100%;z-index:300;font-size:12px}.algolia [command-input]{font-family:var(--font-sans);width:100%;font-size:18px;padding:12px;outline:none;background:var(--bg);color:var(--gray12);border-bottom:1px solid var(--gray6);border-radius:4px;caret-color:var(--vcp-c-brand);margin:0;border:1px solid var(--vcp-c-brand)}.algolia [command-input]::placeholder{color:var(--gray9)}.algolia [command-list]{height:var(--command-list-height);max-height:360px;overflow:auto;overscroll-behavior:contain;transition:.1s ease;transition-property:height}.algolia [command-item]{position:relative;content-visibility:auto;cursor:pointer;height:56px;font-size:14px;display:flex;align-items:center;gap:12px;padding:0 16px;color:var(--gray12);-webkit-user-select:none;user-select:none;will-change:background,color;transition:all .15s ease;transition-property:none;border-radius:4px;margin-top:4px;background-color:var(--lowContrast)}.algolia [command-item]:first-child{margin-top:0}.algolia [command-item][aria-selected=true],.algolia [command-item]:hover{background:var(--vcp-c-brand);color:#fff}.algolia [command-item][aria-selected=true] svg,.algolia [command-item]:hover svg{color:#fff}.algolia [command-item][aria-selected=true] [command-linear-shortcuts],.algolia [command-item]:hover [command-linear-shortcuts]{display:flex;margin-left:auto;gap:8px}.algolia [command-item][aria-selected=true] [command-linear-shortcuts] kbd,.algolia [command-item]:hover [command-linear-shortcuts] kbd{font-family:var(--font-sans);font-size:13px;color:var(--gray11)}.algolia [command-item]:active{transition-property:background;background:var(--gray4)}.algolia [command-item] svg{width:16px;height:16px;color:var(--gray10)}.algolia [command-empty=""]{font-size:14px;display:flex;align-items:center;justify-content:center;height:64px;white-space:pre-wrap;color:var(--gray11)}.algolia [command-dialog-mask]{background-color:#4b4b4bcc}.algolia [command-dialog-header]{padding:12px}.algolia [command-dialog-body]{padding:0 12px 12px}.algolia [command-dialog-footer]{align-items:center;border-radius:0 0 8px 8px;box-shadow:0 -1px #e0e3e8,0 -3px 6px #45629b1f;display:flex;flex-direction:row-reverse;flex-shrink:0;height:44px;justify-content:space-between;padding:0 12px;position:relative;-webkit-user-select:none;user-select:none;width:100%;z-index:300}.algolia [command-group-heading]{color:var(--vcp-c-brand);font-size:.85em;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;top:0;z-index:10;width:100%}.algolia .command-palette-commands{color:var(--docsearch-muted-color);display:flex;list-style:none;margin:0;padding:0}.algolia .command-palette-commands li{display:flex;align-items:center}.algolia .command-palette-commands li:not(:last-of-type){margin-right:.8em}.algolia .command-palette-logo a{display:flex;align-items:center;gap:8px}.algolia .command-palette-logo svg{height:24px;width:24px}.algolia .command-palette-commands-key{align-items:center;background:var(--gray3);border-radius:2px;display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 1px;color:var(--gray11);border:0;width:20px}.dark .algolia [command-dialog-footer]{box-shadow:none}div[command-group]{display:block!important}div[command-item]{display:flex!important}.search-dialog div[command-item]>div.link{width:100%}.search-dialog div[command-item] .title{display:flex;justify-content:space-between}.search-dialog div[command-item] .des{text-overflow:ellipsis;overflow:hidden;word-break:keep-all;white-space:nowrap}.search-dialog div[command-item] .date{min-width:80px}.search-dialog div[command-item] mark{background:none;color:var(--vp-c-brand-1)}.search-dialog div[command-item][aria-selected=true] mark,.search-dialog div[command-item]:hover mark{color:inherit;text-decoration:underline}.VPNavBarSocialLinks[data-v-0394ad82]{display:none}@media (min-width: 1280px){.VPNavBarSocialLinks[data-v-0394ad82]{display:flex;align-items:center}}.title[data-v-8460f0a8]{display:flex;align-items:center;border-bottom:1px solid transparent;width:100%;height:var(--vp-nav-height);font-size:16px;font-weight:600;color:var(--vp-c-text-1);transition:opacity .25s}@media (min-width: 960px){.title[data-v-8460f0a8]{flex-shrink:0}.VPNavBarTitle.has-sidebar .title[data-v-8460f0a8]{border-bottom-color:var(--vp-c-divider)}}[data-v-8460f0a8] .logo{margin-right:8px;height:var(--vp-nav-logo-height)}.VPNavBarTranslations[data-v-74abcbb9]{display:none}@media (min-width: 1280px){.VPNavBarTranslations[data-v-74abcbb9]{display:flex;align-items:center}}.title[data-v-74abcbb9]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.VPNavBar[data-v-19c990f1]{position:relative;height:var(--vp-nav-height);pointer-events:none;white-space:nowrap;transition:background-color .5s}.VPNavBar.has-local-nav[data-v-19c990f1]{background-color:var(--vp-nav-bg-color)}@media (min-width: 960px){.VPNavBar.has-local-nav[data-v-19c990f1]{background-color:transparent}.VPNavBar[data-v-19c990f1]:not(.has-sidebar):not(.top){background-color:var(--vp-nav-bg-color)}}.wrapper[data-v-19c990f1]{padding:0 8px 0 24px}@media (min-width: 768px){.wrapper[data-v-19c990f1]{padding:0 32px}}@media (min-width: 960px){.VPNavBar.has-sidebar .wrapper[data-v-19c990f1]{padding:0}}.container[data-v-19c990f1]{display:flex;justify-content:space-between;margin:0 auto;max-width:calc(var(--vp-layout-max-width) - 64px);height:var(--vp-nav-height);pointer-events:none}.container>.title[data-v-19c990f1],.container>.content[data-v-19c990f1]{pointer-events:none}.container[data-v-19c990f1] *{pointer-events:auto}@media (min-width: 960px){.VPNavBar.has-sidebar .container[data-v-19c990f1]{max-width:100%}}.title[data-v-19c990f1]{flex-shrink:0;height:calc(var(--vp-nav-height) - 1px);transition:background-color .5s}@media (min-width: 960px){.VPNavBar.has-sidebar .title[data-v-19c990f1]{position:absolute;top:0;left:0;z-index:2;padding:0 32px;width:var(--vp-sidebar-width);height:var(--vp-nav-height);background-color:transparent}}@media (min-width: 1440px){.VPNavBar.has-sidebar .title[data-v-19c990f1]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}.content[data-v-19c990f1]{flex-grow:1}@media (min-width: 960px){.VPNavBar.has-sidebar .content[data-v-19c990f1]{position:relative;z-index:1;padding-right:32px;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .content[data-v-19c990f1]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2 + 32px);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.content-body[data-v-19c990f1]{display:flex;justify-content:flex-end;align-items:center;height:var(--vp-nav-height);transition:background-color .5s}@media (min-width: 960px){.VPNavBar:not(.top) .content-body[data-v-19c990f1]{position:relative;background-color:var(--vp-nav-bg-color)}.VPNavBar:not(.has-sidebar):not(.top) .content-body[data-v-19c990f1]{background-color:transparent}}@media (max-width: 767px){.content-body[data-v-19c990f1]{column-gap:.5rem}}.menu+.translations[data-v-19c990f1]:before,.menu+.appearance[data-v-19c990f1]:before,.menu+.social-links[data-v-19c990f1]:before,.translations+.appearance[data-v-19c990f1]:before,.appearance+.social-links[data-v-19c990f1]:before{margin-right:8px;margin-left:8px;width:1px;height:24px;background-color:var(--vp-c-divider);content:""}.menu+.appearance[data-v-19c990f1]:before,.translations+.appearance[data-v-19c990f1]:before{margin-right:16px}.appearance+.social-links[data-v-19c990f1]:before{margin-left:16px}.social-links[data-v-19c990f1]{margin-right:-8px}.divider[data-v-19c990f1]{width:100%;height:1px}@media (min-width: 960px){.VPNavBar.has-sidebar .divider[data-v-19c990f1]{padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .divider[data-v-19c990f1]{padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.divider-line[data-v-19c990f1]{width:100%;height:1px;transition:background-color .5s}.VPNavBar.has-local-nav .divider-line[data-v-19c990f1]{background-color:var(--vp-c-gutter)}@media (min-width: 960px){.VPNavBar:not(.top) .divider-line[data-v-19c990f1]{background-color:var(--vp-c-gutter)}.VPNavBar:not(.has-sidebar):not(.top) .divider[data-v-19c990f1]{background-color:var(--vp-c-gutter)}}.VPNavScreenAppearance[data-v-2d7af913]{display:flex;justify-content:space-between;align-items:center;border-radius:8px;padding:12px 14px 12px 16px;background-color:var(--vp-c-bg-soft)}.text[data-v-2d7af913]{line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.VPNavScreenMenuLink[data-v-05f27b2a]{display:block;border-bottom:1px solid var(--vp-c-divider);padding:12px 0 11px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:border-color .25s,color .25s}.VPNavScreenMenuLink[data-v-05f27b2a]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupLink[data-v-19976ae1]{display:block;margin-left:12px;line-height:32px;font-size:14px;font-weight:400;color:var(--vp-c-text-1);transition:color .25s}.VPNavScreenMenuGroupLink[data-v-19976ae1]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupSection[data-v-8133b170]{display:block}.title[data-v-8133b170]{line-height:32px;font-size:13px;font-weight:700;color:var(--vp-c-text-2);transition:color .25s}.VPNavScreenMenuGroup[data-v-65ef89ca]{border-bottom:1px solid var(--vp-c-divider);height:48px;overflow:hidden;transition:border-color .5s}.VPNavScreenMenuGroup .items[data-v-65ef89ca]{visibility:hidden}.VPNavScreenMenuGroup.open .items[data-v-65ef89ca]{visibility:visible}.VPNavScreenMenuGroup.open[data-v-65ef89ca]{padding-bottom:10px;height:auto}.VPNavScreenMenuGroup.open .button[data-v-65ef89ca]{padding-bottom:6px;color:var(--vp-c-brand-1)}.VPNavScreenMenuGroup.open .button-icon[data-v-65ef89ca]{transform:rotate(45deg)}.button[data-v-65ef89ca]{display:flex;justify-content:space-between;align-items:center;padding:12px 4px 11px 0;width:100%;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.button[data-v-65ef89ca]:hover{color:var(--vp-c-brand-1)}.button-icon[data-v-65ef89ca]{width:14px;height:14px;fill:var(--vp-c-text-2);transition:fill .5s,transform .25s}.group[data-v-65ef89ca]:first-child{padding-top:0}.group+.group[data-v-65ef89ca],.group+.item[data-v-65ef89ca]{padding-top:4px}.VPNavScreenTranslations[data-v-d72aa483]{height:24px;overflow:hidden}.VPNavScreenTranslations.open[data-v-d72aa483]{height:auto}.title[data-v-d72aa483]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-text-1)}.icon[data-v-d72aa483]{width:16px;height:16px;fill:currentColor}.icon.lang[data-v-d72aa483]{margin-right:8px}.icon.chevron[data-v-d72aa483]{margin-left:4px}.list[data-v-d72aa483]{padding:4px 0 0 24px}.link[data-v-d72aa483]{line-height:32px;font-size:13px;color:var(--vp-c-text-1)}.VPNavScreen[data-v-cc5739dd]{position:fixed;top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 1px);right:0;bottom:0;left:0;padding:0 32px;width:100%;background-color:var(--vp-nav-screen-bg-color);overflow-y:auto;transition:background-color .5s;pointer-events:auto}.VPNavScreen.fade-enter-active[data-v-cc5739dd],.VPNavScreen.fade-leave-active[data-v-cc5739dd]{transition:opacity .25s}.VPNavScreen.fade-enter-active .container[data-v-cc5739dd],.VPNavScreen.fade-leave-active .container[data-v-cc5739dd]{transition:transform .25s ease}.VPNavScreen.fade-enter-from[data-v-cc5739dd],.VPNavScreen.fade-leave-to[data-v-cc5739dd]{opacity:0}.VPNavScreen.fade-enter-from .container[data-v-cc5739dd],.VPNavScreen.fade-leave-to .container[data-v-cc5739dd]{transform:translateY(-8px)}@media (min-width: 768px){.VPNavScreen[data-v-cc5739dd]{display:none}}.container[data-v-cc5739dd]{margin:0 auto;padding:24px 0 96px;max-width:288px}.menu+.translations[data-v-cc5739dd],.menu+.appearance[data-v-cc5739dd],.translations+.appearance[data-v-cc5739dd]{margin-top:24px}.menu+.social-links[data-v-cc5739dd]{margin-top:16px}.appearance+.social-links[data-v-cc5739dd]{margin-top:16px}.VPNav[data-v-ae24b3ad]{position:relative;top:var(--vp-layout-top-height, 0px);left:0;z-index:var(--vp-z-index-nav);width:100%;pointer-events:none;transition:background-color .5s}@media (min-width: 960px){.VPNav[data-v-ae24b3ad]{position:fixed}}.VPSidebarItem.level-0[data-v-e31bd47b]{padding-bottom:24px}.VPSidebarItem.collapsed.level-0[data-v-e31bd47b]{padding-bottom:10px}.item[data-v-e31bd47b]{position:relative;display:flex;width:100%}.VPSidebarItem.collapsible>.item[data-v-e31bd47b]{cursor:pointer}.indicator[data-v-e31bd47b]{position:absolute;top:6px;bottom:6px;left:-17px;width:2px;border-radius:2px;transition:background-color .25s}.VPSidebarItem.level-2.is-active>.item>.indicator[data-v-e31bd47b],.VPSidebarItem.level-3.is-active>.item>.indicator[data-v-e31bd47b],.VPSidebarItem.level-4.is-active>.item>.indicator[data-v-e31bd47b],.VPSidebarItem.level-5.is-active>.item>.indicator[data-v-e31bd47b]{background-color:var(--vp-c-brand-1)}.link[data-v-e31bd47b]{display:flex;align-items:center;flex-grow:1}.text[data-v-e31bd47b]{flex-grow:1;padding:4px 0;line-height:24px;font-size:14px;transition:color .25s}.VPSidebarItem.level-0 .text[data-v-e31bd47b]{font-weight:700;color:var(--vp-c-text-1)}.VPSidebarItem.level-1 .text[data-v-e31bd47b],.VPSidebarItem.level-2 .text[data-v-e31bd47b],.VPSidebarItem.level-3 .text[data-v-e31bd47b],.VPSidebarItem.level-4 .text[data-v-e31bd47b],.VPSidebarItem.level-5 .text[data-v-e31bd47b]{font-weight:500;color:var(--vp-c-text-2)}.VPSidebarItem.level-0.is-link>.item>.link:hover .text[data-v-e31bd47b],.VPSidebarItem.level-1.is-link>.item>.link:hover .text[data-v-e31bd47b],.VPSidebarItem.level-2.is-link>.item>.link:hover .text[data-v-e31bd47b],.VPSidebarItem.level-3.is-link>.item>.link:hover .text[data-v-e31bd47b],.VPSidebarItem.level-4.is-link>.item>.link:hover .text[data-v-e31bd47b],.VPSidebarItem.level-5.is-link>.item>.link:hover .text[data-v-e31bd47b]{color:var(--vp-c-brand-1)}.VPSidebarItem.level-0.has-active>.item>.text[data-v-e31bd47b],.VPSidebarItem.level-1.has-active>.item>.text[data-v-e31bd47b],.VPSidebarItem.level-2.has-active>.item>.text[data-v-e31bd47b],.VPSidebarItem.level-3.has-active>.item>.text[data-v-e31bd47b],.VPSidebarItem.level-4.has-active>.item>.text[data-v-e31bd47b],.VPSidebarItem.level-5.has-active>.item>.text[data-v-e31bd47b],.VPSidebarItem.level-0.has-active>.item>.link>.text[data-v-e31bd47b],.VPSidebarItem.level-1.has-active>.item>.link>.text[data-v-e31bd47b],.VPSidebarItem.level-2.has-active>.item>.link>.text[data-v-e31bd47b],.VPSidebarItem.level-3.has-active>.item>.link>.text[data-v-e31bd47b],.VPSidebarItem.level-4.has-active>.item>.link>.text[data-v-e31bd47b],.VPSidebarItem.level-5.has-active>.item>.link>.text[data-v-e31bd47b]{color:var(--vp-c-text-1)}.VPSidebarItem.level-0.is-active>.item .link>.text[data-v-e31bd47b],.VPSidebarItem.level-1.is-active>.item .link>.text[data-v-e31bd47b],.VPSidebarItem.level-2.is-active>.item .link>.text[data-v-e31bd47b],.VPSidebarItem.level-3.is-active>.item .link>.text[data-v-e31bd47b],.VPSidebarItem.level-4.is-active>.item .link>.text[data-v-e31bd47b],.VPSidebarItem.level-5.is-active>.item .link>.text[data-v-e31bd47b]{color:var(--vp-c-brand-1)}.caret[data-v-e31bd47b]{display:flex;justify-content:center;align-items:center;margin-right:-7px;width:32px;height:32px;color:var(--vp-c-text-3);cursor:pointer;transition:color .25s;flex-shrink:0}.item:hover .caret[data-v-e31bd47b]{color:var(--vp-c-text-2)}.item:hover .caret[data-v-e31bd47b]:hover{color:var(--vp-c-text-1)}.caret-icon[data-v-e31bd47b]{width:18px;height:18px;fill:currentColor;transform:rotate(90deg);transition:transform .25s}.VPSidebarItem.collapsed .caret-icon[data-v-e31bd47b]{transform:rotate(0)}.VPSidebarItem.level-1 .items[data-v-e31bd47b],.VPSidebarItem.level-2 .items[data-v-e31bd47b],.VPSidebarItem.level-3 .items[data-v-e31bd47b],.VPSidebarItem.level-4 .items[data-v-e31bd47b],.VPSidebarItem.level-5 .items[data-v-e31bd47b]{border-left:1px solid var(--vp-c-divider);padding-left:16px}.VPSidebarItem.collapsed .items[data-v-e31bd47b]{display:none}.VPSidebar[data-v-575e6a36]{position:fixed;top:var(--vp-layout-top-height, 0px);bottom:0;left:0;z-index:var(--vp-z-index-sidebar);padding:32px 32px 96px;width:calc(100vw - 64px);max-width:320px;background-color:var(--vp-sidebar-bg-color);opacity:0;box-shadow:var(--vp-c-shadow-3);overflow-x:hidden;overflow-y:auto;transform:translate(-100%);transition:opacity .5s,transform .25s ease;overscroll-behavior:contain}.VPSidebar.open[data-v-575e6a36]{opacity:1;visibility:visible;transform:translate(0);transition:opacity .25s,transform .5s cubic-bezier(.19,1,.22,1)}.dark .VPSidebar[data-v-575e6a36]{box-shadow:var(--vp-shadow-1)}@media (min-width: 960px){.VPSidebar[data-v-575e6a36]{padding-top:var(--vp-nav-height);width:var(--vp-sidebar-width);max-width:100%;background-color:var(--vp-sidebar-bg-color);opacity:1;visibility:visible;box-shadow:none;transform:translate(0)}}@media (min-width: 1440px){.VPSidebar[data-v-575e6a36]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}@media (min-width: 960px){.curtain[data-v-575e6a36]{position:sticky;top:-64px;left:0;z-index:1;margin-top:calc(var(--vp-nav-height) * -1);margin-right:-32px;margin-left:-32px;height:var(--vp-nav-height);background-color:var(--vp-sidebar-bg-color)}}.nav[data-v-575e6a36]{outline:0}.group+.group[data-v-575e6a36]{border-top:1px solid var(--vp-c-divider);padding-top:10px}@media (min-width: 960px){.group[data-v-575e6a36]{padding-top:10px;width:calc(var(--vp-sidebar-width) - 64px)}}.VPSkipLink[data-v-0f60ec36]{top:8px;left:8px;padding:8px 16px;z-index:999;border-radius:8px;font-size:12px;font-weight:700;text-decoration:none;color:var(--vp-c-brand-1);box-shadow:var(--vp-shadow-3);background-color:var(--vp-c-bg)}.VPSkipLink[data-v-0f60ec36]:focus{height:auto;width:auto;clip:auto;clip-path:none}@media (min-width: 1280px){.VPSkipLink[data-v-0f60ec36]{top:14px;left:16px}}.Layout[data-v-ae5c84bb]{display:flex;flex-direction:column;min-height:100vh}.VPHomeSponsors[data-v-96bd69d5]{border-top:1px solid var(--vp-c-gutter);padding:88px 24px 96px;background-color:var(--vp-c-bg)}.container[data-v-96bd69d5]{margin:0 auto;max-width:1152px}.love[data-v-96bd69d5]{margin:0 auto;width:28px;height:28px;color:var(--vp-c-text-3)}.icon[data-v-96bd69d5]{width:28px;height:28px;fill:currentColor}.message[data-v-96bd69d5]{margin:0 auto;padding-top:10px;max-width:320px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.sponsors[data-v-96bd69d5]{padding-top:32px}.action[data-v-96bd69d5]{padding-top:40px;text-align:center}.VPTeamPage[data-v-10b00018]{padding-bottom:96px}@media (min-width: 768px){.VPTeamPage[data-v-10b00018]{padding-bottom:128px}}.VPTeamPageSection+.VPTeamPageSection[data-v-10b00018-s],.VPTeamMembers+.VPTeamPageSection[data-v-10b00018-s]{margin-top:64px}.VPTeamMembers+.VPTeamMembers[data-v-10b00018-s]{margin-top:24px}@media (min-width: 768px){.VPTeamPageTitle+.VPTeamPageSection[data-v-10b00018-s]{margin-top:16px}.VPTeamPageSection+.VPTeamPageSection[data-v-10b00018-s],.VPTeamMembers+.VPTeamPageSection[data-v-10b00018-s]{margin-top:96px}}.VPTeamMembers[data-v-10b00018-s]{padding:0 24px}@media (min-width: 768px){.VPTeamMembers[data-v-10b00018-s]{padding:0 48px}}@media (min-width: 960px){.VPTeamMembers[data-v-10b00018-s]{padding:0 64px}}.VPTeamPageTitle[data-v-bf2cbdac]{padding:48px 32px;text-align:center}@media (min-width: 768px){.VPTeamPageTitle[data-v-bf2cbdac]{padding:64px 48px 48px}}@media (min-width: 960px){.VPTeamPageTitle[data-v-bf2cbdac]{padding:80px 64px 48px}}.title[data-v-bf2cbdac]{letter-spacing:0;line-height:44px;font-size:36px;font-weight:500}@media (min-width: 768px){.title[data-v-bf2cbdac]{letter-spacing:-.5px;line-height:56px;font-size:48px}}.lead[data-v-bf2cbdac]{margin:0 auto;max-width:512px;padding-top:12px;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 768px){.lead[data-v-bf2cbdac]{max-width:592px;letter-spacing:.15px;line-height:28px;font-size:20px}}.VPTeamPageSection[data-v-b1a88750]{padding:0 32px}@media (min-width: 768px){.VPTeamPageSection[data-v-b1a88750]{padding:0 48px}}@media (min-width: 960px){.VPTeamPageSection[data-v-b1a88750]{padding:0 64px}}.title[data-v-b1a88750]{position:relative;margin:0 auto;max-width:1152px;text-align:center;color:var(--vp-c-text-2)}.title-line[data-v-b1a88750]{position:absolute;top:16px;left:0;width:100%;height:1px;background-color:var(--vp-c-divider)}.title-text[data-v-b1a88750]{position:relative;display:inline-block;padding:0 24px;letter-spacing:0;line-height:32px;font-size:20px;font-weight:500;background-color:var(--vp-c-bg)}.lead[data-v-b1a88750]{margin:0 auto;max-width:480px;padding-top:12px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.members[data-v-b1a88750]{padding-top:40px}.VPTeamMembersItem[data-v-0d3d0d4d]{display:flex;flex-direction:column;gap:2px;border-radius:12px;width:100%;height:100%;overflow:hidden}.VPTeamMembersItem.small .profile[data-v-0d3d0d4d]{padding:32px}.VPTeamMembersItem.small .data[data-v-0d3d0d4d]{padding-top:20px}.VPTeamMembersItem.small .avatar[data-v-0d3d0d4d]{width:64px;height:64px}.VPTeamMembersItem.small .name[data-v-0d3d0d4d]{line-height:24px;font-size:16px}.VPTeamMembersItem.small .affiliation[data-v-0d3d0d4d]{padding-top:4px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .desc[data-v-0d3d0d4d]{padding-top:12px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .links[data-v-0d3d0d4d]{margin:0 -16px -20px;padding:10px 0 0}.VPTeamMembersItem.medium .profile[data-v-0d3d0d4d]{padding:48px 32px}.VPTeamMembersItem.medium .data[data-v-0d3d0d4d]{padding-top:24px;text-align:center}.VPTeamMembersItem.medium .avatar[data-v-0d3d0d4d]{width:96px;height:96px}.VPTeamMembersItem.medium .name[data-v-0d3d0d4d]{letter-spacing:.15px;line-height:28px;font-size:20px}.VPTeamMembersItem.medium .affiliation[data-v-0d3d0d4d]{padding-top:4px;font-size:16px}.VPTeamMembersItem.medium .desc[data-v-0d3d0d4d]{padding-top:16px;max-width:288px;font-size:16px}.VPTeamMembersItem.medium .links[data-v-0d3d0d4d]{margin:0 -16px -12px;padding:16px 12px 0}.profile[data-v-0d3d0d4d]{flex-grow:1;background-color:var(--vp-c-bg-soft)}.data[data-v-0d3d0d4d]{text-align:center}.avatar[data-v-0d3d0d4d]{position:relative;flex-shrink:0;margin:0 auto;border-radius:50%;box-shadow:var(--vp-shadow-3)}.avatar-img[data-v-0d3d0d4d]{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;object-fit:cover}.name[data-v-0d3d0d4d]{margin:0;font-weight:600}.affiliation[data-v-0d3d0d4d]{margin:0;font-weight:500;color:var(--vp-c-text-2)}.org.link[data-v-0d3d0d4d]{color:var(--vp-c-text-2);transition:color .25s}.org.link[data-v-0d3d0d4d]:hover{color:var(--vp-c-brand-1)}.desc[data-v-0d3d0d4d]{margin:0 auto}.desc[data-v-0d3d0d4d] a{font-weight:500;color:var(--vp-c-brand-1);text-decoration-style:dotted;transition:color .25s}.links[data-v-0d3d0d4d]{display:flex;justify-content:center;height:56px}.sp-link[data-v-0d3d0d4d]{display:flex;justify-content:center;align-items:center;text-align:center;padding:16px;font-size:14px;font-weight:500;color:var(--vp-c-sponsor);background-color:var(--vp-c-bg-soft);transition:color .25s,background-color .25s}.sp .sp-link.link[data-v-0d3d0d4d]:hover,.sp .sp-link.link[data-v-0d3d0d4d]:focus{outline:none;color:var(--vp-c-white);background-color:var(--vp-c-sponsor)}.sp-icon[data-v-0d3d0d4d]{margin-right:8px;width:16px;height:16px;fill:currentColor}.VPTeamMembers.small .container[data-v-6cb0dbc4]{grid-template-columns:repeat(auto-fit,minmax(224px,1fr))}.VPTeamMembers.small.count-1 .container[data-v-6cb0dbc4]{max-width:276px}.VPTeamMembers.small.count-2 .container[data-v-6cb0dbc4]{max-width:576px}.VPTeamMembers.small.count-3 .container[data-v-6cb0dbc4]{max-width:876px}.VPTeamMembers.medium .container[data-v-6cb0dbc4]{grid-template-columns:repeat(auto-fit,minmax(256px,1fr))}@media (min-width: 375px){.VPTeamMembers.medium .container[data-v-6cb0dbc4]{grid-template-columns:repeat(auto-fit,minmax(288px,1fr))}}.VPTeamMembers.medium.count-1 .container[data-v-6cb0dbc4]{max-width:368px}.VPTeamMembers.medium.count-2 .container[data-v-6cb0dbc4]{max-width:760px}.container[data-v-6cb0dbc4]{display:grid;gap:24px;margin:0 auto;max-width:1152px} diff --git a/docs/9008flash.html b/docs/9008flash.html new file mode 100644 index 0000000..c39f968 --- /dev/null +++ b/docs/9008flash.html @@ -0,0 +1,26 @@ + + + + + + 施工中 | Root Docs + + + + + + + + + + + + + + + +
Skip to content

Released under the GFDL License.

+ + + + \ No newline at end of file diff --git a/docs/brush.html b/docs/brush.html new file mode 100644 index 0000000..ee4f65a --- /dev/null +++ b/docs/brush.html @@ -0,0 +1,26 @@ + + + + + + 施工中 | Root Docs + + + + + + + + + + + + + + + +
Skip to content

Released under the GFDL License.

+ + + + \ No newline at end of file diff --git a/docs/gsi.html b/docs/gsi.html new file mode 100644 index 0000000..54e5687 --- /dev/null +++ b/docs/gsi.html @@ -0,0 +1,26 @@ + + + + + + 施工中 | Root Docs + + + + + + + + + + + + + + + +
Skip to content

Released under the GFDL License.

+ + + + \ No newline at end of file diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..afc1ac4 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,43 @@ + + + + + + 前言 | Root Docs + + + + + + + + + + + + + + + +
Skip to content

前言

本教程包含 Android 设备的 Root刷机 教程,以及 Magisk 模块的使用方法和注意事项,供刷写机器时进行速查或者作为入门教程。

仓库地址是 sudoskys/Root

WARNING

刷写机器有风险,刷机前请做好备份。 因为机型众多,本教程难免疏漏,请多多询问同机型用户。如果对自己的能力感到怀疑,请委托专人刷写机器。 作者不会对刷机过程中的任何损失负责。

快速开始

此页面为快速开始,介绍整个流程。

我为 VAB分区 SELinux 撰写的其他科普专题,请点击左侧导航栏。

什么是 Root

Root,即超级用户,是 Android 系统中的最高权限,拥有 Root 权限的用户可以对系统进行任意修改,包括删除系统自带的应用、修改系统文件、更换系统字体、更换系统主题、更换系统开机动画等等。[^1]

但是厂商并不希望用户获取 Root 权限,因为这会破坏系统安全,并且可能会被不法分子利用。

目前,最流行的 Root 框架是 Magisk,我们使用 adbfastboot 工具链接手机和烧录 Magisk 修补后的分区文件,来获取 Root 权限。

下文将会主要介绍这种方法。

TIP

因为 Android 阵营厂商众多,的确很难保证他们步伐齐一,所以本教程只会介绍通用的刷机方法和几个专题。 如果你的机型不在本教程中,可以尝试在 xda-developers 或 知乎,酷安 上搜索你的机型。

还没有买手机?

如果你还没有买手机,可以参考 Bootloader 解锁各厂商支持列表

流程(线刷)

引用 少数派教程^3 的大致流程图如下:

引用自少数派

要查询你的机型是否可以刷机,需要做以下几步调查:

  • 是否允许解锁 Bootloader
  • 是否有可用的同系统版本的 Rom 包
  • 刷写分区是 boot 还是 init_boot
  • 如果没有,是否有其他玩家成功刷入
  • 如果没有,论坛询问其他玩家

备份数据

利用手机自带的备份功能,备份好你的数据,比如短信、通讯录、照片、视频、聊天记录、音乐等等。

接下来的操作会清除你的手机数据,所以请务必备份你的数据到其他存储设备

准备刷写环境

寻找一键工具箱

如果你的机型有一键工具箱,那么你可以直接使用它来刷机,类似 大侠阿木的 一加全能工具箱

如果你觉得仍然有必要学习刷机的话,那么你可以继续阅读本教程。

准备 Magisk

为了准备修补系统分区获取 Root 权限,请从 Github 下载最新版本 Magisk。

Ramdisk 是系统中的一个小分区,Ramdisk 告诉系统需要加载哪些东西。而 Magisk 的目的就是修改 Ramdsik,把自己加进开机需要加载的系统组件中。

WARNING

安装 Magisk Manager 后如果主页面 Ramdisk,那么你才可以用面具刷写机器,反之只能放弃线刷。 当 Ramdisk 的值为「否」时,表示需要修改的 Ramdisk 被放在了 recovery.img 中,我们需要提取并修改 recovery.img,具体详情需要查阅专题。

TIP

少数小米设备存在检测设备信息错误的问题,Ramdisk 虽然显示为 ,但实际上需要修改 boot.img,具体请询问相同机型的刷机爱好者。

安装手机驱动

你必须安装驱动才能调试你的设备。不同的安卓系统需要不同的驱动,它们一般由手机厂商提供。

如果你持有 Google 手机,你可以安装 Google USB 驱动

其他厂商的驱动如下表所示:

OEMDriver URL
Acerhttps://www.acer.com/worldwide/support/
Alcatel Mobilehttps://www.alcatelmobile.com/support/
Asushttps://www.asus.com/support/Download-Center/
Blackberryhttps://swdownloads.blackberry.com/Downloads/entry.do?code=4EE0932F46276313B51570F46266A608
Dellhttps://support.dell.com/support/downloads/index.aspx?c=us&cs=19&l=en&s=dhs&~ck=anavml
FCNThttps://www.fcnt.com/support/develop/#anc-03
HTChttps://www.htc.com/support
Huaweihttps://consumer.huawei.com/en/support/index.htm
Intelhttps://www.intel.com/software/android
Kyocerahttps://kyoceramobile.com/support/drivers/
Lenovohttps://support.lenovo.com/us/en/GlobalProductSelector
LGEhttps://www.lg.com/us/support/software-firmware
Motorolahttps://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481/
MTKhttp://online.mediatek.com/Public%20Documents/MTK_Android_USB_Driver.zip(ZIP download)
Samsunghttps://developer.samsung.com/galaxy/others/android-usb-driver-for-windows
Sharphttp://k-tai.sharp.co.jp/support/
Sony Mobile Communicationshttps://developer.sonymobile.com/downloads/drivers/
Toshibahttps://support.toshiba.com/sscontent?docId=4001814
Xiaomihttps://web.vip.miui.com/page/info/mio/mio/detail?postId=18464849&app_version=dev.20051
ZTEhttp://support.zte.com.cn/support/news/NewsDetail.aspx?newsId=1000442

表中数据来自 Install OEM USB drivers

安装 adbfastboot 工具

手动安装

  • Windows10 系统

按住 shift 键,点击 右键,选择 在此处打开 PowerShell 窗口

输入以下命令:

shell
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
+Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
+scoop install aria2
+scoop install main/adb

等待安装完成。

  • Linux 系统
shell
# Debian
+sudo apt install android-tools-adb 
+sudo apt install android-tools-fastboot
+# CentOS
+sudo yum install android-tools
+sudo yum install android-tools-fastboot
+# Arch
+sudo pacman -S android-tools
  • macOS 系统
shell
brew install android-platform-tools

测试 adb 链接

关于手机 中找到 版本号,连续点击,进入开发者模式,打开 USB调试

使用可靠的 USB 数据线连接手机和电脑。

在弹出窗口中选择 允许文件传输一律允许此设备进行 USB 调试

打开 PowerShell终端,输入 adb devices 列出设备,如果出现以下结果,说明链接成功。

shell
List of devices attached
+xxx device

TIP

如果你在之后的步骤中遇到了 xxx offline 的问题(例如在切换到同设备的其他系统)。 请按照下面的操作重启链接。

  • 拔掉 USB 数据线
  • 在电脑终端输入 adb kill-server 关闭 adb 服务,然后输入 adb start-server 重启 adb 服务
  • 在手机中关闭 USB调试
  • 撤销 USB调试 的授权
  • 重新插入 USB 数据线
  • 重新打开 USB调试 并授权

使用 adbfastboot 工具的小技巧

  • ADB
shell
adb reboot bootloader     #进入 Bootloader 模式-
+adb shell                 #启动 ADB 终端--
+adb push <local> <remote> #从本地复制文件到设备---
+adb pull <remote> <local> #从设备复制文件到本地----
  • Fastboot
shell
fastboot reboot

解锁 Bootloader

DANGER

解锁 Bootloader 会清除你的手机数据。 解锁 Bootloader 后,你可能会面临失去保修,损坏 TTE ,无法使用某些应用,无法升级系统等问题。

请阅读 Bootloader 解锁支持列表

Bootloader 是 Android 系统开始运行前的一个小程序,它是运行的第一个程序。

Bootloader 由 OEM厂商(华为、小米和三星等)锁定,或由运营商限制,以防止用户安装其他系统。我们需要解锁 Bootloader 才能。

解锁 Bootloader 会清除手机内的所有数据,所以在解锁前请做好备份。

一些安卓厂商会开放解锁 Bootloader 的权限,比如一加,或者设置一些门槛,比如小米采用答题 来测试用户水平。

有些安卓厂商会禁止解锁 Bootloader ,比如华为的部分机型。

TIP

除了官方的解锁方式,还有一些第三方的解锁方式,比如 9008短接/线刷MTK漏洞。 当然,还有万能的淘宝。

解锁步骤

使用可靠的 USB 数据线连接手机和电脑。

关于手机 中找到 版本号,连续点击,进入开发者模式,打开 OEM解锁USB调试。OEM 必须一直开启。

使用ADB命令 adb reboot bootloader 重启手机,进入 Bootloader 模式。

进入 Bootloader 模式的其他方法

你可以使用 adb 工具指示手机进入 Bootloader 模式。 对于某些手机,你还也可以使用按键组合进入 Bootloader 模式,比如按 电源键 重启,马上按住 音量键-

输入 fastboot flashing unlock 解锁。详见 安卓开发者文档-锁定/解锁引导加载程序

在手机上使用音量键选择 UNLOCK THE BOOTLOADER,按 电源键 确认。

准备文件

在手机的 关于手机 中,寻找系统版本号,记录下来。然后去下载对应的全量包或 boot 分区文件。

关于全量包

官方 ROM 的压缩包,例如 Google小米Moto,它们由厂商发布,可从固定的发布页面、机型论坛等下载符合你的机型和型号的 Rom. 一些厂商同时提供了 OTA包 和 全量包 ,我们优先下载全量包,解压后即可获得 boot.img,也就是我们所需要的 boot 分区的镜像文件。 如果你使用的是第三方开发者制作的 ROM,也同样需要下载系统全量包解压获取,而部分开发者也会单独释出 boot.img 为玩家提供便利。 如果你的机型没有释放对应的 ROM 包,但是机器为联发科(天矶<920),你可以利用芯片漏洞提取 boot.img

下载全量包后,如果打开发现 pyload.bin,那么你需要使用 payload dumper 工具解包,请下载 payload-dumper-go 按照操作解包。

工具如何使用

请打开浏览器的翻译功能,翻译 这个页面

解包的过程需要大约 镜像大小*3 硬盘空间。

WARNING

Android 12 及更高版本的设备的架构中,包含通用 ramdisk 的为新 init_boot 映像,而不是传统的 boot 映像。 所以如果你的设备是 Android 12 及更高版本,你需要使用 init_boot.img 镜像文件。参考 安卓开发文档-通用Boot镜像

准备修补

将镜像通过文叔叔或数据线传递到手机,打开 Magisk Manager ,点击 Magisk 后边的安装,选择安装方式为 选择并修改一个文件 ,从手机端复制 boot.img 文件到手机并选中该文件,点击开始 ,仔细阅读修改结果并从结果中复制patch后的文件(一般在 Download 文件夹下,文件名类似magisk_patched-24100_gk0te.img)到电脑。

INFO

有些安卓10及以上机型刷入修改的 boot 后可能会由于 vbmeta.img 的验证导致设备无法启动 ,可尝试保持 boot 镜像 中的 vbmeta,此选项在最新版面具中已支持。

现在你有了修补后的 boot 分区镜像文件和原始的 boot 分区镜像文件,把它们都复制到电脑上备用。

准备刷写

A/B分区

从安卓 7.0 开始,厂商们引入了新的OTA升级方式 A/B System Updates,这种升级方式将 boot 等分区变为两套,叫做 slot A (boot_a,system_a...) 和 slot B(boot_b, system_b...),平时使用的叫主分区,不用的叫备用分区。 系统升级时主备切换可以做到无缝升级。

为了解决双倍占用的问题,就有了 VAB 虚拟AB分区 (普遍见于安卓11以上的机器)。 VAB 的一个分区出现问题,另一个也会受到影响。

你可以在 运行 adb shell getprop ro.boot.slot_suffix 获取当前分区。

  • 临时启动

如果你的机器支持 fastboot boot,那么你可以使用 fastboot boot <修改后的 boot.img 路径> 来临时启动 Magisk。 但是下次启动就会失去 Root 权限。

  • 刷写

使用 adb 命令 adb reboot bootloader 重启手机,进入 Bootloader 模式。

使用 fastboot 命令 fastboot devices 检查设备是否连接,如果没有则为驱动问题。

使用 fastboot 命令 fastboot flash boot <修改后的 boot.img 路径> 刷写镜像。

输出类似以下结果,说明刷写成功。

shell
PS C:\114514\Downloads> fastboot flash boot .\magisk_patched-20000_AAAAA.img
+Sending 'boot' (29079 KB)                          OKAY [  0.936s]
+Writing 'boot'                                     OKAY [  0.878s]
+Finished. Total time: 2.085s

注意事项

如果你的机型是 A/B 分区,那么你需要刷写 boot_aboot_b 分区,否则可能不生效。 如果你的机器有 init_boot.img 分区,那么你需要用命令 fastboot flash init_boot 刷写 init_boot 分区。

使用 fastboot 命令 fastboot reboot 重启手机。

如果重启失败,刷写回原始的 boot 分区镜像文件,就可以修复。

如果重启成功,打开 Magisk Manager ,如果显示 安装,那么说明刷写成功。

但是刷机并没有完全结束,你还需要进行一些配置。

Released under the GFDL License.

+ + + + \ No newline at end of file diff --git a/docs/kernelsu.html b/docs/kernelsu.html new file mode 100644 index 0000000..fb0c771 --- /dev/null +++ b/docs/kernelsu.html @@ -0,0 +1,26 @@ + + + + + + 施工中 | Root Docs + + + + + + + + + + + + + + + +
Skip to content

Released under the GFDL License.

+ + + + \ No newline at end of file diff --git a/docs/mtk_vul.html b/docs/mtk_vul.html new file mode 100644 index 0000000..da93eb4 --- /dev/null +++ b/docs/mtk_vul.html @@ -0,0 +1,26 @@ + + + + + + 施工中 | Root Docs + + + + + + + + + + + + + + + +
Skip to content

Released under the GFDL License.

+ + + + \ No newline at end of file diff --git a/docs/optimize.html b/docs/optimize.html new file mode 100644 index 0000000..f70653f --- /dev/null +++ b/docs/optimize.html @@ -0,0 +1,26 @@ + + + + + + 施工中 | Root Docs + + + + + + + + + + + + + + + +
Skip to content

Released under the GFDL License.

+ + + + \ No newline at end of file diff --git a/docs/partition.html b/docs/partition.html new file mode 100644 index 0000000..d50f00c --- /dev/null +++ b/docs/partition.html @@ -0,0 +1,26 @@ + + + + + + 施工中 | Root Docs + + + + + + + + + + + + + + + +
Skip to content

Released under the GFDL License.

+ + + + \ No newline at end of file diff --git a/docs/unbrick.html b/docs/unbrick.html new file mode 100644 index 0000000..1910299 --- /dev/null +++ b/docs/unbrick.html @@ -0,0 +1,26 @@ + + + + + + 施工中 | Root Docs + + + + + + + + + + + + + + + +
Skip to content

Released under the GFDL License.

+ + + + \ No newline at end of file diff --git a/hashmap.json b/hashmap.json new file mode 100644 index 0000000..d760aec --- /dev/null +++ b/hashmap.json @@ -0,0 +1 @@ +{"docs_gsi.md":"wh6lnbqG","docs_mtk_vul.md":"x0mChdRu","docs_9008flash.md":"o9PBSX4e","index.md":"MhDXnfXh","docs_kernelsu.md":"cXutu6xB","docs_index.md":"MXph_Dtz","docs_optimize.md":"jw4QeG1q","docs_unbrick.md":"8r_VtOhz","docs_partition.md":"XwNI5O47","docs_brush.md":"6RkhBpa0"} diff --git a/index.html b/index.html new file mode 100644 index 0000000..71f3943 --- /dev/null +++ b/index.html @@ -0,0 +1,26 @@ + + + + + + Root Docs + + + + + + + + + + + + + + + +
Skip to content

RootDocs

刷写机器指南和教程

为快速刷写安卓机器编写的速查手册

Released under the GFDL License.

+ + + + \ No newline at end of file diff --git a/pagefind/fragment/zh_30d0e1d.pf_fragment b/pagefind/fragment/zh_30d0e1d.pf_fragment new file mode 100644 index 0000000..205d59b Binary files /dev/null and b/pagefind/fragment/zh_30d0e1d.pf_fragment differ diff --git a/pagefind/fragment/zh_437e5c9.pf_fragment b/pagefind/fragment/zh_437e5c9.pf_fragment new file mode 100644 index 0000000..6853a5d Binary files /dev/null and b/pagefind/fragment/zh_437e5c9.pf_fragment differ diff --git a/pagefind/fragment/zh_445555f.pf_fragment b/pagefind/fragment/zh_445555f.pf_fragment new file mode 100644 index 0000000..d07e953 Binary files /dev/null and b/pagefind/fragment/zh_445555f.pf_fragment differ diff --git a/pagefind/fragment/zh_6922db5.pf_fragment b/pagefind/fragment/zh_6922db5.pf_fragment new file mode 100644 index 0000000..6bf8497 Binary files /dev/null and b/pagefind/fragment/zh_6922db5.pf_fragment differ diff --git a/pagefind/fragment/zh_7510235.pf_fragment b/pagefind/fragment/zh_7510235.pf_fragment new file mode 100644 index 0000000..8c87cc9 Binary files /dev/null and b/pagefind/fragment/zh_7510235.pf_fragment differ diff --git a/pagefind/fragment/zh_7c70b8e.pf_fragment b/pagefind/fragment/zh_7c70b8e.pf_fragment new file mode 100644 index 0000000..bf23a3f Binary files /dev/null and b/pagefind/fragment/zh_7c70b8e.pf_fragment differ diff --git a/pagefind/fragment/zh_82fa2a8.pf_fragment b/pagefind/fragment/zh_82fa2a8.pf_fragment new file mode 100644 index 0000000..098b930 Binary files /dev/null and b/pagefind/fragment/zh_82fa2a8.pf_fragment differ diff --git a/pagefind/fragment/zh_a59deb9.pf_fragment b/pagefind/fragment/zh_a59deb9.pf_fragment new file mode 100644 index 0000000..1c5fe2e Binary files /dev/null and b/pagefind/fragment/zh_a59deb9.pf_fragment differ diff --git a/pagefind/fragment/zh_b4208fb.pf_fragment b/pagefind/fragment/zh_b4208fb.pf_fragment new file mode 100644 index 0000000..c95992e Binary files /dev/null and b/pagefind/fragment/zh_b4208fb.pf_fragment differ diff --git a/pagefind/fragment/zh_d189935.pf_fragment b/pagefind/fragment/zh_d189935.pf_fragment new file mode 100644 index 0000000..3effb04 Binary files /dev/null and b/pagefind/fragment/zh_d189935.pf_fragment differ diff --git a/pagefind/fragment/zh_e91cf9e.pf_fragment b/pagefind/fragment/zh_e91cf9e.pf_fragment new file mode 100644 index 0000000..ff86339 Binary files /dev/null and b/pagefind/fragment/zh_e91cf9e.pf_fragment differ diff --git a/pagefind/index/zh_64126ba.pf_index b/pagefind/index/zh_64126ba.pf_index new file mode 100644 index 0000000..a2704d1 Binary files /dev/null and b/pagefind/index/zh_64126ba.pf_index differ diff --git a/pagefind/pagefind-entry.json b/pagefind/pagefind-entry.json new file mode 100644 index 0000000..71635eb --- /dev/null +++ b/pagefind/pagefind-entry.json @@ -0,0 +1 @@ +{"version":"1.0.4","languages":{"zh":{"hash":"zh_47c81739bd","wasm":null,"page_count":11}}} \ No newline at end of file diff --git a/pagefind/pagefind-highlight.js b/pagefind/pagefind-highlight.js new file mode 100644 index 0000000..c823fbf --- /dev/null +++ b/pagefind/pagefind-highlight.js @@ -0,0 +1,1069 @@ +var __create = Object.create; +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __getProtoOf = Object.getPrototypeOf; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __commonJS = (cb, mod) => function __require() { + return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( + // If the importer is in node compatibility mode or this is not an ESM + // file that has been converted to a CommonJS file using a Babel- + // compatible transform (i.e. "__esModule" has not been set), then set + // "default" to the CommonJS "module.exports" for node compatibility. + isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, + mod +)); + +// node_modules/mark.js/dist/mark.js +var require_mark = __commonJS({ + "node_modules/mark.js/dist/mark.js"(exports, module) { + (function(global, factory) { + typeof exports === "object" && typeof module !== "undefined" ? module.exports = factory() : typeof define === "function" && define.amd ? define(factory) : global.Mark = factory(); + })(exports, function() { + "use strict"; + var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function(obj) { + return typeof obj; + } : function(obj) { + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; + }; + var classCallCheck = function(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + }; + var createClass = function() { + function defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) + descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + return function(Constructor, protoProps, staticProps) { + if (protoProps) + defineProperties(Constructor.prototype, protoProps); + if (staticProps) + defineProperties(Constructor, staticProps); + return Constructor; + }; + }(); + var _extends = Object.assign || function(target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i]; + for (var key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + target[key] = source[key]; + } + } + } + return target; + }; + var DOMIterator = function() { + function DOMIterator2(ctx) { + var iframes = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : true; + var exclude = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : []; + var iframesTimeout = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 5e3; + classCallCheck(this, DOMIterator2); + this.ctx = ctx; + this.iframes = iframes; + this.exclude = exclude; + this.iframesTimeout = iframesTimeout; + } + createClass(DOMIterator2, [{ + key: "getContexts", + value: function getContexts() { + var ctx = void 0, filteredCtx = []; + if (typeof this.ctx === "undefined" || !this.ctx) { + ctx = []; + } else if (NodeList.prototype.isPrototypeOf(this.ctx)) { + ctx = Array.prototype.slice.call(this.ctx); + } else if (Array.isArray(this.ctx)) { + ctx = this.ctx; + } else if (typeof this.ctx === "string") { + ctx = Array.prototype.slice.call(document.querySelectorAll(this.ctx)); + } else { + ctx = [this.ctx]; + } + ctx.forEach(function(ctx2) { + var isDescendant = filteredCtx.filter(function(contexts) { + return contexts.contains(ctx2); + }).length > 0; + if (filteredCtx.indexOf(ctx2) === -1 && !isDescendant) { + filteredCtx.push(ctx2); + } + }); + return filteredCtx; + } + }, { + key: "getIframeContents", + value: function getIframeContents(ifr, successFn) { + var errorFn = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : function() { + }; + var doc = void 0; + try { + var ifrWin = ifr.contentWindow; + doc = ifrWin.document; + if (!ifrWin || !doc) { + throw new Error("iframe inaccessible"); + } + } catch (e) { + errorFn(); + } + if (doc) { + successFn(doc); + } + } + }, { + key: "isIframeBlank", + value: function isIframeBlank(ifr) { + var bl = "about:blank", src = ifr.getAttribute("src").trim(), href = ifr.contentWindow.location.href; + return href === bl && src !== bl && src; + } + }, { + key: "observeIframeLoad", + value: function observeIframeLoad(ifr, successFn, errorFn) { + var _this = this; + var called = false, tout = null; + var listener = function listener2() { + if (called) { + return; + } + called = true; + clearTimeout(tout); + try { + if (!_this.isIframeBlank(ifr)) { + ifr.removeEventListener("load", listener2); + _this.getIframeContents(ifr, successFn, errorFn); + } + } catch (e) { + errorFn(); + } + }; + ifr.addEventListener("load", listener); + tout = setTimeout(listener, this.iframesTimeout); + } + }, { + key: "onIframeReady", + value: function onIframeReady(ifr, successFn, errorFn) { + try { + if (ifr.contentWindow.document.readyState === "complete") { + if (this.isIframeBlank(ifr)) { + this.observeIframeLoad(ifr, successFn, errorFn); + } else { + this.getIframeContents(ifr, successFn, errorFn); + } + } else { + this.observeIframeLoad(ifr, successFn, errorFn); + } + } catch (e) { + errorFn(); + } + } + }, { + key: "waitForIframes", + value: function waitForIframes(ctx, done) { + var _this2 = this; + var eachCalled = 0; + this.forEachIframe(ctx, function() { + return true; + }, function(ifr) { + eachCalled++; + _this2.waitForIframes(ifr.querySelector("html"), function() { + if (!--eachCalled) { + done(); + } + }); + }, function(handled) { + if (!handled) { + done(); + } + }); + } + }, { + key: "forEachIframe", + value: function forEachIframe(ctx, filter, each) { + var _this3 = this; + var end = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : function() { + }; + var ifr = ctx.querySelectorAll("iframe"), open = ifr.length, handled = 0; + ifr = Array.prototype.slice.call(ifr); + var checkEnd = function checkEnd2() { + if (--open <= 0) { + end(handled); + } + }; + if (!open) { + checkEnd(); + } + ifr.forEach(function(ifr2) { + if (DOMIterator2.matches(ifr2, _this3.exclude)) { + checkEnd(); + } else { + _this3.onIframeReady(ifr2, function(con) { + if (filter(ifr2)) { + handled++; + each(con); + } + checkEnd(); + }, checkEnd); + } + }); + } + }, { + key: "createIterator", + value: function createIterator(ctx, whatToShow, filter) { + return document.createNodeIterator(ctx, whatToShow, filter, false); + } + }, { + key: "createInstanceOnIframe", + value: function createInstanceOnIframe(contents) { + return new DOMIterator2(contents.querySelector("html"), this.iframes); + } + }, { + key: "compareNodeIframe", + value: function compareNodeIframe(node, prevNode, ifr) { + var compCurr = node.compareDocumentPosition(ifr), prev = Node.DOCUMENT_POSITION_PRECEDING; + if (compCurr & prev) { + if (prevNode !== null) { + var compPrev = prevNode.compareDocumentPosition(ifr), after = Node.DOCUMENT_POSITION_FOLLOWING; + if (compPrev & after) { + return true; + } + } else { + return true; + } + } + return false; + } + }, { + key: "getIteratorNode", + value: function getIteratorNode(itr) { + var prevNode = itr.previousNode(); + var node = void 0; + if (prevNode === null) { + node = itr.nextNode(); + } else { + node = itr.nextNode() && itr.nextNode(); + } + return { + prevNode, + node + }; + } + }, { + key: "checkIframeFilter", + value: function checkIframeFilter(node, prevNode, currIfr, ifr) { + var key = false, handled = false; + ifr.forEach(function(ifrDict, i) { + if (ifrDict.val === currIfr) { + key = i; + handled = ifrDict.handled; + } + }); + if (this.compareNodeIframe(node, prevNode, currIfr)) { + if (key === false && !handled) { + ifr.push({ + val: currIfr, + handled: true + }); + } else if (key !== false && !handled) { + ifr[key].handled = true; + } + return true; + } + if (key === false) { + ifr.push({ + val: currIfr, + handled: false + }); + } + return false; + } + }, { + key: "handleOpenIframes", + value: function handleOpenIframes(ifr, whatToShow, eCb, fCb) { + var _this4 = this; + ifr.forEach(function(ifrDict) { + if (!ifrDict.handled) { + _this4.getIframeContents(ifrDict.val, function(con) { + _this4.createInstanceOnIframe(con).forEachNode(whatToShow, eCb, fCb); + }); + } + }); + } + }, { + key: "iterateThroughNodes", + value: function iterateThroughNodes(whatToShow, ctx, eachCb, filterCb, doneCb) { + var _this5 = this; + var itr = this.createIterator(ctx, whatToShow, filterCb); + var ifr = [], elements = [], node = void 0, prevNode = void 0, retrieveNodes = function retrieveNodes2() { + var _getIteratorNode = _this5.getIteratorNode(itr); + prevNode = _getIteratorNode.prevNode; + node = _getIteratorNode.node; + return node; + }; + while (retrieveNodes()) { + if (this.iframes) { + this.forEachIframe(ctx, function(currIfr) { + return _this5.checkIframeFilter(node, prevNode, currIfr, ifr); + }, function(con) { + _this5.createInstanceOnIframe(con).forEachNode(whatToShow, function(ifrNode) { + return elements.push(ifrNode); + }, filterCb); + }); + } + elements.push(node); + } + elements.forEach(function(node2) { + eachCb(node2); + }); + if (this.iframes) { + this.handleOpenIframes(ifr, whatToShow, eachCb, filterCb); + } + doneCb(); + } + }, { + key: "forEachNode", + value: function forEachNode(whatToShow, each, filter) { + var _this6 = this; + var done = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : function() { + }; + var contexts = this.getContexts(); + var open = contexts.length; + if (!open) { + done(); + } + contexts.forEach(function(ctx) { + var ready = function ready2() { + _this6.iterateThroughNodes(whatToShow, ctx, each, filter, function() { + if (--open <= 0) { + done(); + } + }); + }; + if (_this6.iframes) { + _this6.waitForIframes(ctx, ready); + } else { + ready(); + } + }); + } + }], [{ + key: "matches", + value: function matches(element, selector) { + var selectors = typeof selector === "string" ? [selector] : selector, fn = element.matches || element.matchesSelector || element.msMatchesSelector || element.mozMatchesSelector || element.oMatchesSelector || element.webkitMatchesSelector; + if (fn) { + var match = false; + selectors.every(function(sel) { + if (fn.call(element, sel)) { + match = true; + return false; + } + return true; + }); + return match; + } else { + return false; + } + } + }]); + return DOMIterator2; + }(); + var Mark$1 = function() { + function Mark3(ctx) { + classCallCheck(this, Mark3); + this.ctx = ctx; + this.ie = false; + var ua = window.navigator.userAgent; + if (ua.indexOf("MSIE") > -1 || ua.indexOf("Trident") > -1) { + this.ie = true; + } + } + createClass(Mark3, [{ + key: "log", + value: function log(msg) { + var level = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "debug"; + var log2 = this.opt.log; + if (!this.opt.debug) { + return; + } + if ((typeof log2 === "undefined" ? "undefined" : _typeof(log2)) === "object" && typeof log2[level] === "function") { + log2[level]("mark.js: " + msg); + } + } + }, { + key: "escapeStr", + value: function escapeStr(str) { + return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"); + } + }, { + key: "createRegExp", + value: function createRegExp(str) { + if (this.opt.wildcards !== "disabled") { + str = this.setupWildcardsRegExp(str); + } + str = this.escapeStr(str); + if (Object.keys(this.opt.synonyms).length) { + str = this.createSynonymsRegExp(str); + } + if (this.opt.ignoreJoiners || this.opt.ignorePunctuation.length) { + str = this.setupIgnoreJoinersRegExp(str); + } + if (this.opt.diacritics) { + str = this.createDiacriticsRegExp(str); + } + str = this.createMergedBlanksRegExp(str); + if (this.opt.ignoreJoiners || this.opt.ignorePunctuation.length) { + str = this.createJoinersRegExp(str); + } + if (this.opt.wildcards !== "disabled") { + str = this.createWildcardsRegExp(str); + } + str = this.createAccuracyRegExp(str); + return str; + } + }, { + key: "createSynonymsRegExp", + value: function createSynonymsRegExp(str) { + var syn = this.opt.synonyms, sens = this.opt.caseSensitive ? "" : "i", joinerPlaceholder = this.opt.ignoreJoiners || this.opt.ignorePunctuation.length ? "\0" : ""; + for (var index in syn) { + if (syn.hasOwnProperty(index)) { + var value = syn[index], k1 = this.opt.wildcards !== "disabled" ? this.setupWildcardsRegExp(index) : this.escapeStr(index), k2 = this.opt.wildcards !== "disabled" ? this.setupWildcardsRegExp(value) : this.escapeStr(value); + if (k1 !== "" && k2 !== "") { + str = str.replace(new RegExp("(" + this.escapeStr(k1) + "|" + this.escapeStr(k2) + ")", "gm" + sens), joinerPlaceholder + ("(" + this.processSynomyms(k1) + "|") + (this.processSynomyms(k2) + ")") + joinerPlaceholder); + } + } + } + return str; + } + }, { + key: "processSynomyms", + value: function processSynomyms(str) { + if (this.opt.ignoreJoiners || this.opt.ignorePunctuation.length) { + str = this.setupIgnoreJoinersRegExp(str); + } + return str; + } + }, { + key: "setupWildcardsRegExp", + value: function setupWildcardsRegExp(str) { + str = str.replace(/(?:\\)*\?/g, function(val) { + return val.charAt(0) === "\\" ? "?" : ""; + }); + return str.replace(/(?:\\)*\*/g, function(val) { + return val.charAt(0) === "\\" ? "*" : ""; + }); + } + }, { + key: "createWildcardsRegExp", + value: function createWildcardsRegExp(str) { + var spaces = this.opt.wildcards === "withSpaces"; + return str.replace(/\u0001/g, spaces ? "[\\S\\s]?" : "\\S?").replace(/\u0002/g, spaces ? "[\\S\\s]*?" : "\\S*"); + } + }, { + key: "setupIgnoreJoinersRegExp", + value: function setupIgnoreJoinersRegExp(str) { + return str.replace(/[^(|)\\]/g, function(val, indx, original) { + var nextChar = original.charAt(indx + 1); + if (/[(|)\\]/.test(nextChar) || nextChar === "") { + return val; + } else { + return val + "\0"; + } + }); + } + }, { + key: "createJoinersRegExp", + value: function createJoinersRegExp(str) { + var joiner = []; + var ignorePunctuation = this.opt.ignorePunctuation; + if (Array.isArray(ignorePunctuation) && ignorePunctuation.length) { + joiner.push(this.escapeStr(ignorePunctuation.join(""))); + } + if (this.opt.ignoreJoiners) { + joiner.push("\\u00ad\\u200b\\u200c\\u200d"); + } + return joiner.length ? str.split(/\u0000+/).join("[" + joiner.join("") + "]*") : str; + } + }, { + key: "createDiacriticsRegExp", + value: function createDiacriticsRegExp(str) { + var sens = this.opt.caseSensitive ? "" : "i", dct = this.opt.caseSensitive ? ["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105", "A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104", "c\xE7\u0107\u010D", "C\xC7\u0106\u010C", "d\u0111\u010F", "D\u0110\u010E", "e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119", "E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118", "i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B", "I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A", "l\u0142", "L\u0141", "n\xF1\u0148\u0144", "N\xD1\u0147\u0143", "o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D", "O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C", "r\u0159", "R\u0158", "s\u0161\u015B\u0219\u015F", "S\u0160\u015A\u0218\u015E", "t\u0165\u021B\u0163", "T\u0164\u021A\u0162", "u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B", "U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A", "y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF", "Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178", "z\u017E\u017C\u017A", "Z\u017D\u017B\u0179"] : ["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104", "c\xE7\u0107\u010DC\xC7\u0106\u010C", "d\u0111\u010FD\u0110\u010E", "e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118", "i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A", "l\u0142L\u0141", "n\xF1\u0148\u0144N\xD1\u0147\u0143", "o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C", "r\u0159R\u0158", "s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E", "t\u0165\u021B\u0163T\u0164\u021A\u0162", "u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A", "y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178", "z\u017E\u017C\u017AZ\u017D\u017B\u0179"]; + var handled = []; + str.split("").forEach(function(ch) { + dct.every(function(dct2) { + if (dct2.indexOf(ch) !== -1) { + if (handled.indexOf(dct2) > -1) { + return false; + } + str = str.replace(new RegExp("[" + dct2 + "]", "gm" + sens), "[" + dct2 + "]"); + handled.push(dct2); + } + return true; + }); + }); + return str; + } + }, { + key: "createMergedBlanksRegExp", + value: function createMergedBlanksRegExp(str) { + return str.replace(/[\s]+/gmi, "[\\s]+"); + } + }, { + key: "createAccuracyRegExp", + value: function createAccuracyRegExp(str) { + var _this = this; + var chars = "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF"; + var acc = this.opt.accuracy, val = typeof acc === "string" ? acc : acc.value, ls = typeof acc === "string" ? [] : acc.limiters, lsJoin = ""; + ls.forEach(function(limiter) { + lsJoin += "|" + _this.escapeStr(limiter); + }); + switch (val) { + case "partially": + default: + return "()(" + str + ")"; + case "complementary": + lsJoin = "\\s" + (lsJoin ? lsJoin : this.escapeStr(chars)); + return "()([^" + lsJoin + "]*" + str + "[^" + lsJoin + "]*)"; + case "exactly": + return "(^|\\s" + lsJoin + ")(" + str + ")(?=$|\\s" + lsJoin + ")"; + } + } + }, { + key: "getSeparatedKeywords", + value: function getSeparatedKeywords(sv) { + var _this2 = this; + var stack = []; + sv.forEach(function(kw) { + if (!_this2.opt.separateWordSearch) { + if (kw.trim() && stack.indexOf(kw) === -1) { + stack.push(kw); + } + } else { + kw.split(" ").forEach(function(kwSplitted) { + if (kwSplitted.trim() && stack.indexOf(kwSplitted) === -1) { + stack.push(kwSplitted); + } + }); + } + }); + return { + "keywords": stack.sort(function(a, b) { + return b.length - a.length; + }), + "length": stack.length + }; + } + }, { + key: "isNumeric", + value: function isNumeric(value) { + return Number(parseFloat(value)) == value; + } + }, { + key: "checkRanges", + value: function checkRanges(array) { + var _this3 = this; + if (!Array.isArray(array) || Object.prototype.toString.call(array[0]) !== "[object Object]") { + this.log("markRanges() will only accept an array of objects"); + this.opt.noMatch(array); + return []; + } + var stack = []; + var last = 0; + array.sort(function(a, b) { + return a.start - b.start; + }).forEach(function(item) { + var _callNoMatchOnInvalid = _this3.callNoMatchOnInvalidRanges(item, last), start = _callNoMatchOnInvalid.start, end = _callNoMatchOnInvalid.end, valid = _callNoMatchOnInvalid.valid; + if (valid) { + item.start = start; + item.length = end - start; + stack.push(item); + last = end; + } + }); + return stack; + } + }, { + key: "callNoMatchOnInvalidRanges", + value: function callNoMatchOnInvalidRanges(range, last) { + var start = void 0, end = void 0, valid = false; + if (range && typeof range.start !== "undefined") { + start = parseInt(range.start, 10); + end = start + parseInt(range.length, 10); + if (this.isNumeric(range.start) && this.isNumeric(range.length) && end - last > 0 && end - start > 0) { + valid = true; + } else { + this.log("Ignoring invalid or overlapping range: " + ("" + JSON.stringify(range))); + this.opt.noMatch(range); + } + } else { + this.log("Ignoring invalid range: " + JSON.stringify(range)); + this.opt.noMatch(range); + } + return { + start, + end, + valid + }; + } + }, { + key: "checkWhitespaceRanges", + value: function checkWhitespaceRanges(range, originalLength, string) { + var end = void 0, valid = true, max = string.length, offset = originalLength - max, start = parseInt(range.start, 10) - offset; + start = start > max ? max : start; + end = start + parseInt(range.length, 10); + if (end > max) { + end = max; + this.log("End range automatically set to the max value of " + max); + } + if (start < 0 || end - start < 0 || start > max || end > max) { + valid = false; + this.log("Invalid range: " + JSON.stringify(range)); + this.opt.noMatch(range); + } else if (string.substring(start, end).replace(/\s+/g, "") === "") { + valid = false; + this.log("Skipping whitespace only range: " + JSON.stringify(range)); + this.opt.noMatch(range); + } + return { + start, + end, + valid + }; + } + }, { + key: "getTextNodes", + value: function getTextNodes(cb) { + var _this4 = this; + var val = "", nodes = []; + this.iterator.forEachNode(NodeFilter.SHOW_TEXT, function(node) { + nodes.push({ + start: val.length, + end: (val += node.textContent).length, + node + }); + }, function(node) { + if (_this4.matchesExclude(node.parentNode)) { + return NodeFilter.FILTER_REJECT; + } else { + return NodeFilter.FILTER_ACCEPT; + } + }, function() { + cb({ + value: val, + nodes + }); + }); + } + }, { + key: "matchesExclude", + value: function matchesExclude(el) { + return DOMIterator.matches(el, this.opt.exclude.concat(["script", "style", "title", "head", "html"])); + } + }, { + key: "wrapRangeInTextNode", + value: function wrapRangeInTextNode(node, start, end) { + var hEl = !this.opt.element ? "mark" : this.opt.element, startNode = node.splitText(start), ret = startNode.splitText(end - start); + var repl = document.createElement(hEl); + repl.setAttribute("data-markjs", "true"); + if (this.opt.className) { + repl.setAttribute("class", this.opt.className); + } + repl.textContent = startNode.textContent; + startNode.parentNode.replaceChild(repl, startNode); + return ret; + } + }, { + key: "wrapRangeInMappedTextNode", + value: function wrapRangeInMappedTextNode(dict, start, end, filterCb, eachCb) { + var _this5 = this; + dict.nodes.every(function(n, i) { + var sibl = dict.nodes[i + 1]; + if (typeof sibl === "undefined" || sibl.start > start) { + if (!filterCb(n.node)) { + return false; + } + var s = start - n.start, e = (end > n.end ? n.end : end) - n.start, startStr = dict.value.substr(0, n.start), endStr = dict.value.substr(e + n.start); + n.node = _this5.wrapRangeInTextNode(n.node, s, e); + dict.value = startStr + endStr; + dict.nodes.forEach(function(k, j) { + if (j >= i) { + if (dict.nodes[j].start > 0 && j !== i) { + dict.nodes[j].start -= e; + } + dict.nodes[j].end -= e; + } + }); + end -= e; + eachCb(n.node.previousSibling, n.start); + if (end > n.end) { + start = n.end; + } else { + return false; + } + } + return true; + }); + } + }, { + key: "wrapMatches", + value: function wrapMatches(regex, ignoreGroups, filterCb, eachCb, endCb) { + var _this6 = this; + var matchIdx = ignoreGroups === 0 ? 0 : ignoreGroups + 1; + this.getTextNodes(function(dict) { + dict.nodes.forEach(function(node) { + node = node.node; + var match = void 0; + while ((match = regex.exec(node.textContent)) !== null && match[matchIdx] !== "") { + if (!filterCb(match[matchIdx], node)) { + continue; + } + var pos = match.index; + if (matchIdx !== 0) { + for (var i = 1; i < matchIdx; i++) { + pos += match[i].length; + } + } + node = _this6.wrapRangeInTextNode(node, pos, pos + match[matchIdx].length); + eachCb(node.previousSibling); + regex.lastIndex = 0; + } + }); + endCb(); + }); + } + }, { + key: "wrapMatchesAcrossElements", + value: function wrapMatchesAcrossElements(regex, ignoreGroups, filterCb, eachCb, endCb) { + var _this7 = this; + var matchIdx = ignoreGroups === 0 ? 0 : ignoreGroups + 1; + this.getTextNodes(function(dict) { + var match = void 0; + while ((match = regex.exec(dict.value)) !== null && match[matchIdx] !== "") { + var start = match.index; + if (matchIdx !== 0) { + for (var i = 1; i < matchIdx; i++) { + start += match[i].length; + } + } + var end = start + match[matchIdx].length; + _this7.wrapRangeInMappedTextNode(dict, start, end, function(node) { + return filterCb(match[matchIdx], node); + }, function(node, lastIndex) { + regex.lastIndex = lastIndex; + eachCb(node); + }); + } + endCb(); + }); + } + }, { + key: "wrapRangeFromIndex", + value: function wrapRangeFromIndex(ranges, filterCb, eachCb, endCb) { + var _this8 = this; + this.getTextNodes(function(dict) { + var originalLength = dict.value.length; + ranges.forEach(function(range, counter) { + var _checkWhitespaceRange = _this8.checkWhitespaceRanges(range, originalLength, dict.value), start = _checkWhitespaceRange.start, end = _checkWhitespaceRange.end, valid = _checkWhitespaceRange.valid; + if (valid) { + _this8.wrapRangeInMappedTextNode(dict, start, end, function(node) { + return filterCb(node, range, dict.value.substring(start, end), counter); + }, function(node) { + eachCb(node, range); + }); + } + }); + endCb(); + }); + } + }, { + key: "unwrapMatches", + value: function unwrapMatches(node) { + var parent = node.parentNode; + var docFrag = document.createDocumentFragment(); + while (node.firstChild) { + docFrag.appendChild(node.removeChild(node.firstChild)); + } + parent.replaceChild(docFrag, node); + if (!this.ie) { + parent.normalize(); + } else { + this.normalizeTextNode(parent); + } + } + }, { + key: "normalizeTextNode", + value: function normalizeTextNode(node) { + if (!node) { + return; + } + if (node.nodeType === 3) { + while (node.nextSibling && node.nextSibling.nodeType === 3) { + node.nodeValue += node.nextSibling.nodeValue; + node.parentNode.removeChild(node.nextSibling); + } + } else { + this.normalizeTextNode(node.firstChild); + } + this.normalizeTextNode(node.nextSibling); + } + }, { + key: "markRegExp", + value: function markRegExp(regexp, opt) { + var _this9 = this; + this.opt = opt; + this.log('Searching with expression "' + regexp + '"'); + var totalMatches = 0, fn = "wrapMatches"; + var eachCb = function eachCb2(element) { + totalMatches++; + _this9.opt.each(element); + }; + if (this.opt.acrossElements) { + fn = "wrapMatchesAcrossElements"; + } + this[fn](regexp, this.opt.ignoreGroups, function(match, node) { + return _this9.opt.filter(node, match, totalMatches); + }, eachCb, function() { + if (totalMatches === 0) { + _this9.opt.noMatch(regexp); + } + _this9.opt.done(totalMatches); + }); + } + }, { + key: "mark", + value: function mark(sv, opt) { + var _this10 = this; + this.opt = opt; + var totalMatches = 0, fn = "wrapMatches"; + var _getSeparatedKeywords = this.getSeparatedKeywords(typeof sv === "string" ? [sv] : sv), kwArr = _getSeparatedKeywords.keywords, kwArrLen = _getSeparatedKeywords.length, sens = this.opt.caseSensitive ? "" : "i", handler = function handler2(kw) { + var regex = new RegExp(_this10.createRegExp(kw), "gm" + sens), matches = 0; + _this10.log('Searching with expression "' + regex + '"'); + _this10[fn](regex, 1, function(term, node) { + return _this10.opt.filter(node, kw, totalMatches, matches); + }, function(element) { + matches++; + totalMatches++; + _this10.opt.each(element); + }, function() { + if (matches === 0) { + _this10.opt.noMatch(kw); + } + if (kwArr[kwArrLen - 1] === kw) { + _this10.opt.done(totalMatches); + } else { + handler2(kwArr[kwArr.indexOf(kw) + 1]); + } + }); + }; + if (this.opt.acrossElements) { + fn = "wrapMatchesAcrossElements"; + } + if (kwArrLen === 0) { + this.opt.done(totalMatches); + } else { + handler(kwArr[0]); + } + } + }, { + key: "markRanges", + value: function markRanges(rawRanges, opt) { + var _this11 = this; + this.opt = opt; + var totalMatches = 0, ranges = this.checkRanges(rawRanges); + if (ranges && ranges.length) { + this.log("Starting to mark with the following ranges: " + JSON.stringify(ranges)); + this.wrapRangeFromIndex(ranges, function(node, range, match, counter) { + return _this11.opt.filter(node, range, match, counter); + }, function(element, range) { + totalMatches++; + _this11.opt.each(element, range); + }, function() { + _this11.opt.done(totalMatches); + }); + } else { + this.opt.done(totalMatches); + } + } + }, { + key: "unmark", + value: function unmark(opt) { + var _this12 = this; + this.opt = opt; + var sel = this.opt.element ? this.opt.element : "*"; + sel += "[data-markjs]"; + if (this.opt.className) { + sel += "." + this.opt.className; + } + this.log('Removal selector "' + sel + '"'); + this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT, function(node) { + _this12.unwrapMatches(node); + }, function(node) { + var matchesSel = DOMIterator.matches(node, sel), matchesExclude = _this12.matchesExclude(node); + if (!matchesSel || matchesExclude) { + return NodeFilter.FILTER_REJECT; + } else { + return NodeFilter.FILTER_ACCEPT; + } + }, this.opt.done); + } + }, { + key: "opt", + set: function set$$1(val) { + this._opt = _extends({}, { + "element": "", + "className": "", + "exclude": [], + "iframes": false, + "iframesTimeout": 5e3, + "separateWordSearch": true, + "diacritics": true, + "synonyms": {}, + "accuracy": "partially", + "acrossElements": false, + "caseSensitive": false, + "ignoreJoiners": false, + "ignoreGroups": 0, + "ignorePunctuation": [], + "wildcards": "disabled", + "each": function each() { + }, + "noMatch": function noMatch() { + }, + "filter": function filter() { + return true; + }, + "done": function done() { + }, + "debug": false, + "log": window.console + }, val); + }, + get: function get$$1() { + return this._opt; + } + }, { + key: "iterator", + get: function get$$1() { + return new DOMIterator(this.ctx, this.opt.iframes, this.opt.exclude, this.opt.iframesTimeout); + } + }]); + return Mark3; + }(); + function Mark2(ctx) { + var _this = this; + var instance = new Mark$1(ctx); + this.mark = function(sv, opt) { + instance.mark(sv, opt); + return _this; + }; + this.markRegExp = function(sv, opt) { + instance.markRegExp(sv, opt); + return _this; + }; + this.markRanges = function(sv, opt) { + instance.markRanges(sv, opt); + return _this; + }; + this.unmark = function(opt) { + instance.unmark(opt); + return _this; + }; + return this; + } + return Mark2; + }); + } +}); + +// lib/highlight.ts +var import_mark = __toESM(require_mark(), 1); +var PagefindHighlight = class { + constructor(options = { + markContext: null, + highlightParam: "pagefind-highlight", + markOptions: { + className: "pagefind-highlight", + exclude: ["[data-pagefind-ignore]", "[data-pagefind-ignore] *"] + }, + addStyles: true + }) { + var _a, _b; + const { highlightParam, markContext, markOptions, addStyles } = options; + this.highlightParam = highlightParam ?? "pagefind-highlight"; + this.addStyles = addStyles ?? true; + this.markContext = markContext !== void 0 ? markContext : null; + this.markOptions = markOptions !== void 0 ? markOptions : { + className: "pagefind-highlight", + exclude: ["[data-pagefind-ignore]", "[data-pagefind-ignore] *"] + }; + (_a = this.markOptions).className ?? (_a.className = "pagefind__highlight"); + (_b = this.markOptions).exclude ?? (_b.exclude = [ + "[data-pagefind-ignore]", + "[data-pagefind-ignore] *" + ]); + this.markOptions.separateWordSearch = false; + this.highlight(); + } + getHighlightParams(paramName) { + const urlParams = new URLSearchParams(window.location.search); + return urlParams.getAll(paramName); + } + // Inline styles might be too hard to override + addHighlightStyles(className) { + if (!className) + return; + const styleElement = document.createElement("style"); + styleElement.innerText = `:where(.${className}) { background-color: yellow; color: black; }`; + document.head.appendChild(styleElement); + } + createMarkInstance() { + if (this.markContext) { + return new import_mark.default(this.markContext); + } + const pagefindBody = document.querySelectorAll("[data-pagefind-body]"); + if (pagefindBody.length !== 0) { + return new import_mark.default(pagefindBody); + } else { + return new import_mark.default(document.body); + } + } + markText(instance, text) { + instance.mark(text, this.markOptions); + } + highlight() { + const params = this.getHighlightParams(this.highlightParam); + if (!params || params.length === 0) + return; + this.addStyles && this.addHighlightStyles(this.markOptions.className); + const markInstance = this.createMarkInstance(); + this.markText(markInstance, params); + } +}; +window.PagefindHighlight = PagefindHighlight; +export { + PagefindHighlight as default +}; +/*! Bundled license information: + +mark.js/dist/mark.js: + (*!*************************************************** + * mark.js v8.11.1 + * https://markjs.io/ + * Copyright (c) 2014–2018, Julian Kühnel + * Released under the MIT license https://git.io/vwTVl + *****************************************************) +*/ diff --git a/pagefind/pagefind-modular-ui.css b/pagefind/pagefind-modular-ui.css new file mode 100644 index 0000000..9c6793e --- /dev/null +++ b/pagefind/pagefind-modular-ui.css @@ -0,0 +1,214 @@ +:root { + --pagefind-ui-scale: 0.8; + --pagefind-ui-primary: #034AD8; + --pagefind-ui-fade: #707070; + --pagefind-ui-text: #393939; + --pagefind-ui-background: #ffffff; + --pagefind-ui-border: #eeeeee; + --pagefind-ui-tag: #eeeeee; + --pagefind-ui-border-width: 2px; + --pagefind-ui-border-radius: 8px; + --pagefind-ui-image-border-radius: 8px; + --pagefind-ui-image-box-ratio: 3 / 2; + --pagefind-ui-font: system, -apple-system, ".SFNSText-Regular", + "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", + "Lucida Grande", sans-serif; +} + +[data-pfmod-hidden] { + display: none !important; +} + +[data-pfmod-suppressed] { + opacity: 0 !important; + pointer-events: none !important; +} + +[data-pfmod-sr-hidden] { + -webkit-clip: rect(0 0 0 0) !important; + clip: rect(0 0 0 0) !important; + -webkit-clip-path: inset(100%) !important; + clip-path: inset(100%) !important; + height: 1px !important; + overflow: hidden !important; + overflow: clip !important; + position: absolute !important; + white-space: nowrap !important; + width: 1px !important; +} + +[data-pfmod-loading] { + color: var(--pagefind-ui-text); + background-color: var(--pagefind-ui-text); + border-radius: var(--pagefind-ui-border-radius); + opacity: 0.1; + pointer-events: none; +} + +/* Input */ + +.pagefind-modular-input-wrapper { + position: relative; +} + +.pagefind-modular-input-wrapper::before { + background-color: var(--pagefind-ui-text); + width: calc(18px * var(--pagefind-ui-scale)); + height: calc(18px * var(--pagefind-ui-scale)); + top: calc(23px * var(--pagefind-ui-scale)); + left: calc(20px * var(--pagefind-ui-scale)); + content: ""; + position: absolute; + display: block; + opacity: 0.7; + -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.7549 11.255H11.9649L11.6849 10.985C12.6649 9.845 13.2549 8.365 13.2549 6.755C13.2549 3.165 10.3449 0.255005 6.75488 0.255005C3.16488 0.255005 0.254883 3.165 0.254883 6.755C0.254883 10.345 3.16488 13.255 6.75488 13.255C8.36488 13.255 9.84488 12.665 10.9849 11.685L11.2549 11.965V12.755L16.2549 17.745L17.7449 16.255L12.7549 11.255ZM6.75488 11.255C4.26488 11.255 2.25488 9.245 2.25488 6.755C2.25488 4.26501 4.26488 2.255 6.75488 2.255C9.24488 2.255 11.2549 4.26501 11.2549 6.755C11.2549 9.245 9.24488 11.255 6.75488 11.255Z' fill='%23000000'/%3E%3C/svg%3E%0A"); + mask-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.7549 11.255H11.9649L11.6849 10.985C12.6649 9.845 13.2549 8.365 13.2549 6.755C13.2549 3.165 10.3449 0.255005 6.75488 0.255005C3.16488 0.255005 0.254883 3.165 0.254883 6.755C0.254883 10.345 3.16488 13.255 6.75488 13.255C8.36488 13.255 9.84488 12.665 10.9849 11.685L11.2549 11.965V12.755L16.2549 17.745L17.7449 16.255L12.7549 11.255ZM6.75488 11.255C4.26488 11.255 2.25488 9.245 2.25488 6.755C2.25488 4.26501 4.26488 2.255 6.75488 2.255C9.24488 2.255 11.2549 4.26501 11.2549 6.755C11.2549 9.245 9.24488 11.255 6.75488 11.255Z' fill='%23000000'/%3E%3C/svg%3E%0A"); + -webkit-mask-size: 100%; + mask-size: 100%; + z-index: 9; + pointer-events: none; +} + +.pagefind-modular-input { + height: calc(64px * var(--pagefind-ui-scale)); + padding: 0 calc(70px * var(--pagefind-ui-scale)) 0 calc(54px * var(--pagefind-ui-scale)); + background-color: var(--pagefind-ui-background); + border: var(--pagefind-ui-border-width) solid var(--pagefind-ui-border); + border-radius: var(--pagefind-ui-border-radius); + font-size: calc(21px * var(--pagefind-ui-scale)); + position: relative; + appearance: none; + -webkit-appearance: none; + display: flex; + width: 100%; + box-sizing: border-box; + font-weight: 700; +} + +.pagefind-modular-input::placeholder { + opacity: 0.2; +} + +.pagefind-modular-input-clear { + position: absolute; + top: calc(2px * var(--pagefind-ui-scale)); + right: calc(2px * var(--pagefind-ui-scale)); + height: calc(60px * var(--pagefind-ui-scale)); + border-radius: var(--pagefind-ui-border-radius); + padding: 0 calc(15px * var(--pagefind-ui-scale)) 0 calc(2px * var(--pagefind-ui-scale)); + color: var(--pagefind-ui-text); + font-size: calc(14px * var(--pagefind-ui-scale)); + cursor: pointer; + background-color: var(--pagefind-ui-background); + border: none; + appearance: none; +} + +/* ResultList */ + +.pagefind-modular-list-result { + list-style-type: none; + display: flex; + align-items: flex-start; + gap: min(calc(40px * var(--pagefind-ui-scale)), 3%); + padding: calc(30px * var(--pagefind-ui-scale)) 0 calc(40px * var(--pagefind-ui-scale)); + border-top: solid var(--pagefind-ui-border-width) var(--pagefind-ui-border); +} + +.pagefind-modular-list-result:last-of-type { + border-bottom: solid var(--pagefind-ui-border-width) var(--pagefind-ui-border); +} + +.pagefind-modular-list-thumb { + width: min(30%, + calc((30% - (100px * var(--pagefind-ui-scale))) * 100000)); + max-width: calc(120px * var(--pagefind-ui-scale)); + margin-top: calc(10px * var(--pagefind-ui-scale)); + aspect-ratio: var(--pagefind-ui-image-box-ratio); + position: relative; +} + +.pagefind-modular-list-image { + display: block; + position: absolute; + left: 50%; + transform: translateX(-50%); + font-size: 0; + width: auto; + height: auto; + max-width: 100%; + max-height: 100%; + border-radius: var(--pagefind-ui-image-border-radius); +} + +.pagefind-modular-list-inner { + flex: 1; + display: flex; + flex-direction: column; + align-items: flex-start; + margin-top: calc(10px * var(--pagefind-ui-scale)); +} + +.pagefind-modular-list-title { + display: inline-block; + font-weight: 700; + font-size: calc(21px * var(--pagefind-ui-scale)); + margin-top: 0; + margin-bottom: 0; +} + +.pagefind-modular-list-link { + color: var(--pagefind-ui-text); + text-decoration: none; +} + +.pagefind-modular-list-link:hover { + text-decoration: underline; +} + +.pagefind-modular-list-excerpt { + display: inline-block; + font-weight: 400; + font-size: calc(16px * var(--pagefind-ui-scale)); + margin-top: calc(4px * var(--pagefind-ui-scale)); + margin-bottom: 0; + min-width: calc(250px * var(--pagefind-ui-scale)); +} + +/* FilterPills */ + +.pagefind-modular-filter-pills-wrapper { + overflow-x: scroll; + padding: 15px 0; +} + +.pagefind-modular-filter-pills { + display: flex; + gap: 6px; +} + +.pagefind-modular-filter-pill { + display: flex; + justify-content: center; + align-items: center; + border: none; + appearance: none; + padding: 0 calc(24px * var(--pagefind-ui-scale)); + background-color: var(--pagefind-ui-background); + color: var(--pagefind-ui-fade); + border: var(--pagefind-ui-border-width) solid var(--pagefind-ui-border); + border-radius: calc(25px * var(--pagefind-ui-scale)); + font-size: calc(18px * var(--pagefind-ui-scale)); + height: calc(50px * var(--pagefind-ui-scale)); + cursor: pointer; + white-space: nowrap; +} + +.pagefind-modular-filter-pill:hover { + border-color: var(--pagefind-ui-primary); +} + +.pagefind-modular-filter-pill[aria-pressed="true"] { + border-color: var(--pagefind-ui-primary); + color: var(--pagefind-ui-primary); +} \ No newline at end of file diff --git a/pagefind/pagefind-modular-ui.js b/pagefind/pagefind-modular-ui.js new file mode 100644 index 0000000..9301909 --- /dev/null +++ b/pagefind/pagefind-modular-ui.js @@ -0,0 +1,8 @@ +(()=>{var b=Object.defineProperty;var w=(i,e)=>{for(var t in e)b(i,t,{get:e[t],enumerable:!0})};var f={};w(f,{FilterPills:()=>h,Input:()=>l,Instance:()=>p,ResultList:()=>a,Summary:()=>o});var r=class i{constructor(e){this.element=document.createElement(e)}id(e){return this.element.id=e,this}class(e){return this.element.classList.add(e),this}attrs(e){for(let[t,s]of Object.entries(e))this.element.setAttribute(t,s);return this}text(e){return this.element.innerText=e,this}html(e){return this.element.innerHTML=e,this}handle(e,t){return this.element.addEventListener(e,t),this}addTo(e){return e instanceof i?e.element.appendChild(this.element):e.appendChild(this.element),this.element}};var T=async(i=100)=>new Promise(e=>setTimeout(e,i)),l=class{constructor(e={}){if(this.inputEl=null,this.clearEl=null,this.instance=null,this.searchID=0,this.debounceTimeoutMs=e.debounceTimeoutMs??300,e.inputElement){if(e.containerElement){console.warn("[Pagefind Input component]: inputElement and containerElement both supplied. Ignoring the container option.");return}this.initExisting(e.inputElement)}else if(e.containerElement)this.initContainer(e.containerElement);else{console.error("[Pagefind Input component]: No selector supplied for containerElement or inputElement");return}this.inputEl.addEventListener("input",async t=>{if(this.instance&&typeof t?.target?.value=="string"){this.updateState(t.target.value);let s=++this.searchID;if(await T(this.debounceTimeoutMs),s!==this.searchID)return null;this.instance?.triggerSearch(t.target.value)}}),this.inputEl.addEventListener("keydown",t=>{t.key==="Escape"&&(++this.searchID,this.inputEl.value="",this.instance?.triggerSearch(""),this.updateState("")),t.key==="Enter"&&t.preventDefault()}),this.inputEl.addEventListener("focus",()=>{this.instance?.triggerLoad()})}initContainer(e){let t=document.querySelector(e);if(!t){console.error(`[Pagefind Input component]: No container found for ${e} selector`);return}if(t.tagName==="INPUT")console.warn(`[Pagefind Input component]: Encountered input element for ${e} when a container was expected`),console.warn("[Pagefind Input component]: Treating containerElement option as inputElement and proceeding"),this.initExisting(e);else{t.innerHTML="";let s=0;for(;document.querySelector(`#pfmod-input-${s}`);)s+=1;let n=new r("form").class("pagefind-modular-input-wrapper").attrs({role:"search","aria-label":"Search this site",action:"javascript:void(0);"});new r("label").attrs({for:`pfmod-input-${s}`,"data-pfmod-sr-hidden":"true"}).text("Search this site").addTo(n),this.inputEl=new r("input").id(`pfmod-input-${s}`).class("pagefind-modular-input").attrs({autocapitalize:"none",enterkeyhint:"search"}).addTo(n),this.clearEl=new r("button").class("pagefind-modular-input-clear").attrs({"data-pfmod-suppressed":"true"}).text("Clear").handle("click",()=>{this.inputEl.value="",this.instance.triggerSearch(""),this.updateState("")}).addTo(n),n.addTo(t)}}initExisting(e){let t=document.querySelector(e);if(!t){console.error(`[Pagefind Input component]: No input element found for ${e} selector`);return}if(t.tagName!=="INPUT"){console.error(`[Pagefind Input component]: Expected ${e} to be an element`);return}this.inputEl=t}updateState(e){this.clearEl&&(e&&e?.length?this.clearEl.removeAttribute("data-pfmod-suppressed"):this.clearEl.setAttribute("data-pfmod-suppressed","true"))}register(e){this.instance=e,this.instance.on("search",(t,s)=>{this.inputEl&&document.activeElement!==this.inputEl&&(this.inputEl.value=t,this.updateState(t))})}focus(){this.inputEl&&this.inputEl.focus()}};var g=i=>{if(i instanceof Element)return[i];if(Array.isArray(i)&&i.every(e=>e instanceof Element))return i;if(typeof i=="string"||i instanceof String){let e=document.createElement("div");return e.innerHTML=i,[...e.childNodes]}else return console.error(`[Pagefind ResultList component]: Expected template function to return an HTML element or string, got ${typeof i}`),[]},v=()=>{let i=(e=30)=>". ".repeat(Math.floor(10+Math.random()*e));return`
  • +
    +
    +

    ${i(30)}

    +

    ${i(40)}

    +
    +
  • `},y=i=>{let e=new r("li").class("pagefind-modular-list-result"),t=new r("div").class("pagefind-modular-list-thumb").addTo(e);i?.meta?.image&&new r("img").class("pagefind-modular-list-image").attrs({src:i.meta.image,alt:i.meta.image_alt||i.meta.title}).addTo(t);let s=new r("div").class("pagefind-modular-list-inner").addTo(e),n=new r("p").class("pagefind-modular-list-title").addTo(s);return new r("a").class("pagefind-modular-list-link").text(i.meta?.title).attrs({href:i.meta?.url||i.url}).addTo(n),new r("p").class("pagefind-modular-list-excerpt").html(i.excerpt).addTo(s),e.element},E=i=>{if(!(i instanceof HTMLElement))return null;let e=window.getComputedStyle(i).overflowY;return e!=="visible"&&e!=="hidden"?i:E(i.parentNode)},d=class{constructor(e={}){this.rawResult=e.result,this.placeholderNodes=e.placeholderNodes,this.resultFn=e.resultFn,this.intersectionEl=e.intersectionEl,this.result=null,this.waitForIntersection()}waitForIntersection(){if(!this.placeholderNodes?.length)return;let e={root:this.intersectionEl,rootMargin:"0px",threshold:.01};new IntersectionObserver((s,n)=>{this.result===null&&s?.[0]?.isIntersecting&&(this.load(),n.disconnect())},e).observe(this.placeholderNodes[0])}async load(){if(!this.placeholderNodes?.length)return;this.result=await this.rawResult.data();let e=this.resultFn(this.result),t=g(e);for(;this.placeholderNodes.length>1;)this.placeholderNodes.pop().remove();this.placeholderNodes[0].replaceWith(...t)}},a=class{constructor(e){if(this.intersectionEl=document.body,this.containerEl=null,this.results=[],this.placeholderTemplate=e.placeholderTemplate??v,this.resultTemplate=e.resultTemplate??y,e.containerElement)this.initContainer(e.containerElement);else{console.error("[Pagefind ResultList component]: No selector supplied for containerElement");return}}initContainer(e){let t=document.querySelector(e);if(!t){console.error(`[Pagefind ResultList component]: No container found for ${e} selector`);return}this.containerEl=t}append(e){for(let t of e)this.containerEl.appendChild(t)}register(e){e.on("results",t=>{this.containerEl&&(this.containerEl.innerHTML="",this.intersectionEl=E(this.containerEl),this.results=t.results.map(s=>{let n=g(this.placeholderTemplate());return this.append(n),new d({result:s,placeholderNodes:n,resultFn:this.resultTemplate,intersectionEl:this.intersectionEl})}))}),e.on("loading",()=>{this.containerEl&&(this.containerEl.innerHTML="")})}};var o=class{constructor(e={}){if(this.containerEl=null,this.defaultMessage=e.defaultMessage??"",this.term="",e.containerElement)this.initContainer(e.containerElement);else{console.error("[Pagefind Summary component]: No selector supplied for containerElement");return}}initContainer(e){let t=document.querySelector(e);if(!t){console.error(`[Pagefind Summary component]: No container found for ${e} selector`);return}this.containerEl=t,this.containerEl.innerText=this.defaultMessage}register(e){e.on("search",(t,s)=>{this.term=t}),e.on("results",t=>{if(!this.containerEl||!t)return;if(!this.term){this.containerEl.innerText=this.defaultMessage;return}let s=t?.results?.length??0;this.containerEl.innerText=`${s} result${s===1?"":"s"} for ${this.term}`}),e.on("loading",()=>{this.containerEl&&(this.containerEl.innerText=`Searching for ${this.term}...`)})}};var h=class{constructor(e={}){if(this.instance=null,this.wrapper=null,this.pillContainer=null,this.available={},this.selected=["All"],this.total=0,this.filterMemo="",this.filter=e.filter,this.ordering=e.ordering??null,this.alwaysShow=e.alwaysShow??!1,this.selectMultiple=e.selectMultiple??!1,!this.filter?.length){console.error("[Pagefind FilterPills component]: No filter option supplied, nothing to display");return}if(e.containerElement)this.initContainer(e.containerElement);else{console.error("[Pagefind FilterPills component]: No selector supplied for containerElement");return}}initContainer(e){let t=document.querySelector(e);if(!t){console.error(`[Pagefind FilterPills component]: No container found for ${e} selector`);return}t.innerHTML="";let s=`pagefind_modular_filter_pills_${this.filter}`,n=new r("div").class("pagefind-modular-filter-pills-wrapper").attrs({role:"group","aria-labelledby":s});this.alwaysShow||n.attrs({"data-pfmod-hidden":!0}),new r("div").id(s).class("pagefind-modular-filter-pills-label").attrs({"data-pfmod-sr-hidden":!0}).text(`Filter results by ${this.filter}`).addTo(n),this.pillContainer=new r("div").class("pagefind-modular-filter-pills").addTo(n),this.wrapper=n.addTo(t)}update(){let e=this.available.map(t=>t[0]).join("~");e==this.filterMemo?this.updateExisting():(this.renderNew(),this.filterMemo=e)}pushFilters(){let e=this.selected.filter(t=>t!=="All");this.instance.triggerFilter(this.filter,e)}pillInner(e,t){return this.total?`${e} (${t})`:`${e}`}renderNew(){this.available.forEach(([e,t])=>{new r("button").class("pagefind-modular-filter-pill").html(this.pillInner(e,t)).attrs({"aria-pressed":this.selected.includes(e),type:"button"}).handle("click",()=>{e==="All"?this.selected=["All"]:this.selected.includes(e)?this.selected=this.selected.filter(s=>s!==e):this.selectMultiple?this.selected.push(e):this.selected=[e],this.selected?.length?this.selected?.length>1&&(this.selected=this.selected.filter(s=>s!=="All")):this.selected=["All"],this.update(),this.pushFilters()}).addTo(this.pillContainer)})}updateExisting(){let e=[...this.pillContainer.childNodes];this.available.forEach(([t,s],n)=>{e[n].innerHTML=this.pillInner(t,s),e[n].setAttribute("aria-pressed",this.selected.includes(t))})}register(e){this.instance=e,this.instance.on("filters",t=>{if(!this.pillContainer)return;this.selectMultiple?t=t.available:t=t.total;let s=t[this.filter];if(!s){console.warn(`[Pagefind FilterPills component]: No possible values found for the ${this.filter} filter`);return}this.available=Object.entries(s),Array.isArray(this.ordering)?this.available.sort((n,c)=>{let m=this.ordering.indexOf(n[0]),_=this.ordering.indexOf(c[0]);return(m===-1?1/0:m)-(_===-1?1/0:_)}):this.available.sort((n,c)=>n[0].localeCompare(c[0])),this.available.unshift(["All",this.total]),this.update()}),e.on("results",t=>{this.pillContainer&&(this.total=t?.unfilteredResultCount||0,this.available?.[0]?.[0]==="All"&&(this.available[0][1]=this.total),this.total||this.alwaysShow?this.wrapper.removeAttribute("data-pfmod-hidden"):this.wrapper.setAttribute("data-pfmod-hidden","true"),this.update())})}};var F=async(i=50)=>await new Promise(e=>setTimeout(e,i)),u;try{u=new URL(document.currentScript.src).pathname.match(/^(.*\/)(?:pagefind-)?modular-ui.js.*$/)[1]}catch{u="/pagefind/"}var p=class{constructor(e={}){this.__pagefind__=null,this.__initializing__=null,this.__searchID__=0,this.__hooks__={search:[],filters:[],loading:[],results:[]},this.components=[],this.searchTerm="",this.searchFilters={},this.searchResult={},this.availableFilters=null,this.totalFilters=null,this.options={bundlePath:e.bundlePath??u,mergeIndex:e.mergeIndex??[]},delete e.bundlePath,delete e.resetStyles,delete e.processResult,delete e.processTerm,delete e.debounceTimeoutMs,delete e.mergeIndex,delete e.translations,this.pagefindOptions=e}add(e){e?.register?.(this),this.components.push(e)}on(e,t){if(!this.__hooks__[e]){let s=Object.keys(this.__hooks__).join(", ");console.error(`[Pagefind Composable]: Unknown event type ${e}. Supported events: [${s}]`);return}if(typeof t!="function"){console.error(`[Pagefind Composable]: Expected callback to be a function, received ${typeof t}`);return}this.__hooks__[e].push(t)}triggerLoad(){this.__load__()}triggerSearch(e){this.searchTerm=e,this.__dispatch__("search",e,this.searchFilters),this.__search__(e,this.searchFilters)}triggerSearchWithFilters(e,t){this.searchTerm=e,this.searchFilters=t,this.__dispatch__("search",e,t),this.__search__(e,t)}triggerFilters(e){this.searchFilters=e,this.__dispatch__("search",this.searchTerm,e),this.__search__(this.searchTerm,e)}triggerFilter(e,t){this.searchFilters=this.searchFilters||{},this.searchFilters[e]=t,this.__dispatch__("search",this.searchTerm,this.searchFilters),this.__search__(this.searchTerm,this.searchFilters)}__dispatch__(e,...t){this.__hooks__[e]?.forEach(s=>s?.(...t))}async __clear__(){this.__dispatch__("results",{results:[],unfilteredTotalCount:0}),this.availableFilters=await this.__pagefind__.filters(),this.totalFilters=this.availableFilters,this.__dispatch__("filters",{available:this.availableFilters,total:this.totalFilters})}async __search__(e,t){this.__dispatch__("loading"),await this.__load__();let s=++this.__searchID__;if(!e||!e.length)return this.__clear__();let n=await this.__pagefind__.search(e,{filters:t});n&&this.__searchID__===s&&(n.filters&&Object.keys(n.filters)?.length&&(this.availableFilters=n.filters,this.totalFilters=n.totalFilters,this.__dispatch__("filters",{available:this.availableFilters,total:this.totalFilters})),this.searchResult=n,this.__dispatch__("results",this.searchResult))}async __load__(){if(this.__initializing__){for(;!this.__pagefind__;)await F(50);return}if(this.__initializing__=!0,!this.__pagefind__){let e;try{e=await import(`${this.options.bundlePath}pagefind.js`)}catch(t){console.error(t),console.error([`Pagefind couldn't be loaded from ${this.options.bundlePath}pagefind.js`,"You can configure this by passing a bundlePath option to PagefindComposable Instance",`[DEBUG: Loaded from ${document?.currentScript?.src??"no known script location"}]`].join(` +`))}await e.options(this.pagefindOptions||{});for(let t of this.options.mergeIndex){if(!t.bundlePath)throw new Error("mergeIndex requires a bundlePath parameter");let s=t.bundlePath;delete t.bundlePath,await e.mergeIndex(s,t)}this.__pagefind__=e}this.availableFilters=await this.__pagefind__.filters(),this.totalFilters=this.availableFilters,this.__dispatch__("filters",{available:this.availableFilters,total:this.totalFilters})}};window.PagefindModularUI=f;})(); diff --git a/pagefind/pagefind-ui.css b/pagefind/pagefind-ui.css new file mode 100644 index 0000000..d7984a9 --- /dev/null +++ b/pagefind/pagefind-ui.css @@ -0,0 +1 @@ +.pagefind-ui__result.svelte-j9e30.svelte-j9e30{list-style-type:none;display:flex;align-items:flex-start;gap:min(calc(40px * var(--pagefind-ui-scale)),3%);padding:calc(30px * var(--pagefind-ui-scale)) 0 calc(40px * var(--pagefind-ui-scale));border-top:solid var(--pagefind-ui-border-width) var(--pagefind-ui-border)}.pagefind-ui__result.svelte-j9e30.svelte-j9e30:last-of-type{border-bottom:solid var(--pagefind-ui-border-width) var(--pagefind-ui-border)}.pagefind-ui__result-thumb.svelte-j9e30.svelte-j9e30{width:min(30%,calc((30% - (100px * var(--pagefind-ui-scale))) * 100000));max-width:calc(120px * var(--pagefind-ui-scale));margin-top:calc(10px * var(--pagefind-ui-scale));aspect-ratio:var(--pagefind-ui-image-box-ratio);position:relative}.pagefind-ui__result-image.svelte-j9e30.svelte-j9e30{display:block;position:absolute;left:50%;transform:translate(-50%);font-size:0;width:auto;height:auto;max-width:100%;max-height:100%;border-radius:var(--pagefind-ui-image-border-radius)}.pagefind-ui__result-inner.svelte-j9e30.svelte-j9e30{flex:1;display:flex;flex-direction:column;align-items:flex-start;margin-top:calc(10px * var(--pagefind-ui-scale))}.pagefind-ui__result-title.svelte-j9e30.svelte-j9e30{display:inline-block;font-weight:700;font-size:calc(21px * var(--pagefind-ui-scale));margin-top:0;margin-bottom:0}.pagefind-ui__result-title.svelte-j9e30 .pagefind-ui__result-link.svelte-j9e30{color:var(--pagefind-ui-text);text-decoration:none}.pagefind-ui__result-title.svelte-j9e30 .pagefind-ui__result-link.svelte-j9e30:hover{text-decoration:underline}.pagefind-ui__result-excerpt.svelte-j9e30.svelte-j9e30{display:inline-block;font-weight:400;font-size:calc(16px * var(--pagefind-ui-scale));margin-top:calc(4px * var(--pagefind-ui-scale));margin-bottom:0;min-width:calc(250px * var(--pagefind-ui-scale))}.pagefind-ui__loading.svelte-j9e30.svelte-j9e30{color:var(--pagefind-ui-text);background-color:var(--pagefind-ui-text);border-radius:var(--pagefind-ui-border-radius);opacity:.1;pointer-events:none}.pagefind-ui__result-tags.svelte-j9e30.svelte-j9e30{list-style-type:none;padding:0;display:flex;gap:calc(20px * var(--pagefind-ui-scale));flex-wrap:wrap;margin-top:calc(20px * var(--pagefind-ui-scale))}.pagefind-ui__result-tag.svelte-j9e30.svelte-j9e30{padding:calc(4px * var(--pagefind-ui-scale)) calc(8px * var(--pagefind-ui-scale));font-size:calc(14px * var(--pagefind-ui-scale));border-radius:var(--pagefind-ui-border-radius);background-color:var(--pagefind-ui-tag)}.pagefind-ui__result.svelte-4xnkmf.svelte-4xnkmf{list-style-type:none;display:flex;align-items:flex-start;gap:min(calc(40px * var(--pagefind-ui-scale)),3%);padding:calc(30px * var(--pagefind-ui-scale)) 0 calc(40px * var(--pagefind-ui-scale));border-top:solid var(--pagefind-ui-border-width) var(--pagefind-ui-border)}.pagefind-ui__result.svelte-4xnkmf.svelte-4xnkmf:last-of-type{border-bottom:solid var(--pagefind-ui-border-width) var(--pagefind-ui-border)}.pagefind-ui__result-nested.svelte-4xnkmf.svelte-4xnkmf{display:flex;flex-direction:column;padding-left:calc(20px * var(--pagefind-ui-scale))}.pagefind-ui__result-nested.svelte-4xnkmf.svelte-4xnkmf:first-of-type{padding-top:calc(10px * var(--pagefind-ui-scale))}.pagefind-ui__result-nested.svelte-4xnkmf .pagefind-ui__result-link.svelte-4xnkmf{font-size:.9em;position:relative}.pagefind-ui__result-nested.svelte-4xnkmf .pagefind-ui__result-link.svelte-4xnkmf:before{content:"\2937 ";position:absolute;top:0;right:calc(100% + .1em)}.pagefind-ui__result-thumb.svelte-4xnkmf.svelte-4xnkmf{width:min(30%,calc((30% - (100px * var(--pagefind-ui-scale))) * 100000));max-width:calc(120px * var(--pagefind-ui-scale));margin-top:calc(10px * var(--pagefind-ui-scale));aspect-ratio:var(--pagefind-ui-image-box-ratio);position:relative}.pagefind-ui__result-image.svelte-4xnkmf.svelte-4xnkmf{display:block;position:absolute;left:50%;transform:translate(-50%);font-size:0;width:auto;height:auto;max-width:100%;max-height:100%;border-radius:var(--pagefind-ui-image-border-radius)}.pagefind-ui__result-inner.svelte-4xnkmf.svelte-4xnkmf{flex:1;display:flex;flex-direction:column;align-items:flex-start;margin-top:calc(10px * var(--pagefind-ui-scale))}.pagefind-ui__result-title.svelte-4xnkmf.svelte-4xnkmf{display:inline-block;font-weight:700;font-size:calc(21px * var(--pagefind-ui-scale));margin-top:0;margin-bottom:0}.pagefind-ui__result-title.svelte-4xnkmf .pagefind-ui__result-link.svelte-4xnkmf{color:var(--pagefind-ui-text);text-decoration:none}.pagefind-ui__result-title.svelte-4xnkmf .pagefind-ui__result-link.svelte-4xnkmf:hover{text-decoration:underline}.pagefind-ui__result-excerpt.svelte-4xnkmf.svelte-4xnkmf{display:inline-block;font-weight:400;font-size:calc(16px * var(--pagefind-ui-scale));margin-top:calc(4px * var(--pagefind-ui-scale));margin-bottom:0;min-width:calc(250px * var(--pagefind-ui-scale))}.pagefind-ui__loading.svelte-4xnkmf.svelte-4xnkmf{color:var(--pagefind-ui-text);background-color:var(--pagefind-ui-text);border-radius:var(--pagefind-ui-border-radius);opacity:.1;pointer-events:none}.pagefind-ui__result-tags.svelte-4xnkmf.svelte-4xnkmf{list-style-type:none;padding:0;display:flex;gap:calc(20px * var(--pagefind-ui-scale));flex-wrap:wrap;margin-top:calc(20px * var(--pagefind-ui-scale))}.pagefind-ui__result-tag.svelte-4xnkmf.svelte-4xnkmf{padding:calc(4px * var(--pagefind-ui-scale)) calc(8px * var(--pagefind-ui-scale));font-size:calc(14px * var(--pagefind-ui-scale));border-radius:var(--pagefind-ui-border-radius);background-color:var(--pagefind-ui-tag)}legend.svelte-1v2r7ls.svelte-1v2r7ls{position:absolute;clip:rect(0 0 0 0)}.pagefind-ui__filter-panel.svelte-1v2r7ls.svelte-1v2r7ls{min-width:min(calc(260px * var(--pagefind-ui-scale)),100%);flex:1;display:flex;flex-direction:column;margin-top:calc(20px * var(--pagefind-ui-scale))}.pagefind-ui__filter-group.svelte-1v2r7ls.svelte-1v2r7ls{border:0;padding:0}.pagefind-ui__filter-block.svelte-1v2r7ls.svelte-1v2r7ls{padding:0;display:block;border-bottom:solid calc(2px * var(--pagefind-ui-scale)) var(--pagefind-ui-border);padding:calc(20px * var(--pagefind-ui-scale)) 0}.pagefind-ui__filter-name.svelte-1v2r7ls.svelte-1v2r7ls{font-size:calc(16px * var(--pagefind-ui-scale));position:relative;display:flex;align-items:center;list-style:none;font-weight:700;cursor:pointer;height:calc(24px * var(--pagefind-ui-scale))}.pagefind-ui__filter-name.svelte-1v2r7ls.svelte-1v2r7ls::-webkit-details-marker{display:none}.pagefind-ui__filter-name.svelte-1v2r7ls.svelte-1v2r7ls:after{position:absolute;content:"";right:calc(6px * var(--pagefind-ui-scale));top:50%;width:calc(8px * var(--pagefind-ui-scale));height:calc(8px * var(--pagefind-ui-scale));border:solid calc(2px * var(--pagefind-ui-scale)) currentColor;border-right:0;border-top:0;transform:translateY(-70%) rotate(-45deg)}.pagefind-ui__filter-block[open].svelte-1v2r7ls .pagefind-ui__filter-name.svelte-1v2r7ls:after{transform:translateY(-70%) rotate(-225deg)}.pagefind-ui__filter-group.svelte-1v2r7ls.svelte-1v2r7ls{display:flex;flex-direction:column;gap:calc(20px * var(--pagefind-ui-scale));padding-top:calc(30px * var(--pagefind-ui-scale))}.pagefind-ui__filter-value.svelte-1v2r7ls.svelte-1v2r7ls{position:relative;display:flex;align-items:center;gap:calc(8px * var(--pagefind-ui-scale))}.pagefind-ui__filter-value.svelte-1v2r7ls.svelte-1v2r7ls:before{position:absolute;content:"";top:50%;left:calc(8px * var(--pagefind-ui-scale));width:0px;height:0px;border:solid 1px #fff;opacity:0;transform:translate(calc(4.5px * var(--pagefind-ui-scale) * -1),calc(.8px * var(--pagefind-ui-scale))) skew(-5deg) rotate(-45deg);transform-origin:top left;border-top:0;border-right:0;pointer-events:none}.pagefind-ui__filter-value.pagefind-ui__filter-value--checked.svelte-1v2r7ls.svelte-1v2r7ls:before{opacity:1;width:calc(9px * var(--pagefind-ui-scale));height:calc(4px * var(--pagefind-ui-scale));transition:width .1s ease-out .1s,height .1s ease-in}.pagefind-ui__filter-checkbox.svelte-1v2r7ls.svelte-1v2r7ls{margin:0;width:calc(16px * var(--pagefind-ui-scale));height:calc(16px * var(--pagefind-ui-scale));border:solid 1px var(--pagefind-ui-border);appearance:none;-webkit-appearance:none;border-radius:calc(var(--pagefind-ui-border-radius) / 2);background-color:var(--pagefind-ui-background);cursor:pointer}.pagefind-ui__filter-checkbox.svelte-1v2r7ls.svelte-1v2r7ls:checked{background-color:var(--pagefind-ui-primary);border:solid 1px var(--pagefind-ui-primary)}.pagefind-ui__filter-label.svelte-1v2r7ls.svelte-1v2r7ls{cursor:pointer;font-size:calc(16px * var(--pagefind-ui-scale));font-weight:400}.pagefind-ui--reset *:where(:not(html,iframe,canvas,img,svg,video):not(svg *,symbol *)){all:unset;display:revert;outline:revert}.pagefind-ui--reset *,.pagefind-ui--reset *:before,.pagefind-ui--reset *:after{box-sizing:border-box}.pagefind-ui--reset a,.pagefind-ui--reset button{cursor:revert}.pagefind-ui--reset ol,.pagefind-ui--reset ul,.pagefind-ui--reset menu{list-style:none}.pagefind-ui--reset img{max-width:100%}.pagefind-ui--reset table{border-collapse:collapse}.pagefind-ui--reset input,.pagefind-ui--reset textarea{-webkit-user-select:auto}.pagefind-ui--reset textarea{white-space:revert}.pagefind-ui--reset meter{-webkit-appearance:revert;appearance:revert}.pagefind-ui--reset ::placeholder{color:unset}.pagefind-ui--reset :where([hidden]){display:none}.pagefind-ui--reset :where([contenteditable]:not([contenteditable="false"])){-moz-user-modify:read-write;-webkit-user-modify:read-write;overflow-wrap:break-word;-webkit-line-break:after-white-space;-webkit-user-select:auto}.pagefind-ui--reset :where([draggable="true"]){-webkit-user-drag:element}.pagefind-ui--reset mark{all:revert}:root{--pagefind-ui-scale:.8;--pagefind-ui-primary:#393939;--pagefind-ui-text:#393939;--pagefind-ui-background:#ffffff;--pagefind-ui-border:#eeeeee;--pagefind-ui-tag:#eeeeee;--pagefind-ui-border-width:2px;--pagefind-ui-border-radius:8px;--pagefind-ui-image-border-radius:8px;--pagefind-ui-image-box-ratio:3 / 2;--pagefind-ui-font:system, -apple-system, "BlinkMacSystemFont", ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", "Ubuntu", "arial", sans-serif}.pagefind-ui.svelte-e9gkc3{width:100%;color:var(--pagefind-ui-text);font-family:var(--pagefind-ui-font)}.pagefind-ui__hidden.svelte-e9gkc3{display:none!important}.pagefind-ui__suppressed.svelte-e9gkc3{opacity:0;pointer-events:none}.pagefind-ui__form.svelte-e9gkc3{position:relative}.pagefind-ui__form.svelte-e9gkc3:before{background-color:var(--pagefind-ui-text);width:calc(18px * var(--pagefind-ui-scale));height:calc(18px * var(--pagefind-ui-scale));top:calc(23px * var(--pagefind-ui-scale));left:calc(20px * var(--pagefind-ui-scale));content:"";position:absolute;display:block;opacity:.7;-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.7549 11.255H11.9649L11.6849 10.985C12.6649 9.845 13.2549 8.365 13.2549 6.755C13.2549 3.165 10.3449 0.255005 6.75488 0.255005C3.16488 0.255005 0.254883 3.165 0.254883 6.755C0.254883 10.345 3.16488 13.255 6.75488 13.255C8.36488 13.255 9.84488 12.665 10.9849 11.685L11.2549 11.965V12.755L16.2549 17.745L17.7449 16.255L12.7549 11.255ZM6.75488 11.255C4.26488 11.255 2.25488 9.245 2.25488 6.755C2.25488 4.26501 4.26488 2.255 6.75488 2.255C9.24488 2.255 11.2549 4.26501 11.2549 6.755C11.2549 9.245 9.24488 11.255 6.75488 11.255Z' fill='%23000000'/%3E%3C/svg%3E%0A");mask-image:url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.7549 11.255H11.9649L11.6849 10.985C12.6649 9.845 13.2549 8.365 13.2549 6.755C13.2549 3.165 10.3449 0.255005 6.75488 0.255005C3.16488 0.255005 0.254883 3.165 0.254883 6.755C0.254883 10.345 3.16488 13.255 6.75488 13.255C8.36488 13.255 9.84488 12.665 10.9849 11.685L11.2549 11.965V12.755L16.2549 17.745L17.7449 16.255L12.7549 11.255ZM6.75488 11.255C4.26488 11.255 2.25488 9.245 2.25488 6.755C2.25488 4.26501 4.26488 2.255 6.75488 2.255C9.24488 2.255 11.2549 4.26501 11.2549 6.755C11.2549 9.245 9.24488 11.255 6.75488 11.255Z' fill='%23000000'/%3E%3C/svg%3E%0A");-webkit-mask-size:100%;mask-size:100%;z-index:9;pointer-events:none}.pagefind-ui__search-input.svelte-e9gkc3{height:calc(64px * var(--pagefind-ui-scale));padding:0 calc(70px * var(--pagefind-ui-scale)) 0 calc(54px * var(--pagefind-ui-scale));background-color:var(--pagefind-ui-background);border:var(--pagefind-ui-border-width) solid var(--pagefind-ui-border);border-radius:var(--pagefind-ui-border-radius);font-size:calc(21px * var(--pagefind-ui-scale));position:relative;appearance:none;-webkit-appearance:none;display:flex;width:100%;box-sizing:border-box;font-weight:700}.pagefind-ui__search-input.svelte-e9gkc3::placeholder{opacity:.2}.pagefind-ui__search-clear.svelte-e9gkc3{position:absolute;top:calc(3px * var(--pagefind-ui-scale));right:calc(3px * var(--pagefind-ui-scale));height:calc(58px * var(--pagefind-ui-scale));padding:0 calc(15px * var(--pagefind-ui-scale)) 0 calc(2px * var(--pagefind-ui-scale));color:var(--pagefind-ui-text);font-size:calc(14px * var(--pagefind-ui-scale));cursor:pointer;background-color:var(--pagefind-ui-background);border-radius:var(--pagefind-ui-border-radius)}.pagefind-ui__drawer.svelte-e9gkc3{gap:calc(60px * var(--pagefind-ui-scale));display:flex;flex-direction:row;flex-wrap:wrap}.pagefind-ui__results-area.svelte-e9gkc3{min-width:min(calc(400px * var(--pagefind-ui-scale)),100%);flex:1000;margin-top:calc(20px * var(--pagefind-ui-scale))}.pagefind-ui__results.svelte-e9gkc3{padding:0}.pagefind-ui__message.svelte-e9gkc3{box-sizing:content-box;font-size:calc(16px * var(--pagefind-ui-scale));height:calc(24px * var(--pagefind-ui-scale));padding:calc(20px * var(--pagefind-ui-scale)) 0;display:flex;align-items:center;font-weight:700;margin-top:0}.pagefind-ui__button.svelte-e9gkc3{margin-top:calc(40px * var(--pagefind-ui-scale));border:var(--pagefind-ui-border-width) solid var(--pagefind-ui-border);border-radius:var(--pagefind-ui-border-radius);height:calc(48px * var(--pagefind-ui-scale));padding:0 calc(12px * var(--pagefind-ui-scale));font-size:calc(16px * var(--pagefind-ui-scale));color:var(--pagefind-ui-primary);background:var(--pagefind-ui-background);width:100%;text-align:center;font-weight:700;cursor:pointer}.pagefind-ui__button.svelte-e9gkc3:hover{border-color:var(--pagefind-ui-primary);color:var(--pagefind-ui-primary);background:var(--pagefind-ui-background)} diff --git a/pagefind/pagefind-ui.js b/pagefind/pagefind-ui.js new file mode 100644 index 0000000..e964eca --- /dev/null +++ b/pagefind/pagefind-ui.js @@ -0,0 +1,2 @@ +(()=>{var is=Object.defineProperty;var v=(n,e)=>{for(var t in e)is(n,t,{get:e[t],enumerable:!0})};function j(){}function lt(n){return n()}function Qt(){return Object.create(null)}function V(n){n.forEach(lt)}function Ye(n){return typeof n=="function"}function G(n,e){return n!=n?e==e:n!==e||n&&typeof n=="object"||typeof n=="function"}var Ke;function le(n,e){return Ke||(Ke=document.createElement("a")),Ke.href=e,n===Ke.href}function xt(n){return Object.keys(n).length===0}var $t=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global,fe=class{constructor(e){this.options=e,this._listeners="WeakMap"in $t?new WeakMap:void 0}observe(e,t){return this._listeners.set(e,t),this._getObserver().observe(e,this.options),()=>{this._listeners.delete(e),this._observer.unobserve(e)}}_getObserver(){var e;return(e=this._observer)!==null&&e!==void 0?e:this._observer=new ResizeObserver(t=>{var s;for(let r of t)fe.entries.set(r.target,r),(s=this._listeners.get(r.target))===null||s===void 0||s(r)})}};fe.entries="WeakMap"in $t?new WeakMap:void 0;var en=!1;function as(){en=!0}function os(){en=!1}function b(n,e){n.appendChild(e)}function y(n,e,t){n.insertBefore(e,t||null)}function C(n){n.parentNode&&n.parentNode.removeChild(n)}function Q(n,e){for(let t=0;tn.removeEventListener(e,t,s)}function p(n,e,t){t==null?n.removeAttribute(e):n.getAttribute(e)!==t&&n.setAttribute(e,t)}function cs(n){return Array.from(n.childNodes)}function N(n,e){e=""+e,n.data!==e&&(n.data=e)}function it(n,e){n.value=e??""}function W(n,e,t){n.classList[t?"add":"remove"](e)}var Xe=class{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,s=null){this.e||(this.is_svg?this.e=us(t.nodeName):this.e=k(t.nodeType===11?"TEMPLATE":t.nodeName),this.t=t.tagName!=="TEMPLATE"?t:t.content,this.c(e)),this.i(s)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(e){for(let t=0;tn.indexOf(s)===-1?e.push(s):t.push(s)),t.forEach(s=>s()),se=e}var Je=new Set,ee;function ie(){ee={r:0,c:[],p:ee}}function ae(){ee.r||V(ee.c),ee=ee.p}function z(n,e){n&&n.i&&(Je.delete(n),n.i(e))}function I(n,e,t,s){if(n&&n.o){if(Je.has(n))return;Je.add(n),ee.c.push(()=>{Je.delete(n),s&&(t&&n.d(1),s())}),n.o(e)}else s&&s()}function rn(n,e){I(n,1,1,()=>{e.delete(n.key)})}function ln(n,e,t,s,r,l,i,a,o,h,_,f){let c=n.length,E=l.length,u=c,m={};for(;u--;)m[n[u].key]=u;let d=[],R=new Map,T=new Map,S=[];for(u=E;u--;){let F=f(r,l,u),U=t(F),P=i.get(U);P?s&&S.push(()=>P.p(F,e)):(P=h(U,F),P.c()),R.set(U,d[u]=P),U in m&&T.set(U,Math.abs(u-m[U]))}let w=new Set,B=new Set;function X(F){z(F,1),F.m(a,_),i.set(F.key,F),_=F.first,E--}for(;c&&E;){let F=d[E-1],U=n[c-1],P=F.key,Z=U.key;F===U?(_=F.first,c--,E--):R.has(Z)?!i.has(P)||w.has(P)?X(F):B.has(Z)?c--:T.get(P)>T.get(Z)?(B.add(P),X(F)):(w.add(Z),c--):(o(U,i),c--)}for(;c--;){let F=n[c];R.has(F.key)||o(F,i)}for(;E;)X(d[E-1]);return V(S),d}var ms=["allowfullscreen","allowpaymentrequest","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected"],Fi=new Set([...ms]);function an(n,e,t){let s=n.$$.props[e];s!==void 0&&(n.$$.bound[s]=t,t(n.$$.ctx[s]))}function Ze(n){n&&n.c()}function he(n,e,t,s){let{fragment:r,after_update:l}=n.$$;r&&r.m(e,t),s||rt(()=>{let i=n.$$.on_mount.map(lt).filter(Ye);n.$$.on_destroy?n.$$.on_destroy.push(...i):V(i),n.$$.on_mount=[]}),l.forEach(rt)}function oe(n,e){let t=n.$$;t.fragment!==null&&(hs(t.after_update),V(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function ps(n,e){n.$$.dirty[0]===-1&&(ne.push(n),fs(),n.$$.dirty.fill(0)),n.$$.dirty[e/31|0]|=1<{let u=E.length?E[0]:c;return h.ctx&&r(h.ctx[f],h.ctx[f]=u)&&(!h.skip_bound&&h.bound[f]&&h.bound[f](u),_&&ps(n,f)),c}):[],h.update(),_=!0,V(h.before_update),h.fragment=s?s(h.ctx):!1,e.target){if(e.hydrate){as();let f=cs(e.target);h.fragment&&h.fragment.l(f),f.forEach(C)}else h.fragment&&h.fragment.c();e.intro&&z(n.$$.fragment),he(n,e.target,e.anchor,e.customElement),os(),sn()}_e(o)}var gs;typeof HTMLElement=="function"&&(gs=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){let{on_mount:n}=this.$$;this.$$.on_disconnect=n.map(lt).filter(Ye);for(let e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(n,e,t){this[n]=t}disconnectedCallback(){V(this.$$.on_disconnect)}$destroy(){oe(this,1),this.$destroy=j}$on(n,e){if(!Ye(e))return j;let t=this.$$.callbacks[n]||(this.$$.callbacks[n]=[]);return t.push(e),()=>{let s=t.indexOf(e);s!==-1&&t.splice(s,1)}}$set(n){this.$$set&&!xt(n)&&(this.$$.skip_bound=!0,this.$$set(n),this.$$.skip_bound=!1)}});var q=class{$destroy(){oe(this,1),this.$destroy=j}$on(e,t){if(!Ye(t))return j;let s=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return s.push(t),()=>{let r=s.indexOf(t);r!==-1&&s.splice(r,1)}}$set(e){this.$$set&&!xt(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}};function D(n){let e=typeof n=="string"?n.charCodeAt(0):n;return e>=97&&e<=122||e>=65&&e<=90}function $(n){let e=typeof n=="string"?n.charCodeAt(0):n;return e>=48&&e<=57}function Y(n){return D(n)||$(n)}var on=["art-lojban","cel-gaulish","no-bok","no-nyn","zh-guoyu","zh-hakka","zh-min","zh-min-nan","zh-xiang"];var ut={"en-gb-oed":"en-GB-oxendict","i-ami":"ami","i-bnn":"bnn","i-default":null,"i-enochian":null,"i-hak":"hak","i-klingon":"tlh","i-lux":"lb","i-mingo":null,"i-navajo":"nv","i-pwn":"pwn","i-tao":"tao","i-tay":"tay","i-tsu":"tsu","sgn-be-fr":"sfb","sgn-be-nl":"vgt","sgn-ch-de":"sgg","art-lojban":"jbo","cel-gaulish":null,"no-bok":"nb","no-nyn":"nn","zh-guoyu":"cmn","zh-hakka":"hak","zh-min":null,"zh-min-nan":"nan","zh-xiang":"hsn"};var Es={}.hasOwnProperty;function Qe(n,e={}){let t=un(),s=String(n),r=s.toLowerCase(),l=0;if(n==null)throw new Error("Expected string, got `"+n+"`");if(Es.call(ut,r)){let a=ut[r];return(e.normalize===void 0||e.normalize===null||e.normalize)&&typeof a=="string"?Qe(a):(t[on.includes(r)?"regular":"irregular"]=s,t)}for(;D(r.charCodeAt(l))&&l<9;)l++;if(l>1&&l<9){if(t.language=s.slice(0,l),l<4){let a=0;for(;r.charCodeAt(l)===45&&D(r.charCodeAt(l+1))&&D(r.charCodeAt(l+2))&&D(r.charCodeAt(l+3))&&!D(r.charCodeAt(l+4));){if(a>2)return i(l,3,"Too many extended language subtags, expected at most 3 subtags");t.extendedLanguageSubtags.push(s.slice(l+1,l+4)),l+=4,a++}}for(r.charCodeAt(l)===45&&D(r.charCodeAt(l+1))&&D(r.charCodeAt(l+2))&&D(r.charCodeAt(l+3))&&D(r.charCodeAt(l+4))&&!D(r.charCodeAt(l+5))&&(t.script=s.slice(l+1,l+5),l+=5),r.charCodeAt(l)===45&&(D(r.charCodeAt(l+1))&&D(r.charCodeAt(l+2))&&!D(r.charCodeAt(l+3))?(t.region=s.slice(l+1,l+3),l+=3):$(r.charCodeAt(l+1))&&$(r.charCodeAt(l+2))&&$(r.charCodeAt(l+3))&&!$(r.charCodeAt(l+4))&&(t.region=s.slice(l+1,l+4),l+=4));r.charCodeAt(l)===45;){let a=l+1,o=a;for(;Y(r.charCodeAt(o));){if(o-a>7)return i(o,1,"Too long variant, expected at most 8 characters");o++}if(o-a>4||o-a>3&&$(r.charCodeAt(a)))t.variants.push(s.slice(a,o)),l=o;else break}for(;r.charCodeAt(l)===45&&!(r.charCodeAt(l+1)===120||!Y(r.charCodeAt(l+1))||r.charCodeAt(l+2)!==45||!Y(r.charCodeAt(l+3)));){let a=l+2,o=0;for(;r.charCodeAt(a)===45&&Y(r.charCodeAt(a+1))&&Y(r.charCodeAt(a+2));){let h=a+1;for(a=h+2,o++;Y(r.charCodeAt(a));){if(a-h>7)return i(a,2,"Too long extension, expected at most 8 characters");a++}}if(!o)return i(a,4,"Empty extension, extensions must have at least 2 characters of content");t.extensions.push({singleton:s.charAt(l+1),extensions:s.slice(l+3,a).split("-")}),l=a}}else l=0;if(l===0&&r.charCodeAt(l)===120||r.charCodeAt(l)===45&&r.charCodeAt(l+1)===120){l=l?l+2:1;let a=l;for(;r.charCodeAt(a)===45&&Y(r.charCodeAt(a+1));){let o=l+1;for(a=o;Y(r.charCodeAt(a));){if(a-o>7)return i(a,5,"Too long private-use area, expected at most 8 characters");a++}t.privateuse.push(s.slice(l+1,a)),l=a}}if(l!==s.length)return i(l,6,"Found superfluous content after tag");return t;function i(a,o,h){return e.warning&&e.warning(h,o,a),e.forgiving?t:un()}}function un(){return{language:null,extendedLanguageSubtags:[],script:null,region:null,variants:[],extensions:[],privateuse:[],irregular:null,regular:null}}function cn(n,e,t){let s=n.slice();return s[8]=e[t][0],s[9]=e[t][1],s}function bs(n){let e,t,s,r,l,i=n[0]&&_n(n);return{c(){i&&i.c(),e=M(),t=k("div"),s=k("p"),s.textContent=`${n[3](30)}`,r=M(),l=k("p"),l.textContent=`${n[3](40)}`,p(s,"class","pagefind-ui__result-title pagefind-ui__loading svelte-j9e30"),p(l,"class","pagefind-ui__result-excerpt pagefind-ui__loading svelte-j9e30"),p(t,"class","pagefind-ui__result-inner svelte-j9e30")},m(a,o){i&&i.m(a,o),y(a,e,o),y(a,t,o),b(t,s),b(t,r),b(t,l)},p(a,o){a[0]?i||(i=_n(a),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},d(a){i&&i.d(a),a&&C(e),a&&C(t)}}}function Rs(n){let e,t,s,r,l=n[1].meta?.title+"",i,a,o,h,_=n[1].excerpt+"",f,c=n[0]&&fn(n),E=n[2].length&&hn(n);return{c(){c&&c.c(),e=M(),t=k("div"),s=k("p"),r=k("a"),i=A(l),o=M(),h=k("p"),f=M(),E&&E.c(),p(r,"class","pagefind-ui__result-link svelte-j9e30"),p(r,"href",a=n[1].meta?.url||n[1].url),p(s,"class","pagefind-ui__result-title svelte-j9e30"),p(h,"class","pagefind-ui__result-excerpt svelte-j9e30"),p(t,"class","pagefind-ui__result-inner svelte-j9e30")},m(u,m){c&&c.m(u,m),y(u,e,m),y(u,t,m),b(t,s),b(s,r),b(r,i),b(t,o),b(t,h),h.innerHTML=_,b(t,f),E&&E.m(t,null)},p(u,m){u[0]?c?c.p(u,m):(c=fn(u),c.c(),c.m(e.parentNode,e)):c&&(c.d(1),c=null),m&2&&l!==(l=u[1].meta?.title+"")&&N(i,l),m&2&&a!==(a=u[1].meta?.url||u[1].url)&&p(r,"href",a),m&2&&_!==(_=u[1].excerpt+"")&&(h.innerHTML=_),u[2].length?E?E.p(u,m):(E=hn(u),E.c(),E.m(t,null)):E&&(E.d(1),E=null)},d(u){c&&c.d(u),u&&C(e),u&&C(t),E&&E.d()}}}function _n(n){let e;return{c(){e=k("div"),p(e,"class","pagefind-ui__result-thumb pagefind-ui__loading svelte-j9e30")},m(t,s){y(t,e,s)},d(t){t&&C(e)}}}function fn(n){let e,t=n[1].meta.image&&dn(n);return{c(){e=k("div"),t&&t.c(),p(e,"class","pagefind-ui__result-thumb svelte-j9e30")},m(s,r){y(s,e,r),t&&t.m(e,null)},p(s,r){s[1].meta.image?t?t.p(s,r):(t=dn(s),t.c(),t.m(e,null)):t&&(t.d(1),t=null)},d(s){s&&C(e),t&&t.d()}}}function dn(n){let e,t,s;return{c(){e=k("img"),p(e,"class","pagefind-ui__result-image svelte-j9e30"),le(e.src,t=n[1].meta?.image)||p(e,"src",t),p(e,"alt",s=n[1].meta?.image_alt||n[1].meta?.title)},m(r,l){y(r,e,l)},p(r,l){l&2&&!le(e.src,t=r[1].meta?.image)&&p(e,"src",t),l&2&&s!==(s=r[1].meta?.image_alt||r[1].meta?.title)&&p(e,"alt",s)},d(r){r&&C(e)}}}function hn(n){let e,t=n[2],s=[];for(let r=0;rn.toLocaleUpperCase();function ks(n,e,t){let{show_images:s=!0}=e,{process_result:r=null}=e,{result:l={data:async()=>{}}}=e,i=["title","image","image_alt","url"],a,o=[],h=async f=>{t(1,a=await f.data()),t(1,a=r?.(a)??a),t(2,o=Object.entries(a.meta).filter(([c])=>!i.includes(c)))},_=(f=30)=>". ".repeat(Math.floor(10+Math.random()*f));return n.$$set=f=>{"show_images"in f&&t(0,s=f.show_images),"process_result"in f&&t(4,r=f.process_result),"result"in f&&t(5,l=f.result)},n.$$.update=()=>{if(n.$$.dirty&32)e:h(l)},[s,a,o,_,r,l]}var ct=class extends q{constructor(e){super(),J(this,e,ks,Ts,G,{show_images:0,process_result:4,result:5})}},gn=ct;function En(n,e,t){let s=n.slice();return s[11]=e[t][0],s[12]=e[t][1],s}function bn(n,e,t){let s=n.slice();return s[15]=e[t],s}function Cs(n){let e,t,s,r,l,i=n[0]&&Rn(n);return{c(){i&&i.c(),e=M(),t=k("div"),s=k("p"),s.textContent=`${n[5](30)}`,r=M(),l=k("p"),l.textContent=`${n[5](40)}`,p(s,"class","pagefind-ui__result-title pagefind-ui__loading svelte-4xnkmf"),p(l,"class","pagefind-ui__result-excerpt pagefind-ui__loading svelte-4xnkmf"),p(t,"class","pagefind-ui__result-inner svelte-4xnkmf")},m(a,o){i&&i.m(a,o),y(a,e,o),y(a,t,o),b(t,s),b(t,r),b(t,l)},p(a,o){a[0]?i||(i=Rn(a),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},d(a){i&&i.d(a),a&&C(e),a&&C(t)}}}function ys(n){let e,t,s,r,l=n[1].meta?.title+"",i,a,o,h,_,f=n[0]&&Tn(n),c=n[4]&&Cn(n),E=n[3],u=[];for(let d=0;dn.toLocaleUpperCase();function vs(n,e,t){let{show_images:s=!0}=e,{process_result:r=null}=e,{result:l={data:async()=>{}}}=e,i=["title","image","image_alt","url"],a,o=[],h=[],_=!1,f=(u,m)=>{if(u.length<=m)return u;let d=[...u].sort((R,T)=>T.locations.length-R.locations.length).slice(0,3).map(R=>R.url);return u.filter(R=>d.includes(R.url))},c=async u=>{t(1,a=await u.data()),t(1,a=r?.(a)??a),t(2,o=Object.entries(a.meta).filter(([m])=>!i.includes(m))),Array.isArray(a.sub_results)&&(t(4,_=a.sub_results?.[0]?.url===(a.meta?.url||a.url)),_?t(3,h=f(a.sub_results.slice(1),3)):t(3,h=f([...a.sub_results],3)))},E=(u=30)=>". ".repeat(Math.floor(10+Math.random()*u));return n.$$set=u=>{"show_images"in u&&t(0,s=u.show_images),"process_result"in u&&t(6,r=u.process_result),"result"in u&&t(7,l=u.result)},n.$$.update=()=>{if(n.$$.dirty&128)e:c(l)},[s,a,o,h,_,E,r,l]}var _t=class extends q{constructor(e){super(),J(this,e,vs,Ss,G,{show_images:0,process_result:6,result:7})}},An=_t;function wn(n,e,t){let s=n.slice();return s[9]=e[t][0],s[10]=e[t][1],s[11]=e,s[12]=t,s}function Fn(n,e,t){let s=n.slice();return s[13]=e[t][0],s[14]=e[t][1],s[15]=e,s[16]=t,s}function Hn(n){let e,t,s=n[3]("filters_label",n[4],n[5])+"",r,l,i=Object.entries(n[1]),a=[];for(let o=0;on.toLocaleUpperCase();function As(n,e,t){let{available_filters:s=null}=e,{show_empty_filters:r=!0}=e,{translate:l=()=>""}=e,{automatic_translations:i={}}=e,{translations:a={}}=e,o={},h=!1,_=!1;function f(c,E){o[`${c}:${E}`]=this.checked,t(0,o)}return n.$$set=c=>{"available_filters"in c&&t(1,s=c.available_filters),"show_empty_filters"in c&&t(2,r=c.show_empty_filters),"translate"in c&&t(3,l=c.translate),"automatic_translations"in c&&t(4,i=c.automatic_translations),"translations"in c&&t(5,a=c.translations)},n.$$.update=()=>{if(n.$$.dirty&130){e:if(s&&!h){t(7,h=!0);let c=Object.entries(s||{});c.length===1&&Object.entries(c[0][1])?.length<=6&&t(6,_=!0)}}},[o,s,r,l,i,a,_,h,f]}var ft=class extends q{constructor(e){super(),J(this,e,As,Ms,G,{available_filters:1,show_empty_filters:2,translate:3,automatic_translations:4,translations:5,selected_filters:0})}get selected_filters(){return this.$$.ctx[0]}},Dn=ft;var dt={};v(dt,{comments:()=>Fs,default:()=>Os,direction:()=>Hs,strings:()=>Ns,thanks_to:()=>ws});var ws="Jan Claasen ",Fs="",Hs="ltr",Ns={placeholder:"Soek",clear_search:"Opruim",load_more:"Laai nog resultate",search_label:"Soek hierdie webwerf",filters_label:"Filters",zero_results:"Geen resultate vir [SEARCH_TERM]",many_results:"[COUNT] resultate vir [SEARCH_TERM]",one_result:"[COUNT] resultate vir [SEARCH_TERM]",alt_search:"Geen resultate vir [SEARCH_TERM]. Toon resultate vir [DIFFERENT_TERM] in plaas daarvan",search_suggestion:"Geen resultate vir [SEARCH_TERM]. Probeer eerder een van die volgende terme:",searching:"Soek vir [SEARCH_TERM]"},Os={thanks_to:ws,comments:Fs,direction:Hs,strings:Ns};var ht={};v(ht,{comments:()=>zs,default:()=>Is,direction:()=>Ds,strings:()=>Us,thanks_to:()=>js});var js="Maruf Alom ",zs="",Ds="ltr",Us={placeholder:"\u0985\u09A8\u09C1\u09B8\u09A8\u09CD\u09A7\u09BE\u09A8 \u0995\u09B0\u09C1\u09A8",clear_search:"\u09AE\u09C1\u099B\u09C7 \u09AB\u09C7\u09B2\u09C1\u09A8",load_more:"\u0986\u09B0\u09CB \u09AB\u09B2\u09BE\u09AB\u09B2 \u09A6\u09C7\u0996\u09C1\u09A8",search_label:"\u098F\u0987 \u0993\u09DF\u09C7\u09AC\u09B8\u09BE\u0987\u099F\u09C7 \u0985\u09A8\u09C1\u09B8\u09A8\u09CD\u09A7\u09BE\u09A8 \u0995\u09B0\u09C1\u09A8",filters_label:"\u09AB\u09BF\u09B2\u09CD\u099F\u09BE\u09B0",zero_results:"[SEARCH_TERM] \u098F\u09B0 \u099C\u09A8\u09CD\u09AF \u0995\u09BF\u099B\u09C1 \u0996\u09C1\u0981\u099C\u09C7 \u09AA\u09BE\u0993\u09DF\u09BE \u09AF\u09BE\u09DF\u09A8\u09BF",many_results:"[COUNT]-\u099F\u09BF \u09AB\u09B2\u09BE\u09AB\u09B2 \u09AA\u09BE\u0993\u09DF\u09BE \u0997\u09BF\u09DF\u09C7\u099B\u09C7 [SEARCH_TERM] \u098F\u09B0 \u099C\u09A8\u09CD\u09AF",one_result:"[COUNT]-\u099F\u09BF \u09AB\u09B2\u09BE\u09AB\u09B2 \u09AA\u09BE\u0993\u09DF\u09BE \u0997\u09BF\u09DF\u09C7\u099B\u09C7 [SEARCH_TERM] \u098F\u09B0 \u099C\u09A8\u09CD\u09AF",alt_search:"\u0995\u09CB\u09A8 \u0995\u09BF\u099B\u09C1 \u0996\u09C1\u0981\u099C\u09C7 \u09AA\u09BE\u0993\u09DF\u09BE \u09AF\u09BE\u09DF\u09A8\u09BF [SEARCH_TERM] \u098F\u09B0 \u099C\u09A8\u09CD\u09AF. \u09AA\u09B0\u09BF\u09AC\u09B0\u09CD\u09A4\u09C7 [DIFFERENT_TERM] \u098F\u09B0 \u099C\u09A8\u09CD\u09AF \u09A6\u09C7\u0996\u09BE\u09A8\u09CB \u09B9\u099A\u09CD\u099B\u09C7",search_suggestion:"\u0995\u09CB\u09A8 \u0995\u09BF\u099B\u09C1 \u0996\u09C1\u0981\u099C\u09C7 \u09AA\u09BE\u0993\u09DF\u09BE \u09AF\u09BE\u09DF\u09A8\u09BF [SEARCH_TERM] \u098F\u09B0 \u09AC\u09BF\u09B7\u09DF\u09C7. \u09A8\u09BF\u09A8\u09CD\u09AE\u09C7\u09B0 \u09AC\u09BF\u09B7\u09DF\u09AC\u09B8\u09CD\u09A4\u09C1 \u0996\u09C1\u0981\u099C\u09C7 \u09A6\u09C7\u0996\u09C1\u09A8:",searching:"\u0985\u09A8\u09C1\u09B8\u09A8\u09CD\u09A7\u09BE\u09A8 \u099A\u09B2\u099B\u09C7 [SEARCH_TERM]..."},Is={thanks_to:js,comments:zs,direction:Ds,strings:Us};var mt={};v(mt,{comments:()=>Ls,default:()=>Ws,direction:()=>qs,strings:()=>Bs,thanks_to:()=>Ps});var Ps="Pablo Villaverde ",Ls="",qs="ltr",Bs={placeholder:"Cerca",clear_search:"Netejar",load_more:"Veure m\xE9es resultats",search_label:"Cerca en aquest lloc",filters_label:"Filtres",zero_results:"No es van trobar resultats per [SEARCH_TERM]",many_results:"[COUNT] resultats trobats per [SEARCH_TERM]",one_result:"[COUNT] resultat trobat per [SEARCH_TERM]",alt_search:"No es van trobar resultats per [SEARCH_TERM]. Mostrant al seu lloc resultats per [DIFFERENT_TERM]",search_suggestion:"No es van trobar resultats per [SEARCH_TERM]. Proveu una de les cerques seg\xFCents:",searching:"Cercant [SEARCH_TERM]..."},Ws={thanks_to:Ps,comments:Ls,direction:qs,strings:Bs};var pt={};v(pt,{comments:()=>Gs,default:()=>Ys,direction:()=>Ks,strings:()=>Js,thanks_to:()=>Vs});var Vs="Jonas Smedegaard ",Gs="",Ks="ltr",Js={placeholder:"S\xF8g",clear_search:"Nulstil",load_more:"Indl\xE6s flere resultater",search_label:"S\xF8g p\xE5 dette website",filters_label:"Filtre",zero_results:"Ingen resultater for [SEARCH_TERM]",many_results:"[COUNT] resultater for [SEARCH_TERM]",one_result:"[COUNT] resultat for [SEARCH_TERM]",alt_search:"Ingen resultater for [SEARCH_TERM]. Viser resultater for [DIFFERENT_TERM] i stedet",search_suggestion:"Ingen resultater for [SEARCH_TERM]. Pr\xF8v et af disse s\xF8geord i stedet:",searching:"S\xF8ger efter [SEARCH_TERM]..."},Ys={thanks_to:Vs,comments:Gs,direction:Ks,strings:Js};var gt={};v(gt,{comments:()=>Zs,default:()=>$s,direction:()=>Qs,strings:()=>xs,thanks_to:()=>Xs});var Xs="Jan Claasen ",Zs="",Qs="ltr",xs={placeholder:"Suche",clear_search:"L\xF6schen",load_more:"Mehr Ergebnisse laden",search_label:"Suche diese Seite",filters_label:"Filter",zero_results:"Keine Ergebnisse f\xFCr [SEARCH_TERM]",many_results:"[COUNT] Ergebnisse f\xFCr [SEARCH_TERM]",one_result:"[COUNT] Ergebnis f\xFCr [SEARCH_TERM]",alt_search:"Keine Ergebnisse f\xFCr [SEARCH_TERM]. Stattdessen werden Ergebnisse f\xFCr [DIFFERENT_TERM] angezeigt",search_suggestion:"Keine Ergebnisse f\xFCr [SEARCH_TERM]. Versuchen Sie eine der folgenden Suchen:",searching:"Suche f\xFCr [SEARCH_TERM]"},$s={thanks_to:Xs,comments:Zs,direction:Qs,strings:xs};var Et={};v(Et,{comments:()=>tr,default:()=>rr,direction:()=>nr,strings:()=>sr,thanks_to:()=>er});var er="Liam Bigelow ",tr="",nr="ltr",sr={placeholder:"Search",clear_search:"Clear",load_more:"Load more results",search_label:"Search this site",filters_label:"Filters",zero_results:"No results for [SEARCH_TERM]",many_results:"[COUNT] results for [SEARCH_TERM]",one_result:"[COUNT] result for [SEARCH_TERM]",alt_search:"No results for [SEARCH_TERM]. Showing results for [DIFFERENT_TERM] instead",search_suggestion:"No results for [SEARCH_TERM]. Try one of the following searches:",searching:"Searching for [SEARCH_TERM]..."},rr={thanks_to:er,comments:tr,direction:nr,strings:sr};var bt={};v(bt,{comments:()=>ir,default:()=>ur,direction:()=>ar,strings:()=>or,thanks_to:()=>lr});var lr="Pablo Villaverde ",ir="",ar="ltr",or={placeholder:"Buscar",clear_search:"Limpiar",load_more:"Ver m\xE1s resultados",search_label:"Buscar en este sitio",filters_label:"Filtros",zero_results:"No se encontraron resultados para [SEARCH_TERM]",many_results:"[COUNT] resultados encontrados para [SEARCH_TERM]",one_result:"[COUNT] resultado encontrado para [SEARCH_TERM]",alt_search:"No se encontraron resultados para [SEARCH_TERM]. Mostrando en su lugar resultados para [DIFFERENT_TERM]",search_suggestion:"No se encontraron resultados para [SEARCH_TERM]. Prueba una de las siguientes b\xFAsquedas:",searching:"Buscando [SEARCH_TERM]..."},ur={thanks_to:lr,comments:ir,direction:ar,strings:or};var Rt={};v(Rt,{comments:()=>_r,default:()=>hr,direction:()=>fr,strings:()=>dr,thanks_to:()=>cr});var cr="Valtteri Laitinen ",_r="",fr="ltr",dr={placeholder:"Haku",clear_search:"Tyhjenn\xE4",load_more:"Lataa lis\xE4\xE4 tuloksia",search_label:"Hae t\xE4lt\xE4 sivustolta",filters_label:"Suodattimet",zero_results:"Ei tuloksia haulle [SEARCH_TERM]",many_results:"[COUNT] tulosta haulle [SEARCH_TERM]",one_result:"[COUNT] tulos haulle [SEARCH_TERM]",alt_search:"Ei tuloksia haulle [SEARCH_TERM]. N\xE4ytet\xE4\xE4n tulokset sen sijaan haulle [DIFFERENT_TERM]",search_suggestion:"Ei tuloksia haulle [SEARCH_TERM]. Kokeile jotain seuraavista:",searching:"Haetaan [SEARCH_TERM]..."},hr={thanks_to:cr,comments:_r,direction:fr,strings:dr};var Tt={};v(Tt,{comments:()=>pr,default:()=>br,direction:()=>gr,strings:()=>Er,thanks_to:()=>mr});var mr="Nicolas Friedli ",pr="",gr="ltr",Er={placeholder:"Rechercher",clear_search:"Nettoyer",load_more:"Charger plus de r\xE9sultats",search_label:"Recherche sur ce site",filters_label:"Filtres",zero_results:"Pas de r\xE9sultat pour [SEARCH_TERM]",many_results:"[COUNT] r\xE9sultats pour [SEARCH_TERM]",one_result:"[COUNT] r\xE9sultat pour [SEARCH_TERM]",alt_search:"Pas de r\xE9sultat pour [SEARCH_TERM]. Montre les r\xE9sultats pour [DIFFERENT_TERM] \xE0 la place",search_suggestion:"Pas de r\xE9sultat pour [SEARCH_TERM]. Essayer une des recherches suivantes:",searching:"Recherche [SEARCH_TERM]..."},br={thanks_to:mr,comments:pr,direction:gr,strings:Er};var kt={};v(kt,{comments:()=>Tr,default:()=>yr,direction:()=>kr,strings:()=>Cr,thanks_to:()=>Rr});var Rr="Pablo Villaverde ",Tr="",kr="ltr",Cr={placeholder:"Buscar",clear_search:"Limpar",load_more:"Ver m\xE1is resultados",search_label:"Buscar neste sitio",filters_label:"Filtros",zero_results:"Non se atoparon resultados para [SEARCH_TERM]",many_results:"[COUNT] resultados atopados para [SEARCH_TERM]",one_result:"[COUNT] resultado atopado para [SEARCH_TERM]",alt_search:"Non se atoparon resultados para [SEARCH_TERM]. Amosando no seu lugar resultados para [DIFFERENT_TERM]",search_suggestion:"Non se atoparon resultados para [SEARCH_TERM]. Probe unha das seguintes pesquisas:",searching:"Buscando [SEARCH_TERM]..."},yr={thanks_to:Rr,comments:Tr,direction:kr,strings:Cr};var Ct={};v(Ct,{comments:()=>vr,default:()=>wr,direction:()=>Mr,strings:()=>Ar,thanks_to:()=>Sr});var Sr="Amit Yadav ",vr="",Mr="ltr",Ar={placeholder:"\u0916\u094B\u091C\u0947\u0902",clear_search:"\u0938\u093E\u092B \u0915\u0930\u0947\u0902",load_more:"\u0914\u0930 \u0905\u0927\u093F\u0915 \u092A\u0930\u093F\u0923\u093E\u092E \u0932\u094B\u0921 \u0915\u0930\u0947\u0902",search_label:"\u0907\u0938 \u0938\u093E\u0907\u091F \u092E\u0947\u0902 \u0916\u094B\u091C\u0947\u0902",filters_label:"\u092B\u093C\u093F\u0932\u094D\u091F\u0930",zero_results:"\u0915\u094B\u0908 \u092A\u0930\u093F\u0923\u093E\u092E [SEARCH_TERM] \u0915\u0947 \u0932\u093F\u090F \u0928\u0939\u0940\u0902 \u092E\u093F\u0932\u093E",many_results:"[COUNT] \u092A\u0930\u093F\u0923\u093E\u092E [SEARCH_TERM] \u0915\u0947 \u0932\u093F\u090F \u092E\u093F\u0932\u0947",one_result:"[COUNT] \u092A\u0930\u093F\u0923\u093E\u092E [SEARCH_TERM] \u0915\u0947 \u0932\u093F\u090F \u092E\u093F\u0932\u093E",alt_search:"[SEARCH_TERM] \u0915\u0947 \u0932\u093F\u090F \u0915\u094B\u0908 \u092A\u0930\u093F\u0923\u093E\u092E \u0928\u0939\u0940\u0902 \u092E\u093F\u0932\u093E\u0964 \u0907\u0938\u0915\u0947 \u092C\u091C\u093E\u092F [DIFFERENT_TERM] \u0915\u0947 \u0932\u093F\u090F \u092A\u0930\u093F\u0923\u093E\u092E \u0926\u093F\u0916\u093E \u0930\u0939\u093E \u0939\u0948",search_suggestion:"[SEARCH_TERM] \u0915\u0947 \u0932\u093F\u090F \u0915\u094B\u0908 \u092A\u0930\u093F\u0923\u093E\u092E \u0928\u0939\u0940\u0902 \u092E\u093F\u0932\u093E\u0964 \u0928\u093F\u092E\u094D\u0928\u0932\u093F\u0916\u093F\u0924 \u0916\u094B\u091C\u094B\u0902 \u092E\u0947\u0902 \u0938\u0947 \u0915\u094B\u0908 \u090F\u0915 \u0906\u091C\u093C\u092E\u093E\u090F\u0902:",searching:"[SEARCH_TERM] \u0915\u0940 \u0916\u094B\u091C \u0915\u0940 \u091C\u093E \u0930\u0939\u0940 \u0939\u0948..."},wr={thanks_to:Sr,comments:vr,direction:Mr,strings:Ar};var yt={};v(yt,{comments:()=>Hr,default:()=>jr,direction:()=>Nr,strings:()=>Or,thanks_to:()=>Fr});var Fr="Diomed ",Hr="",Nr="ltr",Or={placeholder:"Tra\u017Ei",clear_search:"O\u010Disti",load_more:"U\u010Ditaj vi\u0161e rezultata",search_label:"Pretra\u017Ei ovu stranicu",filters_label:"Filteri",zero_results:"Nema rezultata za [SEARCH_TERM]",many_results:"[COUNT] rezultata za [SEARCH_TERM]",one_result:"[COUNT] rezultat za [SEARCH_TERM]",alt_search:"Nema rezultata za [SEARCH_TERM]. Prikazujem rezultate za [DIFFERENT_TERM]",search_suggestion:"Nema rezultata za [SEARCH_TERM]. Poku\u0161aj s jednom od ovih pretraga:",searching:"Pretra\u017Eujem [SEARCH_TERM]..."},jr={thanks_to:Fr,comments:Hr,direction:Nr,strings:Or};var St={};v(St,{comments:()=>Dr,default:()=>Pr,direction:()=>Ur,strings:()=>Ir,thanks_to:()=>zr});var zr="Adam Laki ",Dr="",Ur="ltr",Ir={placeholder:"Keres\xE9s",clear_search:"T\xF6rl\xE9s",load_more:"Tov\xE1bbi tal\xE1latok bet\xF6lt\xE9se",search_label:"Keres\xE9s az oldalon",filters_label:"Sz\u0171r\xE9s",zero_results:"Nincs tal\xE1lat a(z) [SEARCH_TERM] kifejez\xE9sre",many_results:"[COUNT] db tal\xE1lat a(z) [SEARCH_TERM] kifejez\xE9sre",one_result:"[COUNT] db tal\xE1lat a(z) [SEARCH_TERM] kifejez\xE9sre",alt_search:"Nincs tal\xE1lat a(z) [SEARCH_TERM] kifejez\xE9sre. Tal\xE1latok mutat\xE1sa ink\xE1bb a(z) [DIFFERENT_TERM] kifejez\xE9sre",search_suggestion:"Nincs tal\xE1lat a(z) [SEARCH_TERM] kifejez\xE9sre. Pr\xF3b\xE1ld meg a k\xF6vetkez\u0151 keres\xE9sek egyik\xE9t:",searching:"Keres\xE9s a(z) [SEARCH_TERM] kifejez\xE9sre..."},Pr={thanks_to:zr,comments:Dr,direction:Ur,strings:Ir};var vt={};v(vt,{comments:()=>qr,default:()=>Vr,direction:()=>Br,strings:()=>Wr,thanks_to:()=>Lr});var Lr="Nixentric",qr="",Br="ltr",Wr={placeholder:"Cari",clear_search:"Bersihkan",load_more:"Muat lebih banyak hasil",search_label:"Telusuri situs ini",filters_label:"Filter",zero_results:"[SEARCH_TERM] tidak ditemukan",many_results:"Ditemukan [COUNT] hasil untuk [SEARCH_TERM]",one_result:"Ditemukan [COUNT] hasil untuk [SEARCH_TERM]",alt_search:"[SEARCH_TERM] tidak ditemukan. Menampilkan hasil [DIFFERENT_TERM] sebagai gantinya",search_suggestion:"[SEARCH_TERM] tidak ditemukan. Coba salah satu pencarian berikut ini:",searching:"Mencari [SEARCH_TERM]..."},Vr={thanks_to:Lr,comments:qr,direction:Br,strings:Wr};var Mt={};v(Mt,{comments:()=>Kr,default:()=>Xr,direction:()=>Jr,strings:()=>Yr,thanks_to:()=>Gr});var Gr="Cosette Bruhns Alonso, Andrew Janco ",Kr="",Jr="ltr",Yr={placeholder:"Cerca",clear_search:"Cancella la cronologia",load_more:"Mostra pi\xF9 risultati",search_label:"Cerca nel sito",filters_label:"Filtri di ricerca",zero_results:"Nessun risultato per [SEARCH_TERM]",many_results:"[COUNT] risultati per [SEARCH_TERM]",one_result:"[COUNT] risultato per [SEARCH_TERM]",alt_search:"Nessun risultato per [SEARCH_TERM]. Mostrando risultati per [DIFFERENT_TERM] come alternativa.",search_suggestion:"Nessun risultato per [SEARCH_TERM]. Prova una delle seguenti ricerche:",searching:"Cercando [SEARCH_TERM]..."},Xr={thanks_to:Gr,comments:Kr,direction:Jr,strings:Yr};var At={};v(At,{comments:()=>Qr,default:()=>el,direction:()=>xr,strings:()=>$r,thanks_to:()=>Zr});var Zr="Tate",Qr="",xr="ltr",$r={placeholder:"\u691C\u7D22",clear_search:"\u6D88\u3059",load_more:"\u3082\u3063\u3068\u8AAD\u307F\u8FBC\u3080",search_label:"\u3053\u306E\u30B5\u30A4\u30C8\u3092\u691C\u7D22",filters_label:"\u30D5\u30A3\u30EB\u30BF",zero_results:"[SEARCH_TERM]\u306E\u691C\u7D22\u306B\u4E00\u81F4\u3059\u308B\u4EF6\u306F\u3042\u308A\u307E\u305B\u3093\u3067\u3057\u305F",many_results:"[SEARCH_TERM]\u306E[COUNT]\u4EF6\u306E\u691C\u7D22\u7D50\u679C",one_result:"[SEARCH_TERM]\u306E[COUNT]\u4EF6\u306E\u691C\u7D22\u7D50\u679C",alt_search:"[SEARCH_TERM]\u306E\u691C\u7D22\u306B\u4E00\u81F4\u3059\u308B\u4EF6\u306F\u3042\u308A\u307E\u305B\u3093\u3067\u3057\u305F\u3002[DIFFERENT_TERM]\u306E\u691C\u7D22\u7D50\u679C\u3092\u8868\u793A\u3057\u3066\u3044\u307E\u3059",search_suggestion:"[SEARCH_TERM]\u306E\u691C\u7D22\u306B\u4E00\u81F4\u3059\u308B\u4EF6\u306F\u3042\u308A\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u6B21\u306E\u3044\u305A\u308C\u304B\u306E\u691C\u7D22\u3092\u8A66\u3057\u3066\u304F\u3060\u3055\u3044",searching:"[SEARCH_TERM]\u3092\u691C\u7D22\u3057\u3066\u3044\u307E\u3059"},el={thanks_to:Zr,comments:Qr,direction:xr,strings:$r};var wt={};v(wt,{comments:()=>nl,default:()=>ll,direction:()=>sl,strings:()=>rl,thanks_to:()=>tl});var tl="",nl="",sl="ltr",rl={placeholder:"Rapu",clear_search:"Whakakore",load_more:"Whakauta \u0113tahi otinga k\u0113",search_label:"Rapu",filters_label:"T\u0101tari",zero_results:"Otinga kore ki [SEARCH_TERM]",many_results:"[COUNT] otinga ki [SEARCH_TERM]",one_result:"[COUNT] otinga ki [SEARCH_TERM]",alt_search:"Otinga kore ki [SEARCH_TERM]. Otinga k\u0113 ki [DIFFERENT_TERM]",search_suggestion:"Otinga kore ki [SEARCH_TERM]. whakam\u0101tau ki ng\u0101 mea atu:",searching:"Rapu ki [SEARCH_TERM]..."},ll={thanks_to:tl,comments:nl,direction:sl,strings:rl};var Ft={};v(Ft,{comments:()=>al,default:()=>cl,direction:()=>ol,strings:()=>ul,thanks_to:()=>il});var il="Paul van Brouwershaven",al="",ol="ltr",ul={placeholder:"Zoeken",clear_search:"Reset",load_more:"Meer resultaten laden",search_label:"Doorzoek deze site",filters_label:"Filters",zero_results:"Geen resultaten voor [SEARCH_TERM]",many_results:"[COUNT] resultaten voor [SEARCH_TERM]",one_result:"[COUNT] resultaat voor [SEARCH_TERM]",alt_search:"Geen resultaten voor [SEARCH_TERM]. In plaats daarvan worden resultaten voor [DIFFERENT_TERM] weergegeven",search_suggestion:"Geen resultaten voor [SEARCH_TERM]. Probeer een van de volgende zoekopdrachten:",searching:"Zoeken naar [SEARCH_TERM]..."},cl={thanks_to:il,comments:al,direction:ol,strings:ul};var Ht={};v(Ht,{comments:()=>fl,default:()=>ml,direction:()=>dl,strings:()=>hl,thanks_to:()=>_l});var _l="Christopher Wingate",fl="",dl="ltr",hl={placeholder:"S\xF8k",clear_search:"Fjern",load_more:"Last flere resultater",search_label:"S\xF8k p\xE5 denne siden",filters_label:"Filtre",zero_results:"Ingen resultater for [SEARCH_TERM]",many_results:"[COUNT] resultater for [SEARCH_TERM]",one_result:"[COUNT] resultat for [SEARCH_TERM]",alt_search:"Ingen resultater for [SEARCH_TERM]. Viser resultater for [DIFFERENT_TERM] i stedet",search_suggestion:"Ingen resultater for [SEARCH_TERM]. Pr\xF8v en av disse s\xF8keordene i stedet:",searching:"S\xF8ker etter [SEARCH_TERM]"},ml={thanks_to:_l,comments:fl,direction:dl,strings:hl};var Nt={};v(Nt,{comments:()=>gl,default:()=>Rl,direction:()=>El,strings:()=>bl,thanks_to:()=>pl});var pl="",gl="",El="ltr",bl={placeholder:"Szukaj",clear_search:"Wyczy\u015B\u0107",load_more:"Za\u0142aduj wi\u0119cej",search_label:"Przeszukaj t\u0119 stron\u0119",filters_label:"Filtry",zero_results:"Brak wynik\xF3w dla [SEARCH_TERM]",many_results:"[COUNT] wynik\xF3w dla [SEARCH_TERM]",one_result:"[COUNT] wynik dla [SEARCH_TERM]",alt_search:"Brak wynik\xF3w dla [SEARCH_TERM]. Wy\u015Bwietlam wyniki dla [DIFFERENT_TERM]",search_suggestion:"Brak wynik\xF3w dla [SEARCH_TERM]. Pokrewne wyniki wyszukiwania:",searching:"Szukam [SEARCH_TERM]..."},Rl={thanks_to:pl,comments:gl,direction:El,strings:bl};var Ot={};v(Ot,{comments:()=>kl,default:()=>Sl,direction:()=>Cl,strings:()=>yl,thanks_to:()=>Tl});var Tl="Jonatah",kl="",Cl="ltr",yl={placeholder:"Pesquisar",clear_search:"Limpar",load_more:"Ver mais resultados",search_label:"Pesquisar",filters_label:"Filtros",zero_results:"Nenhum resultado encontrado para [SEARCH_TERM]",many_results:"[COUNT] resultados encontrados para [SEARCH_TERM]",one_result:"[COUNT] resultado encontrado para [SEARCH_TERM]",alt_search:"Nenhum resultado encontrado para [SEARCH_TERM]. Exibindo resultados para [DIFFERENT_TERM]",search_suggestion:"Nenhum resultado encontrado para [SEARCH_TERM]. Tente uma das seguintes pesquisas:",searching:"Pesquisando por [SEARCH_TERM]..."},Sl={thanks_to:Tl,comments:kl,direction:Cl,strings:yl};var jt={};v(jt,{comments:()=>Ml,default:()=>Fl,direction:()=>Al,strings:()=>wl,thanks_to:()=>vl});var vl="Aleksandr Gordeev",Ml="",Al="ltr",wl={placeholder:"\u041F\u043E\u0438\u0441\u043A",clear_search:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u043F\u043E\u043B\u0435",load_more:"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0435\u0449\u0435",search_label:"\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443",filters_label:"\u0424\u0438\u043B\u044C\u0442\u0440\u044B",zero_results:"\u041D\u0438\u0447\u0435\u0433\u043E \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E \u043F\u043E \u0437\u0430\u043F\u0440\u043E\u0441\u0443: [SEARCH_TERM]",many_results:"[COUNT] \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432 \u043F\u043E \u0437\u0430\u043F\u0440\u043E\u0441\u0443: [SEARCH_TERM]",one_result:"[COUNT] \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442 \u043F\u043E \u0437\u0430\u043F\u0440\u043E\u0441\u0443: [SEARCH_TERM]",alt_search:"\u041D\u0438\u0447\u0435\u0433\u043E \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E \u043F\u043E \u0437\u0430\u043F\u0440\u043E\u0441\u0443: [SEARCH_TERM]. \u041F\u043E\u043A\u0430\u0437\u0430\u043D\u044B \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043F\u043E \u0437\u0430\u043F\u0440\u043E\u0441\u0443: [DIFFERENT_TERM]",search_suggestion:"\u041D\u0438\u0447\u0435\u0433\u043E \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E \u043F\u043E \u0437\u0430\u043F\u0440\u043E\u0441\u0443: [SEARCH_TERM]. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043E\u0434\u0438\u043D \u0438\u0437 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0445 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043E\u0432",searching:"\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0437\u0430\u043F\u0440\u043E\u0441\u0443: [SEARCH_TERM]"},Fl={thanks_to:vl,comments:Ml,direction:Al,strings:wl};var zt={};v(zt,{comments:()=>Nl,default:()=>zl,direction:()=>Ol,strings:()=>jl,thanks_to:()=>Hl});var Hl="Andrija Sagicc",Nl="",Ol="ltr",jl={placeholder:"\u041F\u0440\u0435\u0442\u0440\u0430\u0433\u0430",clear_search:"\u0411\u0440\u0438\u0441\u0430\u045A\u0435",load_more:"\u041F\u0440\u0438\u043A\u0430\u0437 \u0432\u0438\u0448\u0435 \u0440\u0435\u0437\u0443\u043B\u0442\u0430\u0442\u0430",search_label:"\u041F\u0440\u0435\u0442\u0440\u0430\u0433\u0430 \u0441\u0430\u0458\u0442\u0430",filters_label:"\u0424\u0438\u043B\u0442\u0435\u0440\u0438",zero_results:"\u041D\u0435\u043C\u0430 \u0440\u0435\u0437\u0443\u043B\u0442\u0430\u0442\u0430 \u0437\u0430 [SEARCH_TERM]",many_results:"[COUNT] \u0440\u0435\u0437\u0443\u043B\u0442\u0430\u0442\u0430 \u0437\u0430 [SEARCH_TERM]",one_result:"[COUNT] \u0440\u0435\u0437\u0443\u043B\u0442\u0430\u0442\u0430 \u0437\u0430 [SEARCH_TERM]",alt_search:"\u041D\u0435\u043C\u0430 \u0440\u0435\u0437\u0443\u043B\u0442\u0430\u0442\u0430 \u0437\u0430 [SEARCH_TERM]. \u041F\u0440\u0438\u043A\u0430\u0437 \u0434\u043E\u0434\u0430\u0442\u043D\u0438\u043A \u0440\u0435\u0437\u0443\u043B\u0442\u0430\u0442\u0430 \u0437\u0430 [DIFFERENT_TERM]",search_suggestion:"\u041D\u0435\u043C\u0430 \u0440\u0435\u0437\u0443\u043B\u0442\u0430\u0442\u0430 \u0437\u0430 [SEARCH_TERM]. \u041F\u043E\u043A\u0443\u0448\u0430\u0458\u0442\u0435 \u0441\u0430 \u043D\u0435\u043A\u043E\u043C \u043E\u0434 \u0441\u043B\u0435\u0434\u0435\u045B\u0438\u0445 \u043F\u0440\u0435\u0442\u0440\u0430\u0433\u0430:",searching:"\u041F\u0440\u0435\u0442\u0440\u0430\u0433\u0430 \u0442\u0435\u0440\u043C\u0438\u043D\u0430 [SEARCH_TERM]..."},zl={thanks_to:Hl,comments:Nl,direction:Ol,strings:jl};var Dt={};v(Dt,{comments:()=>Ul,default:()=>Ll,direction:()=>Il,strings:()=>Pl,thanks_to:()=>Dl});var Dl="Montazar Al-Jaber ",Ul="",Il="ltr",Pl={placeholder:"S\xF6k",clear_search:"Rensa",load_more:"Visa fler tr\xE4ffar",search_label:"S\xF6k p\xE5 denna sida",filters_label:"Filter",zero_results:"[SEARCH_TERM] gav inga tr\xE4ffar",many_results:"[SEARCH_TERM] gav [COUNT] tr\xE4ffar",one_result:"[SEARCH_TERM] gav [COUNT] tr\xE4ff",alt_search:"[SEARCH_TERM] gav inga tr\xE4ffar. Visar resultat f\xF6r [DIFFERENT_TERM] ist\xE4llet",search_suggestion:"[SEARCH_TERM] gav inga tr\xE4ffar. F\xF6rs\xF6k igen med en av f\xF6ljande s\xF6kord:",searching:"S\xF6ker efter [SEARCH_TERM]..."},Ll={thanks_to:Dl,comments:Ul,direction:Il,strings:Pl};var Ut={};v(Ut,{comments:()=>Bl,default:()=>Gl,direction:()=>Wl,strings:()=>Vl,thanks_to:()=>ql});var ql="",Bl="",Wl="ltr",Vl={placeholder:"\u0BA4\u0BC7\u0B9F\u0BC1\u0B95",clear_search:"\u0B85\u0BB4\u0BBF\u0B95\u0BCD\u0B95\u0BC1\u0B95",load_more:"\u0BAE\u0BC7\u0BB2\u0BC1\u0BAE\u0BCD \u0BAE\u0BC1\u0B9F\u0BBF\u0BB5\u0BC1\u0B95\u0BB3\u0BC8\u0B95\u0BCD \u0B95\u0BBE\u0B9F\u0BCD\u0B9F\u0BC1\u0B95",search_label:"\u0B87\u0BA8\u0BCD\u0BA4 \u0BA4\u0BB3\u0BA4\u0BCD\u0BA4\u0BBF\u0BB2\u0BCD \u0BA4\u0BC7\u0B9F\u0BC1\u0B95",filters_label:"\u0BB5\u0B9F\u0BBF\u0B95\u0B9F\u0BCD\u0B9F\u0BB2\u0BCD\u0B95\u0BB3\u0BCD",zero_results:"[SEARCH_TERM] \u0B95\u0BCD\u0B95\u0BBE\u0BA9 \u0BAE\u0BC1\u0B9F\u0BBF\u0BB5\u0BC1\u0B95\u0BB3\u0BCD \u0B87\u0BB2\u0BCD\u0BB2\u0BC8",many_results:"[SEARCH_TERM] \u0B95\u0BCD\u0B95\u0BBE\u0BA9 [COUNT] \u0BAE\u0BC1\u0B9F\u0BBF\u0BB5\u0BC1\u0B95\u0BB3\u0BCD",one_result:"[SEARCH_TERM] \u0B95\u0BCD\u0B95\u0BBE\u0BA9 \u0BAE\u0BC1\u0B9F\u0BBF\u0BB5\u0BC1",alt_search:"[SEARCH_TERM] \u0B87\u0BA4\u0BCD\u0BA4\u0BC7\u0B9F\u0BB2\u0BC1\u0B95\u0BCD\u0B95\u0BBE\u0BA9 \u0BAE\u0BC1\u0B9F\u0BBF\u0BB5\u0BC1\u0B95\u0BB3\u0BCD \u0B87\u0BB2\u0BCD\u0BB2\u0BC8, \u0B87\u0BA8\u0BCD\u0BA4 \u0BA4\u0BC7\u0B9F\u0BB2\u0BCD\u0B95\u0BB3\u0BC1\u0B95\u0BCD\u0B95\u0BBE\u0BA9 \u0B92\u0BA4\u0BCD\u0BA4 \u0BAE\u0BC1\u0B9F\u0BBF\u0BB5\u0BC1\u0B95\u0BB3\u0BCD [DIFFERENT_TERM]",search_suggestion:"[SEARCH_TERM] \u0B87\u0BA4\u0BCD \u0BA4\u0BC7\u0B9F\u0BB2\u0BC1\u0B95\u0BCD\u0B95\u0BBE\u0BA9 \u0BAE\u0BC1\u0B9F\u0BBF\u0BB5\u0BC1\u0B95\u0BB3\u0BCD \u0B87\u0BB2\u0BCD\u0BB2\u0BC8.\u0B87\u0BA4\u0BB1\u0BCD\u0B95\u0BC1 \u0BAA\u0BA4\u0BBF\u0BB2\u0BC0\u0B9F\u0BBE\u0BA9 \u0BA4\u0BC7\u0B9F\u0BB2\u0BCD\u0B95\u0BB3\u0BC8 \u0BA4\u0BC7\u0B9F\u0BC1\u0B95:",searching:"[SEARCH_TERM] \u0BA4\u0BC7\u0B9F\u0BAA\u0BCD\u0BAA\u0B9F\u0BC1\u0B95\u0BBF\u0BA9\u0BCD\u0BB1\u0BA4\u0BC1"},Gl={thanks_to:ql,comments:Bl,direction:Wl,strings:Vl};var It={};v(It,{comments:()=>Jl,default:()=>Zl,direction:()=>Yl,strings:()=>Xl,thanks_to:()=>Kl});var Kl="Taylan \xD6zg\xFCr Bildik",Jl="",Yl="ltr",Xl={placeholder:"Ara\u015Ft\u0131r",clear_search:"Temizle",load_more:"Daha fazla sonu\xE7",search_label:"Site genelinde arama",filters_label:"Filtreler",zero_results:"[SEARCH_TERM] i\xE7in sonu\xE7 yok",many_results:"[SEARCH_TERM] i\xE7in [COUNT] sonu\xE7 bulundu",one_result:"[SEARCH_TERM] i\xE7in [COUNT] sonu\xE7 bulundu",alt_search:"[SEARCH_TERM] i\xE7in sonu\xE7 yok. Bunun yerine [DIFFERENT_TERM] i\xE7in sonu\xE7lar g\xF6steriliyor",search_suggestion:"[SEARCH_TERM] i\xE7in sonu\xE7 yok. Alternatif olarak a\u015Fa\u011F\u0131daki kelimelerden birini deneyebilirsiniz:",searching:"[SEARCH_TERM] ara\u015Ft\u0131r\u0131l\u0131yor..."},Zl={thanks_to:Kl,comments:Jl,direction:Yl,strings:Xl};var Pt={};v(Pt,{comments:()=>xl,default:()=>ti,direction:()=>$l,strings:()=>ei,thanks_to:()=>Ql});var Ql="Long Nhat Nguyen",xl="",$l="ltr",ei={placeholder:"T\xECm ki\u1EBFm",clear_search:"X\xF3a",load_more:"Nhi\u1EC1u k\u1EBFt qu\u1EA3 h\u01A1n",search_label:"T\xECm ki\u1EBFm trong trang n\xE0y",filters_label:"B\u1ED9 l\u1ECDc",zero_results:"Kh\xF4ng t\xECm th\u1EA5y k\u1EBFt qu\u1EA3 cho [SEARCH_TERM]",many_results:"[COUNT] k\u1EBFt qu\u1EA3 cho [SEARCH_TERM]",one_result:"[COUNT] k\u1EBFt qu\u1EA3 cho [SEARCH_TERM]",alt_search:"Kh\xF4ng t\xECm th\u1EA5y k\u1EBFt qu\u1EA3 cho [SEARCH_TERM]. Ki\u1EC3m th\u1ECB k\u1EBFt qu\u1EA3 thay th\u1EBF v\u1EDBi [DIFFERENT_TERM]",search_suggestion:"Kh\xF4ng t\xECm th\u1EA5y k\u1EBFt qu\u1EA3 cho [SEARCH_TERM]. Th\u1EED m\u1ED9t trong c\xE1c t\xECm ki\u1EBFm:",searching:"\u0110ang t\xECm ki\u1EBFm cho [SEARCH_TERM]..."},ti={thanks_to:Ql,comments:xl,direction:$l,strings:ei};var Lt={};v(Lt,{comments:()=>si,default:()=>ii,direction:()=>ri,strings:()=>li,thanks_to:()=>ni});var ni="Amber Song",si="",ri="ltr",li={placeholder:"\u641C\u7D22",clear_search:"\u6E05\u9664",load_more:"\u52A0\u8F7D\u66F4\u591A\u7ED3\u679C",search_label:"\u7AD9\u5185\u641C\u7D22",filters_label:"\u7B5B\u9009",zero_results:"\u672A\u627E\u5230 [SEARCH_TERM] \u7684\u76F8\u5173\u7ED3\u679C",many_results:"\u627E\u5230 [COUNT] \u4E2A [SEARCH_TERM] \u7684\u76F8\u5173\u7ED3\u679C",one_result:"\u627E\u5230 [COUNT] \u4E2A [SEARCH_TERM] \u7684\u76F8\u5173\u7ED3\u679C",alt_search:"\u672A\u627E\u5230 [SEARCH_TERM] \u7684\u76F8\u5173\u7ED3\u679C\u3002\u6539\u4E3A\u663E\u793A [DIFFERENT_TERM] \u7684\u76F8\u5173\u7ED3\u679C",search_suggestion:"\u672A\u627E\u5230 [SEARCH_TERM] \u7684\u76F8\u5173\u7ED3\u679C\u3002\u8BF7\u5C1D\u8BD5\u4EE5\u4E0B\u641C\u7D22\u3002",searching:"\u6B63\u5728\u641C\u7D22 [SEARCH_TERM]..."},ii={thanks_to:ni,comments:si,direction:ri,strings:li};var qt={};v(qt,{comments:()=>oi,default:()=>_i,direction:()=>ui,strings:()=>ci,thanks_to:()=>ai});var ai="Amber Song",oi="",ui="ltr",ci={placeholder:"\u641C\u7D22",clear_search:"\u6E05\u9664",load_more:"\u52A0\u8F09\u66F4\u591A\u7D50\u679C",search_label:"\u7AD9\u5167\u641C\u7D22",filters_label:"\u7BE9\u9078",zero_results:"\u672A\u627E\u5230 [SEARCH_TERM] \u7684\u76F8\u95DC\u7D50\u679C",many_results:"\u627E\u5230 [COUNT] \u500B [SEARCH_TERM] \u7684\u76F8\u95DC\u7D50\u679C",one_result:"\u627E\u5230 [COUNT] \u500B [SEARCH_TERM] \u7684\u76F8\u95DC\u7D50\u679C",alt_search:"\u672A\u627E\u5230 [SEARCH_TERM] \u7684\u76F8\u95DC\u7D50\u679C\u3002\u6539\u70BA\u986F\u793A [DIFFERENT_TERM] \u7684\u76F8\u95DC\u7D50\u679C",search_suggestion:"\u672A\u627E\u5230 [SEARCH_TERM] \u7684\u76F8\u95DC\u7D50\u679C\u3002\u8ACB\u5617\u8A66\u4EE5\u4E0B\u641C\u7D22\u3002",searching:"\u6B63\u5728\u641C\u7D22 [SEARCH_TERM]..."},_i={thanks_to:ai,comments:oi,direction:ui,strings:ci};var Bt={};v(Bt,{comments:()=>di,default:()=>pi,direction:()=>hi,strings:()=>mi,thanks_to:()=>fi});var fi="Amber Song",di="",hi="ltr",mi={placeholder:"\u641C\u7D22",clear_search:"\u6E05\u9664",load_more:"\u52A0\u8F7D\u66F4\u591A\u7ED3\u679C",search_label:"\u7AD9\u5185\u641C\u7D22",filters_label:"\u7B5B\u9009",zero_results:"\u672A\u627E\u5230 [SEARCH_TERM] \u7684\u76F8\u5173\u7ED3\u679C",many_results:"\u627E\u5230 [COUNT] \u4E2A [SEARCH_TERM] \u7684\u76F8\u5173\u7ED3\u679C",one_result:"\u627E\u5230 [COUNT] \u4E2A [SEARCH_TERM] \u7684\u76F8\u5173\u7ED3\u679C",alt_search:"\u672A\u627E\u5230 [SEARCH_TERM] \u7684\u76F8\u5173\u7ED3\u679C\u3002\u6539\u4E3A\u663E\u793A [DIFFERENT_TERM] \u7684\u76F8\u5173\u7ED3\u679C",search_suggestion:"\u672A\u627E\u5230 [SEARCH_TERM] \u7684\u76F8\u5173\u7ED3\u679C\u3002\u8BF7\u5C1D\u8BD5\u4EE5\u4E0B\u641C\u7D22\u3002",searching:"\u6B63\u5728\u641C\u7D22 [SEARCH_TERM]..."},pi={thanks_to:fi,comments:di,direction:hi,strings:mi};var gi=[dt,ht,mt,pt,gt,Et,bt,Rt,Tt,kt,Ct,yt,St,vt,Mt,At,wt,Ft,Ht,Nt,Ot,jt,zt,Dt,Ut,It,Pt,Lt,qt,Bt],Un=gi,In=["../../translations/af.json","../../translations/bn.json","../../translations/ca.json","../../translations/da.json","../../translations/de.json","../../translations/en.json","../../translations/es.json","../../translations/fi.json","../../translations/fr.json","../../translations/gl.json","../../translations/hi.json","../../translations/hr.json","../../translations/hu.json","../../translations/id.json","../../translations/it.json","../../translations/ja.json","../../translations/mi.json","../../translations/nl.json","../../translations/no.json","../../translations/pl.json","../../translations/pt.json","../../translations/ru.json","../../translations/sr.json","../../translations/sv.json","../../translations/ta.json","../../translations/tr.json","../../translations/vi.json","../../translations/zh-cn.json","../../translations/zh-tw.json","../../translations/zh.json"];function Pn(n,e,t){let s=n.slice();return s[48]=e[t],s}function Ln(n){let e,t,s;function r(i){n[34](i)}let l={show_empty_filters:n[4],available_filters:n[16],translate:n[18],automatic_translations:n[17],translations:n[5]};return n[7]!==void 0&&(l.selected_filters=n[7]),e=new Dn({props:l}),re.push(()=>an(e,"selected_filters",r)),{c(){Ze(e.$$.fragment)},m(i,a){he(e,i,a),s=!0},p(i,a){let o={};a[0]&16&&(o.show_empty_filters=i[4]),a[0]&65536&&(o.available_filters=i[16]),a[0]&131072&&(o.automatic_translations=i[17]),a[0]&32&&(o.translations=i[5]),!t&&a[0]&128&&(t=!0,o.selected_filters=i[7],nn(()=>t=!1)),e.$set(o)},i(i){s||(z(e.$$.fragment,i),s=!0)},o(i){I(e.$$.fragment,i),s=!1},d(i){oe(e,i)}}}function qn(n){let e,t,s,r,l=[Ri,bi],i=[];function a(o,h){return o[12]?0:1}return t=a(n,[-1,-1]),s=i[t]=l[t](n),{c(){e=k("div"),s.c(),p(e,"class","pagefind-ui__results-area svelte-e9gkc3")},m(o,h){y(o,e,h),i[t].m(e,null),r=!0},p(o,h){let _=t;t=a(o,h),t===_?i[t].p(o,h):(ie(),I(i[_],1,1,()=>{i[_]=null}),ae(),s=i[t],s?s.p(o,h):(s=i[t]=l[t](o),s.c()),z(s,1),s.m(e,null))},i(o){r||(z(s),r=!0)},o(o){I(s),r=!1},d(o){o&&C(e),i[t].d()}}}function bi(n){let e,t,s,r=[],l=new Map,i,a,o;function h(m,d){return m[11].results.length===0?Ci:m[11].results.length===1?ki:Ti}let _=h(n,[-1,-1]),f=_(n),c=n[11].results.slice(0,n[15]),E=m=>m[48].id;for(let m=0;mn[15]&&Wn(n);return{c(){e=k("p"),f.c(),t=M(),s=k("ol");for(let m=0;mm[15]?u?u.p(m,d):(u=Wn(m),u.c(),u.m(a.parentNode,a)):u&&(u.d(1),u=null)},i(m){if(!o){for(let d=0;d{o[c]=null}),ae(),r=o[s],r?r.p(e,f):(r=o[s]=a[s](e),r.c()),z(r,1),r.m(l.parentNode,l))},i(_){i||(z(r),i=!0)},o(_){I(r),i=!1},d(_){_&&C(t),o[s].d(_),_&&C(l)}}}function Wn(n){let e,t=n[18]("load_more",n[17],n[5])+"",s,r,l;return{c(){e=k("button"),s=A(t),p(e,"type","button"),p(e,"class","pagefind-ui__button svelte-e9gkc3")},m(i,a){y(i,e,a),b(e,s),r||(l=K(e,"click",n[20]),r=!0)},p(i,a){a[0]&131104&&t!==(t=i[18]("load_more",i[17],i[5])+"")&&N(s,t)},d(i){i&&C(e),r=!1,l()}}}function Vn(n){let e,t=n[18]("searching",n[17],n[5]).replace(/\[SEARCH_TERM\]/,n[14])+"",s;return{c(){e=k("p"),s=A(t),p(e,"class","pagefind-ui__message svelte-e9gkc3")},m(r,l){y(r,e,l),b(e,s)},p(r,l){l[0]&147488&&t!==(t=r[18]("searching",r[17],r[5]).replace(/\[SEARCH_TERM\]/,r[14])+"")&&N(s,t)},d(r){r&&C(e)}}}function vi(n){let e,t,s,r,l,i,a=n[18]("clear_search",n[17],n[5])+"",o,h,_,f,c,E,u,m,d=n[10]&&Ln(n),R=n[13]&&qn(n);return{c(){e=k("div"),t=k("form"),s=k("input"),l=M(),i=k("button"),o=A(a),h=M(),_=k("div"),d&&d.c(),f=M(),R&&R.c(),p(s,"class","pagefind-ui__search-input svelte-e9gkc3"),p(s,"type","text"),p(s,"placeholder",r=n[18]("placeholder",n[17],n[5])),p(s,"autocapitalize","none"),p(s,"enterkeyhint","search"),p(i,"class","pagefind-ui__search-clear svelte-e9gkc3"),W(i,"pagefind-ui__suppressed",!n[6]),p(_,"class","pagefind-ui__drawer svelte-e9gkc3"),W(_,"pagefind-ui__hidden",!n[13]),p(t,"class","pagefind-ui__form svelte-e9gkc3"),p(t,"role","search"),p(t,"aria-label",c=n[18]("search_label",n[17],n[5])),p(t,"action","javascript:void(0);"),p(e,"class","pagefind-ui svelte-e9gkc3"),W(e,"pagefind-ui--reset",n[0])},m(T,S){y(T,e,S),b(e,t),b(t,s),it(s,n[6]),n[31](s),b(t,l),b(t,i),b(i,o),n[32](i),b(t,h),b(t,_),d&&d.m(_,null),b(_,f),R&&R.m(_,null),E=!0,u||(m=[K(s,"focus",n[19]),K(s,"keydown",n[29]),K(s,"input",n[30]),K(i,"click",n[33]),K(t,"submit",Mi)],u=!0)},p(T,S){(!E||S[0]&131104&&r!==(r=T[18]("placeholder",T[17],T[5])))&&p(s,"placeholder",r),S[0]&64&&s.value!==T[6]&&it(s,T[6]),(!E||S[0]&131104)&&a!==(a=T[18]("clear_search",T[17],T[5])+"")&&N(o,a),(!E||S[0]&64)&&W(i,"pagefind-ui__suppressed",!T[6]),T[10]?d?(d.p(T,S),S[0]&1024&&z(d,1)):(d=Ln(T),d.c(),z(d,1),d.m(_,f)):d&&(ie(),I(d,1,1,()=>{d=null}),ae()),T[13]?R?(R.p(T,S),S[0]&8192&&z(R,1)):(R=qn(T),R.c(),z(R,1),R.m(_,null)):R&&(ie(),I(R,1,1,()=>{R=null}),ae()),(!E||S[0]&8192)&&W(_,"pagefind-ui__hidden",!T[13]),(!E||S[0]&131104&&c!==(c=T[18]("search_label",T[17],T[5])))&&p(t,"aria-label",c),(!E||S[0]&1)&&W(e,"pagefind-ui--reset",T[0])},i(T){E||(z(d),z(R),E=!0)},o(T){I(d),I(R),E=!1},d(T){T&&C(e),n[31](null),n[32](null),d&&d.d(),R&&R.d(),u=!1,V(m)}}}var Mi=n=>n.preventDefault();function Ai(n,e,t){let s={},r=In.map(g=>g.match(/([^\/]+)\.json$/)[1]);for(let g=0;gO[g]??H[g]??"";at(()=>{let g=document?.querySelector?.("html")?.getAttribute?.("lang")||"en",H=Qe(g.toLocaleLowerCase());t(17,Yt=s[`${H.language}-${H.script}-${H.region}`]||s[`${H.language}-${H.region}`]||s[`${H.language}`]||s.en)}),ot(()=>{w?.destroy?.(),w=null});let Xt=async()=>{if(!U&&(t(10,U=!0),!w)){let g;try{g=await import(`${l}pagefind.js`)}catch(O){console.error(O),console.error([`Pagefind couldn't be loaded from ${this.options.bundlePath}pagefind.js`,"You can configure this by passing a bundlePath option to PagefindUI",`[DEBUG: Loaded from ${document?.currentScript?.src??"no known script location"}]`].join(` +`))}_||t(22,_=h?12:30);let H={...m||{},excerptLength:_};await g.options(H);for(let O of d){if(!O.bundlePath)throw new Error("mergeIndex requires a bundlePath parameter");let L=O.bundlePath;delete O.bundlePath,await g.mergeIndex(L,O)}w=g,Jn()}},Jn=async()=>{w&&(Jt=await w.filters(),(!ue||!Object.keys(ue).length)&&t(16,ue=Jt))},Yn=g=>{let H={};return Object.entries(g).filter(([,O])=>O).forEach(([O])=>{let[L,ls]=O.split(/:(.*)$/);H[L]=H[L]||[],H[L].push(ls)}),H},ce,Xn=async(g,H)=>{if(!g){t(13,$e=!1),ce&&clearTimeout(ce);return}let O=Yn(H),L=()=>Zn(g,O);u>0&&g?(ce&&clearTimeout(ce),ce=setTimeout(L,u),await Zt(),w.preload(g,{filters:O})):L(),Qn()},Zt=async()=>{for(;!w;)Xt(),await new Promise(g=>setTimeout(g,50))},Zn=async(g,H)=>{t(14,Kt=g||""),typeof c=="function"&&(g=c(g)),t(12,Z=!0),t(13,$e=!0),await Zt();let O=++Gt,L=await w.search(g,{filters:H});Gt===O&&(L.filters&&Object.keys(L.filters)?.length&&t(16,ue=L.filters),t(11,P=L),t(12,Z=!1),t(15,et=i))},Qn=()=>{let g=X.offsetWidth;g!=F&&t(8,B.style.paddingRight=`${g+2}px`,B)},xn=g=>{g?.preventDefault(),t(15,et+=i)},$n=g=>{g.key==="Escape"&&(t(6,S=""),B.blur()),g.key==="Enter"&&g.preventDefault()};function es(){S=this.value,t(6,S),t(21,R)}function ts(g){re[g?"unshift":"push"](()=>{B=g,t(8,B)})}function ns(g){re[g?"unshift":"push"](()=>{X=g,t(9,X)})}let ss=()=>{t(6,S=""),B.blur()};function rs(g){Ge=g,t(7,Ge)}return n.$$set=g=>{"base_path"in g&&t(23,l=g.base_path),"page_size"in g&&t(24,i=g.page_size),"reset_styles"in g&&t(0,a=g.reset_styles),"show_images"in g&&t(1,o=g.show_images),"show_sub_results"in g&&t(2,h=g.show_sub_results),"excerpt_length"in g&&t(22,_=g.excerpt_length),"process_result"in g&&t(3,f=g.process_result),"process_term"in g&&t(25,c=g.process_term),"show_empty_filters"in g&&t(4,E=g.show_empty_filters),"debounce_timeout_ms"in g&&t(26,u=g.debounce_timeout_ms),"pagefind_options"in g&&t(27,m=g.pagefind_options),"merge_index"in g&&t(28,d=g.merge_index),"trigger_search_term"in g&&t(21,R=g.trigger_search_term),"translations"in g&&t(5,T=g.translations)},n.$$.update=()=>{if(n.$$.dirty[0]&2097152)e:R&&(t(6,S=R),t(21,R=""));if(n.$$.dirty[0]&192)e:Xn(S,Ge)},[a,o,h,f,E,T,S,Ge,B,X,U,P,Z,$e,Kt,et,ue,Yt,Kn,Xt,xn,R,_,l,i,c,u,m,d,$n,es,ts,ns,ss,rs]}var Wt=class extends q{constructor(e){super(),J(this,e,Ai,vi,G,{base_path:23,page_size:24,reset_styles:0,show_images:1,show_sub_results:2,excerpt_length:22,process_result:3,process_term:25,show_empty_filters:4,debounce_timeout_ms:26,pagefind_options:27,merge_index:28,trigger_search_term:21,translations:5},null,[-1,-1])}},Gn=Wt;var Vt;try{Vt=new URL(document.currentScript.src).pathname.match(/^(.*\/)(?:pagefind-)?ui.js.*$/)[1]}catch{Vt="/pagefind/"}var xe=class{constructor(e){this._pfs=null;let t=e.element??"[data-pagefind-ui]",s=e.bundlePath??Vt,r=e.pageSize??5,l=e.resetStyles??!0,i=e.showImages??!0,a=e.showSubResults??!1,o=e.excerptLength??0,h=e.processResult??null,_=e.processTerm??null,f=e.showEmptyFilters??!0,c=e.debounceTimeoutMs??300,E=e.mergeIndex??[],u=e.translations??[];delete e.element,delete e.bundlePath,delete e.pageSize,delete e.resetStyles,delete e.showImages,delete e.showSubResults,delete e.excerptLength,delete e.processResult,delete e.processTerm,delete e.showEmptyFilters,delete e.debounceTimeoutMs,delete e.mergeIndex,delete e.translations;let m=t instanceof HTMLElement?t:document.querySelector(t);m?this._pfs=new Gn({target:m,props:{base_path:s,page_size:r,reset_styles:l,show_images:i,show_sub_results:a,excerpt_length:o,process_result:h,process_term:_,show_empty_filters:f,debounce_timeout_ms:c,merge_index:E,translations:u,pagefind_options:e}}):console.error(`Pagefind UI couldn't find the selector ${t}`)}triggerSearch(e){this._pfs.$$set({trigger_search_term:e})}destroy(){this._pfs.$destroy()}};window.PagefindUI=xe;})(); diff --git a/pagefind/pagefind.js b/pagefind/pagefind.js new file mode 100644 index 0000000..94ab923 --- /dev/null +++ b/pagefind/pagefind.js @@ -0,0 +1,9 @@ +const pagefind_version="1.0.4";let wasm_bindgen;(function(){const __exports={};let script_src;if(typeof document==='undefined'){script_src=location.href}else{script_src=new URL("UNHANDLED",location.href).toString()}let wasm;let cachedUint8Memory0=null;function getUint8Memory0(){if(cachedUint8Memory0===null||cachedUint8Memory0.byteLength===0){cachedUint8Memory0=new Uint8Array(wasm.memory.buffer)}return cachedUint8Memory0}let WASM_VECTOR_LEN=0;function passArray8ToWasm0(arg,malloc){const ptr=malloc(arg.length*1);getUint8Memory0().set(arg,ptr/1);WASM_VECTOR_LEN=arg.length;return ptr}__exports.init_pagefind=function(metadata_bytes){const ptr0=passArray8ToWasm0(metadata_bytes,wasm.__wbindgen_malloc);const len0=WASM_VECTOR_LEN;const ret=wasm.init_pagefind(ptr0,len0);return ret};__exports.load_index_chunk=function(ptr,chunk_bytes){const ptr0=passArray8ToWasm0(chunk_bytes,wasm.__wbindgen_malloc);const len0=WASM_VECTOR_LEN;const ret=wasm.load_index_chunk(ptr,ptr0,len0);return ret};__exports.load_filter_chunk=function(ptr,chunk_bytes){const ptr0=passArray8ToWasm0(chunk_bytes,wasm.__wbindgen_malloc);const len0=WASM_VECTOR_LEN;const ret=wasm.load_filter_chunk(ptr,ptr0,len0);return ret};const cachedTextEncoder=new TextEncoder('utf-8');const encodeString=(typeof cachedTextEncoder.encodeInto==='function'?function(arg,view){return cachedTextEncoder.encodeInto(arg,view)}:function(arg,view){const buf=cachedTextEncoder.encode(arg);view.set(buf);return{read:arg.length,written:buf.length}});function passStringToWasm0(arg,malloc,realloc){if(realloc===undefined){const buf=cachedTextEncoder.encode(arg);const ptr=malloc(buf.length);getUint8Memory0().subarray(ptr,ptr+buf.length).set(buf);WASM_VECTOR_LEN=buf.length;return ptr}let len=arg.length;let ptr=malloc(len);const mem=getUint8Memory0();let offset=0;for(;offset0x7F)break;mem[ptr+offset]=code}if(offset!==len){if(offset!==0){arg=arg.slice(offset)}ptr=realloc(ptr,len,len=offset+arg.length*3);const view=getUint8Memory0().subarray(ptr+offset,ptr+len);const ret=encodeString(arg,view);offset+=ret.written}WASM_VECTOR_LEN=offset;return ptr}__exports.add_synthetic_filter=function(ptr,filter){const ptr0=passStringToWasm0(filter,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc);const len0=WASM_VECTOR_LEN;const ret=wasm.add_synthetic_filter(ptr,ptr0,len0);return ret};let cachedInt32Memory0=null;function getInt32Memory0(){if(cachedInt32Memory0===null||cachedInt32Memory0.byteLength===0){cachedInt32Memory0=new Int32Array(wasm.memory.buffer)}return cachedInt32Memory0}const cachedTextDecoder=new TextDecoder('utf-8',{ignoreBOM:true,fatal:true});cachedTextDecoder.decode();function getStringFromWasm0(ptr,len){return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr,ptr+len))}__exports.request_indexes=function(ptr,query){try{const retptr=wasm.__wbindgen_add_to_stack_pointer(-16);const ptr0=passStringToWasm0(query,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc);const len0=WASM_VECTOR_LEN;wasm.request_indexes(retptr,ptr,ptr0,len0);var r0=getInt32Memory0()[retptr/4+0];var r1=getInt32Memory0()[retptr/4+1];return getStringFromWasm0(r0,r1)}finally{wasm.__wbindgen_add_to_stack_pointer(16);wasm.__wbindgen_free(r0,r1)}};__exports.request_filter_indexes=function(ptr,filters){try{const retptr=wasm.__wbindgen_add_to_stack_pointer(-16);const ptr0=passStringToWasm0(filters,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc);const len0=WASM_VECTOR_LEN;wasm.request_filter_indexes(retptr,ptr,ptr0,len0);var r0=getInt32Memory0()[retptr/4+0];var r1=getInt32Memory0()[retptr/4+1];return getStringFromWasm0(r0,r1)}finally{wasm.__wbindgen_add_to_stack_pointer(16);wasm.__wbindgen_free(r0,r1)}};__exports.request_all_filter_indexes=function(ptr){try{const retptr=wasm.__wbindgen_add_to_stack_pointer(-16);wasm.request_all_filter_indexes(retptr,ptr);var r0=getInt32Memory0()[retptr/4+0];var r1=getInt32Memory0()[retptr/4+1];return getStringFromWasm0(r0,r1)}finally{wasm.__wbindgen_add_to_stack_pointer(16);wasm.__wbindgen_free(r0,r1)}};__exports.filters=function(ptr){try{const retptr=wasm.__wbindgen_add_to_stack_pointer(-16);wasm.filters(retptr,ptr);var r0=getInt32Memory0()[retptr/4+0];var r1=getInt32Memory0()[retptr/4+1];return getStringFromWasm0(r0,r1)}finally{wasm.__wbindgen_add_to_stack_pointer(16);wasm.__wbindgen_free(r0,r1)}};__exports.search=function(ptr,query,filter,sort,exact){try{const retptr=wasm.__wbindgen_add_to_stack_pointer(-16);const ptr0=passStringToWasm0(query,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc);const len0=WASM_VECTOR_LEN;const ptr1=passStringToWasm0(filter,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc);const len1=WASM_VECTOR_LEN;const ptr2=passStringToWasm0(sort,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc);const len2=WASM_VECTOR_LEN;wasm.search(retptr,ptr,ptr0,len0,ptr1,len1,ptr2,len2,exact);var r0=getInt32Memory0()[retptr/4+0];var r1=getInt32Memory0()[retptr/4+1];return getStringFromWasm0(r0,r1)}finally{wasm.__wbindgen_add_to_stack_pointer(16);wasm.__wbindgen_free(r0,r1)}};async function load(module,imports){if(typeof Response==='function'&&module instanceof Response){if(typeof WebAssembly.instantiateStreaming==='function'){try{return await WebAssembly.instantiateStreaming(module,imports)}catch(e){if(module.headers.get('Content-Type')!='application/wasm'){console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",e)}else{throw e}}}const bytes=await module.arrayBuffer();return await WebAssembly.instantiate(bytes,imports)}else{const instance=await WebAssembly.instantiate(module,imports);if(instance instanceof WebAssembly.Instance){return{instance,module}}else{return instance}}}function getImports(){const imports={};imports.wbg={};return imports}function initMemory(imports,maybe_memory){}function finalizeInit(instance,module){wasm=instance.exports;init.__wbindgen_wasm_module=module;cachedInt32Memory0=null;cachedUint8Memory0=null;return wasm}function initSync(module){const imports=getImports();initMemory(imports);if(!(module instanceof WebAssembly.Module)){module=new WebAssembly.Module(module)}const instance=new WebAssembly.Instance(module,imports);return finalizeInit(instance,module)}async function init(input){if(typeof input==='undefined'){input=script_src.replace(/\.js$/,'_bg.wasm')}const imports=getImports();if(typeof input==='string'||(typeof Request==='function'&&input instanceof Request)||(typeof URL==='function'&&input instanceof URL)){input=fetch(input)}initMemory(imports);const{instance,module}=await load(await input,imports);return finalizeInit(instance,module)}wasm_bindgen=Object.assign(init,{initSync},__exports)})();var u8=Uint8Array;var u16=Uint16Array;var u32=Uint32Array;var fleb=new u8([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]);var fdeb=new u8([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]);var clim=new u8([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);var freb=function(eb,start){var b=new u16(31);for(var i2=0;i2<31;++i2){b[i2]=start+=1<>>1|(i&21845)<<1;x=(x&52428)>>>2|(x&13107)<<2;x=(x&61680)>>>4|(x&3855)<<4;rev[i]=((x&65280)>>>8|(x&255)<<8)>>>1}var x;var i;var hMap=function(cd,mb,r){var s=cd.length;var i2=0;var l=new u16(mb);for(;i2>>rvb]=sv}}}}else{co=new u16(s);for(i2=0;i2>>15-cd[i2]}}}return co};var flt=new u8(288);for(i=0;i<144;++i)flt[i]=8;var i;for(i=144;i<256;++i)flt[i]=9;var i;for(i=256;i<280;++i)flt[i]=7;var i;for(i=280;i<288;++i)flt[i]=8;var i;var fdt=new u8(32);for(i=0;i<32;++i)fdt[i]=5;var i;var flrm=hMap(flt,9,1);var fdrm=hMap(fdt,5,1);var max=function(a){var m=a[0];for(var i2=1;i2m)m=a[i2]}return m};var bits=function(d,p,m){var o=p/8|0;return(d[o]|d[o+1]<<8)>>(p&7)&m};var bits16=function(d,p){var o=p/8|0;return(d[o]|d[o+1]<<8|d[o+2]<<16)>>(p&7)};var shft=function(p){return(p+7)/8|0};var slc=function(v,s,e){if(s==null||s<0)s=0;if(e==null||e>v.length)e=v.length;var n=new(v.BYTES_PER_ELEMENT==2?u16:v.BYTES_PER_ELEMENT==4?u32:u8)(e-s);n.set(v.subarray(s,e));return n};var ec=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"];var err=function(ind,msg,nt){var e=new Error(msg||ec[ind]);e.code=ind;if(Error.captureStackTrace)Error.captureStackTrace(e,err);if(!nt)throw e;return e};var inflt=function(dat,buf,st){var sl=dat.length;if(!sl||st&&st.f&&!st.l)return buf||new u8(0);var noBuf=!buf||st;var noSt=!st||st.i;if(!st)st={};if(!buf)buf=new u8(sl*3);var cbuf=function(l2){var bl=buf.length;if(l2>bl){var nbuf=new u8(Math.max(bl*2,l2));nbuf.set(buf);buf=nbuf}};var final=st.f||0,pos=st.p||0,bt=st.b||0,lm=st.l,dm=st.d,lbt=st.m,dbt=st.n;var tbts=sl*8;do{if(!lm){final=bits(dat,pos,1);var type=bits(dat,pos+1,3);pos+=3;if(!type){var s=shft(pos)+4,l=dat[s-4]|dat[s-3]<<8,t=s+l;if(t>sl){if(noSt)err(0);break}if(noBuf)cbuf(bt+l);buf.set(dat.subarray(s,t),bt);st.b=bt+=l,st.p=pos=t*8,st.f=final;continue}else if(type==1)lm=flrm,dm=fdrm,lbt=9,dbt=5;else if(type==2){var hLit=bits(dat,pos,31)+257,hcLen=bits(dat,pos+10,15)+4;var tl=hLit+bits(dat,pos+5,31)+1;pos+=14;var ldt=new u8(tl);var clt=new u8(19);for(var i2=0;i2>>4;if(s<16){ldt[i2++]=s}else{var c=0,n=0;if(s==16)n=3+bits(dat,pos,3),pos+=2,c=ldt[i2-1];else if(s==17)n=3+bits(dat,pos,7),pos+=3;else if(s==18)n=11+bits(dat,pos,127),pos+=7;while(n--)ldt[i2++]=c}}var lt=ldt.subarray(0,hLit),dt=ldt.subarray(hLit);lbt=max(lt);dbt=max(dt);lm=hMap(lt,lbt,1);dm=hMap(dt,dbt,1)}else err(1);if(pos>tbts){if(noSt)err(0);break}}if(noBuf)cbuf(bt+131072);var lms=(1<>>4;pos+=c&15;if(pos>tbts){if(noSt)err(0);break}if(!c)err(2);if(sym<256)buf[bt++]=sym;else if(sym==256){lpos=pos,lm=null;break}else{var add=sym-254;if(sym>264){var i2=sym-257,b=fleb[i2];add=bits(dat,pos,(1<>>4;if(!d)err(3);pos+=d&15;var dt=fd[dsym];if(dsym>3){var b=fdeb[dsym];dt+=bits16(dat,pos)&(1<tbts){if(noSt)err(0);break}if(noBuf)cbuf(bt+131072);var end=bt+add;for(;bt>3&1)+(flg>>4&1);zs>0;zs-=!d[st++]);return st+(flg&2)};var gzl=function(d){var l=d.length;return(d[l-4]|d[l-3]<<8|d[l-2]<<16|d[l-1]<<24)>>>0};function gunzipSync(data,out){return inflt(data.subarray(gzs(data),-8),out||new u8(gzl(data)))}var td=typeof TextDecoder!="undefined"&&new TextDecoder();var tds=0;try{td.decode(et,{stream:true});tds=1}catch(e){}var gz_default=gunzipSync;var calculate_excerpt_region=(word_positions,excerpt_length)=>{if(word_positions.length===0){return 0}let words=[];for(const word of word_positions){words[word.location]=words[word.location]||0;words[word.location]+=word.balanced_score}if(words.length<=excerpt_length){return 0}let densest=words.slice(0,excerpt_length).reduce((partialSum,a)=>partialSum+a,0);let working_sum=densest;let densest_at=[0];for(let i2=0;i2densest){densest=working_sum;densest_at=[i2]}else if(working_sum===densest&&densest_at[densest_at.length-1]===i2-1){densest_at.push(i2)}}let midpoint=densest_at[Math.floor(densest_at.length/2)];return midpoint};var build_excerpt=(content,start,length,locations,not_before,not_from)=>{let is_zws_delimited=content.includes("\u200B");let fragment_words=[];if(is_zws_delimited){fragment_words=content.split("\u200B")}else{fragment_words=content.split(/[\r\n\s]+/g)}for(let word of locations){if(fragment_words[word]?.startsWith(``)){continue}fragment_words[word]=`${fragment_words[word]}`}let endcap=not_from??fragment_words.length;let startcap=not_before??0;if(endcap-startcapendcap){start=endcap-length}if(start{const anchors=fragment.anchors.filter((a)=>/h\d/i.test(a.element)&&a.text?.length&&/\S/.test(a.text)).sort((a,b)=>a.location-b.location);const results=[];let current_anchor_position=0;let current_anchor={title:fragment.meta["title"],url:fragment.url,weighted_locations:[],locations:[],excerpt:""};const add_result=(end_range)=>{if(current_anchor.locations.length){const relative_weighted_locations=current_anchor.weighted_locations.map((l)=>{return{weight:l.weight,balanced_score:l.balanced_score,location:l.location-current_anchor_position}});const excerpt_start=calculate_excerpt_region(relative_weighted_locations,desired_excerpt_length)+current_anchor_position;const excerpt_length=end_range?Math.min(end_range-excerpt_start,desired_excerpt_length):desired_excerpt_length;current_anchor.excerpt=build_excerpt(fragment.raw_content??"",excerpt_start,excerpt_length,current_anchor.locations,current_anchor_position,end_range);results.push(current_anchor)}};for(let word of fragment.weighted_locations){if(!anchors.length||word.location=anchors[0].location){next_anchor=anchors.shift()}let anchored_url=fragment.url;try{const url_is_fq=/^((https?:)?\/\/)/.test(anchored_url);if(url_is_fq){let fq_url=new URL(anchored_url);fq_url.hash=next_anchor.id;anchored_url=fq_url.toString()}else{if(!/^\//.test(anchored_url)){anchored_url=`/${anchored_url}`}let fq_url=new URL(`https://example.com${anchored_url}`);fq_url.hash=next_anchor.id;anchored_url=fq_url.toString().replace(/^https:\/\/example.com/,"")}}catch(e){console.error(`Pagefind: Couldn't process ${anchored_url} for a search result`)}current_anchor_position=next_anchor.location;current_anchor={title:next_anchor.text,url:anchored_url,anchor:next_anchor,weighted_locations:[word],locations:[word.location],excerpt:""}}}add_result(anchors[0]?.location);return results};var asyncSleep=async(ms=100)=>{return new Promise((r)=>setTimeout(r,ms))};var PagefindInstance=class{constructor(opts={}){this.version=pagefind_version;this.backend=wasm_bindgen;this.decoder=new TextDecoder("utf-8");this.wasm=null;this.basePath=opts.basePath||"/pagefind/";this.primary=opts.primary||false;if(this.primary&&!opts.basePath){this.initPrimary()}if(/[^\/]$/.test(this.basePath)){this.basePath=`${this.basePath}/`}if(window?.location?.origin&&this.basePath.startsWith(window.location.origin)){this.basePath=this.basePath.replace(window.location.origin,"")}this.baseUrl=opts.baseUrl||this.defaultBaseUrl();if(!/^(\/|https?:\/\/)/.test(this.baseUrl)){this.baseUrl=`/${this.baseUrl}`}this.indexWeight=opts.indexWeight??1;this.excerptLength=opts.excerptLength??30;this.mergeFilter=opts.mergeFilter??{};this.highlightParam=opts.highlightParam??null;this.loaded_chunks={};this.loaded_filters={};this.loaded_fragments={};this.raw_ptr=null;this.searchMeta=null;this.languages=null}initPrimary(){let derivedBasePath=import.meta.url.match(/^(.*\/)pagefind.js.*$/)?.[1];if(derivedBasePath){this.basePath=derivedBasePath}else{console.warn(["Pagefind couldn't determine the base of the bundle from the import path. Falling back to the default.","Set a basePath option when initialising Pagefind to ignore this message."].join("\n"))}}defaultBaseUrl(){let default_base=this.basePath.match(/^(.*\/)_?pagefind/)?.[1];return default_base||"/"}async options(options2){const opts=["basePath","baseUrl","indexWeight","excerptLength","mergeFilter","highlightParam"];for(const[k,v]of Object.entries(options2)){if(k==="mergeFilter"){let filters2=this.stringifyFilters(v);let ptr=await this.getPtr();this.raw_ptr=this.backend.add_synthetic_filter(ptr,filters2)}else if(opts.includes(k)){if(k==="basePath"&&typeof v==="string")this.basePath=v;if(k==="baseUrl"&&typeof v==="string")this.baseUrl=v;if(k==="indexWeight"&&typeof v==="number")this.indexWeight=v;if(k==="excerptLength"&&typeof v==="number")this.excerptLength=v;if(k==="mergeFilter"&&typeof v==="object")this.mergeFilter=v;if(k==="highlightParam"&&typeof v==="string")this.highlightParam=v}else{console.warn(`Unknown Pagefind option ${k}. Allowed options: [${opts.join(", ")}]`)}}}decompress(data,file="unknown file"){if(this.decoder.decode(data.slice(0,12))==="pagefind_dcd"){return data.slice(12)}data=gz_default(data);if(this.decoder.decode(data.slice(0,12))!=="pagefind_dcd"){console.error(`Decompressing ${file} appears to have failed: Missing signature`);return data}return data.slice(12)}async init(language,opts){await this.loadEntry();let index=this.findIndex(language);let lang_wasm=index.wasm?index.wasm:"unknown";let resources=[this.loadMeta(index.hash)];if(opts.load_wasm===true){resources.push(this.loadWasm(lang_wasm))}await Promise.all(resources);this.raw_ptr=this.backend.init_pagefind(new Uint8Array(this.searchMeta));if(Object.keys(this.mergeFilter)?.length){let filters2=this.stringifyFilters(this.mergeFilter);let ptr=await this.getPtr();this.raw_ptr=this.backend.add_synthetic_filter(ptr,filters2)}}async loadEntry(){try{let entry_response=await fetch(`${this.basePath}pagefind-entry.json?ts=${Date.now()}`);let entry_json=await entry_response.json();this.languages=entry_json.languages;if(entry_json.version!==this.version){if(this.primary){console.warn(["Pagefind JS version doesn't match the version in your search index.",`Pagefind JS: ${this.version}. Pagefind index: ${entry_json.version}`,"If you upgraded Pagefind recently, you likely have a cached pagefind.js file.","If you encounter any search errors, try clearing your cache."].join("\n"))}else{console.warn(["Merging a Pagefind index from a different version than the main Pagefind instance.",`Main Pagefind JS: ${this.version}. Merged index (${this.basePath}): ${entry_json.version}`,"If you encounter any search errors, make sure that both sites are running the same version of Pagefind."].join("\n"))}}}catch(e){console.error(`Failed to load Pagefind metadata: +${e?.toString()}`);throw new Error("Failed to load Pagefind metadata")}}findIndex(language){if(this.languages){let index=this.languages[language];if(index)return index;index=this.languages[language.split("-")[0]];if(index)return index;let topLang=Object.values(this.languages).sort((a,b)=>b.page_count-a.page_count);if(topLang[0])return topLang[0]}throw new Error("Pagefind Error: No language indexes found.")}async loadMeta(index){try{let compressed_resp=await fetch(`${this.basePath}pagefind.${index}.pf_meta`);let compressed_meta=await compressed_resp.arrayBuffer();this.searchMeta=this.decompress(new Uint8Array(compressed_meta),"Pagefind metadata")}catch(e){console.error(`Failed to load the meta index: +${e?.toString()}`)}}async loadWasm(language){try{const wasm_url=`${this.basePath}wasm.${language}.pagefind`;let compressed_resp=await fetch(wasm_url);let compressed_wasm=await compressed_resp.arrayBuffer();const final_wasm=this.decompress(new Uint8Array(compressed_wasm),"Pagefind WebAssembly");if(!final_wasm){throw new Error("No WASM after decompression")}this.wasm=await this.backend(final_wasm)}catch(e){console.error(`Failed to load the Pagefind WASM: +${e?.toString()}`);throw new Error(`Failed to load the Pagefind WASM: +${e?.toString()}`)}}async _loadGenericChunk(url,method){try{let compressed_resp=await fetch(url);let compressed_chunk=await compressed_resp.arrayBuffer();let chunk=this.decompress(new Uint8Array(compressed_chunk),url);let ptr=await this.getPtr();this.raw_ptr=this.backend[method](ptr,chunk)}catch(e){console.error(`Failed to load the index chunk ${url}: +${e?.toString()}`)}}async loadChunk(hash){if(!this.loaded_chunks[hash]){const url=`${this.basePath}index/${hash}.pf_index`;this.loaded_chunks[hash]=this._loadGenericChunk(url,"load_index_chunk")}return await this.loaded_chunks[hash]}async loadFilterChunk(hash){if(!this.loaded_filters[hash]){const url=`${this.basePath}filter/${hash}.pf_filter`;this.loaded_filters[hash]=this._loadGenericChunk(url,"load_filter_chunk")}return await this.loaded_filters[hash]}async _loadFragment(hash){let compressed_resp=await fetch(`${this.basePath}fragment/${hash}.pf_fragment`);let compressed_fragment=await compressed_resp.arrayBuffer();let fragment=this.decompress(new Uint8Array(compressed_fragment),`Fragment ${hash}`);return JSON.parse(new TextDecoder().decode(fragment))}async loadFragment(hash,weighted_locations=[],search_term){if(!this.loaded_fragments[hash]){this.loaded_fragments[hash]=this._loadFragment(hash)}let fragment=await this.loaded_fragments[hash];fragment.weighted_locations=weighted_locations;fragment.locations=weighted_locations.map((l)=>l.location);if(!fragment.raw_content){fragment.raw_content=fragment.content.replace(//g,">");fragment.content=fragment.content.replace(/\u200B/g,"")}if(!fragment.raw_url){fragment.raw_url=fragment.url}fragment.url=this.processedUrl(fragment.raw_url,search_term);const excerpt_start=calculate_excerpt_region(weighted_locations,this.excerptLength);fragment.excerpt=build_excerpt(fragment.raw_content,excerpt_start,this.excerptLength,fragment.locations);fragment.sub_results=calculate_sub_results(fragment,this.excerptLength);return fragment}fullUrl(raw){if(/^(https?:)?\/\//.test(raw)){return raw}return`${this.baseUrl}/${raw}`.replace(/\/+/g,"/").replace(/^(https?:\/)/,"$1/")}processedUrl(url,search_term){const normalized=this.fullUrl(url);if(this.highlightParam===null){return normalized}let individual_terms=search_term.split(/\s+/);try{let processed=new URL(normalized);for(const term of individual_terms){processed.searchParams.append(this.highlightParam,term)}return processed.toString()}catch(e){try{let processed=new URL(`https://example.com${normalized}`);for(const term of individual_terms){processed.searchParams.append(this.highlightParam,term)}return processed.toString().replace(/^https:\/\/example\.com/,"")}catch(e2){return normalized}}}async getPtr(){while(this.raw_ptr===null){await asyncSleep(50)}if(!this.raw_ptr){console.error("Pagefind: WASM Error (No pointer)");throw new Error("Pagefind: WASM Error (No pointer)")}return this.raw_ptr}parseFilters(str){let output={};if(!str)return output;for(const block of str.split("__PF_FILTER_DELIM__")){let[filter,values]=block.split(/:(.*)$/);output[filter]={};if(values){for(const valueBlock of values.split("__PF_VALUE_DELIM__")){if(valueBlock){let extract=valueBlock.match(/^(.*):(\d+)$/);if(extract){let[,value,count]=extract;output[filter][value]=parseInt(count)??count}}}}}return output}stringifyFilters(obj={}){return JSON.stringify(obj)}stringifySorts(obj={}){let sorts=Object.entries(obj);for(let[sort,direction]of sorts){if(sorts.length>1){console.warn(`Pagefind was provided multiple sort options in this search, but can only operate on one. Using the ${sort} sort.`)}if(direction!=="asc"&&direction!=="desc"){console.warn(`Pagefind was provided a sort with unknown direction ${direction}. Supported: [asc, desc]`)}return`${sort}:${direction}`}return``}async filters(){let ptr=await this.getPtr();let filters2=this.backend.request_all_filter_indexes(ptr);let filter_chunks=filters2.split(" ").filter((v)=>v).map((chunk)=>this.loadFilterChunk(chunk));await Promise.all([...filter_chunks]);ptr=await this.getPtr();let results=this.backend.filters(ptr);return this.parseFilters(results)}async preload(term,options2={}){await this.search(term,{...options2,preload:true})}async search(term,options2={}){options2={verbose:false,filters:{},sort:{},...options2};const log=(str)=>{if(options2.verbose)console.log(str)};log(`Starting search on ${this.basePath}`);let start=Date.now();let ptr=await this.getPtr();let filter_only=term===null;term=term??"";let exact_search=/^\s*".+"\s*$/.test(term);if(exact_search){log(`Running an exact search`)}term=term.toLowerCase().trim().replace(/[\.`~!@#\$%\^&\*\(\)\{\}\[\]\\\|:;'",<>\/\?\-]/g,"").replace(/\s{2,}/g," ").trim();log(`Normalized search term to ${term}`);if(!term?.length&&!filter_only){return{results:[],unfilteredResultCount:0,filters:{},totalFilters:{},timings:{preload:Date.now()-start,search:Date.now()-start,total:Date.now()-start}}}let sort_list=this.stringifySorts(options2.sort);log(`Stringified sort to ${sort_list}`);const filter_list=this.stringifyFilters(options2.filters);log(`Stringified filters to ${filter_list}`);let index_resp=this.backend.request_indexes(ptr,term);let filter_resp=this.backend.request_filter_indexes(ptr,filter_list);let chunks=index_resp.split(" ").filter((v)=>v).map((chunk)=>this.loadChunk(chunk));let filter_chunks=filter_resp.split(" ").filter((v)=>v).map((chunk)=>this.loadFilterChunk(chunk));await Promise.all([...chunks,...filter_chunks]);log(`Loaded necessary chunks to run search`);if(options2.preload){log(`Preload \u2014 bailing out of search operation now.`);return null}ptr=await this.getPtr();let searchStart=Date.now();let result=this.backend.search(ptr,term,filter_list,sort_list,exact_search);log(`Got the raw search result: ${result}`);let[unfilteredResultCount,all_results,filters2,totalFilters]=result.split(/:([^:]*):(.*)__PF_UNFILTERED_DELIM__(.*)$/);let filterObj=this.parseFilters(filters2);let totalFilterObj=this.parseFilters(totalFilters);log(`Remaining filters: ${JSON.stringify(result)}`);let results=all_results.length?all_results.split(" "):[];let resultsInterface=results.map((result2)=>{let[hash,score,all_locations]=result2.split("@");log(`Processing result: + hash:${hash} + score:${score} + locations:${all_locations}`);let weighted_locations=all_locations.length?all_locations.split(",").map((l)=>{let[weight,balanced_score,location]=l.split(">");return{weight:parseInt(weight)/24,balanced_score:parseFloat(balanced_score),location:parseInt(location)}}):[];let locations=weighted_locations.map((l)=>l.location);return{id:hash,score:parseFloat(score)*this.indexWeight,words:locations,data:async()=>await this.loadFragment(hash,weighted_locations,term)}});const searchTime=Date.now()-searchStart;const realTime=Date.now()-start;log(`Found ${results.length} result${results.length == 1 ? "" : "s"} for "${term}" in ${Date.now() - searchStart}ms (${Date.now() - start}ms realtime)`);return{results:resultsInterface,unfilteredResultCount:parseInt(unfilteredResultCount),filters:filterObj,totalFilters:totalFilterObj,timings:{preload:realTime-searchTime,search:searchTime,total:realTime}}}};var Pagefind=class{constructor(options2={}){this.backend=wasm_bindgen;this.primaryLanguage="unknown";this.searchID=0;this.primary=new PagefindInstance({...options2,primary:true});this.instances=[this.primary];this.init(options2?.language)}async options(options2){await this.primary.options(options2)}async init(overrideLanguage){if(document?.querySelector){const langCode=document.querySelector("html")?.getAttribute("lang")||"unknown";this.primaryLanguage=langCode.toLocaleLowerCase()}await this.primary.init(overrideLanguage?overrideLanguage:this.primaryLanguage,{load_wasm:true})}async mergeIndex(indexPath,options2={}){if(this.primary.basePath.startsWith(indexPath)){console.warn(`Skipping mergeIndex ${indexPath} that appears to be the same as the primary index (${this.primary.basePath})`);return}let newInstance=new PagefindInstance({primary:false,basePath:indexPath});this.instances.push(newInstance);while(this.primary.wasm===null){await asyncSleep(50)}await newInstance.init(options2.language||this.primaryLanguage,{load_wasm:false});delete options2["language"];await newInstance.options(options2)}mergeFilters(filters2){const merged={};for(const searchFilter of filters2){for(const[filterKey,values]of Object.entries(searchFilter)){if(!merged[filterKey]){merged[filterKey]=values;continue}else{const filter=merged[filterKey];for(const[valueKey,count]of Object.entries(values)){filter[valueKey]=(filter[valueKey]||0)+count}}}}return merged}async filters(){let filters2=await Promise.all(this.instances.map((i2)=>i2.filters()));return this.mergeFilters(filters2)}async preload(term,options2={}){await Promise.all(this.instances.map((i2)=>i2.preload(term,options2)))}async debouncedSearch(term,options2,debounceTimeoutMs){const thisSearchID=++this.searchID;this.preload(term,options2);await asyncSleep(debounceTimeoutMs);if(thisSearchID!==this.searchID){return null}const searchResult=await this.search(term,options2);if(thisSearchID!==this.searchID){return null}return searchResult}async search(term,options2={}){let search2=await Promise.all(this.instances.map((i2)=>i2.search(term,options2)));const filters2=this.mergeFilters(search2.map((s)=>s.filters));const totalFilters=this.mergeFilters(search2.map((s)=>s.totalFilters));const results=search2.map((s)=>s.results).flat().sort((a,b)=>b.score-a.score);const timings=search2.map((s)=>s.timings);const unfilteredResultCount=search2.reduce((sum,s)=>sum+s.unfilteredResultCount,0);return{results,unfilteredResultCount,filters:filters2,totalFilters,timings}}};var pagefind=void 0;var initial_options=void 0;var init_pagefind=()=>{if(!pagefind){pagefind=new Pagefind(initial_options??{})}};var options=async(new_options)=>{if(pagefind){await pagefind.options(new_options)}else{initial_options=new_options}};var init=async()=>{init_pagefind()};var destroy=async()=>{pagefind=void 0;initial_options=void 0};var mergeIndex=async(indexPath,options2)=>{init_pagefind();return await pagefind.mergeIndex(indexPath,options2)};var search=async(term,options2)=>{init_pagefind();return await pagefind.search(term,options2)};var debouncedSearch=async(term,options2,debounceTimeoutMs=300)=>{init_pagefind();return await pagefind.debouncedSearch(term,options2,debounceTimeoutMs)};var preload=async(term,options2)=>{init_pagefind();return await pagefind.preload(term,options2)};var filters=async()=>{init_pagefind();return await pagefind.filters()};export{debouncedSearch,destroy,filters,init,mergeIndex,options,preload,search} \ No newline at end of file diff --git a/pagefind/pagefind.zh_47c81739bd.pf_meta b/pagefind/pagefind.zh_47c81739bd.pf_meta new file mode 100644 index 0000000..695566d Binary files /dev/null and b/pagefind/pagefind.zh_47c81739bd.pf_meta differ diff --git a/pagefind/wasm.unknown.pagefind b/pagefind/wasm.unknown.pagefind new file mode 100644 index 0000000..a2f8742 Binary files /dev/null and b/pagefind/wasm.unknown.pagefind differ