@ckeditor/ckeditor5-comments 0.0.0-nightly-20230907.0 → 0.0.0-nightly-20230909.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 _0xa4af=['forEach','high','importWord','basic','define','addCommentThread','listenTo','commands','get','config','_handleImportedData','importWord.commentsStyles','collaboration_features','editor','plugins','afterInit'];(function(_0x35b70c,_0xa4af8b){const _0x49cda3=function(_0xe31f5){while(--_0xe31f5){_0x35b70c['push'](_0x35b70c['shift']());}};_0x49cda3(++_0xa4af8b);}(_0xa4af,0x72));const _0x49cd=function(_0x35b70c,_0xa4af8b){_0x35b70c=_0x35b70c-0x0;let _0x49cda3=_0xa4af[_0x35b70c];return _0x49cda3;};import{Plugin as _0xdfdd09}from'ckeditor5/src/core';import{priorities as _0x4f9655}from'ckeditor5/src/utils';import{Users as _0x519ecf}from'ckeditor5-collaboration/src/collaboration-core';import _0x3b099a from'../commentsrepository';export default class Y extends _0xdfdd09{constructor(_0xc000ed){super(_0xc000ed),this[_0x49cd('0xb')]['config'][_0x49cd('0x2')](_0x49cd('0x9'),_0x49cd('0x1'));}[_0x49cd('0xd')](){const _0x37e34e=this[_0x49cd('0xb')],_0x5fa3e2=_0x37e34e[_0x49cd('0x5')][_0x49cd('0x6')](_0x49cd('0x0')),_0x1b7750=_0x37e34e[_0x49cd('0xc')][_0x49cd('0x6')](_0x519ecf);_0x5fa3e2&&(_0x5fa3e2['on']('execute',(_0xb1169f,[,_0x5437b8])=>{_0x5437b8[_0x49cd('0xa')]={'comments':!0x0,'user_id':_0x1b7750['me']['id'],'comments_styles':this['editor']['config'][_0x49cd('0x6')](_0x49cd('0x9'))};},{'priority':_0x4f9655[_0x49cd('0xf')]+0xa}),this[_0x49cd('0x4')](_0x5fa3e2,'dataInsert',this[_0x49cd('0x8')]));}[_0x49cd('0x8')](_0x36fd78,_0x2cd912){const {comment_threads:_0x3adac0}=_0x2cd912;_0x3adac0&&_0x3adac0[_0x49cd('0xe')](({thread_id:_0x1d1261,comments:_0x4c695f,is_resolved:_0x5da712})=>{const _0xd28392=new Date(),_0x2a54c8=_0x4c695f['map'](({author:_0x4c77cb,content:_0x3fd615,created_at:_0x4cb916})=>({'content':_0x3fd615,'authorId':this[_0x49cd('0xb')]['plugins']['get'](_0x519ecf)['me']['id'],'createdAt':_0xd28392,'attributes':{'@external':{'authorName':_0x4c77cb,'createdAt':_0x4cb916?new Date(_0x4cb916):new Date(),'source':'importWord'}}})),_0x1b2fab=this[_0x49cd('0xb')][_0x49cd('0x7')][_0x49cd('0x6')]('collaboration.channelId');this[_0x49cd('0xb')][_0x49cd('0xc')][_0x49cd('0x6')](_0x3b099a)[_0x49cd('0x3')]({'channelId':_0x1b2fab,'threadId':_0x1d1261,'comments':_0x2a54c8,'resolvedAt':_0x5da712?_0xd28392:null});});}}
23
+ const _0x273d=['define','collaboration_features','editor','forEach','high','execute','importWord.commentsStyles','listenTo','_handleImportedData','importWord','collaboration.channelId','plugins','addCommentThread','get','afterInit','basic','config'];(function(_0x47a134,_0x273dbf){const _0x392e52=function(_0x3204ed){while(--_0x3204ed){_0x47a134['push'](_0x47a134['shift']());}};_0x392e52(++_0x273dbf);}(_0x273d,0x191));const _0x392e=function(_0x47a134,_0x273dbf){_0x47a134=_0x47a134-0x0;let _0x392e52=_0x273d[_0x47a134];return _0x392e52;};import{Plugin as _0x40435e}from'ckeditor5/src/core';import{priorities as _0x4d02df}from'ckeditor5/src/utils';import{Users as _0x359e6f}from'ckeditor5-collaboration/src/collaboration-core';import _0x49eba1 from'../commentsrepository';export default class Y extends _0x40435e{constructor(_0x1ae00f){super(_0x1ae00f),this[_0x392e('0x9')][_0x392e('0x6')][_0x392e('0x7')]('importWord.commentsStyles',_0x392e('0x5'));}[_0x392e('0x4')](){const _0x9d1077=this[_0x392e('0x9')],_0x3c4f18=_0x9d1077['commands'][_0x392e('0x3')](_0x392e('0x10')),_0x28aa6f=_0x9d1077['plugins']['get'](_0x359e6f);_0x3c4f18&&(_0x3c4f18['on'](_0x392e('0xc'),(_0x4d8c04,[,_0x35b615])=>{_0x35b615[_0x392e('0x8')]={'comments':!0x0,'user_id':_0x28aa6f['me']['id'],'comments_styles':this['editor'][_0x392e('0x6')][_0x392e('0x3')](_0x392e('0xd'))};},{'priority':_0x4d02df[_0x392e('0xb')]+0xa}),this[_0x392e('0xe')](_0x3c4f18,'dataInsert',this[_0x392e('0xf')]));}['_handleImportedData'](_0x2cc811,_0xb3f981){const {comment_threads:_0x21a922}=_0xb3f981;_0x21a922&&_0x21a922[_0x392e('0xa')](({thread_id:_0x596a4c,comments:_0x4f6eac,is_resolved:_0x455a4a})=>{const _0x28cf14=new Date(),_0x43c544=_0x4f6eac['map'](({author:_0x1494e8,content:_0x643f36,created_at:_0x559ffa})=>({'content':_0x643f36,'authorId':this[_0x392e('0x9')]['plugins'][_0x392e('0x3')](_0x359e6f)['me']['id'],'createdAt':_0x28cf14,'attributes':{'@external':{'authorName':_0x1494e8,'createdAt':_0x559ffa?new Date(_0x559ffa):new Date(),'source':_0x392e('0x10')}}})),_0x1d83b0=this[_0x392e('0x9')][_0x392e('0x6')][_0x392e('0x3')](_0x392e('0x0'));this['editor'][_0x392e('0x1')][_0x392e('0x3')](_0x49eba1)[_0x392e('0x2')]({'channelId':_0x1d83b0,'threadId':_0x596a4c,'comments':_0x43c544,'resolvedAt':_0x455a4a?_0x28cf14:null});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x340f=['defaultPlugins','model','init','change:placeholder','view','end','getRoot','plugins','initialData','ready','document','name','focus','config','low','initPlugins','get','getChild','set','childCount','destroy','change','fire','_updatePlaceholder','placeholderElement','placeholder','editing','setSelection','then','createRoot','data'];(function(_0x1858a5,_0x340fd7){const _0x122ca8=function(_0x1f10fd){while(--_0x1f10fd){_0x1858a5['push'](_0x1858a5['shift']());}};_0x122ca8(++_0x340fd7);}(_0x340f,0xca));const _0x122c=function(_0x1858a5,_0x340fd7){_0x1858a5=_0x1858a5-0x0;let _0x122ca8=_0x340f[_0x1858a5];return _0x122ca8;};import{Editor as _0x3953a0,DataApiMixin as _0x572475}from'ckeditor5/src/core';import _0x19a246 from'./commenteditorui';import{ObservableMixin as _0x4b49c9}from'ckeditor5/src/utils';import{enablePlaceholder as _0x287ed7,disablePlaceholder as _0x4057b2}from'ckeditor5/src/engine';import{Clipboard as _0x103e6d}from'ckeditor5/src/clipboard';import{Enter as _0x907a5,ShiftEnter as _0x2dcada}from'ckeditor5/src/enter';import{SelectAll as _0xe49cc5}from'ckeditor5/src/select-all';import{Typing as _0x49c823}from'ckeditor5/src/typing';import{Undo as _0x5ce52b}from'ckeditor5/src/undo';import{Paragraph as _0x30e102}from'ckeditor5/src/paragraph';const Kt=[_0x103e6d,_0x907a5,_0x2dcada,_0xe49cc5,_0x49c823,_0x5ce52b,_0x30e102];export default class Lt extends _0x4b49c9(_0x572475(_0x3953a0)){constructor(_0x2e2b9b={}){(_0x2e2b9b=Object['assign']({},_0x2e2b9b))[_0x122c('0x16')]||(_0x2e2b9b[_0x122c('0x16')]=Lt[_0x122c('0xf')]),super(_0x2e2b9b),this['ui']=new _0x19a246(this),this[_0x122c('0x2')](_0x122c('0x9'),''),this[_0x122c('0x10')][_0x122c('0x19')]['on'](_0x122c('0x5'),()=>this[_0x122c('0x7')](),{'priority':_0x122c('0x1d')}),this['on'](_0x122c('0x12'),()=>this['_updatePlaceholder']()),this[_0x122c('0x10')]['document'][_0x122c('0xd')]();}['create'](){const _0x1804cc=this[_0x122c('0x1c')][_0x122c('0x0')](_0x122c('0x17'))||'';return this[_0x122c('0x1e')]()[_0x122c('0xc')](()=>this['ui'][_0x122c('0x11')]())[_0x122c('0xc')](()=>this[_0x122c('0xe')]['init'](_0x1804cc))[_0x122c('0xc')](()=>this[_0x122c('0x6')](_0x122c('0x18')));}[_0x122c('0x4')](){return super['destroy']()[_0x122c('0xc')](()=>this['ui'][_0x122c('0x4')]());}[_0x122c('0x1b')](){this[_0x122c('0x10')]['change'](_0x1b4291=>{const _0x4a0dcf=this['model']['document'][_0x122c('0x15')](),_0x1324f9=_0x4a0dcf&&_0x4a0dcf['getChild'](_0x4a0dcf[_0x122c('0x3')]-0x1);_0x1b4291[_0x122c('0xb')](_0x1324f9,_0x122c('0x14')),this[_0x122c('0xa')][_0x122c('0x13')][_0x122c('0x1b')]();});}[_0x122c('0x7')](){const _0x2fcb28=this[_0x122c('0xa')]['view'],_0x22dcb0=_0x2fcb28['document'][_0x122c('0x15')](),_0x469279=_0x22dcb0[_0x122c('0x1')](0x0);_0x22dcb0[_0x122c('0x3')]>0x1||!_0x469279||'p'!=_0x469279[_0x122c('0x1a')]?this[_0x122c('0x8')]&&this[_0x122c('0x8')][_0x122c('0x9')]&&(_0x4057b2(_0x2fcb28,this[_0x122c('0x8')]),this['placeholderElement']=void 0x0):(this[_0x122c('0x9')]&&(_0x469279['placeholder']=this['placeholder']),_0x287ed7({'view':_0x2fcb28,'element':_0x469279,'keepOnFocus':!0x0}),this[_0x122c('0x8')]=_0x469279);}}Lt[_0x122c('0xf')]=Kt;
23
+ const _0x112c=['ready','setSelection','data','getRoot','change','document','assign','defaultPlugins','view','init','childCount','_updatePlaceholder','placeholder','get','name','model','getChild','destroy','create','editing','then','focus','createRoot','initialData','low','plugins','placeholderElement'];(function(_0x4198d6,_0x112c1d){const _0x1bd59e=function(_0x3ff6d5){while(--_0x3ff6d5){_0x4198d6['push'](_0x4198d6['shift']());}};_0x1bd59e(++_0x112c1d);}(_0x112c,0x177));const _0x1bd5=function(_0x4198d6,_0x112c1d){_0x4198d6=_0x4198d6-0x0;let _0x1bd59e=_0x112c[_0x4198d6];return _0x1bd59e;};import{Editor as _0x382df0,DataApiMixin as _0x32435a}from'ckeditor5/src/core';import _0x1b73d2 from'./commenteditorui';import{ObservableMixin as _0x1b5157}from'ckeditor5/src/utils';import{enablePlaceholder as _0x39d057,disablePlaceholder as _0x31dde6}from'ckeditor5/src/engine';import{Clipboard as _0x564389}from'ckeditor5/src/clipboard';import{Enter as _0x266c07,ShiftEnter as _0x4e3fd9}from'ckeditor5/src/enter';import{SelectAll as _0x1909a6}from'ckeditor5/src/select-all';import{Typing as _0x38bbe3}from'ckeditor5/src/typing';import{Undo as _0x2fc1eb}from'ckeditor5/src/undo';import{Paragraph as _0x1f111b}from'ckeditor5/src/paragraph';const Kt=[_0x564389,_0x266c07,_0x4e3fd9,_0x1909a6,_0x38bbe3,_0x2fc1eb,_0x1f111b];export default class Lt extends _0x1b5157(_0x32435a(_0x382df0)){constructor(_0x454cf0={}){(_0x454cf0=Object[_0x1bd5('0x9')]({},_0x454cf0))['plugins']||(_0x454cf0[_0x1bd5('0x1')]=Lt[_0x1bd5('0xa')]),super(_0x454cf0),this['ui']=new _0x1b73d2(this),this['set'](_0x1bd5('0xf'),''),this[_0x1bd5('0x12')][_0x1bd5('0x8')]['on']('change',()=>this['_updatePlaceholder'](),{'priority':_0x1bd5('0x0')}),this['on']('change:placeholder',()=>this['_updatePlaceholder']()),this[_0x1bd5('0x12')][_0x1bd5('0x8')][_0x1bd5('0x19')]();}[_0x1bd5('0x15')](){const _0x37a081=this['config'][_0x1bd5('0x10')](_0x1bd5('0x1a'))||'';return this['initPlugins']()['then'](()=>this['ui'][_0x1bd5('0xc')]())['then'](()=>this[_0x1bd5('0x5')][_0x1bd5('0xc')](_0x37a081))[_0x1bd5('0x17')](()=>this['fire'](_0x1bd5('0x3')));}[_0x1bd5('0x14')](){return super['destroy']()[_0x1bd5('0x17')](()=>this['ui'][_0x1bd5('0x14')]());}[_0x1bd5('0x18')](){this[_0x1bd5('0x12')][_0x1bd5('0x7')](_0x5d2ef3=>{const _0x202eed=this[_0x1bd5('0x12')][_0x1bd5('0x8')]['getRoot'](),_0x2ce209=_0x202eed&&_0x202eed[_0x1bd5('0x13')](_0x202eed[_0x1bd5('0xd')]-0x1);_0x5d2ef3[_0x1bd5('0x4')](_0x2ce209,'end'),this[_0x1bd5('0x16')][_0x1bd5('0xb')][_0x1bd5('0x18')]();});}[_0x1bd5('0xe')](){const _0x5192b1=this['editing'][_0x1bd5('0xb')],_0x5645f6=_0x5192b1['document'][_0x1bd5('0x6')](),_0x1b7c62=_0x5645f6[_0x1bd5('0x13')](0x0);_0x5645f6[_0x1bd5('0xd')]>0x1||!_0x1b7c62||'p'!=_0x1b7c62[_0x1bd5('0x11')]?this[_0x1bd5('0x2')]&&this['placeholderElement'][_0x1bd5('0xf')]&&(_0x31dde6(_0x5192b1,this[_0x1bd5('0x2')]),this[_0x1bd5('0x2')]=void 0x0):(this[_0x1bd5('0xf')]&&(_0x1b7c62[_0x1bd5('0xf')]=this[_0x1bd5('0xf')]),_0x39d057({'view':_0x5192b1,'element':_0x1b7c62,'keepOnFocus':!0x0}),this[_0x1bd5('0x2')]=_0x1b7c62);}}Lt[_0x1bd5('0xa')]=Kt;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2228=['destroy','render','document','editor','locale','rootName','view','editing','ready','attachDomRoot','isFocused','fire','focusTracker','bind','name','editable','element'];(function(_0xb52530,_0x2228b0){const _0xdcc55=function(_0xe6736a){while(--_0xe6736a){_0xb52530['push'](_0xb52530['shift']());}};_0xdcc55(++_0x2228b0);}(_0x2228,0x93));const _0xdcc5=function(_0xb52530,_0x2228b0){_0xb52530=_0xb52530-0x0;let _0xdcc55=_0x2228[_0xb52530];return _0xdcc55;};import{EditorUI as _0x25ccc2}from'ckeditor5/src/ui';import _0xa3592f from'./commenteditoruiview';export default class jt extends _0x25ccc2{constructor(_0x4e88a0){super(_0x4e88a0),this[_0xdcc5('0xc')]=new _0xa3592f(_0x4e88a0[_0xdcc5('0xa')],_0x4e88a0[_0xdcc5('0xd')][_0xdcc5('0xc')]);}get[_0xdcc5('0x5')](){return this[_0xdcc5('0xc')][_0xdcc5('0x5')];}['init'](){const _0x1bcf43=this[_0xdcc5('0x9')]['editing'][_0xdcc5('0xc')],_0xeb6d32=this[_0xdcc5('0xc')][_0xdcc5('0x4')],_0x33be83=_0x1bcf43[_0xdcc5('0x8')]['getRoot']();_0xeb6d32['name']=_0x33be83[_0xdcc5('0xb')],this[_0xdcc5('0xc')][_0xdcc5('0x7')]();const _0x54246b=_0xeb6d32[_0xdcc5('0x5')];this['setEditableElement'](_0xeb6d32[_0xdcc5('0x3')],_0x54246b),this[_0xdcc5('0xc')][_0xdcc5('0x4')][_0xdcc5('0x2')](_0xdcc5('0x10'))['to'](this[_0xdcc5('0x1')]),_0x1bcf43[_0xdcc5('0xf')](_0x54246b),this[_0xdcc5('0x0')](_0xdcc5('0xe'));}['destroy'](){super['destroy'](),this['view'][_0xdcc5('0x6')]();}}
23
+ const _0x2edb=['document','editable','focusTracker','name','init','getRoot','attachDomRoot','fire','locale','view','destroy','editing','bind','element'];(function(_0x610a9d,_0x2edbe4){const _0x4d627b=function(_0x4e2e9f){while(--_0x4e2e9f){_0x610a9d['push'](_0x610a9d['shift']());}};_0x4d627b(++_0x2edbe4);}(_0x2edb,0x7d));const _0x4d62=function(_0x610a9d,_0x2edbe4){_0x610a9d=_0x610a9d-0x0;let _0x4d627b=_0x2edb[_0x610a9d];return _0x4d627b;};import{EditorUI as _0x37cb78}from'ckeditor5/src/ui';import _0x314f7b from'./commenteditoruiview';export default class jt extends _0x37cb78{constructor(_0x775c03){super(_0x775c03),this[_0x4d62('0xa')]=new _0x314f7b(_0x775c03[_0x4d62('0x9')],_0x775c03[_0x4d62('0xc')]['view']);}get['element'](){return this[_0x4d62('0xa')][_0x4d62('0x0')];}[_0x4d62('0x5')](){const _0x5a83e7=this['editor'][_0x4d62('0xc')][_0x4d62('0xa')],_0x19c77c=this[_0x4d62('0xa')][_0x4d62('0x2')],_0x439804=_0x5a83e7[_0x4d62('0x1')][_0x4d62('0x6')]();_0x19c77c[_0x4d62('0x4')]=_0x439804['rootName'],this[_0x4d62('0xa')]['render']();const _0x21248e=_0x19c77c[_0x4d62('0x0')];this['setEditableElement'](_0x19c77c[_0x4d62('0x4')],_0x21248e),this['view'][_0x4d62('0x2')][_0x4d62('0xd')]('isFocused')['to'](this[_0x4d62('0x3')]),_0x5a83e7[_0x4d62('0x7')](_0x21248e),this[_0x4d62('0x8')]('ready');}[_0x4d62('0xb')](){super[_0x4d62('0xb')](),this['view'][_0x4d62('0xb')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x17f6=['add','text','main','comment','createCollection','ck-voice-label','extendTemplate','ck-editor__main','editable','uiLanguageDirection','ck-editor','_voiceLabelView','ck-reset','div','Comment\x20editor','uiLanguage','ck-comment__input','ck-editor__aria-label_','render','focus','cke-editor__aria-label_','_createVoiceLabel'];(function(_0x3a251b,_0x17f614){const _0x533878=function(_0x5b9115){while(--_0x5b9115){_0x3a251b['push'](_0x3a251b['shift']());}};_0x533878(++_0x17f614);}(_0x17f6,0x158));const _0x5338=function(_0x3a251b,_0x17f614){_0x3a251b=_0x3a251b-0x0;let _0x533878=_0x17f6[_0x3a251b];return _0x533878;};import{InlineEditableUIView as _0x131b0e,EditorUIView as _0x25d859,LabelView as _0x541f91}from'ckeditor5/src/ui';import{uid as _0xb34a57}from'ckeditor5/src/utils';import{getTranslation as _0xe1c859}from'../../../utils/common-translations';export default class Nt extends _0x25d859{constructor(_0x23b73e,_0x5ec6cc){super(_0x23b73e);const _0xa21094=_0xb34a57();this['main']=this[_0x5338('0xc')](),this['editable']=new _0x131b0e(_0x23b73e,_0x5ec6cc),this['_voiceLabelView']=this[_0x5338('0x7')](_0xa21094,_0x23b73e),this['setTemplate']({'tag':'div','attributes':{'class':[_0x5338('0x14'),_0x5338('0x12'),'ck-rounded-corners',_0x5338('0x2')],'role':_0x5338('0xb'),'dir':_0x23b73e[_0x5338('0x11')],'lang':_0x23b73e[_0x5338('0x1')],'aria-labelledby':_0x5338('0x6')+_0xa21094},'children':[this[_0x5338('0x13')],{'tag':_0x5338('0x15'),'attributes':{'class':_0x5338('0xf'),'role':'presentation'},'children':this[_0x5338('0xa')]}]});}[_0x5338('0x4')](){super[_0x5338('0x4')](),this[_0x5338('0xa')][_0x5338('0x8')](this[_0x5338('0x10')]);}[_0x5338('0x5')](){this['editable']['element'][_0x5338('0x5')]();}[_0x5338('0x7')](_0x77f58,_0x58beee){const _0x239465=new _0x541f91();return _0x239465[_0x5338('0x9')]=_0xe1c859(_0x58beee,_0x5338('0x0')),_0x239465[_0x5338('0xe')]({'attributes':{'id':_0x5338('0x3')+_0x77f58,'class':_0x5338('0xd')}}),_0x239465;}}
23
+ const _0x11c2=['render','createCollection','add','ck-voice-label','ck-editor','ck-comment__input','div','comment','presentation','ck-editor__main','ck-editor__aria-label_','main','element','_voiceLabelView','extendTemplate','uiLanguage','focus','editable','cke-editor__aria-label_','text','_createVoiceLabel','setTemplate','ck-rounded-corners','Comment\x20editor'];(function(_0x540989,_0x11c214){const _0x308bc1=function(_0x102188){while(--_0x102188){_0x540989['push'](_0x540989['shift']());}};_0x308bc1(++_0x11c214);}(_0x11c2,0x1c5));const _0x308b=function(_0x540989,_0x11c214){_0x540989=_0x540989-0x0;let _0x308bc1=_0x11c2[_0x540989];return _0x308bc1;};import{InlineEditableUIView as _0x1f3e4f,EditorUIView as _0x3ec509,LabelView as _0x4c4be3}from'ckeditor5/src/ui';import{uid as _0x553160}from'ckeditor5/src/utils';import{getTranslation as _0x4dfb5d}from'../../../utils/common-translations';export default class Nt extends _0x3ec509{constructor(_0x1a27c0,_0x28f879){super(_0x1a27c0);const _0x545d84=_0x553160();this[_0x308b('0xe')]=this[_0x308b('0x4')](),this['editable']=new _0x1f3e4f(_0x1a27c0,_0x28f879),this[_0x308b('0x10')]=this[_0x308b('0x17')](_0x545d84,_0x1a27c0),this[_0x308b('0x0')]({'tag':_0x308b('0x9'),'attributes':{'class':['ck-reset',_0x308b('0x7'),_0x308b('0x1'),_0x308b('0x8')],'role':_0x308b('0xa'),'dir':_0x1a27c0['uiLanguageDirection'],'lang':_0x1a27c0[_0x308b('0x12')],'aria-labelledby':_0x308b('0x15')+_0x545d84},'children':[this['_voiceLabelView'],{'tag':_0x308b('0x9'),'attributes':{'class':_0x308b('0xc'),'role':_0x308b('0xb')},'children':this[_0x308b('0xe')]}]});}[_0x308b('0x3')](){super[_0x308b('0x3')](),this[_0x308b('0xe')][_0x308b('0x5')](this[_0x308b('0x14')]);}[_0x308b('0x13')](){this[_0x308b('0x14')][_0x308b('0xf')][_0x308b('0x13')]();}[_0x308b('0x17')](_0x19b14e,_0x2c8bac){const _0x22cbba=new _0x4c4be3();return _0x22cbba[_0x308b('0x16')]=_0x4dfb5d(_0x2c8bac,_0x308b('0x2')),_0x22cbba[_0x308b('0x11')]({'attributes':{'id':_0x308b('0xd')+_0x19b14e,'class':_0x308b('0x6')}}),_0x22cbba;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5aa7=['resolve','stopListening','_isAttached','removeComment','view','submitCommentThread','getComment','remove','_localUser','model','submit','removeCommentThread','isResolved','destroy','addComment','listenTo','reopenCommentThread','reopen','updateComment'];(function(_0x1f9cad,_0x5aa705){var _0x40c25e=function(_0x1007ec){while(--_0x1007ec){_0x1f9cad['push'](_0x1f9cad['shift']());}};_0x40c25e(++_0x5aa705);}(_0x5aa7,0xe8));var _0x40c2=function(_0x1f9cad,_0x5aa705){_0x1f9cad=_0x1f9cad-0x0;var _0x40c25e=_0x5aa7[_0x1f9cad];return _0x40c25e;};import{ObservableMixin as _0x1c4aab}from'ckeditor5/src/utils';export default class ct extends _0x1c4aab(){constructor(_0x485043,_0x15e066){super(),this[_0x40c2('0x5')]=_0x485043,this[_0x40c2('0x5')][_0x40c2('0x11')]=!0x0,this[_0x40c2('0x0')]=_0x15e066,this[_0x40c2('0xb')](_0x15e066,_0x40c2('0x1'),()=>this[_0x40c2('0x6')]()),this['listenTo'](_0x15e066,_0x40c2('0x7'),()=>this['remove']()),this[_0x40c2('0xb')](_0x15e066,'resolveCommentThread',()=>this[_0x40c2('0xf')]()),this[_0x40c2('0xb')](_0x15e066,_0x40c2('0xc'),()=>this[_0x40c2('0xd')]()),this[_0x40c2('0xb')](_0x15e066,_0x40c2('0xa'),(_0x6bc122,_0x4c1fbd)=>this[_0x40c2('0xa')](_0x4c1fbd)),this['listenTo'](_0x15e066,'updateComment',(_0x144a8b,_0x28342f,_0x512915)=>this[_0x40c2('0xe')](_0x28342f,_0x512915)),this[_0x40c2('0xb')](_0x15e066,'removeComment',(_0xf9f14,_0xa75432)=>this[_0x40c2('0x12')](_0xa75432));}[_0x40c2('0x6')](){this[_0x40c2('0x5')][_0x40c2('0x6')]();}['remove'](){this[_0x40c2('0x5')]['remove']();}[_0x40c2('0xf')](){this[_0x40c2('0x5')][_0x40c2('0x8')]||this['model'][_0x40c2('0xf')]();}[_0x40c2('0xd')](){this['model'][_0x40c2('0x8')]&&this[_0x40c2('0x5')][_0x40c2('0xd')]();}[_0x40c2('0xa')](_0x1759cb){this[_0x40c2('0x5')][_0x40c2('0xa')]({'content':_0x1759cb,'authorId':this[_0x40c2('0x0')][_0x40c2('0x4')]['id']});}[_0x40c2('0xe')](_0xbda791,_0x2c6342){this[_0x40c2('0x5')][_0x40c2('0x2')](_0xbda791)['update']({'content':_0x2c6342});}[_0x40c2('0x12')](_0x3923f2){this[_0x40c2('0x5')][_0x40c2('0x2')](_0x3923f2)[_0x40c2('0x3')]();}[_0x40c2('0x9')](){this[_0x40c2('0x10')](),this['model'][_0x40c2('0x11')]=!0x1;}}
23
+ var _0x30e4=['getComment','resolveCommentThread','submit','update','updateComment','removeComment','model','reopenCommentThread','listenTo','_localUser','view','addComment','reopen','submitCommentThread','removeCommentThread','_isAttached','isResolved','remove','resolve'];(function(_0xeb27fa,_0x30e40a){var _0x2d8752=function(_0x50d87f){while(--_0x50d87f){_0xeb27fa['push'](_0xeb27fa['shift']());}};_0x2d8752(++_0x30e40a);}(_0x30e4,0xa1));var _0x2d87=function(_0xeb27fa,_0x30e40a){_0xeb27fa=_0xeb27fa-0x0;var _0x2d8752=_0x30e4[_0xeb27fa];return _0x2d8752;};import{ObservableMixin as _0x111431}from'ckeditor5/src/utils';export default class ct extends _0x111431(){constructor(_0x36e70b,_0x3f0882){super(),this[_0x2d87('0x10')]=_0x36e70b,this[_0x2d87('0x10')][_0x2d87('0x6')]=!0x0,this['view']=_0x3f0882,this[_0x2d87('0x12')](_0x3f0882,_0x2d87('0x4'),()=>this[_0x2d87('0xc')]()),this[_0x2d87('0x12')](_0x3f0882,_0x2d87('0x5'),()=>this['remove']()),this['listenTo'](_0x3f0882,_0x2d87('0xb'),()=>this['resolve']()),this[_0x2d87('0x12')](_0x3f0882,_0x2d87('0x11'),()=>this[_0x2d87('0x3')]()),this[_0x2d87('0x12')](_0x3f0882,_0x2d87('0x2'),(_0x4fd2fb,_0x4093b1)=>this[_0x2d87('0x2')](_0x4093b1)),this[_0x2d87('0x12')](_0x3f0882,_0x2d87('0xe'),(_0x308546,_0x24e83c,_0x1329c3)=>this[_0x2d87('0xe')](_0x24e83c,_0x1329c3)),this['listenTo'](_0x3f0882,_0x2d87('0xf'),(_0x3fcbf5,_0x5cad1f)=>this[_0x2d87('0xf')](_0x5cad1f));}[_0x2d87('0xc')](){this[_0x2d87('0x10')][_0x2d87('0xc')]();}[_0x2d87('0x8')](){this[_0x2d87('0x10')][_0x2d87('0x8')]();}[_0x2d87('0x9')](){this[_0x2d87('0x10')][_0x2d87('0x7')]||this[_0x2d87('0x10')]['resolve']();}[_0x2d87('0x3')](){this[_0x2d87('0x10')][_0x2d87('0x7')]&&this['model'][_0x2d87('0x3')]();}[_0x2d87('0x2')](_0x354ff7){this[_0x2d87('0x10')][_0x2d87('0x2')]({'content':_0x354ff7,'authorId':this[_0x2d87('0x1')][_0x2d87('0x0')]['id']});}['updateComment'](_0x3edb12,_0x13a1a0){this[_0x2d87('0x10')]['getComment'](_0x3edb12)[_0x2d87('0xd')]({'content':_0x13a1a0});}[_0x2d87('0xf')](_0x4fda6d){this[_0x2d87('0x10')][_0x2d87('0xa')](_0x4fda6d)['remove']();}['destroy'](){this['stopListening'](),this[_0x2d87('0x10')][_0x2d87('0x6')]=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c18=['isReadOnly','delegate','addComment','removeCommentThread','_model','cancel','element','editorDestroyed','Write\x20a\x20comment...','assign','isResolvable','_localUser','Reply','submitCommentThread','bind','isActive','locale','disabledSubmit','editorConfig','isDirty','showInput','stop','Comment','_createCommentThreadInputView','value','destroy','isResolved','focus','removeComment','CommentView','isSubmitted','change:isActive','submit','_config','set','commentsListView','commentThreadInputView','length','fire','commentInputView','reopenCommentThread','editorReady','commentThreadHeaderView','updateComment','canComment'];(function(_0x52d2d5,_0x2c1860){const _0x4be426=function(_0x5defbb){while(--_0x5defbb){_0x52d2d5['push'](_0x52d2d5['shift']());}};_0x4be426(++_0x2c1860);}(_0x2c18,0x1c0));const _0x4be4=function(_0x52d2d5,_0x2c1860){_0x52d2d5=_0x52d2d5-0x0;let _0x4be426=_0x2c18[_0x52d2d5];return _0x4be426;};import{View as _0x215c76}from'ckeditor5/src/ui';import _0x53ebc5 from'./commentthreadinputview';import _0x15fa58 from'./commentslistview';import _0x413cc9 from'./commentthreadheaderview';import{getTranslation as _0x1388e1}from'../../../utils/common-translations';export default class Tt extends _0x215c76{constructor(_0x4235a5,_0x6a4baa,_0x21b9d1,_0x52e235){super(_0x4235a5),this[_0x4be4('0x24')](_0x4be4('0x11'),!0x1),this[_0x4be4('0x24')](_0x4be4('0x15'),!0x1),this[_0x4be4('0x6')]=_0x6a4baa,this[_0x4be4('0xd')]=_0x21b9d1,this[_0x4be4('0x23')]=_0x52e235,this['commentThreadHeaderView']=new _0x413cc9(_0x4235a5,_0x6a4baa),this[_0x4be4('0x2c')][_0x4be4('0x3')](_0x4be4('0x2a'))['to'](this),this['commentsListView']=new _0x15fa58(_0x4235a5,_0x6a4baa,Object[_0x4be4('0xb')]({'CommentView':this[_0x4be4('0x23')][_0x4be4('0x1f')]},_0x52e235)),this['commentsListView'][_0x4be4('0x3')]('removeComment')['to'](this),this[_0x4be4('0x25')]['delegate'](_0x4be4('0x0'))['to'](this),this['commentsListView']['delegate']('resolveCommentThread')['to'](this),this[_0x4be4('0x25')][_0x4be4('0x3')](_0x4be4('0x2b'))['to'](this),this['commentsListView']['delegate'](_0x4be4('0x9'))['to'](this),this[_0x4be4('0x25')][_0x4be4('0x10')]('isActive')['to'](this),this[_0x4be4('0x24')](_0x4be4('0x27'),this[_0x4be4('0x25')][_0x4be4('0x27')]),this[_0x4be4('0x10')](_0x4be4('0x27'))['to'](this[_0x4be4('0x25')],_0x4be4('0x27')),this[_0x4be4('0x26')]=this[_0x4be4('0x19')](),this['commentThreadInputView'][_0x4be4('0x3')](_0x4be4('0x2b'))['to'](this),this['commentThreadInputView'][_0x4be4('0x3')]('editorDestroyed')['to'](this),this['on'](_0x4be4('0x1e'),()=>this[_0x4be4('0x1d')]()),this[_0x4be4('0x10')](_0x4be4('0x15'))['to'](this[_0x4be4('0x25')],'hasDirtyComment',this[_0x4be4('0x26')][_0x4be4('0x29')],_0x4be4('0x1a'),(_0x44047b,_0xe276ca)=>_0x44047b||!!_0xe276ca);}['focus'](){this[_0x4be4('0x8')][_0x4be4('0x1d')]();}async[_0x4be4('0x1b')](){this['isDirty']=!0x1,this['commentsListView'][_0x4be4('0x1b')](),await this[_0x4be4('0x26')]['destroy'](),super[_0x4be4('0x1b')]();}[_0x4be4('0x19')](){const _0x5f5b90=new _0x53ebc5(this[_0x4be4('0x12')],this[_0x4be4('0xd')],this[_0x4be4('0x23')][_0x4be4('0x14')]),_0x357b6c=_0x5f5b90[_0x4be4('0x29')];return _0x5f5b90[_0x4be4('0x10')](_0x4be4('0x16'))['to'](this,_0x4be4('0x11'),this[_0x4be4('0x6')],_0x4be4('0x2'),this[_0x4be4('0x6')],_0x4be4('0x1'),this[_0x4be4('0x6')],'isResolved',_0x357b6c,_0x4be4('0x1a'),(_0x3c5bd4,_0x4f2b54,_0x4ac90f,_0x198932,_0x352ea0)=>!!_0x352ea0||_0x198932&&_0x4ac90f&&!_0x4f2b54||_0x3c5bd4&&_0x4ac90f&&!_0x4f2b54),_0x357b6c['bind']('placeholder')['to'](this,_0x4be4('0x27'),this[_0x4be4('0x6')],_0x4be4('0xc'),this[_0x4be4('0x6')],_0x4be4('0x1c'),(_0x17d559,_0x526c3c,_0x22eae2)=>{let _0x33e6cc;return _0x33e6cc=_0x22eae2&&_0x526c3c?'Reply\x20to\x20reopen\x20discussion...':_0x17d559?'Reply...':_0x4be4('0xa'),_0x1388e1(this[_0x4be4('0x12')],_0x33e6cc);}),_0x357b6c[_0x4be4('0x10')]('submitLabel')['to'](this,'length',_0x127ac0=>_0x1388e1(this[_0x4be4('0x12')],_0x127ac0?_0x4be4('0xe'):_0x4be4('0x18'))),_0x357b6c['on'](_0x4be4('0x22'),(_0xc20e61,_0xee4aa1)=>{this[_0x4be4('0x28')](_0x4be4('0x4'),_0xee4aa1),this[_0x4be4('0x6')][_0x4be4('0x1c')]&&this['_model'][_0x4be4('0xc')]&&this[_0x4be4('0x28')](_0x4be4('0x2a'),this['_model']['id']),this[_0x4be4('0x6')][_0x4be4('0x20')]||this[_0x4be4('0x28')](_0x4be4('0xf'));}),_0x357b6c['on']('cancel',()=>{this[_0x4be4('0x1d')]();}),_0x357b6c[_0x4be4('0x10')](_0x4be4('0x13'))['to'](this[_0x4be4('0x6')],_0x4be4('0x2')),_0x357b6c['on'](_0x4be4('0x7'),_0x4fddf4=>{0x0==this['length']&&(this[_0x4be4('0x28')]('removeCommentThread'),_0x4fddf4[_0x4be4('0x17')]());}),this['on'](_0x4be4('0x21'),(_0x41409d,_0x41f5f8,_0x213d92)=>{_0x213d92||this[_0x4be4('0x27')]||_0x357b6c[_0x4be4('0x1a')]||this['fire'](_0x4be4('0x5'));}),_0x5f5b90;}}
23
+ const _0x1843=['bind','_localUser','isDirty','editorReady','removeComment','fire','isResolved','value','Reply...','isResolvable','removeCommentThread','set','submit','reopenCommentThread','commentThreadHeaderView','isReadOnly','Comment','disabledSubmit','cancel','commentInputView','addComment','stop','focus','locale','commentThreadInputView','commentsListView','placeholder','isActive','updateComment','destroy','showInput','isSubmitted','_config','length','editorConfig','_model','delegate','Write\x20a\x20comment...','hasDirtyComment','element','_createCommentThreadInputView','Reply'];(function(_0x181a20,_0x18433b){const _0x3f199b=function(_0xe4d87){while(--_0xe4d87){_0x181a20['push'](_0x181a20['shift']());}};_0x3f199b(++_0x18433b);}(_0x1843,0xc9));const _0x3f19=function(_0x181a20,_0x18433b){_0x181a20=_0x181a20-0x0;let _0x3f199b=_0x1843[_0x181a20];return _0x3f199b;};import{View as _0x11f5a5}from'ckeditor5/src/ui';import _0x125cb7 from'./commentthreadinputview';import _0x204f78 from'./commentslistview';import _0x3afda9 from'./commentthreadheaderview';import{getTranslation as _0x329f93}from'../../../utils/common-translations';export default class Tt extends _0x11f5a5{constructor(_0x520541,_0xfe76f8,_0x56edf6,_0x356d18){super(_0x520541),this[_0x3f19('0x14')]('isActive',!0x1),this[_0x3f19('0x14')](_0x3f19('0xb'),!0x1),this[_0x3f19('0x2')]=_0xfe76f8,this[_0x3f19('0xa')]=_0x56edf6,this[_0x3f19('0x29')]=_0x356d18,this['commentThreadHeaderView']=new _0x3afda9(_0x520541,_0xfe76f8),this[_0x3f19('0x17')][_0x3f19('0x3')](_0x3f19('0x16'))['to'](this),this[_0x3f19('0x22')]=new _0x204f78(_0x520541,_0xfe76f8,Object['assign']({'CommentView':this[_0x3f19('0x29')]['CommentView']},_0x356d18)),this[_0x3f19('0x22')][_0x3f19('0x3')](_0x3f19('0xd'))['to'](this),this[_0x3f19('0x22')][_0x3f19('0x3')](_0x3f19('0x25'))['to'](this),this[_0x3f19('0x22')][_0x3f19('0x3')]('resolveCommentThread')['to'](this),this['commentsListView'][_0x3f19('0x3')]('editorReady')['to'](this),this['commentsListView'][_0x3f19('0x3')]('editorDestroyed')['to'](this),this[_0x3f19('0x22')][_0x3f19('0x9')](_0x3f19('0x24'))['to'](this),this['set']('length',this[_0x3f19('0x22')][_0x3f19('0x0')]),this[_0x3f19('0x9')](_0x3f19('0x0'))['to'](this['commentsListView'],_0x3f19('0x0')),this[_0x3f19('0x21')]=this[_0x3f19('0x7')](),this[_0x3f19('0x21')][_0x3f19('0x3')](_0x3f19('0xc'))['to'](this),this[_0x3f19('0x21')][_0x3f19('0x3')]('editorDestroyed')['to'](this),this['on'](_0x3f19('0xd'),()=>this[_0x3f19('0x1f')]()),this[_0x3f19('0x9')](_0x3f19('0xb'))['to'](this[_0x3f19('0x22')],_0x3f19('0x5'),this['commentThreadInputView'][_0x3f19('0x1c')],_0x3f19('0x10'),(_0x1384b9,_0x55afb0)=>_0x1384b9||!!_0x55afb0);}[_0x3f19('0x1f')](){this[_0x3f19('0x6')][_0x3f19('0x1f')]();}async['destroy'](){this[_0x3f19('0xb')]=!0x1,this['commentsListView'][_0x3f19('0x26')](),await this[_0x3f19('0x21')][_0x3f19('0x26')](),super['destroy']();}['_createCommentThreadInputView'](){const _0x460505=new _0x125cb7(this[_0x3f19('0x20')],this[_0x3f19('0xa')],this[_0x3f19('0x29')][_0x3f19('0x1')]),_0x102ebd=_0x460505[_0x3f19('0x1c')];return _0x460505[_0x3f19('0x9')](_0x3f19('0x27'))['to'](this,'isActive',this[_0x3f19('0x2')],'isReadOnly',this[_0x3f19('0x2')],'canComment',this['_model'],_0x3f19('0xf'),_0x102ebd,'value',(_0x3c01c4,_0x523b13,_0x1f151a,_0x320229,_0x376a81)=>!!_0x376a81||_0x320229&&_0x1f151a&&!_0x523b13||_0x3c01c4&&_0x1f151a&&!_0x523b13),_0x102ebd[_0x3f19('0x9')](_0x3f19('0x23'))['to'](this,_0x3f19('0x0'),this['_model'],_0x3f19('0x12'),this[_0x3f19('0x2')],_0x3f19('0xf'),(_0x236fc0,_0x27cf0c,_0x21c508)=>{let _0x35bc39;return _0x35bc39=_0x21c508&&_0x27cf0c?'Reply\x20to\x20reopen\x20discussion...':_0x236fc0?_0x3f19('0x11'):_0x3f19('0x4'),_0x329f93(this[_0x3f19('0x20')],_0x35bc39);}),_0x102ebd[_0x3f19('0x9')]('submitLabel')['to'](this,_0x3f19('0x0'),_0x339476=>_0x329f93(this[_0x3f19('0x20')],_0x339476?_0x3f19('0x8'):_0x3f19('0x19'))),_0x102ebd['on'](_0x3f19('0x15'),(_0x864e93,_0x39ceed)=>{this[_0x3f19('0xe')](_0x3f19('0x1d'),_0x39ceed),this[_0x3f19('0x2')]['isResolved']&&this[_0x3f19('0x2')][_0x3f19('0x12')]&&this[_0x3f19('0xe')](_0x3f19('0x16'),this[_0x3f19('0x2')]['id']),this[_0x3f19('0x2')][_0x3f19('0x28')]||this['fire']('submitCommentThread');}),_0x102ebd['on']('cancel',()=>{this['focus']();}),_0x102ebd[_0x3f19('0x9')](_0x3f19('0x1a'))['to'](this[_0x3f19('0x2')],_0x3f19('0x18')),_0x102ebd['on'](_0x3f19('0x1b'),_0x147d40=>{0x0==this[_0x3f19('0x0')]&&(this[_0x3f19('0xe')](_0x3f19('0x13')),_0x147d40[_0x3f19('0x1e')]());}),this['on']('change:isActive',(_0x326957,_0xe7ef99,_0xbdf7ba)=>{_0xbdf7ba||this['length']||_0x102ebd['value']||this['fire'](_0x3f19('0x13'));}),_0x460505;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13fc=['delegate','_model','editorReady','maxCommentCharsWhenCollapsed','updateComment','cancel','switchToDisplayMode','_config','Save','set','_createCommentContentView','bind','editorConfig','remove','isCollapsed','switchToEditMode','createCollection','submit','visibleView','add','focus','isEditMode','submitLabel','locale','element','isSystemComment','content','fire','destroy','_createCommentInputView','editorDestroyed'];(function(_0x115c21,_0x13fcf4){const _0x18c003=function(_0x412090){while(--_0x412090){_0x115c21['push'](_0x115c21['shift']());}};_0x18c003(++_0x13fcf4);}(_0x13fc,0xac));const _0x18c0=function(_0x115c21,_0x13fcf4){_0x115c21=_0x115c21-0x0;let _0x18c003=_0x13fc[_0x115c21];return _0x18c003;};import{View as _0x1760f3}from'ckeditor5/src/ui';import{trimHtml as _0x2422b3}from'ckeditor5-collaboration/src/collaboration-core';import _0x3ed5d2 from'./commentcontentview';import _0x39d630 from'./commentinputview';import{getTranslation as _0x3bcfd7}from'../../../utils/common-translations';export default class Yt extends _0x1760f3{constructor(_0x3872a0,_0x5b5a7a,_0x310164){super(_0x3872a0),this['_model']=_0x5b5a7a,this[_0x18c0('0x15')]=_0x310164,this[_0x18c0('0x8')]=!!this[_0x18c0('0x15')][_0x18c0('0x8')],this[_0x18c0('0x17')]('isEditMode',!0x1),this[_0x18c0('0x17')]('isCollapsed',!0x0),this['visibleView']=this[_0x18c0('0x1e')](),this[_0x18c0('0x1')][_0x18c0('0x2')](this['_createCommentContentView']());}['expand'](){this[_0x18c0('0x1c')]=!0x1;}['collapse'](){this[_0x18c0('0x4')]||(this[_0x18c0('0x1c')]=!0x0);}[_0x18c0('0x3')](){this[_0x18c0('0x7')][_0x18c0('0x3')]();}async['destroy'](){await this['visibleView']['get'](0x0)[_0x18c0('0xb')](),super['destroy']();}[_0x18c0('0x1d')](){this[_0x18c0('0x4')]||(this['isEditMode']=!0x0,this[_0x18c0('0x1')][_0x18c0('0x1b')](0x0)[_0x18c0('0xb')](),this[_0x18c0('0x1')][_0x18c0('0x2')](this['_createCommentInputView']()));}[_0x18c0('0x14')](){this[_0x18c0('0x4')]&&(this[_0x18c0('0x4')]=!0x1,this[_0x18c0('0x1')][_0x18c0('0x1b')](0x0)[_0x18c0('0xb')](),this[_0x18c0('0x1')][_0x18c0('0x2')](this[_0x18c0('0x18')]()));}['_createCommentContentView'](){const _0x14082f=new _0x3ed5d2(this[_0x18c0('0x6')]);return _0x14082f[_0x18c0('0x19')](_0x18c0('0x9'))['to'](this['_model'],_0x18c0('0x9'),this,_0x18c0('0x1c'),(_0x28d222,_0x3a8b2a)=>_0x3a8b2a?_0x2422b3(_0x28d222,{'limit':this['_config'][_0x18c0('0x11')]}):_0x28d222),_0x14082f;}[_0x18c0('0xc')](){this[_0x18c0('0x15')][_0x18c0('0x1a')]||(this[_0x18c0('0x15')][_0x18c0('0x1a')]={}),this[_0x18c0('0x15')][_0x18c0('0x1a')]['initialData']=this[_0x18c0('0xf')]['content'];const _0x29dcc4=new _0x39d630(this[_0x18c0('0x6')],this['_config'][_0x18c0('0x1a')]);return _0x29dcc4['value']=this[_0x18c0('0xf')][_0x18c0('0x9')],_0x29dcc4[_0x18c0('0x19')]('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x29dcc4[_0x18c0('0x5')]=_0x3bcfd7(this[_0x18c0('0x6')],_0x18c0('0x16')),_0x29dcc4['on'](_0x18c0('0x0'),(_0x17c9a6,_0x248a32)=>{this[_0x18c0('0xa')](_0x18c0('0x12'),this[_0x18c0('0xf')]['id'],_0x248a32),this[_0x18c0('0x14')](),this[_0x18c0('0x3')]();}),_0x29dcc4['on'](_0x18c0('0x13'),()=>{this['switchToDisplayMode'](),this['focus']();}),_0x29dcc4['once'](_0x18c0('0x10'),()=>{_0x29dcc4['focus']();}),_0x29dcc4['createEditor'](),_0x29dcc4[_0x18c0('0xe')](_0x18c0('0x10'))['to'](this),_0x29dcc4[_0x18c0('0xe')](_0x18c0('0xd'))['to'](this),_0x29dcc4;}}
23
+ const _0x2048=['content','Save','expand','_createCommentContentView','_config','set','initialData','bind','editorReady','visibleView','isEditMode','editorDestroyed','delegate','focus','_model','locale','value','createEditor','element','cancel','_createCommentInputView','destroy','createCollection','switchToDisplayMode','updateComment','collapse','remove','isSystemComment','add','disabledSubmit','isCollapsed','editorConfig','fire','maxCommentCharsWhenCollapsed','submit','get','isReadOnly'];(function(_0x379810,_0x204825){const _0x5b3981=function(_0x2bf04c){while(--_0x2bf04c){_0x379810['push'](_0x379810['shift']());}};_0x5b3981(++_0x204825);}(_0x2048,0x14d));const _0x5b39=function(_0x379810,_0x204825){_0x379810=_0x379810-0x0;let _0x5b3981=_0x2048[_0x379810];return _0x5b3981;};import{View as _0x1c86da}from'ckeditor5/src/ui';import{trimHtml as _0x213d29}from'ckeditor5-collaboration/src/collaboration-core';import _0x3b2016 from'./commentcontentview';import _0x36e6dd from'./commentinputview';import{getTranslation as _0x3eb38b}from'../../../utils/common-translations';export default class Yt extends _0x1c86da{constructor(_0x4f101f,_0x1cf137,_0x14109e){super(_0x4f101f),this[_0x5b39('0xe')]=_0x1cf137,this[_0x5b39('0x4')]=_0x14109e,this[_0x5b39('0x1b')]=!!this[_0x5b39('0x4')][_0x5b39('0x1b')],this[_0x5b39('0x5')](_0x5b39('0xa'),!0x1),this[_0x5b39('0x5')](_0x5b39('0x1e'),!0x0),this[_0x5b39('0x9')]=this[_0x5b39('0x16')](),this[_0x5b39('0x9')][_0x5b39('0x1c')](this['_createCommentContentView']());}[_0x5b39('0x2')](){this['isCollapsed']=!0x1;}[_0x5b39('0x19')](){this[_0x5b39('0xa')]||(this[_0x5b39('0x1e')]=!0x0);}[_0x5b39('0xd')](){this[_0x5b39('0x12')][_0x5b39('0xd')]();}async[_0x5b39('0x15')](){await this['visibleView'][_0x5b39('0x23')](0x0)['destroy'](),super[_0x5b39('0x15')]();}['switchToEditMode'](){this[_0x5b39('0xa')]||(this[_0x5b39('0xa')]=!0x0,this[_0x5b39('0x9')][_0x5b39('0x1a')](0x0)[_0x5b39('0x15')](),this['visibleView'][_0x5b39('0x1c')](this[_0x5b39('0x14')]()));}[_0x5b39('0x17')](){this['isEditMode']&&(this[_0x5b39('0xa')]=!0x1,this[_0x5b39('0x9')][_0x5b39('0x1a')](0x0)['destroy'](),this[_0x5b39('0x9')][_0x5b39('0x1c')](this['_createCommentContentView']()));}[_0x5b39('0x3')](){const _0xaf4653=new _0x3b2016(this[_0x5b39('0xf')]);return _0xaf4653[_0x5b39('0x7')]('content')['to'](this[_0x5b39('0xe')],_0x5b39('0x0'),this,_0x5b39('0x1e'),(_0x40d94e,_0x44a764)=>_0x44a764?_0x213d29(_0x40d94e,{'limit':this['_config'][_0x5b39('0x21')]}):_0x40d94e),_0xaf4653;}['_createCommentInputView'](){this[_0x5b39('0x4')]['editorConfig']||(this[_0x5b39('0x4')][_0x5b39('0x1f')]={}),this['_config']['editorConfig'][_0x5b39('0x6')]=this['_model'][_0x5b39('0x0')];const _0xdc2acc=new _0x36e6dd(this['locale'],this[_0x5b39('0x4')][_0x5b39('0x1f')]);return _0xdc2acc[_0x5b39('0x10')]=this[_0x5b39('0xe')][_0x5b39('0x0')],_0xdc2acc[_0x5b39('0x7')](_0x5b39('0x1d'))['to'](this[_0x5b39('0xe')],_0x5b39('0x24')),_0xdc2acc['submitLabel']=_0x3eb38b(this[_0x5b39('0xf')],_0x5b39('0x1')),_0xdc2acc['on'](_0x5b39('0x22'),(_0x4c4b6f,_0x24472a)=>{this[_0x5b39('0x20')](_0x5b39('0x18'),this[_0x5b39('0xe')]['id'],_0x24472a),this[_0x5b39('0x17')](),this[_0x5b39('0xd')]();}),_0xdc2acc['on'](_0x5b39('0x13'),()=>{this[_0x5b39('0x17')](),this[_0x5b39('0xd')]();}),_0xdc2acc['once'](_0x5b39('0x8'),()=>{_0xdc2acc[_0x5b39('0xd')]();}),_0xdc2acc[_0x5b39('0x11')](),_0xdc2acc[_0x5b39('0xc')]('editorReady')['to'](this),_0xdc2acc[_0x5b39('0xc')](_0x5b39('0xb'))['to'](this),_0xdc2acc;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41ec=['NUMBER_OF_COMMENTS','set','setTemplate','count'];(function(_0xe004c6,_0x41ece6){const _0xd5e523=function(_0x34acdd){while(--_0x34acdd){_0xe004c6['push'](_0xe004c6['shift']());}};_0xd5e523(++_0x41ece6);}(_0x41ec,0x9e));const _0xd5e5=function(_0xe004c6,_0x41ece6){_0xe004c6=_0xe004c6-0x0;let _0xd5e523=_0x41ec[_0xe004c6];return _0xd5e523;};import{View as _0x579fa0}from'ckeditor5/src/ui';import{getTranslation as _0x4ab798}from'../../../utils/common-translations';export default class Zt extends _0x579fa0{constructor(_0x41e241){super(_0x41e241);const _0x647093=this['bindTemplate'];this[_0xd5e5('0x3')](_0xd5e5('0x1'),void 0x0),this[_0xd5e5('0x0')]({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x647093['to'](_0xd5e5('0x1'),_0x56049e=>_0x4ab798(_0x41e241,_0xd5e5('0x2'),_0x56049e))}]});}}
23
+ const _0x5712=['ck-thread__comment-count','NUMBER_OF_COMMENTS','set','setTemplate','count','bindTemplate'];(function(_0x37d3e2,_0x5712f8){const _0x142756=function(_0x23c1cc){while(--_0x23c1cc){_0x37d3e2['push'](_0x37d3e2['shift']());}};_0x142756(++_0x5712f8);}(_0x5712,0x14e));const _0x1427=function(_0x37d3e2,_0x5712f8){_0x37d3e2=_0x37d3e2-0x0;let _0x142756=_0x5712[_0x37d3e2];return _0x142756;};import{View as _0x1aed6d}from'ckeditor5/src/ui';import{getTranslation as _0x28c2e4}from'../../../utils/common-translations';export default class Zt extends _0x1aed6d{constructor(_0x43df9a){super(_0x43df9a);const _0x4a9dc5=this[_0x1427('0x1')];this[_0x1427('0x4')](_0x1427('0x0'),void 0x0),this[_0x1427('0x5')]({'tag':'li','attributes':{'class':_0x1427('0x2')},'children':[{'text':_0x4a9dc5['to'](_0x1427('0x0'),_0x415e2=>_0x28c2e4(_0x43df9a,_0x1427('0x3'),_0x415e2))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x14f5=['change:content','setTemplate','render','ck-annotation__content','element','ck-comment__content','div','content'];(function(_0x4136d5,_0x14f5b0){var _0x1e143c=function(_0x128b7d){while(--_0x128b7d){_0x4136d5['push'](_0x4136d5['shift']());}};_0x1e143c(++_0x14f5b0);}(_0x14f5,0x176));var _0x1e14=function(_0x4136d5,_0x14f5b0){_0x4136d5=_0x4136d5-0x0;var _0x1e143c=_0x14f5[_0x4136d5];return _0x1e143c;};import{View as _0x32f045}from'ckeditor5/src/ui';export default class Ut extends _0x32f045{constructor(_0x29c0b8){super(_0x29c0b8),this['set'](_0x1e14('0x1'),''),this[_0x1e14('0x3')]({'tag':_0x1e14('0x0'),'attributes':{'class':[_0x1e14('0x7'),_0x1e14('0x5')]}});}[_0x1e14('0x4')](){super[_0x1e14('0x4')](),this['on'](_0x1e14('0x2'),(_0x4f0a46,_0x1fb213,_0x48f5ac)=>{this[_0x1e14('0x6')]['innerHTML']=_0x48f5ac;}),this[_0x1e14('0x6')]['innerHTML']=this[_0x1e14('0x1')];}}
23
+ var _0x1e88=['ck-annotation__content','render','change:content','innerHTML','div','set','ck-comment__content','element','setTemplate','content'];(function(_0x2283d0,_0x1e887e){var _0x1c0a89=function(_0xe86819){while(--_0xe86819){_0x2283d0['push'](_0x2283d0['shift']());}};_0x1c0a89(++_0x1e887e);}(_0x1e88,0xf5));var _0x1c0a=function(_0x2283d0,_0x1e887e){_0x2283d0=_0x2283d0-0x0;var _0x1c0a89=_0x1e88[_0x2283d0];return _0x1c0a89;};import{View as _0x3a2b9b}from'ckeditor5/src/ui';export default class Ut extends _0x3a2b9b{constructor(_0x2fa3dc){super(_0x2fa3dc),this[_0x1c0a('0x0')](_0x1c0a('0x4'),''),this[_0x1c0a('0x3')]({'tag':_0x1c0a('0x9'),'attributes':{'class':[_0x1c0a('0x1'),_0x1c0a('0x5')]}});}['render'](){super[_0x1c0a('0x6')](),this['on'](_0x1c0a('0x7'),(_0x2134f8,_0x59afb7,_0x1dada4)=>{this[_0x1c0a('0x2')][_0x1c0a('0x8')]=_0x1dada4;}),this['element'][_0x1c0a('0x8')]=this[_0x1c0a('0x4')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59ca=['Reply...','firstChild','div','length','_initializeFocusCycling','change','submitButtonView','document','ck-comment__input-actions','initialData','focusNext','shift\x20+\x20tab','set','fire','low','insertBefore','getData','ck-comment__input-actions--cancel','focusTracker','model','label','create','element','showButtons','execute','isEnabled','_editorCreationPromise','Esc','placeholder','add','disabledSubmit','high','destroy','keystrokes','TOO_LONG_COMMENT_ALERT','_createSubmitButton','createEditor','cancel','extendTemplate','submitLabel','_editorConfig','_isDestroyed','focus','bind','setData','cancelButtonView','Cancel','tab','value','withText','render','Reply','submit','editor','ck-comment__input-actions--active','ck-comment__input-wrapper'];(function(_0x148870,_0x59caae){const _0x3a1850=function(_0x1f2960){while(--_0x1f2960){_0x148870['push'](_0x148870['shift']());}};_0x3a1850(++_0x59caae);}(_0x59ca,0x69));const _0x3a18=function(_0x148870,_0x59caae){_0x148870=_0x148870-0x0;let _0x3a1850=_0x59ca[_0x148870];return _0x3a1850;};import{View as _0x413d70,ViewCollection as _0x388a7b,FocusCycler as _0xb23bbe,ButtonView as _0x2fe606}from'ckeditor5/src/ui';import{FocusTracker as _0x571547,KeystrokeHandler as _0x77189}from'ckeditor5/src/utils';import _0x447b2c from'../commenteditor/commenteditor';import{getTranslation as _0x4c821e}from'../../../utils/common-translations';export default class Xt extends _0x413d70{constructor(_0x4578d3,_0x44a7ce={}){super(_0x4578d3),this[_0x3a18('0x4')]=null,this[_0x3a18('0x2f')]=_0x44a7ce,this[_0x3a18('0x28')]=new _0x77189(),this[_0x3a18('0x19')]=new _0x571547(),this[_0x3a18('0x13')](_0x3a18('0x37'),_0x44a7ce[_0x3a18('0x10')]||''),this['set'](_0x3a18('0x25'),!0x1),this[_0x3a18('0x13')](_0x3a18('0x1e'),!0x0),this[_0x3a18('0x13')](_0x3a18('0x23'),_0x4c821e(_0x4578d3,_0x3a18('0x7'))),this['set'](_0x3a18('0x2e'),_0x4c821e(_0x4578d3,_0x3a18('0x2'))),this[_0x3a18('0xd')]=this[_0x3a18('0x2a')](),this[_0x3a18('0x34')]=this['_createCancelButton'](),this['setTemplate']({'tag':_0x3a18('0x9'),'attributes':{'class':[_0x3a18('0x6')]},'children':[{'tag':'div','attributes':{'class':[_0x3a18('0xf'),this['bindTemplate']['if'](_0x3a18('0x1e'),_0x3a18('0x5'))]},'children':[this['submitButtonView'],this[_0x3a18('0x34')]]}]}),this['keystrokes'][_0x3a18('0x13')](_0x3a18('0x22'),(_0x5d332f,_0x1ff922)=>{this['cancelButtonView'][_0x3a18('0x14')](_0x3a18('0x1f')),_0x1ff922();}),this['on'](_0x3a18('0x3'),(_0x5e82f8,_0x38bb10)=>{_0x38bb10[_0x3a18('0xa')]>0xfde8?(alert(_0x4c821e(_0x4578d3,_0x3a18('0x29'),[_0x38bb10[_0x3a18('0xa')],0xfde8])),_0x5e82f8['stop']()):this[_0x3a18('0x4')][_0x3a18('0x33')]('');},{'priority':_0x3a18('0x26')});}[_0x3a18('0x1')](){super[_0x3a18('0x1')](),this[_0x3a18('0x28')]['listenTo'](this[_0x3a18('0x1d')]),this[_0x3a18('0x19')]['add'](this[_0x3a18('0x1d')]);}[_0x3a18('0x2b')](){return this[_0x3a18('0x4')]||(this[_0x3a18('0x4')]=new _0x447b2c(this[_0x3a18('0x2f')]),this[_0x3a18('0x21')]=this[_0x3a18('0x4')][_0x3a18('0x1c')]()['then'](()=>{if(this[_0x3a18('0x30')])return;const _0x4ad42e=this[_0x3a18('0x4')];this[_0x3a18('0x1d')][_0x3a18('0x16')](_0x4ad42e['ui'][_0x3a18('0x1d')],this[_0x3a18('0x1d')][_0x3a18('0x8')]),_0x4ad42e[_0x3a18('0x1a')][_0x3a18('0xe')]['on'](_0x3a18('0xc'),()=>this[_0x3a18('0x37')]=_0x4ad42e[_0x3a18('0x17')]()),_0x4ad42e[_0x3a18('0x32')](_0x3a18('0x23'))['to'](this),this[_0x3a18('0xb')](this['editor']),this[_0x3a18('0x14')]('editorReady',this[_0x3a18('0x4')]);})),this[_0x3a18('0x21')];}[_0x3a18('0x31')](){this[_0x3a18('0x4')]&&this['editor'][_0x3a18('0x31')]();}async[_0x3a18('0x27')](){this[_0x3a18('0x30')]||(this[_0x3a18('0x30')]=!0x0,this[_0x3a18('0x4')]&&(await this[_0x3a18('0x21')],await this['editor']['destroy'](),this[_0x3a18('0x14')]('editorDestroyed',this[_0x3a18('0x4')])),await super['destroy']());}[_0x3a18('0x2a')](){const {locale:_0x149ecc}=this,_0x5f2c50=new _0x2fe606(_0x149ecc);return _0x5f2c50[_0x3a18('0x2d')]({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x5f2c50[_0x3a18('0x0')]=!0x0,_0x5f2c50[_0x3a18('0x32')](_0x3a18('0x1b'))['to'](this,_0x3a18('0x2e')),_0x5f2c50['on']('execute',()=>{this[_0x3a18('0x14')]('submit',this[_0x3a18('0x37')]);}),_0x5f2c50[_0x3a18('0x32')](_0x3a18('0x20'))['to'](this,_0x3a18('0x37'),this,_0x3a18('0x25'),(_0x456670,_0x5cb02e)=>!_0x5cb02e&&!!_0x456670['trim']()),_0x5f2c50;}['_createCancelButton'](){const {locale:_0x5a11df}=this,_0x28b254=new _0x2fe606(_0x5a11df);return _0x28b254[_0x3a18('0x2d')]({'attributes':{'class':[_0x3a18('0x18')]}}),_0x28b254[_0x3a18('0x1b')]=_0x4c821e(_0x5a11df,_0x3a18('0x35')),_0x28b254[_0x3a18('0x0')]=!0x0,_0x28b254['on'](_0x3a18('0x1f'),()=>{this[_0x3a18('0x4')][_0x3a18('0x33')](''),this[_0x3a18('0x14')](_0x3a18('0x2c'));}),_0x28b254;}[_0x3a18('0xb')](_0x3f58aa){const _0x6bf47a=this[_0x3a18('0x19')],_0x193f9f=new _0x388a7b();[_0x3f58aa['ui']['view'],this['submitButtonView'],this[_0x3a18('0x34')]]['forEach'](_0x559ada=>{_0x193f9f[_0x3a18('0x24')](_0x559ada),_0x6bf47a[_0x3a18('0x24')](_0x559ada['element']);});const _0x312478=new _0xb23bbe({'focusables':_0x193f9f,'focusTracker':_0x6bf47a});this[_0x3a18('0x28')][_0x3a18('0x13')](_0x3a18('0x36'),(_0x2e60f6,_0x4c9ecc)=>{_0x312478[_0x3a18('0x11')](),_0x4c9ecc();},{'priority':_0x3a18('0x15')}),this[_0x3a18('0x28')][_0x3a18('0x13')](_0x3a18('0x12'),(_0x144908,_0x30cbe4)=>{_0x312478['focusPrevious'](),_0x30cbe4();},{'priority':_0x3a18('0x15')});}}
23
+ const _0x25d6=['add','editorReady','focusPrevious','cancel','isEnabled','_createSubmitButton','TOO_LONG_COMMENT_ALERT','placeholder','execute','then','listenTo','_isDestroyed','editorDestroyed','bind','Reply...','disabledSubmit','div','insertBefore','bindTemplate','ck-comment__input-actions--cancel','Cancel','ck-comment__input-actions--active','_editorCreationPromise','focusNext','change','keystrokes','trim','document','length','withText','ck-comment__input-wrapper','firstChild','tab','value','high','Esc','render','create','showButtons','fire','low','extendTemplate','element','submit','ck-comment__input-actions','setData','_editorConfig','editor','set','focusTracker','createEditor','_createCancelButton','cancelButtonView','label','model','submitButtonView','submitLabel','_initializeFocusCycling','ck-comment__input-actions--submit'];(function(_0x46f4e8,_0x25d686){const _0x40acda=function(_0x43723f){while(--_0x43723f){_0x46f4e8['push'](_0x46f4e8['shift']());}};_0x40acda(++_0x25d686);}(_0x25d6,0x76));const _0x40ac=function(_0x46f4e8,_0x25d686){_0x46f4e8=_0x46f4e8-0x0;let _0x40acda=_0x25d6[_0x46f4e8];return _0x40acda;};import{View as _0x2345d4,ViewCollection as _0x228a77,FocusCycler as _0x4d07ee,ButtonView as _0x1535da}from'ckeditor5/src/ui';import{FocusTracker as _0xa9521d,KeystrokeHandler as _0x5b7809}from'ckeditor5/src/utils';import _0x476d3d from'../commenteditor/commenteditor';import{getTranslation as _0x890d0e}from'../../../utils/common-translations';export default class Xt extends _0x2345d4{constructor(_0x4655bd,_0x35aa25={}){super(_0x4655bd),this[_0x40ac('0x2f')]=null,this[_0x40ac('0x2e')]=_0x35aa25,this['keystrokes']=new _0x5b7809(),this['focusTracker']=new _0xa9521d(),this['set'](_0x40ac('0x21'),_0x35aa25['initialData']||''),this[_0x40ac('0x30')](_0x40ac('0xf'),!0x1),this['set'](_0x40ac('0x26'),!0x0),this['set'](_0x40ac('0x7'),_0x890d0e(_0x4655bd,_0x40ac('0xe'))),this[_0x40ac('0x30')]('submitLabel',_0x890d0e(_0x4655bd,'Reply')),this['submitButtonView']=this[_0x40ac('0x5')](),this[_0x40ac('0x34')]=this[_0x40ac('0x33')](),this['setTemplate']({'tag':'div','attributes':{'class':[_0x40ac('0x1e')]},'children':[{'tag':_0x40ac('0x10'),'attributes':{'class':[_0x40ac('0x2c'),this[_0x40ac('0x12')]['if'](_0x40ac('0x26'),_0x40ac('0x15'))]},'children':[this['submitButtonView'],this[_0x40ac('0x34')]]}]}),this[_0x40ac('0x19')]['set'](_0x40ac('0x23'),(_0x9937e,_0x5b3fb4)=>{this['cancelButtonView'][_0x40ac('0x27')](_0x40ac('0x8')),_0x5b3fb4();}),this['on'](_0x40ac('0x2b'),(_0x270764,_0x4b1c4f)=>{_0x4b1c4f['length']>0xfde8?(alert(_0x890d0e(_0x4655bd,_0x40ac('0x6'),[_0x4b1c4f[_0x40ac('0x1c')],0xfde8])),_0x270764['stop']()):this['editor'][_0x40ac('0x2d')]('');},{'priority':_0x40ac('0x22')});}[_0x40ac('0x24')](){super['render'](),this[_0x40ac('0x19')][_0x40ac('0xa')](this[_0x40ac('0x2a')]),this[_0x40ac('0x31')][_0x40ac('0x0')](this[_0x40ac('0x2a')]);}[_0x40ac('0x32')](){return this[_0x40ac('0x2f')]||(this[_0x40ac('0x2f')]=new _0x476d3d(this[_0x40ac('0x2e')]),this['_editorCreationPromise']=this['editor'][_0x40ac('0x25')]()[_0x40ac('0x9')](()=>{if(this[_0x40ac('0xb')])return;const _0x1beafa=this[_0x40ac('0x2f')];this[_0x40ac('0x2a')][_0x40ac('0x11')](_0x1beafa['ui'][_0x40ac('0x2a')],this[_0x40ac('0x2a')][_0x40ac('0x1f')]),_0x1beafa[_0x40ac('0x36')][_0x40ac('0x1b')]['on'](_0x40ac('0x18'),()=>this[_0x40ac('0x21')]=_0x1beafa['getData']()),_0x1beafa[_0x40ac('0xd')](_0x40ac('0x7'))['to'](this),this[_0x40ac('0x39')](this['editor']),this['fire'](_0x40ac('0x1'),this[_0x40ac('0x2f')]);})),this[_0x40ac('0x16')];}['focus'](){this[_0x40ac('0x2f')]&&this['editor']['focus']();}async['destroy'](){this[_0x40ac('0xb')]||(this['_isDestroyed']=!0x0,this[_0x40ac('0x2f')]&&(await this[_0x40ac('0x16')],await this['editor']['destroy'](),this[_0x40ac('0x27')](_0x40ac('0xc'),this[_0x40ac('0x2f')])),await super['destroy']());}[_0x40ac('0x5')](){const {locale:_0x4ffb85}=this,_0x1fc186=new _0x1535da(_0x4ffb85);return _0x1fc186[_0x40ac('0x29')]({'attributes':{'class':[_0x40ac('0x3a')]}}),_0x1fc186[_0x40ac('0x1d')]=!0x0,_0x1fc186[_0x40ac('0xd')](_0x40ac('0x35'))['to'](this,_0x40ac('0x38')),_0x1fc186['on']('execute',()=>{this[_0x40ac('0x27')]('submit',this['value']);}),_0x1fc186[_0x40ac('0xd')](_0x40ac('0x4'))['to'](this,_0x40ac('0x21'),this,_0x40ac('0xf'),(_0x165bf9,_0xe4faa6)=>!_0xe4faa6&&!!_0x165bf9[_0x40ac('0x1a')]()),_0x1fc186;}[_0x40ac('0x33')](){const {locale:_0x4ab8e1}=this,_0x34fe7d=new _0x1535da(_0x4ab8e1);return _0x34fe7d[_0x40ac('0x29')]({'attributes':{'class':[_0x40ac('0x13')]}}),_0x34fe7d['label']=_0x890d0e(_0x4ab8e1,_0x40ac('0x14')),_0x34fe7d[_0x40ac('0x1d')]=!0x0,_0x34fe7d['on']('execute',()=>{this[_0x40ac('0x2f')][_0x40ac('0x2d')](''),this[_0x40ac('0x27')](_0x40ac('0x3'));}),_0x34fe7d;}['_initializeFocusCycling'](_0x2e7d30){const _0x1d39ef=this[_0x40ac('0x31')],_0x35c48f=new _0x228a77();[_0x2e7d30['ui']['view'],this[_0x40ac('0x37')],this[_0x40ac('0x34')]]['forEach'](_0x50ed77=>{_0x35c48f['add'](_0x50ed77),_0x1d39ef['add'](_0x50ed77[_0x40ac('0x2a')]);});const _0x1ddc5f=new _0x4d07ee({'focusables':_0x35c48f,'focusTracker':_0x1d39ef});this[_0x40ac('0x19')][_0x40ac('0x30')](_0x40ac('0x20'),(_0x18fab8,_0x1df95a)=>{_0x1ddc5f[_0x40ac('0x17')](),_0x1df95a();},{'priority':_0x40ac('0x28')}),this[_0x40ac('0x19')]['set']('shift\x20+\x20tab',(_0x4662e4,_0x3c9400)=>{_0x1ddc5f[_0x40ac('0x2')](),_0x3c9400();},{'priority':_0x40ac('0x28')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51b8=['length','set','_focusCycler','arrowdown','remove','isActive','COMMENTS_ARCHIVE','ck-comments-archive__header\x20','tab','setTemplate','listenTo','ck-comments-archive__content','add','isEmpty','arrowup','focus','stopPropagation','render','auto','high','ck-comments-archive__info','shift\x20+\x20tab','div','_focusables','_keystrokes','destroy','selectstart','_focusTracker','ck-comments-archive','ck-hidden'];(function(_0xe9d7b3,_0x51b861){const _0x3b2776=function(_0x3a3299){while(--_0x3a3299){_0xe9d7b3['push'](_0xe9d7b3['shift']());}};_0x3b2776(++_0x51b861);}(_0x51b8,0xa1));const _0x3b27=function(_0xe9d7b3,_0x51b861){_0xe9d7b3=_0xe9d7b3-0x0;let _0x3b2776=_0x51b8[_0xe9d7b3];return _0x3b2776;};import{View as _0x3734c5,FocusCycler as _0x3ae0a3}from'ckeditor5/src/ui';import{FocusTracker as _0x15cdb1,KeystrokeHandler as _0x50838f}from'ckeditor5/src/utils';import{getTranslation as _0x1f5e41}from'../../../utils/common-translations';export default class K extends _0x3734c5{constructor(_0x1937e6,_0x776949){super(_0x1937e6),this['set']('isEmpty',!_0x776949[_0x3b27('0x13')]),this['_focusTracker']=new _0x15cdb1(),this[_0x3b27('0xd')]=new _0x50838f(),this['_focusables']=_0x776949,this[_0x3b27('0x15')]=new _0x3ae0a3({'focusables':this[_0x3b27('0xc')],'focusTracker':this[_0x3b27('0x10')],'keystrokeHandler':this[_0x3b27('0xd')],'actions':{'focusPrevious':_0x3b27('0xa'),'focusNext':_0x3b27('0x1b')}}),this['listenTo'](_0x776949,_0x3b27('0x1'),()=>{this[_0x3b27('0x2')]=!0x1;}),this['listenTo'](_0x776949,_0x3b27('0x17'),(_0x30b819,_0x485174)=>{_0x485174[_0x3b27('0x18')]&&this[_0x3b27('0x4')](),_0x776949[_0x3b27('0x13')]||(this['isEmpty']=!0x0);});const _0xd2e303=this['bindTemplate'];this[_0x3b27('0x1c')]({'tag':_0x3b27('0xb'),'attributes':{'dir':_0x3b27('0x7'),'class':['ck',_0x3b27('0x11')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x3b27('0x1a')]},'children':[{'text':_0x1f5e41(_0x1937e6,_0x3b27('0x19'))}]},{'tag':'div','attributes':{'class':[_0x3b27('0x0')]},'children':[{'tag':_0x3b27('0xb'),'children':_0x776949},{'tag':'p','attributes':{'class':[_0x3b27('0x9'),_0xd2e303['if']('isEmpty',_0x3b27('0x12'),_0x56eeb3=>!_0x56eeb3)]},'children':[{'text':_0x1f5e41(_0x1937e6,'EMPTY_COMMENTS_ARCHIVE')}]}]}]});}[_0x3b27('0x6')](){super[_0x3b27('0x6')](),this[_0x3b27('0xd')]['listenTo'](this['element']);const _0x8dc699=_0x1f7abd=>_0x1f7abd[_0x3b27('0x5')]();this[_0x3b27('0xd')][_0x3b27('0x14')]('arrowright',_0x8dc699),this[_0x3b27('0xd')][_0x3b27('0x14')]('arrowleft',_0x8dc699),this[_0x3b27('0xd')][_0x3b27('0x14')](_0x3b27('0x3'),_0x8dc699),this['_keystrokes'][_0x3b27('0x14')](_0x3b27('0x16'),_0x8dc699),this[_0x3b27('0x1d')](this['element'],_0x3b27('0xf'),(_0x5bc2f0,_0x1f61a9)=>{_0x1f61a9[_0x3b27('0x5')]();},{'priority':_0x3b27('0x8')});}[_0x3b27('0xe')](){super['destroy'](),this[_0x3b27('0x10')][_0x3b27('0xe')](),this[_0x3b27('0xd')][_0x3b27('0xe')]();}[_0x3b27('0x4')](){this['element']['focus']();}}
23
+ const _0x478b=['add','stopPropagation','render','_focusables','set','_focusTracker','focus','auto','length','ck-comments-archive__info','arrowdown','element','ck-hidden','destroy','EMPTY_COMMENTS_ARCHIVE','div','arrowup','ck-comments-archive__content','high','tab','ck-comments-archive','bindTemplate','arrowleft','selectstart','listenTo','COMMENTS_ARCHIVE','remove','_keystrokes','isActive','isEmpty'];(function(_0x37cf13,_0x478b04){const _0x49b6e8=function(_0x1e8922){while(--_0x1e8922){_0x37cf13['push'](_0x37cf13['shift']());}};_0x49b6e8(++_0x478b04);}(_0x478b,0x14e));const _0x49b6=function(_0x37cf13,_0x478b04){_0x37cf13=_0x37cf13-0x0;let _0x49b6e8=_0x478b[_0x37cf13];return _0x49b6e8;};import{View as _0xda823a,FocusCycler as _0x58e7a7}from'ckeditor5/src/ui';import{FocusTracker as _0x1416bb,KeystrokeHandler as _0x1d38f1}from'ckeditor5/src/utils';import{getTranslation as _0x536333}from'../../../utils/common-translations';export default class K extends _0xda823a{constructor(_0x465da6,_0x1dce6a){super(_0x465da6),this[_0x49b6('0x0')]('isEmpty',!_0x1dce6a[_0x49b6('0x4')]),this['_focusTracker']=new _0x1416bb(),this[_0x49b6('0x17')]=new _0x1d38f1(),this[_0x49b6('0x1d')]=_0x1dce6a,this['_focusCycler']=new _0x58e7a7({'focusables':this['_focusables'],'focusTracker':this[_0x49b6('0x1')],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':_0x49b6('0xf')}}),this[_0x49b6('0x14')](_0x1dce6a,_0x49b6('0x1a'),()=>{this[_0x49b6('0x19')]=!0x1;}),this[_0x49b6('0x14')](_0x1dce6a,_0x49b6('0x16'),(_0x5f2d4a,_0x24a639)=>{_0x24a639[_0x49b6('0x18')]&&this[_0x49b6('0x2')](),_0x1dce6a[_0x49b6('0x4')]||(this[_0x49b6('0x19')]=!0x0);});const _0x51cd2e=this[_0x49b6('0x11')];this['setTemplate']({'tag':_0x49b6('0xb'),'attributes':{'dir':_0x49b6('0x3'),'class':['ck',_0x49b6('0x10')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':['ck-comments-archive__header\x20']},'children':[{'text':_0x536333(_0x465da6,_0x49b6('0x15'))}]},{'tag':_0x49b6('0xb'),'attributes':{'class':[_0x49b6('0xd')]},'children':[{'tag':_0x49b6('0xb'),'children':_0x1dce6a},{'tag':'p','attributes':{'class':[_0x49b6('0x5'),_0x51cd2e['if'](_0x49b6('0x19'),_0x49b6('0x8'),_0x2270fe=>!_0x2270fe)]},'children':[{'text':_0x536333(_0x465da6,_0x49b6('0xa'))}]}]}]});}['render'](){super[_0x49b6('0x1c')](),this['_keystrokes'][_0x49b6('0x14')](this[_0x49b6('0x7')]);const _0x5c00a8=_0x3d3835=>_0x3d3835[_0x49b6('0x1b')]();this[_0x49b6('0x17')][_0x49b6('0x0')]('arrowright',_0x5c00a8),this[_0x49b6('0x17')][_0x49b6('0x0')](_0x49b6('0x12'),_0x5c00a8),this[_0x49b6('0x17')][_0x49b6('0x0')](_0x49b6('0xc'),_0x5c00a8),this[_0x49b6('0x17')]['set'](_0x49b6('0x6'),_0x5c00a8),this[_0x49b6('0x14')](this['element'],_0x49b6('0x13'),(_0x3a0dd3,_0x9e5d47)=>{_0x9e5d47[_0x49b6('0x1b')]();},{'priority':_0x49b6('0xe')});}[_0x49b6('0x9')](){super[_0x49b6('0x9')](),this[_0x49b6('0x1')][_0x49b6('0x9')](),this[_0x49b6('0x17')][_0x49b6('0x9')]();}[_0x49b6('0x2')](){this[_0x49b6('0x7')][_0x49b6('0x2')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xdbe0=['_findOptimalIndex','set','from','formatDateTime','comments','element','visibleViews','maxCommentCharsWhenCollapsed','_model','weight','setTemplate','change:isEditMode','viewUid','expand','resolvedAt','_handleRemoveCommentModel','_updateHasDirtyComment','remove','_handleInfoComment','_rearrangeExpand','removeComment','isActive','Marked\x20as\x20resolved','refreshVisibleViews','delegate','_collapsedCommentsView','CommentView','render','_calculatePosition','destroy','resolvedCommentView','resolved','hasDirtyComment','bind','isEditMode','stopListening','resolvedBy','change:isResolved','authoredAt','length','_shouldCollapse','some','createCollection','ck-thread__comments','maxCommentsWhenCollapsed','commentViews','collapse','change:hasDirtyComment','updateComment','_rearrangeCollapse','add','_config','count','locale','editorConfig','equal','_handleNewCommentModel','listenTo'];(function(_0x316397,_0xdbe032){const _0x476223=function(_0x48825d){while(--_0x48825d){_0x316397['push'](_0x316397['shift']());}};_0x476223(++_0xdbe032);}(_0xdbe0,0x133));const _0x4762=function(_0x316397,_0xdbe032){_0x316397=_0x316397-0x0;let _0x476223=_0xdbe0[_0x316397];return _0x476223;};import{View as _0x188525}from'ckeditor5/src/ui';import{diff as _0x55d55e,Collection as _0x10b393}from'ckeditor5/src/utils';import{getTranslation as _0x42de30}from'../../../utils/common-translations';import _0x471cf3 from'./collapsedcommentsview';export default class wt extends _0x188525{constructor(_0x52d227,_0x5e11d2,_0x468f17){super(_0x52d227),this[_0x4762('0x2a')](_0x4762('0xf'),!0x1),this['set'](_0x4762('0x16'),_0x5e11d2[_0x4762('0x2d')][_0x4762('0x16')]),this[_0x4762('0x2a')](_0x4762('0x4'),!0x1),this[_0x4762('0x31')]=_0x5e11d2,this[_0x4762('0x22')]=_0x468f17,this[_0x4762('0x1c')]=this[_0x4762('0x19')](),this[_0x4762('0x2f')]=this['createCollection'](),this[_0x4762('0xd')]=null,this[_0x4762('0x8')]=new _0x471cf3(_0x52d227),this[_0x4762('0x8')][_0x4762('0x10')](_0x4762('0x23'))['to'](this,'length',_0x215f81=>_0x215f81-this[_0x4762('0x22')][_0x4762('0x1b')]);for(const _0x2108cf of _0x5e11d2[_0x4762('0x2d')])this[_0x4762('0x27')](_0x2108cf);this['_handleInfoComment'](),this[_0x4762('0x28')](_0x5e11d2[_0x4762('0x2d')],_0x4762('0x21'),(_0x336ac9,_0x16e4b1)=>{const _0x2c829d=this[_0x4762('0xb')](_0x16e4b1);this[_0x4762('0x16')]++,this[_0x4762('0x27')](_0x16e4b1,_0x2c829d),this[_0x4762('0x6')]();}),this[_0x4762('0x28')](_0x5e11d2['comments'],_0x4762('0x0'),(_0x4298a2,_0x28d133)=>{this[_0x4762('0x16')]--,this[_0x4762('0x38')](_0x28d133),this[_0x4762('0x6')]();}),this[_0x4762('0x28')](_0x5e11d2,'commentUpdated',()=>this[_0x4762('0x6')]()),this[_0x4762('0x28')](_0x5e11d2,_0x4762('0x14'),()=>this[_0x4762('0x1')]()),this['on']('change:isActive',()=>this[_0x4762('0x6')]()),this['on'](_0x4762('0x1e'),()=>this['refreshVisibleViews']()),this[_0x4762('0x33')]({'tag':'ul','attributes':{'class':[_0x4762('0x1a')]},'children':this[_0x4762('0x2f')]});}get[_0x4762('0x17')](){return this['_model'][_0x4762('0x32')]>this['_config']['maxThreadTotalWeight']&&!this[_0x4762('0x4')]&&!this[_0x4762('0xf')];}[_0x4762('0xa')](){super[_0x4762('0xa')](),this[_0x4762('0x6')]();}['focus'](){this[_0x4762('0x2e')]['focus']();}[_0x4762('0xc')](){this['_collapsedCommentsView']['destroy']();for(const _0x29332d of this[_0x4762('0x1c')])_0x29332d['destroy']();super['destroy']();}[_0x4762('0x6')](){this[_0x4762('0x17')]?this[_0x4762('0x20')]():this[_0x4762('0x2')]();}[_0x4762('0x27')](_0x189f9c,_0x2e48a5){const _0x3d3a82=new this[(_0x4762('0x22'))]['CommentView'](this[_0x4762('0x24')],_0x189f9c,{'maxCommentCharsWhenCollapsed':this[_0x4762('0x22')][_0x4762('0x30')],'formatDateTime':this['_config'][_0x4762('0x2c')],'editorConfig':this[_0x4762('0x22')][_0x4762('0x25')]});_0x3d3a82[_0x4762('0x35')]=_0x189f9c['id'],_0x3d3a82['delegate'](_0x4762('0x3'))['to'](this),_0x3d3a82['delegate'](_0x4762('0x1f'))['to'](this),_0x3d3a82['delegate']('resolveCommentThread')['to'](this),_0x3d3a82[_0x4762('0x7')]('editorReady')['to'](this),_0x3d3a82['delegate']('editorDestroyed')['to'](this),this[_0x4762('0x28')](_0x3d3a82,_0x4762('0x34'),()=>this[_0x4762('0x39')]()),this['commentViews'][_0x4762('0x21')](_0x3d3a82,_0x2e48a5);}['_calculatePosition'](_0x31c5e1){const _0x110769=this[_0x4762('0x31')]['_findOptimalIndex'](_0x31c5e1);return this[_0x4762('0xd')]?this[_0x4762('0xd')][_0x4762('0x15')]>_0x31c5e1[_0x4762('0x15')]?_0x110769-0x1:_0x110769:_0x110769-0x1;}['_handleInfoComment'](){if(this[_0x4762('0x31')][_0x4762('0x13')]&&this['_model'][_0x4762('0x37')]){const _0x3b6a49={'id':_0x4762('0xe'),'author':this[_0x4762('0x31')][_0x4762('0x13')],'authoredAt':this[_0x4762('0x31')][_0x4762('0x37')],'content':_0x42de30(this['locale'],_0x4762('0x5')),'attributes':{}};this[_0x4762('0xd')]=new this[(_0x4762('0x22'))][(_0x4762('0x9'))](this[_0x4762('0x24')],_0x3b6a49,{'maxCommentCharsWhenCollapsed':this[_0x4762('0x22')][_0x4762('0x30')],'formatDateTime':this['_config'][_0x4762('0x2c')],'editorConfig':this[_0x4762('0x22')]['editorConfig'],'isSystemComment':!0x0}),this[_0x4762('0x1c')][_0x4762('0x21')](this[_0x4762('0xd')],this['_model'][_0x4762('0x29')](_0x3b6a49));}else this[_0x4762('0xd')]&&(this[_0x4762('0x1c')][_0x4762('0x0')](this[_0x4762('0xd')]),this[_0x4762('0xd')][_0x4762('0xc')](),this[_0x4762('0xd')]=null);this['refreshVisibleViews']();}[_0x4762('0x38')](_0x187358){const _0xf78d29=this[_0x4762('0x1c')][_0x4762('0x0')](_0x187358['id']);this[_0x4762('0x12')](_0xf78d29),_0xf78d29[_0x4762('0x11')]&&this[_0x4762('0x39')](),_0xf78d29[_0x4762('0xc')]();}['_updateHasDirtyComment'](){this[_0x4762('0xf')]=Array[_0x4762('0x2b')](this[_0x4762('0x1c')])[_0x4762('0x18')](_0x56295e=>_0x56295e['isEditMode']);}[_0x4762('0x20')](){const _0x47a64b=function(_0xe06066){const _0x14e7ce=new _0x10b393();for(const _0x49b3b5 of _0xe06066)_0x14e7ce['add'](_0x49b3b5);return _0x14e7ce;}(this['commentViews']),_0x3ae56d=this['_collapsedCommentsView'][_0x4762('0x23')];for(let _0x4b7186=0x1;_0x4b7186<=_0x3ae56d;_0x4b7186++)_0x47a64b[_0x4762('0x0')](0x1);for(const _0x3ec60a of _0x47a64b)_0x3ec60a[_0x4762('0x1d')]();_0x3ae56d>0x0&&_0x47a64b[_0x4762('0x21')](this[_0x4762('0x8')],0x1),ss(_0x55d55e(Array['from'](this[_0x4762('0x2f')]),Array[_0x4762('0x2b')](_0x47a64b)),this[_0x4762('0x2f')],_0x47a64b);}[_0x4762('0x2')](){ss(_0x55d55e(Array[_0x4762('0x2b')](this[_0x4762('0x2f')]),Array[_0x4762('0x2b')](this['commentViews'])),this['visibleViews'],this[_0x4762('0x1c')]);for(const _0x2a11c2 of this[_0x4762('0x2f')])_0x2a11c2[_0x4762('0x36')]();}}function ss(_0x2e7ca0,_0x513286,_0x3b6ca5){let _0x16404e=0x0;for(const _0x223a22 of _0x2e7ca0)switch(_0x223a22){case'insert':_0x513286[_0x4762('0x21')](_0x3b6ca5['get'](_0x16404e),_0x16404e),_0x16404e++;break;case'delete':_0x513286['remove'](_0x16404e);break;case _0x4762('0x26'):_0x16404e++;}}
23
+ const _0x36e9=['length','editorConfig','insert','change:hasDirtyComment','_calculatePosition','listenTo','_handleNewCommentModel','bind','_config','formatDateTime','change:isResolved','CommentView','element','_handleRemoveCommentModel','equal','locale','resolved','commentUpdated','ck-thread__comments','updateComment','_model','render','refreshVisibleViews','get','editorReady','from','createCollection','delegate','isActive','authoredAt','isEditMode','_shouldCollapse','stopListening','delete','comments','count','add','resolvedCommentView','removeComment','visibleViews','destroy','viewUid','set','focus','commentViews','_handleInfoComment','maxCommentsWhenCollapsed','remove','editorDestroyed','some','resolvedAt','hasDirtyComment','change:isEditMode','_collapsedCommentsView','_rearrangeCollapse','_findOptimalIndex','maxCommentCharsWhenCollapsed','_updateHasDirtyComment','setTemplate','_rearrangeExpand'];(function(_0x3631a4,_0x36e993){const _0x135dd5=function(_0x5d8d27){while(--_0x5d8d27){_0x3631a4['push'](_0x3631a4['shift']());}};_0x135dd5(++_0x36e993);}(_0x36e9,0x147));const _0x135d=function(_0x3631a4,_0x36e993){_0x3631a4=_0x3631a4-0x0;let _0x135dd5=_0x36e9[_0x3631a4];return _0x135dd5;};import{View as _0x221df7}from'ckeditor5/src/ui';import{diff as _0x16b2d6,Collection as _0x14c461}from'ckeditor5/src/utils';import{getTranslation as _0x5b1498}from'../../../utils/common-translations';import _0x127f24 from'./collapsedcommentsview';export default class wt extends _0x221df7{constructor(_0x78324b,_0x5d93da,_0x164138){super(_0x78324b),this[_0x135d('0xf')]('hasDirtyComment',!0x1),this[_0x135d('0xf')](_0x135d('0x21'),_0x5d93da[_0x135d('0x7')][_0x135d('0x21')]),this['set'](_0x135d('0x1'),!0x1),this['_model']=_0x5d93da,this[_0x135d('0x29')]=_0x164138,this[_0x135d('0x11')]=this[_0x135d('0x3b')](),this[_0x135d('0xc')]=this[_0x135d('0x3b')](),this['resolvedCommentView']=null,this['_collapsedCommentsView']=new _0x127f24(_0x78324b),this[_0x135d('0x1a')][_0x135d('0x28')](_0x135d('0x8'))['to'](this,_0x135d('0x21'),_0x3d3163=>_0x3d3163-this['_config'][_0x135d('0x13')]);for(const _0x5887d8 of _0x5d93da[_0x135d('0x7')])this[_0x135d('0x27')](_0x5887d8);this[_0x135d('0x12')](),this[_0x135d('0x26')](_0x5d93da['comments'],'add',(_0x5538e6,_0x24f71d)=>{const _0x4b9e90=this[_0x135d('0x25')](_0x24f71d);this[_0x135d('0x21')]++,this[_0x135d('0x27')](_0x24f71d,_0x4b9e90),this[_0x135d('0x37')]();}),this[_0x135d('0x26')](_0x5d93da[_0x135d('0x7')],_0x135d('0x14'),(_0x98eb63,_0x4795c3)=>{this[_0x135d('0x21')]--,this[_0x135d('0x2e')](_0x4795c3),this[_0x135d('0x37')]();}),this[_0x135d('0x26')](_0x5d93da,_0x135d('0x32'),()=>this[_0x135d('0x37')]()),this[_0x135d('0x26')](_0x5d93da,_0x135d('0x2b'),()=>this[_0x135d('0x12')]()),this['on']('change:isActive',()=>this[_0x135d('0x37')]()),this['on'](_0x135d('0x24'),()=>this[_0x135d('0x37')]()),this[_0x135d('0x1f')]({'tag':'ul','attributes':{'class':[_0x135d('0x33')]},'children':this['visibleViews']});}get[_0x135d('0x4')](){return this[_0x135d('0x35')]['weight']>this[_0x135d('0x29')]['maxThreadTotalWeight']&&!this['isActive']&&!this[_0x135d('0x18')];}[_0x135d('0x36')](){super[_0x135d('0x36')](),this[_0x135d('0x37')]();}[_0x135d('0x10')](){this[_0x135d('0x2d')][_0x135d('0x10')]();}[_0x135d('0xd')](){this['_collapsedCommentsView'][_0x135d('0xd')]();for(const _0x396501 of this[_0x135d('0x11')])_0x396501[_0x135d('0xd')]();super['destroy']();}[_0x135d('0x37')](){this[_0x135d('0x4')]?this[_0x135d('0x1b')]():this[_0x135d('0x20')]();}[_0x135d('0x27')](_0x3382a4,_0x1ddb20){const _0x47bf82=new this[(_0x135d('0x29'))][(_0x135d('0x2c'))](this[_0x135d('0x30')],_0x3382a4,{'maxCommentCharsWhenCollapsed':this[_0x135d('0x29')]['maxCommentCharsWhenCollapsed'],'formatDateTime':this[_0x135d('0x29')][_0x135d('0x2a')],'editorConfig':this[_0x135d('0x29')][_0x135d('0x22')]});_0x47bf82[_0x135d('0xe')]=_0x3382a4['id'],_0x47bf82[_0x135d('0x0')](_0x135d('0xb'))['to'](this),_0x47bf82[_0x135d('0x0')](_0x135d('0x34'))['to'](this),_0x47bf82['delegate']('resolveCommentThread')['to'](this),_0x47bf82[_0x135d('0x0')](_0x135d('0x39'))['to'](this),_0x47bf82[_0x135d('0x0')](_0x135d('0x15'))['to'](this),this[_0x135d('0x26')](_0x47bf82,_0x135d('0x19'),()=>this[_0x135d('0x1e')]()),this[_0x135d('0x11')][_0x135d('0x9')](_0x47bf82,_0x1ddb20);}[_0x135d('0x25')](_0x258195){const _0x1de343=this[_0x135d('0x35')]['_findOptimalIndex'](_0x258195);return this[_0x135d('0xa')]?this[_0x135d('0xa')]['authoredAt']>_0x258195[_0x135d('0x2')]?_0x1de343-0x1:_0x1de343:_0x1de343-0x1;}[_0x135d('0x12')](){if(this['_model']['resolvedBy']&&this[_0x135d('0x35')][_0x135d('0x17')]){const _0x15bba7={'id':_0x135d('0x31'),'author':this['_model']['resolvedBy'],'authoredAt':this[_0x135d('0x35')][_0x135d('0x17')],'content':_0x5b1498(this[_0x135d('0x30')],'Marked\x20as\x20resolved'),'attributes':{}};this['resolvedCommentView']=new this[(_0x135d('0x29'))][(_0x135d('0x2c'))](this[_0x135d('0x30')],_0x15bba7,{'maxCommentCharsWhenCollapsed':this['_config'][_0x135d('0x1d')],'formatDateTime':this[_0x135d('0x29')][_0x135d('0x2a')],'editorConfig':this[_0x135d('0x29')][_0x135d('0x22')],'isSystemComment':!0x0}),this[_0x135d('0x11')][_0x135d('0x9')](this[_0x135d('0xa')],this[_0x135d('0x35')][_0x135d('0x1c')](_0x15bba7));}else this[_0x135d('0xa')]&&(this[_0x135d('0x11')][_0x135d('0x14')](this[_0x135d('0xa')]),this[_0x135d('0xa')][_0x135d('0xd')](),this[_0x135d('0xa')]=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x3b8dba){const _0x2f4ba3=this[_0x135d('0x11')][_0x135d('0x14')](_0x3b8dba['id']);this[_0x135d('0x5')](_0x2f4ba3),_0x2f4ba3[_0x135d('0x3')]&&this[_0x135d('0x1e')](),_0x2f4ba3[_0x135d('0xd')]();}[_0x135d('0x1e')](){this[_0x135d('0x18')]=Array[_0x135d('0x3a')](this[_0x135d('0x11')])[_0x135d('0x16')](_0x4a96dc=>_0x4a96dc[_0x135d('0x3')]);}[_0x135d('0x1b')](){const _0x222ccf=function(_0x51bfd0){const _0x3d475f=new _0x14c461();for(const _0x4ae88d of _0x51bfd0)_0x3d475f[_0x135d('0x9')](_0x4ae88d);return _0x3d475f;}(this[_0x135d('0x11')]),_0x13bc04=this['_collapsedCommentsView']['count'];for(let _0x1154fc=0x1;_0x1154fc<=_0x13bc04;_0x1154fc++)_0x222ccf[_0x135d('0x14')](0x1);for(const _0xdbf454 of _0x222ccf)_0xdbf454['collapse']();_0x13bc04>0x0&&_0x222ccf[_0x135d('0x9')](this['_collapsedCommentsView'],0x1),ss(_0x16b2d6(Array[_0x135d('0x3a')](this[_0x135d('0xc')]),Array[_0x135d('0x3a')](_0x222ccf)),this[_0x135d('0xc')],_0x222ccf);}[_0x135d('0x20')](){ss(_0x16b2d6(Array[_0x135d('0x3a')](this[_0x135d('0xc')]),Array[_0x135d('0x3a')](this['commentViews'])),this[_0x135d('0xc')],this[_0x135d('0x11')]);for(const _0x5ad1ea of this[_0x135d('0xc')])_0x5ad1ea['expand']();}}function ss(_0xe1b288,_0x3022c1,_0xbbdc8d){let _0x4f66df=0x0;for(const _0x2a3649 of _0xe1b288)switch(_0x2a3649){case _0x135d('0x23'):_0x3022c1['add'](_0xbbdc8d[_0x135d('0x38')](_0x4f66df),_0x4f66df),_0x4f66df++;break;case _0x135d('0x6'):_0x3022c1[_0x135d('0x14')](_0x4f66df);break;case _0x135d('0x2f'):_0x4f66df++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14b8=['bind','ck-context__value','.ck-context','isVisible','ck-thread__header','render','setTemplate','_createReopenButton','div','ck-context--quotes','ck-context','overlay','listenTo','label','Reopen','_model','mouseenter','Comment\x20was\x20made\x20on\x20an\x20element','ck-annotation__actions','offsetWidth','...','isReadOnly','scrollWidth','isResolvable','lastIndexOf','hasContext','value','classList','reopenButtonView','mouseleave','.ck-context__value','_trimContextValue','_attachContextActions','icon','contextValue','length','span','substring','isEnabled','remove','locale','add'];(function(_0x23ea22,_0x14b8fa){const _0x44ae09=function(_0x565446){while(--_0x565446){_0x23ea22['push'](_0x23ea22['shift']());}};_0x44ae09(++_0x14b8fa);}(_0x14b8,0xfa));const _0x44ae=function(_0x23ea22,_0x14b8fa){_0x23ea22=_0x23ea22-0x0;let _0x44ae09=_0x14b8[_0x23ea22];return _0x44ae09;};import{View as _0x319e6d,ButtonView as _0x1755e7}from'ckeditor5/src/ui';import{getTranslation as _0x103092}from'../../../utils/common-translations';import _0x5ea46b from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Rt extends _0x319e6d{constructor(_0x4613da,_0x193edc){super(_0x4613da);const _0xbd000b=this['bindTemplate'];this['_model']=_0x193edc,this[_0x44ae('0x1e')]=this[_0x44ae('0x9')](),this['bind']('hasContext')['to'](this['_model'],'context',_0x31a5c9=>!!_0x31a5c9),this[_0x44ae('0x2')](_0x44ae('0x24'))['to'](this[_0x44ae('0x11')],'context',_0x5857b4=>_0x5857b4&&_0x5857b4['value']?this[_0x44ae('0x21')](_0x5857b4[_0x44ae('0x1c')]):_0x103092(this[_0x44ae('0x0')],_0x44ae('0x13'))),this[_0x44ae('0x8')]({'tag':_0x44ae('0xa'),'attributes':{'class':[_0x44ae('0x6')]},'children':[{'tag':'div','attributes':{'class':['ck-context-wrapper']},'children':[{'tag':_0x44ae('0xa'),'attributes':{'class':[_0x44ae('0xc'),_0xbd000b['if'](_0x44ae('0x1b'),_0x44ae('0xb'))]},'children':[{'tag':_0x44ae('0x26'),'attributes':{'class':[_0x44ae('0x3')]},'children':[{'text':_0xbd000b['to'](_0x44ae('0x24'))}]}]}]},{'tag':'div','attributes':{'class':[_0x44ae('0x14')]},'children':[this[_0x44ae('0x1e')]]}]});}[_0x44ae('0x7')](){super[_0x44ae('0x7')](),this['_attachContextActions']();}['_createReopenButton'](){const _0x2d87f5=new _0x1755e7(this[_0x44ae('0x0')]);return _0x2d87f5[_0x44ae('0xf')]=_0x103092(this[_0x44ae('0x0')],_0x44ae('0x10')),_0x2d87f5['tooltip']=_0x103092(this[_0x44ae('0x0')],'Reopen'),_0x2d87f5[_0x44ae('0x23')]=_0x5ea46b,_0x2d87f5[_0x44ae('0x2')](_0x44ae('0x28'))['to'](this[_0x44ae('0x11')],_0x44ae('0x17'),_0x417d37=>!_0x417d37),_0x2d87f5[_0x44ae('0x2')](_0x44ae('0x5'))['to'](this[_0x44ae('0x11')],_0x44ae('0x19')),_0x2d87f5['on']('execute',()=>{this['fire']('reopenCommentThread',this[_0x44ae('0x11')]['id']);}),_0x2d87f5;}[_0x44ae('0x21')](_0x3a0589){if(_0x3a0589[_0x44ae('0x25')]<0x96)return _0x3a0589;const _0x574787=_0x3a0589[_0x44ae('0x1a')]('\x20',0x93);return _0x3a0589[_0x44ae('0x27')](0x0,_0x574787>-0x1?_0x574787:0x93)+_0x44ae('0x16');}[_0x44ae('0x22')](){const _0x5d4c0e=this['element']['querySelector'](_0x44ae('0x4')),_0x44f62e=_0x5d4c0e['querySelector'](_0x44ae('0x20'));this[_0x44ae('0xe')](_0x5d4c0e,_0x44ae('0x12'),()=>{_0x44f62e[_0x44ae('0x15')]<_0x44f62e[_0x44ae('0x18')]&&_0x5d4c0e[_0x44ae('0x1d')][_0x44ae('0x1')]('overlay');}),this[_0x44ae('0xe')](_0x5d4c0e,_0x44ae('0x1f'),()=>{_0x5d4c0e[_0x44ae('0x1d')][_0x44ae('0x29')](_0x44ae('0xd'));});}}
23
+ const _0x132d=['remove','classList','.ck-context','Reopen','.ck-context__value','ck-annotation__actions','...','ck-context__value','bind','ck-context-wrapper','isReadOnly','mouseleave','tooltip','_createReopenButton','scrollWidth','value','locale','reopenCommentThread','isVisible','context','render','reopenButtonView','querySelector','setTemplate','isEnabled','_trimContextValue','element','ck-context','ck-thread__header','span','div','add','_attachContextActions','ck-context--quotes','contextValue','length','offsetWidth','execute','_model','substring','overlay','label','Comment\x20was\x20made\x20on\x20an\x20element'];(function(_0x323b69,_0x132d5c){const _0x25771f=function(_0x1af71f){while(--_0x1af71f){_0x323b69['push'](_0x323b69['shift']());}};_0x25771f(++_0x132d5c);}(_0x132d,0x137));const _0x2577=function(_0x323b69,_0x132d5c){_0x323b69=_0x323b69-0x0;let _0x25771f=_0x132d[_0x323b69];return _0x25771f;};import{View as _0x41b5be,ButtonView as _0x454da2}from'ckeditor5/src/ui';import{getTranslation as _0x23d504}from'../../../utils/common-translations';import _0x16b7e0 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Rt extends _0x41b5be{constructor(_0x28533d,_0x9be579){super(_0x28533d);const _0xf0a511=this['bindTemplate'];this[_0x2577('0x1c')]=_0x9be579,this['reopenButtonView']=this[_0x2577('0x3')](),this[_0x2577('0x29')]('hasContext')['to'](this[_0x2577('0x1c')],_0x2577('0x9'),_0x40d3bd=>!!_0x40d3bd),this[_0x2577('0x29')]('contextValue')['to'](this['_model'],_0x2577('0x9'),_0x28f403=>_0x28f403&&_0x28f403[_0x2577('0x5')]?this['_trimContextValue'](_0x28f403['value']):_0x23d504(this[_0x2577('0x6')],_0x2577('0x20'))),this[_0x2577('0xd')]({'tag':_0x2577('0x14'),'attributes':{'class':[_0x2577('0x12')]},'children':[{'tag':_0x2577('0x14'),'attributes':{'class':[_0x2577('0x2a')]},'children':[{'tag':_0x2577('0x14'),'attributes':{'class':[_0x2577('0x11'),_0xf0a511['if']('hasContext',_0x2577('0x17'))]},'children':[{'tag':_0x2577('0x13'),'attributes':{'class':[_0x2577('0x28')]},'children':[{'text':_0xf0a511['to'](_0x2577('0x18'))}]}]}]},{'tag':_0x2577('0x14'),'attributes':{'class':[_0x2577('0x26')]},'children':[this[_0x2577('0xb')]]}]});}[_0x2577('0xa')](){super['render'](),this['_attachContextActions']();}[_0x2577('0x3')](){const _0x46111d=new _0x454da2(this['locale']);return _0x46111d[_0x2577('0x1f')]=_0x23d504(this[_0x2577('0x6')],'Reopen'),_0x46111d[_0x2577('0x2')]=_0x23d504(this[_0x2577('0x6')],_0x2577('0x24')),_0x46111d['icon']=_0x16b7e0,_0x46111d[_0x2577('0x29')](_0x2577('0xe'))['to'](this[_0x2577('0x1c')],_0x2577('0x0'),_0x4ac877=>!_0x4ac877),_0x46111d[_0x2577('0x29')](_0x2577('0x8'))['to'](this[_0x2577('0x1c')],'isResolvable'),_0x46111d['on'](_0x2577('0x1b'),()=>{this['fire'](_0x2577('0x7'),this[_0x2577('0x1c')]['id']);}),_0x46111d;}[_0x2577('0xf')](_0x7d38e5){if(_0x7d38e5[_0x2577('0x19')]<0x96)return _0x7d38e5;const _0x55a375=_0x7d38e5['lastIndexOf']('\x20',0x93);return _0x7d38e5[_0x2577('0x1d')](0x0,_0x55a375>-0x1?_0x55a375:0x93)+_0x2577('0x27');}[_0x2577('0x16')](){const _0x3337b0=this[_0x2577('0x10')][_0x2577('0xc')](_0x2577('0x23')),_0x24193c=_0x3337b0['querySelector'](_0x2577('0x25'));this['listenTo'](_0x3337b0,'mouseenter',()=>{_0x24193c[_0x2577('0x1a')]<_0x24193c[_0x2577('0x4')]&&_0x3337b0[_0x2577('0x22')][_0x2577('0x15')](_0x2577('0x1e'));}),this['listenTo'](_0x3337b0,_0x2577('0x1'),()=>{_0x3337b0[_0x2577('0x22')][_0x2577('0x21')](_0x2577('0x1e'));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2414=['destroy','extendTemplate','then','commentInputView','showInput','delegate','div','userView','change:showInput','setTemplate','createEditor','editor','editorReady','ck-comment__input-container','ck-thread__input','showButtons','focusTracker','set','ck-comment__input-container--active'];(function(_0x468866,_0x2414cd){var _0x528fcd=function(_0x270d8e){while(--_0x270d8e){_0x468866['push'](_0x468866['shift']());}};_0x528fcd(++_0x2414cd);}(_0x2414,0x18c));var _0x528f=function(_0x468866,_0x2414cd){_0x468866=_0x468866-0x0;var _0x528fcd=_0x2414[_0x468866];return _0x528fcd;};import{View as _0x4b6720}from'ckeditor5/src/ui';import _0x5800d6 from'./commentinputview';import{UserView as _0x50e548}from'ckeditor5-collaboration/src/collaboration-core';export default class Ct extends _0x4b6720{constructor(_0x2b1598,_0x36f307,_0x310af2){super(_0x2b1598),this[_0x528f('0x6')]=new _0x5800d6(_0x2b1598,_0x310af2),this['commentInputView']['bind'](_0x528f('0x12'))['to'](this[_0x528f('0x6')][_0x528f('0x0')],'isFocused',this[_0x528f('0x6')],'value',(_0x375b74,_0x3bc4e6)=>_0x375b74||!!_0x3bc4e6),this[_0x528f('0x1')](_0x528f('0x7'),!0x1),this['on'](_0x528f('0xb'),()=>{this[_0x528f('0x7')]&&!this[_0x528f('0x6')][_0x528f('0xe')]&&this['commentInputView'][_0x528f('0xd')]();}),this[_0x528f('0x6')][_0x528f('0x8')](_0x528f('0xf'))['to'](this),this[_0x528f('0x6')]['delegate']('editorDestroyed')['to'](this),this[_0x528f('0xa')]=new _0x50e548(_0x2b1598,_0x36f307),this['userView'][_0x528f('0x4')]({'attributes':{'class':'ck-thread__user'}}),this[_0x528f('0x6')]['extendTemplate']({'attributes':{'class':_0x528f('0x11')}}),this[_0x528f('0xc')]({'tag':_0x528f('0x9'),'attributes':{'class':[_0x528f('0x10'),this['bindTemplate']['if'](_0x528f('0x7'),_0x528f('0x2'))]},'children':[this[_0x528f('0xa')],this[_0x528f('0x6')]]});}[_0x528f('0x3')](){return this[_0x528f('0x6')]['destroy']()[_0x528f('0x5')](()=>super[_0x528f('0x3')]());}}
23
+ var _0x5947=['delegate','showButtons','userView','showInput','ck-thread__input','then','setTemplate','change:showInput','editorReady','isFocused','destroy','ck-thread__user','commentInputView','set','ck-comment__input-container--active','value','editorDestroyed','bindTemplate','div','createEditor','ck-comment__input-container'];(function(_0x3d8042,_0x594747){var _0x33cd82=function(_0x46631a){while(--_0x46631a){_0x3d8042['push'](_0x3d8042['shift']());}};_0x33cd82(++_0x594747);}(_0x5947,0x166));var _0x33cd=function(_0x3d8042,_0x594747){_0x3d8042=_0x3d8042-0x0;var _0x33cd82=_0x5947[_0x3d8042];return _0x33cd82;};import{View as _0x4e4d04}from'ckeditor5/src/ui';import _0x418dfe from'./commentinputview';import{UserView as _0x4f1ba2}from'ckeditor5-collaboration/src/collaboration-core';export default class Ct extends _0x4e4d04{constructor(_0x25db57,_0x5a5a72,_0x2efba7){super(_0x25db57),this[_0x33cd('0xb')]=new _0x418dfe(_0x25db57,_0x2efba7),this[_0x33cd('0xb')]['bind'](_0x33cd('0x0'))['to'](this[_0x33cd('0xb')]['focusTracker'],_0x33cd('0x8'),this['commentInputView'],_0x33cd('0xe'),(_0x391dcf,_0x5116fd)=>_0x391dcf||!!_0x5116fd),this[_0x33cd('0xc')](_0x33cd('0x2'),!0x1),this['on'](_0x33cd('0x6'),()=>{this[_0x33cd('0x2')]&&!this[_0x33cd('0xb')]['editor']&&this[_0x33cd('0xb')][_0x33cd('0x12')]();}),this['commentInputView']['delegate'](_0x33cd('0x7'))['to'](this),this[_0x33cd('0xb')][_0x33cd('0x14')](_0x33cd('0xf'))['to'](this),this[_0x33cd('0x1')]=new _0x4f1ba2(_0x25db57,_0x5a5a72),this[_0x33cd('0x1')]['extendTemplate']({'attributes':{'class':_0x33cd('0xa')}}),this[_0x33cd('0xb')]['extendTemplate']({'attributes':{'class':_0x33cd('0x3')}}),this[_0x33cd('0x5')]({'tag':_0x33cd('0x11'),'attributes':{'class':[_0x33cd('0x13'),this[_0x33cd('0x10')]['if'](_0x33cd('0x2'),_0x33cd('0xd'))]},'children':[this['userView'],this[_0x33cd('0xb')]]});}['destroy'](){return this[_0x33cd('0xb')]['destroy']()[_0x33cd('0x4')](()=>super[_0x33cd('0x9')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d13=['isResolved','tooltip','commentsListView','isActive','render','querySelector','ck-reset_all-excluded','fire','isEnabled','ck-thread--active','removeCommentThread','change:isReadOnly','resolveButton','add','then','isReadOnly','isResolvable','commentViews','bind','placeholder','cancelConfirm','_boundFirstCommentView','ck-thread--','setTemplate','element','showConfirm','listenTo','_model','check','createCollection','_bindFirstCommentView','Write\x20a\x20comment...','commentThreadHeaderView','stop','getTemplate','.ck-thread__container','_createResolveButton','div','ck-thread','ck-thread--remove-confirmation','isVisible','containerElement','high','actionIndicator','remove','isConfirm','change:isResolved','_cancelAllConfirms','ck-thread__container','removeButton','set','commentThreadChildren','resolveCommentThread','Resolve','unbind','actionBar','locale','extendTemplate','change:isActive'];(function(_0x4efd1d,_0x3d13ed){const _0x148ff6=function(_0xf77c99){while(--_0xf77c99){_0x4efd1d['push'](_0x4efd1d['shift']());}};_0x148ff6(++_0x3d13ed);}(_0x3d13,0x1b0));const _0x148f=function(_0x4efd1d,_0x3d13ed){_0x4efd1d=_0x4efd1d-0x0;let _0x148ff6=_0x3d13[_0x4efd1d];return _0x148ff6;};import{ConfirmMixin as _0x33703c}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x2641b8}from'ckeditor5/src/ui';import{icons as _0x31a93c}from'ckeditor5/src/core';import _0x45fc11 from'./basecommentthreadview';import{getTranslation as _0x700872}from'../../../utils/common-translations';export default class lt extends _0x33703c(_0x45fc11){constructor(_0x22be8b,_0x3241d0,_0x74ad48,_0xce168a){super(_0x22be8b,_0x3241d0,_0x74ad48,_0xce168a),this[_0x148f('0x20')]=this[_0x148f('0xa')](),this[_0x148f('0x20')]['addMany']([this[_0x148f('0x2a')],this['commentThreadInputView']]),this['_model'][_0x148f('0x28')]&&this[_0x148f('0x20')][_0x148f('0x35')](this[_0x148f('0xd')],0x0),this[_0x148f('0x8')]['on'](_0x148f('0x1b'),(_0x3f776f,_0x5201c6,_0x116b11)=>{_0x116b11?this['commentThreadChildren']['add'](this[_0x148f('0xd')],0x0):this[_0x148f('0x20')][_0x148f('0x19')](this['commentThreadHeaderView']);}),this[_0x148f('0x1f')](_0x148f('0x18'),null),this['containerElement']=null,this['_boundFirstCommentView']=null,this[_0x148f('0x25')]=_0x22be8b,this['resolveButton']=this['_createResolveButton'](),this[_0x148f('0x4')](this[_0x148f('0xf')]()),this['on'](_0x148f('0x27'),(_0x5a5a30,_0x93eef6,_0x437c9f)=>{_0x437c9f||this[_0x148f('0x1c')]();}),this[_0x148f('0x7')](this[_0x148f('0x8')],_0x148f('0x33'),(_0x34e978,_0x41e0e4,_0x14e9fb)=>{_0x14e9fb&&this[_0x148f('0x1c')]();}),this['length']>0x0&&this[_0x148f('0xb')](),this['listenTo'](this[_0x148f('0x2a')][_0x148f('0x39')],_0x148f('0x35'),()=>{this['_bindFirstCommentView']();});}[_0x148f('0xf')](){const _0x54e402=this['bindTemplate'];return{'tag':_0x148f('0x12'),'attributes':{'class':[_0x148f('0x13'),_0x148f('0x2e'),_0x54e402['if'](_0x148f('0x2b'),_0x148f('0x31')),_0x54e402['if'](_0x148f('0x1a'),_0x148f('0x14')),_0x54e402['to'](_0x148f('0x18'),_0x5b19ac=>_0x5b19ac?_0x148f('0x3')+_0x5b19ac:'')],'data-thread-id':this['_model']['id'],'tabindex':-0x1},'children':[{'tag':_0x148f('0x12'),'attributes':{'class':_0x148f('0x1d')},'children':this['commentThreadChildren']}]};}[_0x148f('0x2c')](){super['render'](),this['containerElement']=this[_0x148f('0x5')][_0x148f('0x2d')](_0x148f('0x10'));}['_cancelAllConfirms'](){this[_0x148f('0x1')]();for(const _0x1a1775 of this[_0x148f('0x2a')][_0x148f('0x39')])_0x1a1775[_0x148f('0x1')]();}['_bindFirstCommentView'](){const {locale:_0x33424d}=this,_0x1f501e=this['commentsListView'][_0x148f('0x39')]['get'](0x0);_0x1f501e===this['_boundFirstCommentView']||_0x1f501e['isSystemComment']||(this[_0x148f('0x2')]=_0x1f501e,this[_0x148f('0x23')](_0x148f('0x18')),this[_0x148f('0x3a')](_0x148f('0x18'))['to'](_0x1f501e,_0x148f('0x18'),_0x30f4f4=>'remove'===_0x30f4f4?_0x148f('0x19'):null),_0x1f501e[_0x148f('0x0')]=_0x700872(_0x33424d,_0x148f('0xc')),_0x1f501e[_0x148f('0x1e')]['on']('execute',_0x5bca01=>{_0x5bca01[_0x148f('0xe')](),this[_0x148f('0x6')](_0x700872(_0x33424d,'Delete\x20comment\x20thread?'),this[_0x148f('0x16')])[_0x148f('0x36')](()=>{this[_0x148f('0x2f')](_0x148f('0x32'));});},{'priority':_0x148f('0x17')}),_0x1f501e[_0x148f('0x24')][_0x148f('0x35')](this[_0x148f('0x34')],0x0));}[_0x148f('0x11')](){const _0xad0d79=new _0x2641b8(this[_0x148f('0x25')]);return _0xad0d79['label']=_0x700872(this[_0x148f('0x25')],_0x148f('0x22')),_0xad0d79[_0x148f('0x29')]=_0x700872(this[_0x148f('0x25')],_0x148f('0x22')),_0xad0d79['icon']=_0x31a93c[_0x148f('0x9')],_0xad0d79[_0x148f('0x26')]({'attributes':{'class':'ck-comment--resolve'}}),_0xad0d79[_0x148f('0x3a')](_0x148f('0x30'))['to'](this['_model'],_0x148f('0x37'),_0x5d85db=>!_0x5d85db),_0xad0d79['bind'](_0x148f('0x15'))['to'](this[_0x148f('0x8')],_0x148f('0x38'),this[_0x148f('0x8')],'isResolved',(_0x31907b,_0x566db4)=>_0x31907b&&!_0x566db4),_0xad0d79['on']('execute',()=>{this[_0x148f('0x2f')](_0x148f('0x21'),this[_0x148f('0x8')]['id']);}),_0xad0d79;}}
23
+ const _0x2164=['ck-thread--active','resolveCommentThread','then','actionIndicator','ck-thread--remove-confirmation','isConfirm','add','ck-thread--','resolveButton','addMany','set','getTemplate','createCollection','length','label','_cancelAllConfirms','commentThreadChildren','actionBar','render','.ck-thread__container','element','commentThreadHeaderView','commentViews','change:isResolved','isActive','showConfirm','querySelector','remove','locale','cancelConfirm','check','_createResolveButton','Write\x20a\x20comment...','fire','ck-thread__container','containerElement','isResolvable','bindTemplate','placeholder','_bindFirstCommentView','change:isReadOnly','stop','div','execute','change:isActive','bind','_boundFirstCommentView','unbind','commentsListView','isSystemComment','Resolve','isResolved','isReadOnly','get','setTemplate','Delete\x20comment\x20thread?','ck-comment--resolve','high','_model'];(function(_0x5ea266,_0x21640b){const _0x48f897=function(_0x327dfe){while(--_0x327dfe){_0x5ea266['push'](_0x5ea266['shift']());}};_0x48f897(++_0x21640b);}(_0x2164,0x1f1));const _0x48f8=function(_0x5ea266,_0x21640b){_0x5ea266=_0x5ea266-0x0;let _0x48f897=_0x2164[_0x5ea266];return _0x48f897;};import{ConfirmMixin as _0x598ff1}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x1e5078}from'ckeditor5/src/ui';import{icons as _0x47d42f}from'ckeditor5/src/core';import _0x2d5813 from'./basecommentthreadview';import{getTranslation as _0x1efa24}from'../../../utils/common-translations';export default class lt extends _0x598ff1(_0x2d5813){constructor(_0x39ec8b,_0x115a57,_0x3580f6,_0x4bfc0f){super(_0x39ec8b,_0x115a57,_0x3580f6,_0x4bfc0f),this[_0x48f8('0x32')]=this[_0x48f8('0x2e')](),this[_0x48f8('0x32')][_0x48f8('0x2b')]([this[_0x48f8('0x17')],this['commentThreadInputView']]),this['_model']['isResolved']&&this[_0x48f8('0x32')]['add'](this[_0x48f8('0x37')],0x0),this[_0x48f8('0x21')]['on'](_0x48f8('0x39'),(_0x4dd097,_0x19d193,_0x3bbc4d)=>{_0x3bbc4d?this[_0x48f8('0x32')]['add'](this[_0x48f8('0x37')],0x0):this[_0x48f8('0x32')][_0x48f8('0x2')](this[_0x48f8('0x37')]);}),this[_0x48f8('0x2c')](_0x48f8('0x25'),null),this[_0x48f8('0xa')]=null,this['_boundFirstCommentView']=null,this['locale']=_0x39ec8b,this[_0x48f8('0x2a')]=this['_createResolveButton'](),this[_0x48f8('0x1d')](this[_0x48f8('0x2d')]()),this['on'](_0x48f8('0x13'),(_0x1e202d,_0x4272ae,_0x4dc3aa)=>{_0x4dc3aa||this[_0x48f8('0x31')]();}),this['listenTo'](this[_0x48f8('0x21')],_0x48f8('0xf'),(_0x17c515,_0x498b79,_0x427593)=>{_0x427593&&this[_0x48f8('0x31')]();}),this[_0x48f8('0x2f')]>0x0&&this[_0x48f8('0xe')](),this['listenTo'](this[_0x48f8('0x17')][_0x48f8('0x38')],_0x48f8('0x28'),()=>{this[_0x48f8('0xe')]();});}[_0x48f8('0x2d')](){const _0x260ff5=this[_0x48f8('0xc')];return{'tag':_0x48f8('0x11'),'attributes':{'class':['ck-thread','ck-reset_all-excluded',_0x260ff5['if'](_0x48f8('0x3a'),_0x48f8('0x22')),_0x260ff5['if'](_0x48f8('0x27'),_0x48f8('0x26')),_0x260ff5['to'](_0x48f8('0x25'),_0xd8c623=>_0xd8c623?_0x48f8('0x29')+_0xd8c623:'')],'data-thread-id':this[_0x48f8('0x21')]['id'],'tabindex':-0x1},'children':[{'tag':_0x48f8('0x11'),'attributes':{'class':_0x48f8('0x9')},'children':this[_0x48f8('0x32')]}]};}[_0x48f8('0x34')](){super[_0x48f8('0x34')](),this[_0x48f8('0xa')]=this[_0x48f8('0x36')][_0x48f8('0x1')](_0x48f8('0x35'));}[_0x48f8('0x31')](){this[_0x48f8('0x4')]();for(const _0x5e9cec of this[_0x48f8('0x17')][_0x48f8('0x38')])_0x5e9cec[_0x48f8('0x4')]();}['_bindFirstCommentView'](){const {locale:_0x542903}=this,_0x4ff8ed=this[_0x48f8('0x17')]['commentViews'][_0x48f8('0x1c')](0x0);_0x4ff8ed===this[_0x48f8('0x15')]||_0x4ff8ed[_0x48f8('0x18')]||(this[_0x48f8('0x15')]=_0x4ff8ed,this[_0x48f8('0x16')](_0x48f8('0x25')),this[_0x48f8('0x14')]('actionIndicator')['to'](_0x4ff8ed,'actionIndicator',_0x2ba227=>'remove'===_0x2ba227?'remove':null),_0x4ff8ed[_0x48f8('0xd')]=_0x1efa24(_0x542903,_0x48f8('0x7')),_0x4ff8ed['removeButton']['on']('execute',_0x541198=>{_0x541198[_0x48f8('0x10')](),this[_0x48f8('0x0')](_0x1efa24(_0x542903,_0x48f8('0x1e')),this[_0x48f8('0xa')])[_0x48f8('0x24')](()=>{this[_0x48f8('0x8')]('removeCommentThread');});},{'priority':_0x48f8('0x20')}),_0x4ff8ed[_0x48f8('0x33')][_0x48f8('0x28')](this[_0x48f8('0x2a')],0x0));}[_0x48f8('0x6')](){const _0xc9cd09=new _0x1e5078(this[_0x48f8('0x3')]);return _0xc9cd09[_0x48f8('0x30')]=_0x1efa24(this[_0x48f8('0x3')],'Resolve'),_0xc9cd09['tooltip']=_0x1efa24(this[_0x48f8('0x3')],_0x48f8('0x19')),_0xc9cd09['icon']=_0x47d42f[_0x48f8('0x5')],_0xc9cd09['extendTemplate']({'attributes':{'class':_0x48f8('0x1f')}}),_0xc9cd09[_0x48f8('0x14')]('isEnabled')['to'](this['_model'],_0x48f8('0x1b'),_0x824f00=>!_0x824f00),_0xc9cd09[_0x48f8('0x14')]('isVisible')['to'](this[_0x48f8('0x21')],_0x48f8('0xb'),this[_0x48f8('0x21')],_0x48f8('0x1a'),(_0x4e93b6,_0x576d74)=>_0x4e93b6&&!_0x576d74),_0xc9cd09['on'](_0x48f8('0x12'),()=>{this[_0x48f8('0x8')](_0x48f8('0x23'),this[_0x48f8('0x21')]['id']);}),_0xc9cd09;}}