import{s as C,c as I,u as L,g as S,b as A,o as H,d as N}from"./scheduler.3a17fb72.js";import{S as q,i as B,e as _,c as D,s as M,a as g,f as v,g as P,d as p,b as V,k as u,m as j,l as b,n as z,u as F,t as y,o as E,p as G}from"./index.093f8863.js";import{I as J,g as K}from"./MermaidChart.svelte_svelte_type_style_lang.8f3ffde1.js";const{window:O}=K;function Q(o){let s,a,f,r,h,c,i,d,n;r=new J({props:{classNames:"text-smd"}});const m=o[4].default,t=I(m,o,o[3],null);return{c(){s=_("div"),a=_("a"),f=_("span"),D(r.$$.fragment),c=M(),t&&t.c(),this.h()},l(e){s=g(e,"DIV",{class:!0});var l=v(s);a=g(l,"A",{id:!0,class:!0,href:!0});var w=v(a);f=g(w,"SPAN",{});var k=v(f);P(r.$$.fragment,k),k.forEach(p),w.forEach(p),c=V(l),t&&t.l(l),l.forEach(p),this.h()},h(){u(a,"id",o[0]),u(a,"class","header-link block pr-0.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),u(a,"href",h=`#${o[0]}`),u(s,"class","relative group rounded-md")},m(e,l){j(e,s,l),b(s,a),b(a,f),z(r,f,null),b(s,c),t&&t.m(s,null),o[5](s),i=!0,d||(n=F(O,"hashchange",o[2]),d=!0)},p(e,[l]){(!i||l&1)&&u(a,"id",e[0]),(!i||l&1&&h!==(h=`#${e[0]}`))&&u(a,"href",h),t&&t.p&&(!i||l&8)&&L(t,m,e,e[3],i?A(m,e[3],l,null):S(e[3]),null)},i(e){i||(y(r.$$.fragment,e),y(t,e),i=!0)},o(e){E(r.$$.fragment,e),E(t,e),i=!1},d(e){e&&p(s),G(r),t&&t.d(e),o[5](null),d=!1,n()}}}const $="bg-yellow-50 dark:bg-[#494a3d]";function R(o,s,a){let{$$slots:f={},$$scope:r}=s,{anchor:h}=s,c;function i(){const{hash:n}=window.location,m=n.substring(1);c&&c.classList.remove(...$.split(" ")),m===h&&c.classList.add(...$.split(" "))}H(()=>{i()});function d(n){N[n?"unshift":"push"](()=>{c=n,a(1,c)})}return o.$$set=n=>{"anchor"in n&&a(0,h=n.anchor),"$$scope"in n&&a(3,r=n.$$scope)},[h,c,i,r,f,d]}class X extends q{constructor(s){super(),B(this,s,R,Q,C,{anchor:0})}}export{X as E};
