@ckeditor/ckeditor5-comments 0.0.0-nightly-20230907.0 → 0.0.0-nightly-20230908.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 _0x204e=['execute','basic','collaboration_features','map','config','high','_handleImportedData','afterInit','commands','importWord','forEach','editor','importWord.commentsStyles','dataInsert','get'];(function(_0x555300,_0x204e2c){const _0x2f1ee3=function(_0x4b3606){while(--_0x4b3606){_0x555300['push'](_0x555300['shift']());}};_0x2f1ee3(++_0x204e2c);}(_0x204e,0x1ca));const _0x2f1e=function(_0x555300,_0x204e2c){_0x555300=_0x555300-0x0;let _0x2f1ee3=_0x204e[_0x555300];return _0x2f1ee3;};import{Plugin as _0x40b422}from'ckeditor5/src/core';import{priorities as _0x3ac767}from'ckeditor5/src/utils';import{Users as _0x516e1e}from'ckeditor5-collaboration/src/collaboration-core';import _0xf0c5b4 from'../commentsrepository';export default class Y extends _0x40b422{constructor(_0x322030){super(_0x322030),this[_0x2f1e('0x3')]['config']['define'](_0x2f1e('0x4'),_0x2f1e('0x8'));}[_0x2f1e('0xe')](){const _0xac50d7=this[_0x2f1e('0x3')],_0x4f382e=_0xac50d7[_0x2f1e('0x0')][_0x2f1e('0x6')](_0x2f1e('0x1')),_0x132e2e=_0xac50d7['plugins'][_0x2f1e('0x6')](_0x516e1e);_0x4f382e&&(_0x4f382e['on'](_0x2f1e('0x7'),(_0x4eeb22,[,_0x32d92f])=>{_0x32d92f[_0x2f1e('0x9')]={'comments':!0x0,'user_id':_0x132e2e['me']['id'],'comments_styles':this[_0x2f1e('0x3')][_0x2f1e('0xb')][_0x2f1e('0x6')]('importWord.commentsStyles')};},{'priority':_0x3ac767[_0x2f1e('0xc')]+0xa}),this['listenTo'](_0x4f382e,_0x2f1e('0x5'),this['_handleImportedData']));}[_0x2f1e('0xd')](_0x59e889,_0x1efd2f){const {comment_threads:_0x5c9a7a}=_0x1efd2f;_0x5c9a7a&&_0x5c9a7a[_0x2f1e('0x2')](({thread_id:_0x33a126,comments:_0x160bae,is_resolved:_0x17b4f2})=>{const _0x5c0708=new Date(),_0x233ff5=_0x160bae[_0x2f1e('0xa')](({author:_0x39192b,content:_0x9c7444,created_at:_0x324250})=>({'content':_0x9c7444,'authorId':this[_0x2f1e('0x3')]['plugins'][_0x2f1e('0x6')](_0x516e1e)['me']['id'],'createdAt':_0x5c0708,'attributes':{'@external':{'authorName':_0x39192b,'createdAt':_0x324250?new Date(_0x324250):new Date(),'source':_0x2f1e('0x1')}}})),_0x3750f9=this[_0x2f1e('0x3')][_0x2f1e('0xb')][_0x2f1e('0x6')]('collaboration.channelId');this['editor']['plugins'][_0x2f1e('0x6')](_0xf0c5b4)['addCommentThread']({'channelId':_0x3750f9,'threadId':_0x33a126,'comments':_0x233ff5,'resolvedAt':_0x17b4f2?_0x5c0708: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 _0x2f83=['destroy','childCount','setSelection','placeholderElement','model','initialData','focus','then','plugins','get','name','getRoot','data','defaultPlugins','change:placeholder','init','config','getChild','document','fire','low','change','end','_updatePlaceholder','placeholder','initPlugins','editing','view','create','createRoot'];(function(_0x3defc5,_0x2f83fe){const _0xc4fcda=function(_0x4c92c9){while(--_0x4c92c9){_0x3defc5['push'](_0x3defc5['shift']());}};_0xc4fcda(++_0x2f83fe);}(_0x2f83,0x168));const _0xc4fc=function(_0x3defc5,_0x2f83fe){_0x3defc5=_0x3defc5-0x0;let _0xc4fcda=_0x2f83[_0x3defc5];return _0xc4fcda;};import{Editor as _0x22de17,DataApiMixin as _0x469b0b}from'ckeditor5/src/core';import _0x3f3c3a from'./commenteditorui';import{ObservableMixin as _0x28ff51}from'ckeditor5/src/utils';import{enablePlaceholder as _0xb8c4e9,disablePlaceholder as _0xebc800}from'ckeditor5/src/engine';import{Clipboard as _0x26f16c}from'ckeditor5/src/clipboard';import{Enter as _0x43f228,ShiftEnter as _0x1e808e}from'ckeditor5/src/enter';import{SelectAll as _0x2ec9e8}from'ckeditor5/src/select-all';import{Typing as _0x40919a}from'ckeditor5/src/typing';import{Undo as _0x247f08}from'ckeditor5/src/undo';import{Paragraph as _0x1e1543}from'ckeditor5/src/paragraph';const Kt=[_0x26f16c,_0x43f228,_0x1e808e,_0x2ec9e8,_0x40919a,_0x247f08,_0x1e1543];export default class Lt extends _0x28ff51(_0x469b0b(_0x22de17)){constructor(_0x58ba88={}){(_0x58ba88=Object['assign']({},_0x58ba88))['plugins']||(_0x58ba88[_0xc4fc('0x8')]=Lt[_0xc4fc('0xd')]),super(_0x58ba88),this['ui']=new _0x3f3c3a(this),this['set'](_0xc4fc('0x18'),''),this[_0xc4fc('0x4')][_0xc4fc('0x12')]['on'](_0xc4fc('0x15'),()=>this[_0xc4fc('0x17')](),{'priority':_0xc4fc('0x14')}),this['on'](_0xc4fc('0xe'),()=>this[_0xc4fc('0x17')]()),this[_0xc4fc('0x4')]['document'][_0xc4fc('0x1d')]();}[_0xc4fc('0x1c')](){const _0xf30e11=this[_0xc4fc('0x10')][_0xc4fc('0x9')](_0xc4fc('0x5'))||'';return this[_0xc4fc('0x19')]()[_0xc4fc('0x7')](()=>this['ui']['init']())[_0xc4fc('0x7')](()=>this[_0xc4fc('0xc')][_0xc4fc('0xf')](_0xf30e11))[_0xc4fc('0x7')](()=>this[_0xc4fc('0x13')]('ready'));}[_0xc4fc('0x0')](){return super[_0xc4fc('0x0')]()[_0xc4fc('0x7')](()=>this['ui'][_0xc4fc('0x0')]());}[_0xc4fc('0x6')](){this[_0xc4fc('0x4')]['change'](_0x55a26a=>{const _0x104f17=this['model']['document']['getRoot'](),_0x296d99=_0x104f17&&_0x104f17[_0xc4fc('0x11')](_0x104f17[_0xc4fc('0x1')]-0x1);_0x55a26a[_0xc4fc('0x2')](_0x296d99,_0xc4fc('0x16')),this[_0xc4fc('0x1a')][_0xc4fc('0x1b')]['focus']();});}[_0xc4fc('0x17')](){const _0x492bf2=this[_0xc4fc('0x1a')][_0xc4fc('0x1b')],_0xc1a88a=_0x492bf2['document'][_0xc4fc('0xb')](),_0x77d6d3=_0xc1a88a[_0xc4fc('0x11')](0x0);_0xc1a88a[_0xc4fc('0x1')]>0x1||!_0x77d6d3||'p'!=_0x77d6d3[_0xc4fc('0xa')]?this[_0xc4fc('0x3')]&&this[_0xc4fc('0x3')]['placeholder']&&(_0xebc800(_0x492bf2,this[_0xc4fc('0x3')]),this[_0xc4fc('0x3')]=void 0x0):(this[_0xc4fc('0x18')]&&(_0x77d6d3[_0xc4fc('0x18')]=this[_0xc4fc('0x18')]),_0xb8c4e9({'view':_0x492bf2,'element':_0x77d6d3,'keepOnFocus':!0x0}),this['placeholderElement']=_0x77d6d3);}}Lt[_0xc4fc('0xd')]=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 _0x1621=['document','editing','init','getRoot','destroy','view','focusTracker','ready','bind','render','element','fire','editable','editor','name','isFocused'];(function(_0x2ec86d,_0x1621ca){const _0x4c622c=function(_0x28dc71){while(--_0x28dc71){_0x2ec86d['push'](_0x2ec86d['shift']());}};_0x4c622c(++_0x1621ca);}(_0x1621,0x128));const _0x4c62=function(_0x2ec86d,_0x1621ca){_0x2ec86d=_0x2ec86d-0x0;let _0x4c622c=_0x1621[_0x2ec86d];return _0x4c622c;};import{EditorUI as _0x1cbb20}from'ckeditor5/src/ui';import _0x170a78 from'./commenteditoruiview';export default class jt extends _0x1cbb20{constructor(_0x484aa9){super(_0x484aa9),this[_0x4c62('0xd')]=new _0x170a78(_0x484aa9['locale'],_0x484aa9[_0x4c62('0x9')][_0x4c62('0xd')]);}get[_0x4c62('0x2')](){return this['view'][_0x4c62('0x2')];}[_0x4c62('0xa')](){const _0x35da97=this[_0x4c62('0x5')][_0x4c62('0x9')][_0x4c62('0xd')],_0x1be457=this[_0x4c62('0xd')][_0x4c62('0x4')],_0x48ef63=_0x35da97[_0x4c62('0x8')][_0x4c62('0xb')]();_0x1be457[_0x4c62('0x6')]=_0x48ef63['rootName'],this['view'][_0x4c62('0x1')]();const _0x28e4a6=_0x1be457[_0x4c62('0x2')];this['setEditableElement'](_0x1be457[_0x4c62('0x6')],_0x28e4a6),this['view'][_0x4c62('0x4')][_0x4c62('0x0')](_0x4c62('0x7'))['to'](this[_0x4c62('0xe')]),_0x35da97['attachDomRoot'](_0x28e4a6),this[_0x4c62('0x3')](_0x4c62('0xf'));}['destroy'](){super[_0x4c62('0xc')](),this[_0x4c62('0xd')][_0x4c62('0xc')]();}}
@@ -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 _0x4efd=['setTemplate','_createVoiceLabel','render','uiLanguage','ck-voice-label','add','_voiceLabelView','cke-editor__aria-label_','ck-rounded-corners','Comment\x20editor','text','div','main','focus','extendTemplate','ck-reset','ck-editor__main','ck-editor','presentation','comment','element'];(function(_0x3e6116,_0x4efd23){const _0x40d75a=function(_0x2ab05a){while(--_0x2ab05a){_0x3e6116['push'](_0x3e6116['shift']());}};_0x40d75a(++_0x4efd23);}(_0x4efd,0x16a));const _0x40d7=function(_0x3e6116,_0x4efd23){_0x3e6116=_0x3e6116-0x0;let _0x40d75a=_0x4efd[_0x3e6116];return _0x40d75a;};import{InlineEditableUIView as _0x332dc9,EditorUIView as _0x1c118c,LabelView as _0x38d2ab}from'ckeditor5/src/ui';import{uid as _0x2284ae}from'ckeditor5/src/utils';import{getTranslation as _0x26dda8}from'../../../utils/common-translations';export default class Nt extends _0x1c118c{constructor(_0x258036,_0x49a5fb){super(_0x258036);const _0x4d5492=_0x2284ae();this[_0x40d7('0x7')]=this['createCollection'](),this['editable']=new _0x332dc9(_0x258036,_0x49a5fb),this[_0x40d7('0x1')]=this[_0x40d7('0x11')](_0x4d5492,_0x258036),this[_0x40d7('0x10')]({'tag':'div','attributes':{'class':[_0x40d7('0xa'),_0x40d7('0xc'),_0x40d7('0x3'),'ck-comment__input'],'role':_0x40d7('0xe'),'dir':_0x258036['uiLanguageDirection'],'lang':_0x258036[_0x40d7('0x13')],'aria-labelledby':_0x40d7('0x2')+_0x4d5492},'children':[this[_0x40d7('0x1')],{'tag':_0x40d7('0x6'),'attributes':{'class':_0x40d7('0xb'),'role':_0x40d7('0xd')},'children':this[_0x40d7('0x7')]}]});}[_0x40d7('0x12')](){super[_0x40d7('0x12')](),this[_0x40d7('0x7')][_0x40d7('0x0')](this['editable']);}['focus'](){this['editable'][_0x40d7('0xf')][_0x40d7('0x8')]();}['_createVoiceLabel'](_0x50131c,_0x3b5742){const _0x423772=new _0x38d2ab();return _0x423772[_0x40d7('0x5')]=_0x26dda8(_0x3b5742,_0x40d7('0x4')),_0x423772[_0x40d7('0x9')]({'attributes':{'id':'ck-editor__aria-label_'+_0x50131c,'class':_0x40d7('0x14')}}),_0x423772;}}
@@ -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 _0x5e68=['removeComment','getComment','isResolved','_isAttached','resolve','addComment','destroy','stopListening','submit','reopen','updateComment','update','remove','listenTo','_localUser','model'];(function(_0x5cea96,_0x5e6811){var _0x3275d9=function(_0x3097bf){while(--_0x3097bf){_0x5cea96['push'](_0x5cea96['shift']());}};_0x3275d9(++_0x5e6811);}(_0x5e68,0x1ea));var _0x3275=function(_0x5cea96,_0x5e6811){_0x5cea96=_0x5cea96-0x0;var _0x3275d9=_0x5e68[_0x5cea96];return _0x3275d9;};import{ObservableMixin as _0x309fcd}from'ckeditor5/src/utils';export default class ct extends _0x309fcd(){constructor(_0x2104f0,_0x2f7949){super(),this[_0x3275('0x5')]=_0x2104f0,this['model'][_0x3275('0x9')]=!0x0,this['view']=_0x2f7949,this[_0x3275('0x3')](_0x2f7949,'submitCommentThread',()=>this[_0x3275('0xe')]()),this[_0x3275('0x3')](_0x2f7949,'removeCommentThread',()=>this[_0x3275('0x2')]()),this[_0x3275('0x3')](_0x2f7949,'resolveCommentThread',()=>this[_0x3275('0xa')]()),this[_0x3275('0x3')](_0x2f7949,'reopenCommentThread',()=>this[_0x3275('0xf')]()),this[_0x3275('0x3')](_0x2f7949,_0x3275('0xb'),(_0xb12347,_0x597f8c)=>this[_0x3275('0xb')](_0x597f8c)),this[_0x3275('0x3')](_0x2f7949,'updateComment',(_0x414879,_0x4cd0a3,_0x1b84b5)=>this[_0x3275('0x0')](_0x4cd0a3,_0x1b84b5)),this[_0x3275('0x3')](_0x2f7949,_0x3275('0x6'),(_0x481d93,_0x33e091)=>this[_0x3275('0x6')](_0x33e091));}['submit'](){this[_0x3275('0x5')][_0x3275('0xe')]();}[_0x3275('0x2')](){this[_0x3275('0x5')][_0x3275('0x2')]();}['resolve'](){this[_0x3275('0x5')][_0x3275('0x8')]||this[_0x3275('0x5')][_0x3275('0xa')]();}[_0x3275('0xf')](){this[_0x3275('0x5')][_0x3275('0x8')]&&this['model'][_0x3275('0xf')]();}[_0x3275('0xb')](_0x2e672f){this[_0x3275('0x5')][_0x3275('0xb')]({'content':_0x2e672f,'authorId':this['view'][_0x3275('0x4')]['id']});}[_0x3275('0x0')](_0x5ecdbb,_0x4894cb){this['model']['getComment'](_0x5ecdbb)[_0x3275('0x1')]({'content':_0x4894cb});}[_0x3275('0x6')](_0x358376){this['model'][_0x3275('0x7')](_0x358376)[_0x3275('0x2')]();}[_0x3275('0xc')](){this[_0x3275('0xd')](),this[_0x3275('0x5')]['_isAttached']=!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 _0x1a59=['commentInputView','commentThreadHeaderView','removeComment','focus','placeholder','isReadOnly','destroy','Reply','commentThreadInputView','addComment','submitCommentThread','reopenCommentThread','assign','commentsListView','editorConfig','element','Reply\x20to\x20reopen\x20discussion...','disabledSubmit','isActive','bind','updateComment','value','_model','stop','canComment','Write\x20a\x20comment...','editorReady','Reply...','submitLabel','set','Comment','resolveCommentThread','length','_createCommentThreadInputView','fire','editorDestroyed','_config','isResolved','cancel','delegate','locale','isSubmitted'];(function(_0x44b74f,_0x1a590e){const _0x29b6a4=function(_0x3868fc){while(--_0x3868fc){_0x44b74f['push'](_0x44b74f['shift']());}};_0x29b6a4(++_0x1a590e);}(_0x1a59,0x184));const _0x29b6=function(_0x44b74f,_0x1a590e){_0x44b74f=_0x44b74f-0x0;let _0x29b6a4=_0x1a59[_0x44b74f];return _0x29b6a4;};import{View as _0x77b14f}from'ckeditor5/src/ui';import _0x41586e from'./commentthreadinputview';import _0x2e1e61 from'./commentslistview';import _0xe7d10a from'./commentthreadheaderview';import{getTranslation as _0x52dfc4}from'../../../utils/common-translations';export default class Tt extends _0x77b14f{constructor(_0x20e42d,_0x81f418,_0x51f8c9,_0x245af8){super(_0x20e42d),this[_0x29b6('0x13')](_0x29b6('0x8'),!0x1),this[_0x29b6('0x13')]('isDirty',!0x1),this['_model']=_0x81f418,this['_localUser']=_0x51f8c9,this['_config']=_0x245af8,this[_0x29b6('0x21')]=new _0xe7d10a(_0x20e42d,_0x81f418),this[_0x29b6('0x21')][_0x29b6('0x1d')](_0x29b6('0x1'))['to'](this),this['commentsListView']=new _0x2e1e61(_0x20e42d,_0x81f418,Object[_0x29b6('0x2')]({'CommentView':this[_0x29b6('0x1a')]['CommentView']},_0x245af8)),this['commentsListView'][_0x29b6('0x1d')](_0x29b6('0x22'))['to'](this),this[_0x29b6('0x3')][_0x29b6('0x1d')](_0x29b6('0xa'))['to'](this),this[_0x29b6('0x3')][_0x29b6('0x1d')](_0x29b6('0x15'))['to'](this),this['commentsListView'][_0x29b6('0x1d')]('editorReady')['to'](this),this[_0x29b6('0x3')][_0x29b6('0x1d')](_0x29b6('0x19'))['to'](this),this[_0x29b6('0x3')][_0x29b6('0x9')](_0x29b6('0x8'))['to'](this),this[_0x29b6('0x13')](_0x29b6('0x16'),this[_0x29b6('0x3')]['length']),this[_0x29b6('0x9')](_0x29b6('0x16'))['to'](this['commentsListView'],_0x29b6('0x16')),this[_0x29b6('0x28')]=this[_0x29b6('0x17')](),this[_0x29b6('0x28')]['delegate'](_0x29b6('0x10'))['to'](this),this[_0x29b6('0x28')]['delegate'](_0x29b6('0x19'))['to'](this),this['on'](_0x29b6('0x22'),()=>this[_0x29b6('0x23')]()),this[_0x29b6('0x9')]('isDirty')['to'](this['commentsListView'],'hasDirtyComment',this[_0x29b6('0x28')][_0x29b6('0x20')],'value',(_0x473042,_0x9a76d4)=>_0x473042||!!_0x9a76d4);}[_0x29b6('0x23')](){this[_0x29b6('0x5')][_0x29b6('0x23')]();}async[_0x29b6('0x26')](){this['isDirty']=!0x1,this[_0x29b6('0x3')][_0x29b6('0x26')](),await this[_0x29b6('0x28')][_0x29b6('0x26')](),super[_0x29b6('0x26')]();}[_0x29b6('0x17')](){const _0x73a502=new _0x41586e(this[_0x29b6('0x1e')],this['_localUser'],this[_0x29b6('0x1a')][_0x29b6('0x4')]),_0x3d8737=_0x73a502[_0x29b6('0x20')];return _0x73a502[_0x29b6('0x9')]('showInput')['to'](this,_0x29b6('0x8'),this[_0x29b6('0xc')],_0x29b6('0x25'),this[_0x29b6('0xc')],_0x29b6('0xe'),this[_0x29b6('0xc')],_0x29b6('0x1b'),_0x3d8737,'value',(_0x2e8e3c,_0x50328a,_0x3c778e,_0x407985,_0x9d8770)=>!!_0x9d8770||_0x407985&&_0x3c778e&&!_0x50328a||_0x2e8e3c&&_0x3c778e&&!_0x50328a),_0x3d8737[_0x29b6('0x9')](_0x29b6('0x24'))['to'](this,_0x29b6('0x16'),this[_0x29b6('0xc')],'isResolvable',this[_0x29b6('0xc')],_0x29b6('0x1b'),(_0xa36825,_0x3ff5d9,_0x15c33e)=>{let _0x450fc4;return _0x450fc4=_0x15c33e&&_0x3ff5d9?_0x29b6('0x6'):_0xa36825?_0x29b6('0x11'):_0x29b6('0xf'),_0x52dfc4(this[_0x29b6('0x1e')],_0x450fc4);}),_0x3d8737[_0x29b6('0x9')](_0x29b6('0x12'))['to'](this,'length',_0x43f2bb=>_0x52dfc4(this[_0x29b6('0x1e')],_0x43f2bb?_0x29b6('0x27'):_0x29b6('0x14'))),_0x3d8737['on']('submit',(_0x3e5827,_0x248e90)=>{this[_0x29b6('0x18')](_0x29b6('0x29'),_0x248e90),this[_0x29b6('0xc')]['isResolved']&&this[_0x29b6('0xc')]['isResolvable']&&this[_0x29b6('0x18')]('reopenCommentThread',this[_0x29b6('0xc')]['id']),this[_0x29b6('0xc')][_0x29b6('0x1f')]||this[_0x29b6('0x18')](_0x29b6('0x0'));}),_0x3d8737['on']('cancel',()=>{this['focus']();}),_0x3d8737['bind'](_0x29b6('0x7'))['to'](this[_0x29b6('0xc')],_0x29b6('0x25')),_0x3d8737['on'](_0x29b6('0x1c'),_0x15fad7=>{0x0==this['length']&&(this[_0x29b6('0x18')]('removeCommentThread'),_0x15fad7[_0x29b6('0xd')]());}),this['on']('change:isActive',(_0x355e34,_0x1924f7,_0x32e68f)=>{_0x32e68f||this[_0x29b6('0x16')]||_0x3d8737[_0x29b6('0xb')]||this[_0x29b6('0x18')]('removeCommentThread');}),_0x73a502;}}
@@ -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 _0x4dd9=['editorDestroyed','editorConfig','value','editorReady','updateComment','isCollapsed','isEditMode','_config','isSystemComment','switchToDisplayMode','_createCommentInputView','locale','delegate','set','focus','switchToEditMode','add','get','remove','once','_model','content','Save','bind','submitLabel','_createCommentContentView','cancel','destroy','isReadOnly','visibleView'];(function(_0x388449,_0x4dd9ba){const _0x3d9e45=function(_0x2e841c){while(--_0x2e841c){_0x388449['push'](_0x388449['shift']());}};_0x3d9e45(++_0x4dd9ba);}(_0x4dd9,0x151));const _0x3d9e=function(_0x388449,_0x4dd9ba){_0x388449=_0x388449-0x0;let _0x3d9e45=_0x4dd9[_0x388449];return _0x3d9e45;};import{View as _0x25ef74}from'ckeditor5/src/ui';import{trimHtml as _0x37dfb1}from'ckeditor5-collaboration/src/collaboration-core';import _0x29939a from'./commentcontentview';import _0x1de41c from'./commentinputview';import{getTranslation as _0x243e66}from'../../../utils/common-translations';export default class Yt extends _0x25ef74{constructor(_0xcc5d6e,_0x11246f,_0x424bdf){super(_0xcc5d6e),this['_model']=_0x11246f,this['_config']=_0x424bdf,this[_0x3d9e('0x1')]=!!this[_0x3d9e('0x0')]['isSystemComment'],this[_0x3d9e('0x6')]('isEditMode',!0x1),this[_0x3d9e('0x6')](_0x3d9e('0x1c'),!0x0),this[_0x3d9e('0x16')]=this['createCollection'](),this[_0x3d9e('0x16')][_0x3d9e('0x9')](this[_0x3d9e('0x12')]());}['expand'](){this[_0x3d9e('0x1c')]=!0x1;}['collapse'](){this[_0x3d9e('0x1d')]||(this[_0x3d9e('0x1c')]=!0x0);}[_0x3d9e('0x7')](){this['element'][_0x3d9e('0x7')]();}async[_0x3d9e('0x14')](){await this['visibleView'][_0x3d9e('0xa')](0x0)[_0x3d9e('0x14')](),super[_0x3d9e('0x14')]();}[_0x3d9e('0x8')](){this[_0x3d9e('0x1d')]||(this[_0x3d9e('0x1d')]=!0x0,this[_0x3d9e('0x16')][_0x3d9e('0xb')](0x0)['destroy'](),this[_0x3d9e('0x16')][_0x3d9e('0x9')](this[_0x3d9e('0x3')]()));}['switchToDisplayMode'](){this[_0x3d9e('0x1d')]&&(this['isEditMode']=!0x1,this[_0x3d9e('0x16')][_0x3d9e('0xb')](0x0)[_0x3d9e('0x14')](),this[_0x3d9e('0x16')][_0x3d9e('0x9')](this['_createCommentContentView']()));}['_createCommentContentView'](){const _0x1aa701=new _0x29939a(this[_0x3d9e('0x4')]);return _0x1aa701[_0x3d9e('0x10')](_0x3d9e('0xe'))['to'](this[_0x3d9e('0xd')],_0x3d9e('0xe'),this,_0x3d9e('0x1c'),(_0x4a2a31,_0xf141af)=>_0xf141af?_0x37dfb1(_0x4a2a31,{'limit':this[_0x3d9e('0x0')]['maxCommentCharsWhenCollapsed']}):_0x4a2a31),_0x1aa701;}[_0x3d9e('0x3')](){this[_0x3d9e('0x0')][_0x3d9e('0x18')]||(this['_config'][_0x3d9e('0x18')]={}),this[_0x3d9e('0x0')][_0x3d9e('0x18')]['initialData']=this['_model']['content'];const _0x102162=new _0x1de41c(this[_0x3d9e('0x4')],this['_config']['editorConfig']);return _0x102162[_0x3d9e('0x19')]=this['_model'][_0x3d9e('0xe')],_0x102162[_0x3d9e('0x10')]('disabledSubmit')['to'](this[_0x3d9e('0xd')],_0x3d9e('0x15')),_0x102162[_0x3d9e('0x11')]=_0x243e66(this[_0x3d9e('0x4')],_0x3d9e('0xf')),_0x102162['on']('submit',(_0x4582f8,_0x3d4e13)=>{this['fire'](_0x3d9e('0x1b'),this[_0x3d9e('0xd')]['id'],_0x3d4e13),this[_0x3d9e('0x2')](),this['focus']();}),_0x102162['on'](_0x3d9e('0x13'),()=>{this[_0x3d9e('0x2')](),this[_0x3d9e('0x7')]();}),_0x102162[_0x3d9e('0xc')]('editorReady',()=>{_0x102162[_0x3d9e('0x7')]();}),_0x102162['createEditor'](),_0x102162[_0x3d9e('0x5')](_0x3d9e('0x1a'))['to'](this),_0x102162[_0x3d9e('0x5')](_0x3d9e('0x17'))['to'](this),_0x102162;}}
@@ -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 _0x4ca5=['ck-thread__comment-count','NUMBER_OF_COMMENTS','set'];(function(_0x5109a6,_0x4ca52e){const _0x59056e=function(_0x17c8d6){while(--_0x17c8d6){_0x5109a6['push'](_0x5109a6['shift']());}};_0x59056e(++_0x4ca52e);}(_0x4ca5,0x1b8));const _0x5905=function(_0x5109a6,_0x4ca52e){_0x5109a6=_0x5109a6-0x0;let _0x59056e=_0x4ca5[_0x5109a6];return _0x59056e;};import{View as _0x35226e}from'ckeditor5/src/ui';import{getTranslation as _0x1a94ce}from'../../../utils/common-translations';export default class Zt extends _0x35226e{constructor(_0x45fd1f){super(_0x45fd1f);const _0xf62b86=this['bindTemplate'];this[_0x5905('0x0')]('count',void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':_0x5905('0x1')},'children':[{'text':_0xf62b86['to']('count',_0xfcb8a1=>_0x1a94ce(_0x45fd1f,_0x5905('0x2'),_0xfcb8a1))}]});}}
@@ -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 _0x21ed=['element','innerHTML','setTemplate','content','change:content','render'];(function(_0x2a7caa,_0x21ed8f){var _0x4e56cf=function(_0x5ca813){while(--_0x5ca813){_0x2a7caa['push'](_0x2a7caa['shift']());}};_0x4e56cf(++_0x21ed8f);}(_0x21ed,0x116));var _0x4e56=function(_0x2a7caa,_0x21ed8f){_0x2a7caa=_0x2a7caa-0x0;var _0x4e56cf=_0x21ed[_0x2a7caa];return _0x4e56cf;};import{View as _0x1d0b56}from'ckeditor5/src/ui';export default class Ut extends _0x1d0b56{constructor(_0x542be1){super(_0x542be1),this['set'](_0x4e56('0x1'),''),this[_0x4e56('0x0')]({'tag':'div','attributes':{'class':['ck-comment__content','ck-annotation__content']}});}['render'](){super[_0x4e56('0x3')](),this['on'](_0x4e56('0x2'),(_0x5e5afe,_0x510195,_0x1a4bf7)=>{this[_0x4e56('0x4')][_0x4e56('0x5')]=_0x1a4bf7;}),this[_0x4e56('0x4')][_0x4e56('0x5')]=this[_0x4e56('0x1')];}}
@@ -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 _0x3846=['setData','bindTemplate','view','listenTo','editor','trim','_createCancelButton','TOO_LONG_COMMENT_ALERT','extendTemplate','_editorConfig','setTemplate','submitButtonView','add','high','focusTracker','element','render','bind','editorDestroyed','execute','withText','_createSubmitButton','disabledSubmit','createEditor','submitLabel','Cancel','keystrokes','change','forEach','ck-comment__input-actions--submit','set','then','create','focusPrevious','showButtons','ck-comment__input-actions--cancel','Reply','focus','low','fire','_editorCreationPromise','initialData','cancelButtonView','placeholder','focusNext','length','label','_initializeFocusCycling','div','model','_isDestroyed','ck-comment__input-actions','stop','ck-comment__input-actions--active','tab','value','destroy'];(function(_0x4d23b9,_0x3846cd){const _0x4c0302=function(_0x69bbe7){while(--_0x69bbe7){_0x4d23b9['push'](_0x4d23b9['shift']());}};_0x4c0302(++_0x3846cd);}(_0x3846,0x1a8));const _0x4c03=function(_0x4d23b9,_0x3846cd){_0x4d23b9=_0x4d23b9-0x0;let _0x4c0302=_0x3846[_0x4d23b9];return _0x4c0302;};import{View as _0x16e4df,ViewCollection as _0x121d83,FocusCycler as _0x34ec4b,ButtonView as _0x3a2188}from'ckeditor5/src/ui';import{FocusTracker as _0x30c301,KeystrokeHandler as _0x4550cb}from'ckeditor5/src/utils';import _0xdb20a4 from'../commenteditor/commenteditor';import{getTranslation as _0x5ea016}from'../../../utils/common-translations';export default class Xt extends _0x16e4df{constructor(_0x3b9b6b,_0x3026d5={}){super(_0x3b9b6b),this[_0x4c03('0x24')]=null,this['_editorConfig']=_0x3026d5,this['keystrokes']=new _0x4550cb(),this[_0x4c03('0x2e')]=new _0x30c301(),this['set'](_0x4c03('0x1e'),_0x3026d5[_0x4c03('0x10')]||''),this['set'](_0x4c03('0x36'),!0x1),this[_0x4c03('0x5')](_0x4c03('0x9'),!0x0),this[_0x4c03('0x5')](_0x4c03('0x12'),_0x5ea016(_0x3b9b6b,'Reply...')),this[_0x4c03('0x5')]('submitLabel',_0x5ea016(_0x3b9b6b,_0x4c03('0xb'))),this[_0x4c03('0x2b')]=this[_0x4c03('0x35')](),this['cancelButtonView']=this[_0x4c03('0x26')](),this[_0x4c03('0x2a')]({'tag':_0x4c03('0x17'),'attributes':{'class':['ck-comment__input-wrapper']},'children':[{'tag':_0x4c03('0x17'),'attributes':{'class':[_0x4c03('0x1a'),this[_0x4c03('0x21')]['if'](_0x4c03('0x9'),_0x4c03('0x1c'))]},'children':[this[_0x4c03('0x2b')],this[_0x4c03('0x11')]]}]}),this[_0x4c03('0x1')][_0x4c03('0x5')]('Esc',(_0x206b3c,_0x3a9355)=>{this[_0x4c03('0x11')][_0x4c03('0xe')](_0x4c03('0x33')),_0x3a9355();}),this['on']('submit',(_0x47d930,_0x599b95)=>{_0x599b95[_0x4c03('0x14')]>0xfde8?(alert(_0x5ea016(_0x3b9b6b,_0x4c03('0x27'),[_0x599b95[_0x4c03('0x14')],0xfde8])),_0x47d930[_0x4c03('0x1b')]()):this['editor'][_0x4c03('0x20')]('');},{'priority':_0x4c03('0x2d')});}[_0x4c03('0x30')](){super[_0x4c03('0x30')](),this[_0x4c03('0x1')][_0x4c03('0x23')](this[_0x4c03('0x2f')]),this['focusTracker'][_0x4c03('0x2c')](this[_0x4c03('0x2f')]);}[_0x4c03('0x37')](){return this[_0x4c03('0x24')]||(this[_0x4c03('0x24')]=new _0xdb20a4(this[_0x4c03('0x29')]),this[_0x4c03('0xf')]=this[_0x4c03('0x24')][_0x4c03('0x7')]()[_0x4c03('0x6')](()=>{if(this[_0x4c03('0x19')])return;const _0x2d3fd1=this['editor'];this[_0x4c03('0x2f')]['insertBefore'](_0x2d3fd1['ui'][_0x4c03('0x2f')],this['element']['firstChild']),_0x2d3fd1[_0x4c03('0x18')]['document']['on'](_0x4c03('0x2'),()=>this[_0x4c03('0x1e')]=_0x2d3fd1['getData']()),_0x2d3fd1[_0x4c03('0x31')](_0x4c03('0x12'))['to'](this),this[_0x4c03('0x16')](this[_0x4c03('0x24')]),this[_0x4c03('0xe')]('editorReady',this[_0x4c03('0x24')]);})),this[_0x4c03('0xf')];}[_0x4c03('0xc')](){this[_0x4c03('0x24')]&&this[_0x4c03('0x24')][_0x4c03('0xc')]();}async[_0x4c03('0x1f')](){this['_isDestroyed']||(this['_isDestroyed']=!0x0,this[_0x4c03('0x24')]&&(await this[_0x4c03('0xf')],await this[_0x4c03('0x24')]['destroy'](),this[_0x4c03('0xe')](_0x4c03('0x32'),this[_0x4c03('0x24')])),await super[_0x4c03('0x1f')]());}[_0x4c03('0x35')](){const {locale:_0x5e6ac5}=this,_0x520e1=new _0x3a2188(_0x5e6ac5);return _0x520e1[_0x4c03('0x28')]({'attributes':{'class':[_0x4c03('0x4')]}}),_0x520e1[_0x4c03('0x34')]=!0x0,_0x520e1[_0x4c03('0x31')](_0x4c03('0x15'))['to'](this,_0x4c03('0x38')),_0x520e1['on'](_0x4c03('0x33'),()=>{this[_0x4c03('0xe')]('submit',this[_0x4c03('0x1e')]);}),_0x520e1[_0x4c03('0x31')]('isEnabled')['to'](this,'value',this,'disabledSubmit',(_0x44b597,_0x1c8854)=>!_0x1c8854&&!!_0x44b597[_0x4c03('0x25')]()),_0x520e1;}['_createCancelButton'](){const {locale:_0x521b51}=this,_0x2e9d98=new _0x3a2188(_0x521b51);return _0x2e9d98[_0x4c03('0x28')]({'attributes':{'class':[_0x4c03('0xa')]}}),_0x2e9d98[_0x4c03('0x15')]=_0x5ea016(_0x521b51,_0x4c03('0x0')),_0x2e9d98[_0x4c03('0x34')]=!0x0,_0x2e9d98['on'](_0x4c03('0x33'),()=>{this[_0x4c03('0x24')]['setData'](''),this['fire']('cancel');}),_0x2e9d98;}[_0x4c03('0x16')](_0x4af90f){const _0x271191=this[_0x4c03('0x2e')],_0x245702=new _0x121d83();[_0x4af90f['ui'][_0x4c03('0x22')],this[_0x4c03('0x2b')],this[_0x4c03('0x11')]][_0x4c03('0x3')](_0x2459a6=>{_0x245702[_0x4c03('0x2c')](_0x2459a6),_0x271191[_0x4c03('0x2c')](_0x2459a6['element']);});const _0x229a86=new _0x34ec4b({'focusables':_0x245702,'focusTracker':_0x271191});this[_0x4c03('0x1')]['set'](_0x4c03('0x1d'),(_0x550d4e,_0x34e955)=>{_0x229a86[_0x4c03('0x13')](),_0x34e955();},{'priority':_0x4c03('0xd')}),this[_0x4c03('0x1')][_0x4c03('0x5')]('shift\x20+\x20tab',(_0x555b60,_0xdfbd17)=>{_0x229a86[_0x4c03('0x8')](),_0xdfbd17();},{'priority':'low'});}}
@@ -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 _0x3aad=['_focusCycler','ck-comments-archive__info','isEmpty','focus','element','stopPropagation','render','COMMENTS_ARCHIVE','ck-comments-archive__content','selectstart','arrowright','high','tab','_keystrokes','length','div','arrowdown','set','_focusTracker','_focusables','listenTo','EMPTY_COMMENTS_ARCHIVE','add','destroy','bindTemplate','ck-comments-archive__header\x20','ck-comments-archive','isActive'];(function(_0x495a67,_0x3aadd5){const _0x292c82=function(_0x2c010d){while(--_0x2c010d){_0x495a67['push'](_0x495a67['shift']());}};_0x292c82(++_0x3aadd5);}(_0x3aad,0x198));const _0x292c=function(_0x495a67,_0x3aadd5){_0x495a67=_0x495a67-0x0;let _0x292c82=_0x3aad[_0x495a67];return _0x292c82;};import{View as _0x192b96,FocusCycler as _0x59ab94}from'ckeditor5/src/ui';import{FocusTracker as _0x3d460b,KeystrokeHandler as _0x50d86e}from'ckeditor5/src/utils';import{getTranslation as _0x2055cb}from'../../../utils/common-translations';export default class K extends _0x192b96{constructor(_0x456a5e,_0x372c2b){super(_0x456a5e),this[_0x292c('0x1')](_0x292c('0xe'),!_0x372c2b[_0x292c('0x1a')]),this[_0x292c('0x2')]=new _0x3d460b(),this[_0x292c('0x19')]=new _0x50d86e(),this['_focusables']=_0x372c2b,this[_0x292c('0xc')]=new _0x59ab94({'focusables':this[_0x292c('0x3')],'focusTracker':this[_0x292c('0x2')],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':_0x292c('0x18')}}),this[_0x292c('0x4')](_0x372c2b,_0x292c('0x6'),()=>{this[_0x292c('0xe')]=!0x1;}),this['listenTo'](_0x372c2b,'remove',(_0x2cc214,_0x14446d)=>{_0x14446d[_0x292c('0xb')]&&this[_0x292c('0xf')](),_0x372c2b[_0x292c('0x1a')]||(this['isEmpty']=!0x0);});const _0x107572=this[_0x292c('0x8')];this['setTemplate']({'tag':_0x292c('0x1b'),'attributes':{'dir':'auto','class':['ck',_0x292c('0xa')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x292c('0x9')]},'children':[{'text':_0x2055cb(_0x456a5e,_0x292c('0x13'))}]},{'tag':'div','attributes':{'class':[_0x292c('0x14')]},'children':[{'tag':_0x292c('0x1b'),'children':_0x372c2b},{'tag':'p','attributes':{'class':[_0x292c('0xd'),_0x107572['if']('isEmpty','ck-hidden',_0x5e589b=>!_0x5e589b)]},'children':[{'text':_0x2055cb(_0x456a5e,_0x292c('0x5'))}]}]}]});}[_0x292c('0x12')](){super[_0x292c('0x12')](),this[_0x292c('0x19')][_0x292c('0x4')](this['element']);const _0x4e63d0=_0x33294e=>_0x33294e[_0x292c('0x11')]();this[_0x292c('0x19')]['set'](_0x292c('0x16'),_0x4e63d0),this[_0x292c('0x19')]['set']('arrowleft',_0x4e63d0),this[_0x292c('0x19')]['set']('arrowup',_0x4e63d0),this['_keystrokes'][_0x292c('0x1')](_0x292c('0x0'),_0x4e63d0),this[_0x292c('0x4')](this[_0x292c('0x10')],_0x292c('0x15'),(_0x22d56a,_0x2b6395)=>{_0x2b6395[_0x292c('0x11')]();},{'priority':_0x292c('0x17')});}['destroy'](){super[_0x292c('0x7')](),this[_0x292c('0x2')]['destroy'](),this['_keystrokes']['destroy']();}['focus'](){this['element'][_0x292c('0xf')]();}}
@@ -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 _0x2091=['from','delegate','editorDestroyed','refreshVisibleViews','isActive','change:hasDirtyComment','resolvedCommentView','element','locale','_handleNewCommentModel','change:isActive','change:isResolved','_collapsedCommentsView','_findOptimalIndex','focus','render','count','weight','visibleViews','resolved','_model','resolveCommentThread','resolvedBy','maxCommentCharsWhenCollapsed','get','_config','commentViews','_calculatePosition','_rearrangeExpand','add','_handleRemoveCommentModel','some','_updateHasDirtyComment','resolvedAt','hasDirtyComment','authoredAt','editorReady','equal','remove','maxThreadTotalWeight','editorConfig','createCollection','_rearrangeCollapse','bind','comments','viewUid','length','formatDateTime','listenTo','destroy','change:isEditMode','_handleInfoComment','_shouldCollapse','ck-thread__comments','setTemplate','set','commentUpdated','isEditMode','Marked\x20as\x20resolved','removeComment'];(function(_0x470535,_0x20911a){const _0x4bd65b=function(_0xd8e4c3){while(--_0xd8e4c3){_0x470535['push'](_0x470535['shift']());}};_0x4bd65b(++_0x20911a);}(_0x2091,0x18e));const _0x4bd6=function(_0x470535,_0x20911a){_0x470535=_0x470535-0x0;let _0x4bd65b=_0x2091[_0x470535];return _0x4bd65b;};import{View as _0x4697a7}from'ckeditor5/src/ui';import{diff as _0x5f4e9f,Collection as _0x406e17}from'ckeditor5/src/utils';import{getTranslation as _0x323bf2}from'../../../utils/common-translations';import _0x1491e0 from'./collapsedcommentsview';export default class wt extends _0x4697a7{constructor(_0x521e62,_0x4cc8ba,_0x1df5f4){super(_0x521e62),this[_0x4bd6('0x11')]('hasDirtyComment',!0x1),this[_0x4bd6('0x11')](_0x4bd6('0x8'),_0x4cc8ba['comments'][_0x4bd6('0x8')]),this[_0x4bd6('0x11')]('isActive',!0x1),this[_0x4bd6('0x2a')]=_0x4cc8ba,this[_0x4bd6('0x2f')]=_0x1df5f4,this['commentViews']=this[_0x4bd6('0x3')](),this['visibleViews']=this['createCollection'](),this[_0x4bd6('0x1c')]=null,this['_collapsedCommentsView']=new _0x1491e0(_0x521e62),this[_0x4bd6('0x22')][_0x4bd6('0x5')](_0x4bd6('0x26'))['to'](this,'length',_0x269408=>_0x269408-this[_0x4bd6('0x2f')]['maxCommentsWhenCollapsed']);for(const _0x2f273c of _0x4cc8ba['comments'])this[_0x4bd6('0x1f')](_0x2f273c);this['_handleInfoComment'](),this['listenTo'](_0x4cc8ba[_0x4bd6('0x6')],_0x4bd6('0x33'),(_0x379984,_0x3f516f)=>{const _0x6778a5=this[_0x4bd6('0x31')](_0x3f516f);this[_0x4bd6('0x8')]++,this[_0x4bd6('0x1f')](_0x3f516f,_0x6778a5),this['refreshVisibleViews']();}),this[_0x4bd6('0xa')](_0x4cc8ba[_0x4bd6('0x6')],_0x4bd6('0x0'),(_0x14f60f,_0x177c3b)=>{this[_0x4bd6('0x8')]--,this[_0x4bd6('0x34')](_0x177c3b),this[_0x4bd6('0x19')]();}),this[_0x4bd6('0xa')](_0x4cc8ba,_0x4bd6('0x12'),()=>this[_0x4bd6('0x19')]()),this['listenTo'](_0x4cc8ba,_0x4bd6('0x21'),()=>this[_0x4bd6('0xd')]()),this['on'](_0x4bd6('0x20'),()=>this['refreshVisibleViews']()),this['on'](_0x4bd6('0x1b'),()=>this['refreshVisibleViews']()),this[_0x4bd6('0x10')]({'tag':'ul','attributes':{'class':[_0x4bd6('0xf')]},'children':this[_0x4bd6('0x28')]});}get['_shouldCollapse'](){return this[_0x4bd6('0x2a')][_0x4bd6('0x27')]>this[_0x4bd6('0x2f')][_0x4bd6('0x1')]&&!this[_0x4bd6('0x1a')]&&!this[_0x4bd6('0x38')];}[_0x4bd6('0x25')](){super[_0x4bd6('0x25')](),this['refreshVisibleViews']();}[_0x4bd6('0x24')](){this[_0x4bd6('0x1d')][_0x4bd6('0x24')]();}[_0x4bd6('0xb')](){this[_0x4bd6('0x22')][_0x4bd6('0xb')]();for(const _0x16cbc8 of this[_0x4bd6('0x30')])_0x16cbc8[_0x4bd6('0xb')]();super[_0x4bd6('0xb')]();}[_0x4bd6('0x19')](){this[_0x4bd6('0xe')]?this[_0x4bd6('0x4')]():this[_0x4bd6('0x32')]();}[_0x4bd6('0x1f')](_0x412898,_0x1315a3){const _0x373213=new this['_config']['CommentView'](this[_0x4bd6('0x1e')],_0x412898,{'maxCommentCharsWhenCollapsed':this[_0x4bd6('0x2f')][_0x4bd6('0x2d')],'formatDateTime':this[_0x4bd6('0x2f')]['formatDateTime'],'editorConfig':this[_0x4bd6('0x2f')][_0x4bd6('0x2')]});_0x373213[_0x4bd6('0x7')]=_0x412898['id'],_0x373213[_0x4bd6('0x17')](_0x4bd6('0x15'))['to'](this),_0x373213[_0x4bd6('0x17')]('updateComment')['to'](this),_0x373213[_0x4bd6('0x17')](_0x4bd6('0x2b'))['to'](this),_0x373213[_0x4bd6('0x17')](_0x4bd6('0x3a'))['to'](this),_0x373213['delegate'](_0x4bd6('0x18'))['to'](this),this[_0x4bd6('0xa')](_0x373213,_0x4bd6('0xc'),()=>this['_updateHasDirtyComment']()),this[_0x4bd6('0x30')][_0x4bd6('0x33')](_0x373213,_0x1315a3);}[_0x4bd6('0x31')](_0x45e31f){const _0x6acc22=this['_model'][_0x4bd6('0x23')](_0x45e31f);return this[_0x4bd6('0x1c')]?this['resolvedCommentView'][_0x4bd6('0x39')]>_0x45e31f['authoredAt']?_0x6acc22-0x1:_0x6acc22:_0x6acc22-0x1;}[_0x4bd6('0xd')](){if(this['_model'][_0x4bd6('0x2c')]&&this[_0x4bd6('0x2a')]['resolvedAt']){const _0x2dbf7f={'id':_0x4bd6('0x29'),'author':this[_0x4bd6('0x2a')][_0x4bd6('0x2c')],'authoredAt':this[_0x4bd6('0x2a')][_0x4bd6('0x37')],'content':_0x323bf2(this['locale'],_0x4bd6('0x14')),'attributes':{}};this[_0x4bd6('0x1c')]=new this['_config']['CommentView'](this['locale'],_0x2dbf7f,{'maxCommentCharsWhenCollapsed':this[_0x4bd6('0x2f')][_0x4bd6('0x2d')],'formatDateTime':this['_config'][_0x4bd6('0x9')],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this[_0x4bd6('0x30')]['add'](this[_0x4bd6('0x1c')],this['_model'][_0x4bd6('0x23')](_0x2dbf7f));}else this[_0x4bd6('0x1c')]&&(this['commentViews'][_0x4bd6('0x0')](this[_0x4bd6('0x1c')]),this[_0x4bd6('0x1c')][_0x4bd6('0xb')](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}[_0x4bd6('0x34')](_0x20b536){const _0x2df009=this['commentViews'][_0x4bd6('0x0')](_0x20b536['id']);this['stopListening'](_0x2df009),_0x2df009['isEditMode']&&this[_0x4bd6('0x36')](),_0x2df009['destroy']();}[_0x4bd6('0x36')](){this['hasDirtyComment']=Array[_0x4bd6('0x16')](this['commentViews'])[_0x4bd6('0x35')](_0x70b32f=>_0x70b32f[_0x4bd6('0x13')]);}[_0x4bd6('0x4')](){const _0x338d8a=function(_0x17e6bc){const _0xf6e41f=new _0x406e17();for(const _0x2aeefe of _0x17e6bc)_0xf6e41f['add'](_0x2aeefe);return _0xf6e41f;}(this[_0x4bd6('0x30')]),_0x39b190=this[_0x4bd6('0x22')][_0x4bd6('0x26')];for(let _0x1b4615=0x1;_0x1b4615<=_0x39b190;_0x1b4615++)_0x338d8a[_0x4bd6('0x0')](0x1);for(const _0x12299a of _0x338d8a)_0x12299a['collapse']();_0x39b190>0x0&&_0x338d8a[_0x4bd6('0x33')](this['_collapsedCommentsView'],0x1),ss(_0x5f4e9f(Array['from'](this['visibleViews']),Array[_0x4bd6('0x16')](_0x338d8a)),this[_0x4bd6('0x28')],_0x338d8a);}[_0x4bd6('0x32')](){ss(_0x5f4e9f(Array[_0x4bd6('0x16')](this[_0x4bd6('0x28')]),Array[_0x4bd6('0x16')](this[_0x4bd6('0x30')])),this[_0x4bd6('0x28')],this[_0x4bd6('0x30')]);for(const _0x6be5a5 of this[_0x4bd6('0x28')])_0x6be5a5['expand']();}}function ss(_0x2c3a6f,_0x6946de,_0x58b887){let _0x2e31c6=0x0;for(const _0x5b29d8 of _0x2c3a6f)switch(_0x5b29d8){case'insert':_0x6946de[_0x4bd6('0x33')](_0x58b887[_0x4bd6('0x2e')](_0x2e31c6),_0x2e31c6),_0x2e31c6++;break;case'delete':_0x6946de[_0x4bd6('0x0')](_0x2e31c6);break;case _0x4bd6('0x3b'):_0x2e31c6++;}}
@@ -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 _0x155c=['ck-context__value','Reopen','ck-context','ck-annotation__actions','_trimContextValue','overlay','ck-context-wrapper','scrollWidth','add','classList','element','locale','render','offsetWidth','.ck-context__value','context','ck-thread__header','bind','hasContext','querySelector','isReadOnly','listenTo','isEnabled','reopenCommentThread','icon','_attachContextActions','tooltip','value','fire','reopenButtonView','length','div','.ck-context','_createReopenButton','lastIndexOf','Comment\x20was\x20made\x20on\x20an\x20element','execute','contextValue','_model','substring'];(function(_0x154fef,_0x155c0a){const _0x557106=function(_0x782a29){while(--_0x782a29){_0x154fef['push'](_0x154fef['shift']());}};_0x557106(++_0x155c0a);}(_0x155c,0x69));const _0x5571=function(_0x154fef,_0x155c0a){_0x154fef=_0x154fef-0x0;let _0x557106=_0x155c[_0x154fef];return _0x557106;};import{View as _0x362340,ButtonView as _0x515cc3}from'ckeditor5/src/ui';import{getTranslation as _0x91a154}from'../../../utils/common-translations';import _0xca110e from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Rt extends _0x362340{constructor(_0x5615f6,_0x14c0ba){super(_0x5615f6);const _0x112812=this['bindTemplate'];this[_0x5571('0xd')]=_0x14c0ba,this['reopenButtonView']=this[_0x5571('0x8')](),this[_0x5571('0x20')]('hasContext')['to'](this[_0x5571('0xd')],_0x5571('0x1e'),_0x208fce=>!!_0x208fce),this[_0x5571('0x20')](_0x5571('0xc'))['to'](this[_0x5571('0xd')],_0x5571('0x1e'),_0x4cb168=>_0x4cb168&&_0x4cb168[_0x5571('0x2')]?this[_0x5571('0x13')](_0x4cb168[_0x5571('0x2')]):_0x91a154(this[_0x5571('0x1a')],_0x5571('0xa'))),this['setTemplate']({'tag':'div','attributes':{'class':[_0x5571('0x1f')]},'children':[{'tag':'div','attributes':{'class':[_0x5571('0x15')]},'children':[{'tag':_0x5571('0x6'),'attributes':{'class':[_0x5571('0x11'),_0x112812['if'](_0x5571('0x21'),'ck-context--quotes')]},'children':[{'tag':'span','attributes':{'class':[_0x5571('0xf')]},'children':[{'text':_0x112812['to'](_0x5571('0xc'))}]}]}]},{'tag':'div','attributes':{'class':[_0x5571('0x12')]},'children':[this[_0x5571('0x4')]]}]});}[_0x5571('0x1b')](){super[_0x5571('0x1b')](),this[_0x5571('0x0')]();}[_0x5571('0x8')](){const _0xbbc71b=new _0x515cc3(this[_0x5571('0x1a')]);return _0xbbc71b['label']=_0x91a154(this[_0x5571('0x1a')],'Reopen'),_0xbbc71b[_0x5571('0x1')]=_0x91a154(this[_0x5571('0x1a')],_0x5571('0x10')),_0xbbc71b[_0x5571('0x27')]=_0xca110e,_0xbbc71b['bind'](_0x5571('0x25'))['to'](this[_0x5571('0xd')],_0x5571('0x23'),_0x557bc0=>!_0x557bc0),_0xbbc71b[_0x5571('0x20')]('isVisible')['to'](this[_0x5571('0xd')],'isResolvable'),_0xbbc71b['on'](_0x5571('0xb'),()=>{this[_0x5571('0x3')](_0x5571('0x26'),this[_0x5571('0xd')]['id']);}),_0xbbc71b;}[_0x5571('0x13')](_0x2f0b4c){if(_0x2f0b4c[_0x5571('0x5')]<0x96)return _0x2f0b4c;const _0x193079=_0x2f0b4c[_0x5571('0x9')]('\x20',0x93);return _0x2f0b4c[_0x5571('0xe')](0x0,_0x193079>-0x1?_0x193079:0x93)+'...';}[_0x5571('0x0')](){const _0x5d65bf=this[_0x5571('0x19')][_0x5571('0x22')](_0x5571('0x7')),_0x2e33a2=_0x5d65bf['querySelector'](_0x5571('0x1d'));this[_0x5571('0x24')](_0x5d65bf,'mouseenter',()=>{_0x2e33a2[_0x5571('0x1c')]<_0x2e33a2[_0x5571('0x16')]&&_0x5d65bf[_0x5571('0x18')][_0x5571('0x17')](_0x5571('0x14'));}),this[_0x5571('0x24')](_0x5d65bf,'mouseleave',()=>{_0x5d65bf[_0x5571('0x18')]['remove'](_0x5571('0x14'));});}}
@@ -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 _0x32f5=['delegate','destroy','editor','showInput','bindTemplate','set','isFocused','bind','ck-comment__input-container--active','createEditor','userView','focusTracker','commentInputView','ck-thread__input','extendTemplate','then','change:showInput'];(function(_0x1ea535,_0x32f542){var _0x558fff=function(_0x14dd5f){while(--_0x14dd5f){_0x1ea535['push'](_0x1ea535['shift']());}};_0x558fff(++_0x32f542);}(_0x32f5,0xe4));var _0x558f=function(_0x1ea535,_0x32f542){_0x1ea535=_0x1ea535-0x0;var _0x558fff=_0x32f5[_0x1ea535];return _0x558fff;};import{View as _0xd59520}from'ckeditor5/src/ui';import _0x87582e from'./commentinputview';import{UserView as _0x56c2e9}from'ckeditor5-collaboration/src/collaboration-core';export default class Ct extends _0xd59520{constructor(_0x5236c7,_0x1d174c,_0x3c2cfd){super(_0x5236c7),this['commentInputView']=new _0x87582e(_0x5236c7,_0x3c2cfd),this[_0x558f('0x5')][_0x558f('0x0')]('showButtons')['to'](this[_0x558f('0x5')][_0x558f('0x4')],_0x558f('0x10'),this[_0x558f('0x5')],'value',(_0x14f93b,_0xf8210a)=>_0x14f93b||!!_0xf8210a),this[_0x558f('0xf')](_0x558f('0xd'),!0x1),this['on'](_0x558f('0x9'),()=>{this[_0x558f('0xd')]&&!this[_0x558f('0x5')][_0x558f('0xc')]&&this[_0x558f('0x5')][_0x558f('0x2')]();}),this[_0x558f('0x5')][_0x558f('0xa')]('editorReady')['to'](this),this['commentInputView']['delegate']('editorDestroyed')['to'](this),this[_0x558f('0x3')]=new _0x56c2e9(_0x5236c7,_0x1d174c),this[_0x558f('0x3')][_0x558f('0x7')]({'attributes':{'class':'ck-thread__user'}}),this[_0x558f('0x5')][_0x558f('0x7')]({'attributes':{'class':_0x558f('0x6')}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-comment__input-container',this[_0x558f('0xe')]['if'](_0x558f('0xd'),_0x558f('0x1'))]},'children':[this[_0x558f('0x3')],this['commentInputView']]});}['destroy'](){return this[_0x558f('0x5')][_0x558f('0xb')]()[_0x558f('0x8')](()=>super[_0x558f('0xb')]());}}
@@ -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 _0xcd72=['getTemplate','_createResolveButton','isEnabled','commentThreadChildren','commentsListView','check','.ck-thread__container','fire','remove','set','containerElement','commentThreadHeaderView','resolveButton','commentViews','ck-thread','execute','Resolve','isVisible','render','bindTemplate','removeButton','label','addMany','commentThreadInputView','tooltip','listenTo','querySelector','ck-thread--active','setTemplate','length','_model','element','isSystemComment','unbind','ck-thread--remove-confirmation','_bindFirstCommentView','placeholder','icon','add','isResolved','showConfirm','isResolvable','ck-comment--resolve','isReadOnly','removeCommentThread','bind','actionIndicator','isConfirm','then','div','_cancelAllConfirms','locale','_boundFirstCommentView','cancelConfirm','Delete\x20comment\x20thread?'];(function(_0x312f85,_0xcd72d4){const _0xabbbcd=function(_0x2b4c03){while(--_0x2b4c03){_0x312f85['push'](_0x312f85['shift']());}};_0xabbbcd(++_0xcd72d4);}(_0xcd72,0x132));const _0xabbb=function(_0x312f85,_0xcd72d4){_0x312f85=_0x312f85-0x0;let _0xabbbcd=_0xcd72[_0x312f85];return _0xabbbcd;};import{ConfirmMixin as _0x1ed648}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x1a683e}from'ckeditor5/src/ui';import{icons as _0x4a0030}from'ckeditor5/src/core';import _0x4a2a7f from'./basecommentthreadview';import{getTranslation as _0xc3ad50}from'../../../utils/common-translations';export default class lt extends _0x1ed648(_0x4a2a7f){constructor(_0xffad08,_0x811994,_0x28045f,_0x3bd106){super(_0xffad08,_0x811994,_0x28045f,_0x3bd106),this[_0xabbb('0x1b')]=this['createCollection'](),this['commentThreadChildren'][_0xabbb('0x2e')]([this[_0xabbb('0x1c')],this[_0xabbb('0x2f')]]),this['_model']['isResolved']&&this[_0xabbb('0x1b')][_0xabbb('0x7')](this[_0xabbb('0x23')],0x0),this[_0xabbb('0x36')]['on']('change:isResolved',(_0x416496,_0x9a0c43,_0x4937ba)=>{_0x4937ba?this[_0xabbb('0x1b')][_0xabbb('0x7')](this[_0xabbb('0x23')],0x0):this[_0xabbb('0x1b')]['remove'](this['commentThreadHeaderView']);}),this[_0xabbb('0x21')](_0xabbb('0xf'),null),this[_0xabbb('0x22')]=null,this[_0xabbb('0x15')]=null,this[_0xabbb('0x14')]=_0xffad08,this[_0xabbb('0x24')]=this[_0xabbb('0x19')](),this[_0xabbb('0x34')](this['getTemplate']()),this['on']('change:isActive',(_0x55d029,_0x10eeae,_0x5c5ecf)=>{_0x5c5ecf||this[_0xabbb('0x13')]();}),this[_0xabbb('0x31')](this['_model'],'change:isReadOnly',(_0x3a7144,_0x4c91ec,_0x4d5cb8)=>{_0x4d5cb8&&this['_cancelAllConfirms']();}),this[_0xabbb('0x35')]>0x0&&this[_0xabbb('0x4')](),this['listenTo'](this[_0xabbb('0x1c')][_0xabbb('0x25')],_0xabbb('0x7'),()=>{this['_bindFirstCommentView']();});}[_0xabbb('0x18')](){const _0x4f0409=this[_0xabbb('0x2b')];return{'tag':_0xabbb('0x12'),'attributes':{'class':[_0xabbb('0x26'),'ck-reset_all-excluded',_0x4f0409['if']('isActive',_0xabbb('0x33')),_0x4f0409['if'](_0xabbb('0x10'),_0xabbb('0x3')),_0x4f0409['to'](_0xabbb('0xf'),_0x1b88aa=>_0x1b88aa?'ck-thread--'+_0x1b88aa:'')],'data-thread-id':this['_model']['id'],'tabindex':-0x1},'children':[{'tag':_0xabbb('0x12'),'attributes':{'class':'ck-thread__container'},'children':this[_0xabbb('0x1b')]}]};}[_0xabbb('0x2a')](){super[_0xabbb('0x2a')](),this[_0xabbb('0x22')]=this[_0xabbb('0x0')][_0xabbb('0x32')](_0xabbb('0x1e'));}[_0xabbb('0x13')](){this['cancelConfirm']();for(const _0x2252f1 of this[_0xabbb('0x1c')][_0xabbb('0x25')])_0x2252f1[_0xabbb('0x16')]();}['_bindFirstCommentView'](){const {locale:_0x1a05d3}=this,_0x422c17=this[_0xabbb('0x1c')][_0xabbb('0x25')]['get'](0x0);_0x422c17===this['_boundFirstCommentView']||_0x422c17[_0xabbb('0x1')]||(this[_0xabbb('0x15')]=_0x422c17,this[_0xabbb('0x2')](_0xabbb('0xf')),this[_0xabbb('0xe')](_0xabbb('0xf'))['to'](_0x422c17,_0xabbb('0xf'),_0x31106e=>'remove'===_0x31106e?_0xabbb('0x20'):null),_0x422c17[_0xabbb('0x5')]=_0xc3ad50(_0x1a05d3,'Write\x20a\x20comment...'),_0x422c17[_0xabbb('0x2c')]['on'](_0xabbb('0x27'),_0xdef375=>{_0xdef375['stop'](),this[_0xabbb('0x9')](_0xc3ad50(_0x1a05d3,_0xabbb('0x17')),this[_0xabbb('0x22')])[_0xabbb('0x11')](()=>{this['fire'](_0xabbb('0xd'));});},{'priority':'high'}),_0x422c17['actionBar'][_0xabbb('0x7')](this['resolveButton'],0x0));}[_0xabbb('0x19')](){const _0x1f2149=new _0x1a683e(this[_0xabbb('0x14')]);return _0x1f2149[_0xabbb('0x2d')]=_0xc3ad50(this[_0xabbb('0x14')],'Resolve'),_0x1f2149[_0xabbb('0x30')]=_0xc3ad50(this['locale'],_0xabbb('0x28')),_0x1f2149[_0xabbb('0x6')]=_0x4a0030[_0xabbb('0x1d')],_0x1f2149['extendTemplate']({'attributes':{'class':_0xabbb('0xb')}}),_0x1f2149[_0xabbb('0xe')](_0xabbb('0x1a'))['to'](this[_0xabbb('0x36')],_0xabbb('0xc'),_0x4f57c1=>!_0x4f57c1),_0x1f2149[_0xabbb('0xe')](_0xabbb('0x29'))['to'](this['_model'],_0xabbb('0xa'),this['_model'],_0xabbb('0x8'),(_0x5af01c,_0x2fe640)=>_0x5af01c&&!_0x2fe640),_0x1f2149['on'](_0xabbb('0x27'),()=>{this[_0xabbb('0x1f')]('resolveCommentThread',this['_model']['id']);}),_0x1f2149;}}