@ckeditor/ckeditor5-comments 47.4.0-alpha.2 → 47.4.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/package.json +19 -19
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10c22c=_0x2c89;(function(_0x1e6799,_0x1faf33){const _0x5ccdce=_0x2c89,_0x3d767e=_0x1e6799();while(!![]){try{const _0x2c62b3=parseInt(_0x5ccdce(0x12e))/0x1*(-parseInt(_0x5ccdce(0x154))/0x2)+parseInt(_0x5ccdce(0x168))/0x3*(-parseInt(_0x5ccdce(0x132))/0x4)+-parseInt(_0x5ccdce(0x152))/0x5*(parseInt(_0x5ccdce(0x15e))/0x6)+parseInt(_0x5ccdce(0x161))/0x7*(-parseInt(_0x5ccdce(0x129))/0x8)+-parseInt(_0x5ccdce(0x123))/0x9*(-parseInt(_0x5ccdce(0x137))/0xa)+parseInt(_0x5ccdce(0x167))/0xb*(parseInt(_0x5ccdce(0x124))/0xc)+-parseInt(_0x5ccdce(0x14e))/0xd*(-parseInt(_0x5ccdce(0x16e))/0xe);if(_0x2c62b3===_0x1faf33)break;else _0x3d767e['push'](_0x3d767e['shift']());}catch(_0x3c2a9f){_0x3d767e['push'](_0x3d767e['shift']());}}}(_0x1893,0x59b26));import{View as _0x455067,FocusCycler as _0x28e25e,ButtonView as _0x52e356}from'ckeditor5/src/ui.js';function _0x1893(){const _0x48cadd=['execute','editorReady','ck-comment__input-actions','ck-comment__input-wrapper','submitLabel','TOO_LONG_COMMENT_ALERT','added','focus','high','document','editor','focusTracker','cancelButtonView','11023727CFaFhs','listenTo','_createSubmitButton','shift+tab','15hELtyB','withText','6iNcmIy','bind','model','view','Reply...','value','bindTemplate','Ctrl+Enter','_setupKeyboardNavigation','createEditor','1171296SOekAP','initialData','set','14tgmILj','Esc','_isDestroyed','ck-comment__input-actions--cancel','insertBefore','Reply','11yPLhWD','9kRECPI','getData','label','change','createCollection','focusCycler','28kJfDSG','Cancel','from','div','element','cancel','keystrokes','render','extendTemplate','showButtons','then','_editorCreationPromise','create','_createCancelButton','2601ezuqav','1384104TwgiPM','editorDestroyed','setTemplate','destroy','length','1418288BfBIED','ck-comment__input-actions--submit','setData','stop','fire','118722LPMpXl','forEach','focusFirst','trim','330784ptFqUm','focusables','focusLast','ck-comment__input-actions--active','reverse','3480fAGYZr','add','isEnabled','tab','submit','_editorConfig','disabledSubmit','firstChild','placeholder','submitButtonView'];_0x1893=function(){return _0x48cadd;};return _0x1893();}import{FocusTracker as _0x53043d,KeystrokeHandler as _0xc73875}from'ckeditor5/src/utils.js';function _0x2c89(_0x210005,_0x50ea83){const _0x1893ad=_0x1893();return _0x2c89=function(_0x2c89d8,_0x3201d2){_0x2c89d8=_0x2c89d8-0x121;let _0x54ecd9=_0x1893ad[_0x2c89d8];return _0x54ecd9;},_0x2c89(_0x210005,_0x50ea83);}import{CommentEditor as _0x5a49d0}from'../commenteditor/commenteditor.js';import{getTranslation as _0x4d5eef}from'../../../utils/common-translations.js';export class CommentInputView extends _0x455067{[_0x10c22c(0x174)];[_0x10c22c(0x14c)];[_0x10c22c(0x133)];[_0x10c22c(0x16d)];[_0x10c22c(0x140)];[_0x10c22c(0x14d)];[_0x10c22c(0x13c)];constructor(_0xa750bd,_0x1fcda6={}){const _0x20ec36=_0x10c22c;super(_0xa750bd),this[_0x20ec36(0x14b)]=null,this[_0x20ec36(0x13c)]=_0x1fcda6,this[_0x20ec36(0x160)](_0x20ec36(0x159),_0x1fcda6[_0x20ec36(0x15f)]||''),this[_0x20ec36(0x160)](_0x20ec36(0x13d),!0x1),this[_0x20ec36(0x160)](_0x20ec36(0x177),!0x0),this[_0x20ec36(0x160)](_0x20ec36(0x13f),_0x4d5eef(_0xa750bd,_0x20ec36(0x158))),this[_0x20ec36(0x160)](_0x20ec36(0x145),_0x4d5eef(_0xa750bd,_0x20ec36(0x166))),this[_0x20ec36(0x140)]=this[_0x20ec36(0x150)](),this[_0x20ec36(0x14d)]=this[_0x20ec36(0x122)](),this[_0x20ec36(0x133)]=this[_0x20ec36(0x16c)]([this[_0x20ec36(0x140)],this[_0x20ec36(0x14d)]]),this[_0x20ec36(0x174)]=new _0xc73875(),this[_0x20ec36(0x14c)]=new _0x53043d(),this[_0x20ec36(0x16d)]=new _0x28e25e({'focusables':this[_0x20ec36(0x133)],'focusTracker':this[_0x20ec36(0x14c)],'keystrokeHandler':this[_0x20ec36(0x174)],'actions':{'focusPrevious':_0x20ec36(0x151),'focusNext':_0x20ec36(0x13a)}}),this[_0x20ec36(0x126)]({'tag':_0x20ec36(0x171),'attributes':{'class':[_0x20ec36(0x144)]},'children':[{'tag':_0x20ec36(0x171),'attributes':{'class':[_0x20ec36(0x143),this[_0x20ec36(0x15a)]['if'](_0x20ec36(0x177),_0x20ec36(0x135))]},'children':[this[_0x20ec36(0x140)],this[_0x20ec36(0x14d)]]}]}),this[_0x20ec36(0x174)][_0x20ec36(0x160)](_0x20ec36(0x162),(_0x3f69e1,_0x1be697)=>{const _0x313bfe=_0x20ec36;this[_0x313bfe(0x14d)][_0x313bfe(0x12d)](_0x313bfe(0x141)),_0x1be697();}),this[_0x20ec36(0x174)][_0x20ec36(0x160)](_0x20ec36(0x15b),(_0x359977,_0x1a1a42)=>{const _0x10c0b8=_0x20ec36;this[_0x10c0b8(0x140)][_0x10c0b8(0x139)]&&(this[_0x10c0b8(0x140)][_0x10c0b8(0x12d)](_0x10c0b8(0x141)),_0x1a1a42());}),this['on'](_0x20ec36(0x13b),(_0x185959,_0x499b8f)=>{const _0x31206b=_0x20ec36;_0x499b8f[_0x31206b(0x128)]>0xfde8?(alert(_0x4d5eef(_0xa750bd,_0x31206b(0x146),[_0x499b8f[_0x31206b(0x128)],0xfde8])),_0x185959[_0x31206b(0x12c)]()):this[_0x31206b(0x14b)][_0x31206b(0x12b)]('');},{'priority':_0x20ec36(0x149)});}[_0x10c22c(0x175)](){const _0x4dae58=_0x10c22c;super[_0x4dae58(0x175)](),this[_0x4dae58(0x15c)]();}[_0x10c22c(0x15d)](){const _0x320247=_0x10c22c;return this[_0x320247(0x14b)]||(this[_0x320247(0x14b)]=new _0x5a49d0(this[_0x320247(0x13c)]),this[_0x320247(0x179)]=this[_0x320247(0x14b)][_0x320247(0x121)]()[_0x320247(0x178)](()=>{const _0x5b77d2=_0x320247;if(this[_0x5b77d2(0x163)])return;const _0x5dd883=this[_0x5b77d2(0x14b)];this[_0x5b77d2(0x172)][_0x5b77d2(0x165)](_0x5dd883['ui'][_0x5b77d2(0x172)],this[_0x5b77d2(0x172)][_0x5b77d2(0x13e)]),_0x5dd883[_0x5b77d2(0x156)][_0x5b77d2(0x14a)]['on'](_0x5b77d2(0x16b),()=>this[_0x5b77d2(0x159)]=_0x5dd883[_0x5b77d2(0x169)]()),_0x5dd883[_0x5b77d2(0x155)](_0x5b77d2(0x13f))['to'](this),this[_0x5b77d2(0x133)][_0x5b77d2(0x138)](_0x5dd883['ui'][_0x5b77d2(0x157)],0x0),this[_0x5b77d2(0x12d)](_0x5b77d2(0x142),this[_0x5b77d2(0x14b)]);})),this[_0x320247(0x179)];}[_0x10c22c(0x148)](_0x297090){const _0x1b7823=_0x10c22c;-0x1===_0x297090?(this[_0x1b7823(0x16d)][_0x1b7823(0x130)](),this[_0x1b7823(0x16d)][_0x1b7823(0x134)]()):this[_0x1b7823(0x16d)][_0x1b7823(0x130)]();}async[_0x10c22c(0x127)](){const _0x5159fc=_0x10c22c;this[_0x5159fc(0x163)]||(this[_0x5159fc(0x163)]=!0x0,this[_0x5159fc(0x14b)]&&(await this[_0x5159fc(0x179)],await this[_0x5159fc(0x14b)][_0x5159fc(0x127)](),this[_0x5159fc(0x12d)](_0x5159fc(0x125),this[_0x5159fc(0x14b)])),await super[_0x5159fc(0x127)]());}[_0x10c22c(0x150)](){const _0x5740ad=_0x10c22c,{locale:_0x1ef7d2}=this,_0xe357da=new _0x52e356(_0x1ef7d2);return _0xe357da[_0x5740ad(0x176)]({'attributes':{'class':[_0x5740ad(0x12a)]}}),_0xe357da[_0x5740ad(0x153)]=!0x0,_0xe357da[_0x5740ad(0x155)](_0x5740ad(0x16a))['to'](this,_0x5740ad(0x145)),_0xe357da['on'](_0x5740ad(0x141),()=>{const _0x1e230b=_0x5740ad;this[_0x1e230b(0x12d)](_0x1e230b(0x13b),this[_0x1e230b(0x159)]);}),_0xe357da[_0x5740ad(0x155)](_0x5740ad(0x139))['to'](this,_0x5740ad(0x159),this,_0x5740ad(0x13d),(_0x57ebff,_0xd8e140)=>!_0xd8e140&&!!_0x57ebff[_0x5740ad(0x131)]()),_0xe357da;}[_0x10c22c(0x122)](){const _0xb8a725=_0x10c22c,{locale:_0x5cc67a}=this,_0x56bfab=new _0x52e356(_0x5cc67a);return _0x56bfab[_0xb8a725(0x176)]({'attributes':{'class':[_0xb8a725(0x164)]}}),_0x56bfab[_0xb8a725(0x16a)]=_0x4d5eef(_0x5cc67a,_0xb8a725(0x16f)),_0x56bfab[_0xb8a725(0x153)]=!0x0,_0x56bfab['on'](_0xb8a725(0x141),()=>{const _0x152dd4=_0xb8a725;this[_0x152dd4(0x14b)][_0x152dd4(0x12b)](''),this[_0x152dd4(0x12d)](_0x152dd4(0x173));}),_0x56bfab;}[_0x10c22c(0x15c)](){const _0x1d8aba=_0x10c22c;this[_0x1d8aba(0x174)][_0x1d8aba(0x14f)](this[_0x1d8aba(0x172)]),this[_0x1d8aba(0x133)][_0x1d8aba(0x12f)](_0x4e6a52=>{const _0xd6f3c=_0x1d8aba;this[_0xd6f3c(0x14c)][_0xd6f3c(0x138)](_0x4e6a52[_0xd6f3c(0x172)]);}),this[_0x1d8aba(0x133)]['on'](_0x1d8aba(0x16b),(_0x5c4098,_0x5b1e8e)=>{const _0x2b615=_0x1d8aba;for(const _0x3e8298 of Array[_0x2b615(0x170)](_0x5b1e8e[_0x2b615(0x147)])[_0x2b615(0x136)]())this[_0x2b615(0x14c)][_0x2b615(0x138)](_0x3e8298[_0x2b615(0x172)]);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x507c4f=_0x5bb9;function _0x5bb9(_0x2c2205,_0x1c3fdc){const _0x484696=_0x4846();return _0x5bb9=function(_0x5bb916,_0x2dc16d){_0x5bb916=_0x5bb916-0x1a8;let _0x508d36=_0x484696[_0x5bb916];return _0x508d36;},_0x5bb9(_0x2c2205,_0x1c3fdc);}(function(_0x2dd6ed,_0x3db64d){const _0x325aa5=_0x5bb9,_0x1040e5=_0x2dd6ed();while(!![]){try{const _0x30c630=parseInt(_0x325aa5(0x1db))/0x1*(parseInt(_0x325aa5(0x1de))/0x2)+-parseInt(_0x325aa5(0x1e0))/0x3*(parseInt(_0x325aa5(0x1d6))/0x4)+parseInt(_0x325aa5(0x1dc))/0x5*(parseInt(_0x325aa5(0x1ad))/0x6)+-parseInt(_0x325aa5(0x1bb))/0x7*(parseInt(_0x325aa5(0x1eb))/0x8)+-parseInt(_0x325aa5(0x1b9))/0x9*(-parseInt(_0x325aa5(0x1d8))/0xa)+-parseInt(_0x325aa5(0x1df))/0xb*(parseInt(_0x325aa5(0x1ea))/0xc)+-parseInt(_0x325aa5(0x1c2))/0xd;if(_0x30c630===_0x3db64d)break;else _0x1040e5['push'](_0x1040e5['shift']());}catch(_0x164064){_0x1040e5['push'](_0x1040e5['shift']());}}}(_0x4846,0x369f7));import{View as _0x48e24c,ButtonView as _0x596536,FocusCycler as _0x47cd02}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3785ab,KeystrokeHandler as _0x8ba457}from'ckeditor5/src/utils.js';import{IconUndo as _0x125c24}from'ckeditor5/src/icons.js';import{getTranslation as _0x5cbf12}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x6bf051}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x48e24c{[_0x507c4f(0x1d9)];[_0x507c4f(0x1ba)];[_0x507c4f(0x1e5)];[_0x507c4f(0x1b4)];[_0x507c4f(0x1f0)];[_0x507c4f(0x1e2)];[_0x507c4f(0x1da)];constructor(_0x5ed396,_0xd2f208){const _0xa68432=_0x507c4f;super(_0x5ed396);const _0x1d0888=this[_0xa68432(0x1e4)];this[_0xa68432(0x1d9)]=_0xd2f208,this[_0xa68432(0x1ba)]=this[_0xa68432(0x1ce)](),this[_0xa68432(0x1e5)]=this[_0xa68432(0x1f2)](),this[_0xa68432(0x1b4)]=this[_0xa68432(0x1c1)]([this[_0xa68432(0x1e5)],this[_0xa68432(0x1ba)]]),this[_0xa68432(0x1f0)]=new _0x3785ab(),this[_0xa68432(0x1e2)]=new _0x8ba457(),this[_0xa68432(0x1da)]=new _0x47cd02({'focusables':this[_0xa68432(0x1b4)],'focusTracker':this[_0xa68432(0x1f0)],'keystrokeHandler':this[_0xa68432(0x1e2)],'actions':{'focusPrevious':_0xa68432(0x1cc),'focusNext':_0xa68432(0x1c6)}}),this[_0xa68432(0x1d0)](_0xa68432(0x1c9))['to'](this[_0xa68432(0x1d9)],_0xa68432(0x1bd),_0x1f7976=>!!_0x1f7976),this[_0xa68432(0x1d0)](_0xa68432(0x1bf))['to'](this[_0xa68432(0x1d9)],_0xa68432(0x1bd),_0xa356cc=>_0xa356cc&&_0xa356cc[_0xa68432(0x1a9)]?this[_0xa68432(0x1ef)](_0xa356cc[_0xa68432(0x1a9)]):_0x5cbf12(this[_0xa68432(0x1d1)],_0xa68432(0x1e3))),this[_0xa68432(0x1ab)]({'tag':_0xa68432(0x1d5),'attributes':{'class':[_0xa68432(0x1e6)]},'children':[{'tag':_0xa68432(0x1d5),'attributes':{'class':[_0xa68432(0x1d4)]},'children':[{'tag':_0xa68432(0x1d5),'attributes':{'class':[_0xa68432(0x1e9),_0x1d0888['if'](_0xa68432(0x1c9),_0xa68432(0x1c7))]},'children':[this[_0xa68432(0x1e5)]]}]},{'tag':_0xa68432(0x1d5),'attributes':{'class':[_0xa68432(0x1cb)]},'children':[this[_0xa68432(0x1ba)]]}]});}[_0x507c4f(0x1ed)](){const _0x501c8b=_0x507c4f;super[_0x501c8b(0x1ed)](),this[_0x501c8b(0x1b6)](),this[_0x501c8b(0x1e7)]();}[_0x507c4f(0x1b3)](){const _0x38f231=_0x507c4f;this[_0x38f231(0x1da)][_0x38f231(0x1b0)]();}[_0x507c4f(0x1ce)](){const _0x210c27=_0x507c4f,_0x53450d=new _0x596536(this[_0x210c27(0x1d1)]);return _0x53450d[_0x210c27(0x1c5)]=_0x5cbf12(this[_0x210c27(0x1d1)],_0x210c27(0x1aa)),_0x53450d[_0x210c27(0x1d3)]=_0x5cbf12(this[_0x210c27(0x1d1)],_0x210c27(0x1aa)),_0x53450d[_0x210c27(0x1e8)]=_0x125c24,_0x53450d[_0x210c27(0x1d0)](_0x210c27(0x1c0))['to'](this[_0x210c27(0x1d9)],_0x210c27(0x1cd),_0x279a9d=>!_0x279a9d),_0x53450d[_0x210c27(0x1d0)](_0x210c27(0x1b8))['to'](this[_0x210c27(0x1d9)],_0x210c27(0x1b7),this[_0x210c27(0x1d9)],_0x210c27(0x1c8),(_0x5aaedf,_0x5e542e)=>_0x5aaedf&&_0x5e542e),_0x53450d['on'](_0x210c27(0x1dd),()=>{const _0x1c3050=_0x210c27;this[_0x1c3050(0x1cf)](_0x1c3050(0x1f1),this[_0x1c3050(0x1d9)]['id']);}),_0x53450d;}[_0x507c4f(0x1ef)](_0x65c74d){const _0x54cc69=_0x507c4f;if(_0x65c74d[_0x54cc69(0x1ae)]<0x96)return _0x65c74d;const _0x4d95a6=_0x65c74d[_0x54cc69(0x1ec)]('\x20',0x93);return _0x65c74d[_0x54cc69(0x1d7)](0x0,_0x4d95a6>-0x1?_0x4d95a6:0x93)+_0x54cc69(0x1bc);}[_0x507c4f(0x1b6)](){const _0x2e8d94=_0x507c4f,_0x4b0823=this[_0x2e8d94(0x1ee)][_0x2e8d94(0x1be)](_0x2e8d94(0x1ca)),_0x2f3e54=_0x4b0823[_0x2e8d94(0x1be)](_0x2e8d94(0x1c4));this[_0x2e8d94(0x1b5)](_0x4b0823,_0x2e8d94(0x1b2),()=>{const _0x55bfb4=_0x2e8d94;_0x2f3e54[_0x55bfb4(0x1ac)]<_0x2f3e54[_0x55bfb4(0x1c3)]&&_0x4b0823[_0x55bfb4(0x1af)][_0x55bfb4(0x1d2)](_0x55bfb4(0x1a8));}),this[_0x2e8d94(0x1b5)](_0x4b0823,_0x2e8d94(0x1b1),()=>{const _0x5ad760=_0x2e8d94;_0x4b0823[_0x5ad760(0x1af)][_0x5ad760(0x1e1)](_0x5ad760(0x1a8));});}[_0x507c4f(0x1e7)](){const _0x475ae4=_0x507c4f;this[_0x475ae4(0x1e2)][_0x475ae4(0x1b5)](this[_0x475ae4(0x1ee)]);for(const _0x504682 of this[_0x475ae4(0x1b4)])this[_0x475ae4(0x1f0)][_0x475ae4(0x1d2)](_0x504682[_0x475ae4(0x1ee)]),this[_0x475ae4(0x1e2)][_0x475ae4(0x1b5)](_0x504682[_0x475ae4(0x1ee)]);}[_0x507c4f(0x1f2)](){const _0x5c2ffa=_0x507c4f,_0x2d6aa3=new _0x6bf051(this[_0x5c2ffa(0x1d1)]);return _0x2d6aa3[_0x5c2ffa(0x1d0)](_0x5c2ffa(0x1bf))['to'](this),_0x2d6aa3;}}function _0x4846(){const _0x91fe69=['399DfZHPq','remove','keystrokes','Comment\x20was\x20made\x20on\x20an\x20element','bindTemplate','contextView','ck-thread__header','_setupKeyboardNavigation','icon','ck-context','12EVmeCn','12784tVtRhc','lastIndexOf','render','element','_trimContextValue','focusTracker','reopenCommentThread','_createContextView','overlay','value','Reopen','setTemplate','offsetWidth','66FiveKr','length','classList','focusFirst','mouseleave','mouseenter','focus','focusables','listenTo','_attachContextActions','isResolvable','isVisible','624879kchpPA','reopenButtonView','217kCcFBD','...','context','querySelector','contextValue','isEnabled','createCollection','4021329fhggrf','scrollWidth','.ck-context__value','label','tab','ck-context--quotes','isResolved','hasContext','.ck-context','ck-annotation__actions','shift+tab','isReadOnly','_createReopenButton','fire','bind','locale','add','tooltip','ck-context-wrapper','div','116cQlDbP','substring','10WrNqVT','_model','focusCycler','155906eWzOwC','107470kwfyiQ','execute','4zQaIvg','343354AFKSiq'];_0x4846=function(){return _0x91fe69;};return _0x4846();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x61aae0=_0x3fbb;(function(_0x3cba7d,_0x1233e5){const _0x11e91d=_0x3fbb,_0x11f22b=_0x3cba7d();while(!![]){try{const _0x121dda=-parseInt(_0x11e91d(0xca))/0x1+-parseInt(_0x11e91d(0x7b))/0x2+parseInt(_0x11e91d(0xce))/0x3*(-parseInt(_0x11e91d(0xc7))/0x4)+-parseInt(_0x11e91d(0x98))/0x5+-parseInt(_0x11e91d(0x91))/0x6*(-parseInt(_0x11e91d(0xd0))/0x7)+-parseInt(_0x11e91d(0xc3))/0x8+parseInt(_0x11e91d(0xbb))/0x9;if(_0x121dda===_0x1233e5)break;else _0x11f22b['push'](_0x11f22b['shift']());}catch(_0x270113){_0x11f22b['push'](_0x11f22b['shift']());}}}(_0x16e1,0xe4620));function _0x3fbb(_0x5dfd73,_0x406c64){const _0x16e16e=_0x16e1();return _0x3fbb=function(_0x3fbb9d,_0x277a8f){_0x3fbb9d=_0x3fbb9d-0x79;let _0x538033=_0x16e16e[_0x3fbb9d];return _0x538033;},_0x3fbb(_0x5dfd73,_0x406c64);}function _0x16e1(){const _0x4f967a=['length','extendTemplate','24762poWBjG','div','dropdown','fire','locale','panelPosition','_config','8705350aAmMKU','children','actionIndicator','createCollection','bindTemplate','edit','_attachActions','change:isRemovable','actionBar','_createEditButton','ck-annotation','Delete\x20comment?','ck-hidden','isEditable','Remove','listenTo','ck-comment--remove','ck-comment__info-time','items','isReadOnly','unbind','label','group','mouseleave','_model','span','ck-comment__actions--hidden','ck-comment--info','ck-comment__user','mouseenter','ck-comment__main','getExternalCommentNote','time','focus','ck-comment--','46336554BiVnIt','listitem','push','_createRemoveButton','ck-annotation__info-name','ariaDescriptionView','ck-comment--edit','switchToEditMode','5763880UerffA','ck-comment__external','then','blur','17120TdRstp','formatDateTime','removeButton','1088646SIhyQf','remove','render','find','921AJPVZS','_createDropdown','2261qNxKsv','setTemplate','panelView','ck-annotation__actions--hidden','withText','ck-annotation__info-time','toMany','ck-comment__wrapper','isEnabled','ck-comment__info-name','name','addMany','isExternal','ck-comment__info','isRemovable','ck-annotation__actions','placeholder','ck-annotation__content-wrapper','getTemplate','editButton','ck-annotation__info','ck-comment__actions','cancelConfirm','showConfirm','isVisible','buttonView','from','removeComment','focusables','visibleView','ariaLabel','resolvedAt','Show\x20more\x20items','1363820BsfsaA','some','ck-annotation__main','set','isEditMode','add','ck-annotation__user','ck-comment','Reply...','bind','icon','Edit','getUserViewNotificationText','author','userView','_createCommentInputView','isSystemComment','element','authoredAt','execute'];_0x16e1=function(){return _0x4f967a;};return _0x16e1();}import{IconRemoveComment as _0x35490d,IconPencil as _0x40a820,IconThreeVerticalDots as _0x5df595}from'ckeditor5/src/icons.js';import{ButtonView as _0x3cf04a,createDropdown as _0x392a9e,ListView as _0x3495df,ListItemView as _0x32dfc8,focusChildOnDropdownOpen as _0x1f719b}from'ckeditor5/src/ui.js';import{UserView as _0x400478,ConfirmMixin as _0xc943be,LateFocusDropdownButtonView as _0x441eef}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x25afd9}from'./basecommentview.js';import{getTranslation as _0x19c24e}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xc943be(_0x25afd9){[_0x61aae0(0xa0)];[_0x61aae0(0x89)];constructor(_0x562edd,_0xb91a7e,_0x4d059b){const _0x458baa=_0x61aae0;super(_0x562edd,_0xb91a7e,_0x4d059b),this[_0x458baa(0x7e)](_0x458baa(0x9a),null),this[_0x458baa(0x7e)](_0x458baa(0xe0),_0x19c24e(_0x562edd,_0x458baa(0x83))),this[_0x458baa(0x84)](_0x458baa(0x8d))['to'](_0xb91a7e),this[_0x458baa(0x84)](_0x458baa(0x79))['to'](_0xb91a7e),this[_0x458baa(0xa0)]=this[_0x458baa(0x9b)](),this[_0x458baa(0x8b)]||(this[_0x458baa(0xe3)]=this[_0x458baa(0xa1)](),this[_0x458baa(0xc9)]=this[_0x458baa(0xbe)](),this[_0x458baa(0xaa)]=this[_0x458baa(0x9b)](),this[_0x458baa(0xaa)][_0x458baa(0xdb)]([this[_0x458baa(0xe3)],this[_0x458baa(0xc9)]]),this[_0x458baa(0x93)]=this[_0x458baa(0xcf)](),this[_0x458baa(0xa0)][_0x458baa(0x80)](this[_0x458baa(0x93)]),this[_0x458baa(0xec)][_0x458baa(0x80)](this[_0x458baa(0x93)])),this[_0x458baa(0x89)]=new _0x400478(_0x562edd,_0xb91a7e[_0x458baa(0x88)],this[_0x458baa(0x87)]()),this[_0x458baa(0x89)][_0x458baa(0x90)]({'attributes':{'class':[_0x458baa(0xb4),_0x458baa(0x81)],'aria-hidden':!0x0}}),this[_0x458baa(0xa7)](_0xb91a7e,_0x458baa(0x9f),()=>this[_0x458baa(0xe6)]()),this[_0x458baa(0xd1)](this[_0x458baa(0xe2)]());}[_0x61aae0(0xe2)](){const _0x156395=_0x61aae0,_0x579f91=this[_0x156395(0x9c)],_0x323476=[{'tag':_0x156395(0x92),'attributes':{'class':[_0x156395(0xdd),_0x156395(0xe4)]},'children':[{'tag':_0x156395(0xb1),'children':[{'text':this[_0x156395(0x89)][_0x156395(0xda)]}],'attributes':{'class':[_0x156395(0xd9),_0x156395(0xbf)],'data-cke-tooltip-text':this[_0x156395(0x89)][_0x156395(0xda)]}},{'tag':_0x156395(0xb8),'attributes':{'datetime':_0x579f91['to'](_0x156395(0x8d)),'class':[_0x156395(0xa9),_0x156395(0xd5)]},'children':[{'text':_0x579f91['to'](_0x156395(0x8d),_0x44534a=>this[_0x156395(0x97)][_0x156395(0xc8)](_0x44534a))}]}]},{'tag':_0x156395(0x92),'attributes':{'class':[_0x156395(0xe5),_0x156395(0xdf),_0x579f91['if'](_0x156395(0x7f),_0x156395(0xb2)),_0x579f91['if'](_0x156395(0x7f),_0x156395(0xd3))]},'children':this[_0x156395(0xa0)]},{'tag':_0x156395(0x92),'attributes':{'class':[_0x156395(0xe1)]},'children':this[_0x156395(0xed)]},this[_0x156395(0xc0)]];return this[_0x156395(0xb0)][_0x156395(0xdc)]&&_0x323476[_0x156395(0xbd)]({'tag':_0x156395(0x92),'attributes':{'class':[_0x156395(0xc4)]},'children':[{'text':this[_0x156395(0xb7)]()}]}),{'tag':'li','attributes':{'class':[_0x156395(0xd7)],'tabindex':-0x1,'aria-label':_0x579f91['to'](_0x156395(0xee)),'aria-describedby':this[_0x156395(0xc0)]['id'],'role':_0x156395(0xbc)},'children':[{'tag':_0x156395(0x92),'attributes':{'class':[_0x156395(0x82),_0x156395(0xa2),_0x579f91['if'](_0x156395(0x7f),_0x156395(0xc1)),_0x579f91['if'](_0x156395(0x8b),_0x156395(0xb3)),_0x579f91['to'](_0x156395(0x9a),_0x1f9d55=>_0x1f9d55?_0x156395(0xba)+_0x1f9d55:'')],'data-author-id':this[_0x156395(0xb0)][_0x156395(0x88)]['id'],'data-comment-id':this[_0x156395(0xb0)]['id'],'role':_0x156395(0xae)},'children':[this[_0x156395(0x89)],{'tag':_0x156395(0x92),'attributes':{'class':[_0x156395(0xb6),_0x156395(0x7d)]},'children':_0x323476}]}]};}[_0x61aae0(0xa1)](){const _0x4c724b=_0x61aae0,_0x1169d2=new _0x3cf04a(this[_0x4c724b(0x95)]);return _0x1169d2[_0x4c724b(0xad)]=_0x19c24e(this[_0x4c724b(0x95)],_0x4c724b(0x86)),_0x1169d2[_0x4c724b(0x85)]=_0x40a820,_0x1169d2[_0x4c724b(0xd4)]=!0x0,_0x1169d2[_0x4c724b(0x90)]({'attributes':{'class':_0x4c724b(0xc1)}}),_0x1169d2[_0x4c724b(0x84)](_0x4c724b(0xd8))['to'](this[_0x4c724b(0xb0)],_0x4c724b(0xab),_0x747c2e=>!_0x747c2e),_0x1169d2[_0x4c724b(0x84)](_0x4c724b(0xe8))['to'](this[_0x4c724b(0xb0)],_0x4c724b(0xa5)),_0x1169d2['on'](_0x4c724b(0x8e),()=>this[_0x4c724b(0xc2)]()),_0x1169d2;}[_0x61aae0(0xbe)](){const _0x74f1f0=_0x61aae0,_0x2df456=new _0x3cf04a(this[_0x74f1f0(0x95)]);return _0x2df456[_0x74f1f0(0xad)]=_0x19c24e(this[_0x74f1f0(0x95)],_0x74f1f0(0xa6)),_0x2df456[_0x74f1f0(0x85)]=_0x35490d,_0x2df456[_0x74f1f0(0xd4)]=!0x0,_0x2df456[_0x74f1f0(0x90)]({'attributes':{'class':_0x74f1f0(0xa8)}}),_0x2df456[_0x74f1f0(0x84)](_0x74f1f0(0xd8))['to'](this[_0x74f1f0(0xb0)],_0x74f1f0(0xab),_0xa63d21=>!_0xa63d21),_0x2df456[_0x74f1f0(0x84)](_0x74f1f0(0xe8))['to'](this[_0x74f1f0(0xb0)],_0x74f1f0(0xde)),_0x2df456['on'](_0x74f1f0(0x8e),()=>{const _0x3d8e5f=_0x74f1f0;this[_0x3d8e5f(0xe7)](_0x19c24e(this[_0x3d8e5f(0x95)],_0x3d8e5f(0xa3)),this[_0x3d8e5f(0x8c)])[_0x3d8e5f(0xc5)](()=>{const _0x3a9ce1=_0x3d8e5f;this[_0x3a9ce1(0x94)](_0x3a9ce1(0xeb),this[_0x3a9ce1(0xb0)]['id']);});}),_0x2df456;}[_0x61aae0(0xcf)](){const _0x1bd8e4=_0x61aae0,_0x81e840=_0x392a9e(this[_0x1bd8e4(0x95)],_0x441eef),_0x1beaaa=_0x81e840[_0x1bd8e4(0xd2)][_0x1bd8e4(0x99)],_0x38625c=new _0x3495df(this[_0x1bd8e4(0x95)]),_0x3a1607=_0x81e840[_0x1bd8e4(0x9c)];_0x1f719b(_0x81e840,()=>this[_0x1bd8e4(0xaa)][_0x1bd8e4(0xcd)](_0x14093b=>_0x14093b[_0x1bd8e4(0xe8)])),_0x81e840[_0x1bd8e4(0x90)]({'attributes':{'class':[_0x3a1607['if'](_0x1bd8e4(0xe8),_0x1bd8e4(0xa4),_0x6e6f88=>!_0x6e6f88)]}});const _0x17684f=(_0x49ce7b,_0x22453b=-0x1)=>{const _0x50908a=_0x1bd8e4,_0x47db9c=new _0x32dfc8(this[_0x50908a(0x95)]);_0x47db9c[_0x50908a(0x99)][_0x50908a(0x80)](_0x49ce7b);const _0x5b255c=_0x22453b>-0x1?_0x22453b:_0x38625c[_0x50908a(0xaa)][_0x50908a(0x8f)];_0x38625c[_0x50908a(0xaa)][_0x50908a(0x80)](_0x47db9c,_0x5b255c);const _0x44133c=Array[_0x50908a(0xea)](this[_0x50908a(0xaa)]);_0x81e840[_0x50908a(0xac)](_0x50908a(0xd8),_0x50908a(0xe8)),_0x81e840[_0x50908a(0x84)](_0x50908a(0xd8))[_0x50908a(0xd6)](_0x44133c,_0x50908a(0xd8),(..._0x13aeb4)=>_0x13aeb4[_0x50908a(0x7c)](_0x28be25=>_0x28be25)),_0x81e840[_0x50908a(0x84)](_0x50908a(0xe8))[_0x50908a(0xd6)](_0x44133c,_0x50908a(0xe8),(..._0x2b7031)=>_0x2b7031[_0x50908a(0x7c)](_0x1b0746=>_0x1b0746));};_0x81e840[_0x1bd8e4(0x96)]='sw',_0x81e840[_0x1bd8e4(0xe9)][_0x1bd8e4(0x7e)]({'label':_0x19c24e(this[_0x1bd8e4(0x95)],_0x1bd8e4(0x7a)),'icon':_0x5df595});for(const _0x3e2e32 of this[_0x1bd8e4(0xaa)])_0x17684f(_0x3e2e32);return _0x1beaaa[_0x1bd8e4(0x80)](_0x38625c),_0x81e840[_0x1bd8e4(0xa7)](this[_0x1bd8e4(0xaa)],_0x1bd8e4(0x80),(_0x4bdd1d,_0xd77c1e,_0x2dc91a)=>{_0x17684f(_0xd77c1e,_0x2dc91a);}),_0x81e840[_0x1bd8e4(0xa7)](this[_0x1bd8e4(0xaa)],_0x1bd8e4(0xcb),(_0x46db18,_0x1675be,_0x343bb7)=>{const _0x28160a=_0x1bd8e4;_0x38625c[_0x28160a(0xaa)][_0x28160a(0xcb)](_0x343bb7);}),_0x81e840;}[_0x61aae0(0x9e)](_0x3aa7fb,_0x12d4fc){const _0x47aa69=_0x61aae0,_0x1ddb56=_0x3aa7fb&&_0x3aa7fb[_0x47aa69(0x8c)];_0x1ddb56&&(this[_0x47aa69(0xa7)](_0x1ddb56,_0x47aa69(0xb5),()=>this[_0x47aa69(0x9a)]=_0x12d4fc),this[_0x47aa69(0xa7)](_0x1ddb56,_0x47aa69(0xb9),()=>this[_0x47aa69(0x9a)]=_0x12d4fc),this[_0x47aa69(0xa7)](_0x1ddb56,_0x47aa69(0xaf),()=>this[_0x47aa69(0x9a)]=null),this[_0x47aa69(0xa7)](_0x1ddb56,_0x47aa69(0xc6),()=>this[_0x47aa69(0x9a)]=null));}[_0x61aae0(0x8a)](){const _0x4336b6=_0x61aae0,_0x3e4044=super[_0x4336b6(0x8a)]();return _0x3e4044[_0x4336b6(0x84)](_0x4336b6(0xe0))['to'](this),_0x3e4044;}[_0x61aae0(0xcc)](){const _0x5c703c=_0x61aae0;super[_0x5c703c(0xcc)](),this[_0x5c703c(0x9e)](this[_0x5c703c(0xe3)],_0x5c703c(0x9d)),this[_0x5c703c(0x9e)](this[_0x5c703c(0xc9)],_0x5c703c(0xcb));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xed763f,_0x4f9e73){const _0x3b480b=_0x942d,_0x4f8c6f=_0xed763f();while(!![]){try{const _0x45629b=parseInt(_0x3b480b(0x154))/0x1*(parseInt(_0x3b480b(0x15f))/0x2)+-parseInt(_0x3b480b(0x157))/0x3*(-parseInt(_0x3b480b(0x15c))/0x4)+parseInt(_0x3b480b(0x162))/0x5+-parseInt(_0x3b480b(0x163))/0x6*(-parseInt(_0x3b480b(0x160))/0x7)+-parseInt(_0x3b480b(0x165))/0x8+parseInt(_0x3b480b(0x158))/0x9*(-parseInt(_0x3b480b(0x161))/0xa)+-parseInt(_0x3b480b(0x15a))/0xb;if(_0x45629b===_0x4f9e73)break;else _0x4f8c6f['push'](_0x4f8c6f['shift']());}catch(_0x27e482){_0x4f8c6f['push'](_0x4f8c6f['shift']());}}}(_0x54b1,0x6ef85));function _0x942d(_0xee8657,_0x4ca3d7){const _0x54b146=_0x54b1();return _0x942d=function(_0x942d83,_0x48b807){_0x942d83=_0x942d83-0x152;let _0xb45791=_0x54b146[_0x942d83];return _0xb45791;},_0x942d(_0xee8657,_0x4ca3d7);}import{throttle as _0xd3731b}from'es-toolkit/compat';function _0x54b1(){const _0x5d134b=['251817EjXGWp','childList','observe','2490441pfnAEY','11070kPIhyo','attributeName','968231hxhTXh','characterData','4KROPrH','cancel','disconnect','2lVHqrq','1589czDNtV','2570EovmNN','192575aPTXvM','7026CALxHE','type','4221056doCqlf','attributes','class'];_0x54b1=function(){return _0x5d134b;};return _0x54b1();}export function createMutationObserver(_0x121993){const _0x32ca4f=_0xd3731b(_0x121993,0x1e),_0x477348=new MutationObserver(_0x3f1e7e=>{const _0x2e1b49=_0x942d;for(const _0x5f5946 of _0x3f1e7e)(_0x2e1b49(0x152)==_0x5f5946[_0x2e1b49(0x164)]&&_0x2e1b49(0x153)==_0x5f5946[_0x2e1b49(0x159)]||_0x2e1b49(0x155)==_0x5f5946[_0x2e1b49(0x164)]||_0x2e1b49(0x15b)==_0x5f5946[_0x2e1b49(0x164)])&&_0x32ca4f();});return{'attach'(_0x30fa20){const _0x150074=_0x942d;_0x477348[_0x150074(0x156)](_0x30fa20,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0xe7828d=_0x942d;_0x477348[_0xe7828d(0x15e)](),_0x32ca4f[_0xe7828d(0x15d)]();}};}
|