@ckeditor/ckeditor5-comments 0.0.0-nightly-20240128.0 → 0.0.0-nightly-20240130.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 _0x54d2=['map','editor','dataInsert','afterInit','define','_handleImportedData','addCommentThread','listenTo','plugins','config','forEach','get','collaboration.channelId','importWord','execute','commands'];(function(_0x193d7e,_0x54d2cd){const _0x5b0c94=function(_0x5595d8){while(--_0x5595d8){_0x193d7e['push'](_0x193d7e['shift']());}};_0x5b0c94(++_0x54d2cd);}(_0x54d2,0x6a));const _0x5b0c=function(_0x193d7e,_0x54d2cd){_0x193d7e=_0x193d7e-0x0;let _0x5b0c94=_0x54d2[_0x193d7e];return _0x5b0c94;};import{Plugin as _0x4f6dab}from'ckeditor5/src/core.js';import{priorities as _0x21244f}from'ckeditor5/src/utils.js';import{Users as _0x231690}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x305b2e from'../commentsrepository.js';export default class Z extends _0x4f6dab{constructor(_0x4a0e36){super(_0x4a0e36),this['editor'][_0x5b0c('0xf')][_0x5b0c('0xa')]('importWord.formatting.comments','basic');}[_0x5b0c('0x9')](){const _0x202faa=this[_0x5b0c('0x7')],_0x2340fd=_0x202faa[_0x5b0c('0x5')][_0x5b0c('0x1')](_0x5b0c('0x3')),_0x5912bd=_0x202faa[_0x5b0c('0xe')][_0x5b0c('0x1')](_0x231690);_0x2340fd&&(_0x2340fd['on'](_0x5b0c('0x4'),(_0x1acf51,[,_0xefc103])=>{_0xefc103['collaboration_features']={'comments':!0x0,'user_id':_0x5912bd['me']['id']};},{'priority':_0x21244f['high']+0xa}),this[_0x5b0c('0xd')](_0x2340fd,_0x5b0c('0x8'),this[_0x5b0c('0xb')]));}[_0x5b0c('0xb')](_0x50dc4e,_0xbe34bd){const {comment_threads:_0x31b753}=_0xbe34bd;_0x31b753&&_0x31b753[_0x5b0c('0x0')](({thread_id:_0x104c17,comments:_0x43f9c5,is_resolved:_0x1ec853})=>{const _0x37c280=new Date(),_0x89caf9=_0x43f9c5[_0x5b0c('0x6')](({author:_0x5a5103,content:_0x3d0a3f,created_at:_0x423b89})=>({'content':_0x3d0a3f,'authorId':this[_0x5b0c('0x7')]['plugins']['get'](_0x231690)['me']['id'],'createdAt':_0x37c280,'attributes':{'@external':{'authorName':_0x5a5103,'createdAt':_0x423b89?new Date(_0x423b89):new Date(),'source':_0x5b0c('0x3')}}})),_0x4c80a2=this[_0x5b0c('0x7')][_0x5b0c('0xf')]['get'](_0x5b0c('0x2'));this[_0x5b0c('0x7')][_0x5b0c('0xe')][_0x5b0c('0x1')](_0x305b2e)[_0x5b0c('0xc')]({'channelId':_0x4c80a2,'threadId':_0x104c17,'comments':_0x89caf9,'resolvedAt':_0x1ec853?_0x37c280:null});});}}
23
+ const _0xb68d=['dataInsert','addCommentThread','config','basic','listenTo','execute','commands','forEach','collaboration_features','editor','map','_handleImportedData','define','collaboration.channelId','plugins'];(function(_0x1f1feb,_0xb68df0){const _0x41e471=function(_0x5ed01d){while(--_0x5ed01d){_0x1f1feb['push'](_0x1f1feb['shift']());}};_0x41e471(++_0xb68df0);}(_0xb68d,0xe6));const _0x41e4=function(_0x1f1feb,_0xb68df0){_0x1f1feb=_0x1f1feb-0x0;let _0x41e471=_0xb68d[_0x1f1feb];return _0x41e471;};import{Plugin as _0x3f835a}from'ckeditor5/src/core.js';import{priorities as _0x10490e}from'ckeditor5/src/utils.js';import{Users as _0x5a5960}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x534c87 from'../commentsrepository.js';export default class Z extends _0x3f835a{constructor(_0x5ad411){super(_0x5ad411),this[_0x41e4('0x4')][_0x41e4('0xc')][_0x41e4('0x7')]('importWord.formatting.comments',_0x41e4('0xd'));}['afterInit'](){const _0x54c4a0=this[_0x41e4('0x4')],_0x2531a5=_0x54c4a0[_0x41e4('0x1')]['get']('importWord'),_0x41a539=_0x54c4a0[_0x41e4('0x9')]['get'](_0x5a5960);_0x2531a5&&(_0x2531a5['on'](_0x41e4('0x0'),(_0x3fc478,[,_0x471f69])=>{_0x471f69[_0x41e4('0x3')]={'comments':!0x0,'user_id':_0x41a539['me']['id']};},{'priority':_0x10490e['high']+0xa}),this[_0x41e4('0xe')](_0x2531a5,_0x41e4('0xa'),this['_handleImportedData']));}[_0x41e4('0x6')](_0x1e6c54,_0x790625){const {comment_threads:_0x207bab}=_0x790625;_0x207bab&&_0x207bab[_0x41e4('0x2')](({thread_id:_0x23ef7e,comments:_0x2a68db,is_resolved:_0xe1584a})=>{const _0x11d703=new Date(),_0x501bc0=_0x2a68db[_0x41e4('0x5')](({author:_0x942f8,content:_0x587031,created_at:_0x437046})=>({'content':_0x587031,'authorId':this['editor'][_0x41e4('0x9')]['get'](_0x5a5960)['me']['id'],'createdAt':_0x11d703,'attributes':{'@external':{'authorName':_0x942f8,'createdAt':_0x437046?new Date(_0x437046):new Date(),'source':'importWord'}}})),_0x471c8a=this[_0x41e4('0x4')][_0x41e4('0xc')]['get'](_0x41e4('0x8'));this[_0x41e4('0x4')][_0x41e4('0x9')]['get'](_0x534c87)[_0x41e4('0xb')]({'channelId':_0x471c8a,'threadId':_0x23ef7e,'comments':_0x501bc0,'resolvedAt':_0xe1584a?_0x11d703:null});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ba0=['get','destroy','focus','assign','defaultPlugins','placeholder','data','childCount','set','createRoot','getChild','getRoot','setSelection','document','fire','config','low','change:placeholder','initialData','plugins','editing','end','ready','init','view','model','_updatePlaceholder','placeholderElement','then'];(function(_0x6c8b3c,_0x3ba093){const _0x512df1=function(_0x240808){while(--_0x240808){_0x6c8b3c['push'](_0x6c8b3c['shift']());}};_0x512df1(++_0x3ba093);}(_0x3ba0,0x80));const _0x512d=function(_0x6c8b3c,_0x3ba093){_0x6c8b3c=_0x6c8b3c-0x0;let _0x512df1=_0x3ba0[_0x6c8b3c];return _0x512df1;};import{Editor as _0x53c7b5,DataApiMixin as _0xe237ea}from'ckeditor5/src/core.js';import _0x4841ca from'./commenteditorui.js';import{ObservableMixin as _0x54d4ec}from'ckeditor5/src/utils.js';import{enablePlaceholder as _0xdab53e,disablePlaceholder as _0x41c782}from'ckeditor5/src/engine.js';import{Clipboard as _0x102983}from'ckeditor5/src/clipboard.js';import{Enter as _0x197f05,ShiftEnter as _0x1f794d}from'ckeditor5/src/enter.js';import{SelectAll as _0x4167b8}from'ckeditor5/src/select-all.js';import{Typing as _0x32b82e}from'ckeditor5/src/typing.js';import{Undo as _0xdac866}from'ckeditor5/src/undo.js';import{Paragraph as _0x3edf74}from'ckeditor5/src/paragraph.js';const Mt=[_0x102983,_0x197f05,_0x1f794d,_0x4167b8,_0x32b82e,_0xdac866,_0x3edf74];class Nt extends _0x54d4ec(_0xe237ea(_0x53c7b5)){constructor(_0x23c19d={}){(_0x23c19d=Object[_0x512d('0x14')]({},_0x23c19d))[_0x512d('0x7')]||(_0x23c19d[_0x512d('0x7')]=Nt[_0x512d('0x15')]),super(_0x23c19d),this['ui']=new _0x4841ca(this),this[_0x512d('0x19')](_0x512d('0x16'),''),this[_0x512d('0xd')][_0x512d('0x1')]['on']('change',()=>this[_0x512d('0xe')](),{'priority':_0x512d('0x4')}),this['on'](_0x512d('0x5'),()=>this[_0x512d('0xe')]()),this[_0x512d('0xd')][_0x512d('0x1')][_0x512d('0x1a')]();}['create'](){const _0x19ad55=this[_0x512d('0x3')][_0x512d('0x11')](_0x512d('0x6'))||'';return this['initPlugins']()[_0x512d('0x10')](()=>this['ui'][_0x512d('0xb')]())[_0x512d('0x10')](()=>this[_0x512d('0x17')][_0x512d('0xb')](_0x19ad55))[_0x512d('0x10')](()=>this[_0x512d('0x2')](_0x512d('0xa')));}[_0x512d('0x12')](){return super[_0x512d('0x12')]()[_0x512d('0x10')](()=>this['ui'][_0x512d('0x12')]());}[_0x512d('0x13')](){this['model']['change'](_0x26600c=>{const _0x4b4000=this[_0x512d('0xd')]['document'][_0x512d('0x1c')](),_0x393da4=_0x4b4000&&_0x4b4000[_0x512d('0x1b')](_0x4b4000[_0x512d('0x18')]-0x1);_0x26600c[_0x512d('0x0')](_0x393da4,_0x512d('0x9')),this[_0x512d('0x8')][_0x512d('0xc')][_0x512d('0x13')]();});}[_0x512d('0xe')](){const _0x3aea7b=this[_0x512d('0x8')]['view'],_0x18be3c=_0x3aea7b[_0x512d('0x1')]['getRoot'](),_0x3bad34=_0x18be3c[_0x512d('0x1b')](0x0);_0x18be3c[_0x512d('0x18')]>0x1||!_0x3bad34||'p'!=_0x3bad34['name']?this[_0x512d('0xf')]&&this[_0x512d('0xf')][_0x512d('0x16')]&&(_0x41c782(_0x3aea7b,this[_0x512d('0xf')]),this['placeholderElement']=void 0x0):(this[_0x512d('0x16')]&&(_0x3bad34[_0x512d('0x16')]=this[_0x512d('0x16')]),_0xdab53e({'view':_0x3aea7b,'element':_0x3bad34,'keepOnFocus':!0x0}),this[_0x512d('0xf')]=_0x3bad34);}}Nt[_0x512d('0x15')]=Mt;export default Nt;
23
+ const _0x595a=['placeholderElement','end','_updatePlaceholder','focus','set','change','init','config','createRoot','setSelection','view','then','change:placeholder','editing','plugins','document','placeholder','destroy','low','childCount','ready','getChild','assign','defaultPlugins','getRoot','model','create','data','get','initPlugins','fire'];(function(_0x18459e,_0x595ae5){const _0x2c0501=function(_0x4c1d32){while(--_0x4c1d32){_0x18459e['push'](_0x18459e['shift']());}};_0x2c0501(++_0x595ae5);}(_0x595a,0xca));const _0x2c05=function(_0x18459e,_0x595ae5){_0x18459e=_0x18459e-0x0;let _0x2c0501=_0x595a[_0x18459e];return _0x2c0501;};import{Editor as _0x19d73e,DataApiMixin as _0x13ea46}from'ckeditor5/src/core.js';import _0x548100 from'./commenteditorui.js';import{ObservableMixin as _0x2f778c}from'ckeditor5/src/utils.js';import{enablePlaceholder as _0x2e6c99,disablePlaceholder as _0x56a016}from'ckeditor5/src/engine.js';import{Clipboard as _0x341ea3}from'ckeditor5/src/clipboard.js';import{Enter as _0x5b2d03,ShiftEnter as _0x5d6fae}from'ckeditor5/src/enter.js';import{SelectAll as _0x325240}from'ckeditor5/src/select-all.js';import{Typing as _0xed00bf}from'ckeditor5/src/typing.js';import{Undo as _0x1d4dc5}from'ckeditor5/src/undo.js';import{Paragraph as _0x4e2148}from'ckeditor5/src/paragraph.js';const Mt=[_0x341ea3,_0x5b2d03,_0x5d6fae,_0x325240,_0xed00bf,_0x1d4dc5,_0x4e2148];class Nt extends _0x2f778c(_0x13ea46(_0x19d73e)){constructor(_0x223022={}){(_0x223022=Object[_0x2c05('0x6')]({},_0x223022))['plugins']||(_0x223022[_0x2c05('0x1d')]=Nt[_0x2c05('0x7')]),super(_0x223022),this['ui']=new _0x548100(this),this[_0x2c05('0x13')]('placeholder',''),this[_0x2c05('0x9')]['document']['on']('change',()=>this['_updatePlaceholder'](),{'priority':_0x2c05('0x2')}),this['on'](_0x2c05('0x1b'),()=>this[_0x2c05('0x11')]()),this[_0x2c05('0x9')][_0x2c05('0x1e')][_0x2c05('0x17')]();}[_0x2c05('0xa')](){const _0x33fe73=this[_0x2c05('0x16')][_0x2c05('0xc')]('initialData')||'';return this[_0x2c05('0xd')]()[_0x2c05('0x1a')](()=>this['ui'][_0x2c05('0x15')]())[_0x2c05('0x1a')](()=>this[_0x2c05('0xb')]['init'](_0x33fe73))[_0x2c05('0x1a')](()=>this[_0x2c05('0xe')](_0x2c05('0x4')));}[_0x2c05('0x1')](){return super['destroy']()['then'](()=>this['ui'][_0x2c05('0x1')]());}[_0x2c05('0x12')](){this['model'][_0x2c05('0x14')](_0x3fcacc=>{const _0x18532f=this[_0x2c05('0x9')]['document'][_0x2c05('0x8')](),_0x122369=_0x18532f&&_0x18532f[_0x2c05('0x5')](_0x18532f[_0x2c05('0x3')]-0x1);_0x3fcacc[_0x2c05('0x18')](_0x122369,_0x2c05('0x10')),this[_0x2c05('0x1c')][_0x2c05('0x19')][_0x2c05('0x12')]();});}[_0x2c05('0x11')](){const _0x48500e=this[_0x2c05('0x1c')][_0x2c05('0x19')],_0x50faa2=_0x48500e[_0x2c05('0x1e')]['getRoot'](),_0x42b2cb=_0x50faa2[_0x2c05('0x5')](0x0);_0x50faa2[_0x2c05('0x3')]>0x1||!_0x42b2cb||'p'!=_0x42b2cb['name']?this[_0x2c05('0xf')]&&this[_0x2c05('0xf')][_0x2c05('0x0')]&&(_0x56a016(_0x48500e,this['placeholderElement']),this[_0x2c05('0xf')]=void 0x0):(this['placeholder']&&(_0x42b2cb[_0x2c05('0x0')]=this[_0x2c05('0x0')]),_0x2e6c99({'view':_0x48500e,'element':_0x42b2cb,'keepOnFocus':!0x0}),this[_0x2c05('0xf')]=_0x42b2cb);}}Nt[_0x2c05('0x7')]=Mt;export default Nt;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27dc=['destroy','init','bind','locale','isFocused','editing','element','focusTracker','attachDomRoot','name','setEditableElement','editable','ready','view','editor','document'];(function(_0x4f12d7,_0x27dc26){const _0x43998f=function(_0x41eebe){while(--_0x41eebe){_0x4f12d7['push'](_0x4f12d7['shift']());}};_0x43998f(++_0x27dc26);}(_0x27dc,0x1b0));const _0x4399=function(_0x4f12d7,_0x27dc26){_0x4f12d7=_0x4f12d7-0x0;let _0x43998f=_0x27dc[_0x4f12d7];return _0x43998f;};import{EditorUI as _0x3645fa}from'ckeditor5/src/ui.js';import _0x6d8a27 from'./commenteditoruiview.js';export default class Ft extends _0x3645fa{constructor(_0x5a6654){super(_0x5a6654),this[_0x4399('0xd')]=new _0x6d8a27(_0x5a6654[_0x4399('0x3')],_0x5a6654[_0x4399('0x5')]['view']);}get[_0x4399('0x6')](){return this[_0x4399('0xd')]['element'];}[_0x4399('0x1')](){const _0x37e62a=this[_0x4399('0xe')][_0x4399('0x5')][_0x4399('0xd')],_0x2309db=this[_0x4399('0xd')][_0x4399('0xb')],_0x1c6bce=_0x37e62a[_0x4399('0xf')]['getRoot']();_0x2309db[_0x4399('0x9')]=_0x1c6bce['rootName'],this[_0x4399('0xd')]['render']();const _0xa66bea=_0x2309db[_0x4399('0x6')];this[_0x4399('0xa')](_0x2309db['name'],_0xa66bea),this[_0x4399('0xd')][_0x4399('0xb')][_0x4399('0x2')](_0x4399('0x4'))['to'](this[_0x4399('0x7')]),_0x37e62a[_0x4399('0x8')](_0xa66bea),this['fire'](_0x4399('0xc'));}[_0x4399('0x0')](){super['destroy'](),this['view'][_0x4399('0x0')]();}}
23
+ const _0x52d8=['focusTracker','fire','attachDomRoot','render','editable','view','destroy','bind','isFocused','setEditableElement','ready','editing','name','document','rootName','init','element'];(function(_0x2b1668,_0x52d868){const _0x3f1438=function(_0x4f9ec1){while(--_0x4f9ec1){_0x2b1668['push'](_0x2b1668['shift']());}};_0x3f1438(++_0x52d868);}(_0x52d8,0x119));const _0x3f14=function(_0x2b1668,_0x52d868){_0x2b1668=_0x2b1668-0x0;let _0x3f1438=_0x52d8[_0x2b1668];return _0x3f1438;};import{EditorUI as _0x33c4de}from'ckeditor5/src/ui.js';import _0x2a7be4 from'./commenteditoruiview.js';export default class Ft extends _0x33c4de{constructor(_0x22e8f1){super(_0x22e8f1),this[_0x3f14('0xd')]=new _0x2a7be4(_0x22e8f1['locale'],_0x22e8f1[_0x3f14('0x2')][_0x3f14('0xd')]);}get[_0x3f14('0x7')](){return this['view']['element'];}[_0x3f14('0x6')](){const _0x1e026c=this['editor'][_0x3f14('0x2')]['view'],_0x32819e=this[_0x3f14('0xd')]['editable'],_0xd774c9=_0x1e026c[_0x3f14('0x4')]['getRoot']();_0x32819e[_0x3f14('0x3')]=_0xd774c9[_0x3f14('0x5')],this[_0x3f14('0xd')][_0x3f14('0xb')]();const _0x354240=_0x32819e[_0x3f14('0x7')];this[_0x3f14('0x0')](_0x32819e[_0x3f14('0x3')],_0x354240),this['view'][_0x3f14('0xc')][_0x3f14('0xf')](_0x3f14('0x10'))['to'](this[_0x3f14('0x8')]),_0x1e026c[_0x3f14('0xa')](_0x354240),this[_0x3f14('0x9')](_0x3f14('0x1'));}[_0x3f14('0xe')](){super['destroy'](),this[_0x3f14('0xd')]['destroy']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d97=['setTemplate','comment','ck-editor__main','div','render','_createVoiceLabel','ck-rounded-corners','ck-reset','ck-comment__input','uiLanguage','main','cke-editor__aria-label_','uiLanguageDirection','ck-editor','ck-voice-label','_voiceLabelView','editable','extendTemplate','presentation','Comment\x20editor','text'];(function(_0x52d0cf,_0x4d9728){const _0x32ea13=function(_0x4316dc){while(--_0x4316dc){_0x52d0cf['push'](_0x52d0cf['shift']());}};_0x32ea13(++_0x4d9728);}(_0x4d97,0x1c0));const _0x32ea=function(_0x52d0cf,_0x4d9728){_0x52d0cf=_0x52d0cf-0x0;let _0x32ea13=_0x4d97[_0x52d0cf];return _0x32ea13;};import{InlineEditableUIView as _0x15c717,EditorUIView as _0x47052e,LabelView as _0x119e0f}from'ckeditor5/src/ui.js';import{uid as _0x4c45b3}from'ckeditor5/src/utils.js';import{getTranslation as _0x27f68b}from'../../../utils/common-translations.js';export default class Rt extends _0x47052e{constructor(_0x4cec75,_0x2c8e0c){super(_0x4cec75);const _0x47aa44=_0x4c45b3();this[_0x32ea('0x3')]=this['createCollection'](),this['editable']=new _0x15c717(_0x4cec75,_0x2c8e0c),this[_0x32ea('0x8')]=this[_0x32ea('0x13')](_0x47aa44,_0x4cec75),this[_0x32ea('0xe')]({'tag':_0x32ea('0x11'),'attributes':{'class':[_0x32ea('0x0'),_0x32ea('0x6'),_0x32ea('0x14'),_0x32ea('0x1')],'role':_0x32ea('0xf'),'dir':_0x4cec75[_0x32ea('0x5')],'lang':_0x4cec75[_0x32ea('0x2')],'aria-labelledby':_0x32ea('0x4')+_0x47aa44},'children':[this['_voiceLabelView'],{'tag':_0x32ea('0x11'),'attributes':{'class':_0x32ea('0x10'),'role':_0x32ea('0xb')},'children':this[_0x32ea('0x3')]}]});}[_0x32ea('0x12')](){super['render'](),this[_0x32ea('0x3')]['add'](this['editable']);}['focus'](){this[_0x32ea('0x9')]['element']['focus']();}[_0x32ea('0x13')](_0x393397,_0x32d692){const _0x193169=new _0x119e0f();return _0x193169[_0x32ea('0xd')]=_0x27f68b(_0x32d692,_0x32ea('0xc')),_0x193169[_0x32ea('0xa')]({'attributes':{'id':'ck-editor__aria-label_'+_0x393397,'class':_0x32ea('0x7')}}),_0x193169;}}
23
+ const _0x2984=['editable','ck-voice-label','div','comment','add','ck-editor__main','uiLanguage','extendTemplate','main','presentation','_voiceLabelView','render','element','uiLanguageDirection','ck-editor__aria-label_','createCollection','focus','Comment\x20editor','cke-editor__aria-label_','_createVoiceLabel'];(function(_0x4289e3,_0x298408){const _0x45dac7=function(_0xc12ac4){while(--_0xc12ac4){_0x4289e3['push'](_0x4289e3['shift']());}};_0x45dac7(++_0x298408);}(_0x2984,0x17b));const _0x45da=function(_0x4289e3,_0x298408){_0x4289e3=_0x4289e3-0x0;let _0x45dac7=_0x2984[_0x4289e3];return _0x45dac7;};import{InlineEditableUIView as _0x4887be,EditorUIView as _0x1a72f8,LabelView as _0x41b3bb}from'ckeditor5/src/ui.js';import{uid as _0x155110}from'ckeditor5/src/utils.js';import{getTranslation as _0x1196e1}from'../../../utils/common-translations.js';export default class Rt extends _0x1a72f8{constructor(_0x2e688e,_0x4df372){super(_0x2e688e);const _0x5d3033=_0x155110();this[_0x45da('0x9')]=this[_0x45da('0x10')](),this[_0x45da('0x1')]=new _0x4887be(_0x2e688e,_0x4df372),this[_0x45da('0xb')]=this[_0x45da('0x0')](_0x5d3033,_0x2e688e),this['setTemplate']({'tag':_0x45da('0x3'),'attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners','ck-comment__input'],'role':_0x45da('0x4'),'dir':_0x2e688e[_0x45da('0xe')],'lang':_0x2e688e[_0x45da('0x7')],'aria-labelledby':_0x45da('0x13')+_0x5d3033},'children':[this[_0x45da('0xb')],{'tag':_0x45da('0x3'),'attributes':{'class':_0x45da('0x6'),'role':_0x45da('0xa')},'children':this[_0x45da('0x9')]}]});}[_0x45da('0xc')](){super['render'](),this[_0x45da('0x9')][_0x45da('0x5')](this['editable']);}[_0x45da('0x11')](){this[_0x45da('0x1')][_0x45da('0xd')][_0x45da('0x11')]();}[_0x45da('0x0')](_0x2a30d6,_0x1ba432){const _0x342c02=new _0x41b3bb();return _0x342c02['text']=_0x1196e1(_0x1ba432,_0x45da('0x12')),_0x342c02[_0x45da('0x8')]({'attributes':{'id':_0x45da('0xf')+_0x2a30d6,'class':_0x45da('0x2')}}),_0x342c02;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2285=['submitCommentThread','reopenCommentThread','remove','_isAttached','resolve','resolveCommentThread','isResolved','submit','_localUser','removeCommentThread','updateComment','stopListening','model','removeComment','reopen','addComment','listenTo','view','getComment'];(function(_0x14f7c8,_0x228569){var _0x2c8d9d=function(_0x2f9fd9){while(--_0x2f9fd9){_0x14f7c8['push'](_0x14f7c8['shift']());}};_0x2c8d9d(++_0x228569);}(_0x2285,0xbc));var _0x2c8d=function(_0x14f7c8,_0x228569){_0x14f7c8=_0x14f7c8-0x0;var _0x2c8d9d=_0x2285[_0x14f7c8];return _0x2c8d9d;};import{ObservableMixin as _0x31bb63}from'ckeditor5/src/utils.js';export default class ut extends _0x31bb63(){constructor(_0x3fa2d6,_0x22060d){super(),this['model']=_0x3fa2d6,this[_0x2c8d('0xe')][_0x2c8d('0x5')]=!0x0,this[_0x2c8d('0x0')]=_0x22060d,this['listenTo'](_0x22060d,_0x2c8d('0x2'),()=>this[_0x2c8d('0x9')]()),this[_0x2c8d('0x12')](_0x22060d,_0x2c8d('0xb'),()=>this[_0x2c8d('0x4')]()),this['listenTo'](_0x22060d,_0x2c8d('0x7'),()=>this[_0x2c8d('0x6')]()),this[_0x2c8d('0x12')](_0x22060d,_0x2c8d('0x3'),()=>this[_0x2c8d('0x10')]()),this[_0x2c8d('0x12')](_0x22060d,_0x2c8d('0x11'),(_0x1b5912,_0x366a4f)=>this[_0x2c8d('0x11')](_0x366a4f)),this['listenTo'](_0x22060d,_0x2c8d('0xc'),(_0x3f2ac0,_0x21fe06,_0x651ff2)=>this[_0x2c8d('0xc')](_0x21fe06,_0x651ff2)),this[_0x2c8d('0x12')](_0x22060d,_0x2c8d('0xf'),(_0x3a017d,_0x6333df)=>this['removeComment'](_0x6333df));}[_0x2c8d('0x9')](){this[_0x2c8d('0xe')][_0x2c8d('0x9')]();}[_0x2c8d('0x4')](){this['model'][_0x2c8d('0x4')]();}['resolve'](){this[_0x2c8d('0xe')]['isResolved']||this['model'][_0x2c8d('0x6')]();}[_0x2c8d('0x10')](){this[_0x2c8d('0xe')][_0x2c8d('0x8')]&&this[_0x2c8d('0xe')][_0x2c8d('0x10')]();}[_0x2c8d('0x11')](_0x339ef1){this[_0x2c8d('0xe')][_0x2c8d('0x11')]({'content':_0x339ef1,'authorId':this[_0x2c8d('0x0')][_0x2c8d('0xa')]['id']});}[_0x2c8d('0xc')](_0x1cdf89,_0x13c0db){this[_0x2c8d('0xe')]['getComment'](_0x1cdf89)['update']({'content':_0x13c0db});}[_0x2c8d('0xf')](_0x1dac9b){this[_0x2c8d('0xe')][_0x2c8d('0x1')](_0x1dac9b)[_0x2c8d('0x4')]();}['destroy'](){this[_0x2c8d('0xd')](),this[_0x2c8d('0xe')][_0x2c8d('0x5')]=!0x1;}}
23
+ var _0x1055=['model','submitCommentThread','updateComment','update','submit','reopen','stopListening','isResolved','_isAttached','view','removeComment','resolveCommentThread','reopenCommentThread','addComment','_localUser','resolve','removeCommentThread','getComment','listenTo','destroy','remove'];(function(_0x29e89e,_0x105508){var _0x203f02=function(_0x3899ca){while(--_0x3899ca){_0x29e89e['push'](_0x29e89e['shift']());}};_0x203f02(++_0x105508);}(_0x1055,0x114));var _0x203f=function(_0x29e89e,_0x105508){_0x29e89e=_0x29e89e-0x0;var _0x203f02=_0x1055[_0x29e89e];return _0x203f02;};import{ObservableMixin as _0x5ce2d2}from'ckeditor5/src/utils.js';export default class ut extends _0x5ce2d2(){constructor(_0x5ded28,_0x380163){super(),this['model']=_0x5ded28,this[_0x203f('0x12')]['_isAttached']=!0x0,this[_0x203f('0x6')]=_0x380163,this[_0x203f('0xf')](_0x380163,_0x203f('0x13'),()=>this[_0x203f('0x1')]()),this[_0x203f('0xf')](_0x380163,_0x203f('0xd'),()=>this[_0x203f('0x11')]()),this[_0x203f('0xf')](_0x380163,_0x203f('0x8'),()=>this['resolve']()),this[_0x203f('0xf')](_0x380163,_0x203f('0x9'),()=>this[_0x203f('0x2')]()),this[_0x203f('0xf')](_0x380163,_0x203f('0xa'),(_0x496a4a,_0x5197e9)=>this['addComment'](_0x5197e9)),this[_0x203f('0xf')](_0x380163,'updateComment',(_0x3cf1e2,_0x9c5379,_0x6cd1b6)=>this[_0x203f('0x14')](_0x9c5379,_0x6cd1b6)),this[_0x203f('0xf')](_0x380163,_0x203f('0x7'),(_0x5c1f54,_0x4d79eb)=>this[_0x203f('0x7')](_0x4d79eb));}[_0x203f('0x1')](){this['model'][_0x203f('0x1')]();}[_0x203f('0x11')](){this['model'][_0x203f('0x11')]();}[_0x203f('0xc')](){this[_0x203f('0x12')][_0x203f('0x4')]||this['model'][_0x203f('0xc')]();}['reopen'](){this[_0x203f('0x12')]['isResolved']&&this[_0x203f('0x12')][_0x203f('0x2')]();}[_0x203f('0xa')](_0x3f7328){this[_0x203f('0x12')][_0x203f('0xa')]({'content':_0x3f7328,'authorId':this[_0x203f('0x6')][_0x203f('0xb')]['id']});}['updateComment'](_0x4df9b8,_0x4eb6a1){this['model'][_0x203f('0xe')](_0x4df9b8)[_0x203f('0x0')]({'content':_0x4eb6a1});}[_0x203f('0x7')](_0x41418e){this['model']['getComment'](_0x41418e)[_0x203f('0x11')]();}[_0x203f('0x10')](){this[_0x203f('0x3')](),this['model'][_0x203f('0x5')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x395c=['submit','_localUser','_createCommentThreadInputView','locale','listenTo','Reply...','length','bind','commentThreadInputView','isActive','reopenCommentThread','_model','commentThreadHeaderView','set','submitCommentThread','commentInputView','editorReady','showInput','isResolvable','commentsListView','archivedAt','destroy','addComment','isResolved','delegate','removeCommentThread','editorDestroyed','_config','isUnlinked','change:isActive','disabledSubmit','updateComment','value','CommentView','assign','focus','Write\x20a\x20comment...','cancel','hasDirtyComment','element','placeholder','Comment','submitLabel','editorConfig','isDirty','canComment','Reply\x20to\x20reopen\x20discussion...','fire','isReadOnly','removeComment'];(function(_0x2cd90e,_0x395c15){const _0x47fbe2=function(_0x1488f6){while(--_0x1488f6){_0x2cd90e['push'](_0x2cd90e['shift']());}};_0x47fbe2(++_0x395c15);}(_0x395c,0x120));const _0x47fb=function(_0x2cd90e,_0x395c15){_0x2cd90e=_0x2cd90e-0x0;let _0x47fbe2=_0x395c[_0x2cd90e];return _0x47fbe2;};import{View as _0x19b5fa}from'ckeditor5/src/ui.js';import _0x6b5f66 from'./commentthreadinputview.js';import _0x5de93f from'./commentslistview.js';import _0x2e6b0c from'./commentthreadheaderview.js';import{getTranslation as _0x45f89b}from'../../../utils/common-translations.js';export default class Ut extends _0x19b5fa{constructor(_0x2a3827,_0x14db9e,_0x187323,_0x9127e5){super(_0x2a3827),this['set'](_0x47fb('0x15'),!0x1),this[_0x47fb('0x19')](_0x47fb('0x6'),!0x1),this[_0x47fb('0x17')]=_0x14db9e,this[_0x47fb('0xd')]=_0x187323,this[_0x47fb('0x27')]=_0x9127e5,this['commentThreadHeaderView']=new _0x2e6b0c(_0x2a3827,_0x14db9e),this[_0x47fb('0x18')][_0x47fb('0x24')]('reopenCommentThread')['to'](this),this[_0x47fb('0x10')](this,'reopenCommentThread',()=>{this[_0x47fb('0x2f')]();}),this[_0x47fb('0x1f')]=new _0x5de93f(_0x2a3827,_0x14db9e,Object[_0x47fb('0x2e')]({'CommentView':this[_0x47fb('0x27')][_0x47fb('0x2d')]},_0x9127e5)),this[_0x47fb('0x1f')]['delegate'](_0x47fb('0xb'))['to'](this),this[_0x47fb('0x1f')][_0x47fb('0x24')](_0x47fb('0x2b'))['to'](this),this[_0x47fb('0x1f')][_0x47fb('0x24')]('resolveCommentThread')['to'](this),this[_0x47fb('0x1f')][_0x47fb('0x24')]('editorReady')['to'](this),this['commentsListView'][_0x47fb('0x24')](_0x47fb('0x26'))['to'](this),this[_0x47fb('0x1f')][_0x47fb('0x13')](_0x47fb('0x15'))['to'](this),this[_0x47fb('0x10')](this,'resolveCommentThread',()=>{this[_0x47fb('0x2f')]();}),this[_0x47fb('0x19')](_0x47fb('0x12'),this[_0x47fb('0x1f')][_0x47fb('0x12')]),this[_0x47fb('0x13')](_0x47fb('0x12'))['to'](this[_0x47fb('0x1f')],_0x47fb('0x12')),this[_0x47fb('0x14')]=this['_createCommentThreadInputView'](),this[_0x47fb('0x14')][_0x47fb('0x24')](_0x47fb('0x1c'))['to'](this),this[_0x47fb('0x14')][_0x47fb('0x24')](_0x47fb('0x26'))['to'](this),this['on'](_0x47fb('0xb'),()=>this[_0x47fb('0x2f')]()),this['bind'](_0x47fb('0x6'))['to'](this[_0x47fb('0x1f')],_0x47fb('0x0'),this[_0x47fb('0x14')][_0x47fb('0x1b')],_0x47fb('0x2c'),(_0x139504,_0x340189)=>_0x139504||!!_0x340189),this[_0x47fb('0x13')](_0x47fb('0x28'))['to'](_0x14db9e,'unlinkedAt',_0x434467=>!!_0x434467);}[_0x47fb('0x2f')](){this[_0x47fb('0x1')][_0x47fb('0x2f')]();}async[_0x47fb('0x21')](){this[_0x47fb('0x6')]=!0x1,this[_0x47fb('0x1f')][_0x47fb('0x21')](),await this['commentThreadInputView'][_0x47fb('0x21')](),super[_0x47fb('0x21')]();}[_0x47fb('0xe')](){const _0x5e5c18=new _0x6b5f66(this['locale'],this[_0x47fb('0xd')],this[_0x47fb('0x27')][_0x47fb('0x5')]),_0xf8baa9=_0x5e5c18[_0x47fb('0x1b')];return _0x5e5c18[_0x47fb('0x13')](_0x47fb('0x1d'))['to'](this,_0x47fb('0x15'),this['_model'],_0x47fb('0xa'),this['_model'],_0x47fb('0x7'),this[_0x47fb('0x17')],_0x47fb('0x20'),_0xf8baa9,_0x47fb('0x2c'),(_0x4f54c5,_0xa69923,_0x4b8ca5,_0x469897,_0x9a0a33)=>!!_0x9a0a33||!!_0x469897&&_0x4b8ca5&&!_0xa69923||_0x4f54c5&&_0x4b8ca5&&!_0xa69923),_0xf8baa9[_0x47fb('0x13')](_0x47fb('0x2'))['to'](this,'length',this[_0x47fb('0x17')],_0x47fb('0x1e'),this[_0x47fb('0x17')],_0x47fb('0x23'),(_0x519b10,_0x471187,_0x134cad)=>{let _0x219c1b;return _0x219c1b=_0x134cad&&_0x471187?_0x47fb('0x8'):_0x519b10?_0x47fb('0x11'):_0x47fb('0x30'),_0x45f89b(this['locale'],_0x219c1b);}),_0xf8baa9[_0x47fb('0x13')](_0x47fb('0x4'))['to'](this,_0x47fb('0x12'),_0x19bc5d=>_0x45f89b(this[_0x47fb('0xf')],_0x19bc5d?'Reply':_0x47fb('0x3'))),_0xf8baa9['on'](_0x47fb('0xc'),(_0x19808d,_0x4c620a)=>{this[_0x47fb('0x9')](_0x47fb('0x22'),_0x4c620a),this['_model']['isResolved']&&this['_model'][_0x47fb('0x1e')]&&this['fire'](_0x47fb('0x16'),this[_0x47fb('0x17')]['id']),this[_0x47fb('0x17')]['isSubmitted']||this[_0x47fb('0x9')](_0x47fb('0x1a'));}),_0xf8baa9['on'](_0x47fb('0x31'),()=>{this[_0x47fb('0x2f')]();}),_0xf8baa9[_0x47fb('0x13')](_0x47fb('0x2a'))['to'](this[_0x47fb('0x17')],_0x47fb('0xa')),_0xf8baa9['on'](_0x47fb('0x31'),_0x52b233=>{0x0==this[_0x47fb('0x12')]&&(this[_0x47fb('0x9')](_0x47fb('0x25')),_0x52b233['stop']());}),this['on'](_0x47fb('0x29'),(_0x76f21f,_0xdc5fe3,_0x2b2609)=>{_0x2b2609||this[_0x47fb('0x12')]||_0xf8baa9[_0x47fb('0x2c')]||this[_0x47fb('0x9')]('removeCommentThread');}),_0x5e5c18;}}
23
+ const _0x1be8=['commentThreadInputView','value','assign','isUnlinked','destroy','set','reopenCommentThread','Reply...','Comment','removeCommentThread','editorDestroyed','locale','updateComment','showInput','element','editorReady','isSubmitted','submitCommentThread','fire','length','commentsListView','placeholder','archivedAt','removeComment','_createCommentThreadInputView','Write\x20a\x20comment...','focus','Reply\x20to\x20reopen\x20discussion...','bind','isActive','listenTo','_config','isResolved','Reply','isResolvable','isReadOnly','commentThreadHeaderView','delegate','_model','canComment','isDirty'];(function(_0x1a9677,_0x1be8cc){const _0x56c1e5=function(_0x2374d5){while(--_0x2374d5){_0x1a9677['push'](_0x1a9677['shift']());}};_0x56c1e5(++_0x1be8cc);}(_0x1be8,0xd3));const _0x56c1=function(_0x1a9677,_0x1be8cc){_0x1a9677=_0x1a9677-0x0;let _0x56c1e5=_0x1be8[_0x1a9677];return _0x56c1e5;};import{View as _0x53907b}from'ckeditor5/src/ui.js';import _0x32f267 from'./commentthreadinputview.js';import _0x22a4c6 from'./commentslistview.js';import _0x3f925d from'./commentthreadheaderview.js';import{getTranslation as _0x3a0504}from'../../../utils/common-translations.js';export default class Ut extends _0x53907b{constructor(_0x351bf7,_0x2d3929,_0x510b8a,_0x1766ed){super(_0x351bf7),this[_0x56c1('0x28')](_0x56c1('0x17'),!0x1),this[_0x56c1('0x28')](_0x56c1('0x22'),!0x1),this[_0x56c1('0x20')]=_0x2d3929,this['_localUser']=_0x510b8a,this[_0x56c1('0x19')]=_0x1766ed,this[_0x56c1('0x1e')]=new _0x3f925d(_0x351bf7,_0x2d3929),this[_0x56c1('0x1e')][_0x56c1('0x1f')](_0x56c1('0x0'))['to'](this),this[_0x56c1('0x18')](this,'reopenCommentThread',()=>{this[_0x56c1('0x14')]();}),this[_0x56c1('0xe')]=new _0x22a4c6(_0x351bf7,_0x2d3929,Object[_0x56c1('0x25')]({'CommentView':this[_0x56c1('0x19')]['CommentView']},_0x1766ed)),this['commentsListView'][_0x56c1('0x1f')](_0x56c1('0x11'))['to'](this),this[_0x56c1('0xe')][_0x56c1('0x1f')](_0x56c1('0x6'))['to'](this),this[_0x56c1('0xe')][_0x56c1('0x1f')]('resolveCommentThread')['to'](this),this[_0x56c1('0xe')][_0x56c1('0x1f')](_0x56c1('0x9'))['to'](this),this['commentsListView'][_0x56c1('0x1f')](_0x56c1('0x4'))['to'](this),this[_0x56c1('0xe')][_0x56c1('0x16')](_0x56c1('0x17'))['to'](this),this[_0x56c1('0x18')](this,'resolveCommentThread',()=>{this[_0x56c1('0x14')]();}),this['set'](_0x56c1('0xd'),this[_0x56c1('0xe')][_0x56c1('0xd')]),this[_0x56c1('0x16')]('length')['to'](this[_0x56c1('0xe')],_0x56c1('0xd')),this[_0x56c1('0x23')]=this['_createCommentThreadInputView'](),this['commentThreadInputView']['delegate'](_0x56c1('0x9'))['to'](this),this['commentThreadInputView'][_0x56c1('0x1f')](_0x56c1('0x4'))['to'](this),this['on'](_0x56c1('0x11'),()=>this[_0x56c1('0x14')]()),this[_0x56c1('0x16')](_0x56c1('0x22'))['to'](this[_0x56c1('0xe')],'hasDirtyComment',this[_0x56c1('0x23')]['commentInputView'],_0x56c1('0x24'),(_0x52893c,_0x2179c6)=>_0x52893c||!!_0x2179c6),this[_0x56c1('0x16')](_0x56c1('0x26'))['to'](_0x2d3929,'unlinkedAt',_0x56b621=>!!_0x56b621);}['focus'](){this[_0x56c1('0x8')][_0x56c1('0x14')]();}async[_0x56c1('0x27')](){this['isDirty']=!0x1,this[_0x56c1('0xe')][_0x56c1('0x27')](),await this[_0x56c1('0x23')]['destroy'](),super[_0x56c1('0x27')]();}[_0x56c1('0x12')](){const _0x55d6f8=new _0x32f267(this['locale'],this['_localUser'],this[_0x56c1('0x19')]['editorConfig']),_0x2d9c23=_0x55d6f8['commentInputView'];return _0x55d6f8[_0x56c1('0x16')](_0x56c1('0x7'))['to'](this,_0x56c1('0x17'),this[_0x56c1('0x20')],'isReadOnly',this['_model'],_0x56c1('0x21'),this[_0x56c1('0x20')],_0x56c1('0x10'),_0x2d9c23,_0x56c1('0x24'),(_0x390be1,_0x443290,_0x3c22e8,_0x19a4d0,_0x435ac0)=>!!_0x435ac0||!!_0x19a4d0&&_0x3c22e8&&!_0x443290||_0x390be1&&_0x3c22e8&&!_0x443290),_0x2d9c23[_0x56c1('0x16')](_0x56c1('0xf'))['to'](this,_0x56c1('0xd'),this[_0x56c1('0x20')],_0x56c1('0x1c'),this[_0x56c1('0x20')],_0x56c1('0x1a'),(_0x26aeea,_0xeaf94,_0x284a2f)=>{let _0x5a8ce3;return _0x5a8ce3=_0x284a2f&&_0xeaf94?_0x56c1('0x15'):_0x26aeea?_0x56c1('0x1'):_0x56c1('0x13'),_0x3a0504(this[_0x56c1('0x5')],_0x5a8ce3);}),_0x2d9c23[_0x56c1('0x16')]('submitLabel')['to'](this,_0x56c1('0xd'),_0x43734b=>_0x3a0504(this['locale'],_0x43734b?_0x56c1('0x1b'):_0x56c1('0x2'))),_0x2d9c23['on']('submit',(_0x162c7f,_0x220b0c)=>{this['fire']('addComment',_0x220b0c),this[_0x56c1('0x20')][_0x56c1('0x1a')]&&this[_0x56c1('0x20')][_0x56c1('0x1c')]&&this[_0x56c1('0xc')](_0x56c1('0x0'),this[_0x56c1('0x20')]['id']),this[_0x56c1('0x20')][_0x56c1('0xa')]||this[_0x56c1('0xc')](_0x56c1('0xb'));}),_0x2d9c23['on']('cancel',()=>{this[_0x56c1('0x14')]();}),_0x2d9c23[_0x56c1('0x16')]('disabledSubmit')['to'](this[_0x56c1('0x20')],_0x56c1('0x1d')),_0x2d9c23['on']('cancel',_0x11d506=>{0x0==this[_0x56c1('0xd')]&&(this[_0x56c1('0xc')](_0x56c1('0x3')),_0x11d506['stop']());}),this['on']('change:isActive',(_0x5e2a3f,_0x44d095,_0x309445)=>{_0x309445||this[_0x56c1('0xd')]||_0x2d9c23['value']||this['fire'](_0x56c1('0x3'));}),_0x55d6f8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42f3=['isCollapsed','createEditor','bind','editorConfig','initialData','cancel','submitLabel','_createCommentInputView','value','content','Save','createCollection','element','add','isEditMode','editorDestroyed','expand','fire','locale','isReadOnly','switchToDisplayMode','switchToEditMode','once','_model','isSystemComment','focus','editorReady','_config','set','destroy','_createCommentContentView','visibleView','collapse','get'];(function(_0x176fb9,_0x42f3ac){const _0x2864d1=function(_0x36f51b){while(--_0x36f51b){_0x176fb9['push'](_0x176fb9['shift']());}};_0x2864d1(++_0x42f3ac);}(_0x42f3,0xc6));const _0x2864=function(_0x176fb9,_0x42f3ac){_0x176fb9=_0x176fb9-0x0;let _0x2864d1=_0x42f3[_0x176fb9];return _0x2864d1;};import{View as _0x368d5e}from'ckeditor5/src/ui.js';import{trimHtml as _0x4ce915}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x11e82b from'./commentcontentview.js';import _0x529e69 from'./commentinputview.js';import{getTranslation as _0x59245e}from'../../../utils/common-translations.js';export default class ti extends _0x368d5e{constructor(_0x45bded,_0x125a94,_0x3de9fa){super(_0x45bded),this[_0x2864('0x1d')]=_0x125a94,this['_config']=_0x3de9fa,this[_0x2864('0x1e')]=!!this[_0x2864('0x21')][_0x2864('0x1e')],this[_0x2864('0x0')](_0x2864('0x14'),!0x1),this[_0x2864('0x0')](_0x2864('0x6'),!0x0),this[_0x2864('0x3')]=this[_0x2864('0x11')](),this[_0x2864('0x3')][_0x2864('0x13')](this[_0x2864('0x2')]());}[_0x2864('0x16')](){this[_0x2864('0x6')]=!0x1;}[_0x2864('0x4')](){this[_0x2864('0x14')]||(this[_0x2864('0x6')]=!0x0);}[_0x2864('0x1f')](){this[_0x2864('0x12')][_0x2864('0x1f')]();}async['destroy'](){await this[_0x2864('0x3')][_0x2864('0x5')](0x0)[_0x2864('0x1')](),super['destroy']();}[_0x2864('0x1b')](){this[_0x2864('0x14')]||(this[_0x2864('0x14')]=!0x0,this[_0x2864('0x3')]['remove'](0x0)[_0x2864('0x1')](),this[_0x2864('0x3')]['add'](this[_0x2864('0xd')]()));}['switchToDisplayMode'](){this[_0x2864('0x14')]&&(this['isEditMode']=!0x1,this[_0x2864('0x3')]['remove'](0x0)['destroy'](),this['visibleView'][_0x2864('0x13')](this[_0x2864('0x2')]()));}[_0x2864('0x2')](){const _0x2158e0=new _0x11e82b(this[_0x2864('0x18')]);return _0x2158e0[_0x2864('0x8')](_0x2864('0xf'))['to'](this[_0x2864('0x1d')],_0x2864('0xf'),this,_0x2864('0x6'),(_0xd66937,_0x242e57)=>_0x242e57?_0x4ce915(_0xd66937,{'limit':this[_0x2864('0x21')]['maxCommentCharsWhenCollapsed']}):_0xd66937),_0x2158e0;}[_0x2864('0xd')](){this[_0x2864('0x21')][_0x2864('0x9')]||(this[_0x2864('0x21')]['editorConfig']={}),this[_0x2864('0x21')][_0x2864('0x9')][_0x2864('0xa')]=this[_0x2864('0x1d')][_0x2864('0xf')];const _0x49d91b=new _0x529e69(this['locale'],this[_0x2864('0x21')]['editorConfig']);return _0x49d91b[_0x2864('0xe')]=this['_model']['content'],_0x49d91b[_0x2864('0x8')]('disabledSubmit')['to'](this[_0x2864('0x1d')],_0x2864('0x19')),_0x49d91b[_0x2864('0xc')]=_0x59245e(this[_0x2864('0x18')],_0x2864('0x10')),_0x49d91b['on']('submit',(_0x28aca9,_0x36b99c)=>{this[_0x2864('0x17')]('updateComment',this['_model']['id'],_0x36b99c),this[_0x2864('0x1a')](),this['focus']();}),_0x49d91b['on'](_0x2864('0xb'),()=>{this['switchToDisplayMode'](),this[_0x2864('0x1f')]();}),_0x49d91b[_0x2864('0x1c')]('editorReady',()=>{_0x49d91b['focus']();}),_0x49d91b[_0x2864('0x7')](),_0x49d91b['delegate'](_0x2864('0x20'))['to'](this),_0x49d91b['delegate'](_0x2864('0x15'))['to'](this),_0x49d91b;}}
23
+ const _0x4483=['updateComment','_createCommentInputView','isReadOnly','isSystemComment','add','Save','_model','editorDestroyed','editorConfig','focus','initialData','get','submit','createEditor','element','visibleView','locale','content','switchToDisplayMode','submitLabel','remove','set','bind','editorReady','_createCommentContentView','_config','destroy','delegate','isEditMode','isCollapsed'];(function(_0x399876,_0x448363){const _0x512c3b=function(_0x427bc0){while(--_0x427bc0){_0x399876['push'](_0x399876['shift']());}};_0x512c3b(++_0x448363);}(_0x4483,0x156));const _0x512c=function(_0x399876,_0x448363){_0x399876=_0x399876-0x0;let _0x512c3b=_0x4483[_0x399876];return _0x512c3b;};import{View as _0x350b24}from'ckeditor5/src/ui.js';import{trimHtml as _0x515753}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x538b6c from'./commentcontentview.js';import _0x121750 from'./commentinputview.js';import{getTranslation as _0x569676}from'../../../utils/common-translations.js';export default class ti extends _0x350b24{constructor(_0x1356eb,_0x2f96a6,_0x5e2585){super(_0x1356eb),this[_0x512c('0x18')]=_0x2f96a6,this[_0x512c('0xd')]=_0x5e2585,this[_0x512c('0x15')]=!!this[_0x512c('0xd')][_0x512c('0x15')],this[_0x512c('0x9')](_0x512c('0x10'),!0x1),this['set'](_0x512c('0x11'),!0x0),this[_0x512c('0x3')]=this['createCollection'](),this[_0x512c('0x3')][_0x512c('0x16')](this[_0x512c('0xc')]());}['expand'](){this[_0x512c('0x11')]=!0x1;}['collapse'](){this[_0x512c('0x10')]||(this[_0x512c('0x11')]=!0x0);}[_0x512c('0x1b')](){this[_0x512c('0x2')]['focus']();}async[_0x512c('0xe')](){await this[_0x512c('0x3')][_0x512c('0x1d')](0x0)[_0x512c('0xe')](),super[_0x512c('0xe')]();}['switchToEditMode'](){this[_0x512c('0x10')]||(this[_0x512c('0x10')]=!0x0,this[_0x512c('0x3')][_0x512c('0x8')](0x0)[_0x512c('0xe')](),this['visibleView'][_0x512c('0x16')](this[_0x512c('0x13')]()));}[_0x512c('0x6')](){this[_0x512c('0x10')]&&(this[_0x512c('0x10')]=!0x1,this[_0x512c('0x3')][_0x512c('0x8')](0x0)[_0x512c('0xe')](),this[_0x512c('0x3')][_0x512c('0x16')](this[_0x512c('0xc')]()));}[_0x512c('0xc')](){const _0x1ba3cd=new _0x538b6c(this[_0x512c('0x4')]);return _0x1ba3cd[_0x512c('0xa')]('content')['to'](this['_model'],_0x512c('0x5'),this,_0x512c('0x11'),(_0x44b99a,_0x25a035)=>_0x25a035?_0x515753(_0x44b99a,{'limit':this[_0x512c('0xd')]['maxCommentCharsWhenCollapsed']}):_0x44b99a),_0x1ba3cd;}[_0x512c('0x13')](){this['_config'][_0x512c('0x1a')]||(this['_config']['editorConfig']={}),this[_0x512c('0xd')][_0x512c('0x1a')][_0x512c('0x1c')]=this['_model'][_0x512c('0x5')];const _0x56dda2=new _0x121750(this[_0x512c('0x4')],this[_0x512c('0xd')][_0x512c('0x1a')]);return _0x56dda2['value']=this[_0x512c('0x18')][_0x512c('0x5')],_0x56dda2[_0x512c('0xa')]('disabledSubmit')['to'](this[_0x512c('0x18')],_0x512c('0x14')),_0x56dda2[_0x512c('0x7')]=_0x569676(this[_0x512c('0x4')],_0x512c('0x17')),_0x56dda2['on'](_0x512c('0x0'),(_0xbc78ab,_0x3d4596)=>{this['fire'](_0x512c('0x12'),this[_0x512c('0x18')]['id'],_0x3d4596),this[_0x512c('0x6')](),this[_0x512c('0x1b')]();}),_0x56dda2['on']('cancel',()=>{this['switchToDisplayMode'](),this[_0x512c('0x1b')]();}),_0x56dda2['once'](_0x512c('0xb'),()=>{_0x56dda2['focus']();}),_0x56dda2[_0x512c('0x1')](),_0x56dda2[_0x512c('0xf')](_0x512c('0xb'))['to'](this),_0x56dda2['delegate'](_0x512c('0x19'))['to'](this),_0x56dda2;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3123=['bindTemplate','ck-thread__comment-count','set','NUMBER_OF_COMMENTS','count','setTemplate'];(function(_0x365e82,_0x31236c){const _0x45703a=function(_0x395d27){while(--_0x395d27){_0x365e82['push'](_0x365e82['shift']());}};_0x45703a(++_0x31236c);}(_0x3123,0x148));const _0x4570=function(_0x365e82,_0x31236c){_0x365e82=_0x365e82-0x0;let _0x45703a=_0x3123[_0x365e82];return _0x45703a;};import{View as _0x134af2}from'ckeditor5/src/ui.js';import{getTranslation as _0x33d1de}from'../../../utils/common-translations.js';export default class ts extends _0x134af2{constructor(_0x68f36e){super(_0x68f36e);const _0x57f559=this[_0x4570('0x2')];this[_0x4570('0x4')](_0x4570('0x0'),void 0x0),this[_0x4570('0x1')]({'tag':'li','attributes':{'class':_0x4570('0x3')},'children':[{'text':_0x57f559['to'](_0x4570('0x0'),_0x129d32=>_0x33d1de(_0x68f36e,_0x4570('0x5'),_0x129d32))}]});}}
23
+ const _0x32b0=['ck-thread__comment-count','NUMBER_OF_COMMENTS','bindTemplate','count','setTemplate','set'];(function(_0x1e1e9c,_0x32b004){const _0x22d347=function(_0x289d12){while(--_0x289d12){_0x1e1e9c['push'](_0x1e1e9c['shift']());}};_0x22d347(++_0x32b004);}(_0x32b0,0xe2));const _0x22d3=function(_0x1e1e9c,_0x32b004){_0x1e1e9c=_0x1e1e9c-0x0;let _0x22d347=_0x32b0[_0x1e1e9c];return _0x22d347;};import{View as _0x4d96ed}from'ckeditor5/src/ui.js';import{getTranslation as _0xcb4d50}from'../../../utils/common-translations.js';export default class ts extends _0x4d96ed{constructor(_0x506fac){super(_0x506fac);const _0x131eca=this[_0x22d3('0x4')];this[_0x22d3('0x1')](_0x22d3('0x5'),void 0x0),this[_0x22d3('0x0')]({'tag':'li','attributes':{'class':_0x22d3('0x2')},'children':[{'text':_0x131eca['to']('count',_0x58dab7=>_0xcb4d50(_0x506fac,_0x22d3('0x3'),_0x58dab7))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x54c9=['ck-comment__content','content','div','set','ck-annotation__content','element','render','change:content'];(function(_0x3b8171,_0x54c9c2){var _0x1b6754=function(_0x174376){while(--_0x174376){_0x3b8171['push'](_0x3b8171['shift']());}};_0x1b6754(++_0x54c9c2);}(_0x54c9,0x15e));var _0x1b67=function(_0x3b8171,_0x54c9c2){_0x3b8171=_0x3b8171-0x0;var _0x1b6754=_0x54c9[_0x3b8171];return _0x1b6754;};import{View as _0xb6cbe}from'ckeditor5/src/ui.js';export default class Yt extends _0xb6cbe{constructor(_0x590705){super(_0x590705),this[_0x1b67('0x5')](_0x1b67('0x3'),''),this['setTemplate']({'tag':_0x1b67('0x4'),'attributes':{'class':[_0x1b67('0x2'),_0x1b67('0x6')]}});}[_0x1b67('0x0')](){super[_0x1b67('0x0')](),this['on'](_0x1b67('0x1'),(_0x4b46d7,_0x4816e5,_0x1570ee)=>{this[_0x1b67('0x7')]['innerHTML']=_0x1570ee;}),this['element']['innerHTML']=this[_0x1b67('0x3')];}}
23
+ var _0x37cf=['element','set','ck-comment__content','content','ck-annotation__content','innerHTML','change:content','render'];(function(_0x27ad91,_0x37cfde){var _0x362eea=function(_0x24ad55){while(--_0x24ad55){_0x27ad91['push'](_0x27ad91['shift']());}};_0x362eea(++_0x37cfde);}(_0x37cf,0x10a));var _0x362e=function(_0x27ad91,_0x37cfde){_0x27ad91=_0x27ad91-0x0;var _0x362eea=_0x37cf[_0x27ad91];return _0x362eea;};import{View as _0x3ad7ca}from'ckeditor5/src/ui.js';export default class Yt extends _0x3ad7ca{constructor(_0xb70283){super(_0xb70283),this[_0x362e('0x7')]('content',''),this['setTemplate']({'tag':'div','attributes':{'class':[_0x362e('0x0'),_0x362e('0x2')]}});}[_0x362e('0x5')](){super[_0x362e('0x5')](),this['on'](_0x362e('0x4'),(_0x2d7fdf,_0x3391b0,_0x2b48af)=>{this[_0x362e('0x6')][_0x362e('0x3')]=_0x2b48af;}),this[_0x362e('0x6')][_0x362e('0x3')]=this[_0x362e('0x1')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41fd=['extendTemplate','withText','label','_editorConfig','keystrokes','showButtons','setData','focusPrevious','set','ck-comment__input-actions--submit','low','element','Cancel','isEnabled','listenTo','tab','createEditor','focus','placeholder','trim','value','ck-comment__input-actions--cancel','high','destroy','model','Reply...','length','create','editorDestroyed','submitButtonView','_editorCreationPromise','_createCancelButton','initialData','editorReady','div','ck-comment__input-actions','getData','render','cancel','editor','_initializeFocusCycling','focusTracker','bind','view','fire','Esc','_createSubmitButton','document','add','Reply','bindTemplate','submit','firstChild','_isDestroyed','ck-comment__input-actions--active','submitLabel','disabledSubmit'];(function(_0x572aa7,_0x41fdc6){const _0x219961=function(_0x404d04){while(--_0x404d04){_0x572aa7['push'](_0x572aa7['shift']());}};_0x219961(++_0x41fdc6);}(_0x41fd,0x1d2));const _0x2199=function(_0x572aa7,_0x41fdc6){_0x572aa7=_0x572aa7-0x0;let _0x219961=_0x41fd[_0x572aa7];return _0x219961;};import{View as _0x5ed3eb,ViewCollection as _0x5b49c9,FocusCycler as _0x512926,ButtonView as _0x4a5711}from'ckeditor5/src/ui.js';import{FocusTracker as _0x585b82,KeystrokeHandler as _0x2cbc63}from'ckeditor5/src/utils.js';import _0x2abd38 from'../commenteditor/commenteditor.js';import{getTranslation as _0x3d6b10}from'../../../utils/common-translations.js';export default class Zt extends _0x5ed3eb{constructor(_0x478fc5,_0xc3f455={}){super(_0x478fc5),this['editor']=null,this[_0x2199('0x32')]=_0xc3f455,this[_0x2199('0x33')]=new _0x2cbc63(),this[_0x2199('0x1f')]=new _0x585b82(),this[_0x2199('0x37')](_0x2199('0xa'),_0xc3f455[_0x2199('0x16')]||''),this[_0x2199('0x37')]('disabledSubmit',!0x1),this['set'](_0x2199('0x34'),!0x0),this[_0x2199('0x37')](_0x2199('0x8'),_0x3d6b10(_0x478fc5,_0x2199('0xf'))),this[_0x2199('0x37')](_0x2199('0x2d'),_0x3d6b10(_0x478fc5,_0x2199('0x27'))),this[_0x2199('0x13')]=this['_createSubmitButton'](),this['cancelButtonView']=this[_0x2199('0x15')](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-comment__input-wrapper']},'children':[{'tag':_0x2199('0x18'),'attributes':{'class':[_0x2199('0x19'),this[_0x2199('0x28')]['if'](_0x2199('0x34'),_0x2199('0x2c'))]},'children':[this[_0x2199('0x13')],this['cancelButtonView']]}]}),this[_0x2199('0x33')][_0x2199('0x37')](_0x2199('0x23'),(_0x1dc7cc,_0x3af531)=>{this['cancelButtonView'][_0x2199('0x22')]('execute'),_0x3af531();}),this['on'](_0x2199('0x29'),(_0x43c7c1,_0x270e05)=>{_0x270e05['length']>0xfde8?(alert(_0x3d6b10(_0x478fc5,'TOO_LONG_COMMENT_ALERT',[_0x270e05[_0x2199('0x10')],0xfde8])),_0x43c7c1['stop']()):this[_0x2199('0x1d')][_0x2199('0x35')]('');},{'priority':_0x2199('0xc')});}['render'](){super[_0x2199('0x1b')](),this[_0x2199('0x33')][_0x2199('0x4')](this['element']),this[_0x2199('0x1f')][_0x2199('0x26')](this[_0x2199('0x1')]);}[_0x2199('0x6')](){return this[_0x2199('0x1d')]||(this[_0x2199('0x1d')]=new _0x2abd38(this[_0x2199('0x32')]),this['_editorCreationPromise']=this['editor'][_0x2199('0x11')]()['then'](()=>{if(this[_0x2199('0x2b')])return;const _0x218775=this[_0x2199('0x1d')];this[_0x2199('0x1')]['insertBefore'](_0x218775['ui'][_0x2199('0x1')],this[_0x2199('0x1')][_0x2199('0x2a')]),_0x218775[_0x2199('0xe')][_0x2199('0x25')]['on']('change',()=>this[_0x2199('0xa')]=_0x218775[_0x2199('0x1a')]()),_0x218775[_0x2199('0x20')](_0x2199('0x8'))['to'](this),this['_initializeFocusCycling'](this[_0x2199('0x1d')]),this[_0x2199('0x22')](_0x2199('0x17'),this[_0x2199('0x1d')]);})),this['_editorCreationPromise'];}[_0x2199('0x7')](){this['editor']&&this[_0x2199('0x1d')][_0x2199('0x7')]();}async[_0x2199('0xd')](){this[_0x2199('0x2b')]||(this['_isDestroyed']=!0x0,this[_0x2199('0x1d')]&&(await this[_0x2199('0x14')],await this[_0x2199('0x1d')][_0x2199('0xd')](),this['fire'](_0x2199('0x12'),this[_0x2199('0x1d')])),await super[_0x2199('0xd')]());}[_0x2199('0x24')](){const {locale:_0x23d4dd}=this,_0x42f79b=new _0x4a5711(_0x23d4dd);return _0x42f79b[_0x2199('0x2f')]({'attributes':{'class':[_0x2199('0x38')]}}),_0x42f79b[_0x2199('0x30')]=!0x0,_0x42f79b[_0x2199('0x20')](_0x2199('0x31'))['to'](this,_0x2199('0x2d')),_0x42f79b['on']('execute',()=>{this[_0x2199('0x22')](_0x2199('0x29'),this[_0x2199('0xa')]);}),_0x42f79b[_0x2199('0x20')](_0x2199('0x3'))['to'](this,_0x2199('0xa'),this,_0x2199('0x2e'),(_0x3b79f6,_0x260397)=>!_0x260397&&!!_0x3b79f6[_0x2199('0x9')]()),_0x42f79b;}['_createCancelButton'](){const {locale:_0x493689}=this,_0x5d9c32=new _0x4a5711(_0x493689);return _0x5d9c32[_0x2199('0x2f')]({'attributes':{'class':[_0x2199('0xb')]}}),_0x5d9c32[_0x2199('0x31')]=_0x3d6b10(_0x493689,_0x2199('0x2')),_0x5d9c32[_0x2199('0x30')]=!0x0,_0x5d9c32['on']('execute',()=>{this['editor'][_0x2199('0x35')](''),this['fire'](_0x2199('0x1c'));}),_0x5d9c32;}[_0x2199('0x1e')](_0x150365){const _0x1d0254=this[_0x2199('0x1f')],_0x6afc16=new _0x5b49c9();[_0x150365['ui'][_0x2199('0x21')],this[_0x2199('0x13')],this['cancelButtonView']]['forEach'](_0x235c87=>{_0x6afc16['add'](_0x235c87),_0x1d0254[_0x2199('0x26')](_0x235c87[_0x2199('0x1')]);});const _0x38227a=new _0x512926({'focusables':_0x6afc16,'focusTracker':_0x1d0254});this[_0x2199('0x33')]['set'](_0x2199('0x5'),(_0x764b9e,_0x4a36f7)=>{_0x38227a['focusNext'](),_0x4a36f7();},{'priority':'low'}),this[_0x2199('0x33')]['set']('shift\x20+\x20tab',(_0x4029b8,_0x36c1ac)=>{_0x38227a[_0x2199('0x36')](),_0x36c1ac();},{'priority':_0x2199('0x0')});}}
23
+ const _0x3db0=['createEditor','bindTemplate','destroy','ck-comment__input-actions--cancel','_editorConfig','extendTemplate','listenTo','ck-comment__input-actions--active','submitLabel','withText','getData','firstChild','set','initialData','add','bind','_initializeFocusCycling','model','TOO_LONG_COMMENT_ALERT','high','cancelButtonView','execute','ck-comment__input-actions','create','label','editorReady','ck-comment__input-wrapper','keystrokes','length','editorDestroyed','submitButtonView','tab','focusPrevious','change','value','view','submit','_editorCreationPromise','Esc','_isDestroyed','disabledSubmit','fire','element','ck-comment__input-actions--submit','editor','div','then','low','placeholder','forEach','focusTracker','render','_createCancelButton','focus','Reply...','stop','setData','shift\x20+\x20tab','_createSubmitButton','focusNext'];(function(_0x5f0484,_0x3db039){const _0x2b504c=function(_0x392972){while(--_0x392972){_0x5f0484['push'](_0x5f0484['shift']());}};_0x2b504c(++_0x3db039);}(_0x3db0,0x1f3));const _0x2b50=function(_0x5f0484,_0x3db039){_0x5f0484=_0x5f0484-0x0;let _0x2b504c=_0x3db0[_0x5f0484];return _0x2b504c;};import{View as _0x303b6d,ViewCollection as _0x2cd302,FocusCycler as _0xf5f814,ButtonView as _0x284d77}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1f1b37,KeystrokeHandler as _0x24ed31}from'ckeditor5/src/utils.js';import _0x511a93 from'../commenteditor/commenteditor.js';import{getTranslation as _0x44d3c6}from'../../../utils/common-translations.js';export default class Zt extends _0x303b6d{constructor(_0x324fdc,_0x6bda31={}){super(_0x324fdc),this['editor']=null,this['_editorConfig']=_0x6bda31,this[_0x2b50('0x8')]=new _0x24ed31(),this[_0x2b50('0x1f')]=new _0x1f1b37(),this[_0x2b50('0x35')]('value',_0x6bda31[_0x2b50('0x36')]||''),this[_0x2b50('0x35')](_0x2b50('0x15'),!0x1),this['set']('showButtons',!0x0),this['set'](_0x2b50('0x1d'),_0x44d3c6(_0x324fdc,_0x2b50('0x23'))),this[_0x2b50('0x35')](_0x2b50('0x31'),_0x44d3c6(_0x324fdc,'Reply')),this[_0x2b50('0xb')]=this[_0x2b50('0x27')](),this['cancelButtonView']=this[_0x2b50('0x21')](),this['setTemplate']({'tag':_0x2b50('0x1a'),'attributes':{'class':[_0x2b50('0x7')]},'children':[{'tag':_0x2b50('0x1a'),'attributes':{'class':[_0x2b50('0x3'),this[_0x2b50('0x2a')]['if']('showButtons',_0x2b50('0x30'))]},'children':[this[_0x2b50('0xb')],this[_0x2b50('0x1')]]}]}),this['keystrokes'][_0x2b50('0x35')](_0x2b50('0x13'),(_0x511535,_0x4d3e04)=>{this['cancelButtonView']['fire']('execute'),_0x4d3e04();}),this['on']('submit',(_0x11e7f6,_0xb0eea6)=>{_0xb0eea6['length']>0xfde8?(alert(_0x44d3c6(_0x324fdc,_0x2b50('0x3b'),[_0xb0eea6[_0x2b50('0x9')],0xfde8])),_0x11e7f6[_0x2b50('0x24')]()):this[_0x2b50('0x19')]['setData']('');},{'priority':_0x2b50('0x0')});}['render'](){super[_0x2b50('0x20')](),this[_0x2b50('0x8')][_0x2b50('0x2f')](this['element']),this[_0x2b50('0x1f')][_0x2b50('0x37')](this[_0x2b50('0x17')]);}[_0x2b50('0x29')](){return this[_0x2b50('0x19')]||(this[_0x2b50('0x19')]=new _0x511a93(this[_0x2b50('0x2d')]),this[_0x2b50('0x12')]=this[_0x2b50('0x19')][_0x2b50('0x4')]()[_0x2b50('0x1b')](()=>{if(this[_0x2b50('0x14')])return;const _0x3ccf15=this[_0x2b50('0x19')];this['element']['insertBefore'](_0x3ccf15['ui'][_0x2b50('0x17')],this[_0x2b50('0x17')][_0x2b50('0x34')]),_0x3ccf15[_0x2b50('0x3a')]['document']['on'](_0x2b50('0xe'),()=>this[_0x2b50('0xf')]=_0x3ccf15[_0x2b50('0x33')]()),_0x3ccf15[_0x2b50('0x38')](_0x2b50('0x1d'))['to'](this),this[_0x2b50('0x39')](this[_0x2b50('0x19')]),this[_0x2b50('0x16')](_0x2b50('0x6'),this['editor']);})),this[_0x2b50('0x12')];}[_0x2b50('0x22')](){this[_0x2b50('0x19')]&&this[_0x2b50('0x19')][_0x2b50('0x22')]();}async[_0x2b50('0x2b')](){this[_0x2b50('0x14')]||(this['_isDestroyed']=!0x0,this[_0x2b50('0x19')]&&(await this[_0x2b50('0x12')],await this[_0x2b50('0x19')]['destroy'](),this[_0x2b50('0x16')](_0x2b50('0xa'),this[_0x2b50('0x19')])),await super[_0x2b50('0x2b')]());}[_0x2b50('0x27')](){const {locale:_0x55618b}=this,_0x22469b=new _0x284d77(_0x55618b);return _0x22469b[_0x2b50('0x2e')]({'attributes':{'class':[_0x2b50('0x18')]}}),_0x22469b[_0x2b50('0x32')]=!0x0,_0x22469b[_0x2b50('0x38')](_0x2b50('0x5'))['to'](this,_0x2b50('0x31')),_0x22469b['on'](_0x2b50('0x2'),()=>{this['fire'](_0x2b50('0x11'),this[_0x2b50('0xf')]);}),_0x22469b[_0x2b50('0x38')]('isEnabled')['to'](this,_0x2b50('0xf'),this,_0x2b50('0x15'),(_0x597dfd,_0x139b12)=>!_0x139b12&&!!_0x597dfd['trim']()),_0x22469b;}['_createCancelButton'](){const {locale:_0x1c4b4f}=this,_0x3bf4b0=new _0x284d77(_0x1c4b4f);return _0x3bf4b0[_0x2b50('0x2e')]({'attributes':{'class':[_0x2b50('0x2c')]}}),_0x3bf4b0['label']=_0x44d3c6(_0x1c4b4f,'Cancel'),_0x3bf4b0['withText']=!0x0,_0x3bf4b0['on']('execute',()=>{this['editor'][_0x2b50('0x25')](''),this[_0x2b50('0x16')]('cancel');}),_0x3bf4b0;}[_0x2b50('0x39')](_0x1bcd8d){const _0x1e9f44=this[_0x2b50('0x1f')],_0x5f1c2c=new _0x2cd302();[_0x1bcd8d['ui'][_0x2b50('0x10')],this[_0x2b50('0xb')],this[_0x2b50('0x1')]][_0x2b50('0x1e')](_0x391da2=>{_0x5f1c2c[_0x2b50('0x37')](_0x391da2),_0x1e9f44[_0x2b50('0x37')](_0x391da2[_0x2b50('0x17')]);});const _0x56967b=new _0xf5f814({'focusables':_0x5f1c2c,'focusTracker':_0x1e9f44});this['keystrokes']['set'](_0x2b50('0xc'),(_0x3600a6,_0x5cb51a)=>{_0x56967b[_0x2b50('0x28')](),_0x5cb51a();},{'priority':_0x2b50('0x1c')}),this[_0x2b50('0x8')][_0x2b50('0x35')](_0x2b50('0x26'),(_0x43dffb,_0x2409b0)=>{_0x56967b[_0x2b50('0xd')](),_0x2409b0();},{'priority':_0x2b50('0x1c')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a06=['arrowright','_keystrokes','selectstart','bindTemplate','arrowup','_focusCycler','destroy','shift\x20+\x20tab','isEmpty','arrowdown','focus','EMPTY_COMMENTS_ARCHIVE','high','length','ck-comments-archive','_focusTracker','add','setTemplate','ck-comments-archive__header\x20','tab','div','set','remove','listenTo','element','render','auto','ck-comments-archive__info','_focusables','stopPropagation'];(function(_0x5845ce,_0x5a069b){const _0x1b0865=function(_0x38c8ff){while(--_0x38c8ff){_0x5845ce['push'](_0x5845ce['shift']());}};_0x1b0865(++_0x5a069b);}(_0x5a06,0x1d7));const _0x1b08=function(_0x5845ce,_0x5a069b){_0x5845ce=_0x5845ce-0x0;let _0x1b0865=_0x5a06[_0x5845ce];return _0x1b0865;};import{View as _0x2293cb,FocusCycler as _0x26fe17}from'ckeditor5/src/ui.js';import{FocusTracker as _0x46117a,KeystrokeHandler as _0xa6aed1}from'ckeditor5/src/utils.js';import{getTranslation as _0x7bbf64}from'../../../utils/common-translations.js';export default class K extends _0x2293cb{constructor(_0x545b78,_0x1daa24){super(_0x545b78),this['set'](_0x1b08('0x11'),!_0x1daa24[_0x1b08('0x16')]),this['_focusTracker']=new _0x46117a(),this[_0x1b08('0xa')]=new _0xa6aed1(),this[_0x1b08('0x7')]=_0x1daa24,this[_0x1b08('0xe')]=new _0x26fe17({'focusables':this[_0x1b08('0x7')],'focusTracker':this['_focusTracker'],'keystrokeHandler':this[_0x1b08('0xa')],'actions':{'focusPrevious':_0x1b08('0x10'),'focusNext':_0x1b08('0x1c')}}),this[_0x1b08('0x2')](_0x1daa24,_0x1b08('0x19'),()=>{this[_0x1b08('0x11')]=!0x1;}),this[_0x1b08('0x2')](_0x1daa24,_0x1b08('0x1'),(_0x224459,_0x13cf54)=>{_0x13cf54['isActive']&&this[_0x1b08('0x13')](),_0x1daa24[_0x1b08('0x16')]||(this[_0x1b08('0x11')]=!0x0);});const _0xbbc030=this[_0x1b08('0xc')];this[_0x1b08('0x1a')]({'tag':'div','attributes':{'dir':_0x1b08('0x5'),'class':['ck',_0x1b08('0x17')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x1b08('0x1b')]},'children':[{'text':_0x7bbf64(_0x545b78,'COMMENTS_ARCHIVE')}]},{'tag':'div','attributes':{'class':['ck-comments-archive__content']},'children':[{'tag':_0x1b08('0x1d'),'children':_0x1daa24},{'tag':'p','attributes':{'class':[_0x1b08('0x6'),_0xbbc030['if'](_0x1b08('0x11'),'ck-hidden',_0x52c705=>!_0x52c705)]},'children':[{'text':_0x7bbf64(_0x545b78,_0x1b08('0x14'))}]}]}]});}['render'](){super[_0x1b08('0x4')](),this['_keystrokes'][_0x1b08('0x2')](this[_0x1b08('0x3')]);const _0x1d2e43=_0x16924e=>_0x16924e['stopPropagation']();this[_0x1b08('0xa')][_0x1b08('0x0')](_0x1b08('0x9'),_0x1d2e43),this['_keystrokes'][_0x1b08('0x0')]('arrowleft',_0x1d2e43),this[_0x1b08('0xa')][_0x1b08('0x0')](_0x1b08('0xd'),_0x1d2e43),this[_0x1b08('0xa')][_0x1b08('0x0')](_0x1b08('0x12'),_0x1d2e43),this[_0x1b08('0x2')](this['element'],_0x1b08('0xb'),(_0x3c273e,_0x2786d6)=>{_0x2786d6[_0x1b08('0x8')]();},{'priority':_0x1b08('0x15')});}[_0x1b08('0xf')](){super[_0x1b08('0xf')](),this[_0x1b08('0x18')][_0x1b08('0xf')](),this[_0x1b08('0xa')][_0x1b08('0xf')]();}[_0x1b08('0x13')](){this['element'][_0x1b08('0x13')]();}}
23
+ const _0x2c89=['ck-hidden','high','arrowdown','_keystrokes','_focusCycler','ck-comments-archive__header\x20','_focusTracker','EMPTY_COMMENTS_ARCHIVE','setTemplate','_focusables','COMMENTS_ARCHIVE','isActive','add','ck-comments-archive__info','render','div','stopPropagation','listenTo','remove','focus','ck-comments-archive','shift\x20+\x20tab','set','length','arrowup','isEmpty','destroy','auto','element'];(function(_0x3db5bd,_0x2c8918){const _0x382871=function(_0x113c18){while(--_0x113c18){_0x3db5bd['push'](_0x3db5bd['shift']());}};_0x382871(++_0x2c8918);}(_0x2c89,0x167));const _0x3828=function(_0x3db5bd,_0x2c8918){_0x3db5bd=_0x3db5bd-0x0;let _0x382871=_0x2c89[_0x3db5bd];return _0x382871;};import{View as _0x3df686,FocusCycler as _0x3cb31f}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5b13a7,KeystrokeHandler as _0x1e7b14}from'ckeditor5/src/utils.js';import{getTranslation as _0x36b266}from'../../../utils/common-translations.js';export default class K extends _0x3df686{constructor(_0x16412c,_0x5f2799){super(_0x16412c),this[_0x3828('0xb')]('isEmpty',!_0x5f2799[_0x3828('0xc')]),this[_0x3828('0x18')]=new _0x5b13a7(),this['_keystrokes']=new _0x1e7b14(),this[_0x3828('0x1b')]=_0x5f2799,this[_0x3828('0x16')]=new _0x3cb31f({'focusables':this[_0x3828('0x1b')],'focusTracker':this[_0x3828('0x18')],'keystrokeHandler':this[_0x3828('0x15')],'actions':{'focusPrevious':_0x3828('0xa'),'focusNext':'tab'}}),this[_0x3828('0x6')](_0x5f2799,_0x3828('0x1'),()=>{this[_0x3828('0xe')]=!0x1;}),this[_0x3828('0x6')](_0x5f2799,_0x3828('0x7'),(_0x1373f2,_0x36a3af)=>{_0x36a3af[_0x3828('0x0')]&&this[_0x3828('0x8')](),_0x5f2799['length']||(this[_0x3828('0xe')]=!0x0);});const _0x25fad3=this['bindTemplate'];this[_0x3828('0x1a')]({'tag':_0x3828('0x4'),'attributes':{'dir':_0x3828('0x10'),'class':['ck',_0x3828('0x9')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x3828('0x17')]},'children':[{'text':_0x36b266(_0x16412c,_0x3828('0x1c'))}]},{'tag':_0x3828('0x4'),'attributes':{'class':['ck-comments-archive__content']},'children':[{'tag':_0x3828('0x4'),'children':_0x5f2799},{'tag':'p','attributes':{'class':[_0x3828('0x2'),_0x25fad3['if'](_0x3828('0xe'),_0x3828('0x12'),_0x44deef=>!_0x44deef)]},'children':[{'text':_0x36b266(_0x16412c,_0x3828('0x19'))}]}]}]});}['render'](){super[_0x3828('0x3')](),this[_0x3828('0x15')][_0x3828('0x6')](this['element']);const _0x22ab09=_0x14e746=>_0x14e746[_0x3828('0x5')]();this['_keystrokes'][_0x3828('0xb')]('arrowright',_0x22ab09),this[_0x3828('0x15')][_0x3828('0xb')]('arrowleft',_0x22ab09),this[_0x3828('0x15')][_0x3828('0xb')](_0x3828('0xd'),_0x22ab09),this['_keystrokes']['set'](_0x3828('0x14'),_0x22ab09),this[_0x3828('0x6')](this[_0x3828('0x11')],'selectstart',(_0x53c634,_0x1ddebe)=>{_0x1ddebe[_0x3828('0x5')]();},{'priority':_0x3828('0x13')});}[_0x3828('0xf')](){super[_0x3828('0xf')](),this[_0x3828('0x18')]['destroy'](),this['_keystrokes'][_0x3828('0xf')]();}[_0x3828('0x8')](){this[_0x3828('0x11')][_0x3828('0x8')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x250a=['remove','comments','render','destroy','_rearrangeExpand','Marked\x20as\x20resolved','resolvedAt','_config','resolvedBy','CommentView','equal','commentViews','isEditMode','change:isActive','length','editorReady','weight','visibleViews','resolvedCommentView','updateComment','maxCommentCharsWhenCollapsed','maxCommentsWhenCollapsed','delegate','change:isEditMode','_calculatePosition','_collapsedCommentsView','authoredAt','set','formatDateTime','locale','_findOptimalIndex','listenTo','from','_handleRemoveCommentModel','element','isActive','count','get','change:isResolved','_model','change:hasDirtyComment','insert','resolved','removeComment','refreshVisibleViews','ck-thread__comments','editorConfig','_updateHasDirtyComment','bind','add','_handleInfoComment','viewUid','focus','hasDirtyComment','_handleNewCommentModel','resolveCommentThread','createCollection','commentUpdated'];(function(_0x4864fd,_0x250a08){const _0x1d1573=function(_0x5a74e1){while(--_0x5a74e1){_0x4864fd['push'](_0x4864fd['shift']());}};_0x1d1573(++_0x250a08);}(_0x250a,0x194));const _0x1d15=function(_0x4864fd,_0x250a08){_0x4864fd=_0x4864fd-0x0;let _0x1d1573=_0x250a[_0x4864fd];return _0x1d1573;};import{View as _0x30a2fd}from'ckeditor5/src/ui.js';import{diff as _0x3c1c98,Collection as _0x457eef}from'ckeditor5/src/utils.js';import{getTranslation as _0x2cdeb9}from'../../../utils/common-translations.js';import _0x51e429 from'./collapsedcommentsview.js';export default class vt extends _0x30a2fd{constructor(_0x18dbc8,_0x1bd3ca,_0x4036dc){super(_0x18dbc8),this[_0x1d15('0x1d')](_0x1d15('0x37'),!0x1),this[_0x1d15('0x1d')]('length',_0x1bd3ca[_0x1d15('0x3')]['length']),this[_0x1d15('0x1d')]('isActive',!0x1),this[_0x1d15('0x29')]=_0x1bd3ca,this[_0x1d15('0x9')]=_0x4036dc,this[_0x1d15('0xd')]=this[_0x1d15('0x0')](),this['visibleViews']=this['createCollection'](),this[_0x1d15('0x14')]=null,this[_0x1d15('0x1b')]=new _0x51e429(_0x18dbc8),this[_0x1d15('0x1b')][_0x1d15('0x32')](_0x1d15('0x26'))['to'](this,_0x1d15('0x10'),_0x3cf286=>_0x3cf286-this[_0x1d15('0x9')][_0x1d15('0x17')]);for(const _0x3e71a6 of _0x1bd3ca['comments'])this[_0x1d15('0x38')](_0x3e71a6);this['_handleInfoComment'](),this[_0x1d15('0x21')](_0x1bd3ca[_0x1d15('0x3')],'add',(_0xc3fc6e,_0x39e945)=>{const _0x4e37a9=this['_calculatePosition'](_0x39e945);this[_0x1d15('0x10')]++,this[_0x1d15('0x38')](_0x39e945,_0x4e37a9),this[_0x1d15('0x2e')]();}),this['listenTo'](_0x1bd3ca[_0x1d15('0x3')],'remove',(_0x1fa9b4,_0x2c0015)=>{this[_0x1d15('0x10')]--,this[_0x1d15('0x23')](_0x2c0015),this[_0x1d15('0x2e')]();}),this[_0x1d15('0x21')](_0x1bd3ca,_0x1d15('0x1'),()=>this[_0x1d15('0x2e')]()),this['listenTo'](_0x1bd3ca,_0x1d15('0x28'),()=>this[_0x1d15('0x34')]()),this['on'](_0x1d15('0xf'),()=>this[_0x1d15('0x2e')]()),this['on'](_0x1d15('0x2a'),()=>this[_0x1d15('0x2e')]()),this['setTemplate']({'tag':'ul','attributes':{'class':[_0x1d15('0x2f')]},'children':this[_0x1d15('0x13')]});}get['_shouldCollapse'](){return this[_0x1d15('0x29')][_0x1d15('0x12')]>this[_0x1d15('0x9')]['maxThreadTotalWeight']&&!this[_0x1d15('0x25')]&&!this[_0x1d15('0x37')];}[_0x1d15('0x4')](){super[_0x1d15('0x4')](),this[_0x1d15('0x2e')]();}[_0x1d15('0x36')](){this[_0x1d15('0x24')]['focus']();}['destroy'](){this[_0x1d15('0x1b')][_0x1d15('0x5')]();for(const _0x45414c of this['commentViews'])_0x45414c[_0x1d15('0x5')]();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this[_0x1d15('0x6')]();}[_0x1d15('0x38')](_0x2b36c3,_0x5ed12d){const _0x177c49=new this['_config'][(_0x1d15('0xb'))](this[_0x1d15('0x1f')],_0x2b36c3,{'maxCommentCharsWhenCollapsed':this['_config'][_0x1d15('0x16')],'formatDateTime':this[_0x1d15('0x9')][_0x1d15('0x1e')],'editorConfig':this[_0x1d15('0x9')][_0x1d15('0x30')]});_0x177c49[_0x1d15('0x35')]=_0x2b36c3['id'],_0x177c49[_0x1d15('0x18')](_0x1d15('0x2d'))['to'](this),_0x177c49[_0x1d15('0x18')](_0x1d15('0x15'))['to'](this),_0x177c49[_0x1d15('0x18')](_0x1d15('0x39'))['to'](this),_0x177c49['delegate'](_0x1d15('0x11'))['to'](this),_0x177c49['delegate']('editorDestroyed')['to'](this),this['listenTo'](_0x177c49,_0x1d15('0x19'),()=>this[_0x1d15('0x31')]()),this[_0x1d15('0xd')][_0x1d15('0x33')](_0x177c49,_0x5ed12d);}[_0x1d15('0x1a')](_0x549c69){const _0x1a82a6=this['_model'][_0x1d15('0x20')](_0x549c69);return this[_0x1d15('0x14')]?this[_0x1d15('0x14')][_0x1d15('0x1c')]>_0x549c69[_0x1d15('0x1c')]?_0x1a82a6-0x1:_0x1a82a6:_0x1a82a6-0x1;}['_handleInfoComment'](){if(this['_model'][_0x1d15('0xa')]&&this[_0x1d15('0x29')][_0x1d15('0x8')]){const _0x2b8b47={'id':_0x1d15('0x2c'),'author':this[_0x1d15('0x29')][_0x1d15('0xa')],'authoredAt':this[_0x1d15('0x29')][_0x1d15('0x8')],'content':_0x2cdeb9(this[_0x1d15('0x1f')],_0x1d15('0x7')),'attributes':{}};this['resolvedCommentView']=new this['_config'][(_0x1d15('0xb'))](this['locale'],_0x2b8b47,{'maxCommentCharsWhenCollapsed':this['_config'][_0x1d15('0x16')],'formatDateTime':this[_0x1d15('0x9')]['formatDateTime'],'editorConfig':this[_0x1d15('0x9')][_0x1d15('0x30')],'isSystemComment':!0x0}),this[_0x1d15('0xd')]['add'](this[_0x1d15('0x14')],this[_0x1d15('0x29')][_0x1d15('0x20')](_0x2b8b47));}else this[_0x1d15('0x14')]&&(this[_0x1d15('0xd')]['remove'](this['resolvedCommentView']),this['resolvedCommentView']['destroy'](),this[_0x1d15('0x14')]=null);this[_0x1d15('0x2e')]();}[_0x1d15('0x23')](_0x1f01ec){const _0x1b2d49=this[_0x1d15('0xd')]['remove'](_0x1f01ec['id']);this['stopListening'](_0x1b2d49),_0x1b2d49[_0x1d15('0xe')]&&this[_0x1d15('0x31')](),_0x1b2d49[_0x1d15('0x5')]();}['_updateHasDirtyComment'](){this[_0x1d15('0x37')]=Array[_0x1d15('0x22')](this[_0x1d15('0xd')])['some'](_0x1d78d4=>_0x1d78d4[_0x1d15('0xe')]);}['_rearrangeCollapse'](){const _0x43507f=function(_0x5fe2a7){const _0x5ac749=new _0x457eef();for(const _0x25e073 of _0x5fe2a7)_0x5ac749[_0x1d15('0x33')](_0x25e073);return _0x5ac749;}(this[_0x1d15('0xd')]),_0x5eec9b=this['_collapsedCommentsView'][_0x1d15('0x26')];for(let _0x38d1ea=0x1;_0x38d1ea<=_0x5eec9b;_0x38d1ea++)_0x43507f[_0x1d15('0x2')](0x1);for(const _0x112a93 of _0x43507f)_0x112a93['collapse']();_0x5eec9b>0x0&&_0x43507f[_0x1d15('0x33')](this['_collapsedCommentsView'],0x1),is(_0x3c1c98(Array[_0x1d15('0x22')](this[_0x1d15('0x13')]),Array['from'](_0x43507f)),this[_0x1d15('0x13')],_0x43507f);}[_0x1d15('0x6')](){is(_0x3c1c98(Array[_0x1d15('0x22')](this[_0x1d15('0x13')]),Array[_0x1d15('0x22')](this['commentViews'])),this[_0x1d15('0x13')],this[_0x1d15('0xd')]);for(const _0x3925b2 of this[_0x1d15('0x13')])_0x3925b2['expand']();}}function is(_0x44c765,_0x282c9f,_0x27333c){let _0x2b827c=0x0;for(const _0x13e506 of _0x44c765)switch(_0x13e506){case _0x1d15('0x2b'):_0x282c9f[_0x1d15('0x33')](_0x27333c[_0x1d15('0x27')](_0x2b827c),_0x2b827c),_0x2b827c++;break;case'delete':_0x282c9f['remove'](_0x2b827c);break;case _0x1d15('0xc'):_0x2b827c++;}}
23
+ const _0x1627=['formatDateTime','render','resolvedAt','equal','length','change:isEditMode','refreshVisibleViews','editorConfig','_calculatePosition','comments','change:isResolved','resolvedCommentView','destroy','change:hasDirtyComment','from','updateComment','isEditMode','add','delete','some','resolvedBy','remove','_shouldCollapse','weight','focus','change:isActive','CommentView','visibleViews','_handleRemoveCommentModel','get','collapse','editorDestroyed','set','element','ck-thread__comments','_collapsedCommentsView','isActive','resolved','locale','listenTo','count','_findOptimalIndex','_rearrangeCollapse','authoredAt','removeComment','delegate','commentUpdated','_config','_handleInfoComment','commentViews','setTemplate','_model','hasDirtyComment','bind','createCollection','_rearrangeExpand','_handleNewCommentModel','maxCommentCharsWhenCollapsed','maxCommentsWhenCollapsed'];(function(_0x1ea63f,_0x1627b2){const _0x1e9e4b=function(_0xdae8a3){while(--_0xdae8a3){_0x1ea63f['push'](_0x1ea63f['shift']());}};_0x1e9e4b(++_0x1627b2);}(_0x1627,0xe4));const _0x1e9e=function(_0x1ea63f,_0x1627b2){_0x1ea63f=_0x1ea63f-0x0;let _0x1e9e4b=_0x1627[_0x1ea63f];return _0x1e9e4b;};import{View as _0x436991}from'ckeditor5/src/ui.js';import{diff as _0xdc6388,Collection as _0x3f74b7}from'ckeditor5/src/utils.js';import{getTranslation as _0x2192e6}from'../../../utils/common-translations.js';import _0x9e6e84 from'./collapsedcommentsview.js';export default class vt extends _0x436991{constructor(_0x122e10,_0x43139d,_0x8d0b7b){super(_0x122e10),this[_0x1e9e('0x28')](_0x1e9e('0x1'),!0x1),this[_0x1e9e('0x28')](_0x1e9e('0xc'),_0x43139d[_0x1e9e('0x11')][_0x1e9e('0xc')]),this[_0x1e9e('0x28')](_0x1e9e('0x2c'),!0x1),this[_0x1e9e('0x0')]=_0x43139d,this['_config']=_0x8d0b7b,this[_0x1e9e('0x39')]=this[_0x1e9e('0x3')](),this[_0x1e9e('0x23')]=this[_0x1e9e('0x3')](),this[_0x1e9e('0x13')]=null,this[_0x1e9e('0x2b')]=new _0x9e6e84(_0x122e10),this[_0x1e9e('0x2b')][_0x1e9e('0x2')](_0x1e9e('0x30'))['to'](this,_0x1e9e('0xc'),_0x3d5d8f=>_0x3d5d8f-this[_0x1e9e('0x37')][_0x1e9e('0x7')]);for(const _0x399d4c of _0x43139d[_0x1e9e('0x11')])this[_0x1e9e('0x5')](_0x399d4c);this['_handleInfoComment'](),this[_0x1e9e('0x2f')](_0x43139d[_0x1e9e('0x11')],_0x1e9e('0x19'),(_0x140396,_0x9453a2)=>{const _0x12bdd9=this[_0x1e9e('0x10')](_0x9453a2);this[_0x1e9e('0xc')]++,this['_handleNewCommentModel'](_0x9453a2,_0x12bdd9),this[_0x1e9e('0xe')]();}),this[_0x1e9e('0x2f')](_0x43139d[_0x1e9e('0x11')],_0x1e9e('0x1d'),(_0x32f882,_0x110e2d)=>{this[_0x1e9e('0xc')]--,this[_0x1e9e('0x24')](_0x110e2d),this[_0x1e9e('0xe')]();}),this[_0x1e9e('0x2f')](_0x43139d,_0x1e9e('0x36'),()=>this[_0x1e9e('0xe')]()),this[_0x1e9e('0x2f')](_0x43139d,_0x1e9e('0x12'),()=>this['_handleInfoComment']()),this['on'](_0x1e9e('0x21'),()=>this[_0x1e9e('0xe')]()),this['on'](_0x1e9e('0x15'),()=>this[_0x1e9e('0xe')]()),this[_0x1e9e('0x3a')]({'tag':'ul','attributes':{'class':[_0x1e9e('0x2a')]},'children':this[_0x1e9e('0x23')]});}get[_0x1e9e('0x1e')](){return this[_0x1e9e('0x0')][_0x1e9e('0x1f')]>this[_0x1e9e('0x37')]['maxThreadTotalWeight']&&!this[_0x1e9e('0x2c')]&&!this[_0x1e9e('0x1')];}['render'](){super[_0x1e9e('0x9')](),this[_0x1e9e('0xe')]();}[_0x1e9e('0x20')](){this[_0x1e9e('0x29')][_0x1e9e('0x20')]();}['destroy'](){this[_0x1e9e('0x2b')][_0x1e9e('0x14')]();for(const _0x21682d of this[_0x1e9e('0x39')])_0x21682d[_0x1e9e('0x14')]();super[_0x1e9e('0x14')]();}['refreshVisibleViews'](){this[_0x1e9e('0x1e')]?this[_0x1e9e('0x32')]():this[_0x1e9e('0x4')]();}[_0x1e9e('0x5')](_0x2ef551,_0x382750){const _0x3deb8c=new this[(_0x1e9e('0x37'))]['CommentView'](this[_0x1e9e('0x2e')],_0x2ef551,{'maxCommentCharsWhenCollapsed':this[_0x1e9e('0x37')][_0x1e9e('0x6')],'formatDateTime':this['_config'][_0x1e9e('0x8')],'editorConfig':this[_0x1e9e('0x37')][_0x1e9e('0xf')]});_0x3deb8c['viewUid']=_0x2ef551['id'],_0x3deb8c[_0x1e9e('0x35')](_0x1e9e('0x34'))['to'](this),_0x3deb8c[_0x1e9e('0x35')](_0x1e9e('0x17'))['to'](this),_0x3deb8c[_0x1e9e('0x35')]('resolveCommentThread')['to'](this),_0x3deb8c[_0x1e9e('0x35')]('editorReady')['to'](this),_0x3deb8c['delegate'](_0x1e9e('0x27'))['to'](this),this['listenTo'](_0x3deb8c,_0x1e9e('0xd'),()=>this['_updateHasDirtyComment']()),this[_0x1e9e('0x39')][_0x1e9e('0x19')](_0x3deb8c,_0x382750);}[_0x1e9e('0x10')](_0x3c6cd0){const _0x142b33=this[_0x1e9e('0x0')][_0x1e9e('0x31')](_0x3c6cd0);return this[_0x1e9e('0x13')]?this[_0x1e9e('0x13')][_0x1e9e('0x33')]>_0x3c6cd0[_0x1e9e('0x33')]?_0x142b33-0x1:_0x142b33:_0x142b33-0x1;}[_0x1e9e('0x38')](){if(this[_0x1e9e('0x0')][_0x1e9e('0x1c')]&&this[_0x1e9e('0x0')]['resolvedAt']){const _0x7ac378={'id':_0x1e9e('0x2d'),'author':this[_0x1e9e('0x0')]['resolvedBy'],'authoredAt':this[_0x1e9e('0x0')][_0x1e9e('0xa')],'content':_0x2192e6(this[_0x1e9e('0x2e')],'Marked\x20as\x20resolved'),'attributes':{}};this[_0x1e9e('0x13')]=new this[(_0x1e9e('0x37'))][(_0x1e9e('0x22'))](this[_0x1e9e('0x2e')],_0x7ac378,{'maxCommentCharsWhenCollapsed':this[_0x1e9e('0x37')][_0x1e9e('0x6')],'formatDateTime':this[_0x1e9e('0x37')][_0x1e9e('0x8')],'editorConfig':this[_0x1e9e('0x37')][_0x1e9e('0xf')],'isSystemComment':!0x0}),this[_0x1e9e('0x39')][_0x1e9e('0x19')](this[_0x1e9e('0x13')],this[_0x1e9e('0x0')][_0x1e9e('0x31')](_0x7ac378));}else this[_0x1e9e('0x13')]&&(this[_0x1e9e('0x39')]['remove'](this['resolvedCommentView']),this[_0x1e9e('0x13')]['destroy'](),this['resolvedCommentView']=null);this[_0x1e9e('0xe')]();}[_0x1e9e('0x24')](_0x484896){const _0x37a971=this['commentViews'][_0x1e9e('0x1d')](_0x484896['id']);this['stopListening'](_0x37a971),_0x37a971[_0x1e9e('0x18')]&&this['_updateHasDirtyComment'](),_0x37a971[_0x1e9e('0x14')]();}['_updateHasDirtyComment'](){this['hasDirtyComment']=Array[_0x1e9e('0x16')](this['commentViews'])[_0x1e9e('0x1b')](_0x2463ec=>_0x2463ec[_0x1e9e('0x18')]);}[_0x1e9e('0x32')](){const _0x18c2ce=function(_0x3d066e){const _0x3151df=new _0x3f74b7();for(const _0x44c1d4 of _0x3d066e)_0x3151df[_0x1e9e('0x19')](_0x44c1d4);return _0x3151df;}(this[_0x1e9e('0x39')]),_0xea1985=this[_0x1e9e('0x2b')][_0x1e9e('0x30')];for(let _0x1b9f84=0x1;_0x1b9f84<=_0xea1985;_0x1b9f84++)_0x18c2ce[_0x1e9e('0x1d')](0x1);for(const _0x15e6c7 of _0x18c2ce)_0x15e6c7[_0x1e9e('0x26')]();_0xea1985>0x0&&_0x18c2ce['add'](this[_0x1e9e('0x2b')],0x1),is(_0xdc6388(Array[_0x1e9e('0x16')](this[_0x1e9e('0x23')]),Array[_0x1e9e('0x16')](_0x18c2ce)),this[_0x1e9e('0x23')],_0x18c2ce);}[_0x1e9e('0x4')](){is(_0xdc6388(Array[_0x1e9e('0x16')](this[_0x1e9e('0x23')]),Array[_0x1e9e('0x16')](this[_0x1e9e('0x39')])),this[_0x1e9e('0x23')],this['commentViews']);for(const _0x500377 of this[_0x1e9e('0x23')])_0x500377['expand']();}}function is(_0x7a325d,_0x34dd38,_0x59b114){let _0x5270ae=0x0;for(const _0x375975 of _0x7a325d)switch(_0x375975){case'insert':_0x34dd38['add'](_0x59b114[_0x1e9e('0x25')](_0x5270ae),_0x5270ae),_0x5270ae++;break;case _0x1e9e('0x1a'):_0x34dd38[_0x1e9e('0x1d')](_0x5270ae);break;case _0x1e9e('0xb'):_0x5270ae++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5530=['remove','isVisible','isResolvable','render','value','mouseleave','.ck-context__value','locale','context','isResolved','ck-context-wrapper','bindTemplate','contextValue','execute','length','ck-context','classList','listenTo','substring','label','hasContext','_model','bind','ck-context--quotes','overlay','_createReopenButton','fire','.ck-context','...','offsetWidth','Reopen','span','scrollWidth','lastIndexOf','Comment\x20was\x20made\x20on\x20an\x20element','div','ck-context__value','_attachContextActions','_trimContextValue','reopenButtonView','isReadOnly','querySelector','reopenCommentThread','ck-annotation__actions'];(function(_0x40f88d,_0x5530d1){const _0x4dbc09=function(_0xeca5dd){while(--_0xeca5dd){_0x40f88d['push'](_0x40f88d['shift']());}};_0x4dbc09(++_0x5530d1);}(_0x5530,0x175));const _0x4dbc=function(_0x40f88d,_0x5530d1){_0x40f88d=_0x40f88d-0x0;let _0x4dbc09=_0x5530[_0x40f88d];return _0x4dbc09;};import{View as _0x1c56e7,ButtonView as _0x2dcd1c}from'ckeditor5/src/ui.js';import{getTranslation as _0xda7a6c}from'../../../utils/common-translations.js';import _0x19dab0 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x1c56e7{constructor(_0x5a30e0,_0x334547){super(_0x5a30e0);const _0x4d56ad=this[_0x4dbc('0x22')];this[_0x4dbc('0x0')]=_0x334547,this[_0x4dbc('0x12')]=this[_0x4dbc('0x4')](),this[_0x4dbc('0x1')](_0x4dbc('0x2b'))['to'](this[_0x4dbc('0x0')],_0x4dbc('0x1f'),_0x186627=>!!_0x186627),this[_0x4dbc('0x1')](_0x4dbc('0x23'))['to'](this[_0x4dbc('0x0')],_0x4dbc('0x1f'),_0x1a8321=>_0x1a8321&&_0x1a8321[_0x4dbc('0x1b')]?this[_0x4dbc('0x11')](_0x1a8321[_0x4dbc('0x1b')]):_0xda7a6c(this[_0x4dbc('0x1e')],_0x4dbc('0xd'))),this['setTemplate']({'tag':'div','attributes':{'class':['ck-thread__header']},'children':[{'tag':'div','attributes':{'class':[_0x4dbc('0x21')]},'children':[{'tag':_0x4dbc('0xe'),'attributes':{'class':[_0x4dbc('0x26'),_0x4d56ad['if'](_0x4dbc('0x2b'),_0x4dbc('0x2'))]},'children':[{'tag':_0x4dbc('0xa'),'attributes':{'class':[_0x4dbc('0xf')]},'children':[{'text':_0x4d56ad['to']('contextValue')}]}]}]},{'tag':_0x4dbc('0xe'),'attributes':{'class':[_0x4dbc('0x16')]},'children':[this[_0x4dbc('0x12')]]}]});}[_0x4dbc('0x1a')](){super[_0x4dbc('0x1a')](),this[_0x4dbc('0x10')]();}[_0x4dbc('0x4')](){const _0x3b491d=new _0x2dcd1c(this[_0x4dbc('0x1e')]);return _0x3b491d[_0x4dbc('0x2a')]=_0xda7a6c(this[_0x4dbc('0x1e')],_0x4dbc('0x9')),_0x3b491d['tooltip']=_0xda7a6c(this[_0x4dbc('0x1e')],_0x4dbc('0x9')),_0x3b491d['icon']=_0x19dab0,_0x3b491d['bind']('isEnabled')['to'](this['_model'],_0x4dbc('0x13'),_0x3677ab=>!_0x3677ab),_0x3b491d['bind'](_0x4dbc('0x18'))['to'](this[_0x4dbc('0x0')],_0x4dbc('0x19'),this[_0x4dbc('0x0')],_0x4dbc('0x20'),(_0x3107fe,_0xb05093)=>_0x3107fe&&_0xb05093),_0x3b491d['on'](_0x4dbc('0x24'),()=>{this[_0x4dbc('0x5')](_0x4dbc('0x15'),this[_0x4dbc('0x0')]['id']);}),_0x3b491d;}[_0x4dbc('0x11')](_0x199add){if(_0x199add[_0x4dbc('0x25')]<0x96)return _0x199add;const _0x2207a3=_0x199add[_0x4dbc('0xc')]('\x20',0x93);return _0x199add[_0x4dbc('0x29')](0x0,_0x2207a3>-0x1?_0x2207a3:0x93)+_0x4dbc('0x7');}[_0x4dbc('0x10')](){const _0x4c7988=this['element'][_0x4dbc('0x14')](_0x4dbc('0x6')),_0x325f2e=_0x4c7988[_0x4dbc('0x14')](_0x4dbc('0x1d'));this[_0x4dbc('0x28')](_0x4c7988,'mouseenter',()=>{_0x325f2e[_0x4dbc('0x8')]<_0x325f2e[_0x4dbc('0xb')]&&_0x4c7988[_0x4dbc('0x27')]['add'](_0x4dbc('0x3'));}),this[_0x4dbc('0x28')](_0x4c7988,_0x4dbc('0x1c'),()=>{_0x4c7988[_0x4dbc('0x27')][_0x4dbc('0x17')](_0x4dbc('0x3'));});}}
23
+ const _0x1ced=['.ck-context','length','ck-annotation__actions','_createReopenButton','context','render','substring','reopenCommentThread','hasContext','listenTo','isResolved','bindTemplate','contextValue','isVisible','add','execute','mouseleave','lastIndexOf','classList','mouseenter','span','_attachContextActions','ck-context','value','ck-context__value','reopenButtonView','Reopen','querySelector','.ck-context__value','tooltip','locale','isResolvable','bind','_model','Comment\x20was\x20made\x20on\x20an\x20element','label','overlay','_trimContextValue','isEnabled','ck-thread__header','remove','div'];(function(_0x1b460d,_0x1ced7e){const _0x1b9f5e=function(_0x1426bf){while(--_0x1426bf){_0x1b460d['push'](_0x1b460d['shift']());}};_0x1b9f5e(++_0x1ced7e);}(_0x1ced,0xd6));const _0x1b9f=function(_0x1b460d,_0x1ced7e){_0x1b460d=_0x1b460d-0x0;let _0x1b9f5e=_0x1ced[_0x1b460d];return _0x1b9f5e;};import{View as _0x54933b,ButtonView as _0xf609a5}from'ckeditor5/src/ui.js';import{getTranslation as _0x72de0a}from'../../../utils/common-translations.js';import _0x4d01be from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x54933b{constructor(_0xc63ced,_0x1b47e2){super(_0xc63ced);const _0x3395de=this[_0x1b9f('0x7')];this[_0x1b9f('0x1d')]=_0x1b47e2,this[_0x1b9f('0x15')]=this[_0x1b9f('0x29')](),this['bind']('hasContext')['to'](this[_0x1b9f('0x1d')],_0x1b9f('0x0'),_0x4741da=>!!_0x4741da),this['bind'](_0x1b9f('0x8'))['to'](this[_0x1b9f('0x1d')],_0x1b9f('0x0'),_0x313557=>_0x313557&&_0x313557[_0x1b9f('0x13')]?this['_trimContextValue'](_0x313557['value']):_0x72de0a(this['locale'],_0x1b9f('0x1e'))),this['setTemplate']({'tag':_0x1b9f('0x25'),'attributes':{'class':[_0x1b9f('0x23')]},'children':[{'tag':_0x1b9f('0x25'),'attributes':{'class':['ck-context-wrapper']},'children':[{'tag':'div','attributes':{'class':[_0x1b9f('0x12'),_0x3395de['if'](_0x1b9f('0x4'),'ck-context--quotes')]},'children':[{'tag':_0x1b9f('0x10'),'attributes':{'class':[_0x1b9f('0x14')]},'children':[{'text':_0x3395de['to'](_0x1b9f('0x8'))}]}]}]},{'tag':_0x1b9f('0x25'),'attributes':{'class':[_0x1b9f('0x28')]},'children':[this['reopenButtonView']]}]});}[_0x1b9f('0x1')](){super[_0x1b9f('0x1')](),this[_0x1b9f('0x11')]();}[_0x1b9f('0x29')](){const _0x3e422a=new _0xf609a5(this[_0x1b9f('0x1a')]);return _0x3e422a[_0x1b9f('0x1f')]=_0x72de0a(this[_0x1b9f('0x1a')],_0x1b9f('0x16')),_0x3e422a[_0x1b9f('0x19')]=_0x72de0a(this[_0x1b9f('0x1a')],_0x1b9f('0x16')),_0x3e422a['icon']=_0x4d01be,_0x3e422a['bind'](_0x1b9f('0x22'))['to'](this['_model'],'isReadOnly',_0x3c59bb=>!_0x3c59bb),_0x3e422a[_0x1b9f('0x1c')](_0x1b9f('0x9'))['to'](this[_0x1b9f('0x1d')],_0x1b9f('0x1b'),this[_0x1b9f('0x1d')],_0x1b9f('0x6'),(_0x2e8a07,_0x15551b)=>_0x2e8a07&&_0x15551b),_0x3e422a['on'](_0x1b9f('0xb'),()=>{this['fire'](_0x1b9f('0x3'),this[_0x1b9f('0x1d')]['id']);}),_0x3e422a;}[_0x1b9f('0x21')](_0x4aa452){if(_0x4aa452[_0x1b9f('0x27')]<0x96)return _0x4aa452;const _0x2af805=_0x4aa452[_0x1b9f('0xd')]('\x20',0x93);return _0x4aa452[_0x1b9f('0x2')](0x0,_0x2af805>-0x1?_0x2af805:0x93)+'...';}['_attachContextActions'](){const _0x55b091=this['element'][_0x1b9f('0x17')](_0x1b9f('0x26')),_0x5a483f=_0x55b091['querySelector'](_0x1b9f('0x18'));this[_0x1b9f('0x5')](_0x55b091,_0x1b9f('0xf'),()=>{_0x5a483f['offsetWidth']<_0x5a483f['scrollWidth']&&_0x55b091['classList'][_0x1b9f('0xa')]('overlay');}),this[_0x1b9f('0x5')](_0x55b091,_0x1b9f('0xc'),()=>{_0x55b091[_0x1b9f('0xe')][_0x1b9f('0x24')](_0x1b9f('0x20'));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2c5e=['div','change:showInput','commentInputView','then','focusTracker','delegate','set','setTemplate','ck-comment__input-container--active','bindTemplate','extendTemplate','destroy','showInput','userView','ck-thread__input','editor','showButtons','isFocused','ck-comment__input-container','editorDestroyed'];(function(_0x46b3e2,_0x2c5ee3){var _0x1b7ea8=function(_0x19c262){while(--_0x19c262){_0x46b3e2['push'](_0x46b3e2['shift']());}};_0x1b7ea8(++_0x2c5ee3);}(_0x2c5e,0x18d));var _0x1b7e=function(_0x46b3e2,_0x2c5ee3){_0x46b3e2=_0x46b3e2-0x0;var _0x1b7ea8=_0x2c5e[_0x46b3e2];return _0x1b7ea8;};import{View as _0x10792b}from'ckeditor5/src/ui.js';import _0x188c01 from'./commentinputview.js';import{UserView as _0x368b2a}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Ct extends _0x10792b{constructor(_0x3c3d2d,_0x2e4c24,_0x427a79){super(_0x3c3d2d),this[_0x1b7e('0x5')]=new _0x188c01(_0x3c3d2d,_0x427a79),this[_0x1b7e('0x5')]['bind'](_0x1b7e('0x13'))['to'](this['commentInputView'][_0x1b7e('0x7')],_0x1b7e('0x0'),this[_0x1b7e('0x5')],'value',(_0x4625a6,_0x4739e7)=>_0x4625a6||!!_0x4739e7),this[_0x1b7e('0x9')](_0x1b7e('0xf'),!0x1),this['on'](_0x1b7e('0x4'),()=>{this[_0x1b7e('0xf')]&&!this[_0x1b7e('0x5')][_0x1b7e('0x12')]&&this[_0x1b7e('0x5')]['createEditor']();}),this[_0x1b7e('0x5')][_0x1b7e('0x8')]('editorReady')['to'](this),this['commentInputView'][_0x1b7e('0x8')](_0x1b7e('0x2'))['to'](this),this[_0x1b7e('0x10')]=new _0x368b2a(_0x3c3d2d,_0x2e4c24),this[_0x1b7e('0x10')][_0x1b7e('0xd')]({'attributes':{'class':'ck-thread__user'}}),this[_0x1b7e('0x5')][_0x1b7e('0xd')]({'attributes':{'class':_0x1b7e('0x11')}}),this[_0x1b7e('0xa')]({'tag':_0x1b7e('0x3'),'attributes':{'class':[_0x1b7e('0x1'),this[_0x1b7e('0xc')]['if'](_0x1b7e('0xf'),_0x1b7e('0xb'))]},'children':[this['userView'],this[_0x1b7e('0x5')]]});}[_0x1b7e('0xe')](){return this['commentInputView'][_0x1b7e('0xe')]()[_0x1b7e('0x6')](()=>super[_0x1b7e('0xe')]());}}
23
+ var _0x16ee=['extendTemplate','delegate','editorReady','showInput','ck-thread__user','createEditor','showButtons','ck-comment__input-container--active','div','change:showInput','then','isFocused','destroy','value','editor','ck-thread__input','bindTemplate','setTemplate','userView','editorDestroyed','focusTracker','commentInputView'];(function(_0x2ffe4a,_0x16eea1){var _0x3f3145=function(_0x20d757){while(--_0x20d757){_0x2ffe4a['push'](_0x2ffe4a['shift']());}};_0x3f3145(++_0x16eea1);}(_0x16ee,0x12d));var _0x3f31=function(_0x2ffe4a,_0x16eea1){_0x2ffe4a=_0x2ffe4a-0x0;var _0x3f3145=_0x16ee[_0x2ffe4a];return _0x3f3145;};import{View as _0x3564b9}from'ckeditor5/src/ui.js';import _0x4dd9c5 from'./commentinputview.js';import{UserView as _0x3a31ea}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Ct extends _0x3564b9{constructor(_0x558cdb,_0x439f63,_0x2fd1f0){super(_0x558cdb),this[_0x3f31('0x6')]=new _0x4dd9c5(_0x558cdb,_0x2fd1f0),this['commentInputView']['bind'](_0x3f31('0xd'))['to'](this[_0x3f31('0x6')][_0x3f31('0x5')],_0x3f31('0x12'),this[_0x3f31('0x6')],_0x3f31('0x14'),(_0x5f1e6a,_0x236263)=>_0x5f1e6a||!!_0x236263),this['set'](_0x3f31('0xa'),!0x1),this['on'](_0x3f31('0x10'),()=>{this['showInput']&&!this[_0x3f31('0x6')][_0x3f31('0x15')]&&this[_0x3f31('0x6')][_0x3f31('0xc')]();}),this['commentInputView']['delegate'](_0x3f31('0x9'))['to'](this),this[_0x3f31('0x6')][_0x3f31('0x8')](_0x3f31('0x4'))['to'](this),this['userView']=new _0x3a31ea(_0x558cdb,_0x439f63),this['userView']['extendTemplate']({'attributes':{'class':_0x3f31('0xb')}}),this[_0x3f31('0x6')][_0x3f31('0x7')]({'attributes':{'class':_0x3f31('0x0')}}),this[_0x3f31('0x2')]({'tag':_0x3f31('0xf'),'attributes':{'class':['ck-comment__input-container',this[_0x3f31('0x1')]['if'](_0x3f31('0xa'),_0x3f31('0xe'))]},'children':[this[_0x3f31('0x3')],this[_0x3f31('0x6')]]});}['destroy'](){return this[_0x3f31('0x6')]['destroy']()[_0x3f31('0x11')](()=>super[_0x3f31('0x13')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e06=['div','Resolve','Delete\x20comment\x20thread?','tooltip','ck-thread--remove-confirmation','set','isVisible','bind','ck-reset_all-excluded','unbind','change:isReadOnly','querySelector','setTemplate','add','high','resolveButton','icon','_createResolveButton','stop','getTemplate','locale','change:isActive','isResolved','containerElement','listenTo','_boundFirstCommentView','ck-thread--','isConfirm','extendTemplate','archivedAt','resolveCommentThread','actionIndicator','commentsListView','addMany','placeholder','commentThreadChildren','cancelConfirm','_model','remove','isResolvable','ck-comment--resolve','showConfirm','isEnabled','length','_cancelAllConfirms','change:archivedAt','commentThreadHeaderView','fire','render','ck-thread--unlinked','isUnlinked','ck-thread__container','_bindFirstCommentView','then','commentViews','ck-thread--active','removeButton','removeCommentThread','.ck-thread__container','execute','Write\x20a\x20comment...','commentThreadInputView','isActive','createCollection'];(function(_0x5e7111,_0x1e0618){const _0x5df9f3=function(_0x31f30d){while(--_0x31f30d){_0x5e7111['push'](_0x5e7111['shift']());}};_0x5df9f3(++_0x1e0618);}(_0x1e06,0x1f1));const _0x5df9=function(_0x5e7111,_0x1e0618){_0x5e7111=_0x5e7111-0x0;let _0x5df9f3=_0x1e06[_0x5e7111];return _0x5df9f3;};import{ConfirmMixin as _0x275071}from'ckeditor5-collaboration/src/collaboration-core.js';import{ButtonView as _0x236e2d}from'ckeditor5/src/ui.js';import{icons as _0x153942}from'ckeditor5/src/core.js';import _0x2ec5bf from'./basecommentthreadview.js';import{getTranslation as _0x5c2e71}from'../../../utils/common-translations.js';export default class ft extends _0x275071(_0x2ec5bf){constructor(_0x1e9f71,_0x4757be,_0x2c9b9c,_0x2b910b){super(_0x1e9f71,_0x4757be,_0x2c9b9c,_0x2b910b),this[_0x5df9('0x32')]=this[_0x5df9('0xe')](),this[_0x5df9('0x32')][_0x5df9('0x30')]([this[_0x5df9('0x2f')],this[_0x5df9('0xc')]]),this['_model'][_0x5df9('0x2c')]&&this['commentThreadChildren']['add'](this['commentThreadHeaderView'],0x0),this[_0x5df9('0x34')]['on'](_0x5df9('0x3c'),(_0x34b358,_0xfee6f0,_0xba75ee)=>{_0xba75ee?this[_0x5df9('0x32')]['has'](this[_0x5df9('0x3d')])||this[_0x5df9('0x32')][_0x5df9('0x1c')](this[_0x5df9('0x3d')],0x0):this[_0x5df9('0x32')][_0x5df9('0x35')](this[_0x5df9('0x3d')]);}),this[_0x5df9('0x14')](_0x5df9('0x2e'),null),this[_0x5df9('0x26')]=null,this[_0x5df9('0x28')]=null,this[_0x5df9('0x23')]=_0x1e9f71,this[_0x5df9('0x1e')]=this[_0x5df9('0x20')](),this[_0x5df9('0x1b')](this['getTemplate']()),this['on'](_0x5df9('0x24'),(_0x56bfa1,_0x548ccd,_0x59a49d)=>{_0x59a49d||this[_0x5df9('0x3b')]();}),this[_0x5df9('0x27')](this[_0x5df9('0x34')],_0x5df9('0x19'),(_0x4898cf,_0x23098d,_0x65071e)=>{_0x65071e&&this[_0x5df9('0x3b')]();}),this[_0x5df9('0x3a')]>0x0&&this[_0x5df9('0x3')](),this[_0x5df9('0x27')](this[_0x5df9('0x2f')][_0x5df9('0x5')],_0x5df9('0x1c'),()=>{this[_0x5df9('0x3')]();});}[_0x5df9('0x22')](){const _0x37e1b5=this['bindTemplate'];return{'tag':_0x5df9('0xf'),'attributes':{'class':['ck-thread',_0x5df9('0x17'),_0x37e1b5['if'](_0x5df9('0xd'),_0x5df9('0x6')),_0x37e1b5['if'](_0x5df9('0x1'),_0x5df9('0x0')),_0x37e1b5['if'](_0x5df9('0x2a'),_0x5df9('0x13')),_0x37e1b5['to'](_0x5df9('0x2e'),_0x1e02d7=>_0x1e02d7?_0x5df9('0x29')+_0x1e02d7:'')],'data-thread-id':this[_0x5df9('0x34')]['id'],'tabindex':-0x1},'children':[{'tag':_0x5df9('0xf'),'attributes':{'class':_0x5df9('0x2')},'children':this[_0x5df9('0x32')]}]};}[_0x5df9('0x3f')](){super[_0x5df9('0x3f')](),this[_0x5df9('0x26')]=this['element'][_0x5df9('0x1a')](_0x5df9('0x9'));}['_cancelAllConfirms'](){this[_0x5df9('0x33')]();for(const _0x4fc038 of this[_0x5df9('0x2f')]['commentViews'])_0x4fc038[_0x5df9('0x33')]();}[_0x5df9('0x3')](){const {locale:_0x51e887}=this,_0x562257=this[_0x5df9('0x2f')][_0x5df9('0x5')]['get'](0x0);_0x562257===this['_boundFirstCommentView']||_0x562257['isSystemComment']||(this[_0x5df9('0x28')]=_0x562257,this[_0x5df9('0x18')](_0x5df9('0x2e')),this[_0x5df9('0x16')](_0x5df9('0x2e'))['to'](_0x562257,_0x5df9('0x2e'),_0x122796=>_0x5df9('0x35')===_0x122796?_0x5df9('0x35'):null),_0x562257[_0x5df9('0x31')]=_0x5c2e71(_0x51e887,_0x5df9('0xb')),_0x562257[_0x5df9('0x7')]['on'](_0x5df9('0xa'),_0x511912=>{_0x511912[_0x5df9('0x21')](),this[_0x5df9('0x38')](_0x5c2e71(_0x51e887,_0x5df9('0x11')),this[_0x5df9('0x26')])[_0x5df9('0x4')](()=>{this[_0x5df9('0x3e')](_0x5df9('0x8'));});},{'priority':_0x5df9('0x1d')}),_0x562257['actionBar'][_0x5df9('0x1c')](this[_0x5df9('0x1e')],0x0));}['_createResolveButton'](){const _0x11a457=new _0x236e2d(this['locale']);return _0x11a457['label']=_0x5c2e71(this[_0x5df9('0x23')],'Resolve'),_0x11a457[_0x5df9('0x12')]=_0x5c2e71(this[_0x5df9('0x23')],_0x5df9('0x10')),_0x11a457[_0x5df9('0x1f')]=_0x153942['check'],_0x11a457[_0x5df9('0x2b')]({'attributes':{'class':_0x5df9('0x37')}}),_0x11a457['bind'](_0x5df9('0x39'))['to'](this['_model'],'isReadOnly',_0x2ed6a3=>!_0x2ed6a3),_0x11a457['bind'](_0x5df9('0x15'))['to'](this[_0x5df9('0x34')],_0x5df9('0x36'),this[_0x5df9('0x34')],_0x5df9('0x25'),(_0x1e4848,_0x2222d6)=>_0x1e4848&&!_0x2222d6),_0x11a457['on'](_0x5df9('0xa'),()=>{this[_0x5df9('0x3e')](_0x5df9('0x2d'),this['_model']['id']);}),_0x11a457;}}
23
+ const _0x3f89=['execute','actionIndicator','fire','has','label','.ck-thread__container','listenTo','ck-thread__container','_cancelAllConfirms','isConfirm','commentThreadHeaderView','length','ck-comment--resolve','Delete\x20comment\x20thread?','remove','isUnlinked','Write\x20a\x20comment...','commentViews','change:archivedAt','icon','locale','set','bindTemplate','querySelector','Resolve','cancelConfirm','setTemplate','resolveButton','_boundFirstCommentView','_bindFirstCommentView','containerElement','ck-thread--','element','div','high','commentThreadChildren','change:isReadOnly','getTemplate','render','isSystemComment','_model','extendTemplate','commentsListView','commentThreadInputView','tooltip','ck-thread--unlinked','resolveCommentThread','isResolvable','createCollection','isResolved','_createResolveButton','bind','check','ck-thread--remove-confirmation','isEnabled','add','get','addMany','isVisible'];(function(_0x2ddd98,_0x3f8997){const _0x4a308e=function(_0x1bbf91){while(--_0x1bbf91){_0x2ddd98['push'](_0x2ddd98['shift']());}};_0x4a308e(++_0x3f8997);}(_0x3f89,0x124));const _0x4a30=function(_0x2ddd98,_0x3f8997){_0x2ddd98=_0x2ddd98-0x0;let _0x4a308e=_0x3f89[_0x2ddd98];return _0x4a308e;};import{ConfirmMixin as _0xaa0ef1}from'ckeditor5-collaboration/src/collaboration-core.js';import{ButtonView as _0x228011}from'ckeditor5/src/ui.js';import{icons as _0x2c35}from'ckeditor5/src/core.js';import _0x3c0fae from'./basecommentthreadview.js';import{getTranslation as _0x4dd17d}from'../../../utils/common-translations.js';export default class ft extends _0xaa0ef1(_0x3c0fae){constructor(_0x518bfa,_0x4bab70,_0x4adcd1,_0x5aa08f){super(_0x518bfa,_0x4bab70,_0x4adcd1,_0x5aa08f),this['commentThreadChildren']=this[_0x4a30('0x33')](),this[_0x4a30('0x26')][_0x4a30('0x1')]([this[_0x4a30('0x2d')],this[_0x4a30('0x2e')]]),this['_model']['archivedAt']&&this['commentThreadChildren'][_0x4a30('0x3a')](this['commentThreadHeaderView'],0x0),this[_0x4a30('0x2b')]['on'](_0x4a30('0x15'),(_0x574d28,_0x539595,_0x31265d)=>{_0x31265d?this['commentThreadChildren'][_0x4a30('0x6')](this['commentThreadHeaderView'])||this[_0x4a30('0x26')]['add'](this['commentThreadHeaderView'],0x0):this[_0x4a30('0x26')][_0x4a30('0x11')](this[_0x4a30('0xd')]);}),this[_0x4a30('0x18')](_0x4a30('0x4'),null),this['containerElement']=null,this[_0x4a30('0x1f')]=null,this[_0x4a30('0x17')]=_0x518bfa,this[_0x4a30('0x1e')]=this[_0x4a30('0x35')](),this[_0x4a30('0x1d')](this[_0x4a30('0x28')]()),this['on']('change:isActive',(_0x53bd20,_0x39a096,_0x4866e4)=>{_0x4866e4||this[_0x4a30('0xb')]();}),this[_0x4a30('0x9')](this[_0x4a30('0x2b')],_0x4a30('0x27'),(_0x17f5aa,_0x2b94a4,_0x58948a)=>{_0x58948a&&this[_0x4a30('0xb')]();}),this[_0x4a30('0xe')]>0x0&&this['_bindFirstCommentView'](),this[_0x4a30('0x9')](this[_0x4a30('0x2d')][_0x4a30('0x14')],_0x4a30('0x3a'),()=>{this[_0x4a30('0x20')]();});}[_0x4a30('0x28')](){const _0x50b715=this[_0x4a30('0x19')];return{'tag':_0x4a30('0x24'),'attributes':{'class':['ck-thread','ck-reset_all-excluded',_0x50b715['if']('isActive','ck-thread--active'),_0x50b715['if'](_0x4a30('0x12'),_0x4a30('0x30')),_0x50b715['if'](_0x4a30('0xc'),_0x4a30('0x38')),_0x50b715['to'](_0x4a30('0x4'),_0x23a4de=>_0x23a4de?_0x4a30('0x22')+_0x23a4de:'')],'data-thread-id':this[_0x4a30('0x2b')]['id'],'tabindex':-0x1},'children':[{'tag':_0x4a30('0x24'),'attributes':{'class':_0x4a30('0xa')},'children':this[_0x4a30('0x26')]}]};}[_0x4a30('0x29')](){super[_0x4a30('0x29')](),this['containerElement']=this[_0x4a30('0x23')][_0x4a30('0x1a')](_0x4a30('0x8'));}['_cancelAllConfirms'](){this[_0x4a30('0x1c')]();for(const _0x3dc448 of this[_0x4a30('0x2d')][_0x4a30('0x14')])_0x3dc448[_0x4a30('0x1c')]();}[_0x4a30('0x20')](){const {locale:_0x3d8158}=this,_0x51d4b9=this[_0x4a30('0x2d')][_0x4a30('0x14')][_0x4a30('0x0')](0x0);_0x51d4b9===this['_boundFirstCommentView']||_0x51d4b9[_0x4a30('0x2a')]||(this[_0x4a30('0x1f')]=_0x51d4b9,this['unbind'](_0x4a30('0x4')),this['bind']('actionIndicator')['to'](_0x51d4b9,_0x4a30('0x4'),_0x2eae41=>_0x4a30('0x11')===_0x2eae41?_0x4a30('0x11'):null),_0x51d4b9['placeholder']=_0x4dd17d(_0x3d8158,_0x4a30('0x13')),_0x51d4b9['removeButton']['on'](_0x4a30('0x3'),_0x50d437=>{_0x50d437['stop'](),this['showConfirm'](_0x4dd17d(_0x3d8158,_0x4a30('0x10')),this[_0x4a30('0x21')])['then'](()=>{this[_0x4a30('0x5')]('removeCommentThread');});},{'priority':_0x4a30('0x25')}),_0x51d4b9['actionBar']['add'](this[_0x4a30('0x1e')],0x0));}[_0x4a30('0x35')](){const _0x236ad1=new _0x228011(this[_0x4a30('0x17')]);return _0x236ad1[_0x4a30('0x7')]=_0x4dd17d(this['locale'],_0x4a30('0x1b')),_0x236ad1[_0x4a30('0x2f')]=_0x4dd17d(this[_0x4a30('0x17')],_0x4a30('0x1b')),_0x236ad1[_0x4a30('0x16')]=_0x2c35[_0x4a30('0x37')],_0x236ad1[_0x4a30('0x2c')]({'attributes':{'class':_0x4a30('0xf')}}),_0x236ad1[_0x4a30('0x36')](_0x4a30('0x39'))['to'](this[_0x4a30('0x2b')],'isReadOnly',_0xb08ede=>!_0xb08ede),_0x236ad1[_0x4a30('0x36')](_0x4a30('0x2'))['to'](this[_0x4a30('0x2b')],_0x4a30('0x32'),this[_0x4a30('0x2b')],_0x4a30('0x34'),(_0x3a21cd,_0x58857a)=>_0x3a21cd&&!_0x58857a),_0x236ad1['on']('execute',()=>{this['fire'](_0x4a30('0x31'),this[_0x4a30('0x2b')]['id']);}),_0x236ad1;}}