diff --git a/_build/.vite/manifest.json b/_build/.vite/manifest.json index 1b212b62..25e0598f 100644 --- a/_build/.vite/manifest.json +++ b/_build/.vite/manifest.json @@ -61,8 +61,8 @@ "_web-CBU83r8B.js" ] }, - "_v2.5_release-CYsyI518.js": { - "file": "assets/v2.5_release-CYsyI518.js", + "_v2.5_release-buln0HCI.js": { + "file": "assets/v2.5_release-buln0HCI.js", "imports": [ "_web-CBU83r8B.js", "_index-C2YDUEaq.js" @@ -723,7 +723,7 @@ ] }, "src/routes/docs/config/walkthrough.mdx?pick=$css": { - "file": "assets/walkthrough-CPWzIkif.js", + "file": "assets/walkthrough-aas9Jjqp.js", "src": "src/routes/docs/config/walkthrough.mdx?pick=$css", "isEntry": true, "isDynamicEntry": true, @@ -841,12 +841,12 @@ ] }, "src/routes/news/index.tsx?pick=default&pick=$css": { - "file": "assets/index-B3aZ7s7G.js", + "file": "assets/index-PCVyNRSg.js", "src": "src/routes/news/index.tsx?pick=default&pick=$css", "isEntry": true, "isDynamicEntry": true, "imports": [ - "_v2.5_release-CYsyI518.js", + "_v2.5_release-buln0HCI.js", "_web-CBU83r8B.js", "_index-C2YDUEaq.js" ] @@ -862,7 +862,7 @@ ] }, "src/routes/news/v2.5_release.mdx?pick=$css": { - "file": "assets/v2.5_release-CVKACgs1.js", + "file": "assets/v2.5_release-hZ-H_lXI.js", "src": "src/routes/news/v2.5_release.mdx?pick=$css", "isEntry": true, "isDynamicEntry": true, @@ -952,7 +952,7 @@ ] }, "virtual:#vinxi/handler/client": { - "file": "assets/client-B7xlGUpi.js", + "file": "assets/client-Cx8WogS8.js", "src": "virtual:#vinxi/handler/client", "isEntry": true, "imports": [ @@ -965,7 +965,7 @@ "_routing-CayKO4ES.js", "_install-qf_m3P46.js", "_footer-DMYsG2VY.js", - "_v2.5_release-CYsyI518.js", + "_v2.5_release-buln0HCI.js", "_components-CVXb4Mrf.js" ], "dynamicImports": [ diff --git a/_build/.vite/manifest.json.br b/_build/.vite/manifest.json.br index 9e5f0475..538e7a37 100644 Binary files a/_build/.vite/manifest.json.br and b/_build/.vite/manifest.json.br differ diff --git a/_build/.vite/manifest.json.gz b/_build/.vite/manifest.json.gz index d2499213..b8ea3624 100644 Binary files a/_build/.vite/manifest.json.gz and b/_build/.vite/manifest.json.gz differ diff --git a/_build/assets/client-B7xlGUpi.js.br b/_build/assets/client-B7xlGUpi.js.br deleted file mode 100644 index da482fd4..00000000 Binary files a/_build/assets/client-B7xlGUpi.js.br and /dev/null differ diff --git a/_build/assets/client-B7xlGUpi.js.gz b/_build/assets/client-B7xlGUpi.js.gz deleted file mode 100644 index 95012b8d..00000000 Binary files a/_build/assets/client-B7xlGUpi.js.gz and /dev/null differ diff --git a/_build/assets/client-B7xlGUpi.js b/_build/assets/client-Cx8WogS8.js similarity index 99% rename from _build/assets/client-B7xlGUpi.js rename to _build/assets/client-Cx8WogS8.js index c432030a..a3173378 100644 --- a/_build/assets/client-B7xlGUpi.js +++ b/_build/assets/client-Cx8WogS8.js @@ -1,10 +1,10 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/_...404_-BvukfzB5.js","assets/web-CBU83r8B.js","assets/docs-BUua0VMJ.js","assets/nextprevPage-C225yNzP.js","assets/components-CVXb4Mrf.js","assets/routing-CayKO4ES.js","assets/ContextTitles-OsYyIG2h.js","assets/ContextTitles-BA5Wlt3K.css","assets/clipboard-DzJ4oxno.js","assets/index-DgZBA0zB.js","assets/footer-DMYsG2VY.js","assets/install-qf_m3P46.js","assets/news-D268RYGR.js","assets/themes-BDZcYdPS.js","assets/preload-helper-xxf5fCYN.js","assets/api-DAJi2rPr.js","assets/index-C2YDUEaq.js","assets/contribute-Dn6fnOPu.js","assets/credits-jG-LWy6Z.js","assets/faq-DJ0_yBDI.js","assets/features-ujHc4lkQ.js","assets/index-DxBOF8_p.js","assets/index-B3aZ7s7G.js","assets/v2.5_release-CYsyI518.js","assets/v2.0_release-BOaz1l1S.js","assets/v2.5_release-CVKACgs1.js","assets/lsp-BODZIxSQ.js","assets/mappings-BGgVhAIG.js","assets/nvchad_ui-BT17I6p0.js","assets/plugins-CjCnb50P.js","assets/snippets-DoY67S5r.js","assets/syntax-D5NIet03.js","assets/theming-CVhQ7sKx.js","assets/walkthrough-CPWzIkif.js","assets/install-zRzcW3Od.js","assets/learn-lua-YJ29Jf0R.js","assets/post-install-Cs-_i2Bq.js"] + __vite__mapDeps.viteFileDeps = ["assets/_...404_-BvukfzB5.js","assets/web-CBU83r8B.js","assets/docs-BUua0VMJ.js","assets/nextprevPage-C225yNzP.js","assets/components-CVXb4Mrf.js","assets/routing-CayKO4ES.js","assets/ContextTitles-OsYyIG2h.js","assets/ContextTitles-BA5Wlt3K.css","assets/clipboard-DzJ4oxno.js","assets/index-DgZBA0zB.js","assets/footer-DMYsG2VY.js","assets/install-qf_m3P46.js","assets/news-D268RYGR.js","assets/themes-BDZcYdPS.js","assets/preload-helper-xxf5fCYN.js","assets/api-DAJi2rPr.js","assets/index-C2YDUEaq.js","assets/contribute-Dn6fnOPu.js","assets/credits-jG-LWy6Z.js","assets/faq-DJ0_yBDI.js","assets/features-ujHc4lkQ.js","assets/index-DxBOF8_p.js","assets/index-PCVyNRSg.js","assets/v2.5_release-buln0HCI.js","assets/v2.0_release-BOaz1l1S.js","assets/v2.5_release-hZ-H_lXI.js","assets/lsp-BODZIxSQ.js","assets/mappings-BGgVhAIG.js","assets/nvchad_ui-BT17I6p0.js","assets/plugins-CjCnb50P.js","assets/snippets-DoY67S5r.js","assets/syntax-D5NIet03.js","assets/theming-CVhQ7sKx.js","assets/walkthrough-aas9Jjqp.js","assets/install-zRzcW3Od.js","assets/learn-lua-YJ29Jf0R.js","assets/post-install-Cs-_i2Bq.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_}from"./preload-helper-xxf5fCYN.js";import{c as Cl,a as X,b as t,g as Tl,u as Al,S as St,o as Dl,d as $l,e as ve,f as pn,h as kt,i as Et,j as Pt,k as S,l as H,m as D,n as te,p as ue,t as E,q as M,s as ge,r as ee,v as Ue,w as Ll,x as Rl,y as Ml,z as ql,A as Vl,B as Fl,E as Ul,C as Hl}from"./web-CBU83r8B.js";import{S as zl,N as Bl,m as ct,s as Wl}from"./nextprevPage-C225yNzP.js";import{g as He,a as Si,b as ki,c as Ei,C as Pi}from"./ContextTitles-OsYyIG2h.js";import{c as Ii}from"./clipboard-DzJ4oxno.js";import{M as C}from"./index-C2YDUEaq.js";import{c as Kl,a as Xl,R as Jl,g as Yl,b as Gl,d as Zl,e as Ql,m as ea,k as na,s as ta,f as ra,n as ia,u as la,h as aa}from"./routing-CayKO4ES.js";import{O as oa}from"./install-qf_m3P46.js";import{H as sa,F as ca,a as ua}from"./footer-DMYsG2VY.js";import{_ as xi,a as Ci}from"./v2.5_release-CYsyI518.js";import"./components-CVXb4Mrf.js";const Gn="Invariant Violation",{setPrototypeOf:ha=function(n,e){return n.__proto__=e,n}}=Object;class It extends Error{framesToPop=1;name=Gn;constructor(e=Gn){super(typeof e=="number"?`${Gn}: ${e} (see https://github.com/apollographql/invariant-packages)`:e),ha(this,It.prototype)}}function Zn(n,e){if(!n)throw new It(e)}const da=/^[A-Za-z]:\//;function ma(n=""){return n&&n.replace(/\\/g,"/").replace(da,e=>e.toUpperCase())}const pa=/^[/\\]{2}/,fa=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,ga=/^[A-Za-z]:$/,va=function(n){if(n.length===0)return".";n=ma(n);const e=n.match(pa),r=ut(n),i=n[n.length-1]==="/";return n=_a(n,!r),n.length===0?r?"/":i?"./":".":(i&&(n+="/"),ga.test(n)&&(n+="/"),e?r?`//${n}`:`//./${n}`:r&&!ut(n)?`/${n}`:n)},Ti=function(...n){if(n.length===0)return".";let e;for(const r of n)r&&r.length>0&&(e===void 0?e=r:e+=`/${r}`);return e===void 0?".":va(e.replace(/\/\/+/g,"/"))};function _a(n,e){let r="",i=0,l=-1,a=0,o=null;for(let s=0;s<=n.length;++s){if(s2){const c=r.lastIndexOf("/");c===-1?(r="",i=0):(r=r.slice(0,c),i=r.length-1-r.lastIndexOf("/")),l=s,a=0;continue}else if(r.length>0){r="",i=0,l=s,a=0;continue}}e&&(r+=r.length>0?"/..":"..",i=2)}else r.length>0?r+=`/${n.slice(l+1,s)}`:r=n.slice(l+1,s),i=s-l-1;l=s,a=0}else o==="."&&a!==-1?++a:a=-1}return r}const ut=function(n){return fa.test(n)};function ba(n){return`virtual:${n}`}function ya(n){return n.handler?.endsWith(".html")?ut(n.handler)?n.handler:Ti(n.root,n.handler):`#vinxi/handler/${n.name}`}const wa=new Proxy({},{get(n,e){return Zn(typeof e=="string","Bundler name should be a string"),{name:e,type:"client",handler:ba(ya({name:e})),baseURL:"/_build",chunks:new Proxy({},{get(r,i){Zn(typeof i=="string","Chunk expected");let l=Ti("/_build",i+".mjs");return{import(){return _(()=>import(l),__vite__mapDeps([]))},output:{path:l}}}}),inputs:new Proxy({},{get(r,i){Zn(typeof i=="string","Input must be string");let l=window.manifest[i].output;return{async import(){return _(()=>import(l),__vite__mapDeps([]))},async assets(){return window.manifest[i].assets},output:{path:l}}}})}}});globalThis.MANIFEST=wa;const ja=n=>e=>{const{base:r}=e,i=Cl(()=>e.children),l=X(()=>Kl(i(),e.base||""));let a;const o=Xl(n,()=>a,l,{base:r,singleFlight:e.singleFlight}),s=o.location;return n.create&&n.create(o),t(Jl.Provider,{value:o,get children(){return t(Na,{location:s,get root(){return e.root},get load(){return e.rootLoad},get children(){return[X(()=>(a=Tl())&&null),t(Oa,{routerState:o,get branches(){return l()}})]}})}})};function Na(n){const e=n.location,r=X(()=>n.load&&Al(()=>n.load({params:{},location:e,intent:"preload"})));return t(St,{get when(){return n.root},keyed:!0,get fallback(){return n.children},children:i=>t(i,{params:{},location:e,get data(){return r()},get children(){return n.children}})})}function Oa(n){const e=X(()=>Yl(n.branches,n.routerState.location.pathname)),r=Gl(()=>{const o=e(),s={};for(let c=0;c{let h=s&&o.length===s.length;const u=[];for(let m=0,p=o.length;m{i[m]=v,u[m]=Ql(n.routerState,u[m-1]||n.routerState.base,zt(()=>a()[m+1]),()=>e()[m],r)}))}return i.splice(o.length).forEach(m=>m()),c&&h?c:(l=u[0],u)}));return zt(()=>a()&&l)()}const zt=n=>()=>t(St,{get when(){return n()},keyed:!0,children:e=>t(Zl.Provider,{value:e,get children(){return e.outlet()}})});function Sa([n,e],r,i){return[r?()=>r(n()):n,i?l=>e(i(l)):e]}function ka(n){if(n==="#")return null;try{return document.querySelector(n)}catch{return null}}function Ea(n){let e=!1;const r=l=>typeof l=="string"?{value:l}:l,i=Sa(ve(r(n.get()),{equals:(l,a)=>l.value===a.value}),void 0,l=>(!e&&n.set(l),l));return n.init&&pn(n.init((l=n.get())=>{e=!0,i[1](r(l)),e=!1})),ja({signal:i,create:n.create,utils:n.utils})}function Pa(n,e,r){return n.addEventListener(e,r),()=>n.removeEventListener(e,r)}function Ia(n,e){const r=ka(`#${n}`);r?r.scrollIntoView():e&&window.scrollTo(0,0)}const xa=new Map;function Ca(n=!0,e=!1,r="/_server"){return i=>{const l=i.base.path(),a=i.navigatorFactory(i.base);let o={};function s(g){return g.namespaceURI==="http://www.w3.org/2000/svg"}function c(g){if(g.defaultPrevented||g.button!==0||g.metaKey||g.altKey||g.ctrlKey||g.shiftKey)return;const v=g.composedPath().find(w=>w instanceof Node&&w.nodeName.toUpperCase()==="A");if(!v||e&&!v.hasAttribute("link"))return;const b=s(v),y=b?v.href.baseVal:v.href;if((b?v.target.baseVal:v.target)||!y&&!v.hasAttribute("state"))return;const j=(v.getAttribute("rel")||"").split(/\s+/);if(v.hasAttribute("download")||j&&j.includes("external"))return;const N=b?new URL(y,document.baseURI):new URL(y);if(!(N.origin!==window.location.origin||l&&N.pathname&&!N.pathname.toLowerCase().startsWith(l.toLowerCase())))return[v,N]}function h(g){const v=c(g);if(!v)return;const[b,y]=v,O=i.parsePath(y.pathname+y.search+y.hash),j=b.getAttribute("state");g.preventDefault(),a(O,{resolve:!1,replace:b.hasAttribute("replace"),scroll:!b.hasAttribute("noscroll"),state:j&&JSON.parse(j)})}function u(g){const v=c(g);if(!v)return;const[b,y]=v;o[y.pathname]||i.preloadRoute(y,b.getAttribute("preload")!=="false")}function m(g){const v=c(g);if(!v)return;const[b,y]=v;o[y.pathname]||(o[y.pathname]=setTimeout(()=>{i.preloadRoute(y,b.getAttribute("preload")!=="false"),delete o[y.pathname]},200))}function p(g){const v=c(g);if(!v)return;const[,b]=v;o[b.pathname]&&(clearTimeout(o[b.pathname]),delete o[b.pathname])}function f(g){let v=g.submitter&&g.submitter.hasAttribute("formaction")?g.submitter.getAttribute("formaction"):g.target.getAttribute("action");if(!v)return;if(!v.startsWith("https://action/")){const y=new URL(v,ea);if(v=i.parsePath(y.pathname+y.search),!v.startsWith(r))return}if(g.target.method.toUpperCase()!=="POST")throw new Error("Only POST forms are supported for Actions");const b=xa.get(v);if(b){g.preventDefault();const y=new FormData(g.target);g.submitter&&g.submitter.name&&y.append(g.submitter.name,g.submitter.value),b.call({r:i,f:g.target},y)}}kt(["click","submit"]),document.addEventListener("click",h),n&&(document.addEventListener("mouseover",m),document.addEventListener("mouseout",p),document.addEventListener("focusin",u),document.addEventListener("touchstart",u)),document.addEventListener("submit",f),pn(()=>{document.removeEventListener("click",h),n&&(document.removeEventListener("mouseover",m),document.removeEventListener("mouseout",p),document.removeEventListener("focusin",u),document.removeEventListener("touchstart",u)),document.removeEventListener("submit",f)})}}function Ta(n){const e=()=>({value:window.location.pathname+window.location.search+window.location.hash,state:window.history.state}),r=ra();return Ea({get:e,set({value:i,replace:l,scroll:a,state:o}){l?window.history.replaceState(na(o),"",i):window.history.pushState(o,"",i),Ia(window.location.hash.slice(1),a),ta()},init:i=>Pa(window,"popstate",ia(i,l=>{if(l&&l<0)return!r.confirm(l);{const a=e();return!r.confirm(a.value,{state:a.state})}})),create:Ca(n.preload,n.explicitLinks,n.actionBase),utils:{go:i=>window.history.go(i),beforeLeave:r}})(n)}var Aa=E('
');function Da(n){return Et(()=>{window.addEventListener("scroll",()=>He("DocContent")),pn(()=>window.removeEventListener("scroll",()=>He("DocContent")))}),Pt(()=>{n.location.pathname,Ii("DocContent"),Si(),He("DocContent"),ki()}),(()=>{var e=S(Aa),r=e.firstChild,[i,l]=H(r.nextSibling),a=i.nextSibling,o=a.firstChild,s=o.firstChild,c=s.firstChild,h=c.nextSibling,[u,m]=H(h.nextSibling),p=s.nextSibling,[f,g]=H(p.nextSibling);return D(e,t(zl,{}),i,l),D(c,()=>n.children),D(s,t(Bl,{}),u,m),D(o,(()=>{var v=X(()=>Ei.length>1);return()=>v()&&t(Pi,{})})(),f,g),te(()=>ue(a,`xl:blur-none ${ct()?"blur-sm":""}`)),e})()}const $a=Object.freeze(Object.defineProperty({__proto__:null,default:Da},Symbol.toStringTag,{value:"Module"}));var La=E("Alt+1");const Ra={title:"NvChad Api",desc:"NvChad api functions doc"};function Bt(n){const e={a:"a",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",span:"span",ul:"ul",...C(),...n.components};return[t(e.h1,{children:"NvChad API"}),` +import{_}from"./preload-helper-xxf5fCYN.js";import{c as Cl,a as X,b as t,g as Tl,u as Al,S as St,o as Dl,d as $l,e as ve,f as pn,h as kt,i as Et,j as Pt,k as S,l as H,m as D,n as te,p as ue,t as E,q as M,s as ge,r as ee,v as Ue,w as Ll,x as Rl,y as Ml,z as ql,A as Vl,B as Fl,E as Ul,C as Hl}from"./web-CBU83r8B.js";import{S as zl,N as Bl,m as ct,s as Wl}from"./nextprevPage-C225yNzP.js";import{g as He,a as Si,b as ki,c as Ei,C as Pi}from"./ContextTitles-OsYyIG2h.js";import{c as Ii}from"./clipboard-DzJ4oxno.js";import{M as C}from"./index-C2YDUEaq.js";import{c as Kl,a as Xl,R as Jl,g as Yl,b as Gl,d as Zl,e as Ql,m as ea,k as na,s as ta,f as ra,n as ia,u as la,h as aa}from"./routing-CayKO4ES.js";import{O as oa}from"./install-qf_m3P46.js";import{H as sa,F as ca,a as ua}from"./footer-DMYsG2VY.js";import{_ as xi,a as Ci}from"./v2.5_release-buln0HCI.js";import"./components-CVXb4Mrf.js";const Gn="Invariant Violation",{setPrototypeOf:ha=function(n,e){return n.__proto__=e,n}}=Object;class It extends Error{framesToPop=1;name=Gn;constructor(e=Gn){super(typeof e=="number"?`${Gn}: ${e} (see https://github.com/apollographql/invariant-packages)`:e),ha(this,It.prototype)}}function Zn(n,e){if(!n)throw new It(e)}const da=/^[A-Za-z]:\//;function ma(n=""){return n&&n.replace(/\\/g,"/").replace(da,e=>e.toUpperCase())}const pa=/^[/\\]{2}/,fa=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,ga=/^[A-Za-z]:$/,va=function(n){if(n.length===0)return".";n=ma(n);const e=n.match(pa),r=ut(n),i=n[n.length-1]==="/";return n=_a(n,!r),n.length===0?r?"/":i?"./":".":(i&&(n+="/"),ga.test(n)&&(n+="/"),e?r?`//${n}`:`//./${n}`:r&&!ut(n)?`/${n}`:n)},Ti=function(...n){if(n.length===0)return".";let e;for(const r of n)r&&r.length>0&&(e===void 0?e=r:e+=`/${r}`);return e===void 0?".":va(e.replace(/\/\/+/g,"/"))};function _a(n,e){let r="",i=0,l=-1,a=0,o=null;for(let s=0;s<=n.length;++s){if(s2){const c=r.lastIndexOf("/");c===-1?(r="",i=0):(r=r.slice(0,c),i=r.length-1-r.lastIndexOf("/")),l=s,a=0;continue}else if(r.length>0){r="",i=0,l=s,a=0;continue}}e&&(r+=r.length>0?"/..":"..",i=2)}else r.length>0?r+=`/${n.slice(l+1,s)}`:r=n.slice(l+1,s),i=s-l-1;l=s,a=0}else o==="."&&a!==-1?++a:a=-1}return r}const ut=function(n){return fa.test(n)};function ba(n){return`virtual:${n}`}function ya(n){return n.handler?.endsWith(".html")?ut(n.handler)?n.handler:Ti(n.root,n.handler):`#vinxi/handler/${n.name}`}const wa=new Proxy({},{get(n,e){return Zn(typeof e=="string","Bundler name should be a string"),{name:e,type:"client",handler:ba(ya({name:e})),baseURL:"/_build",chunks:new Proxy({},{get(r,i){Zn(typeof i=="string","Chunk expected");let l=Ti("/_build",i+".mjs");return{import(){return _(()=>import(l),__vite__mapDeps([]))},output:{path:l}}}}),inputs:new Proxy({},{get(r,i){Zn(typeof i=="string","Input must be string");let l=window.manifest[i].output;return{async import(){return _(()=>import(l),__vite__mapDeps([]))},async assets(){return window.manifest[i].assets},output:{path:l}}}})}}});globalThis.MANIFEST=wa;const ja=n=>e=>{const{base:r}=e,i=Cl(()=>e.children),l=X(()=>Kl(i(),e.base||""));let a;const o=Xl(n,()=>a,l,{base:r,singleFlight:e.singleFlight}),s=o.location;return n.create&&n.create(o),t(Jl.Provider,{value:o,get children(){return t(Na,{location:s,get root(){return e.root},get load(){return e.rootLoad},get children(){return[X(()=>(a=Tl())&&null),t(Oa,{routerState:o,get branches(){return l()}})]}})}})};function Na(n){const e=n.location,r=X(()=>n.load&&Al(()=>n.load({params:{},location:e,intent:"preload"})));return t(St,{get when(){return n.root},keyed:!0,get fallback(){return n.children},children:i=>t(i,{params:{},location:e,get data(){return r()},get children(){return n.children}})})}function Oa(n){const e=X(()=>Yl(n.branches,n.routerState.location.pathname)),r=Gl(()=>{const o=e(),s={};for(let c=0;c{let h=s&&o.length===s.length;const u=[];for(let m=0,p=o.length;m{i[m]=v,u[m]=Ql(n.routerState,u[m-1]||n.routerState.base,zt(()=>a()[m+1]),()=>e()[m],r)}))}return i.splice(o.length).forEach(m=>m()),c&&h?c:(l=u[0],u)}));return zt(()=>a()&&l)()}const zt=n=>()=>t(St,{get when(){return n()},keyed:!0,children:e=>t(Zl.Provider,{value:e,get children(){return e.outlet()}})});function Sa([n,e],r,i){return[r?()=>r(n()):n,i?l=>e(i(l)):e]}function ka(n){if(n==="#")return null;try{return document.querySelector(n)}catch{return null}}function Ea(n){let e=!1;const r=l=>typeof l=="string"?{value:l}:l,i=Sa(ve(r(n.get()),{equals:(l,a)=>l.value===a.value}),void 0,l=>(!e&&n.set(l),l));return n.init&&pn(n.init((l=n.get())=>{e=!0,i[1](r(l)),e=!1})),ja({signal:i,create:n.create,utils:n.utils})}function Pa(n,e,r){return n.addEventListener(e,r),()=>n.removeEventListener(e,r)}function Ia(n,e){const r=ka(`#${n}`);r?r.scrollIntoView():e&&window.scrollTo(0,0)}const xa=new Map;function Ca(n=!0,e=!1,r="/_server"){return i=>{const l=i.base.path(),a=i.navigatorFactory(i.base);let o={};function s(g){return g.namespaceURI==="http://www.w3.org/2000/svg"}function c(g){if(g.defaultPrevented||g.button!==0||g.metaKey||g.altKey||g.ctrlKey||g.shiftKey)return;const v=g.composedPath().find(w=>w instanceof Node&&w.nodeName.toUpperCase()==="A");if(!v||e&&!v.hasAttribute("link"))return;const b=s(v),y=b?v.href.baseVal:v.href;if((b?v.target.baseVal:v.target)||!y&&!v.hasAttribute("state"))return;const j=(v.getAttribute("rel")||"").split(/\s+/);if(v.hasAttribute("download")||j&&j.includes("external"))return;const N=b?new URL(y,document.baseURI):new URL(y);if(!(N.origin!==window.location.origin||l&&N.pathname&&!N.pathname.toLowerCase().startsWith(l.toLowerCase())))return[v,N]}function h(g){const v=c(g);if(!v)return;const[b,y]=v,O=i.parsePath(y.pathname+y.search+y.hash),j=b.getAttribute("state");g.preventDefault(),a(O,{resolve:!1,replace:b.hasAttribute("replace"),scroll:!b.hasAttribute("noscroll"),state:j&&JSON.parse(j)})}function u(g){const v=c(g);if(!v)return;const[b,y]=v;o[y.pathname]||i.preloadRoute(y,b.getAttribute("preload")!=="false")}function m(g){const v=c(g);if(!v)return;const[b,y]=v;o[y.pathname]||(o[y.pathname]=setTimeout(()=>{i.preloadRoute(y,b.getAttribute("preload")!=="false"),delete o[y.pathname]},200))}function p(g){const v=c(g);if(!v)return;const[,b]=v;o[b.pathname]&&(clearTimeout(o[b.pathname]),delete o[b.pathname])}function f(g){let v=g.submitter&&g.submitter.hasAttribute("formaction")?g.submitter.getAttribute("formaction"):g.target.getAttribute("action");if(!v)return;if(!v.startsWith("https://action/")){const y=new URL(v,ea);if(v=i.parsePath(y.pathname+y.search),!v.startsWith(r))return}if(g.target.method.toUpperCase()!=="POST")throw new Error("Only POST forms are supported for Actions");const b=xa.get(v);if(b){g.preventDefault();const y=new FormData(g.target);g.submitter&&g.submitter.name&&y.append(g.submitter.name,g.submitter.value),b.call({r:i,f:g.target},y)}}kt(["click","submit"]),document.addEventListener("click",h),n&&(document.addEventListener("mouseover",m),document.addEventListener("mouseout",p),document.addEventListener("focusin",u),document.addEventListener("touchstart",u)),document.addEventListener("submit",f),pn(()=>{document.removeEventListener("click",h),n&&(document.removeEventListener("mouseover",m),document.removeEventListener("mouseout",p),document.removeEventListener("focusin",u),document.removeEventListener("touchstart",u)),document.removeEventListener("submit",f)})}}function Ta(n){const e=()=>({value:window.location.pathname+window.location.search+window.location.hash,state:window.history.state}),r=ra();return Ea({get:e,set({value:i,replace:l,scroll:a,state:o}){l?window.history.replaceState(na(o),"",i):window.history.pushState(o,"",i),Ia(window.location.hash.slice(1),a),ta()},init:i=>Pa(window,"popstate",ia(i,l=>{if(l&&l<0)return!r.confirm(l);{const a=e();return!r.confirm(a.value,{state:a.state})}})),create:Ca(n.preload,n.explicitLinks,n.actionBase),utils:{go:i=>window.history.go(i),beforeLeave:r}})(n)}var Aa=E('
');function Da(n){return Et(()=>{window.addEventListener("scroll",()=>He("DocContent")),pn(()=>window.removeEventListener("scroll",()=>He("DocContent")))}),Pt(()=>{n.location.pathname,Ii("DocContent"),Si(),He("DocContent"),ki()}),(()=>{var e=S(Aa),r=e.firstChild,[i,l]=H(r.nextSibling),a=i.nextSibling,o=a.firstChild,s=o.firstChild,c=s.firstChild,h=c.nextSibling,[u,m]=H(h.nextSibling),p=s.nextSibling,[f,g]=H(p.nextSibling);return D(e,t(zl,{}),i,l),D(c,()=>n.children),D(s,t(Bl,{}),u,m),D(o,(()=>{var v=X(()=>Ei.length>1);return()=>v()&&t(Pi,{})})(),f,g),te(()=>ue(a,`xl:blur-none ${ct()?"blur-sm":""}`)),e})()}const $a=Object.freeze(Object.defineProperty({__proto__:null,default:Da},Symbol.toStringTag,{value:"Module"}));var La=E("Alt+1");const Ra={title:"NvChad Api",desc:"NvChad api functions doc"};function Bt(n){const e={a:"a",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",span:"span",ul:"ul",...C(),...n.components};return[t(e.h1,{children:"NvChad API"}),` `,t(e.p,{children:"These are list of some functions & tips/tricks which are provided by nvchad plugins that aren't included in the config. You can make commands & mappings out of them."}),` `,t(e.h2,{children:"GotoTab"}),` `,t(e.ul,{get children(){return[` @@ -550,8 +550,11 @@ M.`,t(e.span,{className:"hljs-built_in",children:"type"})," = ",t(e.span,{classN `]}})}}),` `,t(e.h2,{children:"Main Config Structure"}),` `,t(e.ul,{get children(){return[` -`,t(e.li,{children:"Here's the config sturcture of the main nvchad repo :"}),` +`,t(e.li,{get children(){return[t(e.a,{href:"https://github.com/NvChad/NvChad",children:"NvChad/NvChad"})," repo, this contains plugins, options, mappings, autocmds."]}}),` +`,t(e.li,{get children(){return[t(e.a,{href:"https://github.com/NvChad/starter",children:"NvChad/starter"})," - This is a minimal config which shows how to use the nvchad repo as a plugin."]}}),` +`,t(e.li,{children:"Users will be using the starter config or can create their own"}),` `]}}),` +`,t(e.p,{children:"config sturcture of the main nvchad repo :"}),` `,t(e.pre,{get children(){return t(e.code,{className:"hljs language-lua",children:`lua │ ├── nvchad @@ -571,10 +574,8 @@ M.`,t(e.span,{className:"hljs-built_in",children:"type"})," = ",t(e.span,{classN `})}}),` `,S(go),` `,t(e.ul,{get children(){return[` -`,t(e.li,{get children(){return["example module import, ",t(e.code,{children:'require "nvchad.options'})]}}),` +`,t(e.li,{get children(){return["example module import, ",t(e.code,{children:'require "nvchad.options"'})]}}),` `,t(e.li,{children:"nvconfig.lua is the list of all options for both ui/base46 repo!"}),` -`,t(e.li,{children:"The starter config uses the main repo (nvchad/nvchad) as a plugin and imports its plugins, options, mappings etc."}),` -`,t(e.li,{children:"So basically you're using nvchad's main repo as a plugin into your config."}),` `]}}),` `,t(e.h2,{children:"Chadrc.lua"}),` `,t(e.ul,{get children(){return[` @@ -1062,7 +1063,7 @@ print_num(`,t(e.span,{className:"hljs-number",children:"5"}),") ",t(e.span,{clas `,t(e.h2,{children:"Read NvChad docs"}),` `,t(e.ul,{get children(){return[` `,t(e.li,{children:"Read the docs in sequence ( follow the arrows below )."}),` -`]}})]}function es(n={}){const{wrapper:e}={...C(),...n.components};return e?t(e,M(n,{get children(){return t(or,n)}})):or(n)}const ns=Object.freeze(Object.defineProperty({__proto__:null,default:es,meta:Qo},Symbol.toStringTag,{value:"Module"})),ts={title:"NvChad",desc:"Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your Neovim experience."};function rs(){return[t(sa,{}),t(ca,{}),t(ua,{})]}const is=Object.freeze(Object.defineProperty({__proto__:null,default:rs,meta:ts},Symbol.toStringTag,{value:"Module"}));var ls=E("
"),as=E('
');const os=n=>{Et(()=>{const i=document.getElementById("DocContent")?.querySelectorAll("img");i&&i.forEach((a,o)=>{o!=0&&a.setAttribute("loading","lazy")});const l=()=>He("DocContent");window.addEventListener("scroll",l),pn(()=>window.removeEventListener("scroll",l))}),Pt(()=>{n.location.pathname,Ii("DocContent"),Si(),He("DocContent"),ki()});const e=aa();return(()=>{var r=S(as);return D(r,t(St,{get when(){return!["/news","/news/"].includes(e.pathname)},get fallback(){return n.children},get children(){return[(()=>{var i=S(ls);return D(i,()=>n.children),i})(),X(()=>X(()=>Ei.length>1)()&&t(Pi,{}))]}})),r})()},ss=Object.freeze(Object.defineProperty({__proto__:null,default:os},Symbol.toStringTag,{value:"Module"}));var cs=E('
'),us=E('

