(()=>{"use strict";var e={1669:e=>{e.exports=jQuery}},t={};function o(n){var i=t[n];if(void 0!==i)return i.exports;var r=t[n]={exports:{}};return e[n](r,r.exports,o),r.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var n=o(1669),i=o.n(n);document.addEventListener("DOMContentLoaded",function(){r.init()});const r={init:function(){this.holder=document.querySelectorAll(".qi-block-faq.qodef-behavior--accordion"),this.holder.length&&[...this.holder].map(e=>{r.initItem(e)})},getRealCurrentItem:function(e){return"string"==typeof e&&""!==e&&(e=qiBlocksEditor.qodefGetCurrentBlockElement.get(e)),e},initItem:function(e,t){if(!(e=r.getRealCurrentItem(e)))return;const o=i()(e);if(e.classList.contains("qodef-behavior--accordion")){let n=0;e.classList.contains("qodef-closed")&&(n=!1),e.classList.contains("qodef--init")&&t&&o.accordion("destroy"),r.initiate(e,n)}else e.classList.contains("qodef-behavior--none")&&e.querySelector(".ui-accordion-content")&&o.accordion("destroy")},initiate:function(e,t){i()(e).accordion({animate:"swing",collapsible:!0,active:t,icons:"",heightStyle:"content"}),e.classList.add("qodef--init")}}})();