0x8ac6c5c2…67acsent to0xa7d8d9ef…d270·#15,495,928·view on Etherscan
25,hidden:50}):t.accessoritesta=n({A:15,B:20,C:15,hidden:50})}t.accessoritesta=["E","I","H"].some((e=>e==s.viso.occhi))&&"B"==t.accessoritesta?"hidden":t.accessoritesta,t.accessoritesta="E"==s.copricapo.calotta&&"B"==t.accessoritesta?"hidden":t.accessoritesta,t.accessoritesta=["E","F","M"].some((e=>e==s.viso.nasi))&&"A"==t.accessoritesta?"hidden":t.accessoritesta,t.accessoritesta=["A","C","D","E"].some((e=>e==s.viso.occhi))&&"A"==t.accessoritesta?"hidden":t.accessoritesta,t.accessoritesta=["A","C","D"].some((e=>e==s.viso.bocche))&&"A"==t.accessoritesta?"hidden":t.accessoritesta}};B("sfondo"),Object.keys(s).forEach((e=>{if(["palette","state","token","random","paletteId","palettes","position"].some((t=>t==e)))return!1;Object.keys(s[e]).forEach((t=>((e,t)=>{if(!e)return!1;(/\bHeadlessChrome/.test(navigator.userAgent)||window.innerWidth/window.innerHeight==1)&&(s.position.scale=1.15);const a=e=>e.some((e=>e==t.type)),o=document.createElementNS("http://www.w3.org/2000/svg","svg"),c=s.palette;o.innerHTML=e.replace(/#dadada/g,c.fill+(a(["camicie"])&&"camicia"==s.state.outfitStyle?"; fill-opacity: 0":"")).replace(/#e41c24/g,c.stroke).replace(/#f4abba/g,c.hair),o.setAttribute("baseProfile","tiny");let r=[0,0];"accessoritesta"==t.type&&"B"==s[t.category][t.type]&&(r={A:[2,5],B:[2,3],C:[5,6],D:[5,5],F:[3,0],G:[-5,4],L:[3,5],M:[4,8],O:[0,7],N:[5,0]}[s.viso.occhi]),o.setAttribute("viewBox",`${12+s.position.offset.x+r[0]} ${40+s.position.offset.y+r[1]} 1000 1000`),o.style.cssText="position: absolute; width: 100%; height: 100%; max-height: 95vh; top: 3vh",o.style.transform=`scale(${s.position.scale}, ${s.position.scale})`,o.classList.add("character"),!a(["occhi","nasi","bocche","capelli","capelliextra","barba","baffi","accessoritesta","calotta","rasato","feluca","tesafronte","tesaretro","retrocappello","solocollo","topparetrocolletto"])&&s.position.flip&&(o.style.transform=`scale(${-1*s.position.scale}, ${s.position.scale}) translate(-4px, 0)`),i.appendChild(o)})(p[e][t][s[e][t]],{category:e,type:t}))),i.style.background=s.palette.fill}))}))})();