1import{Controller}from"@hotwired/stimulus";export default class extends Controller{connect(){this.onOutsideClick=e=>{this.element.contains(e.target)||this.close()},this.onKeydown=e=>{"Escape"===e.key&&this.close()},document.addEventListener("click",this.onOutsideClick),document.addEventListener("keydown",this.onKeydown)}disconnect(){document.removeEventListener("click",this.onOutsideClick),document.removeEventListener("keydown",this.onKeydown)}toggle(){this.element.dataset.open=this.isOpen?"false":"true"}close(){this.isOpen&&(this.element.dataset.open="false")}get isOpen(){return"true"===this.element.dataset.open}}
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.