1class i extends HTMLElement{constructor(){super(),this.button=null,this.intervalId=null,this.retries=0,this.maxRetries=10,this.retryInterval=2e3,this.boundHandleClick=this.handleClick.bind(this);const t=this.dataset.maxRetries;t&&(this.maxRetries=parseInt(t,10));const e=this.dataset.retryInterval;e&&(this.retryInterval=parseInt(e,10))}connectedCallback(){if(this.button=this.querySelector("button"),!this.button){console.warn("NoibuHelpCode: No button element found");return}this.waitForNoibuJs(),this.intervalId=setInterval(()=>this.waitForNoibuJs(),this.retryInterval)}disconnectedCallback(){this.intervalId!==null&&(clearInterval(this.intervalId),this.intervalId=null),this.button&&this.button.removeEventListener("click",this.boundHandleClick)}waitForNoibuJs(){window.NOIBUJS&&this.button?(this.button.addEventListener("click",this.boundHandleClick),this.intervalId!==null&&(clearInterval(this.intervalId),this.intervalId=null)):(this.retries++,this.retries>=this.maxRetries&&this.intervalId!==null&&(clearInterval(this.intervalId),this.intervalId=null))}handleClick(){window.NOIBUJS&&window.NOIBUJS.requestHelpCode()}}customElements.get("noibu-help-code")||customElements.define("noibu-help-code",i);
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.