1import"./chunk-YNYC3WAN.js";var s={mounted(){this.lastScrollHeight=this.el.scrollHeight,this.lastScrollTop=this.el.scrollTop,this.el.addEventListener("scroll",()=>{let l=this.el.scrollTop;if(l<=50){let t=this.el.dataset.loadMore;this.pushEvent(t)}this.lastScrollTop=l}),this.scrollToBottom()},updated(){let l=this.lastScrollHeight,t=this.lastScrollTop,o=this.el.scrollHeight;t<=50?this.el.scrollTop=o-l+t:this.scrollToBottom(),this.lastScrollHeight=this.el.scrollHeight,this.lastScrollTop=this.el.scrollTop},scrollToBottom(){requestAnimationFrame(()=>{this.el.scrollTop=this.el.scrollHeight})}};export{s as ChatScrollHS};
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.