resolve(base64ArrayBuffer(xhr.response));
} else {
console.log("this.status not ok", this.status, xhr.statusText, url);
reject({
status: this.status,
};
xhr.onerror = function () {
console.log("xhr.onerror", this.status, xhr.statusText, url);
reject({
status: this.status,