import{s as ye,e as ae,i as E,d as u,r as kl,o as We,f as g,a as L,g as k,h as q,c as C,j as h,u as b,v as le,w as Xe,l as ne,m as se,n as qe,x as Se,y as x,z as F,A as De,k as de,B as _e,C as _t,D as yl,E as ce,F as fe,G as ue,H as he,I as te,p as Me,J as wl,K as _l,L as ml,M as Ze,N as Oe,O as Ke,P as mt,Q as $l,t as xe,R as rt,S as dl}from"../chunks/scheduler.jKBL1uqE.js";import{S as we,i as $e,a as y,g as be,t as A,c as ge,b as Q,d as J,m as Y,f as dt,e as X,n as El,l as Tl,h as ql,j as Vl,k as pl}from"../chunks/index.KC8tfXZc.js";/* empty css                                                          */import{n as Al,p as tt}from"../chunks/stores.KHubAxG8.js";import{e as ke,p as Nl,o as Ce,t as Le,r as Ml,n as nt,s as Ve,a as Bl,b as ze,c as st}from"../chunks/theme.barr5HXm.js";import{I as Ae,q as ot,f as pt,a as Dl,b as ct,c as Ll,d as Cl,e as Il,g as Sl}from"../chunks/focus-outside.heerOnyq.js";import{w as Fe}from"../chunks/paths.r3hZIWZB.js";import{r as Hl,a as vt}from"../chunks/root-scroll.YVK79KVp.js";import{S as jl}from"../chunks/search.qtZl-3eU.js";function bt(s){let e,l,t,n,r,o,i,a,c,f,_,p,w=s[2].lg&&gt(s),$=s[2].sm&&kt(s),V=s[0]&&yt();return a=new Ae({props:{name:"close"}}),{c(){e=g("div"),l=g("div"),t=g("a"),w&&w.c(),n=L(),$&&$.c(),r=L(),V&&V.c(),o=L(),i=g("button"),Q(a.$$.fragment),this.h()},l(m){e=k(m,"DIV",{class:!0});var d=q(e);l=k(d,"DIV",{class:!0});var B=q(l);t=k(B,"A",{href:!0,class:!0});var P=q(t);w&&w.l(P),n=C(P),$&&$.l(P),P.forEach(u),r=C(B),V&&V.l(B),B.forEach(u),o=C(d),i=k(d,"BUTTON",{class:!0});var S=q(i);J(a.$$.fragment,S),S.forEach(u),d.forEach(u),this.h()},h(){h(t,"href",s[1]),h(t,"class","svelte-mf92j0"),h(l,"class","main-area svelte-mf92j0"),h(i,"class","close-button svelte-mf92j0"),h(e,"class","banner-bottom svelte-mf92j0")},m(m,d){E(m,e,d),b(e,l),b(l,t),w&&w.m(t,null),b(t,n),$&&$.m(t,null),b(l,r),V&&V.m(l,null),b(e,o),b(e,i),Y(a,i,null),f=!0,_||(p=le(i,"click",s[5]),_=!0)},p(m,d){m[2].lg?w?w.p(m,d):(w=gt(m),w.c(),w.m(t,n)):w&&(w.d(1),w=null),m[2].sm?$?$.p(m,d):($=kt(m),$.c(),$.m(t,null)):$&&($.d(1),$=null),(!f||d&2)&&h(t,"href",m[1]),m[0]?V?d&1&&y(V,1):(V=yt(),V.c(),y(V,1),V.m(l,null)):V&&(be(),A(V,1,1,()=>{V=null}),ge())},i(m){f||(y(V),y(a.$$.fragment,m),m&&Xe(()=>{f&&(c||(c=dt(e,pt,{duration:400,easing:ot},!0)),c.run(1))}),f=!0)},o(m){A(V),A(a.$$.fragment,m),m&&(c||(c=dt(e,pt,{duration:400,easing:ot},!1)),c.run(0)),f=!1},d(m){m&&u(e),w&&w.d(),$&&$.d(),V&&V.d(),X(a),m&&c&&c.end(),_=!1,p()}}}function gt(s){let e,l=s[2].lg+"",t;return{c(){e=g("span"),t=ne(l),this.h()},l(n){e=k(n,"SPAN",{class:!0});var r=q(e);t=se(r,l),r.forEach(u),this.h()},h(){h(e,"class","lg svelte-mf92j0")},m(n,r){E(n,e,r),b(e,t)},p(n,r){r&4&&l!==(l=n[2].lg+"")&&qe(t,l)},d(n){n&&u(e)}}}function kt(s){let e,l=s[2].sm+"",t;return{c(){e=g("span"),t=ne(l),this.h()},l(n){e=k(n,"SPAN",{class:!0});var r=q(e);t=se(r,l),r.forEach(u),this.h()},h(){h(e,"class","sm svelte-mf92j0")},m(n,r){E(n,e,r),b(e,t)},p(n,r){r&4&&l!==(l=n[2].sm+"")&&qe(t,l)},d(n){n&&u(e)}}}function yt(s){let e,l;return e=new Ae({props:{name:"arrow-right",size:"1.2em"}}),{c(){Q(e.$$.fragment)},l(t){J(e.$$.fragment,t)},m(t,n){Y(e,t,n),l=!0},i(t){l||(y(e.$$.fragment,t),l=!0)},o(t){A(e.$$.fragment,t),l=!1},d(t){X(e,t)}}}function zl(s){let e,l,t=s[3]&&bt(s);return{c(){t&&t.c(),e=ae()},l(n){t&&t.l(n),e=ae()},m(n,r){t&&t.m(n,r),E(n,e,r),l=!0},p(n,[r]){n[3]?t?(t.p(n,r),r&8&&y(t,1)):(t=bt(n),t.c(),y(t,1),t.m(e.parentNode,e)):t&&(be(),A(t,1,1,()=>{t=null}),ge())},i(n){l||(y(t),l=!0)},o(n){A(t),l=!1},d(n){n&&u(e),t&&t.d(n)}}}function Pl(s,e,l){let{arrow:t=!1}=e,{href:n}=e,{content:r}=e;const o=kl();let i=!1;We(()=>{setTimeout(()=>{l(3,i=!0)},300)});const a=()=>o("close");return s.$$set=c=>{"arrow"in c&&l(0,t=c.arrow),"href"in c&&l(1,n=c.href),"content"in c&&l(2,r=c.content)},[t,n,r,i,o,a]}class Zl extends we{constructor(e){super(),$e(this,e,Pl,zl,ye,{arrow:0,href:1,content:2})}}function wt(s,e,l){const t=s.slice();return t[6]=e[l].content,t[7]=e[l].href,t[8]=e[l].id,t[9]=e[l].arrow,t}function $t(s){let e,l;function t(){return s[4](s[8])}return e=new Zl({props:{arrow:s[9],href:s[7],content:s[6]}}),e.$on("close",t),{c(){Q(e.$$.fragment)},l(n){J(e.$$.fragment,n)},m(n,r){Y(e,n,r),l=!0},p(n,r){s=n;const o={};r&1&&(o.arrow=s[9]),r&1&&(o.href=s[7]),r&1&&(o.content=s[6]),e.$set(o)},i(n){l||(y(e.$$.fragment,n),l=!0)},o(n){A(e.$$.fragment,n),l=!1},d(n){X(e,n)}}}function Ol(s){let e,l,t=ke(s[0]),n=[];for(let o=0;o<t.length;o+=1)n[o]=$t(wt(s,t,o));const r=o=>A(n[o],1,1,()=>{n[o]=null});return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=ae()},l(o){for(let i=0;i<n.length;i+=1)n[i].l(o);e=ae()},m(o,i){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(o,i);E(o,e,i),l=!0},p(o,[i]){if(i&3){t=ke(o[0]);let a;for(a=0;a<t.length;a+=1){const c=wt(o,t,a);n[a]?(n[a].p(c,i),y(n[a],1)):(n[a]=$t(c),n[a].c(),y(n[a],1),n[a].m(e.parentNode,e))}for(be(),a=t.length;a<n.length;a+=1)r(a);ge()}},i(o){if(!l){for(let i=0;i<t.length;i+=1)y(n[i]);l=!0}},o(o){n=n.filter(Boolean);for(let i=0;i<n.length;i+=1)A(n[i]);l=!1},d(o){o&&u(e),Se(n,o)}}}function Ul(s,e,l){let t,n,{data:r}=e;const o=Nl("svelte:banner-preferences",{});x(s,o,c=>l(1,n=c));const i=+new Date;We(()=>{for(const{id:c}of r)F(o,n[c]??=!0,n)});const a=c=>F(o,n[c]=!1,n);return s.$$set=c=>{"data"in c&&l(3,r=c.data)},s.$$.update=()=>{s.$$.dirty&10&&l(0,t=r.filter(({id:c,start:f,end:_})=>n[c]&&i>f&&i<_)),s.$$.dirty&1&&document.documentElement.style.setProperty("--sk-banner-bottom-height",t.length?"41.9px":"0px")},[t,n,o,r,a]}class Rl extends we{constructor(e){super(),$e(this,e,Ul,Ol,ye,{data:3})}}function Kl(s){let e,l='<svg><symbol id="arrow-left" class="icon" viewBox="0 0 24 24"><line x1="19" y1="12" x2="5" y2="12"></line><polyline points="12 19 5 12 12 5"></polyline></symbol><symbol id="arrow-right" class="icon" viewBox="0 0 24 24"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></symbol><symbol id="arrow-right-chevron" viewBox="0 0 24 24"><path fill="currentColor" d="M8.7 17.3q-.275-.275-.275-.7t.275-.7l3.9-3.9l-3.9-3.9q-.275-.275-.275-.7t.275-.7q.275-.275.7-.275t.7.275l4.6 4.6q.15.15.213.325t.062.375q0 .2-.063.375t-.212.325l-4.6 4.6q-.275.275-.7.275t-.7-.275Z"></path></symbol><symbol id="arrow-up" class="icon" viewBox="0 0 24 24"><line x1="12" y1="19" x2="12" y2="5"></line><polyline points="5 12 12 5 19 12"></polyline></symbol><symbol id="arrow-down" class="icon" viewBox="0 0 24 24"><line x1="12" y1="5" x2="12" y2="19"></line><polyline points="19 12 12 19 5 12"></polyline></symbol><symbol id="check" class="icon" viewBox="0 0 24 24"><polyline points="20 6 9 17 4 12"></polyline></symbol><symbol id="close" class="icon" viewBox="0 0 24 24"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></symbol><symbol id="download" class="icon" viewBox="0 0 24 24"><path d="M21 15V19A2 2 0 0 1 19 21H5A2 2 0 0 1 3 19V15"></path><polyline points="7 10 12 15 17 10"></polyline><line x1="12" y1="15" x2="12" y2="3"></line></symbol><symbol id="edit" class="icon" viewBox="0 0 24 24"><path d="M20 14.66V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5.34"></path><polygon points="18 2 22 6 12 16 8 16 8 12 18 2"></polygon></symbol><symbol viewBox="0 0 24 24" id="github" stroke-width="0"><path fill="currentColor" d="M12 0a12 12 0 1 0 0 24a12 12 0 0 0 0-24zm3.163 21.783h-.093a.513.513 0 0 1-.382-.14a.513.513 0 0 1-.14-.372v-1.406c.006-.467.01-.94.01-1.416a3.693 3.693 0 0 0-.151-1.028a1.832 1.832 0 0 0-.542-.875a8.014 8.014 0 0 0 2.038-.471a4.051 4.051 0 0 0 1.466-.964c.407-.427.71-.943.885-1.506a6.77 6.77 0 0 0 .3-2.13a4.138 4.138 0 0 0-.26-1.476a3.892 3.892 0 0 0-.795-1.284a2.81 2.81 0 0 0 .162-.582c.033-.2.05-.402.05-.604c0-.26-.03-.52-.09-.773a5.309 5.309 0 0 0-.221-.763a.293.293 0 0 0-.111-.02h-.11c-.23.002-.456.04-.674.111a5.34 5.34 0 0 0-.703.26a6.503 6.503 0 0 0-.661.343c-.215.127-.405.249-.573.362a9.578 9.578 0 0 0-5.143 0a13.507 13.507 0 0 0-.572-.362a6.022 6.022 0 0 0-.672-.342a4.516 4.516 0 0 0-.705-.261a2.203 2.203 0 0 0-.662-.111h-.11a.29.29 0 0 0-.11.02a5.844 5.844 0 0 0-.23.763c-.054.254-.08.513-.081.773c0 .202.017.404.051.604c.033.199.086.394.16.582A3.888 3.888 0 0 0 5.702 10a4.142 4.142 0 0 0-.263 1.476a6.871 6.871 0 0 0 .292 2.12c.181.563.483 1.08.884 1.516c.415.422.915.75 1.466.964c.653.25 1.337.41 2.033.476a1.828 1.828 0 0 0-.452.633a2.99 2.99 0 0 0-.2.744a2.754 2.754 0 0 1-1.175.27a1.788 1.788 0 0 1-1.065-.3a2.904 2.904 0 0 1-.752-.824a3.1 3.1 0 0 0-.292-.382a2.693 2.693 0 0 0-.372-.343a1.841 1.841 0 0 0-.432-.24a1.2 1.2 0 0 0-.481-.101c-.04.001-.08.005-.12.01a.649.649 0 0 0-.162.02a.408.408 0 0 0-.13.06a.116.116 0 0 0-.06.1a.33.33 0 0 0 .14.242c.093.074.17.131.232.171l.03.021c.133.103.261.214.382.333c.112.098.213.209.3.33c.09.119.168.246.231.381c.073.134.15.288.231.463c.188.474.522.875.954 1.145c.453.243.961.364 1.476.351c.174 0 .349-.01.522-.03c.172-.028.343-.057.515-.091v1.743a.5.5 0 0 1-.533.521h-.062a10.286 10.286 0 1 1 6.324 0v.005z"></path></symbol><symbol viewBox="0 0 24 24" id="discord" stroke-width="0"><path fill="currentColor" d="M19.27 5.33C17.94 4.71 16.5 4.26 15 4a.09.09 0 0 0-.07.03c-.18.33-.39.76-.53 1.09a16.09 16.09 0 0 0-4.8 0c-.14-.34-.35-.76-.54-1.09c-.01-.02-.04-.03-.07-.03c-1.5.26-2.93.71-4.27 1.33c-.01 0-.02.01-.03.02c-2.72 4.07-3.47 8.03-3.1 11.95c0 .02.01.04.03.05c1.8 1.32 3.53 2.12 5.24 2.65c.03.01.06 0 .07-.02c.4-.55.76-1.13 1.07-1.74c.02-.04 0-.08-.04-.09c-.57-.22-1.11-.48-1.64-.78c-.04-.02-.04-.08-.01-.11c.11-.08.22-.17.33-.25c.02-.02.05-.02.07-.01c3.44 1.57 7.15 1.57 10.55 0c.02-.01.05-.01.07.01c.11.09.22.17.33.26c.04.03.04.09-.01.11c-.52.31-1.07.56-1.64.78c-.04.01-.05.06-.04.09c.32.61.68 1.19 1.07 1.74c.03.01.06.02.09.01c1.72-.53 3.45-1.33 5.25-2.65c.02-.01.03-.03.03-.05c.44-4.53-.73-8.46-3.1-11.95c-.01-.01-.02-.02-.04-.02zM8.52 14.91c-1.03 0-1.89-.95-1.89-2.12s.84-2.12 1.89-2.12c1.06 0 1.9.96 1.89 2.12c0 1.17-.84 2.12-1.89 2.12zm6.97 0c-1.03 0-1.89-.95-1.89-2.12s.84-2.12 1.89-2.12c1.06 0 1.9.96 1.89 2.12c0 1.17-.83 2.12-1.89 2.12z"></path></symbol><symbol id="git-branch" class="icon" viewBox="0 0 24 24"><line x1="6" y1="3" x2="6" y2="15"></line><circle cx="18" cy="6" r="3"></circle><circle cx="6" cy="18" r="3"></circle><path d="M18 9a9 9 0 0 1-9 9"></path></symbol><symbol id="log-in" class="icon" viewBox="0 0 24 24"><path d="M15 3H19A2 2 0 0 1 21 5V19A2 2 0 0 1 19 21H15"></path><polyline points="10 17 15 12 10 7"></polyline><line x1="15" y1="12" x2="3" y2="12"></line></symbol><symbol id="maximize" class="icon" viewBox="0 0 24 24"><path d="M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"></path></symbol><symbol id="maximize-2" class="icon" viewBox="0 0 24 24"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" y1="3" x2="14" y2="10"></line><line x1="3" y1="21" x2="10" y2="14"></line></symbol><symbol id="menu" viewBox="0 0 48 48"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="M7.95 11.95h32m-32 12h32m-32 12h32"></path></symbol><symbol id="message-square" class="icon" viewBox="0 0 24 24"><g transform="translate(0, 1)"><path d="M16.5 19H11V15H18V11H22V19H19.5L18 20.5L16.5 19Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M2 3H18V15H8.5L6.5 17L4.5 15H2V3 M5 10L5 12L10 12L10 10  M5 6L5 9L13 9L13 6Z" fill="currentColor" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></g></symbol><symbol id="minus" class="icon" viewBox="0 0 24 24"><line x1="5" y1="12" x2="19" y2="12"></line></symbol><symbol id="plus" class="icon" viewBox="0 0 24 24"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></symbol><symbol id="save" class="icon" viewBox="0 0 24 24"><path d="M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"></path><polyline points="17 21 17 13 7 13 7 21"></polyline><polyline points="7 3 7 8 15 8"></polyline></symbol><symbol id="link" class="icon" viewBox="0 0 24 24"><path d="M9,7L6,7A2 2 0 0 0 6,17L9,17"></path><path d="M15,7L18,7A2 2 0 0 1 18,17L15,17"></path><path d="M7,12L17,12"></path></symbol><symbol viewBox="0 0 24 24" id="external-link"><path fill="currentColor" stroke-width="0" d="m16 8.4l-8.875 8.9q-.3.3-.713.3t-.712-.3q-.3-.3-.3-.713t.3-.712L14.6 7H7q-.425 0-.713-.288T6 6q0-.425.288-.713T7 5h10q.425 0 .713.288T18 6v10q0 .425-.288.713T17 17q-.425 0-.713-.288T16 16V8.4Z"></path></symbol><symbol id="chevron" class="icon" viewBox="0 0 24 24"><path d="M2,7 L12,17 L20,7"></path></symbol><symbol id="chevron-up" class="icon" viewBox="0 0 24 24"><polyline points="18 15 12 9 6 15"></polyline></symbol><symbol id="chevron-down" class="icon" viewBox="0 0 24 24"><polyline points="6 9 12 15 18 9"></polyline></symbol><symbol id="delete" class="icon" viewBox="0 0 24 24"><path fill="currentColor" stroke="none" d="M22 4.2h-5.6L15 1.6c-.1-.2-.4-.4-.7-.4H9.6c-.2 0-.5.2-.6.4L7.6 4.2H2c-.4 0-.8.4-.8.8s.4.8.8.8h1.8V22c0 .4.3.8.8.8h15c.4 0 .8-.3.8-.8V5.8H22c.4 0 .8-.3.8-.8s-.4-.8-.8-.8zM10.8 16.5c0 .4-.3.8-.8.8s-.8-.3-.8-.8V10c0-.4.3-.8.8-.8s.8.3.8.8v6.5zm4 0c0 .4-.3.8-.8.8s-.8-.3-.8-.8V10c0-.4.3-.8.8-.8s.8.3.8.8v6.5z"></path></symbol><symbol id="home" viewBox="0 0 256 256"><path fill="currentColor" d="m221.56 100.85l-79.95-75.47l-.16-.15a19.93 19.93 0 0 0-26.91 0l-.17.15l-79.93 75.47a20.07 20.07 0 0 0-6.44 14.7V208a20 20 0 0 0 20 20h48a20 20 0 0 0 20-20v-44h24v44a20 20 0 0 0 20 20h48a20 20 0 0 0 20-20v-92.45a20.07 20.07 0 0 0-6.44-14.7ZM204 204h-40v-44a20 20 0 0 0-20-20h-32a20 20 0 0 0-20 20v44H52v-86.72l76-71.75l76 71.75Z"></path></symbol><symbol id="search" viewBox="0 0 24 24"><path stroke-width="0.2" fill="currentColor" d="m18.9 20.3l-5.6-5.6q-.75.6-1.725.95T9.5 16q-2.725 0-4.612-1.888T3 9.5q0-2.725 1.888-4.612T9.5 3q2.725 0 4.612 1.888T16 9.5q0 1.1-.35 2.075T14.7 13.3l5.625 5.625q.275.275.275.675t-.3.7q-.275.275-.7.275t-.7-.275ZM9.5 14q1.875 0 3.188-1.313T14 9.5q0-1.875-1.313-3.188T9.5 5Q7.625 5 6.312 6.313T5 9.5q0 1.875 1.313 3.188T9.5 14Z"></path></symbol><symbol id="docs" viewBox="0 0 16 16"><path fill="currentColor" d="M1 3.25C1 2.56 1.56 2 2.249 2h.5c.69 0 1.248.56 1.248 1.25v9.495c0 .69-.559 1.25-1.248 1.25h-.5A1.25 1.25 0 0 1 1 12.744V3.249ZM2.249 3a.25.25 0 0 0-.25.25v9.495c0 .138.112.25.25.25h.5a.25.25 0 0 0 .25-.25V3.249a.25.25 0 0 0-.25-.25h-.5Zm2.748.25c0-.69.559-1.25 1.249-1.25h.5c.689 0 1.248.56 1.248 1.25v9.495c0 .69-.56 1.25-1.249 1.25h-.5a1.25 1.25 0 0 1-1.248-1.25V3.249ZM6.246 3a.25.25 0 0 0-.25.25v9.495c0 .138.112.25.25.25h.5a.25.25 0 0 0 .249-.25V3.249a.25.25 0 0 0-.25-.25h-.5Zm5.726 1.777a1.249 1.249 0 0 0-1.57-.713l-.583.204a1.25 1.25 0 0 0-.746 1.645l2.937 7.304c.249.62.94.933 1.571.713l.582-.204a1.25 1.25 0 0 0 .746-1.646l-2.937-7.303Zm-1.24.23a.25.25 0 0 1 .313.143l2.937 7.303a.25.25 0 0 1-.149.33l-.582.203a.25.25 0 0 1-.314-.142L10 5.54a.25.25 0 0 1 .149-.329l.582-.204Z"></path></symbol><symbol id="contents" viewBox="0 0 256 256" stroke-width="0"><path fill="currentColor" d="M224 44h-64a43.86 43.86 0 0 0-32 13.85A43.86 43.86 0 0 0 96 44H32a20 20 0 0 0-20 20v128a20 20 0 0 0 20 20h64a20 20 0 0 1 20 20a12 12 0 0 0 24 0a20 20 0 0 1 20-20h64a20 20 0 0 0 20-20V64a20 20 0 0 0-20-20ZM96 188H36V68h60a20 20 0 0 1 20 20v104.81A43.79 43.79 0 0 0 96 188Zm124 0h-60a43.71 43.71 0 0 0-20 4.83V88a20 20 0 0 1 20-20h60Z"></path></symbol><symbol viewBox="0 0 24 24" id="copy-to-clipboard-empty"><path fill="currentColor" d="M5 22q-.825 0-1.413-.588T3 20V6h2v14h11v2H5Zm4-4q-.825 0-1.413-.588T7 16V4q0-.825.588-1.413T9 2h9q.825 0 1.413.588T20 4v12q0 .825-.588 1.413T18 18H9Zm0-2h9V4H9v12Zm0 0V4v12Z"></path></symbol><symbol viewBox="0 0 24 24" id="copy-to-clipboard-filled"><path fill="currentColor" d="M5 22q-.825 0-1.413-.588T3 20V6h2v14h11v2H5Zm4-4q-.825 0-1.413-.588T7 16V4q0-.825.588-1.413T9 2h9q.825 0 1.413.588T20 4v12q0 .825-.588 1.413T18 18H9Z"></path></symbol></svg>';return{c(){e=g("div"),e.innerHTML=l,this.h()},l(t){e=k(t,"DIV",{style:!0,"data-svelte-h":!0}),De(e)!=="svelte-qvvwta"&&(e.innerHTML=l),this.h()},h(){de(e,"display","none")},m(t,n){E(t,e,n)},p:_e,i:_e,o:_e,d(t){t&&u(e)}}}class Gl extends we{constructor(e){super(),$e(this,e,null,Kl,ye,{})}}function Et(s){return Object.prototype.toString.call(s)==="[object Date]"}function at(s,e){if(s===e||s!==s)return()=>s;const l=typeof s;if(l!==typeof e||Array.isArray(s)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(s)){const t=e.map((n,r)=>at(s[r],n));return n=>t.map(r=>r(n))}if(l==="object"){if(!s||!e)throw new Error("Object cannot be null");if(Et(s)&&Et(e)){s=s.getTime(),e=e.getTime();const r=e-s;return o=>new Date(s+o*r)}const t=Object.keys(e),n={};return t.forEach(r=>{n[r]=at(s[r],e[r])}),r=>{const o={};return t.forEach(i=>{o[i]=n[i](r)}),o}}if(l==="number"){const t=e-s;return n=>s+n*t}throw new Error(`Cannot interpolate ${l} values`)}function Wl(s,e={}){const l=Fe(s);let t,n=s;function r(o,i){if(s==null)return l.set(s=o),Promise.resolve();n=o;let a=t,c=!1,{delay:f=0,duration:_=400,easing:p=yl,interpolate:w=at}=_t(_t({},e),i);if(_===0)return a&&(a.abort(),a=null),l.set(s=n),Promise.resolve();const $=El()+f;let V;return t=Tl(m=>{if(m<$)return!0;c||(V=w(s,o),typeof _=="function"&&(_=_(s,o)),c=!0),a&&(a.abort(),a=null);const d=m-$;return d>_?(l.set(s=o),!1):(l.set(s=V(p(d/_))),!0)}),t.promise}return{set:r,update:(o,i)=>r(o(n,s),i),subscribe:l.subscribe}}function Tt(s){let e,l;return{c(){e=g("div"),l=g("div"),this.h()},l(t){e=k(t,"DIV",{class:!0});var n=q(e);l=k(n,"DIV",{class:!0,style:!0}),q(l).forEach(u),n.forEach(u),this.h()},h(){h(l,"class","progress svelte-156y8je"),de(l,"width",s[1]*100+"%"),h(e,"class","progress-container svelte-156y8je")},m(t,n){E(t,e,n),b(e,l)},p(t,n){n&2&&de(l,"width",t[1]*100+"%")},d(t){t&&u(e)}}}function qt(s){let e;return{c(){e=g("div"),this.h()},l(l){e=k(l,"DIV",{class:!0}),q(e).forEach(u),this.h()},h(){h(e,"class","fade svelte-156y8je")},m(l,t){E(l,e,t)},d(l){l&&u(e)}}}function Fl(s){let e,l,t=s[0]&&Tt(s),n=s[1]>=.4&&qt();return{c(){t&&t.c(),e=L(),n&&n.c(),l=ae()},l(r){t&&t.l(r),e=C(r),n&&n.l(r),l=ae()},m(r,o){t&&t.m(r,o),E(r,e,o),n&&n.m(r,o),E(r,l,o)},p(r,[o]){r[0]?t?t.p(r,o):(t=Tt(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null),r[1]>=.4?n||(n=qt(),n.c(),n.m(l.parentNode,l)):n&&(n.d(1),n=null)},i:_e,o:_e,d(r){r&&(u(e),u(l)),t&&t.d(r),n&&n.d(r)}}}function Ql(s,e,l){let t;const n=Wl(0,{easing:Dl});x(s,n,o=>l(1,t=o));let r=!1;return We(()=>{let o;function i(){l(0,r=!0);const a=1-t;n.update(c=>c+.1,{duration:a+.1>.15?250:500/a}),a>.15&&(o=setTimeout(i,500/a))}return o=setTimeout(i,250),()=>clearTimeout(o)}),[r,t,n]}class Jl extends we{constructor(e){super(),$e(this,e,Ql,Fl,ye,{})}}function Yl(s){let e;return{c(){e=ne("Skip to main content")},l(l){e=se(l,"Skip to main content")},m(l,t){E(l,e,t)},d(l){l&&u(e)}}}function Xl(s){let e,l;const t=s[2].default,n=ce(t,s,s[1],null),r=n||Yl();return{c(){e=g("a"),r&&r.c(),this.h()},l(o){e=k(o,"A",{href:!0,class:!0});var i=q(e);r&&r.l(i),i.forEach(u),this.h()},h(){h(e,"href",s[0]),h(e,"class","svelte-1rscj97")},m(o,i){E(o,e,i),r&&r.m(e,null),l=!0},p(o,[i]){n&&n.p&&(!l||i&2)&&fe(n,t,o,o[1],l?he(t,o[1],i,null):ue(o[1]),null),(!l||i&1)&&h(e,"href",o[0])},i(o){l||(y(r,o),l=!0)},o(o){A(r,o),l=!1},d(o){o&&u(e),r&&r.d(o)}}}function xl(s,e,l){let{$$slots:t={},$$scope:n}=e,{href:r}=e;return s.$$set=o=>{"href"in o&&l(0,r=o.href),"$$scope"in o&&l(1,n=o.$$scope)},[r,n,t]}class en extends we{constructor(e){super(),$e(this,e,xl,Xl,ye,{href:0})}}const tn=s=>({}),Vt=s=>({}),ln=s=>({}),At=s=>({});function Nt(s){let e,l;return e=new Jl({}),{c(){Q(e.$$.fragment)},l(t){J(e.$$.fragment,t)},m(t,n){Y(e,t,n),l=!0},i(t){l||(y(e.$$.fragment,t),l=!0)},o(t){A(e.$$.fragment,t),l=!1},d(t){X(e,t)}}}function Mt(s){let e,l,t;e=new en({props:{href:"#main"}});const n=s[6]["top-nav"],r=ce(n,s,s[5],At);return{c(){Q(e.$$.fragment),l=L(),r&&r.c()},l(o){J(e.$$.fragment,o),l=C(o),r&&r.l(o)},m(o,i){Y(e,o,i),E(o,l,i),r&&r.m(o,i),t=!0},p(o,i){r&&r.p&&(!t||i&32)&&fe(r,n,o,o[5],t?he(n,o[5],i,ln):ue(o[5]),At)},i(o){t||(y(e.$$.fragment,o),y(r,o),t=!0)},o(o){A(e.$$.fragment,o),A(r,o),t=!1},d(o){o&&u(l),X(e,o),r&&r.d(o)}}}function nn(s){let e,l,t,n,r,o,i,a,c,f;e=new Gl({});let _=s[2]&&Nt(),p=s[0]&&Mt(s);const w=s[6].default,$=ce(w,s,s[5],null),V=s[6]["banner-bottom"],m=ce(V,s,s[5],Vt);return{c(){Q(e.$$.fragment),l=L(),_&&_.c(),t=L(),p&&p.c(),n=L(),r=g("div"),o=L(),i=g("main"),$&&$.c(),a=L(),c=g("div"),m&&m.c(),this.h()},l(d){J(e.$$.fragment,d),l=C(d),_&&_.l(d),t=C(d),p&&p.l(d),n=C(d),r=k(d,"DIV",{class:!0,"aria-hidden":!0}),q(r).forEach(u),o=C(d),i=k(d,"MAIN",{id:!0,class:!0});var B=q(i);$&&$.l(B),B.forEach(u),a=C(d),c=k(d,"DIV",{class:!0});var P=q(c);m&&m.l(P),P.forEach(u),this.h()},h(){h(r,"class","modal-overlay svelte-1sui5a8"),h(r,"aria-hidden","true"),te(r,"visible",s[3]),h(i,"id","main"),h(i,"class","svelte-1sui5a8"),h(c,"class","banner-bottom")},m(d,B){Y(e,d,B),E(d,l,B),_&&_.m(d,B),E(d,t,B),p&&p.m(d,B),E(d,n,B),E(d,r,B),E(d,o,B),E(d,i,B),$&&$.m(i,null),s[7](i),E(d,a,B),E(d,c,B),m&&m.m(c,null),f=!0},p(d,[B]){d[2]?_?B&4&&y(_,1):(_=Nt(),_.c(),y(_,1),_.m(t.parentNode,t)):_&&(be(),A(_,1,1,()=>{_=null}),ge()),d[0]?p?(p.p(d,B),B&1&&y(p,1)):(p=Mt(d),p.c(),y(p,1),p.m(n.parentNode,n)):p&&(be(),A(p,1,1,()=>{p=null}),ge()),(!f||B&8)&&te(r,"visible",d[3]),$&&$.p&&(!f||B&32)&&fe($,w,d,d[5],f?he(w,d[5],B,null):ue(d[5]),null),m&&m.p&&(!f||B&32)&&fe(m,V,d,d[5],f?he(V,d[5],B,tn):ue(d[5]),Vt)},i(d){f||(y(e.$$.fragment,d),y(_),y(p),y($,d),y(m,d),f=!0)},o(d){A(e.$$.fragment,d),A(_),A(p),A($,d),A(m,d),f=!1},d(d){d&&(u(l),u(t),u(n),u(r),u(o),u(i),u(a),u(c)),X(e,d),_&&_.d(d),p&&p.d(d),$&&$.d(d),s[7](null),m&&m.d(d)}}}function sn(s,e,l){let t,n;x(s,Al,p=>l(2,t=p)),x(s,Ce,p=>l(3,n=p));let{$$slots:r={},$$scope:o}=e,{nav_visible:i=!0}=e,a,c=!1;ct(()=>{c||l(1,a.scrollTop=0,a),c=!1});const f={capture(){return a.scrollTop},restore(p){l(1,a.scrollTop=p,a),c=!0}};function _(p){Me[p?"unshift":"push"](()=>{a=p,l(1,a)})}return s.$$set=p=>{"nav_visible"in p&&l(0,i=p.nav_visible),"$$scope"in p&&l(5,o=p.$$scope)},[i,a,t,n,f,o,r,_]}class rn extends we{constructor(e){super(),$e(this,e,sn,nn,ye,{nav_visible:0,snapshot:4})}get snapshot(){return this.$$.ctx[4]}}function on(s){let e;function l(r,o){return r[1].current==="dark"?cn:an}let t=l(s),n=t(s);return{c(){n.c(),e=ae()},l(r){n.l(r),e=ae()},m(r,o){n.m(r,o),E(r,e,o)},p(r,o){t!==(t=l(r))&&(n.d(1),n=t(r),n&&(n.c(),n.m(e.parentNode,e)))},d(r){r&&u(e),n.d(r)}}}function an(s){let e,l='<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><g fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M0 0h24v24H0z"/><path fill="currentColor" d="M12 19a1 1 0 0 1 .993.883L13 20v1a1 1 0 0 1-1.993.117L11 21v-1a1 1 0 0 1 1-1zm6.313-2.09l.094.083l.7.7a1 1 0 0 1-1.32 1.497l-.094-.083l-.7-.7a1 1 0 0 1 1.218-1.567l.102.07zm-11.306.083a1 1 0 0 1 .083 1.32l-.083.094l-.7.7a1 1 0 0 1-1.497-1.32l.083-.094l.7-.7a1 1 0 0 1 1.414 0zM4 11a1 1 0 0 1 .117 1.993L4 13H3a1 1 0 0 1-.117-1.993L3 11h1zm17 0a1 1 0 0 1 .117 1.993L21 13h-1a1 1 0 0 1-.117-1.993L20 11h1zM6.213 4.81l.094.083l.7.7a1 1 0 0 1-1.32 1.497l-.094-.083l-.7-.7A1 1 0 0 1 6.11 4.74l.102.07zm12.894.083a1 1 0 0 1 .083 1.32l-.083.094l-.7.7a1 1 0 0 1-1.497-1.32l.083-.094l.7-.7a1 1 0 0 1 1.414 0zM12 2a1 1 0 0 1 .993.883L13 3v1a1 1 0 0 1-1.993.117L11 4V3a1 1 0 0 1 1-1zm0 5a5 5 0 1 1-4.995 5.217L7 12l.005-.217A5 5 0 0 1 12 7z"/></g></svg>',t;return{c(){e=new _l(!1),t=ae(),this.h()},l(n){e=ml(n,!1),t=ae(),this.h()},h(){e.a=t},m(n,r){e.m(l,n,r),E(n,t,r)},d(n){n&&(u(t),e.d())}}}function cn(s){let e,l='<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill="currentColor" d="M12 21q-3.775 0-6.388-2.613T3 12q0-3.45 2.25-5.988T11 3.05q.625-.075.975.45t-.025 1.1q-.425.65-.638 1.375T11.1 7.5q0 2.25 1.575 3.825T16.5 12.9q.775 0 1.538-.225t1.362-.625q.525-.35 1.075-.037t.475.987q-.35 3.45-2.937 5.725T12 21Zm0-2q2.2 0 3.95-1.213t2.55-3.162q-.5.125-1 .2t-1 .075q-3.075 0-5.238-2.163T9.1 7.5q0-.5.075-1t.2-1q-1.95.8-3.163 2.55T5 12q0 2.9 2.05 4.95T12 19Zm-.25-6.75Z"/></svg>',t;return{c(){e=new _l(!1),t=ae(),this.h()},l(n){e=ml(n,!1),t=ae(),this.h()},h(){e.a=t},m(n,r){e.m(l,n,r),E(n,t,r)},d(n){n&&(u(t),e.d())}}}function fn(s){let e,l,t,n,r,o,i=on(s);return{c(){e=g("button"),l=g("span"),t=g("span"),i&&i.c(),this.h()},l(a){e=k(a,"BUTTON",{type:!0,"aria-pressed":!0,"aria-label":!0,class:!0});var c=q(e);l=k(c,"SPAN",{class:!0});var f=q(l);t=k(f,"SPAN",{class:!0});var _=q(t);i&&i.l(_),_.forEach(u),f.forEach(u),c.forEach(u),this.h()},h(){h(t,"class","icon svelte-1b9q9nc"),h(l,"class","check svelte-1b9q9nc"),te(l,"checked",s[1].current==="dark"),h(e,"type","button"),h(e,"aria-pressed",n=s[1].current==="dark"?"true":"false"),h(e,"aria-label",s[0]),h(e,"class","svelte-1b9q9nc")},m(a,c){E(a,e,c),b(e,l),b(l,t),i&&i.m(t,null),r||(o=le(e,"click",s[2]),r=!0)},p(a,[c]){i.p(a,c),c&2&&te(l,"checked",a[1].current==="dark"),c&2&&n!==(n=a[1].current==="dark"?"true":"false")&&h(e,"aria-pressed",n),c&1&&h(e,"aria-label",a[0])},i:_e,o:_e,d(a){a&&u(e),i&&i.d(),r=!1,o()}}}function un(s,e,l){let t;x(s,Le,a=>l(1,t=a));let{label:n="Dark mode"}=e;function r(){const a=t.current==="light"?"dark":"light";a===(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")?F(Le,t.preference="system",t):F(Le,t.preference=a,t),F(Le,t.current=a,t)}const o=a=>Le.set({preference:t.preference,current:a.matches?"dark":"light"});let i;return wl(()=>i?.removeEventListener("change",o)),s.$$set=a=>{"label"in a&&l(0,n=a.label)},s.$$.update=()=>{s.$$.dirty&10&&(i?.removeEventListener("change",o),t.preference==="system"&&(l(3,i=window.matchMedia("(prefers-color-scheme: dark)")),i.addEventListener("change",o)))},[n,t,r,i]}class vl extends we{constructor(e){super(),$e(this,e,un,fn,ye,{label:0})}}function bl(s){const e=Array.from(s.querySelectorAll('a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])')),l=e.indexOf(document.activeElement);return{next:n=>{const r=[...e.slice(l+1),...e.slice(0,l+1)];for(let o=0;o<r.length;o+=1)if(!n||r[o].matches(n)){r[o].focus();return}},prev:n=>{const r=[...e.slice(l+1),...e.slice(0,l+1)];for(let o=r.length-2;o>=0;o-=1)if(!n||r[o].matches(n)){r[o].focus();return}},update:n=>{let r=l+n;r+=e.length,r%=e.length,e[r].focus()}}}function gl(s,{reset_focus:e=!0}={}){const l=document.activeElement,t=n=>{if(n.key==="Tab"){n.preventDefault();const r=bl(s);n.shiftKey?r.prev():r.next()}};return s.addEventListener("keydown",t),{destroy:()=>{s.removeEventListener("keydown",t),e&&l?.focus({preventScroll:!0})}}}function Bt(s,e,l){const t=s.slice();return t[5]=e[l].sections,t[6]=e[l].title,t[8]=l,t}function Dt(s,e,l){const t=s.slice();return t[6]=e[l].title,t[9]=e[l].sections,t}function Lt(s,e,l){const t=s.slice();return t[12]=e[l].path,t[6]=e[l].title,t[13]=e[l].badge,t}function Ct(s){let e,l=ke(s[0]),t=[];for(let n=0;n<l.length;n+=1)t[n]=Zt(Bt(s,l,n));return{c(){for(let n=0;n<t.length;n+=1)t[n].c();e=ae()},l(n){for(let r=0;r<t.length;r+=1)t[r].l(n);e=ae()},m(n,r){for(let o=0;o<t.length;o+=1)t[o]&&t[o].m(n,r);E(n,e,r)},p(n,r){if(r&5){l=ke(n[0]);let o;for(o=0;o<l.length;o+=1){const i=Bt(n,l,o);t[o]?t[o].p(i,r):(t[o]=Zt(i),t[o].c(),t[o].m(e.parentNode,e))}for(;o<t.length;o+=1)t[o].d(1);t.length=l.length}},d(n){n&&u(e),Se(t,n)}}}function It(s){let e,l=ke(s[5]),t=[];for(let n=0;n<l.length;n+=1)t[n]=zt(Dt(s,l,n));return{c(){e=g("ul");for(let n=0;n<t.length;n+=1)t[n].c();this.h()},l(n){e=k(n,"UL",{class:!0});var r=q(e);for(let o=0;o<t.length;o+=1)t[o].l(r);r.forEach(u),this.h()},h(){h(e,"class","svelte-g9bops")},m(n,r){E(n,e,r);for(let o=0;o<t.length;o+=1)t[o]&&t[o].m(e,null)},p(n,r){if(r&5){l=ke(n[5]);let o;for(o=0;o<l.length;o+=1){const i=Dt(n,l,o);t[o]?t[o].p(i,r):(t[o]=zt(i),t[o].c(),t[o].m(e,null))}for(;o<t.length;o+=1)t[o].d(1);t.length=l.length}},d(n){n&&u(e),Se(t,n)}}}function St(s){let e,l=s[6]+"",t;return{c(){e=g("h4"),t=ne(l),this.h()},l(n){e=k(n,"H4",{class:!0});var r=q(e);t=se(r,l),r.forEach(u),this.h()},h(){h(e,"class","svelte-g9bops")},m(n,r){E(n,e,r),b(e,t)},p(n,r){r&1&&l!==(l=n[6]+"")&&qe(t,l)},d(n){n&&u(e)}}}function Ht(s){let e,l,t,n=s[13]+"",r;return{c(){e=g("span"),l=L(),t=g("span"),r=ne(n),this.h()},l(o){e=k(o,"SPAN",{style:!0}),q(e).forEach(u),l=C(o),t=k(o,"SPAN",{class:!0});var i=q(t);r=se(i,n),i.forEach(u),this.h()},h(){de(e,"flex","1 1 auto"),h(t,"class","badge svelte-g9bops")},m(o,i){E(o,e,i),E(o,l,i),E(o,t,i),b(t,r)},p(o,i){i&1&&n!==(n=o[13]+"")&&qe(r,n)},d(o){o&&(u(e),u(l),u(t))}}}function jt(s){let e,l,t=s[6]+"",n,r,o,i,a,c=s[13]&&Ht(s);return{c(){e=g("li"),l=g("a"),n=ne(t),r=L(),c&&c.c(),a=L(),this.h()},l(f){e=k(f,"LI",{class:!0});var _=q(e);l=k(_,"A",{href:!0,"aria-current":!0,class:!0});var p=q(l);n=se(p,t),r=C(p),c&&c.l(p),p.forEach(u),a=C(_),_.forEach(u),this.h()},h(){h(l,"href",o=s[12]),h(l,"aria-current",i=s[12]===s[2].url.pathname),h(l,"class","svelte-g9bops"),h(e,"class","svelte-g9bops")},m(f,_){E(f,e,_),b(e,l),b(l,n),b(l,r),c&&c.m(l,null),b(e,a)},p(f,_){_&1&&t!==(t=f[6]+"")&&qe(n,t),f[13]?c?c.p(f,_):(c=Ht(f),c.c(),c.m(l,null)):c&&(c.d(1),c=null),_&1&&o!==(o=f[12])&&h(l,"href",o),_&5&&i!==(i=f[12]===f[2].url.pathname)&&h(l,"aria-current",i)},d(f){f&&u(e),c&&c.d()}}}function zt(s){let e,l,t,n,r=s[6]&&St(s),o=ke(s[9]),i=[];for(let a=0;a<o.length;a+=1)i[a]=jt(Lt(s,o,a));return{c(){e=g("li"),r&&r.c(),l=L(),t=g("ul");for(let a=0;a<i.length;a+=1)i[a].c();n=L(),this.h()},l(a){e=k(a,"LI",{class:!0});var c=q(e);r&&r.l(c),l=C(c),t=k(c,"UL",{class:!0});var f=q(t);for(let _=0;_<i.length;_+=1)i[_].l(f);f.forEach(u),n=C(c),c.forEach(u),this.h()},h(){h(t,"class","svelte-g9bops"),h(e,"class","svelte-g9bops")},m(a,c){E(a,e,c),r&&r.m(e,null),b(e,l),b(e,t);for(let f=0;f<i.length;f+=1)i[f]&&i[f].m(t,null);b(e,n)},p(a,c){if(a[6]?r?r.p(a,c):(r=St(a),r.c(),r.m(e,l)):r&&(r.d(1),r=null),c&5){o=ke(a[9]);let f;for(f=0;f<o.length;f+=1){const _=Lt(a,o,f);i[f]?i[f].p(_,c):(i[f]=jt(_),i[f].c(),i[f].m(t,null))}for(;f<i.length;f+=1)i[f].d(1);i.length=o.length}},d(a){a&&u(e),r&&r.d(),Se(i,a)}}}function Pt(s){let e;return{c(){e=g("hr"),this.h()},l(l){e=k(l,"HR",{class:!0}),this.h()},h(){h(e,"class","svelte-g9bops")},m(l,t){E(l,e,t)},d(l){l&&u(e)}}}function Zt(s){let e,l,t=s[6]+"",n,r,o,i,a=s[5].length!==0&&It(s),c=s[0].length!==1&&s[8]!==s[0].length-1&&Pt();return{c(){e=g("section"),l=g("h3"),n=ne(t),r=L(),a&&a.c(),o=L(),c&&c.c(),i=L(),this.h()},l(f){e=k(f,"SECTION",{class:!0});var _=q(e);l=k(_,"H3",{class:!0});var p=q(l);n=se(p,t),p.forEach(u),r=C(_),a&&a.l(_),o=C(_),c&&c.l(_),i=C(_),_.forEach(u),this.h()},h(){h(l,"class","svelte-g9bops"),h(e,"class","svelte-g9bops")},m(f,_){E(f,e,_),b(e,l),b(l,n),b(e,r),a&&a.m(e,null),b(e,o),c&&c.m(e,null),b(e,i)},p(f,_){_&1&&t!==(t=f[6]+"")&&qe(n,t),f[5].length!==0?a?a.p(f,_):(a=It(f),a.c(),a.m(e,o)):a&&(a.d(1),a=null),f[0].length!==1&&f[8]!==f[0].length-1?c||(c=Pt(),c.c(),c.m(e,i)):c&&(c.d(1),c=null)},d(f){f&&u(e),a&&a.d(),c&&c.d()}}}function hn(s){let e,l=s[0]&&Ct(s);return{c(){e=g("nav"),l&&l.c(),this.h()},l(t){e=k(t,"NAV",{class:!0});var n=q(e);l&&l.l(n),n.forEach(u),this.h()},h(){h(e,"class","svelte-g9bops")},m(t,n){E(t,e,n),l&&l.m(e,null),s[4](e)},p(t,[n]){t[0]?l?l.p(t,n):(l=Ct(t),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:_e,o:_e,d(t){t&&u(e),l&&l.d(),s[4](null)}}}function _n(s,e,l){let t;x(s,tt,a=>l(2,t=a));let{contents:n=[]}=e,r;We(()=>{o()});async function o(){const a=r.querySelector('[aria-current="true"]');if(!a){l(1,r.scrollTop=0,r);return}const c=r.offsetHeight/2,f=a.offsetHeight/2,p=a.offsetTop-c+f;requestAnimationFrame(()=>l(1,r.scrollTop=p,r))}function i(a){Me[a?"unshift":"push"](()=>{r=a,l(1,r)})}return s.$$set=a=>{"contents"in a&&l(0,n=a.contents)},[n,r,t,o,i]}class mn extends we{constructor(e){super(),$e(this,e,_n,hn,ye,{contents:0,scrollToActive:3})}get scrollToActive(){return this.$$.ctx[3]}}const dn=s=>({}),Ot=s=>({});function Ut(s,e,l){const t=s.slice();return t[30]=e[l],t}function Rt(s){let e,l,t,n,r,o,i,a,c,f,_,p,w,$,V,m,d,B,P,S,z=`${s[4]-s[5]}px`,O,I,v,Z,W,R=ke(s[1]),K=[];for(let N=0;N<R.length;N+=1)K[N]=Gt(Ut(s,R,N));const D=N=>A(K[N],1,1,()=>{K[N]=null}),re=s[16].default,U=ce(re,s,s[15],null);let me=Ie&&pn(s);d=new Ae({props:{name:"arrow-left",size:".6em"}});const M=s[16]["back-button"],ee=ce(M,s,s[15],Ot),ie=ee||vn();return{c(){e=g("div"),l=g("div"),t=g("div"),r=L(),o=g("div"),i=g("div"),a=g("div"),c=g("div");for(let N=0;N<K.length;N+=1)K[N].c();f=L(),U&&U.c(),p=L(),w=g("div"),me&&me.c(),V=L(),m=g("button"),Q(d.$$.fragment),B=L(),P=g("span"),ie&&ie.c(),this.h()},l(N){e=k(N,"DIV",{class:!0});var j=q(e);l=k(j,"DIV",{class:!0});var H=q(l);t=k(H,"DIV",{class:!0}),q(t).forEach(u),r=C(H),o=k(H,"DIV",{class:!0});var Te=q(o);i=k(Te,"DIV",{class:!0});var oe=q(i);a=k(oe,"DIV",{class:!0});var He=q(a);c=k(He,"DIV",{class:!0});var Ne=q(c);for(let T=0;T<K.length;T+=1)K[T].l(Ne);f=C(Ne),U&&U.l(Ne),Ne.forEach(u),He.forEach(u),p=C(oe),w=k(oe,"DIV",{class:!0});var Ee=q(w);me&&me.l(Ee),Ee.forEach(u),V=C(oe),m=k(oe,"BUTTON",{class:!0});var je=q(m);J(d.$$.fragment,je),B=C(je),P=k(je,"SPAN",{});var Ue=q(P);ie&&ie.l(Ue),Ue.forEach(u),je.forEach(u),oe.forEach(u),Te.forEach(u),H.forEach(u),j.forEach(u),this.h()},h(){h(t,"class","menu-background svelte-1ih0snl"),te(t,"dark",s[11].current==="dark"),te(t,"ready",s[6]),de(t,"height",s[12]?"99%":`${s[5]}px`),de(t,"--background",s[12]?"var(--sk-back-3)":null),h(c,"class","contents svelte-1ih0snl"),Xe(()=>s[21].call(c)),h(a,"class","universal svelte-1ih0snl"),a.inert=s[12],h(w,"class","context svelte-1ih0snl"),w.inert=$=!s[12],h(m,"class","back-button svelte-1ih0snl"),m.inert=!Ge,te(m,"dark",s[11].current==="dark"),h(i,"class","viewport svelte-1ih0snl"),Xe(()=>s[25].call(i)),te(i,"reduced-motion",s[9]),te(i,"offset",s[12]),h(o,"class","clip svelte-1ih0snl"),de(o,"--height-difference",z),h(l,"class","mobile-main-menu svelte-1ih0snl"),h(e,"class","menu svelte-1ih0snl")},m(N,j){E(N,e,j),b(e,l),b(l,t),b(l,r),b(l,o),b(o,i),b(i,a),b(a,c);for(let H=0;H<K.length;H+=1)K[H]&&K[H].m(c,null);b(c,f),U&&U.m(c,null),_=mt(c,s[21].bind(c)),s[22](a),b(i,p),b(i,w),me&&me.m(w,null),b(i,V),b(i,m),Y(d,m,null),b(m,B),b(m,P),ie&&ie.m(P,null),S=mt(i,s[25].bind(i)),v=!0,Z||(W=[Ze(n=kn.call(null,t,s[19])),le(m,"click",s[24]),le(o,"transitionstart",s[26]),le(o,"transitionend",s[27]),Ze(gl.call(null,e,{reset_focus:!1}))],Z=!0)},p(N,j){if(n&&$l(n.update)&&j[0]&64&&n.update.call(null,N[19]),(!v||j[0]&2048)&&te(t,"dark",N[11].current==="dark"),(!v||j[0]&64)&&te(t,"ready",N[6]),j[0]&4128&&de(t,"height",N[12]?"99%":`${N[5]}px`),j[0]&4096&&de(t,"--background",N[12]?"var(--sk-back-3)":null),j[0]&5130){R=ke(N[1]);let H;for(H=0;H<R.length;H+=1){const Te=Ut(N,R,H);K[H]?(K[H].p(Te,j),y(K[H],1)):(K[H]=Gt(Te),K[H].c(),y(K[H],1),K[H].m(c,f))}for(be(),H=R.length;H<K.length;H+=1)D(H);ge()}U&&U.p&&(!v||j[0]&32768)&&fe(U,re,N,N[15],v?he(re,N[15],j,null):ue(N[15]),null),(!v||j[0]&4096)&&(a.inert=N[12]),Ie&&me.p(N,j),(!v||j[0]&4096&&$!==($=!N[12]))&&(w.inert=$),ee&&ee.p&&(!v||j[0]&32768)&&fe(ee,M,N,N[15],v?he(M,N[15],j,dn):ue(N[15]),Ot),(!v||j[0]&2048)&&te(m,"dark",N[11].current==="dark"),(!v||j[0]&512)&&te(i,"reduced-motion",N[9]),(!v||j[0]&4096)&&te(i,"offset",N[12]),j[0]&48&&z!==(z=`${N[4]-N[5]}px`)&&de(o,"--height-difference",z)},i(N){if(!v){for(let j=0;j<R.length;j+=1)y(K[j]);y(U,N),y(me),y(d.$$.fragment,N),y(ie,N),N&&Xe(()=>{v&&(I&&I.end(1),O=ql(l,s[14],{}),O.start())}),v=!0}},o(N){K=K.filter(Boolean);for(let j=0;j<K.length;j+=1)A(K[j]);A(U,N),A(me),A(d.$$.fragment,N),A(ie,N),O&&O.invalidate(),N&&(I=Vl(l,s[14],{duration:500,easing:ot})),v=!1},d(N){N&&u(e),Se(K,N),U&&U.d(N),_(),s[22](null),me&&me.d(),X(d),ie&&ie.d(N),S(),N&&I&&I.end(),Z=!1,Oe(W)}}}function Kt(s){let e,l,t,n,r,o;l=new Ae({props:{name:"arrow-right-chevron",size:"6rem"}});function i(){return s[20](s[30])}return{c(){e=g("button"),Q(l.$$.fragment),this.h()},l(a){e=k(a,"BUTTON",{class:!0,"aria-label":!0});var c=q(e);J(l.$$.fragment,c),c.forEach(u),this.h()},h(){h(e,"class","related-menu-arrow svelte-1ih0snl"),h(e,"aria-label",t="Show "+s[30].title+" submenu")},m(a,c){E(a,e,c),Y(l,e,null),n=!0,r||(o=le(e,"click",rt(i)),r=!0)},p(a,c){s=a,(!n||c[0]&2&&t!==(t="Show "+s[30].title+" submenu"))&&h(e,"aria-label",t)},i(a){n||(y(l.$$.fragment,a),n=!0)},o(a){A(l.$$.fragment,a),n=!1},d(a){a&&u(e),X(l),r=!1,o()}}}function Gt(s){let e,l,t=s[30].title+"",n,r,o,i,a=s[30].sections&&Kt(s);return{c(){e=g("div"),l=g("a"),n=ne(t),o=L(),a&&a.c(),this.h()},l(c){e=k(c,"DIV",{class:!0});var f=q(e);l=k(f,"A",{href:!0});var _=q(l);n=se(_,t),_.forEach(u),o=C(f),a&&a.l(f),f.forEach(u),this.h()},h(){h(l,"href",r=s[30].pathname),h(e,"class","link-item svelte-1ih0snl"),de(e,"--button-width",s[30].sections?"4rem":"0")},m(c,f){E(c,e,f),b(e,l),b(l,n),b(e,o),a&&a.m(e,null),i=!0},p(c,f){(!i||f[0]&2)&&t!==(t=c[30].title+"")&&qe(n,t),(!i||f[0]&2&&r!==(r=c[30].pathname))&&h(l,"href",r),c[30].sections?a?(a.p(c,f),f[0]&2&&y(a,1)):(a=Kt(c),a.c(),y(a,1),a.m(e,null)):a&&(be(),A(a,1,1,()=>{a=null}),ge()),f[0]&2&&de(e,"--button-width",c[30].sections?"4rem":"0")},i(c){i||(y(a),i=!0)},o(c){A(a),i=!1},d(c){c&&u(e),a&&a.d()}}}function pn(s){let e,l,t={contents:s[10]?.sections};return e=new mn({props:t}),s[23](e),{c(){Q(e.$$.fragment)},l(n){J(e.$$.fragment,n)},m(n,r){Y(e,n,r),l=!0},p(n,r){const o={};r[0]&1024&&(o.contents=n[10]?.sections),e.$set(o)},i(n){l||(y(e.$$.fragment,n),l=!0)},o(n){A(e.$$.fragment,n),l=!1},d(n){s[23](null),X(e,n)}}}function vn(s){let e;return{c(){e=ne("Back to main menu")},l(l){e=se(l,"Back to main menu")},m(l,t){E(l,e,t)},d(l){l&&u(e)}}}function bn(s){let e,l,t,n,r,o,i;t=new Ae({props:{name:s[2]?"close":"menu",size:"1em"}});let a=s[2]&&Rt(s);return{c(){e=g("div"),l=g("button"),Q(t.$$.fragment),n=L(),a&&a.c(),this.h()},l(c){e=k(c,"DIV",{style:!0});var f=q(e);l=k(f,"BUTTON",{"aria-label":!0,"aria-expanded":!0,class:!0});var _=q(l);J(t.$$.fragment,_),_.forEach(u),n=C(f),a&&a.l(f),f.forEach(u),this.h()},h(){h(l,"aria-label","Toggle menu"),h(l,"aria-expanded",s[2]),h(l,"class","menu-toggle svelte-1ih0snl"),te(l,"open",s[0]),de(e,"display","contents")},m(c,f){E(c,e,f),b(e,l),Y(t,l,null),s[18](l),b(e,n),a&&a.m(e,null),r=!0,o||(i=[le(window,"keydown",s[17]),le(l,"click",gn),Ze(Ll.call(null,e,s[13])),Ze(Cl.call(null,e,s[13]))],o=!0)},p(c,f){const _={};f[0]&4&&(_.name=c[2]?"close":"menu"),t.$set(_),(!r||f[0]&4)&&h(l,"aria-expanded",c[2]),(!r||f[0]&1)&&te(l,"open",c[0]),c[2]?a?(a.p(c,f),f[0]&4&&y(a,1)):(a=Rt(c),a.c(),y(a,1),a.m(e,null)):a&&(be(),A(a,1,1,()=>{a=null}),ge())},i(c){r||(y(t.$$.fragment,c),y(a),r=!0)},o(c){A(t.$$.fragment,c),A(a),r=!1},d(c){c&&u(e),X(t),s[18](null),a&&a.d(),o=!1,Oe(i)}}}const Pe=Fe(!1),Ie=Fe(void 0),Ge=Fe(!1),it=Fe([]);function gn(){if(Ke(Pe))Pe.set(!1);else{Pe.set(!0);const s=Ke(tt).url.pathname.split("/")[1];Ie.set(Ke(it).find(e=>e.prefix===s)),Ge.set(!!Ke(Ie)?.sections&&!!Ke(Ie))}}function kn(s,e){return setTimeout(()=>{e(!0)}),{destroy(){e(!1)}}}function yn(s,e,l){let t,n,r,o,i,a,c;x(s,Pe,M=>l(2,t=M)),x(s,Ce,M=>l(28,n=M)),x(s,Ml,M=>l(9,r=M)),x(s,Ie,M=>l(10,o=M)),x(s,it,M=>l(29,i=M)),x(s,Le,M=>l(11,a=M)),x(s,Ge,M=>l(12,c=M));let{$$slots:f={},$$scope:_}=e,{open:p}=e,{links:w}=e,$,V=0,m=0,d=!1,B,P;function S(){l(0,p=!1),F(Pe,t=p,t)}ct(S);const z=(M,{duration:ee=400,easing:ie=Il}={})=>{const N=o?M.clientHeight:m;return{css:(j,H)=>r?`opacity: ${j}`:`transform: translate3d(0, ${N*H}px, 0) scale3d(${.9+.1*j}, ${.9+.1*j}, 1)`,easing:ie,duration:ee}},O=M=>{M.key==="Escape"&&(S(),xe().then(()=>P.focus()))};function I(M){Me[M?"unshift":"push"](()=>{P=M,l(8,P)})}const v=M=>l(6,d=M),Z=async M=>{F(Ie,o=M,o),await xe(),F(Ge,c=!0,c),await xe(),$.scrollToActive()};function W(){m=this.clientHeight,l(5,m)}function R(M){Me[M?"unshift":"push"](()=>{B=M,l(7,B)})}function K(M){Me[M?"unshift":"push"](()=>{$=M,l(3,$)})}const D=()=>F(Ge,c=!1,c);function re(){V=this.clientHeight,l(4,V)}const U=M=>{if(!M.target?.classList.contains("viewport")||M.propertyName!=="transform")return;const ie="calc(var(--height-difference) + 1px)",N="1px",j=c?ie:N,H=c?N:ie,Te=M.currentTarget;Te.style.clipPath=`polygon(0% ${j}, 100% ${j}, 100% 100%, 0% 100%)`,setTimeout(()=>{Te.style.clipPath=`polygon(0% ${H}, 100% ${H}, 100% 100%, 0% 100%)`},0)},me=M=>{M.target?.classList.contains("viewport")&&M.propertyName==="transform"&&(M.currentTarget.style.clipPath="",c||B.querySelector("a")?.focus())};return s.$$set=M=>{"open"in M&&l(0,p=M.open),"links"in M&&l(1,w=M.links),"$$scope"in M&&l(15,_=M.$$scope)},s.$$.update=()=>{s.$$.dirty[0]&1&&F(Pe,t=p,t),s.$$.dirty[0]&2&&F(it,i=w,i),s.$$.dirty[0]&4&&F(Ce,n=t,n)},[p,w,t,$,V,m,d,B,P,r,o,a,c,S,z,_,f,O,I,v,Z,W,R,K,D,re,U,me]}class wn extends we{constructor(e){super(),$e(this,e,yn,bn,ye,{open:0,links:1},null,[-1,-1])}}function $n(s){let e;return{c(){e=g("hr"),this.h()},l(l){e=k(l,"HR",{class:!0}),this.h()},h(){h(e,"class","svelte-hbkmlj")},m(l,t){E(l,e,t)},p:_e,i:_e,o:_e,d(l){l&&u(e)}}}class et extends we{constructor(e){super(),$e(this,e,null,$n,ye,{})}}const En=s=>({}),Wt=s=>({}),Tn=s=>({}),Ft=s=>({}),qn=s=>({}),Qt=s=>({}),Vn=s=>({}),Jt=s=>({});function Yt(s,e,l){const t=s.slice();return t[21]=e[l],t}const An=s=>({}),Xt=s=>({}),Nn=s=>({}),xt=s=>({}),Mn=s=>({}),el=s=>({});function tl(s){let e,l,t;return{c(){e=g("div"),l=ne("｜ "),t=ne(s[1]),this.h()},l(n){e=k(n,"DIV",{class:!0});var r=q(e);l=se(r,"｜ "),t=se(r,s[1]),r.forEach(u),this.h()},h(){h(e,"class","current-section mobile svelte-1wcjdtw")},m(n,r){E(n,e,r),b(e,l),b(e,t)},p(n,r){r&2&&qe(t,n[1])},d(n){n&&u(e)}}}function ll(s){let e,l=s[21].title+"",t,n,r;return{c(){e=g("a"),t=ne(l),this.h()},l(o){e=k(o,"A",{href:!0,"aria-current":!0});var i=q(e);t=se(i,l),i.forEach(u),this.h()},h(){h(e,"href",n=s[21].pathname),h(e,"aria-current",r=s[10].url.pathname.startsWith(`/${s[21].prefix}`)?"page":null)},m(o,i){E(o,e,i),b(e,t)},p(o,i){i&4&&l!==(l=o[21].title+"")&&qe(t,l),i&4&&n!==(n=o[21].pathname)&&h(e,"href",n),i&1028&&r!==(r=o[10].url.pathname.startsWith(`/${o[21].prefix}`)?"page":null)&&h(e,"aria-current",r)},d(o){o&&u(e)}}}function Bn(s){let e;return{c(){e=ne("Theme")},l(l){e=se(l,"Theme")},m(l,t){E(l,e,t)},d(l){l&&u(e)}}}function Dn(s){let e;return{c(){e=ne("Theme")},l(l){e=se(l,"Theme")},m(l,t){E(l,e,t)},d(l){l&&u(e)}}}function Ln(s){let e,l,t,n,r,o,i,a,c,f;e=new et({});const _=s[14]["external-links"],p=ce(_,s,s[18],Ft);n=new et({});const w=s[14]["theme-label"],$=ce(w,s,s[18],Wt),V=$||Dn();return c=new vl({}),{c(){Q(e.$$.fragment),l=L(),p&&p.c(),t=L(),Q(n.$$.fragment),r=L(),o=g("div"),i=g("span"),V&&V.c(),a=L(),Q(c.$$.fragment),this.h()},l(m){J(e.$$.fragment,m),l=C(m),p&&p.l(m),t=C(m),J(n.$$.fragment,m),r=C(m),o=k(m,"DIV",{class:!0});var d=q(o);i=k(d,"SPAN",{class:!0});var B=q(i);V&&V.l(B),B.forEach(u),a=C(d),J(c.$$.fragment,d),d.forEach(u),this.h()},h(){h(i,"class","caption svelte-1wcjdtw"),h(o,"class","appearance svelte-1wcjdtw")},m(m,d){Y(e,m,d),E(m,l,d),p&&p.m(m,d),E(m,t,d),Y(n,m,d),E(m,r,d),E(m,o,d),b(o,i),V&&V.m(i,null),b(o,a),Y(c,o,null),f=!0},p(m,d){p&&p.p&&(!f||d&262144)&&fe(p,_,m,m[18],f?he(_,m[18],d,Tn):ue(m[18]),Ft),$&&$.p&&(!f||d&262144)&&fe($,w,m,m[18],f?he(w,m[18],d,En):ue(m[18]),Wt)},i(m){f||(y(e.$$.fragment,m),y(p,m),y(n.$$.fragment,m),y(V,m),y(c.$$.fragment,m),f=!0)},o(m){A(e.$$.fragment,m),A(p,m),A(n.$$.fragment,m),A(V,m),A(c.$$.fragment,m),f=!1},d(m){m&&(u(l),u(t),u(r),u(o)),X(e,m),p&&p.d(m),X(n,m),V&&V.d(m),X(c)}}}function Cn(s){let e,l,t,n,r,o,i,a,c,f,_,p,w,$,V,m,d,B,P,S,z,O,I,v,Z,W,R,K,D;const re=s[14]["home-large"],U=ce(re,s,s[18],el),me=s[14]["home-small"],M=ce(me,s,s[18],xt);let ee=s[1]&&tl(s);const ie=s[14].search,N=ce(ie,s,s[18],Xt);let j=ke(s[2]),H=[];for(let T=0;T<j.length;T+=1)H[T]=ll(Yt(s,j,T));w=new et({});const Te=s[14]["external-links"],oe=ce(Te,s,s[18],Jt),He=s[14]["theme-label"],Ne=ce(He,s,s[18],Qt),Ee=Ne||Bn();P=new vl({}),I=new Ae({props:{name:"search",size:".6em"}});function je(T){s[16](T)}let Ue={links:s[2],$$slots:{default:[Ln]},$$scope:{ctx:s}};return s[5]!==void 0&&(Ue.open=s[5]),Z=new wn({props:Ue}),Me.push(()=>pl(Z,"open",je)),{c(){e=g("nav"),l=g("a"),t=g("span"),U&&U.c(),n=L(),r=g("span"),M&&M.c(),o=L(),ee&&ee.c(),i=L(),a=g("div"),c=g("div"),N&&N.c(),f=L(),_=g("div");for(let T=0;T<H.length;T+=1)H[T].c();p=L(),Q(w.$$.fragment),$=L(),oe&&oe.c(),V=L(),m=g("div"),d=g("span"),Ee&&Ee.c(),B=L(),Q(P.$$.fragment),S=L(),z=g("div"),O=g("button"),Q(I.$$.fragment),v=L(),Q(Z.$$.fragment),this.h()},l(T){e=k(T,"NAV",{"aria-label":!0,class:!0});var G=q(e);l=k(G,"A",{class:!0,href:!0,title:!0});var ve=q(l);t=k(ve,"SPAN",{class:!0});var pe=q(t);U&&U.l(pe),pe.forEach(u),n=C(ve),r=k(ve,"SPAN",{class:!0});var Re=q(r);M&&M.l(Re),Re.forEach(u),ve.forEach(u),o=C(G),ee&&ee.l(G),i=C(G),a=k(G,"DIV",{class:!0});var Qe=q(a);c=k(Qe,"DIV",{class:!0});var ft=q(c);N&&N.l(ft),ft.forEach(u),f=C(Qe),_=k(Qe,"DIV",{class:!0});var Be=q(_);for(let lt=0;lt<H.length;lt+=1)H[lt].l(Be);p=C(Be),J(w.$$.fragment,Be),$=C(Be),oe&&oe.l(Be),V=C(Be),m=k(Be,"DIV",{class:!0});var Je=q(m);d=k(Je,"SPAN",{class:!0});var ut=q(d);Ee&&Ee.l(ut),ut.forEach(u),B=C(Je),J(P.$$.fragment,Je),Je.forEach(u),Be.forEach(u),Qe.forEach(u),S=C(G),z=k(G,"DIV",{class:!0});var Ye=q(z);O=k(Ye,"BUTTON",{"aria-label":!0,class:!0});var ht=q(O);J(I.$$.fragment,ht),ht.forEach(u),v=C(Ye),J(Z.$$.fragment,Ye),Ye.forEach(u),G.forEach(u),this.h()},h(){h(t,"class","home-large svelte-1wcjdtw"),h(r,"class","home-small svelte-1wcjdtw"),h(l,"class","home-link svelte-1wcjdtw"),h(l,"href","/"),h(l,"title",s[0]),h(c,"class","center-area svelte-1wcjdtw"),h(d,"class","caption svelte-1wcjdtw"),h(m,"class","appearance svelte-1wcjdtw"),h(_,"class","menu svelte-1wcjdtw"),h(a,"class","desktop svelte-1wcjdtw"),h(O,"aria-label","Search"),h(O,"class","search svelte-1wcjdtw"),h(z,"class","mobile mobile-menu svelte-1wcjdtw"),h(e,"aria-label","Primary"),h(e,"class","svelte-1wcjdtw"),te(e,"visible",s[3]||s[5]),te(e,"$nav_open",s[5]),te(e,"dark",s[6].current==="dark"),de(e,"z-index",s[7]&&(s[8]||s[9])?80:null)},m(T,G){E(T,e,G),b(e,l),b(l,t),U&&U.m(t,null),b(l,n),b(l,r),M&&M.m(r,null),b(e,o),ee&&ee.m(e,null),b(e,i),b(e,a),b(a,c),N&&N.m(c,null),b(a,f),b(a,_);for(let ve=0;ve<H.length;ve+=1)H[ve]&&H[ve].m(_,null);b(_,p),Y(w,_,null),b(_,$),oe&&oe.m(_,null),b(_,V),b(_,m),b(m,d),Ee&&Ee.m(d,null),b(m,B),Y(P,m,null),b(e,S),b(e,z),b(z,O),Y(I,O,null),b(z,v),Y(Z,z,null),s[17](e),R=!0,K||(D=[Ze(Hl.call(null,window,s[12])),le(window,"hashchange",s[11]),le(window,"focusin",s[13]),le(O,"click",s[15])],K=!0)},p(T,[G]){if(U&&U.p&&(!R||G&262144)&&fe(U,re,T,T[18],R?he(re,T[18],G,Mn):ue(T[18]),el),M&&M.p&&(!R||G&262144)&&fe(M,me,T,T[18],R?he(me,T[18],G,Nn):ue(T[18]),xt),(!R||G&1)&&h(l,"title",T[0]),T[1]?ee?ee.p(T,G):(ee=tl(T),ee.c(),ee.m(e,i)):ee&&(ee.d(1),ee=null),N&&N.p&&(!R||G&262144)&&fe(N,ie,T,T[18],R?he(ie,T[18],G,An):ue(T[18]),Xt),G&1028){j=ke(T[2]);let pe;for(pe=0;pe<j.length;pe+=1){const Re=Yt(T,j,pe);H[pe]?H[pe].p(Re,G):(H[pe]=ll(Re),H[pe].c(),H[pe].m(_,p))}for(;pe<H.length;pe+=1)H[pe].d(1);H.length=j.length}oe&&oe.p&&(!R||G&262144)&&fe(oe,Te,T,T[18],R?he(Te,T[18],G,Vn):ue(T[18]),Jt),Ne&&Ne.p&&(!R||G&262144)&&fe(Ne,He,T,T[18],R?he(He,T[18],G,qn):ue(T[18]),Qt);const ve={};G&4&&(ve.links=T[2]),G&262144&&(ve.$$scope={dirty:G,ctx:T}),!W&&G&32&&(W=!0,ve.open=T[5],dl(()=>W=!1)),Z.$set(ve),(!R||G&40)&&te(e,"visible",T[3]||T[5]),(!R||G&32)&&te(e,"$nav_open",T[5]),(!R||G&64)&&te(e,"dark",T[6].current==="dark"),G&896&&de(e,"z-index",T[7]&&(T[8]||T[9])?80:null)},i(T){R||(y(U,T),y(M,T),y(N,T),y(w.$$.fragment,T),y(oe,T),y(Ee,T),y(P.$$.fragment,T),y(I.$$.fragment,T),y(Z.$$.fragment,T),R=!0)},o(T){A(U,T),A(M,T),A(N,T),A(w.$$.fragment,T),A(oe,T),A(Ee,T),A(P.$$.fragment,T),A(I.$$.fragment,T),A(Z.$$.fragment,T),R=!1},d(T){T&&u(e),U&&U.d(T),M&&M.d(T),ee&&ee.d(),N&&N.d(T),Se(H,T),X(w),oe&&oe.d(T),Ee&&Ee.d(T),X(P),X(I),X(Z),s[17](null),K=!1,Oe(D)}}}function In(s,e,l){let t,n,r,o,i,a;x(s,nt,v=>l(5,t=v)),x(s,Le,v=>l(6,n=v)),x(s,Ce,v=>l(7,r=v)),x(s,Ve,v=>l(8,o=v)),x(s,Bl,v=>l(9,i=v)),x(s,tt,v=>l(10,a=v));let{$$slots:c={},$$scope:f}=e,{home_title:_="Homepage"}=e,{title:p}=e,{links:w}=e,$=!0,V,m=!1;function d(){m=!0}let B=0;function P(){if(!vt)return;const v=vt.scrollTop;m||l(3,$=v===B?$:v<50||v<B),B=v,m=!1}function S(){t&&!V.contains(document.activeElement)&&F(nt,t=!1,t)}const z=()=>{F(Ve,o=!0,o)};function O(v){t=v,nt.set(t)}function I(v){Me[v?"unshift":"push"](()=>{V=v,l(4,V)})}return s.$$set=v=>{"home_title"in v&&l(0,_=v.home_title),"title"in v&&l(1,p=v.title),"links"in v&&l(2,w=v.links),"$$scope"in v&&l(18,f=v.$$scope)},[_,p,w,$,V,t,n,r,o,i,a,d,P,S,c,z,O,I,f]}class Sn extends we{constructor(e){super(),$e(this,e,In,Cn,ye,{home_title:0,title:1,links:2})}}function Hn(s){let e,l,t=navigator.platform==="MacIntel"?"⌘":"Ctrl",n,r,o,i="K";return{c(){e=g("div"),l=g("kbd"),n=ne(t),r=L(),o=g("kbd"),o.textContent=i,this.h()},l(a){e=k(a,"DIV",{class:!0});var c=q(e);l=k(c,"KBD",{class:!0});var f=q(l);n=se(f,t),f.forEach(u),r=C(c),o=k(c,"KBD",{class:!0,"data-svelte-h":!0}),De(o)!=="svelte-3k5xuj"&&(o.textContent=i),c.forEach(u),this.h()},h(){h(l,"class","svelte-15l0yne"),h(o,"class","svelte-15l0yne"),h(e,"class","shortcut svelte-15l0yne")},m(a,c){E(a,e,c),b(e,l),b(l,n),b(e,r),b(e,o)},p:_e,d(a){a&&u(e)}}}function jn(s){let e,l,t,n,r,o=Hn();return{c(){e=g("form"),l=g("input"),t=L(),o&&o.c(),this.h()},l(i){e=k(i,"FORM",{class:!0,action:!0});var a=q(e);l=k(a,"INPUT",{type:!0,name:!0,placeholder:!0,"aria-label":!0,spellcheck:!0,class:!0}),t=C(a),o&&o.l(a),a.forEach(u),this.h()},h(){l.value=s[0],h(l,"type","search"),h(l,"name","q"),h(l,"placeholder",s[1]),h(l,"aria-label",s[1]),h(l,"spellcheck","false"),h(l,"class","svelte-15l0yne"),h(e,"class","search-container svelte-15l0yne"),h(e,"action","/search")},m(i,a){E(i,e,a),b(e,l),b(e,t),o&&o.m(e,null),n||(r=[le(l,"input",s[4]),le(l,"mousedown",rt(s[5])),le(l,"touchend",rt(s[6]))],n=!0)},p(i,[a]){a&1&&l.value!==i[0]&&(l.value=i[0]),a&2&&h(l,"placeholder",i[1]),a&2&&h(l,"aria-label",i[1]),o.p(i,a)},i:_e,o:_e,d(i){i&&u(e),o&&o.d(),n=!1,Oe(r)}}}function zn(s,e,l){let t,n;x(s,Ve,f=>l(2,t=f)),x(s,ze,f=>l(3,n=f));let{q:r=""}=e,{label:o="Search"}=e;const i=f=>{F(Ve,t=!0,t),F(ze,n=f.currentTarget.value,n),f.currentTarget.value=""},a=()=>F(Ve,t=!0,t),c=()=>F(Ve,t=!0,t);return s.$$set=f=>{"q"in f&&l(0,r=f.q),"label"in f&&l(1,o=f.label)},[r,o,t,n,i,a,c]}class Pn extends we{constructor(e){super(),$e(this,e,zn,jn,ye,{q:0,label:1})}}function Zn(s){return new Worker(""+new URL("../workers/search-worker-EBM96Md1.js",import.meta.url).href,{name:s?.name})}const{window:On}=Sl,Un=s=>({}),nl=s=>({});function sl(s,e,l){const t=s.slice();return t[7]=e[l],t[27]=l,t}const Rn=s=>({has_recent_searches:s&64}),rl=s=>({has_recent_searches:s[6].length}),Kn=s=>({}),ol=s=>({slot:"no-results"}),Gn=s=>({}),al=s=>({});function il(s){let e,l,t,n,r,o,i,a,c,f,_,p,w,$,V,m,d;a=new Ae({props:{name:"close"}});const B=s[12]["search-description"],P=ce(B,s,s[22],al),S=P||Wn(),z=[Qn,Fn],O=[];function I(v,Z){return v[7]?.query?0:1}return w=I(s),$=O[w]=z[w](s),{c(){e=g("div"),l=L(),t=g("div"),n=g("div"),r=g("input"),o=L(),i=g("button"),Q(a.$$.fragment),c=L(),f=g("span"),S&&S.c(),_=L(),p=g("div"),$.c(),this.h()},l(v){e=k(v,"DIV",{class:!0,"aria-hidden":!0}),q(e).forEach(u),l=C(v),t=k(v,"DIV",{class:!0});var Z=q(t);n=k(Z,"DIV",{class:!0});var W=q(n);r=k(W,"INPUT",{placeholder:!0,"aria-describedby":!0,"aria-label":!0,spellcheck:!0,class:!0}),o=C(W),i=k(W,"BUTTON",{"aria-label":!0,class:!0});var R=q(i);J(a.$$.fragment,R),R.forEach(u),c=C(W),f=k(W,"SPAN",{id:!0,class:!0});var K=q(f);S&&S.l(K),K.forEach(u),_=C(W),p=k(W,"DIV",{class:!0});var D=q(p);$.l(D),D.forEach(u),W.forEach(u),Z.forEach(u),this.h()},h(){h(e,"class","pseudo-overlay svelte-y8ty26"),h(e,"aria-hidden","true"),r.autofocus=!0,r.value=s[2],h(r,"placeholder",s[0]),h(r,"aria-describedby","search-description"),h(r,"aria-label",s[0]),h(r,"spellcheck","false"),h(r,"class","svelte-y8ty26"),h(i,"aria-label","Close"),h(i,"class","svelte-y8ty26"),h(f,"id","search-description"),h(f,"class","visually-hidden svelte-y8ty26"),h(p,"class","results svelte-y8ty26"),h(n,"class","search-box svelte-y8ty26"),h(t,"class","modal svelte-y8ty26")},m(v,Z){E(v,e,Z),E(v,l,Z),E(v,t,Z),b(t,n),b(n,r),b(n,o),b(n,i),Y(a,i,null),b(n,c),b(n,f),S&&S.m(f,null),b(n,_),b(n,p),O[w].m(p,null),s[20](t),V=!0,r.focus(),m||(d=[le(e,"click",s[8]),le(r,"keydown",s[14]),le(r,"input",s[15]),le(i,"click",s[8]),le(t,"keydown",s[21]),Ze(gl.call(null,t))],m=!0)},p(v,Z){(!V||Z&4&&r.value!==v[2])&&(r.value=v[2]),(!V||Z&1)&&h(r,"placeholder",v[0]),(!V||Z&1)&&h(r,"aria-label",v[0]),P&&P.p&&(!V||Z&4194304)&&fe(P,B,v,v[22],V?he(B,v[22],Z,Gn):ue(v[22]),al);let W=w;w=I(v),w===W?O[w].p(v,Z):(be(),A(O[W],1,1,()=>{O[W]=null}),ge(),$=O[w],$?$.p(v,Z):($=O[w]=z[w](v),$.c()),y($,1),$.m(p,null))},i(v){V||(y(a.$$.fragment,v),y(S,v),y($),V=!0)},o(v){A(a.$$.fragment,v),A(S,v),A($),V=!1},d(v){v&&(u(e),u(l),u(t)),X(a),S&&S.d(v),O[w].d(),s[20](null),m=!1,Oe(d)}}}function Wn(s){let e;return{c(){e=ne("Results will update as you type")},l(l){e=se(l,"Results will update as you type")},m(l,t){E(l,e,t)},d(l){l&&u(e)}}}function Fn(s){let e,l,t,n;const r=s[12].idle,o=ce(r,s,s[22],rl),i=o||Jn(s);let a=s[6].length&&cl(s);return{c(){e=g("h2"),i&&i.c(),l=L(),a&&a.c(),t=ae(),this.h()},l(c){e=k(c,"H2",{class:!0});var f=q(e);i&&i.l(f),f.forEach(u),l=C(c),a&&a.l(c),t=ae(),this.h()},h(){h(e,"class","info svelte-y8ty26"),te(e,"empty",s[6].length===0)},m(c,f){E(c,e,f),i&&i.m(e,null),E(c,l,f),a&&a.m(c,f),E(c,t,f),n=!0},p(c,f){o?o.p&&(!n||f&4194368)&&fe(o,r,c,c[22],n?he(r,c[22],f,Rn):ue(c[22]),rl):i&&i.p&&(!n||f&64)&&i.p(c,n?f:-1),(!n||f&64)&&te(e,"empty",c[6].length===0),c[6].length?a?(a.p(c,f),f&64&&y(a,1)):(a=cl(c),a.c(),y(a,1),a.m(t.parentNode,t)):a&&(be(),A(a,1,1,()=>{a=null}),ge())},i(c){n||(y(i,c),y(a),n=!0)},o(c){A(i,c),A(a),n=!1},d(c){c&&(u(e),u(l),u(t)),i&&i.d(c),a&&a.d(c)}}}function Qn(s){let e,l,t,n,r;return l=new jl({props:{results:s[7].results,query:s[7].query,$$slots:{"no-results":[Xn]},$$scope:{ctx:s}}}),l.$on("select",s[16]),{c(){e=g("div"),Q(l.$$.fragment),this.h()},l(o){e=k(o,"DIV",{class:!0});var i=q(e);J(l.$$.fragment,i),i.forEach(u),this.h()},h(){h(e,"class","results-container svelte-y8ty26")},m(o,i){E(o,e,i),Y(l,e,null),t=!0,n||(r=le(e,"click",s[17]),n=!0)},p(o,i){const a={};i&128&&(a.results=o[7].results),i&128&&(a.query=o[7].query),i&4194304&&(a.$$scope={dirty:i,ctx:o}),l.$set(a)},i(o){t||(y(l.$$.fragment,o),t=!0)},o(o){A(l.$$.fragment,o),t=!1},d(o){o&&u(e),X(l),n=!1,r()}}}function Jn(s){let e=s[6].length?"Recent searches":"No recent searches",l;return{c(){l=ne(e)},l(t){l=se(t,e)},m(t,n){E(t,l,n)},p(t,n){n&64&&e!==(e=t[6].length?"Recent searches":"No recent searches")&&qe(l,e)},d(t){t&&u(l)}}}function cl(s){let e,l,t,n=ke(s[6]),r=[];for(let i=0;i<n.length;i+=1)r[i]=fl(sl(s,n,i));const o=i=>A(r[i],1,1,()=>{r[i]=null});return{c(){e=g("div"),l=g("ul");for(let i=0;i<r.length;i+=1)r[i].c();this.h()},l(i){e=k(i,"DIV",{class:!0});var a=q(e);l=k(a,"UL",{class:!0});var c=q(l);for(let f=0;f<r.length;f+=1)r[f].l(c);c.forEach(u),a.forEach(u),this.h()},h(){h(l,"class","svelte-y8ty26"),h(e,"class","results-container svelte-y8ty26")},m(i,a){E(i,e,a),b(e,l);for(let c=0;c<r.length;c+=1)r[c]&&r[c].m(l,null);t=!0},p(i,a){if(a&592){n=ke(i[6]);let c;for(c=0;c<n.length;c+=1){const f=sl(i,n,c);r[c]?(r[c].p(f,a),y(r[c],1)):(r[c]=fl(f),r[c].c(),y(r[c],1),r[c].m(l,null))}for(be(),c=n.length;c<r.length;c+=1)o(c);ge()}},i(i){if(!t){for(let a=0;a<n.length;a+=1)y(r[a]);t=!0}},o(i){r=r.filter(Boolean);for(let a=0;a<r.length;a+=1)A(r[a]);t=!1},d(i){i&&u(e),Se(r,i)}}}function fl(s){let e,l,t,n=s[7].breadcrumbs.join("/")+"",r,o,i,a=s[7].breadcrumbs.at(-1)+"",c,f,_,p,w,$,V,m,d;function B(){return s[18](s[7])}w=new Ae({props:{name:"delete"}});function P(...S){return s[19](s[7],...S)}return{c(){e=g("li"),l=g("a"),t=g("small"),r=ne(n),o=L(),i=g("strong"),c=ne(a),_=L(),p=g("button"),Q(w.$$.fragment),$=L(),this.h()},l(S){e=k(S,"LI",{class:!0});var z=q(e);l=k(z,"A",{href:!0,class:!0});var O=q(l);t=k(O,"SMALL",{class:!0});var I=q(t);r=se(I,n),I.forEach(u),o=C(O),i=k(O,"STRONG",{class:!0});var v=q(i);c=se(v,a),v.forEach(u),O.forEach(u),_=C(z),p=k(z,"BUTTON",{"aria-label":!0,class:!0});var Z=q(p);J(w.$$.fragment,Z),Z.forEach(u),$=C(z),z.forEach(u),this.h()},h(){h(t,"class","svelte-y8ty26"),h(i,"class","svelte-y8ty26"),h(l,"href",f=s[7].href),h(l,"class","svelte-y8ty26"),h(p,"aria-label","Delete"),h(p,"class","svelte-y8ty26"),h(e,"class","recent svelte-y8ty26")},m(S,z){E(S,e,z),b(e,l),b(l,t),b(t,r),b(l,o),b(l,i),b(i,c),b(e,_),b(e,p),Y(w,p,null),b(e,$),V=!0,m||(d=[le(l,"click",B),le(p,"click",P)],m=!0)},p(S,z){s=S,(!V||z&64)&&n!==(n=s[7].breadcrumbs.join("/")+"")&&qe(r,n),(!V||z&64)&&a!==(a=s[7].breadcrumbs.at(-1)+"")&&qe(c,a),(!V||z&64&&f!==(f=s[7].href))&&h(l,"href",f)},i(S){V||(y(w.$$.fragment,S),V=!0)},o(S){A(w.$$.fragment,S),V=!1},d(S){S&&u(e),X(w),m=!1,Oe(d)}}}function Yn(s){let e;return{c(){e=ne("No results")},l(l){e=se(l,"No results")},m(l,t){E(l,e,t)},d(l){l&&u(e)}}}function Xn(s){let e;const l=s[12]["no-results"],t=ce(l,s,s[22],ol),n=t||Yn();return{c(){n&&n.c()},l(r){n&&n.l(r)},m(r,o){n&&n.m(r,o),e=!0},p(r,o){t&&t.p&&(!e||o&4194304)&&fe(t,l,r,r[22],e?he(l,r[22],o,Kn):ue(r[22]),ol)},i(r){e||(y(n,r),e=!0)},o(r){A(n,r),e=!1},d(r){n&&n.d(r)}}}function ul(s){let e,l;const t=s[12]["no-results"],n=ce(t,s,s[22],nl),r=n||xn();return{c(){e=g("p"),r&&r.c()},l(o){e=k(o,"P",{});var i=q(e);r&&r.l(i),i.forEach(u)},m(o,i){E(o,e,i),r&&r.m(e,null),l=!0},p(o,i){n&&n.p&&(!l||i&4194304)&&fe(n,t,o,o[22],l?he(t,o[22],i,Un):ue(o[22]),nl)},i(o){l||(y(r,o),l=!0)},o(o){A(r,o),l=!1},d(o){o&&u(e),r&&r.d(o)}}}function xn(s){let e;return{c(){e=ne("No results")},l(l){e=se(l,"No results")},m(l,t){E(l,e,t)},d(l){l&&u(e)}}}function es(s){let e,l,t,n,r,o=s[3]&&s[1]&&il(s),i=s[3]&&s[7]?.results.length===0&&ul(s);return{c(){o&&o.c(),e=L(),l=g("div"),i&&i.c(),this.h()},l(a){o&&o.l(a),e=C(a),l=k(a,"DIV",{"aria-live":!0,class:!0});var c=q(l);i&&i.l(c),c.forEach(u),this.h()},h(){h(l,"aria-live","assertive"),h(l,"class","visually-hidden")},m(a,c){o&&o.m(a,c),E(a,e,c),E(a,l,c),i&&i.m(l,null),t=!0,n||(r=le(On,"keydown",s[13]),n=!0)},p(a,[c]){a[3]&&a[1]?o?(o.p(a,c),c&10&&y(o,1)):(o=il(a),o.c(),y(o,1),o.m(e.parentNode,e)):o&&(be(),A(o,1,1,()=>{o=null}),ge()),a[3]&&a[7]?.results.length===0?i?(i.p(a,c),c&136&&y(i,1)):(i=ul(a),i.c(),y(i,1),i.m(l,null)):i&&(be(),A(i,1,1,()=>{i=null}),ge())},i(a){t||(y(o),y(i),t=!0)},o(a){A(o),A(i),t=!1},d(a){a&&(u(e),u(l)),o&&o.d(a),i&&i.d(),n=!1,r()}}}function ts(s,e,l){let t,n,r,o;x(s,ze,D=>l(2,t=D)),x(s,Ce,D=>l(23,n=D)),x(s,Ve,D=>l(3,r=D)),x(s,st,D=>l(4,o=D));let{$$slots:i={},$$scope:a}=e,{placeholder:c="Search"}=e,f,_=null,p=[],w,$=!1,V=1;const m=new Set;We(async()=>{l(10,w=new Zn),w.addEventListener("message",D=>{const{type:re,payload:U}=D.data;re==="ready"&&l(1,$=!0),re==="results"&&l(7,_=U),re==="recents"&&l(6,p=U)}),w.postMessage({type:"init",payload:{origin:location.origin}})}),ct(()=>{d()});async function d(){if(r){F(Ve,r=!1,r);const D=-parseInt(document.body.style.top||"0");document.body.style.position="",document.body.style.top="",document.body.tabIndex=-1,document.body.focus(),document.body.removeAttribute("tabindex"),window.scrollTo(0,D)}l(7,_=null)}function B(D){F(st,o=[D,...o.filter(re=>re!==D)],o),d()}const P=()=>F(ze,t="",t),S=D=>{D.key==="k"&&(navigator.platform==="MacIntel"?D.metaKey:D.ctrlKey)&&(D.preventDefault(),F(ze,t="",t),r?d():F(Ve,r=!0,r)),D.code==="Escape"&&d()},z=D=>{D.key==="Enter"&&!D.isComposing&&f.querySelector("a[data-has-node]")?.click()},O=D=>{F(ze,t=D.currentTarget.value,t)},I=D=>{B(D.detail.href)},v=()=>F(Ve,r=!1,r),Z=D=>B(D.href),W=(D,re)=>{F(st,o=o.filter(U=>U!==D.href),o),re.stopPropagation(),re.preventDefault()};function R(D){Me[D?"unshift":"push"](()=>{f=D,l(5,f)})}const K=D=>{if(D.key==="ArrowDown"||D.key==="ArrowUp"){D.preventDefault();const re=bl(D.currentTarget),U="a, input";D.key==="ArrowDown"?re.next(U):re.prev(U)}};return s.$$set=D=>{"placeholder"in D&&l(0,c=D.placeholder),"$$scope"in D&&l(22,a=D.$$scope)},s.$$.update=()=>{if(s.$$.dirty&3078&&$){const D=l(11,V++,V);m.add(D),w.postMessage({type:"query",id:D,payload:t})}s.$$.dirty&1042&&$&&w.postMessage({type:"recents",payload:o}),s.$$.dirty&8&&xe().then(()=>F(Ce,n=r,n)),s.$$.dirty&8&&r&&(document.body.style.top=`-${window.scrollY}px`,document.body.style.position="fixed",F(Ce,n=!0,n),P())},[c,$,t,r,o,f,p,_,d,B,w,V,i,S,z,O,I,v,Z,W,R,K,a]}class ls extends we{constructor(e){super(),$e(this,e,ts,es,ye,{placeholder:0})}}function ns(s){let e;const l=s[4].default,t=ce(l,s,s[6],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&64)&&fe(t,l,n,n[6],e?he(l,n[6],r,null):ue(n[6]),null)},i(n){e||(y(t,n),e=!0)},o(n){A(t,n),e=!1},d(n){t&&t.d(n)}}}function ss(s){let e,l="kit",t;return{c(){e=g("strong"),e.textContent=l,t=ne(".svelte.dev")},l(n){e=k(n,"STRONG",{"data-svelte-h":!0}),De(e)!=="svelte-1to94iu"&&(e.textContent=l),t=se(n,".svelte.dev")},m(n,r){E(n,e,r),E(n,t,r)},p:_e,d(n){n&&(u(e),u(t))}}}function rs(s){let e,l="kit";return{c(){e=g("strong"),e.textContent=l},l(t){e=k(t,"STRONG",{"data-svelte-h":!0}),De(e)!=="svelte-1to94iu"&&(e.textContent=l)},m(t,n){E(t,e,n)},p:_e,d(t){t&&u(e)}}}function hl(s){let e,l;return e=new Pn({}),{c(){Q(e.$$.fragment)},l(t){J(e.$$.fragment,t)},m(t,n){Y(e,t,n),l=!0},i(t){l||(y(e.$$.fragment,t),l=!0)},o(t){A(e.$$.fragment,t),l=!1},d(t){X(e,t)}}}function os(s){let e,l,t=s[2].url.pathname!=="/search"&&hl();return{c(){t&&t.c(),e=ae()},l(n){t&&t.l(n),e=ae()},m(n,r){t&&t.m(n,r),E(n,e,r),l=!0},p(n,r){n[2].url.pathname!=="/search"?t?r&4&&y(t,1):(t=hl(),t.c(),y(t,1),t.m(e.parentNode,e)):t&&(be(),A(t,1,1,()=>{t=null}),ge())},i(n){l||(y(t),l=!0)},o(n){A(t),l=!1},d(n){n&&u(e),t&&t.d(n)}}}function as(s){let e,l="Tutorial",t,n,r="Svelte",o,i,a,c,f,_="Discord",p,w,$,V,m,d,B="GitHub",P,S,z,O;return i=new et({}),$=new Ae({props:{name:"discord"}}),z=new Ae({props:{name:"github"}}),{c(){e=g("a"),e.textContent=l,t=L(),n=g("a"),n.textContent=r,o=L(),Q(i.$$.fragment),a=L(),c=g("a"),f=g("span"),f.textContent=_,p=L(),w=g("span"),Q($.$$.fragment),V=L(),m=g("a"),d=g("span"),d.textContent=B,P=L(),S=g("span"),Q(z.$$.fragment),this.h()},l(I){e=k(I,"A",{href:!0,rel:!0,"data-svelte-h":!0}),De(e)!=="svelte-15y8ruk"&&(e.textContent=l),t=C(I),n=k(I,"A",{href:!0,"data-svelte-h":!0}),De(n)!=="svelte-yry8a6"&&(n.textContent=r),o=C(I),J(i.$$.fragment,I),a=C(I),c=k(I,"A",{href:!0,rel:!0,title:!0});var v=q(c);f=k(v,"SPAN",{class:!0,"data-svelte-h":!0}),De(f)!=="svelte-byakra"&&(f.textContent=_),p=C(v),w=k(v,"SPAN",{class:!0});var Z=q(w);J($.$$.fragment,Z),Z.forEach(u),v.forEach(u),V=C(I),m=k(I,"A",{href:!0,title:!0});var W=q(m);d=k(W,"SPAN",{class:!0,"data-svelte-h":!0}),De(d)!=="svelte-1o8f6s1"&&(d.textContent=B),P=C(W),S=k(W,"SPAN",{class:!0});var R=q(S);J(z.$$.fragment,R),R.forEach(u),W.forEach(u),this.h()},h(){h(e,"href","https://learn.svelte.dev/tutorial/introducing-sveltekit"),h(e,"rel","external"),h(n,"href","https://svelte.dev"),h(f,"class","small svelte-egrlut"),h(w,"class","large svelte-egrlut"),h(c,"href","https://svelte.dev/chat"),h(c,"rel","external"),h(c,"title","Discord Chat"),h(d,"class","small svelte-egrlut"),h(S,"class","large svelte-egrlut"),h(m,"href","https://github.com/sveltejs/kit"),h(m,"title","GitHub Repo")},m(I,v){E(I,e,v),E(I,t,v),E(I,n,v),E(I,o,v),Y(i,I,v),E(I,a,v),E(I,c,v),b(c,f),b(c,p),b(c,w),Y($,w,null),E(I,V,v),E(I,m,v),b(m,d),b(m,P),b(m,S),Y(z,S,null),O=!0},p:_e,i(I){O||(y(i.$$.fragment,I),y($.$$.fragment,I),y(z.$$.fragment,I),O=!0)},o(I){A(i.$$.fragment,I),A($.$$.fragment,I),A(z.$$.fragment,I),O=!1},d(I){I&&(u(e),u(t),u(n),u(o),u(a),u(c),u(V),u(m)),X(i,I),X($),X(z)}}}function is(s){let e,l;return e=new Sn({props:{slot:"top-nav",title:s[0].nav_title,links:s[0].nav_links,$$slots:{"external-links":[as],search:[os],"home-small":[rs],"home-large":[ss]},$$scope:{ctx:s}}}),{c(){Q(e.$$.fragment)},l(t){J(e.$$.fragment,t)},m(t,n){Y(e,t,n),l=!0},p(t,n){const r={};n&1&&(r.title=t[0].nav_title),n&1&&(r.links=t[0].nav_links),n&68&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(y(e.$$.fragment,t),l=!0)},o(t){A(e.$$.fragment,t),l=!1},d(t){X(e,t)}}}function cs(s){let e,l;return e=new Rl({props:{slot:"banner-bottom",data:s[0].banner}}),{c(){Q(e.$$.fragment)},l(t){J(e.$$.fragment,t)},m(t,n){Y(e,t,n),l=!0},p(t,n){const r={};n&1&&(r.data=t[0].banner),e.$set(r)},i(t){l||(y(e.$$.fragment,t),l=!0)},o(t){A(e.$$.fragment,t),l=!1},d(t){X(e,t)}}}function fs(s){let e,l;return e=new ls({}),{c(){Q(e.$$.fragment)},l(t){J(e.$$.fragment,t)},m(t,n){Y(e,t,n),l=!0},i(t){l||(y(e.$$.fragment,t),l=!0)},o(t){A(e.$$.fragment,t),l=!1},d(t){X(e,t)}}}function us(s){let e,l,t,n,r,o;function i(f){s[5](f)}let a={nav_visible:s[2].url.pathname!=="/repl/embed",$$slots:{"banner-bottom":[cs],"top-nav":[is],default:[ns]},$$scope:{ctx:s}};s[1]!==void 0&&(a.snapshot=s[1]),l=new rn({props:a}),Me.push(()=>pl(l,"snapshot",i));let c=fs();return{c(){e=g("div"),Q(l.$$.fragment),n=L(),c&&c.c(),r=ae(),this.h()},l(f){e=k(f,"DIV",{});var _=q(e);J(l.$$.fragment,_),_.forEach(u),n=C(f),c&&c.l(f),r=ae(),this.h()},h(){de(e,"display",s[2].url.pathname!=="/docs"?"contents":"none")},m(f,_){E(f,e,_),Y(l,e,null),E(f,n,_),c&&c.m(f,_),E(f,r,_),o=!0},p(f,[_]){const p={};_&4&&(p.nav_visible=f[2].url.pathname!=="/repl/embed"),_&69&&(p.$$scope={dirty:_,ctx:f}),!t&&_&2&&(t=!0,p.snapshot=f[1],dl(()=>t=!1)),l.$set(p),_&4&&de(e,"display",f[2].url.pathname!=="/docs"?"contents":"none")},i(f){o||(y(l.$$.fragment,f),y(c),o=!0)},o(f){A(l.$$.fragment,f),A(c),o=!1},d(f){f&&(u(e),u(n),u(r)),X(l),c&&c.d(f)}}}function hs(s,e,l){let t;x(s,tt,f=>l(2,t=f));let{$$slots:n={},$$scope:r}=e,{data:o}=e,i;const a={capture(){return{shell:i?.capture()}},restore(f){i?.restore(f.shell)}};function c(f){i=f,l(1,i)}return s.$$set=f=>{"data"in f&&l(0,o=f.data),"$$scope"in f&&l(6,r=f.$$scope)},[o,i,t,a,n,c,r]}class ws extends we{constructor(e){super(),$e(this,e,hs,us,ye,{data:0,snapshot:3})}get snapshot(){return this.$$.ctx[3]}}export{ws as component};
