@ckeditor/ckeditor5-comments 0.0.0-nightly-20231222.0 → 0.0.0-nightly-20231224.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 _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});});}}
23
+ const _0x49b8=['addCommentThread','execute','listenTo','basic','high','define','map','get','commands','collaboration.channelId','afterInit','importWord.formatting.comments','plugins','config','editor','_handleImportedData','dataInsert'];(function(_0x165497,_0x49b89a){const _0x2d58e2=function(_0x1229eb){while(--_0x1229eb){_0x165497['push'](_0x165497['shift']());}};_0x2d58e2(++_0x49b89a);}(_0x49b8,0xc1));const _0x2d58=function(_0x165497,_0x49b89a){_0x165497=_0x165497-0x0;let _0x2d58e2=_0x49b8[_0x165497];return _0x2d58e2;};import{Plugin as _0x54b4f8}from'ckeditor5/src/core.js';import{priorities as _0x511f44}from'ckeditor5/src/utils.js';import{Users as _0x309878}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1d3a18 from'../commentsrepository.js';export default class Z extends _0x54b4f8{constructor(_0x468d1a){super(_0x468d1a),this['editor'][_0x2d58('0x7')][_0x2d58('0x10')](_0x2d58('0x5'),_0x2d58('0xe'));}[_0x2d58('0x4')](){const _0x58d3a0=this['editor'],_0x171cf7=_0x58d3a0[_0x2d58('0x2')][_0x2d58('0x1')]('importWord'),_0x3269b2=_0x58d3a0[_0x2d58('0x6')][_0x2d58('0x1')](_0x309878);_0x171cf7&&(_0x171cf7['on'](_0x2d58('0xc'),(_0x2f1d2f,[,_0x3cee8b])=>{_0x3cee8b['collaboration_features']={'comments':!0x0,'user_id':_0x3269b2['me']['id']};},{'priority':_0x511f44[_0x2d58('0xf')]+0xa}),this[_0x2d58('0xd')](_0x171cf7,_0x2d58('0xa'),this[_0x2d58('0x9')]));}[_0x2d58('0x9')](_0x35e3d9,_0x371290){const {comment_threads:_0x286f82}=_0x371290;_0x286f82&&_0x286f82['forEach'](({thread_id:_0x5c25eb,comments:_0xa688b2,is_resolved:_0x397ead})=>{const _0x257359=new Date(),_0x3256f7=_0xa688b2[_0x2d58('0x0')](({author:_0x23f04b,content:_0x468ebe,created_at:_0x403bb})=>({'content':_0x468ebe,'authorId':this['editor'][_0x2d58('0x6')][_0x2d58('0x1')](_0x309878)['me']['id'],'createdAt':_0x257359,'attributes':{'@external':{'authorName':_0x23f04b,'createdAt':_0x403bb?new Date(_0x403bb):new Date(),'source':'importWord'}}})),_0x57e089=this[_0x2d58('0x8')]['config'][_0x2d58('0x1')](_0x2d58('0x3'));this['editor']['plugins'][_0x2d58('0x1')](_0x1d3a18)[_0x2d58('0xb')]({'channelId':_0x57e089,'threadId':_0x5c25eb,'comments':_0x3256f7,'resolvedAt':_0x397ead?_0x257359:null});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;
23
+ const _0x1739=['fire','low','childCount','_updatePlaceholder','defaultPlugins','assign','createRoot','document','set','ready','view','focus','init','getChild','name','model','editing','plugins','setSelection','placeholder','getRoot','destroy','placeholderElement','then','change','data','create'];(function(_0x2451dd,_0x173983){const _0x4cb91f=function(_0x2ff2e7){while(--_0x2ff2e7){_0x2451dd['push'](_0x2451dd['shift']());}};_0x4cb91f(++_0x173983);}(_0x1739,0xfc));const _0x4cb9=function(_0x2451dd,_0x173983){_0x2451dd=_0x2451dd-0x0;let _0x4cb91f=_0x1739[_0x2451dd];return _0x4cb91f;};import{Editor as _0x22a9fd,DataApiMixin as _0x502412}from'ckeditor5/src/core.js';import _0x2f76fb from'./commenteditorui.js';import{ObservableMixin as _0x2dbe85}from'ckeditor5/src/utils.js';import{enablePlaceholder as _0xe1ec9f,disablePlaceholder as _0x2cadb4}from'ckeditor5/src/engine.js';import{Clipboard as _0x4c915b}from'ckeditor5/src/clipboard.js';import{Enter as _0x32b398,ShiftEnter as _0x43a97d}from'ckeditor5/src/enter.js';import{SelectAll as _0x3c11c2}from'ckeditor5/src/select-all.js';import{Typing as _0x248c1e}from'ckeditor5/src/typing.js';import{Undo as _0x26a43f}from'ckeditor5/src/undo.js';import{Paragraph as _0x1b1ce4}from'ckeditor5/src/paragraph.js';const Mt=[_0x4c915b,_0x32b398,_0x43a97d,_0x3c11c2,_0x248c1e,_0x26a43f,_0x1b1ce4];export default class Nt extends _0x2dbe85(_0x502412(_0x22a9fd)){constructor(_0x6c0108={}){(_0x6c0108=Object[_0x4cb9('0x17')]({},_0x6c0108))[_0x4cb9('0x8')]||(_0x6c0108[_0x4cb9('0x8')]=Nt[_0x4cb9('0x16')]),super(_0x6c0108),this['ui']=new _0x2f76fb(this),this[_0x4cb9('0x1a')](_0x4cb9('0xa'),''),this[_0x4cb9('0x6')]['document']['on'](_0x4cb9('0xf'),()=>this['_updatePlaceholder'](),{'priority':_0x4cb9('0x13')}),this['on']('change:placeholder',()=>this[_0x4cb9('0x15')]()),this['model'][_0x4cb9('0x19')][_0x4cb9('0x18')]();}[_0x4cb9('0x11')](){const _0x11003b=this['config']['get']('initialData')||'';return this['initPlugins']()[_0x4cb9('0xe')](()=>this['ui'][_0x4cb9('0x3')]())[_0x4cb9('0xe')](()=>this[_0x4cb9('0x10')]['init'](_0x11003b))[_0x4cb9('0xe')](()=>this[_0x4cb9('0x12')](_0x4cb9('0x0')));}[_0x4cb9('0xc')](){return super['destroy']()['then'](()=>this['ui'][_0x4cb9('0xc')]());}[_0x4cb9('0x2')](){this[_0x4cb9('0x6')][_0x4cb9('0xf')](_0x1aac99=>{const _0x146496=this[_0x4cb9('0x6')][_0x4cb9('0x19')][_0x4cb9('0xb')](),_0x55546d=_0x146496&&_0x146496['getChild'](_0x146496[_0x4cb9('0x14')]-0x1);_0x1aac99[_0x4cb9('0x9')](_0x55546d,'end'),this[_0x4cb9('0x7')][_0x4cb9('0x1')]['focus']();});}['_updatePlaceholder'](){const _0x1d64cf=this['editing'][_0x4cb9('0x1')],_0xb51017=_0x1d64cf[_0x4cb9('0x19')]['getRoot'](),_0x5a64cf=_0xb51017[_0x4cb9('0x4')](0x0);_0xb51017['childCount']>0x1||!_0x5a64cf||'p'!=_0x5a64cf[_0x4cb9('0x5')]?this[_0x4cb9('0xd')]&&this[_0x4cb9('0xd')][_0x4cb9('0xa')]&&(_0x2cadb4(_0x1d64cf,this['placeholderElement']),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0x5a64cf[_0x4cb9('0xa')]=this[_0x4cb9('0xa')]),_0xe1ec9f({'view':_0x1d64cf,'element':_0x5a64cf,'keepOnFocus':!0x0}),this[_0x4cb9('0xd')]=_0x5a64cf);}}Nt[_0x4cb9('0x16')]=Mt;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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')]();}}
23
+ const _0x4c11=['view','editing','locale','getRoot','document','element','init','bind','render','destroy','isFocused','editor','attachDomRoot','setEditableElement','editable','rootName','name'];(function(_0x323919,_0x4c119b){const _0xe44fd0=function(_0x296aca){while(--_0x296aca){_0x323919['push'](_0x323919['shift']());}};_0xe44fd0(++_0x4c119b);}(_0x4c11,0x137));const _0xe44f=function(_0x323919,_0x4c119b){_0x323919=_0x323919-0x0;let _0xe44fd0=_0x4c11[_0x323919];return _0xe44fd0;};import{EditorUI as _0x1a7ef7}from'ckeditor5/src/ui.js';import _0x2f6e7e from'./commenteditoruiview.js';export default class Ft extends _0x1a7ef7{constructor(_0xfcd75a){super(_0xfcd75a),this[_0xe44f('0xc')]=new _0x2f6e7e(_0xfcd75a[_0xe44f('0xe')],_0xfcd75a['editing']['view']);}get[_0xe44f('0x0')](){return this[_0xe44f('0xc')][_0xe44f('0x0')];}[_0xe44f('0x1')](){const _0x4a4041=this[_0xe44f('0x6')][_0xe44f('0xd')][_0xe44f('0xc')],_0x453336=this[_0xe44f('0xc')][_0xe44f('0x9')],_0x853a48=_0x4a4041[_0xe44f('0x10')][_0xe44f('0xf')]();_0x453336[_0xe44f('0xb')]=_0x853a48[_0xe44f('0xa')],this['view'][_0xe44f('0x3')]();const _0x244363=_0x453336['element'];this[_0xe44f('0x8')](_0x453336['name'],_0x244363),this[_0xe44f('0xc')][_0xe44f('0x9')][_0xe44f('0x2')](_0xe44f('0x5'))['to'](this['focusTracker']),_0x4a4041[_0xe44f('0x7')](_0x244363),this['fire']('ready');}[_0xe44f('0x4')](){super['destroy'](),this[_0xe44f('0xc')][_0xe44f('0x4')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ const _0x2f57=['main','setTemplate','ck-rounded-corners','ck-voice-label','render','uiLanguageDirection','add','_voiceLabelView','ck-comment__input','comment','ck-editor','element','editable','div','focus','_createVoiceLabel','ck-reset','ck-editor__main','presentation','Comment\x20editor','ck-editor__aria-label_','text','createCollection'];(function(_0x57ea30,_0x2f57f6){const _0x5981e8=function(_0x29a418){while(--_0x29a418){_0x57ea30['push'](_0x57ea30['shift']());}};_0x5981e8(++_0x2f57f6);}(_0x2f57,0x1d5));const _0x5981=function(_0x57ea30,_0x2f57f6){_0x57ea30=_0x57ea30-0x0;let _0x5981e8=_0x2f57[_0x57ea30];return _0x5981e8;};import{InlineEditableUIView as _0x583401,EditorUIView as _0x33f1b3,LabelView as _0x1f61cc}from'ckeditor5/src/ui.js';import{uid as _0x2e09f8}from'ckeditor5/src/utils.js';import{getTranslation as _0x4f900a}from'../../../utils/common-translations.js';export default class Rt extends _0x33f1b3{constructor(_0x52ff25,_0x1ce7ec){super(_0x52ff25);const _0x5f2af=_0x2e09f8();this[_0x5981('0xe')]=this[_0x5981('0xd')](),this['editable']=new _0x583401(_0x52ff25,_0x1ce7ec),this[_0x5981('0x15')]=this[_0x5981('0x6')](_0x5f2af,_0x52ff25),this[_0x5981('0xf')]({'tag':'div','attributes':{'class':[_0x5981('0x7'),_0x5981('0x1'),_0x5981('0x10'),_0x5981('0x16')],'role':_0x5981('0x0'),'dir':_0x52ff25[_0x5981('0x13')],'lang':_0x52ff25['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x5f2af},'children':[this[_0x5981('0x15')],{'tag':_0x5981('0x4'),'attributes':{'class':_0x5981('0x8'),'role':_0x5981('0x9')},'children':this['main']}]});}[_0x5981('0x12')](){super[_0x5981('0x12')](),this['main'][_0x5981('0x14')](this[_0x5981('0x3')]);}[_0x5981('0x5')](){this[_0x5981('0x3')][_0x5981('0x2')]['focus']();}[_0x5981('0x6')](_0x1a712c,_0x464b2e){const _0x132643=new _0x1f61cc();return _0x132643[_0x5981('0xc')]=_0x4f900a(_0x464b2e,_0x5981('0xa')),_0x132643['extendTemplate']({'attributes':{'id':_0x5981('0xb')+_0x1a712c,'class':_0x5981('0x11')}}),_0x132643;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ var _0x938d=['stopListening','resolve','addComment','view','listenTo','resolveCommentThread','model','updateComment','submitCommentThread','update','getComment','_isAttached','reopen','submit','removeComment','_localUser','remove','isResolved'];(function(_0x3cadf0,_0x938d29){var _0x4bf3f6=function(_0x2b3e7c){while(--_0x2b3e7c){_0x3cadf0['push'](_0x3cadf0['shift']());}};_0x4bf3f6(++_0x938d29);}(_0x938d,0x163));var _0x4bf3=function(_0x3cadf0,_0x938d29){_0x3cadf0=_0x3cadf0-0x0;var _0x4bf3f6=_0x938d[_0x3cadf0];return _0x4bf3f6;};import{ObservableMixin as _0x3fa817}from'ckeditor5/src/utils.js';export default class ut extends _0x3fa817(){constructor(_0x269d0d,_0x164510){super(),this[_0x4bf3('0xb')]=_0x269d0d,this[_0x4bf3('0xb')][_0x4bf3('0x10')]=!0x0,this[_0x4bf3('0x8')]=_0x164510,this['listenTo'](_0x164510,_0x4bf3('0xd'),()=>this['submit']()),this[_0x4bf3('0x9')](_0x164510,'removeCommentThread',()=>this[_0x4bf3('0x3')]()),this[_0x4bf3('0x9')](_0x164510,_0x4bf3('0xa'),()=>this[_0x4bf3('0x6')]()),this[_0x4bf3('0x9')](_0x164510,'reopenCommentThread',()=>this[_0x4bf3('0x11')]()),this['listenTo'](_0x164510,_0x4bf3('0x7'),(_0x34b052,_0x5723fa)=>this[_0x4bf3('0x7')](_0x5723fa)),this['listenTo'](_0x164510,_0x4bf3('0xc'),(_0x34460c,_0x27ace3,_0x11ad2c)=>this['updateComment'](_0x27ace3,_0x11ad2c)),this[_0x4bf3('0x9')](_0x164510,_0x4bf3('0x1'),(_0xd45211,_0xc863e)=>this['removeComment'](_0xc863e));}[_0x4bf3('0x0')](){this[_0x4bf3('0xb')][_0x4bf3('0x0')]();}[_0x4bf3('0x3')](){this[_0x4bf3('0xb')][_0x4bf3('0x3')]();}[_0x4bf3('0x6')](){this[_0x4bf3('0xb')][_0x4bf3('0x4')]||this['model'][_0x4bf3('0x6')]();}[_0x4bf3('0x11')](){this[_0x4bf3('0xb')]['isResolved']&&this[_0x4bf3('0xb')]['reopen']();}['addComment'](_0x45bca2){this[_0x4bf3('0xb')][_0x4bf3('0x7')]({'content':_0x45bca2,'authorId':this[_0x4bf3('0x8')][_0x4bf3('0x2')]['id']});}[_0x4bf3('0xc')](_0x3cf2ee,_0xebb37f){this[_0x4bf3('0xb')][_0x4bf3('0xf')](_0x3cf2ee)[_0x4bf3('0xe')]({'content':_0xebb37f});}[_0x4bf3('0x1')](_0x37ed61){this[_0x4bf3('0xb')][_0x4bf3('0xf')](_0x37ed61)['remove']();}['destroy'](){this[_0x4bf3('0x5')](),this[_0x4bf3('0xb')][_0x4bf3('0x10')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ const _0x1a1a=['focus','CommentView','Reply\x20to\x20reopen\x20discussion...','commentThreadInputView','element','_model','cancel','submitLabel','addComment','resolveCommentThread','archivedAt','change:isActive','isResolved','isActive','commentInputView','delegate','submitCommentThread','locale','bind','showInput','removeComment','editorDestroyed','_localUser','submit','isResolvable','canComment','isReadOnly','unlinkedAt','updateComment','commentThreadHeaderView','Comment','editorReady','reopenCommentThread','value','isUnlinked','hasDirtyComment','Write\x20a\x20comment...','listenTo','isDirty','Reply...','isSubmitted','commentsListView','_config','fire','length','placeholder','set','destroy'];(function(_0x2633fb,_0x1a1a25){const _0x418271=function(_0x47b023){while(--_0x47b023){_0x2633fb['push'](_0x2633fb['shift']());}};_0x418271(++_0x1a1a25);}(_0x1a1a,0x104));const _0x4182=function(_0x2633fb,_0x1a1a25){_0x2633fb=_0x2633fb-0x0;let _0x418271=_0x1a1a[_0x2633fb];return _0x418271;};import{View as _0x34cf85}from'ckeditor5/src/ui.js';import _0x5e4c3e from'./commentthreadinputview.js';import _0x42a9b6 from'./commentslistview.js';import _0x512a9f from'./commentthreadheaderview.js';import{getTranslation as _0xa87e4a}from'../../../utils/common-translations.js';export default class Ut extends _0x34cf85{constructor(_0x490563,_0x209855,_0x4fe8d5,_0x1c9e5a){super(_0x490563),this[_0x4182('0x1a')](_0x4182('0x29'),!0x1),this[_0x4182('0x1a')](_0x4182('0x12'),!0x1),this[_0x4182('0x21')]=_0x209855,this[_0x4182('0x2')]=_0x4fe8d5,this[_0x4182('0x16')]=_0x1c9e5a,this[_0x4182('0x9')]=new _0x512a9f(_0x490563,_0x209855),this[_0x4182('0x9')][_0x4182('0x2b')](_0x4182('0xc'))['to'](this),this[_0x4182('0x11')](this,_0x4182('0xc'),()=>{this[_0x4182('0x1c')]();}),this['commentsListView']=new _0x42a9b6(_0x490563,_0x209855,Object['assign']({'CommentView':this[_0x4182('0x16')][_0x4182('0x1d')]},_0x1c9e5a)),this[_0x4182('0x15')][_0x4182('0x2b')](_0x4182('0x0'))['to'](this),this[_0x4182('0x15')][_0x4182('0x2b')](_0x4182('0x8'))['to'](this),this['commentsListView'][_0x4182('0x2b')](_0x4182('0x25'))['to'](this),this[_0x4182('0x15')][_0x4182('0x2b')](_0x4182('0xb'))['to'](this),this[_0x4182('0x15')]['delegate'](_0x4182('0x1'))['to'](this),this['commentsListView'][_0x4182('0x2e')](_0x4182('0x29'))['to'](this),this[_0x4182('0x11')](this,'resolveCommentThread',()=>{this[_0x4182('0x1c')]();}),this[_0x4182('0x1a')](_0x4182('0x18'),this[_0x4182('0x15')][_0x4182('0x18')]),this[_0x4182('0x2e')]('length')['to'](this['commentsListView'],_0x4182('0x18')),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this[_0x4182('0x1f')][_0x4182('0x2b')](_0x4182('0xb'))['to'](this),this['commentThreadInputView'][_0x4182('0x2b')](_0x4182('0x1'))['to'](this),this['on'](_0x4182('0x0'),()=>this[_0x4182('0x1c')]()),this[_0x4182('0x2e')](_0x4182('0x12'))['to'](this['commentsListView'],_0x4182('0xf'),this['commentThreadInputView'][_0x4182('0x2a')],_0x4182('0xd'),(_0x39aa39,_0x242063)=>_0x39aa39||!!_0x242063),this[_0x4182('0x2e')](_0x4182('0xe'))['to'](_0x209855,_0x4182('0x7'),_0x289c6e=>!!_0x289c6e);}[_0x4182('0x1c')](){this[_0x4182('0x20')]['focus']();}async[_0x4182('0x1b')](){this['isDirty']=!0x1,this[_0x4182('0x15')][_0x4182('0x1b')](),await this[_0x4182('0x1f')]['destroy'](),super[_0x4182('0x1b')]();}['_createCommentThreadInputView'](){const _0x4924ba=new _0x5e4c3e(this['locale'],this[_0x4182('0x2')],this['_config']['editorConfig']),_0x1755f7=_0x4924ba['commentInputView'];return _0x4924ba[_0x4182('0x2e')](_0x4182('0x2f'))['to'](this,'isActive',this[_0x4182('0x21')],'isReadOnly',this[_0x4182('0x21')],_0x4182('0x5'),this[_0x4182('0x21')],_0x4182('0x26'),_0x1755f7,_0x4182('0xd'),(_0x1bea4b,_0x389378,_0x25db57,_0x486768,_0x247bf8)=>!!_0x247bf8||!!_0x486768&&_0x25db57&&!_0x389378||_0x1bea4b&&_0x25db57&&!_0x389378),_0x1755f7[_0x4182('0x2e')](_0x4182('0x19'))['to'](this,_0x4182('0x18'),this[_0x4182('0x21')],_0x4182('0x4'),this[_0x4182('0x21')],_0x4182('0x28'),(_0x1bd4d6,_0x47892a,_0x54e53c)=>{let _0x26838a;return _0x26838a=_0x54e53c&&_0x47892a?_0x4182('0x1e'):_0x1bd4d6?_0x4182('0x13'):_0x4182('0x10'),_0xa87e4a(this['locale'],_0x26838a);}),_0x1755f7[_0x4182('0x2e')](_0x4182('0x23'))['to'](this,_0x4182('0x18'),_0x2d3bb5=>_0xa87e4a(this[_0x4182('0x2d')],_0x2d3bb5?'Reply':_0x4182('0xa'))),_0x1755f7['on'](_0x4182('0x3'),(_0x1254f0,_0x2e7f9b)=>{this[_0x4182('0x17')](_0x4182('0x24'),_0x2e7f9b),this[_0x4182('0x21')][_0x4182('0x28')]&&this['_model']['isResolvable']&&this[_0x4182('0x17')](_0x4182('0xc'),this[_0x4182('0x21')]['id']),this[_0x4182('0x21')][_0x4182('0x14')]||this[_0x4182('0x17')](_0x4182('0x2c'));}),_0x1755f7['on'](_0x4182('0x22'),()=>{this['focus']();}),_0x1755f7['bind']('disabledSubmit')['to'](this[_0x4182('0x21')],_0x4182('0x6')),_0x1755f7['on']('cancel',_0x463341=>{0x0==this[_0x4182('0x18')]&&(this[_0x4182('0x17')]('removeCommentThread'),_0x463341['stop']());}),this['on'](_0x4182('0x27'),(_0x165788,_0x2f7479,_0x1c990e)=>{_0x1c990e||this[_0x4182('0x18')]||_0x1755f7['value']||this[_0x4182('0x17')]('removeCommentThread');}),_0x4924ba;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ const _0x5504=['destroy','_createCommentInputView','editorConfig','set','content','createCollection','initialData','once','element','switchToDisplayMode','_config','value','expand','focus','switchToEditMode','delegate','visibleView','maxCommentCharsWhenCollapsed','isCollapsed','isSystemComment','get','_createCommentContentView','editorDestroyed','editorReady','fire','updateComment','submit','_model','bind','locale','submitLabel','isEditMode','add','remove','createEditor','disabledSubmit','Save'];(function(_0x628b48,_0x5504e2){const _0x12c765=function(_0x662d4a){while(--_0x662d4a){_0x628b48['push'](_0x628b48['shift']());}};_0x12c765(++_0x5504e2);}(_0x5504,0x7d));const _0x12c7=function(_0x628b48,_0x5504e2){_0x628b48=_0x628b48-0x0;let _0x12c765=_0x5504[_0x628b48];return _0x12c765;};import{View as _0x638adf}from'ckeditor5/src/ui.js';import{trimHtml as _0x5019d8}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x46317a from'./commentcontentview.js';import _0x22b04c from'./commentinputview.js';import{getTranslation as _0x295320}from'../../../utils/common-translations.js';export default class ti extends _0x638adf{constructor(_0x2999b1,_0x5372ee,_0x2764cb){super(_0x2999b1),this[_0x12c7('0xd')]=_0x5372ee,this[_0x12c7('0x21')]=_0x2764cb,this[_0x12c7('0x5')]=!!this[_0x12c7('0x21')][_0x12c7('0x5')],this[_0x12c7('0x1a')](_0x12c7('0x11'),!0x1),this[_0x12c7('0x1a')](_0x12c7('0x4'),!0x0),this[_0x12c7('0x2')]=this[_0x12c7('0x1c')](),this[_0x12c7('0x2')][_0x12c7('0x12')](this[_0x12c7('0x7')]());}[_0x12c7('0x23')](){this[_0x12c7('0x4')]=!0x1;}['collapse'](){this[_0x12c7('0x11')]||(this[_0x12c7('0x4')]=!0x0);}[_0x12c7('0x24')](){this[_0x12c7('0x1f')][_0x12c7('0x24')]();}async[_0x12c7('0x17')](){await this['visibleView'][_0x12c7('0x6')](0x0)['destroy'](),super[_0x12c7('0x17')]();}[_0x12c7('0x0')](){this[_0x12c7('0x11')]||(this[_0x12c7('0x11')]=!0x0,this[_0x12c7('0x2')]['remove'](0x0)[_0x12c7('0x17')](),this[_0x12c7('0x2')][_0x12c7('0x12')](this[_0x12c7('0x18')]()));}[_0x12c7('0x20')](){this[_0x12c7('0x11')]&&(this[_0x12c7('0x11')]=!0x1,this[_0x12c7('0x2')][_0x12c7('0x13')](0x0)['destroy'](),this[_0x12c7('0x2')][_0x12c7('0x12')](this[_0x12c7('0x7')]()));}[_0x12c7('0x7')](){const _0x36af52=new _0x46317a(this[_0x12c7('0xf')]);return _0x36af52[_0x12c7('0xe')]('content')['to'](this[_0x12c7('0xd')],_0x12c7('0x1b'),this,'isCollapsed',(_0x195b58,_0x1af000)=>_0x1af000?_0x5019d8(_0x195b58,{'limit':this[_0x12c7('0x21')][_0x12c7('0x3')]}):_0x195b58),_0x36af52;}[_0x12c7('0x18')](){this[_0x12c7('0x21')][_0x12c7('0x19')]||(this[_0x12c7('0x21')][_0x12c7('0x19')]={}),this[_0x12c7('0x21')][_0x12c7('0x19')][_0x12c7('0x1d')]=this['_model'][_0x12c7('0x1b')];const _0x541535=new _0x22b04c(this[_0x12c7('0xf')],this[_0x12c7('0x21')][_0x12c7('0x19')]);return _0x541535[_0x12c7('0x22')]=this['_model'][_0x12c7('0x1b')],_0x541535['bind'](_0x12c7('0x15'))['to'](this['_model'],'isReadOnly'),_0x541535[_0x12c7('0x10')]=_0x295320(this[_0x12c7('0xf')],_0x12c7('0x16')),_0x541535['on'](_0x12c7('0xc'),(_0x247822,_0x5121d6)=>{this[_0x12c7('0xa')](_0x12c7('0xb'),this[_0x12c7('0xd')]['id'],_0x5121d6),this[_0x12c7('0x20')](),this[_0x12c7('0x24')]();}),_0x541535['on']('cancel',()=>{this[_0x12c7('0x20')](),this[_0x12c7('0x24')]();}),_0x541535[_0x12c7('0x1e')]('editorReady',()=>{_0x541535[_0x12c7('0x24')]();}),_0x541535[_0x12c7('0x14')](),_0x541535[_0x12c7('0x1')](_0x12c7('0x9'))['to'](this),_0x541535[_0x12c7('0x1')](_0x12c7('0x8'))['to'](this),_0x541535;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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))}]});}}
23
+ const _0x57fd=['NUMBER_OF_COMMENTS','ck-thread__comment-count','bindTemplate','count','set'];(function(_0x526a39,_0x57fd7d){const _0x1a2b94=function(_0x287ad4){while(--_0x287ad4){_0x526a39['push'](_0x526a39['shift']());}};_0x1a2b94(++_0x57fd7d);}(_0x57fd,0x1be));const _0x1a2b=function(_0x526a39,_0x57fd7d){_0x526a39=_0x526a39-0x0;let _0x1a2b94=_0x57fd[_0x526a39];return _0x1a2b94;};import{View as _0x2b8694}from'ckeditor5/src/ui.js';import{getTranslation as _0x2e84d8}from'../../../utils/common-translations.js';export default class ts extends _0x2b8694{constructor(_0x2b7f27){super(_0x2b7f27);const _0x1e99ca=this[_0x1a2b('0x1')];this[_0x1a2b('0x3')](_0x1a2b('0x2'),void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':_0x1a2b('0x0')},'children':[{'text':_0x1e99ca['to'](_0x1a2b('0x2'),_0x45547f=>_0x2e84d8(_0x2b7f27,_0x1a2b('0x4'),_0x45547f))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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')];}}
23
+ var _0x41c6=['innerHTML','ck-annotation__content','set','render','setTemplate','element','content'];(function(_0x807266,_0x41c644){var _0x3a3964=function(_0xcd7e94){while(--_0xcd7e94){_0x807266['push'](_0x807266['shift']());}};_0x3a3964(++_0x41c644);}(_0x41c6,0x85));var _0x3a39=function(_0x807266,_0x41c644){_0x807266=_0x807266-0x0;var _0x3a3964=_0x41c6[_0x807266];return _0x3a3964;};import{View as _0x213eda}from'ckeditor5/src/ui.js';export default class Yt extends _0x213eda{constructor(_0x2e1b7c){super(_0x2e1b7c),this[_0x3a39('0x2')](_0x3a39('0x6'),''),this[_0x3a39('0x4')]({'tag':'div','attributes':{'class':['ck-comment__content',_0x3a39('0x1')]}});}[_0x3a39('0x3')](){super['render'](),this['on']('change:content',(_0x402b1e,_0x8347d1,_0x275093)=>{this[_0x3a39('0x5')][_0x3a39('0x0')]=_0x275093;}),this['element'][_0x3a39('0x0')]=this[_0x3a39('0x6')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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')});}}
23
+ const _0x5acb=['element','Cancel','_isDestroyed','submitLabel','_createCancelButton','keystrokes','render','focus','createEditor','insertBefore','view','submit','setTemplate','withText','set','ck-comment__input-actions--cancel','low','_editorConfig','showButtons','label','editor','_initializeFocusCycling','tab','cancel','model','submitButtonView','change','_editorCreationPromise','ck-comment__input-actions','add','initialData','Reply','focusNext','create','_createSubmitButton','Reply...','fire','ck-comment__input-actions--active','placeholder','trim','document','ck-comment__input-actions--submit','high','focusTracker','TOO_LONG_COMMENT_ALERT','div','cancelButtonView','setData','destroy','listenTo','value','execute','shift\x20+\x20tab','ck-comment__input-wrapper','stop','bind'];(function(_0x3e36ea,_0x5acb10){const _0x140dff=function(_0x5783eb){while(--_0x5783eb){_0x3e36ea['push'](_0x3e36ea['shift']());}};_0x140dff(++_0x5acb10);}(_0x5acb,0x169));const _0x140d=function(_0x3e36ea,_0x5acb10){_0x3e36ea=_0x3e36ea-0x0;let _0x140dff=_0x5acb[_0x3e36ea];return _0x140dff;};import{View as _0x29f651,ViewCollection as _0x577004,FocusCycler as _0x152d30,ButtonView as _0x2c8ab1}from'ckeditor5/src/ui.js';import{FocusTracker as _0x24a3f7,KeystrokeHandler as _0x70fef0}from'ckeditor5/src/utils.js';import _0x455261 from'../commenteditor/commenteditor.js';import{getTranslation as _0x1c88ee}from'../../../utils/common-translations.js';export default class Zt extends _0x29f651{constructor(_0x130e16,_0x56dd81={}){super(_0x130e16),this[_0x140d('0x33')]=null,this[_0x140d('0x30')]=_0x56dd81,this[_0x140d('0x24')]=new _0x70fef0(),this[_0x140d('0x12')]=new _0x24a3f7(),this['set'](_0x140d('0x19'),_0x56dd81[_0x140d('0x5')]||''),this[_0x140d('0x2d')]('disabledSubmit',!0x1),this[_0x140d('0x2d')](_0x140d('0x31'),!0x0),this[_0x140d('0x2d')](_0x140d('0xd'),_0x1c88ee(_0x130e16,_0x140d('0xa'))),this[_0x140d('0x2d')](_0x140d('0x22'),_0x1c88ee(_0x130e16,_0x140d('0x6'))),this['submitButtonView']=this[_0x140d('0x9')](),this['cancelButtonView']=this[_0x140d('0x23')](),this[_0x140d('0x2b')]({'tag':'div','attributes':{'class':[_0x140d('0x1c')]},'children':[{'tag':_0x140d('0x14'),'attributes':{'class':[_0x140d('0x3'),this['bindTemplate']['if'](_0x140d('0x31'),_0x140d('0xc'))]},'children':[this['submitButtonView'],this[_0x140d('0x15')]]}]}),this[_0x140d('0x24')]['set']('Esc',(_0x606e31,_0x78d7c4)=>{this[_0x140d('0x15')][_0x140d('0xb')](_0x140d('0x1a')),_0x78d7c4();}),this['on'](_0x140d('0x2a'),(_0x284f51,_0x3d9155)=>{_0x3d9155['length']>0xfde8?(alert(_0x1c88ee(_0x130e16,_0x140d('0x13'),[_0x3d9155['length'],0xfde8])),_0x284f51[_0x140d('0x1d')]()):this[_0x140d('0x33')]['setData']('');},{'priority':_0x140d('0x11')});}[_0x140d('0x25')](){super['render'](),this[_0x140d('0x24')][_0x140d('0x18')](this[_0x140d('0x1f')]),this[_0x140d('0x12')]['add'](this[_0x140d('0x1f')]);}[_0x140d('0x27')](){return this[_0x140d('0x33')]||(this[_0x140d('0x33')]=new _0x455261(this[_0x140d('0x30')]),this[_0x140d('0x2')]=this[_0x140d('0x33')][_0x140d('0x8')]()['then'](()=>{if(this[_0x140d('0x21')])return;const _0x4e2159=this[_0x140d('0x33')];this[_0x140d('0x1f')][_0x140d('0x28')](_0x4e2159['ui'][_0x140d('0x1f')],this[_0x140d('0x1f')]['firstChild']),_0x4e2159[_0x140d('0x37')][_0x140d('0xf')]['on'](_0x140d('0x1'),()=>this[_0x140d('0x19')]=_0x4e2159['getData']()),_0x4e2159[_0x140d('0x1e')]('placeholder')['to'](this),this['_initializeFocusCycling'](this['editor']),this[_0x140d('0xb')]('editorReady',this[_0x140d('0x33')]);})),this[_0x140d('0x2')];}[_0x140d('0x26')](){this[_0x140d('0x33')]&&this[_0x140d('0x33')][_0x140d('0x26')]();}async[_0x140d('0x17')](){this[_0x140d('0x21')]||(this[_0x140d('0x21')]=!0x0,this[_0x140d('0x33')]&&(await this[_0x140d('0x2')],await this[_0x140d('0x33')][_0x140d('0x17')](),this[_0x140d('0xb')]('editorDestroyed',this[_0x140d('0x33')])),await super[_0x140d('0x17')]());}[_0x140d('0x9')](){const {locale:_0x43551d}=this,_0x329d48=new _0x2c8ab1(_0x43551d);return _0x329d48['extendTemplate']({'attributes':{'class':[_0x140d('0x10')]}}),_0x329d48[_0x140d('0x2c')]=!0x0,_0x329d48[_0x140d('0x1e')](_0x140d('0x32'))['to'](this,'submitLabel'),_0x329d48['on'](_0x140d('0x1a'),()=>{this[_0x140d('0xb')](_0x140d('0x2a'),this['value']);}),_0x329d48[_0x140d('0x1e')]('isEnabled')['to'](this,_0x140d('0x19'),this,'disabledSubmit',(_0x1e949e,_0x380633)=>!_0x380633&&!!_0x1e949e[_0x140d('0xe')]()),_0x329d48;}[_0x140d('0x23')](){const {locale:_0x432cca}=this,_0x38e7ee=new _0x2c8ab1(_0x432cca);return _0x38e7ee['extendTemplate']({'attributes':{'class':[_0x140d('0x2e')]}}),_0x38e7ee[_0x140d('0x32')]=_0x1c88ee(_0x432cca,_0x140d('0x20')),_0x38e7ee['withText']=!0x0,_0x38e7ee['on'](_0x140d('0x1a'),()=>{this['editor'][_0x140d('0x16')](''),this[_0x140d('0xb')](_0x140d('0x36'));}),_0x38e7ee;}[_0x140d('0x34')](_0x2292bd){const _0x522402=this[_0x140d('0x12')],_0x20551b=new _0x577004();[_0x2292bd['ui'][_0x140d('0x29')],this[_0x140d('0x0')],this[_0x140d('0x15')]]['forEach'](_0x322b59=>{_0x20551b[_0x140d('0x4')](_0x322b59),_0x522402['add'](_0x322b59[_0x140d('0x1f')]);});const _0x220b8e=new _0x152d30({'focusables':_0x20551b,'focusTracker':_0x522402});this[_0x140d('0x24')][_0x140d('0x2d')](_0x140d('0x35'),(_0x465f5d,_0x1e1dce)=>{_0x220b8e[_0x140d('0x7')](),_0x1e1dce();},{'priority':_0x140d('0x2f')}),this[_0x140d('0x24')]['set'](_0x140d('0x1b'),(_0x3b1368,_0x432910)=>{_0x220b8e['focusPrevious'](),_0x432910();},{'priority':_0x140d('0x2f')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']();}}
23
+ const _0x4790=['arrowleft','div','_focusables','high','listenTo','destroy','_focusCycler','auto','ck-comments-archive__header\x20','ck-comments-archive__content','selectstart','COMMENTS_ARCHIVE','ck-hidden','render','set','_focusTracker','isActive','tab','isEmpty','add','ck-comments-archive__info','stopPropagation','_keystrokes','EMPTY_COMMENTS_ARCHIVE','shift\x20+\x20tab','arrowup','arrowright','length','focus','element','remove','setTemplate'];(function(_0x5583fc,_0x479034){const _0x378817=function(_0xd9862){while(--_0xd9862){_0x5583fc['push'](_0x5583fc['shift']());}};_0x378817(++_0x479034);}(_0x4790,0x7a));const _0x3788=function(_0x5583fc,_0x479034){_0x5583fc=_0x5583fc-0x0;let _0x378817=_0x4790[_0x5583fc];return _0x378817;};import{View as _0x41f1f8,FocusCycler as _0x5b97b9}from'ckeditor5/src/ui.js';import{FocusTracker as _0x33350c,KeystrokeHandler as _0x49ef66}from'ckeditor5/src/utils.js';import{getTranslation as _0x1f9765}from'../../../utils/common-translations.js';export default class K extends _0x41f1f8{constructor(_0x474492,_0x564784){super(_0x474492),this[_0x3788('0x14')](_0x3788('0x18'),!_0x564784[_0x3788('0x1')]),this[_0x3788('0x15')]=new _0x33350c(),this['_keystrokes']=new _0x49ef66(),this[_0x3788('0x8')]=_0x564784,this[_0x3788('0xc')]=new _0x5b97b9({'focusables':this[_0x3788('0x8')],'focusTracker':this[_0x3788('0x15')],'keystrokeHandler':this[_0x3788('0x1c')],'actions':{'focusPrevious':_0x3788('0x1e'),'focusNext':_0x3788('0x17')}}),this[_0x3788('0xa')](_0x564784,_0x3788('0x19'),()=>{this[_0x3788('0x18')]=!0x1;}),this[_0x3788('0xa')](_0x564784,_0x3788('0x4'),(_0x1fbca4,_0x47f412)=>{_0x47f412[_0x3788('0x16')]&&this['focus'](),_0x564784[_0x3788('0x1')]||(this[_0x3788('0x18')]=!0x0);});const _0x241e51=this['bindTemplate'];this[_0x3788('0x5')]({'tag':_0x3788('0x7'),'attributes':{'dir':_0x3788('0xd'),'class':['ck','ck-comments-archive'],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x3788('0xe')]},'children':[{'text':_0x1f9765(_0x474492,_0x3788('0x11'))}]},{'tag':_0x3788('0x7'),'attributes':{'class':[_0x3788('0xf')]},'children':[{'tag':_0x3788('0x7'),'children':_0x564784},{'tag':'p','attributes':{'class':[_0x3788('0x1a'),_0x241e51['if']('isEmpty',_0x3788('0x12'),_0x3fe8e4=>!_0x3fe8e4)]},'children':[{'text':_0x1f9765(_0x474492,_0x3788('0x1d'))}]}]}]});}[_0x3788('0x13')](){super['render'](),this[_0x3788('0x1c')][_0x3788('0xa')](this['element']);const _0x20d16f=_0x4dfb2b=>_0x4dfb2b[_0x3788('0x1b')]();this[_0x3788('0x1c')][_0x3788('0x14')](_0x3788('0x0'),_0x20d16f),this[_0x3788('0x1c')]['set'](_0x3788('0x6'),_0x20d16f),this[_0x3788('0x1c')][_0x3788('0x14')](_0x3788('0x1f'),_0x20d16f),this[_0x3788('0x1c')][_0x3788('0x14')]('arrowdown',_0x20d16f),this['listenTo'](this['element'],_0x3788('0x10'),(_0x481358,_0x58c319)=>{_0x58c319['stopPropagation']();},{'priority':_0x3788('0x9')});}[_0x3788('0xb')](){super[_0x3788('0xb')](),this[_0x3788('0x15')]['destroy'](),this[_0x3788('0x1c')][_0x3788('0xb')]();}[_0x3788('0x2')](){this[_0x3788('0x3')][_0x3788('0x2')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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++;}}
23
+ const _0x5490=['_handleRemoveCommentModel','change:isActive','maxCommentsWhenCollapsed','delegate','count','get','authoredAt','Marked\x20as\x20resolved','set','element','_rearrangeCollapse','add','visibleViews','render','listenTo','commentViews','hasDirtyComment','removeComment','editorDestroyed','equal','setTemplate','change:isResolved','CommentView','formatDateTime','insert','destroy','_shouldCollapse','bind','_collapsedCommentsView','from','updateComment','stopListening','length','resolvedAt','editorConfig','refreshVisibleViews','maxCommentCharsWhenCollapsed','createCollection','commentUpdated','expand','collapse','comments','_handleInfoComment','_handleNewCommentModel','_config','isActive','remove','_rearrangeExpand','resolveCommentThread','focus','resolvedBy','_model','locale','resolvedCommentView','_updateHasDirtyComment','change:isEditMode','_findOptimalIndex'];(function(_0x5475d1,_0x5490ef){const _0x1d27fe=function(_0x5a58c7){while(--_0x5a58c7){_0x5475d1['push'](_0x5475d1['shift']());}};_0x1d27fe(++_0x5490ef);}(_0x5490,0x1c7));const _0x1d27=function(_0x5475d1,_0x5490ef){_0x5475d1=_0x5475d1-0x0;let _0x1d27fe=_0x5490[_0x5475d1];return _0x1d27fe;};import{View as _0x6afd19}from'ckeditor5/src/ui.js';import{diff as _0x5ce587,Collection as _0x44c659}from'ckeditor5/src/utils.js';import{getTranslation as _0x4a2917}from'../../../utils/common-translations.js';import _0x2240b6 from'./collapsedcommentsview.js';export default class vt extends _0x6afd19{constructor(_0x37c718,_0x23eea5,_0x3dc3ef){super(_0x37c718),this['set'](_0x1d27('0x11'),!0x1),this[_0x1d27('0x9')]('length',_0x23eea5[_0x1d27('0x2a')][_0x1d27('0x21')]),this[_0x1d27('0x9')](_0x1d27('0x2e'),!0x1),this['_model']=_0x23eea5,this[_0x1d27('0x2d')]=_0x3dc3ef,this[_0x1d27('0x10')]=this[_0x1d27('0x26')](),this['visibleViews']=this[_0x1d27('0x26')](),this[_0x1d27('0x36')]=null,this[_0x1d27('0x1d')]=new _0x2240b6(_0x37c718),this[_0x1d27('0x1d')][_0x1d27('0x1c')](_0x1d27('0x5'))['to'](this,_0x1d27('0x21'),_0x5b539a=>_0x5b539a-this[_0x1d27('0x2d')][_0x1d27('0x3')]);for(const _0x323bb4 of _0x23eea5[_0x1d27('0x2a')])this[_0x1d27('0x2c')](_0x323bb4);this[_0x1d27('0x2b')](),this['listenTo'](_0x23eea5[_0x1d27('0x2a')],_0x1d27('0xc'),(_0x32302f,_0xea90fc)=>{const _0xabdd6b=this['_calculatePosition'](_0xea90fc);this[_0x1d27('0x21')]++,this[_0x1d27('0x2c')](_0xea90fc,_0xabdd6b),this[_0x1d27('0x24')]();}),this[_0x1d27('0xf')](_0x23eea5[_0x1d27('0x2a')],_0x1d27('0x2f'),(_0x47840f,_0x420916)=>{this[_0x1d27('0x21')]--,this['_handleRemoveCommentModel'](_0x420916),this['refreshVisibleViews']();}),this[_0x1d27('0xf')](_0x23eea5,_0x1d27('0x27'),()=>this['refreshVisibleViews']()),this['listenTo'](_0x23eea5,_0x1d27('0x16'),()=>this[_0x1d27('0x2b')]()),this['on'](_0x1d27('0x2'),()=>this[_0x1d27('0x24')]()),this['on']('change:hasDirtyComment',()=>this[_0x1d27('0x24')]()),this[_0x1d27('0x15')]({'tag':'ul','attributes':{'class':['ck-thread__comments']},'children':this[_0x1d27('0xd')]});}get[_0x1d27('0x1b')](){return this[_0x1d27('0x34')]['weight']>this[_0x1d27('0x2d')]['maxThreadTotalWeight']&&!this['isActive']&&!this[_0x1d27('0x11')];}[_0x1d27('0xe')](){super[_0x1d27('0xe')](),this[_0x1d27('0x24')]();}[_0x1d27('0x32')](){this[_0x1d27('0xa')]['focus']();}[_0x1d27('0x1a')](){this['_collapsedCommentsView'][_0x1d27('0x1a')]();for(const _0x19558a of this[_0x1d27('0x10')])_0x19558a[_0x1d27('0x1a')]();super[_0x1d27('0x1a')]();}['refreshVisibleViews'](){this[_0x1d27('0x1b')]?this[_0x1d27('0xb')]():this[_0x1d27('0x30')]();}[_0x1d27('0x2c')](_0x4ac028,_0x1956a1){const _0x1cadc2=new this['_config'][(_0x1d27('0x17'))](this[_0x1d27('0x35')],_0x4ac028,{'maxCommentCharsWhenCollapsed':this[_0x1d27('0x2d')][_0x1d27('0x25')],'formatDateTime':this[_0x1d27('0x2d')][_0x1d27('0x18')],'editorConfig':this[_0x1d27('0x2d')][_0x1d27('0x23')]});_0x1cadc2['viewUid']=_0x4ac028['id'],_0x1cadc2[_0x1d27('0x4')](_0x1d27('0x12'))['to'](this),_0x1cadc2[_0x1d27('0x4')](_0x1d27('0x1f'))['to'](this),_0x1cadc2['delegate'](_0x1d27('0x31'))['to'](this),_0x1cadc2[_0x1d27('0x4')]('editorReady')['to'](this),_0x1cadc2[_0x1d27('0x4')](_0x1d27('0x13'))['to'](this),this[_0x1d27('0xf')](_0x1cadc2,_0x1d27('0x38'),()=>this[_0x1d27('0x37')]()),this['commentViews']['add'](_0x1cadc2,_0x1956a1);}['_calculatePosition'](_0x3026b2){const _0x5da96d=this[_0x1d27('0x34')][_0x1d27('0x0')](_0x3026b2);return this['resolvedCommentView']?this[_0x1d27('0x36')][_0x1d27('0x7')]>_0x3026b2[_0x1d27('0x7')]?_0x5da96d-0x1:_0x5da96d:_0x5da96d-0x1;}[_0x1d27('0x2b')](){if(this[_0x1d27('0x34')]['resolvedBy']&&this[_0x1d27('0x34')][_0x1d27('0x22')]){const _0xa2e1fa={'id':'resolved','author':this[_0x1d27('0x34')][_0x1d27('0x33')],'authoredAt':this[_0x1d27('0x34')][_0x1d27('0x22')],'content':_0x4a2917(this[_0x1d27('0x35')],_0x1d27('0x8')),'attributes':{}};this[_0x1d27('0x36')]=new this[(_0x1d27('0x2d'))][(_0x1d27('0x17'))](this[_0x1d27('0x35')],_0xa2e1fa,{'maxCommentCharsWhenCollapsed':this[_0x1d27('0x2d')][_0x1d27('0x25')],'formatDateTime':this[_0x1d27('0x2d')][_0x1d27('0x18')],'editorConfig':this[_0x1d27('0x2d')][_0x1d27('0x23')],'isSystemComment':!0x0}),this[_0x1d27('0x10')]['add'](this[_0x1d27('0x36')],this[_0x1d27('0x34')]['_findOptimalIndex'](_0xa2e1fa));}else this[_0x1d27('0x36')]&&(this[_0x1d27('0x10')][_0x1d27('0x2f')](this[_0x1d27('0x36')]),this[_0x1d27('0x36')][_0x1d27('0x1a')](),this['resolvedCommentView']=null);this[_0x1d27('0x24')]();}[_0x1d27('0x1')](_0x42477e){const _0x44d06a=this[_0x1d27('0x10')]['remove'](_0x42477e['id']);this[_0x1d27('0x20')](_0x44d06a),_0x44d06a['isEditMode']&&this[_0x1d27('0x37')](),_0x44d06a['destroy']();}['_updateHasDirtyComment'](){this[_0x1d27('0x11')]=Array[_0x1d27('0x1e')](this['commentViews'])['some'](_0x437422=>_0x437422['isEditMode']);}['_rearrangeCollapse'](){const _0x2446cc=function(_0x4fd8dd){const _0x3af363=new _0x44c659();for(const _0x4d4ea9 of _0x4fd8dd)_0x3af363[_0x1d27('0xc')](_0x4d4ea9);return _0x3af363;}(this[_0x1d27('0x10')]),_0x4e178d=this['_collapsedCommentsView'][_0x1d27('0x5')];for(let _0x3800ca=0x1;_0x3800ca<=_0x4e178d;_0x3800ca++)_0x2446cc[_0x1d27('0x2f')](0x1);for(const _0x2c5fb9 of _0x2446cc)_0x2c5fb9[_0x1d27('0x29')]();_0x4e178d>0x0&&_0x2446cc[_0x1d27('0xc')](this[_0x1d27('0x1d')],0x1),is(_0x5ce587(Array[_0x1d27('0x1e')](this[_0x1d27('0xd')]),Array[_0x1d27('0x1e')](_0x2446cc)),this[_0x1d27('0xd')],_0x2446cc);}[_0x1d27('0x30')](){is(_0x5ce587(Array['from'](this[_0x1d27('0xd')]),Array['from'](this[_0x1d27('0x10')])),this[_0x1d27('0xd')],this['commentViews']);for(const _0x2e0498 of this['visibleViews'])_0x2e0498[_0x1d27('0x28')]();}}function is(_0x4b8a63,_0x2e1a2a,_0x2406fe){let _0x5a7f2d=0x0;for(const _0x56f7ff of _0x4b8a63)switch(_0x56f7ff){case _0x1d27('0x19'):_0x2e1a2a[_0x1d27('0xc')](_0x2406fe[_0x1d27('0x6')](_0x5a7f2d),_0x5a7f2d),_0x5a7f2d++;break;case'delete':_0x2e1a2a[_0x1d27('0x2f')](_0x5a7f2d);break;case _0x1d27('0x14'):_0x5a7f2d++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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'));});}}
23
+ const _0x47a8=['reopenButtonView','Comment\x20was\x20made\x20on\x20an\x20element','isReadOnly','.ck-context__value','locale','remove','overlay','listenTo','isVisible','classList','tooltip','length','context','isResolvable','icon','ck-context__value','ck-context','add','div','mouseenter','.ck-context','_model','scrollWidth','value','Reopen','mouseleave','isResolved','contextValue','render','hasContext','offsetWidth','querySelector','substring','fire','...','ck-context--quotes','bind','lastIndexOf','execute','span','_createReopenButton','ck-thread__header','_attachContextActions'];(function(_0x17a977,_0x47a80e){const _0x6e422b=function(_0x289fad){while(--_0x289fad){_0x17a977['push'](_0x17a977['shift']());}};_0x6e422b(++_0x47a80e);}(_0x47a8,0xc7));const _0x6e42=function(_0x17a977,_0x47a80e){_0x17a977=_0x17a977-0x0;let _0x6e422b=_0x47a8[_0x17a977];return _0x6e422b;};import{View as _0x35b73c,ButtonView as _0x2af6b0}from'ckeditor5/src/ui.js';import{getTranslation as _0x579c74}from'../../../utils/common-translations.js';import _0x31a2c5 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x35b73c{constructor(_0x302b96,_0x182140){super(_0x302b96);const _0x937c86=this['bindTemplate'];this[_0x6e42('0x25')]=_0x182140,this[_0x6e42('0x10')]=this['_createReopenButton'](),this['bind'](_0x6e42('0x2'))['to'](this[_0x6e42('0x25')],_0x6e42('0x1c'),_0x1df652=>!!_0x1df652),this[_0x6e42('0x9')](_0x6e42('0x0'))['to'](this['_model'],_0x6e42('0x1c'),_0x2985fd=>_0x2985fd&&_0x2985fd[_0x6e42('0x27')]?this['_trimContextValue'](_0x2985fd['value']):_0x579c74(this[_0x6e42('0x14')],_0x6e42('0x11'))),this['setTemplate']({'tag':_0x6e42('0x22'),'attributes':{'class':[_0x6e42('0xe')]},'children':[{'tag':_0x6e42('0x22'),'attributes':{'class':['ck-context-wrapper']},'children':[{'tag':_0x6e42('0x22'),'attributes':{'class':[_0x6e42('0x20'),_0x937c86['if'](_0x6e42('0x2'),_0x6e42('0x8'))]},'children':[{'tag':_0x6e42('0xc'),'attributes':{'class':[_0x6e42('0x1f')]},'children':[{'text':_0x937c86['to']('contextValue')}]}]}]},{'tag':'div','attributes':{'class':['ck-annotation__actions']},'children':[this[_0x6e42('0x10')]]}]});}[_0x6e42('0x1')](){super[_0x6e42('0x1')](),this[_0x6e42('0xf')]();}[_0x6e42('0xd')](){const _0x4880cc=new _0x2af6b0(this['locale']);return _0x4880cc['label']=_0x579c74(this['locale'],_0x6e42('0x28')),_0x4880cc[_0x6e42('0x1a')]=_0x579c74(this[_0x6e42('0x14')],_0x6e42('0x28')),_0x4880cc[_0x6e42('0x1e')]=_0x31a2c5,_0x4880cc['bind']('isEnabled')['to'](this[_0x6e42('0x25')],_0x6e42('0x12'),_0x4da71c=>!_0x4da71c),_0x4880cc['bind'](_0x6e42('0x18'))['to'](this['_model'],_0x6e42('0x1d'),this[_0x6e42('0x25')],_0x6e42('0x2a'),(_0x1c6aa5,_0x2c9a79)=>_0x1c6aa5&&_0x2c9a79),_0x4880cc['on'](_0x6e42('0xb'),()=>{this[_0x6e42('0x6')]('reopenCommentThread',this[_0x6e42('0x25')]['id']);}),_0x4880cc;}['_trimContextValue'](_0x249d71){if(_0x249d71[_0x6e42('0x1b')]<0x96)return _0x249d71;const _0x458bf1=_0x249d71[_0x6e42('0xa')]('\x20',0x93);return _0x249d71[_0x6e42('0x5')](0x0,_0x458bf1>-0x1?_0x458bf1:0x93)+_0x6e42('0x7');}[_0x6e42('0xf')](){const _0x535256=this['element'][_0x6e42('0x4')](_0x6e42('0x24')),_0x38f563=_0x535256['querySelector'](_0x6e42('0x13'));this[_0x6e42('0x17')](_0x535256,_0x6e42('0x23'),()=>{_0x38f563[_0x6e42('0x3')]<_0x38f563[_0x6e42('0x26')]&&_0x535256[_0x6e42('0x19')][_0x6e42('0x21')](_0x6e42('0x16'));}),this[_0x6e42('0x17')](_0x535256,_0x6e42('0x29'),()=>{_0x535256[_0x6e42('0x19')][_0x6e42('0x15')]('overlay');});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']());}}
23
+ var _0x3362=['bindTemplate','createEditor','focusTracker','ck-comment__input-container--active','change:showInput','editorDestroyed','ck-thread__input','destroy','showInput','ck-thread__user','bind','showButtons','value','extendTemplate','then','div','editor','delegate','userView','commentInputView','editorReady'];(function(_0x288059,_0x336297){var _0x15811d=function(_0x34f9b7){while(--_0x34f9b7){_0x288059['push'](_0x288059['shift']());}};_0x15811d(++_0x336297);}(_0x3362,0x10e));var _0x1581=function(_0x288059,_0x336297){_0x288059=_0x288059-0x0;var _0x15811d=_0x3362[_0x288059];return _0x15811d;};import{View as _0x28dc16}from'ckeditor5/src/ui.js';import _0x29d483 from'./commentinputview.js';import{UserView as _0x4d8680}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Ct extends _0x28dc16{constructor(_0x5936ad,_0xb9431d,_0x28c5a6){super(_0x5936ad),this[_0x1581('0x1')]=new _0x29d483(_0x5936ad,_0x28c5a6),this[_0x1581('0x1')][_0x1581('0xd')](_0x1581('0xe'))['to'](this[_0x1581('0x1')][_0x1581('0x5')],'isFocused',this[_0x1581('0x1')],_0x1581('0xf'),(_0x4ac3be,_0x19e715)=>_0x4ac3be||!!_0x19e715),this['set'](_0x1581('0xb'),!0x1),this['on'](_0x1581('0x7'),()=>{this[_0x1581('0xb')]&&!this[_0x1581('0x1')][_0x1581('0x13')]&&this[_0x1581('0x1')][_0x1581('0x4')]();}),this[_0x1581('0x1')][_0x1581('0x14')](_0x1581('0x2'))['to'](this),this[_0x1581('0x1')][_0x1581('0x14')](_0x1581('0x8'))['to'](this),this[_0x1581('0x0')]=new _0x4d8680(_0x5936ad,_0xb9431d),this[_0x1581('0x0')][_0x1581('0x10')]({'attributes':{'class':_0x1581('0xc')}}),this['commentInputView']['extendTemplate']({'attributes':{'class':_0x1581('0x9')}}),this['setTemplate']({'tag':_0x1581('0x12'),'attributes':{'class':['ck-comment__input-container',this[_0x1581('0x3')]['if']('showInput',_0x1581('0x6'))]},'children':[this[_0x1581('0x0')],this['commentInputView']]});}[_0x1581('0xa')](){return this['commentInputView'][_0x1581('0xa')]()[_0x1581('0x11')](()=>super[_0x1581('0xa')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ const _0x278d=['length','isResolved','locale','_model','isEnabled','Write\x20a\x20comment...','ck-comment--resolve','removeButton','commentThreadInputView','listenTo','div','commentViews','ck-thread','isReadOnly','removeCommentThread','ck-thread__container','getTemplate','remove','change:archivedAt','isVisible','set','extendTemplate','execute','ck-reset_all-excluded','high','resolveButton','bind','unbind','change:isReadOnly','check','addMany','_bindFirstCommentView','_boundFirstCommentView','Delete\x20comment\x20thread?','isResolvable','archivedAt','showConfirm','_createResolveButton','_cancelAllConfirms','ck-thread--remove-confirmation','ck-thread--','fire','render','icon','createCollection','querySelector','actionBar','stop','then','commentsListView','resolveCommentThread','setTemplate','element','Resolve','commentThreadHeaderView','has','isUnlinked','ck-thread--unlinked','get','isConfirm','actionIndicator','commentThreadChildren','containerElement','add'];(function(_0x41fdd0,_0x278dc8){const _0x3c8143=function(_0x47c1c4){while(--_0x47c1c4){_0x41fdd0['push'](_0x41fdd0['shift']());}};_0x3c8143(++_0x278dc8);}(_0x278d,0x179));const _0x3c81=function(_0x41fdd0,_0x278dc8){_0x41fdd0=_0x41fdd0-0x0;let _0x3c8143=_0x278d[_0x41fdd0];return _0x3c8143;};import{ConfirmMixin as _0x551580}from'ckeditor5-collaboration/src/collaboration-core.js';import{ButtonView as _0xe9af1b}from'ckeditor5/src/ui.js';import{icons as _0x1659a6}from'ckeditor5/src/core.js';import _0x269cc0 from'./basecommentthreadview.js';import{getTranslation as _0x41ac20}from'../../../utils/common-translations.js';export default class ft extends _0x551580(_0x269cc0){constructor(_0x10e127,_0x57ab34,_0x5d194b,_0x5b70bd){super(_0x10e127,_0x57ab34,_0x5d194b,_0x5b70bd),this[_0x3c81('0x4')]=this[_0x3c81('0x33')](),this[_0x3c81('0x4')][_0x3c81('0x25')]([this[_0x3c81('0x38')],this[_0x3c81('0xf')]]),this['_model'][_0x3c81('0x2a')]&&this[_0x3c81('0x4')][_0x3c81('0x6')](this[_0x3c81('0x3d')],0x0),this[_0x3c81('0xa')]['on'](_0x3c81('0x19'),(_0x3e31f7,_0x5da9fb,_0x4712a9)=>{_0x4712a9?this[_0x3c81('0x4')][_0x3c81('0x3e')](this[_0x3c81('0x3d')])||this[_0x3c81('0x4')][_0x3c81('0x6')](this[_0x3c81('0x3d')],0x0):this[_0x3c81('0x4')][_0x3c81('0x18')](this[_0x3c81('0x3d')]);}),this[_0x3c81('0x1b')](_0x3c81('0x3'),null),this[_0x3c81('0x5')]=null,this[_0x3c81('0x27')]=null,this[_0x3c81('0x9')]=_0x10e127,this[_0x3c81('0x20')]=this[_0x3c81('0x2c')](),this[_0x3c81('0x3a')](this[_0x3c81('0x17')]()),this['on']('change:isActive',(_0x427c16,_0x100ee3,_0x5d9f74)=>{_0x5d9f74||this[_0x3c81('0x2d')]();}),this['listenTo'](this[_0x3c81('0xa')],_0x3c81('0x23'),(_0x583cb9,_0x30db94,_0x29bc11)=>{_0x29bc11&&this[_0x3c81('0x2d')]();}),this[_0x3c81('0x7')]>0x0&&this[_0x3c81('0x26')](),this[_0x3c81('0x10')](this[_0x3c81('0x38')][_0x3c81('0x12')],_0x3c81('0x6'),()=>{this[_0x3c81('0x26')]();});}['getTemplate'](){const _0x55d335=this['bindTemplate'];return{'tag':_0x3c81('0x11'),'attributes':{'class':[_0x3c81('0x13'),_0x3c81('0x1e'),_0x55d335['if']('isActive','ck-thread--active'),_0x55d335['if'](_0x3c81('0x3f'),_0x3c81('0x0')),_0x55d335['if'](_0x3c81('0x2'),_0x3c81('0x2e')),_0x55d335['to'](_0x3c81('0x3'),_0x1d1957=>_0x1d1957?_0x3c81('0x2f')+_0x1d1957:'')],'data-thread-id':this['_model']['id'],'tabindex':-0x1},'children':[{'tag':_0x3c81('0x11'),'attributes':{'class':_0x3c81('0x16')},'children':this[_0x3c81('0x4')]}]};}[_0x3c81('0x31')](){super['render'](),this[_0x3c81('0x5')]=this[_0x3c81('0x3b')][_0x3c81('0x34')]('.ck-thread__container');}[_0x3c81('0x2d')](){this['cancelConfirm']();for(const _0x4be389 of this[_0x3c81('0x38')][_0x3c81('0x12')])_0x4be389['cancelConfirm']();}[_0x3c81('0x26')](){const {locale:_0x1e859a}=this,_0x4f9725=this[_0x3c81('0x38')][_0x3c81('0x12')][_0x3c81('0x1')](0x0);_0x4f9725===this[_0x3c81('0x27')]||_0x4f9725['isSystemComment']||(this[_0x3c81('0x27')]=_0x4f9725,this[_0x3c81('0x22')](_0x3c81('0x3')),this['bind']('actionIndicator')['to'](_0x4f9725,'actionIndicator',_0x54fcfc=>'remove'===_0x54fcfc?_0x3c81('0x18'):null),_0x4f9725['placeholder']=_0x41ac20(_0x1e859a,_0x3c81('0xc')),_0x4f9725[_0x3c81('0xe')]['on']('execute',_0x299de9=>{_0x299de9[_0x3c81('0x36')](),this[_0x3c81('0x2b')](_0x41ac20(_0x1e859a,_0x3c81('0x28')),this[_0x3c81('0x5')])[_0x3c81('0x37')](()=>{this[_0x3c81('0x30')](_0x3c81('0x15'));});},{'priority':_0x3c81('0x1f')}),_0x4f9725[_0x3c81('0x35')]['add'](this[_0x3c81('0x20')],0x0));}['_createResolveButton'](){const _0x599d0c=new _0xe9af1b(this['locale']);return _0x599d0c['label']=_0x41ac20(this[_0x3c81('0x9')],_0x3c81('0x3c')),_0x599d0c['tooltip']=_0x41ac20(this[_0x3c81('0x9')],_0x3c81('0x3c')),_0x599d0c[_0x3c81('0x32')]=_0x1659a6[_0x3c81('0x24')],_0x599d0c[_0x3c81('0x1c')]({'attributes':{'class':_0x3c81('0xd')}}),_0x599d0c[_0x3c81('0x21')](_0x3c81('0xb'))['to'](this[_0x3c81('0xa')],_0x3c81('0x14'),_0x3d5b2e=>!_0x3d5b2e),_0x599d0c[_0x3c81('0x21')](_0x3c81('0x1a'))['to'](this[_0x3c81('0xa')],_0x3c81('0x29'),this[_0x3c81('0xa')],_0x3c81('0x8'),(_0x50a2b4,_0x442f37)=>_0x50a2b4&&!_0x442f37),_0x599d0c['on'](_0x3c81('0x1d'),()=>{this['fire'](_0x3c81('0x39'),this[_0x3c81('0xa')]['id']);}),_0x599d0c;}}