function slidingBarHandling(){var i=jQuery(".fusion-sliding-bar-area"),n=i.children(".fusion-sliding-bar");i.hasClass("open")?(i.removeClass("open"),jQuery(".awb-icon-sliding-bar, .awb-menu__sliding-toggle").removeClass("fusion-main-menu-icon-active"),jQuery("body").removeClass("fusion-sliding-bar-active"),(i.hasClass("fusion-sliding-bar-position-top")||i.hasClass("fusion-sliding-bar-position-bottom"))&&n.slideUp(240,"easeOutQuad")):jQuery(this).hasClass("fusion-sb-close")||(i.addClass("open"),jQuery(".awb-icon-sliding-bar, .awb-menu__sliding-toggle").addClass("fusion-main-menu-icon-active"),jQuery("body").addClass("fusion-sliding-bar-active"),(i.hasClass("fusion-sliding-bar-position-top")||i.hasClass("fusion-sliding-bar-position-bottom"))&&n.slideDown(240,"easeOutQuad"),setTimeout(function(){"function"==typeof jQuery.fn.reinitializeGoogleMap&&n.find(".shortcode-map").each(function(){jQuery(this).reinitializeGoogleMap()}),n.find(".awb-carousel").length&&"function"==typeof generateSwiperCarousel&&generateSwiperCarousel(),n.find(".fusion-portfolio").each(function(){var i=jQuery(this).find(".fusion-portfolio-wrapper"),n=i.attr("id");n&&(i=jQuery("#"+n)),i.isotope()}),n.find(".fusion-gallery").each(function(){jQuery(this).isotope()}),"function"==typeof jQuery.fn.fusionCalcFlipBoxesHeight&&n.find(".fusion-flip-boxes").not(".equal-heights").find(".flip-box-inner-wrapper").each(function(){jQuery(this).fusionCalcFlipBoxesHeight()}),"function"==typeof jQuery.fn.fusionCalcFlipBoxesEqualHeights&&n.find(".fusion-flip-boxes.equal-heights").each(function(){jQuery(this).fusionCalcFlipBoxesEqualHeights()}),"function"==typeof jQuery.fn.equalHeights&&n.find(".fusion-fullwidth.fusion-equal-height-columns").each(function(){jQuery(this).find(".fusion-layout-column .fusion-column-wrapper").equalHeights()}),n.find(".crossfade-images").each(function(){fusionResizeCrossfadeImagesContainer(jQuery(this))}),n.find(".fusion-blog-shortcode").each(function(){jQuery(this).find(".fusion-blog-layout-grid").isotope()}),"function"==typeof calcSelectArrowDimensions&&calcSelectArrowDimensions(),jQuery(window).trigger("resize")},350))}jQuery(document).ready(function(){jQuery(".fusion-sliding-bar-area.open-on-load").length&&(slidingBarHandling(),jQuery(".fusion-sliding-bar-area").removeClass("open-on-load")),jQuery(document).on("keydown",function(i){27===i.keyCode&&jQuery("body").hasClass("fusion-sliding-bar-active")&&!jQuery("body").hasClass("modal-open")&&slidingBarHandling()}),"menu"!==jQuery(".fusion-sliding-bar-area").data("toggle")&&(Modernizr.mq("only screen and (max-width: "+jQuery(".fusion-sliding-bar-area").data("breakpoint")+"px)")?(jQuery(".fusion-sliding-bar-area").removeClass("fusion-sliding-bar-toggle-"+jQuery(".fusion-sliding-bar-area").data("toggle")),jQuery(".fusion-sliding-bar-area").addClass("fusion-sliding-bar-toggle-triangle")):(jQuery(".fusion-sliding-bar-area").removeClass("fusion-sliding-bar-toggle-triangle"),jQuery(".fusion-sliding-bar-area").addClass("fusion-sliding-bar-toggle-"+jQuery(".fusion-sliding-bar-area").data("toggle"))),jQuery(window).on("fusion-resize-horizontal",function(){Modernizr.mq("only screen and (max-width: "+jQuery(".fusion-sliding-bar-area").data("breakpoint")+"px)")?(jQuery(".fusion-sliding-bar-area").removeClass("fusion-sliding-bar-toggle-"+jQuery(".fusion-sliding-bar-area").data("toggle")),jQuery(".fusion-sliding-bar-area").addClass("fusion-sliding-bar-toggle-triangle")):(jQuery(".fusion-sliding-bar-area").removeClass("fusion-sliding-bar-toggle-triangle"),jQuery(".fusion-sliding-bar-area").addClass("fusion-sliding-bar-toggle-"+jQuery(".fusion-sliding-bar-area").data("toggle")))}))}),jQuery(window).on("load",function(){jQuery(document.body).on("click",".fusion-sb-toggle, .awb-icon-sliding-bar, .fusion-sb-close, .avada-sliding-toggle, .awb-menu__sliding-toggle",function(i){i.preventDefault(),slidingBarHandling()})});