@ckeditor/ckeditor5-comments
Version:
Collaborative comments feature for CKEditor 5.
23 lines • 5.18 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. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
function _0x394e(){const _0x271a5e=['targetRect','destroy','isDirty','height','focus','2908608uMbLFX','createCollection','detach','focusTracker','render','3UixXQq','clientHeight','add','156720BxHSns','ck-annotation-wrapper--active','7665SFaEue','48183343FPvrzh','presentation','_updateHeight','clear','40950YhkwHm','div','_mutationObserver','378sKeYkF','ck-rounded-corners','set','ck-annotation-wrapper','fire','keystrokes','arrowdown','type','55zQpbUa','bindTemplate','isActive','1400zjgArc','attach','893QrRlkD','delegate','6432MVaFiI','listenTo','length','mainView','content','setTemplate','first','element','arrowup','845156dhpMMn','Esc','516hsJQJy'];_0x394e=function(){return _0x271a5e;};return _0x394e();}const _0x1a2e5e=_0x5ebd;(function(_0x2601d3,_0x34096b){const _0x565dfa=_0x5ebd,_0x2d01c8=_0x2601d3();while(!![]){try{const _0x2be5a1=parseInt(_0x565dfa(0x11a))/0x1*(parseInt(_0x565dfa(0x127))/0x2)+parseInt(_0x565dfa(0x100))/0x3*(-parseInt(_0x565dfa(0x125))/0x4)+parseInt(_0x565dfa(0x105))/0x5*(parseInt(_0x565dfa(0x11c))/0x6)+parseInt(_0x565dfa(0x10a))/0x7*(parseInt(_0x565dfa(0x118))/0x8)+-parseInt(_0x565dfa(0x10d))/0x9*(-parseInt(_0x565dfa(0x103))/0xa)+parseInt(_0x565dfa(0x115))/0xb*(parseInt(_0x565dfa(0xfb))/0xc)+-parseInt(_0x565dfa(0x106))/0xd;if(_0x2be5a1===_0x34096b)break;else _0x2d01c8['push'](_0x2d01c8['shift']());}catch(_0x4706c3){_0x2d01c8['push'](_0x2d01c8['shift']());}}}(_0x394e,0xcf82c));import{View as _0x7c63b7}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2af42d,KeystrokeHandler as _0x2bf180,uid as _0x4491c1}from'ckeditor5/src/utils.js';function _0x5ebd(_0x5b202f,_0x2b529c){const _0x394e40=_0x394e();return _0x5ebd=function(_0x5ebd57,_0xdc199d){_0x5ebd57=_0x5ebd57-0xf7;let _0x3f4263=_0x394e40[_0x5ebd57];return _0x3f4263;},_0x5ebd(_0x5b202f,_0x2b529c);}import _0x33a5f9 from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export default class S extends _0x7c63b7{[_0x1a2e5e(0xfe)];['id'];[_0x1a2e5e(0x112)];[_0x1a2e5e(0x120)];[_0x1a2e5e(0x11f)];[_0x1a2e5e(0x10c)];constructor(_0x4f86a6,_0x5b9174){const _0x3ac89f=_0x1a2e5e;super(_0x4f86a6),this['id']=_0x4491c1(),this[_0x3ac89f(0xfe)]=new _0x2af42d(),this[_0x3ac89f(0x112)]=new _0x2bf180(),this[_0x3ac89f(0x112)][_0x3ac89f(0x10f)](_0x3ac89f(0x126),(_0x3993b3,_0x5d7ddb)=>this[_0x3ac89f(0x111)](_0x3ac89f(0x126),_0x5d7ddb)),this[_0x3ac89f(0x10f)](_0x3ac89f(0x128),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x3ac89f(0x10f)](_0x3ac89f(0xf9),0x0),this[_0x3ac89f(0x10f)](_0x3ac89f(0x117),!0x1),this[_0x3ac89f(0x10f)](_0x3ac89f(0xf8),!0x1),this[_0x3ac89f(0x10f)](_0x3ac89f(0x11e),0x0),this[_0x3ac89f(0x10f)](_0x3ac89f(0x114),''),this[_0x3ac89f(0x10c)]=_0x33a5f9(()=>this[_0x3ac89f(0x108)]()),this[_0x3ac89f(0x120)]=this[_0x3ac89f(0xfc)](),this[_0x3ac89f(0x120)][_0x3ac89f(0x11b)](_0x3ac89f(0x124),_0x3ac89f(0x113))['to'](this),this[_0x3ac89f(0x120)][_0x3ac89f(0x102)](_0x5b9174),this[_0x3ac89f(0x11f)]=_0x5b9174;const _0x40c424=this[_0x3ac89f(0x116)];this[_0x3ac89f(0x121)]({'tag':_0x3ac89f(0x10b),'attributes':{'class':['ck',_0x3ac89f(0x110),_0x3ac89f(0x10e),_0x40c424['if'](_0x3ac89f(0x117),_0x3ac89f(0x104))],'role':_0x3ac89f(0x107)},'children':this[_0x3ac89f(0x120)]});}[_0x1a2e5e(0xff)](){const _0x29eb82=_0x1a2e5e;super[_0x29eb82(0xff)](),this[_0x29eb82(0xfe)][_0x29eb82(0x102)](this[_0x29eb82(0x123)]),this[_0x29eb82(0x112)][_0x29eb82(0x11d)](this[_0x29eb82(0x123)]),this[_0x29eb82(0x10c)][_0x29eb82(0x119)](this[_0x29eb82(0x123)]);}[_0x1a2e5e(0xf7)](){const _0x2e3279=_0x1a2e5e;this[_0x2e3279(0x120)][_0x2e3279(0x109)](),this[_0x2e3279(0x112)][_0x2e3279(0xf7)](),this[_0x2e3279(0xfe)][_0x2e3279(0xf7)](),this[_0x2e3279(0x10c)][_0x2e3279(0xfd)](),super[_0x2e3279(0xf7)]();}[_0x1a2e5e(0xfa)](){const _0x3ab9bf=_0x1a2e5e;this[_0x3ab9bf(0x120)][_0x3ab9bf(0x122)]&&this[_0x3ab9bf(0x120)][_0x3ab9bf(0x122)][_0x3ab9bf(0xfa)]();}[_0x1a2e5e(0x108)](){const _0x2bd884=_0x1a2e5e,_0x15fd32=this[_0x2bd884(0x123)][_0x2bd884(0x101)];_0x15fd32&&(this[_0x2bd884(0xf9)]=_0x15fd32);}}