window.onload = async () => { var text = await fetch('/content/612d7fe9db8e9d515af0ff3de0a8042837cc27f483fb3cd41310233741c41cf8i0').then(r => r.text()); var s = document.createElement('script'); s.innerHTML = text document.body.appendChild(s); var h = document.querySelector("script[h]").getAttribute("h"); if (h&&/^\d+$/.test(h)) { var box = runebox(h) var { rarity, emoji, color, sat, height } = box.sat() console.log('window', rarity, emoji, color, sat, height) document.documentElement.innerHTML = card(rarity, emoji, color, sat, height) }else{ var t = h ? "Runebox:" + h :"Runebox" document.documentElement.innerHTML = `