function swalMask(title, action) {
swal({
title: title,
type: "warning",
confirmButtonText: "Да",
cancelButtonText: "Нет",
showCancelButton: true,
closeOnConfirm: false,
showLoaderOnConfirm: true
}).then((result) => {
if(result.value) {
}
});
}