"):e.insertAdjacentText("beforeend",n[a]),a++,e.parentNode.appendChild(document.querySelector(".ic"));return await chillMs(400)}async function delFx(f,e=0){const t=f.innerHTML.split("");let n=0;for(e>0&&(n=t.length-e);t.length>n;)await chillMs(150),t.pop(),f.innerHTML=t.join(""),f.parentNode.appendChild(document.querySelector(".ic"));return await chillMs(400)}function chillMs(f){return new Promise((e=>setTimeout(e,f)))}async function titleFx(){const f=document.querySelector("#h1 span:first-child");await typeFx("Midnight|Fun",f),await delFx(f,3),await typeFx("Sun CTF|2023",f),await delFx(f,1),await typeFx("4",f),await chillMs(600),await typeFx("!",f);document.getElementById("links").style.opacity="1"}function gtag(){dataLayer.push(arguments)}document.addEventListener("DOMContentLoaded",(function(){pick(),document.querySelectorAll("a.glitch").forEach((function(f){f.addEventListener("mouseover",(function(){pick(!0)})),f.addEventListener("mouseout",(function(){pick(!1)}))})),titleFx()})),window.dataLayer=window.dataLayer||[],gtag("js",new Date),gtag("config","G-26PGWTSJ1Y");