function scrollSmoothToTarget($target){if(typeof $target!=='undefined'){var offset=$target.offset();if(offset!==undefined){var targetOffset=offset.top;var navbar=jQuery('.navbar-fixed-top');if(navbar.length&&targetOffset!==0){targetOffset-=navbar.outerHeight()}
jQuery('html,body').animate({scrollTop:targetOffset},500)}}
return!1}(function($){$('a[href*="#"]:not([href$="#"])').click(function(){if(location.pathname.replace(/^\//,'')===this.pathname.replace(/^\//,'')&&location.hostname===this.hostname&&$(this).data('toggle')===undefined&&$(this).data('slide')===undefined){var $target=$(this.hash);$target=$target.length&&$target||$('[name='+this.hash.slice(1)+']');if($target.length){return scrollSmoothToTarget($target)}}});$('.scroll-top').on('click',function(){$(this).blur()});$(window).on('scroll',function(){if($(this).scrollTop()>300){$('.scroll-top').addClass('scroll-top-visible')}else{$('.scroll-top').removeClass('scroll-top-visible')}})})(jQuery);jQuery(document).ready(function(){let _hash=window.location.hash;if($.isValidSelector(_hash)){if(!_hash.startsWith("#/")&&!_hash.startsWith("#cat")&&!_hash.startsWith("#filter")){scrollSmoothToTarget($(window.location.hash))}}})