class VamtamForm extends elementorModules.frontend.handlers.Base{onInit(...e){super.onInit(...e);const t=this;"complete"!==document.readyState?jQuery(window).on("load",()=>{t.handleBtnHoverAnims()}):setTimeout(()=>{t.handleBtnHoverAnims()},50)}handleBtnHoverAnims(){if(!this.$element.hasClass("vamtam-has-btn-hover-anim"))return;const e=this.$element.find('button[type="submit"]'),t=e.length&&e.find(".elementor-button-icon"),n=e.length&&this.$element.find('button[type="submit"] .elementor-button-text');if(n.length){const e=jQuery(" <span> ").addClass("vamtam-btn-text-wrap");e.appendTo(n.parent()),n.appendTo(e),n.clone().appendTo(e).addClass("vamtam-btn-text-abs"),n.addClass("vamtam-btn-text")}const a=this.$element.find('button[type="button"].elementor-button');a.length&&a.each((e,n)=>{const a=jQuery(n),o=jQuery("<span>"),m=jQuery(" <span> ").addClass("vamtam-btn-text-wrap");t.length&&t.clone().appendTo(o),m.appendTo(o);jQuery(`\n                    <span class="elementor-button-text vamtam-btn-text">${a.text()}</span>\n                    <span class="elementor-button-text vamtam-btn-text-abs">${a.text()}</span>\n                `).appendTo(m),a.text(""),o.appendTo(a)})}}jQuery(window).on("elementor/frontend/init",()=>{if(elementorFrontend.elementsHandler&&elementorFrontend.elementsHandler.attachHandler)elementorFrontend.elementsHandler.attachHandler("form",VamtamForm);else{const e=e=>{elementorFrontend.elementsHandler.addHandler(VamtamForm,{$element:e})};elementorFrontend.hooks.addAction("frontend/element_ready/form.default",e,100)}});