1(()=>{(()=>{var d=null,c=null;typeof window.Event=="function"&&(d=new Event("openitem"),c=new Event("closeitem"));var f=class{constructor(e=null,s={}){if(!e)throw new Error("Please provide a container element.");let{beforeOpen:i=function(){},beforeClose:a=function(){},itemClass:t="accordion__item",headingClass:o="accordion__item-heading",contentClass:l="accordion__item-content",closedHeight:h=0,containerIsContent:r=!1,containerIsItem:m=!1}=s;e=r?document:e,this.beforeOpen=i,this.beforeClose=a,this.itemClass=t,this.headingClass=o,this.contentClass=l,this.closedHeight=h,this.containerIsContent=r,this.accordionItems=Array.from(e.querySelectorAll(`.${t}`)),m&&(this.accordionItems=this.accordionItems.concat(e)),this.accordionItems.forEach(n=>{let u=r?n:n.querySelector(`.${o}`);r&&n.classList.add("accordion__item-content"),u.addEventListener("click",()=>{n.classList.contains("-open")?this.closeItem(n,h):this.openItem(n)})})}closeAll(e){this.accordionItems.forEach(s=>{s!==e&&(this.closeItem(s),c&&s.dispatchEvent(c))})}openItem(e){e.classList.contains(this.itemClass)&&(this.beforeOpen(),e.classList.add("-open"),d&&e.dispatchEvent(d))}closeItem(e){e.classList.contains(this.itemClass)&&(this.beforeClose(),e.classList.remove("-open"),c&&e.dispatchEvent(c))}};document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".accordion-faq").forEach(function(a){let t=new f(a);t.closeAll();let o=location.hash,l=o&&document.querySelector(o);o&&!/fn:/.test(o)&&l?.classList?.contains("accordion__item")&&t.openItem(l)});let s=document.querySelectorAll(".accordion__item-heading");for(var i=0;i<s.length;i++)s[i].addEventListener("click",function(a){let t=a.target.closest(".accordion__item").id;t&&(history.pushState?history.pushState(null,null,"#"+t):location.hash="#"+t)})})})();})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.