E isso só custou uma única taxa de $5, para agora estar eternamente disponivel em milhares de nós espalhados pelo globo e com sua história protegida por milhares de dispositivos de metal, gastando milhões de dólares em energia.
Para o terror dos maxis, isso também roubou o lugar de 12 transações comuns 1 input/2 output.
̀�ɿw�t���]����{�xuܙE{�a���cordtext/html;charset=utf-8M<!DOCTYPE html><html><head><title>Yet Another Doom Clone</title></head><body><style>body{margin:0px;background:#000}#qQ{position:absolute;left:35vw;top:4em;font-size:2em;font-variant:small-caps;color:#aaa;animation:z 9s;}#cQ{height:100%;width:100%}#hQ{top:0px;width:10vw;height:2vh;border:3px solid #008;border-radius:3px;display:none}#fps{display:none}#hW{height:2vh;background:#00a}@keyframes q{50%{opacity:0}}.b{animation:q 1s linear infinite}@keyframes z{from{opacity:0}to{opacity:1}}</style><canvas id=cQ></canvas><Mdiv id=qQ><div id=hE>Yet Another Doom Clone<br><br><div class=b>Loading... <span id=jQ></span></div><br><br>Move: WASD<br>Aim/Shoot: Mouse/Click<br><br><br><br>By Nicholas Carlini</div><div id=hQ><div id=hW></div></div></div></body><script>class e{constructor(){var V,G,K,k,D,H,F,Z,N,X;this.t={},this.i=()=>{var t=this.t;G=100/(t.f**2+.001),K=100/(t.g**2+.001),k=1-t.h**3*.01,D=1e-6*-(t.i**3),3==t.a&&(N=.5-t.n/2,X=5e-5*-t.o),H=1+t.l**2*(0<t.l?-.9:10),F=0,Z=1==t.m?0:(1-t.m)**2*2e4+32},this.h=()=>{this.i();var t=this.t;Mreturn V=[t.b**2*1e5,t.c**2*1e5,t.e**2*1e5,1],P(V)},this._=(t,i)=>{var s,h,o,e,_=this.t,r=1!=_.s||_.v,n=_.v**2*.1,a=1+3e-4*_.w,l=_.s**3*.1,u=_.x**2,c=_.q||_.r,d=_.q**2*(_.q<0?-1020:1020),v=_.p?32+((1-_.p)**2*2e4|0):0,w=_.j/2,m=_.a,g=V[0],p=5/(1+_.u**2*20)*(.01+l),p=1-S(p,0,.8),f=!1,x=0,z=0,b=0,y=0,A=0,Q=0,j=0,M=0,C=0,B=0,T=new Array(1024),R=J(32).map(t=>O());T.fill(0);for(var q=0;q<i;q++){if(f)return q;v&&++M>=v&&(M=0,this.i()),Z&&++F>=Z&&(Z=0,G*=H),K<(G*=k+=D)&&(G=K,f=0<_.g),h=G,0<w&&(B+=_.k**2*.01,h*=1+Y(B)*w),h=M0|S(h,8,1e9),3==m&&(N=S(N+X,0,.5)),++z>g&&(z=0,g=V[++x]);var E=z/V[x],E=[E,1+2*(1-E)*_.d,1-E,0][x];f|=3==x,c&&(d+=_.r**3*.2,(o=0|d)<0?o=-o:1023<o&&(o=1023)),r&&a&&(n=S(n*a,1e-5,.1)),t[q]=P(J(8).map(t=>(h<=++Q&&(Q%=h,m<=1)&&J(R.length).map(t=>{1==m?(R[t]=C=(C+.02*O())/1.02,R[t]*=3.5):R[t]=O()}),e=[R[W(32*Q/h|0)],R[W(32*Q/h|0)],NaN,Q/h<N?.5:-.5,e=1-Q/h*2][m],r&&(s=A,l=S(l*(1+1e-4*_.t),0,.1),y=1!=_.s?(y+(e-A)*l)*p:(A=e,0),e=b=(b+((A+=y)-s))*(1-n)),c&&(T[j%1024]=e,e+=T[(j-o+1024)%1024],j++),e)))*E*u*(.5+1.5*(1==m))}retMurn i}}}var _={};function u(i){var t,s,h,o;return _[i]||(t=new e,s=t.t,J(24).map(t=>s[String.fromCharCode(97+t)]=i[t]||0),s.c=Ei(s.c,.01),h=t.h(),o=J(0|h),t._(o,h),_[i]=o)}var d,v={},o=new AudioContext,w=(t,i)=>{var s=o.createBuffer(1,t.length,48e3),t=(s.copyToChannel(new Float32Array(t),0,0),o.createBufferSource()),h=o.createStereoPanner();return t.buffer=s,t.connect(h),h.pan.value=i?K(I(i,j.l)+j.u+k/2):0,h.connect(o.destination),t.start(),t},h=[];function D(){h.length<2&&!Ai&&di&&d.map((t,s)=>t.map(i=>h.push(setTMimeout(t=>{h.shift(),w(i,p(20,-40,0)),1==h.length&&D()},200*s+400))))}var t,c=t=>i(t).map(P);function r(){var t=[null,19,17,19,15,19,14,19,12,19,11,19,12,19,14,19,15,19,7,19,9,19,11,19,12,19,11,19,12,19,14,19],a=[[0,1,1,t],[5,1,2,t,[15,16,17,10,8,7,8,10,12,4,5,7,8,7,8,4]],[0,2,1,[20,24,20,24,25,17,25,17,22,19,22,19,24,15,24,15,20,17,20,17,23,14,23,14,19,15,19,15,17,11,17,11,15,12,15,12,14,8,14,8],[5,17,5,17,12,17,12,17,10,13,10,13,10,13,10,13,10,15,10,15,10,15,10,15,8,12,8,12,8,12,8,12,8,14,8,14,8,14,8,14,7,11,7,11M,7,11,7,11,3,12,3,12,3,12,3,12,2,8,2,8,2,8,2,8,0,19,0,19,0,19,0,19,2,5,2,5,2,5,2,5]],[12,1,2,t,[3,2,0,5,3,2,3,-1,0,-1,0,2,3,2,3,-1]],[12,1,4,[15,19,14,19,12,19,10,19,8,19,10,19,12,17,20,17,14,17,12,17,10,17,20,17,7,17,8,17,10,15,7,15,12,15,10,15,8,15,7,15,5,15,19,15,8,14,5,14,11,14,8,14,7,14,5,14,3,14,5,14],[7,12,12,null,10,10,10,null,9,9,9,null,7,7,7],[0,3,5,null,-2,2,3,null,-4,0,2,null,-5,-1,12]],[0,1,2,[19,24,15,24,14,26,14,26,15,24,15,24,20,23,20,23,19,24,15,24,14,26,14,26,15,24,15,24],[null,12,11,11,12,12,14,nMull,null,12,11,11,12,12,14],[null,3,8,8,7,7,17,null,null,7,8,8,7,7,6]]],l=(d=J(300).map(t=>[]),0),s=t=>{var[_,r,n,...i]=a.shift();i.map((t,e)=>t.map((t,i)=>{var s,h,o;s=!e&&a.length<5,i=i*(e?n:r),h=e?n:r,null!=(t=null==t?null:t+_*!e)&&(o=.11*h+.13,d[i+l].push(c([t/12,t/12-1].map(t=>(t=2**(t/2)*.25,u(s?[3,.1,o,.1,.3,t,,,,,,,,.5,,,-1,,.2,,,,,.1]:[3,.1,.07+o,.3,.5,t,,,,,,,,,,,,,.15,,,,,.1]))))))})),l+=r*i[0].length,jQ.innerHTML=6-a.length+"/6",setTimeout(a.length?s:gi,1)};setTimeout(s,1)}var m,g,H=(s,h)=>s.slice(0,-1)M.map((t,i)=>h(t,s[i+1],i)),i=s=>s[0].map((t,i)=>s.map(t=>t[i])),J=(t,s)=>Array(t).fill().map((t,i)=>i+(s||0)),a=(i,s)=>J(i.length/s).map(t=>i.slice(t*s,(t+1)*s)),O=t=>2*qi()-1,F=t=>p(O(),O(),O());var Z=(t,s,h)=>[].concat(...t.map(i=>s.map(t=>h(i,t)))),N=(t,i,s)=>t.g(i).m(s.g(i)).v(),p=(t,i,s)=>new st(t,i,s),X=t=>p(...t),s=t=>t.reduce((t,i)=>t.p(i)),L=t=>s(t).A(1/t.length),I=(t,i)=>Math.atan2(t.g(i).x,t.g(i).y),$=(t,i)=>(t.push(i),t),S=(t,i,s)=>Math.min(Ei(i,t),s),P=t=>t.reduce((t,i)=>t+i),f=t=>[1,0,0,0,0,K(t),-Y(t)M,0,0,Y(t),K(t),0,0,0,0,1],U=t=>[K(t),0,-Y(t),0,0,1,0,0,Y(t),0,K(t),0,0,0,0,1],x=t=>[K(t),-Y(t),0,0,Y(t),K(t),0,0,0,0,1,0,0,0,0,1],tt=t=>[1,0,0,t[0],0,1,0,t[1],0,0,1,t[2],0,0,0,1],it=tt([0,0,0]);class st{constructor(t,i,s){this.x=+t||0,this.y=+i||0,this.z=+s||0}p(t){return p(this.x+t.x,this.y+t.y,this.z+t.z)}g(t){return this.p(t.j())}j(){return this.A(-1)}A(t){return p(this.x*t,this.y*t,this.z*t)}M(t){return p(this.x*t.x,this.y*t.y,this.z*t.z)}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z}C(){return[this.x,this.y,tMhis.z]}B(){return $(this.C(),0)}T(t,i){return this.A(1-i).p(t.A(i))}m(t){return p(this.y*t.z-this.z*t.y,this.z*t.x-this.x*t.z,this.x*t.y-this.y*t.x)}R(){return X(this.C())}V(){return this.dot(this)}G(){return this.V()**.5}K(t){return this.g(t).G()}noz(){return p(this.x,this.y,0)}v(){return this.A(1/(this.G()+1e-30))}id(){return""+this.C().map(t=>t.toFixed(4))}}function ht(t,i,s,h){var t=t.g(s),o=h.g(s),i=p(-i.y,i.x,0);if(s=(o.x*t.y-o.y*t.x)/o.dot(i),h=t.dot(i)/o.dot(i),0<=s&&0<=h&&h<=1)return[s,h]}var z=new st(0,0,M0),ot=p(1,0,0),et=p(0,1,0),b=p(0,0,1);function _t(t){var s=[],h=[],o=[];return t.map(i=>{s.push(a(Array.from(i.k),3).map(t=>g(i.D,X(t)).p(i.l).C())),h.push(a(Array.from(i.H),3).map(t=>g(i.D,X(t)).v().C())),o.push(Array.from(i.F))}),new l([s.flat(2),h.flat(2)],z,it,!1,o.flat())}class l{constructor(t,i,s,h,o,e){this.k=new Float32Array(t[0]),this.H=new Float32Array(t[1]),this.Z=new Float32Array(t[0].map(t=>k/2)),this.l=i,this.N=[y.createBuffer(),y.createBuffer(),y.createBuffer(),y.createBuffer()],this.D=s||it,this.X=hM,o=o||[1,1,1],this.F=new Float32Array(o.length==t[0].length?o:Array(t[0].length/3).fill(o).flat()),[this.J,this.O]=e||[0,0],this.S()}S(){[this.k,this.H,this.F,this.Z].map((t,i)=>{y.ned(y.YEA,this.N[i]),y.ftf(y.YEA,t,35048)})}Y(){this.X&&M==ui||(y.uniform4fv(M.f,this.l.j().B()),y.uniformMatrix4fv(M.e,!1,this.D),[M.w,M.F,M.N,M.L].map((t,i)=>{void 0!==t&&-1!==t&&(y.rab(t),y.ned(y.YEA,this.N[i]),y.bet(t,3,5126,!1,0,0))}),y.uniform1i(M.h,this.O),y.uniform1i(M.r,this.J-20),y.uniform1i(M.l,this.X),y.ayw(y.REA,0,this.k.lenMgth/3))}}var rt=()=>{var t=i=>`(a,b)=>[${a(J(16),4).map(o=>i[0].map((t,h)=>i.reduce((t,i,s)=>`${t}+b[${i[h]}]*a[${o[s]}]`,0))).flat()}]`,s=(m=eval(t(a(J(16),4))),eval(t(a(J(4),1))));g=(t,i)=>X(s(t,i.B()))};function n(t,s,i,h,o){var e=z,_=(t=a(t,2).map(t=>e=p(0,...t).p(e)),J(s).map(i=>t.map(t=>g(x(2*k/s*i),t))).flat()),r=t.length,n=Z(J(r-1),J(s),(t,i)=>[0+t+i*r,1+t+i*r,r+1+t+i*r,r+t+i*r]);return h&&(n.push(J(s).map(t=>t*r)),n.push(J(s).reverse().map(t=>t*r+r-1))),_=_.map(o||(t=>t)),nt(n=n.map(t=>t.map(t=>_[t%_.lengtMh])))}function nt(t){var s=[],h=[],o={};return t.map(s=>H(s,(t,i)=>[s[0],t,i]).slice(1)).flat(1).map(t=>{var i=N(...t);t.map((t,i)=>o[t.id()]=$(o[t.id()]||[],h.length+i)),s.push(...t),h.push(i,i,i)}),s.map(t=>{var t=o[t.id()],i=t.map(t=>h[t]),s=L(i);i.every(t=>.8<s.dot(t))&&t.map(t=>h[t]=s)}),[s.map(t=>t.C()).flat(),h.map(t=>t.C()).flat()]}var at=`#version 300 es\n
precision mediump float;
in vec4 I,n,O,P,a[5];
uniform bool l,d[5];
uniform int b,r,h;
uniform vec4 t,g[5];
uniform float k,c[5];
uniform sampler2D E[M9];
out vec4 B;
vec4 v(int i,vec2 R){
switch(i){
${J(9).map(t=>"case "+t+":return texture(E["+t+"],R)").join`;`};
}
}`;function lt(t,i,s){i=t.createShader(i);return t.ecd(i,s),t.lep(i),i}function ut(s,t){var h=s.createProgram(),i=`#version 300 es\n
precision mediump float;
in vec4 w,F,N,L;
out vec4 I,n,O,P;
out vec4 a[5];
uniform vec4 f,g[5];
uniform mat4 e,p[5];
void main(){
n=w*e-f;
I=F*e;
for(int i=0;i<5;i++){
gl_Position=a[i]=p[i]*n;
}
O=N;
P=L;
}
`,o=(s.attachShader(h,lt(s,s.XET,i)),s.attachShaMder(h,lt(s,s.TEG,t)),s.kak(h),{}),e=!0;return(at+i).match(/[a-zA-Z_]+(\[[0-9]\])?/g).map(i=>{var t=[i];0<i.indexOf`[`&&(t=J(32).map(t=>i.replace(/[0-9]/,t))),"in"==i&&(e=!0),"uniform"==i&&(e=!1),t.map(t=>o[t]=o[t]||(e?s.LoA(h,t):s.LoU(h,t)))}),[h,o]}class ct{constructor(t,i,s,h,o,e,_){this.l=t,this.W=i,this.u=e||0,this.L=_||0,this.I=0,this.$=1028,this.P=h,this.fov=s,this.U=i[0]/i[1],(this.it=this).tt=o,[this.J,this.st]=pt(o,h,...i)}ht(){y.med(y.MEM,this.st),zt.map((t,i)=>{y.eri(y.E1T+i),y.drd(y.X2T,t),y.uniform1i(MM[`E[${i+4}]`],i+19)}),$(B.slice(0,4),this).map((t,i)=>{var s,h,o,e;y.uniform4fv(M[`g[${i}]`],t.l.B()),y.uniformMatrix4fv(M[`p[${i}]`],!0,(s=t.it.fov,h=t.it.U,o=[U(t.it.I),f(t.it.L),x(t.it.u)].reduce(m),e=t.it.l,[[(s=Math.tan(k/2-s/2))/h,0,0,0,0,0,s,0,0,1,0,0,0,1,0,1],o,tt(e.j().C())].reduce(m))),4!=i&&(this.P||(y.eri(33984+t.id),y.drd(y.X2T,t.filter.J),y.uniform1i(M[`E[${i}]`],t.id)),y.uniform1i(M[`d[${i}]`],t.ot),y.uniform1f(M[`c[${i}]`],t.et))}),!Ai||dt++%200<10?(y.uniform1f(M.k,.05),B[0].et=1.2,B[1].et=1.2,B[2].Met=1.5,B[3].et=4):(y.uniform1f(M.k,1e-4),B[0].et=7,B[1].et=0,B[2].et=8,B[3].et=30),y._aa(y.FIO|y.FIT),y._lb(y.PST),this.$&&(y._lb(y.UCL),y.ccl(this.$)),y.vrw(0,0,this.W[0],this.W[1]),C.map(t=>{this.P&&t.gc||t.Y()}),y.med(y.MEM,null)}}var dt=0;function vt(t,s,h,i,o){var e=new l(n([5,0],4,0,1),z,null,!1),[_,r]=ut(y,at+`
vec4 K(int i,vec2 Q){
return v(i,(n.xy*.5+.5)+Q/vec2(${0|s}.,${0|h}.));
}
vec4 K(){
return K(0,vec2(0));
}
void main(void){
${t}
}`);[this.J,this.st]=pt(31,i==y.RG,s,h),this._t=(t,i)=>(y.med(y.MEMM,this.st),y.eaP(_),y.uniform4fv(r.t,G),[[t,"E[0]",30],[i,"E[1]",29]].map(t=>{t[0]&&(y.eri(33984+t[2]),y.drd(y.X2T,t[0]),y.uniform1i(r[t[1]],t[2]))}),y.uniform4fv(r.f,[0,0,0,0]),y.uniformMatrix4fv(r.e,!1,it),y.uniformMatrix4fv(r["p[4]"],!1,it),y._aa(y.FIO|y.FIT),y.vrw(0,0,s,h),M=r,e.Y(),this.J)}var wt=`
vec4 M;
for(float i=-6.;i<7.;i++){
for(float j=-6.;j<7.;j++){
M+=exp(-i*i/9.-j*j/9.)*K(0,vec2(j,i));
}
}
B=M/28.17;`;function mt(){var t=y._av.width,i=y._av.height,h=[new vt(`
B=dot(K(),vec4(21,72,7,0))>100.?K():vecM4(0,0,0,1);
`,t,i,6408),new vt("B=K();",t/4,i/4,6408),new vt(wt,t/4,i/4,6408),new vt("B=K();",t,i),new vt("B=vec4(t.rgb+t.w*(K(1,vec2(0))+K()).rgb,1.);",t,i,6408),new vt("B=K();",t,i,6408)];return h[5].st=null,3<xi?(j.st=null,J):s=>h.reduce((t,i)=>i._t(t,s),s)}function gt(t,i,s,h,o){var e=y.era();return y.eri(33984+t),y.drd(y.X2T,e),y.x2I(y.X2T,0,i?33328:34836,s,h,0,i?y.RG:6408,5126,o),e}function pt(t,i,s,h){var t=gt(t,i,s,h),i=(y.texParameteri(y.X2T,y.NET,y.LINEAR),y.texParameteri(y.X2T,10242,y._GM),y.texParameterMi(y.X2T,10243,y._GM),y.createFramebuffer()),o=(y.med(y.MEM,i),y.e2m(y.MEM,36064,y.X2T,t,0),y.createRenderbuffer());return y.eed(y.EED,o),y.rgd(y.EED,y.P1T,s,h),y.eem(y.MEM,36096,y.EED,o),[t,i]}var ft=0;class xt{constructor(t,i,s,h){var o=1024>>xi;this.l=t,this.it=new ct(t,[o,o],ft?2.5:1,!0,this.id=ft++,i,s),this.ot=h,this.J=this.it.J,this.et=2,this.filter=new vt(wt,o/2,o/2,y.RG)}rt(){this.it.l=this.l,y.eaP(ai),M=ui,y.eri(33984+this.id),y.drd(y.X2T,this.J),y.uniform1i(M.b,this.id),this.it.ht(),y.med(y.MEM,null),thisM.filter._t(this.J)}}var zt=[];function bt(t){zt.push(gt(10,0,256,256,new Float32Array(t))),y.generateMipmap(y.X2T),y.texParameteri(y.X2T,y.NET,y.PAE)}class yt{constructor(t,i,s,h,o){this.nt=t,this.at=!0,this.l=t.l,this.u=i,this.lt=s,this.ut=h,this.ct=p(-Y(this.u)*this.lt,K(this.u)*this.lt,0),this.offset=o||0}dt(){this.l=this.nt.l.p(b.A(this.offset)),this.vt=this.nt.vt}Y(){}wt(t){return this.nt.wt(t)}}class At extends yt{constructor(t,i,s,h){h<0&&(t.z-=h=-h),super({l:t,wt:t=>{}},i,s,h)}}class Qt extends At{constructMor(i,s){super(i,s,32,30),this.uid=s,this.gt=s==k/2?new l(si(p(1,64,40)),this.l,x(s),null,[1,1,1],[21,2]):_t(J(20).map(t=>new l(ti(p(1,1,40)),i.p(g(x(s),p(0,4*t-40,0))),U(k/2),1,Zt[8*s/k])))}Y(){this.gt.Y()}}class jt{constructor(t,i,s,h){this.gt=t,this.l=i,this.ft=s,this.xt=h,this.dz=.003,this.bt=.999,this.yt={}}dt(t){if(this.zt)return!0;this.ft.z-=this.dz*t,this.ft=this.ft.A(this.bt**t),this.l=this.l.p(this.ft.A(t/16));t=A.At(this.l,this.yt)+.5;this.xt?this.l.z<t&&(this.die&&this.die(),this.vt=!0):(this.l.z<t&&(thiMs.zt=this.ft.G()<.1,this.l.z=t,this.ft.z=-this.ft.z,this.ft=this.ft.A(.8)),Et(this.l,this.l.p(this.ft.A(2))).map(t=>{this.wt&&this.wt(t[1]),t[1].wt&&t[1].wt(this);var i=t[0].g(this.l);this.ft.y*=.1<W(i.y)?-1:1,this.ft.x*=.1<W(i.x)?-1:1,this.l=this.l.T(t[0],1.3)}))}Y(){this.gt.l=this.l,this.gt.Y()}}class Mt extends jt{constructor(t,i,s){super(t,i,s),this.Qt=F()}dt(t){super.dt(t)||(t=t*this.ft.G()*.005,this.gt.D=m(this.gt.D,[x(this.Qt.x*t),f(this.Qt.y*t),U(this.Qt.z*t)].reduce(m)))}}class Ct extends jt{constructor(t,Mi){t=t.p(i),super(new l(Pt,t,x(Math.atan2(i.y,i.x)),1,[5,0,0],[22,1]),t,i),this.dz=0,this.bt=1,this.start=q}dt(t){super.dt(t),this.l.K(j.l)<5&&(Ot(this.l),this.vt=!0),this.vt|=1e4<q-this.start}wt(){J(30).map(t=>C.push(new kt(this.l,2))),this.vt=!0}}var Bt=0;class Tt{constructor(t,i,s,h){this.l=t.p(b.A(5)),this.u=i||0,this.yt={},this.jt=0,this.Mt=0,this.ut=s,C.push(new yt(this,0,h,2*h,-s)),C.push(new yt(this,k/2,h,2*h,-s)),this.Bt=t,this.Tt=0,this.Rt=100*O(),this.qt=.1,this.Et=50,this.Vt=0}Gt(){C.map(t=>{t instanceoMf Tt&&t.l.K(this.l)<100&&!Et(t.l,this.l,!1,!0).length&&(t.Tt=t.jt=1)})}wt(t){t||(this.vt=!0,Bt++%(5+2*R)==0&&C.push(new Ft(this.l.noz().p(b.A(A.At(this.l,this.yt))))),J(30).map(t=>C.push(new kt(this.l,4))),this.Gt(),w(v.Kt),this.kt.map(t=>{C.push(new Mt(t,this.l.p(t.l),g(x(-j.u),p(O(),3+O(),1+qi()))))}))}dt(t){this.Ct=this.Ct||[Et(this.l,this.l.p(g(x(this.u),p(1e5,0,0))),0,1)[0][0].g(g(x(this.u),p(5,0,0))),this.l];var i=-I(this.l,j.l);if(qi()<1/t&&!this.Tt&&(W(i-this.u-k/2)<k/3||W(i-this.u-k/2)>2*k-k/3)&&!Et(j.l,thMis.l,!1,!0).length&&(this.Gt(),this.Tt=this.jt=1),0==this.jt){var i=this.l.p(p(K(this.u)*t/this.Et,Y(this.u)*t/this.Et,0)),t=A.At(i,this.yt),s=j.l.g(this.l).G()<10&&i.K(j.l)<this.l.K(j.l);if(s&&Ot(this.l),0<Et(this.l,this.Bt,!1,!0).length||s||W(t-this.l.z+this.ut)>5+this.Vt)return this.Bt=this.l.p(F().A(20).noz()),this.u=k*O(),void(this.jt+=qi()<.1);for(var s=this.Bt.g(this.l).noz(),h=Math.atan2(s.y,s.x);h-this.u>k;)this.u+=2*k;for(;this.u-h>k;)this.u-=2*k;this.u+=(h-this.u)*this.qt,this.l=i,this.l.z=t*(this.Vt<10)M+this.ut,s.G()<30/this.qt/this.Et&&(this.Tt?this.jt=1:this.Ct.unshift(this.Bt=this.Ct.pop()))}1==this.jt&&(s=j.l.g(this.l).v(),this.Bt=this.l.p(s.A(10)),qi()<.1&&!this.Vt?C.push(new Ct(this.l.p(b.A(5)),j.l.g(this.l.p(b.A(8))).v().A(2+R))):this.jt=0)}Y(s,h,o,e){this.Dt.map((t,i)=>t.D=m(x(this.u+k/2),e(Y(s[i]*this.Rt)/h[i]))),this.Dt.map((t,i)=>t.l=this.l.p(b.A(K(2*this.Rt)/3+5*(o<i)))),this.Dt.map(t=>t.Y())}}class Rt extends Tt{constructor(t,i){super(t,i,5,6),this.kt=[[[2,3,5],[1.5,0,-5]],[[2,3,5],[-1.5,0,-5]],[[1.5M,2,5],[-3.25,0,-5]],[[1.5,2,5],[3.25,0,-5]],[[5,2,5],[0,-.5,0],[.8,.8,.8]],[[4,5,4],[0,0,5],[.8,0,0]],[[.5,1.25,.5],[1,-2,7],[5,0,0]],[[.5,1.25,.5],[-1,-2,7],[5,0,0]],[[5,1,5],[0,1,0],[.4,.4,.4]]].map(t=>new l(si(X(t[0])),X(t[1]),null,!1,t[2])),this.Dt=[_t(this.kt.slice(4)),...this.kt.slice(0,4).map(t=>_t([t]))]}dt(t){super.dt(t),this.Rt<100&&R&&(this.Rt+=100,C.push(new qt(this.l,this.u))),this.Rt+=t/160}Y(){super.Y([0,1,-1,1,-1],[1,1,1,2,2],2,f)}}class qt extends Tt{constructor(t,i){super(t.R(),i,8,6),this.kt=thisM.Dt=[new l(ii(t=>t.M(p(3,3*(.7-t.x),.1)).g(ot.A(1.5))),z,0,0,[.3,.3,.3]),new l(ii(t=>g(x(k),t.M(p(3,3*(.7-t.x),.1)).g(ot.A(1.5)))),z,0,0,[.3,.3,.3]),new l(si(p(.8,3,.4)),z,0,0,[.3,.3,.3]),new l(ii(t=>t.M(p(.2,3.3,.2)).p(p(0,0,.1))),z,0,1,[8,0,0])],this.Ht=5*O(),this.qt=.1,this.Et=20,this.Vt=50}dt(t){super.dt(t),this.yt.o&&(this.ut+=.1*((this.yt.o.Ft+this.yt.o.Zt)/2+this.Ht-this.ut));var i=2*Y(this.Rt/5)+Y(this.Rt),t=(this.Rt+=t*(2+Y(this.Rt))/200,2*Y(this.Rt/5)+Y(this.Rt)),t=(this.l.z+=t-i,1-1.01**-j.l.g(this.l).noMz().V());this.l.z=this.l.z*t+(j.l.z-10)*(1-t)}Y(){super.Y([1,-1,0,0],[1,1,1,1],9,U)}}function Et(s,h,o,e){var _=h.g(s).noz(),r=_.G();return C.map(t=>{var i;return t.at&&(!e||t instanceof At)&&!(r+2*t.lt<((t.l.x-s.x)**2+(t.l.y-s.y)**2)**.5)&&(i=ht(s,_,t.l.p(t.ct),t.l.g(t.ct)))&&i[0]<=1&&t.l.z<s.T(h,i[0]).z&&s.T(h,i[0]).z<t.l.z+t.ut&&(!o||!(t instanceof Qt)||t.uid==k/2||i[1]%.05<.02)?[s.T(h,i[0]),t]:void 0}).concat(A.Nt.map(t=>{var i;if(o)return h.z<t.Zt&&(i=s.T(h,(t.Ft-s.z)/(h.z-s.z))),(i=t.Zt<h.z?s.T(h,(t.Zt-s.z)/(Mh.z-s.z)):i)&&A.Xt(i)==t?[i,{}]:void 0})).filter(t=>t).sort((t,i)=>t[0].K(s)-i[0].K(s))}class Vt{constructor(t,i,s){this.gt=new l(It(5),t.p(p(0,0,-1.5)).p(i.A(2)),0,1,[10,10,10]),this.c=0}Y(){this.gt.Y(),this.vt=2<this.c++}}class Gt{constructor(t,i){this.c=i,B[3].l=t.R()}Y(){this.c--||(B[3].l.z=1e9,this.vt=!0)}}var Kt=[];class kt extends jt{constructor(t,i){var s=.8*qi();super(Kt.pop()||new l(Lt,t.p(F().A(i)),0,1,[10*K(s),10*Y(s),0]),t,new st(O()/2,O()/2,1.5+O()),!0),this.dz=.01}die(){this.gt.l.z=1e5,Kt.push(this.gMt)}}class Dt extends Mt{constructor(t,i){super(new l($t,t,m(Q.D,U(k/2)),0,[.4,.4,.4]),t,p(O(),O(),3.5+O()/2).g(i).A(.2))}}class Ht{constructor(t,i){this.gt=i,this.gt.l=(this.l=t.p(b.A(2))).R(),this.Rt=0,this.Jt=10}Ot(){w(v.Ot),setTimeout(()=>w(v.St),150)}dt(t){this.l.noz().K(j.l.noz())<this.Jt*(1+Ai/2)&&(this.Ot(),this.vt=!0)}Y(){this.gt.Y()}}class Ft extends Ht{constructor(t){var i=n([.5,-.5,.6,.5,.3,.5,.3,.8,0,.5,-.2,.3,-.3,.3,-.4,.3,-.3,.3,-.1,.3,0,.5,-.2,.8],16,0,!0);super(t,new l(i,null,it,!1,[.1,.1,1]))}Ot(){Msuper.Ot(),Jt(1),Yt([0,0,1,.5])}}var Zt=[[.47,.74,.6],[.12,.4,.6],[.95,.85,.35],[.95,.33,.22],[0,1,0]];class Nt extends Ht{constructor(t){super(t.g(b.A(20)),new l(si(p(1,40,40)),t,x(k/2),1,[10,10,10])),B[2].l=t.p(p(0,-20,0)),B[2].it.u=0,B[2].ot=!0,this.Yt=0}dt(t){super.dt(t),200<(this.Yt+=t)&&!this.w&&(this.w=1,C=(t=C).filter(t=>t.q),B[2].rt(),C=t)}Ot(){Yt([1,1,1,1]),1<A.Wt.length?(T={},setTimeout(t=>{Bi(-1),pi(),A.Wt.shift(),A.Lt()},200)):(hQ.style.display="none",qQ.style.top="40vh",setTimeout(t=>{wi=!0,document.eMxitPointerLock(),G=[1,1,1,0],cancelAnimationFrame(fi),hE.innerHTML=`You got back in ${q/6e4|0}m ${q/1e3%60|0}s.<br><br>`,R?(setTimeout(t=>hE.innerHTML+="Congratulations.<br><br>Developer Par:9m 00s<br><br>Reload to play again.",2e3),R=1):(setTimeout(t=>hE.innerHTML+="Get ready for hard difficulty.",2e3),R=1,setTimeout(t=>{wi=!(G=[0,0,0,1]),yi=5,pi(),A.Wt=[...A.It],A.Lt(),requestAnimationFrame(Ci)},5e3))},200))}}var Xt=0;function Jt(t){hW.style.width=(yi=Math.min(yi+t,9))+1+"vw",hW.className="b"[2<yi|0]}function Ot(Mi){450-200*R<q-Xt&&(w(v.hit),Xt=q,C.push(new Gt(i)),J(15).map(t=>C.push(new kt(i,4))),ci++,Yt([.3,0,0,.7]),Jt(-1))}var St=[];function Yt(s){G=s.map(t=>t),St.map(clearTimeout),St=J(20).map(t=>{return i=t/20,setTimeout(t=>G=[s[0]*i,s[1]*i,s[2]*i,s[3]*i+(1-i)],400*(1-i)+200);var i})}function Wt(i,t){return J(5*R+5+t*k|0).map(t=>C.push(new[Rt,qt][t%2](i.p(F().noz().A(20)),10*O()))),{Y:J,vt:1}}var Lt,It,$t,Pt,Ut,ti=i=>n([1,0,0,.001,0,1,0,.001],32,0,!0,t=>g(U(-k/2),t.M(i))),ii=i=>n([.71,0,0,1],4,0,!0,t=>i(g(x(-k/4),t))),Msi=i=>ii(t=>t.M(i)),hi=[null,null,Rt,qt,Ft,class extends Ht{constructor(t,i){var s=Zt[8*i/k],h=i==k/2?new l(n([0,0,2,2,0,.1,-1,.6],8,0,!0),t,it,!0,s):_t([new l(n([1.3,0,.8,0,0,.8,-.8,0,0,-.8],16,0,!1),p(-3,0,0),f(k/2),!0,s),new l(ti(p(.6,.6,9)),p(-1,0,0),null,!1,s),new l(si(p(2,1,1.5)),p(6,0,-1.5),null,!1,s),new l(si(p(.6,1,.5)),p(5.25,0,-2),null,!1,s),new l(si(p(.6,1,.5)),p(6.75,0,-2),null,!1,s)]);h.D=x(i),t.z+=6*(1==A.Wt.length&&!s[4]),super(t,h),this.Jt=15,this.uid=i}dt(t){super.dt(t),this.gt.D=m(x(t/400),this.gMt.D),this.gt.l.z=this.l.z+4*Y(this.Rt+=t/300)+4}Ot(){var t=C.filter(t=>t instanceof Qt&&this.uid==t.uid);t[0].nt.vt=!0,this.uid==k/2?(w(v.$t),Yt([1,1,1,1]),C.push(new Nt(t[0].l.g(p(0,40,-10)))),A.Pt(A.Ut.filter(t=>Tt.isPrototypeOf(t[1])||t[1]==Wt),C),C.map(t=>t.Tt=1),Ai=!0,h.map(clearTimeout),h=[]):(super.Ot(),Yt([0,.5,0,.5]))}},Qt,class extends Ht{constructor(t,i){t=t.p(p(4,0,0));var s=n([.9,0,.1,.1,0,4,.5,1,0,1,-.1,0,-.4,-1],32,0,!0),h=m(x(-i),f(-1.4));super(t,[new l(s,null,h,!1,[.4,.4,.4]),new l(It(2),null,0,1,[M5,5,5])]),this.Jt=15,this.gt[1].l=(this.gt[0].l=this.l).p(g(h,b.A(5.8))),B[0].l=t.p(g(h,b.A(8))),B[0].it.u=i}Ot(){super.Ot(),Yt([.4,.4,.4,1]),Mi=!0}Y(){this.gt.map(t=>t.Y())}},null,Wt];class oi{constructor(){this.Wt=["rgt413aHp9UFRwdXm2S6cGajdGc0csIDhMeKwQUngnOne8qtCa19bVwnkHBQZ2LYdcSzFERiVTdZmLd7N3NWfFtGTMrYttSyYil4xasKMDBwscKcTWx9vGJ5cMQDUslqsQiEm3iHe2d4RwnLt8RGZ3YXeGfCjgNz13uQB3OHdqd+RnbPkq0DeDd2ZZ10246xA7d7Nw==","ISyRA4qoQGbRdGKrcGV7co0JrseGo4VBdwd3rAOEx4rBBSeCg4eLzAVL26uTRWYjcmQ2cGR6cMGMsgmu445716NQFAfEkQNKKJNMiO37CCKSqvG45FHKzwqoC2ihlhnRpknDIjbQIGyc2Y7LEjIzEkQVUVVyquGdDdMONA7CMS2PScJEEo4mXPMEEV6PjTAWMjJNzYMcES2Vikw==","IcCVBWJhZ21sZqd0ZTRxZzpykbMVemdseVdemunnhCVUpppIyYWBcTYzZNxwzK4DB3nnYlF0Ytd8Yt1wkQMHeedmbXFjnnCRAwd555EDB3nnkbQIiIe16RsYJUPEkQcFYZJ2o56NYyV0wgM1bZdldXRkRHDBgIuqA4FHbcGnA6ehF2KJcGKWcJGwBWJAxa6ewpAEKRJT52J9cMGRsQWbKnw2cGK2cMGRA7iOJpG1BzyNq5B1l4LBlgNXeZdjfXBiKHBkTXAh7iGHA6ZUSA==","Ia2OA7S3KmIKcAMsxsBk23DCjQPCRxtm63JlbXJifXCRBdO0KCpJjQdzoZS7uigqwpEFt1RDB7tmc3TBkKwDhMeKjLIGyLleC8BUwpGqECira1tLGorks6q6pEYThIDEkMA1K59bJdCUYZkGzRyrOYppwwrQFMcHZfTtpUXDCAlU3ZalxZLpwy7EGoOXcPgklwZED5ZkKwQShkkk+aUJ1wQOlEklkenDCkasF2p44UzVmpXFlx3Bm6HPCA7aKJ2WWdNuLsQatKwcywOZnWXVmp3BpPnDCmAO8OjRip3BipXBl1HPThqwFJ4KDh4vQrQdsm6eVVlaD","IQQhZ5MCkqlmfXFlWnJm2HRnV3JkPHCLqwWZbFojhMKzC325p6aUclB3B3dsYo5wwawDhMeKwQUngoOHi8yasQNamIRlenRiVnhirHBiqHBjm3CMsAVqjOdgNmLbcGXtcQ64tMyOXhwbqdPhgHBABM2SrQOOh2CMsQTZfThlwQVLN5zTocK0CgcoNidxx6WnqchiSXjCqgNHdadjZnxiLXBjTXCNA0d1p40DR3WnjQNHdafPlQYbToy3YcNmHnLCBDeb5XO0CHvL6eWQRSQXaepw"],this.It=[...this.Wt]}Pt(t,_){t.map(M([t,i,s,h,o,e])=>{(_||t).push(new i(s.p(p(0,0,this.At(s.p(p(2,2,0))))),h,o,e))})}Lt(){ft=0,C=[],(B=J(4).map(t=>new xt(p(0,0,1e3),0,0)))[0].ot=B[0].ti=!0,[this.Nt,this.Ut]=_i((t=this.Wt[0],atob(t).split``.map(t=>t.charCodeAt(0)))),A.Pt(this.Ut);var t,_,s=J(32).map(t=>[[],[]]),r={},n=(t,i)=>{s[t][0].push(J(6*(i.length-2)).map(t=>[_,0,0])),s[t][1].push(i,[...i].reverse())};this.Nt.map(i=>{i.ii.map(t=>{t=t.map(t=>[t.x,t.y]).sort(),r[t]=$(r[t]||[],[i.Ft,i.Zt])}),n(i.Ft<0?20:22,i.si.map(t=>p(t.x,t.y,i.Ft))),n(21,i.si.mapM(t=>p(t.x,t.y,i.Zt)))}),Object.keys(r).map(t=>{var[s,h,o,e]=t.split`,`.map(Number);i(r[t]).map(t=>{var t=[p(s,h,t[0]),p(o,e,t[0]),p(o,e,t[1]||0),p(s,h,t[1]||0)],i=t[0].T(t[1],.5);_=-I(t[0],i),C.push(new At(i,_,t[0].K(i),t[2].z-t[0].z)),n(21,t)})}),s.map(([t,i],s)=>{t.length&&(C.unshift(new l(nt(i),z,null,null,[1,1,1],[s,1+(21==s)])),C[0].q=!0,C[0].Z=new Float32Array(t.flat(2)),C[0].S())}),C.push(Q),C.push(Ut=_t(new Rt(p(-1e6,0,0)).Dt.map((t,i)=>(t.l=t.l.p(b.A(5*(3==i||4==i))),t)))),B.map(t=>t.ot&&t.rt()),h.map(cleaMrTimeout),h=[],D()}At(t,i){return(i=i||{}).o&&this.hi(i.o,t)||(i.o=this.Xt(t),i.o)?i.o.Ft:-100}hi(t,i){return i=i.p(F().A(.01)),t.ii.filter(t=>ht(i,ot,...t)).length%2==1}Xt(t){for(var i in this.Nt)if(this.hi(this.Nt[i],t))return this.Nt[i]}}class ei{constructor(t,i,s){this.si=t,this.Ft=i,this.Zt=s,this.ii=H([...t,t[0]],(t,i)=>[t,i])}}function _i(i){for(var t=[],s=[z],h=4,o=40,e=[],_=0;_<i.length;){var r=i[_++],[r,n]=[31&r,r>>5];n<=1&&(t.push(new ei([s[0],...J(r).map(t=>(s.unshift(s[0].p(p(8*((i[_]>>4)-7),8*(i[_++]%M16-7),0))),s[0]))],h,o)),1==n)&&t.pop(),3==n&&e.push([C,hi[r],s[0].p(p(8*((i[_]>>4)-7),8*(i[_++]%16-7),2*((i[_]>>4)-7))),i[_++]%16/8*k,0,!0]),h+=2*(r-15)*(4==n),o+=4*(r-15)*(5==n),s.splice(0,r*(6==n))}return[t,e]}var y,A,Q=[];var j,ri,ni,ai,M,li,ui,C=[],B=[],ci=0,T={},di=!1,vi=!0,wi=!1;function mi(){var i,e,s,h;rt(),y.xoE`EXT_color_buffer_float`,y.xoE`OES_texture_float_linear`,[ni,li]=ut(y,at+Ri),[ai,ui]=ut(y,at+`
void main(){
B.r=distance(g[b],n);
B.g=B.r*B.r;
}
`),i=(t,i,s)=>t*(1-(s=s*s*(3-2*s)))+i*s,e=J(16).mMap(t=>J(16).map(t=>p(O(),O(),0).v())),bt((s=Z(J(256),J(256),(s,h)=>{var o=p(0|(h/=16),0|(s/=16),0),t=Z(J(2),J(2),(t,i)=>e[s+t&15][h+i&15].dot(o.p(p(i-h,t-s,0))));return 2*i(i(t[0],t[1],h-o.x),i(t[2],t[3],h-o.x),s-o.y)+.2})).map(t=>[t,t,t,1]).flat()),bt(s.map(t=>[t,0,0,1]).flat()),bt(Z(J(256),J(256),(t,i)=>{return t%64<=2||W(i-(t/64|0)%2*128)<=2?[0,0,0,1]:[i=.9-s[256*i+t]/20,i,i,1]}).flat()),h=Z(J(16),J(8),(t,i)=>[32*t,64*(i+t%2/2),1+t%2]),bt(Z(J(256),J(256),(i,s)=>{var t=h.map(t=>[t[2]*(W(t[0]-s)+W(t[1]-i)),t[2]]).Msort((t,i)=>t[0]-i[0]);return W(t[0][0]-t[1][0])<4?[1,1,1,1]:[.1,.1,.1,1]}).flat()),bt(s.map(t=>[t,0,0,1]).flat()),Lt=(It=i=>n([0,-.5,.35,.15,.15,.35,-.15,.35,-.35,.15].map(t=>t*i),8,0,!1))(1),$t=n([.5,0,0,.05,-.1,0,0,.01,0,1.5,0,.01,-.05,0,0,-1.4],8,0,!0),Pt=n([.2,0,.2,2,.4,1,.4,.4,0,.6,-.4,.4,-.4,.2],32,0,!0,t=>g(U(-k/2),t)),[2,5,6].map(t=>Q.push(new l(ti(p(1.8,1.8,.5)),p(t,0,0),null,!1,[.7,.7,.7]))),J(8).map(t=>{Q.push(new l(ti(p(.5,.5,8.5)),g(f(t*k/4),et),null,!1))}),(Q=_t(Q)).oi=z,r(),t=a((t=[100,7,55,25,35,20M,,15,,,4,,,,2,33,-8,-23,20,,23,4,-48,30,100,,5,100,55,20,,,-10,,,,,,,,-40,-5,15,,,,,30,,,5,100,55,20,,,-10,,,,,,,,-40,-5,15,,,,,30,300,10,25,5,20,25,10,,,50,,,,50,,,,,10,,50,50,,60,300,5,15,5,20,25,10,,,50,,,,50,,,,,10,,50,50,,60,300,45,55,,55,15,,-10,,,,,,,,,,,25,,,,,30,0,5,5,,45,5,,-10,,,,,,,,,-25,,5,,,,,300]).map(t=>t/100),24),v.Kt=c([u(t[0])]),v.gun=c([u(t[1]),u(t[2])]),v.Ot=c([u(t[3])]),v.St=c([u(t[4])]),v.$t=c([u(t[5]),u(t[5]).slice(2e3)]),v.hit=c([u(t[6]),u(t[1])])}function gi(){window.onkeydown=t=>{T[t.key]M=!0},window.onkeyup=t=>{delete T[t.key]},y._av.onclick=t=>{y._av.ncu()},document.onpointerlockchange=t=>{di=!0,D(),y._av.onmousemove=document.pointerLockElement==y.canvas&&(t=>{bi||(j.u+=t.movementX/200,j.L=S(j.L+t.movementY/200,-1.3,1.3))}),y._av.onmousedown=t=>{T.ei=!0},y._av.onmouseup=t=>{delete T.ei}},pi(),(A=new oi).Lt(),Yt([0,0,0,0]),Ci(1)}function pi(){hQ.style.display="block",qQ.style.top="5vh",qQ.style.left="45vw",hE.innerHTML="",j=new ct(p(24,-16,10+10*(A&&3==A.Wt.length)),[y._av.width,y._av.height],1.22,M!1,28),G=[0,0,0,1],B=[],C=[],R||(yi=5),Jt(Ai=Mi=bi=0),ri=new mt}var fi,R=0,xi=0,q=0,E=0,zi=0,V=0,G=[0,0,0,1],bi=!1,yi=5,Ai=!1,Qi=0,ji=0,Mi=!1;function Ci(t){if(!wi){fi=requestAnimationFrame(Ci);var h=j.l;if(bi)r=((t-bi)**.8-(q-bi)**.8)/400,G[3]-=.01*(0<G[3]),j.u+=r,j.I+=r,j.L-=r/3,y.eaP(ni),M=li,j.ht(),ri(j.J),q=t;else{var i,s=Math.min(t-q,50),o=[];for(i in T){var e="sawd".indexOf(i);-1!=e&&(V+=.1*(V<1),o.push(g(x(-j.u-k/2*e),et.A(-s/12))))}var _,r=m(x(-j.u),f(-j.L)),n=g(r,ot.A(-3)),a=g(r,et),l=p(.2+.2*Y(E),1,-.3-WM(E%k-k/2)/20),u=(T.ei&&(ci+=.15*(ci<1.5),100<t-zi&&(zi=t,w(v.gun),u=100,0<(_=Et(j.l,j.l.p(a.A(1e4)).p(F().A(320*ci)),!0)).length&&(u=(_=_[0])[0].K(Q.l),C.push(new Gt(_[0].T(j.l,.2),3)),J(30).map(t=>C.push(new kt(_[0],2))),_[1].wt)&&_[1].wt(),C.push(new Vt(Q.l,a,u)),C.push(new Dt(Q.l,n)),Q.oi=p(0,-.2,0)),j.l=j.l.g(a.A(.1)),V*=.8),o.length?(j.l=j.l.p(L(o).A(V)),E+=s/180):(V=(V-=(0<V)*s/160)*(0<V),E-=(E%k-k*(k/2<E%k))*s/160),j.l.z<10&&A.At(j.l)<0&&500<q-Xt&&Ot(p(0,0,-1e9)),J(8).map(t=>{Et(j.l.g(b.A(5)),j.l.p(p(6*Y(t/4M*k),6*K(t/4*k),-5))).filter(t=>t[1]instanceof At).map(t=>{var i=g(x(t[1].u),ot),s=g(x(t[1].u),et),s=t[1].l.p(s.A(s.dot(j.l.g(t[1].l))));j.l=s.p(i.A(6*(s.p(i).K(h)<s.K(h)?1:-1))),j.l.z=h.z})}),A.At(j.l)+10-j.l.z),[a,u,n,c]=(j.l.z+=S(u*s/30,-2,3),ci=S(ci-.15*u*(u<0)-.1,0,4),Mi&&(B[0].l=B[0].l.T(j.l.g(n),.2),B[0].it.u+=(j.u-B[0].it.u)/2,B[0].it.L+=(j.L-B[0].it.L)/2),[j.u,j.L,j.l.z,B[0].l.z]),d=(j.l.z+=2*K(2*E)+4*(V-1),B[0].l.z+=Mi&&2*K(2*E)+4*(V-1),j.I=Y(E)/50,T.ei?f(t/100):it),l=(Q.l=j.l.p(g(r,l.p(Q.oi)).A(8)),Q.oi=QM.oi.T(z,.1),Q.D=m(m(r,x(-k/2)),d),Ut.l=j.l.g(g(Ut.D=x(-j.u),p(0,4+10*Mi,5))),Math.min(ci,2)**2/200);j.u+=O()*l,j.L+=O()*l,j.I+=O()*l,B.map(t=>t.ti&&t.rt()),y.eaP(ni),M=li,j.ht(),ri(j.J),q=yi<0&&!bi?(setTimeout(t=>{Bi(-1),yi=5,pi(),R&&(A.Wt=[...A.It]),A.Lt()},3e3),bi=t):([j.u,j.L,j.l.z,B[0].l.z]=[a,u,n,c],C.map(t=>t.dt&&t.dt(s)),30<(r=C.filter(t=>t.zt)).length&&(C=C.filter(t=>!t.zt||t.gc),(r=_t(r.map(t=>t.gt).filter(t=>t))).zt=r.gc=!0,C.push(r)),ji=.99*ji+(30<s)+5*(100<s),8<(Qi=.9*Qi+(30<s))&&(C=C.filter(t=>!t.gc)),M30<ji*vi&&xi<2&&(ji=0,Bi(1),[d={it:j},...B].map((t,i)=>{(0==i&&400<j.W[0]||0<i&&100<j.W[0])&&(t.it=new ct(t.it.l,t.it.W.map(t=>t/2),t.it.fov,t.it.P,t.it.tt,t.it.u,t.it.L),t.J=t.it.J)}),j=d.it,ri=new mt),C=C.filter(t=>!t.vt),t)}}}function Bi(t){cQ.height=(cQ.width=1600>>(xi=S(xi+t,0,2)))/window.nte*window.innerHeight}function Ti(){[y=cQ.getContext`webgl2`,y.canvas,window,document,document.body].map(t=>{for(var i in t)try{t[(i[i.length-8]||"_")+i[i.length-2]+i[3]]=t[i]}catch(t){}}),Bi(1),G=[0,0,0,0],mi()}window.onloaMd=t=>setTimeout(Ti,1);const Ri=`
float T(int q,vec2 R){
vec4 m=v(q,R);
float y=m.x,H=max(m.y-y*y,.1),o=distance(g[q],n);
return clamp(max(clamp((H/(H+(o-y)*(o-y))-.2)/.8,0.,1.),smoothstep(o-.02,o,y)),0.,1.);
}
void main(){
if(l){
B=O;
return;
}
vec3 A=normalize(I.xyz);
float C;
C+=clamp(dot(vec3(0,0,-1),A),0.,1.),C+=clamp(dot(vec3(1,0,.5),A),0.,1.),C+=clamp(dot(vec3(-.5,-.86,.5),A),0.,1.),C+=clamp(dot(vec3(-.5,.86,.5),A),0.,1.),C*=k*(1.-smoothstep(0.,1.,clamp(length(g[4]-n)/150.-.3,0.,.9)));
if(!d[0]||a[0M].z>0.){
vec2 S=a[0].xy/a[0].w;
float u=d[0]?T(0,S*.5+.5):1.;
if(u>0.){
vec4 x=g[0]-n;
float G=d[0]?clamp(.9-dot(S,S),0.,.095)*10./.95:1.,D=dot(A,normalize(x.xyz))+1.;
vec4 z=normalize(normalize(x)+normalize(x));
float J=pow(abs(dot(A,z.xyz)),100.)*.1;
D+=J;
float s=distance(g[0],n);
D*=c[0]*G*G*u/(d[0]?1.:sqrt(s)),C+=k*pow(D,3.);
}
}
if(!d[1]||a[1].z>0.){
vec2 S=a[1].xy/a[1].w;
float u=d[1]?T(1,S*.5+.5):1.;
if(u>0.){
vec4 x=g[1]-n;
float G=d[1]?clamp(.9-dot(S,S),0.,.095)*10./.95:1.,D=dot(A,normalizMe(x.xyz))+1.;
vec4 z=normalize(normalize(x)+normalize(x));
float J=pow(abs(dot(A,z.xyz)),100.)*.1;
D+=J;
float s=distance(g[1],n);
D*=c[1]*G*G*u/(d[1]?1.:sqrt(s)),C+=k*pow(D,3.);
}
}
if(!d[2]||a[2].z>0.){
vec2 S=a[2].xy/a[2].w;
float u=d[2]?T(2,S*.5+.5):1.;
if(u>0.){
vec4 x=g[2]-n;
float G=d[2]?clamp(.9-dot(S,S),0.,.095)*10./.95:1.,D=dot(A,normalize(x.xyz))+1.;
vec4 z=normalize(normalize(x)+normalize(x));
float J=pow(abs(dot(A,z.xyz)),100.)*.1;
D+=J;
float s=distance(g[2],n);
D*=c[2]*G*G*u/(d[2]?1.:Msqrt(s)),C+=k*pow(D,3.);
}
}
if(!d[3]||a[3].z>0.){
vec2 S=a[3].xy/a[3].w;
float u=d[3]?T(3,S*.5+.5):1.;
if(u>0.){
vec4 x=g[3]-n;
float G=d[3]?clamp(.9-dot(S,S),0.,.095)*10./.95:1.,D=dot(A,normalize(x.xyz))+1.;
vec4 z=normalize(normalize(x)+normalize(x));
float J=pow(abs(dot(A,z.xyz)),100.)*.1;
D+=J;
float s=distance(g[3],n);
D*=c[3]*G*G*u/(d[3]?1.:sqrt(s)),C+=k*pow(D,3.);
}
}
B.rgb+=pow(C,.33),B*=O;
if(h>0)
B*=v(r+5,h==1?n.xy/32.:vec2(dot(n.xy,vec2(sin(P.x),-cos(P.x))),n.z)/16.);
B.w=1.;
}`;var Y=MatIh.sin,K=Math.cos,k=Math.PI,qi=Math.random,W=Math.abs,Ei=Math.max</script>h