index of
/
home
/
thefkyzp
/
easyloanly.com
/
wp-content
/
plugins
/
wpforms-lite
/
assets
/
js
/
admin
/
splash
/
File: /home/thefkyzp/easyloanly.com/wp-content/plugins/wpforms-lite/assets/js/admin/splash/modal.min.js
const WPSplash=window.WPSplash||function(s,e,n){const t={init(){n(t.ready)},ready(){t.events(),wpforms_splash_data.triggerForceOpen&&t.openModal()},events(){n(s).on("click",".wpforms-splash-modal-open",function(o){o.preventDefault(),t.openModal()})},openModal(){n.alert({title:!1,content:wp.template("wpforms-splash-modal-content")(),icon:!1,closeIcon:!0,boxWidth:"1000px",theme:"modern",useBootstrap:!1,scrollToPreviousElement:!1,buttons:!1,backgroundDismiss:!0,offsetTop:50,offsetBottom:50,animation:"opacity",closeAnimation:"opacity",animateFromElement:!1,onOpenBefore(){var o=e.innerWidth-s.body.clientWidth+"px";n("body").addClass("wpforms-splash-modal").css("--wpforms-body-scrollbar-width",o),n(".wpforms-challenge-popup-container").addClass("wpforms-invisible"),setTimeout(()=>{n(".jconfirm-box-container").css("padding-top","50px").animate({opacity:1},30)},0)},onOpen(){n(".jconfirm").css("bottom",0)},onDestroy(){n("body").removeClass("wpforms-splash-modal").css("--wpforms-body-scrollbar-width",null)}})}};return t}(document,window,jQuery);WPSplash.init();