@ckeditor/ckeditor5-comments 0.0.0-nightly-20230711.0 → 0.0.0-nightly-20230712.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 _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;
23
+ const _0x38cf=['name','then','ready','end','change:placeholder','get','config','placeholder','initPlugins','defaultPlugins','assign','change','_updatePlaceholder','editing','destroy','setSelection','create','fire','plugins','low','getRoot','childCount','focus','init','model','view','createRoot','initialData','document','placeholderElement','data','getChild'];(function(_0x24d544,_0x38cf08){const _0x158fff=function(_0x3d9026){while(--_0x3d9026){_0x24d544['push'](_0x24d544['shift']());}};_0x158fff(++_0x38cf08);}(_0x38cf,0xfe));const _0x158f=function(_0x24d544,_0x38cf08){_0x24d544=_0x24d544-0x0;let _0x158fff=_0x38cf[_0x24d544];return _0x158fff;};import{Editor as _0x493d93,DataApiMixin as _0x5b57ec}from'ckeditor5/src/core';import _0x362e95 from'./commenteditorui';import{ObservableMixin as _0x7d3b18}from'ckeditor5/src/utils';import{enablePlaceholder as _0x4918a2,disablePlaceholder as _0x35fb8d}from'ckeditor5/src/engine';import{Clipboard as _0x42e1e0}from'ckeditor5/src/clipboard';import{Enter as _0x1d44ef,ShiftEnter as _0x40421e}from'ckeditor5/src/enter';import{SelectAll as _0xe3b725}from'ckeditor5/src/select-all';import{Typing as _0x5ab37a}from'ckeditor5/src/typing';import{Undo as _0x13ff27}from'ckeditor5/src/undo';import{Paragraph as _0x3de24a}from'ckeditor5/src/paragraph';const Kt=[_0x42e1e0,_0x1d44ef,_0x40421e,_0xe3b725,_0x5ab37a,_0x13ff27,_0x3de24a];export default class Lt extends _0x7d3b18(_0x5b57ec(_0x493d93)){constructor(_0x3b659b={}){(_0x3b659b=Object[_0x158f('0xc')]({},_0x3b659b))[_0x158f('0x14')]||(_0x3b659b[_0x158f('0x14')]=Lt[_0x158f('0xb')]),super(_0x3b659b),this['ui']=new _0x362e95(this),this['set'](_0x158f('0x9'),''),this[_0x158f('0x1a')]['document']['on'](_0x158f('0xd'),()=>this[_0x158f('0xe')](),{'priority':_0x158f('0x15')}),this['on'](_0x158f('0x6'),()=>this[_0x158f('0xe')]()),this[_0x158f('0x1a')]['document'][_0x158f('0x1c')]();}[_0x158f('0x12')](){const _0x2db326=this[_0x158f('0x8')][_0x158f('0x7')](_0x158f('0x1d'))||'';return this[_0x158f('0xa')]()['then'](()=>this['ui'][_0x158f('0x19')]())[_0x158f('0x3')](()=>this[_0x158f('0x0')][_0x158f('0x19')](_0x2db326))[_0x158f('0x3')](()=>this[_0x158f('0x13')](_0x158f('0x4')));}[_0x158f('0x10')](){return super[_0x158f('0x10')]()[_0x158f('0x3')](()=>this['ui'][_0x158f('0x10')]());}[_0x158f('0x18')](){this[_0x158f('0x1a')][_0x158f('0xd')](_0x1c5b73=>{const _0x9b75=this['model'][_0x158f('0x1e')][_0x158f('0x16')](),_0x27d297=_0x9b75&&_0x9b75[_0x158f('0x1')](_0x9b75[_0x158f('0x17')]-0x1);_0x1c5b73[_0x158f('0x11')](_0x27d297,_0x158f('0x5')),this['editing']['view'][_0x158f('0x18')]();});}[_0x158f('0xe')](){const _0x236faa=this[_0x158f('0xf')][_0x158f('0x1b')],_0x2b51bb=_0x236faa[_0x158f('0x1e')][_0x158f('0x16')](),_0x4e7f4b=_0x2b51bb[_0x158f('0x1')](0x0);_0x2b51bb[_0x158f('0x17')]>0x1||!_0x4e7f4b||'p'!=_0x4e7f4b[_0x158f('0x2')]?this['placeholderElement']&&(_0x35fb8d(_0x236faa,this[_0x158f('0x1f')]),this[_0x158f('0x1f')]=void 0x0):(_0x4918a2({'view':_0x236faa,'element':_0x4e7f4b,'text':this[_0x158f('0x9')],'keepOnFocus':!0x0}),this[_0x158f('0x1f')]=_0x4e7f4b);}}Lt[_0x158f('0xb')]=Kt;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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')]();}}
23
+ const _0x6f58=['editing','element','name','rootName','fire','view','ready','render','setEditableElement','isFocused','attachDomRoot','editor','getRoot','destroy','locale','bind'];(function(_0x5d3419,_0x6f58c){const _0x23cfdf=function(_0x1923aa){while(--_0x1923aa){_0x5d3419['push'](_0x5d3419['shift']());}};_0x23cfdf(++_0x6f58c);}(_0x6f58,0x1eb));const _0x23cf=function(_0x5d3419,_0x6f58c){_0x5d3419=_0x5d3419-0x0;let _0x23cfdf=_0x6f58[_0x5d3419];return _0x23cfdf;};import{EditorUI as _0x49d15c}from'ckeditor5/src/ui';import _0x32d2a9 from'./commenteditoruiview';export default class jt extends _0x49d15c{constructor(_0x57b2f9){super(_0x57b2f9),this[_0x23cf('0xa')]=new _0x32d2a9(_0x57b2f9[_0x23cf('0x3')],_0x57b2f9[_0x23cf('0x5')]['view']);}get[_0x23cf('0x6')](){return this[_0x23cf('0xa')]['element'];}['init'](){const _0x1b028a=this[_0x23cf('0x0')][_0x23cf('0x5')][_0x23cf('0xa')],_0x4086cf=this['view']['editable'],_0x630d98=_0x1b028a['document'][_0x23cf('0x1')]();_0x4086cf[_0x23cf('0x7')]=_0x630d98[_0x23cf('0x8')],this[_0x23cf('0xa')][_0x23cf('0xc')]();const _0x128afe=_0x4086cf[_0x23cf('0x6')];this[_0x23cf('0xd')](_0x4086cf[_0x23cf('0x7')],_0x128afe),this[_0x23cf('0xa')]['editable'][_0x23cf('0x4')](_0x23cf('0xe'))['to'](this['focusTracker']),_0x1b028a[_0x23cf('0xf')](_0x128afe),this[_0x23cf('0x9')](_0x23cf('0xb'));}['destroy'](){super[_0x23cf('0x2')](),this[_0x23cf('0xa')][_0x23cf('0x2')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ const _0xa18c=['uiLanguage','ck-editor__main','setTemplate','Comment\x20editor','ck-voice-label','_createVoiceLabel','focus','render','div','_voiceLabelView','main','element','extendTemplate','comment','createCollection','text','presentation','ck-comment__input','uiLanguageDirection','editable'];(function(_0xeb144d,_0xa18c17){const _0x1043bb=function(_0x3efbfb){while(--_0x3efbfb){_0xeb144d['push'](_0xeb144d['shift']());}};_0x1043bb(++_0xa18c17);}(_0xa18c,0xa1));const _0x1043=function(_0xeb144d,_0xa18c17){_0xeb144d=_0xeb144d-0x0;let _0x1043bb=_0xa18c[_0xeb144d];return _0x1043bb;};import{InlineEditableUIView as _0x4967bf,EditorUIView as _0x552a59,LabelView as _0x5d880b}from'ckeditor5/src/ui';import{uid as _0x32e971}from'ckeditor5/src/utils';import{getTranslation as _0x3978e6}from'../../../utils/common-translations';export default class Nt extends _0x552a59{constructor(_0x49c282,_0xb06903){super(_0x49c282);const _0x3e608b=_0x32e971();this[_0x1043('0x9')]=this[_0x1043('0xd')](),this['editable']=new _0x4967bf(_0x49c282,_0xb06903),this[_0x1043('0x8')]=this[_0x1043('0x4')](_0x3e608b,_0x49c282),this[_0x1043('0x1')]({'tag':_0x1043('0x7'),'attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners',_0x1043('0x10')],'role':_0x1043('0xc'),'dir':_0x49c282[_0x1043('0x11')],'lang':_0x49c282[_0x1043('0x13')],'aria-labelledby':'cke-editor__aria-label_'+_0x3e608b},'children':[this[_0x1043('0x8')],{'tag':'div','attributes':{'class':_0x1043('0x0'),'role':_0x1043('0xf')},'children':this[_0x1043('0x9')]}]});}[_0x1043('0x6')](){super[_0x1043('0x6')](),this[_0x1043('0x9')]['add'](this[_0x1043('0x12')]);}[_0x1043('0x5')](){this['editable'][_0x1043('0xa')]['focus']();}[_0x1043('0x4')](_0x1e83d3,_0x1c215b){const _0x46248f=new _0x5d880b();return _0x46248f[_0x1043('0xe')]=_0x3978e6(_0x1c215b,_0x1043('0x2')),_0x46248f[_0x1043('0xb')]({'attributes':{'id':'ck-editor__aria-label_'+_0x1e83d3,'class':_0x1043('0x3')}}),_0x46248f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ var _0x5c2d=['removeComment','submitCommentThread','view','resolveCommentThread','_isAttached','addComment','stopListening','resolve','isResolved','listenTo','submit','update','getComment','remove','reopen','updateComment','model'];(function(_0x16a53f,_0x5c2d50){var _0xf2c709=function(_0x534d0c){while(--_0x534d0c){_0x16a53f['push'](_0x16a53f['shift']());}};_0xf2c709(++_0x5c2d50);}(_0x5c2d,0xc3));var _0xf2c7=function(_0x16a53f,_0x5c2d50){_0x16a53f=_0x16a53f-0x0;var _0xf2c709=_0x5c2d[_0x16a53f];return _0xf2c709;};import{ObservableMixin as _0x413fe6}from'ckeditor5/src/utils';export default class ct extends _0x413fe6(){constructor(_0x1c019d,_0x4f946f){super(),this['model']=_0x1c019d,this['model'][_0xf2c7('0xd')]=!0x0,this[_0xf2c7('0xb')]=_0x4f946f,this[_0xf2c7('0x1')](_0x4f946f,_0xf2c7('0xa'),()=>this[_0xf2c7('0x2')]()),this['listenTo'](_0x4f946f,'removeCommentThread',()=>this[_0xf2c7('0x5')]()),this[_0xf2c7('0x1')](_0x4f946f,_0xf2c7('0xc'),()=>this[_0xf2c7('0x10')]()),this[_0xf2c7('0x1')](_0x4f946f,'reopenCommentThread',()=>this[_0xf2c7('0x6')]()),this['listenTo'](_0x4f946f,_0xf2c7('0xe'),(_0x5d9923,_0x230787)=>this[_0xf2c7('0xe')](_0x230787)),this['listenTo'](_0x4f946f,_0xf2c7('0x7'),(_0x21197a,_0x8922ba,_0x235378)=>this[_0xf2c7('0x7')](_0x8922ba,_0x235378)),this[_0xf2c7('0x1')](_0x4f946f,_0xf2c7('0x9'),(_0x3e67ba,_0x359542)=>this[_0xf2c7('0x9')](_0x359542));}[_0xf2c7('0x2')](){this['model']['submit']();}[_0xf2c7('0x5')](){this[_0xf2c7('0x8')]['remove']();}[_0xf2c7('0x10')](){this[_0xf2c7('0x8')][_0xf2c7('0x0')]||this[_0xf2c7('0x8')]['resolve']();}[_0xf2c7('0x6')](){this['model'][_0xf2c7('0x0')]&&this[_0xf2c7('0x8')][_0xf2c7('0x6')]();}[_0xf2c7('0xe')](_0x100c8d){this['model']['addComment']({'content':_0x100c8d,'authorId':this[_0xf2c7('0xb')]['_localUser']['id']});}[_0xf2c7('0x7')](_0x2b81cc,_0x506029){this[_0xf2c7('0x8')][_0xf2c7('0x4')](_0x2b81cc)[_0xf2c7('0x3')]({'content':_0x506029});}[_0xf2c7('0x9')](_0x2cb82f){this[_0xf2c7('0x8')][_0xf2c7('0x4')](_0x2cb82f)[_0xf2c7('0x5')]();}['destroy'](){this[_0xf2c7('0xf')](),this[_0xf2c7('0x8')]['_isAttached']=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ const _0x5544=['value','_createCommentThreadInputView','resolveCommentThread','submit','commentsListView','Reply...','updateComment','_model','hasDirtyComment','assign','editorDestroyed','editorConfig','commentThreadHeaderView','isResolved','delegate','change:isActive','length','stop','editorReady','isDirty','destroy','_localUser','set','commentInputView','element','showInput','commentThreadInputView','focus','_config','removeCommentThread','isSubmitted','placeholder','Reply','isActive','reopenCommentThread','CommentView','removeComment','bind','isReadOnly','fire','cancel','Comment','isResolvable','locale'];(function(_0x5f09b3,_0x5544d3){const _0x30c61a=function(_0x5408d4){while(--_0x5408d4){_0x5f09b3['push'](_0x5f09b3['shift']());}};_0x30c61a(++_0x5544d3);}(_0x5544,0x7c));const _0x30c6=function(_0x5f09b3,_0x5544d3){_0x5f09b3=_0x5f09b3-0x0;let _0x30c61a=_0x5544[_0x5f09b3];return _0x30c61a;};import{View as _0x2991f2}from'ckeditor5/src/ui';import _0xd139c1 from'./commentthreadinputview';import _0x348782 from'./commentslistview';import _0x456250 from'./commentthreadheaderview';import{getTranslation as _0x5ef696}from'../../../utils/common-translations';export default class Tt extends _0x2991f2{constructor(_0xe6bcdb,_0x572dcb,_0x5bdfec,_0x261fcb){super(_0xe6bcdb),this[_0x30c6('0x1e')](_0x30c6('0x29'),!0x1),this[_0x30c6('0x1e')](_0x30c6('0x1b'),!0x1),this[_0x30c6('0xf')]=_0x572dcb,this[_0x30c6('0x1d')]=_0x5bdfec,this[_0x30c6('0x24')]=_0x261fcb,this[_0x30c6('0x14')]=new _0x456250(_0xe6bcdb,_0x572dcb),this[_0x30c6('0x14')][_0x30c6('0x16')](_0x30c6('0x2a'))['to'](this),this['commentsListView']=new _0x348782(_0xe6bcdb,_0x572dcb,Object[_0x30c6('0x11')]({'CommentView':this[_0x30c6('0x24')][_0x30c6('0x2b')]},_0x261fcb)),this[_0x30c6('0xc')][_0x30c6('0x16')](_0x30c6('0x0'))['to'](this),this[_0x30c6('0xc')][_0x30c6('0x16')](_0x30c6('0xe'))['to'](this),this[_0x30c6('0xc')][_0x30c6('0x16')](_0x30c6('0xa'))['to'](this),this[_0x30c6('0xc')]['delegate'](_0x30c6('0x1a'))['to'](this),this[_0x30c6('0xc')][_0x30c6('0x16')](_0x30c6('0x12'))['to'](this),this['commentsListView'][_0x30c6('0x1')](_0x30c6('0x29'))['to'](this),this[_0x30c6('0x1e')]('length',this[_0x30c6('0xc')]['length']),this[_0x30c6('0x1')](_0x30c6('0x18'))['to'](this[_0x30c6('0xc')],_0x30c6('0x18')),this['commentThreadInputView']=this[_0x30c6('0x9')](),this[_0x30c6('0x22')][_0x30c6('0x16')]('editorReady')['to'](this),this[_0x30c6('0x22')][_0x30c6('0x16')](_0x30c6('0x12'))['to'](this),this['on'](_0x30c6('0x0'),()=>this[_0x30c6('0x23')]()),this[_0x30c6('0x1')](_0x30c6('0x1b'))['to'](this[_0x30c6('0xc')],_0x30c6('0x10'),this['commentThreadInputView'][_0x30c6('0x1f')],_0x30c6('0x8'),(_0x1b1bad,_0x144f27)=>_0x1b1bad||!!_0x144f27);}[_0x30c6('0x23')](){this[_0x30c6('0x20')][_0x30c6('0x23')]();}[_0x30c6('0x1c')](){this[_0x30c6('0x1b')]=!0x1,this['commentsListView'][_0x30c6('0x1c')](),this[_0x30c6('0x22')][_0x30c6('0x1c')](),super['destroy']();}[_0x30c6('0x9')](){const _0x1a1dd6=new _0xd139c1(this['locale'],this[_0x30c6('0x1d')],this[_0x30c6('0x24')][_0x30c6('0x13')]),_0x4840ed=_0x1a1dd6[_0x30c6('0x1f')];return _0x1a1dd6[_0x30c6('0x1')](_0x30c6('0x21'))['to'](this,'isActive',this[_0x30c6('0xf')],_0x30c6('0x2'),this[_0x30c6('0xf')],_0x30c6('0x15'),_0x4840ed,_0x30c6('0x8'),(_0x5e82e8,_0x6d57a5,_0x15af6a,_0x3cfe46)=>!!_0x3cfe46||_0x15af6a&&!_0x6d57a5||_0x5e82e8&&!_0x6d57a5),_0x4840ed[_0x30c6('0x1')](_0x30c6('0x27'))['to'](this,_0x30c6('0x18'),this[_0x30c6('0xf')],'isResolvable',this[_0x30c6('0xf')],_0x30c6('0x15'),(_0x9a496c,_0x6c9544,_0x3928af)=>{let _0x4ff7b5;return _0x4ff7b5=_0x3928af&&_0x6c9544?'Reply\x20to\x20reopen\x20discussion...':_0x9a496c?_0x30c6('0xd'):'Write\x20a\x20comment...',_0x5ef696(this[_0x30c6('0x7')],_0x4ff7b5);}),_0x4840ed[_0x30c6('0x1')]('submitLabel')['to'](this,_0x30c6('0x18'),_0x263c0c=>_0x5ef696(this['locale'],_0x263c0c?_0x30c6('0x28'):_0x30c6('0x5'))),_0x4840ed['on'](_0x30c6('0xb'),(_0x2ab4c5,_0x3d3877)=>{this['fire']('addComment',_0x3d3877),this[_0x30c6('0xf')][_0x30c6('0x15')]&&this[_0x30c6('0xf')][_0x30c6('0x6')]&&this[_0x30c6('0x3')]('reopenCommentThread',this[_0x30c6('0xf')]['id']),this[_0x30c6('0xf')][_0x30c6('0x26')]||this[_0x30c6('0x3')]('submitCommentThread');}),_0x4840ed['on']('cancel',()=>{this[_0x30c6('0x23')]();}),_0x4840ed['bind']('disabledSubmit')['to'](this[_0x30c6('0xf')],_0x30c6('0x2')),_0x4840ed['on'](_0x30c6('0x4'),_0x11075a=>{0x0==this[_0x30c6('0x18')]&&(this[_0x30c6('0x3')]('removeCommentThread'),_0x11075a[_0x30c6('0x19')]());}),this['on'](_0x30c6('0x17'),(_0x5a14cc,_0xaa0973,_0x42030a)=>{_0x42030a||this['length']||_0x4840ed[_0x30c6('0x8')]||this[_0x30c6('0x3')](_0x30c6('0x25'));}),_0x1a1dd6;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ const _0x3614=['locale','destroy','editorConfig','delegate','add','isReadOnly','element','isCollapsed','editorReady','isEditMode','updateComment','switchToEditMode','focus','editorDestroyed','Save','maxCommentCharsWhenCollapsed','submit','set','cancel','switchToDisplayMode','remove','_createCommentInputView','createCollection','visibleView','_createCommentContentView','_model','isSystemComment','content','createEditor','get','submitLabel','expand','_config'];(function(_0x3823bb,_0x361454){const _0x4438bd=function(_0x4c7355){while(--_0x4c7355){_0x3823bb['push'](_0x3823bb['shift']());}};_0x4438bd(++_0x361454);}(_0x3614,0x150));const _0x4438=function(_0x3823bb,_0x361454){_0x3823bb=_0x3823bb-0x0;let _0x4438bd=_0x3614[_0x3823bb];return _0x4438bd;};import{View as _0x18669b}from'ckeditor5/src/ui';import{trimHtml as _0x1a879d}from'ckeditor5-collaboration/src/collaboration-core';import _0x2e3894 from'./commentcontentview';import _0x275640 from'./commentinputview';import{getTranslation as _0x2538fc}from'../../../utils/common-translations';export default class Yt extends _0x18669b{constructor(_0x4f17ed,_0x35f28c,_0x4d6668){super(_0x4f17ed),this[_0x4438('0x13')]=_0x35f28c,this[_0x4438('0x1a')]=_0x4d6668,this[_0x4438('0x14')]=!!this['_config'][_0x4438('0x14')],this[_0x4438('0xb')](_0x4438('0x3'),!0x1),this[_0x4438('0xb')]('isCollapsed',!0x0),this[_0x4438('0x11')]=this[_0x4438('0x10')](),this[_0x4438('0x11')]['add'](this[_0x4438('0x12')]());}[_0x4438('0x19')](){this[_0x4438('0x1')]=!0x1;}['collapse'](){this[_0x4438('0x3')]||(this['isCollapsed']=!0x0);}['focus'](){this[_0x4438('0x0')][_0x4438('0x6')]();}async['destroy'](){await this[_0x4438('0x11')][_0x4438('0x17')](0x0)[_0x4438('0x1c')](),super['destroy']();}[_0x4438('0x5')](){this[_0x4438('0x3')]||(this[_0x4438('0x3')]=!0x0,this[_0x4438('0x11')][_0x4438('0xe')](0x0)[_0x4438('0x1c')](),this['visibleView'][_0x4438('0x1f')](this['_createCommentInputView']()));}[_0x4438('0xd')](){this[_0x4438('0x3')]&&(this[_0x4438('0x3')]=!0x1,this['visibleView'][_0x4438('0xe')](0x0)[_0x4438('0x1c')](),this[_0x4438('0x11')][_0x4438('0x1f')](this[_0x4438('0x12')]()));}[_0x4438('0x12')](){const _0x3ef005=new _0x2e3894(this[_0x4438('0x1b')]);return _0x3ef005['bind']('content')['to'](this[_0x4438('0x13')],'content',this,_0x4438('0x1'),(_0x1e0abc,_0x561141)=>_0x561141?_0x1a879d(_0x1e0abc,{'limit':this[_0x4438('0x1a')][_0x4438('0x9')]}):_0x1e0abc),_0x3ef005;}[_0x4438('0xf')](){this['_config'][_0x4438('0x1d')]||(this[_0x4438('0x1a')][_0x4438('0x1d')]={}),this[_0x4438('0x1a')][_0x4438('0x1d')]['initialData']=this[_0x4438('0x13')][_0x4438('0x15')];const _0x1290e6=new _0x275640(this[_0x4438('0x1b')],this['_config'][_0x4438('0x1d')]);return _0x1290e6['value']=this[_0x4438('0x13')]['content'],_0x1290e6['bind']('disabledSubmit')['to'](this['_model'],_0x4438('0x20')),_0x1290e6[_0x4438('0x18')]=_0x2538fc(this[_0x4438('0x1b')],_0x4438('0x8')),_0x1290e6['on'](_0x4438('0xa'),(_0x196c83,_0x3e1342)=>{this['fire'](_0x4438('0x4'),this[_0x4438('0x13')]['id'],_0x3e1342),this[_0x4438('0xd')](),this[_0x4438('0x6')]();}),_0x1290e6['on'](_0x4438('0xc'),()=>{this['switchToDisplayMode'](),this[_0x4438('0x6')]();}),_0x1290e6['once']('editorReady',()=>{_0x1290e6[_0x4438('0x6')]();}),_0x1290e6[_0x4438('0x16')](),_0x1290e6[_0x4438('0x1e')](_0x4438('0x2'))['to'](this),_0x1290e6[_0x4438('0x1e')](_0x4438('0x7'))['to'](this),_0x1290e6;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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))}]});}}
23
+ const _0x357d=['setTemplate','count','NUMBER_OF_COMMENTS','ck-thread__comment-count','bindTemplate','set'];(function(_0x101749,_0x357d99){const _0x33df0e=function(_0x46414e){while(--_0x46414e){_0x101749['push'](_0x101749['shift']());}};_0x33df0e(++_0x357d99);}(_0x357d,0xa7));const _0x33df=function(_0x101749,_0x357d99){_0x101749=_0x101749-0x0;let _0x33df0e=_0x357d[_0x101749];return _0x33df0e;};import{View as _0x3c9af0}from'ckeditor5/src/ui';import{getTranslation as _0x10f5df}from'../../../utils/common-translations';export default class Zt extends _0x3c9af0{constructor(_0x2d7c59){super(_0x2d7c59);const _0x39d89b=this[_0x33df('0x5')];this[_0x33df('0x0')](_0x33df('0x2'),void 0x0),this[_0x33df('0x1')]({'tag':'li','attributes':{'class':_0x33df('0x4')},'children':[{'text':_0x39d89b['to'](_0x33df('0x2'),_0x166134=>_0x10f5df(_0x2d7c59,_0x33df('0x3'),_0x166134))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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'];}}
23
+ var _0x2d52=['set','change:content','ck-annotation__content','element','content','div','innerHTML','render'];(function(_0x43abbf,_0x2d52ff){var _0x125e00=function(_0x10647b){while(--_0x10647b){_0x43abbf['push'](_0x43abbf['shift']());}};_0x125e00(++_0x2d52ff);}(_0x2d52,0x180));var _0x125e=function(_0x43abbf,_0x2d52ff){_0x43abbf=_0x43abbf-0x0;var _0x125e00=_0x2d52[_0x43abbf];return _0x125e00;};import{View as _0x5c2bfa}from'ckeditor5/src/ui';export default class Ut extends _0x5c2bfa{constructor(_0x4bffb7){super(_0x4bffb7),this[_0x125e('0x0')](_0x125e('0x4'),''),this['setTemplate']({'tag':_0x125e('0x5'),'attributes':{'class':['ck-comment__content',_0x125e('0x2')]}});}['render'](){super[_0x125e('0x7')](),this['on'](_0x125e('0x1'),(_0x37d11b,_0x1e721b,_0x5a4d48)=>{this[_0x125e('0x3')]['innerHTML']=_0x5a4d48;}),this['element'][_0x125e('0x6')]=this[_0x125e('0x4')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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')});}}
23
+ const _0xf17d=['extendTemplate','cancel','createEditor','initialData','keystrokes','focusTracker','document','high','submit','label','low','submitLabel','bind','focusPrevious','TOO_LONG_COMMENT_ALERT','ck-comment__input-wrapper','fire','focus','_createCancelButton','tab','submitButtonView','Esc','_editorConfig','_editorCreationPromise','ck-comment__input-actions--active','firstChild','getData','cancelButtonView','ck-comment__input-actions','placeholder','set','bindTemplate','withText','Reply','editor','shift\x20+\x20tab','then','add','_isDestroyed','execute','stop','destroy','model','change','setData','view','create','ck-comment__input-actions--cancel','length','element','disabledSubmit','forEach','trim','render','isEnabled','_initializeFocusCycling','div','insertBefore','_createSubmitButton','value','Reply...','setTemplate','editorDestroyed','focusNext','editorReady'];(function(_0x1cb2b4,_0xf17d40){const _0x2af1be=function(_0x3a7688){while(--_0x3a7688){_0x1cb2b4['push'](_0x1cb2b4['shift']());}};_0x2af1be(++_0xf17d40);}(_0xf17d,0xdc));const _0x2af1=function(_0x1cb2b4,_0xf17d40){_0x1cb2b4=_0x1cb2b4-0x0;let _0x2af1be=_0xf17d[_0x1cb2b4];return _0x2af1be;};import{View as _0x79b7e6,ViewCollection as _0x98ca5b,FocusCycler as _0x416223,ButtonView as _0x492e21}from'ckeditor5/src/ui';import{FocusTracker as _0x4afbd0,KeystrokeHandler as _0x35f02a}from'ckeditor5/src/utils';import _0x28a36e from'../commenteditor/commenteditor';import{getTranslation as _0x245e85}from'../../../utils/common-translations';export default class Xt extends _0x79b7e6{constructor(_0x5746c9,_0x268a6b={}){super(_0x5746c9),this['editor']=null,this['_editorConfig']=_0x268a6b,this[_0x2af1('0x2c')]=new _0x35f02a(),this[_0x2af1('0x2d')]=new _0x4afbd0(),this[_0x2af1('0x5')]('value',_0x268a6b[_0x2af1('0x2b')]||''),this[_0x2af1('0x5')](_0x2af1('0x19'),!0x1),this['set']('showButtons',!0x0),this[_0x2af1('0x5')](_0x2af1('0x4'),_0x245e85(_0x5746c9,_0x2af1('0x23'))),this[_0x2af1('0x5')](_0x2af1('0x33'),_0x245e85(_0x5746c9,_0x2af1('0x8'))),this[_0x2af1('0x3c')]=this[_0x2af1('0x21')](),this[_0x2af1('0x2')]=this[_0x2af1('0x3a')](),this[_0x2af1('0x24')]({'tag':_0x2af1('0x1f'),'attributes':{'class':[_0x2af1('0x37')]},'children':[{'tag':_0x2af1('0x1f'),'attributes':{'class':[_0x2af1('0x3'),this[_0x2af1('0x6')]['if']('showButtons',_0x2af1('0x40'))]},'children':[this['submitButtonView'],this[_0x2af1('0x2')]]}]}),this[_0x2af1('0x2c')][_0x2af1('0x5')](_0x2af1('0x3d'),(_0x3a6e8d,_0xc0c5b2)=>{this['cancelButtonView'][_0x2af1('0x38')](_0x2af1('0xe')),_0xc0c5b2();}),this['on'](_0x2af1('0x30'),(_0x5da0fd,_0x1b0da2)=>{_0x1b0da2[_0x2af1('0x17')]>0xfde8?(alert(_0x245e85(_0x5746c9,_0x2af1('0x36'),[_0x1b0da2[_0x2af1('0x17')],0xfde8])),_0x5da0fd[_0x2af1('0xf')]()):this[_0x2af1('0x9')][_0x2af1('0x13')]('');},{'priority':_0x2af1('0x2f')});}[_0x2af1('0x1c')](){super['render'](),this[_0x2af1('0x2c')]['listenTo'](this['element']),this[_0x2af1('0x2d')][_0x2af1('0xc')](this[_0x2af1('0x18')]);}[_0x2af1('0x2a')](){return this[_0x2af1('0x9')]||(this[_0x2af1('0x9')]=new _0x28a36e(this[_0x2af1('0x3e')]),this[_0x2af1('0x3f')]=this[_0x2af1('0x9')][_0x2af1('0x15')]()[_0x2af1('0xb')](()=>{if(this[_0x2af1('0xd')])return;const _0x11643d=this[_0x2af1('0x9')];this['element'][_0x2af1('0x20')](_0x11643d['ui'][_0x2af1('0x18')],this[_0x2af1('0x18')][_0x2af1('0x0')]),_0x11643d[_0x2af1('0x11')][_0x2af1('0x2e')]['on'](_0x2af1('0x12'),()=>this[_0x2af1('0x22')]=_0x11643d[_0x2af1('0x1')]()),_0x11643d['bind']('placeholder')['to'](this),this[_0x2af1('0x1e')](this[_0x2af1('0x9')]),this['fire'](_0x2af1('0x27'),this[_0x2af1('0x9')]);})),this[_0x2af1('0x3f')];}[_0x2af1('0x39')](){this[_0x2af1('0x9')]&&this[_0x2af1('0x9')][_0x2af1('0x39')]();}async[_0x2af1('0x10')](){this[_0x2af1('0xd')]||(this[_0x2af1('0xd')]=!0x0,this['editor']&&(await this[_0x2af1('0x3f')],await this[_0x2af1('0x9')][_0x2af1('0x10')](),this[_0x2af1('0x38')](_0x2af1('0x25'),this[_0x2af1('0x9')])),await super[_0x2af1('0x10')]());}[_0x2af1('0x21')](){const {locale:_0x27e2da}=this,_0x5d485b=new _0x492e21(_0x27e2da);return _0x5d485b[_0x2af1('0x28')]({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x5d485b[_0x2af1('0x7')]=!0x0,_0x5d485b[_0x2af1('0x34')](_0x2af1('0x31'))['to'](this,_0x2af1('0x33')),_0x5d485b['on']('execute',()=>{this[_0x2af1('0x38')]('submit',this[_0x2af1('0x22')]);}),_0x5d485b[_0x2af1('0x34')](_0x2af1('0x1d'))['to'](this,_0x2af1('0x22'),this,_0x2af1('0x19'),(_0x3a1a32,_0x5d9d64)=>!_0x5d9d64&&!!_0x3a1a32[_0x2af1('0x1b')]()),_0x5d485b;}['_createCancelButton'](){const {locale:_0x44a9f8}=this,_0x511d2b=new _0x492e21(_0x44a9f8);return _0x511d2b[_0x2af1('0x28')]({'attributes':{'class':[_0x2af1('0x16')]}}),_0x511d2b[_0x2af1('0x31')]=_0x245e85(_0x44a9f8,'Cancel'),_0x511d2b[_0x2af1('0x7')]=!0x0,_0x511d2b['on'](_0x2af1('0xe'),()=>{this['editor']['setData'](''),this['fire'](_0x2af1('0x29'));}),_0x511d2b;}[_0x2af1('0x1e')](_0x11bd96){const _0x196787=this[_0x2af1('0x2d')],_0x41ffe3=new _0x98ca5b();[_0x11bd96['ui'][_0x2af1('0x14')],this[_0x2af1('0x3c')],this[_0x2af1('0x2')]][_0x2af1('0x1a')](_0x52a793=>{_0x41ffe3[_0x2af1('0xc')](_0x52a793),_0x196787[_0x2af1('0xc')](_0x52a793[_0x2af1('0x18')]);});const _0x19383e=new _0x416223({'focusables':_0x41ffe3,'focusTracker':_0x196787});this[_0x2af1('0x2c')][_0x2af1('0x5')](_0x2af1('0x3b'),(_0x24bb2a,_0xe319a3)=>{_0x19383e[_0x2af1('0x26')](),_0xe319a3();},{'priority':_0x2af1('0x32')}),this[_0x2af1('0x2c')][_0x2af1('0x5')](_0x2af1('0xa'),(_0x5d8fcc,_0x3e1f91)=>{_0x19383e[_0x2af1('0x35')](),_0x3e1f91();},{'priority':_0x2af1('0x32')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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')]();}}
23
+ const _0x38d9=['element','isActive','tab','arrowright','EMPTY_COMMENTS_ARCHIVE','bindTemplate','ck-hidden','length','shift\x20+\x20tab','destroy','_keystrokes','auto','stopPropagation','set','COMMENTS_ARCHIVE','ck-comments-archive__header\x20','arrowleft','add','arrowdown','isEmpty','ck-comments-archive__info','selectstart','render','ck-comments-archive__content','div','focus','_focusTracker','_focusCycler','listenTo','ck-comments-archive'];(function(_0xf59519,_0x38d9e3){const _0x2744bd=function(_0x33b4d2){while(--_0x33b4d2){_0xf59519['push'](_0xf59519['shift']());}};_0x2744bd(++_0x38d9e3);}(_0x38d9,0xa4));const _0x2744=function(_0xf59519,_0x38d9e3){_0xf59519=_0xf59519-0x0;let _0x2744bd=_0x38d9[_0xf59519];return _0x2744bd;};import{View as _0x12cd63,FocusCycler as _0x4a269f}from'ckeditor5/src/ui';import{FocusTracker as _0x4aa7ef,KeystrokeHandler as _0x370f4e}from'ckeditor5/src/utils';import{getTranslation as _0x54a7f5}from'../../../utils/common-translations';export default class K extends _0x12cd63{constructor(_0x897434,_0x2fd4bb){super(_0x897434),this[_0x2744('0x1d')](_0x2744('0x5'),!_0x2fd4bb[_0x2744('0x17')]),this[_0x2744('0xc')]=new _0x4aa7ef(),this[_0x2744('0x1a')]=new _0x370f4e(),this['_focusables']=_0x2fd4bb,this[_0x2744('0xd')]=new _0x4a269f({'focusables':this['_focusables'],'focusTracker':this[_0x2744('0xc')],'keystrokeHandler':this[_0x2744('0x1a')],'actions':{'focusPrevious':_0x2744('0x18'),'focusNext':_0x2744('0x12')}}),this[_0x2744('0xe')](_0x2fd4bb,_0x2744('0x3'),()=>{this['isEmpty']=!0x1;}),this['listenTo'](_0x2fd4bb,'remove',(_0x175d03,_0x2a9b11)=>{_0x2a9b11[_0x2744('0x11')]&&this[_0x2744('0xb')](),_0x2fd4bb[_0x2744('0x17')]||(this[_0x2744('0x5')]=!0x0);});const _0x3fc251=this[_0x2744('0x15')];this['setTemplate']({'tag':'div','attributes':{'dir':_0x2744('0x1b'),'class':['ck',_0x2744('0xf')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x2744('0x1')]},'children':[{'text':_0x54a7f5(_0x897434,_0x2744('0x0'))}]},{'tag':'div','attributes':{'class':[_0x2744('0x9')]},'children':[{'tag':_0x2744('0xa'),'children':_0x2fd4bb},{'tag':'p','attributes':{'class':[_0x2744('0x6'),_0x3fc251['if']('isEmpty',_0x2744('0x16'),_0x40c50d=>!_0x40c50d)]},'children':[{'text':_0x54a7f5(_0x897434,_0x2744('0x14'))}]}]}]});}['render'](){super[_0x2744('0x8')](),this[_0x2744('0x1a')][_0x2744('0xe')](this[_0x2744('0x10')]);const _0x4eaee2=_0xad1e78=>_0xad1e78[_0x2744('0x1c')]();this[_0x2744('0x1a')][_0x2744('0x1d')](_0x2744('0x13'),_0x4eaee2),this['_keystrokes'][_0x2744('0x1d')](_0x2744('0x2'),_0x4eaee2),this[_0x2744('0x1a')][_0x2744('0x1d')]('arrowup',_0x4eaee2),this[_0x2744('0x1a')]['set'](_0x2744('0x4'),_0x4eaee2),this['listenTo'](this[_0x2744('0x10')],_0x2744('0x7'),(_0x48cbab,_0x422f32)=>{_0x422f32['stopPropagation']();},{'priority':'high'});}[_0x2744('0x19')](){super[_0x2744('0x19')](),this[_0x2744('0xc')][_0x2744('0x19')](),this[_0x2744('0x1a')][_0x2744('0x19')]();}[_0x2744('0xb')](){this['element'][_0x2744('0xb')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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++;}}
23
+ const _0x3be4=['removeComment','delete','visibleViews','_shouldCollapse','maxCommentsWhenCollapsed','from','locale','Marked\x20as\x20resolved','_findOptimalIndex','resolvedAt','element','editorDestroyed','get','focus','length','_updateHasDirtyComment','viewUid','createCollection','formatDateTime','expand','stopListening','resolvedCommentView','collapse','maxCommentCharsWhenCollapsed','_calculatePosition','listenTo','commentViews','set','delegate','setTemplate','comments','resolved','isActive','destroy','CommentView','commentUpdated','_model','weight','hasDirtyComment','resolvedBy','count','remove','change:isEditMode','_handleNewCommentModel','_handleRemoveCommentModel','authoredAt','editorConfig','render','isEditMode','refreshVisibleViews','_collapsedCommentsView','add','_handleInfoComment','_config','insert','_rearrangeExpand','updateComment','change:isResolved'];(function(_0x297a44,_0x3be452){const _0x644c86=function(_0x4074e5){while(--_0x4074e5){_0x297a44['push'](_0x297a44['shift']());}};_0x644c86(++_0x3be452);}(_0x3be4,0x112));const _0x644c=function(_0x297a44,_0x3be452){_0x297a44=_0x297a44-0x0;let _0x644c86=_0x3be4[_0x297a44];return _0x644c86;};import{View as _0x57347e}from'ckeditor5/src/ui';import{diff as _0x41ab8b,Collection as _0x3d154f}from'ckeditor5/src/utils';import{getTranslation as _0x15eb29}from'../../../utils/common-translations';import _0x1a32bc from'./collapsedcommentsview';export default class wt extends _0x57347e{constructor(_0x583310,_0x1488af,_0xec2880){super(_0x583310),this[_0x644c('0x2b')](_0x644c('0x36'),!0x1),this['set'](_0x644c('0x1e'),_0x1488af[_0x644c('0x2e')][_0x644c('0x1e')]),this[_0x644c('0x2b')](_0x644c('0x30'),!0x1),this[_0x644c('0x34')]=_0x1488af,this['_config']=_0xec2880,this[_0x644c('0x2a')]=this[_0x644c('0x21')](),this[_0x644c('0x12')]=this['createCollection'](),this[_0x644c('0x25')]=null,this[_0x644c('0x8')]=new _0x1a32bc(_0x583310),this[_0x644c('0x8')]['bind'](_0x644c('0x38'))['to'](this,_0x644c('0x1e'),_0x42bfee=>_0x42bfee-this[_0x644c('0xb')][_0x644c('0x14')]);for(const _0x159a3a of _0x1488af[_0x644c('0x2e')])this[_0x644c('0x1')](_0x159a3a);this[_0x644c('0xa')](),this[_0x644c('0x29')](_0x1488af[_0x644c('0x2e')],_0x644c('0x9'),(_0x1065fe,_0x574516)=>{const _0x402307=this[_0x644c('0x28')](_0x574516);this['length']++,this[_0x644c('0x1')](_0x574516,_0x402307),this[_0x644c('0x7')]();}),this[_0x644c('0x29')](_0x1488af[_0x644c('0x2e')],_0x644c('0x39'),(_0xfebe41,_0x2c5812)=>{this[_0x644c('0x1e')]--,this[_0x644c('0x2')](_0x2c5812),this['refreshVisibleViews']();}),this[_0x644c('0x29')](_0x1488af,_0x644c('0x33'),()=>this[_0x644c('0x7')]()),this[_0x644c('0x29')](_0x1488af,_0x644c('0xf'),()=>this[_0x644c('0xa')]()),this['on']('change:isActive',()=>this[_0x644c('0x7')]()),this['on']('change:hasDirtyComment',()=>this[_0x644c('0x7')]()),this[_0x644c('0x2d')]({'tag':'ul','attributes':{'class':['ck-thread__comments']},'children':this[_0x644c('0x12')]});}get[_0x644c('0x13')](){return this['_model'][_0x644c('0x35')]>this[_0x644c('0xb')]['maxThreadTotalWeight']&&!this[_0x644c('0x30')]&&!this[_0x644c('0x36')];}['render'](){super[_0x644c('0x5')](),this['refreshVisibleViews']();}['focus'](){this[_0x644c('0x1a')][_0x644c('0x1d')]();}['destroy'](){this['_collapsedCommentsView'][_0x644c('0x31')]();for(const _0x42dfb6 of this[_0x644c('0x2a')])_0x42dfb6[_0x644c('0x31')]();super[_0x644c('0x31')]();}[_0x644c('0x7')](){this[_0x644c('0x13')]?this['_rearrangeCollapse']():this[_0x644c('0xd')]();}[_0x644c('0x1')](_0x2d09ce,_0x287b31){const _0x4cbfe5=new this[(_0x644c('0xb'))]['CommentView'](this[_0x644c('0x16')],_0x2d09ce,{'maxCommentCharsWhenCollapsed':this[_0x644c('0xb')][_0x644c('0x27')],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this[_0x644c('0xb')]['editorConfig']});_0x4cbfe5[_0x644c('0x20')]=_0x2d09ce['id'],_0x4cbfe5['delegate'](_0x644c('0x10'))['to'](this),_0x4cbfe5[_0x644c('0x2c')](_0x644c('0xe'))['to'](this),_0x4cbfe5['delegate']('resolveCommentThread')['to'](this),_0x4cbfe5[_0x644c('0x2c')]('editorReady')['to'](this),_0x4cbfe5[_0x644c('0x2c')](_0x644c('0x1b'))['to'](this),this['listenTo'](_0x4cbfe5,_0x644c('0x0'),()=>this['_updateHasDirtyComment']()),this[_0x644c('0x2a')][_0x644c('0x9')](_0x4cbfe5,_0x287b31);}['_calculatePosition'](_0x16bd01){const _0x346de4=this[_0x644c('0x34')][_0x644c('0x18')](_0x16bd01);return this[_0x644c('0x25')]?this['resolvedCommentView'][_0x644c('0x3')]>_0x16bd01[_0x644c('0x3')]?_0x346de4-0x1:_0x346de4:_0x346de4-0x1;}[_0x644c('0xa')](){if(this[_0x644c('0x34')][_0x644c('0x37')]&&this[_0x644c('0x34')]['resolvedAt']){const _0x1243eb={'id':_0x644c('0x2f'),'author':this['_model'][_0x644c('0x37')],'authoredAt':this['_model'][_0x644c('0x19')],'content':_0x15eb29(this['locale'],_0x644c('0x17')),'attributes':{}};this[_0x644c('0x25')]=new this[(_0x644c('0xb'))][(_0x644c('0x32'))](this[_0x644c('0x16')],_0x1243eb,{'maxCommentCharsWhenCollapsed':this['_config'][_0x644c('0x27')],'formatDateTime':this[_0x644c('0xb')][_0x644c('0x22')],'editorConfig':this[_0x644c('0xb')][_0x644c('0x4')],'isSystemComment':!0x0}),this[_0x644c('0x2a')][_0x644c('0x9')](this[_0x644c('0x25')],this[_0x644c('0x34')][_0x644c('0x18')](_0x1243eb));}else this[_0x644c('0x25')]&&(this[_0x644c('0x2a')][_0x644c('0x39')](this['resolvedCommentView']),this[_0x644c('0x25')][_0x644c('0x31')](),this[_0x644c('0x25')]=null);this[_0x644c('0x7')]();}['_handleRemoveCommentModel'](_0x393673){const _0x3fada8=this['commentViews']['remove'](_0x393673['id']);this[_0x644c('0x24')](_0x3fada8),_0x3fada8['isEditMode']&&this[_0x644c('0x1f')](),_0x3fada8['destroy']();}[_0x644c('0x1f')](){this[_0x644c('0x36')]=Array['from'](this[_0x644c('0x2a')])['some'](_0x2c2907=>_0x2c2907[_0x644c('0x6')]);}['_rearrangeCollapse'](){const _0x573e34=function(_0x2abad5){const _0x3c9b22=new _0x3d154f();for(const _0x3bd3cb of _0x2abad5)_0x3c9b22[_0x644c('0x9')](_0x3bd3cb);return _0x3c9b22;}(this[_0x644c('0x2a')]),_0x3b077c=this[_0x644c('0x8')][_0x644c('0x38')];for(let _0x1abb82=0x1;_0x1abb82<=_0x3b077c;_0x1abb82++)_0x573e34[_0x644c('0x39')](0x1);for(const _0x37eb58 of _0x573e34)_0x37eb58[_0x644c('0x26')]();_0x3b077c>0x0&&_0x573e34['add'](this['_collapsedCommentsView'],0x1),ss(_0x41ab8b(Array[_0x644c('0x15')](this['visibleViews']),Array[_0x644c('0x15')](_0x573e34)),this['visibleViews'],_0x573e34);}['_rearrangeExpand'](){ss(_0x41ab8b(Array[_0x644c('0x15')](this[_0x644c('0x12')]),Array[_0x644c('0x15')](this[_0x644c('0x2a')])),this['visibleViews'],this[_0x644c('0x2a')]);for(const _0x1b5cda of this['visibleViews'])_0x1b5cda[_0x644c('0x23')]();}}function ss(_0x179ae9,_0x10e308,_0x30f8a2){let _0x3bda79=0x0;for(const _0x3a4c52 of _0x179ae9)switch(_0x3a4c52){case _0x644c('0xc'):_0x10e308['add'](_0x30f8a2[_0x644c('0x1c')](_0x3bda79),_0x3bda79),_0x3bda79++;break;case _0x644c('0x11'):_0x10e308[_0x644c('0x39')](_0x3bda79);break;case'equal':_0x3bda79++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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');});}}
23
+ const _0x5e97=['listenTo','.ck-context__value','_createReopenButton','contextValue','classList','isVisible','ck-context-wrapper','_attachContextActions','element','isResolvable','length','tooltip','hasContext','isEnabled','querySelector','overlay','Reopen','_trimContextValue','add','isReadOnly','locale','.ck-context','mouseenter','value','icon','bind','mouseleave','offsetWidth','reopenCommentThread','reopenButtonView','_model','fire','ck-thread__header','div','render','ck-context','label','remove','context','...','lastIndexOf','substring'];(function(_0x1a8e1b,_0x5e97c1){const _0x1a9df6=function(_0x41de31){while(--_0x41de31){_0x1a8e1b['push'](_0x1a8e1b['shift']());}};_0x1a9df6(++_0x5e97c1);}(_0x5e97,0x6a));const _0x1a9d=function(_0x1a8e1b,_0x5e97c1){_0x1a8e1b=_0x1a8e1b-0x0;let _0x1a9df6=_0x5e97[_0x1a8e1b];return _0x1a9df6;};import{View as _0x54c1bd,ButtonView as _0x14409b}from'ckeditor5/src/ui';import{getTranslation as _0x278147}from'../../../utils/common-translations';import _0x463cd0 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Rt extends _0x54c1bd{constructor(_0xebea2a,_0x5ec313){super(_0xebea2a);const _0x1150e1=this['bindTemplate'];this[_0x1a9d('0x8')]=_0x5ec313,this[_0x1a9d('0x7')]=this[_0x1a9d('0x16')](),this[_0x1a9d('0x3')](_0x1a9d('0x20'))['to'](this[_0x1a9d('0x8')],_0x1a9d('0x10'),_0xf14bc5=>!!_0xf14bc5),this[_0x1a9d('0x3')](_0x1a9d('0x17'))['to'](this[_0x1a9d('0x8')],'context',_0x36ea9e=>_0x36ea9e&&_0x36ea9e['value']?this[_0x1a9d('0x25')](_0x36ea9e[_0x1a9d('0x1')]):_0x278147(this[_0x1a9d('0x28')],'Comment\x20was\x20made\x20on\x20an\x20element')),this['setTemplate']({'tag':_0x1a9d('0xb'),'attributes':{'class':[_0x1a9d('0xa')]},'children':[{'tag':_0x1a9d('0xb'),'attributes':{'class':[_0x1a9d('0x1a')]},'children':[{'tag':'div','attributes':{'class':[_0x1a9d('0xd'),_0x1150e1['if'](_0x1a9d('0x20'),'ck-context--quotes')]},'children':[{'tag':'span','attributes':{'class':['ck-context__value']},'children':[{'text':_0x1150e1['to']('contextValue')}]}]}]},{'tag':_0x1a9d('0xb'),'attributes':{'class':['ck-annotation__actions']},'children':[this[_0x1a9d('0x7')]]}]});}[_0x1a9d('0xc')](){super[_0x1a9d('0xc')](),this[_0x1a9d('0x1b')]();}[_0x1a9d('0x16')](){const _0x4d90ab=new _0x14409b(this['locale']);return _0x4d90ab[_0x1a9d('0xe')]=_0x278147(this[_0x1a9d('0x28')],_0x1a9d('0x24')),_0x4d90ab[_0x1a9d('0x1f')]=_0x278147(this[_0x1a9d('0x28')],_0x1a9d('0x24')),_0x4d90ab[_0x1a9d('0x2')]=_0x463cd0,_0x4d90ab[_0x1a9d('0x3')](_0x1a9d('0x21'))['to'](this[_0x1a9d('0x8')],_0x1a9d('0x27'),_0x4cb624=>!_0x4cb624),_0x4d90ab['bind'](_0x1a9d('0x19'))['to'](this[_0x1a9d('0x8')],_0x1a9d('0x1d')),_0x4d90ab['on']('execute',()=>{this[_0x1a9d('0x9')](_0x1a9d('0x6'),this['_model']['id']);}),_0x4d90ab;}[_0x1a9d('0x25')](_0x780b06){if(_0x780b06[_0x1a9d('0x1e')]<0x96)return _0x780b06;const _0x31c8b4=_0x780b06[_0x1a9d('0x12')]('\x20',0x93);return _0x780b06[_0x1a9d('0x13')](0x0,_0x31c8b4>-0x1?_0x31c8b4:0x93)+_0x1a9d('0x11');}[_0x1a9d('0x1b')](){const _0x717e86=this[_0x1a9d('0x1c')]['querySelector'](_0x1a9d('0x29')),_0xed8c77=_0x717e86[_0x1a9d('0x22')](_0x1a9d('0x15'));this[_0x1a9d('0x14')](_0x717e86,_0x1a9d('0x0'),()=>{_0xed8c77[_0x1a9d('0x5')]<_0xed8c77['scrollWidth']&&_0x717e86[_0x1a9d('0x18')][_0x1a9d('0x26')](_0x1a9d('0x23'));}),this[_0x1a9d('0x14')](_0x717e86,_0x1a9d('0x4'),()=>{_0x717e86['classList'][_0x1a9d('0xf')](_0x1a9d('0x23'));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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')]());}}
23
+ var _0x4901=['isFocused','div','editorReady','ck-thread__input','bind','bindTemplate','extendTemplate','showInput','ck-thread__user','commentInputView','value','destroy','createEditor','change:showInput','editorDestroyed','delegate','focusTracker','userView','editor','set','showButtons','ck-comment__input-container'];(function(_0x145561,_0x490147){var _0x42196f=function(_0x5b6d5b){while(--_0x5b6d5b){_0x145561['push'](_0x145561['shift']());}};_0x42196f(++_0x490147);}(_0x4901,0xb9));var _0x4219=function(_0x145561,_0x490147){_0x145561=_0x145561-0x0;var _0x42196f=_0x4901[_0x145561];return _0x42196f;};import{View as _0x553912}from'ckeditor5/src/ui';import _0x430088 from'./commentinputview';import{UserView as _0x23cf5d}from'ckeditor5-collaboration/src/collaboration-core';export default class Ct extends _0x553912{constructor(_0x4920b5,_0x1acbd7,_0x30f961){super(_0x4920b5),this[_0x4219('0x0')]=new _0x430088(_0x4920b5,_0x30f961),this[_0x4219('0x0')][_0x4219('0x11')](_0x4219('0xb'))['to'](this[_0x4219('0x0')][_0x4219('0x7')],_0x4219('0xd'),this['commentInputView'],_0x4219('0x1'),(_0x4a3e2d,_0x3c58e9)=>_0x4a3e2d||!!_0x3c58e9),this[_0x4219('0xa')](_0x4219('0x14'),!0x1),this['on'](_0x4219('0x4'),()=>{this[_0x4219('0x14')]&&!this[_0x4219('0x0')][_0x4219('0x9')]&&this[_0x4219('0x0')][_0x4219('0x3')]();}),this[_0x4219('0x0')]['delegate'](_0x4219('0xf'))['to'](this),this[_0x4219('0x0')][_0x4219('0x6')](_0x4219('0x5'))['to'](this),this[_0x4219('0x8')]=new _0x23cf5d(_0x4920b5,_0x1acbd7),this[_0x4219('0x8')]['extendTemplate']({'attributes':{'class':_0x4219('0x15')}}),this['commentInputView'][_0x4219('0x13')]({'attributes':{'class':_0x4219('0x10')}}),this['setTemplate']({'tag':_0x4219('0xe'),'attributes':{'class':[_0x4219('0xc'),this[_0x4219('0x12')]['if'](_0x4219('0x14'),'ck-comment__input-container--active')]},'children':[this[_0x4219('0x8')],this[_0x4219('0x0')]]});}[_0x4219('0x2')](){return this[_0x4219('0x0')][_0x4219('0x2')]()['then'](()=>super[_0x4219('0x2')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ const _0x3b9e=['_model','_boundFirstCommentView','high','actionIndicator','execute','unbind','isEnabled','bindTemplate','locale','commentThreadChildren','render','set','extendTemplate','change:isReadOnly','placeholder','tooltip','createCollection','icon','bind','remove','Resolve','isResolved','change:isActive','_createResolveButton','containerElement','listenTo','ck-comment--resolve','Delete\x20comment\x20thread?','.ck-thread__container','ck-thread--active','isVisible','actionBar','setTemplate','commentViews','get','querySelector','addMany','Write\x20a\x20comment...','_cancelAllConfirms','removeButton','ck-thread__container','cancelConfirm','commentThreadHeaderView','isActive','fire','_bindFirstCommentView','length','then','add','commentsListView','showConfirm','resolveCommentThread','isResolvable','ck-reset_all-excluded','check','commentThreadInputView','ck-thread--','getTemplate','label','ck-thread--remove-confirmation','isSystemComment','ck-thread','div'];(function(_0x381087,_0x3b9eba){const _0x1739b2=function(_0x4af335){while(--_0x4af335){_0x381087['push'](_0x381087['shift']());}};_0x1739b2(++_0x3b9eba);}(_0x3b9e,0x72));const _0x1739=function(_0x381087,_0x3b9eba){_0x381087=_0x381087-0x0;let _0x1739b2=_0x3b9e[_0x381087];return _0x1739b2;};import{ConfirmMixin as _0x340e67}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x49964f}from'ckeditor5/src/ui';import{icons as _0x3a92d8}from'ckeditor5/src/core';import _0x3bc77e from'./basecommentthreadview';import{getTranslation as _0x1c4d4b}from'../../../utils/common-translations';export default class lt extends _0x340e67(_0x3bc77e){constructor(_0x5675e0,_0x5852cb,_0x33a10e,_0x1f6292){super(_0x5675e0,_0x5852cb,_0x33a10e,_0x1f6292),this[_0x1739('0x15')]=this[_0x1739('0x1c')](),this['commentThreadChildren'][_0x1739('0x30')]([this[_0x1739('0x3d')],this[_0x1739('0x4')]]),this[_0x1739('0xc')][_0x1739('0x21')]&&this['commentThreadChildren'][_0x1739('0x3c')](this[_0x1739('0x36')],0x0),this[_0x1739('0xc')]['on']('change:isResolved',(_0x50e4d2,_0x23e895,_0xb1f5f0)=>{_0xb1f5f0?this['commentThreadChildren'][_0x1739('0x3c')](this['commentThreadHeaderView'],0x0):this[_0x1739('0x15')][_0x1739('0x1f')](this['commentThreadHeaderView']);}),this[_0x1739('0x17')](_0x1739('0xf'),null),this[_0x1739('0x24')]=null,this[_0x1739('0xd')]=null,this['locale']=_0x5675e0,this['resolveButton']=this[_0x1739('0x23')](),this[_0x1739('0x2c')](this[_0x1739('0x6')]()),this['on'](_0x1739('0x22'),(_0x4b4daf,_0x4614eb,_0x4a3931)=>{_0x4a3931||this[_0x1739('0x32')]();}),this[_0x1739('0x25')](this['_model'],_0x1739('0x19'),(_0x24c815,_0x2eba5d,_0x39e8c2)=>{_0x39e8c2&&this['_cancelAllConfirms']();}),this[_0x1739('0x3a')]>0x0&&this[_0x1739('0x39')](),this[_0x1739('0x25')](this[_0x1739('0x3d')][_0x1739('0x2d')],_0x1739('0x3c'),()=>{this[_0x1739('0x39')]();});}[_0x1739('0x6')](){const _0x5895e6=this[_0x1739('0x13')];return{'tag':_0x1739('0xb'),'attributes':{'class':[_0x1739('0xa'),_0x1739('0x2'),_0x5895e6['if'](_0x1739('0x37'),_0x1739('0x29')),_0x5895e6['if']('isConfirm',_0x1739('0x8')),_0x5895e6['to'](_0x1739('0xf'),_0x154aa=>_0x154aa?_0x1739('0x5')+_0x154aa:'')],'data-thread-id':this[_0x1739('0xc')]['id'],'tabindex':-0x1},'children':[{'tag':_0x1739('0xb'),'attributes':{'class':_0x1739('0x34')},'children':this[_0x1739('0x15')]}]};}[_0x1739('0x16')](){super[_0x1739('0x16')](),this[_0x1739('0x24')]=this['element'][_0x1739('0x2f')](_0x1739('0x28'));}[_0x1739('0x32')](){this[_0x1739('0x35')]();for(const _0x5ce19f of this[_0x1739('0x3d')][_0x1739('0x2d')])_0x5ce19f[_0x1739('0x35')]();}[_0x1739('0x39')](){const {locale:_0x15d0da}=this,_0x996ab=this[_0x1739('0x3d')][_0x1739('0x2d')][_0x1739('0x2e')](0x0);_0x996ab===this['_boundFirstCommentView']||_0x996ab[_0x1739('0x9')]||(this[_0x1739('0xd')]=_0x996ab,this[_0x1739('0x11')](_0x1739('0xf')),this[_0x1739('0x1e')]('actionIndicator')['to'](_0x996ab,'actionIndicator',_0x487d74=>_0x1739('0x1f')===_0x487d74?_0x1739('0x1f'):null),_0x996ab[_0x1739('0x1a')]=_0x1c4d4b(_0x15d0da,_0x1739('0x31')),_0x996ab[_0x1739('0x33')]['on'](_0x1739('0x10'),_0x3d499d=>{_0x3d499d['stop'](),this[_0x1739('0x3e')](_0x1c4d4b(_0x15d0da,_0x1739('0x27')),this[_0x1739('0x24')])[_0x1739('0x3b')](()=>{this[_0x1739('0x38')]('removeCommentThread');});},{'priority':_0x1739('0xe')}),_0x996ab[_0x1739('0x2b')][_0x1739('0x3c')](this['resolveButton'],0x0));}['_createResolveButton'](){const _0x25e7f6=new _0x49964f(this[_0x1739('0x14')]);return _0x25e7f6[_0x1739('0x7')]=_0x1c4d4b(this[_0x1739('0x14')],_0x1739('0x20')),_0x25e7f6[_0x1739('0x1b')]=_0x1c4d4b(this[_0x1739('0x14')],_0x1739('0x20')),_0x25e7f6[_0x1739('0x1d')]=_0x3a92d8[_0x1739('0x3')],_0x25e7f6[_0x1739('0x18')]({'attributes':{'class':_0x1739('0x26')}}),_0x25e7f6[_0x1739('0x1e')](_0x1739('0x12'))['to'](this[_0x1739('0xc')],'isReadOnly',_0x176566=>!_0x176566),_0x25e7f6[_0x1739('0x1e')](_0x1739('0x2a'))['to'](this[_0x1739('0xc')],_0x1739('0x1'),this['_model'],_0x1739('0x21'),(_0x784dfe,_0x5def37)=>_0x784dfe&&!_0x5def37),_0x25e7f6['on'](_0x1739('0x10'),()=>{this[_0x1739('0x38')](_0x1739('0x0'),this[_0x1739('0xc')]['id']);}),_0x25e7f6;}}