HugoDzz's picture
feat: build game
b6c5b6e
raw
history blame
1.41 kB
import{S as K,i as M,s as P,k,q as d,a as q,e as w,l as b,m as x,r as v,h as r,c as A,n as m,b as n,G as h,H as G,o as V,J as W}from"../chunks/index.fe361f2c.js";function H(u){let e,f;return{c(){e=k("iframe"),this.h()},l(s){e=b(s,"IFRAME",{src:!0,frameborder:!0,title:!0,height:!0,width:!0}),x(e).forEach(r),this.h()},h(){W(e.src,f="game/index.html")||m(e,"src",f),m(e,"frameborder","0"),m(e,"title","Spaceship Drift"),m(e,"height","512"),m(e,"width","512")},m(s,a){n(s,e,a)},d(s){s&&r(e)}}}function C(u){let e,f,s,a,y,o,E,S,p,c,i=u[0]&&H();return{c(){e=k("h1"),f=d("Welcome to SvelteKit"),s=q(),a=k("p"),y=d("Visit "),o=k("a"),E=d("kit.svelte.dev"),S=d(" to read the documentation"),p=q(),i&&i.c(),c=w(),this.h()},l(t){e=b(t,"H1",{});var l=x(e);f=v(l,"Welcome to SvelteKit"),l.forEach(r),s=A(t),a=b(t,"P",{});var _=x(a);y=v(_,"Visit "),o=b(_,"A",{href:!0});var $=x(o);E=v($,"kit.svelte.dev"),$.forEach(r),S=v(_," to read the documentation"),_.forEach(r),p=A(t),i&&i.l(t),c=w(),this.h()},h(){m(o,"href","https://kit.svelte.dev")},m(t,l){n(t,e,l),h(e,f),n(t,s,l),n(t,a,l),h(a,y),h(a,o),h(o,E),h(a,S),n(t,p,l),i&&i.m(t,l),n(t,c,l)},p(t,[l]){t[0]?i||(i=H(),i.c(),i.m(c.parentNode,c)):i&&(i.d(1),i=null)},i:G,o:G,d(t){t&&r(e),t&&r(s),t&&r(a),t&&r(p),i&&i.d(t),t&&r(c)}}}function D(u,e,f){let s=!1;return V(()=>{f(0,s=!0)}),[s]}class I extends K{constructor(e){super(),M(this,e,D,C,P,{})}}export{I as component};