!function (t) {
    "use strict";
    var n = function () {
    };
    n.prototype.init = function () {
         t("#sa-params").click(function () {
            swal({
                title: "آیا میخواهید حذف کنید?",
                text: "You won't be able to revert this!",
                type: "warning",
                showCancelButton: !0,
                confirmButtonText: "بله",
                cancelButtonText: "خیر",
                confirmButtonClass: "btn btn-success mt-2",
                cancelButtonClass: "btn btn-danger ml-2 mt-2",
                buttonsStyling: !1
            }).then(function () {
                swal({
                    title: "حذف",
                    text: "با موفقیت حذف شد",
                    type: "success",
                    confirmButtonClass: "btn btn-confirm mt-2"
                })
            }, function (t) {
                "cancel" === t && swal({
                    title: "انصراف از عملیات",
                    text: "حدف نشد",
                    type: "error",
                    confirmButtonClass: "btn btn-confirm mt-2"
                })
            })
        }) 
    }, t.SweetAlert = new n, t.SweetAlert.Constructor = n
}(window.jQuery), function (t) {
    "use strict";
    t.SweetAlert.init()
}(window.jQuery);