(function(b){var a=new slidebars();b(a.events).on("init",function(){});b(a.events).on("exit",function(){});b(a.events).on("css",function(){});b(a.events).on("opening",function(c,d){});b(a.events).on("opened",function(c,d){});b(a.events).on("closing",function(c,d){});b(a.events).on("closed",function(c,d){});a.init();b(".js-toggle-mobile-slidebar").on("click",function(c){c.stopPropagation();a.toggle("slidebar-5")});b(".js-open-slidebar-panel-left").on("click",function(c){c.preventDefault();c.stopPropagation();a.toggle("slidebar-panel-left")});b(".js-open-left-slidebar").on("click",function(c){c.stopPropagation();a.open("slidebar-1")});b(".js-close-left-slidebar").on("click",function(c){c.stopPropagation();a.close("slidebar-1")});b(".js-toggle-left-slidebar").on("click",function(c){c.stopPropagation();a.toggle("slidebar-1")});b(".js-open-right-slidebar").on("click",function(c){c.stopPropagation();a.open("slidebar-2")});b(".js-close-right-slidebar").on("click",function(c){c.stopPropagation();a.close("slidebar-2")});b(".js-toggle-right-slidebar").on("click",function(c){c.stopPropagation();a.toggle("slidebar-2")});b(".js-open-top-slidebar").on("click",function(c){c.stopPropagation();a.open("slidebar-3")});b(".js-close-top-slidebar").on("click",function(c){c.stopPropagation();a.close("slidebar-3")});b(".js-toggle-top-slidebar").on("click",function(c){c.stopPropagation();a.toggle("slidebar-3")});b(".js-open-bottom-slidebar").on("click",function(c){c.stopPropagation();a.open("slidebar-4")});b(".js-close-bottom-slidebar").on("click",function(c){c.stopPropagation();a.close("slidebar-4")});b(".js-toggle-bottom-slidebar").on("click",function(c){c.stopPropagation();a.toggle("slidebar-4")});b(a.events).on("opened",function(){b('[data-canvas="container"]').addClass("js-close-any-slidebar");b(".toggle-menu-button").addClass("is-open")});b(a.events).on("closed",function(){b('[data-canvas="container"]').removeClass("js-close-any-slidebar");b(".toggle-menu-button").removeClass("is-open")});b("body").on("click",".js-close-any-slidebar",function(c){c.stopPropagation();a.close()});b(".js-initialize-slidebars").on("click",function(c){c.stopPropagation();a.init()});b(".js-exit-slidebars").on("click",function(c){c.stopPropagation();a.exit()});b(".js-reset-slidebars-css").on("click",function(c){c.stopPropagation();a.css()});b(".js-is-active").on("click",function(c){c.stopPropagation()});b(".js-is-active-slidebar").on("click",function(c){c.stopPropagation();var d=prompt("Enter a Slidebar id")});b(".js-get-active-slidebar").on("click",function(c){c.stopPropagation()});b(".js-get-all-slidebars").on("click",function(c){c.stopPropagation()});b(".js-get-slidebar").on("click",function(c){c.stopPropagation();var d=prompt("Enter a Slidebar id")});b(".js-init-callback").on("click",function(c){c.stopPropagation();a.init(function(){})});b(".js-exit-callback").on("click",function(c){c.stopPropagation();a.exit(function(){})});b(".js-css-callback").on("click",function(c){c.stopPropagation();a.css(function(){})});b(".js-open-callback").on("click",function(c){c.stopPropagation();a.open("slidebar-1",function(){})});b(".js-close-callback").on("click",function(c){c.stopPropagation();a.close(function(){})});b(".js-toggle-callback").on("click",function(c){c.stopPropagation();a.toggle("slidebar-1",function(){})})}(jQuery));