@ckeditor/ckeditor5-comments
Version:
Collaborative comments feature for CKEditor 5.
23 lines • 3.77 kB
JavaScript
/*
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
*
*
*
*
* +---------------------------------------------------------------------------------+
* | |
* | Hello stranger! |
* | |
* | |
* | What you're currently looking at is the source code of a legally protected, |
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
* | are forbidden and will result in legal consequences. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
const _0x322664=_0x4f04;(function(_0x25ec26,_0x32e47e){const _0x4dffcf=_0x4f04,_0x11be02=_0x25ec26();while(!![]){try{const _0x3c9cd7=-parseInt(_0x4dffcf(0x10d))/0x1*(parseInt(_0x4dffcf(0x11c))/0x2)+-parseInt(_0x4dffcf(0x116))/0x3*(parseInt(_0x4dffcf(0x119))/0x4)+-parseInt(_0x4dffcf(0x118))/0x5+-parseInt(_0x4dffcf(0x101))/0x6+parseInt(_0x4dffcf(0x11b))/0x7*(-parseInt(_0x4dffcf(0x117))/0x8)+-parseInt(_0x4dffcf(0x11e))/0x9*(parseInt(_0x4dffcf(0x107))/0xa)+parseInt(_0x4dffcf(0x10a))/0xb;if(_0x3c9cd7===_0x32e47e)break;else _0x11be02['push'](_0x11be02['shift']());}catch(_0x417cdd){_0x11be02['push'](_0x11be02['shift']());}}}(_0x28f0,0x7b35e));import{InlineEditableUIView as _0x9430e8,EditorUIView as _0x3266ea}from'ckeditor5/src/ui.js';function _0x28f0(){const _0x5677a0=['ck-editor','ck-reset','35105323HiFGjD','main','uiLanguageDirection','1zyskjd','presentation','div','ck-editor__main','editable','focus','Comment\x20editor','render','element','3210cKrTiF','3259464Fulwvk','4991885hcxRTs','3076PULjpN','add','7oneVyY','650606QIvmMl','ck-rounded-corners','27PTdUkM','224352gvCvlI','ck-comment__input','setTemplate','createCollection','cke-editor__aria-label_','uiLanguage','317960vqyIkZ'];_0x28f0=function(){return _0x5677a0;};return _0x28f0();}function _0x4f04(_0x5be808,_0x117657){const _0x28f0ad=_0x28f0();return _0x4f04=function(_0x4f04f5,_0x22eb8d){_0x4f04f5=_0x4f04f5-0x101;let _0x1f21b8=_0x28f0ad[_0x4f04f5];return _0x1f21b8;},_0x4f04(_0x5be808,_0x117657);}import{uid as _0x3ad8f4}from'ckeditor5/src/utils.js';import{getTranslation as _0x5203a9}from'../../../utils/common-translations.js';export default class Ut extends _0x3266ea{[_0x322664(0x10b)];[_0x322664(0x111)];constructor(_0x258edf,_0x1a8d58){const _0x2cfd96=_0x322664;super(_0x258edf);const _0x276e08=_0x3ad8f4();this[_0x2cfd96(0x10b)]=this[_0x2cfd96(0x104)](),this[_0x2cfd96(0x111)]=new _0x9430e8(_0x258edf,_0x1a8d58,void 0x0,{'label':()=>_0x5203a9(_0x258edf,_0x2cfd96(0x113))}),this[_0x2cfd96(0x103)]({'tag':_0x2cfd96(0x10f),'attributes':{'class':[_0x2cfd96(0x109),_0x2cfd96(0x108),_0x2cfd96(0x11d),_0x2cfd96(0x102)],'dir':_0x258edf[_0x2cfd96(0x10c)],'lang':_0x258edf[_0x2cfd96(0x106)],'aria-labelledby':_0x2cfd96(0x105)+_0x276e08},'children':[{'tag':_0x2cfd96(0x10f),'attributes':{'class':_0x2cfd96(0x110),'role':_0x2cfd96(0x10e)},'children':this[_0x2cfd96(0x10b)]}]});}[_0x322664(0x114)](){const _0x927e23=_0x322664;super[_0x927e23(0x114)](),this[_0x927e23(0x10b)][_0x927e23(0x11a)](this[_0x927e23(0x111)]);}[_0x322664(0x112)](){const _0x5ba9ea=_0x322664;this[_0x5ba9ea(0x111)][_0x5ba9ea(0x115)][_0x5ba9ea(0x112)]();}}