0x20ec68ba…9635sent to0x096451f4…6ee3·#17,515,545·view on Etherscan
crashblossom_gold_mainInt(b.getAttribute("initial_number_of_shapes"));let e=h*he-v;e<0?(e=Math.abs(e),y-r-e<ue&&(e=y-r-ue),Qe(b,e=Math.min(e,S)),r+=e):0<e&&(e=Math.abs(e),Ge(b,e=y+a+e>de?de-(y+a):e,"cluster"),a+=e)}}if("tier_sends"==e){var A,L=t;let e=C.neutral;if(0<L?e=C.increased:L<0&&(e=C.decreased),-1!=e.indexOf(T[0])&&(0==L||e[Math.abs(L)-1]==T[0]))return;A=0==L?F(e):e[Math.abs(L)-1],T=[A,A]}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&&B("flip")}async function Ie(e,t,r){try{var a,l,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(a of u.querySelectorAll("stop")){var _=a.querySelector("animate");_.setAttribute("values",p.pop()),_.setAttribute("dur","20s")}for(l of d.querySelectorAll("stop")){var h=l.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 P(e,t){let r=document.querySelector("."+e);document.querySelector("#gradient_bg_mirror");r.setAttribute("opacity","1");let a=r.animate([{opacity:"0"}],{duration:5e3,iterations:1,fill:"forwards"}),l=(a.onfinish=function(){r.remove()},document.querySelector("."+t));l.setAttribute("opacity","1"),(a=l.animate([{opacity:"0"}],{duration:5e3,iterations:1,fill:"forwards"})).onfinish=function(){l.remove()},await new Promise(e=>setTimeout(e,6e3))}function ze(t,r,a){for(let e of M)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},a))}async function Qe(r,e){let a=K(r.querySelectorAll("svg"));for(let t=0;t<e;t++){let e=M.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=a[t]),a[t].classList.contains("removing")||(a[t].animate([{opacity:"0"}],{duration:5e3,iterations:1,fill:"forwards"}).onfinish=e=>{a[t].remove()}),a[t].classList.add("removing")}}async function Ge(r,t,a){for(let e=0;e<t;e++)if("cluster"==a){let t=F(r.querySelectorAll(".svg.cluster"));if(null==t){let e=M.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 l=t.cloneNode(!0);try{o=(r.classList.contains("special")?S.filter(e=>r.classList.contains(e.id)):M.filter(e=>r.classList.contains(e.id)))[0],l.querySelector("path").setAttribute("d",F(o.paths))}catch(e){}var n=Ke(F(T),o.number_of_visible_shapes,R(o.clustering_density[0],o.clustering_density[1]),.5,[3,6],o.clustering_density),n=F(n),i=n[0],n=n[1],i=(l.setAttribute("x",i+"%"),l.setAttribute("y",n+"%"),l.classList.add("animating"),l.animate([{opacity:"0"},{opacity:"1"}],{duration:oe,iterations:1,fill:"forwards"}));r.appendChild(l),i.onfinish=function(){l.classList.remove("animating")}}else if("plate"==a){let t=r.querySelector("svg");if(null==t){let e=M.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)):M.filter(e=>r.classList.contains(e.id)))[0],e.querySelector("path").setAttribute("d",F(o.paths))}catch(e){}var n=R(pe[0],pe[1],.1),i=e.querySelector("path"),s=R(o.scale[0],o.scale[1],.1),s=(i.setAttribute("transform",`scale(${s*n}, ${s*n})`),parseFloat(e.getAttribute("x").split("%")[0])+R(-20,20)),c=parseFloat(e.getAttribute("y").split("%")[0])+R(-20,20);s*=_e,c*=_e,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:oe,iterations:1,fill:"forwards"}).onfinish=function(){e.classList.remove("animating")}}}function B(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=>{M=M.filter(e=>e.id!=t.target.layer.id),e.layer.remove()}}}async function D(t=.5,r=5,a=2,l=!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>=a);e+=2)G()>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,l)&&await new Promise(e=>setTimeout(e,1e3*R(3,6)));setTimeout(function(){var r=[],a=document.querySelectorAll(".group.layer");for(let t=0;t<a.length;t++)for(let e=0;e<M.length;e++)if(a[t].getAttribute("class").includes(M[e].id)){r.push(M[e]);break}M=r},2*r*1e3)}async function Je(r=5,t="both",a=4,l=!1,n=!1){for(let e=0;e<M.length;e++){var i=M[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&&K(s=Ke(F(T),i.number_of_visible_shapes,R(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>=a);e++)if((!!l||G()>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=R(i.coordinates[0][0],i.coordinates[0][1])/i.current_scale,R(i.coordinates[1][0],i.coordinates[1][1])/i.current_scale),Math.abs(i.current_x-c)<10&&(c=i.current_x+R(10,20)),Math.abs(i.current_y-f)<10&&(f=i.current_y+R(10,20)),i.current_x=c,i.current_y=f;;)if(F(i.paths)!=i.current_path){i.current_path=F(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*J(2,8))),t++}}}}M=M.filter(e=>1!=e.delete)}async function _(t,e,r,a,l=0){t=t.filter(e=>null!=e),0!=l&&await new Promise(e=>setTimeout(e,l));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(a);for(let e=0;e<t.length;e++)t[e].animate({opacity:"1"},n),t[e].classList.remove("animating")},1e3*e)}function I(t,e="top"){var r,a=document.querySelector("#main-svg").querySelector("#defs"),l=F(S.filter(e=>-1!=e.classes.indexOf(t))),n=F(l.color_combinations_list).colors,i=`g-${l.id}-`+l.type,o=R(l.color_duration[0],l.color_duration[1]),s=Re(l.gradient_coordinates,i),c=(l.current_scale=R(l.scale[0],l.scale[1],.01),s.setAttributeNS(null,"class",`gradient ${l.type} `+l.id),z(0,n[0])),f=z(1,n[1]),u=Q(n[0],o),n=Q(n[1],o),d=(c.appendChild(u),f.appendChild(n),s.appendChild(c),s.appendChild(f),a.appendChild(s),document.createElementNS(N,"g"));d.setAttributeNS(null,"id",`g-${l.id}-`+l.type),d.setAttributeNS(null,"class",`layer group ${l.type} `+l.id),"cluster"==l.type&&(r=Ke(F(T),l.number_of_visible_shapes,R(l.clustering_density[0],l.clustering_density[1]),.5,[3,6],l.clustering_density));for(let t=0;t<l.number_of_visible_shapes;t++){var p,_,h=`p-${l.id}-${l.type}-`+t,m=`s-${l.id}-${l.type}-`+t;let e=1;"plate"==l.type?(p=J(l.coordinates[0][0],l.coordinates[0][1])/l.current_scale,_=J(l.coordinates[1][0],l.coordinates[1][1])/l.current_scale,l.current_x=p,l.current_y=_,l.current_path=F(l.paths,Me)):(p=r[t][0],_=r[t][1],l.current_x=p,l.current_y=_,l.current_path=F(l.paths,Me),x.length&&(e=R(x[0],x[1],.01)));var g,y=document.createElementNS(N,"path"),b=(y.setAttributeNS(null,"transform",`scale(${l.current_scale*e}, ${l.current_scale*e})`),y.setAttributeNS(null,"d",l.current_path),y.setAttributeNS(null,"fill",`url(#${i})`),y.setAttributeNS(null,"id",h),y.setAttributeNS(null,"class",`layer path ${l.type} ${l.id} special`),document.createElementNS(N,"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 ${l.type} ${l.id} special`);for(g of l.classes)b.classList.add(g),d.classList.add(g);b.appendChild(y),d.appendChild(b)}d.setAttribute("initial_number_of_shapes",l.number_of_visible_shapes),d.animate([{opacity:"0"},{opacity:"1"}],{duration:se,iterations:1,fill:"forwards"}),"top"==e?(o=document.querySelectorAll(".group"))[o.length-1].after(d):document.querySelector(".group").before(d)}function z(e,t){var r=document.createElementNS(N,"stop");return r.setAttributeNS(null,"offset",e),r.setAttributeNS(null,"stop-color",t),r}function Q(e,t){var r=document.createElementNS(N,"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 Re(e,t){var r=document.createElementNS(N,"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 G(){var e=1e4*Math.sin(m++);return e-Math.floor(e)}function o(){return(g+=f)%100/100}function Fe(){return(g=(1664525*g+f)%89652912)%101}function J(e,t,r=!0){return e=Math.ceil(e),t=Math.floor(t),r?Math.floor(G()*(t+1-e)+e):Math.floor(o()*(t+1-e)+e)}function R(e,t,r=1,a=3,l=!0){l=l?G()*(t+r-e)+e:o()*(t+r-e)+e;return t=(t=a)||0,Math.floor(l*Math.pow(10,t))/Math.pow(10,t)}function F(e,t=!0){return e[J(0,e.length-1,t)]}function K(e,t=!0){let r=e.length,a;for(;0!=r;)a=t?Math.floor(G()*r):Math.floor(o()*r),r--,[e[r],e[a]]=[e[a],e[r]];return e}function Ke(e,t,r=0,a=0,l=[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+=R(-(p=v|b&d)%10,p%10)+Math.sin(b)*p%30,p+=R(-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(F(s));if(0<a)for(m=!1,v=y=g=0;v<h.length;v++)m?(v<y&&(h[v].x=h[g].x+R(-_,_),h[v].y=h[g].y+R(-_,_)),y<v&&(m=!1)):G()>a&&(m=!0,y=(g=v)+J(l),_=R(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=R(0,100,3)),h[v].y<o[0]|h[v].y>o[1]&&(h[v].y=R(0,100,3)),0<i&&G()>1-i&&(h[v].x=R(0,100,3),h[v].y=R(0,100,3)),S.push([h[v].x,h[v].y]);return S}function A(t,r,e,a,l,n){var i=Math.tan(e),o=Math.cos(e)*a,s=Math.sin(e)*a,c=[];for(let e=0;e<n;e++){var f=(G()-.5)*l,u=(G()-.5)*l,f=t+o+f;c.push({x:f,y:r+i*(f-t)+s+u})}return c}function s(e){try{return paths[e].slice(1,paths[e].length-1)}catch{e=F(Object.keys(paths));return paths[e].slice(1,paths[e].length-1)}}function Xe(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"],a=[11,34,35,2,37,38,39,40,41,43,14,23,36,3,42],l=[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(Fe()>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=a,M=l):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 $=Fe(),E=r[C[e]];if($>100-M[e]&&!k.includes(E)){T=0;break}}k.push(E)}return k}if("color_names"==e){var O=[];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],Fe()>100-q[e]&&!O.includes(c)){t=0;break}}O.push(c)}return O}}function He(t,r,a){if(a<=t[0])return r[0];if(a>=t[t.length-1])return r[r.length-1];for(let e=0;e<r.length-1;e++)if(a>=t[e]&a<t[e+1])return r[e]}function Ue(e){return null!=e&&e==e}function We(e,t,r=!0){e*={years:31536e3,months:2592e3,hours:3600,minutes:60}[t];return r?Math.round(e):e}function Ve(e,t,r){return(t-e)/We(1,r,!1)}function Ye(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="${v}"/></div>`):13===e.keyCode&&(p=document.getElementById("prompt"),v=p.value,(pc=document.getElementById("prompt-container")).remove())};let Ze=void 0;async function et(){try{var i=await fetch(v,{method:"POST",body:JSON.stringify({method:"eth_call",params:[{to:L,data:w},"latest"],id:2,jsonrpc:"2.0"})})}catch{return e=(e=0==e.length?Array.from(W):e).filter(e=>e!=v),void(v=1==e.length?e[0]:F(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 r=i[3];var o=i[4];let t=ee(i[5]),a=ee(i[6]);V=i[7][0];(i=te(Z((await(await fetch(v,{method:"POST",body:JSON.stringify({method:"eth_call",params:[{to:L,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 l=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;t=t.filter(e=>0!=e[0]),a=a.filter(e=>0!=e[0]),r=r.filter(e=>0!=e),e=e.filter(e=>0!=e),l=l.filter(e=>0!=e);for(s of r);for(c of e);for(f of t);for(u of a);for(d of l);t.sort((e,t)=>e[0]-t[0]),a.sort((e,t)=>e[0]-t[0]);t.map(e=>e[1]),a.map(e=>e[1]);r.sort(),e.sort(),l.sort();let n=t.concat(a);n.sort((e,t)=>e[0]-t[0]),n=n.map(e=>e[1]);var m,g,y=[],b=[];for(m of t){y.push(m[0]);for(let e=l.length-1;0<=e;e--)if(l[e]==m[0]){b.push(l[e]);break}}for(g of a)for(let t=r.length-1;0<=t;t--)if(r[t]<g[0]){y.push(r[t]),l.includes(r[t])&&r.filter(e=>e==r[t]).length<=1&&b.push(r[t]);break}var S=Array.from(b);return Ze=[h,r,e,y,n,o,l,S,_,p,i]}e=(e=0==e.length?Array.from(W):e).filter(e=>e!=v),v=1==e.length?e[0]:F(e.slice(0,-1))}async function tt(g){if(null!=(g=Ze)){var y=g[0];let e=g[1],t=g[2],r=g[3],a=g[4];var b=g[5];let l=g[6],n=g[7];var S=g[8],g=(g[9],g[10]),v=We(3,"months");e=[...new Set(e)],t=[...new Set(t)],r=[...new Set(r)],l=[...new Set(l)],e.sort(),t.sort(),r.sort(),l.sort(),e=null==e?[]:e,t=null==t?[]:t,r=null==r?[]:r,l=null==l?[]:l,n=null==n?[]:n,a=null==a?[]:a,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<(l=l.filter(e=>0!=e)).length&&(l=l.slice(-5)),10<(n=n.filter(e=>0!=e)).length&&(n=n.slice(-10)),a=a.filter(e=>0!=e).slice(-5);let i=Array.from(t),o=Array.from(r),s=Array.from(e),c=Array.from(a);e.length<=1&&(s=[$].concat(e)),l.length<=1&&(l=[$].concat(l)),t.length<=1&&(i=[$].concat(t)),r.length<=1&&(o=[$].concat(r)),a.length<=1&&(c=[5e17*U].concat(a));var A=Ye(y,1<e.length?e:s),L=Ye(y,1<t.length?t:i),w=Ye(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=Ye(y,e.concat(i).sort().slice(-5));let u=Ve(r[r.length-1],y,"minutes")<10,d=Ve(e[e.length-1],y,"minutes")<10,p=Ve(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&&k<86400||0<k&&e==Y.length-1)&&(_=e,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 a);b&&document.querySelectorAll("g,.frame")[0].classList.contains("layer")&&await j("high_holder_distribution"),q&&document.querySelectorAll("g,.frame")[0].classList.contains("layer")&&await j("low_holder_distribution"),-1<_&&(y>h?(await j("contract_milestone_no_celebration",_),await j("stop_contract_milestone")):await j("contract_milestone",_)),S!=O&&(O=S),v?await j("flipped_x_times"):await j("remove_flip_layer"),g>document.querySelectorAll(".hodl").length&&j("time_hodld",g),Ue(A)&&(b=De(w,He(E.royalty[0],E.royalty[1],f)),q=De(A,He(E.contract_activity[0],E.contract_activity[1],-1*N)),S=De(A,He(E.clustering_mode[0],E.clustering_mode[1],-1*A)),v=De(L,He(E.approvals[0],E.approvals[1],-1*L)),await j("tier_royalty",b),await j("tier_contract_activity",q),await j("tier_sends",S),await j("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 j("sale"):await j("stop_sale"),d?await j("send"):await j("stop_send"),p?await j("approval"):await j("stop_approval")}}