1import{app}from"../../app/app.js";import{$}from"../../lib/util.js";import{View}from"../view.js";export class Notice extends View{static className="_notice";static attributes={role:"alert"};constructor(t,...i){super(),this.type=t,this.args=i||[],this.init0(),this.refreshElements()}init0(){this.activate()}activate(){super.activate()&&this.show()}deactivate(){super.deactivate()&&this.hide()}show(){this.html(this.tmpl(`${this.type}Notice`,...this.args)),this.prependTo(app.el)}hide(){$.remove(this.el)}}
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.