@ckeditor/ckeditor5-comments 40.1.0 → 40.2.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 (51) hide show
  1. package/CHANGELOG.md +19 -19
  2. package/README.md +1 -1
  3. package/build/comments.js +1 -1
  4. package/build/translations/gl.js +1 -1
  5. package/build/translations/sr-latn.js +1 -1
  6. package/build/translations/ug.js +1 -1
  7. package/lang/translations/gl.po +2 -2
  8. package/lang/translations/sr-latn.po +3 -3
  9. package/lang/translations/ug.po +10 -10
  10. package/package.json +3 -3
  11. package/src/annotations/annotation.js +1 -1
  12. package/src/annotations/annotationcollection.js +1 -1
  13. package/src/annotations/annotations.js +1 -1
  14. package/src/annotations/annotationsuis.js +1 -1
  15. package/src/annotations/editorannotations.js +1 -1
  16. package/src/annotations/inlineannotations.js +1 -1
  17. package/src/annotations/narrowsidebar.js +1 -1
  18. package/src/annotations/sidebar.js +1 -1
  19. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  20. package/src/annotations/view/annotationview.js +1 -1
  21. package/src/annotations/view/sidebaritemview.js +1 -1
  22. package/src/annotations/view/sidebarview.js +1 -1
  23. package/src/annotations/widesidebar.js +1 -1
  24. package/src/comments/addcommentthreadcommand.js +1 -1
  25. package/src/comments/commentsarchive.js +1 -1
  26. package/src/comments/commentsarchiveui.js +1 -1
  27. package/src/comments/commentsediting.js +1 -1
  28. package/src/comments/commentsrepository.d.ts +1 -0
  29. package/src/comments/commentsrepository.js +1 -1
  30. package/src/comments/commentsui.js +1 -1
  31. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  32. package/src/comments/integrations/importword.js +1 -1
  33. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  34. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  35. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  36. package/src/comments/ui/commentthreadcontroller.js +1 -1
  37. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  38. package/src/comments/ui/view/basecommentview.js +1 -1
  39. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  40. package/src/comments/ui/view/commentcontentview.js +1 -1
  41. package/src/comments/ui/view/commentinputview.js +1 -1
  42. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  43. package/src/comments/ui/view/commentslistview.js +1 -1
  44. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  45. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  46. package/src/comments/ui/view/commentthreadview.js +1 -1
  47. package/src/comments/ui/view/commentview.js +1 -1
  48. package/src/comments.js +1 -1
  49. package/src/commentsonly.js +1 -1
  50. package/src/utils/common-translations.js +1 -1
  51. package/src/utils/createmutationobserver.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1975=['config','editor','map','get','_handleImportedData','high','importWord','plugins','addCommentThread','execute','importWord.formatting.comments','commands','collaboration_features','dataInsert','collaboration.channelId','listenTo','basic'];(function(_0x5b15da,_0x197525){const _0x221a04=function(_0x5ac613){while(--_0x5ac613){_0x5b15da['push'](_0x5b15da['shift']());}};_0x221a04(++_0x197525);}(_0x1975,0x1e2));const _0x221a=function(_0x5b15da,_0x197525){_0x5b15da=_0x5b15da-0x0;let _0x221a04=_0x1975[_0x5b15da];return _0x221a04;};import{Plugin as _0x2ac094}from'ckeditor5/src/core';import{priorities as _0x5ca1f2}from'ckeditor5/src/utils';import{Users as _0x5d1a79}from'ckeditor5-collaboration/src/collaboration-core';import _0x3bdd61 from'../commentsrepository';export default class Z extends _0x2ac094{constructor(_0x5951f7){super(_0x5951f7),this[_0x221a('0xc')][_0x221a('0xb')]['define'](_0x221a('0x4'),_0x221a('0xa'));}['afterInit'](){const _0x51891b=this['editor'],_0x38ac4c=_0x51891b[_0x221a('0x5')][_0x221a('0xe')](_0x221a('0x0')),_0x586d53=_0x51891b['plugins'][_0x221a('0xe')](_0x5d1a79);_0x38ac4c&&(_0x38ac4c['on'](_0x221a('0x3'),(_0x88601c,[,_0x492f8d])=>{_0x492f8d[_0x221a('0x6')]={'comments':!0x0,'user_id':_0x586d53['me']['id']};},{'priority':_0x5ca1f2[_0x221a('0x10')]+0xa}),this[_0x221a('0x9')](_0x38ac4c,_0x221a('0x7'),this[_0x221a('0xf')]));}[_0x221a('0xf')](_0x17c48e,_0x5c15fd){const {comment_threads:_0x39e458}=_0x5c15fd;_0x39e458&&_0x39e458['forEach'](({thread_id:_0x5282ee,comments:_0x3e9a70,is_resolved:_0x38c251})=>{const _0x486a32=new Date(),_0x32590b=_0x3e9a70[_0x221a('0xd')](({author:_0x1003fd,content:_0x5254ee,created_at:_0x1e3b30})=>({'content':_0x5254ee,'authorId':this['editor'][_0x221a('0x1')][_0x221a('0xe')](_0x5d1a79)['me']['id'],'createdAt':_0x486a32,'attributes':{'@external':{'authorName':_0x1003fd,'createdAt':_0x1e3b30?new Date(_0x1e3b30):new Date(),'source':'importWord'}}})),_0x5261e7=this[_0x221a('0xc')][_0x221a('0xb')]['get'](_0x221a('0x8'));this['editor'][_0x221a('0x1')]['get'](_0x3bdd61)[_0x221a('0x2')]({'channelId':_0x5261e7,'threadId':_0x5282ee,'comments':_0x32590b,'resolvedAt':_0x38c251?_0x486a32:null});});}}
