if (contentList.length === 0 || nameList.length
=== 0) {
const randomContent = contentList[Math.floor(Math
.random() * contentList.length)];
const randomName = nameList[Math.floor(Math
.random() * nameList.length)];
document.getElementById('contentWheel'
).querySelector('span').textContent =
randomContent;
document.getElementById('nameWheel'
).querySelector('span').textContent =
randomName;
function importContent() {
const fileInput = document.getElementById
('contentFile');
const file = fileInput.files[0];
const reader = new FileReader();
reader.onload = function (e) {
const data = new Uint8Array(e.target.result);