0xadc1d4b5…6c2csent to0xbb5471c2…a250·#16,713,495·0x1859d59a…93f65f
window.onload=function(){0===tokenData.tokenId&&(tokenData.hash="0xb1c3e8a576cb5fd0fbf341c3d988fd81607a8fb0c02ae7ecb6d8767b17e11650");class Random{constructor(){this.useA=!1;let t=function(t){let $=parseInt(t.substr(0,8),16),e=parseInt(t.substr(8,8),16),r=parseInt(t.substr(16,8),16),_=parseInt(t.substr(24,8),16);return function(){r|=0;let t=(($|=0)+(e|=0)|0)+(_|=0)|0;return _=_+1|0,$=e^e>>>9,e=r+(r<<3)|0,r=(r=r<<21|r>>>11)+t|0,(t>>>0)/4294967296}};this.prngA=new t(tokenData.hash.substr(2,32)),this.prngB=new t(tokenData.hash.substr(34,32));for(let $=0;$<1e6;$+=2)this.prngA(),this.prngB()}random_dec(){return this.useA=!this.useA,this.useA?this.prngA():this.prngB()}random_num(t,$){return t+($-t)*this.random_dec()}random_int(t,$){return Math.floor(this.random_num(t,$+1))}}let R=new Random;var resolution,resolutionH,seed=parseInt(tokenData.hash.slice(0,16),16),w=window.innerWidth,h=window.innerHeight,dimDif=8.5/11,size=h,sizeW=h*dimDif;w<h*dimDif&&(size=w/dimDif,sizeW=w);var turbulence=R.random_int(0,300),bg=document.createElement("div");bg.style.width=sizeW+"px",bg.style.height=size+"px",bg.style.backgroundColor="#ffffff",bg.setAttribute("id","bg"),bg.style.padding="0px",bg.style.margin="auto",bg.style.display="block",bg.style.position="absolute",bg.style.top="0",bg.style.bottom="0",bg.style.left="0",bg.style.right="0",bg.style.overflow="hidden",document.body.appendChild(bg);var svg=document.createElementNS("http://www.w3.org/2000/svg","svg");svg.setAttribute("width",sizeW),svg.setAttribute("height",size),svg.setAttribute("id","svgPaper"),svg.style.padding="0px",svg.style.margin="auto",svg.style.display="block",svg.style.position="absolute",svg.style.top="0",svg.style.bottom="0",svg.style.left="0",svg.style.right="0",svg.style.overflow="hidden";var svg2=document.createElementNS("http://www.w3.org/2000/svg","svg");svg2.setAttribute("width",sizeW),svg2.setAttribute("height",size),svg2.setAttribute("id","svgPrint"),svg2.style.padding="0px",svg2.style.margin="auto",svg2.style.display="block",svg2.style.position="absolute",svg2.style.top="0",svg2.style.bottom="0",svg2.style.left="0",svg2.style.right="0",svg2.style.overflow="hidden";var rect=document.createElementNS("http://www.w3.org/2000/svg","rect");rect.setAttribute("width",sizeW),rect.setAttribute("height",size),rect.setAttribute("fill","#000000"),svg.appendChild(rect);var filter=document.createElementNS("http://www.w3.org/2000/svg","filter");filter.setAttribute("id","turbulence");var feTurbulence=document.createElementNS("http://www.w3.org/2000/svg","feTurbulence");feTurbulence.setAttribute("type","fractalNoise"),feTurbulence.setAttribute("baseFrequency",".5, .7"),feTurbulence.setAttribute("result","turbulence"),feTurbulence.setAttribute("seed",turbulence+""),filter.appendChild(feTurbulence);var feComposite=document.createElementNS("http://www.w3.org/2000/svg","feComposite");feComposite.setAttribute("in","SourceGraphic"),feComposite.setAttribute("in2","turbulence"),feComposite.setAttribute("operator","arithmetic"),feComposite.setAttribute("k1",".1"),feComposite.setAttribute("k2",".1"),feComposite.setAttribute("k3",".1"),feComposite.setAttribute("k4",".2"),filter.appendChild(feComposite),svg.appendChild(filter),rect.setAttribute("filter","url(#turbulence)"),document.body.appendChild(svg);var one=[[0,1,0,0,1,0],[1,1,1,1,1,0],[0,0,0,0,1,0],],two=[[0,1,0,0,1,0],[1,0,0,1,1,0],[1,0,1,0,1,0],[0,1,0,0,1,0],],three=[[1,0,0,0,1,0],[1,0,1,0,1,0],[1,0,1,0,1,0],[0,1,0,1,0,0],],four=[[0,0,1,1,0,0],[0,1,0,1,0,0],[1,1,1,1,1,0],[0,0,0,1,0,0],],five=[[1,1,1,0,1,0],[1,0,1,0,1,0],[1,0,1,0,1,0],[1,0,0,1,0,0],],six=[[0,1,1,1,0,0],[1,0,1,0,1,0],[1,0,1,0,1,0],[1,0,0,1,0,0],],seven=[[1,0,0,0,0,0],[1,0,0,1,1,0],[1,0,1,0,0,0],[1,1,0,0,0,0],],eight=[[0,1,0,1,0,0],[1,0,1,0,1,0],[1,0,1,0,1,0],[0,1,0,1,0,0],],nine=[[0,1,0,0,1,0],[1,0,1,0,1,0],[1,0,1,0,1,0],[0,1,1,1,0,0],],zero=[[0,1,1,1,0,0],[1,0,0,0,1,0],[1,0,0,0,1,0],[0,1,1,1,0,0],],gridCountWidth=384,gridCountHeight=Math.floor(gridCountWidth/dimDif),sectionW=R.random_int(1,5),sectionH=R.random_int(1,5),subW=R.random_int(1,3),subH=R.random_int(1,3),margin=1,sections=[],sectionCellW=Math.floor(gridCountWidth/sectionW-margin),sectionCellH=Math.floor(gridCountHeight/sectionH-margin);for(i=0;i<sectionW;i++)for(j=0,sections[i]=[];j<sectionH;j++)if(R.random_dec()>.75){var sectionCellWX=Math.floor(sectionCellW/subW-margin/2),sectionCellHX=Math.floor(sectionCellH/subH-margin/2);for(m=0,sections[i][j]=[];m<subW;m++)for(n=0,sections[i][j][m]=[];n<subH;n++)sections[i][j][m][n]=[i*sectionCellW+margin*i+margin/2+(m*sectionCellWX+margin*m),j*sectionCellH+margin*j+margin/2+(n*sectionCellHX+margin*n)]}else sections[i][j]=[margin/2+(i*sectionCellW+margin*i),margin/2+(j*sectionCellH+margin*j)];var timeStart=R.random_num(0,360),freqX=1,freqY=1,rr=R.random_dec(),bgLight=.6*R.random_dec()+.1,bgLightInt=R.random_dec()/10;R.random_dec()>.85&&(bgLight=0,bgLightInt=0);var doodleInt=R.random_num(0,20),rRadius=.9,rRadiusx=R.random_dec(),rRadiusBool=!1,time=0,factor=R.random_num(.6,2.8);0===bgLightInt&&(factor=R.random_num(.6,1.2));var rfactor=R.random_dec(),dithers=R.random_dec(),subTotal=subW+subW;function generateLayer(t,$,e,r,_,l,o){rfactor>.1&&(factor=R.random_num(.6,2.8),(0===bgLightInt||subTotal<=2)&&(factor=R.random_num(.6,1.2))),rRadiusx>.75&&(rRadius=R.random_num(.8,1.6),rRadiusBool=!0);for(var s=[],a=0;a<r;a++){s[a]=[];for(var u=0;u<_;u++)s[a][u]=[bgLight]}if(rfactor>.1&&(bgLight+=bgLightInt),bgLight>.6&&(bgLight=.1),!0===t)s=l;else{function d(){for(var t=0,$=Math.floor(r/2.01),e=Math.floor(_/2.01),l=0;l<r;l++)for(var a=0;a<_;a++){var u=Math.round(Math.sin(t*freqX+(doodler=o/doodleInt*Math.PI+timeStart))*$+$),d=Math.round(Math.cos(t*freqY)*e+e);if(rr>.5)var u=Math.round(Math.sin(t*freqX)*$+$),d=Math.round(Math.cos(t*freqY+doodler)*e+e);s[u][d]=[1],t+=1}}d()}function c(){for(var t=0;t<r;t++)for(var $=0;$<_;$++){try{l=s[t][$]}catch(e){}var l,o=l[0],a=o/factor-Math.round(o);s[t][$][0]=o;try{var o=(l=s[t+1][$])[0];o+=7*a/16,s[t+1][$][0]=o}catch(u){}try{var o=(l=s[t-1][$+1])[0];o+=3*a/16,s[t-1][$+1][0]=o}catch(d){}try{var o=(l=s[t][$+1])[0];o+=5*a/16,s[t][$+1][0]=o}catch(c){}try{var o=(l=s[t+1][$+1])[0];o+=1*a/16,s[t+1][$+1][0]=o}catch(b){}}}function b(){for(var l=sizeW/gridCountWidth,o=size/gridCountHeight,a=e;a<_+e;a++)for(var u=$;u<r+$;u++){var d=s[u-$][a-e];function c(t,$,e){var r=u*l,_=a*o,s=document.createElementNS("http://www.w3.org/2000/svg","rect");s.setAttributeNS(null,"x",r),s.setAttributeNS(null,"y",_),s.setAttributeNS(null,"height",l*$),s.setAttributeNS(null,"width",o*e),s.setAttributeNS(null,"fill",t),svg2.appendChild(s)}function b($,e,r){var _=u*l,s=a*o,d=document.createElementNS("http://www.w3.org/2000/svg","ellipse");d.setAttributeNS(null,"rx",l/2*r),d.setAttributeNS(null,"ry",l/2*e),!0===t?(d.setAttributeNS(null,"cx",_+l/2-r/2),d.setAttributeNS(null,"cy",s+l/2-e/2)):(d.setAttributeNS(null,"cx",_+l/2-r/2+(R.random_dec()/2-.5)),d.setAttributeNS(null,"cy",s+l/2-e/2+(R.random_dec()/2-.5))),d.setAttributeNS(null,"fill",$),d.setAttributeNS(null,"opacity",.9),svg2.append(d)}!0===rRadiusBool&&!0===t&&(rRadius=1),dithers>.5?d>.5&&b("black",rRadius,rRadius):(d>=.8&&b("black",rRadius,rRadius),d>=.5&&d<.7&&b("black",rRadius,rRadius),d>=.1&&d<.2&&b("black",rRadius,rRadius))}}!0===t||c(),b(),document.body.appendChild(svg2)}function typeset(text,startX,startY){var variable,spacing=startX,leading=startY,textSplit=text.split("");for(i=0;i<text.length;i++)generateLayer(!0,spacing,leading,(variable="1"===textSplit[i]?one:"2"===textSplit[i]?two:"3"===textSplit[i]?three:"4"===textSplit[i]?four:"5"===textSplit[i]?five:"6"===textSplit[i]?six:"7"===textSplit[i]?seven:"8"===textSplit[i]?eight:"9"===textSplit[i]?nine:"0"===textSplit[i]?zero:eval(textSplit[i]+"L")).length,6,variable),(spacing+=variable.length+1)>=gridCountWidth/sectionW+startX-2*margin&&(leading+=7,spacing=startX)}for(z=0;z<sections.length;z++)for(w=0;w<sections[z].length;w++)if(sections[z][w][0].constructor===Array){var sectionCellWX=Math.floor(sectionCellW/subW-margin),sectionCellHX=Math.floor(sectionCellH/subH-margin);for(m=0;m<subW;m++)for(n=0;n<subH;n++)typeset(time+"",sections[z][w][m][n][0]+3,sections[z][w][m][n][1]+3),generateLayer(!1,sections[z][w][m][n][0]+3,sections[z][w][m][n][1]+9,sectionCellWX-6,sectionCellHX-12,null,time),time+=1}else typeset(time+"",sections[z][w][0]+3,sections[z][w][1]+3),generateLayer(!1,sections[z][w][0]+3,sections[z][w][1]+9,sectionCellW-6,sectionCellH-12,null,time),time+=1};