/(trident|msie)/i.test(navigator.userAgent)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",function(){var e=location.hash.substring(1);/^[A-z0-9_-]+$/.test(e)&&(e=document.getElementById(e))&&(/^(?:a|select|input|button|textarea)$/i.test(e.tagName)||(e.tabIndex=-1),e.focus())},!1),($=jQuery)(document).ready(function(){$.fn.restoreScrolling=function(){return $("html").off("wheel.modal mousewheel.modal"),this};var n,e=$("#mobile-header .col-has-toggle-menu-element").data("meanmenu");$(".header-toggle-menu-wrap .menu-top-menu-container").meanmenu({meanMenuContainer:".header-toggle-menu-wrap .main-navigation",meanScreenWidth:"1023",meanRevealPosition:e}),$(window).width()<1024&&(e=".main-navigation",1023 li:last").focus().blur():jQuery(".meanclose").trigger("click"))},keyup:function(e){e.stopPropagation(),9==e.keyCode&&(n.cancelKeyup?n.cancelKeyup=!1:n.click.apply(this,arguments))}},jQuery(document).on("click","li",n.click).on("keydown","li",n.keydown).on("keyup","li",n.keyup),jQuery(".mean-bar li").each(function(e){this.tabIndex=e})),$(".site-header .search-toggle").on("click",function(){var e,n;$(".site-header .header-search-section").toggleClass("active"),setTimeout(function(){$('.header-search-section form input[type="search"]').focus()},500),(e=$('.header-search-section input[type="submit"]:not([disabled]), .header-search-section input:not([disabled]) '))[0],n=e[e.length-1],$(".header-search-section").on("keydown",function(e){"Tab"!==e.key&&9!==e.keyCode||(e.shiftKey&&document.activeElement===n?(e.preventDefault(),$('.header-search-section form input[type="search"]').focus()):document.activeElement===n&&$(".header-search-section").removeClass("active"))})}),$(document).on("keyup",function(e){27===e.keyCode&&$(".header-search-section").hasClass("active")&&$(".header-search-section").removeClass("active")}),$(".back-to-top").hide(),$(".back-to-top").on("click",function(e){e.preventDefault(),$("html, body").animate({scrollTop:0},"slow")}),$(window).scroll(function(){400<$(window).scrollTop()?$(".back-to-top").fadeIn():$(".back-to-top").fadeOut()}),BUSINESS_AARAMBHA.bannerSlider&&$(".banner-slider").slick({dots:!!BUSINESS_AARAMBHA.bannerSliderPagination,infinite:!0,speed:700,slidesToShow:1,autoplay:!0,fade:!0,arrows:!1,adaptiveHeight:!0}),BUSINESS_AARAMBHA.sticky_sidebar&&$(".has-sticky-sidebar .have-sidebar #primary, .has-sticky-sidebar .have-sidebar #secondary").theiaStickySidebar({additionalMarginTop:30})});