1import{s}from"./utilities.min.js";import"./vendor.min.js";class e extends HTMLElement{constructor(){super(),this._visibility=!1,this.button=this.querySelector("button")}connectedCallback(){window.addEventListener("scroll",this.scrollListener.bind(this)),this.querySelector("button").addEventListener("click",this.onClick.bind(this))}onClick(){s()}scrollListener(){const t=window.pageYOffset,i=document.documentElement.clientHeight;t>i?this.visibility=!0:this.visibility=!1}set visibility(t){this._visibility=t,this.button.classList.toggle("active",t)}}customElements.define("back-to-top",e);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.