0xa9041d25…b5d3sent to0x32d4be5e…f436·#16,614,594·view on Etherscan
t r=st(t);r.length>1&&e.push(r)})),e}function Mt(t,e,r){let n=0;for(let o=0;o<e.length;o++){let[i,u]=e[o];tt(u,i)&&(t[u][i]=r,n+=1)}}function At(t,e,r){let n,o;n=[],o=null;for(let i=0;i<t.length;i++){let u=t[i];if(e(u)){null===o||r(o,u)?n.push([u]):n[n.length-1].push(u);let t=n[n.length-1];o=t[t.length-1]}}return[n,Et(n)]}function Rt(t,e,r){let n=[];for(let o=0;o<r[0];o++)for(let i=0;i<r[1];i++)t[o][i]!==e&&n.push([i,o]);return n}function It(t){let e=ot();ut(e,re(["clipper","blob_c"]));let r=re(["clipper","bg_c"]);return t.forEach((t=>pt(t).forEach((t=>e[t[1]][t[0]]=r)))),e}function Ct(t,e,r){let n=[],[o,i]=re(["clipper","shape"]);for(let u=1;u<o-1;u++)for(let r=0;r<i;r++)[[u,r],[u-1,r],[u,r-1],[u+1,r],[u,r+1]].every((r=>Ft(t,r[0],r[1],e)))&&n.push([u,r]);n.forEach((e=>t[e[0]][e[1]]=r));for(let u=0;u<n.length;u++){let[e,o]=n[u];t[e][o]=r}return n}function Ft(t,e,r,n){return!!tt(e,r)&&t[e][r]===n}function Tt(t){let e,r,n,o,i;e=re(["clipper","blob_c"]),r=re(["clipper","bg_c"]),Ct(t,e,r),n=gt(t,r,e),o=[],i=[];for(let u=0;u<n.length;u++){let t=n[u];Z(t);let e=pt(t);e.length>re(["clipper","min_border_px_ct"])&&(o.push(t),i.push(e))}return[o,i]}function Bt(t,r,n,o){let i=re(["clipper","bg_c"]);Mt(t,r,re(["clipper","blob_c"]));let u=vt(n,t);return e()>re(["texture",...o,"avoid_cleaning"])&&Mt(t,r,i),u}function Ot(t,e,r,n,o,i,l,s,a){let c,h=C(t);if(c=i?H(h,r,n,o):j(h,u(r),n,o),l){let t=[g(["texture",...s,"curve","rot"]),g(["texture",...s,"curve","rot"]),g(["texture",...s,"curve","dist"]),g(["texture",...s,"curve","dist"])];c=c.map((e=>G(e,...t)))}else if(a){let t=g(["texture",...s,"dash_rg"]),e=[t,t+g(["texture",...s,"dash_gap_rg"])],r=[];c.map((t=>V(t,e,re(["texture",...s,"dash_gap_rg"])))).map((t=>t.forEach((t=>r.push(t))))),c=r}return c=c.map((t=>Z(t))),Bt(e,t,c,s)}function Pt(t,e){Object.keys(e).map((r=>t.style[r]=e[r]))}function St(t,e){Object.keys(e).map((r=>t.setAttribute(r,e[r])))}function Lt(){Pt(re(["holder","mat_container"]),{width:`${re(["graphics","w"])}px`,height:`${re(["graphics","h"])}px`}),Pt(re(["holder","canvas_container"]),{height:`${window.innerHeight}px`})}function Nt(){let t,e,r,n,o,i,u,l,s,a,c,h,p,_,f,g;t=window.innerWidth,e=window.innerHeight,r=re("w"),n=re("h"),o=r/t,i=n/e,u=o>i?o:i,l=Math.round(r/u),s=Math.round(n/u),pe({w:l,h:s},["graphics"]),a=re(["render","render_factor"]),c=a*window.devicePixelRatio,h=l*c,p=s*c,_=1/u*window.devicePixelRatio,oe(["render","point_factor_ratio"],_),f=re(["holder","canvas"]),St(f,{width:h,height:p,viewBox:`0 0 ${h} ${p}`}),f.style["max-width"]="100%",f.style["max-height"]="100%",g=re(["render","gl"]),g&&zt()}function $t(){let t=document.createElement("div");Pt(t,{display:"flex","align-items":"center","align-content":"center","justify-content":"center",width:"100%",height:`${window.innerHeight}px`,margin:"0px",padding:"0px"});let e=document.createElement("div");return pe({canvas_container:t,mat_container:e},["holder"]),Pt(e,{width:`${re(["g","w"])}px`,height:`${re(["g","h"])}px`,display:"flex","flex-direction":"row","align-items":"center","align-content":"center","justify-content":"center","flex-wrap":"nowrap"}),t.appendChild(e),[t,e]}function Ut(){Pt(document.body,{width:"100%",height:"100%",margin:"0",padding:"0","overflow-y":"hidden","overflow-x":"hidden","-ms-overflow-style":"none","scrollbar-width":"none","image-rendering":"high-quality"});let t=document.createElement("canvas");oe(["holder","canvas"],t),Nt();let[e,r]=$t();r.appendChild(t),document.body.appendChild(e),Nt(),Lt()}function Dt(t,e,r){const n=t.createShader(e);return t.shaderSource(n,r),t.compileShader(n),n}function jt(t,e){let r=re(["render","gl"]);const n=r.createProgram();return r.attachShader(n,Dt(r,r.VERTEX_SHADER,t)),r.attachShader(n,Dt(r,r.FRAGMENT_SHADER,e)),r.linkProgram(n),n}function Ht(t,e,r){const n=t.createBuffer();t.bindBuffer(t.ARRAY_BUFFER,n),t.bufferData(t.ARRAY_BUFFER,new Float32Array(e),t.STATIC_DRAW);const o=t.createBuffer();return t.bindBuffer(t.ARRAY_BUFFER,o),t.bufferData(t.ARRAY_BUFFER,new Float32Array(r.flat()),t.STATIC_DRAW),{position:n,color:o}}function Vt(t,e,r){{const n=2,o=e.FLOAT,i=!1,u=0,l=0;e.bindBuffer(e.ARRAY_BUFFER,t.position),e.vertexAttribPointer(r.attribLocations.vertexPosition,n,o,i,u,l),e.enableVertexAttribArray(r.attribLocations.vertexPosition)}{const n=4,o=e.FLOAT,i=!1,u=0,l=0;e.bindBuffer(e.ARRAY_BUFFER,t.color),e.vertexAttribPointer(r.attribLocations.vertexColor,n,o,i,u,l),e.enableVertexAttribArray(r.attribLocations.vertexColor)}}function Yt(t,e){e.bindBuffer(e.ARRAY_BUFFER,t.color),e.bindBuffer(e.ARRAY_BUFFER,t.position)}function qt(t,e,r){Yt(t,r),r.drawArrays(r.LINES,0,e)}function Gt(){let t=re(["render","gl"]);t.enable(t.BLEND);let[e,r,n,o]=re(["default","b","m"]);t.blendFuncSeparate(t[e],t[r],t[n],t[o])}function zt(){let t=""+re(["render","point_factor_ratio"])*re(["render","dot_size"]);t=t.includes(".")?t.slice(0,t.indexOf(".")+2):t+".0";let e=`\nattribute vec4 aVertexPosition;\nattribute vec4 aVertexColor;\nvarying lowp vec4 vColor;\n\nvoid main() {\ngl_Position = aVertexPosition;\nvColor = aVertexColor;\ngl_PointSize = ${t};\n}\n`,r="\nvarying lowp vec4 vColor;\n\nvoid main(void) {\ngl_FragColor=vColor;\n}\n",n=jt(e,r),o=re(["render","gl"]);o.viewport(0,0,o.canvas.width,o.canvas.height),pe({vs:e,fs:r,programInfo:{program:n,attribLocations:{vertexPosition:o.getAttribLocation(n,"aVertexPosition"),vertexColor:o.getAttribLocation(n,"aVertexColor")}}},["render"]),Gt()}function Wt(t){let e=re("w")/2,r=re("h")/2;return[(t[0]-e)/e,-(t[1]-r)/r]}function Xt(t){let e,r,n;for(e=[],r=0,n=t.length-1-r;r+1<n&&n-1!==r+1;){let o=[r,r+1,n].map((e=>t[e])),i=[n,n-1,r+1].map((e=>t[e]));et(...o)||e.push(o),et(...i)||e.push(i),r+=1,n-=1}return e}function Jt(t,e,r){let n=Xt(t);for(let o=0;o<n.length;o++){let t=n[o].map((t=>Wt(t)));t.forEach((t=>t.forEach((t=>r.wgl.push(t))))),t.forEach((()=>r.rgba.push(e)))}}function Kt(){let t=re(["output","collection","points"]),e=re(["output","color","full_rgbas"]);for(let r=0;r<t.raw.length;r++){let n=Wt(t.raw[r]),o=e[t.cid[r]];t.wgl.push(n[0]),t.wgl.push(n[1]),t.rgba.push(o)}}function Qt(){let t=re(["output","collection","polygons"]),e=re(["output","color","full_rgbas"]);for(let r=0;r<t.raw.length;r++){Jt(t.raw[r],e[t.cid[r]],t)}}let Zt=1400,te=1e3;function ee(t,e){let r=e;if("string"==typeof t)return e[t];for(let o=0;o<t.length;o++)try{r=r[t[o]]}catch(n){return undefined}return r}function re(t){return ee(t,window.SETTING)}function ne(t,e,r){let n=e;for(let o=0;o<t.length-1;o++)n=n[t[o]];n[t[t.length-1]]=r}function oe(t,e){return ne(t,window.SETTING,e)}function g(t){return u(re(t))}function d(t){return n(re(t))}function ie(t){let e=re(["output","static","mode"]),r=ee(t,re(["mode",e]));return r!==undefined?r:ee(t,re(["default"]))}function ue(t){return u(ie(t))}function le(t){return n(ie(t))}function se(t){let e=re(["output","color","loc_key"]),r=re(["output","geo","focus"]);return re(["lambda","color_spec"])[e].p([t],r)}function ae(t,e){let r=re(["output","color","loc_key"]),n=re(["output","geo","focus"]),o=re(["lambda","color_spec"])[r].s;return a(re(["lambda","color_spec"])[r].p(e,n),o,{min:t[0],max:t[1]})}function ce(t){return ae([0,1],t)}function he(t){let e=t.pop(),r=re(t);return r[e]+=1,r[e]}function pe(t,e){Object.keys(t).forEach((r=>oe([...e,r],t[r])))}function _e(t,e){let r={};return t.forEach((function(t){r[t]=re([...e,t])})),r}function fe(){return re(["color","rules",re(["output","static","c_rule"])])}function ge(t,e,r){let n=[],o=[],i=[],l={};for(const[s,a]of Object.entries(t)){if(!a)continue;let r=t[s].weight,n=Math.floor(u(r));o.push(s),i.push(n),l[s]=e[s].length}for(let s=0;s<r;s++){let t=f(o,i),r=[0,l[t]],s=Math.floor(u(r)),a=e[t][s];n.push([t,s,a])}return n.sort(((t,e)=>t[0]-e[0]||t[1]-e[1])),n}function de(t,e,r){r/=100;const n=e*Math.min(r,1-r)/100,o=e=>{const o=(e+t/30)%12,i=r-n*Math.max(Math.min(o-3,9-o,1),-1);return Math.round(255*i).toString(16).padStart(2,"0")};return`#${o(0)}${o(8)}${o(4)}`}function me(t){let e=parseInt(u(t.pick)),r=[];for(let n=0;n<e;n++){let e=[u(t.hue),u(t.saturation),u(t.lightness)];r.push(e)}return r}function be(t){let e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}function we(t){return be(t).map((t=>t/255))}function ye(t){let e=we(t);return e.push(1),e}function ke(t,e){let r=re([...e,`${t}_base_var`]),n={min:u(r[0])};return n.max=n.min+u(r[1]),n}function xe(){let t=re(["color"]).rules[re(["output","static","c_rule"])],e=t.r;t.ct={},t.hsls={};let r=t.hsls;t.rgbas={};let o=t.rgbas;Object.keys(e).forEach(((n,i)=>{let u=me(e[n]);r[n]=u;let l=[];u.forEach((t=>l.push(ye(de(t[0],t[1],t[2]))))),o[n]=l,t.ct[n]=l.length}));oe(["output","color","loc_key"],"c"),oe(["lambda","scale"],(function(t){return a(t,re(["lambda","color_spec"]).c.s,{max:1,min:0})}));let i=[];oe(["output","color","full_rgbas"],i);let u=n(b(o[0].ct));pe({bg_rgba:o[0][u],bg_rgba_id:u},["output","color"]);let l={};oe(["output","color","rule_to_fr_id"],l),Object.keys(e).forEach((t=>{let e=o[t],r=i.length-1;l[t]=e.map((function(t,e){return i.push(t),r+e}))}))}function ve(t,e){let r=re(["lambda","hsl_checker"]);return t.map((function(t,n){return t+=g([...e,`${["h","s","l"][n]}_var`]),r[n](t)}))}function Ee(t,e){let r=ye(de(...t));return r[3]=u(e),r}function Me(t,e,r){let n={min:0,max:1},o=re(["lambda","hsl_checker"]);return t.map((function(t,i){if(!e[i])return t;return t+=a(r,n,e[i]),o[i](t)}))}function Ae(t,e,r){let n=ye(de(...t));return n[3]=a(r,{min:0,max:1},e),n}function Re(t,e){let r,n,o;r=re(["render","gl"]),n=re(["render","programInfo"]),o=Ht(r,t.wgl,t.rgba),Vt(o,r,n),Yt(o,r),r.drawArrays(r[e],0,t.wgl.length/2)}function Ie(){let t,e;t=re(["render","gl"]),e=re(["render","programInfo"]),t.useProgram(e.program);let r=re(["output","color","bg_rgba"]);t.clearColor(...r),t.clearDepth(1),t.clear(t.COLOR_BUFFER_BIT|t.DEPTH_BUFFER_BIT)}function Ce(){Ie(),Re(re(["output","collection","polygons"]),"TRIANGLES")}function Fe(){oe(["render","content_ready"],!0),zt(),Qt(),requestAnimationFrame(Er)}function Te(t){re(["output","color","full_rgbas"]).push([0,0,0,1]);let e=re(["output","color","full_rgbas"]).length-1;re(["output","color","full_rgbas"]).push([1,0,0,1]);let r=re(["clipper","shape"]),n=re(["clip