Samx Here
n1udSecurity


Server : Apache
System : Linux ks5.tuic.fr 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64
User : pragmatice ( 1003)
PHP Version : 8.2.24
Disable Function : NONE
Directory :  /home/etherpad/var/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/etherpad/var/minified_683182c8f5eabfa336bbae53a5d7066cae587dbfd26b8b27c77e0845f20a4d37
require.define({"ep_comments_page/static/js/preCommentMark.js": {"(module ep_comments_page/static/js/preCommentMark.js)": function (require, exports, module) {"use strict";exports.MARK_CLASS="pre-selected-comment";const PreCommentMarker=function(e){this.ace=e;const t=this;this.highlightSelectedText()&&setTimeout((()=>{t.unmarkSelectedText()}),0)};PreCommentMarker.prototype.highlightSelectedText=function(){return clientVars.highlightSelectedText},PreCommentMarker.prototype.markSelectedText=function(){this.highlightSelectedText()&&this.ace.callWithAce(doNothing,"markPreSelectedTextToComment",!0)},PreCommentMarker.prototype.unmarkSelectedText=function(){this.highlightSelectedText()&&this.ace.callWithAce(doNothing,"unmarkPreSelectedTextToComment",!0)},PreCommentMarker.prototype.performNonUnduableEvent=function(e,t,r){t.startNewEvent("nonundoable"),r(),t.startNewEvent(e)},PreCommentMarker.prototype.handleMarkText=function(e){const t=e.editorInfo,r=e.rep,n=e.callstack;this.removeMarks(t,r,n),this.addMark(t,n)},PreCommentMarker.prototype.handleUnmarkText=function(e){const t=e.editorInfo,r=e.rep,n=e.callstack;this.removeMarks(t,r,n)},PreCommentMarker.prototype.addMark=function(e,t){const r=t.editEvent.eventType;this.performNonUnduableEvent(r,t,(()=>{e.ace_setAttributeOnSelection(exports.MARK_CLASS,clientVars.userId)}))},PreCommentMarker.prototype.removeMarks=function(e,t,r){const n=r.editEvent.eventType,o=t.selStart,a=t.selEnd;this.performNonUnduableEvent(n,r,(()=>{const t=$('iframe[name="ace_outer"]').contents().find('iframe[name="ace_inner"]'),r=`.${exports.MARK_CLASS}`,n=e.ace_getRepFromSelector(r,t);$.each(n,((t,r)=>{e.ace_performSelectionChange(r[0],r[1],!0),e.ace_setAttributeOnSelection(exports.MARK_CLASS,!1)})),e.ace_performSelectionChange(o,a,!0)}))};const doNothing=()=>{};exports.init=e=>new PreCommentMarker(e);}}["(module ep_comments_page/static/js/preCommentMark.js)"],
});

SAMX