@ckeditor/ckeditor5-comments 0.0.0-nightly-20240205.0 → 0.0.0-nightly-20240206.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 (44) 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
  43. package/theme/annotation.css +4 -0
  44. package/theme/commentthread.css +4 -0
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4144=['plugins','map','commands','config','get','high','addCommentThread','importWord.formatting.comments','forEach','afterInit','importWord','basic','collaboration_features','collaboration.channelId','listenTo','execute','editor','_handleImportedData'];(function(_0x129222,_0x414409){const _0xcbe516=function(_0x4c8148){while(--_0x4c8148){_0x129222['push'](_0x129222['shift']());}};_0xcbe516(++_0x414409);}(_0x4144,0xb2));const _0xcbe5=function(_0x129222,_0x414409){_0x129222=_0x129222-0x0;let _0xcbe516=_0x4144[_0x129222];return _0xcbe516;};import{Plugin as _0x48a733}from'ckeditor5/src/core.js';import{priorities as _0x3283b0}from'ckeditor5/src/utils.js';import{Users as _0x76c3b1}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2e110a from'../commentsrepository.js';export default class Z extends _0x48a733{constructor(_0x5ca830){super(_0x5ca830),this[_0xcbe5('0x0')][_0xcbe5('0x5')]['define'](_0xcbe5('0x9'),_0xcbe5('0xd'));}[_0xcbe5('0xb')](){const _0x16ba74=this[_0xcbe5('0x0')],_0x5e9942=_0x16ba74[_0xcbe5('0x4')][_0xcbe5('0x6')](_0xcbe5('0xc')),_0x47bc99=_0x16ba74[_0xcbe5('0x2')][_0xcbe5('0x6')](_0x76c3b1);_0x5e9942&&(_0x5e9942['on'](_0xcbe5('0x11'),(_0x34d69c,[,_0x4f0191])=>{_0x4f0191[_0xcbe5('0xe')]={'comments':!0x0,'user_id':_0x47bc99['me']['id']};},{'priority':_0x3283b0[_0xcbe5('0x7')]+0xa}),this[_0xcbe5('0x10')](_0x5e9942,'dataInsert',this[_0xcbe5('0x1')]));}['_handleImportedData'](_0x13027a,_0x1a9fac){const {comment_threads:_0x31037d}=_0x1a9fac;_0x31037d&&_0x31037d[_0xcbe5('0xa')](({thread_id:_0x5a0c27,comments:_0x325f0a,is_resolved:_0x263d78})=>{const _0x321305=new Date(),_0x439722=_0x325f0a[_0xcbe5('0x3')](({author:_0x4175f9,content:_0x5a2be8,created_at:_0x338d7f})=>({'content':_0x5a2be8,'authorId':this[_0xcbe5('0x0')][_0xcbe5('0x2')][_0xcbe5('0x6')](_0x76c3b1)['me']['id'],'createdAt':_0x321305,'attributes':{'@external':{'authorName':_0x4175f9,'createdAt':_0x338d7f?new Date(_0x338d7f):new Date(),'source':'importWord'}}})),_0x1936d4=this[_0xcbe5('0x0')]['config'][_0xcbe5('0x6')](_0xcbe5('0xf'));this[_0xcbe5('0x0')]['plugins']['get'](_0x2e110a)[_0xcbe5('0x8')]({'channelId':_0x1936d4,'threadId':_0x5a0c27,'comments':_0x439722,'resolvedAt':_0x263d78?_0x321305:null});});}}
23
+ const _0x5ae7=['editor','collaboration.channelId','dataInsert','collaboration_features','map','plugins','basic','_handleImportedData','config','importWord','forEach','addCommentThread','get','afterInit','commands','listenTo','execute'];(function(_0x193d9f,_0x5ae79a){const _0x4ab5ec=function(_0x5f1d7a){while(--_0x5f1d7a){_0x193d9f['push'](_0x193d9f['shift']());}};_0x4ab5ec(++_0x5ae79a);}(_0x5ae7,0xce));const _0x4ab5=function(_0x193d9f,_0x5ae79a){_0x193d9f=_0x193d9f-0x0;let _0x4ab5ec=_0x5ae7[_0x193d9f];return _0x4ab5ec;};import{Plugin as _0x18713e}from'ckeditor5/src/core.js';import{priorities as _0x2f94d4}from'ckeditor5/src/utils.js';import{Users as _0x396011}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x547d7a from'../commentsrepository.js';export default class Z extends _0x18713e{constructor(_0x24f096){super(_0x24f096),this['editor'][_0x4ab5('0x6')]['define']('importWord.formatting.comments',_0x4ab5('0x4'));}[_0x4ab5('0xb')](){const _0x277366=this['editor'],_0x459f7b=_0x277366[_0x4ab5('0xc')][_0x4ab5('0xa')](_0x4ab5('0x7')),_0x301fe3=_0x277366['plugins'][_0x4ab5('0xa')](_0x396011);_0x459f7b&&(_0x459f7b['on'](_0x4ab5('0xe'),(_0x295606,[,_0x1d22fc])=>{_0x1d22fc[_0x4ab5('0x1')]={'comments':!0x0,'user_id':_0x301fe3['me']['id']};},{'priority':_0x2f94d4['high']+0xa}),this[_0x4ab5('0xd')](_0x459f7b,_0x4ab5('0x0'),this['_handleImportedData']));}[_0x4ab5('0x5')](_0x13a245,_0x5dc367){const {comment_threads:_0x3bf983}=_0x5dc367;_0x3bf983&&_0x3bf983[_0x4ab5('0x8')](({thread_id:_0x3bc4c7,comments:_0x105d06,is_resolved:_0x23e7ed})=>{const _0x5f5171=new Date(),_0x15b305=_0x105d06[_0x4ab5('0x2')](({author:_0x23e520,content:_0x462bf2,created_at:_0x527419})=>({'content':_0x462bf2,'authorId':this[_0x4ab5('0xf')][_0x4ab5('0x3')][_0x4ab5('0xa')](_0x396011)['me']['id'],'createdAt':_0x5f5171,'attributes':{'@external':{'authorName':_0x23e520,'createdAt':_0x527419?new Date(_0x527419):new Date(),'source':_0x4ab5('0x7')}}})),_0x1287fa=this[_0x4ab5('0xf')][_0x4ab5('0x6')][_0x4ab5('0xa')](_0x4ab5('0x10'));this['editor'][_0x4ab5('0x3')][_0x4ab5('0xa')](_0x547d7a)[_0x4ab5('0x9')]({'channelId':_0x1287fa,'threadId':_0x3bc4c7,'comments':_0x15b305,'resolvedAt':_0x23e7ed?_0x5f5171:null});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a68=['ready','_updatePlaceholder','placeholder','view','create','childCount','placeholderElement','change','setSelection','config','editing','focus','getRoot','plugins','getChild','init','createRoot','then','initialData','destroy','name','fire','defaultPlugins','document','model','low','initPlugins','data'];(function(_0x132a7e,_0x2a685c){const _0x55ac7c=function(_0x376e6b){while(--_0x376e6b){_0x132a7e['push'](_0x132a7e['shift']());}};_0x55ac7c(++_0x2a685c);}(_0x2a68,0xb4));const _0x55ac=function(_0x132a7e,_0x2a685c){_0x132a7e=_0x132a7e-0x0;let _0x55ac7c=_0x2a68[_0x132a7e];return _0x55ac7c;};import{Editor as _0x37f54c,DataApiMixin as _0x58bfa9}from'ckeditor5/src/core.js';import _0x57fe92 from'./commenteditorui.js';import{ObservableMixin as _0x33f6ca}from'ckeditor5/src/utils.js';import{enablePlaceholder as _0x219f6e,disablePlaceholder as _0x30cb39}from'ckeditor5/src/engine.js';import{Clipboard as _0x17038e}from'ckeditor5/src/clipboard.js';import{Enter as _0x597ea0,ShiftEnter as _0x291e98}from'ckeditor5/src/enter.js';import{SelectAll as _0x5c8339}from'ckeditor5/src/select-all.js';import{Typing as _0x4a1b30}from'ckeditor5/src/typing.js';import{Undo as _0x1d78ed}from'ckeditor5/src/undo.js';import{Paragraph as _0x1ddb7e}from'ckeditor5/src/paragraph.js';const Mt=[_0x17038e,_0x597ea0,_0x291e98,_0x5c8339,_0x4a1b30,_0x1d78ed,_0x1ddb7e];class Nt extends _0x33f6ca(_0x58bfa9(_0x37f54c)){constructor(_0x2bef43={}){(_0x2bef43=Object['assign']({},_0x2bef43))[_0x55ac('0x1')]||(_0x2bef43['plugins']=Nt[_0x55ac('0xa')]),super(_0x2bef43),this['ui']=new _0x57fe92(this),this['set']('placeholder',''),this[_0x55ac('0xc')][_0x55ac('0xb')]['on'](_0x55ac('0x17'),()=>this[_0x55ac('0x11')](),{'priority':_0x55ac('0xd')}),this['on']('change:placeholder',()=>this[_0x55ac('0x11')]()),this[_0x55ac('0xc')][_0x55ac('0xb')][_0x55ac('0x4')]();}[_0x55ac('0x14')](){const _0x5a265c=this[_0x55ac('0x19')]['get'](_0x55ac('0x6'))||'';return this[_0x55ac('0xe')]()[_0x55ac('0x5')](()=>this['ui'][_0x55ac('0x3')]())[_0x55ac('0x5')](()=>this[_0x55ac('0xf')][_0x55ac('0x3')](_0x5a265c))['then'](()=>this[_0x55ac('0x9')](_0x55ac('0x10')));}[_0x55ac('0x7')](){return super[_0x55ac('0x7')]()[_0x55ac('0x5')](()=>this['ui'][_0x55ac('0x7')]());}[_0x55ac('0x1b')](){this[_0x55ac('0xc')][_0x55ac('0x17')](_0x703724=>{const _0x1ab7f7=this[_0x55ac('0xc')][_0x55ac('0xb')][_0x55ac('0x0')](),_0x4a1419=_0x1ab7f7&&_0x1ab7f7['getChild'](_0x1ab7f7[_0x55ac('0x15')]-0x1);_0x703724[_0x55ac('0x18')](_0x4a1419,'end'),this['editing'][_0x55ac('0x13')]['focus']();});}[_0x55ac('0x11')](){const _0x5635fb=this[_0x55ac('0x1a')][_0x55ac('0x13')],_0x898d57=_0x5635fb[_0x55ac('0xb')][_0x55ac('0x0')](),_0x5ad65b=_0x898d57[_0x55ac('0x2')](0x0);_0x898d57[_0x55ac('0x15')]>0x1||!_0x5ad65b||'p'!=_0x5ad65b[_0x55ac('0x8')]?this[_0x55ac('0x16')]&&this[_0x55ac('0x16')][_0x55ac('0x12')]&&(_0x30cb39(_0x5635fb,this[_0x55ac('0x16')]),this[_0x55ac('0x16')]=void 0x0):(this[_0x55ac('0x12')]&&(_0x5ad65b[_0x55ac('0x12')]=this[_0x55ac('0x12')]),_0x219f6e({'view':_0x5635fb,'element':_0x5ad65b,'keepOnFocus':!0x0}),this['placeholderElement']=_0x5ad65b);}}Nt[_0x55ac('0xa')]=Mt;export default Nt;
23
+ const _0x3e13=['placeholder','document','config','defaultPlugins','initialData','createRoot','name','childCount','create','model','destroy','then','low','fire','editing','change:placeholder','ready','data','_updatePlaceholder','placeholderElement','view','getChild','set','change','plugins','init','assign','initPlugins','get','getRoot'];(function(_0x1798b0,_0x3e13e5){const _0x1f9d3d=function(_0x4b5ad9){while(--_0x4b5ad9){_0x1798b0['push'](_0x1798b0['shift']());}};_0x1f9d3d(++_0x3e13e5);}(_0x3e13,0xc7));const _0x1f9d=function(_0x1798b0,_0x3e13e5){_0x1798b0=_0x1798b0-0x0;let _0x1f9d3d=_0x3e13[_0x1798b0];return _0x1f9d3d;};import{Editor as _0x1f34fc,DataApiMixin as _0x32c06c}from'ckeditor5/src/core.js';import _0x487e26 from'./commenteditorui.js';import{ObservableMixin as _0x1125d}from'ckeditor5/src/utils.js';import{enablePlaceholder as _0x264abb,disablePlaceholder as _0x1266c1}from'ckeditor5/src/engine.js';import{Clipboard as _0x1dc6cc}from'ckeditor5/src/clipboard.js';import{Enter as _0x502aa9,ShiftEnter as _0x17d8da}from'ckeditor5/src/enter.js';import{SelectAll as _0x3d6878}from'ckeditor5/src/select-all.js';import{Typing as _0xa9d303}from'ckeditor5/src/typing.js';import{Undo as _0x5bccc0}from'ckeditor5/src/undo.js';import{Paragraph as _0x53f8bc}from'ckeditor5/src/paragraph.js';const Mt=[_0x1dc6cc,_0x502aa9,_0x17d8da,_0x3d6878,_0xa9d303,_0x5bccc0,_0x53f8bc];class Nt extends _0x1125d(_0x32c06c(_0x1f34fc)){constructor(_0x277fa4={}){(_0x277fa4=Object[_0x1f9d('0x7')]({},_0x277fa4))[_0x1f9d('0x5')]||(_0x277fa4['plugins']=Nt['defaultPlugins']),super(_0x277fa4),this['ui']=new _0x487e26(this),this[_0x1f9d('0x3')]('placeholder',''),this[_0x1f9d('0x14')][_0x1f9d('0xc')]['on'](_0x1f9d('0x4'),()=>this[_0x1f9d('0x1d')](),{'priority':_0x1f9d('0x17')}),this['on'](_0x1f9d('0x1a'),()=>this[_0x1f9d('0x1d')]()),this[_0x1f9d('0x14')][_0x1f9d('0xc')][_0x1f9d('0x10')]();}[_0x1f9d('0x13')](){const _0x4e5fe5=this[_0x1f9d('0xd')][_0x1f9d('0x9')](_0x1f9d('0xf'))||'';return this[_0x1f9d('0x8')]()[_0x1f9d('0x16')](()=>this['ui'][_0x1f9d('0x6')]())['then'](()=>this[_0x1f9d('0x1c')][_0x1f9d('0x6')](_0x4e5fe5))['then'](()=>this[_0x1f9d('0x18')](_0x1f9d('0x1b')));}[_0x1f9d('0x15')](){return super[_0x1f9d('0x15')]()[_0x1f9d('0x16')](()=>this['ui'][_0x1f9d('0x15')]());}['focus'](){this[_0x1f9d('0x14')]['change'](_0x5982c0=>{const _0x52557d=this[_0x1f9d('0x14')][_0x1f9d('0xc')][_0x1f9d('0xa')](),_0x1ae661=_0x52557d&&_0x52557d[_0x1f9d('0x2')](_0x52557d[_0x1f9d('0x12')]-0x1);_0x5982c0['setSelection'](_0x1ae661,'end'),this['editing'][_0x1f9d('0x1')]['focus']();});}[_0x1f9d('0x1d')](){const _0x26ce64=this[_0x1f9d('0x19')][_0x1f9d('0x1')],_0x40471d=_0x26ce64[_0x1f9d('0xc')][_0x1f9d('0xa')](),_0x51871f=_0x40471d[_0x1f9d('0x2')](0x0);_0x40471d[_0x1f9d('0x12')]>0x1||!_0x51871f||'p'!=_0x51871f[_0x1f9d('0x11')]?this[_0x1f9d('0x0')]&&this[_0x1f9d('0x0')][_0x1f9d('0xb')]&&(_0x1266c1(_0x26ce64,this[_0x1f9d('0x0')]),this[_0x1f9d('0x0')]=void 0x0):(this['placeholder']&&(_0x51871f[_0x1f9d('0xb')]=this[_0x1f9d('0xb')]),_0x264abb({'view':_0x26ce64,'element':_0x51871f,'keepOnFocus':!0x0}),this[_0x1f9d('0x0')]=_0x51871f);}}Nt[_0x1f9d('0xe')]=Mt;export default Nt;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5335=['destroy','document','bind','ready','editable','fire','name','render','attachDomRoot','isFocused','element','init','getRoot','view','editing','setEditableElement','editor'];(function(_0x8f97a7,_0x5335dd){const _0x52affb=function(_0x44a7ad){while(--_0x44a7ad){_0x8f97a7['push'](_0x8f97a7['shift']());}};_0x52affb(++_0x5335dd);}(_0x5335,0x89));const _0x52af=function(_0x8f97a7,_0x5335dd){_0x8f97a7=_0x8f97a7-0x0;let _0x52affb=_0x5335[_0x8f97a7];return _0x52affb;};import{EditorUI as _0x576eb6}from'ckeditor5/src/ui.js';import _0x346c08 from'./commenteditoruiview.js';export default class Ft extends _0x576eb6{constructor(_0x211c31){super(_0x211c31),this[_0x52af('0xc')]=new _0x346c08(_0x211c31['locale'],_0x211c31[_0x52af('0xd')][_0x52af('0xc')]);}get[_0x52af('0x9')](){return this[_0x52af('0xc')]['element'];}[_0x52af('0xa')](){const _0x54502b=this[_0x52af('0xf')][_0x52af('0xd')][_0x52af('0xc')],_0x37db8b=this[_0x52af('0xc')][_0x52af('0x3')],_0x26da1e=_0x54502b[_0x52af('0x0')][_0x52af('0xb')]();_0x37db8b[_0x52af('0x5')]=_0x26da1e['rootName'],this[_0x52af('0xc')][_0x52af('0x6')]();const _0x27c9c5=_0x37db8b['element'];this[_0x52af('0xe')](_0x37db8b[_0x52af('0x5')],_0x27c9c5),this['view'][_0x52af('0x3')][_0x52af('0x1')](_0x52af('0x8'))['to'](this['focusTracker']),_0x54502b[_0x52af('0x7')](_0x27c9c5),this[_0x52af('0x4')](_0x52af('0x2'));}[_0x52af('0x10')](){super['destroy'](),this['view'][_0x52af('0x10')]();}}
23
+ const _0x5864=['editable','rootName','getRoot','editing','setEditableElement','ready','attachDomRoot','name','isFocused','focusTracker','render','destroy','element','bind','view','locale','fire','document'];(function(_0x19571e,_0x5864af){const _0x471090=function(_0x366fd9){while(--_0x366fd9){_0x19571e['push'](_0x19571e['shift']());}};_0x471090(++_0x5864af);}(_0x5864,0x6a));const _0x4710=function(_0x19571e,_0x5864af){_0x19571e=_0x19571e-0x0;let _0x471090=_0x5864[_0x19571e];return _0x471090;};import{EditorUI as _0x5f1a32}from'ckeditor5/src/ui.js';import _0xf3eb1f from'./commenteditoruiview.js';export default class Ft extends _0x5f1a32{constructor(_0x1ea6e1){super(_0x1ea6e1),this['view']=new _0xf3eb1f(_0x1ea6e1[_0x4710('0x11')],_0x1ea6e1['editing'][_0x4710('0x10')]);}get['element'](){return this['view']['element'];}['init'](){const _0x44ced8=this['editor'][_0x4710('0x5')][_0x4710('0x10')],_0xca96fb=this[_0x4710('0x10')]['editable'],_0x395a7a=_0x44ced8[_0x4710('0x1')][_0x4710('0x4')]();_0xca96fb[_0x4710('0x9')]=_0x395a7a[_0x4710('0x3')],this[_0x4710('0x10')][_0x4710('0xc')]();const _0x501dee=_0xca96fb[_0x4710('0xe')];this[_0x4710('0x6')](_0xca96fb[_0x4710('0x9')],_0x501dee),this[_0x4710('0x10')][_0x4710('0x2')][_0x4710('0xf')](_0x4710('0xa'))['to'](this[_0x4710('0xb')]),_0x44ced8[_0x4710('0x8')](_0x501dee),this[_0x4710('0x0')](_0x4710('0x7'));}[_0x4710('0xd')](){super[_0x4710('0xd')](),this[_0x4710('0x10')][_0x4710('0xd')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3091=['extendTemplate','text','cke-editor__aria-label_','setTemplate','element','main','editable','ck-rounded-corners','ck-voice-label','ck-editor','focus','_createVoiceLabel','ck-comment__input','ck-editor__main','_voiceLabelView','comment','presentation','render','div','uiLanguage','uiLanguageDirection','Comment\x20editor','ck-editor__aria-label_'];(function(_0x9f6711,_0x30916d){const _0x535ca9=function(_0x235fa7){while(--_0x235fa7){_0x9f6711['push'](_0x9f6711['shift']());}};_0x535ca9(++_0x30916d);}(_0x3091,0x8d));const _0x535c=function(_0x9f6711,_0x30916d){_0x9f6711=_0x9f6711-0x0;let _0x535ca9=_0x3091[_0x9f6711];return _0x535ca9;};import{InlineEditableUIView as _0x17da5e,EditorUIView as _0x42cee1,LabelView as _0x2a4c46}from'ckeditor5/src/ui.js';import{uid as _0x651b04}from'ckeditor5/src/utils.js';import{getTranslation as _0x41f6ca}from'../../../utils/common-translations.js';export default class Rt extends _0x42cee1{constructor(_0x2306e4,_0x302d1f){super(_0x2306e4);const _0x130981=_0x651b04();this[_0x535c('0x2')]=this['createCollection'](),this[_0x535c('0x3')]=new _0x17da5e(_0x2306e4,_0x302d1f),this[_0x535c('0xb')]=this[_0x535c('0x8')](_0x130981,_0x2306e4),this[_0x535c('0x0')]({'tag':_0x535c('0xf'),'attributes':{'class':['ck-reset',_0x535c('0x6'),_0x535c('0x4'),_0x535c('0x9')],'role':_0x535c('0xc'),'dir':_0x2306e4[_0x535c('0x11')],'lang':_0x2306e4[_0x535c('0x10')],'aria-labelledby':_0x535c('0x16')+_0x130981},'children':[this[_0x535c('0xb')],{'tag':_0x535c('0xf'),'attributes':{'class':_0x535c('0xa'),'role':_0x535c('0xd')},'children':this[_0x535c('0x2')]}]});}['render'](){super[_0x535c('0xe')](),this[_0x535c('0x2')]['add'](this[_0x535c('0x3')]);}[_0x535c('0x7')](){this['editable'][_0x535c('0x1')][_0x535c('0x7')]();}[_0x535c('0x8')](_0x5e3250,_0x17c927){const _0x51f746=new _0x2a4c46();return _0x51f746[_0x535c('0x15')]=_0x41f6ca(_0x17c927,_0x535c('0x12')),_0x51f746[_0x535c('0x14')]({'attributes':{'id':_0x535c('0x13')+_0x5e3250,'class':_0x535c('0x5')}}),_0x51f746;}}
23
+ const _0xf4e8=['_createVoiceLabel','ck-editor','_voiceLabelView','render','ck-voice-label','focus','text','ck-editor__aria-label_','setTemplate','ck-reset','createCollection','ck-rounded-corners','div','add','ck-editor__main','main','comment','extendTemplate','Comment\x20editor','element','editable'];(function(_0x483153,_0xf4e85e){const _0x228d75=function(_0xa89502){while(--_0xa89502){_0x483153['push'](_0x483153['shift']());}};_0x228d75(++_0xf4e85e);}(_0xf4e8,0x193));const _0x228d=function(_0x483153,_0xf4e85e){_0x483153=_0x483153-0x0;let _0x228d75=_0xf4e8[_0x483153];return _0x228d75;};import{InlineEditableUIView as _0x2f7084,EditorUIView as _0x381b1f,LabelView as _0x2390db}from'ckeditor5/src/ui.js';import{uid as _0x58bba3}from'ckeditor5/src/utils.js';import{getTranslation as _0x46c2e8}from'../../../utils/common-translations.js';export default class Rt extends _0x381b1f{constructor(_0x58566d,_0x1132d5){super(_0x58566d);const _0x4a68a0=_0x58bba3();this[_0x228d('0xb')]=this[_0x228d('0x6')](),this['editable']=new _0x2f7084(_0x58566d,_0x1132d5),this['_voiceLabelView']=this[_0x228d('0x11')](_0x4a68a0,_0x58566d),this[_0x228d('0x4')]({'tag':_0x228d('0x8'),'attributes':{'class':[_0x228d('0x5'),_0x228d('0x12'),_0x228d('0x7'),'ck-comment__input'],'role':_0x228d('0xc'),'dir':_0x58566d['uiLanguageDirection'],'lang':_0x58566d['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x4a68a0},'children':[this[_0x228d('0x13')],{'tag':_0x228d('0x8'),'attributes':{'class':_0x228d('0xa'),'role':'presentation'},'children':this['main']}]});}[_0x228d('0x14')](){super[_0x228d('0x14')](),this[_0x228d('0xb')][_0x228d('0x9')](this[_0x228d('0x10')]);}[_0x228d('0x1')](){this[_0x228d('0x10')][_0x228d('0xf')]['focus']();}[_0x228d('0x11')](_0x229020,_0x5bd708){const _0x2aadab=new _0x2390db();return _0x2aadab[_0x228d('0x2')]=_0x46c2e8(_0x5bd708,_0x228d('0xe')),_0x2aadab[_0x228d('0xd')]({'attributes':{'id':_0x228d('0x3')+_0x229020,'class':_0x228d('0x0')}}),_0x2aadab;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1226=['removeCommentThread','removeComment','isResolved','listenTo','reopen','view','resolve','getComment','update','submit','_isAttached','addComment','submitCommentThread','reopenCommentThread','model','updateComment','remove'];(function(_0x2848f8,_0x1226c1){var _0x47505d=function(_0x37bb28){while(--_0x37bb28){_0x2848f8['push'](_0x2848f8['shift']());}};_0x47505d(++_0x1226c1);}(_0x1226,0x10d));var _0x4750=function(_0x2848f8,_0x1226c1){_0x2848f8=_0x2848f8-0x0;var _0x47505d=_0x1226[_0x2848f8];return _0x47505d;};import{ObservableMixin as _0x181cad}from'ckeditor5/src/utils.js';export default class ut extends _0x181cad(){constructor(_0x30b4f9,_0x6d64de){super(),this[_0x4750('0x0')]=_0x30b4f9,this[_0x4750('0x0')]['_isAttached']=!0x0,this['view']=_0x6d64de,this[_0x4750('0x6')](_0x6d64de,_0x4750('0xf'),()=>this[_0x4750('0xc')]()),this[_0x4750('0x6')](_0x6d64de,_0x4750('0x3'),()=>this[_0x4750('0x2')]()),this[_0x4750('0x6')](_0x6d64de,'resolveCommentThread',()=>this[_0x4750('0x9')]()),this[_0x4750('0x6')](_0x6d64de,_0x4750('0x10'),()=>this[_0x4750('0x7')]()),this[_0x4750('0x6')](_0x6d64de,_0x4750('0xe'),(_0x508b90,_0x57e7b2)=>this[_0x4750('0xe')](_0x57e7b2)),this[_0x4750('0x6')](_0x6d64de,_0x4750('0x1'),(_0xcc8adb,_0x2c2a3a,_0x55cf8c)=>this[_0x4750('0x1')](_0x2c2a3a,_0x55cf8c)),this[_0x4750('0x6')](_0x6d64de,_0x4750('0x4'),(_0x5a9921,_0x205cb1)=>this[_0x4750('0x4')](_0x205cb1));}[_0x4750('0xc')](){this[_0x4750('0x0')][_0x4750('0xc')]();}[_0x4750('0x2')](){this[_0x4750('0x0')][_0x4750('0x2')]();}[_0x4750('0x9')](){this['model'][_0x4750('0x5')]||this['model'][_0x4750('0x9')]();}[_0x4750('0x7')](){this[_0x4750('0x0')][_0x4750('0x5')]&&this[_0x4750('0x0')][_0x4750('0x7')]();}[_0x4750('0xe')](_0x3591c9){this['model'][_0x4750('0xe')]({'content':_0x3591c9,'authorId':this[_0x4750('0x8')]['_localUser']['id']});}[_0x4750('0x1')](_0x1236e0,_0x481cb1){this['model'][_0x4750('0xa')](_0x1236e0)[_0x4750('0xb')]({'content':_0x481cb1});}[_0x4750('0x4')](_0x47513f){this['model'][_0x4750('0xa')](_0x47513f)[_0x4750('0x2')]();}['destroy'](){this['stopListening'](),this[_0x4750('0x0')][_0x4750('0xd')]=!0x1;}}
23
+ var _0x3714=['listenTo','reopenCommentThread','resolveCommentThread','_isAttached','_localUser','removeComment','view','removeCommentThread','addComment','resolve','destroy','reopen','model','updateComment','isResolved','stopListening','getComment','submitCommentThread','remove','update'];(function(_0xfa85df,_0x371431){var _0x54632a=function(_0x1d6a87){while(--_0x1d6a87){_0xfa85df['push'](_0xfa85df['shift']());}};_0x54632a(++_0x371431);}(_0x3714,0xa5));var _0x5463=function(_0xfa85df,_0x371431){_0xfa85df=_0xfa85df-0x0;var _0x54632a=_0x3714[_0xfa85df];return _0x54632a;};import{ObservableMixin as _0x242f70}from'ckeditor5/src/utils.js';export default class ut extends _0x242f70(){constructor(_0x9c8898,_0x27185b){super(),this['model']=_0x9c8898,this[_0x5463('0x7')]['_isAttached']=!0x0,this['view']=_0x27185b,this[_0x5463('0xf')](_0x27185b,_0x5463('0xc'),()=>this['submit']()),this['listenTo'](_0x27185b,_0x5463('0x2'),()=>this[_0x5463('0xd')]()),this[_0x5463('0xf')](_0x27185b,_0x5463('0x11'),()=>this[_0x5463('0x4')]()),this[_0x5463('0xf')](_0x27185b,_0x5463('0x10'),()=>this[_0x5463('0x6')]()),this[_0x5463('0xf')](_0x27185b,_0x5463('0x3'),(_0x33ff06,_0x11bb8f)=>this[_0x5463('0x3')](_0x11bb8f)),this[_0x5463('0xf')](_0x27185b,_0x5463('0x8'),(_0x332a92,_0x4521f5,_0x5ee584)=>this[_0x5463('0x8')](_0x4521f5,_0x5ee584)),this[_0x5463('0xf')](_0x27185b,_0x5463('0x0'),(_0x2c84a7,_0x3236e4)=>this['removeComment'](_0x3236e4));}['submit'](){this['model']['submit']();}[_0x5463('0xd')](){this[_0x5463('0x7')][_0x5463('0xd')]();}['resolve'](){this[_0x5463('0x7')][_0x5463('0x9')]||this[_0x5463('0x7')]['resolve']();}[_0x5463('0x6')](){this['model'][_0x5463('0x9')]&&this[_0x5463('0x7')][_0x5463('0x6')]();}[_0x5463('0x3')](_0x10c55c){this[_0x5463('0x7')][_0x5463('0x3')]({'content':_0x10c55c,'authorId':this[_0x5463('0x1')][_0x5463('0x13')]['id']});}[_0x5463('0x8')](_0x355d8a,_0x5c6f56){this[_0x5463('0x7')][_0x5463('0xb')](_0x355d8a)[_0x5463('0xe')]({'content':_0x5c6f56});}[_0x5463('0x0')](_0x3c0c40){this[_0x5463('0x7')]['getComment'](_0x3c0c40)[_0x5463('0xd')]();}[_0x5463('0x5')](){this[_0x5463('0xa')](),this['model'][_0x5463('0x12')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x112c=['editorDestroyed','isSubmitted','commentThreadInputView','length','assign','addComment','commentInputView','archivedAt','hasDirtyComment','value','removeCommentThread','submitCommentThread','commentThreadHeaderView','isActive','set','fire','Comment','bind','_model','cancel','updateComment','_createCommentThreadInputView','locale','submitLabel','Write\x20a\x20comment...','showInput','CommentView','isDirty','editorConfig','resolveCommentThread','isUnlinked','isReadOnly','unlinkedAt','delegate','commentsListView','change:isActive','editorReady','submit','isResolved','disabledSubmit','Reply\x20to\x20reopen\x20discussion...','focus','element','destroy','removeComment','_localUser','listenTo','_config','canComment','isResolvable'];(function(_0x45b605,_0x112c6f){const _0x16ad72=function(_0x4bcf16){while(--_0x4bcf16){_0x45b605['push'](_0x45b605['shift']());}};_0x16ad72(++_0x112c6f);}(_0x112c,0x189));const _0x16ad=function(_0x45b605,_0x112c6f){_0x45b605=_0x45b605-0x0;let _0x16ad72=_0x112c[_0x45b605];return _0x16ad72;};import{View as _0x482559}from'ckeditor5/src/ui.js';import _0x33f71d from'./commentthreadinputview.js';import _0x57827e from'./commentslistview.js';import _0x4b6089 from'./commentthreadheaderview.js';import{getTranslation as _0x38f66c}from'../../../utils/common-translations.js';export default class Ut extends _0x482559{constructor(_0x369dbc,_0x589cb3,_0x32c581,_0x383236){super(_0x369dbc),this[_0x16ad('0x15')]('isActive',!0x1),this['set'](_0x16ad('0x22'),!0x1),this[_0x16ad('0x19')]=_0x589cb3,this[_0x16ad('0x2')]=_0x32c581,this[_0x16ad('0x4')]=_0x383236,this[_0x16ad('0x13')]=new _0x4b6089(_0x369dbc,_0x589cb3),this[_0x16ad('0x13')]['delegate']('reopenCommentThread')['to'](this),this[_0x16ad('0x3')](this,'reopenCommentThread',()=>{this[_0x16ad('0x30')]();}),this['commentsListView']=new _0x57827e(_0x369dbc,_0x589cb3,Object[_0x16ad('0xb')]({'CommentView':this['_config'][_0x16ad('0x21')]},_0x383236)),this[_0x16ad('0x29')][_0x16ad('0x28')](_0x16ad('0x1'))['to'](this),this['commentsListView'][_0x16ad('0x28')](_0x16ad('0x1b'))['to'](this),this[_0x16ad('0x29')][_0x16ad('0x28')](_0x16ad('0x24'))['to'](this),this[_0x16ad('0x29')]['delegate']('editorReady')['to'](this),this[_0x16ad('0x29')][_0x16ad('0x28')](_0x16ad('0x7'))['to'](this),this['commentsListView'][_0x16ad('0x18')](_0x16ad('0x14'))['to'](this),this[_0x16ad('0x3')](this,'resolveCommentThread',()=>{this[_0x16ad('0x30')]();}),this[_0x16ad('0x15')](_0x16ad('0xa'),this[_0x16ad('0x29')][_0x16ad('0xa')]),this[_0x16ad('0x18')]('length')['to'](this[_0x16ad('0x29')],_0x16ad('0xa')),this[_0x16ad('0x9')]=this[_0x16ad('0x1c')](),this[_0x16ad('0x9')][_0x16ad('0x28')](_0x16ad('0x2b'))['to'](this),this[_0x16ad('0x9')]['delegate'](_0x16ad('0x7'))['to'](this),this['on'](_0x16ad('0x1'),()=>this['focus']()),this[_0x16ad('0x18')](_0x16ad('0x22'))['to'](this[_0x16ad('0x29')],_0x16ad('0xf'),this[_0x16ad('0x9')][_0x16ad('0xd')],'value',(_0x36a3d1,_0x1ea42a)=>_0x36a3d1||!!_0x1ea42a),this[_0x16ad('0x18')](_0x16ad('0x25'))['to'](_0x589cb3,_0x16ad('0x27'),_0x57d368=>!!_0x57d368);}['focus'](){this[_0x16ad('0x31')][_0x16ad('0x30')]();}async[_0x16ad('0x0')](){this[_0x16ad('0x22')]=!0x1,this[_0x16ad('0x29')][_0x16ad('0x0')](),await this['commentThreadInputView'][_0x16ad('0x0')](),super[_0x16ad('0x0')]();}['_createCommentThreadInputView'](){const _0xaadced=new _0x33f71d(this[_0x16ad('0x1d')],this[_0x16ad('0x2')],this[_0x16ad('0x4')][_0x16ad('0x23')]),_0x321958=_0xaadced[_0x16ad('0xd')];return _0xaadced[_0x16ad('0x18')](_0x16ad('0x20'))['to'](this,_0x16ad('0x14'),this['_model'],_0x16ad('0x26'),this[_0x16ad('0x19')],_0x16ad('0x5'),this[_0x16ad('0x19')],_0x16ad('0xe'),_0x321958,_0x16ad('0x10'),(_0x39cb1b,_0x210f8a,_0x4b6071,_0x254aee,_0x3ec7b6)=>!!_0x3ec7b6||!!_0x254aee&&_0x4b6071&&!_0x210f8a||_0x39cb1b&&_0x4b6071&&!_0x210f8a),_0x321958['bind']('placeholder')['to'](this,_0x16ad('0xa'),this[_0x16ad('0x19')],_0x16ad('0x6'),this[_0x16ad('0x19')],_0x16ad('0x2d'),(_0x22ae36,_0x1d26fd,_0x100f25)=>{let _0x31f7c3;return _0x31f7c3=_0x100f25&&_0x1d26fd?_0x16ad('0x2f'):_0x22ae36?'Reply...':_0x16ad('0x1f'),_0x38f66c(this[_0x16ad('0x1d')],_0x31f7c3);}),_0x321958[_0x16ad('0x18')](_0x16ad('0x1e'))['to'](this,_0x16ad('0xa'),_0x42b642=>_0x38f66c(this[_0x16ad('0x1d')],_0x42b642?'Reply':_0x16ad('0x17'))),_0x321958['on'](_0x16ad('0x2c'),(_0x4a29c4,_0x3fbb70)=>{this[_0x16ad('0x16')](_0x16ad('0xc'),_0x3fbb70),this[_0x16ad('0x19')][_0x16ad('0x2d')]&&this['_model'][_0x16ad('0x6')]&&this[_0x16ad('0x16')]('reopenCommentThread',this[_0x16ad('0x19')]['id']),this[_0x16ad('0x19')][_0x16ad('0x8')]||this['fire'](_0x16ad('0x12'));}),_0x321958['on'](_0x16ad('0x1a'),()=>{this[_0x16ad('0x30')]();}),_0x321958['bind'](_0x16ad('0x2e'))['to'](this[_0x16ad('0x19')],_0x16ad('0x26')),_0x321958['on'](_0x16ad('0x1a'),_0x38e446=>{0x0==this[_0x16ad('0xa')]&&(this['fire'](_0x16ad('0x11')),_0x38e446['stop']());}),this['on'](_0x16ad('0x2a'),(_0x5ca040,_0x4f6fdc,_0x2eea15)=>{_0x2eea15||this[_0x16ad('0xa')]||_0x321958[_0x16ad('0x10')]||this[_0x16ad('0x16')](_0x16ad('0x11'));}),_0xaadced;}}
23
+ const _0x1008=['Reply\x20to\x20reopen\x20discussion...','Write\x20a\x20comment...','unlinkedAt','hasDirtyComment','Reply','showInput','change:isActive','editorDestroyed','fire','isResolved','focus','locale','_localUser','set','destroy','isDirty','submitCommentThread','value','Comment','removeComment','archivedAt','stop','isReadOnly','resolveCommentThread','isSubmitted','disabledSubmit','editorConfig','delegate','_createCommentThreadInputView','isUnlinked','isActive','bind','isResolvable','commentsListView','commentThreadHeaderView','element','reopenCommentThread','canComment','_model','length','listenTo','commentInputView','cancel','_config','editorReady','commentThreadInputView','removeCommentThread'];(function(_0x12eeab,_0x1008ab){const _0x1e5670=function(_0x548e04){while(--_0x548e04){_0x12eeab['push'](_0x12eeab['shift']());}};_0x1e5670(++_0x1008ab);}(_0x1008,0xb3));const _0x1e56=function(_0x12eeab,_0x1008ab){_0x12eeab=_0x12eeab-0x0;let _0x1e5670=_0x1008[_0x12eeab];return _0x1e5670;};import{View as _0xcc0c53}from'ckeditor5/src/ui.js';import _0x123169 from'./commentthreadinputview.js';import _0x451582 from'./commentslistview.js';import _0x31f322 from'./commentthreadheaderview.js';import{getTranslation as _0xa36a81}from'../../../utils/common-translations.js';export default class Ut extends _0xcc0c53{constructor(_0x2985f2,_0x5a67d3,_0x1a333b,_0x2feede){super(_0x2985f2),this[_0x1e56('0x16')](_0x1e56('0x27'),!0x1),this[_0x1e56('0x16')](_0x1e56('0x18'),!0x1),this['_model']=_0x5a67d3,this['_localUser']=_0x1a333b,this[_0x1e56('0x5')]=_0x2feede,this[_0x1e56('0x2b')]=new _0x31f322(_0x2985f2,_0x5a67d3),this[_0x1e56('0x2b')][_0x1e56('0x24')](_0x1e56('0x2d'))['to'](this),this[_0x1e56('0x2')](this,_0x1e56('0x2d'),()=>{this[_0x1e56('0x13')]();}),this[_0x1e56('0x2a')]=new _0x451582(_0x2985f2,_0x5a67d3,Object['assign']({'CommentView':this[_0x1e56('0x5')]['CommentView']},_0x2feede)),this['commentsListView']['delegate'](_0x1e56('0x1c'))['to'](this),this['commentsListView'][_0x1e56('0x24')]('updateComment')['to'](this),this['commentsListView'][_0x1e56('0x24')](_0x1e56('0x20'))['to'](this),this[_0x1e56('0x2a')][_0x1e56('0x24')](_0x1e56('0x6'))['to'](this),this['commentsListView'][_0x1e56('0x24')](_0x1e56('0x10'))['to'](this),this[_0x1e56('0x2a')][_0x1e56('0x28')](_0x1e56('0x27'))['to'](this),this['listenTo'](this,_0x1e56('0x20'),()=>{this[_0x1e56('0x13')]();}),this['set']('length',this['commentsListView'][_0x1e56('0x1')]),this[_0x1e56('0x28')](_0x1e56('0x1'))['to'](this[_0x1e56('0x2a')],'length'),this[_0x1e56('0x7')]=this[_0x1e56('0x25')](),this['commentThreadInputView'][_0x1e56('0x24')]('editorReady')['to'](this),this[_0x1e56('0x7')]['delegate'](_0x1e56('0x10'))['to'](this),this['on'](_0x1e56('0x1c'),()=>this[_0x1e56('0x13')]()),this[_0x1e56('0x28')](_0x1e56('0x18'))['to'](this[_0x1e56('0x2a')],_0x1e56('0xc'),this[_0x1e56('0x7')][_0x1e56('0x3')],_0x1e56('0x1a'),(_0x4238e0,_0x9d137b)=>_0x4238e0||!!_0x9d137b),this[_0x1e56('0x28')](_0x1e56('0x26'))['to'](_0x5a67d3,_0x1e56('0xb'),_0x348207=>!!_0x348207);}[_0x1e56('0x13')](){this[_0x1e56('0x2c')][_0x1e56('0x13')]();}async[_0x1e56('0x17')](){this['isDirty']=!0x1,this[_0x1e56('0x2a')]['destroy'](),await this[_0x1e56('0x7')][_0x1e56('0x17')](),super[_0x1e56('0x17')]();}[_0x1e56('0x25')](){const _0x4b8429=new _0x123169(this[_0x1e56('0x14')],this[_0x1e56('0x15')],this[_0x1e56('0x5')][_0x1e56('0x23')]),_0x944efe=_0x4b8429[_0x1e56('0x3')];return _0x4b8429[_0x1e56('0x28')](_0x1e56('0xe'))['to'](this,_0x1e56('0x27'),this['_model'],_0x1e56('0x1f'),this[_0x1e56('0x0')],_0x1e56('0x2e'),this[_0x1e56('0x0')],_0x1e56('0x1d'),_0x944efe,_0x1e56('0x1a'),(_0x1cb0d0,_0x1ff1a2,_0x10c82c,_0x4a091f,_0x4b35d0)=>!!_0x4b35d0||!!_0x4a091f&&_0x10c82c&&!_0x1ff1a2||_0x1cb0d0&&_0x10c82c&&!_0x1ff1a2),_0x944efe['bind']('placeholder')['to'](this,_0x1e56('0x1'),this[_0x1e56('0x0')],_0x1e56('0x29'),this[_0x1e56('0x0')],_0x1e56('0x12'),(_0x358ded,_0x18f767,_0x1be0f4)=>{let _0x12209d;return _0x12209d=_0x1be0f4&&_0x18f767?_0x1e56('0x9'):_0x358ded?'Reply...':_0x1e56('0xa'),_0xa36a81(this[_0x1e56('0x14')],_0x12209d);}),_0x944efe[_0x1e56('0x28')]('submitLabel')['to'](this,'length',_0x10b1e3=>_0xa36a81(this[_0x1e56('0x14')],_0x10b1e3?_0x1e56('0xd'):_0x1e56('0x1b'))),_0x944efe['on']('submit',(_0x25ff53,_0x128233)=>{this['fire']('addComment',_0x128233),this[_0x1e56('0x0')][_0x1e56('0x12')]&&this[_0x1e56('0x0')][_0x1e56('0x29')]&&this['fire'](_0x1e56('0x2d'),this[_0x1e56('0x0')]['id']),this[_0x1e56('0x0')][_0x1e56('0x21')]||this['fire'](_0x1e56('0x19'));}),_0x944efe['on'](_0x1e56('0x4'),()=>{this[_0x1e56('0x13')]();}),_0x944efe['bind'](_0x1e56('0x22'))['to'](this['_model'],_0x1e56('0x1f')),_0x944efe['on'](_0x1e56('0x4'),_0x40ab7f=>{0x0==this[_0x1e56('0x1')]&&(this[_0x1e56('0x11')](_0x1e56('0x8')),_0x40ab7f[_0x1e56('0x1e')]());}),this['on'](_0x1e56('0xf'),(_0x2541a7,_0x340d6d,_0x409742)=>{_0x409742||this[_0x1e56('0x1')]||_0x944efe['value']||this[_0x1e56('0x11')](_0x1e56('0x8'));}),_0x4b8429;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x373f=['delegate','cancel','bind','switchToDisplayMode','_createCommentContentView','switchToEditMode','submitLabel','set','editorConfig','element','createCollection','once','destroy','_model','_createCommentInputView','content','createEditor','locale','value','editorDestroyed','visibleView','expand','initialData','_config','remove','add','submit','isCollapsed','isEditMode','focus','disabledSubmit','Save','editorReady','updateComment','isReadOnly','isSystemComment','get'];(function(_0x2c470f,_0x373fec){const _0x53b7d2=function(_0x3f9b00){while(--_0x3f9b00){_0x2c470f['push'](_0x2c470f['shift']());}};_0x53b7d2(++_0x373fec);}(_0x373f,0x11e));const _0x53b7=function(_0x2c470f,_0x373fec){_0x2c470f=_0x2c470f-0x0;let _0x53b7d2=_0x373f[_0x2c470f];return _0x53b7d2;};import{View as _0x261eaa}from'ckeditor5/src/ui.js';import{trimHtml as _0x279ef8}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2c0459 from'./commentcontentview.js';import _0x91c0e1 from'./commentinputview.js';import{getTranslation as _0xfd0bbd}from'../../../utils/common-translations.js';export default class ti extends _0x261eaa{constructor(_0x109c9d,_0x356405,_0x13c943){super(_0x109c9d),this['_model']=_0x356405,this[_0x53b7('0x21')]=_0x13c943,this[_0x53b7('0x8')]=!!this[_0x53b7('0x21')][_0x53b7('0x8')],this[_0x53b7('0x11')](_0x53b7('0x1'),!0x1),this[_0x53b7('0x11')]('isCollapsed',!0x0),this[_0x53b7('0x1e')]=this[_0x53b7('0x14')](),this[_0x53b7('0x1e')]['add'](this[_0x53b7('0xe')]());}[_0x53b7('0x1f')](){this[_0x53b7('0x0')]=!0x1;}['collapse'](){this['isEditMode']||(this[_0x53b7('0x0')]=!0x0);}[_0x53b7('0x2')](){this[_0x53b7('0x13')][_0x53b7('0x2')]();}async[_0x53b7('0x16')](){await this[_0x53b7('0x1e')][_0x53b7('0x9')](0x0)[_0x53b7('0x16')](),super[_0x53b7('0x16')]();}[_0x53b7('0xf')](){this['isEditMode']||(this[_0x53b7('0x1')]=!0x0,this[_0x53b7('0x1e')][_0x53b7('0x22')](0x0)['destroy'](),this[_0x53b7('0x1e')]['add'](this[_0x53b7('0x18')]()));}[_0x53b7('0xd')](){this[_0x53b7('0x1')]&&(this[_0x53b7('0x1')]=!0x1,this[_0x53b7('0x1e')][_0x53b7('0x22')](0x0)[_0x53b7('0x16')](),this['visibleView'][_0x53b7('0x23')](this['_createCommentContentView']()));}[_0x53b7('0xe')](){const _0x539f10=new _0x2c0459(this[_0x53b7('0x1b')]);return _0x539f10[_0x53b7('0xc')](_0x53b7('0x19'))['to'](this[_0x53b7('0x17')],_0x53b7('0x19'),this,_0x53b7('0x0'),(_0x4137b4,_0x1184c7)=>_0x1184c7?_0x279ef8(_0x4137b4,{'limit':this[_0x53b7('0x21')]['maxCommentCharsWhenCollapsed']}):_0x4137b4),_0x539f10;}[_0x53b7('0x18')](){this[_0x53b7('0x21')][_0x53b7('0x12')]||(this[_0x53b7('0x21')][_0x53b7('0x12')]={}),this[_0x53b7('0x21')][_0x53b7('0x12')][_0x53b7('0x20')]=this['_model'][_0x53b7('0x19')];const _0x150376=new _0x91c0e1(this[_0x53b7('0x1b')],this['_config'][_0x53b7('0x12')]);return _0x150376[_0x53b7('0x1c')]=this['_model'][_0x53b7('0x19')],_0x150376['bind'](_0x53b7('0x3'))['to'](this[_0x53b7('0x17')],_0x53b7('0x7')),_0x150376[_0x53b7('0x10')]=_0xfd0bbd(this['locale'],_0x53b7('0x4')),_0x150376['on'](_0x53b7('0x24'),(_0x30b91e,_0x40ebf9)=>{this['fire'](_0x53b7('0x6'),this['_model']['id'],_0x40ebf9),this[_0x53b7('0xd')](),this[_0x53b7('0x2')]();}),_0x150376['on'](_0x53b7('0xb'),()=>{this[_0x53b7('0xd')](),this['focus']();}),_0x150376[_0x53b7('0x15')](_0x53b7('0x5'),()=>{_0x150376[_0x53b7('0x2')]();}),_0x150376[_0x53b7('0x1a')](),_0x150376[_0x53b7('0xa')](_0x53b7('0x5'))['to'](this),_0x150376[_0x53b7('0xa')](_0x53b7('0x1d'))['to'](this),_0x150376;}}
23
+ const _0x165a=['editorConfig','editorReady','delegate','_createCommentInputView','content','createCollection','switchToDisplayMode','once','submit','maxCommentCharsWhenCollapsed','value','fire','disabledSubmit','remove','editorDestroyed','submitLabel','bind','_config','expand','locale','switchToEditMode','isCollapsed','destroy','visibleView','focus','isSystemComment','_createCommentContentView','collapse','_model','add','isEditMode','get','cancel'];(function(_0x38d0ed,_0x165a2f){const _0x5c249c=function(_0x4d54db){while(--_0x4d54db){_0x38d0ed['push'](_0x38d0ed['shift']());}};_0x5c249c(++_0x165a2f);}(_0x165a,0x152));const _0x5c24=function(_0x38d0ed,_0x165a2f){_0x38d0ed=_0x38d0ed-0x0;let _0x5c249c=_0x165a[_0x38d0ed];return _0x5c249c;};import{View as _0xf9ad4c}from'ckeditor5/src/ui.js';import{trimHtml as _0x5aedcd}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1a79d5 from'./commentcontentview.js';import _0x1a7a59 from'./commentinputview.js';import{getTranslation as _0x431033}from'../../../utils/common-translations.js';export default class ti extends _0xf9ad4c{constructor(_0x285742,_0x5bcae9,_0x567152){super(_0x285742),this[_0x5c24('0x14')]=_0x5bcae9,this['_config']=_0x567152,this[_0x5c24('0x11')]=!!this['_config']['isSystemComment'],this['set']('isEditMode',!0x1),this['set'](_0x5c24('0xd'),!0x0),this[_0x5c24('0xf')]=this[_0x5c24('0x1e')](),this[_0x5c24('0xf')]['add'](this[_0x5c24('0x12')]());}[_0x5c24('0xa')](){this[_0x5c24('0xd')]=!0x1;}[_0x5c24('0x13')](){this[_0x5c24('0x16')]||(this[_0x5c24('0xd')]=!0x0);}[_0x5c24('0x10')](){this['element']['focus']();}async['destroy'](){await this[_0x5c24('0xf')][_0x5c24('0x17')](0x0)[_0x5c24('0xe')](),super[_0x5c24('0xe')]();}[_0x5c24('0xc')](){this[_0x5c24('0x16')]||(this['isEditMode']=!0x0,this['visibleView']['remove'](0x0)[_0x5c24('0xe')](),this['visibleView'][_0x5c24('0x15')](this[_0x5c24('0x1c')]()));}['switchToDisplayMode'](){this[_0x5c24('0x16')]&&(this[_0x5c24('0x16')]=!0x1,this[_0x5c24('0xf')][_0x5c24('0x5')](0x0)[_0x5c24('0xe')](),this[_0x5c24('0xf')][_0x5c24('0x15')](this[_0x5c24('0x12')]()));}['_createCommentContentView'](){const _0x2059e3=new _0x1a79d5(this[_0x5c24('0xb')]);return _0x2059e3[_0x5c24('0x8')](_0x5c24('0x1d'))['to'](this['_model'],_0x5c24('0x1d'),this,'isCollapsed',(_0x11a44d,_0x2a5844)=>_0x2a5844?_0x5aedcd(_0x11a44d,{'limit':this[_0x5c24('0x9')][_0x5c24('0x1')]}):_0x11a44d),_0x2059e3;}[_0x5c24('0x1c')](){this[_0x5c24('0x9')][_0x5c24('0x19')]||(this[_0x5c24('0x9')][_0x5c24('0x19')]={}),this['_config'][_0x5c24('0x19')]['initialData']=this['_model'][_0x5c24('0x1d')];const _0x1e4925=new _0x1a7a59(this['locale'],this[_0x5c24('0x9')][_0x5c24('0x19')]);return _0x1e4925[_0x5c24('0x2')]=this[_0x5c24('0x14')]['content'],_0x1e4925['bind'](_0x5c24('0x4'))['to'](this[_0x5c24('0x14')],'isReadOnly'),_0x1e4925[_0x5c24('0x7')]=_0x431033(this[_0x5c24('0xb')],'Save'),_0x1e4925['on'](_0x5c24('0x0'),(_0x900aaf,_0x5052a7)=>{this[_0x5c24('0x3')]('updateComment',this[_0x5c24('0x14')]['id'],_0x5052a7),this[_0x5c24('0x1f')](),this[_0x5c24('0x10')]();}),_0x1e4925['on'](_0x5c24('0x18'),()=>{this[_0x5c24('0x1f')](),this[_0x5c24('0x10')]();}),_0x1e4925[_0x5c24('0x20')](_0x5c24('0x1a'),()=>{_0x1e4925[_0x5c24('0x10')]();}),_0x1e4925['createEditor'](),_0x1e4925[_0x5c24('0x1b')](_0x5c24('0x1a'))['to'](this),_0x1e4925[_0x5c24('0x1b')](_0x5c24('0x6'))['to'](this),_0x1e4925;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c01=['set','bindTemplate','NUMBER_OF_COMMENTS','ck-thread__comment-count','count','setTemplate'];(function(_0x52f966,_0x2c018a){const _0x52303c=function(_0x76f773){while(--_0x76f773){_0x52f966['push'](_0x52f966['shift']());}};_0x52303c(++_0x2c018a);}(_0x2c01,0x1c0));const _0x5230=function(_0x52f966,_0x2c018a){_0x52f966=_0x52f966-0x0;let _0x52303c=_0x2c01[_0x52f966];return _0x52303c;};import{View as _0x1592ea}from'ckeditor5/src/ui.js';import{getTranslation as _0x2c8d05}from'../../../utils/common-translations.js';export default class ts extends _0x1592ea{constructor(_0x143642){super(_0x143642);const _0x27b224=this[_0x5230('0x3')];this[_0x5230('0x2')](_0x5230('0x0'),void 0x0),this[_0x5230('0x1')]({'tag':'li','attributes':{'class':_0x5230('0x5')},'children':[{'text':_0x27b224['to'](_0x5230('0x0'),_0x1abc39=>_0x2c8d05(_0x143642,_0x5230('0x4'),_0x1abc39))}]});}}
23
+ const _0x88d1=['bindTemplate','set','NUMBER_OF_COMMENTS','ck-thread__comment-count','setTemplate','count'];(function(_0x15f1fc,_0x88d148){const _0x35c63c=function(_0x36442c){while(--_0x36442c){_0x15f1fc['push'](_0x15f1fc['shift']());}};_0x35c63c(++_0x88d148);}(_0x88d1,0xc0));const _0x35c6=function(_0x15f1fc,_0x88d148){_0x15f1fc=_0x15f1fc-0x0;let _0x35c63c=_0x88d1[_0x15f1fc];return _0x35c63c;};import{View as _0x1156e4}from'ckeditor5/src/ui.js';import{getTranslation as _0x4125e3}from'../../../utils/common-translations.js';export default class ts extends _0x1156e4{constructor(_0x389578){super(_0x389578);const _0x22dde6=this[_0x35c6('0x0')];this[_0x35c6('0x1')](_0x35c6('0x5'),void 0x0),this[_0x35c6('0x4')]({'tag':'li','attributes':{'class':_0x35c6('0x3')},'children':[{'text':_0x22dde6['to'](_0x35c6('0x5'),_0x4b8f2f=>_0x4125e3(_0x389578,_0x35c6('0x2'),_0x4b8f2f))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5b33=['ck-annotation__content','div','element','setTemplate','change:content','ck-comment__content','render','content'];(function(_0x3037db,_0x5b3336){var _0x49da73=function(_0x247fcd){while(--_0x247fcd){_0x3037db['push'](_0x3037db['shift']());}};_0x49da73(++_0x5b3336);}(_0x5b33,0x12e));var _0x49da=function(_0x3037db,_0x5b3336){_0x3037db=_0x3037db-0x0;var _0x49da73=_0x5b33[_0x3037db];return _0x49da73;};import{View as _0x17adee}from'ckeditor5/src/ui.js';export default class Yt extends _0x17adee{constructor(_0x415cf7){super(_0x415cf7),this['set'](_0x49da('0x1'),''),this[_0x49da('0x5')]({'tag':_0x49da('0x3'),'attributes':{'class':[_0x49da('0x7'),_0x49da('0x2')]}});}[_0x49da('0x0')](){super[_0x49da('0x0')](),this['on'](_0x49da('0x6'),(_0x5a88b4,_0x121b08,_0x30056e)=>{this['element']['innerHTML']=_0x30056e;}),this[_0x49da('0x4')]['innerHTML']=this[_0x49da('0x1')];}}
23
+ var _0x4ead=['content','change:content','render','innerHTML','element','ck-annotation__content'];(function(_0x2bf877,_0x4ead9d){var _0x5de67b=function(_0x26f4c3){while(--_0x26f4c3){_0x2bf877['push'](_0x2bf877['shift']());}};_0x5de67b(++_0x4ead9d);}(_0x4ead,0x6f));var _0x5de6=function(_0x2bf877,_0x4ead9d){_0x2bf877=_0x2bf877-0x0;var _0x5de67b=_0x4ead[_0x2bf877];return _0x5de67b;};import{View as _0x56e798}from'ckeditor5/src/ui.js';export default class Yt extends _0x56e798{constructor(_0x16a361){super(_0x16a361),this['set'](_0x5de6('0x3'),''),this['setTemplate']({'tag':'div','attributes':{'class':['ck-comment__content',_0x5de6('0x2')]}});}[_0x5de6('0x5')](){super['render'](),this['on'](_0x5de6('0x4'),(_0x11194b,_0x20c1a7,_0x41186d)=>{this['element']['innerHTML']=_0x41186d;}),this[_0x5de6('0x1')][_0x5de6('0x0')]=this[_0x5de6('0x3')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x379d=['stop','bind','editorDestroyed','div','low','listenTo','_isDestroyed','focusNext','ck-comment__input-actions--submit','Reply...','model','fire','extendTemplate','_createSubmitButton','setData','high','_initializeFocusCycling','value','bindTemplate','render','editorReady','focusTracker','TOO_LONG_COMMENT_ALERT','_editorCreationPromise','setTemplate','focus','execute','cancelButtonView','keystrokes','Cancel','initialData','length','submit','withText','element','_editorConfig','ck-comment__input-actions','label','isEnabled','create','Esc','_createCancelButton','destroy','set','ck-comment__input-actions--active','tab','forEach','Reply','ck-comment__input-wrapper','add','submitButtonView','editor','getData','shift\x20+\x20tab','placeholder','createEditor','disabledSubmit'];(function(_0x39ba04,_0x379db5){const _0x26ebd9=function(_0x1e714e){while(--_0x1e714e){_0x39ba04['push'](_0x39ba04['shift']());}};_0x26ebd9(++_0x379db5);}(_0x379d,0x156));const _0x26eb=function(_0x39ba04,_0x379db5){_0x39ba04=_0x39ba04-0x0;let _0x26ebd9=_0x379d[_0x39ba04];return _0x26ebd9;};import{View as _0x34403a,ViewCollection as _0x3718da,FocusCycler as _0x1d8da9,ButtonView as _0x5ade64}from'ckeditor5/src/ui.js';import{FocusTracker as _0x457fcf,KeystrokeHandler as _0x5a6cba}from'ckeditor5/src/utils.js';import _0x4a5ca3 from'../commenteditor/commenteditor.js';import{getTranslation as _0x52973b}from'../../../utils/common-translations.js';export default class Zt extends _0x34403a{constructor(_0x9a6a4f,_0x5c1f1d={}){super(_0x9a6a4f),this[_0x26eb('0x33')]=null,this['_editorConfig']=_0x5c1f1d,this[_0x26eb('0x1c')]=new _0x5a6cba(),this[_0x26eb('0x15')]=new _0x457fcf(),this[_0x26eb('0x2b')](_0x26eb('0x11'),_0x5c1f1d[_0x26eb('0x1e')]||''),this[_0x26eb('0x2b')](_0x26eb('0x38'),!0x1),this[_0x26eb('0x2b')]('showButtons',!0x0),this[_0x26eb('0x2b')]('placeholder',_0x52973b(_0x9a6a4f,_0x26eb('0x9'))),this[_0x26eb('0x2b')]('submitLabel',_0x52973b(_0x9a6a4f,_0x26eb('0x2f'))),this[_0x26eb('0x32')]=this[_0x26eb('0xd')](),this[_0x26eb('0x1b')]=this[_0x26eb('0x29')](),this[_0x26eb('0x18')]({'tag':_0x26eb('0x3'),'attributes':{'class':[_0x26eb('0x30')]},'children':[{'tag':_0x26eb('0x3'),'attributes':{'class':[_0x26eb('0x24'),this[_0x26eb('0x12')]['if']('showButtons',_0x26eb('0x2c'))]},'children':[this[_0x26eb('0x32')],this[_0x26eb('0x1b')]]}]}),this['keystrokes'][_0x26eb('0x2b')](_0x26eb('0x28'),(_0x200ee5,_0x3390ec)=>{this[_0x26eb('0x1b')][_0x26eb('0xb')](_0x26eb('0x1a')),_0x3390ec();}),this['on']('submit',(_0x313049,_0x284a02)=>{_0x284a02[_0x26eb('0x1f')]>0xfde8?(alert(_0x52973b(_0x9a6a4f,_0x26eb('0x16'),[_0x284a02[_0x26eb('0x1f')],0xfde8])),_0x313049[_0x26eb('0x0')]()):this['editor'][_0x26eb('0xe')]('');},{'priority':_0x26eb('0xf')});}[_0x26eb('0x13')](){super[_0x26eb('0x13')](),this['keystrokes'][_0x26eb('0x5')](this[_0x26eb('0x22')]),this['focusTracker'][_0x26eb('0x31')](this[_0x26eb('0x22')]);}[_0x26eb('0x37')](){return this[_0x26eb('0x33')]||(this[_0x26eb('0x33')]=new _0x4a5ca3(this[_0x26eb('0x23')]),this['_editorCreationPromise']=this[_0x26eb('0x33')][_0x26eb('0x27')]()['then'](()=>{if(this['_isDestroyed'])return;const _0x2efc42=this[_0x26eb('0x33')];this[_0x26eb('0x22')]['insertBefore'](_0x2efc42['ui'][_0x26eb('0x22')],this['element']['firstChild']),_0x2efc42[_0x26eb('0xa')]['document']['on']('change',()=>this[_0x26eb('0x11')]=_0x2efc42[_0x26eb('0x34')]()),_0x2efc42[_0x26eb('0x1')](_0x26eb('0x36'))['to'](this),this[_0x26eb('0x10')](this[_0x26eb('0x33')]),this['fire'](_0x26eb('0x14'),this[_0x26eb('0x33')]);})),this[_0x26eb('0x17')];}['focus'](){this[_0x26eb('0x33')]&&this[_0x26eb('0x33')][_0x26eb('0x19')]();}async[_0x26eb('0x2a')](){this[_0x26eb('0x6')]||(this['_isDestroyed']=!0x0,this['editor']&&(await this[_0x26eb('0x17')],await this[_0x26eb('0x33')]['destroy'](),this[_0x26eb('0xb')](_0x26eb('0x2'),this[_0x26eb('0x33')])),await super[_0x26eb('0x2a')]());}['_createSubmitButton'](){const {locale:_0x2f212e}=this,_0x23988f=new _0x5ade64(_0x2f212e);return _0x23988f[_0x26eb('0xc')]({'attributes':{'class':[_0x26eb('0x8')]}}),_0x23988f[_0x26eb('0x21')]=!0x0,_0x23988f[_0x26eb('0x1')](_0x26eb('0x25'))['to'](this,'submitLabel'),_0x23988f['on'](_0x26eb('0x1a'),()=>{this[_0x26eb('0xb')](_0x26eb('0x20'),this[_0x26eb('0x11')]);}),_0x23988f[_0x26eb('0x1')](_0x26eb('0x26'))['to'](this,_0x26eb('0x11'),this,_0x26eb('0x38'),(_0x5c2b10,_0x238657)=>!_0x238657&&!!_0x5c2b10['trim']()),_0x23988f;}[_0x26eb('0x29')](){const {locale:_0x3d7259}=this,_0x174d9d=new _0x5ade64(_0x3d7259);return _0x174d9d['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x174d9d[_0x26eb('0x25')]=_0x52973b(_0x3d7259,_0x26eb('0x1d')),_0x174d9d[_0x26eb('0x21')]=!0x0,_0x174d9d['on'](_0x26eb('0x1a'),()=>{this[_0x26eb('0x33')]['setData'](''),this[_0x26eb('0xb')]('cancel');}),_0x174d9d;}[_0x26eb('0x10')](_0x39ff18){const _0x5e5c4c=this['focusTracker'],_0x14e580=new _0x3718da();[_0x39ff18['ui']['view'],this[_0x26eb('0x32')],this['cancelButtonView']][_0x26eb('0x2e')](_0x17b4be=>{_0x14e580[_0x26eb('0x31')](_0x17b4be),_0x5e5c4c[_0x26eb('0x31')](_0x17b4be['element']);});const _0x140527=new _0x1d8da9({'focusables':_0x14e580,'focusTracker':_0x5e5c4c});this[_0x26eb('0x1c')][_0x26eb('0x2b')](_0x26eb('0x2d'),(_0x12c0c1,_0x3c9b8)=>{_0x140527[_0x26eb('0x7')](),_0x3c9b8();},{'priority':_0x26eb('0x4')}),this['keystrokes']['set'](_0x26eb('0x35'),(_0x45e30e,_0x4a1360)=>{_0x140527['focusPrevious'](),_0x4a1360();},{'priority':_0x26eb('0x4')});}}
23
+ const _0xf383=['extendTemplate','initialData','create','Reply...','_initializeFocusCycling','getData','execute','placeholder','Reply','TOO_LONG_COMMENT_ALERT','high','Esc','editor','set','_createSubmitButton','length','submitButtonView','firstChild','withText','render','showButtons','value','element','document','low','_createCancelButton','ck-comment__input-actions--submit','_editorCreationPromise','listenTo','focus','bind','destroy','label','tab','div','cancelButtonView','ck-comment__input-wrapper','trim','bindTemplate','_editorConfig','stop','createEditor','submit','focusNext','ck-comment__input-actions--active','_isDestroyed','setData','focusTracker','setTemplate','submitLabel','change','model','ck-comment__input-actions','add','disabledSubmit','keystrokes','shift\x20+\x20tab','isEnabled','fire','insertBefore','Cancel'];(function(_0x4ca479,_0xf383c9){const _0x32cd1b=function(_0x169b79){while(--_0x169b79){_0x4ca479['push'](_0x4ca479['shift']());}};_0x32cd1b(++_0xf383c9);}(_0xf383,0x1a6));const _0x32cd=function(_0x4ca479,_0xf383c9){_0x4ca479=_0x4ca479-0x0;let _0x32cd1b=_0xf383[_0x4ca479];return _0x32cd1b;};import{View as _0x1454e6,ViewCollection as _0xa82502,FocusCycler as _0x2b52ef,ButtonView as _0x33e160}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2a26c4,KeystrokeHandler as _0x1af6a1}from'ckeditor5/src/utils.js';import _0x1ec8b5 from'../commenteditor/commenteditor.js';import{getTranslation as _0x2faf29}from'../../../utils/common-translations.js';export default class Zt extends _0x1454e6{constructor(_0x1221c7,_0x4e44d6={}){super(_0x1221c7),this[_0x32cd('0x11')]=null,this[_0x32cd('0x2c')]=_0x4e44d6,this[_0x32cd('0x3c')]=new _0x1af6a1(),this['focusTracker']=new _0x2a26c4(),this[_0x32cd('0x12')]('value',_0x4e44d6[_0x32cd('0x6')]||''),this['set']('disabledSubmit',!0x1),this[_0x32cd('0x12')](_0x32cd('0x19'),!0x0),this[_0x32cd('0x12')]('placeholder',_0x2faf29(_0x1221c7,_0x32cd('0x8'))),this[_0x32cd('0x12')](_0x32cd('0x36'),_0x2faf29(_0x1221c7,_0x32cd('0xd'))),this['submitButtonView']=this['_createSubmitButton'](),this[_0x32cd('0x28')]=this[_0x32cd('0x1e')](),this[_0x32cd('0x35')]({'tag':_0x32cd('0x27'),'attributes':{'class':[_0x32cd('0x29')]},'children':[{'tag':_0x32cd('0x27'),'attributes':{'class':[_0x32cd('0x39'),this[_0x32cd('0x2b')]['if'](_0x32cd('0x19'),_0x32cd('0x31'))]},'children':[this['submitButtonView'],this[_0x32cd('0x28')]]}]}),this['keystrokes'][_0x32cd('0x12')](_0x32cd('0x10'),(_0x22164b,_0x563be1)=>{this[_0x32cd('0x28')][_0x32cd('0x2')](_0x32cd('0xb')),_0x563be1();}),this['on'](_0x32cd('0x2f'),(_0xe8365,_0x335e9d)=>{_0x335e9d[_0x32cd('0x14')]>0xfde8?(alert(_0x2faf29(_0x1221c7,_0x32cd('0xe'),[_0x335e9d['length'],0xfde8])),_0xe8365[_0x32cd('0x2d')]()):this[_0x32cd('0x11')][_0x32cd('0x33')]('');},{'priority':_0x32cd('0xf')});}['render'](){super[_0x32cd('0x18')](),this[_0x32cd('0x3c')][_0x32cd('0x21')](this[_0x32cd('0x1b')]),this[_0x32cd('0x34')][_0x32cd('0x3a')](this['element']);}[_0x32cd('0x2e')](){return this[_0x32cd('0x11')]||(this[_0x32cd('0x11')]=new _0x1ec8b5(this[_0x32cd('0x2c')]),this[_0x32cd('0x20')]=this[_0x32cd('0x11')][_0x32cd('0x7')]()['then'](()=>{if(this[_0x32cd('0x32')])return;const _0x796e08=this[_0x32cd('0x11')];this['element'][_0x32cd('0x3')](_0x796e08['ui'][_0x32cd('0x1b')],this['element'][_0x32cd('0x16')]),_0x796e08[_0x32cd('0x38')][_0x32cd('0x1c')]['on'](_0x32cd('0x37'),()=>this[_0x32cd('0x1a')]=_0x796e08[_0x32cd('0xa')]()),_0x796e08[_0x32cd('0x23')](_0x32cd('0xc'))['to'](this),this[_0x32cd('0x9')](this['editor']),this[_0x32cd('0x2')]('editorReady',this[_0x32cd('0x11')]);})),this[_0x32cd('0x20')];}[_0x32cd('0x22')](){this[_0x32cd('0x11')]&&this[_0x32cd('0x11')][_0x32cd('0x22')]();}async[_0x32cd('0x24')](){this['_isDestroyed']||(this[_0x32cd('0x32')]=!0x0,this[_0x32cd('0x11')]&&(await this[_0x32cd('0x20')],await this[_0x32cd('0x11')]['destroy'](),this['fire']('editorDestroyed',this[_0x32cd('0x11')])),await super[_0x32cd('0x24')]());}[_0x32cd('0x13')](){const {locale:_0x3f8624}=this,_0x303614=new _0x33e160(_0x3f8624);return _0x303614[_0x32cd('0x5')]({'attributes':{'class':[_0x32cd('0x1f')]}}),_0x303614['withText']=!0x0,_0x303614[_0x32cd('0x23')](_0x32cd('0x25'))['to'](this,_0x32cd('0x36')),_0x303614['on']('execute',()=>{this['fire'](_0x32cd('0x2f'),this[_0x32cd('0x1a')]);}),_0x303614[_0x32cd('0x23')](_0x32cd('0x1'))['to'](this,_0x32cd('0x1a'),this,_0x32cd('0x3b'),(_0x4699c0,_0x3ef78c)=>!_0x3ef78c&&!!_0x4699c0[_0x32cd('0x2a')]()),_0x303614;}[_0x32cd('0x1e')](){const {locale:_0x3be7be}=this,_0x39bed8=new _0x33e160(_0x3be7be);return _0x39bed8[_0x32cd('0x5')]({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x39bed8[_0x32cd('0x25')]=_0x2faf29(_0x3be7be,_0x32cd('0x4')),_0x39bed8[_0x32cd('0x17')]=!0x0,_0x39bed8['on']('execute',()=>{this['editor']['setData'](''),this[_0x32cd('0x2')]('cancel');}),_0x39bed8;}[_0x32cd('0x9')](_0x51cd8d){const _0x30cf43=this[_0x32cd('0x34')],_0x252aa6=new _0xa82502();[_0x51cd8d['ui']['view'],this[_0x32cd('0x15')],this[_0x32cd('0x28')]]['forEach'](_0x298ae2=>{_0x252aa6[_0x32cd('0x3a')](_0x298ae2),_0x30cf43[_0x32cd('0x3a')](_0x298ae2['element']);});const _0x5fdb66=new _0x2b52ef({'focusables':_0x252aa6,'focusTracker':_0x30cf43});this[_0x32cd('0x3c')][_0x32cd('0x12')](_0x32cd('0x26'),(_0x2f52e6,_0x4a8bef)=>{_0x5fdb66[_0x32cd('0x30')](),_0x4a8bef();},{'priority':_0x32cd('0x1d')}),this[_0x32cd('0x3c')][_0x32cd('0x12')](_0x32cd('0x0'),(_0x32ba70,_0xbbb217)=>{_0x5fdb66['focusPrevious'](),_0xbbb217();},{'priority':'low'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6d44=['destroy','ck-comments-archive__header\x20','div','stopPropagation','remove','focus','_focusTracker','element','ck-comments-archive__content','arrowleft','isEmpty','arrowup','ck-comments-archive__info','listenTo','bindTemplate','shift\x20+\x20tab','COMMENTS_ARCHIVE','render','isActive','selectstart','add','arrowright','EMPTY_COMMENTS_ARCHIVE','ck-comments-archive','set','_focusables','high','setTemplate','tab','_keystrokes','auto','length'];(function(_0x1871d1,_0x6d4416){const _0x3bcf35=function(_0x36453c){while(--_0x36453c){_0x1871d1['push'](_0x1871d1['shift']());}};_0x3bcf35(++_0x6d4416);}(_0x6d44,0xca));const _0x3bcf=function(_0x1871d1,_0x6d4416){_0x1871d1=_0x1871d1-0x0;let _0x3bcf35=_0x6d44[_0x1871d1];return _0x3bcf35;};import{View as _0x315354,FocusCycler as _0x4c8766}from'ckeditor5/src/ui.js';import{FocusTracker as _0xc83453,KeystrokeHandler as _0xf5773c}from'ckeditor5/src/utils.js';import{getTranslation as _0x5b58fd}from'../../../utils/common-translations.js';export default class K extends _0x315354{constructor(_0x5e9a9c,_0x550d6b){super(_0x5e9a9c),this[_0x3bcf('0xe')](_0x3bcf('0x0'),!_0x550d6b['length']),this[_0x3bcf('0x1c')]=new _0xc83453(),this[_0x3bcf('0x13')]=new _0xf5773c(),this[_0x3bcf('0xf')]=_0x550d6b,this['_focusCycler']=new _0x4c8766({'focusables':this[_0x3bcf('0xf')],'focusTracker':this[_0x3bcf('0x1c')],'keystrokeHandler':this[_0x3bcf('0x13')],'actions':{'focusPrevious':_0x3bcf('0x5'),'focusNext':_0x3bcf('0x12')}}),this[_0x3bcf('0x3')](_0x550d6b,_0x3bcf('0xa'),()=>{this[_0x3bcf('0x0')]=!0x1;}),this['listenTo'](_0x550d6b,_0x3bcf('0x1a'),(_0x30374b,_0xea1555)=>{_0xea1555[_0x3bcf('0x8')]&&this[_0x3bcf('0x1b')](),_0x550d6b[_0x3bcf('0x15')]||(this['isEmpty']=!0x0);});const _0xd39736=this[_0x3bcf('0x4')];this[_0x3bcf('0x11')]({'tag':_0x3bcf('0x18'),'attributes':{'dir':_0x3bcf('0x14'),'class':['ck',_0x3bcf('0xd')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x3bcf('0x17')]},'children':[{'text':_0x5b58fd(_0x5e9a9c,_0x3bcf('0x6'))}]},{'tag':'div','attributes':{'class':[_0x3bcf('0x1e')]},'children':[{'tag':'div','children':_0x550d6b},{'tag':'p','attributes':{'class':[_0x3bcf('0x2'),_0xd39736['if'](_0x3bcf('0x0'),'ck-hidden',_0x1407ea=>!_0x1407ea)]},'children':[{'text':_0x5b58fd(_0x5e9a9c,_0x3bcf('0xc'))}]}]}]});}['render'](){super[_0x3bcf('0x7')](),this['_keystrokes'][_0x3bcf('0x3')](this[_0x3bcf('0x1d')]);const _0x1440d5=_0x3afa0c=>_0x3afa0c[_0x3bcf('0x19')]();this['_keystrokes'][_0x3bcf('0xe')](_0x3bcf('0xb'),_0x1440d5),this[_0x3bcf('0x13')]['set'](_0x3bcf('0x1f'),_0x1440d5),this[_0x3bcf('0x13')][_0x3bcf('0xe')](_0x3bcf('0x1'),_0x1440d5),this[_0x3bcf('0x13')][_0x3bcf('0xe')]('arrowdown',_0x1440d5),this[_0x3bcf('0x3')](this[_0x3bcf('0x1d')],_0x3bcf('0x9'),(_0x57f11e,_0x5cfb91)=>{_0x5cfb91[_0x3bcf('0x19')]();},{'priority':_0x3bcf('0x10')});}[_0x3bcf('0x16')](){super['destroy'](),this[_0x3bcf('0x1c')][_0x3bcf('0x16')](),this[_0x3bcf('0x13')][_0x3bcf('0x16')]();}[_0x3bcf('0x1b')](){this[_0x3bcf('0x1d')][_0x3bcf('0x1b')]();}}
23
+ const _0x1a83=['ck-comments-archive','EMPTY_COMMENTS_ARCHIVE','focus','render','_focusables','arrowleft','_keystrokes','_focusCycler','ck-comments-archive__content','length','setTemplate','isActive','arrowdown','arrowright','ck-comments-archive__header\x20','stopPropagation','isEmpty','COMMENTS_ARCHIVE','set','listenTo','high','destroy','element','ck-comments-archive__info','bindTemplate','selectstart','div','add','shift\x20+\x20tab','_focusTracker'];(function(_0x199ec3,_0x1a8342){const _0x2ed1bd=function(_0x4c53ed){while(--_0x4c53ed){_0x199ec3['push'](_0x199ec3['shift']());}};_0x2ed1bd(++_0x1a8342);}(_0x1a83,0xcf));const _0x2ed1=function(_0x199ec3,_0x1a8342){_0x199ec3=_0x199ec3-0x0;let _0x2ed1bd=_0x1a83[_0x199ec3];return _0x2ed1bd;};import{View as _0x48c174,FocusCycler as _0x422bd7}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5b085c,KeystrokeHandler as _0x324d02}from'ckeditor5/src/utils.js';import{getTranslation as _0xdf953c}from'../../../utils/common-translations.js';export default class K extends _0x48c174{constructor(_0x35622d,_0x19f864){super(_0x35622d),this[_0x2ed1('0x15')]('isEmpty',!_0x19f864['length']),this[_0x2ed1('0x2')]=new _0x5b085c(),this[_0x2ed1('0x9')]=new _0x324d02(),this[_0x2ed1('0x7')]=_0x19f864,this[_0x2ed1('0xa')]=new _0x422bd7({'focusables':this[_0x2ed1('0x7')],'focusTracker':this[_0x2ed1('0x2')],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':_0x2ed1('0x1'),'focusNext':'tab'}}),this[_0x2ed1('0x16')](_0x19f864,_0x2ed1('0x0'),()=>{this[_0x2ed1('0x13')]=!0x1;}),this[_0x2ed1('0x16')](_0x19f864,'remove',(_0x54abf0,_0xfbcd3)=>{_0xfbcd3[_0x2ed1('0xe')]&&this[_0x2ed1('0x5')](),_0x19f864[_0x2ed1('0xc')]||(this[_0x2ed1('0x13')]=!0x0);});const _0x78171a=this[_0x2ed1('0x1b')];this[_0x2ed1('0xd')]({'tag':_0x2ed1('0x1d'),'attributes':{'dir':'auto','class':['ck',_0x2ed1('0x3')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x2ed1('0x11')]},'children':[{'text':_0xdf953c(_0x35622d,_0x2ed1('0x14'))}]},{'tag':'div','attributes':{'class':[_0x2ed1('0xb')]},'children':[{'tag':_0x2ed1('0x1d'),'children':_0x19f864},{'tag':'p','attributes':{'class':[_0x2ed1('0x1a'),_0x78171a['if'](_0x2ed1('0x13'),'ck-hidden',_0xfa189=>!_0xfa189)]},'children':[{'text':_0xdf953c(_0x35622d,_0x2ed1('0x4'))}]}]}]});}[_0x2ed1('0x6')](){super[_0x2ed1('0x6')](),this[_0x2ed1('0x9')][_0x2ed1('0x16')](this[_0x2ed1('0x19')]);const _0x5d07df=_0x331459=>_0x331459[_0x2ed1('0x12')]();this[_0x2ed1('0x9')][_0x2ed1('0x15')](_0x2ed1('0x10'),_0x5d07df),this['_keystrokes']['set'](_0x2ed1('0x8'),_0x5d07df),this[_0x2ed1('0x9')][_0x2ed1('0x15')]('arrowup',_0x5d07df),this[_0x2ed1('0x9')][_0x2ed1('0x15')](_0x2ed1('0xf'),_0x5d07df),this[_0x2ed1('0x16')](this['element'],_0x2ed1('0x1c'),(_0x2a9760,_0x5abaf6)=>{_0x5abaf6[_0x2ed1('0x12')]();},{'priority':_0x2ed1('0x17')});}[_0x2ed1('0x18')](){super['destroy'](),this[_0x2ed1('0x2')][_0x2ed1('0x18')](),this[_0x2ed1('0x9')][_0x2ed1('0x18')]();}['focus'](){this['element'][_0x2ed1('0x5')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5048=['equal','destroy','_handleRemoveCommentModel','CommentView','_calculatePosition','ck-thread__comments','weight','_rearrangeExpand','collapse','comments','updateComment','editorDestroyed','commentViews','_config','createCollection','_findOptimalIndex','count','setTemplate','removeComment','listenTo','_updateHasDirtyComment','maxCommentCharsWhenCollapsed','stopListening','commentUpdated','get','remove','_collapsedCommentsView','resolveCommentThread','locale','maxCommentsWhenCollapsed','_handleNewCommentModel','_handleInfoComment','element','delegate','from','_rearrangeCollapse','editorReady','focus','isEditMode','visibleViews','set','change:isResolved','_model','length','resolvedBy','resolvedCommentView','refreshVisibleViews','Marked\x20as\x20resolved','change:hasDirtyComment','formatDateTime','_shouldCollapse','isActive','resolved','bind','hasDirtyComment','authoredAt','change:isActive','add'];(function(_0x1ab38a,_0x504822){const _0x53fed3=function(_0x564c94){while(--_0x564c94){_0x1ab38a['push'](_0x1ab38a['shift']());}};_0x53fed3(++_0x504822);}(_0x5048,0xd4));const _0x53fe=function(_0x1ab38a,_0x504822){_0x1ab38a=_0x1ab38a-0x0;let _0x53fed3=_0x5048[_0x1ab38a];return _0x53fed3;};import{View as _0x85c9ae}from'ckeditor5/src/ui.js';import{diff as _0x5d0ba8,Collection as _0x5519ed}from'ckeditor5/src/utils.js';import{getTranslation as _0x4b09e1}from'../../../utils/common-translations.js';import _0x4dea4e from'./collapsedcommentsview.js';export default class vt extends _0x85c9ae{constructor(_0x3605a0,_0x45efe1,_0x3c27b1){super(_0x3605a0),this[_0x53fe('0x2')](_0x53fe('0x10'),!0x1),this[_0x53fe('0x2')](_0x53fe('0x5'),_0x45efe1[_0x53fe('0x1d')][_0x53fe('0x5')]),this[_0x53fe('0x2')](_0x53fe('0xd'),!0x1),this['_model']=_0x45efe1,this[_0x53fe('0x21')]=_0x3c27b1,this[_0x53fe('0x20')]=this['createCollection'](),this[_0x53fe('0x1')]=this[_0x53fe('0x22')](),this['resolvedCommentView']=null,this['_collapsedCommentsView']=new _0x4dea4e(_0x3605a0),this[_0x53fe('0x2e')][_0x53fe('0xf')]('count')['to'](this,_0x53fe('0x5'),_0x43d495=>_0x43d495-this[_0x53fe('0x21')][_0x53fe('0x31')]);for(const _0xc226a9 of _0x45efe1[_0x53fe('0x1d')])this[_0x53fe('0x32')](_0xc226a9);this['_handleInfoComment'](),this[_0x53fe('0x27')](_0x45efe1[_0x53fe('0x1d')],_0x53fe('0x13'),(_0x3c6c97,_0x5ae04d)=>{const _0x49ef8e=this[_0x53fe('0x18')](_0x5ae04d);this[_0x53fe('0x5')]++,this[_0x53fe('0x32')](_0x5ae04d,_0x49ef8e),this[_0x53fe('0x8')]();}),this[_0x53fe('0x27')](_0x45efe1[_0x53fe('0x1d')],_0x53fe('0x2d'),(_0x414655,_0x110b6f)=>{this[_0x53fe('0x5')]--,this[_0x53fe('0x16')](_0x110b6f),this[_0x53fe('0x8')]();}),this[_0x53fe('0x27')](_0x45efe1,_0x53fe('0x2b'),()=>this[_0x53fe('0x8')]()),this['listenTo'](_0x45efe1,_0x53fe('0x3'),()=>this[_0x53fe('0x33')]()),this['on'](_0x53fe('0x12'),()=>this[_0x53fe('0x8')]()),this['on'](_0x53fe('0xa'),()=>this[_0x53fe('0x8')]()),this[_0x53fe('0x25')]({'tag':'ul','attributes':{'class':[_0x53fe('0x19')]},'children':this[_0x53fe('0x1')]});}get[_0x53fe('0xc')](){return this['_model'][_0x53fe('0x1a')]>this['_config']['maxThreadTotalWeight']&&!this[_0x53fe('0xd')]&&!this['hasDirtyComment'];}['render'](){super['render'](),this[_0x53fe('0x8')]();}[_0x53fe('0x39')](){this[_0x53fe('0x34')]['focus']();}[_0x53fe('0x15')](){this['_collapsedCommentsView'][_0x53fe('0x15')]();for(const _0x419154 of this[_0x53fe('0x20')])_0x419154[_0x53fe('0x15')]();super[_0x53fe('0x15')]();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this['_rearrangeExpand']();}[_0x53fe('0x32')](_0x46afd0,_0x5234db){const _0x2b7b9c=new this[(_0x53fe('0x21'))][(_0x53fe('0x17'))](this['locale'],_0x46afd0,{'maxCommentCharsWhenCollapsed':this[_0x53fe('0x21')][_0x53fe('0x29')],'formatDateTime':this[_0x53fe('0x21')]['formatDateTime'],'editorConfig':this[_0x53fe('0x21')]['editorConfig']});_0x2b7b9c['viewUid']=_0x46afd0['id'],_0x2b7b9c['delegate'](_0x53fe('0x26'))['to'](this),_0x2b7b9c[_0x53fe('0x35')](_0x53fe('0x1e'))['to'](this),_0x2b7b9c[_0x53fe('0x35')](_0x53fe('0x2f'))['to'](this),_0x2b7b9c['delegate'](_0x53fe('0x38'))['to'](this),_0x2b7b9c[_0x53fe('0x35')](_0x53fe('0x1f'))['to'](this),this[_0x53fe('0x27')](_0x2b7b9c,'change:isEditMode',()=>this[_0x53fe('0x28')]()),this[_0x53fe('0x20')][_0x53fe('0x13')](_0x2b7b9c,_0x5234db);}[_0x53fe('0x18')](_0xc069c2){const _0x4d53fa=this['_model'][_0x53fe('0x23')](_0xc069c2);return this[_0x53fe('0x7')]?this[_0x53fe('0x7')][_0x53fe('0x11')]>_0xc069c2['authoredAt']?_0x4d53fa-0x1:_0x4d53fa:_0x4d53fa-0x1;}['_handleInfoComment'](){if(this[_0x53fe('0x4')][_0x53fe('0x6')]&&this[_0x53fe('0x4')]['resolvedAt']){const _0xb9e549={'id':_0x53fe('0xe'),'author':this['_model'][_0x53fe('0x6')],'authoredAt':this['_model']['resolvedAt'],'content':_0x4b09e1(this['locale'],_0x53fe('0x9')),'attributes':{}};this[_0x53fe('0x7')]=new this[(_0x53fe('0x21'))][(_0x53fe('0x17'))](this[_0x53fe('0x30')],_0xb9e549,{'maxCommentCharsWhenCollapsed':this[_0x53fe('0x21')][_0x53fe('0x29')],'formatDateTime':this[_0x53fe('0x21')][_0x53fe('0xb')],'editorConfig':this[_0x53fe('0x21')]['editorConfig'],'isSystemComment':!0x0}),this[_0x53fe('0x20')][_0x53fe('0x13')](this['resolvedCommentView'],this[_0x53fe('0x4')][_0x53fe('0x23')](_0xb9e549));}else this[_0x53fe('0x7')]&&(this[_0x53fe('0x20')]['remove'](this[_0x53fe('0x7')]),this[_0x53fe('0x7')][_0x53fe('0x15')](),this[_0x53fe('0x7')]=null);this['refreshVisibleViews']();}[_0x53fe('0x16')](_0x237353){const _0x1cbd31=this[_0x53fe('0x20')][_0x53fe('0x2d')](_0x237353['id']);this[_0x53fe('0x2a')](_0x1cbd31),_0x1cbd31[_0x53fe('0x0')]&&this[_0x53fe('0x28')](),_0x1cbd31['destroy']();}[_0x53fe('0x28')](){this[_0x53fe('0x10')]=Array[_0x53fe('0x36')](this[_0x53fe('0x20')])['some'](_0x5c73e6=>_0x5c73e6[_0x53fe('0x0')]);}[_0x53fe('0x37')](){const _0x393a6d=function(_0x397207){const _0x5adf46=new _0x5519ed();for(const _0x516723 of _0x397207)_0x5adf46[_0x53fe('0x13')](_0x516723);return _0x5adf46;}(this[_0x53fe('0x20')]),_0x113112=this['_collapsedCommentsView'][_0x53fe('0x24')];for(let _0x9de556=0x1;_0x9de556<=_0x113112;_0x9de556++)_0x393a6d[_0x53fe('0x2d')](0x1);for(const _0x52ca5a of _0x393a6d)_0x52ca5a[_0x53fe('0x1c')]();_0x113112>0x0&&_0x393a6d[_0x53fe('0x13')](this[_0x53fe('0x2e')],0x1),is(_0x5d0ba8(Array[_0x53fe('0x36')](this[_0x53fe('0x1')]),Array[_0x53fe('0x36')](_0x393a6d)),this[_0x53fe('0x1')],_0x393a6d);}[_0x53fe('0x1b')](){is(_0x5d0ba8(Array[_0x53fe('0x36')](this[_0x53fe('0x1')]),Array['from'](this[_0x53fe('0x20')])),this[_0x53fe('0x1')],this[_0x53fe('0x20')]);for(const _0x15ad20 of this[_0x53fe('0x1')])_0x15ad20['expand']();}}function is(_0x28603f,_0x133acb,_0x40ccec){let _0x3ad9d9=0x0;for(const _0x4ae338 of _0x28603f)switch(_0x4ae338){case'insert':_0x133acb[_0x53fe('0x13')](_0x40ccec[_0x53fe('0x2c')](_0x3ad9d9),_0x3ad9d9),_0x3ad9d9++;break;case'delete':_0x133acb['remove'](_0x3ad9d9);break;case _0x53fe('0x14'):_0x3ad9d9++;}}
23
+ const _0x2db9=['isActive','set','add','_handleNewCommentModel','remove','_findOptimalIndex','resolved','resolveCommentThread','commentUpdated','destroy','commentViews','_shouldCollapse','weight','_collapsedCommentsView','updateComment','locale','editorReady','comments','from','equal','editorDestroyed','editorConfig','_model','delete','count','refreshVisibleViews','authoredAt','_config','expand','_handleRemoveCommentModel','Marked\x20as\x20resolved','delegate','length','_updateHasDirtyComment','some','createCollection','resolvedBy','focus','viewUid','_calculatePosition','setTemplate','ck-thread__comments','get','isEditMode','resolvedCommentView','listenTo','maxThreadTotalWeight','_rearrangeCollapse','hasDirtyComment','bind','maxCommentCharsWhenCollapsed','_rearrangeExpand','resolvedAt','render','visibleViews','formatDateTime','maxCommentsWhenCollapsed','_handleInfoComment','stopListening'];(function(_0x54890a,_0x2db92e){const _0x23b9f5=function(_0x5b15ef){while(--_0x5b15ef){_0x54890a['push'](_0x54890a['shift']());}};_0x23b9f5(++_0x2db92e);}(_0x2db9,0x1c7));const _0x23b9=function(_0x54890a,_0x2db92e){_0x54890a=_0x54890a-0x0;let _0x23b9f5=_0x2db9[_0x54890a];return _0x23b9f5;};import{View as _0xa2bf57}from'ckeditor5/src/ui.js';import{diff as _0x51988a,Collection as _0x4ddaa7}from'ckeditor5/src/utils.js';import{getTranslation as _0x5a64f9}from'../../../utils/common-translations.js';import _0x33442f from'./collapsedcommentsview.js';export default class vt extends _0xa2bf57{constructor(_0x39f98b,_0x4b0df9,_0x11d7f0){super(_0x39f98b),this['set']('hasDirtyComment',!0x1),this[_0x23b9('0x12')](_0x23b9('0x31'),_0x4b0df9[_0x23b9('0x22')][_0x23b9('0x31')]),this[_0x23b9('0x12')](_0x23b9('0x11'),!0x1),this['_model']=_0x4b0df9,this['_config']=_0x11d7f0,this[_0x23b9('0x1b')]=this['createCollection'](),this[_0x23b9('0xc')]=this[_0x23b9('0x34')](),this[_0x23b9('0x2')]=null,this[_0x23b9('0x1e')]=new _0x33442f(_0x39f98b),this['_collapsedCommentsView'][_0x23b9('0x7')](_0x23b9('0x29'))['to'](this,_0x23b9('0x31'),_0x1d7e49=>_0x1d7e49-this[_0x23b9('0x2c')][_0x23b9('0xe')]);for(const _0x4f177d of _0x4b0df9['comments'])this[_0x23b9('0x14')](_0x4f177d);this[_0x23b9('0xf')](),this[_0x23b9('0x3')](_0x4b0df9[_0x23b9('0x22')],_0x23b9('0x13'),(_0x536fab,_0x4e0307)=>{const _0x4138f6=this[_0x23b9('0x38')](_0x4e0307);this['length']++,this[_0x23b9('0x14')](_0x4e0307,_0x4138f6),this[_0x23b9('0x2a')]();}),this[_0x23b9('0x3')](_0x4b0df9['comments'],_0x23b9('0x15'),(_0x1a21df,_0x271a40)=>{this[_0x23b9('0x31')]--,this[_0x23b9('0x2e')](_0x271a40),this[_0x23b9('0x2a')]();}),this[_0x23b9('0x3')](_0x4b0df9,_0x23b9('0x19'),()=>this['refreshVisibleViews']()),this[_0x23b9('0x3')](_0x4b0df9,'change:isResolved',()=>this[_0x23b9('0xf')]()),this['on']('change:isActive',()=>this[_0x23b9('0x2a')]()),this['on']('change:hasDirtyComment',()=>this[_0x23b9('0x2a')]()),this[_0x23b9('0x39')]({'tag':'ul','attributes':{'class':[_0x23b9('0x3a')]},'children':this[_0x23b9('0xc')]});}get[_0x23b9('0x1c')](){return this[_0x23b9('0x27')][_0x23b9('0x1d')]>this[_0x23b9('0x2c')][_0x23b9('0x4')]&&!this[_0x23b9('0x11')]&&!this[_0x23b9('0x6')];}[_0x23b9('0xb')](){super[_0x23b9('0xb')](),this[_0x23b9('0x2a')]();}[_0x23b9('0x36')](){this['element'][_0x23b9('0x36')]();}[_0x23b9('0x1a')](){this['_collapsedCommentsView'][_0x23b9('0x1a')]();for(const _0x5d5424 of this[_0x23b9('0x1b')])_0x5d5424[_0x23b9('0x1a')]();super['destroy']();}[_0x23b9('0x2a')](){this[_0x23b9('0x1c')]?this['_rearrangeCollapse']():this[_0x23b9('0x9')]();}[_0x23b9('0x14')](_0x30e6d2,_0x5ba5af){const _0x3ebb49=new this[(_0x23b9('0x2c'))]['CommentView'](this[_0x23b9('0x20')],_0x30e6d2,{'maxCommentCharsWhenCollapsed':this[_0x23b9('0x2c')][_0x23b9('0x8')],'formatDateTime':this[_0x23b9('0x2c')][_0x23b9('0xd')],'editorConfig':this[_0x23b9('0x2c')][_0x23b9('0x26')]});_0x3ebb49[_0x23b9('0x37')]=_0x30e6d2['id'],_0x3ebb49[_0x23b9('0x30')]('removeComment')['to'](this),_0x3ebb49[_0x23b9('0x30')](_0x23b9('0x1f'))['to'](this),_0x3ebb49[_0x23b9('0x30')](_0x23b9('0x18'))['to'](this),_0x3ebb49[_0x23b9('0x30')](_0x23b9('0x21'))['to'](this),_0x3ebb49[_0x23b9('0x30')](_0x23b9('0x25'))['to'](this),this[_0x23b9('0x3')](_0x3ebb49,'change:isEditMode',()=>this[_0x23b9('0x32')]()),this[_0x23b9('0x1b')]['add'](_0x3ebb49,_0x5ba5af);}[_0x23b9('0x38')](_0x19834d){const _0x320f7a=this[_0x23b9('0x27')][_0x23b9('0x16')](_0x19834d);return this['resolvedCommentView']?this[_0x23b9('0x2')][_0x23b9('0x2b')]>_0x19834d['authoredAt']?_0x320f7a-0x1:_0x320f7a:_0x320f7a-0x1;}[_0x23b9('0xf')](){if(this[_0x23b9('0x27')][_0x23b9('0x35')]&&this[_0x23b9('0x27')][_0x23b9('0xa')]){const _0x34ebfb={'id':_0x23b9('0x17'),'author':this['_model'][_0x23b9('0x35')],'authoredAt':this[_0x23b9('0x27')][_0x23b9('0xa')],'content':_0x5a64f9(this[_0x23b9('0x20')],_0x23b9('0x2f')),'attributes':{}};this[_0x23b9('0x2')]=new this[(_0x23b9('0x2c'))]['CommentView'](this[_0x23b9('0x20')],_0x34ebfb,{'maxCommentCharsWhenCollapsed':this[_0x23b9('0x2c')][_0x23b9('0x8')],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this[_0x23b9('0x2c')]['editorConfig'],'isSystemComment':!0x0}),this[_0x23b9('0x1b')][_0x23b9('0x13')](this['resolvedCommentView'],this[_0x23b9('0x27')][_0x23b9('0x16')](_0x34ebfb));}else this[_0x23b9('0x2')]&&(this[_0x23b9('0x1b')][_0x23b9('0x15')](this[_0x23b9('0x2')]),this['resolvedCommentView']['destroy'](),this[_0x23b9('0x2')]=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0xb7a255){const _0x29d4fa=this[_0x23b9('0x1b')][_0x23b9('0x15')](_0xb7a255['id']);this[_0x23b9('0x10')](_0x29d4fa),_0x29d4fa[_0x23b9('0x1')]&&this[_0x23b9('0x32')](),_0x29d4fa[_0x23b9('0x1a')]();}[_0x23b9('0x32')](){this[_0x23b9('0x6')]=Array['from'](this[_0x23b9('0x1b')])[_0x23b9('0x33')](_0x325724=>_0x325724[_0x23b9('0x1')]);}[_0x23b9('0x5')](){const _0x225117=function(_0x438ed1){const _0x89be8d=new _0x4ddaa7();for(const _0x54bab4 of _0x438ed1)_0x89be8d[_0x23b9('0x13')](_0x54bab4);return _0x89be8d;}(this[_0x23b9('0x1b')]),_0x35ba89=this['_collapsedCommentsView'][_0x23b9('0x29')];for(let _0x196e35=0x1;_0x196e35<=_0x35ba89;_0x196e35++)_0x225117[_0x23b9('0x15')](0x1);for(const _0x22a753 of _0x225117)_0x22a753['collapse']();_0x35ba89>0x0&&_0x225117['add'](this[_0x23b9('0x1e')],0x1),is(_0x51988a(Array[_0x23b9('0x23')](this[_0x23b9('0xc')]),Array[_0x23b9('0x23')](_0x225117)),this['visibleViews'],_0x225117);}[_0x23b9('0x9')](){is(_0x51988a(Array[_0x23b9('0x23')](this[_0x23b9('0xc')]),Array[_0x23b9('0x23')](this[_0x23b9('0x1b')])),this[_0x23b9('0xc')],this['commentViews']);for(const _0x17ede8 of this['visibleViews'])_0x17ede8[_0x23b9('0x2d')]();}}function is(_0x426fd9,_0x43da20,_0x5ecee9){let _0x4a5b1d=0x0;for(const _0x2c89f4 of _0x426fd9)switch(_0x2c89f4){case'insert':_0x43da20['add'](_0x5ecee9[_0x23b9('0x0')](_0x4a5b1d),_0x4a5b1d),_0x4a5b1d++;break;case _0x23b9('0x28'):_0x43da20[_0x23b9('0x15')](_0x4a5b1d);break;case _0x23b9('0x24'):_0x4a5b1d++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ad6=['remove','Reopen','offsetWidth','Comment\x20was\x20made\x20on\x20an\x20element','isReadOnly','length','element','isResolved','hasContext','value','ck-context','listenTo','ck-context-wrapper','div','mouseenter','contextValue','bind','ck-context--quotes','execute','add','ck-annotation__actions','.ck-context','scrollWidth','_attachContextActions','isResolvable','reopenButtonView','...','.ck-context__value','ck-thread__header','ck-context__value','context','substring','overlay','setTemplate','bindTemplate','_createReopenButton','render','querySelector','_model','locale','span','classList','_trimContextValue','fire','mouseleave','reopenCommentThread'];(function(_0x4e40f3,_0x4ad6db){const _0x2a2d07=function(_0x55f69c){while(--_0x55f69c){_0x4e40f3['push'](_0x4e40f3['shift']());}};_0x2a2d07(++_0x4ad6db);}(_0x4ad6,0x1ad));const _0x2a2d=function(_0x4e40f3,_0x4ad6db){_0x4e40f3=_0x4e40f3-0x0;let _0x2a2d07=_0x4ad6[_0x4e40f3];return _0x2a2d07;};import{View as _0x2d7958,ButtonView as _0x2155e3}from'ckeditor5/src/ui.js';import{getTranslation as _0x6096a}from'../../../utils/common-translations.js';import _0x518f79 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x2d7958{constructor(_0x3ba930,_0x388217){super(_0x3ba930);const _0x55a5d4=this[_0x2a2d('0x13')];this['_model']=_0x388217,this[_0x2a2d('0xa')]=this[_0x2a2d('0x14')](),this['bind'](_0x2a2d('0x27'))['to'](this['_model'],'context',_0x169cd0=>!!_0x169cd0),this[_0x2a2d('0x1')]('contextValue')['to'](this[_0x2a2d('0x17')],_0x2a2d('0xf'),_0xc1b3d5=>_0xc1b3d5&&_0xc1b3d5[_0x2a2d('0x28')]?this[_0x2a2d('0x1b')](_0xc1b3d5[_0x2a2d('0x28')]):_0x6096a(this[_0x2a2d('0x18')],_0x2a2d('0x22'))),this[_0x2a2d('0x12')]({'tag':'div','attributes':{'class':[_0x2a2d('0xd')]},'children':[{'tag':_0x2a2d('0x2c'),'attributes':{'class':[_0x2a2d('0x2b')]},'children':[{'tag':_0x2a2d('0x2c'),'attributes':{'class':[_0x2a2d('0x29'),_0x55a5d4['if'](_0x2a2d('0x27'),_0x2a2d('0x2'))]},'children':[{'tag':_0x2a2d('0x19'),'attributes':{'class':[_0x2a2d('0xe')]},'children':[{'text':_0x55a5d4['to'](_0x2a2d('0x0'))}]}]}]},{'tag':_0x2a2d('0x2c'),'attributes':{'class':[_0x2a2d('0x5')]},'children':[this[_0x2a2d('0xa')]]}]});}[_0x2a2d('0x15')](){super['render'](),this['_attachContextActions']();}['_createReopenButton'](){const _0x2128fa=new _0x2155e3(this[_0x2a2d('0x18')]);return _0x2128fa['label']=_0x6096a(this[_0x2a2d('0x18')],'Reopen'),_0x2128fa['tooltip']=_0x6096a(this[_0x2a2d('0x18')],_0x2a2d('0x20')),_0x2128fa['icon']=_0x518f79,_0x2128fa[_0x2a2d('0x1')]('isEnabled')['to'](this[_0x2a2d('0x17')],_0x2a2d('0x23'),_0x33847f=>!_0x33847f),_0x2128fa[_0x2a2d('0x1')]('isVisible')['to'](this[_0x2a2d('0x17')],_0x2a2d('0x9'),this[_0x2a2d('0x17')],_0x2a2d('0x26'),(_0x2b75c5,_0x3eed6a)=>_0x2b75c5&&_0x3eed6a),_0x2128fa['on'](_0x2a2d('0x3'),()=>{this[_0x2a2d('0x1c')](_0x2a2d('0x1e'),this['_model']['id']);}),_0x2128fa;}['_trimContextValue'](_0x224fd7){if(_0x224fd7[_0x2a2d('0x24')]<0x96)return _0x224fd7;const _0x329b27=_0x224fd7['lastIndexOf']('\x20',0x93);return _0x224fd7[_0x2a2d('0x10')](0x0,_0x329b27>-0x1?_0x329b27:0x93)+_0x2a2d('0xb');}[_0x2a2d('0x8')](){const _0x1325d1=this[_0x2a2d('0x25')][_0x2a2d('0x16')](_0x2a2d('0x6')),_0x1feb42=_0x1325d1[_0x2a2d('0x16')](_0x2a2d('0xc'));this[_0x2a2d('0x2a')](_0x1325d1,_0x2a2d('0x2d'),()=>{_0x1feb42[_0x2a2d('0x21')]<_0x1feb42[_0x2a2d('0x7')]&&_0x1325d1[_0x2a2d('0x1a')][_0x2a2d('0x4')]('overlay');}),this['listenTo'](_0x1325d1,_0x2a2d('0x1d'),()=>{_0x1325d1['classList'][_0x2a2d('0x1f')](_0x2a2d('0x11'));});}}
23
+ const _0x3287=['ck-annotation__actions','ck-context__value','isEnabled','fire','setTemplate','_model','tooltip','div','ck-thread__header','bind','context','contextValue','ck-context-wrapper','value','mouseenter','_createReopenButton','length','Reopen','isResolvable','offsetWidth','overlay','scrollWidth','_trimContextValue','locale','querySelector','lastIndexOf','substring','classList','reopenButtonView','icon','ck-context','reopenCommentThread','isResolved','element','_attachContextActions','isVisible','listenTo','Comment\x20was\x20made\x20on\x20an\x20element','bindTemplate','render'];(function(_0x12004e,_0x32874a){const _0xa53a91=function(_0x34080e){while(--_0x34080e){_0x12004e['push'](_0x12004e['shift']());}};_0xa53a91(++_0x32874a);}(_0x3287,0xaf));const _0xa53a=function(_0x12004e,_0x32874a){_0x12004e=_0x12004e-0x0;let _0xa53a91=_0x3287[_0x12004e];return _0xa53a91;};import{View as _0x34e14a,ButtonView as _0x56da79}from'ckeditor5/src/ui.js';import{getTranslation as _0x514f39}from'../../../utils/common-translations.js';import _0x43ae4a from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x34e14a{constructor(_0x493be3,_0x4f60a9){super(_0x493be3);const _0x427dbb=this[_0xa53a('0x17')];this[_0xa53a('0x1e')]=_0x4f60a9,this[_0xa53a('0xd')]=this[_0xa53a('0x0')](),this[_0xa53a('0x22')]('hasContext')['to'](this['_model'],_0xa53a('0x23'),_0x3603cd=>!!_0x3603cd),this[_0xa53a('0x22')](_0xa53a('0x24'))['to'](this[_0xa53a('0x1e')],_0xa53a('0x23'),_0x13d55a=>_0x13d55a&&_0x13d55a[_0xa53a('0x26')]?this[_0xa53a('0x7')](_0x13d55a[_0xa53a('0x26')]):_0x514f39(this[_0xa53a('0x8')],_0xa53a('0x16'))),this[_0xa53a('0x1d')]({'tag':_0xa53a('0x20'),'attributes':{'class':[_0xa53a('0x21')]},'children':[{'tag':_0xa53a('0x20'),'attributes':{'class':[_0xa53a('0x25')]},'children':[{'tag':'div','attributes':{'class':[_0xa53a('0xf'),_0x427dbb['if']('hasContext','ck-context--quotes')]},'children':[{'tag':'span','attributes':{'class':[_0xa53a('0x1a')]},'children':[{'text':_0x427dbb['to'](_0xa53a('0x24'))}]}]}]},{'tag':'div','attributes':{'class':[_0xa53a('0x19')]},'children':[this[_0xa53a('0xd')]]}]});}[_0xa53a('0x18')](){super[_0xa53a('0x18')](),this['_attachContextActions']();}[_0xa53a('0x0')](){const _0x1cf547=new _0x56da79(this[_0xa53a('0x8')]);return _0x1cf547['label']=_0x514f39(this[_0xa53a('0x8')],_0xa53a('0x2')),_0x1cf547[_0xa53a('0x1f')]=_0x514f39(this[_0xa53a('0x8')],_0xa53a('0x2')),_0x1cf547[_0xa53a('0xe')]=_0x43ae4a,_0x1cf547['bind'](_0xa53a('0x1b'))['to'](this[_0xa53a('0x1e')],'isReadOnly',_0x358993=>!_0x358993),_0x1cf547['bind'](_0xa53a('0x14'))['to'](this[_0xa53a('0x1e')],_0xa53a('0x3'),this['_model'],_0xa53a('0x11'),(_0x51e0f1,_0x54ae48)=>_0x51e0f1&&_0x54ae48),_0x1cf547['on']('execute',()=>{this[_0xa53a('0x1c')](_0xa53a('0x10'),this['_model']['id']);}),_0x1cf547;}[_0xa53a('0x7')](_0x28f317){if(_0x28f317[_0xa53a('0x1')]<0x96)return _0x28f317;const _0x318f0e=_0x28f317[_0xa53a('0xa')]('\x20',0x93);return _0x28f317[_0xa53a('0xb')](0x0,_0x318f0e>-0x1?_0x318f0e:0x93)+'...';}[_0xa53a('0x13')](){const _0x1910e8=this[_0xa53a('0x12')][_0xa53a('0x9')]('.ck-context'),_0x48bcae=_0x1910e8[_0xa53a('0x9')]('.ck-context__value');this['listenTo'](_0x1910e8,_0xa53a('0x27'),()=>{_0x48bcae[_0xa53a('0x4')]<_0x48bcae[_0xa53a('0x6')]&&_0x1910e8[_0xa53a('0xc')]['add']('overlay');}),this[_0xa53a('0x15')](_0x1910e8,'mouseleave',()=>{_0x1910e8[_0xa53a('0xc')]['remove'](_0xa53a('0x5'));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3977=['setTemplate','delegate','ck-comment__input-container','div','editor','userView','bind','ck-thread__input','value','commentInputView','bindTemplate','editorReady','ck-thread__user','showInput','destroy','createEditor','extendTemplate','isFocused','then','change:showInput','editorDestroyed','set','showButtons'];(function(_0x592100,_0x39774d){var _0x2d3892=function(_0x4784b6){while(--_0x4784b6){_0x592100['push'](_0x592100['shift']());}};_0x2d3892(++_0x39774d);}(_0x3977,0x1da));var _0x2d38=function(_0x592100,_0x39774d){_0x592100=_0x592100-0x0;var _0x2d3892=_0x3977[_0x592100];return _0x2d3892;};import{View as _0x287fa0}from'ckeditor5/src/ui.js';import _0x3a98b8 from'./commentinputview.js';import{UserView as _0x23d860}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Ct extends _0x287fa0{constructor(_0x409df9,_0x4cf061,_0x22bbac){super(_0x409df9),this[_0x2d38('0x12')]=new _0x3a98b8(_0x409df9,_0x22bbac),this[_0x2d38('0x12')][_0x2d38('0xf')](_0x2d38('0x8'))['to'](this[_0x2d38('0x12')]['focusTracker'],_0x2d38('0x3'),this[_0x2d38('0x12')],_0x2d38('0x11'),(_0x4f2d16,_0x13e66e)=>_0x4f2d16||!!_0x13e66e),this[_0x2d38('0x7')](_0x2d38('0x16'),!0x1),this['on'](_0x2d38('0x5'),()=>{this['showInput']&&!this['commentInputView'][_0x2d38('0xd')]&&this[_0x2d38('0x12')][_0x2d38('0x1')]();}),this[_0x2d38('0x12')][_0x2d38('0xa')](_0x2d38('0x14'))['to'](this),this[_0x2d38('0x12')]['delegate'](_0x2d38('0x6'))['to'](this),this[_0x2d38('0xe')]=new _0x23d860(_0x409df9,_0x4cf061),this[_0x2d38('0xe')]['extendTemplate']({'attributes':{'class':_0x2d38('0x15')}}),this[_0x2d38('0x12')][_0x2d38('0x2')]({'attributes':{'class':_0x2d38('0x10')}}),this[_0x2d38('0x9')]({'tag':_0x2d38('0xc'),'attributes':{'class':[_0x2d38('0xb'),this[_0x2d38('0x13')]['if'](_0x2d38('0x16'),'ck-comment__input-container--active')]},'children':[this[_0x2d38('0xe')],this[_0x2d38('0x12')]]});}[_0x2d38('0x0')](){return this['commentInputView'][_0x2d38('0x0')]()[_0x2d38('0x4')](()=>super[_0x2d38('0x0')]());}}
23
+ var _0x12c5=['setTemplate','value','div','destroy','ck-comment__input-container--active','focusTracker','editorDestroyed','ck-thread__input','editor','editorReady','commentInputView','extendTemplate','delegate','set','showInput','userView'];(function(_0x33e90c,_0x12c5da){var _0x2b53d7=function(_0x5df998){while(--_0x5df998){_0x33e90c['push'](_0x33e90c['shift']());}};_0x2b53d7(++_0x12c5da);}(_0x12c5,0x13e));var _0x2b53=function(_0x33e90c,_0x12c5da){_0x33e90c=_0x33e90c-0x0;var _0x2b53d7=_0x12c5[_0x33e90c];return _0x2b53d7;};import{View as _0x398849}from'ckeditor5/src/ui.js';import _0x44928a from'./commentinputview.js';import{UserView as _0xf9228}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Ct extends _0x398849{constructor(_0x1bbade,_0x2460e1,_0x232c33){super(_0x1bbade),this[_0x2b53('0xc')]=new _0x44928a(_0x1bbade,_0x232c33),this[_0x2b53('0xc')]['bind']('showButtons')['to'](this[_0x2b53('0xc')][_0x2b53('0x7')],'isFocused',this[_0x2b53('0xc')],_0x2b53('0x3'),(_0x51b252,_0x1acb48)=>_0x51b252||!!_0x1acb48),this[_0x2b53('0xf')]('showInput',!0x1),this['on']('change:showInput',()=>{this['showInput']&&!this[_0x2b53('0xc')][_0x2b53('0xa')]&&this[_0x2b53('0xc')]['createEditor']();}),this[_0x2b53('0xc')]['delegate'](_0x2b53('0xb'))['to'](this),this[_0x2b53('0xc')][_0x2b53('0xe')](_0x2b53('0x8'))['to'](this),this[_0x2b53('0x1')]=new _0xf9228(_0x1bbade,_0x2460e1),this[_0x2b53('0x1')][_0x2b53('0xd')]({'attributes':{'class':'ck-thread__user'}}),this[_0x2b53('0xc')][_0x2b53('0xd')]({'attributes':{'class':_0x2b53('0x9')}}),this[_0x2b53('0x2')]({'tag':_0x2b53('0x4'),'attributes':{'class':['ck-comment__input-container',this['bindTemplate']['if'](_0x2b53('0x0'),_0x2b53('0x6'))]},'children':[this['userView'],this[_0x2b53('0xc')]]});}[_0x2b53('0x5')](){return this['commentInputView'][_0x2b53('0x5')]()['then'](()=>super[_0x2b53('0x5')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a74=['_bindFirstCommentView','Write\x20a\x20comment...','isSystemComment','locale','actionBar','commentViews','createCollection','actionIndicator','has','_boundFirstCommentView','isVisible','div','remove','add','commentThreadHeaderView','isUnlinked','resolveCommentThread','render','isReadOnly','icon','ck-thread','addMany','isResolved','ck-thread--','showConfirm','getTemplate','listenTo','commentThreadChildren','querySelector','label','change:isActive','fire','.ck-thread__container','isConfirm','containerElement','ck-comment--resolve','Delete\x20comment\x20thread?','unbind','extendTemplate','isActive','ck-thread__container','length','resolveButton','ck-thread--unlinked','cancelConfirm','get','bind','execute','ck-thread--remove-confirmation','isResolvable','_cancelAllConfirms','removeCommentThread','Resolve','_model','high','isEnabled','bindTemplate','commentsListView','stop','placeholder','then'];(function(_0xac4296,_0x4a7422){const _0x48d8bd=function(_0x5c5725){while(--_0x5c5725){_0xac4296['push'](_0xac4296['shift']());}};_0x48d8bd(++_0x4a7422);}(_0x4a74,0x91));const _0x48d8=function(_0xac4296,_0x4a7422){_0xac4296=_0xac4296-0x0;let _0x48d8bd=_0x4a74[_0xac4296];return _0x48d8bd;};import{ConfirmMixin as _0x331d91}from'ckeditor5-collaboration/src/collaboration-core.js';import{ButtonView as _0x3f4e09}from'ckeditor5/src/ui.js';import{icons as _0x1a9151}from'ckeditor5/src/core.js';import _0x5a1ce1 from'./basecommentthreadview.js';import{getTranslation as _0x3999d7}from'../../../utils/common-translations.js';export default class ft extends _0x331d91(_0x5a1ce1){constructor(_0x90360b,_0x25ed47,_0x1a202b,_0x30a5d2){super(_0x90360b,_0x25ed47,_0x1a202b,_0x30a5d2),this[_0x48d8('0x4')]=this[_0x48d8('0x2c')](),this[_0x48d8('0x4')][_0x48d8('0x3b')]([this['commentsListView'],this['commentThreadInputView']]),this[_0x48d8('0x1e')]['archivedAt']&&this['commentThreadChildren'][_0x48d8('0x33')](this[_0x48d8('0x34')],0x0),this[_0x48d8('0x1e')]['on']('change:archivedAt',(_0x5a1c76,_0x1eeebf,_0x575e62)=>{_0x575e62?this[_0x48d8('0x4')][_0x48d8('0x2e')](this['commentThreadHeaderView'])||this[_0x48d8('0x4')]['add'](this[_0x48d8('0x34')],0x0):this[_0x48d8('0x4')][_0x48d8('0x32')](this['commentThreadHeaderView']);}),this['set'](_0x48d8('0x2d'),null),this['containerElement']=null,this[_0x48d8('0x2f')]=null,this[_0x48d8('0x29')]=_0x90360b,this[_0x48d8('0x13')]=this['_createResolveButton'](),this['setTemplate'](this[_0x48d8('0x2')]()),this['on'](_0x48d8('0x7'),(_0x2254ba,_0x151454,_0x5ab6e9)=>{_0x5ab6e9||this[_0x48d8('0x1b')]();}),this[_0x48d8('0x3')](this[_0x48d8('0x1e')],'change:isReadOnly',(_0x4a582e,_0x1ca875,_0x58c629)=>{_0x58c629&&this[_0x48d8('0x1b')]();}),this[_0x48d8('0x12')]>0x0&&this[_0x48d8('0x26')](),this[_0x48d8('0x3')](this[_0x48d8('0x22')][_0x48d8('0x2b')],_0x48d8('0x33'),()=>{this[_0x48d8('0x26')]();});}['getTemplate'](){const _0x1d60fe=this[_0x48d8('0x21')];return{'tag':_0x48d8('0x31'),'attributes':{'class':[_0x48d8('0x3a'),'ck-reset_all-excluded',_0x1d60fe['if'](_0x48d8('0x10'),'ck-thread--active'),_0x1d60fe['if'](_0x48d8('0x35'),_0x48d8('0x14')),_0x1d60fe['if'](_0x48d8('0xa'),_0x48d8('0x19')),_0x1d60fe['to'](_0x48d8('0x2d'),_0x11f864=>_0x11f864?_0x48d8('0x0')+_0x11f864:'')],'data-thread-id':this['_model']['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':_0x48d8('0x11')},'children':this[_0x48d8('0x4')]}]};}[_0x48d8('0x37')](){super[_0x48d8('0x37')](),this[_0x48d8('0xb')]=this['element'][_0x48d8('0x5')](_0x48d8('0x9'));}[_0x48d8('0x1b')](){this[_0x48d8('0x15')]();for(const _0x3fa9e8 of this['commentsListView'][_0x48d8('0x2b')])_0x3fa9e8[_0x48d8('0x15')]();}[_0x48d8('0x26')](){const {locale:_0x49eabb}=this,_0x2f62a7=this[_0x48d8('0x22')]['commentViews'][_0x48d8('0x16')](0x0);_0x2f62a7===this[_0x48d8('0x2f')]||_0x2f62a7[_0x48d8('0x28')]||(this[_0x48d8('0x2f')]=_0x2f62a7,this[_0x48d8('0xe')](_0x48d8('0x2d')),this[_0x48d8('0x17')]('actionIndicator')['to'](_0x2f62a7,_0x48d8('0x2d'),_0x27cf01=>_0x48d8('0x32')===_0x27cf01?_0x48d8('0x32'):null),_0x2f62a7[_0x48d8('0x24')]=_0x3999d7(_0x49eabb,_0x48d8('0x27')),_0x2f62a7['removeButton']['on'](_0x48d8('0x18'),_0x2698ee=>{_0x2698ee[_0x48d8('0x23')](),this[_0x48d8('0x1')](_0x3999d7(_0x49eabb,_0x48d8('0xd')),this['containerElement'])[_0x48d8('0x25')](()=>{this[_0x48d8('0x8')](_0x48d8('0x1c'));});},{'priority':_0x48d8('0x1f')}),_0x2f62a7[_0x48d8('0x2a')][_0x48d8('0x33')](this[_0x48d8('0x13')],0x0));}['_createResolveButton'](){const _0x5af07=new _0x3f4e09(this['locale']);return _0x5af07[_0x48d8('0x6')]=_0x3999d7(this['locale'],_0x48d8('0x1d')),_0x5af07['tooltip']=_0x3999d7(this[_0x48d8('0x29')],_0x48d8('0x1d')),_0x5af07[_0x48d8('0x39')]=_0x1a9151['check'],_0x5af07[_0x48d8('0xf')]({'attributes':{'class':_0x48d8('0xc')}}),_0x5af07[_0x48d8('0x17')](_0x48d8('0x20'))['to'](this[_0x48d8('0x1e')],_0x48d8('0x38'),_0x28292b=>!_0x28292b),_0x5af07[_0x48d8('0x17')](_0x48d8('0x30'))['to'](this[_0x48d8('0x1e')],_0x48d8('0x1a'),this[_0x48d8('0x1e')],_0x48d8('0x3c'),(_0x217cfc,_0x3375b6)=>_0x217cfc&&!_0x3375b6),_0x5af07['on'](_0x48d8('0x18'),()=>{this[_0x48d8('0x8')](_0x48d8('0x36'),this['_model']['id']);}),_0x5af07;}}
23
+ const _0xc43e=['element','has','_cancelAllConfirms','createCollection','resolveButton','get','stop','commentThreadInputView','add','isActive','high','div','isSystemComment','execute','addMany','change:isReadOnly','commentThreadHeaderView','remove','ck-thread--remove-confirmation','ck-comment--resolve','containerElement','set','isEnabled','isResolvable','render','bindTemplate','getTemplate','isResolved','ck-thread--','listenTo','Write\x20a\x20comment...','_createResolveButton','actionIndicator','fire','setTemplate','ck-thread__container','Delete\x20comment\x20thread?','removeButton','showConfirm','cancelConfirm','_bindFirstCommentView','querySelector','ck-thread','then','_model','label','actionBar','removeCommentThread','_boundFirstCommentView','check','isUnlinked','change:isActive','commentsListView','locale','commentThreadChildren','length','change:archivedAt','ck-thread--active','ck-reset_all-excluded','tooltip','bind','commentViews','ck-thread--unlinked','.ck-thread__container','unbind','extendTemplate'];(function(_0x43a817,_0xc43e7b){const _0x4a648a=function(_0x112935){while(--_0x112935){_0x43a817['push'](_0x43a817['shift']());}};_0x4a648a(++_0xc43e7b);}(_0xc43e,0x180));const _0x4a64=function(_0x43a817,_0xc43e7b){_0x43a817=_0x43a817-0x0;let _0x4a648a=_0xc43e[_0x43a817];return _0x4a648a;};import{ConfirmMixin as _0x1db3a3}from'ckeditor5-collaboration/src/collaboration-core.js';import{ButtonView as _0x3da5b0}from'ckeditor5/src/ui.js';import{icons as _0x579ff2}from'ckeditor5/src/core.js';import _0x1dfaa6 from'./basecommentthreadview.js';import{getTranslation as _0x93f241}from'../../../utils/common-translations.js';export default class ft extends _0x1db3a3(_0x1dfaa6){constructor(_0x4809b5,_0x703683,_0x35109e,_0x5ef167){super(_0x4809b5,_0x703683,_0x35109e,_0x5ef167),this['commentThreadChildren']=this[_0x4a64('0xf')](),this[_0x4a64('0x0')][_0x4a64('0x1a')]([this[_0x4a64('0x40')],this[_0x4a64('0x13')]]),this[_0x4a64('0x38')]['archivedAt']&&this[_0x4a64('0x0')]['add'](this[_0x4a64('0x1c')],0x0),this[_0x4a64('0x38')]['on'](_0x4a64('0x2'),(_0x1afef5,_0x386365,_0x378a1d)=>{_0x378a1d?this[_0x4a64('0x0')][_0x4a64('0xd')](this[_0x4a64('0x1c')])||this[_0x4a64('0x0')][_0x4a64('0x14')](this[_0x4a64('0x1c')],0x0):this['commentThreadChildren'][_0x4a64('0x1d')](this[_0x4a64('0x1c')]);}),this[_0x4a64('0x21')]('actionIndicator',null),this[_0x4a64('0x20')]=null,this[_0x4a64('0x3c')]=null,this[_0x4a64('0x41')]=_0x4809b5,this[_0x4a64('0x10')]=this[_0x4a64('0x2b')](),this[_0x4a64('0x2e')](this['getTemplate']()),this['on'](_0x4a64('0x3f'),(_0x3eb12c,_0x4d10bf,_0x3007e8)=>{_0x3007e8||this[_0x4a64('0xe')]();}),this[_0x4a64('0x29')](this[_0x4a64('0x38')],_0x4a64('0x1b'),(_0x307d98,_0x291f1a,_0x50619d)=>{_0x50619d&&this[_0x4a64('0xe')]();}),this[_0x4a64('0x1')]>0x0&&this[_0x4a64('0x34')](),this[_0x4a64('0x29')](this[_0x4a64('0x40')][_0x4a64('0x7')],_0x4a64('0x14'),()=>{this[_0x4a64('0x34')]();});}[_0x4a64('0x26')](){const _0x19b115=this[_0x4a64('0x25')];return{'tag':_0x4a64('0x17'),'attributes':{'class':[_0x4a64('0x36'),_0x4a64('0x4'),_0x19b115['if'](_0x4a64('0x15'),_0x4a64('0x3')),_0x19b115['if'](_0x4a64('0x3e'),_0x4a64('0x8')),_0x19b115['if']('isConfirm',_0x4a64('0x1e')),_0x19b115['to'](_0x4a64('0x2c'),_0x25e5d1=>_0x25e5d1?_0x4a64('0x28')+_0x25e5d1:'')],'data-thread-id':this[_0x4a64('0x38')]['id'],'tabindex':-0x1},'children':[{'tag':_0x4a64('0x17'),'attributes':{'class':_0x4a64('0x2f')},'children':this[_0x4a64('0x0')]}]};}[_0x4a64('0x24')](){super[_0x4a64('0x24')](),this['containerElement']=this[_0x4a64('0xc')][_0x4a64('0x35')](_0x4a64('0x9'));}['_cancelAllConfirms'](){this[_0x4a64('0x33')]();for(const _0x27a5b0 of this['commentsListView'][_0x4a64('0x7')])_0x27a5b0[_0x4a64('0x33')]();}[_0x4a64('0x34')](){const {locale:_0x40a0ce}=this,_0x1e3a77=this[_0x4a64('0x40')][_0x4a64('0x7')][_0x4a64('0x11')](0x0);_0x1e3a77===this['_boundFirstCommentView']||_0x1e3a77[_0x4a64('0x18')]||(this[_0x4a64('0x3c')]=_0x1e3a77,this[_0x4a64('0xa')](_0x4a64('0x2c')),this[_0x4a64('0x6')]('actionIndicator')['to'](_0x1e3a77,_0x4a64('0x2c'),_0x116160=>_0x4a64('0x1d')===_0x116160?'remove':null),_0x1e3a77['placeholder']=_0x93f241(_0x40a0ce,_0x4a64('0x2a')),_0x1e3a77[_0x4a64('0x31')]['on']('execute',_0x518726=>{_0x518726[_0x4a64('0x12')](),this[_0x4a64('0x32')](_0x93f241(_0x40a0ce,_0x4a64('0x30')),this[_0x4a64('0x20')])[_0x4a64('0x37')](()=>{this[_0x4a64('0x2d')](_0x4a64('0x3b'));});},{'priority':_0x4a64('0x16')}),_0x1e3a77[_0x4a64('0x3a')][_0x4a64('0x14')](this['resolveButton'],0x0));}[_0x4a64('0x2b')](){const _0x2e794b=new _0x3da5b0(this[_0x4a64('0x41')]);return _0x2e794b[_0x4a64('0x39')]=_0x93f241(this[_0x4a64('0x41')],'Resolve'),_0x2e794b[_0x4a64('0x5')]=_0x93f241(this[_0x4a64('0x41')],'Resolve'),_0x2e794b['icon']=_0x579ff2[_0x4a64('0x3d')],_0x2e794b[_0x4a64('0xb')]({'attributes':{'class':_0x4a64('0x1f')}}),_0x2e794b[_0x4a64('0x6')](_0x4a64('0x22'))['to'](this['_model'],'isReadOnly',_0x34fc09=>!_0x34fc09),_0x2e794b[_0x4a64('0x6')]('isVisible')['to'](this['_model'],_0x4a64('0x23'),this[_0x4a64('0x38')],_0x4a64('0x27'),(_0x4ad539,_0xb7bc6c)=>_0x4ad539&&!_0xb7bc6c),_0x2e794b['on'](_0x4a64('0x19'),()=>{this[_0x4a64('0x2d')]('resolveCommentThread',this[_0x4a64('0x38')]['id']);}),_0x2e794b;}}