@ckeditor/ckeditor5-comments 0.0.0-nightly-20230822.0 → 0.0.0-nightly-20230823.0

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.
Files changed (42) hide show
  1. package/build/comments.js +1 -1
  2. package/package.json +3 -3
  3. package/src/annotations/annotation.js +1 -1
  4. package/src/annotations/annotationcollection.js +1 -1
  5. package/src/annotations/annotations.js +1 -1
  6. package/src/annotations/annotationsuis.js +1 -1
  7. package/src/annotations/editorannotations.js +1 -1
  8. package/src/annotations/inlineannotations.js +1 -1
  9. package/src/annotations/narrowsidebar.js +1 -1
  10. package/src/annotations/sidebar.js +1 -1
  11. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  12. package/src/annotations/view/annotationview.js +1 -1
  13. package/src/annotations/view/sidebaritemview.js +1 -1
  14. package/src/annotations/view/sidebarview.js +1 -1
  15. package/src/annotations/widesidebar.js +1 -1
  16. package/src/comments/addcommentthreadcommand.js +1 -1
  17. package/src/comments/commentsarchive.js +1 -1
  18. package/src/comments/commentsarchiveui.js +1 -1
  19. package/src/comments/commentsediting.js +1 -1
  20. package/src/comments/commentsrepository.js +1 -1
  21. package/src/comments/commentsui.js +1 -1
  22. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  23. package/src/comments/integrations/importword.js +1 -1
  24. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  25. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  26. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  27. package/src/comments/ui/commentthreadcontroller.js +1 -1
  28. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  29. package/src/comments/ui/view/basecommentview.js +1 -1
  30. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  31. package/src/comments/ui/view/commentcontentview.js +1 -1
  32. package/src/comments/ui/view/commentinputview.js +1 -1
  33. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  34. package/src/comments/ui/view/commentslistview.js +1 -1
  35. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  36. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  37. package/src/comments/ui/view/commentthreadview.js +1 -1
  38. package/src/comments/ui/view/commentview.js +1 -1
  39. package/src/comments.js +1 -1
  40. package/src/commentsonly.js +1 -1
  41. package/src/utils/common-translations.js +1 -1
  42. package/src/utils/createmutationobserver.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x177c=['commands','importWord.commentsStyles','afterInit','config','high','editor','plugins','basic','collaboration_features','collaboration.channelId','execute','get','listenTo','define','dataInsert','_handleImportedData','addCommentThread','importWord','forEach'];(function(_0x58095b,_0x177cd2){const _0x3c1978=function(_0x5c5658){while(--_0x5c5658){_0x58095b['push'](_0x58095b['shift']());}};_0x3c1978(++_0x177cd2);}(_0x177c,0x1d6));const _0x3c19=function(_0x58095b,_0x177cd2){_0x58095b=_0x58095b-0x0;let _0x3c1978=_0x177c[_0x58095b];return _0x3c1978;};import{Plugin as _0x4b8834}from'ckeditor5/src/core';import{priorities as _0xc948ab}from'ckeditor5/src/utils';import{Users as _0x464d2c}from'ckeditor5-collaboration/src/collaboration-core';import _0x46a483 from'../commentsrepository';export default class Y extends _0x4b8834{constructor(_0x42e261){super(_0x42e261),this['editor'][_0x3c19('0x8')][_0x3c19('0x12')](_0x3c19('0x6'),_0x3c19('0xc'));}[_0x3c19('0x7')](){const _0xdc88dd=this[_0x3c19('0xa')],_0x1ee6aa=_0xdc88dd[_0x3c19('0x5')]['get'](_0x3c19('0x3')),_0x1c8adb=_0xdc88dd[_0x3c19('0xb')][_0x3c19('0x10')](_0x464d2c);_0x1ee6aa&&(_0x1ee6aa['on'](_0x3c19('0xf'),(_0x235b56,[,_0x4c8bca])=>{_0x4c8bca[_0x3c19('0xd')]={'comments':!0x0,'user_id':_0x1c8adb['me']['id'],'comments_styles':this[_0x3c19('0xa')]['config'][_0x3c19('0x10')](_0x3c19('0x6'))};},{'priority':_0xc948ab[_0x3c19('0x9')]+0xa}),this[_0x3c19('0x11')](_0x1ee6aa,_0x3c19('0x0'),this[_0x3c19('0x1')]));}[_0x3c19('0x1')](_0x11b9d5,_0x2503d8){const {comment_threads:_0x43336b}=_0x2503d8;_0x43336b&&_0x43336b[_0x3c19('0x4')](({thread_id:_0x4b4c3e,comments:_0xeee06f,is_resolved:_0x1d63e7})=>{const _0x390a4c=new Date(),_0x599bf7=_0xeee06f['map'](({author:_0x56bca0,content:_0x3a759d,created_at:_0x11d674})=>({'content':_0x3a759d,'authorId':this[_0x3c19('0xa')][_0x3c19('0xb')][_0x3c19('0x10')](_0x464d2c)['me']['id'],'createdAt':_0x390a4c,'attributes':{'@external':{'authorName':_0x56bca0,'createdAt':_0x11d674?new Date(_0x11d674):new Date(),'source':_0x3c19('0x3')}}})),_0x3a6b87=this[_0x3c19('0xa')][_0x3c19('0x8')][_0x3c19('0x10')](_0x3c19('0xe'));this[_0x3c19('0xa')][_0x3c19('0xb')]['get'](_0x46a483)[_0x3c19('0x2')]({'channelId':_0x3a6b87,'threadId':_0x4b4c3e,'comments':_0x599bf7,'resolvedAt':_0x1d63e7?_0x390a4c:null});});}}
