import{S as ve,i as ye,s as be,k as B,C as g,l as C,m as p,D as k,h as u,n as i,p as ze,b as L,E as h,F as Y,G as ee,a as T,y as K,q as J,c as H,z as W,r as X,H as je,A as G,I as Q,J as te,K as le,L as re,g as w,d as A,B as Z,M as ot,N as tl,w as ll,e as oe,v as ke,f as Ee,O as Dt,P as il,Q as al,R as fl,T as Oe,o as rl,U as qt,V as fe,W as ul,u as Bt,X as cl}from"../chunks/index.e356839d.js";import{b as Ke}from"../chunks/paths.232f0064.js";import{p as sl,n as ml}from"../chunks/stores.69d197be.js";import{T as hl}from"../chunks/TryTerminal.svelte_svelte_type_style_lang.10c95309.js";import{I as it,a as _l}from"../chunks/navigation.339f4864.js";import{w as pl}from"../chunks/utils.bb2ced01.js";import{s as Pe,q as nt,r as Et,S as dl}from"../chunks/search.f1661c06.js";const vl=!0,Lr=Object.freeze(Object.defineProperty({__proto__:null,prerender:vl},Symbol.toStringTag,{value:"Module"}));function yl(o){let e,t,l,r,s,n,a,f,c,v,y,d,m,_,b,D,j,q,P,N,O,I,S,$,V,F,R,se,U,E,M,ne,ue,we,x,ce,me,ie,Be,We,ae,Ge,Ze,Ce,Ae,he,Ne,Le,Se,Ie,Re,$e,_e,Ve,De,ge,qe,Me,pe,Fe,Qe,Ye,de,Je,Xe,xe,Te,et,He,Ue;return{c(){e=B("div"),t=g("svg"),l=g("symbol"),r=g("line"),s=g("polyline"),n=g("symbol"),a=g("line"),f=g("polyline"),c=g("symbol"),v=g("line"),y=g("polyline"),d=g("symbol"),m=g("line"),_=g("polyline"),b=g("symbol"),D=g("polyline"),j=g("symbol"),q=g("line"),P=g("line"),N=g("symbol"),O=g("path"),I=g("polyline"),S=g("line"),$=g("symbol"),V=g("path"),F=g("polygon"),R=g("symbol"),se=g("path"),U=g("path"),E=g("symbol"),M=g("line"),ne=g("circle"),ue=g("circle"),we=g("path"),x=g("symbol"),ce=g("path"),me=g("polyline"),ie=g("line"),Be=g("symbol"),We=g("path"),ae=g("symbol"),Ge=g("polyline"),Ze=g("polyline"),Ce=g("line"),Ae=g("line"),he=g("symbol"),Ne=g("line"),Le=g("line"),Se=g("line"),Ie=g("symbol"),Re=g("g"),$e=g("path"),_e=g("path"),Ve=g("symbol"),De=g("line"),ge=g("symbol"),qe=g("line"),Me=g("line"),pe=g("symbol"),Fe=g("path"),Qe=g("polyline"),Ye=g("polyline"),de=g("symbol"),Je=g("path"),Xe=g("path"),xe=g("path"),Te=g("symbol"),et=g("path"),He=g("symbol"),Ue=g("path"),this.h()},l(tt){e=C(tt,"DIV",{style:!0});var at=p(e);t=k(at,"svg",{});var z=p(t);l=k(z,"symbol",{id:!0,class:!0,viewBox:!0});var _t=p(l);r=k(_t,"line",{x1:!0,y1:!0,x2:!0,y2:!0}),p(r).forEach(u),s=k(_t,"polyline",{points:!0}),p(s).forEach(u),_t.forEach(u),n=k(z,"symbol",{id:!0,class:!0,viewBox:!0});var pt=p(n);a=k(pt,"line",{x1:!0,y1:!0,x2:!0,y2:!0}),p(a).forEach(u),f=k(pt,"polyline",{points:!0}),p(f).forEach(u),pt.forEach(u),c=k(z,"symbol",{id:!0,class:!0,viewBox:!0});var dt=p(c);v=k(dt,"line",{x1:!0,y1:!0,x2:!0,y2:!0}),p(v).forEach(u),y=k(dt,"polyline",{points:!0}),p(y).forEach(u),dt.forEach(u),d=k(z,"symbol",{id:!0,class:!0,viewBox:!0});var vt=p(d);m=k(vt,"line",{x1:!0,y1:!0,x2:!0,y2:!0}),p(m).forEach(u),_=k(vt,"polyline",{points:!0}),p(_).forEach(u),vt.forEach(u),b=k(z,"symbol",{id:!0,class:!0,viewBox:!0});var At=p(b);D=k(At,"polyline",{points:!0}),p(D).forEach(u),At.forEach(u),j=k(z,"symbol",{id:!0,class:!0,viewBox:!0});var yt=p(j);q=k(yt,"line",{x1:!0,y1:!0,x2:!0,y2:!0}),p(q).forEach(u),P=k(yt,"line",{x1:!0,y1:!0,x2:!0,y2:!0}),p(P).forEach(u),yt.forEach(u),N=k(z,"symbol",{id:!0,class:!0,viewBox:!0});var ft=p(N);O=k(ft,"path",{d:!0}),p(O).forEach(u),I=k(ft,"polyline",{points:!0}),p(I).forEach(u),S=k(ft,"line",{x1:!0,y1:!0,x2:!0,y2:!0}),p(S).forEach(u),ft.forEach(u),$=k(z,"symbol",{id:!0,class:!0,viewBox:!0});var bt=p($);V=k(bt,"path",{d:!0}),p(V).forEach(u),F=k(bt,"polygon",{points:!0}),p(F).forEach(u),bt.forEach(u),R=k(z,"symbol",{id:!0,class:!0,viewBox:!0});var $t=p(R);se=k($t,"path",{"fill-rule":!0,"clip-rule":!0,d:!0,fill:!0,stroke:!0}),p(se).forEach(u),U=k($t,"path",{"fill-rule":!0,"clip-rule":!0,d:!0,fill:!0,stroke:!0}),p(U).forEach(u),$t.forEach(u),E=k(z,"symbol",{id:!0,class:!0,viewBox:!0});var lt=p(E);M=k(lt,"line",{x1:!0,y1:!0,x2:!0,y2:!0}),p(M).forEach(u),ne=k(lt,"circle",{cx:!0,cy:!0,r:!0}),p(ne).forEach(u),ue=k(lt,"circle",{cx:!0,cy:!0,r:!0}),p(ue).forEach(u),we=k(lt,"path",{d:!0}),p(we).forEach(u),lt.forEach(u),x=k(z,"symbol",{id:!0,class:!0,viewBox:!0});var ut=p(x);ce=k(ut,"path",{d:!0}),p(ce).forEach(u),me=k(ut,"polyline",{points:!0}),p(me).forEach(u),ie=k(ut,"line",{x1:!0,y1:!0,x2:!0,y2:!0}),p(ie).forEach(u),ut.forEach(u),Be=k(z,"symbol",{id:!0,class:!0,viewBox:!0});var Nt=p(Be);We=k(Nt,"path",{d:!0}),p(We).forEach(u),Nt.forEach(u),ae=k(z,"symbol",{id:!0,class:!0,viewBox:!0});var rt=p(ae);Ge=k(rt,"polyline",{points:!0}),p(Ge).forEach(u),Ze=k(rt,"polyline",{points:!0}),p(Ze).forEach(u),Ce=k(rt,"line",{x1:!0,y1:!0,x2:!0,y2:!0}),p(Ce).forEach(u),Ae=k(rt,"line",{x1:!0,y1:!0,x2:!0,y2:!0}),p(Ae).forEach(u),rt.forEach(u),he=k(z,"symbol",{id:!0,class:!0,viewBox:!0});var ct=p(he);Ne=k(ct,"line",{x1:!0,y1:!0,x2:!0,y2:!0}),p(Ne).forEach(u),Le=k(ct,"line",{x1:!0,y1:!0,x2:!0,y2:!0}),p(Le).forEach(u),Se=k(ct,"line",{x1:!0,y1:!0,x2:!0,y2:!0}),p(Se).forEach(u),ct.forEach(u),Ie=k(z,"symbol",{id:!0,class:!0,viewBox:!0});var Lt=p(Ie);Re=k(Lt,"g",{transform:!0});var gt=p(Re);$e=k(gt,"path",{d:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0}),p($e).forEach(u),_e=k(gt,"path",{d:!0,fill:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0}),p(_e).forEach(u),gt.forEach(u),Lt.forEach(u),Ve=k(z,"symbol",{id:!0,class:!0,viewBox:!0});var St=p(Ve);De=k(St,"line",{x1:!0,y1:!0,x2:!0,y2:!0}),p(De).forEach(u),St.forEach(u),ge=k(z,"symbol",{id:!0,class:!0,viewBox:!0});var kt=p(ge);qe=k(kt,"line",{x1:!0,y1:!0,x2:!0,y2:!0}),p(qe).forEach(u),Me=k(kt,"line",{x1:!0,y1:!0,x2:!0,y2:!0}),p(Me).forEach(u),kt.forEach(u),pe=k(z,"symbol",{id:!0,class:!0,viewBox:!0});var mt=p(pe);Fe=k(mt,"path",{d:!0}),p(Fe).forEach(u),Qe=k(mt,"polyline",{points:!0}),p(Qe).forEach(u),Ye=k(mt,"polyline",{points:!0}),p(Ye).forEach(u),mt.forEach(u),de=k(z,"symbol",{id:!0,class:!0,viewBox:!0});var ht=p(de);Je=k(ht,"path",{d:!0}),p(Je).forEach(u),Xe=k(ht,"path",{d:!0}),p(Xe).forEach(u),xe=k(ht,"path",{d:!0}),p(xe).forEach(u),ht.forEach(u),Te=k(z,"symbol",{id:!0,class:!0,viewBox:!0});var It=p(Te);et=k(It,"path",{d:!0}),p(et).forEach(u),It.forEach(u),He=k(z,"symbol",{id:!0,class:!0,viewBox:!0});var Vt=p(He);Ue=k(Vt,"path",{fill:!0,stroke:!0,d:!0}),p(Ue).forEach(u),Vt.forEach(u),z.forEach(u),at.forEach(u),this.h()},h(){i(r,"x1","19"),i(r,"y1","12"),i(r,"x2","5"),i(r,"y2","12"),i(s,"points","12 19 5 12 12 5"),i(l,"id","arrow-left"),i(l,"class","icon"),i(l,"viewBox","0 0 24 24"),i(a,"x1","5"),i(a,"y1","12"),i(a,"x2","19"),i(a,"y2","12"),i(f,"points","12 5 19 12 12 19"),i(n,"id","arrow-right"),i(n,"class","icon"),i(n,"viewBox","0 0 24 24"),i(v,"x1","12"),i(v,"y1","19"),i(v,"x2","12"),i(v,"y2","5"),i(y,"points","5 12 12 5 19 12"),i(c,"id","arrow-up"),i(c,"class","icon"),i(c,"viewBox","0 0 24 24"),i(m,"x1","12"),i(m,"y1","5"),i(m,"x2","12"),i(m,"y2","19"),i(_,"points","19 12 12 19 5 12"),i(d,"id","arrow-down"),i(d,"class","icon"),i(d,"viewBox","0 0 24 24"),i(D,"points","20 6 9 17 4 12"),i(b,"id","check"),i(b,"class","icon"),i(b,"viewBox","0 0 24 24"),i(q,"x1","18"),i(q,"y1","6"),i(q,"x2","6"),i(q,"y2","18"),i(P,"x1","6"),i(P,"y1","6"),i(P,"x2","18"),i(P,"y2","18"),i(j,"id","close"),i(j,"class","icon"),i(j,"viewBox","0 0 24 24"),i(O,"d","M21 15V19A2 2 0 0 1 19 21H5A2 2 0 0 1 3 19V15"),i(I,"points","7 10 12 15 17 10"),i(S,"x1","12"),i(S,"y1","15"),i(S,"x2","12"),i(S,"y2","3"),i(N,"id","download"),i(N,"class","icon"),i(N,"viewBox","0 0 24 24"),i(V,"d","M20 14.66V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5.34"),i(F,"points","18 2 22 6 12 16 8 16 8 12 18 2"),i($,"id","edit"),i($,"class","icon"),i($,"viewBox","0 0 24 24"),i(se,"fill-rule","evenodd"),i(se,"clip-rule","evenodd"),i(se,"d","M12 2C6.47715 2 2 6.47715 2 12C2 17.5229 6.47715 22 12 22C17.5229 22 22 17.5229 22 12C22 6.47715 17.5229 2 12 2ZM0 12C0 5.3726 5.3726 0 12 0C18.6274 0 24 5.3726 24 12C24 18.6274 18.6274 24 12 24C5.3726 24 0 18.6274 0 12Z"),i(se,"fill","currentColor"),i(se,"stroke","none"),i(U,"fill-rule","evenodd"),i(U,"clip-rule","evenodd"),i(U,"d","M9.59162 22.7357C9.49492 22.6109 9.49492 21.4986 9.59162 19.399C8.55572 19.4347 7.90122 19.3628 7.62812 19.1833C7.21852 18.9139 6.80842 18.0833 6.44457 17.4979C6.08072 16.9125 5.27312 16.8199 4.94702 16.6891C4.62091 16.5582 4.53905 16.0247 5.84562 16.4282C7.15222 16.8316 7.21592 17.9303 7.62812 18.1872C8.04032 18.4441 9.02572 18.3317 9.47242 18.1259C9.91907 17.9201 9.88622 17.1538 9.96587 16.8503C10.0666 16.5669 9.71162 16.5041 9.70382 16.5018C9.26777 16.5018 6.97697 16.0036 6.34772 13.7852C5.71852 11.5669 6.52907 10.117 6.96147 9.49369C7.24972 9.07814 7.22422 8.19254 6.88497 6.83679C8.11677 6.67939 9.06732 7.06709 9.73672 7.99999C9.73737 8.00534 10.6143 7.47854 12.0001 7.47854C13.386 7.47854 13.8777 7.90764 14.2571 7.99999C14.6365 8.09234 14.94 6.36699 17.2834 6.83679C16.7942 7.79839 16.3844 8.99999 16.6972 9.49369C17.0099 9.98739 18.2372 11.5573 17.4833 13.7852C16.9807 15.2706 15.9927 16.1761 14.5192 16.5018C14.3502 16.5557 14.2658 16.6427 14.2658 16.7627C14.2658 16.9427 14.4942 16.9624 14.8233 17.8058C15.0426 18.368 15.0585 19.9739 14.8708 22.6234C14.3953 22.7445 14.0254 22.8257 13.7611 22.8673C13.2924 22.9409 12.7835 22.9822 12.2834 22.9982C11.7834 23.0141 11.6098 23.0123 10.9185 22.948C10.4577 22.9051 10.0154 22.8343 9.59162 22.7357Z"),i(U,"fill","currentColor"),i(U,"stroke","none"),i(R,"id","github"),i(R,"class","icon"),i(R,"viewBox","0 0 24 24"),i(M,"x1","6"),i(M,"y1","3"),i(M,"x2","6"),i(M,"y2","15"),i(ne,"cx","18"),i(ne,"cy","6"),i(ne,"r","3"),i(ue,"cx","6"),i(ue,"cy","18"),i(ue,"r","3"),i(we,"d","M18 9a9 9 0 0 1-9 9"),i(E,"id","git-branch"),i(E,"class","icon"),i(E,"viewBox","0 0 24 24"),i(ce,"d","M15 3H19A2 2 0 0 1 21 5V19A2 2 0 0 1 19 21H15"),i(me,"points","10 17 15 12 10 7"),i(ie,"x1","15"),i(ie,"y1","12"),i(ie,"x2","3"),i(ie,"y2","12"),i(x,"id","log-in"),i(x,"class","icon"),i(x,"viewBox","0 0 24 24"),i(We,"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"),i(Be,"id","maximize"),i(Be,"class","icon"),i(Be,"viewBox","0 0 24 24"),i(Ge,"points","15 3 21 3 21 9"),i(Ze,"points","9 21 3 21 3 15"),i(Ce,"x1","21"),i(Ce,"y1","3"),i(Ce,"x2","14"),i(Ce,"y2","10"),i(Ae,"x1","3"),i(Ae,"y1","21"),i(Ae,"x2","10"),i(Ae,"y2","14"),i(ae,"id","maximize-2"),i(ae,"class","icon"),i(ae,"viewBox","0 0 24 24"),i(Ne,"x1","3"),i(Ne,"y1","12"),i(Ne,"x2","21"),i(Ne,"y2","12"),i(Le,"x1","3"),i(Le,"y1","6"),i(Le,"x2","21"),i(Le,"y2","6"),i(Se,"x1","3"),i(Se,"y1","18"),i(Se,"x2","21"),i(Se,"y2","18"),i(he,"id","menu"),i(he,"class","icon"),i(he,"viewBox","0 0 24 24"),i($e,"d","M16.5 19H11V15H18V11H22V19H19.5L18 20.5L16.5 19Z"),i($e,"stroke","currentColor"),i($e,"stroke-width","1.5"),i($e,"stroke-linecap","round"),i($e,"stroke-linejoin","round"),i(_e,"d","M2 3H18V15H8.5L6.5 17L4.5 15H2V3 M5 10L5 12L10 12L10 10  M5 6L5 9L13 9L13 6Z"),i(_e,"fill","currentColor"),i(_e,"stroke","currentColor"),i(_e,"stroke-width","1.5"),i(_e,"stroke-linecap","round"),i(_e,"stroke-linejoin","round"),i(Re,"transform","translate(0, 1)"),i(Ie,"id","message-square"),i(Ie,"class","icon"),i(Ie,"viewBox","0 0 24 24"),i(De,"x1","5"),i(De,"y1","12"),i(De,"x2","19"),i(De,"y2","12"),i(Ve,"id","minus"),i(Ve,"class","icon"),i(Ve,"viewBox","0 0 24 24"),i(qe,"x1","12"),i(qe,"y1","5"),i(qe,"x2","12"),i(qe,"y2","19"),i(Me,"x1","5"),i(Me,"y1","12"),i(Me,"x2","19"),i(Me,"y2","12"),i(ge,"id","plus"),i(ge,"class","icon"),i(ge,"viewBox","0 0 24 24"),i(Fe,"d","M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"),i(Qe,"points","17 21 17 13 7 13 7 21"),i(Ye,"points","7 3 7 8 15 8"),i(pe,"id","save"),i(pe,"class","icon"),i(pe,"viewBox","0 0 24 24"),i(Je,"d","M9,7L6,7A2 2 0 0 0 6,17L9,17"),i(Xe,"d","M15,7L18,7A2 2 0 0 1 18,17L15,17"),i(xe,"d","M7,12L17,12"),i(de,"id","link"),i(de,"class","icon"),i(de,"viewBox","0 0 24 24"),i(et,"d","M2,7 L12,17 L20,7"),i(Te,"id","chevron"),i(Te,"class","icon"),i(Te,"viewBox","0 0 24 24"),i(Ue,"fill","currentColor"),i(Ue,"stroke","none"),i(Ue,"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"),i(He,"id","delete"),i(He,"class","icon"),i(He,"viewBox","0 0 24 24"),ze(e,"display","none")},m(tt,at){L(tt,e,at),h(e,t),h(t,l),h(l,r),h(l,s),h(t,n),h(n,a),h(n,f),h(t,c),h(c,v),h(c,y),h(t,d),h(d,m),h(d,_),h(t,b),h(b,D),h(t,j),h(j,q),h(j,P),h(t,N),h(N,O),h(N,I),h(N,S),h(t,$),h($,V),h($,F),h(t,R),h(R,se),h(R,U),h(t,E),h(E,M),h(E,ne),h(E,ue),h(E,we),h(t,x),h(x,ce),h(x,me),h(x,ie),h(t,Be),h(Be,We),h(t,ae),h(ae,Ge),h(ae,Ze),h(ae,Ce),h(ae,Ae),h(t,he),h(he,Ne),h(he,Le),h(he,Se),h(t,Ie),h(Ie,Re),h(Re,$e),h(Re,_e),h(t,Ve),h(Ve,De),h(t,ge),h(ge,qe),h(ge,Me),h(t,pe),h(pe,Fe),h(pe,Qe),h(pe,Ye),h(t,de),h(de,Je),h(de,Xe),h(de,xe),h(t,Te),h(Te,et),h(t,He),h(He,Ue)},p:Y,i:Y,o:Y,d(tt){tt&&u(e)}}}class bl extends ve{constructor(e){super(),ye(this,e,null,yl,be,{})}}function $l(o){let e,t;return{c(){e=B("li"),t=B("span"),this.h()},l(l){e=C(l,"LI",{"aria-hidden":!0});var r=p(e);t=C(r,"SPAN",{class:!0}),p(t).forEach(u),r.forEach(u),this.h()},h(){i(t,"class","separator svelte-u69e47"),i(e,"aria-hidden","true")},m(l,r){L(l,e,r),h(e,t)},p:Y,i:Y,o:Y,d(l){l&&u(e)}}}class nl extends ve{constructor(e){super(),ye(this,e,null,$l,be,{})}}const{window:wt}=tl,gl=o=>({}),Mt=o=>({}),kl=o=>({}),Tt=o=>({}),El=o=>({}),Ht=o=>({});function jt(o){let e,t,l;return{c(){e=B("div"),this.h()},l(r){e=C(r,"DIV",{class:!0}),p(e).forEach(u),this.h()},h(){i(e,"class","modal-background hide-if-desktop svelte-1ugb227")},m(r,s){L(r,e,s),t||(l=[Q(e,"click",o[9]),Q(e,"keydown",o[10])],t=!0)},p:Y,d(r){r&&u(e),t=!1,ot(l)}}}function wl(o){let e,t,l,r,s,n,a,f,c,v,y,d,m,_,b,D,j,q,P,N,O,I,S=o[1]&&jt(o);const $=o[8].home,V=ee($,o,o[7],Ht);n=new it({props:{name:o[1]?"close":"menu",size:"1em"}});const F=o[8]["nav-center"],R=ee(F,o,o[7],Tt),se=o[8]["nav-right"],U=ee(se,o,o[7],Mt);return m=new nl({}),P=new hl({}),{c(){S&&S.c(),e=T(),t=B("nav"),l=B("a"),V&&V.c(),r=T(),s=B("button"),K(n.$$.fragment),a=T(),f=B("ul"),R&&R.c(),c=T(),v=B("div"),y=B("ul"),U&&U.c(),d=T(),K(m.$$.fragment),_=T(),b=B("div"),D=B("span"),j=J("Theme"),q=T(),K(P.$$.fragment),this.h()},l(E){S&&S.l(E),e=H(E),t=C(E,"NAV",{"aria-label":!0,class:!0});var M=p(t);l=C(M,"A",{href:!0,class:!0,title:!0});var ne=p(l);V&&V.l(ne),ne.forEach(u),r=H(M),s=C(M,"BUTTON",{"aria-label":!0,"aria-expanded":!0,class:!0});var ue=p(s);W(n.$$.fragment,ue),ue.forEach(u),a=H(M),f=C(M,"UL",{class:!0});var we=p(f);R&&R.l(we),we.forEach(u),c=H(M),v=C(M,"DIV",{class:!0});var x=p(v);y=C(x,"UL",{class:!0});var ce=p(y);U&&U.l(ce),d=H(ce),W(m.$$.fragment,ce),ce.forEach(u),_=H(x),b=C(x,"DIV",{class:!0});var me=p(b);D=C(me,"SPAN",{class:!0});var ie=p(D);j=X(ie,"Theme"),ie.forEach(u),q=H(me),W(P.$$.fragment,me),me.forEach(u),x.forEach(u),M.forEach(u),this.h()},h(){i(l,"href","/"),i(l,"class","nav-spot home svelte-1ugb227"),i(l,"title",o[0]),i(s,"aria-label","Toggle menu"),i(s,"aria-expanded",o[1]),i(s,"class","menu-toggle svelte-1ugb227"),je(s,"open",o[1]),i(f,"class","menu-section svelte-1ugb227"),i(y,"class","svelte-1ugb227"),i(D,"class","caption svelte-1ugb227"),i(b,"class","appearance svelte-1ugb227"),i(v,"class","external menu-section svelte-1ugb227"),i(t,"aria-label","Primary"),i(t,"class","svelte-1ugb227"),je(t,"visible",o[2]||o[1]),je(t,"open",o[1])},m(E,M){S&&S.m(E,M),L(E,e,M),L(E,t,M),h(t,l),V&&V.m(l,null),h(t,r),h(t,s),G(n,s,null),h(t,a),h(t,f),R&&R.m(f,null),h(t,c),h(t,v),h(v,y),U&&U.m(y,null),h(y,d),G(m,y,null),h(v,_),h(v,b),h(b,D),h(D,j),h(b,q),G(P,b,null),o[12](t),N=!0,O||(I=[Q(wt,"hashchange",o[4]),Q(wt,"scroll",o[5]),Q(wt,"focusin",o[6]),Q(s,"click",o[11])],O=!0)},p(E,[M]){E[1]?S?S.p(E,M):(S=jt(E),S.c(),S.m(e.parentNode,e)):S&&(S.d(1),S=null),V&&V.p&&(!N||M&128)&&te(V,$,E,E[7],N?re($,E[7],M,El):le(E[7]),Ht),(!N||M&1)&&i(l,"title",E[0]);const ne={};M&2&&(ne.name=E[1]?"close":"menu"),n.$set(ne),(!N||M&2)&&i(s,"aria-expanded",E[1]),(!N||M&2)&&je(s,"open",E[1]),R&&R.p&&(!N||M&128)&&te(R,F,E,E[7],N?re(F,E[7],M,kl):le(E[7]),Tt),U&&U.p&&(!N||M&128)&&te(U,se,E,E[7],N?re(se,E[7],M,gl):le(E[7]),Mt),(!N||M&6)&&je(t,"visible",E[2]||E[1]),(!N||M&2)&&je(t,"open",E[1])},i(E){N||(w(V,E),w(n.$$.fragment,E),w(R,E),w(U,E),w(m.$$.fragment,E),w(P.$$.fragment,E),N=!0)},o(E){A(V,E),A(n.$$.fragment,E),A(R,E),A(U,E),A(m.$$.fragment,E),A(P.$$.fragment,E),N=!1},d(E){S&&S.d(E),E&&u(e),E&&u(t),V&&V.d(E),Z(n),R&&R.d(E),U&&U.d(E),Z(m),Z(P),o[12](null),O=!1,ot(I)}}}function Bl(o,e,t){let{$$slots:l={},$$scope:r}=e,{home_title:s="Homepage"}=e,n=!1,a=!0,f;sl.subscribe(()=>{t(1,n=!1)});let c=!1;function v(){c=!0}let y=0;function d(){const q=window.pageYOffset;c||t(2,a=q<50||q<y),y=q,c=!1}function m(){n&&!f.contains(document.activeElement)&&t(1,n=!1)}const _=()=>t(1,n=!1),b=q=>q.key===" "&&t(1,n=!1),D=()=>t(1,n=!n);function j(q){ll[q?"unshift":"push"](()=>{f=q,t(3,f)})}return o.$$set=q=>{"home_title"in q&&t(0,s=q.home_title),"$$scope"in q&&t(7,r=q.$$scope)},[s,n,a,f,v,d,m,r,l,_,b,D,j]}class Cl extends ve{constructor(e){super(),ye(this,e,Bl,wl,be,{home_title:0})}}const Al=o=>({}),Pt=o=>({}),Nl=o=>({}),Ot=o=>({});function Ll(o){let e,t,l,r,s,n;const a=o[5].default,f=ee(a,o,o[4],null),c=o[5].small,v=ee(c,o,o[4],Pt),y=v||Il(o);return{c(){e=B("li"),t=B("a"),l=B("span"),f&&f.c(),r=T(),s=B("span"),y&&y.c(),this.h()},l(d){e=C(d,"LI",{});var m=p(e);t=C(m,"A",{"aria-current":!0,href:!0,title:!0,class:!0});var _=p(t);l=C(_,"SPAN",{class:!0});var b=p(l);f&&f.l(b),b.forEach(u),r=H(_),s=C(_,"SPAN",{class:!0});var D=p(s);y&&y.l(D),D.forEach(u),_.forEach(u),m.forEach(u),this.h()},h(){i(l,"class","large svelte-qpa7kv"),i(s,"class","small svelte-qpa7kv"),i(t,"aria-current",o[3]),i(t,"href",o[0]),i(t,"title",o[2]),i(t,"class","svelte-qpa7kv")},m(d,m){L(d,e,m),h(e,t),h(t,l),f&&f.m(l,null),h(t,r),h(t,s),y&&y.m(s,null),n=!0},p(d,m){f&&f.p&&(!n||m&16)&&te(f,a,d,d[4],n?re(a,d[4],m,null):le(d[4]),null),v?v.p&&(!n||m&16)&&te(v,c,d,d[4],n?re(c,d[4],m,Al):le(d[4]),Pt):y&&y.p&&(!n||m&16)&&y.p(d,n?m:-1),(!n||m&8)&&i(t,"aria-current",d[3]),(!n||m&1)&&i(t,"href",d[0]),(!n||m&4)&&i(t,"title",d[2])},i(d){n||(w(f,d),w(y,d),n=!0)},o(d){A(f,d),A(y,d),n=!1},d(d){d&&u(e),f&&f.d(d),y&&y.d(d)}}}function Sl(o){let e,t,l,r,s,n;const a=o[5].default,f=ee(a,o,o[4],null),c=o[5].small,v=ee(c,o,o[4],Ot),y=v||Vl(o);return{c(){e=B("li"),t=B("a"),l=B("span"),f&&f.c(),r=T(),s=B("span"),y&&y.c(),this.h()},l(d){e=C(d,"LI",{});var m=p(e);t=C(m,"A",{href:!0,title:!0,rel:!0,class:!0});var _=p(t);l=C(_,"SPAN",{class:!0});var b=p(l);f&&f.l(b),b.forEach(u),r=H(_),s=C(_,"SPAN",{class:!0});var D=p(s);y&&y.l(D),D.forEach(u),_.forEach(u),m.forEach(u),this.h()},h(){i(l,"class","large svelte-qpa7kv"),i(s,"class","small svelte-qpa7kv"),i(t,"href",o[1]),i(t,"title",o[2]),i(t,"rel","external"),i(t,"class","svelte-qpa7kv")},m(d,m){L(d,e,m),h(e,t),h(t,l),f&&f.m(l,null),h(t,r),h(t,s),y&&y.m(s,null),n=!0},p(d,m){f&&f.p&&(!n||m&16)&&te(f,a,d,d[4],n?re(a,d[4],m,null):le(d[4]),null),v?v.p&&(!n||m&16)&&te(v,c,d,d[4],n?re(c,d[4],m,Nl):le(d[4]),Ot):y&&y.p&&(!n||m&16)&&y.p(d,n?m:-1),(!n||m&2)&&i(t,"href",d[1]),(!n||m&4)&&i(t,"title",d[2])},i(d){n||(w(f,d),w(y,d),n=!0)},o(d){A(f,d),A(y,d),n=!1},d(d){d&&u(e),f&&f.d(d),y&&y.d(d)}}}function Il(o){let e;const t=o[5].default,l=ee(t,o,o[4],null);return{c(){l&&l.c()},l(r){l&&l.l(r)},m(r,s){l&&l.m(r,s),e=!0},p(r,s){l&&l.p&&(!e||s&16)&&te(l,t,r,r[4],e?re(t,r[4],s,null):le(r[4]),null)},i(r){e||(w(l,r),e=!0)},o(r){A(l,r),e=!1},d(r){l&&l.d(r)}}}function Vl(o){let e;const t=o[5].default,l=ee(t,o,o[4],null);return{c(){l&&l.c()},l(r){l&&l.l(r)},m(r,s){l&&l.m(r,s),e=!0},p(r,s){l&&l.p&&(!e||s&16)&&te(l,t,r,r[4],e?re(t,r[4],s,null):le(r[4]),null)},i(r){e||(w(l,r),e=!0)},o(r){A(l,r),e=!1},d(r){l&&l.d(r)}}}function Dl(o){let e,t,l,r;const s=[Sl,Ll],n=[];function a(f,c){return f[1]?0:1}return e=a(o),t=n[e]=s[e](o),{c(){t.c(),l=oe()},l(f){t.l(f),l=oe()},m(f,c){n[e].m(f,c),L(f,l,c),r=!0},p(f,[c]){let v=e;e=a(f),e===v?n[e].p(f,c):(ke(),A(n[v],1,1,()=>{n[v]=null}),Ee(),t=n[e],t?t.p(f,c):(t=n[e]=s[e](f),t.c()),w(t,1),t.m(l.parentNode,l))},i(f){r||(w(t),r=!0)},o(f){A(t),r=!1},d(f){n[e].d(f),f&&u(l)}}}function ql(o,e,t){let{$$slots:l={},$$scope:r}=e,{href:s=void 0}=e,{external:n=void 0}=e,{title:a=void 0}=e,{selected:f=void 0}=e;return o.$$set=c=>{"href"in c&&t(0,s=c.href),"external"in c&&t(1,n=c.external),"title"in c&&t(2,a=c.title),"selected"in c&&t(3,f=c.selected),"$$scope"in c&&t(4,r=c.$$scope)},[s,n,a,f,r,l]}class st extends ve{constructor(e){super(),ye(this,e,ql,Dl,be,{href:0,external:1,title:2,selected:3})}}function Ml(o){return o/=.5,o<1?.5*o*o:(o--,-.5*(o*(o-2)-1))}function Rt(o){return Object.prototype.toString.call(o)==="[object Date]"}function Ct(o,e){if(o===e||o!==o)return()=>o;const t=typeof o;if(t!==typeof e||Array.isArray(o)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(o)){const l=e.map((r,s)=>Ct(o[s],r));return r=>l.map(s=>s(r))}if(t==="object"){if(!o||!e)throw new Error("Object cannot be null");if(Rt(o)&&Rt(e)){o=o.getTime(),e=e.getTime();const s=e-o;return n=>new Date(o+n*s)}const l=Object.keys(e),r={};return l.forEach(s=>{r[s]=Ct(o[s],e[s])}),s=>{const n={};return l.forEach(a=>{n[a]=r[a](s)}),n}}if(t==="number"){const l=e-o;return r=>o+r*l}throw new Error(`Cannot interpolate ${t} values`)}function Tl(o,e={}){const t=pl(o);let l,r=o;function s(n,a){if(o==null)return t.set(o=n),Promise.resolve();r=n;let f=l,c=!1,{delay:v=0,duration:y=400,easing:d=fl,interpolate:m=Ct}=Dt(Dt({},e),a);if(y===0)return f&&(f.abort(),f=null),t.set(o=r),Promise.resolve();const _=il()+v;let b;return l=al(D=>{if(D<_)return!0;c||(b=m(o,n),typeof y=="function"&&(y=y(o,n)),c=!0),f&&(f.abort(),f=null);const j=D-_;return j>y?(t.set(o=n),!1):(t.set(o=b(d(j/y))),!0)}),l.promise}return{set:s,update:(n,a)=>s(n(r,o),a),subscribe:t.subscribe}}function Ut(o){let e,t;return{c(){e=B("div"),t=B("div"),this.h()},l(l){e=C(l,"DIV",{class:!0});var r=p(e);t=C(r,"DIV",{class:!0,style:!0}),p(t).forEach(u),r.forEach(u),this.h()},h(){i(t,"class","progress svelte-156y8je"),ze(t,"width",o[1]*100+"%"),i(e,"class","progress-container svelte-156y8je")},m(l,r){L(l,e,r),h(e,t)},p(l,r){r&2&&ze(t,"width",l[1]*100+"%")},d(l){l&&u(e)}}}function zt(o){let e;return{c(){e=B("div"),this.h()},l(t){e=C(t,"DIV",{class:!0}),p(e).forEach(u),this.h()},h(){i(e,"class","fade svelte-156y8je")},m(t,l){L(t,e,l)},d(t){t&&u(e)}}}function Hl(o){let e,t,l=o[0]&&Ut(o),r=o[1]>=.4&&zt();return{c(){l&&l.c(),e=T(),r&&r.c(),t=oe()},l(s){l&&l.l(s),e=H(s),r&&r.l(s),t=oe()},m(s,n){l&&l.m(s,n),L(s,e,n),r&&r.m(s,n),L(s,t,n)},p(s,[n]){s[0]?l?l.p(s,n):(l=Ut(s),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),s[1]>=.4?r||(r=zt(),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},i:Y,o:Y,d(s){l&&l.d(s),s&&u(e),r&&r.d(s),s&&u(t)}}}function jl(o,e,t){let l;const r=Tl(0,{easing:Ml});Oe(o,r,n=>t(1,l=n));let s=!1;return rl(()=>{function n(){t(0,s=!0);const a=1-l;r.update(f=>f+.1,{duration:a+.1>.15?250:500/a}),a>.15&&setTimeout(n,500/a)}setTimeout(n,250)}),[s,l,r]}class Pl extends ve{constructor(e){super(),ye(this,e,jl,Hl,be,{})}}function Ol(o){let e;return{c(){e=J("Skip to main content")},l(t){e=X(t,"Skip to main content")},m(t,l){L(t,e,l)},d(t){t&&u(e)}}}function Rl(o){let e,t;const l=o[2].default,r=ee(l,o,o[1],null),s=r||Ol();return{c(){e=B("a"),s&&s.c(),this.h()},l(n){e=C(n,"A",{href:!0,class:!0});var a=p(e);s&&s.l(a),a.forEach(u),this.h()},h(){i(e,"href",o[0]),i(e,"class","svelte-1rscj97")},m(n,a){L(n,e,a),s&&s.m(e,null),t=!0},p(n,[a]){r&&r.p&&(!t||a&2)&&te(r,l,n,n[1],t?re(l,n[1],a,null):le(n[1]),null),(!t||a&1)&&i(e,"href",n[0])},i(n){t||(w(s,n),t=!0)},o(n){A(s,n),t=!1},d(n){n&&u(e),s&&s.d(n)}}}function Ul(o,e,t){let{$$slots:l={},$$scope:r}=e,{href:s}=e;return o.$$set=n=>{"href"in n&&t(0,s=n.href),"$$scope"in n&&t(1,r=n.$$scope)},[s,r,l]}class zl extends ve{constructor(e){super(),ye(this,e,Ul,Rl,be,{href:0})}}const Kl=o=>({banner_bottom_height:o&1}),Kt=o=>({banner_bottom_height:o[0]}),Wl=o=>({}),Wt=o=>({});function Gt(o){let e,t;return e=new Pl({}),{c(){K(e.$$.fragment)},l(l){W(e.$$.fragment,l)},m(l,r){G(e,l,r),t=!0},i(l){t||(w(e.$$.fragment,l),t=!0)},o(l){A(e.$$.fragment,l),t=!1},d(l){Z(e,l)}}}function Zt(o){let e,t,l;e=new zl({props:{href:"#main"}});const r=o[4]["top-nav"],s=ee(r,o,o[3],Wt);return{c(){K(e.$$.fragment),t=T(),s&&s.c()},l(n){W(e.$$.fragment,n),t=H(n),s&&s.l(n)},m(n,a){G(e,n,a),L(n,t,a),s&&s.m(n,a),l=!0},p(n,a){s&&s.p&&(!l||a&8)&&te(s,r,n,n[3],l?re(r,n[3],a,Wl):le(n[3]),Wt)},i(n){l||(w(e.$$.fragment,n),w(s,n),l=!0)},o(n){A(e.$$.fragment,n),A(s,n),l=!1},d(n){Z(e,n),n&&u(t),s&&s.d(n)}}}function Ft(o){let e,t;const l=o[4]["banner-bottom"],r=ee(l,o,o[3],Kt);return{c(){e=B("div"),r&&r.c(),this.h()},l(s){e=C(s,"DIV",{});var n=p(e);r&&r.l(n),n.forEach(u),this.h()},h(){ze(e,"--sk-banner-bottom-height",o[0])},m(s,n){L(s,e,n),r&&r.m(e,null),t=!0},p(s,n){r&&r.p&&(!t||n&9)&&te(r,l,s,s[3],t?re(l,s[3],n,Kl):le(s[3]),Kt),n&1&&ze(e,"--sk-banner-bottom-height",s[0])},i(s){t||(w(r,s),t=!0)},o(s){A(r,s),t=!1},d(s){s&&u(e),r&&r.d(s)}}}function Gl(o){let e,t,l,r,s,n,a,f;e=new bl({});let c=o[2]&&Gt(),v=o[1]&&Zt(o);const y=o[4].default,d=ee(y,o,o[3],null);let m=o[0]!=="0px"&&Ft(o);return{c(){K(e.$$.fragment),t=T(),c&&c.c(),l=T(),v&&v.c(),r=T(),s=B("main"),d&&d.c(),n=T(),m&&m.c(),a=oe(),this.h()},l(_){W(e.$$.fragment,_),t=H(_),c&&c.l(_),l=H(_),v&&v.l(_),r=H(_),s=C(_,"MAIN",{id:!0,class:!0});var b=p(s);d&&d.l(b),b.forEach(u),n=H(_),m&&m.l(_),a=oe(),this.h()},h(){i(s,"id","main"),i(s,"class","svelte-kaas8c"),ze(s,"--sk-banner-bottom-height",o[0])},m(_,b){G(e,_,b),L(_,t,b),c&&c.m(_,b),L(_,l,b),v&&v.m(_,b),L(_,r,b),L(_,s,b),d&&d.m(s,null),L(_,n,b),m&&m.m(_,b),L(_,a,b),f=!0},p(_,[b]){_[2]?c?b&4&&w(c,1):(c=Gt(),c.c(),w(c,1),c.m(l.parentNode,l)):c&&(ke(),A(c,1,1,()=>{c=null}),Ee()),_[1]?v?(v.p(_,b),b&2&&w(v,1)):(v=Zt(_),v.c(),w(v,1),v.m(r.parentNode,r)):v&&(ke(),A(v,1,1,()=>{v=null}),Ee()),d&&d.p&&(!f||b&8)&&te(d,y,_,_[3],f?re(y,_[3],b,null):le(_[3]),null),b&1&&ze(s,"--sk-banner-bottom-height",_[0]),_[0]!=="0px"?m?(m.p(_,b),b&1&&w(m,1)):(m=Ft(_),m.c(),w(m,1),m.m(a.parentNode,a)):m&&(ke(),A(m,1,1,()=>{m=null}),Ee())},i(_){f||(w(e.$$.fragment,_),w(c),w(v),w(d,_),w(m),f=!0)},o(_){A(e.$$.fragment,_),A(c),A(v),A(d,_),A(m),f=!1},d(_){Z(e,_),_&&u(t),c&&c.d(_),_&&u(l),v&&v.d(_),_&&u(r),_&&u(s),d&&d.d(_),_&&u(n),m&&m.d(_),_&&u(a)}}}function Zl(o,e,t){let l;Oe(o,ml,f=>t(2,l=f));let{$$slots:r={},$$scope:s}=e,{banner_bottom_height:n="0px"}=e,{nav_visible:a=!0}=e;return o.$$set=f=>{"banner_bottom_height"in f&&t(0,n=f.banner_bottom_height),"nav_visible"in f&&t(1,a=f.nav_visible),"$$scope"in f&&t(3,s=f.$$scope)},[n,a,l,s,r]}class Fl extends ve{constructor(e){super(),ye(this,e,Zl,Gl,be,{banner_bottom_height:0,nav_visible:1})}}function Ql(o){let e,t,l=navigator.platform==="MacIntel"?"⌘":"Ctrl",r,s,n,a;return{c(){e=B("div"),t=B("kbd"),r=J(l),s=T(),n=B("kbd"),a=J("K"),this.h()},l(f){e=C(f,"DIV",{class:!0});var c=p(e);t=C(c,"KBD",{class:!0});var v=p(t);r=X(v,l),v.forEach(u),s=H(c),n=C(c,"KBD",{class:!0});var y=p(n);a=X(y,"K"),y.forEach(u),c.forEach(u),this.h()},h(){i(t,"class","svelte-9kfram"),i(n,"class","svelte-9kfram"),i(e,"class","shortcut svelte-9kfram")},m(f,c){L(f,e,c),h(e,t),h(t,r),h(e,s),h(e,n),h(n,a)},p:Y,d(f){f&&u(e)}}}function Yl(o){let e,t,l,r,s,n=Ql();return{c(){e=B("form"),t=B("input"),l=T(),n&&n.c(),this.h()},l(a){e=C(a,"FORM",{class:!0,action:!0});var f=p(e);t=C(f,"INPUT",{type:!0,name:!0,placeholder:!0,"aria-label":!0,spellcheck:!0,class:!0}),l=H(f),n&&n.l(f),f.forEach(u),this.h()},h(){t.value=o[0],i(t,"type","search"),i(t,"name","q"),i(t,"placeholder","Search"),i(t,"aria-label","Search"),i(t,"spellcheck","false"),i(t,"class","svelte-9kfram"),i(e,"class","search-container svelte-9kfram"),i(e,"action","/search")},m(a,f){L(a,e,f),h(e,t),h(e,l),n&&n.m(e,null),r||(s=[Q(t,"input",o[3]),Q(t,"mousedown",qt(o[4])),Q(t,"touchend",qt(o[5]))],r=!0)},p(a,[f]){f&1&&t.value!==a[0]&&(t.value=a[0]),n.p(a,f)},i:Y,o:Y,d(a){a&&u(e),n&&n.d(),r=!1,ot(s)}}}function Jl(o,e,t){let l,r;Oe(o,Pe,c=>t(1,l=c)),Oe(o,nt,c=>t(2,r=c));let{q:s=""}=e;const n=c=>{fe(Pe,l=!0,l),fe(nt,r=c.currentTarget.value,r),c.currentTarget.value=""},a=()=>fe(Pe,l=!0,l),f=()=>fe(Pe,l=!0,l);return o.$$set=c=>{"q"in c&&t(0,s=c.q)},[s,l,r,n,a,f]}class Xl extends ve{constructor(e){super(),ye(this,e,Jl,Yl,be,{q:0})}}function ol(o){const e=Array.from(o.querySelectorAll('a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])')),t=e.indexOf(document.activeElement);return{next:r=>{const s=[...e.slice(t+1),...e.slice(0,t+1)];for(let n=0;n<s.length;n+=1)if(!r||s[n].matches(r)){s[n].focus();return}},prev:r=>{const s=[...e.slice(t+1),...e.slice(0,t+1)];for(let n=s.length-2;n>=0;n-=1)if(!r||s[n].matches(r)){s[n].focus();return}},update:r=>{let s=t+r;s+=e.length,s%=e.length,e[s].focus()}}}function xl(o){const e=t=>{if(t.key==="Tab"){t.preventDefault();const l=ol(o);t.shiftKey?l.prev():l.next()}};return o.addEventListener("keydown",e),{destroy:()=>{o.removeEventListener("keydown",e)}}}function er(){return new Worker(""+new URL("../workers/search-worker-248fd502.js",import.meta.url).href)}const{window:tr}=tl;function Qt(o,e,t){const l=o.slice();return l[6]=e[t],l[22]=t,l}function Yt(o){let e,t,l,r,s,n,a,f,c,v,y,d,m,_,b,D,j,q;f=new it({props:{name:"close"}});const P=[rr,lr],N=[];function O(I,S){var $;return($=I[6])!=null&&$.query?0:1}return _=O(o),b=N[_]=P[_](o),{c(){e=B("div"),t=T(),l=B("div"),r=B("div"),s=B("input"),n=T(),a=B("button"),K(f.$$.fragment),c=T(),v=B("span"),y=J("Results will update as you type"),d=T(),m=B("div"),b.c(),this.h()},l(I){e=C(I,"DIV",{class:!0}),p(e).forEach(u),t=H(I),l=C(I,"DIV",{class:!0});var S=p(l);r=C(S,"DIV",{class:!0});var $=p(r);s=C($,"INPUT",{placeholder:!0,"aria-describedby":!0,"aria-label":!0,spellcheck:!0,class:!0}),n=H($),a=C($,"BUTTON",{"aria-label":!0,class:!0});var V=p(a);W(f.$$.fragment,V),V.forEach(u),c=H($),v=C($,"SPAN",{id:!0,class:!0});var F=p(v);y=X(F,"Results will update as you type"),F.forEach(u),d=H($),m=C($,"DIV",{class:!0});var R=p(m);b.l(R),R.forEach(u),$.forEach(u),S.forEach(u),this.h()},h(){i(e,"class","modal-background svelte-fm6yy5"),s.autofocus=!0,s.value=o[3],i(s,"placeholder","Search"),i(s,"aria-describedby","search-description"),i(s,"aria-label","Search"),i(s,"spellcheck","false"),i(s,"class","svelte-fm6yy5"),i(a,"aria-label","Close"),i(a,"class","svelte-fm6yy5"),i(v,"id","search-description"),i(v,"class","visually-hidden svelte-fm6yy5"),i(m,"class","results svelte-fm6yy5"),i(r,"class","search-box svelte-fm6yy5"),i(l,"class","modal svelte-fm6yy5")},m(I,S){L(I,e,S),L(I,t,S),L(I,l,S),h(l,r),h(r,s),h(r,n),h(r,a),G(f,a,null),h(r,c),h(r,v),h(v,y),h(r,d),h(r,m),N[_].m(m,null),o[18](l),D=!0,s.focus(),j||(q=[Q(e,"click",o[7]),Q(s,"keydown",o[12]),Q(s,"input",o[13]),Q(a,"click",o[7]),Q(l,"keydown",o[19]),ul(xl.call(null,l))],j=!0)},p(I,S){(!D||S&8&&s.value!==I[3])&&(s.value=I[3]);let $=_;_=O(I),_===$?N[_].p(I,S):(ke(),A(N[$],1,1,()=>{N[$]=null}),Ee(),b=N[_],b?b.p(I,S):(b=N[_]=P[_](I),b.c()),w(b,1),b.m(m,null))},i(I){D||(w(f.$$.fragment,I),w(b),D=!0)},o(I){A(f.$$.fragment,I),A(b),D=!1},d(I){I&&u(e),I&&u(t),I&&u(l),Z(f),N[_].d(),o[18](null),j=!1,ot(q)}}}function lr(o){let e,t=o[5].length?"Recent searches":"No recent searches",l,r,s,n,a=o[5].length&&Jt(o);return{c(){e=B("h2"),l=J(t),r=T(),a&&a.c(),s=oe(),this.h()},l(f){e=C(f,"H2",{class:!0});var c=p(e);l=X(c,t),c.forEach(u),r=H(f),a&&a.l(f),s=oe(),this.h()},h(){i(e,"class","info svelte-fm6yy5"),je(e,"empty",o[5].length===0)},m(f,c){L(f,e,c),h(e,l),L(f,r,c),a&&a.m(f,c),L(f,s,c),n=!0},p(f,c){(!n||c&32)&&t!==(t=f[5].length?"Recent searches":"No recent searches")&&Bt(l,t),(!n||c&32)&&je(e,"empty",f[5].length===0),f[5].length?a?(a.p(f,c),c&32&&w(a,1)):(a=Jt(f),a.c(),w(a,1),a.m(s.parentNode,s)):a&&(ke(),A(a,1,1,()=>{a=null}),Ee())},i(f){n||(w(a),n=!0)},o(f){A(a),n=!1},d(f){f&&u(e),f&&u(r),a&&a.d(f),f&&u(s)}}}function rr(o){let e,t,l,r,s;return t=new dl({props:{results:o[6].results,query:o[6].query}}),t.$on("select",o[14]),{c(){e=B("div"),K(t.$$.fragment),this.h()},l(n){e=C(n,"DIV",{class:!0});var a=p(e);W(t.$$.fragment,a),a.forEach(u),this.h()},h(){i(e,"class","results-container svelte-fm6yy5")},m(n,a){L(n,e,a),G(t,e,null),l=!0,r||(s=Q(e,"click",o[15]),r=!0)},p(n,a){const f={};a&64&&(f.results=n[6].results),a&64&&(f.query=n[6].query),t.$set(f)},i(n){l||(w(t.$$.fragment,n),l=!0)},o(n){A(t.$$.fragment,n),l=!1},d(n){n&&u(e),Z(t),r=!1,s()}}}function Jt(o){let e,t,l,r=o[5],s=[];for(let a=0;a<r.length;a+=1)s[a]=Xt(Qt(o,r,a));const n=a=>A(s[a],1,1,()=>{s[a]=null});return{c(){e=B("div"),t=B("ul");for(let a=0;a<s.length;a+=1)s[a].c();this.h()},l(a){e=C(a,"DIV",{class:!0});var f=p(e);t=C(f,"UL",{class:!0});var c=p(t);for(let v=0;v<s.length;v+=1)s[v].l(c);c.forEach(u),f.forEach(u),this.h()},h(){i(t,"class","svelte-fm6yy5"),i(e,"class","results-container svelte-fm6yy5")},m(a,f){L(a,e,f),h(e,t);for(let c=0;c<s.length;c+=1)s[c]&&s[c].m(t,null);l=!0},p(a,f){if(f&292){r=a[5];let c;for(c=0;c<r.length;c+=1){const v=Qt(a,r,c);s[c]?(s[c].p(v,f),w(s[c],1)):(s[c]=Xt(v),s[c].c(),w(s[c],1),s[c].m(t,null))}for(ke(),c=r.length;c<s.length;c+=1)n(c);Ee()}},i(a){if(!l){for(let f=0;f<r.length;f+=1)w(s[f]);l=!0}},o(a){s=s.filter(Boolean);for(let f=0;f<s.length;f+=1)A(s[f]);l=!1},d(a){a&&u(e),cl(s,a)}}}function Xt(o){let e,t,l,r=o[6].breadcrumbs.join("/")+"",s,n,a,f=o[6].breadcrumbs.at(-1)+"",c,v,y,d,m,_,b,D,j;function q(){return o[16](o[6])}m=new it({props:{name:"delete"}});function P(...N){return o[17](o[6],...N)}return{c(){e=B("li"),t=B("a"),l=B("small"),s=J(r),n=T(),a=B("strong"),c=J(f),y=T(),d=B("button"),K(m.$$.fragment),_=T(),this.h()},l(N){e=C(N,"LI",{class:!0});var O=p(e);t=C(O,"A",{href:!0,class:!0});var I=p(t);l=C(I,"SMALL",{class:!0});var S=p(l);s=X(S,r),S.forEach(u),n=H(I),a=C(I,"STRONG",{class:!0});var $=p(a);c=X($,f),$.forEach(u),I.forEach(u),y=H(O),d=C(O,"BUTTON",{"aria-label":!0,class:!0});var V=p(d);W(m.$$.fragment,V),V.forEach(u),_=H(O),O.forEach(u),this.h()},h(){i(l,"class","svelte-fm6yy5"),i(a,"class","svelte-fm6yy5"),i(t,"href",v=o[6].href),i(t,"class","svelte-fm6yy5"),i(d,"aria-label","Delete"),i(d,"class","svelte-fm6yy5"),i(e,"class","recent svelte-fm6yy5")},m(N,O){L(N,e,O),h(e,t),h(t,l),h(l,s),h(t,n),h(t,a),h(a,c),h(e,y),h(e,d),G(m,d,null),h(e,_),b=!0,D||(j=[Q(t,"click",q),Q(d,"click",P)],D=!0)},p(N,O){o=N,(!b||O&32)&&r!==(r=o[6].breadcrumbs.join("/")+"")&&Bt(s,r),(!b||O&32)&&f!==(f=o[6].breadcrumbs.at(-1)+"")&&Bt(c,f),(!b||O&32&&v!==(v=o[6].href))&&i(t,"href",v)},i(N){b||(w(m.$$.fragment,N),b=!0)},o(N){A(m.$$.fragment,N),b=!1},d(N){N&&u(e),Z(m),D=!1,ot(j)}}}function xt(o){let e,t;return{c(){e=B("p"),t=J("No results")},l(l){e=C(l,"P",{});var r=p(e);t=X(r,"No results"),r.forEach(u)},m(l,r){L(l,e,r),h(e,t)},d(l){l&&u(e)}}}function sr(o){var f;let e,t,l,r,s,n=o[1]&&o[0]&&Yt(o),a=o[1]&&((f=o[6])==null?void 0:f.results.length)===0&&xt();return{c(){n&&n.c(),e=T(),t=B("div"),a&&a.c(),this.h()},l(c){n&&n.l(c),e=H(c),t=C(c,"DIV",{"aria-live":!0,class:!0});var v=p(t);a&&a.l(v),v.forEach(u),this.h()},h(){i(t,"aria-live","assertive"),i(t,"class","visually-hidden")},m(c,v){n&&n.m(c,v),L(c,e,v),L(c,t,v),a&&a.m(t,null),l=!0,r||(s=Q(tr,"keydown",o[11]),r=!0)},p(c,[v]){var y;c[1]&&c[0]?n?(n.p(c,v),v&3&&w(n,1)):(n=Yt(c),n.c(),w(n,1),n.m(e.parentNode,e)):n&&(ke(),A(n,1,1,()=>{n=null}),Ee()),c[1]&&((y=c[6])==null?void 0:y.results.length)===0?a||(a=xt(),a.c(),a.m(t,null)):a&&(a.d(1),a=null)},i(c){l||(w(n),l=!0)},o(c){A(n),l=!1},d(c){n&&n.d(c),c&&u(e),c&&u(t),a&&a.d(),r=!1,s()}}}function nr(o,e,t){let l,r,s;Oe(o,Pe,$=>t(1,l=$)),Oe(o,Et,$=>t(2,r=$)),Oe(o,nt,$=>t(3,s=$));let n,a=null,f=[],c,v=!1,y=1;const d=new Set;rl(async()=>{t(9,c=new er),c.addEventListener("message",$=>{const{type:V,payload:F}=$.data;V==="ready"&&t(0,v=!0),V==="results"&&t(6,a=F),V==="recents"&&t(5,f=F)}),c.postMessage({type:"init",payload:{origin:location.origin}})}),_l(()=>{m()});function m(){if(l){fe(Pe,l=!1,l);const $=-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,$)}t(6,a=null)}function _($){fe(Et,r=[$,...r.filter(V=>V!==$)],r),m()}const b=$=>{$.key==="k"&&(navigator.platform==="MacIntel"?$.metaKey:$.ctrlKey)&&($.preventDefault(),fe(nt,s="",s),l?m():fe(Pe,l=!0,l)),$.code==="Escape"&&m()},D=$=>{var V;$.key==="Enter"&&!$.isComposing&&((V=n.querySelector("a[data-has-node]"))==null||V.click())},j=$=>{fe(nt,s=$.currentTarget.value,s)},q=$=>{_($.detail.href)},P=()=>fe(Pe,l=!1,l),N=$=>_($.href),O=($,V)=>{fe(Et,r=r.filter(F=>F!==$.href),r),V.stopPropagation(),V.preventDefault()};function I($){ll[$?"unshift":"push"](()=>{n=$,t(4,n)})}const S=$=>{if($.key==="ArrowDown"||$.key==="ArrowUp"){$.preventDefault();const V=ol($.currentTarget),F="a, input";$.key==="ArrowDown"?V.next(F):V.prev(F)}};return o.$$.update=()=>{if(o.$$.dirty&1545&&v){const $=t(10,y++,y);d.add($),c.postMessage({type:"query",id:$,payload:s})}o.$$.dirty&517&&v&&c.postMessage({type:"recents",payload:r}),o.$$.dirty&2&&l&&(document.body.style.top=`-${window.scrollY}px`,document.body.style.position="fixed")},[v,l,r,s,n,f,a,m,_,c,y,b,D,j,q,P,N,O,I,S]}class or extends ve{constructor(e){super(),ye(this,e,nr,sr,be,{})}}function ir(o){let e;const t=o[1].default,l=ee(t,o,o[2],null);return{c(){l&&l.c()},l(r){l&&l.l(r)},m(r,s){l&&l.m(r,s),e=!0},p(r,s){l&&l.p&&(!e||s&4)&&te(l,t,r,r[2],e?re(t,r[2],s,null):le(r[2]),null)},i(r){e||(w(l,r),e=!0)},o(r){A(l,r),e=!1},d(r){l&&l.d(r)}}}function ar(o){let e,t,l,r;return{c(){e=B("span"),t=B("strong"),l=J("kit"),r=J(".svelte.dev")},l(s){e=C(s,"SPAN",{});var n=p(e);t=C(n,"STRONG",{});var a=p(t);l=X(a,"kit"),a.forEach(u),r=X(n,".svelte.dev"),n.forEach(u)},m(s,n){L(s,e,n),h(e,t),h(t,l),h(e,r)},p:Y,d(s){s&&u(e)}}}function el(o){let e,t,l;return t=new Xl({}),{c(){e=B("li"),K(t.$$.fragment),this.h()},l(r){e=C(r,"LI",{class:!0});var s=p(e);W(t.$$.fragment,s),s.forEach(u),this.h()},h(){i(e,"class","svelte-zcj03w")},m(r,s){L(r,e,s),G(t,e,null),l=!0},i(r){l||(w(t.$$.fragment,r),l=!0)},o(r){A(t.$$.fragment,r),l=!1},d(r){r&&u(e),Z(t)}}}function fr(o){let e,t,l=o[0].url.pathname!=="/search"&&el();return{c(){l&&l.c(),e=oe()},l(r){l&&l.l(r),e=oe()},m(r,s){l&&l.m(r,s),L(r,e,s),t=!0},p(r,s){r[0].url.pathname!=="/search"?l?s&1&&w(l,1):(l=el(),l.c(),w(l,1),l.m(e.parentNode,e)):l&&(ke(),A(l,1,1,()=>{l=null}),Ee())},i(r){t||(w(l),t=!0)},o(r){A(l),t=!1},d(r){l&&l.d(r),r&&u(e)}}}function ur(o){let e;return{c(){e=J("Docs")},l(t){e=X(t,"Docs")},m(t,l){L(t,e,l)},d(t){t&&u(e)}}}function cr(o){let e;return{c(){e=J("FAQ")},l(t){e=X(t,"FAQ")},m(t,l){L(t,e,l)},d(t){t&&u(e)}}}function mr(o){let e;return{c(){e=J("Svelte")},l(t){e=X(t,"Svelte")},m(t,l){L(t,e,l)},d(t){t&&u(e)}}}function hr(o){let e,t;return e=new it({props:{name:"message-square"}}),{c(){K(e.$$.fragment)},l(l){W(e.$$.fragment,l)},m(l,r){G(e,l,r),t=!0},p:Y,i(l){t||(w(e.$$.fragment,l),t=!0)},o(l){A(e.$$.fragment,l),t=!1},d(l){Z(e,l)}}}function _r(o){let e,t;return{c(){e=B("span"),t=J("Discord"),this.h()},l(l){e=C(l,"SPAN",{slot:!0});var r=p(e);t=X(r,"Discord"),r.forEach(u),this.h()},h(){i(e,"slot","small")},m(l,r){L(l,e,r),h(e,t)},p:Y,d(l){l&&u(e)}}}function pr(o){let e,t;return e=new it({props:{name:"github"}}),{c(){K(e.$$.fragment)},l(l){W(e.$$.fragment,l)},m(l,r){G(e,l,r),t=!0},p:Y,i(l){t||(w(e.$$.fragment,l),t=!0)},o(l){A(e.$$.fragment,l),t=!1},d(l){Z(e,l)}}}function dr(o){let e,t;return{c(){e=B("span"),t=J("GitHub"),this.h()},l(l){e=C(l,"SPAN",{slot:!0});var r=p(e);t=X(r,"GitHub"),r.forEach(u),this.h()},h(){i(e,"slot","small")},m(l,r){L(l,e,r),h(e,t)},p:Y,d(l){l&&u(e)}}}function vr(o){let e,t,l,r,s,n,a,f,c,v,y,d;return e=new st({props:{selected:o[0].url.pathname.startsWith(`${Ke}/docs`)||void 0,href:Ke+"/docs",$$slots:{default:[ur]},$$scope:{ctx:o}}}),l=new st({props:{selected:o[0].url.pathname.startsWith(`${Ke}/faq`)||void 0,href:Ke+"/faq",$$slots:{default:[cr]},$$scope:{ctx:o}}}),s=new nl({}),a=new st({props:{external:"https://svelte.dev",$$slots:{default:[mr]},$$scope:{ctx:o}}}),c=new st({props:{external:"https://svelte.dev/chat",title:"Discord Chat",$$slots:{small:[_r],default:[hr]},$$scope:{ctx:o}}}),y=new st({props:{external:"https://github.com/sveltejs/kit",title:"GitHub Repo",$$slots:{small:[dr],default:[pr]},$$scope:{ctx:o}}}),{c(){K(e.$$.fragment),t=T(),K(l.$$.fragment),r=T(),K(s.$$.fragment),n=T(),K(a.$$.fragment),f=T(),K(c.$$.fragment),v=T(),K(y.$$.fragment)},l(m){W(e.$$.fragment,m),t=H(m),W(l.$$.fragment,m),r=H(m),W(s.$$.fragment,m),n=H(m),W(a.$$.fragment,m),f=H(m),W(c.$$.fragment,m),v=H(m),W(y.$$.fragment,m)},m(m,_){G(e,m,_),L(m,t,_),G(l,m,_),L(m,r,_),G(s,m,_),L(m,n,_),G(a,m,_),L(m,f,_),G(c,m,_),L(m,v,_),G(y,m,_),d=!0},p(m,_){const b={};_&1&&(b.selected=m[0].url.pathname.startsWith(`${Ke}/docs`)||void 0),_&4&&(b.$$scope={dirty:_,ctx:m}),e.$set(b);const D={};_&1&&(D.selected=m[0].url.pathname.startsWith(`${Ke}/faq`)||void 0),_&4&&(D.$$scope={dirty:_,ctx:m}),l.$set(D);const j={};_&4&&(j.$$scope={dirty:_,ctx:m}),a.$set(j);const q={};_&4&&(q.$$scope={dirty:_,ctx:m}),c.$set(q);const P={};_&4&&(P.$$scope={dirty:_,ctx:m}),y.$set(P)},i(m){d||(w(e.$$.fragment,m),w(l.$$.fragment,m),w(s.$$.fragment,m),w(a.$$.fragment,m),w(c.$$.fragment,m),w(y.$$.fragment,m),d=!0)},o(m){A(e.$$.fragment,m),A(l.$$.fragment,m),A(s.$$.fragment,m),A(a.$$.fragment,m),A(c.$$.fragment,m),A(y.$$.fragment,m),d=!1},d(m){Z(e,m),m&&u(t),Z(l,m),m&&u(r),Z(s,m),m&&u(n),Z(a,m),m&&u(f),Z(c,m),m&&u(v),Z(y,m)}}}function yr(o){let e,t;return e=new Cl({props:{slot:"top-nav",$$slots:{"nav-right":[vr],"nav-center":[fr],home:[ar]},$$scope:{ctx:o}}}),{c(){K(e.$$.fragment)},l(l){W(e.$$.fragment,l)},m(l,r){G(e,l,r),t=!0},p(l,r){const s={};r&5&&(s.$$scope={dirty:r,ctx:l}),e.$set(s)},i(l){t||(w(e.$$.fragment,l),t=!0)},o(l){A(e.$$.fragment,l),t=!1},d(l){Z(e,l)}}}function br(o){let e,t;return e=new or({}),{c(){K(e.$$.fragment)},l(l){W(e.$$.fragment,l)},m(l,r){G(e,l,r),t=!0},i(l){t||(w(e.$$.fragment,l),t=!0)},o(l){A(e.$$.fragment,l),t=!1},d(l){Z(e,l)}}}function $r(o){let e,t,l,r;e=new Fl({props:{$$slots:{"top-nav":[yr],default:[ir]},$$scope:{ctx:o}}});let s=br();return{c(){K(e.$$.fragment),t=T(),s&&s.c(),l=oe()},l(n){W(e.$$.fragment,n),t=H(n),s&&s.l(n),l=oe()},m(n,a){G(e,n,a),L(n,t,a),s&&s.m(n,a),L(n,l,a),r=!0},p(n,[a]){const f={};a&5&&(f.$$scope={dirty:a,ctx:n}),e.$set(f)},i(n){r||(w(e.$$.fragment,n),w(s),r=!0)},o(n){A(e.$$.fragment,n),A(s),r=!1},d(n){Z(e,n),n&&u(t),s&&s.d(n),n&&u(l)}}}function gr(o,e,t){let l;Oe(o,sl,n=>t(0,l=n));let{$$slots:r={},$$scope:s}=e;return o.$$set=n=>{"$$scope"in n&&t(2,s=n.$$scope)},[l,r,s]}class Sr extends ve{constructor(e){super(),ye(this,e,gr,$r,be,{})}}export{Sr as component,Lr as universal};
