1class M24OwnerName extends HTMLElement{static get observedAttributes(){return['ownercode','locale','variant'];} 2connectedCallback(){this.render();} 3attributeChangedCallback(){if(this.isConnected){this.render();}} 4render(){const ownerCode=this.getAttribute('ownercode')||'';const locale=this.getAttribute('locale')||'no';const variant=this.getAttribute('variant')||'full';this.innerHTML='';const name=dmOwners[ownerCode];if(!name){return;} 5const span=document.createElement('span');if(variant==='short'){span.textContent=name;}else{span.className='caption--dm-owner';const ownerShort=translateDMlabels[locale]?.ownerShort||translateDMlabels['no']?.ownerShort||'';span.textContent='- '+ownerShort+': '+name;} 6this.appendChild(span);}} 7if(!customElements.get('m24-owner-name')){customElements.define('m24-owner-name',M24OwnerName);}
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.