1`use strict`;class Draad_Dialog{constructor(node){this._dialog=node;this._controls=document.querySelectorAll('[aria-controls="'+node.id+'"]');this._handlers()} 2_handlers(){for(const control of this._controls){control.addEventListener('click',()=>{if(control.attributes['data-dialog-action'].value=='open'){this._open()}else if(control.attributes['data-dialog-action'].value=='close'){this._close()}})} 3this._dialog.addEventListener('click',(e)=>{if(e.target==this._dialog){this._close()}})} 4_open(){this._dialog.showModal();for(const control of this._controls){control.setAttribute('aria-expanded','true')}} 5_close(){this._dialog.close();for(const control of this._controls){control.setAttribute('aria-expanded','false')}}};(function(){const dialogs=document.querySelectorAll('.dialog');if(dialogs){for(const dialog of dialogs){const test=new Draad_Dialog(dialog)}}})()
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.