@ckeditor/ckeditor5-comments 0.0.0-nightly-20240125.0 → 0.0.0-nightly-20240127.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/build/comments.js +1 -1
  2. package/package.json +3 -3
  3. package/src/annotations/annotation.js +1 -1
  4. package/src/annotations/annotationcollection.js +1 -1
  5. package/src/annotations/annotations.js +1 -1
  6. package/src/annotations/annotationsuis.js +1 -1
  7. package/src/annotations/editorannotations.js +1 -1
  8. package/src/annotations/inlineannotations.js +1 -1
  9. package/src/annotations/narrowsidebar.js +1 -1
  10. package/src/annotations/sidebar.js +1 -1
  11. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  12. package/src/annotations/view/annotationview.js +1 -1
  13. package/src/annotations/view/sidebaritemview.js +1 -1
  14. package/src/annotations/view/sidebarview.js +1 -1
  15. package/src/annotations/widesidebar.js +1 -1
  16. package/src/comments/addcommentthreadcommand.js +1 -1
  17. package/src/comments/commentsarchive.js +1 -1
  18. package/src/comments/commentsarchiveui.js +1 -1
  19. package/src/comments/commentsediting.js +1 -1
  20. package/src/comments/commentsrepository.js +1 -1
  21. package/src/comments/commentsui.js +1 -1
  22. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  23. package/src/comments/integrations/importword.js +1 -1
  24. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  25. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  26. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  27. package/src/comments/ui/commentthreadcontroller.js +1 -1
  28. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  29. package/src/comments/ui/view/basecommentview.js +1 -1
  30. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  31. package/src/comments/ui/view/commentcontentview.js +1 -1
  32. package/src/comments/ui/view/commentinputview.js +1 -1
  33. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  34. package/src/comments/ui/view/commentslistview.js +1 -1
  35. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  36. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  37. package/src/comments/ui/view/commentthreadview.js +1 -1
  38. package/src/comments/ui/view/commentview.js +1 -1
  39. package/src/comments.js +1 -1
  40. package/src/commentsonly.js +1 -1
  41. package/src/utils/common-translations.js +1 -1
  42. package/src/utils/createmutationobserver.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c60=['addCommentThread','define','importWord','editor','listenTo','get','high','execute','plugins','_handleImportedData','basic','collaboration.channelId','forEach','collaboration_features','dataInsert','importWord.formatting.comments','commands'];(function(_0x5684a0,_0x3c606b){const _0x49a378=function(_0x17fec6){while(--_0x17fec6){_0x5684a0['push'](_0x5684a0['shift']());}};_0x49a378(++_0x3c606b);}(_0x3c60,0x1cf));const _0x49a3=function(_0x5684a0,_0x3c606b){_0x5684a0=_0x5684a0-0x0;let _0x49a378=_0x3c60[_0x5684a0];return _0x49a378;};import{Plugin as _0x445ac3}from'ckeditor5/src/core.js';import{priorities as _0x4fe82f}from'ckeditor5/src/utils.js';import{Users as _0x351ffb}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x54e45c from'../commentsrepository.js';export default class Z extends _0x445ac3{constructor(_0xe9d90a){super(_0xe9d90a),this[_0x49a3('0x10')]['config'][_0x49a3('0xe')](_0x49a3('0xb'),_0x49a3('0x6'));}['afterInit'](){const _0x2e1c51=this[_0x49a3('0x10')],_0x209b6a=_0x2e1c51[_0x49a3('0xc')][_0x49a3('0x1')](_0x49a3('0xf')),_0x5cef93=_0x2e1c51['plugins'][_0x49a3('0x1')](_0x351ffb);_0x209b6a&&(_0x209b6a['on'](_0x49a3('0x3'),(_0x5df5c9,[,_0x41f410])=>{_0x41f410[_0x49a3('0x9')]={'comments':!0x0,'user_id':_0x5cef93['me']['id']};},{'priority':_0x4fe82f[_0x49a3('0x2')]+0xa}),this[_0x49a3('0x0')](_0x209b6a,_0x49a3('0xa'),this[_0x49a3('0x5')]));}[_0x49a3('0x5')](_0x4a09fe,_0x384ce3){const {comment_threads:_0x17499b}=_0x384ce3;_0x17499b&&_0x17499b[_0x49a3('0x8')](({thread_id:_0x2f0c34,comments:_0x8de562,is_resolved:_0x3b5e12})=>{const _0x266245=new Date(),_0x53ea6d=_0x8de562['map'](({author:_0x443b19,content:_0x2b2678,created_at:_0x20b6af})=>({'content':_0x2b2678,'authorId':this[_0x49a3('0x10')][_0x49a3('0x4')]['get'](_0x351ffb)['me']['id'],'createdAt':_0x266245,'attributes':{'@external':{'authorName':_0x443b19,'createdAt':_0x20b6af?new Date(_0x20b6af):new Date(),'source':_0x49a3('0xf')}}})),_0x3461bb=this['editor']['config'][_0x49a3('0x1')](_0x49a3('0x7'));this[_0x49a3('0x10')][_0x49a3('0x4')][_0x49a3('0x1')](_0x54e45c)[_0x49a3('0xd')]({'channelId':_0x3461bb,'threadId':_0x2f0c34,'comments':_0x53ea6d,'resolvedAt':_0x3b5e12?_0x266245:null});});}}
