var CollapsibleLists=function(){function n(n,r){[].forEach.call(n.getElementsByTagName("li"),function(u){r&&n!==u.parentNode||(u.style.userSelect="none",u.style.MozUserSelect="none",u.style.msUserSelect="none",u.style.WebkitUserSelect="none",u.addEventListener("click",i.bind(null,u)),t(u))})}function i(n,i){for(var r=i.target;"LI"!==r.nodeName;)r=r.parentNode;r===n&&t(n)}function t(n){var t=n.classList.contains("collapsibleListClosed"),i=n.getElementsByTagName("ul");[].forEach.call(i,function(i){for(var r=i;"LI"!==r.nodeName;)r=r.parentNode;r===n&&(i.style.display=t?"block":"none")});n.classList.remove("collapsibleListOpen");n.classList.remove("collapsibleListClosed");0<i.length&&n.classList.add("collapsibleList"+(t?"Open":"Closed"))}return{apply:function(t){[].forEach.call(document.getElementsByTagName("ul"),function(i){i.classList.contains("collapsibleList")&&(n(i,!0),t||[].forEach.call(i.getElementsByTagName("ul"),function(n){n.classList.add("collapsibleList")}))})},applyTo:n}}()