export const FAN_NOTICE = "This is an unofficial fan project, not affiliated with or endorsed by the creator of EPIC: The Musical. " + "With thanks to Jorge Rivera-Herrans, creator of EPIC."; export function mountCredits(target?: Element): HTMLElement { const el = (target ?? document.querySelector("[data-fan-credits]") ?? document.body.appendChild(document.createElement("footer"))) as HTMLElement; el.setAttribute("data-fan-credits", ""); el.classList.add("fan-credits"); const p = document.createElement("p"); p.textContent = FAN_NOTICE; el.replaceChildren(p); return el; }