@ckeditor/ckeditor5-comments
Version:
Collaborative comments feature for CKEditor 5.
24 lines • 4.59 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. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
var _0x34a082=_0x2f81;(function(_0x132d3e,_0x3b23cb){var _0x2a9670=_0x2f81,_0x15a984=_0x132d3e();while(!![]){try{var _0x14540e=parseInt(_0x2a9670(0x1e8))/0x1*(parseInt(_0x2a9670(0x1ef))/0x2)+-parseInt(_0x2a9670(0x1eb))/0x3*(parseInt(_0x2a9670(0x1d5))/0x4)+-parseInt(_0x2a9670(0x1f4))/0x5+parseInt(_0x2a9670(0x1f2))/0x6*(parseInt(_0x2a9670(0x1f0))/0x7)+parseInt(_0x2a9670(0x1e7))/0x8+parseInt(_0x2a9670(0x1f1))/0x9+-parseInt(_0x2a9670(0x1dd))/0xa*(parseInt(_0x2a9670(0x1d8))/0xb);if(_0x14540e===_0x3b23cb)break;else _0x15a984['push'](_0x15a984['shift']());}catch(_0x3d7bf1){_0x15a984['push'](_0x15a984['shift']());}}}(_0x4a38,0x320c9));function _0x4a38(){var _0x132b0a=['1496sSapQJ','resolve','isResolved','3795dnKyFl','_isAttached','resolveCommentThread','submitCommentThread','view','8810VAKbSY','listenTo','model','getComment','updateComment','addComment','reopen','removeComment','stopListening','reopenCommentThread','371136yDPjoP','239XBGSYX','update','remove','141jkXDWg','destroy','removeCommentThread','submit','2086SvyYZT','14qCKGwc','804168GOnQBw','1077702WkdEDT','_localUser','1088655mmNmfz'];_0x4a38=function(){return _0x132b0a;};return _0x4a38();}import{ObservableMixin as _0x3ae77a}from'ckeditor5/src/utils.js';function _0x2f81(_0x29208e,_0x421aad){var _0x4a38dd=_0x4a38();return _0x2f81=function(_0x2f8122,_0x21fe95){_0x2f8122=_0x2f8122-0x1d5;var _0x14a0b3=_0x4a38dd[_0x2f8122];return _0x14a0b3;},_0x2f81(_0x29208e,_0x421aad);}export default class Ct extends/* #__PURE__ -- */
_0x3ae77a(){[_0x34a082(0x1df)];[_0x34a082(0x1dc)];constructor(_0x50b929,_0x466960){var _0x387e7f=_0x34a082;super(),this[_0x387e7f(0x1df)]=_0x50b929,this[_0x387e7f(0x1df)][_0x387e7f(0x1d9)]=!0x0,this[_0x387e7f(0x1dc)]=_0x466960,this[_0x387e7f(0x1de)](_0x466960,_0x387e7f(0x1db),()=>this[_0x387e7f(0x1ee)]()),this[_0x387e7f(0x1de)](_0x466960,_0x387e7f(0x1ed),()=>this[_0x387e7f(0x1ea)]()),this[_0x387e7f(0x1de)](_0x466960,_0x387e7f(0x1da),()=>this[_0x387e7f(0x1d6)]()),this[_0x387e7f(0x1de)](_0x466960,_0x387e7f(0x1e6),()=>this[_0x387e7f(0x1e3)]()),this[_0x387e7f(0x1de)](_0x466960,_0x387e7f(0x1e2),(_0x4a3e6e,_0x52d916)=>this[_0x387e7f(0x1e2)](_0x52d916)),this[_0x387e7f(0x1de)](_0x466960,_0x387e7f(0x1e1),(_0x422e37,_0xdbf987,_0x2a033d)=>this[_0x387e7f(0x1e1)](_0xdbf987,_0x2a033d)),this[_0x387e7f(0x1de)](_0x466960,_0x387e7f(0x1e4),(_0x2cbe27,_0x207d07)=>this[_0x387e7f(0x1e4)](_0x207d07));}[_0x34a082(0x1ee)](){var _0x1b3ee5=_0x34a082;this[_0x1b3ee5(0x1df)][_0x1b3ee5(0x1ee)]();}[_0x34a082(0x1ea)](){var _0x7af3e4=_0x34a082;this[_0x7af3e4(0x1df)][_0x7af3e4(0x1ea)]();}[_0x34a082(0x1d6)](){var _0x8a1f7d=_0x34a082;this[_0x8a1f7d(0x1df)][_0x8a1f7d(0x1d7)]||this[_0x8a1f7d(0x1df)][_0x8a1f7d(0x1d6)]();}[_0x34a082(0x1e3)](){var _0x2818c9=_0x34a082;this[_0x2818c9(0x1df)][_0x2818c9(0x1d7)]&&this[_0x2818c9(0x1df)][_0x2818c9(0x1e3)]();}[_0x34a082(0x1e2)](_0x29f52d){var _0x361d52=_0x34a082;this[_0x361d52(0x1df)][_0x361d52(0x1e2)]({'content':_0x29f52d,'authorId':this[_0x361d52(0x1dc)][_0x361d52(0x1f3)]['id']});}[_0x34a082(0x1e1)](_0x3a0999,_0x114312){var _0x56977d=_0x34a082;this[_0x56977d(0x1df)][_0x56977d(0x1e0)](_0x3a0999)[_0x56977d(0x1e9)]({'content':_0x114312});}[_0x34a082(0x1e4)](_0x559021){var _0x5d92ca=_0x34a082;this[_0x5d92ca(0x1df)][_0x5d92ca(0x1e0)](_0x559021)[_0x5d92ca(0x1ea)]();}[_0x34a082(0x1ec)](){var _0x1536c5=_0x34a082;this[_0x1536c5(0x1e5)](),this[_0x1536c5(0x1df)][_0x1536c5(0x1d9)]=!0x1;}}