1const _0x39ce9b=_0x2c73;(function(_0x3e2de3,_0x4b7c23){const _0x518b78=_0x2c73,_0x24f457=_0x3e2de3();while(!![]){try{const _0x3a20a7=-parseInt(_0x518b78(0xa1))/0x1+parseInt(_0x518b78(0xa6))/0x2+-parseInt(_0x518b78(0xc9))/0x3+-parseInt(_0x518b78(0x9c))/0x4+-parseInt(_0x518b78(0xcc))/0x5+parseInt(_0x518b78(0xb6))/0x6*(parseInt(_0x518b78(0xc6))/0x7)+-parseInt(_0x518b78(0xba))/0x8*(-parseInt(_0x518b78(0x9b))/0x9);if(_0x3a20a7===_0x4b7c23)break;else _0x24f457['push'](_0x24f457['shift']());}catch(_0x3605bb){_0x24f457['push'](_0x24f457['shift']());}}}(_0x509d,0x53b31));class AdvancedEditor{constructor(_0x289270){const _0x5b783a=_0x2c73;this[_0x5b783a(0xb4)]=_0x289270,this['container']=document['getElementById'](_0x289270),this[_0x5b783a(0xa9)]=null,this['lineNumbers']=null,this[_0x5b783a(0xb1)]='',this[_0x5b783a(0xbc)]=0x1,this[_0x5b783a(0xac)]=0x0,this[_0x5b783a(0xab)]=null,this['init']();}['init'](){const _0x216eb4=_0x2c73;this[_0x216eb4(0xc7)](),this['bindEvents'](),this['updateLineNumbers']();}[_0x39ce9b(0xc7)](){const _0x478576=_0x39ce9b;this['container']['innerHTML']='',this['container'][_0x478576(0x94)]=_0x478576(0xad)+this['containerId']+'-lines\x22></div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22editor-panel\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<textarea\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20class=\x22editor-textarea\x22\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id=\x22'+this['containerId']+_0x478576(0xb8),this['textarea']=this['container']['querySelector']('.editor-textarea'),this['lineNumbers']=this['container']['querySelector']('.line-numbers-panel'),this['updatePlaceholder']();}['updatePlaceholder'](){const _0x43794f=_0x39ce9b,_0x342f9e={'editor1':'Paste\x20your\x20first\x20text\x20here\x20to\x20compare...','editor2':'Paste\x20your\x20second\x20text\x20here\x20to\x20compare...'};_0x342f9e[this['containerId']]&&(this[_0x43794f(0xa9)][_0x43794f(0xc2)]=_0x342f9e[this['containerId']]);}['bindEvents'](){const _0x159caf=_0x39ce9b;this[_0x159caf(0xa9)]['addEventListener'](_0x159caf(0xc8),()=>this['handleInput']()),this['textarea'][_0x159caf(0xa0)]('scroll',()=>this['syncScroll']()),this[_0x159caf(0xa9)][_0x159caf(0xa0)](_0x159caf(0xa5),_0x316711=>this['handleKeydown'](_0x316711)),this[_0x159caf(0xa9)][_0x159caf(0xa0)]('focus',()=>this['handleFocus']()),this[_0x159caf(0xa9)][_0x159caf(0xa0)]('blur',()=>this['handleBlur']()),this['textarea']['addEventListener']('paste',()=>{const _0x1a7c52=_0x159caf;setTimeout(()=>this[_0x1a7c52(0x95)](),0xa);}),window['addEventListener'](_0x159caf(0xb5),()=>this['handleResize']());}['handleInput'](){const _0x3ceef3=_0x39ce9b;this[_0x3ceef3(0xb1)]=this['textarea']['value'],this['updateLineCount'](),this['visualLinesCache']=null,this[_0x3ceef3(0xb7)](),this['notifyChange']();}['handleKeydown'](_0x1cd0a2){const _0x5e50cf=_0x39ce9b;_0x1cd0a2[_0x5e50cf(0xa3)]===_0x5e50cf(0xc0)&&(_0x1cd0a2['preventDefault'](),this[_0x5e50cf(0x9f)]()),(_0x1cd0a2['ctrlKey']||_0x1cd0a2[_0x5e50cf(0x92)])&&_0x1cd0a2['key']==='a'&&(_0x1cd0a2['preventDefault'](),this['selectAll']());}['handleFocus'](){const _0x80cdad=_0x39ce9b;this['container']['classList'][_0x80cdad(0xbb)](_0x80cdad(0xae));}['handleBlur'](){const _0x57a376=_0x39ce9b;this['container'][_0x57a376(0xc1)]['remove']('focused');}['handleResize'](){clearTimeout(this['resizeTimeout']),this['resizeTimeout']=setTimeout(()=>{this['updateLineNumbers'](),this['syncScroll']();},0x64);}['insertTab'](){const _0x55301=_0x39ce9b,_0x4c2a61=this[_0x55301(0xa9)]['selectionStart'],_0x27dc3b=this[_0x55301(0xa9)]['selectionEnd'],value=this[_0x55301(0xa9)]['value'],_0x564a8c='\x20\x20\x20\x20';this['textarea']['value']=value['substring'](0x0,_0x4c2a61)+_0x564a8c+value['substring'](_0x27dc3b),this['textarea']['selectionStart']=this['textarea'][_0x55301(0xcf)]=_0x4c2a61+_0x564a8c['length'],this['handleInput']();}['selectAll'](){this['textarea']['select']();}['updateLineCount'](){const _0x10ee7a=_0x39ce9b,_0x119808=this[_0x10ee7a(0xb1)]?this['content'][_0x10ee7a(0x90)]('\x0a')[_0x10ee7a(0xb0)]:0x1;if(_0x119808!==this[_0x10ee7a(0xbc)])return this['lineCount']=_0x119808,!![];return![];}['updateLineNumbers'](){const _0x3102b9=_0x39ce9b;if(!this['textarea'])return;const _0x5501ed=this[_0x3102b9(0xc5)]();_0x5501ed['textContent']=this['content']||'\x20';const _0x124091=_0x5501ed[_0x3102b9(0xce)],_0xb1d569=parseInt(window['getComputedStyle'](this[_0x3102b9(0xa9)])['lineHeight'])||0x14,_0x24a119=Math['max'](0x1,Math['ceil'](_0x124091/_0xb1d569));document[_0x3102b9(0xbe)]['removeChild'](_0x5501ed);const _0x111d6e=this[_0x3102b9(0xb1)]?this['content'][_0x3102b9(0x90)]('\x0a'):[''];let _0x47bd41='',_0x1c8da0=0x1,_0x226b14=0x0;for(let _0x5b2450=0x0;_0x5b2450<_0x111d6e['length'];_0x5b2450++){const _0x2c4336=_0x111d6e[_0x5b2450],_0x418379=this['calculateVisualLinesForText'](_0x2c4336);_0x47bd41+='<div\x20class=\x22line-number\x22>
1'+_0x1c8da0+'</div>',_0x226b14++;for(let _0x5ac7d5=0x1;_0x5ac7d5<_0x418379;_0x5ac7d5++){_0x47bd41+='<div\x20class=\x22line-number\x20line-number-continued\x22></div>',_0x226b14++;}_0x1c8da0++;}while(_0x226b14<_0x24a119){_0x47bd41+=_0x3102b9(0x91),_0x226b14++;}this['lineNumbers']['innerHTML']=_0x47bd41;}['createMirrorElement'](){const _0x2b047c=_0x39ce9b,_0x1b89c0=document['createElement'](_0x2b047c(0xbf)),_0x4ab2bb=window[_0x2b047c(0x97)](this[_0x2b047c(0xa9)]);return _0x1b89c0['style']['cssText']=_0x2b047c(0xb3)+(this[_0x2b047c(0xa9)][_0x2b047c(0xb2)]-parseInt(_0x4ab2bb['paddingLeft'])-parseInt(_0x4ab2bb['paddingRight']))+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20'+_0x4ab2bb['fontFamily']+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x20'+_0x4ab2bb[_0x2b047c(0x9a)]+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-weight:\x20'+_0x4ab2bb['fontWeight']+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20line-height:\x20'+_0x4ab2bb['lineHeight']+_0x2b047c(0xbd)+_0x4ab2bb['letterSpacing']+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20white-space:\x20pre-wrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20word-wrap:\x20break-word;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20word-break:\x20break-word;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow-wrap:\x20break-word;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20',document['body']['appendChild'](_0x1b89c0),_0x1b89c0;}[_0x39ce9b(0xa8)](_0x5a9c1f){const _0x4ed987=_0x39ce9b;if(!_0x5a9c1f)return 0x1;const _0x173c4b=this['createMirrorElement']();_0x173c4b['textContent']=_0x5a9c1f;const _0x1a67ee=_0x173c4b['scrollHeight'],_0x10dcbb=parseInt(window['getComputedStyle'](this[_0x4ed987(0xa9)])['lineHeight'])||0x14,_0x53006f=Math['max'](0x1,Math['ceil'](_0x1a67ee/_0x10dcbb));return document[_0x4ed987(0xbe)][_0x4ed987(0xaa)](_0x173c4b),_0x53006f;}[_0x39ce9b(0x93)](){const _0x2a76e7=_0x39ce9b;this[_0x2a76e7(0xcb)]&&this['textarea']&&(this[_0x2a76e7(0xcb)]['scrollTop']=this[_0x2a76e7(0xa9)]['scrollTop']);}['notifyChange'](){const _0x5e0b11=_0x39ce9b,_0x5adae7=new CustomEvent('editorChange',{'detail':{'value':this[_0x5e0b11(0xb1)],'lineCount':this['lineCount'],'characterCount':this[_0x5e0b11(0xb1)]['length']}});this['container'][_0x5e0b11(0x9d)](_0x5adae7);}['getValue'](){const _0x4149e3=_0x39ce9b;return this[_0x4149e3(0xa9)]?this['textarea']['value']:'';}['setValue'](_0x5f4cb1){const _0xd7a69d=_0x39ce9b;this['textarea']&&(this[_0xd7a69d(0xa9)]['value']=_0x5f4cb1||'',this['handleInput']());}['getLineCount'](){return this['lineCount'];}['getCharacterCount'](){const _0x2b433d=_0x39ce9b;return this[_0x2b433d(0xb1)][_0x2b433d(0xb0)];}['focus'](){const _0x4fc178=_0x39ce9b;this[_0x4fc178(0xa9)]&&this['textarea']['focus']();}[_0x39ce9b(0xb9)](){this['textarea']&&this['textarea']['blur']();}[_0x39ce9b(0xc4)](){this['setValue']('');}[_0x39ce9b(0x9e)](_0x1e5604,_0x463290=null){const _0x1249e0=_0x39ce9b;if(!this[_0x1249e0(0xa9)])return;const _0x50c116=_0x463290!==null?_0x463290:this['textarea']['selectionStart'],_0x1c5bf6=_0x463290!==null?_0x463290:this['textarea']['selectionEnd'],value=this['textarea'][_0x1249e0(0xa4)];this['textarea']['value']=value['substring'](0x0,_0x50c116)+_0x1e5604+value[_0x1249e0(0x96)](_0x1c5bf6),this['textarea']['selectionStart']=this['textarea'][_0x1249e0(0xcf)]=_0x50c116+_0x1e5604['length'],this['handleInput']();}['getSelectedText'](){const _0xf2225f=_0x39ce9b;if(!this['textarea'])return'';const _0x51496f=this[_0xf2225f(0xa9)]['selectionStart'],_0x71c16f=this[_0xf2225f(0xa9)]['selectionEnd'];return this[_0xf2225f(0xa9)][_0xf2225f(0xa4)]['substring'](_0x51496f,_0x71c16f);}['replaceSelectedText'](_0x170d4a){const _0x4357a0=_0x39ce9b;if(!this['textarea'])return;const _0x4b49f8=this['textarea']['selectionStart'],_0x2d47f0=this['textarea'][_0x4357a0(0xcf)],value=this['textarea']['value'];this['textarea']['value']=value['substring'](0x0,_0x4b49f8)+_0x170d4a+value['substring'](_0x2d47f0),this['textarea'][_0x4357a0(0xa7)]=this['textarea'][_0x4357a0(0xcf)]=_0x4b49f8+_0x170d4a[_0x4357a0(0xb0)],this['handleInput']();}['getCursorPosition'](){return this['textarea']?this['textarea']['selectionStart']:0x0;}
1['setCursorPosition'](_0x44a7b6){const _0x16105f=_0x39ce9b;this['textarea']&&(this['textarea'][_0x16105f(0xa7)]=this[_0x16105f(0xa9)]['selectionEnd']=_0x44a7b6,this['textarea']['focus']());}[_0x39ce9b(0xc3)](_0x56e6e9){const _0x332613=_0x39ce9b;if(!this['textarea'])return;const _0x4bbef5=this['content']['split']('\x0a');let _0x2b5b80=0x0;for(let _0x37cbe0=0x0;_0x37cbe0<Math['min'](_0x56e6e9-0x1,_0x4bbef5['length']-0x1);_0x37cbe0++){_0x2b5b80+=_0x4bbef5[_0x37cbe0][_0x332613(0xb0)]+0x1;}this[_0x332613(0xcd)](_0x2b5b80);const _0x40324a=parseInt(getComputedStyle(this[_0x332613(0xa9)])[_0x332613(0xa2)]),_0x47bc9d=(_0x56e6e9-0x1)*_0x40324a;this['textarea']['scrollTop']=_0x47bc9d;}['undo'](){const _0x50da63=_0x39ce9b;document['execCommand'](_0x50da63(0x99)),this['handleInput']();}[_0x39ce9b(0x98)](){const _0x5e2676=_0x39ce9b;document['execCommand']('redo'),this[_0x5e2676(0x95)]();}['destroy'](){const _0x2f9296=_0x39ce9b;this['textarea']&&(this['textarea'][_0x2f9296(0xaf)](_0x2f9296(0xc8),this['handleInput']),this['textarea']['removeEventListener'](_0x2f9296(0xca),this['syncScroll'])),window['removeEventListener']('resize',this['handleResize']),this['resizeTimeout']&&clearTimeout(this['resizeTimeout']),this['container'][_0x2f9296(0x94)]='';}}window['AdvancedEditor']=AdvancedEditor;function _0x2c73(_0x387bd2,_0x1c0550){const _0x509d5a=_0x509d();return _0x2c73=function(_0x2c7362,_0x38e0ea){_0x2c7362=_0x2c7362-0x90;let _0x3f6b79=_0x509d5a[_0x2c7362];return _0x3f6b79;},_0x2c73(_0x387bd2,_0x1c0550);}function _0x509d(){const _0x362bc4=['content','clientWidth','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:\x20-9999px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20left:\x20-9999px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','containerId','resize','42IItaMd','updateLineNumbers','-textarea\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20spellcheck=\x22false\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autocomplete=\x22off\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autocorrect=\x22off\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20autocapitalize=\x22off\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20data-gramm=\x22false\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20></textarea>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20','blur','2328dFtvHB','add','lineCount',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20letter-spacing:\x20','body','div','Tab','classList','placeholder','scrollToLine','clear','createMirrorElement','604961fTNDUn','createEditor','input','323517PXaFzO','scroll','lineNumbers','2092610GUHPEy','setCursorPosition','scrollHeight','selectionEnd','split','<div\x20class=\x22line-number\x22></div>','metaKey','syncScroll','innerHTML','handleInput','substring','getComputedStyle','redo','undo','fontSize','31239gulinX','513164VHMBlu','dispatchEvent','insertText','insertTab','addEventListener','658973yxiBiK','lineHeight','key','value','keydown','82872XdDMku','selectionStart','calculateVisualLinesForText','textarea','removeChild','visualLinesCache','lastWidth','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22advanced-editor\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22line-numbers-panel\x22\x20id=\x22','focused','removeEventListener','length'];_0x509d=function(){return _0x362bc4;};return _0x509d();}
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.