@ckeditor/ckeditor5-comments 0.0.0-nightly-20230710.1 → 0.0.0-nightly-20230711.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 _0x3c7c=['init','defaultPlugins','getChild','config','set','plugins','focus','change:placeholder','then','destroy','fire','view','create','setSelection','change','_updatePlaceholder','placeholderElement','get','model','ready','assign','getRoot','document','end','low','childCount','data','editing'];(function(_0x1e15f3,_0x3c7c85){const _0x4af1a6=function(_0x394d35){while(--_0x394d35){_0x1e15f3['push'](_0x1e15f3['shift']());}};_0x4af1a6(++_0x3c7c85);}(_0x3c7c,0xe2));const _0x4af1=function(_0x1e15f3,_0x3c7c85){_0x1e15f3=_0x1e15f3-0x0;let _0x4af1a6=_0x3c7c[_0x1e15f3];return _0x4af1a6;};import{Editor as _0x278a00,DataApiMixin as _0x13714e}from'ckeditor5/src/core';import _0x28f16d from'./commenteditorui';import{ObservableMixin as _0x4456b1}from'ckeditor5/src/utils';import{enablePlaceholder as _0x56e590,disablePlaceholder as _0x303e83}from'ckeditor5/src/engine';import{Clipboard as _0x3c3e1a}from'ckeditor5/src/clipboard';import{Enter as _0x3f286b,ShiftEnter as _0xd95d3b}from'ckeditor5/src/enter';import{SelectAll as _0x5443a8}from'ckeditor5/src/select-all';import{Typing as _0x829c20}from'ckeditor5/src/typing';import{Undo as _0x1924b9}from'ckeditor5/src/undo';import{Paragraph as _0x4b0578}from'ckeditor5/src/paragraph';const Kt=[_0x3c3e1a,_0x3f286b,_0xd95d3b,_0x5443a8,_0x829c20,_0x1924b9,_0x4b0578];export default class Lt extends _0x4456b1(_0x13714e(_0x278a00)){constructor(_0x26528f={}){(_0x26528f=Object[_0x4af1('0x12')]({},_0x26528f))['plugins']||(_0x26528f[_0x4af1('0x3')]=Lt['defaultPlugins']),super(_0x26528f),this['ui']=new _0x28f16d(this),this[_0x4af1('0x2')]('placeholder',''),this[_0x4af1('0x10')]['document']['on'](_0x4af1('0xc'),()=>this['_updatePlaceholder'](),{'priority':_0x4af1('0x16')}),this['on'](_0x4af1('0x5'),()=>this[_0x4af1('0xd')]()),this[_0x4af1('0x10')][_0x4af1('0x14')]['createRoot']();}[_0x4af1('0xa')](){const _0x1255e2=this[_0x4af1('0x1')][_0x4af1('0xf')]('initialData')||'';return this['initPlugins']()['then'](()=>this['ui'][_0x4af1('0x1a')]())[_0x4af1('0x6')](()=>this[_0x4af1('0x18')][_0x4af1('0x1a')](_0x1255e2))[_0x4af1('0x6')](()=>this[_0x4af1('0x8')](_0x4af1('0x11')));}[_0x4af1('0x7')](){return super[_0x4af1('0x7')]()[_0x4af1('0x6')](()=>this['ui']['destroy']());}['focus'](){this[_0x4af1('0x10')][_0x4af1('0xc')](_0x2baef3=>{const _0x120f85=this['model'][_0x4af1('0x14')][_0x4af1('0x13')](),_0x1df8f0=_0x120f85&&_0x120f85['getChild'](_0x120f85['childCount']-0x1);_0x2baef3[_0x4af1('0xb')](_0x1df8f0,_0x4af1('0x15')),this[_0x4af1('0x19')]['view'][_0x4af1('0x4')]();});}[_0x4af1('0xd')](){const _0x4b3bbd=this['editing'][_0x4af1('0x9')],_0x5376ef=_0x4b3bbd[_0x4af1('0x14')][_0x4af1('0x13')](),_0x4697b9=_0x5376ef[_0x4af1('0x0')](0x0);_0x5376ef[_0x4af1('0x17')]>0x1||!_0x4697b9||'p'!=_0x4697b9['name']?this[_0x4af1('0xe')]&&(_0x303e83(_0x4b3bbd,this[_0x4af1('0xe')]),this['placeholderElement']=void 0x0):(_0x56e590({'view':_0x4b3bbd,'element':_0x4697b9,'text':this['placeholder'],'keepOnFocus':!0x0}),this[_0x4af1('0xe')]=_0x4697b9);}}Lt[_0x4af1('0x1b')]=Kt;
23
+ const _0x2b2a=['low','then','destroy','setSelection','placeholder','initialData','ready','_updatePlaceholder','placeholderElement','initPlugins','create','getChild','set','view','plugins','focus','getRoot','end','data','change','document','editing','config','createRoot','fire','change:placeholder','init','get','defaultPlugins','model'];(function(_0x3389e4,_0x2b2a62){const _0x5afd41=function(_0x27ff1b){while(--_0x27ff1b){_0x3389e4['push'](_0x3389e4['shift']());}};_0x5afd41(++_0x2b2a62);}(_0x2b2a,0x13c));const _0x5afd=function(_0x3389e4,_0x2b2a62){_0x3389e4=_0x3389e4-0x0;let _0x5afd41=_0x2b2a[_0x3389e4];return _0x5afd41;};import{Editor as _0x247655,DataApiMixin as _0x217d5d}from'ckeditor5/src/core';import _0x203ba7 from'./commenteditorui';import{ObservableMixin as _0x325935}from'ckeditor5/src/utils';import{enablePlaceholder as _0x21b87b,disablePlaceholder as _0x5b34f1}from'ckeditor5/src/engine';import{Clipboard as _0x3fdf68}from'ckeditor5/src/clipboard';import{Enter as _0x577997,ShiftEnter as _0x10799f}from'ckeditor5/src/enter';import{SelectAll as _0x1fcba5}from'ckeditor5/src/select-all';import{Typing as _0xc59536}from'ckeditor5/src/typing';import{Undo as _0x797cd5}from'ckeditor5/src/undo';import{Paragraph as _0x3633f6}from'ckeditor5/src/paragraph';const Kt=[_0x3fdf68,_0x577997,_0x10799f,_0x1fcba5,_0xc59536,_0x797cd5,_0x3633f6];export default class Lt extends _0x325935(_0x217d5d(_0x247655)){constructor(_0x2b9f33={}){(_0x2b9f33=Object['assign']({},_0x2b9f33))[_0x5afd('0x1c')]||(_0x2b9f33[_0x5afd('0x1c')]=Lt[_0x5afd('0xc')]),super(_0x2b9f33),this['ui']=new _0x203ba7(this),this[_0x5afd('0x1a')](_0x5afd('0x12'),''),this[_0x5afd('0xd')][_0x5afd('0x4')]['on'](_0x5afd('0x3'),()=>this[_0x5afd('0x15')](),{'priority':_0x5afd('0xe')}),this['on'](_0x5afd('0x9'),()=>this['_updatePlaceholder']()),this[_0x5afd('0xd')][_0x5afd('0x4')][_0x5afd('0x7')]();}[_0x5afd('0x18')](){const _0x2f71f6=this[_0x5afd('0x6')][_0x5afd('0xb')](_0x5afd('0x13'))||'';return this[_0x5afd('0x17')]()[_0x5afd('0xf')](()=>this['ui'][_0x5afd('0xa')]())[_0x5afd('0xf')](()=>this[_0x5afd('0x2')][_0x5afd('0xa')](_0x2f71f6))[_0x5afd('0xf')](()=>this[_0x5afd('0x8')](_0x5afd('0x14')));}['destroy'](){return super['destroy']()[_0x5afd('0xf')](()=>this['ui'][_0x5afd('0x10')]());}['focus'](){this['model'][_0x5afd('0x3')](_0x2dd156=>{const _0x28765e=this[_0x5afd('0xd')][_0x5afd('0x4')][_0x5afd('0x0')](),_0x5b062d=_0x28765e&&_0x28765e[_0x5afd('0x19')](_0x28765e['childCount']-0x1);_0x2dd156[_0x5afd('0x11')](_0x5b062d,_0x5afd('0x1')),this['editing'][_0x5afd('0x1b')][_0x5afd('0x1d')]();});}[_0x5afd('0x15')](){const _0x3990e4=this[_0x5afd('0x5')][_0x5afd('0x1b')],_0x49d805=_0x3990e4[_0x5afd('0x4')][_0x5afd('0x0')](),_0x1f0b61=_0x49d805[_0x5afd('0x19')](0x0);_0x49d805['childCount']>0x1||!_0x1f0b61||'p'!=_0x1f0b61['name']?this[_0x5afd('0x16')]&&(_0x5b34f1(_0x3990e4,this[_0x5afd('0x16')]),this[_0x5afd('0x16')]=void 0x0):(_0x21b87b({'view':_0x3990e4,'element':_0x1f0b61,'text':this[_0x5afd('0x12')],'keepOnFocus':!0x0}),this[_0x5afd('0x16')]=_0x1f0b61);}}Lt[_0x5afd('0xc')]=Kt;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a70=['locale','getRoot','rootName','editor','attachDomRoot','document','element','ready','fire','editable','destroy','setEditableElement','name','view','editing','focusTracker','isFocused'];(function(_0x5410e5,_0x5a70d1){const _0x559527=function(_0x47fefa){while(--_0x47fefa){_0x5410e5['push'](_0x5410e5['shift']());}};_0x559527(++_0x5a70d1);}(_0x5a70,0x1c5));const _0x5595=function(_0x5410e5,_0x5a70d1){_0x5410e5=_0x5410e5-0x0;let _0x559527=_0x5a70[_0x5410e5];return _0x559527;};import{EditorUI as _0x2583a3}from'ckeditor5/src/ui';import _0x53495c from'./commenteditoruiview';export default class jt extends _0x2583a3{constructor(_0x1ca6fe){super(_0x1ca6fe),this[_0x5595('0x2')]=new _0x53495c(_0x1ca6fe[_0x5595('0x6')],_0x1ca6fe[_0x5595('0x3')][_0x5595('0x2')]);}get[_0x5595('0xc')](){return this[_0x5595('0x2')][_0x5595('0xc')];}['init'](){const _0x3ca086=this[_0x5595('0x9')][_0x5595('0x3')][_0x5595('0x2')],_0x174972=this[_0x5595('0x2')][_0x5595('0xf')],_0xb73b86=_0x3ca086[_0x5595('0xb')][_0x5595('0x7')]();_0x174972[_0x5595('0x1')]=_0xb73b86[_0x5595('0x8')],this[_0x5595('0x2')]['render']();const _0x508217=_0x174972[_0x5595('0xc')];this[_0x5595('0x0')](_0x174972[_0x5595('0x1')],_0x508217),this[_0x5595('0x2')][_0x5595('0xf')]['bind'](_0x5595('0x5'))['to'](this[_0x5595('0x4')]),_0x3ca086[_0x5595('0xa')](_0x508217),this[_0x5595('0xe')](_0x5595('0xd'));}[_0x5595('0x10')](){super[_0x5595('0x10')](),this[_0x5595('0x2')][_0x5595('0x10')]();}}
23
+ const _0x570c=['setEditableElement','view','locale','editable','ready','element','attachDomRoot','focusTracker','bind','render','isFocused','editing','editor','rootName','getRoot','fire','destroy','document','name'];(function(_0x2ec8cf,_0x570c52){const _0x121090=function(_0x2c5cfa){while(--_0x2c5cfa){_0x2ec8cf['push'](_0x2ec8cf['shift']());}};_0x121090(++_0x570c52);}(_0x570c,0x128));const _0x1210=function(_0x2ec8cf,_0x570c52){_0x2ec8cf=_0x2ec8cf-0x0;let _0x121090=_0x570c[_0x2ec8cf];return _0x121090;};import{EditorUI as _0x5596ad}from'ckeditor5/src/ui';import _0x54d8f4 from'./commenteditoruiview';export default class jt extends _0x5596ad{constructor(_0xd60829){super(_0xd60829),this[_0x1210('0x9')]=new _0x54d8f4(_0xd60829[_0x1210('0xa')],_0xd60829[_0x1210('0x0')]['view']);}get[_0x1210('0xd')](){return this['view'][_0x1210('0xd')];}['init'](){const _0x392e11=this[_0x1210('0x1')][_0x1210('0x0')][_0x1210('0x9')],_0x592e4b=this[_0x1210('0x9')][_0x1210('0xb')],_0x4685bd=_0x392e11[_0x1210('0x6')][_0x1210('0x3')]();_0x592e4b[_0x1210('0x7')]=_0x4685bd[_0x1210('0x2')],this['view'][_0x1210('0x11')]();const _0x1aa799=_0x592e4b[_0x1210('0xd')];this[_0x1210('0x8')](_0x592e4b['name'],_0x1aa799),this[_0x1210('0x9')]['editable'][_0x1210('0x10')](_0x1210('0x12'))['to'](this[_0x1210('0xf')]),_0x392e11[_0x1210('0xe')](_0x1aa799),this[_0x1210('0x4')](_0x1210('0xc'));}['destroy'](){super[_0x1210('0x5')](),this[_0x1210('0x9')][_0x1210('0x5')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x141c=['_voiceLabelView','ck-rounded-corners','ck-editor__aria-label_','presentation','createCollection','text','focus','editable','add','cke-editor__aria-label_','uiLanguageDirection','setTemplate','Comment\x20editor','main','_createVoiceLabel','element','ck-reset','ck-editor__main','render','div'];(function(_0x239efc,_0x141cfb){const _0x59ddf5=function(_0x3732a2){while(--_0x3732a2){_0x239efc['push'](_0x239efc['shift']());}};_0x59ddf5(++_0x141cfb);}(_0x141c,0x6d));const _0x59dd=function(_0x239efc,_0x141cfb){_0x239efc=_0x239efc-0x0;let _0x59ddf5=_0x141c[_0x239efc];return _0x59ddf5;};import{InlineEditableUIView as _0x4404f9,EditorUIView as _0x3f03c2,LabelView as _0x280238}from'ckeditor5/src/ui';import{uid as _0x4b8cef}from'ckeditor5/src/utils';import{getTranslation as _0x3b4541}from'../../../utils/common-translations';export default class Nt extends _0x3f03c2{constructor(_0x11058d,_0x38a0ec){super(_0x11058d);const _0x3836bf=_0x4b8cef();this['main']=this[_0x59dd('0xf')](),this['editable']=new _0x4404f9(_0x11058d,_0x38a0ec),this['_voiceLabelView']=this[_0x59dd('0x5')](_0x3836bf,_0x11058d),this[_0x59dd('0x2')]({'tag':_0x59dd('0xa'),'attributes':{'class':[_0x59dd('0x7'),'ck-editor',_0x59dd('0xc'),'ck-comment__input'],'role':'comment','dir':_0x11058d[_0x59dd('0x1')],'lang':_0x11058d['uiLanguage'],'aria-labelledby':_0x59dd('0x0')+_0x3836bf},'children':[this[_0x59dd('0xb')],{'tag':_0x59dd('0xa'),'attributes':{'class':_0x59dd('0x8'),'role':_0x59dd('0xe')},'children':this[_0x59dd('0x4')]}]});}['render'](){super[_0x59dd('0x9')](),this['main'][_0x59dd('0x13')](this[_0x59dd('0x12')]);}[_0x59dd('0x11')](){this[_0x59dd('0x12')][_0x59dd('0x6')][_0x59dd('0x11')]();}[_0x59dd('0x5')](_0x3fa06a,_0x13d8e7){const _0x3a117e=new _0x280238();return _0x3a117e[_0x59dd('0x10')]=_0x3b4541(_0x13d8e7,_0x59dd('0x3')),_0x3a117e['extendTemplate']({'attributes':{'id':_0x59dd('0xd')+_0x3fa06a,'class':'ck-voice-label'}}),_0x3a117e;}}
23
+ const _0x1eae=['cke-editor__aria-label_','createCollection','add','ck-editor','text','main','_voiceLabelView','focus','ck-comment__input','uiLanguageDirection','comment','Comment\x20editor','extendTemplate','_createVoiceLabel','editable','presentation','ck-editor__main','ck-reset','div'];(function(_0x51347b,_0x1eae33){const _0x3d960f=function(_0x3c1542){while(--_0x3c1542){_0x51347b['push'](_0x51347b['shift']());}};_0x3d960f(++_0x1eae33);}(_0x1eae,0x79));const _0x3d96=function(_0x51347b,_0x1eae33){_0x51347b=_0x51347b-0x0;let _0x3d960f=_0x1eae[_0x51347b];return _0x3d960f;};import{InlineEditableUIView as _0x15e4da,EditorUIView as _0x2e4e06,LabelView as _0x1fb021}from'ckeditor5/src/ui';import{uid as _0x4caf2e}from'ckeditor5/src/utils';import{getTranslation as _0x5ef708}from'../../../utils/common-translations';export default class Nt extends _0x2e4e06{constructor(_0x47b927,_0x49d54c){super(_0x47b927);const _0x5d3947=_0x4caf2e();this['main']=this[_0x3d96('0xd')](),this['editable']=new _0x15e4da(_0x47b927,_0x49d54c),this['_voiceLabelView']=this[_0x3d96('0x6')](_0x5d3947,_0x47b927),this['setTemplate']({'tag':_0x3d96('0xb'),'attributes':{'class':[_0x3d96('0xa'),_0x3d96('0xf'),'ck-rounded-corners',_0x3d96('0x1')],'role':_0x3d96('0x3'),'dir':_0x47b927[_0x3d96('0x2')],'lang':_0x47b927['uiLanguage'],'aria-labelledby':_0x3d96('0xc')+_0x5d3947},'children':[this[_0x3d96('0x12')],{'tag':_0x3d96('0xb'),'attributes':{'class':_0x3d96('0x9'),'role':_0x3d96('0x8')},'children':this[_0x3d96('0x11')]}]});}['render'](){super['render'](),this[_0x3d96('0x11')][_0x3d96('0xe')](this[_0x3d96('0x7')]);}[_0x3d96('0x0')](){this[_0x3d96('0x7')]['element'][_0x3d96('0x0')]();}[_0x3d96('0x6')](_0x21838a,_0x575a2a){const _0x2b658d=new _0x1fb021();return _0x2b658d[_0x3d96('0x10')]=_0x5ef708(_0x575a2a,_0x3d96('0x4')),_0x2b658d[_0x3d96('0x5')]({'attributes':{'id':'ck-editor__aria-label_'+_0x21838a,'class':'ck-voice-label'}}),_0x2b658d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x51da=['_localUser','addComment','remove','resolveCommentThread','submit','updateComment','listenTo','isResolved','reopenCommentThread','_isAttached','resolve','removeComment','update','getComment','model','view','reopen'];(function(_0x5e435b,_0x51dab3){var _0x5a7e01=function(_0x2efc37){while(--_0x2efc37){_0x5e435b['push'](_0x5e435b['shift']());}};_0x5a7e01(++_0x51dab3);}(_0x51da,0x1f0));var _0x5a7e=function(_0x5e435b,_0x51dab3){_0x5e435b=_0x5e435b-0x0;var _0x5a7e01=_0x51da[_0x5e435b];return _0x5a7e01;};import{ObservableMixin as _0x5946c7}from'ckeditor5/src/utils';export default class ct extends _0x5946c7(){constructor(_0x4a646a,_0x5efc68){super(),this[_0x5a7e('0xb')]=_0x4a646a,this[_0x5a7e('0xb')][_0x5a7e('0x6')]=!0x0,this[_0x5a7e('0xc')]=_0x5efc68,this[_0x5a7e('0x3')](_0x5efc68,'submitCommentThread',()=>this[_0x5a7e('0x1')]()),this[_0x5a7e('0x3')](_0x5efc68,'removeCommentThread',()=>this['remove']()),this[_0x5a7e('0x3')](_0x5efc68,_0x5a7e('0x0'),()=>this[_0x5a7e('0x7')]()),this[_0x5a7e('0x3')](_0x5efc68,_0x5a7e('0x5'),()=>this['reopen']()),this[_0x5a7e('0x3')](_0x5efc68,_0x5a7e('0xf'),(_0x3060f9,_0x4f62a5)=>this[_0x5a7e('0xf')](_0x4f62a5)),this[_0x5a7e('0x3')](_0x5efc68,'updateComment',(_0xe03908,_0x279996,_0x4d0adf)=>this[_0x5a7e('0x2')](_0x279996,_0x4d0adf)),this[_0x5a7e('0x3')](_0x5efc68,_0x5a7e('0x8'),(_0x3935fc,_0x183a11)=>this[_0x5a7e('0x8')](_0x183a11));}['submit'](){this['model'][_0x5a7e('0x1')]();}['remove'](){this[_0x5a7e('0xb')][_0x5a7e('0x10')]();}['resolve'](){this[_0x5a7e('0xb')]['isResolved']||this['model'][_0x5a7e('0x7')]();}[_0x5a7e('0xd')](){this[_0x5a7e('0xb')][_0x5a7e('0x4')]&&this[_0x5a7e('0xb')][_0x5a7e('0xd')]();}['addComment'](_0x24a3ec){this['model'][_0x5a7e('0xf')]({'content':_0x24a3ec,'authorId':this[_0x5a7e('0xc')][_0x5a7e('0xe')]['id']});}[_0x5a7e('0x2')](_0x5e15c1,_0x436b11){this[_0x5a7e('0xb')]['getComment'](_0x5e15c1)[_0x5a7e('0x9')]({'content':_0x436b11});}['removeComment'](_0x145534){this['model'][_0x5a7e('0xa')](_0x145534)[_0x5a7e('0x10')]();}['destroy'](){this['stopListening'](),this[_0x5a7e('0xb')][_0x5a7e('0x6')]=!0x1;}}
23
+ var _0x3969=['submit','stopListening','destroy','isResolved','reopen','listenTo','resolveCommentThread','_isAttached','remove','view','getComment','removeCommentThread','removeComment','submitCommentThread','updateComment','resolve','update','model','addComment','reopenCommentThread'];(function(_0xa9719,_0x39699f){var _0x4ac030=function(_0x1c3442){while(--_0x1c3442){_0xa9719['push'](_0xa9719['shift']());}};_0x4ac030(++_0x39699f);}(_0x3969,0x66));var _0x4ac0=function(_0xa9719,_0x39699f){_0xa9719=_0xa9719-0x0;var _0x4ac030=_0x3969[_0xa9719];return _0x4ac030;};import{ObservableMixin as _0x329f26}from'ckeditor5/src/utils';export default class ct extends _0x329f26(){constructor(_0x14952e,_0x461a74){super(),this[_0x4ac0('0xf')]=_0x14952e,this['model'][_0x4ac0('0x5')]=!0x0,this['view']=_0x461a74,this[_0x4ac0('0x3')](_0x461a74,_0x4ac0('0xb'),()=>this['submit']()),this['listenTo'](_0x461a74,_0x4ac0('0x9'),()=>this['remove']()),this[_0x4ac0('0x3')](_0x461a74,_0x4ac0('0x4'),()=>this[_0x4ac0('0xd')]()),this[_0x4ac0('0x3')](_0x461a74,_0x4ac0('0x11'),()=>this[_0x4ac0('0x2')]()),this[_0x4ac0('0x3')](_0x461a74,'addComment',(_0x251324,_0x4078e3)=>this[_0x4ac0('0x10')](_0x4078e3)),this[_0x4ac0('0x3')](_0x461a74,_0x4ac0('0xc'),(_0x28b407,_0x1ceb9c,_0x31b43c)=>this[_0x4ac0('0xc')](_0x1ceb9c,_0x31b43c)),this[_0x4ac0('0x3')](_0x461a74,_0x4ac0('0xa'),(_0x260f13,_0x77da50)=>this[_0x4ac0('0xa')](_0x77da50));}[_0x4ac0('0x12')](){this[_0x4ac0('0xf')][_0x4ac0('0x12')]();}[_0x4ac0('0x6')](){this[_0x4ac0('0xf')][_0x4ac0('0x6')]();}[_0x4ac0('0xd')](){this[_0x4ac0('0xf')]['isResolved']||this[_0x4ac0('0xf')]['resolve']();}[_0x4ac0('0x2')](){this[_0x4ac0('0xf')][_0x4ac0('0x1')]&&this[_0x4ac0('0xf')][_0x4ac0('0x2')]();}[_0x4ac0('0x10')](_0x10742c){this[_0x4ac0('0xf')][_0x4ac0('0x10')]({'content':_0x10742c,'authorId':this[_0x4ac0('0x7')]['_localUser']['id']});}[_0x4ac0('0xc')](_0x51fc64,_0x2e8e73){this['model'][_0x4ac0('0x8')](_0x51fc64)[_0x4ac0('0xe')]({'content':_0x2e8e73});}[_0x4ac0('0xa')](_0x495832){this[_0x4ac0('0xf')][_0x4ac0('0x8')](_0x495832)[_0x4ac0('0x6')]();}[_0x4ac0('0x0')](){this[_0x4ac0('0x13')](),this[_0x4ac0('0xf')][_0x4ac0('0x5')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6245=['_createCommentThreadInputView','value','Reply...','change:isActive','length','reopenCommentThread','Reply','_config','addComment','submitCommentThread','isReadOnly','bind','set','isResolved','submit','editorReady','delegate','isActive','_model','Reply\x20to\x20reopen\x20discussion...','editorConfig','commentsListView','submitLabel','removeCommentThread','commentThreadInputView','isResolvable','isSubmitted','removeComment','locale','CommentView','fire','isDirty','commentThreadHeaderView','updateComment','cancel','element','destroy','disabledSubmit','_localUser','focus','editorDestroyed','assign','placeholder','commentInputView'];(function(_0x1cb5d1,_0x62457e){const _0x21523b=function(_0x21a869){while(--_0x21a869){_0x1cb5d1['push'](_0x1cb5d1['shift']());}};_0x21523b(++_0x62457e);}(_0x6245,0xdc));const _0x2152=function(_0x1cb5d1,_0x62457e){_0x1cb5d1=_0x1cb5d1-0x0;let _0x21523b=_0x6245[_0x1cb5d1];return _0x21523b;};import{View as _0x140e68}from'ckeditor5/src/ui';import _0x392005 from'./commentthreadinputview';import _0x330f2e from'./commentslistview';import _0x1ed01d from'./commentthreadheaderview';import{getTranslation as _0x511e7a}from'../../../utils/common-translations';export default class Tt extends _0x140e68{constructor(_0x4ce115,_0xce02fc,_0x3751a4,_0x426e4c){super(_0x4ce115),this[_0x2152('0xc')]('isActive',!0x1),this[_0x2152('0xc')]('isDirty',!0x1),this['_model']=_0xce02fc,this[_0x2152('0x26')]=_0x3751a4,this[_0x2152('0x7')]=_0x426e4c,this[_0x2152('0x20')]=new _0x1ed01d(_0x4ce115,_0xce02fc),this['commentThreadHeaderView'][_0x2152('0x10')](_0x2152('0x5'))['to'](this),this[_0x2152('0x15')]=new _0x330f2e(_0x4ce115,_0xce02fc,Object[_0x2152('0x29')]({'CommentView':this[_0x2152('0x7')][_0x2152('0x1d')]},_0x426e4c)),this[_0x2152('0x15')][_0x2152('0x10')](_0x2152('0x1b'))['to'](this),this['commentsListView'][_0x2152('0x10')](_0x2152('0x21'))['to'](this),this[_0x2152('0x15')][_0x2152('0x10')]('resolveCommentThread')['to'](this),this['commentsListView'][_0x2152('0x10')](_0x2152('0xf'))['to'](this),this[_0x2152('0x15')][_0x2152('0x10')](_0x2152('0x28'))['to'](this),this[_0x2152('0x15')][_0x2152('0xb')](_0x2152('0x11'))['to'](this),this[_0x2152('0xc')](_0x2152('0x4'),this[_0x2152('0x15')]['length']),this[_0x2152('0xb')](_0x2152('0x4'))['to'](this[_0x2152('0x15')],_0x2152('0x4')),this[_0x2152('0x18')]=this[_0x2152('0x0')](),this[_0x2152('0x18')][_0x2152('0x10')]('editorReady')['to'](this),this[_0x2152('0x18')]['delegate'](_0x2152('0x28'))['to'](this),this['on'](_0x2152('0x1b'),()=>this['focus']()),this[_0x2152('0xb')](_0x2152('0x1f'))['to'](this[_0x2152('0x15')],'hasDirtyComment',this['commentThreadInputView'][_0x2152('0x2b')],_0x2152('0x1'),(_0x44e127,_0x9d2026)=>_0x44e127||!!_0x9d2026);}[_0x2152('0x27')](){this[_0x2152('0x23')][_0x2152('0x27')]();}[_0x2152('0x24')](){this[_0x2152('0x1f')]=!0x1,this[_0x2152('0x15')][_0x2152('0x24')](),this[_0x2152('0x18')][_0x2152('0x24')](),super[_0x2152('0x24')]();}[_0x2152('0x0')](){const _0x2c036e=new _0x392005(this[_0x2152('0x1c')],this['_localUser'],this[_0x2152('0x7')][_0x2152('0x14')]),_0x5cd249=_0x2c036e[_0x2152('0x2b')];return _0x2c036e['bind']('showInput')['to'](this,_0x2152('0x11'),this[_0x2152('0x12')],_0x2152('0xa'),this[_0x2152('0x12')],_0x2152('0xd'),_0x5cd249,_0x2152('0x1'),(_0x156891,_0x31aa6d,_0x436ff2,_0xc60bfa)=>!!_0xc60bfa||_0x436ff2&&!_0x31aa6d||_0x156891&&!_0x31aa6d),_0x5cd249[_0x2152('0xb')](_0x2152('0x2a'))['to'](this,'length',this[_0x2152('0x12')],_0x2152('0x19'),this['_model'],_0x2152('0xd'),(_0x3d2e22,_0x292432,_0x406cab)=>{let _0x4c5363;return _0x4c5363=_0x406cab&&_0x292432?_0x2152('0x13'):_0x3d2e22?_0x2152('0x2'):'Write\x20a\x20comment...',_0x511e7a(this[_0x2152('0x1c')],_0x4c5363);}),_0x5cd249[_0x2152('0xb')](_0x2152('0x16'))['to'](this,'length',_0x65e7af=>_0x511e7a(this[_0x2152('0x1c')],_0x65e7af?_0x2152('0x6'):'Comment')),_0x5cd249['on'](_0x2152('0xe'),(_0x1289ca,_0xb7c5bf)=>{this[_0x2152('0x1e')](_0x2152('0x8'),_0xb7c5bf),this[_0x2152('0x12')][_0x2152('0xd')]&&this['_model'][_0x2152('0x19')]&&this[_0x2152('0x1e')](_0x2152('0x5'),this['_model']['id']),this[_0x2152('0x12')][_0x2152('0x1a')]||this[_0x2152('0x1e')](_0x2152('0x9'));}),_0x5cd249['on'](_0x2152('0x22'),()=>{this['focus']();}),_0x5cd249[_0x2152('0xb')](_0x2152('0x25'))['to'](this[_0x2152('0x12')],_0x2152('0xa')),_0x5cd249['on'](_0x2152('0x22'),_0x4ffba0=>{0x0==this[_0x2152('0x4')]&&(this[_0x2152('0x1e')](_0x2152('0x17')),_0x4ffba0['stop']());}),this['on'](_0x2152('0x3'),(_0x4158da,_0x143281,_0x53d8da)=>{_0x53d8da||this[_0x2152('0x4')]||_0x5cd249['value']||this[_0x2152('0x1e')]('removeCommentThread');}),_0x2c036e;}}
23
+ const _0x359b=['addComment','isDirty','resolveCommentThread','fire','focus','Reply','editorReady','cancel','stop','isActive','assign','element','delegate','_config','isResolvable','Reply\x20to\x20reopen\x20discussion...','isSubmitted','value','isReadOnly','length','removeCommentThread','Comment','locale','_model','updateComment','change:isActive','commentInputView','Write\x20a\x20comment...','commentThreadInputView','editorConfig','submitLabel','_createCommentThreadInputView','bind','showInput','submitCommentThread','commentThreadHeaderView','removeComment','disabledSubmit','Reply...','reopenCommentThread','destroy','placeholder','set','isResolved','editorDestroyed','hasDirtyComment','commentsListView'];(function(_0x56287a,_0x359bee){const _0x5655af=function(_0x55bfef){while(--_0x55bfef){_0x56287a['push'](_0x56287a['shift']());}};_0x5655af(++_0x359bee);}(_0x359b,0x1ce));const _0x5655=function(_0x56287a,_0x359bee){_0x56287a=_0x56287a-0x0;let _0x5655af=_0x359b[_0x56287a];return _0x5655af;};import{View as _0x5220e6}from'ckeditor5/src/ui';import _0x4e76f7 from'./commentthreadinputview';import _0x5196d2 from'./commentslistview';import _0x245789 from'./commentthreadheaderview';import{getTranslation as _0x40ca20}from'../../../utils/common-translations';export default class Tt extends _0x5220e6{constructor(_0x2ea49f,_0x4a3df0,_0x7905d5,_0x161d01){super(_0x2ea49f),this[_0x5655('0x3')]('isActive',!0x1),this[_0x5655('0x3')](_0x5655('0x9'),!0x1),this[_0x5655('0x1f')]=_0x4a3df0,this['_localUser']=_0x7905d5,this[_0x5655('0x15')]=_0x161d01,this[_0x5655('0x2b')]=new _0x245789(_0x2ea49f,_0x4a3df0),this[_0x5655('0x2b')][_0x5655('0x14')](_0x5655('0x0'))['to'](this),this[_0x5655('0x7')]=new _0x5196d2(_0x2ea49f,_0x4a3df0,Object[_0x5655('0x12')]({'CommentView':this['_config']['CommentView']},_0x161d01)),this[_0x5655('0x7')][_0x5655('0x14')](_0x5655('0x2c'))['to'](this),this[_0x5655('0x7')][_0x5655('0x14')](_0x5655('0x20'))['to'](this),this[_0x5655('0x7')][_0x5655('0x14')](_0x5655('0xa'))['to'](this),this[_0x5655('0x7')][_0x5655('0x14')](_0x5655('0xe'))['to'](this),this['commentsListView'][_0x5655('0x14')](_0x5655('0x5'))['to'](this),this[_0x5655('0x7')]['bind']('isActive')['to'](this),this[_0x5655('0x3')](_0x5655('0x1b'),this['commentsListView'][_0x5655('0x1b')]),this['bind'](_0x5655('0x1b'))['to'](this['commentsListView'],_0x5655('0x1b')),this[_0x5655('0x24')]=this[_0x5655('0x27')](),this[_0x5655('0x24')][_0x5655('0x14')](_0x5655('0xe'))['to'](this),this['commentThreadInputView']['delegate']('editorDestroyed')['to'](this),this['on']('removeComment',()=>this[_0x5655('0xc')]()),this['bind'](_0x5655('0x9'))['to'](this[_0x5655('0x7')],_0x5655('0x6'),this['commentThreadInputView'][_0x5655('0x22')],_0x5655('0x19'),(_0x5b6cbb,_0x43b46f)=>_0x5b6cbb||!!_0x43b46f);}['focus'](){this[_0x5655('0x13')]['focus']();}[_0x5655('0x1')](){this[_0x5655('0x9')]=!0x1,this[_0x5655('0x7')][_0x5655('0x1')](),this[_0x5655('0x24')][_0x5655('0x1')](),super[_0x5655('0x1')]();}[_0x5655('0x27')](){const _0x5c6efc=new _0x4e76f7(this[_0x5655('0x1e')],this['_localUser'],this[_0x5655('0x15')][_0x5655('0x25')]),_0x1fddfc=_0x5c6efc[_0x5655('0x22')];return _0x5c6efc[_0x5655('0x28')](_0x5655('0x29'))['to'](this,_0x5655('0x11'),this[_0x5655('0x1f')],_0x5655('0x1a'),this[_0x5655('0x1f')],'isResolved',_0x1fddfc,_0x5655('0x19'),(_0x273bff,_0x48d1e5,_0x3c5c50,_0x45ea6e)=>!!_0x45ea6e||_0x3c5c50&&!_0x48d1e5||_0x273bff&&!_0x48d1e5),_0x1fddfc['bind'](_0x5655('0x2'))['to'](this,_0x5655('0x1b'),this[_0x5655('0x1f')],_0x5655('0x16'),this[_0x5655('0x1f')],_0x5655('0x4'),(_0x4a860f,_0x375df2,_0xe3972e)=>{let _0x4bc66c;return _0x4bc66c=_0xe3972e&&_0x375df2?_0x5655('0x17'):_0x4a860f?_0x5655('0x2e'):_0x5655('0x23'),_0x40ca20(this['locale'],_0x4bc66c);}),_0x1fddfc[_0x5655('0x28')](_0x5655('0x26'))['to'](this,'length',_0x33f40f=>_0x40ca20(this[_0x5655('0x1e')],_0x33f40f?_0x5655('0xd'):_0x5655('0x1d'))),_0x1fddfc['on']('submit',(_0x383a70,_0x494373)=>{this[_0x5655('0xb')](_0x5655('0x8'),_0x494373),this[_0x5655('0x1f')][_0x5655('0x4')]&&this[_0x5655('0x1f')][_0x5655('0x16')]&&this[_0x5655('0xb')]('reopenCommentThread',this[_0x5655('0x1f')]['id']),this[_0x5655('0x1f')][_0x5655('0x18')]||this['fire'](_0x5655('0x2a'));}),_0x1fddfc['on'](_0x5655('0xf'),()=>{this['focus']();}),_0x1fddfc['bind'](_0x5655('0x2d'))['to'](this[_0x5655('0x1f')],_0x5655('0x1a')),_0x1fddfc['on']('cancel',_0x368318=>{0x0==this[_0x5655('0x1b')]&&(this[_0x5655('0xb')](_0x5655('0x1c')),_0x368318[_0x5655('0x10')]());}),this['on'](_0x5655('0x21'),(_0x113b37,_0x40f006,_0x427eb4)=>{_0x427eb4||this[_0x5655('0x1b')]||_0x1fddfc[_0x5655('0x19')]||this['fire']('removeCommentThread');}),_0x5c6efc;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x258f=['visibleView','isCollapsed','createCollection','set','value','fire','_createCommentInputView','content','editorDestroyed','bind','submitLabel','editorReady','isEditMode','_model','focus','_createCommentContentView','editorConfig','_config','submit','updateComment','collapse','once','disabledSubmit','add','switchToEditMode','expand','locale','switchToDisplayMode','isSystemComment','remove','element','delegate','destroy','maxCommentCharsWhenCollapsed'];(function(_0x4fb03d,_0x258f5f){const _0xc31e7c=function(_0xee24c5){while(--_0xee24c5){_0x4fb03d['push'](_0x4fb03d['shift']());}};_0xc31e7c(++_0x258f5f);}(_0x258f,0x78));const _0xc31e=function(_0x4fb03d,_0x258f5f){_0x4fb03d=_0x4fb03d-0x0;let _0xc31e7c=_0x258f[_0x4fb03d];return _0xc31e7c;};import{View as _0x359776}from'ckeditor5/src/ui';import{trimHtml as _0x38db97}from'ckeditor5-collaboration/src/collaboration-core';import _0x560647 from'./commentcontentview';import _0x4cb2d2 from'./commentinputview';import{getTranslation as _0x148c17}from'../../../utils/common-translations';export default class Yt extends _0x359776{constructor(_0x252524,_0x2fde34,_0x3e46a7){super(_0x252524),this[_0xc31e('0x1d')]=_0x2fde34,this[_0xc31e('0x21')]=_0x3e46a7,this[_0xc31e('0xa')]=!!this['_config'][_0xc31e('0xa')],this[_0xc31e('0x13')](_0xc31e('0x1c'),!0x1),this[_0xc31e('0x13')](_0xc31e('0x11'),!0x0),this[_0xc31e('0x10')]=this[_0xc31e('0x12')](),this[_0xc31e('0x10')][_0xc31e('0x5')](this[_0xc31e('0x1f')]());}[_0xc31e('0x7')](){this[_0xc31e('0x11')]=!0x1;}[_0xc31e('0x2')](){this[_0xc31e('0x1c')]||(this[_0xc31e('0x11')]=!0x0);}['focus'](){this[_0xc31e('0xc')][_0xc31e('0x1e')]();}async[_0xc31e('0xe')](){await this[_0xc31e('0x10')]['get'](0x0)['destroy'](),super[_0xc31e('0xe')]();}[_0xc31e('0x6')](){this['isEditMode']||(this['isEditMode']=!0x0,this[_0xc31e('0x10')][_0xc31e('0xb')](0x0)[_0xc31e('0xe')](),this[_0xc31e('0x10')][_0xc31e('0x5')](this[_0xc31e('0x16')]()));}['switchToDisplayMode'](){this[_0xc31e('0x1c')]&&(this[_0xc31e('0x1c')]=!0x1,this[_0xc31e('0x10')][_0xc31e('0xb')](0x0)[_0xc31e('0xe')](),this[_0xc31e('0x10')]['add'](this[_0xc31e('0x1f')]()));}[_0xc31e('0x1f')](){const _0x40bc26=new _0x560647(this[_0xc31e('0x8')]);return _0x40bc26[_0xc31e('0x19')](_0xc31e('0x17'))['to'](this['_model'],_0xc31e('0x17'),this,_0xc31e('0x11'),(_0x4445c2,_0xa01acf)=>_0xa01acf?_0x38db97(_0x4445c2,{'limit':this[_0xc31e('0x21')][_0xc31e('0xf')]}):_0x4445c2),_0x40bc26;}[_0xc31e('0x16')](){this[_0xc31e('0x21')][_0xc31e('0x20')]||(this[_0xc31e('0x21')][_0xc31e('0x20')]={}),this[_0xc31e('0x21')]['editorConfig']['initialData']=this[_0xc31e('0x1d')]['content'];const _0x56967e=new _0x4cb2d2(this[_0xc31e('0x8')],this['_config'][_0xc31e('0x20')]);return _0x56967e[_0xc31e('0x14')]=this[_0xc31e('0x1d')][_0xc31e('0x17')],_0x56967e[_0xc31e('0x19')](_0xc31e('0x4'))['to'](this[_0xc31e('0x1d')],'isReadOnly'),_0x56967e[_0xc31e('0x1a')]=_0x148c17(this[_0xc31e('0x8')],'Save'),_0x56967e['on'](_0xc31e('0x0'),(_0x185c70,_0x488906)=>{this[_0xc31e('0x15')](_0xc31e('0x1'),this[_0xc31e('0x1d')]['id'],_0x488906),this[_0xc31e('0x9')](),this['focus']();}),_0x56967e['on']('cancel',()=>{this[_0xc31e('0x9')](),this[_0xc31e('0x1e')]();}),_0x56967e[_0xc31e('0x3')](_0xc31e('0x1b'),()=>{_0x56967e[_0xc31e('0x1e')]();}),_0x56967e['createEditor'](),_0x56967e[_0xc31e('0xd')](_0xc31e('0x1b'))['to'](this),_0x56967e[_0xc31e('0xd')](_0xc31e('0x18'))['to'](this),_0x56967e;}}
23
+ const _0x22c2=['createEditor','content','expand','submit','isEditMode','focus','once','_createCommentInputView','updateComment','visibleView','fire','Save','destroy','isReadOnly','get','collapse','element','isSystemComment','cancel','value','createCollection','submitLabel','remove','isCollapsed','disabledSubmit','switchToDisplayMode','set','initialData','bind','editorDestroyed','maxCommentCharsWhenCollapsed','_createCommentContentView','_config','_model','delegate','add','locale','editorReady','editorConfig'];(function(_0x4511b1,_0x22c25e){const _0x4c6e58=function(_0x394376){while(--_0x394376){_0x4511b1['push'](_0x4511b1['shift']());}};_0x4c6e58(++_0x22c25e);}(_0x22c2,0x186));const _0x4c6e=function(_0x4511b1,_0x22c25e){_0x4511b1=_0x4511b1-0x0;let _0x4c6e58=_0x22c2[_0x4511b1];return _0x4c6e58;};import{View as _0x423d62}from'ckeditor5/src/ui';import{trimHtml as _0x5a655e}from'ckeditor5-collaboration/src/collaboration-core';import _0x502b3d from'./commentcontentview';import _0x1df339 from'./commentinputview';import{getTranslation as _0x81242e}from'../../../utils/common-translations';export default class Yt extends _0x423d62{constructor(_0x18a019,_0x3dd9ad,_0x40de52){super(_0x18a019),this[_0x4c6e('0x21')]=_0x3dd9ad,this['_config']=_0x40de52,this[_0x4c6e('0x11')]=!!this[_0x4c6e('0x20')][_0x4c6e('0x11')],this[_0x4c6e('0x1a')](_0x4c6e('0x4'),!0x1),this[_0x4c6e('0x1a')](_0x4c6e('0x17'),!0x0),this[_0x4c6e('0x9')]=this[_0x4c6e('0x14')](),this['visibleView'][_0x4c6e('0x23')](this[_0x4c6e('0x1f')]());}[_0x4c6e('0x2')](){this[_0x4c6e('0x17')]=!0x1;}[_0x4c6e('0xf')](){this['isEditMode']||(this[_0x4c6e('0x17')]=!0x0);}[_0x4c6e('0x5')](){this[_0x4c6e('0x10')]['focus']();}async[_0x4c6e('0xc')](){await this[_0x4c6e('0x9')][_0x4c6e('0xe')](0x0)[_0x4c6e('0xc')](),super[_0x4c6e('0xc')]();}['switchToEditMode'](){this[_0x4c6e('0x4')]||(this[_0x4c6e('0x4')]=!0x0,this[_0x4c6e('0x9')]['remove'](0x0)[_0x4c6e('0xc')](),this[_0x4c6e('0x9')][_0x4c6e('0x23')](this[_0x4c6e('0x7')]()));}[_0x4c6e('0x19')](){this[_0x4c6e('0x4')]&&(this[_0x4c6e('0x4')]=!0x1,this[_0x4c6e('0x9')][_0x4c6e('0x16')](0x0)[_0x4c6e('0xc')](),this['visibleView'][_0x4c6e('0x23')](this['_createCommentContentView']()));}[_0x4c6e('0x1f')](){const _0x4a36b2=new _0x502b3d(this[_0x4c6e('0x24')]);return _0x4a36b2[_0x4c6e('0x1c')]('content')['to'](this['_model'],'content',this,'isCollapsed',(_0x22fc7e,_0x5f3df2)=>_0x5f3df2?_0x5a655e(_0x22fc7e,{'limit':this['_config'][_0x4c6e('0x1e')]}):_0x22fc7e),_0x4a36b2;}[_0x4c6e('0x7')](){this[_0x4c6e('0x20')][_0x4c6e('0x26')]||(this[_0x4c6e('0x20')]['editorConfig']={}),this[_0x4c6e('0x20')]['editorConfig'][_0x4c6e('0x1b')]=this[_0x4c6e('0x21')][_0x4c6e('0x1')];const _0x2f3328=new _0x1df339(this[_0x4c6e('0x24')],this[_0x4c6e('0x20')][_0x4c6e('0x26')]);return _0x2f3328[_0x4c6e('0x13')]=this[_0x4c6e('0x21')][_0x4c6e('0x1')],_0x2f3328[_0x4c6e('0x1c')](_0x4c6e('0x18'))['to'](this['_model'],_0x4c6e('0xd')),_0x2f3328[_0x4c6e('0x15')]=_0x81242e(this[_0x4c6e('0x24')],_0x4c6e('0xb')),_0x2f3328['on'](_0x4c6e('0x3'),(_0x199646,_0x23b5e6)=>{this[_0x4c6e('0xa')](_0x4c6e('0x8'),this[_0x4c6e('0x21')]['id'],_0x23b5e6),this[_0x4c6e('0x19')](),this[_0x4c6e('0x5')]();}),_0x2f3328['on'](_0x4c6e('0x12'),()=>{this[_0x4c6e('0x19')](),this[_0x4c6e('0x5')]();}),_0x2f3328[_0x4c6e('0x6')](_0x4c6e('0x25'),()=>{_0x2f3328[_0x4c6e('0x5')]();}),_0x2f3328[_0x4c6e('0x0')](),_0x2f3328[_0x4c6e('0x22')]('editorReady')['to'](this),_0x2f3328[_0x4c6e('0x22')](_0x4c6e('0x1d'))['to'](this),_0x2f3328;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2117=['bindTemplate','NUMBER_OF_COMMENTS','count','setTemplate'];(function(_0x4b3211,_0x211770){const _0x59d588=function(_0x3568dd){while(--_0x3568dd){_0x4b3211['push'](_0x4b3211['shift']());}};_0x59d588(++_0x211770);}(_0x2117,0x1a0));const _0x59d5=function(_0x4b3211,_0x211770){_0x4b3211=_0x4b3211-0x0;let _0x59d588=_0x2117[_0x4b3211];return _0x59d588;};import{View as _0x3a38a3}from'ckeditor5/src/ui';import{getTranslation as _0xf7bba2}from'../../../utils/common-translations';export default class Zt extends _0x3a38a3{constructor(_0x4b4b4b){super(_0x4b4b4b);const _0x416487=this[_0x59d5('0x0')];this['set'](_0x59d5('0x2'),void 0x0),this[_0x59d5('0x3')]({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x416487['to']('count',_0x183503=>_0xf7bba2(_0x4b4b4b,_0x59d5('0x1'),_0x183503))}]});}}
23
+ const _0x2313=['NUMBER_OF_COMMENTS','set','ck-thread__comment-count','count','setTemplate'];(function(_0x2adabf,_0x231310){const _0x45b742=function(_0x3f67cd){while(--_0x3f67cd){_0x2adabf['push'](_0x2adabf['shift']());}};_0x45b742(++_0x231310);}(_0x2313,0x118));const _0x45b7=function(_0x2adabf,_0x231310){_0x2adabf=_0x2adabf-0x0;let _0x45b742=_0x2313[_0x2adabf];return _0x45b742;};import{View as _0x1d8caa}from'ckeditor5/src/ui';import{getTranslation as _0x565fb6}from'../../../utils/common-translations';export default class Zt extends _0x1d8caa{constructor(_0x5627ca){super(_0x5627ca);const _0x5b961b=this['bindTemplate'];this[_0x45b7('0x1')](_0x45b7('0x3'),void 0x0),this[_0x45b7('0x4')]({'tag':'li','attributes':{'class':_0x45b7('0x2')},'children':[{'text':_0x5b961b['to'](_0x45b7('0x3'),_0x208fff=>_0x565fb6(_0x5627ca,_0x45b7('0x0'),_0x208fff))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3a4d=['setTemplate','change:content','ck-comment__content','innerHTML','set','ck-annotation__content','render','content','element'];(function(_0x36fdad,_0x3a4d20){var _0x377626=function(_0x43ef4b){while(--_0x43ef4b){_0x36fdad['push'](_0x36fdad['shift']());}};_0x377626(++_0x3a4d20);}(_0x3a4d,0x14b));var _0x3776=function(_0x36fdad,_0x3a4d20){_0x36fdad=_0x36fdad-0x0;var _0x377626=_0x3a4d[_0x36fdad];return _0x377626;};import{View as _0x423110}from'ckeditor5/src/ui';export default class Ut extends _0x423110{constructor(_0x52d4d1){super(_0x52d4d1),this[_0x3776('0x6')](_0x3776('0x0'),''),this[_0x3776('0x2')]({'tag':'div','attributes':{'class':[_0x3776('0x4'),_0x3776('0x7')]}});}[_0x3776('0x8')](){super[_0x3776('0x8')](),this['on'](_0x3776('0x3'),(_0x2f6b3c,_0x4f4bf0,_0x36fff0)=>{this['element']['innerHTML']=_0x36fff0;}),this[_0x3776('0x1')][_0x3776('0x5')]=this[_0x3776('0x0')];}}
23
+ var _0x2486=['setTemplate','content','ck-annotation__content','render','ck-comment__content','element','set','div','change:content','innerHTML'];(function(_0x3e2e9a,_0x2486db){var _0x2afdaa=function(_0x3dddcc){while(--_0x3dddcc){_0x3e2e9a['push'](_0x3e2e9a['shift']());}};_0x2afdaa(++_0x2486db);}(_0x2486,0x169));var _0x2afd=function(_0x3e2e9a,_0x2486db){_0x3e2e9a=_0x3e2e9a-0x0;var _0x2afdaa=_0x2486[_0x3e2e9a];return _0x2afdaa;};import{View as _0x507c27}from'ckeditor5/src/ui';export default class Ut extends _0x507c27{constructor(_0x2bd6f2){super(_0x2bd6f2),this[_0x2afd('0x5')](_0x2afd('0x0'),''),this[_0x2afd('0x9')]({'tag':_0x2afd('0x6'),'attributes':{'class':[_0x2afd('0x3'),_0x2afd('0x1')]}});}[_0x2afd('0x2')](){super[_0x2afd('0x2')](),this['on'](_0x2afd('0x7'),(_0xde5968,_0x176448,_0x283a0c)=>{this[_0x2afd('0x4')][_0x2afd('0x8')]=_0x283a0c;}),this[_0x2afd('0x4')]['innerHTML']=this['content'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5cb0=['focusTracker','_initializeFocusCycling','execute','placeholder','submit','_createCancelButton','cancel','low','view','focusPrevious','editorDestroyed','extendTemplate','high','showButtons','createEditor','ck-comment__input-actions--cancel','initialData','getData','_createSubmitButton','render','Esc','fire','then','document','label','cancelButtonView','listenTo','setData','submitLabel','value','tab','change','_editorConfig','keystrokes','ck-comment__input-actions--submit','model','withText','ck-comment__input-actions--active','disabledSubmit','ck-comment__input-wrapper','bind','div','submitButtonView','focusNext','Cancel','Reply...','set','isEnabled','length','ck-comment__input-actions','_isDestroyed','editorReady','element','editor','destroy','insertBefore','add','Reply'];(function(_0x1ed7bc,_0x5cb08a){const _0x416a3f=function(_0x183091){while(--_0x183091){_0x1ed7bc['push'](_0x1ed7bc['shift']());}};_0x416a3f(++_0x5cb08a);}(_0x5cb0,0xe5));const _0x416a=function(_0x1ed7bc,_0x5cb08a){_0x1ed7bc=_0x1ed7bc-0x0;let _0x416a3f=_0x5cb0[_0x1ed7bc];return _0x416a3f;};import{View as _0x368637,ViewCollection as _0x11fc92,FocusCycler as _0x27bd1a,ButtonView as _0x579190}from'ckeditor5/src/ui';import{FocusTracker as _0x5db10c,KeystrokeHandler as _0x241c2e}from'ckeditor5/src/utils';import _0x35e95a from'../commenteditor/commenteditor';import{getTranslation as _0x5cb629}from'../../../utils/common-translations';export default class Xt extends _0x368637{constructor(_0x3dfd9e,_0x20e2b1={}){super(_0x3dfd9e),this[_0x416a('0x38')]=null,this['_editorConfig']=_0x20e2b1,this[_0x416a('0x24')]=new _0x241c2e(),this[_0x416a('0x3')]=new _0x5db10c(),this['set']('value',_0x20e2b1[_0x416a('0x13')]||''),this[_0x416a('0x31')](_0x416a('0x29'),!0x1),this[_0x416a('0x31')](_0x416a('0x10'),!0x0),this[_0x416a('0x31')](_0x416a('0x6'),_0x5cb629(_0x3dfd9e,_0x416a('0x30'))),this['set'](_0x416a('0x1f'),_0x5cb629(_0x3dfd9e,_0x416a('0x2'))),this[_0x416a('0x2d')]=this[_0x416a('0x15')](),this[_0x416a('0x1c')]=this['_createCancelButton'](),this['setTemplate']({'tag':_0x416a('0x2c'),'attributes':{'class':[_0x416a('0x2a')]},'children':[{'tag':_0x416a('0x2c'),'attributes':{'class':[_0x416a('0x34'),this['bindTemplate']['if']('showButtons',_0x416a('0x28'))]},'children':[this[_0x416a('0x2d')],this['cancelButtonView']]}]}),this[_0x416a('0x24')]['set'](_0x416a('0x17'),(_0x4e992b,_0x4e5130)=>{this[_0x416a('0x1c')][_0x416a('0x18')](_0x416a('0x5')),_0x4e5130();}),this['on'](_0x416a('0x7'),(_0xaf500c,_0x130690)=>{_0x130690[_0x416a('0x33')]>0xfde8?(alert(_0x5cb629(_0x3dfd9e,'TOO_LONG_COMMENT_ALERT',[_0x130690[_0x416a('0x33')],0xfde8])),_0xaf500c['stop']()):this['editor'][_0x416a('0x1e')]('');},{'priority':_0x416a('0xf')});}[_0x416a('0x16')](){super[_0x416a('0x16')](),this[_0x416a('0x24')][_0x416a('0x1d')](this[_0x416a('0x37')]),this[_0x416a('0x3')][_0x416a('0x1')](this[_0x416a('0x37')]);}[_0x416a('0x11')](){return this[_0x416a('0x38')]||(this[_0x416a('0x38')]=new _0x35e95a(this[_0x416a('0x23')]),this['_editorCreationPromise']=this[_0x416a('0x38')]['create']()[_0x416a('0x19')](()=>{if(this[_0x416a('0x35')])return;const _0x2c8b41=this[_0x416a('0x38')];this[_0x416a('0x37')][_0x416a('0x0')](_0x2c8b41['ui'][_0x416a('0x37')],this[_0x416a('0x37')]['firstChild']),_0x2c8b41[_0x416a('0x26')][_0x416a('0x1a')]['on'](_0x416a('0x22'),()=>this[_0x416a('0x20')]=_0x2c8b41[_0x416a('0x14')]()),_0x2c8b41[_0x416a('0x2b')]('placeholder')['to'](this),this[_0x416a('0x4')](this[_0x416a('0x38')]),this[_0x416a('0x18')](_0x416a('0x36'),this[_0x416a('0x38')]);})),this['_editorCreationPromise'];}['focus'](){this['editor']&&this[_0x416a('0x38')]['focus']();}async['destroy'](){this[_0x416a('0x35')]||(this[_0x416a('0x35')]=!0x0,this['editor']&&(await this['_editorCreationPromise'],await this[_0x416a('0x38')][_0x416a('0x39')](),this[_0x416a('0x18')](_0x416a('0xd'),this[_0x416a('0x38')])),await super['destroy']());}['_createSubmitButton'](){const {locale:_0x26512c}=this,_0x34c0bf=new _0x579190(_0x26512c);return _0x34c0bf[_0x416a('0xe')]({'attributes':{'class':[_0x416a('0x25')]}}),_0x34c0bf['withText']=!0x0,_0x34c0bf[_0x416a('0x2b')](_0x416a('0x1b'))['to'](this,'submitLabel'),_0x34c0bf['on'](_0x416a('0x5'),()=>{this[_0x416a('0x18')](_0x416a('0x7'),this[_0x416a('0x20')]);}),_0x34c0bf[_0x416a('0x2b')](_0x416a('0x32'))['to'](this,_0x416a('0x20'),this,'disabledSubmit',(_0x4fe543,_0x5302eb)=>!_0x5302eb&&!!_0x4fe543['trim']()),_0x34c0bf;}[_0x416a('0x8')](){const {locale:_0x2d5fcc}=this,_0x83fe09=new _0x579190(_0x2d5fcc);return _0x83fe09[_0x416a('0xe')]({'attributes':{'class':[_0x416a('0x12')]}}),_0x83fe09[_0x416a('0x1b')]=_0x5cb629(_0x2d5fcc,_0x416a('0x2f')),_0x83fe09[_0x416a('0x27')]=!0x0,_0x83fe09['on']('execute',()=>{this[_0x416a('0x38')]['setData'](''),this[_0x416a('0x18')](_0x416a('0x9'));}),_0x83fe09;}[_0x416a('0x4')](_0x565c5a){const _0x4b80b0=this[_0x416a('0x3')],_0x3a8207=new _0x11fc92();[_0x565c5a['ui'][_0x416a('0xb')],this[_0x416a('0x2d')],this['cancelButtonView']]['forEach'](_0x2cf707=>{_0x3a8207[_0x416a('0x1')](_0x2cf707),_0x4b80b0['add'](_0x2cf707[_0x416a('0x37')]);});const _0x4226e9=new _0x27bd1a({'focusables':_0x3a8207,'focusTracker':_0x4b80b0});this[_0x416a('0x24')][_0x416a('0x31')](_0x416a('0x21'),(_0x3bc6b4,_0x20209b)=>{_0x4226e9[_0x416a('0x2e')](),_0x20209b();},{'priority':_0x416a('0xa')}),this[_0x416a('0x24')][_0x416a('0x31')]('shift\x20+\x20tab',(_0x2c184a,_0x489ecb)=>{_0x4226e9[_0x416a('0xc')](),_0x489ecb();},{'priority':_0x416a('0xa')});}}
23
+ const _0x2b13=['getData','disabledSubmit','cancelButtonView','change','editorDestroyed','_isDestroyed','shift\x20+\x20tab','create','focusPrevious','Reply','destroy','ck-comment__input-actions--cancel','setData','fire','Cancel','element','placeholder','focusNext','extendTemplate','label','_editorCreationPromise','insertBefore','keystrokes','editor','setTemplate','low','_createCancelButton','stop','initialData','bind','firstChild','ck-comment__input-wrapper','value','cancel','focusTracker','_createSubmitButton','ck-comment__input-actions','Reply...','view','_initializeFocusCycling','_editorConfig','TOO_LONG_COMMENT_ALERT','withText','tab','length','createEditor','showButtons','ck-comment__input-actions--submit','div','focus','model','submitButtonView','bindTemplate','set','execute','submitLabel','forEach','add','submit'];(function(_0x44a5b2,_0x2b13e0){const _0x220a42=function(_0x3bde7b){while(--_0x3bde7b){_0x44a5b2['push'](_0x44a5b2['shift']());}};_0x220a42(++_0x2b13e0);}(_0x2b13,0x184));const _0x220a=function(_0x44a5b2,_0x2b13e0){_0x44a5b2=_0x44a5b2-0x0;let _0x220a42=_0x2b13[_0x44a5b2];return _0x220a42;};import{View as _0x1390bb,ViewCollection as _0x3479a6,FocusCycler as _0x44531d,ButtonView as _0x1b9f7c}from'ckeditor5/src/ui';import{FocusTracker as _0x3cb5c5,KeystrokeHandler as _0x1ec1d9}from'ckeditor5/src/utils';import _0x137df9 from'../commenteditor/commenteditor';import{getTranslation as _0x4c407a}from'../../../utils/common-translations';export default class Xt extends _0x1390bb{constructor(_0x175899,_0x35ec90={}){super(_0x175899),this['editor']=null,this['_editorConfig']=_0x35ec90,this[_0x220a('0x2f')]=new _0x1ec1d9(),this[_0x220a('0x0')]=new _0x3cb5c5(),this[_0x220a('0x13')](_0x220a('0x39'),_0x35ec90[_0x220a('0x35')]||''),this[_0x220a('0x13')](_0x220a('0x1a'),!0x1),this['set']('showButtons',!0x0),this[_0x220a('0x13')](_0x220a('0x29'),_0x4c407a(_0x175899,_0x220a('0x3'))),this['set'](_0x220a('0x15'),_0x4c407a(_0x175899,_0x220a('0x22'))),this[_0x220a('0x11')]=this[_0x220a('0x1')](),this[_0x220a('0x1b')]=this['_createCancelButton'](),this[_0x220a('0x31')]({'tag':_0x220a('0xe'),'attributes':{'class':[_0x220a('0x38')]},'children':[{'tag':_0x220a('0xe'),'attributes':{'class':[_0x220a('0x2'),this[_0x220a('0x12')]['if'](_0x220a('0xc'),'ck-comment__input-actions--active')]},'children':[this[_0x220a('0x11')],this[_0x220a('0x1b')]]}]}),this['keystrokes'][_0x220a('0x13')]('Esc',(_0x27424d,_0x25a1be)=>{this['cancelButtonView'][_0x220a('0x26')](_0x220a('0x14')),_0x25a1be();}),this['on'](_0x220a('0x18'),(_0x310003,_0x3d9488)=>{_0x3d9488[_0x220a('0xa')]>0xfde8?(alert(_0x4c407a(_0x175899,_0x220a('0x7'),[_0x3d9488[_0x220a('0xa')],0xfde8])),_0x310003[_0x220a('0x34')]()):this[_0x220a('0x30')][_0x220a('0x25')]('');},{'priority':'high'});}['render'](){super['render'](),this[_0x220a('0x2f')]['listenTo'](this[_0x220a('0x28')]),this[_0x220a('0x0')][_0x220a('0x17')](this[_0x220a('0x28')]);}[_0x220a('0xb')](){return this['editor']||(this[_0x220a('0x30')]=new _0x137df9(this[_0x220a('0x6')]),this['_editorCreationPromise']=this[_0x220a('0x30')][_0x220a('0x20')]()['then'](()=>{if(this[_0x220a('0x1e')])return;const _0xd6bd50=this[_0x220a('0x30')];this[_0x220a('0x28')][_0x220a('0x2e')](_0xd6bd50['ui']['element'],this[_0x220a('0x28')][_0x220a('0x37')]),_0xd6bd50[_0x220a('0x10')]['document']['on'](_0x220a('0x1c'),()=>this[_0x220a('0x39')]=_0xd6bd50[_0x220a('0x19')]()),_0xd6bd50['bind']('placeholder')['to'](this),this[_0x220a('0x5')](this['editor']),this[_0x220a('0x26')]('editorReady',this[_0x220a('0x30')]);})),this['_editorCreationPromise'];}[_0x220a('0xf')](){this[_0x220a('0x30')]&&this[_0x220a('0x30')][_0x220a('0xf')]();}async['destroy'](){this['_isDestroyed']||(this[_0x220a('0x1e')]=!0x0,this['editor']&&(await this[_0x220a('0x2d')],await this[_0x220a('0x30')]['destroy'](),this['fire'](_0x220a('0x1d'),this[_0x220a('0x30')])),await super[_0x220a('0x23')]());}[_0x220a('0x1')](){const {locale:_0x361ebc}=this,_0x104763=new _0x1b9f7c(_0x361ebc);return _0x104763[_0x220a('0x2b')]({'attributes':{'class':[_0x220a('0xd')]}}),_0x104763[_0x220a('0x8')]=!0x0,_0x104763[_0x220a('0x36')]('label')['to'](this,_0x220a('0x15')),_0x104763['on'](_0x220a('0x14'),()=>{this[_0x220a('0x26')](_0x220a('0x18'),this['value']);}),_0x104763[_0x220a('0x36')]('isEnabled')['to'](this,_0x220a('0x39'),this,_0x220a('0x1a'),(_0x731515,_0x2add3b)=>!_0x2add3b&&!!_0x731515['trim']()),_0x104763;}[_0x220a('0x33')](){const {locale:_0x3f83dd}=this,_0x29aede=new _0x1b9f7c(_0x3f83dd);return _0x29aede[_0x220a('0x2b')]({'attributes':{'class':[_0x220a('0x24')]}}),_0x29aede[_0x220a('0x2c')]=_0x4c407a(_0x3f83dd,_0x220a('0x27')),_0x29aede[_0x220a('0x8')]=!0x0,_0x29aede['on'](_0x220a('0x14'),()=>{this['editor']['setData'](''),this[_0x220a('0x26')](_0x220a('0x3a'));}),_0x29aede;}[_0x220a('0x5')](_0x54ac50){const _0x36aa41=this['focusTracker'],_0x2e11fd=new _0x3479a6();[_0x54ac50['ui'][_0x220a('0x4')],this[_0x220a('0x11')],this[_0x220a('0x1b')]][_0x220a('0x16')](_0x2ea6ca=>{_0x2e11fd[_0x220a('0x17')](_0x2ea6ca),_0x36aa41[_0x220a('0x17')](_0x2ea6ca['element']);});const _0x193daa=new _0x44531d({'focusables':_0x2e11fd,'focusTracker':_0x36aa41});this[_0x220a('0x2f')][_0x220a('0x13')](_0x220a('0x9'),(_0x36f8e0,_0x1fe1a2)=>{_0x193daa[_0x220a('0x2a')](),_0x1fe1a2();},{'priority':_0x220a('0x32')}),this['keystrokes'][_0x220a('0x13')](_0x220a('0x1f'),(_0x3df78d,_0x272bf5)=>{_0x193daa[_0x220a('0x21')](),_0x272bf5();},{'priority':_0x220a('0x32')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x159e=['arrowup','set','destroy','COMMENTS_ARCHIVE','_focusTracker','selectstart','stopPropagation','element','high','length','shift\x20+\x20tab','bindTemplate','auto','_keystrokes','div','ck-comments-archive__header\x20','isActive','listenTo','render','arrowleft','focus','add','_focusables','ck-comments-archive__info','ck-hidden','_focusCycler','isEmpty','tab'];(function(_0x208b62,_0x159e36){const _0x298a3d=function(_0x5c81b9){while(--_0x5c81b9){_0x208b62['push'](_0x208b62['shift']());}};_0x298a3d(++_0x159e36);}(_0x159e,0xec));const _0x298a=function(_0x208b62,_0x159e36){_0x208b62=_0x208b62-0x0;let _0x298a3d=_0x159e[_0x208b62];return _0x298a3d;};import{View as _0x4ea8c1,FocusCycler as _0x3cfec1}from'ckeditor5/src/ui';import{FocusTracker as _0x3423ec,KeystrokeHandler as _0x5cae46}from'ckeditor5/src/utils';import{getTranslation as _0x1e0304}from'../../../utils/common-translations';export default class K extends _0x4ea8c1{constructor(_0x4ba033,_0x154b49){super(_0x4ba033),this[_0x298a('0x11')]('isEmpty',!_0x154b49['length']),this[_0x298a('0x14')]=new _0x3423ec(),this[_0x298a('0x1')]=new _0x5cae46(),this[_0x298a('0xa')]=_0x154b49,this[_0x298a('0xd')]=new _0x3cfec1({'focusables':this[_0x298a('0xa')],'focusTracker':this[_0x298a('0x14')],'keystrokeHandler':this[_0x298a('0x1')],'actions':{'focusPrevious':_0x298a('0x1a'),'focusNext':_0x298a('0xf')}}),this['listenTo'](_0x154b49,_0x298a('0x9'),()=>{this[_0x298a('0xe')]=!0x1;}),this[_0x298a('0x5')](_0x154b49,'remove',(_0x14365b,_0x17f8b6)=>{_0x17f8b6[_0x298a('0x4')]&&this[_0x298a('0x8')](),_0x154b49[_0x298a('0x19')]||(this[_0x298a('0xe')]=!0x0);});const _0x3de028=this[_0x298a('0x1b')];this['setTemplate']({'tag':_0x298a('0x2'),'attributes':{'dir':_0x298a('0x0'),'class':['ck','ck-comments-archive'],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x298a('0x3')]},'children':[{'text':_0x1e0304(_0x4ba033,_0x298a('0x13'))}]},{'tag':_0x298a('0x2'),'attributes':{'class':['ck-comments-archive__content']},'children':[{'tag':_0x298a('0x2'),'children':_0x154b49},{'tag':'p','attributes':{'class':[_0x298a('0xb'),_0x3de028['if'](_0x298a('0xe'),_0x298a('0xc'),_0x58eb0d=>!_0x58eb0d)]},'children':[{'text':_0x1e0304(_0x4ba033,'EMPTY_COMMENTS_ARCHIVE')}]}]}]});}[_0x298a('0x6')](){super[_0x298a('0x6')](),this[_0x298a('0x1')][_0x298a('0x5')](this[_0x298a('0x17')]);const _0x4ec8db=_0x35b857=>_0x35b857[_0x298a('0x16')]();this[_0x298a('0x1')][_0x298a('0x11')]('arrowright',_0x4ec8db),this[_0x298a('0x1')][_0x298a('0x11')](_0x298a('0x7'),_0x4ec8db),this[_0x298a('0x1')][_0x298a('0x11')](_0x298a('0x10'),_0x4ec8db),this['_keystrokes'][_0x298a('0x11')]('arrowdown',_0x4ec8db),this[_0x298a('0x5')](this[_0x298a('0x17')],_0x298a('0x15'),(_0x58f3da,_0xb776e6)=>{_0xb776e6[_0x298a('0x16')]();},{'priority':_0x298a('0x18')});}[_0x298a('0x12')](){super[_0x298a('0x12')](),this[_0x298a('0x14')][_0x298a('0x12')](),this['_keystrokes'][_0x298a('0x12')]();}[_0x298a('0x8')](){this[_0x298a('0x17')][_0x298a('0x8')]();}}
23
+ const _0x28aa=['stopPropagation','element','arrowright','ck-comments-archive__header\x20','set','EMPTY_COMMENTS_ARCHIVE','ck-hidden','ck-comments-archive__info','render','_focusables','div','focus','length','_focusTracker','tab','_focusCycler','listenTo','ck-comments-archive__content','selectstart','arrowleft','_keystrokes','ck-comments-archive','bindTemplate','destroy','isEmpty','arrowdown','high','arrowup','remove','COMMENTS_ARCHIVE'];(function(_0x2b3468,_0x28aa7f){const _0x2e1d74=function(_0x15b644){while(--_0x15b644){_0x2b3468['push'](_0x2b3468['shift']());}};_0x2e1d74(++_0x28aa7f);}(_0x28aa,0x119));const _0x2e1d=function(_0x2b3468,_0x28aa7f){_0x2b3468=_0x2b3468-0x0;let _0x2e1d74=_0x28aa[_0x2b3468];return _0x2e1d74;};import{View as _0x577c7a,FocusCycler as _0x576eaa}from'ckeditor5/src/ui';import{FocusTracker as _0x4ced03,KeystrokeHandler as _0x1fd72e}from'ckeditor5/src/utils';import{getTranslation as _0x5e6ffa}from'../../../utils/common-translations';export default class K extends _0x577c7a{constructor(_0x215f5a,_0x2b828c){super(_0x215f5a),this[_0x2e1d('0x17')](_0x2e1d('0xd'),!_0x2b828c[_0x2e1d('0x1')]),this[_0x2e1d('0x2')]=new _0x4ced03(),this['_keystrokes']=new _0x1fd72e(),this[_0x2e1d('0x1c')]=_0x2b828c,this[_0x2e1d('0x4')]=new _0x576eaa({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this[_0x2e1d('0x9')],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':_0x2e1d('0x3')}}),this['listenTo'](_0x2b828c,'add',()=>{this[_0x2e1d('0xd')]=!0x1;}),this[_0x2e1d('0x5')](_0x2b828c,_0x2e1d('0x11'),(_0x515967,_0x333032)=>{_0x333032['isActive']&&this[_0x2e1d('0x0')](),_0x2b828c[_0x2e1d('0x1')]||(this[_0x2e1d('0xd')]=!0x0);});const _0x5839aa=this[_0x2e1d('0xb')];this['setTemplate']({'tag':'div','attributes':{'dir':'auto','class':['ck',_0x2e1d('0xa')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x2e1d('0x16')]},'children':[{'text':_0x5e6ffa(_0x215f5a,_0x2e1d('0x12'))}]},{'tag':'div','attributes':{'class':[_0x2e1d('0x6')]},'children':[{'tag':_0x2e1d('0x1d'),'children':_0x2b828c},{'tag':'p','attributes':{'class':[_0x2e1d('0x1a'),_0x5839aa['if']('isEmpty',_0x2e1d('0x19'),_0x2f7ac1=>!_0x2f7ac1)]},'children':[{'text':_0x5e6ffa(_0x215f5a,_0x2e1d('0x18'))}]}]}]});}['render'](){super[_0x2e1d('0x1b')](),this[_0x2e1d('0x9')]['listenTo'](this['element']);const _0x357c94=_0x1c1175=>_0x1c1175[_0x2e1d('0x13')]();this[_0x2e1d('0x9')][_0x2e1d('0x17')](_0x2e1d('0x15'),_0x357c94),this[_0x2e1d('0x9')]['set'](_0x2e1d('0x8'),_0x357c94),this[_0x2e1d('0x9')]['set'](_0x2e1d('0x10'),_0x357c94),this[_0x2e1d('0x9')]['set'](_0x2e1d('0xe'),_0x357c94),this[_0x2e1d('0x5')](this[_0x2e1d('0x14')],_0x2e1d('0x7'),(_0x18b7ae,_0x270bd4)=>{_0x270bd4['stopPropagation']();},{'priority':_0x2e1d('0xf')});}['destroy'](){super[_0x2e1d('0xc')](),this['_focusTracker'][_0x2e1d('0xc')](),this[_0x2e1d('0x9')]['destroy']();}[_0x2e1d('0x0')](){this[_0x2e1d('0x14')][_0x2e1d('0x0')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x118e=['bind','some','_config','commentViews','resolvedBy','_model','_handleInfoComment','add','listenTo','element','createCollection','remove','hasDirtyComment','_calculatePosition','authoredAt','_findOptimalIndex','comments','change:isEditMode','resolvedCommentView','ck-thread__comments','visibleViews','set','CommentView','insert','count','updateComment','change:hasDirtyComment','viewUid','refreshVisibleViews','change:isActive','length','_updateHasDirtyComment','editorReady','formatDateTime','get','isActive','delegate','editorConfig','stopListening','_rearrangeCollapse','resolvedAt','render','weight','destroy','expand','_collapsedCommentsView','editorDestroyed','setTemplate','resolveCommentThread','equal','_shouldCollapse','from','Marked\x20as\x20resolved','_handleRemoveCommentModel','_handleNewCommentModel','isEditMode','_rearrangeExpand','maxThreadTotalWeight','maxCommentCharsWhenCollapsed','focus'];(function(_0x2d80cd,_0x118ea1){const _0x1727a3=function(_0x2beefc){while(--_0x2beefc){_0x2d80cd['push'](_0x2d80cd['shift']());}};_0x1727a3(++_0x118ea1);}(_0x118e,0x123));const _0x1727=function(_0x2d80cd,_0x118ea1){_0x2d80cd=_0x2d80cd-0x0;let _0x1727a3=_0x118e[_0x2d80cd];return _0x1727a3;};import{View as _0x236643}from'ckeditor5/src/ui';import{diff as _0x7ce30,Collection as _0x5d95e9}from'ckeditor5/src/utils';import{getTranslation as _0x580028}from'../../../utils/common-translations';import _0xf16333 from'./collapsedcommentsview';export default class wt extends _0x236643{constructor(_0x45e024,_0x49f44b,_0x4fa26c){super(_0x45e024),this[_0x1727('0x1e')](_0x1727('0x15'),!0x1),this[_0x1727('0x1e')](_0x1727('0x27'),_0x49f44b[_0x1727('0x19')]['length']),this[_0x1727('0x1e')](_0x1727('0x2c'),!0x1),this[_0x1727('0xe')]=_0x49f44b,this[_0x1727('0xb')]=_0x4fa26c,this['commentViews']=this[_0x1727('0x13')](),this[_0x1727('0x1d')]=this[_0x1727('0x13')](),this[_0x1727('0x1b')]=null,this[_0x1727('0x36')]=new _0xf16333(_0x45e024),this[_0x1727('0x36')][_0x1727('0x9')]('count')['to'](this,_0x1727('0x27'),_0x566b4d=>_0x566b4d-this[_0x1727('0xb')]['maxCommentsWhenCollapsed']);for(const _0x557a48 of _0x49f44b['comments'])this[_0x1727('0x3')](_0x557a48);this[_0x1727('0xf')](),this[_0x1727('0x11')](_0x49f44b[_0x1727('0x19')],_0x1727('0x10'),(_0x248657,_0x5b0103)=>{const _0x44247b=this['_calculatePosition'](_0x5b0103);this['length']++,this['_handleNewCommentModel'](_0x5b0103,_0x44247b),this[_0x1727('0x25')]();}),this['listenTo'](_0x49f44b[_0x1727('0x19')],_0x1727('0x14'),(_0x518ad6,_0x50ee0d)=>{this[_0x1727('0x27')]--,this['_handleRemoveCommentModel'](_0x50ee0d),this[_0x1727('0x25')]();}),this[_0x1727('0x11')](_0x49f44b,'commentUpdated',()=>this[_0x1727('0x25')]()),this[_0x1727('0x11')](_0x49f44b,'change:isResolved',()=>this[_0x1727('0xf')]()),this['on'](_0x1727('0x26'),()=>this[_0x1727('0x25')]()),this['on'](_0x1727('0x23'),()=>this[_0x1727('0x25')]()),this[_0x1727('0x38')]({'tag':'ul','attributes':{'class':[_0x1727('0x1c')]},'children':this['visibleViews']});}get[_0x1727('0x3b')](){return this[_0x1727('0xe')][_0x1727('0x33')]>this[_0x1727('0xb')][_0x1727('0x6')]&&!this[_0x1727('0x2c')]&&!this['hasDirtyComment'];}[_0x1727('0x32')](){super[_0x1727('0x32')](),this['refreshVisibleViews']();}[_0x1727('0x8')](){this[_0x1727('0x12')][_0x1727('0x8')]();}[_0x1727('0x34')](){this[_0x1727('0x36')][_0x1727('0x34')]();for(const _0x1867b4 of this[_0x1727('0xc')])_0x1867b4['destroy']();super[_0x1727('0x34')]();}[_0x1727('0x25')](){this[_0x1727('0x3b')]?this[_0x1727('0x30')]():this[_0x1727('0x5')]();}['_handleNewCommentModel'](_0x3d7d84,_0x43d874){const _0x14eb74=new this[(_0x1727('0xb'))][(_0x1727('0x1f'))](this['locale'],_0x3d7d84,{'maxCommentCharsWhenCollapsed':this[_0x1727('0xb')][_0x1727('0x7')],'formatDateTime':this[_0x1727('0xb')][_0x1727('0x2a')],'editorConfig':this['_config']['editorConfig']});_0x14eb74[_0x1727('0x24')]=_0x3d7d84['id'],_0x14eb74[_0x1727('0x2d')]('removeComment')['to'](this),_0x14eb74[_0x1727('0x2d')](_0x1727('0x22'))['to'](this),_0x14eb74['delegate'](_0x1727('0x39'))['to'](this),_0x14eb74[_0x1727('0x2d')](_0x1727('0x29'))['to'](this),_0x14eb74['delegate'](_0x1727('0x37'))['to'](this),this[_0x1727('0x11')](_0x14eb74,_0x1727('0x1a'),()=>this['_updateHasDirtyComment']()),this['commentViews'][_0x1727('0x10')](_0x14eb74,_0x43d874);}[_0x1727('0x16')](_0x1ccf65){const _0xc01e9d=this['_model']['_findOptimalIndex'](_0x1ccf65);return this[_0x1727('0x1b')]?this[_0x1727('0x1b')][_0x1727('0x17')]>_0x1ccf65['authoredAt']?_0xc01e9d-0x1:_0xc01e9d:_0xc01e9d-0x1;}[_0x1727('0xf')](){if(this[_0x1727('0xe')]['resolvedBy']&&this['_model'][_0x1727('0x31')]){const _0x43f019={'id':'resolved','author':this[_0x1727('0xe')][_0x1727('0xd')],'authoredAt':this[_0x1727('0xe')][_0x1727('0x31')],'content':_0x580028(this['locale'],_0x1727('0x1')),'attributes':{}};this[_0x1727('0x1b')]=new this[(_0x1727('0xb'))]['CommentView'](this['locale'],_0x43f019,{'maxCommentCharsWhenCollapsed':this[_0x1727('0xb')][_0x1727('0x7')],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this[_0x1727('0xb')][_0x1727('0x2e')],'isSystemComment':!0x0}),this[_0x1727('0xc')][_0x1727('0x10')](this[_0x1727('0x1b')],this[_0x1727('0xe')][_0x1727('0x18')](_0x43f019));}else this[_0x1727('0x1b')]&&(this[_0x1727('0xc')]['remove'](this[_0x1727('0x1b')]),this['resolvedCommentView']['destroy'](),this['resolvedCommentView']=null);this[_0x1727('0x25')]();}[_0x1727('0x2')](_0x686c6){const _0xf46de5=this[_0x1727('0xc')][_0x1727('0x14')](_0x686c6['id']);this[_0x1727('0x2f')](_0xf46de5),_0xf46de5[_0x1727('0x4')]&&this[_0x1727('0x28')](),_0xf46de5[_0x1727('0x34')]();}['_updateHasDirtyComment'](){this[_0x1727('0x15')]=Array[_0x1727('0x0')](this[_0x1727('0xc')])[_0x1727('0xa')](_0x435e40=>_0x435e40[_0x1727('0x4')]);}['_rearrangeCollapse'](){const _0x3a1c59=function(_0x2a861e){const _0x2f1f3d=new _0x5d95e9();for(const _0x5c4760 of _0x2a861e)_0x2f1f3d[_0x1727('0x10')](_0x5c4760);return _0x2f1f3d;}(this[_0x1727('0xc')]),_0x47af90=this[_0x1727('0x36')][_0x1727('0x21')];for(let _0x39eaa0=0x1;_0x39eaa0<=_0x47af90;_0x39eaa0++)_0x3a1c59[_0x1727('0x14')](0x1);for(const _0x54159a of _0x3a1c59)_0x54159a['collapse']();_0x47af90>0x0&&_0x3a1c59[_0x1727('0x10')](this[_0x1727('0x36')],0x1),ss(_0x7ce30(Array[_0x1727('0x0')](this[_0x1727('0x1d')]),Array[_0x1727('0x0')](_0x3a1c59)),this['visibleViews'],_0x3a1c59);}['_rearrangeExpand'](){ss(_0x7ce30(Array[_0x1727('0x0')](this['visibleViews']),Array[_0x1727('0x0')](this[_0x1727('0xc')])),this[_0x1727('0x1d')],this[_0x1727('0xc')]);for(const _0xbc79ba of this['visibleViews'])_0xbc79ba[_0x1727('0x35')]();}}function ss(_0x52b806,_0xcf4d40,_0x137141){let _0x57e214=0x0;for(const _0x5e22bd of _0x52b806)switch(_0x5e22bd){case _0x1727('0x20'):_0xcf4d40[_0x1727('0x10')](_0x137141[_0x1727('0x2b')](_0x57e214),_0x57e214),_0x57e214++;break;case'delete':_0xcf4d40[_0x1727('0x14')](_0x57e214);break;case _0x1727('0x3a'):_0x57e214++;}}
23
+ const _0xfa38=['set','setTemplate','expand','bind','comments','visibleViews','resolvedBy','_config','_model','resolveCommentThread','_calculatePosition','remove','from','delegate','formatDateTime','_collapsedCommentsView','isActive','delete','_findOptimalIndex','resolvedAt','CommentView','element','equal','length','locale','some','_shouldCollapse','change:isEditMode','stopListening','removeComment','ck-thread__comments','_updateHasDirtyComment','add','change:hasDirtyComment','change:isResolved','resolvedCommentView','isEditMode','hasDirtyComment','refreshVisibleViews','createCollection','maxCommentsWhenCollapsed','listenTo','_handleNewCommentModel','weight','_rearrangeExpand','change:isActive','commentViews','_handleInfoComment','_handleRemoveCommentModel','resolved','focus','destroy','commentUpdated','_rearrangeCollapse','editorConfig','viewUid'];(function(_0xb8aa53,_0xfa38b1){const _0x55327b=function(_0x157b52){while(--_0x157b52){_0xb8aa53['push'](_0xb8aa53['shift']());}};_0x55327b(++_0xfa38b1);}(_0xfa38,0x94));const _0x5532=function(_0xb8aa53,_0xfa38b1){_0xb8aa53=_0xb8aa53-0x0;let _0x55327b=_0xfa38[_0xb8aa53];return _0x55327b;};import{View as _0x5d06be}from'ckeditor5/src/ui';import{diff as _0x459775,Collection as _0x5b7a41}from'ckeditor5/src/utils';import{getTranslation as _0x3f0075}from'../../../utils/common-translations';import _0x4202dd from'./collapsedcommentsview';export default class wt extends _0x5d06be{constructor(_0x1358b0,_0x31f6b1,_0x2bcfda){super(_0x1358b0),this[_0x5532('0x14')](_0x5532('0x1'),!0x1),this[_0x5532('0x14')](_0x5532('0x2b'),_0x31f6b1[_0x5532('0x18')][_0x5532('0x2b')]),this[_0x5532('0x14')](_0x5532('0x24'),!0x1),this['_model']=_0x31f6b1,this[_0x5532('0x1b')]=_0x2bcfda,this[_0x5532('0xa')]=this[_0x5532('0x3')](),this[_0x5532('0x19')]=this[_0x5532('0x3')](),this[_0x5532('0x37')]=null,this[_0x5532('0x23')]=new _0x4202dd(_0x1358b0),this[_0x5532('0x23')][_0x5532('0x17')]('count')['to'](this,_0x5532('0x2b'),_0x1da780=>_0x1da780-this['_config'][_0x5532('0x4')]);for(const _0xfc0a6c of _0x31f6b1[_0x5532('0x18')])this[_0x5532('0x6')](_0xfc0a6c);this['_handleInfoComment'](),this['listenTo'](_0x31f6b1['comments'],_0x5532('0x34'),(_0x2c78b9,_0x4648a8)=>{const _0x105eb9=this[_0x5532('0x1e')](_0x4648a8);this[_0x5532('0x2b')]++,this[_0x5532('0x6')](_0x4648a8,_0x105eb9),this[_0x5532('0x2')]();}),this[_0x5532('0x5')](_0x31f6b1[_0x5532('0x18')],_0x5532('0x1f'),(_0x408d4f,_0xd05fcf)=>{this[_0x5532('0x2b')]--,this[_0x5532('0xc')](_0xd05fcf),this['refreshVisibleViews']();}),this[_0x5532('0x5')](_0x31f6b1,_0x5532('0x10'),()=>this['refreshVisibleViews']()),this[_0x5532('0x5')](_0x31f6b1,_0x5532('0x36'),()=>this[_0x5532('0xb')]()),this['on'](_0x5532('0x9'),()=>this['refreshVisibleViews']()),this['on'](_0x5532('0x35'),()=>this['refreshVisibleViews']()),this[_0x5532('0x15')]({'tag':'ul','attributes':{'class':[_0x5532('0x32')]},'children':this[_0x5532('0x19')]});}get[_0x5532('0x2e')](){return this['_model'][_0x5532('0x7')]>this[_0x5532('0x1b')]['maxThreadTotalWeight']&&!this[_0x5532('0x24')]&&!this[_0x5532('0x1')];}['render'](){super['render'](),this[_0x5532('0x2')]();}[_0x5532('0xe')](){this[_0x5532('0x29')]['focus']();}[_0x5532('0xf')](){this[_0x5532('0x23')]['destroy']();for(const _0x2688ad of this[_0x5532('0xa')])_0x2688ad['destroy']();super[_0x5532('0xf')]();}[_0x5532('0x2')](){this[_0x5532('0x2e')]?this[_0x5532('0x11')]():this[_0x5532('0x8')]();}[_0x5532('0x6')](_0x413d5f,_0xce78a8){const _0x4ea888=new this[(_0x5532('0x1b'))][(_0x5532('0x28'))](this[_0x5532('0x2c')],_0x413d5f,{'maxCommentCharsWhenCollapsed':this[_0x5532('0x1b')]['maxCommentCharsWhenCollapsed'],'formatDateTime':this[_0x5532('0x1b')][_0x5532('0x22')],'editorConfig':this['_config'][_0x5532('0x12')]});_0x4ea888[_0x5532('0x13')]=_0x413d5f['id'],_0x4ea888['delegate'](_0x5532('0x31'))['to'](this),_0x4ea888[_0x5532('0x21')]('updateComment')['to'](this),_0x4ea888[_0x5532('0x21')](_0x5532('0x1d'))['to'](this),_0x4ea888['delegate']('editorReady')['to'](this),_0x4ea888['delegate']('editorDestroyed')['to'](this),this[_0x5532('0x5')](_0x4ea888,_0x5532('0x2f'),()=>this[_0x5532('0x33')]()),this['commentViews']['add'](_0x4ea888,_0xce78a8);}['_calculatePosition'](_0x6c8386){const _0xe1ba82=this[_0x5532('0x1c')][_0x5532('0x26')](_0x6c8386);return this[_0x5532('0x37')]?this[_0x5532('0x37')]['authoredAt']>_0x6c8386['authoredAt']?_0xe1ba82-0x1:_0xe1ba82:_0xe1ba82-0x1;}[_0x5532('0xb')](){if(this[_0x5532('0x1c')][_0x5532('0x1a')]&&this[_0x5532('0x1c')][_0x5532('0x27')]){const _0x5a6e8f={'id':_0x5532('0xd'),'author':this[_0x5532('0x1c')][_0x5532('0x1a')],'authoredAt':this[_0x5532('0x1c')]['resolvedAt'],'content':_0x3f0075(this[_0x5532('0x2c')],'Marked\x20as\x20resolved'),'attributes':{}};this['resolvedCommentView']=new this[(_0x5532('0x1b'))]['CommentView'](this[_0x5532('0x2c')],_0x5a6e8f,{'maxCommentCharsWhenCollapsed':this[_0x5532('0x1b')]['maxCommentCharsWhenCollapsed'],'formatDateTime':this[_0x5532('0x1b')][_0x5532('0x22')],'editorConfig':this[_0x5532('0x1b')]['editorConfig'],'isSystemComment':!0x0}),this[_0x5532('0xa')]['add'](this[_0x5532('0x37')],this['_model'][_0x5532('0x26')](_0x5a6e8f));}else this[_0x5532('0x37')]&&(this[_0x5532('0xa')][_0x5532('0x1f')](this['resolvedCommentView']),this['resolvedCommentView']['destroy'](),this['resolvedCommentView']=null);this[_0x5532('0x2')]();}[_0x5532('0xc')](_0x13172b){const _0x55c721=this[_0x5532('0xa')]['remove'](_0x13172b['id']);this[_0x5532('0x30')](_0x55c721),_0x55c721[_0x5532('0x0')]&&this[_0x5532('0x33')](),_0x55c721[_0x5532('0xf')]();}[_0x5532('0x33')](){this['hasDirtyComment']=Array['from'](this['commentViews'])[_0x5532('0x2d')](_0x4c003e=>_0x4c003e[_0x5532('0x0')]);}[_0x5532('0x11')](){const _0x55b76c=function(_0x56505a){const _0x4b8b1e=new _0x5b7a41();for(const _0x3b3dc9 of _0x56505a)_0x4b8b1e[_0x5532('0x34')](_0x3b3dc9);return _0x4b8b1e;}(this[_0x5532('0xa')]),_0x49eb52=this['_collapsedCommentsView']['count'];for(let _0x22aa57=0x1;_0x22aa57<=_0x49eb52;_0x22aa57++)_0x55b76c[_0x5532('0x1f')](0x1);for(const _0x4ec7e0 of _0x55b76c)_0x4ec7e0['collapse']();_0x49eb52>0x0&&_0x55b76c[_0x5532('0x34')](this['_collapsedCommentsView'],0x1),ss(_0x459775(Array[_0x5532('0x20')](this['visibleViews']),Array[_0x5532('0x20')](_0x55b76c)),this[_0x5532('0x19')],_0x55b76c);}['_rearrangeExpand'](){ss(_0x459775(Array[_0x5532('0x20')](this[_0x5532('0x19')]),Array['from'](this[_0x5532('0xa')])),this[_0x5532('0x19')],this[_0x5532('0xa')]);for(const _0x26030d of this[_0x5532('0x19')])_0x26030d[_0x5532('0x16')]();}}function ss(_0x529332,_0x58caf3,_0x130eca){let _0x3ca951=0x0;for(const _0xcc02e6 of _0x529332)switch(_0xcc02e6){case'insert':_0x58caf3[_0x5532('0x34')](_0x130eca['get'](_0x3ca951),_0x3ca951),_0x3ca951++;break;case _0x5532('0x25'):_0x58caf3['remove'](_0x3ca951);break;case _0x5532('0x2a'):_0x3ca951++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5845=['value','ck-annotation__actions','render','classList','length','substring','fire','context','ck-context--quotes','overlay','locale','_createReopenButton','ck-context-wrapper','contextValue','isReadOnly','...','_attachContextActions','_model','listenTo','querySelector','tooltip','setTemplate','isResolvable','hasContext','isVisible','element','_trimContextValue','.ck-context__value','isEnabled','Reopen','ck-context__value','add','icon','bind','ck-thread__header','reopenButtonView','.ck-context','div','label','execute','bindTemplate','Comment\x20was\x20made\x20on\x20an\x20element','span','reopenCommentThread'];(function(_0x1804b1,_0x5845cf){const _0x1e19cc=function(_0x284fdf){while(--_0x284fdf){_0x1804b1['push'](_0x1804b1['shift']());}};_0x1e19cc(++_0x5845cf);}(_0x5845,0xc8));const _0x1e19=function(_0x1804b1,_0x5845cf){_0x1804b1=_0x1804b1-0x0;let _0x1e19cc=_0x5845[_0x1804b1];return _0x1e19cc;};import{View as _0x2fb254,ButtonView as _0x13d602}from'ckeditor5/src/ui';import{getTranslation as _0x14782c}from'../../../utils/common-translations';import _0xa5215d from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Rt extends _0x2fb254{constructor(_0x4143da,_0x2cc0c2){super(_0x4143da);const _0x33aed7=this[_0x1e19('0x10')];this[_0x1e19('0x25')]=_0x2cc0c2,this[_0x1e19('0xb')]=this[_0x1e19('0x1f')](),this[_0x1e19('0x9')]('hasContext')['to'](this['_model'],'context',_0x2f4684=>!!_0x2f4684),this[_0x1e19('0x9')](_0x1e19('0x21'))['to'](this[_0x1e19('0x25')],_0x1e19('0x1b'),_0x344a93=>_0x344a93&&_0x344a93[_0x1e19('0x14')]?this[_0x1e19('0x2')](_0x344a93[_0x1e19('0x14')]):_0x14782c(this[_0x1e19('0x1e')],_0x1e19('0x11'))),this[_0x1e19('0x29')]({'tag':_0x1e19('0xd'),'attributes':{'class':[_0x1e19('0xa')]},'children':[{'tag':_0x1e19('0xd'),'attributes':{'class':[_0x1e19('0x20')]},'children':[{'tag':'div','attributes':{'class':['ck-context',_0x33aed7['if'](_0x1e19('0x2b'),_0x1e19('0x1c'))]},'children':[{'tag':_0x1e19('0x12'),'attributes':{'class':[_0x1e19('0x6')]},'children':[{'text':_0x33aed7['to'](_0x1e19('0x21'))}]}]}]},{'tag':'div','attributes':{'class':[_0x1e19('0x15')]},'children':[this[_0x1e19('0xb')]]}]});}[_0x1e19('0x16')](){super[_0x1e19('0x16')](),this[_0x1e19('0x24')]();}[_0x1e19('0x1f')](){const _0x193f45=new _0x13d602(this['locale']);return _0x193f45[_0x1e19('0xe')]=_0x14782c(this[_0x1e19('0x1e')],_0x1e19('0x5')),_0x193f45[_0x1e19('0x28')]=_0x14782c(this['locale'],_0x1e19('0x5')),_0x193f45[_0x1e19('0x8')]=_0xa5215d,_0x193f45[_0x1e19('0x9')](_0x1e19('0x4'))['to'](this[_0x1e19('0x25')],_0x1e19('0x22'),_0x25fd2b=>!_0x25fd2b),_0x193f45[_0x1e19('0x9')](_0x1e19('0x0'))['to'](this[_0x1e19('0x25')],_0x1e19('0x2a')),_0x193f45['on'](_0x1e19('0xf'),()=>{this[_0x1e19('0x1a')](_0x1e19('0x13'),this[_0x1e19('0x25')]['id']);}),_0x193f45;}[_0x1e19('0x2')](_0x3e9134){if(_0x3e9134[_0x1e19('0x18')]<0x96)return _0x3e9134;const _0x156910=_0x3e9134['lastIndexOf']('\x20',0x93);return _0x3e9134[_0x1e19('0x19')](0x0,_0x156910>-0x1?_0x156910:0x93)+_0x1e19('0x23');}['_attachContextActions'](){const _0x1386d6=this[_0x1e19('0x1')][_0x1e19('0x27')](_0x1e19('0xc')),_0x27d461=_0x1386d6[_0x1e19('0x27')](_0x1e19('0x3'));this[_0x1e19('0x26')](_0x1386d6,'mouseenter',()=>{_0x27d461['offsetWidth']<_0x27d461['scrollWidth']&&_0x1386d6[_0x1e19('0x17')][_0x1e19('0x7')](_0x1e19('0x1d'));}),this[_0x1e19('0x26')](_0x1386d6,'mouseleave',()=>{_0x1386d6[_0x1e19('0x17')]['remove']('overlay');});}}
23
+ const _0x2144=['offsetWidth','fire','_model','listenTo','hasContext','mouseenter','querySelector','div','tooltip','_trimContextValue','mouseleave','add','...','scrollWidth','setTemplate','ck-context--quotes','_createReopenButton','_attachContextActions','.ck-context','ck-context','element','value','ck-context-wrapper','isVisible','icon','lastIndexOf','bind','Comment\x20was\x20made\x20on\x20an\x20element','Reopen','length','render','classList','contextValue','isResolvable','locale','reopenButtonView','span','execute','remove'];(function(_0x14fd42,_0x21448b){const _0x181b6d=function(_0x1f1e92){while(--_0x1f1e92){_0x14fd42['push'](_0x14fd42['shift']());}};_0x181b6d(++_0x21448b);}(_0x2144,0xbc));const _0x181b=function(_0x14fd42,_0x21448b){_0x14fd42=_0x14fd42-0x0;let _0x181b6d=_0x2144[_0x14fd42];return _0x181b6d;};import{View as _0x4ea75b,ButtonView as _0x77beba}from'ckeditor5/src/ui';import{getTranslation as _0x2fa292}from'../../../utils/common-translations';import _0x5ce984 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Rt extends _0x4ea75b{constructor(_0x4bea31,_0xd16492){super(_0x4bea31);const _0x5d8747=this['bindTemplate'];this['_model']=_0xd16492,this[_0x181b('0x3')]=this['_createReopenButton'](),this[_0x181b('0x21')](_0x181b('0xb'))['to'](this[_0x181b('0x9')],'context',_0x320c77=>!!_0x320c77),this[_0x181b('0x21')](_0x181b('0x0'))['to'](this[_0x181b('0x9')],'context',_0x11f2f5=>_0x11f2f5&&_0x11f2f5[_0x181b('0x1c')]?this[_0x181b('0x10')](_0x11f2f5['value']):_0x2fa292(this[_0x181b('0x2')],_0x181b('0x22'))),this[_0x181b('0x15')]({'tag':_0x181b('0xe'),'attributes':{'class':['ck-thread__header']},'children':[{'tag':_0x181b('0xe'),'attributes':{'class':[_0x181b('0x1d')]},'children':[{'tag':'div','attributes':{'class':[_0x181b('0x1a'),_0x5d8747['if']('hasContext',_0x181b('0x16'))]},'children':[{'tag':_0x181b('0x4'),'attributes':{'class':['ck-context__value']},'children':[{'text':_0x5d8747['to'](_0x181b('0x0'))}]}]}]},{'tag':_0x181b('0xe'),'attributes':{'class':['ck-annotation__actions']},'children':[this['reopenButtonView']]}]});}[_0x181b('0x25')](){super[_0x181b('0x25')](),this[_0x181b('0x18')]();}[_0x181b('0x17')](){const _0x459af0=new _0x77beba(this[_0x181b('0x2')]);return _0x459af0['label']=_0x2fa292(this['locale'],_0x181b('0x23')),_0x459af0[_0x181b('0xf')]=_0x2fa292(this['locale'],'Reopen'),_0x459af0[_0x181b('0x1f')]=_0x5ce984,_0x459af0[_0x181b('0x21')]('isEnabled')['to'](this['_model'],'isReadOnly',_0x4bfe20=>!_0x4bfe20),_0x459af0[_0x181b('0x21')](_0x181b('0x1e'))['to'](this['_model'],_0x181b('0x1')),_0x459af0['on'](_0x181b('0x5'),()=>{this[_0x181b('0x8')]('reopenCommentThread',this[_0x181b('0x9')]['id']);}),_0x459af0;}['_trimContextValue'](_0x414c38){if(_0x414c38[_0x181b('0x24')]<0x96)return _0x414c38;const _0x18a9e8=_0x414c38[_0x181b('0x20')]('\x20',0x93);return _0x414c38['substring'](0x0,_0x18a9e8>-0x1?_0x18a9e8:0x93)+_0x181b('0x13');}[_0x181b('0x18')](){const _0x2bcb81=this[_0x181b('0x1b')][_0x181b('0xd')](_0x181b('0x19')),_0x5ae90a=_0x2bcb81[_0x181b('0xd')]('.ck-context__value');this[_0x181b('0xa')](_0x2bcb81,_0x181b('0xc'),()=>{_0x5ae90a[_0x181b('0x7')]<_0x5ae90a[_0x181b('0x14')]&&_0x2bcb81[_0x181b('0x26')][_0x181b('0x12')]('overlay');}),this['listenTo'](_0x2bcb81,_0x181b('0x11'),()=>{_0x2bcb81[_0x181b('0x26')][_0x181b('0x6')]('overlay');});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4333=['createEditor','destroy','editor','editorReady','commentInputView','userView','set','extendTemplate','bind','div','value','ck-comment__input-container--active','editorDestroyed','change:showInput','ck-thread__input','showInput','ck-thread__user','ck-comment__input-container'];(function(_0x36c41a,_0x4333a0){var _0x6e5c01=function(_0x111e8f){while(--_0x111e8f){_0x36c41a['push'](_0x36c41a['shift']());}};_0x6e5c01(++_0x4333a0);}(_0x4333,0x14a));var _0x6e5c=function(_0x36c41a,_0x4333a0){_0x36c41a=_0x36c41a-0x0;var _0x6e5c01=_0x4333[_0x36c41a];return _0x6e5c01;};import{View as _0x22e56d}from'ckeditor5/src/ui';import _0xf65ae7 from'./commentinputview';import{UserView as _0xe7c4e0}from'ckeditor5-collaboration/src/collaboration-core';export default class Ct extends _0x22e56d{constructor(_0x28fc22,_0x3b2818,_0x5edb42){super(_0x28fc22),this[_0x6e5c('0x10')]=new _0xf65ae7(_0x28fc22,_0x5edb42),this[_0x6e5c('0x10')][_0x6e5c('0x2')]('showButtons')['to'](this[_0x6e5c('0x10')]['focusTracker'],'isFocused',this[_0x6e5c('0x10')],_0x6e5c('0x4'),(_0x27c270,_0x384fb0)=>_0x27c270||!!_0x384fb0),this[_0x6e5c('0x0')](_0x6e5c('0x9'),!0x1),this['on'](_0x6e5c('0x7'),()=>{this[_0x6e5c('0x9')]&&!this[_0x6e5c('0x10')][_0x6e5c('0xe')]&&this['commentInputView'][_0x6e5c('0xc')]();}),this[_0x6e5c('0x10')]['delegate'](_0x6e5c('0xf'))['to'](this),this[_0x6e5c('0x10')]['delegate'](_0x6e5c('0x6'))['to'](this),this[_0x6e5c('0x11')]=new _0xe7c4e0(_0x28fc22,_0x3b2818),this[_0x6e5c('0x11')][_0x6e5c('0x1')]({'attributes':{'class':_0x6e5c('0xa')}}),this[_0x6e5c('0x10')][_0x6e5c('0x1')]({'attributes':{'class':_0x6e5c('0x8')}}),this['setTemplate']({'tag':_0x6e5c('0x3'),'attributes':{'class':[_0x6e5c('0xb'),this['bindTemplate']['if']('showInput',_0x6e5c('0x5'))]},'children':[this[_0x6e5c('0x11')],this[_0x6e5c('0x10')]]});}[_0x6e5c('0xd')](){return this[_0x6e5c('0x10')][_0x6e5c('0xd')]()['then'](()=>super['destroy']());}}
23
+ var _0x410d=['userView','editor','bindTemplate','then','showButtons','ck-comment__input-container','destroy','change:showInput','editorDestroyed','ck-thread__user','commentInputView','extendTemplate','value','bind','isFocused','showInput','div','ck-thread__input','delegate'];(function(_0x4f5308,_0x410d01){var _0x3d4bff=function(_0x39eb5d){while(--_0x39eb5d){_0x4f5308['push'](_0x4f5308['shift']());}};_0x3d4bff(++_0x410d01);}(_0x410d,0x1b1));var _0x3d4b=function(_0x4f5308,_0x410d01){_0x4f5308=_0x4f5308-0x0;var _0x3d4bff=_0x410d[_0x4f5308];return _0x3d4bff;};import{View as _0xa8f967}from'ckeditor5/src/ui';import _0x35d8ac from'./commentinputview';import{UserView as _0x485c0b}from'ckeditor5-collaboration/src/collaboration-core';export default class Ct extends _0xa8f967{constructor(_0x4acc9d,_0x41d14d,_0x5aeafb){super(_0x4acc9d),this['commentInputView']=new _0x35d8ac(_0x4acc9d,_0x5aeafb),this[_0x3d4b('0xe')][_0x3d4b('0x11')](_0x3d4b('0x8'))['to'](this[_0x3d4b('0xe')]['focusTracker'],_0x3d4b('0x12'),this['commentInputView'],_0x3d4b('0x10'),(_0x43477f,_0x1327ea)=>_0x43477f||!!_0x1327ea),this['set'](_0x3d4b('0x0'),!0x1),this['on'](_0x3d4b('0xb'),()=>{this['showInput']&&!this[_0x3d4b('0xe')][_0x3d4b('0x5')]&&this[_0x3d4b('0xe')]['createEditor']();}),this['commentInputView'][_0x3d4b('0x3')]('editorReady')['to'](this),this[_0x3d4b('0xe')]['delegate'](_0x3d4b('0xc'))['to'](this),this['userView']=new _0x485c0b(_0x4acc9d,_0x41d14d),this[_0x3d4b('0x4')]['extendTemplate']({'attributes':{'class':_0x3d4b('0xd')}}),this['commentInputView'][_0x3d4b('0xf')]({'attributes':{'class':_0x3d4b('0x2')}}),this['setTemplate']({'tag':_0x3d4b('0x1'),'attributes':{'class':[_0x3d4b('0x9'),this[_0x3d4b('0x6')]['if'](_0x3d4b('0x0'),'ck-comment__input-container--active')]},'children':[this[_0x3d4b('0x4')],this[_0x3d4b('0xe')]]});}['destroy'](){return this['commentInputView'][_0x3d4b('0xa')]()[_0x3d4b('0x7')](()=>super[_0x3d4b('0xa')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1789=['containerElement','isEnabled','locale','getTemplate','extendTemplate','isSystemComment','div','stop','placeholder','isResolvable','actionIndicator','_model','listenTo','change:isReadOnly','Write\x20a\x20comment...','commentThreadChildren','render','isResolved','set','tooltip','removeButton','ck-thread--remove-confirmation','_createResolveButton','resolveCommentThread','isReadOnly','ck-thread','removeCommentThread','addMany','_bindFirstCommentView','resolveButton','actionBar','bindTemplate','get','commentViews','Resolve','bind','isActive','change:isResolved','add','commentsListView','isVisible','ck-thread__container','ck-thread--','unbind','commentThreadInputView','.ck-thread__container','setTemplate','change:isActive','_cancelAllConfirms','cancelConfirm','ck-comment--resolve','commentThreadHeaderView','execute','createCollection','check','icon','high','element','remove','_boundFirstCommentView'];(function(_0x224aa2,_0x178937){const _0x1a7be1=function(_0x7862c5){while(--_0x7862c5){_0x224aa2['push'](_0x224aa2['shift']());}};_0x1a7be1(++_0x178937);}(_0x1789,0xf4));const _0x1a7b=function(_0x224aa2,_0x178937){_0x224aa2=_0x224aa2-0x0;let _0x1a7be1=_0x1789[_0x224aa2];return _0x1a7be1;};import{ConfirmMixin as _0xad9e24}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0xc449e4}from'ckeditor5/src/ui';import{icons as _0x2a1d99}from'ckeditor5/src/core';import _0x442efd from'./basecommentthreadview';import{getTranslation as _0x5e9ca7}from'../../../utils/common-translations';export default class lt extends _0xad9e24(_0x442efd){constructor(_0x5e48da,_0x55548d,_0x1daec2,_0x389e56){super(_0x5e48da,_0x55548d,_0x1daec2,_0x389e56),this[_0x1a7b('0xb')]=this[_0x1a7b('0x31')](),this[_0x1a7b('0xb')][_0x1a7b('0x17')]([this[_0x1a7b('0x23')],this[_0x1a7b('0x28')]]),this['_model'][_0x1a7b('0xd')]&&this[_0x1a7b('0xb')][_0x1a7b('0x22')](this[_0x1a7b('0x2f')],0x0),this[_0x1a7b('0x7')]['on'](_0x1a7b('0x21'),(_0x97c6f0,_0x497ba4,_0x27371f)=>{_0x27371f?this[_0x1a7b('0xb')]['add'](this['commentThreadHeaderView'],0x0):this[_0x1a7b('0xb')]['remove'](this[_0x1a7b('0x2f')]);}),this[_0x1a7b('0xe')](_0x1a7b('0x6'),null),this['containerElement']=null,this[_0x1a7b('0x37')]=null,this[_0x1a7b('0x3a')]=_0x5e48da,this[_0x1a7b('0x19')]=this[_0x1a7b('0x12')](),this[_0x1a7b('0x2a')](this[_0x1a7b('0x3b')]()),this['on'](_0x1a7b('0x2b'),(_0x203406,_0x532a1c,_0x1c08dc)=>{_0x1c08dc||this[_0x1a7b('0x2c')]();}),this[_0x1a7b('0x8')](this[_0x1a7b('0x7')],_0x1a7b('0x9'),(_0x39e37c,_0x20ae6f,_0x316187)=>{_0x316187&&this[_0x1a7b('0x2c')]();}),this['length']>0x0&&this[_0x1a7b('0x18')](),this[_0x1a7b('0x8')](this[_0x1a7b('0x23')][_0x1a7b('0x1d')],_0x1a7b('0x22'),()=>{this['_bindFirstCommentView']();});}[_0x1a7b('0x3b')](){const _0x2ccf55=this[_0x1a7b('0x1b')];return{'tag':_0x1a7b('0x2'),'attributes':{'class':[_0x1a7b('0x15'),'ck-reset_all-excluded',_0x2ccf55['if'](_0x1a7b('0x20'),'ck-thread--active'),_0x2ccf55['if']('isConfirm',_0x1a7b('0x11')),_0x2ccf55['to'](_0x1a7b('0x6'),_0x2f168c=>_0x2f168c?_0x1a7b('0x26')+_0x2f168c:'')],'data-thread-id':this['_model']['id'],'tabindex':-0x1},'children':[{'tag':_0x1a7b('0x2'),'attributes':{'class':_0x1a7b('0x25')},'children':this[_0x1a7b('0xb')]}]};}[_0x1a7b('0xc')](){super[_0x1a7b('0xc')](),this[_0x1a7b('0x38')]=this[_0x1a7b('0x35')]['querySelector'](_0x1a7b('0x29'));}[_0x1a7b('0x2c')](){this[_0x1a7b('0x2d')]();for(const _0x74fb3e of this[_0x1a7b('0x23')][_0x1a7b('0x1d')])_0x74fb3e[_0x1a7b('0x2d')]();}['_bindFirstCommentView'](){const {locale:_0x4b8448}=this,_0x100e09=this[_0x1a7b('0x23')]['commentViews'][_0x1a7b('0x1c')](0x0);_0x100e09===this[_0x1a7b('0x37')]||_0x100e09[_0x1a7b('0x1')]||(this[_0x1a7b('0x37')]=_0x100e09,this[_0x1a7b('0x27')]('actionIndicator'),this[_0x1a7b('0x1f')](_0x1a7b('0x6'))['to'](_0x100e09,_0x1a7b('0x6'),_0x224e62=>_0x1a7b('0x36')===_0x224e62?_0x1a7b('0x36'):null),_0x100e09[_0x1a7b('0x4')]=_0x5e9ca7(_0x4b8448,_0x1a7b('0xa')),_0x100e09[_0x1a7b('0x10')]['on'](_0x1a7b('0x30'),_0x5205be=>{_0x5205be[_0x1a7b('0x3')](),this['showConfirm'](_0x5e9ca7(_0x4b8448,'Delete\x20comment\x20thread?'),this['containerElement'])['then'](()=>{this['fire'](_0x1a7b('0x16'));});},{'priority':_0x1a7b('0x34')}),_0x100e09[_0x1a7b('0x1a')][_0x1a7b('0x22')](this[_0x1a7b('0x19')],0x0));}[_0x1a7b('0x12')](){const _0xefda3b=new _0xc449e4(this['locale']);return _0xefda3b['label']=_0x5e9ca7(this[_0x1a7b('0x3a')],_0x1a7b('0x1e')),_0xefda3b[_0x1a7b('0xf')]=_0x5e9ca7(this['locale'],_0x1a7b('0x1e')),_0xefda3b[_0x1a7b('0x33')]=_0x2a1d99[_0x1a7b('0x32')],_0xefda3b[_0x1a7b('0x0')]({'attributes':{'class':_0x1a7b('0x2e')}}),_0xefda3b[_0x1a7b('0x1f')](_0x1a7b('0x39'))['to'](this['_model'],_0x1a7b('0x14'),_0x3b6d59=>!_0x3b6d59),_0xefda3b['bind'](_0x1a7b('0x24'))['to'](this[_0x1a7b('0x7')],_0x1a7b('0x5'),this[_0x1a7b('0x7')],_0x1a7b('0xd'),(_0x53a32d,_0x570b91)=>_0x53a32d&&!_0x570b91),_0xefda3b['on'](_0x1a7b('0x30'),()=>{this['fire'](_0x1a7b('0x13'),this[_0x1a7b('0x7')]['id']);}),_0xefda3b;}}
23
+ const _0x3d54=['ck-thread--remove-confirmation','label','ck-thread','change:isActive','listenTo','add','commentThreadHeaderView','render','ck-thread__container','removeCommentThread','high','_model','ck-reset_all-excluded','commentThreadInputView','actionIndicator','element','setTemplate','Write\x20a\x20comment...','div','commentsListView','getTemplate','cancelConfirm','isResolvable','then','commentViews','bindTemplate','_bindFirstCommentView','stop','remove','locale','commentThreadChildren','isResolved','isEnabled','containerElement','_cancelAllConfirms','_createResolveButton','ck-thread--active','length','removeButton','resolveButton','createCollection','fire','check','isReadOnly','addMany','isConfirm','ck-thread--','bind','.ck-thread__container','change:isReadOnly','set','execute','placeholder','_boundFirstCommentView','tooltip','get','isSystemComment'];(function(_0x28533f,_0x3d540b){const _0x215f8d=function(_0x5242b8){while(--_0x5242b8){_0x28533f['push'](_0x28533f['shift']());}};_0x215f8d(++_0x3d540b);}(_0x3d54,0x10d));const _0x215f=function(_0x28533f,_0x3d540b){_0x28533f=_0x28533f-0x0;let _0x215f8d=_0x3d54[_0x28533f];return _0x215f8d;};import{ConfirmMixin as _0x5a5ff3}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x4455e2}from'ckeditor5/src/ui';import{icons as _0x4cd46c}from'ckeditor5/src/core';import _0x4c166c from'./basecommentthreadview';import{getTranslation as _0x6852d9}from'../../../utils/common-translations';export default class lt extends _0x5a5ff3(_0x4c166c){constructor(_0x198e3e,_0xb126ee,_0x59a262,_0x2ecd5f){super(_0x198e3e,_0xb126ee,_0x59a262,_0x2ecd5f),this[_0x215f('0x2e')]=this[_0x215f('0x38')](),this[_0x215f('0x2e')][_0x215f('0x3')]([this[_0x215f('0x23')],this[_0x215f('0x1d')]]),this[_0x215f('0x1b')]['isResolved']&&this['commentThreadChildren'][_0x215f('0x15')](this['commentThreadHeaderView'],0x0),this[_0x215f('0x1b')]['on']('change:isResolved',(_0x59179a,_0x27bc1d,_0x388b4a)=>{_0x388b4a?this[_0x215f('0x2e')]['add'](this[_0x215f('0x16')],0x0):this[_0x215f('0x2e')]['remove'](this['commentThreadHeaderView']);}),this[_0x215f('0x9')](_0x215f('0x1e'),null),this[_0x215f('0x31')]=null,this[_0x215f('0xc')]=null,this['locale']=_0x198e3e,this[_0x215f('0x37')]=this[_0x215f('0x33')](),this[_0x215f('0x20')](this['getTemplate']()),this['on'](_0x215f('0x13'),(_0x55ef20,_0x296f60,_0x39b34d)=>{_0x39b34d||this[_0x215f('0x32')]();}),this[_0x215f('0x14')](this['_model'],_0x215f('0x8'),(_0x360a71,_0x31649c,_0x336dc1)=>{_0x336dc1&&this[_0x215f('0x32')]();}),this[_0x215f('0x35')]>0x0&&this['_bindFirstCommentView'](),this[_0x215f('0x14')](this['commentsListView'][_0x215f('0x28')],_0x215f('0x15'),()=>{this[_0x215f('0x2a')]();});}[_0x215f('0x24')](){const _0xc99454=this[_0x215f('0x29')];return{'tag':_0x215f('0x22'),'attributes':{'class':[_0x215f('0x12'),_0x215f('0x1c'),_0xc99454['if']('isActive',_0x215f('0x34')),_0xc99454['if'](_0x215f('0x4'),_0x215f('0x10')),_0xc99454['to'](_0x215f('0x1e'),_0x58dcb3=>_0x58dcb3?_0x215f('0x5')+_0x58dcb3:'')],'data-thread-id':this[_0x215f('0x1b')]['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':_0x215f('0x18')},'children':this['commentThreadChildren']}]};}[_0x215f('0x17')](){super[_0x215f('0x17')](),this['containerElement']=this[_0x215f('0x1f')]['querySelector'](_0x215f('0x7'));}[_0x215f('0x32')](){this[_0x215f('0x25')]();for(const _0x4c1d64 of this[_0x215f('0x23')]['commentViews'])_0x4c1d64[_0x215f('0x25')]();}[_0x215f('0x2a')](){const {locale:_0x5e7e2c}=this,_0x4539f1=this[_0x215f('0x23')][_0x215f('0x28')][_0x215f('0xe')](0x0);_0x4539f1===this[_0x215f('0xc')]||_0x4539f1[_0x215f('0xf')]||(this[_0x215f('0xc')]=_0x4539f1,this['unbind'](_0x215f('0x1e')),this[_0x215f('0x6')](_0x215f('0x1e'))['to'](_0x4539f1,_0x215f('0x1e'),_0x20e7f4=>_0x215f('0x2c')===_0x20e7f4?_0x215f('0x2c'):null),_0x4539f1[_0x215f('0xb')]=_0x6852d9(_0x5e7e2c,_0x215f('0x21')),_0x4539f1[_0x215f('0x36')]['on'](_0x215f('0xa'),_0x3a3848=>{_0x3a3848[_0x215f('0x2b')](),this['showConfirm'](_0x6852d9(_0x5e7e2c,'Delete\x20comment\x20thread?'),this[_0x215f('0x31')])[_0x215f('0x27')](()=>{this[_0x215f('0x0')](_0x215f('0x19'));});},{'priority':_0x215f('0x1a')}),_0x4539f1['actionBar']['add'](this[_0x215f('0x37')],0x0));}[_0x215f('0x33')](){const _0x49d0b0=new _0x4455e2(this[_0x215f('0x2d')]);return _0x49d0b0[_0x215f('0x11')]=_0x6852d9(this[_0x215f('0x2d')],'Resolve'),_0x49d0b0[_0x215f('0xd')]=_0x6852d9(this['locale'],'Resolve'),_0x49d0b0['icon']=_0x4cd46c[_0x215f('0x1')],_0x49d0b0['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0x49d0b0[_0x215f('0x6')](_0x215f('0x30'))['to'](this['_model'],_0x215f('0x2'),_0x3ea6bd=>!_0x3ea6bd),_0x49d0b0[_0x215f('0x6')]('isVisible')['to'](this[_0x215f('0x1b')],_0x215f('0x26'),this[_0x215f('0x1b')],_0x215f('0x2f'),(_0x310071,_0x42c3dd)=>_0x310071&&!_0x42c3dd),_0x49d0b0['on'](_0x215f('0xa'),()=>{this[_0x215f('0x0')]('resolveCommentThread',this[_0x215f('0x1b')]['id']);}),_0x49d0b0;}}