import{S as de,i as fe,s as he,k as n,a as S,C as O,q as U,l as u,m as l,h as s,c as k,D as W,r as F,E as oe,n as e,b as pe,F as t,B as ce,G as _e,H as me,w as ge,x as Ee,y as $e,I as ze,J as be,K as we,f as ie,t as ve,z as Ae}from"../../chunks/index-20c84258.js";import{p as Le}from"../../chunks/stores-55094e74.js";const Ie=""+new URL("../../assets/svelte-logo-87df40b8.svg",import.meta.url).href,ye=""+new URL("../../assets/github-1ea8d62e.svg",import.meta.url).href;function He(m){let a,c,d,o,A,b,i,g,p,B,_,f,$,v,r,h,z,w,I,D,Z,y,M,j,N,x,H,K,J,R,C,G,P;return{c(){a=n("header"),c=n("div"),d=n("a"),o=n("img"),b=S(),i=n("nav"),g=O("svg"),p=O("path"),B=S(),_=n("ul"),f=n("li"),$=n("a"),v=U("Home"),h=S(),z=n("li"),w=n("a"),I=U("About"),Z=S(),y=n("li"),M=n("a"),j=U("Sverdle"),x=S(),H=O("svg"),K=O("path"),J=S(),R=n("div"),C=n("a"),G=n("img"),this.h()},l(L){a=u(L,"HEADER",{class:!0});var E=l(a);c=u(E,"DIV",{class:!0});var T=l(c);d=u(T,"A",{href:!0,class:!0});var Q=l(d);o=u(Q,"IMG",{src:!0,alt:!0,class:!0}),Q.forEach(s),T.forEach(s),b=k(E),i=u(E,"NAV",{class:!0});var V=l(i);g=W(V,"svg",{viewBox:!0,"aria-hidden":!0,class:!0});var X=l(g);p=W(X,"path",{d:!0,class:!0}),l(p).forEach(s),X.forEach(s),B=k(V),_=u(V,"UL",{class:!0});var q=l(_);f=u(q,"LI",{"aria-current":!0,class:!0});var Y=l(f);$=u(Y,"A",{href:!0,class:!0});var ee=l($);v=F(ee,"Home"),ee.forEach(s),Y.forEach(s),h=k(q),z=u(q,"LI",{"aria-current":!0,class:!0});var te=l(z);w=u(te,"A",{href:!0,class:!0});var ae=l(w);I=F(ae,"About"),ae.forEach(s),te.forEach(s),Z=k(q),y=u(q,"LI",{"aria-current":!0,class:!0});var se=l(y);M=u(se,"A",{href:!0,class:!0});var re=l(M);j=F(re,"Sverdle"),re.forEach(s),se.forEach(s),q.forEach(s),x=k(V),H=W(V,"svg",{viewBox:!0,"aria-hidden":!0,class:!0});var le=l(H);K=W(le,"path",{d:!0,class:!0}),l(K).forEach(s),le.forEach(s),V.forEach(s),J=k(E),R=u(E,"DIV",{class:!0});var ne=l(R);C=u(ne,"A",{href:!0,class:!0});var ue=l(C);G=u(ue,"IMG",{src:!0,alt:!0,class:!0}),ue.forEach(s),ne.forEach(s),E.forEach(s),this.h()},h(){oe(o.src,A=Ie)||e(o,"src",A),e(o,"alt","SvelteKit"),e(o,"class","svelte-1u9z1tp"),e(d,"href","https://kit.svelte.dev"),e(d,"class","svelte-1u9z1tp"),e(c,"class","corner svelte-1u9z1tp"),e(p,"d","M0,0 L1,2 C1.5,3 1.5,3 2,3 L2,0 Z"),e(p,"class","svelte-1u9z1tp"),e(g,"viewBox","0 0 2 3"),e(g,"aria-hidden","true"),e(g,"class","svelte-1u9z1tp"),e($,"href","/"),e($,"class","svelte-1u9z1tp"),e(f,"aria-current",r=m[0].url.pathname==="/"?"page":void 0),e(f,"class","svelte-1u9z1tp"),e(w,"href","/about"),e(w,"class","svelte-1u9z1tp"),e(z,"aria-current",D=m[0].url.pathname==="/about"?"page":void 0),e(z,"class","svelte-1u9z1tp"),e(M,"href","/sverdle"),e(M,"class","svelte-1u9z1tp"),e(y,"aria-current",N=m[0].url.pathname.startsWith("/sverdle")?"page":void 0),e(y,"class","svelte-1u9z1tp"),e(_,"class","svelte-1u9z1tp"),e(K,"d","M0,0 L0,3 C0.5,3 0.5,3 1,2 L2,0 Z"),e(K,"class","svelte-1u9z1tp"),e(H,"viewBox","0 0 2 3"),e(H,"aria-hidden","true"),e(H,"class","svelte-1u9z1tp"),e(i,"class","svelte-1u9z1tp"),oe(G.src,P=ye)||e(G,"src",P),e(G,"alt","GitHub"),e(G,"class","svelte-1u9z1tp"),e(C,"href","https://github.com/sveltejs/kit"),e(C,"class","svelte-1u9z1tp"),e(R,"class","corner svelte-1u9z1tp"),e(a,"class","svelte-1u9z1tp")},m(L,E){pe(L,a,E),t(a,c),t(c,d),t(d,o),t(a,b),t(a,i),t(i,g),t(g,p),t(i,B),t(i,_),t(_,f),t(f,$),t($,v),t(_,h),t(_,z),t(z,w),t(w,I),t(_,Z),t(_,y),t(y,M),t(M,j),t(i,x),t(i,H),t(H,K),t(a,J),t(a,R),t(R,C),t(C,G)},p(L,[E]){E&1&&r!==(r=L[0].url.pathname==="/"?"page":void 0)&&e(f,"aria-current",r),E&1&&D!==(D=L[0].url.pathname==="/about"?"page":void 0)&&e(z,"aria-current",D),E&1&&N!==(N=L[0].url.pathname.startsWith("/sverdle")?"page":void 0)&&e(y,"aria-current",N)},i:ce,o:ce,d(L){L&&s(a)}}}function Se(m,a,c){let d;return _e(m,Le,o=>c(0,d=o)),[d]}class ke extends de{constructor(a){super(),fe(this,a,Se,He,he,{})}}function Be(m){let a,c,d,o,A,b,i,g,p,B,_,f;c=new ke({});const $=m[1].default,v=me($,m,m[0],null);return{c(){a=n("div"),ge(c.$$.fragment),d=S(),o=n("main"),v&&v.c(),A=S(),b=n("footer"),i=n("p"),g=U("visit "),p=n("a"),B=U("kit.svelte.dev"),_=U(" to learn SvelteKit"),this.h()},l(r){a=u(r,"DIV",{class:!0});var h=l(a);Ee(c.$$.fragment,h),d=k(h),o=u(h,"MAIN",{class:!0});var z=l(o);v&&v.l(z),z.forEach(s),A=k(h),b=u(h,"FOOTER",{class:!0});var w=l(b);i=u(w,"P",{});var I=l(i);g=F(I,"visit "),p=u(I,"A",{href:!0,class:!0});var D=l(p);B=F(D,"kit.svelte.dev"),D.forEach(s),_=F(I," to learn SvelteKit"),I.forEach(s),w.forEach(s),h.forEach(s),this.h()},h(){e(o,"class","svelte-8o1gnw"),e(p,"href","https://kit.svelte.dev"),e(p,"class","svelte-8o1gnw"),e(b,"class","svelte-8o1gnw"),e(a,"class","app svelte-8o1gnw")},m(r,h){pe(r,a,h),$e(c,a,null),t(a,d),t(a,o),v&&v.m(o,null),t(a,A),t(a,b),t(b,i),t(i,g),t(i,p),t(p,B),t(i,_),f=!0},p(r,[h]){v&&v.p&&(!f||h&1)&&ze(v,$,r,r[0],f?we($,r[0],h,null):be(r[0]),null)},i(r){f||(ie(c.$$.fragment,r),ie(v,r),f=!0)},o(r){ve(c.$$.fragment,r),ve(v,r),f=!1},d(r){r&&s(a),Ae(c),v&&v.d(r)}}}function De(m,a,c){let{$$slots:d={},$$scope:o}=a;return m.$$set=A=>{"$$scope"in A&&c(0,o=A.$$scope)},[o,d]}class Ge extends de{constructor(a){super(),fe(this,a,De,Be,he,{})}}export{Ge as default};