23
+ const _0x1407=['define','plugins','commands','dataInsert','listenTo','high','execute','basic','addCommentThread','_handleImportedData','editor','afterInit','collaboration.channelId','get','collaboration_features','importWord','config'];(function(_0x17d205,_0x1407d6){const _0x5b0ffd=function(_0x12103c){while(--_0x12103c){_0x17d205['push'](_0x17d205['shift']());}};_0x5b0ffd(++_0x1407d6);}(_0x1407,0xc8));const _0x5b0f=function(_0x17d205,_0x1407d6){_0x17d205=_0x17d205-0x0;let _0x5b0ffd=_0x1407[_0x17d205];return _0x5b0ffd;};import{Plugin as _0x56a53b}from'ckeditor5/src/core';import{priorities as _0x20abe5}from'ckeditor5/src/utils';import{Users as _0x30f305}from'ckeditor5-collaboration/src/collaboration-core';import _0xf1e050 from'../commentsrepository';export default class Z extends _0x56a53b{constructor(_0x57eeac){super(_0x57eeac),this[_0x5b0f('0xe')]['config'][_0x5b0f('0x4')]('importWord.formatting.comments',_0x5b0f('0xb'));}[_0x5b0f('0xf')](){const _0x203bbb=this['editor'],_0x3a30fc=_0x203bbb[_0x5b0f('0x6')][_0x5b0f('0x0')](_0x5b0f('0x2')),_0x1e2a6b=_0x203bbb[_0x5b0f('0x5')][_0x5b0f('0x0')](_0x30f305);_0x3a30fc&&(_0x3a30fc['on'](_0x5b0f('0xa'),(_0x408384,[,_0x77c2e9])=>{_0x77c2e9[_0x5b0f('0x1')]={'comments':!0x0,'user_id':_0x1e2a6b['me']['id']};},{'priority':_0x20abe5[_0x5b0f('0x9')]+0xa}),this[_0x5b0f('0x8')](_0x3a30fc,_0x5b0f('0x7'),this[_0x5b0f('0xd')]));}['_handleImportedData'](_0x356e02,_0x19b2dd){const {comment_threads:_0x3c8ca0}=_0x19b2dd;_0x3c8ca0&&_0x3c8ca0['forEach'](({thread_id:_0x21afdd,comments:_0x43ac47,is_resolved:_0x44c234})=>{const _0x2cac7a=new Date(),_0x2acac9=_0x43ac47['map'](({author:_0x8cb219,content:_0x326d86,created_at:_0x2a1b1c})=>({'content':_0x326d86,'authorId':this[_0x5b0f('0xe')]['plugins'][_0x5b0f('0x0')](_0x30f305)['me']['id'],'createdAt':_0x2cac7a,'attributes':{'@external':{'authorName':_0x8cb219,'createdAt':_0x2a1b1c?new Date(_0x2a1b1c):new Date(),'source':_0x5b0f('0x2')}}})),_0x2389bb=this[_0x5b0f('0xe')][_0x5b0f('0x3')][_0x5b0f('0x0')](_0x5b0f('0x10'));this[_0x5b0f('0xe')][_0x5b0f('0x5')][_0x5b0f('0x0')](_0xf1e050)[_0x5b0f('0xc')]({'channelId':_0x2389bb,'threadId':_0x21afdd,'comments':_0x2acac9,'resolvedAt':_0x44c234?_0x2cac7a:null});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2988=['defaultPlugins','placeholderElement','getChild','initialData','assign','destroy','end','getRoot','set','fire','editing','then','childCount','createRoot','model','init','view','document','config','setSelection','placeholder','change:placeholder','data','low','name','_updatePlaceholder','focus','plugins','change'];(function(_0x41187b,_0x298867){const _0x3262c8=function(_0x3d2840){while(--_0x3d2840){_0x41187b['push'](_0x41187b['shift']());}};_0x3262c8(++_0x298867);}(_0x2988,0x175));const _0x3262=function(_0x41187b,_0x298867){_0x41187b=_0x41187b-0x0;let _0x3262c8=_0x2988[_0x41187b];return _0x3262c8;};import{Editor as _0x4a8be0,DataApiMixin as _0x5048f3}from'ckeditor5/src/core';import _0x389358 from'./commenteditorui';import{ObservableMixin as _0x2a6208}from'ckeditor5/src/utils';import{enablePlaceholder as _0x25d72a,disablePlaceholder as _0x10b38b}from'ckeditor5/src/engine';import{Clipboard as _0x1bb419}from'ckeditor5/src/clipboard';import{Enter as _0x1909d7,ShiftEnter as _0x5c010a}from'ckeditor5/src/enter';import{SelectAll as _0x2d0d39}from'ckeditor5/src/select-all';import{Typing as _0x3465cf}from'ckeditor5/src/typing';import{Undo as _0x224af4}from'ckeditor5/src/undo';import{Paragraph as _0x3d7583}from'ckeditor5/src/paragraph';const Mt=[_0x1bb419,_0x1909d7,_0x5c010a,_0x2d0d39,_0x3465cf,_0x224af4,_0x3d7583];export default class Nt extends _0x2a6208(_0x5048f3(_0x4a8be0)){constructor(_0x55fb55={}){(_0x55fb55=Object[_0x3262('0x8')]({},_0x55fb55))['plugins']||(_0x55fb55[_0x3262('0x2')]=Nt[_0x3262('0x4')]),super(_0x55fb55),this['ui']=new _0x389358(this),this[_0x3262('0xc')](_0x3262('0x18'),''),this[_0x3262('0x12')][_0x3262('0x15')]['on'](_0x3262('0x3'),()=>this[_0x3262('0x0')](),{'priority':_0x3262('0x1b')}),this['on'](_0x3262('0x19'),()=>this[_0x3262('0x0')]()),this[_0x3262('0x12')]['document'][_0x3262('0x11')]();}['create'](){const _0x50feae=this[_0x3262('0x16')]['get'](_0x3262('0x7'))||'';return this['initPlugins']()[_0x3262('0xf')](()=>this['ui'][_0x3262('0x13')]())[_0x3262('0xf')](()=>this[_0x3262('0x1a')][_0x3262('0x13')](_0x50feae))[_0x3262('0xf')](()=>this[_0x3262('0xd')]('ready'));}[_0x3262('0x9')](){return super[_0x3262('0x9')]()['then'](()=>this['ui'][_0x3262('0x9')]());}[_0x3262('0x1')](){this['model']['change'](_0x471d9f=>{const _0x1e4338=this[_0x3262('0x12')]['document'][_0x3262('0xb')](),_0x45f0fc=_0x1e4338&&_0x1e4338[_0x3262('0x6')](_0x1e4338['childCount']-0x1);_0x471d9f[_0x3262('0x17')](_0x45f0fc,_0x3262('0xa')),this['editing'][_0x3262('0x14')][_0x3262('0x1')]();});}[_0x3262('0x0')](){const _0x57620f=this[_0x3262('0xe')][_0x3262('0x14')],_0x2ca724=_0x57620f[_0x3262('0x15')][_0x3262('0xb')](),_0x5e961c=_0x2ca724[_0x3262('0x6')](0x0);_0x2ca724[_0x3262('0x10')]>0x1||!_0x5e961c||'p'!=_0x5e961c[_0x3262('0x1c')]?this[_0x3262('0x5')]&&this[_0x3262('0x5')][_0x3262('0x18')]&&(_0x10b38b(_0x57620f,this[_0x3262('0x5')]),this[_0x3262('0x5')]=void 0x0):(this[_0x3262('0x18')]&&(_0x5e961c[_0x3262('0x18')]=this[_0x3262('0x18')]),_0x25d72a({'view':_0x57620f,'element':_0x5e961c,'keepOnFocus':!0x0}),this['placeholderElement']=_0x5e961c);}}Nt[_0x3262('0x4')]=Mt;
23
+ const _0x3d62=['destroy','placeholder','name','fire','setSelection','ready','view','initPlugins','childCount','placeholderElement','init','then','createRoot','document','_updatePlaceholder','initialData','end','defaultPlugins','change:placeholder','plugins','config','focus','low','change','model','create','getRoot','getChild'];(function(_0x208d24,_0x3d6289){const _0x36e929=function(_0x353ef4){while(--_0x353ef4){_0x208d24['push'](_0x208d24['shift']());}};_0x36e929(++_0x3d6289);}(_0x3d62,0xec));const _0x36e9=function(_0x208d24,_0x3d6289){_0x208d24=_0x208d24-0x0;let _0x36e929=_0x3d62[_0x208d24];return _0x36e929;};import{Editor as _0x2d009c,DataApiMixin as _0x21f2f9}from'ckeditor5/src/core';import _0x544577 from'./commenteditorui';import{ObservableMixin as _0x5cefd7}from'ckeditor5/src/utils';import{enablePlaceholder as _0xcc9b70,disablePlaceholder as _0x297cf5}from'ckeditor5/src/engine';import{Clipboard as _0xdb3038}from'ckeditor5/src/clipboard';import{Enter as _0x1df91d,ShiftEnter as _0xa524bb}from'ckeditor5/src/enter';import{SelectAll as _0x7f2e8f}from'ckeditor5/src/select-all';import{Typing as _0x45fdb0}from'ckeditor5/src/typing';import{Undo as _0x27058c}from'ckeditor5/src/undo';import{Paragraph as _0x854ebe}from'ckeditor5/src/paragraph';const Mt=[_0xdb3038,_0x1df91d,_0xa524bb,_0x7f2e8f,_0x45fdb0,_0x27058c,_0x854ebe];export default class Nt extends _0x5cefd7(_0x21f2f9(_0x2d009c)){constructor(_0x203787={}){(_0x203787=Object['assign']({},_0x203787))[_0x36e9('0x7')]||(_0x203787[_0x36e9('0x7')]=Nt[_0x36e9('0x5')]),super(_0x203787),this['ui']=new _0x544577(this),this['set']('placeholder',''),this['model'][_0x36e9('0x1')]['on'](_0x36e9('0xb'),()=>this['_updatePlaceholder'](),{'priority':_0x36e9('0xa')}),this['on'](_0x36e9('0x6'),()=>this['_updatePlaceholder']()),this[_0x36e9('0xc')]['document'][_0x36e9('0x0')]();}[_0x36e9('0xd')](){const _0x297741=this[_0x36e9('0x8')]['get'](_0x36e9('0x3'))||'';return this[_0x36e9('0x17')]()[_0x36e9('0x1b')](()=>this['ui'][_0x36e9('0x1a')]())[_0x36e9('0x1b')](()=>this['data']['init'](_0x297741))[_0x36e9('0x1b')](()=>this[_0x36e9('0x13')](_0x36e9('0x15')));}['destroy'](){return super[_0x36e9('0x10')]()[_0x36e9('0x1b')](()=>this['ui'][_0x36e9('0x10')]());}[_0x36e9('0x9')](){this[_0x36e9('0xc')]['change'](_0x4cc7ac=>{const _0x4457ea=this[_0x36e9('0xc')][_0x36e9('0x1')][_0x36e9('0xe')](),_0x2f3291=_0x4457ea&&_0x4457ea[_0x36e9('0xf')](_0x4457ea['childCount']-0x1);_0x4cc7ac[_0x36e9('0x14')](_0x2f3291,_0x36e9('0x4')),this['editing'][_0x36e9('0x16')][_0x36e9('0x9')]();});}[_0x36e9('0x2')](){const _0x54696b=this['editing']['view'],_0x5a5266=_0x54696b['document'][_0x36e9('0xe')](),_0x2c7e69=_0x5a5266[_0x36e9('0xf')](0x0);_0x5a5266[_0x36e9('0x18')]>0x1||!_0x2c7e69||'p'!=_0x2c7e69[_0x36e9('0x12')]?this[_0x36e9('0x19')]&&this[_0x36e9('0x19')][_0x36e9('0x11')]&&(_0x297cf5(_0x54696b,this['placeholderElement']),this[_0x36e9('0x19')]=void 0x0):(this[_0x36e9('0x11')]&&(_0x2c7e69[_0x36e9('0x11')]=this[_0x36e9('0x11')]),_0xcc9b70({'view':_0x54696b,'element':_0x2c7e69,'keepOnFocus':!0x0}),this[_0x36e9('0x19')]=_0x2c7e69);}}Nt[_0x36e9('0x5')]=Mt;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbe2b=['isFocused','locale','view','ready','editing','init','destroy','attachDomRoot','editable','name','focusTracker','getRoot','bind','element','setEditableElement'];(function(_0x2d214f,_0xbe2b81){const _0x511069=function(_0x165a28){while(--_0x165a28){_0x2d214f['push'](_0x2d214f['shift']());}};_0x511069(++_0xbe2b81);}(_0xbe2b,0x121));const _0x5110=function(_0x2d214f,_0xbe2b81){_0x2d214f=_0x2d214f-0x0;let _0x511069=_0xbe2b[_0x2d214f];return _0x511069;};import{EditorUI as _0x78e2fa}from'ckeditor5/src/ui';import _0x1ec093 from'./commenteditoruiview';export default class Ft extends _0x78e2fa{constructor(_0x4bf406){super(_0x4bf406),this[_0x5110('0xd')]=new _0x1ec093(_0x4bf406[_0x5110('0xc')],_0x4bf406[_0x5110('0x0')][_0x5110('0xd')]);}get['element'](){return this[_0x5110('0xd')]['element'];}[_0x5110('0x1')](){const _0x473dcf=this['editor'][_0x5110('0x0')][_0x5110('0xd')],_0x235be7=this['view'][_0x5110('0x4')],_0x227c92=_0x473dcf['document'][_0x5110('0x7')]();_0x235be7['name']=_0x227c92['rootName'],this[_0x5110('0xd')]['render']();const _0x52f009=_0x235be7[_0x5110('0x9')];this[_0x5110('0xa')](_0x235be7[_0x5110('0x5')],_0x52f009),this[_0x5110('0xd')][_0x5110('0x4')][_0x5110('0x8')](_0x5110('0xb'))['to'](this[_0x5110('0x6')]),_0x473dcf[_0x5110('0x3')](_0x52f009),this['fire'](_0x5110('0xe'));}[_0x5110('0x2')](){super[_0x5110('0x2')](),this['view'][_0x5110('0x2')]();}}
23
+ const _0x36f6=['view','element','editor','destroy','editing','ready','render','init','rootName','locale','editable','isFocused','focusTracker','attachDomRoot','fire','document'];(function(_0x4b0049,_0x36f672){const _0x5ab94b=function(_0x308973){while(--_0x308973){_0x4b0049['push'](_0x4b0049['shift']());}};_0x5ab94b(++_0x36f672);}(_0x36f6,0x19f));const _0x5ab9=function(_0x4b0049,_0x36f672){_0x4b0049=_0x4b0049-0x0;let _0x5ab94b=_0x36f6[_0x4b0049];return _0x5ab94b;};import{EditorUI as _0x87404b}from'ckeditor5/src/ui';import _0x384d56 from'./commenteditoruiview';export default class Ft extends _0x87404b{constructor(_0x135aaa){super(_0x135aaa),this[_0x5ab9('0x1')]=new _0x384d56(_0x135aaa[_0x5ab9('0xa')],_0x135aaa[_0x5ab9('0x5')][_0x5ab9('0x1')]);}get[_0x5ab9('0x2')](){return this[_0x5ab9('0x1')][_0x5ab9('0x2')];}[_0x5ab9('0x8')](){const _0x17f462=this[_0x5ab9('0x3')][_0x5ab9('0x5')][_0x5ab9('0x1')],_0x59fe0c=this['view'][_0x5ab9('0xb')],_0xd836b5=_0x17f462[_0x5ab9('0x0')]['getRoot']();_0x59fe0c['name']=_0xd836b5[_0x5ab9('0x9')],this[_0x5ab9('0x1')][_0x5ab9('0x7')]();const _0xbc1d97=_0x59fe0c[_0x5ab9('0x2')];this['setEditableElement'](_0x59fe0c['name'],_0xbc1d97),this[_0x5ab9('0x1')][_0x5ab9('0xb')]['bind'](_0x5ab9('0xc'))['to'](this[_0x5ab9('0xd')]),_0x17f462[_0x5ab9('0xe')](_0xbc1d97),this[_0x5ab9('0xf')](_0x5ab9('0x6'));}[_0x5ab9('0x4')](){super['destroy'](),this[_0x5ab9('0x1')]['destroy']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3113=['comment','ck-voice-label','uiLanguageDirection','_createVoiceLabel','_voiceLabelView','presentation','ck-comment__input','text','div','Comment\x20editor','extendTemplate','main','ck-rounded-corners','ck-editor__main','editable','uiLanguage','render','element','createCollection','add','ck-reset','cke-editor__aria-label_','setTemplate'];(function(_0x226cf5,_0x3113c0){const _0x4c3059=function(_0x350565){while(--_0x350565){_0x226cf5['push'](_0x226cf5['shift']());}};_0x4c3059(++_0x3113c0);}(_0x3113,0xf4));const _0x4c30=function(_0x226cf5,_0x3113c0){_0x226cf5=_0x226cf5-0x0;let _0x4c3059=_0x3113[_0x226cf5];return _0x4c3059;};import{InlineEditableUIView as _0x41e79a,EditorUIView as _0x5e8fb5,LabelView as _0x44f30b}from'ckeditor5/src/ui';import{uid as _0x2aa947}from'ckeditor5/src/utils';import{getTranslation as _0x5c9154}from'../../../utils/common-translations';export default class Rt extends _0x5e8fb5{constructor(_0x43367d,_0x52cdda){super(_0x43367d);const _0x4c2057=_0x2aa947();this['main']=this[_0x4c30('0x4')](),this['editable']=new _0x41e79a(_0x43367d,_0x52cdda),this[_0x4c30('0xd')]=this[_0x4c30('0xc')](_0x4c2057,_0x43367d),this[_0x4c30('0x8')]({'tag':_0x4c30('0x11'),'attributes':{'class':[_0x4c30('0x6'),'ck-editor',_0x4c30('0x15'),_0x4c30('0xf')],'role':_0x4c30('0x9'),'dir':_0x43367d[_0x4c30('0xb')],'lang':_0x43367d[_0x4c30('0x1')],'aria-labelledby':_0x4c30('0x7')+_0x4c2057},'children':[this[_0x4c30('0xd')],{'tag':_0x4c30('0x11'),'attributes':{'class':_0x4c30('0x16'),'role':_0x4c30('0xe')},'children':this[_0x4c30('0x14')]}]});}['render'](){super[_0x4c30('0x2')](),this['main'][_0x4c30('0x5')](this['editable']);}['focus'](){this[_0x4c30('0x0')][_0x4c30('0x3')]['focus']();}[_0x4c30('0xc')](_0xd9ac6e,_0x1df17e){const _0x37516a=new _0x44f30b();return _0x37516a[_0x4c30('0x10')]=_0x5c9154(_0x1df17e,_0x4c30('0x12')),_0x37516a[_0x4c30('0x13')]({'attributes':{'id':'ck-editor__aria-label_'+_0xd9ac6e,'class':_0x4c30('0xa')}}),_0x37516a;}}
23
+ const _0x9261=['text','ck-editor__main','ck-editor__aria-label_','ck-reset','presentation','uiLanguageDirection','element','focus','createCollection','Comment\x20editor','_voiceLabelView','main','render','add','editable','extendTemplate','setTemplate','comment','cke-editor__aria-label_','uiLanguage','_createVoiceLabel'];(function(_0x2b126d,_0x9261b8){const _0x2b69be=function(_0x2ea335){while(--_0x2ea335){_0x2b126d['push'](_0x2b126d['shift']());}};_0x2b69be(++_0x9261b8);}(_0x9261,0x119));const _0x2b69=function(_0x2b126d,_0x9261b8){_0x2b126d=_0x2b126d-0x0;let _0x2b69be=_0x9261[_0x2b126d];return _0x2b69be;};import{InlineEditableUIView as _0x10edc4,EditorUIView as _0x25a1c0,LabelView as _0x635612}from'ckeditor5/src/ui';import{uid as _0x1141c7}from'ckeditor5/src/utils';import{getTranslation as _0x43ea79}from'../../../utils/common-translations';export default class Rt extends _0x25a1c0{constructor(_0x133ba0,_0x39f4fc){super(_0x133ba0);const _0x158e91=_0x1141c7();this[_0x2b69('0x3')]=this[_0x2b69('0x0')](),this[_0x2b69('0x6')]=new _0x10edc4(_0x133ba0,_0x39f4fc),this[_0x2b69('0x2')]=this[_0x2b69('0xc')](_0x158e91,_0x133ba0),this[_0x2b69('0x8')]({'tag':'div','attributes':{'class':[_0x2b69('0x10'),'ck-editor','ck-rounded-corners','ck-comment__input'],'role':_0x2b69('0x9'),'dir':_0x133ba0[_0x2b69('0x12')],'lang':_0x133ba0[_0x2b69('0xb')],'aria-labelledby':_0x2b69('0xa')+_0x158e91},'children':[this[_0x2b69('0x2')],{'tag':'div','attributes':{'class':_0x2b69('0xe'),'role':_0x2b69('0x11')},'children':this[_0x2b69('0x3')]}]});}[_0x2b69('0x4')](){super[_0x2b69('0x4')](),this[_0x2b69('0x3')][_0x2b69('0x5')](this[_0x2b69('0x6')]);}[_0x2b69('0x14')](){this[_0x2b69('0x6')][_0x2b69('0x13')][_0x2b69('0x14')]();}[_0x2b69('0xc')](_0x416e29,_0x531322){const _0xd389d7=new _0x635612();return _0xd389d7[_0x2b69('0xd')]=_0x43ea79(_0x531322,_0x2b69('0x1')),_0xd389d7[_0x2b69('0x7')]({'attributes':{'id':_0x2b69('0xf')+_0x416e29,'class':'ck-voice-label'}}),_0xd389d7;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3a78=['remove','submit','submitCommentThread','updateComment','listenTo','model','stopListening','removeComment','view','_isAttached','resolve','addComment','removeCommentThread','getComment','isResolved','update','reopen'];(function(_0x183683,_0x3a7814){var _0x48708f=function(_0x1b4de1){while(--_0x1b4de1){_0x183683['push'](_0x183683['shift']());}};_0x48708f(++_0x3a7814);}(_0x3a78,0x6a));var _0x4870=function(_0x183683,_0x3a7814){_0x183683=_0x183683-0x0;var _0x48708f=_0x3a78[_0x183683];return _0x48708f;};import{ObservableMixin as _0x45f445}from'ckeditor5/src/utils';export default class ut extends _0x45f445(){constructor(_0x48c6c5,_0x1158c3){super(),this['model']=_0x48c6c5,this['model'][_0x4870('0x5')]=!0x0,this[_0x4870('0x4')]=_0x1158c3,this[_0x4870('0x0')](_0x1158c3,_0x4870('0xf'),()=>this[_0x4870('0xe')]()),this['listenTo'](_0x1158c3,_0x4870('0x8'),()=>this[_0x4870('0xd')]()),this[_0x4870('0x0')](_0x1158c3,'resolveCommentThread',()=>this[_0x4870('0x6')]()),this[_0x4870('0x0')](_0x1158c3,'reopenCommentThread',()=>this[_0x4870('0xc')]()),this[_0x4870('0x0')](_0x1158c3,_0x4870('0x7'),(_0x343c13,_0x18614e)=>this['addComment'](_0x18614e)),this[_0x4870('0x0')](_0x1158c3,'updateComment',(_0x881c1f,_0x4f8430,_0x53d054)=>this['updateComment'](_0x4f8430,_0x53d054)),this[_0x4870('0x0')](_0x1158c3,_0x4870('0x3'),(_0x56b6a3,_0x20c5d5)=>this[_0x4870('0x3')](_0x20c5d5));}[_0x4870('0xe')](){this['model']['submit']();}[_0x4870('0xd')](){this['model']['remove']();}[_0x4870('0x6')](){this['model'][_0x4870('0xa')]||this['model'][_0x4870('0x6')]();}[_0x4870('0xc')](){this['model'][_0x4870('0xa')]&&this['model'][_0x4870('0xc')]();}[_0x4870('0x7')](_0x16dc5e){this[_0x4870('0x1')]['addComment']({'content':_0x16dc5e,'authorId':this[_0x4870('0x4')]['_localUser']['id']});}[_0x4870('0x10')](_0x1a2b73,_0x1652dc){this[_0x4870('0x1')]['getComment'](_0x1a2b73)[_0x4870('0xb')]({'content':_0x1652dc});}[_0x4870('0x3')](_0x286950){this['model'][_0x4870('0x9')](_0x286950)[_0x4870('0xd')]();}['destroy'](){this[_0x4870('0x2')](),this['model'][_0x4870('0x5')]=!0x1;}}
23
+ var _0x13be=['reopen','removeCommentThread','listenTo','model','reopenCommentThread','addComment','remove','updateComment','getComment','_localUser','removeComment','submit','_isAttached','update','submitCommentThread','resolve','destroy','view','isResolved','stopListening'];(function(_0x2cfb18,_0x13bea3){var _0x5d30a6=function(_0x3976f8){while(--_0x3976f8){_0x2cfb18['push'](_0x2cfb18['shift']());}};_0x5d30a6(++_0x13bea3);}(_0x13be,0x121));var _0x5d30=function(_0x2cfb18,_0x13bea3){_0x2cfb18=_0x2cfb18-0x0;var _0x5d30a6=_0x13be[_0x2cfb18];return _0x5d30a6;};import{ObservableMixin as _0x130664}from'ckeditor5/src/utils';export default class ut extends _0x130664(){constructor(_0x4801ca,_0x130731){super(),this['model']=_0x4801ca,this[_0x5d30('0xe')][_0x5d30('0x3')]=!0x0,this[_0x5d30('0x8')]=_0x130731,this[_0x5d30('0xd')](_0x130731,_0x5d30('0x5'),()=>this[_0x5d30('0x2')]()),this[_0x5d30('0xd')](_0x130731,_0x5d30('0xc'),()=>this['remove']()),this[_0x5d30('0xd')](_0x130731,'resolveCommentThread',()=>this['resolve']()),this['listenTo'](_0x130731,_0x5d30('0xf'),()=>this[_0x5d30('0xb')]()),this['listenTo'](_0x130731,_0x5d30('0x10'),(_0x34dd71,_0x507817)=>this[_0x5d30('0x10')](_0x507817)),this[_0x5d30('0xd')](_0x130731,_0x5d30('0x12'),(_0x45dc33,_0x25d75b,_0x2c265c)=>this['updateComment'](_0x25d75b,_0x2c265c)),this[_0x5d30('0xd')](_0x130731,_0x5d30('0x1'),(_0x5ca739,_0x2ff5b3)=>this[_0x5d30('0x1')](_0x2ff5b3));}[_0x5d30('0x2')](){this[_0x5d30('0xe')]['submit']();}[_0x5d30('0x11')](){this[_0x5d30('0xe')][_0x5d30('0x11')]();}[_0x5d30('0x6')](){this[_0x5d30('0xe')][_0x5d30('0x9')]||this[_0x5d30('0xe')][_0x5d30('0x6')]();}[_0x5d30('0xb')](){this['model'][_0x5d30('0x9')]&&this['model'][_0x5d30('0xb')]();}['addComment'](_0x3d0ebe){this[_0x5d30('0xe')][_0x5d30('0x10')]({'content':_0x3d0ebe,'authorId':this[_0x5d30('0x8')][_0x5d30('0x0')]['id']});}['updateComment'](_0x2f28cb,_0x13d5bc){this['model']['getComment'](_0x2f28cb)[_0x5d30('0x4')]({'content':_0x13d5bc});}[_0x5d30('0x1')](_0x3205c9){this[_0x5d30('0xe')][_0x5d30('0x13')](_0x3205c9)[_0x5d30('0x11')]();}[_0x5d30('0x7')](){this[_0x5d30('0xa')](),this[_0x5d30('0xe')][_0x5d30('0x3')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5908=['hasDirtyComment','change:isActive','commentThreadHeaderView','updateComment','reopenCommentThread','submit','commentThreadInputView','removeComment','destroy','addComment','removeCommentThread','editorReady','delegate','length','stop','Reply','cancel','submitLabel','showInput','focus','unlinkedAt','commentsListView','value','isReadOnly','placeholder','isActive','isResolved','Reply\x20to\x20reopen\x20discussion...','_createCommentThreadInputView','isUnlinked','isDirty','_model','fire','listenTo','archivedAt','editorConfig','Comment','bind','_config','isSubmitted','set','isResolvable','resolveCommentThread','commentInputView','assign','_localUser','locale','Write\x20a\x20comment...'];(function(_0x5d6db3,_0x5908a2){const _0x130bce=function(_0x22ab0a){while(--_0x22ab0a){_0x5d6db3['push'](_0x5d6db3['shift']());}};_0x130bce(++_0x5908a2);}(_0x5908,0x1ec));const _0x130b=function(_0x5d6db3,_0x5908a2){_0x5d6db3=_0x5d6db3-0x0;let _0x130bce=_0x5908[_0x5d6db3];return _0x130bce;};import{View as _0x393511}from'ckeditor5/src/ui';import _0x4633a4 from'./commentthreadinputview';import _0x22548e from'./commentslistview';import _0x42683c from'./commentthreadheaderview';import{getTranslation as _0xea8397}from'../../../utils/common-translations';export default class Ut extends _0x393511{constructor(_0x2f3b1b,_0x429b42,_0x2e5827,_0x15d588){super(_0x2f3b1b),this['set'](_0x130b('0xd'),!0x1),this[_0x130b('0x1c')](_0x130b('0x12'),!0x1),this[_0x130b('0x13')]=_0x429b42,this['_localUser']=_0x2e5827,this[_0x130b('0x1a')]=_0x15d588,this[_0x130b('0x26')]=new _0x42683c(_0x2f3b1b,_0x429b42),this['commentThreadHeaderView'][_0x130b('0x0')](_0x130b('0x28'))['to'](this),this[_0x130b('0x15')](this,_0x130b('0x28'),()=>{this['focus']();}),this[_0x130b('0x9')]=new _0x22548e(_0x2f3b1b,_0x429b42,Object[_0x130b('0x20')]({'CommentView':this[_0x130b('0x1a')]['CommentView']},_0x15d588)),this[_0x130b('0x9')][_0x130b('0x0')](_0x130b('0x2b'))['to'](this),this['commentsListView'][_0x130b('0x0')](_0x130b('0x27'))['to'](this),this['commentsListView']['delegate']('resolveCommentThread')['to'](this),this[_0x130b('0x9')][_0x130b('0x0')]('editorReady')['to'](this),this[_0x130b('0x9')]['delegate']('editorDestroyed')['to'](this),this[_0x130b('0x9')]['bind'](_0x130b('0xd'))['to'](this),this[_0x130b('0x15')](this,_0x130b('0x1e'),()=>{this[_0x130b('0x7')]();}),this[_0x130b('0x1c')](_0x130b('0x1'),this[_0x130b('0x9')][_0x130b('0x1')]),this[_0x130b('0x19')](_0x130b('0x1'))['to'](this[_0x130b('0x9')],_0x130b('0x1')),this[_0x130b('0x2a')]=this[_0x130b('0x10')](),this[_0x130b('0x2a')][_0x130b('0x0')](_0x130b('0x2f'))['to'](this),this[_0x130b('0x2a')]['delegate']('editorDestroyed')['to'](this),this['on'](_0x130b('0x2b'),()=>this[_0x130b('0x7')]()),this[_0x130b('0x19')](_0x130b('0x12'))['to'](this[_0x130b('0x9')],_0x130b('0x24'),this[_0x130b('0x2a')][_0x130b('0x1f')],_0x130b('0xa'),(_0x508bea,_0x22b7d5)=>_0x508bea||!!_0x22b7d5),this[_0x130b('0x19')](_0x130b('0x11'))['to'](_0x429b42,_0x130b('0x8'),_0x3363af=>!!_0x3363af);}['focus'](){this['element'][_0x130b('0x7')]();}async[_0x130b('0x2c')](){this['isDirty']=!0x1,this[_0x130b('0x9')][_0x130b('0x2c')](),await this['commentThreadInputView'][_0x130b('0x2c')](),super['destroy']();}[_0x130b('0x10')](){const _0x5b5a7d=new _0x4633a4(this[_0x130b('0x22')],this[_0x130b('0x21')],this[_0x130b('0x1a')][_0x130b('0x17')]),_0x320a6c=_0x5b5a7d[_0x130b('0x1f')];return _0x5b5a7d[_0x130b('0x19')](_0x130b('0x6'))['to'](this,'isActive',this['_model'],_0x130b('0xb'),this[_0x130b('0x13')],'canComment',this[_0x130b('0x13')],_0x130b('0x16'),_0x320a6c,_0x130b('0xa'),(_0x324a56,_0x346b50,_0x3313b7,_0x106bd0,_0x85ab29)=>!!_0x85ab29||!!_0x106bd0&&_0x3313b7&&!_0x346b50||_0x324a56&&_0x3313b7&&!_0x346b50),_0x320a6c['bind'](_0x130b('0xc'))['to'](this,_0x130b('0x1'),this[_0x130b('0x13')],_0x130b('0x1d'),this['_model'],_0x130b('0xe'),(_0x420c32,_0x5e090c,_0x1bea9a)=>{let _0x13f046;return _0x13f046=_0x1bea9a&&_0x5e090c?_0x130b('0xf'):_0x420c32?'Reply...':_0x130b('0x23'),_0xea8397(this['locale'],_0x13f046);}),_0x320a6c[_0x130b('0x19')](_0x130b('0x5'))['to'](this,'length',_0xca3597=>_0xea8397(this[_0x130b('0x22')],_0xca3597?_0x130b('0x3'):_0x130b('0x18'))),_0x320a6c['on'](_0x130b('0x29'),(_0x16ea61,_0x35ebb3)=>{this[_0x130b('0x14')](_0x130b('0x2d'),_0x35ebb3),this[_0x130b('0x13')][_0x130b('0xe')]&&this['_model'][_0x130b('0x1d')]&&this[_0x130b('0x14')](_0x130b('0x28'),this[_0x130b('0x13')]['id']),this[_0x130b('0x13')][_0x130b('0x1b')]||this[_0x130b('0x14')]('submitCommentThread');}),_0x320a6c['on'](_0x130b('0x4'),()=>{this['focus']();}),_0x320a6c['bind']('disabledSubmit')['to'](this[_0x130b('0x13')],_0x130b('0xb')),_0x320a6c['on'](_0x130b('0x4'),_0x346273=>{0x0==this[_0x130b('0x1')]&&(this[_0x130b('0x14')]('removeCommentThread'),_0x346273[_0x130b('0x2')]());}),this['on'](_0x130b('0x25'),(_0x483ba5,_0x1f4e83,_0x3b4526)=>{_0x3b4526||this['length']||_0x320a6c[_0x130b('0xa')]||this[_0x130b('0x14')](_0x130b('0x2e'));}),_0x5b5a7d;}}
23
+ const _0x2e34=['bind','focus','_createCommentThreadInputView','fire','isUnlinked','locale','commentsListView','stop','listenTo','showInput','editorConfig','_model','length','editorReady','hasDirtyComment','reopenCommentThread','isActive','CommentView','resolveCommentThread','delegate','commentThreadHeaderView','set','disabledSubmit','archivedAt','addComment','value','isResolved','destroy','isResolvable','isReadOnly','Comment','removeCommentThread','isDirty','Reply...','placeholder','Reply','commentThreadInputView','submit','_localUser','commentInputView','editorDestroyed','assign','updateComment','cancel','_config','Write\x20a\x20comment...'];(function(_0x517977,_0x2e3450){const _0x47ed0a=function(_0x26a453){while(--_0x26a453){_0x517977['push'](_0x517977['shift']());}};_0x47ed0a(++_0x2e3450);}(_0x2e34,0x1ba));const _0x47ed=function(_0x517977,_0x2e3450){_0x517977=_0x517977-0x0;let _0x47ed0a=_0x2e34[_0x517977];return _0x47ed0a;};import{View as _0x4b163e}from'ckeditor5/src/ui';import _0x229683 from'./commentthreadinputview';import _0x15cf59 from'./commentslistview';import _0xa161b8 from'./commentthreadheaderview';import{getTranslation as _0x24d664}from'../../../utils/common-translations';export default class Ut extends _0x4b163e{constructor(_0x1a4c8e,_0x5ddf51,_0x4284a8,_0x24ec63){super(_0x1a4c8e),this[_0x47ed('0x27')](_0x47ed('0x22'),!0x1),this[_0x47ed('0x27')]('isDirty',!0x1),this['_model']=_0x5ddf51,this[_0x47ed('0xa')]=_0x4284a8,this[_0x47ed('0x10')]=_0x24ec63,this[_0x47ed('0x26')]=new _0xa161b8(_0x1a4c8e,_0x5ddf51),this[_0x47ed('0x26')]['delegate'](_0x47ed('0x21'))['to'](this),this[_0x47ed('0x1a')](this,'reopenCommentThread',()=>{this[_0x47ed('0x13')]();}),this[_0x47ed('0x18')]=new _0x15cf59(_0x1a4c8e,_0x5ddf51,Object[_0x47ed('0xd')]({'CommentView':this[_0x47ed('0x10')][_0x47ed('0x23')]},_0x24ec63)),this['commentsListView'][_0x47ed('0x25')]('removeComment')['to'](this),this[_0x47ed('0x18')][_0x47ed('0x25')](_0x47ed('0xe'))['to'](this),this[_0x47ed('0x18')]['delegate'](_0x47ed('0x24'))['to'](this),this['commentsListView'][_0x47ed('0x25')](_0x47ed('0x1f'))['to'](this),this[_0x47ed('0x18')][_0x47ed('0x25')](_0x47ed('0xc'))['to'](this),this[_0x47ed('0x18')][_0x47ed('0x12')](_0x47ed('0x22'))['to'](this),this[_0x47ed('0x1a')](this,_0x47ed('0x24'),()=>{this[_0x47ed('0x13')]();}),this['set'](_0x47ed('0x1e'),this[_0x47ed('0x18')][_0x47ed('0x1e')]),this[_0x47ed('0x12')](_0x47ed('0x1e'))['to'](this[_0x47ed('0x18')],'length'),this[_0x47ed('0x8')]=this[_0x47ed('0x14')](),this['commentThreadInputView'][_0x47ed('0x25')](_0x47ed('0x1f'))['to'](this),this[_0x47ed('0x8')][_0x47ed('0x25')](_0x47ed('0xc'))['to'](this),this['on']('removeComment',()=>this['focus']()),this['bind'](_0x47ed('0x4'))['to'](this['commentsListView'],_0x47ed('0x20'),this['commentThreadInputView'][_0x47ed('0xb')],'value',(_0x5aab9d,_0x4a08ad)=>_0x5aab9d||!!_0x4a08ad),this[_0x47ed('0x12')](_0x47ed('0x16'))['to'](_0x5ddf51,'unlinkedAt',_0x212333=>!!_0x212333);}[_0x47ed('0x13')](){this['element'][_0x47ed('0x13')]();}async[_0x47ed('0x2d')](){this['isDirty']=!0x1,this[_0x47ed('0x18')]['destroy'](),await this['commentThreadInputView'][_0x47ed('0x2d')](),super[_0x47ed('0x2d')]();}['_createCommentThreadInputView'](){const _0xa15ded=new _0x229683(this[_0x47ed('0x17')],this[_0x47ed('0xa')],this[_0x47ed('0x10')][_0x47ed('0x1c')]),_0x22529c=_0xa15ded[_0x47ed('0xb')];return _0xa15ded[_0x47ed('0x12')](_0x47ed('0x1b'))['to'](this,'isActive',this[_0x47ed('0x1d')],_0x47ed('0x1'),this[_0x47ed('0x1d')],'canComment',this['_model'],_0x47ed('0x29'),_0x22529c,_0x47ed('0x2b'),(_0x538350,_0x3680e0,_0x5e6ae6,_0x1ba765,_0x38e485)=>!!_0x38e485||!!_0x1ba765&&_0x5e6ae6&&!_0x3680e0||_0x538350&&_0x5e6ae6&&!_0x3680e0),_0x22529c['bind'](_0x47ed('0x6'))['to'](this,_0x47ed('0x1e'),this[_0x47ed('0x1d')],_0x47ed('0x0'),this[_0x47ed('0x1d')],_0x47ed('0x2c'),(_0xe58787,_0x54350c,_0x3e552d)=>{let _0x4ec0ac;return _0x4ec0ac=_0x3e552d&&_0x54350c?'Reply\x20to\x20reopen\x20discussion...':_0xe58787?_0x47ed('0x5'):_0x47ed('0x11'),_0x24d664(this[_0x47ed('0x17')],_0x4ec0ac);}),_0x22529c[_0x47ed('0x12')]('submitLabel')['to'](this,_0x47ed('0x1e'),_0x5d866a=>_0x24d664(this[_0x47ed('0x17')],_0x5d866a?_0x47ed('0x7'):_0x47ed('0x2'))),_0x22529c['on'](_0x47ed('0x9'),(_0xf6c759,_0x53e23c)=>{this[_0x47ed('0x15')](_0x47ed('0x2a'),_0x53e23c),this[_0x47ed('0x1d')][_0x47ed('0x2c')]&&this[_0x47ed('0x1d')][_0x47ed('0x0')]&&this['fire'](_0x47ed('0x21'),this['_model']['id']),this['_model']['isSubmitted']||this[_0x47ed('0x15')]('submitCommentThread');}),_0x22529c['on'](_0x47ed('0xf'),()=>{this['focus']();}),_0x22529c['bind'](_0x47ed('0x28'))['to'](this[_0x47ed('0x1d')],_0x47ed('0x1')),_0x22529c['on'](_0x47ed('0xf'),_0x289768=>{0x0==this[_0x47ed('0x1e')]&&(this[_0x47ed('0x15')](_0x47ed('0x3')),_0x289768[_0x47ed('0x19')]());}),this['on']('change:isActive',(_0x54212c,_0x59396e,_0x45b580)=>{_0x45b580||this['length']||_0x22529c[_0x47ed('0x2b')]||this[_0x47ed('0x15')](_0x47ed('0x3'));}),_0xa15ded;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5697=['collapse','isSystemComment','add','submitLabel','focus','_createCommentInputView','createEditor','visibleView','once','editorReady','value','content','set','remove','_model','maxCommentCharsWhenCollapsed','disabledSubmit','editorConfig','switchToDisplayMode','editorDestroyed','_config','submit','isEditMode','destroy','updateComment','cancel','switchToEditMode','Save','locale','isCollapsed','bind','delegate','initialData','_createCommentContentView'];(function(_0x2d785e,_0x5697db){const _0x5da951=function(_0x278953){while(--_0x278953){_0x2d785e['push'](_0x2d785e['shift']());}};_0x5da951(++_0x5697db);}(_0x5697,0x123));const _0x5da9=function(_0x2d785e,_0x5697db){_0x2d785e=_0x2d785e-0x0;let _0x5da951=_0x5697[_0x2d785e];return _0x5da951;};import{View as _0x153643}from'ckeditor5/src/ui';import{trimHtml as _0x559fdc}from'ckeditor5-collaboration/src/collaboration-core';import _0x90ab25 from'./commentcontentview';import _0x254b0d from'./commentinputview';import{getTranslation as _0x493959}from'../../../utils/common-translations';export default class ti extends _0x153643{constructor(_0x43da63,_0x268b6e,_0x22a43a){super(_0x43da63),this[_0x5da9('0x1d')]=_0x268b6e,this[_0x5da9('0x1')]=_0x22a43a,this[_0x5da9('0x10')]=!!this[_0x5da9('0x1')][_0x5da9('0x10')],this[_0x5da9('0x1b')](_0x5da9('0x3'),!0x1),this['set'](_0x5da9('0xa'),!0x0),this[_0x5da9('0x16')]=this['createCollection'](),this[_0x5da9('0x16')]['add'](this[_0x5da9('0xe')]());}['expand'](){this[_0x5da9('0xa')]=!0x1;}[_0x5da9('0xf')](){this[_0x5da9('0x3')]||(this[_0x5da9('0xa')]=!0x0);}[_0x5da9('0x13')](){this['element'][_0x5da9('0x13')]();}async[_0x5da9('0x4')](){await this[_0x5da9('0x16')]['get'](0x0)[_0x5da9('0x4')](),super[_0x5da9('0x4')]();}[_0x5da9('0x7')](){this[_0x5da9('0x3')]||(this[_0x5da9('0x3')]=!0x0,this['visibleView'][_0x5da9('0x1c')](0x0)[_0x5da9('0x4')](),this['visibleView'][_0x5da9('0x11')](this[_0x5da9('0x14')]()));}['switchToDisplayMode'](){this['isEditMode']&&(this[_0x5da9('0x3')]=!0x1,this[_0x5da9('0x16')][_0x5da9('0x1c')](0x0)[_0x5da9('0x4')](),this['visibleView']['add'](this[_0x5da9('0xe')]()));}[_0x5da9('0xe')](){const _0x326016=new _0x90ab25(this[_0x5da9('0x9')]);return _0x326016['bind'](_0x5da9('0x1a'))['to'](this['_model'],_0x5da9('0x1a'),this,'isCollapsed',(_0x42cc4c,_0x172725)=>_0x172725?_0x559fdc(_0x42cc4c,{'limit':this[_0x5da9('0x1')][_0x5da9('0x1e')]}):_0x42cc4c),_0x326016;}[_0x5da9('0x14')](){this['_config'][_0x5da9('0x20')]||(this[_0x5da9('0x1')][_0x5da9('0x20')]={}),this[_0x5da9('0x1')]['editorConfig'][_0x5da9('0xd')]=this[_0x5da9('0x1d')][_0x5da9('0x1a')];const _0x2606df=new _0x254b0d(this['locale'],this['_config'][_0x5da9('0x20')]);return _0x2606df[_0x5da9('0x19')]=this[_0x5da9('0x1d')][_0x5da9('0x1a')],_0x2606df[_0x5da9('0xb')](_0x5da9('0x1f'))['to'](this[_0x5da9('0x1d')],'isReadOnly'),_0x2606df[_0x5da9('0x12')]=_0x493959(this['locale'],_0x5da9('0x8')),_0x2606df['on'](_0x5da9('0x2'),(_0x4bae93,_0x20cf6d)=>{this['fire'](_0x5da9('0x5'),this[_0x5da9('0x1d')]['id'],_0x20cf6d),this[_0x5da9('0x21')](),this[_0x5da9('0x13')]();}),_0x2606df['on'](_0x5da9('0x6'),()=>{this[_0x5da9('0x21')](),this[_0x5da9('0x13')]();}),_0x2606df[_0x5da9('0x17')](_0x5da9('0x18'),()=>{_0x2606df[_0x5da9('0x13')]();}),_0x2606df[_0x5da9('0x15')](),_0x2606df['delegate'](_0x5da9('0x18'))['to'](this),_0x2606df[_0x5da9('0xc')](_0x5da9('0x0'))['to'](this),_0x2606df;}}
23
+ const _0x48f6=['switchToEditMode','submitLabel','destroy','submit','value','initialData','_createCommentInputView','get','element','content','isSystemComment','_createCommentContentView','isEditMode','editorConfig','editorReady','add','maxCommentCharsWhenCollapsed','createEditor','switchToDisplayMode','disabledSubmit','once','delegate','_config','visibleView','expand','locale','remove','set','createCollection','collapse','_model','isCollapsed','bind','focus'];(function(_0x1859f4,_0x48f6f4){const _0x1a6438=function(_0x4a2c2d){while(--_0x4a2c2d){_0x1859f4['push'](_0x1859f4['shift']());}};_0x1a6438(++_0x48f6f4);}(_0x48f6,0xca));const _0x1a64=function(_0x1859f4,_0x48f6f4){_0x1859f4=_0x1859f4-0x0;let _0x1a6438=_0x48f6[_0x1859f4];return _0x1a6438;};import{View as _0x1ce16b}from'ckeditor5/src/ui';import{trimHtml as _0x26c055}from'ckeditor5-collaboration/src/collaboration-core';import _0x568f99 from'./commentcontentview';import _0x52b8a5 from'./commentinputview';import{getTranslation as _0x59cbb1}from'../../../utils/common-translations';export default class ti extends _0x1ce16b{constructor(_0x3258d5,_0x1e6998,_0x4019ed){super(_0x3258d5),this[_0x1a64('0x20')]=_0x1e6998,this[_0x1a64('0x18')]=_0x4019ed,this[_0x1a64('0xc')]=!!this[_0x1a64('0x18')]['isSystemComment'],this['set'](_0x1a64('0xe'),!0x1),this[_0x1a64('0x1d')](_0x1a64('0x21'),!0x0),this[_0x1a64('0x19')]=this[_0x1a64('0x1e')](),this['visibleView'][_0x1a64('0x11')](this[_0x1a64('0xd')]());}[_0x1a64('0x1a')](){this[_0x1a64('0x21')]=!0x1;}[_0x1a64('0x1f')](){this[_0x1a64('0xe')]||(this[_0x1a64('0x21')]=!0x0);}[_0x1a64('0x1')](){this[_0x1a64('0xa')][_0x1a64('0x1')]();}async['destroy'](){await this['visibleView'][_0x1a64('0x9')](0x0)[_0x1a64('0x4')](),super[_0x1a64('0x4')]();}[_0x1a64('0x2')](){this[_0x1a64('0xe')]||(this[_0x1a64('0xe')]=!0x0,this['visibleView'][_0x1a64('0x1c')](0x0)[_0x1a64('0x4')](),this[_0x1a64('0x19')][_0x1a64('0x11')](this[_0x1a64('0x8')]()));}[_0x1a64('0x14')](){this[_0x1a64('0xe')]&&(this[_0x1a64('0xe')]=!0x1,this['visibleView'][_0x1a64('0x1c')](0x0)[_0x1a64('0x4')](),this[_0x1a64('0x19')]['add'](this[_0x1a64('0xd')]()));}[_0x1a64('0xd')](){const _0x5cc284=new _0x568f99(this[_0x1a64('0x1b')]);return _0x5cc284[_0x1a64('0x0')](_0x1a64('0xb'))['to'](this[_0x1a64('0x20')],'content',this,_0x1a64('0x21'),(_0x54925d,_0x337747)=>_0x337747?_0x26c055(_0x54925d,{'limit':this[_0x1a64('0x18')][_0x1a64('0x12')]}):_0x54925d),_0x5cc284;}[_0x1a64('0x8')](){this[_0x1a64('0x18')][_0x1a64('0xf')]||(this[_0x1a64('0x18')]['editorConfig']={}),this['_config'][_0x1a64('0xf')][_0x1a64('0x7')]=this[_0x1a64('0x20')][_0x1a64('0xb')];const _0x2f7af5=new _0x52b8a5(this[_0x1a64('0x1b')],this[_0x1a64('0x18')][_0x1a64('0xf')]);return _0x2f7af5[_0x1a64('0x6')]=this[_0x1a64('0x20')][_0x1a64('0xb')],_0x2f7af5['bind'](_0x1a64('0x15'))['to'](this['_model'],'isReadOnly'),_0x2f7af5[_0x1a64('0x3')]=_0x59cbb1(this[_0x1a64('0x1b')],'Save'),_0x2f7af5['on'](_0x1a64('0x5'),(_0x1eab50,_0x18cee3)=>{this['fire']('updateComment',this['_model']['id'],_0x18cee3),this[_0x1a64('0x14')](),this[_0x1a64('0x1')]();}),_0x2f7af5['on']('cancel',()=>{this['switchToDisplayMode'](),this[_0x1a64('0x1')]();}),_0x2f7af5[_0x1a64('0x16')]('editorReady',()=>{_0x2f7af5[_0x1a64('0x1')]();}),_0x2f7af5[_0x1a64('0x13')](),_0x2f7af5[_0x1a64('0x17')](_0x1a64('0x10'))['to'](this),_0x2f7af5['delegate']('editorDestroyed')['to'](this),_0x2f7af5;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29f1=['NUMBER_OF_COMMENTS','setTemplate','bindTemplate','count'];(function(_0x20db72,_0x29f1bf){const _0x5367bd=function(_0x51602a){while(--_0x51602a){_0x20db72['push'](_0x20db72['shift']());}};_0x5367bd(++_0x29f1bf);}(_0x29f1,0xee));const _0x5367=function(_0x20db72,_0x29f1bf){_0x20db72=_0x20db72-0x0;let _0x5367bd=_0x29f1[_0x20db72];return _0x5367bd;};import{View as _0x5237d3}from'ckeditor5/src/ui';import{getTranslation as _0x1d72d8}from'../../../utils/common-translations';export default class to extends _0x5237d3{constructor(_0x476fcc){super(_0x476fcc);const _0x57777f=this[_0x5367('0x0')];this['set'](_0x5367('0x1'),void 0x0),this[_0x5367('0x3')]({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x57777f['to']('count',_0x414bc8=>_0x1d72d8(_0x476fcc,_0x5367('0x2'),_0x414bc8))}]});}}
23
+ const _0x44d2=['setTemplate','count','set','ck-thread__comment-count','bindTemplate'];(function(_0x4630ee,_0x44d296){const _0x4c8659=function(_0x29f278){while(--_0x29f278){_0x4630ee['push'](_0x4630ee['shift']());}};_0x4c8659(++_0x44d296);}(_0x44d2,0x18b));const _0x4c86=function(_0x4630ee,_0x44d296){_0x4630ee=_0x4630ee-0x0;let _0x4c8659=_0x44d2[_0x4630ee];return _0x4c8659;};import{View as _0x74ff8c}from'ckeditor5/src/ui';import{getTranslation as _0x3f5715}from'../../../utils/common-translations';export default class to extends _0x74ff8c{constructor(_0x5c538a){super(_0x5c538a);const _0x4a2e61=this[_0x4c86('0x4')];this[_0x4c86('0x2')]('count',void 0x0),this[_0x4c86('0x0')]({'tag':'li','attributes':{'class':_0x4c86('0x3')},'children':[{'text':_0x4a2e61['to'](_0x4c86('0x1'),_0x23eccc=>_0x3f5715(_0x5c538a,'NUMBER_OF_COMMENTS',_0x23eccc))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x20e8=['innerHTML','render','element','setTemplate','content','change:content','ck-annotation__content','div'];(function(_0x15ee8e,_0x20e8c6){var _0x537385=function(_0x795d9a){while(--_0x795d9a){_0x15ee8e['push'](_0x15ee8e['shift']());}};_0x537385(++_0x20e8c6);}(_0x20e8,0xc0));var _0x5373=function(_0x15ee8e,_0x20e8c6){_0x15ee8e=_0x15ee8e-0x0;var _0x537385=_0x20e8[_0x15ee8e];return _0x537385;};import{View as _0x185adf}from'ckeditor5/src/ui';export default class Yt extends _0x185adf{constructor(_0x364664){super(_0x364664),this['set'](_0x5373('0x4'),''),this[_0x5373('0x3')]({'tag':_0x5373('0x7'),'attributes':{'class':['ck-comment__content',_0x5373('0x6')]}});}['render'](){super[_0x5373('0x1')](),this['on'](_0x5373('0x5'),(_0x4218c7,_0x288f40,_0x498260)=>{this[_0x5373('0x2')][_0x5373('0x0')]=_0x498260;}),this[_0x5373('0x2')][_0x5373('0x0')]=this['content'];}}
23
+ var _0x311c=['div','element','ck-annotation__content','ck-comment__content','innerHTML','content','setTemplate','set'];(function(_0x14da9f,_0x311c17){var _0x388bb5=function(_0x2a7099){while(--_0x2a7099){_0x14da9f['push'](_0x14da9f['shift']());}};_0x388bb5(++_0x311c17);}(_0x311c,0xbb));var _0x388b=function(_0x14da9f,_0x311c17){_0x14da9f=_0x14da9f-0x0;var _0x388bb5=_0x311c[_0x14da9f];return _0x388bb5;};import{View as _0x944aed}from'ckeditor5/src/ui';export default class Yt extends _0x944aed{constructor(_0x1690d6){super(_0x1690d6),this[_0x388b('0x4')](_0x388b('0x2'),''),this[_0x388b('0x3')]({'tag':_0x388b('0x5'),'attributes':{'class':[_0x388b('0x0'),_0x388b('0x7')]}});}['render'](){super['render'](),this['on']('change:content',(_0x4dfacb,_0x5e84a5,_0x1c4205)=>{this[_0x388b('0x6')]['innerHTML']=_0x1c4205;}),this[_0x388b('0x6')][_0x388b('0x1')]=this[_0x388b('0x2')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e6a=['set','initialData','_isDestroyed','low','Esc','trim','Reply...','bind','editor','createEditor','Reply','model','_editorCreationPromise','extendTemplate','keystrokes','focusPrevious','listenTo','focus','add','ck-comment__input-wrapper','execute','_createCancelButton','shift\x20+\x20tab','_initializeFocusCycling','stop','length','disabledSubmit','forEach','cancel','_createSubmitButton','firstChild','showButtons','submitLabel','focusNext','withText','ck-comment__input-actions','TOO_LONG_COMMENT_ALERT','focusTracker','change','editorDestroyed','placeholder','isEnabled','destroy','setData','value','setTemplate','submitButtonView','label','getData','ck-comment__input-actions--submit','cancelButtonView','render','fire','then','submit','element'];(function(_0x3aba03,_0x3e6a77){const _0x3a84be=function(_0x17a045){while(--_0x17a045){_0x3aba03['push'](_0x3aba03['shift']());}};_0x3a84be(++_0x3e6a77);}(_0x3e6a,0x15a));const _0x3a84=function(_0x3aba03,_0x3e6a77){_0x3aba03=_0x3aba03-0x0;let _0x3a84be=_0x3e6a[_0x3aba03];return _0x3a84be;};import{View as _0x5e1a07,ViewCollection as _0x23e2f6,FocusCycler as _0x4afff8,ButtonView as _0x2adee4}from'ckeditor5/src/ui';import{FocusTracker as _0x415261,KeystrokeHandler as _0x1be8c0}from'ckeditor5/src/utils';import _0x4ab4c5 from'../commenteditor/commenteditor';import{getTranslation as _0x4a3b4d}from'../../../utils/common-translations';export default class Zt extends _0x5e1a07{constructor(_0x5bc356,_0x3503ec={}){super(_0x5bc356),this['editor']=null,this['_editorConfig']=_0x3503ec,this[_0x3a84('0x4')]=new _0x1be8c0(),this['focusTracker']=new _0x415261(),this['set'](_0x3a84('0x22'),_0x3503ec[_0x3a84('0x2f')]||''),this['set']('disabledSubmit',!0x1),this['set'](_0x3a84('0x15'),!0x0),this['set'](_0x3a84('0x1e'),_0x4a3b4d(_0x5bc356,_0x3a84('0x34'))),this[_0x3a84('0x2e')](_0x3a84('0x16'),_0x4a3b4d(_0x5bc356,_0x3a84('0x0'))),this[_0x3a84('0x24')]=this[_0x3a84('0x13')](),this[_0x3a84('0x28')]=this[_0x3a84('0xb')](),this[_0x3a84('0x23')]({'tag':'div','attributes':{'class':[_0x3a84('0x9')]},'children':[{'tag':'div','attributes':{'class':[_0x3a84('0x19'),this['bindTemplate']['if'](_0x3a84('0x15'),'ck-comment__input-actions--active')]},'children':[this[_0x3a84('0x24')],this[_0x3a84('0x28')]]}]}),this[_0x3a84('0x4')]['set'](_0x3a84('0x32'),(_0x40180b,_0x5550af)=>{this['cancelButtonView'][_0x3a84('0x2a')](_0x3a84('0xa')),_0x5550af();}),this['on'](_0x3a84('0x2c'),(_0x52d730,_0x451c3f)=>{_0x451c3f['length']>0xfde8?(alert(_0x4a3b4d(_0x5bc356,_0x3a84('0x1a'),[_0x451c3f[_0x3a84('0xf')],0xfde8])),_0x52d730[_0x3a84('0xe')]()):this[_0x3a84('0x36')][_0x3a84('0x21')]('');},{'priority':'high'});}[_0x3a84('0x29')](){super['render'](),this[_0x3a84('0x4')][_0x3a84('0x6')](this[_0x3a84('0x2d')]),this[_0x3a84('0x1b')][_0x3a84('0x8')](this['element']);}[_0x3a84('0x37')](){return this[_0x3a84('0x36')]||(this[_0x3a84('0x36')]=new _0x4ab4c5(this['_editorConfig']),this[_0x3a84('0x2')]=this[_0x3a84('0x36')]['create']()[_0x3a84('0x2b')](()=>{if(this[_0x3a84('0x30')])return;const _0x1811e7=this['editor'];this[_0x3a84('0x2d')]['insertBefore'](_0x1811e7['ui'][_0x3a84('0x2d')],this[_0x3a84('0x2d')][_0x3a84('0x14')]),_0x1811e7[_0x3a84('0x1')]['document']['on'](_0x3a84('0x1c'),()=>this['value']=_0x1811e7[_0x3a84('0x26')]()),_0x1811e7[_0x3a84('0x35')](_0x3a84('0x1e'))['to'](this),this[_0x3a84('0xd')](this['editor']),this['fire']('editorReady',this['editor']);})),this[_0x3a84('0x2')];}[_0x3a84('0x7')](){this[_0x3a84('0x36')]&&this[_0x3a84('0x36')][_0x3a84('0x7')]();}async['destroy'](){this[_0x3a84('0x30')]||(this['_isDestroyed']=!0x0,this[_0x3a84('0x36')]&&(await this['_editorCreationPromise'],await this[_0x3a84('0x36')][_0x3a84('0x20')](),this[_0x3a84('0x2a')](_0x3a84('0x1d'),this['editor'])),await super['destroy']());}[_0x3a84('0x13')](){const {locale:_0xa5b67e}=this,_0x45ed44=new _0x2adee4(_0xa5b67e);return _0x45ed44['extendTemplate']({'attributes':{'class':[_0x3a84('0x27')]}}),_0x45ed44['withText']=!0x0,_0x45ed44[_0x3a84('0x35')](_0x3a84('0x25'))['to'](this,_0x3a84('0x16')),_0x45ed44['on'](_0x3a84('0xa'),()=>{this['fire'](_0x3a84('0x2c'),this['value']);}),_0x45ed44[_0x3a84('0x35')](_0x3a84('0x1f'))['to'](this,'value',this,_0x3a84('0x10'),(_0x3d2a5a,_0x4665f2)=>!_0x4665f2&&!!_0x3d2a5a[_0x3a84('0x33')]()),_0x45ed44;}[_0x3a84('0xb')](){const {locale:_0x5f015b}=this,_0x298c46=new _0x2adee4(_0x5f015b);return _0x298c46[_0x3a84('0x3')]({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x298c46['label']=_0x4a3b4d(_0x5f015b,'Cancel'),_0x298c46[_0x3a84('0x18')]=!0x0,_0x298c46['on'](_0x3a84('0xa'),()=>{this['editor'][_0x3a84('0x21')](''),this[_0x3a84('0x2a')](_0x3a84('0x12'));}),_0x298c46;}[_0x3a84('0xd')](_0x3516fe){const _0x2343aa=this[_0x3a84('0x1b')],_0x472ea3=new _0x23e2f6();[_0x3516fe['ui']['view'],this[_0x3a84('0x24')],this['cancelButtonView']][_0x3a84('0x11')](_0x386854=>{_0x472ea3[_0x3a84('0x8')](_0x386854),_0x2343aa[_0x3a84('0x8')](_0x386854[_0x3a84('0x2d')]);});const _0x5103bb=new _0x4afff8({'focusables':_0x472ea3,'focusTracker':_0x2343aa});this[_0x3a84('0x4')][_0x3a84('0x2e')]('tab',(_0xcbca9a,_0x1fac43)=>{_0x5103bb[_0x3a84('0x17')](),_0x1fac43();},{'priority':_0x3a84('0x31')}),this[_0x3a84('0x4')][_0x3a84('0x2e')](_0x3a84('0xc'),(_0x28a3eb,_0x2f8444)=>{_0x5103bb[_0x3a84('0x5')](),_0x2f8444();},{'priority':_0x3a84('0x31')});}}
23
+ const _0x44d0=['editorReady','create','_createCancelButton','stop','cancel','fire','value','withText','focusPrevious','tab','element','setData','then','model','forEach','focusNext','div','length','set','Reply','initialData','editor','bindTemplate','listenTo','submit','isEnabled','createEditor','keystrokes','focusTracker','placeholder','shift\x20+\x20tab','cancelButtonView','Reply...','_editorConfig','change','label','submitButtonView','showButtons','execute','setTemplate','destroy','bind','_isDestroyed','view','firstChild','ck-comment__input-actions--cancel','ck-comment__input-actions--active','_editorCreationPromise','submitLabel','ck-comment__input-actions--submit','render','add','_initializeFocusCycling','disabledSubmit','TOO_LONG_COMMENT_ALERT','high','extendTemplate','focus','ck-comment__input-actions','editorDestroyed','getData','Cancel','Esc','_createSubmitButton','low'];(function(_0x1ad1a2,_0x44d037){const _0x17cf4c=function(_0x21a60e){while(--_0x21a60e){_0x1ad1a2['push'](_0x1ad1a2['shift']());}};_0x17cf4c(++_0x44d037);}(_0x44d0,0xd4));const _0x17cf=function(_0x1ad1a2,_0x44d037){_0x1ad1a2=_0x1ad1a2-0x0;let _0x17cf4c=_0x44d0[_0x1ad1a2];return _0x17cf4c;};import{View as _0x4ef3d9,ViewCollection as _0x313e93,FocusCycler as _0x2dead7,ButtonView as _0x48f286}from'ckeditor5/src/ui';import{FocusTracker as _0x2d82e7,KeystrokeHandler as _0x251915}from'ckeditor5/src/utils';import _0x1adbfc from'../commenteditor/commenteditor';import{getTranslation as _0x22eb1d}from'../../../utils/common-translations';export default class Zt extends _0x4ef3d9{constructor(_0x53357d,_0x4bc309={}){super(_0x53357d),this[_0x17cf('0x4')]=null,this[_0x17cf('0x10')]=_0x4bc309,this[_0x17cf('0xa')]=new _0x251915(),this[_0x17cf('0xb')]=new _0x2d82e7(),this[_0x17cf('0x1')](_0x17cf('0x36'),_0x4bc309[_0x17cf('0x3')]||''),this['set']('disabledSubmit',!0x1),this[_0x17cf('0x1')](_0x17cf('0x14'),!0x0),this[_0x17cf('0x1')](_0x17cf('0xc'),_0x22eb1d(_0x53357d,_0x17cf('0xf'))),this[_0x17cf('0x1')](_0x17cf('0x1f'),_0x22eb1d(_0x53357d,_0x17cf('0x2'))),this[_0x17cf('0x13')]=this['_createSubmitButton'](),this[_0x17cf('0xe')]=this[_0x17cf('0x32')](),this[_0x17cf('0x16')]({'tag':_0x17cf('0x40'),'attributes':{'class':['ck-comment__input-wrapper']},'children':[{'tag':_0x17cf('0x40'),'attributes':{'class':[_0x17cf('0x29'),this[_0x17cf('0x5')]['if']('showButtons',_0x17cf('0x1d'))]},'children':[this['submitButtonView'],this[_0x17cf('0xe')]]}]}),this['keystrokes'][_0x17cf('0x1')](_0x17cf('0x2d'),(_0x33917d,_0x4eb101)=>{this[_0x17cf('0xe')][_0x17cf('0x35')](_0x17cf('0x15')),_0x4eb101();}),this['on'](_0x17cf('0x7'),(_0xc15e3b,_0x50cc76)=>{_0x50cc76['length']>0xfde8?(alert(_0x22eb1d(_0x53357d,_0x17cf('0x25'),[_0x50cc76[_0x17cf('0x0')],0xfde8])),_0xc15e3b[_0x17cf('0x33')]()):this[_0x17cf('0x4')][_0x17cf('0x3b')]('');},{'priority':_0x17cf('0x26')});}[_0x17cf('0x21')](){super[_0x17cf('0x21')](),this[_0x17cf('0xa')][_0x17cf('0x6')](this[_0x17cf('0x3a')]),this['focusTracker'][_0x17cf('0x22')](this[_0x17cf('0x3a')]);}[_0x17cf('0x9')](){return this[_0x17cf('0x4')]||(this['editor']=new _0x1adbfc(this[_0x17cf('0x10')]),this[_0x17cf('0x1e')]=this[_0x17cf('0x4')][_0x17cf('0x31')]()[_0x17cf('0x3c')](()=>{if(this[_0x17cf('0x19')])return;const _0x2204fc=this[_0x17cf('0x4')];this[_0x17cf('0x3a')]['insertBefore'](_0x2204fc['ui'][_0x17cf('0x3a')],this[_0x17cf('0x3a')][_0x17cf('0x1b')]),_0x2204fc[_0x17cf('0x3d')]['document']['on'](_0x17cf('0x11'),()=>this[_0x17cf('0x36')]=_0x2204fc[_0x17cf('0x2b')]()),_0x2204fc[_0x17cf('0x18')](_0x17cf('0xc'))['to'](this),this[_0x17cf('0x23')](this[_0x17cf('0x4')]),this[_0x17cf('0x35')](_0x17cf('0x30'),this[_0x17cf('0x4')]);})),this[_0x17cf('0x1e')];}['focus'](){this[_0x17cf('0x4')]&&this[_0x17cf('0x4')][_0x17cf('0x28')]();}async[_0x17cf('0x17')](){this['_isDestroyed']||(this[_0x17cf('0x19')]=!0x0,this[_0x17cf('0x4')]&&(await this['_editorCreationPromise'],await this[_0x17cf('0x4')]['destroy'](),this[_0x17cf('0x35')](_0x17cf('0x2a'),this[_0x17cf('0x4')])),await super[_0x17cf('0x17')]());}[_0x17cf('0x2e')](){const {locale:_0x2520bd}=this,_0x334dc9=new _0x48f286(_0x2520bd);return _0x334dc9[_0x17cf('0x27')]({'attributes':{'class':[_0x17cf('0x20')]}}),_0x334dc9[_0x17cf('0x37')]=!0x0,_0x334dc9['bind']('label')['to'](this,_0x17cf('0x1f')),_0x334dc9['on'](_0x17cf('0x15'),()=>{this['fire']('submit',this['value']);}),_0x334dc9[_0x17cf('0x18')](_0x17cf('0x8'))['to'](this,_0x17cf('0x36'),this,_0x17cf('0x24'),(_0x123b63,_0x204e4b)=>!_0x204e4b&&!!_0x123b63['trim']()),_0x334dc9;}['_createCancelButton'](){const {locale:_0x3b516a}=this,_0x363bab=new _0x48f286(_0x3b516a);return _0x363bab[_0x17cf('0x27')]({'attributes':{'class':[_0x17cf('0x1c')]}}),_0x363bab[_0x17cf('0x12')]=_0x22eb1d(_0x3b516a,_0x17cf('0x2c')),_0x363bab[_0x17cf('0x37')]=!0x0,_0x363bab['on']('execute',()=>{this[_0x17cf('0x4')][_0x17cf('0x3b')](''),this[_0x17cf('0x35')](_0x17cf('0x34'));}),_0x363bab;}[_0x17cf('0x23')](_0x4a1ee8){const _0x3c13cb=this['focusTracker'],_0x4aad76=new _0x313e93();[_0x4a1ee8['ui'][_0x17cf('0x1a')],this[_0x17cf('0x13')],this[_0x17cf('0xe')]][_0x17cf('0x3e')](_0x37a780=>{_0x4aad76[_0x17cf('0x22')](_0x37a780),_0x3c13cb[_0x17cf('0x22')](_0x37a780[_0x17cf('0x3a')]);});const _0x29dbe8=new _0x2dead7({'focusables':_0x4aad76,'focusTracker':_0x3c13cb});this[_0x17cf('0xa')][_0x17cf('0x1')](_0x17cf('0x39'),(_0x5f1c57,_0x1ea58a)=>{_0x29dbe8[_0x17cf('0x3f')](),_0x1ea58a();},{'priority':_0x17cf('0x2f')}),this[_0x17cf('0xa')][_0x17cf('0x1')](_0x17cf('0xd'),(_0x4619f7,_0x4120ad)=>{_0x29dbe8[_0x17cf('0x38')](),_0x4120ad();},{'priority':_0x17cf('0x2f')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1cbc=['_focusTracker','bindTemplate','isActive','shift\x20+\x20tab','ck-comments-archive','_focusables','selectstart','div','high','EMPTY_COMMENTS_ARCHIVE','focus','remove','destroy','set','listenTo','element','ck-comments-archive__header\x20','add','length','COMMENTS_ARCHIVE','ck-comments-archive__content','isEmpty','ck-comments-archive__info','_keystrokes','stopPropagation','render','arrowleft','arrowdown'];(function(_0xbd2ad1,_0x1cbc49){const _0x4e87e0=function(_0x5686dd){while(--_0x5686dd){_0xbd2ad1['push'](_0xbd2ad1['shift']());}};_0x4e87e0(++_0x1cbc49);}(_0x1cbc,0x95));const _0x4e87=function(_0xbd2ad1,_0x1cbc49){_0xbd2ad1=_0xbd2ad1-0x0;let _0x4e87e0=_0x1cbc[_0xbd2ad1];return _0x4e87e0;};import{View as _0x42f557,FocusCycler as _0x4ac392}from'ckeditor5/src/ui';import{FocusTracker as _0x1230e9,KeystrokeHandler as _0x486e04}from'ckeditor5/src/utils';import{getTranslation as _0x185b08}from'../../../utils/common-translations';export default class K extends _0x42f557{constructor(_0x3b58a1,_0x2ce9eb){super(_0x3b58a1),this[_0x4e87('0x4')](_0x4e87('0xc'),!_0x2ce9eb[_0x4e87('0x9')]),this[_0x4e87('0x13')]=new _0x1230e9(),this[_0x4e87('0xe')]=new _0x486e04(),this[_0x4e87('0x18')]=_0x2ce9eb,this['_focusCycler']=new _0x4ac392({'focusables':this[_0x4e87('0x18')],'focusTracker':this[_0x4e87('0x13')],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':_0x4e87('0x16'),'focusNext':'tab'}}),this[_0x4e87('0x5')](_0x2ce9eb,_0x4e87('0x8'),()=>{this[_0x4e87('0xc')]=!0x1;}),this['listenTo'](_0x2ce9eb,_0x4e87('0x2'),(_0x3ab8c5,_0x4904c4)=>{_0x4904c4[_0x4e87('0x15')]&&this[_0x4e87('0x1')](),_0x2ce9eb[_0x4e87('0x9')]||(this[_0x4e87('0xc')]=!0x0);});const _0x5a90f6=this[_0x4e87('0x14')];this['setTemplate']({'tag':_0x4e87('0x1a'),'attributes':{'dir':'auto','class':['ck',_0x4e87('0x17')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x4e87('0x7')]},'children':[{'text':_0x185b08(_0x3b58a1,_0x4e87('0xa'))}]},{'tag':'div','attributes':{'class':[_0x4e87('0xb')]},'children':[{'tag':'div','children':_0x2ce9eb},{'tag':'p','attributes':{'class':[_0x4e87('0xd'),_0x5a90f6['if'](_0x4e87('0xc'),'ck-hidden',_0x477cc1=>!_0x477cc1)]},'children':[{'text':_0x185b08(_0x3b58a1,_0x4e87('0x0'))}]}]}]});}['render'](){super[_0x4e87('0x10')](),this[_0x4e87('0xe')]['listenTo'](this['element']);const _0x180569=_0x2d7fa9=>_0x2d7fa9[_0x4e87('0xf')]();this[_0x4e87('0xe')][_0x4e87('0x4')]('arrowright',_0x180569),this[_0x4e87('0xe')]['set'](_0x4e87('0x11'),_0x180569),this['_keystrokes'][_0x4e87('0x4')]('arrowup',_0x180569),this[_0x4e87('0xe')][_0x4e87('0x4')](_0x4e87('0x12'),_0x180569),this[_0x4e87('0x5')](this[_0x4e87('0x6')],_0x4e87('0x19'),(_0x298c35,_0x491847)=>{_0x491847['stopPropagation']();},{'priority':_0x4e87('0x1b')});}[_0x4e87('0x3')](){super[_0x4e87('0x3')](),this['_focusTracker'][_0x4e87('0x3')](),this['_keystrokes'][_0x4e87('0x3')]();}[_0x4e87('0x1')](){this[_0x4e87('0x6')][_0x4e87('0x1')]();}}
23
+ const _0x2e63=['remove','setTemplate','high','listenTo','render','set','ck-comments-archive__header\x20','add','bindTemplate','element','isEmpty','isActive','COMMENTS_ARCHIVE','arrowleft','auto','ck-comments-archive','_focusables','tab','arrowdown','EMPTY_COMMENTS_ARCHIVE','_focusTracker','length','ck-comments-archive__content','div','destroy','_focusCycler','stopPropagation','focus','ck-hidden','ck-comments-archive__info','_keystrokes'];(function(_0x3f3caf,_0x2e6340){const _0x4f7132=function(_0x594299){while(--_0x594299){_0x3f3caf['push'](_0x3f3caf['shift']());}};_0x4f7132(++_0x2e6340);}(_0x2e63,0x16d));const _0x4f71=function(_0x3f3caf,_0x2e6340){_0x3f3caf=_0x3f3caf-0x0;let _0x4f7132=_0x2e63[_0x3f3caf];return _0x4f7132;};import{View as _0x43c86c,FocusCycler as _0xb5cdb7}from'ckeditor5/src/ui';import{FocusTracker as _0x2ac4ae,KeystrokeHandler as _0x4bb018}from'ckeditor5/src/utils';import{getTranslation as _0x42f5cc}from'../../../utils/common-translations';export default class K extends _0x43c86c{constructor(_0x4e7f41,_0x5271a7){super(_0x4e7f41),this[_0x4f71('0xc')](_0x4f71('0x11'),!_0x5271a7[_0x4f71('0x1c')]),this[_0x4f71('0x1b')]=new _0x2ac4ae(),this['_keystrokes']=new _0x4bb018(),this[_0x4f71('0x17')]=_0x5271a7,this[_0x4f71('0x1')]=new _0xb5cdb7({'focusables':this[_0x4f71('0x17')],'focusTracker':this[_0x4f71('0x1b')],'keystrokeHandler':this[_0x4f71('0x6')],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':_0x4f71('0x18')}}),this['listenTo'](_0x5271a7,_0x4f71('0xe'),()=>{this[_0x4f71('0x11')]=!0x1;}),this[_0x4f71('0xa')](_0x5271a7,_0x4f71('0x7'),(_0x3b4398,_0x39bcb3)=>{_0x39bcb3[_0x4f71('0x12')]&&this[_0x4f71('0x3')](),_0x5271a7[_0x4f71('0x1c')]||(this['isEmpty']=!0x0);});const _0x456b65=this[_0x4f71('0xf')];this[_0x4f71('0x8')]({'tag':_0x4f71('0x1e'),'attributes':{'dir':_0x4f71('0x15'),'class':['ck',_0x4f71('0x16')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x4f71('0xd')]},'children':[{'text':_0x42f5cc(_0x4e7f41,_0x4f71('0x13'))}]},{'tag':_0x4f71('0x1e'),'attributes':{'class':[_0x4f71('0x1d')]},'children':[{'tag':_0x4f71('0x1e'),'children':_0x5271a7},{'tag':'p','attributes':{'class':[_0x4f71('0x5'),_0x456b65['if'](_0x4f71('0x11'),_0x4f71('0x4'),_0x9dad61=>!_0x9dad61)]},'children':[{'text':_0x42f5cc(_0x4e7f41,_0x4f71('0x1a'))}]}]}]});}[_0x4f71('0xb')](){super[_0x4f71('0xb')](),this[_0x4f71('0x6')][_0x4f71('0xa')](this[_0x4f71('0x10')]);const _0x45a272=_0xc44632=>_0xc44632[_0x4f71('0x2')]();this[_0x4f71('0x6')][_0x4f71('0xc')]('arrowright',_0x45a272),this[_0x4f71('0x6')][_0x4f71('0xc')](_0x4f71('0x14'),_0x45a272),this[_0x4f71('0x6')][_0x4f71('0xc')]('arrowup',_0x45a272),this[_0x4f71('0x6')][_0x4f71('0xc')](_0x4f71('0x19'),_0x45a272),this['listenTo'](this[_0x4f71('0x10')],'selectstart',(_0x20d154,_0x1c85f9)=>{_0x1c85f9[_0x4f71('0x2')]();},{'priority':_0x4f71('0x9')});}[_0x4f71('0x0')](){super[_0x4f71('0x0')](),this[_0x4f71('0x1b')]['destroy'](),this[_0x4f71('0x6')]['destroy']();}[_0x4f71('0x3')](){this[_0x4f71('0x10')]['focus']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59c6=['setTemplate','change:isEditMode','comments','from','collapse','remove','refreshVisibleViews','isEditMode','commentUpdated','render','_shouldCollapse','_handleInfoComment','isActive','authoredAt','locale','resolvedAt','bind','maxCommentCharsWhenCollapsed','expand','length','_rearrangeExpand','count','delegate','some','hasDirtyComment','weight','formatDateTime','_findOptimalIndex','updateComment','resolvedCommentView','_updateHasDirtyComment','_handleNewCommentModel','_model','add','_collapsedCommentsView','editorReady','equal','_config','viewUid','destroy','editorDestroyed','get','listenTo','set','editorConfig','focus','visibleViews','resolvedBy','Marked\x20as\x20resolved','commentViews','change:isResolved','change:hasDirtyComment','_calculatePosition','change:isActive','_handleRemoveCommentModel','CommentView','removeComment','_rearrangeCollapse','maxCommentsWhenCollapsed','createCollection'];(function(_0x31873f,_0x59c63c){const _0x340ea5=function(_0x193295){while(--_0x193295){_0x31873f['push'](_0x31873f['shift']());}};_0x340ea5(++_0x59c63c);}(_0x59c6,0x134));const _0x340e=function(_0x31873f,_0x59c63c){_0x31873f=_0x31873f-0x0;let _0x340ea5=_0x59c6[_0x31873f];return _0x340ea5;};import{View as _0x5e2e2d}from'ckeditor5/src/ui';import{diff as _0x34ba53,Collection as _0xa1ccc4}from'ckeditor5/src/utils';import{getTranslation as _0x637aab}from'../../../utils/common-translations';import _0x304bc6 from'./collapsedcommentsview';export default class Ct extends _0x5e2e2d{constructor(_0x25eda1,_0x3a7b43,_0x22df21){super(_0x25eda1),this[_0x340e('0x23')]('hasDirtyComment',!0x1),this[_0x340e('0x23')]('length',_0x3a7b43[_0x340e('0x36')][_0x340e('0xb')]),this[_0x340e('0x23')](_0x340e('0x4'),!0x1),this[_0x340e('0x18')]=_0x3a7b43,this[_0x340e('0x1d')]=_0x22df21,this[_0x340e('0x29')]=this[_0x340e('0x33')](),this['visibleViews']=this[_0x340e('0x33')](),this[_0x340e('0x15')]=null,this[_0x340e('0x1a')]=new _0x304bc6(_0x25eda1),this[_0x340e('0x1a')][_0x340e('0x8')](_0x340e('0xd'))['to'](this,_0x340e('0xb'),_0x161395=>_0x161395-this['_config'][_0x340e('0x32')]);for(const _0x3874db of _0x3a7b43[_0x340e('0x36')])this[_0x340e('0x17')](_0x3874db);this[_0x340e('0x3')](),this[_0x340e('0x22')](_0x3a7b43[_0x340e('0x36')],_0x340e('0x19'),(_0x557993,_0x3c4e35)=>{const _0x46f01c=this[_0x340e('0x2c')](_0x3c4e35);this[_0x340e('0xb')]++,this[_0x340e('0x17')](_0x3c4e35,_0x46f01c),this['refreshVisibleViews']();}),this[_0x340e('0x22')](_0x3a7b43[_0x340e('0x36')],_0x340e('0x39'),(_0x1fbe34,_0x85d13e)=>{this[_0x340e('0xb')]--,this[_0x340e('0x2e')](_0x85d13e),this['refreshVisibleViews']();}),this[_0x340e('0x22')](_0x3a7b43,_0x340e('0x0'),()=>this[_0x340e('0x3a')]()),this[_0x340e('0x22')](_0x3a7b43,_0x340e('0x2a'),()=>this[_0x340e('0x3')]()),this['on'](_0x340e('0x2d'),()=>this[_0x340e('0x3a')]()),this['on'](_0x340e('0x2b'),()=>this['refreshVisibleViews']()),this[_0x340e('0x34')]({'tag':'ul','attributes':{'class':['ck-thread__comments']},'children':this[_0x340e('0x26')]});}get[_0x340e('0x2')](){return this[_0x340e('0x18')][_0x340e('0x11')]>this[_0x340e('0x1d')]['maxThreadTotalWeight']&&!this[_0x340e('0x4')]&&!this['hasDirtyComment'];}[_0x340e('0x1')](){super['render'](),this[_0x340e('0x3a')]();}[_0x340e('0x25')](){this['element'][_0x340e('0x25')]();}[_0x340e('0x1f')](){this[_0x340e('0x1a')]['destroy']();for(const _0x1fba1c of this['commentViews'])_0x1fba1c[_0x340e('0x1f')]();super['destroy']();}[_0x340e('0x3a')](){this[_0x340e('0x2')]?this[_0x340e('0x31')]():this[_0x340e('0xc')]();}[_0x340e('0x17')](_0x580e92,_0x4f34a0){const _0x48af0a=new this[(_0x340e('0x1d'))][(_0x340e('0x2f'))](this['locale'],_0x580e92,{'maxCommentCharsWhenCollapsed':this[_0x340e('0x1d')][_0x340e('0x9')],'formatDateTime':this[_0x340e('0x1d')][_0x340e('0x12')],'editorConfig':this[_0x340e('0x1d')][_0x340e('0x24')]});_0x48af0a[_0x340e('0x1e')]=_0x580e92['id'],_0x48af0a[_0x340e('0xe')](_0x340e('0x30'))['to'](this),_0x48af0a[_0x340e('0xe')](_0x340e('0x14'))['to'](this),_0x48af0a[_0x340e('0xe')]('resolveCommentThread')['to'](this),_0x48af0a[_0x340e('0xe')](_0x340e('0x1b'))['to'](this),_0x48af0a[_0x340e('0xe')](_0x340e('0x20'))['to'](this),this[_0x340e('0x22')](_0x48af0a,_0x340e('0x35'),()=>this[_0x340e('0x16')]()),this[_0x340e('0x29')][_0x340e('0x19')](_0x48af0a,_0x4f34a0);}['_calculatePosition'](_0x524aac){const _0x4e731a=this[_0x340e('0x18')][_0x340e('0x13')](_0x524aac);return this['resolvedCommentView']?this[_0x340e('0x15')][_0x340e('0x5')]>_0x524aac['authoredAt']?_0x4e731a-0x1:_0x4e731a:_0x4e731a-0x1;}[_0x340e('0x3')](){if(this[_0x340e('0x18')][_0x340e('0x27')]&&this[_0x340e('0x18')][_0x340e('0x7')]){const _0x3d00d3={'id':'resolved','author':this[_0x340e('0x18')][_0x340e('0x27')],'authoredAt':this[_0x340e('0x18')][_0x340e('0x7')],'content':_0x637aab(this[_0x340e('0x6')],_0x340e('0x28')),'attributes':{}};this[_0x340e('0x15')]=new this[(_0x340e('0x1d'))][(_0x340e('0x2f'))](this[_0x340e('0x6')],_0x3d00d3,{'maxCommentCharsWhenCollapsed':this[_0x340e('0x1d')]['maxCommentCharsWhenCollapsed'],'formatDateTime':this[_0x340e('0x1d')][_0x340e('0x12')],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this[_0x340e('0x29')][_0x340e('0x19')](this[_0x340e('0x15')],this[_0x340e('0x18')][_0x340e('0x13')](_0x3d00d3));}else this['resolvedCommentView']&&(this[_0x340e('0x29')][_0x340e('0x39')](this[_0x340e('0x15')]),this[_0x340e('0x15')]['destroy'](),this[_0x340e('0x15')]=null);this[_0x340e('0x3a')]();}[_0x340e('0x2e')](_0x2e3ec8){const _0x113245=this[_0x340e('0x29')]['remove'](_0x2e3ec8['id']);this['stopListening'](_0x113245),_0x113245[_0x340e('0x3b')]&&this[_0x340e('0x16')](),_0x113245[_0x340e('0x1f')]();}['_updateHasDirtyComment'](){this[_0x340e('0x10')]=Array['from'](this[_0x340e('0x29')])[_0x340e('0xf')](_0x11a66a=>_0x11a66a[_0x340e('0x3b')]);}[_0x340e('0x31')](){const _0x3f6a95=function(_0x40f639){const _0x126e3c=new _0xa1ccc4();for(const _0x2e9c85 of _0x40f639)_0x126e3c['add'](_0x2e9c85);return _0x126e3c;}(this[_0x340e('0x29')]),_0x2176cd=this['_collapsedCommentsView']['count'];for(let _0x133307=0x1;_0x133307<=_0x2176cd;_0x133307++)_0x3f6a95['remove'](0x1);for(const _0x55be55 of _0x3f6a95)_0x55be55[_0x340e('0x38')]();_0x2176cd>0x0&&_0x3f6a95['add'](this[_0x340e('0x1a')],0x1),ss(_0x34ba53(Array[_0x340e('0x37')](this[_0x340e('0x26')]),Array[_0x340e('0x37')](_0x3f6a95)),this[_0x340e('0x26')],_0x3f6a95);}[_0x340e('0xc')](){ss(_0x34ba53(Array[_0x340e('0x37')](this['visibleViews']),Array['from'](this[_0x340e('0x29')])),this[_0x340e('0x26')],this[_0x340e('0x29')]);for(const _0x4d9aa5 of this[_0x340e('0x26')])_0x4d9aa5[_0x340e('0xa')]();}}function ss(_0x1fb829,_0x287d89,_0x153b84){let _0x12aba6=0x0;for(const _0x150cdb of _0x1fb829)switch(_0x150cdb){case'insert':_0x287d89[_0x340e('0x19')](_0x153b84[_0x340e('0x21')](_0x12aba6),_0x12aba6),_0x12aba6++;break;case'delete':_0x287d89['remove'](_0x12aba6);break;case _0x340e('0x1c'):_0x12aba6++;}}
23
+ const _0x307f=['resolvedCommentView','authoredAt','Marked\x20as\x20resolved','_rearrangeExpand','_model','get','editorDestroyed','some','_findOptimalIndex','maxCommentCharsWhenCollapsed','isActive','listenTo','CommentView','equal','hasDirtyComment','createCollection','remove','_collapsedCommentsView','weight','resolvedBy','_config','_rearrangeCollapse','bind','resolvedAt','editorReady','editorConfig','removeComment','element','_handleNewCommentModel','_handleInfoComment','commentViews','resolveCommentThread','comments','delegate','change:isEditMode','locale','_updateHasDirtyComment','updateComment','set','viewUid','_shouldCollapse','formatDateTime','refreshVisibleViews','delete','expand','maxThreadTotalWeight','isEditMode','collapse','resolved','visibleViews','_calculatePosition','destroy','insert','length','focus','_handleRemoveCommentModel','from','render','add','change:isResolved'];(function(_0x40ec27,_0x307fa8){const _0x375237=function(_0x55e34b){while(--_0x55e34b){_0x40ec27['push'](_0x40ec27['shift']());}};_0x375237(++_0x307fa8);}(_0x307f,0x174));const _0x3752=function(_0x40ec27,_0x307fa8){_0x40ec27=_0x40ec27-0x0;let _0x375237=_0x307f[_0x40ec27];return _0x375237;};import{View as _0xfa4494}from'ckeditor5/src/ui';import{diff as _0x5c5a25,Collection as _0x11bba3}from'ckeditor5/src/utils';import{getTranslation as _0x100eaa}from'../../../utils/common-translations';import _0x51f265 from'./collapsedcommentsview';export default class Ct extends _0xfa4494{constructor(_0x3bbcde,_0x26cef4,_0x2a9ac7){super(_0x3bbcde),this['set'](_0x3752('0x2'),!0x1),this[_0x3752('0x1a')](_0x3752('0x29'),_0x26cef4[_0x3752('0x14')]['length']),this[_0x3752('0x1a')]('isActive',!0x1),this[_0x3752('0x34')]=_0x26cef4,this[_0x3752('0x8')]=_0x2a9ac7,this[_0x3752('0x12')]=this[_0x3752('0x3')](),this['visibleViews']=this['createCollection'](),this[_0x3752('0x30')]=null,this[_0x3752('0x5')]=new _0x51f265(_0x3bbcde),this['_collapsedCommentsView'][_0x3752('0xa')]('count')['to'](this,_0x3752('0x29'),_0x4d687a=>_0x4d687a-this[_0x3752('0x8')]['maxCommentsWhenCollapsed']);for(const _0x378169 of _0x26cef4[_0x3752('0x14')])this[_0x3752('0x10')](_0x378169);this[_0x3752('0x11')](),this[_0x3752('0x3b')](_0x26cef4[_0x3752('0x14')],'add',(_0xba006,_0x1f5ca0)=>{const _0x34a1f9=this[_0x3752('0x26')](_0x1f5ca0);this[_0x3752('0x29')]++,this['_handleNewCommentModel'](_0x1f5ca0,_0x34a1f9),this[_0x3752('0x1e')]();}),this[_0x3752('0x3b')](_0x26cef4[_0x3752('0x14')],'remove',(_0x26b8e0,_0x3917b7)=>{this[_0x3752('0x29')]--,this[_0x3752('0x2b')](_0x3917b7),this[_0x3752('0x1e')]();}),this[_0x3752('0x3b')](_0x26cef4,'commentUpdated',()=>this[_0x3752('0x1e')]()),this[_0x3752('0x3b')](_0x26cef4,_0x3752('0x2f'),()=>this['_handleInfoComment']()),this['on']('change:isActive',()=>this[_0x3752('0x1e')]()),this['on']('change:hasDirtyComment',()=>this[_0x3752('0x1e')]()),this['setTemplate']({'tag':'ul','attributes':{'class':['ck-thread__comments']},'children':this[_0x3752('0x25')]});}get[_0x3752('0x1c')](){return this['_model'][_0x3752('0x6')]>this[_0x3752('0x8')][_0x3752('0x21')]&&!this[_0x3752('0x3a')]&&!this[_0x3752('0x2')];}[_0x3752('0x2d')](){super['render'](),this[_0x3752('0x1e')]();}[_0x3752('0x2a')](){this[_0x3752('0xf')][_0x3752('0x2a')]();}[_0x3752('0x27')](){this[_0x3752('0x5')][_0x3752('0x27')]();for(const _0x213a1f of this[_0x3752('0x12')])_0x213a1f[_0x3752('0x27')]();super[_0x3752('0x27')]();}[_0x3752('0x1e')](){this[_0x3752('0x1c')]?this['_rearrangeCollapse']():this[_0x3752('0x33')]();}['_handleNewCommentModel'](_0x910b3f,_0x4f8d8c){const _0x5fd9d5=new this[(_0x3752('0x8'))][(_0x3752('0x0'))](this[_0x3752('0x17')],_0x910b3f,{'maxCommentCharsWhenCollapsed':this[_0x3752('0x8')][_0x3752('0x39')],'formatDateTime':this[_0x3752('0x8')][_0x3752('0x1d')],'editorConfig':this['_config']['editorConfig']});_0x5fd9d5[_0x3752('0x1b')]=_0x910b3f['id'],_0x5fd9d5['delegate'](_0x3752('0xe'))['to'](this),_0x5fd9d5[_0x3752('0x15')](_0x3752('0x19'))['to'](this),_0x5fd9d5[_0x3752('0x15')](_0x3752('0x13'))['to'](this),_0x5fd9d5[_0x3752('0x15')](_0x3752('0xc'))['to'](this),_0x5fd9d5['delegate'](_0x3752('0x36'))['to'](this),this['listenTo'](_0x5fd9d5,_0x3752('0x16'),()=>this[_0x3752('0x18')]()),this[_0x3752('0x12')][_0x3752('0x2e')](_0x5fd9d5,_0x4f8d8c);}[_0x3752('0x26')](_0x5e692e){const _0x306964=this['_model'][_0x3752('0x38')](_0x5e692e);return this['resolvedCommentView']?this[_0x3752('0x30')][_0x3752('0x31')]>_0x5e692e['authoredAt']?_0x306964-0x1:_0x306964:_0x306964-0x1;}['_handleInfoComment'](){if(this[_0x3752('0x34')][_0x3752('0x7')]&&this[_0x3752('0x34')]['resolvedAt']){const _0x40e711={'id':_0x3752('0x24'),'author':this[_0x3752('0x34')][_0x3752('0x7')],'authoredAt':this['_model'][_0x3752('0xb')],'content':_0x100eaa(this[_0x3752('0x17')],_0x3752('0x32')),'attributes':{}};this[_0x3752('0x30')]=new this[(_0x3752('0x8'))][(_0x3752('0x0'))](this[_0x3752('0x17')],_0x40e711,{'maxCommentCharsWhenCollapsed':this[_0x3752('0x8')][_0x3752('0x39')],'formatDateTime':this[_0x3752('0x8')][_0x3752('0x1d')],'editorConfig':this[_0x3752('0x8')][_0x3752('0xd')],'isSystemComment':!0x0}),this[_0x3752('0x12')][_0x3752('0x2e')](this['resolvedCommentView'],this[_0x3752('0x34')][_0x3752('0x38')](_0x40e711));}else this[_0x3752('0x30')]&&(this[_0x3752('0x12')][_0x3752('0x4')](this[_0x3752('0x30')]),this[_0x3752('0x30')][_0x3752('0x27')](),this[_0x3752('0x30')]=null);this[_0x3752('0x1e')]();}['_handleRemoveCommentModel'](_0x341a8f){const _0x2185a8=this[_0x3752('0x12')]['remove'](_0x341a8f['id']);this['stopListening'](_0x2185a8),_0x2185a8['isEditMode']&&this[_0x3752('0x18')](),_0x2185a8['destroy']();}[_0x3752('0x18')](){this[_0x3752('0x2')]=Array[_0x3752('0x2c')](this[_0x3752('0x12')])[_0x3752('0x37')](_0x484f3b=>_0x484f3b[_0x3752('0x22')]);}[_0x3752('0x9')](){const _0x28b2a5=function(_0x2a3bea){const _0x4dbc0e=new _0x11bba3();for(const _0x444cfe of _0x2a3bea)_0x4dbc0e[_0x3752('0x2e')](_0x444cfe);return _0x4dbc0e;}(this[_0x3752('0x12')]),_0x54e68d=this[_0x3752('0x5')]['count'];for(let _0x41f490=0x1;_0x41f490<=_0x54e68d;_0x41f490++)_0x28b2a5[_0x3752('0x4')](0x1);for(const _0x40d358 of _0x28b2a5)_0x40d358[_0x3752('0x23')]();_0x54e68d>0x0&&_0x28b2a5[_0x3752('0x2e')](this[_0x3752('0x5')],0x1),ss(_0x5c5a25(Array[_0x3752('0x2c')](this[_0x3752('0x25')]),Array['from'](_0x28b2a5)),this[_0x3752('0x25')],_0x28b2a5);}[_0x3752('0x33')](){ss(_0x5c5a25(Array['from'](this['visibleViews']),Array[_0x3752('0x2c')](this[_0x3752('0x12')])),this[_0x3752('0x25')],this[_0x3752('0x12')]);for(const _0x535fdc of this[_0x3752('0x25')])_0x535fdc[_0x3752('0x20')]();}}function ss(_0x4a0468,_0x333bd3,_0x370c2c){let _0x277a9a=0x0;for(const _0x49fa09 of _0x4a0468)switch(_0x49fa09){case _0x3752('0x28'):_0x333bd3[_0x3752('0x2e')](_0x370c2c[_0x3752('0x35')](_0x277a9a),_0x277a9a),_0x277a9a++;break;case _0x3752('0x1f'):_0x333bd3[_0x3752('0x4')](_0x277a9a);break;case _0x3752('0x1'):_0x277a9a++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x664d=['icon','_trimContextValue','...','remove','substring','scrollWidth','mouseenter','ck-context--quotes','render','contextValue','add','hasContext','reopenCommentThread','lastIndexOf','ck-context__value','div','bind','fire','length','.ck-context__value','span','label','Comment\x20was\x20made\x20on\x20an\x20element','isReadOnly','Reopen','ck-thread__header','context','locale','_createReopenButton','bindTemplate','isVisible','isResolvable','reopenButtonView','querySelector','listenTo','ck-context','_attachContextActions','_model','setTemplate','value','overlay','isResolved'];(function(_0x5c27c3,_0x664dd9){const _0x1104b2=function(_0x56b5f9){while(--_0x56b5f9){_0x5c27c3['push'](_0x5c27c3['shift']());}};_0x1104b2(++_0x664dd9);}(_0x664d,0x1e7));const _0x1104=function(_0x5c27c3,_0x664dd9){_0x5c27c3=_0x5c27c3-0x0;let _0x1104b2=_0x664d[_0x5c27c3];return _0x1104b2;};import{View as _0x120636,ButtonView as _0x5ec2c0}from'ckeditor5/src/ui';import{getTranslation as _0x90bacd}from'../../../utils/common-translations';import _0x4a8ed5 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x120636{constructor(_0x34fa81,_0x5e9ab1){super(_0x34fa81);const _0x5c33c6=this[_0x1104('0x4')];this[_0x1104('0xc')]=_0x5e9ab1,this[_0x1104('0x7')]=this[_0x1104('0x3')](),this['bind']('hasContext')['to'](this[_0x1104('0xc')],_0x1104('0x1'),_0x560fc7=>!!_0x560fc7),this[_0x1104('0x21')](_0x1104('0x1a'))['to'](this[_0x1104('0xc')],_0x1104('0x1'),_0x1b0c78=>_0x1b0c78&&_0x1b0c78[_0x1104('0xe')]?this[_0x1104('0x12')](_0x1b0c78['value']):_0x90bacd(this[_0x1104('0x2')],_0x1104('0x27'))),this[_0x1104('0xd')]({'tag':_0x1104('0x20'),'attributes':{'class':[_0x1104('0x0')]},'children':[{'tag':_0x1104('0x20'),'attributes':{'class':['ck-context-wrapper']},'children':[{'tag':'div','attributes':{'class':[_0x1104('0xa'),_0x5c33c6['if'](_0x1104('0x1c'),_0x1104('0x18'))]},'children':[{'tag':_0x1104('0x25'),'attributes':{'class':[_0x1104('0x1f')]},'children':[{'text':_0x5c33c6['to'](_0x1104('0x1a'))}]}]}]},{'tag':_0x1104('0x20'),'attributes':{'class':['ck-annotation__actions']},'children':[this[_0x1104('0x7')]]}]});}[_0x1104('0x19')](){super[_0x1104('0x19')](),this[_0x1104('0xb')]();}[_0x1104('0x3')](){const _0x38a7d2=new _0x5ec2c0(this['locale']);return _0x38a7d2[_0x1104('0x26')]=_0x90bacd(this['locale'],_0x1104('0x29')),_0x38a7d2['tooltip']=_0x90bacd(this[_0x1104('0x2')],_0x1104('0x29')),_0x38a7d2[_0x1104('0x11')]=_0x4a8ed5,_0x38a7d2[_0x1104('0x21')]('isEnabled')['to'](this['_model'],_0x1104('0x28'),_0x35eeb9=>!_0x35eeb9),_0x38a7d2[_0x1104('0x21')](_0x1104('0x5'))['to'](this[_0x1104('0xc')],_0x1104('0x6'),this['_model'],_0x1104('0x10'),(_0x3f79a4,_0x5337b1)=>_0x3f79a4&&_0x5337b1),_0x38a7d2['on']('execute',()=>{this[_0x1104('0x22')](_0x1104('0x1d'),this['_model']['id']);}),_0x38a7d2;}[_0x1104('0x12')](_0x4a33e3){if(_0x4a33e3[_0x1104('0x23')]<0x96)return _0x4a33e3;const _0x1b38e4=_0x4a33e3[_0x1104('0x1e')]('\x20',0x93);return _0x4a33e3[_0x1104('0x15')](0x0,_0x1b38e4>-0x1?_0x1b38e4:0x93)+_0x1104('0x13');}[_0x1104('0xb')](){const _0x581d7c=this['element'][_0x1104('0x8')]('.ck-context'),_0x4ba273=_0x581d7c['querySelector'](_0x1104('0x24'));this['listenTo'](_0x581d7c,_0x1104('0x17'),()=>{_0x4ba273['offsetWidth']<_0x4ba273[_0x1104('0x16')]&&_0x581d7c['classList'][_0x1104('0x1b')](_0x1104('0xf'));}),this[_0x1104('0x9')](_0x581d7c,'mouseleave',()=>{_0x581d7c['classList'][_0x1104('0x14')]('overlay');});}}
23
+ const _0x38af=['Comment\x20was\x20made\x20on\x20an\x20element','isResolvable','tooltip','Reopen','locale','.ck-context','listenTo','add','.ck-context__value','render','ck-context-wrapper','_createReopenButton','hasContext','offsetWidth','_attachContextActions','classList','mouseenter','_trimContextValue','bind','reopenCommentThread','icon','querySelector','isResolved','_model','execute','ck-context__value','setTemplate','reopenButtonView','label','...','scrollWidth','fire','div','lastIndexOf','isReadOnly','isEnabled','value','ck-context','ck-thread__header','context','mouseleave','remove','span','overlay','contextValue'];(function(_0x1581f3,_0x38af64){const _0x3fb034=function(_0xc2507){while(--_0xc2507){_0x1581f3['push'](_0x1581f3['shift']());}};_0x3fb034(++_0x38af64);}(_0x38af,0x69));const _0x3fb0=function(_0x1581f3,_0x38af64){_0x1581f3=_0x1581f3-0x0;let _0x3fb034=_0x38af[_0x1581f3];return _0x3fb034;};import{View as _0x571c2b,ButtonView as _0x1618dd}from'ckeditor5/src/ui';import{getTranslation as _0x224545}from'../../../utils/common-translations';import _0x5dfe4c from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Tt extends _0x571c2b{constructor(_0x5c7867,_0x48873b){super(_0x5c7867);const _0x24a940=this['bindTemplate'];this['_model']=_0x48873b,this[_0x3fb0('0xc')]=this['_createReopenButton'](),this[_0x3fb0('0x3')](_0x3fb0('0x2a'))['to'](this[_0x3fb0('0x8')],_0x3fb0('0x18'),_0x3f57cb=>!!_0x3f57cb),this[_0x3fb0('0x3')]('contextValue')['to'](this[_0x3fb0('0x8')],'context',_0x5c944e=>_0x5c944e&&_0x5c944e['value']?this['_trimContextValue'](_0x5c944e[_0x3fb0('0x15')]):_0x224545(this['locale'],_0x3fb0('0x1e'))),this[_0x3fb0('0xb')]({'tag':_0x3fb0('0x11'),'attributes':{'class':[_0x3fb0('0x17')]},'children':[{'tag':_0x3fb0('0x11'),'attributes':{'class':[_0x3fb0('0x28')]},'children':[{'tag':_0x3fb0('0x11'),'attributes':{'class':[_0x3fb0('0x16'),_0x24a940['if'](_0x3fb0('0x2a'),'ck-context--quotes')]},'children':[{'tag':_0x3fb0('0x1b'),'attributes':{'class':[_0x3fb0('0xa')]},'children':[{'text':_0x24a940['to'](_0x3fb0('0x1d'))}]}]}]},{'tag':_0x3fb0('0x11'),'attributes':{'class':['ck-annotation__actions']},'children':[this[_0x3fb0('0xc')]]}]});}['render'](){super[_0x3fb0('0x27')](),this[_0x3fb0('0x2c')]();}[_0x3fb0('0x29')](){const _0x2defbb=new _0x1618dd(this[_0x3fb0('0x22')]);return _0x2defbb[_0x3fb0('0xd')]=_0x224545(this[_0x3fb0('0x22')],_0x3fb0('0x21')),_0x2defbb[_0x3fb0('0x20')]=_0x224545(this[_0x3fb0('0x22')],'Reopen'),_0x2defbb[_0x3fb0('0x5')]=_0x5dfe4c,_0x2defbb[_0x3fb0('0x3')](_0x3fb0('0x14'))['to'](this[_0x3fb0('0x8')],_0x3fb0('0x13'),_0x61c6de=>!_0x61c6de),_0x2defbb[_0x3fb0('0x3')]('isVisible')['to'](this[_0x3fb0('0x8')],_0x3fb0('0x1f'),this[_0x3fb0('0x8')],_0x3fb0('0x7'),(_0xc512a8,_0x139e0d)=>_0xc512a8&&_0x139e0d),_0x2defbb['on'](_0x3fb0('0x9'),()=>{this[_0x3fb0('0x10')](_0x3fb0('0x4'),this['_model']['id']);}),_0x2defbb;}[_0x3fb0('0x2')](_0x251ef4){if(_0x251ef4['length']<0x96)return _0x251ef4;const _0x11a818=_0x251ef4[_0x3fb0('0x12')]('\x20',0x93);return _0x251ef4['substring'](0x0,_0x11a818>-0x1?_0x11a818:0x93)+_0x3fb0('0xe');}[_0x3fb0('0x2c')](){const _0x13ac24=this['element'][_0x3fb0('0x6')](_0x3fb0('0x23')),_0x19dcde=_0x13ac24[_0x3fb0('0x6')](_0x3fb0('0x26'));this['listenTo'](_0x13ac24,_0x3fb0('0x1'),()=>{_0x19dcde[_0x3fb0('0x2b')]<_0x19dcde[_0x3fb0('0xf')]&&_0x13ac24['classList'][_0x3fb0('0x25')]('overlay');}),this[_0x3fb0('0x24')](_0x13ac24,_0x3fb0('0x19'),()=>{_0x13ac24[_0x3fb0('0x0')][_0x3fb0('0x1a')](_0x3fb0('0x1c'));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4618=['destroy','showInput','commentInputView','editorDestroyed','delegate','extendTemplate','bindTemplate','ck-comment__input-container--active','userView','isFocused','setTemplate','ck-thread__user','bind','div','showButtons','set'];(function(_0x1ab1c5,_0x461842){var _0x55c210=function(_0x1edf44){while(--_0x1edf44){_0x1ab1c5['push'](_0x1ab1c5['shift']());}};_0x55c210(++_0x461842);}(_0x4618,0xd4));var _0x55c2=function(_0x1ab1c5,_0x461842){_0x1ab1c5=_0x1ab1c5-0x0;var _0x55c210=_0x4618[_0x1ab1c5];return _0x55c210;};import{View as _0x172b8f}from'ckeditor5/src/ui';import _0xf02172 from'./commentinputview';import{UserView as _0x1a4191}from'ckeditor5-collaboration/src/collaboration-core';export default class At extends _0x172b8f{constructor(_0x4b7a29,_0x383195,_0x7fbaa1){super(_0x4b7a29),this[_0x55c2('0xe')]=new _0xf02172(_0x4b7a29,_0x7fbaa1),this['commentInputView'][_0x55c2('0x8')](_0x55c2('0xa'))['to'](this['commentInputView']['focusTracker'],_0x55c2('0x5'),this[_0x55c2('0xe')],'value',(_0x30c48e,_0x16abff)=>_0x30c48e||!!_0x16abff),this[_0x55c2('0xb')]('showInput',!0x1),this['on']('change:showInput',()=>{this[_0x55c2('0xd')]&&!this[_0x55c2('0xe')]['editor']&&this[_0x55c2('0xe')]['createEditor']();}),this[_0x55c2('0xe')]['delegate']('editorReady')['to'](this),this[_0x55c2('0xe')][_0x55c2('0x0')](_0x55c2('0xf'))['to'](this),this['userView']=new _0x1a4191(_0x4b7a29,_0x383195),this[_0x55c2('0x4')][_0x55c2('0x1')]({'attributes':{'class':_0x55c2('0x7')}}),this[_0x55c2('0xe')]['extendTemplate']({'attributes':{'class':'ck-thread__input'}}),this[_0x55c2('0x6')]({'tag':_0x55c2('0x9'),'attributes':{'class':['ck-comment__input-container',this[_0x55c2('0x2')]['if'](_0x55c2('0xd'),_0x55c2('0x3'))]},'children':[this[_0x55c2('0x4')],this['commentInputView']]});}[_0x55c2('0xc')](){return this[_0x55c2('0xe')]['destroy']()['then'](()=>super[_0x55c2('0xc')]());}}
23
+ var _0xbbc4=['value','editor','setTemplate','ck-comment__input-container--active','focusTracker','commentInputView','createEditor','userView','showInput','set','destroy','then','div','bind','editorReady','change:showInput','ck-thread__input','bindTemplate','extendTemplate','ck-comment__input-container','ck-thread__user'];(function(_0x376be5,_0xbbc4fd){var _0x3b7bb5=function(_0x53765e){while(--_0x53765e){_0x376be5['push'](_0x376be5['shift']());}};_0x3b7bb5(++_0xbbc4fd);}(_0xbbc4,0x14d));var _0x3b7b=function(_0x376be5,_0xbbc4fd){_0x376be5=_0x376be5-0x0;var _0x3b7bb5=_0xbbc4[_0x376be5];return _0x3b7bb5;};import{View as _0x5a4903}from'ckeditor5/src/ui';import _0x40f73d from'./commentinputview';import{UserView as _0x143110}from'ckeditor5-collaboration/src/collaboration-core';export default class At extends _0x5a4903{constructor(_0x7ead34,_0x1b4f6a,_0x31f6cd){super(_0x7ead34),this[_0x3b7b('0x8')]=new _0x40f73d(_0x7ead34,_0x31f6cd),this[_0x3b7b('0x8')][_0x3b7b('0x10')]('showButtons')['to'](this['commentInputView'][_0x3b7b('0x7')],'isFocused',this['commentInputView'],_0x3b7b('0x3'),(_0x9b7690,_0x2665f1)=>_0x9b7690||!!_0x2665f1),this[_0x3b7b('0xc')](_0x3b7b('0xb'),!0x1),this['on'](_0x3b7b('0x12'),()=>{this[_0x3b7b('0xb')]&&!this[_0x3b7b('0x8')][_0x3b7b('0x4')]&&this[_0x3b7b('0x8')][_0x3b7b('0x9')]();}),this[_0x3b7b('0x8')]['delegate'](_0x3b7b('0x11'))['to'](this),this[_0x3b7b('0x8')]['delegate']('editorDestroyed')['to'](this),this[_0x3b7b('0xa')]=new _0x143110(_0x7ead34,_0x1b4f6a),this['userView']['extendTemplate']({'attributes':{'class':_0x3b7b('0x2')}}),this['commentInputView'][_0x3b7b('0x0')]({'attributes':{'class':_0x3b7b('0x13')}}),this[_0x3b7b('0x5')]({'tag':_0x3b7b('0xf'),'attributes':{'class':[_0x3b7b('0x1'),this[_0x3b7b('0x14')]['if'](_0x3b7b('0xb'),_0x3b7b('0x6'))]},'children':[this[_0x3b7b('0xa')],this[_0x3b7b('0x8')]]});}[_0x3b7b('0xd')](){return this[_0x3b7b('0x8')]['destroy']()[_0x3b7b('0xe')](()=>super[_0x3b7b('0xd')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4690=['get','listenTo','high','removeCommentThread','cancelConfirm','element','_createResolveButton','remove','label','locale','commentThreadHeaderView','.ck-thread__container','ck-comment--resolve','showConfirm','execute','isConfirm','Resolve','bind','isActive','ck-thread--','isSystemComment','_cancelAllConfirms','addMany','commentThreadChildren','render','containerElement','ck-thread--active','fire','unbind','change:archivedAt','commentsListView','isEnabled','ck-thread--unlinked','getTemplate','ck-reset_all-excluded','tooltip','div','isVisible','isResolved','isReadOnly','setTemplate','placeholder','length','removeButton','check','change:isActive','actionBar','commentThreadInputView','isResolvable','actionIndicator','ck-thread--remove-confirmation','commentViews','bindTemplate','_boundFirstCommentView','add','isUnlinked','set','has','_bindFirstCommentView','resolveButton','_model'];(function(_0x4d61fb,_0x469028){const _0x5907d1=function(_0x103eda){while(--_0x103eda){_0x4d61fb['push'](_0x4d61fb['shift']());}};_0x5907d1(++_0x469028);}(_0x4690,0x1a9));const _0x5907=function(_0x4d61fb,_0x469028){_0x4d61fb=_0x4d61fb-0x0;let _0x5907d1=_0x4690[_0x4d61fb];return _0x5907d1;};import{ConfirmMixin as _0x41d1af}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x4be99e}from'ckeditor5/src/ui';import{icons as _0x2eba6a}from'ckeditor5/src/core';import _0x435299 from'./basecommentthreadview';import{getTranslation as _0x1aa497}from'../../../utils/common-translations';export default class ft extends _0x41d1af(_0x435299){constructor(_0x2a41c6,_0xe40f06,_0x363c65,_0x294f86){super(_0x2a41c6,_0xe40f06,_0x363c65,_0x294f86),this[_0x5907('0x19')]=this['createCollection'](),this[_0x5907('0x19')][_0x5907('0x18')]([this[_0x5907('0x20')],this[_0x5907('0x31')]]),this[_0x5907('0x1')]['archivedAt']&&this['commentThreadChildren'][_0x5907('0x38')](this[_0x5907('0xc')],0x0),this[_0x5907('0x1')]['on'](_0x5907('0x1f'),(_0x2bba28,_0x467fb2,_0x15d760)=>{_0x15d760?this[_0x5907('0x19')][_0x5907('0x3b')](this['commentThreadHeaderView'])||this[_0x5907('0x19')][_0x5907('0x38')](this[_0x5907('0xc')],0x0):this['commentThreadChildren'][_0x5907('0x9')](this[_0x5907('0xc')]);}),this[_0x5907('0x3a')]('actionIndicator',null),this[_0x5907('0x1b')]=null,this[_0x5907('0x37')]=null,this[_0x5907('0xb')]=_0x2a41c6,this[_0x5907('0x0')]=this[_0x5907('0x8')](),this[_0x5907('0x2a')](this[_0x5907('0x23')]()),this['on'](_0x5907('0x2f'),(_0x496c52,_0x2bfa10,_0x543a6c)=>{_0x543a6c||this[_0x5907('0x17')]();}),this[_0x5907('0x3')](this[_0x5907('0x1')],'change:isReadOnly',(_0xd69240,_0x4aa709,_0x3a6710)=>{_0x3a6710&&this[_0x5907('0x17')]();}),this[_0x5907('0x2c')]>0x0&&this[_0x5907('0x3c')](),this['listenTo'](this[_0x5907('0x20')][_0x5907('0x35')],_0x5907('0x38'),()=>{this[_0x5907('0x3c')]();});}['getTemplate'](){const _0x28f45f=this[_0x5907('0x36')];return{'tag':_0x5907('0x26'),'attributes':{'class':['ck-thread',_0x5907('0x24'),_0x28f45f['if'](_0x5907('0x14'),_0x5907('0x1c')),_0x28f45f['if'](_0x5907('0x39'),_0x5907('0x22')),_0x28f45f['if'](_0x5907('0x11'),_0x5907('0x34')),_0x28f45f['to'](_0x5907('0x33'),_0x389022=>_0x389022?_0x5907('0x15')+_0x389022:'')],'data-thread-id':this['_model']['id'],'tabindex':-0x1},'children':[{'tag':_0x5907('0x26'),'attributes':{'class':'ck-thread__container'},'children':this['commentThreadChildren']}]};}[_0x5907('0x1a')](){super[_0x5907('0x1a')](),this['containerElement']=this[_0x5907('0x7')]['querySelector'](_0x5907('0xd'));}[_0x5907('0x17')](){this[_0x5907('0x6')]();for(const _0x3d6546 of this['commentsListView'][_0x5907('0x35')])_0x3d6546[_0x5907('0x6')]();}[_0x5907('0x3c')](){const {locale:_0x245029}=this,_0x28ef65=this[_0x5907('0x20')]['commentViews'][_0x5907('0x2')](0x0);_0x28ef65===this['_boundFirstCommentView']||_0x28ef65[_0x5907('0x16')]||(this['_boundFirstCommentView']=_0x28ef65,this[_0x5907('0x1e')](_0x5907('0x33')),this[_0x5907('0x13')](_0x5907('0x33'))['to'](_0x28ef65,'actionIndicator',_0x44a722=>_0x5907('0x9')===_0x44a722?_0x5907('0x9'):null),_0x28ef65[_0x5907('0x2b')]=_0x1aa497(_0x245029,'Write\x20a\x20comment...'),_0x28ef65[_0x5907('0x2d')]['on'](_0x5907('0x10'),_0x15d583=>{_0x15d583['stop'](),this[_0x5907('0xf')](_0x1aa497(_0x245029,'Delete\x20comment\x20thread?'),this[_0x5907('0x1b')])['then'](()=>{this[_0x5907('0x1d')](_0x5907('0x5'));});},{'priority':_0x5907('0x4')}),_0x28ef65[_0x5907('0x30')]['add'](this[_0x5907('0x0')],0x0));}[_0x5907('0x8')](){const _0xe0cc59=new _0x4be99e(this[_0x5907('0xb')]);return _0xe0cc59[_0x5907('0xa')]=_0x1aa497(this['locale'],'Resolve'),_0xe0cc59[_0x5907('0x25')]=_0x1aa497(this['locale'],_0x5907('0x12')),_0xe0cc59['icon']=_0x2eba6a[_0x5907('0x2e')],_0xe0cc59['extendTemplate']({'attributes':{'class':_0x5907('0xe')}}),_0xe0cc59[_0x5907('0x13')](_0x5907('0x21'))['to'](this[_0x5907('0x1')],_0x5907('0x29'),_0x529aa8=>!_0x529aa8),_0xe0cc59['bind'](_0x5907('0x27'))['to'](this[_0x5907('0x1')],_0x5907('0x32'),this[_0x5907('0x1')],_0x5907('0x28'),(_0x12496f,_0x1aea73)=>_0x12496f&&!_0x1aea73),_0xe0cc59['on']('execute',()=>{this[_0x5907('0x1d')]('resolveCommentThread',this[_0x5907('0x1')]['id']);}),_0xe0cc59;}}
23
+ const _0x4281=['_boundFirstCommentView','commentsListView','isResolvable','bind','isVisible','actionIndicator','ck-thread--','ck-reset_all-excluded','change:isActive','stop','div','Write\x20a\x20comment...','ck-thread--active','isReadOnly','fire','locale','extendTemplate','set','commentViews','Delete\x20comment\x20thread?','removeCommentThread','add','resolveCommentThread','querySelector','label','ck-thread--unlinked','cancelConfirm','getTemplate','containerElement','archivedAt','render','_bindFirstCommentView','ck-thread--remove-confirmation','isEnabled','commentThreadHeaderView','tooltip','_cancelAllConfirms','actionBar','commentThreadChildren','resolveButton','placeholder','_model','length','remove','icon','element','bindTemplate','_createResolveButton','unbind','isActive','ck-thread__container','change:isReadOnly','createCollection','addMany','then','isSystemComment','ck-thread','ck-comment--resolve','isConfirm','removeButton','Resolve','execute'];(function(_0x5d05bb,_0x4281bc){const _0x560edf=function(_0x2f95d7){while(--_0x2f95d7){_0x5d05bb['push'](_0x5d05bb['shift']());}};_0x560edf(++_0x4281bc);}(_0x4281,0x1eb));const _0x560e=function(_0x5d05bb,_0x4281bc){_0x5d05bb=_0x5d05bb-0x0;let _0x560edf=_0x4281[_0x5d05bb];return _0x560edf;};import{ConfirmMixin as _0xc50d54}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x2319ca}from'ckeditor5/src/ui';import{icons as _0x30e61d}from'ckeditor5/src/core';import _0xdf9eb6 from'./basecommentthreadview';import{getTranslation as _0x3d4af4}from'../../../utils/common-translations';export default class ft extends _0xc50d54(_0xdf9eb6){constructor(_0x2774c1,_0x51d93f,_0x2bf94f,_0x9dcf2c){super(_0x2774c1,_0x51d93f,_0x2bf94f,_0x9dcf2c),this[_0x560e('0x2b')]=this[_0x560e('0x39')](),this['commentThreadChildren'][_0x560e('0x3a')]([this[_0x560e('0x6')],this['commentThreadInputView']]),this[_0x560e('0x2e')][_0x560e('0x22')]&&this[_0x560e('0x2b')]['add'](this[_0x560e('0x27')],0x0),this['_model']['on']('change:archivedAt',(_0x1b8045,_0x466a10,_0x5797ad)=>{_0x5797ad?this['commentThreadChildren']['has'](this[_0x560e('0x27')])||this[_0x560e('0x2b')]['add'](this[_0x560e('0x27')],0x0):this['commentThreadChildren'][_0x560e('0x30')](this[_0x560e('0x27')]);}),this[_0x560e('0x16')](_0x560e('0xa'),null),this[_0x560e('0x21')]=null,this[_0x560e('0x5')]=null,this[_0x560e('0x14')]=_0x2774c1,this[_0x560e('0x2c')]=this['_createResolveButton'](),this['setTemplate'](this[_0x560e('0x20')]()),this['on'](_0x560e('0xd'),(_0x31a484,_0x40553d,_0x176b5f)=>{_0x176b5f||this['_cancelAllConfirms']();}),this['listenTo'](this[_0x560e('0x2e')],_0x560e('0x38'),(_0xcb73db,_0x388f2f,_0x2fc039)=>{_0x2fc039&&this[_0x560e('0x29')]();}),this[_0x560e('0x2f')]>0x0&&this[_0x560e('0x24')](),this['listenTo'](this['commentsListView']['commentViews'],_0x560e('0x1a'),()=>{this[_0x560e('0x24')]();});}['getTemplate'](){const _0x195a5b=this[_0x560e('0x33')];return{'tag':_0x560e('0xf'),'attributes':{'class':[_0x560e('0x3d'),_0x560e('0xc'),_0x195a5b['if'](_0x560e('0x36'),_0x560e('0x11')),_0x195a5b['if']('isUnlinked',_0x560e('0x1e')),_0x195a5b['if'](_0x560e('0x1'),_0x560e('0x25')),_0x195a5b['to'](_0x560e('0xa'),_0x379dbc=>_0x379dbc?_0x560e('0xb')+_0x379dbc:'')],'data-thread-id':this['_model']['id'],'tabindex':-0x1},'children':[{'tag':_0x560e('0xf'),'attributes':{'class':_0x560e('0x37')},'children':this[_0x560e('0x2b')]}]};}[_0x560e('0x23')](){super[_0x560e('0x23')](),this[_0x560e('0x21')]=this[_0x560e('0x32')][_0x560e('0x1c')]('.ck-thread__container');}['_cancelAllConfirms'](){this[_0x560e('0x1f')]();for(const _0x33c2fc of this[_0x560e('0x6')]['commentViews'])_0x33c2fc['cancelConfirm']();}['_bindFirstCommentView'](){const {locale:_0x4c2ab3}=this,_0x28061f=this[_0x560e('0x6')][_0x560e('0x17')]['get'](0x0);_0x28061f===this[_0x560e('0x5')]||_0x28061f[_0x560e('0x3c')]||(this[_0x560e('0x5')]=_0x28061f,this[_0x560e('0x35')](_0x560e('0xa')),this[_0x560e('0x8')]('actionIndicator')['to'](_0x28061f,'actionIndicator',_0x11bdb4=>_0x560e('0x30')===_0x11bdb4?_0x560e('0x30'):null),_0x28061f[_0x560e('0x2d')]=_0x3d4af4(_0x4c2ab3,_0x560e('0x10')),_0x28061f[_0x560e('0x2')]['on']('execute',_0x5621c5=>{_0x5621c5[_0x560e('0xe')](),this['showConfirm'](_0x3d4af4(_0x4c2ab3,_0x560e('0x18')),this[_0x560e('0x21')])[_0x560e('0x3b')](()=>{this['fire'](_0x560e('0x19'));});},{'priority':'high'}),_0x28061f[_0x560e('0x2a')][_0x560e('0x1a')](this[_0x560e('0x2c')],0x0));}[_0x560e('0x34')](){const _0x22b790=new _0x2319ca(this[_0x560e('0x14')]);return _0x22b790[_0x560e('0x1d')]=_0x3d4af4(this[_0x560e('0x14')],_0x560e('0x3')),_0x22b790[_0x560e('0x28')]=_0x3d4af4(this['locale'],_0x560e('0x3')),_0x22b790[_0x560e('0x31')]=_0x30e61d['check'],_0x22b790[_0x560e('0x15')]({'attributes':{'class':_0x560e('0x0')}}),_0x22b790['bind'](_0x560e('0x26'))['to'](this[_0x560e('0x2e')],_0x560e('0x12'),_0x4caa4e=>!_0x4caa4e),_0x22b790[_0x560e('0x8')](_0x560e('0x9'))['to'](this[_0x560e('0x2e')],_0x560e('0x7'),this[_0x560e('0x2e')],'isResolved',(_0x4baa23,_0x24f2ea)=>_0x4baa23&&!_0x24f2ea),_0x22b790['on'](_0x560e('0x4'),()=>{this[_0x560e('0x13')](_0x560e('0x1b'),this[_0x560e('0x2e')]['id']);}),_0x22b790;}}