@ckeditor/ckeditor5-comments 0.0.0-nightly-20240124.0 → 0.0.0-nightly-20240126.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 _0x6ff7=['collaboration_features','dataInsert','addCommentThread','_handleImportedData','listenTo','plugins','get','importWord','high','editor','map','execute','afterInit','forEach','collaboration.channelId','define','commands','basic','config'];(function(_0x368c93,_0x6ff775){const _0x2067a0=function(_0x1f1d82){while(--_0x1f1d82){_0x368c93['push'](_0x368c93['shift']());}};_0x2067a0(++_0x6ff775);}(_0x6ff7,0x149));const _0x2067=function(_0x368c93,_0x6ff775){_0x368c93=_0x368c93-0x0;let _0x2067a0=_0x6ff7[_0x368c93];return _0x2067a0;};import{Plugin as _0x19303b}from'ckeditor5/src/core.js';import{priorities as _0x3cc53a}from'ckeditor5/src/utils.js';import{Users as _0x4c327c}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1fb114 from'../commentsrepository.js';export default class Z extends _0x19303b{constructor(_0x379e7f){super(_0x379e7f),this[_0x2067('0x3')][_0x2067('0xc')][_0x2067('0x9')]('importWord.formatting.comments',_0x2067('0xb'));}[_0x2067('0x6')](){const _0x2019c1=this[_0x2067('0x3')],_0x149c73=_0x2019c1[_0x2067('0xa')]['get']('importWord'),_0x7afb64=_0x2019c1[_0x2067('0x12')][_0x2067('0x0')](_0x4c327c);_0x149c73&&(_0x149c73['on'](_0x2067('0x5'),(_0x46fc7b,[,_0x4d1914])=>{_0x4d1914[_0x2067('0xd')]={'comments':!0x0,'user_id':_0x7afb64['me']['id']};},{'priority':_0x3cc53a[_0x2067('0x2')]+0xa}),this[_0x2067('0x11')](_0x149c73,_0x2067('0xe'),this[_0x2067('0x10')]));}[_0x2067('0x10')](_0x340bd8,_0x185016){const {comment_threads:_0x479ace}=_0x185016;_0x479ace&&_0x479ace[_0x2067('0x7')](({thread_id:_0x1c2136,comments:_0x3c6def,is_resolved:_0x265ecb})=>{const _0x526f95=new Date(),_0x5bc8a4=_0x3c6def[_0x2067('0x4')](({author:_0x513160,content:_0x5b06df,created_at:_0xea44cf})=>({'content':_0x5b06df,'authorId':this['editor']['plugins'][_0x2067('0x0')](_0x4c327c)['me']['id'],'createdAt':_0x526f95,'attributes':{'@external':{'authorName':_0x513160,'createdAt':_0xea44cf?new Date(_0xea44cf):new Date(),'source':_0x2067('0x1')}}})),_0x2dc278=this['editor'][_0x2067('0xc')][_0x2067('0x0')](_0x2067('0x8'));this[_0x2067('0x3')]['plugins']['get'](_0x1fb114)[_0x2067('0xf')]({'channelId':_0x2dc278,'threadId':_0x1c2136,'comments':_0x5bc8a4,'resolvedAt':_0x265ecb?_0x526f95: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 _0x1e80=['get','change','defaultPlugins','model','change:placeholder','getRoot','view','assign','create','setSelection','initialData','ready','end','createRoot','name','placeholder','plugins','then','data','low','childCount','set','_updatePlaceholder','placeholderElement','fire','focus','getChild','document','editing','initPlugins','destroy','config'];(function(_0x391d0e,_0x1e8091){const _0x200bf9=function(_0xdaa57d){while(--_0xdaa57d){_0x391d0e['push'](_0x391d0e['shift']());}};_0x200bf9(++_0x1e8091);}(_0x1e80,0x154));const _0x200b=function(_0x391d0e,_0x1e8091){_0x391d0e=_0x391d0e-0x0;let _0x200bf9=_0x1e80[_0x391d0e];return _0x200bf9;};import{Editor as _0x2928ef,DataApiMixin as _0x27764a}from'ckeditor5/src/core.js';import _0x3de199 from'./commenteditorui.js';import{ObservableMixin as _0x3f0b1a}from'ckeditor5/src/utils.js';import{enablePlaceholder as _0x2671e3,disablePlaceholder as _0x255f6c}from'ckeditor5/src/engine.js';import{Clipboard as _0x10f001}from'ckeditor5/src/clipboard.js';import{Enter as _0x4208ee,ShiftEnter as _0x5b7af4}from'ckeditor5/src/enter.js';import{SelectAll as _0x27fc26}from'ckeditor5/src/select-all.js';import{Typing as _0x1d8ceb}from'ckeditor5/src/typing.js';import{Undo as _0x3f7c91}from'ckeditor5/src/undo.js';import{Paragraph as _0x772e28}from'ckeditor5/src/paragraph.js';const Mt=[_0x10f001,_0x4208ee,_0x5b7af4,_0x27fc26,_0x1d8ceb,_0x3f7c91,_0x772e28];class Nt extends _0x3f0b1a(_0x27764a(_0x2928ef)){constructor(_0x1e90f9={}){(_0x1e90f9=Object[_0x200b('0x13')]({},_0x1e90f9))[_0x200b('0x1c')]||(_0x1e90f9[_0x200b('0x1c')]=Nt[_0x200b('0xe')]),super(_0x1e90f9),this['ui']=new _0x3de199(this),this[_0x200b('0x1')]('placeholder',''),this['model']['document']['on'](_0x200b('0xd'),()=>this[_0x200b('0x2')](),{'priority':_0x200b('0x1f')}),this['on'](_0x200b('0x10'),()=>this['_updatePlaceholder']()),this[_0x200b('0xf')][_0x200b('0x7')][_0x200b('0x19')]();}[_0x200b('0x14')](){const _0x4823d5=this[_0x200b('0xb')][_0x200b('0xc')](_0x200b('0x16'))||'';return this[_0x200b('0x9')]()['then'](()=>this['ui']['init']())[_0x200b('0x1d')](()=>this[_0x200b('0x1e')]['init'](_0x4823d5))['then'](()=>this[_0x200b('0x4')](_0x200b('0x17')));}[_0x200b('0xa')](){return super[_0x200b('0xa')]()[_0x200b('0x1d')](()=>this['ui'][_0x200b('0xa')]());}[_0x200b('0x5')](){this[_0x200b('0xf')][_0x200b('0xd')](_0x2ffdbc=>{const _0x576cc7=this[_0x200b('0xf')][_0x200b('0x7')][_0x200b('0x11')](),_0x1518f2=_0x576cc7&&_0x576cc7[_0x200b('0x6')](_0x576cc7[_0x200b('0x0')]-0x1);_0x2ffdbc[_0x200b('0x15')](_0x1518f2,_0x200b('0x18')),this['editing']['view'][_0x200b('0x5')]();});}[_0x200b('0x2')](){const _0x3a701b=this[_0x200b('0x8')][_0x200b('0x12')],_0x4115c8=_0x3a701b['document']['getRoot'](),_0x2524df=_0x4115c8[_0x200b('0x6')](0x0);_0x4115c8['childCount']>0x1||!_0x2524df||'p'!=_0x2524df[_0x200b('0x1a')]?this[_0x200b('0x3')]&&this[_0x200b('0x3')][_0x200b('0x1b')]&&(_0x255f6c(_0x3a701b,this[_0x200b('0x3')]),this['placeholderElement']=void 0x0):(this[_0x200b('0x1b')]&&(_0x2524df[_0x200b('0x1b')]=this[_0x200b('0x1b')]),_0x2671e3({'view':_0x3a701b,'element':_0x2524df,'keepOnFocus':!0x0}),this['placeholderElement']=_0x2524df);}}Nt['defaultPlugins']=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 _0x44d2=['isFocused','bind','document','rootName','setEditableElement','ready','editing','init','render','locale','view','focusTracker','destroy','element','name','fire','getRoot','editable'];(function(_0x881ca1,_0x44d289){const _0x1e7069=function(_0x1f5583){while(--_0x1f5583){_0x881ca1['push'](_0x881ca1['shift']());}};_0x1e7069(++_0x44d289);}(_0x44d2,0x87));const _0x1e70=function(_0x881ca1,_0x44d289){_0x881ca1=_0x881ca1-0x0;let _0x1e7069=_0x44d2[_0x881ca1];return _0x1e7069;};import{EditorUI as _0xc97d4c}from'ckeditor5/src/ui.js';import _0x545d00 from'./commenteditoruiview.js';export default class Ft extends _0xc97d4c{constructor(_0x1a3b26){super(_0x1a3b26),this[_0x1e70('0x1')]=new _0x545d00(_0x1a3b26[_0x1e70('0x0')],_0x1a3b26[_0x1e70('0xf')][_0x1e70('0x1')]);}get[_0x1e70('0x4')](){return this[_0x1e70('0x1')][_0x1e70('0x4')];}[_0x1e70('0x10')](){const _0xd6cf6f=this['editor'][_0x1e70('0xf')][_0x1e70('0x1')],_0x246fa6=this[_0x1e70('0x1')][_0x1e70('0x8')],_0x12543f=_0xd6cf6f[_0x1e70('0xb')][_0x1e70('0x7')]();_0x246fa6[_0x1e70('0x5')]=_0x12543f[_0x1e70('0xc')],this[_0x1e70('0x1')][_0x1e70('0x11')]();const _0x50d8ba=_0x246fa6[_0x1e70('0x4')];this[_0x1e70('0xd')](_0x246fa6[_0x1e70('0x5')],_0x50d8ba),this[_0x1e70('0x1')][_0x1e70('0x8')][_0x1e70('0xa')](_0x1e70('0x9'))['to'](this[_0x1e70('0x2')]),_0xd6cf6f['attachDomRoot'](_0x50d8ba),this[_0x1e70('0x6')](_0x1e70('0xe'));}[_0x1e70('0x3')](){super['destroy'](),this['view'][_0x1e70('0x3')]();}}
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 _0x17f5=['main','setTemplate','ck-comment__input','render','ck-voice-label','comment','createCollection','_createVoiceLabel','extendTemplate','ck-editor__aria-label_','editable','text','focus','uiLanguageDirection','presentation','_voiceLabelView','element','Comment\x20editor','uiLanguage','div','ck-reset'];(function(_0x4b6c68,_0x17f579){const _0x408339=function(_0x3e9cab){while(--_0x3e9cab){_0x4b6c68['push'](_0x4b6c68['shift']());}};_0x408339(++_0x17f579);}(_0x17f5,0x1a1));const _0x4083=function(_0x4b6c68,_0x17f579){_0x4b6c68=_0x4b6c68-0x0;let _0x408339=_0x17f5[_0x4b6c68];return _0x408339;};import{InlineEditableUIView as _0x4c4961,EditorUIView as _0x3ba85a,LabelView as _0x2ecfdd}from'ckeditor5/src/ui.js';import{uid as _0x286152}from'ckeditor5/src/utils.js';import{getTranslation as _0x426648}from'../../../utils/common-translations.js';export default class Rt extends _0x3ba85a{constructor(_0x1c86fd,_0x575935){super(_0x1c86fd);const _0x2c1a71=_0x286152();this[_0x4083('0x3')]=this[_0x4083('0x9')](),this[_0x4083('0xd')]=new _0x4c4961(_0x1c86fd,_0x575935),this['_voiceLabelView']=this[_0x4083('0xa')](_0x2c1a71,_0x1c86fd),this[_0x4083('0x4')]({'tag':_0x4083('0x1'),'attributes':{'class':[_0x4083('0x2'),'ck-editor','ck-rounded-corners',_0x4083('0x5')],'role':_0x4083('0x8'),'dir':_0x1c86fd[_0x4083('0x10')],'lang':_0x1c86fd[_0x4083('0x0')],'aria-labelledby':'cke-editor__aria-label_'+_0x2c1a71},'children':[this[_0x4083('0x12')],{'tag':_0x4083('0x1'),'attributes':{'class':'ck-editor__main','role':_0x4083('0x11')},'children':this[_0x4083('0x3')]}]});}[_0x4083('0x6')](){super[_0x4083('0x6')](),this[_0x4083('0x3')]['add'](this[_0x4083('0xd')]);}[_0x4083('0xf')](){this['editable'][_0x4083('0x13')][_0x4083('0xf')]();}[_0x4083('0xa')](_0x364e70,_0x3ffb7f){const _0x46a3da=new _0x2ecfdd();return _0x46a3da[_0x4083('0xe')]=_0x426648(_0x3ffb7f,_0x4083('0x14')),_0x46a3da[_0x4083('0xb')]({'attributes':{'id':_0x4083('0xc')+_0x364e70,'class':_0x4083('0x7')}}),_0x46a3da;}}
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 _0x3d7e=['remove','listenTo','removeCommentThread','_localUser','submit','model','addComment','update','reopenCommentThread','removeComment','reopen','updateComment','resolveCommentThread','_isAttached','getComment','resolve','isResolved','view'];(function(_0x41b0b1,_0x3d7e52){var _0x393085=function(_0x2c6525){while(--_0x2c6525){_0x41b0b1['push'](_0x41b0b1['shift']());}};_0x393085(++_0x3d7e52);}(_0x3d7e,0x178));var _0x3930=function(_0x41b0b1,_0x3d7e52){_0x41b0b1=_0x41b0b1-0x0;var _0x393085=_0x3d7e[_0x41b0b1];return _0x393085;};import{ObservableMixin as _0x1e4736}from'ckeditor5/src/utils.js';export default class ut extends _0x1e4736(){constructor(_0x18bcdf,_0x456c80){super(),this[_0x3930('0x7')]=_0x18bcdf,this[_0x3930('0x7')][_0x3930('0xf')]=!0x0,this['view']=_0x456c80,this[_0x3930('0x3')](_0x456c80,'submitCommentThread',()=>this[_0x3930('0x6')]()),this[_0x3930('0x3')](_0x456c80,_0x3930('0x4'),()=>this[_0x3930('0x2')]()),this['listenTo'](_0x456c80,_0x3930('0xe'),()=>this[_0x3930('0x11')]()),this[_0x3930('0x3')](_0x456c80,_0x3930('0xa'),()=>this[_0x3930('0xc')]()),this['listenTo'](_0x456c80,'addComment',(_0x5720f6,_0xa6bb30)=>this[_0x3930('0x8')](_0xa6bb30)),this[_0x3930('0x3')](_0x456c80,_0x3930('0xd'),(_0x1262ed,_0x308983,_0x5e11d1)=>this['updateComment'](_0x308983,_0x5e11d1)),this[_0x3930('0x3')](_0x456c80,_0x3930('0xb'),(_0xad6ab6,_0x42083c)=>this['removeComment'](_0x42083c));}[_0x3930('0x6')](){this[_0x3930('0x7')][_0x3930('0x6')]();}[_0x3930('0x2')](){this[_0x3930('0x7')][_0x3930('0x2')]();}['resolve'](){this['model']['isResolved']||this['model'][_0x3930('0x11')]();}['reopen'](){this[_0x3930('0x7')][_0x3930('0x0')]&&this['model'][_0x3930('0xc')]();}[_0x3930('0x8')](_0x468cff){this[_0x3930('0x7')]['addComment']({'content':_0x468cff,'authorId':this[_0x3930('0x1')][_0x3930('0x5')]['id']});}[_0x3930('0xd')](_0x40bf28,_0x48a117){this['model']['getComment'](_0x40bf28)[_0x3930('0x9')]({'content':_0x48a117});}['removeComment'](_0x5c901c){this[_0x3930('0x7')][_0x3930('0x10')](_0x5c901c)[_0x3930('0x2')]();}['destroy'](){this['stopListening'](),this[_0x3930('0x7')][_0x3930('0xf')]=!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 _0x2567=['Reply...','Reply','_config','length','submitLabel','isActive','stop','Reply\x20to\x20reopen\x20discussion...','archivedAt','delegate','set','isSubmitted','change:isActive','commentThreadInputView','cancel','resolveCommentThread','unlinkedAt','destroy','addComment','commentThreadHeaderView','editorReady','submit','value','removeCommentThread','locale','showInput','_model','editorConfig','focus','updateComment','reopenCommentThread','Comment','isDirty','fire','editorDestroyed','bind','_localUser','_createCommentThreadInputView','commentsListView','submitCommentThread','element','isResolvable','disabledSubmit','assign','commentInputView','CommentView','removeComment'];(function(_0x52ddef,_0x2567ce){const _0xafee62=function(_0x2e3bfc){while(--_0x2e3bfc){_0x52ddef['push'](_0x52ddef['shift']());}};_0xafee62(++_0x2567ce);}(_0x2567,0x79));const _0xafee=function(_0x52ddef,_0x2567ce){_0x52ddef=_0x52ddef-0x0;let _0xafee62=_0x2567[_0x52ddef];return _0xafee62;};import{View as _0x586b95}from'ckeditor5/src/ui.js';import _0x598d3b from'./commentthreadinputview.js';import _0x553851 from'./commentslistview.js';import _0x1372ca from'./commentthreadheaderview.js';import{getTranslation as _0x26ea5f}from'../../../utils/common-translations.js';export default class Ut extends _0x586b95{constructor(_0x586efc,_0x5bd92b,_0x200937,_0xee80e0){super(_0x586efc),this[_0xafee('0x1e')]('isActive',!0x1),this[_0xafee('0x1e')](_0xafee('0x5'),!0x1),this[_0xafee('0x2e')]=_0x5bd92b,this[_0xafee('0x9')]=_0x200937,this['_config']=_0xee80e0,this['commentThreadHeaderView']=new _0x1372ca(_0x586efc,_0x5bd92b),this[_0xafee('0x27')]['delegate'](_0xafee('0x3'))['to'](this),this['listenTo'](this,_0xafee('0x3'),()=>{this['focus']();}),this['commentsListView']=new _0x553851(_0x586efc,_0x5bd92b,Object[_0xafee('0x10')]({'CommentView':this['_config'][_0xafee('0x12')]},_0xee80e0)),this[_0xafee('0xb')]['delegate'](_0xafee('0x13'))['to'](this),this[_0xafee('0xb')][_0xafee('0x1d')](_0xafee('0x2'))['to'](this),this[_0xafee('0xb')]['delegate']('resolveCommentThread')['to'](this),this[_0xafee('0xb')][_0xafee('0x1d')]('editorReady')['to'](this),this['commentsListView'][_0xafee('0x1d')]('editorDestroyed')['to'](this),this['commentsListView'][_0xafee('0x8')](_0xafee('0x19'))['to'](this),this['listenTo'](this,_0xafee('0x23'),()=>{this[_0xafee('0x1')]();}),this[_0xafee('0x1e')](_0xafee('0x17'),this[_0xafee('0xb')][_0xafee('0x17')]),this[_0xafee('0x8')](_0xafee('0x17'))['to'](this[_0xafee('0xb')],_0xafee('0x17')),this[_0xafee('0x21')]=this[_0xafee('0xa')](),this[_0xafee('0x21')]['delegate'](_0xafee('0x28'))['to'](this),this[_0xafee('0x21')]['delegate'](_0xafee('0x7'))['to'](this),this['on'](_0xafee('0x13'),()=>this[_0xafee('0x1')]()),this[_0xafee('0x8')](_0xafee('0x5'))['to'](this[_0xafee('0xb')],'hasDirtyComment',this[_0xafee('0x21')]['commentInputView'],'value',(_0xe204db,_0x1996d4)=>_0xe204db||!!_0x1996d4),this[_0xafee('0x8')]('isUnlinked')['to'](_0x5bd92b,_0xafee('0x24'),_0x14e42f=>!!_0x14e42f);}['focus'](){this[_0xafee('0xd')][_0xafee('0x1')]();}async[_0xafee('0x25')](){this[_0xafee('0x5')]=!0x1,this['commentsListView']['destroy'](),await this[_0xafee('0x21')][_0xafee('0x25')](),super['destroy']();}[_0xafee('0xa')](){const _0x161e9a=new _0x598d3b(this[_0xafee('0x2c')],this[_0xafee('0x9')],this[_0xafee('0x16')][_0xafee('0x0')]),_0x230578=_0x161e9a[_0xafee('0x11')];return _0x161e9a[_0xafee('0x8')](_0xafee('0x2d'))['to'](this,_0xafee('0x19'),this[_0xafee('0x2e')],'isReadOnly',this[_0xafee('0x2e')],'canComment',this[_0xafee('0x2e')],_0xafee('0x1c'),_0x230578,_0xafee('0x2a'),(_0x2b30de,_0x263e72,_0x1fe189,_0x523a05,_0x213b88)=>!!_0x213b88||!!_0x523a05&&_0x1fe189&&!_0x263e72||_0x2b30de&&_0x1fe189&&!_0x263e72),_0x230578['bind']('placeholder')['to'](this,_0xafee('0x17'),this[_0xafee('0x2e')],_0xafee('0xe'),this[_0xafee('0x2e')],'isResolved',(_0x3abdee,_0x14fb58,_0x2f78bd)=>{let _0x28f4d8;return _0x28f4d8=_0x2f78bd&&_0x14fb58?_0xafee('0x1b'):_0x3abdee?_0xafee('0x14'):'Write\x20a\x20comment...',_0x26ea5f(this[_0xafee('0x2c')],_0x28f4d8);}),_0x230578['bind'](_0xafee('0x18'))['to'](this,_0xafee('0x17'),_0x341433=>_0x26ea5f(this[_0xafee('0x2c')],_0x341433?_0xafee('0x15'):_0xafee('0x4'))),_0x230578['on'](_0xafee('0x29'),(_0x46d448,_0x39d61d)=>{this[_0xafee('0x6')](_0xafee('0x26'),_0x39d61d),this[_0xafee('0x2e')]['isResolved']&&this['_model'][_0xafee('0xe')]&&this['fire']('reopenCommentThread',this[_0xafee('0x2e')]['id']),this[_0xafee('0x2e')][_0xafee('0x1f')]||this[_0xafee('0x6')](_0xafee('0xc'));}),_0x230578['on'](_0xafee('0x22'),()=>{this[_0xafee('0x1')]();}),_0x230578['bind'](_0xafee('0xf'))['to'](this[_0xafee('0x2e')],'isReadOnly'),_0x230578['on']('cancel',_0x5eb319=>{0x0==this[_0xafee('0x17')]&&(this[_0xafee('0x6')](_0xafee('0x2b')),_0x5eb319[_0xafee('0x1a')]());}),this['on'](_0xafee('0x20'),(_0x5a145d,_0x55d56a,_0x33a04d)=>{_0x33a04d||this[_0xafee('0x17')]||_0x230578[_0xafee('0x2a')]||this[_0xafee('0x6')](_0xafee('0x2b'));}),_0x161e9a;}}
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 _0x5069=['locale','collapse','_createCommentInputView','remove','createEditor','destroy','add','maxCommentCharsWhenCollapsed','editorDestroyed','switchToEditMode','isCollapsed','submitLabel','Save','focus','_createCommentContentView','_config','fire','updateComment','element','initialData','switchToDisplayMode','isSystemComment','set','content','_model','editorConfig','once','bind','isReadOnly','visibleView','disabledSubmit','editorReady','delegate','isEditMode','cancel'];(function(_0x518c70,_0x506956){const _0x1aaf30=function(_0x557f29){while(--_0x557f29){_0x518c70['push'](_0x518c70['shift']());}};_0x1aaf30(++_0x506956);}(_0x5069,0x1ba));const _0x1aaf=function(_0x518c70,_0x506956){_0x518c70=_0x518c70-0x0;let _0x1aaf30=_0x5069[_0x518c70];return _0x1aaf30;};import{View as _0x39d7dd}from'ckeditor5/src/ui.js';import{trimHtml as _0x307b77}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x20b2c1 from'./commentcontentview.js';import _0x3ea295 from'./commentinputview.js';import{getTranslation as _0x20eb0b}from'../../../utils/common-translations.js';export default class ti extends _0x39d7dd{constructor(_0x3234b4,_0x138577,_0xe1e877){super(_0x3234b4),this['_model']=_0x138577,this[_0x1aaf('0x1c')]=_0xe1e877,this[_0x1aaf('0x22')]=!!this['_config'][_0x1aaf('0x22')],this['set']('isEditMode',!0x1),this[_0x1aaf('0x0')](_0x1aaf('0x17'),!0x0),this[_0x1aaf('0x7')]=this['createCollection'](),this[_0x1aaf('0x7')][_0x1aaf('0x13')](this[_0x1aaf('0x1b')]());}['expand'](){this['isCollapsed']=!0x1;}[_0x1aaf('0xe')](){this[_0x1aaf('0xb')]||(this['isCollapsed']=!0x0);}['focus'](){this[_0x1aaf('0x1f')][_0x1aaf('0x1a')]();}async['destroy'](){await this[_0x1aaf('0x7')]['get'](0x0)[_0x1aaf('0x12')](),super['destroy']();}[_0x1aaf('0x16')](){this[_0x1aaf('0xb')]||(this[_0x1aaf('0xb')]=!0x0,this[_0x1aaf('0x7')][_0x1aaf('0x10')](0x0)[_0x1aaf('0x12')](),this['visibleView']['add'](this[_0x1aaf('0xf')]()));}[_0x1aaf('0x21')](){this[_0x1aaf('0xb')]&&(this[_0x1aaf('0xb')]=!0x1,this[_0x1aaf('0x7')][_0x1aaf('0x10')](0x0)[_0x1aaf('0x12')](),this[_0x1aaf('0x7')][_0x1aaf('0x13')](this[_0x1aaf('0x1b')]()));}[_0x1aaf('0x1b')](){const _0x330c33=new _0x20b2c1(this[_0x1aaf('0xd')]);return _0x330c33[_0x1aaf('0x5')](_0x1aaf('0x1'))['to'](this[_0x1aaf('0x2')],_0x1aaf('0x1'),this,'isCollapsed',(_0x3ffe4a,_0x5a7cfc)=>_0x5a7cfc?_0x307b77(_0x3ffe4a,{'limit':this['_config'][_0x1aaf('0x14')]}):_0x3ffe4a),_0x330c33;}[_0x1aaf('0xf')](){this['_config'][_0x1aaf('0x3')]||(this['_config'][_0x1aaf('0x3')]={}),this['_config'][_0x1aaf('0x3')][_0x1aaf('0x20')]=this[_0x1aaf('0x2')][_0x1aaf('0x1')];const _0xfbc6fe=new _0x3ea295(this[_0x1aaf('0xd')],this[_0x1aaf('0x1c')][_0x1aaf('0x3')]);return _0xfbc6fe['value']=this[_0x1aaf('0x2')]['content'],_0xfbc6fe[_0x1aaf('0x5')](_0x1aaf('0x8'))['to'](this[_0x1aaf('0x2')],_0x1aaf('0x6')),_0xfbc6fe[_0x1aaf('0x18')]=_0x20eb0b(this[_0x1aaf('0xd')],_0x1aaf('0x19')),_0xfbc6fe['on']('submit',(_0x35a7a1,_0x54791c)=>{this[_0x1aaf('0x1d')](_0x1aaf('0x1e'),this[_0x1aaf('0x2')]['id'],_0x54791c),this['switchToDisplayMode'](),this[_0x1aaf('0x1a')]();}),_0xfbc6fe['on'](_0x1aaf('0xc'),()=>{this['switchToDisplayMode'](),this[_0x1aaf('0x1a')]();}),_0xfbc6fe[_0x1aaf('0x4')](_0x1aaf('0x9'),()=>{_0xfbc6fe[_0x1aaf('0x1a')]();}),_0xfbc6fe[_0x1aaf('0x11')](),_0xfbc6fe['delegate'](_0x1aaf('0x9'))['to'](this),_0xfbc6fe[_0x1aaf('0xa')](_0x1aaf('0x15'))['to'](this),_0xfbc6fe;}}
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 _0x7d11=['NUMBER_OF_COMMENTS','setTemplate','bindTemplate'];(function(_0x32c4b7,_0x7d1135){const _0x7b5e7d=function(_0x52163a){while(--_0x52163a){_0x32c4b7['push'](_0x32c4b7['shift']());}};_0x7b5e7d(++_0x7d1135);}(_0x7d11,0x139));const _0x7b5e=function(_0x32c4b7,_0x7d1135){_0x32c4b7=_0x32c4b7-0x0;let _0x7b5e7d=_0x7d11[_0x32c4b7];return _0x7b5e7d;};import{View as _0x56bc95}from'ckeditor5/src/ui.js';import{getTranslation as _0x19aa5c}from'../../../utils/common-translations.js';export default class ts extends _0x56bc95{constructor(_0x369f84){super(_0x369f84);const _0x4e4c84=this[_0x7b5e('0x1')];this['set']('count',void 0x0),this[_0x7b5e('0x0')]({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x4e4c84['to']('count',_0x115b5f=>_0x19aa5c(_0x369f84,_0x7b5e('0x2'),_0x115b5f))}]});}}
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 _0x9be5=['element','ck-annotation__content','set','setTemplate','render','innerHTML','content','div','ck-comment__content','change:content'];(function(_0x2496cf,_0x9be504){var _0x22cbcd=function(_0x13745d){while(--_0x13745d){_0x2496cf['push'](_0x2496cf['shift']());}};_0x22cbcd(++_0x9be504);}(_0x9be5,0xfd));var _0x22cb=function(_0x2496cf,_0x9be504){_0x2496cf=_0x2496cf-0x0;var _0x22cbcd=_0x9be5[_0x2496cf];return _0x22cbcd;};import{View as _0x683c9d}from'ckeditor5/src/ui.js';export default class Yt extends _0x683c9d{constructor(_0x3e0b9d){super(_0x3e0b9d),this[_0x22cb('0x9')]('content',''),this[_0x22cb('0x0')]({'tag':_0x22cb('0x4'),'attributes':{'class':[_0x22cb('0x5'),_0x22cb('0x8')]}});}[_0x22cb('0x1')](){super[_0x22cb('0x1')](),this['on'](_0x22cb('0x6'),(_0x4a4c55,_0xcb11e8,_0x24cc1d)=>{this[_0x22cb('0x7')]['innerHTML']=_0x24cc1d;}),this[_0x22cb('0x7')][_0x22cb('0x2')]=this[_0x22cb('0x3')];}}
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 _0x5ea1=['withText','cancel','firstChild','document','then','length','focus','keystrokes','disabledSubmit','extendTemplate','ck-comment__input-wrapper','showButtons','bind','div','Reply...','insertBefore','set','listenTo','submit','bindTemplate','initialData','_isDestroyed','ck-comment__input-actions--submit','TOO_LONG_COMMENT_ALERT','render','_createSubmitButton','element','stop','tab','low','isEnabled','_initializeFocusCycling','ck-comment__input-actions--cancel','editorDestroyed','_editorCreationPromise','view','high','getData','cancelButtonView','_editorConfig','_createCancelButton','change','fire','forEach','editor','editorReady','value','focusTracker','model','setData','Cancel','destroy','placeholder','setTemplate','execute','focusNext','submitButtonView','label','focusPrevious','trim','shift\x20+\x20tab','submitLabel','create','ck-comment__input-actions'];(function(_0x5e4add,_0x5ea13f){const _0x3d62f2=function(_0x2d9989){while(--_0x2d9989){_0x5e4add['push'](_0x5e4add['shift']());}};_0x3d62f2(++_0x5ea13f);}(_0x5ea1,0x1f0));const _0x3d62=function(_0x5e4add,_0x5ea13f){_0x5e4add=_0x5e4add-0x0;let _0x3d62f2=_0x5ea1[_0x5e4add];return _0x3d62f2;};import{View as _0x4bd802,ViewCollection as _0x234214,FocusCycler as _0x585c39,ButtonView as _0x3b2ff6}from'ckeditor5/src/ui.js';import{FocusTracker as _0x21f8f2,KeystrokeHandler as _0x8ba33f}from'ckeditor5/src/utils.js';import _0x2daaeb from'../commenteditor/commenteditor.js';import{getTranslation as _0x3c4701}from'../../../utils/common-translations.js';export default class Zt extends _0x4bd802{constructor(_0x4cc882,_0x144e75={}){super(_0x4cc882),this['editor']=null,this[_0x3d62('0x37')]=_0x144e75,this[_0x3d62('0x17')]=new _0x8ba33f(),this[_0x3d62('0x3f')]=new _0x21f8f2(),this[_0x3d62('0x20')](_0x3d62('0x3e'),_0x144e75[_0x3d62('0x24')]||''),this['set'](_0x3d62('0x18'),!0x1),this[_0x3d62('0x20')](_0x3d62('0x1b'),!0x0),this[_0x3d62('0x20')]('placeholder',_0x3c4701(_0x4cc882,_0x3d62('0x1e'))),this[_0x3d62('0x20')]('submitLabel',_0x3c4701(_0x4cc882,'Reply')),this[_0x3d62('0x8')]=this[_0x3d62('0x29')](),this[_0x3d62('0x36')]=this[_0x3d62('0x38')](),this[_0x3d62('0x5')]({'tag':_0x3d62('0x1d'),'attributes':{'class':[_0x3d62('0x1a')]},'children':[{'tag':_0x3d62('0x1d'),'attributes':{'class':[_0x3d62('0xf'),this[_0x3d62('0x23')]['if'](_0x3d62('0x1b'),'ck-comment__input-actions--active')]},'children':[this[_0x3d62('0x8')],this[_0x3d62('0x36')]]}]}),this[_0x3d62('0x17')][_0x3d62('0x20')]('Esc',(_0x34eda3,_0x4daa34)=>{this[_0x3d62('0x36')][_0x3d62('0x3a')](_0x3d62('0x6')),_0x4daa34();}),this['on']('submit',(_0xad1272,_0x391135)=>{_0x391135[_0x3d62('0x15')]>0xfde8?(alert(_0x3c4701(_0x4cc882,_0x3d62('0x27'),[_0x391135[_0x3d62('0x15')],0xfde8])),_0xad1272[_0x3d62('0x2b')]()):this[_0x3d62('0x3c')][_0x3d62('0x1')]('');},{'priority':_0x3d62('0x34')});}[_0x3d62('0x28')](){super['render'](),this[_0x3d62('0x17')][_0x3d62('0x21')](this[_0x3d62('0x2a')]),this['focusTracker']['add'](this[_0x3d62('0x2a')]);}['createEditor'](){return this[_0x3d62('0x3c')]||(this[_0x3d62('0x3c')]=new _0x2daaeb(this[_0x3d62('0x37')]),this['_editorCreationPromise']=this[_0x3d62('0x3c')][_0x3d62('0xe')]()[_0x3d62('0x14')](()=>{if(this[_0x3d62('0x25')])return;const _0x24ec6e=this[_0x3d62('0x3c')];this[_0x3d62('0x2a')][_0x3d62('0x1f')](_0x24ec6e['ui']['element'],this['element'][_0x3d62('0x12')]),_0x24ec6e[_0x3d62('0x0')][_0x3d62('0x13')]['on'](_0x3d62('0x39'),()=>this[_0x3d62('0x3e')]=_0x24ec6e[_0x3d62('0x35')]()),_0x24ec6e['bind'](_0x3d62('0x4'))['to'](this),this[_0x3d62('0x2f')](this['editor']),this[_0x3d62('0x3a')](_0x3d62('0x3d'),this[_0x3d62('0x3c')]);})),this[_0x3d62('0x32')];}[_0x3d62('0x16')](){this[_0x3d62('0x3c')]&&this[_0x3d62('0x3c')][_0x3d62('0x16')]();}async[_0x3d62('0x3')](){this[_0x3d62('0x25')]||(this[_0x3d62('0x25')]=!0x0,this[_0x3d62('0x3c')]&&(await this[_0x3d62('0x32')],await this[_0x3d62('0x3c')][_0x3d62('0x3')](),this[_0x3d62('0x3a')](_0x3d62('0x31'),this[_0x3d62('0x3c')])),await super[_0x3d62('0x3')]());}[_0x3d62('0x29')](){const {locale:_0x566872}=this,_0x562814=new _0x3b2ff6(_0x566872);return _0x562814[_0x3d62('0x19')]({'attributes':{'class':[_0x3d62('0x26')]}}),_0x562814[_0x3d62('0x10')]=!0x0,_0x562814[_0x3d62('0x1c')](_0x3d62('0x9'))['to'](this,_0x3d62('0xd')),_0x562814['on'](_0x3d62('0x6'),()=>{this[_0x3d62('0x3a')](_0x3d62('0x22'),this['value']);}),_0x562814[_0x3d62('0x1c')](_0x3d62('0x2e'))['to'](this,_0x3d62('0x3e'),this,_0x3d62('0x18'),(_0x2bb79f,_0x3a94aa)=>!_0x3a94aa&&!!_0x2bb79f[_0x3d62('0xb')]()),_0x562814;}[_0x3d62('0x38')](){const {locale:_0x52f7c5}=this,_0x17c62a=new _0x3b2ff6(_0x52f7c5);return _0x17c62a[_0x3d62('0x19')]({'attributes':{'class':[_0x3d62('0x30')]}}),_0x17c62a[_0x3d62('0x9')]=_0x3c4701(_0x52f7c5,_0x3d62('0x2')),_0x17c62a[_0x3d62('0x10')]=!0x0,_0x17c62a['on']('execute',()=>{this[_0x3d62('0x3c')][_0x3d62('0x1')](''),this[_0x3d62('0x3a')](_0x3d62('0x11'));}),_0x17c62a;}[_0x3d62('0x2f')](_0x1ea452){const _0x5491ab=this[_0x3d62('0x3f')],_0x2e64ef=new _0x234214();[_0x1ea452['ui'][_0x3d62('0x33')],this['submitButtonView'],this['cancelButtonView']][_0x3d62('0x3b')](_0x4233d7=>{_0x2e64ef['add'](_0x4233d7),_0x5491ab['add'](_0x4233d7[_0x3d62('0x2a')]);});const _0xb88d57=new _0x585c39({'focusables':_0x2e64ef,'focusTracker':_0x5491ab});this[_0x3d62('0x17')][_0x3d62('0x20')](_0x3d62('0x2c'),(_0x21a07a,_0x4a2d00)=>{_0xb88d57[_0x3d62('0x7')](),_0x4a2d00();},{'priority':_0x3d62('0x2d')}),this[_0x3d62('0x17')][_0x3d62('0x20')](_0x3d62('0xc'),(_0x8780bb,_0xa5e5e3)=>{_0xb88d57[_0x3d62('0xa')](),_0xa5e5e3();},{'priority':'low'});}}
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 _0x3da9=['EMPTY_COMMENTS_ARCHIVE','isActive','length','element','ck-comments-archive__content','add','setTemplate','focus','shift\x20+\x20tab','set','div','ck-hidden','stopPropagation','destroy','auto','isEmpty','_focusables','render','_focusTracker','COMMENTS_ARCHIVE','listenTo','selectstart','arrowup','_keystrokes'];(function(_0x16cf06,_0x3da9dd){const _0x5eb45d=function(_0x5b9fa3){while(--_0x5b9fa3){_0x16cf06['push'](_0x16cf06['shift']());}};_0x5eb45d(++_0x3da9dd);}(_0x3da9,0xc3));const _0x5eb4=function(_0x16cf06,_0x3da9dd){_0x16cf06=_0x16cf06-0x0;let _0x5eb45d=_0x3da9[_0x16cf06];return _0x5eb45d;};import{View as _0x36c646,FocusCycler as _0x2d4643}from'ckeditor5/src/ui.js';import{FocusTracker as _0x57ec71,KeystrokeHandler as _0x6cf99}from'ckeditor5/src/utils.js';import{getTranslation as _0x35bcc3}from'../../../utils/common-translations.js';export default class K extends _0x36c646{constructor(_0x4b44cd,_0x23f3c6){super(_0x4b44cd),this[_0x5eb4('0x6')](_0x5eb4('0xc'),!_0x23f3c6[_0x5eb4('0x17')]),this[_0x5eb4('0xf')]=new _0x57ec71(),this[_0x5eb4('0x14')]=new _0x6cf99(),this[_0x5eb4('0xd')]=_0x23f3c6,this['_focusCycler']=new _0x2d4643({'focusables':this[_0x5eb4('0xd')],'focusTracker':this[_0x5eb4('0xf')],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':_0x5eb4('0x5'),'focusNext':'tab'}}),this['listenTo'](_0x23f3c6,_0x5eb4('0x2'),()=>{this['isEmpty']=!0x1;}),this[_0x5eb4('0x11')](_0x23f3c6,'remove',(_0x38e314,_0x53c6bf)=>{_0x53c6bf[_0x5eb4('0x16')]&&this[_0x5eb4('0x4')](),_0x23f3c6['length']||(this[_0x5eb4('0xc')]=!0x0);});const _0x1dd670=this['bindTemplate'];this[_0x5eb4('0x3')]({'tag':_0x5eb4('0x7'),'attributes':{'dir':_0x5eb4('0xb'),'class':['ck','ck-comments-archive'],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':['ck-comments-archive__header\x20']},'children':[{'text':_0x35bcc3(_0x4b44cd,_0x5eb4('0x10'))}]},{'tag':_0x5eb4('0x7'),'attributes':{'class':[_0x5eb4('0x1')]},'children':[{'tag':'div','children':_0x23f3c6},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x1dd670['if']('isEmpty',_0x5eb4('0x8'),_0x45a61c=>!_0x45a61c)]},'children':[{'text':_0x35bcc3(_0x4b44cd,_0x5eb4('0x15'))}]}]}]});}[_0x5eb4('0xe')](){super[_0x5eb4('0xe')](),this[_0x5eb4('0x14')][_0x5eb4('0x11')](this[_0x5eb4('0x0')]);const _0xefb208=_0x1a712b=>_0x1a712b['stopPropagation']();this[_0x5eb4('0x14')]['set']('arrowright',_0xefb208),this['_keystrokes'][_0x5eb4('0x6')]('arrowleft',_0xefb208),this[_0x5eb4('0x14')]['set'](_0x5eb4('0x13'),_0xefb208),this[_0x5eb4('0x14')]['set']('arrowdown',_0xefb208),this[_0x5eb4('0x11')](this[_0x5eb4('0x0')],_0x5eb4('0x12'),(_0x419d12,_0x591846)=>{_0x591846[_0x5eb4('0x9')]();},{'priority':'high'});}[_0x5eb4('0xa')](){super[_0x5eb4('0xa')](),this[_0x5eb4('0xf')][_0x5eb4('0xa')](),this[_0x5eb4('0x14')][_0x5eb4('0xa')]();}[_0x5eb4('0x4')](){this[_0x5eb4('0x0')][_0x5eb4('0x4')]();}}
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 _0x2c1e=['_model','_rearrangeExpand','setTemplate','delete','_handleNewCommentModel','_handleInfoComment','editorReady','Marked\x20as\x20resolved','add','stopListening','listenTo','ck-thread__comments','updateComment','locale','commentUpdated','_config','remove','focus','destroy','expand','resolvedBy','resolvedAt','editorConfig','_rearrangeCollapse','editorDestroyed','change:isEditMode','hasDirtyComment','weight','equal','formatDateTime','length','maxCommentsWhenCollapsed','change:hasDirtyComment','commentViews','insert','removeComment','authoredAt','_calculatePosition','count','refreshVisibleViews','get','resolvedCommentView','maxThreadTotalWeight','set','isEditMode','delegate','some','collapse','visibleViews','_findOptimalIndex','maxCommentCharsWhenCollapsed','_updateHasDirtyComment','render','_collapsedCommentsView','_shouldCollapse','comments','resolveCommentThread','element','_handleRemoveCommentModel','from','viewUid'];(function(_0x30591a,_0x2c1ed1){const _0x5443e6=function(_0x147450){while(--_0x147450){_0x30591a['push'](_0x30591a['shift']());}};_0x5443e6(++_0x2c1ed1);}(_0x2c1e,0x12f));const _0x5443=function(_0x30591a,_0x2c1ed1){_0x30591a=_0x30591a-0x0;let _0x5443e6=_0x2c1e[_0x30591a];return _0x5443e6;};import{View as _0x4255b7}from'ckeditor5/src/ui.js';import{diff as _0x3c8b6f,Collection as _0xb5968e}from'ckeditor5/src/utils.js';import{getTranslation as _0x35a633}from'../../../utils/common-translations.js';import _0xda9ba4 from'./collapsedcommentsview.js';export default class vt extends _0x4255b7{constructor(_0x52983d,_0x4c5c9e,_0x412939){super(_0x52983d),this[_0x5443('0x2d')](_0x5443('0x1c'),!0x1),this['set']('length',_0x4c5c9e[_0x5443('0x39')][_0x5443('0x20')]),this[_0x5443('0x2d')]('isActive',!0x1),this['_model']=_0x4c5c9e,this[_0x5443('0x11')]=_0x412939,this['commentViews']=this['createCollection'](),this[_0x5443('0x32')]=this['createCollection'](),this['resolvedCommentView']=null,this[_0x5443('0x37')]=new _0xda9ba4(_0x52983d),this[_0x5443('0x37')]['bind']('count')['to'](this,'length',_0x2b47cf=>_0x2b47cf-this[_0x5443('0x11')][_0x5443('0x21')]);for(const _0x10e421 of _0x4c5c9e[_0x5443('0x39')])this[_0x5443('0x6')](_0x10e421);this['_handleInfoComment'](),this[_0x5443('0xc')](_0x4c5c9e[_0x5443('0x39')],'add',(_0x3ab056,_0x1dc679)=>{const _0x1f74f7=this['_calculatePosition'](_0x1dc679);this['length']++,this[_0x5443('0x6')](_0x1dc679,_0x1f74f7),this['refreshVisibleViews']();}),this[_0x5443('0xc')](_0x4c5c9e['comments'],'remove',(_0x18e495,_0x47618e)=>{this['length']--,this[_0x5443('0x3c')](_0x47618e),this[_0x5443('0x29')]();}),this[_0x5443('0xc')](_0x4c5c9e,_0x5443('0x10'),()=>this[_0x5443('0x29')]()),this[_0x5443('0xc')](_0x4c5c9e,'change:isResolved',()=>this[_0x5443('0x7')]()),this['on']('change:isActive',()=>this[_0x5443('0x29')]()),this['on'](_0x5443('0x22'),()=>this[_0x5443('0x29')]()),this[_0x5443('0x4')]({'tag':'ul','attributes':{'class':[_0x5443('0xd')]},'children':this['visibleViews']});}get[_0x5443('0x38')](){return this[_0x5443('0x2')][_0x5443('0x1d')]>this['_config'][_0x5443('0x2c')]&&!this['isActive']&&!this[_0x5443('0x1c')];}[_0x5443('0x36')](){super[_0x5443('0x36')](),this[_0x5443('0x29')]();}[_0x5443('0x13')](){this[_0x5443('0x3b')][_0x5443('0x13')]();}[_0x5443('0x14')](){this[_0x5443('0x37')][_0x5443('0x14')]();for(const _0x52f528 of this[_0x5443('0x23')])_0x52f528[_0x5443('0x14')]();super[_0x5443('0x14')]();}[_0x5443('0x29')](){this[_0x5443('0x38')]?this[_0x5443('0x19')]():this[_0x5443('0x3')]();}[_0x5443('0x6')](_0x512634,_0x4bf9d8){const _0x36c3cb=new this[(_0x5443('0x11'))]['CommentView'](this[_0x5443('0xf')],_0x512634,{'maxCommentCharsWhenCollapsed':this[_0x5443('0x11')][_0x5443('0x34')],'formatDateTime':this[_0x5443('0x11')][_0x5443('0x1f')],'editorConfig':this[_0x5443('0x11')][_0x5443('0x18')]});_0x36c3cb[_0x5443('0x1')]=_0x512634['id'],_0x36c3cb[_0x5443('0x2f')](_0x5443('0x25'))['to'](this),_0x36c3cb[_0x5443('0x2f')](_0x5443('0xe'))['to'](this),_0x36c3cb[_0x5443('0x2f')](_0x5443('0x3a'))['to'](this),_0x36c3cb[_0x5443('0x2f')](_0x5443('0x8'))['to'](this),_0x36c3cb[_0x5443('0x2f')](_0x5443('0x1a'))['to'](this),this['listenTo'](_0x36c3cb,_0x5443('0x1b'),()=>this[_0x5443('0x35')]()),this[_0x5443('0x23')]['add'](_0x36c3cb,_0x4bf9d8);}[_0x5443('0x27')](_0x300a8e){const _0x4f672f=this[_0x5443('0x2')][_0x5443('0x33')](_0x300a8e);return this[_0x5443('0x2b')]?this[_0x5443('0x2b')][_0x5443('0x26')]>_0x300a8e[_0x5443('0x26')]?_0x4f672f-0x1:_0x4f672f:_0x4f672f-0x1;}['_handleInfoComment'](){if(this[_0x5443('0x2')][_0x5443('0x16')]&&this[_0x5443('0x2')][_0x5443('0x17')]){const _0x424f6f={'id':'resolved','author':this[_0x5443('0x2')][_0x5443('0x16')],'authoredAt':this['_model'][_0x5443('0x17')],'content':_0x35a633(this[_0x5443('0xf')],_0x5443('0x9')),'attributes':{}};this[_0x5443('0x2b')]=new this[(_0x5443('0x11'))]['CommentView'](this[_0x5443('0xf')],_0x424f6f,{'maxCommentCharsWhenCollapsed':this['_config'][_0x5443('0x34')],'formatDateTime':this[_0x5443('0x11')][_0x5443('0x1f')],'editorConfig':this[_0x5443('0x11')][_0x5443('0x18')],'isSystemComment':!0x0}),this[_0x5443('0x23')][_0x5443('0xa')](this['resolvedCommentView'],this[_0x5443('0x2')][_0x5443('0x33')](_0x424f6f));}else this[_0x5443('0x2b')]&&(this[_0x5443('0x23')][_0x5443('0x12')](this[_0x5443('0x2b')]),this['resolvedCommentView']['destroy'](),this[_0x5443('0x2b')]=null);this[_0x5443('0x29')]();}[_0x5443('0x3c')](_0x3043d7){const _0x5875e9=this[_0x5443('0x23')][_0x5443('0x12')](_0x3043d7['id']);this[_0x5443('0xb')](_0x5875e9),_0x5875e9[_0x5443('0x2e')]&&this['_updateHasDirtyComment'](),_0x5875e9['destroy']();}[_0x5443('0x35')](){this[_0x5443('0x1c')]=Array[_0x5443('0x0')](this[_0x5443('0x23')])[_0x5443('0x30')](_0x104127=>_0x104127[_0x5443('0x2e')]);}['_rearrangeCollapse'](){const _0xcdbf7b=function(_0x1db3b8){const _0x8f5c9f=new _0xb5968e();for(const _0x239e9b of _0x1db3b8)_0x8f5c9f[_0x5443('0xa')](_0x239e9b);return _0x8f5c9f;}(this['commentViews']),_0x3235b2=this[_0x5443('0x37')][_0x5443('0x28')];for(let _0x19431c=0x1;_0x19431c<=_0x3235b2;_0x19431c++)_0xcdbf7b['remove'](0x1);for(const _0xb7e062 of _0xcdbf7b)_0xb7e062[_0x5443('0x31')]();_0x3235b2>0x0&&_0xcdbf7b[_0x5443('0xa')](this[_0x5443('0x37')],0x1),is(_0x3c8b6f(Array[_0x5443('0x0')](this[_0x5443('0x32')]),Array[_0x5443('0x0')](_0xcdbf7b)),this[_0x5443('0x32')],_0xcdbf7b);}['_rearrangeExpand'](){is(_0x3c8b6f(Array['from'](this[_0x5443('0x32')]),Array['from'](this[_0x5443('0x23')])),this['visibleViews'],this[_0x5443('0x23')]);for(const _0x150bdd of this[_0x5443('0x32')])_0x150bdd[_0x5443('0x15')]();}}function is(_0x37b4dc,_0x33db63,_0xab43d6){let _0x57b3c1=0x0;for(const _0x4d5d4d of _0x37b4dc)switch(_0x4d5d4d){case _0x5443('0x24'):_0x33db63[_0x5443('0xa')](_0xab43d6[_0x5443('0x2a')](_0x57b3c1),_0x57b3c1),_0x57b3c1++;break;case _0x5443('0x5'):_0x33db63[_0x5443('0x12')](_0x57b3c1);break;case _0x5443('0x1e'):_0x57b3c1++;}}
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 _0x2dc9=['render','mouseenter','span','overlay','ck-context__value','_trimContextValue','reopenButtonView','_attachContextActions','bindTemplate','label','add','setTemplate','querySelector','Comment\x20was\x20made\x20on\x20an\x20element','isVisible','contextValue','ck-annotation__actions','value','length','icon','_model','.ck-context__value','isResolved','isResolvable','substring','ck-context--quotes','...','hasContext','lastIndexOf','bind','ck-thread__header','listenTo','context','locale','offsetWidth','Reopen','_createReopenButton','mouseleave','reopenCommentThread','remove','classList','div'];(function(_0x1e5196,_0x2dc92a){const _0x45c961=function(_0x299ed6){while(--_0x299ed6){_0x1e5196['push'](_0x1e5196['shift']());}};_0x45c961(++_0x2dc92a);}(_0x2dc9,0xe3));const _0x45c9=function(_0x1e5196,_0x2dc92a){_0x1e5196=_0x1e5196-0x0;let _0x45c961=_0x2dc9[_0x1e5196];return _0x45c961;};import{View as _0x305dfa,ButtonView as _0xa721de}from'ckeditor5/src/ui.js';import{getTranslation as _0x5b6d78}from'../../../utils/common-translations.js';import _0x2e12ca from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x305dfa{constructor(_0x13db01,_0x589f53){super(_0x13db01);const _0x570f3b=this[_0x45c9('0x21')];this['_model']=_0x589f53,this['reopenButtonView']=this[_0x45c9('0x13')](),this['bind'](_0x45c9('0xa'))['to'](this[_0x45c9('0x3')],_0x45c9('0xf'),_0x1cf668=>!!_0x1cf668),this[_0x45c9('0xc')](_0x45c9('0x28'))['to'](this[_0x45c9('0x3')],_0x45c9('0xf'),_0x28a645=>_0x28a645&&_0x28a645[_0x45c9('0x0')]?this['_trimContextValue'](_0x28a645[_0x45c9('0x0')]):_0x5b6d78(this[_0x45c9('0x10')],_0x45c9('0x26'))),this[_0x45c9('0x24')]({'tag':_0x45c9('0x18'),'attributes':{'class':[_0x45c9('0xd')]},'children':[{'tag':_0x45c9('0x18'),'attributes':{'class':['ck-context-wrapper']},'children':[{'tag':'div','attributes':{'class':['ck-context',_0x570f3b['if'](_0x45c9('0xa'),_0x45c9('0x8'))]},'children':[{'tag':_0x45c9('0x1b'),'attributes':{'class':[_0x45c9('0x1d')]},'children':[{'text':_0x570f3b['to']('contextValue')}]}]}]},{'tag':_0x45c9('0x18'),'attributes':{'class':[_0x45c9('0x29')]},'children':[this[_0x45c9('0x1f')]]}]});}[_0x45c9('0x19')](){super[_0x45c9('0x19')](),this[_0x45c9('0x20')]();}['_createReopenButton'](){const _0x4d599c=new _0xa721de(this[_0x45c9('0x10')]);return _0x4d599c[_0x45c9('0x22')]=_0x5b6d78(this[_0x45c9('0x10')],_0x45c9('0x12')),_0x4d599c['tooltip']=_0x5b6d78(this[_0x45c9('0x10')],_0x45c9('0x12')),_0x4d599c[_0x45c9('0x2')]=_0x2e12ca,_0x4d599c[_0x45c9('0xc')]('isEnabled')['to'](this[_0x45c9('0x3')],'isReadOnly',_0x4c693d=>!_0x4c693d),_0x4d599c[_0x45c9('0xc')](_0x45c9('0x27'))['to'](this[_0x45c9('0x3')],_0x45c9('0x6'),this[_0x45c9('0x3')],_0x45c9('0x5'),(_0x3af96f,_0x19cfb9)=>_0x3af96f&&_0x19cfb9),_0x4d599c['on']('execute',()=>{this['fire'](_0x45c9('0x15'),this[_0x45c9('0x3')]['id']);}),_0x4d599c;}[_0x45c9('0x1e')](_0x4533ae){if(_0x4533ae[_0x45c9('0x1')]<0x96)return _0x4533ae;const _0x2291fc=_0x4533ae[_0x45c9('0xb')]('\x20',0x93);return _0x4533ae[_0x45c9('0x7')](0x0,_0x2291fc>-0x1?_0x2291fc:0x93)+_0x45c9('0x9');}[_0x45c9('0x20')](){const _0x1d02a3=this['element'][_0x45c9('0x25')]('.ck-context'),_0x406f9a=_0x1d02a3['querySelector'](_0x45c9('0x4'));this[_0x45c9('0xe')](_0x1d02a3,_0x45c9('0x1a'),()=>{_0x406f9a[_0x45c9('0x11')]<_0x406f9a['scrollWidth']&&_0x1d02a3[_0x45c9('0x17')][_0x45c9('0x23')](_0x45c9('0x1c'));}),this['listenTo'](_0x1d02a3,_0x45c9('0x14'),()=>{_0x1d02a3['classList'][_0x45c9('0x16')]('overlay');});}}
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 _0x11e7=['ck-comment__input-container--active','set','delegate','showButtons','showInput','value','div','setTemplate','focusTracker','destroy','editorDestroyed','bind','extendTemplate','userView','createEditor','editor','ck-thread__user','commentInputView','change:showInput','editorReady','ck-comment__input-container','bindTemplate'];(function(_0x309ac1,_0x11e74f){var _0x211cb=function(_0x4cd101){while(--_0x4cd101){_0x309ac1['push'](_0x309ac1['shift']());}};_0x211cb(++_0x11e74f);}(_0x11e7,0x130));var _0x211c=function(_0x309ac1,_0x11e74f){_0x309ac1=_0x309ac1-0x0;var _0x211cb=_0x11e7[_0x309ac1];return _0x211cb;};import{View as _0x4516f5}from'ckeditor5/src/ui.js';import _0x1ba1b2 from'./commentinputview.js';import{UserView as _0x1606ca}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Ct extends _0x4516f5{constructor(_0x4a4e7f,_0x11499f,_0x5ee182){super(_0x4a4e7f),this['commentInputView']=new _0x1ba1b2(_0x4a4e7f,_0x5ee182),this[_0x211c('0x15')][_0x211c('0xf')](_0x211c('0x7'))['to'](this[_0x211c('0x15')][_0x211c('0xc')],'isFocused',this['commentInputView'],_0x211c('0x9'),(_0x1c7dd2,_0x3381f2)=>_0x1c7dd2||!!_0x3381f2),this[_0x211c('0x5')]('showInput',!0x1),this['on'](_0x211c('0x0'),()=>{this[_0x211c('0x8')]&&!this[_0x211c('0x15')][_0x211c('0x13')]&&this[_0x211c('0x15')][_0x211c('0x12')]();}),this[_0x211c('0x15')][_0x211c('0x6')](_0x211c('0x1'))['to'](this),this[_0x211c('0x15')][_0x211c('0x6')](_0x211c('0xe'))['to'](this),this[_0x211c('0x11')]=new _0x1606ca(_0x4a4e7f,_0x11499f),this[_0x211c('0x11')][_0x211c('0x10')]({'attributes':{'class':_0x211c('0x14')}}),this['commentInputView'][_0x211c('0x10')]({'attributes':{'class':'ck-thread__input'}}),this[_0x211c('0xb')]({'tag':_0x211c('0xa'),'attributes':{'class':[_0x211c('0x2'),this[_0x211c('0x3')]['if'](_0x211c('0x8'),_0x211c('0x4'))]},'children':[this[_0x211c('0x11')],this[_0x211c('0x15')]]});}['destroy'](){return this[_0x211c('0x15')][_0x211c('0xd')]()['then'](()=>super['destroy']());}}
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 _0x58ad=['ck-thread--','isSystemComment','_boundFirstCommentView','querySelector','_model','fire','label','change:isReadOnly','commentThreadHeaderView','containerElement','Resolve','cancelConfirm','set','ck-thread--active','_cancelAllConfirms','.ck-thread__container','actionIndicator','ck-reset_all-excluded','remove','ck-thread--unlinked','removeButton','isEnabled','listenTo','archivedAt','execute','ck-thread','commentViews','addMany','isReadOnly','get','isResolved','div','bindTemplate','placeholder','icon','isVisible','bind','commentThreadChildren','commentThreadInputView','isResolvable','stop','has','removeCommentThread','Delete\x20comment\x20thread?','change:archivedAt','showConfirm','setTemplate','extendTemplate','render','add','Write\x20a\x20comment...','ck-thread__container','unbind','locale','createCollection','commentsListView','ck-comment--resolve','ck-thread--remove-confirmation','isConfirm','_createResolveButton','getTemplate','_bindFirstCommentView'];(function(_0x4db006,_0x58adfa){const _0x48cb21=function(_0x37623f){while(--_0x37623f){_0x4db006['push'](_0x4db006['shift']());}};_0x48cb21(++_0x58adfa);}(_0x58ad,0x1aa));const _0x48cb=function(_0x4db006,_0x58adfa){_0x4db006=_0x4db006-0x0;let _0x48cb21=_0x58ad[_0x4db006];return _0x48cb21;};import{ConfirmMixin as _0x265714}from'ckeditor5-collaboration/src/collaboration-core.js';import{ButtonView as _0x36a809}from'ckeditor5/src/ui.js';import{icons as _0x2e03be}from'ckeditor5/src/core.js';import _0x464557 from'./basecommentthreadview.js';import{getTranslation as _0xaae1e2}from'../../../utils/common-translations.js';export default class ft extends _0x265714(_0x464557){constructor(_0x5a996e,_0x478e19,_0x5bf749,_0x37115a){super(_0x5a996e,_0x478e19,_0x5bf749,_0x37115a),this[_0x48cb('0x2d')]=this[_0x48cb('0x0')](),this[_0x48cb('0x2d')][_0x48cb('0x23')]([this[_0x48cb('0x1')],this[_0x48cb('0x2e')]]),this[_0x48cb('0xc')][_0x48cb('0x1f')]&&this[_0x48cb('0x2d')]['add'](this['commentThreadHeaderView'],0x0),this[_0x48cb('0xc')]['on'](_0x48cb('0x34'),(_0x309226,_0x461813,_0x5b0025)=>{_0x5b0025?this[_0x48cb('0x2d')][_0x48cb('0x31')](this[_0x48cb('0x10')])||this['commentThreadChildren'][_0x48cb('0x39')](this[_0x48cb('0x10')],0x0):this[_0x48cb('0x2d')]['remove'](this['commentThreadHeaderView']);}),this[_0x48cb('0x14')](_0x48cb('0x18'),null),this[_0x48cb('0x11')]=null,this[_0x48cb('0xa')]=null,this[_0x48cb('0x3d')]=_0x5a996e,this['resolveButton']=this[_0x48cb('0x5')](),this[_0x48cb('0x36')](this[_0x48cb('0x6')]()),this['on']('change:isActive',(_0x53eb4c,_0x33b063,_0x419761)=>{_0x419761||this[_0x48cb('0x16')]();}),this[_0x48cb('0x1e')](this['_model'],_0x48cb('0xf'),(_0x2a50ba,_0x37531f,_0x209fa3)=>{_0x209fa3&&this['_cancelAllConfirms']();}),this['length']>0x0&&this[_0x48cb('0x7')](),this[_0x48cb('0x1e')](this[_0x48cb('0x1')][_0x48cb('0x22')],_0x48cb('0x39'),()=>{this[_0x48cb('0x7')]();});}[_0x48cb('0x6')](){const _0x3ff35d=this[_0x48cb('0x28')];return{'tag':'div','attributes':{'class':[_0x48cb('0x21'),_0x48cb('0x19'),_0x3ff35d['if']('isActive',_0x48cb('0x15')),_0x3ff35d['if']('isUnlinked',_0x48cb('0x1b')),_0x3ff35d['if'](_0x48cb('0x4'),_0x48cb('0x3')),_0x3ff35d['to'](_0x48cb('0x18'),_0x4632e4=>_0x4632e4?_0x48cb('0x8')+_0x4632e4:'')],'data-thread-id':this[_0x48cb('0xc')]['id'],'tabindex':-0x1},'children':[{'tag':_0x48cb('0x27'),'attributes':{'class':_0x48cb('0x3b')},'children':this['commentThreadChildren']}]};}[_0x48cb('0x38')](){super['render'](),this['containerElement']=this['element'][_0x48cb('0xb')](_0x48cb('0x17'));}[_0x48cb('0x16')](){this[_0x48cb('0x13')]();for(const _0x11f68b of this[_0x48cb('0x1')][_0x48cb('0x22')])_0x11f68b[_0x48cb('0x13')]();}[_0x48cb('0x7')](){const {locale:_0x5d2c12}=this,_0x109e8d=this[_0x48cb('0x1')][_0x48cb('0x22')][_0x48cb('0x25')](0x0);_0x109e8d===this['_boundFirstCommentView']||_0x109e8d[_0x48cb('0x9')]||(this[_0x48cb('0xa')]=_0x109e8d,this[_0x48cb('0x3c')](_0x48cb('0x18')),this[_0x48cb('0x2c')](_0x48cb('0x18'))['to'](_0x109e8d,'actionIndicator',_0x6db0c=>_0x48cb('0x1a')===_0x6db0c?_0x48cb('0x1a'):null),_0x109e8d[_0x48cb('0x29')]=_0xaae1e2(_0x5d2c12,_0x48cb('0x3a')),_0x109e8d[_0x48cb('0x1c')]['on']('execute',_0xfe344c=>{_0xfe344c[_0x48cb('0x30')](),this[_0x48cb('0x35')](_0xaae1e2(_0x5d2c12,_0x48cb('0x33')),this[_0x48cb('0x11')])['then'](()=>{this[_0x48cb('0xd')](_0x48cb('0x32'));});},{'priority':'high'}),_0x109e8d['actionBar'][_0x48cb('0x39')](this['resolveButton'],0x0));}[_0x48cb('0x5')](){const _0x4e95f3=new _0x36a809(this[_0x48cb('0x3d')]);return _0x4e95f3[_0x48cb('0xe')]=_0xaae1e2(this[_0x48cb('0x3d')],_0x48cb('0x12')),_0x4e95f3['tooltip']=_0xaae1e2(this[_0x48cb('0x3d')],'Resolve'),_0x4e95f3[_0x48cb('0x2a')]=_0x2e03be['check'],_0x4e95f3[_0x48cb('0x37')]({'attributes':{'class':_0x48cb('0x2')}}),_0x4e95f3[_0x48cb('0x2c')](_0x48cb('0x1d'))['to'](this['_model'],_0x48cb('0x24'),_0x5d5a43=>!_0x5d5a43),_0x4e95f3['bind'](_0x48cb('0x2b'))['to'](this['_model'],_0x48cb('0x2f'),this[_0x48cb('0xc')],_0x48cb('0x26'),(_0x5edf23,_0x5be85e)=>_0x5edf23&&!_0x5be85e),_0x4e95f3['on'](_0x48cb('0x20'),()=>{this[_0x48cb('0xd')]('resolveCommentThread',this[_0x48cb('0xc')]['id']);}),_0x4e95f3;}}
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;}}