@ckeditor/ckeditor5-comments 0.0.0-nightly-20231207.0 → 0.0.0-nightly-20231209.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 _0x3f32=['basic','importWord.formatting.comments','listenTo','map','collaboration.channelId','config','plugins','high','get','_handleImportedData','execute','editor','importWord','dataInsert','define'];(function(_0x5438a4,_0x3f32cf){const _0x2967c6=function(_0x2eab61){while(--_0x2eab61){_0x5438a4['push'](_0x5438a4['shift']());}};_0x2967c6(++_0x3f32cf);}(_0x3f32,0x1c6));const _0x2967=function(_0x5438a4,_0x3f32cf){_0x5438a4=_0x5438a4-0x0;let _0x2967c6=_0x3f32[_0x5438a4];return _0x2967c6;};import{Plugin as _0x30d0e4}from'ckeditor5/src/core';import{priorities as _0x3577b7}from'ckeditor5/src/utils';import{Users as _0x5b8859}from'ckeditor5-collaboration/src/collaboration-core';import _0x4ccb11 from'../commentsrepository';export default class Z extends _0x30d0e4{constructor(_0x5703fe){super(_0x5703fe),this[_0x2967('0x7')][_0x2967('0x1')][_0x2967('0xa')](_0x2967('0xc'),_0x2967('0xb'));}['afterInit'](){const _0x1f8c76=this[_0x2967('0x7')],_0x4e57a0=_0x1f8c76['commands'][_0x2967('0x4')](_0x2967('0x8')),_0x5b331a=_0x1f8c76[_0x2967('0x2')][_0x2967('0x4')](_0x5b8859);_0x4e57a0&&(_0x4e57a0['on'](_0x2967('0x6'),(_0xf29ee8,[,_0x346448])=>{_0x346448['collaboration_features']={'comments':!0x0,'user_id':_0x5b331a['me']['id']};},{'priority':_0x3577b7[_0x2967('0x3')]+0xa}),this[_0x2967('0xd')](_0x4e57a0,_0x2967('0x9'),this[_0x2967('0x5')]));}[_0x2967('0x5')](_0x282a09,_0x15c8f5){const {comment_threads:_0xad6fb4}=_0x15c8f5;_0xad6fb4&&_0xad6fb4['forEach'](({thread_id:_0x19a667,comments:_0x2cfe15,is_resolved:_0x1eb4f2})=>{const _0x2299da=new Date(),_0x577c81=_0x2cfe15[_0x2967('0xe')](({author:_0x2f26e9,content:_0x37e052,created_at:_0xc5d049})=>({'content':_0x37e052,'authorId':this[_0x2967('0x7')][_0x2967('0x2')]['get'](_0x5b8859)['me']['id'],'createdAt':_0x2299da,'attributes':{'@external':{'authorName':_0x2f26e9,'createdAt':_0xc5d049?new Date(_0xc5d049):new Date(),'source':_0x2967('0x8')}}})),_0x2db12f=this[_0x2967('0x7')][_0x2967('0x1')]['get'](_0x2967('0x0'));this[_0x2967('0x7')]['plugins'][_0x2967('0x4')](_0x4ccb11)['addCommentThread']({'channelId':_0x2db12f,'threadId':_0x19a667,'comments':_0x577c81,'resolvedAt':_0x1eb4f2?_0x2299da:null});});}}
23
+ const _0x480c=['execute','define','editor','collaboration_features','collaboration.channelId','high','_handleImportedData','map','listenTo','config','importWord','get','forEach','importWord.formatting.comments','addCommentThread','afterInit','plugins','basic'];(function(_0x4e549f,_0x480cff){const _0x4bf1bd=function(_0x3c1d67){while(--_0x3c1d67){_0x4e549f['push'](_0x4e549f['shift']());}};_0x4bf1bd(++_0x480cff);}(_0x480c,0x1ad));const _0x4bf1=function(_0x4e549f,_0x480cff){_0x4e549f=_0x4e549f-0x0;let _0x4bf1bd=_0x480c[_0x4e549f];return _0x4bf1bd;};import{Plugin as _0x40460f}from'ckeditor5/src/core';import{priorities as _0x415852}from'ckeditor5/src/utils';import{Users as _0xee7030}from'ckeditor5-collaboration/src/collaboration-core';import _0x3e6350 from'../commentsrepository';export default class Z extends _0x40460f{constructor(_0x188aac){super(_0x188aac),this[_0x4bf1('0x5')][_0x4bf1('0xc')][_0x4bf1('0x4')](_0x4bf1('0x10'),_0x4bf1('0x2'));}[_0x4bf1('0x0')](){const _0x28a7c0=this[_0x4bf1('0x5')],_0xbb75f1=_0x28a7c0['commands'][_0x4bf1('0xe')]('importWord'),_0xe91b36=_0x28a7c0[_0x4bf1('0x1')][_0x4bf1('0xe')](_0xee7030);_0xbb75f1&&(_0xbb75f1['on'](_0x4bf1('0x3'),(_0x23ac05,[,_0x2fbe83])=>{_0x2fbe83[_0x4bf1('0x6')]={'comments':!0x0,'user_id':_0xe91b36['me']['id']};},{'priority':_0x415852[_0x4bf1('0x8')]+0xa}),this[_0x4bf1('0xb')](_0xbb75f1,'dataInsert',this[_0x4bf1('0x9')]));}[_0x4bf1('0x9')](_0x2e6587,_0xe5ea6d){const {comment_threads:_0x4491bd}=_0xe5ea6d;_0x4491bd&&_0x4491bd[_0x4bf1('0xf')](({thread_id:_0x556ee0,comments:_0x525b33,is_resolved:_0x465cd0})=>{const _0x4e2221=new Date(),_0x1ebca2=_0x525b33[_0x4bf1('0xa')](({author:_0x256b41,content:_0x1b653c,created_at:_0x461ca1})=>({'content':_0x1b653c,'authorId':this[_0x4bf1('0x5')]['plugins']['get'](_0xee7030)['me']['id'],'createdAt':_0x4e2221,'attributes':{'@external':{'authorName':_0x256b41,'createdAt':_0x461ca1?new Date(_0x461ca1):new Date(),'source':_0x4bf1('0xd')}}})),_0x5104ff=this[_0x4bf1('0x5')]['config']['get'](_0x4bf1('0x7'));this[_0x4bf1('0x5')][_0x4bf1('0x1')][_0x4bf1('0xe')](_0x3e6350)[_0x4bf1('0x11')]({'channelId':_0x5104ff,'threadId':_0x556ee0,'comments':_0x1ebca2,'resolvedAt':_0x465cd0?_0x4e2221:null});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x576b=['assign','document','focus','initPlugins','end','change:placeholder','defaultPlugins','getRoot','destroy','setSelection','ready','placeholder','plugins','data','editing','name','getChild','model','view','createRoot','_updatePlaceholder','create','then','childCount','placeholderElement','initialData','fire'];(function(_0x28e209,_0x576b2c){const _0x100280=function(_0xa53c4){while(--_0xa53c4){_0x28e209['push'](_0x28e209['shift']());}};_0x100280(++_0x576b2c);}(_0x576b,0x10f));const _0x1002=function(_0x28e209,_0x576b2c){_0x28e209=_0x28e209-0x0;let _0x100280=_0x576b[_0x28e209];return _0x100280;};import{Editor as _0x11eac6,DataApiMixin as _0x29dbf5}from'ckeditor5/src/core';import _0x241f46 from'./commenteditorui';import{ObservableMixin as _0x46353e}from'ckeditor5/src/utils';import{enablePlaceholder as _0x5608aa,disablePlaceholder as _0x559a6b}from'ckeditor5/src/engine';import{Clipboard as _0x5eca29}from'ckeditor5/src/clipboard';import{Enter as _0x5c346c,ShiftEnter as _0x39a0df}from'ckeditor5/src/enter';import{SelectAll as _0x55f51d}from'ckeditor5/src/select-all';import{Typing as _0x49365e}from'ckeditor5/src/typing';import{Undo as _0x5b0fc4}from'ckeditor5/src/undo';import{Paragraph as _0x276307}from'ckeditor5/src/paragraph';const Mt=[_0x5eca29,_0x5c346c,_0x39a0df,_0x55f51d,_0x49365e,_0x5b0fc4,_0x276307];export default class Nt extends _0x46353e(_0x29dbf5(_0x11eac6)){constructor(_0x219eaf={}){(_0x219eaf=Object[_0x1002('0x1a')]({},_0x219eaf))[_0x1002('0xb')]||(_0x219eaf[_0x1002('0xb')]=Nt[_0x1002('0x5')]),super(_0x219eaf),this['ui']=new _0x241f46(this),this['set'](_0x1002('0xa'),''),this[_0x1002('0x10')][_0x1002('0x0')]['on']('change',()=>this[_0x1002('0x13')](),{'priority':'low'}),this['on'](_0x1002('0x4'),()=>this['_updatePlaceholder']()),this[_0x1002('0x10')][_0x1002('0x0')][_0x1002('0x12')]();}[_0x1002('0x14')](){const _0x1a097e=this['config']['get'](_0x1002('0x18'))||'';return this[_0x1002('0x2')]()[_0x1002('0x15')](()=>this['ui']['init']())['then'](()=>this[_0x1002('0xc')]['init'](_0x1a097e))[_0x1002('0x15')](()=>this[_0x1002('0x19')](_0x1002('0x9')));}[_0x1002('0x7')](){return super[_0x1002('0x7')]()[_0x1002('0x15')](()=>this['ui']['destroy']());}[_0x1002('0x1')](){this[_0x1002('0x10')]['change'](_0x2b0fb3=>{const _0x3dff92=this[_0x1002('0x10')][_0x1002('0x0')][_0x1002('0x6')](),_0x1a7a56=_0x3dff92&&_0x3dff92['getChild'](_0x3dff92[_0x1002('0x16')]-0x1);_0x2b0fb3[_0x1002('0x8')](_0x1a7a56,_0x1002('0x3')),this[_0x1002('0xd')][_0x1002('0x11')][_0x1002('0x1')]();});}[_0x1002('0x13')](){const _0x49ebd3=this[_0x1002('0xd')][_0x1002('0x11')],_0x47573c=_0x49ebd3[_0x1002('0x0')][_0x1002('0x6')](),_0x5985d5=_0x47573c[_0x1002('0xf')](0x0);_0x47573c['childCount']>0x1||!_0x5985d5||'p'!=_0x5985d5[_0x1002('0xe')]?this[_0x1002('0x17')]&&this[_0x1002('0x17')][_0x1002('0xa')]&&(_0x559a6b(_0x49ebd3,this['placeholderElement']),this[_0x1002('0x17')]=void 0x0):(this[_0x1002('0xa')]&&(_0x5985d5['placeholder']=this['placeholder']),_0x5608aa({'view':_0x49ebd3,'element':_0x5985d5,'keepOnFocus':!0x0}),this[_0x1002('0x17')]=_0x5985d5);}}Nt[_0x1002('0x5')]=Mt;
23
+ const _0x10a8=['then','destroy','data','name','low','editing','model','initPlugins','setSelection','getChild','initialData','document','plugins','fire','placeholderElement','defaultPlugins','focus','_updatePlaceholder','config','init','change','getRoot','placeholder','assign','get'];(function(_0x440f1a,_0x10a84d){const _0x5af016=function(_0x906e06){while(--_0x906e06){_0x440f1a['push'](_0x440f1a['shift']());}};_0x5af016(++_0x10a84d);}(_0x10a8,0x182));const _0x5af0=function(_0x440f1a,_0x10a84d){_0x440f1a=_0x440f1a-0x0;let _0x5af016=_0x10a8[_0x440f1a];return _0x5af016;};import{Editor as _0x1aae21,DataApiMixin as _0x5c2e77}from'ckeditor5/src/core';import _0x30466a from'./commenteditorui';import{ObservableMixin as _0x2546e0}from'ckeditor5/src/utils';import{enablePlaceholder as _0x57a483,disablePlaceholder as _0x1003d3}from'ckeditor5/src/engine';import{Clipboard as _0x4a5794}from'ckeditor5/src/clipboard';import{Enter as _0xd600b9,ShiftEnter as _0x2d4767}from'ckeditor5/src/enter';import{SelectAll as _0x7f276}from'ckeditor5/src/select-all';import{Typing as _0x155fa6}from'ckeditor5/src/typing';import{Undo as _0x58909c}from'ckeditor5/src/undo';import{Paragraph as _0x27574e}from'ckeditor5/src/paragraph';const Mt=[_0x4a5794,_0xd600b9,_0x2d4767,_0x7f276,_0x155fa6,_0x58909c,_0x27574e];export default class Nt extends _0x2546e0(_0x5c2e77(_0x1aae21)){constructor(_0x31b348={}){(_0x31b348=Object[_0x5af0('0xc')]({},_0x31b348))[_0x5af0('0x1')]||(_0x31b348[_0x5af0('0x1')]=Nt['defaultPlugins']),super(_0x31b348),this['ui']=new _0x30466a(this),this['set'](_0x5af0('0xb'),''),this[_0x5af0('0x14')][_0x5af0('0x0')]['on'](_0x5af0('0x9'),()=>this['_updatePlaceholder'](),{'priority':_0x5af0('0x12')}),this['on']('change:placeholder',()=>this[_0x5af0('0x6')]()),this['model'][_0x5af0('0x0')]['createRoot']();}['create'](){const _0x2966cd=this[_0x5af0('0x7')][_0x5af0('0xd')](_0x5af0('0x18'))||'';return this[_0x5af0('0x15')]()[_0x5af0('0xe')](()=>this['ui'][_0x5af0('0x8')]())[_0x5af0('0xe')](()=>this[_0x5af0('0x10')][_0x5af0('0x8')](_0x2966cd))[_0x5af0('0xe')](()=>this[_0x5af0('0x2')]('ready'));}['destroy'](){return super[_0x5af0('0xf')]()['then'](()=>this['ui']['destroy']());}[_0x5af0('0x5')](){this[_0x5af0('0x14')][_0x5af0('0x9')](_0x32ecf0=>{const _0x5e2602=this[_0x5af0('0x14')][_0x5af0('0x0')][_0x5af0('0xa')](),_0x133875=_0x5e2602&&_0x5e2602['getChild'](_0x5e2602['childCount']-0x1);_0x32ecf0[_0x5af0('0x16')](_0x133875,'end'),this[_0x5af0('0x13')]['view']['focus']();});}[_0x5af0('0x6')](){const _0x57b2eb=this['editing']['view'],_0x32a4a1=_0x57b2eb[_0x5af0('0x0')]['getRoot'](),_0x5896e5=_0x32a4a1[_0x5af0('0x17')](0x0);_0x32a4a1['childCount']>0x1||!_0x5896e5||'p'!=_0x5896e5[_0x5af0('0x11')]?this[_0x5af0('0x3')]&&this[_0x5af0('0x3')]['placeholder']&&(_0x1003d3(_0x57b2eb,this[_0x5af0('0x3')]),this['placeholderElement']=void 0x0):(this[_0x5af0('0xb')]&&(_0x5896e5[_0x5af0('0xb')]=this['placeholder']),_0x57a483({'view':_0x57b2eb,'element':_0x5896e5,'keepOnFocus':!0x0}),this[_0x5af0('0x3')]=_0x5896e5);}}Nt[_0x5af0('0x4')]=Mt;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4bd9=['element','document','name','bind','setEditableElement','editing','destroy','view','render','editor','attachDomRoot','editable','locale','getRoot'];(function(_0x45eaba,_0x4bd917){const _0x339c79=function(_0x53d811){while(--_0x53d811){_0x45eaba['push'](_0x45eaba['shift']());}};_0x339c79(++_0x4bd917);}(_0x4bd9,0x189));const _0x339c=function(_0x45eaba,_0x4bd917){_0x45eaba=_0x45eaba-0x0;let _0x339c79=_0x4bd9[_0x45eaba];return _0x339c79;};import{EditorUI as _0x41e477}from'ckeditor5/src/ui';import _0x3589cc from'./commenteditoruiview';export default class Ft extends _0x41e477{constructor(_0x408904){super(_0x408904),this[_0x339c('0x6')]=new _0x3589cc(_0x408904[_0x339c('0xb')],_0x408904[_0x339c('0x4')][_0x339c('0x6')]);}get[_0x339c('0xd')](){return this[_0x339c('0x6')][_0x339c('0xd')];}['init'](){const _0x3ce8bd=this[_0x339c('0x8')][_0x339c('0x4')][_0x339c('0x6')],_0x1e5de4=this['view'][_0x339c('0xa')],_0xd591f6=_0x3ce8bd[_0x339c('0x0')][_0x339c('0xc')]();_0x1e5de4[_0x339c('0x1')]=_0xd591f6['rootName'],this[_0x339c('0x6')][_0x339c('0x7')]();const _0x4e403c=_0x1e5de4[_0x339c('0xd')];this[_0x339c('0x3')](_0x1e5de4[_0x339c('0x1')],_0x4e403c),this[_0x339c('0x6')][_0x339c('0xa')][_0x339c('0x2')]('isFocused')['to'](this['focusTracker']),_0x3ce8bd[_0x339c('0x9')](_0x4e403c),this['fire']('ready');}[_0x339c('0x5')](){super[_0x339c('0x5')](),this[_0x339c('0x6')]['destroy']();}}
23
+ const _0x16a3=['rootName','editable','getRoot','render','name','attachDomRoot','focusTracker','element','init','fire','isFocused','ready','destroy','bind','view','editing'];(function(_0x5ddd52,_0x16a314){const _0x58f9fa=function(_0x14d4ab){while(--_0x14d4ab){_0x5ddd52['push'](_0x5ddd52['shift']());}};_0x58f9fa(++_0x16a314);}(_0x16a3,0x1ee));const _0x58f9=function(_0x5ddd52,_0x16a314){_0x5ddd52=_0x5ddd52-0x0;let _0x58f9fa=_0x16a3[_0x5ddd52];return _0x58f9fa;};import{EditorUI as _0x1a6ec2}from'ckeditor5/src/ui';import _0x2cd002 from'./commenteditoruiview';export default class Ft extends _0x1a6ec2{constructor(_0x278e60){super(_0x278e60),this[_0x58f9('0x0')]=new _0x2cd002(_0x278e60['locale'],_0x278e60[_0x58f9('0x1')][_0x58f9('0x0')]);}get[_0x58f9('0x9')](){return this[_0x58f9('0x0')]['element'];}[_0x58f9('0xa')](){const _0x9c60ec=this['editor'][_0x58f9('0x1')][_0x58f9('0x0')],_0x364cef=this[_0x58f9('0x0')][_0x58f9('0x3')],_0x4b4120=_0x9c60ec['document'][_0x58f9('0x4')]();_0x364cef[_0x58f9('0x6')]=_0x4b4120[_0x58f9('0x2')],this[_0x58f9('0x0')][_0x58f9('0x5')]();const _0x23fb2d=_0x364cef[_0x58f9('0x9')];this['setEditableElement'](_0x364cef[_0x58f9('0x6')],_0x23fb2d),this['view'][_0x58f9('0x3')][_0x58f9('0xf')](_0x58f9('0xc'))['to'](this[_0x58f9('0x8')]),_0x9c60ec[_0x58f9('0x7')](_0x23fb2d),this[_0x58f9('0xb')](_0x58f9('0xd'));}[_0x58f9('0xe')](){super['destroy'](),this[_0x58f9('0x0')][_0x58f9('0xe')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x47b9=['main','uiLanguageDirection','editable','ck-editor','ck-editor__aria-label_','div','extendTemplate','add','_voiceLabelView','ck-comment__input','presentation','cke-editor__aria-label_','ck-voice-label','setTemplate','ck-reset','ck-rounded-corners','focus','render'];(function(_0x3afb06,_0x47b9e7){const _0x4a03c0=function(_0x5dd606){while(--_0x5dd606){_0x3afb06['push'](_0x3afb06['shift']());}};_0x4a03c0(++_0x47b9e7);}(_0x47b9,0x15b));const _0x4a03=function(_0x3afb06,_0x47b9e7){_0x3afb06=_0x3afb06-0x0;let _0x4a03c0=_0x47b9[_0x3afb06];return _0x4a03c0;};import{InlineEditableUIView as _0x291139,EditorUIView as _0x5b3ee6,LabelView as _0x1a6a93}from'ckeditor5/src/ui';import{uid as _0xd9e056}from'ckeditor5/src/utils';import{getTranslation as _0x1cb461}from'../../../utils/common-translations';export default class Rt extends _0x5b3ee6{constructor(_0x4026c6,_0x49d010){super(_0x4026c6);const _0x3e2558=_0xd9e056();this[_0x4a03('0xd')]=this['createCollection'](),this[_0x4a03('0xf')]=new _0x291139(_0x4026c6,_0x49d010),this[_0x4a03('0x3')]=this['_createVoiceLabel'](_0x3e2558,_0x4026c6),this[_0x4a03('0x8')]({'tag':'div','attributes':{'class':[_0x4a03('0x9'),_0x4a03('0x10'),_0x4a03('0xa'),_0x4a03('0x4')],'role':'comment','dir':_0x4026c6[_0x4a03('0xe')],'lang':_0x4026c6['uiLanguage'],'aria-labelledby':_0x4a03('0x6')+_0x3e2558},'children':[this[_0x4a03('0x3')],{'tag':_0x4a03('0x0'),'attributes':{'class':'ck-editor__main','role':_0x4a03('0x5')},'children':this[_0x4a03('0xd')]}]});}[_0x4a03('0xc')](){super[_0x4a03('0xc')](),this[_0x4a03('0xd')][_0x4a03('0x2')](this[_0x4a03('0xf')]);}['focus'](){this['editable']['element'][_0x4a03('0xb')]();}['_createVoiceLabel'](_0x3e37d4,_0x12936a){const _0x4d080d=new _0x1a6a93();return _0x4d080d['text']=_0x1cb461(_0x12936a,'Comment\x20editor'),_0x4d080d[_0x4a03('0x1')]({'attributes':{'id':_0x4a03('0x11')+_0x3e37d4,'class':_0x4a03('0x7')}}),_0x4d080d;}}
23
+ const _0x14b1=['setTemplate','main','uiLanguage','ck-editor__main','ck-voice-label','createCollection','presentation','element','render','editable','_createVoiceLabel','cke-editor__aria-label_','_voiceLabelView','ck-editor','focus','ck-rounded-corners','extendTemplate','ck-editor__aria-label_','comment','div','ck-reset'];(function(_0x1b112a,_0x14b1d7){const _0x1646ff=function(_0x2ff2f0){while(--_0x2ff2f0){_0x1b112a['push'](_0x1b112a['shift']());}};_0x1646ff(++_0x14b1d7);}(_0x14b1,0xd5));const _0x1646=function(_0x1b112a,_0x14b1d7){_0x1b112a=_0x1b112a-0x0;let _0x1646ff=_0x14b1[_0x1b112a];return _0x1646ff;};import{InlineEditableUIView as _0x2c4b84,EditorUIView as _0x557408,LabelView as _0x30c765}from'ckeditor5/src/ui';import{uid as _0x461aaa}from'ckeditor5/src/utils';import{getTranslation as _0x981009}from'../../../utils/common-translations';export default class Rt extends _0x557408{constructor(_0x4b949e,_0xbb2bc7){super(_0x4b949e);const _0x3113b8=_0x461aaa();this[_0x1646('0x13')]=this[_0x1646('0x2')](),this['editable']=new _0x2c4b84(_0x4b949e,_0xbb2bc7),this[_0x1646('0x9')]=this['_createVoiceLabel'](_0x3113b8,_0x4b949e),this[_0x1646('0x12')]({'tag':_0x1646('0x10'),'attributes':{'class':[_0x1646('0x11'),_0x1646('0xa'),_0x1646('0xc'),'ck-comment__input'],'role':_0x1646('0xf'),'dir':_0x4b949e['uiLanguageDirection'],'lang':_0x4b949e[_0x1646('0x14')],'aria-labelledby':_0x1646('0x8')+_0x3113b8},'children':[this[_0x1646('0x9')],{'tag':_0x1646('0x10'),'attributes':{'class':_0x1646('0x0'),'role':_0x1646('0x3')},'children':this['main']}]});}[_0x1646('0x5')](){super[_0x1646('0x5')](),this[_0x1646('0x13')]['add'](this[_0x1646('0x6')]);}[_0x1646('0xb')](){this['editable'][_0x1646('0x4')][_0x1646('0xb')]();}[_0x1646('0x7')](_0x3c7b8a,_0x317b13){const _0x105492=new _0x30c765();return _0x105492['text']=_0x981009(_0x317b13,'Comment\x20editor'),_0x105492[_0x1646('0xd')]({'attributes':{'id':_0x1646('0xe')+_0x3c7b8a,'class':_0x1646('0x1')}}),_0x105492;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x438c=['isResolved','submitCommentThread','resolveCommentThread','resolve','stopListening','submit','remove','listenTo','reopen','addComment','_isAttached','model','removeComment','view','_localUser','reopenCommentThread','updateComment','getComment','update','removeCommentThread'];(function(_0x709ce7,_0x438c03){var _0x376179=function(_0x71c40b){while(--_0x71c40b){_0x709ce7['push'](_0x709ce7['shift']());}};_0x376179(++_0x438c03);}(_0x438c,0x81));var _0x3761=function(_0x709ce7,_0x438c03){_0x709ce7=_0x709ce7-0x0;var _0x376179=_0x438c[_0x709ce7];return _0x376179;};import{ObservableMixin as _0x1b2c91}from'ckeditor5/src/utils';export default class ut extends _0x1b2c91(){constructor(_0x155d66,_0x4db4f5){super(),this[_0x3761('0x2')]=_0x155d66,this[_0x3761('0x2')][_0x3761('0x1')]=!0x0,this[_0x3761('0x4')]=_0x4db4f5,this[_0x3761('0x12')](_0x4db4f5,_0x3761('0xc'),()=>this[_0x3761('0x10')]()),this[_0x3761('0x12')](_0x4db4f5,_0x3761('0xa'),()=>this['remove']()),this[_0x3761('0x12')](_0x4db4f5,_0x3761('0xd'),()=>this[_0x3761('0xe')]()),this['listenTo'](_0x4db4f5,_0x3761('0x6'),()=>this[_0x3761('0x13')]()),this['listenTo'](_0x4db4f5,_0x3761('0x0'),(_0x3e9d01,_0x4650ce)=>this[_0x3761('0x0')](_0x4650ce)),this[_0x3761('0x12')](_0x4db4f5,_0x3761('0x7'),(_0x3f9881,_0x41a202,_0x47d1c3)=>this[_0x3761('0x7')](_0x41a202,_0x47d1c3)),this['listenTo'](_0x4db4f5,_0x3761('0x3'),(_0x129a02,_0x49f381)=>this[_0x3761('0x3')](_0x49f381));}[_0x3761('0x10')](){this[_0x3761('0x2')][_0x3761('0x10')]();}[_0x3761('0x11')](){this[_0x3761('0x2')][_0x3761('0x11')]();}[_0x3761('0xe')](){this[_0x3761('0x2')][_0x3761('0xb')]||this['model'][_0x3761('0xe')]();}['reopen'](){this['model'][_0x3761('0xb')]&&this[_0x3761('0x2')][_0x3761('0x13')]();}[_0x3761('0x0')](_0x262f5f){this['model'][_0x3761('0x0')]({'content':_0x262f5f,'authorId':this[_0x3761('0x4')][_0x3761('0x5')]['id']});}[_0x3761('0x7')](_0x17a3f8,_0x4725c0){this[_0x3761('0x2')][_0x3761('0x8')](_0x17a3f8)[_0x3761('0x9')]({'content':_0x4725c0});}[_0x3761('0x3')](_0x2c3562){this[_0x3761('0x2')]['getComment'](_0x2c3562)[_0x3761('0x11')]();}['destroy'](){this[_0x3761('0xf')](),this[_0x3761('0x2')][_0x3761('0x1')]=!0x1;}}
23
+ var _0x3d1e=['update','model','updateComment','addComment','removeCommentThread','submit','removeComment','view','stopListening','isResolved','_localUser','resolve','getComment','_isAttached','listenTo','remove','reopen','destroy'];(function(_0x251329,_0x3d1e7f){var _0x25e503=function(_0x2aaa09){while(--_0x2aaa09){_0x251329['push'](_0x251329['shift']());}};_0x25e503(++_0x3d1e7f);}(_0x3d1e,0xff));var _0x25e5=function(_0x251329,_0x3d1e7f){_0x251329=_0x251329-0x0;var _0x25e503=_0x3d1e[_0x251329];return _0x25e503;};import{ObservableMixin as _0x12f3e4}from'ckeditor5/src/utils';export default class ut extends _0x12f3e4(){constructor(_0x5b84a9,_0x318a5f){super(),this[_0x25e5('0x10')]=_0x5b84a9,this[_0x25e5('0x10')][_0x25e5('0xa')]=!0x0,this[_0x25e5('0x4')]=_0x318a5f,this[_0x25e5('0xb')](_0x318a5f,'submitCommentThread',()=>this['submit']()),this[_0x25e5('0xb')](_0x318a5f,_0x25e5('0x1'),()=>this[_0x25e5('0xc')]()),this[_0x25e5('0xb')](_0x318a5f,'resolveCommentThread',()=>this[_0x25e5('0x8')]()),this[_0x25e5('0xb')](_0x318a5f,'reopenCommentThread',()=>this[_0x25e5('0xd')]()),this[_0x25e5('0xb')](_0x318a5f,_0x25e5('0x0'),(_0x58db39,_0x26d4bf)=>this[_0x25e5('0x0')](_0x26d4bf)),this[_0x25e5('0xb')](_0x318a5f,_0x25e5('0x11'),(_0x492036,_0x1711d1,_0x5a7f72)=>this[_0x25e5('0x11')](_0x1711d1,_0x5a7f72)),this[_0x25e5('0xb')](_0x318a5f,_0x25e5('0x3'),(_0x37ba2c,_0x6309ea)=>this[_0x25e5('0x3')](_0x6309ea));}[_0x25e5('0x2')](){this[_0x25e5('0x10')][_0x25e5('0x2')]();}[_0x25e5('0xc')](){this[_0x25e5('0x10')]['remove']();}[_0x25e5('0x8')](){this[_0x25e5('0x10')][_0x25e5('0x6')]||this['model'][_0x25e5('0x8')]();}[_0x25e5('0xd')](){this[_0x25e5('0x10')][_0x25e5('0x6')]&&this[_0x25e5('0x10')]['reopen']();}['addComment'](_0x3f6246){this[_0x25e5('0x10')]['addComment']({'content':_0x3f6246,'authorId':this[_0x25e5('0x4')][_0x25e5('0x7')]['id']});}[_0x25e5('0x11')](_0x7bc8a6,_0x456408){this[_0x25e5('0x10')]['getComment'](_0x7bc8a6)[_0x25e5('0xf')]({'content':_0x456408});}[_0x25e5('0x3')](_0x35c307){this[_0x25e5('0x10')][_0x25e5('0x9')](_0x35c307)[_0x25e5('0xc')]();}[_0x25e5('0xe')](){this[_0x25e5('0x5')](),this[_0x25e5('0x10')]['_isAttached']=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x229e=['_model','commentThreadHeaderView','resolveCommentThread','commentThreadInputView','submitLabel','disabledSubmit','updateComment','focus','isDirty','locale','placeholder','assign','editorReady','value','editorDestroyed','isSubmitted','isResolved','_config','editorConfig','commentInputView','change:isActive','length','commentsListView','removeComment','isUnlinked','showInput','Write\x20a\x20comment...','Reply\x20to\x20reopen\x20discussion...','isResolvable','hasDirtyComment','removeCommentThread','set','isReadOnly','cancel','_localUser','fire','addComment','isActive','submitCommentThread','destroy','Reply...','delegate','reopenCommentThread','bind','listenTo','_createCommentThreadInputView'];(function(_0x15919d,_0x229e00){const _0x2daa7f=function(_0x12f31f){while(--_0x12f31f){_0x15919d['push'](_0x15919d['shift']());}};_0x2daa7f(++_0x229e00);}(_0x229e,0xbe));const _0x2daa=function(_0x15919d,_0x229e00){_0x15919d=_0x15919d-0x0;let _0x2daa7f=_0x229e[_0x15919d];return _0x2daa7f;};import{View as _0x20a50e}from'ckeditor5/src/ui';import _0x21804a from'./commentthreadinputview';import _0xf9f4b1 from'./commentslistview';import _0x1c519e from'./commentthreadheaderview';import{getTranslation as _0xe71984}from'../../../utils/common-translations';export default class Ut extends _0x20a50e{constructor(_0x386dce,_0x2cc357,_0x253709,_0x1ace27){super(_0x386dce),this[_0x2daa('0x19')](_0x2daa('0x1f'),!0x1),this[_0x2daa('0x19')](_0x2daa('0x2'),!0x1),this[_0x2daa('0x28')]=_0x2cc357,this[_0x2daa('0x1c')]=_0x253709,this[_0x2daa('0xb')]=_0x1ace27,this['commentThreadHeaderView']=new _0x1c519e(_0x386dce,_0x2cc357),this[_0x2daa('0x29')][_0x2daa('0x23')](_0x2daa('0x24'))['to'](this),this[_0x2daa('0x26')](this,'reopenCommentThread',()=>{this[_0x2daa('0x1')]();}),this[_0x2daa('0x10')]=new _0xf9f4b1(_0x386dce,_0x2cc357,Object[_0x2daa('0x5')]({'CommentView':this[_0x2daa('0xb')]['CommentView']},_0x1ace27)),this[_0x2daa('0x10')][_0x2daa('0x23')](_0x2daa('0x11'))['to'](this),this[_0x2daa('0x10')][_0x2daa('0x23')](_0x2daa('0x0'))['to'](this),this['commentsListView']['delegate'](_0x2daa('0x2a'))['to'](this),this[_0x2daa('0x10')][_0x2daa('0x23')]('editorReady')['to'](this),this[_0x2daa('0x10')][_0x2daa('0x23')](_0x2daa('0x8'))['to'](this),this['commentsListView'][_0x2daa('0x25')](_0x2daa('0x1f'))['to'](this),this[_0x2daa('0x26')](this,_0x2daa('0x2a'),()=>{this[_0x2daa('0x1')]();}),this[_0x2daa('0x19')](_0x2daa('0xf'),this['commentsListView'][_0x2daa('0xf')]),this[_0x2daa('0x25')](_0x2daa('0xf'))['to'](this[_0x2daa('0x10')],_0x2daa('0xf')),this[_0x2daa('0x2b')]=this['_createCommentThreadInputView'](),this[_0x2daa('0x2b')][_0x2daa('0x23')](_0x2daa('0x6'))['to'](this),this[_0x2daa('0x2b')]['delegate'](_0x2daa('0x8'))['to'](this),this['on']('removeComment',()=>this[_0x2daa('0x1')]()),this['bind'](_0x2daa('0x2'))['to'](this[_0x2daa('0x10')],_0x2daa('0x17'),this['commentThreadInputView'][_0x2daa('0xd')],_0x2daa('0x7'),(_0x1956d8,_0x1d1bef)=>_0x1956d8||!!_0x1d1bef),this[_0x2daa('0x25')](_0x2daa('0x12'))['to'](_0x2cc357,'unlinkedAt',_0x26e0eb=>!!_0x26e0eb);}[_0x2daa('0x1')](){this['element'][_0x2daa('0x1')]();}async['destroy'](){this['isDirty']=!0x1,this[_0x2daa('0x10')][_0x2daa('0x21')](),await this[_0x2daa('0x2b')][_0x2daa('0x21')](),super['destroy']();}[_0x2daa('0x27')](){const _0x343443=new _0x21804a(this[_0x2daa('0x3')],this[_0x2daa('0x1c')],this[_0x2daa('0xb')][_0x2daa('0xc')]),_0x22920a=_0x343443[_0x2daa('0xd')];return _0x343443[_0x2daa('0x25')](_0x2daa('0x13'))['to'](this,_0x2daa('0x1f'),this[_0x2daa('0x28')],'isReadOnly',this[_0x2daa('0x28')],'canComment',this['_model'],'archivedAt',_0x22920a,_0x2daa('0x7'),(_0x54ac42,_0x3398a2,_0x13f34c,_0x2e6072,_0x2f078c)=>!!_0x2f078c||!!_0x2e6072&&_0x13f34c&&!_0x3398a2||_0x54ac42&&_0x13f34c&&!_0x3398a2),_0x22920a[_0x2daa('0x25')](_0x2daa('0x4'))['to'](this,_0x2daa('0xf'),this['_model'],_0x2daa('0x16'),this[_0x2daa('0x28')],'isResolved',(_0x5134e9,_0x1e6516,_0x35b814)=>{let _0x14e904;return _0x14e904=_0x35b814&&_0x1e6516?_0x2daa('0x15'):_0x5134e9?_0x2daa('0x22'):_0x2daa('0x14'),_0xe71984(this[_0x2daa('0x3')],_0x14e904);}),_0x22920a[_0x2daa('0x25')](_0x2daa('0x2c'))['to'](this,_0x2daa('0xf'),_0x5bf686=>_0xe71984(this[_0x2daa('0x3')],_0x5bf686?'Reply':'Comment')),_0x22920a['on']('submit',(_0x6f52af,_0x128c9a)=>{this[_0x2daa('0x1d')](_0x2daa('0x1e'),_0x128c9a),this[_0x2daa('0x28')][_0x2daa('0xa')]&&this[_0x2daa('0x28')]['isResolvable']&&this[_0x2daa('0x1d')](_0x2daa('0x24'),this[_0x2daa('0x28')]['id']),this[_0x2daa('0x28')][_0x2daa('0x9')]||this[_0x2daa('0x1d')](_0x2daa('0x20'));}),_0x22920a['on'](_0x2daa('0x1b'),()=>{this[_0x2daa('0x1')]();}),_0x22920a['bind'](_0x2daa('0x2d'))['to'](this[_0x2daa('0x28')],_0x2daa('0x1a')),_0x22920a['on']('cancel',_0x5d446=>{0x0==this[_0x2daa('0xf')]&&(this[_0x2daa('0x1d')](_0x2daa('0x18')),_0x5d446['stop']());}),this['on'](_0x2daa('0xe'),(_0x32a822,_0x1fee44,_0x18ecaa)=>{_0x18ecaa||this[_0x2daa('0xf')]||_0x22920a[_0x2daa('0x7')]||this[_0x2daa('0x1d')](_0x2daa('0x18'));}),_0x343443;}}
23
+ const _0x37c0=['editorDestroyed','_createCommentThreadInputView','placeholder','Write\x20a\x20comment...','cancel','updateComment','archivedAt','Reply...','element','disabledSubmit','_model','isSubmitted','submit','locale','resolveCommentThread','unlinkedAt','isActive','isResolved','_config','destroy','assign','bind','_localUser','stop','commentThreadHeaderView','commentsListView','CommentView','delegate','value','reopenCommentThread','isResolvable','editorConfig','hasDirtyComment','length','submitCommentThread','isReadOnly','focus','isUnlinked','Reply','fire','commentInputView','addComment','canComment','set','Comment','listenTo','editorReady','isDirty','removeCommentThread','removeComment','showInput','commentThreadInputView'];(function(_0x3c8497,_0x37c04c){const _0xafa11e=function(_0x4b0516){while(--_0x4b0516){_0x3c8497['push'](_0x3c8497['shift']());}};_0xafa11e(++_0x37c04c);}(_0x37c0,0x162));const _0xafa1=function(_0x3c8497,_0x37c04c){_0x3c8497=_0x3c8497-0x0;let _0xafa11e=_0x37c0[_0x3c8497];return _0xafa11e;};import{View as _0x52a99a}from'ckeditor5/src/ui';import _0xbd13ac from'./commentthreadinputview';import _0x2d7901 from'./commentslistview';import _0x53abb1 from'./commentthreadheaderview';import{getTranslation as _0x2e6104}from'../../../utils/common-translations';export default class Ut extends _0x52a99a{constructor(_0x54c8a3,_0x7c380d,_0x3373ca,_0x32b012){super(_0x54c8a3),this[_0xafa1('0x1')]('isActive',!0x1),this['set'](_0xafa1('0x5'),!0x1),this['_model']=_0x7c380d,this['_localUser']=_0x3373ca,this[_0xafa1('0x1c')]=_0x32b012,this[_0xafa1('0x22')]=new _0x53abb1(_0x54c8a3,_0x7c380d),this[_0xafa1('0x22')][_0xafa1('0x25')](_0xafa1('0x27'))['to'](this),this[_0xafa1('0x3')](this,_0xafa1('0x27'),()=>{this[_0xafa1('0x2e')]();}),this[_0xafa1('0x23')]=new _0x2d7901(_0x54c8a3,_0x7c380d,Object[_0xafa1('0x1e')]({'CommentView':this['_config'][_0xafa1('0x24')]},_0x32b012)),this['commentsListView'][_0xafa1('0x25')]('removeComment')['to'](this),this[_0xafa1('0x23')][_0xafa1('0x25')](_0xafa1('0xf'))['to'](this),this[_0xafa1('0x23')][_0xafa1('0x25')](_0xafa1('0x18'))['to'](this),this[_0xafa1('0x23')][_0xafa1('0x25')]('editorReady')['to'](this),this[_0xafa1('0x23')][_0xafa1('0x25')](_0xafa1('0xa'))['to'](this),this['commentsListView'][_0xafa1('0x1f')](_0xafa1('0x1a'))['to'](this),this[_0xafa1('0x3')](this,'resolveCommentThread',()=>{this[_0xafa1('0x2e')]();}),this['set'](_0xafa1('0x2b'),this['commentsListView']['length']),this[_0xafa1('0x1f')](_0xafa1('0x2b'))['to'](this[_0xafa1('0x23')],_0xafa1('0x2b')),this[_0xafa1('0x9')]=this[_0xafa1('0xb')](),this[_0xafa1('0x9')][_0xafa1('0x25')](_0xafa1('0x4'))['to'](this),this[_0xafa1('0x9')][_0xafa1('0x25')]('editorDestroyed')['to'](this),this['on'](_0xafa1('0x7'),()=>this[_0xafa1('0x2e')]()),this[_0xafa1('0x1f')](_0xafa1('0x5'))['to'](this['commentsListView'],_0xafa1('0x2a'),this[_0xafa1('0x9')]['commentInputView'],_0xafa1('0x26'),(_0x8c24ab,_0x5bf363)=>_0x8c24ab||!!_0x5bf363),this['bind'](_0xafa1('0x2f'))['to'](_0x7c380d,_0xafa1('0x19'),_0x4ee00f=>!!_0x4ee00f);}[_0xafa1('0x2e')](){this[_0xafa1('0x12')][_0xafa1('0x2e')]();}async[_0xafa1('0x1d')](){this[_0xafa1('0x5')]=!0x1,this[_0xafa1('0x23')][_0xafa1('0x1d')](),await this[_0xafa1('0x9')][_0xafa1('0x1d')](),super[_0xafa1('0x1d')]();}[_0xafa1('0xb')](){const _0x40fe98=new _0xbd13ac(this[_0xafa1('0x17')],this[_0xafa1('0x20')],this['_config'][_0xafa1('0x29')]),_0x5cff81=_0x40fe98[_0xafa1('0x32')];return _0x40fe98['bind'](_0xafa1('0x8'))['to'](this,_0xafa1('0x1a'),this['_model'],'isReadOnly',this[_0xafa1('0x14')],_0xafa1('0x0'),this['_model'],_0xafa1('0x10'),_0x5cff81,_0xafa1('0x26'),(_0x5791fe,_0x5c28c4,_0x1a4e7c,_0x59845b,_0x4d01a2)=>!!_0x4d01a2||!!_0x59845b&&_0x1a4e7c&&!_0x5c28c4||_0x5791fe&&_0x1a4e7c&&!_0x5c28c4),_0x5cff81[_0xafa1('0x1f')](_0xafa1('0xc'))['to'](this,_0xafa1('0x2b'),this[_0xafa1('0x14')],_0xafa1('0x28'),this[_0xafa1('0x14')],_0xafa1('0x1b'),(_0x240bee,_0xcd308f,_0x1fc83b)=>{let _0x427cf9;return _0x427cf9=_0x1fc83b&&_0xcd308f?'Reply\x20to\x20reopen\x20discussion...':_0x240bee?_0xafa1('0x11'):_0xafa1('0xd'),_0x2e6104(this[_0xafa1('0x17')],_0x427cf9);}),_0x5cff81[_0xafa1('0x1f')]('submitLabel')['to'](this,_0xafa1('0x2b'),_0xcf2478=>_0x2e6104(this['locale'],_0xcf2478?_0xafa1('0x30'):_0xafa1('0x2'))),_0x5cff81['on'](_0xafa1('0x16'),(_0x171751,_0x155777)=>{this[_0xafa1('0x31')](_0xafa1('0x33'),_0x155777),this[_0xafa1('0x14')][_0xafa1('0x1b')]&&this[_0xafa1('0x14')][_0xafa1('0x28')]&&this[_0xafa1('0x31')](_0xafa1('0x27'),this[_0xafa1('0x14')]['id']),this[_0xafa1('0x14')][_0xafa1('0x15')]||this[_0xafa1('0x31')](_0xafa1('0x2c'));}),_0x5cff81['on']('cancel',()=>{this[_0xafa1('0x2e')]();}),_0x5cff81[_0xafa1('0x1f')](_0xafa1('0x13'))['to'](this[_0xafa1('0x14')],_0xafa1('0x2d')),_0x5cff81['on'](_0xafa1('0xe'),_0x5eaca0=>{0x0==this['length']&&(this[_0xafa1('0x31')](_0xafa1('0x6')),_0x5eaca0[_0xafa1('0x21')]());}),this['on']('change:isActive',(_0x4ac592,_0x5ee72a,_0xc6c778)=>{_0xc6c778||this[_0xafa1('0x2b')]||_0x5cff81['value']||this[_0xafa1('0x31')](_0xafa1('0x6'));}),_0x40fe98;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x119c=['add','switchToDisplayMode','createEditor','editorConfig','locale','submit','set','isReadOnly','delegate','focus','submitLabel','content','isSystemComment','maxCommentCharsWhenCollapsed','destroy','remove','_config','editorReady','_createCommentContentView','isCollapsed','isEditMode','fire','editorDestroyed','element','_createCommentInputView','createCollection','visibleView','bind','disabledSubmit','_model','Save','initialData','expand','cancel','get'];(function(_0x57e0af,_0x119c53){const _0x5a3efe=function(_0x1ba1e6){while(--_0x1ba1e6){_0x57e0af['push'](_0x57e0af['shift']());}};_0x5a3efe(++_0x119c53);}(_0x119c,0x1d5));const _0x5a3e=function(_0x57e0af,_0x119c53){_0x57e0af=_0x57e0af-0x0;let _0x5a3efe=_0x119c[_0x57e0af];return _0x5a3efe;};import{View as _0x67cb17}from'ckeditor5/src/ui';import{trimHtml as _0x5d7464}from'ckeditor5-collaboration/src/collaboration-core';import _0x17c507 from'./commentcontentview';import _0x45da1b from'./commentinputview';import{getTranslation as _0x133295}from'../../../utils/common-translations';export default class ti extends _0x67cb17{constructor(_0x6048bf,_0x3848cc,_0x51ec20){super(_0x6048bf),this[_0x5a3e('0xf')]=_0x3848cc,this[_0x5a3e('0x2')]=_0x51ec20,this[_0x5a3e('0x21')]=!!this['_config']['isSystemComment'],this[_0x5a3e('0x1b')]('isEditMode',!0x1),this[_0x5a3e('0x1b')](_0x5a3e('0x5'),!0x0),this[_0x5a3e('0xc')]=this[_0x5a3e('0xb')](),this['visibleView'][_0x5a3e('0x15')](this[_0x5a3e('0x4')]());}[_0x5a3e('0x12')](){this[_0x5a3e('0x5')]=!0x1;}['collapse'](){this[_0x5a3e('0x6')]||(this['isCollapsed']=!0x0);}[_0x5a3e('0x1e')](){this[_0x5a3e('0x9')][_0x5a3e('0x1e')]();}async[_0x5a3e('0x0')](){await this[_0x5a3e('0xc')][_0x5a3e('0x14')](0x0)[_0x5a3e('0x0')](),super[_0x5a3e('0x0')]();}['switchToEditMode'](){this['isEditMode']||(this[_0x5a3e('0x6')]=!0x0,this[_0x5a3e('0xc')]['remove'](0x0)[_0x5a3e('0x0')](),this[_0x5a3e('0xc')][_0x5a3e('0x15')](this[_0x5a3e('0xa')]()));}[_0x5a3e('0x16')](){this[_0x5a3e('0x6')]&&(this[_0x5a3e('0x6')]=!0x1,this[_0x5a3e('0xc')][_0x5a3e('0x1')](0x0)[_0x5a3e('0x0')](),this['visibleView'][_0x5a3e('0x15')](this['_createCommentContentView']()));}['_createCommentContentView'](){const _0x25869e=new _0x17c507(this['locale']);return _0x25869e[_0x5a3e('0xd')]('content')['to'](this['_model'],_0x5a3e('0x20'),this,_0x5a3e('0x5'),(_0x28271d,_0x24a6f3)=>_0x24a6f3?_0x5d7464(_0x28271d,{'limit':this[_0x5a3e('0x2')][_0x5a3e('0x22')]}):_0x28271d),_0x25869e;}[_0x5a3e('0xa')](){this['_config'][_0x5a3e('0x18')]||(this[_0x5a3e('0x2')][_0x5a3e('0x18')]={}),this[_0x5a3e('0x2')]['editorConfig'][_0x5a3e('0x11')]=this[_0x5a3e('0xf')]['content'];const _0x1f9659=new _0x45da1b(this[_0x5a3e('0x19')],this[_0x5a3e('0x2')][_0x5a3e('0x18')]);return _0x1f9659['value']=this[_0x5a3e('0xf')][_0x5a3e('0x20')],_0x1f9659['bind'](_0x5a3e('0xe'))['to'](this['_model'],_0x5a3e('0x1c')),_0x1f9659[_0x5a3e('0x1f')]=_0x133295(this[_0x5a3e('0x19')],_0x5a3e('0x10')),_0x1f9659['on'](_0x5a3e('0x1a'),(_0x5f4f41,_0x33ed1c)=>{this[_0x5a3e('0x7')]('updateComment',this[_0x5a3e('0xf')]['id'],_0x33ed1c),this['switchToDisplayMode'](),this[_0x5a3e('0x1e')]();}),_0x1f9659['on'](_0x5a3e('0x13'),()=>{this[_0x5a3e('0x16')](),this[_0x5a3e('0x1e')]();}),_0x1f9659['once'](_0x5a3e('0x3'),()=>{_0x1f9659['focus']();}),_0x1f9659[_0x5a3e('0x17')](),_0x1f9659[_0x5a3e('0x1d')](_0x5a3e('0x3'))['to'](this),_0x1f9659[_0x5a3e('0x1d')](_0x5a3e('0x8'))['to'](this),_0x1f9659;}}
23
+ const _0x2845=['maxCommentCharsWhenCollapsed','once','editorDestroyed','isSystemComment','submitLabel','editorConfig','delegate','bind','destroy','_model','updateComment','isEditMode','disabledSubmit','content','switchToDisplayMode','isCollapsed','createCollection','_createCommentInputView','submit','value','editorReady','focus','element','locale','_config','add','visibleView','set','switchToEditMode','fire','_createCommentContentView','expand','remove','initialData','get'];(function(_0x8edef4,_0x2845f7){const _0x201ea1=function(_0x38ab81){while(--_0x38ab81){_0x8edef4['push'](_0x8edef4['shift']());}};_0x201ea1(++_0x2845f7);}(_0x2845,0x89));const _0x201e=function(_0x8edef4,_0x2845f7){_0x8edef4=_0x8edef4-0x0;let _0x201ea1=_0x2845[_0x8edef4];return _0x201ea1;};import{View as _0x47420f}from'ckeditor5/src/ui';import{trimHtml as _0x4f61b8}from'ckeditor5-collaboration/src/collaboration-core';import _0x244c8d from'./commentcontentview';import _0x1a47a9 from'./commentinputview';import{getTranslation as _0xee1621}from'../../../utils/common-translations';export default class ti extends _0x47420f{constructor(_0x4f67fc,_0x482852,_0x1ec567){super(_0x4f67fc),this[_0x201e('0xc')]=_0x482852,this['_config']=_0x1ec567,this['isSystemComment']=!!this['_config'][_0x201e('0x6')],this[_0x201e('0x1e')](_0x201e('0xe'),!0x1),this[_0x201e('0x1e')](_0x201e('0x12'),!0x0),this[_0x201e('0x1d')]=this[_0x201e('0x13')](),this['visibleView'][_0x201e('0x1c')](this[_0x201e('0x21')]());}[_0x201e('0x22')](){this['isCollapsed']=!0x1;}['collapse'](){this[_0x201e('0xe')]||(this[_0x201e('0x12')]=!0x0);}[_0x201e('0x18')](){this[_0x201e('0x19')][_0x201e('0x18')]();}async[_0x201e('0xb')](){await this[_0x201e('0x1d')][_0x201e('0x2')](0x0)[_0x201e('0xb')](),super[_0x201e('0xb')]();}[_0x201e('0x1f')](){this[_0x201e('0xe')]||(this[_0x201e('0xe')]=!0x0,this[_0x201e('0x1d')]['remove'](0x0)[_0x201e('0xb')](),this[_0x201e('0x1d')][_0x201e('0x1c')](this[_0x201e('0x14')]()));}[_0x201e('0x11')](){this[_0x201e('0xe')]&&(this[_0x201e('0xe')]=!0x1,this[_0x201e('0x1d')][_0x201e('0x0')](0x0)[_0x201e('0xb')](),this[_0x201e('0x1d')]['add'](this[_0x201e('0x21')]()));}[_0x201e('0x21')](){const _0x195b1b=new _0x244c8d(this[_0x201e('0x1a')]);return _0x195b1b['bind'](_0x201e('0x10'))['to'](this[_0x201e('0xc')],_0x201e('0x10'),this,_0x201e('0x12'),(_0x117678,_0x22ccda)=>_0x22ccda?_0x4f61b8(_0x117678,{'limit':this[_0x201e('0x1b')][_0x201e('0x3')]}):_0x117678),_0x195b1b;}[_0x201e('0x14')](){this[_0x201e('0x1b')][_0x201e('0x8')]||(this[_0x201e('0x1b')][_0x201e('0x8')]={}),this['_config'][_0x201e('0x8')][_0x201e('0x1')]=this[_0x201e('0xc')][_0x201e('0x10')];const _0xbecdc=new _0x1a47a9(this[_0x201e('0x1a')],this[_0x201e('0x1b')][_0x201e('0x8')]);return _0xbecdc[_0x201e('0x16')]=this[_0x201e('0xc')][_0x201e('0x10')],_0xbecdc[_0x201e('0xa')](_0x201e('0xf'))['to'](this[_0x201e('0xc')],'isReadOnly'),_0xbecdc[_0x201e('0x7')]=_0xee1621(this[_0x201e('0x1a')],'Save'),_0xbecdc['on'](_0x201e('0x15'),(_0x9eb090,_0x8d61b9)=>{this[_0x201e('0x20')](_0x201e('0xd'),this[_0x201e('0xc')]['id'],_0x8d61b9),this[_0x201e('0x11')](),this[_0x201e('0x18')]();}),_0xbecdc['on']('cancel',()=>{this[_0x201e('0x11')](),this[_0x201e('0x18')]();}),_0xbecdc[_0x201e('0x4')](_0x201e('0x17'),()=>{_0xbecdc[_0x201e('0x18')]();}),_0xbecdc['createEditor'](),_0xbecdc[_0x201e('0x9')](_0x201e('0x17'))['to'](this),_0xbecdc['delegate'](_0x201e('0x5'))['to'](this),_0xbecdc;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a4f=['count','bindTemplate','set','NUMBER_OF_COMMENTS','setTemplate'];(function(_0x2f94f0,_0x3a4fed){const _0x38d8a2=function(_0x4b1236){while(--_0x4b1236){_0x2f94f0['push'](_0x2f94f0['shift']());}};_0x38d8a2(++_0x3a4fed);}(_0x3a4f,0x70));const _0x38d8=function(_0x2f94f0,_0x3a4fed){_0x2f94f0=_0x2f94f0-0x0;let _0x38d8a2=_0x3a4f[_0x2f94f0];return _0x38d8a2;};import{View as _0x135bd2}from'ckeditor5/src/ui';import{getTranslation as _0x538e62}from'../../../utils/common-translations';export default class to extends _0x135bd2{constructor(_0x188096){super(_0x188096);const _0x3a9c71=this[_0x38d8('0x4')];this[_0x38d8('0x0')](_0x38d8('0x3'),void 0x0),this[_0x38d8('0x2')]({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x3a9c71['to'](_0x38d8('0x3'),_0x541520=>_0x538e62(_0x188096,_0x38d8('0x1'),_0x541520))}]});}}
23
+ const _0x5c84=['set','setTemplate','NUMBER_OF_COMMENTS','count'];(function(_0x499663,_0x5c848a){const _0x540401=function(_0x1196f9){while(--_0x1196f9){_0x499663['push'](_0x499663['shift']());}};_0x540401(++_0x5c848a);}(_0x5c84,0x199));const _0x5404=function(_0x499663,_0x5c848a){_0x499663=_0x499663-0x0;let _0x540401=_0x5c84[_0x499663];return _0x540401;};import{View as _0x4d802b}from'ckeditor5/src/ui';import{getTranslation as _0x1703f3}from'../../../utils/common-translations';export default class to extends _0x4d802b{constructor(_0x55d4a7){super(_0x55d4a7);const _0x340ffd=this['bindTemplate'];this[_0x5404('0x3')]('count',void 0x0),this[_0x5404('0x0')]({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x340ffd['to'](_0x5404('0x2'),_0x454b81=>_0x1703f3(_0x55d4a7,_0x5404('0x1'),_0x454b81))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5eeb=['element','innerHTML','setTemplate','content','change:content','render','ck-comment__content','div'];(function(_0x31ae7f,_0x5eeb0d){var _0x4085da=function(_0x25188e){while(--_0x25188e){_0x31ae7f['push'](_0x31ae7f['shift']());}};_0x4085da(++_0x5eeb0d);}(_0x5eeb,0x134));var _0x4085=function(_0x31ae7f,_0x5eeb0d){_0x31ae7f=_0x31ae7f-0x0;var _0x4085da=_0x5eeb[_0x31ae7f];return _0x4085da;};import{View as _0xe01aa5}from'ckeditor5/src/ui';export default class Yt extends _0xe01aa5{constructor(_0x11562c){super(_0x11562c),this['set'](_0x4085('0x7'),''),this[_0x4085('0x6')]({'tag':_0x4085('0x3'),'attributes':{'class':[_0x4085('0x2'),'ck-annotation__content']}});}[_0x4085('0x1')](){super[_0x4085('0x1')](),this['on'](_0x4085('0x0'),(_0x38821f,_0x623ab,_0xc90518)=>{this[_0x4085('0x4')][_0x4085('0x5')]=_0xc90518;}),this[_0x4085('0x4')][_0x4085('0x5')]=this[_0x4085('0x7')];}}
23
+ var _0xbac3=['setTemplate','content','set','ck-annotation__content','ck-comment__content','innerHTML','div','render','element'];(function(_0x24eca3,_0xbac330){var _0x50874a=function(_0x20c63f){while(--_0x20c63f){_0x24eca3['push'](_0x24eca3['shift']());}};_0x50874a(++_0xbac330);}(_0xbac3,0xff));var _0x5087=function(_0x24eca3,_0xbac330){_0x24eca3=_0x24eca3-0x0;var _0x50874a=_0xbac3[_0x24eca3];return _0x50874a;};import{View as _0x5059e3}from'ckeditor5/src/ui';export default class Yt extends _0x5059e3{constructor(_0x3cef90){super(_0x3cef90),this[_0x5087('0x8')](_0x5087('0x7'),''),this[_0x5087('0x6')]({'tag':_0x5087('0x3'),'attributes':{'class':[_0x5087('0x1'),_0x5087('0x0')]}});}[_0x5087('0x4')](){super[_0x5087('0x4')](),this['on']('change:content',(_0x10e931,_0x2be0c6,_0x584e0d)=>{this['element'][_0x5087('0x2')]=_0x584e0d;}),this[_0x5087('0x5')]['innerHTML']=this['content'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc7f8=['change','cancel','low','div','focusPrevious','label','focus','submitButtonView','length','ck-comment__input-actions--submit','setTemplate','showButtons','editorDestroyed','ck-comment__input-actions--cancel','disabledSubmit','_createSubmitButton','focusNext','submit','element','keystrokes','model','editor','view','document','extendTemplate','value','_editorConfig','add','Esc','_editorCreationPromise','withText','tab','isEnabled','ck-comment__input-actions--active','bindTemplate','fire','placeholder','then','_createCancelButton','bind','getData','Cancel','forEach','_initializeFocusCycling','initialData','stop','render','submitLabel','set','execute','focusTracker','setData','high','_isDestroyed','destroy','Reply','cancelButtonView','editorReady'];(function(_0x5415cc,_0xc7f8d7){const _0x3f6392=function(_0xf895ab){while(--_0xf895ab){_0x5415cc['push'](_0x5415cc['shift']());}};_0x3f6392(++_0xc7f8d7);}(_0xc7f8,0x1c5));const _0x3f63=function(_0x5415cc,_0xc7f8d7){_0x5415cc=_0x5415cc-0x0;let _0x3f6392=_0xc7f8[_0x5415cc];return _0x3f6392;};import{View as _0x1df7be,ViewCollection as _0x42d0a8,FocusCycler as _0x581291,ButtonView as _0x5d2d0f}from'ckeditor5/src/ui';import{FocusTracker as _0x5702f2,KeystrokeHandler as _0x4cdb88}from'ckeditor5/src/utils';import _0x29bbad from'../commenteditor/commenteditor';import{getTranslation as _0x644e41}from'../../../utils/common-translations';export default class Zt extends _0x1df7be{constructor(_0x6a798b,_0x11ded7={}){super(_0x6a798b),this[_0x3f63('0x20')]=null,this[_0x3f63('0x25')]=_0x11ded7,this['keystrokes']=new _0x4cdb88(),this[_0x3f63('0x3')]=new _0x5702f2(),this[_0x3f63('0x1')]('value',_0x11ded7[_0x3f63('0x37')]||''),this['set'](_0x3f63('0x19'),!0x1),this[_0x3f63('0x1')]('showButtons',!0x0),this[_0x3f63('0x1')](_0x3f63('0x2f'),_0x644e41(_0x6a798b,'Reply...')),this[_0x3f63('0x1')](_0x3f63('0x0'),_0x644e41(_0x6a798b,_0x3f63('0x8'))),this['submitButtonView']=this[_0x3f63('0x1a')](),this[_0x3f63('0x9')]=this[_0x3f63('0x31')](),this[_0x3f63('0x15')]({'tag':'div','attributes':{'class':['ck-comment__input-wrapper']},'children':[{'tag':_0x3f63('0xe'),'attributes':{'class':['ck-comment__input-actions',this[_0x3f63('0x2d')]['if'](_0x3f63('0x16'),_0x3f63('0x2c'))]},'children':[this['submitButtonView'],this[_0x3f63('0x9')]]}]}),this[_0x3f63('0x1e')]['set'](_0x3f63('0x27'),(_0x131389,_0x2855a4)=>{this[_0x3f63('0x9')][_0x3f63('0x2e')](_0x3f63('0x2')),_0x2855a4();}),this['on'](_0x3f63('0x1c'),(_0x42cfe2,_0x17b473)=>{_0x17b473[_0x3f63('0x13')]>0xfde8?(alert(_0x644e41(_0x6a798b,'TOO_LONG_COMMENT_ALERT',[_0x17b473[_0x3f63('0x13')],0xfde8])),_0x42cfe2[_0x3f63('0x38')]()):this[_0x3f63('0x20')][_0x3f63('0x4')]('');},{'priority':_0x3f63('0x5')});}[_0x3f63('0x39')](){super[_0x3f63('0x39')](),this[_0x3f63('0x1e')]['listenTo'](this[_0x3f63('0x1d')]),this[_0x3f63('0x3')][_0x3f63('0x26')](this[_0x3f63('0x1d')]);}['createEditor'](){return this[_0x3f63('0x20')]||(this[_0x3f63('0x20')]=new _0x29bbad(this['_editorConfig']),this['_editorCreationPromise']=this[_0x3f63('0x20')]['create']()[_0x3f63('0x30')](()=>{if(this[_0x3f63('0x6')])return;const _0x5aeda7=this['editor'];this[_0x3f63('0x1d')]['insertBefore'](_0x5aeda7['ui'][_0x3f63('0x1d')],this['element']['firstChild']),_0x5aeda7[_0x3f63('0x1f')][_0x3f63('0x22')]['on'](_0x3f63('0xb'),()=>this['value']=_0x5aeda7[_0x3f63('0x33')]()),_0x5aeda7[_0x3f63('0x32')](_0x3f63('0x2f'))['to'](this),this[_0x3f63('0x36')](this[_0x3f63('0x20')]),this[_0x3f63('0x2e')](_0x3f63('0xa'),this['editor']);})),this[_0x3f63('0x28')];}[_0x3f63('0x11')](){this[_0x3f63('0x20')]&&this[_0x3f63('0x20')]['focus']();}async[_0x3f63('0x7')](){this[_0x3f63('0x6')]||(this['_isDestroyed']=!0x0,this[_0x3f63('0x20')]&&(await this['_editorCreationPromise'],await this['editor']['destroy'](),this[_0x3f63('0x2e')](_0x3f63('0x17'),this['editor'])),await super[_0x3f63('0x7')]());}[_0x3f63('0x1a')](){const {locale:_0xa3299b}=this,_0x970cb0=new _0x5d2d0f(_0xa3299b);return _0x970cb0[_0x3f63('0x23')]({'attributes':{'class':[_0x3f63('0x14')]}}),_0x970cb0[_0x3f63('0x29')]=!0x0,_0x970cb0[_0x3f63('0x32')](_0x3f63('0x10'))['to'](this,_0x3f63('0x0')),_0x970cb0['on'](_0x3f63('0x2'),()=>{this['fire'](_0x3f63('0x1c'),this[_0x3f63('0x24')]);}),_0x970cb0[_0x3f63('0x32')](_0x3f63('0x2b'))['to'](this,'value',this,'disabledSubmit',(_0x47c8a4,_0x429dbe)=>!_0x429dbe&&!!_0x47c8a4['trim']()),_0x970cb0;}[_0x3f63('0x31')](){const {locale:_0x39cc4b}=this,_0x26201f=new _0x5d2d0f(_0x39cc4b);return _0x26201f[_0x3f63('0x23')]({'attributes':{'class':[_0x3f63('0x18')]}}),_0x26201f[_0x3f63('0x10')]=_0x644e41(_0x39cc4b,_0x3f63('0x34')),_0x26201f[_0x3f63('0x29')]=!0x0,_0x26201f['on'](_0x3f63('0x2'),()=>{this[_0x3f63('0x20')]['setData'](''),this[_0x3f63('0x2e')](_0x3f63('0xc'));}),_0x26201f;}[_0x3f63('0x36')](_0x543703){const _0x55e354=this[_0x3f63('0x3')],_0x2785a3=new _0x42d0a8();[_0x543703['ui'][_0x3f63('0x21')],this[_0x3f63('0x12')],this[_0x3f63('0x9')]][_0x3f63('0x35')](_0x428d2f=>{_0x2785a3['add'](_0x428d2f),_0x55e354[_0x3f63('0x26')](_0x428d2f['element']);});const _0x500a6c=new _0x581291({'focusables':_0x2785a3,'focusTracker':_0x55e354});this[_0x3f63('0x1e')][_0x3f63('0x1')](_0x3f63('0x2a'),(_0x3c8762,_0x3d456c)=>{_0x500a6c[_0x3f63('0x1b')](),_0x3d456c();},{'priority':_0x3f63('0xd')}),this[_0x3f63('0x1e')]['set']('shift\x20+\x20tab',(_0x566bb7,_0x27638a)=>{_0x500a6c[_0x3f63('0xf')](),_0x27638a();},{'priority':_0x3f63('0xd')});}}
23
+ const _0x54fc=['disabledSubmit','execute','Cancel','value','firstChild','shift\x20+\x20tab','getData','element','withText','set','cancelButtonView','view','high','Esc','fire','editorReady','stop','Reply...','add','focus','extendTemplate','then','keystrokes','_editorCreationPromise','createEditor','destroy','ck-comment__input-actions--cancel','submitLabel','_createCancelButton','ck-comment__input-actions--submit','length','ck-comment__input-actions','listenTo','submitButtonView','_initializeFocusCycling','low','Reply','ck-comment__input-wrapper','change','editor','model','focusTracker','cancel','label','insertBefore','bind','_createSubmitButton','div','setTemplate','_editorConfig','editorDestroyed','forEach','_isDestroyed','submit','trim','placeholder','bindTemplate','focusPrevious'];(function(_0x43cc93,_0x54fcba){const _0x349c8b=function(_0x25b49d){while(--_0x25b49d){_0x43cc93['push'](_0x43cc93['shift']());}};_0x349c8b(++_0x54fcba);}(_0x54fc,0x181));const _0x349c=function(_0x43cc93,_0x54fcba){_0x43cc93=_0x43cc93-0x0;let _0x349c8b=_0x54fc[_0x43cc93];return _0x349c8b;};import{View as _0x416fc0,ViewCollection as _0x59168d,FocusCycler as _0x531a50,ButtonView as _0x514ba4}from'ckeditor5/src/ui';import{FocusTracker as _0xa94910,KeystrokeHandler as _0x3b9537}from'ckeditor5/src/utils';import _0xc9d9b6 from'../commenteditor/commenteditor';import{getTranslation as _0x59c695}from'../../../utils/common-translations';export default class Zt extends _0x416fc0{constructor(_0x31703f,_0x4a261d={}){super(_0x31703f),this[_0x349c('0x2')]=null,this[_0x349c('0xc')]=_0x4a261d,this[_0x349c('0x2b')]=new _0x3b9537(),this['focusTracker']=new _0xa94910(),this[_0x349c('0x1e')](_0x349c('0x18'),_0x4a261d['initialData']||''),this[_0x349c('0x1e')](_0x349c('0x15'),!0x1),this[_0x349c('0x1e')]('showButtons',!0x0),this[_0x349c('0x1e')]('placeholder',_0x59c695(_0x31703f,_0x349c('0x26'))),this[_0x349c('0x1e')](_0x349c('0x30'),_0x59c695(_0x31703f,_0x349c('0x39'))),this[_0x349c('0x36')]=this[_0x349c('0x9')](),this[_0x349c('0x1f')]=this[_0x349c('0x31')](),this[_0x349c('0xb')]({'tag':_0x349c('0xa'),'attributes':{'class':[_0x349c('0x0')]},'children':[{'tag':_0x349c('0xa'),'attributes':{'class':[_0x349c('0x34'),this[_0x349c('0x13')]['if']('showButtons','ck-comment__input-actions--active')]},'children':[this['submitButtonView'],this[_0x349c('0x1f')]]}]}),this[_0x349c('0x2b')][_0x349c('0x1e')](_0x349c('0x22'),(_0x27d400,_0x574a91)=>{this[_0x349c('0x1f')][_0x349c('0x23')]('execute'),_0x574a91();}),this['on'](_0x349c('0x10'),(_0x2cc37c,_0x2df8a0)=>{_0x2df8a0[_0x349c('0x33')]>0xfde8?(alert(_0x59c695(_0x31703f,'TOO_LONG_COMMENT_ALERT',[_0x2df8a0[_0x349c('0x33')],0xfde8])),_0x2cc37c[_0x349c('0x25')]()):this[_0x349c('0x2')]['setData']('');},{'priority':_0x349c('0x21')});}['render'](){super['render'](),this[_0x349c('0x2b')][_0x349c('0x35')](this[_0x349c('0x1c')]),this[_0x349c('0x4')]['add'](this[_0x349c('0x1c')]);}[_0x349c('0x2d')](){return this[_0x349c('0x2')]||(this['editor']=new _0xc9d9b6(this[_0x349c('0xc')]),this[_0x349c('0x2c')]=this[_0x349c('0x2')]['create']()[_0x349c('0x2a')](()=>{if(this['_isDestroyed'])return;const _0x5cd0b5=this[_0x349c('0x2')];this[_0x349c('0x1c')][_0x349c('0x7')](_0x5cd0b5['ui'][_0x349c('0x1c')],this[_0x349c('0x1c')][_0x349c('0x19')]),_0x5cd0b5[_0x349c('0x3')]['document']['on'](_0x349c('0x1'),()=>this[_0x349c('0x18')]=_0x5cd0b5[_0x349c('0x1b')]()),_0x5cd0b5[_0x349c('0x8')](_0x349c('0x12'))['to'](this),this[_0x349c('0x37')](this[_0x349c('0x2')]),this['fire'](_0x349c('0x24'),this[_0x349c('0x2')]);})),this[_0x349c('0x2c')];}[_0x349c('0x28')](){this[_0x349c('0x2')]&&this['editor'][_0x349c('0x28')]();}async[_0x349c('0x2e')](){this[_0x349c('0xf')]||(this[_0x349c('0xf')]=!0x0,this[_0x349c('0x2')]&&(await this['_editorCreationPromise'],await this['editor']['destroy'](),this[_0x349c('0x23')](_0x349c('0xd'),this[_0x349c('0x2')])),await super['destroy']());}[_0x349c('0x9')](){const {locale:_0x37cd23}=this,_0x1493bb=new _0x514ba4(_0x37cd23);return _0x1493bb[_0x349c('0x29')]({'attributes':{'class':[_0x349c('0x32')]}}),_0x1493bb[_0x349c('0x1d')]=!0x0,_0x1493bb[_0x349c('0x8')]('label')['to'](this,'submitLabel'),_0x1493bb['on']('execute',()=>{this[_0x349c('0x23')](_0x349c('0x10'),this[_0x349c('0x18')]);}),_0x1493bb[_0x349c('0x8')]('isEnabled')['to'](this,'value',this,_0x349c('0x15'),(_0x5ceab9,_0xc0d5b5)=>!_0xc0d5b5&&!!_0x5ceab9[_0x349c('0x11')]()),_0x1493bb;}[_0x349c('0x31')](){const {locale:_0xdae0dc}=this,_0x442269=new _0x514ba4(_0xdae0dc);return _0x442269[_0x349c('0x29')]({'attributes':{'class':[_0x349c('0x2f')]}}),_0x442269[_0x349c('0x6')]=_0x59c695(_0xdae0dc,_0x349c('0x17')),_0x442269['withText']=!0x0,_0x442269['on'](_0x349c('0x16'),()=>{this[_0x349c('0x2')]['setData'](''),this[_0x349c('0x23')](_0x349c('0x5'));}),_0x442269;}['_initializeFocusCycling'](_0x29f22b){const _0x51eb17=this[_0x349c('0x4')],_0x166488=new _0x59168d();[_0x29f22b['ui'][_0x349c('0x20')],this[_0x349c('0x36')],this[_0x349c('0x1f')]][_0x349c('0xe')](_0x3c832a=>{_0x166488[_0x349c('0x27')](_0x3c832a),_0x51eb17[_0x349c('0x27')](_0x3c832a[_0x349c('0x1c')]);});const _0x242d01=new _0x531a50({'focusables':_0x166488,'focusTracker':_0x51eb17});this['keystrokes'][_0x349c('0x1e')]('tab',(_0x4abce4,_0x1ff1d1)=>{_0x242d01['focusNext'](),_0x1ff1d1();},{'priority':_0x349c('0x38')}),this[_0x349c('0x2b')][_0x349c('0x1e')](_0x349c('0x1a'),(_0x1560bd,_0x38d49f)=>{_0x242d01[_0x349c('0x14')](),_0x38d49f();},{'priority':_0x349c('0x38')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36b1=['render','focus','isEmpty','high','ck-comments-archive__header\x20','arrowdown','element','_keystrokes','listenTo','arrowright','destroy','tab','ck-comments-archive__info','add','EMPTY_COMMENTS_ARCHIVE','COMMENTS_ARCHIVE','ck-hidden','_focusTracker','div','remove','isActive','_focusables','shift\x20+\x20tab','ck-comments-archive__content','length','stopPropagation','arrowup','setTemplate','ck-comments-archive','_focusCycler','set'];(function(_0x3c0b23,_0x36b10a){const _0xef6fe5=function(_0x6d24b4){while(--_0x6d24b4){_0x3c0b23['push'](_0x3c0b23['shift']());}};_0xef6fe5(++_0x36b10a);}(_0x36b1,0x160));const _0xef6f=function(_0x3c0b23,_0x36b10a){_0x3c0b23=_0x3c0b23-0x0;let _0xef6fe5=_0x36b1[_0x3c0b23];return _0xef6fe5;};import{View as _0x5651b1,FocusCycler as _0xe70836}from'ckeditor5/src/ui';import{FocusTracker as _0x36cc4a,KeystrokeHandler as _0x351734}from'ckeditor5/src/utils';import{getTranslation as _0x322bb1}from'../../../utils/common-translations';export default class K extends _0x5651b1{constructor(_0x19ad93,_0x32f8d0){super(_0x19ad93),this[_0xef6f('0x13')](_0xef6f('0x16'),!_0x32f8d0['length']),this[_0xef6f('0x6')]=new _0x36cc4a(),this['_keystrokes']=new _0x351734(),this[_0xef6f('0xa')]=_0x32f8d0,this[_0xef6f('0x12')]=new _0xe70836({'focusables':this[_0xef6f('0xa')],'focusTracker':this[_0xef6f('0x6')],'keystrokeHandler':this[_0xef6f('0x1b')],'actions':{'focusPrevious':_0xef6f('0xb'),'focusNext':_0xef6f('0x0')}}),this[_0xef6f('0x1c')](_0x32f8d0,_0xef6f('0x2'),()=>{this['isEmpty']=!0x1;}),this[_0xef6f('0x1c')](_0x32f8d0,_0xef6f('0x8'),(_0x3ff6ad,_0x5c38da)=>{_0x5c38da[_0xef6f('0x9')]&&this[_0xef6f('0x15')](),_0x32f8d0[_0xef6f('0xd')]||(this[_0xef6f('0x16')]=!0x0);});const _0x3ed812=this['bindTemplate'];this[_0xef6f('0x10')]({'tag':_0xef6f('0x7'),'attributes':{'dir':'auto','class':['ck',_0xef6f('0x11')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0xef6f('0x18')]},'children':[{'text':_0x322bb1(_0x19ad93,_0xef6f('0x4'))}]},{'tag':_0xef6f('0x7'),'attributes':{'class':[_0xef6f('0xc')]},'children':[{'tag':_0xef6f('0x7'),'children':_0x32f8d0},{'tag':'p','attributes':{'class':[_0xef6f('0x1'),_0x3ed812['if'](_0xef6f('0x16'),_0xef6f('0x5'),_0x4f493f=>!_0x4f493f)]},'children':[{'text':_0x322bb1(_0x19ad93,_0xef6f('0x3'))}]}]}]});}[_0xef6f('0x14')](){super[_0xef6f('0x14')](),this[_0xef6f('0x1b')][_0xef6f('0x1c')](this[_0xef6f('0x1a')]);const _0x3ab993=_0x13742c=>_0x13742c['stopPropagation']();this[_0xef6f('0x1b')][_0xef6f('0x13')](_0xef6f('0x1d'),_0x3ab993),this[_0xef6f('0x1b')]['set']('arrowleft',_0x3ab993),this['_keystrokes'][_0xef6f('0x13')](_0xef6f('0xf'),_0x3ab993),this[_0xef6f('0x1b')][_0xef6f('0x13')](_0xef6f('0x19'),_0x3ab993),this[_0xef6f('0x1c')](this[_0xef6f('0x1a')],'selectstart',(_0x22092c,_0x3f7bb0)=>{_0x3f7bb0[_0xef6f('0xe')]();},{'priority':_0xef6f('0x17')});}[_0xef6f('0x1e')](){super[_0xef6f('0x1e')](),this[_0xef6f('0x6')][_0xef6f('0x1e')](),this['_keystrokes'][_0xef6f('0x1e')]();}[_0xef6f('0x15')](){this['element'][_0xef6f('0x15')]();}}
23
+ const _0xf5f9=['tab','EMPTY_COMMENTS_ARCHIVE','bindTemplate','high','shift\x20+\x20tab','ck-comments-archive__content','render','COMMENTS_ARCHIVE','element','arrowleft','add','ck-comments-archive','_focusTracker','listenTo','isEmpty','ck-comments-archive__info','destroy','stopPropagation','isActive','div','_focusables','focus','_keystrokes','auto','set','length','arrowup'];(function(_0x5ad8f8,_0xf5f965){const _0xd17594=function(_0xdd677e){while(--_0xdd677e){_0x5ad8f8['push'](_0x5ad8f8['shift']());}};_0xd17594(++_0xf5f965);}(_0xf5f9,0x1e1));const _0xd175=function(_0x5ad8f8,_0xf5f965){_0x5ad8f8=_0x5ad8f8-0x0;let _0xd17594=_0xf5f9[_0x5ad8f8];return _0xd17594;};import{View as _0x403682,FocusCycler as _0x5b0acd}from'ckeditor5/src/ui';import{FocusTracker as _0x2d946c,KeystrokeHandler as _0xbb518a}from'ckeditor5/src/utils';import{getTranslation as _0x1cf547}from'../../../utils/common-translations';export default class K extends _0x403682{constructor(_0xb6ce5,_0x1fa8b5){super(_0xb6ce5),this[_0xd175('0x2')](_0xd175('0x13'),!_0x1fa8b5['length']),this['_focusTracker']=new _0x2d946c(),this[_0xd175('0x0')]=new _0xbb518a(),this[_0xd175('0x19')]=_0x1fa8b5,this['_focusCycler']=new _0x5b0acd({'focusables':this['_focusables'],'focusTracker':this[_0xd175('0x11')],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':_0xd175('0x9'),'focusNext':_0xd175('0x5')}}),this[_0xd175('0x12')](_0x1fa8b5,_0xd175('0xf'),()=>{this[_0xd175('0x13')]=!0x1;}),this[_0xd175('0x12')](_0x1fa8b5,'remove',(_0x2e0fde,_0x2fc590)=>{_0x2fc590[_0xd175('0x17')]&&this[_0xd175('0x1a')](),_0x1fa8b5[_0xd175('0x3')]||(this[_0xd175('0x13')]=!0x0);});const _0x9778f4=this[_0xd175('0x7')];this['setTemplate']({'tag':_0xd175('0x18'),'attributes':{'dir':_0xd175('0x1'),'class':['ck',_0xd175('0x10')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':['ck-comments-archive__header\x20']},'children':[{'text':_0x1cf547(_0xb6ce5,_0xd175('0xc'))}]},{'tag':_0xd175('0x18'),'attributes':{'class':[_0xd175('0xa')]},'children':[{'tag':_0xd175('0x18'),'children':_0x1fa8b5},{'tag':'p','attributes':{'class':[_0xd175('0x14'),_0x9778f4['if']('isEmpty','ck-hidden',_0x2d1c91=>!_0x2d1c91)]},'children':[{'text':_0x1cf547(_0xb6ce5,_0xd175('0x6'))}]}]}]});}[_0xd175('0xb')](){super[_0xd175('0xb')](),this['_keystrokes'][_0xd175('0x12')](this[_0xd175('0xd')]);const _0x2720d1=_0xa2c0db=>_0xa2c0db[_0xd175('0x16')]();this[_0xd175('0x0')][_0xd175('0x2')]('arrowright',_0x2720d1),this[_0xd175('0x0')]['set'](_0xd175('0xe'),_0x2720d1),this[_0xd175('0x0')][_0xd175('0x2')](_0xd175('0x4'),_0x2720d1),this[_0xd175('0x0')][_0xd175('0x2')]('arrowdown',_0x2720d1),this[_0xd175('0x12')](this[_0xd175('0xd')],'selectstart',(_0x4cbbf3,_0x5d9d01)=>{_0x5d9d01[_0xd175('0x16')]();},{'priority':_0xd175('0x8')});}[_0xd175('0x15')](){super['destroy'](),this[_0xd175('0x11')]['destroy'](),this[_0xd175('0x0')][_0xd175('0x15')]();}['focus'](){this[_0xd175('0xd')]['focus']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a09=['visibleViews','maxCommentsWhenCollapsed','authoredAt','get','createCollection','count','set','expand','stopListening','_findOptimalIndex','equal','isActive','delete','element','resolvedCommentView','comments','removeComment','_handleInfoComment','weight','_rearrangeCollapse','hasDirtyComment','Marked\x20as\x20resolved','change:isResolved','change:isEditMode','commentUpdated','insert','_updateHasDirtyComment','_model','add','_handleRemoveCommentModel','CommentView','formatDateTime','refreshVisibleViews','ck-thread__comments','length','maxThreadTotalWeight','editorReady','resolvedBy','remove','commentViews','setTemplate','resolved','_collapsedCommentsView','_config','change:hasDirtyComment','delegate','some','change:isActive','collapse','editorDestroyed','resolvedAt','isEditMode','listenTo','_handleNewCommentModel','focus','editorConfig','from','render','destroy','locale'];(function(_0x361685,_0x3a09bc){const _0x23bc45=function(_0x16978d){while(--_0x16978d){_0x361685['push'](_0x361685['shift']());}};_0x23bc45(++_0x3a09bc);}(_0x3a09,0x72));const _0x23bc=function(_0x361685,_0x3a09bc){_0x361685=_0x361685-0x0;let _0x23bc45=_0x3a09[_0x361685];return _0x23bc45;};import{View as _0x30e8ff}from'ckeditor5/src/ui';import{diff as _0xc43c72,Collection as _0x5be24d}from'ckeditor5/src/utils';import{getTranslation as _0x3bb1ba}from'../../../utils/common-translations';import _0x3c287b from'./collapsedcommentsview';export default class Ct extends _0x30e8ff{constructor(_0x4d4641,_0x34ea0e,_0x21044e){super(_0x4d4641),this[_0x23bc('0xc')](_0x23bc('0x1a'),!0x1),this['set'](_0x23bc('0x28'),_0x34ea0e[_0x23bc('0x15')][_0x23bc('0x28')]),this[_0x23bc('0xc')]('isActive',!0x1),this['_model']=_0x34ea0e,this[_0x23bc('0x31')]=_0x21044e,this[_0x23bc('0x2d')]=this[_0x23bc('0xa')](),this[_0x23bc('0x6')]=this[_0x23bc('0xa')](),this[_0x23bc('0x14')]=null,this[_0x23bc('0x30')]=new _0x3c287b(_0x4d4641),this[_0x23bc('0x30')]['bind'](_0x23bc('0xb'))['to'](this,'length',_0x256578=>_0x256578-this[_0x23bc('0x31')][_0x23bc('0x7')]);for(const _0x3ac7f9 of _0x34ea0e['comments'])this['_handleNewCommentModel'](_0x3ac7f9);this['_handleInfoComment'](),this[_0x23bc('0x3a')](_0x34ea0e[_0x23bc('0x15')],_0x23bc('0x22'),(_0x267b0d,_0x3ec632)=>{const _0x3f60f5=this['_calculatePosition'](_0x3ec632);this[_0x23bc('0x28')]++,this[_0x23bc('0x3b')](_0x3ec632,_0x3f60f5),this['refreshVisibleViews']();}),this[_0x23bc('0x3a')](_0x34ea0e[_0x23bc('0x15')],_0x23bc('0x2c'),(_0x89959a,_0x476d41)=>{this[_0x23bc('0x28')]--,this[_0x23bc('0x23')](_0x476d41),this[_0x23bc('0x26')]();}),this[_0x23bc('0x3a')](_0x34ea0e,_0x23bc('0x1e'),()=>this[_0x23bc('0x26')]()),this[_0x23bc('0x3a')](_0x34ea0e,_0x23bc('0x1c'),()=>this['_handleInfoComment']()),this['on'](_0x23bc('0x35'),()=>this[_0x23bc('0x26')]()),this['on'](_0x23bc('0x32'),()=>this['refreshVisibleViews']()),this[_0x23bc('0x2e')]({'tag':'ul','attributes':{'class':[_0x23bc('0x27')]},'children':this[_0x23bc('0x6')]});}get['_shouldCollapse'](){return this[_0x23bc('0x21')][_0x23bc('0x18')]>this['_config'][_0x23bc('0x29')]&&!this[_0x23bc('0x11')]&&!this[_0x23bc('0x1a')];}[_0x23bc('0x3')](){super['render'](),this[_0x23bc('0x26')]();}[_0x23bc('0x0')](){this[_0x23bc('0x13')][_0x23bc('0x0')]();}[_0x23bc('0x4')](){this[_0x23bc('0x30')][_0x23bc('0x4')]();for(const _0x58467a of this[_0x23bc('0x2d')])_0x58467a[_0x23bc('0x4')]();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x3ec25b,_0x307386){const _0x170d75=new this['_config'][(_0x23bc('0x24'))](this[_0x23bc('0x5')],_0x3ec25b,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this[_0x23bc('0x31')][_0x23bc('0x25')],'editorConfig':this[_0x23bc('0x31')][_0x23bc('0x1')]});_0x170d75['viewUid']=_0x3ec25b['id'],_0x170d75[_0x23bc('0x33')](_0x23bc('0x16'))['to'](this),_0x170d75[_0x23bc('0x33')]('updateComment')['to'](this),_0x170d75[_0x23bc('0x33')]('resolveCommentThread')['to'](this),_0x170d75[_0x23bc('0x33')](_0x23bc('0x2a'))['to'](this),_0x170d75[_0x23bc('0x33')](_0x23bc('0x37'))['to'](this),this[_0x23bc('0x3a')](_0x170d75,_0x23bc('0x1d'),()=>this['_updateHasDirtyComment']()),this[_0x23bc('0x2d')][_0x23bc('0x22')](_0x170d75,_0x307386);}['_calculatePosition'](_0x1f6b1c){const _0x3696ad=this[_0x23bc('0x21')][_0x23bc('0xf')](_0x1f6b1c);return this[_0x23bc('0x14')]?this[_0x23bc('0x14')][_0x23bc('0x8')]>_0x1f6b1c[_0x23bc('0x8')]?_0x3696ad-0x1:_0x3696ad:_0x3696ad-0x1;}[_0x23bc('0x17')](){if(this[_0x23bc('0x21')]['resolvedBy']&&this['_model'][_0x23bc('0x38')]){const _0x9a28b3={'id':_0x23bc('0x2f'),'author':this[_0x23bc('0x21')][_0x23bc('0x2b')],'authoredAt':this['_model']['resolvedAt'],'content':_0x3bb1ba(this[_0x23bc('0x5')],_0x23bc('0x1b')),'attributes':{}};this['resolvedCommentView']=new this['_config'][(_0x23bc('0x24'))](this[_0x23bc('0x5')],_0x9a28b3,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this[_0x23bc('0x31')][_0x23bc('0x25')],'editorConfig':this[_0x23bc('0x31')][_0x23bc('0x1')],'isSystemComment':!0x0}),this[_0x23bc('0x2d')][_0x23bc('0x22')](this[_0x23bc('0x14')],this['_model'][_0x23bc('0xf')](_0x9a28b3));}else this['resolvedCommentView']&&(this[_0x23bc('0x2d')][_0x23bc('0x2c')](this['resolvedCommentView']),this['resolvedCommentView'][_0x23bc('0x4')](),this[_0x23bc('0x14')]=null);this[_0x23bc('0x26')]();}['_handleRemoveCommentModel'](_0x590ed6){const _0x10ed20=this['commentViews'][_0x23bc('0x2c')](_0x590ed6['id']);this[_0x23bc('0xe')](_0x10ed20),_0x10ed20[_0x23bc('0x39')]&&this[_0x23bc('0x20')](),_0x10ed20[_0x23bc('0x4')]();}['_updateHasDirtyComment'](){this[_0x23bc('0x1a')]=Array[_0x23bc('0x2')](this[_0x23bc('0x2d')])[_0x23bc('0x34')](_0xe29c88=>_0xe29c88['isEditMode']);}[_0x23bc('0x19')](){const _0x22cc08=function(_0x431e0a){const _0x227e8=new _0x5be24d();for(const _0x39f946 of _0x431e0a)_0x227e8[_0x23bc('0x22')](_0x39f946);return _0x227e8;}(this[_0x23bc('0x2d')]),_0x39bb94=this[_0x23bc('0x30')][_0x23bc('0xb')];for(let _0x47c7be=0x1;_0x47c7be<=_0x39bb94;_0x47c7be++)_0x22cc08['remove'](0x1);for(const _0x20da0a of _0x22cc08)_0x20da0a[_0x23bc('0x36')]();_0x39bb94>0x0&&_0x22cc08[_0x23bc('0x22')](this[_0x23bc('0x30')],0x1),ss(_0xc43c72(Array[_0x23bc('0x2')](this[_0x23bc('0x6')]),Array[_0x23bc('0x2')](_0x22cc08)),this[_0x23bc('0x6')],_0x22cc08);}['_rearrangeExpand'](){ss(_0xc43c72(Array[_0x23bc('0x2')](this[_0x23bc('0x6')]),Array[_0x23bc('0x2')](this[_0x23bc('0x2d')])),this[_0x23bc('0x6')],this[_0x23bc('0x2d')]);for(const _0x13599c of this['visibleViews'])_0x13599c[_0x23bc('0xd')]();}}function ss(_0xb8abcb,_0x283083,_0x3e0559){let _0x314ba4=0x0;for(const _0x38fb5e of _0xb8abcb)switch(_0x38fb5e){case _0x23bc('0x1f'):_0x283083[_0x23bc('0x22')](_0x3e0559[_0x23bc('0x9')](_0x314ba4),_0x314ba4),_0x314ba4++;break;case _0x23bc('0x12'):_0x283083[_0x23bc('0x2c')](_0x314ba4);break;case _0x23bc('0x10'):_0x314ba4++;}}
23
+ const _0x429e=['insert','delegate','createCollection','_rearrangeExpand','authoredAt','change:isEditMode','delete','some','Marked\x20as\x20resolved','_handleNewCommentModel','_collapsedCommentsView','isEditMode','_model','visibleViews','ck-thread__comments','_handleInfoComment','maxThreadTotalWeight','commentViews','add','editorReady','element','_shouldCollapse','maxCommentsWhenCollapsed','_rearrangeCollapse','_calculatePosition','_config','destroy','remove','focus','set','formatDateTime','change:isResolved','_handleRemoveCommentModel','isActive','commentUpdated','listenTo','weight','change:isActive','bind','from','hasDirtyComment','_updateHasDirtyComment','resolvedAt','resolvedBy','viewUid','_findOptimalIndex','updateComment','equal','locale','count','render','collapse','stopListening','editorConfig','resolved','comments','resolvedCommentView','removeComment','setTemplate','length','change:hasDirtyComment','refreshVisibleViews'];(function(_0x212f78,_0x429e3a){const _0x543259=function(_0x2ac84f){while(--_0x2ac84f){_0x212f78['push'](_0x212f78['shift']());}};_0x543259(++_0x429e3a);}(_0x429e,0xef));const _0x5432=function(_0x212f78,_0x429e3a){_0x212f78=_0x212f78-0x0;let _0x543259=_0x429e[_0x212f78];return _0x543259;};import{View as _0x2c9189}from'ckeditor5/src/ui';import{diff as _0x259c99,Collection as _0x15d0b4}from'ckeditor5/src/utils';import{getTranslation as _0x3c4a09}from'../../../utils/common-translations';import _0x215867 from'./collapsedcommentsview';export default class Ct extends _0x2c9189{constructor(_0x130390,_0x218bac,_0x2c7c35){super(_0x130390),this[_0x5432('0x26')]('hasDirtyComment',!0x1),this[_0x5432('0x26')](_0x5432('0x6'),_0x218bac['comments']['length']),this[_0x5432('0x26')](_0x5432('0x2a'),!0x1),this['_model']=_0x218bac,this[_0x5432('0x22')]=_0x2c7c35,this[_0x5432('0x1a')]=this[_0x5432('0xb')](),this[_0x5432('0x16')]=this[_0x5432('0xb')](),this['resolvedCommentView']=null,this['_collapsedCommentsView']=new _0x215867(_0x130390),this[_0x5432('0x13')][_0x5432('0x2f')](_0x5432('0x3a'))['to'](this,_0x5432('0x6'),_0x3ecb84=>_0x3ecb84-this['_config'][_0x5432('0x1f')]);for(const _0x44bf07 of _0x218bac[_0x5432('0x2')])this[_0x5432('0x12')](_0x44bf07);this['_handleInfoComment'](),this[_0x5432('0x2c')](_0x218bac[_0x5432('0x2')],_0x5432('0x1b'),(_0x439652,_0x20a62b)=>{const _0x222057=this[_0x5432('0x21')](_0x20a62b);this[_0x5432('0x6')]++,this[_0x5432('0x12')](_0x20a62b,_0x222057),this[_0x5432('0x8')]();}),this['listenTo'](_0x218bac['comments'],_0x5432('0x24'),(_0x42fd29,_0x28fa2a)=>{this[_0x5432('0x6')]--,this['_handleRemoveCommentModel'](_0x28fa2a),this[_0x5432('0x8')]();}),this['listenTo'](_0x218bac,_0x5432('0x2b'),()=>this[_0x5432('0x8')]()),this[_0x5432('0x2c')](_0x218bac,_0x5432('0x28'),()=>this[_0x5432('0x18')]()),this['on'](_0x5432('0x2e'),()=>this[_0x5432('0x8')]()),this['on'](_0x5432('0x7'),()=>this['refreshVisibleViews']()),this[_0x5432('0x5')]({'tag':'ul','attributes':{'class':[_0x5432('0x17')]},'children':this[_0x5432('0x16')]});}get[_0x5432('0x1e')](){return this[_0x5432('0x15')][_0x5432('0x2d')]>this['_config'][_0x5432('0x19')]&&!this[_0x5432('0x2a')]&&!this['hasDirtyComment'];}[_0x5432('0x3b')](){super[_0x5432('0x3b')](),this[_0x5432('0x8')]();}[_0x5432('0x25')](){this[_0x5432('0x1d')][_0x5432('0x25')]();}['destroy'](){this[_0x5432('0x13')][_0x5432('0x23')]();for(const _0x31baa0 of this[_0x5432('0x1a')])_0x31baa0[_0x5432('0x23')]();super[_0x5432('0x23')]();}[_0x5432('0x8')](){this[_0x5432('0x1e')]?this[_0x5432('0x20')]():this['_rearrangeExpand']();}[_0x5432('0x12')](_0x4d230d,_0x55f90c){const _0x505deb=new this[(_0x5432('0x22'))]['CommentView'](this[_0x5432('0x39')],_0x4d230d,{'maxCommentCharsWhenCollapsed':this[_0x5432('0x22')]['maxCommentCharsWhenCollapsed'],'formatDateTime':this[_0x5432('0x22')][_0x5432('0x27')],'editorConfig':this[_0x5432('0x22')][_0x5432('0x0')]});_0x505deb[_0x5432('0x35')]=_0x4d230d['id'],_0x505deb[_0x5432('0xa')](_0x5432('0x4'))['to'](this),_0x505deb[_0x5432('0xa')](_0x5432('0x37'))['to'](this),_0x505deb[_0x5432('0xa')]('resolveCommentThread')['to'](this),_0x505deb[_0x5432('0xa')](_0x5432('0x1c'))['to'](this),_0x505deb[_0x5432('0xa')]('editorDestroyed')['to'](this),this[_0x5432('0x2c')](_0x505deb,_0x5432('0xe'),()=>this[_0x5432('0x32')]()),this[_0x5432('0x1a')][_0x5432('0x1b')](_0x505deb,_0x55f90c);}['_calculatePosition'](_0x2e87b2){const _0x3866c5=this[_0x5432('0x15')]['_findOptimalIndex'](_0x2e87b2);return this[_0x5432('0x3')]?this[_0x5432('0x3')][_0x5432('0xd')]>_0x2e87b2[_0x5432('0xd')]?_0x3866c5-0x1:_0x3866c5:_0x3866c5-0x1;}[_0x5432('0x18')](){if(this[_0x5432('0x15')]['resolvedBy']&&this[_0x5432('0x15')][_0x5432('0x33')]){const _0x33a8ff={'id':_0x5432('0x1'),'author':this[_0x5432('0x15')][_0x5432('0x34')],'authoredAt':this[_0x5432('0x15')]['resolvedAt'],'content':_0x3c4a09(this[_0x5432('0x39')],_0x5432('0x11')),'attributes':{}};this[_0x5432('0x3')]=new this[(_0x5432('0x22'))]['CommentView'](this[_0x5432('0x39')],_0x33a8ff,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this[_0x5432('0x22')][_0x5432('0x27')],'editorConfig':this['_config'][_0x5432('0x0')],'isSystemComment':!0x0}),this['commentViews'][_0x5432('0x1b')](this[_0x5432('0x3')],this[_0x5432('0x15')][_0x5432('0x36')](_0x33a8ff));}else this[_0x5432('0x3')]&&(this[_0x5432('0x1a')][_0x5432('0x24')](this[_0x5432('0x3')]),this[_0x5432('0x3')][_0x5432('0x23')](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}[_0x5432('0x29')](_0x2d0f71){const _0x2deb93=this['commentViews'][_0x5432('0x24')](_0x2d0f71['id']);this[_0x5432('0x3d')](_0x2deb93),_0x2deb93[_0x5432('0x14')]&&this[_0x5432('0x32')](),_0x2deb93['destroy']();}['_updateHasDirtyComment'](){this[_0x5432('0x31')]=Array[_0x5432('0x30')](this['commentViews'])[_0x5432('0x10')](_0x1dd04b=>_0x1dd04b[_0x5432('0x14')]);}[_0x5432('0x20')](){const _0x2b03c2=function(_0x74736){const _0x4b06e0=new _0x15d0b4();for(const _0x4edcbe of _0x74736)_0x4b06e0[_0x5432('0x1b')](_0x4edcbe);return _0x4b06e0;}(this[_0x5432('0x1a')]),_0x478c39=this[_0x5432('0x13')][_0x5432('0x3a')];for(let _0x586174=0x1;_0x586174<=_0x478c39;_0x586174++)_0x2b03c2[_0x5432('0x24')](0x1);for(const _0x931b9d of _0x2b03c2)_0x931b9d[_0x5432('0x3c')]();_0x478c39>0x0&&_0x2b03c2[_0x5432('0x1b')](this[_0x5432('0x13')],0x1),ss(_0x259c99(Array['from'](this['visibleViews']),Array['from'](_0x2b03c2)),this['visibleViews'],_0x2b03c2);}[_0x5432('0xc')](){ss(_0x259c99(Array[_0x5432('0x30')](this[_0x5432('0x16')]),Array['from'](this['commentViews'])),this[_0x5432('0x16')],this[_0x5432('0x1a')]);for(const _0x484bc4 of this['visibleViews'])_0x484bc4['expand']();}}function ss(_0x21abf8,_0x28c7f3,_0x371ec0){let _0x5df8e0=0x0;for(const _0x4f3c80 of _0x21abf8)switch(_0x4f3c80){case _0x5432('0x9'):_0x28c7f3[_0x5432('0x1b')](_0x371ec0['get'](_0x5df8e0),_0x5df8e0),_0x5df8e0++;break;case _0x5432('0xf'):_0x28c7f3['remove'](_0x5df8e0);break;case _0x5432('0x38'):_0x5df8e0++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c14=['bindTemplate','value','classList','label','ck-context-wrapper','locale','_createReopenButton','ck-annotation__actions','ck-thread__header','hasContext','reopenCommentThread','listenTo','mouseenter','fire','_attachContextActions','isEnabled','contextValue','div','ck-context--quotes','ck-context__value','isVisible','lastIndexOf','isReadOnly','offsetWidth','setTemplate','tooltip','ck-context','execute','scrollWidth','overlay','isResolved','render','.ck-context','isResolvable','querySelector','Reopen','_trimContextValue','_model','bind'];(function(_0xa99844,_0x2c14fd){const _0x27250a=function(_0x3142c3){while(--_0x3142c3){_0xa99844['push'](_0xa99844['shift']());}};_0x27250a(++_0x2c14fd);}(_0x2c14,0x90));const _0x2725=function(_0xa99844,_0x2c14fd){_0xa99844=_0xa99844-0x0;let _0x27250a=_0x2c14[_0xa99844];return _0x27250a;};import{View as _0x723ee1,ButtonView as _0x79cad9}from'ckeditor5/src/ui';import{getTranslation as _0x135fa7}from'../../../utils/common-translations';import _0x95e255 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x723ee1{constructor(_0x479702,_0x310aad){super(_0x479702);const _0x52e9de=this[_0x2725('0xc')];this[_0x2725('0xa')]=_0x310aad,this['reopenButtonView']=this[_0x2725('0x12')](),this['bind']('hasContext')['to'](this[_0x2725('0xa')],'context',_0x5c50dd=>!!_0x5c50dd),this[_0x2725('0xb')](_0x2725('0x1c'))['to'](this[_0x2725('0xa')],'context',_0x2109d6=>_0x2109d6&&_0x2109d6[_0x2725('0xd')]?this[_0x2725('0x9')](_0x2109d6[_0x2725('0xd')]):_0x135fa7(this['locale'],'Comment\x20was\x20made\x20on\x20an\x20element')),this[_0x2725('0x24')]({'tag':_0x2725('0x1d'),'attributes':{'class':[_0x2725('0x14')]},'children':[{'tag':'div','attributes':{'class':[_0x2725('0x10')]},'children':[{'tag':_0x2725('0x1d'),'attributes':{'class':[_0x2725('0x26'),_0x52e9de['if'](_0x2725('0x15'),_0x2725('0x1e'))]},'children':[{'tag':'span','attributes':{'class':[_0x2725('0x1f')]},'children':[{'text':_0x52e9de['to']('contextValue')}]}]}]},{'tag':'div','attributes':{'class':[_0x2725('0x13')]},'children':[this['reopenButtonView']]}]});}[_0x2725('0x4')](){super[_0x2725('0x4')](),this['_attachContextActions']();}[_0x2725('0x12')](){const _0x453b0f=new _0x79cad9(this['locale']);return _0x453b0f[_0x2725('0xf')]=_0x135fa7(this[_0x2725('0x11')],'Reopen'),_0x453b0f[_0x2725('0x25')]=_0x135fa7(this[_0x2725('0x11')],_0x2725('0x8')),_0x453b0f['icon']=_0x95e255,_0x453b0f[_0x2725('0xb')](_0x2725('0x1b'))['to'](this[_0x2725('0xa')],_0x2725('0x22'),_0x43b50e=>!_0x43b50e),_0x453b0f['bind'](_0x2725('0x20'))['to'](this[_0x2725('0xa')],_0x2725('0x6'),this['_model'],_0x2725('0x3'),(_0xed0f79,_0x10d87e)=>_0xed0f79&&_0x10d87e),_0x453b0f['on'](_0x2725('0x0'),()=>{this[_0x2725('0x19')](_0x2725('0x16'),this[_0x2725('0xa')]['id']);}),_0x453b0f;}['_trimContextValue'](_0x123592){if(_0x123592['length']<0x96)return _0x123592;const _0x4db2db=_0x123592[_0x2725('0x21')]('\x20',0x93);return _0x123592['substring'](0x0,_0x4db2db>-0x1?_0x4db2db:0x93)+'...';}[_0x2725('0x1a')](){const _0x3ffc8d=this['element'][_0x2725('0x7')](_0x2725('0x5')),_0x56a058=_0x3ffc8d[_0x2725('0x7')]('.ck-context__value');this['listenTo'](_0x3ffc8d,_0x2725('0x18'),()=>{_0x56a058[_0x2725('0x23')]<_0x56a058[_0x2725('0x1')]&&_0x3ffc8d['classList']['add'](_0x2725('0x2'));}),this[_0x2725('0x17')](_0x3ffc8d,'mouseleave',()=>{_0x3ffc8d[_0x2725('0xe')]['remove'](_0x2725('0x2'));});}}
23
+ const _0x34bf=['overlay','value','div','tooltip','isResolvable','classList','.ck-context__value','scrollWidth','reopenCommentThread','_model','isVisible','offsetWidth','bindTemplate','_trimContextValue','element','context','ck-annotation__actions','ck-context__value','Reopen','querySelector','_createReopenButton','ck-thread__header','lastIndexOf','add','ck-context','fire','hasContext','remove','render','substring','mouseleave','contextValue','_attachContextActions','bind','Comment\x20was\x20made\x20on\x20an\x20element','length','mouseenter','isEnabled','listenTo','execute','locale','isReadOnly','reopenButtonView'];(function(_0x3ac7de,_0x34bfea){const _0x42df58=function(_0x17ca88){while(--_0x17ca88){_0x3ac7de['push'](_0x3ac7de['shift']());}};_0x42df58(++_0x34bfea);}(_0x34bf,0x15b));const _0x42df=function(_0x3ac7de,_0x34bfea){_0x3ac7de=_0x3ac7de-0x0;let _0x42df58=_0x34bf[_0x3ac7de];return _0x42df58;};import{View as _0x1fc4f0,ButtonView as _0x2e8e17}from'ckeditor5/src/ui';import{getTranslation as _0x2ed47d}from'../../../utils/common-translations';import _0x5d8556 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x1fc4f0{constructor(_0x1df8da,_0x225924){super(_0x1df8da);const _0x4fb2a5=this[_0x42df('0x9')];this[_0x42df('0x6')]=_0x225924,this[_0x42df('0x27')]=this[_0x42df('0x11')](),this[_0x42df('0x1e')](_0x42df('0x17'))['to'](this[_0x42df('0x6')],_0x42df('0xc'),_0x4de916=>!!_0x4de916),this[_0x42df('0x1e')](_0x42df('0x1c'))['to'](this[_0x42df('0x6')],_0x42df('0xc'),_0x10b349=>_0x10b349&&_0x10b349['value']?this[_0x42df('0xa')](_0x10b349[_0x42df('0x29')]):_0x2ed47d(this[_0x42df('0x25')],_0x42df('0x1f'))),this['setTemplate']({'tag':_0x42df('0x2a'),'attributes':{'class':[_0x42df('0x12')]},'children':[{'tag':_0x42df('0x2a'),'attributes':{'class':['ck-context-wrapper']},'children':[{'tag':_0x42df('0x2a'),'attributes':{'class':[_0x42df('0x15'),_0x4fb2a5['if'](_0x42df('0x17'),'ck-context--quotes')]},'children':[{'tag':'span','attributes':{'class':[_0x42df('0xe')]},'children':[{'text':_0x4fb2a5['to'](_0x42df('0x1c'))}]}]}]},{'tag':_0x42df('0x2a'),'attributes':{'class':[_0x42df('0xd')]},'children':[this[_0x42df('0x27')]]}]});}[_0x42df('0x19')](){super[_0x42df('0x19')](),this[_0x42df('0x1d')]();}[_0x42df('0x11')](){const _0x5c0940=new _0x2e8e17(this['locale']);return _0x5c0940['label']=_0x2ed47d(this[_0x42df('0x25')],'Reopen'),_0x5c0940[_0x42df('0x0')]=_0x2ed47d(this[_0x42df('0x25')],_0x42df('0xf')),_0x5c0940['icon']=_0x5d8556,_0x5c0940[_0x42df('0x1e')](_0x42df('0x22'))['to'](this[_0x42df('0x6')],_0x42df('0x26'),_0x124582=>!_0x124582),_0x5c0940[_0x42df('0x1e')](_0x42df('0x7'))['to'](this['_model'],_0x42df('0x1'),this[_0x42df('0x6')],'isResolved',(_0x18931b,_0x423b03)=>_0x18931b&&_0x423b03),_0x5c0940['on'](_0x42df('0x24'),()=>{this[_0x42df('0x16')](_0x42df('0x5'),this['_model']['id']);}),_0x5c0940;}[_0x42df('0xa')](_0x4b64cc){if(_0x4b64cc[_0x42df('0x20')]<0x96)return _0x4b64cc;const _0xa58bfa=_0x4b64cc[_0x42df('0x13')]('\x20',0x93);return _0x4b64cc[_0x42df('0x1a')](0x0,_0xa58bfa>-0x1?_0xa58bfa:0x93)+'...';}[_0x42df('0x1d')](){const _0x4fa13d=this[_0x42df('0xb')][_0x42df('0x10')]('.ck-context'),_0x1d2983=_0x4fa13d['querySelector'](_0x42df('0x3'));this[_0x42df('0x23')](_0x4fa13d,_0x42df('0x21'),()=>{_0x1d2983[_0x42df('0x8')]<_0x1d2983[_0x42df('0x4')]&&_0x4fa13d[_0x42df('0x2')][_0x42df('0x14')]('overlay');}),this['listenTo'](_0x4fa13d,_0x42df('0x1b'),()=>{_0x4fa13d[_0x42df('0x2')][_0x42df('0x18')](_0x42df('0x28'));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4e2e=['setTemplate','delegate','bind','editorDestroyed','value','set','ck-thread__input','editorReady','change:showInput','showButtons','destroy','showInput','editor','ck-thread__user','focusTracker','commentInputView','isFocused','div','extendTemplate','createEditor','bindTemplate','ck-comment__input-container--active','userView'];(function(_0x5d053f,_0x4e2e65){var _0x423868=function(_0x244903){while(--_0x244903){_0x5d053f['push'](_0x5d053f['shift']());}};_0x423868(++_0x4e2e65);}(_0x4e2e,0x1eb));var _0x4238=function(_0x5d053f,_0x4e2e65){_0x5d053f=_0x5d053f-0x0;var _0x423868=_0x4e2e[_0x5d053f];return _0x423868;};import{View as _0x4913ff}from'ckeditor5/src/ui';import _0x5c427e from'./commentinputview';import{UserView as _0xb1010d}from'ckeditor5-collaboration/src/collaboration-core';export default class At extends _0x4913ff{constructor(_0x31ec3d,_0x4e8491,_0xc79813){super(_0x31ec3d),this[_0x4238('0x7')]=new _0x5c427e(_0x31ec3d,_0xc79813),this['commentInputView'][_0x4238('0x11')](_0x4238('0x1'))['to'](this[_0x4238('0x7')][_0x4238('0x6')],_0x4238('0x8'),this[_0x4238('0x7')],_0x4238('0x13'),(_0x55de14,_0x4b0431)=>_0x55de14||!!_0x4b0431),this[_0x4238('0x14')](_0x4238('0x3'),!0x1),this['on'](_0x4238('0x0'),()=>{this[_0x4238('0x3')]&&!this[_0x4238('0x7')][_0x4238('0x4')]&&this[_0x4238('0x7')][_0x4238('0xb')]();}),this['commentInputView']['delegate'](_0x4238('0x16'))['to'](this),this[_0x4238('0x7')][_0x4238('0x10')](_0x4238('0x12'))['to'](this),this['userView']=new _0xb1010d(_0x31ec3d,_0x4e8491),this['userView']['extendTemplate']({'attributes':{'class':_0x4238('0x5')}}),this[_0x4238('0x7')][_0x4238('0xa')]({'attributes':{'class':_0x4238('0x15')}}),this[_0x4238('0xf')]({'tag':_0x4238('0x9'),'attributes':{'class':['ck-comment__input-container',this[_0x4238('0xc')]['if'](_0x4238('0x3'),_0x4238('0xd'))]},'children':[this[_0x4238('0xe')],this[_0x4238('0x7')]]});}[_0x4238('0x2')](){return this[_0x4238('0x7')]['destroy']()['then'](()=>super[_0x4238('0x2')]());}}
23
+ var _0x4a43=['editor','extendTemplate','div','change:showInput','showButtons','bind','value','userView','ck-thread__input','editorDestroyed','delegate','setTemplate','ck-comment__input-container--active','isFocused','destroy','createEditor','showInput','commentInputView','set','ck-comment__input-container'];(function(_0x23dfe4,_0x4a438b){var _0x1b2e41=function(_0x1957fd){while(--_0x1957fd){_0x23dfe4['push'](_0x23dfe4['shift']());}};_0x1b2e41(++_0x4a438b);}(_0x4a43,0xfa));var _0x1b2e=function(_0x23dfe4,_0x4a438b){_0x23dfe4=_0x23dfe4-0x0;var _0x1b2e41=_0x4a43[_0x23dfe4];return _0x1b2e41;};import{View as _0x14a3ea}from'ckeditor5/src/ui';import _0x269f4b from'./commentinputview';import{UserView as _0x32f931}from'ckeditor5-collaboration/src/collaboration-core';export default class At extends _0x14a3ea{constructor(_0x5393b3,_0x517c37,_0x55430b){super(_0x5393b3),this[_0x1b2e('0x7')]=new _0x269f4b(_0x5393b3,_0x55430b),this['commentInputView'][_0x1b2e('0xf')](_0x1b2e('0xe'))['to'](this[_0x1b2e('0x7')]['focusTracker'],_0x1b2e('0x3'),this[_0x1b2e('0x7')],_0x1b2e('0x10'),(_0x189f61,_0x29ef21)=>_0x189f61||!!_0x29ef21),this[_0x1b2e('0x8')](_0x1b2e('0x6'),!0x1),this['on'](_0x1b2e('0xd'),()=>{this[_0x1b2e('0x6')]&&!this['commentInputView'][_0x1b2e('0xa')]&&this['commentInputView'][_0x1b2e('0x5')]();}),this[_0x1b2e('0x7')][_0x1b2e('0x0')]('editorReady')['to'](this),this[_0x1b2e('0x7')]['delegate'](_0x1b2e('0x13'))['to'](this),this[_0x1b2e('0x11')]=new _0x32f931(_0x5393b3,_0x517c37),this[_0x1b2e('0x11')][_0x1b2e('0xb')]({'attributes':{'class':'ck-thread__user'}}),this[_0x1b2e('0x7')][_0x1b2e('0xb')]({'attributes':{'class':_0x1b2e('0x12')}}),this[_0x1b2e('0x1')]({'tag':_0x1b2e('0xc'),'attributes':{'class':[_0x1b2e('0x9'),this['bindTemplate']['if'](_0x1b2e('0x6'),_0x1b2e('0x2'))]},'children':[this[_0x1b2e('0x11')],this['commentInputView']]});}['destroy'](){return this[_0x1b2e('0x7')][_0x1b2e('0x4')]()['then'](()=>super[_0x1b2e('0x4')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ba8=['fire','archivedAt','isUnlinked','cancelConfirm','removeCommentThread','render','remove','createCollection','actionBar','change:archivedAt','placeholder','showConfirm','check','locale','get','change:isActive','div','ck-thread--active','Resolve','_bindFirstCommentView','isResolved','isVisible','Delete\x20comment\x20thread?','_boundFirstCommentView','bind','actionIndicator','then','stop','ck-thread--','.ck-thread__container','change:isReadOnly','commentThreadInputView','extendTemplate','_model','bindTemplate','getTemplate','commentsListView','commentViews','isReadOnly','resolveButton','commentThreadChildren','querySelector','execute','high','add','isConfirm','ck-thread--remove-confirmation','listenTo','containerElement','ck-thread','isResolvable','length','commentThreadHeaderView','_createResolveButton','ck-comment--resolve','Write\x20a\x20comment...','ck-thread__container','_cancelAllConfirms'];(function(_0x276794,_0x2ba826){const _0x11c620=function(_0x31dfc1){while(--_0x31dfc1){_0x276794['push'](_0x276794['shift']());}};_0x11c620(++_0x2ba826);}(_0x2ba8,0x6e));const _0x11c6=function(_0x276794,_0x2ba826){_0x276794=_0x276794-0x0;let _0x11c620=_0x2ba8[_0x276794];return _0x11c620;};import{ConfirmMixin as _0xf6f65b}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x1e77dd}from'ckeditor5/src/ui';import{icons as _0x3f3838}from'ckeditor5/src/core';import _0x4ed92f from'./basecommentthreadview';import{getTranslation as _0x105259}from'../../../utils/common-translations';export default class ft extends _0xf6f65b(_0x4ed92f){constructor(_0x10b366,_0x413138,_0x5f8118,_0x4ac751){super(_0x10b366,_0x413138,_0x5f8118,_0x4ac751),this[_0x11c6('0x2e')]=this[_0x11c6('0xd')](),this[_0x11c6('0x2e')]['addMany']([this[_0x11c6('0x2a')],this[_0x11c6('0x25')]]),this[_0x11c6('0x27')][_0x11c6('0x7')]&&this[_0x11c6('0x2e')]['add'](this['commentThreadHeaderView'],0x0),this[_0x11c6('0x27')]['on'](_0x11c6('0xf'),(_0x158adf,_0xac577c,_0x1ce965)=>{_0x1ce965?this[_0x11c6('0x2e')]['has'](this[_0x11c6('0x0')])||this[_0x11c6('0x2e')][_0x11c6('0x32')](this['commentThreadHeaderView'],0x0):this['commentThreadChildren']['remove'](this[_0x11c6('0x0')]);}),this['set']('actionIndicator',null),this[_0x11c6('0x36')]=null,this['_boundFirstCommentView']=null,this[_0x11c6('0x13')]=_0x10b366,this[_0x11c6('0x2d')]=this[_0x11c6('0x1')](),this['setTemplate'](this[_0x11c6('0x29')]()),this['on'](_0x11c6('0x15'),(_0x483967,_0x4e248d,_0x366473)=>{_0x366473||this[_0x11c6('0x5')]();}),this[_0x11c6('0x35')](this[_0x11c6('0x27')],_0x11c6('0x24'),(_0x2ffe33,_0x156938,_0x77bdbf)=>{_0x77bdbf&&this[_0x11c6('0x5')]();}),this[_0x11c6('0x39')]>0x0&&this[_0x11c6('0x19')](),this['listenTo'](this[_0x11c6('0x2a')][_0x11c6('0x2b')],_0x11c6('0x32'),()=>{this['_bindFirstCommentView']();});}['getTemplate'](){const _0x2b967e=this[_0x11c6('0x28')];return{'tag':'div','attributes':{'class':[_0x11c6('0x37'),'ck-reset_all-excluded',_0x2b967e['if']('isActive',_0x11c6('0x17')),_0x2b967e['if'](_0x11c6('0x8'),'ck-thread--unlinked'),_0x2b967e['if'](_0x11c6('0x33'),_0x11c6('0x34')),_0x2b967e['to']('actionIndicator',_0x365cfa=>_0x365cfa?_0x11c6('0x22')+_0x365cfa:'')],'data-thread-id':this[_0x11c6('0x27')]['id'],'tabindex':-0x1},'children':[{'tag':_0x11c6('0x16'),'attributes':{'class':_0x11c6('0x4')},'children':this[_0x11c6('0x2e')]}]};}[_0x11c6('0xb')](){super[_0x11c6('0xb')](),this['containerElement']=this['element'][_0x11c6('0x2f')](_0x11c6('0x23'));}[_0x11c6('0x5')](){this[_0x11c6('0x9')]();for(const _0x23c2fe of this['commentsListView'][_0x11c6('0x2b')])_0x23c2fe[_0x11c6('0x9')]();}[_0x11c6('0x19')](){const {locale:_0x1acfad}=this,_0x352f50=this['commentsListView']['commentViews'][_0x11c6('0x14')](0x0);_0x352f50===this[_0x11c6('0x1d')]||_0x352f50['isSystemComment']||(this[_0x11c6('0x1d')]=_0x352f50,this['unbind'](_0x11c6('0x1f')),this[_0x11c6('0x1e')](_0x11c6('0x1f'))['to'](_0x352f50,_0x11c6('0x1f'),_0x5a2500=>_0x11c6('0xc')===_0x5a2500?_0x11c6('0xc'):null),_0x352f50[_0x11c6('0x10')]=_0x105259(_0x1acfad,_0x11c6('0x3')),_0x352f50['removeButton']['on'](_0x11c6('0x30'),_0x33ce20=>{_0x33ce20[_0x11c6('0x21')](),this[_0x11c6('0x11')](_0x105259(_0x1acfad,_0x11c6('0x1c')),this[_0x11c6('0x36')])[_0x11c6('0x20')](()=>{this['fire'](_0x11c6('0xa'));});},{'priority':_0x11c6('0x31')}),_0x352f50[_0x11c6('0xe')]['add'](this[_0x11c6('0x2d')],0x0));}['_createResolveButton'](){const _0x8aa6f9=new _0x1e77dd(this[_0x11c6('0x13')]);return _0x8aa6f9['label']=_0x105259(this[_0x11c6('0x13')],_0x11c6('0x18')),_0x8aa6f9['tooltip']=_0x105259(this[_0x11c6('0x13')],'Resolve'),_0x8aa6f9['icon']=_0x3f3838[_0x11c6('0x12')],_0x8aa6f9[_0x11c6('0x26')]({'attributes':{'class':_0x11c6('0x2')}}),_0x8aa6f9[_0x11c6('0x1e')]('isEnabled')['to'](this[_0x11c6('0x27')],_0x11c6('0x2c'),_0x27d8ce=>!_0x27d8ce),_0x8aa6f9[_0x11c6('0x1e')](_0x11c6('0x1b'))['to'](this['_model'],_0x11c6('0x38'),this[_0x11c6('0x27')],_0x11c6('0x1a'),(_0x32eb6b,_0x56bfc4)=>_0x32eb6b&&!_0x56bfc4),_0x8aa6f9['on'](_0x11c6('0x30'),()=>{this[_0x11c6('0x6')]('resolveCommentThread',this[_0x11c6('0x27')]['id']);}),_0x8aa6f9;}}
23
+ const _0x270f=['isUnlinked','remove','render','label','tooltip','change:archivedAt','commentsListView','.ck-thread__container','listenTo','ck-thread','setTemplate','set','resolveButton','_boundFirstCommentView','locale','Write\x20a\x20comment...','ck-thread--','isResolved','ck-thread--remove-confirmation','isReadOnly','ck-reset_all-excluded','_model','bind','containerElement','cancelConfirm','element','_createResolveButton','showConfirm','commentViews','_bindFirstCommentView','isEnabled','Resolve','extendTemplate','check','high','then','ck-thread--unlinked','stop','actionIndicator','add','querySelector','commentThreadHeaderView','get','fire','length','ck-thread--active','commentThreadChildren','change:isActive','createCollection','resolveCommentThread','execute','removeCommentThread','_cancelAllConfirms','getTemplate','removeButton','isConfirm','Delete\x20comment\x20thread?','isVisible','icon','addMany','placeholder'];(function(_0x4a7d97,_0x270f20){const _0x23fd7d=function(_0x1931fa){while(--_0x1931fa){_0x4a7d97['push'](_0x4a7d97['shift']());}};_0x23fd7d(++_0x270f20);}(_0x270f,0x19d));const _0x23fd=function(_0x4a7d97,_0x270f20){_0x4a7d97=_0x4a7d97-0x0;let _0x23fd7d=_0x270f[_0x4a7d97];return _0x23fd7d;};import{ConfirmMixin as _0x2dc91c}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0xf086b1}from'ckeditor5/src/ui';import{icons as _0x1d012f}from'ckeditor5/src/core';import _0x758ce1 from'./basecommentthreadview';import{getTranslation as _0x4584a5}from'../../../utils/common-translations';export default class ft extends _0x2dc91c(_0x758ce1){constructor(_0x5d75ee,_0x464ccc,_0x578e8a,_0x25665b){super(_0x5d75ee,_0x464ccc,_0x578e8a,_0x25665b),this[_0x23fd('0x3c')]=this[_0x23fd('0x1')](),this['commentThreadChildren'][_0x23fd('0xc')]([this[_0x23fd('0x14')],this['commentThreadInputView']]),this[_0x23fd('0x23')]['archivedAt']&&this[_0x23fd('0x3c')][_0x23fd('0x35')](this[_0x23fd('0x37')],0x0),this[_0x23fd('0x23')]['on'](_0x23fd('0x13'),(_0x1f4ed1,_0x373cd7,_0x68aafd)=>{_0x68aafd?this[_0x23fd('0x3c')]['has'](this['commentThreadHeaderView'])||this[_0x23fd('0x3c')]['add'](this['commentThreadHeaderView'],0x0):this[_0x23fd('0x3c')][_0x23fd('0xf')](this[_0x23fd('0x37')]);}),this[_0x23fd('0x19')](_0x23fd('0x34'),null),this[_0x23fd('0x25')]=null,this['_boundFirstCommentView']=null,this[_0x23fd('0x1c')]=_0x5d75ee,this[_0x23fd('0x1a')]=this[_0x23fd('0x28')](),this[_0x23fd('0x18')](this['getTemplate']()),this['on'](_0x23fd('0x0'),(_0x3f4fb9,_0x3011a9,_0x129282)=>{_0x129282||this[_0x23fd('0x5')]();}),this[_0x23fd('0x16')](this[_0x23fd('0x23')],'change:isReadOnly',(_0x3a90d6,_0x306bb2,_0x4203be)=>{_0x4203be&&this[_0x23fd('0x5')]();}),this[_0x23fd('0x3a')]>0x0&&this['_bindFirstCommentView'](),this[_0x23fd('0x16')](this[_0x23fd('0x14')][_0x23fd('0x2a')],_0x23fd('0x35'),()=>{this[_0x23fd('0x2b')]();});}[_0x23fd('0x6')](){const _0x1941f6=this['bindTemplate'];return{'tag':'div','attributes':{'class':[_0x23fd('0x17'),_0x23fd('0x22'),_0x1941f6['if']('isActive',_0x23fd('0x3b')),_0x1941f6['if'](_0x23fd('0xe'),_0x23fd('0x32')),_0x1941f6['if'](_0x23fd('0x8'),_0x23fd('0x20')),_0x1941f6['to'](_0x23fd('0x34'),_0x3a4db3=>_0x3a4db3?_0x23fd('0x1e')+_0x3a4db3:'')],'data-thread-id':this[_0x23fd('0x23')]['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':'ck-thread__container'},'children':this['commentThreadChildren']}]};}[_0x23fd('0x10')](){super[_0x23fd('0x10')](),this[_0x23fd('0x25')]=this[_0x23fd('0x27')][_0x23fd('0x36')](_0x23fd('0x15'));}['_cancelAllConfirms'](){this['cancelConfirm']();for(const _0x35a406 of this['commentsListView']['commentViews'])_0x35a406[_0x23fd('0x26')]();}[_0x23fd('0x2b')](){const {locale:_0x2212fb}=this,_0x4834f8=this[_0x23fd('0x14')]['commentViews'][_0x23fd('0x38')](0x0);_0x4834f8===this[_0x23fd('0x1b')]||_0x4834f8['isSystemComment']||(this[_0x23fd('0x1b')]=_0x4834f8,this['unbind']('actionIndicator'),this[_0x23fd('0x24')]('actionIndicator')['to'](_0x4834f8,_0x23fd('0x34'),_0x283bb0=>'remove'===_0x283bb0?_0x23fd('0xf'):null),_0x4834f8[_0x23fd('0xd')]=_0x4584a5(_0x2212fb,_0x23fd('0x1d')),_0x4834f8[_0x23fd('0x7')]['on']('execute',_0x274588=>{_0x274588[_0x23fd('0x33')](),this[_0x23fd('0x29')](_0x4584a5(_0x2212fb,_0x23fd('0x9')),this[_0x23fd('0x25')])[_0x23fd('0x31')](()=>{this['fire'](_0x23fd('0x4'));});},{'priority':_0x23fd('0x30')}),_0x4834f8['actionBar'][_0x23fd('0x35')](this[_0x23fd('0x1a')],0x0));}[_0x23fd('0x28')](){const _0x9a9f86=new _0xf086b1(this[_0x23fd('0x1c')]);return _0x9a9f86[_0x23fd('0x11')]=_0x4584a5(this[_0x23fd('0x1c')],_0x23fd('0x2d')),_0x9a9f86[_0x23fd('0x12')]=_0x4584a5(this[_0x23fd('0x1c')],_0x23fd('0x2d')),_0x9a9f86[_0x23fd('0xb')]=_0x1d012f[_0x23fd('0x2f')],_0x9a9f86[_0x23fd('0x2e')]({'attributes':{'class':'ck-comment--resolve'}}),_0x9a9f86['bind'](_0x23fd('0x2c'))['to'](this[_0x23fd('0x23')],_0x23fd('0x21'),_0x526075=>!_0x526075),_0x9a9f86[_0x23fd('0x24')](_0x23fd('0xa'))['to'](this['_model'],'isResolvable',this[_0x23fd('0x23')],_0x23fd('0x1f'),(_0x399dc4,_0x2c78cb)=>_0x399dc4&&!_0x2c78cb),_0x9a9f86['on'](_0x23fd('0x3'),()=>{this[_0x23fd('0x39')](_0x23fd('0x2'),this[_0x23fd('0x23')]['id']);}),_0x9a9f86;}}