function f(){let sr=document.getElementsByTagName("script");let s=sr[sr.length-1].src;let qs=s.split("?")[1];let p=new URLSearchParams(qs);let tb=p.get("tb");let ids=p.get("ids")?.split(",")||[];let cv=document.getElementById("cv");let c=[`/content/${ids[0]}`];return fetch("/blockheight").then((r)=>r.text()).then((d)=>ids.map((id)=>parseInt(d){}).finally(()=>draw(cv,c))}f();