var animationInProgress=!1;function slideUp(e,t,o=300){e&&(animationInProgress=!0,e.style.height=e.offsetHeight+"px",t.style.pointerEvents="none",window.setTimeout(()=>{e.style.overflow="hidden",e.style.boxSizing="border-box",e.style.transitionProperty="height, margin, padding",e.style.transitionDuration=o+"ms",e.style.paddingTop=0,e.style.paddingBottom=0,e.style.marginTop=0,e.style.marginBottom=0,e.style.height=0},100),window.setTimeout(()=>{e.style.display="none",e.style.removeProperty("height"),e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property"),t.style.removeProperty("pointer-events"),animationInProgress=!1},o+100))}function slideDown(o,r,n=300){if(o){animationInProgress=!0,o.style.removeProperty("display"),r.style.pointerevents="none";let e=window.getComputedStyle(o).display,t=("none"===e&&(e="block"),o.style.display=e,o.offsetHeight);o.style.height=0,o.style.paddingTop=0,o.style.paddingBottom=0,o.style.marginTop=0,o.style.marginBottom=0,window.setTimeout(()=>{o.style.overflow="hidden",o.style.boxSizing="border-box",o.style.transitionProperty="height, margin, padding",o.style.transitionDuration=n+"ms",o.style.height=t+"px",o.style.removeProperty("padding-top"),o.style.removeProperty("padding-bottom"),o.style.removeProperty("margin-top"),o.style.removeProperty("margin-bottom")},100),window.setTimeout(()=>{o.style.removeProperty("height"),o.style.removeProperty("transition-duration"),o.style.removeProperty("transition-property"),r.style.removeProperty("pointer-events"),animationInProgress=!1},n+100)}}function slideToggle(e,t,o=300){if(e&&!animationInProgress)return("none"===window.getComputedStyle(e).display?slideDown:slideUp)(e,t,o)}var accordion=document.getElementsByClassName("js-accordion");for(let e=0;e