1class MSharing extends HTMLElement{constructor(){super(),this.selectors={shareContent:".m-product-addon--sharing",openBtn:"[data-open-share]"}}connectedCallback(){this.domNodes=queryDomNodes(this.selectors,this);const{shareContent:e}=this.domNodes;e&&e.innerHTML&&(this.shareContent=e.innerHTML,this.init())}init(){this.domNodes.openBtn&&this.domNodes.openBtn.classList.remove("m:hidden"),this.modal=new MinimogTheme.Modal,addEventDelegate({selector:this.selectors.openBtn,handler:e=>{if(e.preventDefault(),this.shareContent){const e=document.createElement("DIV");e.classList.add("m-sharing__content"),e.innerHTML=this.shareContent,this.modal.appendChild(e),this.modal.setSizes("m-sharing"),this.modal.open()}}})}}customElements.define("m-sharing",MSharing);
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.