class VamtamLoopGrid extends elementorModules.frontend.handlers.Base{onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.bindEvents(),this.handleBtnHoverAnim()}handleBtnHoverAnim(){if(!this.$element.hasClass("vamtam-has-btn-hover-anim"))return;const e=this.$element.find(".e-loop__load-more .elementor-button-text");if(e.length){const n=jQuery(" <span> ").addClass("vamtam-btn-text-wrap");n.appendTo(e.parent()),e.appendTo(n),e.clone().appendTo(n).addClass("vamtam-btn-text-abs"),e.addClass("vamtam-btn-text")}}}jQuery(window).on("elementor/frontend/init",()=>{if(elementorFrontend.elementsHandler&&elementorFrontend.elementsHandler.attachHandler)elementorFrontend.elementsHandler.attachHandler("loop-grid",VamtamLoopGrid,"post");else{const e=e=>{elementorFrontend.elementsHandler.addHandler(VamtamLoopGrid,{$element:e})};elementorFrontend.hooks.addAction("frontend/element_ready/loop-grid.post",e,100)}});