window.addEventListener("load",(function(){const t=document.getElementsByClassName("ld-global-header-new-settings"),e=document.getElementsByClassName("global-new-entity-button"),n=document.createElement("a"),a=document.createTextNode(LearnDashQuizCreationAiButton.label);n.setAttribute("href",LearnDashQuizCreationAiButton.url),n.setAttribute("class","global-new-entity-button button button-primary button-small"),n.appendChild(a),t[0].insertBefore(n,e[0])}));