class JNewsFAQ extends elementorModules.frontend.handlers.Base{getDefaultSettings(){return{}}getDefaultElements(){return{faqWrapper:this.$element.find(".jnews-faq-wrapper"),toggleBtn:this.$element.find(".list-toogle")}}bindEvents(){this.elements.toggleBtn.on("click",(e=>this.onToggleClick(e)))}onToggleClick(e){e.preventDefault();const n=jQuery(e.currentTarget).closest(".list-wrapper"),t=this.elements.faqWrapper;n.hasClass("expand")?(n.find(".card-expand").slideUp(),n.removeClass("expand")):(t.find(".card-expand").slideUp(),t.find(".list-wrapper").removeClass("expand"),n.addClass("expand"),n.find(".card-expand").slideDown())}}jQuery(window).on("elementor/frontend/init",(()=>{elementorFrontend.hooks.addAction("frontend/element_ready/jnewsfaq.default",(e=>{elementorFrontend.elementsHandler.addHandler(JNewsFAQ,{$element:e})}))}));