import{b as T}from"../chunks/paths.c4cf8475.js";import{s as R,c as B,u as F,g as G,d as H}from"../chunks/scheduler.e108d1fd.js";import{S as W,i as X,e as S,a as x,d as L,t as z,f as d,g as v,s as j,h as b,x as q,c as A,j as y,k as m,y as g,z as Z,m as J,n as K,o as Q}from"../chunks/index.0dc1bf70.js";function M(a){return(a==null?void 0:a.length)!==void 0?a:Array.from(a)}const $=!0;async function ee({fetch:a}){return{}}const fe=Object.freeze(Object.defineProperty({__proto__:null,load:ee,prerender:$},Symbol.toStringTag,{value:"Module"}));function U(a,t,n){const s=a.slice();return s[4]=t[n],s}function te(a){let t,n=`body,
		html {
			padding: 0;
			margin: 0;
		}`,s,e,l,c,h,i,p,D,k,N="Sub side menu",w,E=M(a[0]),f=[];for(let o=0;o<E.length;o+=1)f[o]=Y(U(a,E,o));const I=a[3].default,_=B(I,a,a[2],null);return{c(){t=v("style"),t.textContent=n,s=j(),e=v("div"),l=v("div"),c=v("ul");for(let o=0;o<f.length;o+=1)f[o].c();h=j(),i=v("div"),p=v("div"),_&&_.c(),D=j(),k=v("div"),k.textContent=N,this.h()},l(o){t=b(o,"STYLE",{"data-svelte-h":!0}),q(t)!=="svelte-1agysj5"&&(t.textContent=n),s=A(o),e=b(o,"DIV",{class:!0});var u=y(e);l=b(u,"DIV",{class:!0});var r=y(l);c=b(r,"UL",{class:!0});var C=y(c);for(let V=0;V<f.length;V+=1)f[V].l(C);C.forEach(d),r.forEach(d),h=A(u),i=b(u,"DIV",{class:!0});var O=y(i);p=b(O,"DIV",{class:!0});var P=y(p);_&&_.l(P),P.forEach(d),O.forEach(d),D=A(u),k=b(u,"DIV",{class:!0,"data-svelte-h":!0}),q(k)!=="svelte-4golw1"&&(k.textContent=N),u.forEach(d),this.h()},h(){m(c,"class","pt-2 flex flex-col pl-3 w-full"),m(l,"class","w-[270px] 2xl:w-[300px] hidden md:block border-r-2 shrink-0"),m(p,"class","prose prose-doc dark:prose-light max-w-4xl mx-auto break-words relative"),m(i,"class","px-4 pt-3 grow"),m(k,"class","w-[270px] 2xl:w-[305px] hidden lg:block border-l-2 shrink-0 opacity-50 p-4"),m(e,"class","flex")},m(o,u){x(o,t,u),x(o,s,u),x(o,e,u),g(e,l),g(l,c);for(let r=0;r<f.length;r+=1)f[r]&&f[r].m(c,null);g(e,h),g(e,i),g(i,p),_&&_.m(p,null),g(e,D),g(e,k),w=!0},p(o,u){if(u&1){E=M(o[0]);let r;for(r=0;r<E.length;r+=1){const C=U(o,E,r);f[r]?f[r].p(C,u):(f[r]=Y(C),f[r].c(),f[r].m(c,null))}for(;r<f.length;r+=1)f[r].d(1);f.length=E.length}_&&_.p&&(!w||u&4)&&F(_,I,o,o[2],w?H(I,o[2],u,null):G(o[2]),null)},i(o){w||(L(_,o),w=!0)},o(o){z(_,o),w=!1},d(o){o&&(d(t),d(s),d(e)),Z(f,o),_&&_.d(o)}}}function le(a){let t;const n=a[3].default,s=B(n,a,a[2],null);return{c(){s&&s.c()},l(e){s&&s.l(e)},m(e,l){s&&s.m(e,l),t=!0},p(e,l){s&&s.p&&(!t||l&4)&&F(s,n,e,e[2],t?H(n,e[2],l,null):G(e[2]),null)},i(e){t||(L(s,e),t=!0)},o(e){z(s,e),t=!1},d(e){s&&s.d(e)}}}function se(a){let t,n=a[4].title+"",s;return{c(){t=v("span"),s=J(n),this.h()},l(e){t=b(e,"SPAN",{role:!0,class:!0});var l=y(t);s=K(l,n),l.forEach(d),this.h()},h(){m(t,"role","navigation"),m(t,"class","opacity-50 text-lg block text-gray-500 pr-2 hover:text-black dark:hover:text-gray-300 py-1")},m(e,l){x(e,t,l),g(t,s)},p(e,l){l&1&&n!==(n=e[4].title+"")&&Q(s,n)},d(e){e&&d(t)}}}function ne(a){let t,n=a[4].title+"",s,e;return{c(){t=v("a"),s=J(n),this.h()},l(l){t=b(l,"A",{role:!0,class:!0,href:!0});var c=y(t);s=K(c,n),c.forEach(d),this.h()},h(){m(t,"role","navigation"),m(t,"class","block text-gray-500 pr-2 hover:text-black dark:hover:text-gray-300 py-1"),m(t,"href",e=T+"/"+a[4].local.replace(/\bindex$/,""))},m(l,c){x(l,t,c),g(t,s)},p(l,c){c&1&&n!==(n=l[4].title+"")&&Q(s,n),c&1&&e!==(e=T+"/"+l[4].local.replace(/\bindex$/,""))&&m(t,"href",e)},d(l){l&&d(t)}}}function Y(a){let t;function n(l,c){return l[4].local?ne:se}let s=n(a),e=s(a);return{c(){e.c(),t=S()},l(l){e.l(l),t=S()},m(l,c){e.m(l,c),x(l,t,c)},p(l,c){s===(s=n(l))&&e?e.p(l,c):(e.d(1),e=s(l),e&&(e.c(),e.m(t.parentNode,t)))},d(l){l&&d(t),e.d(l)}}}function ae(a){let t,n,s,e;const l=[le,te],c=[];function h(i,p){return 0}return t=h(),n=c[t]=l[t](a),{c(){n.c(),s=S()},l(i){n.l(i),s=S()},m(i,p){c[t].m(i,p),x(i,s,p),e=!0},p(i,[p]){n.p(i,p)},i(i){e||(L(n),e=!0)},o(i){z(n),e=!1},d(i){i&&d(s),c[t].d(i)}}}function oe(a,t,n){let{$$slots:s={},$$scope:e}=t,{data:l}=t,{toc:c=l.toc??[]}=t;return a.$$set=h=>{"data"in h&&n(1,l=h.data),"toc"in h&&n(0,c=h.toc),"$$scope"in h&&n(2,e=h.$$scope)},[c,l,e,s]}class ue extends W{constructor(t){super(),X(this,t,oe,ae,R,{data:1,toc:0})}}export{ue as component,fe as universal};
