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