der("Content-Type", "application/json; charset=UTF-8");
            xhr.onload = () => {
                if (xhr.readyState == 4 && xhr.status == 200) {
                    document.getElementById(spinner).hidden = true
                    response = JSON.parse(xhr.responseText);
                    if (response.success == "1") {
                        console.log(response.console)
                        if (notifications) {
                            if (response.console.includes("ERROR")) {
           