import{S as G,i as L,s as J,E as M,k as v,l as m,m as E,h,n as f,b as O,H as R,I as U,J as q,f as z,t as B,v as W,w as X,x,y as F,a as D,c as V,D as o,q as A,r as P,X as N,u as ce,A as j,R as fe,W as he}from"../../chunks/index-007fd695.js";/* empty css                                                          */function ue(c){let e,t;const l=c[1].default,s=M(l,c,c[0],null);return{c(){e=v("section"),s&&s.c(),this.h()},l(a){e=m(a,"SECTION",{class:!0});var p=E(e);s&&s.l(p),p.forEach(h),this.h()},h(){f(e,"class","svelte-9si73t")},m(a,p){O(a,e,p),s&&s.m(e,null),t=!0},p(a,[p]){s&&s.p&&(!t||p&1)&&R(s,l,a,a[0],t?q(l,a[0],p,null):U(a[0]),null)},i(a){t||(z(s,a),t=!0)},o(a){B(s,a),t=!1},d(a){a&&h(e),s&&s.d(a)}}}function de(c,e,t){let{$$slots:l={},$$scope:s}=e;return c.$$set=a=>{"$$scope"in a&&t(0,s=a.$$scope)},[s,l]}class pe extends G{constructor(e){super(),L(this,e,de,ue,J,{})}}const ve=c=>({}),te=c=>({}),me=c=>({}),se=c=>({}),_e=c=>({}),ae=c=>({}),ge=c=>({}),le=c=>({}),we=c=>({}),ne=c=>({});function be(c){let e,t,l,s,a,p,b,i,_,u,r;const k=c[0].one,n=M(k,c,c[1],ne),g=c[0].two,$=M(g,c,c[1],le),y=c[0].three,w=M(y,c,c[1],ae),K=c[0].what,S=M(K,c,c[1],se),H=c[0].how,T=M(H,c,c[1],te);return{c(){e=v("div"),t=v("div"),n&&n.c(),l=D(),s=v("div"),$&&$.c(),a=D(),p=v("div"),w&&w.c(),b=D(),i=v("div"),S&&S.c(),_=D(),u=v("div"),T&&T.c(),this.h()},l(d){e=m(d,"DIV",{class:!0});var I=E(e);t=m(I,"DIV",{class:!0});var C=E(t);n&&n.l(C),C.forEach(h),l=V(I),s=m(I,"DIV",{class:!0});var Q=E(s);$&&$.l(Q),Q.forEach(h),a=V(I),p=m(I,"DIV",{class:!0});var Y=E(p);w&&w.l(Y),Y.forEach(h),b=V(I),i=m(I,"DIV",{class:!0});var Z=E(i);S&&S.l(Z),Z.forEach(h),_=V(I),u=m(I,"DIV",{class:!0});var ee=E(u);T&&T.l(ee),ee.forEach(h),I.forEach(h),this.h()},h(){f(t,"class","box one svelte-1x9mfxv"),f(s,"class","box two svelte-1x9mfxv"),f(p,"class","box three svelte-1x9mfxv"),f(i,"class","what svelte-1x9mfxv"),f(u,"class","how svelte-1x9mfxv"),f(e,"class","blurb svelte-1x9mfxv")},m(d,I){O(d,e,I),o(e,t),n&&n.m(t,null),o(e,l),o(e,s),$&&$.m(s,null),o(e,a),o(e,p),w&&w.m(p,null),o(e,b),o(e,i),S&&S.m(i,null),o(e,_),o(e,u),T&&T.m(u,null),r=!0},p(d,I){n&&n.p&&(!r||I&2)&&R(n,k,d,d[1],r?q(k,d[1],I,we):U(d[1]),ne),$&&$.p&&(!r||I&2)&&R($,g,d,d[1],r?q(g,d[1],I,ge):U(d[1]),le),w&&w.p&&(!r||I&2)&&R(w,y,d,d[1],r?q(y,d[1],I,_e):U(d[1]),ae),S&&S.p&&(!r||I&2)&&R(S,K,d,d[1],r?q(K,d[1],I,me):U(d[1]),se),T&&T.p&&(!r||I&2)&&R(T,H,d,d[1],r?q(H,d[1],I,ve):U(d[1]),te)},i(d){r||(z(n,d),z($,d),z(w,d),z(S,d),z(T,d),r=!0)},o(d){B(n,d),B($,d),B(w,d),B(S,d),B(T,d),r=!1},d(d){d&&h(e),n&&n.d(d),$&&$.d(d),w&&w.d(d),S&&S.d(d),T&&T.d(d)}}}function Ee(c){let e,t;return e=new pe({props:{$$slots:{default:[be]},$$scope:{ctx:c}}}),{c(){W(e.$$.fragment)},l(l){X(e.$$.fragment,l)},m(l,s){x(e,l,s),t=!0},p(l,[s]){const a={};s&2&&(a.$$scope={dirty:s,ctx:l}),e.$set(a)},i(l){t||(z(e.$$.fragment,l),t=!0)},o(l){B(e.$$.fragment,l),t=!1},d(l){F(e,l)}}}function ke(c,e,t){let{$$slots:l={},$$scope:s}=e;return c.$$set=a=>{"$$scope"in a&&t(1,s=a.$$scope)},[l,s]}class Se extends G{constructor(e){super(),L(this,e,ke,Ee,J,{})}}function re(c,e,t){const l=c.slice();return l[5]=e[t][0],l[6]=e[t][1],l}function ie(c){let e,t,l;return{c(){e=v("source"),this.h()},l(s){e=m(s,"SOURCE",{srcset:!0,type:!0}),this.h()},h(){f(e,"srcset",t=c[6].map(oe).join(", ")),f(e,"type",l="image/"+c[5])},m(s,a){O(s,e,a)},p(s,a){a&16&&t!==(t=s[6].map(oe).join(", "))&&f(e,"srcset",t),a&16&&l!==(l="image/"+s[5])&&f(e,"type",l)},d(s){s&&h(e)}}}function $e(c){let e,t,l,s,a,p,b,i,_,u,r,k,n,g,$=Object.entries(c[4].sources),y=[];for(let w=0;w<$.length;w+=1)y[w]=ie(re(c,$,w));return{c(){e=v("section"),t=v("div"),l=v("div"),s=v("img"),p=D(),b=v("div"),i=A(c[2]),_=D(),u=v("div"),r=v("picture");for(let w=0;w<y.length;w+=1)y[w].c();k=D(),n=v("img"),this.h()},l(w){e=m(w,"SECTION",{class:!0});var K=E(e);t=m(K,"DIV",{class:!0});var S=E(t);l=m(S,"DIV",{class:!0});var H=E(l);s=m(H,"IMG",{alt:!0,width:!0,height:!0,class:!0,src:!0}),p=V(H),b=m(H,"DIV",{class:!0});var T=E(b);i=P(T,c[2]),T.forEach(h),H.forEach(h),_=V(S),u=m(S,"DIV",{class:!0});var d=E(u);r=m(d,"PICTURE",{sizes:!0});var I=E(r);for(let C=0;C<y.length;C+=1)y[C].l(I);k=V(I),n=m(I,"IMG",{src:!0,alt:!0,class:!0}),I.forEach(h),d.forEach(h),S.forEach(h),K.forEach(h),this.h()},h(){f(s,"alt",c[1]),f(s,"width","400"),f(s,"height","50"),f(s,"class","logotype svelte-7m1vrc"),N(s.src,a=c[3])||f(s,"src",a),f(b,"class","tagline svelte-7m1vrc"),f(l,"class","hero-text svelte-7m1vrc"),N(n.src,g=c[4].fallback)||f(n,"src",g),f(n,"alt",c[0]),f(n,"class","svelte-7m1vrc"),f(r,"sizes","(min-width: 480px) 800px, (min-width: 1024px) 480px, 600px"),f(u,"class","hero-image svelte-7m1vrc"),f(t,"class","hero-container svelte-7m1vrc"),f(e,"class","hero-banner svelte-7m1vrc")},m(w,K){O(w,e,K),o(e,t),o(t,l),o(l,s),o(l,p),o(l,b),o(b,i),o(t,_),o(t,u),o(u,r);for(let S=0;S<y.length;S+=1)y[S].m(r,null);o(r,k),o(r,n)},p(w,[K]){if(K&2&&f(s,"alt",w[1]),K&8&&!N(s.src,a=w[3])&&f(s,"src",a),K&4&&ce(i,w[2]),K&16){$=Object.entries(w[4].sources);let S;for(S=0;S<$.length;S+=1){const H=re(w,$,S);y[S]?y[S].p(H,K):(y[S]=ie(H),y[S].c(),y[S].m(r,k))}for(;S<y.length;S+=1)y[S].d(1);y.length=$.length}K&16&&!N(n.src,g=w[4].fallback)&&f(n,"src",g),K&1&&f(n,"alt",w[0])},i:j,o:j,d(w){w&&h(e),fe(y,w)}}}const oe=c=>`${c.src} ${c.w}w`;function ye(c,e,t){let{alt:l}=e,{title:s}=e,{tagline:a}=e,{logotype:p}=e,{background:b}=e;return c.$$set=i=>{"alt"in i&&t(0,l=i.alt),"title"in i&&t(1,s=i.title),"tagline"in i&&t(2,a=i.tagline),"logotype"in i&&t(3,p=i.logotype),"background"in i&&t(4,b=i.background)},[l,s,a,p,b]}class Ie extends G{constructor(e){super(),L(this,e,ye,$e,J,{alt:0,title:1,tagline:2,logotype:3,background:4})}}const De=""+new URL("../../assets/svelte-kit-logotype-4cc474e3.svg",import.meta.url).href,Ve={avif:[{src:"./_app/immutable/assets/svelte-kit-machine-1deac250.avif",w:1440},{src:"./_app/immutable/assets/svelte-kit-machine-641864fc.avif",w:800},{src:"./_app/immutable/assets/svelte-kit-machine-8358aa02.avif",w:600},{src:"./_app/immutable/assets/svelte-kit-machine-da92379a.avif",w:480}],webp:[{src:"./_app/immutable/assets/svelte-kit-machine-87bc6691.webp",w:1440},{src:"./_app/immutable/assets/svelte-kit-machine-2ebe2dd0.webp",w:800},{src:"./_app/immutable/assets/svelte-kit-machine-c2966f8b.webp",w:600},{src:"./_app/immutable/assets/svelte-kit-machine-750effdb.webp",w:480}],png:[{src:"./_app/immutable/assets/svelte-kit-machine-f3127665.png",w:1440},{src:"./_app/immutable/assets/svelte-kit-machine-82618fd5.png",w:800},{src:"./_app/immutable/assets/svelte-kit-machine-88990546.png",w:600},{src:"./_app/immutable/assets/svelte-kit-machine-81d3ee8b.png",w:480}]},Ae="./_app/immutable/assets/svelte-kit-machine-f3127665.png",Pe={sources:Ve,fallback:Ae};function Ke(c){let e,t,l,s,a,p,b,i,_;return{c(){e=v("div"),t=v("h2"),l=A("Powered by Svelte"),s=D(),a=v("p"),p=A(`SvelteKit is an application framework powered by Svelte \u2014 build bigger apps with a smaller
				footprint`),b=D(),i=v("a"),_=A("learn Svelte"),this.h()},l(u){e=m(u,"DIV",{slot:!0});var r=E(e);t=m(r,"H2",{});var k=E(t);l=P(k,"Powered by Svelte"),k.forEach(h),s=V(r),a=m(r,"P",{});var n=E(a);p=P(n,`SvelteKit is an application framework powered by Svelte \u2014 build bigger apps with a smaller
				footprint`),n.forEach(h),b=V(r),i=m(r,"A",{href:!0,class:!0});var g=E(i);_=P(g,"learn Svelte"),g.forEach(h),r.forEach(h),this.h()},h(){f(i,"href","https://svelte.dev"),f(i,"class","cta"),f(e,"slot","one")},m(u,r){O(u,e,r),o(e,t),o(t,l),o(e,s),o(e,a),o(a,p),o(e,b),o(e,i),o(i,_)},p:j,d(u){u&&h(e)}}}function Te(c){let e,t,l,s,a,p,b,i,_;return{c(){e=v("div"),t=v("h2"),l=A("Best of both worlds"),s=D(),a=v("p"),p=A(`All the SEO and progressive enhancement of a server-rendered app, with the slick navigation
				of an SPA`),b=D(),i=v("a"),_=A("read the docs"),this.h()},l(u){e=m(u,"DIV",{slot:!0});var r=E(e);t=m(r,"H2",{});var k=E(t);l=P(k,"Best of both worlds"),k.forEach(h),s=V(r),a=m(r,"P",{});var n=E(a);p=P(n,`All the SEO and progressive enhancement of a server-rendered app, with the slick navigation
				of an SPA`),n.forEach(h),b=V(r),i=m(r,"A",{"data-sveltekit-prefetch":!0,href:!0,class:!0});var g=E(i);_=P(g,"read the docs"),g.forEach(h),r.forEach(h),this.h()},h(){f(i,"data-sveltekit-prefetch",""),f(i,"href","/docs"),f(i,"class","cta"),f(e,"slot","two")},m(u,r){O(u,e,r),o(e,t),o(t,l),o(e,s),o(e,a),o(a,p),o(e,b),o(e,i),o(i,_)},p:j,d(u){u&&h(e)}}}function Oe(c){let e,t,l,s,a,p,b,i,_;return{c(){e=v("div"),t=v("h2"),l=A("Build fast"),s=D(),a=v("p"),p=A(`Hit the ground running with advanced routing, server-side rendering, code-splitting, offline
				support and more`),b=D(),i=v("a"),_=A("read the docs"),this.h()},l(u){e=m(u,"DIV",{slot:!0});var r=E(e);t=m(r,"H2",{});var k=E(t);l=P(k,"Build fast"),k.forEach(h),s=V(r),a=m(r,"P",{});var n=E(a);p=P(n,`Hit the ground running with advanced routing, server-side rendering, code-splitting, offline
				support and more`),n.forEach(h),b=V(r),i=m(r,"A",{"data-sveltekit-prefetch":!0,href:!0,class:!0});var g=E(i);_=P(g,"read the docs"),g.forEach(h),r.forEach(h),this.h()},h(){f(i,"data-sveltekit-prefetch",""),f(i,"href","/docs"),f(i,"class","cta"),f(e,"slot","three")},m(u,r){O(u,e,r),o(e,t),o(t,l),o(e,s),o(e,a),o(a,p),o(e,b),o(e,i),o(i,_)},p:j,d(u){u&&h(e)}}}function He(c){let e,t,l,s,a,p,b,i,_,u,r;return{c(){e=v("div"),t=v("p"),l=A(`SvelteKit is a framework for building web applications of all sizes, with a beautiful
				development experience and flexible filesystem-based routing.`),s=D(),a=v("p"),p=A(`Unlike single-page apps, SvelteKit doesn't compromise on SEO, progressive enhancement or the
				initial load experience \u2014 but unlike traditional server-rendered apps, navigation is
				instantaneous for that app-like feel.`),b=D(),i=v("p"),_=v("a"),u=A("Try it on StackBlitz"),r=A(" or create a project locally."),this.h()},l(k){e=m(k,"DIV",{class:!0,slot:!0});var n=E(e);t=m(n,"P",{});var g=E(t);l=P(g,`SvelteKit is a framework for building web applications of all sizes, with a beautiful
				development experience and flexible filesystem-based routing.`),g.forEach(h),s=V(n),a=m(n,"P",{});var $=E(a);p=P($,`Unlike single-page apps, SvelteKit doesn't compromise on SEO, progressive enhancement or the
				initial load experience \u2014 but unlike traditional server-rendered apps, navigation is
				instantaneous for that app-like feel.`),$.forEach(h),b=V(n),i=m(n,"P",{});var y=E(i);_=m(y,"A",{href:!0});var w=E(_);u=P(w,"Try it on StackBlitz"),w.forEach(h),r=P(y," or create a project locally."),y.forEach(h),n.forEach(h),this.h()},h(){f(_,"href","https://node.new/sveltekit"),f(e,"class","description"),f(e,"slot","what")},m(k,n){O(k,e,n),o(e,t),o(t,l),o(e,s),o(e,a),o(a,p),o(e,b),o(e,i),o(i,_),o(_,u),o(i,r)},p:j,d(k){k&&h(e)}}}function ze(c){let e,t,l,s,a,p,b,i,_,u;return{c(){e=v("div"),t=v("pre"),l=v("code"),s=A("npm create "),a=v("span"),p=A("svelte"),b=A(`@latest my-app
cd my-app
npm install
npm run dev -- --open`),i=D(),_=v("a"),u=A("get started"),this.h()},l(r){e=m(r,"DIV",{slot:!0});var k=E(e);t=m(k,"PRE",{class:!0});var n=E(t);l=m(n,"CODE",{});var g=E(l);s=P(g,"npm create "),a=m(g,"SPAN",{class:!0});var $=E(a);p=P($,"svelte"),$.forEach(h),b=P(g,`@latest my-app
cd my-app
npm install
npm run dev -- --open`),g.forEach(h),n.forEach(h),i=V(k),_=m(k,"A",{"data-sveltekit-prefetch":!0,href:!0,class:!0});var y=E(_);u=P(y,"get started"),y.forEach(h),k.forEach(h),this.h()},h(){f(a,"class","orange-highlight svelte-d3vsuo"),f(t,"class","svelte-d3vsuo"),f(_,"data-sveltekit-prefetch",""),f(_,"href","/docs"),f(_,"class","cta"),f(e,"slot","how")},m(r,k){O(r,e,k),o(e,t),o(t,l),o(l,s),o(l,a),o(a,p),o(l,b),o(e,i),o(e,_),o(_,u)},p:j,d(r){r&&h(e)}}}function Be(c){let e,t,l,s,a,p,b,i,_,u,r,k;return i=new Ie({props:{title:"SvelteKit",logotype:De,tagline:"The fastest way to build svelte apps",background:Pe,alt:"SvelteKit illustration"}}),r=new Se({props:{$$slots:{how:[ze],what:[He],three:[Oe],two:[Te],one:[Ke]},$$scope:{ctx:c}}}),{c(){e=v("meta"),t=v("meta"),l=v("meta"),s=D(),a=v("h1"),p=A("SvelteKit"),b=D(),W(i.$$.fragment),_=D(),u=v("div"),W(r.$$.fragment),this.h()},l(n){const g=he('[data-svelte="svelte-c2igz5"]',document.head);e=m(g,"META",{name:!0,content:!0}),t=m(g,"META",{name:!0,content:!0}),l=m(g,"META",{name:!0,content:!0}),g.forEach(h),s=V(n),a=m(n,"H1",{class:!0});var $=E(a);p=P($,"SvelteKit"),$.forEach(h),b=V(n),X(i.$$.fragment,n),_=V(n),u=m(n,"DIV",{class:!0});var y=E(u);X(r.$$.fragment,y),y.forEach(h),this.h()},h(){document.title="SvelteKit \u2022 The fastest way to build Svelte apps",f(e,"name","twitter:title"),f(e,"content","SvelteKit"),f(t,"name","twitter:description"),f(t,"content","The fastest way to build Svelte apps"),f(l,"name","description"),f(l,"content","SvelteKit is the official Svelte application framework"),f(a,"class","visually-hidden"),f(u,"class","blurb-shifter svelte-d3vsuo")},m(n,g){o(document.head,e),o(document.head,t),o(document.head,l),O(n,s,g),O(n,a,g),o(a,p),O(n,b,g),x(i,n,g),O(n,_,g),O(n,u,g),x(r,u,null),k=!0},p(n,[g]){const $={};g&1&&($.$$scope={dirty:g,ctx:n}),r.$set($)},i(n){k||(z(i.$$.fragment,n),z(r.$$.fragment,n),k=!0)},o(n){B(i.$$.fragment,n),B(r.$$.fragment,n),k=!1},d(n){h(e),h(t),h(l),n&&h(s),n&&h(a),n&&h(b),F(i,n),n&&h(_),n&&h(u),F(r)}}}class Me extends G{constructor(e){super(),L(this,e,null,Be,J,{})}}export{Me as default};
