var CoreScriptsInitialize=function(){function n(){}return n.Initialize=function(){this.InitializeNow();document.addEventListener("DOMContentLoaded",this.InitializeOnLoad.bind(this))},n.InitializeNow=function(){window.Scroller=new PerfectScrollerController;window.LightBoxController=new LightBoxController;new VideoController;this.InitializeExpandLists()},n.InitializeExpandLists=function(){var n=this;document.querySelectorAll('[data-control="ExpandList-ListItem"]').forEach(function(t){var i=t.querySelector('[data-control="ExpandList-PageContent"]'),r;i!=null&&(i.style.height=t.classList.contains("Expanded")?"auto":"0");r=t.querySelector('[data-control="ExpandList-Title"]');r!=null&&r.addEventListener("click",n.ExpandListItemClick.bind(n,t,i))})},n.ExpandListItemClick=function(n,t){var u=!n.classList.contains("Expanded"),i,r;n.classList.toggle("Expanded");u?(i=function(){t.removeEventListener("transitionend",i);t.style.height="auto"},t.addEventListener("transitionend",i),t.style.height=t.scrollHeight+"px"):(r=t.style.transition,t.style.transition="",requestAnimationFrame(function(){t.style.height=t.scrollHeight+"px";t.style.transition=r;requestAnimationFrame(function(){t.style.height="0"})}))},n.InitializeOnLoad=function(){},n}();CoreScriptsInitialize.Initialize()