23
+ const _0x54d2=['map','editor','dataInsert','afterInit','define','_handleImportedData','addCommentThread','listenTo','plugins','config','forEach','get','collaboration.channelId','importWord','execute','commands'];(function(_0x193d7e,_0x54d2cd){const _0x5b0c94=function(_0x5595d8){while(--_0x5595d8){_0x193d7e['push'](_0x193d7e['shift']());}};_0x5b0c94(++_0x54d2cd);}(_0x54d2,0x6a));const _0x5b0c=function(_0x193d7e,_0x54d2cd){_0x193d7e=_0x193d7e-0x0;let _0x5b0c94=_0x54d2[_0x193d7e];return _0x5b0c94;};import{Plugin as _0x4f6dab}from'ckeditor5/src/core.js';import{priorities as _0x21244f}from'ckeditor5/src/utils.js';import{Users as _0x231690}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x305b2e from'../commentsrepository.js';export default class Z extends _0x4f6dab{constructor(_0x4a0e36){super(_0x4a0e36),this['editor'][_0x5b0c('0xf')][_0x5b0c('0xa')]('importWord.formatting.comments','basic');}[_0x5b0c('0x9')](){const _0x202faa=this[_0x5b0c('0x7')],_0x2340fd=_0x202faa[_0x5b0c('0x5')][_0x5b0c('0x1')](_0x5b0c('0x3')),_0x5912bd=_0x202faa[_0x5b0c('0xe')][_0x5b0c('0x1')](_0x231690);_0x2340fd&&(_0x2340fd['on'](_0x5b0c('0x4'),(_0x1acf51,[,_0xefc103])=>{_0xefc103['collaboration_features']={'comments':!0x0,'user_id':_0x5912bd['me']['id']};},{'priority':_0x21244f['high']+0xa}),this[_0x5b0c('0xd')](_0x2340fd,_0x5b0c('0x8'),this[_0x5b0c('0xb')]));}[_0x5b0c('0xb')](_0x50dc4e,_0xbe34bd){const {comment_threads:_0x31b753}=_0xbe34bd;_0x31b753&&_0x31b753[_0x5b0c('0x0')](({thread_id:_0x104c17,comments:_0x43f9c5,is_resolved:_0x1ec853})=>{const _0x37c280=new Date(),_0x89caf9=_0x43f9c5[_0x5b0c('0x6')](({author:_0x5a5103,content:_0x3d0a3f,created_at:_0x423b89})=>({'content':_0x3d0a3f,'authorId':this[_0x5b0c('0x7')]['plugins']['get'](_0x231690)['me']['id'],'createdAt':_0x37c280,'attributes':{'@external':{'authorName':_0x5a5103,'createdAt':_0x423b89?new Date(_0x423b89):new Date(),'source':_0x5b0c('0x3')}}})),_0x4c80a2=this[_0x5b0c('0x7')][_0x5b0c('0xf')]['get'](_0x5b0c('0x2'));this[_0x5b0c('0x7')][_0x5b0c('0xe')][_0x5b0c('0x1')](_0x305b2e)[_0x5b0c('0xc')]({'channelId':_0x4c80a2,'threadId':_0x104c17,'comments':_0x89caf9,'resolvedAt':_0x1ec853?_0x37c280:null});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53f3=['config','model','init','getChild','childCount','data','focus','view','low','createRoot','document','placeholderElement','change','destroy','change:placeholder','set','end','then','plugins','editing','getRoot','defaultPlugins','assign','placeholder','_updatePlaceholder','create','name','setSelection'];(function(_0x1d535f,_0x53f398){const _0x36a953=function(_0x24558a){while(--_0x24558a){_0x1d535f['push'](_0x1d535f['shift']());}};_0x36a953(++_0x53f398);}(_0x53f3,0xdf));const _0x36a9=function(_0x1d535f,_0x53f398){_0x1d535f=_0x1d535f-0x0;let _0x36a953=_0x53f3[_0x1d535f];return _0x36a953;};import{Editor as _0x75a218,DataApiMixin as _0x4b373c}from'ckeditor5/src/core.js';import _0x1568cc from'./commenteditorui.js';import{ObservableMixin as _0x468d68}from'ckeditor5/src/utils.js';import{enablePlaceholder as _0x58b4de,disablePlaceholder as _0x8e3975}from'ckeditor5/src/engine.js';import{Clipboard as _0x31171f}from'ckeditor5/src/clipboard.js';import{Enter as _0xbe1e88,ShiftEnter as _0x4e7021}from'ckeditor5/src/enter.js';import{SelectAll as _0x2c8486}from'ckeditor5/src/select-all.js';import{Typing as _0x44074c}from'ckeditor5/src/typing.js';import{Undo as _0x118a99}from'ckeditor5/src/undo.js';import{Paragraph as _0x453820}from'ckeditor5/src/paragraph.js';const Mt=[_0x31171f,_0xbe1e88,_0x4e7021,_0x2c8486,_0x44074c,_0x118a99,_0x453820];class Nt extends _0x468d68(_0x4b373c(_0x75a218)){constructor(_0x3becb0={}){(_0x3becb0=Object[_0x36a9('0x17')]({},_0x3becb0))[_0x36a9('0x13')]||(_0x3becb0[_0x36a9('0x13')]=Nt[_0x36a9('0x16')]),super(_0x3becb0),this['ui']=new _0x1568cc(this),this[_0x36a9('0x10')](_0x36a9('0x18'),''),this[_0x36a9('0x2')][_0x36a9('0xb')]['on'](_0x36a9('0xd'),()=>this[_0x36a9('0x19')](),{'priority':_0x36a9('0x9')}),this['on'](_0x36a9('0xf'),()=>this[_0x36a9('0x19')]()),this['model'][_0x36a9('0xb')][_0x36a9('0xa')]();}[_0x36a9('0x1a')](){const _0x214d83=this[_0x36a9('0x1')]['get']('initialData')||'';return this['initPlugins']()[_0x36a9('0x12')](()=>this['ui'][_0x36a9('0x3')]())['then'](()=>this[_0x36a9('0x6')]['init'](_0x214d83))['then'](()=>this['fire']('ready'));}[_0x36a9('0xe')](){return super[_0x36a9('0xe')]()[_0x36a9('0x12')](()=>this['ui']['destroy']());}[_0x36a9('0x7')](){this[_0x36a9('0x2')][_0x36a9('0xd')](_0x4c2531=>{const _0x39cfd0=this['model']['document'][_0x36a9('0x15')](),_0x4ed80f=_0x39cfd0&&_0x39cfd0[_0x36a9('0x4')](_0x39cfd0[_0x36a9('0x5')]-0x1);_0x4c2531[_0x36a9('0x0')](_0x4ed80f,_0x36a9('0x11')),this[_0x36a9('0x14')][_0x36a9('0x8')][_0x36a9('0x7')]();});}['_updatePlaceholder'](){const _0x13cfa0=this[_0x36a9('0x14')][_0x36a9('0x8')],_0x5a7910=_0x13cfa0['document'][_0x36a9('0x15')](),_0x4bf081=_0x5a7910[_0x36a9('0x4')](0x0);_0x5a7910[_0x36a9('0x5')]>0x1||!_0x4bf081||'p'!=_0x4bf081[_0x36a9('0x1b')]?this[_0x36a9('0xc')]&&this[_0x36a9('0xc')]['placeholder']&&(_0x8e3975(_0x13cfa0,this[_0x36a9('0xc')]),this[_0x36a9('0xc')]=void 0x0):(this[_0x36a9('0x18')]&&(_0x4bf081['placeholder']=this[_0x36a9('0x18')]),_0x58b4de({'view':_0x13cfa0,'element':_0x4bf081,'keepOnFocus':!0x0}),this['placeholderElement']=_0x4bf081);}}Nt[_0x36a9('0x16')]=Mt;export default Nt;
23
+ const _0x3ba0=['get','destroy','focus','assign','defaultPlugins','placeholder','data','childCount','set','createRoot','getChild','getRoot','setSelection','document','fire','config','low','change:placeholder','initialData','plugins','editing','end','ready','init','view','model','_updatePlaceholder','placeholderElement','then'];(function(_0x6c8b3c,_0x3ba093){const _0x512df1=function(_0x240808){while(--_0x240808){_0x6c8b3c['push'](_0x6c8b3c['shift']());}};_0x512df1(++_0x3ba093);}(_0x3ba0,0x80));const _0x512d=function(_0x6c8b3c,_0x3ba093){_0x6c8b3c=_0x6c8b3c-0x0;let _0x512df1=_0x3ba0[_0x6c8b3c];return _0x512df1;};import{Editor as _0x53c7b5,DataApiMixin as _0xe237ea}from'ckeditor5/src/core.js';import _0x4841ca from'./commenteditorui.js';import{ObservableMixin as _0x54d4ec}from'ckeditor5/src/utils.js';import{enablePlaceholder as _0xdab53e,disablePlaceholder as _0x41c782}from'ckeditor5/src/engine.js';import{Clipboard as _0x102983}from'ckeditor5/src/clipboard.js';import{Enter as _0x197f05,ShiftEnter as _0x1f794d}from'ckeditor5/src/enter.js';import{SelectAll as _0x4167b8}from'ckeditor5/src/select-all.js';import{Typing as _0x32b82e}from'ckeditor5/src/typing.js';import{Undo as _0xdac866}from'ckeditor5/src/undo.js';import{Paragraph as _0x3edf74}from'ckeditor5/src/paragraph.js';const Mt=[_0x102983,_0x197f05,_0x1f794d,_0x4167b8,_0x32b82e,_0xdac866,_0x3edf74];class Nt extends _0x54d4ec(_0xe237ea(_0x53c7b5)){constructor(_0x23c19d={}){(_0x23c19d=Object[_0x512d('0x14')]({},_0x23c19d))[_0x512d('0x7')]||(_0x23c19d[_0x512d('0x7')]=Nt[_0x512d('0x15')]),super(_0x23c19d),this['ui']=new _0x4841ca(this),this[_0x512d('0x19')](_0x512d('0x16'),''),this[_0x512d('0xd')][_0x512d('0x1')]['on']('change',()=>this[_0x512d('0xe')](),{'priority':_0x512d('0x4')}),this['on'](_0x512d('0x5'),()=>this[_0x512d('0xe')]()),this[_0x512d('0xd')][_0x512d('0x1')][_0x512d('0x1a')]();}['create'](){const _0x19ad55=this[_0x512d('0x3')][_0x512d('0x11')](_0x512d('0x6'))||'';return this['initPlugins']()[_0x512d('0x10')](()=>this['ui'][_0x512d('0xb')]())[_0x512d('0x10')](()=>this[_0x512d('0x17')][_0x512d('0xb')](_0x19ad55))[_0x512d('0x10')](()=>this[_0x512d('0x2')](_0x512d('0xa')));}[_0x512d('0x12')](){return super[_0x512d('0x12')]()[_0x512d('0x10')](()=>this['ui'][_0x512d('0x12')]());}[_0x512d('0x13')](){this['model']['change'](_0x26600c=>{const _0x4b4000=this[_0x512d('0xd')]['document'][_0x512d('0x1c')](),_0x393da4=_0x4b4000&&_0x4b4000[_0x512d('0x1b')](_0x4b4000[_0x512d('0x18')]-0x1);_0x26600c[_0x512d('0x0')](_0x393da4,_0x512d('0x9')),this[_0x512d('0x8')][_0x512d('0xc')][_0x512d('0x13')]();});}[_0x512d('0xe')](){const _0x3aea7b=this[_0x512d('0x8')]['view'],_0x18be3c=_0x3aea7b[_0x512d('0x1')]['getRoot'](),_0x3bad34=_0x18be3c[_0x512d('0x1b')](0x0);_0x18be3c[_0x512d('0x18')]>0x1||!_0x3bad34||'p'!=_0x3bad34['name']?this[_0x512d('0xf')]&&this[_0x512d('0xf')][_0x512d('0x16')]&&(_0x41c782(_0x3aea7b,this[_0x512d('0xf')]),this['placeholderElement']=void 0x0):(this[_0x512d('0x16')]&&(_0x3bad34[_0x512d('0x16')]=this[_0x512d('0x16')]),_0xdab53e({'view':_0x3aea7b,'element':_0x3bad34,'keepOnFocus':!0x0}),this[_0x512d('0xf')]=_0x3bad34);}}Nt[_0x512d('0x15')]=Mt;export default Nt;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ae3=['element','render','init','document','setEditableElement','editable','destroy','view','editing','attachDomRoot','focusTracker','editor','bind','isFocused','rootName','ready'];(function(_0x3958f0,_0x5ae314){const _0x474fec=function(_0x2301e3){while(--_0x2301e3){_0x3958f0['push'](_0x3958f0['shift']());}};_0x474fec(++_0x5ae314);}(_0x5ae3,0x155));const _0x474f=function(_0x3958f0,_0x5ae314){_0x3958f0=_0x3958f0-0x0;let _0x474fec=_0x5ae3[_0x3958f0];return _0x474fec;};import{EditorUI as _0x5d7883}from'ckeditor5/src/ui.js';import _0xc7c6e8 from'./commenteditoruiview.js';export default class Ft extends _0x5d7883{constructor(_0x26c019){super(_0x26c019),this[_0x474f('0x2')]=new _0xc7c6e8(_0x26c019['locale'],_0x26c019[_0x474f('0x3')][_0x474f('0x2')]);}get[_0x474f('0xb')](){return this[_0x474f('0x2')][_0x474f('0xb')];}[_0x474f('0xd')](){const _0x30b955=this[_0x474f('0x6')][_0x474f('0x3')][_0x474f('0x2')],_0x288e46=this[_0x474f('0x2')][_0x474f('0x0')],_0x5a401c=_0x30b955[_0x474f('0xe')]['getRoot']();_0x288e46['name']=_0x5a401c[_0x474f('0x9')],this[_0x474f('0x2')][_0x474f('0xc')]();const _0x3408a1=_0x288e46['element'];this[_0x474f('0xf')](_0x288e46['name'],_0x3408a1),this['view']['editable'][_0x474f('0x7')](_0x474f('0x8'))['to'](this[_0x474f('0x5')]),_0x30b955[_0x474f('0x4')](_0x3408a1),this['fire'](_0x474f('0xa'));}[_0x474f('0x1')](){super[_0x474f('0x1')](),this[_0x474f('0x2')][_0x474f('0x1')]();}}
23
+ const _0x27dc=['destroy','init','bind','locale','isFocused','editing','element','focusTracker','attachDomRoot','name','setEditableElement','editable','ready','view','editor','document'];(function(_0x4f12d7,_0x27dc26){const _0x43998f=function(_0x41eebe){while(--_0x41eebe){_0x4f12d7['push'](_0x4f12d7['shift']());}};_0x43998f(++_0x27dc26);}(_0x27dc,0x1b0));const _0x4399=function(_0x4f12d7,_0x27dc26){_0x4f12d7=_0x4f12d7-0x0;let _0x43998f=_0x27dc[_0x4f12d7];return _0x43998f;};import{EditorUI as _0x3645fa}from'ckeditor5/src/ui.js';import _0x6d8a27 from'./commenteditoruiview.js';export default class Ft extends _0x3645fa{constructor(_0x5a6654){super(_0x5a6654),this[_0x4399('0xd')]=new _0x6d8a27(_0x5a6654[_0x4399('0x3')],_0x5a6654[_0x4399('0x5')]['view']);}get[_0x4399('0x6')](){return this[_0x4399('0xd')]['element'];}[_0x4399('0x1')](){const _0x37e62a=this[_0x4399('0xe')][_0x4399('0x5')][_0x4399('0xd')],_0x2309db=this[_0x4399('0xd')][_0x4399('0xb')],_0x1c6bce=_0x37e62a[_0x4399('0xf')]['getRoot']();_0x2309db[_0x4399('0x9')]=_0x1c6bce['rootName'],this[_0x4399('0xd')]['render']();const _0xa66bea=_0x2309db[_0x4399('0x6')];this[_0x4399('0xa')](_0x2309db['name'],_0xa66bea),this[_0x4399('0xd')][_0x4399('0xb')][_0x4399('0x2')](_0x4399('0x4'))['to'](this[_0x4399('0x7')]),_0x37e62a[_0x4399('0x8')](_0xa66bea),this['fire'](_0x4399('0xc'));}[_0x4399('0x0')](){super['destroy'](),this['view'][_0x4399('0x0')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59dc=['ck-editor','presentation','render','div','ck-editor__aria-label_','extendTemplate','uiLanguageDirection','main','add','element','createCollection','Comment\x20editor','_createVoiceLabel','editable','_voiceLabelView','ck-comment__input','focus','uiLanguage','text'];(function(_0x576a03,_0x59dcb8){const _0x12a971=function(_0x241bb0){while(--_0x241bb0){_0x576a03['push'](_0x576a03['shift']());}};_0x12a971(++_0x59dcb8);}(_0x59dc,0x1d3));const _0x12a9=function(_0x576a03,_0x59dcb8){_0x576a03=_0x576a03-0x0;let _0x12a971=_0x59dc[_0x576a03];return _0x12a971;};import{InlineEditableUIView as _0x109de3,EditorUIView as _0x33a582,LabelView as _0x2fadd1}from'ckeditor5/src/ui.js';import{uid as _0x41d568}from'ckeditor5/src/utils.js';import{getTranslation as _0x219a5c}from'../../../utils/common-translations.js';export default class Rt extends _0x33a582{constructor(_0x572a1f,_0x5b2111){super(_0x572a1f);const _0x1f00b6=_0x41d568();this[_0x12a9('0xf')]=this[_0x12a9('0x12')](),this[_0x12a9('0x2')]=new _0x109de3(_0x572a1f,_0x5b2111),this[_0x12a9('0x3')]=this[_0x12a9('0x1')](_0x1f00b6,_0x572a1f),this['setTemplate']({'tag':'div','attributes':{'class':['ck-reset',_0x12a9('0x8'),'ck-rounded-corners',_0x12a9('0x4')],'role':'comment','dir':_0x572a1f[_0x12a9('0xe')],'lang':_0x572a1f[_0x12a9('0x6')],'aria-labelledby':'cke-editor__aria-label_'+_0x1f00b6},'children':[this[_0x12a9('0x3')],{'tag':_0x12a9('0xb'),'attributes':{'class':'ck-editor__main','role':_0x12a9('0x9')},'children':this[_0x12a9('0xf')]}]});}['render'](){super[_0x12a9('0xa')](),this[_0x12a9('0xf')][_0x12a9('0x10')](this[_0x12a9('0x2')]);}[_0x12a9('0x5')](){this['editable'][_0x12a9('0x11')][_0x12a9('0x5')]();}[_0x12a9('0x1')](_0x1a8250,_0x3057b9){const _0x1e7877=new _0x2fadd1();return _0x1e7877[_0x12a9('0x7')]=_0x219a5c(_0x3057b9,_0x12a9('0x0')),_0x1e7877[_0x12a9('0xd')]({'attributes':{'id':_0x12a9('0xc')+_0x1a8250,'class':'ck-voice-label'}}),_0x1e7877;}}
23
+ const _0x4d97=['setTemplate','comment','ck-editor__main','div','render','_createVoiceLabel','ck-rounded-corners','ck-reset','ck-comment__input','uiLanguage','main','cke-editor__aria-label_','uiLanguageDirection','ck-editor','ck-voice-label','_voiceLabelView','editable','extendTemplate','presentation','Comment\x20editor','text'];(function(_0x52d0cf,_0x4d9728){const _0x32ea13=function(_0x4316dc){while(--_0x4316dc){_0x52d0cf['push'](_0x52d0cf['shift']());}};_0x32ea13(++_0x4d9728);}(_0x4d97,0x1c0));const _0x32ea=function(_0x52d0cf,_0x4d9728){_0x52d0cf=_0x52d0cf-0x0;let _0x32ea13=_0x4d97[_0x52d0cf];return _0x32ea13;};import{InlineEditableUIView as _0x15c717,EditorUIView as _0x47052e,LabelView as _0x119e0f}from'ckeditor5/src/ui.js';import{uid as _0x4c45b3}from'ckeditor5/src/utils.js';import{getTranslation as _0x27f68b}from'../../../utils/common-translations.js';export default class Rt extends _0x47052e{constructor(_0x4cec75,_0x2c8e0c){super(_0x4cec75);const _0x47aa44=_0x4c45b3();this[_0x32ea('0x3')]=this['createCollection'](),this['editable']=new _0x15c717(_0x4cec75,_0x2c8e0c),this[_0x32ea('0x8')]=this[_0x32ea('0x13')](_0x47aa44,_0x4cec75),this[_0x32ea('0xe')]({'tag':_0x32ea('0x11'),'attributes':{'class':[_0x32ea('0x0'),_0x32ea('0x6'),_0x32ea('0x14'),_0x32ea('0x1')],'role':_0x32ea('0xf'),'dir':_0x4cec75[_0x32ea('0x5')],'lang':_0x4cec75[_0x32ea('0x2')],'aria-labelledby':_0x32ea('0x4')+_0x47aa44},'children':[this['_voiceLabelView'],{'tag':_0x32ea('0x11'),'attributes':{'class':_0x32ea('0x10'),'role':_0x32ea('0xb')},'children':this[_0x32ea('0x3')]}]});}[_0x32ea('0x12')](){super['render'](),this[_0x32ea('0x3')]['add'](this['editable']);}['focus'](){this[_0x32ea('0x9')]['element']['focus']();}[_0x32ea('0x13')](_0x393397,_0x32d692){const _0x193169=new _0x119e0f();return _0x193169[_0x32ea('0xd')]=_0x27f68b(_0x32d692,_0x32ea('0xc')),_0x193169[_0x32ea('0xa')]({'attributes':{'id':'ck-editor__aria-label_'+_0x393397,'class':_0x32ea('0x7')}}),_0x193169;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5e0a=['destroy','reopen','submit','model','addComment','stopListening','update','listenTo','resolve','_localUser','removeCommentThread','isResolved','view','updateComment','getComment','submitCommentThread','_isAttached','remove','resolveCommentThread','removeComment','reopenCommentThread'];(function(_0x14d98e,_0x5e0a21){var _0x11d07a=function(_0x3a2336){while(--_0x3a2336){_0x14d98e['push'](_0x14d98e['shift']());}};_0x11d07a(++_0x5e0a21);}(_0x5e0a,0xbb));var _0x11d0=function(_0x14d98e,_0x5e0a21){_0x14d98e=_0x14d98e-0x0;var _0x11d07a=_0x5e0a[_0x14d98e];return _0x11d07a;};import{ObservableMixin as _0x321e61}from'ckeditor5/src/utils.js';export default class ut extends _0x321e61(){constructor(_0x14452a,_0x58bf7f){super(),this[_0x11d0('0x5')]=_0x14452a,this[_0x11d0('0x5')][_0x11d0('0x12')]=!0x0,this['view']=_0x58bf7f,this[_0x11d0('0x9')](_0x58bf7f,_0x11d0('0x11'),()=>this[_0x11d0('0x4')]()),this[_0x11d0('0x9')](_0x58bf7f,_0x11d0('0xc'),()=>this[_0x11d0('0x13')]()),this[_0x11d0('0x9')](_0x58bf7f,_0x11d0('0x14'),()=>this[_0x11d0('0xa')]()),this[_0x11d0('0x9')](_0x58bf7f,_0x11d0('0x1'),()=>this[_0x11d0('0x3')]()),this[_0x11d0('0x9')](_0x58bf7f,_0x11d0('0x6'),(_0x1a311d,_0xb157af)=>this[_0x11d0('0x6')](_0xb157af)),this[_0x11d0('0x9')](_0x58bf7f,_0x11d0('0xf'),(_0x1c63ae,_0x5a45bf,_0x2455b5)=>this[_0x11d0('0xf')](_0x5a45bf,_0x2455b5)),this['listenTo'](_0x58bf7f,_0x11d0('0x0'),(_0x171a7a,_0x59b545)=>this[_0x11d0('0x0')](_0x59b545));}[_0x11d0('0x4')](){this[_0x11d0('0x5')][_0x11d0('0x4')]();}['remove'](){this[_0x11d0('0x5')][_0x11d0('0x13')]();}[_0x11d0('0xa')](){this[_0x11d0('0x5')][_0x11d0('0xd')]||this[_0x11d0('0x5')][_0x11d0('0xa')]();}[_0x11d0('0x3')](){this[_0x11d0('0x5')][_0x11d0('0xd')]&&this[_0x11d0('0x5')][_0x11d0('0x3')]();}[_0x11d0('0x6')](_0x48d8ec){this[_0x11d0('0x5')][_0x11d0('0x6')]({'content':_0x48d8ec,'authorId':this[_0x11d0('0xe')][_0x11d0('0xb')]['id']});}[_0x11d0('0xf')](_0xf5f466,_0x2f0f66){this[_0x11d0('0x5')][_0x11d0('0x10')](_0xf5f466)[_0x11d0('0x8')]({'content':_0x2f0f66});}[_0x11d0('0x0')](_0x4a71f8){this['model']['getComment'](_0x4a71f8)[_0x11d0('0x13')]();}[_0x11d0('0x2')](){this[_0x11d0('0x7')](),this['model']['_isAttached']=!0x1;}}
23
+ var _0x2285=['submitCommentThread','reopenCommentThread','remove','_isAttached','resolve','resolveCommentThread','isResolved','submit','_localUser','removeCommentThread','updateComment','stopListening','model','removeComment','reopen','addComment','listenTo','view','getComment'];(function(_0x14f7c8,_0x228569){var _0x2c8d9d=function(_0x2f9fd9){while(--_0x2f9fd9){_0x14f7c8['push'](_0x14f7c8['shift']());}};_0x2c8d9d(++_0x228569);}(_0x2285,0xbc));var _0x2c8d=function(_0x14f7c8,_0x228569){_0x14f7c8=_0x14f7c8-0x0;var _0x2c8d9d=_0x2285[_0x14f7c8];return _0x2c8d9d;};import{ObservableMixin as _0x31bb63}from'ckeditor5/src/utils.js';export default class ut extends _0x31bb63(){constructor(_0x3fa2d6,_0x22060d){super(),this['model']=_0x3fa2d6,this[_0x2c8d('0xe')][_0x2c8d('0x5')]=!0x0,this[_0x2c8d('0x0')]=_0x22060d,this['listenTo'](_0x22060d,_0x2c8d('0x2'),()=>this[_0x2c8d('0x9')]()),this[_0x2c8d('0x12')](_0x22060d,_0x2c8d('0xb'),()=>this[_0x2c8d('0x4')]()),this['listenTo'](_0x22060d,_0x2c8d('0x7'),()=>this[_0x2c8d('0x6')]()),this[_0x2c8d('0x12')](_0x22060d,_0x2c8d('0x3'),()=>this[_0x2c8d('0x10')]()),this[_0x2c8d('0x12')](_0x22060d,_0x2c8d('0x11'),(_0x1b5912,_0x366a4f)=>this[_0x2c8d('0x11')](_0x366a4f)),this['listenTo'](_0x22060d,_0x2c8d('0xc'),(_0x3f2ac0,_0x21fe06,_0x651ff2)=>this[_0x2c8d('0xc')](_0x21fe06,_0x651ff2)),this[_0x2c8d('0x12')](_0x22060d,_0x2c8d('0xf'),(_0x3a017d,_0x6333df)=>this['removeComment'](_0x6333df));}[_0x2c8d('0x9')](){this[_0x2c8d('0xe')][_0x2c8d('0x9')]();}[_0x2c8d('0x4')](){this['model'][_0x2c8d('0x4')]();}['resolve'](){this[_0x2c8d('0xe')]['isResolved']||this['model'][_0x2c8d('0x6')]();}[_0x2c8d('0x10')](){this[_0x2c8d('0xe')][_0x2c8d('0x8')]&&this[_0x2c8d('0xe')][_0x2c8d('0x10')]();}[_0x2c8d('0x11')](_0x339ef1){this[_0x2c8d('0xe')][_0x2c8d('0x11')]({'content':_0x339ef1,'authorId':this[_0x2c8d('0x0')][_0x2c8d('0xa')]['id']});}[_0x2c8d('0xc')](_0x1cdf89,_0x13c0db){this[_0x2c8d('0xe')]['getComment'](_0x1cdf89)['update']({'content':_0x13c0db});}[_0x2c8d('0xf')](_0x1dac9b){this[_0x2c8d('0xe')][_0x2c8d('0x1')](_0x1dac9b)[_0x2c8d('0x4')]();}['destroy'](){this[_0x2c8d('0xd')](),this[_0x2c8d('0xe')][_0x2c8d('0x5')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41ef=['removeCommentThread','fire','disabledSubmit','_createCommentThreadInputView','_model','archivedAt','element','set','isReadOnly','_config','isDirty','assign','placeholder','isSubmitted','change:isActive','commentsListView','value','Comment','commentThreadInputView','unlinkedAt','cancel','isResolved','editorConfig','addComment','isUnlinked','editorReady','hasDirtyComment','isResolvable','isActive','reopenCommentThread','Reply\x20to\x20reopen\x20discussion...','canComment','bind','locale','stop','commentInputView','submitLabel','_localUser','listenTo','Reply','length','showInput','removeComment','submit','delegate','resolveCommentThread','commentThreadHeaderView','focus','updateComment','editorDestroyed','Write\x20a\x20comment...','Reply...','destroy'];(function(_0x50af5c,_0x41ef34){const _0x3ac7c0=function(_0x24a511){while(--_0x24a511){_0x50af5c['push'](_0x50af5c['shift']());}};_0x3ac7c0(++_0x41ef34);}(_0x41ef,0x1b7));const _0x3ac7=function(_0x50af5c,_0x41ef34){_0x50af5c=_0x50af5c-0x0;let _0x3ac7c0=_0x41ef[_0x50af5c];return _0x3ac7c0;};import{View as _0xe036c5}from'ckeditor5/src/ui.js';import _0xc7a5ae from'./commentthreadinputview.js';import _0x31b8c6 from'./commentslistview.js';import _0x216492 from'./commentthreadheaderview.js';import{getTranslation as _0x356840}from'../../../utils/common-translations.js';export default class Ut extends _0xe036c5{constructor(_0x297fc0,_0x8abb1c,_0x1cd9ca,_0x557d79){super(_0x297fc0),this['set'](_0x3ac7('0xd'),!0x1),this['set'](_0x3ac7('0x30'),!0x1),this[_0x3ac7('0x2a')]=_0x8abb1c,this[_0x3ac7('0x16')]=_0x1cd9ca,this['_config']=_0x557d79,this[_0x3ac7('0x1f')]=new _0x216492(_0x297fc0,_0x8abb1c),this[_0x3ac7('0x1f')]['delegate'](_0x3ac7('0xe'))['to'](this),this[_0x3ac7('0x17')](this,_0x3ac7('0xe'),()=>{this[_0x3ac7('0x20')]();}),this[_0x3ac7('0x0')]=new _0x31b8c6(_0x297fc0,_0x8abb1c,Object[_0x3ac7('0x31')]({'CommentView':this[_0x3ac7('0x2f')]['CommentView']},_0x557d79)),this[_0x3ac7('0x0')][_0x3ac7('0x1d')](_0x3ac7('0x1b'))['to'](this),this[_0x3ac7('0x0')][_0x3ac7('0x1d')](_0x3ac7('0x21'))['to'](this),this[_0x3ac7('0x0')][_0x3ac7('0x1d')](_0x3ac7('0x1e'))['to'](this),this['commentsListView'][_0x3ac7('0x1d')](_0x3ac7('0xa'))['to'](this),this[_0x3ac7('0x0')][_0x3ac7('0x1d')](_0x3ac7('0x22'))['to'](this),this[_0x3ac7('0x0')][_0x3ac7('0x11')](_0x3ac7('0xd'))['to'](this),this[_0x3ac7('0x17')](this,_0x3ac7('0x1e'),()=>{this[_0x3ac7('0x20')]();}),this[_0x3ac7('0x2d')]('length',this['commentsListView'][_0x3ac7('0x19')]),this[_0x3ac7('0x11')](_0x3ac7('0x19'))['to'](this['commentsListView'],_0x3ac7('0x19')),this[_0x3ac7('0x3')]=this[_0x3ac7('0x29')](),this[_0x3ac7('0x3')]['delegate'](_0x3ac7('0xa'))['to'](this),this['commentThreadInputView'][_0x3ac7('0x1d')](_0x3ac7('0x22'))['to'](this),this['on'](_0x3ac7('0x1b'),()=>this[_0x3ac7('0x20')]()),this[_0x3ac7('0x11')]('isDirty')['to'](this[_0x3ac7('0x0')],_0x3ac7('0xb'),this[_0x3ac7('0x3')][_0x3ac7('0x14')],_0x3ac7('0x1'),(_0x589dd4,_0x480131)=>_0x589dd4||!!_0x480131),this['bind'](_0x3ac7('0x9'))['to'](_0x8abb1c,_0x3ac7('0x4'),_0x25842c=>!!_0x25842c);}[_0x3ac7('0x20')](){this[_0x3ac7('0x2c')][_0x3ac7('0x20')]();}async[_0x3ac7('0x25')](){this[_0x3ac7('0x30')]=!0x1,this[_0x3ac7('0x0')][_0x3ac7('0x25')](),await this[_0x3ac7('0x3')][_0x3ac7('0x25')](),super[_0x3ac7('0x25')]();}['_createCommentThreadInputView'](){const _0x26c587=new _0xc7a5ae(this[_0x3ac7('0x12')],this[_0x3ac7('0x16')],this['_config'][_0x3ac7('0x7')]),_0x2c592a=_0x26c587[_0x3ac7('0x14')];return _0x26c587['bind'](_0x3ac7('0x1a'))['to'](this,_0x3ac7('0xd'),this[_0x3ac7('0x2a')],_0x3ac7('0x2e'),this[_0x3ac7('0x2a')],_0x3ac7('0x10'),this[_0x3ac7('0x2a')],_0x3ac7('0x2b'),_0x2c592a,_0x3ac7('0x1'),(_0xc5d284,_0x177f24,_0x95ed92,_0x3386d3,_0x1251f7)=>!!_0x1251f7||!!_0x3386d3&&_0x95ed92&&!_0x177f24||_0xc5d284&&_0x95ed92&&!_0x177f24),_0x2c592a[_0x3ac7('0x11')](_0x3ac7('0x32'))['to'](this,'length',this[_0x3ac7('0x2a')],_0x3ac7('0xc'),this[_0x3ac7('0x2a')],_0x3ac7('0x6'),(_0x42448d,_0x303e37,_0x5b2db4)=>{let _0x47d8af;return _0x47d8af=_0x5b2db4&&_0x303e37?_0x3ac7('0xf'):_0x42448d?_0x3ac7('0x24'):_0x3ac7('0x23'),_0x356840(this['locale'],_0x47d8af);}),_0x2c592a[_0x3ac7('0x11')](_0x3ac7('0x15'))['to'](this,_0x3ac7('0x19'),_0x50cfb8=>_0x356840(this['locale'],_0x50cfb8?_0x3ac7('0x18'):_0x3ac7('0x2'))),_0x2c592a['on'](_0x3ac7('0x1c'),(_0x16d871,_0x19f9f8)=>{this[_0x3ac7('0x27')](_0x3ac7('0x8'),_0x19f9f8),this[_0x3ac7('0x2a')]['isResolved']&&this[_0x3ac7('0x2a')][_0x3ac7('0xc')]&&this['fire'](_0x3ac7('0xe'),this[_0x3ac7('0x2a')]['id']),this[_0x3ac7('0x2a')][_0x3ac7('0x33')]||this[_0x3ac7('0x27')]('submitCommentThread');}),_0x2c592a['on'](_0x3ac7('0x5'),()=>{this[_0x3ac7('0x20')]();}),_0x2c592a[_0x3ac7('0x11')](_0x3ac7('0x28'))['to'](this['_model'],_0x3ac7('0x2e')),_0x2c592a['on']('cancel',_0x486946=>{0x0==this['length']&&(this['fire'](_0x3ac7('0x26')),_0x486946[_0x3ac7('0x13')]());}),this['on'](_0x3ac7('0x34'),(_0x5405db,_0x12968d,_0x2c4d4d)=>{_0x2c4d4d||this[_0x3ac7('0x19')]||_0x2c592a[_0x3ac7('0x1')]||this[_0x3ac7('0x27')](_0x3ac7('0x26'));}),_0x26c587;}}
23
+ const _0x395c=['submit','_localUser','_createCommentThreadInputView','locale','listenTo','Reply...','length','bind','commentThreadInputView','isActive','reopenCommentThread','_model','commentThreadHeaderView','set','submitCommentThread','commentInputView','editorReady','showInput','isResolvable','commentsListView','archivedAt','destroy','addComment','isResolved','delegate','removeCommentThread','editorDestroyed','_config','isUnlinked','change:isActive','disabledSubmit','updateComment','value','CommentView','assign','focus','Write\x20a\x20comment...','cancel','hasDirtyComment','element','placeholder','Comment','submitLabel','editorConfig','isDirty','canComment','Reply\x20to\x20reopen\x20discussion...','fire','isReadOnly','removeComment'];(function(_0x2cd90e,_0x395c15){const _0x47fbe2=function(_0x1488f6){while(--_0x1488f6){_0x2cd90e['push'](_0x2cd90e['shift']());}};_0x47fbe2(++_0x395c15);}(_0x395c,0x120));const _0x47fb=function(_0x2cd90e,_0x395c15){_0x2cd90e=_0x2cd90e-0x0;let _0x47fbe2=_0x395c[_0x2cd90e];return _0x47fbe2;};import{View as _0x19b5fa}from'ckeditor5/src/ui.js';import _0x6b5f66 from'./commentthreadinputview.js';import _0x5de93f from'./commentslistview.js';import _0x2e6b0c from'./commentthreadheaderview.js';import{getTranslation as _0x45f89b}from'../../../utils/common-translations.js';export default class Ut extends _0x19b5fa{constructor(_0x2a3827,_0x14db9e,_0x187323,_0x9127e5){super(_0x2a3827),this['set'](_0x47fb('0x15'),!0x1),this[_0x47fb('0x19')](_0x47fb('0x6'),!0x1),this[_0x47fb('0x17')]=_0x14db9e,this[_0x47fb('0xd')]=_0x187323,this[_0x47fb('0x27')]=_0x9127e5,this['commentThreadHeaderView']=new _0x2e6b0c(_0x2a3827,_0x14db9e),this[_0x47fb('0x18')][_0x47fb('0x24')]('reopenCommentThread')['to'](this),this[_0x47fb('0x10')](this,'reopenCommentThread',()=>{this[_0x47fb('0x2f')]();}),this[_0x47fb('0x1f')]=new _0x5de93f(_0x2a3827,_0x14db9e,Object[_0x47fb('0x2e')]({'CommentView':this[_0x47fb('0x27')][_0x47fb('0x2d')]},_0x9127e5)),this[_0x47fb('0x1f')]['delegate'](_0x47fb('0xb'))['to'](this),this[_0x47fb('0x1f')][_0x47fb('0x24')](_0x47fb('0x2b'))['to'](this),this[_0x47fb('0x1f')][_0x47fb('0x24')]('resolveCommentThread')['to'](this),this[_0x47fb('0x1f')][_0x47fb('0x24')]('editorReady')['to'](this),this['commentsListView'][_0x47fb('0x24')](_0x47fb('0x26'))['to'](this),this[_0x47fb('0x1f')][_0x47fb('0x13')](_0x47fb('0x15'))['to'](this),this[_0x47fb('0x10')](this,'resolveCommentThread',()=>{this[_0x47fb('0x2f')]();}),this[_0x47fb('0x19')](_0x47fb('0x12'),this[_0x47fb('0x1f')][_0x47fb('0x12')]),this[_0x47fb('0x13')](_0x47fb('0x12'))['to'](this[_0x47fb('0x1f')],_0x47fb('0x12')),this[_0x47fb('0x14')]=this['_createCommentThreadInputView'](),this[_0x47fb('0x14')][_0x47fb('0x24')](_0x47fb('0x1c'))['to'](this),this[_0x47fb('0x14')][_0x47fb('0x24')](_0x47fb('0x26'))['to'](this),this['on'](_0x47fb('0xb'),()=>this[_0x47fb('0x2f')]()),this['bind'](_0x47fb('0x6'))['to'](this[_0x47fb('0x1f')],_0x47fb('0x0'),this[_0x47fb('0x14')][_0x47fb('0x1b')],_0x47fb('0x2c'),(_0x139504,_0x340189)=>_0x139504||!!_0x340189),this[_0x47fb('0x13')](_0x47fb('0x28'))['to'](_0x14db9e,'unlinkedAt',_0x434467=>!!_0x434467);}[_0x47fb('0x2f')](){this[_0x47fb('0x1')][_0x47fb('0x2f')]();}async[_0x47fb('0x21')](){this[_0x47fb('0x6')]=!0x1,this[_0x47fb('0x1f')][_0x47fb('0x21')](),await this['commentThreadInputView'][_0x47fb('0x21')](),super[_0x47fb('0x21')]();}[_0x47fb('0xe')](){const _0x5e5c18=new _0x6b5f66(this['locale'],this[_0x47fb('0xd')],this[_0x47fb('0x27')][_0x47fb('0x5')]),_0xf8baa9=_0x5e5c18[_0x47fb('0x1b')];return _0x5e5c18[_0x47fb('0x13')](_0x47fb('0x1d'))['to'](this,_0x47fb('0x15'),this['_model'],_0x47fb('0xa'),this['_model'],_0x47fb('0x7'),this[_0x47fb('0x17')],_0x47fb('0x20'),_0xf8baa9,_0x47fb('0x2c'),(_0x4f54c5,_0xa69923,_0x4b8ca5,_0x469897,_0x9a0a33)=>!!_0x9a0a33||!!_0x469897&&_0x4b8ca5&&!_0xa69923||_0x4f54c5&&_0x4b8ca5&&!_0xa69923),_0xf8baa9[_0x47fb('0x13')](_0x47fb('0x2'))['to'](this,'length',this[_0x47fb('0x17')],_0x47fb('0x1e'),this[_0x47fb('0x17')],_0x47fb('0x23'),(_0x519b10,_0x471187,_0x134cad)=>{let _0x219c1b;return _0x219c1b=_0x134cad&&_0x471187?_0x47fb('0x8'):_0x519b10?_0x47fb('0x11'):_0x47fb('0x30'),_0x45f89b(this['locale'],_0x219c1b);}),_0xf8baa9[_0x47fb('0x13')](_0x47fb('0x4'))['to'](this,_0x47fb('0x12'),_0x19bc5d=>_0x45f89b(this[_0x47fb('0xf')],_0x19bc5d?'Reply':_0x47fb('0x3'))),_0xf8baa9['on'](_0x47fb('0xc'),(_0x19808d,_0x4c620a)=>{this[_0x47fb('0x9')](_0x47fb('0x22'),_0x4c620a),this['_model']['isResolved']&&this['_model'][_0x47fb('0x1e')]&&this['fire'](_0x47fb('0x16'),this[_0x47fb('0x17')]['id']),this[_0x47fb('0x17')]['isSubmitted']||this[_0x47fb('0x9')](_0x47fb('0x1a'));}),_0xf8baa9['on'](_0x47fb('0x31'),()=>{this[_0x47fb('0x2f')]();}),_0xf8baa9[_0x47fb('0x13')](_0x47fb('0x2a'))['to'](this[_0x47fb('0x17')],_0x47fb('0xa')),_0xf8baa9['on'](_0x47fb('0x31'),_0x52b233=>{0x0==this[_0x47fb('0x12')]&&(this[_0x47fb('0x9')](_0x47fb('0x25')),_0x52b233['stop']());}),this['on'](_0x47fb('0x29'),(_0x76f21f,_0xdc5fe3,_0x2b2609)=>{_0x2b2609||this[_0x47fb('0x12')]||_0xf8baa9[_0x47fb('0x2c')]||this[_0x47fb('0x9')]('removeCommentThread');}),_0x5e5c18;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14f6=['get','remove','isCollapsed','add','editorReady','Save','initialData','submitLabel','set','editorConfig','destroy','createCollection','locale','updateComment','submit','createEditor','editorDestroyed','value','fire','expand','_config','content','visibleView','_createCommentInputView','isReadOnly','_createCommentContentView','switchToDisplayMode','cancel','collapse','focus','delegate','isEditMode','isSystemComment','_model','bind'];(function(_0x2cd20c,_0x14f6a8){const _0x401893=function(_0x37e3ef){while(--_0x37e3ef){_0x2cd20c['push'](_0x2cd20c['shift']());}};_0x401893(++_0x14f6a8);}(_0x14f6,0x120));const _0x4018=function(_0x2cd20c,_0x14f6a8){_0x2cd20c=_0x2cd20c-0x0;let _0x401893=_0x14f6[_0x2cd20c];return _0x401893;};import{View as _0x1d2907}from'ckeditor5/src/ui.js';import{trimHtml as _0xfae807}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5e649e from'./commentcontentview.js';import _0x149d7f from'./commentinputview.js';import{getTranslation as _0xfd96ae}from'../../../utils/common-translations.js';export default class ti extends _0x1d2907{constructor(_0x54697a,_0x436978,_0x3b1ebe){super(_0x54697a),this[_0x4018('0x19')]=_0x436978,this[_0x4018('0xc')]=_0x3b1ebe,this[_0x4018('0x18')]=!!this[_0x4018('0xc')][_0x4018('0x18')],this[_0x4018('0x0')](_0x4018('0x17'),!0x1),this[_0x4018('0x0')](_0x4018('0x1d'),!0x0),this[_0x4018('0xe')]=this[_0x4018('0x3')](),this[_0x4018('0xe')][_0x4018('0x1e')](this[_0x4018('0x11')]());}[_0x4018('0xb')](){this[_0x4018('0x1d')]=!0x1;}[_0x4018('0x14')](){this[_0x4018('0x17')]||(this[_0x4018('0x1d')]=!0x0);}[_0x4018('0x15')](){this['element'][_0x4018('0x15')]();}async[_0x4018('0x2')](){await this[_0x4018('0xe')][_0x4018('0x1b')](0x0)['destroy'](),super[_0x4018('0x2')]();}['switchToEditMode'](){this[_0x4018('0x17')]||(this[_0x4018('0x17')]=!0x0,this[_0x4018('0xe')][_0x4018('0x1c')](0x0)[_0x4018('0x2')](),this[_0x4018('0xe')][_0x4018('0x1e')](this[_0x4018('0xf')]()));}[_0x4018('0x12')](){this[_0x4018('0x17')]&&(this[_0x4018('0x17')]=!0x1,this[_0x4018('0xe')]['remove'](0x0)['destroy'](),this[_0x4018('0xe')][_0x4018('0x1e')](this[_0x4018('0x11')]()));}['_createCommentContentView'](){const _0x3ec22e=new _0x5e649e(this[_0x4018('0x4')]);return _0x3ec22e['bind'](_0x4018('0xd'))['to'](this[_0x4018('0x19')],'content',this,_0x4018('0x1d'),(_0x322d61,_0x18a555)=>_0x18a555?_0xfae807(_0x322d61,{'limit':this[_0x4018('0xc')]['maxCommentCharsWhenCollapsed']}):_0x322d61),_0x3ec22e;}['_createCommentInputView'](){this[_0x4018('0xc')][_0x4018('0x1')]||(this[_0x4018('0xc')][_0x4018('0x1')]={}),this[_0x4018('0xc')]['editorConfig'][_0x4018('0x21')]=this['_model'][_0x4018('0xd')];const _0x710e00=new _0x149d7f(this[_0x4018('0x4')],this[_0x4018('0xc')][_0x4018('0x1')]);return _0x710e00[_0x4018('0x9')]=this[_0x4018('0x19')][_0x4018('0xd')],_0x710e00[_0x4018('0x1a')]('disabledSubmit')['to'](this[_0x4018('0x19')],_0x4018('0x10')),_0x710e00[_0x4018('0x22')]=_0xfd96ae(this[_0x4018('0x4')],_0x4018('0x20')),_0x710e00['on'](_0x4018('0x6'),(_0x285e41,_0xb368e7)=>{this[_0x4018('0xa')](_0x4018('0x5'),this[_0x4018('0x19')]['id'],_0xb368e7),this[_0x4018('0x12')](),this[_0x4018('0x15')]();}),_0x710e00['on'](_0x4018('0x13'),()=>{this[_0x4018('0x12')](),this[_0x4018('0x15')]();}),_0x710e00['once']('editorReady',()=>{_0x710e00['focus']();}),_0x710e00[_0x4018('0x7')](),_0x710e00[_0x4018('0x16')](_0x4018('0x1f'))['to'](this),_0x710e00[_0x4018('0x16')](_0x4018('0x8'))['to'](this),_0x710e00;}}
23
+ const _0x42f3=['isCollapsed','createEditor','bind','editorConfig','initialData','cancel','submitLabel','_createCommentInputView','value','content','Save','createCollection','element','add','isEditMode','editorDestroyed','expand','fire','locale','isReadOnly','switchToDisplayMode','switchToEditMode','once','_model','isSystemComment','focus','editorReady','_config','set','destroy','_createCommentContentView','visibleView','collapse','get'];(function(_0x176fb9,_0x42f3ac){const _0x2864d1=function(_0x36f51b){while(--_0x36f51b){_0x176fb9['push'](_0x176fb9['shift']());}};_0x2864d1(++_0x42f3ac);}(_0x42f3,0xc6));const _0x2864=function(_0x176fb9,_0x42f3ac){_0x176fb9=_0x176fb9-0x0;let _0x2864d1=_0x42f3[_0x176fb9];return _0x2864d1;};import{View as _0x368d5e}from'ckeditor5/src/ui.js';import{trimHtml as _0x4ce915}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x11e82b from'./commentcontentview.js';import _0x529e69 from'./commentinputview.js';import{getTranslation as _0x59245e}from'../../../utils/common-translations.js';export default class ti extends _0x368d5e{constructor(_0x45bded,_0x125a94,_0x3de9fa){super(_0x45bded),this[_0x2864('0x1d')]=_0x125a94,this['_config']=_0x3de9fa,this[_0x2864('0x1e')]=!!this[_0x2864('0x21')][_0x2864('0x1e')],this[_0x2864('0x0')](_0x2864('0x14'),!0x1),this[_0x2864('0x0')](_0x2864('0x6'),!0x0),this[_0x2864('0x3')]=this[_0x2864('0x11')](),this[_0x2864('0x3')][_0x2864('0x13')](this[_0x2864('0x2')]());}[_0x2864('0x16')](){this[_0x2864('0x6')]=!0x1;}[_0x2864('0x4')](){this[_0x2864('0x14')]||(this[_0x2864('0x6')]=!0x0);}[_0x2864('0x1f')](){this[_0x2864('0x12')][_0x2864('0x1f')]();}async['destroy'](){await this[_0x2864('0x3')][_0x2864('0x5')](0x0)[_0x2864('0x1')](),super['destroy']();}[_0x2864('0x1b')](){this[_0x2864('0x14')]||(this[_0x2864('0x14')]=!0x0,this[_0x2864('0x3')]['remove'](0x0)[_0x2864('0x1')](),this[_0x2864('0x3')]['add'](this[_0x2864('0xd')]()));}['switchToDisplayMode'](){this[_0x2864('0x14')]&&(this['isEditMode']=!0x1,this[_0x2864('0x3')]['remove'](0x0)['destroy'](),this['visibleView'][_0x2864('0x13')](this[_0x2864('0x2')]()));}[_0x2864('0x2')](){const _0x2158e0=new _0x11e82b(this[_0x2864('0x18')]);return _0x2158e0[_0x2864('0x8')](_0x2864('0xf'))['to'](this[_0x2864('0x1d')],_0x2864('0xf'),this,_0x2864('0x6'),(_0xd66937,_0x242e57)=>_0x242e57?_0x4ce915(_0xd66937,{'limit':this[_0x2864('0x21')]['maxCommentCharsWhenCollapsed']}):_0xd66937),_0x2158e0;}[_0x2864('0xd')](){this[_0x2864('0x21')][_0x2864('0x9')]||(this[_0x2864('0x21')]['editorConfig']={}),this[_0x2864('0x21')][_0x2864('0x9')][_0x2864('0xa')]=this[_0x2864('0x1d')][_0x2864('0xf')];const _0x49d91b=new _0x529e69(this['locale'],this[_0x2864('0x21')]['editorConfig']);return _0x49d91b[_0x2864('0xe')]=this['_model']['content'],_0x49d91b[_0x2864('0x8')]('disabledSubmit')['to'](this[_0x2864('0x1d')],_0x2864('0x19')),_0x49d91b[_0x2864('0xc')]=_0x59245e(this[_0x2864('0x18')],_0x2864('0x10')),_0x49d91b['on']('submit',(_0x28aca9,_0x36b99c)=>{this[_0x2864('0x17')]('updateComment',this['_model']['id'],_0x36b99c),this[_0x2864('0x1a')](),this['focus']();}),_0x49d91b['on'](_0x2864('0xb'),()=>{this['switchToDisplayMode'](),this[_0x2864('0x1f')]();}),_0x49d91b[_0x2864('0x1c')]('editorReady',()=>{_0x49d91b['focus']();}),_0x49d91b[_0x2864('0x7')](),_0x49d91b['delegate'](_0x2864('0x20'))['to'](this),_0x49d91b['delegate'](_0x2864('0x15'))['to'](this),_0x49d91b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5692=['NUMBER_OF_COMMENTS','ck-thread__comment-count','bindTemplate','count'];(function(_0x5792cf,_0x569260){const _0x7ac0e3=function(_0x2b7633){while(--_0x2b7633){_0x5792cf['push'](_0x5792cf['shift']());}};_0x7ac0e3(++_0x569260);}(_0x5692,0x1d4));const _0x7ac0=function(_0x5792cf,_0x569260){_0x5792cf=_0x5792cf-0x0;let _0x7ac0e3=_0x5692[_0x5792cf];return _0x7ac0e3;};import{View as _0x4cafd6}from'ckeditor5/src/ui.js';import{getTranslation as _0x2eebc0}from'../../../utils/common-translations.js';export default class ts extends _0x4cafd6{constructor(_0x4da076){super(_0x4da076);const _0x1ee08a=this[_0x7ac0('0x2')];this['set']('count',void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':_0x7ac0('0x1')},'children':[{'text':_0x1ee08a['to'](_0x7ac0('0x3'),_0x528a14=>_0x2eebc0(_0x4da076,_0x7ac0('0x0'),_0x528a14))}]});}}
23
+ const _0x3123=['bindTemplate','ck-thread__comment-count','set','NUMBER_OF_COMMENTS','count','setTemplate'];(function(_0x365e82,_0x31236c){const _0x45703a=function(_0x395d27){while(--_0x395d27){_0x365e82['push'](_0x365e82['shift']());}};_0x45703a(++_0x31236c);}(_0x3123,0x148));const _0x4570=function(_0x365e82,_0x31236c){_0x365e82=_0x365e82-0x0;let _0x45703a=_0x3123[_0x365e82];return _0x45703a;};import{View as _0x134af2}from'ckeditor5/src/ui.js';import{getTranslation as _0x33d1de}from'../../../utils/common-translations.js';export default class ts extends _0x134af2{constructor(_0x68f36e){super(_0x68f36e);const _0x57f559=this[_0x4570('0x2')];this[_0x4570('0x4')](_0x4570('0x0'),void 0x0),this[_0x4570('0x1')]({'tag':'li','attributes':{'class':_0x4570('0x3')},'children':[{'text':_0x57f559['to'](_0x4570('0x0'),_0x129d32=>_0x33d1de(_0x68f36e,_0x4570('0x5'),_0x129d32))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4faa=['element','change:content','div','render','ck-annotation__content','innerHTML','content'];(function(_0x1371f0,_0x4faadc){var _0x5b85af=function(_0xe42133){while(--_0xe42133){_0x1371f0['push'](_0x1371f0['shift']());}};_0x5b85af(++_0x4faadc);}(_0x4faa,0x69));var _0x5b85=function(_0x1371f0,_0x4faadc){_0x1371f0=_0x1371f0-0x0;var _0x5b85af=_0x4faa[_0x1371f0];return _0x5b85af;};import{View as _0x277bb8}from'ckeditor5/src/ui.js';export default class Yt extends _0x277bb8{constructor(_0x5aa9be){super(_0x5aa9be),this['set'](_0x5b85('0x6'),''),this['setTemplate']({'tag':_0x5b85('0x2'),'attributes':{'class':['ck-comment__content',_0x5b85('0x4')]}});}[_0x5b85('0x3')](){super[_0x5b85('0x3')](),this['on'](_0x5b85('0x1'),(_0x48f65b,_0x26274f,_0x294dce)=>{this['element'][_0x5b85('0x5')]=_0x294dce;}),this[_0x5b85('0x0')][_0x5b85('0x5')]=this[_0x5b85('0x6')];}}
23
+ var _0x54c9=['ck-comment__content','content','div','set','ck-annotation__content','element','render','change:content'];(function(_0x3b8171,_0x54c9c2){var _0x1b6754=function(_0x174376){while(--_0x174376){_0x3b8171['push'](_0x3b8171['shift']());}};_0x1b6754(++_0x54c9c2);}(_0x54c9,0x15e));var _0x1b67=function(_0x3b8171,_0x54c9c2){_0x3b8171=_0x3b8171-0x0;var _0x1b6754=_0x54c9[_0x3b8171];return _0x1b6754;};import{View as _0xb6cbe}from'ckeditor5/src/ui.js';export default class Yt extends _0xb6cbe{constructor(_0x590705){super(_0x590705),this[_0x1b67('0x5')](_0x1b67('0x3'),''),this['setTemplate']({'tag':_0x1b67('0x4'),'attributes':{'class':[_0x1b67('0x2'),_0x1b67('0x6')]}});}[_0x1b67('0x0')](){super[_0x1b67('0x0')](),this['on'](_0x1b67('0x1'),(_0x4b46d7,_0x4816e5,_0x1570ee)=>{this[_0x1b67('0x7')]['innerHTML']=_0x1570ee;}),this['element']['innerHTML']=this[_0x1b67('0x3')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1367=['editor','isEnabled','disabledSubmit','label','length','low','high','forEach','Cancel','shift\x20+\x20tab','getData','focusTracker','_isDestroyed','bind','ck-comment__input-actions','editorDestroyed','insertBefore','ck-comment__input-actions--cancel','editorReady','focusPrevious','initialData','setTemplate','document','withText','_initializeFocusCycling','fire','div','focusNext','create','submitButtonView','execute','_editorCreationPromise','bindTemplate','then','submitLabel','ck-comment__input-wrapper','focus','extendTemplate','createEditor','submit','placeholder','element','showButtons','cancelButtonView','keystrokes','Reply','_editorConfig','add','trim','value','set','listenTo','destroy','model','render','firstChild','ck-comment__input-actions--submit','setData'];(function(_0x276dd5,_0x136708){const _0x350011=function(_0x556e47){while(--_0x556e47){_0x276dd5['push'](_0x276dd5['shift']());}};_0x350011(++_0x136708);}(_0x1367,0x109));const _0x3500=function(_0x276dd5,_0x136708){_0x276dd5=_0x276dd5-0x0;let _0x350011=_0x1367[_0x276dd5];return _0x350011;};import{View as _0x36ffd1,ViewCollection as _0x30df60,FocusCycler as _0x1048d0,ButtonView as _0x2cd050}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5c6000,KeystrokeHandler as _0x427c86}from'ckeditor5/src/utils.js';import _0x3a0f7f from'../commenteditor/commenteditor.js';import{getTranslation as _0x4766a2}from'../../../utils/common-translations.js';export default class Zt extends _0x36ffd1{constructor(_0xcff795,_0x54c760={}){super(_0xcff795),this[_0x3500('0x19')]=null,this['_editorConfig']=_0x54c760,this['keystrokes']=new _0x427c86(),this['focusTracker']=new _0x5c6000(),this[_0x3500('0x11')](_0x3500('0x10'),_0x54c760[_0x3500('0x2d')]||''),this[_0x3500('0x11')](_0x3500('0x1b'),!0x1),this['set'](_0x3500('0x9'),!0x0),this[_0x3500('0x11')]('placeholder',_0x4766a2(_0xcff795,'Reply...')),this['set'](_0x3500('0x1'),_0x4766a2(_0xcff795,_0x3500('0xc'))),this[_0x3500('0x36')]=this['_createSubmitButton'](),this[_0x3500('0xa')]=this['_createCancelButton'](),this[_0x3500('0x2e')]({'tag':_0x3500('0x33'),'attributes':{'class':[_0x3500('0x2')]},'children':[{'tag':_0x3500('0x33'),'attributes':{'class':[_0x3500('0x27'),this[_0x3500('0x39')]['if'](_0x3500('0x9'),'ck-comment__input-actions--active')]},'children':[this[_0x3500('0x36')],this[_0x3500('0xa')]]}]}),this[_0x3500('0xb')][_0x3500('0x11')]('Esc',(_0x54e744,_0x299e25)=>{this[_0x3500('0xa')][_0x3500('0x32')]('execute'),_0x299e25();}),this['on'](_0x3500('0x6'),(_0x5ced48,_0x2e8326)=>{_0x2e8326['length']>0xfde8?(alert(_0x4766a2(_0xcff795,'TOO_LONG_COMMENT_ALERT',[_0x2e8326[_0x3500('0x1d')],0xfde8])),_0x5ced48['stop']()):this[_0x3500('0x19')][_0x3500('0x18')]('');},{'priority':_0x3500('0x1f')});}[_0x3500('0x15')](){super[_0x3500('0x15')](),this[_0x3500('0xb')][_0x3500('0x12')](this[_0x3500('0x8')]),this[_0x3500('0x24')]['add'](this['element']);}[_0x3500('0x5')](){return this['editor']||(this[_0x3500('0x19')]=new _0x3a0f7f(this[_0x3500('0xd')]),this[_0x3500('0x38')]=this[_0x3500('0x19')][_0x3500('0x35')]()[_0x3500('0x0')](()=>{if(this[_0x3500('0x25')])return;const _0x1cfc44=this[_0x3500('0x19')];this[_0x3500('0x8')][_0x3500('0x29')](_0x1cfc44['ui'][_0x3500('0x8')],this[_0x3500('0x8')][_0x3500('0x16')]),_0x1cfc44[_0x3500('0x14')][_0x3500('0x2f')]['on']('change',()=>this[_0x3500('0x10')]=_0x1cfc44[_0x3500('0x23')]()),_0x1cfc44[_0x3500('0x26')](_0x3500('0x7'))['to'](this),this[_0x3500('0x31')](this[_0x3500('0x19')]),this['fire'](_0x3500('0x2b'),this[_0x3500('0x19')]);})),this[_0x3500('0x38')];}[_0x3500('0x3')](){this['editor']&&this[_0x3500('0x19')][_0x3500('0x3')]();}async[_0x3500('0x13')](){this['_isDestroyed']||(this[_0x3500('0x25')]=!0x0,this[_0x3500('0x19')]&&(await this['_editorCreationPromise'],await this[_0x3500('0x19')][_0x3500('0x13')](),this[_0x3500('0x32')](_0x3500('0x28'),this[_0x3500('0x19')])),await super[_0x3500('0x13')]());}['_createSubmitButton'](){const {locale:_0x2c37b5}=this,_0x3a19fc=new _0x2cd050(_0x2c37b5);return _0x3a19fc[_0x3500('0x4')]({'attributes':{'class':[_0x3500('0x17')]}}),_0x3a19fc['withText']=!0x0,_0x3a19fc[_0x3500('0x26')]('label')['to'](this,_0x3500('0x1')),_0x3a19fc['on']('execute',()=>{this[_0x3500('0x32')](_0x3500('0x6'),this['value']);}),_0x3a19fc['bind'](_0x3500('0x1a'))['to'](this,_0x3500('0x10'),this,_0x3500('0x1b'),(_0x275cd7,_0x3942f6)=>!_0x3942f6&&!!_0x275cd7[_0x3500('0xf')]()),_0x3a19fc;}['_createCancelButton'](){const {locale:_0x3f3208}=this,_0x174c6a=new _0x2cd050(_0x3f3208);return _0x174c6a['extendTemplate']({'attributes':{'class':[_0x3500('0x2a')]}}),_0x174c6a[_0x3500('0x1c')]=_0x4766a2(_0x3f3208,_0x3500('0x21')),_0x174c6a[_0x3500('0x30')]=!0x0,_0x174c6a['on'](_0x3500('0x37'),()=>{this[_0x3500('0x19')]['setData'](''),this[_0x3500('0x32')]('cancel');}),_0x174c6a;}[_0x3500('0x31')](_0x577490){const _0x3d031a=this['focusTracker'],_0x519554=new _0x30df60();[_0x577490['ui']['view'],this[_0x3500('0x36')],this[_0x3500('0xa')]][_0x3500('0x20')](_0x249162=>{_0x519554[_0x3500('0xe')](_0x249162),_0x3d031a['add'](_0x249162['element']);});const _0x4d1565=new _0x1048d0({'focusables':_0x519554,'focusTracker':_0x3d031a});this[_0x3500('0xb')][_0x3500('0x11')]('tab',(_0x5c76d4,_0x340f4a)=>{_0x4d1565[_0x3500('0x34')](),_0x340f4a();},{'priority':'low'}),this[_0x3500('0xb')][_0x3500('0x11')](_0x3500('0x22'),(_0x24b4b3,_0x12491c)=>{_0x4d1565[_0x3500('0x2c')](),_0x12491c();},{'priority':_0x3500('0x1e')});}}
23
+ const _0x41fd=['extendTemplate','withText','label','_editorConfig','keystrokes','showButtons','setData','focusPrevious','set','ck-comment__input-actions--submit','low','element','Cancel','isEnabled','listenTo','tab','createEditor','focus','placeholder','trim','value','ck-comment__input-actions--cancel','high','destroy','model','Reply...','length','create','editorDestroyed','submitButtonView','_editorCreationPromise','_createCancelButton','initialData','editorReady','div','ck-comment__input-actions','getData','render','cancel','editor','_initializeFocusCycling','focusTracker','bind','view','fire','Esc','_createSubmitButton','document','add','Reply','bindTemplate','submit','firstChild','_isDestroyed','ck-comment__input-actions--active','submitLabel','disabledSubmit'];(function(_0x572aa7,_0x41fdc6){const _0x219961=function(_0x404d04){while(--_0x404d04){_0x572aa7['push'](_0x572aa7['shift']());}};_0x219961(++_0x41fdc6);}(_0x41fd,0x1d2));const _0x2199=function(_0x572aa7,_0x41fdc6){_0x572aa7=_0x572aa7-0x0;let _0x219961=_0x41fd[_0x572aa7];return _0x219961;};import{View as _0x5ed3eb,ViewCollection as _0x5b49c9,FocusCycler as _0x512926,ButtonView as _0x4a5711}from'ckeditor5/src/ui.js';import{FocusTracker as _0x585b82,KeystrokeHandler as _0x2cbc63}from'ckeditor5/src/utils.js';import _0x2abd38 from'../commenteditor/commenteditor.js';import{getTranslation as _0x3d6b10}from'../../../utils/common-translations.js';export default class Zt extends _0x5ed3eb{constructor(_0x478fc5,_0xc3f455={}){super(_0x478fc5),this['editor']=null,this[_0x2199('0x32')]=_0xc3f455,this[_0x2199('0x33')]=new _0x2cbc63(),this[_0x2199('0x1f')]=new _0x585b82(),this[_0x2199('0x37')](_0x2199('0xa'),_0xc3f455[_0x2199('0x16')]||''),this[_0x2199('0x37')]('disabledSubmit',!0x1),this['set'](_0x2199('0x34'),!0x0),this[_0x2199('0x37')](_0x2199('0x8'),_0x3d6b10(_0x478fc5,_0x2199('0xf'))),this[_0x2199('0x37')](_0x2199('0x2d'),_0x3d6b10(_0x478fc5,_0x2199('0x27'))),this[_0x2199('0x13')]=this['_createSubmitButton'](),this['cancelButtonView']=this[_0x2199('0x15')](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-comment__input-wrapper']},'children':[{'tag':_0x2199('0x18'),'attributes':{'class':[_0x2199('0x19'),this[_0x2199('0x28')]['if'](_0x2199('0x34'),_0x2199('0x2c'))]},'children':[this[_0x2199('0x13')],this['cancelButtonView']]}]}),this[_0x2199('0x33')][_0x2199('0x37')](_0x2199('0x23'),(_0x1dc7cc,_0x3af531)=>{this['cancelButtonView'][_0x2199('0x22')]('execute'),_0x3af531();}),this['on'](_0x2199('0x29'),(_0x43c7c1,_0x270e05)=>{_0x270e05['length']>0xfde8?(alert(_0x3d6b10(_0x478fc5,'TOO_LONG_COMMENT_ALERT',[_0x270e05[_0x2199('0x10')],0xfde8])),_0x43c7c1['stop']()):this[_0x2199('0x1d')][_0x2199('0x35')]('');},{'priority':_0x2199('0xc')});}['render'](){super[_0x2199('0x1b')](),this[_0x2199('0x33')][_0x2199('0x4')](this['element']),this[_0x2199('0x1f')][_0x2199('0x26')](this[_0x2199('0x1')]);}[_0x2199('0x6')](){return this[_0x2199('0x1d')]||(this[_0x2199('0x1d')]=new _0x2abd38(this[_0x2199('0x32')]),this['_editorCreationPromise']=this['editor'][_0x2199('0x11')]()['then'](()=>{if(this[_0x2199('0x2b')])return;const _0x218775=this[_0x2199('0x1d')];this[_0x2199('0x1')]['insertBefore'](_0x218775['ui'][_0x2199('0x1')],this[_0x2199('0x1')][_0x2199('0x2a')]),_0x218775[_0x2199('0xe')][_0x2199('0x25')]['on']('change',()=>this[_0x2199('0xa')]=_0x218775[_0x2199('0x1a')]()),_0x218775[_0x2199('0x20')](_0x2199('0x8'))['to'](this),this['_initializeFocusCycling'](this[_0x2199('0x1d')]),this[_0x2199('0x22')](_0x2199('0x17'),this[_0x2199('0x1d')]);})),this['_editorCreationPromise'];}[_0x2199('0x7')](){this['editor']&&this[_0x2199('0x1d')][_0x2199('0x7')]();}async[_0x2199('0xd')](){this[_0x2199('0x2b')]||(this['_isDestroyed']=!0x0,this[_0x2199('0x1d')]&&(await this[_0x2199('0x14')],await this[_0x2199('0x1d')][_0x2199('0xd')](),this['fire'](_0x2199('0x12'),this[_0x2199('0x1d')])),await super[_0x2199('0xd')]());}[_0x2199('0x24')](){const {locale:_0x23d4dd}=this,_0x42f79b=new _0x4a5711(_0x23d4dd);return _0x42f79b[_0x2199('0x2f')]({'attributes':{'class':[_0x2199('0x38')]}}),_0x42f79b[_0x2199('0x30')]=!0x0,_0x42f79b[_0x2199('0x20')](_0x2199('0x31'))['to'](this,_0x2199('0x2d')),_0x42f79b['on']('execute',()=>{this[_0x2199('0x22')](_0x2199('0x29'),this[_0x2199('0xa')]);}),_0x42f79b[_0x2199('0x20')](_0x2199('0x3'))['to'](this,_0x2199('0xa'),this,_0x2199('0x2e'),(_0x3b79f6,_0x260397)=>!_0x260397&&!!_0x3b79f6[_0x2199('0x9')]()),_0x42f79b;}['_createCancelButton'](){const {locale:_0x493689}=this,_0x5d9c32=new _0x4a5711(_0x493689);return _0x5d9c32[_0x2199('0x2f')]({'attributes':{'class':[_0x2199('0xb')]}}),_0x5d9c32[_0x2199('0x31')]=_0x3d6b10(_0x493689,_0x2199('0x2')),_0x5d9c32[_0x2199('0x30')]=!0x0,_0x5d9c32['on']('execute',()=>{this['editor'][_0x2199('0x35')](''),this['fire'](_0x2199('0x1c'));}),_0x5d9c32;}[_0x2199('0x1e')](_0x150365){const _0x1d0254=this[_0x2199('0x1f')],_0x6afc16=new _0x5b49c9();[_0x150365['ui'][_0x2199('0x21')],this[_0x2199('0x13')],this['cancelButtonView']]['forEach'](_0x235c87=>{_0x6afc16['add'](_0x235c87),_0x1d0254[_0x2199('0x26')](_0x235c87[_0x2199('0x1')]);});const _0x38227a=new _0x512926({'focusables':_0x6afc16,'focusTracker':_0x1d0254});this[_0x2199('0x33')]['set'](_0x2199('0x5'),(_0x764b9e,_0x4a36f7)=>{_0x38227a['focusNext'](),_0x4a36f7();},{'priority':'low'}),this[_0x2199('0x33')]['set']('shift\x20+\x20tab',(_0x4029b8,_0x36c1ac)=>{_0x38227a[_0x2199('0x36')](),_0x36c1ac();},{'priority':_0x2199('0x0')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xfbe5=['length','_keystrokes','_focusCycler','div','_focusables','COMMENTS_ARCHIVE','ck-comments-archive','add','isActive','destroy','high','arrowleft','tab','arrowdown','isEmpty','listenTo','setTemplate','render','auto','element','bindTemplate','stopPropagation','arrowright','ck-comments-archive__info','ck-comments-archive__content','_focusTracker','focus','set'];(function(_0x5e0620,_0xfbe54e){const _0x5617bd=function(_0x2e48cf){while(--_0x2e48cf){_0x5e0620['push'](_0x5e0620['shift']());}};_0x5617bd(++_0xfbe54e);}(_0xfbe5,0x1ef));const _0x5617=function(_0x5e0620,_0xfbe54e){_0x5e0620=_0x5e0620-0x0;let _0x5617bd=_0xfbe5[_0x5e0620];return _0x5617bd;};import{View as _0x17758c,FocusCycler as _0x8e79e6}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4d4095,KeystrokeHandler as _0x39749a}from'ckeditor5/src/utils.js';import{getTranslation as _0x54acce}from'../../../utils/common-translations.js';export default class K extends _0x17758c{constructor(_0x1b8dcb,_0x439dac){super(_0x1b8dcb),this['set'](_0x5617('0x17'),!_0x439dac[_0x5617('0x9')]),this[_0x5617('0x6')]=new _0x4d4095(),this[_0x5617('0xa')]=new _0x39749a(),this[_0x5617('0xd')]=_0x439dac,this[_0x5617('0xb')]=new _0x8e79e6({'focusables':this[_0x5617('0xd')],'focusTracker':this[_0x5617('0x6')],'keystrokeHandler':this[_0x5617('0xa')],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':_0x5617('0x15')}}),this[_0x5617('0x18')](_0x439dac,_0x5617('0x10'),()=>{this[_0x5617('0x17')]=!0x1;}),this['listenTo'](_0x439dac,'remove',(_0x4fac9c,_0x138c0e)=>{_0x138c0e[_0x5617('0x11')]&&this[_0x5617('0x7')](),_0x439dac['length']||(this[_0x5617('0x17')]=!0x0);});const _0x215100=this[_0x5617('0x1')];this[_0x5617('0x19')]({'tag':_0x5617('0xc'),'attributes':{'dir':_0x5617('0x1b'),'class':['ck',_0x5617('0xf')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':['ck-comments-archive__header\x20']},'children':[{'text':_0x54acce(_0x1b8dcb,_0x5617('0xe'))}]},{'tag':_0x5617('0xc'),'attributes':{'class':[_0x5617('0x5')]},'children':[{'tag':_0x5617('0xc'),'children':_0x439dac},{'tag':'p','attributes':{'class':[_0x5617('0x4'),_0x215100['if'](_0x5617('0x17'),'ck-hidden',_0xccdb24=>!_0xccdb24)]},'children':[{'text':_0x54acce(_0x1b8dcb,'EMPTY_COMMENTS_ARCHIVE')}]}]}]});}[_0x5617('0x1a')](){super[_0x5617('0x1a')](),this['_keystrokes'][_0x5617('0x18')](this['element']);const _0x42dd85=_0x49752f=>_0x49752f[_0x5617('0x2')]();this[_0x5617('0xa')][_0x5617('0x8')](_0x5617('0x3'),_0x42dd85),this['_keystrokes'][_0x5617('0x8')](_0x5617('0x14'),_0x42dd85),this[_0x5617('0xa')][_0x5617('0x8')]('arrowup',_0x42dd85),this['_keystrokes'][_0x5617('0x8')](_0x5617('0x16'),_0x42dd85),this[_0x5617('0x18')](this[_0x5617('0x0')],'selectstart',(_0x2de55e,_0x23f76c)=>{_0x23f76c['stopPropagation']();},{'priority':_0x5617('0x13')});}[_0x5617('0x12')](){super[_0x5617('0x12')](),this[_0x5617('0x6')][_0x5617('0x12')](),this[_0x5617('0xa')][_0x5617('0x12')]();}[_0x5617('0x7')](){this[_0x5617('0x0')][_0x5617('0x7')]();}}
23
+ const _0x5a06=['arrowright','_keystrokes','selectstart','bindTemplate','arrowup','_focusCycler','destroy','shift\x20+\x20tab','isEmpty','arrowdown','focus','EMPTY_COMMENTS_ARCHIVE','high','length','ck-comments-archive','_focusTracker','add','setTemplate','ck-comments-archive__header\x20','tab','div','set','remove','listenTo','element','render','auto','ck-comments-archive__info','_focusables','stopPropagation'];(function(_0x5845ce,_0x5a069b){const _0x1b0865=function(_0x38c8ff){while(--_0x38c8ff){_0x5845ce['push'](_0x5845ce['shift']());}};_0x1b0865(++_0x5a069b);}(_0x5a06,0x1d7));const _0x1b08=function(_0x5845ce,_0x5a069b){_0x5845ce=_0x5845ce-0x0;let _0x1b0865=_0x5a06[_0x5845ce];return _0x1b0865;};import{View as _0x2293cb,FocusCycler as _0x26fe17}from'ckeditor5/src/ui.js';import{FocusTracker as _0x46117a,KeystrokeHandler as _0xa6aed1}from'ckeditor5/src/utils.js';import{getTranslation as _0x7bbf64}from'../../../utils/common-translations.js';export default class K extends _0x2293cb{constructor(_0x545b78,_0x1daa24){super(_0x545b78),this['set'](_0x1b08('0x11'),!_0x1daa24[_0x1b08('0x16')]),this['_focusTracker']=new _0x46117a(),this[_0x1b08('0xa')]=new _0xa6aed1(),this[_0x1b08('0x7')]=_0x1daa24,this[_0x1b08('0xe')]=new _0x26fe17({'focusables':this[_0x1b08('0x7')],'focusTracker':this['_focusTracker'],'keystrokeHandler':this[_0x1b08('0xa')],'actions':{'focusPrevious':_0x1b08('0x10'),'focusNext':_0x1b08('0x1c')}}),this[_0x1b08('0x2')](_0x1daa24,_0x1b08('0x19'),()=>{this[_0x1b08('0x11')]=!0x1;}),this[_0x1b08('0x2')](_0x1daa24,_0x1b08('0x1'),(_0x224459,_0x13cf54)=>{_0x13cf54['isActive']&&this[_0x1b08('0x13')](),_0x1daa24[_0x1b08('0x16')]||(this[_0x1b08('0x11')]=!0x0);});const _0xbbc030=this[_0x1b08('0xc')];this[_0x1b08('0x1a')]({'tag':'div','attributes':{'dir':_0x1b08('0x5'),'class':['ck',_0x1b08('0x17')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x1b08('0x1b')]},'children':[{'text':_0x7bbf64(_0x545b78,'COMMENTS_ARCHIVE')}]},{'tag':'div','attributes':{'class':['ck-comments-archive__content']},'children':[{'tag':_0x1b08('0x1d'),'children':_0x1daa24},{'tag':'p','attributes':{'class':[_0x1b08('0x6'),_0xbbc030['if'](_0x1b08('0x11'),'ck-hidden',_0x52c705=>!_0x52c705)]},'children':[{'text':_0x7bbf64(_0x545b78,_0x1b08('0x14'))}]}]}]});}['render'](){super[_0x1b08('0x4')](),this['_keystrokes'][_0x1b08('0x2')](this[_0x1b08('0x3')]);const _0x1d2e43=_0x16924e=>_0x16924e['stopPropagation']();this[_0x1b08('0xa')][_0x1b08('0x0')](_0x1b08('0x9'),_0x1d2e43),this['_keystrokes'][_0x1b08('0x0')]('arrowleft',_0x1d2e43),this[_0x1b08('0xa')][_0x1b08('0x0')](_0x1b08('0xd'),_0x1d2e43),this[_0x1b08('0xa')][_0x1b08('0x0')](_0x1b08('0x12'),_0x1d2e43),this[_0x1b08('0x2')](this['element'],_0x1b08('0xb'),(_0x3c273e,_0x2786d6)=>{_0x2786d6[_0x1b08('0x8')]();},{'priority':_0x1b08('0x15')});}[_0x1b08('0xf')](){super[_0x1b08('0xf')](),this[_0x1b08('0x18')][_0x1b08('0xf')](),this[_0x1b08('0xa')][_0x1b08('0xf')]();}[_0x1b08('0x13')](){this['element'][_0x1b08('0x13')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x57a7=['locale','_updateHasDirtyComment','_handleInfoComment','authoredAt','maxCommentsWhenCollapsed','remove','hasDirtyComment','listenTo','some','maxThreadTotalWeight','_calculatePosition','setTemplate','_rearrangeExpand','resolvedBy','insert','_handleRemoveCommentModel','maxCommentCharsWhenCollapsed','count','expand','_findOptimalIndex','CommentView','resolved','editorReady','comments','visibleViews','get','render','_config','viewUid','resolveCommentThread','editorDestroyed','collapse','createCollection','add','resolvedAt','set','length','formatDateTime','stopListening','change:isEditMode','equal','bind','_shouldCollapse','_handleNewCommentModel','weight','updateComment','element','_model','Marked\x20as\x20resolved','resolvedCommentView','from','isEditMode','delegate','editorConfig','_collapsedCommentsView','commentViews','ck-thread__comments','destroy','isActive','focus','refreshVisibleViews'];(function(_0x2fac2e,_0x57a796){const _0x2fa96f=function(_0xb4fad2){while(--_0xb4fad2){_0x2fac2e['push'](_0x2fac2e['shift']());}};_0x2fa96f(++_0x57a796);}(_0x57a7,0x12c));const _0x2fa9=function(_0x2fac2e,_0x57a796){_0x2fac2e=_0x2fac2e-0x0;let _0x2fa96f=_0x57a7[_0x2fac2e];return _0x2fa96f;};import{View as _0x5be8c5}from'ckeditor5/src/ui.js';import{diff as _0x1d0d4b,Collection as _0x54b8cd}from'ckeditor5/src/utils.js';import{getTranslation as _0x34cc52}from'../../../utils/common-translations.js';import _0x13d372 from'./collapsedcommentsview.js';export default class vt extends _0x5be8c5{constructor(_0xe9a829,_0x3f72d0,_0x5cd4dd){super(_0xe9a829),this[_0x2fa9('0x28')]('hasDirtyComment',!0x1),this[_0x2fa9('0x28')](_0x2fa9('0x29'),_0x3f72d0[_0x2fa9('0x1c')]['length']),this[_0x2fa9('0x28')](_0x2fa9('0x2'),!0x1),this['_model']=_0x3f72d0,this[_0x2fa9('0x20')]=_0x5cd4dd,this[_0x2fa9('0x3c')]=this[_0x2fa9('0x25')](),this['visibleViews']=this[_0x2fa9('0x25')](),this[_0x2fa9('0x36')]=null,this[_0x2fa9('0x3b')]=new _0x13d372(_0xe9a829),this[_0x2fa9('0x3b')][_0x2fa9('0x2e')]('count')['to'](this,_0x2fa9('0x29'),_0x49410f=>_0x49410f-this['_config'][_0x2fa9('0x9')]);for(const _0x5979de of _0x3f72d0[_0x2fa9('0x1c')])this[_0x2fa9('0x30')](_0x5979de);this[_0x2fa9('0x7')](),this['listenTo'](_0x3f72d0[_0x2fa9('0x1c')],_0x2fa9('0x26'),(_0xf123e6,_0x384cdb)=>{const _0x21e5ea=this[_0x2fa9('0xf')](_0x384cdb);this[_0x2fa9('0x29')]++,this['_handleNewCommentModel'](_0x384cdb,_0x21e5ea),this[_0x2fa9('0x4')]();}),this[_0x2fa9('0xc')](_0x3f72d0[_0x2fa9('0x1c')],'remove',(_0x466d61,_0x308120)=>{this[_0x2fa9('0x29')]--,this[_0x2fa9('0x14')](_0x308120),this[_0x2fa9('0x4')]();}),this['listenTo'](_0x3f72d0,'commentUpdated',()=>this[_0x2fa9('0x4')]()),this[_0x2fa9('0xc')](_0x3f72d0,'change:isResolved',()=>this[_0x2fa9('0x7')]()),this['on']('change:isActive',()=>this['refreshVisibleViews']()),this['on']('change:hasDirtyComment',()=>this[_0x2fa9('0x4')]()),this[_0x2fa9('0x10')]({'tag':'ul','attributes':{'class':[_0x2fa9('0x0')]},'children':this[_0x2fa9('0x1d')]});}get[_0x2fa9('0x2f')](){return this['_model'][_0x2fa9('0x31')]>this[_0x2fa9('0x20')][_0x2fa9('0xe')]&&!this[_0x2fa9('0x2')]&&!this[_0x2fa9('0xb')];}[_0x2fa9('0x1f')](){super[_0x2fa9('0x1f')](),this[_0x2fa9('0x4')]();}[_0x2fa9('0x3')](){this[_0x2fa9('0x33')][_0x2fa9('0x3')]();}[_0x2fa9('0x1')](){this['_collapsedCommentsView'][_0x2fa9('0x1')]();for(const _0x128184 of this['commentViews'])_0x128184[_0x2fa9('0x1')]();super['destroy']();}[_0x2fa9('0x4')](){this['_shouldCollapse']?this['_rearrangeCollapse']():this['_rearrangeExpand']();}[_0x2fa9('0x30')](_0x5b6ad2,_0x5d4117){const _0x4cfbf9=new this[(_0x2fa9('0x20'))][(_0x2fa9('0x19'))](this[_0x2fa9('0x5')],_0x5b6ad2,{'maxCommentCharsWhenCollapsed':this[_0x2fa9('0x20')][_0x2fa9('0x15')],'formatDateTime':this['_config'][_0x2fa9('0x2a')],'editorConfig':this['_config']['editorConfig']});_0x4cfbf9[_0x2fa9('0x21')]=_0x5b6ad2['id'],_0x4cfbf9[_0x2fa9('0x39')]('removeComment')['to'](this),_0x4cfbf9[_0x2fa9('0x39')](_0x2fa9('0x32'))['to'](this),_0x4cfbf9['delegate'](_0x2fa9('0x22'))['to'](this),_0x4cfbf9[_0x2fa9('0x39')](_0x2fa9('0x1b'))['to'](this),_0x4cfbf9['delegate'](_0x2fa9('0x23'))['to'](this),this[_0x2fa9('0xc')](_0x4cfbf9,_0x2fa9('0x2c'),()=>this['_updateHasDirtyComment']()),this['commentViews']['add'](_0x4cfbf9,_0x5d4117);}[_0x2fa9('0xf')](_0x403c56){const _0x33fea6=this[_0x2fa9('0x34')][_0x2fa9('0x18')](_0x403c56);return this[_0x2fa9('0x36')]?this['resolvedCommentView'][_0x2fa9('0x8')]>_0x403c56[_0x2fa9('0x8')]?_0x33fea6-0x1:_0x33fea6:_0x33fea6-0x1;}[_0x2fa9('0x7')](){if(this[_0x2fa9('0x34')]['resolvedBy']&&this[_0x2fa9('0x34')][_0x2fa9('0x27')]){const _0x51b170={'id':_0x2fa9('0x1a'),'author':this[_0x2fa9('0x34')][_0x2fa9('0x12')],'authoredAt':this[_0x2fa9('0x34')][_0x2fa9('0x27')],'content':_0x34cc52(this['locale'],_0x2fa9('0x35')),'attributes':{}};this[_0x2fa9('0x36')]=new this[(_0x2fa9('0x20'))]['CommentView'](this[_0x2fa9('0x5')],_0x51b170,{'maxCommentCharsWhenCollapsed':this['_config'][_0x2fa9('0x15')],'formatDateTime':this['_config'][_0x2fa9('0x2a')],'editorConfig':this['_config'][_0x2fa9('0x3a')],'isSystemComment':!0x0}),this['commentViews'][_0x2fa9('0x26')](this[_0x2fa9('0x36')],this[_0x2fa9('0x34')][_0x2fa9('0x18')](_0x51b170));}else this[_0x2fa9('0x36')]&&(this['commentViews'][_0x2fa9('0xa')](this[_0x2fa9('0x36')]),this[_0x2fa9('0x36')][_0x2fa9('0x1')](),this[_0x2fa9('0x36')]=null);this[_0x2fa9('0x4')]();}[_0x2fa9('0x14')](_0x86a34){const _0x5badd0=this[_0x2fa9('0x3c')]['remove'](_0x86a34['id']);this[_0x2fa9('0x2b')](_0x5badd0),_0x5badd0['isEditMode']&&this[_0x2fa9('0x6')](),_0x5badd0[_0x2fa9('0x1')]();}[_0x2fa9('0x6')](){this[_0x2fa9('0xb')]=Array['from'](this[_0x2fa9('0x3c')])[_0x2fa9('0xd')](_0x1b0203=>_0x1b0203[_0x2fa9('0x38')]);}['_rearrangeCollapse'](){const _0x24d0bb=function(_0x38f5dc){const _0x4ba35b=new _0x54b8cd();for(const _0x12944a of _0x38f5dc)_0x4ba35b['add'](_0x12944a);return _0x4ba35b;}(this[_0x2fa9('0x3c')]),_0xe8b41d=this[_0x2fa9('0x3b')][_0x2fa9('0x16')];for(let _0x525c98=0x1;_0x525c98<=_0xe8b41d;_0x525c98++)_0x24d0bb[_0x2fa9('0xa')](0x1);for(const _0x4daa9d of _0x24d0bb)_0x4daa9d[_0x2fa9('0x24')]();_0xe8b41d>0x0&&_0x24d0bb[_0x2fa9('0x26')](this['_collapsedCommentsView'],0x1),is(_0x1d0d4b(Array[_0x2fa9('0x37')](this[_0x2fa9('0x1d')]),Array['from'](_0x24d0bb)),this[_0x2fa9('0x1d')],_0x24d0bb);}[_0x2fa9('0x11')](){is(_0x1d0d4b(Array[_0x2fa9('0x37')](this[_0x2fa9('0x1d')]),Array[_0x2fa9('0x37')](this[_0x2fa9('0x3c')])),this[_0x2fa9('0x1d')],this['commentViews']);for(const _0x17ab31 of this[_0x2fa9('0x1d')])_0x17ab31[_0x2fa9('0x17')]();}}function is(_0x5c26d2,_0x5c488c,_0xfa35fe){let _0x3bdf42=0x0;for(const _0x5bae2e of _0x5c26d2)switch(_0x5bae2e){case _0x2fa9('0x13'):_0x5c488c['add'](_0xfa35fe[_0x2fa9('0x1e')](_0x3bdf42),_0x3bdf42),_0x3bdf42++;break;case'delete':_0x5c488c['remove'](_0x3bdf42);break;case _0x2fa9('0x2d'):_0x3bdf42++;}}
23
+ const _0x250a=['remove','comments','render','destroy','_rearrangeExpand','Marked\x20as\x20resolved','resolvedAt','_config','resolvedBy','CommentView','equal','commentViews','isEditMode','change:isActive','length','editorReady','weight','visibleViews','resolvedCommentView','updateComment','maxCommentCharsWhenCollapsed','maxCommentsWhenCollapsed','delegate','change:isEditMode','_calculatePosition','_collapsedCommentsView','authoredAt','set','formatDateTime','locale','_findOptimalIndex','listenTo','from','_handleRemoveCommentModel','element','isActive','count','get','change:isResolved','_model','change:hasDirtyComment','insert','resolved','removeComment','refreshVisibleViews','ck-thread__comments','editorConfig','_updateHasDirtyComment','bind','add','_handleInfoComment','viewUid','focus','hasDirtyComment','_handleNewCommentModel','resolveCommentThread','createCollection','commentUpdated'];(function(_0x4864fd,_0x250a08){const _0x1d1573=function(_0x5a74e1){while(--_0x5a74e1){_0x4864fd['push'](_0x4864fd['shift']());}};_0x1d1573(++_0x250a08);}(_0x250a,0x194));const _0x1d15=function(_0x4864fd,_0x250a08){_0x4864fd=_0x4864fd-0x0;let _0x1d1573=_0x250a[_0x4864fd];return _0x1d1573;};import{View as _0x30a2fd}from'ckeditor5/src/ui.js';import{diff as _0x3c1c98,Collection as _0x457eef}from'ckeditor5/src/utils.js';import{getTranslation as _0x2cdeb9}from'../../../utils/common-translations.js';import _0x51e429 from'./collapsedcommentsview.js';export default class vt extends _0x30a2fd{constructor(_0x18dbc8,_0x1bd3ca,_0x4036dc){super(_0x18dbc8),this[_0x1d15('0x1d')](_0x1d15('0x37'),!0x1),this[_0x1d15('0x1d')]('length',_0x1bd3ca[_0x1d15('0x3')]['length']),this[_0x1d15('0x1d')]('isActive',!0x1),this[_0x1d15('0x29')]=_0x1bd3ca,this[_0x1d15('0x9')]=_0x4036dc,this[_0x1d15('0xd')]=this[_0x1d15('0x0')](),this['visibleViews']=this['createCollection'](),this[_0x1d15('0x14')]=null,this[_0x1d15('0x1b')]=new _0x51e429(_0x18dbc8),this[_0x1d15('0x1b')][_0x1d15('0x32')](_0x1d15('0x26'))['to'](this,_0x1d15('0x10'),_0x3cf286=>_0x3cf286-this[_0x1d15('0x9')][_0x1d15('0x17')]);for(const _0x3e71a6 of _0x1bd3ca['comments'])this[_0x1d15('0x38')](_0x3e71a6);this['_handleInfoComment'](),this[_0x1d15('0x21')](_0x1bd3ca[_0x1d15('0x3')],'add',(_0xc3fc6e,_0x39e945)=>{const _0x4e37a9=this['_calculatePosition'](_0x39e945);this[_0x1d15('0x10')]++,this[_0x1d15('0x38')](_0x39e945,_0x4e37a9),this[_0x1d15('0x2e')]();}),this['listenTo'](_0x1bd3ca[_0x1d15('0x3')],'remove',(_0x1fa9b4,_0x2c0015)=>{this[_0x1d15('0x10')]--,this[_0x1d15('0x23')](_0x2c0015),this[_0x1d15('0x2e')]();}),this[_0x1d15('0x21')](_0x1bd3ca,_0x1d15('0x1'),()=>this[_0x1d15('0x2e')]()),this['listenTo'](_0x1bd3ca,_0x1d15('0x28'),()=>this[_0x1d15('0x34')]()),this['on'](_0x1d15('0xf'),()=>this[_0x1d15('0x2e')]()),this['on'](_0x1d15('0x2a'),()=>this[_0x1d15('0x2e')]()),this['setTemplate']({'tag':'ul','attributes':{'class':[_0x1d15('0x2f')]},'children':this[_0x1d15('0x13')]});}get['_shouldCollapse'](){return this[_0x1d15('0x29')][_0x1d15('0x12')]>this[_0x1d15('0x9')]['maxThreadTotalWeight']&&!this[_0x1d15('0x25')]&&!this[_0x1d15('0x37')];}[_0x1d15('0x4')](){super[_0x1d15('0x4')](),this[_0x1d15('0x2e')]();}[_0x1d15('0x36')](){this[_0x1d15('0x24')]['focus']();}['destroy'](){this[_0x1d15('0x1b')][_0x1d15('0x5')]();for(const _0x45414c of this['commentViews'])_0x45414c[_0x1d15('0x5')]();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this[_0x1d15('0x6')]();}[_0x1d15('0x38')](_0x2b36c3,_0x5ed12d){const _0x177c49=new this['_config'][(_0x1d15('0xb'))](this[_0x1d15('0x1f')],_0x2b36c3,{'maxCommentCharsWhenCollapsed':this['_config'][_0x1d15('0x16')],'formatDateTime':this[_0x1d15('0x9')][_0x1d15('0x1e')],'editorConfig':this[_0x1d15('0x9')][_0x1d15('0x30')]});_0x177c49[_0x1d15('0x35')]=_0x2b36c3['id'],_0x177c49[_0x1d15('0x18')](_0x1d15('0x2d'))['to'](this),_0x177c49[_0x1d15('0x18')](_0x1d15('0x15'))['to'](this),_0x177c49[_0x1d15('0x18')](_0x1d15('0x39'))['to'](this),_0x177c49['delegate'](_0x1d15('0x11'))['to'](this),_0x177c49['delegate']('editorDestroyed')['to'](this),this['listenTo'](_0x177c49,_0x1d15('0x19'),()=>this[_0x1d15('0x31')]()),this[_0x1d15('0xd')][_0x1d15('0x33')](_0x177c49,_0x5ed12d);}[_0x1d15('0x1a')](_0x549c69){const _0x1a82a6=this['_model'][_0x1d15('0x20')](_0x549c69);return this[_0x1d15('0x14')]?this[_0x1d15('0x14')][_0x1d15('0x1c')]>_0x549c69[_0x1d15('0x1c')]?_0x1a82a6-0x1:_0x1a82a6:_0x1a82a6-0x1;}['_handleInfoComment'](){if(this['_model'][_0x1d15('0xa')]&&this[_0x1d15('0x29')][_0x1d15('0x8')]){const _0x2b8b47={'id':_0x1d15('0x2c'),'author':this[_0x1d15('0x29')][_0x1d15('0xa')],'authoredAt':this[_0x1d15('0x29')][_0x1d15('0x8')],'content':_0x2cdeb9(this[_0x1d15('0x1f')],_0x1d15('0x7')),'attributes':{}};this['resolvedCommentView']=new this['_config'][(_0x1d15('0xb'))](this['locale'],_0x2b8b47,{'maxCommentCharsWhenCollapsed':this['_config'][_0x1d15('0x16')],'formatDateTime':this[_0x1d15('0x9')]['formatDateTime'],'editorConfig':this[_0x1d15('0x9')][_0x1d15('0x30')],'isSystemComment':!0x0}),this[_0x1d15('0xd')]['add'](this[_0x1d15('0x14')],this[_0x1d15('0x29')][_0x1d15('0x20')](_0x2b8b47));}else this[_0x1d15('0x14')]&&(this[_0x1d15('0xd')]['remove'](this['resolvedCommentView']),this['resolvedCommentView']['destroy'](),this[_0x1d15('0x14')]=null);this[_0x1d15('0x2e')]();}[_0x1d15('0x23')](_0x1f01ec){const _0x1b2d49=this[_0x1d15('0xd')]['remove'](_0x1f01ec['id']);this['stopListening'](_0x1b2d49),_0x1b2d49[_0x1d15('0xe')]&&this[_0x1d15('0x31')](),_0x1b2d49[_0x1d15('0x5')]();}['_updateHasDirtyComment'](){this[_0x1d15('0x37')]=Array[_0x1d15('0x22')](this[_0x1d15('0xd')])['some'](_0x1d78d4=>_0x1d78d4[_0x1d15('0xe')]);}['_rearrangeCollapse'](){const _0x43507f=function(_0x5fe2a7){const _0x5ac749=new _0x457eef();for(const _0x25e073 of _0x5fe2a7)_0x5ac749[_0x1d15('0x33')](_0x25e073);return _0x5ac749;}(this[_0x1d15('0xd')]),_0x5eec9b=this['_collapsedCommentsView'][_0x1d15('0x26')];for(let _0x38d1ea=0x1;_0x38d1ea<=_0x5eec9b;_0x38d1ea++)_0x43507f[_0x1d15('0x2')](0x1);for(const _0x112a93 of _0x43507f)_0x112a93['collapse']();_0x5eec9b>0x0&&_0x43507f[_0x1d15('0x33')](this['_collapsedCommentsView'],0x1),is(_0x3c1c98(Array[_0x1d15('0x22')](this[_0x1d15('0x13')]),Array['from'](_0x43507f)),this[_0x1d15('0x13')],_0x43507f);}[_0x1d15('0x6')](){is(_0x3c1c98(Array[_0x1d15('0x22')](this[_0x1d15('0x13')]),Array[_0x1d15('0x22')](this['commentViews'])),this[_0x1d15('0x13')],this[_0x1d15('0xd')]);for(const _0x3925b2 of this[_0x1d15('0x13')])_0x3925b2['expand']();}}function is(_0x44c765,_0x282c9f,_0x27333c){let _0x2b827c=0x0;for(const _0x13e506 of _0x44c765)switch(_0x13e506){case _0x1d15('0x2b'):_0x282c9f[_0x1d15('0x33')](_0x27333c[_0x1d15('0x27')](_0x2b827c),_0x2b827c),_0x2b827c++;break;case'delete':_0x282c9f['remove'](_0x2b827c);break;case _0x1d15('0xc'):_0x2b827c++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a5e=['isReadOnly','_attachContextActions','element','length','overlay','isResolvable','locale','remove','_createReopenButton','value','mouseleave','listenTo','substring','...','label','render','hasContext','span','scrollWidth','Comment\x20was\x20made\x20on\x20an\x20element','offsetWidth','ck-annotation__actions','isVisible','bind','ck-context--quotes','ck-thread__header','context','_model','ck-context-wrapper','isEnabled','div','.ck-context','ck-context','querySelector','contextValue','_trimContextValue','reopenButtonView','fire','setTemplate','lastIndexOf','classList'];(function(_0x1a7d57,_0x2a5e08){const _0x2753de=function(_0x5219e4){while(--_0x5219e4){_0x1a7d57['push'](_0x1a7d57['shift']());}};_0x2753de(++_0x2a5e08);}(_0x2a5e,0xd3));const _0x2753=function(_0x1a7d57,_0x2a5e08){_0x1a7d57=_0x1a7d57-0x0;let _0x2753de=_0x2a5e[_0x1a7d57];return _0x2753de;};import{View as _0x4750e5,ButtonView as _0x263ca4}from'ckeditor5/src/ui.js';import{getTranslation as _0x563c8c}from'../../../utils/common-translations.js';import _0x27f26b from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x4750e5{constructor(_0x12f6a7,_0x156438){super(_0x12f6a7);const _0x5e5dbd=this['bindTemplate'];this[_0x2753('0x15')]=_0x156438,this[_0x2753('0x1e')]=this[_0x2753('0x2')](),this[_0x2753('0x11')](_0x2753('0xa'))['to'](this['_model'],'context',_0x439273=>!!_0x439273),this[_0x2753('0x11')](_0x2753('0x1c'))['to'](this[_0x2753('0x15')],_0x2753('0x14'),_0x4eafba=>_0x4eafba&&_0x4eafba['value']?this[_0x2753('0x1d')](_0x4eafba[_0x2753('0x3')]):_0x563c8c(this[_0x2753('0x0')],_0x2753('0xd'))),this[_0x2753('0x20')]({'tag':_0x2753('0x18'),'attributes':{'class':[_0x2753('0x13')]},'children':[{'tag':_0x2753('0x18'),'attributes':{'class':[_0x2753('0x16')]},'children':[{'tag':_0x2753('0x18'),'attributes':{'class':[_0x2753('0x1a'),_0x5e5dbd['if'](_0x2753('0xa'),_0x2753('0x12'))]},'children':[{'tag':_0x2753('0xb'),'attributes':{'class':['ck-context__value']},'children':[{'text':_0x5e5dbd['to']('contextValue')}]}]}]},{'tag':_0x2753('0x18'),'attributes':{'class':[_0x2753('0xf')]},'children':[this[_0x2753('0x1e')]]}]});}[_0x2753('0x9')](){super[_0x2753('0x9')](),this[_0x2753('0x24')]();}['_createReopenButton'](){const _0x105be4=new _0x263ca4(this[_0x2753('0x0')]);return _0x105be4[_0x2753('0x8')]=_0x563c8c(this[_0x2753('0x0')],'Reopen'),_0x105be4['tooltip']=_0x563c8c(this[_0x2753('0x0')],'Reopen'),_0x105be4['icon']=_0x27f26b,_0x105be4[_0x2753('0x11')](_0x2753('0x17'))['to'](this[_0x2753('0x15')],_0x2753('0x23'),_0x2c4872=>!_0x2c4872),_0x105be4['bind'](_0x2753('0x10'))['to'](this[_0x2753('0x15')],_0x2753('0x28'),this[_0x2753('0x15')],'isResolved',(_0x185a57,_0x294294)=>_0x185a57&&_0x294294),_0x105be4['on']('execute',()=>{this[_0x2753('0x1f')]('reopenCommentThread',this[_0x2753('0x15')]['id']);}),_0x105be4;}[_0x2753('0x1d')](_0x11f9e1){if(_0x11f9e1[_0x2753('0x26')]<0x96)return _0x11f9e1;const _0x20b06c=_0x11f9e1[_0x2753('0x21')]('\x20',0x93);return _0x11f9e1[_0x2753('0x6')](0x0,_0x20b06c>-0x1?_0x20b06c:0x93)+_0x2753('0x7');}[_0x2753('0x24')](){const _0x50d164=this[_0x2753('0x25')][_0x2753('0x1b')](_0x2753('0x19')),_0x13dfac=_0x50d164[_0x2753('0x1b')]('.ck-context__value');this[_0x2753('0x5')](_0x50d164,'mouseenter',()=>{_0x13dfac[_0x2753('0xe')]<_0x13dfac[_0x2753('0xc')]&&_0x50d164['classList']['add'](_0x2753('0x27'));}),this['listenTo'](_0x50d164,_0x2753('0x4'),()=>{_0x50d164[_0x2753('0x22')][_0x2753('0x1')](_0x2753('0x27'));});}}
23
+ const _0x5530=['remove','isVisible','isResolvable','render','value','mouseleave','.ck-context__value','locale','context','isResolved','ck-context-wrapper','bindTemplate','contextValue','execute','length','ck-context','classList','listenTo','substring','label','hasContext','_model','bind','ck-context--quotes','overlay','_createReopenButton','fire','.ck-context','...','offsetWidth','Reopen','span','scrollWidth','lastIndexOf','Comment\x20was\x20made\x20on\x20an\x20element','div','ck-context__value','_attachContextActions','_trimContextValue','reopenButtonView','isReadOnly','querySelector','reopenCommentThread','ck-annotation__actions'];(function(_0x40f88d,_0x5530d1){const _0x4dbc09=function(_0xeca5dd){while(--_0xeca5dd){_0x40f88d['push'](_0x40f88d['shift']());}};_0x4dbc09(++_0x5530d1);}(_0x5530,0x175));const _0x4dbc=function(_0x40f88d,_0x5530d1){_0x40f88d=_0x40f88d-0x0;let _0x4dbc09=_0x5530[_0x40f88d];return _0x4dbc09;};import{View as _0x1c56e7,ButtonView as _0x2dcd1c}from'ckeditor5/src/ui.js';import{getTranslation as _0xda7a6c}from'../../../utils/common-translations.js';import _0x19dab0 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x1c56e7{constructor(_0x5a30e0,_0x334547){super(_0x5a30e0);const _0x4d56ad=this[_0x4dbc('0x22')];this[_0x4dbc('0x0')]=_0x334547,this[_0x4dbc('0x12')]=this[_0x4dbc('0x4')](),this[_0x4dbc('0x1')](_0x4dbc('0x2b'))['to'](this[_0x4dbc('0x0')],_0x4dbc('0x1f'),_0x186627=>!!_0x186627),this[_0x4dbc('0x1')](_0x4dbc('0x23'))['to'](this[_0x4dbc('0x0')],_0x4dbc('0x1f'),_0x1a8321=>_0x1a8321&&_0x1a8321[_0x4dbc('0x1b')]?this[_0x4dbc('0x11')](_0x1a8321[_0x4dbc('0x1b')]):_0xda7a6c(this[_0x4dbc('0x1e')],_0x4dbc('0xd'))),this['setTemplate']({'tag':'div','attributes':{'class':['ck-thread__header']},'children':[{'tag':'div','attributes':{'class':[_0x4dbc('0x21')]},'children':[{'tag':_0x4dbc('0xe'),'attributes':{'class':[_0x4dbc('0x26'),_0x4d56ad['if'](_0x4dbc('0x2b'),_0x4dbc('0x2'))]},'children':[{'tag':_0x4dbc('0xa'),'attributes':{'class':[_0x4dbc('0xf')]},'children':[{'text':_0x4d56ad['to']('contextValue')}]}]}]},{'tag':_0x4dbc('0xe'),'attributes':{'class':[_0x4dbc('0x16')]},'children':[this[_0x4dbc('0x12')]]}]});}[_0x4dbc('0x1a')](){super[_0x4dbc('0x1a')](),this[_0x4dbc('0x10')]();}[_0x4dbc('0x4')](){const _0x3b491d=new _0x2dcd1c(this[_0x4dbc('0x1e')]);return _0x3b491d[_0x4dbc('0x2a')]=_0xda7a6c(this[_0x4dbc('0x1e')],_0x4dbc('0x9')),_0x3b491d['tooltip']=_0xda7a6c(this[_0x4dbc('0x1e')],_0x4dbc('0x9')),_0x3b491d['icon']=_0x19dab0,_0x3b491d['bind']('isEnabled')['to'](this['_model'],_0x4dbc('0x13'),_0x3677ab=>!_0x3677ab),_0x3b491d['bind'](_0x4dbc('0x18'))['to'](this[_0x4dbc('0x0')],_0x4dbc('0x19'),this[_0x4dbc('0x0')],_0x4dbc('0x20'),(_0x3107fe,_0xb05093)=>_0x3107fe&&_0xb05093),_0x3b491d['on'](_0x4dbc('0x24'),()=>{this[_0x4dbc('0x5')](_0x4dbc('0x15'),this[_0x4dbc('0x0')]['id']);}),_0x3b491d;}[_0x4dbc('0x11')](_0x199add){if(_0x199add[_0x4dbc('0x25')]<0x96)return _0x199add;const _0x2207a3=_0x199add[_0x4dbc('0xc')]('\x20',0x93);return _0x199add[_0x4dbc('0x29')](0x0,_0x2207a3>-0x1?_0x2207a3:0x93)+_0x4dbc('0x7');}[_0x4dbc('0x10')](){const _0x4c7988=this['element'][_0x4dbc('0x14')](_0x4dbc('0x6')),_0x325f2e=_0x4c7988[_0x4dbc('0x14')](_0x4dbc('0x1d'));this[_0x4dbc('0x28')](_0x4c7988,'mouseenter',()=>{_0x325f2e[_0x4dbc('0x8')]<_0x325f2e[_0x4dbc('0xb')]&&_0x4c7988[_0x4dbc('0x27')]['add'](_0x4dbc('0x3'));}),this[_0x4dbc('0x28')](_0x4c7988,_0x4dbc('0x1c'),()=>{_0x4c7988[_0x4dbc('0x27')][_0x4dbc('0x17')](_0x4dbc('0x3'));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x7652=['bindTemplate','showInput','showButtons','userView','commentInputView','isFocused','setTemplate','editor','bind','extendTemplate','editorReady','value','div','ck-comment__input-container','ck-thread__input','destroy','ck-comment__input-container--active'];(function(_0x1d01ae,_0x765245){var _0x3573cc=function(_0x5c4159){while(--_0x5c4159){_0x1d01ae['push'](_0x1d01ae['shift']());}};_0x3573cc(++_0x765245);}(_0x7652,0xdd));var _0x3573=function(_0x1d01ae,_0x765245){_0x1d01ae=_0x1d01ae-0x0;var _0x3573cc=_0x7652[_0x1d01ae];return _0x3573cc;};import{View as _0x32a4b2}from'ckeditor5/src/ui.js';import _0x246a51 from'./commentinputview.js';import{UserView as _0x2869ca}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Ct extends _0x32a4b2{constructor(_0x2efb45,_0x343dff,_0x28b77f){super(_0x2efb45),this[_0x3573('0x4')]=new _0x246a51(_0x2efb45,_0x28b77f),this[_0x3573('0x4')][_0x3573('0x8')](_0x3573('0x2'))['to'](this[_0x3573('0x4')]['focusTracker'],_0x3573('0x5'),this[_0x3573('0x4')],_0x3573('0xb'),(_0x316080,_0x40957f)=>_0x316080||!!_0x40957f),this['set'](_0x3573('0x1'),!0x1),this['on']('change:showInput',()=>{this['showInput']&&!this['commentInputView'][_0x3573('0x7')]&&this[_0x3573('0x4')]['createEditor']();}),this[_0x3573('0x4')]['delegate'](_0x3573('0xa'))['to'](this),this['commentInputView']['delegate']('editorDestroyed')['to'](this),this['userView']=new _0x2869ca(_0x2efb45,_0x343dff),this['userView'][_0x3573('0x9')]({'attributes':{'class':'ck-thread__user'}}),this['commentInputView'][_0x3573('0x9')]({'attributes':{'class':_0x3573('0xe')}}),this[_0x3573('0x6')]({'tag':_0x3573('0xc'),'attributes':{'class':[_0x3573('0xd'),this[_0x3573('0x0')]['if'](_0x3573('0x1'),_0x3573('0x10'))]},'children':[this[_0x3573('0x3')],this['commentInputView']]});}['destroy'](){return this['commentInputView'][_0x3573('0xf')]()['then'](()=>super[_0x3573('0xf')]());}}
23
+ var _0x2c5e=['div','change:showInput','commentInputView','then','focusTracker','delegate','set','setTemplate','ck-comment__input-container--active','bindTemplate','extendTemplate','destroy','showInput','userView','ck-thread__input','editor','showButtons','isFocused','ck-comment__input-container','editorDestroyed'];(function(_0x46b3e2,_0x2c5ee3){var _0x1b7ea8=function(_0x19c262){while(--_0x19c262){_0x46b3e2['push'](_0x46b3e2['shift']());}};_0x1b7ea8(++_0x2c5ee3);}(_0x2c5e,0x18d));var _0x1b7e=function(_0x46b3e2,_0x2c5ee3){_0x46b3e2=_0x46b3e2-0x0;var _0x1b7ea8=_0x2c5e[_0x46b3e2];return _0x1b7ea8;};import{View as _0x10792b}from'ckeditor5/src/ui.js';import _0x188c01 from'./commentinputview.js';import{UserView as _0x368b2a}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Ct extends _0x10792b{constructor(_0x3c3d2d,_0x2e4c24,_0x427a79){super(_0x3c3d2d),this[_0x1b7e('0x5')]=new _0x188c01(_0x3c3d2d,_0x427a79),this[_0x1b7e('0x5')]['bind'](_0x1b7e('0x13'))['to'](this['commentInputView'][_0x1b7e('0x7')],_0x1b7e('0x0'),this[_0x1b7e('0x5')],'value',(_0x4625a6,_0x4739e7)=>_0x4625a6||!!_0x4739e7),this[_0x1b7e('0x9')](_0x1b7e('0xf'),!0x1),this['on'](_0x1b7e('0x4'),()=>{this[_0x1b7e('0xf')]&&!this[_0x1b7e('0x5')][_0x1b7e('0x12')]&&this[_0x1b7e('0x5')]['createEditor']();}),this[_0x1b7e('0x5')][_0x1b7e('0x8')]('editorReady')['to'](this),this['commentInputView'][_0x1b7e('0x8')](_0x1b7e('0x2'))['to'](this),this[_0x1b7e('0x10')]=new _0x368b2a(_0x3c3d2d,_0x2e4c24),this[_0x1b7e('0x10')][_0x1b7e('0xd')]({'attributes':{'class':'ck-thread__user'}}),this[_0x1b7e('0x5')][_0x1b7e('0xd')]({'attributes':{'class':_0x1b7e('0x11')}}),this[_0x1b7e('0xa')]({'tag':_0x1b7e('0x3'),'attributes':{'class':[_0x1b7e('0x1'),this[_0x1b7e('0xc')]['if'](_0x1b7e('0xf'),_0x1b7e('0xb'))]},'children':[this['userView'],this[_0x1b7e('0x5')]]});}[_0x1b7e('0xe')](){return this['commentInputView'][_0x1b7e('0xe')]()[_0x1b7e('0x6')](()=>super[_0x1b7e('0xe')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb341=['div','remove','ck-thread--','change:isReadOnly','isActive','isVisible','commentsListView','add','execute','resolveButton','ck-thread--unlinked','setTemplate','containerElement','Write\x20a\x20comment...','Resolve','isSystemComment','bindTemplate','check','removeButton','_cancelAllConfirms','isReadOnly','_bindFirstCommentView','fire','change:isActive','_model','locale','bind','isEnabled','getTemplate','high','isResolvable','ck-thread__container','get','set','commentViews','_createResolveButton','element','.ck-thread__container','commentThreadInputView','_boundFirstCommentView','placeholder','then','commentThreadChildren','resolveCommentThread','showConfirm','commentThreadHeaderView','ck-thread--active','addMany','isUnlinked','querySelector','ck-reset_all-excluded','unbind','stop','tooltip','listenTo','actionIndicator','cancelConfirm','archivedAt','render','removeCommentThread','length'];(function(_0x17c2af,_0xb34123){const _0x5ef52c=function(_0x58e753){while(--_0x58e753){_0x17c2af['push'](_0x17c2af['shift']());}};_0x5ef52c(++_0xb34123);}(_0xb341,0xc7));const _0x5ef5=function(_0x17c2af,_0xb34123){_0x17c2af=_0x17c2af-0x0;let _0x5ef52c=_0xb341[_0x17c2af];return _0x5ef52c;};import{ConfirmMixin as _0x21be25}from'ckeditor5-collaboration/src/collaboration-core.js';import{ButtonView as _0x2bc4b0}from'ckeditor5/src/ui.js';import{icons as _0x5bc7d0}from'ckeditor5/src/core.js';import _0x296c87 from'./basecommentthreadview.js';import{getTranslation as _0x27e2fb}from'../../../utils/common-translations.js';export default class ft extends _0x21be25(_0x296c87){constructor(_0x19bdc7,_0x3e52bb,_0x14e5f3,_0x3c7ce2){super(_0x19bdc7,_0x3e52bb,_0x14e5f3,_0x3c7ce2),this[_0x5ef5('0x1a')]=this['createCollection'](),this[_0x5ef5('0x1a')][_0x5ef5('0x1f')]([this[_0x5ef5('0x33')],this[_0x5ef5('0x16')]]),this[_0x5ef5('0x8')][_0x5ef5('0x29')]&&this[_0x5ef5('0x1a')][_0x5ef5('0x34')](this['commentThreadHeaderView'],0x0),this[_0x5ef5('0x8')]['on']('change:archivedAt',(_0x484cfd,_0x38e081,_0x5d0108)=>{_0x5d0108?this[_0x5ef5('0x1a')]['has'](this[_0x5ef5('0x1d')])||this[_0x5ef5('0x1a')][_0x5ef5('0x34')](this[_0x5ef5('0x1d')],0x0):this[_0x5ef5('0x1a')][_0x5ef5('0x2e')](this[_0x5ef5('0x1d')]);}),this[_0x5ef5('0x11')]('actionIndicator',null),this[_0x5ef5('0x39')]=null,this[_0x5ef5('0x17')]=null,this[_0x5ef5('0x9')]=_0x19bdc7,this[_0x5ef5('0x36')]=this[_0x5ef5('0x13')](),this[_0x5ef5('0x38')](this[_0x5ef5('0xc')]()),this['on'](_0x5ef5('0x7'),(_0x25d130,_0x4bb422,_0x513968)=>{_0x513968||this[_0x5ef5('0x3')]();}),this[_0x5ef5('0x26')](this[_0x5ef5('0x8')],_0x5ef5('0x30'),(_0x2857a2,_0x1824f8,_0x435a56)=>{_0x435a56&&this[_0x5ef5('0x3')]();}),this[_0x5ef5('0x2c')]>0x0&&this['_bindFirstCommentView'](),this[_0x5ef5('0x26')](this[_0x5ef5('0x33')][_0x5ef5('0x12')],_0x5ef5('0x34'),()=>{this[_0x5ef5('0x5')]();});}[_0x5ef5('0xc')](){const _0xa35b1d=this[_0x5ef5('0x0')];return{'tag':_0x5ef5('0x2d'),'attributes':{'class':['ck-thread',_0x5ef5('0x22'),_0xa35b1d['if'](_0x5ef5('0x31'),_0x5ef5('0x1e')),_0xa35b1d['if'](_0x5ef5('0x20'),_0x5ef5('0x37')),_0xa35b1d['if']('isConfirm','ck-thread--remove-confirmation'),_0xa35b1d['to']('actionIndicator',_0x1bb421=>_0x1bb421?_0x5ef5('0x2f')+_0x1bb421:'')],'data-thread-id':this['_model']['id'],'tabindex':-0x1},'children':[{'tag':_0x5ef5('0x2d'),'attributes':{'class':_0x5ef5('0xf')},'children':this[_0x5ef5('0x1a')]}]};}[_0x5ef5('0x2a')](){super['render'](),this[_0x5ef5('0x39')]=this[_0x5ef5('0x14')][_0x5ef5('0x21')](_0x5ef5('0x15'));}[_0x5ef5('0x3')](){this[_0x5ef5('0x28')]();for(const _0x5edd7d of this[_0x5ef5('0x33')][_0x5ef5('0x12')])_0x5edd7d[_0x5ef5('0x28')]();}[_0x5ef5('0x5')](){const {locale:_0x3b8624}=this,_0x45f34e=this['commentsListView'][_0x5ef5('0x12')][_0x5ef5('0x10')](0x0);_0x45f34e===this['_boundFirstCommentView']||_0x45f34e[_0x5ef5('0x3c')]||(this['_boundFirstCommentView']=_0x45f34e,this[_0x5ef5('0x23')]('actionIndicator'),this[_0x5ef5('0xa')](_0x5ef5('0x27'))['to'](_0x45f34e,'actionIndicator',_0x24d2da=>'remove'===_0x24d2da?_0x5ef5('0x2e'):null),_0x45f34e[_0x5ef5('0x18')]=_0x27e2fb(_0x3b8624,_0x5ef5('0x3a')),_0x45f34e[_0x5ef5('0x2')]['on'](_0x5ef5('0x35'),_0x1aa124=>{_0x1aa124[_0x5ef5('0x24')](),this[_0x5ef5('0x1c')](_0x27e2fb(_0x3b8624,'Delete\x20comment\x20thread?'),this['containerElement'])[_0x5ef5('0x19')](()=>{this[_0x5ef5('0x6')](_0x5ef5('0x2b'));});},{'priority':_0x5ef5('0xd')}),_0x45f34e['actionBar']['add'](this[_0x5ef5('0x36')],0x0));}[_0x5ef5('0x13')](){const _0x29ad5f=new _0x2bc4b0(this[_0x5ef5('0x9')]);return _0x29ad5f['label']=_0x27e2fb(this[_0x5ef5('0x9')],_0x5ef5('0x3b')),_0x29ad5f[_0x5ef5('0x25')]=_0x27e2fb(this[_0x5ef5('0x9')],'Resolve'),_0x29ad5f['icon']=_0x5bc7d0[_0x5ef5('0x1')],_0x29ad5f['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0x29ad5f['bind'](_0x5ef5('0xb'))['to'](this[_0x5ef5('0x8')],_0x5ef5('0x4'),_0x573d39=>!_0x573d39),_0x29ad5f[_0x5ef5('0xa')](_0x5ef5('0x32'))['to'](this['_model'],_0x5ef5('0xe'),this['_model'],'isResolved',(_0x4d66b3,_0x79ab0d)=>_0x4d66b3&&!_0x79ab0d),_0x29ad5f['on']('execute',()=>{this[_0x5ef5('0x6')](_0x5ef5('0x1b'),this[_0x5ef5('0x8')]['id']);}),_0x29ad5f;}}
23
+ const _0x1e06=['div','Resolve','Delete\x20comment\x20thread?','tooltip','ck-thread--remove-confirmation','set','isVisible','bind','ck-reset_all-excluded','unbind','change:isReadOnly','querySelector','setTemplate','add','high','resolveButton','icon','_createResolveButton','stop','getTemplate','locale','change:isActive','isResolved','containerElement','listenTo','_boundFirstCommentView','ck-thread--','isConfirm','extendTemplate','archivedAt','resolveCommentThread','actionIndicator','commentsListView','addMany','placeholder','commentThreadChildren','cancelConfirm','_model','remove','isResolvable','ck-comment--resolve','showConfirm','isEnabled','length','_cancelAllConfirms','change:archivedAt','commentThreadHeaderView','fire','render','ck-thread--unlinked','isUnlinked','ck-thread__container','_bindFirstCommentView','then','commentViews','ck-thread--active','removeButton','removeCommentThread','.ck-thread__container','execute','Write\x20a\x20comment...','commentThreadInputView','isActive','createCollection'];(function(_0x5e7111,_0x1e0618){const _0x5df9f3=function(_0x31f30d){while(--_0x31f30d){_0x5e7111['push'](_0x5e7111['shift']());}};_0x5df9f3(++_0x1e0618);}(_0x1e06,0x1f1));const _0x5df9=function(_0x5e7111,_0x1e0618){_0x5e7111=_0x5e7111-0x0;let _0x5df9f3=_0x1e06[_0x5e7111];return _0x5df9f3;};import{ConfirmMixin as _0x275071}from'ckeditor5-collaboration/src/collaboration-core.js';import{ButtonView as _0x236e2d}from'ckeditor5/src/ui.js';import{icons as _0x153942}from'ckeditor5/src/core.js';import _0x2ec5bf from'./basecommentthreadview.js';import{getTranslation as _0x5c2e71}from'../../../utils/common-translations.js';export default class ft extends _0x275071(_0x2ec5bf){constructor(_0x1e9f71,_0x4757be,_0x2c9b9c,_0x2b910b){super(_0x1e9f71,_0x4757be,_0x2c9b9c,_0x2b910b),this[_0x5df9('0x32')]=this[_0x5df9('0xe')](),this[_0x5df9('0x32')][_0x5df9('0x30')]([this[_0x5df9('0x2f')],this[_0x5df9('0xc')]]),this['_model'][_0x5df9('0x2c')]&&this['commentThreadChildren']['add'](this['commentThreadHeaderView'],0x0),this[_0x5df9('0x34')]['on'](_0x5df9('0x3c'),(_0x34b358,_0xfee6f0,_0xba75ee)=>{_0xba75ee?this[_0x5df9('0x32')]['has'](this[_0x5df9('0x3d')])||this[_0x5df9('0x32')][_0x5df9('0x1c')](this[_0x5df9('0x3d')],0x0):this[_0x5df9('0x32')][_0x5df9('0x35')](this[_0x5df9('0x3d')]);}),this[_0x5df9('0x14')](_0x5df9('0x2e'),null),this[_0x5df9('0x26')]=null,this[_0x5df9('0x28')]=null,this[_0x5df9('0x23')]=_0x1e9f71,this[_0x5df9('0x1e')]=this[_0x5df9('0x20')](),this[_0x5df9('0x1b')](this['getTemplate']()),this['on'](_0x5df9('0x24'),(_0x56bfa1,_0x548ccd,_0x59a49d)=>{_0x59a49d||this[_0x5df9('0x3b')]();}),this[_0x5df9('0x27')](this[_0x5df9('0x34')],_0x5df9('0x19'),(_0x4898cf,_0x23098d,_0x65071e)=>{_0x65071e&&this[_0x5df9('0x3b')]();}),this[_0x5df9('0x3a')]>0x0&&this[_0x5df9('0x3')](),this[_0x5df9('0x27')](this[_0x5df9('0x2f')][_0x5df9('0x5')],_0x5df9('0x1c'),()=>{this[_0x5df9('0x3')]();});}[_0x5df9('0x22')](){const _0x37e1b5=this['bindTemplate'];return{'tag':_0x5df9('0xf'),'attributes':{'class':['ck-thread',_0x5df9('0x17'),_0x37e1b5['if'](_0x5df9('0xd'),_0x5df9('0x6')),_0x37e1b5['if'](_0x5df9('0x1'),_0x5df9('0x0')),_0x37e1b5['if'](_0x5df9('0x2a'),_0x5df9('0x13')),_0x37e1b5['to'](_0x5df9('0x2e'),_0x1e02d7=>_0x1e02d7?_0x5df9('0x29')+_0x1e02d7:'')],'data-thread-id':this[_0x5df9('0x34')]['id'],'tabindex':-0x1},'children':[{'tag':_0x5df9('0xf'),'attributes':{'class':_0x5df9('0x2')},'children':this[_0x5df9('0x32')]}]};}[_0x5df9('0x3f')](){super[_0x5df9('0x3f')](),this[_0x5df9('0x26')]=this['element'][_0x5df9('0x1a')](_0x5df9('0x9'));}['_cancelAllConfirms'](){this[_0x5df9('0x33')]();for(const _0x4fc038 of this[_0x5df9('0x2f')]['commentViews'])_0x4fc038[_0x5df9('0x33')]();}[_0x5df9('0x3')](){const {locale:_0x51e887}=this,_0x562257=this[_0x5df9('0x2f')][_0x5df9('0x5')]['get'](0x0);_0x562257===this['_boundFirstCommentView']||_0x562257['isSystemComment']||(this[_0x5df9('0x28')]=_0x562257,this[_0x5df9('0x18')](_0x5df9('0x2e')),this[_0x5df9('0x16')](_0x5df9('0x2e'))['to'](_0x562257,_0x5df9('0x2e'),_0x122796=>_0x5df9('0x35')===_0x122796?_0x5df9('0x35'):null),_0x562257[_0x5df9('0x31')]=_0x5c2e71(_0x51e887,_0x5df9('0xb')),_0x562257[_0x5df9('0x7')]['on'](_0x5df9('0xa'),_0x511912=>{_0x511912[_0x5df9('0x21')](),this[_0x5df9('0x38')](_0x5c2e71(_0x51e887,_0x5df9('0x11')),this[_0x5df9('0x26')])[_0x5df9('0x4')](()=>{this[_0x5df9('0x3e')](_0x5df9('0x8'));});},{'priority':_0x5df9('0x1d')}),_0x562257['actionBar'][_0x5df9('0x1c')](this[_0x5df9('0x1e')],0x0));}['_createResolveButton'](){const _0x11a457=new _0x236e2d(this['locale']);return _0x11a457['label']=_0x5c2e71(this[_0x5df9('0x23')],'Resolve'),_0x11a457[_0x5df9('0x12')]=_0x5c2e71(this[_0x5df9('0x23')],_0x5df9('0x10')),_0x11a457[_0x5df9('0x1f')]=_0x153942['check'],_0x11a457[_0x5df9('0x2b')]({'attributes':{'class':_0x5df9('0x37')}}),_0x11a457['bind'](_0x5df9('0x39'))['to'](this['_model'],'isReadOnly',_0x2ed6a3=>!_0x2ed6a3),_0x11a457['bind'](_0x5df9('0x15'))['to'](this[_0x5df9('0x34')],_0x5df9('0x36'),this[_0x5df9('0x34')],_0x5df9('0x25'),(_0x1e4848,_0x2222d6)=>_0x1e4848&&!_0x2222d6),_0x11a457['on'](_0x5df9('0xa'),()=>{this[_0x5df9('0x3e')](_0x5df9('0x2d'),this['_model']['id']);}),_0x11a457;}}