jankboard/client/public/splashscreen.html

24 lines
311 KiB
HTML
Raw Normal View History

2024-03-10 23:35:27 -07:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Jankboard 2</title>
<script type="module" crossorigin>var Mt=Object.defineProperty;var jt=(t,e,n)=>e in t?Mt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var X=(t,e,n)=>(jt(t,typeof e!="symbol"?e+"":e,n),n);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))i(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const l of r.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&i(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();function A(){}const Q=t=>t;function vt(t){return t()}function mt(){return Object.create(null)}function S(t){t.forEach(vt)}function F(t){return typeof t=="function"}function it(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}function zt(t){return Object.keys(t).length===0}function tt(t){const e=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return e?[parseFloat(e[1]),e[2]||"px"]:[t,"px"]}const bt=typeof window<"u";let rt=bt?()=>window.performance.now():()=>Date.now(),ot=bt?t=>requestAnimationFrame(t):A;const M=new Set;function xt(t){M.forEach(e=>{e.c(t)||(M.delete(e),e.f())}),M.size!==0&&ot(xt)}function st(t){let e;return M.size===0&&ot(xt),{promise:new Promise(n=>{M.add(e={c:t,f:n})}),abort(){M.delete(e)}}}function w(t,e){t.appendChild(e)}function kt(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function It(t){const e=v("style");return e.textContent="/* empty */",Rt(kt(t),e),e.sheet}function Rt(t,e){return w(t.head||t,e),e.sheet}function O(t,e,n){t.insertBefore(e,n||null)}function $(t){t.parentNode&&t.parentNode.removeChild(t)}function Bt(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}function v(t){return document.createElement(t)}function U(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function At(t){return document.createTextNode(t)}function lt(){return At(" ")}function Dt(){return At("")}function d(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function Ft(t){return Array.from(t.childNodes)}function I(t,e,n,i){n==null?t.style.removeProperty(e):t.style.setProperty(e,n,i?"important":"")}function Tt(t,e,{bubbles:n=!1,cancelable:i=!1}={}){return new CustomEvent(t,{detail:e,bubbles:n,cancelable:i})}const K=new Map;let W=0;function Ut(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}function Vt(t,e){const n={stylesheet:It(e),rules:{}};return K.set(t,n),n}function Z(t,e,n,i,o,r,l,s=0){const u=16.666/i;let c=`{
`;for(let g=0;g<=1;g+=u){const y=e+(n-e)*r(g);c+=g*100+`%{${l(y,1-y)}}
`}const p=c+`100% {${l(n,1-n)}}
}`,a=`__svelte_${Ut(p)}_${s}`,_=kt(t),{stylesheet:m,rules:f}=K.get(_)||Vt(_,t);f[a]||(f[a]=!0,m.insertRule(`@keyframes ${a} ${p}`,m.cssRules.length));const h=t.style.animation||"";return t.style.animation=`${h?`${h}, `:""}${a} ${i}ms linear ${o}ms 1 both`,W+=1,a}function J(t,e){const n=(t.style.animation||"").split(", "),i=n.filter(e?r=>r.indexOf(e)<0:r=>r.indexOf("__svelte")===-1),o=n.length-i.length;o&&(t.style.animation=i.join(", "),W-=o,W||Kt())}function Kt(){ot(()=>{W||(K.forEach(t=>{const{ownerNode:e}=t.stylesheet;e&&$(e)}),K.clear())})}let D;function B(t){D=t}function Wt(){if(!D)throw new Error("Function called outside component initialization");return D}function Lt(t){Wt().$$.on_mount.push(t)}const q=[],ht=[];let j=[];const _t=[],Zt=Promise.resolve();let et=!1;function Jt(){et||(et=!0,Zt.then(Ot))}function b(t){j.push(t)}const Y=new Set;let P=0;function Ot(){if(P!==0)return;const t=D;do{try{for(;P<q.length;){const e=q[P];P++,B(e),Gt(e.$$)}}catch(e){throw q.length=0,P=0,e}for(B(null),q.length=0,P=0;ht.length;)ht.pop()();for(let e=0;e<j.length;e+=1){const n=j[e];Y.has(n)||(Y.add(n),n())}j.length=0}while(q.length);for(;_t.length;)_t.pop()();et=!1,Y.clear(),B(t)}function Gt(t){if(t.fragment!==null){t.update(),S(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(b)}}function Ht(t){const e=[],n=[];j.forEach(i=>t.indexOf(i)===-1?e.push(i):n.push(i)),n.forEach(i=>i()),j=e}let R;function ft(){return R||(R=Promise.resolve(),R.then(()=>{R=null})),R}function C(t,e,n){t.dispatchEvent(Tt(`${e?"intro":"outro"}${n}`))}const V=new Set;let x;function Et(){x={r:0,c:[],p:x}}function Ct(){x.r||S(x.c),x=x.p}function k(t,e){t&&t.i&&(V.delete(t),t.i(e))}function z(t,e,n,i){if(t&&t.o){if(V.has(t))return;V.add(t),x.c.push(()=>{V.delete(t),i&&(n&&t.d(1),i())}),t.o(e)}else i&&i()}const ct={duration:0};function nt(t,e,n){const i={direction:"in"};let o=e(t,n,i),r=!1,l,s,u=0;function c(){l&&J(t,l)}function p(){const{delay:_=0,duration:m=300,easing:f=Q,tick:h=A,css:g}=o||ct;g&&(l=Z(t,0,1,m,_,f,g,u++)),h(0,1);const y=rt()+_,L=y+m;s&&s.abort(),r=!0,b(()=>C(t,!0,"start")),s=st(E=>{if(r){if(E>=L)return h(1,0),C(t,!0,"end"),c(),r=!1;if(E>=y){const N=f((E-y)/m);h(N,1-N)}}return r})}let a=!1;return{start(){a||(a=!0,J(t),F(o)?(o=o(i),ft().then(p)):p())},invalidate(){a=!1},end(){r&&(c(),r=!1)}}}function gt(t,e,n){const i={direction:"out"};let o=e(t,n,i),r=!0,l;const s=x;s.r+=1;let u;function c(){const{delay:p=0,duration:a=300,easing:_=Q,tick:m=A,css:f}=o||ct;f&&(l=Z(t,1,0,a,p,_,f));const h=rt()+p,g=h+a;b(()=>C(t,!1,"start")),"inert"in t&&(u=t.inert,t.inert=!0),st(y=>{if(r){if(y>=g)return m(0,1),C(t,!1,"end"),--s.r||S(s.c),!1;if(y>=h){const L=_((y-h)/a);m(1-L,L)}}return r})}return F(o)?ft().then(()=>{o=o(i),c()}):c(),{end(p){p&&"inert"in t&&(t.inert=u),p&&o.tick&&o.tick(1,0),r&&(l&&J(t,l),r=!1)}}}function G(t,e,n,i){let r=e(t,n,{direction:"both"}),l=i?0:1,s=null,u=null,c=null,p;function a(){c&&J(t,c)}function _(f,h){const g=f.b-l;return h*=Math.abs(g),{a:l,b:f.b,d:g,duration:h,start:f.start,end:f.start+h,group:f.group}}function m(f){const{delay:h=0,duration:g=300,easing:y=Q,tick:L=A,css:E}=r||ct,N={start:rt()+h,b:f};f||(N.group=x,x.r+=1),"inert"in t&&(f?p!==void 0&&(t.inert=p):(p=t.inert,t.inert=!0)),s||u?u=N:(E&&(a(),c=Z(t,l,f,g,h,y,E)),f&&L(0,1),s=_(N,g),b(()=>C(t,f,"start")),st(T=>{if(u&&T>u.start&&(s=_(u,g),u=null,C(t,s.b,"start"),E&&(a(),c=Z(t,l,s.b,s.duration,0,y,r.css))),s){if(T>=s.end)L(l=s.b,1-l),C(t,s.b,"end"),u||(s.b?a():--s.group.r||S(s.group.c)),s=null;else if(T>=s.start){const qt=T-s.start;l=s.a+s.d*y(qt/s.duration),L(l,1-l)}}return!!(s||u)}))}return{run(f){F(r)?ft().then(()=>{r=r({direction:f?"in":"out"}),m(f)}):m(f)},end(){a(),s=u=null}}}function Qt(t){return(t==null?void 0:t.length)!==void 0?t:Array.from(t)}function St(t){t&&t.c()}function ut(t,e,n){const{fragment:i,after_update:o}=t.$$;i&&i.m(e,n),b(()=>{const r=t.$$.on_mount.map(vt).filter(F);t.$$.on_destroy?t.$$.on_destroy.push(...r):S(r),t.$$.on_mount=[]}),o.forEach(b)}function at(t,e){const n=t.$$;n.fragment!==null&&(Ht(n.after_up
transform: ${c} translate(${(1-h)*a}${_}, ${(1-h)*m}${f});
opacity: ${u-p*g}`}}function ne(t,{delay:e=0,speed:n,duration:i,easing:o=Nt}={}){let r=t.getTotalLength();const l=getComputedStyle(t);return l.strokeLinecap!=="butt"&&(r+=parseInt(l.strokeWidth)),i===void 0?n===void 0?i=800:i=r/n:typeof i=="function"&&(i=i(r)),{delay:e,duration:i,easing:o,css:(s,u)=>`
stroke-dasharray: ${r};
stroke-dashoffset: ${u*r};
`}}function ie(t,e){const{delay:n=0,duration:i=400,easing:o=Pt}=e,r=parseFloat(getComputedStyle(t).strokeWidth);return{delay:n,duration:i,easing:o,css:l=>`opacity: ${l}; stroke-width: ${l*r}`}}const re="M45.41,108.86A21.81,21.81,0,0,1,22,100.18,20.2,20.2,0,0,1,18.53,84.9a19,19,0,0,1,.65-2.57l.52-1.58,1.41,1a35.32,35.32,0,0,0,10.75,5.37l1,.31-.1,1a6.2,6.2,0,0,0,1.11,4.08A6.57,6.57,0,0,0,41,95.19a6,6,0,0,0,1.68-.74L70.11,76.94a5.76,5.76,0,0,0,2.59-3.83,6.09,6.09,0,0,0-1-4.6,6.58,6.58,0,0,0-7.06-2.62,6.21,6.21,0,0,0-1.69.74L52.43,73.31a19.88,19.88,0,0,1-5.58,2.45,21.82,21.82,0,0,1-23.43-8.68A20.2,20.2,0,0,1,20,51.8a19,19,0,0,1,8.56-12.7L56,21.59a19.88,19.88,0,0,1,5.58-2.45A21.81,21.81,0,0,1,85,27.82,20.2,20.2,0,0,1,88.47,43.1a19,19,0,0,1-.65,2.57l-.52,1.58-1.41-1a35.32,35.32,0,0,0-10.75-5.37l-1-.31.1-1a6.2,6.2,0,0,0-1.11-4.08,6.57,6.57,0,0,0-7.06-2.62,6,6,0,0,0-1.68.74L36.89,51.06a5.71,5.71,0,0,0-2.58,3.83,6,6,0,0,0,1,4.6,6.58,6.58,0,0,0,7.06,2.62,6.21,6.21,0,0,0,1.69-.74l10.48-6.68a19.88,19.88,0,0,1,5.58-2.45,21.82,21.82,0,0,1,23.43,8.68A20.2,20.2,0,0,1,87,76.2a19,19,0,0,1-8.56,12.7L51,106.41a19.88,19.88,0,0,1-5.58,2.45",oe="M65,34 L37,52 A1 1 0 0 0 44 60 L70.5,44.5 A1 1 0 0 0 65,34Z M64,67 L36,85 A1 1 0 0 0 42 94 L68,77.5 A1 1 0 0 0 64,67Z";function se(t,e,n){const i=t.slice();return i[1]=e[n],i[3]=n,i}function yt(t){let e,n,i,o,r,l,s,u,c,p,a,_=Qt("JANKBOARD"),m=[];for(let f=0;f<_.length;f+=1)m[f]=le(se(t,_,f));return{c(){e=U("svg"),n=U("g"),i=U("path"),r=U("path"),u=lt(),c=v("div");for(let f=0;f<m.length;f+=1)m[f].c();I(i,"stroke","#ff3e00"),I(i,"fill","#ff3e00"),I(i,"stroke-width","50"),d(i,"d",oe),d(i,"class","svelte-pb5q44"),I(r,"stroke","#ff3e00"),I(r,"stroke-width","2"),d(r,"stroke-linecap","round"),d(r,"d",re),d(r,"class","svelte-pb5q44"),d(n,"opacity","0.35"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 103 124"),d(e,"class","svelte-pb5q44"),d(c,"class","centered svelte-pb5q44")},m(f,h){O(f,e,h),w(e,n),w(n,i),w(n,r),O(f,u,h),O(f,c,h);for(let g=0;g<m.length;g+=1)m[g]&&m[g].m(c,null);a=!0},i(f){if(!a){f&&(o||b(()=>{o=nt(i,ie,{duration:400,delay:1e3,easing:te}),o.start()})),f&&(l||b(()=>{l=nt(r,ne,{duration:1e3}),l.start()})),s&&s.end(1);for(let h=0;h<_.length;h+=1)k(m[h]);p&&p.end(1),a=!0}},o(f){f&&(s=gt(n,H,{duration:200})),f&&(p=gt(c,ee,{y:-20,duration:800})),a=!1},d(f){f&&($(e),$(u),$(c)),f&&s&&s.end(),Bt(m,f),f&&p&&p.end()}}}function le(t){let e,n;return{c(){e=v("span"),e.textContent=`${t[1]}`,d(e,"class","svelte-pb5q44")},m(i,o){O(i,e,o)},p:A,i(i){n||b(()=>{n=nt(e,H,{delay:1e3+t[3]*150,duration:800}),n.start()})},o:A,d(i){i&&$(e)}}}function fe(t){let e,n=t[0]&&yt(t);return{c(){n&&n.c(),e=Dt()},m(i,o){n&&n.m(i,o),O(i,e,o)},p(i,[o]){i[0]?n?o&1&&k(n,1):(n=yt(i),n.c(),k(n,1),n.m(e.parentNode,e)):n&&(Et(),z(n,1,1,()=>{n=null}),Ct())},i(i){k(n)},o(i){z(n)},d(i){i&&$(e),n&&n.d(i)}}}function ce(t,e,n){let i=!1;return Lt(()=>{n(0,i=!0)}),[i]}class ue extends pt{constructor(e){super(),dt(this,e,ce,fe,it,{})}}function wt(t){let e,n,i;return{c(){e=v("p"),e.textContent="Loading 3D assets...please wait",d(e,"class","text-5xl text-slate-300 absolute bottom-20 animate-pulse")},m(o,r){O(o,e,r),i=!0},i(o){i||(o&&b(()=>{i&&(n||(n=G(e,H,{duration:300},!0)),n.run(1))}),i=!0)},o(o){o&&(n||(n=G(e,H,{duration:300},!1)),n.run(0)),i=!1},d(o){o&&$(e),o&&n&&n.end()}}}function ae(t){let e,n,i,o,r,l;i=new ue({});let s=t[0]&&wt();return{c(){e=v("div"),n=v("div"),St(i.$$.fragment),o=lt(),s&&s.c(),d(n,"class","max-w-64"),d(e,"class","absolute w-screen h-screen flex justify-center items-center flex-col overflow-hidden select-none bg svelte-1hm2i9q")},m(u,c){O(u,e,c),w(e,n),ut(i,n,null),w(e,o),s&&s.m(e,null),l=!0},p(u,[c]){u[0]?s?c&1&&k(s,1):(s=wt(),s.c(),k(s,1),s.m(e,null)):s&&(Et(),z(s,1,1,()=>{s=null}),Ct())},i(u){l||(k(i.$$.fragment,u),k(s),u&&b(()=>{l&&(r||(r=G(e,$t,{duration:300,amount:.5},!0)),r.run(1))}),l=!0)},o(u){z(i.$$.fragment,u),z(s),u&&(r||(r=G(e,$t,{duration:300,amount:.5},!1)),r.run(0)),l=!1},d(u){u&&$(e),at(i),s&&s.d(),u&&r&&r.end()}}}function de(t,e,n){let i=!1;return Lt(()=>{setTimeout(()=>{n(0,i=!0)},3e3)}
2024-03-10 23:35:27 -07:00
</script>
<style rel="stylesheet" crossorigin>*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000
2024-03-10 23:35:27 -07:00
</style>
</head>
<body>
<div id="app"></div>
</body>
</html>