text: let confirmDialog = (e) => {
      return {
          sweetAlertBan(e) {
              Swal.fire({
                  template: '#confirmBanDialog',
                  customClass: {
                    confirmButton: 'btn btn-danger me-2',
                    cancelButton: 'btn btn-primary'
                  },
                  buttonsStyling: false,
                  focusConfirm: true,
                }).then((result) => {
                  if (result.isConfirmed) {
                      window.location = e.target.dataset.url;
                  }
                })
          },
          sweetAlertUnban(e) {
              Swal.fire({
                  template: '#confirmUnbanDialog',
                  customClass: {
                    confirmButton: 'btn btn-danger me-2',
                    cancelButton: 'btn btn-primary'
                  },
                  buttonsStyling: false,
                  focusConfirm: true,
                }).then((result) => {
                  if (result.isConfirmed) {
                      window.location = e.target.dataset.url;
                  }
                })
          }
      }
  }