function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n_createClass(function e(){_classCallCheck(this,e),_defineProperty(this,"use strict",void 0),this.openMenuButton=document.querySelector("#clay-menu-toggle"),this.targetMenuID=document.querySelector("#clay-menu-toggle").dataset.target},[{key:"openButtonAction",value:function(){var e=document.getElementById(this.targetMenuID);this.openMenuButton.addEventListener("click",function(){null!=e?(e.classList.toggle("open"),document.body.classList.toggle("nav-open")):console.log("Toggle menu target with the element id: ["+this.targetMenuID+"], does not exist.")})}},{key:"closeButtonAction",value:function(){var e=document.getElementById("main-menu-close"),t=document.getElementById(this.targetMenuID);e.addEventListener("click",function(){t.classList.remove("open"),document.body.classList.remove("nav-open")})}}]))();window.addEventListener("load",function(){var e=new ClayMenuToggle;e.openButtonAction(),e.closeButtonAction()});; (o=>{o(document).ready(function(){var e=o("select#category-resourcetype-filter"),t=o("select#category-sort-filter");e.on("change",function(){var e=new URL(document.location.href);e.searchParams.set("resource_type",this.value),document.location=e}),t.on("change",function(){var e=new URL(document.location.href);e.searchParams.set("order",this.value),document.location=e})})})(jQuery);;