diff --git a/README.md b/README.md deleted file mode 100644 index 01cba0c..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# OPENRNDR JS examples - -Coming soon... diff --git a/index.html b/index.html new file mode 100644 index 0000000..2be66a4 --- /dev/null +++ b/index.html @@ -0,0 +1,25 @@ + + +
+ +0||0===_&&!this.e16_1)){var o="consecutive point duplication in input geometry at ("+_+" and "+(_+1|0)+") ("+t.d15_1+","+t.e15_1+")";throw Ct(jt(o))}if(t.h15_1=Math.sqrt(u),t.h15_1>0){var h=t;h.f15_1=h.f15_1/t.h15_1;var a=t;a.g15_1=a.g15_1/t.h15_1}else t.f15_1=0,t.g15_1=0;t=i,(e=e+1|0)1e-5;break;default:t=!0}return t}(this.g16_1.k(0))){var _=this.g16_1.k(0),u=function(n,t,i){var e=n/(n+i),r=t/(2*Math.acos(e)),s=Math.ceil(r),_=si(s);return Math.max(2,_)}(s,3.141592653589793,.1*n);this.i16(_),ws(this,_,s,e,r);var o=0;o=o+(e.equals(dr())?mt(1+(_.j()+mt(this.f16_1,u+2|0)|0)|0,2):mt(1+(_.j()+mt(this.f16_1,5)|0)|0,2))|0,this.e16_1||(o=o+(i.equals((Le(),hn))?mt(mt(u,2)+2|0,2):12)|0);var h=new cs(($s(),at),new Float32Array(mt(o,5)),0),a=0,l=n,f=this.e16_1?_.k(_.j()-1|0):_.k(0),c=this.e16_1?_.k(0):_.k(1),v=this.e16_1?0:1,w=this.e16_1?_.j():_.j()-1|0,d=this.e16_1?0:1;if(!this.e16_1){var $=c.d15_1-f.d15_1,g=c.e15_1-f.e15_1,k=$*$+g*g,m=Math.sqrt(k);switch(m>0&&($/=m,g/=m),i.c1_1){case 1:h.x15(f,$,g,s,.5*-l,l,a);break;case 2:h.x15(f,$,g,s,s-l,l,a);break;case 0:h.z15(f,$,g,s,u,a);break;default:Dt()}}var p=v;if(p 0&&(C/=E,S/=E),i.c1_1){case 1:h.y15(c,C,S,s,.5*-l,l,a);break;case 2:h.y15(c,C,S,s,s-l,l,a);break;case 0:h.a16(c,C,S,s,u,a);break;default:Dt()}}return h}return new cs(xs(),new Float32Array(0),0)},bt(ds).k16=function(n,t,i,e){if(this.g16_1.l())return xi();for(var r=_i(),s=this.g16_1.g();s.h();){var _=s.i();this.i16(_)}for(var u=this.g16_1.g();u.h();)ws(this,u.i(),t,i,e);this.g16_1.j()>1&&(this.d16_1=!1),this.d16_1=!1;for(var o=.5*n,h=n>0,a=this.g16_1.g();a.h();){var l=a.i();if(!l.l()){for(var f=4,c=l.g();c.h();)f=f+(4&c.i().k15_1?12:4)|0;var v=new cs(ps(),new Float32Array(mt(f,5)),0);if(h){var w=Fi(l),d=l.k(0),$=0,g=0,k=l.j()-1|0;if(g<=k)do{if(g=g+1|0,4&d.k15_1)if(2&d.k15_1)v.v15(d.d15_1+d.i15_1*o,d.e15_1+d.j15_1*o,.5,1,0);else{var m=w.g15_1,p=-w.f15_1,b=d.g15_1,x=-d.f15_1,y=d.d15_1+m*o,q=d.e15_1+p*o,j=d.d15_1+b*o,C=d.e15_1+x*o;v.v15(y,q,.5,1,0),v.v15(j,C,.5,1,0)}else v.v15(d.d15_1+d.i15_1*o,d.e15_1+d.j15_1*o,.5,1,0);w=d,($=$+1|0) 0&&(o=a,h=l)}while(u.h());s=o}else s=o}else s=null;var f=null==s?null:s.d17_1;if(null==f)throw Zt(jt("no commands"));var c,v=f,w=i.g();if(w.h()){var d=w.i();if(w.h()){var $=d.e17_1;do{var g=w.i(),k=g.e17_1;Pi($,k)>0&&(d=g,$=k)}while(w.h());c=d}else c=d}else c=null;var m=null==c?null:c.e17_1;if(null==m)throw Zt(jt("no commands"));var p,b=m,x=i.g();if(x.h()){var y=x.i();if(x.h()){var q=y.f17_1;do{var j=x.i(),C=j.f17_1;Pi(q,C)<0&&(y=j,q=C)}while(x.h());p=y}else p=y}else p=null;var S=null==p?null:p.f17_1;if(null==S)throw Zt(jt("no commands"));var z,E=S,A=i.g();if(A.h()){var R=A.i();if(A.h()){var L=R.g17_1;do{var I=A.i(),T=I.g17_1;Pi(L,T)<0&&(R=I,L=T)}while(A.h());z=R}else z=R}else z=null;var N=null==z?null:z.g17_1;if(null==N)throw Zt(jt("no commands"));var M=N,B=i.k(0);r.h17("bounds",new wi(B.d17_1,B.e17_1,B.f17_1-B.d17_1,B.g17_1-B.e17_1)),_.nx_1=new We,_.ox_1=new We,_.nx_1.iy_1=255,_.ox_1.iy_1=255,_.nx_1.ly(gr(),gr(),(Ue(),En)),_.ox_1.ly(gr(),gr(),(Ue(),An)),_.nx_1.ky(pr(),0,255),_.ox_1.ky(pr(),0,255),_.gx_1=Fe().xx_1,_.fx_1=$r(),kt.cw().z13(_);for(var O=i.g();O.h();){var D=O.i();D.a17_1.equals(ps())&&kt.cw().i17(r,Jt(D.z16_1),lr(),D.b17_1,D.c17_1,0)}_.nx_1=_.mx_1,_.ox_1=_.mx_1,_.gx_1=Fe().yx_1,r.hw("strokeThr",0),r.mw("strokeMult",1),_.mx_1.ky(mr(),0,255),_.mx_1.ly(gr(),gr(),gr()),kt.cw().z13(_);for(var F=i.g();F.h();){var V=F.i();V.a17_1.equals(bs())&&kt.cw().i17(r,Jt(V.z16_1),ar(),V.b17_1,V.c17_1,0)}kt.cw().z13(_),r.hw("strokeThr",-1),r.mw("strokeMult",1),_.mx_1.ky((He(),In),0,255),_.mx_1.gy_1=1,_.mx_1.ly(kr(),kr(),kr()),_.gx_1=Fe().yx_1,_.fx_1=$r();var G=this.v16_1,P=this.t16_1.j(),W=G%P|0,U=W+(P&((W^P)&(W|-W))>>31)|0,K=this.t16_1.k(U),H=K.r13().z12();H.s13(),H.l17(v,b),H.m17(.5,1,0),H.l17(v,M),H.m17(.5,1,0),H.l17(E,M),H.m17(.5,1,0),H.l17(E,M),H.m17(.5,1,0),H.l17(E,b),H.m17(.5,1,0),H.l17(v,b),H.m17(.5,1,0),K.r13().x12(),this.v16_1=this.v16_1+1|0,kt.cw().z13(_),kt.cw().i17(r,Jt(K),hr(),0,6,0),_.mx_1.jy_1=br(),r.z14()},bt(js).n17=function(n,t,i){if(t.o15_1>0){var e=new Cs(n,t.l15_1,i,t.o15_1+2|0,t.p15_1,t.r15_1,t.q15_1,t.s15_1),r=n.r13().z12();r.o17(i);var s=r,_=(t.t15_1-t.n15_1|0)/t.o15_1|0;return s.p17(t.m15_1,t.n15_1,_),s.p17(t.m15_1,t.n15_1,t.t15_1-t.n15_1|0),s.p17(t.m15_1,t.n15_1+mt(_,t.o15_1-1|0)|0,_),e}return new Cs(n,xs(),0,0,0,0,0,0)},bt(js).q17=function(n,t){for(var i=0,e=_i(),r=t.g();r.h();){var s=r.i(),_=this.n17(n,s,i);_.a17_1.equals(xs())||(e.e(_),i=i+(s.o15_1+2|0)|0)}return n.r13().y12(0,i),e},bt(js).r17=function(n,t,i,e){for(var r=0,s=i.g();s.h();)r=r+s.i().o15_1|0;var _=r;this.y16(n,t,this.q17(ys(this,_),i),e)},bt(js).s17=function(n,t,i,e,r){if(e){for(var s=0,_=i.g();_.h();)s=s+_.i().o15_1|0;var u=s;this.j17(n,t,this.q17(ys(this,u),i),r)}else{for(var o=0,h=i.g();h.h();)o=o+h.i().o15_1|0;var a=o;this.k17(n,t,this.q17(ys(this,a),i),r)}},bt(Cs).toString=function(){return"Command(vertexBuffer="+jt(this.z16_1)+", type="+this.a17_1.toString()+", vertexOffset="+this.b17_1+", vertexCount="+this.c17_1+", minX="+this.d17_1+", minY="+this.e17_1+", maxX="+this.f17_1+", maxY="+this.g17_1+")"},bt(Cs).hashCode=function(){var n=Wt(this.z16_1);return n=mt(n,31)+this.a17_1.hashCode()|0,n=mt(n,31)+this.b17_1|0,n=mt(n,31)+this.c17_1|0,n=mt(n,31)+It(this.d17_1)|0,n=mt(n,31)+It(this.e17_1)|0,n=mt(n,31)+It(this.f17_1)|0,mt(n,31)+It(this.g17_1)|0},bt(Cs).equals=function(n){if(this===n)return!0;if(!(n instanceof Cs))return!1;var t=n instanceof Cs?n:Tt();return!!(Nt(this.z16_1,t.z16_1)&&this.a17_1.equals(t.a17_1)&&this.b17_1===t.b17_1&&this.c17_1===t.c17_1&&Nt(this.d17_1,t.d17_1)&&Nt(this.e17_1,t.e17_1)&&Nt(this.f17_1,t.f17_1)&&Nt(this.g17_1,t.g17_1))},bt(Ts).i10=function(n,t,i){for(var e=0,r=i.g();r.h();)e=e+r.i().j()|0;var s=function(n,t){var i;if(t<64){n.g10_1=n.g10_1+1|0;var e=n.g10_1,r=n.f10_1.j(),s=e%r|0,_=s+(r&((s^r)&(s|-s))>>31)|0;i=n.f10_1.k(_)}else i=n.e10_1;return i}(this,e),_=this.h10_1.a12(t.ix_1,this.d10_1);_.y13(),n.aw(_),t.aw(_);var u=s.r13().z12();u.s13();for(var o=0,h=0,a=i.g();a.h();){var l=a.i(),f=h;h=f+1|0;var c=Vi(f),v=0,w=l.j()-1|0;if(v 0){for(var _=Ii(Li(i,10)),u=0,o=i.g();o.h();){var h=o.i(),a=u;u=a+1|0;var l=Vi(a),f=ht.c16(h,e.k(l),!1).j16(s,t.yw_1/2,t.ww_1,t.xw_1,t.ax_1);_.e(f)}var c=_;this.j10_1.r17(n,t,c,s)}},bt(Ms).k10=function(n,t,i,e,r){var s=t.zw_1?r:0;if(null!=t.vw_1&&t.yw_1>0){for(var _=Ii(Li(i,10)),u=0,o=i.g();o.h();){var h=o.i(),a=u;u=a+1|0;var l=Vi(a),f=ht.c16(h,e.k(l),!0).j16(s,t.yw_1/2,t.ww_1,t.xw_1,t.ax_1);_.e(f)}var c=_;this.j10_1.r17(n,t,c,s)}},bt(Bs).c10=function(n,t,i,e,r){if(null!=t.uw_1&&!i.l()){var s=ht.h16(i,e),_=t.vw_1,u=null==_?null:_.ho_1,o=null==u?0:u,h=t.zw_1?r*(1-o):0,a=s.k16(h,h,wr(),2.4);this.b10_1.s17(n,t,a,s.d16_1,h)}},bt(Ys).u19=function(n,t,i,e,r,s){return Wi("\n | // -- fragmentConstants\n | #define c_instance ("+n+")\n | #define c_element ("+t+")\n | #define c_screenPosition ("+i+")\n | #define c_contourPosition ("+e+")\n | #define c_boundsPosition ("+r+")\n | #define c_boundsSize ("+s+")")},bt(Ys).v19=function(n,t,i,e,r,s,_){return n=n===yt?"v_instance":n,t=t===yt?"0":t,i=i===yt?"gl_FragCoord.xy / u_contentScale":i,e=e===yt?"0.0":e,r=r===yt?"vec3(0.0)":r,s=s===yt?"vec3(0.0)":s,_===yt?this.u19(n,t,i,e,r,s):_.u19.call(this,n,t,i,e,r,s)},bt(Ys).w19=function(n,t){return Wi("\n |#define c_instance "+n+"\n |int c_element = "+t+";")},bt(Ys).x19=function(n,t,i){return n=n===yt?"gl_InstanceID":n,t=t===yt?"0":t,i===yt?this.w19(n,t):i.w19.call(this,n,t)},bt(Ys).y19=function(n){return Ui("\n // (ShadeStyleGLSL.kt)\n #define d_vertex_buffer 0\n #define d_image 1\n #define d_circle 2\n #define d_rectangle 3\n #define d_font_image_map 4\n #define d_expansion 5\n #define d_fast_line 6\n #define d_mesh_line 7\n #define d_point 8\n #define d_custom 9\n #define d_primitive "+n+"\n // \n ")},bt(Ys).z19=function(n,t){var i=Xs(n,Ks);return Wi("\n |//(ShadeStyleGLSL.kt)\n "+i+"\n "+Xs(t,Hs)+"\n |// \n ")},bt(Ys).a1a=function(n,t,i){return n=n===yt||n,t=t===yt||t,i===yt?this.z19(n,t):i.z19.call(this,n,t)},bt(Zs).u12=function(n,t,i){return kt.cw().b1a(n,t,i)},bt(Zs).d18=function(n,t,i,e){return i=i===yt?Vn.yu():i,e===yt?this.u12(n,t,i):e.u12.call(this,n,t,i)},bt(t_).cw=function(){var n=this.bw_1;if(null==n)throw Zt(jt("no active driver"));return n},a=new Zi,l=new ne,f=new ie,Dn=new Rr,Vn=new Tr,Pn=new Br,Wn=new Fr,ht=new vs,new ks,wt=!1,dt=new Ys,$t=new Zs,gt=!1,kt=new t_,n.$_$=n.$_$||{},n.$_$.a=hs,n.$_$.b=Ze,n.$_$.c=Qe,n.$_$.d=Xe,n.$_$.e=fr,n.$_$.f=vr,n.$_$.g=cr,n.$_$.h=ur,n.$_$.i=or,n.$_$.j=sr,n.$_$.k=_r,n.$_$.l=rr,n.$_$.m=ir,n.$_$.n=nr,n.$_$.o=er,n.$_$.p=tr,n.$_$.q=Je,n.$_$.r=function(){return Vr(),Xn},n.$_$.s=function(){return Vr(),Yn},n.$_$.t=function(){return Vr(),Kn},n.$_$.u=function(){return Vr(),Hn},n.$_$.v=function(){return Vr(),Un},n.$_$.w=br,n.$_$.x=Jr,n.$_$.y=function(){return Qr(),it},n.$_$.z=function(){return Qr(),et},n.$_$.a1=ns,n.$_$.b1=ts,n.$_$.c1=is,n.$_$.d1=function(n,t,i){var e;return n=n===yt?0:n,t=t===yt?mt(this.v12().cv(),this.v12().bv().j()):t,i===yt?(this.w12(n,t),e=zt):e=i.w12.call(this,n,t),e},n.$_$.e1=function(n,t,i,e,r,s,_,u){return i=i===yt?null:i,e=e===yt?null:e,r=r===yt?null:r,_=_===yt?Vn.b11():_,u===yt?this.d1a(n,t,i,e,r,s,_):u.d1a.call(this,n,t,i,e,r,s,_)},n.$_$.f1=function(){return null==v&&new he,v},n.$_$.g1=Dn,n.$_$.h1=Vn,n.$_$.i1=dt,n.$_$.j1=Wn,n.$_$.k1=kt,n.$_$.l1=function(n){switch(n){case"READ":return us(),st;case"READ_WRITE":return hs();case"WRITE":return us(),ut;default:us(),Bt("No enum constant value.")}},n.$_$.m1=Fs,n.$_$.n1=Vs,n.$_$.o1=Ki,n.$_$.p1=Gs,n.$_$.q1=Ps,n.$_$.r1=Ws,n.$_$.s1=function(n){switch(n){case"R":return Xe();case"RG":return Qe();case"RGB":return xe(),y;case"BGR":return xe(),q;case"RGBa":return Ze();case"BGRa":return xe(),C;default:xe(),Bt("No enum constant value.")}},n.$_$.t1=function(n){switch(n){case"UINT8":return Je();case"UINT8_SRGB":return qe(),E;case"UINT16":return nr();case"UINT8_INT":return tr();case"UINT16_INT":return ir();case"UINT32_INT":return er();case"SINT8_INT":return rr();case"SINT16_INT":return sr();case"SINT32_INT":return _r();case"FLOAT16":return ur();case"FLOAT32":return or();case"DXT1":return qe(),D;case"DXT3":return qe(),F;case"DXT5":return qe(),V;case"DXT1_SRGB":return qe(),G;case"DXT3_SRGB":return qe(),P;case"DXT5_SRGB":return qe(),W;case"BPTC_UNORM":return qe(),U;case"BPTC_UNORM_SRGB":return qe(),K;case"BPTC_FLOAT":return qe(),H;case"BPTC_UFLOAT":return qe(),Y;default:qe(),Bt("No enum constant value.")}},n.$_$.u1=Us,n.$_$.v1=le,n.$_$.w1=ze,n.$_$.x1=qr,n.$_$.y1=function(){return si(this.jz()*this.gz())},n.$_$.z1=function(){return si(this.iz()*this.gz())},n.$_$.a2=Lr,n.$_$.b2=Dr,n.$_$.c2=Or,n.$_$.d2=Qs,n.$_$.e2=Pr,n.$_$.f2=Wr,n.$_$.g2=Hr,n.$_$.h2=Ur,n.$_$.i2=function(n,t){this.w12(mt(n,this.v12().bv().j()),mt(t,this.v12().bv().j()))},n.$_$.j2=Xr,n.$_$.k2=Js,n.$_$.l2=n_,n.$_$.m2=Mr,n.$_$.n2=function n(t,i,e){var r="";if(!(e=e!==yt&&e))for(var s=t.t12_1.q().g();s.h();){var _=s.i(),u=_.r(),o=_.s();if(o instanceof Ur){var h=qi(t.s12_1,u);r=r+"\n"+n(o instanceof Ur?o:Tt(),pi(h,7))}}var a=e?"":r+"\n#ifndef STRUCT_"+i+"\n#define STRUCT_"+i+"\nstruct "+i+" {\n",l=ji(t.s12_1);return"\n "+a+"\n"+Si(Ci(l,"\n",yt,yt,yt,yt,Kr)," ")+"\n"+(e?"":"};\n#endif \n")+" \n"},n.$_$.o2=ls,n.$_$.p2=i_,n})?e.apply(t,r):e)||(n.exports=s)},856:(n,t,i)=>{var e,r,s;r=[t,i(36),i(385)],void 0===(s="function"==typeof(e=function(n,t,i){"use strict";var e,r,s=t.$_$.a,_=t.$_$.c,u=t.$_$.g,o=t.$_$.b1,h=t.$_$.x3,a=t.$_$.v4,l=t.$_$.l3,f=i.$_$.a;function c(){return g(),e}function v(n,t){return function(){return"Exception thrown in listener ('"+n.mu_1+"'): "+s(t).y7()+"; '"+t.message+"'"}}function w(n,t){return function(){return"Exception thrown in one-shot listener ('"+n.mu_1+"'): "+s(t).y7()+"; '"+t.message+"'"}}function d(n,t){n=n===_?"":n,t=t!==_&&t,this.mu_1=n,this.nu_1=t,this.ou_1=u(),this.pu_1=u(),this.qu_1=u()}function $(){return g(),o}function g(){r||(r=!0,e=f.bd($))}return l(d,"Event",d),h(d).ru=function(n){this.qu_1.e(n),this.su()},h(d).su=function(){if(this.qu_1.j()>0){var n=u();n.p(this.qu_1),this.qu_1.b3();for(var t=n.g();t.h();){for(var i=t.i(),e=this.ou_1.g();e.h();){var r=e.i();try{r(i)}catch(n){if(n instanceof a){var s=n;throw c().yc(v(this,s)),s}throw n}}for(var _=this.pu_1.g();_.h();){var o=_.i();try{o(i)}catch(n){if(n instanceof a){var h=n;throw c().yc(w(this,h)),h}throw n}}this.pu_1.b3()}}},h(d).tu=function(n){return this.ou_1.e(n),n},n.$_$=n.$_$||{},n.$_$.a=d,n})?e.apply(t,r):e)||(n.exports=s)},651:(n,t,i)=>{var e,r,s;r=[t,i(36),i(988),i(560),i(731)],void 0===(s="function"==typeof(e=function(n,t,i,e,r){"use strict";var s,_,u,o,h=Math.imul,a=t.$_$.c,l=t.$_$.l,f=t.$_$.e,c=t.$_$.x3,v=(t.$_$.b1,t.$_$.l3),w=t.$_$.y4,d=t.$_$.z3,$=t.$_$.q,g=i.$_$.f,k=i.$_$.g,m=i.$_$.e,p=t.$_$.e5,b=t.$_$.k4,x=t.$_$.t1,y=t.$_$.o4,q=t.$_$.h4,j=i.$_$.s1,C=i.$_$.t1,S=i.$_$.l1,z=i.$_$.m2,E=t.$_$.x1,A=i.$_$.b,R=i.$_$.i,L=i.$_$.h,I=i.$_$.j,T=i.$_$.m,N=i.$_$.n,M=i.$_$.l,B=i.$_$.p,O=i.$_$.q,D=i.$_$.c,F=i.$_$.d,V=i.$_$.k,G=i.$_$.o,P=i.$_$.f2,W=i.$_$.e2,U=t.$_$.j5,K=t.$_$.k3,H=t.$_$.z4,Y=t.$_$.e3,X=i.$_$.b2,Q=t.$_$.f,Z=t.$_$.b2,J=t.$_$.g,nn=t.$_$.c1,tn=i.$_$.k1,en=i.$_$.c2,rn=t.$_$.m1,sn=t.$_$.f1,_n=t.$_$.e2,un=i.$_$.j1,on=i.$_$.v,hn=i.$_$.t,an=i.$_$.u,ln=i.$_$.s,fn=i.$_$.r,cn=i.$_$.h1,vn=t.$_$.b5,wn=i.$_$.i1,dn=t.$_$.j4,$n=t.$_$.s4,gn=t.$_$.g4,kn=i.$_$.o1,mn=t.$_$.t3,pn=i.$_$.d2,bn=i.$_$.g2,xn=t.$_$.n3,yn=t.$_$.s1,qn=t.$_$.a,jn=t.$_$.s,Cn=t.$_$.u1,Sn=i.$_$.h2,zn=e.$_$.m,En=t.$_$.p,An=t.$_$.q1,Rn=t.$_$.q3,Ln=t.$_$.k1,In=e.$_$.t,Tn=e.$_$.u,Nn=e.$_$.v,Mn=r.$_$.b,Bn=e.$_$.r,On=t.$_$.s3,Dn=t.$_$.k2,Fn=t.$_$.r3,Vn=i.$_$.l2,Gn=i.$_$.m1,Pn=i.$_$.n1,Wn=i.$_$.u1,Un=i.$_$.p1,Kn=i.$_$.v1,Hn=i.$_$.r1,Yn=e.$_$.p,Xn=e.$_$.o,Qn=e.$_$.n,Zn=e.$_$.q,Jn=t.$_$.l4,nt=t.$_$.d2,tt=t.$_$.j,it=t.$_$.o1,et=i.$_$.a,rt=i.$_$.n2;function st(n){n=n===a?1e3:n,this.k1j_1=n,this.l1j_1=l(),this.m1j_1=f()}function _t(n){var t,i=new w(n.q1j_1.pw(),n.r1j_1.sw());if(i.equals(new w(1,m())))t="float";else if(i.equals(new w(2,m())))t="vec2";else if(i.equals(new w(3,m())))t="vec3";else if(i.equals(new w(4,m())))t="vec4";else if(i.equals(new w(1,k())))t="uint";else if(i.equals(new w(2,k())))t="uvec2";else if(i.equals(new w(3,k())))t="uvec3";else if(i.equals(new w(4,k())))t="uvec4";else if(i.equals(new w(1,g())))t="int";else if(i.equals(new w(2,g())))t="ivec2";else if(i.equals(new w(3,g())))t="ivec3";else{if(!i.equals(new w(4,g())))throw $(d("unsupported type"));t="ivec4"}return t}function ut(n){switch(n.c1_1){case 0:case 3:case 5:case 1:case 2:case 4:case 6:case 8:case 10:case 7:case 9:case 11:case 12:case 14:case 16:case 13:case 15:case 17:case 18:case 20:case 22:case 19:case 21:case 23:return"flat ";default:return""}}function ot(n){var t;switch(n.c1_1){case 0:case 3:case 5:t="int";break;case 1:case 2:case 4:t="uint";break;case 6:case 8:case 10:t="uvec2";break;case 7:case 9:case 11:t="ivec2";break;case 12:case 14:case 16:t="uvec3";break;case 13:case 15:case 17:t="ivec3";break;case 18:case 20:case 22:t="uvec4";break;case 19:case 21:case 23:t="ivec4";break;case 24:t="float";break;case 25:t="vec2";break;case 26:t="vec3";break;case 27:t="vec4";break;case 28:t="mat2";break;case 29:t="mat3";break;case 30:t="mat4";break;default:p()}return t}function ht(n,t){var i,e=b(n,[","]),r=x(e,1),s="uniform",_=b(e.k(0),[" "]);switch(_.k(0)){case"struct":i=s+" "+_.k(1)+" p_"+t+wt(r,r,t);break;case"Image2D":case"Image3D":case"ImageCube":case"Image2DArray":case"ImageBuffer":case"ImageCubeArray":var u,o=y(e.k(0),1).toLowerCase()+q(e.k(0),1),h=j(e.k(1)),a=C(e.k(2)),l=S(e.k(3)),f=ct(h,a);switch(l.c1_1){case 0:u="layout("+f+") readonly "+s+" "+o+" p_"+t+";";break;case 1:u="layout("+f+") "+s+" "+o+" p_"+t+";";break;case 2:u="layout("+f+") writeonly "+s+" "+o+" p_"+t+";";break;default:p()}i=u;break;default:i=s+" "+z(e.k(0))+" p_"+t+wt(r,r,t)}return i}function at(n){var t;switch(n.c1_1){case 2:t="restrict";break;case 1:t="coherent";break;case 0:t="volatile";break;default:p()}return t}function lt(n){var t;switch(n.c1_1){case 0:t="readonly";break;case 1:t="";break;case 2:t="writeonly";break;default:p()}return t}function ft(n){var t=n.s1j_1;return E(t,"\n",a,a,a,a,dt)}function ct(n,t){var i,e=new w(n,t);if(e.equals(new w(F(),O())))i="r8";else if(e.equals(new w(F(),B())))i="r8u";else if(e.equals(new w(F(),M())))i="r8i";else if(e.equals(new w(F(),N())))i="r16";else if(e.equals(new w(F(),T())))i="r16u";else if(e.equals(new w(F(),I())))i="r16i";else if(e.equals(new w(F(),G())))i="r32u";else if(e.equals(new w(F(),V())))i="r32i";else if(e.equals(new w(F(),L())))i="r16f";else if(e.equals(new w(F(),R())))i="r32f";else if(e.equals(new w(D(),O())))i="rg8";else if(e.equals(new w(D(),B())))i="rg8u";else if(e.equals(new w(D(),M())))i="rg8i";else if(e.equals(new w(D(),N())))i="rg16";else if(e.equals(new w(D(),T())))i="rg16u";else if(e.equals(new w(D(),I())))i="rg16i";else if(e.equals(new w(D(),L())))i="rg16f";else if(e.equals(new w(D(),R())))i="rg32f";else if(e.equals(new w(A(),O())))i="rgba8";else if(e.equals(new w(A(),B())))i="rgba8u";else if(e.equals(new w(A(),M())))i="rgba8i";else if(e.equals(new w(A(),N())))i="rgba16";else if(e.equals(new w(A(),T())))i="rgba16u";else if(e.equals(new w(A(),I())))i="rgba16i";else if(e.equals(new w(A(),L())))i="rgba16f";else{if(!e.equals(new w(A(),R()))){var r="unsupported layout: "+n.toString()+" "+t.toString();throw $(d(r))}i="rgba32f"}return i}function vt(n){var t;switch(n.c1_1){case 2:t="bool";break;case 1:t="int";break;case 0:t="uint";break;case 3:t="float";break;case 4:t="double";break;case 7:t="uvec2";break;case 5:t="bvec2";break;case 6:t="ivec2";break;case 8:t="vec2";break;case 9:t="dvec2";break;case 12:t="uvec3";break;case 10:t="bvec3";break;case 11:t="ivec3";break;case 13:t="vec3";break;case 14:t="dvec3";break;case 17:t="uvec4";break;case 15:t="bvec4";break;case 16:t="ivec4";break;case 18:t="vec4";break;case 19:t="dvec4";break;case 20:t="mat2";break;case 21:t="mat3";break;case 22:t="mat4";break;default:p()}return t}function wt(n,t,i){return null==n?";":"["+t+"]; \n#define p_"+i+"_SIZE "+t}function dt(n){return n instanceof W?1===n.z1j_1?vt(n.y1j_1)+" "+n.x1j_1+";":vt(n.y1j_1)+"["+n.z1j_1+"] "+n.x1j_1+";":n instanceof P?1===n.w1j_1?n.u1j_1+" "+n.v1j_1+";":n.u1j_1+"["+n.w1j_1+"] "+n.v1j_1+";":""}function $t(n,t,i){this.a1k_1=n,this.b1k_1=t,this.c1k_1=i}function gt(n,t,i){St();var e,r,_,u=new $t(n,t,i),o=(St(),s),h=null==n?null:n.a14_1,f=null!=h&&h;return o.o1j(u,f,(e=n,r=t,_=i,function(){null==e||(e.a14_1=!1);var n=new X;if(null!=e){n.f12_1=e.f14_1,n.g12_1=e.g14_1,n.h12_1=e.h14_1,n.i12_1=e.c14_1,n.j12_1=e.d14_1,n.k12_1=e.e14_1,n.b12_1=function(n){for(var t=n.t1l(),i=l(),e=t.q().g();e.h();){var r=e.i(),s=r.s();Jn(s,"struct")&&i.m3(r.r(),r.s())}for(var _=i,u=n.u1l(),o=l(),h=u.q().g();h.h();){var f=h.i(),c=f.s();Jn(c,"struct")&&o.m3(f.r(),f.s())}for(var v=nt(_,o).a1(),d=Q(sn(v,10)),$=v.g();$.h();){var g,k=$.i(),m=n.e1l().z(k),p=null==m?n.t1k().z(k):m;if(null!=p&&Rn(p)){var x=n.e1l().z(k),y=null==x?n.t1k().z(k):x,q=null!=y&&Rn(y)?y:H();g=new w(k,yn(q))}else{var j,C=n.e1l().z(k);if(null==C){var S=n.t1k().z(k),z=S instanceof bn?S:null;j=null==z?null:z.w1k_1}else j=C;var A=vn(j);g=new w(k,A instanceof Sn?A:H())}var R=g;d.e(R)}for(var L=d,I=tt(),T=J(),N=L.g();N.h();){var M=N.i(),B=qn(M.oa_1).y7();I.e(B)&&T.e(M)}return E(T,"\n",a,a,a,a,(O=n,function(n){var t=n.oa_1,i=O.t1l().z(n.na_1),e=b(b(vn(null==i?O.u1l().z(n.na_1):i),[" "]).k(1),[","]).k(0);return rt(t,e,!1)}));var O}(e);for(var t=n,i=e.t14_1,s=Q(i.j()),u=i.q().g();u.h();){var o=u.i(),h="// -- output-from "+o.s().toString()+" \n#define OUTPUT_"+o.r()+" \nlayout(location = "+o.s().p1j_1+") out "+_t(o.s())+" o_"+o.r()+";\n";s.e(h)}t.l12_1=E(s,""),n.c12_1=function(n){for(var t=n.t1l(),i=Q(t.j()),e=t.q().g();e.h();){var r=e.i(),s=ht(r.s(),r.r());i.e(s)}return E(i,"\n")}(e),n.e12_1=E(Z([Tt(e),Nt(e)]),"\n")}for(var f=n,c=r,v=J(),d=c.g();d.h();){for(var $=d.i().jv_1,g=J(),k=$.g();k.h();){var m=k.i();"_"!==m.k13_1&&g.e(m)}nn(v,g)}for(var p=E(v,"",a,a,a,a,mt),x=_,y=J(),q=x.g();q.h();){for(var j=q.i().jv_1,C=J(),S=j.g();S.h();){var z=S.i();"_"!==z.k13_1&&C.e(z)}nn(y,C)}var A=y;f.m12_1=p+E(A,"",a,a,a,a,pt);for(var R=n,L=r,I=J(),T=L.g();T.h();){for(var N=T.i().jv_1,M=J(),B=N.g();B.h();){var O=B.i();"_"!==O.k13_1&&M.e(O)}nn(I,M)}for(var D=E(I,"",a,a,a,a,bt),F=_,V=J(),G=F.g();G.h();){for(var P=G.i().jv_1,W=J(),U=P.g();U.h();){var K=U.i();"_"!==K.k13_1&&W.e(K)}nn(V,W)}var Y=V;R.n12_1=D+E(Y,"",a,a,a,a,xt);for(var tn=n,en=r,rn=J(),_n=en.g();_n.h();){for(var un=_n.i().jv_1,on=J(),hn=un.g();hn.h();){var an=hn.i();"_"!==an.k13_1&&on.e(an)}nn(rn,on)}for(var ln=E(rn,"",a,a,a,a,yt),fn=_,cn=J(),wn=fn.g();wn.h();){for(var dn=wn.i().jv_1,$n=J(),gn=dn.g();gn.h();){var kn=gn.i();"_"!==kn.k13_1&&$n.e(kn)}nn(cn,$n)}var mn=cn;tn.o12_1=ln+E(mn,"",a,a,a,a,qt);for(var pn=n,xn=r,jn=J(),Cn=xn.g();Cn.h();){for(var zn=Cn.i().jv_1,En=J(),An=zn.g();An.h();){var Ln=An.i();"_"!==Ln.k13_1&&En.e(Ln)}nn(jn,En)}for(var In=E(jn,"",a,a,a,a,jt),Tn=_,Nn=J(),Mn=Tn.g();Mn.h();){for(var Bn=Mn.i().jv_1,On=J(),Dn=Bn.g();Dn.h();){var Fn=Dn.i();"_"!==Fn.k13_1&&On.e(Fn)}nn(Nn,On)}var Vn=Nn;pn.d12_1=In+E(Vn,"",a,a,a,a,Ct);var Gn=n,Pn=null==e?null:e.v14_1;return Gn.p12_1=null!=Pn&&Pn,n}))}function kt(n){return St(),1===n.n13_1?"":"["+n.n13_1+"]"}function mt(n){return St(),ut(n.m13_1)+"out "+ot(n.m13_1)+" va_"+n.k13_1+kt(n)+";\n"}function pt(n){return St(),ut(n.m13_1)+"out "+ot(n.m13_1)+" vi_"+n.k13_1+kt(n)+";\n"}function bt(n){return St(),ut(n.m13_1)+"in "+ot(n.m13_1)+" va_"+n.k13_1+kt(n)+";\n"}function xt(n){return St(),ut(n.m13_1)+"in "+ot(n.m13_1)+" vi_"+n.k13_1+kt(n)+";\n"}function yt(n){return St()," va_"+n.k13_1+" = a_"+n.k13_1+";\n"}function qt(n){return St(),"vi_"+n.k13_1+" = i_"+n.k13_1+";\n"}function jt(n){return St(),"in "+ot(n.m13_1)+" a_"+n.k13_1+kt(n)+";\n"}function Ct(n){return St(),"in "+ot(n.m13_1)+" i_"+n.k13_1+kt(n)+";\n"}function St(){_||(_=!0,s=new st)}function zt(n,t){return tn.cw().e1a(t)+"\n"+n}function Et(n,t,i,e,r,s){en.call(this,n),this.e1k_1=t,this.f1k_1=i,this.g1k_1=e,this.h1k_1=r,this.i1k_1=s,this.j1k_1=0,this.k1k_1=0,this.l1k_1=null,this.m1k_1=l()}function At(){}function Rt(){}function Lt(){}function It(){}function Tt(n){for(var t=2,i=n.t1k(),e=Q(i.j()),r=i.q().g();r.h();){var s,_=r.i(),u=_.s();if(u instanceof bn){var o="layout(std430, binding = "+t+")",h=n.v1l().z(_.r()),l=null==h?it():h,f=E(l," ",a,a,a,a,Mt),c=n.w1l().z(_.r()),v=lt(null==c?et():c),w=_.r(),g=u.w1k_1,k=rt(g,"",!0);s=E(Z([o,f,v,"buffer B_"+w+" { "+k+" } b_"+_.r()+";"])," ")}else if(mn(u,pn))s="layout(std430, binding = "+t+") buffer B_"+_.r()+" { "+ft(u.mv())+" } b_"+_.r()+";";else{if(!mn(u,kn)){var m="unsupported buffer type: "+d(u);throw $(d(m))}var p=t,b=_.r(),x=_.s();s="layout(binding = "+p+", offset = 0) uniform atomic_uint b_"+b+"["+(mn(x,kn)?x:H()).j()+"];"}var y=s;t=t+1|0,e.e(y)}return E(e,"\n")}function Nt(n){for(var t=n.x1l(),i=Q(t.j()),e=t.q().g();e.h();){var r,s=e.i(),_=b(s.s(),[","]),u=b(_.k(0),[" "]);switch(u.k(0)){case"Image2D":case"Image3D":case"ImageCube":case"Image2DArray":case"ImageBuffer":case"ImageCubeArray":var o,h=y(_.k(0),1).toLowerCase()+q(_.k(0),1),l=j(_.k(1)),f=C(_.k(2)),c=ct(l,f);switch(f.sw().c1_1){case 2:o="i";break;case 1:o="u";break;default:o=""}var v,w=n.c1l().z(s.r());switch(w){case-1:v="";break;case 0:throw $(d("zero-sized arrays are not supported"));default:v="["+w+"]"}var g=v,k="layout("+c+", binding = "+n.z1k().z(s.r())+")",m=n.y1l().z(s.r()),p=null==m?it():m,x=E(p," ",a,a,a,a,Bt),S=n.z1l().z(s.r());r=E(Z([k,x,lt(null==S?et():S),"uniform "+o+h+" p_"+s.r()+g+";"])," ");break;default:var z="unknown image type '"+u.k(0);throw $(d(z))}var A=r;i.e(A)}return E(i,"\n")}function Mt(n){return at(n)}function Bt(n){return at(n)}return v(st,"LRUCache",st),v($t,"CacheEntry"),xn(It,"StyleManagerDispatchUniform"),xn(Lt,"StyleManagerDispatchImageBindings"),xn(Rt,"StyleManagerDispatchBufferBindings"),v(Et,"ShadeStyleManagerGLCommon",a,en,[en,It,Lt,Rt]),v(At,"ShaderGeneratorsGLCommon",At),c(st).z=function(n){return this.l1j_1.z(n)},c(st).n1j=function(n,t){this.l1j_1.j()>=this.k1j_1&&this.l1j_1.n3(this.m1j_1.y9()),this.l1j_1.m3(n,t),this.m1j_1.x9(n)},c(st).o1j=function(n,t,i){var e,r=this.z(n);if(t||null==r){var s=i();this.n1j(n,s),e=s}else e=r;return e},c($t).toString=function(){return"CacheEntry(shadeStyle="+U(this.a1k_1)+", vertexFormats="+d(this.b1k_1)+", instanceAttributeFormats="+d(this.c1k_1)+")"},c($t).hashCode=function(){var n=null==this.a1k_1?0:K(this.a1k_1);return n=h(n,31)+K(this.b1k_1)|0,h(n,31)+K(this.c1k_1)|0},c($t).equals=function(n){if(this===n)return!0;if(!(n instanceof $t))return!1;var t=n instanceof $t?n:H();return!!Y(this.a1k_1,t.a1k_1)&&!!Y(this.b1k_1,t.b1k_1)&&!!Y(this.c1k_1,t.c1k_1)},c(Et).n1k=function(n){this.k1k_1=n},c(Et).o1k=function(){return this.k1k_1},c(Et).y11=function(n,t,i){for(var e=null==n?null:n.u14_1,r=null==e?rn():e,s=Q(sn(r,10)),_=r.g();_.h();){var u=_.i().bv();s.e(u)}var h=_n(i,s);if(null==n){if(null==this.l1k_1){var a=gt(n,t,h),l=un,f=zt(this.e1k_1(a),on()),c=this.f1k_1,v=null==c?null:c(a),w=null==v?null:zt(v,hn()),d=this.g1k_1,$=null==d?null:d(a),g=null==$?null:zt($,an()),k=this.h1k_1,m=null==k?null:k(a);this.l1k_1=l.q12(f,w,g,null==m?null:zt(m,ln()),zt(this.i1k_1(a),fn()),"shade-style-default:"+this.x11_1,cn.b11())}return vn(this.l1k_1)}var p,b=gt(n,t,h),x=this.m1k_1,y=x.z(b);if(null==y){var q;try{var j=un,C=zt(this.e1k_1(b),on()),S=this.f1k_1,z=null==S?null:S(b),E=null==z?null:zt(z,hn()),A=this.g1k_1,R=null==A?null:A(b),L=null==R?null:zt(R,an()),I=this.h1k_1,T=null==I?null:I(b);q=j.q12(C,E,L,null==T?null:zt(T,ln()),zt(this.i1k_1(b),fn()),"shade-style-custom:"+this.x11_1+"-"+b.hashCode(),cn.b11())}catch(n){if(!(n instanceof Error))throw n;if(!o)throw n;q=this.y11(null,t,h)}var N=q;x.m3(b,N),p=N}else p=y;var M=p;return this.p1k(n,M),this.q1k(n,M),this.r1k(n,M),M},c(At).o19=function(n){var t=wn.y19("d_vertex_buffer"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=n.c12_1,u=null==_?"":_,o=wn.a1a(),h=n.n12_1,l=null==h?"":h,f=n.l12_1,c=null==f?"":f,v=wn.q19_1,w=n.p12_1?"":"out vec4 o_color;",d=wn.v19(a,"v_instance"),$=n.k12_1,g=null==$?"":$,k=n.h12_1,m=null==k?null:dn(k," ");return $n("|\n|"+t+"\n|"+e+"\n|"+s+"\n|"+u+"\n|#ifdef OR_GL \nlayout(origin_upper_left) in vec4 gl_FragCoord;\n#endif \n\n\n|uniform sampler2D image;\n|"+o+"\n|"+l+"\n|"+c+"\n|"+v+"\n\n|#ifndef OUTPUT_color\n|"+w+"\n|#endif\n|\n|flat in int v_instance;\n|flat in float va_pointSize;\n|"+d+"\n|"+g+"\n|void main(void) {\n| vec4 x_fill = u_fill;\n| vec4 x_stroke = u_stroke;\n| {\n"+(null==m?"":m)+"\n| }\n "+(n.p12_1?"":" o_color = x_fill;\n o_color.rgb *= o_color.a;\n")+"\n|}")},c(At).n19=function(n){var t=wn.y19("d_vertex_buffer"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=wn.a1a(),u=n.d12_1,o=null==u?"":u,h=n.c12_1,a=null==h?"":h,l=n.m12_1,f=null==l?"":l,c=wn.r19_1,v=n.i12_1,w=null==v?"":v,d=wn.x19(),$=n.o12_1,g=null==$?"":$,k=n.d12_1,m=!0===(null==k?null:gn(k,"vec3 a_normal;"))?"x_normal = a_normal;":"",p=wn.s19_1,b=n.f12_1,x=null==b?null:dn(b," ");return $n("\n"+t+"\n"+e+"\n"+s+"\n"+_+"\n"+o+"\n"+a+"\n"+f+"\n"+c+"\n"+w+"\n\nflat out int v_instance;\nflat out float va_pointSize;\nvoid main() {\n int instance = gl_InstanceID; // this will go use c_instance instead\n"+d+"\n"+g+"\n vec3 x_normal = vec3(0.0, 0.0, 0.0);\n "+m+"\n vec3 x_position = a_position;\n float x_pointSize = 1.0;\n\n "+p+"\n {\n"+(null==x?"":x)+"\n }\n "+wn.t19_1+"\n\n v_instance = instance;\n gl_Position = v_clipPosition;\n gl_PointSize = x_pointSize;\n va_pointSize = x_pointSize;\n}\n ")},c(At).f18=function(n){var t=wn.y19("d_image"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=n.c12_1,u=null==_?"":_,o=wn.a1a(),h=n.n12_1,l=null==h?"":h,f=wn.q19_1,c=n.l12_1,v=null==c?"":c,w=n.p12_1?"":"out vec4 o_color;",d=wn.v19(a,a,a,a,"v_boundsPosition"),$=n.k12_1,g=null==$?"":$,k=n.h12_1,m=null==k?null:dn(k," ");return"\n"+t+"\n"+e+"\n"+s+"\n"+u+"\n#ifdef OR_GL \nlayout(origin_upper_left) in vec4 gl_FragCoord;\n#endif \n\n\nuniform sampler2D image;\n"+o+"\n"+l+"\n"+f+"\n\n"+v+"\n\n#ifndef OUTPUT_color\n"+w+"\n#endif\n\nin vec3 v_boundsPosition;\nflat in int v_instance;\nvec4 colorTransform(vec4 color, float[25] matrix) {\n float r = color.r * matrix[0] + color.g * matrix[5] + color.b * matrix[10] + color.a * matrix[15] + matrix[20];\n float g = color.r * matrix[1] + color.g * matrix[6] + color.b * matrix[11] + color.a * matrix[16] + matrix[21];\n float b = color.r * matrix[2] + color.g * matrix[7] + color.b * matrix[12] + color.a * matrix[17] + matrix[22];\n float a = color.r * matrix[3] + color.g * matrix[8] + color.b * matrix[13] + color.a * matrix[18] + matrix[23];\n return vec4(r, g, b, a);\n}\n"+d+"\n"+g+"\nvoid main(void) {\n\n vec4 x_fill = texture(image, va_texCoord0);\n vec4 x_stroke = u_stroke;\n {\n"+(null==m?"":m)+"\n }\n float div = x_fill.a != 0.0 ? x_fill.a : 1.0;\n x_fill.rgb /= div;\n x_fill = colorTransform(x_fill, u_colorMatrix);\n x_fill.rgb *= x_fill.a;\n "+(n.p12_1?"":"o_color = x_fill;")+"\n}"},c(At).e18=function(n){var t=wn.y19("d_image"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=wn.a1a(),u=n.d12_1,o=null==u?"":u,h=n.c12_1,a=null==h?"":h,l=n.m12_1,f=null==l?"":l,c=wn.r19_1,v=wn.x19(),w=n.i12_1,d=null==w?"":w,$=n.o12_1,g=null==$?"":$,k=wn.s19_1,m=n.f12_1,p=null==m?null:dn(m," ");return"\n\n"+t+"\n"+e+"\n"+s+"\n"+_+"\nuniform int u_flipV;\n"+o+"\n"+a+"\n"+f+"\n"+c+"\n\n"+v+"\n"+d+"\n\nflat out int v_instance;\n\nout vec3 v_boundsPosition;\nvoid main() {\n v_instance = gl_InstanceID;\n\n "+g+"\n "+k+"\n vec3 x_normal = a_normal;\n vec3 x_position = a_position;\n x_position.xy = a_position.xy * i_target.zw + i_target.xy;\n v_boundsPosition = vec3(a_texCoord0.xy, 1.0);\n va_texCoord0.xy = a_texCoord0.xy * i_source.zw + i_source.xy;\n if (u_flipV == 0) {\n va_texCoord0.y = 1.0 - va_texCoord0.y;\n }\n {\n"+(null==p?"":p)+"\n }\n "+wn.t19_1+"\n gl_Position = v_clipPosition;\n}\n"},c(At).h18=function(n){var t=wn.y19("d_image"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=n.c12_1,u=null==_?"":_,o=wn.a1a(),h=n.n12_1,l=null==h?"":h,f=wn.q19_1,c=n.p12_1?"":"out vec4 o_color;",v=wn.v19(a,a,a,a,"v_boundsPosition"),w=n.k12_1,d=null==w?"":w,$=n.h12_1,g=null==$?null:dn($," ");return"\n"+t+"\n"+e+"\n"+s+"\n"+u+"\n#ifdef OR_GL \nlayout(origin_upper_left) in vec4 gl_FragCoord;\n#endif \n\n\nuniform sampler2DArray image;\n"+o+"\n"+l+"\n"+f+"\n\n#ifndef OUTPUT_color\n"+c+"\n#endif\n\n\nin vec3 v_boundsPosition;\nflat in int v_instance;\nflat in int v_layer;\nvec4 colorTransform(vec4 color, float[25] matrix) {\n float r = color.r * matrix[0] + color.g * matrix[5] + color.b * matrix[10] + color.a * matrix[15] + matrix[20];\n float g = color.r * matrix[1] + color.g * matrix[6] + color.b * matrix[11] + color.a * matrix[16] + matrix[21];\n float b = color.r * matrix[2] + color.g * matrix[7] + color.b * matrix[12] + color.a * matrix[17] + matrix[22];\n float a = color.r * matrix[3] + color.g * matrix[8] + color.b * matrix[13] + color.a * matrix[18] + matrix[23];\n return vec4(r, g, b, a);\n}\n\n"+v+"\n"+d+"\nvoid main(void) {\n vec4 x_fill = texture(image, vec3(va_texCoord0, float(v_layer) * 1.0));\n vec4 x_stroke = u_stroke;\n {\n"+(null==g?"":g)+"\n }\n float div = x_fill.a != 0.0 ? x_fill.a : 1.0;\n x_fill.rgb /= div;\n x_fill = colorTransform(x_fill, u_colorMatrix);\n x_fill.rgb *= x_fill.a;\n "+(n.p12_1?"":"o_color = x_fill;")+"\n}"},c(At).g18=function(n){var t=wn.y19("d_image"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=wn.a1a(),u=n.d12_1,o=null==u?"":u,h=n.c12_1,a=null==h?"":h,l=n.m12_1,f=null==l?"":l,c=wn.r19_1,v=wn.x19(),w=n.i12_1,d=null==w?"":w,$=n.o12_1,g=null==$?"":$,k=wn.s19_1,m=n.f12_1,p=null==m?null:dn(m," ");return"\n\n"+t+"\n"+e+"\n"+s+"\n"+_+"\nuniform int u_flipV;\n"+o+"\n"+a+"\n"+f+"\n"+c+"\n\n"+v+"\n"+d+"\n\nflat out int v_instance;\nflat out int v_layer;\n\nout vec3 v_boundsPosition;\nvoid main() {\n v_instance = gl_InstanceID;\n\n "+g+"\n "+k+"\n vec3 x_normal = a_normal;\n vec3 x_position = a_position;\n x_position.xy = a_position.xy * i_target.zw + i_target.xy;\n v_boundsPosition = vec3(a_texCoord0.xy, 1.0);\n va_texCoord0.xy = a_texCoord0.xy * i_source.zw + i_source.xy;\n v_layer = int(floor(i_layer+0.5));\n if (u_flipV == 0) {\n va_texCoord0.y = 1.0 - va_texCoord0.y;\n }\n {\n"+(null==p?"":p)+"\n }\n "+wn.t19_1+"\n gl_Position = v_clipPosition;\n}\n"},c(At).a19=function(n){var t=wn.y19("d_circle"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=n.c12_1,u=null==_?"":_,o=wn.a1a(a,!1),h=n.n12_1,l=null==h?"":h,f=wn.q19_1,c=n.p12_1?"":"out vec4 o_color;",v=wn.v19(a,a,a,a,"vec3(0.0, 0.0, 0.0)","v_boundsSize"),w=n.k12_1,d=null==w?"":w,$=n.h12_1,g=null==$?null:dn($," ");return $n("\n"+t+"\n"+e+"\n"+s+"\n"+u+"\n#ifdef OR_GL \nlayout(origin_upper_left) in vec4 gl_FragCoord;\n#endif \n\n\n"+o+"\n"+l+"\n"+f+"\n\n#ifndef OUTPUT_color\n"+c+"\n#endif\n\n\nflat in int v_instance;\nin vec3 v_boundsSize;\nflat in float va_pointSize;\n"+v+"\n"+d+"\nvoid main(void) {\n\n\n vec4 x_fill = vi_fill;\n vec4 x_stroke = vi_stroke;\n {\n"+(null==g?"":g)+"\n }\n x_fill.rgb *= x_fill.a;\n "+(n.p12_1?"":"o_color = x_fill;")+"\n}\n\n ")},c(At).z18=function(n){var t=wn.y19("d_point"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=wn.a1a(a,!1),u=n.d12_1,o=null==u?"":u,h=n.c12_1,l=null==h?"":h,f=n.m12_1,c=null==f?"":f,v=wn.r19_1,w=wn.x19(),d=n.i12_1,$=null==d?"":d,g=n.o12_1,k=null==g?"":g,m=wn.s19_1,p=n.f12_1,b=null==p?null:dn(p," ");return"\n"+t+"\n"+e+"\n"+s+"\n"+_+"\n"+o+"\n"+l+"\n"+c+"\n"+v+"\n\n"+w+"\n"+$+"\n\nflat out int v_instance;\nout vec3 v_boundsSize;\nflat out float va_pointSize;\nvoid main() {\n v_instance = gl_InstanceID;\n\n "+k+"\n\n v_boundsSize = vec3(0, 0.0, 0.0);\n "+m+"\n vec3 x_normal = vec3(0.0, 0.0, 1.0);\n vec3 x_position = a_position + i_offset;\n float x_pointSize = 1.0;\n {\n"+(null==b?"":b)+"\n }\n va_position = x_position;\n "+wn.t19_1+"\n gl_Position = v_clipPosition;\n gl_PointSize = x_pointSize;\n va_pointSize = x_pointSize;\n}"},c(At).p13=function(n){var t=wn.y19("d_circle"),i=n.b12_1,e=null==i?"":i,r=n.c12_1,s=null==r?"":r,_=n.e12_1,u=null==_?"":_,o=wn.a1a(a,!1),h=n.n12_1,l=null==h?"":h,f=wn.q19_1,c=n.p12_1?"":"out vec4 o_color;",v=n.k12_1,w=null==v?"":v,d=wn.v19(a,a,a,a,"vec3(va_texCoord0, 0.0)","v_boundsSize"),$=n.h12_1,g=null==$?null:dn($," ");return"\n"+t+"\n"+e+"\n"+s+"\n"+u+"\n#ifdef OR_GL \nlayout(origin_upper_left) in vec4 gl_FragCoord;\n#endif \n\n\n"+o+"\n"+l+"\n"+f+"\n\n#ifndef OUTPUT_color\n"+c+"\n#endif\n\n"+w+"\n\nflat in int v_instance;\nin vec3 v_boundsSize;\n"+d+"\n\n\nvoid main(void) {\n float smoothFactor = 3.0;\n\n vec4 x_fill = vi_fill;\n vec4 x_stroke = vi_stroke;\n float x_strokeWeight = vi_strokeWeight;\n\n {\n"+(null==g?"":g)+"\n }\n float wd = fwidth(length(va_texCoord0 - vec2(0.0)));\n float d = length(va_texCoord0 - vec2(0.5)) * 2.0;\n\n float or = smoothstep(0.0, wd * smoothFactor, 1.0 - d);\n float b = x_strokeWeight / vi_radius.x;\n float ir = smoothstep(0.0, wd * smoothFactor, 1.0 - b - d);\n\n vec4 final = vec4(0.0);\n final.rgb = x_stroke.rgb;\n final.a = or * (1.0 - ir) * x_stroke.a;\n final.rgb *= final.a;\n\n final.rgb += x_fill.rgb * ir * x_fill.a;\n final.a += ir * x_fill.a;\n "+(n.p12_1?"":"o_color = final;")+"\n}\n"},c(At).o13=function(n){var t=wn.y19("d_circle"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=wn.a1a(a,!1),u=n.d12_1,o=null==u?"":u,h=n.c12_1,l=null==h?"":h,f=n.m12_1,c=null==f?"":f,v=wn.r19_1,w=wn.x19(),d=n.i12_1,$=null==d?"":d,g=n.o12_1,k=null==g?"":g,m=wn.s19_1,p=n.f12_1,b=null==p?null:dn(p," ");return"\n// -- circle vertex shader\n"+t+"\n"+e+"\n"+s+"\n"+_+"\n"+o+"\n"+l+"\n"+c+"\n"+v+"\n\n"+w+"\n"+$+"\n\nflat out int v_instance;\nout vec3 v_boundsSize;\nvoid main() {\n v_instance = gl_InstanceID;\n\n "+k+"\n\n vec2 effectiveRadius = i_radius.xy + vec2(1.25 / u_contentScale) / (u_modelViewScalingFactor);\n\n v_boundsSize = vec3(effectiveRadius.xy, 0.0);\n "+m+"\n vec3 x_normal = a_normal;\n vec3 x_position = vec3(a_position.xy * effectiveRadius, 0.0) + i_offset;\n {\n"+(null==b?"":b)+"\n }\n va_position = x_position;\n "+wn.t19_1+"\n gl_Position = v_clipPosition;\n\n}\n "},c(At).u17=function(n){var t=wn.y19("d_font_image_map"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=n.c12_1,u=null==_?"":_,o=wn.a1a(),h=n.n12_1,l=null==h?"":h,f=wn.q19_1,c=n.p12_1?"":"out vec4 o_color;",v=n.k12_1,w=null==v?"":v,d=wn.v19("v_instance","v_element",a,a,"vec3(va_bounds.xy, 0.0)","vec3(va_bounds.zw, 0.0)"),$=n.h12_1,g=null==$?null:dn($," ");return"\n"+t+"\n"+e+"\n"+s+"\n"+u+"\n#ifdef OR_GL \nlayout(origin_upper_left) in vec4 gl_FragCoord;\n#endif \n\n\nuniform sampler2D image;\nflat in int v_instance;\nflat in int v_element;\n\n"+o+"\n"+l+"\n"+f+"\n\n#ifndef OUTPUT_color\n"+c+"\n#endif\n\n"+w+"\n\n"+d+"\nvoid main(void) {\n float imageMap = texture(image, va_texCoord0).r;\n\n vec4 x_fill = vec4(u_fill.rgb,u_fill.a * imageMap);\n vec4 x_stroke = u_stroke;\n {\n"+(null==g?"":g)+"\n }\n vec4 final = x_fill;\n final.rgb *= final.a;\n "+(n.p12_1?"":"o_color = final;")+"\n}\n"},c(At).t17=function(n){var t=wn.y19("d_font_image_map"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=wn.a1a(),u=n.d12_1,o=null==u?"":u,h=n.c12_1,a=null==h?"":h,l=n.m12_1,f=null==l?"":l,c=wn.r19_1,v=wn.x19("int(a_position.z)"),w=n.i12_1,d=null==w?"":w,$=n.o12_1,g=null==$?"":$,k=wn.s19_1,m=n.f12_1,p=null==m?null:dn(m," ");return"\n"+t+"\n"+e+"\n"+s+"\n"+_+"\n\n"+o+"\n"+a+"\n"+f+"\n"+c+"\n"+v+"\n"+d+"\nflat out int v_instance;\nflat out int v_element;\n\nvoid main() {\n\n vec3 decodedPosition = vec3(a_position.xy, 0.0);\n v_element = int(a_position.z);\n v_instance = int(a_instance);\n\n "+g+"\n "+k+"\n vec3 x_normal = vec3(0.0, 0.0, 1.0);\n vec3 x_position = decodedPosition;\n {\n"+(null==p?"":p)+"\n }\n "+wn.t19_1+"\n gl_Position = v_clipPosition;\n}\n "},c(At).h19=function(n){var t=wn.y19("d_rectangle"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=n.c12_1,u=null==_?"":_,o=wn.a1a(a,!1),h=n.n12_1,l=null==h?"":h,f=n.l12_1,c=null==f?"":f,v=wn.q19_1,w=n.p12_1?"":"out vec4 o_color;",d=n.k12_1,$=null==d?"":d,g=wn.v19(a,a,a,a,"vec3(va_texCoord0, 0.0)","v_boundsSize"),k=n.h12_1,m=null==k?null:dn(k," ");return"\n"+t+"\n"+e+"\n"+s+"\n"+u+"\n#ifdef OR_GL \nlayout(origin_upper_left) in vec4 gl_FragCoord;\n#endif \n\n\n"+o+"\n"+l+"\n"+c+"\n"+v+"\n\n#ifndef OUTPUT_color\n"+w+"\n#endif\n\n"+$+"\nflat in int v_instance;\nin vec3 v_boundsSize;\n\n"+g+"\n\nvoid main(void) {\n vec4 x_fill = vi_fill;\n vec4 x_stroke = vi_stroke;\n {\n"+(null==m?"":m)+"\n }\n vec2 wd = fwidth(va_texCoord0 - vec2(0.5));\n vec2 d = abs((va_texCoord0 - vec2(0.5)) * 2.0);\n\n float irx = smoothstep(0.0, wd.x * 2.5, 1.0-d.x - vi_strokeWeight * 2.0 / vi_dimensions.x);\n float iry = smoothstep(0.0, wd.y * 2.5, 1.0-d.y - vi_strokeWeight * 2.0 / vi_dimensions.y);\n float ir = irx*iry;\n\n vec4 final = vec4(1.0);\n final.rgb = x_fill.rgb * x_fill.a;\n final.a = x_fill.a;\n\n float sa = (1.0-ir) * x_stroke.a;\n final.rgb = final.rgb * (1.0-sa) + x_stroke.rgb * sa;\n final.a = final.a * (1.0-sa) + sa;\n\n "+(n.p12_1?"":" o_color = final;")+"\n}\n"},c(At).g19=function(n){var t=wn.y19("d_rectangle"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=wn.a1a(a,!1),o=n.d12_1,h=null==o?"":o,l=n.c12_1,f=null==l?"":l,c=n.m12_1,v=null==c?"":c,w=wn.r19_1,d=wn.x19(),$=n.i12_1,g=null==$?"":$,k=n.o12_1,m=null==k?"":k,p=wn.s19_1,b=n.f12_1,x=null==b?null:dn(b," ");return"\n"+t+"\n"+e+"\n"+s+"\n"+_+"\n"+h+"\n"+f+"\n"+v+"\n"+w+"\n\n"+d+"\n"+g+"\n\nflat out int v_instance;\nout vec3 v_boundsSize;\n"+u+"\n\nvoid main() {\n v_instance = gl_InstanceID;\n "+m+"\n "+p+"\n vec3 x_normal = vec3(0.0, 0.0, 1.0);\n vec2 rotatedPosition = rotate2(i_rotation) * (( a_position.xy - vec2(0.5) ) * i_dimensions) + vec2(0.5) * i_dimensions;\n\n vec3 x_position = vec3(rotatedPosition, 0.0) + i_offset;\n v_boundsSize = vec3(i_dimensions, 1.0);\n {\n"+(null==x?"":x)+"\n }\n "+wn.t19_1+"\n gl_Position = v_clipPosition;\n }\n "},c(At).x16=function(n){var t=wn.y19("d_expansion"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=n.c12_1,u=null==_?"":_,o=wn.a1a(),h=n.n12_1,l=null==h?"":h,f=wn.q19_1,c=n.p12_1?"":"out vec4 o_color;",v=n.k12_1,w=null==v?"":v,d=wn.v19(a,a,a,"va_vertexOffset","vec3(v_objectPosition.xy - bounds.xy, 0.0) / vec3(bounds.zw,1.0)","vec3(bounds.zw, 0.0)"),$=n.h12_1,g=null==$?null:dn($," ");return"\n"+t+"\n"+e+"\n"+s+"\n"+u+"\n#ifdef OR_GL \nlayout(origin_upper_left) in vec4 gl_FragCoord;\n#endif \n\n"+o+"\n"+l+"\n"+f+"\nflat in int v_instance;\nuniform float strokeMult;\nuniform float strokeThr;\nuniform float strokeFillFactor;\nuniform sampler2D tex;\nuniform vec4 bounds;\n\nin vec3 v_objectPosition;\nin vec2 v_ftcoord;\n\n#ifndef OUTPUT_color\n"+c+"\n#endif\n\n"+w+"\n\nfloat strokeMask() {\n\treturn min(1.0, (1.0-abs(v_ftcoord.x*2.0-1.0))*strokeMult) * min(1.0, v_ftcoord.y);\n\t//return pow(min(1.0, (1.0-abs(v_ftcoord.x*2.0-1.0)*strokeMult)) * min(1.0, v_ftcoord.y), 1.0);\n //return smoothstep(0.0, 1.0, (1.0-abs(v_ftcoord.x*2.0-1.0))*strokeMult) * smoothstep(0.0, 1.0, v_ftcoord.y);\n}\n\n"+d+"\n\nvoid main(void) {\n\tfloat strokeAlpha = strokeMask();\n\n vec4 x_stroke = u_stroke;\n vec4 x_fill = u_fill;\n\n"+(null==g?"":g)+"\n\n vec4 color = mix(x_stroke, x_fill, strokeFillFactor) * vec4(1.0, 1.0, 1.0, strokeAlpha);\n vec4 result = color;\n\n if (strokeAlpha < strokeThr) {\n\t discard;\n\t}\n\n vec4 final = result;\n\tfinal = result;\n\tfinal.rgb *= final.a;\n "+(n.p12_1?"":"o_color = final;")+"\n}\n"},c(At).w16=function(n){var t=wn.y19("d_expansion"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=wn.a1a(),u=n.c12_1,o=null==u?"":u,h=n.d12_1,a=n.m12_1,l=null==a?"":a,f=wn.r19_1,c=wn.x19(),v=n.i12_1,w=null==v?"":v,d=n.o12_1,$=null==d?"":d,g=wn.s19_1,k=n.f12_1,m=null==k?null:dn(k," ");return"\n"+t+"\n"+e+"\n"+s+"\n"+_+"\n"+o+"\n"+h+"\n"+l+"\n"+f+"\n\n"+c+"\n"+w+"\n\nout vec2 v_ftcoord;\nout float v_offset;\n\nout vec3 v_objectPosition;\nflat out int v_instance;\n\nvoid main() {\n v_instance = 0;\n "+$+"\n v_objectPosition = vec3(a_position, 0.0);\n v_ftcoord = a_texCoord0;\n\n vec3 x_position = vec3(a_position, 0.0);\n vec3 x_normal = vec3(0.0, 0.0, 1.0);\n "+g+"\n {\n"+(null==m?"":m)+"\n }\n "+wn.t19_1+"\n\n gl_Position = v_clipPosition;\n}\n"},c(At).y18=function(n){var t=wn.y19("d_fast_line"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=n.c12_1,u=null==_?"":_,o=wn.a1a(),h=n.n12_1,a=null==h?"":h,l=wn.q19_1,f=n.p12_1?"":"out vec4 o_color;",c=n.k12_1,v=null==c?"":c,w=wn.v19(),d=n.h12_1,$=null==d?null:dn(d," ");return"\n"+t+"\n"+e+"\n"+s+"\n"+u+"\n#ifdef OR_GL \nlayout(origin_upper_left) in vec4 gl_FragCoord;\n#endif \n\n\nuniform sampler2D image;\n"+o+"\n"+a+"\n"+l+"\nflat in int v_instance;\n\n#ifndef OUTPUT_color\n"+f+"\n#endif\n\n"+v+"\n\n"+w+"\nvoid main(void) {\n vec4 x_fill = u_fill;\n vec4 x_stroke = u_stroke;\n {\n"+(null==$?"":$)+"\n }\n\n\n vec4 final = x_stroke;\n final = x_stroke;\n final.rgb *= final.a;\n "+(n.p12_1?"":"o_color = final;")+"\n}\n"},c(At).x18=function(n){var t=wn.y19("d_fast_line"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=wn.a1a(),u=n.d12_1,o=null==u?"":u,h=n.c12_1,a=null==h?"":h,l=n.m12_1,f=null==l?"":l,c=wn.r19_1,v=wn.x19(),w=n.i12_1,d=null==w?"":w,$=n.o12_1,g=null==$?"":$,k=wn.s19_1,m=n.f12_1,p=null==m?null:dn(m," ");return"\n"+t+"\n"+e+"\n"+s+"\n"+_+"\n"+o+"\n"+a+"\n"+f+"\n"+c+"\n\n"+v+"\n"+d+"\n\nflat out int v_instance;\n\nvoid main() {\n v_instance = gl_InstanceID;\n\n "+g+"\n "+k+"\n vec3 x_normal = vec3(0.0, 0.0, 1.0);\n vec3 x_position = a_position;\n {\n"+(null==p?"":p)+"\n }\n "+wn.t19_1+"\n gl_Position = v_clipPosition;\n}\n"},c(At).q18=function(n){var t=wn.y19("d_mesh_line"),i=n.b12_1,e=null==i?"":i,r=n.e12_1,s=null==r?"":r,_=n.l12_1,u=null==_?"":_,o=n.c12_1,h=null==o?"":o,a=n.k12_1,l=null==a?"":a,f=wn.a1a(),c=n.n12_1,v=null==c?"":c,w=wn.q19_1,d=n.p12_1?"":"out vec4 o_color;",$=wn.v19(),g=n.h12_1,k=null==g?null:dn(g," ");return $n("\n |\n |"+t+"\n |"+e+"\n |"+s+"\n |"+u+"\n |"+h+"\n |#ifdef OR_GL \nlayout(origin_upper_left) in vec4 gl_FragCoord;\n#endif \n\n |\n |uniform sampler2D image;\n |"+l+"\n |"+f+"\n |"+v+"\n |"+w+"\n |flat in int v_instance;\n |#ifndef OUTPUT_color\n |"+d+"\n |#endif\n | "+$+"\n |void main(void) {\n | vec4 x_fill = u_fill;\n | vec4 x_stroke = va_color;\n | {\n"+(null==k?"":k)+"\n | }\n |"+(n.p12_1?"":"o_color = x_stroke;\no_color.rgb *= o_color.a;")+"\n |}\n ")},c(At).p18=function(n){var t=n.b12_1,i=null==t?"":t,e=n.e12_1,r=null==e?"":e,s=wn.y19("d_mesh_line"),_=wn.a1a(),u=n.d12_1,o=null==u?"":u,h=n.c12_1,l=null==h?"":h,f=n.m12_1,c=null==f?"":f,v=wn.r19_1,w=wn.x19(a,"int(a_element)"),d=n.i12_1,$=null==d?"":d,g=n.o12_1,k=null==g?"":g,m=wn.s19_1,p=n.f12_1,b=null==p?null:dn(p," ");return $n("\n |\n |"+i+"\n |"+r+"\n |"+s+"\n |"+_+"\n |"+o+"\n |"+l+"\n |"+c+"\n |"+v+"\n |"+w+"\n |"+$+"\n |flat out int v_instance;\n |\n |vec2 fix(vec4 i, float aspect) {\n | vec2 res = i.xy / i.w;\n | res.x *= aspect;\n | return res;\n |}\n |\n |void main() {\n | v_instance = gl_InstanceID;\n | "+k+"\n | "+m+"\n | vec3 x_normal = vec3(0.0, 0.0, 1.0);\n | vec3 x_position = a_position;\n | {\n"+(null==b?"":b)+"\n | }\n | "+wn.t19_1+"\n | float aspect = u_viewDimensions.x / u_viewDimensions.y;\n | vec2 pixelWidthRatio = 1.0 / (u_viewDimensions);\n | mat4 pvm = x_projectionMatrix * x_viewMatrix * x_modelMatrix;\n | vec4 finalPosition = pvm * vec4(a_position, 1.0);\n | vec4 prevPosition = pvm * vec4(a_previous, 1.0);\n | vec4 nextPosition = pvm * vec4(a_next, 1.0);\n | vec2 currentP = fix(finalPosition, aspect);\n | vec2 prevP = fix(prevPosition, aspect);\n | vec2 nextP = fix(nextPosition, aspect);\n |\n | vec2 w = max(pixelWidthRatio*finalPosition.w, (pixelWidthRatio) * a_width);\n | vec2 dir;\n | if (nextP == currentP) {\n | dir = normalize(currentP - prevP);\n | } else if(prevP == currentP) {\n | dir = normalize( nextP - currentP );\n | } else {\n | vec2 dir1 = normalize(currentP - prevP);\n | vec2 dir2 = normalize(nextP - currentP);\n | dir = normalize(dir1 + dir2);\n | }\n | x_normal = ( cross( vec3( dir, 0. ), vec3( 0., 0., 1. ) ) );\n | vec2 normal = vec2(-dir.y, dir.x) * w;\n | vec4 offset = vec4(normal * a_side, 0.0, 1.0);\n |\n | finalPosition.xy += offset.xy;\n | v_clipPosition = finalPosition;\n | gl_Position = finalPosition;\n |}\n ")},c(Et).q1k=function(n,t){this.n1k(n.d1l());for(var i=n.e1l().q().g();i.h();){var e=i.i();this.s1k(t,"p_"+e.r(),e.r(),e.s())}},c(Et).s1k=function(n,t,i,e){if("boolean"==typeof e)n.s1l(t,e);else if("number"==typeof e)n.m1l(t,e);else if("number"==typeof e)n.hw(t,e);else if("number"==typeof e)n.mw(t,e);else if(e instanceof Bn)n.fw(t,e);else if(e instanceof Zn)n.r1l(t,e);else if(e instanceof Nn)n.h17(t,e);else if(e instanceof Tn)n.q1l(t,e);else if(e instanceof In)n.gw(t,e);else if(e instanceof Qn)n.p1l(t,e);else if(e instanceof Xn)n.o1l(t,e);else if(e instanceof Yn)n.n1l(t,e);else if(e instanceof Mn)n.qx(t,e);else if(e instanceof Hn){e.sv(this.o1k()),n.m1l(t,this.o1k());var r=this.o1k();this.n1k(r+1|0)}else if(mn(e,Kn)){e.sv(this.o1k()),n.m1l(t,this.o1k());var s=this.o1k();this.n1k(s+1|0)}else if(e instanceof Un){e.sv(this.o1k()),n.m1l(t,this.o1k());var _=this.o1k();this.n1k(_+1|0)}else if(mn(e,Wn)){e.sv(this.o1k()),n.m1l(t,this.o1k());var u=this.o1k();this.n1k(u+1|0)}else if(e instanceof Pn){e.sv(this.o1k()),n.m1l(t,this.o1k());var o=this.o1k();this.n1k(o+1|0)}else if(mn(e,Gn)){e.sv(this.o1k()),n.m1l(t,this.o1k());var h=this.o1k();this.n1k(h+1|0)}else if(mn(e,Vn)){e.sv(this.o1k()),n.m1l(t,this.o1k());var a=this.o1k();this.n1k(a+1|0)}else if(Fn(e)){for(var l=Q(e.length),f=0,c=e.length;f {var e,r,s;r=[t,i(50),i(36),i(560),i(988),i(651),i(549)],void 0===(s="function"==typeof(e=function(n,t,i,e,r,s,_){"use strict";var u,o,h,a,l,f,c,v,w=Math.imul,d=t.$_$.r,$=i.$_$.b1,g=i.$_$.x3,k=i.$_$.l3,m=t.$_$.y,p=i.$_$.c3,b=i.$_$.m,x=t.$_$.e,y=t.$_$.d,q=t.$_$.g,j=t.$_$.f,C=i.$_$.z3,S=i.$_$.q,z=i.$_$.u3,E=t.$_$.q,A=e.$_$.t,R=t.$_$.x,L=i.$_$.z4,I=t.$_$.b,T=t.$_$.u,N=t.$_$.c,M=e.$_$.f,B=t.$_$.l,O=t.$_$.i,D=t.$_$.k,F=t.$_$.h,V=i.$_$.o1,G=t.$_$.v,P=t.$_$.m,W=t.$_$.o,U=t.$_$.j,K=t.$_$.n,H=i.$_$.y2,Y=i.$_$.o2,X=t.$_$.t,Q=i.$_$.l5,Z=i.$_$.f1,J=i.$_$.f,nn=i.$_$.k1,tn=t.$_$.s,en=t.$_$.a,rn=t.$_$.p,sn=r.$_$.k1,_n=r.$_$.x1,un=i.$_$.c,on=r.$_$.q1,hn=i.$_$.p,an=i.$_$.e5,ln=i.$_$.s,fn=i.$_$.q2,cn=i.$_$.h1,vn=i.$_$.i1,wn=i.$_$.d5,dn=i.$_$.g3,$n=r.$_$.x,gn=r.$_$.a1,kn=r.$_$.b1,mn=r.$_$.c1,pn=i.$_$.g2,bn=i.$_$.x4,xn=r.$_$.y,yn=r.$_$.z,qn=s.$_$.b,jn=r.$_$.o2,Cn=r.$_$.w1,Sn=i.$_$.l,zn=i.$_$.k3,En=i.$_$.y3,An=s.$_$.a,Rn=r.$_$.e1,Ln=i.$_$.m2,In=i.$_$.m1,Tn=r.$_$.g1,Nn=i.$_$.e3,Mn=r.$_$.w,Bn=r.$_$.p2,On=i.$_$.f4,Dn=i.$_$.i3,Fn=i.$_$.k4,Vn=i.$_$.e1,Gn=i.$_$.m3,Pn=r.$_$.f1,Wn=r.$_$.h1,Un=r.$_$.a2,Kn=i.$_$.g,Hn=_.$_$.a,Yn=r.$_$.z1,Xn=r.$_$.y1,Qn=i.$_$.e,Zn=i.$_$.e4,Jn=i.$_$.c2,nt=i.$_$.c4,tt=i.$_$.k,it=r.$_$.r,et=r.$_$.v,rt=i.$_$.j3,st=r.$_$.k2,_t=i.$_$.b5,ut=r.$_$.d1,ot=r.$_$.i2,ht=r.$_$.j2;function at(){return u}function lt(){d.call(this)}function ft(){var n;console.log("setting up ApplicationBaseWebGL"),m(((n=function(){return new lt}).callableName=" ",n))}function ct(n,t){return new Promise((i=t,function(n,t){var e,r,s=new FileReader;return s.readAsDataURL(i),s.onloadend=(e=n,r=s,function(n){return e(r.result),$}),$}));var i}function vt(n,t){var i=b();return t.ctrlKey&&i.e(x()),t.altKey&&i.e(y()),t.metaKey&&i.e(q()),t.shiftKey&&i.e(j()),i}function wt(n){return n.preventDefault(),H("dragover"),$}function dt(n){return function(t){t.preventDefault(),H("drop");for(var i=t.dataTransfer.files,e=Q(i),r=J(Z(e,10)),s=e.g();s.h();){var _=ct(0,s.i());r.e(_)}var u=Promise,o=nn(r);return u.all(o).then(function(n){return function(t){return n.c1m_1.b1e().f1g().ru(new X(n.j1m_1,Y(t))),$}}(n)),$}}function $t(n,t){tn.call(this),this.c1m_1=n,this.d1m_1=t,this.c1m_1.c1e(this),this.e1m_1=!0,this.f1m_1=0,this.g1m_1=null,this.h1m_1=null,this.i1m_1=null,this.j1m_1=new A(0,0),this.k1m_1=en(),this.l1m_1=rn()}function gt(n,t){if(on.call(this),this.y1m_1=n,this.z1m_1=t,this.z1m_1%4|0){var i="elementSize "+this.z1m_1+" must be a multiple of 4";throw hn(C(i))}this.a1n_1=0}function kt(n){var t;switch(n.c1_1){case 1:case 6:case 12:case 18:t=WebGLRenderingContext.UNSIGNED_BYTE;break;case 2:case 8:case 14:case 20:t=WebGLRenderingContext.UNSIGNED_SHORT;break;case 4:case 10:case 16:case 22:t=WebGLRenderingContext.UNSIGNED_INT;break;case 0:case 7:case 13:case 19:t=WebGLRenderingContext.BYTE;break;case 3:case 9:case 15:case 21:t=WebGLRenderingContext.SHORT;break;case 5:case 11:case 17:case 23:t=WebGLRenderingContext.INT;break;case 24:case 28:case 29:case 30:case 25:case 26:case 27:t=WebGLRenderingContext.FLOAT;break;default:an()}return t}function mt(n){var t;switch(n.c1_1){case 0:t=WebGLRenderingContext.TRIANGLES;break;case 2:t=WebGLRenderingContext.TRIANGLE_FAN;break;case 1:t=WebGLRenderingContext.TRIANGLE_STRIP;break;case 4:t=WebGLRenderingContext.LINES;break;case 5:t=WebGLRenderingContext.LINE_STRIP;break;case 6:t=WebGLRenderingContext.LINE_LOOP;break;case 3:t=WebGLRenderingContext.POINTS;break;case 7:throw S(C("not supported"));default:an()}return t}function pt(n){var t;switch(n.c1_1){case 0:t=WebGLRenderingContext.NEVER;break;case 7:t=WebGLRenderingContext.ALWAYS;break;case 1:t=WebGLRenderingContext.LESS;break;case 2:t=WebGLRenderingContext.LEQUAL;break;case 3:t=WebGLRenderingContext.GREATER;break;case 4:t=WebGLRenderingContext.GEQUAL;break;case 5:t=WebGLRenderingContext.EQUAL;break;case 6:t=WebGLRenderingContext.NOTEQUAL;break;default:throw ln("unsupported test: "+n.toString())}return t}function bt(n){var t;switch(n.c1_1){case 0:t=WebGLRenderingContext.KEEP;break;case 5:t=WebGLRenderingContext.DECR;break;case 6:t=WebGLRenderingContext.DECR_WRAP;break;case 3:t=WebGLRenderingContext.INCR;break;case 4:t=WebGLRenderingContext.INCR_WRAP;break;case 1:t=WebGLRenderingContext.ZERO;break;case 7:t=WebGLRenderingContext.INVERT;break;case 2:t=WebGLRenderingContext.REPLACE;break;default:throw ln("unsupported op")}return t}function xt(n){return yt(new Float32Array([n.xj_1,n.bk_1,n.fk_1,n.jk_1,n.yj_1,n.ck_1,n.gk_1,n.kk_1,n.zj_1,n.dk_1,n.hk_1,n.lk_1,n.ak_1,n.ek_1,n.ik_1,n.mk_1]))}function yt(n){return new Float32Array(fn(n))}function qt(n,t,i){this.k1n_1=n,this.l1n_1=t,this.m1n_1=i}function jt(n){var t;this.x1n_1=n,this.n1n_1=wn((t=this.x1n_1,function(){var n=t.c1n_1.getExtension("ANGLE_instanced_arrays");return null!=n&&null!=n?n:null})),this.o1n_1=wn(function(n){return function(){var t=n.c1n_1.getExtension("OES_standard_derivatives");return null!=t&&null!=t?t:null}}(this.x1n_1)),this.p1n_1=wn(function(n){return function(){var t=n.c1n_1.getExtension("OES_texture_half_float");return null!=t&&null!=t?t:null}}(this.x1n_1)),this.q1n_1=wn(function(n){return function(){var t=n.c1n_1.getExtension("OES_texture_float");return null!=t&&null!=t?t:null}}(this.x1n_1)),this.r1n_1=wn(function(n){return function(){var t=n.c1n_1.getExtension("EXT_color_buffer_half_float");return null!=t&&null!=t?t:null}}(this.x1n_1)),this.s1n_1=wn(function(n){return function(){var t=n.c1n_1.getExtension("EXT_color_buffer_float");return null!=t&&null!=t?t:null}}(this.x1n_1)),this.t1n_1=wn(function(n){return function(){var t=n.c1n_1.getExtension("OES_texture_half_float_linear");return null!=t&&null!=t?t:null}}(this.x1n_1)),this.u1n_1=wn(function(n){return function(){var t=n.c1n_1.getExtension("OES_texture_float_linear");return null!=t&&null!=t?t:null}}(this.x1n_1)),this.v1n_1=wn(function(n){return function(){var t=n.c1n_1.getExtension("WEBGL_draw_buffers");return null!=t&&null!=t?t:null}}(this.x1n_1)),this.w1n_1=wn(function(n){return function(){var t=n.c1n_1.getExtension("WEBGL_depth_texture");return null!=t&&null!=t?t:null}}(this.x1n_1))}function Ct(n,t,i,e,r,s,_,u,o,h){this.g1o_1=n,this.h1o_1=t,this.i1o_1=i,this.j1o_1=e,this.k1o_1=r,this.l1o_1=s,this.m1o_1=_,this.n1o_1=u,this.o1o_1=o,this.p1o_1=h}function St(n,t,i,e){for(var r=pn([$n(),gn(),kn(),mn()]),s={_v:!1},_=t.g();_.h();)zt(n,e,s,r,_.i(),0);for(var u=i.g();u.h();)zt(n,e,s,r,u.i(),1);s._v||H("attribute 0 is not used")}function zt(n,t,i,e,r,s){var _=0===s?"a":"i",u=0,o=WebGLRenderingContext.ARRAY_BUFFER;n.c1n_1.bindBuffer(o,(r instanceof Gt?r:L()).r1o_1);for(var h=r.s1o_1,a=h.jv_1.g();a.h();){var l=a.i();if("_"!==l.k13_1){var f=t.d1p(_+"_"+l.k13_1);if(0===f&&(i._v=!0),-1!==f){var c=l.m13_1;if(e.w(c)){var v=0,d=l.n13_1;if(v 16)throw S(C("Maximum vertex attributes exceeded "+u+" (limit is 16)"))}function Et(){return new qn}function At(n){var t;this.c1n_1=n,sn.bw_1=this,this.d1n_1=new jt(this),this.e1n_1=new Ct(!(null==this.d1n_1.y1n()),!(null==this.d1n_1.z1n()),!0,!0,!(null==this.d1n_1.a1o()),!(null==this.d1n_1.b1o()),!(null==this.d1n_1.c1o()),!(null==this.d1n_1.d1o()),!(null==this.d1n_1.e1o()),!(null==this.d1n_1.f1o())),this.f1n_1=new Cn,this.g1n_1=!0,this.h1n_1=wn(Et),this.i1n_1=Sn(),this.j1n_1=wn((t=this,function(){var n=t.c1n_1.getParameter(WebGLRenderingContext.MAX_TEXTURE_SIZE),i=null!=n&&"number"==typeof n?n:null;return new jn(4,4,null==i?4096:i)}))}function Rt(){}function Lt(n,t){this.h1p_1=n,this.i1p_1=t}function It(){return l||(l=!0,h=Qn()),h}function Tt(n,t){Mt.call(this,n,null,0,0,1,Pn(),Wn.b11()),this.t1p_1=t,this.u1p_1=!0,this.v1p_1=!0,this.w1p_1=!0}function Nt(){}function Mt(n,t,i,e,r,s,_){this.n1m_1=n,this.o1m_1=t,this.p1m_1=i,this.q1m_1=e,this.r1m_1=r,this.s1m_1=s,this.t1m_1=_,this.u1m_1=Kn(),this.v1m_1=null,this.w1m_1=!1}function Bt(){}function Ot(n,t,i,e){this.x1o_1=n,this.y1o_1=t,this.z1o_1=i,this.a1p_1=e,this.b1p_1=!1,this.c1p_1=pn([it(),et()])}function Dt(n,t){t=t===un?"":t;var i=n.getError();if(i!==WebGLRenderingContext.NO_ERROR){var e=i===WebGLRenderingContext.INVALID_ENUM?"Invalid enum":i===WebGLRenderingContext.INVALID_VALUE?"Invalid value":i===WebGLRenderingContext.INVALID_OPERATION?"Invalid operation":i===WebGLRenderingContext.INVALID_FRAMEBUFFER_OPERATION?"Invalid framebuffer operation":i===WebGLRenderingContext.OUT_OF_MEMORY?"Out of memory":i===WebGLRenderingContext.CONTEXT_LOST_WEBGL?"Context lst webgl":"unknown error";throw S(C(e+": "+t))}}function Ft(n,t,i){this.z1p_1=n,this.a1q_1=t,this.b1q_1=i}function Vt(){}function Gt(n,t,i,e,r){st.call(this),this.q1o_1=n,this.r1o_1=t,this.s1o_1=i,this.t1o_1=e,this.u1o_1=r,this.v1o_1=!1,this.w1o_1=null}function Pt(n){this.e1q_1=n,this.f1q_1=new Float32Array(w(this.e1q_1.cv(),this.e1q_1.bv().j()/4|0))}function Wt(){}function Ut(n,t){this.x1p_1=n,this.y1p_1=t}function Kt(n){var t=n.org||(n.org={}),i=t.openrndr||(t.openrndr={}),e=i.webgl||(i.webgl={});p(e,"applicationBaseWebGLInitializer",at)}return k(lt,"ApplicationBaseWebGL",lt,d),k(ft),k($t,"ApplicationWebGL",un,tn,un,[0]),k(gt,"BufferWriterWebGL",un,on),k(qt,"ShaderVertexDescription"),k(jt,"Extensions"),k(Ct,"Capabilities"),k(At,"DriverWebGL",un,un,[Bn]),Gn(Rt),k(Lt,"FragmentShaderWebGL"),k(Mt,"RenderTargetWebGL",un,un,[Un]),k(Tt,"ProgramRenderTargetWebGL",un,Mt,[Un,Mt]),Gn(Nt),Gn(Bt),k(Ot,"ShaderWebGL"),k(Ft,"ActiveUniform"),Gn(Vt),k(Gt,"VertexBufferWebGL",un,st),k(Pt,"VertexBufferShadowWebGL",un,un,[ht]),Gn(Wt),k(Ut,"VertexShaderWebGL"),g(lt).s1h=function(n,t){return new $t(n,t)},g($t).d1e=function(n){var t,i=document.getElementById(this.d1m_1.f1b_1),e=i instanceof HTMLCanvasElement?i:null;if(null==e){var r="failed to get canvas #"+this.d1m_1.f1b_1;throw S(C(r))}t=e,this.g1m_1=t;var s,_={alpha:!0,depth:!0,stencil:!0,antialias:!0,premultipliedAlpha:!0,preserveDrawingBuffer:!0,preferLowPowerToHighPerformance:!1,failIfMajorPerformanceCaveat:!1},u=this.g1m_1,o=null==u?null:u.getContext("webgl2",_),h=o instanceof WebGL2RenderingContext?o:null;if(null==h)throw S(C("failed to create webgl2 context"));s=h,this.h1m_1=s;var a=sn,l=this.h1m_1;a.bw_1=new At(l instanceof WebGL2RenderingContext?l:L()),this.c1m_1.z1d(new _n(sn.cw())),this.f1m_1=window.performance.now();var f=this.d1m_1.d1c_1,c=window.devicePixelRatio,v=Math.min(f,c),w=this.g1m_1;if(null==w);else{var d,g=this.g1m_1,k=null==g?null:g.clientWidth;if(null==k)throw S(C("no width"));d=k,w.width=z(v*d)}var m,p=this.g1m_1;if(null==p);else{var b,x=this.g1m_1,y=null==x?null:x.clientHeight;if(null==y)throw S(C("no height"));b=y,p.height=z(v*b)}this.m1m(this.d1m_1.m1b_1),window.addEventListener("resize",(m=this,function(n){var t=m.d1m_1.d1c_1,i=window.devicePixelRatio,e=Math.min(t,i),r=m.g1m_1;if(null==r);else{var s,_=m.g1m_1,u=null==_?null:_.clientWidth;if(null==u)throw S(C("no width"));s=u,r.width=z(e*s)}var o=m.g1m_1;if(null==o);else{var h,a=m.g1m_1,l=null==a?null:a.clientHeight;if(null==l)throw S(C("no height"));h=l,o.height=z(e*h)}var f=m.g1m_1,c=null==f?null:f.clientWidth,v=null==c?null:c;if(null==v)throw S(C("no canvas"));var w=v,d=m.g1m_1,g=null==d?null:d.clientHeight,k=null==g?null:g;if(null==k)throw S(C("no canvas"));var p=k;return m.c1m_1.b1e().e1g().ru(new R(E(),new A(0,0),new A(w,p),!0)),$})),window.addEventListener("keydown",function(n){return function(t){return t instanceof KeyboardEvent||L(),n.c1m_1.h1c().p1c().ru(new T(I(),t.which,t.key,vt(0,t))),$}}(this)),window.addEventListener("keyup",function(n){return function(t){return t instanceof KeyboardEvent||L(),n.c1m_1.h1c().q1c().ru(new T(N(),t.which,t.key,vt(0,t))),$}}(this));var q={_v:M().zl_1},j={_v:!1};window.addEventListener("mousedown",function(n,t,i){return function(e){e instanceof MouseEvent||L(),n._v=!0;var r=e.clientX,s=e.clientY;t._v=new A(r,s);var _=i.c1m_1.g1c().i1d(),u=t._v,o=M().zl_1,h=M().zl_1,a=B(),l=e.button;return _.ru(new G(u,o,h,a,0===l?O():1===l?F():2===l?D():O(),V())),$}}(j,q,this)),window.addEventListener("mouseup",function(n,t,i){return function(e){e instanceof MouseEvent||L(),n._v=!1;var r=t.c1m_1.g1c().j1d(),s=i._v,_=M().zl_1,u=M().zl_1,o=P(),h=e.button;return r.ru(new G(s,_,u,o,0===h?O():1===h?F():2===h?D():O(),V())),$}}(j,this,q)),window.addEventListener("wheel",function(n){return function(t){return t instanceof WheelEvent||L(),n.c1m_1.g1c().m1d().ru(new G(n.j1m_1,new A(t.deltaX,t.deltaY),M().zl_1,W(),U(),V())),$}}(this)),window.addEventListener("pointermove",function(n){return function(t){t instanceof MouseEvent||L();var i=t.clientX,e=t.clientY;return n.j1m_1=new A(i,e),n.c1m_1.g1c().l1d().ru(new G(n.j1m_1,M().zl_1,M().zl_1,K(),U(),V())),$}}(this)),window.addEventListener("mousemove",function(n,t,i){return function(e){if(n._v){e instanceof MouseEvent||L();var r=e.clientX,s=e.clientY;t.j1m_1=new A(r,s),t.c1m_1.g1c().k1d().ru(new G(t.j1m_1,M().zl_1,t.j1m_1.lm(i._v),K(),U(),V())),i._v=t.j1m_1}return $}}(j,this,q));var H=this.g1m_1;null==H||H.addEventListener("dragover",wt);var Y=this.g1m_1;null==Y||Y.addEventListener("drop",dt(this));var X,Q=this.h1m_1;if(null==Q)throw S(C("no context"));X=Q,this.i1m_1=new Tt(X,this.c1m_1);var Z=this.i1m_1;null==Z||Z.z10();var J=this.c1g();return this.c1m_1.w1d(z(J.fm_1)),this.c1m_1.x1d(z(J.gm_1)),this.c1m_1.d1e(n)},g($t).p1h=function(){if(this.l1m_1.equals(rn())||this.e1m_1){this.e1m_1=!1;var n=this.c1g();this.c1m_1.w1d(z(n.fm_1)),this.c1m_1.x1d(z(n.gm_1)),this.c1m_1.a1e().mz(),this.c1m_1.a1e().oz();var t=this.i1m_1;null==t||t.x1m(),this.c1m_1.e1e()}var i;window.requestAnimationFrame((i=this,function(n){return i.p1h(),$}))},g($t).m1m=function(n){window.document.title=n},g($t).b1g=function(){return window.document.title},g($t).c1g=function(){var n=this.g1m_1,t=null==n?null:n.clientWidth,i=null==t?null:t,e=null==i?0:i,r=this.g1m_1,s=null==r?null:r.clientHeight,_=null==s?null:s;return new A(e,null==_?0:_)},g($t).f1e=function(){return(window.performance.now()-this.f1m_1)/1e3},g($t).d1g=function(){var n=this.d1m_1.d1c_1,t=window.devicePixelRatio;return Math.min(n,t)},g(gt).t13=function(n){this.y1m_1[this.a1n_1]=n.sj_1,this.a1n_1=this.a1n_1+1|0,this.y1m_1[this.a1n_1]=n.tj_1,this.a1n_1=this.a1n_1+1|0,this.y1m_1[this.a1n_1]=n.uj_1,this.a1n_1=this.a1n_1+1|0},g(gt).u13=function(n){this.y1m_1[this.a1n_1]=n.fm_1,this.a1n_1=this.a1n_1+1|0,this.y1m_1[this.a1n_1]=n.gm_1,this.a1n_1=this.a1n_1+1|0},g(gt).w13=function(n){this.y1m_1[this.a1n_1]=n,this.a1n_1=this.a1n_1+1|0},g(gt).l17=function(n,t){this.y1m_1[this.a1n_1]=n,this.a1n_1=this.a1n_1+1|0,this.y1m_1[this.a1n_1]=t,this.a1n_1=this.a1n_1+1|0},g(gt).m17=function(n,t,i){this.y1m_1[this.a1n_1]=n,this.a1n_1=this.a1n_1+1|0,this.y1m_1[this.a1n_1]=t,this.a1n_1=this.a1n_1+1|0,this.y1m_1[this.a1n_1]=i,this.a1n_1=this.a1n_1+1|0},g(gt).b1n=function(n,t,i,e){this.y1m_1[this.a1n_1]=n,this.a1n_1=this.a1n_1+1|0,this.y1m_1[this.a1n_1]=t,this.a1n_1=this.a1n_1+1|0,this.y1m_1[this.a1n_1]=i,this.a1n_1=this.a1n_1+1|0,this.y1m_1[this.a1n_1]=e,this.a1n_1=this.a1n_1+1|0},g(gt).v13=function(n){this.b1n(n.eo_1,n.fo_1,n.go_1,n.ho_1)},g(gt).p17=function(n,t,i){var e=0;if(e{var e,r,s;r=[t,i(36)],void 0===(s="function"==typeof(e=function(n,t){"use strict";var i,e,r,s,_,u,o,h,a,l=Math.imul,f=t.$_$.x3,c=t.$_$.w3,v=t.$_$.m3,w=t.$_$.z3,d=t.$_$.p,$=t.$_$.l3,g=t.$_$.c,k=(t.$_$.b1,t.$_$.p3),m=t.$_$.k3,p=t.$_$.e3,b=t.$_$.z4,x=t.$_$.f,y=t.$_$.j2,q=t.$_$.h2,j=t.$_$.d1,C=t.$_$.f3,S=t.$_$.p1,z=t.$_$.k1,E=t.$_$.n3,A=t.$_$.h3,R=t.$_$.g3,L=t.$_$.e,I=t.$_$.t2,T=t.$_$.t4,N=t.$_$.n,M=t.$_$.w4,B=t.$_$.y3,O=t.$_$.h5,D=t.$_$.i5,F=(t.$_$.z,t.$_$.d3);function V(n,t){if(n===t)throw d(w("range must be non-zero"));if(!(t>=n))throw d(w("tMin must be less than tMax"));return 0===n&&1===t?this:0===n?this.mp(t)[0]:1===t?this.mp(n)[1]:this.mp(n)[1].mp((t-n)/(1-n))[0].kp(this.hp(n),this.hp(t))}function G(n){var t=1/0,i=0,e=0,r=n.length-1|0;if(e<=r)do{var s=e;e=e+1|0,n[s]!==t&&(i=i+1|0),t=n[s]}while(e<=r);var _=new Float64Array(i);i=0,t=1/0;var u=0,o=n.length-1|0;if(u<=o)do{var h=u;u=u+1|0,n[h]!==t&&(_[i]=n[h],i=i+1|0),t=n[h]}while(u<=o);if(0===_.length)return[this];for(var a=_,l=x(a.length),f=0,c=a.length;f 0}function Q(n){return n>=0}function Z(){e=this,this.vq_1=X,this.wq_1=Q}function J(n,t){return Math.min(n,t)}function nn(n,t){return Math.max(n,t)}function tn(){null==e&&new Z}function en(n,t){return function(n,t,i){return _n.call(i,n.fp_1,n.gp_1,t.fp_1,t.gp_1),i}(n,t,c(f(_n)))}function rn(){r=this,this.dr_1=en(new Sn(NaN,NaN),new Sn(NaN,NaN))}function sn(){return null==r&&new rn,r}function _n(n,t,i,e){sn(),tn.call(this),n=1)throw d(w("t must be within (0,1)"));var t=xn().vp(this.qo_1,this.ro_1,n),i=xn().vp(this.ro_1,this.so_1,n),e=this.hp(n);return[P(this.qo_1,t,e,this.to_1),P(e,i,this.so_1,this.to_1)]},f(K).wp=function(){if(this.to_1)return new Float64Array(0);var n,t=1e-10,i=this.qo_1.lp(this.ro_1.ip(2)).jp(this.so_1);if(i.equals(Cn().hq_1))this.to_1=!0,n=new Float64Array(0);else{var e,r=this.qo_1.lp(this.ro_1).xp(i),s=In().fq(t,r.fp_1,1-t),_=In().fq(t,r.gp_1,1-t);s&&_?e=new Float64Array([r.fp_1,r.gp_1]):s^_?e=new Float64Array([s?r.fp_1:r.gp_1]):(this.to_1=!0,e=new Float64Array(0)),n=e}return n},f(K).toString=function(){return"QuadraticBezier2(p0="+this.qo_1.toString()+", p1="+this.ro_1.toString()+", p2="+this.so_1.toString()+")"},f(H).hp=function(n){if(0===n)return this.cp();if(1===n)return this.dp();var t=1-n,i=t*t,e=n*n;return this.uo_1.ip(i*t).jp(this.vo_1.ip(3*i*n)).jp(this.wo_1.ip(3*t*e)).jp(this.xo_1.ip(e*n))},f(H).ep=function(){return(this.xo_1.fp_1*(-this.uo_1.gp_1-3*this.vo_1.gp_1-6*this.wo_1.gp_1)-3*this.wo_1.fp_1*(this.uo_1.gp_1+this.vo_1.gp_1-2*this.xo_1.gp_1)+3*this.vo_1.fp_1*(-2*this.uo_1.gp_1+this.wo_1.gp_1+this.xo_1.gp_1)+this.uo_1.fp_1*(6*this.vo_1.gp_1+3*this.wo_1.gp_1+this.xo_1.gp_1))/20},f(H).kp=function(n,t){return W(n,this.vo_1.jp(n.lp(this.uo_1)),this.wo_1.jp(t.lp(this.xo_1)),t,this.yo_1)},f(H).cp=function(){return this.uo_1},f(H).dp=function(){return this.xo_1},f(H).mp=function(n){if(n<=0||n>=1)throw d(w("t must be within (0,1)"));var t=xn().vp(this.uo_1,this.vo_1,n),i=xn().vp(this.vo_1,this.wo_1,n),e=xn().vp(this.wo_1,this.xo_1,n),r=xn().vp(t,i,n),s=xn().vp(i,e,n),_=this.hp(n);return[W(this.uo_1,t,r,_,this.yo_1),W(_,s,e,this.xo_1,this.yo_1)]},f(H).wp=function(){if(this.yo_1)return new Float64Array(0);for(var n=1e-7,t=this.vo_1.lp(this.uo_1),i=this.wo_1.lp(this.vo_1).lp(t).ip(2),e=this.xo_1.lp(this.wo_1.ip(3)).jp(this.vo_1.ip(3)).lp(this.uo_1),r=o.oq(e.fp_1,i.fp_1,t.fp_1),s=o.oq(e.gp_1,i.gp_1,t.gp_1),_=new zn,u=0,h=r.length;u =1)throw d(w("t must be within (0,1)"));var t=this.hp(n);return[s.jr(this.cp(),t),s.jr(t,this.dp())]},f(hn).kp=function(n,t){return s.jr(n,t)},f(hn).cp=function(){return new Sn(this.kr_1,this.lr_1)},f(hn).dp=function(){return new Sn(this.mr_1,this.nr_1)},f(hn).toString=function(){return"Line2(ax="+this.kr_1+", ay="+this.lr_1+", bx="+this.mr_1+", by="+this.nr_1+")"},f(hn).hashCode=function(){var n=A(this.kr_1);return n=l(n,31)+A(this.lr_1)|0,n=l(n,31)+A(this.mr_1)|0,l(n,31)+A(this.nr_1)|0},f(hn).equals=function(n){if(this===n)return!0;if(!(n instanceof hn))return!1;var t=n instanceof hn?n:b();return!!(p(this.kr_1,t.kr_1)&&p(this.lr_1,t.lr_1)&&p(this.mr_1,t.mr_1)&&p(this.nr_1,t.nr_1))},f(ln).toString=function(){return"Path2(curves="+w(this.or_1)+", bounds="+this.pr_1.toString()+", isRing="+this.qr_1+")"},f(ln).hashCode=function(){var n=m(this.or_1);return n=l(n,31)+this.pr_1.hashCode()|0,l(n,31)+R(this.qr_1)|0},f(ln).equals=function(n){if(this===n)return!0;if(!(n instanceof ln))return!1;var t=n instanceof ln?n:b();return!!p(this.or_1,t.or_1)&&!!this.pr_1.equals(t.pr_1)&&this.qr_1===t.qr_1},f(bn).vp=function(n,t,i){return new Sn(n.fp_1+(t.fp_1-n.fp_1)*i,n.gp_1+(t.gp_1-n.gp_1)*i)},f(bn).rr=function(n,t,i){return n.cr(t,this.sp_1).wr((e=i,function(n){return n<=e}));var e},f(Sn).xr=function(n,t){return new Sn(t(this.fp_1,n.fp_1),t(this.gp_1,n.gp_1))},f(Sn).cr=function(n,t){return this.xr(n instanceof Sn?n:b(),t)},f(Sn).wr=function(n){return n(this.fp_1)&&n(this.gp_1)},f(Sn).hashCode=function(){return h.yr(this.fp_1,this.gp_1)},f(Sn).equals=function(n){if(n instanceof Sn){var t=n;return t.fp_1===this.fp_1&&t.gp_1===this.gp_1}return!1},f(Sn).zr=function(n){return Cn().gq_1.compare(this,n)},f(Sn).d=function(n){return this.zr(n instanceof Sn?n:b())},f(Sn).jp=function(n){return new Sn(this.fp_1+n.fp_1,this.gp_1+n.gp_1)},f(Sn).lp=function(n){return new Sn(this.fp_1-n.fp_1,this.gp_1-n.gp_1)},f(Sn).ip=function(n){return new Sn(this.fp_1*n,this.gp_1*n)},f(Sn).xp=function(n){return new Sn(this.fp_1/n.fp_1,this.gp_1/n.gp_1)},f(Sn).toString=function(){return"Vec2(x="+this.fp_1+", y="+this.gp_1+")"},f(zn).rq=function(n){var t,i,e,r;this.qq_1>(this.pq_1.length-1|0)&&(t=this,i=new Float64Array(t.pq_1.length<<1),e=t.pq_1,r=e.length,j(e,i,0,0,r),t.pq_1=i);var s=this.pq_1,_=this.qq_1;return this.qq_1=_+1|0,s[_]=n,this},f(zn).sq=function(){return this.qq_1},f(zn).v3=function(){var n=new Float64Array(this.sq()),t=this.pq_1,i=this.sq();return j(t,n,0,0,i),n},f(zn).toString=function(){var n=N();n.c6("[");var t=0,i=this.qq_1;if(t=-1e-10){l=a<0?0:Math.sqrt(a);var l,f=s+(s<0?-l:l);0===f?(e[0]=_/r,e[1]=-_/r):(e[0]=f/r,e[1]=_/f);var c=0,v=0;if(v<=1)do{var w=v;v=v+1|0;var d=e[w],$=r*d*d+-2*s*d+_;if(Math.abs($)<1e-8){var g=c;c=g+1|0,e[g]=d}}while(v<=1);o=c}else o=0;return o},f(An).oq=function(n,t,i){var e=new Float64Array(2);return function(n,t,i){var e;if(i===t.length)e=t;else if(0===i)e=new Float64Array(0);else{var r=new Float64Array(i);j(t,r,0,0,i),e=r}return e}(0,e,this.bs(n,t,i,e))},f(Rn).yr=function(n,t){var i=new M(1,0);return(i=(i=i.n1(B(31)).l1(O(n))).n1(B(31)).l1(O(t))).v1(i.t1(32)).w1()},f(Ln).es=function(n){return D(n).u1(new M(0,2146435072)).s1(52).m1(B(1023)).w1()},f(Ln).fs=function(n){return Math.pow(2,n)},f(Ln).ds=function(n){var t,i=this.es(n);switch(i){case 1024:t=Math.abs(n);break;case-1023:t=5e-324;break;default:var e;if((i=i-52|0)>=-1022)e=this.fs(i);else{var r=new M(1,0).r1(i- -1074|0);e=F(r)}t=e}return t},f(Ln).fq=function(n,t,i){return n 8){var u=-_;s=Math.pow(2,u)}else s=1;e=s}return e},f(Ln).hs=function(n,t){return n {var e,r,s;r=[t,i(36),i(539)],void 0===(s="function"==typeof(e=function(n,t,i){"use strict";var e,r,s,_,u,o,h,a,l,f,c,v,w,d,$,g,k=Math.imul,m=t.$_$.x3,p=t.$_$.m3,b=t.$_$.g3,x=t.$_$.z4,y=t.$_$.l3,q=t.$_$.n3,j=t.$_$.c,C=t.$_$.h3,S=t.$_$.e3,z=t.$_$.r4,E=t.$_$.w3,A=i.$_$.f,R=i.$_$.b,L=i.$_$.d,I=i.$_$.e,T=t.$_$.p3,N=t.$_$.b1,M=t.$_$.u4;function B(){var n=this.a();return 0===n?this.xh():this.zh(n)}function O(n){var t=this.ai()*n.ai(),i=this.di(n),e=t-Math.pow(i,2);return Math.sqrt(e)}function D(n){var t=this.yh(),i=n.yh(),e=t.di(i),r=1-e*e,s=Math.sqrt(r);return Math.atan2(s,e)}function F(){e=this,this.zg_1=new V(!1,!1),this.ah_1=new V(!0,!0),this.bh_1=new V(!0,!1),this.ch_1=new V(!1,!0)}function V(n,t){null==e&&new F,this.dh_1=n,this.eh_1=t}function G(){r=this,this.fh_1=new P(!1,!1,!1),this.gh_1=new P(!0,!0,!0),this.hh_1=new P(!0,!1,!1),this.ih_1=new P(!1,!0,!1),this.jh_1=new P(!1,!1,!0)}function P(n,t,i){null==r&&new G,this.kh_1=n,this.lh_1=t,this.mh_1=i}function W(){s=this,this.nh_1=new U(!1,!1,!1,!1),this.oh_1=new U(!0,!0,!0,!0),this.ph_1=new U(!0,!1,!1,!1),this.qh_1=new U(!1,!0,!1,!1),this.rh_1=new U(!1,!1,!0,!1),this.sh_1=new U(!1,!1,!1,!0)}function U(n,t,i,e){null==s&&new W,this.th_1=n,this.uh_1=t,this.vh_1=i,this.wh_1=e}function K(){}function H(){_=this,this.ii_1=new Y(0,0),this.ji_1=new Y(1,1),this.ki_1=new Y(1,0),this.li_1=new Y(0,1)}function Y(n,t){null==_&&new H,this.mi_1=n,this.ni_1=t}function X(){u=this,this.oi_1=new Q(0,0,0),this.pi_1=new Q(1,1,1),this.qi_1=new Q(1,0,0),this.ri_1=new Q(0,1,0),this.si_1=new Q(0,0,1)}function Q(n,t,i){null==u&&new X,this.ti_1=n,this.ui_1=t,this.vi_1=i}function Z(){o=this,this.wi_1=new J(0,0,0,0),this.xi_1=new J(1,1,1,1),this.yi_1=new J(1,0,0,0),this.zi_1=new J(0,1,0,0),this.aj_1=new J(0,0,1,0),this.bj_1=new J(0,0,0,1)}function J(n,t,i,e){null==o&&new Z,this.cj_1=n,this.dj_1=t,this.ej_1=i,this.fj_1=e}function nn(){h=this,this.gj_1=new tn(1,j,j,j,1,j,j,j,1),this.hj_1=new tn}function tn(n,t,i,e,r,s,_,u,o){null==h&&new nn,n=n===j?0:n,t=t===j?0:t,i=i===j?0:i,e=e===j?0:e,r=r===j?0:r,s=s===j?0:s,_=_===j?0:_,u=u===j?0:u,o=o===j?0:o,this.ij_1=n,this.jj_1=t,this.kj_1=i,this.lj_1=e,this.mj_1=r,this.nj_1=s,this.oj_1=_,this.pj_1=u,this.qj_1=o}function en(){a=this,this.vj_1=new sn(1,j,j,j,j,1,j,j,j,j,1,j,j,j,j,1),this.wj_1=new sn}function rn(){return null==a&&new en,a}function sn(n,t,i,e,r,s,_,u,o,h,a,l,f,c,v,w){rn(),n=n===j?0:n,t=t===j?0:t,i=i===j?0:i,e=e===j?0:e,r=r===j?0:r,s=s===j?0:s,_=_===j?0:_,u=u===j?0:u,o=o===j?0:o,h=h===j?0:h,a=a===j?0:a,l=l===j?0:l,f=f===j?0:f,c=c===j?0:c,v=v===j?0:v,w=w===j?0:w,this.xj_1=n,this.yj_1=t,this.zj_1=i,this.ak_1=e,this.bk_1=r,this.ck_1=s,this.dk_1=_,this.ek_1=u,this.fk_1=o,this.gk_1=h,this.hk_1=a,this.ik_1=l,this.jk_1=f,this.kk_1=c,this.lk_1=v,this.mk_1=w}function _n(){l=this,this.uk_1=new on(1,j,j,j,j,j,1,j,j,j,j,j,1,j,j,j,j,j,1,j,j,j,j,j,1),this.vk_1=new on}function un(){return null==l&&new _n,l}function on(n,t,i,e,r,s,_,u,o,h,a,l,f,c,v,w,d,$,g,k,m,p,b,x,y){un(),n=n===j?0:n,t=t===j?0:t,i=i===j?0:i,e=e===j?0:e,r=r===j?0:r,s=s===j?0:s,_=_===j?0:_,u=u===j?0:u,o=o===j?0:o,h=h===j?0:h,a=a===j?0:a,l=l===j?0:l,f=f===j?0:f,c=c===j?0:c,v=v===j?0:v,w=w===j?0:w,d=d===j?0:d,$=$===j?0:$,g=g===j?0:g,k=k===j?0:k,m=m===j?0:m,p=p===j?0:p,b=b===j?0:b,x=x===j?0:x,y=y===j?0:y,this.wk_1=n,this.xk_1=t,this.yk_1=i,this.zk_1=e,this.al_1=r,this.bl_1=s,this.cl_1=_,this.dl_1=u,this.el_1=o,this.fl_1=h,this.gl_1=a,this.hl_1=l,this.il_1=f,this.jl_1=c,this.kl_1=v,this.ll_1=w,this.ml_1=d,this.nl_1=$,this.ol_1=g,this.pl_1=k,this.ql_1=m,this.rl_1=p,this.sl_1=b,this.tl_1=x,this.ul_1=y}function hn(){}function an(n,t){t=t===j?1:t,this.wl_1=n,this.xl_1=t}function ln(){f=this,this.zl_1=new wn(0,0),this.am_1=new wn(1,1),this.bm_1=new wn(1,0),this.cm_1=new wn(0,1),this.dm_1=new wn(1/0,1/0)}function fn(){return null==f&&new ln,f}function cn(){c=this;var n=new A("org.openrndr.math.Vector2",this,2);n.sg("x",!1),n.sg("y",!1),this.hm_1=n}function vn(){return null==c&&new cn,c}function wn(n,t){fn(),this.fm_1=n,this.gm_1=t}function dn(){if(d)return N;d=!0,v=new $n("CCW_POSITIVE_Y",0),w=new $n("CW_NEGATIVE_Y",1)}function $n(n,t){M.call(this,n,t)}function gn(){return dn(),w}function kn(){$=this,this.om_1=new pn(0,0,0),this.pm_1=new pn(1,1,1),this.qm_1=this.pm_1.yh(),this.rm_1=new pn(1,0,0),this.sm_1=new pn(0,1,0),this.tm_1=new pn(0,0,1),this.um_1=new pn(1/0,1/0,1/0)}function mn(){return null==$&&new kn,$}function pn(n,t,i){mn(),this.sj_1=n,this.tj_1=t,this.uj_1=i}function bn(){g=this,this.zm_1=new yn(1,0,0,0),this.an_1=new yn(0,1,0,0),this.bn_1=new yn(0,0,1,0),this.cn_1=new yn(0,0,0,1),this.dn_1=new yn(0,0,0,0),this.en_1=new yn(1,1,1,1),this.fn_1=new yn(1/0,1/0,1/0,1/0)}function xn(){return null==g&&new bn,g}function yn(n,t,i,e){xn(),this.gn_1=n,this.hn_1=t,this.in_1=i,this.jn_1=e}function qn(){}return p(F),y(V,"BooleanVector2"),p(G),y(P,"BooleanVector3"),p(W),y(U,"BooleanVector4"),q(K,"EuclideanVector"),p(H),y(Y,"IntVector2"),p(X),y(Q,"IntVector3"),p(Z),y(J,"IntVector4"),p(nn),y(tn,"Matrix33",tn),p(en),y(sn,"Matrix44",sn),p(_n),y(on,"Matrix55",on),p(hn),y(an,"Polar"),p(ln),T(cn,"$serializer",j,j,[I]),y(wn,"Vector2",j,j,[K],j,j,{0:vn}),y($n,"YPolarity",j,M),p(kn),y(pn,"Vector3",j,j,[K]),p(bn),y(yn,"Vector4",j,j,[K]),q(qn,"CastableToVector4"),m(V).toString=function(){return"BooleanVector2(x="+this.dh_1+", y="+this.eh_1+")"},m(V).hashCode=function(){var n=b(this.dh_1);return k(n,31)+b(this.eh_1)|0},m(V).equals=function(n){if(this===n)return!0;if(!(n instanceof V))return!1;var t=n instanceof V?n:x();return this.dh_1===t.dh_1&&this.eh_1===t.eh_1},m(P).toString=function(){return"BooleanVector3(x="+this.kh_1+", y="+this.lh_1+", z="+this.mh_1+")"},m(P).hashCode=function(){var n=b(this.kh_1);return n=k(n,31)+b(this.lh_1)|0,k(n,31)+b(this.mh_1)|0},m(P).equals=function(n){if(this===n)return!0;if(!(n instanceof P))return!1;var t=n instanceof P?n:x();return this.kh_1===t.kh_1&&this.lh_1===t.lh_1&&this.mh_1===t.mh_1},m(U).toString=function(){return"BooleanVector4(x="+this.th_1+", y="+this.uh_1+", z="+this.vh_1+", w="+this.wh_1+")"},m(U).hashCode=function(){var n=b(this.th_1);return n=k(n,31)+b(this.uh_1)|0,n=k(n,31)+b(this.vh_1)|0,k(n,31)+b(this.wh_1)|0},m(U).equals=function(n){if(this===n)return!0;if(!(n instanceof U))return!1;var t=n instanceof U?n:x();return this.th_1===t.th_1&&this.uh_1===t.uh_1&&this.vh_1===t.vh_1&&this.wh_1===t.wh_1},m(Y).toString=function(){return"IntVector2(x="+this.mi_1+", y="+this.ni_1+")"},m(Y).hashCode=function(){var n=this.mi_1;return k(n,31)+this.ni_1|0},m(Y).equals=function(n){if(this===n)return!0;if(!(n instanceof Y))return!1;var t=n instanceof Y?n:x();return this.mi_1===t.mi_1&&this.ni_1===t.ni_1},m(Q).toString=function(){return"IntVector3(x="+this.ti_1+", y="+this.ui_1+", z="+this.vi_1+")"},m(Q).hashCode=function(){var n=this.ti_1;return n=k(n,31)+this.ui_1|0,k(n,31)+this.vi_1|0},m(Q).equals=function(n){if(this===n)return!0;if(!(n instanceof Q))return!1;var t=n instanceof Q?n:x();return this.ti_1===t.ti_1&&this.ui_1===t.ui_1&&this.vi_1===t.vi_1},m(J).toString=function(){return"IntVector4(x="+this.cj_1+", y="+this.dj_1+", z="+this.ej_1+", w="+this.fj_1+")"},m(J).hashCode=function(){var n=this.cj_1;return n=k(n,31)+this.dj_1|0,n=k(n,31)+this.ej_1|0,k(n,31)+this.fj_1|0},m(J).equals=function(n){if(this===n)return!0;if(!(n instanceof J))return!1;var t=n instanceof J?n:x();return this.cj_1===t.cj_1&&this.dj_1===t.dj_1&&this.ej_1===t.ej_1&&this.fj_1===t.fj_1},m(tn).rj=function(n){return new pn(n.sj_1*this.ij_1+n.tj_1*this.jj_1+n.uj_1*this.kj_1,n.sj_1*this.lj_1+n.tj_1*this.mj_1+n.uj_1*this.nj_1,n.sj_1*this.oj_1+n.tj_1*this.pj_1+n.uj_1*this.qj_1)},m(tn).toString=function(){return this.ij_1+", "+this.jj_1+", "+this.kj_1+",\n"+this.lj_1+", "+this.mj_1+", "+this.nj_1+",\n"+this.oj_1+", "+this.pj_1+", "+this.qj_1},m(tn).hashCode=function(){var n=C(this.ij_1);return n=k(n,31)+C(this.jj_1)|0,n=k(n,31)+C(this.kj_1)|0,n=k(n,31)+C(this.lj_1)|0,n=k(n,31)+C(this.mj_1)|0,n=k(n,31)+C(this.nj_1)|0,n=k(n,31)+C(this.oj_1)|0,n=k(n,31)+C(this.pj_1)|0,k(n,31)+C(this.qj_1)|0},m(tn).equals=function(n){if(this===n)return!0;if(!(n instanceof tn))return!1;var t=n instanceof tn?n:x();return!!(S(this.ij_1,t.ij_1)&&S(this.jj_1,t.jj_1)&&S(this.kj_1,t.kj_1)&&S(this.lj_1,t.lj_1)&&S(this.mj_1,t.mj_1)&&S(this.nj_1,t.nj_1)&&S(this.oj_1,t.oj_1)&&S(this.pj_1,t.pj_1)&&S(this.qj_1,t.qj_1))},m(sn).nk=function(){if(this===rn().vj_1)return this;var n=this.gk_1*this.lk_1*this.ek_1-this.kk_1*this.hk_1*this.ek_1+this.kk_1*this.dk_1*this.ik_1-this.ck_1*this.lk_1*this.ik_1-this.gk_1*this.dk_1*this.mk_1+this.ck_1*this.hk_1*this.mk_1,t=this.jk_1*this.hk_1*this.ek_1-this.fk_1*this.lk_1*this.ek_1-this.jk_1*this.dk_1*this.ik_1+this.bk_1*this.lk_1*this.ik_1+this.fk_1*this.dk_1*this.mk_1-this.bk_1*this.hk_1*this.mk_1,i=this.fk_1*this.kk_1*this.ek_1-this.jk_1*this.gk_1*this.ek_1+this.jk_1*this.ck_1*this.ik_1-this.bk_1*this.kk_1*this.ik_1-this.fk_1*this.ck_1*this.mk_1+this.bk_1*this.gk_1*this.mk_1,e=this.jk_1*this.gk_1*this.dk_1-this.fk_1*this.kk_1*this.dk_1-this.jk_1*this.ck_1*this.hk_1+this.bk_1*this.kk_1*this.hk_1+this.fk_1*this.ck_1*this.lk_1-this.bk_1*this.gk_1*this.lk_1,r=this.kk_1*this.hk_1*this.ak_1-this.gk_1*this.lk_1*this.ak_1-this.kk_1*this.zj_1*this.ik_1+this.yj_1*this.lk_1*this.ik_1+this.gk_1*this.zj_1*this.mk_1-this.yj_1*this.hk_1*this.mk_1,s=this.fk_1*this.lk_1*this.ak_1-this.jk_1*this.hk_1*this.ak_1+this.jk_1*this.zj_1*this.ik_1-this.xj_1*this.lk_1*this.ik_1-this.fk_1*this.zj_1*this.mk_1+this.xj_1*this.hk_1*this.mk_1,_=this.jk_1*this.gk_1*this.ak_1-this.fk_1*this.kk_1*this.ak_1-this.jk_1*this.yj_1*this.ik_1+this.xj_1*this.kk_1*this.ik_1+this.fk_1*this.yj_1*this.mk_1-this.xj_1*this.gk_1*this.mk_1,u=this.fk_1*this.kk_1*this.zj_1-this.jk_1*this.gk_1*this.zj_1+this.jk_1*this.yj_1*this.hk_1-this.xj_1*this.kk_1*this.hk_1-this.fk_1*this.yj_1*this.lk_1+this.xj_1*this.gk_1*this.lk_1,o=this.ck_1*this.lk_1*this.ak_1-this.kk_1*this.dk_1*this.ak_1+this.kk_1*this.zj_1*this.ek_1-this.yj_1*this.lk_1*this.ek_1-this.ck_1*this.zj_1*this.mk_1+this.yj_1*this.dk_1*this.mk_1,h=this.jk_1*this.dk_1*this.ak_1-this.bk_1*this.lk_1*this.ak_1-this.jk_1*this.zj_1*this.ek_1+this.xj_1*this.lk_1*this.ek_1+this.bk_1*this.zj_1*this.mk_1-this.xj_1*this.dk_1*this.mk_1,a=this.bk_1*this.kk_1*this.ak_1-this.jk_1*this.ck_1*this.ak_1+this.jk_1*this.yj_1*this.ek_1-this.xj_1*this.kk_1*this.ek_1-this.bk_1*this.yj_1*this.mk_1+this.xj_1*this.ck_1*this.mk_1,l=this.jk_1*this.ck_1*this.zj_1-this.bk_1*this.kk_1*this.zj_1-this.jk_1*this.yj_1*this.dk_1+this.xj_1*this.kk_1*this.dk_1+this.bk_1*this.yj_1*this.lk_1-this.xj_1*this.ck_1*this.lk_1,f=this.gk_1*this.dk_1*this.ak_1-this.ck_1*this.hk_1*this.ak_1-this.gk_1*this.zj_1*this.ek_1+this.yj_1*this.hk_1*this.ek_1+this.ck_1*this.zj_1*this.ik_1-this.yj_1*this.dk_1*this.ik_1,c=this.bk_1*this.hk_1*this.ak_1-this.fk_1*this.dk_1*this.ak_1+this.fk_1*this.zj_1*this.ek_1-this.xj_1*this.hk_1*this.ek_1-this.bk_1*this.zj_1*this.ik_1+this.xj_1*this.dk_1*this.ik_1,v=this.fk_1*this.ck_1*this.ak_1-this.bk_1*this.gk_1*this.ak_1-this.fk_1*this.yj_1*this.ek_1+this.xj_1*this.gk_1*this.ek_1+this.bk_1*this.yj_1*this.ik_1-this.xj_1*this.ck_1*this.ik_1,w=this.bk_1*this.gk_1*this.zj_1-this.fk_1*this.ck_1*this.zj_1+this.fk_1*this.yj_1*this.dk_1-this.xj_1*this.gk_1*this.dk_1-this.bk_1*this.yj_1*this.hk_1+this.xj_1*this.ck_1*this.hk_1,d=this.ok();return new sn(n/d,r/d,o/d,f/d,t/d,s/d,h/d,c/d,i/d,_/d,a/d,v/d,e/d,u/d,l/d,w/d)},m(sn).ok=function(){return this.jk_1*this.gk_1*this.dk_1*this.ak_1-this.fk_1*this.kk_1*this.dk_1*this.ak_1-this.jk_1*this.ck_1*this.hk_1*this.ak_1+this.bk_1*this.kk_1*this.hk_1*this.ak_1+this.fk_1*this.ck_1*this.lk_1*this.ak_1-this.bk_1*this.gk_1*this.lk_1*this.ak_1-this.jk_1*this.gk_1*this.zj_1*this.ek_1+this.fk_1*this.kk_1*this.zj_1*this.ek_1+this.jk_1*this.yj_1*this.hk_1*this.ek_1-this.xj_1*this.kk_1*this.hk_1*this.ek_1-this.fk_1*this.yj_1*this.lk_1*this.ek_1+this.xj_1*this.gk_1*this.lk_1*this.ek_1+this.jk_1*this.ck_1*this.zj_1*this.ik_1-this.bk_1*this.kk_1*this.zj_1*this.ik_1-this.jk_1*this.yj_1*this.dk_1*this.ik_1+this.xj_1*this.kk_1*this.dk_1*this.ik_1+this.bk_1*this.yj_1*this.lk_1*this.ik_1-this.xj_1*this.ck_1*this.lk_1*this.ik_1-this.fk_1*this.ck_1*this.zj_1*this.mk_1+this.bk_1*this.gk_1*this.zj_1*this.mk_1+this.fk_1*this.yj_1*this.dk_1*this.mk_1-this.xj_1*this.gk_1*this.dk_1*this.mk_1-this.bk_1*this.yj_1*this.hk_1*this.mk_1+this.xj_1*this.ck_1*this.hk_1*this.mk_1},m(sn).pk=function(){return new sn(this.xj_1,this.bk_1,this.fk_1,this.jk_1,this.yj_1,this.ck_1,this.gk_1,this.kk_1,this.zj_1,this.dk_1,this.hk_1,this.lk_1,this.ak_1,this.ek_1,this.ik_1,this.mk_1)},m(sn).qk=function(){return new tn(this.xj_1,this.yj_1,this.zj_1,this.bk_1,this.ck_1,this.dk_1,this.fk_1,this.gk_1,this.hk_1)},m(sn).rk=function(n){return this===rn().vj_1?n:n===rn().vj_1?this:new sn(this.xj_1*n.xj_1+this.yj_1*n.bk_1+this.zj_1*n.fk_1+this.ak_1*n.jk_1,this.xj_1*n.yj_1+this.yj_1*n.ck_1+this.zj_1*n.gk_1+this.ak_1*n.kk_1,this.xj_1*n.zj_1+this.yj_1*n.dk_1+this.zj_1*n.hk_1+this.ak_1*n.lk_1,this.xj_1*n.ak_1+this.yj_1*n.ek_1+this.zj_1*n.ik_1+this.ak_1*n.mk_1,this.bk_1*n.xj_1+this.ck_1*n.bk_1+this.dk_1*n.fk_1+this.ek_1*n.jk_1,this.bk_1*n.yj_1+this.ck_1*n.ck_1+this.dk_1*n.gk_1+this.ek_1*n.kk_1,this.bk_1*n.zj_1+this.ck_1*n.dk_1+this.dk_1*n.hk_1+this.ek_1*n.lk_1,this.bk_1*n.ak_1+this.ck_1*n.ek_1+this.dk_1*n.ik_1+this.ek_1*n.mk_1,this.fk_1*n.xj_1+this.gk_1*n.bk_1+this.hk_1*n.fk_1+this.ik_1*n.jk_1,this.fk_1*n.yj_1+this.gk_1*n.ck_1+this.hk_1*n.gk_1+this.ik_1*n.kk_1,this.fk_1*n.zj_1+this.gk_1*n.dk_1+this.hk_1*n.hk_1+this.ik_1*n.lk_1,this.fk_1*n.ak_1+this.gk_1*n.ek_1+this.hk_1*n.ik_1+this.ik_1*n.mk_1,this.jk_1*n.xj_1+this.kk_1*n.bk_1+this.lk_1*n.fk_1+this.mk_1*n.jk_1,this.jk_1*n.yj_1+this.kk_1*n.ck_1+this.lk_1*n.gk_1+this.mk_1*n.kk_1,this.jk_1*n.zj_1+this.kk_1*n.dk_1+this.lk_1*n.hk_1+this.mk_1*n.lk_1,this.jk_1*n.ak_1+this.kk_1*n.ek_1+this.lk_1*n.ik_1+this.mk_1*n.mk_1)},m(sn).toString=function(){return this.xj_1+", "+this.yj_1+", "+this.zj_1+", "+this.ak_1+",\n"+this.bk_1+", "+this.ck_1+", "+this.dk_1+", "+this.ek_1+",\n"+this.fk_1+", "+this.gk_1+", "+this.hk_1+", "+this.ik_1+",\n"+this.jk_1+", "+this.kk_1+", "+this.lk_1+", "+this.mk_1},m(sn).sk=function(n,t,i,e,r,s,_,u,o,h,a,l,f,c,v,w){return new sn(n,t,i,e,r,s,_,u,o,h,a,l,f,c,v,w)},m(sn).tk=function(n,t,i,e,r,s,_,u,o,h,a,l,f,c,v,w,d){return n=n===j?this.xj_1:n,t=t===j?this.yj_1:t,i=i===j?this.zj_1:i,e=e===j?this.ak_1:e,r=r===j?this.bk_1:r,s=s===j?this.ck_1:s,_=_===j?this.dk_1:_,u=u===j?this.ek_1:u,o=o===j?this.fk_1:o,h=h===j?this.gk_1:h,a=a===j?this.hk_1:a,l=l===j?this.ik_1:l,f=f===j?this.jk_1:f,c=c===j?this.kk_1:c,v=v===j?this.lk_1:v,w=w===j?this.mk_1:w,d===j?this.sk(n,t,i,e,r,s,_,u,o,h,a,l,f,c,v,w):d.sk.call(this,n,t,i,e,r,s,_,u,o,h,a,l,f,c,v,w)},m(sn).hashCode=function(){var n=C(this.xj_1);return n=k(n,31)+C(this.yj_1)|0,n=k(n,31)+C(this.zj_1)|0,n=k(n,31)+C(this.ak_1)|0,n=k(n,31)+C(this.bk_1)|0,n=k(n,31)+C(this.ck_1)|0,n=k(n,31)+C(this.dk_1)|0,n=k(n,31)+C(this.ek_1)|0,n=k(n,31)+C(this.fk_1)|0,n=k(n,31)+C(this.gk_1)|0,n=k(n,31)+C(this.hk_1)|0,n=k(n,31)+C(this.ik_1)|0,n=k(n,31)+C(this.jk_1)|0,n=k(n,31)+C(this.kk_1)|0,n=k(n,31)+C(this.lk_1)|0,k(n,31)+C(this.mk_1)|0},m(sn).equals=function(n){if(this===n)return!0;if(!(n instanceof sn))return!1;var t=n instanceof sn?n:x();return!!(S(this.xj_1,t.xj_1)&&S(this.yj_1,t.yj_1)&&S(this.zj_1,t.zj_1)&&S(this.ak_1,t.ak_1)&&S(this.bk_1,t.bk_1)&&S(this.ck_1,t.ck_1)&&S(this.dk_1,t.dk_1)&&S(this.ek_1,t.ek_1)&&S(this.fk_1,t.fk_1)&&S(this.gk_1,t.gk_1)&&S(this.hk_1,t.hk_1)&&S(this.ik_1,t.ik_1)&&S(this.jk_1,t.jk_1)&&S(this.kk_1,t.kk_1)&&S(this.lk_1,t.lk_1)&&S(this.mk_1,t.mk_1))},m(on).vl=function(){return new Float32Array([this.wk_1,this.bl_1,this.gl_1,this.ll_1,this.ql_1,this.xk_1,this.cl_1,this.hl_1,this.ml_1,this.rl_1,this.yk_1,this.dl_1,this.il_1,this.nl_1,this.sl_1,this.zk_1,this.el_1,this.jl_1,this.ol_1,this.tl_1,this.al_1,this.fl_1,this.kl_1,this.pl_1,this.ul_1])},m(on).toString=function(){return z(this.wk_1+", "+this.xk_1+", "+this.yk_1+", "+this.zk_1+", "+this.al_1+",\n "+this.bl_1+", "+this.cl_1+", "+this.dl_1+", "+this.el_1+", "+this.fl_1+",\n "+this.gl_1+", "+this.hl_1+", "+this.il_1+", "+this.jl_1+", "+this.kl_1+",\n "+this.ll_1+", "+this.ml_1+", "+this.nl_1+", "+this.ol_1+", "+this.pl_1+",\n "+this.ql_1+", "+this.rl_1+", "+this.sl_1+", "+this.tl_1+", "+this.ul_1)},m(on).hashCode=function(){var n=C(this.wk_1);return n=k(n,31)+C(this.xk_1)|0,n=k(n,31)+C(this.yk_1)|0,n=k(n,31)+C(this.zk_1)|0,n=k(n,31)+C(this.al_1)|0,n=k(n,31)+C(this.bl_1)|0,n=k(n,31)+C(this.cl_1)|0,n=k(n,31)+C(this.dl_1)|0,n=k(n,31)+C(this.el_1)|0,n=k(n,31)+C(this.fl_1)|0,n=k(n,31)+C(this.gl_1)|0,n=k(n,31)+C(this.hl_1)|0,n=k(n,31)+C(this.il_1)|0,n=k(n,31)+C(this.jl_1)|0,n=k(n,31)+C(this.kl_1)|0,n=k(n,31)+C(this.ll_1)|0,n=k(n,31)+C(this.ml_1)|0,n=k(n,31)+C(this.nl_1)|0,n=k(n,31)+C(this.ol_1)|0,n=k(n,31)+C(this.pl_1)|0,n=k(n,31)+C(this.ql_1)|0,n=k(n,31)+C(this.rl_1)|0,n=k(n,31)+C(this.sl_1)|0,n=k(n,31)+C(this.tl_1)|0,k(n,31)+C(this.ul_1)|0},m(on).equals=function(n){if(this===n)return!0;if(!(n instanceof on))return!1;var t=n instanceof on?n:x();return!!(S(this.wk_1,t.wk_1)&&S(this.xk_1,t.xk_1)&&S(this.yk_1,t.yk_1)&&S(this.zk_1,t.zk_1)&&S(this.al_1,t.al_1)&&S(this.bl_1,t.bl_1)&&S(this.cl_1,t.cl_1)&&S(this.dl_1,t.dl_1)&&S(this.el_1,t.el_1)&&S(this.fl_1,t.fl_1)&&S(this.gl_1,t.gl_1)&&S(this.hl_1,t.hl_1)&&S(this.il_1,t.il_1)&&S(this.jl_1,t.jl_1)&&S(this.kl_1,t.kl_1)&&S(this.ll_1,t.ll_1)&&S(this.ml_1,t.ml_1)&&S(this.nl_1,t.nl_1)&&S(this.ol_1,t.ol_1)&&S(this.pl_1,t.pl_1)&&S(this.ql_1,t.ql_1)&&S(this.rl_1,t.rl_1)&&S(this.sl_1,t.sl_1)&&S(this.tl_1,t.tl_1)&&S(this.ul_1,t.ul_1))},m(an).yl=function(){return fn().em(this)},m(an).toString=function(){return"Polar(theta="+this.wl_1+", radius="+this.xl_1+")"},m(an).hashCode=function(){var n=C(this.wl_1);return k(n,31)+C(this.xl_1)|0},m(an).equals=function(n){if(this===n)return!0;if(!(n instanceof an))return!1;var t=n instanceof an?n:x();return!!S(this.wl_1,t.wl_1)&&!!S(this.xl_1,t.xl_1)},m(ln).em=function(n){var t=.017453292519943295*n.wl_1;return new wn(Math.cos(t),Math.sin(t)).hi(n.xl_1)},m(cn).lf=function(){return this.hm_1},m(cn).tg=function(){return[R(),R()]},m(wn).a=function(){var n=this.fm_1*this.fm_1+this.gm_1*this.gm_1;return Math.sqrt(n)},m(wn).ai=function(){return this.fm_1*this.fm_1+this.gm_1*this.gm_1},m(wn).xh=function(){return fn().zl_1},m(wn).im=function(n){return this.fm_1*n.gm_1-this.gm_1*n.fm_1},m(wn).jm=function(n){return this.fm_1*n.fm_1+this.gm_1*n.gm_1},m(wn).di=function(n){return this.jm(n instanceof wn?n:x())},m(wn).km=function(n){return new wn(this.fm_1+n.fm_1,this.gm_1+n.gm_1)},m(wn).fi=function(n){return this.km(n instanceof wn?n:x())},m(wn).lm=function(n){return new wn(this.fm_1-n.fm_1,this.gm_1-n.gm_1)},m(wn).gi=function(n){return this.lm(n instanceof wn?n:x())},m(wn).hi=function(n){return new wn(this.fm_1*n,this.gm_1*n)},m(wn).zh=function(n){return new wn(this.fm_1/n,this.gm_1/n)},m(wn).mm=function(n){var t=n.fm_1-this.fm_1,i=n.gm_1-this.gm_1;return t*t+i*i},m(wn).bi=function(n){return this.mm(n instanceof wn?n:x())},m(wn).nm=function(n){var t=this.fm_1*n.gm_1-this.gm_1*n.fm_1;return Math.abs(t)},m(wn).ci=function(n){return this.nm(n instanceof wn?n:x())},m(wn).pa=function(){return this.fm_1},m(wn).qa=function(){return this.gm_1},m(wn).toString=function(){return"Vector2(x="+this.fm_1+", y="+this.gm_1+")"},m(wn).hashCode=function(){var n=C(this.fm_1);return k(n,31)+C(this.gm_1)|0},m(wn).equals=function(n){if(this===n)return!0;if(!(n instanceof wn))return!1;var t=n instanceof wn?n:x();return!!S(this.fm_1,t.fm_1)&&!!S(this.gm_1,t.gm_1)},m(pn).xh=function(){return mn().om_1},m(pn).vm=function(n){return new pn(this.sj_1+n.sj_1,this.tj_1+n.tj_1,this.uj_1+n.uj_1)},m(pn).fi=function(n){return this.vm(n instanceof pn?n:x())},m(pn).wm=function(n){return new pn(this.sj_1-n.sj_1,this.tj_1-n.tj_1,this.uj_1-n.uj_1)},m(pn).gi=function(n){return this.wm(n instanceof pn?n:x())},m(pn).hi=function(n){return new pn(this.sj_1*n,this.tj_1*n,this.uj_1*n)},m(pn).zh=function(n){return new pn(this.sj_1/n,this.tj_1/n,this.uj_1/n)},m(pn).xm=function(n){return this.sj_1*n.sj_1+this.tj_1*n.tj_1+this.uj_1*n.uj_1},m(pn).di=function(n){return this.xm(n instanceof pn?n:x())},m(pn).a=function(){var n=this.sj_1*this.sj_1+this.tj_1*this.tj_1+this.uj_1*this.uj_1;return Math.sqrt(n)},m(pn).ai=function(){return this.sj_1*this.sj_1+this.tj_1*this.tj_1+this.uj_1*this.uj_1},m(pn).ym=function(n){var t=n.sj_1-this.sj_1,i=n.tj_1-this.tj_1,e=n.uj_1-this.uj_1;return t*t+i*i+e*e},m(pn).bi=function(n){return this.ym(n instanceof pn?n:x())},m(pn).toString=function(){return"Vector3(x="+this.sj_1+", y="+this.tj_1+", z="+this.uj_1+")"},m(pn).hashCode=function(){var n=C(this.sj_1);return n=k(n,31)+C(this.tj_1)|0,k(n,31)+C(this.uj_1)|0},m(pn).equals=function(n){if(this===n)return!0;if(!(n instanceof pn))return!1;var t=n instanceof pn?n:x();return!!S(this.sj_1,t.sj_1)&&!!S(this.tj_1,t.tj_1)&&!!S(this.uj_1,t.uj_1)},m(yn).a=function(){var n=this.gn_1*this.gn_1+this.hn_1*this.hn_1+this.in_1*this.in_1+this.jn_1*this.jn_1;return Math.sqrt(n)},m(yn).ai=function(){return this.gn_1*this.gn_1+this.hn_1*this.hn_1+this.in_1*this.in_1+this.jn_1*this.jn_1},m(yn).xh=function(){return xn().dn_1},m(yn).kn=function(n){return new yn(this.gn_1+n.gn_1,this.hn_1+n.hn_1,this.in_1+n.in_1,this.jn_1+n.jn_1)},m(yn).fi=function(n){return this.kn(n instanceof yn?n:x())},m(yn).ln=function(n){return new yn(this.gn_1-n.gn_1,this.hn_1-n.hn_1,this.in_1-n.in_1,this.jn_1-n.jn_1)},m(yn).gi=function(n){return this.ln(n instanceof yn?n:x())},m(yn).hi=function(n){return new yn(this.gn_1*n,this.hn_1*n,this.in_1*n,this.jn_1*n)},m(yn).zh=function(n){return new yn(this.gn_1/n,this.hn_1/n,this.in_1/n,this.jn_1/n)},m(yn).mn=function(n){return this.gn_1*n.gn_1+this.hn_1*n.hn_1+this.in_1*n.in_1+this.jn_1*n.jn_1},m(yn).di=function(n){return this.mn(n instanceof yn?n:x())},m(yn).nn=function(n){var t=n.gn_1-this.gn_1,i=n.hn_1-this.hn_1,e=n.in_1-this.in_1,r=n.jn_1-this.jn_1;return t*t+i*i+e*e+r*r},m(yn).bi=function(n){return this.nn(n instanceof yn?n:x())},m(yn).toString=function(){return"Vector4(x="+this.gn_1+", y="+this.hn_1+", z="+this.in_1+", w="+this.jn_1+")"},m(yn).hashCode=function(){var n=C(this.gn_1);return n=k(n,31)+C(this.hn_1)|0,n=k(n,31)+C(this.in_1)|0,k(n,31)+C(this.jn_1)|0},m(yn).equals=function(n){if(this===n)return!0;if(!(n instanceof yn))return!1;var t=n instanceof yn?n:x();return!!(S(this.gn_1,t.gn_1)&&S(this.hn_1,t.hn_1)&&S(this.in_1,t.in_1)&&S(this.jn_1,t.jn_1))},m(cn).ug=L,m(wn).yh=B,m(wn).ei=D,m(pn).yh=B,m(pn).ci=O,m(pn).ei=D,m(yn).yh=B,m(yn).ci=O,m(yn).ei=D,new hn,n.$_$=n.$_$||{},n.$_$.a=gn,n.$_$.b=function(n){return function(n,t){return wn.call(t,n,n),t}(n,E(m(wn)))},n.$_$.c=rn,n.$_$.d=un,n.$_$.e=vn,n.$_$.f=fn,n.$_$.g=mn,n.$_$.h=function(n){return new sn(n.xj_1,n.yj_1,n.zj_1,0,n.bk_1,n.ck_1,n.dk_1,0,n.fk_1,n.gk_1,n.hk_1,0,0,0,0,1).nk().pk().tk(j,j,j,j,j,j,j,j,j,j,j,j,j,j,j,0)},n.$_$.i=function(n,t,i,e,r,s){return new sn(2/(t-n),0,0,-(t+n)/(t-n),0,2/(e-i),0,-(e+i)/(e-i),0,0,-2/(s-r),-(s+r)/(s-r),0,0,0,1)},n.$_$.j=V,n.$_$.k=P,n.$_$.l=U,n.$_$.m=qn,n.$_$.n=Y,n.$_$.o=Q,n.$_$.p=J,n.$_$.q=tn,n.$_$.r=sn,n.$_$.s=an,n.$_$.t=wn,n.$_$.u=pn,n.$_$.v=yn,n.$_$.w=function(){return[(dn(),v),gn()]},n})?e.apply(t,r):e)||(n.exports=s)},73:(n,t,i)=>{var e,r,s;r=[t,i(36)],void 0===(s="function"==typeof(e=function(n,t){"use strict";var i,e,r,s,_=t.$_$.b1,u=t.$_$.u4,o=t.$_$.x3,h=t.$_$.l3,a=t.$_$.c,l=t.$_$.p3;function f(){if(r)return _;r=!0,new c("GENERIC",0),new c("WINDOWS",1),i=new c("MAC",2),e=new c("BROWSER",3)}function c(n,t){u.call(this,n,t)}function v(){}return h(c,"PlatformType",a,u),l(v,"Platform"),o(v).uu=function(){return f(),e},o(v).vu=function(n){return null},s=new v,n.$_$=n.$_$||{},n.$_$.a=function(){return f(),i},n.$_$.b=s,n})?e.apply(t,r):e)||(n.exports=s)},989:(n,t,i)=>{var e,r,s;r=[t,i(36),i(560),i(539),i(46),i(549)],void 0===(s="function"==typeof(e=function(n,t,i,e,r,s){"use strict";var _,u,o,h,a,l,f,c=Math.imul,v=t.$_$.x3,w=t.$_$.f1,d=t.$_$.f,$=t.$_$.b1,g=t.$_$.g,k=t.$_$.y1,m=t.$_$.c,p=t.$_$.n3,b=t.$_$.m3,x=i.$_$.t,y=t.$_$.h3,q=t.$_$.z4,j=t.$_$.e3,C=t.$_$.l3,S=i.$_$.e,z=e.$_$.c,E=e.$_$.f,A=e.$_$.a,R=e.$_$.d,L=e.$_$.e,I=t.$_$.p3,T=t.$_$.s,N=t.$_$.d5,M=t.$_$.z3,B=t.$_$.a,O=t.$_$.k3,D=t.$_$.b2,F=t.$_$.k5,V=t.$_$.m1,G=t.$_$.e4,P=t.$_$.f4,W=t.$_$.i3,U=r.$_$.c,K=r.$_$.b,H=t.$_$.p,Y=r.$_$.e,X=i.$_$.w,Q=e.$_$.g,Z=t.$_$.z1,J=t.$_$.r1,nn=t.$_$.l1,tn=t.$_$.w1,en=t.$_$.c1,rn=t.$_$.a2,sn=t.$_$.e2,_n=t.$_$.e5,un=r.$_$.d,on=r.$_$.a,hn=i.$_$.a,an=t.$_$.s2,ln=i.$_$.f,fn=s.$_$.b,cn=t.$_$.y4,vn=t.$_$.e1,wn=t.$_$.g3,dn=t.$_$.u4;function $n(n){for(var t=this.ks(n),i=d(w(t,10)),e=t.g();e.h();){var r=e.i().na_1;i.e(r)}return i}function gn(){}function kn(){var n,t;_=this,this.ls_1=(n=0,t=(t=0)===m?n:t,new mn(new x(0,0),n,t))}function mn(n,t,i){null==_&&new kn,i=i===m?t:i,this.ms_1=n,this.ns_1=t,this.os_1=i}function pn(){u=this,this.ss_1=[null,new z(S()),null,null]}function bn(){return null==u&&new pn,u}function xn(){o=this;var n=new E("org.openrndr.shape.Segment2D",this,4);n.sg("start",!1),n.sg("control",!1),n.sg("end",!1),n.sg("corner",!0),this.ts_1=n}function yn(){return null==o&&new xn,o}function qn(n){return function(){var t;switch(n.vs_1.j()){case 0:t=n.ws_1.lm(n.us_1).a();break;case 1:case 2:t=function(n){var t=0,i=G(0,n.j()-1|0),e=i.nb_1,r=i.ob_1;if(e<=r)do{var s=e;e=e+1|0;var _=s;t+=n.k(_).lm(n.k(_+1|0)).a()}while(s!==r);return t}(n.at());break;default:throw T("unsupported number of control points")}return t}}function jn(n,t,i,e){bn(),e=e!==m&&e,this.us_1=n,this.vs_1=t,this.ws_1=i,this.xs_1=e,this.ys_1=null,this.zs_1=N(qn(this))}function Cn(){}function Sn(n,t,i){return i=i===m||i,new jn(n,V(),t,i)}function zn(n){var t;switch(n.vs_1.j()){case 0:t=U.jr(En(n.us_1),En(n.ws_1));break;case 1:t=K.tq(En(n.us_1),En(n.vs_1.k(0)),En(n.ws_1));break;case 2:t=K.uq(En(n.us_1),En(n.vs_1.k(0)),En(n.vs_1.k(1)),En(n.ws_1));break;default:throw H("unsupported control count "+n.vs_1.j())}return t}function En(n){return new Y(n.fm_1,n.gm_1)}function An(){h=this,this.qt_1=[new z(yn()),null,Q("org.openrndr.math.YPolarity",X()),null],this.rt_1=new In(V(),!1)}function Rn(){return null==h&&new An,h}function Ln(n){return function(){for(var t=n.eu().tt_1,i=g(),e=t.g();e.h();){var r=e.i(),s=D([r.us_1,r.ws_1]);en(i,s)}return function(n){for(var t=1/0,i=1/0,e=-1/0,r=-1/0,s=n.g();s.h();){var _=s.i(),u=t,o=_.fm_1;t=Math.min(u,o);var h=e,a=_.fm_1;e=Math.max(h,a);var l=i,f=_.gm_1;i=Math.min(l,f);var c=r,v=_.gm_1;r=Math.max(c,v)}return new mn(new x(t,i),e-t,r-i)}(i)}}function In(n,t,i){Rn(),i=i===m?hn():i,this.tt_1=n,this.ut_1=t,this.vt_1=i;for(var e=an(this.tt_1).g();e.h();){var r=e.i(),s=r.na_1.ws_1.lm(r.oa_1.us_1).a();if(!(s<1e-6)){var _="points are too far away from each other "+r.na_1.ws_1.toString()+" "+r.oa_1.us_1.toString()+" "+s;throw H(M(_))}}var u;this.wt_1=N((u=this,function(){for(var n=0,t=u.tt_1.g();t.h();)n+=t.i().a();return n})),this.xt_1=ln().dm_1,this.yt_1=N(Ln(this)),this.zt_1=N(function(n){return function(){for(var t=0,i=n.tt_1.g();i.h();){var e=i.i(),r=sn(sn(rn(e.us_1),e.vs_1),rn(e.ws_1)).g();if(r.h())for(var s=g(),_=r.i();r.h();){var u=r.i(),o=_;t+=(u.fm_1-o.fm_1)*(u.gm_1+o.gm_1),s.e($),_=u}else V()}var h,a=J(n.tt_1).us_1,l=Z(n.tt_1).ws_1;switch(t+=(a.fm_1-l.fm_1)*(a.gm_1+l.gm_1),n.vt_1.c1_1){case 0:h=t<0?Bn():Mn();break;case 1:h=t<0?Mn():Bn();break;default:_n()}return h}}(this)),this.au_1=fn(function(n){return function(){for(var t=n.tt_1,i=d(w(t,10)),e=t.g();e.h();){var r=zn(e.i());i.e(r)}return un(i)}}(this)),this.bu_1=this.au_1,this.cu_1=fn(function(n){return function(){for(var t=n.tt_1,i=d(w(t,10)),e=t.g();e.h();){var r=zn(e.i());i.e(r)}return on(i)}}(this)),this.du_1=this.cu_1}function Tn(){if(f)return $;f=!0,a=new Nn("CLOCKWISE",0),l=new Nn("COUNTER_CLOCKWISE",1)}function Nn(n,t){dn.call(this,n,t)}function Mn(){return Tn(),a}function Bn(){return Tn(),l}function On(n,t,i,e,r,s){var _=t.na_1,u=i.na_1,o=e.na_1,h=r.na_1;if(s>12)return $;var a,l=Vn(Gn(t,i),.5),f=Vn(Gn(i,e),.5),c=Vn(Gn(e,r),.5),v=Vn(Gn(l,f),.5),w=Vn(Gn(f,c),.5),d=Vn(Gn(v,w),.5),g=h.gi(_),k=u.gi(h).ci(g),m=o.gi(h).ci(g);switch((k>1e-30?2:0)+(m>1e-30?1:0)|0){case 0:if(0===(a=g.ai()))k=_.bi(u),m=o.bi(h);else{a=1/a;var p=u.gi(_);k=a*g.di(p);var b=o.gi(_);if(m=a*g.di(b),k>0&&k<1&&m>0&&m<1)return $;k=k<=0?_.bi(u):k>=1?u.bi(h):u.bi(_.fi(g.hi(k))),m=m<=0?o.bi(_):m>=1?o.bi(h):o.bi(_.fi(g.hi(m)))}if(k>m){if(k 0&&n.kt_1.e(i),$}else if(m 0&&n.kt_1.e(e),$;break;case 1:if(m*m<=n.lt_1*g.ai()){if(n.mt_1<.01)return Pn(Z(n.kt_1),f)>0&&n.kt_1.e(f),$;var x=h.gi(o).ei(o.gi(u)),y=Math.abs(x);if(y>=3.141592653589793&&(y=6.283185307179586-y),y 0&&n.kt_1.e(i),Wn(Z(n.kt_1),o)>0&&n.kt_1.e(e),$;if(0!==n.nt_1&&y>n.nt_1)return Wn(Z(n.kt_1),o)>0&&n.kt_1.e(e),$}break;case 2:if(k*k<=n.lt_1*g.ai()){if(n.mt_1<.01)return Pn(Z(n.kt_1),f)>0&&n.kt_1.e(f),$;var q=o.gi(u).ei(u.gi(_)),j=Math.abs(q);if(j>=3.141592653589793&&(j=6.283185307179586-j),j 0&&n.kt_1.e(i),Pn(Z(n.kt_1),e)>0&&n.kt_1.e(e),$;if(0!==n.nt_1&&j>n.nt_1)return Pn(Z(n.kt_1),i)>0&&n.kt_1.e(i),$}break;case 3:if((k+m)*(k+m)<=n.lt_1*g.ai()){if(n.mt_1<.01)return Pn(Z(n.kt_1),f)>0&&n.kt_1.e(f),$;var C=o.gi(u).ei(u.gi(_)),S=Math.abs(C),z=h.gi(o).ei(o.gi(u)),E=Math.abs(z);if(S>=3.141592653589793&&(S=6.283185307179586-S),E>=3.141592653589793&&(E=6.283185307179586-E),S+E 0&&n.kt_1.e(f),$;if(0!==n.nt_1){if(S>n.nt_1)return Pn(Z(n.kt_1),i)>0&&n.kt_1.e(i),$;if(E>n.nt_1)return Pn(Z(n.kt_1),e)>0&&n.kt_1.e(e),$}}}On(n,t,l,v,d,s+1|0),On(n,d,w,c,r,s+1|0)}function Dn(){this.iu_1=1e-30,this.ju_1=.01,this.ku_1=12}function Fn(){this.kt_1=g(),this.lt_1=0,this.mt_1=0,this.nt_1=0,this.ot_1=.5}function Vn(n,t){return new cn(n.na_1.hi(t),n.oa_1*t)}function Gn(n,t){return new cn(n.na_1.fi(t.na_1),n.oa_1+t.oa_1)}function Pn(n,t){return n.na_1.bi(t.na_1)}function Wn(n,t){return n.na_1.bi(t)}function Un(n,t,i,e,r){if(r>n.dt_1)return $;var s=Yn(Xn(t,i),.5),_=Yn(Xn(i,e),.5),u=Yn(Xn(s,_),.5),o=t.na_1,h=i.na_1,a=e.na_1,l=a.gi(o),f=h.gi(a).ci(a.gi(o));if(f>1e-30){if(f*f<=n.ft_1*l.ai()){if(n.ht_1 0&&n.it_1.e(u),$;var c=h.gi(o).ei(a.gi(h)),v=Math.abs(c);if(v>=3.141592653589793&&(v=6.283185307179586-v),v 0&&n.it_1.e(u),$}}else{var w,d=l.ai();if(0===d)w=o.bi(h);else{if((w=h.gi(o).di(l)/d)>0&&w<1)return $;w=w<=0?h.bi(o):w>=1?h.bi(a):h.bi(o.fi(l.hi(w)))}if(w 0&&n.it_1.e(i),$}Un(n,t,s,u,r+1|0),Un(n,u,_,e,r+1|0)}function Kn(){this.lu_1=1e-30}function Hn(){this.dt_1=12,this.et_1=.5,this.ft_1=0,this.gt_1=.01,this.ht_1=0,this.it_1=g()}function Yn(n,t){return new cn(n.na_1.hi(t),n.oa_1*t)}function Xn(n,t){return new cn(n.na_1.fi(t.na_1),n.oa_1+t.oa_1)}function Qn(n,t){return n.na_1.bi(t.na_1)}function Zn(n,t){return n.na_1.bi(t)}return p(gn,"Path"),b(kn),C(mn,"Rectangle"),b(pn),I(xn,"$serializer",m,m,[L]),p(Cn,"BezierSegment"),C(jn,"Segment2D",m,m,[Cn],m,m,{0:yn}),b(An),C(In,"ShapeContour",m,m,[gn]),C(Nn,"Winding",m,dn),b(Dn),C(Fn,"BezierCubicSamplerT",Fn),b(Kn),C(Hn,"BezierQuadraticSamplerT",Hn),v(mn).ps=function(){return this.ms_1.km(new x(this.ns_1/2,this.os_1/2))},v(mn).qs=function(){return this.ms_1.fm_1},v(mn).rs=function(){return this.ms_1.gm_1},v(mn).toString=function(){return"Rectangle(corner="+this.ms_1.toString()+", width="+this.ns_1+", height="+this.os_1+")"},v(mn).hashCode=function(){var n=this.ms_1.hashCode();return n=c(n,31)+y(this.ns_1)|0,c(n,31)+y(this.os_1)|0},v(mn).equals=function(n){if(this===n)return!0;if(!(n instanceof mn))return!1;var t=n instanceof mn?n:q();return!!this.ms_1.equals(t.ms_1)&&!!j(this.ns_1,t.ns_1)&&!!j(this.os_1,t.os_1)},v(xn).lf=function(){return this.ts_1},v(xn).tg=function(){var n=bn().ss_1;return[S(),n[1],S(),A()]},v(jn).mb=function(){return this.us_1},v(jn).bt=function(){return this.vs_1},v(jn).ct=function(){return this.ws_1},v(jn).a=function(){var n=this.zs_1;return W("length",1,P,(function(n){return n.a()}),null),n.s()},v(jn).toString=function(){return"Segment(start="+this.us_1.toString()+", end="+this.ws_1.toString()+", control="+M(this.vs_1)+")"},v(jn).equals=function(n){return this===n||null!=n&&!!B(this).equals(B(n))&&(n instanceof jn||q(),!!this.us_1.equals(n.us_1)&&!!this.ws_1.equals(n.ws_1)&&j(this.vs_1,n.vs_1))},v(jn).hashCode=function(){var n=this.us_1.hashCode();return n=c(31,n)+this.ws_1.hashCode()|0,c(31,n)+O(this.vs_1)|0},v(An).st=function(n,t,i){var e;if(n.l())e=this.rt_1;else{var r;if(t){var s=Z(n).lm(J(n)).ai()>1e-6?n:nn(n,1),_=tn(s),u=d(w(_,10)),o=_.nb_1,h=_.ob_1;if(o<=h)do{var a=o;o=o+1|0;var l=a,f=Sn(s.k(l),s.k((l+1|0)%s.j()|0));u.e(f)}while(a!==h);r=new In(u,!0,i)}else{var c=G(0,n.j()-1|0),v=d(w(c,10)),$=c.nb_1,g=c.ob_1;if($<=g)do{var k=$;$=$+1|0;var m=k,p=Sn(n.k(m),n.k(m+1|0));v.e(p)}while(k!==g);r=new In(v,t,i)}e=r}return e},v(In).is=function(){return this.tt_1},v(In).fu=function(){return this===Rn().rt_1||this.tt_1.l()},v(In).gu=function(n){if(this.fu())return new cn(V(),V());for(var t=g(),i=g(),e=this.tt_1.g();e.h();)for(var r=e.i(),s=r.js(n),_=s.j()-1|0,u=0,o=s.g();o.h();){var h=o.i(),a=u;u=a+1|0;var l=vn(a),f=k(t);(null==f||f.mm(h)>0)&&(t.e(h),0===l||l===_?i.e(r.xs_1):i.e(!1))}return new cn(t,i)},v(In).hu=function(n){return this.fu()?Rn().rt_1:Rn().st(this.js(n),this.ut_1,this.vt_1)},v(In).eu=function(n,t){return n=n===m?.5:n,t===m?this.hu(n):t.hu.call(this,n)},v(In).toString=function(){return"ShapeContour(segments="+M(this.tt_1)+", closed="+this.ut_1+", polarity="+this.vt_1.toString()+")"},v(In).hashCode=function(){var n=O(this.tt_1);return n=c(n,31)+wn(this.ut_1)|0,c(n,31)+this.vt_1.hashCode()|0},v(In).equals=function(n){if(this===n)return!0;if(!(n instanceof In))return!1;var t=n instanceof In?n:q();return!!j(this.tt_1,t.tt_1)&&this.ut_1===t.ut_1&&!!this.vt_1.equals(t.vt_1)},v(Fn).pt=function(n,t,i,e){return this.lt_1=this.ot_1*this.ot_1,this.kt_1.b3(),this.kt_1.e(F(n,0)),On(this,F(n,0),F(t,1/3),F(i,2/3),F(e,1),0),Z(this.kt_1).na_1.bi(e)>0&&this.kt_1.e(F(e,1)),this.kt_1},v(Hn).jt=function(n,t,i){return this.ft_1=this.et_1*this.et_1,this.it_1.b3(),this.it_1.e(F(n,0)),Un(this,F(n,0),F(t,.5),F(i,1),0),Zn(Z(this.it_1),i)>0&&this.it_1.e(F(i,1)),this.it_1},v(xn).ug=R,v(jn).js=$n,v(jn).at=function(n,t){return n=n===m?.5:n,t===m?this.js(n):$n(n)},v(jn).ks=function(n){var t;switch(this.bt().j()){case 0:t=D([F(this.mb(),0),F(this.ct(),1)]);break;case 1:var i=new Hn;i.et_1=n,t=i.jt(this.mb(),this.bt().k(0),this.ct());break;case 2:var e=new Fn;e.ot_1=n,t=e.pt(this.mb(),this.bt().k(0),this.bt().k(1),this.ct());break;default:throw T("unsupported number of control points")}return t},v(In).js=function(n){for(var t=this.ks(n),i=d(w(t,10)),e=t.g();e.h();){var r=e.i().na_1;i.e(r)}return i},v(In).ks=function(n){for(var t=g(),i=this.is().j(),e=this.is().g(),r=0;e.h();){var s=r;r=r+1|0;for(var _=e.i().ks(n).g();_.h();){var u=_.i(),o=k(t);(null==o||o.na_1.bi(u.na_1)>0)&&t.e(u.uc(m,(u.oa_1+s)/i))}}return t},new Dn,new Kn,n.$_$=n.$_$||{},n.$_$.a=Rn,n.$_$.b=mn,n.$_$.c=function(n,t,i,e,r){return r=r===m||r,new jn(n,D([t,i]),e,r)},n.$_$.d=In,n})?e.apply(t,r):e)||(n.exports=s)},549:(n,t,i)=>{var e,r,s;r=[t,i(36)],void 0===(s="function"==typeof(e=function(n,t){"use strict";var i=t.$_$.d5;function e(n){this.oo_1=n,this.po_1=i(this.oo_1)}return t.$_$.x3,(0,t.$_$.l3)(e,"ResettableDelegate"),n.$_$=n.$_$||{},n.$_$.a=function(n,t){return n.x9(t),t},n.$_$.b=function(n){return new e(n)},n})?e.apply(t,r):e)||(n.exports=s)},644:(n,t,i)=>{var e,r,s;r=[t,i(36),i(560)],void 0===(s="function"==typeof(e=function(n,t,i){"use strict";var e,r,s,_,u,o=Math.imul,h=t.$_$.w,a=t.$_$.x,l=i.$_$.t,f=i.$_$.u,c=t.$_$.u3,v=t.$_$.a4,w=t.$_$.p4,d=t.$_$.u,$=t.$_$.x3,g=t.$_$.p3,k=t.$_$.z3,m=t.$_$.j3,p=t.$_$.k3,b=t.$_$.z4,x=t.$_$.e3,y=t.$_$.l3;function q(n,t,i,r,s){C();var _=function(n,t,i){var e=h(n),r=h(i),s=I(h(t)),_=I(h(a(r)+a(s)|0));return I(h(a(e)+a(_)|0))}(n,t,i),u=(C(),e),o=h(7),l=h(a(_)&a(o)),f=u[a(l)];return r*f.pa()+s*f.qa()}function j(n,t,i,e,s,_,u){C();var o=function(n,t,i,e){var r=h(n),s=h(e),_=h(t),u=I(h(i)),o=I(h(a(_)+a(u)|0)),l=I(h(a(s)+a(o)|0));return I(h(a(r)+a(l)|0))}(n,t,i,e),l=(C(),r),f=h(15),c=h(a(o)&a(f)),v=l[a(c)];return s*v.sj_1+_*v.tj_1+u*v.uj_1}function C(){s||(s=!0,e=[new l(-1,-1),new l(1,-1),new l(-1,1),new l(1,1),new l(0,-1),new l(-1,0),new l(0,1),new l(1,0)],r=[new f(1,1,0),new f(-1,1,0),new f(1,-1,0),new f(-1,-1,0),new f(1,0,1),new f(-1,0,1),new f(1,0,-1),new f(-1,0,-1),new f(0,1,1),new f(0,-1,1),new f(0,1,-1),new f(0,-1,-1),new f(1,1,0),new f(0,-1,1),new f(-1,1,0),new f(0,-1,-1)],new l(-.4313539279,.1281943404),new l(-.1733316799,.415278375),new l(-.2821957395,-.3505218461),new l(-.2806473808,.3517627718),new l(.3125508975,-.3237467165),new l(.3383018443,-.2967353402),new l(-.4393982022,-.09710417025),new l(-.4460443703,-.05953502905),new l(-.302223039,.3334085102),new l(-.212681052,-.3965687458),new l(-.2991156529,.3361990872),new l(.2293323691,.3871778202),new l(.4475439151,-.04695150755),new l(.1777518,.41340573),new l(.1688522499,-.4171197882),new l(-.0976597166,.4392750616),new l(.08450188373,.4419948321),new l(-.4098760448,-.1857461384),new l(.3476585782,-.2857157906),new l(-.3350670039,-.30038326),new l(.2298190031,-.3868891648),new l(-.01069924099,.449872789),new l(-.4460141246,-.05976119672),new l(.3650293864,.2631606867),new l(-.349479423,.2834856838),new l(-.4122720642,.1803655873),new l(-.267327811,.3619887311),new l(.322124041,-.3142230135),new l(.2880445931,-.3457315612),new l(.3892170926,-.2258540565),new l(.4492085018,-.02667811596),new l(-.4497724772,.01430799601),new l(.1278175387,-.4314657307),new l(-.03572100503,.4485799926),new l(-.4297407068,-.1335025276),new l(-.3217817723,.3145735065),new l(-.3057158873,.3302087162),new l(-.414503978,.1751754899),new l(-.3738139881,.2505256519),new l(.2236891408,-.3904653228),new l(.002967775577,-.4499902136),new l(.1747128327,-.4146991995),new l(-.4423772489,-.08247647938),new l(-.2763960987,-.355112935),new l(-.4019385906,-.2023496216),new l(.3871414161,-.2293938184),new l(-.430008727,.1326367019),new l(-.03037574274,-.4489736231),new l(-.3486181573,.2845441624),new l(.04553517144,-.4476902368),new l(-.0375802926,.4484280562),new l(.3266408905,.3095250049),new l(.06540017593,-.4452222108),new l(.03409025829,.448706869),new l(-.4449193635,.06742966669),new l(-.4255936157,-.1461850686),new l(.449917292,.008627302568),new l(.05242606404,.4469356864),new l(-.4495305179,-.02055026661),new l(-.1204775703,.4335725488),new l(-.341986385,-.2924813028),new l(.3865320182,.2304191809),new l(.04506097811,-.447738214),new l(-.06283465979,.4455915232),new l(.3932600341,-.2187385324),new l(.4472261803,-.04988730975),new l(.3753571011,-.2482076684),new l(-.273662295,.357223947),new l(.1700461538,.4166344988),new l(.4102692229,.1848760794),new l(.323227187,-.3130881435),new l(-.2882310238,-.3455761521),new l(.2050972664,.4005435199),new l(.4414085979,-.08751256895),new l(-.1684700334,.4172743077),new l(-.003978032396,.4499824166),new l(-.2055133639,.4003301853),new l(-.006095674897,-.4499587123),new l(-.1196228124,-.4338091548),new l(.3901528491,-.2242337048),new l(.01723531752,.4496698165),new l(-.3015070339,.3340561458),new l(-.01514262423,-.4497451511),new l(-.4142574071,-.1757577897),new l(-.1916377265,-.4071547394),new l(.3749248747,.2488600778),new l(-.2237774255,.3904147331),new l(-.4166343106,-.1700466149),new l(.3619171625,.267424695),new l(.1891126846,-.4083336779),new l(-.3127425077,.323561623),new l(-.3281807787,.307891826),new l(-.2294806661,.3870899429),new l(-.3445266136,.2894847362),new l(-.4167095422,-.1698621719),new l(-.257890321,-.3687717212),new l(-.3612037825,.2683874578),new l(.2267996491,.3886668486),new l(.207157062,.3994821043),new l(.08355176718,-.4421754202),new l(-.4312233307,.1286329626),new l(.3257055497,.3105090899),new l(.177701095,-.4134275279),new l(-.445182522,.06566979625),new l(.3955143435,.2146355146),new l(-.4264613988,.1436338239),new l(-.3793799665,-.2420141339),new l(.04617599081,-.4476245948),new l(-.371405428,-.2540826796),new l(.2563570295,-.3698392535),new l(.03476646309,.4486549822),new l(-.3065454405,.3294387544),new l(-.2256979823,.3893076172),new l(.4116448463,-.1817925206),new l(-.2907745828,-.3434387019),new l(.2842278468,-.348876097),new l(.3114589359,-.3247973695),new l(.4464155859,-.0566844308),new l(-.3037334033,-.3320331606),new l(.4079607166,.1899159123),new l(-.3486948919,-.2844501228),new l(.3264821436,.3096924441),new l(.3211142406,.3152548881),new l(.01183382662,.4498443737),new l(.4333844092,.1211526057),new l(.3118668416,.324405723),new l(-.272753471,.3579183483),new l(-.422228622,-.1556373694),new l(-.1009700099,-.4385260051),new l(-.2741171231,-.3568750521),new l(-.1465125133,.4254810025),new l(.2302279044,-.3866459777),new l(-.3699435608,.2562064828),new l(.105700352,-.4374099171),new l(-.2646713633,.3639355292),new l(.3521828122,.2801200935),new l(-.1864187807,-.4095705534),new l(.1994492955,-.4033856449),new l(.3937065066,.2179339044),new l(-.3226158377,.3137180602),new l(.3796235338,.2416318948),new l(.1482921929,.4248640083),new l(-.407400394,.1911149365),new l(.4212853031,.1581729856),new l(-.2621297173,.3657704353),new l(-.2536986953,-.3716678248),new l(-.2100236383,.3979825013),new l(.3624152444,.2667493029),new l(-.3645038479,-.2638881295),new l(.2318486784,.3856762766),new l(-.3260457004,.3101519002),new l(-.2130045332,-.3963950918),new l(.3814998766,-.2386584257),new l(-.342977305,.2913186713),new l(-.4355865605,.1129794154),new l(-.2104679605,.3977477059),new l(.3348364681,-.3006402163),new l(.3430468811,.2912367377),new l(-.2291836801,-.3872658529),new l(.2547707298,-.3709337882),new l(.4236174945,-.151816397),new l(-.15387742,.4228731957),new l(-.4407449312,.09079595574),new l(-.06805276192,-.444824484),new l(.4453517192,-.06451237284),new l(.2562464609,-.3699158705),new l(.3278198355,-.3082761026),new l(-.4122774207,-.1803533432),new l(.3354090914,-.3000012356),new l(.446632869,-.05494615882),new l(-.1608953296,.4202531296),new l(-.09463954939,.4399356268),new l(-.02637688324,-.4492262904),new l(.447102804,-.05098119915),new l(-.4365670908,.1091291678),new l(-.3959858651,.2137643437),new l(-.4240048207,-.1507312575),new l(-.3882794568,.2274622243),new l(-.4283652566,-.1378521198),new l(.3303888091,.305521251),new l(.3321434919,-.3036127481),new l(-.413021046,-.1786438231),new l(.08403060337,-.4420846725),new l(-.3822882919,.2373934748),new l(-.3712395594,-.2543249683),new l(.4472363971,-.04979563372),new l(-.4466591209,.05473234629),new l(.0486272539,-.4473649407),new l(-.4203101295,-.1607463688),new l(.2205360833,.39225481),new l(-.3624900666,.2666476169),new l(-.4036086833,-.1989975647),new l(.2152727807,.3951678503),new l(-.4359392962,-.1116106179),new l(.4178354266,.1670735057),new l(.2007630161,.4027334247),new l(-.07278067175,-.4440754146),new l(.3644748615,-.2639281632),new l(-.4317451775,.126870413),new l(-.297436456,.3376855855),new l(-.2998672222,.3355289094),new l(-.2673674124,.3619594822),new l(.2808423357,.3516071423),new l(.3498946567,.2829730186),new l(-.2229685561,.390877248),new l(.3305823267,.3053118493),new l(-.2436681211,-.3783197679),new l(-.03402776529,.4487116125),new l(-.319358823,.3170330301),new l(.4454633477,-.06373700535),new l(.4483504221,.03849544189),new l(-.4427358436,-.08052932871),new l(.05452298565,.4466847255),new l(-.2812560807,.3512762688),new l(.1266696921,.4318041097),new l(-.3735981243,.2508474468),new l(.2959708351,-.3389708908),new l(-.3714377181,.254035473),new l(-.404467102,-.1972469604),new l(.1636165687,-.419201167),new l(.3289185495,-.3071035458),new l(-.2494824991,-.3745109914),new l(.03283133272,.4488007393),new l(-.166306057,-.4181414777),new l(-.106833179,.4371346153),new l(.06440260376,-.4453676062),new l(-.4483230967,.03881238203),new l(-.421377757,-.1579265206),new l(.05097920662,-.4471030312),new l(.2050584153,-.4005634111),new l(.4178098529,-.167137449),new l(-.3565189504,-.2745801121),new l(.4478398129,.04403977727),new l(-.3399999602,-.2947881053),new l(.3767121994,.2461461331),new l(-.3138934434,.3224451987),new l(-.1462001792,-.4255884251),new l(.3970290489,-.2118205239),new l(.4459149305,-.06049689889),new l(-.4104889426,-.1843877112),new l(.1475103971,-.4251360756),new l(.09258030352,.4403735771),new l(-.1589664637,-.4209865359),new l(.2482445008,.3753327428),new l(.4383624232,-.1016778537),new l(.06242802956,.4456486745),new l(.2846591015,-.3485243118),new l(-.344202744,-.2898697484),new l(.1198188883,-.4337550392),new l(-.243590703,.3783696201),new l(.2958191174,-.3391033025),new l(-.1164007991,.4346847754),new l(.1274037151,-.4315881062),new l(.368047306,.2589231171),new l(.2451436949,.3773652989),new l(-.4314509715,.12786735),new f(.1453787434,-.4149781685,-.0956981749),new f(-.01242829687,-.1457918398,-.4255470325),new f(.2877979582,-.02606483451,-.3449535616),new f(-.07732986802,.2377094325,.3741848704),new f(.1107205875,-.3552302079,-.2530858567),new f(.2755209141,.2640521179,-.238463215),new f(.294168941,.1526064594,.3044271714),new f(.4000921098,-.2034056362,.03244149937),new f(-.1697304074,.3970864695,-.1265461359),new f(-.1483224484,-.3859694688,.1775613147),new f(.2623596946,-.2354852944,.2796677792),new f(-.2709003183,.3505271138,-.07901746678),new f(-.03516550699,.3885234328,.2243054374),new f(-.1267712655,.1920044036,.3867342179),new f(.02952021915,.4409685861,.08470692262),new f(-.2806854217,-.266996757,.2289725438),new f(-.171159547,.2141185563,.3568720405),new f(.2113227183,.3902405947,-.07453178509),new f(-.1024352839,.2128044156,-.3830421561),new f(-.3304249877,-.1566986703,.2622305365),new f(.2091111325,.3133278055,-.2461670583),new f(.344678154,-.1944240454,-.2142341261),new f(.1984478035,-.3214342325,-.2445373252),new f(-.2929008603,.2262915116,.2559320961),new f(-.1617332831,.006314769776,-.4198838754),new f(-.3582060271,-.148303178,-.2284613961),new f(-.1852067326,-.3454119342,-.2211087107),new f(.3046301062,.1026310383,.314908508),new f(-.03816768434,-.2551766358,-.3686842991),new f(-.4084952196,.1805950793,.05492788837),new f(-.02687443361,-.2749741471,.3551999201),new f(-.03801098351,.3277859044,.3059600725),new f(.2371120802,.2900386767,-.2493099024),new f(.4447660503,.03946930643,.05590469027),new f(.01985147278,-.01503183293,-.4493105419),new f(.4274339143,.03345994256,-.1366772882),new f(-.2072988631,.2871414597,-.2776273824),new f(-.3791240978,.1281177671,.2057929936),new f(-.2098721267,-.1007087278,-.3851122467),new f(.01582798878,.4263894424,.1429738373),new f(-.1888129464,-.3160996813,-.2587096108),new f(.1612988974,-.1974805082,-.3707885038),new f(-.08974491322,.229148752,-.3767448739),new f(.07041229526,.4150230285,-.1590534329),new f(-.1082925611,-.1586061639,.4069604477),new f(.2474100658,-.3309414609,.1782302128),new f(-.1068836661,-.2701644537,-.3436379634),new f(.2396452163,.06803600538,-.3747549496),new f(-.3063886072,.2597428179,.2028785103),new f(.1593342891,-.3114350249,-.2830561951),new f(.2709690528,.1412648683,-.3303331794),new f(-.1519780427,.3623355133,.2193527988),new f(.1699773681,.3456012883,.2327390037),new f(-.1986155616,.3836276443,-.1260225743),new f(-.1887482106,-.2050154888,-.353330953),new f(.2659103394,.3015631259,-.2021172246),new f(-.08838976154,-.4288819642,-.1036702021),new f(-.04201869311,.3099592485,.3235115047),new f(-.3230334656,.201549922,-.2398478873),new f(.2612720941,.2759854499,-.2409749453),new f(.385713046,.2193460345,.07491837764),new f(.07654967953,.3721732183,.241095919),new f(.4317038818,-.02577753072,.1243675091),new f(-.2890436293,-.3418179959,-.04598084447),new f(-.2201947582,.383023377,-.08548310451),new f(.4161322773,-.1669634289,-.03817251927),new f(.2204718095,.02654238946,-.391391981),new f(-.1040307469,.3890079625,-.2008741118),new f(-.1432122615,.371614387,-.2095065525),new f(.3978380468,-.06206669342,.2009293758),new f(-.2599274663,.2616724959,-.2578084893),new f(.4032618332,-.1124593585,.1650235939),new f(-.08953470255,-.3048244735,.3186935478),new f(.118937202,-.2875221847,.325092195),new f(.02167047076,-.03284630549,-.4482761547),new f(-.3411343612,.2500031105,.1537068389),new f(.3162964612,.3082064153,-.08640228117),new f(.2355138889,-.3439334267,-.1695376245),new f(-.02874541518,-.3955933019,.2125550295),new f(-.2461455173,.02020282325,-.3761704803),new f(.04208029445,-.4470439576,.02968078139),new f(.2727458746,.2288471896,-.2752065618),new f(-.1347522818,-.02720848277,-.4284874806),new f(.3829624424,.1231931484,-.2016512234),new f(-.3547613644,.1271702173,.2459107769),new f(.2305790207,.3063895591,.2354968222),new f(-.08323845599,-.1922245118,.3982726409),new f(.2993663085,-.2619918095,-.2103333191),new f(-.2154865723,.2706747713,.287751117),new f(.01683355354,-.2680655787,-.3610505186),new f(.05240429123,.4335128183,-.1087217856),new f(.00940104872,-.4472890582,.04841609928),new f(.3465688735,.01141914583,-.2868093776),new f(-.3706867948,-.2551104378,.003156692623),new f(.2741169781,.2139972417,-.2855959784),new f(.06413433865,.1708718512,.4113266307),new f(-.388187972,-.03973280434,-.2241236325),new f(.06419469312,-.2803682491,.3460819069),new f(-.1986120739,-.3391173584,.2192091725),new f(-.203203009,-.3871641506,.1063600375),new f(-.1389736354,-.2775901578,-.3257760473),new f(-.06555641638,.342253257,-.2847192729),new f(-.2529246486,-.2904227915,.2327739768),new f(.1444476522,.1069184044,.4125570634),new f(-.3643780054,-.2447099973,-.09922543227),new f(.4286142488,-.1358496089,-.01829506817),new f(.165872923,-.3136808464,-.2767498872),new f(.2219610524,-.3658139958,.1393320198),new f(.04322940318,-.3832730794,.2318037215),new f(-.08481269795,-.4404869674,-.03574965489),new f(.1822082075,-.3953259299,.1140946023),new f(-.3269323334,.3036542563,.05838957105),new f(-.4080485344,.04227858267,-.184956522),new f(.2676025294,-.01299671652,.36155217),new f(.3024892441,-.1009990293,-.3174892964),new f(.1448494052,.425921681,-.0104580805),new f(.4198402157,.08062320474,.1404780841),new f(-.3008872161,-.333040905,-.03241355801),new f(.3639310428,-.1291284382,-.2310412139),new f(.3295806598,.0184175994,-.3058388149),new f(.2776259487,-.2974929052,-.1921504723),new f(.4149000507,-.144793182,-.09691688386),new f(.145016715,-.0398992945,.4241205002),new f(.09299023471,-.299732164,-.3225111565),new f(.1028907093,-.361266869,.247789732),new f(.2683057049,-.07076041213,-.3542668666),new f(-.4227307273,-.07933161816,-.1323073187),new f(-.1781224702,.1806857196,-.3716517945),new f(.4390788626,-.02841848598,-.09435116353),new f(.2972583585,.2382799621,-.2394997452),new f(-.1707002821,.2215845691,.3525077196),new f(.3806686614,.1471852559,-.1895464869),new f(-.1751445661,-.274887877,.3102596268),new f(-.2227237566,-.2316778837,.3149912482),new f(.1369633021,.1341343041,-.4071228836),new f(-.3529503428,-.2472893463,-.129514612),new f(-.2590744185,-.2985577559,-.2150435121),new f(-.3784019401,.2199816631,-.1044989934),new f(-.05635805671,.1485737441,.4210102279),new f(.3251428613,.09666046873,-.2957006485),new f(-.4190995804,.1406751354,-.08405978803),new f(-.3253150961,-.3080335042,-.04225456877),new f(.2857945863,-.05796152095,.3427271751),new f(-.2733604046,.1973770973,-.2980207554),new f(.219003657,.2410037886,-.3105713639),new f(.3182767252,-.271342949,.1660509868),new f(-.03222023115,-.3331161506,-.300824678),new f(-.3087780231,.1992794134,-.2596995338),new f(-.06487611647,-.4311322747,.1114273361),new f(.3921171432,-.06294284106,-.2116183942),new f(-.1606404506,-.358928121,-.2187812825),new f(-.03767771199,-.2290351443,.3855169162),new f(.1394866832,-.3602213994,.2308332918),new f(-.4345093872,.005751117145,.1169124335),new f(-.1044637494,.4168128432,-.1336202785),new f(.2658727501,.2551943237,.2582393035),new f(.2051461999,.1975390727,.3484154868),new f(-.266085566,.23483312,.2766800993),new f(.07849405464,-.3300346342,-.2956616708),new f(-.2160686338,.05376451292,-.3910546287),new f(-.185779186,.2148499206,.3490352499),new f(.02492421743,-.3229954284,-.3123343347),new f(-.120167831,.4017266681,.1633259825),new f(-.02160084693,-.06885389554,.4441762538),new f(.2597670064,.3096300784,.1978643903),new f(-.1611553854,-.09823036005,.4085091653),new f(-.3278896792,.1461670309,.2713366126),new f(.2822734956,.03754421121,-.3484423997),new f(.03169341113,.347405252,-.2842624114),new f(.2202613604,-.3460788041,-.1849713341),new f(.2933396046,.3031973659,.1565989581),new f(-.3194922995,.2453752201,-.200538455),new f(-.3441586045,-.1698856132,-.2349334659),new f(.2703645948,-.3574277231,.04060059933),new f(.2298568861,.3744156221,.0973588921),new f(.09326603877,-.3170108894,.3054595587),new f(-.1116165319,-.2985018719,.3177080142),new f(.2172907365,-.3460005203,-.1885958001),new f(.1991339479,.3820341668,-.1299829458),new f(-.0541918155,-.2103145071,.39412061),new f(.08871336998,.2012117383,.3926114802),new f(.2787673278,.3505404674,.04370535101),new f(-.322166438,.3067213525,.06804996813),new f(-.4277366384,.132066775,.04582286686),new f(.240131882,-.1612516055,.344723946),new f(.1448607981,-.2387819045,.3528435224),new f(-.3837065682,-.2206398454,.08116235683),new f(-.4382627882,-.09082753406,-.04664855374),new f(-.37728353,.05445141085,.2391488697),new f(.1259579313,.348394558,.2554522098),new f(-.1406285511,-.270877371,-.3306796947),new f(-.1580694418,.4162931958,-.06491553533),new f(.2477612106,-.2927867412,-.2353514536),new f(.2916132853,.3312535401,.08793624968),new f(.07365265219,-.1666159848,.411478311),new f(-.26126526,-.2422237692,.2748965434),new f(-.3721862032,.252790166,.008634938242),new f(-.3691191571,-.255281188,.03290232422),new f(.2278441737,-.3358364886,.1944244981),new f(.363398169,-.2310190248,.1306597909),new f(-.304231482,-.2698452035,.1926830856),new f(-.3199312232,.316332536,-.008816977938),new f(.2874852279,.1642275508,-.304764754),new f(-.1451096801,.3277541114,-.2720669462),new f(.3220090754,.0511344108,.3101538769),new f(-.1247400865,-.04333605335,-.4301882115),new f(-.2829555867,-.3056190617,-.1703910946),new f(.1069384374,.3491024667,-.2630430352),new f(-.1420661144,-.3055376754,-.2982682484),new f(-.250548338,.3156466809,-.2002316239),new f(.3265787872,.1871229129,.2466400438),new f(.07646097258,-.3026690852,.324106687),new f(.3451771584,.2757120714,-.0856480183),new f(.298137964,.2852657134,.179547284),new f(.2812250376,.3466716415,.05684409612),new f(.4390345476,-.09790429955,-.01278335452),new f(.2148373234,.1850172527,.3494474791),new f(.2595421179,-.07946825393,.3589187731),new f(.3182823114,-.307355516,-.08203022006),new f(-.4089859285,-.04647718411,.1818526372),new f(-.2826749061,.07417482322,.3421885344),new f(.3483864637,.225442246,-.1740766085),new f(-.3226415069,-.1420585388,-.2796816575),new f(.4330734858,-.118868561,-.02859407492),new f(-.08717822568,-.3909896417,-.2050050172),new f(-.2149678299,.3939973956,-.03247898316),new f(-.2687330705,.322686276,-.1617284888),new f(.2105665099,-.1961317136,-.3459683451),new f(.4361845915,-.1105517485,.004616608544),new f(.05333333359,-.313639498,-.3182543336),new f(-.05986216652,.1361029153,-.4247264031),new f(.3664988455,.2550543014,-.05590974511),new f(-.2341015558,-.182405731,.3382670703),new f(-.04730947785,-.4222150243,-.1483114513),new f(-.2391566239,-.2577696514,-.2808182972),new f(-.1242081035,.4256953395,-.07652336246),new f(.2614832715,-.3650179274,.02980623099),new f(-.2728794681,-.3499628774,.07458404908),new f(.007892900508,-.1672771315,.4176793787),new f(-.01730330376,.2978486637,-.3368779738),new f(.2054835762,-.3252600376,-.2334146693),new f(-.3231994983,.1564282844,-.2712420987),new f(-.2669545963,.2599343665,-.2523278991),new f(-.05554372779,.3170813944,-.3144428146),new f(-.2083935713,-.310922837,-.2497981362),new f(.06989323478,-.3156141536,.3130537363),new f(.3847566193,-.1605309138,-.1693876312),new f(-.3026215288,-.3001537679,-.1443188342),new f(.3450735512,.08611519592,.2756962409),new f(.1814473292,-.2788782453,-.3029914042),new f(-.03855010448,.09795110726,.4375151083),new f(.3533670318,.2665752752,.08105160988),new f(-.007945601311,.140359426,-.4274764309),new f(.4063099273,-.1491768253,-.1231199324),new f(-.2016773589,.008816271194,-.4021797064),new f(-.07527055435,-.425643481,-.1251477955))}function S(n){return n>=0?c(n):c(n)-1|0}function z(n,t){for(var i=0,e=w(t),r=0,s=e.length;r l?(r=1,s=0):(r=0,s=1);var f=a-r+.21132486540518713,c=l-s+.21132486540518713,v=a-1+.42264973081037427,w=l-1+.42264973081037427;return 50*(((_=.5-a*a-l*l)<0?0:(_*=_)*_*q(n,o,h,a,l))+((_=.5-f*f-c*c)<0?0:(_*=_)*_*q(n,o+r|0,h+s|0,f,c))+((_=.5-v*v-w*w)<0?0:(_*=_)*_*q(n,o+1|0,h+1|0,v,w)))}function L(n,t,i,e){var r,s,_,u,o,h,a=(t+i+e)/3,l=S(t+a),f=S(i+a),c=S(e+a),v=((l+f|0)+c|0)/6,w=t-(l-v),d=i-(f-v),$=e-(c-v);w>=d?d>=$?(r=1,s=0,_=0,u=1,o=1,h=0):w>=$?(r=1,s=0,_=0,u=1,o=0,h=1):(r=0,s=0,_=1,u=1,o=0,h=1):d<$?(r=0,s=0,_=1,u=0,o=1,h=1):w<$?(r=0,s=1,_=0,u=0,o=1,h=1):(r=0,s=1,_=0,u=1,o=1,h=0);var g=w-r+1/6,k=d-s+1/6,m=$-_+1/6,p=w-u+1/3,b=d-o+1/3,x=$-h+1/3,y=w+-.5,q=d+-.5,C=$+-.5,z=.6-w*w-d*d-$*$,E=.6-g*g-k*k-m*m,A=.6-p*p-b*b-x*x,R=.6-y*y-q*q-C*C;return 32*((z<0?0:(z*=z)*z*j(n,l,f,c,w,d,$))+(E<0?0:(E*=E)*E*j(n,l+r|0,f+s|0,c+_|0,g,k,m))+(A<0?0:(A*=A)*A*j(n,l+u|0,f+o|0,c+h|0,p,b,x))+(R<0?0:(R*=R)*R*j(n,l+1|0,f+1|0,c+1|0,y,q,C)))}function I(n){var t=n,i=t,e=h(a(t)>>>16|0),r=t=h(a(i)^a(e)),s=h(2146121005),_=t=h(o(a(r),a(s))),u=h(a(t)>>>15|0),l=t=h(a(_)^a(u)),f=h(-2073254261),c=t=h(o(a(l),a(f))),v=h(a(t)>>>16|0);return h(a(c)^a(v))}return t.$_$.b1,g(E,"Random"),y(A,"RandomState"),$(E).h1j=function(n,t){return R(z(0,this.g1j_1),n,t)},$(A).toString=function(){return"RandomState(seed="+this.i1j_1+", rng="+k(this.j1j_1)+")"},$(A).hashCode=function(){var n=m(this.i1j_1);return o(n,31)+p(this.j1j_1)|0},$(A).equals=function(n){if(this===n)return!0;if(!(n instanceof A))return!1;var t=n instanceof A?n:b();return this.i1j_1===t.i1j_1&&!!x(this.j1j_1,t.j1j_1)},n.$_$=n.$_$||{},n.$_$.a=function(){return null==_&&new E,_},n})?e.apply(t,r):e)||(n.exports=s)},486:(n,t,i)=>{var e,r,s;r=[t,i(36),i(989),i(560)],void 0===(s="function"==typeof(e=function(n,t,i,e){"use strict";var r=t.$_$.c,s=i.$_$.a,_=t.$_$.f3,u=t.$_$.z3,o=t.$_$.p,h=(t.$_$.b1,t.$_$.g),a=t.$_$.f,l=i.$_$.c,f=i.$_$.d,c=e.$_$.t;function v(n,t,i,e){for(var r=n.length,s=0,_=new Float64Array(r);s0)){y=!1;break n}}y=!0}if(!y)throw o(u("Failed requirement."));var z,E,A,R,L,I,T=new Float64Array(e),N=t?0:1;if(N >31)|0],D=M%e|0,F=D+(e&((D^e)&(D|-D))>>31)|0;T[M]=(z=O,E=m[F],A=void 0,R=void 0,L=void 0,I=void 0,A=z.yh(),R=E.yh(),L=A.im(R),I=A.jm(R),Math.atan2(L,I))}while(N >31)|0,un=(rn-1|0)%e|0,on=un+(e&((un^e)&(un|-un))>>31)|0;P[rn]=1/q[on],K[rn]=(2*q[on]+2*q[rn])/(q[on]*q[rn]),X[rn]=1/q[rn],tn[rn]=-(2*T[rn]*q[rn]+T[_n]*q[on])/(q[on]*q[rn])}while(en {\nreturn ",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"import org.openrndr.application\nimport org.openrndr.color.ColorRGBa\nimport org.openrndr.extra.noise.Random\nimport org.openrndr.extra.shapes.hobbycurve.hobbyCurve\nimport org.openrndr.math.Polar\n\nfun main() = application {\n program {\n console.log(\"Kotlin says OPENRNDR program started\")\n\n extend {\n drawer.clear(ColorRGBa.PINK)\n\n drawer.fill = null\n drawer.circle(drawer.bounds.center, 250.0)\n\n drawer.fill = ColorRGBa.WHITE\n\n // Create a List of points centered in the window.\n // Use polar coordinates. The radius is animated using simplex noise.\n val points = List(12) {\n val angle = it * 30.0\n val radius = 200.0 + Random.simplex(it * 0.1, it * 1.7 + seconds * 0.2) * 100.0\n drawer.bounds.center + Polar(angle, radius).cartesian\n }\n // Construct and draw a closed Hobby curve with the points.\n drawer.contour(hobbyCurve(points, true))\n }\n }\n}\n",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// startup\n// Load entry module and return exports\n// This entry module used 'module' so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(395);\n"],"names":["root","factory","exports","module","define","amd","globalThis","log","LN2","a","b","value","O","len","relativeStart","k","end","relativeEnd","finalValue","TypedArray","compareFunction","ia","x","asUint","searchString","position"," ","element","elements","initialCapacity","loadFactor","destination","item","separator","prefix","postfix","limit","truncated","transform","buffer","count","iterator","single","to","minimumValue","maximumValue","n","other","name","ordinal","low","high","interfaces","maxSize","masks","i","currentSize","imask","iid","iidImask","numberIndex","intArray","numberWithSettledBit","activeBit","capacity","result","mask","array","initValue","size","$array","obj","index","code","startIndex","endIndex","it","hash","descriptor","proto","o","obj1","obj2","typeOf","shiftNumber","MASK","bigNumber","hashCode","signum","chunk","hashCodeMap","symbol","cachedHashCode","str","instance","constructorFunction","constructor","this_","message","cause","errorInfo","v","thisNeg","otherNeg","a48","a32","a16","a00","b48","b32","b16","c48","c32","c16","c00","b00","numBits","radix","radixLong","div","rem","digitsPerTime","radixToPower","remDiv","digits","twoPwr32","kind","defaultConstructor","associatedObjectKey","associatedObjects","suspendArity","ctor","parent","metadata","start","endInclusive","iface","possibleActiveBit","parentProto","propName","fromIndex","toIndex","collection","expectedSize","pair","pairs","key","source","destinationOffset","rangeSize","subrange"," ","newSize","defaultValue","ArrayList_init_$Init$","rangeCheck","internalMap","HashMap_init_$Init$","original","backing","$entryIterator","backingMap","map","HashSet_init_$Init$","computeHashSize","computeShift","hashSize","checkForComodification","InternalHashMap_init_$Init$"," "," ","registerModification","ensureExtraCapacity","shouldCompact","extraCapacity","spareCapacity","gaps","ensureCapacity","minCapacity","src","dst","srcLen","dstLen","arr","newHashSize","allocateValuesArray","curValuesArray","newValuesArray","compact","updateHashArray","j","valuesArray","rehash","putRehash","probesLeft","findKey","addKey","tentativeMaxProbeDistance","probeDistance","putIndex","removeEntryAt","removeHashAt","removedHash","hole","patchAttemptsLeft","putEntry","entry","oldValue","keysArray","presenceArray","hashArray","maxProbeDistance","length","LinkedHashMap_init_$Init$","LinkedHashSet_init_$Init$","outputStream","isNode","resultContinuation","$completion$1","Exception_init_$Init$","UnsupportedOperationException_init_$Init$","RuntimeException_init_$Init$","NoSuchElementException_init_$Init$","ConcurrentModificationException_init_$Init$","NullPointerException_init_$Init$","NoWhenBranchMatchedException_init_$Init$","ClassCastException_init_$Init$","jClass","givenSimpleName","isInstanceFunction","jClasses","kClass","StringBuilder_init_$Init$","content","uppercase","char","ch","diff","needle","bottom","top","middle","ignoreCase","n1","n2","min","thisChar","otherChar","thisOffset","otherOffset","indent","qualifier","shortInfo","hasSeen","exception","stack","stackStart","dropCommonFrames","commonFrames","lastBreak","preLastBreak","pos","c","messageLines","suppressed","suppressedIndent","toString","implFindEntry","ArrayDeque_init_$Init$","copyElements","newCapacity","newElements","positiveMod","negativeMod","incremented","decremented","nullifyNonEmpty","internalFromIndex","internalToIndex","values","isVarargs","default","iteratorFactory","sequence","transformer","type","mod","seed","seed1","seed2","y","z","w","addend","first","last","step","thisUpper","otherUpper","$indent","line","range","string","calcNext","match","input","getNextMatch","indices","initializer","second","that","IllegalArgumentException_init_$Init$","IllegalStateException_init_$Init$","Error_init_$Init$","IndexOutOfBoundsException_init_$Init$","ArithmeticException_init_$Init$","UninitializedPropertyAccessException_init_$Init$","approx","res","approxDouble","approx2","log2","delta","approxRes","approxRem","bitCount","l","modified","iter","insertionRangeCheck","offset","increaseLength","amount","previous","from","sb","putAllEntries","updated","contentEquals","messageString","s","current","currentResult","currentException","outcome","completion","intercepted","arity","$arity","equals","oldCapacity","e","otherIterator","ourValue","internalLastIndex","internalIndex","decrementedInternalIndex","decrementedHead","tail","copyCollectionElements","oldElement","dest","collectionSize","removeRangeShiftPreceding","copyFromIndex","copyToIndex","copyCount","segmentLength","newHead","removeRangeShiftSucceeding","t","v0","rangeStart","rangeEnd","_delimiterLength","_delimiterStartIndex","idx","lastIndex","firstIndex","m","data","list","midPoint","reverseIndex","tmp","next","selectors","$selectors","fn","getter","setter","paramCount","superType","delimiters","delimiter","currentOffset","nextIndex","isLimited","$delimitersList","$ignoreCase","$this$DelimitedRangesSequence","currentIndex","strings","missingDelimiterValue","isNegative","firstChar","limitForMaxRadix","limitBeforeMul","digit","newIndent","lines","minCommonIndent","marginPrefix","firstNonWhitespaceIndex","msg","mode","levelInt","levelStr","createThrowableMsg","throwable","includePrefix","level","marker","loggerName","eventBuilder","payload","func","loggingEvent","block","formattedMessage","found","$message","$this$at","serialName","typeParameters","builder","sdBuilder"," ","receiver","elementsCount","elementDesc","elementDescriptor","elementSerializer","$serialName","createUnmarkedDescriptor","d"," ","$elementsCount","$name","typeParams","elementDescriptors","accumulator","namesHash","kindHash"," ","generatedSerializer","error","elementsHashCode","isOptional","buildIndices","$this$application","$this$program","$completion","$this$extend","angle","radius","Polar","points","hobbyCurve","console","application","Animatable_init_$Init$","dt","timeInNs","updatePropertyAnimations","toRemove","triggers","drawer","program","modifiers","rotation","dragDisplacement","button","origin","assetMetadata","programName","assetBaseName","assetProperties"," ","extension","path","ext","$userDraw","suspend","focused","files","$init"," ","stage","userDraw","functionExtension","init","build","r","g","alpha","linearity","certainty","hex","geometry","drawStyle","$this$vertexFormat","model","view","projection","width","height","contentScale","modelViewScalingFactor","clip","fill","stroke","lineCap","lineJoin","strokeWeight","smooth","miterLimit","quality","depthTestPass","depthWrite","blendMode","cullTestPass","channelWriteMask","alphaToCoverage","shadeStyle","fontMap","kerning","textSetting","stencil","frontStencil","backStencil","colorMatrix","red","green","blue","stencilFailOperation","depthFailOperation","depthPassOperation","stencilTestMask","stencilTestReference","stencilWriteMask","stencilTest"," ","driver","structDefinitions","uniforms","attributes","buffers","vertexTransform","geometryTransform","fragmentTransform","vertexPreamble","geometryPreamble","fragmentPreamble","outputs","varyingOut","varyingIn","varyingBridge","suppressDefaultOutput","tokens","vertexFormat","vertexCount","session","componentCount","sizeInBytes","floatTypeFromDimensions","dimensions","attribute","arraySize","ShaderGenerators$circleVertexShader$ref","ShaderGenerators$circleVertexShader$ref$lambda","ShaderGenerators$circleFragmentShader$ref","ShaderGenerators$circleFragmentShader$ref$lambda","pa","pb","pc","pd","ta","tb","tc","td","maxRenderTargetSamples","maxTextureSamples","maxTextureSize","chooseBevel","bevel","p0","p1","x0","y0","x1","y1","fb","bufferStart","calculateJoins","iw","nleft","p1ptr","dlx0","dly0","dlx1","dly1","dmr2","scale","vertices","ShaderGenerators$expansionVertexShader$ref","ShaderGenerators$expansionVertexShader$ref$lambda","ShaderGenerators$expansionFragmentShader$ref","ShaderGenerators$expansionFragmentShader$ref$lambda","vertexBuffer","vertexOffset","minX","minY","maxX","maxY","ShaderGenerators$fontImageMapVertexShader$ref","ShaderGenerators$fontImageMapVertexShader$ref$lambda","ShaderGenerators$fontImageMapFragmentShader$ref","ShaderGenerators$fontImageMapFragmentShader$ref$lambda","ShaderGenerators$imageVertexShader$ref","ShaderGenerators$imageVertexShader$ref$lambda","ShaderGenerators$imageFragmentShader$ref","ShaderGenerators$imageFragmentShader$ref$lambda","ShaderGenerators$imageArrayTextureVertexShader$ref","ShaderGenerators$imageArrayTextureVertexShader$ref$lambda","ShaderGenerators$imageArrayTextureFragmentShader$ref","ShaderGenerators$imageArrayTextureFragmentShader$ref$lambda","ShaderGenerators$meshLineVertexShader$ref","ShaderGenerators$meshLineVertexShader$ref$lambda","ShaderGenerators$meshLineFragmentShader$ref","ShaderGenerators$meshLineFragmentShader$ref$lambda","ShaderGenerators$fastLineVertexShader$ref","ShaderGenerators$fastLineVertexShader$ref$lambda","ShaderGenerators$fastLineFragmentShader$ref","ShaderGenerators$fastLineFragmentShader$ref$lambda","ShaderGenerators$pointVertexShader$ref","ShaderGenerators$pointVertexShader$ref$lambda","ShaderGenerators$pointFragmentShader$ref","ShaderGenerators$pointFragmentShader$ref$lambda","ShaderGenerators$rectangleVertexShader$ref","ShaderGenerators$rectangleVertexShader$ref$lambda","ShaderGenerators$rectangleFragmentShader$ref","ShaderGenerators$rectangleFragmentShader$ref$lambda","ShaderGenerators$vertexBufferVertexShader$ref","ShaderGenerators$vertexBufferVertexShader$ref$lambda","ShaderGenerators$vertexBufferFragmentShader$ref","ShaderGenerators$vertexBufferFragmentShader$ref$lambda","f","shader","answer","contextBlock","normalMatrix","styleBlock","testReference","writeMask","onStencilTestFail","onDepthTestFail","onDepthTestPass","left","right","near","far","color","contour","distanceTolerance","fringeWidth","apc","ap","ac","vsGenerator","tscGenerator","tseGenerator","gsGenerator","fsGenerator","style","vertexFormats","instanceFormats","format","vsCode","tcsCode","tesCode","gsCode","fsCode","sum","drawContext","batch","weight","circleBatch","instanceAttributes","instanceAttributeFormats","lw","rw","lu","ru","lx0","ly0","lx1","ly1","rx0","ry0","rx1","ry1","ncap","a0","a1","rx","ry","p","dx","dy","aa","px","py","dly","ax","ay","u","segments","corners","closed","sp","drop","contours","distanceSquared","capSteps","arc","tol","cverts","expansion","v1","woff","generateFringe","fringe","commands","fringeScale","localStyle","fs","minElem","minValue","maxElem","maxValue","command","quad","vertexSize","expansions","convex","loops","strips","fw","effectiveFringeWidth","fillExpansions","screenPosition","contourPosition","boundsPosition","boundsSize","offsetInBytes","tcsGenerator","tesGenerator","elementOffset","elementCount","bufferDefinition","deps","Event$deliver$lambda","$e","postpone","copy","listener","subtokens","sampler","colorFormat","colorType","access","layout","$shadeStyle","$vertexFormats","$instanceAttributeFormats","cacheEntry","structValues","set","bufferIndex","arraySpec","flag","forceSet","valueFunction","outputInstanceFormats","structure","shadeStructure","targetName","readFileOrBlobAsDataUrl","file","$file","resolve","$resolve","$reader","reader","getModifiers","images","configuration","elementSize","test","op","floats","vertexBuffers","instanceAttributeBuffers","instancedArrays","standardDerivatives","halfFloatTextures","floatTextures","colorBufferHalfFloat","colorBufferFloat","halfFloatTexturesLinear","floatTexturesLinear","drawBuffers","depthTexture","setupFormat","scalarVectorTypes","attribute0Used","this$0","$shader","divisor","attributeBindings","attributeIndex","glType","column","context","shaderObject","framebuffer","multisample","activeUniforms","contextAttributes","dpr","resizeDpr","newWidth","newHeight","lastDragPosition","down","$down","$lastDragPosition","dims","text","vertexShader","fragmentShader","drawPrimitive","verticesPerPatch","shaderVertexDescription","localVao","vao","instanceOffset","instanceCount","target","activeUniformCount","activeUniform","uniform","blockName","floatValues","mf","shaderStorageBuffer","counterBuffer","image","imageBinding","offsetBytes","floatCount","offsetFloats","tMin","tMax","unsafeTs","tCount","ts","p2","noInflections","p3","bx","by","curves","bounds","isRing","split","hi","mt","ad","bd","det","epsilon","mt2","t2","h","a2","s1","s2","acc","tolerance","$tolerance","expand","D","discriminant","E","cd","q","R","Q","writeIdx","readIdx","trim","exp","max","exponent","cs","signedArea","lastIdx","c0r0","c1r0","c2r0","c0r1","c1r1","c2r1","c0r2","c1r2","c2r2","c3r0","c3r1","c3r2","c0r3","c1r3","c2r3","c3r3","c4r0","c4r1","c4r2","c4r3","c0r4","c1r4","c2r4","c3r4","c4r4","theta","n00","n01","n02","n03","n10","n11","n12","n13","n20","n21","n22","n23","n30","n31","n32","n33","mat","polar","dz","dw","zNear","zFar","corner","control","polarity","sample","vt1","vt2","vt3","vt4","x2","x3","x4","vt12","vt23","vt34","vt123","vt234","vt1234","d2","d3","dl","da1","da2","d1","da","usePoints","adaptivePoints","segment","samples","lastSampleIndex","segmentCount","segmentIndex","c0","c1","xd","yd","zd","stringToInt","newSeed","rng","simplex$ref$lambda","i1","j1","y2","k1","i2","j2","k2","z0","z1","z2","y3","z3","lt","cc","dd","den","sa","ca","cb","s5","curl","chords","distances","gamma","beta","Td","Tu","factor","c1s","c2s","v2","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__"],"sourceRoot":""} \ No newline at end of file