HugoDzz commited on
Commit
0de63b6
β€’
1 Parent(s): b4adbb2

feat: cleaner mobile view

Browse files
svelte/build/_app/immutable/chunks/{singletons.f85f0fc5.js β†’ singletons.1a02eeb0.js} RENAMED
@@ -1 +1 @@
1
- import{n as d,s as v}from"./scheduler.63274e7e.js";const u=[];function p(e,t=d){let n;const o=new Set;function r(s){if(v(e,s)&&(e=s,n)){const c=!u.length;for(const l of o)l[1](),u.push(l,e);if(c){for(let l=0;l<u.length;l+=2)u[l][0](u[l+1]);u.length=0}}}function i(s){r(s(e))}function a(s,c=d){const l=[s,c];return o.add(l),o.size===1&&(n=t(r,i)||d),s(e),()=>{o.delete(l),o.size===0&&n&&(n(),n=null)}}return{set:r,update:i,subscribe:a}}var g;const E=((g=globalThis.__sveltekit_16emu38)==null?void 0:g.base)??"";var k;const w=((k=globalThis.__sveltekit_16emu38)==null?void 0:k.assets)??E,A="1699436111143",y="sveltekit:snapshot",I="sveltekit:scroll",x="sveltekit:index",_={tap:1,hover:2,viewport:3,eager:4,off:-1};function O(e){let t=e.baseURI;if(!t){const n=e.getElementsByTagName("base");t=n.length?n[0].href:e.URL}return t}function U(){return{x:pageXOffset,y:pageYOffset}}function f(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const b={..._,"":_.hover};function m(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function L(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=m(e)}}function N(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const o=e instanceof SVGAElement?e.target.baseVal:e.target,r=!n||!!o||S(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),i=(n==null?void 0:n.origin)===location.origin&&e.hasAttribute("download");return{url:n,external:r,target:o,download:i}}function P(e){let t=null,n=null,o=null,r=null,i=null,a=null,s=e;for(;s&&s!==document.documentElement;)o===null&&(o=f(s,"preload-code")),r===null&&(r=f(s,"preload-data")),t===null&&(t=f(s,"keepfocus")),n===null&&(n=f(s,"noscroll")),i===null&&(i=f(s,"reload")),a===null&&(a=f(s,"replacestate")),s=m(s);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return null}}return{preload_code:b[o??"off"],preload_data:b[r??"off"],keep_focus:c(t),noscroll:c(n),reload:c(i),replace_state:c(a)}}function h(e){const t=p(e);let n=!0;function o(){n=!0,t.update(a=>a)}function r(a){n=!1,t.set(a)}function i(a){let s;return t.subscribe(c=>{(s===void 0||n&&c!==s)&&a(s=c)})}return{notify:o,set:r,subscribe:i}}function R(){const{set:e,subscribe:t}=p(!1);let n;async function o(){clearTimeout(n);try{const r=await fetch(`${w}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const a=(await r.json()).version!==A;return a&&(e(!0),clearTimeout(n)),a}catch{return!1}}return{subscribe:t,check:o}}function S(e,t){return e.origin!==location.origin||!e.pathname.startsWith(t)}function V(e){e.client}const Y={url:h({}),page:h({}),navigating:p(null),updated:R()};export{x as I,_ as P,I as S,y as a,N as b,P as c,Y as d,E as e,L as f,O as g,V as h,S as i,U as s};
 
1
+ import{n as d,s as m}from"./scheduler.63274e7e.js";const u=[];function p(e,t=d){let n;const o=new Set;function r(s){if(m(e,s)&&(e=s,n)){const c=!u.length;for(const l of o)l[1](),u.push(l,e);if(c){for(let l=0;l<u.length;l+=2)u[l][0](u[l+1]);u.length=0}}}function i(s){r(s(e))}function a(s,c=d){const l=[s,c];return o.add(l),o.size===1&&(n=t(r,i)||d),s(e),()=>{o.delete(l),o.size===0&&n&&(n(),n=null)}}return{set:r,update:i,subscribe:a}}var g;const y=((g=globalThis.__sveltekit_1b4x11y)==null?void 0:g.base)??"";var k;const E=((k=globalThis.__sveltekit_1b4x11y)==null?void 0:k.assets)??y,w="1699436305663",T="sveltekit:snapshot",x="sveltekit:scroll",I="sveltekit:index",_={tap:1,hover:2,viewport:3,eager:4,off:-1};function O(e){let t=e.baseURI;if(!t){const n=e.getElementsByTagName("base");t=n.length?n[0].href:e.URL}return t}function U(){return{x:pageXOffset,y:pageYOffset}}function f(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const b={..._,"":_.hover};function v(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function L(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=v(e)}}function N(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const o=e instanceof SVGAElement?e.target.baseVal:e.target,r=!n||!!o||R(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),i=(n==null?void 0:n.origin)===location.origin&&e.hasAttribute("download");return{url:n,external:r,target:o,download:i}}function P(e){let t=null,n=null,o=null,r=null,i=null,a=null,s=e;for(;s&&s!==document.documentElement;)o===null&&(o=f(s,"preload-code")),r===null&&(r=f(s,"preload-data")),t===null&&(t=f(s,"keepfocus")),n===null&&(n=f(s,"noscroll")),i===null&&(i=f(s,"reload")),a===null&&(a=f(s,"replacestate")),s=v(s);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return null}}return{preload_code:b[o??"off"],preload_data:b[r??"off"],keep_focus:c(t),noscroll:c(n),reload:c(i),replace_state:c(a)}}function h(e){const t=p(e);let n=!0;function o(){n=!0,t.update(a=>a)}function r(a){n=!1,t.set(a)}function i(a){let s;return t.subscribe(c=>{(s===void 0||n&&c!==s)&&a(s=c)})}return{notify:o,set:r,subscribe:i}}function A(){const{set:e,subscribe:t}=p(!1);let n;async function o(){clearTimeout(n);try{const r=await fetch(`${E}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const a=(await r.json()).version!==w;return a&&(e(!0),clearTimeout(n)),a}catch{return!1}}return{subscribe:t,check:o}}function R(e,t){return e.origin!==location.origin||!e.pathname.startsWith(t)}function V(e){e.client}const Y={url:h({}),page:h({}),navigating:p(null),updated:A()};export{I,_ as P,x as S,T as a,N as b,P as c,Y as d,y as e,L as f,O as g,V as h,R as i,U as s};
svelte/build/_app/immutable/entry/{app.f7f6e85b.js β†’ app.2398ac02.js} RENAMED
@@ -1 +1 @@
1
- import{s as A,a as B,o as U,t as j,b as P}from"../chunks/scheduler.63274e7e.js";import{S as W,i as z,s as F,e as h,c as G,a as g,t as d,b as R,d as p,f as w,g as H,h as J,j as K,k as N,l as m,m as M,n as Q,o as X,p as L,q as k,r as v,u as C,v as E,w as y}from"../chunks/index.3abede45.js";const Y="modulepreload",Z=function(o,e){return new URL(o,e).href},D={},S=function(e,n,i){if(!n||n.length===0)return e();const s=document.getElementsByTagName("link");return Promise.all(n.map(f=>{if(f=Z(f,i),f in D)return;D[f]=!0;const t=f.endsWith(".css"),r=t?'[rel="stylesheet"]':"";if(!!i)for(let a=s.length-1;a>=0;a--){const _=s[a];if(_.href===f&&(!t||_.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${f}"]${r}`))return;const c=document.createElement("link");if(c.rel=t?"stylesheet":Y,t||(c.as="script",c.crossOrigin=""),c.href=f,document.head.appendChild(c),t)return new Promise((a,_)=>{c.addEventListener("load",a),c.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${f}`)))})})).then(()=>e()).catch(f=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=f,window.dispatchEvent(t),!t.defaultPrevented)throw f})},re={};function $(o){let e,n,i;var s=o[1][0];function f(t,r){return{props:{data:t[3],form:t[2]}}}return s&&(e=k(s,f(o)),o[12](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&C(e.$$.fragment,t),n=h()},m(t,r){e&&E(e,t,r),g(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){L();const l=e;d(l.$$.fragment,1,0,()=>{y(l,1)}),R()}s?(e=k(s,f(t)),t[12](e),v(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else if(s){const l={};r&8&&(l.data=t[3]),r&4&&(l.form=t[2]),e.$set(l)}},i(t){i||(e&&p(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&w(n),o[12](null),e&&y(e,t)}}}function x(o){let e,n,i;var s=o[1][0];function f(t,r){return{props:{data:t[3],$$slots:{default:[ee]},$$scope:{ctx:t}}}}return s&&(e=k(s,f(o)),o[11](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&C(e.$$.fragment,t),n=h()},m(t,r){e&&E(e,t,r),g(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){L();const l=e;d(l.$$.fragment,1,0,()=>{y(l,1)}),R()}s?(e=k(s,f(t)),t[11](e),v(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else if(s){const l={};r&8&&(l.data=t[3]),r&8215&&(l.$$scope={dirty:r,ctx:t}),e.$set(l)}},i(t){i||(e&&p(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&w(n),o[11](null),e&&y(e,t)}}}function ee(o){let e,n,i;var s=o[1][1];function f(t,r){return{props:{data:t[4],form:t[2]}}}return s&&(e=k(s,f(o)),o[10](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&C(e.$$.fragment,t),n=h()},m(t,r){e&&E(e,t,r),g(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][1])){if(e){L();const l=e;d(l.$$.fragment,1,0,()=>{y(l,1)}),R()}s?(e=k(s,f(t)),t[10](e),v(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else if(s){const l={};r&16&&(l.data=t[4]),r&4&&(l.form=t[2]),e.$set(l)}},i(t){i||(e&&p(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&w(n),o[10](null),e&&y(e,t)}}}function I(o){let e,n=o[6]&&O(o);return{c(){e=H("div"),n&&n.c(),this.h()},l(i){e=J(i,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var s=K(e);n&&n.l(s),s.forEach(w),this.h()},h(){N(e,"id","svelte-announcer"),N(e,"aria-live","assertive"),N(e,"aria-atomic","true"),m(e,"position","absolute"),m(e,"left","0"),m(e,"top","0"),m(e,"clip","rect(0 0 0 0)"),m(e,"clip-path","inset(50%)"),m(e,"overflow","hidden"),m(e,"white-space","nowrap"),m(e,"width","1px"),m(e,"height","1px")},m(i,s){g(i,e,s),n&&n.m(e,null)},p(i,s){i[6]?n?n.p(i,s):(n=O(i),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(i){i&&w(e),n&&n.d()}}}function O(o){let e;return{c(){e=M(o[7])},l(n){e=Q(n,o[7])},m(n,i){g(n,e,i)},p(n,i){i&128&&X(e,n[7])},d(n){n&&w(e)}}}function te(o){let e,n,i,s,f;const t=[x,$],r=[];function l(a,_){return a[1][1]?0:1}e=l(o),n=r[e]=t[e](o);let c=o[5]&&I(o);return{c(){n.c(),i=F(),c&&c.c(),s=h()},l(a){n.l(a),i=G(a),c&&c.l(a),s=h()},m(a,_){r[e].m(a,_),g(a,i,_),c&&c.m(a,_),g(a,s,_),f=!0},p(a,[_]){let b=e;e=l(a),e===b?r[e].p(a,_):(L(),d(r[b],1,1,()=>{r[b]=null}),R(),n=r[e],n?n.p(a,_):(n=r[e]=t[e](a),n.c()),p(n,1),n.m(i.parentNode,i)),a[5]?c?c.p(a,_):(c=I(a),c.c(),c.m(s.parentNode,s)):c&&(c.d(1),c=null)},i(a){f||(p(n),f=!0)},o(a){d(n),f=!1},d(a){a&&(w(i),w(s)),r[e].d(a),c&&c.d(a)}}}function ne(o,e,n){let{stores:i}=e,{page:s}=e,{constructors:f}=e,{components:t=[]}=e,{form:r}=e,{data_0:l=null}=e,{data_1:c=null}=e;B(i.page.notify);let a=!1,_=!1,b=null;U(()=>{const u=i.page.subscribe(()=>{a&&(n(6,_=!0),j().then(()=>{n(7,b=document.title||"untitled page")}))});return n(5,a=!0),u});function T(u){P[u?"unshift":"push"](()=>{t[1]=u,n(0,t)})}function V(u){P[u?"unshift":"push"](()=>{t[0]=u,n(0,t)})}function q(u){P[u?"unshift":"push"](()=>{t[0]=u,n(0,t)})}return o.$$set=u=>{"stores"in u&&n(8,i=u.stores),"page"in u&&n(9,s=u.page),"constructors"in u&&n(1,f=u.constructors),"components"in u&&n(0,t=u.components),"form"in u&&n(2,r=u.form),"data_0"in u&&n(3,l=u.data_0),"data_1"in u&&n(4,c=u.data_1)},o.$$.update=()=>{o.$$.dirty&768&&i.page.set(s)},[t,f,r,l,c,a,_,b,i,s,T,V,q]}class oe extends W{constructor(e){super(),z(this,e,ne,te,A,{stores:8,page:9,constructors:1,components:0,form:2,data_0:3,data_1:4})}}const ae=[()=>S(()=>import("../nodes/0.a8ea2499.js"),["../nodes/0.a8ea2499.js","../chunks/scheduler.63274e7e.js","../chunks/index.3abede45.js","../assets/0.15cc2f76.css"],import.meta.url),()=>S(()=>import("../nodes/1.136627b3.js"),["../nodes/1.136627b3.js","../chunks/scheduler.63274e7e.js","../chunks/index.3abede45.js","../chunks/singletons.f85f0fc5.js"],import.meta.url),()=>S(()=>import("../nodes/2.563b1a5c.js"),["../nodes/2.563b1a5c.js","../chunks/scheduler.63274e7e.js","../chunks/index.3abede45.js"],import.meta.url)],le=[],fe={"/":[2]},ce={handleError:({error:o})=>{console.error(o)}};export{fe as dictionary,ce as hooks,re as matchers,ae as nodes,oe as root,le as server_loads};
 
1
+ import{s as A,a as B,o as U,t as j,b as P}from"../chunks/scheduler.63274e7e.js";import{S as W,i as z,s as F,e as h,c as G,a as g,t as d,b as R,d as p,f as w,g as H,h as J,j as K,k as N,l as m,m as M,n as Q,o as X,p as L,q as k,r as v,u as C,v as E,w as y}from"../chunks/index.3abede45.js";const Y="modulepreload",Z=function(o,e){return new URL(o,e).href},D={},S=function(e,n,i){if(!n||n.length===0)return e();const s=document.getElementsByTagName("link");return Promise.all(n.map(f=>{if(f=Z(f,i),f in D)return;D[f]=!0;const t=f.endsWith(".css"),r=t?'[rel="stylesheet"]':"";if(!!i)for(let a=s.length-1;a>=0;a--){const _=s[a];if(_.href===f&&(!t||_.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${f}"]${r}`))return;const c=document.createElement("link");if(c.rel=t?"stylesheet":Y,t||(c.as="script",c.crossOrigin=""),c.href=f,document.head.appendChild(c),t)return new Promise((a,_)=>{c.addEventListener("load",a),c.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${f}`)))})})).then(()=>e()).catch(f=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=f,window.dispatchEvent(t),!t.defaultPrevented)throw f})},re={};function $(o){let e,n,i;var s=o[1][0];function f(t,r){return{props:{data:t[3],form:t[2]}}}return s&&(e=k(s,f(o)),o[12](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&C(e.$$.fragment,t),n=h()},m(t,r){e&&E(e,t,r),g(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){L();const l=e;d(l.$$.fragment,1,0,()=>{y(l,1)}),R()}s?(e=k(s,f(t)),t[12](e),v(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else if(s){const l={};r&8&&(l.data=t[3]),r&4&&(l.form=t[2]),e.$set(l)}},i(t){i||(e&&p(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&w(n),o[12](null),e&&y(e,t)}}}function x(o){let e,n,i;var s=o[1][0];function f(t,r){return{props:{data:t[3],$$slots:{default:[ee]},$$scope:{ctx:t}}}}return s&&(e=k(s,f(o)),o[11](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&C(e.$$.fragment,t),n=h()},m(t,r){e&&E(e,t,r),g(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){L();const l=e;d(l.$$.fragment,1,0,()=>{y(l,1)}),R()}s?(e=k(s,f(t)),t[11](e),v(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else if(s){const l={};r&8&&(l.data=t[3]),r&8215&&(l.$$scope={dirty:r,ctx:t}),e.$set(l)}},i(t){i||(e&&p(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&w(n),o[11](null),e&&y(e,t)}}}function ee(o){let e,n,i;var s=o[1][1];function f(t,r){return{props:{data:t[4],form:t[2]}}}return s&&(e=k(s,f(o)),o[10](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&C(e.$$.fragment,t),n=h()},m(t,r){e&&E(e,t,r),g(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][1])){if(e){L();const l=e;d(l.$$.fragment,1,0,()=>{y(l,1)}),R()}s?(e=k(s,f(t)),t[10](e),v(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else if(s){const l={};r&16&&(l.data=t[4]),r&4&&(l.form=t[2]),e.$set(l)}},i(t){i||(e&&p(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&w(n),o[10](null),e&&y(e,t)}}}function I(o){let e,n=o[6]&&O(o);return{c(){e=H("div"),n&&n.c(),this.h()},l(i){e=J(i,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var s=K(e);n&&n.l(s),s.forEach(w),this.h()},h(){N(e,"id","svelte-announcer"),N(e,"aria-live","assertive"),N(e,"aria-atomic","true"),m(e,"position","absolute"),m(e,"left","0"),m(e,"top","0"),m(e,"clip","rect(0 0 0 0)"),m(e,"clip-path","inset(50%)"),m(e,"overflow","hidden"),m(e,"white-space","nowrap"),m(e,"width","1px"),m(e,"height","1px")},m(i,s){g(i,e,s),n&&n.m(e,null)},p(i,s){i[6]?n?n.p(i,s):(n=O(i),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(i){i&&w(e),n&&n.d()}}}function O(o){let e;return{c(){e=M(o[7])},l(n){e=Q(n,o[7])},m(n,i){g(n,e,i)},p(n,i){i&128&&X(e,n[7])},d(n){n&&w(e)}}}function te(o){let e,n,i,s,f;const t=[x,$],r=[];function l(a,_){return a[1][1]?0:1}e=l(o),n=r[e]=t[e](o);let c=o[5]&&I(o);return{c(){n.c(),i=F(),c&&c.c(),s=h()},l(a){n.l(a),i=G(a),c&&c.l(a),s=h()},m(a,_){r[e].m(a,_),g(a,i,_),c&&c.m(a,_),g(a,s,_),f=!0},p(a,[_]){let b=e;e=l(a),e===b?r[e].p(a,_):(L(),d(r[b],1,1,()=>{r[b]=null}),R(),n=r[e],n?n.p(a,_):(n=r[e]=t[e](a),n.c()),p(n,1),n.m(i.parentNode,i)),a[5]?c?c.p(a,_):(c=I(a),c.c(),c.m(s.parentNode,s)):c&&(c.d(1),c=null)},i(a){f||(p(n),f=!0)},o(a){d(n),f=!1},d(a){a&&(w(i),w(s)),r[e].d(a),c&&c.d(a)}}}function ne(o,e,n){let{stores:i}=e,{page:s}=e,{constructors:f}=e,{components:t=[]}=e,{form:r}=e,{data_0:l=null}=e,{data_1:c=null}=e;B(i.page.notify);let a=!1,_=!1,b=null;U(()=>{const u=i.page.subscribe(()=>{a&&(n(6,_=!0),j().then(()=>{n(7,b=document.title||"untitled page")}))});return n(5,a=!0),u});function T(u){P[u?"unshift":"push"](()=>{t[1]=u,n(0,t)})}function V(u){P[u?"unshift":"push"](()=>{t[0]=u,n(0,t)})}function q(u){P[u?"unshift":"push"](()=>{t[0]=u,n(0,t)})}return o.$$set=u=>{"stores"in u&&n(8,i=u.stores),"page"in u&&n(9,s=u.page),"constructors"in u&&n(1,f=u.constructors),"components"in u&&n(0,t=u.components),"form"in u&&n(2,r=u.form),"data_0"in u&&n(3,l=u.data_0),"data_1"in u&&n(4,c=u.data_1)},o.$$.update=()=>{o.$$.dirty&768&&i.page.set(s)},[t,f,r,l,c,a,_,b,i,s,T,V,q]}class oe extends W{constructor(e){super(),z(this,e,ne,te,A,{stores:8,page:9,constructors:1,components:0,form:2,data_0:3,data_1:4})}}const ae=[()=>S(()=>import("../nodes/0.a8ea2499.js"),["../nodes/0.a8ea2499.js","../chunks/scheduler.63274e7e.js","../chunks/index.3abede45.js","../assets/0.15cc2f76.css"],import.meta.url),()=>S(()=>import("../nodes/1.245d0a47.js"),["../nodes/1.245d0a47.js","../chunks/scheduler.63274e7e.js","../chunks/index.3abede45.js","../chunks/singletons.1a02eeb0.js"],import.meta.url),()=>S(()=>import("../nodes/2.7c9cbce9.js"),["../nodes/2.7c9cbce9.js","../chunks/scheduler.63274e7e.js","../chunks/index.3abede45.js"],import.meta.url)],le=[],fe={"/":[2]},ce={handleError:({error:o})=>{console.error(o)}};export{fe as dictionary,ce as hooks,re as matchers,ae as nodes,oe as root,le as server_loads};
svelte/build/_app/immutable/entry/{start.17cdbcf3.js β†’ start.7eabf570.js} RENAMED
@@ -1,3 +1,3 @@
1
- import{o as me,t as we}from"../chunks/scheduler.63274e7e.js";import{S as Be,a as Ge,I as M,g as De,f as Ce,b as _e,c as le,s as te,i as ye,d as F,e as J,P as Me,h as Xe}from"../chunks/singletons.f85f0fc5.js";function Ze(t,r){return t==="/"||r==="ignore"?t:r==="never"?t.endsWith("/")?t.slice(0,-1):t:r==="always"&&!t.endsWith("/")?t+"/":t}function Qe(t){return t.split("%25").map(decodeURI).join("%25")}function et(t){for(const r in t)t[r]=decodeURIComponent(t[r]);return t}const tt=["href","pathname","search","searchParams","toString","toJSON"];function nt(t,r){const f=new URL(t);for(const s of tt)Object.defineProperty(f,s,{get(){return r(),t[s]},enumerable:!0,configurable:!0});return at(f),f}function at(t){Object.defineProperty(t,"hash",{get(){throw new Error("Cannot access event.url.hash. Consider using `$page.url.hash` inside a component instead")}})}const rt="/__data.json";function ot(t){return t.replace(/\/$/,"")+rt}function it(...t){let r=5381;for(const f of t)if(typeof f=="string"){let s=f.length;for(;s;)r=r*33^f.charCodeAt(--s)}else if(ArrayBuffer.isView(f)){const s=new Uint8Array(f.buffer,f.byteOffset,f.byteLength);let d=s.length;for(;d;)r=r*33^s[--d]}else throw new TypeError("value must be a string or TypedArray");return(r>>>0).toString(36)}const Je=window.fetch;window.fetch=(t,r)=>((t instanceof Request?t.method:(r==null?void 0:r.method)||"GET")!=="GET"&&ae.delete(Se(t)),Je(t,r));const ae=new Map;function st(t,r){const f=Se(t,r),s=document.querySelector(f);if(s!=null&&s.textContent){const{body:d,...u}=JSON.parse(s.textContent),E=s.getAttribute("data-ttl");return E&&ae.set(f,{body:d,init:u,ttl:1e3*Number(E)}),Promise.resolve(new Response(d,u))}return window.fetch(t,r)}function ct(t,r,f){if(ae.size>0){const s=Se(t,f),d=ae.get(s);if(d){if(performance.now()<d.ttl&&["default","force-cache","only-if-cached",void 0].includes(f==null?void 0:f.cache))return new Response(d.body,d.init);ae.delete(s)}}return window.fetch(r,f)}function Se(t,r){let s=`script[data-sveltekit-fetched][data-url=${JSON.stringify(t instanceof Request?t.url:t)}]`;if(r!=null&&r.headers||r!=null&&r.body){const d=[];r.headers&&d.push([...new Headers(r.headers)].join(",")),r.body&&(typeof r.body=="string"||ArrayBuffer.isView(r.body))&&d.push(r.body),s+=`[data-hash="${it(...d)}"]`}return s}const lt=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function ft(t){const r=[];return{pattern:t==="/"?/^\/$/:new RegExp(`^${dt(t).map(s=>{const d=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(s);if(d)return r.push({name:d[1],matcher:d[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const u=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(s);if(u)return r.push({name:u[1],matcher:u[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!s)return;const E=s.split(/\[(.+?)\](?!\])/);return"/"+E.map((g,m)=>{if(m%2){if(g.startsWith("x+"))return ve(String.fromCharCode(parseInt(g.slice(2),16)));if(g.startsWith("u+"))return ve(String.fromCharCode(...g.slice(2).split("-").map(U=>parseInt(U,16))));const h=lt.exec(g);if(!h)throw new Error(`Invalid param: ${g}. Params and matcher names can only have underscores and alphanumeric characters.`);const[,x,j,k,N]=h;return r.push({name:k,matcher:N,optional:!!x,rest:!!j,chained:j?m===1&&E[0]==="":!1}),j?"(.*?)":x?"([^/]*)?":"([^/]+?)"}return ve(g)}).join("")}).join("")}/?$`),params:r}}function ut(t){return!/^\([^)]+\)$/.test(t)}function dt(t){return t.slice(1).split("/").filter(ut)}function pt(t,r,f){const s={},d=t.slice(1),u=d.filter(l=>l!==void 0);let E=0;for(let l=0;l<r.length;l+=1){const g=r[l];let m=d[l-E];if(g.chained&&g.rest&&E&&(m=d.slice(l-E,l+1).filter(h=>h).join("/"),E=0),m===void 0){g.rest&&(s[g.name]="");continue}if(!g.matcher||f[g.matcher](m)){s[g.name]=m;const h=r[l+1],x=d[l+1];h&&!h.rest&&h.optional&&x&&g.chained&&(E=0),!h&&!x&&Object.keys(s).length===u.length&&(E=0);continue}if(g.optional&&g.chained){E++;continue}return}if(!E)return s}function ve(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function ht({nodes:t,server_loads:r,dictionary:f,matchers:s}){const d=new Set(r);return Object.entries(f).map(([l,[g,m,h]])=>{const{pattern:x,params:j}=ft(l),k={id:l,exec:N=>{const U=x.exec(N);if(U)return pt(U,j,s)},errors:[1,...h||[]].map(N=>t[N]),layouts:[0,...m||[]].map(E),leaf:u(g)};return k.errors.length=k.layouts.length=Math.max(k.errors.length,k.layouts.length),k});function u(l){const g=l<0;return g&&(l=~l),[g,t[l]]}function E(l){return l===void 0?l:[d.has(l),t[l]]}}function Ke(t){try{return JSON.parse(sessionStorage[t])}catch{}}function Ve(t,r){const f=JSON.stringify(r);try{sessionStorage[t]=f}catch{}}const gt=-1,mt=-2,wt=-3,_t=-4,yt=-5,vt=-6;function bt(t,r){if(typeof t=="number")return d(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const f=t,s=Array(f.length);function d(u,E=!1){if(u===gt)return;if(u===wt)return NaN;if(u===_t)return 1/0;if(u===yt)return-1/0;if(u===vt)return-0;if(E)throw new Error("Invalid input");if(u in s)return s[u];const l=f[u];if(!l||typeof l!="object")s[u]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const g=l[0],m=r==null?void 0:r[g];if(m)return s[u]=m(d(l[1]));switch(g){case"Date":s[u]=new Date(l[1]);break;case"Set":const h=new Set;s[u]=h;for(let k=1;k<l.length;k+=1)h.add(d(l[k]));break;case"Map":const x=new Map;s[u]=x;for(let k=1;k<l.length;k+=2)x.set(d(l[k]),d(l[k+1]));break;case"RegExp":s[u]=new RegExp(l[1],l[2]);break;case"Object":s[u]=Object(l[1]);break;case"BigInt":s[u]=BigInt(l[1]);break;case"null":const j=Object.create(null);s[u]=j;for(let k=1;k<l.length;k+=2)j[l[k]]=d(l[k+1]);break;default:throw new Error(`Unknown type ${g}`)}}else{const g=new Array(l.length);s[u]=g;for(let m=0;m<l.length;m+=1){const h=l[m];h!==mt&&(g[m]=d(h))}}else{const g={};s[u]=g;for(const m in l){const h=l[m];g[m]=d(h)}}return s[u]}return d(0)}function Et(t){return t.filter(r=>r!=null)}const ze=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...ze];const St=new Set([...ze]);[...St];async function kt(t){var r;for(const f in t)if(typeof((r=t[f])==null?void 0:r.then)=="function")return Object.fromEntries(await Promise.all(Object.entries(t).map(async([s,d])=>[s,await d])));return t}class ne{constructor(r,f){this.status=r,typeof f=="string"?this.body={message:f}:f?this.body=f:this.body={message:`Error: ${r}`}}toString(){return JSON.stringify(this.body)}}class qe{constructor(r,f){this.status=r,this.location=f}}const Rt="x-sveltekit-invalidated",At="x-sveltekit-trailing-slash",K=Ke(Be)??{},ee=Ke(Ge)??{};function be(t){K[t]=te()}function It(t,r){var Ne;const f=ht(t),s=t.nodes[0],d=t.nodes[1];s(),d();const u=document.documentElement,E=[],l=[];let g=null;const m={before_navigate:[],on_navigate:[],after_navigate:[]};let h={branch:[],error:null,url:null},x=!1,j=!1,k=!0,N=!1,U=!1,H=!1,B=!1,V,D=(Ne=history.state)==null?void 0:Ne[M];D||(D=Date.now(),history.replaceState({...history.state,[M]:D},"",location.href));const fe=K[D];fe&&(history.scrollRestoration="manual",scrollTo(fe.x,fe.y));let q,z,Y;async function ke(){if(Y=Y||Promise.resolve(),await Y,!Y)return;Y=null;const e=new URL(location.href),i=Z(e,!0);g=null;const n=z={},o=i&&await pe(i);if(n===z&&o){if(o.type==="redirect")return re(new URL(o.location,e).href,{},1,n);o.props.page!==void 0&&(q=o.props.page),V.$set(o.props)}}function Re(e){l.some(i=>i==null?void 0:i.snapshot)&&(ee[e]=l.map(i=>{var n;return(n=i==null?void 0:i.snapshot)==null?void 0:n.capture()}))}function Ae(e){var i;(i=ee[e])==null||i.forEach((n,o)=>{var a,c;(c=(a=l[o])==null?void 0:a.snapshot)==null||c.restore(n)})}function Ie(){be(D),Ve(Be,K),Re(D),Ve(Ge,ee)}async function re(e,{noScroll:i=!1,replaceState:n=!1,keepFocus:o=!1,state:a={},invalidateAll:c=!1},p,v){return typeof e=="string"&&(e=new URL(e,De(document))),ce({url:e,scroll:i?te():null,keepfocus:o,redirect_count:p,details:{state:a,replaceState:n},nav_token:v,accepted:()=>{c&&(B=!0)},blocked:()=>{},type:"goto"})}async function Le(e){return g={id:e.id,promise:pe(e).then(i=>(i.type==="loaded"&&i.state.error&&(g=null),i))},g.promise}async function oe(...e){const n=f.filter(o=>e.some(a=>o.exec(a))).map(o=>Promise.all([...o.layouts,o.leaf].map(a=>a==null?void 0:a[1]())));await Promise.all(n)}function Pe(e){var o;h=e.state;const i=document.querySelector("style[data-sveltekit]");i&&i.remove(),q=e.props.page,V=new t.root({target:r,props:{...e.props,stores:F,components:l},hydrate:!0}),Ae(D);const n={from:null,to:{params:h.params,route:{id:((o=h.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};m.after_navigate.forEach(a=>a(n)),j=!0}async function X({url:e,params:i,branch:n,status:o,error:a,route:c,form:p}){let v="never";for(const _ of n)(_==null?void 0:_.slash)!==void 0&&(v=_.slash);e.pathname=Ze(e.pathname,v),e.search=e.search;const b={type:"loaded",state:{url:e,params:i,branch:n,error:a,route:c},props:{constructors:Et(n).map(_=>_.node.component)}};p!==void 0&&(b.props.form=p);let y={},L=!q,A=0;for(let _=0;_<Math.max(n.length,h.branch.length);_+=1){const w=n[_],O=h.branch[_];(w==null?void 0:w.data)!==(O==null?void 0:O.data)&&(L=!0),w&&(y={...y,...w.data},L&&(b.props[`data_${A}`]=y),A+=1)}return(!h.url||e.href!==h.url.href||h.error!==a||p!==void 0&&p!==q.form||L)&&(b.props.page={error:a,params:i,route:{id:(c==null?void 0:c.id)??null},status:o,url:new URL(e),form:p??null,data:L?y:q.data}),b}async function ue({loader:e,parent:i,url:n,params:o,route:a,server_data_node:c}){var y,L,A;let p=null;const v={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1},b=await e();if((y=b.universal)!=null&&y.load){let P=function(...w){for(const O of w){const{href:$}=new URL(O,n);v.dependencies.add($)}};const _={route:new Proxy(a,{get:(w,O)=>(v.route=!0,w[O])}),params:new Proxy(o,{get:(w,O)=>(v.params.add(O),w[O])}),data:(c==null?void 0:c.data)??null,url:nt(n,()=>{v.url=!0}),async fetch(w,O){let $;w instanceof Request?($=w.url,O={body:w.method==="GET"||w.method==="HEAD"?void 0:await w.blob(),cache:w.cache,credentials:w.credentials,headers:w.headers,integrity:w.integrity,keepalive:w.keepalive,method:w.method,mode:w.mode,redirect:w.redirect,referrer:w.referrer,referrerPolicy:w.referrerPolicy,signal:w.signal,...O}):$=w;const C=new URL($,n);return P(C.href),C.origin===n.origin&&($=C.href.slice(n.origin.length)),j?ct($,C.href,O):st($,O)},setHeaders:()=>{},depends:P,parent(){return v.parent=!0,i()}};p=await b.universal.load.call(null,_)??null,p=p?await kt(p):null}return{node:b,loader:e,server:c,universal:(L=b.universal)!=null&&L.load?{type:"data",data:p,uses:v}:null,data:p??(c==null?void 0:c.data)??null,slash:((A=b.universal)==null?void 0:A.trailingSlash)??(c==null?void 0:c.slash)}}function Oe(e,i,n,o,a){if(B)return!0;if(!o)return!1;if(o.parent&&e||o.route&&i||o.url&&n)return!0;for(const c of o.params)if(a[c]!==h.params[c])return!0;for(const c of o.dependencies)if(E.some(p=>p(new URL(c))))return!0;return!1}function de(e,i){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?i??null:null}async function pe({id:e,invalidating:i,url:n,params:o,route:a}){if((g==null?void 0:g.id)===e)return g.promise;const{errors:c,layouts:p,leaf:v}=a,b=[...p,v];c.forEach(S=>S==null?void 0:S().catch(()=>{})),b.forEach(S=>S==null?void 0:S[1]().catch(()=>{}));let y=null;const L=h.url?e!==h.url.pathname+h.url.search:!1,A=h.route?a.id!==h.route.id:!1;let P=!1;const _=b.map((S,I)=>{var G;const R=h.branch[I],T=!!(S!=null&&S[0])&&((R==null?void 0:R.loader)!==S[1]||Oe(P,A,L,(G=R.server)==null?void 0:G.uses,o));return T&&(P=!0),T});if(_.some(Boolean)){try{y=await Fe(n,_)}catch(S){return ie({status:S instanceof ne?S.status:500,error:await Q(S,{url:n,params:o,route:{id:a.id}}),url:n,route:a})}if(y.type==="redirect")return y}const w=y==null?void 0:y.nodes;let O=!1;const $=b.map(async(S,I)=>{var he;if(!S)return;const R=h.branch[I],T=w==null?void 0:w[I];if((!T||T.type==="skip")&&S[1]===(R==null?void 0:R.loader)&&!Oe(O,A,L,(he=R.universal)==null?void 0:he.uses,o))return R;if(O=!0,(T==null?void 0:T.type)==="error")throw T;return ue({loader:S[1],url:n,params:o,route:a,parent:async()=>{var Te;const $e={};for(let ge=0;ge<I;ge+=1)Object.assign($e,(Te=await $[ge])==null?void 0:Te.data);return $e},server_data_node:de(T===void 0&&S[0]?{type:"skip"}:T??null,S[0]?R==null?void 0:R.server:void 0)})});for(const S of $)S.catch(()=>{});const C=[];for(let S=0;S<b.length;S+=1)if(b[S])try{C.push(await $[S])}catch(I){if(I instanceof qe)return{type:"redirect",location:I.location};let R=500,T;if(w!=null&&w.includes(I))R=I.status??R,T=I.error;else if(I instanceof ne)R=I.status,T=I.body;else{if(await F.updated.check())return await W(n);T=await Q(I,{params:o,url:n,route:{id:a.id}})}const G=await Ue(S,C,c);return G?await X({url:n,params:o,branch:C.slice(0,G.idx).concat(G.node),status:R,error:T,route:a}):await je(n,{id:a.id},T,R)}else C.push(void 0);return await X({url:n,params:o,branch:C,status:200,error:null,route:a,form:i?void 0:null})}async function Ue(e,i,n){for(;e--;)if(n[e]){let o=e;for(;!i[o];)o-=1;try{return{idx:o+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function ie({status:e,error:i,url:n,route:o}){const a={};let c=null;if(t.server_loads[0]===0)try{const y=await Fe(n,[!0]);if(y.type!=="data"||y.nodes[0]&&y.nodes[0].type!=="data")throw 0;c=y.nodes[0]??null}catch{(n.origin!==location.origin||n.pathname!==location.pathname||x)&&await W(n)}const v=await ue({loader:s,url:n,params:a,route:o,parent:()=>Promise.resolve({}),server_data_node:de(c)}),b={node:await d(),loader:d,universal:null,server:null,data:null};return await X({url:n,params:a,branch:[v,b],status:e,error:i,route:null})}function Z(e,i){if(ye(e,J))return;const n=se(e);for(const o of f){const a=o.exec(n);if(a)return{id:e.pathname+e.search,invalidating:i,route:o,params:et(a),url:e}}}function se(e){return Qe(e.pathname.slice(J.length)||"/")}function xe({url:e,type:i,intent:n,delta:o}){let a=!1;const c=He(h,n,e,i);o!==void 0&&(c.navigation.delta=o);const p={...c.navigation,cancel:()=>{a=!0,c.reject(new Error("navigation was cancelled"))}};return U||m.before_navigate.forEach(v=>v(p)),a?null:c}async function ce({url:e,scroll:i,keepfocus:n,redirect_count:o,details:a,type:c,delta:p,nav_token:v={},accepted:b,blocked:y}){var $,C,S;const L=Z(e,!1),A=xe({url:e,type:c,delta:p,intent:L});if(!A){y();return}const P=D;b(),U=!0,j&&F.navigating.set(A.navigation),z=v;let _=L&&await pe(L);if(!_){if(ye(e,J))return await W(e);_=await je(e,{id:null},await Q(new Error(`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404)}if(e=(L==null?void 0:L.url)||e,z!==v)return A.reject(new Error("navigation was aborted")),!1;if(_.type==="redirect")if(o>=20)_=await ie({status:500,error:await Q(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}});else return re(new URL(_.location,e).href,{},o+1,v),!1;else(($=_.props.page)==null?void 0:$.status)>=400&&await F.updated.check()&&await W(e);if(E.length=0,B=!1,N=!0,be(P),Re(P),(C=_.props.page)!=null&&C.url&&_.props.page.url.pathname!==e.pathname&&(e.pathname=(S=_.props.page)==null?void 0:S.url.pathname),a){const I=a.replaceState?0:1;if(a.state[M]=D+=I,history[a.replaceState?"replaceState":"pushState"](a.state,"",e),!a.replaceState){let R=D+1;for(;ee[R]||K[R];)delete ee[R],delete K[R],R+=1}}if(g=null,j){h=_.state,_.props.page&&(_.props.page.url=e);const I=(await Promise.all(m.on_navigate.map(R=>R(A.navigation)))).filter(R=>typeof R=="function");if(I.length>0){let R=function(){m.after_navigate=m.after_navigate.filter(T=>!I.includes(T))};I.push(R),m.after_navigate.push(...I)}V.$set(_.props)}else Pe(_);const{activeElement:w}=document;if(await we(),k){const I=e.hash&&document.getElementById(decodeURIComponent(e.hash.slice(1)));i?scrollTo(i.x,i.y):I?I.scrollIntoView():scrollTo(0,0)}const O=document.activeElement!==w&&document.activeElement!==document.body;!n&&!O&&Ee(),k=!0,_.props.page&&(q=_.props.page),U=!1,c==="popstate"&&Ae(D),A.fulfil(void 0),m.after_navigate.forEach(I=>I(A.navigation)),F.navigating.set(null),N=!1}async function je(e,i,n,o){return e.origin===location.origin&&e.pathname===location.pathname&&!x?await ie({status:o,error:n,url:e,route:i}):await W(e)}function W(e){return location.href=e.href,new Promise(()=>{})}function Ye(){let e;u.addEventListener("mousemove",c=>{const p=c.target;clearTimeout(e),e=setTimeout(()=>{o(p,2)},20)});function i(c){o(c.composedPath()[0],1)}u.addEventListener("mousedown",i),u.addEventListener("touchstart",i,{passive:!0});const n=new IntersectionObserver(c=>{for(const p of c)p.isIntersecting&&(oe(se(new URL(p.target.href))),n.unobserve(p.target))},{threshold:0});function o(c,p){const v=Ce(c,u);if(!v)return;const{url:b,external:y,download:L}=_e(v,J);if(y||L)return;const A=le(v);if(!A.reload)if(p<=A.preload_data){const P=Z(b,!1);P&&Le(P)}else p<=A.preload_code&&oe(se(b))}function a(){n.disconnect();for(const c of u.querySelectorAll("a")){const{url:p,external:v,download:b}=_e(c,J);if(v||b)continue;const y=le(c);y.reload||(y.preload_code===Me.viewport&&n.observe(c),y.preload_code===Me.eager&&oe(se(p)))}}m.after_navigate.push(a),a()}function Q(e,i){return e instanceof ne?e.body:t.hooks.handleError({error:e,event:i})??{message:i.route.id!=null?"Internal Error":"Not Found"}}return{after_navigate:e=>{me(()=>(m.after_navigate.push(e),()=>{const i=m.after_navigate.indexOf(e);m.after_navigate.splice(i,1)}))},before_navigate:e=>{me(()=>(m.before_navigate.push(e),()=>{const i=m.before_navigate.indexOf(e);m.before_navigate.splice(i,1)}))},on_navigate:e=>{me(()=>(m.on_navigate.push(e),()=>{const i=m.on_navigate.indexOf(e);m.on_navigate.splice(i,1)}))},disable_scroll_handling:()=>{(N||!j)&&(k=!1)},goto:(e,i={})=>re(e,i,0),invalidate:e=>{if(typeof e=="function")E.push(e);else{const{href:i}=new URL(e,location.href);E.push(n=>n.href===i)}return ke()},invalidate_all:()=>(B=!0,ke()),preload_data:async e=>{const i=new URL(e,De(document)),n=Z(i,!1);if(!n)throw new Error(`Attempted to preload a URL that does not belong to this app: ${i}`);await Le(n)},preload_code:oe,apply_action:async e=>{if(e.type==="error"){const i=new URL(location.href),{branch:n,route:o}=h;if(!o)return;const a=await Ue(h.branch.length,n,o.errors);if(a){const c=await X({url:i,params:h.params,branch:n.slice(0,a.idx).concat(a.node),status:e.status??500,error:e.error,route:o});h=c.state,V.$set(c.props),we().then(Ee)}}else e.type==="redirect"?re(e.location,{invalidateAll:!0},0):(V.$set({form:null,page:{...q,form:e.data,status:e.status}}),await we(),V.$set({form:e.data}),e.type==="success"&&Ee())},_start_router:()=>{var i;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let o=!1;if(Ie(),!U){const a=He(h,void 0,null,"leave"),c={...a.navigation,cancel:()=>{o=!0,a.reject(new Error("navigation was cancelled"))}};m.before_navigate.forEach(p=>p(c))}o?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ie()}),(i=navigator.connection)!=null&&i.saveData||Ye(),u.addEventListener("click",n=>{var P;if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const o=Ce(n.composedPath()[0],u);if(!o)return;const{url:a,external:c,target:p,download:v}=_e(o,J);if(!a)return;if(p==="_parent"||p==="_top"){if(window.parent!==window)return}else if(p&&p!=="_self")return;const b=le(o);if(!(o instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||v)return;if(c||b.reload){xe({url:a,type:"link"})?U=!0:n.preventDefault();return}const[L,A]=a.href.split("#");if(A!==void 0&&L===location.href.split("#")[0]){if(h.url.hash===a.hash){n.preventDefault(),(P=o.ownerDocument.getElementById(A))==null||P.scrollIntoView();return}if(H=!0,be(D),e(a),!b.replace_state)return;H=!1,n.preventDefault()}ce({url:a,scroll:b.noscroll?te():null,keepfocus:b.keep_focus??!1,redirect_count:0,details:{state:{},replaceState:b.replace_state??a.href===location.href},accepted:()=>n.preventDefault(),blocked:()=>n.preventDefault(),type:"link"})}),u.addEventListener("submit",n=>{if(n.defaultPrevented)return;const o=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formMethod)||o.method)!=="get")return;const p=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||o.action);if(ye(p,J))return;const v=n.target,{keep_focus:b,noscroll:y,reload:L,replace_state:A}=le(v);if(L)return;n.preventDefault(),n.stopPropagation();const P=new FormData(v),_=a==null?void 0:a.getAttribute("name");_&&P.append(_,(a==null?void 0:a.getAttribute("value"))??""),p.search=new URLSearchParams(P).toString(),ce({url:p,scroll:y?te():null,keepfocus:b??!1,redirect_count:0,details:{state:{},replaceState:A??p.href===location.href},nav_token:{},accepted:()=>{},blocked:()=>{},type:"form"})}),addEventListener("popstate",async n=>{var o;if(z={},(o=n.state)!=null&&o[M]){if(n.state[M]===D)return;const a=K[n.state[M]],c=new URL(location.href);if(h.url.href.split("#")[0]===location.href.split("#")[0]){e(c),K[D]=te(),D=n.state[M],scrollTo(a.x,a.y);return}const p=n.state[M]-D;await ce({url:c,scroll:a,keepfocus:!1,redirect_count:0,details:null,accepted:()=>{D=n.state[M]},blocked:()=>{history.go(-p)},type:"popstate",delta:p,nav_token:z})}else if(!H){const a=new URL(location.href);e(a)}}),addEventListener("hashchange",()=>{H&&(H=!1,history.replaceState({...history.state,[M]:++D},"",location.href))});for(const n of document.querySelectorAll("link"))n.rel==="icon"&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&F.navigating.set(null)});function e(n){h.url=n,F.page.set({...q,url:n}),F.page.notify()}},_hydrate:async({status:e=200,error:i,node_ids:n,params:o,route:a,data:c,form:p})=>{x=!0;const v=new URL(location.href);({params:o={},route:a={id:null}}=Z(v,!1)||{});let b;try{const y=n.map(async(P,_)=>{const w=c[_];return w!=null&&w.uses&&(w.uses=We(w.uses)),ue({loader:t.nodes[P],url:v,params:o,route:a,parent:async()=>{const O={};for(let $=0;$<_;$+=1)Object.assign(O,(await y[$]).data);return O},server_data_node:de(w)})}),L=await Promise.all(y),A=f.find(({id:P})=>P===a.id);if(A){const P=A.layouts;for(let _=0;_<P.length;_++)P[_]||L.splice(_,0,void 0)}b=await X({url:v,params:o,branch:L,status:e,error:i,form:p,route:A??null})}catch(y){if(y instanceof qe){await W(new URL(y.location,location.href));return}b=await ie({status:y instanceof ne?y.status:500,error:await Q(y,{url:v,params:o,route:a}),url:v,route:a})}Pe(b)}}}async function Fe(t,r){const f=new URL(t);f.pathname=ot(t.pathname),t.pathname.endsWith("/")&&f.searchParams.append(At,"1"),f.searchParams.append(Rt,r.map(d=>d?"1":"0").join(""));const s=await Je(f.href);if(!s.ok)throw new ne(s.status,await s.json());return new Promise(async d=>{var h;const u=new Map,E=s.body.getReader(),l=new TextDecoder;function g(x){return bt(x,{Promise:j=>new Promise((k,N)=>{u.set(j,{fulfil:k,reject:N})})})}let m="";for(;;){const{done:x,value:j}=await E.read();if(x&&!m)break;for(m+=!j&&m?`
2
  `:l.decode(j);;){const k=m.indexOf(`
3
  `);if(k===-1)break;const N=JSON.parse(m.slice(0,k));if(m=m.slice(k+1),N.type==="redirect")return d(N);if(N.type==="data")(h=N.nodes)==null||h.forEach(U=>{(U==null?void 0:U.type)==="data"&&(U.uses=We(U.uses),U.data=g(U.data))}),d(N);else if(N.type==="chunk"){const{id:U,data:H,error:B}=N,V=u.get(U);u.delete(U),B?V.reject(g(B)):V.fulfil(g(H))}}}})}function We(t){return{dependencies:new Set((t==null?void 0:t.dependencies)??[]),params:new Set((t==null?void 0:t.params)??[]),parent:!!(t!=null&&t.parent),route:!!(t!=null&&t.route),url:!!(t!=null&&t.url)}}function Ee(){const t=document.querySelector("[autofocus]");if(t)t.focus();else{const r=document.body,f=r.getAttribute("tabindex");r.tabIndex=-1,r.focus({preventScroll:!0,focusVisible:!1}),f!==null?r.setAttribute("tabindex",f):r.removeAttribute("tabindex");const s=getSelection();if(s&&s.type!=="None"){const d=[];for(let u=0;u<s.rangeCount;u+=1)d.push(s.getRangeAt(u));setTimeout(()=>{if(s.rangeCount===d.length){for(let u=0;u<s.rangeCount;u+=1){const E=d[u],l=s.getRangeAt(u);if(E.commonAncestorContainer!==l.commonAncestorContainer||E.startContainer!==l.startContainer||E.endContainer!==l.endContainer||E.startOffset!==l.startOffset||E.endOffset!==l.endOffset)return}s.removeAllRanges()}})}}}function He(t,r,f,s){var g,m;let d,u;const E=new Promise((h,x)=>{d=h,u=x});return E.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((g=t.route)==null?void 0:g.id)??null},url:t.url},to:f&&{params:(r==null?void 0:r.params)??null,route:{id:((m=r==null?void 0:r.route)==null?void 0:m.id)??null},url:f},willUnload:!r,type:s,complete:E},fulfil:d,reject:u}}async function Ot(t,r,f){const s=It(t,r);Xe({client:s}),f?await s._hydrate(f):s.goto(location.href,{replaceState:!0}),s._start_router()}export{Ot as start};
 
1
+ import{o as me,t as we}from"../chunks/scheduler.63274e7e.js";import{S as Be,a as Ge,I as M,g as De,f as Ce,b as _e,c as le,s as te,i as ye,d as F,e as J,P as Me,h as Xe}from"../chunks/singletons.1a02eeb0.js";function Ze(t,r){return t==="/"||r==="ignore"?t:r==="never"?t.endsWith("/")?t.slice(0,-1):t:r==="always"&&!t.endsWith("/")?t+"/":t}function Qe(t){return t.split("%25").map(decodeURI).join("%25")}function et(t){for(const r in t)t[r]=decodeURIComponent(t[r]);return t}const tt=["href","pathname","search","searchParams","toString","toJSON"];function nt(t,r){const f=new URL(t);for(const s of tt)Object.defineProperty(f,s,{get(){return r(),t[s]},enumerable:!0,configurable:!0});return at(f),f}function at(t){Object.defineProperty(t,"hash",{get(){throw new Error("Cannot access event.url.hash. Consider using `$page.url.hash` inside a component instead")}})}const rt="/__data.json";function ot(t){return t.replace(/\/$/,"")+rt}function it(...t){let r=5381;for(const f of t)if(typeof f=="string"){let s=f.length;for(;s;)r=r*33^f.charCodeAt(--s)}else if(ArrayBuffer.isView(f)){const s=new Uint8Array(f.buffer,f.byteOffset,f.byteLength);let d=s.length;for(;d;)r=r*33^s[--d]}else throw new TypeError("value must be a string or TypedArray");return(r>>>0).toString(36)}const Je=window.fetch;window.fetch=(t,r)=>((t instanceof Request?t.method:(r==null?void 0:r.method)||"GET")!=="GET"&&ae.delete(Se(t)),Je(t,r));const ae=new Map;function st(t,r){const f=Se(t,r),s=document.querySelector(f);if(s!=null&&s.textContent){const{body:d,...u}=JSON.parse(s.textContent),E=s.getAttribute("data-ttl");return E&&ae.set(f,{body:d,init:u,ttl:1e3*Number(E)}),Promise.resolve(new Response(d,u))}return window.fetch(t,r)}function ct(t,r,f){if(ae.size>0){const s=Se(t,f),d=ae.get(s);if(d){if(performance.now()<d.ttl&&["default","force-cache","only-if-cached",void 0].includes(f==null?void 0:f.cache))return new Response(d.body,d.init);ae.delete(s)}}return window.fetch(r,f)}function Se(t,r){let s=`script[data-sveltekit-fetched][data-url=${JSON.stringify(t instanceof Request?t.url:t)}]`;if(r!=null&&r.headers||r!=null&&r.body){const d=[];r.headers&&d.push([...new Headers(r.headers)].join(",")),r.body&&(typeof r.body=="string"||ArrayBuffer.isView(r.body))&&d.push(r.body),s+=`[data-hash="${it(...d)}"]`}return s}const lt=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function ft(t){const r=[];return{pattern:t==="/"?/^\/$/:new RegExp(`^${dt(t).map(s=>{const d=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(s);if(d)return r.push({name:d[1],matcher:d[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const u=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(s);if(u)return r.push({name:u[1],matcher:u[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!s)return;const E=s.split(/\[(.+?)\](?!\])/);return"/"+E.map((g,m)=>{if(m%2){if(g.startsWith("x+"))return ve(String.fromCharCode(parseInt(g.slice(2),16)));if(g.startsWith("u+"))return ve(String.fromCharCode(...g.slice(2).split("-").map(U=>parseInt(U,16))));const h=lt.exec(g);if(!h)throw new Error(`Invalid param: ${g}. Params and matcher names can only have underscores and alphanumeric characters.`);const[,x,j,k,N]=h;return r.push({name:k,matcher:N,optional:!!x,rest:!!j,chained:j?m===1&&E[0]==="":!1}),j?"(.*?)":x?"([^/]*)?":"([^/]+?)"}return ve(g)}).join("")}).join("")}/?$`),params:r}}function ut(t){return!/^\([^)]+\)$/.test(t)}function dt(t){return t.slice(1).split("/").filter(ut)}function pt(t,r,f){const s={},d=t.slice(1),u=d.filter(l=>l!==void 0);let E=0;for(let l=0;l<r.length;l+=1){const g=r[l];let m=d[l-E];if(g.chained&&g.rest&&E&&(m=d.slice(l-E,l+1).filter(h=>h).join("/"),E=0),m===void 0){g.rest&&(s[g.name]="");continue}if(!g.matcher||f[g.matcher](m)){s[g.name]=m;const h=r[l+1],x=d[l+1];h&&!h.rest&&h.optional&&x&&g.chained&&(E=0),!h&&!x&&Object.keys(s).length===u.length&&(E=0);continue}if(g.optional&&g.chained){E++;continue}return}if(!E)return s}function ve(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function ht({nodes:t,server_loads:r,dictionary:f,matchers:s}){const d=new Set(r);return Object.entries(f).map(([l,[g,m,h]])=>{const{pattern:x,params:j}=ft(l),k={id:l,exec:N=>{const U=x.exec(N);if(U)return pt(U,j,s)},errors:[1,...h||[]].map(N=>t[N]),layouts:[0,...m||[]].map(E),leaf:u(g)};return k.errors.length=k.layouts.length=Math.max(k.errors.length,k.layouts.length),k});function u(l){const g=l<0;return g&&(l=~l),[g,t[l]]}function E(l){return l===void 0?l:[d.has(l),t[l]]}}function Ke(t){try{return JSON.parse(sessionStorage[t])}catch{}}function Ve(t,r){const f=JSON.stringify(r);try{sessionStorage[t]=f}catch{}}const gt=-1,mt=-2,wt=-3,_t=-4,yt=-5,vt=-6;function bt(t,r){if(typeof t=="number")return d(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const f=t,s=Array(f.length);function d(u,E=!1){if(u===gt)return;if(u===wt)return NaN;if(u===_t)return 1/0;if(u===yt)return-1/0;if(u===vt)return-0;if(E)throw new Error("Invalid input");if(u in s)return s[u];const l=f[u];if(!l||typeof l!="object")s[u]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const g=l[0],m=r==null?void 0:r[g];if(m)return s[u]=m(d(l[1]));switch(g){case"Date":s[u]=new Date(l[1]);break;case"Set":const h=new Set;s[u]=h;for(let k=1;k<l.length;k+=1)h.add(d(l[k]));break;case"Map":const x=new Map;s[u]=x;for(let k=1;k<l.length;k+=2)x.set(d(l[k]),d(l[k+1]));break;case"RegExp":s[u]=new RegExp(l[1],l[2]);break;case"Object":s[u]=Object(l[1]);break;case"BigInt":s[u]=BigInt(l[1]);break;case"null":const j=Object.create(null);s[u]=j;for(let k=1;k<l.length;k+=2)j[l[k]]=d(l[k+1]);break;default:throw new Error(`Unknown type ${g}`)}}else{const g=new Array(l.length);s[u]=g;for(let m=0;m<l.length;m+=1){const h=l[m];h!==mt&&(g[m]=d(h))}}else{const g={};s[u]=g;for(const m in l){const h=l[m];g[m]=d(h)}}return s[u]}return d(0)}function Et(t){return t.filter(r=>r!=null)}const ze=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...ze];const St=new Set([...ze]);[...St];async function kt(t){var r;for(const f in t)if(typeof((r=t[f])==null?void 0:r.then)=="function")return Object.fromEntries(await Promise.all(Object.entries(t).map(async([s,d])=>[s,await d])));return t}class ne{constructor(r,f){this.status=r,typeof f=="string"?this.body={message:f}:f?this.body=f:this.body={message:`Error: ${r}`}}toString(){return JSON.stringify(this.body)}}class qe{constructor(r,f){this.status=r,this.location=f}}const Rt="x-sveltekit-invalidated",At="x-sveltekit-trailing-slash",K=Ke(Be)??{},ee=Ke(Ge)??{};function be(t){K[t]=te()}function It(t,r){var Ne;const f=ht(t),s=t.nodes[0],d=t.nodes[1];s(),d();const u=document.documentElement,E=[],l=[];let g=null;const m={before_navigate:[],on_navigate:[],after_navigate:[]};let h={branch:[],error:null,url:null},x=!1,j=!1,k=!0,N=!1,U=!1,H=!1,B=!1,V,D=(Ne=history.state)==null?void 0:Ne[M];D||(D=Date.now(),history.replaceState({...history.state,[M]:D},"",location.href));const fe=K[D];fe&&(history.scrollRestoration="manual",scrollTo(fe.x,fe.y));let q,z,Y;async function ke(){if(Y=Y||Promise.resolve(),await Y,!Y)return;Y=null;const e=new URL(location.href),i=Z(e,!0);g=null;const n=z={},o=i&&await pe(i);if(n===z&&o){if(o.type==="redirect")return re(new URL(o.location,e).href,{},1,n);o.props.page!==void 0&&(q=o.props.page),V.$set(o.props)}}function Re(e){l.some(i=>i==null?void 0:i.snapshot)&&(ee[e]=l.map(i=>{var n;return(n=i==null?void 0:i.snapshot)==null?void 0:n.capture()}))}function Ae(e){var i;(i=ee[e])==null||i.forEach((n,o)=>{var a,c;(c=(a=l[o])==null?void 0:a.snapshot)==null||c.restore(n)})}function Ie(){be(D),Ve(Be,K),Re(D),Ve(Ge,ee)}async function re(e,{noScroll:i=!1,replaceState:n=!1,keepFocus:o=!1,state:a={},invalidateAll:c=!1},p,v){return typeof e=="string"&&(e=new URL(e,De(document))),ce({url:e,scroll:i?te():null,keepfocus:o,redirect_count:p,details:{state:a,replaceState:n},nav_token:v,accepted:()=>{c&&(B=!0)},blocked:()=>{},type:"goto"})}async function Le(e){return g={id:e.id,promise:pe(e).then(i=>(i.type==="loaded"&&i.state.error&&(g=null),i))},g.promise}async function oe(...e){const n=f.filter(o=>e.some(a=>o.exec(a))).map(o=>Promise.all([...o.layouts,o.leaf].map(a=>a==null?void 0:a[1]())));await Promise.all(n)}function Pe(e){var o;h=e.state;const i=document.querySelector("style[data-sveltekit]");i&&i.remove(),q=e.props.page,V=new t.root({target:r,props:{...e.props,stores:F,components:l},hydrate:!0}),Ae(D);const n={from:null,to:{params:h.params,route:{id:((o=h.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};m.after_navigate.forEach(a=>a(n)),j=!0}async function X({url:e,params:i,branch:n,status:o,error:a,route:c,form:p}){let v="never";for(const _ of n)(_==null?void 0:_.slash)!==void 0&&(v=_.slash);e.pathname=Ze(e.pathname,v),e.search=e.search;const b={type:"loaded",state:{url:e,params:i,branch:n,error:a,route:c},props:{constructors:Et(n).map(_=>_.node.component)}};p!==void 0&&(b.props.form=p);let y={},L=!q,A=0;for(let _=0;_<Math.max(n.length,h.branch.length);_+=1){const w=n[_],O=h.branch[_];(w==null?void 0:w.data)!==(O==null?void 0:O.data)&&(L=!0),w&&(y={...y,...w.data},L&&(b.props[`data_${A}`]=y),A+=1)}return(!h.url||e.href!==h.url.href||h.error!==a||p!==void 0&&p!==q.form||L)&&(b.props.page={error:a,params:i,route:{id:(c==null?void 0:c.id)??null},status:o,url:new URL(e),form:p??null,data:L?y:q.data}),b}async function ue({loader:e,parent:i,url:n,params:o,route:a,server_data_node:c}){var y,L,A;let p=null;const v={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1},b=await e();if((y=b.universal)!=null&&y.load){let P=function(...w){for(const O of w){const{href:$}=new URL(O,n);v.dependencies.add($)}};const _={route:new Proxy(a,{get:(w,O)=>(v.route=!0,w[O])}),params:new Proxy(o,{get:(w,O)=>(v.params.add(O),w[O])}),data:(c==null?void 0:c.data)??null,url:nt(n,()=>{v.url=!0}),async fetch(w,O){let $;w instanceof Request?($=w.url,O={body:w.method==="GET"||w.method==="HEAD"?void 0:await w.blob(),cache:w.cache,credentials:w.credentials,headers:w.headers,integrity:w.integrity,keepalive:w.keepalive,method:w.method,mode:w.mode,redirect:w.redirect,referrer:w.referrer,referrerPolicy:w.referrerPolicy,signal:w.signal,...O}):$=w;const C=new URL($,n);return P(C.href),C.origin===n.origin&&($=C.href.slice(n.origin.length)),j?ct($,C.href,O):st($,O)},setHeaders:()=>{},depends:P,parent(){return v.parent=!0,i()}};p=await b.universal.load.call(null,_)??null,p=p?await kt(p):null}return{node:b,loader:e,server:c,universal:(L=b.universal)!=null&&L.load?{type:"data",data:p,uses:v}:null,data:p??(c==null?void 0:c.data)??null,slash:((A=b.universal)==null?void 0:A.trailingSlash)??(c==null?void 0:c.slash)}}function Oe(e,i,n,o,a){if(B)return!0;if(!o)return!1;if(o.parent&&e||o.route&&i||o.url&&n)return!0;for(const c of o.params)if(a[c]!==h.params[c])return!0;for(const c of o.dependencies)if(E.some(p=>p(new URL(c))))return!0;return!1}function de(e,i){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?i??null:null}async function pe({id:e,invalidating:i,url:n,params:o,route:a}){if((g==null?void 0:g.id)===e)return g.promise;const{errors:c,layouts:p,leaf:v}=a,b=[...p,v];c.forEach(S=>S==null?void 0:S().catch(()=>{})),b.forEach(S=>S==null?void 0:S[1]().catch(()=>{}));let y=null;const L=h.url?e!==h.url.pathname+h.url.search:!1,A=h.route?a.id!==h.route.id:!1;let P=!1;const _=b.map((S,I)=>{var G;const R=h.branch[I],T=!!(S!=null&&S[0])&&((R==null?void 0:R.loader)!==S[1]||Oe(P,A,L,(G=R.server)==null?void 0:G.uses,o));return T&&(P=!0),T});if(_.some(Boolean)){try{y=await Fe(n,_)}catch(S){return ie({status:S instanceof ne?S.status:500,error:await Q(S,{url:n,params:o,route:{id:a.id}}),url:n,route:a})}if(y.type==="redirect")return y}const w=y==null?void 0:y.nodes;let O=!1;const $=b.map(async(S,I)=>{var he;if(!S)return;const R=h.branch[I],T=w==null?void 0:w[I];if((!T||T.type==="skip")&&S[1]===(R==null?void 0:R.loader)&&!Oe(O,A,L,(he=R.universal)==null?void 0:he.uses,o))return R;if(O=!0,(T==null?void 0:T.type)==="error")throw T;return ue({loader:S[1],url:n,params:o,route:a,parent:async()=>{var Te;const $e={};for(let ge=0;ge<I;ge+=1)Object.assign($e,(Te=await $[ge])==null?void 0:Te.data);return $e},server_data_node:de(T===void 0&&S[0]?{type:"skip"}:T??null,S[0]?R==null?void 0:R.server:void 0)})});for(const S of $)S.catch(()=>{});const C=[];for(let S=0;S<b.length;S+=1)if(b[S])try{C.push(await $[S])}catch(I){if(I instanceof qe)return{type:"redirect",location:I.location};let R=500,T;if(w!=null&&w.includes(I))R=I.status??R,T=I.error;else if(I instanceof ne)R=I.status,T=I.body;else{if(await F.updated.check())return await W(n);T=await Q(I,{params:o,url:n,route:{id:a.id}})}const G=await Ue(S,C,c);return G?await X({url:n,params:o,branch:C.slice(0,G.idx).concat(G.node),status:R,error:T,route:a}):await je(n,{id:a.id},T,R)}else C.push(void 0);return await X({url:n,params:o,branch:C,status:200,error:null,route:a,form:i?void 0:null})}async function Ue(e,i,n){for(;e--;)if(n[e]){let o=e;for(;!i[o];)o-=1;try{return{idx:o+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function ie({status:e,error:i,url:n,route:o}){const a={};let c=null;if(t.server_loads[0]===0)try{const y=await Fe(n,[!0]);if(y.type!=="data"||y.nodes[0]&&y.nodes[0].type!=="data")throw 0;c=y.nodes[0]??null}catch{(n.origin!==location.origin||n.pathname!==location.pathname||x)&&await W(n)}const v=await ue({loader:s,url:n,params:a,route:o,parent:()=>Promise.resolve({}),server_data_node:de(c)}),b={node:await d(),loader:d,universal:null,server:null,data:null};return await X({url:n,params:a,branch:[v,b],status:e,error:i,route:null})}function Z(e,i){if(ye(e,J))return;const n=se(e);for(const o of f){const a=o.exec(n);if(a)return{id:e.pathname+e.search,invalidating:i,route:o,params:et(a),url:e}}}function se(e){return Qe(e.pathname.slice(J.length)||"/")}function xe({url:e,type:i,intent:n,delta:o}){let a=!1;const c=He(h,n,e,i);o!==void 0&&(c.navigation.delta=o);const p={...c.navigation,cancel:()=>{a=!0,c.reject(new Error("navigation was cancelled"))}};return U||m.before_navigate.forEach(v=>v(p)),a?null:c}async function ce({url:e,scroll:i,keepfocus:n,redirect_count:o,details:a,type:c,delta:p,nav_token:v={},accepted:b,blocked:y}){var $,C,S;const L=Z(e,!1),A=xe({url:e,type:c,delta:p,intent:L});if(!A){y();return}const P=D;b(),U=!0,j&&F.navigating.set(A.navigation),z=v;let _=L&&await pe(L);if(!_){if(ye(e,J))return await W(e);_=await je(e,{id:null},await Q(new Error(`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404)}if(e=(L==null?void 0:L.url)||e,z!==v)return A.reject(new Error("navigation was aborted")),!1;if(_.type==="redirect")if(o>=20)_=await ie({status:500,error:await Q(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}});else return re(new URL(_.location,e).href,{},o+1,v),!1;else(($=_.props.page)==null?void 0:$.status)>=400&&await F.updated.check()&&await W(e);if(E.length=0,B=!1,N=!0,be(P),Re(P),(C=_.props.page)!=null&&C.url&&_.props.page.url.pathname!==e.pathname&&(e.pathname=(S=_.props.page)==null?void 0:S.url.pathname),a){const I=a.replaceState?0:1;if(a.state[M]=D+=I,history[a.replaceState?"replaceState":"pushState"](a.state,"",e),!a.replaceState){let R=D+1;for(;ee[R]||K[R];)delete ee[R],delete K[R],R+=1}}if(g=null,j){h=_.state,_.props.page&&(_.props.page.url=e);const I=(await Promise.all(m.on_navigate.map(R=>R(A.navigation)))).filter(R=>typeof R=="function");if(I.length>0){let R=function(){m.after_navigate=m.after_navigate.filter(T=>!I.includes(T))};I.push(R),m.after_navigate.push(...I)}V.$set(_.props)}else Pe(_);const{activeElement:w}=document;if(await we(),k){const I=e.hash&&document.getElementById(decodeURIComponent(e.hash.slice(1)));i?scrollTo(i.x,i.y):I?I.scrollIntoView():scrollTo(0,0)}const O=document.activeElement!==w&&document.activeElement!==document.body;!n&&!O&&Ee(),k=!0,_.props.page&&(q=_.props.page),U=!1,c==="popstate"&&Ae(D),A.fulfil(void 0),m.after_navigate.forEach(I=>I(A.navigation)),F.navigating.set(null),N=!1}async function je(e,i,n,o){return e.origin===location.origin&&e.pathname===location.pathname&&!x?await ie({status:o,error:n,url:e,route:i}):await W(e)}function W(e){return location.href=e.href,new Promise(()=>{})}function Ye(){let e;u.addEventListener("mousemove",c=>{const p=c.target;clearTimeout(e),e=setTimeout(()=>{o(p,2)},20)});function i(c){o(c.composedPath()[0],1)}u.addEventListener("mousedown",i),u.addEventListener("touchstart",i,{passive:!0});const n=new IntersectionObserver(c=>{for(const p of c)p.isIntersecting&&(oe(se(new URL(p.target.href))),n.unobserve(p.target))},{threshold:0});function o(c,p){const v=Ce(c,u);if(!v)return;const{url:b,external:y,download:L}=_e(v,J);if(y||L)return;const A=le(v);if(!A.reload)if(p<=A.preload_data){const P=Z(b,!1);P&&Le(P)}else p<=A.preload_code&&oe(se(b))}function a(){n.disconnect();for(const c of u.querySelectorAll("a")){const{url:p,external:v,download:b}=_e(c,J);if(v||b)continue;const y=le(c);y.reload||(y.preload_code===Me.viewport&&n.observe(c),y.preload_code===Me.eager&&oe(se(p)))}}m.after_navigate.push(a),a()}function Q(e,i){return e instanceof ne?e.body:t.hooks.handleError({error:e,event:i})??{message:i.route.id!=null?"Internal Error":"Not Found"}}return{after_navigate:e=>{me(()=>(m.after_navigate.push(e),()=>{const i=m.after_navigate.indexOf(e);m.after_navigate.splice(i,1)}))},before_navigate:e=>{me(()=>(m.before_navigate.push(e),()=>{const i=m.before_navigate.indexOf(e);m.before_navigate.splice(i,1)}))},on_navigate:e=>{me(()=>(m.on_navigate.push(e),()=>{const i=m.on_navigate.indexOf(e);m.on_navigate.splice(i,1)}))},disable_scroll_handling:()=>{(N||!j)&&(k=!1)},goto:(e,i={})=>re(e,i,0),invalidate:e=>{if(typeof e=="function")E.push(e);else{const{href:i}=new URL(e,location.href);E.push(n=>n.href===i)}return ke()},invalidate_all:()=>(B=!0,ke()),preload_data:async e=>{const i=new URL(e,De(document)),n=Z(i,!1);if(!n)throw new Error(`Attempted to preload a URL that does not belong to this app: ${i}`);await Le(n)},preload_code:oe,apply_action:async e=>{if(e.type==="error"){const i=new URL(location.href),{branch:n,route:o}=h;if(!o)return;const a=await Ue(h.branch.length,n,o.errors);if(a){const c=await X({url:i,params:h.params,branch:n.slice(0,a.idx).concat(a.node),status:e.status??500,error:e.error,route:o});h=c.state,V.$set(c.props),we().then(Ee)}}else e.type==="redirect"?re(e.location,{invalidateAll:!0},0):(V.$set({form:null,page:{...q,form:e.data,status:e.status}}),await we(),V.$set({form:e.data}),e.type==="success"&&Ee())},_start_router:()=>{var i;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let o=!1;if(Ie(),!U){const a=He(h,void 0,null,"leave"),c={...a.navigation,cancel:()=>{o=!0,a.reject(new Error("navigation was cancelled"))}};m.before_navigate.forEach(p=>p(c))}o?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ie()}),(i=navigator.connection)!=null&&i.saveData||Ye(),u.addEventListener("click",n=>{var P;if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const o=Ce(n.composedPath()[0],u);if(!o)return;const{url:a,external:c,target:p,download:v}=_e(o,J);if(!a)return;if(p==="_parent"||p==="_top"){if(window.parent!==window)return}else if(p&&p!=="_self")return;const b=le(o);if(!(o instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||v)return;if(c||b.reload){xe({url:a,type:"link"})?U=!0:n.preventDefault();return}const[L,A]=a.href.split("#");if(A!==void 0&&L===location.href.split("#")[0]){if(h.url.hash===a.hash){n.preventDefault(),(P=o.ownerDocument.getElementById(A))==null||P.scrollIntoView();return}if(H=!0,be(D),e(a),!b.replace_state)return;H=!1,n.preventDefault()}ce({url:a,scroll:b.noscroll?te():null,keepfocus:b.keep_focus??!1,redirect_count:0,details:{state:{},replaceState:b.replace_state??a.href===location.href},accepted:()=>n.preventDefault(),blocked:()=>n.preventDefault(),type:"link"})}),u.addEventListener("submit",n=>{if(n.defaultPrevented)return;const o=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formMethod)||o.method)!=="get")return;const p=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||o.action);if(ye(p,J))return;const v=n.target,{keep_focus:b,noscroll:y,reload:L,replace_state:A}=le(v);if(L)return;n.preventDefault(),n.stopPropagation();const P=new FormData(v),_=a==null?void 0:a.getAttribute("name");_&&P.append(_,(a==null?void 0:a.getAttribute("value"))??""),p.search=new URLSearchParams(P).toString(),ce({url:p,scroll:y?te():null,keepfocus:b??!1,redirect_count:0,details:{state:{},replaceState:A??p.href===location.href},nav_token:{},accepted:()=>{},blocked:()=>{},type:"form"})}),addEventListener("popstate",async n=>{var o;if(z={},(o=n.state)!=null&&o[M]){if(n.state[M]===D)return;const a=K[n.state[M]],c=new URL(location.href);if(h.url.href.split("#")[0]===location.href.split("#")[0]){e(c),K[D]=te(),D=n.state[M],scrollTo(a.x,a.y);return}const p=n.state[M]-D;await ce({url:c,scroll:a,keepfocus:!1,redirect_count:0,details:null,accepted:()=>{D=n.state[M]},blocked:()=>{history.go(-p)},type:"popstate",delta:p,nav_token:z})}else if(!H){const a=new URL(location.href);e(a)}}),addEventListener("hashchange",()=>{H&&(H=!1,history.replaceState({...history.state,[M]:++D},"",location.href))});for(const n of document.querySelectorAll("link"))n.rel==="icon"&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&F.navigating.set(null)});function e(n){h.url=n,F.page.set({...q,url:n}),F.page.notify()}},_hydrate:async({status:e=200,error:i,node_ids:n,params:o,route:a,data:c,form:p})=>{x=!0;const v=new URL(location.href);({params:o={},route:a={id:null}}=Z(v,!1)||{});let b;try{const y=n.map(async(P,_)=>{const w=c[_];return w!=null&&w.uses&&(w.uses=We(w.uses)),ue({loader:t.nodes[P],url:v,params:o,route:a,parent:async()=>{const O={};for(let $=0;$<_;$+=1)Object.assign(O,(await y[$]).data);return O},server_data_node:de(w)})}),L=await Promise.all(y),A=f.find(({id:P})=>P===a.id);if(A){const P=A.layouts;for(let _=0;_<P.length;_++)P[_]||L.splice(_,0,void 0)}b=await X({url:v,params:o,branch:L,status:e,error:i,form:p,route:A??null})}catch(y){if(y instanceof qe){await W(new URL(y.location,location.href));return}b=await ie({status:y instanceof ne?y.status:500,error:await Q(y,{url:v,params:o,route:a}),url:v,route:a})}Pe(b)}}}async function Fe(t,r){const f=new URL(t);f.pathname=ot(t.pathname),t.pathname.endsWith("/")&&f.searchParams.append(At,"1"),f.searchParams.append(Rt,r.map(d=>d?"1":"0").join(""));const s=await Je(f.href);if(!s.ok)throw new ne(s.status,await s.json());return new Promise(async d=>{var h;const u=new Map,E=s.body.getReader(),l=new TextDecoder;function g(x){return bt(x,{Promise:j=>new Promise((k,N)=>{u.set(j,{fulfil:k,reject:N})})})}let m="";for(;;){const{done:x,value:j}=await E.read();if(x&&!m)break;for(m+=!j&&m?`
2
  `:l.decode(j);;){const k=m.indexOf(`
3
  `);if(k===-1)break;const N=JSON.parse(m.slice(0,k));if(m=m.slice(k+1),N.type==="redirect")return d(N);if(N.type==="data")(h=N.nodes)==null||h.forEach(U=>{(U==null?void 0:U.type)==="data"&&(U.uses=We(U.uses),U.data=g(U.data))}),d(N);else if(N.type==="chunk"){const{id:U,data:H,error:B}=N,V=u.get(U);u.delete(U),B?V.reject(g(B)):V.fulfil(g(H))}}}})}function We(t){return{dependencies:new Set((t==null?void 0:t.dependencies)??[]),params:new Set((t==null?void 0:t.params)??[]),parent:!!(t!=null&&t.parent),route:!!(t!=null&&t.route),url:!!(t!=null&&t.url)}}function Ee(){const t=document.querySelector("[autofocus]");if(t)t.focus();else{const r=document.body,f=r.getAttribute("tabindex");r.tabIndex=-1,r.focus({preventScroll:!0,focusVisible:!1}),f!==null?r.setAttribute("tabindex",f):r.removeAttribute("tabindex");const s=getSelection();if(s&&s.type!=="None"){const d=[];for(let u=0;u<s.rangeCount;u+=1)d.push(s.getRangeAt(u));setTimeout(()=>{if(s.rangeCount===d.length){for(let u=0;u<s.rangeCount;u+=1){const E=d[u],l=s.getRangeAt(u);if(E.commonAncestorContainer!==l.commonAncestorContainer||E.startContainer!==l.startContainer||E.endContainer!==l.endContainer||E.startOffset!==l.startOffset||E.endOffset!==l.endOffset)return}s.removeAllRanges()}})}}}function He(t,r,f,s){var g,m;let d,u;const E=new Promise((h,x)=>{d=h,u=x});return E.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((g=t.route)==null?void 0:g.id)??null},url:t.url},to:f&&{params:(r==null?void 0:r.params)??null,route:{id:((m=r==null?void 0:r.route)==null?void 0:m.id)??null},url:f},willUnload:!r,type:s,complete:E},fulfil:d,reject:u}}async function Ot(t,r,f){const s=It(t,r);Xe({client:s}),f?await s._hydrate(f):s.goto(location.href,{replaceState:!0}),s._start_router()}export{Ot as start};
svelte/build/_app/immutable/nodes/{1.136627b3.js β†’ 1.245d0a47.js} RENAMED
@@ -1 +1 @@
1
- import{s as x,n as _,e as S}from"../chunks/scheduler.63274e7e.js";import{S as j,i as q,g as f,m as d,s as y,h as g,j as h,n as v,f as u,c as C,a as m,x as $,o as E}from"../chunks/index.3abede45.js";import{d as H}from"../chunks/singletons.f85f0fc5.js";const P=()=>{const s=H;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},k={subscribe(s){return P().page.subscribe(s)}};function w(s){var b;let t,r=s[0].status+"",o,n,i,c=((b=s[0].error)==null?void 0:b.message)+"",l;return{c(){t=f("h1"),o=d(r),n=y(),i=f("p"),l=d(c)},l(e){t=g(e,"H1",{});var a=h(t);o=v(a,r),a.forEach(u),n=C(e),i=g(e,"P",{});var p=h(i);l=v(p,c),p.forEach(u)},m(e,a){m(e,t,a),$(t,o),m(e,n,a),m(e,i,a),$(i,l)},p(e,[a]){var p;a&1&&r!==(r=e[0].status+"")&&E(o,r),a&1&&c!==(c=((p=e[0].error)==null?void 0:p.message)+"")&&E(l,c)},i:_,o:_,d(e){e&&(u(t),u(n),u(i))}}}function z(s,t,r){let o;return S(s,k,n=>r(0,o=n)),[o]}let F=class extends j{constructor(t){super(),q(this,t,z,w,x,{})}};export{F as component};
 
1
+ import{s as x,n as _,e as S}from"../chunks/scheduler.63274e7e.js";import{S as j,i as q,g as f,m as d,s as y,h as g,j as h,n as v,f as u,c as C,a as m,x as $,o as E}from"../chunks/index.3abede45.js";import{d as H}from"../chunks/singletons.1a02eeb0.js";const P=()=>{const s=H;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},k={subscribe(s){return P().page.subscribe(s)}};function w(s){var b;let t,r=s[0].status+"",o,n,i,c=((b=s[0].error)==null?void 0:b.message)+"",l;return{c(){t=f("h1"),o=d(r),n=y(),i=f("p"),l=d(c)},l(e){t=g(e,"H1",{});var a=h(t);o=v(a,r),a.forEach(u),n=C(e),i=g(e,"P",{});var p=h(i);l=v(p,c),p.forEach(u)},m(e,a){m(e,t,a),$(t,o),m(e,n,a),m(e,i,a),$(i,l)},p(e,[a]){var p;a&1&&r!==(r=e[0].status+"")&&E(o,r),a&1&&c!==(c=((p=e[0].error)==null?void 0:p.message)+"")&&E(l,c)},i:_,o:_,d(e){e&&(u(t),u(n),u(i))}}}function z(s,t,r){let o;return S(s,k,n=>r(0,o=n)),[o]}let F=class extends j{constructor(t){super(),q(this,t,z,w,x,{})}};export{F as component};
svelte/build/_app/immutable/nodes/{2.563b1a5c.js β†’ 2.7c9cbce9.js} RENAMED
@@ -1,4 +1,4 @@
1
  import{s as safe_not_equal,f as src_url_equal,n as noop,r as run_all,o as onMount,b as binding_callbacks}from"../chunks/scheduler.63274e7e.js";import{S as SvelteComponent,i as init,g as element,s as space,m as text,h as claim_element,j as children,y as get_svelte_dataset,c as claim_space,f as detach,n as claim_text,k as attr,l as set_style,a as insert_hydration,x as append_hydration,z as listen,o as set_data,A as prevent_default}from"../chunks/index.3abede45.js";const lAudioContext=typeof AudioContext<"u"?AudioContext:typeof webkitAudioContext<"u"?webkitAudioContext:void 0;let wasm;const heap=new Array(128).fill(void 0);heap.push(void 0,null,!0,!1);function getObject(e){return heap[e]}let heap_next=heap.length;function dropObject(e){e<132||(heap[e]=heap_next,heap_next=e)}function takeObject(e){const t=getObject(e);return dropObject(e),t}function addHeapObject(e){heap_next===heap.length&&heap.push(heap.length+1);const t=heap_next;return heap_next=heap[t],heap[t]=e,t}const cachedTextDecoder=typeof TextDecoder<"u"?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};typeof TextDecoder<"u"&&cachedTextDecoder.decode();let cachedUint8Memory0=null;function getUint8Memory0(){return(cachedUint8Memory0===null||cachedUint8Memory0.byteLength===0)&&(cachedUint8Memory0=new Uint8Array(wasm.memory.buffer)),cachedUint8Memory0}function getStringFromWasm0(e,t){return e=e>>>0,cachedTextDecoder.decode(getUint8Memory0().subarray(e,e+t))}function isLikeNone(e){return e==null}let cachedFloat64Memory0=null;function getFloat64Memory0(){return(cachedFloat64Memory0===null||cachedFloat64Memory0.byteLength===0)&&(cachedFloat64Memory0=new Float64Array(wasm.memory.buffer)),cachedFloat64Memory0}let cachedInt32Memory0=null;function getInt32Memory0(){return(cachedInt32Memory0===null||cachedInt32Memory0.byteLength===0)&&(cachedInt32Memory0=new Int32Array(wasm.memory.buffer)),cachedInt32Memory0}let WASM_VECTOR_LEN=0;const cachedTextEncoder=typeof TextEncoder<"u"?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},encodeString=typeof cachedTextEncoder.encodeInto=="function"?function(e,t){return cachedTextEncoder.encodeInto(e,t)}:function(e,t){const r=cachedTextEncoder.encode(e);return t.set(r),{read:e.length,written:r.length}};function passStringToWasm0(e,t,r){if(r===void 0){const _=cachedTextEncoder.encode(e),a=t(_.length,1)>>>0;return getUint8Memory0().subarray(a,a+_.length).set(_),WASM_VECTOR_LEN=_.length,a}let n=e.length,c=t(n,1)>>>0;const b=getUint8Memory0();let o=0;for(;o<n;o++){const _=e.charCodeAt(o);if(_>127)break;b[c+o]=_}if(o!==n){o!==0&&(e=e.slice(o)),c=r(c,n,n=o+e.length*3,1)>>>0;const _=getUint8Memory0().subarray(c+o,c+n),a=encodeString(e,_);o+=a.written}return WASM_VECTOR_LEN=o,c}function debugString(e){const t=typeof e;if(t=="number"||t=="boolean"||e==null)return`${e}`;if(t=="string")return`"${e}"`;if(t=="symbol"){const c=e.description;return c==null?"Symbol":`Symbol(${c})`}if(t=="function"){const c=e.name;return typeof c=="string"&&c.length>0?`Function(${c})`:"Function"}if(Array.isArray(e)){const c=e.length;let b="[";c>0&&(b+=debugString(e[0]));for(let o=1;o<c;o++)b+=", "+debugString(e[o]);return b+="]",b}const r=/\[object ([^\]]+)\]/.exec(toString.call(e));let n;if(r.length>1)n=r[1];else return toString.call(e);if(n=="Object")try{return"Object("+JSON.stringify(e)+")"}catch{return"Object"}return e instanceof Error?`${e.name}: ${e.message}
2
  ${e.stack}`:n}function makeMutClosure(e,t,r,n){const c={a:e,b:t,cnt:1,dtor:r},b=(...o)=>{c.cnt++;const _=c.a;c.a=0;try{return n(_,c.b,...o)}finally{--c.cnt===0?wasm.__wbindgen_export_2.get(c.dtor)(_,c.b):c.a=_}};return b.original=c,b}function __wbg_adapter_34(e,t,r){wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h087aa75c2ef422bf(e,t,addHeapObject(r))}function __wbg_adapter_47(e,t){wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7b2cdb1004d79a48(e,t)}function __wbg_adapter_54(e,t,r){wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__haccacba5b48e204b(e,t,addHeapObject(r))}function __wbg_adapter_57(e,t){wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb967268334a36223(e,t)}function __wbg_adapter_60(e,t,r){wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h25604c97ab01cac0(e,t,addHeapObject(r))}function handleError(e,t){try{return e.apply(this,t)}catch(r){wasm.__wbindgen_exn_store(addHeapObject(r))}}let cachedFloat32Memory0=null;function getFloat32Memory0(){return(cachedFloat32Memory0===null||cachedFloat32Memory0.byteLength===0)&&(cachedFloat32Memory0=new Float32Array(wasm.memory.buffer)),cachedFloat32Memory0}function getArrayF32FromWasm0(e,t){return e=e>>>0,getFloat32Memory0().subarray(e/4,e/4+t)}function getArrayI32FromWasm0(e,t){return e=e>>>0,getInt32Memory0().subarray(e/4,e/4+t)}let cachedUint32Memory0=null;function getUint32Memory0(){return(cachedUint32Memory0===null||cachedUint32Memory0.byteLength===0)&&(cachedUint32Memory0=new Uint32Array(wasm.memory.buffer)),cachedUint32Memory0}function getArrayU32FromWasm0(e,t){return e=e>>>0,getUint32Memory0().subarray(e/4,e/4+t)}async function __wbg_load(e,t){if(typeof Response=="function"&&e instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(e,t)}catch(n){if(e.headers.get("Content-Type")!="application/wasm")console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",n);else throw n}const r=await e.arrayBuffer();return await WebAssembly.instantiate(r,t)}else{const r=await WebAssembly.instantiate(e,t);return r instanceof WebAssembly.Instance?{instance:r,module:e}:r}}function __wbg_get_imports(){const imports={};return imports.wbg={},imports.wbg.__wbindgen_object_drop_ref=function(e){takeObject(e)},imports.wbg.__wbindgen_cb_drop=function(e){const t=takeObject(e).original;return t.cnt--==1?(t.a=0,!0):!1},imports.wbg.__wbindgen_object_clone_ref=function(e){const t=getObject(e);return addHeapObject(t)},imports.wbg.__wbindgen_string_new=function(e,t){const r=getStringFromWasm0(e,t);return addHeapObject(r)},imports.wbg.__wbindgen_number_get=function(e,t){const r=getObject(t),n=typeof r=="number"?r:void 0;getFloat64Memory0()[e/8+1]=isLikeNone(n)?0:n,getInt32Memory0()[e/4+0]=!isLikeNone(n)},imports.wbg.__wbindgen_is_null=function(e){return getObject(e)===null},imports.wbg.__wbindgen_boolean_get=function(e){const t=getObject(e);return typeof t=="boolean"?t?1:0:2},imports.wbg.__wbindgen_string_get=function(e,t){const r=getObject(t),n=typeof r=="string"?r:void 0;var c=isLikeNone(n)?0:passStringToWasm0(n,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc),b=WASM_VECTOR_LEN;getInt32Memory0()[e/4+1]=b,getInt32Memory0()[e/4+0]=c},imports.wbg.__wbindgen_number_new=function(e){return addHeapObject(e)},imports.wbg.__wbg_log_c9486ca5d8e2cbe8=function(e,t){let r,n;try{r=e,n=t,console.log(getStringFromWasm0(e,t))}finally{wasm.__wbindgen_free(r,n,1)}},imports.wbg.__wbg_log_aba5996d9bde071f=function(e,t,r,n,c,b,o,_){let a,i;try{a=e,i=t,console.log(getStringFromWasm0(e,t),getStringFromWasm0(r,n),getStringFromWasm0(c,b),getStringFromWasm0(o,_))}finally{wasm.__wbindgen_free(a,i,1)}},imports.wbg.__wbg_mark_40e050a77cc39fea=function(e,t){performance.mark(getStringFromWasm0(e,t))},imports.wbg.__wbg_measure_aa7a73f17813f708=function(){return handleError(function(e,t,r,n){let c,b,o,_;try{c=e,b=t,o=r,_=n,performance.measure(getStringFromWasm0(e,t),getStringFromWasm0(r,n))}finally{wasm.__wbindgen_free(c,b,1),wasm.__wbindgen_free(o,_,1)}},arguments)},imports.wbg.__wbg_new_abda76e883ba8a5f=function(){const e=new Error;return addHeapObject(e)},imports.wbg.__wbg_stack_658279fe44541cf6=function(e,t){const r=getObject(t).stack,n=passStringToWasm0(r,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc),c=WASM_VECTOR_LEN;getInt32Memory0()[e/4+1]=c,getInt32Memory0()[e/4+0]=n},imports.wbg.__wbg_error_f851667af71bcfc6=function(e,t){let r,n;try{r=e,n=t,console.error(getStringFromWasm0(e,t))}finally{wasm.__wbindgen_free(r,n,1)}},imports.wbg.__wbg_instanceof_WebGl2RenderingContext_f921526c513bf717=function(e){let t;try{t=getObject(e)instanceof WebGL2RenderingContext}catch{t=!1}return t},imports.wbg.__wbg_beginQuery_d338463adf721553=function(e,t,r){getObject(e).beginQuery(t>>>0,getObject(r))},imports.wbg.__wbg_bindBufferRange_d8a5ebc8ea8be507=function(e,t,r,n,c,b){getObject(e).bindBufferRange(t>>>0,r>>>0,getObject(n),c,b)},imports.wbg.__wbg_bindSampler_d74e398b68cf5980=function(e,t,r){getObject(e).bindSampler(t>>>0,getObject(r))},imports.wbg.__wbg_bindVertexArray_8863a216d7b0a339=function(e,t){getObject(e).bindVertexArray(getObject(t))},imports.wbg.__wbg_blitFramebuffer_e6642748dd06d47e=function(e,t,r,n,c,b,o,_,a,i,g){getObject(e).blitFramebuffer(t,r,n,c,b,o,_,a,i>>>0,g>>>0)},imports.wbg.__wbg_bufferData_496bbb31639d9850=function(e,t,r,n){getObject(e).bufferData(t>>>0,r,n>>>0)},imports.wbg.__wbg_bufferData_21334671c4ba6004=function(e,t,r,n){getObject(e).bufferData(t>>>0,getObject(r),n>>>0)},imports.wbg.__wbg_bufferSubData_c472b93c9e272eac=function(e,t,r,n){getObject(e).bufferSubData(t>>>0,r,getObject(n))},imports.wbg.__wbg_clearBufferfi_25bcd35b825f629d=function(e,t,r,n,c){getObject(e).clearBufferfi(t>>>0,r,n,c)},imports.wbg.__wbg_clearBufferfv_9de0cb45cc5a012b=function(e,t,r,n,c){getObject(e).clearBufferfv(t>>>0,r,getArrayF32FromWasm0(n,c))},imports.wbg.__wbg_clearBufferiv_fc2f8bce2930c586=function(e,t,r,n,c){getObject(e).clearBufferiv(t>>>0,r,getArrayI32FromWasm0(n,c))},imports.wbg.__wbg_clearBufferuiv_2f6d220a31eabca4=function(e,t,r,n,c){getObject(e).clearBufferuiv(t>>>0,r,getArrayU32FromWasm0(n,c))},imports.wbg.__wbg_clientWaitSync_6a74725ec890efdd=function(e,t,r,n){return getObject(e).clientWaitSync(getObject(t),r>>>0,n>>>0)},imports.wbg.__wbg_compressedTexSubImage2D_945ba54869f3a612=function(e,t,r,n,c,b,o,_,a,i){getObject(e).compressedTexSubImage2D(t>>>0,r,n,c,b,o,_>>>0,a,i)},imports.wbg.__wbg_compressedTexSubImage2D_ed56fa2f82a839b1=function(e,t,r,n,c,b,o,_,a){getObject(e).compressedTexSubImage2D(t>>>0,r,n,c,b,o,_>>>0,getObject(a))},imports.wbg.__wbg_compressedTexSubImage3D_4cebeae1440fdc14=function(e,t,r,n,c,b,o,_,a,i,g,s){getObject(e).compressedTexSubImage3D(t>>>0,r,n,c,b,o,_,a,i>>>0,g,s)},imports.wbg.__wbg_compressedTexSubImage3D_0ae61aaa91089745=function(e,t,r,n,c,b,o,_,a,i,g){getObject(e).compressedTexSubImage3D(t>>>0,r,n,c,b,o,_,a,i>>>0,getObject(g))},imports.wbg.__wbg_copyBufferSubData_d112912c90270156=function(e,t,r,n,c,b){getObject(e).copyBufferSubData(t>>>0,r>>>0,n,c,b)},imports.wbg.__wbg_copyTexSubImage3D_9fa5e9e7b16cf09d=function(e,t,r,n,c,b,o,_,a,i){getObject(e).copyTexSubImage3D(t>>>0,r,n,c,b,o,_,a,i)},imports.wbg.__wbg_createQuery_2ef2dc0f01a4a8e3=function(e){const t=getObject(e).createQuery();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_createSampler_039ecd204675292b=function(e){const t=getObject(e).createSampler();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_createVertexArray_51d51e1e1e13e9f6=function(e){const t=getObject(e).createVertexArray();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_deleteQuery_0c64c5200cdc57a6=function(e,t){getObject(e).deleteQuery(getObject(t))},imports.wbg.__wbg_deleteSampler_ce5b8e120f96fc1a=function(e,t){getObject(e).deleteSampler(getObject(t))},imports.wbg.__wbg_deleteSync_1b05dfcc176e7466=function(e,t){getObject(e).deleteSync(getObject(t))},imports.wbg.__wbg_deleteVertexArray_3e4f2e2ff7f05a19=function(e,t){getObject(e).deleteVertexArray(getObject(t))},imports.wbg.__wbg_drawArraysInstanced_8fb13fe9faf95212=function(e,t,r,n,c){getObject(e).drawArraysInstanced(t>>>0,r,n,c)},imports.wbg.__wbg_drawBuffers_15d26e17a8d24ee0=function(e,t){getObject(e).drawBuffers(getObject(t))},imports.wbg.__wbg_drawElementsInstanced_dcf53461a977d44c=function(e,t,r,n,c,b){getObject(e).drawElementsInstanced(t>>>0,r,n>>>0,c,b)},imports.wbg.__wbg_endQuery_faf7eb231d6f2a66=function(e,t){getObject(e).endQuery(t>>>0)},imports.wbg.__wbg_fenceSync_d68dcbdcdd134d92=function(e,t,r){const n=getObject(e).fenceSync(t>>>0,r>>>0);return isLikeNone(n)?0:addHeapObject(n)},imports.wbg.__wbg_framebufferTextureLayer_a92788e5f0409234=function(e,t,r,n,c,b){getObject(e).framebufferTextureLayer(t>>>0,r>>>0,getObject(n),c,b)},imports.wbg.__wbg_getBufferSubData_8710cc73621fc332=function(e,t,r,n){getObject(e).getBufferSubData(t>>>0,r,getObject(n))},imports.wbg.__wbg_getIndexedParameter_4f004dc25c3d15a9=function(){return handleError(function(e,t,r){const n=getObject(e).getIndexedParameter(t>>>0,r>>>0);return addHeapObject(n)},arguments)},imports.wbg.__wbg_getQueryParameter_64c18ef385414bf1=function(e,t,r){const n=getObject(e).getQueryParameter(getObject(t),r>>>0);return addHeapObject(n)},imports.wbg.__wbg_getSyncParameter_d93ec7f6bb11274c=function(e,t,r){const n=getObject(e).getSyncParameter(getObject(t),r>>>0);return addHeapObject(n)},imports.wbg.__wbg_getUniformBlockIndex_99c15053c9a87c73=function(e,t,r,n){return getObject(e).getUniformBlockIndex(getObject(t),getStringFromWasm0(r,n))},imports.wbg.__wbg_invalidateFramebuffer_03bd99588b15d627=function(){return handleError(function(e,t,r){getObject(e).invalidateFramebuffer(t>>>0,getObject(r))},arguments)},imports.wbg.__wbg_readBuffer_c426fe18344296ff=function(e,t){getObject(e).readBuffer(t>>>0)},imports.wbg.__wbg_readPixels_99fda83f6ca7ec72=function(){return handleError(function(e,t,r,n,c,b,o,_){getObject(e).readPixels(t,r,n,c,b>>>0,o>>>0,getObject(_))},arguments)},imports.wbg.__wbg_readPixels_9634f0dcfb54667c=function(){return handleError(function(e,t,r,n,c,b,o,_){getObject(e).readPixels(t,r,n,c,b>>>0,o>>>0,_)},arguments)},imports.wbg.__wbg_renderbufferStorageMultisample_9260e2e620c949e5=function(e,t,r,n,c,b){getObject(e).renderbufferStorageMultisample(t>>>0,r,n>>>0,c,b)},imports.wbg.__wbg_samplerParameterf_1c7562ef061b803b=function(e,t,r,n){getObject(e).samplerParameterf(getObject(t),r>>>0,n)},imports.wbg.__wbg_samplerParameteri_0fee083bc48e70ee=function(e,t,r,n){getObject(e).samplerParameteri(getObject(t),r>>>0,n)},imports.wbg.__wbg_texStorage2D_6665d01025a7e7fc=function(e,t,r,n,c,b){getObject(e).texStorage2D(t>>>0,r,n>>>0,c,b)},imports.wbg.__wbg_texStorage3D_c01c31c1b02d75fd=function(e,t,r,n,c,b,o){getObject(e).texStorage3D(t>>>0,r,n>>>0,c,b,o)},imports.wbg.__wbg_texSubImage2D_d2841ded12a8aa66=function(){return handleError(function(e,t,r,n,c,b,o,_,a,i){getObject(e).texSubImage2D(t>>>0,r,n,c,b,o,_>>>0,a>>>0,getObject(i))},arguments)},imports.wbg.__wbg_texSubImage2D_bccf4e250f1ce1b8=function(){return handleError(function(e,t,r,n,c,b,o,_,a,i){getObject(e).texSubImage2D(t>>>0,r,n,c,b,o,_>>>0,a>>>0,i)},arguments)},imports.wbg.__wbg_texSubImage2D_780a7c889dc20a98=function(){return handleError(function(e,t,r,n,c,b,o,_,a,i){getObject(e).texSubImage2D(t>>>0,r,n,c,b,o,_>>>0,a>>>0,getObject(i))},arguments)},imports.wbg.__wbg_texSubImage2D_b5bb36f2f54b4264=function(){return handleError(function(e,t,r,n,c,b,o,_,a,i){getObject(e).texSubImage2D(t>>>0,r,n,c,b,o,_>>>0,a>>>0,getObject(i))},arguments)},imports.wbg.__wbg_texSubImage2D_a297114050ea1098=function(){return handleError(function(e,t,r,n,c,b,o,_,a,i){getObject(e).texSubImage2D(t>>>0,r,n,c,b,o,_>>>0,a>>>0,getObject(i))},arguments)},imports.wbg.__wbg_texSubImage3D_43f39a73ed02fae3=function(){return handleError(function(e,t,r,n,c,b,o,_,a,i,g,s){getObject(e).texSubImage3D(t>>>0,r,n,c,b,o,_,a,i>>>0,g>>>0,s)},arguments)},imports.wbg.__wbg_texSubImage3D_ffdccca1422b482a=function(){return handleError(function(e,t,r,n,c,b,o,_,a,i,g,s){getObject(e).texSubImage3D(t>>>0,r,n,c,b,o,_,a,i>>>0,g>>>0,getObject(s))},arguments)},imports.wbg.__wbg_texSubImage3D_69d5e09d45e0251c=function(){return handleError(function(e,t,r,n,c,b,o,_,a,i,g,s){getObject(e).texSubImage3D(t>>>0,r,n,c,b,o,_,a,i>>>0,g>>>0,getObject(s))},arguments)},imports.wbg.__wbg_texSubImage3D_ae3ed5d0154c346c=function(){return handleError(function(e,t,r,n,c,b,o,_,a,i,g,s){getObject(e).texSubImage3D(t>>>0,r,n,c,b,o,_,a,i>>>0,g>>>0,getObject(s))},arguments)},imports.wbg.__wbg_texSubImage3D_80693fc2c7855e4d=function(){return handleError(function(e,t,r,n,c,b,o,_,a,i,g,s){getObject(e).texSubImage3D(t>>>0,r,n,c,b,o,_,a,i>>>0,g>>>0,getObject(s))},arguments)},imports.wbg.__wbg_uniform2fv_2b473f6dce24c898=function(e,t,r,n){getObject(e).uniform2fv(getObject(t),getArrayF32FromWasm0(r,n))},imports.wbg.__wbg_uniform2iv_fdaa3cd258d3451e=function(e,t,r,n){getObject(e).uniform2iv(getObject(t),getArrayI32FromWasm0(r,n))},imports.wbg.__wbg_uniform3fv_3e55033ca16ec6ab=function(e,t,r,n){getObject(e).uniform3fv(getObject(t),getArrayF32FromWasm0(r,n))},imports.wbg.__wbg_uniform3iv_3d3ed90c76e6777e=function(e,t,r,n){getObject(e).uniform3iv(getObject(t),getArrayI32FromWasm0(r,n))},imports.wbg.__wbg_uniform4fv_26ec0c9d7bf6d7c6=function(e,t,r,n){getObject(e).uniform4fv(getObject(t),getArrayF32FromWasm0(r,n))},imports.wbg.__wbg_uniform4iv_2be6b77c47b90d81=function(e,t,r,n){getObject(e).uniform4iv(getObject(t),getArrayI32FromWasm0(r,n))},imports.wbg.__wbg_uniformBlockBinding_0dc4bd81bb4ccb6a=function(e,t,r,n){getObject(e).uniformBlockBinding(getObject(t),r>>>0,n>>>0)},imports.wbg.__wbg_uniformMatrix2fv_1ab7aeb8562ea3dd=function(e,t,r,n,c){getObject(e).uniformMatrix2fv(getObject(t),r!==0,getArrayF32FromWasm0(n,c))},imports.wbg.__wbg_uniformMatrix3fv_0b151be4d76ee66b=function(e,t,r,n,c){getObject(e).uniformMatrix3fv(getObject(t),r!==0,getArrayF32FromWasm0(n,c))},imports.wbg.__wbg_uniformMatrix4fv_766b5ba343983038=function(e,t,r,n,c){getObject(e).uniformMatrix4fv(getObject(t),r!==0,getArrayF32FromWasm0(n,c))},imports.wbg.__wbg_vertexAttribDivisor_197e2e23e3fbde7f=function(e,t,r){getObject(e).vertexAttribDivisor(t>>>0,r>>>0)},imports.wbg.__wbg_vertexAttribIPointer_6f8540e358f8a547=function(e,t,r,n,c,b){getObject(e).vertexAttribIPointer(t>>>0,r,n>>>0,c,b)},imports.wbg.__wbg_activeTexture_799bf1387e911c27=function(e,t){getObject(e).activeTexture(t>>>0)},imports.wbg.__wbg_attachShader_47256b6b3d42a22e=function(e,t,r){getObject(e).attachShader(getObject(t),getObject(r))},imports.wbg.__wbg_bindBuffer_24f6010e273fa400=function(e,t,r){getObject(e).bindBuffer(t>>>0,getObject(r))},imports.wbg.__wbg_bindFramebuffer_a9573e340dab20fe=function(e,t,r){getObject(e).bindFramebuffer(t>>>0,getObject(r))},imports.wbg.__wbg_bindRenderbuffer_54c404711f9b6958=function(e,t,r){getObject(e).bindRenderbuffer(t>>>0,getObject(r))},imports.wbg.__wbg_bindTexture_92d6d7f8bff9531e=function(e,t,r){getObject(e).bindTexture(t>>>0,getObject(r))},imports.wbg.__wbg_blendColor_7974f09cb60d2be0=function(e,t,r,n,c){getObject(e).blendColor(t,r,n,c)},imports.wbg.__wbg_blendEquation_12146cb96dc1bcd9=function(e,t){getObject(e).blendEquation(t>>>0)},imports.wbg.__wbg_blendEquationSeparate_205526dad772d160=function(e,t,r){getObject(e).blendEquationSeparate(t>>>0,r>>>0)},imports.wbg.__wbg_blendFunc_533de6de45b80a09=function(e,t,r){getObject(e).blendFunc(t>>>0,r>>>0)},imports.wbg.__wbg_blendFuncSeparate_fbf93dee3e5ce456=function(e,t,r,n,c){getObject(e).blendFuncSeparate(t>>>0,r>>>0,n>>>0,c>>>0)},imports.wbg.__wbg_colorMask_fba1e2efd891e2ac=function(e,t,r,n,c){getObject(e).colorMask(t!==0,r!==0,n!==0,c!==0)},imports.wbg.__wbg_compileShader_6bf78b425d5c98e1=function(e,t){getObject(e).compileShader(getObject(t))},imports.wbg.__wbg_copyTexSubImage2D_26685100d5f2b4c0=function(e,t,r,n,c,b,o,_,a){getObject(e).copyTexSubImage2D(t>>>0,r,n,c,b,o,_,a)},imports.wbg.__wbg_createBuffer_323425af422748ac=function(e){const t=getObject(e).createBuffer();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_createFramebuffer_1684a99697ac9563=function(e){const t=getObject(e).createFramebuffer();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_createProgram_4eaf3b97b5747a62=function(e){const t=getObject(e).createProgram();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_createRenderbuffer_3e6dd356d7897ed7=function(e){const t=getObject(e).createRenderbuffer();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_createShader_429776c9dd6fb87b=function(e,t){const r=getObject(e).createShader(t>>>0);return isLikeNone(r)?0:addHeapObject(r)},imports.wbg.__wbg_createTexture_1bf4d6fec570124b=function(e){const t=getObject(e).createTexture();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_cullFace_6daa9f2aa42b4620=function(e,t){getObject(e).cullFace(t>>>0)},imports.wbg.__wbg_deleteBuffer_2c09d03fa4b0bd08=function(e,t){getObject(e).deleteBuffer(getObject(t))},imports.wbg.__wbg_deleteFramebuffer_edd16bb8df6a8e0d=function(e,t){getObject(e).deleteFramebuffer(getObject(t))},imports.wbg.__wbg_deleteProgram_53a32852f245b839=function(e,t){getObject(e).deleteProgram(getObject(t))},imports.wbg.__wbg_deleteRenderbuffer_134040051fcc1ba5=function(e,t){getObject(e).deleteRenderbuffer(getObject(t))},imports.wbg.__wbg_deleteShader_7c1222349324b5e2=function(e,t){getObject(e).deleteShader(getObject(t))},imports.wbg.__wbg_deleteTexture_4fcfea73cd8f6214=function(e,t){getObject(e).deleteTexture(getObject(t))},imports.wbg.__wbg_depthFunc_fb41ad353d07948d=function(e,t){getObject(e).depthFunc(t>>>0)},imports.wbg.__wbg_depthMask_6a4ff02cd2a2702e=function(e,t){getObject(e).depthMask(t!==0)},imports.wbg.__wbg_depthRange_a5647a9040aec55b=function(e,t,r){getObject(e).depthRange(t,r)},imports.wbg.__wbg_disable_e02106ca6c7002d6=function(e,t){getObject(e).disable(t>>>0)},imports.wbg.__wbg_disableVertexAttribArray_6d57776c8f642f44=function(e,t){getObject(e).disableVertexAttribArray(t>>>0)},imports.wbg.__wbg_drawArrays_c91ce3f736bf1f2a=function(e,t,r,n){getObject(e).drawArrays(t>>>0,r,n)},imports.wbg.__wbg_enable_195891416c520019=function(e,t){getObject(e).enable(t>>>0)},imports.wbg.__wbg_enableVertexAttribArray_8804480c2ea0bb72=function(e,t){getObject(e).enableVertexAttribArray(t>>>0)},imports.wbg.__wbg_framebufferRenderbuffer_3ec0983918c2b69d=function(e,t,r,n,c){getObject(e).framebufferRenderbuffer(t>>>0,r>>>0,n>>>0,getObject(c))},imports.wbg.__wbg_framebufferTexture2D_e88fcbd7f8523bb8=function(e,t,r,n,c,b){getObject(e).framebufferTexture2D(t>>>0,r>>>0,n>>>0,getObject(c),b)},imports.wbg.__wbg_frontFace_786a036f1d643925=function(e,t){getObject(e).frontFace(t>>>0)},imports.wbg.__wbg_getActiveUniform_78367ddc7339640b=function(e,t,r){const n=getObject(e).getActiveUniform(getObject(t),r>>>0);return isLikeNone(n)?0:addHeapObject(n)},imports.wbg.__wbg_getExtension_77909f6d51d49d4d=function(){return handleError(function(e,t,r){const n=getObject(e).getExtension(getStringFromWasm0(t,r));return isLikeNone(n)?0:addHeapObject(n)},arguments)},imports.wbg.__wbg_getParameter_55b36a787dbbfb74=function(){return handleError(function(e,t){const r=getObject(e).getParameter(t>>>0);return addHeapObject(r)},arguments)},imports.wbg.__wbg_getProgramInfoLog_b81bc53188e286fa=function(e,t,r){const n=getObject(t).getProgramInfoLog(getObject(r));var c=isLikeNone(n)?0:passStringToWasm0(n,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc),b=WASM_VECTOR_LEN;getInt32Memory0()[e/4+1]=b,getInt32Memory0()[e/4+0]=c},imports.wbg.__wbg_getProgramParameter_35522a0bfdfaad27=function(e,t,r){const n=getObject(e).getProgramParameter(getObject(t),r>>>0);return addHeapObject(n)},imports.wbg.__wbg_getShaderInfoLog_968b93e75477d725=function(e,t,r){const n=getObject(t).getShaderInfoLog(getObject(r));var c=isLikeNone(n)?0:passStringToWasm0(n,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc),b=WASM_VECTOR_LEN;getInt32Memory0()[e/4+1]=b,getInt32Memory0()[e/4+0]=c},imports.wbg.__wbg_getShaderParameter_ac2727ae4fe7648e=function(e,t,r){const n=getObject(e).getShaderParameter(getObject(t),r>>>0);return addHeapObject(n)},imports.wbg.__wbg_getSupportedExtensions_fafc31aab913037d=function(e){const t=getObject(e).getSupportedExtensions();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_getUniformLocation_9f6eb60c560a347b=function(e,t,r,n){const c=getObject(e).getUniformLocation(getObject(t),getStringFromWasm0(r,n));return isLikeNone(c)?0:addHeapObject(c)},imports.wbg.__wbg_linkProgram_33998194075d71fb=function(e,t){getObject(e).linkProgram(getObject(t))},imports.wbg.__wbg_pixelStorei_f3a24990aa352fc7=function(e,t,r){getObject(e).pixelStorei(t>>>0,r)},imports.wbg.__wbg_polygonOffset_faca8e73770272ff=function(e,t,r){getObject(e).polygonOffset(t,r)},imports.wbg.__wbg_renderbufferStorage_987d1af7c9faf5dd=function(e,t,r,n,c){getObject(e).renderbufferStorage(t>>>0,r>>>0,n,c)},imports.wbg.__wbg_scissor_e8e41e1c0a9817c8=function(e,t,r,n,c){getObject(e).scissor(t,r,n,c)},imports.wbg.__wbg_shaderSource_1cb7c64dc7d1a500=function(e,t,r,n){getObject(e).shaderSource(getObject(t),getStringFromWasm0(r,n))},imports.wbg.__wbg_stencilFuncSeparate_8ff94e24a50a3c45=function(e,t,r,n,c){getObject(e).stencilFuncSeparate(t>>>0,r>>>0,n,c>>>0)},imports.wbg.__wbg_stencilMask_641f92999dd3c3de=function(e,t){getObject(e).stencilMask(t>>>0)},imports.wbg.__wbg_stencilMaskSeparate_6b2c8ef22fb3b6d1=function(e,t,r){getObject(e).stencilMaskSeparate(t>>>0,r>>>0)},imports.wbg.__wbg_stencilOpSeparate_38925591af8feb44=function(e,t,r,n,c){getObject(e).stencilOpSeparate(t>>>0,r>>>0,n>>>0,c>>>0)},imports.wbg.__wbg_texParameteri_85dad939f62a15aa=function(e,t,r,n){getObject(e).texParameteri(t>>>0,r>>>0,n)},imports.wbg.__wbg_uniform1f_88379f4e2630bc66=function(e,t,r){getObject(e).uniform1f(getObject(t),r)},imports.wbg.__wbg_uniform1i_d2e61a6a43889648=function(e,t,r){getObject(e).uniform1i(getObject(t),r)},imports.wbg.__wbg_uniform4f_a9fd337d4b07f595=function(e,t,r,n,c,b){getObject(e).uniform4f(getObject(t),r,n,c,b)},imports.wbg.__wbg_useProgram_3683cf6f60939dcd=function(e,t){getObject(e).useProgram(getObject(t))},imports.wbg.__wbg_vertexAttribPointer_316ffe2f0458fde7=function(e,t,r,n,c,b,o){getObject(e).vertexAttribPointer(t>>>0,r,n>>>0,c!==0,b,o)},imports.wbg.__wbg_viewport_fad1ce9e18f741c0=function(e,t,r,n,c){getObject(e).viewport(t,r,n,c)},imports.wbg.__wbg_instanceof_Window_9029196b662bc42a=function(e){let t;try{t=getObject(e)instanceof Window}catch{t=!1}return t},imports.wbg.__wbg_document_f7ace2b956f30a4f=function(e){const t=getObject(e).document;return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_navigator_7c9103698acde322=function(e){const t=getObject(e).navigator;return addHeapObject(t)},imports.wbg.__wbg_innerWidth_ebe07ce5463ff293=function(){return handleError(function(e){const t=getObject(e).innerWidth;return addHeapObject(t)},arguments)},imports.wbg.__wbg_innerHeight_2dd06d8cf68f1d7d=function(){return handleError(function(e){const t=getObject(e).innerHeight;return addHeapObject(t)},arguments)},imports.wbg.__wbg_devicePixelRatio_f9de7bddca0eaf20=function(e){return getObject(e).devicePixelRatio},imports.wbg.__wbg_isSecureContext_4890500d265c48bd=function(e){return getObject(e).isSecureContext},imports.wbg.__wbg_matchMedia_12ef69056e32d0b3=function(){return handleError(function(e,t,r){const n=getObject(e).matchMedia(getStringFromWasm0(t,r));return isLikeNone(n)?0:addHeapObject(n)},arguments)},imports.wbg.__wbg_get_cb7c1c2da725c920=function(e,t,r){const n=getObject(e)[getStringFromWasm0(t,r)];return isLikeNone(n)?0:addHeapObject(n)},imports.wbg.__wbg_cancelAnimationFrame_9b68e9588c6543bc=function(){return handleError(function(e,t){getObject(e).cancelAnimationFrame(t)},arguments)},imports.wbg.__wbg_requestAnimationFrame_d082200514b6674d=function(){return handleError(function(e,t){return getObject(e).requestAnimationFrame(getObject(t))},arguments)},imports.wbg.__wbg_clearTimeout_220be2fa0577b342=function(e,t){getObject(e).clearTimeout(t)},imports.wbg.__wbg_fetch_25c13b73a41a6660=function(e,t,r){const n=getObject(e).fetch(getStringFromWasm0(t,r));return addHeapObject(n)},imports.wbg.__wbg_setTimeout_eb1a0d116c26d9f6=function(){return handleError(function(e,t,r){return getObject(e).setTimeout(getObject(t),r)},arguments)},imports.wbg.__wbg_clientX_1a480606ab0cabaa=function(e){return getObject(e).clientX},imports.wbg.__wbg_clientY_9c7878f7faf3900f=function(e){return getObject(e).clientY},imports.wbg.__wbg_offsetX_5a58f16f6c3a41b6=function(e){return getObject(e).offsetX},imports.wbg.__wbg_offsetY_c45b4956f6429a95=function(e){return getObject(e).offsetY},imports.wbg.__wbg_ctrlKey_0a805df688b5bf42=function(e){return getObject(e).ctrlKey},imports.wbg.__wbg_shiftKey_8a070ab6169b5fa4=function(e){return getObject(e).shiftKey},imports.wbg.__wbg_altKey_6fc1761a6b7a406e=function(e){return getObject(e).altKey},imports.wbg.__wbg_metaKey_d89287be4389a3c1=function(e){return getObject(e).metaKey},imports.wbg.__wbg_button_7a095234b69de930=function(e){return getObject(e).button},imports.wbg.__wbg_buttons_d0f40e1650e3fa28=function(e){return getObject(e).buttons},imports.wbg.__wbg_movementX_966ec323c169d1a6=function(e){return getObject(e).movementX},imports.wbg.__wbg_movementY_b14b3bc8e1b31f23=function(e){return getObject(e).movementY},imports.wbg.__wbg_pressed_d881ce4add9c474b=function(e){return getObject(e).pressed},imports.wbg.__wbg_value_c99f8b78cbe90703=function(e){return getObject(e).value},imports.wbg.__wbg_now_0cfdc90c97d0c24b=function(e){return getObject(e).now()},imports.wbg.__wbg_pointerId_701aab7b4fb073ff=function(e){return getObject(e).pointerId},imports.wbg.__wbg_pressure_e388b6fd623a3917=function(e){return getObject(e).pressure},imports.wbg.__wbg_pointerType_0009b1e4e6b0f428=function(e,t){const r=getObject(t).pointerType,n=passStringToWasm0(r,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc),c=WASM_VECTOR_LEN;getInt32Memory0()[e/4+1]=c,getInt32Memory0()[e/4+0]=n},imports.wbg.__wbg_instanceof_Response_fc4327dbfcdf5ced=function(e){let t;try{t=getObject(e)instanceof Response}catch{t=!1}return t},imports.wbg.__wbg_arrayBuffer_288fb3538806e85c=function(){return handleError(function(e){const t=getObject(e).arrayBuffer();return addHeapObject(t)},arguments)},imports.wbg.__wbg_copyToChannel_6e4bd2545a53db54=function(){return handleError(function(e,t,r,n){getObject(e).copyToChannel(getArrayF32FromWasm0(t,r),n)},arguments)},imports.wbg.__wbg_x_6c8af74c3b4d8c09=function(e){return getObject(e).x},imports.wbg.__wbg_y_4cca2672ce1b5fc1=function(e){return getObject(e).y},imports.wbg.__wbg_width_e0c6b79d8cdd8897=function(e){return getObject(e).width},imports.wbg.__wbg_height_bed51746e072a118=function(e){return getObject(e).height},imports.wbg.__wbg_instanceof_HtmlCanvasElement_da5f9efa0688cf6d=function(e){let t;try{t=getObject(e)instanceof HTMLCanvasElement}catch{t=!1}return t},imports.wbg.__wbg_width_2931aaedd21f1fff=function(e){return getObject(e).width},imports.wbg.__wbg_setwidth_a667a942dba6656e=function(e,t){getObject(e).width=t>>>0},imports.wbg.__wbg_height_0d36fbbeb60b0661=function(e){return getObject(e).height},imports.wbg.__wbg_setheight_a747d440760fe5aa=function(e,t){getObject(e).height=t>>>0},imports.wbg.__wbg_getContext_6d1f155bb5c1096a=function(){return handleError(function(e,t,r,n){const c=getObject(e).getContext(getStringFromWasm0(t,r),getObject(n));return isLikeNone(c)?0:addHeapObject(c)},arguments)},imports.wbg.__wbg_width_019b79813c2e80cf=function(e){return getObject(e).width},imports.wbg.__wbg_height_12082005add04bb5=function(e){return getObject(e).height},imports.wbg.__wbg_matches_0f7e350783b542c2=function(e){return getObject(e).matches},imports.wbg.__wbg_bindVertexArrayOES_b7d9da7e073aa6b5=function(e,t){getObject(e).bindVertexArrayOES(getObject(t))},imports.wbg.__wbg_createVertexArrayOES_6a3c3a5a68201f8f=function(e){const t=getObject(e).createVertexArrayOES();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_deleteVertexArrayOES_7bf4589e63d84df6=function(e,t){getObject(e).deleteVertexArrayOES(getObject(t))},imports.wbg.__wbg_width_0b4991f5cf7c640a=function(e){return getObject(e).width},imports.wbg.__wbg_setwidth_15266a5e81f43cf0=function(e,t){getObject(e).width=t>>>0},imports.wbg.__wbg_height_8cce73e95fb10fd3=function(e){return getObject(e).height},imports.wbg.__wbg_setheight_2e9bab573f1775a6=function(e,t){getObject(e).height=t>>>0},imports.wbg.__wbg_framebufferTextureMultiviewOVR_4d911c3fccedc517=function(e,t,r,n,c,b,o){getObject(e).framebufferTextureMultiviewOVR(t>>>0,r>>>0,getObject(n),c,b,o)},imports.wbg.__wbg_deltaX_84508d00a1050e70=function(e){return getObject(e).deltaX},imports.wbg.__wbg_deltaY_64823169afb0335d=function(e){return getObject(e).deltaY},imports.wbg.__wbg_deltaMode_1c680147cfdba8a5=function(e){return getObject(e).deltaMode},imports.wbg.__wbg_charCode_75cea1a3a6d66388=function(e){return getObject(e).charCode},imports.wbg.__wbg_keyCode_dfa86be31f5ef90c=function(e){return getObject(e).keyCode},imports.wbg.__wbg_altKey_612289acf855835c=function(e){return getObject(e).altKey},imports.wbg.__wbg_ctrlKey_582686fb2263dd3c=function(e){return getObject(e).ctrlKey},imports.wbg.__wbg_shiftKey_48e8701355d8e2d4=function(e){return getObject(e).shiftKey},imports.wbg.__wbg_metaKey_43193b7cc99f8914=function(e){return getObject(e).metaKey},imports.wbg.__wbg_key_8aeaa079126a9cc7=function(e,t){const r=getObject(t).key,n=passStringToWasm0(r,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc),c=WASM_VECTOR_LEN;getInt32Memory0()[e/4+1]=c,getInt32Memory0()[e/4+0]=n},imports.wbg.__wbg_code_96d6322b968b2d17=function(e,t){const r=getObject(t).code,n=passStringToWasm0(r,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc),c=WASM_VECTOR_LEN;getInt32Memory0()[e/4+1]=c,getInt32Memory0()[e/4+0]=n},imports.wbg.__wbg_getModifierState_5102ee8843516d2f=function(e,t,r){return getObject(e).getModifierState(getStringFromWasm0(t,r))},imports.wbg.__wbg_destination_9e793cf556243084=function(e){const t=getObject(e).destination;return addHeapObject(t)},imports.wbg.__wbg_currentTime_c6831b97750b898c=function(e){return getObject(e).currentTime},imports.wbg.__wbg_newwithcontextoptions_3fb88aa326cd01e0=function(){return handleError(function(e){const t=new lAudioContext(getObject(e));return addHeapObject(t)},arguments)},imports.wbg.__wbg_close_51aa5539747ce076=function(){return handleError(function(e){const t=getObject(e).close();return addHeapObject(t)},arguments)},imports.wbg.__wbg_createBuffer_13cd030d2b48e8fa=function(){return handleError(function(e,t,r,n){const c=getObject(e).createBuffer(t>>>0,r>>>0,n);return addHeapObject(c)},arguments)},imports.wbg.__wbg_createBufferSource_58423f6345b5f559=function(){return handleError(function(e){const t=getObject(e).createBufferSource();return addHeapObject(t)},arguments)},imports.wbg.__wbg_resume_9dc64ed7c3a65255=function(){return handleError(function(e){const t=getObject(e).resume();return addHeapObject(t)},arguments)},imports.wbg.__wbg_addEventListener_5651108fc3ffeb6e=function(){return handleError(function(e,t,r,n){getObject(e).addEventListener(getStringFromWasm0(t,r),getObject(n))},arguments)},imports.wbg.__wbg_addEventListener_a5963e26cd7b176b=function(){return handleError(function(e,t,r,n,c){getObject(e).addEventListener(getStringFromWasm0(t,r),getObject(n),getObject(c))},arguments)},imports.wbg.__wbg_removeEventListener_1fa0d9594cdb0b1d=function(){return handleError(function(e,t,r,n,c){getObject(e).removeEventListener(getStringFromWasm0(t,r),getObject(n),getObject(c))},arguments)},imports.wbg.__wbg_getGamepads_cbb82980ae1db5e1=function(){return handleError(function(e){const t=getObject(e).getGamepads();return addHeapObject(t)},arguments)},imports.wbg.__wbg_drawArraysInstancedANGLE_01b862ba133350a3=function(e,t,r,n,c){getObject(e).drawArraysInstancedANGLE(t>>>0,r,n,c)},imports.wbg.__wbg_drawElementsInstancedANGLE_ea6343af8bf9c9f8=function(e,t,r,n,c,b){getObject(e).drawElementsInstancedANGLE(t>>>0,r,n>>>0,c,b)},imports.wbg.__wbg_vertexAttribDivisorANGLE_a8476eb778e16c70=function(e,t,r){getObject(e).vertexAttribDivisorANGLE(t>>>0,r>>>0)},imports.wbg.__wbg_setbuffer_beeece042e02534f=function(e,t){getObject(e).buffer=getObject(t)},imports.wbg.__wbg_setonended_83dd83b7f84cdef2=function(e,t){getObject(e).onended=getObject(t)},imports.wbg.__wbg_start_99ecc2647eb67ca6=function(){return handleError(function(e,t){getObject(e).start(t)},arguments)},imports.wbg.__wbg_maxChannelCount_a32b07796ef189d0=function(e){return getObject(e).maxChannelCount},imports.wbg.__wbg_setProperty_b95ef63ab852879e=function(){return handleError(function(e,t,r,n,c){getObject(e).setProperty(getStringFromWasm0(t,r),getStringFromWasm0(n,c))},arguments)},imports.wbg.__wbg_videoWidth_02eadb74917aa4fc=function(e){return getObject(e).videoWidth},imports.wbg.__wbg_videoHeight_dac4c345988e5562=function(e){return getObject(e).videoHeight},imports.wbg.__wbg_parentElement_c75962bc9997ea5f=function(e){const t=getObject(e).parentElement;return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_appendChild_51339d4cde00ee22=function(){return handleError(function(e,t){const r=getObject(e).appendChild(getObject(t));return addHeapObject(r)},arguments)},imports.wbg.__wbg_body_674aec4c1c0910cd=function(e){const t=getObject(e).body;return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_fullscreenElement_07d5b77ef6c958c1=function(e){const t=getObject(e).fullscreenElement;return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_createElement_4891554b28d3388b=function(){return handleError(function(e,t,r){const n=getObject(e).createElement(getStringFromWasm0(t,r));return addHeapObject(n)},arguments)},imports.wbg.__wbg_exitFullscreen_5fada21e8623256e=function(e){getObject(e).exitFullscreen()},imports.wbg.__wbg_exitPointerLock_bf425ac90f055faa=function(e){getObject(e).exitPointerLock()},imports.wbg.__wbg_querySelector_52ded52c20e23921=function(){return handleError(function(e,t,r){const n=getObject(e).querySelector(getStringFromWasm0(t,r));return isLikeNone(n)?0:addHeapObject(n)},arguments)},imports.wbg.__wbg_getBoundingClientRect_ac9db8cf97ca8083=function(e){const t=getObject(e).getBoundingClientRect();return addHeapObject(t)},imports.wbg.__wbg_requestFullscreen_3545278bcd44910c=function(){return handleError(function(e){getObject(e).requestFullscreen()},arguments)},imports.wbg.__wbg_requestPointerLock_368c5cc6c3ddd339=function(e){getObject(e).requestPointerLock()},imports.wbg.__wbg_setAttribute_e7e80b478b7b8b2f=function(){return handleError(function(e,t,r,n,c){getObject(e).setAttribute(getStringFromWasm0(t,r),getStringFromWasm0(n,c))},arguments)},imports.wbg.__wbg_setPointerCapture_e7c29336490bba19=function(){return handleError(function(e,t){getObject(e).setPointerCapture(t)},arguments)},imports.wbg.__wbg_style_3801009b2339aa94=function(e){const t=getObject(e).style;return addHeapObject(t)},imports.wbg.__wbg_bufferData_92a3e0b745b0d726=function(e,t,r,n){getObject(e).bufferData(t>>>0,r,n>>>0)},imports.wbg.__wbg_bufferData_a11a9f65f31e7256=function(e,t,r,n){getObject(e).bufferData(t>>>0,getObject(r),n>>>0)},imports.wbg.__wbg_bufferSubData_fca6f1c10273be21=function(e,t,r,n){getObject(e).bufferSubData(t>>>0,r,getObject(n))},imports.wbg.__wbg_compressedTexSubImage2D_21078c6de0a71aad=function(e,t,r,n,c,b,o,_,a){getObject(e).compressedTexSubImage2D(t>>>0,r,n,c,b,o,_>>>0,getObject(a))},imports.wbg.__wbg_readPixels_91b0d8854de90477=function(){return handleError(function(e,t,r,n,c,b,o,_){getObject(e).readPixels(t,r,n,c,b>>>0,o>>>0,getObject(_))},arguments)},imports.wbg.__wbg_texSubImage2D_f1a31f8045b7f831=function(){return handleError(function(e,t,r,n,c,b,o,_,a,i){getObject(e).texSubImage2D(t>>>0,r,n,c,b,o,_>>>0,a>>>0,getObject(i))},arguments)},imports.wbg.__wbg_uniform2fv_c928f6ba0085b381=function(e,t,r,n){getObject(e).uniform2fv(getObject(t),getArrayF32FromWasm0(r,n))},imports.wbg.__wbg_uniform2iv_7e5f8e7c2f4d4d6a=function(e,t,r,n){getObject(e).uniform2iv(getObject(t),getArrayI32FromWasm0(r,n))},imports.wbg.__wbg_uniform3fv_1aba437b913c1926=function(e,t,r,n){getObject(e).uniform3fv(getObject(t),getArrayF32FromWasm0(r,n))},imports.wbg.__wbg_uniform3iv_23751fe4dfcdf539=function(e,t,r,n){getObject(e).uniform3iv(getObject(t),getArrayI32FromWasm0(r,n))},imports.wbg.__wbg_uniform4fv_7c51c2251d851cb2=function(e,t,r,n){getObject(e).uniform4fv(getObject(t),getArrayF32FromWasm0(r,n))},imports.wbg.__wbg_uniform4iv_27b49984e9c5d90a=function(e,t,r,n){getObject(e).uniform4iv(getObject(t),getArrayI32FromWasm0(r,n))},imports.wbg.__wbg_uniformMatrix2fv_f8f3ef807f196bf1=function(e,t,r,n,c){getObject(e).uniformMatrix2fv(getObject(t),r!==0,getArrayF32FromWasm0(n,c))},imports.wbg.__wbg_uniformMatrix3fv_341eec37953e50c5=function(e,t,r,n,c){getObject(e).uniformMatrix3fv(getObject(t),r!==0,getArrayF32FromWasm0(n,c))},imports.wbg.__wbg_uniformMatrix4fv_465ab8de531f4f78=function(e,t,r,n,c){getObject(e).uniformMatrix4fv(getObject(t),r!==0,getArrayF32FromWasm0(n,c))},imports.wbg.__wbg_activeTexture_93b4de60af07da9c=function(e,t){getObject(e).activeTexture(t>>>0)},imports.wbg.__wbg_attachShader_b65b695055670cb5=function(e,t,r){getObject(e).attachShader(getObject(t),getObject(r))},imports.wbg.__wbg_bindBuffer_313561e5bc0e533f=function(e,t,r){getObject(e).bindBuffer(t>>>0,getObject(r))},imports.wbg.__wbg_bindFramebuffer_56bf6536a4ced0ec=function(e,t,r){getObject(e).bindFramebuffer(t>>>0,getObject(r))},imports.wbg.__wbg_bindRenderbuffer_559c7c6b6676dddd=function(e,t,r){getObject(e).bindRenderbuffer(t>>>0,getObject(r))},imports.wbg.__wbg_bindTexture_9cb5c770d1ba2cca=function(e,t,r){getObject(e).bindTexture(t>>>0,getObject(r))},imports.wbg.__wbg_blendColor_b9006ef6c450acd0=function(e,t,r,n,c){getObject(e).blendColor(t,r,n,c)},imports.wbg.__wbg_blendEquation_f31ce08020786a09=function(e,t){getObject(e).blendEquation(t>>>0)},imports.wbg.__wbg_blendEquationSeparate_7ec5e34f066e44f8=function(e,t,r){getObject(e).blendEquationSeparate(t>>>0,r>>>0)},imports.wbg.__wbg_blendFunc_fbe9d3a688fe71c3=function(e,t,r){getObject(e).blendFunc(t>>>0,r>>>0)},imports.wbg.__wbg_blendFuncSeparate_7547ade0a7dfade2=function(e,t,r,n,c){getObject(e).blendFuncSeparate(t>>>0,r>>>0,n>>>0,c>>>0)},imports.wbg.__wbg_colorMask_7cbd7a102954ede9=function(e,t,r,n,c){getObject(e).colorMask(t!==0,r!==0,n!==0,c!==0)},imports.wbg.__wbg_compileShader_d88d0a8cd9b72b4d=function(e,t){getObject(e).compileShader(getObject(t))},imports.wbg.__wbg_copyTexSubImage2D_3029f8dfe7543ab6=function(e,t,r,n,c,b,o,_,a){getObject(e).copyTexSubImage2D(t>>>0,r,n,c,b,o,_,a)},imports.wbg.__wbg_createBuffer_59051f4461e7c5e2=function(e){const t=getObject(e).createBuffer();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_createFramebuffer_223c1212ad76affc=function(e){const t=getObject(e).createFramebuffer();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_createProgram_88dbe21c0b682e1a=function(e){const t=getObject(e).createProgram();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_createRenderbuffer_bcb61b756ba21490=function(e){const t=getObject(e).createRenderbuffer();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_createShader_9d7d388633caad18=function(e,t){const r=getObject(e).createShader(t>>>0);return isLikeNone(r)?0:addHeapObject(r)},imports.wbg.__wbg_createTexture_9d0bb4d741b8ad76=function(e){const t=getObject(e).createTexture();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_cullFace_4c086dc1d86a19b5=function(e,t){getObject(e).cullFace(t>>>0)},imports.wbg.__wbg_deleteBuffer_cdc6b9c73f54aff7=function(e,t){getObject(e).deleteBuffer(getObject(t))},imports.wbg.__wbg_deleteFramebuffer_fcc10cb143c6573d=function(e,t){getObject(e).deleteFramebuffer(getObject(t))},imports.wbg.__wbg_deleteProgram_d8d7fc79ba83b256=function(e,t){getObject(e).deleteProgram(getObject(t))},imports.wbg.__wbg_deleteRenderbuffer_edf9e1b4e0a1e005=function(e,t){getObject(e).deleteRenderbuffer(getObject(t))},imports.wbg.__wbg_deleteShader_9a2f85efe5cb3706=function(e,t){getObject(e).deleteShader(getObject(t))},imports.wbg.__wbg_deleteTexture_a883356c5034d482=function(e,t){getObject(e).deleteTexture(getObject(t))},imports.wbg.__wbg_depthFunc_4eda7b4e682acbad=function(e,t){getObject(e).depthFunc(t>>>0)},imports.wbg.__wbg_depthMask_a3071e13bb087102=function(e,t){getObject(e).depthMask(t!==0)},imports.wbg.__wbg_depthRange_ff5298a73fd02650=function(e,t,r){getObject(e).depthRange(t,r)},imports.wbg.__wbg_disable_5cf2070641fa2ed7=function(e,t){getObject(e).disable(t>>>0)},imports.wbg.__wbg_disableVertexAttribArray_8dacd44e21adcaa2=function(e,t){getObject(e).disableVertexAttribArray(t>>>0)},imports.wbg.__wbg_drawArrays_d5c7dc2b2376c85a=function(e,t,r,n){getObject(e).drawArrays(t>>>0,r,n)},imports.wbg.__wbg_enable_8965e69c596f0a94=function(e,t){getObject(e).enable(t>>>0)},imports.wbg.__wbg_enableVertexAttribArray_2b0475db43533cf2=function(e,t){getObject(e).enableVertexAttribArray(t>>>0)},imports.wbg.__wbg_framebufferRenderbuffer_d80f5381d429bc45=function(e,t,r,n,c){getObject(e).framebufferRenderbuffer(t>>>0,r>>>0,n>>>0,getObject(c))},imports.wbg.__wbg_framebufferTexture2D_953e69a8bec22fa9=function(e,t,r,n,c,b){getObject(e).framebufferTexture2D(t>>>0,r>>>0,n>>>0,getObject(c),b)},imports.wbg.__wbg_frontFace_0ba67b9e6365557c=function(e,t){getObject(e).frontFace(t>>>0)},imports.wbg.__wbg_getActiveUniform_87df972e841afed2=function(e,t,r){const n=getObject(e).getActiveUniform(getObject(t),r>>>0);return isLikeNone(n)?0:addHeapObject(n)},imports.wbg.__wbg_getParameter_bfab7f0b00c9d7fb=function(){return handleError(function(e,t){const r=getObject(e).getParameter(t>>>0);return addHeapObject(r)},arguments)},imports.wbg.__wbg_getProgramInfoLog_0b7af4ad85fa52a4=function(e,t,r){const n=getObject(t).getProgramInfoLog(getObject(r));var c=isLikeNone(n)?0:passStringToWasm0(n,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc),b=WASM_VECTOR_LEN;getInt32Memory0()[e/4+1]=b,getInt32Memory0()[e/4+0]=c},imports.wbg.__wbg_getProgramParameter_2a3735278367f8bc=function(e,t,r){const n=getObject(e).getProgramParameter(getObject(t),r>>>0);return addHeapObject(n)},imports.wbg.__wbg_getShaderInfoLog_979aafa403ffb252=function(e,t,r){const n=getObject(t).getShaderInfoLog(getObject(r));var c=isLikeNone(n)?0:passStringToWasm0(n,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc),b=WASM_VECTOR_LEN;getInt32Memory0()[e/4+1]=b,getInt32Memory0()[e/4+0]=c},imports.wbg.__wbg_getShaderParameter_e8054f1d9026fb70=function(e,t,r){const n=getObject(e).getShaderParameter(getObject(t),r>>>0);return addHeapObject(n)},imports.wbg.__wbg_getUniformLocation_688976233799a45a=function(e,t,r,n){const c=getObject(e).getUniformLocation(getObject(t),getStringFromWasm0(r,n));return isLikeNone(c)?0:addHeapObject(c)},imports.wbg.__wbg_linkProgram_9a2d12d120d99917=function(e,t){getObject(e).linkProgram(getObject(t))},imports.wbg.__wbg_pixelStorei_5ec932ebefd00149=function(e,t,r){getObject(e).pixelStorei(t>>>0,r)},imports.wbg.__wbg_polygonOffset_55eea57bba1b49e9=function(e,t,r){getObject(e).polygonOffset(t,r)},imports.wbg.__wbg_renderbufferStorage_4bcd9ddf1749ce26=function(e,t,r,n,c){getObject(e).renderbufferStorage(t>>>0,r>>>0,n,c)},imports.wbg.__wbg_scissor_c8ec3b1e053f3756=function(e,t,r,n,c){getObject(e).scissor(t,r,n,c)},imports.wbg.__wbg_shaderSource_f435f9b74440bb54=function(e,t,r,n){getObject(e).shaderSource(getObject(t),getStringFromWasm0(r,n))},imports.wbg.__wbg_stencilFuncSeparate_0fae0ee7c04a23b2=function(e,t,r,n,c){getObject(e).stencilFuncSeparate(t>>>0,r>>>0,n,c>>>0)},imports.wbg.__wbg_stencilMask_79416c29ac1ce3a4=function(e,t){getObject(e).stencilMask(t>>>0)},imports.wbg.__wbg_stencilMaskSeparate_19bdb57664d2c34f=function(e,t,r){getObject(e).stencilMaskSeparate(t>>>0,r>>>0)},imports.wbg.__wbg_stencilOpSeparate_18e0bd316555925f=function(e,t,r,n,c){getObject(e).stencilOpSeparate(t>>>0,r>>>0,n>>>0,c>>>0)},imports.wbg.__wbg_texParameteri_1f17358e51eb8069=function(e,t,r,n){getObject(e).texParameteri(t>>>0,r>>>0,n)},imports.wbg.__wbg_uniform1f_7586c5e17ad254c9=function(e,t,r){getObject(e).uniform1f(getObject(t),r)},imports.wbg.__wbg_uniform1i_9f94ef0ba6b3cc66=function(e,t,r){getObject(e).uniform1i(getObject(t),r)},imports.wbg.__wbg_uniform4f_9aa5afa9177c6ab1=function(e,t,r,n,c,b){getObject(e).uniform4f(getObject(t),r,n,c,b)},imports.wbg.__wbg_useProgram_019eb6df066fabf5=function(e,t){getObject(e).useProgram(getObject(t))},imports.wbg.__wbg_vertexAttribPointer_ca11984ee8843c0a=function(e,t,r,n,c,b,o){getObject(e).vertexAttribPointer(t>>>0,r,n>>>0,c!==0,b,o)},imports.wbg.__wbg_viewport_6ebef187c89e2616=function(e,t,r,n,c){getObject(e).viewport(t,r,n,c)},imports.wbg.__wbg_setchannelCount_7b7457adf57e1c22=function(e,t){getObject(e).channelCount=t>>>0},imports.wbg.__wbg_connect_3f8f5ba805800c62=function(){return handleError(function(e,t){const r=getObject(e).connect(getObject(t));return addHeapObject(r)},arguments)},imports.wbg.__wbg_target_f171e89c61e2bccf=function(e){const t=getObject(e).target;return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_cancelBubble_90d1c3aa2a76cbeb=function(e){return getObject(e).cancelBubble},imports.wbg.__wbg_preventDefault_24104f3f0a54546a=function(e){getObject(e).preventDefault()},imports.wbg.__wbg_stopPropagation_55539cfa2506c867=function(e){getObject(e).stopPropagation()},imports.wbg.__wbg_matches_07c564b5b4101cf2=function(e){return getObject(e).matches},imports.wbg.__wbg_addListener_85fb6e4bd17e8878=function(){return handleError(function(e,t){getObject(e).addListener(getObject(t))},arguments)},imports.wbg.__wbg_removeListener_3b62020874cfc3c7=function(){return handleError(function(e,t){getObject(e).removeListener(getObject(t))},arguments)},imports.wbg.__wbg_size_6eb4aa794f6bf220=function(e){return getObject(e).size},imports.wbg.__wbg_type_37bb6b4936b5e027=function(e){return getObject(e).type},imports.wbg.__wbg_name_ebae3a7e89367611=function(e,t){const r=getObject(t).name,n=passStringToWasm0(r,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc),c=WASM_VECTOR_LEN;getInt32Memory0()[e/4+1]=c,getInt32Memory0()[e/4+0]=n},imports.wbg.__wbg_drawBuffersWEBGL_139bf2fe0c1522d6=function(e,t){getObject(e).drawBuffersWEBGL(getObject(t))},imports.wbg.__wbg_error_c9309504864e78b5=function(e,t){console.error(getObject(e),getObject(t))},imports.wbg.__wbg_instanceof_DomException_11f350c47999e343=function(e){let t;try{t=getObject(e)instanceof DOMException}catch{t=!1}return t},imports.wbg.__wbg_message_ad3cc15a4d40c34b=function(e,t){const r=getObject(t).message,n=passStringToWasm0(r,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc),c=WASM_VECTOR_LEN;getInt32Memory0()[e/4+1]=c,getInt32Memory0()[e/4+0]=n},imports.wbg.__wbg_id_2744422b8df66a4f=function(e,t){const r=getObject(t).id,n=passStringToWasm0(r,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc),c=WASM_VECTOR_LEN;getInt32Memory0()[e/4+1]=c,getInt32Memory0()[e/4+0]=n},imports.wbg.__wbg_index_3fa2bac9f2910f3e=function(e){return getObject(e).index},imports.wbg.__wbg_mapping_4620edf85483600a=function(e){const t=getObject(e).mapping;return addHeapObject(t)},imports.wbg.__wbg_connected_7a42d2777c81c280=function(e){return getObject(e).connected},imports.wbg.__wbg_buttons_a308922181d88094=function(e){const t=getObject(e).buttons;return addHeapObject(t)},imports.wbg.__wbg_axes_1b9e57ee3e48f6df=function(e){const t=getObject(e).axes;return addHeapObject(t)},imports.wbg.__wbg_getRandomValues_37fa2ca9e4e07fab=function(){return handleError(function(e,t){getObject(e).getRandomValues(getObject(t))},arguments)},imports.wbg.__wbg_randomFillSync_dc1e9a60c158336d=function(){return handleError(function(e,t){getObject(e).randomFillSync(takeObject(t))},arguments)},imports.wbg.__wbg_crypto_c48a774b022d20ac=function(e){const t=getObject(e).crypto;return addHeapObject(t)},imports.wbg.__wbindgen_is_object=function(e){const t=getObject(e);return typeof t=="object"&&t!==null},imports.wbg.__wbg_process_298734cf255a885d=function(e){const t=getObject(e).process;return addHeapObject(t)},imports.wbg.__wbg_versions_e2e78e134e3e5d01=function(e){const t=getObject(e).versions;return addHeapObject(t)},imports.wbg.__wbg_node_1cd7a5d853dbea79=function(e){const t=getObject(e).node;return addHeapObject(t)},imports.wbg.__wbindgen_is_string=function(e){return typeof getObject(e)=="string"},imports.wbg.__wbg_msCrypto_bcb970640f50a1e8=function(e){const t=getObject(e).msCrypto;return addHeapObject(t)},imports.wbg.__wbg_require_8f08ceecec0f4fee=function(){return handleError(function(){const e=module.require;return addHeapObject(e)},arguments)},imports.wbg.__wbindgen_is_function=function(e){return typeof getObject(e)=="function"},imports.wbg.__wbg_get_44be0491f933a435=function(e,t){const r=getObject(e)[t>>>0];return addHeapObject(r)},imports.wbg.__wbg_length_fff51ee6522a1a18=function(e){return getObject(e).length},imports.wbg.__wbg_new_898a68150f225f2e=function(){const e=new Array;return addHeapObject(e)},imports.wbg.__wbg_newnoargs_581967eacc0e2604=function(e,t){const r=new Function(getStringFromWasm0(e,t));return addHeapObject(r)},imports.wbg.__wbg_get_97b561fb56f034b5=function(){return handleError(function(e,t){const r=Reflect.get(getObject(e),getObject(t));return addHeapObject(r)},arguments)},imports.wbg.__wbg_call_cb65541d95d71282=function(){return handleError(function(e,t){const r=getObject(e).call(getObject(t));return addHeapObject(r)},arguments)},imports.wbg.__wbg_new_b51585de1b234aff=function(){const e=new Object;return addHeapObject(e)},imports.wbg.__wbg_self_1ff1d729e9aae938=function(){return handleError(function(){const e=self.self;return addHeapObject(e)},arguments)},imports.wbg.__wbg_window_5f4faef6c12b79ec=function(){return handleError(function(){const e=window.window;return addHeapObject(e)},arguments)},imports.wbg.__wbg_globalThis_1d39714405582d3c=function(){return handleError(function(){const e=globalThis.globalThis;return addHeapObject(e)},arguments)},imports.wbg.__wbg_global_651f05c6a0944d1c=function(){return handleError(function(){const e=global.global;return addHeapObject(e)},arguments)},imports.wbg.__wbindgen_is_undefined=function(e){return getObject(e)===void 0},imports.wbg.__wbg_eval_8c72ad5eafe427f2=function(){return handleError(function(arg0,arg1){const ret=eval(getStringFromWasm0(arg0,arg1));return addHeapObject(ret)},arguments)},imports.wbg.__wbg_of_053899a68de3ef48=function(e){const t=Array.of(getObject(e));return addHeapObject(t)},imports.wbg.__wbg_push_ca1c26067ef907ac=function(e,t){return getObject(e).push(getObject(t))},imports.wbg.__wbg_call_01734de55d61e11d=function(){return handleError(function(e,t,r){const n=getObject(e).call(getObject(t),getObject(r));return addHeapObject(n)},arguments)},imports.wbg.__wbg_now_9c5990bda04c7e53=function(){return Date.now()},imports.wbg.__wbg_is_205d914af04a8faa=function(e,t){return Object.is(getObject(e),getObject(t))},imports.wbg.__wbg_resolve_53698b95aaf7fcf8=function(e){const t=Promise.resolve(getObject(e));return addHeapObject(t)},imports.wbg.__wbg_then_f7e06ee3c11698eb=function(e,t){const r=getObject(e).then(getObject(t));return addHeapObject(r)},imports.wbg.__wbg_then_b2267541e2a73865=function(e,t,r){const n=getObject(e).then(getObject(t),getObject(r));return addHeapObject(n)},imports.wbg.__wbg_buffer_085ec1f694018c4f=function(e){const t=getObject(e).buffer;return addHeapObject(t)},imports.wbg.__wbg_newwithbyteoffsetandlength_828b952f0e692245=function(e,t,r){const n=new Int8Array(getObject(e),t>>>0,r>>>0);return addHeapObject(n)},imports.wbg.__wbg_newwithbyteoffsetandlength_735ed5ea2ae07fe9=function(e,t,r){const n=new Int16Array(getObject(e),t>>>0,r>>>0);return addHeapObject(n)},imports.wbg.__wbg_newwithbyteoffsetandlength_9f43b22ab631d1d6=function(e,t,r){const n=new Int32Array(getObject(e),t>>>0,r>>>0);return addHeapObject(n)},imports.wbg.__wbg_newwithbyteoffsetandlength_6da8e527659b86aa=function(e,t,r){const n=new Uint8Array(getObject(e),t>>>0,r>>>0);return addHeapObject(n)},imports.wbg.__wbg_new_8125e318e6245eed=function(e){const t=new Uint8Array(getObject(e));return addHeapObject(t)},imports.wbg.__wbg_set_5cf90238115182c3=function(e,t,r){getObject(e).set(getObject(t),r>>>0)},imports.wbg.__wbg_length_72e2208bbc0efc61=function(e){return getObject(e).length},imports.wbg.__wbg_newwithbyteoffsetandlength_31ff1024ef0c63c7=function(e,t,r){const n=new Uint16Array(getObject(e),t>>>0,r>>>0);return addHeapObject(n)},imports.wbg.__wbg_newwithbyteoffsetandlength_6df0e8c3efd2a5d3=function(e,t,r){const n=new Uint32Array(getObject(e),t>>>0,r>>>0);return addHeapObject(n)},imports.wbg.__wbg_newwithbyteoffsetandlength_69193e31c844b792=function(e,t,r){const n=new Float32Array(getObject(e),t>>>0,r>>>0);return addHeapObject(n)},imports.wbg.__wbg_newwithlength_e5d69174d6984cd7=function(e){const t=new Uint8Array(e>>>0);return addHeapObject(t)},imports.wbg.__wbg_subarray_13db269f57aa838d=function(e,t,r){const n=getObject(e).subarray(t>>>0,r>>>0);return addHeapObject(n)},imports.wbg.__wbg_set_092e06b0f9d71865=function(){return handleError(function(e,t,r){return Reflect.set(getObject(e),getObject(t),getObject(r))},arguments)},imports.wbg.__wbindgen_debug_string=function(e,t){const r=debugString(getObject(t)),n=passStringToWasm0(r,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc),c=WASM_VECTOR_LEN;getInt32Memory0()[e/4+1]=c,getInt32Memory0()[e/4+0]=n},imports.wbg.__wbindgen_throw=function(e,t){throw new Error(getStringFromWasm0(e,t))},imports.wbg.__wbindgen_memory=function(){const e=wasm.memory;return addHeapObject(e)},imports.wbg.__wbindgen_closure_wrapper2674=function(e,t,r){const n=makeMutClosure(e,t,1445,__wbg_adapter_34);return addHeapObject(n)},imports.wbg.__wbindgen_closure_wrapper2676=function(e,t,r){const n=makeMutClosure(e,t,1445,__wbg_adapter_34);return addHeapObject(n)},imports.wbg.__wbindgen_closure_wrapper2678=function(e,t,r){const n=makeMutClosure(e,t,1445,__wbg_adapter_34);return addHeapObject(n)},imports.wbg.__wbindgen_closure_wrapper2680=function(e,t,r){const n=makeMutClosure(e,t,1445,__wbg_adapter_34);return addHeapObject(n)},imports.wbg.__wbindgen_closure_wrapper2682=function(e,t,r){const n=makeMutClosure(e,t,1445,__wbg_adapter_34);return addHeapObject(n)},imports.wbg.__wbindgen_closure_wrapper2684=function(e,t,r){const n=makeMutClosure(e,t,1445,__wbg_adapter_34);return addHeapObject(n)},imports.wbg.__wbindgen_closure_wrapper2686=function(e,t,r){const n=makeMutClosure(e,t,1445,__wbg_adapter_47);return addHeapObject(n)},imports.wbg.__wbindgen_closure_wrapper2688=function(e,t,r){const n=makeMutClosure(e,t,1445,__wbg_adapter_34);return addHeapObject(n)},imports.wbg.__wbindgen_closure_wrapper2690=function(e,t,r){const n=makeMutClosure(e,t,1445,__wbg_adapter_34);return addHeapObject(n)},imports.wbg.__wbindgen_closure_wrapper3134=function(e,t,r){const n=makeMutClosure(e,t,1741,__wbg_adapter_54);return addHeapObject(n)},imports.wbg.__wbindgen_closure_wrapper25383=function(e,t,r){const n=makeMutClosure(e,t,17487,__wbg_adapter_57);return addHeapObject(n)},imports.wbg.__wbindgen_closure_wrapper51161=function(e,t,r){const n=makeMutClosure(e,t,34616,__wbg_adapter_60);return addHeapObject(n)},imports}function __wbg_finalize_init(e,t){return wasm=e.exports,__wbg_init.__wbindgen_wasm_module=t,cachedFloat32Memory0=null,cachedFloat64Memory0=null,cachedInt32Memory0=null,cachedUint32Memory0=null,cachedUint8Memory0=null,wasm.__wbindgen_start(),wasm}async function __wbg_init(e){if(wasm!==void 0)return wasm;typeof e>"u"&&(e=new URL(""+new URL("../assets/sandbox_bevy_bg.7736eef9.wasm",import.meta.url).href,self.location));const t=__wbg_get_imports();(typeof e=="string"||typeof Request=="function"&&e instanceof Request||typeof URL=="function"&&e instanceof URL)&&(e=fetch(e));const{instance:r,module:n}=await __wbg_load(await e,t);return __wbg_finalize_init(r,n)}function create_if_block(e){let t,r='<div class="h-2 w-2 bg-[#B6B8B9] animate-pulse"></div> <div class="h-2 w-2 bg-[#B6B8B9] animate-pulse"></div> <div class="h-2 w-2 bg-[#B6B8B9] animate-pulse"></div>';return{c(){t=element("div"),t.innerHTML=r,this.h()},l(n){t=claim_element(n,"DIV",{class:!0,"data-svelte-h":!0}),get_svelte_dataset(t)!=="svelte-687huc"&&(t.innerHTML=r),this.h()},h(){attr(t,"class","absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 space-x-3 flex flex-row justify-center items-center")},m(n,c){insert_hydration(n,t,c)},d(n){n&&detach(t)}}}function create_fragment(e){let t,r,n,c='<div class="absolute left-2 space-x-2 flex flex-row justify-center items-center"><div class="rounded-full h-3 w-3 bg-[#EC695F]"></div> <div class="rounded-full h-3 w-3 bg-[#F5BE4F]"></div> <div class="rounded-full h-3 w-3 bg-[#5E5E60]"></div></div> <h1 class="font-bold py-[6px] text-center w-full text-sm text-[#B6B8B9]">Hell</h1>',b,o,_,a,i,g,s='<img src="images/instructs.svg" alt="Instructions" width="250"/>',x,d,w,E="Looks like you're on mobile",f,l,M="This demo is only available on a larger screen",k,j,S,v=e[2]?"Copied!":"Copy the link for later",F,I,h,W,T,y,C=`<p>Made by <a href="https://www.hugoduprez.com/" target="_blank" class="underline">Hugo</a> with
3
  <a href="https://www.rust-lang.org/" target="_blank" class="underline">Rust</a>
4
- and <a href="https://kit.svelte.dev/" target="_blank" class="underline">Svelte</a></p> <a href="https://github.com/Hugo-Dz/rust-sandbox" target="_blank" class="underline">How to create games with Rust</a>`,L,D,u=e[0]&&create_if_block();return{c(){t=element("div"),r=element("div"),n=element("button"),n.innerHTML=c,b=space(),o=element("div"),_=element("canvas"),a=space(),u&&u.c(),i=space(),g=element("div"),g.innerHTML=s,x=space(),d=element("div"),w=element("p"),w.textContent=E,f=space(),l=element("p"),l.textContent=M,k=space(),j=element("button"),S=element("p"),F=text(v),I=space(),h=element("img"),T=space(),y=element("div"),y.innerHTML=C,this.h()},l(p){t=claim_element(p,"DIV",{role:!0,class:!0});var m=children(t);r=claim_element(m,"DIV",{class:!0});var A=children(r);n=claim_element(A,"BUTTON",{class:!0,"data-svelte-h":!0}),get_svelte_dataset(n)!=="svelte-msohxs"&&(n.innerHTML=c),b=claim_space(A),o=claim_element(A,"DIV",{class:!0});var H=children(o);_=claim_element(H,"CANVAS",{id:!0,class:!0,height:!0,width:!0,style:!0}),children(_).forEach(detach),a=claim_space(H),u&&u.l(H),H.forEach(detach),A.forEach(detach),i=claim_space(m),g=claim_element(m,"DIV",{class:!0,"data-svelte-h":!0}),get_svelte_dataset(g)!=="svelte-5z7chc"&&(g.innerHTML=s),x=claim_space(m),d=claim_element(m,"DIV",{class:!0});var O=children(d);w=claim_element(O,"P",{class:!0,"data-svelte-h":!0}),get_svelte_dataset(w)!=="svelte-tzs1r2"&&(w.textContent=E),f=claim_space(O),l=claim_element(O,"P",{class:!0,"data-svelte-h":!0}),get_svelte_dataset(l)!=="svelte-ng3af6"&&(l.textContent=M),k=claim_space(O),j=claim_element(O,"BUTTON",{class:!0});var P=children(j);S=claim_element(P,"P",{});var B=children(S);F=claim_text(B,v),B.forEach(detach),P.forEach(detach),I=claim_space(O),h=claim_element(O,"IMG",{src:!0,alt:!0,class:!0}),O.forEach(detach),T=claim_space(m),y=claim_element(m,"DIV",{class:!0,"data-svelte-h":!0}),get_svelte_dataset(y)!=="svelte-w233xu"&&(y.innerHTML=C),m.forEach(detach),this.h()},h(){attr(n,"class","cursor-default relative flex flex-row justify-between items-center w-full bg-[#393B3D] border-b border-b-[#000002] border border-[#626264] rounded-xl rounded-b-none"),attr(_,"id","bevy-canvas"),attr(_,"class","shadow-2xl z-10 shadow-black/50 overflow-hidden rounded-xl border border-[#626264] border-t-0 rounded-t-none"),attr(_,"height","480"),attr(_,"width","640"),set_style(_,"image-rendering","pixelated"),attr(o,"class","relative bg-[#1C1E21]"),attr(r,"class","hidden sm:flex flex-col justify-center items-center mt-40"),attr(g,"class","hidden sm:flex mt-12"),attr(w,"class","text-xl text-[#F0DAA1]"),attr(l,"class","mt-2"),attr(j,"class","w-full py-4 bg-[#393B3D] text-[#B7B7B9] font-bold mt-8 border border-[#626264] rounded-md"),src_url_equal(h.src,W="images/thumbnail.png")||attr(h,"src",W),attr(h,"alt","Thumbnail"),attr(h,"class","w-full mt-4"),attr(d,"class","flex sm:hidden flex-col w-full px-4 justify-center items-center text-center text-[#636669] mt-12"),attr(y,"class","mt-12 text-sm text-[#636669] flex flex-col justify-center items-center space-y-1"),attr(t,"role","contentinfo"),attr(t,"class","sm:flex flex-col justify-center items-center w-full")},m(p,m){insert_hydration(p,t,m),append_hydration(t,r),append_hydration(r,n),append_hydration(r,b),append_hydration(r,o),append_hydration(o,_),append_hydration(o,a),u&&u.m(o,null),e[7](r),append_hydration(t,i),append_hydration(t,g),append_hydration(t,x),append_hydration(t,d),append_hydration(d,w),append_hydration(d,f),append_hydration(d,l),append_hydration(d,k),append_hydration(d,j),append_hydration(j,S),append_hydration(S,F),append_hydration(d,I),append_hydration(d,h),append_hydration(t,T),append_hydration(t,y),L||(D=[listen(n,"mousedown",e[3]),listen(n,"mouseup",e[5]),listen(_,"contextmenu",prevent_default(contextmenu_handler)),listen(j,"click",e[6]),listen(t,"mousemove",e[4])],L=!0)},p(p,[m]){p[0]?u||(u=create_if_block(),u.c(),u.m(o,null)):u&&(u.d(1),u=null),m&4&&v!==(v=p[2]?"Copied!":"Copy the link for later")&&set_data(F,v)},i:noop,o:noop,d(p){p&&detach(t),u&&u.d(),e[7](null),L=!1,run_all(D)}}}const contextmenu_handler=()=>{};function instance(e,t,r){let n=!1,c,b=!1,o=0,_=0,a=0,i=0,g=!1;onMount(async()=>{try{r(0,n=!0),await __wbg_init(),r(0,n=!1)}catch(f){console.log("[ERROR]:"),console.error(f)}finally{r(0,n=!1)}});function s(f){b=!0,a=f.clientX,i=f.clientY}function x(f){if(b){const l=f.clientX-a,M=f.clientY-i;o+=l,_+=M,a=f.clientX,i=f.clientY,c&&r(1,c.style.transform=`translate(${o}px, ${_}px)`,c)}}function d(){b=!1}function w(){navigator.clipboard.writeText("https://huggingface.co/spaces/HugoDzz/rust-sandbox"),r(2,g=!0)}function E(f){binding_callbacks[f?"unshift":"push"](()=>{c=f,r(1,c)})}return[n,c,g,s,x,d,w,E]}class Page extends SvelteComponent{constructor(t){super(),init(this,t,instance,create_fragment,safe_not_equal,{})}}export{Page as component};
 
1
  import{s as safe_not_equal,f as src_url_equal,n as noop,r as run_all,o as onMount,b as binding_callbacks}from"../chunks/scheduler.63274e7e.js";import{S as SvelteComponent,i as init,g as element,s as space,m as text,h as claim_element,j as children,y as get_svelte_dataset,c as claim_space,f as detach,n as claim_text,k as attr,l as set_style,a as insert_hydration,x as append_hydration,z as listen,o as set_data,A as prevent_default}from"../chunks/index.3abede45.js";const lAudioContext=typeof AudioContext<"u"?AudioContext:typeof webkitAudioContext<"u"?webkitAudioContext:void 0;let wasm;const heap=new Array(128).fill(void 0);heap.push(void 0,null,!0,!1);function getObject(e){return heap[e]}let heap_next=heap.length;function dropObject(e){e<132||(heap[e]=heap_next,heap_next=e)}function takeObject(e){const t=getObject(e);return dropObject(e),t}function addHeapObject(e){heap_next===heap.length&&heap.push(heap.length+1);const t=heap_next;return heap_next=heap[t],heap[t]=e,t}const cachedTextDecoder=typeof TextDecoder<"u"?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};typeof TextDecoder<"u"&&cachedTextDecoder.decode();let cachedUint8Memory0=null;function getUint8Memory0(){return(cachedUint8Memory0===null||cachedUint8Memory0.byteLength===0)&&(cachedUint8Memory0=new Uint8Array(wasm.memory.buffer)),cachedUint8Memory0}function getStringFromWasm0(e,t){return e=e>>>0,cachedTextDecoder.decode(getUint8Memory0().subarray(e,e+t))}function isLikeNone(e){return e==null}let cachedFloat64Memory0=null;function getFloat64Memory0(){return(cachedFloat64Memory0===null||cachedFloat64Memory0.byteLength===0)&&(cachedFloat64Memory0=new Float64Array(wasm.memory.buffer)),cachedFloat64Memory0}let cachedInt32Memory0=null;function getInt32Memory0(){return(cachedInt32Memory0===null||cachedInt32Memory0.byteLength===0)&&(cachedInt32Memory0=new Int32Array(wasm.memory.buffer)),cachedInt32Memory0}let WASM_VECTOR_LEN=0;const cachedTextEncoder=typeof TextEncoder<"u"?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},encodeString=typeof cachedTextEncoder.encodeInto=="function"?function(e,t){return cachedTextEncoder.encodeInto(e,t)}:function(e,t){const r=cachedTextEncoder.encode(e);return t.set(r),{read:e.length,written:r.length}};function passStringToWasm0(e,t,r){if(r===void 0){const _=cachedTextEncoder.encode(e),a=t(_.length,1)>>>0;return getUint8Memory0().subarray(a,a+_.length).set(_),WASM_VECTOR_LEN=_.length,a}let n=e.length,c=t(n,1)>>>0;const b=getUint8Memory0();let o=0;for(;o<n;o++){const _=e.charCodeAt(o);if(_>127)break;b[c+o]=_}if(o!==n){o!==0&&(e=e.slice(o)),c=r(c,n,n=o+e.length*3,1)>>>0;const _=getUint8Memory0().subarray(c+o,c+n),a=encodeString(e,_);o+=a.written}return WASM_VECTOR_LEN=o,c}function debugString(e){const t=typeof e;if(t=="number"||t=="boolean"||e==null)return`${e}`;if(t=="string")return`"${e}"`;if(t=="symbol"){const c=e.description;return c==null?"Symbol":`Symbol(${c})`}if(t=="function"){const c=e.name;return typeof c=="string"&&c.length>0?`Function(${c})`:"Function"}if(Array.isArray(e)){const c=e.length;let b="[";c>0&&(b+=debugString(e[0]));for(let o=1;o<c;o++)b+=", "+debugString(e[o]);return b+="]",b}const r=/\[object ([^\]]+)\]/.exec(toString.call(e));let n;if(r.length>1)n=r[1];else return toString.call(e);if(n=="Object")try{return"Object("+JSON.stringify(e)+")"}catch{return"Object"}return e instanceof Error?`${e.name}: ${e.message}
2
  ${e.stack}`:n}function makeMutClosure(e,t,r,n){const c={a:e,b:t,cnt:1,dtor:r},b=(...o)=>{c.cnt++;const _=c.a;c.a=0;try{return n(_,c.b,...o)}finally{--c.cnt===0?wasm.__wbindgen_export_2.get(c.dtor)(_,c.b):c.a=_}};return b.original=c,b}function __wbg_adapter_34(e,t,r){wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h087aa75c2ef422bf(e,t,addHeapObject(r))}function __wbg_adapter_47(e,t){wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7b2cdb1004d79a48(e,t)}function __wbg_adapter_54(e,t,r){wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__haccacba5b48e204b(e,t,addHeapObject(r))}function __wbg_adapter_57(e,t){wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb967268334a36223(e,t)}function __wbg_adapter_60(e,t,r){wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h25604c97ab01cac0(e,t,addHeapObject(r))}function handleError(e,t){try{return e.apply(this,t)}catch(r){wasm.__wbindgen_exn_store(addHeapObject(r))}}let cachedFloat32Memory0=null;function getFloat32Memory0(){return(cachedFloat32Memory0===null||cachedFloat32Memory0.byteLength===0)&&(cachedFloat32Memory0=new Float32Array(wasm.memory.buffer)),cachedFloat32Memory0}function getArrayF32FromWasm0(e,t){return e=e>>>0,getFloat32Memory0().subarray(e/4,e/4+t)}function getArrayI32FromWasm0(e,t){return e=e>>>0,getInt32Memory0().subarray(e/4,e/4+t)}let cachedUint32Memory0=null;function getUint32Memory0(){return(cachedUint32Memory0===null||cachedUint32Memory0.byteLength===0)&&(cachedUint32Memory0=new Uint32Array(wasm.memory.buffer)),cachedUint32Memory0}function getArrayU32FromWasm0(e,t){return e=e>>>0,getUint32Memory0().subarray(e/4,e/4+t)}async function __wbg_load(e,t){if(typeof Response=="function"&&e instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(e,t)}catch(n){if(e.headers.get("Content-Type")!="application/wasm")console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",n);else throw n}const r=await e.arrayBuffer();return await WebAssembly.instantiate(r,t)}else{const r=await WebAssembly.instantiate(e,t);return r instanceof WebAssembly.Instance?{instance:r,module:e}:r}}function __wbg_get_imports(){const imports={};return imports.wbg={},imports.wbg.__wbindgen_object_drop_ref=function(e){takeObject(e)},imports.wbg.__wbindgen_cb_drop=function(e){const t=takeObject(e).original;return t.cnt--==1?(t.a=0,!0):!1},imports.wbg.__wbindgen_object_clone_ref=function(e){const t=getObject(e);return addHeapObject(t)},imports.wbg.__wbindgen_string_new=function(e,t){const r=getStringFromWasm0(e,t);return addHeapObject(r)},imports.wbg.__wbindgen_number_get=function(e,t){const r=getObject(t),n=typeof r=="number"?r:void 0;getFloat64Memory0()[e/8+1]=isLikeNone(n)?0:n,getInt32Memory0()[e/4+0]=!isLikeNone(n)},imports.wbg.__wbindgen_is_null=function(e){return getObject(e)===null},imports.wbg.__wbindgen_boolean_get=function(e){const t=getObject(e);return typeof t=="boolean"?t?1:0:2},imports.wbg.__wbindgen_string_get=function(e,t){const r=getObject(t),n=typeof r=="string"?r:void 0;var c=isLikeNone(n)?0:passStringToWasm0(n,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc),b=WASM_VECTOR_LEN;getInt32Memory0()[e/4+1]=b,getInt32Memory0()[e/4+0]=c},imports.wbg.__wbindgen_number_new=function(e){return addHeapObject(e)},imports.wbg.__wbg_log_c9486ca5d8e2cbe8=function(e,t){let r,n;try{r=e,n=t,console.log(getStringFromWasm0(e,t))}finally{wasm.__wbindgen_free(r,n,1)}},imports.wbg.__wbg_log_aba5996d9bde071f=function(e,t,r,n,c,b,o,_){let a,i;try{a=e,i=t,console.log(getStringFromWasm0(e,t),getStringFromWasm0(r,n),getStringFromWasm0(c,b),getStringFromWasm0(o,_))}finally{wasm.__wbindgen_free(a,i,1)}},imports.wbg.__wbg_mark_40e050a77cc39fea=function(e,t){performance.mark(getStringFromWasm0(e,t))},imports.wbg.__wbg_measure_aa7a73f17813f708=function(){return handleError(function(e,t,r,n){let c,b,o,_;try{c=e,b=t,o=r,_=n,performance.measure(getStringFromWasm0(e,t),getStringFromWasm0(r,n))}finally{wasm.__wbindgen_free(c,b,1),wasm.__wbindgen_free(o,_,1)}},arguments)},imports.wbg.__wbg_new_abda76e883ba8a5f=function(){const e=new Error;return addHeapObject(e)},imports.wbg.__wbg_stack_658279fe44541cf6=function(e,t){const r=getObject(t).stack,n=passStringToWasm0(r,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc),c=WASM_VECTOR_LEN;getInt32Memory0()[e/4+1]=c,getInt32Memory0()[e/4+0]=n},imports.wbg.__wbg_error_f851667af71bcfc6=function(e,t){let r,n;try{r=e,n=t,console.error(getStringFromWasm0(e,t))}finally{wasm.__wbindgen_free(r,n,1)}},imports.wbg.__wbg_instanceof_WebGl2RenderingContext_f921526c513bf717=function(e){let t;try{t=getObject(e)instanceof WebGL2RenderingContext}catch{t=!1}return t},imports.wbg.__wbg_beginQuery_d338463adf721553=function(e,t,r){getObject(e).beginQuery(t>>>0,getObject(r))},imports.wbg.__wbg_bindBufferRange_d8a5ebc8ea8be507=function(e,t,r,n,c,b){getObject(e).bindBufferRange(t>>>0,r>>>0,getObject(n),c,b)},imports.wbg.__wbg_bindSampler_d74e398b68cf5980=function(e,t,r){getObject(e).bindSampler(t>>>0,getObject(r))},imports.wbg.__wbg_bindVertexArray_8863a216d7b0a339=function(e,t){getObject(e).bindVertexArray(getObject(t))},imports.wbg.__wbg_blitFramebuffer_e6642748dd06d47e=function(e,t,r,n,c,b,o,_,a,i,g){getObject(e).blitFramebuffer(t,r,n,c,b,o,_,a,i>>>0,g>>>0)},imports.wbg.__wbg_bufferData_496bbb31639d9850=function(e,t,r,n){getObject(e).bufferData(t>>>0,r,n>>>0)},imports.wbg.__wbg_bufferData_21334671c4ba6004=function(e,t,r,n){getObject(e).bufferData(t>>>0,getObject(r),n>>>0)},imports.wbg.__wbg_bufferSubData_c472b93c9e272eac=function(e,t,r,n){getObject(e).bufferSubData(t>>>0,r,getObject(n))},imports.wbg.__wbg_clearBufferfi_25bcd35b825f629d=function(e,t,r,n,c){getObject(e).clearBufferfi(t>>>0,r,n,c)},imports.wbg.__wbg_clearBufferfv_9de0cb45cc5a012b=function(e,t,r,n,c){getObject(e).clearBufferfv(t>>>0,r,getArrayF32FromWasm0(n,c))},imports.wbg.__wbg_clearBufferiv_fc2f8bce2930c586=function(e,t,r,n,c){getObject(e).clearBufferiv(t>>>0,r,getArrayI32FromWasm0(n,c))},imports.wbg.__wbg_clearBufferuiv_2f6d220a31eabca4=function(e,t,r,n,c){getObject(e).clearBufferuiv(t>>>0,r,getArrayU32FromWasm0(n,c))},imports.wbg.__wbg_clientWaitSync_6a74725ec890efdd=function(e,t,r,n){return getObject(e).clientWaitSync(getObject(t),r>>>0,n>>>0)},imports.wbg.__wbg_compressedTexSubImage2D_945ba54869f3a612=function(e,t,r,n,c,b,o,_,a,i){getObject(e).compressedTexSubImage2D(t>>>0,r,n,c,b,o,_>>>0,a,i)},imports.wbg.__wbg_compressedTexSubImage2D_ed56fa2f82a839b1=function(e,t,r,n,c,b,o,_,a){getObject(e).compressedTexSubImage2D(t>>>0,r,n,c,b,o,_>>>0,getObject(a))},imports.wbg.__wbg_compressedTexSubImage3D_4cebeae1440fdc14=function(e,t,r,n,c,b,o,_,a,i,g,s){getObject(e).compressedTexSubImage3D(t>>>0,r,n,c,b,o,_,a,i>>>0,g,s)},imports.wbg.__wbg_compressedTexSubImage3D_0ae61aaa91089745=function(e,t,r,n,c,b,o,_,a,i,g){getObject(e).compressedTexSubImage3D(t>>>0,r,n,c,b,o,_,a,i>>>0,getObject(g))},imports.wbg.__wbg_copyBufferSubData_d112912c90270156=function(e,t,r,n,c,b){getObject(e).copyBufferSubData(t>>>0,r>>>0,n,c,b)},imports.wbg.__wbg_copyTexSubImage3D_9fa5e9e7b16cf09d=function(e,t,r,n,c,b,o,_,a,i){getObject(e).copyTexSubImage3D(t>>>0,r,n,c,b,o,_,a,i)},imports.wbg.__wbg_createQuery_2ef2dc0f01a4a8e3=function(e){const t=getObject(e).createQuery();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_createSampler_039ecd204675292b=function(e){const t=getObject(e).createSampler();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_createVertexArray_51d51e1e1e13e9f6=function(e){const t=getObject(e).createVertexArray();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_deleteQuery_0c64c5200cdc57a6=function(e,t){getObject(e).deleteQuery(getObject(t))},imports.wbg.__wbg_deleteSampler_ce5b8e120f96fc1a=function(e,t){getObject(e).deleteSampler(getObject(t))},imports.wbg.__wbg_deleteSync_1b05dfcc176e7466=function(e,t){getObject(e).deleteSync(getObject(t))},imports.wbg.__wbg_deleteVertexArray_3e4f2e2ff7f05a19=function(e,t){getObject(e).deleteVertexArray(getObject(t))},imports.wbg.__wbg_drawArraysInstanced_8fb13fe9faf95212=function(e,t,r,n,c){getObject(e).drawArraysInstanced(t>>>0,r,n,c)},imports.wbg.__wbg_drawBuffers_15d26e17a8d24ee0=function(e,t){getObject(e).drawBuffers(getObject(t))},imports.wbg.__wbg_drawElementsInstanced_dcf53461a977d44c=function(e,t,r,n,c,b){getObject(e).drawElementsInstanced(t>>>0,r,n>>>0,c,b)},imports.wbg.__wbg_endQuery_faf7eb231d6f2a66=function(e,t){getObject(e).endQuery(t>>>0)},imports.wbg.__wbg_fenceSync_d68dcbdcdd134d92=function(e,t,r){const n=getObject(e).fenceSync(t>>>0,r>>>0);return isLikeNone(n)?0:addHeapObject(n)},imports.wbg.__wbg_framebufferTextureLayer_a92788e5f0409234=function(e,t,r,n,c,b){getObject(e).framebufferTextureLayer(t>>>0,r>>>0,getObject(n),c,b)},imports.wbg.__wbg_getBufferSubData_8710cc73621fc332=function(e,t,r,n){getObject(e).getBufferSubData(t>>>0,r,getObject(n))},imports.wbg.__wbg_getIndexedParameter_4f004dc25c3d15a9=function(){return handleError(function(e,t,r){const n=getObject(e).getIndexedParameter(t>>>0,r>>>0);return addHeapObject(n)},arguments)},imports.wbg.__wbg_getQueryParameter_64c18ef385414bf1=function(e,t,r){const n=getObject(e).getQueryParameter(getObject(t),r>>>0);return addHeapObject(n)},imports.wbg.__wbg_getSyncParameter_d93ec7f6bb11274c=function(e,t,r){const n=getObject(e).getSyncParameter(getObject(t),r>>>0);return addHeapObject(n)},imports.wbg.__wbg_getUniformBlockIndex_99c15053c9a87c73=function(e,t,r,n){return getObject(e).getUniformBlockIndex(getObject(t),getStringFromWasm0(r,n))},imports.wbg.__wbg_invalidateFramebuffer_03bd99588b15d627=function(){return handleError(function(e,t,r){getObject(e).invalidateFramebuffer(t>>>0,getObject(r))},arguments)},imports.wbg.__wbg_readBuffer_c426fe18344296ff=function(e,t){getObject(e).readBuffer(t>>>0)},imports.wbg.__wbg_readPixels_99fda83f6ca7ec72=function(){return handleError(function(e,t,r,n,c,b,o,_){getObject(e).readPixels(t,r,n,c,b>>>0,o>>>0,getObject(_))},arguments)},imports.wbg.__wbg_readPixels_9634f0dcfb54667c=function(){return handleError(function(e,t,r,n,c,b,o,_){getObject(e).readPixels(t,r,n,c,b>>>0,o>>>0,_)},arguments)},imports.wbg.__wbg_renderbufferStorageMultisample_9260e2e620c949e5=function(e,t,r,n,c,b){getObject(e).renderbufferStorageMultisample(t>>>0,r,n>>>0,c,b)},imports.wbg.__wbg_samplerParameterf_1c7562ef061b803b=function(e,t,r,n){getObject(e).samplerParameterf(getObject(t),r>>>0,n)},imports.wbg.__wbg_samplerParameteri_0fee083bc48e70ee=function(e,t,r,n){getObject(e).samplerParameteri(getObject(t),r>>>0,n)},imports.wbg.__wbg_texStorage2D_6665d01025a7e7fc=function(e,t,r,n,c,b){getObject(e).texStorage2D(t>>>0,r,n>>>0,c,b)},imports.wbg.__wbg_texStorage3D_c01c31c1b02d75fd=function(e,t,r,n,c,b,o){getObject(e).texStorage3D(t>>>0,r,n>>>0,c,b,o)},imports.wbg.__wbg_texSubImage2D_d2841ded12a8aa66=function(){return handleError(function(e,t,r,n,c,b,o,_,a,i){getObject(e).texSubImage2D(t>>>0,r,n,c,b,o,_>>>0,a>>>0,getObject(i))},arguments)},imports.wbg.__wbg_texSubImage2D_bccf4e250f1ce1b8=function(){return handleError(function(e,t,r,n,c,b,o,_,a,i){getObject(e).texSubImage2D(t>>>0,r,n,c,b,o,_>>>0,a>>>0,i)},arguments)},imports.wbg.__wbg_texSubImage2D_780a7c889dc20a98=function(){return handleError(function(e,t,r,n,c,b,o,_,a,i){getObject(e).texSubImage2D(t>>>0,r,n,c,b,o,_>>>0,a>>>0,getObject(i))},arguments)},imports.wbg.__wbg_texSubImage2D_b5bb36f2f54b4264=function(){return handleError(function(e,t,r,n,c,b,o,_,a,i){getObject(e).texSubImage2D(t>>>0,r,n,c,b,o,_>>>0,a>>>0,getObject(i))},arguments)},imports.wbg.__wbg_texSubImage2D_a297114050ea1098=function(){return handleError(function(e,t,r,n,c,b,o,_,a,i){getObject(e).texSubImage2D(t>>>0,r,n,c,b,o,_>>>0,a>>>0,getObject(i))},arguments)},imports.wbg.__wbg_texSubImage3D_43f39a73ed02fae3=function(){return handleError(function(e,t,r,n,c,b,o,_,a,i,g,s){getObject(e).texSubImage3D(t>>>0,r,n,c,b,o,_,a,i>>>0,g>>>0,s)},arguments)},imports.wbg.__wbg_texSubImage3D_ffdccca1422b482a=function(){return handleError(function(e,t,r,n,c,b,o,_,a,i,g,s){getObject(e).texSubImage3D(t>>>0,r,n,c,b,o,_,a,i>>>0,g>>>0,getObject(s))},arguments)},imports.wbg.__wbg_texSubImage3D_69d5e09d45e0251c=function(){return handleError(function(e,t,r,n,c,b,o,_,a,i,g,s){getObject(e).texSubImage3D(t>>>0,r,n,c,b,o,_,a,i>>>0,g>>>0,getObject(s))},arguments)},imports.wbg.__wbg_texSubImage3D_ae3ed5d0154c346c=function(){return handleError(function(e,t,r,n,c,b,o,_,a,i,g,s){getObject(e).texSubImage3D(t>>>0,r,n,c,b,o,_,a,i>>>0,g>>>0,getObject(s))},arguments)},imports.wbg.__wbg_texSubImage3D_80693fc2c7855e4d=function(){return handleError(function(e,t,r,n,c,b,o,_,a,i,g,s){getObject(e).texSubImage3D(t>>>0,r,n,c,b,o,_,a,i>>>0,g>>>0,getObject(s))},arguments)},imports.wbg.__wbg_uniform2fv_2b473f6dce24c898=function(e,t,r,n){getObject(e).uniform2fv(getObject(t),getArrayF32FromWasm0(r,n))},imports.wbg.__wbg_uniform2iv_fdaa3cd258d3451e=function(e,t,r,n){getObject(e).uniform2iv(getObject(t),getArrayI32FromWasm0(r,n))},imports.wbg.__wbg_uniform3fv_3e55033ca16ec6ab=function(e,t,r,n){getObject(e).uniform3fv(getObject(t),getArrayF32FromWasm0(r,n))},imports.wbg.__wbg_uniform3iv_3d3ed90c76e6777e=function(e,t,r,n){getObject(e).uniform3iv(getObject(t),getArrayI32FromWasm0(r,n))},imports.wbg.__wbg_uniform4fv_26ec0c9d7bf6d7c6=function(e,t,r,n){getObject(e).uniform4fv(getObject(t),getArrayF32FromWasm0(r,n))},imports.wbg.__wbg_uniform4iv_2be6b77c47b90d81=function(e,t,r,n){getObject(e).uniform4iv(getObject(t),getArrayI32FromWasm0(r,n))},imports.wbg.__wbg_uniformBlockBinding_0dc4bd81bb4ccb6a=function(e,t,r,n){getObject(e).uniformBlockBinding(getObject(t),r>>>0,n>>>0)},imports.wbg.__wbg_uniformMatrix2fv_1ab7aeb8562ea3dd=function(e,t,r,n,c){getObject(e).uniformMatrix2fv(getObject(t),r!==0,getArrayF32FromWasm0(n,c))},imports.wbg.__wbg_uniformMatrix3fv_0b151be4d76ee66b=function(e,t,r,n,c){getObject(e).uniformMatrix3fv(getObject(t),r!==0,getArrayF32FromWasm0(n,c))},imports.wbg.__wbg_uniformMatrix4fv_766b5ba343983038=function(e,t,r,n,c){getObject(e).uniformMatrix4fv(getObject(t),r!==0,getArrayF32FromWasm0(n,c))},imports.wbg.__wbg_vertexAttribDivisor_197e2e23e3fbde7f=function(e,t,r){getObject(e).vertexAttribDivisor(t>>>0,r>>>0)},imports.wbg.__wbg_vertexAttribIPointer_6f8540e358f8a547=function(e,t,r,n,c,b){getObject(e).vertexAttribIPointer(t>>>0,r,n>>>0,c,b)},imports.wbg.__wbg_activeTexture_799bf1387e911c27=function(e,t){getObject(e).activeTexture(t>>>0)},imports.wbg.__wbg_attachShader_47256b6b3d42a22e=function(e,t,r){getObject(e).attachShader(getObject(t),getObject(r))},imports.wbg.__wbg_bindBuffer_24f6010e273fa400=function(e,t,r){getObject(e).bindBuffer(t>>>0,getObject(r))},imports.wbg.__wbg_bindFramebuffer_a9573e340dab20fe=function(e,t,r){getObject(e).bindFramebuffer(t>>>0,getObject(r))},imports.wbg.__wbg_bindRenderbuffer_54c404711f9b6958=function(e,t,r){getObject(e).bindRenderbuffer(t>>>0,getObject(r))},imports.wbg.__wbg_bindTexture_92d6d7f8bff9531e=function(e,t,r){getObject(e).bindTexture(t>>>0,getObject(r))},imports.wbg.__wbg_blendColor_7974f09cb60d2be0=function(e,t,r,n,c){getObject(e).blendColor(t,r,n,c)},imports.wbg.__wbg_blendEquation_12146cb96dc1bcd9=function(e,t){getObject(e).blendEquation(t>>>0)},imports.wbg.__wbg_blendEquationSeparate_205526dad772d160=function(e,t,r){getObject(e).blendEquationSeparate(t>>>0,r>>>0)},imports.wbg.__wbg_blendFunc_533de6de45b80a09=function(e,t,r){getObject(e).blendFunc(t>>>0,r>>>0)},imports.wbg.__wbg_blendFuncSeparate_fbf93dee3e5ce456=function(e,t,r,n,c){getObject(e).blendFuncSeparate(t>>>0,r>>>0,n>>>0,c>>>0)},imports.wbg.__wbg_colorMask_fba1e2efd891e2ac=function(e,t,r,n,c){getObject(e).colorMask(t!==0,r!==0,n!==0,c!==0)},imports.wbg.__wbg_compileShader_6bf78b425d5c98e1=function(e,t){getObject(e).compileShader(getObject(t))},imports.wbg.__wbg_copyTexSubImage2D_26685100d5f2b4c0=function(e,t,r,n,c,b,o,_,a){getObject(e).copyTexSubImage2D(t>>>0,r,n,c,b,o,_,a)},imports.wbg.__wbg_createBuffer_323425af422748ac=function(e){const t=getObject(e).createBuffer();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_createFramebuffer_1684a99697ac9563=function(e){const t=getObject(e).createFramebuffer();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_createProgram_4eaf3b97b5747a62=function(e){const t=getObject(e).createProgram();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_createRenderbuffer_3e6dd356d7897ed7=function(e){const t=getObject(e).createRenderbuffer();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_createShader_429776c9dd6fb87b=function(e,t){const r=getObject(e).createShader(t>>>0);return isLikeNone(r)?0:addHeapObject(r)},imports.wbg.__wbg_createTexture_1bf4d6fec570124b=function(e){const t=getObject(e).createTexture();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_cullFace_6daa9f2aa42b4620=function(e,t){getObject(e).cullFace(t>>>0)},imports.wbg.__wbg_deleteBuffer_2c09d03fa4b0bd08=function(e,t){getObject(e).deleteBuffer(getObject(t))},imports.wbg.__wbg_deleteFramebuffer_edd16bb8df6a8e0d=function(e,t){getObject(e).deleteFramebuffer(getObject(t))},imports.wbg.__wbg_deleteProgram_53a32852f245b839=function(e,t){getObject(e).deleteProgram(getObject(t))},imports.wbg.__wbg_deleteRenderbuffer_134040051fcc1ba5=function(e,t){getObject(e).deleteRenderbuffer(getObject(t))},imports.wbg.__wbg_deleteShader_7c1222349324b5e2=function(e,t){getObject(e).deleteShader(getObject(t))},imports.wbg.__wbg_deleteTexture_4fcfea73cd8f6214=function(e,t){getObject(e).deleteTexture(getObject(t))},imports.wbg.__wbg_depthFunc_fb41ad353d07948d=function(e,t){getObject(e).depthFunc(t>>>0)},imports.wbg.__wbg_depthMask_6a4ff02cd2a2702e=function(e,t){getObject(e).depthMask(t!==0)},imports.wbg.__wbg_depthRange_a5647a9040aec55b=function(e,t,r){getObject(e).depthRange(t,r)},imports.wbg.__wbg_disable_e02106ca6c7002d6=function(e,t){getObject(e).disable(t>>>0)},imports.wbg.__wbg_disableVertexAttribArray_6d57776c8f642f44=function(e,t){getObject(e).disableVertexAttribArray(t>>>0)},imports.wbg.__wbg_drawArrays_c91ce3f736bf1f2a=function(e,t,r,n){getObject(e).drawArrays(t>>>0,r,n)},imports.wbg.__wbg_enable_195891416c520019=function(e,t){getObject(e).enable(t>>>0)},imports.wbg.__wbg_enableVertexAttribArray_8804480c2ea0bb72=function(e,t){getObject(e).enableVertexAttribArray(t>>>0)},imports.wbg.__wbg_framebufferRenderbuffer_3ec0983918c2b69d=function(e,t,r,n,c){getObject(e).framebufferRenderbuffer(t>>>0,r>>>0,n>>>0,getObject(c))},imports.wbg.__wbg_framebufferTexture2D_e88fcbd7f8523bb8=function(e,t,r,n,c,b){getObject(e).framebufferTexture2D(t>>>0,r>>>0,n>>>0,getObject(c),b)},imports.wbg.__wbg_frontFace_786a036f1d643925=function(e,t){getObject(e).frontFace(t>>>0)},imports.wbg.__wbg_getActiveUniform_78367ddc7339640b=function(e,t,r){const n=getObject(e).getActiveUniform(getObject(t),r>>>0);return isLikeNone(n)?0:addHeapObject(n)},imports.wbg.__wbg_getExtension_77909f6d51d49d4d=function(){return handleError(function(e,t,r){const n=getObject(e).getExtension(getStringFromWasm0(t,r));return isLikeNone(n)?0:addHeapObject(n)},arguments)},imports.wbg.__wbg_getParameter_55b36a787dbbfb74=function(){return handleError(function(e,t){const r=getObject(e).getParameter(t>>>0);return addHeapObject(r)},arguments)},imports.wbg.__wbg_getProgramInfoLog_b81bc53188e286fa=function(e,t,r){const n=getObject(t).getProgramInfoLog(getObject(r));var c=isLikeNone(n)?0:passStringToWasm0(n,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc),b=WASM_VECTOR_LEN;getInt32Memory0()[e/4+1]=b,getInt32Memory0()[e/4+0]=c},imports.wbg.__wbg_getProgramParameter_35522a0bfdfaad27=function(e,t,r){const n=getObject(e).getProgramParameter(getObject(t),r>>>0);return addHeapObject(n)},imports.wbg.__wbg_getShaderInfoLog_968b93e75477d725=function(e,t,r){const n=getObject(t).getShaderInfoLog(getObject(r));var c=isLikeNone(n)?0:passStringToWasm0(n,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc),b=WASM_VECTOR_LEN;getInt32Memory0()[e/4+1]=b,getInt32Memory0()[e/4+0]=c},imports.wbg.__wbg_getShaderParameter_ac2727ae4fe7648e=function(e,t,r){const n=getObject(e).getShaderParameter(getObject(t),r>>>0);return addHeapObject(n)},imports.wbg.__wbg_getSupportedExtensions_fafc31aab913037d=function(e){const t=getObject(e).getSupportedExtensions();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_getUniformLocation_9f6eb60c560a347b=function(e,t,r,n){const c=getObject(e).getUniformLocation(getObject(t),getStringFromWasm0(r,n));return isLikeNone(c)?0:addHeapObject(c)},imports.wbg.__wbg_linkProgram_33998194075d71fb=function(e,t){getObject(e).linkProgram(getObject(t))},imports.wbg.__wbg_pixelStorei_f3a24990aa352fc7=function(e,t,r){getObject(e).pixelStorei(t>>>0,r)},imports.wbg.__wbg_polygonOffset_faca8e73770272ff=function(e,t,r){getObject(e).polygonOffset(t,r)},imports.wbg.__wbg_renderbufferStorage_987d1af7c9faf5dd=function(e,t,r,n,c){getObject(e).renderbufferStorage(t>>>0,r>>>0,n,c)},imports.wbg.__wbg_scissor_e8e41e1c0a9817c8=function(e,t,r,n,c){getObject(e).scissor(t,r,n,c)},imports.wbg.__wbg_shaderSource_1cb7c64dc7d1a500=function(e,t,r,n){getObject(e).shaderSource(getObject(t),getStringFromWasm0(r,n))},imports.wbg.__wbg_stencilFuncSeparate_8ff94e24a50a3c45=function(e,t,r,n,c){getObject(e).stencilFuncSeparate(t>>>0,r>>>0,n,c>>>0)},imports.wbg.__wbg_stencilMask_641f92999dd3c3de=function(e,t){getObject(e).stencilMask(t>>>0)},imports.wbg.__wbg_stencilMaskSeparate_6b2c8ef22fb3b6d1=function(e,t,r){getObject(e).stencilMaskSeparate(t>>>0,r>>>0)},imports.wbg.__wbg_stencilOpSeparate_38925591af8feb44=function(e,t,r,n,c){getObject(e).stencilOpSeparate(t>>>0,r>>>0,n>>>0,c>>>0)},imports.wbg.__wbg_texParameteri_85dad939f62a15aa=function(e,t,r,n){getObject(e).texParameteri(t>>>0,r>>>0,n)},imports.wbg.__wbg_uniform1f_88379f4e2630bc66=function(e,t,r){getObject(e).uniform1f(getObject(t),r)},imports.wbg.__wbg_uniform1i_d2e61a6a43889648=function(e,t,r){getObject(e).uniform1i(getObject(t),r)},imports.wbg.__wbg_uniform4f_a9fd337d4b07f595=function(e,t,r,n,c,b){getObject(e).uniform4f(getObject(t),r,n,c,b)},imports.wbg.__wbg_useProgram_3683cf6f60939dcd=function(e,t){getObject(e).useProgram(getObject(t))},imports.wbg.__wbg_vertexAttribPointer_316ffe2f0458fde7=function(e,t,r,n,c,b,o){getObject(e).vertexAttribPointer(t>>>0,r,n>>>0,c!==0,b,o)},imports.wbg.__wbg_viewport_fad1ce9e18f741c0=function(e,t,r,n,c){getObject(e).viewport(t,r,n,c)},imports.wbg.__wbg_instanceof_Window_9029196b662bc42a=function(e){let t;try{t=getObject(e)instanceof Window}catch{t=!1}return t},imports.wbg.__wbg_document_f7ace2b956f30a4f=function(e){const t=getObject(e).document;return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_navigator_7c9103698acde322=function(e){const t=getObject(e).navigator;return addHeapObject(t)},imports.wbg.__wbg_innerWidth_ebe07ce5463ff293=function(){return handleError(function(e){const t=getObject(e).innerWidth;return addHeapObject(t)},arguments)},imports.wbg.__wbg_innerHeight_2dd06d8cf68f1d7d=function(){return handleError(function(e){const t=getObject(e).innerHeight;return addHeapObject(t)},arguments)},imports.wbg.__wbg_devicePixelRatio_f9de7bddca0eaf20=function(e){return getObject(e).devicePixelRatio},imports.wbg.__wbg_isSecureContext_4890500d265c48bd=function(e){return getObject(e).isSecureContext},imports.wbg.__wbg_matchMedia_12ef69056e32d0b3=function(){return handleError(function(e,t,r){const n=getObject(e).matchMedia(getStringFromWasm0(t,r));return isLikeNone(n)?0:addHeapObject(n)},arguments)},imports.wbg.__wbg_get_cb7c1c2da725c920=function(e,t,r){const n=getObject(e)[getStringFromWasm0(t,r)];return isLikeNone(n)?0:addHeapObject(n)},imports.wbg.__wbg_cancelAnimationFrame_9b68e9588c6543bc=function(){return handleError(function(e,t){getObject(e).cancelAnimationFrame(t)},arguments)},imports.wbg.__wbg_requestAnimationFrame_d082200514b6674d=function(){return handleError(function(e,t){return getObject(e).requestAnimationFrame(getObject(t))},arguments)},imports.wbg.__wbg_clearTimeout_220be2fa0577b342=function(e,t){getObject(e).clearTimeout(t)},imports.wbg.__wbg_fetch_25c13b73a41a6660=function(e,t,r){const n=getObject(e).fetch(getStringFromWasm0(t,r));return addHeapObject(n)},imports.wbg.__wbg_setTimeout_eb1a0d116c26d9f6=function(){return handleError(function(e,t,r){return getObject(e).setTimeout(getObject(t),r)},arguments)},imports.wbg.__wbg_clientX_1a480606ab0cabaa=function(e){return getObject(e).clientX},imports.wbg.__wbg_clientY_9c7878f7faf3900f=function(e){return getObject(e).clientY},imports.wbg.__wbg_offsetX_5a58f16f6c3a41b6=function(e){return getObject(e).offsetX},imports.wbg.__wbg_offsetY_c45b4956f6429a95=function(e){return getObject(e).offsetY},imports.wbg.__wbg_ctrlKey_0a805df688b5bf42=function(e){return getObject(e).ctrlKey},imports.wbg.__wbg_shiftKey_8a070ab6169b5fa4=function(e){return getObject(e).shiftKey},imports.wbg.__wbg_altKey_6fc1761a6b7a406e=function(e){return getObject(e).altKey},imports.wbg.__wbg_metaKey_d89287be4389a3c1=function(e){return getObject(e).metaKey},imports.wbg.__wbg_button_7a095234b69de930=function(e){return getObject(e).button},imports.wbg.__wbg_buttons_d0f40e1650e3fa28=function(e){return getObject(e).buttons},imports.wbg.__wbg_movementX_966ec323c169d1a6=function(e){return getObject(e).movementX},imports.wbg.__wbg_movementY_b14b3bc8e1b31f23=function(e){return getObject(e).movementY},imports.wbg.__wbg_pressed_d881ce4add9c474b=function(e){return getObject(e).pressed},imports.wbg.__wbg_value_c99f8b78cbe90703=function(e){return getObject(e).value},imports.wbg.__wbg_now_0cfdc90c97d0c24b=function(e){return getObject(e).now()},imports.wbg.__wbg_pointerId_701aab7b4fb073ff=function(e){return getObject(e).pointerId},imports.wbg.__wbg_pressure_e388b6fd623a3917=function(e){return getObject(e).pressure},imports.wbg.__wbg_pointerType_0009b1e4e6b0f428=function(e,t){const r=getObject(t).pointerType,n=passStringToWasm0(r,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc),c=WASM_VECTOR_LEN;getInt32Memory0()[e/4+1]=c,getInt32Memory0()[e/4+0]=n},imports.wbg.__wbg_instanceof_Response_fc4327dbfcdf5ced=function(e){let t;try{t=getObject(e)instanceof Response}catch{t=!1}return t},imports.wbg.__wbg_arrayBuffer_288fb3538806e85c=function(){return handleError(function(e){const t=getObject(e).arrayBuffer();return addHeapObject(t)},arguments)},imports.wbg.__wbg_copyToChannel_6e4bd2545a53db54=function(){return handleError(function(e,t,r,n){getObject(e).copyToChannel(getArrayF32FromWasm0(t,r),n)},arguments)},imports.wbg.__wbg_x_6c8af74c3b4d8c09=function(e){return getObject(e).x},imports.wbg.__wbg_y_4cca2672ce1b5fc1=function(e){return getObject(e).y},imports.wbg.__wbg_width_e0c6b79d8cdd8897=function(e){return getObject(e).width},imports.wbg.__wbg_height_bed51746e072a118=function(e){return getObject(e).height},imports.wbg.__wbg_instanceof_HtmlCanvasElement_da5f9efa0688cf6d=function(e){let t;try{t=getObject(e)instanceof HTMLCanvasElement}catch{t=!1}return t},imports.wbg.__wbg_width_2931aaedd21f1fff=function(e){return getObject(e).width},imports.wbg.__wbg_setwidth_a667a942dba6656e=function(e,t){getObject(e).width=t>>>0},imports.wbg.__wbg_height_0d36fbbeb60b0661=function(e){return getObject(e).height},imports.wbg.__wbg_setheight_a747d440760fe5aa=function(e,t){getObject(e).height=t>>>0},imports.wbg.__wbg_getContext_6d1f155bb5c1096a=function(){return handleError(function(e,t,r,n){const c=getObject(e).getContext(getStringFromWasm0(t,r),getObject(n));return isLikeNone(c)?0:addHeapObject(c)},arguments)},imports.wbg.__wbg_width_019b79813c2e80cf=function(e){return getObject(e).width},imports.wbg.__wbg_height_12082005add04bb5=function(e){return getObject(e).height},imports.wbg.__wbg_matches_0f7e350783b542c2=function(e){return getObject(e).matches},imports.wbg.__wbg_bindVertexArrayOES_b7d9da7e073aa6b5=function(e,t){getObject(e).bindVertexArrayOES(getObject(t))},imports.wbg.__wbg_createVertexArrayOES_6a3c3a5a68201f8f=function(e){const t=getObject(e).createVertexArrayOES();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_deleteVertexArrayOES_7bf4589e63d84df6=function(e,t){getObject(e).deleteVertexArrayOES(getObject(t))},imports.wbg.__wbg_width_0b4991f5cf7c640a=function(e){return getObject(e).width},imports.wbg.__wbg_setwidth_15266a5e81f43cf0=function(e,t){getObject(e).width=t>>>0},imports.wbg.__wbg_height_8cce73e95fb10fd3=function(e){return getObject(e).height},imports.wbg.__wbg_setheight_2e9bab573f1775a6=function(e,t){getObject(e).height=t>>>0},imports.wbg.__wbg_framebufferTextureMultiviewOVR_4d911c3fccedc517=function(e,t,r,n,c,b,o){getObject(e).framebufferTextureMultiviewOVR(t>>>0,r>>>0,getObject(n),c,b,o)},imports.wbg.__wbg_deltaX_84508d00a1050e70=function(e){return getObject(e).deltaX},imports.wbg.__wbg_deltaY_64823169afb0335d=function(e){return getObject(e).deltaY},imports.wbg.__wbg_deltaMode_1c680147cfdba8a5=function(e){return getObject(e).deltaMode},imports.wbg.__wbg_charCode_75cea1a3a6d66388=function(e){return getObject(e).charCode},imports.wbg.__wbg_keyCode_dfa86be31f5ef90c=function(e){return getObject(e).keyCode},imports.wbg.__wbg_altKey_612289acf855835c=function(e){return getObject(e).altKey},imports.wbg.__wbg_ctrlKey_582686fb2263dd3c=function(e){return getObject(e).ctrlKey},imports.wbg.__wbg_shiftKey_48e8701355d8e2d4=function(e){return getObject(e).shiftKey},imports.wbg.__wbg_metaKey_43193b7cc99f8914=function(e){return getObject(e).metaKey},imports.wbg.__wbg_key_8aeaa079126a9cc7=function(e,t){const r=getObject(t).key,n=passStringToWasm0(r,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc),c=WASM_VECTOR_LEN;getInt32Memory0()[e/4+1]=c,getInt32Memory0()[e/4+0]=n},imports.wbg.__wbg_code_96d6322b968b2d17=function(e,t){const r=getObject(t).code,n=passStringToWasm0(r,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc),c=WASM_VECTOR_LEN;getInt32Memory0()[e/4+1]=c,getInt32Memory0()[e/4+0]=n},imports.wbg.__wbg_getModifierState_5102ee8843516d2f=function(e,t,r){return getObject(e).getModifierState(getStringFromWasm0(t,r))},imports.wbg.__wbg_destination_9e793cf556243084=function(e){const t=getObject(e).destination;return addHeapObject(t)},imports.wbg.__wbg_currentTime_c6831b97750b898c=function(e){return getObject(e).currentTime},imports.wbg.__wbg_newwithcontextoptions_3fb88aa326cd01e0=function(){return handleError(function(e){const t=new lAudioContext(getObject(e));return addHeapObject(t)},arguments)},imports.wbg.__wbg_close_51aa5539747ce076=function(){return handleError(function(e){const t=getObject(e).close();return addHeapObject(t)},arguments)},imports.wbg.__wbg_createBuffer_13cd030d2b48e8fa=function(){return handleError(function(e,t,r,n){const c=getObject(e).createBuffer(t>>>0,r>>>0,n);return addHeapObject(c)},arguments)},imports.wbg.__wbg_createBufferSource_58423f6345b5f559=function(){return handleError(function(e){const t=getObject(e).createBufferSource();return addHeapObject(t)},arguments)},imports.wbg.__wbg_resume_9dc64ed7c3a65255=function(){return handleError(function(e){const t=getObject(e).resume();return addHeapObject(t)},arguments)},imports.wbg.__wbg_addEventListener_5651108fc3ffeb6e=function(){return handleError(function(e,t,r,n){getObject(e).addEventListener(getStringFromWasm0(t,r),getObject(n))},arguments)},imports.wbg.__wbg_addEventListener_a5963e26cd7b176b=function(){return handleError(function(e,t,r,n,c){getObject(e).addEventListener(getStringFromWasm0(t,r),getObject(n),getObject(c))},arguments)},imports.wbg.__wbg_removeEventListener_1fa0d9594cdb0b1d=function(){return handleError(function(e,t,r,n,c){getObject(e).removeEventListener(getStringFromWasm0(t,r),getObject(n),getObject(c))},arguments)},imports.wbg.__wbg_getGamepads_cbb82980ae1db5e1=function(){return handleError(function(e){const t=getObject(e).getGamepads();return addHeapObject(t)},arguments)},imports.wbg.__wbg_drawArraysInstancedANGLE_01b862ba133350a3=function(e,t,r,n,c){getObject(e).drawArraysInstancedANGLE(t>>>0,r,n,c)},imports.wbg.__wbg_drawElementsInstancedANGLE_ea6343af8bf9c9f8=function(e,t,r,n,c,b){getObject(e).drawElementsInstancedANGLE(t>>>0,r,n>>>0,c,b)},imports.wbg.__wbg_vertexAttribDivisorANGLE_a8476eb778e16c70=function(e,t,r){getObject(e).vertexAttribDivisorANGLE(t>>>0,r>>>0)},imports.wbg.__wbg_setbuffer_beeece042e02534f=function(e,t){getObject(e).buffer=getObject(t)},imports.wbg.__wbg_setonended_83dd83b7f84cdef2=function(e,t){getObject(e).onended=getObject(t)},imports.wbg.__wbg_start_99ecc2647eb67ca6=function(){return handleError(function(e,t){getObject(e).start(t)},arguments)},imports.wbg.__wbg_maxChannelCount_a32b07796ef189d0=function(e){return getObject(e).maxChannelCount},imports.wbg.__wbg_setProperty_b95ef63ab852879e=function(){return handleError(function(e,t,r,n,c){getObject(e).setProperty(getStringFromWasm0(t,r),getStringFromWasm0(n,c))},arguments)},imports.wbg.__wbg_videoWidth_02eadb74917aa4fc=function(e){return getObject(e).videoWidth},imports.wbg.__wbg_videoHeight_dac4c345988e5562=function(e){return getObject(e).videoHeight},imports.wbg.__wbg_parentElement_c75962bc9997ea5f=function(e){const t=getObject(e).parentElement;return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_appendChild_51339d4cde00ee22=function(){return handleError(function(e,t){const r=getObject(e).appendChild(getObject(t));return addHeapObject(r)},arguments)},imports.wbg.__wbg_body_674aec4c1c0910cd=function(e){const t=getObject(e).body;return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_fullscreenElement_07d5b77ef6c958c1=function(e){const t=getObject(e).fullscreenElement;return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_createElement_4891554b28d3388b=function(){return handleError(function(e,t,r){const n=getObject(e).createElement(getStringFromWasm0(t,r));return addHeapObject(n)},arguments)},imports.wbg.__wbg_exitFullscreen_5fada21e8623256e=function(e){getObject(e).exitFullscreen()},imports.wbg.__wbg_exitPointerLock_bf425ac90f055faa=function(e){getObject(e).exitPointerLock()},imports.wbg.__wbg_querySelector_52ded52c20e23921=function(){return handleError(function(e,t,r){const n=getObject(e).querySelector(getStringFromWasm0(t,r));return isLikeNone(n)?0:addHeapObject(n)},arguments)},imports.wbg.__wbg_getBoundingClientRect_ac9db8cf97ca8083=function(e){const t=getObject(e).getBoundingClientRect();return addHeapObject(t)},imports.wbg.__wbg_requestFullscreen_3545278bcd44910c=function(){return handleError(function(e){getObject(e).requestFullscreen()},arguments)},imports.wbg.__wbg_requestPointerLock_368c5cc6c3ddd339=function(e){getObject(e).requestPointerLock()},imports.wbg.__wbg_setAttribute_e7e80b478b7b8b2f=function(){return handleError(function(e,t,r,n,c){getObject(e).setAttribute(getStringFromWasm0(t,r),getStringFromWasm0(n,c))},arguments)},imports.wbg.__wbg_setPointerCapture_e7c29336490bba19=function(){return handleError(function(e,t){getObject(e).setPointerCapture(t)},arguments)},imports.wbg.__wbg_style_3801009b2339aa94=function(e){const t=getObject(e).style;return addHeapObject(t)},imports.wbg.__wbg_bufferData_92a3e0b745b0d726=function(e,t,r,n){getObject(e).bufferData(t>>>0,r,n>>>0)},imports.wbg.__wbg_bufferData_a11a9f65f31e7256=function(e,t,r,n){getObject(e).bufferData(t>>>0,getObject(r),n>>>0)},imports.wbg.__wbg_bufferSubData_fca6f1c10273be21=function(e,t,r,n){getObject(e).bufferSubData(t>>>0,r,getObject(n))},imports.wbg.__wbg_compressedTexSubImage2D_21078c6de0a71aad=function(e,t,r,n,c,b,o,_,a){getObject(e).compressedTexSubImage2D(t>>>0,r,n,c,b,o,_>>>0,getObject(a))},imports.wbg.__wbg_readPixels_91b0d8854de90477=function(){return handleError(function(e,t,r,n,c,b,o,_){getObject(e).readPixels(t,r,n,c,b>>>0,o>>>0,getObject(_))},arguments)},imports.wbg.__wbg_texSubImage2D_f1a31f8045b7f831=function(){return handleError(function(e,t,r,n,c,b,o,_,a,i){getObject(e).texSubImage2D(t>>>0,r,n,c,b,o,_>>>0,a>>>0,getObject(i))},arguments)},imports.wbg.__wbg_uniform2fv_c928f6ba0085b381=function(e,t,r,n){getObject(e).uniform2fv(getObject(t),getArrayF32FromWasm0(r,n))},imports.wbg.__wbg_uniform2iv_7e5f8e7c2f4d4d6a=function(e,t,r,n){getObject(e).uniform2iv(getObject(t),getArrayI32FromWasm0(r,n))},imports.wbg.__wbg_uniform3fv_1aba437b913c1926=function(e,t,r,n){getObject(e).uniform3fv(getObject(t),getArrayF32FromWasm0(r,n))},imports.wbg.__wbg_uniform3iv_23751fe4dfcdf539=function(e,t,r,n){getObject(e).uniform3iv(getObject(t),getArrayI32FromWasm0(r,n))},imports.wbg.__wbg_uniform4fv_7c51c2251d851cb2=function(e,t,r,n){getObject(e).uniform4fv(getObject(t),getArrayF32FromWasm0(r,n))},imports.wbg.__wbg_uniform4iv_27b49984e9c5d90a=function(e,t,r,n){getObject(e).uniform4iv(getObject(t),getArrayI32FromWasm0(r,n))},imports.wbg.__wbg_uniformMatrix2fv_f8f3ef807f196bf1=function(e,t,r,n,c){getObject(e).uniformMatrix2fv(getObject(t),r!==0,getArrayF32FromWasm0(n,c))},imports.wbg.__wbg_uniformMatrix3fv_341eec37953e50c5=function(e,t,r,n,c){getObject(e).uniformMatrix3fv(getObject(t),r!==0,getArrayF32FromWasm0(n,c))},imports.wbg.__wbg_uniformMatrix4fv_465ab8de531f4f78=function(e,t,r,n,c){getObject(e).uniformMatrix4fv(getObject(t),r!==0,getArrayF32FromWasm0(n,c))},imports.wbg.__wbg_activeTexture_93b4de60af07da9c=function(e,t){getObject(e).activeTexture(t>>>0)},imports.wbg.__wbg_attachShader_b65b695055670cb5=function(e,t,r){getObject(e).attachShader(getObject(t),getObject(r))},imports.wbg.__wbg_bindBuffer_313561e5bc0e533f=function(e,t,r){getObject(e).bindBuffer(t>>>0,getObject(r))},imports.wbg.__wbg_bindFramebuffer_56bf6536a4ced0ec=function(e,t,r){getObject(e).bindFramebuffer(t>>>0,getObject(r))},imports.wbg.__wbg_bindRenderbuffer_559c7c6b6676dddd=function(e,t,r){getObject(e).bindRenderbuffer(t>>>0,getObject(r))},imports.wbg.__wbg_bindTexture_9cb5c770d1ba2cca=function(e,t,r){getObject(e).bindTexture(t>>>0,getObject(r))},imports.wbg.__wbg_blendColor_b9006ef6c450acd0=function(e,t,r,n,c){getObject(e).blendColor(t,r,n,c)},imports.wbg.__wbg_blendEquation_f31ce08020786a09=function(e,t){getObject(e).blendEquation(t>>>0)},imports.wbg.__wbg_blendEquationSeparate_7ec5e34f066e44f8=function(e,t,r){getObject(e).blendEquationSeparate(t>>>0,r>>>0)},imports.wbg.__wbg_blendFunc_fbe9d3a688fe71c3=function(e,t,r){getObject(e).blendFunc(t>>>0,r>>>0)},imports.wbg.__wbg_blendFuncSeparate_7547ade0a7dfade2=function(e,t,r,n,c){getObject(e).blendFuncSeparate(t>>>0,r>>>0,n>>>0,c>>>0)},imports.wbg.__wbg_colorMask_7cbd7a102954ede9=function(e,t,r,n,c){getObject(e).colorMask(t!==0,r!==0,n!==0,c!==0)},imports.wbg.__wbg_compileShader_d88d0a8cd9b72b4d=function(e,t){getObject(e).compileShader(getObject(t))},imports.wbg.__wbg_copyTexSubImage2D_3029f8dfe7543ab6=function(e,t,r,n,c,b,o,_,a){getObject(e).copyTexSubImage2D(t>>>0,r,n,c,b,o,_,a)},imports.wbg.__wbg_createBuffer_59051f4461e7c5e2=function(e){const t=getObject(e).createBuffer();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_createFramebuffer_223c1212ad76affc=function(e){const t=getObject(e).createFramebuffer();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_createProgram_88dbe21c0b682e1a=function(e){const t=getObject(e).createProgram();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_createRenderbuffer_bcb61b756ba21490=function(e){const t=getObject(e).createRenderbuffer();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_createShader_9d7d388633caad18=function(e,t){const r=getObject(e).createShader(t>>>0);return isLikeNone(r)?0:addHeapObject(r)},imports.wbg.__wbg_createTexture_9d0bb4d741b8ad76=function(e){const t=getObject(e).createTexture();return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_cullFace_4c086dc1d86a19b5=function(e,t){getObject(e).cullFace(t>>>0)},imports.wbg.__wbg_deleteBuffer_cdc6b9c73f54aff7=function(e,t){getObject(e).deleteBuffer(getObject(t))},imports.wbg.__wbg_deleteFramebuffer_fcc10cb143c6573d=function(e,t){getObject(e).deleteFramebuffer(getObject(t))},imports.wbg.__wbg_deleteProgram_d8d7fc79ba83b256=function(e,t){getObject(e).deleteProgram(getObject(t))},imports.wbg.__wbg_deleteRenderbuffer_edf9e1b4e0a1e005=function(e,t){getObject(e).deleteRenderbuffer(getObject(t))},imports.wbg.__wbg_deleteShader_9a2f85efe5cb3706=function(e,t){getObject(e).deleteShader(getObject(t))},imports.wbg.__wbg_deleteTexture_a883356c5034d482=function(e,t){getObject(e).deleteTexture(getObject(t))},imports.wbg.__wbg_depthFunc_4eda7b4e682acbad=function(e,t){getObject(e).depthFunc(t>>>0)},imports.wbg.__wbg_depthMask_a3071e13bb087102=function(e,t){getObject(e).depthMask(t!==0)},imports.wbg.__wbg_depthRange_ff5298a73fd02650=function(e,t,r){getObject(e).depthRange(t,r)},imports.wbg.__wbg_disable_5cf2070641fa2ed7=function(e,t){getObject(e).disable(t>>>0)},imports.wbg.__wbg_disableVertexAttribArray_8dacd44e21adcaa2=function(e,t){getObject(e).disableVertexAttribArray(t>>>0)},imports.wbg.__wbg_drawArrays_d5c7dc2b2376c85a=function(e,t,r,n){getObject(e).drawArrays(t>>>0,r,n)},imports.wbg.__wbg_enable_8965e69c596f0a94=function(e,t){getObject(e).enable(t>>>0)},imports.wbg.__wbg_enableVertexAttribArray_2b0475db43533cf2=function(e,t){getObject(e).enableVertexAttribArray(t>>>0)},imports.wbg.__wbg_framebufferRenderbuffer_d80f5381d429bc45=function(e,t,r,n,c){getObject(e).framebufferRenderbuffer(t>>>0,r>>>0,n>>>0,getObject(c))},imports.wbg.__wbg_framebufferTexture2D_953e69a8bec22fa9=function(e,t,r,n,c,b){getObject(e).framebufferTexture2D(t>>>0,r>>>0,n>>>0,getObject(c),b)},imports.wbg.__wbg_frontFace_0ba67b9e6365557c=function(e,t){getObject(e).frontFace(t>>>0)},imports.wbg.__wbg_getActiveUniform_87df972e841afed2=function(e,t,r){const n=getObject(e).getActiveUniform(getObject(t),r>>>0);return isLikeNone(n)?0:addHeapObject(n)},imports.wbg.__wbg_getParameter_bfab7f0b00c9d7fb=function(){return handleError(function(e,t){const r=getObject(e).getParameter(t>>>0);return addHeapObject(r)},arguments)},imports.wbg.__wbg_getProgramInfoLog_0b7af4ad85fa52a4=function(e,t,r){const n=getObject(t).getProgramInfoLog(getObject(r));var c=isLikeNone(n)?0:passStringToWasm0(n,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc),b=WASM_VECTOR_LEN;getInt32Memory0()[e/4+1]=b,getInt32Memory0()[e/4+0]=c},imports.wbg.__wbg_getProgramParameter_2a3735278367f8bc=function(e,t,r){const n=getObject(e).getProgramParameter(getObject(t),r>>>0);return addHeapObject(n)},imports.wbg.__wbg_getShaderInfoLog_979aafa403ffb252=function(e,t,r){const n=getObject(t).getShaderInfoLog(getObject(r));var c=isLikeNone(n)?0:passStringToWasm0(n,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc),b=WASM_VECTOR_LEN;getInt32Memory0()[e/4+1]=b,getInt32Memory0()[e/4+0]=c},imports.wbg.__wbg_getShaderParameter_e8054f1d9026fb70=function(e,t,r){const n=getObject(e).getShaderParameter(getObject(t),r>>>0);return addHeapObject(n)},imports.wbg.__wbg_getUniformLocation_688976233799a45a=function(e,t,r,n){const c=getObject(e).getUniformLocation(getObject(t),getStringFromWasm0(r,n));return isLikeNone(c)?0:addHeapObject(c)},imports.wbg.__wbg_linkProgram_9a2d12d120d99917=function(e,t){getObject(e).linkProgram(getObject(t))},imports.wbg.__wbg_pixelStorei_5ec932ebefd00149=function(e,t,r){getObject(e).pixelStorei(t>>>0,r)},imports.wbg.__wbg_polygonOffset_55eea57bba1b49e9=function(e,t,r){getObject(e).polygonOffset(t,r)},imports.wbg.__wbg_renderbufferStorage_4bcd9ddf1749ce26=function(e,t,r,n,c){getObject(e).renderbufferStorage(t>>>0,r>>>0,n,c)},imports.wbg.__wbg_scissor_c8ec3b1e053f3756=function(e,t,r,n,c){getObject(e).scissor(t,r,n,c)},imports.wbg.__wbg_shaderSource_f435f9b74440bb54=function(e,t,r,n){getObject(e).shaderSource(getObject(t),getStringFromWasm0(r,n))},imports.wbg.__wbg_stencilFuncSeparate_0fae0ee7c04a23b2=function(e,t,r,n,c){getObject(e).stencilFuncSeparate(t>>>0,r>>>0,n,c>>>0)},imports.wbg.__wbg_stencilMask_79416c29ac1ce3a4=function(e,t){getObject(e).stencilMask(t>>>0)},imports.wbg.__wbg_stencilMaskSeparate_19bdb57664d2c34f=function(e,t,r){getObject(e).stencilMaskSeparate(t>>>0,r>>>0)},imports.wbg.__wbg_stencilOpSeparate_18e0bd316555925f=function(e,t,r,n,c){getObject(e).stencilOpSeparate(t>>>0,r>>>0,n>>>0,c>>>0)},imports.wbg.__wbg_texParameteri_1f17358e51eb8069=function(e,t,r,n){getObject(e).texParameteri(t>>>0,r>>>0,n)},imports.wbg.__wbg_uniform1f_7586c5e17ad254c9=function(e,t,r){getObject(e).uniform1f(getObject(t),r)},imports.wbg.__wbg_uniform1i_9f94ef0ba6b3cc66=function(e,t,r){getObject(e).uniform1i(getObject(t),r)},imports.wbg.__wbg_uniform4f_9aa5afa9177c6ab1=function(e,t,r,n,c,b){getObject(e).uniform4f(getObject(t),r,n,c,b)},imports.wbg.__wbg_useProgram_019eb6df066fabf5=function(e,t){getObject(e).useProgram(getObject(t))},imports.wbg.__wbg_vertexAttribPointer_ca11984ee8843c0a=function(e,t,r,n,c,b,o){getObject(e).vertexAttribPointer(t>>>0,r,n>>>0,c!==0,b,o)},imports.wbg.__wbg_viewport_6ebef187c89e2616=function(e,t,r,n,c){getObject(e).viewport(t,r,n,c)},imports.wbg.__wbg_setchannelCount_7b7457adf57e1c22=function(e,t){getObject(e).channelCount=t>>>0},imports.wbg.__wbg_connect_3f8f5ba805800c62=function(){return handleError(function(e,t){const r=getObject(e).connect(getObject(t));return addHeapObject(r)},arguments)},imports.wbg.__wbg_target_f171e89c61e2bccf=function(e){const t=getObject(e).target;return isLikeNone(t)?0:addHeapObject(t)},imports.wbg.__wbg_cancelBubble_90d1c3aa2a76cbeb=function(e){return getObject(e).cancelBubble},imports.wbg.__wbg_preventDefault_24104f3f0a54546a=function(e){getObject(e).preventDefault()},imports.wbg.__wbg_stopPropagation_55539cfa2506c867=function(e){getObject(e).stopPropagation()},imports.wbg.__wbg_matches_07c564b5b4101cf2=function(e){return getObject(e).matches},imports.wbg.__wbg_addListener_85fb6e4bd17e8878=function(){return handleError(function(e,t){getObject(e).addListener(getObject(t))},arguments)},imports.wbg.__wbg_removeListener_3b62020874cfc3c7=function(){return handleError(function(e,t){getObject(e).removeListener(getObject(t))},arguments)},imports.wbg.__wbg_size_6eb4aa794f6bf220=function(e){return getObject(e).size},imports.wbg.__wbg_type_37bb6b4936b5e027=function(e){return getObject(e).type},imports.wbg.__wbg_name_ebae3a7e89367611=function(e,t){const r=getObject(t).name,n=passStringToWasm0(r,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc),c=WASM_VECTOR_LEN;getInt32Memory0()[e/4+1]=c,getInt32Memory0()[e/4+0]=n},imports.wbg.__wbg_drawBuffersWEBGL_139bf2fe0c1522d6=function(e,t){getObject(e).drawBuffersWEBGL(getObject(t))},imports.wbg.__wbg_error_c9309504864e78b5=function(e,t){console.error(getObject(e),getObject(t))},imports.wbg.__wbg_instanceof_DomException_11f350c47999e343=function(e){let t;try{t=getObject(e)instanceof DOMException}catch{t=!1}return t},imports.wbg.__wbg_message_ad3cc15a4d40c34b=function(e,t){const r=getObject(t).message,n=passStringToWasm0(r,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc),c=WASM_VECTOR_LEN;getInt32Memory0()[e/4+1]=c,getInt32Memory0()[e/4+0]=n},imports.wbg.__wbg_id_2744422b8df66a4f=function(e,t){const r=getObject(t).id,n=passStringToWasm0(r,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc),c=WASM_VECTOR_LEN;getInt32Memory0()[e/4+1]=c,getInt32Memory0()[e/4+0]=n},imports.wbg.__wbg_index_3fa2bac9f2910f3e=function(e){return getObject(e).index},imports.wbg.__wbg_mapping_4620edf85483600a=function(e){const t=getObject(e).mapping;return addHeapObject(t)},imports.wbg.__wbg_connected_7a42d2777c81c280=function(e){return getObject(e).connected},imports.wbg.__wbg_buttons_a308922181d88094=function(e){const t=getObject(e).buttons;return addHeapObject(t)},imports.wbg.__wbg_axes_1b9e57ee3e48f6df=function(e){const t=getObject(e).axes;return addHeapObject(t)},imports.wbg.__wbg_getRandomValues_37fa2ca9e4e07fab=function(){return handleError(function(e,t){getObject(e).getRandomValues(getObject(t))},arguments)},imports.wbg.__wbg_randomFillSync_dc1e9a60c158336d=function(){return handleError(function(e,t){getObject(e).randomFillSync(takeObject(t))},arguments)},imports.wbg.__wbg_crypto_c48a774b022d20ac=function(e){const t=getObject(e).crypto;return addHeapObject(t)},imports.wbg.__wbindgen_is_object=function(e){const t=getObject(e);return typeof t=="object"&&t!==null},imports.wbg.__wbg_process_298734cf255a885d=function(e){const t=getObject(e).process;return addHeapObject(t)},imports.wbg.__wbg_versions_e2e78e134e3e5d01=function(e){const t=getObject(e).versions;return addHeapObject(t)},imports.wbg.__wbg_node_1cd7a5d853dbea79=function(e){const t=getObject(e).node;return addHeapObject(t)},imports.wbg.__wbindgen_is_string=function(e){return typeof getObject(e)=="string"},imports.wbg.__wbg_msCrypto_bcb970640f50a1e8=function(e){const t=getObject(e).msCrypto;return addHeapObject(t)},imports.wbg.__wbg_require_8f08ceecec0f4fee=function(){return handleError(function(){const e=module.require;return addHeapObject(e)},arguments)},imports.wbg.__wbindgen_is_function=function(e){return typeof getObject(e)=="function"},imports.wbg.__wbg_get_44be0491f933a435=function(e,t){const r=getObject(e)[t>>>0];return addHeapObject(r)},imports.wbg.__wbg_length_fff51ee6522a1a18=function(e){return getObject(e).length},imports.wbg.__wbg_new_898a68150f225f2e=function(){const e=new Array;return addHeapObject(e)},imports.wbg.__wbg_newnoargs_581967eacc0e2604=function(e,t){const r=new Function(getStringFromWasm0(e,t));return addHeapObject(r)},imports.wbg.__wbg_get_97b561fb56f034b5=function(){return handleError(function(e,t){const r=Reflect.get(getObject(e),getObject(t));return addHeapObject(r)},arguments)},imports.wbg.__wbg_call_cb65541d95d71282=function(){return handleError(function(e,t){const r=getObject(e).call(getObject(t));return addHeapObject(r)},arguments)},imports.wbg.__wbg_new_b51585de1b234aff=function(){const e=new Object;return addHeapObject(e)},imports.wbg.__wbg_self_1ff1d729e9aae938=function(){return handleError(function(){const e=self.self;return addHeapObject(e)},arguments)},imports.wbg.__wbg_window_5f4faef6c12b79ec=function(){return handleError(function(){const e=window.window;return addHeapObject(e)},arguments)},imports.wbg.__wbg_globalThis_1d39714405582d3c=function(){return handleError(function(){const e=globalThis.globalThis;return addHeapObject(e)},arguments)},imports.wbg.__wbg_global_651f05c6a0944d1c=function(){return handleError(function(){const e=global.global;return addHeapObject(e)},arguments)},imports.wbg.__wbindgen_is_undefined=function(e){return getObject(e)===void 0},imports.wbg.__wbg_eval_8c72ad5eafe427f2=function(){return handleError(function(arg0,arg1){const ret=eval(getStringFromWasm0(arg0,arg1));return addHeapObject(ret)},arguments)},imports.wbg.__wbg_of_053899a68de3ef48=function(e){const t=Array.of(getObject(e));return addHeapObject(t)},imports.wbg.__wbg_push_ca1c26067ef907ac=function(e,t){return getObject(e).push(getObject(t))},imports.wbg.__wbg_call_01734de55d61e11d=function(){return handleError(function(e,t,r){const n=getObject(e).call(getObject(t),getObject(r));return addHeapObject(n)},arguments)},imports.wbg.__wbg_now_9c5990bda04c7e53=function(){return Date.now()},imports.wbg.__wbg_is_205d914af04a8faa=function(e,t){return Object.is(getObject(e),getObject(t))},imports.wbg.__wbg_resolve_53698b95aaf7fcf8=function(e){const t=Promise.resolve(getObject(e));return addHeapObject(t)},imports.wbg.__wbg_then_f7e06ee3c11698eb=function(e,t){const r=getObject(e).then(getObject(t));return addHeapObject(r)},imports.wbg.__wbg_then_b2267541e2a73865=function(e,t,r){const n=getObject(e).then(getObject(t),getObject(r));return addHeapObject(n)},imports.wbg.__wbg_buffer_085ec1f694018c4f=function(e){const t=getObject(e).buffer;return addHeapObject(t)},imports.wbg.__wbg_newwithbyteoffsetandlength_828b952f0e692245=function(e,t,r){const n=new Int8Array(getObject(e),t>>>0,r>>>0);return addHeapObject(n)},imports.wbg.__wbg_newwithbyteoffsetandlength_735ed5ea2ae07fe9=function(e,t,r){const n=new Int16Array(getObject(e),t>>>0,r>>>0);return addHeapObject(n)},imports.wbg.__wbg_newwithbyteoffsetandlength_9f43b22ab631d1d6=function(e,t,r){const n=new Int32Array(getObject(e),t>>>0,r>>>0);return addHeapObject(n)},imports.wbg.__wbg_newwithbyteoffsetandlength_6da8e527659b86aa=function(e,t,r){const n=new Uint8Array(getObject(e),t>>>0,r>>>0);return addHeapObject(n)},imports.wbg.__wbg_new_8125e318e6245eed=function(e){const t=new Uint8Array(getObject(e));return addHeapObject(t)},imports.wbg.__wbg_set_5cf90238115182c3=function(e,t,r){getObject(e).set(getObject(t),r>>>0)},imports.wbg.__wbg_length_72e2208bbc0efc61=function(e){return getObject(e).length},imports.wbg.__wbg_newwithbyteoffsetandlength_31ff1024ef0c63c7=function(e,t,r){const n=new Uint16Array(getObject(e),t>>>0,r>>>0);return addHeapObject(n)},imports.wbg.__wbg_newwithbyteoffsetandlength_6df0e8c3efd2a5d3=function(e,t,r){const n=new Uint32Array(getObject(e),t>>>0,r>>>0);return addHeapObject(n)},imports.wbg.__wbg_newwithbyteoffsetandlength_69193e31c844b792=function(e,t,r){const n=new Float32Array(getObject(e),t>>>0,r>>>0);return addHeapObject(n)},imports.wbg.__wbg_newwithlength_e5d69174d6984cd7=function(e){const t=new Uint8Array(e>>>0);return addHeapObject(t)},imports.wbg.__wbg_subarray_13db269f57aa838d=function(e,t,r){const n=getObject(e).subarray(t>>>0,r>>>0);return addHeapObject(n)},imports.wbg.__wbg_set_092e06b0f9d71865=function(){return handleError(function(e,t,r){return Reflect.set(getObject(e),getObject(t),getObject(r))},arguments)},imports.wbg.__wbindgen_debug_string=function(e,t){const r=debugString(getObject(t)),n=passStringToWasm0(r,wasm.__wbindgen_malloc,wasm.__wbindgen_realloc),c=WASM_VECTOR_LEN;getInt32Memory0()[e/4+1]=c,getInt32Memory0()[e/4+0]=n},imports.wbg.__wbindgen_throw=function(e,t){throw new Error(getStringFromWasm0(e,t))},imports.wbg.__wbindgen_memory=function(){const e=wasm.memory;return addHeapObject(e)},imports.wbg.__wbindgen_closure_wrapper2674=function(e,t,r){const n=makeMutClosure(e,t,1445,__wbg_adapter_34);return addHeapObject(n)},imports.wbg.__wbindgen_closure_wrapper2676=function(e,t,r){const n=makeMutClosure(e,t,1445,__wbg_adapter_34);return addHeapObject(n)},imports.wbg.__wbindgen_closure_wrapper2678=function(e,t,r){const n=makeMutClosure(e,t,1445,__wbg_adapter_34);return addHeapObject(n)},imports.wbg.__wbindgen_closure_wrapper2680=function(e,t,r){const n=makeMutClosure(e,t,1445,__wbg_adapter_34);return addHeapObject(n)},imports.wbg.__wbindgen_closure_wrapper2682=function(e,t,r){const n=makeMutClosure(e,t,1445,__wbg_adapter_34);return addHeapObject(n)},imports.wbg.__wbindgen_closure_wrapper2684=function(e,t,r){const n=makeMutClosure(e,t,1445,__wbg_adapter_34);return addHeapObject(n)},imports.wbg.__wbindgen_closure_wrapper2686=function(e,t,r){const n=makeMutClosure(e,t,1445,__wbg_adapter_47);return addHeapObject(n)},imports.wbg.__wbindgen_closure_wrapper2688=function(e,t,r){const n=makeMutClosure(e,t,1445,__wbg_adapter_34);return addHeapObject(n)},imports.wbg.__wbindgen_closure_wrapper2690=function(e,t,r){const n=makeMutClosure(e,t,1445,__wbg_adapter_34);return addHeapObject(n)},imports.wbg.__wbindgen_closure_wrapper3134=function(e,t,r){const n=makeMutClosure(e,t,1741,__wbg_adapter_54);return addHeapObject(n)},imports.wbg.__wbindgen_closure_wrapper25383=function(e,t,r){const n=makeMutClosure(e,t,17487,__wbg_adapter_57);return addHeapObject(n)},imports.wbg.__wbindgen_closure_wrapper51161=function(e,t,r){const n=makeMutClosure(e,t,34616,__wbg_adapter_60);return addHeapObject(n)},imports}function __wbg_finalize_init(e,t){return wasm=e.exports,__wbg_init.__wbindgen_wasm_module=t,cachedFloat32Memory0=null,cachedFloat64Memory0=null,cachedInt32Memory0=null,cachedUint32Memory0=null,cachedUint8Memory0=null,wasm.__wbindgen_start(),wasm}async function __wbg_init(e){if(wasm!==void 0)return wasm;typeof e>"u"&&(e=new URL(""+new URL("../assets/sandbox_bevy_bg.7736eef9.wasm",import.meta.url).href,self.location));const t=__wbg_get_imports();(typeof e=="string"||typeof Request=="function"&&e instanceof Request||typeof URL=="function"&&e instanceof URL)&&(e=fetch(e));const{instance:r,module:n}=await __wbg_load(await e,t);return __wbg_finalize_init(r,n)}function create_if_block(e){let t,r='<div class="h-2 w-2 bg-[#B6B8B9] animate-pulse"></div> <div class="h-2 w-2 bg-[#B6B8B9] animate-pulse"></div> <div class="h-2 w-2 bg-[#B6B8B9] animate-pulse"></div>';return{c(){t=element("div"),t.innerHTML=r,this.h()},l(n){t=claim_element(n,"DIV",{class:!0,"data-svelte-h":!0}),get_svelte_dataset(t)!=="svelte-687huc"&&(t.innerHTML=r),this.h()},h(){attr(t,"class","absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 space-x-3 flex flex-row justify-center items-center")},m(n,c){insert_hydration(n,t,c)},d(n){n&&detach(t)}}}function create_fragment(e){let t,r,n,c='<div class="absolute left-2 space-x-2 flex flex-row justify-center items-center"><div class="rounded-full h-3 w-3 bg-[#EC695F]"></div> <div class="rounded-full h-3 w-3 bg-[#F5BE4F]"></div> <div class="rounded-full h-3 w-3 bg-[#5E5E60]"></div></div> <h1 class="font-bold py-[6px] text-center w-full text-sm text-[#B6B8B9]">Hell</h1>',b,o,_,a,i,g,s='<img src="images/instructs.svg" alt="Instructions" width="250"/>',x,d,w,E="Looks like you're on mobile",f,l,M="This demo is only available on a larger screen",k,j,S,v=e[2]?"Copied!":"Copy the link for later",F,I,h,W,T,y,C=`<p>Made by <a href="https://www.hugoduprez.com/" target="_blank" class="underline">Hugo</a> with
3
  <a href="https://www.rust-lang.org/" target="_blank" class="underline">Rust</a>
4
+ and <a href="https://kit.svelte.dev/" target="_blank" class="underline">Svelte</a></p> <a href="https://github.com/Hugo-Dz/rust-sandbox" target="_blank" class="underline">How to create games with Rust</a>`,L,D,u=e[0]&&create_if_block();return{c(){t=element("div"),r=element("div"),n=element("button"),n.innerHTML=c,b=space(),o=element("div"),_=element("canvas"),a=space(),u&&u.c(),i=space(),g=element("div"),g.innerHTML=s,x=space(),d=element("div"),w=element("p"),w.textContent=E,f=space(),l=element("p"),l.textContent=M,k=space(),j=element("button"),S=element("p"),F=text(v),I=space(),h=element("img"),T=space(),y=element("div"),y.innerHTML=C,this.h()},l(p){t=claim_element(p,"DIV",{role:!0,class:!0});var m=children(t);r=claim_element(m,"DIV",{class:!0});var A=children(r);n=claim_element(A,"BUTTON",{class:!0,"data-svelte-h":!0}),get_svelte_dataset(n)!=="svelte-msohxs"&&(n.innerHTML=c),b=claim_space(A),o=claim_element(A,"DIV",{class:!0});var H=children(o);_=claim_element(H,"CANVAS",{id:!0,class:!0,height:!0,width:!0,style:!0}),children(_).forEach(detach),a=claim_space(H),u&&u.l(H),H.forEach(detach),A.forEach(detach),i=claim_space(m),g=claim_element(m,"DIV",{class:!0,"data-svelte-h":!0}),get_svelte_dataset(g)!=="svelte-5z7chc"&&(g.innerHTML=s),x=claim_space(m),d=claim_element(m,"DIV",{class:!0});var O=children(d);w=claim_element(O,"P",{class:!0,"data-svelte-h":!0}),get_svelte_dataset(w)!=="svelte-tzs1r2"&&(w.textContent=E),f=claim_space(O),l=claim_element(O,"P",{class:!0,"data-svelte-h":!0}),get_svelte_dataset(l)!=="svelte-ng3af6"&&(l.textContent=M),k=claim_space(O),j=claim_element(O,"BUTTON",{class:!0});var P=children(j);S=claim_element(P,"P",{});var B=children(S);F=claim_text(B,v),B.forEach(detach),P.forEach(detach),I=claim_space(O),h=claim_element(O,"IMG",{src:!0,alt:!0,class:!0}),O.forEach(detach),T=claim_space(m),y=claim_element(m,"DIV",{class:!0,"data-svelte-h":!0}),get_svelte_dataset(y)!=="svelte-taopac"&&(y.innerHTML=C),m.forEach(detach),this.h()},h(){attr(n,"class","cursor-default relative flex flex-row justify-between items-center w-full bg-[#393B3D] border-b border-b-[#000002] border border-[#626264] rounded-xl rounded-b-none"),attr(_,"id","bevy-canvas"),attr(_,"class","shadow-2xl z-10 shadow-black/50 overflow-hidden rounded-xl border border-[#626264] border-t-0 rounded-t-none"),attr(_,"height","480"),attr(_,"width","640"),set_style(_,"image-rendering","pixelated"),attr(o,"class","relative bg-[#1C1E21]"),attr(r,"class","hidden sm:flex flex-col justify-center items-center mt-40"),attr(g,"class","hidden sm:flex mt-12"),attr(w,"class","text-xl text-[#F0DAA1]"),attr(l,"class","mt-2"),attr(j,"class","w-full py-4 bg-[#393B3D] text-[#B7B7B9] font-bold mt-8 border border-[#626264] rounded-md"),src_url_equal(h.src,W="images/thumbnail.png")||attr(h,"src",W),attr(h,"alt","Thumbnail"),attr(h,"class","w-full mt-4"),attr(d,"class","flex sm:hidden flex-col w-full px-4 justify-center items-center text-center text-[#636669] mt-12"),attr(y,"class","mt-12 text-sm text-[#636669] hidden sm:flex flex-col justify-center items-center space-y-1"),attr(t,"role","contentinfo"),attr(t,"class","sm:flex flex-col justify-center items-center w-full")},m(p,m){insert_hydration(p,t,m),append_hydration(t,r),append_hydration(r,n),append_hydration(r,b),append_hydration(r,o),append_hydration(o,_),append_hydration(o,a),u&&u.m(o,null),e[7](r),append_hydration(t,i),append_hydration(t,g),append_hydration(t,x),append_hydration(t,d),append_hydration(d,w),append_hydration(d,f),append_hydration(d,l),append_hydration(d,k),append_hydration(d,j),append_hydration(j,S),append_hydration(S,F),append_hydration(d,I),append_hydration(d,h),append_hydration(t,T),append_hydration(t,y),L||(D=[listen(n,"mousedown",e[3]),listen(n,"mouseup",e[5]),listen(_,"contextmenu",prevent_default(contextmenu_handler)),listen(j,"click",e[6]),listen(t,"mousemove",e[4])],L=!0)},p(p,[m]){p[0]?u||(u=create_if_block(),u.c(),u.m(o,null)):u&&(u.d(1),u=null),m&4&&v!==(v=p[2]?"Copied!":"Copy the link for later")&&set_data(F,v)},i:noop,o:noop,d(p){p&&detach(t),u&&u.d(),e[7](null),L=!1,run_all(D)}}}const contextmenu_handler=()=>{};function instance(e,t,r){let n=!1,c,b=!1,o=0,_=0,a=0,i=0,g=!1;onMount(async()=>{try{r(0,n=!0),await __wbg_init(),r(0,n=!1)}catch(f){console.log("[ERROR]:"),console.error(f)}finally{r(0,n=!1)}});function s(f){b=!0,a=f.clientX,i=f.clientY}function x(f){if(b){const l=f.clientX-a,M=f.clientY-i;o+=l,_+=M,a=f.clientX,i=f.clientY,c&&r(1,c.style.transform=`translate(${o}px, ${_}px)`,c)}}function d(){b=!1}function w(){navigator.clipboard.writeText("https://huggingface.co/spaces/HugoDzz/rust-sandbox"),r(2,g=!0)}function E(f){binding_callbacks[f?"unshift":"push"](()=>{c=f,r(1,c)})}return[n,c,g,s,x,d,w,E]}class Page extends SvelteComponent{constructor(t){super(),init(this,t,instance,create_fragment,safe_not_equal,{})}}export{Page as component};
svelte/build/_app/version.json CHANGED
@@ -1 +1 @@
1
- {"version":"1699436111143"}
 
1
+ {"version":"1699436305663"}
svelte/build/index.html CHANGED
@@ -7,22 +7,22 @@
7
  <meta name="viewport" content="width=device-width, initial-scale=1" />
8
 
9
  <link href="./_app/immutable/assets/0.15cc2f76.css" rel="stylesheet">
10
- <link rel="modulepreload" href="./_app/immutable/entry/start.17cdbcf3.js">
11
  <link rel="modulepreload" href="./_app/immutable/chunks/scheduler.63274e7e.js">
12
- <link rel="modulepreload" href="./_app/immutable/chunks/singletons.f85f0fc5.js">
13
- <link rel="modulepreload" href="./_app/immutable/entry/app.f7f6e85b.js">
14
  <link rel="modulepreload" href="./_app/immutable/chunks/index.3abede45.js">
15
  <link rel="modulepreload" href="./_app/immutable/nodes/0.a8ea2499.js">
16
- <link rel="modulepreload" href="./_app/immutable/nodes/2.563b1a5c.js">
17
  </head>
18
  <body data-sveltekit-preload-data="hover" class="overflow-hidden">
19
- <div style="display: contents"> <div role="contentinfo" class="sm:flex flex-col justify-center items-center w-full"> <div class="hidden sm:flex flex-col justify-center items-center mt-40"> <button class="cursor-default relative flex flex-row justify-between items-center w-full bg-[#393B3D] border-b border-b-[#000002] border border-[#626264] rounded-xl rounded-b-none" data-svelte-h="svelte-msohxs"> <div class="absolute left-2 space-x-2 flex flex-row justify-center items-center"><div class="rounded-full h-3 w-3 bg-[#EC695F]"></div> <div class="rounded-full h-3 w-3 bg-[#F5BE4F]"></div> <div class="rounded-full h-3 w-3 bg-[#5E5E60]"></div></div> <h1 class="font-bold py-[6px] text-center w-full text-sm text-[#B6B8B9]">Hell</h1></button> <div class="relative bg-[#1C1E21]"><canvas id="bevy-canvas" class="shadow-2xl z-10 shadow-black/50 overflow-hidden rounded-xl border border-[#626264] border-t-0 rounded-t-none" height="480" width="640" style="image-rendering: pixelated;"></canvas> </div></div> <div class="hidden sm:flex mt-12" data-svelte-h="svelte-5z7chc"><img src="images/instructs.svg" alt="Instructions" width="250"></div> <div class="flex sm:hidden flex-col w-full px-4 justify-center items-center text-center text-[#636669] mt-12"><p class="text-xl text-[#F0DAA1]" data-svelte-h="svelte-tzs1r2">Looks like you&#39;re on mobile</p> <p class="mt-2" data-svelte-h="svelte-ng3af6">This demo is only available on a larger screen</p> <button class="w-full py-4 bg-[#393B3D] text-[#B7B7B9] font-bold mt-8 border border-[#626264] rounded-md"><p>Copy the link for later</p></button> <img src="images/thumbnail.png" alt="Thumbnail" class="w-full mt-4"></div> <div class="mt-12 text-sm text-[#636669] flex flex-col justify-center items-center space-y-1" data-svelte-h="svelte-w233xu"><p>Made by <a href="https://www.hugoduprez.com/" target="_blank" class="underline">Hugo</a> with
20
  <a href="https://www.rust-lang.org/" target="_blank" class="underline">Rust</a>
21
  and <a href="https://kit.svelte.dev/" target="_blank" class="underline">Svelte</a></p> <a href="https://github.com/Hugo-Dz/rust-sandbox" target="_blank" class="underline">How to create games with Rust</a></div></div>
22
 
23
  <script>
24
  {
25
- __sveltekit_16emu38 = {
26
  base: new URL(".", location).pathname.slice(0, -1),
27
  env: {}
28
  };
@@ -32,8 +32,8 @@
32
  const data = [null,null];
33
 
34
  Promise.all([
35
- import("./_app/immutable/entry/start.17cdbcf3.js"),
36
- import("./_app/immutable/entry/app.f7f6e85b.js")
37
  ]).then(([kit, app]) => {
38
  kit.start(app, element, {
39
  node_ids: [0, 2],
 
7
  <meta name="viewport" content="width=device-width, initial-scale=1" />
8
 
9
  <link href="./_app/immutable/assets/0.15cc2f76.css" rel="stylesheet">
10
+ <link rel="modulepreload" href="./_app/immutable/entry/start.7eabf570.js">
11
  <link rel="modulepreload" href="./_app/immutable/chunks/scheduler.63274e7e.js">
12
+ <link rel="modulepreload" href="./_app/immutable/chunks/singletons.1a02eeb0.js">
13
+ <link rel="modulepreload" href="./_app/immutable/entry/app.2398ac02.js">
14
  <link rel="modulepreload" href="./_app/immutable/chunks/index.3abede45.js">
15
  <link rel="modulepreload" href="./_app/immutable/nodes/0.a8ea2499.js">
16
+ <link rel="modulepreload" href="./_app/immutable/nodes/2.7c9cbce9.js">
17
  </head>
18
  <body data-sveltekit-preload-data="hover" class="overflow-hidden">
19
+ <div style="display: contents"> <div role="contentinfo" class="sm:flex flex-col justify-center items-center w-full"> <div class="hidden sm:flex flex-col justify-center items-center mt-40"> <button class="cursor-default relative flex flex-row justify-between items-center w-full bg-[#393B3D] border-b border-b-[#000002] border border-[#626264] rounded-xl rounded-b-none" data-svelte-h="svelte-msohxs"> <div class="absolute left-2 space-x-2 flex flex-row justify-center items-center"><div class="rounded-full h-3 w-3 bg-[#EC695F]"></div> <div class="rounded-full h-3 w-3 bg-[#F5BE4F]"></div> <div class="rounded-full h-3 w-3 bg-[#5E5E60]"></div></div> <h1 class="font-bold py-[6px] text-center w-full text-sm text-[#B6B8B9]">Hell</h1></button> <div class="relative bg-[#1C1E21]"><canvas id="bevy-canvas" class="shadow-2xl z-10 shadow-black/50 overflow-hidden rounded-xl border border-[#626264] border-t-0 rounded-t-none" height="480" width="640" style="image-rendering: pixelated;"></canvas> </div></div> <div class="hidden sm:flex mt-12" data-svelte-h="svelte-5z7chc"><img src="images/instructs.svg" alt="Instructions" width="250"></div> <div class="flex sm:hidden flex-col w-full px-4 justify-center items-center text-center text-[#636669] mt-12"><p class="text-xl text-[#F0DAA1]" data-svelte-h="svelte-tzs1r2">Looks like you&#39;re on mobile</p> <p class="mt-2" data-svelte-h="svelte-ng3af6">This demo is only available on a larger screen</p> <button class="w-full py-4 bg-[#393B3D] text-[#B7B7B9] font-bold mt-8 border border-[#626264] rounded-md"><p>Copy the link for later</p></button> <img src="images/thumbnail.png" alt="Thumbnail" class="w-full mt-4"></div> <div class="mt-12 text-sm text-[#636669] hidden sm:flex flex-col justify-center items-center space-y-1" data-svelte-h="svelte-taopac"><p>Made by <a href="https://www.hugoduprez.com/" target="_blank" class="underline">Hugo</a> with
20
  <a href="https://www.rust-lang.org/" target="_blank" class="underline">Rust</a>
21
  and <a href="https://kit.svelte.dev/" target="_blank" class="underline">Svelte</a></p> <a href="https://github.com/Hugo-Dz/rust-sandbox" target="_blank" class="underline">How to create games with Rust</a></div></div>
22
 
23
  <script>
24
  {
25
+ __sveltekit_1b4x11y = {
26
  base: new URL(".", location).pathname.slice(0, -1),
27
  env: {}
28
  };
 
32
  const data = [null,null];
33
 
34
  Promise.all([
35
+ import("./_app/immutable/entry/start.7eabf570.js"),
36
+ import("./_app/immutable/entry/app.2398ac02.js")
37
  ]).then(([kit, app]) => {
38
  kit.start(app, element, {
39
  node_ids: [0, 2],
svelte/src/routes/+page.svelte CHANGED
@@ -116,7 +116,7 @@
116
  </div>
117
 
118
  <!-- Credits -->
119
- <div class="mt-12 text-sm text-[#636669] flex flex-col justify-center items-center space-y-1">
120
  <p>
121
  Made by <a href="https://www.hugoduprez.com/" target="_blank" class="underline">Hugo</a> with
122
  <a href="https://www.rust-lang.org/" target="_blank" class="underline">Rust</a>
 
116
  </div>
117
 
118
  <!-- Credits -->
119
+ <div class="mt-12 text-sm text-[#636669] hidden sm:flex flex-col justify-center items-center space-y-1">
120
  <p>
121
  Made by <a href="https://www.hugoduprez.com/" target="_blank" class="underline">Hugo</a> with
122
  <a href="https://www.rust-lang.org/" target="_blank" class="underline">Rust</a>