@ckeditor/ckeditor5-comments 0.0.0-nightly-20230810.0 → 0.0.0-nightly-20230812.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/build/comments.js +1 -1
  2. package/package.json +3 -3
  3. package/src/annotations/annotation.js +1 -1
  4. package/src/annotations/annotationcollection.js +1 -1
  5. package/src/annotations/annotations.js +1 -1
  6. package/src/annotations/annotationsuis.js +1 -1
  7. package/src/annotations/editorannotations.js +1 -1
  8. package/src/annotations/inlineannotations.js +1 -1
  9. package/src/annotations/narrowsidebar.js +1 -1
  10. package/src/annotations/sidebar.js +1 -1
  11. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  12. package/src/annotations/view/annotationview.js +1 -1
  13. package/src/annotations/view/sidebaritemview.js +1 -1
  14. package/src/annotations/view/sidebarview.js +1 -1
  15. package/src/annotations/widesidebar.js +1 -1
  16. package/src/comments/addcommentthreadcommand.js +1 -1
  17. package/src/comments/commentsarchive.js +1 -1
  18. package/src/comments/commentsarchiveui.js +1 -1
  19. package/src/comments/commentsediting.js +1 -1
  20. package/src/comments/commentsrepository.js +1 -1
  21. package/src/comments/commentsui.js +1 -1
  22. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  23. package/src/comments/integrations/importword.js +1 -1
  24. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  25. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  26. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  27. package/src/comments/ui/commentthreadcontroller.js +1 -1
  28. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  29. package/src/comments/ui/view/basecommentview.js +1 -1
  30. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  31. package/src/comments/ui/view/commentcontentview.js +1 -1
  32. package/src/comments/ui/view/commentinputview.js +1 -1
  33. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  34. package/src/comments/ui/view/commentslistview.js +1 -1
  35. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  36. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  37. package/src/comments/ui/view/commentthreadview.js +1 -1
  38. package/src/comments/ui/view/commentview.js +1 -1
  39. package/src/comments.js +1 -1
  40. package/src/commentsonly.js +1 -1
  41. package/src/utils/common-translations.js +1 -1
  42. package/src/utils/createmutationobserver.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6f6f=['get','importWord.commentsStyles','forEach','high','_handleImportedData','afterInit','dataInsert','plugins','addCommentThread','define','config','importWord','collaboration_features','basic','editor','execute','map','collaboration.channelId'];(function(_0x3067ad,_0x6f6fba){const _0x57f3b5=function(_0x5dd4de){while(--_0x5dd4de){_0x3067ad['push'](_0x3067ad['shift']());}};_0x57f3b5(++_0x6f6fba);}(_0x6f6f,0x12f));const _0x57f3=function(_0x3067ad,_0x6f6fba){_0x3067ad=_0x3067ad-0x0;let _0x57f3b5=_0x6f6f[_0x3067ad];return _0x57f3b5;};import{Plugin as _0x40fdc3}from'ckeditor5/src/core';import{priorities as _0x12e79f}from'ckeditor5/src/utils';import{Users as _0x577196}from'ckeditor5-collaboration/src/collaboration-core';import _0x340c6b from'../commentsrepository';export default class Y extends _0x40fdc3{constructor(_0x3cead9){super(_0x3cead9),this[_0x57f3('0x11')][_0x57f3('0xd')][_0x57f3('0xc')](_0x57f3('0x4'),_0x57f3('0x10'));}[_0x57f3('0x8')](){const _0x3e4406=this[_0x57f3('0x11')],_0x554413=_0x3e4406['commands']['get'](_0x57f3('0xe')),_0x3e1f20=_0x3e4406[_0x57f3('0xa')][_0x57f3('0x3')](_0x577196);_0x554413&&(_0x554413['on'](_0x57f3('0x0'),(_0x454245,[,_0x385779])=>{_0x385779[_0x57f3('0xf')]={'comments':!0x0,'user_id':_0x3e1f20['me']['id'],'comments_styles':this[_0x57f3('0x11')][_0x57f3('0xd')][_0x57f3('0x3')](_0x57f3('0x4'))};},{'priority':_0x12e79f[_0x57f3('0x6')]+0xa}),this['listenTo'](_0x554413,_0x57f3('0x9'),this[_0x57f3('0x7')]));}[_0x57f3('0x7')](_0x486a3f,_0x205032){const {comment_threads:_0x53ea72}=_0x205032;_0x53ea72&&_0x53ea72[_0x57f3('0x5')](({thread_id:_0x3db609,comments:_0x427749,is_resolved:_0x16b9c2})=>{const _0x11a36e=new Date(),_0x43dcf8=_0x427749[_0x57f3('0x1')](({author:_0x2ea07e,content:_0x26b35c,created_at:_0x158cea})=>({'content':_0x26b35c,'authorId':this[_0x57f3('0x11')][_0x57f3('0xa')][_0x57f3('0x3')](_0x577196)['me']['id'],'createdAt':_0x11a36e,'attributes':{'@external':{'authorName':_0x2ea07e,'createdAt':_0x158cea?new Date(_0x158cea):new Date(),'source':_0x57f3('0xe')}}})),_0x45f12f=this[_0x57f3('0x11')][_0x57f3('0xd')][_0x57f3('0x3')](_0x57f3('0x2'));this[_0x57f3('0x11')]['plugins'][_0x57f3('0x3')](_0x340c6b)[_0x57f3('0xb')]({'channelId':_0x45f12f,'threadId':_0x3db609,'comments':_0x43dcf8,'resolvedAt':_0x16b9c2?_0x11a36e:null});});}}