23
+ const _0x52a0=['config','execute','define','basic','high','commands','forEach','editor','importWord.commentsStyles','get','dataInsert','addCommentThread','listenTo','plugins','afterInit','_handleImportedData'];(function(_0x325966,_0x52a046){const _0x256846=function(_0x2d8684){while(--_0x2d8684){_0x325966['push'](_0x325966['shift']());}};_0x256846(++_0x52a046);}(_0x52a0,0x137));const _0x2568=function(_0x325966,_0x52a046){_0x325966=_0x325966-0x0;let _0x256846=_0x52a0[_0x325966];return _0x256846;};import{Plugin as _0x434008}from'ckeditor5/src/core';import{priorities as _0x4c819d}from'ckeditor5/src/utils';import{Users as _0x66e63}from'ckeditor5-collaboration/src/collaboration-core';import _0x451404 from'../commentsrepository';export default class Y extends _0x434008{constructor(_0x53964d){super(_0x53964d),this[_0x2568('0x0')]['config'][_0x2568('0xb')](_0x2568('0x1'),_0x2568('0xc'));}[_0x2568('0x7')](){const _0x17cba6=this[_0x2568('0x0')],_0x42e301=_0x17cba6[_0x2568('0xe')][_0x2568('0x2')]('importWord'),_0x2f500b=_0x17cba6[_0x2568('0x6')][_0x2568('0x2')](_0x66e63);_0x42e301&&(_0x42e301['on'](_0x2568('0xa'),(_0x1c9da2,[,_0x3af3fb])=>{_0x3af3fb['collaboration_features']={'comments':!0x0,'user_id':_0x2f500b['me']['id'],'comments_styles':this[_0x2568('0x0')][_0x2568('0x9')][_0x2568('0x2')](_0x2568('0x1'))};},{'priority':_0x4c819d[_0x2568('0xd')]+0xa}),this[_0x2568('0x5')](_0x42e301,_0x2568('0x3'),this[_0x2568('0x8')]));}[_0x2568('0x8')](_0x26696b,_0x4891fe){const {comment_threads:_0x8c18a7}=_0x4891fe;_0x8c18a7&&_0x8c18a7[_0x2568('0xf')](({thread_id:_0x2aebd4,comments:_0x297cdb,is_resolved:_0x4ad276})=>{const _0x1f587e=new Date(),_0x246729=_0x297cdb['map'](({author:_0x378b75,content:_0xb64a62,created_at:_0x3b4971})=>({'content':_0xb64a62,'authorId':this[_0x2568('0x0')][_0x2568('0x6')]['get'](_0x66e63)['me']['id'],'createdAt':_0x1f587e,'attributes':{'@external':{'authorName':_0x378b75,'createdAt':_0x3b4971?new Date(_0x3b4971):new Date(),'source':'importWord'}}})),_0x24811c=this[_0x2568('0x0')]['config'][_0x2568('0x2')]('collaboration.channelId');this['editor'][_0x2568('0x6')][_0x2568('0x2')](_0x451404)[_0x2568('0x4')]({'channelId':_0x24811c,'threadId':_0x2aebd4,'comments':_0x246729,'resolvedAt':_0x4ad276?_0x1f587e:null});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24d9=['_updatePlaceholder','childCount','getChild','ready','data','then','low','getRoot','placeholder','setSelection','destroy','initPlugins','init','change:placeholder','plugins','create','defaultPlugins','model','focus','set','assign','get','document','placeholderElement','change','view','end'];(function(_0x653e88,_0x24d912){const _0x1ed384=function(_0x2100d0){while(--_0x2100d0){_0x653e88['push'](_0x653e88['shift']());}};_0x1ed384(++_0x24d912);}(_0x24d9,0x7e));const _0x1ed3=function(_0x653e88,_0x24d912){_0x653e88=_0x653e88-0x0;let _0x1ed384=_0x24d9[_0x653e88];return _0x1ed384;};import{Editor as _0x2b4de9,DataApiMixin as _0x206c3b}from'ckeditor5/src/core';import _0x3ed0cb from'./commenteditorui';import{ObservableMixin as _0x3a9087}from'ckeditor5/src/utils';import{enablePlaceholder as _0x3e87da,disablePlaceholder as _0x461715}from'ckeditor5/src/engine';import{Clipboard as _0x22e686}from'ckeditor5/src/clipboard';import{Enter as _0x1bfe1d,ShiftEnter as _0x2b765d}from'ckeditor5/src/enter';import{SelectAll as _0x3ae23d}from'ckeditor5/src/select-all';import{Typing as _0x517d22}from'ckeditor5/src/typing';import{Undo as _0x362484}from'ckeditor5/src/undo';import{Paragraph as _0x965071}from'ckeditor5/src/paragraph';const Kt=[_0x22e686,_0x1bfe1d,_0x2b765d,_0x3ae23d,_0x517d22,_0x362484,_0x965071];export default class Lt extends _0x3a9087(_0x206c3b(_0x2b4de9)){constructor(_0xcae67c={}){(_0xcae67c=Object[_0x1ed3('0x2')]({},_0xcae67c))[_0x1ed3('0x17')]||(_0xcae67c[_0x1ed3('0x17')]=Lt[_0x1ed3('0x19')]),super(_0xcae67c),this['ui']=new _0x3ed0cb(this),this[_0x1ed3('0x1')]('placeholder',''),this[_0x1ed3('0x1a')][_0x1ed3('0x4')]['on'](_0x1ed3('0x6'),()=>this[_0x1ed3('0x9')](),{'priority':_0x1ed3('0xf')}),this['on'](_0x1ed3('0x16'),()=>this['_updatePlaceholder']()),this[_0x1ed3('0x1a')][_0x1ed3('0x4')]['createRoot']();}[_0x1ed3('0x18')](){const _0x44bf63=this['config'][_0x1ed3('0x3')]('initialData')||'';return this[_0x1ed3('0x14')]()[_0x1ed3('0xe')](()=>this['ui'][_0x1ed3('0x15')]())[_0x1ed3('0xe')](()=>this[_0x1ed3('0xd')][_0x1ed3('0x15')](_0x44bf63))[_0x1ed3('0xe')](()=>this['fire'](_0x1ed3('0xc')));}[_0x1ed3('0x13')](){return super[_0x1ed3('0x13')]()[_0x1ed3('0xe')](()=>this['ui'][_0x1ed3('0x13')]());}[_0x1ed3('0x0')](){this['model'][_0x1ed3('0x6')](_0x37a565=>{const _0x4ac17e=this['model'][_0x1ed3('0x4')][_0x1ed3('0x10')](),_0x10881c=_0x4ac17e&&_0x4ac17e[_0x1ed3('0xb')](_0x4ac17e[_0x1ed3('0xa')]-0x1);_0x37a565[_0x1ed3('0x12')](_0x10881c,_0x1ed3('0x8')),this['editing'][_0x1ed3('0x7')][_0x1ed3('0x0')]();});}[_0x1ed3('0x9')](){const _0x3ddf7c=this['editing'][_0x1ed3('0x7')],_0x34d412=_0x3ddf7c['document']['getRoot'](),_0x1b3142=_0x34d412[_0x1ed3('0xb')](0x0);_0x34d412[_0x1ed3('0xa')]>0x1||!_0x1b3142||'p'!=_0x1b3142['name']?this[_0x1ed3('0x5')]&&this['placeholderElement']['placeholder']&&(_0x461715(_0x3ddf7c,this[_0x1ed3('0x5')]),this[_0x1ed3('0x5')]=void 0x0):(this['placeholder']&&(_0x1b3142['placeholder']=this[_0x1ed3('0x11')]),_0x3e87da({'view':_0x3ddf7c,'element':_0x1b3142,'keepOnFocus':!0x0}),this[_0x1ed3('0x5')]=_0x1b3142);}}Lt[_0x1ed3('0x19')]=Kt;
23
+ const _0x5d3c=['childCount','setSelection','low','assign','config','editing','document','placeholder','plugins','get','set','change','getChild','initialData','destroy','initPlugins','createRoot','name','init','defaultPlugins','getRoot','focus','model','data','view','change:placeholder','ready','create','placeholderElement','_updatePlaceholder','then'];(function(_0x495b5d,_0x5d3cee){const _0x34b971=function(_0x1c2ea2){while(--_0x1c2ea2){_0x495b5d['push'](_0x495b5d['shift']());}};_0x34b971(++_0x5d3cee);}(_0x5d3c,0x198));const _0x34b9=function(_0x495b5d,_0x5d3cee){_0x495b5d=_0x495b5d-0x0;let _0x34b971=_0x5d3c[_0x495b5d];return _0x34b971;};import{Editor as _0x99220f,DataApiMixin as _0x566ebe}from'ckeditor5/src/core';import _0x25be1f from'./commenteditorui';import{ObservableMixin as _0x232f9a}from'ckeditor5/src/utils';import{enablePlaceholder as _0x113db5,disablePlaceholder as _0x5bf6fc}from'ckeditor5/src/engine';import{Clipboard as _0x51f819}from'ckeditor5/src/clipboard';import{Enter as _0x3f3934,ShiftEnter as _0x475ba7}from'ckeditor5/src/enter';import{SelectAll as _0x4901b6}from'ckeditor5/src/select-all';import{Typing as _0x1488b6}from'ckeditor5/src/typing';import{Undo as _0x15f10d}from'ckeditor5/src/undo';import{Paragraph as _0x4f8c77}from'ckeditor5/src/paragraph';const Kt=[_0x51f819,_0x3f3934,_0x475ba7,_0x4901b6,_0x1488b6,_0x15f10d,_0x4f8c77];export default class Lt extends _0x232f9a(_0x566ebe(_0x99220f)){constructor(_0x5142b4={}){(_0x5142b4=Object[_0x34b9('0x1d')]({},_0x5142b4))[_0x34b9('0x3')]||(_0x5142b4['plugins']=Lt[_0x34b9('0xe')]),super(_0x5142b4),this['ui']=new _0x25be1f(this),this[_0x34b9('0x5')]('placeholder',''),this['model']['document']['on'](_0x34b9('0x6'),()=>this[_0x34b9('0x18')](),{'priority':_0x34b9('0x1c')}),this['on'](_0x34b9('0x14'),()=>this[_0x34b9('0x18')]()),this['model'][_0x34b9('0x1')][_0x34b9('0xb')]();}[_0x34b9('0x16')](){const _0x2190f4=this[_0x34b9('0x1e')][_0x34b9('0x4')](_0x34b9('0x8'))||'';return this[_0x34b9('0xa')]()[_0x34b9('0x19')](()=>this['ui']['init']())[_0x34b9('0x19')](()=>this[_0x34b9('0x12')][_0x34b9('0xd')](_0x2190f4))[_0x34b9('0x19')](()=>this['fire'](_0x34b9('0x15')));}[_0x34b9('0x9')](){return super['destroy']()[_0x34b9('0x19')](()=>this['ui'][_0x34b9('0x9')]());}['focus'](){this[_0x34b9('0x11')]['change'](_0x2dec8c=>{const _0x352cf5=this[_0x34b9('0x11')]['document'][_0x34b9('0xf')](),_0x3e4369=_0x352cf5&&_0x352cf5['getChild'](_0x352cf5['childCount']-0x1);_0x2dec8c[_0x34b9('0x1b')](_0x3e4369,'end'),this['editing'][_0x34b9('0x13')][_0x34b9('0x10')]();});}[_0x34b9('0x18')](){const _0x2e3c9e=this[_0x34b9('0x0')][_0x34b9('0x13')],_0x479253=_0x2e3c9e[_0x34b9('0x1')][_0x34b9('0xf')](),_0x2f8586=_0x479253[_0x34b9('0x7')](0x0);_0x479253[_0x34b9('0x1a')]>0x1||!_0x2f8586||'p'!=_0x2f8586[_0x34b9('0xc')]?this['placeholderElement']&&this['placeholderElement'][_0x34b9('0x2')]&&(_0x5bf6fc(_0x2e3c9e,this[_0x34b9('0x17')]),this[_0x34b9('0x17')]=void 0x0):(this['placeholder']&&(_0x2f8586['placeholder']=this['placeholder']),_0x113db5({'view':_0x2e3c9e,'element':_0x2f8586,'keepOnFocus':!0x0}),this[_0x34b9('0x17')]=_0x2f8586);}}Lt[_0x34b9('0xe')]=Kt;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1970=['editor','element','rootName','isFocused','render','destroy','view','bind','attachDomRoot','getRoot','locale','setEditableElement','editing','ready','focusTracker','editable'];(function(_0x198894,_0x197028){const _0x1e1d3b=function(_0x13cd8f){while(--_0x13cd8f){_0x198894['push'](_0x198894['shift']());}};_0x1e1d3b(++_0x197028);}(_0x1970,0xcf));const _0x1e1d=function(_0x198894,_0x197028){_0x198894=_0x198894-0x0;let _0x1e1d3b=_0x1970[_0x198894];return _0x1e1d3b;};import{EditorUI as _0x2f71de}from'ckeditor5/src/ui';import _0x245d04 from'./commenteditoruiview';export default class jt extends _0x2f71de{constructor(_0x4ee1c0){super(_0x4ee1c0),this[_0x1e1d('0x7')]=new _0x245d04(_0x4ee1c0[_0x1e1d('0xb')],_0x4ee1c0[_0x1e1d('0xd')]['view']);}get[_0x1e1d('0x2')](){return this['view'][_0x1e1d('0x2')];}['init'](){const _0x471cb6=this[_0x1e1d('0x1')][_0x1e1d('0xd')]['view'],_0xaba3a0=this[_0x1e1d('0x7')][_0x1e1d('0x0')],_0x2c6afe=_0x471cb6['document'][_0x1e1d('0xa')]();_0xaba3a0['name']=_0x2c6afe[_0x1e1d('0x3')],this[_0x1e1d('0x7')][_0x1e1d('0x5')]();const _0x16d816=_0xaba3a0[_0x1e1d('0x2')];this[_0x1e1d('0xc')](_0xaba3a0['name'],_0x16d816),this[_0x1e1d('0x7')][_0x1e1d('0x0')][_0x1e1d('0x8')](_0x1e1d('0x4'))['to'](this[_0x1e1d('0xf')]),_0x471cb6[_0x1e1d('0x9')](_0x16d816),this['fire'](_0x1e1d('0xe'));}[_0x1e1d('0x6')](){super[_0x1e1d('0x6')](),this[_0x1e1d('0x7')][_0x1e1d('0x6')]();}}
23
+ const _0x3d9a=['editable','destroy','isFocused','render','bind','editing','locale','document','editor','getRoot','element','view','attachDomRoot','rootName','focusTracker','fire','ready'];(function(_0x37f9d8,_0x3d9a0c){const _0x46e5b0=function(_0x31dfc7){while(--_0x31dfc7){_0x37f9d8['push'](_0x37f9d8['shift']());}};_0x46e5b0(++_0x3d9a0c);}(_0x3d9a,0x14f));const _0x46e5=function(_0x37f9d8,_0x3d9a0c){_0x37f9d8=_0x37f9d8-0x0;let _0x46e5b0=_0x3d9a[_0x37f9d8];return _0x46e5b0;};import{EditorUI as _0x3ba300}from'ckeditor5/src/ui';import _0x337a7b from'./commenteditoruiview';export default class jt extends _0x3ba300{constructor(_0x2b95dc){super(_0x2b95dc),this[_0x46e5('0x10')]=new _0x337a7b(_0x2b95dc[_0x46e5('0xb')],_0x2b95dc['editing'][_0x46e5('0x10')]);}get[_0x46e5('0xf')](){return this['view'][_0x46e5('0xf')];}['init'](){const _0x870f97=this[_0x46e5('0xd')][_0x46e5('0xa')][_0x46e5('0x10')],_0x453100=this['view'][_0x46e5('0x5')],_0x3da8f0=_0x870f97[_0x46e5('0xc')][_0x46e5('0xe')]();_0x453100['name']=_0x3da8f0[_0x46e5('0x1')],this[_0x46e5('0x10')][_0x46e5('0x8')]();const _0x434c60=_0x453100[_0x46e5('0xf')];this['setEditableElement'](_0x453100['name'],_0x434c60),this['view'][_0x46e5('0x5')][_0x46e5('0x9')](_0x46e5('0x7'))['to'](this[_0x46e5('0x2')]),_0x870f97[_0x46e5('0x0')](_0x434c60),this[_0x46e5('0x3')](_0x46e5('0x4'));}['destroy'](){super['destroy'](),this[_0x46e5('0x10')][_0x46e5('0x6')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54cc=['ck-editor__aria-label_','Comment\x20editor','focus','cke-editor__aria-label_','setTemplate','_createVoiceLabel','_voiceLabelView','ck-reset','ck-rounded-corners','ck-editor','element','div','presentation','uiLanguage','extendTemplate','uiLanguageDirection','ck-editor__main','main','editable','render','add'];(function(_0x772178,_0x54cccb){const _0x28e078=function(_0x120c77){while(--_0x120c77){_0x772178['push'](_0x772178['shift']());}};_0x28e078(++_0x54cccb);}(_0x54cc,0x83));const _0x28e0=function(_0x772178,_0x54cccb){_0x772178=_0x772178-0x0;let _0x28e078=_0x54cc[_0x772178];return _0x28e078;};import{InlineEditableUIView as _0x9f771d,EditorUIView as _0xa5393e,LabelView as _0x346f3b}from'ckeditor5/src/ui';import{uid as _0x22f99e}from'ckeditor5/src/utils';import{getTranslation as _0x32460a}from'../../../utils/common-translations';export default class Nt extends _0xa5393e{constructor(_0x441c5f,_0x576c96){super(_0x441c5f);const _0x3e7886=_0x22f99e();this[_0x28e0('0xc')]=this['createCollection'](),this[_0x28e0('0xd')]=new _0x9f771d(_0x441c5f,_0x576c96),this[_0x28e0('0x1')]=this['_createVoiceLabel'](_0x3e7886,_0x441c5f),this[_0x28e0('0x14')]({'tag':_0x28e0('0x6'),'attributes':{'class':[_0x28e0('0x2'),_0x28e0('0x4'),_0x28e0('0x3'),'ck-comment__input'],'role':'comment','dir':_0x441c5f[_0x28e0('0xa')],'lang':_0x441c5f[_0x28e0('0x8')],'aria-labelledby':_0x28e0('0x13')+_0x3e7886},'children':[this[_0x28e0('0x1')],{'tag':'div','attributes':{'class':_0x28e0('0xb'),'role':_0x28e0('0x7')},'children':this[_0x28e0('0xc')]}]});}[_0x28e0('0xe')](){super[_0x28e0('0xe')](),this[_0x28e0('0xc')][_0x28e0('0xf')](this[_0x28e0('0xd')]);}[_0x28e0('0x12')](){this[_0x28e0('0xd')][_0x28e0('0x5')][_0x28e0('0x12')]();}[_0x28e0('0x0')](_0x163946,_0x5753e3){const _0xce4f5f=new _0x346f3b();return _0xce4f5f['text']=_0x32460a(_0x5753e3,_0x28e0('0x11')),_0xce4f5f[_0x28e0('0x9')]({'attributes':{'id':_0x28e0('0x10')+_0x163946,'class':'ck-voice-label'}}),_0xce4f5f;}}
23
+ const _0x251d=['Comment\x20editor','uiLanguageDirection','editable','add','text','comment','focus','main','setTemplate','div','_createVoiceLabel','_voiceLabelView','ck-editor__main','ck-editor__aria-label_','createCollection','ck-editor','extendTemplate','render','ck-reset','ck-comment__input'];(function(_0x4a5ee7,_0x251dbe){const _0x36228a=function(_0x3cd08e){while(--_0x3cd08e){_0x4a5ee7['push'](_0x4a5ee7['shift']());}};_0x36228a(++_0x251dbe);}(_0x251d,0x19c));const _0x3622=function(_0x4a5ee7,_0x251dbe){_0x4a5ee7=_0x4a5ee7-0x0;let _0x36228a=_0x251d[_0x4a5ee7];return _0x36228a;};import{InlineEditableUIView as _0x2328f3,EditorUIView as _0x1c8c5d,LabelView as _0x4f52bc}from'ckeditor5/src/ui';import{uid as _0x3fb84c}from'ckeditor5/src/utils';import{getTranslation as _0x4979f2}from'../../../utils/common-translations';export default class Nt extends _0x1c8c5d{constructor(_0x4cb8bb,_0x420704){super(_0x4cb8bb);const _0x5bad08=_0x3fb84c();this['main']=this[_0x3622('0x2')](),this[_0x3622('0xa')]=new _0x2328f3(_0x4cb8bb,_0x420704),this[_0x3622('0x13')]=this['_createVoiceLabel'](_0x5bad08,_0x4cb8bb),this[_0x3622('0x10')]({'tag':_0x3622('0x11'),'attributes':{'class':[_0x3622('0x6'),_0x3622('0x3'),'ck-rounded-corners',_0x3622('0x7')],'role':_0x3622('0xd'),'dir':_0x4cb8bb[_0x3622('0x9')],'lang':_0x4cb8bb['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x5bad08},'children':[this[_0x3622('0x13')],{'tag':'div','attributes':{'class':_0x3622('0x0'),'role':'presentation'},'children':this['main']}]});}[_0x3622('0x5')](){super[_0x3622('0x5')](),this[_0x3622('0xf')][_0x3622('0xb')](this['editable']);}[_0x3622('0xe')](){this[_0x3622('0xa')]['element'][_0x3622('0xe')]();}[_0x3622('0x12')](_0x45b77e,_0x21bcc3){const _0xf5448e=new _0x4f52bc();return _0xf5448e[_0x3622('0xc')]=_0x4979f2(_0x21bcc3,_0x3622('0x8')),_0xf5448e[_0x3622('0x4')]({'attributes':{'id':_0x3622('0x1')+_0x45b77e,'class':'ck-voice-label'}}),_0xf5448e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x270f=['listenTo','submit','reopen','_isAttached','stopListening','resolve','reopenCommentThread','removeCommentThread','model','update','destroy','view','addComment','getComment','isResolved','resolveCommentThread','updateComment','remove','removeComment'];(function(_0xdb772,_0x270f5d){var _0x3e7d9e=function(_0x19d44b){while(--_0x19d44b){_0xdb772['push'](_0xdb772['shift']());}};_0x3e7d9e(++_0x270f5d);}(_0x270f,0x67));var _0x3e7d=function(_0xdb772,_0x270f5d){_0xdb772=_0xdb772-0x0;var _0x3e7d9e=_0x270f[_0xdb772];return _0x3e7d9e;};import{ObservableMixin as _0x46ac52}from'ckeditor5/src/utils';export default class ct extends _0x46ac52(){constructor(_0x37717d,_0x58a189){super(),this[_0x3e7d('0x0')]=_0x37717d,this[_0x3e7d('0x0')][_0x3e7d('0xe')]=!0x0,this[_0x3e7d('0x3')]=_0x58a189,this[_0x3e7d('0xb')](_0x58a189,'submitCommentThread',()=>this[_0x3e7d('0xc')]()),this[_0x3e7d('0xb')](_0x58a189,_0x3e7d('0x12'),()=>this[_0x3e7d('0x9')]()),this[_0x3e7d('0xb')](_0x58a189,_0x3e7d('0x7'),()=>this[_0x3e7d('0x10')]()),this[_0x3e7d('0xb')](_0x58a189,_0x3e7d('0x11'),()=>this[_0x3e7d('0xd')]()),this['listenTo'](_0x58a189,_0x3e7d('0x4'),(_0x2a9362,_0x3e23e6)=>this['addComment'](_0x3e23e6)),this[_0x3e7d('0xb')](_0x58a189,_0x3e7d('0x8'),(_0x1943e9,_0x3b22cf,_0x14d8af)=>this[_0x3e7d('0x8')](_0x3b22cf,_0x14d8af)),this[_0x3e7d('0xb')](_0x58a189,'removeComment',(_0x403c03,_0x3f402a)=>this[_0x3e7d('0xa')](_0x3f402a));}[_0x3e7d('0xc')](){this[_0x3e7d('0x0')][_0x3e7d('0xc')]();}[_0x3e7d('0x9')](){this[_0x3e7d('0x0')][_0x3e7d('0x9')]();}[_0x3e7d('0x10')](){this[_0x3e7d('0x0')][_0x3e7d('0x6')]||this['model'][_0x3e7d('0x10')]();}[_0x3e7d('0xd')](){this[_0x3e7d('0x0')]['isResolved']&&this[_0x3e7d('0x0')]['reopen']();}[_0x3e7d('0x4')](_0x5c7fe7){this[_0x3e7d('0x0')][_0x3e7d('0x4')]({'content':_0x5c7fe7,'authorId':this[_0x3e7d('0x3')]['_localUser']['id']});}[_0x3e7d('0x8')](_0x3d7399,_0x63ec12){this[_0x3e7d('0x0')][_0x3e7d('0x5')](_0x3d7399)[_0x3e7d('0x1')]({'content':_0x63ec12});}['removeComment'](_0x4f0a67){this[_0x3e7d('0x0')][_0x3e7d('0x5')](_0x4f0a67)['remove']();}[_0x3e7d('0x2')](){this[_0x3e7d('0xf')](),this['model'][_0x3e7d('0xe')]=!0x1;}}
23
+ var _0x3d0f=['submit','addComment','getComment','removeComment','reopen','listenTo','update','updateComment','submitCommentThread','stopListening','destroy','view','isResolved','_isAttached','reopenCommentThread','resolve','model','remove'];(function(_0x2e4ebe,_0x3d0f40){var _0x4f9ac5=function(_0x515d79){while(--_0x515d79){_0x2e4ebe['push'](_0x2e4ebe['shift']());}};_0x4f9ac5(++_0x3d0f40);}(_0x3d0f,0x126));var _0x4f9a=function(_0x2e4ebe,_0x3d0f40){_0x2e4ebe=_0x2e4ebe-0x0;var _0x4f9ac5=_0x3d0f[_0x2e4ebe];return _0x4f9ac5;};import{ObservableMixin as _0x580527}from'ckeditor5/src/utils';export default class ct extends _0x580527(){constructor(_0x4108ed,_0x1e0ec1){super(),this[_0x4f9a('0xa')]=_0x4108ed,this[_0x4f9a('0xa')][_0x4f9a('0x7')]=!0x0,this[_0x4f9a('0x5')]=_0x1e0ec1,this[_0x4f9a('0x11')](_0x1e0ec1,_0x4f9a('0x2'),()=>this[_0x4f9a('0xc')]()),this['listenTo'](_0x1e0ec1,'removeCommentThread',()=>this[_0x4f9a('0xb')]()),this['listenTo'](_0x1e0ec1,'resolveCommentThread',()=>this[_0x4f9a('0x9')]()),this[_0x4f9a('0x11')](_0x1e0ec1,_0x4f9a('0x8'),()=>this[_0x4f9a('0x10')]()),this['listenTo'](_0x1e0ec1,'addComment',(_0x2c762b,_0x4127c6)=>this[_0x4f9a('0xd')](_0x4127c6)),this[_0x4f9a('0x11')](_0x1e0ec1,'updateComment',(_0x592700,_0x22ddc4,_0x454b1b)=>this[_0x4f9a('0x1')](_0x22ddc4,_0x454b1b)),this[_0x4f9a('0x11')](_0x1e0ec1,_0x4f9a('0xf'),(_0x49030f,_0x432bc6)=>this['removeComment'](_0x432bc6));}[_0x4f9a('0xc')](){this['model'][_0x4f9a('0xc')]();}[_0x4f9a('0xb')](){this['model'][_0x4f9a('0xb')]();}[_0x4f9a('0x9')](){this['model'][_0x4f9a('0x6')]||this['model'][_0x4f9a('0x9')]();}[_0x4f9a('0x10')](){this[_0x4f9a('0xa')]['isResolved']&&this['model'][_0x4f9a('0x10')]();}[_0x4f9a('0xd')](_0x3d8863){this['model'][_0x4f9a('0xd')]({'content':_0x3d8863,'authorId':this[_0x4f9a('0x5')]['_localUser']['id']});}[_0x4f9a('0x1')](_0x33c974,_0x5dfd45){this[_0x4f9a('0xa')][_0x4f9a('0xe')](_0x33c974)[_0x4f9a('0x0')]({'content':_0x5dfd45});}['removeComment'](_0x30cda9){this['model']['getComment'](_0x30cda9)[_0x4f9a('0xb')]();}[_0x4f9a('0x4')](){this[_0x4f9a('0x3')](),this['model'][_0x4f9a('0x7')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36ff=['hasDirtyComment','resolveCommentThread','showInput','Comment','_createCommentThreadInputView','addComment','isActive','submitCommentThread','editorDestroyed','_localUser','updateComment','removeComment','Reply...','submitLabel','focus','fire','CommentView','value','commentThreadInputView','isReadOnly','removeCommentThread','commentThreadHeaderView','commentsListView','bind','reopenCommentThread','commentInputView','_model','set','delegate','editorReady','editorConfig','length','element','stop','placeholder','Reply\x20to\x20reopen\x20discussion...','canComment','locale','cancel','_config','isDirty','destroy','assign','Reply'];(function(_0x487ef8,_0x36ff54){const _0xff84d3=function(_0x37c282){while(--_0x37c282){_0x487ef8['push'](_0x487ef8['shift']());}};_0xff84d3(++_0x36ff54);}(_0x36ff,0x194));const _0xff84=function(_0x487ef8,_0x36ff54){_0x487ef8=_0x487ef8-0x0;let _0xff84d3=_0x36ff[_0x487ef8];return _0xff84d3;};import{View as _0xaad3e9}from'ckeditor5/src/ui';import _0x575443 from'./commentthreadinputview';import _0x426eec from'./commentslistview';import _0x2b02d4 from'./commentthreadheaderview';import{getTranslation as _0x415088}from'../../../utils/common-translations';export default class Tt extends _0xaad3e9{constructor(_0xec7725,_0x472899,_0x163f00,_0x17adf5){super(_0xec7725),this[_0xff84('0x13')](_0xff84('0x2a'),!0x1),this[_0xff84('0x13')](_0xff84('0x20'),!0x1),this[_0xff84('0x12')]=_0x472899,this[_0xff84('0x1')]=_0x163f00,this[_0xff84('0x1f')]=_0x17adf5,this['commentThreadHeaderView']=new _0x2b02d4(_0xec7725,_0x472899),this[_0xff84('0xd')][_0xff84('0x14')](_0xff84('0x10'))['to'](this),this[_0xff84('0xe')]=new _0x426eec(_0xec7725,_0x472899,Object[_0xff84('0x22')]({'CommentView':this['_config'][_0xff84('0x8')]},_0x17adf5)),this['commentsListView'][_0xff84('0x14')](_0xff84('0x3'))['to'](this),this[_0xff84('0xe')]['delegate'](_0xff84('0x2'))['to'](this),this[_0xff84('0xe')][_0xff84('0x14')](_0xff84('0x25'))['to'](this),this[_0xff84('0xe')][_0xff84('0x14')](_0xff84('0x15'))['to'](this),this[_0xff84('0xe')][_0xff84('0x14')](_0xff84('0x0'))['to'](this),this[_0xff84('0xe')][_0xff84('0xf')](_0xff84('0x2a'))['to'](this),this['set']('length',this[_0xff84('0xe')][_0xff84('0x17')]),this[_0xff84('0xf')](_0xff84('0x17'))['to'](this[_0xff84('0xe')],_0xff84('0x17')),this[_0xff84('0xa')]=this[_0xff84('0x28')](),this[_0xff84('0xa')]['delegate'](_0xff84('0x15'))['to'](this),this[_0xff84('0xa')]['delegate'](_0xff84('0x0'))['to'](this),this['on'](_0xff84('0x3'),()=>this[_0xff84('0x6')]()),this[_0xff84('0xf')](_0xff84('0x20'))['to'](this[_0xff84('0xe')],_0xff84('0x24'),this['commentThreadInputView'][_0xff84('0x11')],_0xff84('0x9'),(_0x3da03d,_0x438dd1)=>_0x3da03d||!!_0x438dd1);}[_0xff84('0x6')](){this[_0xff84('0x18')]['focus']();}[_0xff84('0x21')](){this['isDirty']=!0x1,this[_0xff84('0xe')]['destroy'](),this[_0xff84('0xa')][_0xff84('0x21')](),super[_0xff84('0x21')]();}['_createCommentThreadInputView'](){const _0x4ec042=new _0x575443(this[_0xff84('0x1d')],this[_0xff84('0x1')],this[_0xff84('0x1f')][_0xff84('0x16')]),_0x309aa8=_0x4ec042[_0xff84('0x11')];return _0x4ec042[_0xff84('0xf')](_0xff84('0x26'))['to'](this,_0xff84('0x2a'),this[_0xff84('0x12')],'isReadOnly',this[_0xff84('0x12')],_0xff84('0x1c'),this['_model'],'isResolved',_0x309aa8,'value',(_0x39cf5e,_0x3865f7,_0x471ab8,_0x3a7f2f,_0x3022fd)=>!!_0x3022fd||_0x3a7f2f&&_0x471ab8&&!_0x3865f7||_0x39cf5e&&_0x471ab8&&!_0x3865f7),_0x309aa8['bind'](_0xff84('0x1a'))['to'](this,_0xff84('0x17'),this[_0xff84('0x12')],'isResolvable',this['_model'],'isResolved',(_0x2176e9,_0x115521,_0x2a0976)=>{let _0x3e57db;return _0x3e57db=_0x2a0976&&_0x115521?_0xff84('0x1b'):_0x2176e9?_0xff84('0x4'):'Write\x20a\x20comment...',_0x415088(this[_0xff84('0x1d')],_0x3e57db);}),_0x309aa8['bind'](_0xff84('0x5'))['to'](this,_0xff84('0x17'),_0x103910=>_0x415088(this[_0xff84('0x1d')],_0x103910?_0xff84('0x23'):_0xff84('0x27'))),_0x309aa8['on']('submit',(_0x4d96ef,_0x373594)=>{this[_0xff84('0x7')](_0xff84('0x29'),_0x373594),this[_0xff84('0x12')]['isResolved']&&this[_0xff84('0x12')]['isResolvable']&&this[_0xff84('0x7')](_0xff84('0x10'),this['_model']['id']),this[_0xff84('0x12')]['isSubmitted']||this[_0xff84('0x7')](_0xff84('0x2b'));}),_0x309aa8['on']('cancel',()=>{this[_0xff84('0x6')]();}),_0x309aa8[_0xff84('0xf')]('disabledSubmit')['to'](this[_0xff84('0x12')],_0xff84('0xb')),_0x309aa8['on'](_0xff84('0x1e'),_0x533888=>{0x0==this[_0xff84('0x17')]&&(this[_0xff84('0x7')]('removeCommentThread'),_0x533888[_0xff84('0x19')]());}),this['on']('change:isActive',(_0x1a4990,_0x59fa91,_0x5f0079)=>{_0x5f0079||this[_0xff84('0x17')]||_0x309aa8[_0xff84('0x9')]||this['fire'](_0xff84('0xc'));}),_0x4ec042;}}
23
+ const _0x21ac=['Write\x20a\x20comment...','editorDestroyed','removeComment','commentThreadInputView','addComment','isSubmitted','bind','Comment','Reply...','value','submitCommentThread','isActive','placeholder','disabledSubmit','submit','cancel','reopenCommentThread','commentThreadHeaderView','isResolvable','resolveCommentThread','isDirty','focus','locale','delegate','isResolved','removeCommentThread','_config','commentInputView','isReadOnly','updateComment','length','element','canComment','set','stop','fire','showInput','_localUser','commentsListView','assign','_model','editorReady','_createCommentThreadInputView','hasDirtyComment','destroy'];(function(_0x5dd963,_0x21ac9b){const _0x53060d=function(_0x5414f1){while(--_0x5414f1){_0x5dd963['push'](_0x5dd963['shift']());}};_0x53060d(++_0x21ac9b);}(_0x21ac,0x1ee));const _0x5306=function(_0x5dd963,_0x21ac9b){_0x5dd963=_0x5dd963-0x0;let _0x53060d=_0x21ac[_0x5dd963];return _0x53060d;};import{View as _0x5e3297}from'ckeditor5/src/ui';import _0x12778b from'./commentthreadinputview';import _0x171882 from'./commentslistview';import _0x38bda7 from'./commentthreadheaderview';import{getTranslation as _0x54f44d}from'../../../utils/common-translations';export default class Tt extends _0x5e3297{constructor(_0x25cd27,_0x3ac5b4,_0x49d8ac,_0x19beff){super(_0x25cd27),this[_0x5306('0x22')](_0x5306('0xc'),!0x1),this[_0x5306('0x22')](_0x5306('0x15'),!0x1),this[_0x5306('0x29')]=_0x3ac5b4,this[_0x5306('0x26')]=_0x49d8ac,this[_0x5306('0x1b')]=_0x19beff,this[_0x5306('0x12')]=new _0x38bda7(_0x25cd27,_0x3ac5b4),this[_0x5306('0x12')][_0x5306('0x18')](_0x5306('0x11'))['to'](this),this['commentsListView']=new _0x171882(_0x25cd27,_0x3ac5b4,Object[_0x5306('0x28')]({'CommentView':this[_0x5306('0x1b')]['CommentView']},_0x19beff)),this[_0x5306('0x27')][_0x5306('0x18')](_0x5306('0x3'))['to'](this),this['commentsListView'][_0x5306('0x18')](_0x5306('0x1e'))['to'](this),this[_0x5306('0x27')][_0x5306('0x18')](_0x5306('0x14'))['to'](this),this[_0x5306('0x27')]['delegate'](_0x5306('0x2a'))['to'](this),this['commentsListView'][_0x5306('0x18')](_0x5306('0x2'))['to'](this),this[_0x5306('0x27')][_0x5306('0x7')](_0x5306('0xc'))['to'](this),this[_0x5306('0x22')](_0x5306('0x1f'),this['commentsListView'][_0x5306('0x1f')]),this[_0x5306('0x7')]('length')['to'](this[_0x5306('0x27')],_0x5306('0x1f')),this[_0x5306('0x4')]=this[_0x5306('0x2b')](),this[_0x5306('0x4')]['delegate'](_0x5306('0x2a'))['to'](this),this[_0x5306('0x4')][_0x5306('0x18')](_0x5306('0x2'))['to'](this),this['on'](_0x5306('0x3'),()=>this[_0x5306('0x16')]()),this[_0x5306('0x7')](_0x5306('0x15'))['to'](this['commentsListView'],_0x5306('0x2c'),this[_0x5306('0x4')][_0x5306('0x1c')],'value',(_0x319013,_0x33c72d)=>_0x319013||!!_0x33c72d);}[_0x5306('0x16')](){this[_0x5306('0x20')][_0x5306('0x16')]();}[_0x5306('0x0')](){this[_0x5306('0x15')]=!0x1,this[_0x5306('0x27')][_0x5306('0x0')](),this[_0x5306('0x4')][_0x5306('0x0')](),super[_0x5306('0x0')]();}[_0x5306('0x2b')](){const _0x4859b4=new _0x12778b(this['locale'],this[_0x5306('0x26')],this[_0x5306('0x1b')]['editorConfig']),_0x128c8c=_0x4859b4[_0x5306('0x1c')];return _0x4859b4[_0x5306('0x7')](_0x5306('0x25'))['to'](this,_0x5306('0xc'),this[_0x5306('0x29')],'isReadOnly',this[_0x5306('0x29')],_0x5306('0x21'),this['_model'],_0x5306('0x19'),_0x128c8c,_0x5306('0xa'),(_0x2b933c,_0x4bcc27,_0x1ede73,_0x30420e,_0x8a4d2e)=>!!_0x8a4d2e||_0x30420e&&_0x1ede73&&!_0x4bcc27||_0x2b933c&&_0x1ede73&&!_0x4bcc27),_0x128c8c['bind'](_0x5306('0xd'))['to'](this,_0x5306('0x1f'),this[_0x5306('0x29')],_0x5306('0x13'),this['_model'],_0x5306('0x19'),(_0x4f7ec7,_0x524595,_0xafd1dc)=>{let _0x48702d;return _0x48702d=_0xafd1dc&&_0x524595?'Reply\x20to\x20reopen\x20discussion...':_0x4f7ec7?_0x5306('0x9'):_0x5306('0x1'),_0x54f44d(this[_0x5306('0x17')],_0x48702d);}),_0x128c8c['bind']('submitLabel')['to'](this,_0x5306('0x1f'),_0xd046f5=>_0x54f44d(this[_0x5306('0x17')],_0xd046f5?'Reply':_0x5306('0x8'))),_0x128c8c['on'](_0x5306('0xf'),(_0x27cf67,_0x353fda)=>{this[_0x5306('0x24')](_0x5306('0x5'),_0x353fda),this[_0x5306('0x29')][_0x5306('0x19')]&&this[_0x5306('0x29')][_0x5306('0x13')]&&this['fire'](_0x5306('0x11'),this[_0x5306('0x29')]['id']),this[_0x5306('0x29')][_0x5306('0x6')]||this['fire'](_0x5306('0xb'));}),_0x128c8c['on'](_0x5306('0x10'),()=>{this[_0x5306('0x16')]();}),_0x128c8c[_0x5306('0x7')](_0x5306('0xe'))['to'](this['_model'],_0x5306('0x1d')),_0x128c8c['on'](_0x5306('0x10'),_0x2793cb=>{0x0==this['length']&&(this[_0x5306('0x24')]('removeCommentThread'),_0x2793cb[_0x5306('0x23')]());}),this['on']('change:isActive',(_0x5a2b37,_0x286184,_0x162143)=>{_0x162143||this[_0x5306('0x1f')]||_0x128c8c[_0x5306('0xa')]||this['fire'](_0x5306('0x1a'));}),_0x4859b4;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ec7=['set','collapse','updateComment','isCollapsed','switchToDisplayMode','element','_model','once','_createCommentContentView','disabledSubmit','maxCommentCharsWhenCollapsed','locale','visibleView','destroy','editorReady','delegate','add','bind','_config','value','editorDestroyed','isEditMode','remove','_createCommentInputView','submit','isSystemComment','editorConfig','cancel','focus','content','switchToEditMode','createCollection','fire','isReadOnly','Save','createEditor'];(function(_0x966765,_0x2ec7a5){const _0x224e18=function(_0x41721d){while(--_0x41721d){_0x966765['push'](_0x966765['shift']());}};_0x224e18(++_0x2ec7a5);}(_0x2ec7,0x8b));const _0x224e=function(_0x966765,_0x2ec7a5){_0x966765=_0x966765-0x0;let _0x224e18=_0x2ec7[_0x966765];return _0x224e18;};import{View as _0x389a00}from'ckeditor5/src/ui';import{trimHtml as _0x33db50}from'ckeditor5-collaboration/src/collaboration-core';import _0x3a339c from'./commentcontentview';import _0x1b4676 from'./commentinputview';import{getTranslation as _0x3e3eaf}from'../../../utils/common-translations';export default class Yt extends _0x389a00{constructor(_0x286d37,_0x416d3f,_0x432dff){super(_0x286d37),this[_0x224e('0xb')]=_0x416d3f,this[_0x224e('0x17')]=_0x432dff,this[_0x224e('0x1e')]=!!this[_0x224e('0x17')][_0x224e('0x1e')],this['set'](_0x224e('0x1a'),!0x1),this[_0x224e('0x5')](_0x224e('0x8'),!0x0),this[_0x224e('0x11')]=this[_0x224e('0x0')](),this[_0x224e('0x11')][_0x224e('0x15')](this[_0x224e('0xd')]());}['expand'](){this[_0x224e('0x8')]=!0x1;}[_0x224e('0x6')](){this[_0x224e('0x1a')]||(this[_0x224e('0x8')]=!0x0);}[_0x224e('0x21')](){this[_0x224e('0xa')][_0x224e('0x21')]();}async[_0x224e('0x12')](){await this[_0x224e('0x11')]['get'](0x0)[_0x224e('0x12')](),super[_0x224e('0x12')]();}[_0x224e('0x23')](){this[_0x224e('0x1a')]||(this[_0x224e('0x1a')]=!0x0,this['visibleView'][_0x224e('0x1b')](0x0)[_0x224e('0x12')](),this[_0x224e('0x11')][_0x224e('0x15')](this[_0x224e('0x1c')]()));}['switchToDisplayMode'](){this[_0x224e('0x1a')]&&(this['isEditMode']=!0x1,this['visibleView'][_0x224e('0x1b')](0x0)[_0x224e('0x12')](),this[_0x224e('0x11')]['add'](this[_0x224e('0xd')]()));}[_0x224e('0xd')](){const _0x2ea778=new _0x3a339c(this[_0x224e('0x10')]);return _0x2ea778[_0x224e('0x16')](_0x224e('0x22'))['to'](this[_0x224e('0xb')],'content',this,_0x224e('0x8'),(_0x1986dd,_0x4ea87c)=>_0x4ea87c?_0x33db50(_0x1986dd,{'limit':this[_0x224e('0x17')][_0x224e('0xf')]}):_0x1986dd),_0x2ea778;}[_0x224e('0x1c')](){this[_0x224e('0x17')][_0x224e('0x1f')]||(this[_0x224e('0x17')][_0x224e('0x1f')]={}),this['_config'][_0x224e('0x1f')]['initialData']=this['_model']['content'];const _0x5f3598=new _0x1b4676(this[_0x224e('0x10')],this[_0x224e('0x17')][_0x224e('0x1f')]);return _0x5f3598[_0x224e('0x18')]=this[_0x224e('0xb')][_0x224e('0x22')],_0x5f3598['bind'](_0x224e('0xe'))['to'](this['_model'],_0x224e('0x2')),_0x5f3598['submitLabel']=_0x3e3eaf(this['locale'],_0x224e('0x3')),_0x5f3598['on'](_0x224e('0x1d'),(_0x1ee3dd,_0x30618a)=>{this[_0x224e('0x1')](_0x224e('0x7'),this['_model']['id'],_0x30618a),this[_0x224e('0x9')](),this[_0x224e('0x21')]();}),_0x5f3598['on'](_0x224e('0x20'),()=>{this[_0x224e('0x9')](),this['focus']();}),_0x5f3598[_0x224e('0xc')]('editorReady',()=>{_0x5f3598[_0x224e('0x21')]();}),_0x5f3598[_0x224e('0x4')](),_0x5f3598['delegate'](_0x224e('0x13'))['to'](this),_0x5f3598[_0x224e('0x14')](_0x224e('0x19'))['to'](this),_0x5f3598;}}
23
+ const _0x476e=['cancel','isSystemComment','updateComment','initialData','editorReady','disabledSubmit','isEditMode','Save','createCollection','_createCommentInputView','createEditor','switchToDisplayMode','submitLabel','destroy','collapse','editorDestroyed','maxCommentCharsWhenCollapsed','delegate','remove','content','get','set','bind','submit','_config','visibleView','element','_model','focus','once','add','_createCommentContentView','isCollapsed','isReadOnly','locale','editorConfig'];(function(_0x4d86d6,_0x476e3b){const _0x3f8448=function(_0x130e3a){while(--_0x130e3a){_0x4d86d6['push'](_0x4d86d6['shift']());}};_0x3f8448(++_0x476e3b);}(_0x476e,0x78));const _0x3f84=function(_0x4d86d6,_0x476e3b){_0x4d86d6=_0x4d86d6-0x0;let _0x3f8448=_0x476e[_0x4d86d6];return _0x3f8448;};import{View as _0x49e3cd}from'ckeditor5/src/ui';import{trimHtml as _0x344e3f}from'ckeditor5-collaboration/src/collaboration-core';import _0x22f108 from'./commentcontentview';import _0x15ec14 from'./commentinputview';import{getTranslation as _0x1e727e}from'../../../utils/common-translations';export default class Yt extends _0x49e3cd{constructor(_0x19cc27,_0x59f2a3,_0x544cf3){super(_0x19cc27),this[_0x3f84('0xf')]=_0x59f2a3,this[_0x3f84('0xc')]=_0x544cf3,this[_0x3f84('0x19')]=!!this[_0x3f84('0xc')][_0x3f84('0x19')],this[_0x3f84('0x9')]('isEditMode',!0x1),this[_0x3f84('0x9')](_0x3f84('0x14'),!0x0),this[_0x3f84('0xd')]=this[_0x3f84('0x20')](),this[_0x3f84('0xd')][_0x3f84('0x12')](this['_createCommentContentView']());}['expand'](){this['isCollapsed']=!0x1;}[_0x3f84('0x2')](){this['isEditMode']||(this[_0x3f84('0x14')]=!0x0);}[_0x3f84('0x10')](){this[_0x3f84('0xe')][_0x3f84('0x10')]();}async[_0x3f84('0x1')](){await this['visibleView'][_0x3f84('0x8')](0x0)['destroy'](),super['destroy']();}['switchToEditMode'](){this[_0x3f84('0x1e')]||(this['isEditMode']=!0x0,this[_0x3f84('0xd')][_0x3f84('0x6')](0x0)[_0x3f84('0x1')](),this['visibleView']['add'](this[_0x3f84('0x21')]()));}[_0x3f84('0x23')](){this[_0x3f84('0x1e')]&&(this[_0x3f84('0x1e')]=!0x1,this['visibleView'][_0x3f84('0x6')](0x0)[_0x3f84('0x1')](),this[_0x3f84('0xd')][_0x3f84('0x12')](this[_0x3f84('0x13')]()));}[_0x3f84('0x13')](){const _0x2e2e88=new _0x22f108(this[_0x3f84('0x16')]);return _0x2e2e88['bind']('content')['to'](this[_0x3f84('0xf')],_0x3f84('0x7'),this,_0x3f84('0x14'),(_0x4be255,_0x58e9b7)=>_0x58e9b7?_0x344e3f(_0x4be255,{'limit':this[_0x3f84('0xc')][_0x3f84('0x4')]}):_0x4be255),_0x2e2e88;}[_0x3f84('0x21')](){this['_config'][_0x3f84('0x17')]||(this[_0x3f84('0xc')][_0x3f84('0x17')]={}),this['_config']['editorConfig'][_0x3f84('0x1b')]=this[_0x3f84('0xf')]['content'];const _0xc71d2d=new _0x15ec14(this['locale'],this[_0x3f84('0xc')][_0x3f84('0x17')]);return _0xc71d2d['value']=this[_0x3f84('0xf')][_0x3f84('0x7')],_0xc71d2d[_0x3f84('0xa')](_0x3f84('0x1d'))['to'](this[_0x3f84('0xf')],_0x3f84('0x15')),_0xc71d2d[_0x3f84('0x0')]=_0x1e727e(this[_0x3f84('0x16')],_0x3f84('0x1f')),_0xc71d2d['on'](_0x3f84('0xb'),(_0x2d9323,_0x432650)=>{this['fire'](_0x3f84('0x1a'),this[_0x3f84('0xf')]['id'],_0x432650),this[_0x3f84('0x23')](),this[_0x3f84('0x10')]();}),_0xc71d2d['on'](_0x3f84('0x18'),()=>{this[_0x3f84('0x23')](),this['focus']();}),_0xc71d2d[_0x3f84('0x11')](_0x3f84('0x1c'),()=>{_0xc71d2d[_0x3f84('0x10')]();}),_0xc71d2d[_0x3f84('0x22')](),_0xc71d2d[_0x3f84('0x5')](_0x3f84('0x1c'))['to'](this),_0xc71d2d['delegate'](_0x3f84('0x3'))['to'](this),_0xc71d2d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a98=['set','count','bindTemplate','ck-thread__comment-count','NUMBER_OF_COMMENTS'];(function(_0x36045b,_0x4a982f){const _0x4f2bb1=function(_0x2c876e){while(--_0x2c876e){_0x36045b['push'](_0x36045b['shift']());}};_0x4f2bb1(++_0x4a982f);}(_0x4a98,0x147));const _0x4f2b=function(_0x36045b,_0x4a982f){_0x36045b=_0x36045b-0x0;let _0x4f2bb1=_0x4a98[_0x36045b];return _0x4f2bb1;};import{View as _0x4b27e9}from'ckeditor5/src/ui';import{getTranslation as _0x4a03b1}from'../../../utils/common-translations';export default class Zt extends _0x4b27e9{constructor(_0x38a6b4){super(_0x38a6b4);const _0xa54ec7=this[_0x4f2b('0x0')];this[_0x4f2b('0x3')](_0x4f2b('0x4'),void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':_0x4f2b('0x1')},'children':[{'text':_0xa54ec7['to']('count',_0x5e78cf=>_0x4a03b1(_0x38a6b4,_0x4f2b('0x2'),_0x5e78cf))}]});}}
23
+ const _0x56f8=['setTemplate','ck-thread__comment-count'];(function(_0x27f5f1,_0x56f825){const _0xba64c9=function(_0x2da881){while(--_0x2da881){_0x27f5f1['push'](_0x27f5f1['shift']());}};_0xba64c9(++_0x56f825);}(_0x56f8,0x10c));const _0xba64=function(_0x27f5f1,_0x56f825){_0x27f5f1=_0x27f5f1-0x0;let _0xba64c9=_0x56f8[_0x27f5f1];return _0xba64c9;};import{View as _0x132430}from'ckeditor5/src/ui';import{getTranslation as _0x36f12d}from'../../../utils/common-translations';export default class Zt extends _0x132430{constructor(_0x8a8f9d){super(_0x8a8f9d);const _0x1d8914=this['bindTemplate'];this['set']('count',void 0x0),this[_0xba64('0x0')]({'tag':'li','attributes':{'class':_0xba64('0x1')},'children':[{'text':_0x1d8914['to']('count',_0x32f67c=>_0x36f12d(_0x8a8f9d,'NUMBER_OF_COMMENTS',_0x32f67c))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x11fc=['content','innerHTML','div','ck-annotation__content','render','element'];(function(_0x3c11c6,_0x11fca8){var _0x2bd147=function(_0x3de850){while(--_0x3de850){_0x3c11c6['push'](_0x3c11c6['shift']());}};_0x2bd147(++_0x11fca8);}(_0x11fc,0x160));var _0x2bd1=function(_0x3c11c6,_0x11fca8){_0x3c11c6=_0x3c11c6-0x0;var _0x2bd147=_0x11fc[_0x3c11c6];return _0x2bd147;};import{View as _0x5b8957}from'ckeditor5/src/ui';export default class Ut extends _0x5b8957{constructor(_0x44faaf){super(_0x44faaf),this['set'](_0x2bd1('0x2'),''),this['setTemplate']({'tag':_0x2bd1('0x4'),'attributes':{'class':['ck-comment__content',_0x2bd1('0x5')]}});}[_0x2bd1('0x0')](){super[_0x2bd1('0x0')](),this['on']('change:content',(_0xc3cab5,_0x104391,_0x221f8d)=>{this[_0x2bd1('0x1')][_0x2bd1('0x3')]=_0x221f8d;}),this[_0x2bd1('0x1')][_0x2bd1('0x3')]=this[_0x2bd1('0x2')];}}
23
+ var _0x2301=['ck-annotation__content','innerHTML','div','content','element','setTemplate','render','change:content','ck-comment__content','set'];(function(_0x3f0e38,_0x230134){var _0x2e02b1=function(_0x3e6e33){while(--_0x3e6e33){_0x3f0e38['push'](_0x3f0e38['shift']());}};_0x2e02b1(++_0x230134);}(_0x2301,0x16d));var _0x2e02=function(_0x3f0e38,_0x230134){_0x3f0e38=_0x3f0e38-0x0;var _0x2e02b1=_0x2301[_0x3f0e38];return _0x2e02b1;};import{View as _0x7feaea}from'ckeditor5/src/ui';export default class Ut extends _0x7feaea{constructor(_0x4d95e6){super(_0x4d95e6),this[_0x2e02('0x4')](_0x2e02('0x8'),''),this[_0x2e02('0x0')]({'tag':_0x2e02('0x7'),'attributes':{'class':[_0x2e02('0x3'),_0x2e02('0x5')]}});}['render'](){super[_0x2e02('0x1')](),this['on'](_0x2e02('0x2'),(_0x19f3a7,_0x37fed6,_0x1deb3d)=>{this[_0x2e02('0x9')][_0x2e02('0x6')]=_0x1deb3d;}),this[_0x2e02('0x9')][_0x2e02('0x6')]=this[_0x2e02('0x8')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x263f=['setTemplate','shift\x20+\x20tab','high','createEditor','submit','ck-comment__input-actions--active','disabledSubmit','ck-comment__input-actions--submit','extendTemplate','change','value','listenTo','_editorConfig','destroy','showButtons','stop','ck-comment__input-actions','execute','_createCancelButton','focusPrevious','submitLabel','create','setData','focusNext','withText','add','_createSubmitButton','forEach','render','bind','fire','ck-comment__input-wrapper','focus','document','editor','set','placeholder','insertBefore','keystrokes','initialData','focusTracker','low','Reply...','_isDestroyed','div','TOO_LONG_COMMENT_ALERT','tab','_editorCreationPromise','model','cancelButtonView','_initializeFocusCycling','bindTemplate','submitButtonView','firstChild','trim','Cancel','length','element','editorReady','label'];(function(_0x170416,_0x263fc7){const _0x9f2586=function(_0xca5f98){while(--_0xca5f98){_0x170416['push'](_0x170416['shift']());}};_0x9f2586(++_0x263fc7);}(_0x263f,0xc4));const _0x9f25=function(_0x170416,_0x263fc7){_0x170416=_0x170416-0x0;let _0x9f2586=_0x263f[_0x170416];return _0x9f2586;};import{View as _0x1e8f42,ViewCollection as _0x3fa1d8,FocusCycler as _0x571e4f,ButtonView as _0x466be7}from'ckeditor5/src/ui';import{FocusTracker as _0x50aa96,KeystrokeHandler as _0x3aa173}from'ckeditor5/src/utils';import _0x2b28d3 from'../commenteditor/commenteditor';import{getTranslation as _0x2976ee}from'../../../utils/common-translations';export default class Xt extends _0x1e8f42{constructor(_0x31b0ac,_0x5ddcc0={}){super(_0x31b0ac),this['editor']=null,this[_0x9f25('0x38')]=_0x5ddcc0,this['keystrokes']=new _0x3aa173(),this[_0x9f25('0x18')]=new _0x50aa96(),this['set']('value',_0x5ddcc0[_0x9f25('0x17')]||''),this[_0x9f25('0x13')](_0x9f25('0x32'),!0x1),this[_0x9f25('0x13')](_0x9f25('0x3a'),!0x0),this[_0x9f25('0x13')](_0x9f25('0x14'),_0x2976ee(_0x31b0ac,_0x9f25('0x1a'))),this[_0x9f25('0x13')]('submitLabel',_0x2976ee(_0x31b0ac,'Reply')),this['submitButtonView']=this[_0x9f25('0xa')](),this[_0x9f25('0x21')]=this[_0x9f25('0x2')](),this[_0x9f25('0x2c')]({'tag':_0x9f25('0x1c'),'attributes':{'class':[_0x9f25('0xf')]},'children':[{'tag':_0x9f25('0x1c'),'attributes':{'class':[_0x9f25('0x0'),this[_0x9f25('0x23')]['if'](_0x9f25('0x3a'),_0x9f25('0x31'))]},'children':[this['submitButtonView'],this[_0x9f25('0x21')]]}]}),this['keystrokes'][_0x9f25('0x13')]('Esc',(_0x493036,_0x4b9cad)=>{this[_0x9f25('0x21')][_0x9f25('0xe')](_0x9f25('0x1')),_0x4b9cad();}),this['on'](_0x9f25('0x30'),(_0x5b178b,_0x32fea2)=>{_0x32fea2[_0x9f25('0x28')]>0xfde8?(alert(_0x2976ee(_0x31b0ac,_0x9f25('0x1d'),[_0x32fea2['length'],0xfde8])),_0x5b178b[_0x9f25('0x3b')]()):this[_0x9f25('0x12')][_0x9f25('0x6')]('');},{'priority':_0x9f25('0x2e')});}[_0x9f25('0xc')](){super[_0x9f25('0xc')](),this[_0x9f25('0x16')][_0x9f25('0x37')](this[_0x9f25('0x29')]),this[_0x9f25('0x18')][_0x9f25('0x9')](this[_0x9f25('0x29')]);}[_0x9f25('0x2f')](){return this[_0x9f25('0x12')]||(this[_0x9f25('0x12')]=new _0x2b28d3(this[_0x9f25('0x38')]),this['_editorCreationPromise']=this['editor'][_0x9f25('0x5')]()['then'](()=>{if(this[_0x9f25('0x1b')])return;const _0x149570=this['editor'];this[_0x9f25('0x29')][_0x9f25('0x15')](_0x149570['ui'][_0x9f25('0x29')],this[_0x9f25('0x29')][_0x9f25('0x25')]),_0x149570[_0x9f25('0x20')][_0x9f25('0x11')]['on'](_0x9f25('0x35'),()=>this[_0x9f25('0x36')]=_0x149570['getData']()),_0x149570[_0x9f25('0xd')](_0x9f25('0x14'))['to'](this),this[_0x9f25('0x22')](this[_0x9f25('0x12')]),this['fire'](_0x9f25('0x2a'),this['editor']);})),this[_0x9f25('0x1f')];}[_0x9f25('0x10')](){this['editor']&&this[_0x9f25('0x12')][_0x9f25('0x10')]();}async[_0x9f25('0x39')](){this[_0x9f25('0x1b')]||(this[_0x9f25('0x1b')]=!0x0,this[_0x9f25('0x12')]&&(await this[_0x9f25('0x1f')],await this[_0x9f25('0x12')][_0x9f25('0x39')](),this[_0x9f25('0xe')]('editorDestroyed',this[_0x9f25('0x12')])),await super['destroy']());}[_0x9f25('0xa')](){const {locale:_0x389355}=this,_0x129c7f=new _0x466be7(_0x389355);return _0x129c7f['extendTemplate']({'attributes':{'class':[_0x9f25('0x33')]}}),_0x129c7f[_0x9f25('0x8')]=!0x0,_0x129c7f[_0x9f25('0xd')](_0x9f25('0x2b'))['to'](this,_0x9f25('0x4')),_0x129c7f['on'](_0x9f25('0x1'),()=>{this['fire']('submit',this[_0x9f25('0x36')]);}),_0x129c7f[_0x9f25('0xd')]('isEnabled')['to'](this,'value',this,_0x9f25('0x32'),(_0x28cbdc,_0x1085fd)=>!_0x1085fd&&!!_0x28cbdc[_0x9f25('0x26')]()),_0x129c7f;}[_0x9f25('0x2')](){const {locale:_0xad6500}=this,_0x49d893=new _0x466be7(_0xad6500);return _0x49d893[_0x9f25('0x34')]({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x49d893[_0x9f25('0x2b')]=_0x2976ee(_0xad6500,_0x9f25('0x27')),_0x49d893[_0x9f25('0x8')]=!0x0,_0x49d893['on'](_0x9f25('0x1'),()=>{this[_0x9f25('0x12')][_0x9f25('0x6')](''),this[_0x9f25('0xe')]('cancel');}),_0x49d893;}[_0x9f25('0x22')](_0x3569e4){const _0x303f3b=this[_0x9f25('0x18')],_0x2f6911=new _0x3fa1d8();[_0x3569e4['ui']['view'],this[_0x9f25('0x24')],this[_0x9f25('0x21')]][_0x9f25('0xb')](_0x12f4a9=>{_0x2f6911[_0x9f25('0x9')](_0x12f4a9),_0x303f3b[_0x9f25('0x9')](_0x12f4a9[_0x9f25('0x29')]);});const _0x206648=new _0x571e4f({'focusables':_0x2f6911,'focusTracker':_0x303f3b});this[_0x9f25('0x16')]['set'](_0x9f25('0x1e'),(_0x581475,_0x56b1b9)=>{_0x206648[_0x9f25('0x7')](),_0x56b1b9();},{'priority':_0x9f25('0x19')}),this['keystrokes'][_0x9f25('0x13')](_0x9f25('0x2d'),(_0x5cedf3,_0x10417c)=>{_0x206648[_0x9f25('0x3')](),_0x10417c();},{'priority':_0x9f25('0x19')});}}
23
+ const _0x4151=['forEach','submit','fire','editor','createEditor','length','_isDestroyed','ck-comment__input-wrapper','render','ck-comment__input-actions','ck-comment__input-actions--cancel','destroy','value','set','add','listenTo','_initializeFocusCycling','shift\x20+\x20tab','cancel','submitButtonView','execute','keystrokes','view','low','Reply','submitLabel','element','_createSubmitButton','ck-comment__input-actions--submit','stop','Esc','then','editorDestroyed','firstChild','isEnabled','withText','document','tab','showButtons','label','setData','getData','extendTemplate','div','initialData','create','bindTemplate','placeholder','_editorConfig','setTemplate','ck-comment__input-actions--active','focusNext','insertBefore','cancelButtonView','focus','focusTracker','bind','trim'];(function(_0x3da0cd,_0x41515f){const _0x50e2df=function(_0x4aa009){while(--_0x4aa009){_0x3da0cd['push'](_0x3da0cd['shift']());}};_0x50e2df(++_0x41515f);}(_0x4151,0x167));const _0x50e2=function(_0x3da0cd,_0x41515f){_0x3da0cd=_0x3da0cd-0x0;let _0x50e2df=_0x4151[_0x3da0cd];return _0x50e2df;};import{View as _0x12bb01,ViewCollection as _0x4dd699,FocusCycler as _0x2dad2b,ButtonView as _0x22d182}from'ckeditor5/src/ui';import{FocusTracker as _0x2db4d7,KeystrokeHandler as _0x47c1ae}from'ckeditor5/src/utils';import _0x4c8be3 from'../commenteditor/commenteditor';import{getTranslation as _0x1b8f48}from'../../../utils/common-translations';export default class Xt extends _0x12bb01{constructor(_0x4f951d,_0x3ec0e6={}){super(_0x4f951d),this[_0x50e2('0x32')]=null,this[_0x50e2('0x25')]=_0x3ec0e6,this[_0x50e2('0xa')]=new _0x47c1ae(),this[_0x50e2('0x2c')]=new _0x2db4d7(),this[_0x50e2('0x2')](_0x50e2('0x1'),_0x3ec0e6[_0x50e2('0x21')]||''),this[_0x50e2('0x2')]('disabledSubmit',!0x1),this[_0x50e2('0x2')](_0x50e2('0x1b'),!0x0),this[_0x50e2('0x2')](_0x50e2('0x24'),_0x1b8f48(_0x4f951d,'Reply...')),this[_0x50e2('0x2')]('submitLabel',_0x1b8f48(_0x4f951d,_0x50e2('0xd'))),this[_0x50e2('0x8')]=this[_0x50e2('0x10')](),this['cancelButtonView']=this['_createCancelButton'](),this[_0x50e2('0x26')]({'tag':'div','attributes':{'class':[_0x50e2('0x36')]},'children':[{'tag':_0x50e2('0x20'),'attributes':{'class':[_0x50e2('0x38'),this[_0x50e2('0x23')]['if']('showButtons',_0x50e2('0x27'))]},'children':[this[_0x50e2('0x8')],this[_0x50e2('0x2a')]]}]}),this[_0x50e2('0xa')]['set'](_0x50e2('0x13'),(_0x1cee89,_0x49649b)=>{this[_0x50e2('0x2a')][_0x50e2('0x31')]('execute'),_0x49649b();}),this['on'](_0x50e2('0x30'),(_0x66b97f,_0x3dbde1)=>{_0x3dbde1[_0x50e2('0x34')]>0xfde8?(alert(_0x1b8f48(_0x4f951d,'TOO_LONG_COMMENT_ALERT',[_0x3dbde1['length'],0xfde8])),_0x66b97f[_0x50e2('0x12')]()):this[_0x50e2('0x32')]['setData']('');},{'priority':'high'});}[_0x50e2('0x37')](){super[_0x50e2('0x37')](),this[_0x50e2('0xa')][_0x50e2('0x4')](this[_0x50e2('0xf')]),this['focusTracker'][_0x50e2('0x3')](this[_0x50e2('0xf')]);}[_0x50e2('0x33')](){return this[_0x50e2('0x32')]||(this[_0x50e2('0x32')]=new _0x4c8be3(this[_0x50e2('0x25')]),this['_editorCreationPromise']=this[_0x50e2('0x32')][_0x50e2('0x22')]()[_0x50e2('0x14')](()=>{if(this[_0x50e2('0x35')])return;const _0x53a3f6=this['editor'];this[_0x50e2('0xf')][_0x50e2('0x29')](_0x53a3f6['ui'][_0x50e2('0xf')],this[_0x50e2('0xf')][_0x50e2('0x16')]),_0x53a3f6['model'][_0x50e2('0x19')]['on']('change',()=>this[_0x50e2('0x1')]=_0x53a3f6[_0x50e2('0x1e')]()),_0x53a3f6[_0x50e2('0x2d')](_0x50e2('0x24'))['to'](this),this[_0x50e2('0x5')](this[_0x50e2('0x32')]),this[_0x50e2('0x31')]('editorReady',this[_0x50e2('0x32')]);})),this['_editorCreationPromise'];}[_0x50e2('0x2b')](){this[_0x50e2('0x32')]&&this[_0x50e2('0x32')]['focus']();}async[_0x50e2('0x0')](){this[_0x50e2('0x35')]||(this['_isDestroyed']=!0x0,this['editor']&&(await this['_editorCreationPromise'],await this[_0x50e2('0x32')]['destroy'](),this['fire'](_0x50e2('0x15'),this[_0x50e2('0x32')])),await super[_0x50e2('0x0')]());}['_createSubmitButton'](){const {locale:_0x9e1b6a}=this,_0x2eacf2=new _0x22d182(_0x9e1b6a);return _0x2eacf2['extendTemplate']({'attributes':{'class':[_0x50e2('0x11')]}}),_0x2eacf2[_0x50e2('0x18')]=!0x0,_0x2eacf2[_0x50e2('0x2d')](_0x50e2('0x1c'))['to'](this,_0x50e2('0xe')),_0x2eacf2['on']('execute',()=>{this[_0x50e2('0x31')](_0x50e2('0x30'),this['value']);}),_0x2eacf2[_0x50e2('0x2d')](_0x50e2('0x17'))['to'](this,'value',this,'disabledSubmit',(_0x3c60e4,_0x39c197)=>!_0x39c197&&!!_0x3c60e4[_0x50e2('0x2e')]()),_0x2eacf2;}['_createCancelButton'](){const {locale:_0x1ff47c}=this,_0x418401=new _0x22d182(_0x1ff47c);return _0x418401[_0x50e2('0x1f')]({'attributes':{'class':[_0x50e2('0x39')]}}),_0x418401[_0x50e2('0x1c')]=_0x1b8f48(_0x1ff47c,'Cancel'),_0x418401[_0x50e2('0x18')]=!0x0,_0x418401['on'](_0x50e2('0x9'),()=>{this['editor'][_0x50e2('0x1d')](''),this[_0x50e2('0x31')](_0x50e2('0x7'));}),_0x418401;}[_0x50e2('0x5')](_0x36239e){const _0x308dfe=this[_0x50e2('0x2c')],_0x29a0da=new _0x4dd699();[_0x36239e['ui'][_0x50e2('0xb')],this[_0x50e2('0x8')],this[_0x50e2('0x2a')]][_0x50e2('0x2f')](_0x68ac35=>{_0x29a0da[_0x50e2('0x3')](_0x68ac35),_0x308dfe[_0x50e2('0x3')](_0x68ac35['element']);});const _0x1a5157=new _0x2dad2b({'focusables':_0x29a0da,'focusTracker':_0x308dfe});this[_0x50e2('0xa')][_0x50e2('0x2')](_0x50e2('0x1a'),(_0x4952cb,_0x7b36ec)=>{_0x1a5157[_0x50e2('0x28')](),_0x7b36ec();},{'priority':_0x50e2('0xc')}),this['keystrokes'][_0x50e2('0x2')](_0x50e2('0x6'),(_0x2d2958,_0x38f24e)=>{_0x1a5157['focusPrevious'](),_0x38f24e();},{'priority':_0x50e2('0xc')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a2d=['high','add','ck-comments-archive__info','length','element','stopPropagation','bindTemplate','isEmpty','ck-hidden','_focusCycler','arrowright','ck-comments-archive__header\x20','auto','EMPTY_COMMENTS_ARCHIVE','set','remove','_focusables','focus','listenTo','setTemplate','destroy','_focusTracker','render','div','tab','_keystrokes'];(function(_0x5d2c45,_0x3a2d4e){const _0x514160=function(_0x4f022e){while(--_0x4f022e){_0x5d2c45['push'](_0x5d2c45['shift']());}};_0x514160(++_0x3a2d4e);}(_0x3a2d,0x1eb));const _0x5141=function(_0x5d2c45,_0x3a2d4e){_0x5d2c45=_0x5d2c45-0x0;let _0x514160=_0x3a2d[_0x5d2c45];return _0x514160;};import{View as _0x47a496,FocusCycler as _0x16fc38}from'ckeditor5/src/ui';import{FocusTracker as _0x2079f1,KeystrokeHandler as _0x44b438}from'ckeditor5/src/utils';import{getTranslation as _0x3b99cf}from'../../../utils/common-translations';export default class K extends _0x47a496{constructor(_0x154f39,_0x7d7e20){super(_0x154f39),this[_0x5141('0x11')](_0x5141('0xa'),!_0x7d7e20[_0x5141('0x6')]),this['_focusTracker']=new _0x2079f1(),this[_0x5141('0x2')]=new _0x44b438(),this[_0x5141('0x13')]=_0x7d7e20,this[_0x5141('0xc')]=new _0x16fc38({'focusables':this['_focusables'],'focusTracker':this[_0x5141('0x18')],'keystrokeHandler':this[_0x5141('0x2')],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':_0x5141('0x1')}}),this[_0x5141('0x15')](_0x7d7e20,_0x5141('0x4'),()=>{this[_0x5141('0xa')]=!0x1;}),this[_0x5141('0x15')](_0x7d7e20,_0x5141('0x12'),(_0x18bb4f,_0x4a370b)=>{_0x4a370b['isActive']&&this[_0x5141('0x14')](),_0x7d7e20[_0x5141('0x6')]||(this[_0x5141('0xa')]=!0x0);});const _0x16600c=this[_0x5141('0x9')];this[_0x5141('0x16')]({'tag':_0x5141('0x0'),'attributes':{'dir':_0x5141('0xf'),'class':['ck','ck-comments-archive'],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x5141('0xe')]},'children':[{'text':_0x3b99cf(_0x154f39,'COMMENTS_ARCHIVE')}]},{'tag':'div','attributes':{'class':['ck-comments-archive__content']},'children':[{'tag':'div','children':_0x7d7e20},{'tag':'p','attributes':{'class':[_0x5141('0x5'),_0x16600c['if']('isEmpty',_0x5141('0xb'),_0x17fc11=>!_0x17fc11)]},'children':[{'text':_0x3b99cf(_0x154f39,_0x5141('0x10'))}]}]}]});}[_0x5141('0x19')](){super[_0x5141('0x19')](),this[_0x5141('0x2')]['listenTo'](this[_0x5141('0x7')]);const _0x54fa4d=_0x46bb48=>_0x46bb48[_0x5141('0x8')]();this[_0x5141('0x2')][_0x5141('0x11')](_0x5141('0xd'),_0x54fa4d),this[_0x5141('0x2')][_0x5141('0x11')]('arrowleft',_0x54fa4d),this[_0x5141('0x2')][_0x5141('0x11')]('arrowup',_0x54fa4d),this['_keystrokes']['set']('arrowdown',_0x54fa4d),this['listenTo'](this[_0x5141('0x7')],'selectstart',(_0x3c5c67,_0x3d2662)=>{_0x3d2662[_0x5141('0x8')]();},{'priority':_0x5141('0x3')});}[_0x5141('0x17')](){super[_0x5141('0x17')](),this['_focusTracker'][_0x5141('0x17')](),this[_0x5141('0x2')][_0x5141('0x17')]();}['focus'](){this[_0x5141('0x7')]['focus']();}}
23
+ const _0x956d=['isEmpty','bindTemplate','ck-comments-archive__content','_focusCycler','setTemplate','arrowdown','length','listenTo','EMPTY_COMMENTS_ARCHIVE','ck-comments-archive__info','_focusables','arrowleft','stopPropagation','tab','ck-comments-archive','remove','focus','destroy','set','element','_keystrokes','arrowright','selectstart','render','high','_focusTracker'];(function(_0x2ee5eb,_0x956d2){const _0x49e7d8=function(_0x51a651){while(--_0x51a651){_0x2ee5eb['push'](_0x2ee5eb['shift']());}};_0x49e7d8(++_0x956d2);}(_0x956d,0x129));const _0x49e7=function(_0x2ee5eb,_0x956d2){_0x2ee5eb=_0x2ee5eb-0x0;let _0x49e7d8=_0x956d[_0x2ee5eb];return _0x49e7d8;};import{View as _0x176450,FocusCycler as _0x8e6b79}from'ckeditor5/src/ui';import{FocusTracker as _0x2c19bb,KeystrokeHandler as _0x572e4e}from'ckeditor5/src/utils';import{getTranslation as _0x4fb31d}from'../../../utils/common-translations';export default class K extends _0x176450{constructor(_0x376cfe,_0x230db6){super(_0x376cfe),this[_0x49e7('0x7')]('isEmpty',!_0x230db6[_0x49e7('0x15')]),this[_0x49e7('0xe')]=new _0x2c19bb(),this[_0x49e7('0x9')]=new _0x572e4e(),this[_0x49e7('0x19')]=_0x230db6,this[_0x49e7('0x12')]=new _0x8e6b79({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':_0x49e7('0x2')}}),this['listenTo'](_0x230db6,'add',()=>{this['isEmpty']=!0x1;}),this[_0x49e7('0x16')](_0x230db6,_0x49e7('0x4'),(_0x55502b,_0x37c02a)=>{_0x37c02a['isActive']&&this[_0x49e7('0x5')](),_0x230db6[_0x49e7('0x15')]||(this['isEmpty']=!0x0);});const _0x159841=this[_0x49e7('0x10')];this[_0x49e7('0x13')]({'tag':'div','attributes':{'dir':'auto','class':['ck',_0x49e7('0x3')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':['ck-comments-archive__header\x20']},'children':[{'text':_0x4fb31d(_0x376cfe,'COMMENTS_ARCHIVE')}]},{'tag':'div','attributes':{'class':[_0x49e7('0x11')]},'children':[{'tag':'div','children':_0x230db6},{'tag':'p','attributes':{'class':[_0x49e7('0x18'),_0x159841['if'](_0x49e7('0xf'),'ck-hidden',_0xeadb16=>!_0xeadb16)]},'children':[{'text':_0x4fb31d(_0x376cfe,_0x49e7('0x17'))}]}]}]});}[_0x49e7('0xc')](){super[_0x49e7('0xc')](),this[_0x49e7('0x9')][_0x49e7('0x16')](this[_0x49e7('0x8')]);const _0x5a8069=_0xb48335=>_0xb48335[_0x49e7('0x1')]();this[_0x49e7('0x9')][_0x49e7('0x7')](_0x49e7('0xa'),_0x5a8069),this[_0x49e7('0x9')][_0x49e7('0x7')](_0x49e7('0x0'),_0x5a8069),this[_0x49e7('0x9')][_0x49e7('0x7')]('arrowup',_0x5a8069),this[_0x49e7('0x9')]['set'](_0x49e7('0x14'),_0x5a8069),this['listenTo'](this[_0x49e7('0x8')],_0x49e7('0xb'),(_0x9142d7,_0xcfebc3)=>{_0xcfebc3['stopPropagation']();},{'priority':_0x49e7('0xd')});}['destroy'](){super[_0x49e7('0x6')](),this[_0x49e7('0xe')][_0x49e7('0x6')](),this[_0x49e7('0x9')][_0x49e7('0x6')]();}[_0x49e7('0x5')](){this[_0x49e7('0x8')][_0x49e7('0x5')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5b56=['set','length','_collapsedCommentsView','expand','createCollection','change:isEditMode','_shouldCollapse','element','isEditMode','editorConfig','refreshVisibleViews','_handleNewCommentModel','commentViews','maxCommentsWhenCollapsed','weight','resolvedAt','ck-thread__comments','get','destroy','Marked\x20as\x20resolved','focus','commentUpdated','comments','editorReady','maxCommentCharsWhenCollapsed','authoredAt','resolveCommentThread','_rearrangeCollapse','_rearrangeExpand','collapse','remove','count','equal','insert','render','add','resolvedCommentView','maxThreadTotalWeight','change:isActive','some','locale','viewUid','_config','_model','_handleInfoComment','editorDestroyed','_handleRemoveCommentModel','setTemplate','from','formatDateTime','removeComment','stopListening','CommentView','hasDirtyComment','delegate','visibleViews','listenTo','bind','change:hasDirtyComment','_updateHasDirtyComment'];(function(_0x54c023,_0x5b560a){const _0x62e6f6=function(_0x554e03){while(--_0x554e03){_0x54c023['push'](_0x54c023['shift']());}};_0x62e6f6(++_0x5b560a);}(_0x5b56,0x1c8));const _0x62e6=function(_0x54c023,_0x5b560a){_0x54c023=_0x54c023-0x0;let _0x62e6f6=_0x5b56[_0x54c023];return _0x62e6f6;};import{View as _0x115e5d}from'ckeditor5/src/ui';import{diff as _0x18ba98,Collection as _0x52aa13}from'ckeditor5/src/utils';import{getTranslation as _0x521a2e}from'../../../utils/common-translations';import _0x4198d6 from'./collapsedcommentsview';export default class wt extends _0x115e5d{constructor(_0x3808bc,_0x159f51,_0x748407){super(_0x3808bc),this[_0x62e6('0x18')](_0x62e6('0x11'),!0x1),this[_0x62e6('0x18')](_0x62e6('0x19'),_0x159f51[_0x62e6('0x2e')]['length']),this['set']('isActive',!0x1),this['_model']=_0x159f51,this[_0x62e6('0x6')]=_0x748407,this['commentViews']=this[_0x62e6('0x1c')](),this[_0x62e6('0x13')]=this[_0x62e6('0x1c')](),this['resolvedCommentView']=null,this['_collapsedCommentsView']=new _0x4198d6(_0x3808bc),this[_0x62e6('0x1a')][_0x62e6('0x15')](_0x62e6('0x37'))['to'](this,_0x62e6('0x19'),_0x4d6b3f=>_0x4d6b3f-this[_0x62e6('0x6')][_0x62e6('0x25')]);for(const _0x2a7e88 of _0x159f51[_0x62e6('0x2e')])this[_0x62e6('0x23')](_0x2a7e88);this[_0x62e6('0x8')](),this[_0x62e6('0x14')](_0x159f51[_0x62e6('0x2e')],_0x62e6('0x3b'),(_0x260e24,_0x3303db)=>{const _0xfc0da9=this['_calculatePosition'](_0x3303db);this['length']++,this[_0x62e6('0x23')](_0x3303db,_0xfc0da9),this[_0x62e6('0x22')]();}),this[_0x62e6('0x14')](_0x159f51['comments'],_0x62e6('0x36'),(_0x5535d2,_0x161d6e)=>{this[_0x62e6('0x19')]--,this[_0x62e6('0xa')](_0x161d6e),this[_0x62e6('0x22')]();}),this['listenTo'](_0x159f51,_0x62e6('0x2d'),()=>this[_0x62e6('0x22')]()),this[_0x62e6('0x14')](_0x159f51,'change:isResolved',()=>this['_handleInfoComment']()),this['on'](_0x62e6('0x2'),()=>this[_0x62e6('0x22')]()),this['on'](_0x62e6('0x16'),()=>this['refreshVisibleViews']()),this[_0x62e6('0xb')]({'tag':'ul','attributes':{'class':[_0x62e6('0x28')]},'children':this[_0x62e6('0x13')]});}get[_0x62e6('0x1e')](){return this[_0x62e6('0x7')][_0x62e6('0x26')]>this['_config'][_0x62e6('0x1')]&&!this['isActive']&&!this[_0x62e6('0x11')];}[_0x62e6('0x3a')](){super[_0x62e6('0x3a')](),this[_0x62e6('0x22')]();}[_0x62e6('0x2c')](){this[_0x62e6('0x1f')][_0x62e6('0x2c')]();}[_0x62e6('0x2a')](){this['_collapsedCommentsView'][_0x62e6('0x2a')]();for(const _0x5bca59 of this[_0x62e6('0x24')])_0x5bca59[_0x62e6('0x2a')]();super[_0x62e6('0x2a')]();}[_0x62e6('0x22')](){this[_0x62e6('0x1e')]?this[_0x62e6('0x33')]():this[_0x62e6('0x34')]();}['_handleNewCommentModel'](_0x37440a,_0x4fbee8){const _0x1678e4=new this[(_0x62e6('0x6'))][(_0x62e6('0x10'))](this[_0x62e6('0x4')],_0x37440a,{'maxCommentCharsWhenCollapsed':this[_0x62e6('0x6')]['maxCommentCharsWhenCollapsed'],'formatDateTime':this[_0x62e6('0x6')][_0x62e6('0xd')],'editorConfig':this[_0x62e6('0x6')][_0x62e6('0x21')]});_0x1678e4[_0x62e6('0x5')]=_0x37440a['id'],_0x1678e4[_0x62e6('0x12')](_0x62e6('0xe'))['to'](this),_0x1678e4[_0x62e6('0x12')]('updateComment')['to'](this),_0x1678e4[_0x62e6('0x12')](_0x62e6('0x32'))['to'](this),_0x1678e4[_0x62e6('0x12')](_0x62e6('0x2f'))['to'](this),_0x1678e4[_0x62e6('0x12')](_0x62e6('0x9'))['to'](this),this[_0x62e6('0x14')](_0x1678e4,_0x62e6('0x1d'),()=>this[_0x62e6('0x17')]()),this[_0x62e6('0x24')][_0x62e6('0x3b')](_0x1678e4,_0x4fbee8);}['_calculatePosition'](_0x4a317d){const _0x2c3625=this['_model']['_findOptimalIndex'](_0x4a317d);return this[_0x62e6('0x0')]?this[_0x62e6('0x0')][_0x62e6('0x31')]>_0x4a317d[_0x62e6('0x31')]?_0x2c3625-0x1:_0x2c3625:_0x2c3625-0x1;}['_handleInfoComment'](){if(this[_0x62e6('0x7')]['resolvedBy']&&this[_0x62e6('0x7')][_0x62e6('0x27')]){const _0x5d5e58={'id':'resolved','author':this[_0x62e6('0x7')]['resolvedBy'],'authoredAt':this[_0x62e6('0x7')][_0x62e6('0x27')],'content':_0x521a2e(this[_0x62e6('0x4')],_0x62e6('0x2b')),'attributes':{}};this[_0x62e6('0x0')]=new this['_config'][(_0x62e6('0x10'))](this[_0x62e6('0x4')],_0x5d5e58,{'maxCommentCharsWhenCollapsed':this['_config'][_0x62e6('0x30')],'formatDateTime':this[_0x62e6('0x6')][_0x62e6('0xd')],'editorConfig':this['_config'][_0x62e6('0x21')],'isSystemComment':!0x0}),this[_0x62e6('0x24')]['add'](this[_0x62e6('0x0')],this[_0x62e6('0x7')]['_findOptimalIndex'](_0x5d5e58));}else this['resolvedCommentView']&&(this[_0x62e6('0x24')][_0x62e6('0x36')](this[_0x62e6('0x0')]),this[_0x62e6('0x0')][_0x62e6('0x2a')](),this[_0x62e6('0x0')]=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x57b077){const _0x586d31=this[_0x62e6('0x24')][_0x62e6('0x36')](_0x57b077['id']);this[_0x62e6('0xf')](_0x586d31),_0x586d31[_0x62e6('0x20')]&&this['_updateHasDirtyComment'](),_0x586d31[_0x62e6('0x2a')]();}[_0x62e6('0x17')](){this['hasDirtyComment']=Array['from'](this[_0x62e6('0x24')])[_0x62e6('0x3')](_0x51e279=>_0x51e279['isEditMode']);}[_0x62e6('0x33')](){const _0x43f18b=function(_0x354494){const _0x26fa68=new _0x52aa13();for(const _0x226d8e of _0x354494)_0x26fa68['add'](_0x226d8e);return _0x26fa68;}(this[_0x62e6('0x24')]),_0x58abb4=this[_0x62e6('0x1a')][_0x62e6('0x37')];for(let _0x1a0ca6=0x1;_0x1a0ca6<=_0x58abb4;_0x1a0ca6++)_0x43f18b[_0x62e6('0x36')](0x1);for(const _0x227375 of _0x43f18b)_0x227375[_0x62e6('0x35')]();_0x58abb4>0x0&&_0x43f18b[_0x62e6('0x3b')](this['_collapsedCommentsView'],0x1),ss(_0x18ba98(Array[_0x62e6('0xc')](this['visibleViews']),Array[_0x62e6('0xc')](_0x43f18b)),this[_0x62e6('0x13')],_0x43f18b);}[_0x62e6('0x34')](){ss(_0x18ba98(Array['from'](this[_0x62e6('0x13')]),Array[_0x62e6('0xc')](this['commentViews'])),this[_0x62e6('0x13')],this[_0x62e6('0x24')]);for(const _0x3adc20 of this[_0x62e6('0x13')])_0x3adc20[_0x62e6('0x1b')]();}}function ss(_0x3686c8,_0x39672a,_0x18e7ad){let _0xb38fbb=0x0;for(const _0x5271fb of _0x3686c8)switch(_0x5271fb){case _0x62e6('0x39'):_0x39672a['add'](_0x18e7ad[_0x62e6('0x29')](_0xb38fbb),_0xb38fbb),_0xb38fbb++;break;case'delete':_0x39672a[_0x62e6('0x36')](_0xb38fbb);break;case _0x62e6('0x38'):_0xb38fbb++;}}
23
+ const _0x4e3f=['resolved','_shouldCollapse','isEditMode','setTemplate','delete','maxCommentsWhenCollapsed','ck-thread__comments','count','CommentView','focus','editorConfig','change:hasDirtyComment','resolvedCommentView','refreshVisibleViews','destroy','equal','delegate','_handleNewCommentModel','formatDateTime','resolvedAt','hasDirtyComment','add','_rearrangeCollapse','_findOptimalIndex','listenTo','render','_calculatePosition','removeComment','commentViews','visibleViews','_handleInfoComment','length','element','resolvedBy','weight','remove','locale','insert','isActive','_handleRemoveCommentModel','some','change:isResolved','_collapsedCommentsView','maxThreadTotalWeight','_updateHasDirtyComment','commentUpdated','Marked\x20as\x20resolved','collapse','authoredAt','comments','set','stopListening','updateComment','change:isActive','createCollection','get','from','editorReady','maxCommentCharsWhenCollapsed','_rearrangeExpand','_model','_config'];(function(_0x1e686a,_0x4e3f1f){const _0x4d47a0=function(_0x3b52c6){while(--_0x3b52c6){_0x1e686a['push'](_0x1e686a['shift']());}};_0x4d47a0(++_0x4e3f1f);}(_0x4e3f,0xe3));const _0x4d47=function(_0x1e686a,_0x4e3f1f){_0x1e686a=_0x1e686a-0x0;let _0x4d47a0=_0x4e3f[_0x1e686a];return _0x4d47a0;};import{View as _0x5b536e}from'ckeditor5/src/ui';import{diff as _0x264cb7,Collection as _0x5bbb2b}from'ckeditor5/src/utils';import{getTranslation as _0x54f57f}from'../../../utils/common-translations';import _0x4ca8aa from'./collapsedcommentsview';export default class wt extends _0x5b536e{constructor(_0x57a99a,_0x7fbc93,_0x46d561){super(_0x57a99a),this[_0x4d47('0x9')]('hasDirtyComment',!0x1),this[_0x4d47('0x9')]('length',_0x7fbc93[_0x4d47('0x8')][_0x4d47('0x34')]),this[_0x4d47('0x9')](_0x4d47('0x3b'),!0x1),this['_model']=_0x7fbc93,this[_0x4d47('0x14')]=_0x46d561,this[_0x4d47('0x31')]=this[_0x4d47('0xd')](),this[_0x4d47('0x32')]=this['createCollection'](),this['resolvedCommentView']=null,this[_0x4d47('0x1')]=new _0x4ca8aa(_0x57a99a),this['_collapsedCommentsView']['bind'](_0x4d47('0x1c'))['to'](this,'length',_0x3351ad=>_0x3351ad-this[_0x4d47('0x14')][_0x4d47('0x1a')]);for(const _0x2ed40d of _0x7fbc93[_0x4d47('0x8')])this[_0x4d47('0x26')](_0x2ed40d);this[_0x4d47('0x33')](),this[_0x4d47('0x2d')](_0x7fbc93[_0x4d47('0x8')],'add',(_0x1d1f40,_0x11622c)=>{const _0x1972d0=this[_0x4d47('0x2f')](_0x11622c);this['length']++,this['_handleNewCommentModel'](_0x11622c,_0x1972d0),this[_0x4d47('0x22')]();}),this[_0x4d47('0x2d')](_0x7fbc93[_0x4d47('0x8')],'remove',(_0x101a46,_0x5f534f)=>{this[_0x4d47('0x34')]--,this[_0x4d47('0x3c')](_0x5f534f),this[_0x4d47('0x22')]();}),this[_0x4d47('0x2d')](_0x7fbc93,_0x4d47('0x4'),()=>this[_0x4d47('0x22')]()),this[_0x4d47('0x2d')](_0x7fbc93,_0x4d47('0x0'),()=>this[_0x4d47('0x33')]()),this['on'](_0x4d47('0xc'),()=>this[_0x4d47('0x22')]()),this['on'](_0x4d47('0x20'),()=>this['refreshVisibleViews']()),this[_0x4d47('0x18')]({'tag':'ul','attributes':{'class':[_0x4d47('0x1b')]},'children':this[_0x4d47('0x32')]});}get[_0x4d47('0x16')](){return this[_0x4d47('0x13')][_0x4d47('0x37')]>this['_config'][_0x4d47('0x2')]&&!this[_0x4d47('0x3b')]&&!this[_0x4d47('0x29')];}[_0x4d47('0x2e')](){super[_0x4d47('0x2e')](),this[_0x4d47('0x22')]();}[_0x4d47('0x1e')](){this[_0x4d47('0x35')][_0x4d47('0x1e')]();}['destroy'](){this[_0x4d47('0x1')][_0x4d47('0x23')]();for(const _0x1315fe of this['commentViews'])_0x1315fe[_0x4d47('0x23')]();super[_0x4d47('0x23')]();}[_0x4d47('0x22')](){this[_0x4d47('0x16')]?this[_0x4d47('0x2b')]():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x277a50,_0x1fc4a4){const _0xd6c514=new this['_config'][(_0x4d47('0x1d'))](this[_0x4d47('0x39')],_0x277a50,{'maxCommentCharsWhenCollapsed':this['_config'][_0x4d47('0x11')],'formatDateTime':this[_0x4d47('0x14')][_0x4d47('0x27')],'editorConfig':this[_0x4d47('0x14')][_0x4d47('0x1f')]});_0xd6c514['viewUid']=_0x277a50['id'],_0xd6c514[_0x4d47('0x25')](_0x4d47('0x30'))['to'](this),_0xd6c514[_0x4d47('0x25')](_0x4d47('0xb'))['to'](this),_0xd6c514['delegate']('resolveCommentThread')['to'](this),_0xd6c514['delegate'](_0x4d47('0x10'))['to'](this),_0xd6c514[_0x4d47('0x25')]('editorDestroyed')['to'](this),this['listenTo'](_0xd6c514,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this['commentViews']['add'](_0xd6c514,_0x1fc4a4);}[_0x4d47('0x2f')](_0x351c6f){const _0x25edf5=this[_0x4d47('0x13')][_0x4d47('0x2c')](_0x351c6f);return this['resolvedCommentView']?this['resolvedCommentView'][_0x4d47('0x7')]>_0x351c6f[_0x4d47('0x7')]?_0x25edf5-0x1:_0x25edf5:_0x25edf5-0x1;}[_0x4d47('0x33')](){if(this[_0x4d47('0x13')][_0x4d47('0x36')]&&this[_0x4d47('0x13')][_0x4d47('0x28')]){const _0xe0729b={'id':_0x4d47('0x15'),'author':this['_model']['resolvedBy'],'authoredAt':this[_0x4d47('0x13')][_0x4d47('0x28')],'content':_0x54f57f(this[_0x4d47('0x39')],_0x4d47('0x5')),'attributes':{}};this['resolvedCommentView']=new this[(_0x4d47('0x14'))][(_0x4d47('0x1d'))](this['locale'],_0xe0729b,{'maxCommentCharsWhenCollapsed':this[_0x4d47('0x14')][_0x4d47('0x11')],'formatDateTime':this['_config'][_0x4d47('0x27')],'editorConfig':this[_0x4d47('0x14')]['editorConfig'],'isSystemComment':!0x0}),this[_0x4d47('0x31')][_0x4d47('0x2a')](this['resolvedCommentView'],this[_0x4d47('0x13')][_0x4d47('0x2c')](_0xe0729b));}else this[_0x4d47('0x21')]&&(this[_0x4d47('0x31')][_0x4d47('0x38')](this[_0x4d47('0x21')]),this[_0x4d47('0x21')][_0x4d47('0x23')](),this[_0x4d47('0x21')]=null);this[_0x4d47('0x22')]();}['_handleRemoveCommentModel'](_0x4f05c4){const _0x3dc6bc=this[_0x4d47('0x31')][_0x4d47('0x38')](_0x4f05c4['id']);this[_0x4d47('0xa')](_0x3dc6bc),_0x3dc6bc['isEditMode']&&this[_0x4d47('0x3')](),_0x3dc6bc['destroy']();}[_0x4d47('0x3')](){this[_0x4d47('0x29')]=Array[_0x4d47('0xf')](this[_0x4d47('0x31')])[_0x4d47('0x3d')](_0x5d02e7=>_0x5d02e7[_0x4d47('0x17')]);}['_rearrangeCollapse'](){const _0x36c208=function(_0x23749c){const _0x3858c3=new _0x5bbb2b();for(const _0x11f9b6 of _0x23749c)_0x3858c3[_0x4d47('0x2a')](_0x11f9b6);return _0x3858c3;}(this[_0x4d47('0x31')]),_0x39b303=this[_0x4d47('0x1')][_0x4d47('0x1c')];for(let _0x1cd8c6=0x1;_0x1cd8c6<=_0x39b303;_0x1cd8c6++)_0x36c208[_0x4d47('0x38')](0x1);for(const _0x1c66dd of _0x36c208)_0x1c66dd[_0x4d47('0x6')]();_0x39b303>0x0&&_0x36c208['add'](this[_0x4d47('0x1')],0x1),ss(_0x264cb7(Array[_0x4d47('0xf')](this['visibleViews']),Array[_0x4d47('0xf')](_0x36c208)),this[_0x4d47('0x32')],_0x36c208);}[_0x4d47('0x12')](){ss(_0x264cb7(Array[_0x4d47('0xf')](this[_0x4d47('0x32')]),Array[_0x4d47('0xf')](this[_0x4d47('0x31')])),this[_0x4d47('0x32')],this[_0x4d47('0x31')]);for(const _0x153fb6 of this[_0x4d47('0x32')])_0x153fb6['expand']();}}function ss(_0xc213dc,_0x502230,_0x101a0b){let _0x339c15=0x0;for(const _0x4bcc77 of _0xc213dc)switch(_0x4bcc77){case _0x4d47('0x3a'):_0x502230['add'](_0x101a0b[_0x4d47('0xe')](_0x339c15),_0x339c15),_0x339c15++;break;case _0x4d47('0x19'):_0x502230[_0x4d47('0x38')](_0x339c15);break;case _0x4d47('0x24'):_0x339c15++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd89a=['element','_trimContextValue','_model','ck-annotation__actions','Comment\x20was\x20made\x20on\x20an\x20element','_createReopenButton','render','.ck-context__value','tooltip','classList','locale','ck-context-wrapper','reopenButtonView','ck-context__value','_attachContextActions','add','listenTo','ck-context--quotes','mouseenter','execute','remove','ck-thread__header','mouseleave','isVisible','bind','isReadOnly','length','isEnabled','.ck-context','context','setTemplate','div','offsetWidth','scrollWidth','fire','overlay','querySelector','span','contextValue','isResolvable','label','...'];(function(_0x10899a,_0xd89a4c){const _0x10bcde=function(_0x375f17){while(--_0x375f17){_0x10899a['push'](_0x10899a['shift']());}};_0x10bcde(++_0xd89a4c);}(_0xd89a,0xa9));const _0x10bc=function(_0x10899a,_0xd89a4c){_0x10899a=_0x10899a-0x0;let _0x10bcde=_0xd89a[_0x10899a];return _0x10bcde;};import{View as _0x26ffd0,ButtonView as _0x12476d}from'ckeditor5/src/ui';import{getTranslation as _0x3c3dad}from'../../../utils/common-translations';import _0x205561 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Rt extends _0x26ffd0{constructor(_0xd41493,_0x1c598c){super(_0xd41493);const _0x6d91f1=this['bindTemplate'];this['_model']=_0x1c598c,this[_0x10bc('0xb')]=this[_0x10bc('0x4')](),this['bind']('hasContext')['to'](this[_0x10bc('0x1')],_0x10bc('0x1c'),_0x3fa97a=>!!_0x3fa97a),this['bind']('contextValue')['to'](this[_0x10bc('0x1')],_0x10bc('0x1c'),_0x3952f6=>_0x3952f6&&_0x3952f6['value']?this[_0x10bc('0x0')](_0x3952f6['value']):_0x3c3dad(this['locale'],_0x10bc('0x3'))),this[_0x10bc('0x1d')]({'tag':_0x10bc('0x1e'),'attributes':{'class':[_0x10bc('0x14')]},'children':[{'tag':_0x10bc('0x1e'),'attributes':{'class':[_0x10bc('0xa')]},'children':[{'tag':_0x10bc('0x1e'),'attributes':{'class':['ck-context',_0x6d91f1['if']('hasContext',_0x10bc('0x10'))]},'children':[{'tag':_0x10bc('0x24'),'attributes':{'class':[_0x10bc('0xc')]},'children':[{'text':_0x6d91f1['to'](_0x10bc('0x25'))}]}]}]},{'tag':'div','attributes':{'class':[_0x10bc('0x2')]},'children':[this[_0x10bc('0xb')]]}]});}[_0x10bc('0x5')](){super[_0x10bc('0x5')](),this[_0x10bc('0xd')]();}[_0x10bc('0x4')](){const _0x272f2f=new _0x12476d(this[_0x10bc('0x9')]);return _0x272f2f[_0x10bc('0x27')]=_0x3c3dad(this[_0x10bc('0x9')],'Reopen'),_0x272f2f[_0x10bc('0x7')]=_0x3c3dad(this[_0x10bc('0x9')],'Reopen'),_0x272f2f['icon']=_0x205561,_0x272f2f[_0x10bc('0x17')](_0x10bc('0x1a'))['to'](this['_model'],_0x10bc('0x18'),_0x5a0980=>!_0x5a0980),_0x272f2f[_0x10bc('0x17')](_0x10bc('0x16'))['to'](this['_model'],_0x10bc('0x26')),_0x272f2f['on'](_0x10bc('0x12'),()=>{this[_0x10bc('0x21')]('reopenCommentThread',this[_0x10bc('0x1')]['id']);}),_0x272f2f;}[_0x10bc('0x0')](_0x1d389f){if(_0x1d389f[_0x10bc('0x19')]<0x96)return _0x1d389f;const _0x5d1763=_0x1d389f['lastIndexOf']('\x20',0x93);return _0x1d389f['substring'](0x0,_0x5d1763>-0x1?_0x5d1763:0x93)+_0x10bc('0x28');}[_0x10bc('0xd')](){const _0x2a10fe=this[_0x10bc('0x29')][_0x10bc('0x23')](_0x10bc('0x1b')),_0x508f16=_0x2a10fe[_0x10bc('0x23')](_0x10bc('0x6'));this[_0x10bc('0xf')](_0x2a10fe,_0x10bc('0x11'),()=>{_0x508f16[_0x10bc('0x1f')]<_0x508f16[_0x10bc('0x20')]&&_0x2a10fe['classList'][_0x10bc('0xe')](_0x10bc('0x22'));}),this[_0x10bc('0xf')](_0x2a10fe,_0x10bc('0x15'),()=>{_0x2a10fe[_0x10bc('0x8')][_0x10bc('0x13')](_0x10bc('0x22'));});}}
23
+ const _0x2e5d=['...','label','isResolvable','Comment\x20was\x20made\x20on\x20an\x20element','ck-context-wrapper','reopenButtonView','offsetWidth','span','element','context','mouseleave','isReadOnly','_attachContextActions','value','querySelector','Reopen','bind','add','listenTo','ck-context__value','scrollWidth','locale','mouseenter','icon','ck-annotation__actions','overlay','setTemplate','_model','.ck-context__value','fire','classList','contextValue','reopenCommentThread','hasContext','div','substring','_trimContextValue','_createReopenButton'];(function(_0xad8b58,_0x2e5df9){const _0x362834=function(_0x5147ee){while(--_0x5147ee){_0xad8b58['push'](_0xad8b58['shift']());}};_0x362834(++_0x2e5df9);}(_0x2e5d,0x91));const _0x3628=function(_0xad8b58,_0x2e5df9){_0xad8b58=_0xad8b58-0x0;let _0x362834=_0x2e5d[_0xad8b58];return _0x362834;};import{View as _0x519c33,ButtonView as _0x1b88a1}from'ckeditor5/src/ui';import{getTranslation as _0x3d03e8}from'../../../utils/common-translations';import _0x27aee4 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Rt extends _0x519c33{constructor(_0x17b630,_0x24b04b){super(_0x17b630);const _0x39b537=this['bindTemplate'];this['_model']=_0x24b04b,this['reopenButtonView']=this[_0x3628('0x6')](),this[_0x3628('0x17')](_0x3628('0x2'))['to'](this[_0x3628('0x22')],_0x3628('0x10'),_0x8b99d3=>!!_0x8b99d3),this[_0x3628('0x17')]('contextValue')['to'](this['_model'],'context',_0x393a5c=>_0x393a5c&&_0x393a5c[_0x3628('0x14')]?this[_0x3628('0x5')](_0x393a5c['value']):_0x3d03e8(this[_0x3628('0x1c')],_0x3628('0xa'))),this[_0x3628('0x21')]({'tag':_0x3628('0x3'),'attributes':{'class':['ck-thread__header']},'children':[{'tag':'div','attributes':{'class':[_0x3628('0xb')]},'children':[{'tag':_0x3628('0x3'),'attributes':{'class':['ck-context',_0x39b537['if'](_0x3628('0x2'),'ck-context--quotes')]},'children':[{'tag':_0x3628('0xe'),'attributes':{'class':[_0x3628('0x1a')]},'children':[{'text':_0x39b537['to'](_0x3628('0x0'))}]}]}]},{'tag':_0x3628('0x3'),'attributes':{'class':[_0x3628('0x1f')]},'children':[this[_0x3628('0xc')]]}]});}['render'](){super['render'](),this[_0x3628('0x13')]();}[_0x3628('0x6')](){const _0x5ab667=new _0x1b88a1(this[_0x3628('0x1c')]);return _0x5ab667[_0x3628('0x8')]=_0x3d03e8(this['locale'],_0x3628('0x16')),_0x5ab667['tooltip']=_0x3d03e8(this['locale'],_0x3628('0x16')),_0x5ab667[_0x3628('0x1e')]=_0x27aee4,_0x5ab667['bind']('isEnabled')['to'](this['_model'],_0x3628('0x12'),_0x3b557c=>!_0x3b557c),_0x5ab667[_0x3628('0x17')]('isVisible')['to'](this['_model'],_0x3628('0x9')),_0x5ab667['on']('execute',()=>{this[_0x3628('0x24')](_0x3628('0x1'),this['_model']['id']);}),_0x5ab667;}[_0x3628('0x5')](_0x12d5c9){if(_0x12d5c9['length']<0x96)return _0x12d5c9;const _0x36cb53=_0x12d5c9['lastIndexOf']('\x20',0x93);return _0x12d5c9[_0x3628('0x4')](0x0,_0x36cb53>-0x1?_0x36cb53:0x93)+_0x3628('0x7');}[_0x3628('0x13')](){const _0x16b7bf=this[_0x3628('0xf')][_0x3628('0x15')]('.ck-context'),_0x323363=_0x16b7bf['querySelector'](_0x3628('0x23'));this[_0x3628('0x19')](_0x16b7bf,_0x3628('0x1d'),()=>{_0x323363[_0x3628('0xd')]<_0x323363[_0x3628('0x1b')]&&_0x16b7bf[_0x3628('0x25')][_0x3628('0x18')](_0x3628('0x20'));}),this[_0x3628('0x19')](_0x16b7bf,_0x3628('0x11'),()=>{_0x16b7bf[_0x3628('0x25')]['remove'](_0x3628('0x20'));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2c08=['editorReady','set','userView','div','commentInputView','ck-thread__input','delegate','extendTemplate','editor','showButtons','bind','ck-comment__input-container','ck-comment__input-container--active','ck-thread__user','destroy','bindTemplate','then','showInput','editorDestroyed'];(function(_0x33095c,_0x2c0835){var _0xc88c4d=function(_0x1aa3f3){while(--_0x1aa3f3){_0x33095c['push'](_0x33095c['shift']());}};_0xc88c4d(++_0x2c0835);}(_0x2c08,0x13a));var _0xc88c=function(_0x33095c,_0x2c0835){_0x33095c=_0x33095c-0x0;var _0xc88c4d=_0x2c08[_0x33095c];return _0xc88c4d;};import{View as _0x2a7c9e}from'ckeditor5/src/ui';import _0x4e03da from'./commentinputview';import{UserView as _0x2d130a}from'ckeditor5-collaboration/src/collaboration-core';export default class Ct extends _0x2a7c9e{constructor(_0x30d4f1,_0x38da3e,_0x328dab){super(_0x30d4f1),this[_0xc88c('0xd')]=new _0x4e03da(_0x30d4f1,_0x328dab),this[_0xc88c('0xd')][_0xc88c('0x0')](_0xc88c('0x12'))['to'](this[_0xc88c('0xd')]['focusTracker'],'isFocused',this['commentInputView'],'value',(_0x332ddc,_0x584bbc)=>_0x332ddc||!!_0x584bbc),this[_0xc88c('0xa')](_0xc88c('0x7'),!0x1),this['on']('change:showInput',()=>{this[_0xc88c('0x7')]&&!this['commentInputView'][_0xc88c('0x11')]&&this['commentInputView']['createEditor']();}),this[_0xc88c('0xd')][_0xc88c('0xf')](_0xc88c('0x9'))['to'](this),this[_0xc88c('0xd')][_0xc88c('0xf')](_0xc88c('0x8'))['to'](this),this[_0xc88c('0xb')]=new _0x2d130a(_0x30d4f1,_0x38da3e),this[_0xc88c('0xb')]['extendTemplate']({'attributes':{'class':_0xc88c('0x3')}}),this['commentInputView'][_0xc88c('0x10')]({'attributes':{'class':_0xc88c('0xe')}}),this['setTemplate']({'tag':_0xc88c('0xc'),'attributes':{'class':[_0xc88c('0x1'),this[_0xc88c('0x5')]['if'](_0xc88c('0x7'),_0xc88c('0x2'))]},'children':[this[_0xc88c('0xb')],this[_0xc88c('0xd')]]});}['destroy'](){return this[_0xc88c('0xd')][_0xc88c('0x4')]()[_0xc88c('0x6')](()=>super[_0xc88c('0x4')]());}}
23
+ var _0x53e8=['setTemplate','showButtons','value','editor','ck-comment__input-container--active','createEditor','userView','ck-thread__user','delegate','isFocused','editorDestroyed','destroy','focusTracker','bindTemplate','then','bind','extendTemplate','showInput','ck-thread__input','commentInputView'];(function(_0x268501,_0x53e899){var _0x1f165e=function(_0x15219d){while(--_0x15219d){_0x268501['push'](_0x268501['shift']());}};_0x1f165e(++_0x53e899);}(_0x53e8,0x105));var _0x1f16=function(_0x268501,_0x53e899){_0x268501=_0x268501-0x0;var _0x1f165e=_0x53e8[_0x268501];return _0x1f165e;};import{View as _0x5cbc95}from'ckeditor5/src/ui';import _0x1ed01c from'./commentinputview';import{UserView as _0x2ca617}from'ckeditor5-collaboration/src/collaboration-core';export default class Ct extends _0x5cbc95{constructor(_0x2c6dd7,_0x2f9731,_0xe8fcb3){super(_0x2c6dd7),this[_0x1f16('0x12')]=new _0x1ed01c(_0x2c6dd7,_0xe8fcb3),this['commentInputView'][_0x1f16('0xe')](_0x1f16('0x0'))['to'](this[_0x1f16('0x12')][_0x1f16('0xb')],_0x1f16('0x8'),this[_0x1f16('0x12')],_0x1f16('0x1'),(_0xc046e,_0x82b99a)=>_0xc046e||!!_0x82b99a),this['set'](_0x1f16('0x10'),!0x1),this['on']('change:showInput',()=>{this[_0x1f16('0x10')]&&!this['commentInputView'][_0x1f16('0x2')]&&this[_0x1f16('0x12')][_0x1f16('0x4')]();}),this[_0x1f16('0x12')][_0x1f16('0x7')]('editorReady')['to'](this),this[_0x1f16('0x12')]['delegate'](_0x1f16('0x9'))['to'](this),this[_0x1f16('0x5')]=new _0x2ca617(_0x2c6dd7,_0x2f9731),this[_0x1f16('0x5')][_0x1f16('0xf')]({'attributes':{'class':_0x1f16('0x6')}}),this[_0x1f16('0x12')][_0x1f16('0xf')]({'attributes':{'class':_0x1f16('0x11')}}),this[_0x1f16('0x13')]({'tag':'div','attributes':{'class':['ck-comment__input-container',this[_0x1f16('0xc')]['if'](_0x1f16('0x10'),_0x1f16('0x3'))]},'children':[this[_0x1f16('0x5')],this[_0x1f16('0x12')]]});}[_0x1f16('0xa')](){return this['commentInputView']['destroy']()[_0x1f16('0xd')](()=>super[_0x1f16('0xa')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb5b8=['change:isActive','execute','addMany','showConfirm','remove','ck-thread__container','check','actionBar','ck-reset_all-excluded','createCollection','add','Resolve','change:isResolved','resolveButton','isConfirm','then','label','Delete\x20comment\x20thread?','extendTemplate','placeholder','ck-thread--remove-confirmation','ck-thread','Write\x20a\x20comment...','_cancelAllConfirms','commentViews','getTemplate','containerElement','ck-thread--active','ck-comment--resolve','stop','commentsListView','get','bindTemplate','change:isReadOnly','locale','isVisible','setTemplate','querySelector','length','_bindFirstCommentView','isReadOnly','commentThreadHeaderView','listenTo','_model','_createResolveButton','isResolved','fire','commentThreadChildren','actionIndicator','cancelConfirm','isSystemComment','bind','isResolvable','tooltip','_boundFirstCommentView','element'];(function(_0x59660a,_0xb5b858){const _0x21dfac=function(_0x473331){while(--_0x473331){_0x59660a['push'](_0x59660a['shift']());}};_0x21dfac(++_0xb5b858);}(_0xb5b8,0x1db));const _0x21df=function(_0x59660a,_0xb5b858){_0x59660a=_0x59660a-0x0;let _0x21dfac=_0xb5b8[_0x59660a];return _0x21dfac;};import{ConfirmMixin as _0x456643}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x4b8862}from'ckeditor5/src/ui';import{icons as _0x2f02ed}from'ckeditor5/src/core';import _0x10802c from'./basecommentthreadview';import{getTranslation as _0x611757}from'../../../utils/common-translations';export default class lt extends _0x456643(_0x10802c){constructor(_0x275b1c,_0x5880d6,_0x3acc77,_0xcfd193){super(_0x275b1c,_0x5880d6,_0x3acc77,_0xcfd193),this[_0x21df('0x14')]=this[_0x21df('0x26')](),this[_0x21df('0x14')][_0x21df('0x1f')]([this['commentsListView'],this['commentThreadInputView']]),this[_0x21df('0x10')]['isResolved']&&this[_0x21df('0x14')][_0x21df('0x27')](this['commentThreadHeaderView'],0x0),this[_0x21df('0x10')]['on'](_0x21df('0x29'),(_0xdecb77,_0x5f53d0,_0x287727)=>{_0x287727?this[_0x21df('0x14')][_0x21df('0x27')](this['commentThreadHeaderView'],0x0):this[_0x21df('0x14')]['remove'](this[_0x21df('0xe')]);}),this['set'](_0x21df('0x15'),null),this['containerElement']=null,this[_0x21df('0x1b')]=null,this[_0x21df('0x7')]=_0x275b1c,this[_0x21df('0x2a')]=this[_0x21df('0x11')](),this[_0x21df('0x9')](this[_0x21df('0x36')]()),this['on'](_0x21df('0x1d'),(_0x15c0ce,_0x1ed88f,_0xca868c)=>{_0xca868c||this[_0x21df('0x34')]();}),this['listenTo'](this[_0x21df('0x10')],_0x21df('0x6'),(_0x3f069f,_0x21e28d,_0x2e0c41)=>{_0x2e0c41&&this['_cancelAllConfirms']();}),this[_0x21df('0xb')]>0x0&&this[_0x21df('0xc')](),this[_0x21df('0xf')](this[_0x21df('0x3')][_0x21df('0x35')],'add',()=>{this[_0x21df('0xc')]();});}[_0x21df('0x36')](){const _0x12d6e5=this[_0x21df('0x5')];return{'tag':'div','attributes':{'class':[_0x21df('0x32'),_0x21df('0x25'),_0x12d6e5['if']('isActive',_0x21df('0x0')),_0x12d6e5['if'](_0x21df('0x2b'),_0x21df('0x31')),_0x12d6e5['to'](_0x21df('0x15'),_0x477012=>_0x477012?'ck-thread--'+_0x477012:'')],'data-thread-id':this[_0x21df('0x10')]['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':_0x21df('0x22')},'children':this[_0x21df('0x14')]}]};}['render'](){super['render'](),this[_0x21df('0x37')]=this[_0x21df('0x1c')][_0x21df('0xa')]('.ck-thread__container');}['_cancelAllConfirms'](){this[_0x21df('0x16')]();for(const _0x724c19 of this[_0x21df('0x3')]['commentViews'])_0x724c19[_0x21df('0x16')]();}[_0x21df('0xc')](){const {locale:_0x5a46aa}=this,_0x3dd701=this[_0x21df('0x3')][_0x21df('0x35')][_0x21df('0x4')](0x0);_0x3dd701===this[_0x21df('0x1b')]||_0x3dd701[_0x21df('0x17')]||(this[_0x21df('0x1b')]=_0x3dd701,this['unbind'](_0x21df('0x15')),this[_0x21df('0x18')]('actionIndicator')['to'](_0x3dd701,_0x21df('0x15'),_0x5725a0=>_0x21df('0x21')===_0x5725a0?'remove':null),_0x3dd701[_0x21df('0x30')]=_0x611757(_0x5a46aa,_0x21df('0x33')),_0x3dd701['removeButton']['on'](_0x21df('0x1e'),_0x2d823c=>{_0x2d823c[_0x21df('0x2')](),this[_0x21df('0x20')](_0x611757(_0x5a46aa,_0x21df('0x2e')),this[_0x21df('0x37')])[_0x21df('0x2c')](()=>{this[_0x21df('0x13')]('removeCommentThread');});},{'priority':'high'}),_0x3dd701[_0x21df('0x24')][_0x21df('0x27')](this[_0x21df('0x2a')],0x0));}[_0x21df('0x11')](){const _0x802ada=new _0x4b8862(this[_0x21df('0x7')]);return _0x802ada[_0x21df('0x2d')]=_0x611757(this[_0x21df('0x7')],_0x21df('0x28')),_0x802ada[_0x21df('0x1a')]=_0x611757(this[_0x21df('0x7')],_0x21df('0x28')),_0x802ada['icon']=_0x2f02ed[_0x21df('0x23')],_0x802ada[_0x21df('0x2f')]({'attributes':{'class':_0x21df('0x1')}}),_0x802ada['bind']('isEnabled')['to'](this[_0x21df('0x10')],_0x21df('0xd'),_0x34e315=>!_0x34e315),_0x802ada[_0x21df('0x18')](_0x21df('0x8'))['to'](this[_0x21df('0x10')],_0x21df('0x19'),this[_0x21df('0x10')],_0x21df('0x12'),(_0x68169c,_0x315d59)=>_0x68169c&&!_0x315d59),_0x802ada['on'](_0x21df('0x1e'),()=>{this[_0x21df('0x13')]('resolveCommentThread',this['_model']['id']);}),_0x802ada;}}
23
+ const _0x4e41=['commentThreadChildren','commentViews','bind','ck-thread','execute','change:isReadOnly','unbind','isResolvable','length','isResolved','commentsListView','fire','commentThreadHeaderView','add','removeCommentThread','_cancelAllConfirms','render','element','Resolve','isEnabled','change:isActive','isSystemComment','set','showConfirm','.ck-thread__container','_model','_bindFirstCommentView','stop','bindTemplate','placeholder','tooltip','ck-thread--remove-confirmation','actionIndicator','Write\x20a\x20comment...','resolveCommentThread','Delete\x20comment\x20thread?','resolveButton','ck-thread--','listenTo','isActive','extendTemplate','label','cancelConfirm','getTemplate','then','locale','isConfirm','addMany','isReadOnly','div','icon','_createResolveButton','setTemplate','remove','ck-comment--resolve','_boundFirstCommentView','containerElement'];(function(_0x1c43a0,_0x4e416c){const _0x1f6a8f=function(_0x212e99){while(--_0x212e99){_0x1c43a0['push'](_0x1c43a0['shift']());}};_0x1f6a8f(++_0x4e416c);}(_0x4e41,0xda));const _0x1f6a=function(_0x1c43a0,_0x4e416c){_0x1c43a0=_0x1c43a0-0x0;let _0x1f6a8f=_0x4e41[_0x1c43a0];return _0x1f6a8f;};import{ConfirmMixin as _0x3f8eba}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x353cd1}from'ckeditor5/src/ui';import{icons as _0x29e95a}from'ckeditor5/src/core';import _0x1a247c from'./basecommentthreadview';import{getTranslation as _0x315e3c}from'../../../utils/common-translations';export default class lt extends _0x3f8eba(_0x1a247c){constructor(_0x4d1110,_0x4d98d2,_0x24c766,_0x4e3725){super(_0x4d1110,_0x4d98d2,_0x24c766,_0x4e3725),this['commentThreadChildren']=this['createCollection'](),this[_0x1f6a('0xa')][_0x1f6a('0x0')]([this[_0x1f6a('0x14')],this['commentThreadInputView']]),this[_0x1f6a('0x23')][_0x1f6a('0x13')]&&this[_0x1f6a('0xa')]['add'](this[_0x1f6a('0x16')],0x0),this[_0x1f6a('0x23')]['on']('change:isResolved',(_0x1f2f76,_0x3e889f,_0x4f15f0)=>{_0x4f15f0?this['commentThreadChildren']['add'](this[_0x1f6a('0x16')],0x0):this[_0x1f6a('0xa')][_0x1f6a('0x6')](this[_0x1f6a('0x16')]);}),this[_0x1f6a('0x20')](_0x1f6a('0x2a'),null),this['containerElement']=null,this[_0x1f6a('0x8')]=null,this[_0x1f6a('0x37')]=_0x4d1110,this['resolveButton']=this['_createResolveButton'](),this[_0x1f6a('0x5')](this[_0x1f6a('0x35')]()),this['on'](_0x1f6a('0x1e'),(_0x231bae,_0x33bb80,_0x2214f6)=>{_0x2214f6||this[_0x1f6a('0x19')]();}),this[_0x1f6a('0x30')](this['_model'],_0x1f6a('0xf'),(_0x5e714b,_0x3f9830,_0x6f7749)=>{_0x6f7749&&this[_0x1f6a('0x19')]();}),this[_0x1f6a('0x12')]>0x0&&this['_bindFirstCommentView'](),this[_0x1f6a('0x30')](this[_0x1f6a('0x14')][_0x1f6a('0xb')],'add',()=>{this[_0x1f6a('0x24')]();});}[_0x1f6a('0x35')](){const _0x306ba2=this[_0x1f6a('0x26')];return{'tag':_0x1f6a('0x2'),'attributes':{'class':[_0x1f6a('0xd'),'ck-reset_all-excluded',_0x306ba2['if'](_0x1f6a('0x31'),'ck-thread--active'),_0x306ba2['if'](_0x1f6a('0x38'),_0x1f6a('0x29')),_0x306ba2['to']('actionIndicator',_0x259d30=>_0x259d30?_0x1f6a('0x2f')+_0x259d30:'')],'data-thread-id':this[_0x1f6a('0x23')]['id'],'tabindex':-0x1},'children':[{'tag':_0x1f6a('0x2'),'attributes':{'class':'ck-thread__container'},'children':this[_0x1f6a('0xa')]}]};}[_0x1f6a('0x1a')](){super[_0x1f6a('0x1a')](),this[_0x1f6a('0x9')]=this[_0x1f6a('0x1b')]['querySelector'](_0x1f6a('0x22'));}['_cancelAllConfirms'](){this[_0x1f6a('0x34')]();for(const _0x4bb517 of this['commentsListView']['commentViews'])_0x4bb517[_0x1f6a('0x34')]();}['_bindFirstCommentView'](){const {locale:_0x3370db}=this,_0x294da7=this[_0x1f6a('0x14')][_0x1f6a('0xb')]['get'](0x0);_0x294da7===this[_0x1f6a('0x8')]||_0x294da7[_0x1f6a('0x1f')]||(this[_0x1f6a('0x8')]=_0x294da7,this[_0x1f6a('0x10')](_0x1f6a('0x2a')),this[_0x1f6a('0xc')](_0x1f6a('0x2a'))['to'](_0x294da7,_0x1f6a('0x2a'),_0x3153fc=>'remove'===_0x3153fc?_0x1f6a('0x6'):null),_0x294da7[_0x1f6a('0x27')]=_0x315e3c(_0x3370db,_0x1f6a('0x2b')),_0x294da7['removeButton']['on'](_0x1f6a('0xe'),_0x50455c=>{_0x50455c[_0x1f6a('0x25')](),this[_0x1f6a('0x21')](_0x315e3c(_0x3370db,_0x1f6a('0x2d')),this[_0x1f6a('0x9')])[_0x1f6a('0x36')](()=>{this[_0x1f6a('0x15')](_0x1f6a('0x18'));});},{'priority':'high'}),_0x294da7['actionBar'][_0x1f6a('0x17')](this[_0x1f6a('0x2e')],0x0));}[_0x1f6a('0x4')](){const _0xf012d=new _0x353cd1(this[_0x1f6a('0x37')]);return _0xf012d[_0x1f6a('0x33')]=_0x315e3c(this[_0x1f6a('0x37')],'Resolve'),_0xf012d[_0x1f6a('0x28')]=_0x315e3c(this['locale'],_0x1f6a('0x1c')),_0xf012d[_0x1f6a('0x3')]=_0x29e95a['check'],_0xf012d[_0x1f6a('0x32')]({'attributes':{'class':_0x1f6a('0x7')}}),_0xf012d[_0x1f6a('0xc')](_0x1f6a('0x1d'))['to'](this[_0x1f6a('0x23')],_0x1f6a('0x1'),_0x3aca78=>!_0x3aca78),_0xf012d[_0x1f6a('0xc')]('isVisible')['to'](this['_model'],_0x1f6a('0x11'),this[_0x1f6a('0x23')],_0x1f6a('0x13'),(_0x24be38,_0x4bd8f7)=>_0x24be38&&!_0x4bd8f7),_0xf012d['on']('execute',()=>{this[_0x1f6a('0x15')](_0x1f6a('0x2c'),this[_0x1f6a('0x23')]['id']);}),_0xf012d;}}