!function(t){var o={};function n(e){if(o[e])return o[e].exports;var i=o[e]={i:e,l:!1,exports:{}};return t[e].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=o,n.d=function(t,o,e){n.o(t,o)||Object.defineProperty(t,o,{enumerable:!0,get:e})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,o){if(1&o&&(t=n(t)),8&o)return t;if(4&o&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&o&&"string"!=typeof t)for(var i in t)n.d(e,i,function(o){return t[o]}.bind(null,i));return e},n.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(o,"a",o),o},n.o=function(t,o){return Object.prototype.hasOwnProperty.call(t,o)},n.p="",n(n.s=619)}({619:function(t,o,n){"use strict";var e,i,r=(i=function(t){var o="login-"+t+"-on";t="kt_login_"+t+"_form",e.removeClass("login-forgot-on"),e.removeClass("login-signin-on"),e.removeClass("login-signup-on"),e.addClass(o),KTUtil.animateClass(KTUtil.getById(t),"animate__animated animate__backInUp")},{init:function(){var t;e=$("#kt_login"),t=FormValidation.formValidation(KTUtil.getById("kt_login_signin_form"),{fields:{username:{validators:{notEmpty:{message:"Username is required"}}},password:{validators:{notEmpty:{message:"Password is required"}}}},plugins:{trigger:new FormValidation.plugins.Trigger,submitButton:new FormValidation.plugins.SubmitButton,bootstrap:new FormValidation.plugins.Bootstrap}}),$("#kt_login_signin_submit").on("click",(function(o){o.preventDefault(),t.validate().then((function(t){"Valid"==t?swal.fire({text:"All is cool! Now you submit this form",icon:"success",buttonsStyling:!1,confirmButtonText:"Ok, got it!",customClass:{confirmButton:"btn font-weight-bold btn-light-primary"}}).then((function(){KTUtil.scrollTop()})):swal.fire({text:"Sorry, looks like there are some errors detected, please try again.",icon:"error",buttonsStyling:!1,confirmButtonText:"Ok, got it!",customClass:{confirmButton:"btn font-weight-bold btn-light-primary"}}).then((function(){KTUtil.scrollTop()}))}))})),$("#kt_login_forgot").on("click",(function(t){t.preventDefault(),i("forgot")})),$("#kt_login_signup").on("click",(function(t){t.preventDefault(),i("signup")})),function(t){var o,n=KTUtil.getById("kt_login_signup_form");o=FormValidation.formValidation(n,{fields:{fullname:{validators:{notEmpty:{message:"Username is required"}}},email:{validators:{notEmpty:{message:"Email address is required"},emailAddress:{message:"The value is not a valid email address"}}},password:{validators:{notEmpty:{message:"The password is required"}}},cpassword:{validators:{notEmpty:{message:"The password confirmation is required"},identical:{compare:function(){return n.querySelector('[name="password"]').value},message:"The password and its confirm are not the same"}}},agree:{validators:{notEmpty:{message:"You must accept the terms and conditions"}}}},plugins:{trigger:new FormValidation.plugins.Trigger,bootstrap:new FormValidation.plugins.Bootstrap}}),$("#kt_login_signup_submit").on("click",(function(t){t.preventDefault(),o.validate().then((function(t){"Valid"==t?swal.fire({text:"All is cool! Now you submit this form",icon:"success",buttonsStyling:!1,confirmButtonText:"Ok, got it!",customClass:{confirmButton:"btn font-weight-bold btn-light-primary"}}).then((function(){KTUtil.scrollTop()})):swal.fire({text:"Sorry, looks like there are some errors detected, please try again.",icon:"error",buttonsStyling:!1,confirmButtonText:"Ok, got it!",customClass:{confirmButton:"btn font-weight-bold btn-light-primary"}}).then((function(){KTUtil.scrollTop()}))}))})),$("#kt_login_signup_cancel").on("click",(function(t){t.preventDefault(),i("signin")}))}(),function(t){var o;o=FormValidation.formValidation(KTUtil.getById("kt_login_forgot_form"),{fields:{email:{validators:{notEmpty:{message:"Email address is required"},emailAddress:{message:"The value is not a valid email address"}}}},plugins:{trigger:new FormValidation.plugins.Trigger,bootstrap:new FormValidation.plugins.Bootstrap}}),$("#kt_login_forgot_submit").on("click",(function(t){t.preventDefault(),o.validate().then((function(t){"Valid"==t?KTUtil.scrollTop():swal.fire({text:"Sorry, looks like there are some errors detected, please try again.",icon:"error",buttonsStyling:!1,confirmButtonText:"Ok, got it!",customClass:{confirmButton:"btn font-weight-bold btn-light-primary"}}).then((function(){KTUtil.scrollTop()}))}))})),$("#kt_login_forgot_cancel").on("click",(function(t){t.preventDefault(),i("signin")}))}()}});jQuery(document).ready((function(){r.init()}))}});