23
+ const _0x53f2=['get','importWord.commentsStyles','dataInsert','execute','config','afterInit','forEach','define','_handleImportedData','high','editor','importWord','map','listenTo','plugins','basic','collaboration_features'];(function(_0x9d669a,_0x53f25d){const _0x284404=function(_0x2c26af){while(--_0x2c26af){_0x9d669a['push'](_0x9d669a['shift']());}};_0x284404(++_0x53f25d);}(_0x53f2,0x8d));const _0x2844=function(_0x9d669a,_0x53f25d){_0x9d669a=_0x9d669a-0x0;let _0x284404=_0x53f2[_0x9d669a];return _0x284404;};import{Plugin as _0x208f3b}from'ckeditor5/src/core';import{priorities as _0x468f82}from'ckeditor5/src/utils';import{Users as _0x5a8f4b}from'ckeditor5-collaboration/src/collaboration-core';import _0x55f699 from'../commentsrepository';export default class Y extends _0x208f3b{constructor(_0x5fdcb){super(_0x5fdcb),this[_0x2844('0x5')]['config'][_0x2844('0x2')]('importWord.commentsStyles',_0x2844('0xa'));}[_0x2844('0x0')](){const _0x2c4cd2=this[_0x2844('0x5')],_0x3ab379=_0x2c4cd2['commands'][_0x2844('0xc')](_0x2844('0x6')),_0x19fffd=_0x2c4cd2['plugins']['get'](_0x5a8f4b);_0x3ab379&&(_0x3ab379['on'](_0x2844('0xf'),(_0x3b9d03,[,_0x908bab])=>{_0x908bab[_0x2844('0xb')]={'comments':!0x0,'user_id':_0x19fffd['me']['id'],'comments_styles':this[_0x2844('0x5')][_0x2844('0x10')][_0x2844('0xc')](_0x2844('0xd'))};},{'priority':_0x468f82[_0x2844('0x4')]+0xa}),this[_0x2844('0x8')](_0x3ab379,_0x2844('0xe'),this['_handleImportedData']));}[_0x2844('0x3')](_0x9b3ac2,_0x4c8ab4){const {comment_threads:_0x302a73}=_0x4c8ab4;_0x302a73&&_0x302a73[_0x2844('0x1')](({thread_id:_0x211425,comments:_0x10caee,is_resolved:_0x521066})=>{const _0x1a3ac6=new Date(),_0xfd6d11=_0x10caee[_0x2844('0x7')](({author:_0x41b4fa,content:_0x23f40e,created_at:_0x2a2df6})=>({'content':_0x23f40e,'authorId':this[_0x2844('0x5')][_0x2844('0x9')][_0x2844('0xc')](_0x5a8f4b)['me']['id'],'createdAt':_0x1a3ac6,'attributes':{'@external':{'authorName':_0x41b4fa,'createdAt':_0x2a2df6?new Date(_0x2a2df6):new Date(),'source':_0x2844('0x6')}}})),_0x597c29=this[_0x2844('0x5')][_0x2844('0x10')][_0x2844('0xc')]('collaboration.channelId');this[_0x2844('0x5')]['plugins'][_0x2844('0xc')](_0x55f699)['addCommentThread']({'channelId':_0x597c29,'threadId':_0x211425,'comments':_0xfd6d11,'resolvedAt':_0x521066?_0x1a3ac6:null});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c92=['setSelection','document','getChild','placeholderElement','ready','childCount','focus','placeholder','init','createRoot','destroy','model','change','then','initPlugins','data','plugins','end','change:placeholder','name','initialData','config','create','editing','getRoot','set','_updatePlaceholder'];(function(_0x10423d,_0x5c92c9){const _0xaf2468=function(_0x597d61){while(--_0x597d61){_0x10423d['push'](_0x10423d['shift']());}};_0xaf2468(++_0x5c92c9);}(_0x5c92,0xa8));const _0xaf24=function(_0x10423d,_0x5c92c9){_0x10423d=_0x10423d-0x0;let _0xaf2468=_0x5c92[_0x10423d];return _0xaf2468;};import{Editor as _0x184b57,DataApiMixin as _0x2bff54}from'ckeditor5/src/core';import _0x2a776b from'./commenteditorui';import{ObservableMixin as _0x157ccd}from'ckeditor5/src/utils';import{enablePlaceholder as _0x5c6dff,disablePlaceholder as _0x4cea5d}from'ckeditor5/src/engine';import{Clipboard as _0x3b2281}from'ckeditor5/src/clipboard';import{Enter as _0x10ea24,ShiftEnter as _0x1a37ea}from'ckeditor5/src/enter';import{SelectAll as _0x2f9e12}from'ckeditor5/src/select-all';import{Typing as _0x31fb31}from'ckeditor5/src/typing';import{Undo as _0x752499}from'ckeditor5/src/undo';import{Paragraph as _0x7640a6}from'ckeditor5/src/paragraph';const Kt=[_0x3b2281,_0x10ea24,_0x1a37ea,_0x2f9e12,_0x31fb31,_0x752499,_0x7640a6];export default class Lt extends _0x157ccd(_0x2bff54(_0x184b57)){constructor(_0xb93eff={}){(_0xb93eff=Object['assign']({},_0xb93eff))[_0xaf24('0xa')]||(_0xb93eff[_0xaf24('0xa')]=Lt['defaultPlugins']),super(_0xb93eff),this['ui']=new _0x2a776b(this),this[_0xaf24('0x13')](_0xaf24('0x1'),''),this[_0xaf24('0x5')][_0xaf24('0x16')]['on'](_0xaf24('0x6'),()=>this[_0xaf24('0x14')](),{'priority':'low'}),this['on'](_0xaf24('0xc'),()=>this[_0xaf24('0x14')]()),this[_0xaf24('0x5')][_0xaf24('0x16')][_0xaf24('0x3')]();}[_0xaf24('0x10')](){const _0x30e3ec=this[_0xaf24('0xf')]['get'](_0xaf24('0xe'))||'';return this[_0xaf24('0x8')]()['then'](()=>this['ui'][_0xaf24('0x2')]())['then'](()=>this[_0xaf24('0x9')][_0xaf24('0x2')](_0x30e3ec))[_0xaf24('0x7')](()=>this['fire'](_0xaf24('0x19')));}[_0xaf24('0x4')](){return super[_0xaf24('0x4')]()[_0xaf24('0x7')](()=>this['ui'][_0xaf24('0x4')]());}[_0xaf24('0x0')](){this[_0xaf24('0x5')][_0xaf24('0x6')](_0x620b5e=>{const _0x3aa677=this['model'][_0xaf24('0x16')]['getRoot'](),_0x5934fb=_0x3aa677&&_0x3aa677[_0xaf24('0x17')](_0x3aa677[_0xaf24('0x1a')]-0x1);_0x620b5e[_0xaf24('0x15')](_0x5934fb,_0xaf24('0xb')),this[_0xaf24('0x11')]['view'][_0xaf24('0x0')]();});}[_0xaf24('0x14')](){const _0x55e3bf=this[_0xaf24('0x11')]['view'],_0x374890=_0x55e3bf[_0xaf24('0x16')][_0xaf24('0x12')](),_0x2f9c0b=_0x374890[_0xaf24('0x17')](0x0);_0x374890[_0xaf24('0x1a')]>0x1||!_0x2f9c0b||'p'!=_0x2f9c0b[_0xaf24('0xd')]?this[_0xaf24('0x18')]&&this[_0xaf24('0x18')][_0xaf24('0x1')]&&(_0x4cea5d(_0x55e3bf,this[_0xaf24('0x18')]),this[_0xaf24('0x18')]=void 0x0):(this[_0xaf24('0x1')]&&(_0x2f9c0b[_0xaf24('0x1')]=this['placeholder']),_0x5c6dff({'view':_0x55e3bf,'element':_0x2f9c0b,'keepOnFocus':!0x0}),this[_0xaf24('0x18')]=_0x2f9c0b);}}Lt['defaultPlugins']=Kt;
23
+ const _0x115f=['low','editing','placeholderElement','fire','initPlugins','view','create','createRoot','placeholder','change:placeholder','_updatePlaceholder','change','document','ready','getChild','set','get','defaultPlugins','destroy','init','setSelection','focus','getRoot','childCount','model','name','then'];(function(_0x36b5d1,_0x115ffc){const _0x2b7715=function(_0x47e2d5){while(--_0x47e2d5){_0x36b5d1['push'](_0x36b5d1['shift']());}};_0x2b7715(++_0x115ffc);}(_0x115f,0x14a));const _0x2b77=function(_0x36b5d1,_0x115ffc){_0x36b5d1=_0x36b5d1-0x0;let _0x2b7715=_0x115f[_0x36b5d1];return _0x2b7715;};import{Editor as _0x178cd5,DataApiMixin as _0x57dd60}from'ckeditor5/src/core';import _0x44de6a from'./commenteditorui';import{ObservableMixin as _0x210972}from'ckeditor5/src/utils';import{enablePlaceholder as _0x4c100e,disablePlaceholder as _0x6eea20}from'ckeditor5/src/engine';import{Clipboard as _0x490555}from'ckeditor5/src/clipboard';import{Enter as _0x5c0e6c,ShiftEnter as _0x3a1903}from'ckeditor5/src/enter';import{SelectAll as _0x48fcce}from'ckeditor5/src/select-all';import{Typing as _0x52df3e}from'ckeditor5/src/typing';import{Undo as _0x3c01b8}from'ckeditor5/src/undo';import{Paragraph as _0x1becb2}from'ckeditor5/src/paragraph';const Kt=[_0x490555,_0x5c0e6c,_0x3a1903,_0x48fcce,_0x52df3e,_0x3c01b8,_0x1becb2];export default class Lt extends _0x210972(_0x57dd60(_0x178cd5)){constructor(_0xaf4bce={}){(_0xaf4bce=Object['assign']({},_0xaf4bce))['plugins']||(_0xaf4bce['plugins']=Lt[_0x2b77('0xb')]),super(_0xaf4bce),this['ui']=new _0x44de6a(this),this[_0x2b77('0x9')](_0x2b77('0x2'),''),this[_0x2b77('0x12')][_0x2b77('0x6')]['on'](_0x2b77('0x5'),()=>this[_0x2b77('0x4')](),{'priority':_0x2b77('0x15')}),this['on'](_0x2b77('0x3'),()=>this['_updatePlaceholder']()),this[_0x2b77('0x12')][_0x2b77('0x6')][_0x2b77('0x1')]();}[_0x2b77('0x0')](){const _0x3f5e41=this['config'][_0x2b77('0xa')]('initialData')||'';return this[_0x2b77('0x19')]()[_0x2b77('0x14')](()=>this['ui'][_0x2b77('0xd')]())['then'](()=>this['data'][_0x2b77('0xd')](_0x3f5e41))[_0x2b77('0x14')](()=>this[_0x2b77('0x18')](_0x2b77('0x7')));}['destroy'](){return super['destroy']()['then'](()=>this['ui'][_0x2b77('0xc')]());}[_0x2b77('0xf')](){this[_0x2b77('0x12')][_0x2b77('0x5')](_0x3cc424=>{const _0x2aa1ff=this['model'][_0x2b77('0x6')]['getRoot'](),_0x5dff3e=_0x2aa1ff&&_0x2aa1ff[_0x2b77('0x8')](_0x2aa1ff['childCount']-0x1);_0x3cc424[_0x2b77('0xe')](_0x5dff3e,'end'),this[_0x2b77('0x16')][_0x2b77('0x1a')][_0x2b77('0xf')]();});}['_updatePlaceholder'](){const _0x5e532a=this[_0x2b77('0x16')][_0x2b77('0x1a')],_0x547de8=_0x5e532a[_0x2b77('0x6')][_0x2b77('0x10')](),_0x55edb7=_0x547de8[_0x2b77('0x8')](0x0);_0x547de8[_0x2b77('0x11')]>0x1||!_0x55edb7||'p'!=_0x55edb7[_0x2b77('0x13')]?this[_0x2b77('0x17')]&&this[_0x2b77('0x17')]['placeholder']&&(_0x6eea20(_0x5e532a,this['placeholderElement']),this[_0x2b77('0x17')]=void 0x0):(this[_0x2b77('0x2')]&&(_0x55edb7[_0x2b77('0x2')]=this[_0x2b77('0x2')]),_0x4c100e({'view':_0x5e532a,'element':_0x55edb7,'keepOnFocus':!0x0}),this[_0x2b77('0x17')]=_0x55edb7);}}Lt[_0x2b77('0xb')]=Kt;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4096=['bind','fire','editing','render','rootName','isFocused','attachDomRoot','locale','ready','getRoot','init','view','destroy','document','editable','focusTracker','element','name'];(function(_0x63cf97,_0x4096a2){const _0xfa033f=function(_0x55a4a2){while(--_0x55a4a2){_0x63cf97['push'](_0x63cf97['shift']());}};_0xfa033f(++_0x4096a2);}(_0x4096,0x7e));const _0xfa03=function(_0x63cf97,_0x4096a2){_0x63cf97=_0x63cf97-0x0;let _0xfa033f=_0x4096[_0x63cf97];return _0xfa033f;};import{EditorUI as _0x3acd0f}from'ckeditor5/src/ui';import _0x582144 from'./commenteditoruiview';export default class jt extends _0x3acd0f{constructor(_0x13e4f7){super(_0x13e4f7),this[_0xfa03('0xb')]=new _0x582144(_0x13e4f7[_0xfa03('0x7')],_0x13e4f7['editing']['view']);}get['element'](){return this['view']['element'];}[_0xfa03('0xa')](){const _0x6fc2b=this['editor'][_0xfa03('0x2')][_0xfa03('0xb')],_0x46758b=this[_0xfa03('0xb')][_0xfa03('0xe')],_0x53dc31=_0x6fc2b[_0xfa03('0xd')][_0xfa03('0x9')]();_0x46758b[_0xfa03('0x11')]=_0x53dc31[_0xfa03('0x4')],this[_0xfa03('0xb')][_0xfa03('0x3')]();const _0x482455=_0x46758b[_0xfa03('0x10')];this['setEditableElement'](_0x46758b[_0xfa03('0x11')],_0x482455),this[_0xfa03('0xb')][_0xfa03('0xe')][_0xfa03('0x0')](_0xfa03('0x5'))['to'](this[_0xfa03('0xf')]),_0x6fc2b[_0xfa03('0x6')](_0x482455),this[_0xfa03('0x1')](_0xfa03('0x8'));}[_0xfa03('0xc')](){super[_0xfa03('0xc')](),this[_0xfa03('0xb')]['destroy']();}}
23
+ const _0x34f5=['locale','render','rootName','fire','destroy','setEditableElement','focusTracker','view','element','getRoot','editing','isFocused','attachDomRoot','init','editable','ready'];(function(_0x422c55,_0x34f59c){const _0x4af491=function(_0x4ebc72){while(--_0x4ebc72){_0x422c55['push'](_0x422c55['shift']());}};_0x4af491(++_0x34f59c);}(_0x34f5,0x17a));const _0x4af4=function(_0x422c55,_0x34f59c){_0x422c55=_0x422c55-0x0;let _0x4af491=_0x34f5[_0x422c55];return _0x4af491;};import{EditorUI as _0x6a7658}from'ckeditor5/src/ui';import _0x333f07 from'./commenteditoruiview';export default class jt extends _0x6a7658{constructor(_0x21865f){super(_0x21865f),this['view']=new _0x333f07(_0x21865f[_0x4af4('0x6')],_0x21865f[_0x4af4('0x0')]['view']);}get[_0x4af4('0xe')](){return this[_0x4af4('0xd')]['element'];}[_0x4af4('0x3')](){const _0xfcbf61=this['editor'][_0x4af4('0x0')][_0x4af4('0xd')],_0x5ee5f2=this[_0x4af4('0xd')][_0x4af4('0x4')],_0x5be792=_0xfcbf61['document'][_0x4af4('0xf')]();_0x5ee5f2['name']=_0x5be792[_0x4af4('0x8')],this['view'][_0x4af4('0x7')]();const _0x419ecd=_0x5ee5f2[_0x4af4('0xe')];this[_0x4af4('0xb')](_0x5ee5f2['name'],_0x419ecd),this[_0x4af4('0xd')][_0x4af4('0x4')]['bind'](_0x4af4('0x1'))['to'](this[_0x4af4('0xc')]),_0xfcbf61[_0x4af4('0x2')](_0x419ecd),this[_0x4af4('0x9')](_0x4af4('0x5'));}[_0x4af4('0xa')](){super[_0x4af4('0xa')](),this['view'][_0x4af4('0xa')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x365c=['comment','_createVoiceLabel','main','ck-comment__input','uiLanguage','Comment\x20editor','add','ck-rounded-corners','ck-editor__main','_voiceLabelView','focus','div','extendTemplate','setTemplate','editable','cke-editor__aria-label_','render','createCollection','element','text','ck-voice-label','ck-reset'];(function(_0x1db165,_0x365caa){const _0x6adfe4=function(_0x28e774){while(--_0x28e774){_0x1db165['push'](_0x1db165['shift']());}};_0x6adfe4(++_0x365caa);}(_0x365c,0xe0));const _0x6adf=function(_0x1db165,_0x365caa){_0x1db165=_0x1db165-0x0;let _0x6adfe4=_0x365c[_0x1db165];return _0x6adfe4;};import{InlineEditableUIView as _0x1f96ba,EditorUIView as _0x1d330f,LabelView as _0x462d6d}from'ckeditor5/src/ui';import{uid as _0x1a5102}from'ckeditor5/src/utils';import{getTranslation as _0x48758d}from'../../../utils/common-translations';export default class Nt extends _0x1d330f{constructor(_0x5344e4,_0x7b85e1){super(_0x5344e4);const _0x527a76=_0x1a5102();this['main']=this[_0x6adf('0xd')](),this['editable']=new _0x1f96ba(_0x5344e4,_0x7b85e1),this[_0x6adf('0x5')]=this['_createVoiceLabel'](_0x527a76,_0x5344e4),this[_0x6adf('0x9')]({'tag':_0x6adf('0x7'),'attributes':{'class':[_0x6adf('0x11'),'ck-editor',_0x6adf('0x3'),_0x6adf('0x15')],'role':_0x6adf('0x12'),'dir':_0x5344e4['uiLanguageDirection'],'lang':_0x5344e4[_0x6adf('0x0')],'aria-labelledby':_0x6adf('0xb')+_0x527a76},'children':[this[_0x6adf('0x5')],{'tag':'div','attributes':{'class':_0x6adf('0x4'),'role':'presentation'},'children':this['main']}]});}[_0x6adf('0xc')](){super['render'](),this[_0x6adf('0x14')][_0x6adf('0x2')](this[_0x6adf('0xa')]);}[_0x6adf('0x6')](){this[_0x6adf('0xa')][_0x6adf('0xe')]['focus']();}[_0x6adf('0x13')](_0x2fd44e,_0x322e5d){const _0x2d76e2=new _0x462d6d();return _0x2d76e2[_0x6adf('0xf')]=_0x48758d(_0x322e5d,_0x6adf('0x1')),_0x2d76e2[_0x6adf('0x8')]({'attributes':{'id':'ck-editor__aria-label_'+_0x2fd44e,'class':_0x6adf('0x10')}}),_0x2d76e2;}}
23
+ const _0x2673=['ck-voice-label','Comment\x20editor','createCollection','uiLanguageDirection','cke-editor__aria-label_','ck-comment__input','extendTemplate','render','_voiceLabelView','add','focus','_createVoiceLabel','editable','div','element','ck-editor','ck-editor__aria-label_','ck-editor__main','text','uiLanguage','ck-rounded-corners','main','presentation','comment','setTemplate'];(function(_0x370cc9,_0x26730b){const _0x27f436=function(_0x40555b){while(--_0x40555b){_0x370cc9['push'](_0x370cc9['shift']());}};_0x27f436(++_0x26730b);}(_0x2673,0x14b));const _0x27f4=function(_0x370cc9,_0x26730b){_0x370cc9=_0x370cc9-0x0;let _0x27f436=_0x2673[_0x370cc9];return _0x27f436;};import{InlineEditableUIView as _0x1f5fa8,EditorUIView as _0x292501,LabelView as _0x44c733}from'ckeditor5/src/ui';import{uid as _0x2b38c6}from'ckeditor5/src/utils';import{getTranslation as _0x14fbdf}from'../../../utils/common-translations';export default class Nt extends _0x292501{constructor(_0x5be614,_0x1f8bbd){super(_0x5be614);const _0xfefd98=_0x2b38c6();this[_0x27f4('0xf')]=this[_0x27f4('0x15')](),this[_0x27f4('0x6')]=new _0x1f5fa8(_0x5be614,_0x1f8bbd),this[_0x27f4('0x2')]=this['_createVoiceLabel'](_0xfefd98,_0x5be614),this[_0x27f4('0x12')]({'tag':_0x27f4('0x7'),'attributes':{'class':['ck-reset',_0x27f4('0x9'),_0x27f4('0xe'),_0x27f4('0x18')],'role':_0x27f4('0x11'),'dir':_0x5be614[_0x27f4('0x16')],'lang':_0x5be614[_0x27f4('0xd')],'aria-labelledby':_0x27f4('0x17')+_0xfefd98},'children':[this['_voiceLabelView'],{'tag':'div','attributes':{'class':_0x27f4('0xb'),'role':_0x27f4('0x10')},'children':this[_0x27f4('0xf')]}]});}[_0x27f4('0x1')](){super[_0x27f4('0x1')](),this[_0x27f4('0xf')][_0x27f4('0x3')](this[_0x27f4('0x6')]);}[_0x27f4('0x4')](){this[_0x27f4('0x6')][_0x27f4('0x8')]['focus']();}[_0x27f4('0x5')](_0x3ecb73,_0x12a5e0){const _0x17d383=new _0x44c733();return _0x17d383[_0x27f4('0xc')]=_0x14fbdf(_0x12a5e0,_0x27f4('0x14')),_0x17d383[_0x27f4('0x0')]({'attributes':{'id':_0x27f4('0xa')+_0x3ecb73,'class':_0x27f4('0x13')}}),_0x17d383;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1702=['view','submit','remove','removeComment','model','addComment','stopListening','update','isResolved','submitCommentThread','reopenCommentThread','updateComment','destroy','getComment','listenTo','reopen','resolve','removeCommentThread','_localUser','_isAttached'];(function(_0x1a0fb4,_0x170222){var _0x44116c=function(_0x2fa34c){while(--_0x2fa34c){_0x1a0fb4['push'](_0x1a0fb4['shift']());}};_0x44116c(++_0x170222);}(_0x1702,0x6a));var _0x4411=function(_0x1a0fb4,_0x170222){_0x1a0fb4=_0x1a0fb4-0x0;var _0x44116c=_0x1702[_0x1a0fb4];return _0x44116c;};import{ObservableMixin as _0xbdbe49}from'ckeditor5/src/utils';export default class ct extends _0xbdbe49(){constructor(_0x1e971f,_0x258a87){super(),this[_0x4411('0x12')]=_0x1e971f,this[_0x4411('0x12')][_0x4411('0xd')]=!0x0,this[_0x4411('0xe')]=_0x258a87,this[_0x4411('0x8')](_0x258a87,_0x4411('0x3'),()=>this[_0x4411('0xf')]()),this[_0x4411('0x8')](_0x258a87,_0x4411('0xb'),()=>this['remove']()),this[_0x4411('0x8')](_0x258a87,'resolveCommentThread',()=>this[_0x4411('0xa')]()),this['listenTo'](_0x258a87,_0x4411('0x4'),()=>this['reopen']()),this['listenTo'](_0x258a87,_0x4411('0x13'),(_0x37eade,_0x2b7c96)=>this[_0x4411('0x13')](_0x2b7c96)),this['listenTo'](_0x258a87,_0x4411('0x5'),(_0xc34294,_0x34b607,_0x40cf57)=>this[_0x4411('0x5')](_0x34b607,_0x40cf57)),this[_0x4411('0x8')](_0x258a87,_0x4411('0x11'),(_0x3d9ac3,_0x4fcb2e)=>this[_0x4411('0x11')](_0x4fcb2e));}[_0x4411('0xf')](){this['model'][_0x4411('0xf')]();}[_0x4411('0x10')](){this[_0x4411('0x12')]['remove']();}[_0x4411('0xa')](){this['model'][_0x4411('0x2')]||this[_0x4411('0x12')]['resolve']();}[_0x4411('0x9')](){this[_0x4411('0x12')]['isResolved']&&this[_0x4411('0x12')][_0x4411('0x9')]();}[_0x4411('0x13')](_0x5f5079){this[_0x4411('0x12')][_0x4411('0x13')]({'content':_0x5f5079,'authorId':this[_0x4411('0xe')][_0x4411('0xc')]['id']});}[_0x4411('0x5')](_0x19d2e0,_0x497156){this['model'][_0x4411('0x7')](_0x19d2e0)[_0x4411('0x1')]({'content':_0x497156});}[_0x4411('0x11')](_0x2dabfe){this[_0x4411('0x12')][_0x4411('0x7')](_0x2dabfe)[_0x4411('0x10')]();}[_0x4411('0x6')](){this[_0x4411('0x0')](),this[_0x4411('0x12')][_0x4411('0xd')]=!0x1;}}
23
+ var _0x17a4=['removeComment','model','_isAttached','reopen','submit','removeCommentThread','getComment','isResolved','resolve','listenTo','remove','updateComment','resolveCommentThread','stopListening','update','destroy','addComment','reopenCommentThread','view'];(function(_0x2427ca,_0x17a4b6){var _0x3ffa20=function(_0x44ebed){while(--_0x44ebed){_0x2427ca['push'](_0x2427ca['shift']());}};_0x3ffa20(++_0x17a4b6);}(_0x17a4,0xfc));var _0x3ffa=function(_0x2427ca,_0x17a4b6){_0x2427ca=_0x2427ca-0x0;var _0x3ffa20=_0x17a4[_0x2427ca];return _0x3ffa20;};import{ObservableMixin as _0x33f9ea}from'ckeditor5/src/utils';export default class ct extends _0x33f9ea(){constructor(_0x5d346e,_0x16663f){super(),this[_0x3ffa('0xf')]=_0x5d346e,this[_0x3ffa('0xf')][_0x3ffa('0x10')]=!0x0,this[_0x3ffa('0xd')]=_0x16663f,this['listenTo'](_0x16663f,'submitCommentThread',()=>this[_0x3ffa('0x12')]()),this['listenTo'](_0x16663f,_0x3ffa('0x0'),()=>this[_0x3ffa('0x5')]()),this['listenTo'](_0x16663f,_0x3ffa('0x7'),()=>this[_0x3ffa('0x3')]()),this[_0x3ffa('0x4')](_0x16663f,_0x3ffa('0xc'),()=>this['reopen']()),this[_0x3ffa('0x4')](_0x16663f,'addComment',(_0x3ef6a2,_0x326f55)=>this[_0x3ffa('0xb')](_0x326f55)),this['listenTo'](_0x16663f,_0x3ffa('0x6'),(_0x288eb2,_0x5c5165,_0x44659f)=>this[_0x3ffa('0x6')](_0x5c5165,_0x44659f)),this[_0x3ffa('0x4')](_0x16663f,'removeComment',(_0x130183,_0xc9b94e)=>this['removeComment'](_0xc9b94e));}[_0x3ffa('0x12')](){this['model'][_0x3ffa('0x12')]();}[_0x3ffa('0x5')](){this[_0x3ffa('0xf')][_0x3ffa('0x5')]();}['resolve'](){this[_0x3ffa('0xf')][_0x3ffa('0x2')]||this[_0x3ffa('0xf')][_0x3ffa('0x3')]();}[_0x3ffa('0x11')](){this['model'][_0x3ffa('0x2')]&&this[_0x3ffa('0xf')]['reopen']();}[_0x3ffa('0xb')](_0x38e1ed){this['model'][_0x3ffa('0xb')]({'content':_0x38e1ed,'authorId':this[_0x3ffa('0xd')]['_localUser']['id']});}[_0x3ffa('0x6')](_0x3033eb,_0xb22d2){this[_0x3ffa('0xf')][_0x3ffa('0x1')](_0x3033eb)[_0x3ffa('0x9')]({'content':_0xb22d2});}[_0x3ffa('0xe')](_0x6b7792){this[_0x3ffa('0xf')][_0x3ffa('0x1')](_0x6b7792)['remove']();}[_0x3ffa('0xa')](){this[_0x3ffa('0x8')](),this[_0x3ffa('0xf')][_0x3ffa('0x10')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x286b=['focus','cancel','isDirty','commentThreadInputView','removeCommentThread','commentsListView','editorDestroyed','locale','set','Reply...','editorReady','submitCommentThread','bind','destroy','_model','submitLabel','commentInputView','isReadOnly','addComment','removeComment','delegate','CommentView','value','fire','commentThreadHeaderView','_createCommentThreadInputView','Write\x20a\x20comment...','change:isActive','length','_localUser','_config','hasDirtyComment','isResolved','Reply','isActive','reopenCommentThread','isResolvable','stop','isSubmitted','canComment','resolveCommentThread','showInput','submit'];(function(_0x273040,_0x286b78){const _0x3e75e7=function(_0x315725){while(--_0x315725){_0x273040['push'](_0x273040['shift']());}};_0x3e75e7(++_0x286b78);}(_0x286b,0x108));const _0x3e75=function(_0x273040,_0x286b78){_0x273040=_0x273040-0x0;let _0x3e75e7=_0x286b[_0x273040];return _0x3e75e7;};import{View as _0x3f1183}from'ckeditor5/src/ui';import _0x4937ce from'./commentthreadinputview';import _0x58fab4 from'./commentslistview';import _0xfa8a20 from'./commentthreadheaderview';import{getTranslation as _0x2a3f36}from'../../../utils/common-translations';export default class Tt extends _0x3f1183{constructor(_0x1430a7,_0x410ed9,_0x3b1bbb,_0x994931){super(_0x1430a7),this['set'](_0x3e75('0x1c'),!0x1),this[_0x3e75('0x2')](_0x3e75('0x27'),!0x1),this[_0x3e75('0x8')]=_0x410ed9,this[_0x3e75('0x17')]=_0x3b1bbb,this[_0x3e75('0x18')]=_0x994931,this[_0x3e75('0x12')]=new _0xfa8a20(_0x1430a7,_0x410ed9),this[_0x3e75('0x12')][_0x3e75('0xe')](_0x3e75('0x1d'))['to'](this),this['commentsListView']=new _0x58fab4(_0x1430a7,_0x410ed9,Object['assign']({'CommentView':this[_0x3e75('0x18')][_0x3e75('0xf')]},_0x994931)),this[_0x3e75('0x2a')]['delegate'](_0x3e75('0xd'))['to'](this),this[_0x3e75('0x2a')][_0x3e75('0xe')]('updateComment')['to'](this),this[_0x3e75('0x2a')][_0x3e75('0xe')](_0x3e75('0x22'))['to'](this),this[_0x3e75('0x2a')][_0x3e75('0xe')]('editorReady')['to'](this),this['commentsListView']['delegate'](_0x3e75('0x0'))['to'](this),this[_0x3e75('0x2a')]['bind']('isActive')['to'](this),this[_0x3e75('0x2')]('length',this[_0x3e75('0x2a')][_0x3e75('0x16')]),this[_0x3e75('0x6')](_0x3e75('0x16'))['to'](this[_0x3e75('0x2a')],_0x3e75('0x16')),this[_0x3e75('0x28')]=this['_createCommentThreadInputView'](),this[_0x3e75('0x28')][_0x3e75('0xe')](_0x3e75('0x4'))['to'](this),this[_0x3e75('0x28')][_0x3e75('0xe')]('editorDestroyed')['to'](this),this['on'](_0x3e75('0xd'),()=>this[_0x3e75('0x25')]()),this[_0x3e75('0x6')]('isDirty')['to'](this[_0x3e75('0x2a')],_0x3e75('0x19'),this[_0x3e75('0x28')]['commentInputView'],_0x3e75('0x10'),(_0x23c711,_0x477a28)=>_0x23c711||!!_0x477a28);}['focus'](){this['element'][_0x3e75('0x25')]();}[_0x3e75('0x7')](){this[_0x3e75('0x27')]=!0x1,this[_0x3e75('0x2a')][_0x3e75('0x7')](),this['commentThreadInputView'][_0x3e75('0x7')](),super[_0x3e75('0x7')]();}[_0x3e75('0x13')](){const _0x34fcf0=new _0x4937ce(this[_0x3e75('0x1')],this[_0x3e75('0x17')],this[_0x3e75('0x18')]['editorConfig']),_0x51026f=_0x34fcf0[_0x3e75('0xa')];return _0x34fcf0['bind'](_0x3e75('0x23'))['to'](this,'isActive',this['_model'],_0x3e75('0xb'),this['_model'],_0x3e75('0x21'),this[_0x3e75('0x8')],_0x3e75('0x1a'),_0x51026f,_0x3e75('0x10'),(_0x3efa36,_0x3db6a2,_0x3083ee,_0x594dde,_0x46df95)=>!!_0x46df95||_0x594dde&&_0x3083ee&&!_0x3db6a2||_0x3efa36&&_0x3083ee&&!_0x3db6a2),_0x51026f['bind']('placeholder')['to'](this,_0x3e75('0x16'),this[_0x3e75('0x8')],_0x3e75('0x1e'),this[_0x3e75('0x8')],_0x3e75('0x1a'),(_0x4fc159,_0x25d991,_0x58fda0)=>{let _0x438b73;return _0x438b73=_0x58fda0&&_0x25d991?'Reply\x20to\x20reopen\x20discussion...':_0x4fc159?_0x3e75('0x3'):_0x3e75('0x14'),_0x2a3f36(this[_0x3e75('0x1')],_0x438b73);}),_0x51026f[_0x3e75('0x6')](_0x3e75('0x9'))['to'](this,_0x3e75('0x16'),_0x142222=>_0x2a3f36(this[_0x3e75('0x1')],_0x142222?_0x3e75('0x1b'):'Comment')),_0x51026f['on'](_0x3e75('0x24'),(_0x1c2a3e,_0x39d5e3)=>{this[_0x3e75('0x11')](_0x3e75('0xc'),_0x39d5e3),this[_0x3e75('0x8')]['isResolved']&&this[_0x3e75('0x8')][_0x3e75('0x1e')]&&this[_0x3e75('0x11')](_0x3e75('0x1d'),this[_0x3e75('0x8')]['id']),this[_0x3e75('0x8')][_0x3e75('0x20')]||this[_0x3e75('0x11')](_0x3e75('0x5'));}),_0x51026f['on'](_0x3e75('0x26'),()=>{this[_0x3e75('0x25')]();}),_0x51026f['bind']('disabledSubmit')['to'](this[_0x3e75('0x8')],_0x3e75('0xb')),_0x51026f['on'](_0x3e75('0x26'),_0x164b03=>{0x0==this['length']&&(this['fire']('removeCommentThread'),_0x164b03[_0x3e75('0x1f')]());}),this['on'](_0x3e75('0x15'),(_0x3cf993,_0x28ac35,_0x4a9387)=>{_0x4a9387||this[_0x3e75('0x16')]||_0x51026f[_0x3e75('0x10')]||this[_0x3e75('0x11')](_0x3e75('0x29'));}),_0x34fcf0;}}
23
+ const _0x24f8=['isReadOnly','editorReady','focus','stop','Write\x20a\x20comment...','cancel','canComment','Reply\x20to\x20reopen\x20discussion...','fire','removeComment','element','commentsListView','removeCommentThread','locale','_config','submitLabel','commentThreadHeaderView','bind','Comment','change:isActive','showInput','reopenCommentThread','_model','set','editorDestroyed','isResolved','addComment','delegate','isDirty','commentThreadInputView','length','_createCommentThreadInputView','isActive','_localUser','value','isSubmitted','commentInputView','assign','isResolvable','CommentView','submitCommentThread','destroy'];(function(_0x15fe78,_0x24f885){const _0x5e8281=function(_0x562fb7){while(--_0x562fb7){_0x15fe78['push'](_0x15fe78['shift']());}};_0x5e8281(++_0x24f885);}(_0x24f8,0xc0));const _0x5e82=function(_0x15fe78,_0x24f885){_0x15fe78=_0x15fe78-0x0;let _0x5e8281=_0x24f8[_0x15fe78];return _0x5e8281;};import{View as _0x31d521}from'ckeditor5/src/ui';import _0x38084c from'./commentthreadinputview';import _0x247077 from'./commentslistview';import _0x5f4461 from'./commentthreadheaderview';import{getTranslation as _0x24f6ab}from'../../../utils/common-translations';export default class Tt extends _0x31d521{constructor(_0x88198d,_0x3c9c80,_0x1bad8a,_0x7c7375){super(_0x88198d),this[_0x5e82('0x29')](_0x5e82('0x8'),!0x1),this[_0x5e82('0x29')]('isDirty',!0x1),this['_model']=_0x3c9c80,this[_0x5e82('0x9')]=_0x1bad8a,this[_0x5e82('0x20')]=_0x7c7375,this['commentThreadHeaderView']=new _0x5f4461(_0x88198d,_0x3c9c80),this[_0x5e82('0x22')]['delegate']('reopenCommentThread')['to'](this),this[_0x5e82('0x1d')]=new _0x247077(_0x88198d,_0x3c9c80,Object[_0x5e82('0xd')]({'CommentView':this[_0x5e82('0x20')][_0x5e82('0xf')]},_0x7c7375)),this[_0x5e82('0x1d')][_0x5e82('0x3')]('removeComment')['to'](this),this[_0x5e82('0x1d')]['delegate']('updateComment')['to'](this),this[_0x5e82('0x1d')][_0x5e82('0x3')]('resolveCommentThread')['to'](this),this[_0x5e82('0x1d')][_0x5e82('0x3')]('editorReady')['to'](this),this[_0x5e82('0x1d')][_0x5e82('0x3')](_0x5e82('0x0'))['to'](this),this[_0x5e82('0x1d')][_0x5e82('0x23')](_0x5e82('0x8'))['to'](this),this[_0x5e82('0x29')](_0x5e82('0x6'),this['commentsListView'][_0x5e82('0x6')]),this[_0x5e82('0x23')](_0x5e82('0x6'))['to'](this[_0x5e82('0x1d')],_0x5e82('0x6')),this['commentThreadInputView']=this[_0x5e82('0x7')](),this[_0x5e82('0x5')][_0x5e82('0x3')](_0x5e82('0x13'))['to'](this),this[_0x5e82('0x5')][_0x5e82('0x3')]('editorDestroyed')['to'](this),this['on'](_0x5e82('0x1b'),()=>this['focus']()),this[_0x5e82('0x23')](_0x5e82('0x4'))['to'](this[_0x5e82('0x1d')],'hasDirtyComment',this[_0x5e82('0x5')][_0x5e82('0xc')],_0x5e82('0xa'),(_0x2bd303,_0x3f9994)=>_0x2bd303||!!_0x3f9994);}[_0x5e82('0x14')](){this[_0x5e82('0x1c')]['focus']();}[_0x5e82('0x11')](){this[_0x5e82('0x4')]=!0x1,this['commentsListView']['destroy'](),this[_0x5e82('0x5')]['destroy'](),super['destroy']();}['_createCommentThreadInputView'](){const _0xe632e7=new _0x38084c(this[_0x5e82('0x1f')],this[_0x5e82('0x9')],this[_0x5e82('0x20')]['editorConfig']),_0x33b007=_0xe632e7[_0x5e82('0xc')];return _0xe632e7[_0x5e82('0x23')](_0x5e82('0x26'))['to'](this,_0x5e82('0x8'),this[_0x5e82('0x28')],_0x5e82('0x12'),this[_0x5e82('0x28')],_0x5e82('0x18'),this[_0x5e82('0x28')],'isResolved',_0x33b007,_0x5e82('0xa'),(_0x3a0718,_0x5c77f2,_0x3e4280,_0x352fd8,_0x6f2e18)=>!!_0x6f2e18||_0x352fd8&&_0x3e4280&&!_0x5c77f2||_0x3a0718&&_0x3e4280&&!_0x5c77f2),_0x33b007['bind']('placeholder')['to'](this,_0x5e82('0x6'),this[_0x5e82('0x28')],_0x5e82('0xe'),this[_0x5e82('0x28')],_0x5e82('0x1'),(_0x849627,_0x405537,_0x110a1a)=>{let _0x1c74fa;return _0x1c74fa=_0x110a1a&&_0x405537?_0x5e82('0x19'):_0x849627?'Reply...':_0x5e82('0x16'),_0x24f6ab(this['locale'],_0x1c74fa);}),_0x33b007[_0x5e82('0x23')](_0x5e82('0x21'))['to'](this,_0x5e82('0x6'),_0x21ce95=>_0x24f6ab(this[_0x5e82('0x1f')],_0x21ce95?'Reply':_0x5e82('0x24'))),_0x33b007['on']('submit',(_0x3498d4,_0x45714a)=>{this['fire'](_0x5e82('0x2'),_0x45714a),this[_0x5e82('0x28')][_0x5e82('0x1')]&&this[_0x5e82('0x28')][_0x5e82('0xe')]&&this[_0x5e82('0x1a')](_0x5e82('0x27'),this['_model']['id']),this[_0x5e82('0x28')][_0x5e82('0xb')]||this[_0x5e82('0x1a')](_0x5e82('0x10'));}),_0x33b007['on']('cancel',()=>{this[_0x5e82('0x14')]();}),_0x33b007[_0x5e82('0x23')]('disabledSubmit')['to'](this[_0x5e82('0x28')],_0x5e82('0x12')),_0x33b007['on'](_0x5e82('0x17'),_0x3c4c2f=>{0x0==this[_0x5e82('0x6')]&&(this[_0x5e82('0x1a')](_0x5e82('0x1e')),_0x3c4c2f[_0x5e82('0x15')]());}),this['on'](_0x5e82('0x25'),(_0x1eb9c6,_0x4b960e,_0x5ac22a)=>{_0x5ac22a||this[_0x5e82('0x6')]||_0x33b007['value']||this[_0x5e82('0x1a')](_0x5e82('0x1e'));}),_0xe632e7;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2773=['value','locale','initialData','editorConfig','focus','expand','_createCommentInputView','_createCommentContentView','updateComment','createCollection','bind','switchToDisplayMode','isReadOnly','add','remove','visibleView','content','element','isCollapsed','editorDestroyed','collapse','fire','createEditor','submitLabel','_config','once','disabledSubmit','destroy','_model','cancel','set','isEditMode','switchToEditMode','editorReady','isSystemComment','maxCommentCharsWhenCollapsed'];(function(_0x406bd2,_0x2773fa){const _0x3af4a4=function(_0x52f804){while(--_0x52f804){_0x406bd2['push'](_0x406bd2['shift']());}};_0x3af4a4(++_0x2773fa);}(_0x2773,0x172));const _0x3af4=function(_0x406bd2,_0x2773fa){_0x406bd2=_0x406bd2-0x0;let _0x3af4a4=_0x2773[_0x406bd2];return _0x3af4a4;};import{View as _0x5c6f1e}from'ckeditor5/src/ui';import{trimHtml as _0x561663}from'ckeditor5-collaboration/src/collaboration-core';import _0x59d90f from'./commentcontentview';import _0x561a80 from'./commentinputview';import{getTranslation as _0x255666}from'../../../utils/common-translations';export default class Yt extends _0x5c6f1e{constructor(_0x1e0942,_0x52f8bc,_0x4f144b){super(_0x1e0942),this[_0x3af4('0x12')]=_0x52f8bc,this['_config']=_0x4f144b,this['isSystemComment']=!!this[_0x3af4('0xe')][_0x3af4('0x18')],this[_0x3af4('0x14')](_0x3af4('0x15'),!0x1),this[_0x3af4('0x14')]('isCollapsed',!0x0),this['visibleView']=this[_0x3af4('0x23')](),this[_0x3af4('0x5')][_0x3af4('0x3')](this[_0x3af4('0x21')]());}[_0x3af4('0x1f')](){this['isCollapsed']=!0x1;}[_0x3af4('0xa')](){this['isEditMode']||(this[_0x3af4('0x8')]=!0x0);}[_0x3af4('0x1e')](){this[_0x3af4('0x7')][_0x3af4('0x1e')]();}async[_0x3af4('0x11')](){await this[_0x3af4('0x5')]['get'](0x0)[_0x3af4('0x11')](),super['destroy']();}[_0x3af4('0x16')](){this[_0x3af4('0x15')]||(this[_0x3af4('0x15')]=!0x0,this['visibleView'][_0x3af4('0x4')](0x0)[_0x3af4('0x11')](),this[_0x3af4('0x5')][_0x3af4('0x3')](this[_0x3af4('0x20')]()));}[_0x3af4('0x1')](){this['isEditMode']&&(this[_0x3af4('0x15')]=!0x1,this['visibleView'][_0x3af4('0x4')](0x0)['destroy'](),this[_0x3af4('0x5')][_0x3af4('0x3')](this[_0x3af4('0x21')]()));}[_0x3af4('0x21')](){const _0x7cd4e9=new _0x59d90f(this[_0x3af4('0x1b')]);return _0x7cd4e9[_0x3af4('0x0')](_0x3af4('0x6'))['to'](this[_0x3af4('0x12')],_0x3af4('0x6'),this,'isCollapsed',(_0x279201,_0x149020)=>_0x149020?_0x561663(_0x279201,{'limit':this[_0x3af4('0xe')][_0x3af4('0x19')]}):_0x279201),_0x7cd4e9;}[_0x3af4('0x20')](){this['_config'][_0x3af4('0x1d')]||(this[_0x3af4('0xe')][_0x3af4('0x1d')]={}),this['_config'][_0x3af4('0x1d')][_0x3af4('0x1c')]=this[_0x3af4('0x12')][_0x3af4('0x6')];const _0x4d664c=new _0x561a80(this[_0x3af4('0x1b')],this['_config']['editorConfig']);return _0x4d664c[_0x3af4('0x1a')]=this['_model'][_0x3af4('0x6')],_0x4d664c[_0x3af4('0x0')](_0x3af4('0x10'))['to'](this[_0x3af4('0x12')],_0x3af4('0x2')),_0x4d664c[_0x3af4('0xd')]=_0x255666(this[_0x3af4('0x1b')],'Save'),_0x4d664c['on']('submit',(_0x21d0a1,_0x54d9ab)=>{this[_0x3af4('0xb')](_0x3af4('0x22'),this[_0x3af4('0x12')]['id'],_0x54d9ab),this['switchToDisplayMode'](),this[_0x3af4('0x1e')]();}),_0x4d664c['on'](_0x3af4('0x13'),()=>{this[_0x3af4('0x1')](),this[_0x3af4('0x1e')]();}),_0x4d664c[_0x3af4('0xf')](_0x3af4('0x17'),()=>{_0x4d664c[_0x3af4('0x1e')]();}),_0x4d664c[_0x3af4('0xc')](),_0x4d664c['delegate'](_0x3af4('0x17'))['to'](this),_0x4d664c['delegate'](_0x3af4('0x9'))['to'](this),_0x4d664c;}}
23
+ const _0xfae3=['_model','get','isReadOnly','editorConfig','focus','cancel','bind','add','updateComment','visibleView','remove','disabledSubmit','collapse','initialData','locale','_createCommentContentView','isCollapsed','value','isEditMode','destroy','submit','element','editorReady','isSystemComment','_config','fire','submitLabel','_createCommentInputView','delegate','createEditor','content','switchToDisplayMode','editorDestroyed','once'];(function(_0x19b58c,_0xfae314){const _0x26d799=function(_0x5b8ea5){while(--_0x5b8ea5){_0x19b58c['push'](_0x19b58c['shift']());}};_0x26d799(++_0xfae314);}(_0xfae3,0xd0));const _0x26d7=function(_0x19b58c,_0xfae314){_0x19b58c=_0x19b58c-0x0;let _0x26d799=_0xfae3[_0x19b58c];return _0x26d799;};import{View as _0x4877cf}from'ckeditor5/src/ui';import{trimHtml as _0x24565d}from'ckeditor5-collaboration/src/collaboration-core';import _0x281330 from'./commentcontentview';import _0xf6566b from'./commentinputview';import{getTranslation as _0x2398bc}from'../../../utils/common-translations';export default class Yt extends _0x4877cf{constructor(_0x3bcfb9,_0x2c1cd3,_0x48e1fb){super(_0x3bcfb9),this[_0x26d7('0x1e')]=_0x2c1cd3,this[_0x26d7('0x14')]=_0x48e1fb,this[_0x26d7('0x13')]=!!this[_0x26d7('0x14')][_0x26d7('0x13')],this['set']('isEditMode',!0x1),this['set']('isCollapsed',!0x0),this[_0x26d7('0x5')]=this['createCollection'](),this[_0x26d7('0x5')][_0x26d7('0x3')](this['_createCommentContentView']());}['expand'](){this['isCollapsed']=!0x1;}[_0x26d7('0x8')](){this[_0x26d7('0xe')]||(this['isCollapsed']=!0x0);}[_0x26d7('0x0')](){this[_0x26d7('0x11')]['focus']();}async[_0x26d7('0xf')](){await this[_0x26d7('0x5')][_0x26d7('0x1f')](0x0)['destroy'](),super[_0x26d7('0xf')]();}['switchToEditMode'](){this[_0x26d7('0xe')]||(this[_0x26d7('0xe')]=!0x0,this[_0x26d7('0x5')][_0x26d7('0x6')](0x0)[_0x26d7('0xf')](),this[_0x26d7('0x5')][_0x26d7('0x3')](this[_0x26d7('0x17')]()));}[_0x26d7('0x1b')](){this[_0x26d7('0xe')]&&(this[_0x26d7('0xe')]=!0x1,this[_0x26d7('0x5')]['remove'](0x0)[_0x26d7('0xf')](),this[_0x26d7('0x5')][_0x26d7('0x3')](this['_createCommentContentView']()));}[_0x26d7('0xb')](){const _0x297110=new _0x281330(this[_0x26d7('0xa')]);return _0x297110[_0x26d7('0x2')](_0x26d7('0x1a'))['to'](this[_0x26d7('0x1e')],_0x26d7('0x1a'),this,_0x26d7('0xc'),(_0x35b31e,_0x32fa9e)=>_0x32fa9e?_0x24565d(_0x35b31e,{'limit':this[_0x26d7('0x14')]['maxCommentCharsWhenCollapsed']}):_0x35b31e),_0x297110;}[_0x26d7('0x17')](){this[_0x26d7('0x14')][_0x26d7('0x21')]||(this['_config'][_0x26d7('0x21')]={}),this[_0x26d7('0x14')]['editorConfig'][_0x26d7('0x9')]=this[_0x26d7('0x1e')][_0x26d7('0x1a')];const _0x409f43=new _0xf6566b(this[_0x26d7('0xa')],this[_0x26d7('0x14')][_0x26d7('0x21')]);return _0x409f43[_0x26d7('0xd')]=this['_model'][_0x26d7('0x1a')],_0x409f43[_0x26d7('0x2')](_0x26d7('0x7'))['to'](this[_0x26d7('0x1e')],_0x26d7('0x20')),_0x409f43[_0x26d7('0x16')]=_0x2398bc(this[_0x26d7('0xa')],'Save'),_0x409f43['on'](_0x26d7('0x10'),(_0x549613,_0x19ec5e)=>{this[_0x26d7('0x15')](_0x26d7('0x4'),this[_0x26d7('0x1e')]['id'],_0x19ec5e),this['switchToDisplayMode'](),this[_0x26d7('0x0')]();}),_0x409f43['on'](_0x26d7('0x1'),()=>{this[_0x26d7('0x1b')](),this[_0x26d7('0x0')]();}),_0x409f43[_0x26d7('0x1d')](_0x26d7('0x12'),()=>{_0x409f43[_0x26d7('0x0')]();}),_0x409f43[_0x26d7('0x19')](),_0x409f43['delegate'](_0x26d7('0x12'))['to'](this),_0x409f43[_0x26d7('0x18')](_0x26d7('0x1c'))['to'](this),_0x409f43;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4679=['NUMBER_OF_COMMENTS','bindTemplate','count','setTemplate','ck-thread__comment-count','set'];(function(_0x16b5aa,_0x467911){const _0x51cfc8=function(_0x2bd944){while(--_0x2bd944){_0x16b5aa['push'](_0x16b5aa['shift']());}};_0x51cfc8(++_0x467911);}(_0x4679,0xc3));const _0x51cf=function(_0x16b5aa,_0x467911){_0x16b5aa=_0x16b5aa-0x0;let _0x51cfc8=_0x4679[_0x16b5aa];return _0x51cfc8;};import{View as _0x4413c8}from'ckeditor5/src/ui';import{getTranslation as _0x5ec203}from'../../../utils/common-translations';export default class Zt extends _0x4413c8{constructor(_0x474547){super(_0x474547);const _0x5cdc12=this[_0x51cf('0x4')];this[_0x51cf('0x2')](_0x51cf('0x5'),void 0x0),this[_0x51cf('0x0')]({'tag':'li','attributes':{'class':_0x51cf('0x1')},'children':[{'text':_0x5cdc12['to'](_0x51cf('0x5'),_0x1b06f8=>_0x5ec203(_0x474547,_0x51cf('0x3'),_0x1b06f8))}]});}}
23
+ const _0x5bf7=['bindTemplate','setTemplate','ck-thread__comment-count','NUMBER_OF_COMMENTS','count'];(function(_0x4af15b,_0x5bf72c){const _0x2bfa76=function(_0x290c65){while(--_0x290c65){_0x4af15b['push'](_0x4af15b['shift']());}};_0x2bfa76(++_0x5bf72c);}(_0x5bf7,0x19f));const _0x2bfa=function(_0x4af15b,_0x5bf72c){_0x4af15b=_0x4af15b-0x0;let _0x2bfa76=_0x5bf7[_0x4af15b];return _0x2bfa76;};import{View as _0x5df8fc}from'ckeditor5/src/ui';import{getTranslation as _0x33345b}from'../../../utils/common-translations';export default class Zt extends _0x5df8fc{constructor(_0x52a28b){super(_0x52a28b);const _0x3fbf5d=this[_0x2bfa('0x0')];this['set'](_0x2bfa('0x4'),void 0x0),this[_0x2bfa('0x1')]({'tag':'li','attributes':{'class':_0x2bfa('0x2')},'children':[{'text':_0x3fbf5d['to'](_0x2bfa('0x4'),_0x15f027=>_0x33345b(_0x52a28b,_0x2bfa('0x3'),_0x15f027))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1b66=['div','change:content','content','render','set','ck-comment__content','innerHTML'];(function(_0x163e7b,_0x1b6619){var _0xcf8018=function(_0x237f26){while(--_0x237f26){_0x163e7b['push'](_0x163e7b['shift']());}};_0xcf8018(++_0x1b6619);}(_0x1b66,0xc1));var _0xcf80=function(_0x163e7b,_0x1b6619){_0x163e7b=_0x163e7b-0x0;var _0xcf8018=_0x1b66[_0x163e7b];return _0xcf8018;};import{View as _0xe59474}from'ckeditor5/src/ui';export default class Ut extends _0xe59474{constructor(_0x3d9905){super(_0x3d9905),this[_0xcf80('0x0')]('content',''),this['setTemplate']({'tag':_0xcf80('0x3'),'attributes':{'class':[_0xcf80('0x1'),'ck-annotation__content']}});}[_0xcf80('0x6')](){super[_0xcf80('0x6')](),this['on'](_0xcf80('0x4'),(_0x319aff,_0xe5287,_0x16b49c)=>{this['element']['innerHTML']=_0x16b49c;}),this['element'][_0xcf80('0x2')]=this[_0xcf80('0x5')];}}
23
+ var _0x3542=['set','element','render','ck-comment__content','setTemplate','div','ck-annotation__content','content','change:content','innerHTML'];(function(_0x283069,_0x3542b7){var _0x4be396=function(_0x1c1660){while(--_0x1c1660){_0x283069['push'](_0x283069['shift']());}};_0x4be396(++_0x3542b7);}(_0x3542,0x10c));var _0x4be3=function(_0x283069,_0x3542b7){_0x283069=_0x283069-0x0;var _0x4be396=_0x3542[_0x283069];return _0x4be396;};import{View as _0x17b9ba}from'ckeditor5/src/ui';export default class Ut extends _0x17b9ba{constructor(_0x40ec4b){super(_0x40ec4b),this[_0x4be3('0x2')]('content',''),this[_0x4be3('0x6')]({'tag':_0x4be3('0x7'),'attributes':{'class':[_0x4be3('0x5'),_0x4be3('0x8')]}});}[_0x4be3('0x4')](){super['render'](),this['on'](_0x4be3('0x0'),(_0x2143db,_0x3e3012,_0x5900d3)=>{this[_0x4be3('0x3')]['innerHTML']=_0x5900d3;}),this['element'][_0x4be3('0x1')]=this[_0x4be3('0x9')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x209e=['trim','focusPrevious','then','render','model','forEach','_createCancelButton','focusTracker','destroy','extendTemplate','length','set','initialData','low','setData','keystrokes','label','fire','bindTemplate','withText','TOO_LONG_COMMENT_ALERT','focus','_isDestroyed','ck-comment__input-actions--submit','bind','Reply','_editorCreationPromise','cancel','_createSubmitButton','getData','value','insertBefore','editorReady','disabledSubmit','execute','submit','change','listenTo','ck-comment__input-wrapper','Cancel','add','tab','_initializeFocusCycling','submitLabel','isEnabled','submitButtonView','createEditor','Reply...','element','cancelButtonView','showButtons','_editorConfig','create','view','Esc','editor','placeholder','setTemplate'];(function(_0x5c2ba7,_0x209ee4){const _0x9410da=function(_0x268b8f){while(--_0x268b8f){_0x5c2ba7['push'](_0x5c2ba7['shift']());}};_0x9410da(++_0x209ee4);}(_0x209e,0x1e7));const _0x9410=function(_0x5c2ba7,_0x209ee4){_0x5c2ba7=_0x5c2ba7-0x0;let _0x9410da=_0x209e[_0x5c2ba7];return _0x9410da;};import{View as _0x4d9773,ViewCollection as _0x478cfe,FocusCycler as _0x54b70,ButtonView as _0x3eebf3}from'ckeditor5/src/ui';import{FocusTracker as _0x5e0a40,KeystrokeHandler as _0x23d868}from'ckeditor5/src/utils';import _0x27f676 from'../commenteditor/commenteditor';import{getTranslation as _0x2ec3b9}from'../../../utils/common-translations';export default class Xt extends _0x4d9773{constructor(_0xef118f,_0x23a75e={}){super(_0xef118f),this[_0x9410('0x20')]=null,this[_0x9410('0x1c')]=_0x23a75e,this[_0x9410('0x32')]=new _0x23d868(),this[_0x9410('0x2a')]=new _0x5e0a40(),this[_0x9410('0x2e')](_0x9410('0x7'),_0x23a75e[_0x9410('0x2f')]||''),this[_0x9410('0x2e')](_0x9410('0xa'),!0x1),this[_0x9410('0x2e')](_0x9410('0x1b'),!0x0),this[_0x9410('0x2e')](_0x9410('0x21'),_0x2ec3b9(_0xef118f,_0x9410('0x18'))),this[_0x9410('0x2e')](_0x9410('0x14'),_0x2ec3b9(_0xef118f,_0x9410('0x2'))),this[_0x9410('0x16')]=this[_0x9410('0x5')](),this[_0x9410('0x1a')]=this[_0x9410('0x29')](),this[_0x9410('0x22')]({'tag':'div','attributes':{'class':[_0x9410('0xf')]},'children':[{'tag':'div','attributes':{'class':['ck-comment__input-actions',this[_0x9410('0x35')]['if'](_0x9410('0x1b'),'ck-comment__input-actions--active')]},'children':[this[_0x9410('0x16')],this[_0x9410('0x1a')]]}]}),this['keystrokes'][_0x9410('0x2e')](_0x9410('0x1f'),(_0xaa345d,_0x588a85)=>{this[_0x9410('0x1a')][_0x9410('0x34')](_0x9410('0xb')),_0x588a85();}),this['on']('submit',(_0xe3fe1e,_0x4f3e76)=>{_0x4f3e76['length']>0xfde8?(alert(_0x2ec3b9(_0xef118f,_0x9410('0x37'),[_0x4f3e76[_0x9410('0x2d')],0xfde8])),_0xe3fe1e['stop']()):this[_0x9410('0x20')][_0x9410('0x31')]('');},{'priority':'high'});}[_0x9410('0x26')](){super['render'](),this[_0x9410('0x32')][_0x9410('0xe')](this[_0x9410('0x19')]),this[_0x9410('0x2a')]['add'](this['element']);}[_0x9410('0x17')](){return this[_0x9410('0x20')]||(this['editor']=new _0x27f676(this[_0x9410('0x1c')]),this[_0x9410('0x3')]=this[_0x9410('0x20')][_0x9410('0x1d')]()[_0x9410('0x25')](()=>{if(this[_0x9410('0x39')])return;const _0x4b4f3d=this[_0x9410('0x20')];this[_0x9410('0x19')][_0x9410('0x8')](_0x4b4f3d['ui']['element'],this[_0x9410('0x19')]['firstChild']),_0x4b4f3d[_0x9410('0x27')]['document']['on'](_0x9410('0xd'),()=>this[_0x9410('0x7')]=_0x4b4f3d[_0x9410('0x6')]()),_0x4b4f3d['bind']('placeholder')['to'](this),this[_0x9410('0x13')](this[_0x9410('0x20')]),this[_0x9410('0x34')](_0x9410('0x9'),this[_0x9410('0x20')]);})),this[_0x9410('0x3')];}[_0x9410('0x38')](){this['editor']&&this[_0x9410('0x20')][_0x9410('0x38')]();}async[_0x9410('0x2b')](){this[_0x9410('0x39')]||(this[_0x9410('0x39')]=!0x0,this[_0x9410('0x20')]&&(await this[_0x9410('0x3')],await this[_0x9410('0x20')][_0x9410('0x2b')](),this['fire']('editorDestroyed',this[_0x9410('0x20')])),await super[_0x9410('0x2b')]());}[_0x9410('0x5')](){const {locale:_0x2521ac}=this,_0x58a19c=new _0x3eebf3(_0x2521ac);return _0x58a19c[_0x9410('0x2c')]({'attributes':{'class':[_0x9410('0x0')]}}),_0x58a19c['withText']=!0x0,_0x58a19c['bind'](_0x9410('0x33'))['to'](this,_0x9410('0x14')),_0x58a19c['on'](_0x9410('0xb'),()=>{this['fire'](_0x9410('0xc'),this[_0x9410('0x7')]);}),_0x58a19c[_0x9410('0x1')](_0x9410('0x15'))['to'](this,_0x9410('0x7'),this,_0x9410('0xa'),(_0x448c97,_0x5be0a0)=>!_0x5be0a0&&!!_0x448c97[_0x9410('0x23')]()),_0x58a19c;}[_0x9410('0x29')](){const {locale:_0xa60b1f}=this,_0x40c40f=new _0x3eebf3(_0xa60b1f);return _0x40c40f['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x40c40f[_0x9410('0x33')]=_0x2ec3b9(_0xa60b1f,_0x9410('0x10')),_0x40c40f[_0x9410('0x36')]=!0x0,_0x40c40f['on'](_0x9410('0xb'),()=>{this[_0x9410('0x20')][_0x9410('0x31')](''),this[_0x9410('0x34')](_0x9410('0x4'));}),_0x40c40f;}['_initializeFocusCycling'](_0x562b17){const _0x197ac2=this[_0x9410('0x2a')],_0x529937=new _0x478cfe();[_0x562b17['ui'][_0x9410('0x1e')],this[_0x9410('0x16')],this[_0x9410('0x1a')]][_0x9410('0x28')](_0x3f1874=>{_0x529937[_0x9410('0x11')](_0x3f1874),_0x197ac2['add'](_0x3f1874[_0x9410('0x19')]);});const _0x3cef0f=new _0x54b70({'focusables':_0x529937,'focusTracker':_0x197ac2});this['keystrokes']['set'](_0x9410('0x12'),(_0x1a6cb5,_0x30d74e)=>{_0x3cef0f['focusNext'](),_0x30d74e();},{'priority':_0x9410('0x30')}),this[_0x9410('0x32')][_0x9410('0x2e')]('shift\x20+\x20tab',(_0x45efc7,_0x54cf22)=>{_0x3cef0f[_0x9410('0x24')](),_0x54cf22();},{'priority':'low'});}}
23
+ const _0x5f0d=['label','change','submitLabel','bindTemplate','focusTracker','showButtons','destroy','submitButtonView','_isDestroyed','focusNext','_createSubmitButton','execute','create','setData','_createCancelButton','view','TOO_LONG_COMMENT_ALERT','editor','withText','forEach','shift\x20+\x20tab','trim','low','render','cancelButtonView','setTemplate','placeholder','Reply...','submit','length','ck-comment__input-wrapper','high','Esc','_editorCreationPromise','then','div','document','Cancel','element','_editorConfig','add','value','bind','firstChild','focus','fire','getData','extendTemplate','stop','keystrokes','_initializeFocusCycling','focusPrevious','disabledSubmit','listenTo','set','ck-comment__input-actions'];(function(_0x3cc35f,_0x5f0da9){const _0xd25fd=function(_0x2b34ff){while(--_0x2b34ff){_0x3cc35f['push'](_0x3cc35f['shift']());}};_0xd25fd(++_0x5f0da9);}(_0x5f0d,0x163));const _0xd25f=function(_0x3cc35f,_0x5f0da9){_0x3cc35f=_0x3cc35f-0x0;let _0xd25fd=_0x5f0d[_0x3cc35f];return _0xd25fd;};import{View as _0x354a9a,ViewCollection as _0x25a0ba,FocusCycler as _0x59b8d0,ButtonView as _0x4e39a8}from'ckeditor5/src/ui';import{FocusTracker as _0x1ca0ac,KeystrokeHandler as _0x3fa963}from'ckeditor5/src/utils';import _0x421578 from'../commenteditor/commenteditor';import{getTranslation as _0x55b766}from'../../../utils/common-translations';export default class Xt extends _0x354a9a{constructor(_0x2efa25,_0x492be2={}){super(_0x2efa25),this[_0xd25f('0x36')]=null,this['_editorConfig']=_0x492be2,this[_0xd25f('0x1e')]=new _0x3fa963(),this[_0xd25f('0x29')]=new _0x1ca0ac(),this['set'](_0xd25f('0x16'),_0x492be2['initialData']||''),this['set'](_0xd25f('0x21'),!0x1),this['set'](_0xd25f('0x2a'),!0x0),this[_0xd25f('0x23')](_0xd25f('0x7'),_0x55b766(_0x2efa25,_0xd25f('0x8'))),this['set']('submitLabel',_0x55b766(_0x2efa25,'Reply')),this[_0xd25f('0x2c')]=this[_0xd25f('0x2f')](),this[_0xd25f('0x5')]=this[_0xd25f('0x33')](),this[_0xd25f('0x6')]({'tag':_0xd25f('0x10'),'attributes':{'class':[_0xd25f('0xb')]},'children':[{'tag':'div','attributes':{'class':[_0xd25f('0x24'),this[_0xd25f('0x28')]['if']('showButtons','ck-comment__input-actions--active')]},'children':[this[_0xd25f('0x2c')],this['cancelButtonView']]}]}),this['keystrokes'][_0xd25f('0x23')](_0xd25f('0xd'),(_0x58795c,_0x2f6d4f)=>{this[_0xd25f('0x5')][_0xd25f('0x1a')](_0xd25f('0x30')),_0x2f6d4f();}),this['on'](_0xd25f('0x9'),(_0x222ee8,_0xd9d23)=>{_0xd9d23[_0xd25f('0xa')]>0xfde8?(alert(_0x55b766(_0x2efa25,_0xd25f('0x35'),[_0xd9d23[_0xd25f('0xa')],0xfde8])),_0x222ee8[_0xd25f('0x1d')]()):this[_0xd25f('0x36')]['setData']('');},{'priority':_0xd25f('0xc')});}[_0xd25f('0x4')](){super[_0xd25f('0x4')](),this['keystrokes'][_0xd25f('0x22')](this['element']),this[_0xd25f('0x29')][_0xd25f('0x15')](this[_0xd25f('0x13')]);}['createEditor'](){return this['editor']||(this[_0xd25f('0x36')]=new _0x421578(this[_0xd25f('0x14')]),this[_0xd25f('0xe')]=this[_0xd25f('0x36')][_0xd25f('0x31')]()[_0xd25f('0xf')](()=>{if(this[_0xd25f('0x2d')])return;const _0x1158d1=this[_0xd25f('0x36')];this[_0xd25f('0x13')]['insertBefore'](_0x1158d1['ui']['element'],this['element'][_0xd25f('0x18')]),_0x1158d1['model'][_0xd25f('0x11')]['on'](_0xd25f('0x26'),()=>this[_0xd25f('0x16')]=_0x1158d1[_0xd25f('0x1b')]()),_0x1158d1[_0xd25f('0x17')](_0xd25f('0x7'))['to'](this),this[_0xd25f('0x1f')](this['editor']),this[_0xd25f('0x1a')]('editorReady',this['editor']);})),this[_0xd25f('0xe')];}[_0xd25f('0x19')](){this[_0xd25f('0x36')]&&this[_0xd25f('0x36')][_0xd25f('0x19')]();}async[_0xd25f('0x2b')](){this[_0xd25f('0x2d')]||(this['_isDestroyed']=!0x0,this[_0xd25f('0x36')]&&(await this[_0xd25f('0xe')],await this[_0xd25f('0x36')][_0xd25f('0x2b')](),this[_0xd25f('0x1a')]('editorDestroyed',this[_0xd25f('0x36')])),await super[_0xd25f('0x2b')]());}['_createSubmitButton'](){const {locale:_0x14ceb3}=this,_0x2f4384=new _0x4e39a8(_0x14ceb3);return _0x2f4384[_0xd25f('0x1c')]({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x2f4384[_0xd25f('0x37')]=!0x0,_0x2f4384['bind']('label')['to'](this,_0xd25f('0x27')),_0x2f4384['on'](_0xd25f('0x30'),()=>{this[_0xd25f('0x1a')]('submit',this['value']);}),_0x2f4384['bind']('isEnabled')['to'](this,_0xd25f('0x16'),this,_0xd25f('0x21'),(_0x2cf7da,_0x38fa4c)=>!_0x38fa4c&&!!_0x2cf7da[_0xd25f('0x2')]()),_0x2f4384;}['_createCancelButton'](){const {locale:_0xf6d100}=this,_0x51ddc4=new _0x4e39a8(_0xf6d100);return _0x51ddc4[_0xd25f('0x1c')]({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x51ddc4[_0xd25f('0x25')]=_0x55b766(_0xf6d100,_0xd25f('0x12')),_0x51ddc4['withText']=!0x0,_0x51ddc4['on'](_0xd25f('0x30'),()=>{this[_0xd25f('0x36')][_0xd25f('0x32')](''),this[_0xd25f('0x1a')]('cancel');}),_0x51ddc4;}['_initializeFocusCycling'](_0x6db742){const _0xc08159=this[_0xd25f('0x29')],_0x220d4e=new _0x25a0ba();[_0x6db742['ui'][_0xd25f('0x34')],this['submitButtonView'],this[_0xd25f('0x5')]][_0xd25f('0x0')](_0x3b1efb=>{_0x220d4e['add'](_0x3b1efb),_0xc08159[_0xd25f('0x15')](_0x3b1efb['element']);});const _0x213a99=new _0x59b8d0({'focusables':_0x220d4e,'focusTracker':_0xc08159});this[_0xd25f('0x1e')]['set']('tab',(_0x54cbe5,_0x13f111)=>{_0x213a99[_0xd25f('0x2e')](),_0x13f111();},{'priority':_0xd25f('0x3')}),this[_0xd25f('0x1e')][_0xd25f('0x23')](_0xd25f('0x1'),(_0x3eca6f,_0x242c5c)=>{_0x213a99[_0xd25f('0x20')](),_0x242c5c();},{'priority':_0xd25f('0x3')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xfdb3=['isEmpty','selectstart','destroy','arrowup','shift\x20+\x20tab','element','bindTemplate','auto','focus','_keystrokes','set','div','_focusables','ck-comments-archive','ck-comments-archive__content','render','stopPropagation','EMPTY_COMMENTS_ARCHIVE','tab','ck-comments-archive__info','length','_focusTracker','arrowdown','high','COMMENTS_ARCHIVE','listenTo'];(function(_0x561746,_0xfdb363){const _0x115ce4=function(_0x2719cc){while(--_0x2719cc){_0x561746['push'](_0x561746['shift']());}};_0x115ce4(++_0xfdb363);}(_0xfdb3,0x1cd));const _0x115c=function(_0x561746,_0xfdb363){_0x561746=_0x561746-0x0;let _0x115ce4=_0xfdb3[_0x561746];return _0x115ce4;};import{View as _0x34bcde,FocusCycler as _0x3d4736}from'ckeditor5/src/ui';import{FocusTracker as _0x19c830,KeystrokeHandler as _0x39a3a0}from'ckeditor5/src/utils';import{getTranslation as _0x364c71}from'../../../utils/common-translations';export default class K extends _0x34bcde{constructor(_0x4892b7,_0x3f706b){super(_0x4892b7),this['set']('isEmpty',!_0x3f706b['length']),this[_0x115c('0x2')]=new _0x19c830(),this[_0x115c('0x10')]=new _0x39a3a0(),this[_0x115c('0x13')]=_0x3f706b,this['_focusCycler']=new _0x3d4736({'focusables':this[_0x115c('0x13')],'focusTracker':this[_0x115c('0x2')],'keystrokeHandler':this[_0x115c('0x10')],'actions':{'focusPrevious':_0x115c('0xb'),'focusNext':_0x115c('0x19')}}),this[_0x115c('0x6')](_0x3f706b,'add',()=>{this[_0x115c('0x7')]=!0x1;}),this['listenTo'](_0x3f706b,'remove',(_0x453184,_0x314e2e)=>{_0x314e2e['isActive']&&this['focus'](),_0x3f706b[_0x115c('0x1')]||(this[_0x115c('0x7')]=!0x0);});const _0x36649f=this[_0x115c('0xd')];this['setTemplate']({'tag':_0x115c('0x12'),'attributes':{'dir':_0x115c('0xe'),'class':['ck',_0x115c('0x14')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':['ck-comments-archive__header\x20']},'children':[{'text':_0x364c71(_0x4892b7,_0x115c('0x5'))}]},{'tag':_0x115c('0x12'),'attributes':{'class':[_0x115c('0x15')]},'children':[{'tag':_0x115c('0x12'),'children':_0x3f706b},{'tag':'p','attributes':{'class':[_0x115c('0x0'),_0x36649f['if'](_0x115c('0x7'),'ck-hidden',_0x53bf65=>!_0x53bf65)]},'children':[{'text':_0x364c71(_0x4892b7,_0x115c('0x18'))}]}]}]});}[_0x115c('0x16')](){super[_0x115c('0x16')](),this[_0x115c('0x10')]['listenTo'](this[_0x115c('0xc')]);const _0x7b04d5=_0x58f841=>_0x58f841['stopPropagation']();this[_0x115c('0x10')][_0x115c('0x11')]('arrowright',_0x7b04d5),this['_keystrokes']['set']('arrowleft',_0x7b04d5),this[_0x115c('0x10')]['set'](_0x115c('0xa'),_0x7b04d5),this['_keystrokes'][_0x115c('0x11')](_0x115c('0x3'),_0x7b04d5),this[_0x115c('0x6')](this['element'],_0x115c('0x8'),(_0x24dca1,_0x1e1a5f)=>{_0x1e1a5f[_0x115c('0x17')]();},{'priority':_0x115c('0x4')});}[_0x115c('0x9')](){super['destroy'](),this[_0x115c('0x2')]['destroy'](),this[_0x115c('0x10')][_0x115c('0x9')]();}['focus'](){this[_0x115c('0xc')][_0x115c('0xf')]();}}
23
+ const _0x12cf=['arrowright','high','_keystrokes','length','listenTo','ck-comments-archive__content','arrowleft','_focusTracker','isActive','arrowup','auto','bindTemplate','isEmpty','remove','setTemplate','set','ck-comments-archive__info','stopPropagation','destroy','_focusables','arrowdown','COMMENTS_ARCHIVE','focus','element','shift\x20+\x20tab','div','ck-hidden','render'];(function(_0xaa5031,_0x12cf62){const _0x395e7b=function(_0x4255fb){while(--_0x4255fb){_0xaa5031['push'](_0xaa5031['shift']());}};_0x395e7b(++_0x12cf62);}(_0x12cf,0x90));const _0x395e=function(_0xaa5031,_0x12cf62){_0xaa5031=_0xaa5031-0x0;let _0x395e7b=_0x12cf[_0xaa5031];return _0x395e7b;};import{View as _0x13637c,FocusCycler as _0x565d57}from'ckeditor5/src/ui';import{FocusTracker as _0x239a11,KeystrokeHandler as _0x167d49}from'ckeditor5/src/utils';import{getTranslation as _0x32d3bd}from'../../../utils/common-translations';export default class K extends _0x13637c{constructor(_0x3cfa6e,_0x46300e){super(_0x3cfa6e),this[_0x395e('0xb')](_0x395e('0x8'),!_0x46300e[_0x395e('0x1b')]),this[_0x395e('0x3')]=new _0x239a11(),this[_0x395e('0x1a')]=new _0x167d49(),this[_0x395e('0xf')]=_0x46300e,this['_focusCycler']=new _0x565d57({'focusables':this[_0x395e('0xf')],'focusTracker':this[_0x395e('0x3')],'keystrokeHandler':this[_0x395e('0x1a')],'actions':{'focusPrevious':_0x395e('0x14'),'focusNext':'tab'}}),this['listenTo'](_0x46300e,'add',()=>{this[_0x395e('0x8')]=!0x1;}),this[_0x395e('0x0')](_0x46300e,_0x395e('0x9'),(_0x2d99a8,_0x4a9829)=>{_0x4a9829[_0x395e('0x4')]&&this['focus'](),_0x46300e[_0x395e('0x1b')]||(this[_0x395e('0x8')]=!0x0);});const _0x132b1c=this[_0x395e('0x7')];this[_0x395e('0xa')]({'tag':'div','attributes':{'dir':_0x395e('0x6'),'class':['ck','ck-comments-archive'],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':['ck-comments-archive__header\x20']},'children':[{'text':_0x32d3bd(_0x3cfa6e,_0x395e('0x11'))}]},{'tag':_0x395e('0x15'),'attributes':{'class':[_0x395e('0x1')]},'children':[{'tag':_0x395e('0x15'),'children':_0x46300e},{'tag':'p','attributes':{'class':[_0x395e('0xc'),_0x132b1c['if']('isEmpty',_0x395e('0x16'),_0x29d96b=>!_0x29d96b)]},'children':[{'text':_0x32d3bd(_0x3cfa6e,'EMPTY_COMMENTS_ARCHIVE')}]}]}]});}[_0x395e('0x17')](){super[_0x395e('0x17')](),this['_keystrokes']['listenTo'](this[_0x395e('0x13')]);const _0x2e0051=_0x3844c0=>_0x3844c0[_0x395e('0xd')]();this[_0x395e('0x1a')][_0x395e('0xb')](_0x395e('0x18'),_0x2e0051),this[_0x395e('0x1a')][_0x395e('0xb')](_0x395e('0x2'),_0x2e0051),this[_0x395e('0x1a')]['set'](_0x395e('0x5'),_0x2e0051),this[_0x395e('0x1a')][_0x395e('0xb')](_0x395e('0x10'),_0x2e0051),this[_0x395e('0x0')](this[_0x395e('0x13')],'selectstart',(_0x160876,_0x195596)=>{_0x195596[_0x395e('0xd')]();},{'priority':_0x395e('0x19')});}[_0x395e('0xe')](){super[_0x395e('0xe')](),this[_0x395e('0x3')]['destroy'](),this[_0x395e('0x1a')][_0x395e('0xe')]();}[_0x395e('0x12')](){this[_0x395e('0x13')][_0x395e('0x12')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2935=['visibleViews','expand','maxThreadTotalWeight','createCollection','CommentView','bind','_config','resolvedCommentView','setTemplate','_model','comments','Marked\x20as\x20resolved','resolvedBy','formatDateTime','viewUid','isEditMode','editorConfig','_rearrangeExpand','add','resolveCommentThread','_rearrangeCollapse','commentUpdated','_shouldCollapse','destroy','_handleInfoComment','element','authoredAt','maxCommentCharsWhenCollapsed','_findOptimalIndex','resolved','stopListening','updateComment','focus','delegate','length','editorReady','count','remove','commentViews','isActive','editorDestroyed','_updateHasDirtyComment','delete','_handleNewCommentModel','locale','_handleRemoveCommentModel','hasDirtyComment','render','listenTo','set','ck-thread__comments','get','resolvedAt','collapse','_calculatePosition','maxCommentsWhenCollapsed','from','refreshVisibleViews','_collapsedCommentsView','change:hasDirtyComment','equal','some'];(function(_0xdd3bbb,_0x293515){const _0x5f17fe=function(_0x507f66){while(--_0x507f66){_0xdd3bbb['push'](_0xdd3bbb['shift']());}};_0x5f17fe(++_0x293515);}(_0x2935,0x9e));const _0x5f17=function(_0xdd3bbb,_0x293515){_0xdd3bbb=_0xdd3bbb-0x0;let _0x5f17fe=_0x2935[_0xdd3bbb];return _0x5f17fe;};import{View as _0x1811ee}from'ckeditor5/src/ui';import{diff as _0x1b44b2,Collection as _0x446745}from'ckeditor5/src/utils';import{getTranslation as _0x4b86d7}from'../../../utils/common-translations';import _0x4ff141 from'./collapsedcommentsview';export default class wt extends _0x1811ee{constructor(_0x2f903f,_0x2bd037,_0x5533f0){super(_0x2f903f),this[_0x5f17('0xf')](_0x5f17('0xc'),!0x1),this[_0x5f17('0xf')](_0x5f17('0x0'),_0x2bd037['comments']['length']),this[_0x5f17('0xf')](_0x5f17('0x5'),!0x1),this[_0x5f17('0x25')]=_0x2bd037,this[_0x5f17('0x22')]=_0x5533f0,this['commentViews']=this[_0x5f17('0x1f')](),this[_0x5f17('0x1c')]=this[_0x5f17('0x1f')](),this[_0x5f17('0x23')]=null,this[_0x5f17('0x18')]=new _0x4ff141(_0x2f903f),this[_0x5f17('0x18')][_0x5f17('0x21')]('count')['to'](this,_0x5f17('0x0'),_0x42b826=>_0x42b826-this[_0x5f17('0x22')][_0x5f17('0x15')]);for(const _0x53569c of _0x2bd037[_0x5f17('0x26')])this[_0x5f17('0x9')](_0x53569c);this[_0x5f17('0x34')](),this['listenTo'](_0x2bd037[_0x5f17('0x26')],_0x5f17('0x2e'),(_0x229e4a,_0x5c1e68)=>{const _0x503cfa=this[_0x5f17('0x14')](_0x5c1e68);this['length']++,this[_0x5f17('0x9')](_0x5c1e68,_0x503cfa),this['refreshVisibleViews']();}),this['listenTo'](_0x2bd037[_0x5f17('0x26')],'remove',(_0x4168d3,_0x4f24f0)=>{this[_0x5f17('0x0')]--,this[_0x5f17('0xb')](_0x4f24f0),this[_0x5f17('0x17')]();}),this[_0x5f17('0xe')](_0x2bd037,_0x5f17('0x31'),()=>this[_0x5f17('0x17')]()),this[_0x5f17('0xe')](_0x2bd037,'change:isResolved',()=>this[_0x5f17('0x34')]()),this['on']('change:isActive',()=>this[_0x5f17('0x17')]()),this['on'](_0x5f17('0x19'),()=>this['refreshVisibleViews']()),this[_0x5f17('0x24')]({'tag':'ul','attributes':{'class':[_0x5f17('0x10')]},'children':this[_0x5f17('0x1c')]});}get[_0x5f17('0x32')](){return this[_0x5f17('0x25')]['weight']>this[_0x5f17('0x22')][_0x5f17('0x1e')]&&!this[_0x5f17('0x5')]&&!this['hasDirtyComment'];}[_0x5f17('0xd')](){super[_0x5f17('0xd')](),this[_0x5f17('0x17')]();}[_0x5f17('0x3c')](){this[_0x5f17('0x35')][_0x5f17('0x3c')]();}[_0x5f17('0x33')](){this['_collapsedCommentsView']['destroy']();for(const _0x26a69c of this[_0x5f17('0x4')])_0x26a69c[_0x5f17('0x33')]();super[_0x5f17('0x33')]();}[_0x5f17('0x17')](){this[_0x5f17('0x32')]?this['_rearrangeCollapse']():this[_0x5f17('0x2d')]();}[_0x5f17('0x9')](_0x156ac2,_0xbd0888){const _0x28ce9b=new this[(_0x5f17('0x22'))][(_0x5f17('0x20'))](this[_0x5f17('0xa')],_0x156ac2,{'maxCommentCharsWhenCollapsed':this[_0x5f17('0x22')][_0x5f17('0x37')],'formatDateTime':this[_0x5f17('0x22')][_0x5f17('0x29')],'editorConfig':this['_config'][_0x5f17('0x2c')]});_0x28ce9b[_0x5f17('0x2a')]=_0x156ac2['id'],_0x28ce9b['delegate']('removeComment')['to'](this),_0x28ce9b[_0x5f17('0x3d')](_0x5f17('0x3b'))['to'](this),_0x28ce9b['delegate'](_0x5f17('0x2f'))['to'](this),_0x28ce9b[_0x5f17('0x3d')](_0x5f17('0x1'))['to'](this),_0x28ce9b[_0x5f17('0x3d')](_0x5f17('0x6'))['to'](this),this[_0x5f17('0xe')](_0x28ce9b,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this['commentViews'][_0x5f17('0x2e')](_0x28ce9b,_0xbd0888);}[_0x5f17('0x14')](_0x3b0185){const _0x355d39=this[_0x5f17('0x25')][_0x5f17('0x38')](_0x3b0185);return this[_0x5f17('0x23')]?this[_0x5f17('0x23')][_0x5f17('0x36')]>_0x3b0185[_0x5f17('0x36')]?_0x355d39-0x1:_0x355d39:_0x355d39-0x1;}['_handleInfoComment'](){if(this[_0x5f17('0x25')]['resolvedBy']&&this[_0x5f17('0x25')][_0x5f17('0x12')]){const _0x38dfef={'id':_0x5f17('0x39'),'author':this[_0x5f17('0x25')][_0x5f17('0x28')],'authoredAt':this[_0x5f17('0x25')]['resolvedAt'],'content':_0x4b86d7(this[_0x5f17('0xa')],_0x5f17('0x27')),'attributes':{}};this[_0x5f17('0x23')]=new this[(_0x5f17('0x22'))][(_0x5f17('0x20'))](this[_0x5f17('0xa')],_0x38dfef,{'maxCommentCharsWhenCollapsed':this[_0x5f17('0x22')]['maxCommentCharsWhenCollapsed'],'formatDateTime':this[_0x5f17('0x22')][_0x5f17('0x29')],'editorConfig':this['_config'][_0x5f17('0x2c')],'isSystemComment':!0x0}),this[_0x5f17('0x4')][_0x5f17('0x2e')](this['resolvedCommentView'],this[_0x5f17('0x25')][_0x5f17('0x38')](_0x38dfef));}else this[_0x5f17('0x23')]&&(this[_0x5f17('0x4')][_0x5f17('0x3')](this['resolvedCommentView']),this[_0x5f17('0x23')]['destroy'](),this[_0x5f17('0x23')]=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x3d3c34){const _0x5a3dfc=this['commentViews']['remove'](_0x3d3c34['id']);this[_0x5f17('0x3a')](_0x5a3dfc),_0x5a3dfc[_0x5f17('0x2b')]&&this[_0x5f17('0x7')](),_0x5a3dfc['destroy']();}[_0x5f17('0x7')](){this['hasDirtyComment']=Array[_0x5f17('0x16')](this[_0x5f17('0x4')])[_0x5f17('0x1b')](_0x1e7685=>_0x1e7685['isEditMode']);}[_0x5f17('0x30')](){const _0x255c98=function(_0x6217a9){const _0x478064=new _0x446745();for(const _0x479cf8 of _0x6217a9)_0x478064[_0x5f17('0x2e')](_0x479cf8);return _0x478064;}(this[_0x5f17('0x4')]),_0x5f1aa3=this[_0x5f17('0x18')][_0x5f17('0x2')];for(let _0x11b8fd=0x1;_0x11b8fd<=_0x5f1aa3;_0x11b8fd++)_0x255c98[_0x5f17('0x3')](0x1);for(const _0x334298 of _0x255c98)_0x334298[_0x5f17('0x13')]();_0x5f1aa3>0x0&&_0x255c98[_0x5f17('0x2e')](this[_0x5f17('0x18')],0x1),ss(_0x1b44b2(Array[_0x5f17('0x16')](this[_0x5f17('0x1c')]),Array[_0x5f17('0x16')](_0x255c98)),this[_0x5f17('0x1c')],_0x255c98);}['_rearrangeExpand'](){ss(_0x1b44b2(Array[_0x5f17('0x16')](this[_0x5f17('0x1c')]),Array['from'](this['commentViews'])),this[_0x5f17('0x1c')],this['commentViews']);for(const _0x40ed8a of this[_0x5f17('0x1c')])_0x40ed8a[_0x5f17('0x1d')]();}}function ss(_0x99827d,_0xcca951,_0x5a0bfc){let _0x3e347d=0x0;for(const _0x2ec7be of _0x99827d)switch(_0x2ec7be){case'insert':_0xcca951['add'](_0x5a0bfc[_0x5f17('0x11')](_0x3e347d),_0x3e347d),_0x3e347d++;break;case _0x5f17('0x8'):_0xcca951[_0x5f17('0x3')](_0x3e347d);break;case _0x5f17('0x1a'):_0x3e347d++;}}
23
+ const _0x2246=['remove','createCollection','editorDestroyed','_rearrangeExpand','set','render','get','commentUpdated','equal','change:isResolved','comments','bind','listenTo','isEditMode','_handleNewCommentModel','length','Marked\x20as\x20resolved','count','_config','authoredAt','_shouldCollapse','commentViews','ck-thread__comments','delegate','editorConfig','_rearrangeCollapse','expand','visibleViews','removeComment','from','hasDirtyComment','focus','resolvedCommentView','_collapsedCommentsView','resolved','CommentView','maxCommentsWhenCollapsed','_updateHasDirtyComment','_model','_calculatePosition','change:isEditMode','formatDateTime','change:hasDirtyComment','refreshVisibleViews','stopListening','collapse','some','resolvedAt','maxCommentCharsWhenCollapsed','locale','add','isActive','_handleRemoveCommentModel','destroy','resolvedBy','_findOptimalIndex','_handleInfoComment','updateComment'];(function(_0x51ab24,_0x224616){const _0xcb0753=function(_0x5a2ddc){while(--_0x5a2ddc){_0x51ab24['push'](_0x51ab24['shift']());}};_0xcb0753(++_0x224616);}(_0x2246,0x1bb));const _0xcb07=function(_0x51ab24,_0x224616){_0x51ab24=_0x51ab24-0x0;let _0xcb0753=_0x2246[_0x51ab24];return _0xcb0753;};import{View as _0x7b6e65}from'ckeditor5/src/ui';import{diff as _0x39618b,Collection as _0x573522}from'ckeditor5/src/utils';import{getTranslation as _0x40c19b}from'../../../utils/common-translations';import _0x4d198c from'./collapsedcommentsview';export default class wt extends _0x7b6e65{constructor(_0x44829a,_0x23d413,_0x2f0ad2){super(_0x44829a),this['set'](_0xcb07('0x33'),!0x1),this[_0xcb07('0x19')](_0xcb07('0x24'),_0x23d413[_0xcb07('0x1f')][_0xcb07('0x24')]),this[_0xcb07('0x19')](_0xcb07('0xe'),!0x1),this[_0xcb07('0x1')]=_0x23d413,this[_0xcb07('0x27')]=_0x2f0ad2,this[_0xcb07('0x2a')]=this[_0xcb07('0x16')](),this[_0xcb07('0x30')]=this[_0xcb07('0x16')](),this[_0xcb07('0x35')]=null,this['_collapsedCommentsView']=new _0x4d198c(_0x44829a),this[_0xcb07('0x36')][_0xcb07('0x20')](_0xcb07('0x26'))['to'](this,_0xcb07('0x24'),_0x323914=>_0x323914-this[_0xcb07('0x27')][_0xcb07('0x39')]);for(const _0x4fc743 of _0x23d413[_0xcb07('0x1f')])this[_0xcb07('0x23')](_0x4fc743);this[_0xcb07('0x13')](),this[_0xcb07('0x21')](_0x23d413[_0xcb07('0x1f')],_0xcb07('0xd'),(_0x530fff,_0x12c944)=>{const _0x28727c=this['_calculatePosition'](_0x12c944);this['length']++,this[_0xcb07('0x23')](_0x12c944,_0x28727c),this[_0xcb07('0x6')]();}),this[_0xcb07('0x21')](_0x23d413[_0xcb07('0x1f')],_0xcb07('0x15'),(_0x5d266a,_0xbe32be)=>{this[_0xcb07('0x24')]--,this[_0xcb07('0xf')](_0xbe32be),this['refreshVisibleViews']();}),this[_0xcb07('0x21')](_0x23d413,_0xcb07('0x1c'),()=>this['refreshVisibleViews']()),this[_0xcb07('0x21')](_0x23d413,_0xcb07('0x1e'),()=>this[_0xcb07('0x13')]()),this['on']('change:isActive',()=>this[_0xcb07('0x6')]()),this['on'](_0xcb07('0x5'),()=>this[_0xcb07('0x6')]()),this['setTemplate']({'tag':'ul','attributes':{'class':[_0xcb07('0x2b')]},'children':this['visibleViews']});}get[_0xcb07('0x29')](){return this['_model']['weight']>this[_0xcb07('0x27')]['maxThreadTotalWeight']&&!this[_0xcb07('0xe')]&&!this[_0xcb07('0x33')];}['render'](){super[_0xcb07('0x1a')](),this[_0xcb07('0x6')]();}[_0xcb07('0x34')](){this['element'][_0xcb07('0x34')]();}[_0xcb07('0x10')](){this[_0xcb07('0x36')][_0xcb07('0x10')]();for(const _0x2cf7ac of this[_0xcb07('0x2a')])_0x2cf7ac[_0xcb07('0x10')]();super[_0xcb07('0x10')]();}[_0xcb07('0x6')](){this[_0xcb07('0x29')]?this[_0xcb07('0x2e')]():this['_rearrangeExpand']();}[_0xcb07('0x23')](_0x4665db,_0x1de910){const _0x1269bf=new this[(_0xcb07('0x27'))][(_0xcb07('0x38'))](this[_0xcb07('0xc')],_0x4665db,{'maxCommentCharsWhenCollapsed':this[_0xcb07('0x27')][_0xcb07('0xb')],'formatDateTime':this[_0xcb07('0x27')][_0xcb07('0x4')],'editorConfig':this[_0xcb07('0x27')][_0xcb07('0x2d')]});_0x1269bf['viewUid']=_0x4665db['id'],_0x1269bf[_0xcb07('0x2c')](_0xcb07('0x31'))['to'](this),_0x1269bf['delegate'](_0xcb07('0x14'))['to'](this),_0x1269bf[_0xcb07('0x2c')]('resolveCommentThread')['to'](this),_0x1269bf[_0xcb07('0x2c')]('editorReady')['to'](this),_0x1269bf[_0xcb07('0x2c')](_0xcb07('0x17'))['to'](this),this[_0xcb07('0x21')](_0x1269bf,_0xcb07('0x3'),()=>this[_0xcb07('0x0')]()),this[_0xcb07('0x2a')][_0xcb07('0xd')](_0x1269bf,_0x1de910);}[_0xcb07('0x2')](_0x53b32f){const _0x5e96c0=this[_0xcb07('0x1')][_0xcb07('0x12')](_0x53b32f);return this[_0xcb07('0x35')]?this['resolvedCommentView'][_0xcb07('0x28')]>_0x53b32f[_0xcb07('0x28')]?_0x5e96c0-0x1:_0x5e96c0:_0x5e96c0-0x1;}[_0xcb07('0x13')](){if(this[_0xcb07('0x1')][_0xcb07('0x11')]&&this[_0xcb07('0x1')][_0xcb07('0xa')]){const _0x580c20={'id':_0xcb07('0x37'),'author':this[_0xcb07('0x1')][_0xcb07('0x11')],'authoredAt':this['_model'][_0xcb07('0xa')],'content':_0x40c19b(this[_0xcb07('0xc')],_0xcb07('0x25')),'attributes':{}};this[_0xcb07('0x35')]=new this[(_0xcb07('0x27'))]['CommentView'](this[_0xcb07('0xc')],_0x580c20,{'maxCommentCharsWhenCollapsed':this[_0xcb07('0x27')]['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config'][_0xcb07('0x4')],'editorConfig':this[_0xcb07('0x27')][_0xcb07('0x2d')],'isSystemComment':!0x0}),this['commentViews'][_0xcb07('0xd')](this[_0xcb07('0x35')],this['_model'][_0xcb07('0x12')](_0x580c20));}else this[_0xcb07('0x35')]&&(this[_0xcb07('0x2a')]['remove'](this[_0xcb07('0x35')]),this['resolvedCommentView'][_0xcb07('0x10')](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}[_0xcb07('0xf')](_0x4a8798){const _0x48ae20=this[_0xcb07('0x2a')][_0xcb07('0x15')](_0x4a8798['id']);this[_0xcb07('0x7')](_0x48ae20),_0x48ae20[_0xcb07('0x22')]&&this[_0xcb07('0x0')](),_0x48ae20['destroy']();}[_0xcb07('0x0')](){this['hasDirtyComment']=Array[_0xcb07('0x32')](this[_0xcb07('0x2a')])[_0xcb07('0x9')](_0x445766=>_0x445766[_0xcb07('0x22')]);}[_0xcb07('0x2e')](){const _0x464160=function(_0x158c42){const _0x20e9ce=new _0x573522();for(const _0x37270b of _0x158c42)_0x20e9ce[_0xcb07('0xd')](_0x37270b);return _0x20e9ce;}(this[_0xcb07('0x2a')]),_0x60ffa2=this[_0xcb07('0x36')][_0xcb07('0x26')];for(let _0xc99cc0=0x1;_0xc99cc0<=_0x60ffa2;_0xc99cc0++)_0x464160[_0xcb07('0x15')](0x1);for(const _0x50c77d of _0x464160)_0x50c77d[_0xcb07('0x8')]();_0x60ffa2>0x0&&_0x464160[_0xcb07('0xd')](this[_0xcb07('0x36')],0x1),ss(_0x39618b(Array['from'](this['visibleViews']),Array[_0xcb07('0x32')](_0x464160)),this[_0xcb07('0x30')],_0x464160);}[_0xcb07('0x18')](){ss(_0x39618b(Array[_0xcb07('0x32')](this['visibleViews']),Array['from'](this[_0xcb07('0x2a')])),this['visibleViews'],this['commentViews']);for(const _0x3122de of this[_0xcb07('0x30')])_0x3122de[_0xcb07('0x2f')]();}}function ss(_0x575880,_0x2abd09,_0x347fd9){let _0x2a6909=0x0;for(const _0x526cf8 of _0x575880)switch(_0x526cf8){case'insert':_0x2abd09[_0xcb07('0xd')](_0x347fd9[_0xcb07('0x1b')](_0x2a6909),_0x2a6909),_0x2a6909++;break;case'delete':_0x2abd09[_0xcb07('0x15')](_0x2a6909);break;case _0xcb07('0x1d'):_0x2a6909++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2bcc=['ck-context','substring','label','classList','fire','reopenButtonView','context','overlay','div','render','ck-annotation__actions','ck-context--quotes','ck-thread__header','value','.ck-context','hasContext','add','icon','listenTo','_trimContextValue','querySelector','isVisible','_model','element','ck-context-wrapper','_createReopenButton','ck-context__value','offsetWidth','bind','isResolvable','locale','mouseenter','...','bindTemplate','mouseleave','isReadOnly','contextValue','lastIndexOf','length','Reopen','Comment\x20was\x20made\x20on\x20an\x20element','.ck-context__value','span','setTemplate'];(function(_0x8d3ea5,_0x2bcc62){const _0x26e270=function(_0x1aefcc){while(--_0x1aefcc){_0x8d3ea5['push'](_0x8d3ea5['shift']());}};_0x26e270(++_0x2bcc62);}(_0x2bcc,0x89));const _0x26e2=function(_0x8d3ea5,_0x2bcc62){_0x8d3ea5=_0x8d3ea5-0x0;let _0x26e270=_0x2bcc[_0x8d3ea5];return _0x26e270;};import{View as _0x1fda41,ButtonView as _0x5df74b}from'ckeditor5/src/ui';import{getTranslation as _0x29d8b9}from'../../../utils/common-translations';import _0x14d6b3 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Rt extends _0x1fda41{constructor(_0x5b406a,_0x526a7c){super(_0x5b406a);const _0x3b6fbe=this[_0x26e2('0x1c')];this[_0x26e2('0x11')]=_0x526a7c,this[_0x26e2('0x0')]=this[_0x26e2('0x14')](),this['bind'](_0x26e2('0xa'))['to'](this[_0x26e2('0x11')],_0x26e2('0x1'),_0x1b1144=>!!_0x1b1144),this[_0x26e2('0x17')](_0x26e2('0x1f'))['to'](this[_0x26e2('0x11')],_0x26e2('0x1'),_0x290968=>_0x290968&&_0x290968[_0x26e2('0x8')]?this[_0x26e2('0xe')](_0x290968['value']):_0x29d8b9(this['locale'],_0x26e2('0x23'))),this[_0x26e2('0x26')]({'tag':_0x26e2('0x3'),'attributes':{'class':[_0x26e2('0x7')]},'children':[{'tag':_0x26e2('0x3'),'attributes':{'class':[_0x26e2('0x13')]},'children':[{'tag':_0x26e2('0x3'),'attributes':{'class':[_0x26e2('0x27'),_0x3b6fbe['if'](_0x26e2('0xa'),_0x26e2('0x6'))]},'children':[{'tag':_0x26e2('0x25'),'attributes':{'class':[_0x26e2('0x15')]},'children':[{'text':_0x3b6fbe['to'](_0x26e2('0x1f'))}]}]}]},{'tag':'div','attributes':{'class':[_0x26e2('0x5')]},'children':[this[_0x26e2('0x0')]]}]});}['render'](){super[_0x26e2('0x4')](),this['_attachContextActions']();}[_0x26e2('0x14')](){const _0x384e83=new _0x5df74b(this[_0x26e2('0x19')]);return _0x384e83[_0x26e2('0x29')]=_0x29d8b9(this[_0x26e2('0x19')],_0x26e2('0x22')),_0x384e83['tooltip']=_0x29d8b9(this[_0x26e2('0x19')],'Reopen'),_0x384e83[_0x26e2('0xc')]=_0x14d6b3,_0x384e83[_0x26e2('0x17')]('isEnabled')['to'](this[_0x26e2('0x11')],_0x26e2('0x1e'),_0x54f6b6=>!_0x54f6b6),_0x384e83[_0x26e2('0x17')](_0x26e2('0x10'))['to'](this[_0x26e2('0x11')],_0x26e2('0x18')),_0x384e83['on']('execute',()=>{this[_0x26e2('0x2b')]('reopenCommentThread',this[_0x26e2('0x11')]['id']);}),_0x384e83;}[_0x26e2('0xe')](_0x3f74cb){if(_0x3f74cb[_0x26e2('0x21')]<0x96)return _0x3f74cb;const _0x234c64=_0x3f74cb[_0x26e2('0x20')]('\x20',0x93);return _0x3f74cb[_0x26e2('0x28')](0x0,_0x234c64>-0x1?_0x234c64:0x93)+_0x26e2('0x1b');}['_attachContextActions'](){const _0x455532=this[_0x26e2('0x12')][_0x26e2('0xf')](_0x26e2('0x9')),_0x1741b9=_0x455532[_0x26e2('0xf')](_0x26e2('0x24'));this[_0x26e2('0xd')](_0x455532,_0x26e2('0x1a'),()=>{_0x1741b9[_0x26e2('0x16')]<_0x1741b9['scrollWidth']&&_0x455532[_0x26e2('0x2a')][_0x26e2('0xb')](_0x26e2('0x2'));}),this[_0x26e2('0xd')](_0x455532,_0x26e2('0x1d'),()=>{_0x455532[_0x26e2('0x2a')]['remove'](_0x26e2('0x2'));});}}
23
+ const _0x3da5=['tooltip','setTemplate','add','label','mouseleave','fire','length','div','mouseenter','overlay','lastIndexOf','Reopen','hasContext','_attachContextActions','listenTo','element','ck-context','value','render','_model','ck-context--quotes','isVisible','offsetWidth','remove','ck-thread__header','_createReopenButton','classList','ck-annotation__actions','.ck-context__value','context','Comment\x20was\x20made\x20on\x20an\x20element','_trimContextValue','bindTemplate','execute','contextValue','reopenCommentThread','isResolvable','bind','locale','querySelector','reopenButtonView'];(function(_0x1a4a64,_0x3da5d7){const _0x206f50=function(_0x1efa3b){while(--_0x1efa3b){_0x1a4a64['push'](_0x1a4a64['shift']());}};_0x206f50(++_0x3da5d7);}(_0x3da5,0xd2));const _0x206f=function(_0x1a4a64,_0x3da5d7){_0x1a4a64=_0x1a4a64-0x0;let _0x206f50=_0x3da5[_0x1a4a64];return _0x206f50;};import{View as _0x18b2a1,ButtonView as _0x2e5a84}from'ckeditor5/src/ui';import{getTranslation as _0x28b521}from'../../../utils/common-translations';import _0x31d0dd from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Rt extends _0x18b2a1{constructor(_0xd93f21,_0x4aa3aa){super(_0xd93f21);const _0x368d1c=this[_0x206f('0x1b')];this[_0x206f('0xe')]=_0x4aa3aa,this[_0x206f('0x23')]=this[_0x206f('0x14')](),this[_0x206f('0x20')](_0x206f('0x7'))['to'](this[_0x206f('0xe')],_0x206f('0x18'),_0x39aa1b=>!!_0x39aa1b),this[_0x206f('0x20')](_0x206f('0x1d'))['to'](this[_0x206f('0xe')],_0x206f('0x18'),_0x23395c=>_0x23395c&&_0x23395c[_0x206f('0xc')]?this[_0x206f('0x1a')](_0x23395c['value']):_0x28b521(this['locale'],_0x206f('0x19'))),this[_0x206f('0x25')]({'tag':_0x206f('0x2'),'attributes':{'class':[_0x206f('0x13')]},'children':[{'tag':_0x206f('0x2'),'attributes':{'class':['ck-context-wrapper']},'children':[{'tag':_0x206f('0x2'),'attributes':{'class':[_0x206f('0xb'),_0x368d1c['if'](_0x206f('0x7'),_0x206f('0xf'))]},'children':[{'tag':'span','attributes':{'class':['ck-context__value']},'children':[{'text':_0x368d1c['to'](_0x206f('0x1d'))}]}]}]},{'tag':_0x206f('0x2'),'attributes':{'class':[_0x206f('0x16')]},'children':[this[_0x206f('0x23')]]}]});}[_0x206f('0xd')](){super[_0x206f('0xd')](),this[_0x206f('0x8')]();}[_0x206f('0x14')](){const _0x2e0118=new _0x2e5a84(this[_0x206f('0x21')]);return _0x2e0118[_0x206f('0x27')]=_0x28b521(this[_0x206f('0x21')],_0x206f('0x6')),_0x2e0118[_0x206f('0x24')]=_0x28b521(this[_0x206f('0x21')],_0x206f('0x6')),_0x2e0118['icon']=_0x31d0dd,_0x2e0118[_0x206f('0x20')]('isEnabled')['to'](this[_0x206f('0xe')],'isReadOnly',_0x282390=>!_0x282390),_0x2e0118[_0x206f('0x20')](_0x206f('0x10'))['to'](this[_0x206f('0xe')],_0x206f('0x1f')),_0x2e0118['on'](_0x206f('0x1c'),()=>{this[_0x206f('0x0')](_0x206f('0x1e'),this[_0x206f('0xe')]['id']);}),_0x2e0118;}[_0x206f('0x1a')](_0x20ff45){if(_0x20ff45[_0x206f('0x1')]<0x96)return _0x20ff45;const _0x26a9e6=_0x20ff45[_0x206f('0x5')]('\x20',0x93);return _0x20ff45['substring'](0x0,_0x26a9e6>-0x1?_0x26a9e6:0x93)+'...';}['_attachContextActions'](){const _0x1ffcbb=this[_0x206f('0xa')][_0x206f('0x22')]('.ck-context'),_0x41efcf=_0x1ffcbb[_0x206f('0x22')](_0x206f('0x17'));this[_0x206f('0x9')](_0x1ffcbb,_0x206f('0x3'),()=>{_0x41efcf[_0x206f('0x11')]<_0x41efcf['scrollWidth']&&_0x1ffcbb[_0x206f('0x15')][_0x206f('0x26')](_0x206f('0x4'));}),this[_0x206f('0x9')](_0x1ffcbb,_0x206f('0x28'),()=>{_0x1ffcbb[_0x206f('0x15')][_0x206f('0x12')](_0x206f('0x4'));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x52d0=['change:showInput','delegate','userView','showButtons','bind','extendTemplate','set','editor','showInput','bindTemplate','ck-comment__input-container--active','createEditor','editorReady','editorDestroyed','commentInputView','then','focusTracker','ck-comment__input-container','ck-thread__user'];(function(_0x449ee4,_0x52d0e4){var _0x2cca66=function(_0x3e6258){while(--_0x3e6258){_0x449ee4['push'](_0x449ee4['shift']());}};_0x2cca66(++_0x52d0e4);}(_0x52d0,0x184));var _0x2cca=function(_0x449ee4,_0x52d0e4){_0x449ee4=_0x449ee4-0x0;var _0x2cca66=_0x52d0[_0x449ee4];return _0x2cca66;};import{View as _0xc6f868}from'ckeditor5/src/ui';import _0x417112 from'./commentinputview';import{UserView as _0x4bfcea}from'ckeditor5-collaboration/src/collaboration-core';export default class Ct extends _0xc6f868{constructor(_0x555b03,_0x45cbcc,_0x3e7280){super(_0x555b03),this[_0x2cca('0x6')]=new _0x417112(_0x555b03,_0x3e7280),this['commentInputView'][_0x2cca('0xf')](_0x2cca('0xe'))['to'](this[_0x2cca('0x6')][_0x2cca('0x8')],'isFocused',this[_0x2cca('0x6')],'value',(_0x51fa8b,_0x281f09)=>_0x51fa8b||!!_0x281f09),this[_0x2cca('0x11')](_0x2cca('0x0'),!0x1),this['on'](_0x2cca('0xb'),()=>{this[_0x2cca('0x0')]&&!this[_0x2cca('0x6')][_0x2cca('0x12')]&&this[_0x2cca('0x6')][_0x2cca('0x3')]();}),this[_0x2cca('0x6')]['delegate'](_0x2cca('0x4'))['to'](this),this[_0x2cca('0x6')][_0x2cca('0xc')](_0x2cca('0x5'))['to'](this),this['userView']=new _0x4bfcea(_0x555b03,_0x45cbcc),this[_0x2cca('0xd')]['extendTemplate']({'attributes':{'class':_0x2cca('0xa')}}),this[_0x2cca('0x6')][_0x2cca('0x10')]({'attributes':{'class':'ck-thread__input'}}),this['setTemplate']({'tag':'div','attributes':{'class':[_0x2cca('0x9'),this[_0x2cca('0x1')]['if'](_0x2cca('0x0'),_0x2cca('0x2'))]},'children':[this['userView'],this[_0x2cca('0x6')]]});}['destroy'](){return this[_0x2cca('0x6')]['destroy']()[_0x2cca('0x7')](()=>super['destroy']());}}
23
+ var _0x115d=['div','ck-thread__input','ck-comment__input-container','ck-thread__user','focusTracker','commentInputView','showInput','editor','editorDestroyed','change:showInput','extendTemplate','editorReady','destroy','showButtons','isFocused','ck-comment__input-container--active','delegate','userView','bindTemplate','createEditor','setTemplate'];(function(_0x48ea44,_0x115ddd){var _0x29c146=function(_0x35eda4){while(--_0x35eda4){_0x48ea44['push'](_0x48ea44['shift']());}};_0x29c146(++_0x115ddd);}(_0x115d,0x77));var _0x29c1=function(_0x48ea44,_0x115ddd){_0x48ea44=_0x48ea44-0x0;var _0x29c146=_0x115d[_0x48ea44];return _0x29c146;};import{View as _0x4f9b1b}from'ckeditor5/src/ui';import _0x519c7e from'./commentinputview';import{UserView as _0x4272da}from'ckeditor5-collaboration/src/collaboration-core';export default class Ct extends _0x4f9b1b{constructor(_0x2da251,_0x2bb317,_0x4de1cf){super(_0x2da251),this['commentInputView']=new _0x519c7e(_0x2da251,_0x4de1cf),this[_0x29c1('0xc')]['bind'](_0x29c1('0x14'))['to'](this[_0x29c1('0xc')][_0x29c1('0xb')],_0x29c1('0x0'),this['commentInputView'],'value',(_0x42fecf,_0x3b79c0)=>_0x42fecf||!!_0x3b79c0),this['set'](_0x29c1('0xd'),!0x1),this['on'](_0x29c1('0x10'),()=>{this[_0x29c1('0xd')]&&!this[_0x29c1('0xc')][_0x29c1('0xe')]&&this['commentInputView'][_0x29c1('0x5')]();}),this['commentInputView']['delegate'](_0x29c1('0x12'))['to'](this),this[_0x29c1('0xc')][_0x29c1('0x2')](_0x29c1('0xf'))['to'](this),this['userView']=new _0x4272da(_0x2da251,_0x2bb317),this['userView'][_0x29c1('0x11')]({'attributes':{'class':_0x29c1('0xa')}}),this[_0x29c1('0xc')]['extendTemplate']({'attributes':{'class':_0x29c1('0x8')}}),this[_0x29c1('0x6')]({'tag':_0x29c1('0x7'),'attributes':{'class':[_0x29c1('0x9'),this[_0x29c1('0x4')]['if'](_0x29c1('0xd'),_0x29c1('0x1'))]},'children':[this[_0x29c1('0x3')],this[_0x29c1('0xc')]]});}[_0x29c1('0x13')](){return this['commentInputView'][_0x29c1('0x13')]()['then'](()=>super[_0x29c1('0x13')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51dc=['listenTo','ck-comment--resolve','fire','resolveButton','length','_model','bind','label','Write\x20a\x20comment...','.ck-thread__container','commentThreadHeaderView','Resolve','isEnabled','addMany','resolveCommentThread','check','actionIndicator','placeholder','locale','isConfirm','ck-thread','removeCommentThread','createCollection','_boundFirstCommentView','execute','change:isActive','commentThreadChildren','actionBar','tooltip','set','add','div','change:isResolved','_bindFirstCommentView','high','isResolved','_createResolveButton','querySelector','showConfirm','setTemplate','removeButton','get','ck-reset_all-excluded','ck-thread--','commentViews','isVisible','commentThreadInputView','then','ck-thread--remove-confirmation','commentsListView','render','containerElement','ck-thread--active','element','_cancelAllConfirms','isActive','stop','cancelConfirm'];(function(_0x5e1da7,_0x51dc00){const _0x43dc62=function(_0x5b3bfd){while(--_0x5b3bfd){_0x5e1da7['push'](_0x5e1da7['shift']());}};_0x43dc62(++_0x51dc00);}(_0x51dc,0x1ef));const _0x43dc=function(_0x5e1da7,_0x51dc00){_0x5e1da7=_0x5e1da7-0x0;let _0x43dc62=_0x51dc[_0x5e1da7];return _0x43dc62;};import{ConfirmMixin as _0x2031d8}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x1bcff6}from'ckeditor5/src/ui';import{icons as _0x2fa8fe}from'ckeditor5/src/core';import _0x51b6b4 from'./basecommentthreadview';import{getTranslation as _0x19bb52}from'../../../utils/common-translations';export default class lt extends _0x2031d8(_0x51b6b4){constructor(_0x1830f9,_0x5e2dd2,_0x39b9f9,_0x7bc8bd){super(_0x1830f9,_0x5e2dd2,_0x39b9f9,_0x7bc8bd),this[_0x43dc('0x35')]=this[_0x43dc('0x31')](),this['commentThreadChildren'][_0x43dc('0x28')]([this[_0x43dc('0x12')],this[_0x43dc('0xf')]]),this['_model'][_0x43dc('0x4')]&&this[_0x43dc('0x35')][_0x43dc('0x39')](this['commentThreadHeaderView'],0x0),this[_0x43dc('0x20')]['on'](_0x43dc('0x1'),(_0x407894,_0x3c4a4f,_0x601c90)=>{_0x601c90?this['commentThreadChildren'][_0x43dc('0x39')](this[_0x43dc('0x25')],0x0):this[_0x43dc('0x35')]['remove'](this[_0x43dc('0x25')]);}),this[_0x43dc('0x38')]('actionIndicator',null),this[_0x43dc('0x14')]=null,this[_0x43dc('0x32')]=null,this[_0x43dc('0x2d')]=_0x1830f9,this['resolveButton']=this[_0x43dc('0x5')](),this[_0x43dc('0x8')](this['getTemplate']()),this['on'](_0x43dc('0x34'),(_0x58fd83,_0x44ed0f,_0x12cce2)=>{_0x12cce2||this[_0x43dc('0x17')]();}),this[_0x43dc('0x1b')](this[_0x43dc('0x20')],'change:isReadOnly',(_0x5f5ce8,_0x42cac0,_0x179028)=>{_0x179028&&this[_0x43dc('0x17')]();}),this[_0x43dc('0x1f')]>0x0&&this[_0x43dc('0x2')](),this['listenTo'](this[_0x43dc('0x12')][_0x43dc('0xd')],_0x43dc('0x39'),()=>{this[_0x43dc('0x2')]();});}['getTemplate'](){const _0x48301f=this['bindTemplate'];return{'tag':_0x43dc('0x0'),'attributes':{'class':[_0x43dc('0x2f'),_0x43dc('0xb'),_0x48301f['if'](_0x43dc('0x18'),_0x43dc('0x15')),_0x48301f['if'](_0x43dc('0x2e'),_0x43dc('0x11')),_0x48301f['to'](_0x43dc('0x2b'),_0x4044a6=>_0x4044a6?_0x43dc('0xc')+_0x4044a6:'')],'data-thread-id':this[_0x43dc('0x20')]['id'],'tabindex':-0x1},'children':[{'tag':_0x43dc('0x0'),'attributes':{'class':'ck-thread__container'},'children':this[_0x43dc('0x35')]}]};}['render'](){super[_0x43dc('0x13')](),this[_0x43dc('0x14')]=this[_0x43dc('0x16')][_0x43dc('0x6')](_0x43dc('0x24'));}[_0x43dc('0x17')](){this[_0x43dc('0x1a')]();for(const _0xac41ab of this['commentsListView'][_0x43dc('0xd')])_0xac41ab[_0x43dc('0x1a')]();}[_0x43dc('0x2')](){const {locale:_0x157f85}=this,_0x43b2ba=this[_0x43dc('0x12')][_0x43dc('0xd')][_0x43dc('0xa')](0x0);_0x43b2ba===this[_0x43dc('0x32')]||_0x43b2ba['isSystemComment']||(this[_0x43dc('0x32')]=_0x43b2ba,this['unbind']('actionIndicator'),this[_0x43dc('0x21')](_0x43dc('0x2b'))['to'](_0x43b2ba,_0x43dc('0x2b'),_0x58d154=>'remove'===_0x58d154?'remove':null),_0x43b2ba[_0x43dc('0x2c')]=_0x19bb52(_0x157f85,_0x43dc('0x23')),_0x43b2ba[_0x43dc('0x9')]['on'](_0x43dc('0x33'),_0x4ad06d=>{_0x4ad06d[_0x43dc('0x19')](),this[_0x43dc('0x7')](_0x19bb52(_0x157f85,'Delete\x20comment\x20thread?'),this[_0x43dc('0x14')])[_0x43dc('0x10')](()=>{this['fire'](_0x43dc('0x30'));});},{'priority':_0x43dc('0x3')}),_0x43b2ba[_0x43dc('0x36')][_0x43dc('0x39')](this[_0x43dc('0x1e')],0x0));}[_0x43dc('0x5')](){const _0x54ba6d=new _0x1bcff6(this[_0x43dc('0x2d')]);return _0x54ba6d[_0x43dc('0x22')]=_0x19bb52(this[_0x43dc('0x2d')],_0x43dc('0x26')),_0x54ba6d[_0x43dc('0x37')]=_0x19bb52(this[_0x43dc('0x2d')],'Resolve'),_0x54ba6d['icon']=_0x2fa8fe[_0x43dc('0x2a')],_0x54ba6d['extendTemplate']({'attributes':{'class':_0x43dc('0x1c')}}),_0x54ba6d[_0x43dc('0x21')](_0x43dc('0x27'))['to'](this[_0x43dc('0x20')],'isReadOnly',_0x3c7b93=>!_0x3c7b93),_0x54ba6d[_0x43dc('0x21')](_0x43dc('0xe'))['to'](this['_model'],'isResolvable',this[_0x43dc('0x20')],'isResolved',(_0x1f4d01,_0x1500b7)=>_0x1f4d01&&!_0x1500b7),_0x54ba6d['on'](_0x43dc('0x33'),()=>{this[_0x43dc('0x1d')](_0x43dc('0x29'),this[_0x43dc('0x20')]['id']);}),_0x54ba6d;}}
23
+ const _0x5c27=['.ck-thread__container','stop','then','locale','add','listenTo','tooltip','createCollection','ck-reset_all-excluded','div','label','execute','isReadOnly','actionIndicator','resolveButton','querySelector','isVisible','setTemplate','isConfirm','_bindFirstCommentView','get','commentsListView','ck-thread--remove-confirmation','actionBar','ck-comment--resolve','_cancelAllConfirms','length','fire','commentThreadChildren','set','_createResolveButton','addMany','Resolve','change:isReadOnly','ck-thread--active','ck-thread__container','isActive','remove','resolveCommentThread','check','containerElement','placeholder','removeCommentThread','isSystemComment','commentThreadHeaderView','Delete\x20comment\x20thread?','isResolvable','ck-thread','cancelConfirm','_boundFirstCommentView','bindTemplate','extendTemplate','isResolved','element','render','commentViews','change:isResolved','bind','ck-thread--','_model'];(function(_0x6b2ad9,_0x5c2741){const _0xa8c082=function(_0x460a87){while(--_0x460a87){_0x6b2ad9['push'](_0x6b2ad9['shift']());}};_0xa8c082(++_0x5c2741);}(_0x5c27,0x80));const _0xa8c0=function(_0x6b2ad9,_0x5c2741){_0x6b2ad9=_0x6b2ad9-0x0;let _0xa8c082=_0x5c27[_0x6b2ad9];return _0xa8c082;};import{ConfirmMixin as _0x411efc}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x117e7d}from'ckeditor5/src/ui';import{icons as _0x32064f}from'ckeditor5/src/core';import _0x544402 from'./basecommentthreadview';import{getTranslation as _0x5d2288}from'../../../utils/common-translations';export default class lt extends _0x411efc(_0x544402){constructor(_0x5876a0,_0x3e27d3,_0x19eff,_0xb865a6){super(_0x5876a0,_0x3e27d3,_0x19eff,_0xb865a6),this[_0xa8c0('0x14')]=this[_0xa8c0('0x3b')](),this[_0xa8c0('0x14')][_0xa8c0('0x17')]([this[_0xa8c0('0xd')],this['commentThreadInputView']]),this['_model'][_0xa8c0('0x2c')]&&this[_0xa8c0('0x14')][_0xa8c0('0x38')](this[_0xa8c0('0x24')],0x0),this['_model']['on'](_0xa8c0('0x30'),(_0x19f2d9,_0x379409,_0x1ac516)=>{_0x1ac516?this['commentThreadChildren'][_0xa8c0('0x38')](this[_0xa8c0('0x24')],0x0):this[_0xa8c0('0x14')][_0xa8c0('0x1d')](this[_0xa8c0('0x24')]);}),this[_0xa8c0('0x15')](_0xa8c0('0x5'),null),this[_0xa8c0('0x20')]=null,this[_0xa8c0('0x29')]=null,this[_0xa8c0('0x37')]=_0x5876a0,this[_0xa8c0('0x6')]=this[_0xa8c0('0x16')](),this[_0xa8c0('0x9')](this['getTemplate']()),this['on']('change:isActive',(_0x4eb20d,_0x5e2247,_0x1b3b92)=>{_0x1b3b92||this[_0xa8c0('0x11')]();}),this[_0xa8c0('0x39')](this[_0xa8c0('0x33')],_0xa8c0('0x19'),(_0x1dbbc4,_0x296c9e,_0x5c4575)=>{_0x5c4575&&this[_0xa8c0('0x11')]();}),this[_0xa8c0('0x12')]>0x0&&this[_0xa8c0('0xb')](),this[_0xa8c0('0x39')](this['commentsListView'][_0xa8c0('0x2f')],_0xa8c0('0x38'),()=>{this[_0xa8c0('0xb')]();});}['getTemplate'](){const _0x2220b8=this[_0xa8c0('0x2a')];return{'tag':_0xa8c0('0x1'),'attributes':{'class':[_0xa8c0('0x27'),_0xa8c0('0x0'),_0x2220b8['if'](_0xa8c0('0x1c'),_0xa8c0('0x1a')),_0x2220b8['if'](_0xa8c0('0xa'),_0xa8c0('0xe')),_0x2220b8['to']('actionIndicator',_0x1a4daa=>_0x1a4daa?_0xa8c0('0x32')+_0x1a4daa:'')],'data-thread-id':this[_0xa8c0('0x33')]['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':_0xa8c0('0x1b')},'children':this['commentThreadChildren']}]};}[_0xa8c0('0x2e')](){super[_0xa8c0('0x2e')](),this['containerElement']=this[_0xa8c0('0x2d')][_0xa8c0('0x7')](_0xa8c0('0x34'));}[_0xa8c0('0x11')](){this[_0xa8c0('0x28')]();for(const _0x1b0a87 of this[_0xa8c0('0xd')][_0xa8c0('0x2f')])_0x1b0a87[_0xa8c0('0x28')]();}['_bindFirstCommentView'](){const {locale:_0x160e1c}=this,_0x4a13f0=this[_0xa8c0('0xd')]['commentViews'][_0xa8c0('0xc')](0x0);_0x4a13f0===this[_0xa8c0('0x29')]||_0x4a13f0[_0xa8c0('0x23')]||(this[_0xa8c0('0x29')]=_0x4a13f0,this['unbind']('actionIndicator'),this[_0xa8c0('0x31')]('actionIndicator')['to'](_0x4a13f0,_0xa8c0('0x5'),_0x3dd0f2=>'remove'===_0x3dd0f2?_0xa8c0('0x1d'):null),_0x4a13f0[_0xa8c0('0x21')]=_0x5d2288(_0x160e1c,'Write\x20a\x20comment...'),_0x4a13f0['removeButton']['on'](_0xa8c0('0x3'),_0x35a213=>{_0x35a213[_0xa8c0('0x35')](),this['showConfirm'](_0x5d2288(_0x160e1c,_0xa8c0('0x25')),this['containerElement'])[_0xa8c0('0x36')](()=>{this[_0xa8c0('0x13')](_0xa8c0('0x22'));});},{'priority':'high'}),_0x4a13f0[_0xa8c0('0xf')][_0xa8c0('0x38')](this[_0xa8c0('0x6')],0x0));}[_0xa8c0('0x16')](){const _0x1b1a32=new _0x117e7d(this['locale']);return _0x1b1a32[_0xa8c0('0x2')]=_0x5d2288(this[_0xa8c0('0x37')],'Resolve'),_0x1b1a32[_0xa8c0('0x3a')]=_0x5d2288(this[_0xa8c0('0x37')],_0xa8c0('0x18')),_0x1b1a32['icon']=_0x32064f[_0xa8c0('0x1f')],_0x1b1a32[_0xa8c0('0x2b')]({'attributes':{'class':_0xa8c0('0x10')}}),_0x1b1a32[_0xa8c0('0x31')]('isEnabled')['to'](this[_0xa8c0('0x33')],_0xa8c0('0x4'),_0x3789ff=>!_0x3789ff),_0x1b1a32[_0xa8c0('0x31')](_0xa8c0('0x8'))['to'](this[_0xa8c0('0x33')],_0xa8c0('0x26'),this['_model'],'isResolved',(_0x137b7c,_0x55e9dc)=>_0x137b7c&&!_0x55e9dc),_0x1b1a32['on']('execute',()=>{this[_0xa8c0('0x13')](_0xa8c0('0x1e'),this[_0xa8c0('0x33')]['id']);}),_0x1b1a32;}}