'),js=E('
'),Ns=E('
');const Os={title:"NvChad themes",desc:"List of all nvchad themes"},Ss=Object.assign({"../../public/themes/aquarium.webp":()=>_(()=>import("./aquarium-DK3x77eG.js"),__vite__mapDeps([])),"../../public/themes/ashes.webp":()=>_(()=>import("./ashes-Bj-FPGiv.js"),__vite__mapDeps([])),"../../public/themes/ayu_dark.webp":()=>_(()=>import("./ayu_dark-BBCeZNwF.js"),__vite__mapDeps([])),"../../public/themes/ayu_light.webp":()=>_(()=>import("./ayu_light-DxykghBM.js"),__vite__mapDeps([])),"../../public/themes/bearded-arc.webp":()=>_(()=>import("./bearded-arc-CMMpME1P.js"),__vite__mapDeps([])),"../../public/themes/blossom_light.webp":()=>_(()=>import("./blossom_light-Le7IkTLN.js"),__vite__mapDeps([])),"../../public/themes/catppuccin.webp":()=>_(()=>import("./catppuccin-xE-yqvLu.js"),__vite__mapDeps([])),"../../public/themes/chadracula-evondev.webp":()=>_(()=>import("./chadracula-evondev-DBjJ8MZk.js"),__vite__mapDeps([])),"../../public/themes/chadracula.webp":()=>_(()=>import("./chadracula-B30d-Ckf.js"),__vite__mapDeps([])),"../../public/themes/chadtain.webp":()=>_(()=>import("./chadtain-m9nOCKfH.js"),__vite__mapDeps([])),"../../public/themes/chocolate.webp":()=>_(()=>import("./chocolate-BcGTJ6rB.js"),__vite__mapDeps([])),"../../public/themes/dark_horizon.webp":()=>_(()=>import("./dark_horizon-DuWxCyBf.js"),__vite__mapDeps([])),"../../public/themes/decay.webp":()=>_(()=>import("./decay-DhIXv20Y.js"),__vite__mapDeps([])),"../../public/themes/doomchad.webp":()=>_(()=>import("./doomchad-B8f10arS.js"),__vite__mapDeps([])),"../../public/themes/everblush.webp":()=>_(()=>import("./everblush-B_StBifN.js"),__vite__mapDeps([])),"../../public/themes/everforest.webp":()=>_(()=>import("./everforest-C9c3qgEn.js"),__vite__mapDeps([])),"../../public/themes/everforest_light.webp":()=>_(()=>import("./everforest_light-CypGsCib.js"),__vite__mapDeps([])),"../../public/themes/falcon.webp":()=>_(()=>import("./falcon-6FH1tmMn.js"),__vite__mapDeps([])),"../../public/themes/flexoki-light.webp":()=>_(()=>import("./flexoki-light-C_4Ck3l-.js"),__vite__mapDeps([])),"../../public/themes/flexoki.webp":()=>_(()=>import("./flexoki-BI6yGQur.js"),__vite__mapDeps([])),"../../public/themes/gatekeeper.webp":()=>_(()=>import("./gatekeeper-DX_U53Wo.js"),__vite__mapDeps([])),"../../public/themes/github_dark.webp":()=>_(()=>import("./github_dark-tWWI88ks.js"),__vite__mapDeps([])),"../../public/themes/github_light.webp":()=>_(()=>import("./github_light-DK2Q5DQF.js"),__vite__mapDeps([])),"../../public/themes/gruvbox.webp":()=>_(()=>import("./gruvbox-cXMXR_fs.js"),__vite__mapDeps([])),"../../public/themes/gruvbox_light.webp":()=>_(()=>import("./gruvbox_light-Dj0JMI70.js"),__vite__mapDeps([])),"../../public/themes/gruvchad.webp":()=>_(()=>import("./gruvchad-PgXDbk9M.js"),__vite__mapDeps([])),"../../public/themes/jabuti.webp":()=>_(()=>import("./jabuti-DHCO64FL.js"),__vite__mapDeps([])),"../../public/themes/jellybeans.webp":()=>_(()=>import("./jellybeans-C69Kan1A.js"),__vite__mapDeps([])),"../../public/themes/kanagawa.webp":()=>_(()=>import("./kanagawa-CAl2AkOr.js"),__vite__mapDeps([])),"../../public/themes/material-darker.webp":()=>_(()=>import("./material-darker-TW8y9-CB.js"),__vite__mapDeps([])),"../../public/themes/material-lighter.webp":()=>_(()=>import("./material-lighter-CHOHqfV4.js"),__vite__mapDeps([])),"../../public/themes/melange.webp":()=>_(()=>import("./melange-ChAk3wcY.js"),__vite__mapDeps([])),"../../public/themes/mito-laser.webp":()=>_(()=>import("./mito-laser-Dw1Zun4Z.js"),__vite__mapDeps([])),"../../public/themes/monekai.webp":()=>_(()=>import("./monekai-DqQ0Lbq7.js"),__vite__mapDeps([])),"../../public/themes/monochrome.webp":()=>_(()=>import("./monochrome-DfJFMyh6.js"),__vite__mapDeps([])),"../../public/themes/mountain.webp":()=>_(()=>import("./mountain-DFEqRtnE.js"),__vite__mapDeps([])),"../../public/themes/nano-light.webp":()=>_(()=>import("./nano-light-BWJbtj1I.js"),__vite__mapDeps([])),"../../public/themes/nightfox.webp":()=>_(()=>import("./nightfox-DAtk8_Ib.js"),__vite__mapDeps([])),"../../public/themes/nightlamp.webp":()=>_(()=>import("./nightlamp-BZ_mlSp0.js"),__vite__mapDeps([])),"../../public/themes/nightowl.webp":()=>_(()=>import("./nightowl-6x1JaVcS.js"),__vite__mapDeps([])),"../../public/themes/nord.webp":()=>_(()=>import("./nord-DI5jblu1.js"),__vite__mapDeps([])),"../../public/themes/oceanic-light.webp":()=>_(()=>import("./oceanic-light-BFk0ZJQm.js"),__vite__mapDeps([])),"../../public/themes/oceanic-next.webp":()=>_(()=>import("./oceanic-next-CkxpBoON.js"),__vite__mapDeps([])),"../../public/themes/one_light.webp":()=>_(()=>import("./one_light-Bv8Y0BHv.js"),__vite__mapDeps([])),"../../public/themes/onedark.webp":()=>_(()=>import("./onedark-DotQcCck.js"),__vite__mapDeps([])),"../../public/themes/onenord.webp":()=>_(()=>import("./onenord-mvfzAW9b.js"),__vite__mapDeps([])),"../../public/themes/onenord_light.webp":()=>_(()=>import("./onenord_light-BnXzK1uR.js"),__vite__mapDeps([])),"../../public/themes/oxocarbon.webp":()=>_(()=>import("./oxocarbon-Dq2oWp6j.js"),__vite__mapDeps([])),"../../public/themes/palenight.webp":()=>_(()=>import("./palenight-5-EXmUjp.js"),__vite__mapDeps([])),"../../public/themes/pastelDark.webp":()=>_(()=>import("./pastelDark-CJBkjo82.js"),__vite__mapDeps([])),"../../public/themes/pastelbeans.webp":()=>_(()=>import("./pastelbeans-I_hPxfIj.js"),__vite__mapDeps([])),"../../public/themes/penumbra_dark.webp":()=>_(()=>import("./penumbra_dark-BajsAbjR.js"),__vite__mapDeps([])),"../../public/themes/penumbra_light.webp":()=>_(()=>import("./penumbra_light-R6vaJ2dR.js"),__vite__mapDeps([])),"../../public/themes/poimandres.webp":()=>_(()=>import("./poimandres-CLZX257g.js"),__vite__mapDeps([])),"../../public/themes/radium.webp":()=>_(()=>import("./radium-A6e_Futp.js"),__vite__mapDeps([])),"../../public/themes/rosepine-dawn.webp":()=>_(()=>import("./rosepine-dawn-kX5cWQaP.js"),__vite__mapDeps([])),"../../public/themes/rosepine.webp":()=>_(()=>import("./rosepine-BeqDKTOJ.js"),__vite__mapDeps([])),"../../public/themes/rxyhn.webp":()=>_(()=>import("./rxyhn-BILN_knW.js"),__vite__mapDeps([])),"../../public/themes/solarized_dark.webp":()=>_(()=>import("./solarized_dark-CX_hDmAR.js"),__vite__mapDeps([])),"../../public/themes/solarized_oska.webp":()=>_(()=>import("./solarized_oska-Dk_L9BfH.js"),__vite__mapDeps([])),"../../public/themes/sweetpastel.webp":()=>_(()=>import("./sweetpastel-DuilNVoI.js"),__vite__mapDeps([])),"../../public/themes/tokyodark.webp":()=>_(()=>import("./tokyodark-9KXuYcQd.js"),__vite__mapDeps([])),"../../public/themes/tokyonight.webp":()=>_(()=>import("./tokyonight-Mfw0GLhH.js"),__vite__mapDeps([])),"../../public/themes/tomorrow_night.webp":()=>_(()=>import("./tomorrow_night-DqXXyyL7.js"),__vite__mapDeps([])),"../../public/themes/tundra.webp":()=>_(()=>import("./tundra-CdYrrmK4.js"),__vite__mapDeps([])),"../../public/themes/vscode_dark.webp":()=>_(()=>import("./vscode_dark-kyPxC2nU.js"),__vite__mapDeps([])),"../../public/themes/wombat.webp":()=>_(()=>import("./wombat-DCEv37uW.js"),__vite__mapDeps([])),"../../public/themes/yoru.webp":()=>_(()=>import("./yoru-DWL0zvfx.js"),__vite__mapDeps([]))});let ks=Object.keys(Ss).map(n=>n.replace("../../public",""));const[$n,Ai]=ve(!0),[Es,Ps]=ve(""),[ze,Is]=ve(!0),[xs,Cs]=ve(0),Ts=()=>(()=>{var n=S(gs),e=n.firstChild,r=e.nextSibling,i=r.firstChild,l=i.nextSibling,a=l.firstChild,o=a.firstChild,[s,c]=H(o.nextSibling),h=s.nextSibling,[u,m]=H(h.nextSibling);return l.$$click=()=>Is(!ze()),D(a,(()=>{var p=X(()=>!!ze());return()=>p()&&S(vs)})(),s,c),D(a,(()=>{var p=X(()=>!ze());return()=>p()&&S(_s)})(),u,m),ee(),n})();function As(){return(()=>{var n=S(bs);return D(n,()=>ks.map(e=>{const i=(e?.split("/").pop()).split(".")[0],l=i.includes("light")?"light":"dark",a=ze()?"top-0 right-0 rounded-br-none rounded-tl-none":"bottom-0 left-1/2 transform -translate-x-1/2 rounded-b-none",o=l=="dark"?"bg-slate-1 bur-sm text-dark-3":" bg-dark-4 text-white-1";return(()=>{var s=S(ys),c=s.firstChild,h=c.nextSibling;return c.$$click=()=>{Cs(window.scrollY),Ps(e),Ai(!$n())},ge(c,"src",e),ue(h,`absolute vertCentered justify-between ${a} ${o}`),D(h,i),ee(),s})()})),te(()=>ue(n,`grid gap-6 [&_*]:max-w-[100%] [&_*]:h-auto ${ze()?"lg:grid-cols-3 2xl:grid-cols-4":""}`)),n})()}function Ds(){return(()=>{var n=S(ws),e=n.firstChild,r=e.nextSibling;return e.$$click=()=>{Ai(!$n()),window.scrollTo(0,xs())},te(()=>ge(r,"src",Es())),ee(),n})()}const $s=()=>(()=>{var n=S(js),e=n.firstChild,[r,i]=H(e.nextSibling),l=r.nextSibling,[a,o]=H(l.nextSibling);return D(n,(()=>{var s=X(()=>!$n());return()=>s()&&t(Ds,{})})(),r,i),D(n,(()=>{var s=X(()=>!!$n());return()=>s()&&(()=>{var c=S(Ns),h=c.firstChild,[u,m]=H(h.nextSibling),p=u.nextSibling,[f,g]=H(p.nextSibling);return D(c,t(Ts,{}),u,m),D(c,t(As,{}),f,g),c})()})(),a,o),n})();kt(["click"]);const Ls=Object.freeze(Object.defineProperty({__proto__:null,default:$s,meta:Os},Symbol.toStringTag,{value:"Module"}));function Rs(n){n.forEach(e=>{if(!e.attrs.href)return;let r=document.head.querySelector(`link[href="${e.attrs.href}"]`);r||(r=document.createElement("link"),r.setAttribute("rel","preload"),r.setAttribute("as","style"),r.setAttribute("href",e.attrs.href),document.head.appendChild(r))})}var Ms=E("