@ckeditor/ckeditor5-comments 0.0.0-nightly-20231219.0 → 0.0.0-nightly-20231220.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/build/comments.js +1 -1
  2. package/package.json +3 -3
  3. package/src/annotations/annotation.js +1 -1
  4. package/src/annotations/annotationcollection.js +1 -1
  5. package/src/annotations/annotations.js +1 -1
  6. package/src/annotations/annotationsuis.js +1 -1
  7. package/src/annotations/editorannotations.js +1 -1
  8. package/src/annotations/inlineannotations.js +1 -1
  9. package/src/annotations/narrowsidebar.js +1 -1
  10. package/src/annotations/sidebar.js +1 -1
  11. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  12. package/src/annotations/view/annotationview.js +1 -1
  13. package/src/annotations/view/sidebaritemview.js +1 -1
  14. package/src/annotations/view/sidebarview.js +1 -1
  15. package/src/annotations/widesidebar.js +1 -1
  16. package/src/comments/addcommentthreadcommand.js +1 -1
  17. package/src/comments/commentsarchive.js +1 -1
  18. package/src/comments/commentsarchiveui.js +1 -1
  19. package/src/comments/commentsediting.js +1 -1
  20. package/src/comments/commentsrepository.js +1 -1
  21. package/src/comments/commentsui.js +1 -1
  22. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  23. package/src/comments/integrations/importword.js +1 -1
  24. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  25. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  26. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  27. package/src/comments/ui/commentthreadcontroller.js +1 -1
  28. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  29. package/src/comments/ui/view/basecommentview.js +1 -1
  30. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  31. package/src/comments/ui/view/commentcontentview.js +1 -1
  32. package/src/comments/ui/view/commentinputview.js +1 -1
  33. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  34. package/src/comments/ui/view/commentslistview.js +1 -1
  35. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  36. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  37. package/src/comments/ui/view/commentthreadview.js +1 -1
  38. package/src/comments/ui/view/commentview.js +1 -1
  39. package/src/comments.js +1 -1
  40. package/src/commentsonly.js +1 -1
  41. package/src/utils/common-translations.js +1 -1
  42. package/src/utils/createmutationobserver.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53fd=['importWord.formatting.comments','plugins','editor','map','importWord','basic','collaboration.channelId','commands','define','dataInsert','afterInit','_handleImportedData','forEach','get','high'];(function(_0x2862e3,_0x53fdae){const _0x245816=function(_0x497f89){while(--_0x497f89){_0x2862e3['push'](_0x2862e3['shift']());}};_0x245816(++_0x53fdae);}(_0x53fd,0x10d));const _0x2458=function(_0x2862e3,_0x53fdae){_0x2862e3=_0x2862e3-0x0;let _0x245816=_0x53fd[_0x2862e3];return _0x245816;};import{Plugin as _0x1d47f0}from'ckeditor5/src/core.js';import{priorities as _0x41d9c4}from'ckeditor5/src/utils.js';import{Users as _0x2d70b0}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2bb2ed from'../commentsrepository.js';export default class Z extends _0x1d47f0{constructor(_0x2ddb49){super(_0x2ddb49),this[_0x2458('0x3')]['config'][_0x2458('0x9')](_0x2458('0x1'),_0x2458('0x6'));}[_0x2458('0xb')](){const _0x34a987=this['editor'],_0x4533d9=_0x34a987[_0x2458('0x8')][_0x2458('0xe')](_0x2458('0x5')),_0x52a5c5=_0x34a987[_0x2458('0x2')][_0x2458('0xe')](_0x2d70b0);_0x4533d9&&(_0x4533d9['on']('execute',(_0x1fea02,[,_0x3d678b])=>{_0x3d678b['collaboration_features']={'comments':!0x0,'user_id':_0x52a5c5['me']['id']};},{'priority':_0x41d9c4[_0x2458('0x0')]+0xa}),this['listenTo'](_0x4533d9,_0x2458('0xa'),this[_0x2458('0xc')]));}[_0x2458('0xc')](_0x65c7c1,_0x3a27d3){const {comment_threads:_0x1c9082}=_0x3a27d3;_0x1c9082&&_0x1c9082[_0x2458('0xd')](({thread_id:_0x1f532a,comments:_0x437c98,is_resolved:_0x5dd3b7})=>{const _0x3fbcc0=new Date(),_0x566dc1=_0x437c98[_0x2458('0x4')](({author:_0x4f69fc,content:_0x588272,created_at:_0x40e401})=>({'content':_0x588272,'authorId':this[_0x2458('0x3')][_0x2458('0x2')]['get'](_0x2d70b0)['me']['id'],'createdAt':_0x3fbcc0,'attributes':{'@external':{'authorName':_0x4f69fc,'createdAt':_0x40e401?new Date(_0x40e401):new Date(),'source':_0x2458('0x5')}}})),_0x5b5cf9=this['editor']['config'][_0x2458('0xe')](_0x2458('0x7'));this[_0x2458('0x3')][_0x2458('0x2')][_0x2458('0xe')](_0x2bb2ed)['addCommentThread']({'channelId':_0x5b5cf9,'threadId':_0x1f532a,'comments':_0x566dc1,'resolvedAt':_0x5dd3b7?_0x3fbcc0:null});});}}
