@ckeditor/ckeditor5-comments 0.0.0-nightly-20230820.0 → 0.0.0-nightly-20230821.1

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 _0x1a0a=['listenTo','config','collaboration.channelId','map','basic','importWord.commentsStyles','get','addCommentThread','editor','_handleImportedData','plugins','execute','importWord','collaboration_features'];(function(_0x5748dd,_0x1a0ac1){const _0x17db9f=function(_0x55d7a6){while(--_0x55d7a6){_0x5748dd['push'](_0x5748dd['shift']());}};_0x17db9f(++_0x1a0ac1);}(_0x1a0a,0x1d3));const _0x17db=function(_0x5748dd,_0x1a0ac1){_0x5748dd=_0x5748dd-0x0;let _0x17db9f=_0x1a0a[_0x5748dd];return _0x17db9f;};import{Plugin as _0x4eb688}from'ckeditor5/src/core';import{priorities as _0x34dbe7}from'ckeditor5/src/utils';import{Users as _0x38e886}from'ckeditor5-collaboration/src/collaboration-core';import _0x3017d2 from'../commentsrepository';export default class Y extends _0x4eb688{constructor(_0x542a6d){super(_0x542a6d),this['editor'][_0x17db('0xa')]['define'](_0x17db('0x0'),_0x17db('0xd'));}['afterInit'](){const _0x345e71=this[_0x17db('0x3')],_0xadaac4=_0x345e71['commands'][_0x17db('0x1')](_0x17db('0x7')),_0x477a2c=_0x345e71[_0x17db('0x5')][_0x17db('0x1')](_0x38e886);_0xadaac4&&(_0xadaac4['on'](_0x17db('0x6'),(_0x2dfb3f,[,_0x344a1e])=>{_0x344a1e[_0x17db('0x8')]={'comments':!0x0,'user_id':_0x477a2c['me']['id'],'comments_styles':this[_0x17db('0x3')][_0x17db('0xa')][_0x17db('0x1')](_0x17db('0x0'))};},{'priority':_0x34dbe7['high']+0xa}),this[_0x17db('0x9')](_0xadaac4,'dataInsert',this[_0x17db('0x4')]));}['_handleImportedData'](_0x161ef6,_0x241577){const {comment_threads:_0x1ab5c9}=_0x241577;_0x1ab5c9&&_0x1ab5c9['forEach'](({thread_id:_0xe3a24c,comments:_0x459f09,is_resolved:_0x2ebbcc})=>{const _0x24c948=new Date(),_0x3345b3=_0x459f09[_0x17db('0xc')](({author:_0x1ba01d,content:_0x29e382,created_at:_0x4d5f85})=>({'content':_0x29e382,'authorId':this[_0x17db('0x3')][_0x17db('0x5')]['get'](_0x38e886)['me']['id'],'createdAt':_0x24c948,'attributes':{'@external':{'authorName':_0x1ba01d,'createdAt':_0x4d5f85?new Date(_0x4d5f85):new Date(),'source':_0x17db('0x7')}}})),_0xa3f532=this[_0x17db('0x3')][_0x17db('0xa')][_0x17db('0x1')](_0x17db('0xb'));this[_0x17db('0x3')][_0x17db('0x5')]['get'](_0x3017d2)[_0x17db('0x2')]({'channelId':_0xa3f532,'threadId':_0xe3a24c,'comments':_0x3345b3,'resolvedAt':_0x2ebbcc?_0x24c948:null});});}}
23
+ const _0x28a6=['get','importWord','high','map','importWord.commentsStyles','_handleImportedData','define','dataInsert','afterInit','listenTo','editor','plugins','config','forEach','addCommentThread','collaboration.channelId','basic'];(function(_0x49e20e,_0x28a6f5){const _0x3fb1c5=function(_0x2659e7){while(--_0x2659e7){_0x49e20e['push'](_0x49e20e['shift']());}};_0x3fb1c5(++_0x28a6f5);}(_0x28a6,0x19a));const _0x3fb1=function(_0x49e20e,_0x28a6f5){_0x49e20e=_0x49e20e-0x0;let _0x3fb1c5=_0x28a6[_0x49e20e];return _0x3fb1c5;};import{Plugin as _0x649275}from'ckeditor5/src/core';import{priorities as _0x386550}from'ckeditor5/src/utils';import{Users as _0x3b4f40}from'ckeditor5-collaboration/src/collaboration-core';import _0x808134 from'../commentsrepository';export default class Y extends _0x649275{constructor(_0xa59575){super(_0xa59575),this['editor'][_0x3fb1('0xa')][_0x3fb1('0x4')](_0x3fb1('0x2'),_0x3fb1('0xe'));}[_0x3fb1('0x6')](){const _0x5e3f7a=this[_0x3fb1('0x8')],_0x1f2e50=_0x5e3f7a['commands'][_0x3fb1('0xf')](_0x3fb1('0x10')),_0x359a72=_0x5e3f7a[_0x3fb1('0x9')][_0x3fb1('0xf')](_0x3b4f40);_0x1f2e50&&(_0x1f2e50['on']('execute',(_0x4c9156,[,_0x921584])=>{_0x921584['collaboration_features']={'comments':!0x0,'user_id':_0x359a72['me']['id'],'comments_styles':this[_0x3fb1('0x8')]['config'][_0x3fb1('0xf')](_0x3fb1('0x2'))};},{'priority':_0x386550[_0x3fb1('0x0')]+0xa}),this[_0x3fb1('0x7')](_0x1f2e50,_0x3fb1('0x5'),this[_0x3fb1('0x3')]));}[_0x3fb1('0x3')](_0x529d6a,_0x25a965){const {comment_threads:_0x80e521}=_0x25a965;_0x80e521&&_0x80e521[_0x3fb1('0xb')](({thread_id:_0x470bf7,comments:_0x2c7361,is_resolved:_0x1bda4b})=>{const _0x335028=new Date(),_0x54441e=_0x2c7361[_0x3fb1('0x1')](({author:_0x2855e0,content:_0x288cac,created_at:_0x1d04fc})=>({'content':_0x288cac,'authorId':this[_0x3fb1('0x8')][_0x3fb1('0x9')][_0x3fb1('0xf')](_0x3b4f40)['me']['id'],'createdAt':_0x335028,'attributes':{'@external':{'authorName':_0x2855e0,'createdAt':_0x1d04fc?new Date(_0x1d04fc):new Date(),'source':'importWord'}}})),_0x4f5a4c=this['editor'][_0x3fb1('0xa')][_0x3fb1('0xf')](_0x3fb1('0xd'));this[_0x3fb1('0x8')][_0x3fb1('0x9')][_0x3fb1('0xf')](_0x808134)[_0x3fb1('0xc')]({'channelId':_0x4f5a4c,'threadId':_0x470bf7,'comments':_0x54441e,'resolvedAt':_0x1bda4b?_0x335028:null});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x216e=['end','data','childCount','ready','get','view','change','getRoot','assign','placeholderElement','initialData','init','initPlugins','model','then','destroy','low','focus','_updatePlaceholder','create','config','placeholder','plugins','defaultPlugins','document','name','editing','change:placeholder','getChild','setSelection','fire'];(function(_0x26c4ce,_0x216e70){const _0x373492=function(_0x3b6c84){while(--_0x3b6c84){_0x26c4ce['push'](_0x26c4ce['shift']());}};_0x373492(++_0x216e70);}(_0x216e,0x106));const _0x3734=function(_0x26c4ce,_0x216e70){_0x26c4ce=_0x26c4ce-0x0;let _0x373492=_0x216e[_0x26c4ce];return _0x373492;};import{Editor as _0x5c0005,DataApiMixin as _0x22a457}from'ckeditor5/src/core';import _0x139cec from'./commenteditorui';import{ObservableMixin as _0x4a666d}from'ckeditor5/src/utils';import{enablePlaceholder as _0x16c3a2,disablePlaceholder as _0x225cc4}from'ckeditor5/src/engine';import{Clipboard as _0x2083a1}from'ckeditor5/src/clipboard';import{Enter as _0x2a199f,ShiftEnter as _0x3f4b17}from'ckeditor5/src/enter';import{SelectAll as _0x44b2ea}from'ckeditor5/src/select-all';import{Typing as _0x5e1b00}from'ckeditor5/src/typing';import{Undo as _0x3e8be0}from'ckeditor5/src/undo';import{Paragraph as _0x19f65d}from'ckeditor5/src/paragraph';const Kt=[_0x2083a1,_0x2a199f,_0x3f4b17,_0x44b2ea,_0x5e1b00,_0x3e8be0,_0x19f65d];export default class Lt extends _0x4a666d(_0x22a457(_0x5c0005)){constructor(_0x51a56a={}){(_0x51a56a=Object[_0x3734('0x19')]({},_0x51a56a))[_0x3734('0x8')]||(_0x51a56a[_0x3734('0x8')]=Lt['defaultPlugins']),super(_0x51a56a),this['ui']=new _0x139cec(this),this['set']('placeholder',''),this['model'][_0x3734('0xa')]['on']('change',()=>this[_0x3734('0x4')](),{'priority':_0x3734('0x2')}),this['on'](_0x3734('0xd'),()=>this['_updatePlaceholder']()),this[_0x3734('0x1e')][_0x3734('0xa')]['createRoot']();}[_0x3734('0x5')](){const _0x45f361=this[_0x3734('0x6')][_0x3734('0x15')](_0x3734('0x1b'))||'';return this[_0x3734('0x1d')]()[_0x3734('0x0')](()=>this['ui'][_0x3734('0x1c')]())[_0x3734('0x0')](()=>this[_0x3734('0x12')]['init'](_0x45f361))[_0x3734('0x0')](()=>this[_0x3734('0x10')](_0x3734('0x14')));}['destroy'](){return super[_0x3734('0x1')]()[_0x3734('0x0')](()=>this['ui'][_0x3734('0x1')]());}[_0x3734('0x3')](){this[_0x3734('0x1e')][_0x3734('0x17')](_0x300327=>{const _0x114227=this['model']['document'][_0x3734('0x18')](),_0x261bed=_0x114227&&_0x114227[_0x3734('0xe')](_0x114227[_0x3734('0x13')]-0x1);_0x300327[_0x3734('0xf')](_0x261bed,_0x3734('0x11')),this[_0x3734('0xc')][_0x3734('0x16')][_0x3734('0x3')]();});}[_0x3734('0x4')](){const _0x1fc75b=this['editing'][_0x3734('0x16')],_0x515df8=_0x1fc75b[_0x3734('0xa')][_0x3734('0x18')](),_0x1418a5=_0x515df8[_0x3734('0xe')](0x0);_0x515df8[_0x3734('0x13')]>0x1||!_0x1418a5||'p'!=_0x1418a5[_0x3734('0xb')]?this[_0x3734('0x1a')]&&this[_0x3734('0x1a')][_0x3734('0x7')]&&(_0x225cc4(_0x1fc75b,this[_0x3734('0x1a')]),this[_0x3734('0x1a')]=void 0x0):(this[_0x3734('0x7')]&&(_0x1418a5[_0x3734('0x7')]=this[_0x3734('0x7')]),_0x16c3a2({'view':_0x1fc75b,'element':_0x1418a5,'keepOnFocus':!0x0}),this[_0x3734('0x1a')]=_0x1418a5);}}Lt[_0x3734('0x9')]=Kt;
23
+ const _0x2b77=['getRoot','placeholder','config','document','defaultPlugins','placeholderElement','destroy','ready','end','_updatePlaceholder','data','name','low','then','getChild','view','createRoot','childCount','model','change:placeholder','change','focus','editing','init'];(function(_0x3adeae,_0x2b7701){const _0x3c4737=function(_0x4c19f7){while(--_0x4c19f7){_0x3adeae['push'](_0x3adeae['shift']());}};_0x3c4737(++_0x2b7701);}(_0x2b77,0x73));const _0x3c47=function(_0x3adeae,_0x2b7701){_0x3adeae=_0x3adeae-0x0;let _0x3c4737=_0x2b77[_0x3adeae];return _0x3c4737;};import{Editor as _0x2c5040,DataApiMixin as _0x15065c}from'ckeditor5/src/core';import _0x3e14de from'./commenteditorui';import{ObservableMixin as _0x553fb7}from'ckeditor5/src/utils';import{enablePlaceholder as _0x2cd732,disablePlaceholder as _0x551694}from'ckeditor5/src/engine';import{Clipboard as _0x40e698}from'ckeditor5/src/clipboard';import{Enter as _0x1b93ce,ShiftEnter as _0x5b6099}from'ckeditor5/src/enter';import{SelectAll as _0x344c3a}from'ckeditor5/src/select-all';import{Typing as _0x33e24e}from'ckeditor5/src/typing';import{Undo as _0x276166}from'ckeditor5/src/undo';import{Paragraph as _0x1ef36d}from'ckeditor5/src/paragraph';const Kt=[_0x40e698,_0x1b93ce,_0x5b6099,_0x344c3a,_0x33e24e,_0x276166,_0x1ef36d];export default class Lt extends _0x553fb7(_0x15065c(_0x2c5040)){constructor(_0x32054e={}){(_0x32054e=Object['assign']({},_0x32054e))['plugins']||(_0x32054e['plugins']=Lt['defaultPlugins']),super(_0x32054e),this['ui']=new _0x3e14de(this),this['set'](_0x3c47('0x6'),''),this['model'][_0x3c47('0x8')]['on'](_0x3c47('0x1'),()=>this['_updatePlaceholder'](),{'priority':_0x3c47('0x11')}),this['on'](_0x3c47('0x0'),()=>this[_0x3c47('0xe')]()),this[_0x3c47('0x17')][_0x3c47('0x8')][_0x3c47('0x15')]();}['create'](){const _0x1e52cc=this[_0x3c47('0x7')]['get']('initialData')||'';return this['initPlugins']()[_0x3c47('0x12')](()=>this['ui'][_0x3c47('0x4')]())[_0x3c47('0x12')](()=>this[_0x3c47('0xf')]['init'](_0x1e52cc))[_0x3c47('0x12')](()=>this['fire'](_0x3c47('0xc')));}[_0x3c47('0xb')](){return super[_0x3c47('0xb')]()[_0x3c47('0x12')](()=>this['ui']['destroy']());}[_0x3c47('0x2')](){this[_0x3c47('0x17')][_0x3c47('0x1')](_0x55625f=>{const _0x210abc=this[_0x3c47('0x17')]['document'][_0x3c47('0x5')](),_0x242a28=_0x210abc&&_0x210abc[_0x3c47('0x13')](_0x210abc[_0x3c47('0x16')]-0x1);_0x55625f['setSelection'](_0x242a28,_0x3c47('0xd')),this['editing'][_0x3c47('0x14')]['focus']();});}[_0x3c47('0xe')](){const _0x1cd30d=this[_0x3c47('0x3')]['view'],_0x1ffdcf=_0x1cd30d[_0x3c47('0x8')][_0x3c47('0x5')](),_0x5300ce=_0x1ffdcf['getChild'](0x0);_0x1ffdcf[_0x3c47('0x16')]>0x1||!_0x5300ce||'p'!=_0x5300ce[_0x3c47('0x10')]?this[_0x3c47('0xa')]&&this[_0x3c47('0xa')][_0x3c47('0x6')]&&(_0x551694(_0x1cd30d,this[_0x3c47('0xa')]),this['placeholderElement']=void 0x0):(this[_0x3c47('0x6')]&&(_0x5300ce['placeholder']=this[_0x3c47('0x6')]),_0x2cd732({'view':_0x1cd30d,'element':_0x5300ce,'keepOnFocus':!0x0}),this[_0x3c47('0xa')]=_0x5300ce);}}Lt[_0x3c47('0x9')]=Kt;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x476c=['editing','setEditableElement','rootName','init','element','editable','fire','ready','name','destroy','bind','isFocused','document','view','render'];(function(_0x5ca0e3,_0x476cda){const _0x53d3de=function(_0x1035fd){while(--_0x1035fd){_0x5ca0e3['push'](_0x5ca0e3['shift']());}};_0x53d3de(++_0x476cda);}(_0x476c,0x1e9));const _0x53d3=function(_0x5ca0e3,_0x476cda){_0x5ca0e3=_0x5ca0e3-0x0;let _0x53d3de=_0x476c[_0x5ca0e3];return _0x53d3de;};import{EditorUI as _0x203cf1}from'ckeditor5/src/ui';import _0x15224a from'./commenteditoruiview';export default class jt extends _0x203cf1{constructor(_0x247780){super(_0x247780),this[_0x53d3('0x4')]=new _0x15224a(_0x247780['locale'],_0x247780[_0x53d3('0x6')]['view']);}get['element'](){return this[_0x53d3('0x4')]['element'];}[_0x53d3('0x9')](){const _0x3b1f12=this['editor'][_0x53d3('0x6')][_0x53d3('0x4')],_0xffea07=this[_0x53d3('0x4')]['editable'],_0x156caa=_0x3b1f12[_0x53d3('0x3')]['getRoot']();_0xffea07[_0x53d3('0xe')]=_0x156caa[_0x53d3('0x8')],this['view'][_0x53d3('0x5')]();const _0xc782fc=_0xffea07[_0x53d3('0xa')];this[_0x53d3('0x7')](_0xffea07[_0x53d3('0xe')],_0xc782fc),this[_0x53d3('0x4')][_0x53d3('0xb')][_0x53d3('0x1')](_0x53d3('0x2'))['to'](this['focusTracker']),_0x3b1f12['attachDomRoot'](_0xc782fc),this[_0x53d3('0xc')](_0x53d3('0xd'));}[_0x53d3('0x0')](){super[_0x53d3('0x0')](),this['view'][_0x53d3('0x0')]();}}
23
+ const _0x3d46=['bind','attachDomRoot','element','isFocused','editable','render','destroy','fire','view','document','editor','rootName','setEditableElement','focusTracker','name','editing'];(function(_0x317788,_0x3d468d){const _0x3b9d92=function(_0x23621b){while(--_0x23621b){_0x317788['push'](_0x317788['shift']());}};_0x3b9d92(++_0x3d468d);}(_0x3d46,0x70));const _0x3b9d=function(_0x317788,_0x3d468d){_0x317788=_0x317788-0x0;let _0x3b9d92=_0x3d46[_0x317788];return _0x3b9d92;};import{EditorUI as _0x2a573a}from'ckeditor5/src/ui';import _0x5dc3c8 from'./commenteditoruiview';export default class jt extends _0x2a573a{constructor(_0x2d97cc){super(_0x2d97cc),this[_0x3b9d('0x8')]=new _0x5dc3c8(_0x2d97cc['locale'],_0x2d97cc[_0x3b9d('0xf')][_0x3b9d('0x8')]);}get[_0x3b9d('0x2')](){return this[_0x3b9d('0x8')]['element'];}['init'](){const _0x4028f2=this[_0x3b9d('0xa')][_0x3b9d('0xf')][_0x3b9d('0x8')],_0x257fbd=this[_0x3b9d('0x8')][_0x3b9d('0x4')],_0x32e146=_0x4028f2[_0x3b9d('0x9')]['getRoot']();_0x257fbd[_0x3b9d('0xe')]=_0x32e146[_0x3b9d('0xb')],this[_0x3b9d('0x8')][_0x3b9d('0x5')]();const _0x4a2a35=_0x257fbd[_0x3b9d('0x2')];this[_0x3b9d('0xc')](_0x257fbd[_0x3b9d('0xe')],_0x4a2a35),this[_0x3b9d('0x8')]['editable'][_0x3b9d('0x0')](_0x3b9d('0x3'))['to'](this[_0x3b9d('0xd')]),_0x4028f2[_0x3b9d('0x1')](_0x4a2a35),this[_0x3b9d('0x7')]('ready');}[_0x3b9d('0x6')](){super['destroy'](),this[_0x3b9d('0x8')][_0x3b9d('0x6')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3bcb=['presentation','_voiceLabelView','div','extendTemplate','Comment\x20editor','ck-voice-label','text','element','ck-comment__input','editable','cke-editor__aria-label_','ck-editor__main','uiLanguage','_createVoiceLabel','uiLanguageDirection','focus','add','ck-rounded-corners','ck-reset'];(function(_0x306f55,_0x3bcbc3){const _0x5c900e=function(_0x445e79){while(--_0x445e79){_0x306f55['push'](_0x306f55['shift']());}};_0x5c900e(++_0x3bcbc3);}(_0x3bcb,0x12f));const _0x5c90=function(_0x306f55,_0x3bcbc3){_0x306f55=_0x306f55-0x0;let _0x5c900e=_0x3bcb[_0x306f55];return _0x5c900e;};import{InlineEditableUIView as _0x55acb7,EditorUIView as _0x29e059,LabelView as _0x8ab55c}from'ckeditor5/src/ui';import{uid as _0x3ec3fa}from'ckeditor5/src/utils';import{getTranslation as _0x3708cf}from'../../../utils/common-translations';export default class Nt extends _0x29e059{constructor(_0x4a0132,_0x1828fe){super(_0x4a0132);const _0x3fa4f0=_0x3ec3fa();this['main']=this['createCollection'](),this[_0x5c90('0xa')]=new _0x55acb7(_0x4a0132,_0x1828fe),this[_0x5c90('0x2')]=this[_0x5c90('0xe')](_0x3fa4f0,_0x4a0132),this['setTemplate']({'tag':_0x5c90('0x3'),'attributes':{'class':[_0x5c90('0x0'),'ck-editor',_0x5c90('0x12'),_0x5c90('0x9')],'role':'comment','dir':_0x4a0132[_0x5c90('0xf')],'lang':_0x4a0132[_0x5c90('0xd')],'aria-labelledby':_0x5c90('0xb')+_0x3fa4f0},'children':[this[_0x5c90('0x2')],{'tag':_0x5c90('0x3'),'attributes':{'class':_0x5c90('0xc'),'role':_0x5c90('0x1')},'children':this['main']}]});}['render'](){super['render'](),this['main'][_0x5c90('0x11')](this[_0x5c90('0xa')]);}[_0x5c90('0x10')](){this[_0x5c90('0xa')][_0x5c90('0x8')]['focus']();}[_0x5c90('0xe')](_0x3b4e35,_0x570f51){const _0x50cbba=new _0x8ab55c();return _0x50cbba[_0x5c90('0x7')]=_0x3708cf(_0x570f51,_0x5c90('0x5')),_0x50cbba[_0x5c90('0x4')]({'attributes':{'id':'ck-editor__aria-label_'+_0x3b4e35,'class':_0x5c90('0x6')}}),_0x50cbba;}}
23
+ const _0x40a0=['ck-voice-label','setTemplate','element','editable','Comment\x20editor','_voiceLabelView','extendTemplate','ck-editor','ck-rounded-corners','render','focus','_createVoiceLabel','main','uiLanguage','add','comment','ck-editor__aria-label_','text','uiLanguageDirection','ck-editor__main','div'];(function(_0x2894ef,_0x40a0be){const _0x2c1ef7=function(_0x419012){while(--_0x419012){_0x2894ef['push'](_0x2894ef['shift']());}};_0x2c1ef7(++_0x40a0be);}(_0x40a0,0x10e));const _0x2c1e=function(_0x2894ef,_0x40a0be){_0x2894ef=_0x2894ef-0x0;let _0x2c1ef7=_0x40a0[_0x2894ef];return _0x2c1ef7;};import{InlineEditableUIView as _0x34684f,EditorUIView as _0x1fdad3,LabelView as _0x5351fa}from'ckeditor5/src/ui';import{uid as _0x496cde}from'ckeditor5/src/utils';import{getTranslation as _0x9db494}from'../../../utils/common-translations';export default class Nt extends _0x1fdad3{constructor(_0x183acc,_0x2843c2){super(_0x183acc);const _0x3bfd78=_0x496cde();this[_0x2c1e('0xf')]=this['createCollection'](),this[_0x2c1e('0x6')]=new _0x34684f(_0x183acc,_0x2843c2),this[_0x2c1e('0x8')]=this[_0x2c1e('0xe')](_0x3bfd78,_0x183acc),this[_0x2c1e('0x4')]({'tag':_0x2c1e('0x2'),'attributes':{'class':['ck-reset',_0x2c1e('0xa'),_0x2c1e('0xb'),'ck-comment__input'],'role':_0x2c1e('0x12'),'dir':_0x183acc[_0x2c1e('0x0')],'lang':_0x183acc[_0x2c1e('0x10')],'aria-labelledby':'cke-editor__aria-label_'+_0x3bfd78},'children':[this[_0x2c1e('0x8')],{'tag':_0x2c1e('0x2'),'attributes':{'class':_0x2c1e('0x1'),'role':'presentation'},'children':this[_0x2c1e('0xf')]}]});}[_0x2c1e('0xc')](){super[_0x2c1e('0xc')](),this[_0x2c1e('0xf')][_0x2c1e('0x11')](this[_0x2c1e('0x6')]);}[_0x2c1e('0xd')](){this['editable'][_0x2c1e('0x5')][_0x2c1e('0xd')]();}[_0x2c1e('0xe')](_0x492e48,_0x38ce23){const _0x31c87a=new _0x5351fa();return _0x31c87a[_0x2c1e('0x14')]=_0x9db494(_0x38ce23,_0x2c1e('0x7')),_0x31c87a[_0x2c1e('0x9')]({'attributes':{'id':_0x2c1e('0x13')+_0x492e48,'class':_0x2c1e('0x3')}}),_0x31c87a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x6440=['resolveCommentThread','remove','_localUser','reopenCommentThread','updateComment','submit','getComment','_isAttached','isResolved','destroy','stopListening','removeComment','resolve','listenTo','removeCommentThread','reopen','view','model','addComment','submitCommentThread'];(function(_0x3c55d4,_0x644093){var _0x3dfdd6=function(_0x51d487){while(--_0x51d487){_0x3c55d4['push'](_0x3c55d4['shift']());}};_0x3dfdd6(++_0x644093);}(_0x6440,0x161));var _0x3dfd=function(_0x3c55d4,_0x644093){_0x3c55d4=_0x3c55d4-0x0;var _0x3dfdd6=_0x6440[_0x3c55d4];return _0x3dfdd6;};import{ObservableMixin as _0x44a6d8}from'ckeditor5/src/utils';export default class ct extends _0x44a6d8(){constructor(_0x533ee5,_0x2391a5){super(),this[_0x3dfd('0x4')]=_0x533ee5,this[_0x3dfd('0x4')][_0x3dfd('0xe')]=!0x0,this[_0x3dfd('0x3')]=_0x2391a5,this['listenTo'](_0x2391a5,_0x3dfd('0x6'),()=>this['submit']()),this['listenTo'](_0x2391a5,_0x3dfd('0x1'),()=>this[_0x3dfd('0x8')]()),this[_0x3dfd('0x0')](_0x2391a5,_0x3dfd('0x7'),()=>this[_0x3dfd('0x13')]()),this['listenTo'](_0x2391a5,_0x3dfd('0xa'),()=>this[_0x3dfd('0x2')]()),this[_0x3dfd('0x0')](_0x2391a5,_0x3dfd('0x5'),(_0x415897,_0x1c40cf)=>this['addComment'](_0x1c40cf)),this[_0x3dfd('0x0')](_0x2391a5,_0x3dfd('0xb'),(_0x5925db,_0x32cc79,_0x2b39c9)=>this[_0x3dfd('0xb')](_0x32cc79,_0x2b39c9)),this['listenTo'](_0x2391a5,_0x3dfd('0x12'),(_0x174212,_0x3669c5)=>this[_0x3dfd('0x12')](_0x3669c5));}[_0x3dfd('0xc')](){this[_0x3dfd('0x4')][_0x3dfd('0xc')]();}[_0x3dfd('0x8')](){this[_0x3dfd('0x4')][_0x3dfd('0x8')]();}[_0x3dfd('0x13')](){this[_0x3dfd('0x4')]['isResolved']||this[_0x3dfd('0x4')][_0x3dfd('0x13')]();}['reopen'](){this['model'][_0x3dfd('0xf')]&&this['model'][_0x3dfd('0x2')]();}['addComment'](_0xc50e4d){this[_0x3dfd('0x4')][_0x3dfd('0x5')]({'content':_0xc50e4d,'authorId':this['view'][_0x3dfd('0x9')]['id']});}[_0x3dfd('0xb')](_0x44e826,_0x387212){this[_0x3dfd('0x4')]['getComment'](_0x44e826)['update']({'content':_0x387212});}[_0x3dfd('0x12')](_0x1a79f3){this[_0x3dfd('0x4')][_0x3dfd('0xd')](_0x1a79f3)[_0x3dfd('0x8')]();}[_0x3dfd('0x10')](){this[_0x3dfd('0x11')](),this[_0x3dfd('0x4')]['_isAttached']=!0x1;}}
23
+ var _0x414c=['submit','_localUser','removeCommentThread','submitCommentThread','updateComment','model','addComment','resolveCommentThread','remove','listenTo','view','getComment','resolve','removeComment','_isAttached','reopen','isResolved'];(function(_0x3b8ab3,_0x414c2b){var _0x4c3b12=function(_0x4425a5){while(--_0x4425a5){_0x3b8ab3['push'](_0x3b8ab3['shift']());}};_0x4c3b12(++_0x414c2b);}(_0x414c,0x15e));var _0x4c3b=function(_0x3b8ab3,_0x414c2b){_0x3b8ab3=_0x3b8ab3-0x0;var _0x4c3b12=_0x414c[_0x3b8ab3];return _0x4c3b12;};import{ObservableMixin as _0x3baf6a}from'ckeditor5/src/utils';export default class ct extends _0x3baf6a(){constructor(_0x32c9dc,_0x5854b9){super(),this[_0x4c3b('0xc')]=_0x32c9dc,this['model'][_0x4c3b('0x4')]=!0x0,this[_0x4c3b('0x0')]=_0x5854b9,this['listenTo'](_0x5854b9,_0x4c3b('0xa'),()=>this[_0x4c3b('0x7')]()),this[_0x4c3b('0x10')](_0x5854b9,_0x4c3b('0x9'),()=>this[_0x4c3b('0xf')]()),this['listenTo'](_0x5854b9,_0x4c3b('0xe'),()=>this[_0x4c3b('0x2')]()),this[_0x4c3b('0x10')](_0x5854b9,'reopenCommentThread',()=>this['reopen']()),this['listenTo'](_0x5854b9,_0x4c3b('0xd'),(_0x63819f,_0x4a89a1)=>this[_0x4c3b('0xd')](_0x4a89a1)),this[_0x4c3b('0x10')](_0x5854b9,_0x4c3b('0xb'),(_0x40240a,_0x1b08a9,_0x27fafa)=>this[_0x4c3b('0xb')](_0x1b08a9,_0x27fafa)),this[_0x4c3b('0x10')](_0x5854b9,_0x4c3b('0x3'),(_0x4d125a,_0x5542f1)=>this['removeComment'](_0x5542f1));}['submit'](){this[_0x4c3b('0xc')]['submit']();}[_0x4c3b('0xf')](){this['model'][_0x4c3b('0xf')]();}['resolve'](){this['model'][_0x4c3b('0x6')]||this[_0x4c3b('0xc')][_0x4c3b('0x2')]();}['reopen'](){this['model'][_0x4c3b('0x6')]&&this[_0x4c3b('0xc')][_0x4c3b('0x5')]();}[_0x4c3b('0xd')](_0x1fa1a2){this[_0x4c3b('0xc')][_0x4c3b('0xd')]({'content':_0x1fa1a2,'authorId':this[_0x4c3b('0x0')][_0x4c3b('0x8')]['id']});}['updateComment'](_0x1895dd,_0x981d23){this[_0x4c3b('0xc')][_0x4c3b('0x1')](_0x1895dd)['update']({'content':_0x981d23});}[_0x4c3b('0x3')](_0x5c4048){this['model'][_0x4c3b('0x1')](_0x5c4048)[_0x4c3b('0xf')]();}['destroy'](){this['stopListening'](),this[_0x4c3b('0xc')][_0x4c3b('0x4')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3cb5=['commentThreadHeaderView','submit','Comment','Reply\x20to\x20reopen\x20discussion...','editorDestroyed','Reply','submitLabel','focus','showInput','set','_createCommentThreadInputView','addComment','cancel','resolveCommentThread','canComment','isSubmitted','_localUser','delegate','removeCommentThread','_config','fire','disabledSubmit','CommentView','_model','hasDirtyComment','value','assign','editorConfig','isActive','removeComment','locale','bind','editorReady','length','isResolvable','submitCommentThread','Reply...','reopenCommentThread','commentThreadInputView','commentsListView','destroy','commentInputView','isResolved','isDirty','change:isActive','Write\x20a\x20comment...','isReadOnly','updateComment'];(function(_0xd3384a,_0x3cb58f){const _0x3e01d8=function(_0x4228a9){while(--_0x4228a9){_0xd3384a['push'](_0xd3384a['shift']());}};_0x3e01d8(++_0x3cb58f);}(_0x3cb5,0x9b));const _0x3e01=function(_0xd3384a,_0x3cb58f){_0xd3384a=_0xd3384a-0x0;let _0x3e01d8=_0x3cb5[_0xd3384a];return _0x3e01d8;};import{View as _0x429bfd}from'ckeditor5/src/ui';import _0x5404fb from'./commentthreadinputview';import _0x570085 from'./commentslistview';import _0x43346c from'./commentthreadheaderview';import{getTranslation as _0x341c16}from'../../../utils/common-translations';export default class Tt extends _0x429bfd{constructor(_0x325094,_0x4f4455,_0x59b17f,_0x355f9f){super(_0x325094),this[_0x3e01('0x2e')](_0x3e01('0x11'),!0x1),this[_0x3e01('0x2e')](_0x3e01('0x20'),!0x1),this[_0x3e01('0xc')]=_0x4f4455,this[_0x3e01('0x5')]=_0x59b17f,this[_0x3e01('0x8')]=_0x355f9f,this[_0x3e01('0x25')]=new _0x43346c(_0x325094,_0x4f4455),this[_0x3e01('0x25')][_0x3e01('0x6')](_0x3e01('0x1a'))['to'](this),this[_0x3e01('0x1c')]=new _0x570085(_0x325094,_0x4f4455,Object[_0x3e01('0xf')]({'CommentView':this[_0x3e01('0x8')][_0x3e01('0xb')]},_0x355f9f)),this[_0x3e01('0x1c')][_0x3e01('0x6')](_0x3e01('0x12'))['to'](this),this[_0x3e01('0x1c')][_0x3e01('0x6')](_0x3e01('0x24'))['to'](this),this[_0x3e01('0x1c')][_0x3e01('0x6')](_0x3e01('0x2'))['to'](this),this[_0x3e01('0x1c')][_0x3e01('0x6')]('editorReady')['to'](this),this['commentsListView'][_0x3e01('0x6')](_0x3e01('0x29'))['to'](this),this['commentsListView']['bind'](_0x3e01('0x11'))['to'](this),this[_0x3e01('0x2e')](_0x3e01('0x16'),this[_0x3e01('0x1c')][_0x3e01('0x16')]),this['bind']('length')['to'](this[_0x3e01('0x1c')],'length'),this['commentThreadInputView']=this[_0x3e01('0x2f')](),this[_0x3e01('0x1b')][_0x3e01('0x6')](_0x3e01('0x15'))['to'](this),this[_0x3e01('0x1b')]['delegate'](_0x3e01('0x29'))['to'](this),this['on']('removeComment',()=>this[_0x3e01('0x2c')]()),this['bind']('isDirty')['to'](this[_0x3e01('0x1c')],_0x3e01('0xd'),this[_0x3e01('0x1b')][_0x3e01('0x1e')],_0x3e01('0xe'),(_0x27025f,_0x21b820)=>_0x27025f||!!_0x21b820);}[_0x3e01('0x2c')](){this['element']['focus']();}['destroy'](){this[_0x3e01('0x20')]=!0x1,this[_0x3e01('0x1c')]['destroy'](),this[_0x3e01('0x1b')][_0x3e01('0x1d')](),super[_0x3e01('0x1d')]();}[_0x3e01('0x2f')](){const _0x31fb9a=new _0x5404fb(this[_0x3e01('0x13')],this[_0x3e01('0x5')],this[_0x3e01('0x8')][_0x3e01('0x10')]),_0x539fc8=_0x31fb9a[_0x3e01('0x1e')];return _0x31fb9a[_0x3e01('0x14')](_0x3e01('0x2d'))['to'](this,_0x3e01('0x11'),this['_model'],_0x3e01('0x23'),this['_model'],_0x3e01('0x3'),this[_0x3e01('0xc')],_0x3e01('0x1f'),_0x539fc8,_0x3e01('0xe'),(_0x48e21c,_0x2e2caf,_0x4da5a3,_0x4ea6be,_0x2e1af8)=>!!_0x2e1af8||_0x4ea6be&&_0x4da5a3&&!_0x2e2caf||_0x48e21c&&_0x4da5a3&&!_0x2e2caf),_0x539fc8[_0x3e01('0x14')]('placeholder')['to'](this,_0x3e01('0x16'),this[_0x3e01('0xc')],_0x3e01('0x17'),this[_0x3e01('0xc')],_0x3e01('0x1f'),(_0x4474ac,_0x15a204,_0x29869c)=>{let _0x4816cb;return _0x4816cb=_0x29869c&&_0x15a204?_0x3e01('0x28'):_0x4474ac?_0x3e01('0x19'):_0x3e01('0x22'),_0x341c16(this[_0x3e01('0x13')],_0x4816cb);}),_0x539fc8[_0x3e01('0x14')](_0x3e01('0x2b'))['to'](this,_0x3e01('0x16'),_0x465a54=>_0x341c16(this[_0x3e01('0x13')],_0x465a54?_0x3e01('0x2a'):_0x3e01('0x27'))),_0x539fc8['on'](_0x3e01('0x26'),(_0x288d01,_0x4a15b6)=>{this[_0x3e01('0x9')](_0x3e01('0x0'),_0x4a15b6),this[_0x3e01('0xc')][_0x3e01('0x1f')]&&this['_model'][_0x3e01('0x17')]&&this[_0x3e01('0x9')](_0x3e01('0x1a'),this[_0x3e01('0xc')]['id']),this[_0x3e01('0xc')][_0x3e01('0x4')]||this['fire'](_0x3e01('0x18'));}),_0x539fc8['on']('cancel',()=>{this[_0x3e01('0x2c')]();}),_0x539fc8[_0x3e01('0x14')](_0x3e01('0xa'))['to'](this[_0x3e01('0xc')],_0x3e01('0x23')),_0x539fc8['on'](_0x3e01('0x1'),_0x170d77=>{0x0==this['length']&&(this['fire'](_0x3e01('0x7')),_0x170d77['stop']());}),this['on'](_0x3e01('0x21'),(_0x3001e7,_0x32750b,_0xca4f22)=>{_0xca4f22||this[_0x3e01('0x16')]||_0x539fc8['value']||this[_0x3e01('0x9')](_0x3e01('0x7'));}),_0x31fb9a;}}
23
+ const _0x5b3e=['_config','commentInputView','resolveCommentThread','focus','canComment','placeholder','_localUser','destroy','change:isActive','disabledSubmit','removeComment','CommentView','removeCommentThread','Write\x20a\x20comment...','isResolvable','assign','_createCommentThreadInputView','hasDirtyComment','set','isSubmitted','commentsListView','delegate','element','isActive','Comment','submitLabel','isReadOnly','isDirty','updateComment','editorReady','commentThreadHeaderView','submitCommentThread','length','value','stop','submit','locale','Reply','Reply...','addComment','fire','bind','reopenCommentThread','isResolved','Reply\x20to\x20reopen\x20discussion...','cancel','_model','commentThreadInputView','editorConfig'];(function(_0x342922,_0x5b3e9b){const _0xaef15b=function(_0x36e0cd){while(--_0x36e0cd){_0x342922['push'](_0x342922['shift']());}};_0xaef15b(++_0x5b3e9b);}(_0x5b3e,0x13f));const _0xaef1=function(_0x342922,_0x5b3e9b){_0x342922=_0x342922-0x0;let _0xaef15b=_0x5b3e[_0x342922];return _0xaef15b;};import{View as _0x529d04}from'ckeditor5/src/ui';import _0x40c140 from'./commentthreadinputview';import _0x250499 from'./commentslistview';import _0x21e1af from'./commentthreadheaderview';import{getTranslation as _0x26815c}from'../../../utils/common-translations';export default class Tt extends _0x529d04{constructor(_0x40704d,_0x3355e8,_0xef9a3a,_0x3434f0){super(_0x40704d),this[_0xaef1('0x2a')](_0xaef1('0x2f'),!0x1),this['set'](_0xaef1('0x2'),!0x1),this[_0xaef1('0x15')]=_0x3355e8,this[_0xaef1('0x1e')]=_0xef9a3a,this[_0xaef1('0x18')]=_0x3434f0,this[_0xaef1('0x5')]=new _0x21e1af(_0x40704d,_0x3355e8),this['commentThreadHeaderView'][_0xaef1('0x2d')]('reopenCommentThread')['to'](this),this[_0xaef1('0x2c')]=new _0x250499(_0x40704d,_0x3355e8,Object[_0xaef1('0x27')]({'CommentView':this['_config'][_0xaef1('0x23')]},_0x3434f0)),this[_0xaef1('0x2c')][_0xaef1('0x2d')](_0xaef1('0x22'))['to'](this),this['commentsListView']['delegate'](_0xaef1('0x3'))['to'](this),this[_0xaef1('0x2c')]['delegate'](_0xaef1('0x1a'))['to'](this),this['commentsListView'][_0xaef1('0x2d')](_0xaef1('0x4'))['to'](this),this[_0xaef1('0x2c')][_0xaef1('0x2d')]('editorDestroyed')['to'](this),this[_0xaef1('0x2c')]['bind']('isActive')['to'](this),this['set'](_0xaef1('0x7'),this['commentsListView']['length']),this[_0xaef1('0x10')](_0xaef1('0x7'))['to'](this[_0xaef1('0x2c')],'length'),this[_0xaef1('0x16')]=this['_createCommentThreadInputView'](),this[_0xaef1('0x16')]['delegate'](_0xaef1('0x4'))['to'](this),this[_0xaef1('0x16')][_0xaef1('0x2d')]('editorDestroyed')['to'](this),this['on']('removeComment',()=>this[_0xaef1('0x1b')]()),this[_0xaef1('0x10')]('isDirty')['to'](this[_0xaef1('0x2c')],_0xaef1('0x29'),this[_0xaef1('0x16')][_0xaef1('0x19')],_0xaef1('0x8'),(_0x7d5ff1,_0xbc1187)=>_0x7d5ff1||!!_0xbc1187);}[_0xaef1('0x1b')](){this[_0xaef1('0x2e')]['focus']();}['destroy'](){this[_0xaef1('0x2')]=!0x1,this[_0xaef1('0x2c')][_0xaef1('0x1f')](),this['commentThreadInputView'][_0xaef1('0x1f')](),super[_0xaef1('0x1f')]();}[_0xaef1('0x28')](){const _0x590036=new _0x40c140(this[_0xaef1('0xb')],this[_0xaef1('0x1e')],this[_0xaef1('0x18')][_0xaef1('0x17')]),_0x3fdd42=_0x590036[_0xaef1('0x19')];return _0x590036[_0xaef1('0x10')]('showInput')['to'](this,'isActive',this['_model'],_0xaef1('0x1'),this['_model'],_0xaef1('0x1c'),this[_0xaef1('0x15')],_0xaef1('0x12'),_0x3fdd42,_0xaef1('0x8'),(_0x1463c1,_0x207816,_0x1cc5b1,_0x164d1b,_0x4cf882)=>!!_0x4cf882||_0x164d1b&&_0x1cc5b1&&!_0x207816||_0x1463c1&&_0x1cc5b1&&!_0x207816),_0x3fdd42['bind'](_0xaef1('0x1d'))['to'](this,_0xaef1('0x7'),this[_0xaef1('0x15')],_0xaef1('0x26'),this[_0xaef1('0x15')],_0xaef1('0x12'),(_0x589901,_0x22b690,_0x582894)=>{let _0x1fbb45;return _0x1fbb45=_0x582894&&_0x22b690?_0xaef1('0x13'):_0x589901?_0xaef1('0xd'):_0xaef1('0x25'),_0x26815c(this[_0xaef1('0xb')],_0x1fbb45);}),_0x3fdd42[_0xaef1('0x10')](_0xaef1('0x0'))['to'](this,_0xaef1('0x7'),_0x183159=>_0x26815c(this[_0xaef1('0xb')],_0x183159?_0xaef1('0xc'):_0xaef1('0x30'))),_0x3fdd42['on'](_0xaef1('0xa'),(_0x119012,_0x5a33b0)=>{this[_0xaef1('0xf')](_0xaef1('0xe'),_0x5a33b0),this['_model'][_0xaef1('0x12')]&&this[_0xaef1('0x15')]['isResolvable']&&this['fire'](_0xaef1('0x11'),this[_0xaef1('0x15')]['id']),this['_model'][_0xaef1('0x2b')]||this[_0xaef1('0xf')](_0xaef1('0x6'));}),_0x3fdd42['on']('cancel',()=>{this['focus']();}),_0x3fdd42[_0xaef1('0x10')](_0xaef1('0x21'))['to'](this[_0xaef1('0x15')],_0xaef1('0x1')),_0x3fdd42['on'](_0xaef1('0x14'),_0x172b54=>{0x0==this[_0xaef1('0x7')]&&(this[_0xaef1('0xf')](_0xaef1('0x24')),_0x172b54[_0xaef1('0x9')]());}),this['on'](_0xaef1('0x20'),(_0x550b4b,_0x14a0fe,_0x5ecd23)=>{_0x5ecd23||this[_0xaef1('0x7')]||_0x3fdd42[_0xaef1('0x8')]||this[_0xaef1('0xf')](_0xaef1('0x24'));}),_0x590036;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4fbc=['updateComment','_createCommentContentView','disabledSubmit','delegate','Save','set','content','cancel','focus','editorReady','_model','bind','editorConfig','initialData','visibleView','isReadOnly','locale','isCollapsed','createEditor','remove','add','destroy','value','switchToDisplayMode','fire','createCollection','_config','once','get','submitLabel','isEditMode','editorDestroyed','isSystemComment','submit','collapse','element'];(function(_0x4cdc6a,_0x4fbc67){const _0x561d53=function(_0x4a79d8){while(--_0x4a79d8){_0x4cdc6a['push'](_0x4cdc6a['shift']());}};_0x561d53(++_0x4fbc67);}(_0x4fbc,0x1a7));const _0x561d=function(_0x4cdc6a,_0x4fbc67){_0x4cdc6a=_0x4cdc6a-0x0;let _0x561d53=_0x4fbc[_0x4cdc6a];return _0x561d53;};import{View as _0xfbb41b}from'ckeditor5/src/ui';import{trimHtml as _0x2f8139}from'ckeditor5-collaboration/src/collaboration-core';import _0x3d758d from'./commentcontentview';import _0x1b2d57 from'./commentinputview';import{getTranslation as _0x50319f}from'../../../utils/common-translations';export default class Yt extends _0xfbb41b{constructor(_0x321fe2,_0x3d952f,_0x4767ff){super(_0x321fe2),this[_0x561d('0x13')]=_0x3d952f,this[_0x561d('0x23')]=_0x4767ff,this[_0x561d('0x5')]=!!this['_config']['isSystemComment'],this[_0x561d('0xe')](_0x561d('0x3'),!0x1),this[_0x561d('0xe')](_0x561d('0x1a'),!0x0),this[_0x561d('0x17')]=this[_0x561d('0x22')](),this[_0x561d('0x17')][_0x561d('0x1d')](this['_createCommentContentView']());}['expand'](){this[_0x561d('0x1a')]=!0x1;}[_0x561d('0x7')](){this[_0x561d('0x3')]||(this[_0x561d('0x1a')]=!0x0);}[_0x561d('0x11')](){this[_0x561d('0x8')][_0x561d('0x11')]();}async['destroy'](){await this[_0x561d('0x17')][_0x561d('0x1')](0x0)[_0x561d('0x1e')](),super[_0x561d('0x1e')]();}['switchToEditMode'](){this['isEditMode']||(this[_0x561d('0x3')]=!0x0,this[_0x561d('0x17')][_0x561d('0x1c')](0x0)['destroy'](),this[_0x561d('0x17')][_0x561d('0x1d')](this['_createCommentInputView']()));}[_0x561d('0x20')](){this['isEditMode']&&(this[_0x561d('0x3')]=!0x1,this[_0x561d('0x17')]['remove'](0x0)[_0x561d('0x1e')](),this[_0x561d('0x17')]['add'](this[_0x561d('0xa')]()));}[_0x561d('0xa')](){const _0x66e8cd=new _0x3d758d(this[_0x561d('0x19')]);return _0x66e8cd[_0x561d('0x14')]('content')['to'](this[_0x561d('0x13')],_0x561d('0xf'),this,_0x561d('0x1a'),(_0x51f7f8,_0x50bf0c)=>_0x50bf0c?_0x2f8139(_0x51f7f8,{'limit':this[_0x561d('0x23')]['maxCommentCharsWhenCollapsed']}):_0x51f7f8),_0x66e8cd;}['_createCommentInputView'](){this[_0x561d('0x23')][_0x561d('0x15')]||(this[_0x561d('0x23')]['editorConfig']={}),this[_0x561d('0x23')][_0x561d('0x15')][_0x561d('0x16')]=this[_0x561d('0x13')][_0x561d('0xf')];const _0x365a12=new _0x1b2d57(this[_0x561d('0x19')],this['_config']['editorConfig']);return _0x365a12[_0x561d('0x1f')]=this[_0x561d('0x13')][_0x561d('0xf')],_0x365a12['bind'](_0x561d('0xb'))['to'](this[_0x561d('0x13')],_0x561d('0x18')),_0x365a12[_0x561d('0x2')]=_0x50319f(this[_0x561d('0x19')],_0x561d('0xd')),_0x365a12['on'](_0x561d('0x6'),(_0x2b9095,_0x4ca155)=>{this[_0x561d('0x21')](_0x561d('0x9'),this['_model']['id'],_0x4ca155),this['switchToDisplayMode'](),this[_0x561d('0x11')]();}),_0x365a12['on'](_0x561d('0x10'),()=>{this['switchToDisplayMode'](),this[_0x561d('0x11')]();}),_0x365a12[_0x561d('0x0')](_0x561d('0x12'),()=>{_0x365a12['focus']();}),_0x365a12[_0x561d('0x1b')](),_0x365a12['delegate'](_0x561d('0x12'))['to'](this),_0x365a12[_0x561d('0xc')](_0x561d('0x4'))['to'](this),_0x365a12;}}
23
+ const _0xa6f0=['focus','value','delegate','set','add','expand','editorConfig','Save','createCollection','_createCommentInputView','content','remove','locale','maxCommentCharsWhenCollapsed','isReadOnly','updateComment','disabledSubmit','bind','visibleView','_createCommentContentView','isEditMode','_model','editorReady','switchToEditMode','collapse','destroy','submit','isCollapsed','_config','switchToDisplayMode','once','element','submitLabel','fire','isSystemComment','createEditor'];(function(_0x1ca3ec,_0xa6f0c){const _0x45466d=function(_0x87dc9){while(--_0x87dc9){_0x1ca3ec['push'](_0x1ca3ec['shift']());}};_0x45466d(++_0xa6f0c);}(_0xa6f0,0xdc));const _0x4546=function(_0x1ca3ec,_0xa6f0c){_0x1ca3ec=_0x1ca3ec-0x0;let _0x45466d=_0xa6f0[_0x1ca3ec];return _0x45466d;};import{View as _0x37fd50}from'ckeditor5/src/ui';import{trimHtml as _0x18cf4c}from'ckeditor5-collaboration/src/collaboration-core';import _0x3c22b2 from'./commentcontentview';import _0x19b862 from'./commentinputview';import{getTranslation as _0x527954}from'../../../utils/common-translations';export default class Yt extends _0x37fd50{constructor(_0x1b29e4,_0x40be58,_0x575f0f){super(_0x1b29e4),this[_0x4546('0x11')]=_0x40be58,this[_0x4546('0x18')]=_0x575f0f,this[_0x4546('0x1e')]=!!this[_0x4546('0x18')][_0x4546('0x1e')],this[_0x4546('0x23')](_0x4546('0x10'),!0x1),this['set'](_0x4546('0x17'),!0x0),this[_0x4546('0xe')]=this[_0x4546('0x4')](),this['visibleView'][_0x4546('0x0')](this[_0x4546('0xf')]());}[_0x4546('0x1')](){this[_0x4546('0x17')]=!0x1;}[_0x4546('0x14')](){this[_0x4546('0x10')]||(this['isCollapsed']=!0x0);}['focus'](){this[_0x4546('0x1b')][_0x4546('0x20')]();}async[_0x4546('0x15')](){await this['visibleView']['get'](0x0)[_0x4546('0x15')](),super[_0x4546('0x15')]();}[_0x4546('0x13')](){this[_0x4546('0x10')]||(this[_0x4546('0x10')]=!0x0,this[_0x4546('0xe')][_0x4546('0x7')](0x0)[_0x4546('0x15')](),this['visibleView'][_0x4546('0x0')](this[_0x4546('0x5')]()));}[_0x4546('0x19')](){this['isEditMode']&&(this[_0x4546('0x10')]=!0x1,this[_0x4546('0xe')]['remove'](0x0)[_0x4546('0x15')](),this['visibleView']['add'](this['_createCommentContentView']()));}[_0x4546('0xf')](){const _0x19f915=new _0x3c22b2(this[_0x4546('0x8')]);return _0x19f915[_0x4546('0xd')](_0x4546('0x6'))['to'](this[_0x4546('0x11')],_0x4546('0x6'),this,_0x4546('0x17'),(_0xb3714,_0xe9222d)=>_0xe9222d?_0x18cf4c(_0xb3714,{'limit':this['_config'][_0x4546('0x9')]}):_0xb3714),_0x19f915;}['_createCommentInputView'](){this[_0x4546('0x18')][_0x4546('0x2')]||(this[_0x4546('0x18')]['editorConfig']={}),this[_0x4546('0x18')][_0x4546('0x2')]['initialData']=this[_0x4546('0x11')][_0x4546('0x6')];const _0x117eed=new _0x19b862(this[_0x4546('0x8')],this[_0x4546('0x18')][_0x4546('0x2')]);return _0x117eed[_0x4546('0x21')]=this[_0x4546('0x11')][_0x4546('0x6')],_0x117eed['bind'](_0x4546('0xc'))['to'](this['_model'],_0x4546('0xa')),_0x117eed[_0x4546('0x1c')]=_0x527954(this[_0x4546('0x8')],_0x4546('0x3')),_0x117eed['on'](_0x4546('0x16'),(_0x3c8b18,_0x19325a)=>{this[_0x4546('0x1d')](_0x4546('0xb'),this[_0x4546('0x11')]['id'],_0x19325a),this[_0x4546('0x19')](),this[_0x4546('0x20')]();}),_0x117eed['on']('cancel',()=>{this['switchToDisplayMode'](),this[_0x4546('0x20')]();}),_0x117eed[_0x4546('0x1a')](_0x4546('0x12'),()=>{_0x117eed['focus']();}),_0x117eed[_0x4546('0x1f')](),_0x117eed[_0x4546('0x22')]('editorReady')['to'](this),_0x117eed[_0x4546('0x22')]('editorDestroyed')['to'](this),_0x117eed;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x33c7=['ck-thread__comment-count','set','count','bindTemplate','setTemplate'];(function(_0x2425dd,_0x33c724){const _0x36a746=function(_0x46a647){while(--_0x46a647){_0x2425dd['push'](_0x2425dd['shift']());}};_0x36a746(++_0x33c724);}(_0x33c7,0xfb));const _0x36a7=function(_0x2425dd,_0x33c724){_0x2425dd=_0x2425dd-0x0;let _0x36a746=_0x33c7[_0x2425dd];return _0x36a746;};import{View as _0x4e2681}from'ckeditor5/src/ui';import{getTranslation as _0x5ab2b0}from'../../../utils/common-translations';export default class Zt extends _0x4e2681{constructor(_0x124964){super(_0x124964);const _0x3a6549=this[_0x36a7('0x2')];this[_0x36a7('0x0')](_0x36a7('0x1'),void 0x0),this[_0x36a7('0x3')]({'tag':'li','attributes':{'class':_0x36a7('0x4')},'children':[{'text':_0x3a6549['to']('count',_0x2f2f05=>_0x5ab2b0(_0x124964,'NUMBER_OF_COMMENTS',_0x2f2f05))}]});}}
23
+ const _0x2c03=['count','bindTemplate','NUMBER_OF_COMMENTS'];(function(_0xf46505,_0x2c0395){const _0x291af9=function(_0x243f70){while(--_0x243f70){_0xf46505['push'](_0xf46505['shift']());}};_0x291af9(++_0x2c0395);}(_0x2c03,0xa4));const _0x291a=function(_0xf46505,_0x2c0395){_0xf46505=_0xf46505-0x0;let _0x291af9=_0x2c03[_0xf46505];return _0x291af9;};import{View as _0x3fff25}from'ckeditor5/src/ui';import{getTranslation as _0x52fc52}from'../../../utils/common-translations';export default class Zt extends _0x3fff25{constructor(_0xb5589){super(_0xb5589);const _0x5e2349=this[_0x291a('0x2')];this['set'](_0x291a('0x1'),void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x5e2349['to'](_0x291a('0x1'),_0x15baf2=>_0x52fc52(_0xb5589,_0x291a('0x0'),_0x15baf2))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x490f=['set','innerHTML','div','element','render','ck-annotation__content','change:content','setTemplate','content'];(function(_0x437690,_0x490f04){var _0x21dbc1=function(_0x571575){while(--_0x571575){_0x437690['push'](_0x437690['shift']());}};_0x21dbc1(++_0x490f04);}(_0x490f,0x17f));var _0x21db=function(_0x437690,_0x490f04){_0x437690=_0x437690-0x0;var _0x21dbc1=_0x490f[_0x437690];return _0x21dbc1;};import{View as _0x41e705}from'ckeditor5/src/ui';export default class Ut extends _0x41e705{constructor(_0x5bf20e){super(_0x5bf20e),this[_0x21db('0x4')](_0x21db('0x3'),''),this[_0x21db('0x2')]({'tag':_0x21db('0x6'),'attributes':{'class':['ck-comment__content',_0x21db('0x0')]}});}[_0x21db('0x8')](){super['render'](),this['on'](_0x21db('0x1'),(_0x4f993f,_0x56b854,_0x5aa550)=>{this['element'][_0x21db('0x5')]=_0x5aa550;}),this[_0x21db('0x7')][_0x21db('0x5')]=this[_0x21db('0x3')];}}
23
+ var _0x4ae3=['element','innerHTML','div','ck-comment__content','setTemplate','content'];(function(_0x46ac99,_0x4ae32a){var _0x240b65=function(_0x137689){while(--_0x137689){_0x46ac99['push'](_0x46ac99['shift']());}};_0x240b65(++_0x4ae32a);}(_0x4ae3,0x18d));var _0x240b=function(_0x46ac99,_0x4ae32a){_0x46ac99=_0x46ac99-0x0;var _0x240b65=_0x4ae3[_0x46ac99];return _0x240b65;};import{View as _0x2bf000}from'ckeditor5/src/ui';export default class Ut extends _0x2bf000{constructor(_0x49d435){super(_0x49d435),this['set'](_0x240b('0x4'),''),this[_0x240b('0x3')]({'tag':_0x240b('0x1'),'attributes':{'class':[_0x240b('0x2'),'ck-annotation__content']}});}['render'](){super['render'](),this['on']('change:content',(_0x54ed03,_0x51fdc6,_0x410ff3)=>{this['element'][_0x240b('0x0')]=_0x410ff3;}),this[_0x240b('0x5')][_0x240b('0x0')]=this[_0x240b('0x4')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x412d=['element','initialData','editorReady','submitLabel','bind','value','focusNext','create','add','placeholder','Esc','forEach','low','showButtons','view','cancelButtonView','shift\x20+\x20tab','_createSubmitButton','cancel','tab','stop','execute','TOO_LONG_COMMENT_ALERT','label','setData','disabledSubmit','model','withText','Reply','ck-comment__input-actions--active','editor','_isDestroyed','createEditor','focus','bindTemplate','focusTracker','_initializeFocusCycling','length','_editorConfig','fire','then','ck-comment__input-actions','keystrokes','ck-comment__input-wrapper','change','render','ck-comment__input-actions--cancel','listenTo','Cancel','_editorCreationPromise','set','extendTemplate','document','_createCancelButton','high','destroy','submit','insertBefore','submitButtonView'];(function(_0x393a79,_0x412d4d){const _0x1818ba=function(_0x14b817){while(--_0x14b817){_0x393a79['push'](_0x393a79['shift']());}};_0x1818ba(++_0x412d4d);}(_0x412d,0x154));const _0x1818=function(_0x393a79,_0x412d4d){_0x393a79=_0x393a79-0x0;let _0x1818ba=_0x412d[_0x393a79];return _0x1818ba;};import{View as _0x4de88d,ViewCollection as _0x414954,FocusCycler as _0x5b6754,ButtonView as _0x1a2110}from'ckeditor5/src/ui';import{FocusTracker as _0x2d1691,KeystrokeHandler as _0x1477b7}from'ckeditor5/src/utils';import _0x48b217 from'../commenteditor/commenteditor';import{getTranslation as _0x3400bd}from'../../../utils/common-translations';export default class Xt extends _0x4de88d{constructor(_0x8898ef,_0x29ad9b={}){super(_0x8898ef),this['editor']=null,this[_0x1818('0x34')]=_0x29ad9b,this[_0x1818('0x38')]=new _0x1477b7(),this[_0x1818('0x31')]=new _0x2d1691(),this[_0x1818('0x5')](_0x1818('0x13'),_0x29ad9b[_0x1818('0xf')]||''),this[_0x1818('0x5')]('disabledSubmit',!0x1),this[_0x1818('0x5')](_0x1818('0x1b'),!0x0),this[_0x1818('0x5')](_0x1818('0x17'),_0x3400bd(_0x8898ef,'Reply...')),this['set'](_0x1818('0x11'),_0x3400bd(_0x8898ef,_0x1818('0x2a'))),this[_0x1818('0xd')]=this[_0x1818('0x1f')](),this[_0x1818('0x1d')]=this[_0x1818('0x8')](),this['setTemplate']({'tag':'div','attributes':{'class':[_0x1818('0x39')]},'children':[{'tag':'div','attributes':{'class':[_0x1818('0x37'),this[_0x1818('0x30')]['if']('showButtons',_0x1818('0x2b'))]},'children':[this[_0x1818('0xd')],this[_0x1818('0x1d')]]}]}),this['keystrokes'][_0x1818('0x5')](_0x1818('0x18'),(_0x53f271,_0x350ccf)=>{this['cancelButtonView'][_0x1818('0x35')](_0x1818('0x23')),_0x350ccf();}),this['on'](_0x1818('0xb'),(_0x147937,_0x117ba9)=>{_0x117ba9[_0x1818('0x33')]>0xfde8?(alert(_0x3400bd(_0x8898ef,_0x1818('0x24'),[_0x117ba9['length'],0xfde8])),_0x147937[_0x1818('0x22')]()):this[_0x1818('0x2c')]['setData']('');},{'priority':_0x1818('0x9')});}[_0x1818('0x0')](){super[_0x1818('0x0')](),this[_0x1818('0x38')][_0x1818('0x2')](this[_0x1818('0xe')]),this[_0x1818('0x31')][_0x1818('0x16')](this['element']);}[_0x1818('0x2e')](){return this['editor']||(this[_0x1818('0x2c')]=new _0x48b217(this[_0x1818('0x34')]),this[_0x1818('0x4')]=this[_0x1818('0x2c')][_0x1818('0x15')]()[_0x1818('0x36')](()=>{if(this[_0x1818('0x2d')])return;const _0x37e44d=this[_0x1818('0x2c')];this[_0x1818('0xe')][_0x1818('0xc')](_0x37e44d['ui']['element'],this[_0x1818('0xe')]['firstChild']),_0x37e44d[_0x1818('0x28')][_0x1818('0x7')]['on'](_0x1818('0x3a'),()=>this[_0x1818('0x13')]=_0x37e44d['getData']()),_0x37e44d[_0x1818('0x12')](_0x1818('0x17'))['to'](this),this[_0x1818('0x32')](this['editor']),this[_0x1818('0x35')](_0x1818('0x10'),this[_0x1818('0x2c')]);})),this[_0x1818('0x4')];}[_0x1818('0x2f')](){this[_0x1818('0x2c')]&&this[_0x1818('0x2c')][_0x1818('0x2f')]();}async[_0x1818('0xa')](){this[_0x1818('0x2d')]||(this[_0x1818('0x2d')]=!0x0,this[_0x1818('0x2c')]&&(await this[_0x1818('0x4')],await this[_0x1818('0x2c')]['destroy'](),this['fire']('editorDestroyed',this[_0x1818('0x2c')])),await super[_0x1818('0xa')]());}['_createSubmitButton'](){const {locale:_0x1f1f91}=this,_0x363a12=new _0x1a2110(_0x1f1f91);return _0x363a12[_0x1818('0x6')]({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x363a12[_0x1818('0x29')]=!0x0,_0x363a12['bind'](_0x1818('0x25'))['to'](this,_0x1818('0x11')),_0x363a12['on'](_0x1818('0x23'),()=>{this[_0x1818('0x35')]('submit',this[_0x1818('0x13')]);}),_0x363a12[_0x1818('0x12')]('isEnabled')['to'](this,_0x1818('0x13'),this,_0x1818('0x27'),(_0x5d71cc,_0x3e1291)=>!_0x3e1291&&!!_0x5d71cc['trim']()),_0x363a12;}[_0x1818('0x8')](){const {locale:_0x5bb01e}=this,_0x4baa6b=new _0x1a2110(_0x5bb01e);return _0x4baa6b[_0x1818('0x6')]({'attributes':{'class':[_0x1818('0x1')]}}),_0x4baa6b[_0x1818('0x25')]=_0x3400bd(_0x5bb01e,_0x1818('0x3')),_0x4baa6b[_0x1818('0x29')]=!0x0,_0x4baa6b['on'](_0x1818('0x23'),()=>{this[_0x1818('0x2c')][_0x1818('0x26')](''),this[_0x1818('0x35')](_0x1818('0x20'));}),_0x4baa6b;}[_0x1818('0x32')](_0x8af469){const _0x2c8eb7=this[_0x1818('0x31')],_0x31c94f=new _0x414954();[_0x8af469['ui'][_0x1818('0x1c')],this[_0x1818('0xd')],this[_0x1818('0x1d')]][_0x1818('0x19')](_0x39219b=>{_0x31c94f[_0x1818('0x16')](_0x39219b),_0x2c8eb7[_0x1818('0x16')](_0x39219b[_0x1818('0xe')]);});const _0x5d9de2=new _0x5b6754({'focusables':_0x31c94f,'focusTracker':_0x2c8eb7});this[_0x1818('0x38')][_0x1818('0x5')](_0x1818('0x21'),(_0x1d6e46,_0x1082e5)=>{_0x5d9de2[_0x1818('0x14')](),_0x1082e5();},{'priority':'low'}),this[_0x1818('0x38')][_0x1818('0x5')](_0x1818('0x1e'),(_0x3f39ef,_0x30dbd5)=>{_0x5d9de2['focusPrevious'](),_0x30dbd5();},{'priority':_0x1818('0x1a')});}}
23
+ const _0x25fa=['_editorConfig','execute','cancel','render','editor','_createSubmitButton','focusTracker','submitButtonView','forEach','stop','listenTo','div','destroy','cancelButtonView','fire','_createCancelButton','document','view','bindTemplate','shift\x20+\x20tab','tab','editorDestroyed','extendTemplate','withText','Cancel','change','element','ck-comment__input-wrapper','model','Reply...','set','setData','ck-comment__input-actions--cancel','focus','_isDestroyed','showButtons','placeholder','value','Reply','low','ck-comment__input-actions--submit','length','ck-comment__input-actions--active','_initializeFocusCycling','getData','focusPrevious','add','initialData','label','trim','isEnabled','disabledSubmit','create','insertBefore','_editorCreationPromise','submit','keystrokes','high','ck-comment__input-actions','bind','submitLabel','TOO_LONG_COMMENT_ALERT'];(function(_0x13eecb,_0x25fa4d){const _0x3c555e=function(_0x1bfa2a){while(--_0x1bfa2a){_0x13eecb['push'](_0x13eecb['shift']());}};_0x3c555e(++_0x25fa4d);}(_0x25fa,0xb7));const _0x3c55=function(_0x13eecb,_0x25fa4d){_0x13eecb=_0x13eecb-0x0;let _0x3c555e=_0x25fa[_0x13eecb];return _0x3c555e;};import{View as _0x434099,ViewCollection as _0x491640,FocusCycler as _0x87ba68,ButtonView as _0x379577}from'ckeditor5/src/ui';import{FocusTracker as _0x52979a,KeystrokeHandler as _0x17b2e7}from'ckeditor5/src/utils';import _0xfa9d58 from'../commenteditor/commenteditor';import{getTranslation as _0x1a514f}from'../../../utils/common-translations';export default class Xt extends _0x434099{constructor(_0x5c5dc0,_0x3c5271={}){super(_0x5c5dc0),this[_0x3c55('0x7')]=null,this[_0x3c55('0x3')]=_0x3c5271,this[_0x3c55('0x3b')]=new _0x17b2e7(),this[_0x3c55('0x9')]=new _0x52979a(),this['set'](_0x3c55('0x28'),_0x3c5271[_0x3c55('0x32')]||''),this[_0x3c55('0x21')](_0x3c55('0x36'),!0x1),this[_0x3c55('0x21')](_0x3c55('0x26'),!0x0),this[_0x3c55('0x21')](_0x3c55('0x27'),_0x1a514f(_0x5c5dc0,_0x3c55('0x20'))),this['set'](_0x3c55('0x1'),_0x1a514f(_0x5c5dc0,_0x3c55('0x29'))),this[_0x3c55('0xa')]=this[_0x3c55('0x8')](),this['cancelButtonView']=this['_createCancelButton'](),this['setTemplate']({'tag':_0x3c55('0xe'),'attributes':{'class':[_0x3c55('0x1e')]},'children':[{'tag':_0x3c55('0xe'),'attributes':{'class':[_0x3c55('0x3d'),this[_0x3c55('0x15')]['if'](_0x3c55('0x26'),_0x3c55('0x2d'))]},'children':[this['submitButtonView'],this[_0x3c55('0x10')]]}]}),this[_0x3c55('0x3b')][_0x3c55('0x21')]('Esc',(_0xe5421,_0x1dc140)=>{this[_0x3c55('0x10')]['fire'](_0x3c55('0x4')),_0x1dc140();}),this['on'](_0x3c55('0x3a'),(_0x58a982,_0x9b8565)=>{_0x9b8565[_0x3c55('0x2c')]>0xfde8?(alert(_0x1a514f(_0x5c5dc0,_0x3c55('0x2'),[_0x9b8565['length'],0xfde8])),_0x58a982[_0x3c55('0xc')]()):this[_0x3c55('0x7')][_0x3c55('0x22')]('');},{'priority':_0x3c55('0x3c')});}[_0x3c55('0x6')](){super[_0x3c55('0x6')](),this[_0x3c55('0x3b')][_0x3c55('0xd')](this[_0x3c55('0x1d')]),this[_0x3c55('0x9')][_0x3c55('0x31')](this[_0x3c55('0x1d')]);}['createEditor'](){return this['editor']||(this[_0x3c55('0x7')]=new _0xfa9d58(this['_editorConfig']),this[_0x3c55('0x39')]=this[_0x3c55('0x7')][_0x3c55('0x37')]()['then'](()=>{if(this[_0x3c55('0x25')])return;const _0x3d027d=this[_0x3c55('0x7')];this[_0x3c55('0x1d')][_0x3c55('0x38')](_0x3d027d['ui'][_0x3c55('0x1d')],this[_0x3c55('0x1d')]['firstChild']),_0x3d027d[_0x3c55('0x1f')][_0x3c55('0x13')]['on'](_0x3c55('0x1c'),()=>this['value']=_0x3d027d[_0x3c55('0x2f')]()),_0x3d027d[_0x3c55('0x0')](_0x3c55('0x27'))['to'](this),this['_initializeFocusCycling'](this[_0x3c55('0x7')]),this['fire']('editorReady',this['editor']);})),this['_editorCreationPromise'];}['focus'](){this[_0x3c55('0x7')]&&this[_0x3c55('0x7')][_0x3c55('0x24')]();}async['destroy'](){this[_0x3c55('0x25')]||(this[_0x3c55('0x25')]=!0x0,this[_0x3c55('0x7')]&&(await this['_editorCreationPromise'],await this[_0x3c55('0x7')]['destroy'](),this['fire'](_0x3c55('0x18'),this['editor'])),await super[_0x3c55('0xf')]());}[_0x3c55('0x8')](){const {locale:_0x5779fc}=this,_0x5792b4=new _0x379577(_0x5779fc);return _0x5792b4[_0x3c55('0x19')]({'attributes':{'class':[_0x3c55('0x2b')]}}),_0x5792b4['withText']=!0x0,_0x5792b4['bind'](_0x3c55('0x33'))['to'](this,_0x3c55('0x1')),_0x5792b4['on'](_0x3c55('0x4'),()=>{this[_0x3c55('0x11')]('submit',this[_0x3c55('0x28')]);}),_0x5792b4['bind'](_0x3c55('0x35'))['to'](this,'value',this,_0x3c55('0x36'),(_0x5ea0a3,_0x16b9c3)=>!_0x16b9c3&&!!_0x5ea0a3[_0x3c55('0x34')]()),_0x5792b4;}[_0x3c55('0x12')](){const {locale:_0x46ef3d}=this,_0xe5742f=new _0x379577(_0x46ef3d);return _0xe5742f['extendTemplate']({'attributes':{'class':[_0x3c55('0x23')]}}),_0xe5742f['label']=_0x1a514f(_0x46ef3d,_0x3c55('0x1b')),_0xe5742f[_0x3c55('0x1a')]=!0x0,_0xe5742f['on'](_0x3c55('0x4'),()=>{this[_0x3c55('0x7')][_0x3c55('0x22')](''),this[_0x3c55('0x11')](_0x3c55('0x5'));}),_0xe5742f;}[_0x3c55('0x2e')](_0x3699a6){const _0x45e276=this[_0x3c55('0x9')],_0xd2dfd5=new _0x491640();[_0x3699a6['ui'][_0x3c55('0x14')],this[_0x3c55('0xa')],this[_0x3c55('0x10')]][_0x3c55('0xb')](_0x1f0057=>{_0xd2dfd5[_0x3c55('0x31')](_0x1f0057),_0x45e276[_0x3c55('0x31')](_0x1f0057['element']);});const _0x1c3f79=new _0x87ba68({'focusables':_0xd2dfd5,'focusTracker':_0x45e276});this[_0x3c55('0x3b')]['set'](_0x3c55('0x17'),(_0x2cf774,_0x5435ae)=>{_0x1c3f79['focusNext'](),_0x5435ae();},{'priority':_0x3c55('0x2a')}),this[_0x3c55('0x3b')]['set'](_0x3c55('0x16'),(_0x16a1c6,_0xbb2986)=>{_0x1c3f79[_0x3c55('0x30')](),_0xbb2986();},{'priority':'low'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53b9=['_focusables','EMPTY_COMMENTS_ARCHIVE','_focusCycler','COMMENTS_ARCHIVE','shift\x20+\x20tab','listenTo','high','setTemplate','_focusTracker','_keystrokes','div','remove','bindTemplate','element','isActive','arrowright','length','isEmpty','tab','destroy','render','stopPropagation','set','focus','ck-hidden','ck-comments-archive__info','ck-comments-archive'];(function(_0x41e3c9,_0x53b92e){const _0x48025e=function(_0x4df88d){while(--_0x4df88d){_0x41e3c9['push'](_0x41e3c9['shift']());}};_0x48025e(++_0x53b92e);}(_0x53b9,0x179));const _0x4802=function(_0x41e3c9,_0x53b92e){_0x41e3c9=_0x41e3c9-0x0;let _0x48025e=_0x53b9[_0x41e3c9];return _0x48025e;};import{View as _0x2fac6d,FocusCycler as _0xe54f05}from'ckeditor5/src/ui';import{FocusTracker as _0x54d677,KeystrokeHandler as _0x495e59}from'ckeditor5/src/utils';import{getTranslation as _0x3d2b8b}from'../../../utils/common-translations';export default class K extends _0x2fac6d{constructor(_0xa8cbf,_0x2f1c39){super(_0xa8cbf),this[_0x4802('0x17')](_0x4802('0x12'),!_0x2f1c39[_0x4802('0x11')]),this['_focusTracker']=new _0x54d677(),this[_0x4802('0xa')]=new _0x495e59(),this[_0x4802('0x1')]=_0x2f1c39,this[_0x4802('0x3')]=new _0xe54f05({'focusables':this[_0x4802('0x1')],'focusTracker':this['_focusTracker'],'keystrokeHandler':this[_0x4802('0xa')],'actions':{'focusPrevious':_0x4802('0x5'),'focusNext':_0x4802('0x13')}}),this[_0x4802('0x6')](_0x2f1c39,'add',()=>{this[_0x4802('0x12')]=!0x1;}),this[_0x4802('0x6')](_0x2f1c39,_0x4802('0xc'),(_0x595a18,_0x582cf8)=>{_0x582cf8[_0x4802('0xf')]&&this[_0x4802('0x18')](),_0x2f1c39['length']||(this['isEmpty']=!0x0);});const _0x61be71=this[_0x4802('0xd')];this[_0x4802('0x8')]({'tag':'div','attributes':{'dir':'auto','class':['ck',_0x4802('0x0')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':['ck-comments-archive__header\x20']},'children':[{'text':_0x3d2b8b(_0xa8cbf,_0x4802('0x4'))}]},{'tag':_0x4802('0xb'),'attributes':{'class':['ck-comments-archive__content']},'children':[{'tag':'div','children':_0x2f1c39},{'tag':'p','attributes':{'class':[_0x4802('0x1a'),_0x61be71['if'](_0x4802('0x12'),_0x4802('0x19'),_0x156ef5=>!_0x156ef5)]},'children':[{'text':_0x3d2b8b(_0xa8cbf,_0x4802('0x2'))}]}]}]});}[_0x4802('0x15')](){super[_0x4802('0x15')](),this[_0x4802('0xa')][_0x4802('0x6')](this[_0x4802('0xe')]);const _0x246934=_0x5f3bfe=>_0x5f3bfe[_0x4802('0x16')]();this[_0x4802('0xa')][_0x4802('0x17')](_0x4802('0x10'),_0x246934),this['_keystrokes'][_0x4802('0x17')]('arrowleft',_0x246934),this[_0x4802('0xa')][_0x4802('0x17')]('arrowup',_0x246934),this[_0x4802('0xa')]['set']('arrowdown',_0x246934),this[_0x4802('0x6')](this[_0x4802('0xe')],'selectstart',(_0x4cfa25,_0x58c835)=>{_0x58c835[_0x4802('0x16')]();},{'priority':_0x4802('0x7')});}['destroy'](){super[_0x4802('0x14')](),this[_0x4802('0x9')][_0x4802('0x14')](),this['_keystrokes'][_0x4802('0x14')]();}[_0x4802('0x18')](){this['element'][_0x4802('0x18')]();}}
23
+ const _0x1bfa=['ck-comments-archive__info','arrowup','_keystrokes','destroy','high','selectstart','ck-comments-archive__content','remove','setTemplate','isEmpty','_focusCycler','element','stopPropagation','auto','render','add','arrowleft','div','ck-comments-archive__header\x20','isActive','COMMENTS_ARCHIVE','_focusTracker','ck-comments-archive','listenTo','_focusables','arrowdown','length','focus','EMPTY_COMMENTS_ARCHIVE','ck-hidden','set','shift\x20+\x20tab'];(function(_0x565c55,_0x1bfa5e){const _0x4eff23=function(_0x4b939f){while(--_0x4b939f){_0x565c55['push'](_0x565c55['shift']());}};_0x4eff23(++_0x1bfa5e);}(_0x1bfa,0x1cf));const _0x4eff=function(_0x565c55,_0x1bfa5e){_0x565c55=_0x565c55-0x0;let _0x4eff23=_0x1bfa[_0x565c55];return _0x4eff23;};import{View as _0x35dbc7,FocusCycler as _0x2f6afb}from'ckeditor5/src/ui';import{FocusTracker as _0xbf67a9,KeystrokeHandler as _0x5d46c6}from'ckeditor5/src/utils';import{getTranslation as _0x2f4382}from'../../../utils/common-translations';export default class K extends _0x35dbc7{constructor(_0x1e6ba4,_0x342072){super(_0x1e6ba4),this[_0x4eff('0xf')](_0x4eff('0x1a'),!_0x342072[_0x4eff('0xb')]),this[_0x4eff('0x6')]=new _0xbf67a9(),this[_0x4eff('0x13')]=new _0x5d46c6(),this[_0x4eff('0x9')]=_0x342072,this[_0x4eff('0x1b')]=new _0x2f6afb({'focusables':this[_0x4eff('0x9')],'focusTracker':this['_focusTracker'],'keystrokeHandler':this[_0x4eff('0x13')],'actions':{'focusPrevious':_0x4eff('0x10'),'focusNext':'tab'}}),this[_0x4eff('0x8')](_0x342072,_0x4eff('0x0'),()=>{this[_0x4eff('0x1a')]=!0x1;}),this[_0x4eff('0x8')](_0x342072,_0x4eff('0x18'),(_0x4fc6aa,_0x4f1bcd)=>{_0x4f1bcd[_0x4eff('0x4')]&&this[_0x4eff('0xc')](),_0x342072['length']||(this[_0x4eff('0x1a')]=!0x0);});const _0x4d0de0=this['bindTemplate'];this[_0x4eff('0x19')]({'tag':_0x4eff('0x2'),'attributes':{'dir':_0x4eff('0x1e'),'class':['ck',_0x4eff('0x7')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x4eff('0x3')]},'children':[{'text':_0x2f4382(_0x1e6ba4,_0x4eff('0x5'))}]},{'tag':_0x4eff('0x2'),'attributes':{'class':[_0x4eff('0x17')]},'children':[{'tag':_0x4eff('0x2'),'children':_0x342072},{'tag':'p','attributes':{'class':[_0x4eff('0x11'),_0x4d0de0['if']('isEmpty',_0x4eff('0xe'),_0x5c3d55=>!_0x5c3d55)]},'children':[{'text':_0x2f4382(_0x1e6ba4,_0x4eff('0xd'))}]}]}]});}[_0x4eff('0x1f')](){super[_0x4eff('0x1f')](),this[_0x4eff('0x13')]['listenTo'](this[_0x4eff('0x1c')]);const _0x501dcf=_0x10145a=>_0x10145a['stopPropagation']();this[_0x4eff('0x13')]['set']('arrowright',_0x501dcf),this[_0x4eff('0x13')]['set'](_0x4eff('0x1'),_0x501dcf),this[_0x4eff('0x13')][_0x4eff('0xf')](_0x4eff('0x12'),_0x501dcf),this['_keystrokes'][_0x4eff('0xf')](_0x4eff('0xa'),_0x501dcf),this['listenTo'](this['element'],_0x4eff('0x16'),(_0x1200e1,_0x115b76)=>{_0x115b76[_0x4eff('0x1d')]();},{'priority':_0x4eff('0x15')});}[_0x4eff('0x14')](){super['destroy'](),this['_focusTracker'][_0x4eff('0x14')](),this[_0x4eff('0x13')][_0x4eff('0x14')]();}['focus'](){this[_0x4eff('0x1c')]['focus']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42e2=['CommentView','comments','from','maxCommentsWhenCollapsed','destroy','equal','change:isActive','hasDirtyComment','removeComment','collapse','bind','commentViews','_rearrangeExpand','change:isEditMode','_rearrangeCollapse','authoredAt','ck-thread__comments','_findOptimalIndex','expand','_collapsedCommentsView','visibleViews','resolvedCommentView','maxThreadTotalWeight','_config','_shouldCollapse','_model','set','editorDestroyed','resolvedBy','listenTo','_updateHasDirtyComment','isActive','weight','isEditMode','locale','render','viewUid','Marked\x20as\x20resolved','_handleNewCommentModel','length','get','delete','refreshVisibleViews','setTemplate','element','delegate','maxCommentCharsWhenCollapsed','resolveCommentThread','_calculatePosition','_handleInfoComment','insert','remove','editorReady','focus','editorConfig','updateComment','add','_handleRemoveCommentModel'];(function(_0x47923c,_0x42e25f){const _0x28750b=function(_0x3aaeab){while(--_0x3aaeab){_0x47923c['push'](_0x47923c['shift']());}};_0x28750b(++_0x42e25f);}(_0x42e2,0x190));const _0x2875=function(_0x47923c,_0x42e25f){_0x47923c=_0x47923c-0x0;let _0x28750b=_0x42e2[_0x47923c];return _0x28750b;};import{View as _0x398ff0}from'ckeditor5/src/ui';import{diff as _0x26312f,Collection as _0x53e573}from'ckeditor5/src/utils';import{getTranslation as _0x5c8cdb}from'../../../utils/common-translations';import _0x56d115 from'./collapsedcommentsview';export default class wt extends _0x398ff0{constructor(_0x30a934,_0x50fedc,_0x30fd06){super(_0x30a934),this[_0x2875('0x20')](_0x2875('0xd'),!0x1),this[_0x2875('0x20')](_0x2875('0x2d'),_0x50fedc[_0x2875('0x7')][_0x2875('0x2d')]),this[_0x2875('0x20')](_0x2875('0x25'),!0x1),this[_0x2875('0x1f')]=_0x50fedc,this['_config']=_0x30fd06,this['commentViews']=this['createCollection'](),this[_0x2875('0x1a')]=this['createCollection'](),this['resolvedCommentView']=null,this[_0x2875('0x19')]=new _0x56d115(_0x30a934),this['_collapsedCommentsView'][_0x2875('0x10')]('count')['to'](this,_0x2875('0x2d'),_0x20d11f=>_0x20d11f-this[_0x2875('0x1d')][_0x2875('0x9')]);for(const _0x1757a4 of _0x50fedc[_0x2875('0x7')])this['_handleNewCommentModel'](_0x1757a4);this['_handleInfoComment'](),this[_0x2875('0x23')](_0x50fedc[_0x2875('0x7')],'add',(_0x2f63c8,_0x2a1cdf)=>{const _0x1bacfc=this[_0x2875('0x36')](_0x2a1cdf);this[_0x2875('0x2d')]++,this[_0x2875('0x2c')](_0x2a1cdf,_0x1bacfc),this[_0x2875('0x30')]();}),this[_0x2875('0x23')](_0x50fedc[_0x2875('0x7')],_0x2875('0x39'),(_0xe6d2f7,_0x1287a1)=>{this['length']--,this[_0x2875('0x5')](_0x1287a1),this['refreshVisibleViews']();}),this['listenTo'](_0x50fedc,'commentUpdated',()=>this[_0x2875('0x30')]()),this['listenTo'](_0x50fedc,'change:isResolved',()=>this[_0x2875('0x37')]()),this['on'](_0x2875('0xc'),()=>this[_0x2875('0x30')]()),this['on']('change:hasDirtyComment',()=>this[_0x2875('0x30')]()),this[_0x2875('0x31')]({'tag':'ul','attributes':{'class':[_0x2875('0x16')]},'children':this[_0x2875('0x1a')]});}get[_0x2875('0x1e')](){return this[_0x2875('0x1f')][_0x2875('0x26')]>this[_0x2875('0x1d')][_0x2875('0x1c')]&&!this[_0x2875('0x25')]&&!this[_0x2875('0xd')];}[_0x2875('0x29')](){super[_0x2875('0x29')](),this['refreshVisibleViews']();}[_0x2875('0x1')](){this[_0x2875('0x32')][_0x2875('0x1')]();}[_0x2875('0xa')](){this[_0x2875('0x19')]['destroy']();for(const _0x3a0f67 of this['commentViews'])_0x3a0f67[_0x2875('0xa')]();super[_0x2875('0xa')]();}['refreshVisibleViews'](){this['_shouldCollapse']?this[_0x2875('0x14')]():this[_0x2875('0x12')]();}[_0x2875('0x2c')](_0x1a6720,_0x2dcceb){const _0xed9689=new this[(_0x2875('0x1d'))][(_0x2875('0x6'))](this[_0x2875('0x28')],_0x1a6720,{'maxCommentCharsWhenCollapsed':this[_0x2875('0x1d')][_0x2875('0x34')],'formatDateTime':this[_0x2875('0x1d')]['formatDateTime'],'editorConfig':this[_0x2875('0x1d')]['editorConfig']});_0xed9689[_0x2875('0x2a')]=_0x1a6720['id'],_0xed9689[_0x2875('0x33')](_0x2875('0xe'))['to'](this),_0xed9689[_0x2875('0x33')](_0x2875('0x3'))['to'](this),_0xed9689[_0x2875('0x33')](_0x2875('0x35'))['to'](this),_0xed9689[_0x2875('0x33')](_0x2875('0x0'))['to'](this),_0xed9689['delegate'](_0x2875('0x21'))['to'](this),this[_0x2875('0x23')](_0xed9689,_0x2875('0x13'),()=>this['_updateHasDirtyComment']()),this[_0x2875('0x11')][_0x2875('0x4')](_0xed9689,_0x2dcceb);}[_0x2875('0x36')](_0x571e1e){const _0x3eddfb=this['_model']['_findOptimalIndex'](_0x571e1e);return this[_0x2875('0x1b')]?this[_0x2875('0x1b')][_0x2875('0x15')]>_0x571e1e['authoredAt']?_0x3eddfb-0x1:_0x3eddfb:_0x3eddfb-0x1;}[_0x2875('0x37')](){if(this[_0x2875('0x1f')][_0x2875('0x22')]&&this[_0x2875('0x1f')]['resolvedAt']){const _0x1ea1af={'id':'resolved','author':this[_0x2875('0x1f')]['resolvedBy'],'authoredAt':this[_0x2875('0x1f')]['resolvedAt'],'content':_0x5c8cdb(this[_0x2875('0x28')],_0x2875('0x2b')),'attributes':{}};this[_0x2875('0x1b')]=new this['_config'][(_0x2875('0x6'))](this[_0x2875('0x28')],_0x1ea1af,{'maxCommentCharsWhenCollapsed':this[_0x2875('0x1d')]['maxCommentCharsWhenCollapsed'],'formatDateTime':this[_0x2875('0x1d')]['formatDateTime'],'editorConfig':this[_0x2875('0x1d')][_0x2875('0x2')],'isSystemComment':!0x0}),this[_0x2875('0x11')][_0x2875('0x4')](this[_0x2875('0x1b')],this['_model'][_0x2875('0x17')](_0x1ea1af));}else this[_0x2875('0x1b')]&&(this['commentViews'][_0x2875('0x39')](this[_0x2875('0x1b')]),this[_0x2875('0x1b')][_0x2875('0xa')](),this[_0x2875('0x1b')]=null);this[_0x2875('0x30')]();}[_0x2875('0x5')](_0x53a10b){const _0x7ec905=this[_0x2875('0x11')]['remove'](_0x53a10b['id']);this['stopListening'](_0x7ec905),_0x7ec905[_0x2875('0x27')]&&this['_updateHasDirtyComment'](),_0x7ec905[_0x2875('0xa')]();}[_0x2875('0x24')](){this[_0x2875('0xd')]=Array['from'](this['commentViews'])['some'](_0x3dac01=>_0x3dac01[_0x2875('0x27')]);}[_0x2875('0x14')](){const _0x38ab04=function(_0x22e45d){const _0x4d2954=new _0x53e573();for(const _0x566ef2 of _0x22e45d)_0x4d2954[_0x2875('0x4')](_0x566ef2);return _0x4d2954;}(this['commentViews']),_0x1be304=this[_0x2875('0x19')]['count'];for(let _0x454861=0x1;_0x454861<=_0x1be304;_0x454861++)_0x38ab04[_0x2875('0x39')](0x1);for(const _0x1e3491 of _0x38ab04)_0x1e3491[_0x2875('0xf')]();_0x1be304>0x0&&_0x38ab04[_0x2875('0x4')](this[_0x2875('0x19')],0x1),ss(_0x26312f(Array[_0x2875('0x8')](this['visibleViews']),Array[_0x2875('0x8')](_0x38ab04)),this[_0x2875('0x1a')],_0x38ab04);}['_rearrangeExpand'](){ss(_0x26312f(Array[_0x2875('0x8')](this[_0x2875('0x1a')]),Array[_0x2875('0x8')](this[_0x2875('0x11')])),this['visibleViews'],this[_0x2875('0x11')]);for(const _0x18b9a2 of this[_0x2875('0x1a')])_0x18b9a2[_0x2875('0x18')]();}}function ss(_0x34f1d2,_0x1f5ff5,_0x58c1cc){let _0x56d242=0x0;for(const _0xfc0933 of _0x34f1d2)switch(_0xfc0933){case _0x2875('0x38'):_0x1f5ff5['add'](_0x58c1cc[_0x2875('0x2e')](_0x56d242),_0x56d242),_0x56d242++;break;case _0x2875('0x2f'):_0x1f5ff5[_0x2875('0x39')](_0x56d242);break;case _0x2875('0xb'):_0x56d242++;}}
23
+ const _0x9b49=['_handleRemoveCommentModel','length','render','element','Marked\x20as\x20resolved','refreshVisibleViews','updateComment','_handleNewCommentModel','add','hasDirtyComment','resolvedCommentView','isEditMode','resolved','createCollection','_handleInfoComment','maxThreadTotalWeight','_findOptimalIndex','setTemplate','editorReady','removeComment','bind','_rearrangeCollapse','authoredAt','CommentView','destroy','comments','locale','delete','listenTo','weight','from','count','_calculatePosition','visibleViews','delegate','get','_model','_config','commentUpdated','change:isResolved','resolvedBy','_shouldCollapse','equal','viewUid','_collapsedCommentsView','editorDestroyed','remove','isActive','resolveCommentThread','set','change:isEditMode','commentViews','_updateHasDirtyComment','maxCommentCharsWhenCollapsed'];(function(_0x383365,_0x9b49fe){const _0xcc779a=function(_0x41c93b){while(--_0x41c93b){_0x383365['push'](_0x383365['shift']());}};_0xcc779a(++_0x9b49fe);}(_0x9b49,0x150));const _0xcc77=function(_0x383365,_0x9b49fe){_0x383365=_0x383365-0x0;let _0xcc779a=_0x9b49[_0x383365];return _0xcc779a;};import{View as _0x3c3bc0}from'ckeditor5/src/ui';import{diff as _0xdbaba5,Collection as _0x57edd9}from'ckeditor5/src/utils';import{getTranslation as _0x129247}from'../../../utils/common-translations';import _0x55bb19 from'./collapsedcommentsview';export default class wt extends _0x3c3bc0{constructor(_0x31912c,_0x21f0eb,_0x120bfa){super(_0x31912c),this[_0xcc77('0x25')]('hasDirtyComment',!0x1),this[_0xcc77('0x25')](_0xcc77('0x2b'),_0x21f0eb['comments'][_0xcc77('0x2b')]),this[_0xcc77('0x25')](_0xcc77('0x23'),!0x1),this[_0xcc77('0x18')]=_0x21f0eb,this[_0xcc77('0x19')]=_0x120bfa,this[_0xcc77('0x27')]=this['createCollection'](),this[_0xcc77('0x15')]=this[_0xcc77('0x1')](),this[_0xcc77('0x34')]=null,this[_0xcc77('0x20')]=new _0x55bb19(_0x31912c),this[_0xcc77('0x20')][_0xcc77('0x8')](_0xcc77('0x13'))['to'](this,_0xcc77('0x2b'),_0x52e607=>_0x52e607-this[_0xcc77('0x19')]['maxCommentsWhenCollapsed']);for(const _0x558e61 of _0x21f0eb[_0xcc77('0xd')])this['_handleNewCommentModel'](_0x558e61);this[_0xcc77('0x2')](),this[_0xcc77('0x10')](_0x21f0eb[_0xcc77('0xd')],_0xcc77('0x32'),(_0x4d5414,_0x87b389)=>{const _0x3816b4=this[_0xcc77('0x14')](_0x87b389);this['length']++,this[_0xcc77('0x31')](_0x87b389,_0x3816b4),this[_0xcc77('0x2f')]();}),this['listenTo'](_0x21f0eb[_0xcc77('0xd')],_0xcc77('0x22'),(_0x270247,_0x89f357)=>{this[_0xcc77('0x2b')]--,this[_0xcc77('0x2a')](_0x89f357),this[_0xcc77('0x2f')]();}),this[_0xcc77('0x10')](_0x21f0eb,_0xcc77('0x1a'),()=>this['refreshVisibleViews']()),this['listenTo'](_0x21f0eb,_0xcc77('0x1b'),()=>this[_0xcc77('0x2')]()),this['on']('change:isActive',()=>this[_0xcc77('0x2f')]()),this['on']('change:hasDirtyComment',()=>this['refreshVisibleViews']()),this[_0xcc77('0x5')]({'tag':'ul','attributes':{'class':['ck-thread__comments']},'children':this['visibleViews']});}get[_0xcc77('0x1d')](){return this[_0xcc77('0x18')][_0xcc77('0x11')]>this[_0xcc77('0x19')][_0xcc77('0x3')]&&!this[_0xcc77('0x23')]&&!this[_0xcc77('0x33')];}[_0xcc77('0x2c')](){super['render'](),this[_0xcc77('0x2f')]();}['focus'](){this[_0xcc77('0x2d')]['focus']();}['destroy'](){this[_0xcc77('0x20')][_0xcc77('0xc')]();for(const _0x28299c of this[_0xcc77('0x27')])_0x28299c[_0xcc77('0xc')]();super[_0xcc77('0xc')]();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x153dc0,_0x55a62d){const _0xbec54b=new this[(_0xcc77('0x19'))][(_0xcc77('0xb'))](this[_0xcc77('0xe')],_0x153dc0,{'maxCommentCharsWhenCollapsed':this[_0xcc77('0x19')][_0xcc77('0x29')],'formatDateTime':this[_0xcc77('0x19')]['formatDateTime'],'editorConfig':this['_config']['editorConfig']});_0xbec54b[_0xcc77('0x1f')]=_0x153dc0['id'],_0xbec54b[_0xcc77('0x16')](_0xcc77('0x7'))['to'](this),_0xbec54b[_0xcc77('0x16')](_0xcc77('0x30'))['to'](this),_0xbec54b[_0xcc77('0x16')](_0xcc77('0x24'))['to'](this),_0xbec54b[_0xcc77('0x16')](_0xcc77('0x6'))['to'](this),_0xbec54b[_0xcc77('0x16')](_0xcc77('0x21'))['to'](this),this['listenTo'](_0xbec54b,_0xcc77('0x26'),()=>this[_0xcc77('0x28')]()),this['commentViews'][_0xcc77('0x32')](_0xbec54b,_0x55a62d);}['_calculatePosition'](_0x3a57ca){const _0x417e55=this['_model'][_0xcc77('0x4')](_0x3a57ca);return this[_0xcc77('0x34')]?this[_0xcc77('0x34')][_0xcc77('0xa')]>_0x3a57ca[_0xcc77('0xa')]?_0x417e55-0x1:_0x417e55:_0x417e55-0x1;}[_0xcc77('0x2')](){if(this['_model'][_0xcc77('0x1c')]&&this[_0xcc77('0x18')]['resolvedAt']){const _0xbd309c={'id':_0xcc77('0x0'),'author':this['_model'][_0xcc77('0x1c')],'authoredAt':this[_0xcc77('0x18')]['resolvedAt'],'content':_0x129247(this[_0xcc77('0xe')],_0xcc77('0x2e')),'attributes':{}};this[_0xcc77('0x34')]=new this[(_0xcc77('0x19'))][(_0xcc77('0xb'))](this['locale'],_0xbd309c,{'maxCommentCharsWhenCollapsed':this[_0xcc77('0x19')]['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this[_0xcc77('0x19')]['editorConfig'],'isSystemComment':!0x0}),this[_0xcc77('0x27')][_0xcc77('0x32')](this['resolvedCommentView'],this[_0xcc77('0x18')]['_findOptimalIndex'](_0xbd309c));}else this['resolvedCommentView']&&(this[_0xcc77('0x27')]['remove'](this[_0xcc77('0x34')]),this['resolvedCommentView'][_0xcc77('0xc')](),this[_0xcc77('0x34')]=null);this[_0xcc77('0x2f')]();}[_0xcc77('0x2a')](_0x5ad4a1){const _0x5f3ea9=this['commentViews']['remove'](_0x5ad4a1['id']);this['stopListening'](_0x5f3ea9),_0x5f3ea9[_0xcc77('0x35')]&&this[_0xcc77('0x28')](),_0x5f3ea9[_0xcc77('0xc')]();}[_0xcc77('0x28')](){this['hasDirtyComment']=Array[_0xcc77('0x12')](this[_0xcc77('0x27')])['some'](_0x1289f6=>_0x1289f6[_0xcc77('0x35')]);}[_0xcc77('0x9')](){const _0x22fbaf=function(_0xcb3688){const _0x1c9e08=new _0x57edd9();for(const _0x3ad448 of _0xcb3688)_0x1c9e08['add'](_0x3ad448);return _0x1c9e08;}(this[_0xcc77('0x27')]),_0x1a6f79=this[_0xcc77('0x20')]['count'];for(let _0x11dcdd=0x1;_0x11dcdd<=_0x1a6f79;_0x11dcdd++)_0x22fbaf[_0xcc77('0x22')](0x1);for(const _0x430a93 of _0x22fbaf)_0x430a93['collapse']();_0x1a6f79>0x0&&_0x22fbaf[_0xcc77('0x32')](this['_collapsedCommentsView'],0x1),ss(_0xdbaba5(Array[_0xcc77('0x12')](this['visibleViews']),Array['from'](_0x22fbaf)),this[_0xcc77('0x15')],_0x22fbaf);}['_rearrangeExpand'](){ss(_0xdbaba5(Array['from'](this[_0xcc77('0x15')]),Array[_0xcc77('0x12')](this['commentViews'])),this[_0xcc77('0x15')],this['commentViews']);for(const _0x2b6a36 of this[_0xcc77('0x15')])_0x2b6a36['expand']();}}function ss(_0x33cb0a,_0x29065f,_0x16b8d7){let _0x3b8b96=0x0;for(const _0x33c257 of _0x33cb0a)switch(_0x33c257){case'insert':_0x29065f[_0xcc77('0x32')](_0x16b8d7[_0xcc77('0x17')](_0x3b8b96),_0x3b8b96),_0x3b8b96++;break;case _0xcc77('0xf'):_0x29065f[_0xcc77('0x22')](_0x3b8b96);break;case _0xcc77('0x1e'):_0x3b8b96++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5597=['reopenButtonView','bindTemplate','span','_trimContextValue','div','_attachContextActions','reopenCommentThread','Reopen','_createReopenButton','render','isReadOnly','context','offsetWidth','.ck-context','...','element','label','contextValue','isVisible','ck-annotation__actions','ck-context-wrapper','lastIndexOf','length','locale','value','querySelector','isResolvable','mouseleave','hasContext','execute','isEnabled','bind','.ck-context__value','substring','add','overlay','fire','ck-thread__header','_model','listenTo','ck-context','classList','icon','ck-context--quotes'];(function(_0x1fb7b3,_0x5597d3){const _0xf69654=function(_0x10f811){while(--_0x10f811){_0x1fb7b3['push'](_0x1fb7b3['shift']());}};_0xf69654(++_0x5597d3);}(_0x5597,0xe9));const _0xf696=function(_0x1fb7b3,_0x5597d3){_0x1fb7b3=_0x1fb7b3-0x0;let _0xf69654=_0x5597[_0x1fb7b3];return _0xf69654;};import{View as _0x14689d,ButtonView as _0x3c9877}from'ckeditor5/src/ui';import{getTranslation as _0x193882}from'../../../utils/common-translations';import _0x4676ef from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Rt extends _0x14689d{constructor(_0x48f094,_0x470ef4){super(_0x48f094);const _0x1015c8=this[_0xf696('0x20')];this[_0xf696('0x19')]=_0x470ef4,this[_0xf696('0x1f')]=this[_0xf696('0x27')](),this[_0xf696('0x12')](_0xf696('0xf'))['to'](this[_0xf696('0x19')],_0xf696('0x2a'),_0x112a8c=>!!_0x112a8c),this['bind'](_0xf696('0x4'))['to'](this[_0xf696('0x19')],'context',_0x398c84=>_0x398c84&&_0x398c84['value']?this[_0xf696('0x22')](_0x398c84[_0xf696('0xb')]):_0x193882(this[_0xf696('0xa')],'Comment\x20was\x20made\x20on\x20an\x20element')),this['setTemplate']({'tag':_0xf696('0x23'),'attributes':{'class':[_0xf696('0x18')]},'children':[{'tag':_0xf696('0x23'),'attributes':{'class':[_0xf696('0x7')]},'children':[{'tag':'div','attributes':{'class':[_0xf696('0x1b'),_0x1015c8['if']('hasContext',_0xf696('0x1e'))]},'children':[{'tag':_0xf696('0x21'),'attributes':{'class':['ck-context__value']},'children':[{'text':_0x1015c8['to'](_0xf696('0x4'))}]}]}]},{'tag':_0xf696('0x23'),'attributes':{'class':[_0xf696('0x6')]},'children':[this[_0xf696('0x1f')]]}]});}[_0xf696('0x28')](){super[_0xf696('0x28')](),this['_attachContextActions']();}[_0xf696('0x27')](){const _0x268ff8=new _0x3c9877(this[_0xf696('0xa')]);return _0x268ff8[_0xf696('0x3')]=_0x193882(this[_0xf696('0xa')],_0xf696('0x26')),_0x268ff8['tooltip']=_0x193882(this[_0xf696('0xa')],_0xf696('0x26')),_0x268ff8[_0xf696('0x1d')]=_0x4676ef,_0x268ff8['bind'](_0xf696('0x11'))['to'](this[_0xf696('0x19')],_0xf696('0x29'),_0x3839e2=>!_0x3839e2),_0x268ff8['bind'](_0xf696('0x5'))['to'](this['_model'],_0xf696('0xd')),_0x268ff8['on'](_0xf696('0x10'),()=>{this[_0xf696('0x17')](_0xf696('0x25'),this[_0xf696('0x19')]['id']);}),_0x268ff8;}[_0xf696('0x22')](_0xf50f5e){if(_0xf50f5e[_0xf696('0x9')]<0x96)return _0xf50f5e;const _0x3645d6=_0xf50f5e[_0xf696('0x8')]('\x20',0x93);return _0xf50f5e[_0xf696('0x14')](0x0,_0x3645d6>-0x1?_0x3645d6:0x93)+_0xf696('0x1');}[_0xf696('0x24')](){const _0x51417a=this[_0xf696('0x2')][_0xf696('0xc')](_0xf696('0x0')),_0x55a6ef=_0x51417a['querySelector'](_0xf696('0x13'));this[_0xf696('0x1a')](_0x51417a,'mouseenter',()=>{_0x55a6ef[_0xf696('0x2b')]<_0x55a6ef['scrollWidth']&&_0x51417a[_0xf696('0x1c')][_0xf696('0x15')](_0xf696('0x16'));}),this[_0xf696('0x1a')](_0x51417a,_0xf696('0xe'),()=>{_0x51417a['classList']['remove'](_0xf696('0x16'));});}}
23
+ const _0x3852=['reopenCommentThread','listenTo','scrollWidth','tooltip','lastIndexOf','setTemplate','mouseleave','Comment\x20was\x20made\x20on\x20an\x20element','label','ck-annotation__actions','overlay','substring','isReadOnly','value','ck-context--quotes','ck-context','icon','offsetWidth','hasContext','querySelector','ck-thread__header','...','.ck-context__value','ck-context__value','contextValue','reopenButtonView','mouseenter','bindTemplate','ck-context-wrapper','_model','_attachContextActions','_createReopenButton','length','div','Reopen','bind','span','.ck-context','isVisible','classList','context','add','render','locale','execute','fire'];(function(_0x326662,_0x385240){const _0x405b40=function(_0xc1a366){while(--_0xc1a366){_0x326662['push'](_0x326662['shift']());}};_0x405b40(++_0x385240);}(_0x3852,0x137));const _0x405b=function(_0x326662,_0x385240){_0x326662=_0x326662-0x0;let _0x405b40=_0x3852[_0x326662];return _0x405b40;};import{View as _0x4053a3,ButtonView as _0xa1d6ef}from'ckeditor5/src/ui';import{getTranslation as _0x298473}from'../../../utils/common-translations';import _0x1b5ac6 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Rt extends _0x4053a3{constructor(_0x23b468,_0x1bb54f){super(_0x23b468);const _0x298bf7=this[_0x405b('0x26')];this[_0x405b('0x28')]=_0x1bb54f,this[_0x405b('0x24')]=this[_0x405b('0x2a')](),this['bind'](_0x405b('0x1d'))['to'](this[_0x405b('0x28')],'context',_0x14c417=>!!_0x14c417),this['bind'](_0x405b('0x23'))['to'](this[_0x405b('0x28')],_0x405b('0x5'),_0x21e43a=>_0x21e43a&&_0x21e43a[_0x405b('0x18')]?this['_trimContextValue'](_0x21e43a[_0x405b('0x18')]):_0x298473(this[_0x405b('0x8')],_0x405b('0x12'))),this[_0x405b('0x10')]({'tag':_0x405b('0x2c'),'attributes':{'class':[_0x405b('0x1f')]},'children':[{'tag':'div','attributes':{'class':[_0x405b('0x27')]},'children':[{'tag':'div','attributes':{'class':[_0x405b('0x1a'),_0x298bf7['if'](_0x405b('0x1d'),_0x405b('0x19'))]},'children':[{'tag':_0x405b('0x1'),'attributes':{'class':[_0x405b('0x22')]},'children':[{'text':_0x298bf7['to']('contextValue')}]}]}]},{'tag':_0x405b('0x2c'),'attributes':{'class':[_0x405b('0x14')]},'children':[this[_0x405b('0x24')]]}]});}['render'](){super[_0x405b('0x7')](),this[_0x405b('0x29')]();}[_0x405b('0x2a')](){const _0x59555a=new _0xa1d6ef(this[_0x405b('0x8')]);return _0x59555a[_0x405b('0x13')]=_0x298473(this[_0x405b('0x8')],'Reopen'),_0x59555a[_0x405b('0xe')]=_0x298473(this[_0x405b('0x8')],_0x405b('0x2d')),_0x59555a[_0x405b('0x1b')]=_0x1b5ac6,_0x59555a[_0x405b('0x0')]('isEnabled')['to'](this[_0x405b('0x28')],_0x405b('0x17'),_0x52b0c7=>!_0x52b0c7),_0x59555a[_0x405b('0x0')](_0x405b('0x3'))['to'](this[_0x405b('0x28')],'isResolvable'),_0x59555a['on'](_0x405b('0x9'),()=>{this[_0x405b('0xa')](_0x405b('0xb'),this[_0x405b('0x28')]['id']);}),_0x59555a;}['_trimContextValue'](_0x4b532c){if(_0x4b532c[_0x405b('0x2b')]<0x96)return _0x4b532c;const _0x4f93ed=_0x4b532c[_0x405b('0xf')]('\x20',0x93);return _0x4b532c[_0x405b('0x16')](0x0,_0x4f93ed>-0x1?_0x4f93ed:0x93)+_0x405b('0x20');}[_0x405b('0x29')](){const _0x2cdec2=this['element']['querySelector'](_0x405b('0x2')),_0x1330c1=_0x2cdec2[_0x405b('0x1e')](_0x405b('0x21'));this[_0x405b('0xc')](_0x2cdec2,_0x405b('0x25'),()=>{_0x1330c1[_0x405b('0x1c')]<_0x1330c1[_0x405b('0xd')]&&_0x2cdec2[_0x405b('0x4')][_0x405b('0x6')](_0x405b('0x15'));}),this[_0x405b('0xc')](_0x2cdec2,_0x405b('0x11'),()=>{_0x2cdec2[_0x405b('0x4')]['remove'](_0x405b('0x15'));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3005=['showButtons','setTemplate','destroy','then','ck-comment__input-container--active','ck-thread__user','bind','ck-comment__input-container','extendTemplate','showInput','change:showInput','userView','editorDestroyed','editor','ck-thread__input','commentInputView','focusTracker','div','editorReady'];(function(_0x57ff6c,_0x3005f7){var _0x1c9d9b=function(_0x1c3e4c){while(--_0x1c3e4c){_0x57ff6c['push'](_0x57ff6c['shift']());}};_0x1c9d9b(++_0x3005f7);}(_0x3005,0x1d6));var _0x1c9d=function(_0x57ff6c,_0x3005f7){_0x57ff6c=_0x57ff6c-0x0;var _0x1c9d9b=_0x3005[_0x57ff6c];return _0x1c9d9b;};import{View as _0x40ee1b}from'ckeditor5/src/ui';import _0x2b2caf from'./commentinputview';import{UserView as _0x147107}from'ckeditor5-collaboration/src/collaboration-core';export default class Ct extends _0x40ee1b{constructor(_0x3cb3e7,_0x32f1b4,_0x17e075){super(_0x3cb3e7),this['commentInputView']=new _0x2b2caf(_0x3cb3e7,_0x17e075),this[_0x1c9d('0x1')][_0x1c9d('0xb')](_0x1c9d('0x5'))['to'](this[_0x1c9d('0x1')][_0x1c9d('0x2')],'isFocused',this['commentInputView'],'value',(_0x5e86c1,_0xb98056)=>_0x5e86c1||!!_0xb98056),this['set'](_0x1c9d('0xe'),!0x1),this['on'](_0x1c9d('0xf'),()=>{this[_0x1c9d('0xe')]&&!this['commentInputView'][_0x1c9d('0x12')]&&this[_0x1c9d('0x1')]['createEditor']();}),this[_0x1c9d('0x1')]['delegate'](_0x1c9d('0x4'))['to'](this),this[_0x1c9d('0x1')]['delegate'](_0x1c9d('0x11'))['to'](this),this['userView']=new _0x147107(_0x3cb3e7,_0x32f1b4),this[_0x1c9d('0x10')][_0x1c9d('0xd')]({'attributes':{'class':_0x1c9d('0xa')}}),this[_0x1c9d('0x1')][_0x1c9d('0xd')]({'attributes':{'class':_0x1c9d('0x0')}}),this[_0x1c9d('0x6')]({'tag':_0x1c9d('0x3'),'attributes':{'class':[_0x1c9d('0xc'),this['bindTemplate']['if']('showInput',_0x1c9d('0x9'))]},'children':[this[_0x1c9d('0x10')],this[_0x1c9d('0x1')]]});}[_0x1c9d('0x7')](){return this['commentInputView'][_0x1c9d('0x7')]()[_0x1c9d('0x8')](()=>super[_0x1c9d('0x7')]());}}
23
+ var _0x48f9=['then','set','ck-thread__user','editorDestroyed','delegate','showButtons','value','extendTemplate','ck-comment__input-container--active','editorReady','change:showInput','ck-thread__input','showInput','destroy','editor','ck-comment__input-container','setTemplate','focusTracker','userView','isFocused','commentInputView'];(function(_0x4bb594,_0x48f99b){var _0x4aa87d=function(_0x3fb66d){while(--_0x3fb66d){_0x4bb594['push'](_0x4bb594['shift']());}};_0x4aa87d(++_0x48f99b);}(_0x48f9,0x1a2));var _0x4aa8=function(_0x4bb594,_0x48f99b){_0x4bb594=_0x4bb594-0x0;var _0x4aa87d=_0x48f9[_0x4bb594];return _0x4aa87d;};import{View as _0x4cd803}from'ckeditor5/src/ui';import _0x546000 from'./commentinputview';import{UserView as _0xbaae41}from'ckeditor5-collaboration/src/collaboration-core';export default class Ct extends _0x4cd803{constructor(_0x3e5755,_0x48caf8,_0x4da8f2){super(_0x3e5755),this[_0x4aa8('0x1')]=new _0x546000(_0x3e5755,_0x4da8f2),this[_0x4aa8('0x1')]['bind'](_0x4aa8('0x7'))['to'](this[_0x4aa8('0x1')][_0x4aa8('0x13')],_0x4aa8('0x0'),this[_0x4aa8('0x1')],_0x4aa8('0x8'),(_0x2c8052,_0x46fa0e)=>_0x2c8052||!!_0x46fa0e),this[_0x4aa8('0x3')](_0x4aa8('0xe'),!0x1),this['on'](_0x4aa8('0xc'),()=>{this[_0x4aa8('0xe')]&&!this[_0x4aa8('0x1')][_0x4aa8('0x10')]&&this[_0x4aa8('0x1')]['createEditor']();}),this[_0x4aa8('0x1')]['delegate'](_0x4aa8('0xb'))['to'](this),this[_0x4aa8('0x1')][_0x4aa8('0x6')](_0x4aa8('0x5'))['to'](this),this[_0x4aa8('0x14')]=new _0xbaae41(_0x3e5755,_0x48caf8),this[_0x4aa8('0x14')][_0x4aa8('0x9')]({'attributes':{'class':_0x4aa8('0x4')}}),this['commentInputView']['extendTemplate']({'attributes':{'class':_0x4aa8('0xd')}}),this[_0x4aa8('0x12')]({'tag':'div','attributes':{'class':[_0x4aa8('0x11'),this['bindTemplate']['if'](_0x4aa8('0xe'),_0x4aa8('0xa'))]},'children':[this[_0x4aa8('0x14')],this[_0x4aa8('0x1')]]});}[_0x4aa8('0xf')](){return this[_0x4aa8('0x1')][_0x4aa8('0xf')]()[_0x4aa8('0x2')](()=>super[_0x4aa8('0xf')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1271=['containerElement','setTemplate','check','_model','commentsListView','locale','.ck-thread__container','Resolve','querySelector','isReadOnly','tooltip','ck-thread--','actionIndicator','resolveButton','remove','_cancelAllConfirms','listenTo','bindTemplate','ck-thread--active','resolveCommentThread','isSystemComment','isActive','then','add','removeCommentThread','ck-comment--resolve','isResolvable','actionBar','label','_bindFirstCommentView','get','bind','showConfirm','cancelConfirm','ck-thread--remove-confirmation','ck-reset_all-excluded','commentThreadHeaderView','stop','commentThreadChildren','render','ck-thread','getTemplate','placeholder','_boundFirstCommentView','commentViews','high','extendTemplate','isEnabled','isVisible','execute','fire','ck-thread__container','isResolved','addMany','Delete\x20comment\x20thread?','div','element','commentThreadInputView'];(function(_0x4cdec9,_0x127116){const _0x3696ae=function(_0x497ffa){while(--_0x497ffa){_0x4cdec9['push'](_0x4cdec9['shift']());}};_0x3696ae(++_0x127116);}(_0x1271,0x78));const _0x3696=function(_0x4cdec9,_0x127116){_0x4cdec9=_0x4cdec9-0x0;let _0x3696ae=_0x1271[_0x4cdec9];return _0x3696ae;};import{ConfirmMixin as _0x4674f7}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x5025cb}from'ckeditor5/src/ui';import{icons as _0xa9edad}from'ckeditor5/src/core';import _0x4b779a from'./basecommentthreadview';import{getTranslation as _0x5eb9eb}from'../../../utils/common-translations';export default class lt extends _0x4674f7(_0x4b779a){constructor(_0x2f063b,_0x3e3a75,_0x28f8da,_0x475530){super(_0x2f063b,_0x3e3a75,_0x28f8da,_0x475530),this[_0x3696('0x22')]=this['createCollection'](),this[_0x3696('0x22')][_0x3696('0x31')]([this['commentsListView'],this[_0x3696('0x35')]]),this[_0x3696('0x39')][_0x3696('0x30')]&&this[_0x3696('0x22')][_0x3696('0x13')](this[_0x3696('0x20')],0x0),this[_0x3696('0x39')]['on']('change:isResolved',(_0x382a6a,_0x5e935d,_0x24f084)=>{_0x24f084?this['commentThreadChildren'][_0x3696('0x13')](this[_0x3696('0x20')],0x0):this[_0x3696('0x22')][_0x3696('0xa')](this[_0x3696('0x20')]);}),this['set'](_0x3696('0x8'),null),this['containerElement']=null,this[_0x3696('0x27')]=null,this[_0x3696('0x1')]=_0x2f063b,this[_0x3696('0x9')]=this['_createResolveButton'](),this[_0x3696('0x37')](this[_0x3696('0x25')]()),this['on']('change:isActive',(_0x53ab12,_0x42c0a7,_0x5350e7)=>{_0x5350e7||this['_cancelAllConfirms']();}),this['listenTo'](this['_model'],'change:isReadOnly',(_0x64f029,_0x5aed71,_0x2acc47)=>{_0x2acc47&&this[_0x3696('0xb')]();}),this['length']>0x0&&this['_bindFirstCommentView'](),this[_0x3696('0xc')](this[_0x3696('0x0')][_0x3696('0x28')],_0x3696('0x13'),()=>{this[_0x3696('0x19')]();});}['getTemplate'](){const _0x15a337=this[_0x3696('0xd')];return{'tag':_0x3696('0x33'),'attributes':{'class':[_0x3696('0x24'),_0x3696('0x1f'),_0x15a337['if'](_0x3696('0x11'),_0x3696('0xe')),_0x15a337['if']('isConfirm',_0x3696('0x1e')),_0x15a337['to']('actionIndicator',_0x21435f=>_0x21435f?_0x3696('0x7')+_0x21435f:'')],'data-thread-id':this['_model']['id'],'tabindex':-0x1},'children':[{'tag':_0x3696('0x33'),'attributes':{'class':_0x3696('0x2f')},'children':this[_0x3696('0x22')]}]};}[_0x3696('0x23')](){super[_0x3696('0x23')](),this[_0x3696('0x36')]=this[_0x3696('0x34')][_0x3696('0x4')](_0x3696('0x2'));}[_0x3696('0xb')](){this[_0x3696('0x1d')]();for(const _0x523536 of this['commentsListView']['commentViews'])_0x523536[_0x3696('0x1d')]();}['_bindFirstCommentView'](){const {locale:_0x5d8778}=this,_0x3707da=this[_0x3696('0x0')]['commentViews'][_0x3696('0x1a')](0x0);_0x3707da===this[_0x3696('0x27')]||_0x3707da[_0x3696('0x10')]||(this[_0x3696('0x27')]=_0x3707da,this['unbind'](_0x3696('0x8')),this[_0x3696('0x1b')](_0x3696('0x8'))['to'](_0x3707da,_0x3696('0x8'),_0x3477fb=>_0x3696('0xa')===_0x3477fb?_0x3696('0xa'):null),_0x3707da[_0x3696('0x26')]=_0x5eb9eb(_0x5d8778,'Write\x20a\x20comment...'),_0x3707da['removeButton']['on'](_0x3696('0x2d'),_0xa2e7ba=>{_0xa2e7ba[_0x3696('0x21')](),this[_0x3696('0x1c')](_0x5eb9eb(_0x5d8778,_0x3696('0x32')),this[_0x3696('0x36')])[_0x3696('0x12')](()=>{this[_0x3696('0x2e')](_0x3696('0x14'));});},{'priority':_0x3696('0x29')}),_0x3707da[_0x3696('0x17')][_0x3696('0x13')](this[_0x3696('0x9')],0x0));}['_createResolveButton'](){const _0x1d32ce=new _0x5025cb(this['locale']);return _0x1d32ce[_0x3696('0x18')]=_0x5eb9eb(this[_0x3696('0x1')],_0x3696('0x3')),_0x1d32ce[_0x3696('0x6')]=_0x5eb9eb(this[_0x3696('0x1')],'Resolve'),_0x1d32ce['icon']=_0xa9edad[_0x3696('0x38')],_0x1d32ce[_0x3696('0x2a')]({'attributes':{'class':_0x3696('0x15')}}),_0x1d32ce[_0x3696('0x1b')](_0x3696('0x2b'))['to'](this[_0x3696('0x39')],_0x3696('0x5'),_0xdd9518=>!_0xdd9518),_0x1d32ce[_0x3696('0x1b')](_0x3696('0x2c'))['to'](this[_0x3696('0x39')],_0x3696('0x16'),this[_0x3696('0x39')],_0x3696('0x30'),(_0x16768a,_0x55c7ed)=>_0x16768a&&!_0x55c7ed),_0x1d32ce['on'](_0x3696('0x2d'),()=>{this['fire'](_0x3696('0xf'),this[_0x3696('0x39')]['id']);}),_0x1d32ce;}}
23
+ const _0xcc0c=['querySelector','fire','render','cancelConfirm','Write\x20a\x20comment...','change:isActive','bindTemplate','isActive','containerElement','resolveButton','ck-thread--remove-confirmation','commentThreadHeaderView','ck-thread--active','_boundFirstCommentView','set','ck-thread--','execute','bind','createCollection','high','length','resolveCommentThread','Delete\x20comment\x20thread?','ck-comment--resolve','_model','commentThreadChildren','then','locale','extendTemplate','removeCommentThread','ck-reset_all-excluded','getTemplate','label','_createResolveButton','_bindFirstCommentView','isSystemComment','actionBar','ck-thread','actionIndicator','isReadOnly','listenTo','commentViews','.ck-thread__container','change:isReadOnly','removeButton','isResolved','commentsListView','_cancelAllConfirms','ck-thread__container','remove','add','icon','placeholder','div','showConfirm'];(function(_0x25a41c,_0xcc0cc2){const _0x5e4494=function(_0x30c829){while(--_0x30c829){_0x25a41c['push'](_0x25a41c['shift']());}};_0x5e4494(++_0xcc0cc2);}(_0xcc0c,0x102));const _0x5e44=function(_0x25a41c,_0xcc0cc2){_0x25a41c=_0x25a41c-0x0;let _0x5e4494=_0xcc0c[_0x25a41c];return _0x5e4494;};import{ConfirmMixin as _0x394727}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x426f48}from'ckeditor5/src/ui';import{icons as _0x5b2617}from'ckeditor5/src/core';import _0x844626 from'./basecommentthreadview';import{getTranslation as _0x513cee}from'../../../utils/common-translations';export default class lt extends _0x394727(_0x844626){constructor(_0x573ef0,_0xdfbd60,_0x3b80f2,_0x47ba66){super(_0x573ef0,_0xdfbd60,_0x3b80f2,_0x47ba66),this[_0x5e44('0x2a')]=this[_0x5e44('0x23')](),this[_0x5e44('0x2a')]['addMany']([this[_0x5e44('0x8')],this['commentThreadInputView']]),this[_0x5e44('0x29')]['isResolved']&&this['commentThreadChildren'][_0x5e44('0xc')](this[_0x5e44('0x1c')],0x0),this[_0x5e44('0x29')]['on']('change:isResolved',(_0x4b112a,_0x44073a,_0x52fa11)=>{_0x52fa11?this[_0x5e44('0x2a')][_0x5e44('0xc')](this['commentThreadHeaderView'],0x0):this[_0x5e44('0x2a')][_0x5e44('0xb')](this[_0x5e44('0x1c')]);}),this[_0x5e44('0x1f')]('actionIndicator',null),this[_0x5e44('0x19')]=null,this[_0x5e44('0x1e')]=null,this[_0x5e44('0x2c')]=_0x573ef0,this['resolveButton']=this['_createResolveButton'](),this['setTemplate'](this[_0x5e44('0x30')]()),this['on'](_0x5e44('0x16'),(_0xb73da,_0x51f78d,_0x2707f1)=>{_0x2707f1||this[_0x5e44('0x9')]();}),this['listenTo'](this['_model'],_0x5e44('0x5'),(_0xc47b6d,_0x26d5a3,_0x4d896e)=>{_0x4d896e&&this[_0x5e44('0x9')]();}),this[_0x5e44('0x25')]>0x0&&this[_0x5e44('0x33')](),this[_0x5e44('0x2')](this['commentsListView'][_0x5e44('0x3')],'add',()=>{this[_0x5e44('0x33')]();});}[_0x5e44('0x30')](){const _0x5d9d2a=this[_0x5e44('0x17')];return{'tag':_0x5e44('0xf'),'attributes':{'class':[_0x5e44('0x36'),_0x5e44('0x2f'),_0x5d9d2a['if'](_0x5e44('0x18'),_0x5e44('0x1d')),_0x5d9d2a['if']('isConfirm',_0x5e44('0x1b')),_0x5d9d2a['to'](_0x5e44('0x0'),_0x3d6ffd=>_0x3d6ffd?_0x5e44('0x20')+_0x3d6ffd:'')],'data-thread-id':this['_model']['id'],'tabindex':-0x1},'children':[{'tag':_0x5e44('0xf'),'attributes':{'class':_0x5e44('0xa')},'children':this[_0x5e44('0x2a')]}]};}[_0x5e44('0x13')](){super[_0x5e44('0x13')](),this['containerElement']=this['element'][_0x5e44('0x11')](_0x5e44('0x4'));}['_cancelAllConfirms'](){this[_0x5e44('0x14')]();for(const _0x3ae6f7 of this[_0x5e44('0x8')][_0x5e44('0x3')])_0x3ae6f7[_0x5e44('0x14')]();}[_0x5e44('0x33')](){const {locale:_0x4ca26b}=this,_0xe4ad12=this[_0x5e44('0x8')]['commentViews']['get'](0x0);_0xe4ad12===this['_boundFirstCommentView']||_0xe4ad12[_0x5e44('0x34')]||(this[_0x5e44('0x1e')]=_0xe4ad12,this['unbind'](_0x5e44('0x0')),this[_0x5e44('0x22')](_0x5e44('0x0'))['to'](_0xe4ad12,_0x5e44('0x0'),_0x353917=>_0x5e44('0xb')===_0x353917?_0x5e44('0xb'):null),_0xe4ad12[_0x5e44('0xe')]=_0x513cee(_0x4ca26b,_0x5e44('0x15')),_0xe4ad12[_0x5e44('0x6')]['on'](_0x5e44('0x21'),_0x1b4352=>{_0x1b4352['stop'](),this[_0x5e44('0x10')](_0x513cee(_0x4ca26b,_0x5e44('0x27')),this[_0x5e44('0x19')])[_0x5e44('0x2b')](()=>{this[_0x5e44('0x12')](_0x5e44('0x2e'));});},{'priority':_0x5e44('0x24')}),_0xe4ad12[_0x5e44('0x35')][_0x5e44('0xc')](this[_0x5e44('0x1a')],0x0));}[_0x5e44('0x32')](){const _0x1dd878=new _0x426f48(this[_0x5e44('0x2c')]);return _0x1dd878[_0x5e44('0x31')]=_0x513cee(this[_0x5e44('0x2c')],'Resolve'),_0x1dd878['tooltip']=_0x513cee(this[_0x5e44('0x2c')],'Resolve'),_0x1dd878[_0x5e44('0xd')]=_0x5b2617['check'],_0x1dd878[_0x5e44('0x2d')]({'attributes':{'class':_0x5e44('0x28')}}),_0x1dd878[_0x5e44('0x22')]('isEnabled')['to'](this['_model'],_0x5e44('0x1'),_0x2c4d50=>!_0x2c4d50),_0x1dd878[_0x5e44('0x22')]('isVisible')['to'](this['_model'],'isResolvable',this[_0x5e44('0x29')],_0x5e44('0x7'),(_0x5b82e9,_0x6498d6)=>_0x5b82e9&&!_0x6498d6),_0x1dd878['on'](_0x5e44('0x21'),()=>{this[_0x5e44('0x12')](_0x5e44('0x26'),this['_model']['id']);}),_0x1dd878;}}