From ba1e1a194bcb99df4802bca29d428d5fd914e658 Mon Sep 17 00:00:00 2001 From: rektdeckard Date: Thu, 25 Jul 2024 20:35:17 -0600 Subject: [PATCH] Updates --- assets/{index-DHnz_A1w.js => index-Bi_JY40A.js} | 6 +++--- assets/index-CHPWYPX1.css | 1 - assets/index-SiSWJP_H.css | 1 + index.html | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) rename assets/{index-DHnz_A1w.js => index-Bi_JY40A.js} (99%) delete mode 100644 assets/index-CHPWYPX1.css create mode 100644 assets/index-SiSWJP_H.css diff --git a/assets/index-DHnz_A1w.js b/assets/index-Bi_JY40A.js similarity index 99% rename from assets/index-DHnz_A1w.js rename to assets/index-Bi_JY40A.js index 9efcf2a..d02da64 100644 --- a/assets/index-DHnz_A1w.js +++ b/assets/index-Bi_JY40A.js @@ -1,4 +1,4 @@ -var V2=(i,t)=>()=>(t||i((t={exports:{}}).exports,t),t.exports);var MD=V2((N2,F2)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();const It={context:void 0,registry:void 0};function la(i){It.context=i}function B2(){return{...It.context,id:`${It.context.id}${It.context.count++}-`,count:0}}const z2=(i,t)=>i===t,Ci=Symbol("solid-proxy"),Xh=Symbol("solid-track"),Uh={equals:z2};let av=fv;const Ls=1,Dh=2,lv={owned:null,cleanups:null,context:null,owner:null},id={};var fr=null;let qa=null,G2=null,wr=null,xn=null,Ri=null,Sf=0;function go(i,t){const n=wr,r=fr,s=i.length===0,o=t===void 0?r:t,a=s?lv:{owned:null,cleanups:null,context:o?o.context:null,owner:o},l=s?i:()=>i(()=>Ln(()=>Tf(a)));fr=a,wr=null;try{return Ms(l,!0)}finally{wr=n,fr=r}}function Hn(i,t){t=t?Object.assign({},Uh,t):Uh;const n={value:i,observers:null,observerSlots:null,comparator:t.equals||void 0},r=s=>(typeof s=="function"&&(s=s(n.value)),hv(n,s));return[uv.bind(n),r]}function og(i,t,n){const r=_f(i,t,!0,Ls);kl(r)}function js(i,t,n){const r=_f(i,t,!1,Ls);kl(r)}function cs(i,t,n){av=nP;const r=_f(i,t,!1,Ls),s=cl&&Pf(cl);s&&(r.suspense=s),(!n||!n.render)&&(r.user=!0),Ri?Ri.push(r):kl(r)}function Wr(i,t,n){n=n?Object.assign({},Uh,n):Uh;const r=_f(i,t,!0,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,kl(r),uv.bind(r)}function Z2(i){return i&&typeof i=="object"&&"then"in i}function Y2(i,t,n){let r,s,o;arguments.length===2&&typeof t=="object"||arguments.length===1?(r=!0,s=i,o={}):(r=i,s=t,o={});let a=null,l=id,c=null,u=!1,h=!1,p="initialValue"in o,f=typeof r=="function"&&Wr(r);const d=new Set,[m,O]=(o.storage||Hn)(o.initialValue),[y,g]=Hn(void 0),[v,b]=Hn(void 0,{equals:!1}),[w,S]=Hn(p?"ready":"unresolved");if(It.context){c=`${It.context.id}${It.context.count++}`;let $;o.ssrLoadFrom==="initial"?l=o.initialValue:It.load&&($=It.load(c))&&(l=$)}function Q($,k,U,C){return a===$&&(a=null,C!==void 0&&(p=!0),($===l||k===l)&&o.onHydrated&&queueMicrotask(()=>o.onHydrated(C,{value:k})),l=id,P(k,U)),k}function P($,k){Ms(()=>{k===void 0&&O(()=>$),S(k!==void 0?"errored":p?"ready":"unresolved"),g(k);for(const U of d.keys())U.decrement();d.clear()},!1)}function j(){const $=cl&&Pf(cl),k=m(),U=y();if(U!==void 0&&!a)throw U;return wr&&!wr.user&&$&&og(()=>{v(),a&&($.resolved&&qa&&u?qa.promises.add(a):d.has($)||($.increment(),d.add($)))}),k}function E($=!0){if($!==!1&&h)return;h=!1;const k=f?f():r;if(u=qa,k==null||k===!1){Q(a,Ln(m));return}const U=l!==id?l:Ln(()=>s(k,{value:m(),refetching:$}));return Z2(U)?(a=U,"value"in U?(U.status==="success"?Q(a,U.value,void 0,k):Q(a,void 0,lp(U.value),k),U):(h=!0,queueMicrotask(()=>h=!1),Ms(()=>{S(p?"refreshing":"pending"),b()},!1),U.then(C=>Q(U,C,void 0,k),C=>Q(U,void 0,lp(C),k)))):(Q(a,U,void 0,k),U)}return Object.defineProperties(j,{state:{get:()=>w()},error:{get:()=>y()},loading:{get(){const $=w();return $==="pending"||$==="refreshing"}},latest:{get(){if(!p)return j();const $=y();if($&&!a)throw $;return m()}}}),f?og(()=>E(!1)):E(!1),[j,{refetch:E,mutate:O}]}function q2(i){return Ms(i,!1)}function Ln(i){if(wr===null)return i();const t=wr;wr=null;try{return i()}finally{wr=t}}function cv(i){cs(()=>Ln(i))}function pa(i){return fr===null||(fr.cleanups===null?fr.cleanups=[i]:fr.cleanups.push(i)),i}function op(){return wr}function ap(){return fr}function H2(i,t){const n=fr,r=wr;fr=i,wr=null;try{return Ms(t,!0)}catch(s){Wm(s)}finally{fr=n,wr=r}}function K2(i){Ri.push.apply(Ri,i),i.length=0}function Fm(i,t){const n=Symbol("context");return{id:n,Provider:iP(n),defaultValue:i}}function Pf(i){return fr&&fr.context&&fr.context[i.id]!==void 0?fr.context[i.id]:i.defaultValue}function J2(i){const t=Wr(i),n=Wr(()=>cp(t()));return n.toArray=()=>{const r=n();return Array.isArray(r)?r:r!=null?[r]:[]},n}let cl;function eP(){return cl||(cl=Fm())}function uv(){if(this.sources&&this.state)if(this.state===Ls)kl(this);else{const i=xn;xn=null,Ms(()=>Nh(this),!1),xn=i}if(wr){const i=this.observers?this.observers.length:0;wr.sources?(wr.sources.push(this),wr.sourceSlots.push(i)):(wr.sources=[this],wr.sourceSlots=[i]),this.observers?(this.observers.push(wr),this.observerSlots.push(wr.sources.length-1)):(this.observers=[wr],this.observerSlots=[wr.sources.length-1])}return this.value}function hv(i,t,n){let r=i.value;return(!i.comparator||!i.comparator(r,t))&&(i.value=t,i.observers&&i.observers.length&&Ms(()=>{for(let s=0;s1e6)throw xn=[],new Error},!1)),t}function kl(i){if(!i.fn)return;Tf(i);const t=Sf;tP(i,i.value,t)}function tP(i,t,n){let r;const s=fr,o=wr;wr=fr=i;try{r=i.fn(t)}catch(a){return i.pure&&(i.state=Ls,i.owned&&i.owned.forEach(Tf),i.owned=null),i.updatedAt=n+1,Wm(a)}finally{wr=o,fr=s}(!i.updatedAt||i.updatedAt<=n)&&(i.updatedAt!=null&&"observers"in i?hv(i,r):i.value=r,i.updatedAt=n)}function _f(i,t,n,r=Ls,s){const o={fn:i,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:fr,context:fr?fr.context:null,pure:n};return fr===null||fr!==lv&&(fr.owned?fr.owned.push(o):fr.owned=[o]),o}function Lh(i){if(i.state===0)return;if(i.state===Dh)return Nh(i);if(i.suspense&&Ln(i.suspense.inFallback))return i.suspense.effects.push(i);const t=[i];for(;(i=i.owner)&&(!i.updatedAt||i.updatedAt=0;n--)if(i=t[n],i.state===Ls)kl(i);else if(i.state===Dh){const r=xn;xn=null,Ms(()=>Nh(i,t[0]),!1),xn=r}}function Ms(i,t){if(xn)return i();let n=!1;t||(xn=[]),Ri?n=!0:Ri=[],Sf++;try{const r=i();return rP(n),r}catch(r){n||(Ri=null),xn=null,Wm(r)}}function rP(i){if(xn&&(fv(xn),xn=null),i)return;const t=Ri;Ri=null,t.length&&Ms(()=>av(t),!1)}function fv(i){for(let t=0;t=0;t--)Tf(i.owned[t]);i.owned=null}if(i.cleanups){for(t=i.cleanups.length-1;t>=0;t--)i.cleanups[t]();i.cleanups=null}i.state=0}function lp(i){return i instanceof Error?i:new Error(typeof i=="string"?i:"Unknown error",{cause:i})}function Wm(i,t=fr){throw lp(i)}function cp(i){if(typeof i=="function"&&!i.length)return cp(i());if(Array.isArray(i)){const t=[];for(let n=0;ns=Ln(()=>(fr.context={...fr.context,[i]:r.value},J2(()=>r.children))),void 0),s}}const up=Symbol("fallback");function Fh(i){for(let t=0;t1?[]:null;return pa(()=>Fh(o)),()=>{let c=i()||[],u,h;return c[Xh],Ln(()=>{let f=c.length,d,m,O,y,g,v,b,w,S;if(f===0)a!==0&&(Fh(o),o=[],r=[],s=[],a=0,l&&(l=[])),n.fallback&&(r=[up],s[0]=go(Q=>(o[0]=Q,n.fallback())),a=1);else if(a===0){for(s=new Array(f),h=0;h=v&&w>=v&&r[b]===c[w];b--,w--)O[w]=s[b],y[w]=o[b],l&&(g[w]=l[b]);for(d=new Map,m=new Array(w+1),h=w;h>=v;h--)S=c[h],u=d.get(S),m[h]=u===void 0?-1:u,d.set(S,h);for(u=v;u<=b;u++)S=r[u],h=d.get(S),h!==void 0&&h!==-1?(O[h]=s[u],y[h]=o[u],l&&(g[h]=l[u]),h=m[h],d.set(S,h)):o[u]();for(h=v;hFh(o)),()=>{const u=i()||[];return u[Xh],Ln(()=>{if(u.length===0)return l!==0&&(Fh(o),o=[],r=[],s=[],l=0,a=[]),n.fallback&&(r=[up],s[0]=go(p=>(o[0]=p,n.fallback())),l=1),s;for(r[0]===up&&(o[0](),o=[],r=[],s=[],l=0),c=0;cu[c]):c>=r.length&&(s[c]=go(h));for(;ci(t||{}));return la(n),r}return Ln(()=>i(t||{}))}function Du(){return!0}const hp={get(i,t,n){return t===Ci?n:i.get(t)},has(i,t){return t===Ci?!0:i.has(t)},set:Du,deleteProperty:Du,getOwnPropertyDescriptor(i,t){return{configurable:!0,enumerable:!0,get(){return i.get(t)},set:Du,deleteProperty:Du}},ownKeys(i){return i.keys()}};function sd(i){return(i=typeof i=="function"?i():i)?i:{}}function lP(){for(let i=0,t=this.length;i=0;l--){const c=sd(i[l])[a];if(c!==void 0)return c}},has(a){for(let l=i.length-1;l>=0;l--)if(a in sd(i[l]))return!0;return!1},keys(){const a=[];for(let l=0;l=0;a--){const l=i[a];if(!l)continue;const c=Object.getOwnPropertyNames(l);for(let u=c.length-1;u>=0;u--){const h=c[u];if(h==="__proto__"||h==="constructor")continue;const p=Object.getOwnPropertyDescriptor(l,h);if(!r[h])r[h]=p.get?{enumerable:!0,configurable:!0,get:lP.bind(n[h]=[p.get.bind(l)])}:p.value!==void 0?p:void 0;else{const f=n[h];f&&(p.get?f.push(p.get.bind(l)):p.value!==void 0&&f.push(()=>p.value))}}}const s={},o=Object.keys(r);for(let a=o.length-1;a>=0;a--){const l=o[a],c=r[l];c&&c.get?Object.defineProperty(s,l,c):s[l]=c?c.value:void 0}return s}function Ec(i,...t){if(Ci in i){const s=new Set(t.length>1?t.flat():t[0]),o=t.map(a=>new Proxy({get(l){return a.includes(l)?i[l]:void 0},has(l){return a.includes(l)&&l in i},keys(){return a.filter(l=>l in i)}},hp));return o.push(new Proxy({get(a){return s.has(a)?void 0:i[a]},has(a){return s.has(a)?!1:a in i},keys(){return Object.keys(i).filter(a=>!s.has(a))}},hp)),o}const n={},r=t.map(()=>({}));for(const s of Object.getOwnPropertyNames(i)){const o=Object.getOwnPropertyDescriptor(i,s),a=!o.get&&!o.set&&o.enumerable&&o.writable&&o.configurable;let l=!1,c=0;for(const u of t)u.includes(s)&&(l=!0,a?r[c][s]=o.value:Object.defineProperty(r[c],s,o)),++c;l||(a?n[s]=o.value:Object.defineProperty(n,s,o))}return[...r,n]}let cP=0;function uP(){const i=It.context;return i?`${i.id}${i.count++}`:`cl-${cP++}`}const hP=i=>`Stale read from <${i}>.`;function Ra(i){const t="fallback"in i&&{fallback:()=>i.fallback};return Wr(sP(()=>i.each,i.children,t||void 0))}function pv(i){const t="fallback"in i&&{fallback:()=>i.fallback};return Wr(oP(()=>i.each,i.children,t||void 0))}function Qf(i){const t=i.keyed,n=Wr(()=>i.when,void 0,{equals:(r,s)=>t?r===s:!r==!s});return Wr(()=>{const r=n();if(r){const s=i.children;return typeof s=="function"&&s.length>0?Ln(()=>s(t?r:()=>{if(!Ln(n))throw hP("Show");return i.when})):s}return i.fallback},void 0,void 0)}const fP=Fm();function dP(i){let t=0,n,r,s,o,a;const[l,c]=Hn(!1),u=eP(),h={increment:()=>{++t===1&&c(!0)},decrement:()=>{--t===0&&c(!1)},inFallback:l,effects:[],resolved:!1},p=ap();if(It.context&&It.load){const m=It.context.id+It.context.count;let O=It.load(m);if(O&&(typeof O!="object"||O.status!=="success"?s=O:It.gather(m)),s&&s!=="$$f"){const[y,g]=Hn(void 0,{equals:!1});o=y,s.then(()=>{if(It.done)return g();It.gather(m),la(r),g(),la()},v=>{a=v,g()})}}const f=Pf(fP);f&&(n=f.register(h.inFallback));let d;return pa(()=>d&&d()),Qt(u.Provider,{value:h,get children(){return Wr(()=>{if(a)throw a;if(r=It.context,o)return o(),o=void 0;r&&s==="$$f"&&la();const m=Wr(()=>i.children);return Wr(O=>{const y=h.inFallback(),{showContent:g=!0,showFallback:v=!0}=n?n():{};if((!y||s&&s!=="$$f")&&g)return h.resolved=!0,d&&d(),d=r=s=void 0,K2(h.effects),m();if(v)return d?O:go(b=>(d=b,r&&(la({id:r.id+"f",count:0}),r=void 0),i.fallback),p)})})}})}const pP=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected"],mP=new Set(["className","value","readOnly","formNoValidate","isMap","noModule","playsInline",...pP]),OP=new Set(["innerHTML","textContent","innerText","children"]),gP=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),yP=Object.assign(Object.create(null),{class:"className",formnovalidate:{$:"formNoValidate",BUTTON:1,INPUT:1},ismap:{$:"isMap",IMG:1},nomodule:{$:"noModule",SCRIPT:1},playsinline:{$:"playsInline",VIDEO:1},readonly:{$:"readOnly",INPUT:1,TEXTAREA:1}});function vP(i,t){const n=yP[i];return typeof n=="object"?n[t]?n.$:void 0:n}const bP=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),wP=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),xP={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"};function SP(i,t,n){let r=n.length,s=t.length,o=r,a=0,l=0,c=t[s-1].nextSibling,u=null;for(;ah-l){const m=t[a];for(;l{s=o,t===document?i():rr(t,i(),t.firstChild?null:void 0,n)},r.owner),()=>{s(),t.textContent=""}}function Xi(i,t,n){let r;const s=()=>{const a=document.createElement("template");return a.innerHTML=i,a.content.firstChild},o=()=>(r||(r=s())).cloneNode(!0);return o.cloneNode=o,o}function Vm(i,t=window.document){const n=t[ag]||(t[ag]=new Set);for(let r=0,s=i.length;rs.call(i,n[1],o))}else i.addEventListener(t,n)}function QP(i,t,n={}){const r=Object.keys(t||{}),s=Object.keys(n);let o,a;for(o=0,a=s.length;os.children=Cc(i,t.children,s.children)),js(()=>typeof t.ref=="function"?Ha(t.ref,i):t.ref=i),js(()=>EP(i,t,n,!0,s,!0)),s}function Ha(i,t,n){return Ln(()=>i(t,n))}function rr(i,t,n,r){if(n!==void 0&&!r&&(r=[]),typeof t!="function")return Cc(i,t,r,n);js(s=>Cc(i,t(),s,n),r)}function EP(i,t,n,r,s={},o=!1){t||(t={});for(const a in s)if(!(a in t)){if(a==="children")continue;s[a]=cg(i,a,null,s[a],n,o)}for(const a in t){if(a==="children")continue;const l=t[a];s[a]=cg(i,a,l,s[a],n,o)}}function RP(i){let t,n;return!It.context||!(t=It.registry.get(n=MP()))?i():(It.completed&&It.completed.add(t),It.registry.delete(n),t)}function CP(i){return i.toLowerCase().replace(/-([a-z])/g,(t,n)=>n.toUpperCase())}function lg(i,t,n){const r=t.trim().split(/\s+/);for(let s=0,o=r.length;s-1&&xP[t.split(":")[0]];p?_P(i,p,t,n):Rc(i,gP[t]||t,n)}return n}function AP(i){const t=`$$${i.type}`;let n=i.composedPath&&i.composedPath()[0]||i.target;for(i.target!==n&&Object.defineProperty(i,"target",{configurable:!0,value:n}),Object.defineProperty(i,"currentTarget",{configurable:!0,get(){return n||document}}),It.registry&&!It.done&&(It.done=_$HY.done=!0);n;){const r=n[t];if(r&&!n.disabled){const s=n[`${t}Data`];if(s!==void 0?r.call(n,s,i):r.call(n,i),i.cancelBubble)return}n=n._$host||n.parentNode||n.host}}function Cc(i,t,n,r,s){const o=!!It.context&&i.isConnected;if(o){!n&&(n=[...i.childNodes]);let c=[];for(let u=0;u{let c=t();for(;typeof c=="function";)c=c();n=Cc(i,c,n,r)}),()=>n;if(Array.isArray(t)){const c=[],u=n&&Array.isArray(n);if(fp(c,t,n,s))return js(()=>n=Cc(i,c,n,r,!0)),()=>n;if(o){if(!c.length)return n;if(r===void 0)return[...i.childNodes];let h=c[0],p=[h];for(;(h=h.nextSibling)!==r;)p.push(h);return n=p}if(c.length===0){if(n=Ca(i,n,r),l)return n}else u?n.length===0?ug(i,c,r):SP(i,n,c):(n&&Ca(i),ug(i,c));n=c}else if(t.nodeType){if(o&&t.parentNode)return n=l?[t]:t;if(Array.isArray(n)){if(l)return n=Ca(i,n,r,t);Ca(i,n,null,t)}else n==null||n===""||!i.firstChild?i.appendChild(t):i.replaceChild(t,i.firstChild);n=t}}return n}function fp(i,t,n,r){let s=!1;for(let o=0,a=t.length;o=0;a--){const l=t[a];if(s!==l){const c=l.parentNode===i;!o&&!a?c?i.replaceChild(s,l):i.insertBefore(s,n):c&&l.remove()}else o=!0}}else i.insertBefore(s,n);return[s]}function MP(){const i=It.context;return`${i.id}${i.count++}`}const $P="http://www.w3.org/2000/svg";function Ov(i,t=!1){return t?document.createElementNS($P,i):document.createElement(i)}function IP(i){const{useShadow:t}=i,n=document.createTextNode(""),r=()=>i.mount||document.body,s=ap();let o,a=!!It.context;return cs(()=>{a&&(ap().user=a=!1),o||(o=H2(s,()=>Wr(()=>i.children)));const l=r();if(l instanceof HTMLHeadElement){const[c,u]=Hn(!1),h=()=>u(!0);go(p=>rr(l,()=>c()?p():o(),null)),pa(h)}else{const c=Ov(i.isSVG?"g":"div",i.isSVG),u=t&&c.attachShadow?c.attachShadow({mode:"open"}):c;Object.defineProperty(c,"_$host",{get(){return n.parentNode},configurable:!0}),rr(u,o),l.appendChild(c),i.ref&&i.ref(c),pa(()=>l.removeChild(c))}},void 0,{render:!a}),n}function XP(i){const[t,n]=Ec(i,["component"]),r=Wr(()=>t.component);return Wr(()=>{const s=r();switch(typeof s){case"function":return Ln(()=>s(n));case"string":const o=wP.has(s),a=It.context?RP():Ov(s,o);return jP(a,n,o),a}})}const UP="0.5.0";var DP=Xi("
█ DOWNLOAD 532KB█ DONATE

Departure Monov.

DEPARTURE MONO IS A MONOSPACED PIXEL FONT BY HELENA ZHANG.

│ Flight  │ Destination ↑           │ Departing  │ Gate  │ Status       │
├─────────┼─────────────────────────┼────────────┼───────┼──────────────┤
│ LH789 │ TGK Tengoku │ 13:45 │ Z23 │ Delayed │
│ XX123 │ MBA Moonbase Alpha │ 08:00 │ 22 │ On Time │
│ AF321 │ MAR Mars Landing │ 09:15 │ 12 │ On Time │
│ UA567 │ NNY New New York │ 11:20 │ C8 │ Departed │
│ QF678 │ LHR (London) │ 20:00 │ 17 │ On Time │");const[LP,NP]=UP.split(".");function FP(){return(()=>{var i=DP(),t=i.firstChild,n=t.nextSibling,r=n.firstChild,s=r.nextSibling,o=s.firstChild,a=o.nextSibling;return a.nextSibling,rr(s,LP,a),rr(s,NP,null),i})()}var Ba=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Bm(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var zm={exports:{}},sc;typeof window<"u"?sc=window:typeof Ba<"u"?sc=Ba:typeof self<"u"?sc=self:sc={};var WP=sc,VP=zP,BP=Object.prototype.toString;function zP(i){if(!i)return!1;var t=BP.call(i);return t==="[object Function]"||typeof i=="function"&&t!=="[object RegExp]"||typeof window<"u"&&(i===window.setTimeout||i===window.alert||i===window.confirm||i===window.prompt)}var od=function(i){return i.replace(/^\s+|\s+$/g,"")},GP=function(i){return Object.prototype.toString.call(i)==="[object Array]"},ZP=function(i){if(!i)return{};for(var t={},n=od(i).split(` +var V2=(i,t)=>()=>(t||i((t={exports:{}}).exports,t),t.exports);var MD=V2((N2,F2)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();const It={context:void 0,registry:void 0};function la(i){It.context=i}function B2(){return{...It.context,id:`${It.context.id}${It.context.count++}-`,count:0}}const z2=(i,t)=>i===t,Ci=Symbol("solid-proxy"),Xh=Symbol("solid-track"),Uh={equals:z2};let av=fv;const Ls=1,Dh=2,lv={owned:null,cleanups:null,context:null,owner:null},id={};var fr=null;let qa=null,G2=null,wr=null,xn=null,Ri=null,Sf=0;function go(i,t){const n=wr,r=fr,s=i.length===0,o=t===void 0?r:t,a=s?lv:{owned:null,cleanups:null,context:o?o.context:null,owner:o},l=s?i:()=>i(()=>Ln(()=>Tf(a)));fr=a,wr=null;try{return Ms(l,!0)}finally{wr=n,fr=r}}function Hn(i,t){t=t?Object.assign({},Uh,t):Uh;const n={value:i,observers:null,observerSlots:null,comparator:t.equals||void 0},r=s=>(typeof s=="function"&&(s=s(n.value)),hv(n,s));return[uv.bind(n),r]}function og(i,t,n){const r=_f(i,t,!0,Ls);kl(r)}function js(i,t,n){const r=_f(i,t,!1,Ls);kl(r)}function cs(i,t,n){av=nP;const r=_f(i,t,!1,Ls),s=cl&&Pf(cl);s&&(r.suspense=s),(!n||!n.render)&&(r.user=!0),Ri?Ri.push(r):kl(r)}function Wr(i,t,n){n=n?Object.assign({},Uh,n):Uh;const r=_f(i,t,!0,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,kl(r),uv.bind(r)}function Z2(i){return i&&typeof i=="object"&&"then"in i}function Y2(i,t,n){let r,s,o;arguments.length===2&&typeof t=="object"||arguments.length===1?(r=!0,s=i,o={}):(r=i,s=t,o={});let a=null,l=id,c=null,u=!1,h=!1,p="initialValue"in o,f=typeof r=="function"&&Wr(r);const d=new Set,[m,O]=(o.storage||Hn)(o.initialValue),[y,g]=Hn(void 0),[v,b]=Hn(void 0,{equals:!1}),[w,S]=Hn(p?"ready":"unresolved");if(It.context){c=`${It.context.id}${It.context.count++}`;let $;o.ssrLoadFrom==="initial"?l=o.initialValue:It.load&&($=It.load(c))&&(l=$)}function Q($,k,U,C){return a===$&&(a=null,C!==void 0&&(p=!0),($===l||k===l)&&o.onHydrated&&queueMicrotask(()=>o.onHydrated(C,{value:k})),l=id,P(k,U)),k}function P($,k){Ms(()=>{k===void 0&&O(()=>$),S(k!==void 0?"errored":p?"ready":"unresolved"),g(k);for(const U of d.keys())U.decrement();d.clear()},!1)}function j(){const $=cl&&Pf(cl),k=m(),U=y();if(U!==void 0&&!a)throw U;return wr&&!wr.user&&$&&og(()=>{v(),a&&($.resolved&&qa&&u?qa.promises.add(a):d.has($)||($.increment(),d.add($)))}),k}function E($=!0){if($!==!1&&h)return;h=!1;const k=f?f():r;if(u=qa,k==null||k===!1){Q(a,Ln(m));return}const U=l!==id?l:Ln(()=>s(k,{value:m(),refetching:$}));return Z2(U)?(a=U,"value"in U?(U.status==="success"?Q(a,U.value,void 0,k):Q(a,void 0,lp(U.value),k),U):(h=!0,queueMicrotask(()=>h=!1),Ms(()=>{S(p?"refreshing":"pending"),b()},!1),U.then(C=>Q(U,C,void 0,k),C=>Q(U,void 0,lp(C),k)))):(Q(a,U,void 0,k),U)}return Object.defineProperties(j,{state:{get:()=>w()},error:{get:()=>y()},loading:{get(){const $=w();return $==="pending"||$==="refreshing"}},latest:{get(){if(!p)return j();const $=y();if($&&!a)throw $;return m()}}}),f?og(()=>E(!1)):E(!1),[j,{refetch:E,mutate:O}]}function q2(i){return Ms(i,!1)}function Ln(i){if(wr===null)return i();const t=wr;wr=null;try{return i()}finally{wr=t}}function cv(i){cs(()=>Ln(i))}function pa(i){return fr===null||(fr.cleanups===null?fr.cleanups=[i]:fr.cleanups.push(i)),i}function op(){return wr}function ap(){return fr}function H2(i,t){const n=fr,r=wr;fr=i,wr=null;try{return Ms(t,!0)}catch(s){Wm(s)}finally{fr=n,wr=r}}function K2(i){Ri.push.apply(Ri,i),i.length=0}function Fm(i,t){const n=Symbol("context");return{id:n,Provider:iP(n),defaultValue:i}}function Pf(i){return fr&&fr.context&&fr.context[i.id]!==void 0?fr.context[i.id]:i.defaultValue}function J2(i){const t=Wr(i),n=Wr(()=>cp(t()));return n.toArray=()=>{const r=n();return Array.isArray(r)?r:r!=null?[r]:[]},n}let cl;function eP(){return cl||(cl=Fm())}function uv(){if(this.sources&&this.state)if(this.state===Ls)kl(this);else{const i=xn;xn=null,Ms(()=>Nh(this),!1),xn=i}if(wr){const i=this.observers?this.observers.length:0;wr.sources?(wr.sources.push(this),wr.sourceSlots.push(i)):(wr.sources=[this],wr.sourceSlots=[i]),this.observers?(this.observers.push(wr),this.observerSlots.push(wr.sources.length-1)):(this.observers=[wr],this.observerSlots=[wr.sources.length-1])}return this.value}function hv(i,t,n){let r=i.value;return(!i.comparator||!i.comparator(r,t))&&(i.value=t,i.observers&&i.observers.length&&Ms(()=>{for(let s=0;s1e6)throw xn=[],new Error},!1)),t}function kl(i){if(!i.fn)return;Tf(i);const t=Sf;tP(i,i.value,t)}function tP(i,t,n){let r;const s=fr,o=wr;wr=fr=i;try{r=i.fn(t)}catch(a){return i.pure&&(i.state=Ls,i.owned&&i.owned.forEach(Tf),i.owned=null),i.updatedAt=n+1,Wm(a)}finally{wr=o,fr=s}(!i.updatedAt||i.updatedAt<=n)&&(i.updatedAt!=null&&"observers"in i?hv(i,r):i.value=r,i.updatedAt=n)}function _f(i,t,n,r=Ls,s){const o={fn:i,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:fr,context:fr?fr.context:null,pure:n};return fr===null||fr!==lv&&(fr.owned?fr.owned.push(o):fr.owned=[o]),o}function Lh(i){if(i.state===0)return;if(i.state===Dh)return Nh(i);if(i.suspense&&Ln(i.suspense.inFallback))return i.suspense.effects.push(i);const t=[i];for(;(i=i.owner)&&(!i.updatedAt||i.updatedAt=0;n--)if(i=t[n],i.state===Ls)kl(i);else if(i.state===Dh){const r=xn;xn=null,Ms(()=>Nh(i,t[0]),!1),xn=r}}function Ms(i,t){if(xn)return i();let n=!1;t||(xn=[]),Ri?n=!0:Ri=[],Sf++;try{const r=i();return rP(n),r}catch(r){n||(Ri=null),xn=null,Wm(r)}}function rP(i){if(xn&&(fv(xn),xn=null),i)return;const t=Ri;Ri=null,t.length&&Ms(()=>av(t),!1)}function fv(i){for(let t=0;t=0;t--)Tf(i.owned[t]);i.owned=null}if(i.cleanups){for(t=i.cleanups.length-1;t>=0;t--)i.cleanups[t]();i.cleanups=null}i.state=0}function lp(i){return i instanceof Error?i:new Error(typeof i=="string"?i:"Unknown error",{cause:i})}function Wm(i,t=fr){throw lp(i)}function cp(i){if(typeof i=="function"&&!i.length)return cp(i());if(Array.isArray(i)){const t=[];for(let n=0;ns=Ln(()=>(fr.context={...fr.context,[i]:r.value},J2(()=>r.children))),void 0),s}}const up=Symbol("fallback");function Fh(i){for(let t=0;t1?[]:null;return pa(()=>Fh(o)),()=>{let c=i()||[],u,h;return c[Xh],Ln(()=>{let f=c.length,d,m,O,y,g,v,b,w,S;if(f===0)a!==0&&(Fh(o),o=[],r=[],s=[],a=0,l&&(l=[])),n.fallback&&(r=[up],s[0]=go(Q=>(o[0]=Q,n.fallback())),a=1);else if(a===0){for(s=new Array(f),h=0;h=v&&w>=v&&r[b]===c[w];b--,w--)O[w]=s[b],y[w]=o[b],l&&(g[w]=l[b]);for(d=new Map,m=new Array(w+1),h=w;h>=v;h--)S=c[h],u=d.get(S),m[h]=u===void 0?-1:u,d.set(S,h);for(u=v;u<=b;u++)S=r[u],h=d.get(S),h!==void 0&&h!==-1?(O[h]=s[u],y[h]=o[u],l&&(g[h]=l[u]),h=m[h],d.set(S,h)):o[u]();for(h=v;hFh(o)),()=>{const u=i()||[];return u[Xh],Ln(()=>{if(u.length===0)return l!==0&&(Fh(o),o=[],r=[],s=[],l=0,a=[]),n.fallback&&(r=[up],s[0]=go(p=>(o[0]=p,n.fallback())),l=1),s;for(r[0]===up&&(o[0](),o=[],r=[],s=[],l=0),c=0;cu[c]):c>=r.length&&(s[c]=go(h));for(;ci(t||{}));return la(n),r}return Ln(()=>i(t||{}))}function Du(){return!0}const hp={get(i,t,n){return t===Ci?n:i.get(t)},has(i,t){return t===Ci?!0:i.has(t)},set:Du,deleteProperty:Du,getOwnPropertyDescriptor(i,t){return{configurable:!0,enumerable:!0,get(){return i.get(t)},set:Du,deleteProperty:Du}},ownKeys(i){return i.keys()}};function sd(i){return(i=typeof i=="function"?i():i)?i:{}}function lP(){for(let i=0,t=this.length;i=0;l--){const c=sd(i[l])[a];if(c!==void 0)return c}},has(a){for(let l=i.length-1;l>=0;l--)if(a in sd(i[l]))return!0;return!1},keys(){const a=[];for(let l=0;l=0;a--){const l=i[a];if(!l)continue;const c=Object.getOwnPropertyNames(l);for(let u=c.length-1;u>=0;u--){const h=c[u];if(h==="__proto__"||h==="constructor")continue;const p=Object.getOwnPropertyDescriptor(l,h);if(!r[h])r[h]=p.get?{enumerable:!0,configurable:!0,get:lP.bind(n[h]=[p.get.bind(l)])}:p.value!==void 0?p:void 0;else{const f=n[h];f&&(p.get?f.push(p.get.bind(l)):p.value!==void 0&&f.push(()=>p.value))}}}const s={},o=Object.keys(r);for(let a=o.length-1;a>=0;a--){const l=o[a],c=r[l];c&&c.get?Object.defineProperty(s,l,c):s[l]=c?c.value:void 0}return s}function Ec(i,...t){if(Ci in i){const s=new Set(t.length>1?t.flat():t[0]),o=t.map(a=>new Proxy({get(l){return a.includes(l)?i[l]:void 0},has(l){return a.includes(l)&&l in i},keys(){return a.filter(l=>l in i)}},hp));return o.push(new Proxy({get(a){return s.has(a)?void 0:i[a]},has(a){return s.has(a)?!1:a in i},keys(){return Object.keys(i).filter(a=>!s.has(a))}},hp)),o}const n={},r=t.map(()=>({}));for(const s of Object.getOwnPropertyNames(i)){const o=Object.getOwnPropertyDescriptor(i,s),a=!o.get&&!o.set&&o.enumerable&&o.writable&&o.configurable;let l=!1,c=0;for(const u of t)u.includes(s)&&(l=!0,a?r[c][s]=o.value:Object.defineProperty(r[c],s,o)),++c;l||(a?n[s]=o.value:Object.defineProperty(n,s,o))}return[...r,n]}let cP=0;function uP(){const i=It.context;return i?`${i.id}${i.count++}`:`cl-${cP++}`}const hP=i=>`Stale read from <${i}>.`;function Ra(i){const t="fallback"in i&&{fallback:()=>i.fallback};return Wr(sP(()=>i.each,i.children,t||void 0))}function pv(i){const t="fallback"in i&&{fallback:()=>i.fallback};return Wr(oP(()=>i.each,i.children,t||void 0))}function Qf(i){const t=i.keyed,n=Wr(()=>i.when,void 0,{equals:(r,s)=>t?r===s:!r==!s});return Wr(()=>{const r=n();if(r){const s=i.children;return typeof s=="function"&&s.length>0?Ln(()=>s(t?r:()=>{if(!Ln(n))throw hP("Show");return i.when})):s}return i.fallback},void 0,void 0)}const fP=Fm();function dP(i){let t=0,n,r,s,o,a;const[l,c]=Hn(!1),u=eP(),h={increment:()=>{++t===1&&c(!0)},decrement:()=>{--t===0&&c(!1)},inFallback:l,effects:[],resolved:!1},p=ap();if(It.context&&It.load){const m=It.context.id+It.context.count;let O=It.load(m);if(O&&(typeof O!="object"||O.status!=="success"?s=O:It.gather(m)),s&&s!=="$$f"){const[y,g]=Hn(void 0,{equals:!1});o=y,s.then(()=>{if(It.done)return g();It.gather(m),la(r),g(),la()},v=>{a=v,g()})}}const f=Pf(fP);f&&(n=f.register(h.inFallback));let d;return pa(()=>d&&d()),Qt(u.Provider,{value:h,get children(){return Wr(()=>{if(a)throw a;if(r=It.context,o)return o(),o=void 0;r&&s==="$$f"&&la();const m=Wr(()=>i.children);return Wr(O=>{const y=h.inFallback(),{showContent:g=!0,showFallback:v=!0}=n?n():{};if((!y||s&&s!=="$$f")&&g)return h.resolved=!0,d&&d(),d=r=s=void 0,K2(h.effects),m();if(v)return d?O:go(b=>(d=b,r&&(la({id:r.id+"f",count:0}),r=void 0),i.fallback),p)})})}})}const pP=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected"],mP=new Set(["className","value","readOnly","formNoValidate","isMap","noModule","playsInline",...pP]),OP=new Set(["innerHTML","textContent","innerText","children"]),gP=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),yP=Object.assign(Object.create(null),{class:"className",formnovalidate:{$:"formNoValidate",BUTTON:1,INPUT:1},ismap:{$:"isMap",IMG:1},nomodule:{$:"noModule",SCRIPT:1},playsinline:{$:"playsInline",VIDEO:1},readonly:{$:"readOnly",INPUT:1,TEXTAREA:1}});function vP(i,t){const n=yP[i];return typeof n=="object"?n[t]?n.$:void 0:n}const bP=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),wP=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),xP={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"};function SP(i,t,n){let r=n.length,s=t.length,o=r,a=0,l=0,c=t[s-1].nextSibling,u=null;for(;ah-l){const m=t[a];for(;l{s=o,t===document?i():rr(t,i(),t.firstChild?null:void 0,n)},r.owner),()=>{s(),t.textContent=""}}function Xi(i,t,n){let r;const s=()=>{const a=document.createElement("template");return a.innerHTML=i,a.content.firstChild},o=()=>(r||(r=s())).cloneNode(!0);return o.cloneNode=o,o}function Vm(i,t=window.document){const n=t[ag]||(t[ag]=new Set);for(let r=0,s=i.length;rs.call(i,n[1],o))}else i.addEventListener(t,n)}function QP(i,t,n={}){const r=Object.keys(t||{}),s=Object.keys(n);let o,a;for(o=0,a=s.length;os.children=Cc(i,t.children,s.children)),js(()=>typeof t.ref=="function"?Ha(t.ref,i):t.ref=i),js(()=>EP(i,t,n,!0,s,!0)),s}function Ha(i,t,n){return Ln(()=>i(t,n))}function rr(i,t,n,r){if(n!==void 0&&!r&&(r=[]),typeof t!="function")return Cc(i,t,r,n);js(s=>Cc(i,t(),s,n),r)}function EP(i,t,n,r,s={},o=!1){t||(t={});for(const a in s)if(!(a in t)){if(a==="children")continue;s[a]=cg(i,a,null,s[a],n,o)}for(const a in t){if(a==="children")continue;const l=t[a];s[a]=cg(i,a,l,s[a],n,o)}}function RP(i){let t,n;return!It.context||!(t=It.registry.get(n=MP()))?i():(It.completed&&It.completed.add(t),It.registry.delete(n),t)}function CP(i){return i.toLowerCase().replace(/-([a-z])/g,(t,n)=>n.toUpperCase())}function lg(i,t,n){const r=t.trim().split(/\s+/);for(let s=0,o=r.length;s-1&&xP[t.split(":")[0]];p?_P(i,p,t,n):Rc(i,gP[t]||t,n)}return n}function AP(i){const t=`$$${i.type}`;let n=i.composedPath&&i.composedPath()[0]||i.target;for(i.target!==n&&Object.defineProperty(i,"target",{configurable:!0,value:n}),Object.defineProperty(i,"currentTarget",{configurable:!0,get(){return n||document}}),It.registry&&!It.done&&(It.done=_$HY.done=!0);n;){const r=n[t];if(r&&!n.disabled){const s=n[`${t}Data`];if(s!==void 0?r.call(n,s,i):r.call(n,i),i.cancelBubble)return}n=n._$host||n.parentNode||n.host}}function Cc(i,t,n,r,s){const o=!!It.context&&i.isConnected;if(o){!n&&(n=[...i.childNodes]);let c=[];for(let u=0;u{let c=t();for(;typeof c=="function";)c=c();n=Cc(i,c,n,r)}),()=>n;if(Array.isArray(t)){const c=[],u=n&&Array.isArray(n);if(fp(c,t,n,s))return js(()=>n=Cc(i,c,n,r,!0)),()=>n;if(o){if(!c.length)return n;if(r===void 0)return[...i.childNodes];let h=c[0],p=[h];for(;(h=h.nextSibling)!==r;)p.push(h);return n=p}if(c.length===0){if(n=Ca(i,n,r),l)return n}else u?n.length===0?ug(i,c,r):SP(i,n,c):(n&&Ca(i),ug(i,c));n=c}else if(t.nodeType){if(o&&t.parentNode)return n=l?[t]:t;if(Array.isArray(n)){if(l)return n=Ca(i,n,r,t);Ca(i,n,null,t)}else n==null||n===""||!i.firstChild?i.appendChild(t):i.replaceChild(t,i.firstChild);n=t}}return n}function fp(i,t,n,r){let s=!1;for(let o=0,a=t.length;o=0;a--){const l=t[a];if(s!==l){const c=l.parentNode===i;!o&&!a?c?i.replaceChild(s,l):i.insertBefore(s,n):c&&l.remove()}else o=!0}}else i.insertBefore(s,n);return[s]}function MP(){const i=It.context;return`${i.id}${i.count++}`}const $P="http://www.w3.org/2000/svg";function Ov(i,t=!1){return t?document.createElementNS($P,i):document.createElement(i)}function IP(i){const{useShadow:t}=i,n=document.createTextNode(""),r=()=>i.mount||document.body,s=ap();let o,a=!!It.context;return cs(()=>{a&&(ap().user=a=!1),o||(o=H2(s,()=>Wr(()=>i.children)));const l=r();if(l instanceof HTMLHeadElement){const[c,u]=Hn(!1),h=()=>u(!0);go(p=>rr(l,()=>c()?p():o(),null)),pa(h)}else{const c=Ov(i.isSVG?"g":"div",i.isSVG),u=t&&c.attachShadow?c.attachShadow({mode:"open"}):c;Object.defineProperty(c,"_$host",{get(){return n.parentNode},configurable:!0}),rr(u,o),l.appendChild(c),i.ref&&i.ref(c),pa(()=>l.removeChild(c))}},void 0,{render:!a}),n}function XP(i){const[t,n]=Ec(i,["component"]),r=Wr(()=>t.component);return Wr(()=>{const s=r();switch(typeof s){case"function":return Ln(()=>s(n));case"string":const o=wP.has(s),a=It.context?RP():Ov(s,o);return jP(a,n,o),a}})}const UP="0.5.0";var DP=Xi("
█ DOWNLOAD 532KB█ DONATE

Departure Monov.

DEPARTURE MONO IS A MONOSPACED PIXEL FONT BY HELENA ZHANG.

│ Flight  │ Destination ↑           │ Departing  │ Gate  │ Status       │
├─────────┼─────────────────────────┼────────────┼───────┼──────────────┤
│ LH789 │ TGK Tengoku │ 13:45 │ Z23 │ Delayed │
│ XX123 │ MBA Moonbase Alpha │ 08:00 │ 22 │ On Time │
│ AF321 │ MAR Mars Landing │ 09:15 │ 12 │ On Time │
│ UA567 │ NNY New New York │ 11:20 │ C8 │ Departed │
│ QF678 │ LHR (London) │ 20:00 │ 17 │ On Time │");const[LP,NP]=UP.split(".");function FP(){return(()=>{var i=DP(),t=i.firstChild,n=t.nextSibling,r=n.firstChild,s=r.nextSibling,o=s.firstChild,a=o.nextSibling;return a.nextSibling,rr(s,LP,a),rr(s,NP,null),i})()}var Ba=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Bm(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var zm={exports:{}},sc;typeof window<"u"?sc=window:typeof Ba<"u"?sc=Ba:typeof self<"u"?sc=self:sc={};var WP=sc,VP=zP,BP=Object.prototype.toString;function zP(i){if(!i)return!1;var t=BP.call(i);return t==="[object Function]"||typeof i=="function"&&t!=="[object RegExp]"||typeof window<"u"&&(i===window.setTimeout||i===window.alert||i===window.confirm||i===window.prompt)}var od=function(i){return i.replace(/^\s+|\s+$/g,"")},GP=function(i){return Object.prototype.toString.call(i)==="[object Array]"},ZP=function(i){if(!i)return{};for(var t={},n=od(i).split(` `),r=0;r"u"?t[a]=l:GP(t[a])?t[a].push(l):t[a]=[t[a],l]}return t},YP=HP,qP=Object.prototype.hasOwnProperty;function HP(){for(var i={},t=0;t"u")throw new Error("callback argument missing");var t=!1,n=function(b,w,S){t||(t=!0,i.callback(b,w,S))};function r(){l.readyState===4&&setTimeout(a,0)}function s(){var v=void 0;if(l.response?v=l.response:v=l.responseText||n_(l),O)try{v=JSON.parse(v)}catch{}return v}function o(v){return clearTimeout(y),v instanceof Error||(v=new Error(""+(v||"Unknown XMLHttpRequest Error"))),v.statusCode=0,n(v,g)}function a(){if(!u){var v;clearTimeout(y),i.useXDR&&l.status===void 0?v=200:v=l.status===1223?204:l.status;var b=g,w=null;return v!==0?(b={body:s(),statusCode:v,method:p,headers:{},url:h,rawRequest:l},l.getAllResponseHeaders&&(b.headers=JP(l.getAllResponseHeaders()))):w=new Error("Internal XMLHttpRequest Error"),n(w,b,b.body)}}var l=i.xhr||null;l||(i.cors||i.useXDR?l=new Es.XDomainRequest:l=new Es.XMLHttpRequest);var c,u,h=l.url=i.uri||i.url,p=l.method=i.method||"GET",f=i.body||i.data,d=l.headers=i.headers||{},m=!!i.sync,O=!1,y,g={body:void 0,headers:{},statusCode:0,method:p,url:h,rawRequest:l};if("json"in i&&i.json!==!1&&(O=!0,d.accept||d.Accept||(d.Accept="application/json"),p!=="GET"&&p!=="HEAD"&&(d["content-type"]||d["Content-Type"]||(d["Content-Type"]="application/json"),f=JSON.stringify(i.json===!0?f:i.json))),l.onreadystatechange=r,l.onload=a,l.onerror=o,l.onprogress=function(){},l.onabort=function(){u=!0},l.ontimeout=o,l.open(p,h,!m,i.username,i.password),m||(l.withCredentials=!!i.withCredentials),!m&&i.timeout>0&&(y=setTimeout(function(){if(!u){u=!0,l.abort("timeout");var v=new Error("XMLHttpRequest timeout");v.code="ETIMEDOUT",o(v)}},i.timeout)),l.setRequestHeader)for(c in d)d.hasOwnProperty(c)&&l.setRequestHeader(c,d[c]);else if(i.headers&&!r_(i.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in i&&(l.responseType=i.responseType),"beforeSend"in i&&typeof i.beforeSend=="function"&&i.beforeSend(l),l.send(f||null),l}function n_(i){try{if(i.responseType==="document")return i.responseXML;var t=i.responseXML&&i.responseXML.documentElement.nodeName==="parsererror";if(i.responseType===""&&!t)return i.responseXML}catch{}return null}function i_(){}var s_=zm.exports;const hg=Bm(s_);var Wh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},bv=function(i,t){if(!(i instanceof t))throw new TypeError("Cannot call a class as a function")},wv=function(){function i(t,n){for(var r=0;r @@ -169,7 +169,7 @@ throwBindingError('function `+te+" called with ' + arguments.length + ' argument `,rn.push(Zo+"_dtor"),Mn.push(ne[at].destructorFunction))}Ot&&(tr+=`var ret = retType.fromWireType(rv); return ret; `),tr+=`} -`,rn.push(tr);var ja=Qa(Function,rn).apply(null,Mn);return ja}function $u(te,ne,we,Le,ze,tt,ut,Be){var at=Ta(we,Le);ne=Jt(ne),tt=Fi(ze,tt),Os([],[te],function(Ot){Ot=Ot[0];var Mt=Ot.name+"."+ne;Be&&Ot.registeredClass.pureVirtualFunctions.push(ne);function gr(){zo("Cannot call "+Mt+" due to unbound types",at)}var tr=Ot.registeredClass.instancePrototype,sr=tr[ne];return sr===void 0||sr.overloadTable===void 0&&sr.className!==Ot.name&&sr.argCount===we-2?(gr.argCount=we-2,gr.className=Ot.name,tr[ne]=gr):(Xl(tr,ne,Mt),tr[ne].overloadTable[we-2]=gr),Os([],at,function(rn){var Mn=ka(Mt,rn,Ot,tt,ut);return tr[ne].overloadTable===void 0?(Mn.argCount=we-2,tr[ne]=Mn):tr[ne].overloadTable[we-2]=Mn,[]}),[]})}var oi=[],Gr=[{},{value:void 0},{value:null},{value:!0},{value:!1}];function vt(te){te>4&&--Gr[te].refcount===0&&(Gr[te]=void 0,oi.push(te))}function Zf(){for(var te=0,ne=5;ne>2])};case 3:return function(we){return this.fromWireType(pe[we>>3])};default:throw new TypeError("Unknown float type: "+te)}}function qf(te,ne,we){var Le=Sr(we);ne=Jt(ne),ni(te,{name:ne,fromWireType:function(ze){return ze},toWireType:function(ze,tt){if(typeof tt!="number"&&typeof tt!="boolean")throw new TypeError('Cannot convert "'+Yt(tt)+'" to '+this.name);return tt},argPackAdvance:8,readValueFromPointer:Xu(ne,Le),destructorFunction:null})}function Wn(te,ne,we,Le,ze,tt){var ut=Ta(ne,we);te=Jt(te),ze=Fi(Le,ze),ku(te,function(){zo("Cannot call "+te+" due to unbound types",ut)},ne-1),Os([],ut,function(Be){var at=[Be[0],null].concat(Be.slice(1));return Ll(te,ka(te,at,null,ze,tt),ne-1),[]})}function Hf(te,ne,we){switch(ne){case 0:return we?function(ze){return ie[ze]}:function(ze){return ce[ze]};case 1:return we?function(ze){return ye[ze>>1]}:function(ze){return he[ze>>1]};case 2:return we?function(ze){return ge[ze>>2]}:function(ze){return Oe[ze>>2]};default:throw new TypeError("Unknown integer type: "+te)}}function Kf(te,ne,we,Le,ze){ne=Jt(ne),ze===-1&&(ze=4294967295);var tt=Sr(we),ut=function(Ot){return Ot};if(Le===0){var Be=32-8*we;ut=function(Ot){return Ot<>>Be}}var at=ne.indexOf("unsigned")!=-1;ni(te,{name:ne,fromWireType:ut,toWireType:function(Ot,Mt){if(typeof Mt!="number"&&typeof Mt!="boolean")throw new TypeError('Cannot convert "'+Yt(Mt)+'" to '+this.name);if(Mtze)throw new TypeError('Passing a number "'+Yt(Mt)+'" from JS side to C/C++ side to an argument of type "'+ne+'", which is outside the valid range ['+Le+", "+ze+"]!");return at?Mt>>>0:Mt|0},argPackAdvance:8,readValueFromPointer:Hf(ne,tt,Le!==0),destructorFunction:null})}function Jf(te,ne,we){var Le=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],ze=Le[ne];function tt(ut){ut=ut>>2;var Be=Oe,at=Be[ut],Ot=Be[ut+1];return new ze(Be.buffer,Ot,at)}we=Jt(we),ni(te,{name:we,fromWireType:tt,argPackAdvance:8,readValueFromPointer:tt},{ignoreDuplicateRegistrations:!0})}function ed(te,ne){ne=Jt(ne);var we=ne==="std::string";ni(te,{name:ne,fromWireType:function(Le){var ze=Oe[Le>>2],tt;if(we){var ut=ce[Le+4+ze],Be=0;ut!=0&&(Be=ut,ce[Le+4+ze]=0);for(var at=Le+4,Ot=0;Ot<=ze;++Ot){var Mt=Le+4+Ot;if(ce[Mt]==0){var gr=q(at);tt===void 0?tt=gr:(tt+="\0",tt+=gr),at=Mt+1}}Be!=0&&(ce[Le+4+ze]=Be)}else{for(var tr=new Array(ze),Ot=0;Ot>2]=Be,we&&ut)ue(ze,at+4,Be+1);else if(ut)for(var Ot=0;Ot255&&(mr(at),Gt("String has UTF-16 code units that do not fit in 8 bits")),ce[at+4+Ot]=Mt}else for(var Ot=0;Ot>2],at=new Array(Be),Ot=tt+4>>ze,Mt=0;Mt>2]=Be;for(var Mt=at+4>>ze,gr=0;gr4&&(Gr[te].refcount+=1)}function Xr(te,ne){var we=Nr[te];return we===void 0&&Gt(ne+" has unknown type "+Fl(te)),we}function zl(te,ne){te=Xr(te,"_emval_take_value");var we=te.readValueFromPointer(ne);return Bl(we)}function x(){We()}function _(){return ie.length}function R(te){try{return k.grow(te-re.byteLength+65535>>16),xe(k.buffer),1}catch(ne){console.error("emscripten_realloc_buffer: Attempted to grow heap from "+re.byteLength+" bytes to "+te+" bytes, but got error: "+ne)}}function M(te){var ne=_();X(te>ne);var we=65536,Le=2147483648-we;if(te>Le)return S("Cannot enlarge memory, asked to go up to "+te+" bytes, but the limit is "+Le+" bytes!"),!1;for(var ze=16777216,tt=Math.max(ne,ze);tt0||(pt(),K(),He>0))return;function ne(){cr||(cr=!0,!C&&(ae(),me(),o.onRuntimeInitialized&&o.onRuntimeInitialized(),X(!o._main,'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'),Fe()))}o.setStatus?(o.setStatus("Running..."),setTimeout(function(){setTimeout(function(){o.setStatus("")},1),ne()},1)):ne(),st()}o.run=ur;function qr(){var te=w,ne=S,we=!1;w=S=function(ze){we=!0};try{var Le=ft;Le&&Le(0)}catch{}w=te,S=ne,we&&(Q("stdio streams had content in them that was not flushed. you should set EXIT_RUNTIME to 1 (see the FAQ), or make sure to emit a newline when you printf etc."),Q("(this may also be due to not including full filesystem support - try building with -s FORCE_FILESYSTEM=1)"))}function Go(te,ne){qr(),$?S("program exited (with status: "+te+"), but EXIT_RUNTIME is not set, so halting execution but not exiting the runtime or preventing further async execution (build with EXIT_RUNTIME=1, if you want a true shutdown)"):(C=!0,Ee(),o.onExit&&o.onExit(te)),c(te,new Yr(te))}if(o.preInit)for(typeof o.preInit=="function"&&(o.preInit=[o.preInit]);o.preInit.length>0;)o.preInit.pop()();return $=!0,ur(),o}}();i.exports=n}(fd)),fd.exports}function Wg(i){const t=[];for(let n=0,r=i.size();n{if(this.woff2Module){t(this);return}const n=gQ();let r=null;typeof window<"u"?r={locateFile(o){return o.endsWith(".wasm")?i:o}}:r={wasmBinaryFile:__dirname+"/woff2.wasm"};const s=n(r);s.onRuntimeInitialized=()=>{this.woff2Module=s,t(this)}})},encode(i){const t=new Uint8Array(i),n=this.woff2Module.woff2Enc(t,t.byteLength);return Wg(n)},decode(i){const t=new Uint8Array(i),n=this.woff2Module.woff2Dec(t,t.byteLength);return Wg(n)}};const Mc=Bm(yQ);function ub(i,t={}){if(!Mc.isInited())throw new Error("use woff2.init() to init woff2 module!");return Mc.encode(i).buffer}function hb(i,t={}){if(!Mc.isInited())throw new Error("use woff2.init() to init woff2 module!");return Mc.decode(i).buffer}function ou(i){let t="",n,r;if(i instanceof ArrayBuffer){n=i.byteLength;const s=new DataView(i,0,n);for(r=0;r"u"?"data:"+t+";charset=utf-8;base64,"+vo.from(i,"binary").toString("base64"):"data:"+t+";charset=utf-8;base64,"+btoa(i)}function wQ(i){return"data:font/woff2;charset=utf-8;base64,"+ou(i)}const dd=typeof hn=="object"&&typeof hn.versions=="object"&&typeof hn.versions.node<"u"&&typeof vo=="function";class $c{constructor(t,n={type:"ttf"}){typeof t=="object"&&t.glyf?this.set(t):t?this.read(t,n):this.readEmpty()}readEmpty(){return this.data=Rv(),this}read(t,n){if(dd&&t instanceof vo&&(t=bc.toArrayBuffer(t)),n.type==="ttf")this.data=new po(n).read(t);else if(n.type==="otf")this.data=tb(t,n);else if(n.type==="eot")t=rb(t,n),this.data=new po(n).read(t);else if(n.type==="woff")t=Dv(t,n),this.data=new po(n).read(t);else if(n.type==="woff2")t=hb(t,n),this.data=new po(n).read(t);else if(n.type==="svg")this.data=ib(t,n);else throw new Error("not support font type"+n.type);return this.type=n.type,this}write(t={}){t.type||(t.type=this.type);let n=null;if(t.type==="ttf")n=new ac(t).write(this.data);else if(t.type==="eot")n=new ac(t).write(this.data),n=ob(n,t);else if(t.type==="woff")n=new ac(t).write(this.data),n=ab(n,t);else if(t.type==="woff2")n=new ac(t).write(this.data),n=ub(n,t);else if(t.type==="svg")n=lb(this.data,t);else if(t.type==="symbol")n=OQ(this.data,t);else throw new Error("not support font type"+t.type);return dd&&t.toBuffer!==!1&&n instanceof ArrayBuffer&&(n=bc.toBuffer(n)),n}toBase64(t,n){t.type||(t.type=this.type),n?dd&&n instanceof vo&&(n=bc.toArrayBuffer(n)):(t.toBuffer=!1,n=this.write(t));let r;if(t.type==="ttf")r=fb(n);else if(t.type==="eot")r=vQ(n);else if(t.type==="woff")r=bQ(n);else if(t.type==="woff2")r=wQ(n);else if(t.type==="svg")r=Vg(n);else if(t.type==="symbol")r=Vg(n,"image/svg+xml");else throw new Error("not support font type"+t.type);return r}set(t){return this.data=t,this}get(){return this.data}optimize(t){const n=Iv(this.data);return t&&(t.result=n),this}compound2simple(){const t=new oc(this.data);return t.compound2simple(),this.data=t.get(),this}sort(){const t=new oc(this.data);return t.sortGlyf(),this.data=t.get(),this}find(t){const n=new oc(this.data),r=n.findGlyf(t);return r.length?n.getGlyf(r):r}merge(t,n){const r=new oc(this.data);return r.mergeGlyf(t.get(),n),this.data=r.get(),this}}$c.create=function(i,t){return new $c(i,t)};$c.toBase64=function(i){return typeof i=="string"?typeof btoa>"u"?vo.from(i,"binary").toString("base64"):btoa(i):ou(i)};function xQ(i){return i.map(t=>"\\"+t.toString(16)).join(",")}function Bg(i,t={}){const n=[];return i.glyf.filter(s=>s.name!==".notdef"&&s.name!==".null"&&s.name!=="nonmarkingreturn"&&s.unicode&&s.unicode.length).forEach((s,o)=>{n.push({code:"&#x"+s.unicode[0].toString(16)+";",codeName:xQ(s.unicode),name:s.name,id:cb(s,o)})}),{fontFamily:i.name.fontFamily||ul.name.fontFamily,iconPrefix:t.iconPrefix||"icon",glyfList:n}}function SQ(i,t={}){if(i instanceof ArrayBuffer){const n=new po,r=n.read(i);return n.dispose(),Bg(r,t)}else if(i.version&&i.glyf)return Bg(i,t);Lt.raise(10101)}const PQ={Font:$c,TTF:oc,TTFReader:po,TTFWriter:ac,ttf2eot:ob,eot2ttf:rb,ttf2woff:ab,woff2ttf:Dv,ttf2svg:lb,svg2ttfobject:ib,Reader:Ai,Writer:bo,OTFReader:eb,otf2ttfobject:tb,ttf2base64:fb,ttf2icon:SQ,ttftowoff2:ub,woff2tottf:hb,woff2:Mc,toArrayBuffer:bc.toArrayBuffer,toBuffer:bc.toBuffer};typeof N2<"u"&&(F2.exports=PQ);async function _Q(i,t){return new Promise((n,r)=>{const s=new XMLHttpRequest;s.open((t==null?void 0:t.method)??"GET",i,!0),s.responseType=(t==null?void 0:t.responseType)??"blob",s.onprogress=o=>{o.lengthComputable&&o.loaded/o.total*100},s.onload=()=>{s.status>=200&&s.status<300?n(s.response):r(new Error(`HTTP error! status: ${s.status}`))},s.onerror=()=>{r(new Error("Network error"))},s.send()})}function $n(i){return getComputedStyle(document.documentElement).getPropertyValue(i).trim()}const Je={fg:$n("--fg"),bg:$n("--bg"),accent:$n("--accent"),amber:$n("--amber"),pumpkin:$n("--pumpkin"),flux:$n("--flux"),foam:$n("--foam"),enamel:$n("--enamel"),cement:$n("--cement"),ash:$n("--ash"),clay:$n("--clay"),smoke:$n("--smoke"),carbon:$n("--carbon"),black:$n("--black")};function TQ(i,t){return async function(){const n=await _Q("assets/dm.otf",{responseType:"arraybuffer",onProgress:i,onDone:t});return $c.create(n,{type:"otf"})}}var QQ=Xi('
U+
ASCENDER /
CAP HEIGHT
400
X-HEIGHT300
BASELINE0
DESCENDER-100
'),kQ=Xi("
");const jQ={"BASIC LATIN":i=>i>=65&&i<=90||i>=97&&i<=122,"EXTENDED LATIN":i=>i>=192&&i<=687||i>=7680&&i<=7935,"GREEK AND COPTIC":i=>i>=880&&i<=1023,PUNCTUATION:i=>i>=33&&i<=47||i>=58&&i<=63||i>=91&&i<=96||i>=123&&i<=126||i>=174&&i<=177||i>=180&&i<=184||i>=8211&&i<=8250||[63,64,161,187,166,167,8482,8984,8997].includes(i),NUMERALS:i=>i>=48&&i<=57||i>=60&&i<=62||i>=162&&i<=165||i>=178&&i<=179||i>=185&&i<=186||i>=188&&i<=190||i>=8304&&i<=8381||i>=8486&&i<=8542||i>=8706&&i<=8805||[36,37,43,94,126,181,185,215,247,402,3647,8240,8260].includes(i),GRAPHICAL:i=>i>=8592&&i<=8601||i>=9472&&i<=9674};function EQ(){const[i]=Y2(TQ()),t=Wr(()=>{var p;const h=(p=i())==null?void 0:p.get();return h?Object.entries(h.cmap).reduce((f,[d,m])=>{const O=parseInt(d),y=h.glyf[m],[g]=Object.entries(jQ).find(([v,b])=>b(O))??[];return g&&(f[g]||(f[g]=[]),f[g].push({code:O,glyf:y})),f},{}):{}}),n=()=>t()["BASIC LATIN"],r=()=>t()["EXTENDED LATIN"],s=()=>t()["GREEK AND COPTIC"],o=()=>t().PUNCTUATION,a=()=>t().NUMERALS,l=()=>t().GRAPHICAL,[c,u]=Hn(null);return cs(()=>{if(i.state==="ready"){const h=i().find({unicode:[81]})[0];u(h)}}),(()=>{var h=QQ(),p=h.firstChild,f=p.nextSibling,d=f.nextSibling,m=d.firstChild,O=m.firstChild,y=O.firstChild,g=y.nextSibling;g.firstChild;var v=O.nextSibling,b=v.nextSibling,w=b.nextSibling,S=w.nextSibling,Q=S.nextSibling,P=m.nextSibling,j=P.firstChild,E=j.nextSibling,$=E.nextSibling,k=$.nextSibling,U=k.nextSibling,C=U.nextSibling,X=d.nextSibling;return rr(p,zg),rr(f,zg),rr(y,()=>{var L;return((L=c())==null?void 0:L.name.toUpperCase())??"NULL"}),rr(g,()=>{var L;return((L=c())==null?void 0:L.unicode[0].toString(16).padStart(4,"0").toUpperCase())??"0000"},null),rr(Q,()=>{var L;return String.fromCharCode(((L=c())==null?void 0:L.unicode[0])??0)}),rr(j,()=>"BASIC LATIN"),rr(P,Qt(Ra,{get each(){return n()},children:(L,W)=>Qt(Ia,Hi(L,{get selected(){return L.glyf===c()},onClick:()=>u(L.glyf)}))}),E),rr(E,()=>"EXTENDED LATIN"),rr(P,Qt(Ra,{get each(){return r()},children:(L,W)=>Qt(Ia,Hi(L,{get selected(){return L.glyf===c()},onClick:()=>u(L.glyf)}))}),$),rr($,()=>"GREEK AND COPTIC"),rr(P,Qt(Ra,{get each(){return s()},children:(L,W)=>Qt(Ia,Hi(L,{get selected(){return L.glyf===c()},onClick:()=>u(L.glyf)}))}),k),rr(k,()=>"PUNCTUATION"),rr(P,Qt(Ra,{get each(){return o()},children:(L,W)=>Qt(Ia,Hi(L,{get selected(){return L.glyf===c()},onClick:()=>u(L.glyf)}))}),U),rr(U,()=>"NUMERALS"),rr(P,Qt(Ra,{get each(){return a()},children:(L,W)=>Qt(Ia,Hi(L,{get selected(){return L.glyf===c()},onClick:()=>u(L.glyf)}))}),C),rr(C,()=>"GRAPHICAL"),rr(P,Qt(Ra,{get each(){return l()},children:(L,W)=>Qt(Ia,Hi(L,{get selected(){return L.glyf===c()},onClick:()=>u(L.glyf)}))}),null),rr(X,()=>RQ.download),h})()}function Ia(i){const t=()=>String.fromCharCode(i.code);return(()=>{var n=kQ(),r=n.firstChild;return mv(n,"click",i.onClick,!0),rr(r,t),js(s=>{var o=i.glyf.name.toUpperCase(),a=i.selected;return o!==s.e&&Rc(n,"title",s.e=o),a!==s.t&&Rc(n,"data-selected",s.t=a),s},{e:void 0,t:void 0}),n})()}const zg=` ┌──────────────────┐ ┌──────────────────┐ ┌──────────────────┐ +`,rn.push(tr);var ja=Qa(Function,rn).apply(null,Mn);return ja}function $u(te,ne,we,Le,ze,tt,ut,Be){var at=Ta(we,Le);ne=Jt(ne),tt=Fi(ze,tt),Os([],[te],function(Ot){Ot=Ot[0];var Mt=Ot.name+"."+ne;Be&&Ot.registeredClass.pureVirtualFunctions.push(ne);function gr(){zo("Cannot call "+Mt+" due to unbound types",at)}var tr=Ot.registeredClass.instancePrototype,sr=tr[ne];return sr===void 0||sr.overloadTable===void 0&&sr.className!==Ot.name&&sr.argCount===we-2?(gr.argCount=we-2,gr.className=Ot.name,tr[ne]=gr):(Xl(tr,ne,Mt),tr[ne].overloadTable[we-2]=gr),Os([],at,function(rn){var Mn=ka(Mt,rn,Ot,tt,ut);return tr[ne].overloadTable===void 0?(Mn.argCount=we-2,tr[ne]=Mn):tr[ne].overloadTable[we-2]=Mn,[]}),[]})}var oi=[],Gr=[{},{value:void 0},{value:null},{value:!0},{value:!1}];function vt(te){te>4&&--Gr[te].refcount===0&&(Gr[te]=void 0,oi.push(te))}function Zf(){for(var te=0,ne=5;ne>2])};case 3:return function(we){return this.fromWireType(pe[we>>3])};default:throw new TypeError("Unknown float type: "+te)}}function qf(te,ne,we){var Le=Sr(we);ne=Jt(ne),ni(te,{name:ne,fromWireType:function(ze){return ze},toWireType:function(ze,tt){if(typeof tt!="number"&&typeof tt!="boolean")throw new TypeError('Cannot convert "'+Yt(tt)+'" to '+this.name);return tt},argPackAdvance:8,readValueFromPointer:Xu(ne,Le),destructorFunction:null})}function Wn(te,ne,we,Le,ze,tt){var ut=Ta(ne,we);te=Jt(te),ze=Fi(Le,ze),ku(te,function(){zo("Cannot call "+te+" due to unbound types",ut)},ne-1),Os([],ut,function(Be){var at=[Be[0],null].concat(Be.slice(1));return Ll(te,ka(te,at,null,ze,tt),ne-1),[]})}function Hf(te,ne,we){switch(ne){case 0:return we?function(ze){return ie[ze]}:function(ze){return ce[ze]};case 1:return we?function(ze){return ye[ze>>1]}:function(ze){return he[ze>>1]};case 2:return we?function(ze){return ge[ze>>2]}:function(ze){return Oe[ze>>2]};default:throw new TypeError("Unknown integer type: "+te)}}function Kf(te,ne,we,Le,ze){ne=Jt(ne),ze===-1&&(ze=4294967295);var tt=Sr(we),ut=function(Ot){return Ot};if(Le===0){var Be=32-8*we;ut=function(Ot){return Ot<>>Be}}var at=ne.indexOf("unsigned")!=-1;ni(te,{name:ne,fromWireType:ut,toWireType:function(Ot,Mt){if(typeof Mt!="number"&&typeof Mt!="boolean")throw new TypeError('Cannot convert "'+Yt(Mt)+'" to '+this.name);if(Mtze)throw new TypeError('Passing a number "'+Yt(Mt)+'" from JS side to C/C++ side to an argument of type "'+ne+'", which is outside the valid range ['+Le+", "+ze+"]!");return at?Mt>>>0:Mt|0},argPackAdvance:8,readValueFromPointer:Hf(ne,tt,Le!==0),destructorFunction:null})}function Jf(te,ne,we){var Le=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],ze=Le[ne];function tt(ut){ut=ut>>2;var Be=Oe,at=Be[ut],Ot=Be[ut+1];return new ze(Be.buffer,Ot,at)}we=Jt(we),ni(te,{name:we,fromWireType:tt,argPackAdvance:8,readValueFromPointer:tt},{ignoreDuplicateRegistrations:!0})}function ed(te,ne){ne=Jt(ne);var we=ne==="std::string";ni(te,{name:ne,fromWireType:function(Le){var ze=Oe[Le>>2],tt;if(we){var ut=ce[Le+4+ze],Be=0;ut!=0&&(Be=ut,ce[Le+4+ze]=0);for(var at=Le+4,Ot=0;Ot<=ze;++Ot){var Mt=Le+4+Ot;if(ce[Mt]==0){var gr=q(at);tt===void 0?tt=gr:(tt+="\0",tt+=gr),at=Mt+1}}Be!=0&&(ce[Le+4+ze]=Be)}else{for(var tr=new Array(ze),Ot=0;Ot>2]=Be,we&&ut)ue(ze,at+4,Be+1);else if(ut)for(var Ot=0;Ot255&&(mr(at),Gt("String has UTF-16 code units that do not fit in 8 bits")),ce[at+4+Ot]=Mt}else for(var Ot=0;Ot>2],at=new Array(Be),Ot=tt+4>>ze,Mt=0;Mt>2]=Be;for(var Mt=at+4>>ze,gr=0;gr4&&(Gr[te].refcount+=1)}function Xr(te,ne){var we=Nr[te];return we===void 0&&Gt(ne+" has unknown type "+Fl(te)),we}function zl(te,ne){te=Xr(te,"_emval_take_value");var we=te.readValueFromPointer(ne);return Bl(we)}function x(){We()}function _(){return ie.length}function R(te){try{return k.grow(te-re.byteLength+65535>>16),xe(k.buffer),1}catch(ne){console.error("emscripten_realloc_buffer: Attempted to grow heap from "+re.byteLength+" bytes to "+te+" bytes, but got error: "+ne)}}function M(te){var ne=_();X(te>ne);var we=65536,Le=2147483648-we;if(te>Le)return S("Cannot enlarge memory, asked to go up to "+te+" bytes, but the limit is "+Le+" bytes!"),!1;for(var ze=16777216,tt=Math.max(ne,ze);tt0||(pt(),K(),He>0))return;function ne(){cr||(cr=!0,!C&&(ae(),me(),o.onRuntimeInitialized&&o.onRuntimeInitialized(),X(!o._main,'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'),Fe()))}o.setStatus?(o.setStatus("Running..."),setTimeout(function(){setTimeout(function(){o.setStatus("")},1),ne()},1)):ne(),st()}o.run=ur;function qr(){var te=w,ne=S,we=!1;w=S=function(ze){we=!0};try{var Le=ft;Le&&Le(0)}catch{}w=te,S=ne,we&&(Q("stdio streams had content in them that was not flushed. you should set EXIT_RUNTIME to 1 (see the FAQ), or make sure to emit a newline when you printf etc."),Q("(this may also be due to not including full filesystem support - try building with -s FORCE_FILESYSTEM=1)"))}function Go(te,ne){qr(),$?S("program exited (with status: "+te+"), but EXIT_RUNTIME is not set, so halting execution but not exiting the runtime or preventing further async execution (build with EXIT_RUNTIME=1, if you want a true shutdown)"):(C=!0,Ee(),o.onExit&&o.onExit(te)),c(te,new Yr(te))}if(o.preInit)for(typeof o.preInit=="function"&&(o.preInit=[o.preInit]);o.preInit.length>0;)o.preInit.pop()();return $=!0,ur(),o}}();i.exports=n}(fd)),fd.exports}function Wg(i){const t=[];for(let n=0,r=i.size();n{if(this.woff2Module){t(this);return}const n=gQ();let r=null;typeof window<"u"?r={locateFile(o){return o.endsWith(".wasm")?i:o}}:r={wasmBinaryFile:__dirname+"/woff2.wasm"};const s=n(r);s.onRuntimeInitialized=()=>{this.woff2Module=s,t(this)}})},encode(i){const t=new Uint8Array(i),n=this.woff2Module.woff2Enc(t,t.byteLength);return Wg(n)},decode(i){const t=new Uint8Array(i),n=this.woff2Module.woff2Dec(t,t.byteLength);return Wg(n)}};const Mc=Bm(yQ);function ub(i,t={}){if(!Mc.isInited())throw new Error("use woff2.init() to init woff2 module!");return Mc.encode(i).buffer}function hb(i,t={}){if(!Mc.isInited())throw new Error("use woff2.init() to init woff2 module!");return Mc.decode(i).buffer}function ou(i){let t="",n,r;if(i instanceof ArrayBuffer){n=i.byteLength;const s=new DataView(i,0,n);for(r=0;r"u"?"data:"+t+";charset=utf-8;base64,"+vo.from(i,"binary").toString("base64"):"data:"+t+";charset=utf-8;base64,"+btoa(i)}function wQ(i){return"data:font/woff2;charset=utf-8;base64,"+ou(i)}const dd=typeof hn=="object"&&typeof hn.versions=="object"&&typeof hn.versions.node<"u"&&typeof vo=="function";class $c{constructor(t,n={type:"ttf"}){typeof t=="object"&&t.glyf?this.set(t):t?this.read(t,n):this.readEmpty()}readEmpty(){return this.data=Rv(),this}read(t,n){if(dd&&t instanceof vo&&(t=bc.toArrayBuffer(t)),n.type==="ttf")this.data=new po(n).read(t);else if(n.type==="otf")this.data=tb(t,n);else if(n.type==="eot")t=rb(t,n),this.data=new po(n).read(t);else if(n.type==="woff")t=Dv(t,n),this.data=new po(n).read(t);else if(n.type==="woff2")t=hb(t,n),this.data=new po(n).read(t);else if(n.type==="svg")this.data=ib(t,n);else throw new Error("not support font type"+n.type);return this.type=n.type,this}write(t={}){t.type||(t.type=this.type);let n=null;if(t.type==="ttf")n=new ac(t).write(this.data);else if(t.type==="eot")n=new ac(t).write(this.data),n=ob(n,t);else if(t.type==="woff")n=new ac(t).write(this.data),n=ab(n,t);else if(t.type==="woff2")n=new ac(t).write(this.data),n=ub(n,t);else if(t.type==="svg")n=lb(this.data,t);else if(t.type==="symbol")n=OQ(this.data,t);else throw new Error("not support font type"+t.type);return dd&&t.toBuffer!==!1&&n instanceof ArrayBuffer&&(n=bc.toBuffer(n)),n}toBase64(t,n){t.type||(t.type=this.type),n?dd&&n instanceof vo&&(n=bc.toArrayBuffer(n)):(t.toBuffer=!1,n=this.write(t));let r;if(t.type==="ttf")r=fb(n);else if(t.type==="eot")r=vQ(n);else if(t.type==="woff")r=bQ(n);else if(t.type==="woff2")r=wQ(n);else if(t.type==="svg")r=Vg(n);else if(t.type==="symbol")r=Vg(n,"image/svg+xml");else throw new Error("not support font type"+t.type);return r}set(t){return this.data=t,this}get(){return this.data}optimize(t){const n=Iv(this.data);return t&&(t.result=n),this}compound2simple(){const t=new oc(this.data);return t.compound2simple(),this.data=t.get(),this}sort(){const t=new oc(this.data);return t.sortGlyf(),this.data=t.get(),this}find(t){const n=new oc(this.data),r=n.findGlyf(t);return r.length?n.getGlyf(r):r}merge(t,n){const r=new oc(this.data);return r.mergeGlyf(t.get(),n),this.data=r.get(),this}}$c.create=function(i,t){return new $c(i,t)};$c.toBase64=function(i){return typeof i=="string"?typeof btoa>"u"?vo.from(i,"binary").toString("base64"):btoa(i):ou(i)};function xQ(i){return i.map(t=>"\\"+t.toString(16)).join(",")}function Bg(i,t={}){const n=[];return i.glyf.filter(s=>s.name!==".notdef"&&s.name!==".null"&&s.name!=="nonmarkingreturn"&&s.unicode&&s.unicode.length).forEach((s,o)=>{n.push({code:"&#x"+s.unicode[0].toString(16)+";",codeName:xQ(s.unicode),name:s.name,id:cb(s,o)})}),{fontFamily:i.name.fontFamily||ul.name.fontFamily,iconPrefix:t.iconPrefix||"icon",glyfList:n}}function SQ(i,t={}){if(i instanceof ArrayBuffer){const n=new po,r=n.read(i);return n.dispose(),Bg(r,t)}else if(i.version&&i.glyf)return Bg(i,t);Lt.raise(10101)}const PQ={Font:$c,TTF:oc,TTFReader:po,TTFWriter:ac,ttf2eot:ob,eot2ttf:rb,ttf2woff:ab,woff2ttf:Dv,ttf2svg:lb,svg2ttfobject:ib,Reader:Ai,Writer:bo,OTFReader:eb,otf2ttfobject:tb,ttf2base64:fb,ttf2icon:SQ,ttftowoff2:ub,woff2tottf:hb,woff2:Mc,toArrayBuffer:bc.toArrayBuffer,toBuffer:bc.toBuffer};typeof N2<"u"&&(F2.exports=PQ);async function _Q(i,t){return new Promise((n,r)=>{const s=new XMLHttpRequest;s.open((t==null?void 0:t.method)??"GET",i,!0),s.responseType=(t==null?void 0:t.responseType)??"blob",s.onprogress=o=>{o.lengthComputable&&o.loaded/o.total*100},s.onload=()=>{s.status>=200&&s.status<300?n(s.response):r(new Error(`HTTP error! status: ${s.status}`))},s.onerror=()=>{r(new Error("Network error"))},s.send()})}function $n(i){return getComputedStyle(document.documentElement).getPropertyValue(i).trim()}const Je={fg:$n("--fg"),bg:$n("--bg"),accent:$n("--accent"),amber:$n("--amber"),pumpkin:$n("--pumpkin"),flux:$n("--flux"),foam:$n("--foam"),enamel:$n("--enamel"),cement:$n("--cement"),ash:$n("--ash"),clay:$n("--clay"),smoke:$n("--smoke"),carbon:$n("--carbon"),black:$n("--black")};function TQ(i,t){return async function(){const n=await _Q("/assets/dm.otf",{responseType:"arraybuffer",onProgress:i,onDone:t});return $c.create(n,{type:"otf"})}}var QQ=Xi('
U+
ASCENDER /
CAP HEIGHT
400
X-HEIGHT300
BASELINE0
DESCENDER-100
'),kQ=Xi("
");const jQ={"BASIC LATIN":i=>i>=65&&i<=90||i>=97&&i<=122,"EXTENDED LATIN":i=>i>=192&&i<=687||i>=7680&&i<=7935,"GREEK AND COPTIC":i=>i>=880&&i<=1023,PUNCTUATION:i=>i>=33&&i<=47||i>=58&&i<=63||i>=91&&i<=96||i>=123&&i<=126||i>=174&&i<=177||i>=180&&i<=184||i>=8211&&i<=8250||[63,64,161,187,166,167,8482,8984,8997].includes(i),NUMERALS:i=>i>=48&&i<=57||i>=60&&i<=62||i>=162&&i<=165||i>=178&&i<=179||i>=185&&i<=186||i>=188&&i<=190||i>=8304&&i<=8381||i>=8486&&i<=8542||i>=8706&&i<=8805||[36,37,43,94,126,181,185,215,247,402,3647,8240,8260].includes(i),GRAPHICAL:i=>i>=8592&&i<=8601||i>=9472&&i<=9674};function EQ(){const[i]=Y2(TQ()),t=Wr(()=>{var p;const h=(p=i())==null?void 0:p.get();return h?Object.entries(h.cmap).reduce((f,[d,m])=>{const O=parseInt(d),y=h.glyf[m],[g]=Object.entries(jQ).find(([v,b])=>b(O))??[];return g&&(f[g]||(f[g]=[]),f[g].push({code:O,glyf:y})),f},{}):{}}),n=()=>t()["BASIC LATIN"],r=()=>t()["EXTENDED LATIN"],s=()=>t()["GREEK AND COPTIC"],o=()=>t().PUNCTUATION,a=()=>t().NUMERALS,l=()=>t().GRAPHICAL,[c,u]=Hn(null);return cs(()=>{if(i.state==="ready"){const h=i().find({unicode:[81]})[0];u(h)}}),(()=>{var h=QQ(),p=h.firstChild,f=p.nextSibling,d=f.nextSibling,m=d.firstChild,O=m.firstChild,y=O.firstChild,g=y.nextSibling;g.firstChild;var v=O.nextSibling,b=v.nextSibling,w=b.nextSibling,S=w.nextSibling,Q=S.nextSibling,P=m.nextSibling,j=P.firstChild,E=j.nextSibling,$=E.nextSibling,k=$.nextSibling,U=k.nextSibling,C=U.nextSibling,X=d.nextSibling;return rr(p,zg),rr(f,zg),rr(y,()=>{var L;return((L=c())==null?void 0:L.name.toUpperCase())??"NULL"}),rr(g,()=>{var L;return((L=c())==null?void 0:L.unicode[0].toString(16).padStart(4,"0").toUpperCase())??"0000"},null),rr(Q,()=>{var L;return String.fromCharCode(((L=c())==null?void 0:L.unicode[0])??0)}),rr(j,()=>"BASIC LATIN"),rr(P,Qt(Ra,{get each(){return n()},children:(L,W)=>Qt(Ia,Hi(L,{get selected(){return L.glyf===c()},onClick:()=>u(L.glyf)}))}),E),rr(E,()=>"EXTENDED LATIN"),rr(P,Qt(Ra,{get each(){return r()},children:(L,W)=>Qt(Ia,Hi(L,{get selected(){return L.glyf===c()},onClick:()=>u(L.glyf)}))}),$),rr($,()=>"GREEK AND COPTIC"),rr(P,Qt(Ra,{get each(){return s()},children:(L,W)=>Qt(Ia,Hi(L,{get selected(){return L.glyf===c()},onClick:()=>u(L.glyf)}))}),k),rr(k,()=>"PUNCTUATION"),rr(P,Qt(Ra,{get each(){return o()},children:(L,W)=>Qt(Ia,Hi(L,{get selected(){return L.glyf===c()},onClick:()=>u(L.glyf)}))}),U),rr(U,()=>"NUMERALS"),rr(P,Qt(Ra,{get each(){return a()},children:(L,W)=>Qt(Ia,Hi(L,{get selected(){return L.glyf===c()},onClick:()=>u(L.glyf)}))}),C),rr(C,()=>"GRAPHICAL"),rr(P,Qt(Ra,{get each(){return l()},children:(L,W)=>Qt(Ia,Hi(L,{get selected(){return L.glyf===c()},onClick:()=>u(L.glyf)}))}),null),rr(X,()=>RQ.download),h})()}function Ia(i){const t=()=>String.fromCharCode(i.code);return(()=>{var n=kQ(),r=n.firstChild;return mv(n,"click",i.onClick,!0),rr(r,t),js(s=>{var o=i.glyf.name.toUpperCase(),a=i.selected;return o!==s.e&&Rc(n,"title",s.e=o),a!==s.t&&Rc(n,"data-selected",s.t=a),s},{e:void 0,t:void 0}),n})()}const zg=` ┌──────────────────┐ ┌──────────────────┐ ┌──────────────────┐ │ CLOCK │ │ COUNTER & │ │ S │ ├──────────────────┤ ┌─────►│ INTERRUPT ├────────►│ ─── │ │ │ │ │ PRIORITY │ │ MEMORY │ @@ -2173,4 +2173,4 @@ void main() { `),T==="vert"?V+=`#define VERTEX_SHADER `:T==="frag"&&(V+=`#define FRAGMENT_SHADER `),D&&(V+="precision ".concat(D,` float; -`)),V}},{key:"_getEmptyTexture",value:function(){var T;return this._emptyTexture||((T=new c.default.Image(1,1)).set(0,0,255),this._emptyTexture=new c.default.Texture(this,T)),this._emptyTexture}},{key:"getTexture",value:function(T){T instanceof c.default.Framebuffer&&(T=T.color);var D=this.textures.get(T);return D||(D=new c.default.Texture(this,T),this.textures.set(T,D),D)}},{key:"getDiffusedTexture",value:function(T){var D,V,Y=this;return this.diffusedTextures.get(T)!=null?this.diffusedTextures.get(T):(D=Math.floor(T.height/T.width*200),V=this._pInst.createFramebuffer({width:200,height:D,density:1}),this.diffusedShader||(this.diffusedShader=this._pInst.createShader(X.imageLightVert,X.imageLightDiffusedFrag)),V.draw(function(){Y._pInst.shader(Y.diffusedShader),Y.diffusedShader.setUniform("environmentMap",T),Y._pInst.noStroke(),Y._pInst.rectMode(u.CENTER),Y._pInst.noLights(),Y._pInst.rect(0,0,200,D)}),this.diffusedTextures.set(T,V),V)}},{key:"getSpecularTexture",value:function(T){var D=this;if(this.specularTextures.get(T)!=null)return this.specularTextures.get(T);for(var V,Y=[],re=this._pInst.createFramebuffer({width:512,height:512,density:1}),ie=Math.log(512)/Math.log(2),ce=(this.specularShader||(this.specularShader=this._pInst.createShader(X.imageLightVert,X.imageLightSpecularFrag)),512);1<=ce;ce/=2)(function(ye){re.resize(ye,ye);var he=1-Math.log(ye)/Math.log(2)/ie;re.draw(function(){D._pInst.shader(D.specularShader),D._pInst.clear(),D.specularShader.setUniform("environmentMap",T),D.specularShader.setUniform("roughness",he),D._pInst.noStroke(),D._pInst.noLights(),D._pInst.plane(ye,ye)}),Y.push(re.get().drawingContext.getImageData(0,0,ye,ye))})(ce);return re.remove(),V=new f.MipmapTexture(this,Y,{}),this.specularTextures.set(T,V),V}},{key:"activeFramebuffer",value:function(){return this.activeFramebuffers[this.activeFramebuffers.length-1]||null}},{key:"createFramebuffer",value:function(T){return new c.default.Framebuffer(this,T)}},{key:"_setStrokeUniforms",value:function(T){T.bindShader(),T.setUniform("uUseLineColor",this._useLineColor),T.setUniform("uMaterialColor",this.curStrokeColor),T.setUniform("uStrokeWeight",this.curStrokeWeight),T.setUniform("uStrokeCap",$[this.curStrokeCap]),T.setUniform("uStrokeJoin",k[this.curStrokeJoin])}},{key:"_setFillUniforms",value:function(T){var D=this,V=(T.bindShader(),this.mixedSpecularColor=O(this.curSpecularColor),0>7,127&ae,K>>7,127&K);for(var me=0;me>7,127&Ee,0,0)}}return{cellImageInfo:A,dimOffset:it,dimImageInfo:Te}}}}]),b}();u.default.RendererGL.prototype._renderText=function(b,w,S,Q,P){if(this._textFont&&typeof this._textFont!="string"){if(!(P<=Q)&&this._doFill){if(this._isOpenType()){b.push();var P=this._doStroke,j=this.drawMode,E=(this._doStroke=!1,this.drawMode=h.TEXTURE,this._textFont.font),$=($=this._textFont._fontInfo)||(this._textFont._fontInfo=new v(E)),S=this._textFont._handleAlignment(this,w,S,Q),Q=this._textSize/E.unitsPerEm,k=(this.translate(S.x,S.y,0),this.scale(Q,Q,1),this.GL),S=!this._defaultFontShader,U=this._getFontShader(),C=(U.init(),U.bindShader(),S&&(U.setUniform("uGridImageSize",[64,64]),U.setUniform("uCellsImageSize",[64,64]),U.setUniform("uStrokeImageSize",[64,64]),U.setUniform("uGridSize",[9,9])),this._applyColorBlend(this.curFillColor),this.retainedMode.geometry.glyph),X=(C||((Q=this._textGeom=new u.default.Geometry(1,1,function(){for(var ge=0;ge<=1;ge++)for(var Oe=0;Oe<=1;Oe++)this.vertices.push(new u.default.Vector(Oe,ge,0)),this.uvs.push(Oe,ge)})).computeFaces().computeNormals(),C=this.createBuffers("glyph",Q)),!0),S=!1,Q=void 0;try{for(var L,W=this.retainedMode.buffers.text[Symbol.iterator]();!(X=(L=W.next()).done);X=!0)L.value._prepareBuffer(C,U)}catch(ge){S=!0,Q=ge}finally{try{X||W.return==null||W.return()}finally{if(S)throw Q}}this._bindBuffer(C.indexBuffer,k.ELEMENT_ARRAY_BUFFER),U.setUniform("uMaterialColor",this.curFillColor),k.pixelStorei(k.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!1);try{var G=0,z=null,B=E.stringToGlyphs(w),q=!0,ee=!1,ue=void 0;try{for(var T,D=B[Symbol.iterator]();!(q=(T=D.next()).done);q=!0){var V,Y,re=T.value,ie=(z&&(G+=E.getKerningValue(z,re)),$.getGlyphInfo(re));ie.uGlyphRect&&(V=ie.rowInfo,Y=ie.colInfo,U.setUniform("uSamplerStrokes",ie.strokeImageInfo.imageData),U.setUniform("uSamplerRowStrokes",V.cellImageInfo.imageData),U.setUniform("uSamplerRows",V.dimImageInfo.imageData),U.setUniform("uSamplerColStrokes",Y.cellImageInfo.imageData),U.setUniform("uSamplerCols",Y.dimImageInfo.imageData),U.setUniform("uGridOffset",ie.uGridOffset),U.setUniform("uGlyphRect",ie.uGlyphRect),U.setUniform("uGlyphOffset",G),U.bindTextures(),k.drawElements(k.TRIANGLES,6,this.GL.UNSIGNED_SHORT,0)),G+=re.advanceWidth,z=re}}catch(ge){ee=!0,ue=ge}finally{try{q||D.return==null||D.return()}finally{if(ee)throw ue}}}finally{U.unbindShader(),this._doStroke=P,this.drawMode=j,k.pixelStorei(k.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0),b.pop()}}else console.log("WEBGL: only Opentype (.otf) and Truetype (.ttf) fonts are supported");return b}}else console.log("WEBGL: you must load and set a font before drawing text. See `loadFont` and `textFont` for more details.")}},{"../core/constants":269,"../core/main":280,"./p5.RendererGL.Retained":336,"./p5.Shader":338,"core-js/modules/es.array.iterator":164,"core-js/modules/es.object.get-own-property-descriptor":183,"core-js/modules/es.object.to-string":187,"core-js/modules/es.regexp.exec":192,"core-js/modules/es.string.iterator":197,"core-js/modules/es.string.split":203,"core-js/modules/es.string.sub":205,"core-js/modules/es.symbol":209,"core-js/modules/es.symbol.description":207,"core-js/modules/es.symbol.iterator":208,"core-js/modules/es.weak-map":241,"core-js/modules/web.dom-collections.iterator":243}]},{},[264])(264)})})(C2);var KU=C2.exports;const K1=Bm(KU);var JU=Object.defineProperty,eD=(i,t,n)=>t in i?JU(i,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):i[t]=n,ji=(i,t,n)=>(eD(i,typeof t!="symbol"?t+"":t,n),n),rg=(i,t,n)=>{if(!t.has(i))throw TypeError("Cannot "+n)},Me=(i,t,n)=>(rg(i,t,"read from private field"),n?n.call(i):t.get(i)),Ft=(i,t,n)=>{if(t.has(i))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(i):t.set(i,n)},yt=(i,t,n,r)=>(rg(i,t,"write to private field"),t.set(i,n),n),nn=(i,t,n)=>(rg(i,t,"access private method"),n);class tD{constructor(...t){throw new Error("ArrayTools contains static methods only and is not meant to be constructed")}static zip(t,n){if(t.length!==n.length)throw new Error("Unequal array lengths");return t.map((r,s)=>[r,n[s]])}static unzip(t){return t.reduce((n,[r,s])=>(n[0].push(r),n[1].push(s),n),[[],[]])}static zip3(t,n,r){if(t.length!==n.length||t.length!==r.length)throw new Error("Unequal array lengths");return t.map((s,o)=>[s,n[o],r[o]])}static unzip3(t){return t.reduce((n,[r,s,o])=>(n[0].push(r),n[1].push(s),n[2].push(o),n),[[],[],[]])}}const rD={algorithm:"SHA-1"},nD=new Set(["SHA-1","SHA-256","SHA-384","SHA-512"]);async function ph(i,t={}){if(typeof i>"u"||i===null)throw new Error("Object argument required");const{algorithm:n}={...rD,...t};if(!nD.has(n.toUpperCase()))throw new Error(`Invalid algorithm ${n}`);const r=new M2;return A2({},r).dispatch(i),typeof window>"u"?Array.from(new Uint8Array(await require("crypto").webcrypto.subtle.digest(n,new TextEncoder().encode(r.read())))).map(s=>s.toString(16)).join(""):Array.from(new Uint8Array(await crypto.subtle.digest("SHA-1",new TextEncoder().encode(r.read())))).map(s=>s.toString(16)).join("")}function A2(i={},t,n=[]){const r=s=>t.update?t.update(s,"utf8"):t.write(s,"utf8");return{dispatch:function(s){return this["_"+(s===null?"null":typeof s)](s)},_object:function(s){const o=/\[object (.*)\]/i,a=Object.prototype.toString.call(s),l=o.exec(a),c=(l?l[1]:"unknown:["+a+"]").toLowerCase();let u=null;if((u=n.indexOf(s))>=0)return this.dispatch("[CIRCULAR:"+u+"]");if(n.push(s),c!=="object"&&c!=="function"&&c!=="asyncfunction")if(this["_"+c])this["_"+c](s);else throw new Error('Unknown object type "'+c+'"');else{var h=Object.keys(s);h=h.sort(),h.splice(0,0,"prototype","__proto__","constructor"),r("object:"+h.length+":");const p=this;return h.forEach(function(f){p.dispatch(f),r(":"),p.dispatch(s[f]),r(",")})}},_array:function(s,o=!1){const a=this;if(r("array:"+s.length+":"),!o||s.length<=1)return s.forEach(u=>a.dispatch(u));let l=[];const c=s.map(u=>{const h=new M2,p=n.slice();return A2(i,h,p).dispatch(u),l=l.concat(p.slice(n.length)),h.read().toString()});return n=n.concat(l),c.sort(),this._array(c,!1)},_date:function(s){return r("date:"+s.toJSON())},_symbol:function(s){return r("symbol:"+s.toString())},_error:function(s){return r("error:"+s.toString())},_boolean:function(s){return r("bool:"+s.toString())},_string:function(s){r("string:"+s.length+":"),r(s.toString())},_function:function(s){r("fn:"),this.dispatch(s.toString())},_number:function(s){return r("number:"+s.toString())},_xml:function(s){return r("xml:"+s.toString())},_null:function(){return r("Null")},_undefined:function(){return r("Undefined")},_regexp:function(s){return r("regex:"+s.toString())},_uint8array:function(s){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(s))},_uint8clampedarray:function(s){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(s))},_int8array:function(s){return r("int8array:"),this.dispatch(Array.prototype.slice.call(s))},_uint16array:function(s){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(s))},_int16array:function(s){return r("int16array:"),this.dispatch(Array.prototype.slice.call(s))},_uint32array:function(s){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(s))},_int32array:function(s){return r("int32array:"),this.dispatch(Array.prototype.slice.call(s))},_float32array:function(s){return r("float32array:"),this.dispatch(Array.prototype.slice.call(s))},_float64array:function(s){return r("float64array:"),this.dispatch(Array.prototype.slice.call(s))},_arraybuffer:function(s){return r("arraybuffer:"),this.dispatch(new Uint8Array(s))},_url:function(s){return r("url:"+s.toString())},_map:function(s){r("map:");var o=Array.from(s);return this._array(o,i.unorderedSets!==!1)},_set:function(s){r("set:");var o=Array.from(s);return this._array(o,i.unorderedSets!==!1)},_file:function(s){return r("file:"),this.dispatch([s.name,s.size,s.type,s.lastModified])},_blob:function(){throw Error("Hashing Blob objects is currently not supported.")},_domwindow:function(){return r("domwindow")},_bigint:function(s){return r("bigint:"+s.toString())},_process:function(){return r("process")},_timer:function(){return r("timer")},_pipe:function(){return r("pipe")},_tcp:function(){return r("tcp")},_udp:function(){return r("udp")},_tty:function(){return r("tty")},_statwatcher:function(){return r("statwatcher")},_securecontext:function(){return r("securecontext")},_connection:function(){return r("connection")},_zlib:function(){return r("zlib")},_context:function(){return r("context")},_nodescript:function(){return r("nodescript")},_httpparser:function(){return r("httpparser")},_dataview:function(){return r("dataview")},_signal:function(){return r("signal")},_fsevent:function(){return r("fsevent")},_tlswrap:function(){return r("tlswrap")}}}class M2{constructor(){ji(this,"buf","")}write(t){this.buf+=t}end(t){this.buf+=t}read(){return this.buf}}var Oc,gc,wf,Mh,Xm;const iD=class $2{constructor({size:t=16**5,hashFunctions:n=$2.DEFAULT_HASH_FUNCTIONS}={}){Ft(this,Mh),Ft(this,Oc,void 0),Ft(this,gc,void 0),Ft(this,wf,void 0),yt(this,Oc,t),yt(this,gc,new Array(t)),yt(this,wf,n)}async add(t){const n=await nn(this,Mh,Xm).call(this,t);for(const r of n){const s=parseInt(r.substring(0,8),16)%Me(this,Oc);Me(this,gc)[s]=!0}}async test(t){const n=await nn(this,Mh,Xm).call(this,t);for(const r of n){const s=parseInt(r.substring(0,8),16)%Me(this,Oc);if(Me(this,gc)[s])return!0}return!1}};Oc=new WeakMap,gc=new WeakMap,wf=new WeakMap,Mh=new WeakSet,Xm=async function(i){return Promise.all(Me(this,wf).map(t=>t(i)))},ji(iD,"DEFAULT_HASH_FUNCTIONS",[i=>ph(i,{algorithm:"SHA-1"}),i=>ph(i,{algorithm:"SHA-256"}),i=>ph(i,{algorithm:"SHA-384"}),i=>ph(i,{algorithm:"SHA-512"})]);var eo;const sD=class $h{constructor(t){Ft(this,eo,void 0),yt(this,eo,t??$h.lexicalCompare)}static lexicalCompare(t,n){return t===n?0:t>n?1:-1}static reverseLexicalCompare(t,n){return $h.lexicalCompare(t,n)*-1}static numericCompare(t,n){return Number(t)-Number(n)}static reverseNumericCompare(t,n){return $h.numericCompare(t,n)*-1}eq(t,n){return Me(this,eo).call(this,t,n)===0}gt(t,n){return Me(this,eo).call(this,t,n)<0}gte(t,n){return Me(this,eo).call(this,t,n)<=0}lt(t,n){return Me(this,eo).call(this,t,n)>0}lte(t,n){return Me(this,eo).call(this,t,n)>=0}};eo=new WeakMap;let oD=sD;function aD(i,...t){try{return new new Proxy(i,{construct(){return{}}})(...t??[]),!0}catch{return!1}}function J1(i,t,n){if(i>t)throw new RangeError("Minimum must be less than maximum")}function wu(...i){if(i.some(t=>!Number.isInteger(t)))throw new RangeError("Arguments must be integers")}function I2(...i){if(i.some(t=>t<0||!Number.isInteger(t)))throw new RangeError("Arguments must be natural numbers")}function ev(...i){if(i.some(t=>t<1||!Number.isInteger(t)))throw new RangeError("Arguments must be counting numbers")}const lD=255,cD=65535,fo=-1>>>0,uD=127,hD=-uD-1,fD=32767,dD=-fD-1,X2=(fo+1)/2-1,pD=-X2-1;var vs,Gi,to,jc,Ih;const mD=class yc{constructor(t){Ft(this,vs,void 0),Ft(this,Gi,void 0),Ft(this,to,void 0);var n;const{from:r,to:s,step:o}=nn(n=yc,jc,Ih).call(n,t);yt(this,vs,r),yt(this,Gi,s),yt(this,to,o)}*[Symbol.iterator](){for(let t=Me(this,vs);Me(this,vs)=Me(this,Gi);t+=Me(this,to))yield t}contains(t){const n=Me(this,to)>0?Me(this,vs):Me(this,Gi),r=Me(this,to)>0?Me(this,Gi):Me(this,vs);if(t instanceof yc){const s=Me(t,to)>0?Me(t,vs):Me(t,Gi),o=Me(t,to)>0?Me(t,Gi):Me(t,vs);return n<=s&&r>=o}return t>=n&&t<=r}static of(t,n){var r;const{from:s,to:o,step:a,produce:l}=nn(r=yc,jc,Ih).call(r,t,n),c=[];for(let u=s,h=0;s=o;u+=a,h++)c.push(l(u,h));return c}static*lazy(t,n){var r;const{from:s,to:o,step:a,produce:l}=nn(r=yc,jc,Ih).call(r,t,n);for(let c=s,u=0;s=o;c+=a,u++)yield l(c,u)}};vs=new WeakMap,Gi=new WeakMap,to=new WeakMap,jc=new WeakSet,Ih=function(i,t){let{from:n=0,to:r=0,step:s=1}=typeof i=="object"?i:{to:i-Math.sign(i)};if(n===r)throw new Error("Range must be nonzero in size");if(s<=0)throw new Error("Step size must be positive, as its sign is inferred from the range");n>r&&(s*=-1);const o=t?aD(t,n,0)?(a,l)=>new t(a,l):(a,l)=>t(a,l):a=>a;return{from:n,to:r,step:s,produce:o}},Ft(mD,jc);function ic(i,t,n){return Math.min(Math.max(n,i),t)}function U2(i,t,n){return i+(t-i)*n}function Jo(i,t,n){if(0>n||n>1)throw new RangeError("Value must be between 0 and 1 inclusive");return U2(i,t,n)}function tv(i){if(I2(i),i<=2)return i;let t=i,n=i;for(;n>1;)n--,t=t*n;return t}function mh(i){wu(i);let t=0,n=i;for(;n!==0&&!(n&1);)n>>=1,t+=1;return t}function D2(i,t){wu(i,t);let n=Math.abs(i);if(t===0)return n;let r=Math.abs(t);if(n===0)return r;let s=mh(r|n);for(r>>=mh(r),n>>=mh(n);r!==n;){if(r>=mh(r)}return r<=.5}natural(t=fo-1){return I2(t),Math.floor(Jo(0,t+1,Me(this,jn).call(this)))}counting(t=fo-1){return ev(t),Math.floor(Jo(1,t+1,Me(this,jn).call(this)))}u8(){return Math.floor(Jo(0,lD+1,Me(this,jn).call(this)))}u16(){return Math.floor(Jo(0,cD+1,Me(this,jn).call(this)))}u32(){return Math.floor(Jo(0,fo+1,Me(this,jn).call(this)))}i8(){return this.u8()+hD}i16(){return this.u16()+dD}i32(){return this.u32()+pD}integer({min:t=0,max:n=fo}={max:fo}){return wu(t,n),J1(t,n),Math.floor(Jo(t,n+1,Me(this,jn).call(this)))}float({min:t,max:n}={}){if(t===void 0&&n===void 0||t===0&&n===1)return Me(this,jn).call(this);const r=t??0,s=n??X2;return J1(r,s),Jo(r,s,Me(this,jn).call(this))}dice(t){return this.integer({min:1,max:t})}unitVector(t=2){ev(t);const n=Me(this,jn).call(this)*2*Math.PI;if(t===1)return[1];if(t===2)return[Math.cos(n),Math.sin(n)];if(t===3){const o=Math.acos(1-2*Me(this,jn).call(this));return[Math.cos(n)*Math.sin(o),Math.sin(n)*Math.sin(o),Math.cos(o)]}const r=Array(t).fill(null).map(()=>this.float({min:-1,max:1})),s=Math.sqrt(r.reduce((o,a)=>o+a**2,0));return r.map(o=>o/s)}sample(t){const n=t instanceof Set?[...t]:t;if(n.length===0)return;const r=this.natural(n.length-1);return n[r]}take(t){const n=t instanceof Set?[...t]:t;if(n.length===0)return;const r=this.natural(n.length-1),s=n[r];return t instanceof Set?t.delete(s):t.splice(r,1),s}permute(t){for(let n=0;n=2;){if(!n[r-1]){let o=0;do o=this.integer({min:1,max:r-1});while(n[o-1]);const a=t[o-1];t[o-1]=t[r-1],t[r-1]=a,Me(this,jn).call(this)<(s-1)*this.derangementsOf(s-2)/this.derangementsOf(s)&&(n[o-1]=!0,s--),s--}r--}}derangement(t){const n=[...t];return this.derange(n),n}derangementsOf(t){let n=t instanceof Set?t.size:Array.isArray(t)?t.length:t;return Math.floor((tv(n)+1)/Math.E)}}jn=new WeakMap;var Zi;class rv extends Ml{constructor(t){super(()=>{yt(this,Zi,Me(this,Zi)|0),yt(this,Zi,Me(this,Zi)+1831565813|0);let n=Math.imul(Me(this,Zi)^Me(this,Zi)>>>15,1|Me(this,Zi));return n=n+Math.imul(n^n>>>7,61|n)^n,((n^n>>>14)>>>0)/4294967296}),Ft(this,Zi,void 0),yt(this,Zi,t)}}Zi=new WeakMap;var ra,bs,li,ro;class gD extends Ml{constructor(t,n,r,s){super(()=>{yt(this,ra,Me(this,ra)|0),yt(this,bs,Me(this,bs)|0),yt(this,li,Me(this,li)|0),yt(this,ro,Me(this,ro)|0);const o=(Me(this,ra)+Me(this,bs)|0)+Me(this,ro)|0;return yt(this,ro,Me(this,ro)+1|0),yt(this,ra,Me(this,bs)^Me(this,bs)>>>9),yt(this,bs,Me(this,li)+(Me(this,li)<<3)|0),yt(this,li,Me(this,li)<<21|Me(this,li)>>>11),yt(this,li,Me(this,li)+o|0),(o>>>0)/4294967296}),Ft(this,ra,void 0),Ft(this,bs,void 0),Ft(this,li,void 0),Ft(this,ro,void 0),yt(this,ra,t),yt(this,bs,n),yt(this,li,r),yt(this,ro,s)}}ra=new WeakMap,bs=new WeakMap,li=new WeakMap,ro=new WeakMap;var ws;class yD extends Ml{constructor(t){super(()=>{yt(this,ws,Me(this,ws)|0),yt(this,ws,Me(this,ws)+2654435769|0);let n=Me(this,ws)^Me(this,ws)>>>16;return n=Math.imul(n,569420461),n=n^n>>>15,n=Math.imul(n,1935289751),((n=n^n>>>15)>>>0)/4294967296}),Ft(this,ws,void 0),yt(this,ws,t)}}ws=new WeakMap;var no,xs,io,Ss;class vD extends Ml{constructor(t,n,r,s){super(()=>{yt(this,no,Me(this,no)|0),yt(this,xs,Me(this,xs)|0),yt(this,io,Me(this,io)|0),yt(this,Ss,Me(this,Ss)|0);let o=Me(this,no)-(Me(this,xs)<<27|Me(this,xs)>>>5)|0;return yt(this,no,Me(this,xs)^(Me(this,io)<<17|r>>>15)),yt(this,xs,Me(this,io)+Me(this,Ss)|0),yt(this,io,Me(this,Ss)+o|0),yt(this,Ss,Me(this,no)+o|0),(Me(this,Ss)>>>0)/4294967296}),Ft(this,no,void 0),Ft(this,xs,void 0),Ft(this,io,void 0),Ft(this,Ss,void 0),yt(this,no,t),yt(this,xs,n),yt(this,io,r),yt(this,Ss,s)}}no=new WeakMap,xs=new WeakMap,io=new WeakMap,Ss=new WeakMap;var En,In,mn,so;class bD extends Ml{constructor(t,n,r,s){super(()=>(yt(this,En,Me(this,En)|0),yt(this,In,Me(this,In)|0),yt(this,mn,Me(this,mn)|0),yt(this,so,Me(this,so)|0),yt(this,En,Me(this,En)<<16|Me(this,En)>>>16),yt(this,In,Me(this,In)+Me(this,mn)|0),yt(this,En,Me(this,En)+Me(this,In)|0),yt(this,mn,Me(this,mn)^Me(this,In)),yt(this,mn,Me(this,mn)<<11|Me(this,mn)>>>21),yt(this,In,Me(this,In)^Me(this,En)),yt(this,En,Me(this,En)+Me(this,mn)|0),yt(this,In,Me(this,mn)<<19|Me(this,mn)>>>13),yt(this,mn,Me(this,mn)+Me(this,En)|0),yt(this,so,Me(this,so)+38565|0),yt(this,In,Me(this,In)+Me(this,so)|0),(Me(this,En)>>>0)/4294967296)),Ft(this,En,void 0),Ft(this,In,void 0),Ft(this,mn,void 0),Ft(this,so,void 0),yt(this,En,t),yt(this,In,n),yt(this,mn,r),yt(this,so,s)}}En=new WeakMap,In=new WeakMap,mn=new WeakMap,so=new WeakMap;var Ar;const oo=class Dr{constructor(...t){throw new Error("Random contains static methods only and is not meant to be constructed")}static bool(){return Me(Dr,Ar).bool()}static natural(t=fo){return Me(Dr,Ar).natural(t)}static counting(t=fo){return Me(Dr,Ar).counting(t)}static u8(){return Me(Dr,Ar).u8()}static u16(){return Me(Dr,Ar).u16()}static u32(){return Me(Dr,Ar).u32()}static i8(){return Me(Dr,Ar).i8()}static i16(){return Me(Dr,Ar).i16()}static i32(){return Me(Dr,Ar).i32()}static integer(t){return Me(Dr,Ar).integer(t)}static float(t){return Me(Dr,Ar).float(t)}static dice(t){return Me(Dr,Ar).dice(t)}static unitVector(t=2){return Me(Dr,Ar).unitVector(t)}static sample(t){return Me(Dr,Ar).sample(t)}static take(t){return Me(Dr,Ar).take(t)}static permute(t){return Me(Dr,Ar).permute(t)}static permutation(t){return Me(Dr,Ar).permutation(t)}static permutationsOf(t){return Me(Dr,Ar).permutationsOf(t)}static derange(t){return Me(Dr,Ar).derange(t)}static derangement(t){return Me(Dr,Ar).derangement(t)}static derangementsOf(t){return Me(Dr,Ar).derangementsOf(t)}};Ar=new WeakMap,Ft(oo,Ar,new Ml(Math.random)),ji(oo,"Seedable",rv),ji(oo,"SFC32",gD),ji(oo,"JSF32B",vD),ji(oo,"SplitMix32",yD),ji(oo,"Mulberry32",rv),ji(oo,"GJRand32",bD);let wD=oo;function xD(i){return(i+1)/2}function SD(i,{freq:t=1,set:n}={}){return"ImageData"in globalThis&&i instanceof ImageData?{width:i.width,height:i.height,freq:t,typedArray:i.data,setCell:n??(({x:r,y:s,v:o})=>{const a=(r+s*i.width)*4;i.data[a]=i.data[a+1]=i.data[a+2]=o,i.data[a+3]=255})}:Array.isArray(i)?{width:i[0].length,height:i.length,freq:t,setCell:n??(({x:r,y:s,v:o})=>{i[s][r]=o})}:{width:i.width,height:i.data.length/i.width/i.stride,freq:t,typedArray:i.data,setCell:n??(({x:r,y:s,v:o})=>{const a=(r+s*i.width)*i.stride;i.data[a]=i.data[a+1]=i.data[a+2]=o,i.data[a+3]=255})}}class ai{constructor(t,n,r){ji(this,"x"),ji(this,"y"),ji(this,"z"),this.x=t,this.y=n,this.z=r}dot2(t,n){return this.x*t+this.y*n}dot3(t,n,r){return this.x*t+this.y*n+this.z*r}}const nv=[151,160,137,91,90,15,131,13,201,95,96,53,194,233,7,225,140,36,103,30,69,142,8,99,37,240,21,10,23,190,6,148,247,120,234,75,0,26,197,62,94,252,219,203,117,35,11,32,57,177,33,88,237,149,56,87,174,20,125,136,171,168,68,175,74,165,71,134,139,48,27,166,77,146,158,231,83,111,229,122,60,211,133,230,220,105,92,41,55,46,245,40,244,102,143,54,65,25,63,161,1,216,80,73,209,76,132,187,208,89,18,169,200,196,135,130,116,188,159,86,164,100,109,198,173,186,3,64,52,217,226,250,124,123,5,202,38,147,118,126,255,82,85,212,207,206,59,227,47,16,58,17,182,189,28,42,223,183,170,213,119,248,152,2,44,154,163,70,221,153,101,155,167,43,172,9,129,22,39,253,19,98,108,110,79,113,224,232,178,185,112,104,218,246,97,228,251,34,242,193,238,210,144,12,191,179,162,241,81,51,145,235,249,14,239,107,49,192,214,31,181,199,106,157,184,84,204,176,115,121,50,45,127,4,150,254,138,236,205,93,222,114,67,29,24,72,243,141,128,195,78,66,215,61,156,180],PD=[new ai(1,1,0),new ai(-1,1,0),new ai(1,-1,0),new ai(-1,-1,0),new ai(1,0,1),new ai(-1,0,1),new ai(1,0,-1),new ai(-1,0,-1),new ai(0,1,1),new ai(0,-1,1),new ai(0,1,-1),new ai(0,-1,-1)];var On,ci,Um,oa,Dm,ui;const Oh=class ln{constructor(t){Ft(this,On,void 0),Ft(this,ci,void 0),yt(this,On,new Array(512)),yt(this,ci,new Array(512)),this.seed((t||wD).float())}seed(t){t>0&&t<1&&(t*=65536),t=Math.floor(t),t<256&&(t|=t<<8);for(let n=0;n<256;n++){let r;n&1?r=nv[n]^t&255:r=nv[n]^t>>8&255,Me(this,On)[n]=Me(this,On)[n+256]=r,Me(this,ci)[n]=Me(this,ci)[n+256]=PD[r%12]}return this}xy(t,n){let r,s,o;const a=(t+n)*Me(ln,Um);let l=Math.floor(t+a),c=Math.floor(n+a);const u=(l+c)*Me(ln,oa),h=t-l+u,p=n-c+u;let f,d;h>p?(f=1,d=0):(f=0,d=1);const m=h-f+Me(ln,oa),O=p-d+Me(ln,oa),y=h-1+2*Me(ln,oa),g=p-1+2*Me(ln,oa);l&=255,c&=255;const v=Me(this,ci)[l+Me(this,On)[c]],b=Me(this,ci)[l+f+Me(this,On)[c+d]],w=Me(this,ci)[l+1+Me(this,On)[c+1]];let S=.5-h*h-p*p;S<0?r=0:(S*=S,r=S*S*v.dot2(h,p));let Q=.5-m*m-O*O;Q<0?s=0:(Q*=Q,s=Q*Q*b.dot2(m,O));let P=.5-y*y-g*g;return P<0?o=0:(P*=P,o=P*P*w.dot2(y,g)),70*(r+s+o)}xyz(t,n,r){let s,o,a,l;const c=(t+n+r)*Me(ln,Dm);let u=Math.floor(t+c),h=Math.floor(n+c),p=Math.floor(r+c);const f=(u+h+p)*Me(ln,ui),d=t-u+f,m=n-h+f,O=r-p+f;let y,g,v,b,w,S;d>=m?m>=O?(y=1,g=0,v=0,b=1,w=1,S=0):d>=O?(y=1,g=0,v=0,b=1,w=0,S=1):(y=0,g=0,v=1,b=1,w=0,S=1):ms}gte(...t){const n=Or.from(...t),{numerator:r,otherNumerator:s}=nn(this,ao,na).call(this,n);return r>=s}lt(...t){const n=Or.from(...t),{numerator:r,otherNumerator:s}=nn(this,ao,na).call(this,n);return rn+r,0)/t.length;{let n=t[0];for(let r=1;rn[s]);return Cr.mean(r)}static mode(t){if(t.length===0)return;const n=nn(this,aa,Va).call(this,t),r=new Map;for(let o of n)if(typeof o=="number")r.has(o)?r.set(o,r.get(o)+1):r.set(o,1);else throw new Error("NOT IMPLEMENTED");const s=Math.max(...r.values());if(s!==1)return Array.from(r.entries()).filter(o=>o[1]===s).map(o=>o[0])}static variance(t){const n=Cr.mean(t);if(n===void 0)return;const r=typeof n=="number"?t.map(s=>Math.pow(s-n,2)):t.map(s=>{const o=s.sub(n);return o.mul(o)});return Cr.mean(r)}static sd(t){const n=Cr.variance(t);if(n)return typeof n=="number"?Math.sqrt(n):n.pow(1/2)}static sem(t){const n=Cr.sd(t);if(n!==void 0)return typeof n=="number"?n/Math.sqrt(t.length):n.div(Math.sqrt(t.length))}static range(t){if(t.length===0)return;const[n,r]=[Cr.min(t),Cr.max(t)];if(!(n===void 0||r===void 0))return typeof n=="number"&&typeof r=="number"?r-n:r.sub(n)}static iqr(t,n){const r=Cr.summary(t,n);if(r!==void 0)return typeof r.q1=="number"&&typeof r.q3=="number"?r.q3-r.q1:r.q3.sub(r.q1)}static mad(t){const n=Cr.median(t),r=t.map(s=>typeof s=="number"?Math.abs(n-s):n.sub(s).abs());return Cr.median(r)}static percentiles(t,n={p:iv}){var r;if(t.length===0)return;const{p:s,method:o="midpoint"}=Array.isArray(n)?{p:n}:n;if(s.length===0)return;if(s.some(l=>l>1||l<0))throw new Error(`Invalid percentiles ${s}`);const a=nn(r=Cr,aa,Va).call(r,t);switch(o){case"midpoint":return s.map(l=>{const c=l*(a.length-1);return Number.isInteger(c)?a[c]:Cr.mean([a[Math.floor(c)],a[Math.ceil(c)]])});case"outer":return s.map(l=>{const c=l*(a.length-1);if(Number.isInteger(c))return a[c];{if(l===.5)return Cr.mean([a[Math.floor(c)],a[Math.ceil(c)]]);const u=l>.5?Math.ceil(c):Math.floor(c);return a[u]}});case"hrank":return s.map(l=>{const c=l*(a.length-1);return Number.isInteger(c)?a[c]:a[Math.ceil(c)]});case"lrank":return s.map(l=>{const c=l*(a.length-1);return Number.isInteger(c)?a[c]:a[Math.floor(c)]});case"nearest":return s.map(l=>{const c=l*(a.length-1);return Number.isInteger(c)?a[c]:a[Math.round(c)]});case"weighted":return s.map(l=>{const c=l*(a.length-1);if(Number.isInteger(c))return a[c];{const u=Math.trunc(c),h=c%1,p=a[u];return typeof p=="number"?p+h*(a[u+1]-p):p.add(a[u+1].sub(p).mul(h))}});default:throw new Error(`Unrecognized interpolation method ${o}`)}}static summary(t,n){if(t.length===0)return;const r=Cr.percentiles(t,{...n,p:iv});if(r!==void 0)return{q0:r[0],q1:r[1],q2:r[2],q3:r[3],q4:r[4]}}static covariance(t){const n=t.length;if(n<2)return;const r=new Array(n),s=new Array(n);for(let h=0;htypeof h=="number"?h-o:h.sub(o)),c=s.map(h=>typeof h=="number"?h-a:h.sub(a)),u=l.reduce((h,p,f)=>{const d=c[f],m=typeof d=="number"?d*p:d.mul(p);return typeof m=="number"?m+h:m.add(h)},0);return typeof u=="number"?u/(n-1):u.div(n-1)}static pcc(t,n="sample"){if(n==="population"){const r=Cr.covariance(t);if(r===void 0)return;const[s,o]=tD.unzip(t).map(Cr.sd);return s===void 0||o===void 0?void 0:typeof r=="number"?r/(+s*+o):r.div(s.mul(o))}else{const r=t.length;if(r<2)return;const s=new Array(r),o=new Array(r);for(let c=0;cf-a),u=c.reduce((f,d)=>d**2+f,0),h=o.map(f=>f-l),p=h.reduce((f,d)=>d**2+f,0);return c.reduce((f,d,m)=>{const O=h[m];return f+O*d},0)/(Math.sqrt(u)*Math.sqrt(p))}else if(typeof a!="number"&&typeof l!="number"){const c=s.map(f=>f.sub(a)),u=c.reduce((f,d)=>d.pow(2).add(f),0),h=o.map(f=>f.sub(l)),p=h.reduce((f,d)=>d.pow(2).add(f),0);return c.reduce((f,d,m)=>h[m].mul(d).add(f),0).div(u.pow(1/2).mul(p.pow(1/2)))}else throw new Error("Unreachable!")}}};aa=new WeakSet,Va=function(i){const t=[...i];return t.sort(oD.numericCompare),t},Ft(TD,aa);var QD=Xi("");const sv=22,kD=12,sp=120,ys=12,ov=16,Qe=80,ke=22,jD=50;function ED(){let i,t,n,r,s,o=[],a,l=0,c=!1;function u(O){O.preload=()=>{t=O.loadFont("assets/dm.otf"),O.createAudio("assets/2.mp3"),O.createAudio("assets/5.mp3"),O.createAudio("assets/6.mp3")},O.setup=()=>{n=O.createCanvas(880,600,O.P2D,i),r=new p(O),s=new f(O),a=new m(O),O.textFont(t),O.background(Je.carbon),O.fill(Je.pumpkin),O.noStroke(),h(O),n.mouseClicked(()=>(c=!0,s.reset(),!1)),n.touchStarted(()=>(c=!0,!1)),window.addEventListener("keypress",y=>{if(y.key===" ")return c=!0,s.reset(),!1}),i.addEventListener("contextmenu",y=>{y.preventDefault(),c=!1,s.reset(),h(O)})},O.draw=()=>{O.background(Je.carbon),r.show(),r.move(),s.show(),c&&(s.move(),s.checkEdges(),s.checkPaddle(r)),O.strokeWeight(4),O.stroke(Je.carbon);for(let y of o)y.show();O.noStroke(),s.checkBricks(o),a.show()}}function h(O){l=0,o=[new d(O,2*Qe,0*ke,Qe,ke).color(Je.smoke),new d(O,2*Qe,1*ke,Qe,ke).color(Je.smoke),new d(O,3*Qe,2*ke,Qe,ke).color(Je.smoke),new d(O,3*Qe,3*ke,Qe,ke).color(Je.smoke),new d(O,8*Qe,0*ke,Qe,ke).color(Je.smoke),new d(O,8*Qe,1*ke,Qe,ke).color(Je.smoke),new d(O,7*Qe,2*ke,Qe,ke).color(Je.smoke),new d(O,7*Qe,3*ke,Qe,ke).color(Je.smoke),new d(O,3*Qe,6*ke,Qe,ke).color(Je.smoke),new d(O,3*Qe,7*ke,Qe,ke).color(Je.smoke),new d(O,7*Qe,6*ke,Qe,ke).color(Je.smoke),new d(O,7*Qe,7*ke,Qe,ke).color(Je.smoke),new d(O,2*Qe,4*ke,Qe,ke).color(Je.ash),new d(O,3*Qe,4*ke,Qe,ke).color(Je.ash),new d(O,4*Qe,4*ke,Qe,ke).color(Je.ash),new d(O,5*Qe,4*ke,Qe,ke).color(Je.ash),new d(O,6*Qe,4*ke,Qe,ke).color(Je.ash),new d(O,7*Qe,4*ke,Qe,ke).color(Je.ash),new d(O,8*Qe,4*ke,Qe,ke).color(Je.ash),new d(O,2*Qe,5*ke,Qe,ke).color(Je.ash),new d(O,3*Qe,5*ke,Qe,ke).color(Je.ash),new d(O,4*Qe,5*ke,Qe,ke).color(Je.ash),new d(O,5*Qe,5*ke,Qe,ke).color(Je.ash),new d(O,6*Qe,5*ke,Qe,ke).color(Je.ash),new d(O,7*Qe,5*ke,Qe,ke).color(Je.ash),new d(O,8*Qe,5*ke,Qe,ke).color(Je.ash),new d(O,1*Qe,6*ke,Qe,ke).color(Je.ash),new d(O,2*Qe,6*ke,Qe,ke).color(Je.ash),new d(O,4*Qe,6*ke,Qe,ke).color(Je.ash),new d(O,5*Qe,6*ke,Qe,ke).color(Je.ash),new d(O,6*Qe,6*ke,Qe,ke).color(Je.ash),new d(O,8*Qe,6*ke,Qe,ke).color(Je.ash),new d(O,9*Qe,6*ke,Qe,ke).color(Je.ash),new d(O,1*Qe,7*ke,Qe,ke).color(Je.ash),new d(O,2*Qe,7*ke,Qe,ke).color(Je.ash),new d(O,4*Qe,7*ke,Qe,ke).color(Je.ash),new d(O,5*Qe,7*ke,Qe,ke).color(Je.ash),new d(O,6*Qe,7*ke,Qe,ke).color(Je.ash),new d(O,8*Qe,7*ke,Qe,ke).color(Je.ash),new d(O,9*Qe,7*ke,Qe,ke).color(Je.ash),new d(O,0*Qe,8*ke,Qe,ke).color(Je.ash),new d(O,1*Qe,8*ke,Qe,ke).color(Je.ash),new d(O,2*Qe,8*ke,Qe,ke).color(Je.ash),new d(O,3*Qe,8*ke,Qe,ke).color(Je.ash),new d(O,4*Qe,8*ke,Qe,ke).color(Je.ash),new d(O,5*Qe,8*ke,Qe,ke).color(Je.ash),new d(O,6*Qe,8*ke,Qe,ke).color(Je.ash),new d(O,7*Qe,8*ke,Qe,ke).color(Je.ash),new d(O,8*Qe,8*ke,Qe,ke).color(Je.ash),new d(O,9*Qe,8*ke,Qe,ke).color(Je.ash),new d(O,10*Qe,8*ke,Qe,ke).color(Je.ash),new d(O,0*Qe,9*ke,Qe,ke).color(Je.ash),new d(O,1*Qe,9*ke,Qe,ke).color(Je.ash),new d(O,2*Qe,9*ke,Qe,ke).color(Je.ash),new d(O,3*Qe,9*ke,Qe,ke).color(Je.ash),new d(O,4*Qe,9*ke,Qe,ke).color(Je.ash),new d(O,5*Qe,9*ke,Qe,ke).color(Je.ash),new d(O,6*Qe,9*ke,Qe,ke).color(Je.ash),new d(O,7*Qe,9*ke,Qe,ke).color(Je.ash),new d(O,8*Qe,9*ke,Qe,ke).color(Je.ash),new d(O,9*Qe,9*ke,Qe,ke).color(Je.ash),new d(O,10*Qe,9*ke,Qe,ke).color(Je.ash),new d(O,0*Qe,10*ke,Qe,ke).color(Je.ash),new d(O,1*Qe,10*ke,Qe,ke).color(Je.ash),new d(O,2*Qe,10*ke,Qe,ke).color(Je.ash),new d(O,3*Qe,10*ke,Qe,ke).color(Je.ash),new d(O,4*Qe,10*ke,Qe,ke).color(Je.ash),new d(O,5*Qe,10*ke,Qe,ke).color(Je.ash),new d(O,6*Qe,10*ke,Qe,ke).color(Je.ash),new d(O,7*Qe,10*ke,Qe,ke).color(Je.ash),new d(O,8*Qe,10*ke,Qe,ke).color(Je.ash),new d(O,9*Qe,10*ke,Qe,ke).color(Je.ash),new d(O,10*Qe,10*ke,Qe,ke).color(Je.ash),new d(O,0*Qe,11*ke,Qe,ke).color(Je.ash),new d(O,1*Qe,11*ke,Qe,ke).color(Je.ash),new d(O,2*Qe,11*ke,Qe,ke).color(Je.ash),new d(O,3*Qe,11*ke,Qe,ke).color(Je.ash),new d(O,4*Qe,11*ke,Qe,ke).color(Je.ash),new d(O,5*Qe,11*ke,Qe,ke).color(Je.ash),new d(O,6*Qe,11*ke,Qe,ke).color(Je.ash),new d(O,7*Qe,11*ke,Qe,ke).color(Je.ash),new d(O,8*Qe,11*ke,Qe,ke).color(Je.ash),new d(O,9*Qe,11*ke,Qe,ke).color(Je.ash),new d(O,10*Qe,11*ke,Qe,ke).color(Je.ash),new d(O,0*Qe,12*ke,Qe,ke).color(Je.ash),new d(O,1*Qe,12*ke,Qe,ke).color(Je.ash),new d(O,2*Qe,12*ke,Qe,ke).color(Je.ash),new d(O,8*Qe,12*ke,Qe,ke).color(Je.ash),new d(O,9*Qe,12*ke,Qe,ke).color(Je.ash),new d(O,10*Qe,12*ke,Qe,ke).color(Je.ash),new d(O,0*Qe,13*ke,Qe,ke).color(Je.ash),new d(O,2*Qe,13*ke,Qe,ke).color(Je.ash),new d(O,8*Qe,13*ke,Qe,ke).color(Je.ash),new d(O,10*Qe,13*ke,Qe,ke).color(Je.ash),new d(O,3*Qe,14*ke,Qe,ke).color(Je.ash),new d(O,4*Qe,14*ke,Qe,ke).color(Je.ash),new d(O,6*Qe,14*ke,Qe,ke).color(Je.ash),new d(O,7*Qe,14*ke,Qe,ke).color(Je.ash),new d(O,3*Qe,15*ke,Qe,ke).color(Je.ash),new d(O,4*Qe,15*ke,Qe,ke).color(Je.ash),new d(O,6*Qe,15*ke,Qe,ke).color(Je.ash),new d(O,7*Qe,15*ke,Qe,ke).color(Je.ash)]}class p{constructor(y){this.p=y,this.width=sp,this.height=ys,this.x=y.width/2-this.width/2,this.y=y.height-this.height,this.isMovingLeft=!1,this.isMovingRight=!1,n.mouseMoved(g=>(this.x=ic(ys/2,y.width-this.width-ys/2,g.offsetX-sp/2),!1)),n.touchMoved(g=>(this.x=ic(ys/2,y.width-this.width-ys/2,g.offsetX-sp/2),!1))}show(){this.p.fill(Je.pumpkin),this.p.circle(this.x,this.y+this.height/2,this.height),this.p.circle(this.x+this.width,this.y+this.height/2,this.height),this.p.rect(this.x,this.y,this.width,this.height)}move(){this.p.keyIsDown(this.p.LEFT_ARROW)&&this.x>ys/2?this.x-=ov:this.p.keyIsDown(this.p.RIGHT_ARROW)&&this.xthis.p.width-this.radius)&&(this.x=ic(this.radius,this.p.width-this.radius,this.x),this.xSpeed*=-1),this.ythis.p.height&&(c=!1,this.reset())}checkPaddle(y){this.y+this.radius>y.y&&this.x>y.x&&this.x=0;v--){const b=y[v];this.x+this.radius>b.x&&this.x-this.radiusb.y&&(g||(g=!0),l+=jD,y.splice(v,1))}g&&(this.ySpeed*=-1)}}class d{constructor(y,g,v,b,w){this.c=Je.ash,this.p=y,this.x=g,this.y=v,this.w=b,this.h=w}color(y){return this.c=y,this}show(){this.p.fill(this.c.toString()),this.p.rect(this.x,this.y,this.w,this.h)}}class m{constructor(y){this.p=y}show(){this.p.fill(Je.pumpkin),this.p.textSize(32),this.p.textAlign(this.p.CENTER,this.p.CENTER),o.length===0?this.p.text("<>",this.p.width/2,this.p.height*(2/3)):this.p.text("~~DEPARKANOID~~",this.p.width/2,this.p.height*(2/3)),this.p.fill(Je.cement),this.p.textSize(16),this.p.textAlign(this.p.LEFT,this.p.TOP),this.p.text(`SCORE ${l}`,0,0)}}return cs(()=>new K1(u)),(()=>{var O=QD(),y=i;return typeof y=="function"?Ha(y,O):i=O,O})()}var RD=Xi("
");function CD(){return[Qt(FP,{}),Qt(b_,{}),(()=>{var i=RD(),t=i.firstChild,n=t.nextSibling;return rr(i,Qt(x_,{}),t),rr(i,Qt(dP,{fallback:"Loading...",get children(){return Qt(EQ,{})}}),t),rr(t,Qt(HU,{})),rr(n,Qt(ED,{})),i})()]}const AD=document.getElementById("root");PP(()=>Qt(CD,{}),AD)});export default MD(); +`)),V}},{key:"_getEmptyTexture",value:function(){var T;return this._emptyTexture||((T=new c.default.Image(1,1)).set(0,0,255),this._emptyTexture=new c.default.Texture(this,T)),this._emptyTexture}},{key:"getTexture",value:function(T){T instanceof c.default.Framebuffer&&(T=T.color);var D=this.textures.get(T);return D||(D=new c.default.Texture(this,T),this.textures.set(T,D),D)}},{key:"getDiffusedTexture",value:function(T){var D,V,Y=this;return this.diffusedTextures.get(T)!=null?this.diffusedTextures.get(T):(D=Math.floor(T.height/T.width*200),V=this._pInst.createFramebuffer({width:200,height:D,density:1}),this.diffusedShader||(this.diffusedShader=this._pInst.createShader(X.imageLightVert,X.imageLightDiffusedFrag)),V.draw(function(){Y._pInst.shader(Y.diffusedShader),Y.diffusedShader.setUniform("environmentMap",T),Y._pInst.noStroke(),Y._pInst.rectMode(u.CENTER),Y._pInst.noLights(),Y._pInst.rect(0,0,200,D)}),this.diffusedTextures.set(T,V),V)}},{key:"getSpecularTexture",value:function(T){var D=this;if(this.specularTextures.get(T)!=null)return this.specularTextures.get(T);for(var V,Y=[],re=this._pInst.createFramebuffer({width:512,height:512,density:1}),ie=Math.log(512)/Math.log(2),ce=(this.specularShader||(this.specularShader=this._pInst.createShader(X.imageLightVert,X.imageLightSpecularFrag)),512);1<=ce;ce/=2)(function(ye){re.resize(ye,ye);var he=1-Math.log(ye)/Math.log(2)/ie;re.draw(function(){D._pInst.shader(D.specularShader),D._pInst.clear(),D.specularShader.setUniform("environmentMap",T),D.specularShader.setUniform("roughness",he),D._pInst.noStroke(),D._pInst.noLights(),D._pInst.plane(ye,ye)}),Y.push(re.get().drawingContext.getImageData(0,0,ye,ye))})(ce);return re.remove(),V=new f.MipmapTexture(this,Y,{}),this.specularTextures.set(T,V),V}},{key:"activeFramebuffer",value:function(){return this.activeFramebuffers[this.activeFramebuffers.length-1]||null}},{key:"createFramebuffer",value:function(T){return new c.default.Framebuffer(this,T)}},{key:"_setStrokeUniforms",value:function(T){T.bindShader(),T.setUniform("uUseLineColor",this._useLineColor),T.setUniform("uMaterialColor",this.curStrokeColor),T.setUniform("uStrokeWeight",this.curStrokeWeight),T.setUniform("uStrokeCap",$[this.curStrokeCap]),T.setUniform("uStrokeJoin",k[this.curStrokeJoin])}},{key:"_setFillUniforms",value:function(T){var D=this,V=(T.bindShader(),this.mixedSpecularColor=O(this.curSpecularColor),0>7,127&ae,K>>7,127&K);for(var me=0;me>7,127&Ee,0,0)}}return{cellImageInfo:A,dimOffset:it,dimImageInfo:Te}}}}]),b}();u.default.RendererGL.prototype._renderText=function(b,w,S,Q,P){if(this._textFont&&typeof this._textFont!="string"){if(!(P<=Q)&&this._doFill){if(this._isOpenType()){b.push();var P=this._doStroke,j=this.drawMode,E=(this._doStroke=!1,this.drawMode=h.TEXTURE,this._textFont.font),$=($=this._textFont._fontInfo)||(this._textFont._fontInfo=new v(E)),S=this._textFont._handleAlignment(this,w,S,Q),Q=this._textSize/E.unitsPerEm,k=(this.translate(S.x,S.y,0),this.scale(Q,Q,1),this.GL),S=!this._defaultFontShader,U=this._getFontShader(),C=(U.init(),U.bindShader(),S&&(U.setUniform("uGridImageSize",[64,64]),U.setUniform("uCellsImageSize",[64,64]),U.setUniform("uStrokeImageSize",[64,64]),U.setUniform("uGridSize",[9,9])),this._applyColorBlend(this.curFillColor),this.retainedMode.geometry.glyph),X=(C||((Q=this._textGeom=new u.default.Geometry(1,1,function(){for(var ge=0;ge<=1;ge++)for(var Oe=0;Oe<=1;Oe++)this.vertices.push(new u.default.Vector(Oe,ge,0)),this.uvs.push(Oe,ge)})).computeFaces().computeNormals(),C=this.createBuffers("glyph",Q)),!0),S=!1,Q=void 0;try{for(var L,W=this.retainedMode.buffers.text[Symbol.iterator]();!(X=(L=W.next()).done);X=!0)L.value._prepareBuffer(C,U)}catch(ge){S=!0,Q=ge}finally{try{X||W.return==null||W.return()}finally{if(S)throw Q}}this._bindBuffer(C.indexBuffer,k.ELEMENT_ARRAY_BUFFER),U.setUniform("uMaterialColor",this.curFillColor),k.pixelStorei(k.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!1);try{var G=0,z=null,B=E.stringToGlyphs(w),q=!0,ee=!1,ue=void 0;try{for(var T,D=B[Symbol.iterator]();!(q=(T=D.next()).done);q=!0){var V,Y,re=T.value,ie=(z&&(G+=E.getKerningValue(z,re)),$.getGlyphInfo(re));ie.uGlyphRect&&(V=ie.rowInfo,Y=ie.colInfo,U.setUniform("uSamplerStrokes",ie.strokeImageInfo.imageData),U.setUniform("uSamplerRowStrokes",V.cellImageInfo.imageData),U.setUniform("uSamplerRows",V.dimImageInfo.imageData),U.setUniform("uSamplerColStrokes",Y.cellImageInfo.imageData),U.setUniform("uSamplerCols",Y.dimImageInfo.imageData),U.setUniform("uGridOffset",ie.uGridOffset),U.setUniform("uGlyphRect",ie.uGlyphRect),U.setUniform("uGlyphOffset",G),U.bindTextures(),k.drawElements(k.TRIANGLES,6,this.GL.UNSIGNED_SHORT,0)),G+=re.advanceWidth,z=re}}catch(ge){ee=!0,ue=ge}finally{try{q||D.return==null||D.return()}finally{if(ee)throw ue}}}finally{U.unbindShader(),this._doStroke=P,this.drawMode=j,k.pixelStorei(k.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0),b.pop()}}else console.log("WEBGL: only Opentype (.otf) and Truetype (.ttf) fonts are supported");return b}}else console.log("WEBGL: you must load and set a font before drawing text. See `loadFont` and `textFont` for more details.")}},{"../core/constants":269,"../core/main":280,"./p5.RendererGL.Retained":336,"./p5.Shader":338,"core-js/modules/es.array.iterator":164,"core-js/modules/es.object.get-own-property-descriptor":183,"core-js/modules/es.object.to-string":187,"core-js/modules/es.regexp.exec":192,"core-js/modules/es.string.iterator":197,"core-js/modules/es.string.split":203,"core-js/modules/es.string.sub":205,"core-js/modules/es.symbol":209,"core-js/modules/es.symbol.description":207,"core-js/modules/es.symbol.iterator":208,"core-js/modules/es.weak-map":241,"core-js/modules/web.dom-collections.iterator":243}]},{},[264])(264)})})(C2);var KU=C2.exports;const K1=Bm(KU);var JU=Object.defineProperty,eD=(i,t,n)=>t in i?JU(i,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):i[t]=n,ji=(i,t,n)=>(eD(i,typeof t!="symbol"?t+"":t,n),n),rg=(i,t,n)=>{if(!t.has(i))throw TypeError("Cannot "+n)},Me=(i,t,n)=>(rg(i,t,"read from private field"),n?n.call(i):t.get(i)),Ft=(i,t,n)=>{if(t.has(i))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(i):t.set(i,n)},yt=(i,t,n,r)=>(rg(i,t,"write to private field"),t.set(i,n),n),nn=(i,t,n)=>(rg(i,t,"access private method"),n);class tD{constructor(...t){throw new Error("ArrayTools contains static methods only and is not meant to be constructed")}static zip(t,n){if(t.length!==n.length)throw new Error("Unequal array lengths");return t.map((r,s)=>[r,n[s]])}static unzip(t){return t.reduce((n,[r,s])=>(n[0].push(r),n[1].push(s),n),[[],[]])}static zip3(t,n,r){if(t.length!==n.length||t.length!==r.length)throw new Error("Unequal array lengths");return t.map((s,o)=>[s,n[o],r[o]])}static unzip3(t){return t.reduce((n,[r,s,o])=>(n[0].push(r),n[1].push(s),n[2].push(o),n),[[],[],[]])}}const rD={algorithm:"SHA-1"},nD=new Set(["SHA-1","SHA-256","SHA-384","SHA-512"]);async function ph(i,t={}){if(typeof i>"u"||i===null)throw new Error("Object argument required");const{algorithm:n}={...rD,...t};if(!nD.has(n.toUpperCase()))throw new Error(`Invalid algorithm ${n}`);const r=new M2;return A2({},r).dispatch(i),typeof window>"u"?Array.from(new Uint8Array(await require("crypto").webcrypto.subtle.digest(n,new TextEncoder().encode(r.read())))).map(s=>s.toString(16)).join(""):Array.from(new Uint8Array(await crypto.subtle.digest("SHA-1",new TextEncoder().encode(r.read())))).map(s=>s.toString(16)).join("")}function A2(i={},t,n=[]){const r=s=>t.update?t.update(s,"utf8"):t.write(s,"utf8");return{dispatch:function(s){return this["_"+(s===null?"null":typeof s)](s)},_object:function(s){const o=/\[object (.*)\]/i,a=Object.prototype.toString.call(s),l=o.exec(a),c=(l?l[1]:"unknown:["+a+"]").toLowerCase();let u=null;if((u=n.indexOf(s))>=0)return this.dispatch("[CIRCULAR:"+u+"]");if(n.push(s),c!=="object"&&c!=="function"&&c!=="asyncfunction")if(this["_"+c])this["_"+c](s);else throw new Error('Unknown object type "'+c+'"');else{var h=Object.keys(s);h=h.sort(),h.splice(0,0,"prototype","__proto__","constructor"),r("object:"+h.length+":");const p=this;return h.forEach(function(f){p.dispatch(f),r(":"),p.dispatch(s[f]),r(",")})}},_array:function(s,o=!1){const a=this;if(r("array:"+s.length+":"),!o||s.length<=1)return s.forEach(u=>a.dispatch(u));let l=[];const c=s.map(u=>{const h=new M2,p=n.slice();return A2(i,h,p).dispatch(u),l=l.concat(p.slice(n.length)),h.read().toString()});return n=n.concat(l),c.sort(),this._array(c,!1)},_date:function(s){return r("date:"+s.toJSON())},_symbol:function(s){return r("symbol:"+s.toString())},_error:function(s){return r("error:"+s.toString())},_boolean:function(s){return r("bool:"+s.toString())},_string:function(s){r("string:"+s.length+":"),r(s.toString())},_function:function(s){r("fn:"),this.dispatch(s.toString())},_number:function(s){return r("number:"+s.toString())},_xml:function(s){return r("xml:"+s.toString())},_null:function(){return r("Null")},_undefined:function(){return r("Undefined")},_regexp:function(s){return r("regex:"+s.toString())},_uint8array:function(s){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(s))},_uint8clampedarray:function(s){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(s))},_int8array:function(s){return r("int8array:"),this.dispatch(Array.prototype.slice.call(s))},_uint16array:function(s){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(s))},_int16array:function(s){return r("int16array:"),this.dispatch(Array.prototype.slice.call(s))},_uint32array:function(s){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(s))},_int32array:function(s){return r("int32array:"),this.dispatch(Array.prototype.slice.call(s))},_float32array:function(s){return r("float32array:"),this.dispatch(Array.prototype.slice.call(s))},_float64array:function(s){return r("float64array:"),this.dispatch(Array.prototype.slice.call(s))},_arraybuffer:function(s){return r("arraybuffer:"),this.dispatch(new Uint8Array(s))},_url:function(s){return r("url:"+s.toString())},_map:function(s){r("map:");var o=Array.from(s);return this._array(o,i.unorderedSets!==!1)},_set:function(s){r("set:");var o=Array.from(s);return this._array(o,i.unorderedSets!==!1)},_file:function(s){return r("file:"),this.dispatch([s.name,s.size,s.type,s.lastModified])},_blob:function(){throw Error("Hashing Blob objects is currently not supported.")},_domwindow:function(){return r("domwindow")},_bigint:function(s){return r("bigint:"+s.toString())},_process:function(){return r("process")},_timer:function(){return r("timer")},_pipe:function(){return r("pipe")},_tcp:function(){return r("tcp")},_udp:function(){return r("udp")},_tty:function(){return r("tty")},_statwatcher:function(){return r("statwatcher")},_securecontext:function(){return r("securecontext")},_connection:function(){return r("connection")},_zlib:function(){return r("zlib")},_context:function(){return r("context")},_nodescript:function(){return r("nodescript")},_httpparser:function(){return r("httpparser")},_dataview:function(){return r("dataview")},_signal:function(){return r("signal")},_fsevent:function(){return r("fsevent")},_tlswrap:function(){return r("tlswrap")}}}class M2{constructor(){ji(this,"buf","")}write(t){this.buf+=t}end(t){this.buf+=t}read(){return this.buf}}var Oc,gc,wf,Mh,Xm;const iD=class $2{constructor({size:t=16**5,hashFunctions:n=$2.DEFAULT_HASH_FUNCTIONS}={}){Ft(this,Mh),Ft(this,Oc,void 0),Ft(this,gc,void 0),Ft(this,wf,void 0),yt(this,Oc,t),yt(this,gc,new Array(t)),yt(this,wf,n)}async add(t){const n=await nn(this,Mh,Xm).call(this,t);for(const r of n){const s=parseInt(r.substring(0,8),16)%Me(this,Oc);Me(this,gc)[s]=!0}}async test(t){const n=await nn(this,Mh,Xm).call(this,t);for(const r of n){const s=parseInt(r.substring(0,8),16)%Me(this,Oc);if(Me(this,gc)[s])return!0}return!1}};Oc=new WeakMap,gc=new WeakMap,wf=new WeakMap,Mh=new WeakSet,Xm=async function(i){return Promise.all(Me(this,wf).map(t=>t(i)))},ji(iD,"DEFAULT_HASH_FUNCTIONS",[i=>ph(i,{algorithm:"SHA-1"}),i=>ph(i,{algorithm:"SHA-256"}),i=>ph(i,{algorithm:"SHA-384"}),i=>ph(i,{algorithm:"SHA-512"})]);var eo;const sD=class $h{constructor(t){Ft(this,eo,void 0),yt(this,eo,t??$h.lexicalCompare)}static lexicalCompare(t,n){return t===n?0:t>n?1:-1}static reverseLexicalCompare(t,n){return $h.lexicalCompare(t,n)*-1}static numericCompare(t,n){return Number(t)-Number(n)}static reverseNumericCompare(t,n){return $h.numericCompare(t,n)*-1}eq(t,n){return Me(this,eo).call(this,t,n)===0}gt(t,n){return Me(this,eo).call(this,t,n)<0}gte(t,n){return Me(this,eo).call(this,t,n)<=0}lt(t,n){return Me(this,eo).call(this,t,n)>0}lte(t,n){return Me(this,eo).call(this,t,n)>=0}};eo=new WeakMap;let oD=sD;function aD(i,...t){try{return new new Proxy(i,{construct(){return{}}})(...t??[]),!0}catch{return!1}}function J1(i,t,n){if(i>t)throw new RangeError("Minimum must be less than maximum")}function wu(...i){if(i.some(t=>!Number.isInteger(t)))throw new RangeError("Arguments must be integers")}function I2(...i){if(i.some(t=>t<0||!Number.isInteger(t)))throw new RangeError("Arguments must be natural numbers")}function ev(...i){if(i.some(t=>t<1||!Number.isInteger(t)))throw new RangeError("Arguments must be counting numbers")}const lD=255,cD=65535,fo=-1>>>0,uD=127,hD=-uD-1,fD=32767,dD=-fD-1,X2=(fo+1)/2-1,pD=-X2-1;var vs,Gi,to,jc,Ih;const mD=class yc{constructor(t){Ft(this,vs,void 0),Ft(this,Gi,void 0),Ft(this,to,void 0);var n;const{from:r,to:s,step:o}=nn(n=yc,jc,Ih).call(n,t);yt(this,vs,r),yt(this,Gi,s),yt(this,to,o)}*[Symbol.iterator](){for(let t=Me(this,vs);Me(this,vs)=Me(this,Gi);t+=Me(this,to))yield t}contains(t){const n=Me(this,to)>0?Me(this,vs):Me(this,Gi),r=Me(this,to)>0?Me(this,Gi):Me(this,vs);if(t instanceof yc){const s=Me(t,to)>0?Me(t,vs):Me(t,Gi),o=Me(t,to)>0?Me(t,Gi):Me(t,vs);return n<=s&&r>=o}return t>=n&&t<=r}static of(t,n){var r;const{from:s,to:o,step:a,produce:l}=nn(r=yc,jc,Ih).call(r,t,n),c=[];for(let u=s,h=0;s=o;u+=a,h++)c.push(l(u,h));return c}static*lazy(t,n){var r;const{from:s,to:o,step:a,produce:l}=nn(r=yc,jc,Ih).call(r,t,n);for(let c=s,u=0;s=o;c+=a,u++)yield l(c,u)}};vs=new WeakMap,Gi=new WeakMap,to=new WeakMap,jc=new WeakSet,Ih=function(i,t){let{from:n=0,to:r=0,step:s=1}=typeof i=="object"?i:{to:i-Math.sign(i)};if(n===r)throw new Error("Range must be nonzero in size");if(s<=0)throw new Error("Step size must be positive, as its sign is inferred from the range");n>r&&(s*=-1);const o=t?aD(t,n,0)?(a,l)=>new t(a,l):(a,l)=>t(a,l):a=>a;return{from:n,to:r,step:s,produce:o}},Ft(mD,jc);function ic(i,t,n){return Math.min(Math.max(n,i),t)}function U2(i,t,n){return i+(t-i)*n}function Jo(i,t,n){if(0>n||n>1)throw new RangeError("Value must be between 0 and 1 inclusive");return U2(i,t,n)}function tv(i){if(I2(i),i<=2)return i;let t=i,n=i;for(;n>1;)n--,t=t*n;return t}function mh(i){wu(i);let t=0,n=i;for(;n!==0&&!(n&1);)n>>=1,t+=1;return t}function D2(i,t){wu(i,t);let n=Math.abs(i);if(t===0)return n;let r=Math.abs(t);if(n===0)return r;let s=mh(r|n);for(r>>=mh(r),n>>=mh(n);r!==n;){if(r>=mh(r)}return r<=.5}natural(t=fo-1){return I2(t),Math.floor(Jo(0,t+1,Me(this,jn).call(this)))}counting(t=fo-1){return ev(t),Math.floor(Jo(1,t+1,Me(this,jn).call(this)))}u8(){return Math.floor(Jo(0,lD+1,Me(this,jn).call(this)))}u16(){return Math.floor(Jo(0,cD+1,Me(this,jn).call(this)))}u32(){return Math.floor(Jo(0,fo+1,Me(this,jn).call(this)))}i8(){return this.u8()+hD}i16(){return this.u16()+dD}i32(){return this.u32()+pD}integer({min:t=0,max:n=fo}={max:fo}){return wu(t,n),J1(t,n),Math.floor(Jo(t,n+1,Me(this,jn).call(this)))}float({min:t,max:n}={}){if(t===void 0&&n===void 0||t===0&&n===1)return Me(this,jn).call(this);const r=t??0,s=n??X2;return J1(r,s),Jo(r,s,Me(this,jn).call(this))}dice(t){return this.integer({min:1,max:t})}unitVector(t=2){ev(t);const n=Me(this,jn).call(this)*2*Math.PI;if(t===1)return[1];if(t===2)return[Math.cos(n),Math.sin(n)];if(t===3){const o=Math.acos(1-2*Me(this,jn).call(this));return[Math.cos(n)*Math.sin(o),Math.sin(n)*Math.sin(o),Math.cos(o)]}const r=Array(t).fill(null).map(()=>this.float({min:-1,max:1})),s=Math.sqrt(r.reduce((o,a)=>o+a**2,0));return r.map(o=>o/s)}sample(t){const n=t instanceof Set?[...t]:t;if(n.length===0)return;const r=this.natural(n.length-1);return n[r]}take(t){const n=t instanceof Set?[...t]:t;if(n.length===0)return;const r=this.natural(n.length-1),s=n[r];return t instanceof Set?t.delete(s):t.splice(r,1),s}permute(t){for(let n=0;n=2;){if(!n[r-1]){let o=0;do o=this.integer({min:1,max:r-1});while(n[o-1]);const a=t[o-1];t[o-1]=t[r-1],t[r-1]=a,Me(this,jn).call(this)<(s-1)*this.derangementsOf(s-2)/this.derangementsOf(s)&&(n[o-1]=!0,s--),s--}r--}}derangement(t){const n=[...t];return this.derange(n),n}derangementsOf(t){let n=t instanceof Set?t.size:Array.isArray(t)?t.length:t;return Math.floor((tv(n)+1)/Math.E)}}jn=new WeakMap;var Zi;class rv extends Ml{constructor(t){super(()=>{yt(this,Zi,Me(this,Zi)|0),yt(this,Zi,Me(this,Zi)+1831565813|0);let n=Math.imul(Me(this,Zi)^Me(this,Zi)>>>15,1|Me(this,Zi));return n=n+Math.imul(n^n>>>7,61|n)^n,((n^n>>>14)>>>0)/4294967296}),Ft(this,Zi,void 0),yt(this,Zi,t)}}Zi=new WeakMap;var ra,bs,li,ro;class gD extends Ml{constructor(t,n,r,s){super(()=>{yt(this,ra,Me(this,ra)|0),yt(this,bs,Me(this,bs)|0),yt(this,li,Me(this,li)|0),yt(this,ro,Me(this,ro)|0);const o=(Me(this,ra)+Me(this,bs)|0)+Me(this,ro)|0;return yt(this,ro,Me(this,ro)+1|0),yt(this,ra,Me(this,bs)^Me(this,bs)>>>9),yt(this,bs,Me(this,li)+(Me(this,li)<<3)|0),yt(this,li,Me(this,li)<<21|Me(this,li)>>>11),yt(this,li,Me(this,li)+o|0),(o>>>0)/4294967296}),Ft(this,ra,void 0),Ft(this,bs,void 0),Ft(this,li,void 0),Ft(this,ro,void 0),yt(this,ra,t),yt(this,bs,n),yt(this,li,r),yt(this,ro,s)}}ra=new WeakMap,bs=new WeakMap,li=new WeakMap,ro=new WeakMap;var ws;class yD extends Ml{constructor(t){super(()=>{yt(this,ws,Me(this,ws)|0),yt(this,ws,Me(this,ws)+2654435769|0);let n=Me(this,ws)^Me(this,ws)>>>16;return n=Math.imul(n,569420461),n=n^n>>>15,n=Math.imul(n,1935289751),((n=n^n>>>15)>>>0)/4294967296}),Ft(this,ws,void 0),yt(this,ws,t)}}ws=new WeakMap;var no,xs,io,Ss;class vD extends Ml{constructor(t,n,r,s){super(()=>{yt(this,no,Me(this,no)|0),yt(this,xs,Me(this,xs)|0),yt(this,io,Me(this,io)|0),yt(this,Ss,Me(this,Ss)|0);let o=Me(this,no)-(Me(this,xs)<<27|Me(this,xs)>>>5)|0;return yt(this,no,Me(this,xs)^(Me(this,io)<<17|r>>>15)),yt(this,xs,Me(this,io)+Me(this,Ss)|0),yt(this,io,Me(this,Ss)+o|0),yt(this,Ss,Me(this,no)+o|0),(Me(this,Ss)>>>0)/4294967296}),Ft(this,no,void 0),Ft(this,xs,void 0),Ft(this,io,void 0),Ft(this,Ss,void 0),yt(this,no,t),yt(this,xs,n),yt(this,io,r),yt(this,Ss,s)}}no=new WeakMap,xs=new WeakMap,io=new WeakMap,Ss=new WeakMap;var En,In,mn,so;class bD extends Ml{constructor(t,n,r,s){super(()=>(yt(this,En,Me(this,En)|0),yt(this,In,Me(this,In)|0),yt(this,mn,Me(this,mn)|0),yt(this,so,Me(this,so)|0),yt(this,En,Me(this,En)<<16|Me(this,En)>>>16),yt(this,In,Me(this,In)+Me(this,mn)|0),yt(this,En,Me(this,En)+Me(this,In)|0),yt(this,mn,Me(this,mn)^Me(this,In)),yt(this,mn,Me(this,mn)<<11|Me(this,mn)>>>21),yt(this,In,Me(this,In)^Me(this,En)),yt(this,En,Me(this,En)+Me(this,mn)|0),yt(this,In,Me(this,mn)<<19|Me(this,mn)>>>13),yt(this,mn,Me(this,mn)+Me(this,En)|0),yt(this,so,Me(this,so)+38565|0),yt(this,In,Me(this,In)+Me(this,so)|0),(Me(this,En)>>>0)/4294967296)),Ft(this,En,void 0),Ft(this,In,void 0),Ft(this,mn,void 0),Ft(this,so,void 0),yt(this,En,t),yt(this,In,n),yt(this,mn,r),yt(this,so,s)}}En=new WeakMap,In=new WeakMap,mn=new WeakMap,so=new WeakMap;var Ar;const oo=class Dr{constructor(...t){throw new Error("Random contains static methods only and is not meant to be constructed")}static bool(){return Me(Dr,Ar).bool()}static natural(t=fo){return Me(Dr,Ar).natural(t)}static counting(t=fo){return Me(Dr,Ar).counting(t)}static u8(){return Me(Dr,Ar).u8()}static u16(){return Me(Dr,Ar).u16()}static u32(){return Me(Dr,Ar).u32()}static i8(){return Me(Dr,Ar).i8()}static i16(){return Me(Dr,Ar).i16()}static i32(){return Me(Dr,Ar).i32()}static integer(t){return Me(Dr,Ar).integer(t)}static float(t){return Me(Dr,Ar).float(t)}static dice(t){return Me(Dr,Ar).dice(t)}static unitVector(t=2){return Me(Dr,Ar).unitVector(t)}static sample(t){return Me(Dr,Ar).sample(t)}static take(t){return Me(Dr,Ar).take(t)}static permute(t){return Me(Dr,Ar).permute(t)}static permutation(t){return Me(Dr,Ar).permutation(t)}static permutationsOf(t){return Me(Dr,Ar).permutationsOf(t)}static derange(t){return Me(Dr,Ar).derange(t)}static derangement(t){return Me(Dr,Ar).derangement(t)}static derangementsOf(t){return Me(Dr,Ar).derangementsOf(t)}};Ar=new WeakMap,Ft(oo,Ar,new Ml(Math.random)),ji(oo,"Seedable",rv),ji(oo,"SFC32",gD),ji(oo,"JSF32B",vD),ji(oo,"SplitMix32",yD),ji(oo,"Mulberry32",rv),ji(oo,"GJRand32",bD);let wD=oo;function xD(i){return(i+1)/2}function SD(i,{freq:t=1,set:n}={}){return"ImageData"in globalThis&&i instanceof ImageData?{width:i.width,height:i.height,freq:t,typedArray:i.data,setCell:n??(({x:r,y:s,v:o})=>{const a=(r+s*i.width)*4;i.data[a]=i.data[a+1]=i.data[a+2]=o,i.data[a+3]=255})}:Array.isArray(i)?{width:i[0].length,height:i.length,freq:t,setCell:n??(({x:r,y:s,v:o})=>{i[s][r]=o})}:{width:i.width,height:i.data.length/i.width/i.stride,freq:t,typedArray:i.data,setCell:n??(({x:r,y:s,v:o})=>{const a=(r+s*i.width)*i.stride;i.data[a]=i.data[a+1]=i.data[a+2]=o,i.data[a+3]=255})}}class ai{constructor(t,n,r){ji(this,"x"),ji(this,"y"),ji(this,"z"),this.x=t,this.y=n,this.z=r}dot2(t,n){return this.x*t+this.y*n}dot3(t,n,r){return this.x*t+this.y*n+this.z*r}}const nv=[151,160,137,91,90,15,131,13,201,95,96,53,194,233,7,225,140,36,103,30,69,142,8,99,37,240,21,10,23,190,6,148,247,120,234,75,0,26,197,62,94,252,219,203,117,35,11,32,57,177,33,88,237,149,56,87,174,20,125,136,171,168,68,175,74,165,71,134,139,48,27,166,77,146,158,231,83,111,229,122,60,211,133,230,220,105,92,41,55,46,245,40,244,102,143,54,65,25,63,161,1,216,80,73,209,76,132,187,208,89,18,169,200,196,135,130,116,188,159,86,164,100,109,198,173,186,3,64,52,217,226,250,124,123,5,202,38,147,118,126,255,82,85,212,207,206,59,227,47,16,58,17,182,189,28,42,223,183,170,213,119,248,152,2,44,154,163,70,221,153,101,155,167,43,172,9,129,22,39,253,19,98,108,110,79,113,224,232,178,185,112,104,218,246,97,228,251,34,242,193,238,210,144,12,191,179,162,241,81,51,145,235,249,14,239,107,49,192,214,31,181,199,106,157,184,84,204,176,115,121,50,45,127,4,150,254,138,236,205,93,222,114,67,29,24,72,243,141,128,195,78,66,215,61,156,180],PD=[new ai(1,1,0),new ai(-1,1,0),new ai(1,-1,0),new ai(-1,-1,0),new ai(1,0,1),new ai(-1,0,1),new ai(1,0,-1),new ai(-1,0,-1),new ai(0,1,1),new ai(0,-1,1),new ai(0,1,-1),new ai(0,-1,-1)];var On,ci,Um,oa,Dm,ui;const Oh=class ln{constructor(t){Ft(this,On,void 0),Ft(this,ci,void 0),yt(this,On,new Array(512)),yt(this,ci,new Array(512)),this.seed((t||wD).float())}seed(t){t>0&&t<1&&(t*=65536),t=Math.floor(t),t<256&&(t|=t<<8);for(let n=0;n<256;n++){let r;n&1?r=nv[n]^t&255:r=nv[n]^t>>8&255,Me(this,On)[n]=Me(this,On)[n+256]=r,Me(this,ci)[n]=Me(this,ci)[n+256]=PD[r%12]}return this}xy(t,n){let r,s,o;const a=(t+n)*Me(ln,Um);let l=Math.floor(t+a),c=Math.floor(n+a);const u=(l+c)*Me(ln,oa),h=t-l+u,p=n-c+u;let f,d;h>p?(f=1,d=0):(f=0,d=1);const m=h-f+Me(ln,oa),O=p-d+Me(ln,oa),y=h-1+2*Me(ln,oa),g=p-1+2*Me(ln,oa);l&=255,c&=255;const v=Me(this,ci)[l+Me(this,On)[c]],b=Me(this,ci)[l+f+Me(this,On)[c+d]],w=Me(this,ci)[l+1+Me(this,On)[c+1]];let S=.5-h*h-p*p;S<0?r=0:(S*=S,r=S*S*v.dot2(h,p));let Q=.5-m*m-O*O;Q<0?s=0:(Q*=Q,s=Q*Q*b.dot2(m,O));let P=.5-y*y-g*g;return P<0?o=0:(P*=P,o=P*P*w.dot2(y,g)),70*(r+s+o)}xyz(t,n,r){let s,o,a,l;const c=(t+n+r)*Me(ln,Dm);let u=Math.floor(t+c),h=Math.floor(n+c),p=Math.floor(r+c);const f=(u+h+p)*Me(ln,ui),d=t-u+f,m=n-h+f,O=r-p+f;let y,g,v,b,w,S;d>=m?m>=O?(y=1,g=0,v=0,b=1,w=1,S=0):d>=O?(y=1,g=0,v=0,b=1,w=0,S=1):(y=0,g=0,v=1,b=1,w=0,S=1):ms}gte(...t){const n=Or.from(...t),{numerator:r,otherNumerator:s}=nn(this,ao,na).call(this,n);return r>=s}lt(...t){const n=Or.from(...t),{numerator:r,otherNumerator:s}=nn(this,ao,na).call(this,n);return rn+r,0)/t.length;{let n=t[0];for(let r=1;rn[s]);return Cr.mean(r)}static mode(t){if(t.length===0)return;const n=nn(this,aa,Va).call(this,t),r=new Map;for(let o of n)if(typeof o=="number")r.has(o)?r.set(o,r.get(o)+1):r.set(o,1);else throw new Error("NOT IMPLEMENTED");const s=Math.max(...r.values());if(s!==1)return Array.from(r.entries()).filter(o=>o[1]===s).map(o=>o[0])}static variance(t){const n=Cr.mean(t);if(n===void 0)return;const r=typeof n=="number"?t.map(s=>Math.pow(s-n,2)):t.map(s=>{const o=s.sub(n);return o.mul(o)});return Cr.mean(r)}static sd(t){const n=Cr.variance(t);if(n)return typeof n=="number"?Math.sqrt(n):n.pow(1/2)}static sem(t){const n=Cr.sd(t);if(n!==void 0)return typeof n=="number"?n/Math.sqrt(t.length):n.div(Math.sqrt(t.length))}static range(t){if(t.length===0)return;const[n,r]=[Cr.min(t),Cr.max(t)];if(!(n===void 0||r===void 0))return typeof n=="number"&&typeof r=="number"?r-n:r.sub(n)}static iqr(t,n){const r=Cr.summary(t,n);if(r!==void 0)return typeof r.q1=="number"&&typeof r.q3=="number"?r.q3-r.q1:r.q3.sub(r.q1)}static mad(t){const n=Cr.median(t),r=t.map(s=>typeof s=="number"?Math.abs(n-s):n.sub(s).abs());return Cr.median(r)}static percentiles(t,n={p:iv}){var r;if(t.length===0)return;const{p:s,method:o="midpoint"}=Array.isArray(n)?{p:n}:n;if(s.length===0)return;if(s.some(l=>l>1||l<0))throw new Error(`Invalid percentiles ${s}`);const a=nn(r=Cr,aa,Va).call(r,t);switch(o){case"midpoint":return s.map(l=>{const c=l*(a.length-1);return Number.isInteger(c)?a[c]:Cr.mean([a[Math.floor(c)],a[Math.ceil(c)]])});case"outer":return s.map(l=>{const c=l*(a.length-1);if(Number.isInteger(c))return a[c];{if(l===.5)return Cr.mean([a[Math.floor(c)],a[Math.ceil(c)]]);const u=l>.5?Math.ceil(c):Math.floor(c);return a[u]}});case"hrank":return s.map(l=>{const c=l*(a.length-1);return Number.isInteger(c)?a[c]:a[Math.ceil(c)]});case"lrank":return s.map(l=>{const c=l*(a.length-1);return Number.isInteger(c)?a[c]:a[Math.floor(c)]});case"nearest":return s.map(l=>{const c=l*(a.length-1);return Number.isInteger(c)?a[c]:a[Math.round(c)]});case"weighted":return s.map(l=>{const c=l*(a.length-1);if(Number.isInteger(c))return a[c];{const u=Math.trunc(c),h=c%1,p=a[u];return typeof p=="number"?p+h*(a[u+1]-p):p.add(a[u+1].sub(p).mul(h))}});default:throw new Error(`Unrecognized interpolation method ${o}`)}}static summary(t,n){if(t.length===0)return;const r=Cr.percentiles(t,{...n,p:iv});if(r!==void 0)return{q0:r[0],q1:r[1],q2:r[2],q3:r[3],q4:r[4]}}static covariance(t){const n=t.length;if(n<2)return;const r=new Array(n),s=new Array(n);for(let h=0;htypeof h=="number"?h-o:h.sub(o)),c=s.map(h=>typeof h=="number"?h-a:h.sub(a)),u=l.reduce((h,p,f)=>{const d=c[f],m=typeof d=="number"?d*p:d.mul(p);return typeof m=="number"?m+h:m.add(h)},0);return typeof u=="number"?u/(n-1):u.div(n-1)}static pcc(t,n="sample"){if(n==="population"){const r=Cr.covariance(t);if(r===void 0)return;const[s,o]=tD.unzip(t).map(Cr.sd);return s===void 0||o===void 0?void 0:typeof r=="number"?r/(+s*+o):r.div(s.mul(o))}else{const r=t.length;if(r<2)return;const s=new Array(r),o=new Array(r);for(let c=0;cf-a),u=c.reduce((f,d)=>d**2+f,0),h=o.map(f=>f-l),p=h.reduce((f,d)=>d**2+f,0);return c.reduce((f,d,m)=>{const O=h[m];return f+O*d},0)/(Math.sqrt(u)*Math.sqrt(p))}else if(typeof a!="number"&&typeof l!="number"){const c=s.map(f=>f.sub(a)),u=c.reduce((f,d)=>d.pow(2).add(f),0),h=o.map(f=>f.sub(l)),p=h.reduce((f,d)=>d.pow(2).add(f),0);return c.reduce((f,d,m)=>h[m].mul(d).add(f),0).div(u.pow(1/2).mul(p.pow(1/2)))}else throw new Error("Unreachable!")}}};aa=new WeakSet,Va=function(i){const t=[...i];return t.sort(oD.numericCompare),t},Ft(TD,aa);var QD=Xi("");const sv=22,kD=12,sp=120,ys=12,ov=16,Qe=80,ke=22,jD=50;function ED(){let i,t,n,r,s,o=[],a,l=0,c=!1;function u(O){O.preload=()=>{t=O.loadFont("/assets/dm.otf"),O.createAudio("/assets/2.mp3"),O.createAudio("/assets/5.mp3"),O.createAudio("/assets/6.mp3")},O.setup=()=>{n=O.createCanvas(880,600,O.P2D,i),r=new p(O),s=new f(O),a=new m(O),O.textFont(t),O.background(Je.carbon),O.fill(Je.pumpkin),O.noStroke(),h(O),n.mouseClicked(()=>(c=!0,s.reset(),!1)),n.touchStarted(()=>(c=!0,!1)),window.addEventListener("keypress",y=>{if(y.key===" ")return c=!0,s.reset(),!1}),i.addEventListener("contextmenu",y=>{y.preventDefault(),c=!1,s.reset(),h(O)})},O.draw=()=>{O.background(Je.carbon),r.show(),r.move(),s.show(),c&&(s.move(),s.checkEdges(),s.checkPaddle(r)),O.strokeWeight(4),O.stroke(Je.carbon);for(let y of o)y.show();O.noStroke(),s.checkBricks(o),a.show()}}function h(O){l=0,o=[new d(O,2*Qe,0*ke,Qe,ke).color(Je.smoke),new d(O,2*Qe,1*ke,Qe,ke).color(Je.smoke),new d(O,3*Qe,2*ke,Qe,ke).color(Je.smoke),new d(O,3*Qe,3*ke,Qe,ke).color(Je.smoke),new d(O,8*Qe,0*ke,Qe,ke).color(Je.smoke),new d(O,8*Qe,1*ke,Qe,ke).color(Je.smoke),new d(O,7*Qe,2*ke,Qe,ke).color(Je.smoke),new d(O,7*Qe,3*ke,Qe,ke).color(Je.smoke),new d(O,3*Qe,6*ke,Qe,ke).color(Je.smoke),new d(O,3*Qe,7*ke,Qe,ke).color(Je.smoke),new d(O,7*Qe,6*ke,Qe,ke).color(Je.smoke),new d(O,7*Qe,7*ke,Qe,ke).color(Je.smoke),new d(O,2*Qe,4*ke,Qe,ke).color(Je.ash),new d(O,3*Qe,4*ke,Qe,ke).color(Je.ash),new d(O,4*Qe,4*ke,Qe,ke).color(Je.ash),new d(O,5*Qe,4*ke,Qe,ke).color(Je.ash),new d(O,6*Qe,4*ke,Qe,ke).color(Je.ash),new d(O,7*Qe,4*ke,Qe,ke).color(Je.ash),new d(O,8*Qe,4*ke,Qe,ke).color(Je.ash),new d(O,2*Qe,5*ke,Qe,ke).color(Je.ash),new d(O,3*Qe,5*ke,Qe,ke).color(Je.ash),new d(O,4*Qe,5*ke,Qe,ke).color(Je.ash),new d(O,5*Qe,5*ke,Qe,ke).color(Je.ash),new d(O,6*Qe,5*ke,Qe,ke).color(Je.ash),new d(O,7*Qe,5*ke,Qe,ke).color(Je.ash),new d(O,8*Qe,5*ke,Qe,ke).color(Je.ash),new d(O,1*Qe,6*ke,Qe,ke).color(Je.ash),new d(O,2*Qe,6*ke,Qe,ke).color(Je.ash),new d(O,4*Qe,6*ke,Qe,ke).color(Je.ash),new d(O,5*Qe,6*ke,Qe,ke).color(Je.ash),new d(O,6*Qe,6*ke,Qe,ke).color(Je.ash),new d(O,8*Qe,6*ke,Qe,ke).color(Je.ash),new d(O,9*Qe,6*ke,Qe,ke).color(Je.ash),new d(O,1*Qe,7*ke,Qe,ke).color(Je.ash),new d(O,2*Qe,7*ke,Qe,ke).color(Je.ash),new d(O,4*Qe,7*ke,Qe,ke).color(Je.ash),new d(O,5*Qe,7*ke,Qe,ke).color(Je.ash),new d(O,6*Qe,7*ke,Qe,ke).color(Je.ash),new d(O,8*Qe,7*ke,Qe,ke).color(Je.ash),new d(O,9*Qe,7*ke,Qe,ke).color(Je.ash),new d(O,0*Qe,8*ke,Qe,ke).color(Je.ash),new d(O,1*Qe,8*ke,Qe,ke).color(Je.ash),new d(O,2*Qe,8*ke,Qe,ke).color(Je.ash),new d(O,3*Qe,8*ke,Qe,ke).color(Je.ash),new d(O,4*Qe,8*ke,Qe,ke).color(Je.ash),new d(O,5*Qe,8*ke,Qe,ke).color(Je.ash),new d(O,6*Qe,8*ke,Qe,ke).color(Je.ash),new d(O,7*Qe,8*ke,Qe,ke).color(Je.ash),new d(O,8*Qe,8*ke,Qe,ke).color(Je.ash),new d(O,9*Qe,8*ke,Qe,ke).color(Je.ash),new d(O,10*Qe,8*ke,Qe,ke).color(Je.ash),new d(O,0*Qe,9*ke,Qe,ke).color(Je.ash),new d(O,1*Qe,9*ke,Qe,ke).color(Je.ash),new d(O,2*Qe,9*ke,Qe,ke).color(Je.ash),new d(O,3*Qe,9*ke,Qe,ke).color(Je.ash),new d(O,4*Qe,9*ke,Qe,ke).color(Je.ash),new d(O,5*Qe,9*ke,Qe,ke).color(Je.ash),new d(O,6*Qe,9*ke,Qe,ke).color(Je.ash),new d(O,7*Qe,9*ke,Qe,ke).color(Je.ash),new d(O,8*Qe,9*ke,Qe,ke).color(Je.ash),new d(O,9*Qe,9*ke,Qe,ke).color(Je.ash),new d(O,10*Qe,9*ke,Qe,ke).color(Je.ash),new d(O,0*Qe,10*ke,Qe,ke).color(Je.ash),new d(O,1*Qe,10*ke,Qe,ke).color(Je.ash),new d(O,2*Qe,10*ke,Qe,ke).color(Je.ash),new d(O,3*Qe,10*ke,Qe,ke).color(Je.ash),new d(O,4*Qe,10*ke,Qe,ke).color(Je.ash),new d(O,5*Qe,10*ke,Qe,ke).color(Je.ash),new d(O,6*Qe,10*ke,Qe,ke).color(Je.ash),new d(O,7*Qe,10*ke,Qe,ke).color(Je.ash),new d(O,8*Qe,10*ke,Qe,ke).color(Je.ash),new d(O,9*Qe,10*ke,Qe,ke).color(Je.ash),new d(O,10*Qe,10*ke,Qe,ke).color(Je.ash),new d(O,0*Qe,11*ke,Qe,ke).color(Je.ash),new d(O,1*Qe,11*ke,Qe,ke).color(Je.ash),new d(O,2*Qe,11*ke,Qe,ke).color(Je.ash),new d(O,3*Qe,11*ke,Qe,ke).color(Je.ash),new d(O,4*Qe,11*ke,Qe,ke).color(Je.ash),new d(O,5*Qe,11*ke,Qe,ke).color(Je.ash),new d(O,6*Qe,11*ke,Qe,ke).color(Je.ash),new d(O,7*Qe,11*ke,Qe,ke).color(Je.ash),new d(O,8*Qe,11*ke,Qe,ke).color(Je.ash),new d(O,9*Qe,11*ke,Qe,ke).color(Je.ash),new d(O,10*Qe,11*ke,Qe,ke).color(Je.ash),new d(O,0*Qe,12*ke,Qe,ke).color(Je.ash),new d(O,1*Qe,12*ke,Qe,ke).color(Je.ash),new d(O,2*Qe,12*ke,Qe,ke).color(Je.ash),new d(O,8*Qe,12*ke,Qe,ke).color(Je.ash),new d(O,9*Qe,12*ke,Qe,ke).color(Je.ash),new d(O,10*Qe,12*ke,Qe,ke).color(Je.ash),new d(O,0*Qe,13*ke,Qe,ke).color(Je.ash),new d(O,2*Qe,13*ke,Qe,ke).color(Je.ash),new d(O,8*Qe,13*ke,Qe,ke).color(Je.ash),new d(O,10*Qe,13*ke,Qe,ke).color(Je.ash),new d(O,3*Qe,14*ke,Qe,ke).color(Je.ash),new d(O,4*Qe,14*ke,Qe,ke).color(Je.ash),new d(O,6*Qe,14*ke,Qe,ke).color(Je.ash),new d(O,7*Qe,14*ke,Qe,ke).color(Je.ash),new d(O,3*Qe,15*ke,Qe,ke).color(Je.ash),new d(O,4*Qe,15*ke,Qe,ke).color(Je.ash),new d(O,6*Qe,15*ke,Qe,ke).color(Je.ash),new d(O,7*Qe,15*ke,Qe,ke).color(Je.ash)]}class p{constructor(y){this.p=y,this.width=sp,this.height=ys,this.x=y.width/2-this.width/2,this.y=y.height-this.height,this.isMovingLeft=!1,this.isMovingRight=!1,n.mouseMoved(g=>(this.x=ic(ys/2,y.width-this.width-ys/2,g.offsetX-sp/2),!1)),n.touchMoved(g=>(this.x=ic(ys/2,y.width-this.width-ys/2,g.offsetX-sp/2),!1))}show(){this.p.fill(Je.pumpkin),this.p.circle(this.x,this.y+this.height/2,this.height),this.p.circle(this.x+this.width,this.y+this.height/2,this.height),this.p.rect(this.x,this.y,this.width,this.height)}move(){this.p.keyIsDown(this.p.LEFT_ARROW)&&this.x>ys/2?this.x-=ov:this.p.keyIsDown(this.p.RIGHT_ARROW)&&this.xthis.p.width-this.radius)&&(this.x=ic(this.radius,this.p.width-this.radius,this.x),this.xSpeed*=-1),this.ythis.p.height&&(c=!1,this.reset())}checkPaddle(y){this.y+this.radius>y.y&&this.x>y.x&&this.x=0;v--){const b=y[v];this.x+this.radius>b.x&&this.x-this.radiusb.y&&(g||(g=!0),l+=jD,y.splice(v,1))}g&&(this.ySpeed*=-1)}}class d{constructor(y,g,v,b,w){this.c=Je.ash,this.p=y,this.x=g,this.y=v,this.w=b,this.h=w}color(y){return this.c=y,this}show(){this.p.fill(this.c.toString()),this.p.rect(this.x,this.y,this.w,this.h)}}class m{constructor(y){this.p=y}show(){this.p.fill(Je.pumpkin),this.p.textSize(32),this.p.textAlign(this.p.CENTER,this.p.CENTER),o.length===0?this.p.text("<>",this.p.width/2,this.p.height*(2/3)):this.p.text("~~DEPARKANOID~~",this.p.width/2,this.p.height*(2/3)),this.p.fill(Je.cement),this.p.textSize(16),this.p.textAlign(this.p.LEFT,this.p.TOP),this.p.text(`SCORE ${l}`,0,0)}}return cs(()=>new K1(u)),(()=>{var O=QD(),y=i;return typeof y=="function"?Ha(y,O):i=O,O})()}var RD=Xi("
");function CD(){return[Qt(FP,{}),Qt(b_,{}),(()=>{var i=RD(),t=i.firstChild,n=t.nextSibling;return rr(i,Qt(x_,{}),t),rr(i,Qt(dP,{fallback:"Loading...",get children(){return Qt(EQ,{})}}),t),rr(t,Qt(HU,{})),rr(n,Qt(ED,{})),i})()]}const AD=document.getElementById("root");PP(()=>Qt(CD,{}),AD)});export default MD(); diff --git a/assets/index-CHPWYPX1.css b/assets/index-CHPWYPX1.css deleted file mode 100644 index c79ebfb..0000000 --- a/assets/index-CHPWYPX1.css +++ /dev/null @@ -1 +0,0 @@ -html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:"";content:none}table{border-collapse:collapse;border-spacing:0}@font-face{font-family:Departure Mono;src:local("Departure Mono"),url(dm.woff2) format("assets/woff2"),url(dm.woff) format("assets/woff"),url(dm.otf) format("assets/opentype")}:root{font-family:Departure Mono,monospace;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color-scheme:light dark;font-size:14px;--unit: 1em;--scroll: 0%;--flick: cubic-bezier(.36, 2.09, .07, -1.52);--amber: #ffa43a;--pumpkin: #ff9548;--flux: #c8be50;--foam: #cad5aa;--enamel: #f2f2f2;--cement: #c0c0c0;--ash: #bbbbbb;--clay: #70705c;--smoke: #666666;--carbon: #222222;--black: #141414;--accent: var(--amber);--fg: var(--smoke);--bg: var(--enamel);color:var(--fg);background-color:var(--bg)}body{overflow-x:hidden}::selection{color:var(--carbon);background-color:var(--accent)}menu{position:fixed;z-index:2;display:flex;align-items:center;gap:2rem;font-size:1.2rem;top:44px;right:44px}main{display:flex;flex-direction:column;align-items:stretch;--fg: var(--cement);--bg: var(--carbon);color:var(--fg);background-color:var(--bg)}section,footer{display:grid;place-items:center;padding:2rem}.inverse{color:var(--bg);background-color:var(--fg)}.inverse ::selection{color:var(--cement);background-color:var(--clay)}.maxwidth{max-width:1440px;padding-inline:44px;margin:0 auto}.comment{width:212px;color:var(--clay);font-size:11px;line-height:14px}.control{position:absolute;top:1rem;right:1rem;z-index:1}.diagram{color:var(--clay)}.lg{font-size:1.4rem}.accent{color:var(--accent)}header{position:relative;padding:44px}h1{font-size:7rem;margin:260px 0 66px}h2{font-size:2rem}a{color:currentColor;transition:color .15s var(--flick)}a:hover{color:var(--accent)}menu>a{line-height:2;text-decoration:none}sup{font-size:.6em;vertical-align:top;margin-left:-.6em}#title{width:568px;line-height:1.1}#version{font-size:1.6rem;line-height:6rem;vertical-align:top;margin-left:.5em}#departures{position:relative;left:-290px;font-size:44px;margin:114px 0 156px}@keyframes bloop{0%{background-color:transparent}to{background-color:var(--foam)}}#departures .blink{animation:.5s steps(2) alternate infinite bloop}#countdown{position:relative;height:896px;background-image:url(assets/pad.jpg);background-size:cover;background-position:center;background-size:calc(100% + var(--scroll) * 3);display:grid;place-items:center}#count{font-size:440px;color:var(--flux);z-index:1}#countdown>canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:min(90%,calc((var(--scroll) - 12%) * 11))}#diagram1{position:relative;display:flex;align-items:center;gap:114px;padding-top:198px;padding-bottom:28px}#diagram1 .comment{position:absolute;top:132px;left:228px}#proto{margin-top:60px;font-size:11px}#keeb{font-size:16.5px}#tester{position:relative;width:100%;padding-top:160px;cursor:cell}#apollo1{position:absolute;transform:rotate(90deg);top:120px;left:-391px;-webkit-user-select:none;user-select:none}#apollo2{position:absolute;top:1920px;left:-291px;-webkit-user-select:none;user-select:none}.split{display:grid;grid-template-columns:668px 1fr;gap:130px;position:relative}#glyph-specimen{--notch: 48px;position:sticky;top:44px;display:grid;grid-template-rows:232px 96px 288px 96px 1fr;color:var(--carbon);width:668px;height:848px;clip-path:polygon(0 0,calc(100% - var(--notch)) 0,100% var(--notch),100% 100%,0 100%,0 0);background-color:var(--cement)}#glyph-specimen:before{position:absolute;content:"";width:6px;height:22px;border-radius:2px;top:165px;left:22px;background-color:currentColor}#glyph-specimen:after{position:absolute;content:"";width:6px;height:22px;border-radius:2px;bottom:165px;left:22px;background-color:currentColor}#big{position:absolute;top:88px;left:166px;font-size:528px}.anatomy{border-top:1px solid;display:flex;align-items:flex-start;justify-content:space-between;padding:6px 22px}.specimen-details{display:flex;align-items:flex-start;justify-content:space-between;padding:94px 22px 0}.specimen-name{text-wrap:balance}#glyph-list{display:flex;flex-wrap:wrap}.segment-header{color:var(--clay);font-size:11px;margin:0 auto 10px 16px;padding-top:66px;width:100%}.glyph-item{display:flex;flex-direction:column;gap:1rem;align-items:center;font-size:44px;padding:.4rem;--b: 2px;--c: var(--accent);--w: 12px;border:var(--b) solid transparent}.glyph-item:hover{border:var(--b) solid #0000;--_g: #0000 90deg, var(--c) 0;--_p: var(--w) var(--w) border-box no-repeat;background:conic-gradient(from 90deg at top var(--b) left var(--b),var(--_g)) 0 0 / var(--_p),conic-gradient(from 180deg at top var(--b) right var(--b),var(--_g)) 100% 0 / var(--_p),conic-gradient(from 0deg at bottom var(--b) left var(--b),var(--_g)) 0 100% / var(--_p),conic-gradient(from -90deg at bottom var(--b) right var(--b),var(--_g)) 100% 100% / var(--_p)}.glyph-item .glyph-example{width:1ch;padding:5px;background-color:transparent;transition:background-color .15s var(--flick)}.glyph-item[data-selected=true] .glyph-example{color:var(--carbon);background-color:var(--accent)}.glyph-item[data-selected=true] .glyph-detail{color:var(--accent)}.glyph-example{flex:1}.glyph-detail{display:block;font-size:1rem}[data-scope=select][data-part=trigger]{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-width:128px;height:24px;background:var(--bg);border:1px solid var(--fg);font-family:inherit}[data-scope=select][data-part=trigger]:hover{color:var(--bg);background-color:var(--accent)}[data-scope=select][data-part=content]{background:var(--bg);border:1px solid var(--fg);padding:.5rem}[data-scope=select][data-part=item]{display:grid;grid-template-columns:.7rem 1fr;gap:.5rem;padding:.2rem}[data-scope=select][data-part=item]:hover{color:var(--bg);background-color:var(--accent)}.editor{position:relative;width:100%;max-width:824px}.cm-editor .cm-content{font-family:Departure Mono} diff --git a/assets/index-SiSWJP_H.css b/assets/index-SiSWJP_H.css new file mode 100644 index 0000000..8b413ef --- /dev/null +++ b/assets/index-SiSWJP_H.css @@ -0,0 +1 @@ +html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:"";content:none}table{border-collapse:collapse;border-spacing:0}@font-face{font-family:Departure Mono;src:local("Departure Mono"),url(dm.woff2) format("/assets/woff2"),url(dm.woff) format("/assets/woff"),url(dm.otf) format("/assets/opentype")}:root{font-family:Departure Mono,monospace;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color-scheme:light dark;font-size:14px;--unit: 1em;--scroll: 0%;--flick: cubic-bezier(.36, 2.09, .07, -1.52);--amber: #ffa43a;--pumpkin: #ff9548;--flux: #c8be50;--foam: #cad5aa;--enamel: #f2f2f2;--cement: #c0c0c0;--ash: #bbbbbb;--clay: #70705c;--smoke: #666666;--carbon: #222222;--black: #141414;--accent: var(--amber);--fg: var(--smoke);--bg: var(--enamel);color:var(--fg);background-color:var(--bg)}body{overflow-x:hidden}::selection{color:var(--carbon);background-color:var(--accent)}menu{position:fixed;z-index:2;display:flex;align-items:center;gap:2rem;font-size:1.2rem;top:44px;right:44px}main{display:flex;flex-direction:column;align-items:stretch;--fg: var(--cement);--bg: var(--carbon);color:var(--fg);background-color:var(--bg)}section,footer{display:grid;place-items:center;padding:2rem}.inverse{color:var(--bg);background-color:var(--fg)}.inverse ::selection{color:var(--cement);background-color:var(--clay)}.maxwidth{max-width:1440px;padding-inline:44px;margin:0 auto}.comment{width:212px;color:var(--clay);font-size:11px;line-height:14px}.control{position:absolute;top:1rem;right:1rem;z-index:1}.diagram{color:var(--clay)}.lg{font-size:1.4rem}.accent{color:var(--accent)}header{position:relative;padding:44px}h1{font-size:7rem;margin:260px 0 66px}h2{font-size:2rem}a{color:currentColor;transition:color .15s var(--flick)}a:hover{color:var(--accent)}menu>a{line-height:2;text-decoration:none}sup{font-size:.6em;vertical-align:top;margin-left:-.6em}#title{width:568px;line-height:1.1}#version{font-size:1.6rem;line-height:6rem;vertical-align:top;margin-left:.5em}#departures{position:relative;left:-290px;font-size:44px;margin:114px 0 156px}@keyframes bloop{0%{background-color:transparent}to{background-color:var(--foam)}}#departures .blink{animation:.5s steps(2) alternate infinite bloop}#countdown{position:relative;height:896px;background-image:url(/assets/pad.jpg);background-size:cover;background-position:center;background-size:calc(100% + var(--scroll) * 3);display:grid;place-items:center}#count{font-size:440px;color:var(--flux);z-index:1}#countdown>canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:min(90%,calc((var(--scroll) - 12%) * 11))}#diagram1{position:relative;display:flex;align-items:center;gap:114px;padding-top:198px;padding-bottom:28px}#diagram1 .comment{position:absolute;top:132px;left:228px}#proto{margin-top:60px;font-size:11px}#keeb{font-size:16.5px}#tester{position:relative;width:100%;padding-top:160px;cursor:cell}#apollo1{position:absolute;transform:rotate(90deg);top:120px;left:-391px;-webkit-user-select:none;user-select:none}#apollo2{position:absolute;top:1920px;left:-291px;-webkit-user-select:none;user-select:none}.split{display:grid;grid-template-columns:668px 1fr;gap:130px;position:relative}#glyph-specimen{--notch: 48px;position:sticky;top:44px;display:grid;grid-template-rows:232px 96px 288px 96px 1fr;color:var(--carbon);width:668px;height:848px;clip-path:polygon(0 0,calc(100% - var(--notch)) 0,100% var(--notch),100% 100%,0 100%,0 0);background-color:var(--cement)}#glyph-specimen:before{position:absolute;content:"";width:6px;height:22px;border-radius:2px;top:165px;left:22px;background-color:currentColor}#glyph-specimen:after{position:absolute;content:"";width:6px;height:22px;border-radius:2px;bottom:165px;left:22px;background-color:currentColor}#big{position:absolute;top:88px;left:166px;font-size:528px}.anatomy{border-top:1px solid;display:flex;align-items:flex-start;justify-content:space-between;padding:6px 22px}.specimen-details{display:flex;align-items:flex-start;justify-content:space-between;padding:94px 22px 0}.specimen-name{text-wrap:balance}#glyph-list{display:flex;flex-wrap:wrap}.segment-header{color:var(--clay);font-size:11px;margin:0 auto 10px 16px;padding-top:66px;width:100%}.glyph-item{display:flex;flex-direction:column;gap:1rem;align-items:center;font-size:44px;padding:.4rem;--b: 2px;--c: var(--accent);--w: 12px;border:var(--b) solid transparent}.glyph-item:hover{border:var(--b) solid #0000;--_g: #0000 90deg, var(--c) 0;--_p: var(--w) var(--w) border-box no-repeat;background:conic-gradient(from 90deg at top var(--b) left var(--b),var(--_g)) 0 0 / var(--_p),conic-gradient(from 180deg at top var(--b) right var(--b),var(--_g)) 100% 0 / var(--_p),conic-gradient(from 0deg at bottom var(--b) left var(--b),var(--_g)) 0 100% / var(--_p),conic-gradient(from -90deg at bottom var(--b) right var(--b),var(--_g)) 100% 100% / var(--_p)}.glyph-item .glyph-example{width:1ch;padding:5px;background-color:transparent;transition:background-color .15s var(--flick)}.glyph-item[data-selected=true] .glyph-example{color:var(--carbon);background-color:var(--accent)}.glyph-item[data-selected=true] .glyph-detail{color:var(--accent)}.glyph-example{flex:1}.glyph-detail{display:block;font-size:1rem}[data-scope=select][data-part=trigger]{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-width:128px;height:24px;background:var(--bg);border:1px solid var(--fg);font-family:inherit}[data-scope=select][data-part=trigger]:hover{color:var(--bg);background-color:var(--accent)}[data-scope=select][data-part=content]{background:var(--bg);border:1px solid var(--fg);padding:.5rem}[data-scope=select][data-part=item]{display:grid;grid-template-columns:.7rem 1fr;gap:.5rem;padding:.2rem}[data-scope=select][data-part=item]:hover{color:var(--bg);background-color:var(--accent)}.editor{position:relative;width:100%;max-width:824px}.cm-editor .cm-content{font-family:Departure Mono} diff --git a/index.html b/index.html index fa86d57..1cac9de 100644 --- a/index.html +++ b/index.html @@ -5,8 +5,8 @@ Departure Mono - - + +