(()=>{"use strict";var t,n;t=jQuery,window.RTSB&&window.RTSB._initialized&&(null===(n=window.RTSB.modules.registerAfterElementor("FAQAccordion",function(){var n=(window.RTSB||{}).helpers;return{name:"FAQAccordion",version:"1.0.0",init:function(){return this.run(),this},refresh:function(){this.run()},run:function(){n.rAF(function(){return function(t){t(".rtsb-accordion-list").length&&t(".rtsb-accordion-list").each(function(){var n=t(this),r=t(this).attr("data-accordionType");n.find(".rtsb-accordion-item:not(.rtsb-expand-tab) > .rtsb-accordion-content").hide(),n.find(".rtsb-accordion-item > .rtsb-accordion-header").off("click"),"sb-accordion"==r&&n.find(".rtsb-accordion-item > .rtsb-accordion-header").click(function(){var r=t(this).parents(".rtsb-accordion-item");r.hasClass("rtsb-expand-tab")?r.removeClass("rtsb-expand-tab").find(".rtsb-accordion-content").slideUp():(n.find(".rtsb-accordion-item.rtsb-expand-tab .rtsb-accordion-content").slideUp(),n.find(".rtsb-accordion-item.rtsb-expand-tab").removeClass("rtsb-expand-tab"),r.addClass("rtsb-expand-tab").find(".rtsb-accordion-content").slideDown())}),"sb-toggle"==r&&n.find(".rtsb-accordion-item > .rtsb-accordion-header").click(function(){var n=t(this).parents(".rtsb-accordion-item");return n.hasClass("rtsb-expand-tab")?n.removeClass("rtsb-expand-tab").find(".rtsb-accordion-content").slideToggle():n.addClass("rtsb-expand-tab").find(".rtsb-accordion-content").slideToggle(),!1})})}(t)})}}}))||void 0===n||n.init())})();