"use strict";let anchorscrollers=document.getElementsByClassName("gs-smoothscrollto");const GSPBscrollIntoViewWithOffset=(t,e)=>{window.scrollTo({behavior:"smooth",top:document.querySelector(t).getBoundingClientRect().top-document.body.getBoundingClientRect().top-e})};for(let i=0;i<anchorscrollers.length;i++){let t=anchorscrollers[i];t.getAttribute("href").startsWith("#")&&t.addEventListener("click",function(e){e.preventDefault();let o=t.getAttribute("data-scrolloffset")||0;GSPBscrollIntoViewWithOffset(this.getAttribute("href"),o)})}