julien-c HF staff commited on
Commit
eb2a154
1 Parent(s): f30236f
build/_app/assets/fira-mono-all-400-normal-0d19eb5d.woff ADDED
Binary file (77.4 kB). View file
 
build/_app/assets/fira-mono-cyrillic-400-normal-046b609f.woff2 ADDED
Binary file (9.3 kB). View file
 
build/_app/assets/fira-mono-cyrillic-ext-400-normal-b3140dd3.woff2 ADDED
Binary file (16.5 kB). View file
 
build/_app/assets/fira-mono-greek-400-normal-1f8b3a07.woff2 ADDED
Binary file (10.7 kB). View file
 
build/_app/assets/fira-mono-greek-ext-400-normal-8659ae46.woff2 ADDED
Binary file (8.04 kB). View file
 
build/_app/assets/fira-mono-latin-400-normal-a2f9dbe8.woff2 ADDED
Binary file (16.8 kB). View file
 
build/_app/assets/fira-mono-latin-ext-400-normal-b6331a25.woff2 ADDED
Binary file (12.1 kB). View file
 
build/_app/assets/pages/__layout.svelte-6fc1a61d.css ADDED
@@ -0,0 +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}}
build/_app/assets/pages/about.svelte-bf4528fa.css ADDED
@@ -0,0 +1 @@
 
 
1
+ .content.svelte-cf77e8{width:100%;max-width:var(--column-width);margin:var(--column-margin-top) auto 0 auto}
build/_app/assets/pages/index.svelte-c63fe1c6.css ADDED
@@ -0,0 +1 @@
 
 
1
+ .counter.svelte-139m1ow.svelte-139m1ow{display:flex;border-top:1px solid rgba(0,0,0,.1);border-bottom:1px solid rgba(0,0,0,.1);margin:1rem 0}.counter.svelte-139m1ow button.svelte-139m1ow{width:2em;padding:0;display:flex;align-items:center;justify-content:center;border:0;background-color:transparent;color:var(--text-color);font-size:2rem}.counter.svelte-139m1ow button.svelte-139m1ow:hover{background-color:var(--secondary-color)}svg.svelte-139m1ow.svelte-139m1ow{width:25%;height:25%}path.svelte-139m1ow.svelte-139m1ow{vector-effect:non-scaling-stroke;stroke-width:2px;stroke:var(--text-color)}.counter-viewport.svelte-139m1ow.svelte-139m1ow{width:8em;height:4em;overflow:hidden;text-align:center;position:relative}.counter-viewport.svelte-139m1ow strong.svelte-139m1ow{position:absolute;display:flex;width:100%;height:100%;font-weight:400;color:var(--accent-color);font-size:4rem;align-items:center;justify-content:center}.counter-digits.svelte-139m1ow.svelte-139m1ow{position:absolute;width:100%;height:100%}section.svelte-mjk9ig.svelte-mjk9ig{display:flex;flex-direction:column;justify-content:center;align-items:center;flex:1}h1.svelte-mjk9ig.svelte-mjk9ig{width:100%}.welcome.svelte-mjk9ig.svelte-mjk9ig{position:relative;width:100%;height:0;padding:0 0 24.16992%}.welcome.svelte-mjk9ig img.svelte-mjk9ig{position:absolute;width:100%;height:100%;top:0;display:block}
build/_app/assets/pages/todos/index.svelte-784042c1.css ADDED
@@ -0,0 +1 @@
 
 
1
+ .todos.svelte-dmxqmd.svelte-dmxqmd.svelte-dmxqmd{width:100%;max-width:var(--column-width);margin:var(--column-margin-top) auto 0 auto;line-height:1}.new.svelte-dmxqmd.svelte-dmxqmd.svelte-dmxqmd{margin:0 0 .5rem}input.svelte-dmxqmd.svelte-dmxqmd.svelte-dmxqmd{border:1px solid transparent}input.svelte-dmxqmd.svelte-dmxqmd.svelte-dmxqmd:focus-visible{box-shadow:inset 1px 1px 6px #0000001a;border:1px solid #ff3e00!important;outline:none}.new.svelte-dmxqmd input.svelte-dmxqmd.svelte-dmxqmd{font-size:28px;width:100%;padding:.5em 1em .3em;box-sizing:border-box;background:rgba(255,255,255,.05);border-radius:8px;text-align:center}.todo.svelte-dmxqmd.svelte-dmxqmd.svelte-dmxqmd{display:grid;grid-template-columns:2rem 1fr 2rem;grid-gap:.5rem;align-items:center;margin:0 0 .5rem;padding:.5rem;background-color:#fff;border-radius:8px;filter:drop-shadow(2px 4px 6px rgba(0,0,0,.1));transform:translate(-1px,-1px);transition:filter .2s,transform .2s}.done.svelte-dmxqmd.svelte-dmxqmd.svelte-dmxqmd{transform:none;opacity:.4;filter:drop-shadow(0px 0px 1px rgba(0,0,0,.1))}form.text.svelte-dmxqmd.svelte-dmxqmd.svelte-dmxqmd{position:relative;display:flex;align-items:center;flex:1}.todo.svelte-dmxqmd input.svelte-dmxqmd.svelte-dmxqmd{flex:1;padding:.5em 2em .5em .8em;border-radius:3px}.todo.svelte-dmxqmd button.svelte-dmxqmd.svelte-dmxqmd{width:2em;height:2em;border:none;background-color:transparent;background-position:50% 50%;background-repeat:no-repeat}button.toggle.svelte-dmxqmd.svelte-dmxqmd.svelte-dmxqmd{border:1px solid rgba(0,0,0,.2);border-radius:50%;box-sizing:border-box;background-size:1em auto}.done.svelte-dmxqmd .toggle.svelte-dmxqmd.svelte-dmxqmd{background-image:url("data:image/svg+xml,%3Csvg width='22' height='16' viewBox='0 0 22 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.5 1.5L7.4375 14.5L1.5 8.5909' stroke='%23676778' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}.delete.svelte-dmxqmd.svelte-dmxqmd.svelte-dmxqmd{background-image:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 5V22H19.5V5H4.5Z' fill='%23676778' stroke='%23676778' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M10 10V16.5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14 10V16.5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M2 5H22' stroke='%23676778' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8 5L9.6445 2H14.3885L16 5H8Z' fill='%23676778' stroke='%23676778' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E%0A");opacity:.2}.delete.svelte-dmxqmd.svelte-dmxqmd.svelte-dmxqmd:hover,.delete.svelte-dmxqmd.svelte-dmxqmd.svelte-dmxqmd:focus{transition:opacity .2s;opacity:1}.save.svelte-dmxqmd.svelte-dmxqmd.svelte-dmxqmd{position:absolute;right:0;opacity:0;background-image:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.5 2H3.5C2.67158 2 2 2.67157 2 3.5V20.5C2 21.3284 2.67158 22 3.5 22H20.5C21.3284 22 22 21.3284 22 20.5V3.5C22 2.67157 21.3284 2 20.5 2Z' fill='%23676778' stroke='%23676778' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M17 2V11H7.5V2H17Z' fill='white' stroke='white' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M13.5 5.5V7.5' stroke='%23676778' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M5.99844 2H18.4992' stroke='%23676778' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E%0A")}.todo.svelte-dmxqmd input.svelte-dmxqmd:focus+.save.svelte-dmxqmd,.save.svelte-dmxqmd.svelte-dmxqmd.svelte-dmxqmd:focus{transition:opacity .2s;opacity:1}
build/_app/assets/start-61d1577b.css ADDED
@@ -0,0 +1 @@
 
 
1
+ #svelte-announcer.svelte-1j55zn5{position:absolute;left:0;top:0;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden;white-space:nowrap;width:1px;height:1px}
build/_app/assets/svelte-logo-87df40b8.svg ADDED
build/_app/chunks/vendor-92f01141.js ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ function x(){}const tt=t=>t;function yt(t,e){for(const n in e)t[n]=e[n];return t}function et(t){return t()}function nt(){return Object.create(null)}function C(t){t.forEach(et)}function B(t){return typeof t=="function"}function gt(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let D;function Ut(t,e){return D||(D=document.createElement("a")),D.href=e,t===D.href}function bt(t){return Object.keys(t).length===0}function wt(t,...e){if(t==null)return x;const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function Vt(t,e,n){t.$$.on_destroy.push(wt(e,n))}function Xt(t,e,n,r){if(t){const i=st(t,e,n,r);return t[0](i)}}function st(t,e,n,r){return t[1]&&r?yt(n.ctx.slice(),t[1](r(e))):n.ctx}function Yt(t,e,n,r){if(t[2]&&r){const i=t[2](r(n));if(e.dirty===void 0)return i;if(typeof i=="object"){const l=[],s=Math.max(e.dirty.length,i.length);for(let c=0;c<s;c+=1)l[c]=e.dirty[c]|i[c];return l}return e.dirty|i}return e.dirty}function Zt(t,e,n,r,i,l){if(i){const s=st(e,n,r,l);t.p(s,i)}}function te(t){if(t.ctx.length>32){const e=[],n=t.ctx.length/32;for(let r=0;r<n;r++)e[r]=-1;return e}return-1}function ee(t){return t&&B(t.destroy)?t.destroy:x}const it=typeof window!="undefined";let P=it?()=>window.performance.now():()=>Date.now(),G=it?t=>requestAnimationFrame(t):x;const A=new Set;function rt(t){A.forEach(e=>{e.c(t)||(A.delete(e),e.f())}),A.size!==0&&G(rt)}function J(t){let e;return A.size===0&&G(rt),{promise:new Promise(n=>{A.add(e={c:t,f:n})}),abort(){A.delete(e)}}}let z=!1;function xt(){z=!0}function $t(){z=!1}function kt(t,e,n,r){for(;t<e;){const i=t+(e-t>>1);n(i)<=r?t=i+1:e=i}return t}function Et(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const o=[];for(let a=0;a<e.length;a++){const _=e[a];_.claim_order!==void 0&&o.push(_)}e=o}const n=new Int32Array(e.length+1),r=new Int32Array(e.length);n[0]=-1;let i=0;for(let o=0;o<e.length;o++){const a=e[o].claim_order,_=(i>0&&e[n[i]].claim_order<=a?i+1:kt(1,i,f=>e[n[f]].claim_order,a))-1;r[o]=n[_]+1;const u=_+1;n[u]=o,i=Math.max(u,i)}const l=[],s=[];let c=e.length-1;for(let o=n[i]+1;o!=0;o=r[o-1]){for(l.push(e[o-1]);c>=o;c--)s.push(e[c]);c--}for(;c>=0;c--)s.push(e[c]);l.reverse(),s.sort((o,a)=>o.claim_order-a.claim_order);for(let o=0,a=0;o<s.length;o++){for(;a<l.length&&s[o].claim_order>=l[a].claim_order;)a++;const _=a<l.length?l[a]:null;t.insertBefore(s[o],_)}}function St(t,e){t.appendChild(e)}function ot(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function Ct(t){const e=ct("style");return At(ot(t),e),e}function At(t,e){St(t.head||t,e)}function Mt(t,e){if(z){for(Et(t),(t.actual_end_child===void 0||t.actual_end_child!==null&&t.actual_end_child.parentElement!==t)&&(t.actual_end_child=t.firstChild);t.actual_end_child!==null&&t.actual_end_child.claim_order===void 0;)t.actual_end_child=t.actual_end_child.nextSibling;e!==t.actual_end_child?(e.claim_order!==void 0||e.parentNode!==t)&&t.insertBefore(e,t.actual_end_child):t.actual_end_child=e.nextSibling}else(e.parentNode!==t||e.nextSibling!==null)&&t.appendChild(e)}function ne(t,e,n){z&&!n?Mt(t,e):(e.parentNode!==t||e.nextSibling!=n)&&t.insertBefore(e,n||null)}function jt(t){t.parentNode.removeChild(t)}function ct(t){return document.createElement(t)}function Nt(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function K(t){return document.createTextNode(t)}function se(){return K(" ")}function ie(){return K("")}function re(t,e,n,r){return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n,r)}function oe(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function vt(t){return Array.from(t.childNodes)}function qt(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function lt(t,e,n,r,i=!1){qt(t);const l=(()=>{for(let s=t.claim_info.last_index;s<t.length;s++){const c=t[s];if(e(c)){const o=n(c);return o===void 0?t.splice(s,1):t[s]=o,i||(t.claim_info.last_index=s),c}}for(let s=t.claim_info.last_index-1;s>=0;s--){const c=t[s];if(e(c)){const o=n(c);return o===void 0?t.splice(s,1):t[s]=o,i?o===void 0&&t.claim_info.last_index--:t.claim_info.last_index=s,c}}return r()})();return l.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,l}function at(t,e,n,r){return lt(t,i=>i.nodeName===e,i=>{const l=[];for(let s=0;s<i.attributes.length;s++){const c=i.attributes[s];n[c.name]||l.push(c.name)}l.forEach(s=>i.removeAttribute(s))},()=>r(e))}function ce(t,e,n){return at(t,e,n,ct)}function le(t,e,n){return at(t,e,n,Nt)}function Rt(t,e){return lt(t,n=>n.nodeType===3,n=>{const r=""+e;if(n.data.startsWith(r)){if(n.data.length!==r.length)return n.splitText(r.length)}else n.data=r},()=>K(e),!0)}function ae(t){return Rt(t," ")}function fe(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function ue(t,e,n,r){t.style.setProperty(e,n,r?"important":"")}function de(t,e,n){t.classList[n?"add":"remove"](e)}function Ot(t,e,n=!1){const r=document.createEvent("CustomEvent");return r.initCustomEvent(t,n,!1,e),r}function _e(t,e=document.body){return Array.from(e.querySelectorAll(t))}const Q=new Set;let T=0;function Bt(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}function U(t,e,n,r,i,l,s,c=0){const o=16.666/r;let a=`{
2
+ `;for(let m=0;m<=1;m+=o){const p=e+(n-e)*l(m);a+=m*100+`%{${s(p,1-p)}}
3
+ `}const _=a+`100% {${s(n,1-n)}}
4
+ }`,u=`__svelte_${Bt(_)}_${c}`,f=ot(t);Q.add(f);const d=f.__svelte_stylesheet||(f.__svelte_stylesheet=Ct(t).sheet),h=f.__svelte_rules||(f.__svelte_rules={});h[u]||(h[u]=!0,d.insertRule(`@keyframes ${u} ${_}`,d.cssRules.length));const y=t.style.animation||"";return t.style.animation=`${y?`${y}, `:""}${u} ${r}ms linear ${i}ms 1 both`,T+=1,u}function ft(t,e){const n=(t.style.animation||"").split(", "),r=n.filter(e?l=>l.indexOf(e)<0:l=>l.indexOf("__svelte")===-1),i=n.length-r.length;i&&(t.style.animation=r.join(", "),T-=i,T||Dt())}function Dt(){G(()=>{T||(Q.forEach(t=>{const e=t.__svelte_stylesheet;let n=e.cssRules.length;for(;n--;)e.deleteRule(n);t.__svelte_rules={}}),Q.clear())})}function he(t,e,n,r){if(!e)return x;const i=t.getBoundingClientRect();if(e.left===i.left&&e.right===i.right&&e.top===i.top&&e.bottom===i.bottom)return x;const{delay:l=0,duration:s=300,easing:c=tt,start:o=P()+l,end:a=o+s,tick:_=x,css:u}=n(t,{from:e,to:i},r);let f=!0,d=!1,h;function y(){u&&(h=U(t,0,1,s,l,c,u)),l||(d=!0)}function m(){u&&ft(t,h),f=!1}return J(p=>{if(!d&&p>=o&&(d=!0),d&&p>=a&&(_(1,0),m()),!f)return!1;if(d){const w=p-o,b=0+1*c(w/s);_(b,1-b)}return!0}),y(),_(0,1),m}function me(t){const e=getComputedStyle(t);if(e.position!=="absolute"&&e.position!=="fixed"){const{width:n,height:r}=e,i=t.getBoundingClientRect();t.style.position="absolute",t.style.width=n,t.style.height=r,Pt(t,i)}}function Pt(t,e){const n=t.getBoundingClientRect();if(e.left!==n.left||e.top!==n.top){const r=getComputedStyle(t),i=r.transform==="none"?"":r.transform;t.style.transform=`${i} translate(${e.left-n.left}px, ${e.top-n.top}px)`}}let N;function v(t){N=t}function L(){if(!N)throw new Error("Function called outside component initialization");return N}function pe(t){L().$$.on_mount.push(t)}function ye(t){L().$$.after_update.push(t)}function ge(t,e){L().$$.context.set(t,e)}function be(t){return L().$$.context.get(t)}const q=[],ut=[],F=[],dt=[],zt=Promise.resolve();let V=!1;function Tt(){V||(V=!0,zt.then(_t))}function H(t){F.push(t)}const X=new Set;let I=0;function _t(){const t=N;do{for(;I<q.length;){const e=q[I];I++,v(e),Lt(e.$$)}for(v(null),q.length=0,I=0;ut.length;)ut.pop()();for(let e=0;e<F.length;e+=1){const n=F[e];X.has(n)||(X.add(n),n())}F.length=0}while(q.length);for(;dt.length;)dt.pop()();V=!1,X.clear(),v(t)}function Lt(t){if(t.fragment!==null){t.update(),C(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(H)}}let R;function Ft(){return R||(R=Promise.resolve(),R.then(()=>{R=null})),R}function Y(t,e,n){t.dispatchEvent(Ot(`${e?"intro":"outro"}${n}`))}const W=new Set;let E;function we(){E={r:0,c:[],p:E}}function xe(){E.r||C(E.c),E=E.p}function ht(t,e){t&&t.i&&(W.delete(t),t.i(e))}function Ht(t,e,n,r){if(t&&t.o){if(W.has(t))return;W.add(t),E.c.push(()=>{W.delete(t),r&&(n&&t.d(1),r())}),t.o(e)}}const It={duration:0};function $e(t,e,n,r){let i=e(t,n),l=r?0:1,s=null,c=null,o=null;function a(){o&&ft(t,o)}function _(f,d){const h=f.b-l;return d*=Math.abs(h),{a:l,b:f.b,d:h,duration:d,start:f.start,end:f.start+d,group:f.group}}function u(f){const{delay:d=0,duration:h=300,easing:y=tt,tick:m=x,css:p}=i||It,w={start:P()+d,b:f};f||(w.group=E,E.r+=1),s||c?c=w:(p&&(a(),o=U(t,l,f,h,d,y,p)),f&&m(0,1),s=_(w,h),H(()=>Y(t,f,"start")),J(b=>{if(c&&b>c.start&&(s=_(c,h),c=null,Y(t,s.b,"start"),p&&(a(),o=U(t,l,s.b,s.duration,0,y,i.css))),s){if(b>=s.end)m(l=s.b,1-l),Y(t,s.b,"end"),c||(s.b?a():--s.group.r||C(s.group.c)),s=null;else if(b>=s.start){const S=b-s.start;l=s.a+s.d*y(S/s.duration),m(l,1-l)}}return!!(s||c)}))}return{run(f){B(i)?Ft().then(()=>{i=i(),u(f)}):u(f)},end(){a(),s=c=null}}}function Wt(t,e){Ht(t,1,1,()=>{e.delete(t.key)})}function ke(t,e){t.f(),Wt(t,e)}function Ee(t,e,n,r,i,l,s,c,o,a,_,u){let f=t.length,d=l.length,h=f;const y={};for(;h--;)y[t[h].key]=h;const m=[],p=new Map,w=new Map;for(h=d;h--;){const g=u(i,l,h),$=n(g);let k=s.get($);k?r&&k.p(g,e):(k=a($,g),k.c()),p.set($,m[h]=k),$ in y&&w.set($,Math.abs(h-y[$]))}const b=new Set,S=new Set;function j(g){ht(g,1),g.m(c,_),s.set(g.key,g),_=g.first,d--}for(;f&&d;){const g=m[d-1],$=t[f-1],k=g.key,O=$.key;g===$?(_=g.first,f--,d--):p.has(O)?!s.has(k)||b.has(k)?j(g):S.has(O)?f--:w.get(k)>w.get(O)?(S.add(k),j(g)):(b.add(O),f--):(o($,s),f--)}for(;f--;){const g=t[f];p.has(g.key)||o(g,s)}for(;d;)j(m[d-1]);return m}function Se(t,e){const n={},r={},i={$$scope:1};let l=t.length;for(;l--;){const s=t[l],c=e[l];if(c){for(const o in s)o in c||(r[o]=1);for(const o in c)i[o]||(n[o]=c[o],i[o]=1);t[l]=c}else for(const o in s)i[o]=1}for(const s in r)s in n||(n[s]=void 0);return n}function Ce(t){return typeof t=="object"&&t!==null?t:{}}function Ae(t){t&&t.c()}function Me(t,e){t&&t.l(e)}function Gt(t,e,n,r){const{fragment:i,on_mount:l,on_destroy:s,after_update:c}=t.$$;i&&i.m(e,n),r||H(()=>{const o=l.map(et).filter(B);s?s.push(...o):C(o),t.$$.on_mount=[]}),c.forEach(H)}function Jt(t,e){const n=t.$$;n.fragment!==null&&(C(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function Kt(t,e){t.$$.dirty[0]===-1&&(q.push(t),Tt(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function je(t,e,n,r,i,l,s,c=[-1]){const o=N;v(t);const a=t.$$={fragment:null,ctx:null,props:l,update:x,not_equal:i,bound:nt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(o?o.$$.context:[])),callbacks:nt(),dirty:c,skip_bound:!1,root:e.target||o.$$.root};s&&s(a.root);let _=!1;if(a.ctx=n?n(t,e.props||{},(u,f,...d)=>{const h=d.length?d[0]:f;return a.ctx&&i(a.ctx[u],a.ctx[u]=h)&&(!a.skip_bound&&a.bound[u]&&a.bound[u](h),_&&Kt(t,u)),f}):[],a.update(),_=!0,C(a.before_update),a.fragment=r?r(a.ctx):!1,e.target){if(e.hydrate){xt();const u=vt(e.target);a.fragment&&a.fragment.l(u),u.forEach(jt)}else a.fragment&&a.fragment.c();e.intro&&ht(t.$$.fragment),Gt(t,e.target,e.anchor,e.customElement),$t(),_t()}v(o)}class Ne{$destroy(){Jt(this,1),this.$destroy=x}$on(e,n){const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(n),()=>{const i=r.indexOf(n);i!==-1&&r.splice(i,1)}}$set(e){this.$$set&&!bt(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const M=[];function Qt(t,e=x){let n;const r=new Set;function i(c){if(gt(t,c)&&(t=c,n)){const o=!M.length;for(const a of r)a[1](),M.push(a,t);if(o){for(let a=0;a<M.length;a+=2)M[a][0](M[a+1]);M.length=0}}}function l(c){i(c(t))}function s(c,o=x){const a=[c,o];return r.add(a),r.size===1&&(n=e(i)||x),c(t),()=>{r.delete(a),r.size===0&&(n(),n=null)}}return{set:i,update:l,subscribe:s}}function mt(t){const e=t-1;return e*e*e+1}function pt(t){return Object.prototype.toString.call(t)==="[object Date]"}function Z(t,e,n,r){if(typeof n=="number"||pt(n)){const i=r-n,l=(n-e)/(t.dt||1/60),s=t.opts.stiffness*i,c=t.opts.damping*l,o=(s-c)*t.inv_mass,a=(l+o)*t.dt;return Math.abs(a)<t.opts.precision&&Math.abs(i)<t.opts.precision?r:(t.settled=!1,pt(n)?new Date(n.getTime()+a):n+a)}else{if(Array.isArray(n))return n.map((i,l)=>Z(t,e[l],n[l],r[l]));if(typeof n=="object"){const i={};for(const l in n)i[l]=Z(t,e[l],n[l],r[l]);return i}else throw new Error(`Cannot spring ${typeof n} values`)}}function ve(t,e={}){const n=Qt(t),{stiffness:r=.15,damping:i=.8,precision:l=.01}=e;let s,c,o,a=t,_=t,u=1,f=0,d=!1;function h(m,p={}){_=m;const w=o={};if(t==null||p.hard||y.stiffness>=1&&y.damping>=1)return d=!0,s=P(),a=m,n.set(t=_),Promise.resolve();if(p.soft){const b=p.soft===!0?.5:+p.soft;f=1/(b*60),u=0}return c||(s=P(),d=!1,c=J(b=>{if(d)return d=!1,c=null,!1;u=Math.min(u+f,1);const S={inv_mass:u,opts:y,settled:!0,dt:(b-s)*60/1e3},j=Z(S,a,t,_);return s=b,a=t,n.set(t=j),S.settled&&(c=null),!S.settled})),new Promise(b=>{c.promise.then(()=>{w===o&&b()})})}const y={set:h,update:(m,p)=>h(m(_,t),p),subscribe:n.subscribe,stiffness:r,damping:i,precision:l};return y}function qe(t,{delay:e=0,duration:n=400,easing:r=mt,start:i=0,opacity:l=0}={}){const s=getComputedStyle(t),c=+s.opacity,o=s.transform==="none"?"":s.transform,a=1-i,_=c*(1-l);return{delay:e,duration:n,easing:r,css:(u,f)=>`
5
+ transform: ${o} scale(${1-a*f});
6
+ opacity: ${c-_*f}
7
+ `}}function Re(t,{from:e,to:n},r={}){const i=getComputedStyle(t),l=i.transform==="none"?"":i.transform,[s,c]=i.transformOrigin.split(" ").map(parseFloat),o=e.left+e.width*s/n.width-(n.left+s),a=e.top+e.height*c/n.height-(n.top+c),{delay:_=0,duration:u=d=>Math.sqrt(d)*120,easing:f=mt}=r;return{delay:_,duration:B(u)?u(Math.sqrt(o*o+a*a)):u,easing:f,css:(d,h)=>{const y=h*o,m=h*a,p=d+h*e.width/n.width,w=d+h*e.height/n.height;return`transform: ${l} translate(${y}px, ${m}px) scale(${p}, ${w});`}}}export{$e as $,Jt as A,yt as B,Qt as C,be as D,Nt as E,le as F,Ut as G,de as H,Mt as I,x as J,Vt as K,Xt as L,Zt as M,te as N,Yt as O,ue as P,re as Q,C as R,Ne as S,ve as T,_e as U,ee as V,B as W,me as X,Pt as Y,he as Z,H as _,vt as a,Ee as a0,Re as a1,qe as a2,ke as a3,oe as b,ce as c,jt as d,ct as e,ne as f,Rt as g,fe as h,je as i,se as j,ie as k,ae as l,we as m,Ht as n,xe as o,ht as p,ge as q,ye as r,gt as s,K as t,pe as u,Ae as v,Me as w,Gt as x,Se as y,Ce as z};
build/_app/error.svelte-9d0fd51b.js ADDED
@@ -0,0 +1 @@
 
 
1
+ import{S as J,i as w,s as y,e as v,t as E,c as d,a as b,g as P,d as n,f as u,I as R,h as j,j as N,k as q,l as S,J as C}from"./chunks/vendor-92f01141.js";function H(r){let f,t=r[1].frame+"",a;return{c(){f=v("pre"),a=E(t)},l(l){f=d(l,"PRE",{});var s=b(f);a=P(s,t),s.forEach(n)},m(l,s){u(l,f,s),R(f,a)},p(l,s){s&2&&t!==(t=l[1].frame+"")&&j(a,t)},d(l){l&&n(f)}}}function I(r){let f,t=r[1].stack+"",a;return{c(){f=v("pre"),a=E(t)},l(l){f=d(l,"PRE",{});var s=b(f);a=P(s,t),s.forEach(n)},m(l,s){u(l,f,s),R(f,a)},p(l,s){s&2&&t!==(t=l[1].stack+"")&&j(a,t)},d(l){l&&n(f)}}}function z(r){let f,t,a,l,s=r[1].message+"",c,k,m,p,i=r[1].frame&&H(r),o=r[1].stack&&I(r);return{c(){f=v("h1"),t=E(r[0]),a=N(),l=v("pre"),c=E(s),k=N(),i&&i.c(),m=N(),o&&o.c(),p=q()},l(e){f=d(e,"H1",{});var _=b(f);t=P(_,r[0]),_.forEach(n),a=S(e),l=d(e,"PRE",{});var h=b(l);c=P(h,s),h.forEach(n),k=S(e),i&&i.l(e),m=S(e),o&&o.l(e),p=q()},m(e,_){u(e,f,_),R(f,t),u(e,a,_),u(e,l,_),R(l,c),u(e,k,_),i&&i.m(e,_),u(e,m,_),o&&o.m(e,_),u(e,p,_)},p(e,[_]){_&1&&j(t,e[0]),_&2&&s!==(s=e[1].message+"")&&j(c,s),e[1].frame?i?i.p(e,_):(i=H(e),i.c(),i.m(m.parentNode,m)):i&&(i.d(1),i=null),e[1].stack?o?o.p(e,_):(o=I(e),o.c(),o.m(p.parentNode,p)):o&&(o.d(1),o=null)},i:C,o:C,d(e){e&&n(f),e&&n(a),e&&n(l),e&&n(k),i&&i.d(e),e&&n(m),o&&o.d(e),e&&n(p)}}}function D({error:r,status:f}){return{props:{error:r,status:f}}}function A(r,f,t){let{status:a}=f,{error:l}=f;return r.$$set=s=>{"status"in s&&t(0,a=s.status),"error"in s&&t(1,l=s.error)},[a,l]}class F extends J{constructor(f){super();w(this,f,A,z,y,{status:0,error:1})}}export{F as default,D as load};
build/_app/manifest.json ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": [
7
+ "_vendor-92f01141.js"
8
+ ],
9
+ "dynamicImports": [
10
+ "src/routes/__layout.svelte",
11
+ ".svelte-kit/build/components/error.svelte",
12
+ "src/routes/index.svelte",
13
+ "src/routes/about.svelte",
14
+ "src/routes/todos/index.svelte"
15
+ ],
16
+ "css": [
17
+ "assets/start-61d1577b.css"
18
+ ]
19
+ },
20
+ "src/routes/__layout.svelte": {
21
+ "file": "pages/__layout.svelte-63495e35.js",
22
+ "src": "src/routes/__layout.svelte",
23
+ "isEntry": true,
24
+ "isDynamicEntry": true,
25
+ "imports": [
26
+ "_vendor-92f01141.js"
27
+ ],
28
+ "css": [
29
+ "assets/pages/__layout.svelte-6fc1a61d.css"
30
+ ],
31
+ "assets": [
32
+ "assets/svelte-logo-87df40b8.svg",
33
+ "assets/fira-mono-cyrillic-ext-400-normal-b3140dd3.woff2",
34
+ "assets/fira-mono-all-400-normal-0d19eb5d.woff",
35
+ "assets/fira-mono-cyrillic-400-normal-046b609f.woff2",
36
+ "assets/fira-mono-greek-ext-400-normal-8659ae46.woff2",
37
+ "assets/fira-mono-greek-400-normal-1f8b3a07.woff2",
38
+ "assets/fira-mono-latin-ext-400-normal-b6331a25.woff2",
39
+ "assets/fira-mono-latin-400-normal-a2f9dbe8.woff2"
40
+ ]
41
+ },
42
+ ".svelte-kit/build/components/error.svelte": {
43
+ "file": "error.svelte-9d0fd51b.js",
44
+ "src": ".svelte-kit/build/components/error.svelte",
45
+ "isEntry": true,
46
+ "isDynamicEntry": true,
47
+ "imports": [
48
+ "_vendor-92f01141.js"
49
+ ]
50
+ },
51
+ "src/routes/index.svelte": {
52
+ "file": "pages/index.svelte-a15b343f.js",
53
+ "src": "src/routes/index.svelte",
54
+ "isEntry": true,
55
+ "isDynamicEntry": true,
56
+ "imports": [
57
+ "_vendor-92f01141.js"
58
+ ],
59
+ "css": [
60
+ "assets/pages/index.svelte-c63fe1c6.css"
61
+ ]
62
+ },
63
+ "src/routes/about.svelte": {
64
+ "file": "pages/about.svelte-310947ca.js",
65
+ "src": "src/routes/about.svelte",
66
+ "isEntry": true,
67
+ "isDynamicEntry": true,
68
+ "imports": [
69
+ "_vendor-92f01141.js"
70
+ ],
71
+ "css": [
72
+ "assets/pages/about.svelte-bf4528fa.css"
73
+ ]
74
+ },
75
+ "src/routes/todos/index.svelte": {
76
+ "file": "pages/todos/index.svelte-04c91dab.js",
77
+ "src": "src/routes/todos/index.svelte",
78
+ "isEntry": true,
79
+ "isDynamicEntry": true,
80
+ "imports": [
81
+ "_vendor-92f01141.js"
82
+ ],
83
+ "css": [
84
+ "assets/pages/todos/index.svelte-784042c1.css"
85
+ ]
86
+ },
87
+ "_vendor-92f01141.js": {
88
+ "file": "chunks/vendor-92f01141.js"
89
+ }
90
+ }
build/_app/pages/__layout.svelte-63495e35.js ADDED
@@ -0,0 +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};
build/_app/pages/about.svelte-310947ca.js ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import{S as z,i as F,s as G,j as _,e as i,t as o,U as N,d as a,l as m,c as r,a as d,g as s,b as B,f as U,I as t,J as I}from"../chunks/vendor-92f01141.js";const Q=!0,W=!1;function X(V){let h,e,f,b,E,p,S,u,k,x,A,g,J,K,y,O,P,c,D,v,H,j;return{c(){h=_(),e=i("div"),f=i("h1"),b=o("About this app"),E=_(),p=i("p"),S=o("This is a "),u=i("a"),k=o("SvelteKit"),x=o(` app. You can make your own by typing the
2
+ following into your command line and following the prompts:`),A=_(),g=i("pre"),J=o("npm init svelte@next"),K=_(),y=i("p"),O=o(`The page you're looking at is purely static HTML, with no client-side interactivity needed.
3
+ Because of that, we don't need to load any JavaScript. Try viewing the page's source, or opening
4
+ the devtools network panel and reloading.`),P=_(),c=i("p"),D=o("The "),v=i("a"),H=o("TODOs"),j=o(` page illustrates SvelteKit's data loading and form handling. Try using
5
+ it with JavaScript disabled!`),this.h()},l(l){N('[data-svelte="svelte-1ine71f"]',document.head).forEach(a),h=m(l),e=r(l,"DIV",{class:!0});var n=d(e);f=r(n,"H1",{});var L=d(f);b=s(L,"About this app"),L.forEach(a),E=m(n),p=r(n,"P",{});var w=d(p);S=s(w,"This is a "),u=r(w,"A",{href:!0});var M=d(u);k=s(M,"SvelteKit"),M.forEach(a),x=s(w,` app. You can make your own by typing the
6
+ following into your command line and following the prompts:`),w.forEach(a),A=m(n),g=r(n,"PRE",{});var Y=d(g);J=s(Y,"npm init svelte@next"),Y.forEach(a),K=m(n),y=r(n,"P",{});var C=d(y);O=s(C,`The page you're looking at is purely static HTML, with no client-side interactivity needed.
7
+ Because of that, we don't need to load any JavaScript. Try viewing the page's source, or opening
8
+ the devtools network panel and reloading.`),C.forEach(a),P=m(n),c=r(n,"P",{});var T=d(c);D=s(T,"The "),v=r(T,"A",{href:!0});var R=d(v);H=s(R,"TODOs"),R.forEach(a),j=s(T,` page illustrates SvelteKit's data loading and form handling. Try using
9
+ it with JavaScript disabled!`),T.forEach(a),n.forEach(a),this.h()},h(){document.title="About",B(u,"href","https://kit.svelte.dev"),B(v,"href","/todos"),B(e,"class","content svelte-cf77e8")},m(l,q){U(l,h,q),U(l,e,q),t(e,f),t(f,b),t(e,E),t(e,p),t(p,S),t(p,u),t(u,k),t(p,x),t(e,A),t(e,g),t(g,J),t(e,K),t(e,y),t(y,O),t(e,P),t(e,c),t(c,D),t(c,v),t(v,H),t(c,j)},p:I,i:I,o:I,d(l){l&&a(h),l&&a(e)}}}const $=W,tt=Q,et=!0;class at extends z{constructor(h){super();F(this,h,null,X,G,{})}}export{at as default,$ as hydrate,et as prerender,tt as router};
build/_app/pages/index.svelte-a15b343f.js ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ import{S as F,i as J,s as Q,e as _,E as V,j,t as $,c as m,a as i,F as q,d as o,l as C,g as D,b as t,P as H,f as K,I as e,Q as W,h as z,J as L,R as X,T as Y,K as Z,v as ee,U as te,w as se,G as ae,x as re,p as le,n as oe,A as ne}from"../chunks/vendor-92f01141.js";function ce(f){let s,a,l,c,u,d,v,n,y=Math.floor(f[1]+1)+"",x,R,b,k=Math.floor(f[1])+"",w,B,p,g,T,E,O;return{c(){s=_("div"),a=_("button"),l=V("svg"),c=V("path"),u=j(),d=_("div"),v=_("div"),n=_("strong"),x=$(y),R=j(),b=_("strong"),w=$(k),B=j(),p=_("button"),g=V("svg"),T=V("path"),this.h()},l(r){s=m(r,"DIV",{class:!0});var h=i(s);a=m(h,"BUTTON",{"aria-label":!0,class:!0});var I=i(a);l=q(I,"svg",{"aria-hidden":!0,viewBox:!0,class:!0});var M=i(l);c=q(M,"path",{d:!0,class:!0}),i(c).forEach(o),M.forEach(o),I.forEach(o),u=C(h),d=m(h,"DIV",{class:!0});var G=i(d);v=m(G,"DIV",{class:!0,style:!0});var S=i(v);n=m(S,"STRONG",{style:!0,"aria-hidden":!0,class:!0});var N=i(n);x=D(N,y),N.forEach(o),R=C(S),b=m(S,"STRONG",{class:!0});var U=i(b);w=D(U,k),U.forEach(o),S.forEach(o),G.forEach(o),B=C(h),p=m(h,"BUTTON",{"aria-label":!0,class:!0});var P=i(p);g=q(P,"svg",{"aria-hidden":!0,viewBox:!0,class:!0});var A=i(g);T=q(A,"path",{d:!0,class:!0}),i(T).forEach(o),A.forEach(o),P.forEach(o),h.forEach(o),this.h()},h(){t(c,"d","M0,0.5 L1,0.5"),t(c,"class","svelte-139m1ow"),t(l,"aria-hidden","true"),t(l,"viewBox","0 0 1 1"),t(l,"class","svelte-139m1ow"),t(a,"aria-label","Decrease the counter by one"),t(a,"class","svelte-139m1ow"),H(n,"top","-100%"),t(n,"aria-hidden","true"),t(n,"class","svelte-139m1ow"),t(b,"class","svelte-139m1ow"),t(v,"class","counter-digits svelte-139m1ow"),H(v,"transform","translate(0, "+100*f[2]+"%)"),t(d,"class","counter-viewport svelte-139m1ow"),t(T,"d","M0,0.5 L1,0.5 M0.5,0 L0.5,1"),t(T,"class","svelte-139m1ow"),t(g,"aria-hidden","true"),t(g,"viewBox","0 0 1 1"),t(g,"class","svelte-139m1ow"),t(p,"aria-label","Increase the counter by one"),t(p,"class","svelte-139m1ow"),t(s,"class","counter svelte-139m1ow")},m(r,h){K(r,s,h),e(s,a),e(a,l),e(l,c),e(s,u),e(s,d),e(d,v),e(v,n),e(n,x),e(v,R),e(v,b),e(b,w),e(s,B),e(s,p),e(p,g),e(g,T),E||(O=[W(a,"click",f[4]),W(p,"click",f[5])],E=!0)},p(r,[h]){h&2&&y!==(y=Math.floor(r[1]+1)+"")&&z(x,y),h&2&&k!==(k=Math.floor(r[1])+"")&&z(w,k),h&4&&H(v,"transform","translate(0, "+100*r[2]+"%)")},i:L,o:L,d(r){r&&o(s),E=!1,X(O)}}}function ie(f,s){return(f%s+s)%s}function ue(f,s,a){let l,c,u=0;const d=Y();Z(f,d,y=>a(1,c=y));const v=()=>a(0,u-=1),n=()=>a(0,u+=1);return f.$$.update=()=>{f.$$.dirty&1&&d.set(u),f.$$.dirty&2&&a(2,l=ie(c,1))},[u,c,l,d,v,n]}class de extends F{constructor(s){super();J(this,s,ue,ce,Q,{})}}function ve(f){let s,a,l,c,u,d,v,n,y,x,R,b,k,w,B,p,g,T,E,O;return E=new de({}),{c(){s=j(),a=_("section"),l=_("h1"),c=_("div"),u=_("picture"),d=_("source"),v=j(),n=_("img"),x=$(`
2
+
3
+ to your new`),R=_("br"),b=$("SvelteKit app"),k=j(),w=_("h2"),B=$("try editing "),p=_("strong"),g=$("src/routes/index.svelte"),T=j(),ee(E.$$.fragment),this.h()},l(r){te('[data-svelte="svelte-1anpopb"]',document.head).forEach(o),s=C(r),a=m(r,"SECTION",{class:!0});var I=i(a);l=m(I,"H1",{class:!0});var M=i(l);c=m(M,"DIV",{class:!0});var G=i(c);u=m(G,"PICTURE",{});var S=i(u);d=m(S,"SOURCE",{srcset:!0,type:!0}),v=C(S),n=m(S,"IMG",{src:!0,alt:!0,class:!0}),S.forEach(o),G.forEach(o),x=D(M,`
4
+
5
+ to your new`),R=m(M,"BR",{}),b=D(M,"SvelteKit app"),M.forEach(o),k=C(I),w=m(I,"H2",{});var N=i(w);B=D(N,"try editing "),p=m(N,"STRONG",{});var U=i(p);g=D(U,"src/routes/index.svelte"),U.forEach(o),N.forEach(o),T=C(I),se(E.$$.fragment,I),I.forEach(o),this.h()},h(){document.title="Home",t(d,"srcset","svelte-welcome.webp"),t(d,"type","image/webp"),ae(n.src,y="svelte-welcome.png")||t(n,"src",y),t(n,"alt","Welcome"),t(n,"class","svelte-mjk9ig"),t(c,"class","welcome svelte-mjk9ig"),t(l,"class","svelte-mjk9ig"),t(a,"class","svelte-mjk9ig")},m(r,h){K(r,s,h),K(r,a,h),e(a,l),e(l,c),e(c,u),e(u,d),e(u,v),e(u,n),e(l,x),e(l,R),e(l,b),e(a,k),e(a,w),e(w,B),e(w,p),e(p,g),e(a,T),re(E,a,null),O=!0},p:L,i(r){O||(le(E.$$.fragment,r),O=!0)},o(r){oe(E.$$.fragment,r),O=!1},d(r){r&&o(s),r&&o(a),ne(E)}}}const _e=!0;class me extends F{constructor(s){super();J(this,s,null,ve,Q,{})}}export{me as default,_e as prerender};
build/_app/pages/todos/index.svelte-04c91dab.js ADDED
@@ -0,0 +1 @@
 
 
1
+ import{S as ae,i as oe,s as ne,e as E,j as R,c as T,a as y,l as D,d as k,b as n,H as Q,f as W,I as f,V,W as X,X as le,Y as se,Z as re,_ as ie,$ as x,R as de,t as ue,U as ce,g as _e,a0 as fe,o as he,p as me,n as pe,a1 as ve,a2 as $,m as be,a3 as ge,J as ke}from"../../chunks/vendor-92f01141.js";function C(d,{pending:t,error:e,result:a}){let h;async function j(m){const c=h={};m.preventDefault();const v=new FormData(d);t&&t(v,d);try{const r=await fetch(d.action,{method:d.method,headers:{accept:"application/json"},body:v});if(c!==h)return;r.ok?a(r,d):e?e(r,null,d):console.error(await r.text())}catch(r){if(e)e(null,r,d);else throw r}}return d.addEventListener("submit",j),{destroy(){d.removeEventListener("submit",j)}}}function ee(d,t,e){const a=d.slice();return a[6]=t[e],a[7]=t,a[8]=e,a}function te(d,t){let e,a,h,j,m,c,v,r,o,p,_,b,U,M,O,s,i,l,q,F,I,B,H,N,L,A=ke,w,J,Y;function Z(...g){return t[3](t[6],t[7],t[8],...g)}function z(){return t[4](t[6],t[7],t[8])}function G(){return t[5](t[6])}return{key:d,first:null,c(){e=E("div"),a=E("form"),h=E("input"),m=R(),c=E("button"),p=R(),_=E("form"),b=E("input"),M=R(),O=E("button"),i=R(),l=E("form"),q=E("button"),H=R(),this.h()},l(g){e=T(g,"DIV",{class:!0});var u=y(e);a=T(u,"FORM",{action:!0,method:!0});var P=y(a);h=T(P,"INPUT",{type:!0,name:!0,class:!0}),m=D(P),c=T(P,"BUTTON",{class:!0,"aria-label":!0}),y(c).forEach(k),P.forEach(k),p=D(u),_=T(u,"FORM",{class:!0,action:!0,method:!0});var S=y(_);b=T(S,"INPUT",{"aria-label":!0,type:!0,name:!0,class:!0}),M=D(S),O=T(S,"BUTTON",{class:!0,"aria-label":!0}),y(O).forEach(k),S.forEach(k),i=D(u),l=T(u,"FORM",{action:!0,method:!0});var K=y(l);q=T(K,"BUTTON",{class:!0,"aria-label":!0}),y(q).forEach(k),K.forEach(k),H=D(u),u.forEach(k),this.h()},h(){n(h,"type","hidden"),n(h,"name","done"),h.value=j=t[6].done?"":"true",n(h,"class","svelte-dmxqmd"),n(c,"class","toggle svelte-dmxqmd"),n(c,"aria-label",v="Mark todo as "+(t[6].done?"not done":"done")),n(a,"action",r="/todos/"+t[6].uid+".json?_method=patch"),n(a,"method","post"),n(b,"aria-label","Edit todo"),n(b,"type","text"),n(b,"name","text"),b.value=U=t[6].text,n(b,"class","svelte-dmxqmd"),n(O,"class","save svelte-dmxqmd"),n(O,"aria-label","Save todo"),n(_,"class","text svelte-dmxqmd"),n(_,"action",s="/todos/"+t[6].uid+".json?_method=patch"),n(_,"method","post"),n(q,"class","delete svelte-dmxqmd"),n(q,"aria-label","Delete todo"),q.disabled=F=t[6].pending_delete,n(l,"action",I="/todos/"+t[6].uid+".json?_method=delete"),n(l,"method","post"),n(e,"class","todo svelte-dmxqmd"),Q(e,"done",t[6].done),this.first=e},m(g,u){W(g,e,u),f(e,a),f(a,h),f(a,m),f(a,c),f(e,p),f(e,_),f(_,b),f(_,M),f(_,O),f(e,i),f(e,l),f(l,q),f(e,H),w=!0,J||(Y=[V(o=C.call(null,a,{pending:Z,result:t[1]})),V(C.call(null,_,{result:t[1]})),V(B=C.call(null,l,{pending:z,result:G}))],J=!0)},p(g,u){t=g,(!w||u&1&&j!==(j=t[6].done?"":"true"))&&(h.value=j),(!w||u&1&&v!==(v="Mark todo as "+(t[6].done?"not done":"done")))&&n(c,"aria-label",v),(!w||u&1&&r!==(r="/todos/"+t[6].uid+".json?_method=patch"))&&n(a,"action",r),o&&X(o.update)&&u&1&&o.update.call(null,{pending:Z,result:t[1]}),(!w||u&1&&U!==(U=t[6].text)&&b.value!==U)&&(b.value=U),(!w||u&1&&s!==(s="/todos/"+t[6].uid+".json?_method=patch"))&&n(_,"action",s),(!w||u&1&&F!==(F=t[6].pending_delete))&&(q.disabled=F),(!w||u&1&&I!==(I="/todos/"+t[6].uid+".json?_method=delete"))&&n(l,"action",I),B&&X(B.update)&&u&1&&B.update.call(null,{pending:z,result:G}),u&1&&Q(e,"done",t[6].done)},r(){L=e.getBoundingClientRect()},f(){le(e),A(),se(e,L)},a(){A(),A=re(e,L,ve,{duration:200})},i(g){w||(g&&ie(()=>{N||(N=x(e,$,{start:.7},!0)),N.run(1)}),w=!0)},o(g){g&&(N||(N=x(e,$,{start:.7},!1)),N.run(0)),w=!1},d(g){g&&k(e),g&&N&&N.end(),J=!1,de(Y)}}}function je(d){let t,e,a,h,j,m,c,v,r,o=[],p=new Map,_,b,U,M=d[0];const O=s=>s[6].uid;for(let s=0;s<M.length;s+=1){let i=ee(d,M,s),l=O(i);p.set(l,o[s]=te(l,i))}return{c(){t=R(),e=E("div"),a=E("h1"),h=ue("Todos"),j=R(),m=E("form"),c=E("input"),r=R();for(let s=0;s<o.length;s+=1)o[s].c();this.h()},l(s){ce('[data-svelte="svelte-181o7gf"]',document.head).forEach(k),t=D(s),e=T(s,"DIV",{class:!0});var l=y(e);a=T(l,"H1",{});var q=y(a);h=_e(q,"Todos"),q.forEach(k),j=D(l),m=T(l,"FORM",{class:!0,action:!0,method:!0});var F=y(m);c=T(F,"INPUT",{name:!0,"aria-label":!0,placeholder:!0,class:!0}),F.forEach(k),r=D(l);for(let I=0;I<o.length;I+=1)o[I].l(l);l.forEach(k),this.h()},h(){document.title="Todos",n(c,"name","text"),n(c,"aria-label","Add todo"),n(c,"placeholder","+ tap to add a todo"),n(c,"class","svelte-dmxqmd"),n(m,"class","new svelte-dmxqmd"),n(m,"action","/todos.json"),n(m,"method","post"),n(e,"class","todos svelte-dmxqmd")},m(s,i){W(s,t,i),W(s,e,i),f(e,a),f(a,h),f(e,j),f(e,m),f(m,c),f(e,r);for(let l=0;l<o.length;l+=1)o[l].m(e,null);_=!0,b||(U=V(v=C.call(null,m,{result:d[2]})),b=!0)},p(s,[i]){if(v&&X(v.update)&&i&1&&v.update.call(null,{result:s[2]}),i&3){M=s[0],be();for(let l=0;l<o.length;l+=1)o[l].r();o=fe(o,i,O,1,s,M,p,e,ge,te,null,ee);for(let l=0;l<o.length;l+=1)o[l].a();he()}},i(s){if(!_){for(let i=0;i<M.length;i+=1)me(o[i]);_=!0}},o(s){for(let i=0;i<o.length;i+=1)pe(o[i]);_=!1},d(s){s&&k(t),s&&k(e);for(let i=0;i<o.length;i+=1)o[i].d();b=!1,U()}}}const qe=async({fetch:d})=>{const t=await d("/todos.json");if(t.ok)return{props:{todos:await t.json()}};const{message:e}=await t.json();return{error:new Error(e)}};function Ee(d,t,e){let{todos:a}=t;async function h(r){const o=await r.json();e(0,a=a.map(p=>p.uid===o.uid?o:p))}const j=async(r,o)=>{const p=await r.json();e(0,a=[...a,p]),o.reset()},m=(r,o,p,_)=>{e(0,o[p].done=!!_.get("done"),a)},c=(r,o,p)=>e(0,o[p].pending_delete=!0,a),v=r=>{e(0,a=a.filter(o=>o.uid!==r.uid))};return d.$$set=r=>{"todos"in r&&e(0,a=r.todos)},[a,h,j,m,c,v]}class we extends ae{constructor(t){super();oe(this,t,Ee,je,ne,{todos:0})}}export{we as default,qe as load};
build/_app/start-10e4a468.js ADDED
@@ -0,0 +1 @@
 
 
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/about/index.html ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>About</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/about.svelte-bf4528fa.css">
15
+
16
+
17
+ </head>
18
+ <body>
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>
26
+ <li class="svelte-t2wq17 active"><a sveltekit:prefetch href="./about" class="svelte-t2wq17">About</a></li>
27
+ </ul>
28
+ <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>
29
+
30
+ <div class="corner svelte-t2wq17"></div>
31
+ </header>
32
+
33
+ <main class="svelte-1izrdc8">
34
+
35
+ <div class="content svelte-cf77e8"><h1>About this app</h1>
36
+
37
+ <p>This is a <a href="https://kit.svelte.dev">SvelteKit</a> app. You can make your own by typing the
38
+ following into your command line and following the prompts:
39
+ </p>
40
+
41
+
42
+ <pre>npm init svelte@next</pre>
43
+
44
+ <p>The page you&#39;re looking at is purely static HTML, with no client-side interactivity needed.
45
+ Because of that, we don&#39;t need to load any JavaScript. Try viewing the page&#39;s source, or opening
46
+ the devtools network panel and reloading.
47
+ </p>
48
+
49
+ <p>The <a href="/todos">TODOs</a> page illustrates SvelteKit&#39;s data loading and form handling. Try using
50
+ it with JavaScript disabled!
51
+ </p>
52
+ </div></main>
53
+
54
+ <footer class="svelte-1izrdc8"><p>visit <a href="https://kit.svelte.dev" class="svelte-1izrdc8">kit.svelte.dev</a> to learn SvelteKit</p>
55
+ </footer>
56
+
57
+ </div>
58
+ </body>
59
+ </html>
build/favicon.png ADDED
build/index.html ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>Home</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/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,
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/index.svelte-a15b343f.js")
35
+ ],
36
+ url: new URL("http://prerender/"),
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 active"><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
+ <section class="svelte-mjk9ig"><h1 class="svelte-mjk9ig"><div class="welcome svelte-mjk9ig"><picture><source srcset="svelte-welcome.webp" type="image/webp">
60
+ <img src="svelte-welcome.png" alt="Welcome" class="svelte-mjk9ig"></picture></div>
61
+
62
+ to your new<br>SvelteKit app
63
+ </h1>
64
+
65
+ <h2>try editing <strong>src/routes/index.svelte</strong></h2>
66
+
67
+ <div class="counter svelte-139m1ow"><button aria-label="Decrease the counter by one" class="svelte-139m1ow"><svg aria-hidden="true" viewBox="0 0 1 1" class="svelte-139m1ow"><path d="M0,0.5 L1,0.5" class="svelte-139m1ow"></path></svg></button>
68
+
69
+ <div class="counter-viewport svelte-139m1ow"><div class="counter-digits svelte-139m1ow" style="transform: translate(0, 0%)"><strong style="top: -100%" aria-hidden="true" class="svelte-139m1ow">1</strong>
70
+ <strong class="svelte-139m1ow">0</strong></div></div>
71
+
72
+ <button aria-label="Increase the counter by one" class="svelte-139m1ow"><svg aria-hidden="true" viewBox="0 0 1 1" class="svelte-139m1ow"><path d="M0,0.5 L1,0.5 M0.5,0 L0.5,1" class="svelte-139m1ow"></path></svg></button>
73
+ </div>
74
+ </section></main>
75
+
76
+ <footer class="svelte-1izrdc8"><p>visit <a href="https://kit.svelte.dev" class="svelte-1izrdc8">kit.svelte.dev</a> to learn SvelteKit</p>
77
+ </footer>
78
+
79
+ </div>
80
+ </body>
81
+ </html>
build/robots.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ # https://www.robotstxt.org/robotstxt.html
2
+ User-agent: *
3
+ Disallow:
build/svelte-welcome.png ADDED
build/svelte-welcome.webp ADDED
build/todos.json ADDED
@@ -0,0 +1 @@
 
 
1
+ []
build/todos/index.html ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>