class VamtamForm extends elementorModules.frontend.handlers.Base{onInit(...args){super.onInit(...args),this.checkHandleBtnUnderlineAnimation()}checkHandleBtnUnderlineAnimation(){const isEditor=jQuery("body").hasClass("elementor-editor-active");isEditor?setTimeout(()=>{this.handleBtnUnderlineAnimation()},2e3):"complete"==document.readyState?setTimeout(()=>{this.handleBtnUnderlineAnimation()},25):jQuery(window).on("load",()=>{this.handleBtnUnderlineAnimation()})}handleBtnUnderlineAnimation(){if(!this.$element.hasClass("vamtam-has-underline-anim"))return;const formBtns=this.$element.find(".elementor-button:not(:empty)");jQuery.each(formBtns,(i,formBtn)=>{const $formBtn=jQuery(formBtn),isSubmit=$formBtn.filter('[type="submit"]').length,$formBtnTextEl=isSubmit?$formBtn.find(".elementor-button-text").first():$formBtn,btnText=$formBtnTextEl.text();$formBtnTextEl.text(""),isSubmit?$formBtnTextEl.append(''+btnText+""):$formBtnTextEl.append(''+btnText+"")}),jQuery(this.$element).on("mouseenter",".elementor-button",e=>{const $el=jQuery(e.target);$el.hasClass("hovered")||($el.addClass("hovered"),setTimeout(()=>{$el.removeClass("hovered")},600))})}}jQuery(window).on("elementor/frontend/init",()=>{if(elementorFrontend.elementsHandler&&elementorFrontend.elementsHandler.attachHandler)elementorFrontend.elementsHandler.attachHandler("form",VamtamForm);else{const addHandler=$element=>{elementorFrontend.elementsHandler.addHandler(VamtamForm,{$element:$element})};elementorFrontend.hooks.addAction("frontend/element_ready/form.default",addHandler,100)}});