UNPKG

@ckeditor/ckeditor5-comments

Version:

Collaborative comments feature for CKEditor 5.

23 lines 3.69 kB
/* * 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 _0x276079=_0x394d;(function(_0x5e4db5,_0x551115){const _0x31e6ab=_0x394d,_0x44a43e=_0x5e4db5();while(!![]){try{const _0x3349a0=-parseInt(_0x31e6ab(0x7c))/0x1*(-parseInt(_0x31e6ab(0x77))/0x2)+parseInt(_0x31e6ab(0x8d))/0x3*(-parseInt(_0x31e6ab(0x7e))/0x4)+parseInt(_0x31e6ab(0x93))/0x5+-parseInt(_0x31e6ab(0x8e))/0x6+-parseInt(_0x31e6ab(0x89))/0x7+-parseInt(_0x31e6ab(0x79))/0x8*(parseInt(_0x31e6ab(0x76))/0x9)+parseInt(_0x31e6ab(0x82))/0xa*(parseInt(_0x31e6ab(0x7a))/0xb);if(_0x3349a0===_0x551115)break;else _0x44a43e['push'](_0x44a43e['shift']());}catch(_0x11ff16){_0x44a43e['push'](_0x44a43e['shift']());}}}(_0x3d60,0x973c0));function _0x394d(_0x5b2e23,_0x544cef){const _0x3d60b8=_0x3d60();return _0x394d=function(_0x394d28,_0x5e8c83){_0x394d28=_0x394d28-0x76;let _0x2e5bee=_0x3d60b8[_0x394d28];return _0x2e5bee;},_0x394d(_0x5b2e23,_0x544cef);}import{InlineEditableUIView as _0x12671f,EditorUIView as _0x38a7d5}from'ckeditor5/src/ui.js';function _0x3d60(){const _0x25b0de=['focus','4CShNWp','ck-comment__input','div','setTemplate','30cHYvLO','add','uiLanguage','createCollection','ck-reset','presentation','Comment\x20editor','6665904yIvbDk','ck-editor__main','ck-rounded-corners','element','33909ffKEIv','4964898zpNtmW','render','uiLanguageDirection','cke-editor__aria-label_','ck-editor','1889885MJVqIY','1350BwYegr','794mUubrs','editable','12664gcDieJ','4496338AdGhWW','main','2629oSUtGO'];_0x3d60=function(){return _0x25b0de;};return _0x3d60();}import{uid as _0x22e155}from'ckeditor5/src/utils.js';import{getTranslation as _0x7ec48}from'../../../utils/common-translations.js';export default class Xt extends _0x38a7d5{constructor(_0x203b91,_0x1fefa4){const _0x2b4ff6=_0x394d;super(_0x203b91);const _0x2191a1=_0x22e155();this[_0x2b4ff6(0x7b)]=this[_0x2b4ff6(0x85)](),this[_0x2b4ff6(0x78)]=new _0x12671f(_0x203b91,_0x1fefa4,void 0x0,{'label':()=>_0x7ec48(_0x203b91,_0x2b4ff6(0x88))}),this[_0x2b4ff6(0x81)]({'tag':_0x2b4ff6(0x80),'attributes':{'class':[_0x2b4ff6(0x86),_0x2b4ff6(0x92),_0x2b4ff6(0x8b),_0x2b4ff6(0x7f)],'dir':_0x203b91[_0x2b4ff6(0x90)],'lang':_0x203b91[_0x2b4ff6(0x84)],'aria-labelledby':_0x2b4ff6(0x91)+_0x2191a1},'children':[{'tag':_0x2b4ff6(0x80),'attributes':{'class':_0x2b4ff6(0x8a),'role':_0x2b4ff6(0x87)},'children':this[_0x2b4ff6(0x7b)]}]});}[_0x276079(0x8f)](){const _0x4fd57b=_0x276079;super[_0x4fd57b(0x8f)](),this[_0x4fd57b(0x7b)][_0x4fd57b(0x83)](this[_0x4fd57b(0x78)]);}[_0x276079(0x7d)](){const _0x186296=_0x276079;this[_0x186296(0x78)][_0x186296(0x8c)][_0x186296(0x7d)]();}}