text: "use strict";function modalEvent(r){r.addEventListener("click",function(){var t=r.getAttribute("data-modal-trigger"),e=document.querySelector("[data-modal="+t+"]"),o=e.querySelector(".content-wrapper"),a=e.querySelector(".close");a.addEventListener("click",function(){return e.classList.remove("open")}),e.addEventListener("click",function(){return e.classList.remove("open")}),o.addEventListener("click",function(r){return r.stopPropagation()}),e.classList.toggle("open")})}var buttons=document.querySelectorAll("button[data-modal-trigger]"),_iteratorNormalCompletion=!0,_didIteratorError=!1,_iteratorError=void 0;try{for(var _iterator=buttons[Symbol.iterator](),_step;!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=!0){var button=_step.value;modalEvent(button)}}catch(err){_didIteratorError=!0,_iteratorError=err}finally{try{!_iteratorNormalCompletion&&_iterator["return"]&&_iterator["return"]()}finally{if(_didIteratorError)throw _iteratorError}}