@ckeditor/ckeditor5-comments 37.0.0-rc.0 → 37.0.1

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 _0x463e=['_updatePlaceholder','getRoot','createRoot','defaultPlugins','get','destroy','init','create','placeholder','view','getChild','change','end','childCount','low','initialData','model','document','focus','then','assign','setSelection','set','editing','placeholderElement'];(function(_0x3780d2,_0x463e3c){const _0x5123e1=function(_0x2b0ab2){while(--_0x2b0ab2){_0x3780d2['push'](_0x3780d2['shift']());}};_0x5123e1(++_0x463e3c);}(_0x463e,0x14d));const _0x5123=function(_0x3780d2,_0x463e3c){_0x3780d2=_0x3780d2-0x0;let _0x5123e1=_0x463e[_0x3780d2];return _0x5123e1;};import{Editor as _0x11841d,DataApiMixin as _0x3cea9e}from'ckeditor5/src/core';import _0x520b13 from'./commenteditorui';import{ObservableMixin as _0x4732f3}from'ckeditor5/src/utils';import{enablePlaceholder as _0x2ae715,disablePlaceholder as _0x71a514}from'ckeditor5/src/engine';import{Clipboard as _0x576fcf}from'ckeditor5/src/clipboard';import{Enter as _0x27ec04,ShiftEnter as _0x581c5f}from'ckeditor5/src/enter';import{SelectAll as _0x4d51a4}from'ckeditor5/src/select-all';import{Typing as _0x88aa9d}from'ckeditor5/src/typing';import{Undo as _0x275e08}from'ckeditor5/src/undo';import{Paragraph as _0x48222b}from'ckeditor5/src/paragraph';const Jt=[_0x576fcf,_0x27ec04,_0x581c5f,_0x4d51a4,_0x88aa9d,_0x275e08,_0x48222b];export default class Kt extends _0x4732f3(_0x3cea9e(_0x11841d)){constructor(_0x822afb={}){(_0x822afb=Object[_0x5123('0xc')]({},_0x822afb))['plugins']||(_0x822afb['plugins']=Kt[_0x5123('0x14')]),super(_0x822afb),this['ui']=new _0x520b13(this),this[_0x5123('0xe')](_0x5123('0x0'),''),this[_0x5123('0x8')][_0x5123('0x9')]['on'](_0x5123('0x3'),()=>this[_0x5123('0x11')](),{'priority':_0x5123('0x6')}),this['on']('change:placeholder',()=>this[_0x5123('0x11')]()),this['model'][_0x5123('0x9')][_0x5123('0x13')]();}[_0x5123('0x18')](){const _0x14f6b5=this['config'][_0x5123('0x15')](_0x5123('0x7'))||'';return this['initPlugins']()['then'](()=>this['ui'][_0x5123('0x17')]())[_0x5123('0xb')](()=>this['data']['init'](_0x14f6b5))[_0x5123('0xb')](()=>this['fire']('ready'));}[_0x5123('0x16')](){return super[_0x5123('0x16')]()[_0x5123('0xb')](()=>this['ui'][_0x5123('0x16')]());}[_0x5123('0xa')](){this[_0x5123('0x8')]['change'](_0x431d7b=>{const _0x445bd5=this['model'][_0x5123('0x9')][_0x5123('0x12')](),_0x5acb76=_0x445bd5&&_0x445bd5[_0x5123('0x2')](_0x445bd5[_0x5123('0x5')]-0x1);_0x431d7b[_0x5123('0xd')](_0x5acb76,_0x5123('0x4')),this[_0x5123('0xf')][_0x5123('0x1')]['focus']();});}[_0x5123('0x11')](){const _0x20231e=this[_0x5123('0xf')][_0x5123('0x1')],_0x1a15c6=_0x20231e[_0x5123('0x9')][_0x5123('0x12')](),_0x5e2c78=_0x1a15c6[_0x5123('0x2')](0x0);_0x1a15c6[_0x5123('0x5')]>0x1||!_0x5e2c78||'p'!=_0x5e2c78['name']?this['placeholderElement']&&(_0x71a514(_0x20231e,this[_0x5123('0x10')]),this['placeholderElement']=void 0x0):(_0x2ae715({'view':_0x20231e,'element':_0x5e2c78,'text':this[_0x5123('0x0')],'keepOnFocus':!0x0}),this[_0x5123('0x10')]=_0x5e2c78);}}Kt['defaultPlugins']=Jt;
23
+ const _0x107f=['_updatePlaceholder','document','init','childCount','createRoot','getRoot','editing','then','name','destroy','focus','change:placeholder','data','getChild','assign','initPlugins','initialData','model','ready','placeholderElement','change','view','placeholder','low','defaultPlugins','create','plugins'];(function(_0x1ce0e4,_0x107fb3){const _0x1a2baa=function(_0x51bf51){while(--_0x51bf51){_0x1ce0e4['push'](_0x1ce0e4['shift']());}};_0x1a2baa(++_0x107fb3);}(_0x107f,0xdd));const _0x1a2b=function(_0x1ce0e4,_0x107fb3){_0x1ce0e4=_0x1ce0e4-0x0;let _0x1a2baa=_0x107f[_0x1ce0e4];return _0x1a2baa;};import{Editor as _0x43a54b,DataApiMixin as _0x454764}from'ckeditor5/src/core';import _0x166910 from'./commenteditorui';import{ObservableMixin as _0x218b48}from'ckeditor5/src/utils';import{enablePlaceholder as _0xe9d5ab,disablePlaceholder as _0x2d2612}from'ckeditor5/src/engine';import{Clipboard as _0x61bd81}from'ckeditor5/src/clipboard';import{Enter as _0x459e72,ShiftEnter as _0x453858}from'ckeditor5/src/enter';import{SelectAll as _0x2bb9df}from'ckeditor5/src/select-all';import{Typing as _0x26c357}from'ckeditor5/src/typing';import{Undo as _0x58b8c7}from'ckeditor5/src/undo';import{Paragraph as _0x8afad3}from'ckeditor5/src/paragraph';const Jt=[_0x61bd81,_0x459e72,_0x453858,_0x2bb9df,_0x26c357,_0x58b8c7,_0x8afad3];export default class Kt extends _0x218b48(_0x454764(_0x43a54b)){constructor(_0x47b5b={}){(_0x47b5b=Object[_0x1a2b('0x9')]({},_0x47b5b))[_0x1a2b('0x15')]||(_0x47b5b['plugins']=Kt[_0x1a2b('0x13')]),super(_0x47b5b),this['ui']=new _0x166910(this),this['set'](_0x1a2b('0x11'),''),this[_0x1a2b('0xc')]['document']['on'](_0x1a2b('0xf'),()=>this[_0x1a2b('0x16')](),{'priority':_0x1a2b('0x12')}),this['on'](_0x1a2b('0x6'),()=>this[_0x1a2b('0x16')]()),this[_0x1a2b('0xc')]['document'][_0x1a2b('0x1a')]();}[_0x1a2b('0x14')](){const _0x4d0c36=this['config']['get'](_0x1a2b('0xb'))||'';return this[_0x1a2b('0xa')]()[_0x1a2b('0x2')](()=>this['ui'][_0x1a2b('0x18')]())['then'](()=>this[_0x1a2b('0x7')]['init'](_0x4d0c36))[_0x1a2b('0x2')](()=>this['fire'](_0x1a2b('0xd')));}[_0x1a2b('0x4')](){return super[_0x1a2b('0x4')]()['then'](()=>this['ui'][_0x1a2b('0x4')]());}[_0x1a2b('0x5')](){this[_0x1a2b('0xc')][_0x1a2b('0xf')](_0x46e428=>{const _0x423c5a=this['model'][_0x1a2b('0x17')][_0x1a2b('0x0')](),_0x13d056=_0x423c5a&&_0x423c5a[_0x1a2b('0x8')](_0x423c5a['childCount']-0x1);_0x46e428['setSelection'](_0x13d056,'end'),this[_0x1a2b('0x1')][_0x1a2b('0x10')]['focus']();});}[_0x1a2b('0x16')](){const _0x486d10=this['editing'][_0x1a2b('0x10')],_0x588fd1=_0x486d10[_0x1a2b('0x17')][_0x1a2b('0x0')](),_0x4eb05f=_0x588fd1[_0x1a2b('0x8')](0x0);_0x588fd1[_0x1a2b('0x19')]>0x1||!_0x4eb05f||'p'!=_0x4eb05f[_0x1a2b('0x3')]?this[_0x1a2b('0xe')]&&(_0x2d2612(_0x486d10,this[_0x1a2b('0xe')]),this[_0x1a2b('0xe')]=void 0x0):(_0xe9d5ab({'view':_0x486d10,'element':_0x4eb05f,'text':this['placeholder'],'keepOnFocus':!0x0}),this[_0x1a2b('0xe')]=_0x4eb05f);}}Kt[_0x1a2b('0x13')]=Jt;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ad7=['getRoot','name','destroy','view','editing','rootName','element','editor','render','bind','ready','editable','attachDomRoot','isFocused','setEditableElement'];(function(_0x5d5c82,_0x1ad7f6){const _0x2de100=function(_0x569beb){while(--_0x569beb){_0x5d5c82['push'](_0x5d5c82['shift']());}};_0x2de100(++_0x1ad7f6);}(_0x1ad7,0x1ec));const _0x2de1=function(_0x5d5c82,_0x1ad7f6){_0x5d5c82=_0x5d5c82-0x0;let _0x2de100=_0x1ad7[_0x5d5c82];return _0x2de100;};import{EditorUI as _0x43395d}from'ckeditor5/src/ui';import _0xa50d53 from'./commenteditoruiview';export default class Dt extends _0x43395d{constructor(_0x12959e){super(_0x12959e),this[_0x2de1('0x6')]=new _0xa50d53(_0x12959e['locale'],_0x12959e[_0x2de1('0x7')][_0x2de1('0x6')]);}get['element'](){return this['view'][_0x2de1('0x9')];}['init'](){const _0x1a7d35=this[_0x2de1('0xa')][_0x2de1('0x7')][_0x2de1('0x6')],_0x989f0e=this[_0x2de1('0x6')]['editable'],_0x5190c2=_0x1a7d35['document'][_0x2de1('0x3')]();_0x989f0e[_0x2de1('0x4')]=_0x5190c2[_0x2de1('0x8')],this[_0x2de1('0x6')][_0x2de1('0xb')]();const _0x268318=_0x989f0e[_0x2de1('0x9')];this[_0x2de1('0x2')](_0x989f0e['name'],_0x268318),this[_0x2de1('0x6')][_0x2de1('0xe')][_0x2de1('0xc')](_0x2de1('0x1'))['to'](this['focusTracker']),_0x1a7d35[_0x2de1('0x0')](_0x268318),this['fire'](_0x2de1('0xd'));}['destroy'](){super['destroy'](),this['view'][_0x2de1('0x5')]();}}
23
+ const _0x12a7=['bind','element','ready','editor','destroy','editable','name','view','editing','focusTracker','init','render','getRoot','isFocused','attachDomRoot','locale'];(function(_0x2e6c54,_0x12a7e2){const _0x30b09d=function(_0x38d357){while(--_0x38d357){_0x2e6c54['push'](_0x2e6c54['shift']());}};_0x30b09d(++_0x12a7e2);}(_0x12a7,0x127));const _0x30b0=function(_0x2e6c54,_0x12a7e2){_0x2e6c54=_0x2e6c54-0x0;let _0x30b09d=_0x12a7[_0x2e6c54];return _0x30b09d;};import{EditorUI as _0xdbbae0}from'ckeditor5/src/ui';import _0xb5e92e from'./commenteditoruiview';export default class Dt extends _0xdbbae0{constructor(_0x17a622){super(_0x17a622),this[_0x30b0('0x0')]=new _0xb5e92e(_0x17a622[_0x30b0('0x8')],_0x17a622[_0x30b0('0x1')]['view']);}get['element'](){return this['view']['element'];}[_0x30b0('0x3')](){const _0x471961=this[_0x30b0('0xc')]['editing']['view'],_0x3c2819=this[_0x30b0('0x0')][_0x30b0('0xe')],_0x38a064=_0x471961['document'][_0x30b0('0x5')]();_0x3c2819[_0x30b0('0xf')]=_0x38a064['rootName'],this[_0x30b0('0x0')][_0x30b0('0x4')]();const _0x7d4daa=_0x3c2819[_0x30b0('0xa')];this['setEditableElement'](_0x3c2819['name'],_0x7d4daa),this[_0x30b0('0x0')][_0x30b0('0xe')][_0x30b0('0x9')](_0x30b0('0x6'))['to'](this[_0x30b0('0x2')]),_0x471961[_0x30b0('0x7')](_0x7d4daa),this['fire'](_0x30b0('0xb'));}['destroy'](){super[_0x30b0('0xd')](),this[_0x30b0('0x0')][_0x30b0('0xd')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x456b=['text','editable','div','createCollection','main','setTemplate','ck-comment__input','focus','presentation','Comment\x20editor','uiLanguageDirection','add','ck-rounded-corners','_createVoiceLabel','ck-voice-label','ck-editor__aria-label_','render','uiLanguage','extendTemplate','ck-editor__main','cke-editor__aria-label_','ck-reset','ck-editor'];(function(_0x4d3832,_0x456b23){const _0x42416e=function(_0x7015c){while(--_0x7015c){_0x4d3832['push'](_0x4d3832['shift']());}};_0x42416e(++_0x456b23);}(_0x456b,0x1a8));const _0x4241=function(_0x4d3832,_0x456b23){_0x4d3832=_0x4d3832-0x0;let _0x42416e=_0x456b[_0x4d3832];return _0x42416e;};import{InlineEditableUIView as _0xff886e,EditorUIView as _0x188c1d,LabelView as _0x29f472}from'ckeditor5/src/ui';import{uid as _0x5363eb}from'ckeditor5/src/utils';import{getTranslation as _0x4b26e6}from'../../../utils/common-translations';export default class Nt extends _0x188c1d{constructor(_0x3eaa62,_0x40768b){super(_0x3eaa62);const _0x21dea0=_0x5363eb();this['main']=this[_0x4241('0x10')](),this[_0x4241('0xe')]=new _0xff886e(_0x3eaa62,_0x40768b),this['_voiceLabelView']=this[_0x4241('0x3')](_0x21dea0,_0x3eaa62),this[_0x4241('0x12')]({'tag':_0x4241('0xf'),'attributes':{'class':[_0x4241('0xb'),_0x4241('0xc'),_0x4241('0x2'),_0x4241('0x13')],'role':'comment','dir':_0x3eaa62[_0x4241('0x0')],'lang':_0x3eaa62[_0x4241('0x7')],'aria-labelledby':_0x4241('0xa')+_0x21dea0},'children':[this['_voiceLabelView'],{'tag':_0x4241('0xf'),'attributes':{'class':_0x4241('0x9'),'role':_0x4241('0x15')},'children':this[_0x4241('0x11')]}]});}[_0x4241('0x6')](){super[_0x4241('0x6')](),this[_0x4241('0x11')][_0x4241('0x1')](this[_0x4241('0xe')]);}[_0x4241('0x14')](){this[_0x4241('0xe')]['element']['focus']();}[_0x4241('0x3')](_0xf645a0,_0x2370ab){const _0x414e03=new _0x29f472();return _0x414e03[_0x4241('0xd')]=_0x4b26e6(_0x2370ab,_0x4241('0x16')),_0x414e03[_0x4241('0x8')]({'attributes':{'id':_0x4241('0x5')+_0xf645a0,'class':_0x4241('0x4')}}),_0x414e03;}}
23
+ const _0x378d=['ck-editor','cke-editor__aria-label_','uiLanguage','presentation','main','_voiceLabelView','createCollection','ck-comment__input','add','Comment\x20editor','ck-voice-label','comment','uiLanguageDirection','_createVoiceLabel','element','ck-editor__aria-label_','div','extendTemplate','text','editable','render'];(function(_0x1ca84e,_0x378da9){const _0x48f702=function(_0x2ff4f4){while(--_0x2ff4f4){_0x1ca84e['push'](_0x1ca84e['shift']());}};_0x48f702(++_0x378da9);}(_0x378d,0xdc));const _0x48f7=function(_0x1ca84e,_0x378da9){_0x1ca84e=_0x1ca84e-0x0;let _0x48f702=_0x378d[_0x1ca84e];return _0x48f702;};import{InlineEditableUIView as _0x133360,EditorUIView as _0x2063df,LabelView as _0x3e7ca4}from'ckeditor5/src/ui';import{uid as _0x5f349c}from'ckeditor5/src/utils';import{getTranslation as _0x21ef88}from'../../../utils/common-translations';export default class Nt extends _0x2063df{constructor(_0x4d74d4,_0x5c2364){super(_0x4d74d4);const _0x4b6be3=_0x5f349c();this['main']=this[_0x48f7('0x11')](),this[_0x48f7('0x9')]=new _0x133360(_0x4d74d4,_0x5c2364),this['_voiceLabelView']=this[_0x48f7('0x3')](_0x4b6be3,_0x4d74d4),this['setTemplate']({'tag':_0x48f7('0x6'),'attributes':{'class':['ck-reset',_0x48f7('0xb'),'ck-rounded-corners',_0x48f7('0x12')],'role':_0x48f7('0x1'),'dir':_0x4d74d4[_0x48f7('0x2')],'lang':_0x4d74d4[_0x48f7('0xd')],'aria-labelledby':_0x48f7('0xc')+_0x4b6be3},'children':[this[_0x48f7('0x10')],{'tag':_0x48f7('0x6'),'attributes':{'class':'ck-editor__main','role':_0x48f7('0xe')},'children':this['main']}]});}[_0x48f7('0xa')](){super[_0x48f7('0xa')](),this[_0x48f7('0xf')][_0x48f7('0x13')](this[_0x48f7('0x9')]);}['focus'](){this[_0x48f7('0x9')][_0x48f7('0x4')]['focus']();}[_0x48f7('0x3')](_0x15888d,_0x46a061){const _0x4e0ca2=new _0x3e7ca4();return _0x4e0ca2[_0x48f7('0x8')]=_0x21ef88(_0x46a061,_0x48f7('0x14')),_0x4e0ca2[_0x48f7('0x7')]({'attributes':{'id':_0x48f7('0x5')+_0x15888d,'class':_0x48f7('0x0')}}),_0x4e0ca2;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5ced=['remove','reopenCommentThread','resolveCommentThread','listenTo','view','updateComment','_isAttached','_localUser','submitCommentThread','stopListening','reopen','submit','update','getComment','removeComment','resolve','removeCommentThread','model','addComment','isResolved'];(function(_0x41f304,_0x5cede3){var _0x1dab92=function(_0x4b695b){while(--_0x4b695b){_0x41f304['push'](_0x41f304['shift']());}};_0x1dab92(++_0x5cede3);}(_0x5ced,0x179));var _0x1dab=function(_0x41f304,_0x5cede3){_0x41f304=_0x41f304-0x0;var _0x1dab92=_0x5ced[_0x41f304];return _0x1dab92;};import{ObservableMixin as _0x2fcaf6}from'ckeditor5/src/utils';export default class at extends _0x2fcaf6(){constructor(_0x465a57,_0x2da391){super(),this[_0x1dab('0x0')]=_0x465a57,this['model'][_0x1dab('0x9')]=!0x0,this[_0x1dab('0x7')]=_0x2da391,this[_0x1dab('0x6')](_0x2da391,_0x1dab('0xb'),()=>this['submit']()),this[_0x1dab('0x6')](_0x2da391,_0x1dab('0x13'),()=>this['remove']()),this[_0x1dab('0x6')](_0x2da391,_0x1dab('0x5'),()=>this[_0x1dab('0x12')]()),this[_0x1dab('0x6')](_0x2da391,_0x1dab('0x4'),()=>this[_0x1dab('0xd')]()),this[_0x1dab('0x6')](_0x2da391,_0x1dab('0x1'),(_0xad713c,_0x43ff2c)=>this['addComment'](_0x43ff2c)),this[_0x1dab('0x6')](_0x2da391,_0x1dab('0x8'),(_0x472820,_0x5f9d43,_0x188912)=>this[_0x1dab('0x8')](_0x5f9d43,_0x188912)),this['listenTo'](_0x2da391,_0x1dab('0x11'),(_0x4137a7,_0x2b7bf3)=>this[_0x1dab('0x11')](_0x2b7bf3));}[_0x1dab('0xe')](){this[_0x1dab('0x0')][_0x1dab('0xe')]();}[_0x1dab('0x3')](){this[_0x1dab('0x0')][_0x1dab('0x3')]();}[_0x1dab('0x12')](){this[_0x1dab('0x0')][_0x1dab('0x2')]||this[_0x1dab('0x0')][_0x1dab('0x12')]();}['reopen'](){this['model'][_0x1dab('0x2')]&&this[_0x1dab('0x0')][_0x1dab('0xd')]();}[_0x1dab('0x1')](_0x386704){this[_0x1dab('0x0')][_0x1dab('0x1')]({'content':_0x386704,'authorId':this[_0x1dab('0x7')][_0x1dab('0xa')]['id']});}[_0x1dab('0x8')](_0x38f641,_0x4d6e29){this['model'][_0x1dab('0x10')](_0x38f641)[_0x1dab('0xf')]({'content':_0x4d6e29});}['removeComment'](_0x3d5ea8){this[_0x1dab('0x0')]['getComment'](_0x3d5ea8)[_0x1dab('0x3')]();}['destroy'](){this[_0x1dab('0xc')](),this[_0x1dab('0x0')]['_isAttached']=!0x1;}}
23
+ var _0x4506=['resolve','removeComment','reopenCommentThread','view','_isAttached','listenTo','model','submit','getComment','removeCommentThread','reopen','remove','updateComment','_localUser','addComment'];(function(_0x22f66b,_0x4506aa){var _0x2c75b7=function(_0x249fc9){while(--_0x249fc9){_0x22f66b['push'](_0x22f66b['shift']());}};_0x2c75b7(++_0x4506aa);}(_0x4506,0xf6));var _0x2c75=function(_0x22f66b,_0x4506aa){_0x22f66b=_0x22f66b-0x0;var _0x2c75b7=_0x4506[_0x22f66b];return _0x2c75b7;};import{ObservableMixin as _0x3009ce}from'ckeditor5/src/utils';export default class at extends _0x3009ce(){constructor(_0xc18c6c,_0x1175b2){super(),this[_0x2c75('0x0')]=_0xc18c6c,this['model'][_0x2c75('0xd')]=!0x0,this[_0x2c75('0xc')]=_0x1175b2,this['listenTo'](_0x1175b2,'submitCommentThread',()=>this['submit']()),this[_0x2c75('0xe')](_0x1175b2,_0x2c75('0x3'),()=>this[_0x2c75('0x5')]()),this['listenTo'](_0x1175b2,'resolveCommentThread',()=>this[_0x2c75('0x9')]()),this[_0x2c75('0xe')](_0x1175b2,_0x2c75('0xb'),()=>this[_0x2c75('0x4')]()),this[_0x2c75('0xe')](_0x1175b2,'addComment',(_0x1bfcf7,_0xdde879)=>this[_0x2c75('0x8')](_0xdde879)),this[_0x2c75('0xe')](_0x1175b2,_0x2c75('0x6'),(_0x226df0,_0x218c48,_0x524299)=>this[_0x2c75('0x6')](_0x218c48,_0x524299)),this[_0x2c75('0xe')](_0x1175b2,'removeComment',(_0x10afcf,_0x1ab1ba)=>this[_0x2c75('0xa')](_0x1ab1ba));}[_0x2c75('0x1')](){this[_0x2c75('0x0')][_0x2c75('0x1')]();}[_0x2c75('0x5')](){this[_0x2c75('0x0')]['remove']();}[_0x2c75('0x9')](){this[_0x2c75('0x0')]['isResolved']||this[_0x2c75('0x0')][_0x2c75('0x9')]();}[_0x2c75('0x4')](){this['model']['isResolved']&&this['model'][_0x2c75('0x4')]();}['addComment'](_0x928fdd){this[_0x2c75('0x0')]['addComment']({'content':_0x928fdd,'authorId':this[_0x2c75('0xc')][_0x2c75('0x7')]['id']});}[_0x2c75('0x6')](_0x25e3e8,_0x526d95){this[_0x2c75('0x0')][_0x2c75('0x2')](_0x25e3e8)['update']({'content':_0x526d95});}['removeComment'](_0x3398ee){this[_0x2c75('0x0')]['getComment'](_0x3398ee)[_0x2c75('0x5')]();}['destroy'](){this['stopListening'](),this[_0x2c75('0x0')][_0x2c75('0xd')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5223=['_config','commentsListView','locale','stop','commentInputView','isReadOnly','commentThreadHeaderView','value','Reply...','focus','removeCommentThread','assign','element','destroy','resolveCommentThread','submitCommentThread','disabledSubmit','isActive','resolvedAt','hasDirtyComment','length','isResolvable','_model','isDirty','delegate','set','updateComment','placeholder','reopenCommentThread','isSubmitted','Reply\x20to\x20reopen\x20discussion...','removeComment','_localUser','bind','change:isActive','_createCommentThreadInputView','CommentView','commentThreadInputView','isResolved','fire'];(function(_0x4aa25c,_0x522330){const _0x3fc8f8=function(_0x349173){while(--_0x349173){_0x4aa25c['push'](_0x4aa25c['shift']());}};_0x3fc8f8(++_0x522330);}(_0x5223,0x19d));const _0x3fc8=function(_0x4aa25c,_0x522330){_0x4aa25c=_0x4aa25c-0x0;let _0x3fc8f8=_0x5223[_0x4aa25c];return _0x3fc8f8;};import{View as _0x502322}from'ckeditor5/src/ui';import _0x401837 from'./commentthreadinputview';import _0x263b50 from'./commentslistview';import _0x140461 from'./commentthreadheaderview';import{getTranslation as _0x32663f}from'../../../utils/common-translations';export default class Rt extends _0x502322{constructor(_0x43ca49,_0x12a363,_0x3a705d,_0x4e3068){super(_0x43ca49),this[_0x3fc8('0xc')](_0x3fc8('0x4'),!0x1),this[_0x3fc8('0xc')](_0x3fc8('0xa'),!0x1),this[_0x3fc8('0x9')]=_0x12a363,this[_0x3fc8('0x13')]=_0x3a705d,this['_config']=_0x4e3068,this[_0x3fc8('0x21')]=new _0x140461(_0x43ca49,_0x12a363),this[_0x3fc8('0x21')]['delegate'](_0x3fc8('0xf'))['to'](this),this[_0x3fc8('0x1c')]=new _0x263b50(_0x43ca49,_0x12a363,Object[_0x3fc8('0x26')]({'CommentView':this[_0x3fc8('0x1b')][_0x3fc8('0x17')]},_0x4e3068)),this[_0x3fc8('0x1c')][_0x3fc8('0xb')](_0x3fc8('0x12'))['to'](this),this[_0x3fc8('0x1c')][_0x3fc8('0xb')](_0x3fc8('0xd'))['to'](this),this['commentsListView'][_0x3fc8('0xb')](_0x3fc8('0x1'))['to'](this),this[_0x3fc8('0x1c')]['bind'](_0x3fc8('0x4'))['to'](this),this['set']('length',this['commentsListView'][_0x3fc8('0x7')]),this['bind'](_0x3fc8('0x7'))['to'](this['commentsListView'],_0x3fc8('0x7')),this[_0x3fc8('0x18')]=this[_0x3fc8('0x16')](),this['on']('removeComment',()=>this[_0x3fc8('0x24')]()),this[_0x3fc8('0x14')](_0x3fc8('0xa'))['to'](this['commentsListView'],_0x3fc8('0x6'),this[_0x3fc8('0x18')][_0x3fc8('0x1f')],_0x3fc8('0x22'),(_0x2a5947,_0x576b7a)=>_0x2a5947||!!_0x576b7a);}[_0x3fc8('0x24')](){this[_0x3fc8('0x27')]['focus']();}[_0x3fc8('0x0')](){this['isDirty']=!0x1,this['commentsListView']['destroy'](),this[_0x3fc8('0x18')][_0x3fc8('0x0')](),super[_0x3fc8('0x0')]();}[_0x3fc8('0x16')](){const _0x5b7b95=new _0x401837(this[_0x3fc8('0x1d')],this[_0x3fc8('0x13')],this[_0x3fc8('0x1b')]['editorConfig']),_0x3c8969=_0x5b7b95[_0x3fc8('0x1f')];return _0x5b7b95[_0x3fc8('0x14')]('showInput')['to'](this,_0x3fc8('0x4'),this[_0x3fc8('0x9')],_0x3fc8('0x20'),this[_0x3fc8('0x9')],'isResolved',_0x3c8969,'value',(_0x4a6f99,_0x88696a,_0x2d767b,_0x354935)=>!!_0x354935||_0x2d767b||_0x4a6f99&&!_0x88696a),_0x3c8969[_0x3fc8('0x14')](_0x3fc8('0xe'))['to'](this,_0x3fc8('0x7'),this['_model'],_0x3fc8('0x8'),this[_0x3fc8('0x9')],_0x3fc8('0x5'),(_0x5706c4,_0x23139c,_0x5bff07)=>{let _0x56cadb;return _0x56cadb=_0x5bff07&&_0x23139c?_0x3fc8('0x11'):_0x5706c4?_0x3fc8('0x23'):'Write\x20a\x20comment...',_0x32663f(this['locale'],_0x56cadb);}),_0x3c8969['on']('submit',(_0x27ef87,_0x41d3b9)=>{this[_0x3fc8('0x1a')]('addComment',_0x41d3b9),this['_model'][_0x3fc8('0x19')]&&this['_model'][_0x3fc8('0x8')]&&this['fire'](_0x3fc8('0xf'),this[_0x3fc8('0x9')]['id']),this[_0x3fc8('0x9')][_0x3fc8('0x10')]||this[_0x3fc8('0x1a')](_0x3fc8('0x2'));}),_0x3c8969['on']('cancel',()=>{this[_0x3fc8('0x24')]();}),_0x3c8969[_0x3fc8('0x14')](_0x3fc8('0x3'))['to'](this[_0x3fc8('0x9')],_0x3fc8('0x20')),_0x3c8969['on']('cancel',_0x3376f6=>{0x0==this['length']&&(this[_0x3fc8('0x1a')](_0x3fc8('0x25')),_0x3376f6[_0x3fc8('0x1e')]());}),this['on'](_0x3fc8('0x15'),(_0x56cf13,_0x313540,_0x3e0d47)=>{_0x3e0d47||this[_0x3fc8('0x7')]||_0x3c8969[_0x3fc8('0x22')]||this['fire'](_0x3fc8('0x25'));}),_0x5b7b95;}}
23
+ const _0x4a78=['showInput','submit','removeComment','destroy','removeCommentThread','change:isActive','commentThreadHeaderView','bind','isResolvable','isResolved','commentInputView','isDirty','isActive','commentThreadInputView','hasDirtyComment','element','_createCommentThreadInputView','_model','length','reopenCommentThread','isSubmitted','delegate','CommentView','cancel','updateComment','value','_localUser','locale','Reply...','commentsListView','resolvedAt','focus','assign','Write\x20a\x20comment...','addComment','_config','isReadOnly','placeholder','fire'];(function(_0x705aa,_0x4a7816){const _0x2cc726=function(_0x2c0b6e){while(--_0x2c0b6e){_0x705aa['push'](_0x705aa['shift']());}};_0x2cc726(++_0x4a7816);}(_0x4a78,0x65));const _0x2cc7=function(_0x705aa,_0x4a7816){_0x705aa=_0x705aa-0x0;let _0x2cc726=_0x4a78[_0x705aa];return _0x2cc726;};import{View as _0x1c1f78}from'ckeditor5/src/ui';import _0x26e078 from'./commentthreadinputview';import _0x2a51d6 from'./commentslistview';import _0xce4bf5 from'./commentthreadheaderview';import{getTranslation as _0x3e2601}from'../../../utils/common-translations';export default class Rt extends _0x1c1f78{constructor(_0x151d16,_0x11f49a,_0x43ef47,_0x4249c4){super(_0x151d16),this['set'](_0x2cc7('0x1c'),!0x1),this['set'](_0x2cc7('0x1b'),!0x1),this[_0x2cc7('0x21')]=_0x11f49a,this[_0x2cc7('0x3')]=_0x43ef47,this[_0x2cc7('0xc')]=_0x4249c4,this[_0x2cc7('0x16')]=new _0xce4bf5(_0x151d16,_0x11f49a),this[_0x2cc7('0x16')]['delegate'](_0x2cc7('0x23'))['to'](this),this[_0x2cc7('0x6')]=new _0x2a51d6(_0x151d16,_0x11f49a,Object[_0x2cc7('0x9')]({'CommentView':this['_config'][_0x2cc7('0x26')]},_0x4249c4)),this[_0x2cc7('0x6')][_0x2cc7('0x25')](_0x2cc7('0x12'))['to'](this),this[_0x2cc7('0x6')]['delegate'](_0x2cc7('0x1'))['to'](this),this['commentsListView'][_0x2cc7('0x25')]('resolveCommentThread')['to'](this),this[_0x2cc7('0x6')]['bind'](_0x2cc7('0x1c'))['to'](this),this['set'](_0x2cc7('0x22'),this[_0x2cc7('0x6')]['length']),this['bind']('length')['to'](this[_0x2cc7('0x6')],_0x2cc7('0x22')),this[_0x2cc7('0x1d')]=this[_0x2cc7('0x20')](),this['on']('removeComment',()=>this[_0x2cc7('0x8')]()),this[_0x2cc7('0x17')](_0x2cc7('0x1b'))['to'](this[_0x2cc7('0x6')],_0x2cc7('0x1e'),this[_0x2cc7('0x1d')][_0x2cc7('0x1a')],_0x2cc7('0x2'),(_0xec5aa0,_0x50114f)=>_0xec5aa0||!!_0x50114f);}[_0x2cc7('0x8')](){this[_0x2cc7('0x1f')][_0x2cc7('0x8')]();}[_0x2cc7('0x13')](){this['isDirty']=!0x1,this[_0x2cc7('0x6')][_0x2cc7('0x13')](),this[_0x2cc7('0x1d')][_0x2cc7('0x13')](),super[_0x2cc7('0x13')]();}[_0x2cc7('0x20')](){const _0x11c7f9=new _0x26e078(this[_0x2cc7('0x4')],this[_0x2cc7('0x3')],this['_config']['editorConfig']),_0x31f590=_0x11c7f9[_0x2cc7('0x1a')];return _0x11c7f9[_0x2cc7('0x17')](_0x2cc7('0x10'))['to'](this,_0x2cc7('0x1c'),this['_model'],_0x2cc7('0xd'),this[_0x2cc7('0x21')],_0x2cc7('0x18'),_0x31f590,_0x2cc7('0x2'),(_0x4fa2ee,_0x3e2113,_0x4405af,_0x59f678)=>!!_0x59f678||_0x4405af||_0x4fa2ee&&!_0x3e2113),_0x31f590[_0x2cc7('0x17')](_0x2cc7('0xe'))['to'](this,'length',this[_0x2cc7('0x21')],_0x2cc7('0x18'),this['_model'],_0x2cc7('0x7'),(_0x3ca6cc,_0x28bc5c,_0x3c1af0)=>{let _0x156829;return _0x156829=_0x3c1af0&&_0x28bc5c?'Reply\x20to\x20reopen\x20discussion...':_0x3ca6cc?_0x2cc7('0x5'):_0x2cc7('0xa'),_0x3e2601(this[_0x2cc7('0x4')],_0x156829);}),_0x31f590['on'](_0x2cc7('0x11'),(_0x144f33,_0x1054cb)=>{this[_0x2cc7('0xf')](_0x2cc7('0xb'),_0x1054cb),this[_0x2cc7('0x21')][_0x2cc7('0x19')]&&this[_0x2cc7('0x21')][_0x2cc7('0x18')]&&this[_0x2cc7('0xf')](_0x2cc7('0x23'),this[_0x2cc7('0x21')]['id']),this[_0x2cc7('0x21')][_0x2cc7('0x24')]||this[_0x2cc7('0xf')]('submitCommentThread');}),_0x31f590['on'](_0x2cc7('0x0'),()=>{this['focus']();}),_0x31f590[_0x2cc7('0x17')]('disabledSubmit')['to'](this[_0x2cc7('0x21')],_0x2cc7('0xd')),_0x31f590['on'](_0x2cc7('0x0'),_0x3a0f04=>{0x0==this[_0x2cc7('0x22')]&&(this[_0x2cc7('0xf')](_0x2cc7('0x14')),_0x3a0f04['stop']());}),this['on'](_0x2cc7('0x15'),(_0x5d2e21,_0x55140b,_0x1ce83)=>{_0x1ce83||this[_0x2cc7('0x22')]||_0x31f590[_0x2cc7('0x2')]||this['fire']('removeCommentThread');}),_0x11c7f9;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3003=['_config','_createCommentInputView','disabledSubmit','value','editorConfig','submit','createEditor','_model','element','createCollection','initialData','locale','switchToEditMode','get','fire','remove','bind','collapse','set','add','_createCommentContentView','content','switchToDisplayMode','isCollapsed','isEditMode','destroy','updateComment','visibleView','maxCommentCharsWhenCollapsed','focus','expand','once','isReadOnly','isSystemComment'];(function(_0x2f5cec,_0x3003ef){const _0x287b6c=function(_0x3af382){while(--_0x3af382){_0x2f5cec['push'](_0x2f5cec['shift']());}};_0x287b6c(++_0x3003ef);}(_0x3003,0x12b));const _0x287b=function(_0x2f5cec,_0x3003ef){_0x2f5cec=_0x2f5cec-0x0;let _0x287b6c=_0x3003[_0x2f5cec];return _0x287b6c;};import{View as _0x15c350}from'ckeditor5/src/ui';import{trimHtml as _0x162e32}from'ckeditor5-collaboration/src/collaboration-core';import _0x3e6cf5 from'./commentcontentview';import _0x5d5524 from'./commentinputview';export default class Xt extends _0x15c350{constructor(_0x4135f7,_0x235540,_0xd11112){super(_0x4135f7),this[_0x287b('0xe')]=_0x235540,this[_0x287b('0x7')]=_0xd11112,this[_0x287b('0x6')]=!!this[_0x287b('0x7')][_0x287b('0x6')],this[_0x287b('0x19')](_0x287b('0x1f'),!0x1),this[_0x287b('0x19')](_0x287b('0x1e'),!0x0),this[_0x287b('0x0')]=this[_0x287b('0x10')](),this[_0x287b('0x0')]['add'](this['_createCommentContentView']());}[_0x287b('0x3')](){this[_0x287b('0x1e')]=!0x1;}[_0x287b('0x18')](){this['isEditMode']||(this['isCollapsed']=!0x0);}['focus'](){this[_0x287b('0xf')]['focus']();}async[_0x287b('0x20')](){await this[_0x287b('0x0')][_0x287b('0x14')](0x0)[_0x287b('0x20')](),super['destroy']();}[_0x287b('0x13')](){this[_0x287b('0x1f')]||(this[_0x287b('0x1f')]=!0x0,this[_0x287b('0x0')][_0x287b('0x16')](0x0)['destroy'](),this[_0x287b('0x0')]['add'](this[_0x287b('0x8')]()));}[_0x287b('0x1d')](){this['isEditMode']&&(this[_0x287b('0x1f')]=!0x1,this[_0x287b('0x0')][_0x287b('0x16')](0x0)[_0x287b('0x20')](),this[_0x287b('0x0')][_0x287b('0x1a')](this[_0x287b('0x1b')]()));}[_0x287b('0x1b')](){const _0x54f18=new _0x3e6cf5(this[_0x287b('0x12')]);return _0x54f18[_0x287b('0x17')](_0x287b('0x1c'))['to'](this[_0x287b('0xe')],_0x287b('0x1c'),this,_0x287b('0x1e'),(_0x34542b,_0x15477b)=>_0x15477b?_0x162e32(_0x34542b,{'limit':this[_0x287b('0x7')][_0x287b('0x1')]}):_0x34542b),_0x54f18;}[_0x287b('0x8')](){this['_config'][_0x287b('0xb')]||(this[_0x287b('0x7')][_0x287b('0xb')]={}),this[_0x287b('0x7')][_0x287b('0xb')][_0x287b('0x11')]=this[_0x287b('0xe')][_0x287b('0x1c')];const _0x447781=new _0x5d5524(this[_0x287b('0x12')],this[_0x287b('0x7')][_0x287b('0xb')]);return _0x447781[_0x287b('0xa')]=this['_model'][_0x287b('0x1c')],_0x447781[_0x287b('0x17')](_0x287b('0x9'))['to'](this[_0x287b('0xe')],_0x287b('0x5')),_0x447781['on'](_0x287b('0xc'),(_0x240b1a,_0x45c63a)=>{this[_0x287b('0x15')](_0x287b('0x21'),this[_0x287b('0xe')]['id'],_0x45c63a),this['switchToDisplayMode'](),this[_0x287b('0x2')]();}),_0x447781['on']('cancel',()=>{this['switchToDisplayMode'](),this[_0x287b('0x2')]();}),_0x447781[_0x287b('0x4')]('editorReady',()=>{_0x447781[_0x287b('0x2')]();}),_0x447781[_0x287b('0xd')](),_0x447781;}}
23
+ const _0x4f17=['isCollapsed','value','_createCommentInputView','focus','switchToDisplayMode','_createCommentContentView','createEditor','_model','get','add','isReadOnly','expand','fire','remove','editorConfig','destroy','createCollection','disabledSubmit','locale','bind','once','isEditMode','set','content','isSystemComment','element','visibleView','updateComment','initialData','cancel','_config','collapse'];(function(_0x434665,_0x4f178c){const _0x2d4827=function(_0x1dd6a3){while(--_0x1dd6a3){_0x434665['push'](_0x434665['shift']());}};_0x2d4827(++_0x4f178c);}(_0x4f17,0x17e));const _0x2d48=function(_0x434665,_0x4f178c){_0x434665=_0x434665-0x0;let _0x2d4827=_0x4f17[_0x434665];return _0x2d4827;};import{View as _0x79f5dd}from'ckeditor5/src/ui';import{trimHtml as _0x1a5b7e}from'ckeditor5-collaboration/src/collaboration-core';import _0x190f88 from'./commentcontentview';import _0x4a59ba from'./commentinputview';export default class Xt extends _0x79f5dd{constructor(_0x1d685d,_0x1f75d5,_0x355c78){super(_0x1d685d),this[_0x2d48('0x9')]=_0x1f75d5,this[_0x2d48('0x0')]=_0x355c78,this['isSystemComment']=!!this['_config'][_0x2d48('0x1a')],this[_0x2d48('0x18')](_0x2d48('0x17'),!0x1),this[_0x2d48('0x18')]('isCollapsed',!0x0),this[_0x2d48('0x1c')]=this[_0x2d48('0x12')](),this[_0x2d48('0x1c')][_0x2d48('0xb')](this['_createCommentContentView']());}[_0x2d48('0xd')](){this[_0x2d48('0x2')]=!0x1;}[_0x2d48('0x1')](){this['isEditMode']||(this[_0x2d48('0x2')]=!0x0);}[_0x2d48('0x5')](){this[_0x2d48('0x1b')]['focus']();}async[_0x2d48('0x11')](){await this[_0x2d48('0x1c')][_0x2d48('0xa')](0x0)[_0x2d48('0x11')](),super['destroy']();}['switchToEditMode'](){this[_0x2d48('0x17')]||(this[_0x2d48('0x17')]=!0x0,this['visibleView'][_0x2d48('0xf')](0x0)['destroy'](),this[_0x2d48('0x1c')][_0x2d48('0xb')](this[_0x2d48('0x4')]()));}['switchToDisplayMode'](){this[_0x2d48('0x17')]&&(this[_0x2d48('0x17')]=!0x1,this[_0x2d48('0x1c')][_0x2d48('0xf')](0x0)['destroy'](),this[_0x2d48('0x1c')]['add'](this[_0x2d48('0x7')]()));}[_0x2d48('0x7')](){const _0x658b2c=new _0x190f88(this['locale']);return _0x658b2c[_0x2d48('0x15')](_0x2d48('0x19'))['to'](this[_0x2d48('0x9')],'content',this,_0x2d48('0x2'),(_0x301db7,_0x4c39f0)=>_0x4c39f0?_0x1a5b7e(_0x301db7,{'limit':this['_config']['maxCommentCharsWhenCollapsed']}):_0x301db7),_0x658b2c;}[_0x2d48('0x4')](){this[_0x2d48('0x0')]['editorConfig']||(this[_0x2d48('0x0')]['editorConfig']={}),this[_0x2d48('0x0')]['editorConfig'][_0x2d48('0x1e')]=this[_0x2d48('0x9')][_0x2d48('0x19')];const _0x26851b=new _0x4a59ba(this[_0x2d48('0x14')],this[_0x2d48('0x0')][_0x2d48('0x10')]);return _0x26851b[_0x2d48('0x3')]=this[_0x2d48('0x9')]['content'],_0x26851b[_0x2d48('0x15')](_0x2d48('0x13'))['to'](this[_0x2d48('0x9')],_0x2d48('0xc')),_0x26851b['on']('submit',(_0x1b1e59,_0x2c703d)=>{this[_0x2d48('0xe')](_0x2d48('0x1d'),this[_0x2d48('0x9')]['id'],_0x2c703d),this[_0x2d48('0x6')](),this[_0x2d48('0x5')]();}),_0x26851b['on'](_0x2d48('0x1f'),()=>{this['switchToDisplayMode'](),this[_0x2d48('0x5')]();}),_0x26851b[_0x2d48('0x16')]('editorReady',()=>{_0x26851b[_0x2d48('0x5')]();}),_0x26851b[_0x2d48('0x8')](),_0x26851b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46fd=['NUMBER_OF_COMMENTS','count','setTemplate','bindTemplate','set','ck-thread__comment-count'];(function(_0x416142,_0x46fdf6){const _0x1c1859=function(_0x405f44){while(--_0x405f44){_0x416142['push'](_0x416142['shift']());}};_0x1c1859(++_0x46fdf6);}(_0x46fd,0x75));const _0x1c18=function(_0x416142,_0x46fdf6){_0x416142=_0x416142-0x0;let _0x1c1859=_0x46fd[_0x416142];return _0x1c1859;};import{View as _0x775240}from'ckeditor5/src/ui';import{getTranslation as _0x4aaed3}from'../../../utils/common-translations';export default class Yt extends _0x775240{constructor(_0x25f0b4){super(_0x25f0b4);const _0xcad456=this[_0x1c18('0x0')];this[_0x1c18('0x1')]('count',void 0x0),this[_0x1c18('0x5')]({'tag':'li','attributes':{'class':_0x1c18('0x2')},'children':[{'text':_0xcad456['to'](_0x1c18('0x4'),_0x406bc7=>_0x4aaed3(_0x25f0b4,_0x1c18('0x3'),_0x406bc7))}]});}}
23
+ const _0x4d98=['set','count','setTemplate','bindTemplate','NUMBER_OF_COMMENTS'];(function(_0x44030b,_0x4d984b){const _0x34563b=function(_0x224b9a){while(--_0x224b9a){_0x44030b['push'](_0x44030b['shift']());}};_0x34563b(++_0x4d984b);}(_0x4d98,0x181));const _0x3456=function(_0x44030b,_0x4d984b){_0x44030b=_0x44030b-0x0;let _0x34563b=_0x4d98[_0x44030b];return _0x34563b;};import{View as _0x5416b9}from'ckeditor5/src/ui';import{getTranslation as _0xc3b08d}from'../../../utils/common-translations';export default class Yt extends _0x5416b9{constructor(_0x17603f){super(_0x17603f);const _0x59a561=this[_0x3456('0x3')];this[_0x3456('0x0')](_0x3456('0x1'),void 0x0),this[_0x3456('0x2')]({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x59a561['to']('count',_0x4c9653=>_0xc3b08d(_0x17603f,_0x3456('0x4'),_0x4c9653))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5bfe=['ck-comment__content','set','change:content','element','render','innerHTML','content'];(function(_0x30bbaf,_0x5bfe0f){var _0x3248df=function(_0x21fdc8){while(--_0x21fdc8){_0x30bbaf['push'](_0x30bbaf['shift']());}};_0x3248df(++_0x5bfe0f);}(_0x5bfe,0x70));var _0x3248=function(_0x30bbaf,_0x5bfe0f){_0x30bbaf=_0x30bbaf-0x0;var _0x3248df=_0x5bfe[_0x30bbaf];return _0x3248df;};import{View as _0x440cba}from'ckeditor5/src/ui';export default class Ut extends _0x440cba{constructor(_0x34f59a){super(_0x34f59a),this[_0x3248('0x1')](_0x3248('0x6'),''),this['setTemplate']({'tag':'div','attributes':{'class':[_0x3248('0x0'),'ck-annotation__content']}});}[_0x3248('0x4')](){super[_0x3248('0x4')](),this['on'](_0x3248('0x2'),(_0x10a346,_0x5c2f5c,_0x909b3d)=>{this[_0x3248('0x3')][_0x3248('0x5')]=_0x909b3d;}),this['element']['innerHTML']=this['content'];}}
23
+ var _0x4701=['content','element','innerHTML','div','set','render','ck-comment__content','ck-annotation__content','setTemplate'];(function(_0x2007be,_0x470180){var _0x1db578=function(_0x7ab76d){while(--_0x7ab76d){_0x2007be['push'](_0x2007be['shift']());}};_0x1db578(++_0x470180);}(_0x4701,0xea));var _0x1db5=function(_0x2007be,_0x470180){_0x2007be=_0x2007be-0x0;var _0x1db578=_0x4701[_0x2007be];return _0x1db578;};import{View as _0x3ea096}from'ckeditor5/src/ui';export default class Ut extends _0x3ea096{constructor(_0x23f8fa){super(_0x23f8fa),this[_0x1db5('0x4')](_0x1db5('0x0'),''),this[_0x1db5('0x8')]({'tag':_0x1db5('0x3'),'attributes':{'class':[_0x1db5('0x6'),_0x1db5('0x7')]}});}[_0x1db5('0x5')](){super[_0x1db5('0x5')](),this['on']('change:content',(_0x159972,_0xeacece,_0x25cd25)=>{this[_0x1db5('0x1')][_0x1db5('0x2')]=_0x25cd25;}),this['element'][_0x1db5('0x2')]=this[_0x1db5('0x0')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ce1=['then','element','change','_initializeFocusCycling','editor','fire','document','keystrokes','disabledSubmit','ck-comment__input-actions','check','icon','createEditor','_editorCreationPromise','ck-comment__input-actions--submit','value','editorReady','div','Cancel','_editorConfig','trim','execute','ck-comment__input-actions--cancel','_createSubmitButton','listenTo','extendTemplate','bind','isEnabled','label','focus','cancel','Esc','render','low','focusNext','forEach','getData','view','stop','high','_isDestroyed','firstChild','submit','cancelButtonView','submitButtonView','shift\x20+\x20tab','_createCancelButton','Reply...','focusTracker','placeholder','model','setData','length','create','set','TOO_LONG_COMMENT_ALERT','add'];(function(_0x4ea645,_0x2ce153){const _0x2a290c=function(_0x2dd118){while(--_0x2dd118){_0x4ea645['push'](_0x4ea645['shift']());}};_0x2a290c(++_0x2ce153);}(_0x2ce1,0x1ae));const _0x2a29=function(_0x4ea645,_0x2ce153){_0x4ea645=_0x4ea645-0x0;let _0x2a290c=_0x2ce1[_0x4ea645];return _0x2a290c;};import{View as _0x51b2ea,ViewCollection as _0x4f7d9e,FocusCycler as _0x58b63a,ButtonView as _0x538096}from'ckeditor5/src/ui';import{FocusTracker as _0xf1f17d,KeystrokeHandler as _0x3041bb}from'ckeditor5/src/utils';import{icons as _0x2afc29}from'ckeditor5/src/core';import _0x46393d from'../commenteditor/commenteditor';import{getTranslation as _0xe247c8}from'../../../utils/common-translations';export default class Wt extends _0x51b2ea{constructor(_0x2df5ed,_0x2ec008={}){super(_0x2df5ed),this[_0x2a29('0x1e')]=null,this[_0x2a29('0x2d')]=_0x2ec008,this[_0x2a29('0x21')]=new _0x3041bb(),this[_0x2a29('0x11')]=new _0xf1f17d(),this[_0x2a29('0x17')]('value',_0x2ec008['initialData']||''),this['set'](_0x2a29('0x22'),!0x1),this[_0x2a29('0x17')]('showButtons',!0x0),this['set'](_0x2a29('0x12'),_0xe247c8(_0x2df5ed,_0x2a29('0x10'))),this[_0x2a29('0xd')]=this[_0x2a29('0x31')](),this[_0x2a29('0xc')]=this[_0x2a29('0xf')](),this['setTemplate']({'tag':_0x2a29('0x2b'),'attributes':{'class':['ck-comment__input-wrapper']},'children':[{'tag':_0x2a29('0x2b'),'attributes':{'class':[_0x2a29('0x23'),this['bindTemplate']['if']('showButtons','ck-comment__input-actions--active')]},'children':[this[_0x2a29('0xd')],this[_0x2a29('0xc')]]}]}),this[_0x2a29('0x21')][_0x2a29('0x17')](_0x2a29('0x0'),(_0x3481f9,_0x25d183)=>{this['cancelButtonView']['fire'](_0x2a29('0x2f')),_0x25d183();}),this['on'](_0x2a29('0xb'),(_0x49fb2b,_0x131b4c)=>{_0x131b4c[_0x2a29('0x15')]>0xfde8?(alert(_0xe247c8(_0x2df5ed,_0x2a29('0x18'),[_0x131b4c[_0x2a29('0x15')],0xfde8])),_0x49fb2b[_0x2a29('0x7')]()):this[_0x2a29('0x1e')][_0x2a29('0x14')]('');},{'priority':_0x2a29('0x8')});}[_0x2a29('0x1')](){super[_0x2a29('0x1')](),this[_0x2a29('0x21')][_0x2a29('0x32')](this[_0x2a29('0x1b')]),this['focusTracker']['add'](this['element']);}[_0x2a29('0x26')](){return this['editor']||(this[_0x2a29('0x1e')]=new _0x46393d(this[_0x2a29('0x2d')]),this[_0x2a29('0x27')]=this[_0x2a29('0x1e')][_0x2a29('0x16')]()[_0x2a29('0x1a')](()=>{if(this[_0x2a29('0x9')])return;const _0x48fe48=this[_0x2a29('0x1e')];this[_0x2a29('0x1b')]['insertBefore'](_0x48fe48['ui'][_0x2a29('0x1b')],this['element'][_0x2a29('0xa')]),_0x48fe48[_0x2a29('0x13')][_0x2a29('0x20')]['on'](_0x2a29('0x1c'),()=>this[_0x2a29('0x29')]=_0x48fe48[_0x2a29('0x5')]()),_0x48fe48['bind'](_0x2a29('0x12'))['to'](this),this[_0x2a29('0x1d')](this[_0x2a29('0x1e')]),this[_0x2a29('0x1f')](_0x2a29('0x2a'));})),this[_0x2a29('0x27')];}[_0x2a29('0x37')](){this[_0x2a29('0x1e')]&&this[_0x2a29('0x1e')][_0x2a29('0x37')]();}async['destroy'](){this[_0x2a29('0x9')]||(this[_0x2a29('0x9')]=!0x0,this[_0x2a29('0x1e')]&&(await this[_0x2a29('0x27')],await this[_0x2a29('0x1e')]['destroy']()),await super['destroy']());}['_createSubmitButton'](){const {locale:_0x5207fc}=this,_0x2a9aff=new _0x538096(_0x5207fc);return _0x2a9aff[_0x2a29('0x33')]({'attributes':{'class':[_0x2a29('0x28')]}}),_0x2a9aff[_0x2a29('0x36')]=_0xe247c8(_0x5207fc,'Submit'),_0x2a9aff[_0x2a29('0x25')]=_0x2afc29[_0x2a29('0x24')],_0x2a9aff['on'](_0x2a29('0x2f'),()=>{this['fire'](_0x2a29('0xb'),this[_0x2a29('0x29')]);}),_0x2a9aff[_0x2a29('0x34')](_0x2a29('0x35'))['to'](this,'value',this,_0x2a29('0x22'),(_0x164fba,_0x4445ad)=>!_0x4445ad&&!!_0x164fba[_0x2a29('0x2e')]()),_0x2a9aff;}[_0x2a29('0xf')](){const {locale:_0x3ec8ad}=this,_0x15598e=new _0x538096(_0x3ec8ad);return _0x15598e['extendTemplate']({'attributes':{'class':[_0x2a29('0x30')]}}),_0x15598e[_0x2a29('0x36')]=_0xe247c8(_0x3ec8ad,_0x2a29('0x2c')),_0x15598e[_0x2a29('0x25')]=_0x2afc29[_0x2a29('0x38')],_0x15598e['on']('execute',()=>{this[_0x2a29('0x1e')][_0x2a29('0x14')](''),this[_0x2a29('0x1f')]('cancel');}),_0x15598e;}[_0x2a29('0x1d')](_0xd3991b){const _0x356cb1=this['focusTracker'],_0x1f0b49=new _0x4f7d9e();[_0xd3991b['ui'][_0x2a29('0x6')],this[_0x2a29('0xd')],this[_0x2a29('0xc')]][_0x2a29('0x4')](_0x295000=>{_0x1f0b49[_0x2a29('0x19')](_0x295000),_0x356cb1[_0x2a29('0x19')](_0x295000['element']);});const _0x33700a=new _0x58b63a({'focusables':_0x1f0b49,'focusTracker':_0x356cb1});this[_0x2a29('0x21')][_0x2a29('0x17')]('tab',(_0x591309,_0x18726a)=>{_0x33700a[_0x2a29('0x3')](),_0x18726a();},{'priority':'low'}),this[_0x2a29('0x21')][_0x2a29('0x17')](_0x2a29('0xe'),(_0x67d799,_0x15290f)=>{_0x33700a['focusPrevious'](),_0x15290f();},{'priority':_0x2a29('0x2')});}}
23
+ const _0x19b1=['focusPrevious','TOO_LONG_COMMENT_ALERT','Submit','focus','ck-comment__input-actions','ck-comment__input-actions--submit','showButtons','focusTracker','fire','ck-comment__input-actions--active','_isDestroyed','Esc','execute','ck-comment__input-wrapper','disabledSubmit','submitButtonView','setTemplate','cancelButtonView','_createSubmitButton','check','low','length','keystrokes','editor','trim','extendTemplate','add','_createCancelButton','render','submit','placeholder','_editorCreationPromise','shift\x20+\x20tab','insertBefore','cancel','change','setData','value','model','set','high','then','stop','bind','create','element','forEach','_initializeFocusCycling','icon','ck-comment__input-actions--cancel','initialData','_editorConfig','label','div','document','tab'];(function(_0x2f4fe2,_0x19b1a7){const _0x5991fc=function(_0x1bc180){while(--_0x1bc180){_0x2f4fe2['push'](_0x2f4fe2['shift']());}};_0x5991fc(++_0x19b1a7);}(_0x19b1,0x12a));const _0x5991=function(_0x2f4fe2,_0x19b1a7){_0x2f4fe2=_0x2f4fe2-0x0;let _0x5991fc=_0x19b1[_0x2f4fe2];return _0x5991fc;};import{View as _0x237b29,ViewCollection as _0x577994,FocusCycler as _0x3dfce8,ButtonView as _0x3ccda9}from'ckeditor5/src/ui';import{FocusTracker as _0x349f51,KeystrokeHandler as _0x27b20a}from'ckeditor5/src/utils';import{icons as _0x5044f2}from'ckeditor5/src/core';import _0x1187ec from'../commenteditor/commenteditor';import{getTranslation as _0x44d07f}from'../../../utils/common-translations';export default class Wt extends _0x237b29{constructor(_0x14b3e2,_0x4c622a={}){super(_0x14b3e2),this['editor']=null,this['_editorConfig']=_0x4c622a,this[_0x5991('0x4')]=new _0x27b20a(),this[_0x5991('0x2d')]=new _0x349f51(),this['set'](_0x5991('0x13'),_0x4c622a[_0x5991('0x20')]||''),this[_0x5991('0x15')](_0x5991('0x34'),!0x1),this[_0x5991('0x15')](_0x5991('0x2c'),!0x0),this[_0x5991('0x15')](_0x5991('0xc'),_0x44d07f(_0x14b3e2,'Reply...')),this[_0x5991('0x35')]=this['_createSubmitButton'](),this[_0x5991('0x37')]=this[_0x5991('0x9')](),this[_0x5991('0x36')]({'tag':_0x5991('0x23'),'attributes':{'class':[_0x5991('0x33')]},'children':[{'tag':'div','attributes':{'class':[_0x5991('0x2a'),this['bindTemplate']['if']('showButtons',_0x5991('0x2f'))]},'children':[this[_0x5991('0x35')],this[_0x5991('0x37')]]}]}),this[_0x5991('0x4')][_0x5991('0x15')](_0x5991('0x31'),(_0x2ea80b,_0x458086)=>{this[_0x5991('0x37')][_0x5991('0x2e')](_0x5991('0x32')),_0x458086();}),this['on']('submit',(_0x2a642f,_0x14b760)=>{_0x14b760[_0x5991('0x3')]>0xfde8?(alert(_0x44d07f(_0x14b3e2,_0x5991('0x27'),[_0x14b760[_0x5991('0x3')],0xfde8])),_0x2a642f[_0x5991('0x18')]()):this[_0x5991('0x5')][_0x5991('0x12')]('');},{'priority':_0x5991('0x16')});}[_0x5991('0xa')](){super[_0x5991('0xa')](),this[_0x5991('0x4')]['listenTo'](this[_0x5991('0x1b')]),this['focusTracker'][_0x5991('0x8')](this[_0x5991('0x1b')]);}['createEditor'](){return this[_0x5991('0x5')]||(this['editor']=new _0x1187ec(this[_0x5991('0x21')]),this[_0x5991('0xd')]=this[_0x5991('0x5')][_0x5991('0x1a')]()[_0x5991('0x17')](()=>{if(this[_0x5991('0x30')])return;const _0x254d23=this[_0x5991('0x5')];this[_0x5991('0x1b')][_0x5991('0xf')](_0x254d23['ui'][_0x5991('0x1b')],this[_0x5991('0x1b')]['firstChild']),_0x254d23[_0x5991('0x14')][_0x5991('0x24')]['on'](_0x5991('0x11'),()=>this['value']=_0x254d23['getData']()),_0x254d23[_0x5991('0x19')](_0x5991('0xc'))['to'](this),this[_0x5991('0x1d')](this[_0x5991('0x5')]),this[_0x5991('0x2e')]('editorReady');})),this[_0x5991('0xd')];}[_0x5991('0x29')](){this[_0x5991('0x5')]&&this[_0x5991('0x5')][_0x5991('0x29')]();}async['destroy'](){this[_0x5991('0x30')]||(this[_0x5991('0x30')]=!0x0,this['editor']&&(await this['_editorCreationPromise'],await this['editor']['destroy']()),await super['destroy']());}[_0x5991('0x0')](){const {locale:_0x419165}=this,_0x1f9003=new _0x3ccda9(_0x419165);return _0x1f9003['extendTemplate']({'attributes':{'class':[_0x5991('0x2b')]}}),_0x1f9003[_0x5991('0x22')]=_0x44d07f(_0x419165,_0x5991('0x28')),_0x1f9003[_0x5991('0x1e')]=_0x5044f2[_0x5991('0x1')],_0x1f9003['on'](_0x5991('0x32'),()=>{this['fire'](_0x5991('0xb'),this[_0x5991('0x13')]);}),_0x1f9003[_0x5991('0x19')]('isEnabled')['to'](this,_0x5991('0x13'),this,'disabledSubmit',(_0x479874,_0x13dbda)=>!_0x13dbda&&!!_0x479874[_0x5991('0x6')]()),_0x1f9003;}[_0x5991('0x9')](){const {locale:_0x405a68}=this,_0x5f19a1=new _0x3ccda9(_0x405a68);return _0x5f19a1[_0x5991('0x7')]({'attributes':{'class':[_0x5991('0x1f')]}}),_0x5f19a1['label']=_0x44d07f(_0x405a68,'Cancel'),_0x5f19a1[_0x5991('0x1e')]=_0x5044f2['cancel'],_0x5f19a1['on']('execute',()=>{this[_0x5991('0x5')][_0x5991('0x12')](''),this[_0x5991('0x2e')](_0x5991('0x10'));}),_0x5f19a1;}[_0x5991('0x1d')](_0x13a912){const _0x4da1a4=this[_0x5991('0x2d')],_0x2a89ae=new _0x577994();[_0x13a912['ui']['view'],this['submitButtonView'],this[_0x5991('0x37')]][_0x5991('0x1c')](_0x2e2435=>{_0x2a89ae[_0x5991('0x8')](_0x2e2435),_0x4da1a4[_0x5991('0x8')](_0x2e2435[_0x5991('0x1b')]);});const _0x4e86f4=new _0x3dfce8({'focusables':_0x2a89ae,'focusTracker':_0x4da1a4});this[_0x5991('0x4')]['set'](_0x5991('0x25'),(_0x8534ad,_0x16e327)=>{_0x4e86f4['focusNext'](),_0x16e327();},{'priority':_0x5991('0x2')}),this[_0x5991('0x4')][_0x5991('0x15')](_0x5991('0xe'),(_0x308a53,_0x496100)=>{_0x4e86f4[_0x5991('0x26')](),_0x496100();},{'priority':_0x5991('0x2')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4502=['EMPTY_COMMENTS_ARCHIVE','_focusables','stopPropagation','arrowright','_keystrokes','isActive','arrowdown','length','destroy','listenTo','div','setTemplate','ck-comments-archive','bindTemplate','add','ck-hidden','_focusCycler','arrowup','shift\x20+\x20tab','high','render','tab','ck-comments-archive__content','element','ck-comments-archive__header\x20','set','isEmpty','focus','_focusTracker'];(function(_0x43cd7e,_0x4502f5){const _0x93e579=function(_0x1d2ba4){while(--_0x1d2ba4){_0x43cd7e['push'](_0x43cd7e['shift']());}};_0x93e579(++_0x4502f5);}(_0x4502,0x181));const _0x93e5=function(_0x43cd7e,_0x4502f5){_0x43cd7e=_0x43cd7e-0x0;let _0x93e579=_0x4502[_0x43cd7e];return _0x93e579;};import{View as _0x217820,FocusCycler as _0x1d2737}from'ckeditor5/src/ui';import{FocusTracker as _0x5260c1,KeystrokeHandler as _0x5dc400}from'ckeditor5/src/utils';import{getTranslation as _0x1a8430}from'../../../utils/common-translations';export default class K extends _0x217820{constructor(_0x28705e,_0x26cc2c){super(_0x28705e),this[_0x93e5('0x11')](_0x93e5('0x12'),!_0x26cc2c[_0x93e5('0x1c')]),this[_0x93e5('0x14')]=new _0x5260c1(),this[_0x93e5('0x19')]=new _0x5dc400(),this['_focusables']=_0x26cc2c,this[_0x93e5('0x8')]=new _0x1d2737({'focusables':this[_0x93e5('0x16')],'focusTracker':this[_0x93e5('0x14')],'keystrokeHandler':this[_0x93e5('0x19')],'actions':{'focusPrevious':_0x93e5('0xa'),'focusNext':_0x93e5('0xd')}}),this[_0x93e5('0x1')](_0x26cc2c,_0x93e5('0x6'),()=>{this[_0x93e5('0x12')]=!0x1;}),this['listenTo'](_0x26cc2c,'remove',(_0x326d31,_0x2b4d8d)=>{_0x2b4d8d[_0x93e5('0x1a')]&&this[_0x93e5('0x13')](),_0x26cc2c[_0x93e5('0x1c')]||(this['isEmpty']=!0x0);});const _0x3f660d=this[_0x93e5('0x5')];this[_0x93e5('0x3')]({'tag':_0x93e5('0x2'),'attributes':{'dir':'auto','class':['ck',_0x93e5('0x4')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x93e5('0x10')]},'children':[{'text':_0x1a8430(_0x28705e,'COMMENTS_ARCHIVE')}]},{'tag':_0x93e5('0x2'),'attributes':{'class':[_0x93e5('0xe')]},'children':[{'tag':'div','children':_0x26cc2c},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x3f660d['if'](_0x93e5('0x12'),_0x93e5('0x7'),_0x2d289a=>!_0x2d289a)]},'children':[{'text':_0x1a8430(_0x28705e,_0x93e5('0x15'))}]}]}]});}[_0x93e5('0xc')](){super[_0x93e5('0xc')](),this[_0x93e5('0x19')]['listenTo'](this[_0x93e5('0xf')]);const _0xec6b91=_0x20914e=>_0x20914e[_0x93e5('0x17')]();this[_0x93e5('0x19')][_0x93e5('0x11')](_0x93e5('0x18'),_0xec6b91),this[_0x93e5('0x19')][_0x93e5('0x11')]('arrowleft',_0xec6b91),this['_keystrokes'][_0x93e5('0x11')](_0x93e5('0x9'),_0xec6b91),this[_0x93e5('0x19')][_0x93e5('0x11')](_0x93e5('0x1b'),_0xec6b91),this[_0x93e5('0x1')](this[_0x93e5('0xf')],'selectstart',(_0x166ed8,_0xb5d26)=>{_0xb5d26['stopPropagation']();},{'priority':_0x93e5('0xb')});}[_0x93e5('0x0')](){super[_0x93e5('0x0')](),this[_0x93e5('0x14')][_0x93e5('0x0')](),this[_0x93e5('0x19')][_0x93e5('0x0')]();}[_0x93e5('0x13')](){this[_0x93e5('0xf')][_0x93e5('0x13')]();}}
23
+ const _0xef91=['stopPropagation','add','ck-comments-archive__info','EMPTY_COMMENTS_ARCHIVE','auto','element','ck-comments-archive__content','ck-comments-archive','_focusTracker','div','arrowup','isActive','render','remove','setTemplate','focus','bindTemplate','tab','set','destroy','ck-comments-archive__header\x20','_keystrokes','arrowright','high','arrowleft','isEmpty','_focusCycler','shift\x20+\x20tab','listenTo'];(function(_0x144350,_0xef919e){const _0x3d57c2=function(_0x4aa5cd){while(--_0x4aa5cd){_0x144350['push'](_0x144350['shift']());}};_0x3d57c2(++_0xef919e);}(_0xef91,0xb9));const _0x3d57=function(_0x144350,_0xef919e){_0x144350=_0x144350-0x0;let _0x3d57c2=_0xef91[_0x144350];return _0x3d57c2;};import{View as _0x147f14,FocusCycler as _0x8dccca}from'ckeditor5/src/ui';import{FocusTracker as _0xa44157,KeystrokeHandler as _0x31395d}from'ckeditor5/src/utils';import{getTranslation as _0x1fb4ba}from'../../../utils/common-translations';export default class K extends _0x147f14{constructor(_0x4f433f,_0x54b43a){super(_0x4f433f),this[_0x3d57('0x7')](_0x3d57('0xe'),!_0x54b43a['length']),this[_0x3d57('0x1a')]=new _0xa44157(),this[_0x3d57('0xa')]=new _0x31395d(),this['_focusables']=_0x54b43a,this[_0x3d57('0xf')]=new _0x8dccca({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this[_0x3d57('0xa')],'actions':{'focusPrevious':_0x3d57('0x10'),'focusNext':_0x3d57('0x6')}}),this[_0x3d57('0x11')](_0x54b43a,_0x3d57('0x13'),()=>{this[_0x3d57('0xe')]=!0x1;}),this[_0x3d57('0x11')](_0x54b43a,_0x3d57('0x2'),(_0x44676b,_0x3fedef)=>{_0x3fedef[_0x3d57('0x0')]&&this[_0x3d57('0x4')](),_0x54b43a['length']||(this[_0x3d57('0xe')]=!0x0);});const _0x589499=this[_0x3d57('0x5')];this[_0x3d57('0x3')]({'tag':_0x3d57('0x1b'),'attributes':{'dir':_0x3d57('0x16'),'class':['ck',_0x3d57('0x19')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x3d57('0x9')]},'children':[{'text':_0x1fb4ba(_0x4f433f,'COMMENTS_ARCHIVE')}]},{'tag':'div','attributes':{'class':[_0x3d57('0x18')]},'children':[{'tag':_0x3d57('0x1b'),'children':_0x54b43a},{'tag':'p','attributes':{'class':[_0x3d57('0x14'),_0x589499['if'](_0x3d57('0xe'),'ck-hidden',_0x2a4dfb=>!_0x2a4dfb)]},'children':[{'text':_0x1fb4ba(_0x4f433f,_0x3d57('0x15'))}]}]}]});}['render'](){super[_0x3d57('0x1')](),this['_keystrokes'][_0x3d57('0x11')](this['element']);const _0x55d260=_0x12a580=>_0x12a580[_0x3d57('0x12')]();this[_0x3d57('0xa')][_0x3d57('0x7')](_0x3d57('0xb'),_0x55d260),this['_keystrokes'][_0x3d57('0x7')](_0x3d57('0xd'),_0x55d260),this[_0x3d57('0xa')][_0x3d57('0x7')](_0x3d57('0x1c'),_0x55d260),this[_0x3d57('0xa')]['set']('arrowdown',_0x55d260),this[_0x3d57('0x11')](this['element'],'selectstart',(_0x22677a,_0x574070)=>{_0x574070[_0x3d57('0x12')]();},{'priority':_0x3d57('0xc')});}[_0x3d57('0x8')](){super['destroy'](),this[_0x3d57('0x1a')][_0x3d57('0x8')](),this[_0x3d57('0xa')][_0x3d57('0x8')]();}[_0x3d57('0x4')](){this[_0x3d57('0x17')]['focus']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13d8=['_model','resolved','viewUid','_findOptimalIndex','editorConfig','authoredAt','get','maxCommentsWhenCollapsed','_rearrangeExpand','_calculatePosition','maxCommentCharsWhenCollapsed','delegate','_handleInfoComment','add','setTemplate','remove','locale','comments','from','CommentView','Marked\x20as\x20resolved','insert','_handleNewCommentModel','isEditMode','_handleRemoveCommentModel','expand','refreshVisibleViews','hasDirtyComment','_updateHasDirtyComment','_collapsedCommentsView','change:isActive','_shouldCollapse','commentViews','count','isActive','ck-thread__comments','change:hasDirtyComment','resolvedBy','equal','_config','delete','listenTo','focus','resolvedCommentView','formatDateTime','element','bind','_rearrangeCollapse','isResolved','createCollection','render','length','some','set','destroy','commentUpdated','visibleViews'];(function(_0x2b55b1,_0x13d868){const _0x442f0c=function(_0x21276d){while(--_0x21276d){_0x2b55b1['push'](_0x2b55b1['shift']());}};_0x442f0c(++_0x13d868);}(_0x13d8,0x11a));const _0x442f=function(_0x2b55b1,_0x13d868){_0x2b55b1=_0x2b55b1-0x0;let _0x442f0c=_0x13d8[_0x2b55b1];return _0x442f0c;};import{View as _0xae62a1}from'ckeditor5/src/ui';import{diff as _0x9ea7a0,Collection as _0xea51fb}from'ckeditor5/src/utils';import{getTranslation as _0x48380e}from'../../../utils/common-translations';import _0x749f19 from'./collapsedcommentsview';export default class vt extends _0xae62a1{constructor(_0x3b31dc,_0x3e4d5a,_0x2feddb){super(_0x3b31dc),this[_0x442f('0x38')](_0x442f('0x1e'),!0x1),this[_0x442f('0x38')](_0x442f('0x36'),_0x3e4d5a['comments'][_0x442f('0x36')]),this[_0x442f('0x38')](_0x442f('0x25'),!0x1),this[_0x442f('0x3')]=_0x3e4d5a,this[_0x442f('0x2a')]=_0x2feddb,this[_0x442f('0x23')]=this[_0x442f('0x34')](),this[_0x442f('0x2')]=this['createCollection'](),this[_0x442f('0x2e')]=null,this[_0x442f('0x20')]=new _0x749f19(_0x3b31dc),this[_0x442f('0x20')][_0x442f('0x31')](_0x442f('0x24'))['to'](this,_0x442f('0x36'),_0x27b025=>_0x27b025-this[_0x442f('0x2a')][_0x442f('0xa')]);for(const _0x3237a8 of _0x3e4d5a[_0x442f('0x14')])this[_0x442f('0x19')](_0x3237a8);this[_0x442f('0xf')](),this['listenTo'](_0x3e4d5a['comments'],_0x442f('0x10'),(_0x5bba39,_0x429f5b)=>{const _0x4eb94f=this[_0x442f('0xc')](_0x429f5b);this[_0x442f('0x36')]++,this[_0x442f('0x19')](_0x429f5b,_0x4eb94f),this[_0x442f('0x1d')]();}),this['listenTo'](_0x3e4d5a['comments'],_0x442f('0x12'),(_0x5b1249,_0x43d7f2)=>{this[_0x442f('0x36')]--,this[_0x442f('0x1b')](_0x43d7f2),this[_0x442f('0x1d')]();}),this['listenTo'](_0x3e4d5a,_0x442f('0x1'),()=>this[_0x442f('0x1d')]()),this['listenTo'](_0x3e4d5a,'change:isResolved',()=>this['_handleInfoComment']()),this['on'](_0x442f('0x21'),()=>this[_0x442f('0x1d')]()),this['on'](_0x442f('0x27'),()=>this['refreshVisibleViews']()),this[_0x442f('0x11')]({'tag':'ul','attributes':{'class':[_0x442f('0x26')]},'children':this[_0x442f('0x2')]});}get[_0x442f('0x22')](){return this[_0x442f('0x3')]['weight']>this[_0x442f('0x2a')]['maxThreadTotalWeight']&&!this[_0x442f('0x25')]&&!this['hasDirtyComment'];}[_0x442f('0x35')](){super[_0x442f('0x35')](),this[_0x442f('0x1d')]();}['focus'](){this[_0x442f('0x30')][_0x442f('0x2d')]();}['destroy'](){this[_0x442f('0x20')][_0x442f('0x0')]();for(const _0x19aaa9 of this[_0x442f('0x23')])_0x19aaa9[_0x442f('0x0')]();super[_0x442f('0x0')]();}['refreshVisibleViews'](){this['_shouldCollapse']?this[_0x442f('0x32')]():this[_0x442f('0xb')]();}['_handleNewCommentModel'](_0x2b39ec,_0x1d9d3b){const _0x137468=new this[(_0x442f('0x2a'))]['CommentView'](this['locale'],_0x2b39ec,{'maxCommentCharsWhenCollapsed':this[_0x442f('0x2a')]['maxCommentCharsWhenCollapsed'],'formatDateTime':this[_0x442f('0x2a')][_0x442f('0x2f')],'editorConfig':this['_config']['editorConfig']});_0x137468[_0x442f('0x5')]=_0x2b39ec['id'],_0x137468['delegate']('removeComment')['to'](this),_0x137468[_0x442f('0xe')]('updateComment')['to'](this),_0x137468[_0x442f('0xe')]('resolveCommentThread')['to'](this),this[_0x442f('0x2c')](_0x137468,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this[_0x442f('0x23')][_0x442f('0x10')](_0x137468,_0x1d9d3b);}['_calculatePosition'](_0x462d2b){const _0x215350=this[_0x442f('0x3')]['_findOptimalIndex'](_0x462d2b);return this[_0x442f('0x2e')]?this[_0x442f('0x2e')][_0x442f('0x8')]>_0x462d2b[_0x442f('0x8')]?_0x215350-0x1:_0x215350:_0x215350-0x1;}['_handleInfoComment'](){if(this['_model'][_0x442f('0x33')]){const _0x3007ef={'id':_0x442f('0x4'),'author':this[_0x442f('0x3')][_0x442f('0x28')],'authoredAt':this[_0x442f('0x3')]['resolvedAt'],'content':_0x48380e(this[_0x442f('0x13')],_0x442f('0x17')),'attributes':{}};this['resolvedCommentView']=new this['_config'][(_0x442f('0x16'))](this[_0x442f('0x13')],_0x3007ef,{'maxCommentCharsWhenCollapsed':this[_0x442f('0x2a')][_0x442f('0xd')],'formatDateTime':this[_0x442f('0x2a')][_0x442f('0x2f')],'editorConfig':this[_0x442f('0x2a')][_0x442f('0x7')],'isSystemComment':!0x0}),this[_0x442f('0x23')]['add'](this[_0x442f('0x2e')],this[_0x442f('0x3')][_0x442f('0x6')](_0x3007ef));}else this[_0x442f('0x2e')]&&(this[_0x442f('0x23')]['remove'](this[_0x442f('0x2e')]),this[_0x442f('0x2e')][_0x442f('0x0')](),this[_0x442f('0x2e')]=null);this[_0x442f('0x1d')]();}[_0x442f('0x1b')](_0x12bb25){const _0x47b5ba=this['commentViews'][_0x442f('0x12')](_0x12bb25['id']);this['stopListening'](_0x47b5ba),_0x47b5ba[_0x442f('0x1a')]&&this[_0x442f('0x1f')](),_0x47b5ba[_0x442f('0x0')]();}[_0x442f('0x1f')](){this[_0x442f('0x1e')]=Array[_0x442f('0x15')](this[_0x442f('0x23')])[_0x442f('0x37')](_0x3a8559=>_0x3a8559[_0x442f('0x1a')]);}[_0x442f('0x32')](){const _0x24438c=function(_0x21b8df){const _0x256e57=new _0xea51fb();for(const _0x517229 of _0x21b8df)_0x256e57['add'](_0x517229);return _0x256e57;}(this[_0x442f('0x23')]),_0x79fa3=this[_0x442f('0x20')]['count'];for(let _0x5a5cc6=0x1;_0x5a5cc6<=_0x79fa3;_0x5a5cc6++)_0x24438c[_0x442f('0x12')](0x1);for(const _0x13c022 of _0x24438c)_0x13c022['collapse']();_0x79fa3>0x0&&_0x24438c[_0x442f('0x10')](this[_0x442f('0x20')],0x1),ss(_0x9ea7a0(Array[_0x442f('0x15')](this[_0x442f('0x2')]),Array[_0x442f('0x15')](_0x24438c)),this[_0x442f('0x2')],_0x24438c);}[_0x442f('0xb')](){ss(_0x9ea7a0(Array['from'](this[_0x442f('0x2')]),Array[_0x442f('0x15')](this['commentViews'])),this[_0x442f('0x2')],this[_0x442f('0x23')]);for(const _0x3e5e91 of this[_0x442f('0x2')])_0x3e5e91[_0x442f('0x1c')]();}}function ss(_0x55f890,_0x312aa0,_0x56279a){let _0x3905e5=0x0;for(const _0x3af663 of _0x55f890)switch(_0x3af663){case _0x442f('0x18'):_0x312aa0['add'](_0x56279a[_0x442f('0x9')](_0x3905e5),_0x3905e5),_0x3905e5++;break;case _0x442f('0x2b'):_0x312aa0['remove'](_0x3905e5);break;case _0x442f('0x29'):_0x3905e5++;}}
23
+ const _0x1b03=['bind','visibleViews','_rearrangeExpand','ck-thread__comments','setTemplate','refreshVisibleViews','expand','set','change:isActive','delete','hasDirtyComment','count','_findOptimalIndex','weight','resolvedCommentView','_rearrangeCollapse','remove','length','_shouldCollapse','isEditMode','Marked\x20as\x20resolved','change:isEditMode','commentViews','_collapsedCommentsView','element','change:isResolved','_config','insert','resolvedAt','change:hasDirtyComment','_calculatePosition','add','locale','maxCommentCharsWhenCollapsed','resolved','collapse','_handleNewCommentModel','get','formatDateTime','viewUid','_model','_updateHasDirtyComment','comments','stopListening','commentUpdated','_handleInfoComment','destroy','maxThreadTotalWeight','from','createCollection','authoredAt','focus','delegate','listenTo','_handleRemoveCommentModel','CommentView','render'];(function(_0x2102c2,_0x1b03e7){const _0xfa2876=function(_0x59726c){while(--_0x59726c){_0x2102c2['push'](_0x2102c2['shift']());}};_0xfa2876(++_0x1b03e7);}(_0x1b03,0xee));const _0xfa28=function(_0x2102c2,_0x1b03e7){_0x2102c2=_0x2102c2-0x0;let _0xfa2876=_0x1b03[_0x2102c2];return _0xfa2876;};import{View as _0x4eb9d8}from'ckeditor5/src/ui';import{diff as _0x592281,Collection as _0x23fe12}from'ckeditor5/src/utils';import{getTranslation as _0x4c8d28}from'../../../utils/common-translations';import _0x5b4afe from'./collapsedcommentsview';export default class vt extends _0x4eb9d8{constructor(_0x3d16f5,_0x4e14ca,_0x4d900b){super(_0x3d16f5),this[_0xfa28('0x36')]('hasDirtyComment',!0x1),this[_0xfa28('0x36')](_0xfa28('0x7'),_0x4e14ca[_0xfa28('0x20')]['length']),this[_0xfa28('0x36')]('isActive',!0x1),this[_0xfa28('0x1e')]=_0x4e14ca,this[_0xfa28('0x10')]=_0x4d900b,this[_0xfa28('0xc')]=this[_0xfa28('0x27')](),this[_0xfa28('0x30')]=this['createCollection'](),this['resolvedCommentView']=null,this[_0xfa28('0xd')]=new _0x5b4afe(_0x3d16f5),this[_0xfa28('0xd')][_0xfa28('0x2f')]('count')['to'](this,'length',_0x14c745=>_0x14c745-this[_0xfa28('0x10')]['maxCommentsWhenCollapsed']);for(const _0x5ef4db of _0x4e14ca[_0xfa28('0x20')])this[_0xfa28('0x1a')](_0x5ef4db);this[_0xfa28('0x23')](),this['listenTo'](_0x4e14ca['comments'],_0xfa28('0x15'),(_0x23fa88,_0x48d2b9)=>{const _0x5ac6ea=this[_0xfa28('0x14')](_0x48d2b9);this[_0xfa28('0x7')]++,this[_0xfa28('0x1a')](_0x48d2b9,_0x5ac6ea),this[_0xfa28('0x34')]();}),this[_0xfa28('0x2b')](_0x4e14ca[_0xfa28('0x20')],_0xfa28('0x6'),(_0x49c000,_0x397dcb)=>{this[_0xfa28('0x7')]--,this[_0xfa28('0x2c')](_0x397dcb),this[_0xfa28('0x34')]();}),this[_0xfa28('0x2b')](_0x4e14ca,_0xfa28('0x22'),()=>this[_0xfa28('0x34')]()),this[_0xfa28('0x2b')](_0x4e14ca,_0xfa28('0xf'),()=>this['_handleInfoComment']()),this['on'](_0xfa28('0x37'),()=>this[_0xfa28('0x34')]()),this['on'](_0xfa28('0x13'),()=>this[_0xfa28('0x34')]()),this[_0xfa28('0x33')]({'tag':'ul','attributes':{'class':[_0xfa28('0x32')]},'children':this[_0xfa28('0x30')]});}get[_0xfa28('0x8')](){return this[_0xfa28('0x1e')][_0xfa28('0x3')]>this['_config'][_0xfa28('0x25')]&&!this['isActive']&&!this[_0xfa28('0x0')];}[_0xfa28('0x2e')](){super[_0xfa28('0x2e')](),this[_0xfa28('0x34')]();}['focus'](){this[_0xfa28('0xe')][_0xfa28('0x29')]();}['destroy'](){this[_0xfa28('0xd')][_0xfa28('0x24')]();for(const _0x201fcd of this[_0xfa28('0xc')])_0x201fcd[_0xfa28('0x24')]();super[_0xfa28('0x24')]();}['refreshVisibleViews'](){this[_0xfa28('0x8')]?this[_0xfa28('0x5')]():this[_0xfa28('0x31')]();}['_handleNewCommentModel'](_0x389012,_0x24b21d){const _0x2f6b6c=new this[(_0xfa28('0x10'))][(_0xfa28('0x2d'))](this[_0xfa28('0x16')],_0x389012,{'maxCommentCharsWhenCollapsed':this[_0xfa28('0x10')][_0xfa28('0x17')],'formatDateTime':this['_config'][_0xfa28('0x1c')],'editorConfig':this[_0xfa28('0x10')]['editorConfig']});_0x2f6b6c[_0xfa28('0x1d')]=_0x389012['id'],_0x2f6b6c[_0xfa28('0x2a')]('removeComment')['to'](this),_0x2f6b6c[_0xfa28('0x2a')]('updateComment')['to'](this),_0x2f6b6c[_0xfa28('0x2a')]('resolveCommentThread')['to'](this),this['listenTo'](_0x2f6b6c,_0xfa28('0xb'),()=>this[_0xfa28('0x1f')]()),this['commentViews']['add'](_0x2f6b6c,_0x24b21d);}[_0xfa28('0x14')](_0x12fde7){const _0x1f4a7a=this[_0xfa28('0x1e')][_0xfa28('0x2')](_0x12fde7);return this[_0xfa28('0x4')]?this[_0xfa28('0x4')][_0xfa28('0x28')]>_0x12fde7[_0xfa28('0x28')]?_0x1f4a7a-0x1:_0x1f4a7a:_0x1f4a7a-0x1;}[_0xfa28('0x23')](){if(this[_0xfa28('0x1e')]['isResolved']){const _0x5eb237={'id':_0xfa28('0x18'),'author':this['_model']['resolvedBy'],'authoredAt':this['_model'][_0xfa28('0x12')],'content':_0x4c8d28(this[_0xfa28('0x16')],_0xfa28('0xa')),'attributes':{}};this[_0xfa28('0x4')]=new this[(_0xfa28('0x10'))][(_0xfa28('0x2d'))](this[_0xfa28('0x16')],_0x5eb237,{'maxCommentCharsWhenCollapsed':this['_config'][_0xfa28('0x17')],'formatDateTime':this[_0xfa28('0x10')][_0xfa28('0x1c')],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this[_0xfa28('0xc')][_0xfa28('0x15')](this[_0xfa28('0x4')],this['_model']['_findOptimalIndex'](_0x5eb237));}else this['resolvedCommentView']&&(this[_0xfa28('0xc')][_0xfa28('0x6')](this['resolvedCommentView']),this[_0xfa28('0x4')][_0xfa28('0x24')](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x4522a1){const _0x33ebcb=this['commentViews'][_0xfa28('0x6')](_0x4522a1['id']);this[_0xfa28('0x21')](_0x33ebcb),_0x33ebcb[_0xfa28('0x9')]&&this[_0xfa28('0x1f')](),_0x33ebcb[_0xfa28('0x24')]();}['_updateHasDirtyComment'](){this['hasDirtyComment']=Array[_0xfa28('0x26')](this[_0xfa28('0xc')])['some'](_0x29151e=>_0x29151e['isEditMode']);}[_0xfa28('0x5')](){const _0x27d490=function(_0x170b56){const _0x163cc2=new _0x23fe12();for(const _0x54bcf9 of _0x170b56)_0x163cc2[_0xfa28('0x15')](_0x54bcf9);return _0x163cc2;}(this[_0xfa28('0xc')]),_0x4e701f=this[_0xfa28('0xd')][_0xfa28('0x1')];for(let _0x5ae99a=0x1;_0x5ae99a<=_0x4e701f;_0x5ae99a++)_0x27d490[_0xfa28('0x6')](0x1);for(const _0x29dbe8 of _0x27d490)_0x29dbe8[_0xfa28('0x19')]();_0x4e701f>0x0&&_0x27d490[_0xfa28('0x15')](this[_0xfa28('0xd')],0x1),ss(_0x592281(Array[_0xfa28('0x26')](this[_0xfa28('0x30')]),Array[_0xfa28('0x26')](_0x27d490)),this[_0xfa28('0x30')],_0x27d490);}[_0xfa28('0x31')](){ss(_0x592281(Array[_0xfa28('0x26')](this['visibleViews']),Array[_0xfa28('0x26')](this['commentViews'])),this[_0xfa28('0x30')],this[_0xfa28('0xc')]);for(const _0x57645c of this['visibleViews'])_0x57645c[_0xfa28('0x35')]();}}function ss(_0xe042b1,_0xc567fd,_0x24edfa){let _0x26779e=0x0;for(const _0x52d2df of _0xe042b1)switch(_0x52d2df){case _0xfa28('0x11'):_0xc567fd[_0xfa28('0x15')](_0x24edfa[_0xfa28('0x1b')](_0x26779e),_0x26779e),_0x26779e++;break;case _0xfa28('0x38'):_0xc567fd[_0xfa28('0x6')](_0x26779e);break;case'equal':_0x26779e++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35ef=['bindTemplate','contextValue','remove','value','div','_model','ck-context-wrapper','.ck-context','classList','...','querySelector','scrollWidth','_trimContextValue','ck-context','ck-thread__header','element','_attachContextActions','lastIndexOf','mouseleave','execute','tooltip','reopenButtonView','isResolvable','substring','isVisible','ck-annotation__actions','locale','label','fire','add','Reopen','Comment\x20was\x20made\x20on\x20an\x20element','ck-context--quotes','icon','_createReopenButton','render','bind','.ck-context__value'];(function(_0x1dec27,_0x35ef9b){const _0x34f77f=function(_0x3c564b){while(--_0x3c564b){_0x1dec27['push'](_0x1dec27['shift']());}};_0x34f77f(++_0x35ef9b);}(_0x35ef,0xe1));const _0x34f7=function(_0x1dec27,_0x35ef9b){_0x1dec27=_0x1dec27-0x0;let _0x34f77f=_0x35ef[_0x1dec27];return _0x34f77f;};import{View as _0x2d26a7,ButtonView as _0x2923af}from'ckeditor5/src/ui';import{getTranslation as _0x53564d}from'../../../utils/common-translations';import _0x86fc85 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x2d26a7{constructor(_0x1e619a,_0x2a9a3b){super(_0x1e619a);const _0x562c8f=this[_0x34f7('0x3')];this[_0x34f7('0x8')]=_0x2a9a3b,this[_0x34f7('0x18')]=this[_0x34f7('0x25')](),this[_0x34f7('0x1')]('hasContext')['to'](this[_0x34f7('0x8')],'context',_0x3f3dc6=>!!_0x3f3dc6),this[_0x34f7('0x1')](_0x34f7('0x4'))['to'](this['_model'],'context',_0x48138e=>_0x48138e&&_0x48138e[_0x34f7('0x6')]?this[_0x34f7('0xf')](_0x48138e['value']):_0x53564d(this[_0x34f7('0x1d')],_0x34f7('0x22'))),this['setTemplate']({'tag':_0x34f7('0x7'),'attributes':{'class':[_0x34f7('0x11')]},'children':[{'tag':_0x34f7('0x7'),'attributes':{'class':[_0x34f7('0x9')]},'children':[{'tag':_0x34f7('0x7'),'attributes':{'class':[_0x34f7('0x10'),_0x562c8f['if']('hasContext',_0x34f7('0x23'))]},'children':[{'tag':'span','attributes':{'class':['ck-context__value']},'children':[{'text':_0x562c8f['to']('contextValue')}]}]}]},{'tag':_0x34f7('0x7'),'attributes':{'class':[_0x34f7('0x1c')]},'children':[this[_0x34f7('0x18')]]}]});}[_0x34f7('0x0')](){super[_0x34f7('0x0')](),this[_0x34f7('0x13')]();}[_0x34f7('0x25')](){const _0x10784c=new _0x2923af(this['locale']);return _0x10784c[_0x34f7('0x1e')]=_0x53564d(this[_0x34f7('0x1d')],_0x34f7('0x21')),_0x10784c[_0x34f7('0x17')]=_0x53564d(this[_0x34f7('0x1d')],_0x34f7('0x21')),_0x10784c[_0x34f7('0x24')]=_0x86fc85,_0x10784c[_0x34f7('0x1')](_0x34f7('0x1b'))['to'](this['_model'],_0x34f7('0x19')),_0x10784c['on'](_0x34f7('0x16'),()=>{this[_0x34f7('0x1f')]('reopenCommentThread',this[_0x34f7('0x8')]['id']);}),_0x10784c;}[_0x34f7('0xf')](_0x1d4fc5){if(_0x1d4fc5['length']<0x96)return _0x1d4fc5;const _0x2fc4a8=_0x1d4fc5[_0x34f7('0x14')]('\x20',0x93);return _0x1d4fc5[_0x34f7('0x1a')](0x0,_0x2fc4a8>-0x1?_0x2fc4a8:0x93)+_0x34f7('0xc');}[_0x34f7('0x13')](){const _0x26e464=this[_0x34f7('0x12')][_0x34f7('0xd')](_0x34f7('0xa')),_0x2f01fb=_0x26e464['querySelector'](_0x34f7('0x2'));this['listenTo'](_0x26e464,'mouseenter',()=>{_0x2f01fb['offsetWidth']<_0x2f01fb[_0x34f7('0xe')]&&_0x26e464[_0x34f7('0xb')][_0x34f7('0x20')]('overlay');}),this['listenTo'](_0x26e464,_0x34f7('0x15'),()=>{_0x26e464[_0x34f7('0xb')][_0x34f7('0x5')]('overlay');});}}
23
+ const _0x82d3=['div','isResolvable','span','overlay','label','ck-context-wrapper','value','context','listenTo','render','add','bindTemplate','_model','hasContext','substring','reopenCommentThread','ck-context','querySelector','remove','execute','.ck-context','lastIndexOf','isVisible','.ck-context__value','Comment\x20was\x20made\x20on\x20an\x20element','ck-thread__header','locale','bind','ck-context__value','_createReopenButton','_attachContextActions','setTemplate','mouseleave','contextValue','element','icon','...','classList','reopenButtonView'];(function(_0x3528fa,_0x82d388){const _0x2ebc2=function(_0x5ec5ca){while(--_0x5ec5ca){_0x3528fa['push'](_0x3528fa['shift']());}};_0x2ebc2(++_0x82d388);}(_0x82d3,0x143));const _0x2ebc=function(_0x3528fa,_0x82d388){_0x3528fa=_0x3528fa-0x0;let _0x2ebc2=_0x82d3[_0x3528fa];return _0x2ebc2;};import{View as _0x4aba3e,ButtonView as _0x365c82}from'ckeditor5/src/ui';import{getTranslation as _0x4108c9}from'../../../utils/common-translations';import _0x2a4af6 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x4aba3e{constructor(_0x33df54,_0x1a6f39){super(_0x33df54);const _0x3d2e3f=this[_0x2ebc('0x0')];this[_0x2ebc('0x1')]=_0x1a6f39,this[_0x2ebc('0x1b')]=this[_0x2ebc('0x12')](),this['bind'](_0x2ebc('0x2'))['to'](this['_model'],_0x2ebc('0x23'),_0xbe0524=>!!_0xbe0524),this[_0x2ebc('0x10')](_0x2ebc('0x16'))['to'](this[_0x2ebc('0x1')],_0x2ebc('0x23'),_0x19f09d=>_0x19f09d&&_0x19f09d[_0x2ebc('0x22')]?this['_trimContextValue'](_0x19f09d[_0x2ebc('0x22')]):_0x4108c9(this[_0x2ebc('0xf')],_0x2ebc('0xd'))),this[_0x2ebc('0x14')]({'tag':'div','attributes':{'class':[_0x2ebc('0xe')]},'children':[{'tag':_0x2ebc('0x1c'),'attributes':{'class':[_0x2ebc('0x21')]},'children':[{'tag':_0x2ebc('0x1c'),'attributes':{'class':[_0x2ebc('0x5'),_0x3d2e3f['if'](_0x2ebc('0x2'),'ck-context--quotes')]},'children':[{'tag':_0x2ebc('0x1e'),'attributes':{'class':[_0x2ebc('0x11')]},'children':[{'text':_0x3d2e3f['to'](_0x2ebc('0x16'))}]}]}]},{'tag':_0x2ebc('0x1c'),'attributes':{'class':['ck-annotation__actions']},'children':[this[_0x2ebc('0x1b')]]}]});}[_0x2ebc('0x25')](){super['render'](),this['_attachContextActions']();}['_createReopenButton'](){const _0x170a26=new _0x365c82(this['locale']);return _0x170a26[_0x2ebc('0x20')]=_0x4108c9(this[_0x2ebc('0xf')],'Reopen'),_0x170a26['tooltip']=_0x4108c9(this[_0x2ebc('0xf')],'Reopen'),_0x170a26[_0x2ebc('0x18')]=_0x2a4af6,_0x170a26[_0x2ebc('0x10')](_0x2ebc('0xb'))['to'](this[_0x2ebc('0x1')],_0x2ebc('0x1d')),_0x170a26['on'](_0x2ebc('0x8'),()=>{this['fire'](_0x2ebc('0x4'),this[_0x2ebc('0x1')]['id']);}),_0x170a26;}['_trimContextValue'](_0x3b4d4f){if(_0x3b4d4f['length']<0x96)return _0x3b4d4f;const _0x57ec92=_0x3b4d4f[_0x2ebc('0xa')]('\x20',0x93);return _0x3b4d4f[_0x2ebc('0x3')](0x0,_0x57ec92>-0x1?_0x57ec92:0x93)+_0x2ebc('0x19');}[_0x2ebc('0x13')](){const _0x4e207a=this[_0x2ebc('0x17')]['querySelector'](_0x2ebc('0x9')),_0x141989=_0x4e207a[_0x2ebc('0x6')](_0x2ebc('0xc'));this[_0x2ebc('0x24')](_0x4e207a,'mouseenter',()=>{_0x141989['offsetWidth']<_0x141989['scrollWidth']&&_0x4e207a['classList'][_0x2ebc('0x26')](_0x2ebc('0x1f'));}),this[_0x2ebc('0x24')](_0x4e207a,_0x2ebc('0x15'),()=>{_0x4e207a[_0x2ebc('0x1a')][_0x2ebc('0x7')]('overlay');});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x59e0=['value','ck-thread__input','showInput','editor','set','commentInputView','ck-comment__input-container','isFocused','extendTemplate','ck-comment__input-container--active','change:showInput','setTemplate','showButtons','ck-thread__user','bind','bindTemplate','destroy','userView'];(function(_0x5467cd,_0x59e080){var _0x18be45=function(_0x31bef4){while(--_0x31bef4){_0x5467cd['push'](_0x5467cd['shift']());}};_0x18be45(++_0x59e080);}(_0x59e0,0x1c6));var _0x18be=function(_0x5467cd,_0x59e080){_0x5467cd=_0x5467cd-0x0;var _0x18be45=_0x59e0[_0x5467cd];return _0x18be45;};import{View as _0x2f42a6}from'ckeditor5/src/ui';import _0x2278ee from'./commentinputview';import{UserView as _0x5c0de9}from'ckeditor5-collaboration/src/collaboration-core';export default class wt extends _0x2f42a6{constructor(_0xfe40ca,_0x3fe03b,_0x15fedc){super(_0xfe40ca),this[_0x18be('0x1')]=new _0x2278ee(_0xfe40ca,_0x15fedc),this[_0x18be('0x1')][_0x18be('0xa')](_0x18be('0x8'))['to'](this[_0x18be('0x1')]['focusTracker'],_0x18be('0x3'),this['commentInputView'],_0x18be('0xe'),(_0x2f376f,_0x257941)=>_0x2f376f||!!_0x257941),this[_0x18be('0x0')](_0x18be('0x10'),!0x1),this['on'](_0x18be('0x6'),()=>{this['showInput']&&!this[_0x18be('0x1')][_0x18be('0x11')]&&this['commentInputView']['createEditor']();}),this[_0x18be('0xd')]=new _0x5c0de9(_0xfe40ca,_0x3fe03b),this[_0x18be('0xd')][_0x18be('0x4')]({'attributes':{'class':_0x18be('0x9')}}),this[_0x18be('0x1')][_0x18be('0x4')]({'attributes':{'class':_0x18be('0xf')}}),this[_0x18be('0x7')]({'tag':'div','attributes':{'class':[_0x18be('0x2'),this[_0x18be('0xb')]['if']('showInput',_0x18be('0x5'))]},'children':[this['userView'],this['commentInputView']]});}['destroy'](){return this[_0x18be('0x1')][_0x18be('0xc')]()['then'](()=>super[_0x18be('0xc')]());}}
23
+ var _0x589b=['showInput','ck-comment__input-container','createEditor','destroy','ck-comment__input-container--active','ck-thread__user','showButtons','bind','userView','ck-thread__input','then','commentInputView','focusTracker','isFocused','editor','extendTemplate','bindTemplate'];(function(_0x2ba9ea,_0x589b19){var _0x446258=function(_0x467a3f){while(--_0x467a3f){_0x2ba9ea['push'](_0x2ba9ea['shift']());}};_0x446258(++_0x589b19);}(_0x589b,0x11b));var _0x4462=function(_0x2ba9ea,_0x589b19){_0x2ba9ea=_0x2ba9ea-0x0;var _0x446258=_0x589b[_0x2ba9ea];return _0x446258;};import{View as _0x184444}from'ckeditor5/src/ui';import _0x1c13fd from'./commentinputview';import{UserView as _0x236e18}from'ckeditor5-collaboration/src/collaboration-core';export default class wt extends _0x184444{constructor(_0x4efa9d,_0x664b48,_0x2e9b23){super(_0x4efa9d),this[_0x4462('0x0')]=new _0x1c13fd(_0x4efa9d,_0x2e9b23),this[_0x4462('0x0')][_0x4462('0xd')](_0x4462('0xc'))['to'](this[_0x4462('0x0')][_0x4462('0x1')],_0x4462('0x2'),this[_0x4462('0x0')],'value',(_0x4fd723,_0x1958dc)=>_0x4fd723||!!_0x1958dc),this['set'](_0x4462('0x6'),!0x1),this['on']('change:showInput',()=>{this['showInput']&&!this[_0x4462('0x0')][_0x4462('0x3')]&&this[_0x4462('0x0')][_0x4462('0x8')]();}),this[_0x4462('0xe')]=new _0x236e18(_0x4efa9d,_0x664b48),this['userView']['extendTemplate']({'attributes':{'class':_0x4462('0xb')}}),this[_0x4462('0x0')][_0x4462('0x4')]({'attributes':{'class':_0x4462('0xf')}}),this['setTemplate']({'tag':'div','attributes':{'class':[_0x4462('0x7'),this[_0x4462('0x5')]['if'](_0x4462('0x6'),_0x4462('0xa'))]},'children':[this[_0x4462('0xe')],this[_0x4462('0x0')]]});}[_0x4462('0x9')](){return this[_0x4462('0x0')][_0x4462('0x9')]()[_0x4462('0x10')](()=>super['destroy']());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f11=['querySelector','ck-thread--active','Write\x20a\x20comment...','isSystemComment','Resolve','commentThreadInputView','_boundFirstCommentView','isConfirm','ck-thread--','addMany','high','execute','set','commentThreadHeaderView','Delete\x20comment\x20thread?','locale','label','bindTemplate','showConfirm','_createResolveButton','isActive','unbind','_bindFirstCommentView','change:isReadOnly','bind','element','tooltip','_cancelAllConfirms','cancelConfirm','isDirty','commentThreadChildren','resolveCommentThread','isResolvable','actionBar','change:isResolved','createCollection','removeCommentThread','div','getTemplate','actionIndicator','isVisible','resolveButton','length','_model','removeButton','containerElement','commentViews','ck-thread--remove-confirmation','commentsListView','get','add','placeholder','remove','fire','render','check','listenTo'];(function(_0x2d2c58,_0x1f1140){const _0x5cdaa1=function(_0x3741ca){while(--_0x3741ca){_0x2d2c58['push'](_0x2d2c58['shift']());}};_0x5cdaa1(++_0x1f1140);}(_0x1f11,0x121));const _0x5cda=function(_0x2d2c58,_0x1f1140){_0x2d2c58=_0x2d2c58-0x0;let _0x5cdaa1=_0x1f11[_0x2d2c58];return _0x5cdaa1;};import{ConfirmMixin as _0x474478}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x43c921}from'ckeditor5/src/ui';import{icons as _0x4e368f}from'ckeditor5/src/core';import _0x5ecc1a from'./basecommentthreadview';import{getTranslation as _0x3bc7d4}from'../../../utils/common-translations';export default class ct extends _0x474478(_0x5ecc1a){constructor(_0x4d9a97,_0x5e7364,_0x1d60a1,_0x4a666d){super(_0x4d9a97,_0x5e7364,_0x1d60a1,_0x4a666d),this[_0x5cda('0x1a')]=this[_0x5cda('0x1f')](),this['commentThreadChildren'][_0x5cda('0x5')]([this['commentsListView'],this[_0x5cda('0x1')]]),this[_0x5cda('0x27')]['isResolved']&&this[_0x5cda('0x1a')][_0x5cda('0x2e')](this[_0x5cda('0x9')],0x0),this[_0x5cda('0x27')]['on'](_0x5cda('0x1e'),(_0x472bda,_0x33fcbf,_0x46c87c)=>{_0x46c87c?this[_0x5cda('0x1a')][_0x5cda('0x2e')](this[_0x5cda('0x9')],0x0):this[_0x5cda('0x1a')][_0x5cda('0x30')](this['commentThreadHeaderView']);}),this[_0x5cda('0x8')]('actionIndicator',null),this[_0x5cda('0x29')]=null,this[_0x5cda('0x2')]=null,this[_0x5cda('0xb')]=_0x4d9a97,this[_0x5cda('0x25')]=this[_0x5cda('0xf')](),this['setTemplate'](this[_0x5cda('0x22')]()),this['on']('change:isActive',(_0x56f5f8,_0x4b4618,_0x2218dd)=>{_0x2218dd||this[_0x5cda('0x17')]();}),this[_0x5cda('0x34')](this['_model'],_0x5cda('0x13'),(_0x12ed72,_0xbca1eb,_0x426304)=>{_0x426304&&this[_0x5cda('0x17')]();}),this[_0x5cda('0x26')]>0x0&&this[_0x5cda('0x12')](),this[_0x5cda('0x34')](this['commentsListView']['commentViews'],_0x5cda('0x2e'),()=>{this[_0x5cda('0x12')]();});}['getTemplate'](){const _0x1f9006=this[_0x5cda('0xd')];return{'tag':'div','attributes':{'class':['ck-thread','ck-reset_all-excluded',_0x1f9006['if'](_0x5cda('0x10'),_0x5cda('0x36')),_0x1f9006['if'](_0x5cda('0x3'),_0x5cda('0x2b')),_0x1f9006['to'](_0x5cda('0x23'),_0x2c646a=>_0x2c646a?_0x5cda('0x4')+_0x2c646a:'')],'data-thread-id':this[_0x5cda('0x27')]['id'],'tabindex':-0x1},'children':[{'tag':_0x5cda('0x21'),'attributes':{'class':'ck-thread__container'},'children':this[_0x5cda('0x1a')]}]};}[_0x5cda('0x32')](){super[_0x5cda('0x32')](),this[_0x5cda('0x29')]=this[_0x5cda('0x15')][_0x5cda('0x35')]('.ck-thread__container');}[_0x5cda('0x17')](){this[_0x5cda('0x18')]();for(const _0x24e28b of this[_0x5cda('0x2c')][_0x5cda('0x2a')])_0x24e28b[_0x5cda('0x18')]();}[_0x5cda('0x12')](){const {locale:_0x5be0cb}=this,_0x47222b=this[_0x5cda('0x2c')][_0x5cda('0x2a')][_0x5cda('0x2d')](0x0);_0x47222b===this['_boundFirstCommentView']||_0x47222b[_0x5cda('0x38')]||(this[_0x5cda('0x2')]=_0x47222b,this[_0x5cda('0x11')](_0x5cda('0x23')),this[_0x5cda('0x14')](_0x5cda('0x23'))['to'](_0x47222b,'actionIndicator',_0x203728=>'remove'===_0x203728?'remove':null),_0x47222b[_0x5cda('0x2f')]=_0x3bc7d4(_0x5be0cb,_0x5cda('0x37')),_0x47222b[_0x5cda('0x28')]['on'](_0x5cda('0x7'),_0x50420b=>{_0x50420b['stop'](),this[_0x5cda('0xe')](_0x3bc7d4(_0x5be0cb,_0x5cda('0xa')),this[_0x5cda('0x29')])['then'](()=>{this[_0x5cda('0x31')](_0x5cda('0x20'));});},{'priority':_0x5cda('0x6')}),_0x47222b[_0x5cda('0x1d')][_0x5cda('0x2e')](this[_0x5cda('0x25')],0x0));}['_createResolveButton'](){const _0x30375e=new _0x43c921(this[_0x5cda('0xb')]);return _0x30375e[_0x5cda('0xc')]=_0x3bc7d4(this[_0x5cda('0xb')],_0x5cda('0x0')),_0x30375e[_0x5cda('0x16')]=_0x3bc7d4(this[_0x5cda('0xb')],_0x5cda('0x0')),_0x30375e['icon']=_0x4e368f[_0x5cda('0x33')],_0x30375e['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0x30375e[_0x5cda('0x14')]('isEnabled')['to'](this['_model'],'isReadOnly',_0x2a0c8e=>!_0x2a0c8e),_0x30375e['bind'](_0x5cda('0x24'))['to'](this[_0x5cda('0x27')],_0x5cda('0x1c'),this['_model'],'isResolved',this,_0x5cda('0x19'),(_0x52c0a7,_0xc807cb,_0x448ed9)=>_0x52c0a7&&!_0xc807cb&&!_0x448ed9),_0x30375e['on']('execute',()=>{this[_0x5cda('0x31')](_0x5cda('0x1b'),this[_0x5cda('0x27')]['id']);}),_0x30375e;}}
23
+ const _0x6e06=['showConfirm','_cancelAllConfirms','commentThreadHeaderView','containerElement','listenTo','ck-reset_all-excluded','actionBar','change:isActive','remove','extendTemplate','length','Write\x20a\x20comment...','_boundFirstCommentView','isVisible','placeholder','resolveButton','removeCommentThread','Delete\x20comment\x20thread?','render','removeButton','querySelector','setTemplate','commentsListView','ck-thread','execute','ck-thread__container','check','actionIndicator','locale','icon','_model','bind','fire','add','commentThreadInputView','high','unbind','isDirty','label','Resolve','tooltip','_createResolveButton','ck-thread--','change:isResolved','get','stop','createCollection','getTemplate','isReadOnly','isResolved','resolveCommentThread','div','set','cancelConfirm','bindTemplate','then','change:isReadOnly','commentViews','.ck-thread__container','commentThreadChildren'];(function(_0x1bc3f0,_0x6e062b){const _0x17316=function(_0x1be487){while(--_0x1be487){_0x1bc3f0['push'](_0x1bc3f0['shift']());}};_0x17316(++_0x6e062b);}(_0x6e06,0xd8));const _0x1731=function(_0x1bc3f0,_0x6e062b){_0x1bc3f0=_0x1bc3f0-0x0;let _0x17316=_0x6e06[_0x1bc3f0];return _0x17316;};import{ConfirmMixin as _0x18952d}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x499537}from'ckeditor5/src/ui';import{icons as _0x18d7c4}from'ckeditor5/src/core';import _0x342f32 from'./basecommentthreadview';import{getTranslation as _0x1e9c0a}from'../../../utils/common-translations';export default class ct extends _0x18952d(_0x342f32){constructor(_0x5954f6,_0x2b209f,_0x4440a3,_0x3a0174){super(_0x5954f6,_0x2b209f,_0x4440a3,_0x3a0174),this[_0x1731('0x17')]=this[_0x1731('0xa')](),this[_0x1731('0x17')]['addMany']([this[_0x1731('0x2e')],this[_0x1731('0x3a')]]),this[_0x1731('0x36')][_0x1731('0xd')]&&this['commentThreadChildren']['add'](this[_0x1731('0x1a')],0x0),this[_0x1731('0x36')]['on'](_0x1731('0x7'),(_0x396ba4,_0x30ae15,_0x291405)=>{_0x291405?this[_0x1731('0x17')][_0x1731('0x39')](this[_0x1731('0x1a')],0x0):this['commentThreadChildren'][_0x1731('0x20')](this['commentThreadHeaderView']);}),this[_0x1731('0x10')](_0x1731('0x33'),null),this[_0x1731('0x1b')]=null,this['_boundFirstCommentView']=null,this[_0x1731('0x34')]=_0x5954f6,this['resolveButton']=this[_0x1731('0x5')](),this[_0x1731('0x2d')](this[_0x1731('0xb')]()),this['on'](_0x1731('0x1f'),(_0x3b38dc,_0x59b766,_0x3417cf)=>{_0x3417cf||this[_0x1731('0x19')]();}),this['listenTo'](this[_0x1731('0x36')],_0x1731('0x14'),(_0x566e6c,_0x58d0be,_0x4b8abc)=>{_0x4b8abc&&this['_cancelAllConfirms']();}),this[_0x1731('0x22')]>0x0&&this['_bindFirstCommentView'](),this[_0x1731('0x1c')](this['commentsListView'][_0x1731('0x15')],'add',()=>{this['_bindFirstCommentView']();});}[_0x1731('0xb')](){const _0x403abb=this[_0x1731('0x12')];return{'tag':'div','attributes':{'class':[_0x1731('0x2f'),_0x1731('0x1d'),_0x403abb['if']('isActive','ck-thread--active'),_0x403abb['if']('isConfirm','ck-thread--remove-confirmation'),_0x403abb['to'](_0x1731('0x33'),_0x4984ce=>_0x4984ce?_0x1731('0x6')+_0x4984ce:'')],'data-thread-id':this[_0x1731('0x36')]['id'],'tabindex':-0x1},'children':[{'tag':_0x1731('0xf'),'attributes':{'class':_0x1731('0x31')},'children':this[_0x1731('0x17')]}]};}[_0x1731('0x2a')](){super['render'](),this[_0x1731('0x1b')]=this['element'][_0x1731('0x2c')](_0x1731('0x16'));}[_0x1731('0x19')](){this[_0x1731('0x11')]();for(const _0x4946e1 of this[_0x1731('0x2e')][_0x1731('0x15')])_0x4946e1['cancelConfirm']();}['_bindFirstCommentView'](){const {locale:_0x3a497d}=this,_0x53cd0d=this[_0x1731('0x2e')]['commentViews'][_0x1731('0x8')](0x0);_0x53cd0d===this[_0x1731('0x24')]||_0x53cd0d['isSystemComment']||(this[_0x1731('0x24')]=_0x53cd0d,this[_0x1731('0x0')](_0x1731('0x33')),this[_0x1731('0x37')]('actionIndicator')['to'](_0x53cd0d,'actionIndicator',_0x3c115b=>_0x1731('0x20')===_0x3c115b?_0x1731('0x20'):null),_0x53cd0d[_0x1731('0x26')]=_0x1e9c0a(_0x3a497d,_0x1731('0x23')),_0x53cd0d[_0x1731('0x2b')]['on'](_0x1731('0x30'),_0x2b8c42=>{_0x2b8c42[_0x1731('0x9')](),this[_0x1731('0x18')](_0x1e9c0a(_0x3a497d,_0x1731('0x29')),this[_0x1731('0x1b')])[_0x1731('0x13')](()=>{this[_0x1731('0x38')](_0x1731('0x28'));});},{'priority':_0x1731('0x3b')}),_0x53cd0d[_0x1731('0x1e')][_0x1731('0x39')](this[_0x1731('0x27')],0x0));}['_createResolveButton'](){const _0x1a93bf=new _0x499537(this[_0x1731('0x34')]);return _0x1a93bf[_0x1731('0x2')]=_0x1e9c0a(this[_0x1731('0x34')],_0x1731('0x3')),_0x1a93bf[_0x1731('0x4')]=_0x1e9c0a(this[_0x1731('0x34')],_0x1731('0x3')),_0x1a93bf[_0x1731('0x35')]=_0x18d7c4[_0x1731('0x32')],_0x1a93bf[_0x1731('0x21')]({'attributes':{'class':'ck-comment--resolve'}}),_0x1a93bf[_0x1731('0x37')]('isEnabled')['to'](this[_0x1731('0x36')],_0x1731('0xc'),_0x2e4cfa=>!_0x2e4cfa),_0x1a93bf[_0x1731('0x37')](_0x1731('0x25'))['to'](this[_0x1731('0x36')],'isResolvable',this['_model'],'isResolved',this,_0x1731('0x1'),(_0x192068,_0x53fbd1,_0x4df45c)=>_0x192068&&!_0x53fbd1&&!_0x4df45c),_0x1a93bf['on']('execute',()=>{this[_0x1731('0x38')](_0x1731('0xe'),this[_0x1731('0x36')]['id']);}),_0x1a93bf;}}