julien-c HF staff commited on
Commit
9f59df0
1 Parent(s): 1841a6a
build/_app/assets/pages/{__layout.svelte-6fc1a61d.css → __layout.svelte-a7861b78.css} RENAMED
@@ -1 +1 @@
1
- header.svelte-t2wq17.svelte-t2wq17{display:flex;justify-content:space-between}.corner.svelte-t2wq17.svelte-t2wq17{width:3em;height:3em}.corner.svelte-t2wq17 a.svelte-t2wq17{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.corner.svelte-t2wq17 img.svelte-t2wq17{width:2em;height:2em;object-fit:contain}nav.svelte-t2wq17.svelte-t2wq17{display:flex;justify-content:center;--background:rgba(255, 255, 255, .7)}svg.svelte-t2wq17.svelte-t2wq17{width:2em;height:3em;display:block}path.svelte-t2wq17.svelte-t2wq17{fill:var(--background)}ul.svelte-t2wq17.svelte-t2wq17{position:relative;padding:0;margin:0;height:3em;display:flex;justify-content:center;align-items:center;list-style:none;background:var(--background);background-size:contain}li.svelte-t2wq17.svelte-t2wq17{position:relative;height:100%}li.active.svelte-t2wq17.svelte-t2wq17:before{--size:6px;content:"";width:0;height:0;position:absolute;top:0;left:calc(50% - var(--size));border:var(--size) solid transparent;border-top:var(--size) solid var(--accent-color)}nav.svelte-t2wq17 a.svelte-t2wq17{display:flex;height:100%;align-items:center;padding:0 1em;color:var(--heading-color);font-weight:700;font-size:.8rem;text-transform:uppercase;letter-spacing:.1em;text-decoration:none;transition:color .2s linear}a.svelte-t2wq17.svelte-t2wq17:hover{color:var(--accent-color)}@font-face{font-family:Fira Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/staticspaceiframe/julien-c/sveltekit-demo/build/_app/assets/fira-mono-cyrillic-ext-400-normal-b3140dd3.woff2) format("woff2"),url(/staticspaceiframe/julien-c/sveltekit-demo/build/_app/assets/fira-mono-all-400-normal-0d19eb5d.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Fira Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/staticspaceiframe/julien-c/sveltekit-demo/build/_app/assets/fira-mono-cyrillic-400-normal-046b609f.woff2) format("woff2"),url(/staticspaceiframe/julien-c/sveltekit-demo/build/_app/assets/fira-mono-all-400-normal-0d19eb5d.woff) format("woff");unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Fira Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/staticspaceiframe/julien-c/sveltekit-demo/build/_app/assets/fira-mono-greek-ext-400-normal-8659ae46.woff2) format("woff2"),url(/staticspaceiframe/julien-c/sveltekit-demo/build/_app/assets/fira-mono-all-400-normal-0d19eb5d.woff) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Fira Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/staticspaceiframe/julien-c/sveltekit-demo/build/_app/assets/fira-mono-greek-400-normal-1f8b3a07.woff2) format("woff2"),url(/staticspaceiframe/julien-c/sveltekit-demo/build/_app/assets/fira-mono-all-400-normal-0d19eb5d.woff) format("woff");unicode-range:U+0370-03FF}@font-face{font-family:Fira Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/staticspaceiframe/julien-c/sveltekit-demo/build/_app/assets/fira-mono-latin-ext-400-normal-b6331a25.woff2) format("woff2"),url(/staticspaceiframe/julien-c/sveltekit-demo/build/_app/assets/fira-mono-all-400-normal-0d19eb5d.woff) format("woff");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fira Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/staticspaceiframe/julien-c/sveltekit-demo/build/_app/assets/fira-mono-latin-400-normal-a2f9dbe8.woff2) format("woff2"),url(/staticspaceiframe/julien-c/sveltekit-demo/build/_app/assets/fira-mono-all-400-normal-0d19eb5d.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{font-family:Arial,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;--font-mono: "Fira Mono", monospace;--pure-white: #ffffff;--primary-color: #b9c6d2;--secondary-color: #d0dde9;--tertiary-color: #edf0f8;--accent-color: #ff3e00;--heading-color: rgba(0, 0, 0, .7);--text-color: #444444;--background-without-opacity: rgba(255, 255, 255, .7);--column-width: 42rem;--column-margin-top: 4rem}body{min-height:100vh;margin:0;background-color:var(--primary-color);background:linear-gradient(180deg,var(--primary-color) 0%,var(--secondary-color) 10.45%,var(--tertiary-color) 41.35%)}body:before{content:"";width:80vw;height:100vh;position:absolute;top:0;left:10vw;z-index:-1;background:radial-gradient(50% 50% at 50% 50%,var(--pure-white) 0%,rgba(255,255,255,0) 100%);opacity:.05}#svelte{min-height:100vh;display:flex;flex-direction:column}h1,h2,p{font-weight:400;color:var(--heading-color)}p{line-height:1.5}a{color:var(--accent-color);text-decoration:none}a:hover{text-decoration:underline}h1{font-size:2rem;text-align:center}h2{font-size:1rem}pre{font-size:16px;font-family:var(--font-mono);background-color:#ffffff73;border-radius:3px;box-shadow:2px 2px 6px #ffffff40;padding:.5em;overflow-x:auto;color:var(--text-color)}input,button{font-size:inherit;font-family:inherit}button:focus:not(:focus-visible){outline:none}@media (min-width: 720px){h1{font-size:2.4rem}}main.svelte-1izrdc8.svelte-1izrdc8{flex:1;display:flex;flex-direction:column;padding:1rem;width:100%;max-width:1024px;margin:0 auto;box-sizing:border-box}footer.svelte-1izrdc8.svelte-1izrdc8{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:40px}footer.svelte-1izrdc8 a.svelte-1izrdc8{font-weight:700}@media (min-width: 480px){footer.svelte-1izrdc8.svelte-1izrdc8{padding:40px 0}}
 
1
+ header.svelte-t2wq17.svelte-t2wq17{display:flex;justify-content:space-between}.corner.svelte-t2wq17.svelte-t2wq17{width:3em;height:3em}.corner.svelte-t2wq17 a.svelte-t2wq17{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.corner.svelte-t2wq17 img.svelte-t2wq17{width:2em;height:2em;object-fit:contain}nav.svelte-t2wq17.svelte-t2wq17{display:flex;justify-content:center;--background:rgba(255, 255, 255, .7)}svg.svelte-t2wq17.svelte-t2wq17{width:2em;height:3em;display:block}path.svelte-t2wq17.svelte-t2wq17{fill:var(--background)}ul.svelte-t2wq17.svelte-t2wq17{position:relative;padding:0;margin:0;height:3em;display:flex;justify-content:center;align-items:center;list-style:none;background:var(--background);background-size:contain}li.svelte-t2wq17.svelte-t2wq17{position:relative;height:100%}li.active.svelte-t2wq17.svelte-t2wq17:before{--size:6px;content:"";width:0;height:0;position:absolute;top:0;left:calc(50% - var(--size));border:var(--size) solid transparent;border-top:var(--size) solid var(--accent-color)}nav.svelte-t2wq17 a.svelte-t2wq17{display:flex;height:100%;align-items:center;padding:0 1em;color:var(--heading-color);font-weight:700;font-size:.8rem;text-transform:uppercase;letter-spacing:.1em;text-decoration:none;transition:color .2s linear}a.svelte-t2wq17.svelte-t2wq17:hover{color:var(--accent-color)}@font-face{font-family:Fira Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/_app/assets/fira-mono-cyrillic-ext-400-normal-b3140dd3.woff2) format("woff2"),url(/_app/assets/fira-mono-all-400-normal-0d19eb5d.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Fira Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/_app/assets/fira-mono-cyrillic-400-normal-046b609f.woff2) format("woff2"),url(/_app/assets/fira-mono-all-400-normal-0d19eb5d.woff) format("woff");unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Fira Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/_app/assets/fira-mono-greek-ext-400-normal-8659ae46.woff2) format("woff2"),url(/_app/assets/fira-mono-all-400-normal-0d19eb5d.woff) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Fira Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/_app/assets/fira-mono-greek-400-normal-1f8b3a07.woff2) format("woff2"),url(/_app/assets/fira-mono-all-400-normal-0d19eb5d.woff) format("woff");unicode-range:U+0370-03FF}@font-face{font-family:Fira Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/_app/assets/fira-mono-latin-ext-400-normal-b6331a25.woff2) format("woff2"),url(/_app/assets/fira-mono-all-400-normal-0d19eb5d.woff) format("woff");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fira Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/_app/assets/fira-mono-latin-400-normal-a2f9dbe8.woff2) format("woff2"),url(/_app/assets/fira-mono-all-400-normal-0d19eb5d.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{font-family:Arial,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;--font-mono: "Fira Mono", monospace;--pure-white: #ffffff;--primary-color: #b9c6d2;--secondary-color: #d0dde9;--tertiary-color: #edf0f8;--accent-color: #ff3e00;--heading-color: rgba(0, 0, 0, .7);--text-color: #444444;--background-without-opacity: rgba(255, 255, 255, .7);--column-width: 42rem;--column-margin-top: 4rem}body{min-height:100vh;margin:0;background-color:var(--primary-color);background:linear-gradient(180deg,var(--primary-color) 0%,var(--secondary-color) 10.45%,var(--tertiary-color) 41.35%)}body:before{content:"";width:80vw;height:100vh;position:absolute;top:0;left:10vw;z-index:-1;background:radial-gradient(50% 50% at 50% 50%,var(--pure-white) 0%,rgba(255,255,255,0) 100%);opacity:.05}#svelte{min-height:100vh;display:flex;flex-direction:column}h1,h2,p{font-weight:400;color:var(--heading-color)}p{line-height:1.5}a{color:var(--accent-color);text-decoration:none}a:hover{text-decoration:underline}h1{font-size:2rem;text-align:center}h2{font-size:1rem}pre{font-size:16px;font-family:var(--font-mono);background-color:#ffffff73;border-radius:3px;box-shadow:2px 2px 6px #ffffff40;padding:.5em;overflow-x:auto;color:var(--text-color)}input,button{font-size:inherit;font-family:inherit}button:focus:not(:focus-visible){outline:none}@media (min-width: 720px){h1{font-size:2.4rem}}main.svelte-1izrdc8.svelte-1izrdc8{flex:1;display:flex;flex-direction:column;padding:1rem;width:100%;max-width:1024px;margin:0 auto;box-sizing:border-box}footer.svelte-1izrdc8.svelte-1izrdc8{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:40px}footer.svelte-1izrdc8 a.svelte-1izrdc8{font-weight:700}@media (min-width: 480px){footer.svelte-1izrdc8.svelte-1izrdc8{padding:40px 0}}
build/_app/manifest.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  ".svelte-kit/build/runtime/internal/start.js": {
3
- "file": "start-10e4a468.js",
4
  "src": ".svelte-kit/build/runtime/internal/start.js",
5
  "isEntry": true,
6
  "imports": [
@@ -26,7 +26,7 @@
26
  "_vendor-92f01141.js"
27
  ],
28
  "css": [
29
- "assets/pages/__layout.svelte-6fc1a61d.css"
30
  ],
31
  "assets": [
32
  "assets/svelte-logo-87df40b8.svg",
 
1
  {
2
  ".svelte-kit/build/runtime/internal/start.js": {
3
+ "file": "start-d5760d63.js",
4
  "src": ".svelte-kit/build/runtime/internal/start.js",
5
  "isEntry": true,
6
  "imports": [
 
26
  "_vendor-92f01141.js"
27
  ],
28
  "css": [
29
+ "assets/pages/__layout.svelte-a7861b78.css"
30
  ],
31
  "assets": [
32
  "assets/svelte-logo-87df40b8.svg",
build/_app/pages/__layout.svelte-63495e35.js CHANGED
@@ -1 +1 @@
1
- import{D as ae,S as Q,i as W,s as X,e as d,j as L,E as j,t as B,c as h,a as c,d as l,l as I,F as z,g as C,G as le,b as t,H as N,f as D,I as a,J as Y,K as re,L as ie,v as oe,w as ce,x as ne,M as ve,N as ue,O as fe,p as ee,n as te,A as _e}from"../chunks/vendor-92f01141.js";const de=()=>{const o=ae("__svelte__");return{page:{subscribe:o.page.subscribe},navigating:{subscribe:o.navigating.subscribe},get preloading(){return console.error("stores.preloading is deprecated; use stores.navigating instead"),{subscribe:o.navigating.subscribe}},session:o.session}},he={subscribe(o){return de().page.subscribe(o)}};var pe="/staticspaceiframe/julien-c/sveltekit-demo/build/_app/assets/svelte-logo-87df40b8.svg";function me(o){let s,u,i,n,m,E,p,v,q,y,f,b,r,e,_,w,g,H,O,k,S,V,x;return{c(){s=d("header"),u=d("div"),i=d("a"),n=d("img"),E=L(),p=d("nav"),v=j("svg"),q=j("path"),y=L(),f=d("ul"),b=d("li"),r=d("a"),e=B("Home"),_=L(),w=d("li"),g=d("a"),H=B("About"),O=L(),k=j("svg"),S=j("path"),V=L(),x=d("div"),this.h()},l(A){s=h(A,"HEADER",{class:!0});var $=c(s);u=h($,"DIV",{class:!0});var F=c(u);i=h(F,"A",{href:!0,class:!0});var G=c(i);n=h(G,"IMG",{src:!0,alt:!0,class:!0}),G.forEach(l),F.forEach(l),E=I($),p=h($,"NAV",{class:!0});var M=c(p);v=z(M,"svg",{viewBox:!0,"aria-hidden":!0,class:!0});var R=c(v);q=z(R,"path",{d:!0,class:!0}),c(q).forEach(l),R.forEach(l),y=I(M),f=h(M,"UL",{class:!0});var K=c(f);b=h(K,"LI",{class:!0});var Z=c(b);r=h(Z,"A",{"sveltekit:prefetch":!0,href:!0,class:!0});var J=c(r);e=C(J,"Home"),J.forEach(l),Z.forEach(l),_=I(K),w=h(K,"LI",{class:!0});var P=c(w);g=h(P,"A",{"sveltekit:prefetch":!0,href:!0,class:!0});var T=c(g);H=C(T,"About"),T.forEach(l),P.forEach(l),K.forEach(l),O=I(M),k=z(M,"svg",{viewBox:!0,"aria-hidden":!0,class:!0});var U=c(k);S=z(U,"path",{d:!0,class:!0}),c(S).forEach(l),U.forEach(l),M.forEach(l),V=I($),x=h($,"DIV",{class:!0});var se=c(x);se.forEach(l),$.forEach(l),this.h()},h(){le(n.src,m=pe)||t(n,"src",m),t(n,"alt","SvelteKit"),t(n,"class","svelte-t2wq17"),t(i,"href","https://kit.svelte.dev"),t(i,"class","svelte-t2wq17"),t(u,"class","corner svelte-t2wq17"),t(q,"d","M0,0 L1,2 C1.5,3 1.5,3 2,3 L2,0 Z"),t(q,"class","svelte-t2wq17"),t(v,"viewBox","0 0 2 3"),t(v,"aria-hidden","true"),t(v,"class","svelte-t2wq17"),t(r,"sveltekit:prefetch",""),t(r,"href","./"),t(r,"class","svelte-t2wq17"),t(b,"class","svelte-t2wq17"),N(b,"active",o[0].url.pathname==="/"),t(g,"sveltekit:prefetch",""),t(g,"href","./about"),t(g,"class","svelte-t2wq17"),t(w,"class","svelte-t2wq17"),N(w,"active",o[0].url.pathname==="/about"),t(f,"class","svelte-t2wq17"),t(S,"d","M0,0 L0,3 C0.5,3 0.5,3 1,2 L2,0 Z"),t(S,"class","svelte-t2wq17"),t(k,"viewBox","0 0 2 3"),t(k,"aria-hidden","true"),t(k,"class","svelte-t2wq17"),t(p,"class","svelte-t2wq17"),t(x,"class","corner svelte-t2wq17"),t(s,"class","svelte-t2wq17")},m(A,$){D(A,s,$),a(s,u),a(u,i),a(i,n),a(s,E),a(s,p),a(p,v),a(v,q),a(p,y),a(p,f),a(f,b),a(b,r),a(r,e),a(f,_),a(f,w),a(w,g),a(g,H),a(p,O),a(p,k),a(k,S),a(s,V),a(s,x)},p(A,[$]){$&1&&N(b,"active",A[0].url.pathname==="/"),$&1&&N(w,"active",A[0].url.pathname==="/about")},i:Y,o:Y,d(A){A&&l(s)}}}function ge(o,s,u){let i;return re(o,he,n=>u(0,i=n)),[i]}class be extends Q{constructor(s){super();W(this,s,ge,me,X,{})}}function Ee(o){let s,u,i,n,m,E,p,v,q,y,f;s=new be({});const b=o[1].default,r=ie(b,o,o[0],null);return{c(){oe(s.$$.fragment),u=L(),i=d("main"),r&&r.c(),n=L(),m=d("footer"),E=d("p"),p=B("visit "),v=d("a"),q=B("kit.svelte.dev"),y=B(" to learn SvelteKit"),this.h()},l(e){ce(s.$$.fragment,e),u=I(e),i=h(e,"MAIN",{class:!0});var _=c(i);r&&r.l(_),_.forEach(l),n=I(e),m=h(e,"FOOTER",{class:!0});var w=c(m);E=h(w,"P",{});var g=c(E);p=C(g,"visit "),v=h(g,"A",{href:!0,class:!0});var H=c(v);q=C(H,"kit.svelte.dev"),H.forEach(l),y=C(g," to learn SvelteKit"),g.forEach(l),w.forEach(l),this.h()},h(){t(i,"class","svelte-1izrdc8"),t(v,"href","https://kit.svelte.dev"),t(v,"class","svelte-1izrdc8"),t(m,"class","svelte-1izrdc8")},m(e,_){ne(s,e,_),D(e,u,_),D(e,i,_),r&&r.m(i,null),D(e,n,_),D(e,m,_),a(m,E),a(E,p),a(E,v),a(v,q),a(E,y),f=!0},p(e,[_]){r&&r.p&&(!f||_&1)&&ve(r,b,e,e[0],f?fe(b,e[0],_,null):ue(e[0]),null)},i(e){f||(ee(s.$$.fragment,e),ee(r,e),f=!0)},o(e){te(s.$$.fragment,e),te(r,e),f=!1},d(e){_e(s,e),e&&l(u),e&&l(i),r&&r.d(e),e&&l(n),e&&l(m)}}}function we(o,s,u){let{$$slots:i={},$$scope:n}=s;return o.$$set=m=>{"$$scope"in m&&u(0,n=m.$$scope)},[n,i]}class qe extends Q{constructor(s){super();W(this,s,we,Ee,X,{})}}export{qe as default};
 
1
+ import{D as ae,S as Q,i as W,s as X,e as d,j as L,E as z,t as B,c as h,a as n,d as l,l as I,F as N,g as C,G as le,b as t,H as O,f as D,I as a,J as Y,K as re,L as oe,v as ie,w as ne,x as ce,M as ve,N as ue,O as fe,p as ee,n as te,A as _e}from"../chunks/vendor-92f01141.js";const de=()=>{const i=ae("__svelte__");return{page:{subscribe:i.page.subscribe},navigating:{subscribe:i.navigating.subscribe},get preloading(){return console.error("stores.preloading is deprecated; use stores.navigating instead"),{subscribe:i.navigating.subscribe}},session:i.session}},he={subscribe(i){return de().page.subscribe(i)}};var pe="/_app/assets/svelte-logo-87df40b8.svg";function me(i){let s,u,o,c,m,E,p,v,q,y,f,b,r,e,_,w,g,H,V,A,S,j,x;return{c(){s=d("header"),u=d("div"),o=d("a"),c=d("img"),E=L(),p=d("nav"),v=z("svg"),q=z("path"),y=L(),f=d("ul"),b=d("li"),r=d("a"),e=B("Home"),_=L(),w=d("li"),g=d("a"),H=B("About"),V=L(),A=z("svg"),S=z("path"),j=L(),x=d("div"),this.h()},l(k){s=h(k,"HEADER",{class:!0});var $=n(s);u=h($,"DIV",{class:!0});var F=n(u);o=h(F,"A",{href:!0,class:!0});var G=n(o);c=h(G,"IMG",{src:!0,alt:!0,class:!0}),G.forEach(l),F.forEach(l),E=I($),p=h($,"NAV",{class:!0});var M=n(p);v=N(M,"svg",{viewBox:!0,"aria-hidden":!0,class:!0});var R=n(v);q=N(R,"path",{d:!0,class:!0}),n(q).forEach(l),R.forEach(l),y=I(M),f=h(M,"UL",{class:!0});var K=n(f);b=h(K,"LI",{class:!0});var Z=n(b);r=h(Z,"A",{"sveltekit:prefetch":!0,href:!0,class:!0});var J=n(r);e=C(J,"Home"),J.forEach(l),Z.forEach(l),_=I(K),w=h(K,"LI",{class:!0});var P=n(w);g=h(P,"A",{"sveltekit:prefetch":!0,href:!0,class:!0});var T=n(g);H=C(T,"About"),T.forEach(l),P.forEach(l),K.forEach(l),V=I(M),A=N(M,"svg",{viewBox:!0,"aria-hidden":!0,class:!0});var U=n(A);S=N(U,"path",{d:!0,class:!0}),n(S).forEach(l),U.forEach(l),M.forEach(l),j=I($),x=h($,"DIV",{class:!0});var se=n(x);se.forEach(l),$.forEach(l),this.h()},h(){le(c.src,m=pe)||t(c,"src",m),t(c,"alt","SvelteKit"),t(c,"class","svelte-t2wq17"),t(o,"href","https://kit.svelte.dev"),t(o,"class","svelte-t2wq17"),t(u,"class","corner svelte-t2wq17"),t(q,"d","M0,0 L1,2 C1.5,3 1.5,3 2,3 L2,0 Z"),t(q,"class","svelte-t2wq17"),t(v,"viewBox","0 0 2 3"),t(v,"aria-hidden","true"),t(v,"class","svelte-t2wq17"),t(r,"sveltekit:prefetch",""),t(r,"href","./"),t(r,"class","svelte-t2wq17"),t(b,"class","svelte-t2wq17"),O(b,"active",i[0].url.pathname==="/"),t(g,"sveltekit:prefetch",""),t(g,"href","./about"),t(g,"class","svelte-t2wq17"),t(w,"class","svelte-t2wq17"),O(w,"active",i[0].url.pathname==="/about"),t(f,"class","svelte-t2wq17"),t(S,"d","M0,0 L0,3 C0.5,3 0.5,3 1,2 L2,0 Z"),t(S,"class","svelte-t2wq17"),t(A,"viewBox","0 0 2 3"),t(A,"aria-hidden","true"),t(A,"class","svelte-t2wq17"),t(p,"class","svelte-t2wq17"),t(x,"class","corner svelte-t2wq17"),t(s,"class","svelte-t2wq17")},m(k,$){D(k,s,$),a(s,u),a(u,o),a(o,c),a(s,E),a(s,p),a(p,v),a(v,q),a(p,y),a(p,f),a(f,b),a(b,r),a(r,e),a(f,_),a(f,w),a(w,g),a(g,H),a(p,V),a(p,A),a(A,S),a(s,j),a(s,x)},p(k,[$]){$&1&&O(b,"active",k[0].url.pathname==="/"),$&1&&O(w,"active",k[0].url.pathname==="/about")},i:Y,o:Y,d(k){k&&l(s)}}}function ge(i,s,u){let o;return re(i,he,c=>u(0,o=c)),[o]}class be extends Q{constructor(s){super();W(this,s,ge,me,X,{})}}function Ee(i){let s,u,o,c,m,E,p,v,q,y,f;s=new be({});const b=i[1].default,r=oe(b,i,i[0],null);return{c(){ie(s.$$.fragment),u=L(),o=d("main"),r&&r.c(),c=L(),m=d("footer"),E=d("p"),p=B("visit "),v=d("a"),q=B("kit.svelte.dev"),y=B(" to learn SvelteKit"),this.h()},l(e){ne(s.$$.fragment,e),u=I(e),o=h(e,"MAIN",{class:!0});var _=n(o);r&&r.l(_),_.forEach(l),c=I(e),m=h(e,"FOOTER",{class:!0});var w=n(m);E=h(w,"P",{});var g=n(E);p=C(g,"visit "),v=h(g,"A",{href:!0,class:!0});var H=n(v);q=C(H,"kit.svelte.dev"),H.forEach(l),y=C(g," to learn SvelteKit"),g.forEach(l),w.forEach(l),this.h()},h(){t(o,"class","svelte-1izrdc8"),t(v,"href","https://kit.svelte.dev"),t(v,"class","svelte-1izrdc8"),t(m,"class","svelte-1izrdc8")},m(e,_){ce(s,e,_),D(e,u,_),D(e,o,_),r&&r.m(o,null),D(e,c,_),D(e,m,_),a(m,E),a(E,p),a(E,v),a(v,q),a(E,y),f=!0},p(e,[_]){r&&r.p&&(!f||_&1)&&ve(r,b,e,e[0],f?fe(b,e[0],_,null):ue(e[0]),null)},i(e){f||(ee(s.$$.fragment,e),ee(r,e),f=!0)},o(e){te(s.$$.fragment,e),te(r,e),f=!1},d(e){_e(s,e),e&&l(u),e&&l(o),r&&r.d(e),e&&l(c),e&&l(m)}}}function we(i,s,u){let{$$slots:o={},$$scope:c}=s;return i.$$set=m=>{"$$scope"in m&&u(0,c=m.$$scope)},[c,o]}class qe extends Q{constructor(s){super();W(this,s,we,Ee,X,{})}}export{qe as default};
build/_app/start-10e4a468.js DELETED
@@ -1 +0,0 @@
1
- var re=Object.defineProperty,ie=Object.defineProperties;var ne=Object.getOwnPropertyDescriptors;var B=Object.getOwnPropertySymbols;var J=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var M=(i,e,t)=>e in i?re(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t,A=(i,e)=>{for(var t in e||(e={}))J.call(e,t)&&M(i,t,e[t]);if(B)for(var t of B(e))G.call(e,t)&&M(i,t,e[t]);return i},Y=(i,e)=>ie(i,ne(e));var X=(i,e)=>{var t={};for(var r in i)J.call(i,r)&&e.indexOf(r)<0&&(t[r]=i[r]);if(i!=null&&B)for(var r of B(i))e.indexOf(r)<0&&G.call(i,r)&&(t[r]=i[r]);return t};import{S as ae,i as oe,s as le,e as ce,c as fe,a as ue,d as y,b as K,f as k,t as he,g as de,h as _e,j as pe,k as m,l as me,m as P,n as g,o as T,p as w,q as ge,r as we,u as be,v as E,w as O,x as R,y as C,z as I,A as L,B as V,C as W}from"./chunks/vendor-92f01141.js";function ve(i){let e,t,r;const l=[i[1]||{}];var n=i[0][0];function a(s){let o={};for(let c=0;c<l.length;c+=1)o=V(o,l[c]);return{props:o}}return n&&(e=new n(a())),{c(){e&&E(e.$$.fragment),t=m()},l(s){e&&O(e.$$.fragment,s),t=m()},m(s,o){e&&R(e,s,o),k(s,t,o),r=!0},p(s,o){const c=o&2?C(l,[I(s[1]||{})]):{};if(n!==(n=s[0][0])){if(e){P();const f=e;g(f.$$.fragment,1,0,()=>{L(f,1)}),T()}n?(e=new n(a()),E(e.$$.fragment),w(e.$$.fragment,1),R(e,t.parentNode,t)):e=null}else n&&e.$set(c)},i(s){r||(e&&w(e.$$.fragment,s),r=!0)},o(s){e&&g(e.$$.fragment,s),r=!1},d(s){s&&y(t),e&&L(e,s)}}}function ye(i){let e,t,r;const l=[i[1]||{}];var n=i[0][0];function a(s){let o={$$slots:{default:[Re]},$$scope:{ctx:s}};for(let c=0;c<l.length;c+=1)o=V(o,l[c]);return{props:o}}return n&&(e=new n(a(i))),{c(){e&&E(e.$$.fragment),t=m()},l(s){e&&O(e.$$.fragment,s),t=m()},m(s,o){e&&R(e,s,o),k(s,t,o),r=!0},p(s,o){const c=o&2?C(l,[I(s[1]||{})]):{};if(o&525&&(c.$$scope={dirty:o,ctx:s}),n!==(n=s[0][0])){if(e){P();const f=e;g(f.$$.fragment,1,0,()=>{L(f,1)}),T()}n?(e=new n(a(s)),E(e.$$.fragment),w(e.$$.fragment,1),R(e,t.parentNode,t)):e=null}else n&&e.$set(c)},i(s){r||(e&&w(e.$$.fragment,s),r=!0)},o(s){e&&g(e.$$.fragment,s),r=!1},d(s){s&&y(t),e&&L(e,s)}}}function $e(i){let e,t,r;const l=[i[2]||{}];var n=i[0][1];function a(s){let o={};for(let c=0;c<l.length;c+=1)o=V(o,l[c]);return{props:o}}return n&&(e=new n(a())),{c(){e&&E(e.$$.fragment),t=m()},l(s){e&&O(e.$$.fragment,s),t=m()},m(s,o){e&&R(e,s,o),k(s,t,o),r=!0},p(s,o){const c=o&4?C(l,[I(s[2]||{})]):{};if(n!==(n=s[0][1])){if(e){P();const f=e;g(f.$$.fragment,1,0,()=>{L(f,1)}),T()}n?(e=new n(a()),E(e.$$.fragment),w(e.$$.fragment,1),R(e,t.parentNode,t)):e=null}else n&&e.$set(c)},i(s){r||(e&&w(e.$$.fragment,s),r=!0)},o(s){e&&g(e.$$.fragment,s),r=!1},d(s){s&&y(t),e&&L(e,s)}}}function ke(i){let e,t,r;const l=[i[2]||{}];var n=i[0][1];function a(s){let o={$$slots:{default:[Ee]},$$scope:{ctx:s}};for(let c=0;c<l.length;c+=1)o=V(o,l[c]);return{props:o}}return n&&(e=new n(a(i))),{c(){e&&E(e.$$.fragment),t=m()},l(s){e&&O(e.$$.fragment,s),t=m()},m(s,o){e&&R(e,s,o),k(s,t,o),r=!0},p(s,o){const c=o&4?C(l,[I(s[2]||{})]):{};if(o&521&&(c.$$scope={dirty:o,ctx:s}),n!==(n=s[0][1])){if(e){P();const f=e;g(f.$$.fragment,1,0,()=>{L(f,1)}),T()}n?(e=new n(a(s)),E(e.$$.fragment),w(e.$$.fragment,1),R(e,t.parentNode,t)):e=null}else n&&e.$set(c)},i(s){r||(e&&w(e.$$.fragment,s),r=!0)},o(s){e&&g(e.$$.fragment,s),r=!1},d(s){s&&y(t),e&&L(e,s)}}}function Ee(i){let e,t,r;const l=[i[3]||{}];var n=i[0][2];function a(s){let o={};for(let c=0;c<l.length;c+=1)o=V(o,l[c]);return{props:o}}return n&&(e=new n(a())),{c(){e&&E(e.$$.fragment),t=m()},l(s){e&&O(e.$$.fragment,s),t=m()},m(s,o){e&&R(e,s,o),k(s,t,o),r=!0},p(s,o){const c=o&8?C(l,[I(s[3]||{})]):{};if(n!==(n=s[0][2])){if(e){P();const f=e;g(f.$$.fragment,1,0,()=>{L(f,1)}),T()}n?(e=new n(a()),E(e.$$.fragment),w(e.$$.fragment,1),R(e,t.parentNode,t)):e=null}else n&&e.$set(c)},i(s){r||(e&&w(e.$$.fragment,s),r=!0)},o(s){e&&g(e.$$.fragment,s),r=!1},d(s){s&&y(t),e&&L(e,s)}}}function Re(i){let e,t,r,l;const n=[ke,$e],a=[];function s(o,c){return o[0][2]?0:1}return e=s(i),t=a[e]=n[e](i),{c(){t.c(),r=m()},l(o){t.l(o),r=m()},m(o,c){a[e].m(o,c),k(o,r,c),l=!0},p(o,c){let f=e;e=s(o),e===f?a[e].p(o,c):(P(),g(a[f],1,1,()=>{a[f]=null}),T(),t=a[e],t?t.p(o,c):(t=a[e]=n[e](o),t.c()),w(t,1),t.m(r.parentNode,r))},i(o){l||(w(t),l=!0)},o(o){g(t),l=!1},d(o){a[e].d(o),o&&y(r)}}}function F(i){let e,t=i[5]&&H(i);return{c(){e=ce("div"),t&&t.c(),this.h()},l(r){e=fe(r,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,class:!0});var l=ue(e);t&&t.l(l),l.forEach(y),this.h()},h(){K(e,"id","svelte-announcer"),K(e,"aria-live","assertive"),K(e,"aria-atomic","true"),K(e,"class","svelte-1j55zn5")},m(r,l){k(r,e,l),t&&t.m(e,null)},p(r,l){r[5]?t?t.p(r,l):(t=H(r),t.c(),t.m(e,null)):t&&(t.d(1),t=null)},d(r){r&&y(e),t&&t.d()}}}function H(i){let e;return{c(){e=he(i[6])},l(t){e=de(t,i[6])},m(t,r){k(t,e,r)},p(t,r){r&64&&_e(e,t[6])},d(t){t&&y(e)}}}function Le(i){let e,t,r,l,n;const a=[ye,ve],s=[];function o(f,h){return f[0][1]?0:1}e=o(i),t=s[e]=a[e](i);let c=i[4]&&F(i);return{c(){t.c(),r=pe(),c&&c.c(),l=m()},l(f){t.l(f),r=me(f),c&&c.l(f),l=m()},m(f,h){s[e].m(f,h),k(f,r,h),c&&c.m(f,h),k(f,l,h),n=!0},p(f,[h]){let u=e;e=o(f),e===u?s[e].p(f,h):(P(),g(s[u],1,1,()=>{s[u]=null}),T(),t=s[e],t?t.p(f,h):(t=s[e]=a[e](f),t.c()),w(t,1),t.m(r.parentNode,r)),f[4]?c?c.p(f,h):(c=F(f),c.c(),c.m(l.parentNode,l)):c&&(c.d(1),c=null)},i(f){n||(w(t),n=!0)},o(f){g(t),n=!1},d(f){s[e].d(f),f&&y(r),c&&c.d(f),f&&y(l)}}}function Se(i,e,t){let{stores:r}=e,{page:l}=e,{components:n}=e,{props_0:a=null}=e,{props_1:s=null}=e,{props_2:o=null}=e;ge("__svelte__",r),we(r.page.notify);let c=!1,f=!1,h=null;return be(()=>{const u=r.page.subscribe(()=>{c&&(t(5,f=!0),t(6,h=document.title||"untitled page"))});return t(4,c=!0),u}),i.$$set=u=>{"stores"in u&&t(7,r=u.stores),"page"in u&&t(8,l=u.page),"components"in u&&t(0,n=u.components),"props_0"in u&&t(1,a=u.props_0),"props_1"in u&&t(2,s=u.props_1),"props_2"in u&&t(3,o=u.props_2)},i.$$.update=()=>{i.$$.dirty&384&&r.page.set(l)},[n,a,s,o,c,f,h,r,l]}class Ue extends ae{constructor(e){super();oe(this,e,Se,Le,le,{stores:7,page:8,components:0,props_0:1,props_1:2,props_2:3})}}const Ae="modulepreload",Q={},je="/staticspaceiframe/julien-c/sveltekit-demo/build/_app/",D=function(e,t){return!t||t.length===0?e():Promise.all(t.map(r=>{if(r=`${je}${r}`,r in Q)return;Q[r]=!0;const l=r.endsWith(".css"),n=l?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${r}"]${n}`))return;const a=document.createElement("link");if(a.rel=l?"stylesheet":Ae,l||(a.as="script",a.crossOrigin=""),a.href=r,document.head.appendChild(a),l)return new Promise((s,o)=>{a.addEventListener("load",s),a.addEventListener("error",o)})})).then(()=>e())},$=[()=>D(()=>import("./pages/__layout.svelte-63495e35.js"),["pages/__layout.svelte-63495e35.js","assets/pages/__layout.svelte-6fc1a61d.css","chunks/vendor-92f01141.js"]),()=>D(()=>import("./error.svelte-9d0fd51b.js"),["error.svelte-9d0fd51b.js","chunks/vendor-92f01141.js"]),()=>D(()=>import("./pages/index.svelte-a15b343f.js"),["pages/index.svelte-a15b343f.js","assets/pages/index.svelte-c63fe1c6.css","chunks/vendor-92f01141.js"]),()=>D(()=>import("./pages/about.svelte-310947ca.js"),["pages/about.svelte-310947ca.js","assets/pages/about.svelte-bf4528fa.css","chunks/vendor-92f01141.js"]),()=>D(()=>import("./pages/todos/index.svelte-04c91dab.js"),["pages/todos/index.svelte-04c91dab.js","assets/pages/todos/index.svelte-784042c1.css","chunks/vendor-92f01141.js"])],Pe=[[/^\/$/,[$[0],$[2]],[$[1]]],[/^\/about\/?$/,[$[0],$[3]],[$[1]]],,[/^\/todos\/?$/,[$[0],$[4]],[$[1]]]],Te=[$[0](),$[1]()];function Ne(i){let e=i.baseURI;if(!e){const t=i.getElementsByTagName("base");e=t.length?t[0].href:i.URL}return e}let Z="";function Oe(i){Z=i.base,i.assets}function z(){return{x:pageXOffset,y:pageYOffset}}function x(i){return i.composedPath().find(t=>t instanceof Node&&t.nodeName.toUpperCase()==="A")}function ee(i){return i instanceof SVGAElement?new URL(i.href.baseVal,document.baseURI):new URL(i.href)}class Ce{constructor({base:e,routes:t,trailing_slash:r,renderer:l}){this.base=e,this.routes=t,this.trailing_slash=r,this.navigating=0,this.renderer=l,l.router=this,this.enabled=!0,document.body.setAttribute("tabindex","-1"),history.replaceState(history.state||{},"",location.href)}init_listeners(){"scrollRestoration"in history&&(history.scrollRestoration="manual"),addEventListener("beforeunload",()=>{history.scrollRestoration="auto"}),addEventListener("load",()=>{history.scrollRestoration="manual"});let e;addEventListener("scroll",()=>{clearTimeout(e),e=setTimeout(()=>{const n=Y(A({},history.state||{}),{"sveltekit:scroll":z()});history.replaceState(n,document.title,window.location.href)},200)});const t=n=>{const a=x(n);a&&a.href&&a.hasAttribute("sveltekit:prefetch")&&this.prefetch(ee(a))};let r;const l=n=>{clearTimeout(r),r=setTimeout(()=>{var a;(a=n.target)==null||a.dispatchEvent(new CustomEvent("sveltekit:trigger_prefetch",{bubbles:!0}))},20)};addEventListener("touchstart",t),addEventListener("mousemove",l),addEventListener("sveltekit:trigger_prefetch",t),addEventListener("click",n=>{if(!this.enabled||n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const a=x(n);if(!a||!a.href)return;const s=ee(a);if(s.toString()===location.href){location.hash||n.preventDefault();return}const c=(a.getAttribute("rel")||"").split(/\s+/);if(a.hasAttribute("download")||c&&c.includes("external")||(a instanceof SVGAElement?a.target.baseVal:a.target)||!this.owns(s))return;if(s.href.split("#")[0]===location.href.split("#")[0]){setTimeout(()=>history.pushState({},"",s.href));return}history.pushState({},"",s.href);const f=a.hasAttribute("sveltekit:noscroll");this._navigate(s,f?z():null,!1,[],s.hash),n.preventDefault()}),addEventListener("popstate",n=>{if(n.state&&this.enabled){const a=new URL(location.href);this._navigate(a,n.state["sveltekit:scroll"],!1,[])}})}owns(e){return e.origin===location.origin&&e.pathname.startsWith(this.base)}parse(e){if(this.owns(e)){const t=decodeURI(e.pathname.slice(this.base.length)||"/");return{id:e.pathname+e.search,routes:this.routes.filter(([r])=>r.test(t)),url:e,path:t}}}async goto(e,{noscroll:t=!1,replaceState:r=!1,keepfocus:l=!1,state:n={}}={},a){const s=new URL(e,Ne(document));return this.enabled&&this.owns(s)?(history[r?"replaceState":"pushState"](n,"",e),this._navigate(s,t?z():null,l,a,s.hash)):(location.href=s.href,new Promise(()=>{}))}enable(){this.enabled=!0}disable(){this.enabled=!1}async prefetch(e){const t=this.parse(e);if(!t)throw new Error("Attempted to prefetch a URL that does not belong to this app");return this.renderer.load(t)}async _navigate(e,t,r,l,n){const a=this.parse(e);if(!a)throw new Error("Attempted to navigate to a URL that does not belong to this app");this.navigating||dispatchEvent(new CustomEvent("sveltekit:navigation-start")),this.navigating++;let{pathname:s}=e;this.trailing_slash==="never"?s!=="/"&&s.endsWith("/")&&(s=s.slice(0,-1)):this.trailing_slash==="always"&&!e.pathname.split("/").pop().includes(".")&&!s.endsWith("/")&&(s+="/"),a.url=new URL(e.origin+s+e.search+e.hash),history.replaceState({},"",a.url),await this.renderer.handle_navigation(a,l,!1,{hash:n,scroll:t,keepfocus:r}),this.navigating--,this.navigating||dispatchEvent(new CustomEvent("sveltekit:navigation-end"))}}function te(i){return i instanceof Error||i&&i.name&&i.message?i:new Error(JSON.stringify(i))}function Ie(i){let e=5381,t=i.length;if(typeof i=="string")for(;t;)e=e*33^i.charCodeAt(--t);else for(;t;)e=e*33^i[--t];return(e>>>0).toString(36)}function Ve(i){const e=i.status&&i.status>=400&&i.status<=599&&!i.redirect;if(i.error||e){const t=i.status;if(!i.error&&e)return{status:t||500,error:new Error};const r=typeof i.error=="string"?new Error(i.error):i.error;return r instanceof Error?!t||t<400||t>599?(console.warn('"error" returned from load() without a valid status code \u2014 defaulting to 500'),{status:500,error:r}):{status:t,error:r}:{status:500,error:new Error(`"error" property returned from load() must be a string or instance of Error, received type "${typeof r}"`)}}if(i.redirect){if(!i.status||Math.floor(i.status/100)!==3)return{status:500,error:new Error('"redirect" property returned from load() must be accompanied by a 3xx status code')};if(typeof i.redirect!="string")return{status:500,error:new Error('"redirect" property returned from load() must be a string')}}if(i.context)throw new Error('You are returning "context" from a load function. "context" was renamed to "stuff", please adjust your code accordingly.');return i}function se(i){const e=W(i);let t=!0;function r(){t=!0,e.update(a=>a)}function l(a){t=!1,e.set(a)}function n(a){let s;return e.subscribe(o=>{(s===void 0||t&&o!==s)&&a(s=o)})}return{notify:r,set:l,subscribe:n}}function De(i,e){const t=typeof i=="string"?i:i.url;let r=`script[data-type="svelte-data"][data-url=${JSON.stringify(t)}]`;e&&typeof e.body=="string"&&(r+=`[data-body="${Ie(e.body)}"]`);const l=document.querySelector(r);if(l&&l.textContent){const n=JSON.parse(l.textContent),{body:a}=n,s=X(n,["body"]);return Promise.resolve(new Response(a,s))}return fetch(i,e)}class qe{constructor({Root:e,fallback:t,target:r,session:l}){this.Root=e,this.fallback=t,this.router,this.target=r,this.started=!1,this.session_id=1,this.invalid=new Set,this.invalidating=null,this.autoscroll=!0,this.updating=!1,this.current={url:null,session_id:0,branch:[]},this.cache=new Map,this.loading={id:null,promise:null},this.stores={url:se({}),page:se({}),navigating:W(null),session:W(l)},this.$session=null,this.root=null;let n=!1;this.stores.session.subscribe(async a=>{if(this.$session=a,!n||!this.router)return;this.session_id+=1;const s=this.router.parse(new URL(location.href));s&&this.update(s,[],!0)}),n=!0}disable_scroll_handling(){(this.updating||!this.started)&&(this.autoscroll=!1)}async start({status:e,error:t,nodes:r,url:l,params:n}){const a=[];let s={},o,c;try{for(let f=0;f<r.length;f+=1){const h=f===r.length-1,u=await this._load_node({module:await r[f],url:l,params:n,stuff:s,status:h?e:void 0,error:h?t:void 0});if(a.push(u),u&&u.loaded)if(u.loaded.error){if(t)throw u.loaded.error;c={status:u.loaded.status,error:u.loaded.error,url:l}}else u.loaded.stuff&&(s=A(A({},s),u.loaded.stuff))}o=c?await this._load_error(c):await this._get_navigation_result_from_branch({url:l,params:n,branch:a,status:e,error:t})}catch(f){if(t)throw f;o=await this._load_error({status:500,error:te(f),url:l})}if(o.redirect){location.href=new URL(o.redirect,location.href).href;return}this._init(o)}async handle_navigation(e,t,r,l){this.started&&this.stores.navigating.set({from:this.current.url,to:e.url}),await this.update(e,t,r,l)}async update(e,t,r,l){var o;const n=this.token={};let a=await this._get_navigation_result(e,r);if(n!==this.token)return;if(this.invalid.clear(),a.redirect)if(t.length>10||t.includes(e.url.pathname))a=await this._load_error({status:500,error:new Error("Redirect loop"),url:e.url});else{this.router?this.router.goto(a.redirect,{replaceState:!0},[...t,e.url.pathname]):location.href=new URL(a.redirect,location.href).href;return}if(this.updating=!0,this.started?(this.current=a.state,this.root.$set(a.props),this.stores.navigating.set(null)):this._init(a),l){const{hash:c,scroll:f,keepfocus:h}=l;if(h||((o=getSelection())==null||o.removeAllRanges(),document.body.focus()),await 0,this.autoscroll){const u=c&&document.getElementById(c.slice(1));f?scrollTo(f.x,f.y):u?u.scrollIntoView():scrollTo(0,0)}}else await 0;if(this.loading.promise=null,this.loading.id=null,this.autoscroll=!0,this.updating=!1,!this.router)return;const s=a.state.branch[a.state.branch.length-1];s&&s.module.router===!1?this.router.disable():this.router.enable()}load(e){return this.loading.promise=this._get_navigation_result(e,!1),this.loading.id=e.id,this.loading.promise}invalidate(e){return this.invalid.add(e),this.invalidating||(this.invalidating=Promise.resolve().then(async()=>{const t=this.router&&this.router.parse(new URL(location.href));t&&await this.update(t,[],!0),this.invalidating=null})),this.invalidating}_init(e){this.current=e.state;const t=document.querySelector("style[data-svelte]");t&&t.remove(),this.root=new this.Root({target:this.target,props:A({stores:this.stores},e.props),hydrate:!0}),this.started=!0}async _get_navigation_result(e,t){if(this.loading.id===e.id&&this.loading.promise)return this.loading.promise;for(let r=0;r<e.routes.length;r+=1){const l=e.routes[r];let n=r+1;for(;n<e.routes.length;){const s=e.routes[n];if(s[0].toString()===l[0].toString())s[1].forEach(o=>o()),n+=1;else break}const a=await this._load({route:l,info:e},t);if(a)return a}return await this._load_error({status:404,error:new Error(`Not found: ${e.url.pathname}`),url:e.url})}async _get_navigation_result_from_branch({url:e,params:t,branch:r,status:l,error:n}){const a=r.filter(Boolean),s=a.find(h=>h.loaded&&h.loaded.redirect),o={redirect:s&&s.loaded?s.loaded.redirect:void 0,state:{url:e,params:t,branch:r,session_id:this.session_id},props:{components:a.map(h=>h.module.default)}};for(let h=0;h<a.length;h+=1){const u=a[h].loaded;o.props[`props_${h}`]=u?await u.props:null}if(!this.current.url||e.href!==this.current.url.href){o.props.page={url:e,params:t,status:l,error:n};const h=(u,p)=>{Object.defineProperty(o.props.page,u,{get:()=>{throw new Error(`$page.${u} has been replaced by $page.url.${p}`)}})};h("origin","origin"),h("path","pathname"),h("query","searchParams")}const c=a[a.length-1],f=c.loaded&&c.loaded.maxage;if(f){const h=e.pathname+e.search;let u=!1;const p=()=>{this.cache.get(h)===o&&this.cache.delete(h),S(),clearTimeout(j)},j=setTimeout(p,f*1e3),S=this.stores.session.subscribe(()=>{u&&p()});u=!0,this.cache.set(h,o)}return o}async _load_node({status:e,error:t,module:r,url:l,params:n,stuff:a}){const s={module:r,uses:{params:new Set,url:!1,session:!1,stuff:!1,dependencies:[]},loaded:null,stuff:a},o={};for(const f in n)Object.defineProperty(o,f,{get(){return s.uses.params.add(f),n[f]},enumerable:!0});const c=this.$session;if(r.load){const{started:f}=this,h={params:o,get url(){return s.uses.url=!0,l},get session(){return s.uses.session=!0,c},get stuff(){return s.uses.stuff=!0,A({},a)},fetch(p,j){const S=typeof p=="string"?p:p.url,{href:U}=new URL(S,l);return s.uses.dependencies.push(U),f?fetch(p,j):De(p,j)}};t&&(h.status=e,h.error=t);const u=await r.load.call(null,h);if(!u)return;s.loaded=Ve(u),s.loaded.stuff&&(s.stuff=s.loaded.stuff)}return s}async _load({route:e,info:{url:t,path:r}},l){const n=t.pathname+t.search;if(!l){const d=this.cache.get(n);if(d)return d}const[a,s,o,c]=e,f=c?c(a.exec(r)):{},h=this.current.url&&{url:n!==this.current.url.pathname+this.current.url.search,params:Object.keys(f).filter(d=>this.current.params[d]!==f[d]),session:this.session_id!==this.current.session_id};let u=[],p={},j=!1,S=200,U;s.forEach(d=>d());e:for(let d=0;d<s.length;d+=1){let _;try{if(!s[d])continue;const b=await s[d](),v=this.current.branch[d];if(!v||b!==v.module||h.url&&v.uses.url||h.params.some(N=>v.uses.params.has(N))||h.session&&v.uses.session||v.uses.dependencies.some(N=>this.invalid.has(N))||j&&v.uses.stuff){_=await this._load_node({module:b,url:t,params:f,stuff:p});const N=d===s.length-1;if(_&&_.loaded){if(_.loaded.error&&(S=_.loaded.status,U=_.loaded.error),_.loaded.redirect)return{redirect:_.loaded.redirect,props:{},state:this.current};_.loaded.stuff&&(j=!0)}else if(N&&b.load)return}else _=v}catch(b){S=500,U=te(b)}if(U){for(;d--;)if(o[d]){let b,v,q=d;for(;!(v=u[q]);)q-=1;try{if(b=await this._load_node({status:S,error:U,module:await o[d](),url:t,params:f,stuff:v.stuff}),b&&b.loaded&&b.loaded.error)continue;u=u.slice(0,q+1).concat(b);break e}catch{continue}}return await this._load_error({status:S,error:U,url:t})}else _&&_.loaded&&_.loaded.stuff&&(p=A(A({},p),_.loaded.stuff)),u.push(_)}return await this._get_navigation_result_from_branch({url:t,params:f,branch:u,status:S,error:U})}async _load_error({status:e,error:t,url:r}){const l={},n=await this._load_node({module:await this.fallback[0],url:r,params:l,stuff:{}}),a=[n,await this._load_node({status:e,error:t,module:await this.fallback[1],url:r,params:l,stuff:n&&n.loaded&&n.loaded.stuff||{}})];return await this._get_navigation_result_from_branch({url:r,params:l,branch:a,status:e,error:t})}}async function We({paths:i,target:e,session:t,route:r,spa:l,trailing_slash:n,hydrate:a}){const s=new qe({Root:Ue,fallback:Te,target:e,session:t}),o=r?new Ce({base:i.base,routes:Pe,trailing_slash:n,renderer:s}):null;Oe(i),a&&await s.start(a),o&&(l&&o.goto(location.href,{replaceState:!0},[]),o.init_listeners()),dispatchEvent(new CustomEvent("sveltekit:start"))}export{We as start};
 
 
build/_app/start-d5760d63.js ADDED
@@ -0,0 +1 @@
 
 
1
+ var re=Object.defineProperty,ne=Object.defineProperties;var ie=Object.getOwnPropertyDescriptors;var B=Object.getOwnPropertySymbols;var J=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var M=(n,e,t)=>e in n?re(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,A=(n,e)=>{for(var t in e||(e={}))J.call(e,t)&&M(n,t,e[t]);if(B)for(var t of B(e))G.call(e,t)&&M(n,t,e[t]);return n},Y=(n,e)=>ne(n,ie(e));var X=(n,e)=>{var t={};for(var r in n)J.call(n,r)&&e.indexOf(r)<0&&(t[r]=n[r]);if(n!=null&&B)for(var r of B(n))e.indexOf(r)<0&&G.call(n,r)&&(t[r]=n[r]);return t};import{S as ae,i as oe,s as le,e as ce,c as fe,a as ue,d as y,b as K,f as k,t as he,g as de,h as _e,j as pe,k as m,l as me,m as T,n as g,o as j,p as w,q as ge,r as we,u as be,v as E,w as O,x as R,y as C,z as I,A as L,B as V,C as W}from"./chunks/vendor-92f01141.js";function ve(n){let e,t,r;const l=[n[1]||{}];var i=n[0][0];function a(s){let o={};for(let c=0;c<l.length;c+=1)o=V(o,l[c]);return{props:o}}return i&&(e=new i(a())),{c(){e&&E(e.$$.fragment),t=m()},l(s){e&&O(e.$$.fragment,s),t=m()},m(s,o){e&&R(e,s,o),k(s,t,o),r=!0},p(s,o){const c=o&2?C(l,[I(s[1]||{})]):{};if(i!==(i=s[0][0])){if(e){T();const f=e;g(f.$$.fragment,1,0,()=>{L(f,1)}),j()}i?(e=new i(a()),E(e.$$.fragment),w(e.$$.fragment,1),R(e,t.parentNode,t)):e=null}else i&&e.$set(c)},i(s){r||(e&&w(e.$$.fragment,s),r=!0)},o(s){e&&g(e.$$.fragment,s),r=!1},d(s){s&&y(t),e&&L(e,s)}}}function ye(n){let e,t,r;const l=[n[1]||{}];var i=n[0][0];function a(s){let o={$$slots:{default:[Re]},$$scope:{ctx:s}};for(let c=0;c<l.length;c+=1)o=V(o,l[c]);return{props:o}}return i&&(e=new i(a(n))),{c(){e&&E(e.$$.fragment),t=m()},l(s){e&&O(e.$$.fragment,s),t=m()},m(s,o){e&&R(e,s,o),k(s,t,o),r=!0},p(s,o){const c=o&2?C(l,[I(s[1]||{})]):{};if(o&525&&(c.$$scope={dirty:o,ctx:s}),i!==(i=s[0][0])){if(e){T();const f=e;g(f.$$.fragment,1,0,()=>{L(f,1)}),j()}i?(e=new i(a(s)),E(e.$$.fragment),w(e.$$.fragment,1),R(e,t.parentNode,t)):e=null}else i&&e.$set(c)},i(s){r||(e&&w(e.$$.fragment,s),r=!0)},o(s){e&&g(e.$$.fragment,s),r=!1},d(s){s&&y(t),e&&L(e,s)}}}function $e(n){let e,t,r;const l=[n[2]||{}];var i=n[0][1];function a(s){let o={};for(let c=0;c<l.length;c+=1)o=V(o,l[c]);return{props:o}}return i&&(e=new i(a())),{c(){e&&E(e.$$.fragment),t=m()},l(s){e&&O(e.$$.fragment,s),t=m()},m(s,o){e&&R(e,s,o),k(s,t,o),r=!0},p(s,o){const c=o&4?C(l,[I(s[2]||{})]):{};if(i!==(i=s[0][1])){if(e){T();const f=e;g(f.$$.fragment,1,0,()=>{L(f,1)}),j()}i?(e=new i(a()),E(e.$$.fragment),w(e.$$.fragment,1),R(e,t.parentNode,t)):e=null}else i&&e.$set(c)},i(s){r||(e&&w(e.$$.fragment,s),r=!0)},o(s){e&&g(e.$$.fragment,s),r=!1},d(s){s&&y(t),e&&L(e,s)}}}function ke(n){let e,t,r;const l=[n[2]||{}];var i=n[0][1];function a(s){let o={$$slots:{default:[Ee]},$$scope:{ctx:s}};for(let c=0;c<l.length;c+=1)o=V(o,l[c]);return{props:o}}return i&&(e=new i(a(n))),{c(){e&&E(e.$$.fragment),t=m()},l(s){e&&O(e.$$.fragment,s),t=m()},m(s,o){e&&R(e,s,o),k(s,t,o),r=!0},p(s,o){const c=o&4?C(l,[I(s[2]||{})]):{};if(o&521&&(c.$$scope={dirty:o,ctx:s}),i!==(i=s[0][1])){if(e){T();const f=e;g(f.$$.fragment,1,0,()=>{L(f,1)}),j()}i?(e=new i(a(s)),E(e.$$.fragment),w(e.$$.fragment,1),R(e,t.parentNode,t)):e=null}else i&&e.$set(c)},i(s){r||(e&&w(e.$$.fragment,s),r=!0)},o(s){e&&g(e.$$.fragment,s),r=!1},d(s){s&&y(t),e&&L(e,s)}}}function Ee(n){let e,t,r;const l=[n[3]||{}];var i=n[0][2];function a(s){let o={};for(let c=0;c<l.length;c+=1)o=V(o,l[c]);return{props:o}}return i&&(e=new i(a())),{c(){e&&E(e.$$.fragment),t=m()},l(s){e&&O(e.$$.fragment,s),t=m()},m(s,o){e&&R(e,s,o),k(s,t,o),r=!0},p(s,o){const c=o&8?C(l,[I(s[3]||{})]):{};if(i!==(i=s[0][2])){if(e){T();const f=e;g(f.$$.fragment,1,0,()=>{L(f,1)}),j()}i?(e=new i(a()),E(e.$$.fragment),w(e.$$.fragment,1),R(e,t.parentNode,t)):e=null}else i&&e.$set(c)},i(s){r||(e&&w(e.$$.fragment,s),r=!0)},o(s){e&&g(e.$$.fragment,s),r=!1},d(s){s&&y(t),e&&L(e,s)}}}function Re(n){let e,t,r,l;const i=[ke,$e],a=[];function s(o,c){return o[0][2]?0:1}return e=s(n),t=a[e]=i[e](n),{c(){t.c(),r=m()},l(o){t.l(o),r=m()},m(o,c){a[e].m(o,c),k(o,r,c),l=!0},p(o,c){let f=e;e=s(o),e===f?a[e].p(o,c):(T(),g(a[f],1,1,()=>{a[f]=null}),j(),t=a[e],t?t.p(o,c):(t=a[e]=i[e](o),t.c()),w(t,1),t.m(r.parentNode,r))},i(o){l||(w(t),l=!0)},o(o){g(t),l=!1},d(o){a[e].d(o),o&&y(r)}}}function F(n){let e,t=n[5]&&H(n);return{c(){e=ce("div"),t&&t.c(),this.h()},l(r){e=fe(r,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,class:!0});var l=ue(e);t&&t.l(l),l.forEach(y),this.h()},h(){K(e,"id","svelte-announcer"),K(e,"aria-live","assertive"),K(e,"aria-atomic","true"),K(e,"class","svelte-1j55zn5")},m(r,l){k(r,e,l),t&&t.m(e,null)},p(r,l){r[5]?t?t.p(r,l):(t=H(r),t.c(),t.m(e,null)):t&&(t.d(1),t=null)},d(r){r&&y(e),t&&t.d()}}}function H(n){let e;return{c(){e=he(n[6])},l(t){e=de(t,n[6])},m(t,r){k(t,e,r)},p(t,r){r&64&&_e(e,t[6])},d(t){t&&y(e)}}}function Le(n){let e,t,r,l,i;const a=[ye,ve],s=[];function o(f,h){return f[0][1]?0:1}e=o(n),t=s[e]=a[e](n);let c=n[4]&&F(n);return{c(){t.c(),r=pe(),c&&c.c(),l=m()},l(f){t.l(f),r=me(f),c&&c.l(f),l=m()},m(f,h){s[e].m(f,h),k(f,r,h),c&&c.m(f,h),k(f,l,h),i=!0},p(f,[h]){let u=e;e=o(f),e===u?s[e].p(f,h):(T(),g(s[u],1,1,()=>{s[u]=null}),j(),t=s[e],t?t.p(f,h):(t=s[e]=a[e](f),t.c()),w(t,1),t.m(r.parentNode,r)),f[4]?c?c.p(f,h):(c=F(f),c.c(),c.m(l.parentNode,l)):c&&(c.d(1),c=null)},i(f){i||(w(t),i=!0)},o(f){g(t),i=!1},d(f){s[e].d(f),f&&y(r),c&&c.d(f),f&&y(l)}}}function Se(n,e,t){let{stores:r}=e,{page:l}=e,{components:i}=e,{props_0:a=null}=e,{props_1:s=null}=e,{props_2:o=null}=e;ge("__svelte__",r),we(r.page.notify);let c=!1,f=!1,h=null;return be(()=>{const u=r.page.subscribe(()=>{c&&(t(5,f=!0),t(6,h=document.title||"untitled page"))});return t(4,c=!0),u}),n.$$set=u=>{"stores"in u&&t(7,r=u.stores),"page"in u&&t(8,l=u.page),"components"in u&&t(0,i=u.components),"props_0"in u&&t(1,a=u.props_0),"props_1"in u&&t(2,s=u.props_1),"props_2"in u&&t(3,o=u.props_2)},n.$$.update=()=>{n.$$.dirty&384&&r.page.set(l)},[i,a,s,o,c,f,h,r,l]}class Ue extends ae{constructor(e){super();oe(this,e,Se,Le,le,{stores:7,page:8,components:0,props_0:1,props_1:2,props_2:3})}}const Ae="modulepreload",Q={},Pe="/_app/",D=function(e,t){return!t||t.length===0?e():Promise.all(t.map(r=>{if(r=`${Pe}${r}`,r in Q)return;Q[r]=!0;const l=r.endsWith(".css"),i=l?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${r}"]${i}`))return;const a=document.createElement("link");if(a.rel=l?"stylesheet":Ae,l||(a.as="script",a.crossOrigin=""),a.href=r,document.head.appendChild(a),l)return new Promise((s,o)=>{a.addEventListener("load",s),a.addEventListener("error",o)})})).then(()=>e())},$=[()=>D(()=>import("./pages/__layout.svelte-63495e35.js"),["pages/__layout.svelte-63495e35.js","assets/pages/__layout.svelte-a7861b78.css","chunks/vendor-92f01141.js"]),()=>D(()=>import("./error.svelte-9d0fd51b.js"),["error.svelte-9d0fd51b.js","chunks/vendor-92f01141.js"]),()=>D(()=>import("./pages/index.svelte-a15b343f.js"),["pages/index.svelte-a15b343f.js","assets/pages/index.svelte-c63fe1c6.css","chunks/vendor-92f01141.js"]),()=>D(()=>import("./pages/about.svelte-310947ca.js"),["pages/about.svelte-310947ca.js","assets/pages/about.svelte-bf4528fa.css","chunks/vendor-92f01141.js"]),()=>D(()=>import("./pages/todos/index.svelte-04c91dab.js"),["pages/todos/index.svelte-04c91dab.js","assets/pages/todos/index.svelte-784042c1.css","chunks/vendor-92f01141.js"])],Te=[[/^\/$/,[$[0],$[2]],[$[1]]],[/^\/about\/?$/,[$[0],$[3]],[$[1]]],,[/^\/todos\/?$/,[$[0],$[4]],[$[1]]]],je=[$[0](),$[1]()];function Ne(n){let e=n.baseURI;if(!e){const t=n.getElementsByTagName("base");e=t.length?t[0].href:n.URL}return e}let Z="";function Oe(n){Z=n.base,n.assets}function z(){return{x:pageXOffset,y:pageYOffset}}function x(n){return n.composedPath().find(t=>t instanceof Node&&t.nodeName.toUpperCase()==="A")}function ee(n){return n instanceof SVGAElement?new URL(n.href.baseVal,document.baseURI):new URL(n.href)}class Ce{constructor({base:e,routes:t,trailing_slash:r,renderer:l}){this.base=e,this.routes=t,this.trailing_slash=r,this.navigating=0,this.renderer=l,l.router=this,this.enabled=!0,document.body.setAttribute("tabindex","-1"),history.replaceState(history.state||{},"",location.href)}init_listeners(){"scrollRestoration"in history&&(history.scrollRestoration="manual"),addEventListener("beforeunload",()=>{history.scrollRestoration="auto"}),addEventListener("load",()=>{history.scrollRestoration="manual"});let e;addEventListener("scroll",()=>{clearTimeout(e),e=setTimeout(()=>{const i=Y(A({},history.state||{}),{"sveltekit:scroll":z()});history.replaceState(i,document.title,window.location.href)},200)});const t=i=>{const a=x(i);a&&a.href&&a.hasAttribute("sveltekit:prefetch")&&this.prefetch(ee(a))};let r;const l=i=>{clearTimeout(r),r=setTimeout(()=>{var a;(a=i.target)==null||a.dispatchEvent(new CustomEvent("sveltekit:trigger_prefetch",{bubbles:!0}))},20)};addEventListener("touchstart",t),addEventListener("mousemove",l),addEventListener("sveltekit:trigger_prefetch",t),addEventListener("click",i=>{if(!this.enabled||i.button||i.which!==1||i.metaKey||i.ctrlKey||i.shiftKey||i.altKey||i.defaultPrevented)return;const a=x(i);if(!a||!a.href)return;const s=ee(a);if(s.toString()===location.href){location.hash||i.preventDefault();return}const c=(a.getAttribute("rel")||"").split(/\s+/);if(a.hasAttribute("download")||c&&c.includes("external")||(a instanceof SVGAElement?a.target.baseVal:a.target)||!this.owns(s))return;if(s.href.split("#")[0]===location.href.split("#")[0]){setTimeout(()=>history.pushState({},"",s.href));return}history.pushState({},"",s.href);const f=a.hasAttribute("sveltekit:noscroll");this._navigate(s,f?z():null,!1,[],s.hash),i.preventDefault()}),addEventListener("popstate",i=>{if(i.state&&this.enabled){const a=new URL(location.href);this._navigate(a,i.state["sveltekit:scroll"],!1,[])}})}owns(e){return e.origin===location.origin&&e.pathname.startsWith(this.base)}parse(e){if(this.owns(e)){const t=decodeURI(e.pathname.slice(this.base.length)||"/");return{id:e.pathname+e.search,routes:this.routes.filter(([r])=>r.test(t)),url:e,path:t}}}async goto(e,{noscroll:t=!1,replaceState:r=!1,keepfocus:l=!1,state:i={}}={},a){const s=new URL(e,Ne(document));return this.enabled&&this.owns(s)?(history[r?"replaceState":"pushState"](i,"",e),this._navigate(s,t?z():null,l,a,s.hash)):(location.href=s.href,new Promise(()=>{}))}enable(){this.enabled=!0}disable(){this.enabled=!1}async prefetch(e){const t=this.parse(e);if(!t)throw new Error("Attempted to prefetch a URL that does not belong to this app");return this.renderer.load(t)}async _navigate(e,t,r,l,i){const a=this.parse(e);if(!a)throw new Error("Attempted to navigate to a URL that does not belong to this app");this.navigating||dispatchEvent(new CustomEvent("sveltekit:navigation-start")),this.navigating++;let{pathname:s}=e;this.trailing_slash==="never"?s!=="/"&&s.endsWith("/")&&(s=s.slice(0,-1)):this.trailing_slash==="always"&&!e.pathname.split("/").pop().includes(".")&&!s.endsWith("/")&&(s+="/"),a.url=new URL(e.origin+s+e.search+e.hash),history.replaceState({},"",a.url),await this.renderer.handle_navigation(a,l,!1,{hash:i,scroll:t,keepfocus:r}),this.navigating--,this.navigating||dispatchEvent(new CustomEvent("sveltekit:navigation-end"))}}function te(n){return n instanceof Error||n&&n.name&&n.message?n:new Error(JSON.stringify(n))}function Ie(n){let e=5381,t=n.length;if(typeof n=="string")for(;t;)e=e*33^n.charCodeAt(--t);else for(;t;)e=e*33^n[--t];return(e>>>0).toString(36)}function Ve(n){const e=n.status&&n.status>=400&&n.status<=599&&!n.redirect;if(n.error||e){const t=n.status;if(!n.error&&e)return{status:t||500,error:new Error};const r=typeof n.error=="string"?new Error(n.error):n.error;return r instanceof Error?!t||t<400||t>599?(console.warn('"error" returned from load() without a valid status code \u2014 defaulting to 500'),{status:500,error:r}):{status:t,error:r}:{status:500,error:new Error(`"error" property returned from load() must be a string or instance of Error, received type "${typeof r}"`)}}if(n.redirect){if(!n.status||Math.floor(n.status/100)!==3)return{status:500,error:new Error('"redirect" property returned from load() must be accompanied by a 3xx status code')};if(typeof n.redirect!="string")return{status:500,error:new Error('"redirect" property returned from load() must be a string')}}if(n.context)throw new Error('You are returning "context" from a load function. "context" was renamed to "stuff", please adjust your code accordingly.');return n}function se(n){const e=W(n);let t=!0;function r(){t=!0,e.update(a=>a)}function l(a){t=!1,e.set(a)}function i(a){let s;return e.subscribe(o=>{(s===void 0||t&&o!==s)&&a(s=o)})}return{notify:r,set:l,subscribe:i}}function De(n,e){const t=typeof n=="string"?n:n.url;let r=`script[data-type="svelte-data"][data-url=${JSON.stringify(t)}]`;e&&typeof e.body=="string"&&(r+=`[data-body="${Ie(e.body)}"]`);const l=document.querySelector(r);if(l&&l.textContent){const i=JSON.parse(l.textContent),{body:a}=i,s=X(i,["body"]);return Promise.resolve(new Response(a,s))}return fetch(n,e)}class qe{constructor({Root:e,fallback:t,target:r,session:l}){this.Root=e,this.fallback=t,this.router,this.target=r,this.started=!1,this.session_id=1,this.invalid=new Set,this.invalidating=null,this.autoscroll=!0,this.updating=!1,this.current={url:null,session_id:0,branch:[]},this.cache=new Map,this.loading={id:null,promise:null},this.stores={url:se({}),page:se({}),navigating:W(null),session:W(l)},this.$session=null,this.root=null;let i=!1;this.stores.session.subscribe(async a=>{if(this.$session=a,!i||!this.router)return;this.session_id+=1;const s=this.router.parse(new URL(location.href));s&&this.update(s,[],!0)}),i=!0}disable_scroll_handling(){(this.updating||!this.started)&&(this.autoscroll=!1)}async start({status:e,error:t,nodes:r,url:l,params:i}){const a=[];let s={},o,c;try{for(let f=0;f<r.length;f+=1){const h=f===r.length-1,u=await this._load_node({module:await r[f],url:l,params:i,stuff:s,status:h?e:void 0,error:h?t:void 0});if(a.push(u),u&&u.loaded)if(u.loaded.error){if(t)throw u.loaded.error;c={status:u.loaded.status,error:u.loaded.error,url:l}}else u.loaded.stuff&&(s=A(A({},s),u.loaded.stuff))}o=c?await this._load_error(c):await this._get_navigation_result_from_branch({url:l,params:i,branch:a,status:e,error:t})}catch(f){if(t)throw f;o=await this._load_error({status:500,error:te(f),url:l})}if(o.redirect){location.href=new URL(o.redirect,location.href).href;return}this._init(o)}async handle_navigation(e,t,r,l){this.started&&this.stores.navigating.set({from:this.current.url,to:e.url}),await this.update(e,t,r,l)}async update(e,t,r,l){var o;const i=this.token={};let a=await this._get_navigation_result(e,r);if(i!==this.token)return;if(this.invalid.clear(),a.redirect)if(t.length>10||t.includes(e.url.pathname))a=await this._load_error({status:500,error:new Error("Redirect loop"),url:e.url});else{this.router?this.router.goto(a.redirect,{replaceState:!0},[...t,e.url.pathname]):location.href=new URL(a.redirect,location.href).href;return}if(this.updating=!0,this.started?(this.current=a.state,this.root.$set(a.props),this.stores.navigating.set(null)):this._init(a),l){const{hash:c,scroll:f,keepfocus:h}=l;if(h||((o=getSelection())==null||o.removeAllRanges(),document.body.focus()),await 0,this.autoscroll){const u=c&&document.getElementById(c.slice(1));f?scrollTo(f.x,f.y):u?u.scrollIntoView():scrollTo(0,0)}}else await 0;if(this.loading.promise=null,this.loading.id=null,this.autoscroll=!0,this.updating=!1,!this.router)return;const s=a.state.branch[a.state.branch.length-1];s&&s.module.router===!1?this.router.disable():this.router.enable()}load(e){return this.loading.promise=this._get_navigation_result(e,!1),this.loading.id=e.id,this.loading.promise}invalidate(e){return this.invalid.add(e),this.invalidating||(this.invalidating=Promise.resolve().then(async()=>{const t=this.router&&this.router.parse(new URL(location.href));t&&await this.update(t,[],!0),this.invalidating=null})),this.invalidating}_init(e){this.current=e.state;const t=document.querySelector("style[data-svelte]");t&&t.remove(),this.root=new this.Root({target:this.target,props:A({stores:this.stores},e.props),hydrate:!0}),this.started=!0}async _get_navigation_result(e,t){if(this.loading.id===e.id&&this.loading.promise)return this.loading.promise;for(let r=0;r<e.routes.length;r+=1){const l=e.routes[r];let i=r+1;for(;i<e.routes.length;){const s=e.routes[i];if(s[0].toString()===l[0].toString())s[1].forEach(o=>o()),i+=1;else break}const a=await this._load({route:l,info:e},t);if(a)return a}return await this._load_error({status:404,error:new Error(`Not found: ${e.url.pathname}`),url:e.url})}async _get_navigation_result_from_branch({url:e,params:t,branch:r,status:l,error:i}){const a=r.filter(Boolean),s=a.find(h=>h.loaded&&h.loaded.redirect),o={redirect:s&&s.loaded?s.loaded.redirect:void 0,state:{url:e,params:t,branch:r,session_id:this.session_id},props:{components:a.map(h=>h.module.default)}};for(let h=0;h<a.length;h+=1){const u=a[h].loaded;o.props[`props_${h}`]=u?await u.props:null}if(!this.current.url||e.href!==this.current.url.href){o.props.page={url:e,params:t,status:l,error:i};const h=(u,p)=>{Object.defineProperty(o.props.page,u,{get:()=>{throw new Error(`$page.${u} has been replaced by $page.url.${p}`)}})};h("origin","origin"),h("path","pathname"),h("query","searchParams")}const c=a[a.length-1],f=c.loaded&&c.loaded.maxage;if(f){const h=e.pathname+e.search;let u=!1;const p=()=>{this.cache.get(h)===o&&this.cache.delete(h),S(),clearTimeout(P)},P=setTimeout(p,f*1e3),S=this.stores.session.subscribe(()=>{u&&p()});u=!0,this.cache.set(h,o)}return o}async _load_node({status:e,error:t,module:r,url:l,params:i,stuff:a}){const s={module:r,uses:{params:new Set,url:!1,session:!1,stuff:!1,dependencies:[]},loaded:null,stuff:a},o={};for(const f in i)Object.defineProperty(o,f,{get(){return s.uses.params.add(f),i[f]},enumerable:!0});const c=this.$session;if(r.load){const{started:f}=this,h={params:o,get url(){return s.uses.url=!0,l},get session(){return s.uses.session=!0,c},get stuff(){return s.uses.stuff=!0,A({},a)},fetch(p,P){const S=typeof p=="string"?p:p.url,{href:U}=new URL(S,l);return s.uses.dependencies.push(U),f?fetch(p,P):De(p,P)}};t&&(h.status=e,h.error=t);const u=await r.load.call(null,h);if(!u)return;s.loaded=Ve(u),s.loaded.stuff&&(s.stuff=s.loaded.stuff)}return s}async _load({route:e,info:{url:t,path:r}},l){const i=t.pathname+t.search;if(!l){const d=this.cache.get(i);if(d)return d}const[a,s,o,c]=e,f=c?c(a.exec(r)):{},h=this.current.url&&{url:i!==this.current.url.pathname+this.current.url.search,params:Object.keys(f).filter(d=>this.current.params[d]!==f[d]),session:this.session_id!==this.current.session_id};let u=[],p={},P=!1,S=200,U;s.forEach(d=>d());e:for(let d=0;d<s.length;d+=1){let _;try{if(!s[d])continue;const b=await s[d](),v=this.current.branch[d];if(!v||b!==v.module||h.url&&v.uses.url||h.params.some(N=>v.uses.params.has(N))||h.session&&v.uses.session||v.uses.dependencies.some(N=>this.invalid.has(N))||P&&v.uses.stuff){_=await this._load_node({module:b,url:t,params:f,stuff:p});const N=d===s.length-1;if(_&&_.loaded){if(_.loaded.error&&(S=_.loaded.status,U=_.loaded.error),_.loaded.redirect)return{redirect:_.loaded.redirect,props:{},state:this.current};_.loaded.stuff&&(P=!0)}else if(N&&b.load)return}else _=v}catch(b){S=500,U=te(b)}if(U){for(;d--;)if(o[d]){let b,v,q=d;for(;!(v=u[q]);)q-=1;try{if(b=await this._load_node({status:S,error:U,module:await o[d](),url:t,params:f,stuff:v.stuff}),b&&b.loaded&&b.loaded.error)continue;u=u.slice(0,q+1).concat(b);break e}catch{continue}}return await this._load_error({status:S,error:U,url:t})}else _&&_.loaded&&_.loaded.stuff&&(p=A(A({},p),_.loaded.stuff)),u.push(_)}return await this._get_navigation_result_from_branch({url:t,params:f,branch:u,status:S,error:U})}async _load_error({status:e,error:t,url:r}){const l={},i=await this._load_node({module:await this.fallback[0],url:r,params:l,stuff:{}}),a=[i,await this._load_node({status:e,error:t,module:await this.fallback[1],url:r,params:l,stuff:i&&i.loaded&&i.loaded.stuff||{}})];return await this._get_navigation_result_from_branch({url:r,params:l,branch:a,status:e,error:t})}}async function We({paths:n,target:e,session:t,route:r,spa:l,trailing_slash:i,hydrate:a}){const s=new qe({Root:Ue,fallback:je,target:e,session:t}),o=r?new Ce({base:n.base,routes:Te,trailing_slash:i,renderer:s}):null;Oe(n),a&&await s.start(a),o&&(l&&o.goto(location.href,{replaceState:!0},[]),o.init_listeners()),dispatchEvent(new CustomEvent("sveltekit:start"))}export{We as start};
build/about/index.html CHANGED
@@ -9,9 +9,9 @@
9
 
10
 
11
 
12
- <link rel="stylesheet" href="/staticspaceiframe/julien-c/sveltekit-demo/build/_app/assets/start-61d1577b.css">
13
- <link rel="stylesheet" href="/staticspaceiframe/julien-c/sveltekit-demo/build/_app/assets/pages/__layout.svelte-6fc1a61d.css">
14
- <link rel="stylesheet" href="/staticspaceiframe/julien-c/sveltekit-demo/build/_app/assets/pages/about.svelte-bf4528fa.css">
15
 
16
 
17
  </head>
@@ -19,7 +19,7 @@
19
  <div id="svelte">
20
 
21
 
22
- <header class="svelte-t2wq17"><div class="corner svelte-t2wq17"><a href="https://kit.svelte.dev" class="svelte-t2wq17"><img src="/staticspaceiframe/julien-c/sveltekit-demo/build/_app/assets/svelte-logo-87df40b8.svg" alt="SvelteKit" class="svelte-t2wq17"></a></div>
23
 
24
  <nav class="svelte-t2wq17"><svg viewBox="0 0 2 3" aria-hidden="true" class="svelte-t2wq17"><path d="M0,0 L1,2 C1.5,3 1.5,3 2,3 L2,0 Z" class="svelte-t2wq17"></path></svg>
25
  <ul class="svelte-t2wq17"><li class="svelte-t2wq17"><a sveltekit:prefetch href="./" class="svelte-t2wq17">Home</a></li>
 
9
 
10
 
11
 
12
+ <link rel="stylesheet" href="/_app/assets/start-61d1577b.css">
13
+ <link rel="stylesheet" href="/_app/assets/pages/__layout.svelte-a7861b78.css">
14
+ <link rel="stylesheet" href="/_app/assets/pages/about.svelte-bf4528fa.css">
15
 
16
 
17
  </head>
 
19
  <div id="svelte">
20
 
21
 
22
+ <header class="svelte-t2wq17"><div class="corner svelte-t2wq17"><a href="https://kit.svelte.dev" class="svelte-t2wq17"><img src="/_app/assets/svelte-logo-87df40b8.svg" alt="SvelteKit" class="svelte-t2wq17"></a></div>
23
 
24
  <nav class="svelte-t2wq17"><svg viewBox="0 0 2 3" aria-hidden="true" class="svelte-t2wq17"><path d="M0,0 L1,2 C1.5,3 1.5,3 2,3 L2,0 Z" class="svelte-t2wq17"></path></svg>
25
  <ul class="svelte-t2wq17"><li class="svelte-t2wq17"><a sveltekit:prefetch href="./" class="svelte-t2wq17">Home</a></li>
build/index.html CHANGED
@@ -9,19 +9,19 @@
9
 
10
 
11
 
12
- <link rel="stylesheet" href="/staticspaceiframe/julien-c/sveltekit-demo/build/_app/assets/start-61d1577b.css">
13
- <link rel="stylesheet" href="/staticspaceiframe/julien-c/sveltekit-demo/build/_app/assets/pages/__layout.svelte-6fc1a61d.css">
14
- <link rel="stylesheet" href="/staticspaceiframe/julien-c/sveltekit-demo/build/_app/assets/pages/index.svelte-c63fe1c6.css">
15
- <link rel="modulepreload" href="/staticspaceiframe/julien-c/sveltekit-demo/build/_app/start-10e4a468.js">
16
- <link rel="modulepreload" href="/staticspaceiframe/julien-c/sveltekit-demo/build/_app/chunks/vendor-92f01141.js">
17
- <link rel="modulepreload" href="/staticspaceiframe/julien-c/sveltekit-demo/build/_app/pages/__layout.svelte-63495e35.js">
18
- <link rel="modulepreload" href="/staticspaceiframe/julien-c/sveltekit-demo/build/_app/pages/index.svelte-a15b343f.js">
19
 
20
  <script type="module">
21
- import { start } from "/staticspaceiframe/julien-c/sveltekit-demo/build/_app/start-10e4a468.js";
22
  start({
23
  target: document.querySelector("#svelte"),
24
- paths: {"base":"/staticspaceiframe/julien-c/sveltekit-demo/build","assets":"/staticspaceiframe/julien-c/sveltekit-demo/build"},
25
  session: {},
26
  route: true,
27
  spa: false,
@@ -30,8 +30,8 @@
30
  status: 200,
31
  error: null,
32
  nodes: [
33
- import("/staticspaceiframe/julien-c/sveltekit-demo/build/_app/pages/__layout.svelte-63495e35.js"),
34
- import("/staticspaceiframe/julien-c/sveltekit-demo/build/_app/pages/index.svelte-a15b343f.js")
35
  ],
36
  url: new URL("http://prerender/"),
37
  params: {}
@@ -43,7 +43,7 @@
43
  <div id="svelte">
44
 
45
 
46
- <header class="svelte-t2wq17"><div class="corner svelte-t2wq17"><a href="https://kit.svelte.dev" class="svelte-t2wq17"><img src="/staticspaceiframe/julien-c/sveltekit-demo/build/_app/assets/svelte-logo-87df40b8.svg" alt="SvelteKit" class="svelte-t2wq17"></a></div>
47
 
48
  <nav class="svelte-t2wq17"><svg viewBox="0 0 2 3" aria-hidden="true" class="svelte-t2wq17"><path d="M0,0 L1,2 C1.5,3 1.5,3 2,3 L2,0 Z" class="svelte-t2wq17"></path></svg>
49
  <ul class="svelte-t2wq17"><li class="svelte-t2wq17 active"><a sveltekit:prefetch href="./" class="svelte-t2wq17">Home</a></li>
 
9
 
10
 
11
 
12
+ <link rel="stylesheet" href="/_app/assets/start-61d1577b.css">
13
+ <link rel="stylesheet" href="/_app/assets/pages/__layout.svelte-a7861b78.css">
14
+ <link rel="stylesheet" href="/_app/assets/pages/index.svelte-c63fe1c6.css">
15
+ <link rel="modulepreload" href="/_app/start-d5760d63.js">
16
+ <link rel="modulepreload" href="/_app/chunks/vendor-92f01141.js">
17
+ <link rel="modulepreload" href="/_app/pages/__layout.svelte-63495e35.js">
18
+ <link rel="modulepreload" href="/_app/pages/index.svelte-a15b343f.js">
19
 
20
  <script type="module">
21
+ import { start } from "/_app/start-d5760d63.js";
22
  start({
23
  target: document.querySelector("#svelte"),
24
+ paths: {"base":"","assets":""},
25
  session: {},
26
  route: true,
27
  spa: false,
 
30
  status: 200,
31
  error: null,
32
  nodes: [
33
+ import("/_app/pages/__layout.svelte-63495e35.js"),
34
+ import("/_app/pages/index.svelte-a15b343f.js")
35
  ],
36
  url: new URL("http://prerender/"),
37
  params: {}
 
43
  <div id="svelte">
44
 
45
 
46
+ <header class="svelte-t2wq17"><div class="corner svelte-t2wq17"><a href="https://kit.svelte.dev" class="svelte-t2wq17"><img src="/_app/assets/svelte-logo-87df40b8.svg" alt="SvelteKit" class="svelte-t2wq17"></a></div>
47
 
48
  <nav class="svelte-t2wq17"><svg viewBox="0 0 2 3" aria-hidden="true" class="svelte-t2wq17"><path d="M0,0 L1,2 C1.5,3 1.5,3 2,3 L2,0 Z" class="svelte-t2wq17"></path></svg>
49
  <ul class="svelte-t2wq17"><li class="svelte-t2wq17 active"><a sveltekit:prefetch href="./" class="svelte-t2wq17">Home</a></li>
build/todos.json DELETED
@@ -1 +0,0 @@
1
- []
 
 
build/todos/index.html DELETED
@@ -1,71 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="description" content="Svelte demo app" />
6
- <link rel="icon" href="/favicon.png" />
7
- <meta name="viewport" content="width=device-width, initial-scale=1" />
8
- <title>Todos</title>
9
-
10
-
11
-
12
- <link rel="stylesheet" href="/staticspaceiframe/julien-c/sveltekit-demo/build/_app/assets/start-61d1577b.css">
13
- <link rel="stylesheet" href="/staticspaceiframe/julien-c/sveltekit-demo/build/_app/assets/pages/__layout.svelte-6fc1a61d.css">
14
- <link rel="stylesheet" href="/staticspaceiframe/julien-c/sveltekit-demo/build/_app/assets/pages/todos/index.svelte-784042c1.css">
15
- <link rel="modulepreload" href="/staticspaceiframe/julien-c/sveltekit-demo/build/_app/start-10e4a468.js">
16
- <link rel="modulepreload" href="/staticspaceiframe/julien-c/sveltekit-demo/build/_app/chunks/vendor-92f01141.js">
17
- <link rel="modulepreload" href="/staticspaceiframe/julien-c/sveltekit-demo/build/_app/pages/__layout.svelte-63495e35.js">
18
- <link rel="modulepreload" href="/staticspaceiframe/julien-c/sveltekit-demo/build/_app/pages/todos/index.svelte-04c91dab.js">
19
-
20
- <script type="module">
21
- import { start } from "/staticspaceiframe/julien-c/sveltekit-demo/build/_app/start-10e4a468.js";
22
- start({
23
- target: document.querySelector("#svelte"),
24
- paths: {"base":"/staticspaceiframe/julien-c/sveltekit-demo/build","assets":"/staticspaceiframe/julien-c/sveltekit-demo/build"},
25
- session: {},
26
- route: true,
27
- spa: false,
28
- trailing_slash: "never",
29
- hydrate: {
30
- status: 200,
31
- error: null,
32
- nodes: [
33
- import("/staticspaceiframe/julien-c/sveltekit-demo/build/_app/pages/__layout.svelte-63495e35.js"),
34
- import("/staticspaceiframe/julien-c/sveltekit-demo/build/_app/pages/todos/index.svelte-04c91dab.js")
35
- ],
36
- url: new URL("http://prerender/todos"),
37
- params: {}
38
- }
39
- });
40
- </script>
41
- </head>
42
- <body>
43
- <div id="svelte">
44
-
45
-
46
- <header class="svelte-t2wq17"><div class="corner svelte-t2wq17"><a href="https://kit.svelte.dev" class="svelte-t2wq17"><img src="/staticspaceiframe/julien-c/sveltekit-demo/build/_app/assets/svelte-logo-87df40b8.svg" alt="SvelteKit" class="svelte-t2wq17"></a></div>
47
-
48
- <nav class="svelte-t2wq17"><svg viewBox="0 0 2 3" aria-hidden="true" class="svelte-t2wq17"><path d="M0,0 L1,2 C1.5,3 1.5,3 2,3 L2,0 Z" class="svelte-t2wq17"></path></svg>
49
- <ul class="svelte-t2wq17"><li class="svelte-t2wq17"><a sveltekit:prefetch href="./" class="svelte-t2wq17">Home</a></li>
50
- <li class="svelte-t2wq17"><a sveltekit:prefetch href="./about" class="svelte-t2wq17">About</a></li>
51
- </ul>
52
- <svg viewBox="0 0 2 3" aria-hidden="true" class="svelte-t2wq17"><path d="M0,0 L0,3 C0.5,3 0.5,3 1,2 L2,0 Z" class="svelte-t2wq17"></path></svg></nav>
53
-
54
- <div class="corner svelte-t2wq17"></div>
55
- </header>
56
-
57
- <main class="svelte-1izrdc8">
58
-
59
- <div class="todos svelte-dmxqmd"><h1>Todos</h1>
60
-
61
- <form class="new svelte-dmxqmd" action="/todos.json" method="post"><input name="text" aria-label="Add todo" placeholder="+ tap to add a todo" class="svelte-dmxqmd"></form>
62
-
63
-
64
- </div></main>
65
-
66
- <footer class="svelte-1izrdc8"><p>visit <a href="https://kit.svelte.dev" class="svelte-1izrdc8">kit.svelte.dev</a> to learn SvelteKit</p>
67
- </footer>
68
-
69
- <script type="application/json" data-type="svelte-data" data-url="/todos.json">{"status":200,"statusText":"","headers":{"content-type":"application/json; charset=utf-8"},"body":"[]"}</script></div>
70
- </body>
71
- </html>