23
+ const _0x3574=['commands','get','_handleImportedData','basic','editor','afterInit','importWord.formatting.comments','plugins','config','collaboration_features','importWord','define','forEach'];(function(_0x4bf4b0,_0x357444){const _0x57cea6=function(_0x25e487){while(--_0x25e487){_0x4bf4b0['push'](_0x4bf4b0['shift']());}};_0x57cea6(++_0x357444);}(_0x3574,0x1a3));const _0x57ce=function(_0x4bf4b0,_0x357444){_0x4bf4b0=_0x4bf4b0-0x0;let _0x57cea6=_0x3574[_0x4bf4b0];return _0x57cea6;};import{Plugin as _0x217ae0}from'ckeditor5/src/core.js';import{priorities as _0x2d295f}from'ckeditor5/src/utils.js';import{Users as _0x5bc360}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xfee2a9 from'../commentsrepository.js';export default class Z extends _0x217ae0{constructor(_0x309aaa){super(_0x309aaa),this['editor'][_0x57ce('0x5')][_0x57ce('0x8')](_0x57ce('0x3'),_0x57ce('0x0'));}[_0x57ce('0x2')](){const _0x265b06=this['editor'],_0x29936d=_0x265b06[_0x57ce('0xa')]['get'](_0x57ce('0x7')),_0x2e8cae=_0x265b06[_0x57ce('0x4')][_0x57ce('0xb')](_0x5bc360);_0x29936d&&(_0x29936d['on']('execute',(_0x52e83e,[,_0x454871])=>{_0x454871[_0x57ce('0x6')]={'comments':!0x0,'user_id':_0x2e8cae['me']['id']};},{'priority':_0x2d295f['high']+0xa}),this['listenTo'](_0x29936d,'dataInsert',this[_0x57ce('0xc')]));}[_0x57ce('0xc')](_0x146f96,_0x5b9f20){const {comment_threads:_0x4c4bb4}=_0x5b9f20;_0x4c4bb4&&_0x4c4bb4[_0x57ce('0x9')](({thread_id:_0xe4525f,comments:_0x4c8166,is_resolved:_0x6a9000})=>{const _0x1f3b50=new Date(),_0x81df87=_0x4c8166['map'](({author:_0x563fef,content:_0x54599d,created_at:_0x3c36d6})=>({'content':_0x54599d,'authorId':this[_0x57ce('0x1')][_0x57ce('0x4')][_0x57ce('0xb')](_0x5bc360)['me']['id'],'createdAt':_0x1f3b50,'attributes':{'@external':{'authorName':_0x563fef,'createdAt':_0x3c36d6?new Date(_0x3c36d6):new Date(),'source':_0x57ce('0x7')}}})),_0x451e4b=this[_0x57ce('0x1')][_0x57ce('0x5')][_0x57ce('0xb')]('collaboration.channelId');this[_0x57ce('0x1')][_0x57ce('0x4')][_0x57ce('0xb')](_0xfee2a9)['addCommentThread']({'channelId':_0x451e4b,'threadId':_0xe4525f,'comments':_0x81df87,'resolvedAt':_0x6a9000?_0x1f3b50:null});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3379=['focus','end','init','view','plugins','childCount','assign','ready','document','model','then','editing','getRoot','setSelection','create','name','low','_updatePlaceholder','defaultPlugins','change:placeholder','change','createRoot','placeholderElement','destroy','data','get','placeholder'];(function(_0x1d4af1,_0x3379d6){const _0x115cc3=function(_0x3ffbc5){while(--_0x3ffbc5){_0x1d4af1['push'](_0x1d4af1['shift']());}};_0x115cc3(++_0x3379d6);}(_0x3379,0xdf));const _0x115c=function(_0x1d4af1,_0x3379d6){_0x1d4af1=_0x1d4af1-0x0;let _0x115cc3=_0x3379[_0x1d4af1];return _0x115cc3;};import{Editor as _0x3248f7,DataApiMixin as _0x55f583}from'ckeditor5/src/core.js';import _0x121164 from'./commenteditorui.js';import{ObservableMixin as _0x50d66f}from'ckeditor5/src/utils.js';import{enablePlaceholder as _0xb08433,disablePlaceholder as _0x82001f}from'ckeditor5/src/engine.js';import{Clipboard as _0x1fe776}from'ckeditor5/src/clipboard.js';import{Enter as _0x423c51,ShiftEnter as _0x510058}from'ckeditor5/src/enter.js';import{SelectAll as _0x20341f}from'ckeditor5/src/select-all.js';import{Typing as _0x2b7f8b}from'ckeditor5/src/typing.js';import{Undo as _0x2aa1c}from'ckeditor5/src/undo.js';import{Paragraph as _0x162a49}from'ckeditor5/src/paragraph.js';const Mt=[_0x1fe776,_0x423c51,_0x510058,_0x20341f,_0x2b7f8b,_0x2aa1c,_0x162a49];export default class Nt extends _0x50d66f(_0x55f583(_0x3248f7)){constructor(_0x1635c9={}){(_0x1635c9=Object[_0x115c('0x1a')]({},_0x1635c9))[_0x115c('0x18')]||(_0x1635c9[_0x115c('0x18')]=Nt['defaultPlugins']),super(_0x1635c9),this['ui']=new _0x121164(this),this['set']('placeholder',''),this['model']['document']['on'](_0x115c('0xd'),()=>this[_0x115c('0xa')](),{'priority':_0x115c('0x9')}),this['on'](_0x115c('0xc'),()=>this[_0x115c('0xa')]()),this[_0x115c('0x2')][_0x115c('0x1')][_0x115c('0xe')]();}[_0x115c('0x7')](){const _0x548f8b=this['config'][_0x115c('0x12')]('initialData')||'';return this['initPlugins']()['then'](()=>this['ui'][_0x115c('0x16')]())[_0x115c('0x3')](()=>this[_0x115c('0x11')][_0x115c('0x16')](_0x548f8b))['then'](()=>this['fire'](_0x115c('0x0')));}['destroy'](){return super['destroy']()['then'](()=>this['ui'][_0x115c('0x10')]());}[_0x115c('0x14')](){this[_0x115c('0x2')]['change'](_0x626a7f=>{const _0xfdcf7a=this[_0x115c('0x2')][_0x115c('0x1')]['getRoot'](),_0x530c64=_0xfdcf7a&&_0xfdcf7a['getChild'](_0xfdcf7a['childCount']-0x1);_0x626a7f[_0x115c('0x6')](_0x530c64,_0x115c('0x15')),this[_0x115c('0x4')][_0x115c('0x17')]['focus']();});}[_0x115c('0xa')](){const _0x1d833d=this[_0x115c('0x4')]['view'],_0x36a2e3=_0x1d833d[_0x115c('0x1')][_0x115c('0x5')](),_0x386dd7=_0x36a2e3['getChild'](0x0);_0x36a2e3[_0x115c('0x19')]>0x1||!_0x386dd7||'p'!=_0x386dd7[_0x115c('0x8')]?this[_0x115c('0xf')]&&this[_0x115c('0xf')][_0x115c('0x13')]&&(_0x82001f(_0x1d833d,this[_0x115c('0xf')]),this['placeholderElement']=void 0x0):(this[_0x115c('0x13')]&&(_0x386dd7['placeholder']=this[_0x115c('0x13')]),_0xb08433({'view':_0x1d833d,'element':_0x386dd7,'keepOnFocus':!0x0}),this[_0x115c('0xf')]=_0x386dd7);}}Nt[_0x115c('0xb')]=Mt;
23
+ const _0x3ca3=['set','change','defaultPlugins','_updatePlaceholder','ready','placeholder','fire','focus','document','then','plugins','assign','getRoot','model','change:placeholder','view','editing','config','end','initialData','placeholderElement','destroy','data','init','get','create','setSelection','name'];(function(_0x1e1787,_0x3ca357){const _0x17e447=function(_0x3d72d0){while(--_0x3d72d0){_0x1e1787['push'](_0x1e1787['shift']());}};_0x17e447(++_0x3ca357);}(_0x3ca3,0xe2));const _0x17e4=function(_0x1e1787,_0x3ca357){_0x1e1787=_0x1e1787-0x0;let _0x17e447=_0x3ca3[_0x1e1787];return _0x17e447;};import{Editor as _0x5add0c,DataApiMixin as _0x5ef6c2}from'ckeditor5/src/core.js';import _0x1feddc from'./commenteditorui.js';import{ObservableMixin as _0x2d702f}from'ckeditor5/src/utils.js';import{enablePlaceholder as _0x3f1d3c,disablePlaceholder as _0x48fd9e}from'ckeditor5/src/engine.js';import{Clipboard as _0x399465}from'ckeditor5/src/clipboard.js';import{Enter as _0x1436c4,ShiftEnter as _0x47209e}from'ckeditor5/src/enter.js';import{SelectAll as _0x2cf71b}from'ckeditor5/src/select-all.js';import{Typing as _0x4dbc18}from'ckeditor5/src/typing.js';import{Undo as _0x3160ed}from'ckeditor5/src/undo.js';import{Paragraph as _0x25a4e0}from'ckeditor5/src/paragraph.js';const Mt=[_0x399465,_0x1436c4,_0x47209e,_0x2cf71b,_0x4dbc18,_0x3160ed,_0x25a4e0];export default class Nt extends _0x2d702f(_0x5ef6c2(_0x5add0c)){constructor(_0x24d97e={}){(_0x24d97e=Object[_0x17e4('0x9')]({},_0x24d97e))['plugins']||(_0x24d97e[_0x17e4('0x8')]=Nt[_0x17e4('0x0')]),super(_0x24d97e),this['ui']=new _0x1feddc(this),this[_0x17e4('0x1a')](_0x17e4('0x3'),''),this[_0x17e4('0xb')]['document']['on'](_0x17e4('0x1b'),()=>this[_0x17e4('0x1')](),{'priority':'low'}),this['on'](_0x17e4('0xc'),()=>this[_0x17e4('0x1')]()),this[_0x17e4('0xb')][_0x17e4('0x6')]['createRoot']();}[_0x17e4('0x17')](){const _0x1e7b37=this[_0x17e4('0xf')][_0x17e4('0x16')](_0x17e4('0x11'))||'';return this['initPlugins']()['then'](()=>this['ui'][_0x17e4('0x15')]())[_0x17e4('0x7')](()=>this[_0x17e4('0x14')]['init'](_0x1e7b37))[_0x17e4('0x7')](()=>this[_0x17e4('0x4')](_0x17e4('0x2')));}[_0x17e4('0x13')](){return super[_0x17e4('0x13')]()['then'](()=>this['ui']['destroy']());}[_0x17e4('0x5')](){this['model']['change'](_0x399996=>{const _0x3fc646=this[_0x17e4('0xb')]['document'][_0x17e4('0xa')](),_0x44b22c=_0x3fc646&&_0x3fc646['getChild'](_0x3fc646['childCount']-0x1);_0x399996[_0x17e4('0x18')](_0x44b22c,_0x17e4('0x10')),this[_0x17e4('0xe')][_0x17e4('0xd')][_0x17e4('0x5')]();});}[_0x17e4('0x1')](){const _0x4248d3=this[_0x17e4('0xe')]['view'],_0x37e9d2=_0x4248d3['document'][_0x17e4('0xa')](),_0x545ea8=_0x37e9d2['getChild'](0x0);_0x37e9d2['childCount']>0x1||!_0x545ea8||'p'!=_0x545ea8[_0x17e4('0x19')]?this['placeholderElement']&&this[_0x17e4('0x12')][_0x17e4('0x3')]&&(_0x48fd9e(_0x4248d3,this[_0x17e4('0x12')]),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0x545ea8[_0x17e4('0x3')]=this[_0x17e4('0x3')]),_0x3f1d3c({'view':_0x4248d3,'element':_0x545ea8,'keepOnFocus':!0x0}),this['placeholderElement']=_0x545ea8);}}Nt[_0x17e4('0x0')]=Mt;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3672=['rootName','editing','element','setEditableElement','isFocused','bind','editable','destroy','document','editor','attachDomRoot','fire','ready','view','name'];(function(_0x10e8a5,_0x36727e){const _0x320c5e=function(_0xebad4a){while(--_0xebad4a){_0x10e8a5['push'](_0x10e8a5['shift']());}};_0x320c5e(++_0x36727e);}(_0x3672,0xab));const _0x320c=function(_0x10e8a5,_0x36727e){_0x10e8a5=_0x10e8a5-0x0;let _0x320c5e=_0x3672[_0x10e8a5];return _0x320c5e;};import{EditorUI as _0x20bd45}from'ckeditor5/src/ui.js';import _0x10cda9 from'./commenteditoruiview.js';export default class Ft extends _0x20bd45{constructor(_0x2f8267){super(_0x2f8267),this[_0x320c('0x7')]=new _0x10cda9(_0x2f8267['locale'],_0x2f8267[_0x320c('0xa')][_0x320c('0x7')]);}get['element'](){return this[_0x320c('0x7')][_0x320c('0xb')];}['init'](){const _0x2ccb52=this[_0x320c('0x3')][_0x320c('0xa')][_0x320c('0x7')],_0x442f06=this[_0x320c('0x7')]['editable'],_0x2e593b=_0x2ccb52[_0x320c('0x2')]['getRoot']();_0x442f06[_0x320c('0x8')]=_0x2e593b[_0x320c('0x9')],this[_0x320c('0x7')]['render']();const _0x5b0c0c=_0x442f06[_0x320c('0xb')];this[_0x320c('0xc')](_0x442f06[_0x320c('0x8')],_0x5b0c0c),this[_0x320c('0x7')][_0x320c('0x0')][_0x320c('0xe')](_0x320c('0xd'))['to'](this['focusTracker']),_0x2ccb52[_0x320c('0x4')](_0x5b0c0c),this[_0x320c('0x5')](_0x320c('0x6'));}[_0x320c('0x1')](){super['destroy'](),this[_0x320c('0x7')][_0x320c('0x1')]();}}
23
+ const _0x1759=['focusTracker','document','render','ready','editor','destroy','isFocused','name','element','locale','editing','editable','init','view'];(function(_0x2f1106,_0x17590e){const _0x295bd7=function(_0x431593){while(--_0x431593){_0x2f1106['push'](_0x2f1106['shift']());}};_0x295bd7(++_0x17590e);}(_0x1759,0x129));const _0x295b=function(_0x2f1106,_0x17590e){_0x2f1106=_0x2f1106-0x0;let _0x295bd7=_0x1759[_0x2f1106];return _0x295bd7;};import{EditorUI as _0x21e336}from'ckeditor5/src/ui.js';import _0x3ea603 from'./commenteditoruiview.js';export default class Ft extends _0x21e336{constructor(_0x43397c){super(_0x43397c),this['view']=new _0x3ea603(_0x43397c[_0x295b('0x6')],_0x43397c['editing'][_0x295b('0xa')]);}get[_0x295b('0x5')](){return this[_0x295b('0xa')][_0x295b('0x5')];}[_0x295b('0x9')](){const _0x24ad98=this[_0x295b('0x1')][_0x295b('0x7')]['view'],_0x1de8e6=this[_0x295b('0xa')]['editable'],_0x38e28f=_0x24ad98[_0x295b('0xc')]['getRoot']();_0x1de8e6[_0x295b('0x4')]=_0x38e28f['rootName'],this['view'][_0x295b('0xd')]();const _0x40986e=_0x1de8e6[_0x295b('0x5')];this['setEditableElement'](_0x1de8e6['name'],_0x40986e),this['view'][_0x295b('0x8')]['bind'](_0x295b('0x3'))['to'](this[_0x295b('0xb')]),_0x24ad98['attachDomRoot'](_0x40986e),this['fire'](_0x295b('0x0'));}[_0x295b('0x2')](){super['destroy'](),this['view'][_0x295b('0x2')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d94=['focus','ck-reset','_createVoiceLabel','_voiceLabelView','presentation','add','Comment\x20editor','render','main','uiLanguage','cke-editor__aria-label_','extendTemplate','editable','ck-comment__input','div','uiLanguageDirection','ck-editor__main'];(function(_0x10f662,_0x5d9469){const _0x498018=function(_0x2bf411){while(--_0x2bf411){_0x10f662['push'](_0x10f662['shift']());}};_0x498018(++_0x5d9469);}(_0x5d94,0xab));const _0x4980=function(_0x10f662,_0x5d9469){_0x10f662=_0x10f662-0x0;let _0x498018=_0x5d94[_0x10f662];return _0x498018;};import{InlineEditableUIView as _0x333294,EditorUIView as _0x14b867,LabelView as _0x156fcb}from'ckeditor5/src/ui.js';import{uid as _0x5297ca}from'ckeditor5/src/utils.js';import{getTranslation as _0x53515d}from'../../../utils/common-translations.js';export default class Rt extends _0x14b867{constructor(_0x59c011,_0x216415){super(_0x59c011);const _0x155d71=_0x5297ca();this[_0x4980('0x7')]=this['createCollection'](),this[_0x4980('0xb')]=new _0x333294(_0x59c011,_0x216415),this[_0x4980('0x2')]=this['_createVoiceLabel'](_0x155d71,_0x59c011),this['setTemplate']({'tag':_0x4980('0xd'),'attributes':{'class':[_0x4980('0x0'),'ck-editor','ck-rounded-corners',_0x4980('0xc')],'role':'comment','dir':_0x59c011[_0x4980('0xe')],'lang':_0x59c011[_0x4980('0x8')],'aria-labelledby':_0x4980('0x9')+_0x155d71},'children':[this[_0x4980('0x2')],{'tag':_0x4980('0xd'),'attributes':{'class':_0x4980('0xf'),'role':_0x4980('0x3')},'children':this[_0x4980('0x7')]}]});}[_0x4980('0x6')](){super[_0x4980('0x6')](),this[_0x4980('0x7')][_0x4980('0x4')](this[_0x4980('0xb')]);}['focus'](){this[_0x4980('0xb')]['element'][_0x4980('0x10')]();}[_0x4980('0x1')](_0x190ab5,_0x4176be){const _0x9ebf70=new _0x156fcb();return _0x9ebf70['text']=_0x53515d(_0x4176be,_0x4980('0x5')),_0x9ebf70[_0x4980('0xa')]({'attributes':{'id':'ck-editor__aria-label_'+_0x190ab5,'class':'ck-voice-label'}}),_0x9ebf70;}}
23
+ const _0x1fdf=['element','createCollection','add','main','editable','setTemplate','presentation','render','uiLanguageDirection','extendTemplate','comment','cke-editor__aria-label_','ck-editor','_voiceLabelView','text','focus','ck-editor__aria-label_','_createVoiceLabel'];(function(_0x4ac796,_0x1fdfb1){const _0x37c558=function(_0x4c4438){while(--_0x4c4438){_0x4ac796['push'](_0x4ac796['shift']());}};_0x37c558(++_0x1fdfb1);}(_0x1fdf,0x19e));const _0x37c5=function(_0x4ac796,_0x1fdfb1){_0x4ac796=_0x4ac796-0x0;let _0x37c558=_0x1fdf[_0x4ac796];return _0x37c558;};import{InlineEditableUIView as _0x30bffd,EditorUIView as _0x2d59d2,LabelView as _0x5d493b}from'ckeditor5/src/ui.js';import{uid as _0x1aaad9}from'ckeditor5/src/utils.js';import{getTranslation as _0x25e55b}from'../../../utils/common-translations.js';export default class Rt extends _0x2d59d2{constructor(_0x194709,_0x534a41){super(_0x194709);const _0x3246f7=_0x1aaad9();this[_0x37c5('0x3')]=this[_0x37c5('0x1')](),this[_0x37c5('0x4')]=new _0x30bffd(_0x194709,_0x534a41),this[_0x37c5('0xd')]=this[_0x37c5('0x11')](_0x3246f7,_0x194709),this[_0x37c5('0x5')]({'tag':'div','attributes':{'class':['ck-reset',_0x37c5('0xc'),'ck-rounded-corners','ck-comment__input'],'role':_0x37c5('0xa'),'dir':_0x194709[_0x37c5('0x8')],'lang':_0x194709['uiLanguage'],'aria-labelledby':_0x37c5('0xb')+_0x3246f7},'children':[this[_0x37c5('0xd')],{'tag':'div','attributes':{'class':'ck-editor__main','role':_0x37c5('0x6')},'children':this[_0x37c5('0x3')]}]});}[_0x37c5('0x7')](){super[_0x37c5('0x7')](),this[_0x37c5('0x3')][_0x37c5('0x2')](this[_0x37c5('0x4')]);}[_0x37c5('0xf')](){this[_0x37c5('0x4')][_0x37c5('0x0')][_0x37c5('0xf')]();}[_0x37c5('0x11')](_0x1d785b,_0x37c6ce){const _0x409b2a=new _0x5d493b();return _0x409b2a[_0x37c5('0xe')]=_0x25e55b(_0x37c6ce,'Comment\x20editor'),_0x409b2a[_0x37c5('0x9')]({'attributes':{'id':_0x37c5('0x10')+_0x1d785b,'class':'ck-voice-label'}}),_0x409b2a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4eef=['updateComment','update','model','submit','listenTo','addComment','destroy','removeComment','isResolved','remove','_isAttached','_localUser','view','stopListening','resolve','reopen','getComment'];(function(_0x33e596,_0x4eefc3){var _0x3b5adf=function(_0x333124){while(--_0x333124){_0x33e596['push'](_0x33e596['shift']());}};_0x3b5adf(++_0x4eefc3);}(_0x4eef,0x71));var _0x3b5a=function(_0x33e596,_0x4eefc3){_0x33e596=_0x33e596-0x0;var _0x3b5adf=_0x4eef[_0x33e596];return _0x3b5adf;};import{ObservableMixin as _0x4d7ee3}from'ckeditor5/src/utils.js';export default class ut extends _0x4d7ee3(){constructor(_0x32dfa8,_0x514fbe){super(),this[_0x3b5a('0x8')]=_0x32dfa8,this[_0x3b5a('0x8')][_0x3b5a('0x10')]=!0x0,this[_0x3b5a('0x1')]=_0x514fbe,this[_0x3b5a('0xa')](_0x514fbe,'submitCommentThread',()=>this[_0x3b5a('0x9')]()),this[_0x3b5a('0xa')](_0x514fbe,'removeCommentThread',()=>this[_0x3b5a('0xf')]()),this[_0x3b5a('0xa')](_0x514fbe,'resolveCommentThread',()=>this[_0x3b5a('0x3')]()),this[_0x3b5a('0xa')](_0x514fbe,'reopenCommentThread',()=>this[_0x3b5a('0x4')]()),this[_0x3b5a('0xa')](_0x514fbe,_0x3b5a('0xb'),(_0x370c1,_0x3af58a)=>this[_0x3b5a('0xb')](_0x3af58a)),this[_0x3b5a('0xa')](_0x514fbe,_0x3b5a('0x6'),(_0x1a8fa8,_0x550eb4,_0x198464)=>this[_0x3b5a('0x6')](_0x550eb4,_0x198464)),this[_0x3b5a('0xa')](_0x514fbe,_0x3b5a('0xd'),(_0x4db67a,_0x23fc47)=>this[_0x3b5a('0xd')](_0x23fc47));}['submit'](){this[_0x3b5a('0x8')]['submit']();}[_0x3b5a('0xf')](){this['model'][_0x3b5a('0xf')]();}['resolve'](){this[_0x3b5a('0x8')]['isResolved']||this[_0x3b5a('0x8')][_0x3b5a('0x3')]();}[_0x3b5a('0x4')](){this[_0x3b5a('0x8')][_0x3b5a('0xe')]&&this[_0x3b5a('0x8')][_0x3b5a('0x4')]();}[_0x3b5a('0xb')](_0x4c0b67){this['model'][_0x3b5a('0xb')]({'content':_0x4c0b67,'authorId':this['view'][_0x3b5a('0x0')]['id']});}[_0x3b5a('0x6')](_0x50481e,_0x20b636){this[_0x3b5a('0x8')][_0x3b5a('0x5')](_0x50481e)[_0x3b5a('0x7')]({'content':_0x20b636});}['removeComment'](_0xf55ed4){this[_0x3b5a('0x8')][_0x3b5a('0x5')](_0xf55ed4)['remove']();}[_0x3b5a('0xc')](){this[_0x3b5a('0x2')](),this[_0x3b5a('0x8')][_0x3b5a('0x10')]=!0x1;}}
23
+ var _0x86e7=['submit','destroy','_isAttached','update','addComment','updateComment','reopenCommentThread','reopen','listenTo','model','isResolved','resolveCommentThread','stopListening','removeComment','resolve','view','remove','getComment'];(function(_0x6847b8,_0x86e7f3){var _0x2cd88a=function(_0x14ab8c){while(--_0x14ab8c){_0x6847b8['push'](_0x6847b8['shift']());}};_0x2cd88a(++_0x86e7f3);}(_0x86e7,0x7f));var _0x2cd8=function(_0x6847b8,_0x86e7f3){_0x6847b8=_0x6847b8-0x0;var _0x2cd88a=_0x86e7[_0x6847b8];return _0x2cd88a;};import{ObservableMixin as _0x155878}from'ckeditor5/src/utils.js';export default class ut extends _0x155878(){constructor(_0x4949d6,_0x40bbde){super(),this[_0x2cd8('0x8')]=_0x4949d6,this[_0x2cd8('0x8')][_0x2cd8('0x1')]=!0x0,this[_0x2cd8('0xe')]=_0x40bbde,this[_0x2cd8('0x7')](_0x40bbde,'submitCommentThread',()=>this[_0x2cd8('0x11')]()),this['listenTo'](_0x40bbde,'removeCommentThread',()=>this[_0x2cd8('0xf')]()),this['listenTo'](_0x40bbde,_0x2cd8('0xa'),()=>this['resolve']()),this[_0x2cd8('0x7')](_0x40bbde,_0x2cd8('0x5'),()=>this[_0x2cd8('0x6')]()),this[_0x2cd8('0x7')](_0x40bbde,_0x2cd8('0x3'),(_0x581564,_0x2b789c)=>this[_0x2cd8('0x3')](_0x2b789c)),this[_0x2cd8('0x7')](_0x40bbde,_0x2cd8('0x4'),(_0x24f784,_0x3dff5a,_0x4cb637)=>this['updateComment'](_0x3dff5a,_0x4cb637)),this[_0x2cd8('0x7')](_0x40bbde,_0x2cd8('0xc'),(_0x24ddba,_0x5c7b38)=>this[_0x2cd8('0xc')](_0x5c7b38));}[_0x2cd8('0x11')](){this[_0x2cd8('0x8')]['submit']();}['remove'](){this['model']['remove']();}[_0x2cd8('0xd')](){this[_0x2cd8('0x8')][_0x2cd8('0x9')]||this['model'][_0x2cd8('0xd')]();}[_0x2cd8('0x6')](){this[_0x2cd8('0x8')]['isResolved']&&this[_0x2cd8('0x8')][_0x2cd8('0x6')]();}[_0x2cd8('0x3')](_0x47a59b){this[_0x2cd8('0x8')]['addComment']({'content':_0x47a59b,'authorId':this[_0x2cd8('0xe')]['_localUser']['id']});}[_0x2cd8('0x4')](_0x54102c,_0x56af0f){this[_0x2cd8('0x8')][_0x2cd8('0x10')](_0x54102c)[_0x2cd8('0x2')]({'content':_0x56af0f});}[_0x2cd8('0xc')](_0x539654){this[_0x2cd8('0x8')][_0x2cd8('0x10')](_0x539654)[_0x2cd8('0xf')]();}[_0x2cd8('0x0')](){this[_0x2cd8('0xb')](),this[_0x2cd8('0x8')][_0x2cd8('0x1')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2066=['hasDirtyComment','change:isActive','Reply\x20to\x20reopen\x20discussion...','submitLabel','isDirty','element','set','commentsListView','bind','listenTo','value','disabledSubmit','CommentView','removeComment','destroy','addComment','length','isResolved','resolveCommentThread','isResolvable','commentThreadHeaderView','_model','isUnlinked','commentThreadInputView','focus','commentInputView','_createCommentThreadInputView','editorDestroyed','editorConfig','editorReady','placeholder','canComment','isActive','showInput','delegate','submit','assign','fire','cancel','Comment','Reply','locale','Write\x20a\x20comment...','archivedAt','reopenCommentThread','_config'];(function(_0x2eeaa0,_0x20660a){const _0x5e3ba7=function(_0x2b1958){while(--_0x2b1958){_0x2eeaa0['push'](_0x2eeaa0['shift']());}};_0x5e3ba7(++_0x20660a);}(_0x2066,0x129));const _0x5e3b=function(_0x2eeaa0,_0x20660a){_0x2eeaa0=_0x2eeaa0-0x0;let _0x5e3ba7=_0x2066[_0x2eeaa0];return _0x5e3ba7;};import{View as _0x48b220}from'ckeditor5/src/ui.js';import _0x2c8b76 from'./commentthreadinputview.js';import _0x5bf810 from'./commentslistview.js';import _0x4c345b from'./commentthreadheaderview.js';import{getTranslation as _0x2c622a}from'../../../utils/common-translations.js';export default class Ut extends _0x48b220{constructor(_0x201b03,_0x49c6ea,_0x2117a3,_0x385b7e){super(_0x201b03),this[_0x5e3b('0x1f')](_0x5e3b('0xb'),!0x1),this[_0x5e3b('0x1f')](_0x5e3b('0x1d'),!0x1),this[_0x5e3b('0x0')]=_0x49c6ea,this['_localUser']=_0x2117a3,this[_0x5e3b('0x18')]=_0x385b7e,this['commentThreadHeaderView']=new _0x4c345b(_0x201b03,_0x49c6ea),this[_0x5e3b('0x2d')][_0x5e3b('0xd')](_0x5e3b('0x17'))['to'](this),this[_0x5e3b('0x22')](this,_0x5e3b('0x17'),()=>{this[_0x5e3b('0x3')]();}),this[_0x5e3b('0x20')]=new _0x5bf810(_0x201b03,_0x49c6ea,Object[_0x5e3b('0xf')]({'CommentView':this['_config'][_0x5e3b('0x25')]},_0x385b7e)),this[_0x5e3b('0x20')][_0x5e3b('0xd')](_0x5e3b('0x26'))['to'](this),this['commentsListView'][_0x5e3b('0xd')]('updateComment')['to'](this),this[_0x5e3b('0x20')][_0x5e3b('0xd')](_0x5e3b('0x2b'))['to'](this),this[_0x5e3b('0x20')][_0x5e3b('0xd')](_0x5e3b('0x8'))['to'](this),this[_0x5e3b('0x20')]['delegate'](_0x5e3b('0x6'))['to'](this),this[_0x5e3b('0x20')]['bind'](_0x5e3b('0xb'))['to'](this),this['listenTo'](this,_0x5e3b('0x2b'),()=>{this[_0x5e3b('0x3')]();}),this['set'](_0x5e3b('0x29'),this[_0x5e3b('0x20')]['length']),this[_0x5e3b('0x21')](_0x5e3b('0x29'))['to'](this[_0x5e3b('0x20')],_0x5e3b('0x29')),this[_0x5e3b('0x2')]=this[_0x5e3b('0x5')](),this[_0x5e3b('0x2')]['delegate'](_0x5e3b('0x8'))['to'](this),this['commentThreadInputView'][_0x5e3b('0xd')](_0x5e3b('0x6'))['to'](this),this['on']('removeComment',()=>this[_0x5e3b('0x3')]()),this['bind']('isDirty')['to'](this[_0x5e3b('0x20')],_0x5e3b('0x19'),this[_0x5e3b('0x2')][_0x5e3b('0x4')],'value',(_0x5cf4fd,_0x335528)=>_0x5cf4fd||!!_0x335528),this[_0x5e3b('0x21')](_0x5e3b('0x1'))['to'](_0x49c6ea,'unlinkedAt',_0x1ebd59=>!!_0x1ebd59);}[_0x5e3b('0x3')](){this[_0x5e3b('0x1e')][_0x5e3b('0x3')]();}async[_0x5e3b('0x27')](){this[_0x5e3b('0x1d')]=!0x1,this['commentsListView'][_0x5e3b('0x27')](),await this[_0x5e3b('0x2')]['destroy'](),super['destroy']();}[_0x5e3b('0x5')](){const _0x120004=new _0x2c8b76(this[_0x5e3b('0x14')],this['_localUser'],this[_0x5e3b('0x18')][_0x5e3b('0x7')]),_0x13d184=_0x120004[_0x5e3b('0x4')];return _0x120004[_0x5e3b('0x21')](_0x5e3b('0xc'))['to'](this,_0x5e3b('0xb'),this[_0x5e3b('0x0')],'isReadOnly',this[_0x5e3b('0x0')],_0x5e3b('0xa'),this[_0x5e3b('0x0')],_0x5e3b('0x16'),_0x13d184,_0x5e3b('0x23'),(_0x42752c,_0x406553,_0x24524a,_0x5c28a8,_0x528505)=>!!_0x528505||!!_0x5c28a8&&_0x24524a&&!_0x406553||_0x42752c&&_0x24524a&&!_0x406553),_0x13d184[_0x5e3b('0x21')](_0x5e3b('0x9'))['to'](this,_0x5e3b('0x29'),this[_0x5e3b('0x0')],_0x5e3b('0x2c'),this['_model'],_0x5e3b('0x2a'),(_0x4284c1,_0x5609d4,_0x12e56c)=>{let _0x235736;return _0x235736=_0x12e56c&&_0x5609d4?_0x5e3b('0x1b'):_0x4284c1?'Reply...':_0x5e3b('0x15'),_0x2c622a(this[_0x5e3b('0x14')],_0x235736);}),_0x13d184[_0x5e3b('0x21')](_0x5e3b('0x1c'))['to'](this,_0x5e3b('0x29'),_0x47c98c=>_0x2c622a(this[_0x5e3b('0x14')],_0x47c98c?_0x5e3b('0x13'):_0x5e3b('0x12'))),_0x13d184['on'](_0x5e3b('0xe'),(_0x13b860,_0x3d51f0)=>{this[_0x5e3b('0x10')](_0x5e3b('0x28'),_0x3d51f0),this[_0x5e3b('0x0')][_0x5e3b('0x2a')]&&this[_0x5e3b('0x0')]['isResolvable']&&this[_0x5e3b('0x10')](_0x5e3b('0x17'),this[_0x5e3b('0x0')]['id']),this['_model']['isSubmitted']||this[_0x5e3b('0x10')]('submitCommentThread');}),_0x13d184['on'](_0x5e3b('0x11'),()=>{this[_0x5e3b('0x3')]();}),_0x13d184['bind'](_0x5e3b('0x24'))['to'](this[_0x5e3b('0x0')],'isReadOnly'),_0x13d184['on'](_0x5e3b('0x11'),_0x4d86eb=>{0x0==this[_0x5e3b('0x29')]&&(this[_0x5e3b('0x10')]('removeCommentThread'),_0x4d86eb['stop']());}),this['on'](_0x5e3b('0x1a'),(_0x42a693,_0x33d354,_0x2e37ca)=>{_0x2e37ca||this[_0x5e3b('0x29')]||_0x13d184['value']||this[_0x5e3b('0x10')]('removeCommentThread');}),_0x120004;}}
23
+ const _0x108d=['Reply...','length','bind','locale','canComment','isActive','removeComment','reopenCommentThread','removeCommentThread','submit','isUnlinked','cancel','CommentView','disabledSubmit','resolveCommentThread','Reply\x20to\x20reopen\x20discussion...','submitCommentThread','archivedAt','commentsListView','Reply','listenTo','isResolved','value','showInput','delegate','stop','addComment','isReadOnly','change:isActive','fire','_createCommentThreadInputView','commentThreadHeaderView','commentInputView','focus','editorReady','Write\x20a\x20comment...','editorDestroyed','updateComment','hasDirtyComment','submitLabel','Comment','element','_config','assign','unlinkedAt','_model','isDirty','commentThreadInputView','destroy','isResolvable','_localUser'];(function(_0x57bb67,_0x108d1b){const _0x7fbd7=function(_0x2d5681){while(--_0x2d5681){_0x57bb67['push'](_0x57bb67['shift']());}};_0x7fbd7(++_0x108d1b);}(_0x108d,0x1d4));const _0x7fbd=function(_0x57bb67,_0x108d1b){_0x57bb67=_0x57bb67-0x0;let _0x7fbd7=_0x108d[_0x57bb67];return _0x7fbd7;};import{View as _0xebcdd4}from'ckeditor5/src/ui.js';import _0x509993 from'./commentthreadinputview.js';import _0xaff7ee from'./commentslistview.js';import _0x5b285e from'./commentthreadheaderview.js';import{getTranslation as _0x182979}from'../../../utils/common-translations.js';export default class Ut extends _0xebcdd4{constructor(_0x12badf,_0x3e95d5,_0x894209,_0x32439f){super(_0x12badf),this['set'](_0x7fbd('0x2f'),!0x1),this['set']('isDirty',!0x1),this['_model']=_0x3e95d5,this['_localUser']=_0x894209,this[_0x7fbd('0x21')]=_0x32439f,this[_0x7fbd('0x16')]=new _0x5b285e(_0x12badf,_0x3e95d5),this['commentThreadHeaderView']['delegate'](_0x7fbd('0x31'))['to'](this),this[_0x7fbd('0xb')](this,_0x7fbd('0x31'),()=>{this['focus']();}),this['commentsListView']=new _0xaff7ee(_0x12badf,_0x3e95d5,Object[_0x7fbd('0x22')]({'CommentView':this['_config'][_0x7fbd('0x3')]},_0x32439f)),this['commentsListView'][_0x7fbd('0xf')](_0x7fbd('0x30'))['to'](this),this[_0x7fbd('0x9')][_0x7fbd('0xf')](_0x7fbd('0x1c'))['to'](this),this['commentsListView']['delegate'](_0x7fbd('0x5'))['to'](this),this[_0x7fbd('0x9')][_0x7fbd('0xf')](_0x7fbd('0x19'))['to'](this),this[_0x7fbd('0x9')][_0x7fbd('0xf')](_0x7fbd('0x1b'))['to'](this),this[_0x7fbd('0x9')][_0x7fbd('0x2c')]('isActive')['to'](this),this[_0x7fbd('0xb')](this,_0x7fbd('0x5'),()=>{this[_0x7fbd('0x18')]();}),this['set'](_0x7fbd('0x2b'),this[_0x7fbd('0x9')][_0x7fbd('0x2b')]),this[_0x7fbd('0x2c')]('length')['to'](this[_0x7fbd('0x9')],'length'),this[_0x7fbd('0x26')]=this[_0x7fbd('0x15')](),this[_0x7fbd('0x26')][_0x7fbd('0xf')](_0x7fbd('0x19'))['to'](this),this['commentThreadInputView'][_0x7fbd('0xf')](_0x7fbd('0x1b'))['to'](this),this['on'](_0x7fbd('0x30'),()=>this[_0x7fbd('0x18')]()),this[_0x7fbd('0x2c')](_0x7fbd('0x25'))['to'](this[_0x7fbd('0x9')],_0x7fbd('0x1d'),this[_0x7fbd('0x26')][_0x7fbd('0x17')],_0x7fbd('0xd'),(_0x2ff428,_0x29cd31)=>_0x2ff428||!!_0x29cd31),this['bind'](_0x7fbd('0x1'))['to'](_0x3e95d5,_0x7fbd('0x23'),_0x15fcea=>!!_0x15fcea);}[_0x7fbd('0x18')](){this[_0x7fbd('0x20')][_0x7fbd('0x18')]();}async[_0x7fbd('0x27')](){this[_0x7fbd('0x25')]=!0x1,this[_0x7fbd('0x9')]['destroy'](),await this['commentThreadInputView'][_0x7fbd('0x27')](),super[_0x7fbd('0x27')]();}['_createCommentThreadInputView'](){const _0x4f72bc=new _0x509993(this['locale'],this[_0x7fbd('0x29')],this['_config']['editorConfig']),_0x350bd3=_0x4f72bc['commentInputView'];return _0x4f72bc[_0x7fbd('0x2c')](_0x7fbd('0xe'))['to'](this,'isActive',this[_0x7fbd('0x24')],'isReadOnly',this[_0x7fbd('0x24')],_0x7fbd('0x2e'),this['_model'],_0x7fbd('0x8'),_0x350bd3,_0x7fbd('0xd'),(_0x5734f1,_0x5db5a0,_0x6aa4d5,_0x104993,_0x596f30)=>!!_0x596f30||!!_0x104993&&_0x6aa4d5&&!_0x5db5a0||_0x5734f1&&_0x6aa4d5&&!_0x5db5a0),_0x350bd3[_0x7fbd('0x2c')]('placeholder')['to'](this,'length',this['_model'],'isResolvable',this[_0x7fbd('0x24')],_0x7fbd('0xc'),(_0x2b0b14,_0x50a773,_0x189636)=>{let _0x77e87a;return _0x77e87a=_0x189636&&_0x50a773?_0x7fbd('0x6'):_0x2b0b14?_0x7fbd('0x2a'):_0x7fbd('0x1a'),_0x182979(this[_0x7fbd('0x2d')],_0x77e87a);}),_0x350bd3['bind'](_0x7fbd('0x1e'))['to'](this,_0x7fbd('0x2b'),_0x2963a9=>_0x182979(this[_0x7fbd('0x2d')],_0x2963a9?_0x7fbd('0xa'):_0x7fbd('0x1f'))),_0x350bd3['on'](_0x7fbd('0x0'),(_0x2cd201,_0x2eb938)=>{this['fire'](_0x7fbd('0x11'),_0x2eb938),this[_0x7fbd('0x24')][_0x7fbd('0xc')]&&this[_0x7fbd('0x24')][_0x7fbd('0x28')]&&this[_0x7fbd('0x14')](_0x7fbd('0x31'),this[_0x7fbd('0x24')]['id']),this[_0x7fbd('0x24')]['isSubmitted']||this['fire'](_0x7fbd('0x7'));}),_0x350bd3['on'](_0x7fbd('0x2'),()=>{this['focus']();}),_0x350bd3[_0x7fbd('0x2c')](_0x7fbd('0x4'))['to'](this[_0x7fbd('0x24')],_0x7fbd('0x12')),_0x350bd3['on'](_0x7fbd('0x2'),_0x4d187b=>{0x0==this[_0x7fbd('0x2b')]&&(this['fire'](_0x7fbd('0x32')),_0x4d187b[_0x7fbd('0x10')]());}),this['on'](_0x7fbd('0x13'),(_0x119be6,_0x1716bc,_0x1dd619)=>{_0x1dd619||this['length']||_0x350bd3[_0x7fbd('0xd')]||this[_0x7fbd('0x14')](_0x7fbd('0x32'));}),_0x4f72bc;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x452c=['destroy','_config','_createCommentContentView','visibleView','remove','isReadOnly','isSystemComment','createCollection','add','bind','once','switchToDisplayMode','_createCommentInputView','content','updateComment','initialData','focus','cancel','editorReady','submitLabel','get','switchToEditMode','disabledSubmit','delegate','isCollapsed','element','editorConfig','fire','editorDestroyed','_model','set','maxCommentCharsWhenCollapsed','locale','expand','value','isEditMode'];(function(_0x28aca5,_0x452c0e){const _0x44de1f=function(_0x17c408){while(--_0x17c408){_0x28aca5['push'](_0x28aca5['shift']());}};_0x44de1f(++_0x452c0e);}(_0x452c,0x10f));const _0x44de=function(_0x28aca5,_0x452c0e){_0x28aca5=_0x28aca5-0x0;let _0x44de1f=_0x452c[_0x28aca5];return _0x44de1f;};import{View as _0x1ba3b0}from'ckeditor5/src/ui.js';import{trimHtml as _0x1234d3}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2709b6 from'./commentcontentview.js';import _0x253d34 from'./commentinputview.js';import{getTranslation as _0x350b77}from'../../../utils/common-translations.js';export default class ti extends _0x1ba3b0{constructor(_0x5bac59,_0x5737e2,_0x60ec32){super(_0x5bac59),this['_model']=_0x5737e2,this[_0x44de('0x12')]=_0x60ec32,this[_0x44de('0x17')]=!!this[_0x44de('0x12')]['isSystemComment'],this[_0x44de('0xb')](_0x44de('0x10'),!0x1),this[_0x44de('0xb')](_0x44de('0x5'),!0x0),this['visibleView']=this[_0x44de('0x18')](),this[_0x44de('0x14')][_0x44de('0x19')](this[_0x44de('0x13')]());}[_0x44de('0xe')](){this['isCollapsed']=!0x1;}['collapse'](){this[_0x44de('0x10')]||(this[_0x44de('0x5')]=!0x0);}[_0x44de('0x21')](){this[_0x44de('0x6')][_0x44de('0x21')]();}async['destroy'](){await this['visibleView'][_0x44de('0x1')](0x0)[_0x44de('0x11')](),super[_0x44de('0x11')]();}[_0x44de('0x2')](){this[_0x44de('0x10')]||(this[_0x44de('0x10')]=!0x0,this[_0x44de('0x14')][_0x44de('0x15')](0x0)[_0x44de('0x11')](),this[_0x44de('0x14')][_0x44de('0x19')](this['_createCommentInputView']()));}[_0x44de('0x1c')](){this['isEditMode']&&(this[_0x44de('0x10')]=!0x1,this['visibleView'][_0x44de('0x15')](0x0)['destroy'](),this[_0x44de('0x14')][_0x44de('0x19')](this[_0x44de('0x13')]()));}[_0x44de('0x13')](){const _0x5c389e=new _0x2709b6(this[_0x44de('0xd')]);return _0x5c389e[_0x44de('0x1a')](_0x44de('0x1e'))['to'](this['_model'],_0x44de('0x1e'),this,_0x44de('0x5'),(_0x233922,_0x1ba324)=>_0x1ba324?_0x1234d3(_0x233922,{'limit':this[_0x44de('0x12')][_0x44de('0xc')]}):_0x233922),_0x5c389e;}[_0x44de('0x1d')](){this['_config'][_0x44de('0x7')]||(this[_0x44de('0x12')][_0x44de('0x7')]={}),this[_0x44de('0x12')][_0x44de('0x7')][_0x44de('0x20')]=this[_0x44de('0xa')][_0x44de('0x1e')];const _0x1e8bd1=new _0x253d34(this[_0x44de('0xd')],this['_config'][_0x44de('0x7')]);return _0x1e8bd1[_0x44de('0xf')]=this[_0x44de('0xa')][_0x44de('0x1e')],_0x1e8bd1[_0x44de('0x1a')](_0x44de('0x3'))['to'](this['_model'],_0x44de('0x16')),_0x1e8bd1[_0x44de('0x0')]=_0x350b77(this[_0x44de('0xd')],'Save'),_0x1e8bd1['on']('submit',(_0x2649fb,_0x3289d5)=>{this[_0x44de('0x8')](_0x44de('0x1f'),this[_0x44de('0xa')]['id'],_0x3289d5),this[_0x44de('0x1c')](),this[_0x44de('0x21')]();}),_0x1e8bd1['on'](_0x44de('0x22'),()=>{this[_0x44de('0x1c')](),this[_0x44de('0x21')]();}),_0x1e8bd1[_0x44de('0x1b')](_0x44de('0x23'),()=>{_0x1e8bd1['focus']();}),_0x1e8bd1['createEditor'](),_0x1e8bd1[_0x44de('0x4')](_0x44de('0x23'))['to'](this),_0x1e8bd1[_0x44de('0x4')](_0x44de('0x9'))['to'](this),_0x1e8bd1;}}
23
+ const _0x4359=['switchToEditMode','visibleView','destroy','cancel','switchToDisplayMode','remove','createEditor','once','locale','updateComment','editorDestroyed','collapse','disabledSubmit','value','expand','editorReady','set','bind','submit','_createCommentInputView','element','fire','maxCommentCharsWhenCollapsed','createCollection','_config','focus','delegate','isSystemComment','editorConfig','isEditMode','add','_model','Save','isCollapsed','content'];(function(_0x297c22,_0x43594d){const _0x16e2cb=function(_0x1f42d9){while(--_0x1f42d9){_0x297c22['push'](_0x297c22['shift']());}};_0x16e2cb(++_0x43594d);}(_0x4359,0x112));const _0x16e2=function(_0x297c22,_0x43594d){_0x297c22=_0x297c22-0x0;let _0x16e2cb=_0x4359[_0x297c22];return _0x16e2cb;};import{View as _0x4a36c4}from'ckeditor5/src/ui.js';import{trimHtml as _0x4a85d8}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x20b605 from'./commentcontentview.js';import _0x532207 from'./commentinputview.js';import{getTranslation as _0xc4947f}from'../../../utils/common-translations.js';export default class ti extends _0x4a36c4{constructor(_0x53dde7,_0x9a6bbc,_0x36febb){super(_0x53dde7),this[_0x16e2('0x2')]=_0x9a6bbc,this[_0x16e2('0x1e')]=_0x36febb,this[_0x16e2('0x21')]=!!this[_0x16e2('0x1e')][_0x16e2('0x21')],this[_0x16e2('0x16')](_0x16e2('0x0'),!0x1),this[_0x16e2('0x16')](_0x16e2('0x4'),!0x0),this[_0x16e2('0x7')]=this[_0x16e2('0x1d')](),this[_0x16e2('0x7')][_0x16e2('0x1')](this['_createCommentContentView']());}[_0x16e2('0x14')](){this[_0x16e2('0x4')]=!0x1;}[_0x16e2('0x11')](){this['isEditMode']||(this['isCollapsed']=!0x0);}[_0x16e2('0x1f')](){this[_0x16e2('0x1a')]['focus']();}async[_0x16e2('0x8')](){await this['visibleView']['get'](0x0)[_0x16e2('0x8')](),super[_0x16e2('0x8')]();}[_0x16e2('0x6')](){this[_0x16e2('0x0')]||(this['isEditMode']=!0x0,this[_0x16e2('0x7')][_0x16e2('0xb')](0x0)[_0x16e2('0x8')](),this[_0x16e2('0x7')][_0x16e2('0x1')](this[_0x16e2('0x19')]()));}[_0x16e2('0xa')](){this[_0x16e2('0x0')]&&(this[_0x16e2('0x0')]=!0x1,this[_0x16e2('0x7')][_0x16e2('0xb')](0x0)[_0x16e2('0x8')](),this[_0x16e2('0x7')]['add'](this['_createCommentContentView']()));}['_createCommentContentView'](){const _0x3c318f=new _0x20b605(this[_0x16e2('0xe')]);return _0x3c318f['bind']('content')['to'](this['_model'],_0x16e2('0x5'),this,_0x16e2('0x4'),(_0x2d7dbe,_0x5afce1)=>_0x5afce1?_0x4a85d8(_0x2d7dbe,{'limit':this[_0x16e2('0x1e')][_0x16e2('0x1c')]}):_0x2d7dbe),_0x3c318f;}[_0x16e2('0x19')](){this[_0x16e2('0x1e')][_0x16e2('0x22')]||(this[_0x16e2('0x1e')]['editorConfig']={}),this[_0x16e2('0x1e')]['editorConfig']['initialData']=this[_0x16e2('0x2')][_0x16e2('0x5')];const _0x10054c=new _0x532207(this[_0x16e2('0xe')],this[_0x16e2('0x1e')][_0x16e2('0x22')]);return _0x10054c[_0x16e2('0x13')]=this[_0x16e2('0x2')][_0x16e2('0x5')],_0x10054c[_0x16e2('0x17')](_0x16e2('0x12'))['to'](this['_model'],'isReadOnly'),_0x10054c['submitLabel']=_0xc4947f(this[_0x16e2('0xe')],_0x16e2('0x3')),_0x10054c['on'](_0x16e2('0x18'),(_0x3c18e7,_0x47a1af)=>{this[_0x16e2('0x1b')](_0x16e2('0xf'),this[_0x16e2('0x2')]['id'],_0x47a1af),this[_0x16e2('0xa')](),this[_0x16e2('0x1f')]();}),_0x10054c['on'](_0x16e2('0x9'),()=>{this[_0x16e2('0xa')](),this['focus']();}),_0x10054c[_0x16e2('0xd')](_0x16e2('0x15'),()=>{_0x10054c[_0x16e2('0x1f')]();}),_0x10054c[_0x16e2('0xc')](),_0x10054c[_0x16e2('0x20')](_0x16e2('0x15'))['to'](this),_0x10054c[_0x16e2('0x20')](_0x16e2('0x10'))['to'](this),_0x10054c;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9099=['count','set','setTemplate','ck-thread__comment-count'];(function(_0x3cdddf,_0x9099d9){const _0x5e4fd8=function(_0x1c8c28){while(--_0x1c8c28){_0x3cdddf['push'](_0x3cdddf['shift']());}};_0x5e4fd8(++_0x9099d9);}(_0x9099,0x163));const _0x5e4f=function(_0x3cdddf,_0x9099d9){_0x3cdddf=_0x3cdddf-0x0;let _0x5e4fd8=_0x9099[_0x3cdddf];return _0x5e4fd8;};import{View as _0xbae69d}from'ckeditor5/src/ui.js';import{getTranslation as _0x5712b2}from'../../../utils/common-translations.js';export default class ts extends _0xbae69d{constructor(_0x4594e2){super(_0x4594e2);const _0x3c8800=this['bindTemplate'];this[_0x5e4f('0x2')](_0x5e4f('0x1'),void 0x0),this[_0x5e4f('0x3')]({'tag':'li','attributes':{'class':_0x5e4f('0x0')},'children':[{'text':_0x3c8800['to'](_0x5e4f('0x1'),_0x122121=>_0x5712b2(_0x4594e2,'NUMBER_OF_COMMENTS',_0x122121))}]});}}
23
+ const _0x1acd=['bindTemplate','set','setTemplate','ck-thread__comment-count','count'];(function(_0x45f9fc,_0x1acd1e){const _0x5ca40d=function(_0x3c8be3){while(--_0x3c8be3){_0x45f9fc['push'](_0x45f9fc['shift']());}};_0x5ca40d(++_0x1acd1e);}(_0x1acd,0x18a));const _0x5ca4=function(_0x45f9fc,_0x1acd1e){_0x45f9fc=_0x45f9fc-0x0;let _0x5ca40d=_0x1acd[_0x45f9fc];return _0x5ca40d;};import{View as _0x15f612}from'ckeditor5/src/ui.js';import{getTranslation as _0x2bd125}from'../../../utils/common-translations.js';export default class ts extends _0x15f612{constructor(_0x16042b){super(_0x16042b);const _0x55a8fa=this[_0x5ca4('0x1')];this[_0x5ca4('0x2')](_0x5ca4('0x0'),void 0x0),this[_0x5ca4('0x3')]({'tag':'li','attributes':{'class':_0x5ca4('0x4')},'children':[{'text':_0x55a8fa['to'](_0x5ca4('0x0'),_0x5948b0=>_0x2bd125(_0x16042b,'NUMBER_OF_COMMENTS',_0x5948b0))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x316e=['change:content','element','innerHTML','ck-annotation__content','ck-comment__content','content','render'];(function(_0x3fcf58,_0x316e2e){var _0x57f376=function(_0x144543){while(--_0x144543){_0x3fcf58['push'](_0x3fcf58['shift']());}};_0x57f376(++_0x316e2e);}(_0x316e,0x170));var _0x57f3=function(_0x3fcf58,_0x316e2e){_0x3fcf58=_0x3fcf58-0x0;var _0x57f376=_0x316e[_0x3fcf58];return _0x57f376;};import{View as _0x1319aa}from'ckeditor5/src/ui.js';export default class Yt extends _0x1319aa{constructor(_0x538e40){super(_0x538e40),this['set'](_0x57f3('0x1'),''),this['setTemplate']({'tag':'div','attributes':{'class':[_0x57f3('0x0'),_0x57f3('0x6')]}});}[_0x57f3('0x2')](){super[_0x57f3('0x2')](),this['on'](_0x57f3('0x3'),(_0x11e379,_0x2fd246,_0x338556)=>{this['element'][_0x57f3('0x5')]=_0x338556;}),this[_0x57f3('0x4')][_0x57f3('0x5')]=this[_0x57f3('0x1')];}}
23
+ var _0x339a=['content','setTemplate','ck-comment__content','change:content','render','innerHTML','ck-annotation__content','element','set','div'];(function(_0x3bf245,_0x339a55){var _0x38a223=function(_0x1219ad){while(--_0x1219ad){_0x3bf245['push'](_0x3bf245['shift']());}};_0x38a223(++_0x339a55);}(_0x339a,0x160));var _0x38a2=function(_0x3bf245,_0x339a55){_0x3bf245=_0x3bf245-0x0;var _0x38a223=_0x339a[_0x3bf245];return _0x38a223;};import{View as _0x191121}from'ckeditor5/src/ui.js';export default class Yt extends _0x191121{constructor(_0x241063){super(_0x241063),this[_0x38a2('0x6')]('content',''),this[_0x38a2('0x9')]({'tag':_0x38a2('0x7'),'attributes':{'class':[_0x38a2('0x0'),_0x38a2('0x4')]}});}[_0x38a2('0x2')](){super['render'](),this['on'](_0x38a2('0x1'),(_0x4f751e,_0x2d0a67,_0x32c6ad)=>{this['element'][_0x38a2('0x3')]=_0x32c6ad;}),this[_0x38a2('0x5')][_0x38a2('0x3')]=this[_0x38a2('0x8')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46a9=['label','_initializeFocusCycling','add','element','extendTemplate','isEnabled','div','_createSubmitButton','tab','_isDestroyed','initialData','shift\x20+\x20tab','forEach','ck-comment__input-actions--active','firstChild','TOO_LONG_COMMENT_ALERT','submit','getData','set','disabledSubmit','value','render','editorDestroyed','fire','document','focusPrevious','cancel','ck-comment__input-wrapper','focus','editorReady','createEditor','insertBefore','execute','keystrokes','ck-comment__input-actions--cancel','_editorCreationPromise','bindTemplate','stop','showButtons','listenTo','low','focusNext','withText','ck-comment__input-actions--submit','cancelButtonView','setData','_createCancelButton','focusTracker','ck-comment__input-actions','submitButtonView','high','then','change','placeholder','destroy','Reply...','_editorConfig','Cancel','Reply','setTemplate','trim','editor','submitLabel','create','Esc','view'];(function(_0x465fa9,_0x46a906){const _0x30f34c=function(_0x2dba60){while(--_0x2dba60){_0x465fa9['push'](_0x465fa9['shift']());}};_0x30f34c(++_0x46a906);}(_0x46a9,0x18b));const _0x30f3=function(_0x465fa9,_0x46a906){_0x465fa9=_0x465fa9-0x0;let _0x30f34c=_0x46a9[_0x465fa9];return _0x30f34c;};import{View as _0x5845a0,ViewCollection as _0x170408,FocusCycler as _0x154169,ButtonView as _0x24d000}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3e239e,KeystrokeHandler as _0x3ffed0}from'ckeditor5/src/utils.js';import _0x4a3370 from'../commenteditor/commenteditor.js';import{getTranslation as _0x5b707d}from'../../../utils/common-translations.js';export default class Zt extends _0x5845a0{constructor(_0x46d3c4,_0x53daa3={}){super(_0x46d3c4),this[_0x30f3('0x3e')]=null,this[_0x30f3('0x39')]=_0x53daa3,this[_0x30f3('0x22')]=new _0x3ffed0(),this[_0x30f3('0x30')]=new _0x3e239e(),this[_0x30f3('0x13')]('value',_0x53daa3[_0x30f3('0xb')]||''),this[_0x30f3('0x13')](_0x30f3('0x14'),!0x1),this['set'](_0x30f3('0x27'),!0x0),this[_0x30f3('0x13')](_0x30f3('0x36'),_0x5b707d(_0x46d3c4,_0x30f3('0x38'))),this['set']('submitLabel',_0x5b707d(_0x46d3c4,_0x30f3('0x3b'))),this[_0x30f3('0x32')]=this['_createSubmitButton'](),this[_0x30f3('0x2d')]=this[_0x30f3('0x2f')](),this[_0x30f3('0x3c')]({'tag':_0x30f3('0x7'),'attributes':{'class':[_0x30f3('0x1c')]},'children':[{'tag':_0x30f3('0x7'),'attributes':{'class':[_0x30f3('0x31'),this[_0x30f3('0x25')]['if'](_0x30f3('0x27'),_0x30f3('0xe'))]},'children':[this[_0x30f3('0x32')],this[_0x30f3('0x2d')]]}]}),this[_0x30f3('0x22')][_0x30f3('0x13')](_0x30f3('0x41'),(_0x22812e,_0x4606cf)=>{this[_0x30f3('0x2d')][_0x30f3('0x18')]('execute'),_0x4606cf();}),this['on'](_0x30f3('0x11'),(_0x4b0b39,_0x30c80d)=>{_0x30c80d['length']>0xfde8?(alert(_0x5b707d(_0x46d3c4,_0x30f3('0x10'),[_0x30c80d['length'],0xfde8])),_0x4b0b39[_0x30f3('0x26')]()):this[_0x30f3('0x3e')][_0x30f3('0x2e')]('');},{'priority':_0x30f3('0x33')});}[_0x30f3('0x16')](){super[_0x30f3('0x16')](),this['keystrokes'][_0x30f3('0x28')](this['element']),this[_0x30f3('0x30')][_0x30f3('0x3')](this[_0x30f3('0x4')]);}[_0x30f3('0x1f')](){return this[_0x30f3('0x3e')]||(this[_0x30f3('0x3e')]=new _0x4a3370(this['_editorConfig']),this[_0x30f3('0x24')]=this[_0x30f3('0x3e')][_0x30f3('0x40')]()[_0x30f3('0x34')](()=>{if(this[_0x30f3('0xa')])return;const _0x5827de=this['editor'];this['element'][_0x30f3('0x20')](_0x5827de['ui']['element'],this[_0x30f3('0x4')][_0x30f3('0xf')]),_0x5827de['model'][_0x30f3('0x19')]['on'](_0x30f3('0x35'),()=>this[_0x30f3('0x15')]=_0x5827de[_0x30f3('0x12')]()),_0x5827de['bind'](_0x30f3('0x36'))['to'](this),this[_0x30f3('0x2')](this[_0x30f3('0x3e')]),this[_0x30f3('0x18')](_0x30f3('0x1e'),this[_0x30f3('0x3e')]);})),this[_0x30f3('0x24')];}[_0x30f3('0x1d')](){this[_0x30f3('0x3e')]&&this[_0x30f3('0x3e')][_0x30f3('0x1d')]();}async['destroy'](){this[_0x30f3('0xa')]||(this['_isDestroyed']=!0x0,this[_0x30f3('0x3e')]&&(await this[_0x30f3('0x24')],await this['editor'][_0x30f3('0x37')](),this['fire'](_0x30f3('0x17'),this[_0x30f3('0x3e')])),await super[_0x30f3('0x37')]());}[_0x30f3('0x8')](){const {locale:_0x48bd2c}=this,_0x24f3b5=new _0x24d000(_0x48bd2c);return _0x24f3b5[_0x30f3('0x5')]({'attributes':{'class':[_0x30f3('0x2c')]}}),_0x24f3b5[_0x30f3('0x2b')]=!0x0,_0x24f3b5['bind'](_0x30f3('0x1'))['to'](this,_0x30f3('0x3f')),_0x24f3b5['on'](_0x30f3('0x21'),()=>{this['fire']('submit',this[_0x30f3('0x15')]);}),_0x24f3b5['bind'](_0x30f3('0x6'))['to'](this,_0x30f3('0x15'),this,_0x30f3('0x14'),(_0x2451be,_0x6a17db)=>!_0x6a17db&&!!_0x2451be[_0x30f3('0x3d')]()),_0x24f3b5;}[_0x30f3('0x2f')](){const {locale:_0x46930e}=this,_0x5ac67b=new _0x24d000(_0x46930e);return _0x5ac67b[_0x30f3('0x5')]({'attributes':{'class':[_0x30f3('0x23')]}}),_0x5ac67b['label']=_0x5b707d(_0x46930e,_0x30f3('0x3a')),_0x5ac67b[_0x30f3('0x2b')]=!0x0,_0x5ac67b['on'](_0x30f3('0x21'),()=>{this[_0x30f3('0x3e')][_0x30f3('0x2e')](''),this[_0x30f3('0x18')](_0x30f3('0x1b'));}),_0x5ac67b;}[_0x30f3('0x2')](_0x2dddfb){const _0x7272e9=this['focusTracker'],_0x2f2aed=new _0x170408();[_0x2dddfb['ui'][_0x30f3('0x0')],this[_0x30f3('0x32')],this['cancelButtonView']][_0x30f3('0xd')](_0x736e8c=>{_0x2f2aed[_0x30f3('0x3')](_0x736e8c),_0x7272e9[_0x30f3('0x3')](_0x736e8c[_0x30f3('0x4')]);});const _0x5af6cc=new _0x154169({'focusables':_0x2f2aed,'focusTracker':_0x7272e9});this[_0x30f3('0x22')][_0x30f3('0x13')](_0x30f3('0x9'),(_0x4f5451,_0x4a8195)=>{_0x5af6cc[_0x30f3('0x2a')](),_0x4a8195();},{'priority':_0x30f3('0x29')}),this[_0x30f3('0x22')][_0x30f3('0x13')](_0x30f3('0xc'),(_0x5d6361,_0x56aa1c)=>{_0x5af6cc[_0x30f3('0x1a')](),_0x56aa1c();},{'priority':'low'});}}
23
+ const _0x1920=['submitButtonView','Reply...','focusNext','create','then','createEditor','showButtons','cancelButtonView','_initializeFocusCycling','getData','disabledSubmit','TOO_LONG_COMMENT_ALERT','fire','bindTemplate','setData','isEnabled','submit','change','_editorCreationPromise','ck-comment__input-wrapper','add','ck-comment__input-actions--active','_isDestroyed','listenTo','withText','label','focusPrevious','editorReady','submitLabel','keystrokes','cancel','bind','div','_createCancelButton','_editorConfig','focus','placeholder','_createSubmitButton','execute','editorDestroyed','set','model','Reply','destroy','initialData','element','ck-comment__input-actions--submit','trim','Esc','focusTracker','render','editor','low','length','value','forEach'];(function(_0x5b7a0a,_0x192017){const _0x2afb92=function(_0x5de409){while(--_0x5de409){_0x5b7a0a['push'](_0x5b7a0a['shift']());}};_0x2afb92(++_0x192017);}(_0x1920,0x1e4));const _0x2afb=function(_0x5b7a0a,_0x192017){_0x5b7a0a=_0x5b7a0a-0x0;let _0x2afb92=_0x1920[_0x5b7a0a];return _0x2afb92;};import{View as _0x2bd37e,ViewCollection as _0x5f1e8a,FocusCycler as _0x1ad91f,ButtonView as _0x3f1280}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4cebff,KeystrokeHandler as _0x5e2176}from'ckeditor5/src/utils.js';import _0x246dd7 from'../commenteditor/commenteditor.js';import{getTranslation as _0xc659c7}from'../../../utils/common-translations.js';export default class Zt extends _0x2bd37e{constructor(_0x27b28f,_0x47c52b={}){super(_0x27b28f),this[_0x2afb('0xf')]=null,this['_editorConfig']=_0x47c52b,this[_0x2afb('0x31')]=new _0x5e2176(),this[_0x2afb('0xd')]=new _0x4cebff(),this[_0x2afb('0x4')](_0x2afb('0x12'),_0x47c52b[_0x2afb('0x8')]||''),this[_0x2afb('0x4')](_0x2afb('0x1e'),!0x1),this[_0x2afb('0x4')](_0x2afb('0x1a'),!0x0),this[_0x2afb('0x4')](_0x2afb('0x0'),_0xc659c7(_0x27b28f,_0x2afb('0x15'))),this[_0x2afb('0x4')](_0x2afb('0x30'),_0xc659c7(_0x27b28f,_0x2afb('0x6'))),this[_0x2afb('0x14')]=this['_createSubmitButton'](),this['cancelButtonView']=this[_0x2afb('0x35')](),this['setTemplate']({'tag':_0x2afb('0x34'),'attributes':{'class':[_0x2afb('0x27')]},'children':[{'tag':_0x2afb('0x34'),'attributes':{'class':['ck-comment__input-actions',this[_0x2afb('0x21')]['if']('showButtons',_0x2afb('0x29'))]},'children':[this[_0x2afb('0x14')],this[_0x2afb('0x1b')]]}]}),this[_0x2afb('0x31')][_0x2afb('0x4')](_0x2afb('0xc'),(_0x2da47d,_0x1c8b88)=>{this['cancelButtonView']['fire'](_0x2afb('0x2')),_0x1c8b88();}),this['on'](_0x2afb('0x24'),(_0x499322,_0x43303c)=>{_0x43303c[_0x2afb('0x11')]>0xfde8?(alert(_0xc659c7(_0x27b28f,_0x2afb('0x1f'),[_0x43303c[_0x2afb('0x11')],0xfde8])),_0x499322['stop']()):this[_0x2afb('0xf')][_0x2afb('0x22')]('');},{'priority':'high'});}[_0x2afb('0xe')](){super[_0x2afb('0xe')](),this[_0x2afb('0x31')][_0x2afb('0x2b')](this['element']),this['focusTracker'][_0x2afb('0x28')](this[_0x2afb('0x9')]);}[_0x2afb('0x19')](){return this[_0x2afb('0xf')]||(this['editor']=new _0x246dd7(this[_0x2afb('0x36')]),this['_editorCreationPromise']=this['editor'][_0x2afb('0x17')]()[_0x2afb('0x18')](()=>{if(this[_0x2afb('0x2a')])return;const _0x43cb1e=this['editor'];this[_0x2afb('0x9')]['insertBefore'](_0x43cb1e['ui'][_0x2afb('0x9')],this[_0x2afb('0x9')]['firstChild']),_0x43cb1e[_0x2afb('0x5')]['document']['on'](_0x2afb('0x25'),()=>this[_0x2afb('0x12')]=_0x43cb1e[_0x2afb('0x1d')]()),_0x43cb1e[_0x2afb('0x33')]('placeholder')['to'](this),this['_initializeFocusCycling'](this[_0x2afb('0xf')]),this[_0x2afb('0x20')](_0x2afb('0x2f'),this[_0x2afb('0xf')]);})),this['_editorCreationPromise'];}[_0x2afb('0x37')](){this[_0x2afb('0xf')]&&this[_0x2afb('0xf')][_0x2afb('0x37')]();}async[_0x2afb('0x7')](){this[_0x2afb('0x2a')]||(this[_0x2afb('0x2a')]=!0x0,this[_0x2afb('0xf')]&&(await this[_0x2afb('0x26')],await this[_0x2afb('0xf')][_0x2afb('0x7')](),this[_0x2afb('0x20')](_0x2afb('0x3'),this[_0x2afb('0xf')])),await super['destroy']());}[_0x2afb('0x1')](){const {locale:_0x2a3976}=this,_0x47232b=new _0x3f1280(_0x2a3976);return _0x47232b['extendTemplate']({'attributes':{'class':[_0x2afb('0xa')]}}),_0x47232b['withText']=!0x0,_0x47232b[_0x2afb('0x33')]('label')['to'](this,_0x2afb('0x30')),_0x47232b['on'](_0x2afb('0x2'),()=>{this[_0x2afb('0x20')](_0x2afb('0x24'),this[_0x2afb('0x12')]);}),_0x47232b[_0x2afb('0x33')](_0x2afb('0x23'))['to'](this,_0x2afb('0x12'),this,_0x2afb('0x1e'),(_0x21422b,_0x455c16)=>!_0x455c16&&!!_0x21422b[_0x2afb('0xb')]()),_0x47232b;}[_0x2afb('0x35')](){const {locale:_0xdacd9c}=this,_0x59259c=new _0x3f1280(_0xdacd9c);return _0x59259c['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x59259c[_0x2afb('0x2d')]=_0xc659c7(_0xdacd9c,'Cancel'),_0x59259c[_0x2afb('0x2c')]=!0x0,_0x59259c['on']('execute',()=>{this['editor'][_0x2afb('0x22')](''),this[_0x2afb('0x20')](_0x2afb('0x32'));}),_0x59259c;}[_0x2afb('0x1c')](_0x32b3f3){const _0x234b3b=this[_0x2afb('0xd')],_0x490352=new _0x5f1e8a();[_0x32b3f3['ui']['view'],this['submitButtonView'],this[_0x2afb('0x1b')]][_0x2afb('0x13')](_0x3524b6=>{_0x490352[_0x2afb('0x28')](_0x3524b6),_0x234b3b['add'](_0x3524b6[_0x2afb('0x9')]);});const _0x29aaf2=new _0x1ad91f({'focusables':_0x490352,'focusTracker':_0x234b3b});this[_0x2afb('0x31')][_0x2afb('0x4')]('tab',(_0x4e186a,_0x1df4fe)=>{_0x29aaf2[_0x2afb('0x16')](),_0x1df4fe();},{'priority':_0x2afb('0x10')}),this[_0x2afb('0x31')][_0x2afb('0x4')]('shift\x20+\x20tab',(_0x39553b,_0x31a455)=>{_0x29aaf2[_0x2afb('0x2e')](),_0x31a455();},{'priority':_0x2afb('0x10')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5474=['render','remove','length','_keystrokes','selectstart','stopPropagation','_focusCycler','isEmpty','ck-hidden','setTemplate','ck-comments-archive__header\x20','set','arrowleft','_focusables','div','destroy','arrowup','shift\x20+\x20tab','tab','ck-comments-archive__content','arrowright','listenTo','high','EMPTY_COMMENTS_ARCHIVE','ck-comments-archive__info','_focusTracker','focus','bindTemplate','ck-comments-archive','element'];(function(_0x3bff62,_0x5474f5){const _0x591d1b=function(_0x50a149){while(--_0x50a149){_0x3bff62['push'](_0x3bff62['shift']());}};_0x591d1b(++_0x5474f5);}(_0x5474,0x160));const _0x591d=function(_0x3bff62,_0x5474f5){_0x3bff62=_0x3bff62-0x0;let _0x591d1b=_0x5474[_0x3bff62];return _0x591d1b;};import{View as _0x501ec2,FocusCycler as _0x1871ca}from'ckeditor5/src/ui.js';import{FocusTracker as _0x56e381,KeystrokeHandler as _0x756990}from'ckeditor5/src/utils.js';import{getTranslation as _0x245116}from'../../../utils/common-translations.js';export default class K extends _0x501ec2{constructor(_0x3019b8,_0x505c99){super(_0x3019b8),this['set'](_0x591d('0xf'),!_0x505c99[_0x591d('0xa')]),this[_0x591d('0x3')]=new _0x56e381(),this['_keystrokes']=new _0x756990(),this[_0x591d('0x15')]=_0x505c99,this[_0x591d('0xe')]=new _0x1871ca({'focusables':this['_focusables'],'focusTracker':this[_0x591d('0x3')],'keystrokeHandler':this[_0x591d('0xb')],'actions':{'focusPrevious':_0x591d('0x19'),'focusNext':_0x591d('0x1a')}}),this[_0x591d('0x1d')](_0x505c99,'add',()=>{this[_0x591d('0xf')]=!0x1;}),this[_0x591d('0x1d')](_0x505c99,_0x591d('0x9'),(_0x21a9f4,_0x11aad5)=>{_0x11aad5['isActive']&&this['focus'](),_0x505c99[_0x591d('0xa')]||(this[_0x591d('0xf')]=!0x0);});const _0xe82b7b=this[_0x591d('0x5')];this[_0x591d('0x11')]({'tag':_0x591d('0x16'),'attributes':{'dir':'auto','class':['ck',_0x591d('0x6')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x591d('0x12')]},'children':[{'text':_0x245116(_0x3019b8,'COMMENTS_ARCHIVE')}]},{'tag':_0x591d('0x16'),'attributes':{'class':[_0x591d('0x1b')]},'children':[{'tag':_0x591d('0x16'),'children':_0x505c99},{'tag':'p','attributes':{'class':[_0x591d('0x2'),_0xe82b7b['if']('isEmpty',_0x591d('0x10'),_0x219ba7=>!_0x219ba7)]},'children':[{'text':_0x245116(_0x3019b8,_0x591d('0x1'))}]}]}]});}[_0x591d('0x8')](){super[_0x591d('0x8')](),this['_keystrokes'][_0x591d('0x1d')](this[_0x591d('0x7')]);const _0x1d011c=_0x3d5f72=>_0x3d5f72[_0x591d('0xd')]();this[_0x591d('0xb')][_0x591d('0x13')](_0x591d('0x1c'),_0x1d011c),this[_0x591d('0xb')]['set'](_0x591d('0x14'),_0x1d011c),this[_0x591d('0xb')][_0x591d('0x13')](_0x591d('0x18'),_0x1d011c),this[_0x591d('0xb')][_0x591d('0x13')]('arrowdown',_0x1d011c),this['listenTo'](this[_0x591d('0x7')],_0x591d('0xc'),(_0x251cf3,_0x5d999f)=>{_0x5d999f[_0x591d('0xd')]();},{'priority':_0x591d('0x0')});}[_0x591d('0x17')](){super[_0x591d('0x17')](),this[_0x591d('0x3')][_0x591d('0x17')](),this['_keystrokes'][_0x591d('0x17')]();}[_0x591d('0x4')](){this[_0x591d('0x7')][_0x591d('0x4')]();}}
23
+ const _0x29e2=['div','_focusables','set','arrowright','COMMENTS_ARCHIVE','stopPropagation','length','arrowup','focus','ck-hidden','_focusTracker','isActive','tab','isEmpty','_keystrokes','element','shift\x20+\x20tab','listenTo','arrowleft','destroy','render','_focusCycler','remove','selectstart','ck-comments-archive','ck-comments-archive__info','auto','ck-comments-archive__content','arrowdown','EMPTY_COMMENTS_ARCHIVE'];(function(_0x5a1d58,_0x29e242){const _0x3840ba=function(_0x5668aa){while(--_0x5668aa){_0x5a1d58['push'](_0x5a1d58['shift']());}};_0x3840ba(++_0x29e242);}(_0x29e2,0x1de));const _0x3840=function(_0x5a1d58,_0x29e242){_0x5a1d58=_0x5a1d58-0x0;let _0x3840ba=_0x29e2[_0x5a1d58];return _0x3840ba;};import{View as _0x56ba17,FocusCycler as _0x30ca0c}from'ckeditor5/src/ui.js';import{FocusTracker as _0xa7856,KeystrokeHandler as _0x4c2b5f}from'ckeditor5/src/utils.js';import{getTranslation as _0x36be11}from'../../../utils/common-translations.js';export default class K extends _0x56ba17{constructor(_0x431abb,_0x5648f5){super(_0x431abb),this[_0x3840('0x4')](_0x3840('0xf'),!_0x5648f5[_0x3840('0x8')]),this[_0x3840('0xc')]=new _0xa7856(),this[_0x3840('0x10')]=new _0x4c2b5f(),this[_0x3840('0x3')]=_0x5648f5,this[_0x3840('0x17')]=new _0x30ca0c({'focusables':this[_0x3840('0x3')],'focusTracker':this[_0x3840('0xc')],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':_0x3840('0x12'),'focusNext':_0x3840('0xe')}}),this[_0x3840('0x13')](_0x5648f5,'add',()=>{this[_0x3840('0xf')]=!0x1;}),this[_0x3840('0x13')](_0x5648f5,_0x3840('0x18'),(_0x4963c0,_0x4b127e)=>{_0x4b127e[_0x3840('0xd')]&&this[_0x3840('0xa')](),_0x5648f5[_0x3840('0x8')]||(this[_0x3840('0xf')]=!0x0);});const _0x3b0730=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'dir':_0x3840('0x1c'),'class':['ck',_0x3840('0x1a')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':['ck-comments-archive__header\x20']},'children':[{'text':_0x36be11(_0x431abb,_0x3840('0x6'))}]},{'tag':_0x3840('0x2'),'attributes':{'class':[_0x3840('0x1d')]},'children':[{'tag':_0x3840('0x2'),'children':_0x5648f5},{'tag':'p','attributes':{'class':[_0x3840('0x1b'),_0x3b0730['if']('isEmpty',_0x3840('0xb'),_0x2f3cab=>!_0x2f3cab)]},'children':[{'text':_0x36be11(_0x431abb,_0x3840('0x1'))}]}]}]});}['render'](){super[_0x3840('0x16')](),this['_keystrokes'][_0x3840('0x13')](this['element']);const _0x33f038=_0x5c4298=>_0x5c4298['stopPropagation']();this[_0x3840('0x10')]['set'](_0x3840('0x5'),_0x33f038),this[_0x3840('0x10')][_0x3840('0x4')](_0x3840('0x14'),_0x33f038),this[_0x3840('0x10')]['set'](_0x3840('0x9'),_0x33f038),this[_0x3840('0x10')][_0x3840('0x4')](_0x3840('0x0'),_0x33f038),this[_0x3840('0x13')](this[_0x3840('0x11')],_0x3840('0x19'),(_0x1ade97,_0x1d8c9b)=>{_0x1d8c9b[_0x3840('0x7')]();},{'priority':'high'});}[_0x3840('0x15')](){super[_0x3840('0x15')](),this[_0x3840('0xc')][_0x3840('0x15')](),this[_0x3840('0x10')][_0x3840('0x15')]();}[_0x3840('0xa')](){this['element']['focus']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5869=['isEditMode','some','from','editorConfig','remove','_handleRemoveCommentModel','resolvedCommentView','editorDestroyed','_rearrangeCollapse','commentUpdated','resolvedAt','_rearrangeExpand','isActive','authoredAt','resolvedBy','_handleNewCommentModel','listenTo','equal','_model','_config','expand','delegate','setTemplate','maxCommentsWhenCollapsed','editorReady','createCollection','maxCommentCharsWhenCollapsed','change:isResolved','Marked\x20as\x20resolved','hasDirtyComment','stopListening','updateComment','set','render','_findOptimalIndex','formatDateTime','bind','comments','refreshVisibleViews','change:isEditMode','change:isActive','CommentView','_updateHasDirtyComment','delete','locale','length','change:hasDirtyComment','_handleInfoComment','commentViews','resolved','_collapsedCommentsView','viewUid','visibleViews','maxThreadTotalWeight','focus','ck-thread__comments','_shouldCollapse','add','destroy','resolveCommentThread','weight'];(function(_0x378b74,_0x586989){const _0x1b1123=function(_0x4e9dc5){while(--_0x4e9dc5){_0x378b74['push'](_0x378b74['shift']());}};_0x1b1123(++_0x586989);}(_0x5869,0x14d));const _0x1b11=function(_0x378b74,_0x586989){_0x378b74=_0x378b74-0x0;let _0x1b1123=_0x5869[_0x378b74];return _0x1b1123;};import{View as _0x135ffe}from'ckeditor5/src/ui.js';import{diff as _0x553c3a,Collection as _0x31bd84}from'ckeditor5/src/utils.js';import{getTranslation as _0x1d858c}from'../../../utils/common-translations.js';import _0x121c39 from'./collapsedcommentsview.js';export default class vt extends _0x135ffe{constructor(_0x135048,_0x3e751a,_0x4270df){super(_0x135048),this[_0x1b11('0x4')](_0x1b11('0x1'),!0x1),this['set'](_0x1b11('0x11'),_0x3e751a['comments']['length']),this[_0x1b11('0x4')](_0x1b11('0x2d'),!0x1),this[_0x1b11('0x33')]=_0x3e751a,this[_0x1b11('0x34')]=_0x4270df,this[_0x1b11('0x14')]=this[_0x1b11('0x3a')](),this[_0x1b11('0x18')]=this[_0x1b11('0x3a')](),this[_0x1b11('0x27')]=null,this[_0x1b11('0x16')]=new _0x121c39(_0x135048),this[_0x1b11('0x16')][_0x1b11('0x8')]('count')['to'](this,_0x1b11('0x11'),_0xc65598=>_0xc65598-this[_0x1b11('0x34')][_0x1b11('0x38')]);for(const _0x408626 of _0x3e751a[_0x1b11('0x9')])this['_handleNewCommentModel'](_0x408626);this['_handleInfoComment'](),this[_0x1b11('0x31')](_0x3e751a[_0x1b11('0x9')],_0x1b11('0x1d'),(_0x29fe85,_0x5dafa9)=>{const _0x567a35=this['_calculatePosition'](_0x5dafa9);this[_0x1b11('0x11')]++,this[_0x1b11('0x30')](_0x5dafa9,_0x567a35),this[_0x1b11('0xa')]();}),this['listenTo'](_0x3e751a[_0x1b11('0x9')],_0x1b11('0x25'),(_0xf27e31,_0x339e36)=>{this['length']--,this[_0x1b11('0x26')](_0x339e36),this[_0x1b11('0xa')]();}),this['listenTo'](_0x3e751a,_0x1b11('0x2a'),()=>this[_0x1b11('0xa')]()),this[_0x1b11('0x31')](_0x3e751a,_0x1b11('0x3c'),()=>this[_0x1b11('0x13')]()),this['on'](_0x1b11('0xc'),()=>this['refreshVisibleViews']()),this['on'](_0x1b11('0x12'),()=>this[_0x1b11('0xa')]()),this[_0x1b11('0x37')]({'tag':'ul','attributes':{'class':[_0x1b11('0x1b')]},'children':this[_0x1b11('0x18')]});}get[_0x1b11('0x1c')](){return this['_model'][_0x1b11('0x20')]>this[_0x1b11('0x34')][_0x1b11('0x19')]&&!this[_0x1b11('0x2d')]&&!this[_0x1b11('0x1')];}[_0x1b11('0x5')](){super[_0x1b11('0x5')](),this[_0x1b11('0xa')]();}['focus'](){this['element'][_0x1b11('0x1a')]();}[_0x1b11('0x1e')](){this[_0x1b11('0x16')][_0x1b11('0x1e')]();for(const _0x3111ce of this[_0x1b11('0x14')])_0x3111ce[_0x1b11('0x1e')]();super['destroy']();}[_0x1b11('0xa')](){this[_0x1b11('0x1c')]?this['_rearrangeCollapse']():this[_0x1b11('0x2c')]();}[_0x1b11('0x30')](_0x180884,_0x2064b4){const _0x4df7d9=new this[(_0x1b11('0x34'))][(_0x1b11('0xd'))](this[_0x1b11('0x10')],_0x180884,{'maxCommentCharsWhenCollapsed':this[_0x1b11('0x34')][_0x1b11('0x3b')],'formatDateTime':this['_config'][_0x1b11('0x7')],'editorConfig':this[_0x1b11('0x34')][_0x1b11('0x24')]});_0x4df7d9[_0x1b11('0x17')]=_0x180884['id'],_0x4df7d9['delegate']('removeComment')['to'](this),_0x4df7d9[_0x1b11('0x36')](_0x1b11('0x3'))['to'](this),_0x4df7d9[_0x1b11('0x36')](_0x1b11('0x1f'))['to'](this),_0x4df7d9[_0x1b11('0x36')](_0x1b11('0x39'))['to'](this),_0x4df7d9[_0x1b11('0x36')](_0x1b11('0x28'))['to'](this),this['listenTo'](_0x4df7d9,_0x1b11('0xb'),()=>this[_0x1b11('0xe')]()),this[_0x1b11('0x14')]['add'](_0x4df7d9,_0x2064b4);}['_calculatePosition'](_0x4d4be7){const _0x33133a=this['_model'][_0x1b11('0x6')](_0x4d4be7);return this[_0x1b11('0x27')]?this[_0x1b11('0x27')][_0x1b11('0x2e')]>_0x4d4be7[_0x1b11('0x2e')]?_0x33133a-0x1:_0x33133a:_0x33133a-0x1;}['_handleInfoComment'](){if(this[_0x1b11('0x33')]['resolvedBy']&&this[_0x1b11('0x33')][_0x1b11('0x2b')]){const _0x4395c0={'id':_0x1b11('0x15'),'author':this[_0x1b11('0x33')][_0x1b11('0x2f')],'authoredAt':this['_model'][_0x1b11('0x2b')],'content':_0x1d858c(this[_0x1b11('0x10')],_0x1b11('0x0')),'attributes':{}};this[_0x1b11('0x27')]=new this['_config'][(_0x1b11('0xd'))](this[_0x1b11('0x10')],_0x4395c0,{'maxCommentCharsWhenCollapsed':this[_0x1b11('0x34')][_0x1b11('0x3b')],'formatDateTime':this[_0x1b11('0x34')][_0x1b11('0x7')],'editorConfig':this[_0x1b11('0x34')][_0x1b11('0x24')],'isSystemComment':!0x0}),this['commentViews']['add'](this['resolvedCommentView'],this['_model'][_0x1b11('0x6')](_0x4395c0));}else this['resolvedCommentView']&&(this['commentViews'][_0x1b11('0x25')](this[_0x1b11('0x27')]),this['resolvedCommentView'][_0x1b11('0x1e')](),this[_0x1b11('0x27')]=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x194281){const _0x16ecb8=this[_0x1b11('0x14')][_0x1b11('0x25')](_0x194281['id']);this[_0x1b11('0x2')](_0x16ecb8),_0x16ecb8['isEditMode']&&this[_0x1b11('0xe')](),_0x16ecb8[_0x1b11('0x1e')]();}['_updateHasDirtyComment'](){this[_0x1b11('0x1')]=Array[_0x1b11('0x23')](this[_0x1b11('0x14')])[_0x1b11('0x22')](_0x5b715d=>_0x5b715d[_0x1b11('0x21')]);}[_0x1b11('0x29')](){const _0x338573=function(_0x1df4b0){const _0x2eab95=new _0x31bd84();for(const _0x5844d1 of _0x1df4b0)_0x2eab95[_0x1b11('0x1d')](_0x5844d1);return _0x2eab95;}(this[_0x1b11('0x14')]),_0x5e2006=this[_0x1b11('0x16')]['count'];for(let _0x33cf09=0x1;_0x33cf09<=_0x5e2006;_0x33cf09++)_0x338573[_0x1b11('0x25')](0x1);for(const _0x2fc782 of _0x338573)_0x2fc782['collapse']();_0x5e2006>0x0&&_0x338573[_0x1b11('0x1d')](this[_0x1b11('0x16')],0x1),is(_0x553c3a(Array[_0x1b11('0x23')](this[_0x1b11('0x18')]),Array[_0x1b11('0x23')](_0x338573)),this[_0x1b11('0x18')],_0x338573);}['_rearrangeExpand'](){is(_0x553c3a(Array[_0x1b11('0x23')](this[_0x1b11('0x18')]),Array[_0x1b11('0x23')](this[_0x1b11('0x14')])),this[_0x1b11('0x18')],this[_0x1b11('0x14')]);for(const _0x2fa3df of this[_0x1b11('0x18')])_0x2fa3df[_0x1b11('0x35')]();}}function is(_0x1e9144,_0x5192d9,_0x1c2e62){let _0x334aab=0x0;for(const _0x3c1623 of _0x1e9144)switch(_0x3c1623){case'insert':_0x5192d9[_0x1b11('0x1d')](_0x1c2e62['get'](_0x334aab),_0x334aab),_0x334aab++;break;case _0x1b11('0xf'):_0x5192d9['remove'](_0x334aab);break;case _0x1b11('0x32'):_0x334aab++;}}
23
+ const _0x46eb=['insert','get','remove','comments','_shouldCollapse','_collapsedCommentsView','_handleRemoveCommentModel','setTemplate','formatDateTime','_calculatePosition','bind','delegate','_rearrangeCollapse','stopListening','CommentView','refreshVisibleViews','_handleInfoComment','from','ck-thread__comments','weight','resolved','resolvedBy','createCollection','resolvedCommentView','resolvedAt','_model','change:isEditMode','_rearrangeExpand','editorConfig','length','maxCommentsWhenCollapsed','set','maxThreadTotalWeight','render','editorReady','delete','equal','viewUid','authoredAt','updateComment','destroy','maxCommentCharsWhenCollapsed','listenTo','expand','focus','_handleNewCommentModel','visibleViews','_config','resolveCommentThread','commentViews','removeComment','commentUpdated','change:isResolved','isActive','locale','_findOptimalIndex','count','hasDirtyComment','_updateHasDirtyComment','add'];(function(_0x5ca223,_0x46eb52){const _0x3da3d6=function(_0x332285){while(--_0x332285){_0x5ca223['push'](_0x5ca223['shift']());}};_0x3da3d6(++_0x46eb52);}(_0x46eb,0x1e9));const _0x3da3=function(_0x5ca223,_0x46eb52){_0x5ca223=_0x5ca223-0x0;let _0x3da3d6=_0x46eb[_0x5ca223];return _0x3da3d6;};import{View as _0x52d93e}from'ckeditor5/src/ui.js';import{diff as _0x4ef3b3,Collection as _0x4fb8b7}from'ckeditor5/src/utils.js';import{getTranslation as _0xd1619f}from'../../../utils/common-translations.js';import _0x5729f2 from'./collapsedcommentsview.js';export default class vt extends _0x52d93e{constructor(_0x70d246,_0x26b4a5,_0x1ce070){super(_0x70d246),this[_0x3da3('0x16')](_0x3da3('0x30'),!0x1),this[_0x3da3('0x16')](_0x3da3('0x14'),_0x26b4a5['comments'][_0x3da3('0x14')]),this[_0x3da3('0x16')](_0x3da3('0x2c'),!0x1),this[_0x3da3('0x10')]=_0x26b4a5,this['_config']=_0x1ce070,this['commentViews']=this[_0x3da3('0xd')](),this[_0x3da3('0x25')]=this[_0x3da3('0xd')](),this[_0x3da3('0xe')]=null,this['_collapsedCommentsView']=new _0x5729f2(_0x70d246),this[_0x3da3('0x38')][_0x3da3('0x1')]('count')['to'](this,'length',_0x22d0df=>_0x22d0df-this[_0x3da3('0x26')][_0x3da3('0x15')]);for(const _0x876c56 of _0x26b4a5['comments'])this['_handleNewCommentModel'](_0x876c56);this[_0x3da3('0x7')](),this[_0x3da3('0x21')](_0x26b4a5['comments'],'add',(_0x1bd4ce,_0x29b86c)=>{const _0x42f27c=this['_calculatePosition'](_0x29b86c);this[_0x3da3('0x14')]++,this[_0x3da3('0x24')](_0x29b86c,_0x42f27c),this['refreshVisibleViews']();}),this['listenTo'](_0x26b4a5[_0x3da3('0x36')],'remove',(_0x3653b1,_0x452106)=>{this['length']--,this[_0x3da3('0x39')](_0x452106),this['refreshVisibleViews']();}),this[_0x3da3('0x21')](_0x26b4a5,_0x3da3('0x2a'),()=>this[_0x3da3('0x6')]()),this['listenTo'](_0x26b4a5,_0x3da3('0x2b'),()=>this[_0x3da3('0x7')]()),this['on']('change:isActive',()=>this[_0x3da3('0x6')]()),this['on']('change:hasDirtyComment',()=>this[_0x3da3('0x6')]()),this[_0x3da3('0x3a')]({'tag':'ul','attributes':{'class':[_0x3da3('0x9')]},'children':this[_0x3da3('0x25')]});}get[_0x3da3('0x37')](){return this[_0x3da3('0x10')][_0x3da3('0xa')]>this[_0x3da3('0x26')][_0x3da3('0x17')]&&!this[_0x3da3('0x2c')]&&!this[_0x3da3('0x30')];}[_0x3da3('0x18')](){super['render'](),this[_0x3da3('0x6')]();}[_0x3da3('0x23')](){this['element']['focus']();}['destroy'](){this[_0x3da3('0x38')][_0x3da3('0x1f')]();for(const _0x3b7b73 of this[_0x3da3('0x28')])_0x3b7b73[_0x3da3('0x1f')]();super[_0x3da3('0x1f')]();}[_0x3da3('0x6')](){this[_0x3da3('0x37')]?this['_rearrangeCollapse']():this['_rearrangeExpand']();}[_0x3da3('0x24')](_0x1d32f4,_0x2fdcf8){const _0x46274d=new this[(_0x3da3('0x26'))][(_0x3da3('0x5'))](this['locale'],_0x1d32f4,{'maxCommentCharsWhenCollapsed':this[_0x3da3('0x26')][_0x3da3('0x20')],'formatDateTime':this[_0x3da3('0x26')][_0x3da3('0x3b')],'editorConfig':this['_config'][_0x3da3('0x13')]});_0x46274d[_0x3da3('0x1c')]=_0x1d32f4['id'],_0x46274d[_0x3da3('0x2')](_0x3da3('0x29'))['to'](this),_0x46274d['delegate'](_0x3da3('0x1e'))['to'](this),_0x46274d[_0x3da3('0x2')](_0x3da3('0x27'))['to'](this),_0x46274d['delegate'](_0x3da3('0x19'))['to'](this),_0x46274d[_0x3da3('0x2')]('editorDestroyed')['to'](this),this[_0x3da3('0x21')](_0x46274d,_0x3da3('0x11'),()=>this[_0x3da3('0x31')]()),this[_0x3da3('0x28')][_0x3da3('0x32')](_0x46274d,_0x2fdcf8);}[_0x3da3('0x0')](_0x10f8bc){const _0x3b1717=this[_0x3da3('0x10')][_0x3da3('0x2e')](_0x10f8bc);return this[_0x3da3('0xe')]?this[_0x3da3('0xe')]['authoredAt']>_0x10f8bc[_0x3da3('0x1d')]?_0x3b1717-0x1:_0x3b1717:_0x3b1717-0x1;}[_0x3da3('0x7')](){if(this[_0x3da3('0x10')][_0x3da3('0xc')]&&this[_0x3da3('0x10')][_0x3da3('0xf')]){const _0x472817={'id':_0x3da3('0xb'),'author':this[_0x3da3('0x10')][_0x3da3('0xc')],'authoredAt':this[_0x3da3('0x10')][_0x3da3('0xf')],'content':_0xd1619f(this[_0x3da3('0x2d')],'Marked\x20as\x20resolved'),'attributes':{}};this[_0x3da3('0xe')]=new this[(_0x3da3('0x26'))][(_0x3da3('0x5'))](this[_0x3da3('0x2d')],_0x472817,{'maxCommentCharsWhenCollapsed':this[_0x3da3('0x26')][_0x3da3('0x20')],'formatDateTime':this[_0x3da3('0x26')][_0x3da3('0x3b')],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this[_0x3da3('0x28')][_0x3da3('0x32')](this[_0x3da3('0xe')],this[_0x3da3('0x10')]['_findOptimalIndex'](_0x472817));}else this[_0x3da3('0xe')]&&(this[_0x3da3('0x28')][_0x3da3('0x35')](this[_0x3da3('0xe')]),this[_0x3da3('0xe')]['destroy'](),this[_0x3da3('0xe')]=null);this[_0x3da3('0x6')]();}[_0x3da3('0x39')](_0x4853f5){const _0x25aeb6=this['commentViews'][_0x3da3('0x35')](_0x4853f5['id']);this[_0x3da3('0x4')](_0x25aeb6),_0x25aeb6['isEditMode']&&this[_0x3da3('0x31')](),_0x25aeb6[_0x3da3('0x1f')]();}[_0x3da3('0x31')](){this['hasDirtyComment']=Array[_0x3da3('0x8')](this[_0x3da3('0x28')])['some'](_0xe8213d=>_0xe8213d['isEditMode']);}[_0x3da3('0x3')](){const _0x493c21=function(_0x18fbfd){const _0x37e151=new _0x4fb8b7();for(const _0x1ef7db of _0x18fbfd)_0x37e151[_0x3da3('0x32')](_0x1ef7db);return _0x37e151;}(this['commentViews']),_0x71faac=this['_collapsedCommentsView'][_0x3da3('0x2f')];for(let _0x371546=0x1;_0x371546<=_0x71faac;_0x371546++)_0x493c21[_0x3da3('0x35')](0x1);for(const _0x422f04 of _0x493c21)_0x422f04['collapse']();_0x71faac>0x0&&_0x493c21[_0x3da3('0x32')](this[_0x3da3('0x38')],0x1),is(_0x4ef3b3(Array[_0x3da3('0x8')](this[_0x3da3('0x25')]),Array[_0x3da3('0x8')](_0x493c21)),this[_0x3da3('0x25')],_0x493c21);}[_0x3da3('0x12')](){is(_0x4ef3b3(Array[_0x3da3('0x8')](this[_0x3da3('0x25')]),Array[_0x3da3('0x8')](this[_0x3da3('0x28')])),this['visibleViews'],this[_0x3da3('0x28')]);for(const _0x3afc4a of this[_0x3da3('0x25')])_0x3afc4a[_0x3da3('0x22')]();}}function is(_0xdd981f,_0x4f819c,_0x2a9900){let _0x9eec99=0x0;for(const _0x34ff93 of _0xdd981f)switch(_0x34ff93){case _0x3da3('0x33'):_0x4f819c[_0x3da3('0x32')](_0x2a9900[_0x3da3('0x34')](_0x9eec99),_0x9eec99),_0x9eec99++;break;case _0x3da3('0x1a'):_0x4f819c[_0x3da3('0x35')](_0x9eec99);break;case _0x3da3('0x1b'):_0x9eec99++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3816=['contextValue','ck-context','offsetWidth','context','_attachContextActions','icon','execute','bind','label','classList','listenTo','isResolved','_createReopenButton','lastIndexOf','Comment\x20was\x20made\x20on\x20an\x20element','_model','isVisible','length','isResolvable','Reopen','div','ck-thread__header','mouseleave','ck-context-wrapper','render','.ck-context__value','...','querySelector','ck-annotation__actions','.ck-context','value','isEnabled','bindTemplate','overlay','setTemplate','scrollWidth','isReadOnly','locale','tooltip','_trimContextValue','hasContext','ck-context__value','span','reopenButtonView','substring'];(function(_0x465288,_0x381609){const _0x542382=function(_0x50c4c8){while(--_0x50c4c8){_0x465288['push'](_0x465288['shift']());}};_0x542382(++_0x381609);}(_0x3816,0x18b));const _0x5423=function(_0x465288,_0x381609){_0x465288=_0x465288-0x0;let _0x542382=_0x3816[_0x465288];return _0x542382;};import{View as _0x2e1b31,ButtonView as _0x3081a6}from'ckeditor5/src/ui.js';import{getTranslation as _0x3bea70}from'../../../utils/common-translations.js';import _0xdd6354 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x2e1b31{constructor(_0x32694f,_0x34b46a){super(_0x32694f);const _0x2ffee4=this[_0x5423('0x2a')];this[_0x5423('0x19')]=_0x34b46a,this[_0x5423('0x8')]=this[_0x5423('0x16')](),this[_0x5423('0x11')](_0x5423('0x5'))['to'](this[_0x5423('0x19')],_0x5423('0xd'),_0x19c795=>!!_0x19c795),this[_0x5423('0x11')](_0x5423('0xa'))['to'](this[_0x5423('0x19')],_0x5423('0xd'),_0x4fdf09=>_0x4fdf09&&_0x4fdf09[_0x5423('0x28')]?this[_0x5423('0x4')](_0x4fdf09[_0x5423('0x28')]):_0x3bea70(this[_0x5423('0x2')],_0x5423('0x18'))),this[_0x5423('0x2c')]({'tag':_0x5423('0x1e'),'attributes':{'class':[_0x5423('0x1f')]},'children':[{'tag':'div','attributes':{'class':[_0x5423('0x21')]},'children':[{'tag':'div','attributes':{'class':[_0x5423('0xb'),_0x2ffee4['if']('hasContext','ck-context--quotes')]},'children':[{'tag':_0x5423('0x7'),'attributes':{'class':[_0x5423('0x6')]},'children':[{'text':_0x2ffee4['to'](_0x5423('0xa'))}]}]}]},{'tag':_0x5423('0x1e'),'attributes':{'class':[_0x5423('0x26')]},'children':[this[_0x5423('0x8')]]}]});}[_0x5423('0x22')](){super[_0x5423('0x22')](),this[_0x5423('0xe')]();}[_0x5423('0x16')](){const _0xfee07e=new _0x3081a6(this[_0x5423('0x2')]);return _0xfee07e[_0x5423('0x12')]=_0x3bea70(this[_0x5423('0x2')],_0x5423('0x1d')),_0xfee07e[_0x5423('0x3')]=_0x3bea70(this[_0x5423('0x2')],_0x5423('0x1d')),_0xfee07e[_0x5423('0xf')]=_0xdd6354,_0xfee07e[_0x5423('0x11')](_0x5423('0x29'))['to'](this['_model'],_0x5423('0x1'),_0x731dc9=>!_0x731dc9),_0xfee07e[_0x5423('0x11')](_0x5423('0x1a'))['to'](this[_0x5423('0x19')],_0x5423('0x1c'),this[_0x5423('0x19')],_0x5423('0x15'),(_0x23d6a8,_0x255412)=>_0x23d6a8&&_0x255412),_0xfee07e['on'](_0x5423('0x10'),()=>{this['fire']('reopenCommentThread',this[_0x5423('0x19')]['id']);}),_0xfee07e;}[_0x5423('0x4')](_0x2a55cc){if(_0x2a55cc[_0x5423('0x1b')]<0x96)return _0x2a55cc;const _0x4c35d7=_0x2a55cc[_0x5423('0x17')]('\x20',0x93);return _0x2a55cc[_0x5423('0x9')](0x0,_0x4c35d7>-0x1?_0x4c35d7:0x93)+_0x5423('0x24');}[_0x5423('0xe')](){const _0x31ff78=this['element'][_0x5423('0x25')](_0x5423('0x27')),_0x36624e=_0x31ff78[_0x5423('0x25')](_0x5423('0x23'));this[_0x5423('0x14')](_0x31ff78,'mouseenter',()=>{_0x36624e[_0x5423('0xc')]<_0x36624e[_0x5423('0x0')]&&_0x31ff78['classList']['add'](_0x5423('0x2b'));}),this[_0x5423('0x14')](_0x31ff78,_0x5423('0x20'),()=>{_0x31ff78[_0x5423('0x13')]['remove'](_0x5423('0x2b'));});}}
23
+ const _0x3ee9=['mouseenter','isReadOnly','label','reopenButtonView','overlay','_createReopenButton','icon','hasContext','contextValue','fire','isResolved','ck-context-wrapper','add','listenTo','render','ck-context','querySelector','.ck-context__value','...','classList','reopenCommentThread','value','div','isVisible','locale','bind','element','tooltip','ck-annotation__actions','isEnabled','Comment\x20was\x20made\x20on\x20an\x20element','execute','substring','ck-context--quotes','scrollWidth','context','Reopen','lastIndexOf','offsetWidth','bindTemplate','_model','length','ck-context__value','_trimContextValue','_attachContextActions'];(function(_0x2dcb35,_0x3ee907){const _0x44dc40=function(_0x5d0bf8){while(--_0x5d0bf8){_0x2dcb35['push'](_0x2dcb35['shift']());}};_0x44dc40(++_0x3ee907);}(_0x3ee9,0x124));const _0x44dc=function(_0x2dcb35,_0x3ee907){_0x2dcb35=_0x2dcb35-0x0;let _0x44dc40=_0x3ee9[_0x2dcb35];return _0x44dc40;};import{View as _0x2a641e,ButtonView as _0x5ba301}from'ckeditor5/src/ui.js';import{getTranslation as _0x1564e4}from'../../../utils/common-translations.js';import _0xc012a from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x2a641e{constructor(_0x2888ed,_0x3ea38c){super(_0x2888ed);const _0x334676=this[_0x44dc('0x11')];this[_0x44dc('0x12')]=_0x3ea38c,this[_0x44dc('0x1a')]=this[_0x44dc('0x1c')](),this[_0x44dc('0x3')]('hasContext')['to'](this[_0x44dc('0x12')],'context',_0x4b5749=>!!_0x4b5749),this['bind']('contextValue')['to'](this['_model'],_0x44dc('0xd'),_0x13109f=>_0x13109f&&_0x13109f[_0x44dc('0x2c')]?this['_trimContextValue'](_0x13109f[_0x44dc('0x2c')]):_0x1564e4(this[_0x44dc('0x2')],_0x44dc('0x8'))),this['setTemplate']({'tag':_0x44dc('0x0'),'attributes':{'class':['ck-thread__header']},'children':[{'tag':'div','attributes':{'class':[_0x44dc('0x22')]},'children':[{'tag':_0x44dc('0x0'),'attributes':{'class':[_0x44dc('0x26'),_0x334676['if'](_0x44dc('0x1e'),_0x44dc('0xb'))]},'children':[{'tag':'span','attributes':{'class':[_0x44dc('0x14')]},'children':[{'text':_0x334676['to'](_0x44dc('0x1f'))}]}]}]},{'tag':_0x44dc('0x0'),'attributes':{'class':[_0x44dc('0x6')]},'children':[this[_0x44dc('0x1a')]]}]});}[_0x44dc('0x25')](){super['render'](),this[_0x44dc('0x16')]();}[_0x44dc('0x1c')](){const _0x1181f2=new _0x5ba301(this[_0x44dc('0x2')]);return _0x1181f2[_0x44dc('0x19')]=_0x1564e4(this[_0x44dc('0x2')],'Reopen'),_0x1181f2[_0x44dc('0x5')]=_0x1564e4(this[_0x44dc('0x2')],_0x44dc('0xe')),_0x1181f2[_0x44dc('0x1d')]=_0xc012a,_0x1181f2[_0x44dc('0x3')](_0x44dc('0x7'))['to'](this[_0x44dc('0x12')],_0x44dc('0x18'),_0x50564f=>!_0x50564f),_0x1181f2[_0x44dc('0x3')](_0x44dc('0x1'))['to'](this[_0x44dc('0x12')],'isResolvable',this[_0x44dc('0x12')],_0x44dc('0x21'),(_0xff3254,_0x536f2a)=>_0xff3254&&_0x536f2a),_0x1181f2['on'](_0x44dc('0x9'),()=>{this[_0x44dc('0x20')](_0x44dc('0x2b'),this['_model']['id']);}),_0x1181f2;}[_0x44dc('0x15')](_0x494230){if(_0x494230[_0x44dc('0x13')]<0x96)return _0x494230;const _0x42cef4=_0x494230[_0x44dc('0xf')]('\x20',0x93);return _0x494230[_0x44dc('0xa')](0x0,_0x42cef4>-0x1?_0x42cef4:0x93)+_0x44dc('0x29');}[_0x44dc('0x16')](){const _0x366c0e=this[_0x44dc('0x4')]['querySelector']('.ck-context'),_0x4169ce=_0x366c0e[_0x44dc('0x27')](_0x44dc('0x28'));this[_0x44dc('0x24')](_0x366c0e,_0x44dc('0x17'),()=>{_0x4169ce[_0x44dc('0x10')]<_0x4169ce[_0x44dc('0xc')]&&_0x366c0e[_0x44dc('0x2a')][_0x44dc('0x23')](_0x44dc('0x1b'));}),this[_0x44dc('0x24')](_0x366c0e,'mouseleave',()=>{_0x366c0e[_0x44dc('0x2a')]['remove'](_0x44dc('0x1b'));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3e01=['ck-comment__input-container','change:showInput','isFocused','extendTemplate','createEditor','showInput','value','editorDestroyed','ck-comment__input-container--active','destroy','div','bind','ck-thread__input','then','bindTemplate','editor','commentInputView','delegate','editorReady','set','userView','showButtons'];(function(_0x1e07a9,_0x3e01f5){var _0x51730b=function(_0x186b7b){while(--_0x186b7b){_0x1e07a9['push'](_0x1e07a9['shift']());}};_0x51730b(++_0x3e01f5);}(_0x3e01,0xe2));var _0x5173=function(_0x1e07a9,_0x3e01f5){_0x1e07a9=_0x1e07a9-0x0;var _0x51730b=_0x3e01[_0x1e07a9];return _0x51730b;};import{View as _0x4bc2d6}from'ckeditor5/src/ui.js';import _0x1c1e60 from'./commentinputview.js';import{UserView as _0xff231b}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Ct extends _0x4bc2d6{constructor(_0x485930,_0x197e07,_0x40e411){super(_0x485930),this[_0x5173('0xa')]=new _0x1c1e60(_0x485930,_0x40e411),this[_0x5173('0xa')][_0x5173('0x5')](_0x5173('0xf'))['to'](this[_0x5173('0xa')]['focusTracker'],_0x5173('0x12'),this['commentInputView'],_0x5173('0x0'),(_0x4a31a2,_0x553e68)=>_0x4a31a2||!!_0x553e68),this[_0x5173('0xd')](_0x5173('0x15'),!0x1),this['on'](_0x5173('0x11'),()=>{this[_0x5173('0x15')]&&!this['commentInputView'][_0x5173('0x9')]&&this['commentInputView'][_0x5173('0x14')]();}),this[_0x5173('0xa')][_0x5173('0xb')](_0x5173('0xc'))['to'](this),this[_0x5173('0xa')]['delegate'](_0x5173('0x1'))['to'](this),this['userView']=new _0xff231b(_0x485930,_0x197e07),this[_0x5173('0xe')][_0x5173('0x13')]({'attributes':{'class':'ck-thread__user'}}),this[_0x5173('0xa')][_0x5173('0x13')]({'attributes':{'class':_0x5173('0x6')}}),this['setTemplate']({'tag':_0x5173('0x4'),'attributes':{'class':[_0x5173('0x10'),this[_0x5173('0x8')]['if']('showInput',_0x5173('0x2'))]},'children':[this[_0x5173('0xe')],this[_0x5173('0xa')]]});}[_0x5173('0x3')](){return this[_0x5173('0xa')][_0x5173('0x3')]()[_0x5173('0x7')](()=>super[_0x5173('0x3')]());}}
23
+ var _0x3e03=['userView','bindTemplate','extendTemplate','commentInputView','then','destroy','editorDestroyed','showInput','ck-comment__input-container--active','div','ck-thread__input','change:showInput','ck-comment__input-container','editor','bind','value','ck-thread__user','isFocused','setTemplate','delegate','focusTracker','set'];(function(_0x56da3e,_0x3e0390){var _0x198e3e=function(_0x5cf558){while(--_0x5cf558){_0x56da3e['push'](_0x56da3e['shift']());}};_0x198e3e(++_0x3e0390);}(_0x3e03,0x1d1));var _0x198e=function(_0x56da3e,_0x3e0390){_0x56da3e=_0x56da3e-0x0;var _0x198e3e=_0x3e03[_0x56da3e];return _0x198e3e;};import{View as _0x2e0e90}from'ckeditor5/src/ui.js';import _0x36fb3b from'./commentinputview.js';import{UserView as _0x2f9797}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Ct extends _0x2e0e90{constructor(_0x3f9507,_0x258561,_0x1e4605){super(_0x3f9507),this[_0x198e('0x0')]=new _0x36fb3b(_0x3f9507,_0x1e4605),this[_0x198e('0x0')][_0x198e('0xb')]('showButtons')['to'](this[_0x198e('0x0')][_0x198e('0x11')],_0x198e('0xe'),this[_0x198e('0x0')],_0x198e('0xc'),(_0x129a65,_0x3ff2af)=>_0x129a65||!!_0x3ff2af),this[_0x198e('0x12')]('showInput',!0x1),this['on'](_0x198e('0x8'),()=>{this[_0x198e('0x4')]&&!this[_0x198e('0x0')][_0x198e('0xa')]&&this['commentInputView']['createEditor']();}),this[_0x198e('0x0')]['delegate']('editorReady')['to'](this),this[_0x198e('0x0')][_0x198e('0x10')](_0x198e('0x3'))['to'](this),this[_0x198e('0x13')]=new _0x2f9797(_0x3f9507,_0x258561),this[_0x198e('0x13')][_0x198e('0x15')]({'attributes':{'class':_0x198e('0xd')}}),this[_0x198e('0x0')][_0x198e('0x15')]({'attributes':{'class':_0x198e('0x7')}}),this[_0x198e('0xf')]({'tag':_0x198e('0x6'),'attributes':{'class':[_0x198e('0x9'),this[_0x198e('0x14')]['if']('showInput',_0x198e('0x5'))]},'children':[this[_0x198e('0x13')],this[_0x198e('0x0')]]});}[_0x198e('0x2')](){return this[_0x198e('0x0')][_0x198e('0x2')]()[_0x198e('0x1')](()=>super['destroy']());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xfd30=['then','check','isResolved','bind','commentThreadHeaderView','actionIndicator','removeButton','icon','change:isReadOnly','_model','resolveCommentThread','commentsListView','_bindFirstCommentView','isActive','_boundFirstCommentView','remove','unbind','add','label','extendTemplate','execute','commentThreadInputView','actionBar','listenTo','resolveButton','_cancelAllConfirms','ck-thread--remove-confirmation','get','ck-comment--resolve','isReadOnly','isConfirm','locale','ck-thread__container','commentThreadChildren','fire','ck-thread','placeholder','getTemplate','element','cancelConfirm','set','querySelector','stop','tooltip','render','ck-thread--','createCollection','archivedAt','bindTemplate','removeCommentThread','showConfirm','isVisible','has','commentViews','ck-thread--unlinked','ck-reset_all-excluded','addMany','Resolve','.ck-thread__container','isResolvable','ck-thread--active','containerElement','high','div'];(function(_0x552d5f,_0xfd30a8){const _0x5eddf4=function(_0x304587){while(--_0x304587){_0x552d5f['push'](_0x552d5f['shift']());}};_0x5eddf4(++_0xfd30a8);}(_0xfd30,0x1ca));const _0x5edd=function(_0x552d5f,_0xfd30a8){_0x552d5f=_0x552d5f-0x0;let _0x5eddf4=_0xfd30[_0x552d5f];return _0x5eddf4;};import{ConfirmMixin as _0x3203e6}from'ckeditor5-collaboration/src/collaboration-core.js';import{ButtonView as _0x45201b}from'ckeditor5/src/ui.js';import{icons as _0x3a8342}from'ckeditor5/src/core.js';import _0x5096f8 from'./basecommentthreadview.js';import{getTranslation as _0xa26248}from'../../../utils/common-translations.js';export default class ft extends _0x3203e6(_0x5096f8){constructor(_0xf2d6a0,_0xef1df,_0x58c938,_0x44d19e){super(_0xf2d6a0,_0xef1df,_0x58c938,_0x44d19e),this[_0x5edd('0x17')]=this[_0x5edd('0x24')](),this[_0x5edd('0x17')][_0x5edd('0x2e')]([this[_0x5edd('0x1')],this[_0x5edd('0xb')]]),this[_0x5edd('0x3f')][_0x5edd('0x25')]&&this[_0x5edd('0x17')][_0x5edd('0x7')](this[_0x5edd('0x3a')],0x0),this[_0x5edd('0x3f')]['on']('change:archivedAt',(_0x49fcc7,_0x508da0,_0x1233d9)=>{_0x1233d9?this[_0x5edd('0x17')][_0x5edd('0x2a')](this[_0x5edd('0x3a')])||this[_0x5edd('0x17')][_0x5edd('0x7')](this[_0x5edd('0x3a')],0x0):this[_0x5edd('0x17')][_0x5edd('0x5')](this[_0x5edd('0x3a')]);}),this[_0x5edd('0x1e')]('actionIndicator',null),this[_0x5edd('0x33')]=null,this[_0x5edd('0x4')]=null,this['locale']=_0xf2d6a0,this[_0x5edd('0xe')]=this['_createResolveButton'](),this['setTemplate'](this['getTemplate']()),this['on']('change:isActive',(_0x2d78c5,_0x57c814,_0x21f16d)=>{_0x21f16d||this[_0x5edd('0xf')]();}),this[_0x5edd('0xd')](this[_0x5edd('0x3f')],_0x5edd('0x3e'),(_0x340164,_0x42f625,_0x38f263)=>{_0x38f263&&this[_0x5edd('0xf')]();}),this['length']>0x0&&this[_0x5edd('0x2')](),this[_0x5edd('0xd')](this[_0x5edd('0x1')]['commentViews'],_0x5edd('0x7'),()=>{this['_bindFirstCommentView']();});}[_0x5edd('0x1b')](){const _0x1ac3fc=this[_0x5edd('0x26')];return{'tag':_0x5edd('0x35'),'attributes':{'class':[_0x5edd('0x19'),_0x5edd('0x2d'),_0x1ac3fc['if'](_0x5edd('0x3'),_0x5edd('0x32')),_0x1ac3fc['if']('isUnlinked',_0x5edd('0x2c')),_0x1ac3fc['if'](_0x5edd('0x14'),_0x5edd('0x10')),_0x1ac3fc['to'](_0x5edd('0x3b'),_0x1df471=>_0x1df471?_0x5edd('0x23')+_0x1df471:'')],'data-thread-id':this[_0x5edd('0x3f')]['id'],'tabindex':-0x1},'children':[{'tag':_0x5edd('0x35'),'attributes':{'class':_0x5edd('0x16')},'children':this['commentThreadChildren']}]};}[_0x5edd('0x22')](){super[_0x5edd('0x22')](),this[_0x5edd('0x33')]=this[_0x5edd('0x1c')][_0x5edd('0x1f')](_0x5edd('0x30'));}[_0x5edd('0xf')](){this['cancelConfirm']();for(const _0x3a5c57 of this['commentsListView']['commentViews'])_0x3a5c57[_0x5edd('0x1d')]();}[_0x5edd('0x2')](){const {locale:_0x471881}=this,_0x5a9ef6=this[_0x5edd('0x1')][_0x5edd('0x2b')][_0x5edd('0x11')](0x0);_0x5a9ef6===this['_boundFirstCommentView']||_0x5a9ef6['isSystemComment']||(this[_0x5edd('0x4')]=_0x5a9ef6,this[_0x5edd('0x6')](_0x5edd('0x3b')),this[_0x5edd('0x39')]('actionIndicator')['to'](_0x5a9ef6,'actionIndicator',_0x5bf46b=>_0x5edd('0x5')===_0x5bf46b?_0x5edd('0x5'):null),_0x5a9ef6[_0x5edd('0x1a')]=_0xa26248(_0x471881,'Write\x20a\x20comment...'),_0x5a9ef6[_0x5edd('0x3c')]['on'](_0x5edd('0xa'),_0xb08aea=>{_0xb08aea[_0x5edd('0x20')](),this[_0x5edd('0x28')](_0xa26248(_0x471881,'Delete\x20comment\x20thread?'),this[_0x5edd('0x33')])[_0x5edd('0x36')](()=>{this[_0x5edd('0x18')](_0x5edd('0x27'));});},{'priority':_0x5edd('0x34')}),_0x5a9ef6[_0x5edd('0xc')][_0x5edd('0x7')](this[_0x5edd('0xe')],0x0));}['_createResolveButton'](){const _0x5ba29a=new _0x45201b(this[_0x5edd('0x15')]);return _0x5ba29a[_0x5edd('0x8')]=_0xa26248(this[_0x5edd('0x15')],_0x5edd('0x2f')),_0x5ba29a[_0x5edd('0x21')]=_0xa26248(this[_0x5edd('0x15')],_0x5edd('0x2f')),_0x5ba29a[_0x5edd('0x3d')]=_0x3a8342[_0x5edd('0x37')],_0x5ba29a[_0x5edd('0x9')]({'attributes':{'class':_0x5edd('0x12')}}),_0x5ba29a[_0x5edd('0x39')]('isEnabled')['to'](this[_0x5edd('0x3f')],_0x5edd('0x13'),_0x3dc764=>!_0x3dc764),_0x5ba29a['bind'](_0x5edd('0x29'))['to'](this[_0x5edd('0x3f')],_0x5edd('0x31'),this[_0x5edd('0x3f')],_0x5edd('0x38'),(_0x58cab7,_0x5cae4d)=>_0x58cab7&&!_0x5cae4d),_0x5ba29a['on']('execute',()=>{this['fire'](_0x5edd('0x0'),this['_model']['id']);}),_0x5ba29a;}}
23
+ const _0x24a8=['bindTemplate','locale','label','commentViews','getTemplate','resolveCommentThread','set','archivedAt','_bindFirstCommentView','length','containerElement','ck-reset_all-excluded','resolveButton','then','isUnlinked','Resolve','commentsListView','_model','extendTemplate','isEnabled','createCollection','isResolved','showConfirm','removeButton','execute','tooltip','isReadOnly','actionIndicator','icon','_createResolveButton','change:archivedAt','ck-thread','Write\x20a\x20comment...','ck-thread__container','commentThreadHeaderView','setTemplate','isSystemComment','commentThreadChildren','isActive','isConfirm','ck-thread--remove-confirmation','remove','add','stop','ck-thread--','ck-comment--resolve','render','ck-thread--active','unbind','actionBar','high','bind','check','commentThreadInputView','_boundFirstCommentView','isResolvable','listenTo','cancelConfirm','placeholder','has','_cancelAllConfirms','addMany','querySelector'];(function(_0x100473,_0x24a8dc){const _0x3751f2=function(_0xc07c58){while(--_0xc07c58){_0x100473['push'](_0x100473['shift']());}};_0x3751f2(++_0x24a8dc);}(_0x24a8,0xa7));const _0x3751=function(_0x100473,_0x24a8dc){_0x100473=_0x100473-0x0;let _0x3751f2=_0x24a8[_0x100473];return _0x3751f2;};import{ConfirmMixin as _0x247ecc}from'ckeditor5-collaboration/src/collaboration-core.js';import{ButtonView as _0x22739c}from'ckeditor5/src/ui.js';import{icons as _0x2389cd}from'ckeditor5/src/core.js';import _0x16d4d1 from'./basecommentthreadview.js';import{getTranslation as _0x253f12}from'../../../utils/common-translations.js';export default class ft extends _0x247ecc(_0x16d4d1){constructor(_0xfb9201,_0x4e3824,_0x19a1fc,_0x40d739){super(_0xfb9201,_0x4e3824,_0x19a1fc,_0x40d739),this[_0x3751('0x3b')]=this[_0x3751('0x2a')](),this[_0x3751('0x3b')][_0x3751('0x14')]([this['commentsListView'],this[_0x3751('0xc')]]),this[_0x3751('0x27')][_0x3751('0x1d')]&&this[_0x3751('0x3b')]['add'](this[_0x3751('0x38')],0x0),this[_0x3751('0x27')]['on'](_0x3751('0x34'),(_0x18ea60,_0x2b4d97,_0x1e0963)=>{_0x1e0963?this[_0x3751('0x3b')][_0x3751('0x12')](this[_0x3751('0x38')])||this[_0x3751('0x3b')][_0x3751('0x1')](this[_0x3751('0x38')],0x0):this[_0x3751('0x3b')][_0x3751('0x0')](this[_0x3751('0x38')]);}),this[_0x3751('0x1c')]('actionIndicator',null),this['containerElement']=null,this[_0x3751('0xd')]=null,this[_0x3751('0x17')]=_0xfb9201,this[_0x3751('0x22')]=this['_createResolveButton'](),this[_0x3751('0x39')](this[_0x3751('0x1a')]()),this['on']('change:isActive',(_0x14d7e4,_0x4bb944,_0x14a8ba)=>{_0x14a8ba||this[_0x3751('0x13')]();}),this[_0x3751('0xf')](this[_0x3751('0x27')],'change:isReadOnly',(_0x503646,_0x12d18c,_0x22135d)=>{_0x22135d&&this[_0x3751('0x13')]();}),this[_0x3751('0x1f')]>0x0&&this[_0x3751('0x1e')](),this['listenTo'](this[_0x3751('0x26')][_0x3751('0x19')],_0x3751('0x1'),()=>{this[_0x3751('0x1e')]();});}[_0x3751('0x1a')](){const _0x479f56=this[_0x3751('0x16')];return{'tag':'div','attributes':{'class':[_0x3751('0x35'),_0x3751('0x21'),_0x479f56['if'](_0x3751('0x3c'),_0x3751('0x6')),_0x479f56['if'](_0x3751('0x24'),'ck-thread--unlinked'),_0x479f56['if'](_0x3751('0x3d'),_0x3751('0x3e')),_0x479f56['to'](_0x3751('0x31'),_0x4a86f7=>_0x4a86f7?_0x3751('0x3')+_0x4a86f7:'')],'data-thread-id':this[_0x3751('0x27')]['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':_0x3751('0x37')},'children':this[_0x3751('0x3b')]}]};}[_0x3751('0x5')](){super[_0x3751('0x5')](),this[_0x3751('0x20')]=this['element'][_0x3751('0x15')]('.ck-thread__container');}['_cancelAllConfirms'](){this['cancelConfirm']();for(const _0xfd3878 of this['commentsListView'][_0x3751('0x19')])_0xfd3878[_0x3751('0x10')]();}[_0x3751('0x1e')](){const {locale:_0x54546a}=this,_0x170fd8=this[_0x3751('0x26')][_0x3751('0x19')]['get'](0x0);_0x170fd8===this['_boundFirstCommentView']||_0x170fd8[_0x3751('0x3a')]||(this[_0x3751('0xd')]=_0x170fd8,this[_0x3751('0x7')]('actionIndicator'),this[_0x3751('0xa')]('actionIndicator')['to'](_0x170fd8,_0x3751('0x31'),_0x354fb8=>_0x3751('0x0')===_0x354fb8?_0x3751('0x0'):null),_0x170fd8[_0x3751('0x11')]=_0x253f12(_0x54546a,_0x3751('0x36')),_0x170fd8[_0x3751('0x2d')]['on'](_0x3751('0x2e'),_0x1cb42f=>{_0x1cb42f[_0x3751('0x2')](),this[_0x3751('0x2c')](_0x253f12(_0x54546a,'Delete\x20comment\x20thread?'),this[_0x3751('0x20')])[_0x3751('0x23')](()=>{this['fire']('removeCommentThread');});},{'priority':_0x3751('0x9')}),_0x170fd8[_0x3751('0x8')][_0x3751('0x1')](this[_0x3751('0x22')],0x0));}[_0x3751('0x33')](){const _0x489297=new _0x22739c(this[_0x3751('0x17')]);return _0x489297[_0x3751('0x18')]=_0x253f12(this['locale'],'Resolve'),_0x489297[_0x3751('0x2f')]=_0x253f12(this['locale'],_0x3751('0x25')),_0x489297[_0x3751('0x32')]=_0x2389cd[_0x3751('0xb')],_0x489297[_0x3751('0x28')]({'attributes':{'class':_0x3751('0x4')}}),_0x489297['bind'](_0x3751('0x29'))['to'](this[_0x3751('0x27')],_0x3751('0x30'),_0x1441cc=>!_0x1441cc),_0x489297['bind']('isVisible')['to'](this[_0x3751('0x27')],_0x3751('0xe'),this['_model'],_0x3751('0x2b'),(_0x10daa0,_0x2fea73)=>_0x10daa0&&!_0x2fea73),_0x489297['on'](_0x3751('0x2e'),()=>{this['fire'](_0x3751('0x1b'),this[_0x3751('0x27')]['id']);}),_0x489297;}}