0x20ec68ba…9635sent to0x096451f4…6ee3·#18,849,680·0x20592446…e5e7f5
crashblossom_gold_main_v1.2ath.abs(e),_-r-e<fe&&(e=_-r-fe),Re(h,e=Math.min(e,m)),r+=e):0<e&&(e=Math.abs(e),Fe(h,e=_+l+e>ue?ue-(_+l):e,"plate"),l+=e)}}if("tier_sends"==e){var g=t,y=document.querySelectorAll("g.cluster:not(.special_no_add)"),b=y.length;let r=0,l=0;var S=document.querySelectorAll("path.cluster:not(.special_no_add)").length;for(let t=0;t<b;t++){var v=y[t],A=v.querySelectorAll(".svg").length,L=A-parseInt(v.getAttribute("initial_number_of_shapes"));let e=g*me-L;e<0?(e=Math.abs(e),S-r-e<de&&(e=S-r-de),Re(v,e=Math.min(e,A)),r+=e):0<e&&(e=Math.abs(e),Fe(v,e=S+l+e>pe?pe-(S+l):e,"cluster"),l+=e)}}if("tier_approvals"==e){let e=-3==t?1.9:-2==t?1.5:-1==t?1.25:1==t?.75:2==t?.5:3==t?.3:0;var w=e;for(let e of document.querySelectorAll("linearGradient")){var N=e.querySelectorAll(".animation");for(let r=0;r<N.length;r++){let e=N[r].getAttribute("dur"),t=(e=Number.parseFloat(e.slice(0,e.length-1)),parseFloat(N[r].getAttribute("original_duration")));var q=0==w?t:Math.round(t*w);q=Math.max(10,q),e!=q&&(N[r].old_dur=e,N[r].new_dur=q,N[r].onrepeat=function(){this.setAttribute("begin",this.getCurrentTime()),this.setAttribute("dur",this.new_dur+"s"),this.onrepeat=void 0})}}await 0}"remove_flip_layer"==e&&T("flip")}async function Qe(e,t,r){try{var l,a,n=document.querySelector(".frame"),i=document.querySelector("#background"),o=n.cloneNode(!0),s=(o.classList.add(t),i.cloneNode(!0)),c=(s.classList.add(r),o.setAttribute("fill","url(#gradient_bg_mirror_read_and_black)"),s.setAttribute("fill","url(#gradient_bg_read_and_black)"),document.querySelector("#gradient_bg_mirror")),f=document.querySelector("#gradient_bg"),u=c.cloneNode(!0),d=f.cloneNode(!0),p=(u.setAttribute("id","gradient_bg_mirror_read_and_black"),d.setAttribute("id","gradient_bg_read_and_black"),Array.from(e));for(l of u.querySelectorAll("stop")){var _=l.querySelector("animate");_.setAttribute("values",p.pop()),_.setAttribute("dur","20s")}for(a of d.querySelectorAll("stop")){var h=a.querySelector("animate");h.setAttribute("values",p.pop()),h.setAttribute("dur","30s")}c.after(u),f.after(d),o.setAttribute("opacity","0"),o.animate([{opacity:"1"}],{duration:5e3,iterations:1,fill:"forwards"}),n.after(o),s.setAttribute("opacity","0"),s.animate([{opacity:"1"}],{duration:5e3,iterations:1,fill:"forwards"}),i.after(s)}catch(e){}}async function M(e,t){let r=document.querySelector("."+e);document.querySelector("#gradient_bg_mirror");r.setAttribute("opacity","1");let l=r.animate([{opacity:"0"}],{duration:5e3,iterations:1,fill:"forwards"}),a=(l.onfinish=function(){r.remove()},document.querySelector("."+t));a.setAttribute("opacity","1"),(l=a.animate([{opacity:"0"}],{duration:5e3,iterations:1,fill:"forwards"})).onfinish=function(){a.remove()},await new Promise(e=>setTimeout(e,6e3))}function Ge(t,r,l){for(let e of q)e.type==t&&(null==e.original_change_positions_chance&&(e.original_change_positions_chance=e.change_positions_chance),e.change_positions_chance=r,setTimeout(()=>{e.change_positions_chance=e=e.original_change_positions_chance},l))}async function Re(r,e){let l=F(r.querySelectorAll("svg"));for(let t=0;t<e;t++){let e=q.filter(e=>e.id==r.id.split("-")[1])[0];null==(e=null==e?S.filter(e=>e.id==r.id.split("-")[1])[0]:e).svg_prototype&&(e.svg_prototype=l[t]),l[t].classList.contains("removing")||(l[t].animate([{opacity:"0"}],{duration:5e3,iterations:1,fill:"forwards"}).onfinish=e=>{l[t].remove()}),l[t].classList.add("removing")}}async function Fe(r,t,l){for(let e=0;e<t;e++)if("cluster"==l){let t=R(r.querySelectorAll(".svg.cluster"));if(null==t){let e=q.filter(e=>e.id==r.id.split("-")[1])[0];null==e&&(e=S.filter(e=>e.id==r.id.split("-")[1])[0]),t=e.svg_prototype}var a=t.cloneNode(!0);try{o=(r.classList.contains("special")?S.filter(e=>r.classList.contains(e.id)):q.filter(e=>r.classList.contains(e.id)))[0],a.querySelector("path").setAttribute("d",R(o.paths))}catch(e){}var n=He(R(C),o.number_of_visible_shapes,G(o.clustering_density[0],o.clustering_density[1]),.5,[3,6],o.clustering_density),n=R(n),i=n[0],n=n[1],i=(a.setAttribute("x",i+"%"),a.setAttribute("y",n+"%"),a.classList.add("animating"),a.animate([{opacity:"0"},{opacity:"1"}],{duration:se,iterations:1,fill:"forwards"}));r.appendChild(a),i.onfinish=function(){a.classList.remove("animating")}}else if("plate"==l){let t=r.querySelector("svg");if(null==t){let e=q.filter(e=>e.id==r.id.split("-")[1])[0];null==e&&(e=S.filter(e=>e.id==r.id.split("-")[1])[0]),t=e.svg_prototype}let e=t.cloneNode(!0);try{var o;o=(r.classList.contains("special")?S.filter(e=>r.classList.contains(e.id)):q.filter(e=>r.classList.contains(e.id)))[0],e.querySelector("path").setAttribute("d",R(o.paths))}catch(e){}var n=G(_e[0],_e[1],.1),i=e.querySelector("path"),s=G(o.scale[0],o.scale[1],.1),s=(i.setAttribute("transform",`scale(${s*n}, ${s*n})`),parseFloat(e.getAttribute("x").split("%")[0])+G(-20,20)),c=parseFloat(e.getAttribute("y").split("%")[0])+G(-20,20);s*=he,c*=he,e.setAttribute("x",s+"%"),e.setAttribute("y",c+"%"),e.classList.add("animating"),e.classList.add("dynamic_add"),r.appendChild(e),e.animate([{opacity:"0"},{opacity:"1"}],{duration:se,iterations:1,fill:"forwards"}).onfinish=function(){e.classList.remove("animating")}}}function T(e){var t;for(t of document.querySelectorAll("g."+e)){let e=t.animate([{opacity:1},{opacity:0}],{duration:5e3,iterations:1,fill:"forwards"});e.layer=t,e.onfinish=t=>{q=q.filter(e=>e.id!=t.target.layer.id),e.layer.remove()}}}async function O(t=.5,r=5,l=2,a=!1){var n=document.querySelectorAll(".group.layer"),n=Array.from(n).filter(e=>!e.classList.contains("special")),i=document.querySelector("#main-svg");let o=0;for(let e=2;e<n.length&&!(o>=l);e+=2)z()>1-t&&(_([n[e],n[e+1]],r,e=>{e[0].insertBefore(e[2],e[3]),e[0].insertBefore(e[1],e[2])},[i,n[e],n[e+1],n[0]]),o+=1,a)&&await new Promise(e=>setTimeout(e,1e3*G(3,6)));setTimeout(function(){var r=[],l=document.querySelectorAll(".group.layer");for(let t=0;t<l.length;t++)for(let e=0;e<q.length;e++)if(l[t].getAttribute("class").includes(q[e].id)){r.push(q[e]);break}q=r},2*r*1e3)}async function Je(r=5,t="both",l=4,a=!1,n=!1){for(let e=0;e<q.length;e++){var i=q[e];if(!("both"!=t&t!=i.type)){var o=k.querySelector(".group."+i.id);if(null==o)i.delete=!0;else{var s,c,f,u=o.querySelectorAll("svg");"cluster"==i.type&&F(s=He(R(C),i.number_of_visible_shapes,G(i.clustering_density[0],i.clustering_density[1]),.5,[3,6],i.clustering_density));let t=0;for(let e=0;e<u.length&&!(t>=l);e++)if((!!a||z()>1-i.change_positions_chance)&!u[e].classList.contains("animating")){for(u[e].classList.add("animating"),f="cluster"==i.type?(c=s[e][0],s[e][1]):(c=G(i.coordinates[0][0],i.coordinates[0][1])/i.current_scale,G(i.coordinates[1][0],i.coordinates[1][1])/i.current_scale),Math.abs(i.current_x-c)<10&&(c=i.current_x+G(10,20)),Math.abs(i.current_y-f)<10&&(f=i.current_y+G(10,20)),i.current_x=c,i.current_y=f;;)if(R(i.paths)!=i.current_path){i.current_path=R(i.paths);break}_([u[e]],r,e=>{e[0].setAttributeNS(null,"x",e[1]+"%"),e[0].setAttributeNS(null,"y",e[2]+"%"),e[0].querySelector("path").setAttributeNS(null,"d",e[3])},[u[e],c,f,i.current_path]),n&&await new Promise(e=>setTimeout(e,1e3*Q(2,8))),t++}}}}q=q.filter(e=>1!=e.delete)}async function _(t,e,r,l,a=0){t=t.filter(e=>null!=e),0!=a&&await new Promise(e=>setTimeout(e,a));let n={duration:1e3*e,iterations:1,fill:"forwards"};for(let e=0;e<t.length;e++)t[e].animate({opacity:"0"},n);setTimeout(function(){r(l);for(let e=0;e<t.length;e++)t[e].animate({opacity:"1"},n),t[e].classList.remove("animating")},1e3*e)}function B(t,e="top"){var r,l=document.querySelector("#main-svg").querySelector("#defs"),a=R(S.filter(e=>-1!=e.classes.indexOf(t))),n=R(a.color_combinations_list),i=`g-${a.id}-`+a.type,o=G(a.color_duration[0],a.color_duration[1]),s=Ke(a.gradient_coordinates,i),c=(a.current_scale=G(a.scale[0],a.scale[1],.01),s.setAttributeNS(null,"class",`gradient ${a.type} `+a.id),D(0,n[0])),f=D(1,n[1]),u=I(n[0],o),n=I(n[1],o),d=(c.appendChild(u),f.appendChild(n),s.appendChild(c),s.appendChild(f),l.appendChild(s),document.createElementNS(L,"g"));d.setAttributeNS(null,"id",`g-${a.id}-`+a.type),d.setAttributeNS(null,"class",`layer group ${a.type} `+a.id),"cluster"==a.type&&(r=He(R(C),a.number_of_visible_shapes,G(a.clustering_density[0],a.clustering_density[1]),.5,[3,6],a.clustering_density));for(let t=0;t<a.number_of_visible_shapes;t++){var p,_,h=`p-${a.id}-${a.type}-`+t,m=`s-${a.id}-${a.type}-`+t;let e=1;"plate"==a.type?(p=Q(a.coordinates[0][0],a.coordinates[0][1])/a.current_scale,_=Q(a.coordinates[1][0],a.coordinates[1][1])/a.current_scale,a.current_x=p,a.current_y=_,a.current_path=R(a.paths,$e)):(p=r[t][0],_=r[t][1],a.current_x=p,a.current_y=_,a.current_path=R(a.paths,$e),w.length&&(e=G(w[0],w[1],.01)));var g,y=document.createElementNS(L,"path"),b=(y.setAttributeNS(null,"transform",`scale(${a.current_scale*e}, ${a.current_scale*e})`),y.setAttributeNS(null,"d",a.current_path),y.setAttributeNS(null,"fill",`url(#${i})`),y.setAttributeNS(null,"id",h),y.setAttributeNS(null,"class",`layer path ${a.type} ${a.id} special`),document.createElementNS(L,"svg"));b.setAttributeNS(null,"x",p+"%"),b.setAttributeNS(null,"y",_+"%"),b.setAttributeNS(null,"transform-origin","center"),b.setAttributeNS(null,"id",m),b.setAttributeNS(null,"class",`layer svg ${a.type} ${a.id} special`);for(g of a.classes)b.classList.add(g),d.classList.add(g);b.appendChild(y),d.appendChild(b)}d.setAttribute("initial_number_of_shapes",a.number_of_visible_shapes),d.animate([{opacity:"0"},{opacity:"1"}],{duration:ce,iterations:1,fill:"forwards"}),"top"==e?(o=document.querySelectorAll(".group"))[o.length-1].after(d):document.querySelector(".group").before(d)}function D(e,t){var r=document.createElementNS(L,"stop");return r.setAttributeNS(null,"offset",e),r.setAttributeNS(null,"stop-color",t),r}function I(e,t){var r=document.createElementNS(L,"animate");return r.setAttributeNS(null,"attributeName","stop-color"),r.setAttributeNS(null,"values",e),r.setAttributeNS(null,"dur",t+"s"),r.setAttributeNS(null,"repeatCount","indefinite"),r.setAttributeNS(null,"class","animation"),r.setAttributeNS(null,"original_duration",t),r}function Ke(e,t){var r=document.createElementNS(L,"linearGradient");return r.setAttributeNS(null,"id",t),r.setAttributeNS(null,"x1",e[0]+"%"),r.setAttributeNS(null,"x2",e[2]+"%"),r.setAttributeNS(null,"y1",e[1]+"%"),r.setAttributeNS(null,"y2",e[3]+"%"),r}function z(){var e=1e4*Math.sin(g++);return e-Math.floor(e)}function s(){return(y+=h)%100/100}function Xe(){return(y=(1664525*y+h)%89652912)%101}function Q(e,t,r=!0){return e=Math.ceil(e),t=Math.floor(t),r?Math.floor(z()*(t+1-e)+e):Math.floor(s()*(t+1-e)+e)}function G(e,t,r=1,l=3,a=!0){a=a?z()*(t+r-e)+e:s()*(t+r-e)+e;return t=(t=l)||0,Math.floor(a*Math.pow(10,t))/Math.pow(10,t)}function R(e,t=!0){return e[Q(0,e.length-1,t)]}function F(e,t=!0){let r=e.length,l;for(;0!=r;)l=t?Math.floor(z()*r):Math.floor(s()*r),r--,[e[r],e[l]]=[e[l],e[r]];return e}function He(e,t,r=0,l=0,a=[3,8],n=[1,3],i=0,o=[-200,300]){var s,c,f,u,d,p,_,h,m,g,y;if(0==e&&(c=A(45,95,40,10,r+10,t+1),f=A(30,55,40,20,r+20,t+1),u=A(40,0,40,30,r+30,t+1)),1==e&&(c=A(60,0,90,30,r+40,t+1),f=A(20,40,20,40,r+20,t+1),u=A(40,70,100,50,r+30,t+1)),5==e&&(u=A(10,5,5,10,r+10,t+1),c=A(20,10,1,50,r+50,t+1),f=A(30,30,-5,20,r+20,t+1)),3==e&&(u=A(90,0,160,0,r+20,t+1),f=A(50,50,160,0,r+30,t+1),c=A(10,70,160,0,r+40,t+1)),6==e&&(c=A(50,50,10,10,r+30,t+1),f=A(50,20,20,10,r+5,t+1),u=A(50,50,30,10,r+10,t+1)),2==e&&(c=A(0,10,20,10,r+5,t+1),f=A(80,40,10,20,r+10,t+1),u=A(90,30,40,30,r+30,t+1)),4==e){for(s=[],_=t/100,v=0;v<t;v++)d=b=v/_,d+=G(-(p=v|b&d)%10,p%10)+Math.sin(b)*p%30,p+=G(-v%10,v%10),s.push({x:d%110,y:p%110});u=f=c=s}7==e&&(c=A(95,30,-40,13,r+10,2*t),f=A(90,40,-35,20,r+20,t+1),u=A(80,50,-30,30,r+30,t+1)),8==e&&(c=A(60,50,-10,10,r+10,t+1),f=A(70,50,10,20,r+20,t+1),u=A(80,50,20,30,r+30,t+1)),9==e&&(c=A(5,40,.1,2,r+30,t+1),f=A(40,50,.3,2,r+10,t+1),u=A(60,45,.3,2,r+40,t+1)),10==e&&(c=A(3,10,-5,20,r+10,t+1),f=A(10,80,-10,20,r+20,t+1),u=A(80,20,-20,10,r+30,t+1)),11==e&&(c=A(15,10,-5,30,r+40,t+1),f=A(50,80,-10,26,r+30,t+1),u=A(80,40,-10,15,r+20,t+1)),h=[],s=(s=(s=c.filter(e=>0<e.x&e.x<100&0<e.y&e.y<101)).concat(f.filter(e=>0<e.x&e.x<100&0<e.y&e.y<101))).concat(u.filter(e=>0<e.x&e.x<100&0<e.y&e.y<101));for(let e=0;e<t;e++)h.push(R(s));if(0<l)for(m=!1,v=y=g=0;v<h.length;v++)m?(v<y&&(h[v].x=h[g].x+G(-_,_),h[v].y=h[g].y+G(-_,_)),y<v&&(m=!1)):z()>l&&(m=!0,y=(g=v)+Q(a),_=G(n[0],n[1]));for(var S=[],v=0;v<h.length;v++)h[v].x<o[0]|h[v].x>o[1]&&(h[v].x=G(0,100,3)),h[v].y<o[0]|h[v].y>o[1]&&(h[v].y=G(0,100,3)),0<i&&z()>1-i&&(h[v].x=G(0,100,3),h[v].y=G(0,100,3)),S.push([h[v].x,h[v].y]);return S}function A(t,r,e,l,a,n){var i=Math.tan(e),o=Math.cos(e)*l,s=Math.sin(e)*l,c=[];for(let e=0;e<n;e++){var f=(z()-.5)*a,u=(z()-.5)*a,f=t+o+f;c.push({x:f,y:r+i*(f-t)+s+u})}return c}function f(e){try{return paths[e].slice(1,paths[e].length-1)}catch{e=R(Object.keys(paths));return paths[e].slice(1,paths[e].length-1)}}function Ue(e){var r=["LS - range","LS - splash","LS - plane","LS - streetlight","LS - glass","LS - left","LS - right","LS - map","LS - fracture","LS - liquid","LS - mosaic","LS - cumulus","S - recall fragment","LS - pointer","LS - cliff","LS - hill","LS - city","LS - sign","S - ship","LS - plus","S - recall flock","S - bug","LS - honeycomb","L - ice large","LS - path","S - footprint small","LS - planet","LS - logo","LS - multiplier","S - fragment","LS - stratus","S - flock","LS - river","S - candle","L - girder","L - elevation","L - urban","L - plan","L - floor","L - ruin","L - corridor","L - wall ","L - pie chart","L - house","L - pod","L - ceiling","L - window displaced","L - modern","L - blueprint","L - road","L - bell curve","L - beam thick","L - perspective","L - flame","L - window pane","L - window poly","L - window frame","L - frame","L - future","L - body","L - beam medium","L - head","L - rural","L - beam thin","L - ripple","L - brain","L - flame high","L - foothill","L - mnemonic","L - jet","L - mountain","L - rockies","L - fingerprint","L - haze","L - skeleton","L - skyline","L - comic","L - ribbon","L - wave","L - footprint large","S - ice small"],l=[11,34,35,2,37,38,39,40,41,43,14,23,36,3,42],a=[2,4,4,4,4,4,4,4,4,4,6,11,15,15,15],n=[0,7,2,6,5,1,3,4],i=[2,7,10,10,12,14,20,25],o=[0,54,44,45,46,48,5,53,6,7,4,51,52,47,10,50,13,1,49],s=[2,2,4,4,4,4,4,4,4,4,5,5,5,7,7,7,8,10,10],f=[12,8,14,9,15,11,16,13,10],u=[2,4,4,10,10,15,15,18,22],d=[59,8,55,56,57,9,58,60,15,62,63,16,64,66,19,26,22,61,65],p=[2,4,4,4,4,4,4,4,4,4,4,4,4,4,10,10,10,10,10],_=[20,22,18,21,17,24,80,25,19],h=[2,4,5,5,8,10,15,25,26],m=[70,30,67,32,17,71,72,24,77,78,69,73,75,74,27,76,79,68,28],g=[2,2,4,4,4,4,4,4,4,4,5,5,5,6,7,7,7,10,12],y=[30,29,31,32,27,28,26,33],b=[2,10,10,10,12,16,20,20],S=[6,71,5,7,8,67,17,0,59,24,52,9,64,75,78,15,32,45,1,62,70,69,11,49,4,22,16,73,65,27,76,74,61,68,3,10,13,19,26,28,30,58],v=[6,6,7,7,7,7,7,8,8,9,10,10,10,10,10,11,11,12,12,12,12,13,15,15,15,15,15,15,16,16,16,17,18,18,20,20,20,20,20,20,20,25],A=[21,18,14,2,7,0,5,6,8,9,15,17,24,27,32,1,4,11,16,22,3,10,13,19,26,28,30,31,29,33],L=[3,4,5,7,7,8,10,10,10,10,10,10,10,10,10,12,15,15,15,15,20,20,20,20,20,20,20,20,25,27],t=[1,8,16,4,2,3],w=[5,5,5,10,20,50],N=["rhodium","palladium","vegas","platinum","ipanema","malibu","venicebeach","cannes","maldives","dusk","sunset","mist","southbeach","night","ibiza","dawn","goldenhour"],q=[3,4,4,5,5,5,5,5,6,7,7,8,10,12,20,30,40];if("number_of_colors"==e){for(let e=0;e<300;e++)for(let e=0;e<t.length;e++)if(Xe()>100-w[e])return t[e];return 2}if("layer_paths"==e){var k=[],x=["regular","hodl","milestone"];for(let t=0;t<x.length;t++)for(let e=0;e<8;e++){"regular"==x[t]?0==e?(C=l,M=a):1==e?(C=n,M=i):2==e?(C=o,M=s):3==e?(C=f,M=u):4==e?(C=d,M=p):5==e?(C=_,M=h):6==e?(C=m,M=g):7==e&&(C=y,M=b):"hodl"==x[t]?(C=S,M=v):"milestone"==x[t]&&(C=A,M=L);for(var C,M,T=300;0<T;)for(let e=0;e<M.length;e++){T--;var $=Xe(),E=r[C[e]];if($>100-M[e]&&!k.includes(E)){T=0;break}}k.push(E)}return k}if("color_names"==e){var j=[];for(let e=0;e<re;e++){let t=300;for(;0<t;){t--;for(let e=0;e<q.length;e++)if(c=N[e],Xe()>100-q[e]&&!j.includes(c)){t=0;break}}j.push(c)}return j}}function We(t,r,l){if(l<=t[0])return r[0];if(l>=t[t.length-1])return r[r.length-1];for(let e=0;e<r.length-1;e++)if(l>=t[e]&l<t[e+1])return r[e]}function Ve(e){return null!=e&&e==e}function Ye(e,t,r=!0){e*={years:31536e3,months:2592e3,hours:3600,minutes:60}[t];return r?Math.round(e):e}function Ze(e,t,r){return(t-e)/Ye(1,r,!1)}function et(e,t){var r=function(t){let r=0;for(let e=1;e<t.length;e++)r+=Math.abs(t[e]-t[e-1]);return r/(t.length-1)}(t),e=(e-t[t.length-1])/r-1;return null===e||isNaN(e)?0:e}window.onkeydown=function(e){71===e.keyCode?(d=document.querySelector("#main-svg")).insertAdjacentHTML("afterend",`<div id="prompt-container" class="prompt-container"><p>Change node URL:</p><input id="prompt" class="prompt" value="${N}"/></div>`):13===e.keyCode&&(p=document.getElementById("prompt"),N=p.value,(pc=document.getElementById("prompt-container")).remove())};let tt=void 0;async function rt(){try{var i=await fetch(N,{method:"POST",body:JSON.stringify({method:"eth_call",params:[{to:J,data:K},"latest"],id:2,jsonrpc:"2.0"})})}catch{return e=(e=0==e.length?Array.from(W):e).filter(e=>e!=N),void(N=1==e.length?e[0]:R(e.slice(0,-1)))}i=await i.json();if(null==i.error){(i=te(Z(i.result),[1,200,1,200,1,400,400,1]))[0];let e=i[1];i[2];let l=i[3];var o=i[4];let r=ee(i[5]),t=ee(i[6]);V=i[7][0];(i=te(Z((await(await fetch(N,{method:"POST",body:JSON.stringify({method:"eth_call",params:[{to:J,data:function(e){{if("string"==typeof e)return e=/^0x/i.test(e)?e:"0x"+e;if("number"==typeof e)return"0x"+e.toString(16);throw new Error("Unsupported value type: "+typeof e)}}(X+function(e){let t=e.toString(16);return 0<(e=64-t.length)&&(e="0".repeat(e),t=e+t),t}(H))},"latest"],id:2,jsonrpc:"2.0"})})).json()).result),[1,200,1,1,1,1]))[0][0];let a=i[1];var s,c,f,u,d,p=i[2][0],_=(i[3][0],i[4][0]),i=i[5][0],h=(new Date).getTime()/1e3;r=r.filter(e=>0!=e[0]),t=t.filter(e=>0!=e[0]),l=l.filter(e=>0!=e),e=e.filter(e=>0!=e),a=a.filter(e=>0!=e);for(s of l);for(c of e);for(f of r);for(u of t);for(d of a);r.sort((e,t)=>e[0]-t[0]),t.sort((e,t)=>e[0]-t[0]);r.map(e=>e[1]),t.map(e=>e[1]);l.sort(),e.sort(),a.sort();let n=[];for(let t of r){var m=l.filter(e=>e==t[0]).length;if(m<=1)n.push(t);else{var g=t[1]/m;for(let e=0;e<m;e++)n.push([t[0],g])}}for(let r of t){let t=l.filter(e=>e<r[0]).slice(-1)[0];var y=l.filter(e=>e==t).length;if(y<=1)n.push(r);else{var b=r[1]/y;for(let e=0;e<y;e++)n.push([r[0],b])}}n.sort((e,t)=>e[0]-t[0]),n=n.map(e=>e[1]);var S,v,A=[],L=[];for(S of r){A.push(S[0]);for(let e=a.length-1;0<=e;e--)if(a[e]==S[0]){L.push(a[e]);break}}for(v of t)for(let t=l.length-1;0<=t;t--)if(l[t]<v[0]){A.push(l[t]),a.includes(l[t])&&l.filter(e=>e==l[t]).length<=1&&L.push(l[t]);break}var w=Array.from(L);return tt=[h,l,e,A,n,o,a,w,_,p,i]}e=(e=0==e.length?Array.from(W):e).filter(e=>e!=N),N=1==e.length?e[0]:R(e.slice(0,-1))}async function lt(g){if(null!=(g=tt)){var y=g[0];let e=g[1],t=g[2],r=g[3],l=g[4];var b=g[5];let a=g[6],n=g[7];var S=g[8],g=(g[9],g[10]),v=Ye(3,"months");e=[...new Set(e)],t=[...new Set(t)],r=[...new Set(r)],a=[...new Set(a)],e.sort(),t.sort(),r.sort(),a.sort(),e=null==e?[]:e,t=null==t?[]:t,r=null==r?[]:r,a=null==a?[]:a,n=null==n?[]:n,l=null==l?[]:l,e=e.filter(e=>0!=e).slice(-5),t=t.filter(e=>0!=e).slice(-5),r=r.filter(e=>0!=e).slice(-5),5<(a=a.filter(e=>0!=e)).length&&(a=a.slice(-5)),10<(n=n.filter(e=>0!=e)).length&&(n=n.slice(-10)),l=l.filter(e=>0!=e).slice(-5);let i=Array.from(t),o=Array.from(r),s=Array.from(e),c=Array.from(l);e.length<=1&&(s=[$].concat(e)),a.length<=1&&(a=[$].concat(a)),t.length<=1&&(i=[$].concat(t)),r.length<=1&&(o=[$].concat(r)),l.length<=1&&(c=[5e17*U].concat(l));var A=et(y,1<e.length?e:s),L=et(y,1<t.length?t:i),w=et(y,1<r.length?r:o);let f=0;1<c.length&&(f=c[c.length-1]/(c.slice(0,-1).reduce((e,t)=>e+t)/(c.length-1))-1);var N=et(y,e.concat(i).sort().slice(-5));let u=Ze(r[r.length-1],y,"minutes")<10,d=Ze(e[e.length-1],y,"minutes")<10,p=Ze(t[t.length-1],y,"minutes")<10;var b=.51<=b/V,q=!b;let _=-1,h=0;for(let e=0;e<Y.length;e++){var k=y-Y[e];0<k&&(_=e),(0<k&&k<86400||0<k&&e==Y.length-1)&&(h=Y[e]+86400)}S=S-1;let m=Array.from(n);var x,C,M,T,v=1<(m=n.length<2?[$].concat(n):m).length&&y-m[m.length-1]<v&&m[m.length-1]-m[m.length-2]<v;for(x of e);for(C of t);for(M of r);for(T of l);b&&document.querySelectorAll("g,.frame")[0].classList.contains("layer")&&await P("high_holder_distribution"),q&&document.querySelectorAll("g,.frame")[0].classList.contains("layer")&&await P("low_holder_distribution"),-1<_&&(y>h?(await P("contract_milestone_no_celebration",_),await P("stop_contract_milestone")):await P("contract_milestone",_)),S!=j&&(j=S),v?await P("flipped_x_times"):await P("remove_flip_layer"),g>document.querySelectorAll(".hodl").length&&P("time_hodld",g),Ve(A)&&(b=ze(w,We(E.royalty[0],E.royalty[1],f)),q=ze(A,We(E.contract_activity[0],E.contract_activity[1],-1*N)),S=ze(A,We(E.clustering_mode[0],E.clustering_mode[1],-1*A)),v=ze(L,We(E.approvals[0],E.approvals[1],-1*L)),await P("tier_royalty",b),await P("tier_contract_activity",q),await P("tier_sends",S),await P("tier_approvals",v)),u&&d&&(r[r.length-1]<e[e.length-1]?u=!1:d=!1),d&&p&&(t[t.length-1]<e[e.length-1]?p=!1:d=!1),u&&p&&(r[r.length-1]<t[t.length-1]?u=!1:p=!1),u?await P("sale"):await P("stop_sale"),d?await P("send"):await P("stop_send"),p?await P("approval"):await P("stop_approval")}}