UNPKG

@ckeditor/ckeditor5-comments

Version:

Collaborative comments feature for CKEditor 5.

23 lines 3.56 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. | * | | * | | * +---------------------------------------------------------------------------------+ * * * * */ function _0x2ef2(_0x5c95cb,_0x1df237){const _0x5c3e0b=_0x5c3e();return _0x2ef2=function(_0x2ef238,_0x37d3d0){_0x2ef238=_0x2ef238-0xb1;let _0x178a55=_0x5c3e0b[_0x2ef238];return _0x178a55;},_0x2ef2(_0x5c95cb,_0x1df237);}const _0x4e78d6=_0x2ef2;(function(_0x39fe61,_0x591964){const _0x2f867f=_0x2ef2,_0x1c3b28=_0x39fe61();while(!![]){try{const _0x1b1f98=parseInt(_0x2f867f(0xb7))/0x1+parseInt(_0x2f867f(0xba))/0x2+-parseInt(_0x2f867f(0xbd))/0x3+-parseInt(_0x2f867f(0xbb))/0x4*(parseInt(_0x2f867f(0xb3))/0x5)+parseInt(_0x2f867f(0xb6))/0x6+-parseInt(_0x2f867f(0xb9))/0x7*(-parseInt(_0x2f867f(0xb2))/0x8)+parseInt(_0x2f867f(0xbe))/0x9;if(_0x1b1f98===_0x591964)break;else _0x1c3b28['push'](_0x1c3b28['shift']());}catch(_0x4bdd3c){_0x1c3b28['push'](_0x1c3b28['shift']());}}}(_0x5c3e,0xe7839));function _0x5c3e(){const _0x39bef6=['init','setEditableElement','getRoot','fire','destroy','view','focusTracker','name','element','bind','64pILcRa','3316785vCkega','render','editing','5530224odRgWO','564479SoWlnd','locale','37478uTMUds','1508424FrDNvI','4MIefyR','attachDomRoot','2091423cqxlWX','229968FxhOnH','editor','editable','isFocused','rootName','document','ready'];_0x5c3e=function(){return _0x39bef6;};return _0x5c3e();}import{EditorUI as _0x47d335}from'ckeditor5/src/ui.js';import{CommentEditorUIView as _0x5a7dca}from'./commenteditoruiview.js';export class CommentEditorUI extends _0x47d335{[_0x4e78d6(0xca)];constructor(_0x362160){const _0x2eb13e=_0x4e78d6;super(_0x362160),this[_0x2eb13e(0xca)]=new _0x5a7dca(_0x362160[_0x2eb13e(0xb8)],_0x362160[_0x2eb13e(0xb5)][_0x2eb13e(0xca)]);}get[_0x4e78d6(0xcd)](){const _0x4eb25e=_0x4e78d6;return this[_0x4eb25e(0xca)][_0x4eb25e(0xcd)];}[_0x4e78d6(0xc5)](){const _0x216230=_0x4e78d6,_0x174c19=this[_0x216230(0xbf)][_0x216230(0xb5)][_0x216230(0xca)],_0x2f3cf0=this[_0x216230(0xca)][_0x216230(0xc0)],_0x584a8f=_0x174c19[_0x216230(0xc3)][_0x216230(0xc7)]();_0x2f3cf0[_0x216230(0xcc)]=_0x584a8f[_0x216230(0xc2)],this[_0x216230(0xca)][_0x216230(0xb4)]();const _0xca7c57=_0x2f3cf0[_0x216230(0xcd)];this[_0x216230(0xc6)](_0x2f3cf0[_0x216230(0xcc)],_0xca7c57),this[_0x216230(0xca)][_0x216230(0xc0)][_0x216230(0xb1)](_0x216230(0xc1))['to'](this[_0x216230(0xcb)]),_0x174c19[_0x216230(0xbc)](_0xca7c57),this[_0x216230(0xc8)](_0x216230(0xc4));}[_0x4e78d6(0xc9)](){const _0x273fe0=_0x4e78d6;super[_0x273fe0(0xc9)](),this[_0x273fe0(0xca)][_0x273fe0(0xc9)]();}}