function transformAnchors(){$(".anchor").each(function(e,t){var n=$(t);n.prepend('
');var a=n.children()[0],i=t.id;a.id=i,n.removeAttr("id"),n.append('')})}function headerResizedCallback(){var e=$("#page-header-wrapper").height();if(e>0){document.documentElement.style.setProperty("--page-header-height",e+"px")}}function highlightActivePage(e){$('nav a[href="'+location.pathname+'"]').addClass("active-navigation")}function filterProjects(e,t,n,a){var i=$.map(a.split(/\s*&\s*/),$.trim),o=$(e);o.addClass("filtered-out"),o.has(t+":containsi("+i.join("):containsi(")+")").removeClass("filtered-out");var r=$(n);r.addClass("filtered-out"),r.has(e+":not(.filtered-out)").removeClass("filtered-out")}$(document).ready(function(){$(".no-js").removeClass("no-js")}),$(document).ready(transformAnchors);var waitForFinalEvent=function(){var e={};return function(t,n,a){a||(a="Don't call this twice without a uniqueId"),e[a]&&clearTimeout(e[a]),e[a]=setTimeout(t,n)}}();$(document).ready(function(){function e(e,t){setTimeout(function(){e.textContent=t},2e3)}var t=new ClipboardJS(".copy-citation");t.on("success",function(t){var n=t.trigger.lastChild,a=n.textContent;n.textContent="Copied!",e(n,a)}),t.on("error",function(t){var n=t.trigger.lastChild,a=n.textContent;n.textContent="Press Ctrl+C to copy",e(n,a)})}),$(document).ready(headerResizedCallback),$(window).resize(headerResizedCallback),$(function(){window.location.hash.length>0&&$(window).scrollTop($(window.location.hash).offset().top)}),$(document).ready(highlightActivePage),$.extend($.expr[":"],{containsi:function(e,t,n,a){return(e.textContent||e.innerText||"").toLowerCase().indexOf((n[3]||"").toLowerCase())>=0}}),$(document).ready(function(){var e=$(".slider");e.on("init",function(e,t){t.$list.wrap('')}),e.each(function(){var e=$(this);e.slick({autoplay:!0,pauseOnHover:!0,autoplaySpeed:5e3,speed:1e3,prevArrow:'',nextArrow:'',dots:e.children().length>1})})});const sweetScroll=new SweetScroll({updateURL:!0});