text: /* eslint-disable no-unused-vars */
  /* eslint-disable semi */
  /* eslint-disable prettier/prettier */
  $(document).ready(()=>{$.get("/api/user_data").then(a=>{$(".member-name").text(a.email)}),$.get("/api/song",a=>{const b=$("<div>");b.addClass("song-list");for(let c=0;c<a.length;c++){const d=$("<div>");d.addClass("artist-box");const e=$("<a href='/song/"+a[c].id.toString()+"' >").text(a[c].title),f=$("<li>songs[i].id.toString() </li>").text(a[c].artist);e.addClass("artist-title"),f.addClass("artist-name"),d.append(e,f,"<br>"),b.append(d)}$("#members-song-list").append(b)})});const modal=document.getElementById("songbirdie-modal"),btn=document.getElementById("songbirdie-tab"),span=document.getElementsByClassName("close")[0];btn.onclick=function(){modal.style.display="block"},span.onclick=function(){modal.style.display="none"},window.onclick=function(a){a.target===modal&&(modal.style.display="none")};function searchInput(){const a=document.getElementById("song-search").value,b=document.querySelectorAll(".artist-title"),c=document.querySelectorAll(".artist-name");for(console.log(a),i=0;i<b.length;i++){const d=b[i];txtValue=d.textContent;const e=c[i].textContent;txtValue.toLowerCase().includes(a)||e.toLowerCase().includes(a)?(b[i].style.display="block",c[i].style.display="block"):(b[i].style.display="none",c[i].style.display="none")}}