var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
let window = _____WB$wombat$assign$function_____("window");
let self = _____WB$wombat$assign$function_____("self");
let document = _____WB$wombat$assign$function_____("document");
let location = _____WB$wombat$assign$function_____("location");
let top = _____WB$wombat$assign$function_____("top");
let parent = _____WB$wombat$assign$function_____("parent");
let frames = _____WB$wombat$assign$function_____("frames");
let opens = _____WB$wombat$assign$function_____("opens");
function setActiveAccordion(e) { let t = e.dataset.accordion, s = e.dataset.open_first_item, a = e.querySelectorAll(".dsm-faq-item-wrapper"), c = { isAccordion: t, accordionWrapper: a }; a.forEach((e, t) => { let i = e.querySelector(".dsm-title-wrapper"), n = e.querySelector(".dsm-faq-content"); jQuery(n).slideUp(), "on" === s && a.length > 0 && 0 === t && (e.classList.add("dsm-faq-item-active"), jQuery(n).slideDown()), i.addEventListener("click", () => setActiveClass({ ...c, index: t })) }) } function setActiveClass(e) { let { index: t, isAccordion: s, accordionWrapper: a } = e; a.forEach((e, a) => { "off" === s && a === t && (e.classList.toggle("dsm-faq-item-active"), jQuery(e).find(".dsm-faq-content").slideToggle()), "on" === s && (a === t ? (e.classList.add("dsm-faq-item-active"), jQuery(e).find(".dsm-faq-content").slideDown()) : (e.classList.remove("dsm-faq-item-active"), jQuery(e).find(".dsm-faq-content").slideUp())) }) } jQuery(document).ready(function (e) { let t = document.querySelectorAll(".dsm-faq-container"); t.forEach(e => setActiveAccordion(e)), e(".dsm-faq-content p").each(function () { var t = e(this); 0 == t.html().replace(/\s|&nbsp;/g, "").length && t.remove() }) });
}