(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(e){var o=document.querySelectorAll(".bwfop-poup-button-wrap .bwf-btn-popup");o&&o.forEach((function(e){e.addEventListener("click",(function(o){e.parentElement.nextElementSibling.classList.add("show_popup_form"),document.body.style.overflow="hidden"})),e.closest(".bwfop-popup-form-container").querySelector(".bwf_pp_close").addEventListener("click",(function(){e.closest(".bwfop-popup-form-container").querySelector(".bwf_pp_overlay").classList.remove("show_popup_form"),document.body.style.removeProperty?document.body.style.removeProperty("overflow"):document.body.style.removeAttribute("overflow")}))}))}))})();