@ckeditor/ckeditor5-comments 0.0.0-nightly-20230806.0 → 0.0.0-nightly-20230808.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 (45) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/LICENSE.md +5 -5
  3. package/README.md +13 -13
  4. package/build/comments.js +1 -1
  5. package/package.json +3 -3
  6. package/src/annotations/annotation.js +1 -1
  7. package/src/annotations/annotationcollection.js +1 -1
  8. package/src/annotations/annotations.js +1 -1
  9. package/src/annotations/annotationsuis.js +1 -1
  10. package/src/annotations/editorannotations.js +1 -1
  11. package/src/annotations/inlineannotations.js +1 -1
  12. package/src/annotations/narrowsidebar.js +1 -1
  13. package/src/annotations/sidebar.js +1 -1
  14. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  15. package/src/annotations/view/annotationview.js +1 -1
  16. package/src/annotations/view/sidebaritemview.js +1 -1
  17. package/src/annotations/view/sidebarview.js +1 -1
  18. package/src/annotations/widesidebar.js +1 -1
  19. package/src/comments/addcommentthreadcommand.js +1 -1
  20. package/src/comments/commentsarchive.js +1 -1
  21. package/src/comments/commentsarchiveui.js +1 -1
  22. package/src/comments/commentsediting.js +1 -1
  23. package/src/comments/commentsrepository.js +1 -1
  24. package/src/comments/commentsui.js +1 -1
  25. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  26. package/src/comments/integrations/importword.js +1 -1
  27. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  28. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  29. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  30. package/src/comments/ui/commentthreadcontroller.js +1 -1
  31. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  32. package/src/comments/ui/view/basecommentview.js +1 -1
  33. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  34. package/src/comments/ui/view/commentcontentview.js +1 -1
  35. package/src/comments/ui/view/commentinputview.js +1 -1
  36. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  37. package/src/comments/ui/view/commentslistview.js +1 -1
  38. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  39. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  40. package/src/comments/ui/view/commentthreadview.js +1 -1
  41. package/src/comments/ui/view/commentview.js +1 -1
  42. package/src/comments.js +1 -1
  43. package/src/commentsonly.js +1 -1
  44. package/src/utils/common-translations.js +1 -1
  45. package/src/utils/createmutationobserver.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x12c0=['importWord.commentsStyles','high','forEach','listenTo','_handleImportedData','afterInit','importWord','editor','map','define','basic','execute','config','commands','plugins','dataInsert','get'];(function(_0x1860f2,_0x12c0fa){const _0x4e7c34=function(_0x2e8b2c){while(--_0x2e8b2c){_0x1860f2['push'](_0x1860f2['shift']());}};_0x4e7c34(++_0x12c0fa);}(_0x12c0,0xca));const _0x4e7c=function(_0x1860f2,_0x12c0fa){_0x1860f2=_0x1860f2-0x0;let _0x4e7c34=_0x12c0[_0x1860f2];return _0x4e7c34;};import{Plugin as _0x46312b}from'ckeditor5/src/core';import{priorities as _0x3f5d94}from'ckeditor5/src/utils';import{Users as _0x447e3e}from'ckeditor5-collaboration/src/collaboration-core';import _0x191944 from'../commentsrepository';export default class Y extends _0x46312b{constructor(_0x5d2e3a){super(_0x5d2e3a),this[_0x4e7c('0x9')]['config'][_0x4e7c('0xb')]('importWord.commentsStyles',_0x4e7c('0xc'));}[_0x4e7c('0x7')](){const _0x26283a=this['editor'],_0x434e81=_0x26283a[_0x4e7c('0xf')][_0x4e7c('0x1')](_0x4e7c('0x8')),_0x1f623b=_0x26283a['plugins'][_0x4e7c('0x1')](_0x447e3e);_0x434e81&&(_0x434e81['on'](_0x4e7c('0xd'),(_0x292394,[,_0x1e504e])=>{_0x1e504e['collaboration_features']={'comments':!0x0,'user_id':_0x1f623b['me']['id'],'comments_styles':this['editor'][_0x4e7c('0xe')][_0x4e7c('0x1')](_0x4e7c('0x2'))};},{'priority':_0x3f5d94[_0x4e7c('0x3')]+0xa}),this[_0x4e7c('0x5')](_0x434e81,_0x4e7c('0x0'),this['_handleImportedData']));}[_0x4e7c('0x6')](_0x2a82c6,_0x5820ff){const {comment_threads:_0x445c02}=_0x5820ff;_0x445c02&&_0x445c02[_0x4e7c('0x4')](({thread_id:_0x318ab9,comments:_0x5e2f45,is_resolved:_0x2ef7a5})=>{const _0x412427=new Date(),_0x18c0fc=_0x5e2f45[_0x4e7c('0xa')](({author:_0x42e99f,content:_0x4c9b03,created_at:_0x56486d})=>({'content':_0x4c9b03,'authorId':this[_0x4e7c('0x9')][_0x4e7c('0x10')][_0x4e7c('0x1')](_0x447e3e)['me']['id'],'createdAt':_0x412427,'attributes':{'@external':{'authorName':_0x42e99f,'createdAt':_0x56486d?new Date(_0x56486d):new Date(),'source':_0x4e7c('0x8')}}})),_0x2608eb=this[_0x4e7c('0x9')]['config'][_0x4e7c('0x1')]('collaboration.channelId');this[_0x4e7c('0x9')][_0x4e7c('0x10')]['get'](_0x191944)['addCommentThread']({'channelId':_0x2608eb,'threadId':_0x318ab9,'comments':_0x18c0fc,'resolvedAt':_0x2ef7a5?_0x412427:null});});}}
23
+ const _0x8a34=['config','editor','afterInit','_handleImportedData','define','get','forEach','basic','plugins','collaboration.channelId','commands','high','collaboration_features','importWord','dataInsert','map','addCommentThread','listenTo','importWord.commentsStyles'];(function(_0x3d330a,_0x8a3459){const _0x464215=function(_0x20cbda){while(--_0x20cbda){_0x3d330a['push'](_0x3d330a['shift']());}};_0x464215(++_0x8a3459);}(_0x8a34,0x165));const _0x4642=function(_0x3d330a,_0x8a3459){_0x3d330a=_0x3d330a-0x0;let _0x464215=_0x8a34[_0x3d330a];return _0x464215;};import{Plugin as _0x538fdc}from'ckeditor5/src/core';import{priorities as _0x27bfae}from'ckeditor5/src/utils';import{Users as _0x4f1aac}from'ckeditor5-collaboration/src/collaboration-core';import _0x7b14a9 from'../commentsrepository';export default class Y extends _0x538fdc{constructor(_0x2019c8){super(_0x2019c8),this[_0x4642('0x5')][_0x4642('0x4')][_0x4642('0x8')](_0x4642('0x3'),_0x4642('0xb'));}[_0x4642('0x6')](){const _0x201b1a=this[_0x4642('0x5')],_0x4bedf7=_0x201b1a[_0x4642('0xe')][_0x4642('0x9')](_0x4642('0x11')),_0x236d60=_0x201b1a['plugins'][_0x4642('0x9')](_0x4f1aac);_0x4bedf7&&(_0x4bedf7['on']('execute',(_0x167352,[,_0x2b8722])=>{_0x2b8722[_0x4642('0x10')]={'comments':!0x0,'user_id':_0x236d60['me']['id'],'comments_styles':this[_0x4642('0x5')][_0x4642('0x4')][_0x4642('0x9')](_0x4642('0x3'))};},{'priority':_0x27bfae[_0x4642('0xf')]+0xa}),this[_0x4642('0x2')](_0x4bedf7,_0x4642('0x12'),this[_0x4642('0x7')]));}[_0x4642('0x7')](_0x514c9b,_0x5e0928){const {comment_threads:_0x22bd4f}=_0x5e0928;_0x22bd4f&&_0x22bd4f[_0x4642('0xa')](({thread_id:_0x1f0347,comments:_0x5aecac,is_resolved:_0x6da3ee})=>{const _0x12d886=new Date(),_0xa0643b=_0x5aecac[_0x4642('0x0')](({author:_0x372d9e,content:_0x2dd4a6,created_at:_0x4d4efa})=>({'content':_0x2dd4a6,'authorId':this[_0x4642('0x5')][_0x4642('0xc')][_0x4642('0x9')](_0x4f1aac)['me']['id'],'createdAt':_0x12d886,'attributes':{'@external':{'authorName':_0x372d9e,'createdAt':_0x4d4efa?new Date(_0x4d4efa):new Date(),'source':_0x4642('0x11')}}})),_0x275322=this['editor'][_0x4642('0x4')]['get'](_0x4642('0xd'));this[_0x4642('0x5')][_0x4642('0xc')][_0x4642('0x9')](_0x7b14a9)[_0x4642('0x1')]({'channelId':_0x275322,'threadId':_0x1f0347,'comments':_0xa0643b,'resolvedAt':_0x6da3ee?_0x12d886:null});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4965=['view','end','defaultPlugins','name','data','model','createRoot','destroy','then','set','initPlugins','fire','init','change','ready','document','getChild','placeholderElement','childCount','editing','placeholder','_updatePlaceholder','initialData','focus','change:placeholder','plugins','getRoot','config'];(function(_0x2cbf0d,_0x4965a7){const _0xc6cf90=function(_0x5def93){while(--_0x5def93){_0x2cbf0d['push'](_0x2cbf0d['shift']());}};_0xc6cf90(++_0x4965a7);}(_0x4965,0x120));const _0xc6cf=function(_0x2cbf0d,_0x4965a7){_0x2cbf0d=_0x2cbf0d-0x0;let _0xc6cf90=_0x4965[_0x2cbf0d];return _0xc6cf90;};import{Editor as _0x4b185d,DataApiMixin as _0x322937}from'ckeditor5/src/core';import _0x3b5a03 from'./commenteditorui';import{ObservableMixin as _0x45c68e}from'ckeditor5/src/utils';import{enablePlaceholder as _0x5f0128,disablePlaceholder as _0x2fd82d}from'ckeditor5/src/engine';import{Clipboard as _0x43026d}from'ckeditor5/src/clipboard';import{Enter as _0x383c1d,ShiftEnter as _0x4f6ee4}from'ckeditor5/src/enter';import{SelectAll as _0x55d07e}from'ckeditor5/src/select-all';import{Typing as _0x1f9ca9}from'ckeditor5/src/typing';import{Undo as _0x39ce8c}from'ckeditor5/src/undo';import{Paragraph as _0x4c9da3}from'ckeditor5/src/paragraph';const Kt=[_0x43026d,_0x383c1d,_0x4f6ee4,_0x55d07e,_0x1f9ca9,_0x39ce8c,_0x4c9da3];export default class Lt extends _0x45c68e(_0x322937(_0x4b185d)){constructor(_0x494303={}){(_0x494303=Object['assign']({},_0x494303))[_0xc6cf('0x11')]||(_0x494303[_0xc6cf('0x11')]=Lt[_0xc6cf('0x16')]),super(_0x494303),this['ui']=new _0x3b5a03(this),this[_0xc6cf('0x1')](_0xc6cf('0xc'),''),this[_0xc6cf('0x19')]['document']['on']('change',()=>this[_0xc6cf('0xd')](),{'priority':'low'}),this['on'](_0xc6cf('0x10'),()=>this[_0xc6cf('0xd')]()),this['model'][_0xc6cf('0x7')][_0xc6cf('0x1a')]();}['create'](){const _0x5aad20=this[_0xc6cf('0x13')]['get'](_0xc6cf('0xe'))||'';return this[_0xc6cf('0x2')]()['then'](()=>this['ui'][_0xc6cf('0x4')]())[_0xc6cf('0x0')](()=>this[_0xc6cf('0x18')][_0xc6cf('0x4')](_0x5aad20))[_0xc6cf('0x0')](()=>this[_0xc6cf('0x3')](_0xc6cf('0x6')));}[_0xc6cf('0x1b')](){return super[_0xc6cf('0x1b')]()[_0xc6cf('0x0')](()=>this['ui'][_0xc6cf('0x1b')]());}[_0xc6cf('0xf')](){this[_0xc6cf('0x19')][_0xc6cf('0x5')](_0x4b6b51=>{const _0x2d6a15=this[_0xc6cf('0x19')][_0xc6cf('0x7')][_0xc6cf('0x12')](),_0x4193d8=_0x2d6a15&&_0x2d6a15['getChild'](_0x2d6a15[_0xc6cf('0xa')]-0x1);_0x4b6b51['setSelection'](_0x4193d8,_0xc6cf('0x15')),this[_0xc6cf('0xb')]['view'][_0xc6cf('0xf')]();});}[_0xc6cf('0xd')](){const _0x1d78f0=this[_0xc6cf('0xb')][_0xc6cf('0x14')],_0x34c79c=_0x1d78f0['document'][_0xc6cf('0x12')](),_0x73c94c=_0x34c79c[_0xc6cf('0x8')](0x0);_0x34c79c[_0xc6cf('0xa')]>0x1||!_0x73c94c||'p'!=_0x73c94c[_0xc6cf('0x17')]?this[_0xc6cf('0x9')]&&this['placeholderElement'][_0xc6cf('0xc')]&&(_0x2fd82d(_0x1d78f0,this[_0xc6cf('0x9')]),this[_0xc6cf('0x9')]=void 0x0):(this['placeholder']&&(_0x73c94c[_0xc6cf('0xc')]=this['placeholder']),_0x5f0128({'view':_0x1d78f0,'element':_0x73c94c,'keepOnFocus':!0x0}),this[_0xc6cf('0x9')]=_0x73c94c);}}Lt[_0xc6cf('0x16')]=Kt;
23
+ const _0x1af0=['model','setSelection','create','defaultPlugins','then','get','placeholder','fire','init','view','focus','plugins','document','change','editing','_updatePlaceholder','ready','getRoot','getChild','set','childCount','placeholderElement','change:placeholder','initialData','destroy','end','data'];(function(_0x474c7f,_0x1af0b2){const _0x5e376c=function(_0x4cdf52){while(--_0x4cdf52){_0x474c7f['push'](_0x474c7f['shift']());}};_0x5e376c(++_0x1af0b2);}(_0x1af0,0x18f));const _0x5e37=function(_0x474c7f,_0x1af0b2){_0x474c7f=_0x474c7f-0x0;let _0x5e376c=_0x1af0[_0x474c7f];return _0x5e376c;};import{Editor as _0x132950,DataApiMixin as _0x30d984}from'ckeditor5/src/core';import _0x2a301b from'./commenteditorui';import{ObservableMixin as _0x4b2f7e}from'ckeditor5/src/utils';import{enablePlaceholder as _0x325c6a,disablePlaceholder as _0x43794a}from'ckeditor5/src/engine';import{Clipboard as _0x4d74e9}from'ckeditor5/src/clipboard';import{Enter as _0x525cba,ShiftEnter as _0x225883}from'ckeditor5/src/enter';import{SelectAll as _0x4ed23a}from'ckeditor5/src/select-all';import{Typing as _0x45831a}from'ckeditor5/src/typing';import{Undo as _0x42a054}from'ckeditor5/src/undo';import{Paragraph as _0x3cfd1c}from'ckeditor5/src/paragraph';const Kt=[_0x4d74e9,_0x525cba,_0x225883,_0x4ed23a,_0x45831a,_0x42a054,_0x3cfd1c];export default class Lt extends _0x4b2f7e(_0x30d984(_0x132950)){constructor(_0x1e74a3={}){(_0x1e74a3=Object['assign']({},_0x1e74a3))[_0x5e37('0x11')]||(_0x1e74a3['plugins']=Lt['defaultPlugins']),super(_0x1e74a3),this['ui']=new _0x2a301b(this),this[_0x5e37('0x19')](_0x5e37('0xc'),''),this['model'][_0x5e37('0x12')]['on']('change',()=>this['_updatePlaceholder'](),{'priority':'low'}),this['on'](_0x5e37('0x1'),()=>this[_0x5e37('0x15')]()),this[_0x5e37('0x6')][_0x5e37('0x12')]['createRoot']();}[_0x5e37('0x8')](){const _0x372f71=this['config'][_0x5e37('0xb')](_0x5e37('0x2'))||'';return this['initPlugins']()[_0x5e37('0xa')](()=>this['ui']['init']())[_0x5e37('0xa')](()=>this[_0x5e37('0x5')][_0x5e37('0xe')](_0x372f71))['then'](()=>this[_0x5e37('0xd')](_0x5e37('0x16')));}['destroy'](){return super[_0x5e37('0x3')]()[_0x5e37('0xa')](()=>this['ui'][_0x5e37('0x3')]());}['focus'](){this['model'][_0x5e37('0x13')](_0x17fb7e=>{const _0x3b1824=this['model'][_0x5e37('0x12')][_0x5e37('0x17')](),_0x4b04f4=_0x3b1824&&_0x3b1824[_0x5e37('0x18')](_0x3b1824[_0x5e37('0x1a')]-0x1);_0x17fb7e[_0x5e37('0x7')](_0x4b04f4,_0x5e37('0x4')),this[_0x5e37('0x14')]['view'][_0x5e37('0x10')]();});}[_0x5e37('0x15')](){const _0x11de73=this[_0x5e37('0x14')][_0x5e37('0xf')],_0x3ef409=_0x11de73[_0x5e37('0x12')]['getRoot'](),_0x5a7e05=_0x3ef409[_0x5e37('0x18')](0x0);_0x3ef409[_0x5e37('0x1a')]>0x1||!_0x5a7e05||'p'!=_0x5a7e05['name']?this[_0x5e37('0x0')]&&this[_0x5e37('0x0')][_0x5e37('0xc')]&&(_0x43794a(_0x11de73,this[_0x5e37('0x0')]),this[_0x5e37('0x0')]=void 0x0):(this[_0x5e37('0xc')]&&(_0x5a7e05[_0x5e37('0xc')]=this[_0x5e37('0xc')]),_0x325c6a({'view':_0x11de73,'element':_0x5a7e05,'keepOnFocus':!0x0}),this[_0x5e37('0x0')]=_0x5a7e05);}}Lt[_0x5e37('0x9')]=Kt;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ba7=['focusTracker','init','element','isFocused','editor','editing','destroy','ready','name','editable','rootName','setEditableElement','render','view','getRoot','attachDomRoot','fire','document','bind'];(function(_0x340880,_0x4ba7dd){const _0x1ad647=function(_0x2ee9e3){while(--_0x2ee9e3){_0x340880['push'](_0x340880['shift']());}};_0x1ad647(++_0x4ba7dd);}(_0x4ba7,0x13e));const _0x1ad6=function(_0x340880,_0x4ba7dd){_0x340880=_0x340880-0x0;let _0x1ad647=_0x4ba7[_0x340880];return _0x1ad647;};import{EditorUI as _0x4c7e34}from'ckeditor5/src/ui';import _0x13bb91 from'./commenteditoruiview';export default class jt extends _0x4c7e34{constructor(_0x9bef80){super(_0x9bef80),this[_0x1ad6('0x12')]=new _0x13bb91(_0x9bef80['locale'],_0x9bef80[_0x1ad6('0xa')][_0x1ad6('0x12')]);}get['element'](){return this[_0x1ad6('0x12')]['element'];}[_0x1ad6('0x6')](){const _0x3b0ed3=this[_0x1ad6('0x9')][_0x1ad6('0xa')]['view'],_0x6c6c7e=this['view'][_0x1ad6('0xe')],_0x4f50a1=_0x3b0ed3[_0x1ad6('0x3')][_0x1ad6('0x0')]();_0x6c6c7e[_0x1ad6('0xd')]=_0x4f50a1[_0x1ad6('0xf')],this[_0x1ad6('0x12')][_0x1ad6('0x11')]();const _0x46e491=_0x6c6c7e[_0x1ad6('0x7')];this[_0x1ad6('0x10')](_0x6c6c7e[_0x1ad6('0xd')],_0x46e491),this[_0x1ad6('0x12')][_0x1ad6('0xe')][_0x1ad6('0x4')](_0x1ad6('0x8'))['to'](this[_0x1ad6('0x5')]),_0x3b0ed3[_0x1ad6('0x1')](_0x46e491),this[_0x1ad6('0x2')](_0x1ad6('0xc'));}['destroy'](){super[_0x1ad6('0xb')](),this[_0x1ad6('0x12')][_0x1ad6('0xb')]();}}
23
+ const _0x52a9=['editable','editing','destroy','focusTracker','name','getRoot','ready','attachDomRoot','bind','render','init','element','view','document','locale','setEditableElement','rootName'];(function(_0x5245b7,_0x52a932){const _0x37926b=function(_0x557b51){while(--_0x557b51){_0x5245b7['push'](_0x5245b7['shift']());}};_0x37926b(++_0x52a932);}(_0x52a9,0x1bd));const _0x3792=function(_0x5245b7,_0x52a932){_0x5245b7=_0x5245b7-0x0;let _0x37926b=_0x52a9[_0x5245b7];return _0x37926b;};import{EditorUI as _0x1e5d04}from'ckeditor5/src/ui';import _0x59af20 from'./commenteditoruiview';export default class jt extends _0x1e5d04{constructor(_0x21b439){super(_0x21b439),this[_0x3792('0x9')]=new _0x59af20(_0x21b439[_0x3792('0xb')],_0x21b439['editing'][_0x3792('0x9')]);}get[_0x3792('0x8')](){return this['view']['element'];}[_0x3792('0x7')](){const _0xc51ab3=this['editor'][_0x3792('0xf')][_0x3792('0x9')],_0x35498b=this[_0x3792('0x9')][_0x3792('0xe')],_0x277466=_0xc51ab3[_0x3792('0xa')][_0x3792('0x2')]();_0x35498b['name']=_0x277466[_0x3792('0xd')],this[_0x3792('0x9')][_0x3792('0x6')]();const _0x559a91=_0x35498b[_0x3792('0x8')];this[_0x3792('0xc')](_0x35498b[_0x3792('0x1')],_0x559a91),this[_0x3792('0x9')][_0x3792('0xe')][_0x3792('0x5')]('isFocused')['to'](this[_0x3792('0x0')]),_0xc51ab3[_0x3792('0x4')](_0x559a91),this['fire'](_0x3792('0x3'));}[_0x3792('0x10')](){super[_0x3792('0x10')](),this[_0x3792('0x9')][_0x3792('0x10')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5295=['_createVoiceLabel','extendTemplate','focus','ck-rounded-corners','comment','ck-editor__main','add','ck-comment__input','ck-editor','cke-editor__aria-label_','div','Comment\x20editor','editable','main','setTemplate','text','render','uiLanguage','element','_voiceLabelView'];(function(_0x30fc9f,_0x5295b8){const _0x1ebccd=function(_0x64fe89){while(--_0x64fe89){_0x30fc9f['push'](_0x30fc9f['shift']());}};_0x1ebccd(++_0x5295b8);}(_0x5295,0x131));const _0x1ebc=function(_0x30fc9f,_0x5295b8){_0x30fc9f=_0x30fc9f-0x0;let _0x1ebccd=_0x5295[_0x30fc9f];return _0x1ebccd;};import{InlineEditableUIView as _0x53f243,EditorUIView as _0x9d5fea,LabelView as _0x4b776e}from'ckeditor5/src/ui';import{uid as _0x3974ff}from'ckeditor5/src/utils';import{getTranslation as _0x16d5c2}from'../../../utils/common-translations';export default class Nt extends _0x9d5fea{constructor(_0x588bfa,_0x5dbf20){super(_0x588bfa);const _0x2c2822=_0x3974ff();this[_0x1ebc('0x8')]=this['createCollection'](),this[_0x1ebc('0x7')]=new _0x53f243(_0x588bfa,_0x5dbf20),this[_0x1ebc('0xe')]=this[_0x1ebc('0xf')](_0x2c2822,_0x588bfa),this[_0x1ebc('0x9')]({'tag':_0x1ebc('0x5'),'attributes':{'class':['ck-reset',_0x1ebc('0x3'),_0x1ebc('0x12'),_0x1ebc('0x2')],'role':_0x1ebc('0x13'),'dir':_0x588bfa['uiLanguageDirection'],'lang':_0x588bfa[_0x1ebc('0xc')],'aria-labelledby':_0x1ebc('0x4')+_0x2c2822},'children':[this[_0x1ebc('0xe')],{'tag':_0x1ebc('0x5'),'attributes':{'class':_0x1ebc('0x0'),'role':'presentation'},'children':this[_0x1ebc('0x8')]}]});}[_0x1ebc('0xb')](){super[_0x1ebc('0xb')](),this[_0x1ebc('0x8')][_0x1ebc('0x1')](this['editable']);}[_0x1ebc('0x11')](){this[_0x1ebc('0x7')][_0x1ebc('0xd')]['focus']();}[_0x1ebc('0xf')](_0x4534f1,_0x5a7913){const _0x205796=new _0x4b776e();return _0x205796[_0x1ebc('0xa')]=_0x16d5c2(_0x5a7913,_0x1ebc('0x6')),_0x205796[_0x1ebc('0x10')]({'attributes':{'id':'ck-editor__aria-label_'+_0x4534f1,'class':'ck-voice-label'}}),_0x205796;}}
23
+ const _0x1d23=['div','Comment\x20editor','main','ck-rounded-corners','ck-editor__aria-label_','ck-comment__input','text','comment','ck-reset','ck-editor__main','focus','_voiceLabelView','_createVoiceLabel','editable','presentation','ck-editor','element','cke-editor__aria-label_','render','createCollection','ck-voice-label','setTemplate'];(function(_0x2476dd,_0x1d2366){const _0x27630f=function(_0x52f357){while(--_0x52f357){_0x2476dd['push'](_0x2476dd['shift']());}};_0x27630f(++_0x1d2366);}(_0x1d23,0xfd));const _0x2763=function(_0x2476dd,_0x1d2366){_0x2476dd=_0x2476dd-0x0;let _0x27630f=_0x1d23[_0x2476dd];return _0x27630f;};import{InlineEditableUIView as _0x46f4ba,EditorUIView as _0x290cad,LabelView as _0x551069}from'ckeditor5/src/ui';import{uid as _0x256f4b}from'ckeditor5/src/utils';import{getTranslation as _0x46d015}from'../../../utils/common-translations';export default class Nt extends _0x290cad{constructor(_0x5492e1,_0xc9fbc1){super(_0x5492e1);const _0x3d65b1=_0x256f4b();this[_0x2763('0xd')]=this[_0x2763('0x8')](),this[_0x2763('0x2')]=new _0x46f4ba(_0x5492e1,_0xc9fbc1),this[_0x2763('0x0')]=this[_0x2763('0x1')](_0x3d65b1,_0x5492e1),this[_0x2763('0xa')]({'tag':_0x2763('0xb'),'attributes':{'class':[_0x2763('0x13'),_0x2763('0x4'),_0x2763('0xe'),_0x2763('0x10')],'role':_0x2763('0x12'),'dir':_0x5492e1['uiLanguageDirection'],'lang':_0x5492e1['uiLanguage'],'aria-labelledby':_0x2763('0x6')+_0x3d65b1},'children':[this[_0x2763('0x0')],{'tag':_0x2763('0xb'),'attributes':{'class':_0x2763('0x14'),'role':_0x2763('0x3')},'children':this['main']}]});}[_0x2763('0x7')](){super['render'](),this[_0x2763('0xd')]['add'](this['editable']);}[_0x2763('0x15')](){this[_0x2763('0x2')][_0x2763('0x5')]['focus']();}['_createVoiceLabel'](_0x45ce8b,_0x13994b){const _0x19182c=new _0x551069();return _0x19182c[_0x2763('0x11')]=_0x46d015(_0x13994b,_0x2763('0xc')),_0x19182c['extendTemplate']({'attributes':{'id':_0x2763('0xf')+_0x45ce8b,'class':_0x2763('0x9')}}),_0x19182c;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3b23=['resolveCommentThread','submitCommentThread','stopListening','remove','update','resolve','listenTo','_localUser','getComment','removeComment','submit','reopen','view','updateComment','_isAttached','addComment','reopenCommentThread','removeCommentThread','model','isResolved','destroy'];(function(_0x5f5362,_0x3b2326){var _0x56c09a=function(_0x112e29){while(--_0x112e29){_0x5f5362['push'](_0x5f5362['shift']());}};_0x56c09a(++_0x3b2326);}(_0x3b23,0x1f4));var _0x56c0=function(_0x5f5362,_0x3b2326){_0x5f5362=_0x5f5362-0x0;var _0x56c09a=_0x3b23[_0x5f5362];return _0x56c09a;};import{ObservableMixin as _0x1b4d80}from'ckeditor5/src/utils';export default class ct extends _0x1b4d80(){constructor(_0x1585e3,_0x2a181e){super(),this['model']=_0x1585e3,this['model']['_isAttached']=!0x0,this[_0x56c0('0x10')]=_0x2a181e,this[_0x56c0('0xa')](_0x2a181e,_0x56c0('0x5'),()=>this['submit']()),this['listenTo'](_0x2a181e,_0x56c0('0x0'),()=>this['remove']()),this[_0x56c0('0xa')](_0x2a181e,_0x56c0('0x4'),()=>this[_0x56c0('0x9')]()),this['listenTo'](_0x2a181e,_0x56c0('0x14'),()=>this[_0x56c0('0xf')]()),this['listenTo'](_0x2a181e,'addComment',(_0x5a6e90,_0x40c213)=>this[_0x56c0('0x13')](_0x40c213)),this['listenTo'](_0x2a181e,_0x56c0('0x11'),(_0x381ba6,_0x40a7f6,_0x1acd00)=>this[_0x56c0('0x11')](_0x40a7f6,_0x1acd00)),this['listenTo'](_0x2a181e,_0x56c0('0xd'),(_0x1907a7,_0x442ed7)=>this['removeComment'](_0x442ed7));}[_0x56c0('0xe')](){this[_0x56c0('0x1')][_0x56c0('0xe')]();}[_0x56c0('0x7')](){this[_0x56c0('0x1')][_0x56c0('0x7')]();}[_0x56c0('0x9')](){this[_0x56c0('0x1')]['isResolved']||this[_0x56c0('0x1')][_0x56c0('0x9')]();}['reopen'](){this[_0x56c0('0x1')][_0x56c0('0x2')]&&this[_0x56c0('0x1')]['reopen']();}[_0x56c0('0x13')](_0x2df420){this[_0x56c0('0x1')][_0x56c0('0x13')]({'content':_0x2df420,'authorId':this['view'][_0x56c0('0xb')]['id']});}[_0x56c0('0x11')](_0x3fda2b,_0x4ffb69){this[_0x56c0('0x1')][_0x56c0('0xc')](_0x3fda2b)[_0x56c0('0x8')]({'content':_0x4ffb69});}['removeComment'](_0x24f68f){this['model'][_0x56c0('0xc')](_0x24f68f)[_0x56c0('0x7')]();}[_0x56c0('0x3')](){this[_0x56c0('0x6')](),this[_0x56c0('0x1')][_0x56c0('0x12')]=!0x1;}}
23
+ var _0x3c58=['updateComment','_localUser','getComment','resolve','submit','resolveCommentThread','addComment','isResolved','model','reopenCommentThread','reopen','update','destroy','remove','_isAttached','stopListening','listenTo','submitCommentThread','removeCommentThread','view','removeComment'];(function(_0x11ccde,_0x3c5889){var _0x1065fe=function(_0x51ea01){while(--_0x51ea01){_0x11ccde['push'](_0x11ccde['shift']());}};_0x1065fe(++_0x3c5889);}(_0x3c58,0xae));var _0x1065=function(_0x11ccde,_0x3c5889){_0x11ccde=_0x11ccde-0x0;var _0x1065fe=_0x3c58[_0x11ccde];return _0x1065fe;};import{ObservableMixin as _0x36b379}from'ckeditor5/src/utils';export default class ct extends _0x36b379(){constructor(_0x389495,_0x16011a){super(),this[_0x1065('0x2')]=_0x389495,this[_0x1065('0x2')][_0x1065('0x8')]=!0x0,this[_0x1065('0xd')]=_0x16011a,this[_0x1065('0xa')](_0x16011a,_0x1065('0xb'),()=>this[_0x1065('0x13')]()),this[_0x1065('0xa')](_0x16011a,_0x1065('0xc'),()=>this[_0x1065('0x7')]()),this[_0x1065('0xa')](_0x16011a,_0x1065('0x14'),()=>this['resolve']()),this[_0x1065('0xa')](_0x16011a,_0x1065('0x3'),()=>this[_0x1065('0x4')]()),this[_0x1065('0xa')](_0x16011a,_0x1065('0x0'),(_0x4b5815,_0x2909c5)=>this['addComment'](_0x2909c5)),this['listenTo'](_0x16011a,_0x1065('0xf'),(_0x3ad7aa,_0x47768,_0x45cc79)=>this['updateComment'](_0x47768,_0x45cc79)),this['listenTo'](_0x16011a,_0x1065('0xe'),(_0x1eb0c2,_0x4c2797)=>this['removeComment'](_0x4c2797));}['submit'](){this['model'][_0x1065('0x13')]();}[_0x1065('0x7')](){this[_0x1065('0x2')]['remove']();}['resolve'](){this[_0x1065('0x2')][_0x1065('0x1')]||this[_0x1065('0x2')][_0x1065('0x12')]();}[_0x1065('0x4')](){this[_0x1065('0x2')][_0x1065('0x1')]&&this[_0x1065('0x2')]['reopen']();}[_0x1065('0x0')](_0x38ffc3){this['model'][_0x1065('0x0')]({'content':_0x38ffc3,'authorId':this[_0x1065('0xd')][_0x1065('0x10')]['id']});}[_0x1065('0xf')](_0x14beb9,_0x2b1f24){this[_0x1065('0x2')][_0x1065('0x11')](_0x14beb9)[_0x1065('0x5')]({'content':_0x2b1f24});}[_0x1065('0xe')](_0xf4bec0){this['model'][_0x1065('0x11')](_0xf4bec0)['remove']();}[_0x1065('0x6')](){this[_0x1065('0x9')](),this['model']['_isAttached']=!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbf60=['updateComment','fire','length','commentThreadInputView','destroy','editorConfig','isDirty','element','Write\x20a\x20comment...','placeholder','_createCommentThreadInputView','Reply\x20to\x20reopen\x20discussion...','set','locale','resolveCommentThread','isReadOnly','_localUser','commentsListView','removeComment','focus','isSubmitted','value','delegate','change:isActive','Comment','_config','submitCommentThread','showInput','bind','removeCommentThread','reopenCommentThread','isActive','cancel','isResolved','submitLabel','Reply','hasDirtyComment','addComment','commentInputView','Reply...','commentThreadHeaderView','stop','editorReady','isResolvable','editorDestroyed','_model'];(function(_0x389a0b,_0xbf605d){const _0x4d9597=function(_0x54f15d){while(--_0x54f15d){_0x389a0b['push'](_0x389a0b['shift']());}};_0x4d9597(++_0xbf605d);}(_0xbf60,0x151));const _0x4d95=function(_0x389a0b,_0xbf605d){_0x389a0b=_0x389a0b-0x0;let _0x4d9597=_0xbf60[_0x389a0b];return _0x4d9597;};import{View as _0x58bc26}from'ckeditor5/src/ui';import _0x2f9bdf from'./commentthreadinputview';import _0x2745e6 from'./commentslistview';import _0x315711 from'./commentthreadheaderview';import{getTranslation as _0x40ffb1}from'../../../utils/common-translations';export default class Tt extends _0x58bc26{constructor(_0x273c5f,_0x441053,_0x455462,_0x4eea34){super(_0x273c5f),this[_0x4d95('0x2b')]('isActive',!0x1),this[_0x4d95('0x2b')](_0x4d95('0x25'),!0x1),this[_0x4d95('0x1e')]=_0x441053,this[_0x4d95('0x1')]=_0x455462,this[_0x4d95('0xa')]=_0x4eea34,this['commentThreadHeaderView']=new _0x315711(_0x273c5f,_0x441053),this[_0x4d95('0x19')][_0x4d95('0x7')](_0x4d95('0xf'))['to'](this),this[_0x4d95('0x2')]=new _0x2745e6(_0x273c5f,_0x441053,Object['assign']({'CommentView':this[_0x4d95('0xa')]['CommentView']},_0x4eea34)),this[_0x4d95('0x2')][_0x4d95('0x7')](_0x4d95('0x3'))['to'](this),this['commentsListView'][_0x4d95('0x7')](_0x4d95('0x1f'))['to'](this),this[_0x4d95('0x2')][_0x4d95('0x7')](_0x4d95('0x2d'))['to'](this),this[_0x4d95('0x2')][_0x4d95('0x7')]('editorReady')['to'](this),this[_0x4d95('0x2')]['delegate'](_0x4d95('0x1d'))['to'](this),this[_0x4d95('0x2')][_0x4d95('0xd')]('isActive')['to'](this),this[_0x4d95('0x2b')]('length',this['commentsListView'][_0x4d95('0x21')]),this[_0x4d95('0xd')]('length')['to'](this['commentsListView'],_0x4d95('0x21')),this['commentThreadInputView']=this[_0x4d95('0x29')](),this['commentThreadInputView']['delegate'](_0x4d95('0x1b'))['to'](this),this[_0x4d95('0x22')][_0x4d95('0x7')](_0x4d95('0x1d'))['to'](this),this['on'](_0x4d95('0x3'),()=>this[_0x4d95('0x4')]()),this[_0x4d95('0xd')]('isDirty')['to'](this['commentsListView'],_0x4d95('0x15'),this[_0x4d95('0x22')][_0x4d95('0x17')],_0x4d95('0x6'),(_0x2134f9,_0x4d7a20)=>_0x2134f9||!!_0x4d7a20);}[_0x4d95('0x4')](){this[_0x4d95('0x26')]['focus']();}['destroy'](){this[_0x4d95('0x25')]=!0x1,this[_0x4d95('0x2')][_0x4d95('0x23')](),this[_0x4d95('0x22')][_0x4d95('0x23')](),super[_0x4d95('0x23')]();}['_createCommentThreadInputView'](){const _0x39e574=new _0x2f9bdf(this[_0x4d95('0x2c')],this['_localUser'],this['_config'][_0x4d95('0x24')]),_0xd19c4a=_0x39e574['commentInputView'];return _0x39e574[_0x4d95('0xd')](_0x4d95('0xc'))['to'](this,_0x4d95('0x10'),this['_model'],_0x4d95('0x0'),this[_0x4d95('0x1e')],'canComment',this[_0x4d95('0x1e')],_0x4d95('0x12'),_0xd19c4a,_0x4d95('0x6'),(_0x24002c,_0x4a7fe5,_0x2c461a,_0x6131bb,_0x229324)=>!!_0x229324||_0x6131bb&&_0x2c461a&&!_0x4a7fe5||_0x24002c&&_0x2c461a&&!_0x4a7fe5),_0xd19c4a['bind'](_0x4d95('0x28'))['to'](this,_0x4d95('0x21'),this['_model'],_0x4d95('0x1c'),this[_0x4d95('0x1e')],_0x4d95('0x12'),(_0x11e712,_0x5d4e5b,_0x56cd9d)=>{let _0x193e0e;return _0x193e0e=_0x56cd9d&&_0x5d4e5b?_0x4d95('0x2a'):_0x11e712?_0x4d95('0x18'):_0x4d95('0x27'),_0x40ffb1(this[_0x4d95('0x2c')],_0x193e0e);}),_0xd19c4a['bind'](_0x4d95('0x13'))['to'](this,_0x4d95('0x21'),_0x592be2=>_0x40ffb1(this[_0x4d95('0x2c')],_0x592be2?_0x4d95('0x14'):_0x4d95('0x9'))),_0xd19c4a['on']('submit',(_0x2c8bb7,_0x2db59f)=>{this[_0x4d95('0x20')](_0x4d95('0x16'),_0x2db59f),this[_0x4d95('0x1e')]['isResolved']&&this[_0x4d95('0x1e')]['isResolvable']&&this['fire'](_0x4d95('0xf'),this[_0x4d95('0x1e')]['id']),this[_0x4d95('0x1e')][_0x4d95('0x5')]||this[_0x4d95('0x20')](_0x4d95('0xb'));}),_0xd19c4a['on'](_0x4d95('0x11'),()=>{this[_0x4d95('0x4')]();}),_0xd19c4a[_0x4d95('0xd')]('disabledSubmit')['to'](this[_0x4d95('0x1e')],_0x4d95('0x0')),_0xd19c4a['on']('cancel',_0x4bbaf4=>{0x0==this[_0x4d95('0x21')]&&(this[_0x4d95('0x20')](_0x4d95('0xe')),_0x4bbaf4[_0x4d95('0x1a')]());}),this['on'](_0x4d95('0x8'),(_0x395e79,_0x542349,_0x27fc30)=>{_0x27fc30||this[_0x4d95('0x21')]||_0xd19c4a[_0x4d95('0x6')]||this[_0x4d95('0x20')]('removeCommentThread');}),_0x39e574;}}
23
+ const _0x5173=['_model','value','Reply...','submit','Comment','locale','isDirty','isSubmitted','commentsListView','isActive','placeholder','isReadOnly','editorReady','_createCommentThreadInputView','assign','commentInputView','updateComment','_localUser','set','Reply','destroy','commentThreadHeaderView','_config','addComment','editorDestroyed','disabledSubmit','commentThreadInputView','canComment','bind','showInput','change:isActive','focus','element','cancel','removeCommentThread','reopenCommentThread','fire','removeComment','length','stop','resolveCommentThread','isResolved','delegate','hasDirtyComment','Reply\x20to\x20reopen\x20discussion...','isResolvable','submitCommentThread'];(function(_0x36bbd7,_0x51735c){const _0x3899ae=function(_0x231681){while(--_0x231681){_0x36bbd7['push'](_0x36bbd7['shift']());}};_0x3899ae(++_0x51735c);}(_0x5173,0x14a));const _0x3899=function(_0x36bbd7,_0x51735c){_0x36bbd7=_0x36bbd7-0x0;let _0x3899ae=_0x5173[_0x36bbd7];return _0x3899ae;};import{View as _0x4a5676}from'ckeditor5/src/ui';import _0x40e139 from'./commentthreadinputview';import _0x1e867e from'./commentslistview';import _0x5fb40 from'./commentthreadheaderview';import{getTranslation as _0x5411a8}from'../../../utils/common-translations';export default class Tt extends _0x4a5676{constructor(_0x4e8451,_0x4b7577,_0x669264,_0x207475){super(_0x4e8451),this['set'](_0x3899('0x8'),!0x1),this[_0x3899('0x11')]('isDirty',!0x1),this[_0x3899('0x2e')]=_0x4b7577,this[_0x3899('0x10')]=_0x669264,this['_config']=_0x207475,this[_0x3899('0x14')]=new _0x5fb40(_0x4e8451,_0x4b7577),this[_0x3899('0x14')]['delegate']('reopenCommentThread')['to'](this),this[_0x3899('0x7')]=new _0x1e867e(_0x4e8451,_0x4b7577,Object[_0x3899('0xd')]({'CommentView':this['_config']['CommentView']},_0x207475)),this[_0x3899('0x7')][_0x3899('0x29')]('removeComment')['to'](this),this[_0x3899('0x7')][_0x3899('0x29')](_0x3899('0xf'))['to'](this),this[_0x3899('0x7')][_0x3899('0x29')](_0x3899('0x27'))['to'](this),this[_0x3899('0x7')][_0x3899('0x29')]('editorReady')['to'](this),this['commentsListView'][_0x3899('0x29')](_0x3899('0x17'))['to'](this),this['commentsListView']['bind'](_0x3899('0x8'))['to'](this),this[_0x3899('0x11')](_0x3899('0x25'),this['commentsListView']['length']),this[_0x3899('0x1b')]('length')['to'](this[_0x3899('0x7')],_0x3899('0x25')),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this[_0x3899('0x19')][_0x3899('0x29')](_0x3899('0xb'))['to'](this),this[_0x3899('0x19')][_0x3899('0x29')](_0x3899('0x17'))['to'](this),this['on'](_0x3899('0x24'),()=>this[_0x3899('0x1e')]()),this[_0x3899('0x1b')](_0x3899('0x5'))['to'](this[_0x3899('0x7')],_0x3899('0x2a'),this[_0x3899('0x19')][_0x3899('0xe')],_0x3899('0x0'),(_0xf6813d,_0x54a5da)=>_0xf6813d||!!_0x54a5da);}[_0x3899('0x1e')](){this[_0x3899('0x1f')][_0x3899('0x1e')]();}[_0x3899('0x13')](){this[_0x3899('0x5')]=!0x1,this[_0x3899('0x7')]['destroy'](),this[_0x3899('0x19')]['destroy'](),super[_0x3899('0x13')]();}[_0x3899('0xc')](){const _0x5e86e0=new _0x40e139(this['locale'],this[_0x3899('0x10')],this[_0x3899('0x15')]['editorConfig']),_0x289abb=_0x5e86e0['commentInputView'];return _0x5e86e0[_0x3899('0x1b')](_0x3899('0x1c'))['to'](this,_0x3899('0x8'),this['_model'],_0x3899('0xa'),this['_model'],_0x3899('0x1a'),this['_model'],_0x3899('0x28'),_0x289abb,'value',(_0x355c39,_0x147aa1,_0x50d175,_0x54dd95,_0x3e0162)=>!!_0x3e0162||_0x54dd95&&_0x50d175&&!_0x147aa1||_0x355c39&&_0x50d175&&!_0x147aa1),_0x289abb[_0x3899('0x1b')](_0x3899('0x9'))['to'](this,_0x3899('0x25'),this['_model'],'isResolvable',this['_model'],_0x3899('0x28'),(_0x3a8d5c,_0x273283,_0x197944)=>{let _0x4908d9;return _0x4908d9=_0x197944&&_0x273283?_0x3899('0x2b'):_0x3a8d5c?_0x3899('0x1'):'Write\x20a\x20comment...',_0x5411a8(this['locale'],_0x4908d9);}),_0x289abb[_0x3899('0x1b')]('submitLabel')['to'](this,_0x3899('0x25'),_0x5b5c3a=>_0x5411a8(this[_0x3899('0x4')],_0x5b5c3a?_0x3899('0x12'):_0x3899('0x3'))),_0x289abb['on'](_0x3899('0x2'),(_0x44ac83,_0x5b53b1)=>{this[_0x3899('0x23')](_0x3899('0x16'),_0x5b53b1),this[_0x3899('0x2e')][_0x3899('0x28')]&&this['_model'][_0x3899('0x2c')]&&this[_0x3899('0x23')](_0x3899('0x22'),this[_0x3899('0x2e')]['id']),this[_0x3899('0x2e')][_0x3899('0x6')]||this[_0x3899('0x23')](_0x3899('0x2d'));}),_0x289abb['on'](_0x3899('0x20'),()=>{this[_0x3899('0x1e')]();}),_0x289abb['bind'](_0x3899('0x18'))['to'](this['_model'],_0x3899('0xa')),_0x289abb['on'](_0x3899('0x20'),_0x315130=>{0x0==this[_0x3899('0x25')]&&(this[_0x3899('0x23')]('removeCommentThread'),_0x315130[_0x3899('0x26')]());}),this['on'](_0x3899('0x1d'),(_0x5bb5ba,_0x5b750c,_0x26af6d)=>{_0x26af6d||this[_0x3899('0x25')]||_0x289abb[_0x3899('0x0')]||this[_0x3899('0x23')](_0x3899('0x21'));}),_0x5e86e0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8814=['collapse','focus','submitLabel','isEditMode','submit','element','expand','set','delegate','Save','switchToEditMode','maxCommentCharsWhenCollapsed','content','locale','switchToDisplayMode','_createCommentInputView','add','get','disabledSubmit','bind','initialData','remove','isCollapsed','editorDestroyed','isSystemComment','once','visibleView','_model','_createCommentContentView','editorConfig','cancel','_config','destroy'];(function(_0x57b5e4,_0x8814ff){const _0x155f0c=function(_0x248782){while(--_0x248782){_0x57b5e4['push'](_0x57b5e4['shift']());}};_0x155f0c(++_0x8814ff);}(_0x8814,0x1d4));const _0x155f=function(_0x57b5e4,_0x8814ff){_0x57b5e4=_0x57b5e4-0x0;let _0x155f0c=_0x8814[_0x57b5e4];return _0x155f0c;};import{View as _0x53ea31}from'ckeditor5/src/ui';import{trimHtml as _0x3f11ec}from'ckeditor5-collaboration/src/collaboration-core';import _0x3c13df from'./commentcontentview';import _0x27feef from'./commentinputview';import{getTranslation as _0x238396}from'../../../utils/common-translations';export default class Yt extends _0x53ea31{constructor(_0x258be6,_0x167969,_0x56deaf){super(_0x258be6),this[_0x155f('0x15')]=_0x167969,this[_0x155f('0x19')]=_0x56deaf,this[_0x155f('0x12')]=!!this['_config'][_0x155f('0x12')],this[_0x155f('0x1')]('isEditMode',!0x1),this[_0x155f('0x1')](_0x155f('0x10'),!0x0),this[_0x155f('0x14')]=this['createCollection'](),this[_0x155f('0x14')][_0x155f('0xa')](this[_0x155f('0x16')]());}[_0x155f('0x0')](){this[_0x155f('0x10')]=!0x1;}[_0x155f('0x1b')](){this[_0x155f('0x1e')]||(this['isCollapsed']=!0x0);}[_0x155f('0x1c')](){this[_0x155f('0x20')][_0x155f('0x1c')]();}async[_0x155f('0x1a')](){await this[_0x155f('0x14')][_0x155f('0xb')](0x0)[_0x155f('0x1a')](),super['destroy']();}[_0x155f('0x4')](){this[_0x155f('0x1e')]||(this[_0x155f('0x1e')]=!0x0,this['visibleView'][_0x155f('0xf')](0x0)[_0x155f('0x1a')](),this['visibleView']['add'](this[_0x155f('0x9')]()));}[_0x155f('0x8')](){this[_0x155f('0x1e')]&&(this[_0x155f('0x1e')]=!0x1,this['visibleView']['remove'](0x0)[_0x155f('0x1a')](),this['visibleView'][_0x155f('0xa')](this['_createCommentContentView']()));}[_0x155f('0x16')](){const _0x19b4cb=new _0x3c13df(this[_0x155f('0x7')]);return _0x19b4cb[_0x155f('0xd')](_0x155f('0x6'))['to'](this[_0x155f('0x15')],_0x155f('0x6'),this,_0x155f('0x10'),(_0x19491c,_0x564f0f)=>_0x564f0f?_0x3f11ec(_0x19491c,{'limit':this[_0x155f('0x19')][_0x155f('0x5')]}):_0x19491c),_0x19b4cb;}['_createCommentInputView'](){this[_0x155f('0x19')][_0x155f('0x17')]||(this['_config'][_0x155f('0x17')]={}),this[_0x155f('0x19')][_0x155f('0x17')][_0x155f('0xe')]=this[_0x155f('0x15')][_0x155f('0x6')];const _0x4ce43f=new _0x27feef(this[_0x155f('0x7')],this['_config'][_0x155f('0x17')]);return _0x4ce43f['value']=this['_model'][_0x155f('0x6')],_0x4ce43f[_0x155f('0xd')](_0x155f('0xc'))['to'](this[_0x155f('0x15')],'isReadOnly'),_0x4ce43f[_0x155f('0x1d')]=_0x238396(this[_0x155f('0x7')],_0x155f('0x3')),_0x4ce43f['on'](_0x155f('0x1f'),(_0x3d3c8a,_0x2791b2)=>{this['fire']('updateComment',this['_model']['id'],_0x2791b2),this[_0x155f('0x8')](),this[_0x155f('0x1c')]();}),_0x4ce43f['on'](_0x155f('0x18'),()=>{this[_0x155f('0x8')](),this['focus']();}),_0x4ce43f[_0x155f('0x13')]('editorReady',()=>{_0x4ce43f[_0x155f('0x1c')]();}),_0x4ce43f['createEditor'](),_0x4ce43f[_0x155f('0x2')]('editorReady')['to'](this),_0x4ce43f[_0x155f('0x2')](_0x155f('0x11'))['to'](this),_0x4ce43f;}}
23
+ const _0x3168=['createEditor','set','destroy','_createCommentInputView','_model','submit','switchToDisplayMode','delegate','content','updateComment','locale','_config','get','bind','element','visibleView','focus','initialData','editorReady','remove','isEditMode','add','isCollapsed','Save','collapse','_createCommentContentView','editorDestroyed','isSystemComment','expand','submitLabel','once','editorConfig','switchToEditMode'];(function(_0x55b889,_0x3168d4){const _0x17102b=function(_0x22616c){while(--_0x22616c){_0x55b889['push'](_0x55b889['shift']());}};_0x17102b(++_0x3168d4);}(_0x3168,0x1cc));const _0x1710=function(_0x55b889,_0x3168d4){_0x55b889=_0x55b889-0x0;let _0x17102b=_0x3168[_0x55b889];return _0x17102b;};import{View as _0x5174e0}from'ckeditor5/src/ui';import{trimHtml as _0x327728}from'ckeditor5-collaboration/src/collaboration-core';import _0x37413c from'./commentcontentview';import _0x2dc4b8 from'./commentinputview';import{getTranslation as _0x4b27d2}from'../../../utils/common-translations';export default class Yt extends _0x5174e0{constructor(_0x27a591,_0x1f2455,_0x1a3611){super(_0x27a591),this[_0x1710('0x6')]=_0x1f2455,this[_0x1710('0xd')]=_0x1a3611,this[_0x1710('0x1d')]=!!this[_0x1710('0xd')]['isSystemComment'],this['set']('isEditMode',!0x1),this[_0x1710('0x3')]('isCollapsed',!0x0),this[_0x1710('0x11')]=this['createCollection'](),this['visibleView']['add'](this[_0x1710('0x1b')]());}[_0x1710('0x1e')](){this[_0x1710('0x18')]=!0x1;}[_0x1710('0x1a')](){this[_0x1710('0x16')]||(this['isCollapsed']=!0x0);}[_0x1710('0x12')](){this[_0x1710('0x10')][_0x1710('0x12')]();}async[_0x1710('0x4')](){await this[_0x1710('0x11')][_0x1710('0xe')](0x0)[_0x1710('0x4')](),super['destroy']();}[_0x1710('0x1')](){this[_0x1710('0x16')]||(this[_0x1710('0x16')]=!0x0,this[_0x1710('0x11')][_0x1710('0x15')](0x0)[_0x1710('0x4')](),this[_0x1710('0x11')][_0x1710('0x17')](this[_0x1710('0x5')]()));}['switchToDisplayMode'](){this[_0x1710('0x16')]&&(this[_0x1710('0x16')]=!0x1,this['visibleView'][_0x1710('0x15')](0x0)[_0x1710('0x4')](),this[_0x1710('0x11')][_0x1710('0x17')](this['_createCommentContentView']()));}[_0x1710('0x1b')](){const _0x51046f=new _0x37413c(this[_0x1710('0xc')]);return _0x51046f[_0x1710('0xf')]('content')['to'](this[_0x1710('0x6')],_0x1710('0xa'),this,_0x1710('0x18'),(_0x532a31,_0x521636)=>_0x521636?_0x327728(_0x532a31,{'limit':this[_0x1710('0xd')]['maxCommentCharsWhenCollapsed']}):_0x532a31),_0x51046f;}[_0x1710('0x5')](){this['_config']['editorConfig']||(this[_0x1710('0xd')][_0x1710('0x0')]={}),this[_0x1710('0xd')][_0x1710('0x0')][_0x1710('0x13')]=this[_0x1710('0x6')][_0x1710('0xa')];const _0xba85ed=new _0x2dc4b8(this['locale'],this[_0x1710('0xd')][_0x1710('0x0')]);return _0xba85ed['value']=this[_0x1710('0x6')][_0x1710('0xa')],_0xba85ed['bind']('disabledSubmit')['to'](this[_0x1710('0x6')],'isReadOnly'),_0xba85ed[_0x1710('0x1f')]=_0x4b27d2(this[_0x1710('0xc')],_0x1710('0x19')),_0xba85ed['on'](_0x1710('0x7'),(_0x1a46bb,_0xb02368)=>{this['fire'](_0x1710('0xb'),this[_0x1710('0x6')]['id'],_0xb02368),this[_0x1710('0x8')](),this[_0x1710('0x12')]();}),_0xba85ed['on']('cancel',()=>{this[_0x1710('0x8')](),this[_0x1710('0x12')]();}),_0xba85ed[_0x1710('0x20')](_0x1710('0x14'),()=>{_0xba85ed['focus']();}),_0xba85ed[_0x1710('0x2')](),_0xba85ed[_0x1710('0x9')](_0x1710('0x14'))['to'](this),_0xba85ed[_0x1710('0x9')](_0x1710('0x1c'))['to'](this),_0xba85ed;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e24=['set','count','ck-thread__comment-count','setTemplate','bindTemplate'];(function(_0x22aeb8,_0x2e24fc){const _0x3016f8=function(_0x5e0e90){while(--_0x5e0e90){_0x22aeb8['push'](_0x22aeb8['shift']());}};_0x3016f8(++_0x2e24fc);}(_0x2e24,0xf5));const _0x3016=function(_0x22aeb8,_0x2e24fc){_0x22aeb8=_0x22aeb8-0x0;let _0x3016f8=_0x2e24[_0x22aeb8];return _0x3016f8;};import{View as _0x1f2a4d}from'ckeditor5/src/ui';import{getTranslation as _0xadb69a}from'../../../utils/common-translations';export default class Zt extends _0x1f2a4d{constructor(_0x40439e){super(_0x40439e);const _0x24dbb0=this[_0x3016('0x4')];this[_0x3016('0x0')](_0x3016('0x1'),void 0x0),this[_0x3016('0x3')]({'tag':'li','attributes':{'class':_0x3016('0x2')},'children':[{'text':_0x24dbb0['to'](_0x3016('0x1'),_0x1405b2=>_0xadb69a(_0x40439e,'NUMBER_OF_COMMENTS',_0x1405b2))}]});}}
23
+ const _0xb138=['count','set','setTemplate'];(function(_0x4af35f,_0xb138ba){const _0x329559=function(_0x1b4de4){while(--_0x1b4de4){_0x4af35f['push'](_0x4af35f['shift']());}};_0x329559(++_0xb138ba);}(_0xb138,0x19f));const _0x3295=function(_0x4af35f,_0xb138ba){_0x4af35f=_0x4af35f-0x0;let _0x329559=_0xb138[_0x4af35f];return _0x329559;};import{View as _0x48985b}from'ckeditor5/src/ui';import{getTranslation as _0x3ae50d}from'../../../utils/common-translations';export default class Zt extends _0x48985b{constructor(_0x4c5973){super(_0x4c5973);const _0x268e11=this['bindTemplate'];this[_0x3295('0x0')]('count',void 0x0),this[_0x3295('0x1')]({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x268e11['to'](_0x3295('0x2'),_0x53e590=>_0x3ae50d(_0x4c5973,'NUMBER_OF_COMMENTS',_0x53e590))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x50fa=['element','render','content','change:content','setTemplate','set','innerHTML','div','ck-annotation__content','ck-comment__content'];(function(_0x42c944,_0x50faf3){var _0x15044c=function(_0x3555a5){while(--_0x3555a5){_0x42c944['push'](_0x42c944['shift']());}};_0x15044c(++_0x50faf3);}(_0x50fa,0x17c));var _0x1504=function(_0x42c944,_0x50faf3){_0x42c944=_0x42c944-0x0;var _0x15044c=_0x50fa[_0x42c944];return _0x15044c;};import{View as _0x112920}from'ckeditor5/src/ui';export default class Ut extends _0x112920{constructor(_0x1197df){super(_0x1197df),this[_0x1504('0x5')](_0x1504('0x2'),''),this[_0x1504('0x4')]({'tag':_0x1504('0x7'),'attributes':{'class':[_0x1504('0x9'),_0x1504('0x8')]}});}[_0x1504('0x1')](){super['render'](),this['on'](_0x1504('0x3'),(_0x48bafd,_0x3d24de,_0x2b04fc)=>{this[_0x1504('0x0')]['innerHTML']=_0x2b04fc;}),this[_0x1504('0x0')][_0x1504('0x6')]=this[_0x1504('0x2')];}}
23
+ var _0x4555=['div','innerHTML','content','element','render','set','change:content','setTemplate','ck-annotation__content'];(function(_0x58e46d,_0x455585){var _0x3d27fe=function(_0xeaa5cd){while(--_0xeaa5cd){_0x58e46d['push'](_0x58e46d['shift']());}};_0x3d27fe(++_0x455585);}(_0x4555,0x1d9));var _0x3d27=function(_0x58e46d,_0x455585){_0x58e46d=_0x58e46d-0x0;var _0x3d27fe=_0x4555[_0x58e46d];return _0x3d27fe;};import{View as _0x100da5}from'ckeditor5/src/ui';export default class Ut extends _0x100da5{constructor(_0x4a4428){super(_0x4a4428),this[_0x3d27('0x0')](_0x3d27('0x6'),''),this[_0x3d27('0x2')]({'tag':_0x3d27('0x4'),'attributes':{'class':['ck-comment__content',_0x3d27('0x3')]}});}[_0x3d27('0x8')](){super['render'](),this['on'](_0x3d27('0x1'),(_0xfb2ccf,_0x539877,_0x36220e)=>{this[_0x3d27('0x7')][_0x3d27('0x5')]=_0x36220e;}),this[_0x3d27('0x7')][_0x3d27('0x5')]=this[_0x3d27('0x6')];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3718=['focusTracker','model','submitButtonView','ck-comment__input-actions--cancel','view','editorReady','disabledSubmit','ck-comment__input-wrapper','forEach','setTemplate','focusPrevious','placeholder','ck-comment__input-actions','set','getData','createEditor','cancel','_initializeFocusCycling','TOO_LONG_COMMENT_ALERT','setData','_editorCreationPromise','bind','div','showButtons','element','destroy','create','render','withText','label','keystrokes','Esc','submit','extendTemplate','focusNext','Cancel','bindTemplate','trim','isEnabled','firstChild','cancelButtonView','fire','Reply...','editor','then','add','_createCancelButton','_createSubmitButton','_editorConfig','value','initialData','_isDestroyed','execute'];(function(_0x22e75a,_0x3718e2){const _0x537c59=function(_0x1d5f6e){while(--_0x1d5f6e){_0x22e75a['push'](_0x22e75a['shift']());}};_0x537c59(++_0x3718e2);}(_0x3718,0xf6));const _0x537c=function(_0x22e75a,_0x3718e2){_0x22e75a=_0x22e75a-0x0;let _0x537c59=_0x3718[_0x22e75a];return _0x537c59;};import{View as _0x3a30e8,ViewCollection as _0xdb9ceb,FocusCycler as _0x437ff7,ButtonView as _0x44362f}from'ckeditor5/src/ui';import{FocusTracker as _0x107648,KeystrokeHandler as _0x1171bd}from'ckeditor5/src/utils';import _0x1944ae from'../commenteditor/commenteditor';import{getTranslation as _0xe1fd1e}from'../../../utils/common-translations';export default class Xt extends _0x3a30e8{constructor(_0x599f2d,_0x5e6cc5={}){super(_0x599f2d),this[_0x537c('0x9')]=null,this[_0x537c('0xe')]=_0x5e6cc5,this['keystrokes']=new _0x1171bd(),this[_0x537c('0x13')]=new _0x107648(),this[_0x537c('0x20')](_0x537c('0xf'),_0x5e6cc5[_0x537c('0x10')]||''),this[_0x537c('0x20')](_0x537c('0x19'),!0x1),this[_0x537c('0x20')]('showButtons',!0x0),this[_0x537c('0x20')]('placeholder',_0xe1fd1e(_0x599f2d,_0x537c('0x8'))),this['set']('submitLabel',_0xe1fd1e(_0x599f2d,'Reply')),this[_0x537c('0x15')]=this['_createSubmitButton'](),this[_0x537c('0x6')]=this[_0x537c('0xc')](),this[_0x537c('0x1c')]({'tag':'div','attributes':{'class':[_0x537c('0x1a')]},'children':[{'tag':_0x537c('0x29'),'attributes':{'class':[_0x537c('0x1f'),this[_0x537c('0x2')]['if'](_0x537c('0x2a'),'ck-comment__input-actions--active')]},'children':[this['submitButtonView'],this[_0x537c('0x6')]]}]}),this[_0x537c('0x31')][_0x537c('0x20')](_0x537c('0x32'),(_0x821a70,_0x5725fa)=>{this['cancelButtonView'][_0x537c('0x7')](_0x537c('0x12')),_0x5725fa();}),this['on'](_0x537c('0x33'),(_0x28d64e,_0x6f257f)=>{_0x6f257f['length']>0xfde8?(alert(_0xe1fd1e(_0x599f2d,_0x537c('0x25'),[_0x6f257f['length'],0xfde8])),_0x28d64e['stop']()):this[_0x537c('0x9')][_0x537c('0x26')]('');},{'priority':'high'});}[_0x537c('0x2e')](){super['render'](),this[_0x537c('0x31')]['listenTo'](this[_0x537c('0x2b')]),this['focusTracker'][_0x537c('0xb')](this['element']);}[_0x537c('0x22')](){return this[_0x537c('0x9')]||(this[_0x537c('0x9')]=new _0x1944ae(this[_0x537c('0xe')]),this['_editorCreationPromise']=this[_0x537c('0x9')][_0x537c('0x2d')]()[_0x537c('0xa')](()=>{if(this['_isDestroyed'])return;const _0x2048b8=this[_0x537c('0x9')];this['element']['insertBefore'](_0x2048b8['ui'][_0x537c('0x2b')],this[_0x537c('0x2b')][_0x537c('0x5')]),_0x2048b8[_0x537c('0x14')]['document']['on']('change',()=>this['value']=_0x2048b8[_0x537c('0x21')]()),_0x2048b8['bind'](_0x537c('0x1e'))['to'](this),this[_0x537c('0x24')](this[_0x537c('0x9')]),this[_0x537c('0x7')](_0x537c('0x18'),this[_0x537c('0x9')]);})),this['_editorCreationPromise'];}['focus'](){this[_0x537c('0x9')]&&this[_0x537c('0x9')]['focus']();}async[_0x537c('0x2c')](){this[_0x537c('0x11')]||(this['_isDestroyed']=!0x0,this[_0x537c('0x9')]&&(await this[_0x537c('0x27')],await this['editor'][_0x537c('0x2c')](),this[_0x537c('0x7')]('editorDestroyed',this['editor'])),await super['destroy']());}[_0x537c('0xd')](){const {locale:_0x37cfd8}=this,_0x3b721f=new _0x44362f(_0x37cfd8);return _0x3b721f[_0x537c('0x34')]({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x3b721f[_0x537c('0x2f')]=!0x0,_0x3b721f[_0x537c('0x28')](_0x537c('0x30'))['to'](this,'submitLabel'),_0x3b721f['on']('execute',()=>{this[_0x537c('0x7')](_0x537c('0x33'),this[_0x537c('0xf')]);}),_0x3b721f[_0x537c('0x28')](_0x537c('0x4'))['to'](this,_0x537c('0xf'),this,'disabledSubmit',(_0x17ac42,_0x1334d9)=>!_0x1334d9&&!!_0x17ac42[_0x537c('0x3')]()),_0x3b721f;}[_0x537c('0xc')](){const {locale:_0x3df807}=this,_0x1b4b03=new _0x44362f(_0x3df807);return _0x1b4b03[_0x537c('0x34')]({'attributes':{'class':[_0x537c('0x16')]}}),_0x1b4b03[_0x537c('0x30')]=_0xe1fd1e(_0x3df807,_0x537c('0x1')),_0x1b4b03[_0x537c('0x2f')]=!0x0,_0x1b4b03['on'](_0x537c('0x12'),()=>{this[_0x537c('0x9')]['setData'](''),this[_0x537c('0x7')](_0x537c('0x23'));}),_0x1b4b03;}[_0x537c('0x24')](_0xea73bc){const _0x34a085=this[_0x537c('0x13')],_0x5e8b47=new _0xdb9ceb();[_0xea73bc['ui'][_0x537c('0x17')],this[_0x537c('0x15')],this[_0x537c('0x6')]][_0x537c('0x1b')](_0x5cb76a=>{_0x5e8b47[_0x537c('0xb')](_0x5cb76a),_0x34a085[_0x537c('0xb')](_0x5cb76a[_0x537c('0x2b')]);});const _0x5f2331=new _0x437ff7({'focusables':_0x5e8b47,'focusTracker':_0x34a085});this[_0x537c('0x31')][_0x537c('0x20')]('tab',(_0x24ef63,_0x50b570)=>{_0x5f2331[_0x537c('0x0')](),_0x50b570();},{'priority':'low'}),this['keystrokes'][_0x537c('0x20')]('shift\x20+\x20tab',(_0x5dcf74,_0x57123d)=>{_0x5f2331[_0x537c('0x1d')](),_0x57123d();},{'priority':'low'});}}
23
+ const _0x18d6=['editor','length','keystrokes','change','high','render','tab','disabledSubmit','stop','ck-comment__input-wrapper','focusTracker','insertBefore','model','submitLabel','_createSubmitButton','bind','withText','forEach','low','_initializeFocusCycling','setData','Esc','listenTo','extendTemplate','_isDestroyed','value','submitButtonView','isEnabled','focusNext','placeholder','fire','div','label','firstChild','initialData','Reply','editorDestroyed','ck-comment__input-actions--cancel','ck-comment__input-actions--active','execute','focusPrevious','element','ck-comment__input-actions--submit','set','create','submit','focus','_createCancelButton','ck-comment__input-actions','destroy','_editorCreationPromise','showButtons','cancelButtonView','getData','createEditor'];(function(_0x112c03,_0x18d624){const _0x4b92b1=function(_0x3d534){while(--_0x3d534){_0x112c03['push'](_0x112c03['shift']());}};_0x4b92b1(++_0x18d624);}(_0x18d6,0xac));const _0x4b92=function(_0x112c03,_0x18d624){_0x112c03=_0x112c03-0x0;let _0x4b92b1=_0x18d6[_0x112c03];return _0x4b92b1;};import{View as _0x52ddb1,ViewCollection as _0x1d68f8,FocusCycler as _0x24f152,ButtonView as _0xfebc1d}from'ckeditor5/src/ui';import{FocusTracker as _0x1a61b3,KeystrokeHandler as _0x2cf7d0}from'ckeditor5/src/utils';import _0x5ae7ee from'../commenteditor/commenteditor';import{getTranslation as _0x1fa01c}from'../../../utils/common-translations';export default class Xt extends _0x52ddb1{constructor(_0x562e79,_0x14024d={}){super(_0x562e79),this[_0x4b92('0x30')]=null,this['_editorConfig']=_0x14024d,this[_0x4b92('0x32')]=new _0x2cf7d0(),this[_0x4b92('0x3')]=new _0x1a61b3(),this['set'](_0x4b92('0x12'),_0x14024d[_0x4b92('0x1b')]||''),this[_0x4b92('0x24')](_0x4b92('0x0'),!0x1),this[_0x4b92('0x24')](_0x4b92('0x2c'),!0x0),this['set'](_0x4b92('0x16'),_0x1fa01c(_0x562e79,'Reply...')),this[_0x4b92('0x24')](_0x4b92('0x6'),_0x1fa01c(_0x562e79,_0x4b92('0x1c'))),this['submitButtonView']=this[_0x4b92('0x7')](),this[_0x4b92('0x2d')]=this[_0x4b92('0x28')](),this['setTemplate']({'tag':'div','attributes':{'class':[_0x4b92('0x2')]},'children':[{'tag':_0x4b92('0x18'),'attributes':{'class':[_0x4b92('0x29'),this['bindTemplate']['if']('showButtons',_0x4b92('0x1f'))]},'children':[this[_0x4b92('0x13')],this[_0x4b92('0x2d')]]}]}),this[_0x4b92('0x32')][_0x4b92('0x24')](_0x4b92('0xe'),(_0x1b3f00,_0x285286)=>{this['cancelButtonView'][_0x4b92('0x17')]('execute'),_0x285286();}),this['on']('submit',(_0x37dd2e,_0x2ab93a)=>{_0x2ab93a[_0x4b92('0x31')]>0xfde8?(alert(_0x1fa01c(_0x562e79,'TOO_LONG_COMMENT_ALERT',[_0x2ab93a[_0x4b92('0x31')],0xfde8])),_0x37dd2e[_0x4b92('0x1')]()):this[_0x4b92('0x30')][_0x4b92('0xd')]('');},{'priority':_0x4b92('0x34')});}[_0x4b92('0x35')](){super[_0x4b92('0x35')](),this[_0x4b92('0x32')][_0x4b92('0xf')](this[_0x4b92('0x22')]),this[_0x4b92('0x3')]['add'](this['element']);}[_0x4b92('0x2f')](){return this[_0x4b92('0x30')]||(this['editor']=new _0x5ae7ee(this['_editorConfig']),this[_0x4b92('0x2b')]=this['editor'][_0x4b92('0x25')]()['then'](()=>{if(this['_isDestroyed'])return;const _0x314775=this[_0x4b92('0x30')];this['element'][_0x4b92('0x4')](_0x314775['ui'][_0x4b92('0x22')],this['element'][_0x4b92('0x1a')]),_0x314775[_0x4b92('0x5')]['document']['on'](_0x4b92('0x33'),()=>this[_0x4b92('0x12')]=_0x314775[_0x4b92('0x2e')]()),_0x314775['bind'](_0x4b92('0x16'))['to'](this),this['_initializeFocusCycling'](this[_0x4b92('0x30')]),this[_0x4b92('0x17')]('editorReady',this[_0x4b92('0x30')]);})),this[_0x4b92('0x2b')];}[_0x4b92('0x27')](){this[_0x4b92('0x30')]&&this[_0x4b92('0x30')][_0x4b92('0x27')]();}async['destroy'](){this[_0x4b92('0x11')]||(this[_0x4b92('0x11')]=!0x0,this[_0x4b92('0x30')]&&(await this[_0x4b92('0x2b')],await this['editor'][_0x4b92('0x2a')](),this[_0x4b92('0x17')](_0x4b92('0x1d'),this[_0x4b92('0x30')])),await super[_0x4b92('0x2a')]());}['_createSubmitButton'](){const {locale:_0x187ca9}=this,_0x1309a0=new _0xfebc1d(_0x187ca9);return _0x1309a0[_0x4b92('0x10')]({'attributes':{'class':[_0x4b92('0x23')]}}),_0x1309a0[_0x4b92('0x9')]=!0x0,_0x1309a0[_0x4b92('0x8')]('label')['to'](this,_0x4b92('0x6')),_0x1309a0['on'](_0x4b92('0x20'),()=>{this[_0x4b92('0x17')](_0x4b92('0x26'),this['value']);}),_0x1309a0[_0x4b92('0x8')](_0x4b92('0x14'))['to'](this,'value',this,'disabledSubmit',(_0x17e4af,_0x5a1531)=>!_0x5a1531&&!!_0x17e4af['trim']()),_0x1309a0;}[_0x4b92('0x28')](){const {locale:_0x4db598}=this,_0x511520=new _0xfebc1d(_0x4db598);return _0x511520[_0x4b92('0x10')]({'attributes':{'class':[_0x4b92('0x1e')]}}),_0x511520[_0x4b92('0x19')]=_0x1fa01c(_0x4db598,'Cancel'),_0x511520[_0x4b92('0x9')]=!0x0,_0x511520['on'](_0x4b92('0x20'),()=>{this['editor'][_0x4b92('0xd')](''),this[_0x4b92('0x17')]('cancel');}),_0x511520;}[_0x4b92('0xc')](_0x3312e9){const _0x40984f=this[_0x4b92('0x3')],_0x1c39cf=new _0x1d68f8();[_0x3312e9['ui']['view'],this['submitButtonView'],this[_0x4b92('0x2d')]][_0x4b92('0xa')](_0x1a3299=>{_0x1c39cf['add'](_0x1a3299),_0x40984f['add'](_0x1a3299['element']);});const _0x2e3a73=new _0x24f152({'focusables':_0x1c39cf,'focusTracker':_0x40984f});this[_0x4b92('0x32')]['set'](_0x4b92('0x36'),(_0x4dbfa8,_0x3e5117)=>{_0x2e3a73[_0x4b92('0x15')](),_0x3e5117();},{'priority':'low'}),this[_0x4b92('0x32')][_0x4b92('0x24')]('shift\x20+\x20tab',(_0x387c23,_0x52df3f)=>{_0x2e3a73[_0x4b92('0x21')](),_0x52df3f();},{'priority':_0x4b92('0xb')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x350a=['destroy','EMPTY_COMMENTS_ARCHIVE','set','element','_focusCycler','high','_focusTracker','focus','tab','arrowup','listenTo','arrowleft','render','isEmpty','bindTemplate','stopPropagation','add','div','arrowdown','_keystrokes','COMMENTS_ARCHIVE','ck-comments-archive__header\x20','ck-hidden','length','_focusables','ck-comments-archive','auto','remove','ck-comments-archive__content','selectstart','ck-comments-archive__info'];(function(_0x5e654b,_0x350a4a){const _0x1289ec=function(_0x473bed){while(--_0x473bed){_0x5e654b['push'](_0x5e654b['shift']());}};_0x1289ec(++_0x350a4a);}(_0x350a,0x1f0));const _0x1289=function(_0x5e654b,_0x350a4a){_0x5e654b=_0x5e654b-0x0;let _0x1289ec=_0x350a[_0x5e654b];return _0x1289ec;};import{View as _0x3212b2,FocusCycler as _0x302f8b}from'ckeditor5/src/ui';import{FocusTracker as _0x2b1455,KeystrokeHandler as _0xdb34ef}from'ckeditor5/src/utils';import{getTranslation as _0x299f5b}from'../../../utils/common-translations';export default class K extends _0x3212b2{constructor(_0x50ea5b,_0x1ceb36){super(_0x50ea5b),this['set']('isEmpty',!_0x1ceb36['length']),this[_0x1289('0x6')]=new _0x2b1455(),this['_keystrokes']=new _0xdb34ef(),this[_0x1289('0x18')]=_0x1ceb36,this[_0x1289('0x4')]=new _0x302f8b({'focusables':this[_0x1289('0x18')],'focusTracker':this['_focusTracker'],'keystrokeHandler':this[_0x1289('0x13')],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':_0x1289('0x8')}}),this[_0x1289('0xa')](_0x1ceb36,_0x1289('0x10'),()=>{this[_0x1289('0xd')]=!0x1;}),this[_0x1289('0xa')](_0x1ceb36,_0x1289('0x1b'),(_0x406079,_0x4341ec)=>{_0x4341ec['isActive']&&this['focus'](),_0x1ceb36[_0x1289('0x17')]||(this['isEmpty']=!0x0);});const _0x3cb190=this[_0x1289('0xe')];this['setTemplate']({'tag':'div','attributes':{'dir':_0x1289('0x1a'),'class':['ck',_0x1289('0x19')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':[_0x1289('0x15')]},'children':[{'text':_0x299f5b(_0x50ea5b,_0x1289('0x14'))}]},{'tag':_0x1289('0x11'),'attributes':{'class':[_0x1289('0x1c')]},'children':[{'tag':_0x1289('0x11'),'children':_0x1ceb36},{'tag':'p','attributes':{'class':[_0x1289('0x1e'),_0x3cb190['if'](_0x1289('0xd'),_0x1289('0x16'),_0x33e0b6=>!_0x33e0b6)]},'children':[{'text':_0x299f5b(_0x50ea5b,_0x1289('0x1'))}]}]}]});}[_0x1289('0xc')](){super[_0x1289('0xc')](),this[_0x1289('0x13')]['listenTo'](this[_0x1289('0x3')]);const _0x398395=_0x5c710e=>_0x5c710e[_0x1289('0xf')]();this[_0x1289('0x13')][_0x1289('0x2')]('arrowright',_0x398395),this['_keystrokes'][_0x1289('0x2')](_0x1289('0xb'),_0x398395),this[_0x1289('0x13')]['set'](_0x1289('0x9'),_0x398395),this['_keystrokes']['set'](_0x1289('0x12'),_0x398395),this[_0x1289('0xa')](this[_0x1289('0x3')],_0x1289('0x1d'),(_0x516b59,_0x1335f8)=>{_0x1335f8['stopPropagation']();},{'priority':_0x1289('0x5')});}['destroy'](){super[_0x1289('0x0')](),this['_focusTracker'][_0x1289('0x0')](),this[_0x1289('0x13')]['destroy']();}['focus'](){this[_0x1289('0x3')][_0x1289('0x7')]();}}
23
+ const _0x3e4f=['arrowdown','listenTo','auto','COMMENTS_ARCHIVE','ck-comments-archive__content','_focusTracker','set','_keystrokes','ck-comments-archive__info','arrowright','element','destroy','selectstart','tab','stopPropagation','add','isActive','_focusables','_focusCycler','isEmpty','bindTemplate','length','div','EMPTY_COMMENTS_ARCHIVE','ck-comments-archive','arrowleft','setTemplate','shift\x20+\x20tab','focus'];(function(_0xfe27d4,_0x3e4f12){const _0x31e99b=function(_0x107d3d){while(--_0x107d3d){_0xfe27d4['push'](_0xfe27d4['shift']());}};_0x31e99b(++_0x3e4f12);}(_0x3e4f,0xa6));const _0x31e9=function(_0xfe27d4,_0x3e4f12){_0xfe27d4=_0xfe27d4-0x0;let _0x31e99b=_0x3e4f[_0xfe27d4];return _0x31e99b;};import{View as _0x439f90,FocusCycler as _0x3c938f}from'ckeditor5/src/ui';import{FocusTracker as _0x518097,KeystrokeHandler as _0x523001}from'ckeditor5/src/utils';import{getTranslation as _0x14cb68}from'../../../utils/common-translations';export default class K extends _0x439f90{constructor(_0x3cbe98,_0x1c7c3d){super(_0x3cbe98),this[_0x31e9('0xe')](_0x31e9('0x1b'),!_0x1c7c3d[_0x31e9('0x0')]),this[_0x31e9('0xd')]=new _0x518097(),this[_0x31e9('0xf')]=new _0x523001(),this[_0x31e9('0x19')]=_0x1c7c3d,this[_0x31e9('0x1a')]=new _0x3c938f({'focusables':this[_0x31e9('0x19')],'focusTracker':this['_focusTracker'],'keystrokeHandler':this[_0x31e9('0xf')],'actions':{'focusPrevious':_0x31e9('0x6'),'focusNext':_0x31e9('0x15')}}),this[_0x31e9('0x9')](_0x1c7c3d,_0x31e9('0x17'),()=>{this[_0x31e9('0x1b')]=!0x1;}),this['listenTo'](_0x1c7c3d,'remove',(_0xbe118a,_0x16a967)=>{_0x16a967[_0x31e9('0x18')]&&this[_0x31e9('0x7')](),_0x1c7c3d[_0x31e9('0x0')]||(this[_0x31e9('0x1b')]=!0x0);});const _0x1bca52=this[_0x31e9('0x1c')];this[_0x31e9('0x5')]({'tag':_0x31e9('0x1'),'attributes':{'dir':_0x31e9('0xa'),'class':['ck',_0x31e9('0x3')],'tabindex':-0x1},'children':[{'tag':'p','attributes':{'class':['ck-comments-archive__header\x20']},'children':[{'text':_0x14cb68(_0x3cbe98,_0x31e9('0xb'))}]},{'tag':_0x31e9('0x1'),'attributes':{'class':[_0x31e9('0xc')]},'children':[{'tag':'div','children':_0x1c7c3d},{'tag':'p','attributes':{'class':[_0x31e9('0x10'),_0x1bca52['if'](_0x31e9('0x1b'),'ck-hidden',_0x15a031=>!_0x15a031)]},'children':[{'text':_0x14cb68(_0x3cbe98,_0x31e9('0x2'))}]}]}]});}['render'](){super['render'](),this['_keystrokes']['listenTo'](this[_0x31e9('0x12')]);const _0xdaeade=_0xb77dd8=>_0xb77dd8[_0x31e9('0x16')]();this[_0x31e9('0xf')][_0x31e9('0xe')](_0x31e9('0x11'),_0xdaeade),this[_0x31e9('0xf')][_0x31e9('0xe')](_0x31e9('0x4'),_0xdaeade),this[_0x31e9('0xf')][_0x31e9('0xe')]('arrowup',_0xdaeade),this[_0x31e9('0xf')]['set'](_0x31e9('0x8'),_0xdaeade),this['listenTo'](this['element'],_0x31e9('0x14'),(_0x35ebf7,_0x56e4e6)=>{_0x56e4e6[_0x31e9('0x16')]();},{'priority':'high'});}[_0x31e9('0x13')](){super['destroy'](),this[_0x31e9('0xd')][_0x31e9('0x13')](),this[_0x31e9('0xf')]['destroy']();}[_0x31e9('0x7')](){this[_0x31e9('0x12')][_0x31e9('0x7')]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5255=['hasDirtyComment','focus','_calculatePosition','resolvedCommentView','weight','createCollection','_shouldCollapse','commentUpdated','delegate','remove','maxCommentCharsWhenCollapsed','_config','collapse','editorReady','length','add','_rearrangeCollapse','_collapsedCommentsView','resolvedAt','formatDateTime','count','resolvedBy','destroy','change:isResolved','change:isEditMode','_handleRemoveCommentModel','render','commentViews','editorDestroyed','setTemplate','equal','listenTo','comments','isActive','element','from','ck-thread__comments','CommentView','_rearrangeExpand','stopListening','locale','authoredAt','expand','change:hasDirtyComment','change:isActive','_model','visibleViews','_updateHasDirtyComment','get','viewUid','set','refreshVisibleViews','editorConfig','bind','updateComment','_handleInfoComment','maxCommentsWhenCollapsed','_handleNewCommentModel','isEditMode','maxThreadTotalWeight'];(function(_0x4e1cc5,_0x5255a6){const _0x54b409=function(_0x22633d){while(--_0x22633d){_0x4e1cc5['push'](_0x4e1cc5['shift']());}};_0x54b409(++_0x5255a6);}(_0x5255,0x1ac));const _0x54b4=function(_0x4e1cc5,_0x5255a6){_0x4e1cc5=_0x4e1cc5-0x0;let _0x54b409=_0x5255[_0x4e1cc5];return _0x54b409;};import{View as _0x577d52}from'ckeditor5/src/ui';import{diff as _0x520913,Collection as _0x20c8c3}from'ckeditor5/src/utils';import{getTranslation as _0x5bca77}from'../../../utils/common-translations';import _0x1a9ee4 from'./collapsedcommentsview';export default class wt extends _0x577d52{constructor(_0x527257,_0x32993e,_0x1ba7d1){super(_0x527257),this['set'](_0x54b4('0x34'),!0x1),this['set'](_0x54b4('0x6'),_0x32993e['comments'][_0x54b4('0x6')]),this[_0x54b4('0x2a')](_0x54b4('0x19'),!0x1),this[_0x54b4('0x25')]=_0x32993e,this['_config']=_0x1ba7d1,this[_0x54b4('0x13')]=this[_0x54b4('0x39')](),this[_0x54b4('0x26')]=this[_0x54b4('0x39')](),this[_0x54b4('0x37')]=null,this[_0x54b4('0x9')]=new _0x1a9ee4(_0x527257),this[_0x54b4('0x9')][_0x54b4('0x2d')](_0x54b4('0xc'))['to'](this,_0x54b4('0x6'),_0x13f008=>_0x13f008-this['_config'][_0x54b4('0x30')]);for(const _0x371d29 of _0x32993e[_0x54b4('0x18')])this['_handleNewCommentModel'](_0x371d29);this[_0x54b4('0x2f')](),this[_0x54b4('0x17')](_0x32993e[_0x54b4('0x18')],_0x54b4('0x7'),(_0x40eb3b,_0x475a47)=>{const _0x48ce6c=this[_0x54b4('0x36')](_0x475a47);this['length']++,this[_0x54b4('0x31')](_0x475a47,_0x48ce6c),this[_0x54b4('0x2b')]();}),this[_0x54b4('0x17')](_0x32993e[_0x54b4('0x18')],_0x54b4('0x1'),(_0x1bc9d2,_0x47c23f)=>{this['length']--,this[_0x54b4('0x11')](_0x47c23f),this['refreshVisibleViews']();}),this[_0x54b4('0x17')](_0x32993e,_0x54b4('0x3b'),()=>this['refreshVisibleViews']()),this[_0x54b4('0x17')](_0x32993e,_0x54b4('0xf'),()=>this[_0x54b4('0x2f')]()),this['on'](_0x54b4('0x24'),()=>this['refreshVisibleViews']()),this['on'](_0x54b4('0x23'),()=>this['refreshVisibleViews']()),this[_0x54b4('0x15')]({'tag':'ul','attributes':{'class':[_0x54b4('0x1c')]},'children':this[_0x54b4('0x26')]});}get[_0x54b4('0x3a')](){return this[_0x54b4('0x25')][_0x54b4('0x38')]>this[_0x54b4('0x3')][_0x54b4('0x33')]&&!this[_0x54b4('0x19')]&&!this[_0x54b4('0x34')];}[_0x54b4('0x12')](){super[_0x54b4('0x12')](),this[_0x54b4('0x2b')]();}[_0x54b4('0x35')](){this[_0x54b4('0x1a')][_0x54b4('0x35')]();}[_0x54b4('0xe')](){this[_0x54b4('0x9')][_0x54b4('0xe')]();for(const _0xdde71b of this['commentViews'])_0xdde71b[_0x54b4('0xe')]();super[_0x54b4('0xe')]();}[_0x54b4('0x2b')](){this[_0x54b4('0x3a')]?this[_0x54b4('0x8')]():this[_0x54b4('0x1e')]();}[_0x54b4('0x31')](_0x2692b8,_0x59e4dd){const _0x2ba4e8=new this['_config']['CommentView'](this[_0x54b4('0x20')],_0x2692b8,{'maxCommentCharsWhenCollapsed':this[_0x54b4('0x3')]['maxCommentCharsWhenCollapsed'],'formatDateTime':this[_0x54b4('0x3')][_0x54b4('0xb')],'editorConfig':this['_config'][_0x54b4('0x2c')]});_0x2ba4e8[_0x54b4('0x29')]=_0x2692b8['id'],_0x2ba4e8[_0x54b4('0x0')]('removeComment')['to'](this),_0x2ba4e8[_0x54b4('0x0')](_0x54b4('0x2e'))['to'](this),_0x2ba4e8['delegate']('resolveCommentThread')['to'](this),_0x2ba4e8['delegate'](_0x54b4('0x5'))['to'](this),_0x2ba4e8[_0x54b4('0x0')](_0x54b4('0x14'))['to'](this),this[_0x54b4('0x17')](_0x2ba4e8,_0x54b4('0x10'),()=>this[_0x54b4('0x27')]()),this[_0x54b4('0x13')][_0x54b4('0x7')](_0x2ba4e8,_0x59e4dd);}[_0x54b4('0x36')](_0x3f7fa6){const _0x2d50fb=this[_0x54b4('0x25')]['_findOptimalIndex'](_0x3f7fa6);return this[_0x54b4('0x37')]?this[_0x54b4('0x37')][_0x54b4('0x21')]>_0x3f7fa6[_0x54b4('0x21')]?_0x2d50fb-0x1:_0x2d50fb:_0x2d50fb-0x1;}[_0x54b4('0x2f')](){if(this[_0x54b4('0x25')][_0x54b4('0xd')]&&this[_0x54b4('0x25')][_0x54b4('0xa')]){const _0x1d620c={'id':'resolved','author':this[_0x54b4('0x25')][_0x54b4('0xd')],'authoredAt':this['_model'][_0x54b4('0xa')],'content':_0x5bca77(this[_0x54b4('0x20')],'Marked\x20as\x20resolved'),'attributes':{}};this['resolvedCommentView']=new this[(_0x54b4('0x3'))][(_0x54b4('0x1d'))](this[_0x54b4('0x20')],_0x1d620c,{'maxCommentCharsWhenCollapsed':this[_0x54b4('0x3')][_0x54b4('0x2')],'formatDateTime':this['_config'][_0x54b4('0xb')],'editorConfig':this[_0x54b4('0x3')][_0x54b4('0x2c')],'isSystemComment':!0x0}),this[_0x54b4('0x13')][_0x54b4('0x7')](this[_0x54b4('0x37')],this[_0x54b4('0x25')]['_findOptimalIndex'](_0x1d620c));}else this['resolvedCommentView']&&(this[_0x54b4('0x13')][_0x54b4('0x1')](this['resolvedCommentView']),this[_0x54b4('0x37')]['destroy'](),this[_0x54b4('0x37')]=null);this[_0x54b4('0x2b')]();}['_handleRemoveCommentModel'](_0x34eff8){const _0x18b418=this[_0x54b4('0x13')]['remove'](_0x34eff8['id']);this[_0x54b4('0x1f')](_0x18b418),_0x18b418['isEditMode']&&this['_updateHasDirtyComment'](),_0x18b418[_0x54b4('0xe')]();}[_0x54b4('0x27')](){this[_0x54b4('0x34')]=Array[_0x54b4('0x1b')](this[_0x54b4('0x13')])['some'](_0x172eb0=>_0x172eb0[_0x54b4('0x32')]);}[_0x54b4('0x8')](){const _0x55c8c2=function(_0x4c1a3c){const _0x570e7e=new _0x20c8c3();for(const _0x57f086 of _0x4c1a3c)_0x570e7e[_0x54b4('0x7')](_0x57f086);return _0x570e7e;}(this[_0x54b4('0x13')]),_0x5633d4=this[_0x54b4('0x9')][_0x54b4('0xc')];for(let _0x591a78=0x1;_0x591a78<=_0x5633d4;_0x591a78++)_0x55c8c2['remove'](0x1);for(const _0x4782c1 of _0x55c8c2)_0x4782c1[_0x54b4('0x4')]();_0x5633d4>0x0&&_0x55c8c2['add'](this[_0x54b4('0x9')],0x1),ss(_0x520913(Array['from'](this[_0x54b4('0x26')]),Array[_0x54b4('0x1b')](_0x55c8c2)),this[_0x54b4('0x26')],_0x55c8c2);}[_0x54b4('0x1e')](){ss(_0x520913(Array[_0x54b4('0x1b')](this[_0x54b4('0x26')]),Array[_0x54b4('0x1b')](this['commentViews'])),this['visibleViews'],this[_0x54b4('0x13')]);for(const _0x57a12d of this[_0x54b4('0x26')])_0x57a12d[_0x54b4('0x22')]();}}function ss(_0x47acad,_0x114bd8,_0x105755){let _0x33e616=0x0;for(const _0x3d7e79 of _0x47acad)switch(_0x3d7e79){case'insert':_0x114bd8[_0x54b4('0x7')](_0x105755[_0x54b4('0x28')](_0x33e616),_0x33e616),_0x33e616++;break;case'delete':_0x114bd8[_0x54b4('0x1')](_0x33e616);break;case _0x54b4('0x16'):_0x33e616++;}}
23
+ const _0x3c3c=['createCollection','resolveCommentThread','maxCommentCharsWhenCollapsed','_findOptimalIndex','_rearrangeExpand','destroy','maxThreadTotalWeight','_model','count','ck-thread__comments','length','_shouldCollapse','resolved','hasDirtyComment','stopListening','Marked\x20as\x20resolved','change:isResolved','delete','collapse','some','isActive','set','viewUid','listenTo','remove','bind','add','change:hasDirtyComment','visibleViews','focus','render','element','_updateHasDirtyComment','setTemplate','_config','commentViews','delegate','_calculatePosition','_handleNewCommentModel','editorReady','resolvedAt','weight','from','resolvedCommentView','commentUpdated','authoredAt','_collapsedCommentsView','refreshVisibleViews','CommentView','editorConfig','_rearrangeCollapse','comments','updateComment','_handleInfoComment','resolvedBy','isEditMode','expand','formatDateTime','maxCommentsWhenCollapsed','locale'];(function(_0x433b43,_0x3c3c42){const _0x309c52=function(_0x1b9171){while(--_0x1b9171){_0x433b43['push'](_0x433b43['shift']());}};_0x309c52(++_0x3c3c42);}(_0x3c3c,0x17e));const _0x309c=function(_0x433b43,_0x3c3c42){_0x433b43=_0x433b43-0x0;let _0x309c52=_0x3c3c[_0x433b43];return _0x309c52;};import{View as _0x5b7177}from'ckeditor5/src/ui';import{diff as _0x215d4b,Collection as _0xc21dd0}from'ckeditor5/src/utils';import{getTranslation as _0xbfafa1}from'../../../utils/common-translations';import _0x96f39 from'./collapsedcommentsview';export default class wt extends _0x5b7177{constructor(_0x51de40,_0x2bd769,_0xda45c6){super(_0x51de40),this[_0x309c('0x3b')](_0x309c('0x33'),!0x1),this[_0x309c('0x3b')](_0x309c('0x30'),_0x2bd769[_0x309c('0x1d')][_0x309c('0x30')]),this[_0x309c('0x3b')]('isActive',!0x1),this['_model']=_0x2bd769,this[_0x309c('0xc')]=_0xda45c6,this[_0x309c('0xd')]=this[_0x309c('0x26')](),this[_0x309c('0x6')]=this[_0x309c('0x26')](),this[_0x309c('0x15')]=null,this['_collapsedCommentsView']=new _0x96f39(_0x51de40),this[_0x309c('0x18')][_0x309c('0x3')](_0x309c('0x2e'))['to'](this,'length',_0x4d79fa=>_0x4d79fa-this['_config'][_0x309c('0x24')]);for(const _0x8ae93f of _0x2bd769[_0x309c('0x1d')])this[_0x309c('0x10')](_0x8ae93f);this[_0x309c('0x1f')](),this[_0x309c('0x1')](_0x2bd769[_0x309c('0x1d')],_0x309c('0x4'),(_0x46117a,_0x15beb2)=>{const _0x432f2c=this[_0x309c('0xf')](_0x15beb2);this['length']++,this[_0x309c('0x10')](_0x15beb2,_0x432f2c),this[_0x309c('0x19')]();}),this[_0x309c('0x1')](_0x2bd769[_0x309c('0x1d')],'remove',(_0x5669fe,_0x365cfa)=>{this[_0x309c('0x30')]--,this['_handleRemoveCommentModel'](_0x365cfa),this[_0x309c('0x19')]();}),this['listenTo'](_0x2bd769,_0x309c('0x16'),()=>this[_0x309c('0x19')]()),this[_0x309c('0x1')](_0x2bd769,_0x309c('0x36'),()=>this[_0x309c('0x1f')]()),this['on']('change:isActive',()=>this[_0x309c('0x19')]()),this['on'](_0x309c('0x5'),()=>this['refreshVisibleViews']()),this[_0x309c('0xb')]({'tag':'ul','attributes':{'class':[_0x309c('0x2f')]},'children':this[_0x309c('0x6')]});}get[_0x309c('0x31')](){return this[_0x309c('0x2d')][_0x309c('0x13')]>this['_config'][_0x309c('0x2c')]&&!this[_0x309c('0x3a')]&&!this[_0x309c('0x33')];}[_0x309c('0x8')](){super['render'](),this[_0x309c('0x19')]();}[_0x309c('0x7')](){this[_0x309c('0x9')][_0x309c('0x7')]();}[_0x309c('0x2b')](){this['_collapsedCommentsView'][_0x309c('0x2b')]();for(const _0x4c95a8 of this[_0x309c('0xd')])_0x4c95a8[_0x309c('0x2b')]();super[_0x309c('0x2b')]();}[_0x309c('0x19')](){this[_0x309c('0x31')]?this[_0x309c('0x1c')]():this[_0x309c('0x2a')]();}[_0x309c('0x10')](_0xf81346,_0x3378fa){const _0x3cdf15=new this[(_0x309c('0xc'))][(_0x309c('0x1a'))](this[_0x309c('0x25')],_0xf81346,{'maxCommentCharsWhenCollapsed':this[_0x309c('0xc')][_0x309c('0x28')],'formatDateTime':this[_0x309c('0xc')][_0x309c('0x23')],'editorConfig':this['_config'][_0x309c('0x1b')]});_0x3cdf15[_0x309c('0x0')]=_0xf81346['id'],_0x3cdf15['delegate']('removeComment')['to'](this),_0x3cdf15[_0x309c('0xe')](_0x309c('0x1e'))['to'](this),_0x3cdf15[_0x309c('0xe')](_0x309c('0x27'))['to'](this),_0x3cdf15[_0x309c('0xe')](_0x309c('0x11'))['to'](this),_0x3cdf15['delegate']('editorDestroyed')['to'](this),this['listenTo'](_0x3cdf15,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this['commentViews'][_0x309c('0x4')](_0x3cdf15,_0x3378fa);}[_0x309c('0xf')](_0x4e9bcd){const _0x2d2212=this[_0x309c('0x2d')]['_findOptimalIndex'](_0x4e9bcd);return this[_0x309c('0x15')]?this[_0x309c('0x15')][_0x309c('0x17')]>_0x4e9bcd['authoredAt']?_0x2d2212-0x1:_0x2d2212:_0x2d2212-0x1;}[_0x309c('0x1f')](){if(this['_model'][_0x309c('0x20')]&&this['_model'][_0x309c('0x12')]){const _0x827a29={'id':_0x309c('0x32'),'author':this[_0x309c('0x2d')][_0x309c('0x20')],'authoredAt':this[_0x309c('0x2d')][_0x309c('0x12')],'content':_0xbfafa1(this[_0x309c('0x25')],_0x309c('0x35')),'attributes':{}};this[_0x309c('0x15')]=new this[(_0x309c('0xc'))][(_0x309c('0x1a'))](this[_0x309c('0x25')],_0x827a29,{'maxCommentCharsWhenCollapsed':this[_0x309c('0xc')][_0x309c('0x28')],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config'][_0x309c('0x1b')],'isSystemComment':!0x0}),this[_0x309c('0xd')][_0x309c('0x4')](this[_0x309c('0x15')],this[_0x309c('0x2d')][_0x309c('0x29')](_0x827a29));}else this[_0x309c('0x15')]&&(this[_0x309c('0xd')]['remove'](this[_0x309c('0x15')]),this['resolvedCommentView'][_0x309c('0x2b')](),this[_0x309c('0x15')]=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x25f1c7){const _0x271b19=this[_0x309c('0xd')]['remove'](_0x25f1c7['id']);this[_0x309c('0x34')](_0x271b19),_0x271b19[_0x309c('0x21')]&&this['_updateHasDirtyComment'](),_0x271b19[_0x309c('0x2b')]();}[_0x309c('0xa')](){this[_0x309c('0x33')]=Array[_0x309c('0x14')](this[_0x309c('0xd')])[_0x309c('0x39')](_0x2fc046=>_0x2fc046[_0x309c('0x21')]);}['_rearrangeCollapse'](){const _0x33ccf4=function(_0x3bd4be){const _0x9db8c5=new _0xc21dd0();for(const _0x3bf055 of _0x3bd4be)_0x9db8c5[_0x309c('0x4')](_0x3bf055);return _0x9db8c5;}(this['commentViews']),_0x49e0e7=this[_0x309c('0x18')][_0x309c('0x2e')];for(let _0x2f0b8e=0x1;_0x2f0b8e<=_0x49e0e7;_0x2f0b8e++)_0x33ccf4[_0x309c('0x2')](0x1);for(const _0x187c7b of _0x33ccf4)_0x187c7b[_0x309c('0x38')]();_0x49e0e7>0x0&&_0x33ccf4[_0x309c('0x4')](this[_0x309c('0x18')],0x1),ss(_0x215d4b(Array[_0x309c('0x14')](this[_0x309c('0x6')]),Array[_0x309c('0x14')](_0x33ccf4)),this[_0x309c('0x6')],_0x33ccf4);}[_0x309c('0x2a')](){ss(_0x215d4b(Array[_0x309c('0x14')](this[_0x309c('0x6')]),Array['from'](this[_0x309c('0xd')])),this[_0x309c('0x6')],this[_0x309c('0xd')]);for(const _0x5743f7 of this['visibleViews'])_0x5743f7[_0x309c('0x22')]();}}function ss(_0x1e8276,_0x5146dd,_0x39ea53){let _0x305d95=0x0;for(const _0x9f3c10 of _0x1e8276)switch(_0x9f3c10){case'insert':_0x5146dd[_0x309c('0x4')](_0x39ea53['get'](_0x305d95),_0x305d95),_0x305d95++;break;case _0x309c('0x37'):_0x5146dd[_0x309c('0x2')](_0x305d95);break;case'equal':_0x305d95++;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a0a=['scrollWidth','ck-thread__header','contextValue','bindTemplate','isEnabled','bind','substring','Reopen','isReadOnly','reopenCommentThread','_attachContextActions','isVisible','value','ck-context--quotes','mouseleave','span','render','div','add','ck-context__value','icon','length','setTemplate','_trimContextValue','classList','context','locale','overlay','_model','lastIndexOf','tooltip','listenTo','element','hasContext','Comment\x20was\x20made\x20on\x20an\x20element','...','ck-context','querySelector','offsetWidth','execute'];(function(_0x3d0e04,_0x5a0a23){const _0x27c568=function(_0x42c162){while(--_0x42c162){_0x3d0e04['push'](_0x3d0e04['shift']());}};_0x27c568(++_0x5a0a23);}(_0x5a0a,0x164));const _0x27c5=function(_0x3d0e04,_0x5a0a23){_0x3d0e04=_0x3d0e04-0x0;let _0x27c568=_0x5a0a[_0x3d0e04];return _0x27c568;};import{View as _0x4f955b,ButtonView as _0xedc4a8}from'ckeditor5/src/ui';import{getTranslation as _0x408e4b}from'../../../utils/common-translations';import _0x442a41 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Rt extends _0x4f955b{constructor(_0x1db93e,_0x1bbd03){super(_0x1db93e);const _0x26aa63=this[_0x27c5('0x7')];this['_model']=_0x1bbd03,this['reopenButtonView']=this['_createReopenButton'](),this[_0x27c5('0x9')](_0x27c5('0x25'))['to'](this[_0x27c5('0x20')],_0x27c5('0x1d'),_0x5d7d76=>!!_0x5d7d76),this[_0x27c5('0x9')]('contextValue')['to'](this['_model'],_0x27c5('0x1d'),_0x3c6962=>_0x3c6962&&_0x3c6962[_0x27c5('0x10')]?this[_0x27c5('0x1b')](_0x3c6962[_0x27c5('0x10')]):_0x408e4b(this[_0x27c5('0x1e')],_0x27c5('0x26'))),this[_0x27c5('0x1a')]({'tag':_0x27c5('0x15'),'attributes':{'class':[_0x27c5('0x5')]},'children':[{'tag':_0x27c5('0x15'),'attributes':{'class':['ck-context-wrapper']},'children':[{'tag':'div','attributes':{'class':[_0x27c5('0x0'),_0x26aa63['if'](_0x27c5('0x25'),_0x27c5('0x11'))]},'children':[{'tag':_0x27c5('0x13'),'attributes':{'class':[_0x27c5('0x17')]},'children':[{'text':_0x26aa63['to'](_0x27c5('0x6'))}]}]}]},{'tag':'div','attributes':{'class':['ck-annotation__actions']},'children':[this['reopenButtonView']]}]});}[_0x27c5('0x14')](){super[_0x27c5('0x14')](),this[_0x27c5('0xe')]();}['_createReopenButton'](){const _0x2f64b9=new _0xedc4a8(this[_0x27c5('0x1e')]);return _0x2f64b9['label']=_0x408e4b(this[_0x27c5('0x1e')],_0x27c5('0xb')),_0x2f64b9[_0x27c5('0x22')]=_0x408e4b(this[_0x27c5('0x1e')],_0x27c5('0xb')),_0x2f64b9[_0x27c5('0x18')]=_0x442a41,_0x2f64b9[_0x27c5('0x9')](_0x27c5('0x8'))['to'](this[_0x27c5('0x20')],_0x27c5('0xc'),_0x475868=>!_0x475868),_0x2f64b9['bind'](_0x27c5('0xf'))['to'](this[_0x27c5('0x20')],'isResolvable'),_0x2f64b9['on'](_0x27c5('0x3'),()=>{this['fire'](_0x27c5('0xd'),this['_model']['id']);}),_0x2f64b9;}['_trimContextValue'](_0x22f56b){if(_0x22f56b[_0x27c5('0x19')]<0x96)return _0x22f56b;const _0x398540=_0x22f56b[_0x27c5('0x21')]('\x20',0x93);return _0x22f56b[_0x27c5('0xa')](0x0,_0x398540>-0x1?_0x398540:0x93)+_0x27c5('0x27');}[_0x27c5('0xe')](){const _0x331551=this[_0x27c5('0x24')][_0x27c5('0x1')]('.ck-context'),_0x3920f6=_0x331551[_0x27c5('0x1')]('.ck-context__value');this[_0x27c5('0x23')](_0x331551,'mouseenter',()=>{_0x3920f6[_0x27c5('0x2')]<_0x3920f6[_0x27c5('0x4')]&&_0x331551[_0x27c5('0x1c')][_0x27c5('0x16')](_0x27c5('0x1f'));}),this[_0x27c5('0x23')](_0x331551,_0x27c5('0x12'),()=>{_0x331551['classList']['remove'](_0x27c5('0x1f'));});}}
23
+ const _0x4f8a=['fire','_model','span','length','add','offsetWidth','div','_createReopenButton','lastIndexOf','execute','value','isVisible','Comment\x20was\x20made\x20on\x20an\x20element','ck-context-wrapper','...','mouseenter','_trimContextValue','mouseleave','render','.ck-context__value','bindTemplate','context','setTemplate','isReadOnly','Reopen','element','scrollWidth','_attachContextActions','.ck-context','listenTo','locale','label','ck-context','querySelector','ck-annotation__actions','ck-thread__header','ck-context--quotes','isResolvable','reopenButtonView','overlay','bind','hasContext','substring','contextValue'];(function(_0x722ea2,_0x4f8a56){const _0x12b9b9=function(_0x4b03e6){while(--_0x4b03e6){_0x722ea2['push'](_0x722ea2['shift']());}};_0x12b9b9(++_0x4f8a56);}(_0x4f8a,0x81));const _0x12b9=function(_0x722ea2,_0x4f8a56){_0x722ea2=_0x722ea2-0x0;let _0x12b9b9=_0x4f8a[_0x722ea2];return _0x12b9b9;};import{View as _0x4f9741,ButtonView as _0x3e6a78}from'ckeditor5/src/ui';import{getTranslation as _0x4188de}from'../../../utils/common-translations';import _0x4c185a from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;export default class Rt extends _0x4f9741{constructor(_0x1bde2b,_0x1b1a5d){super(_0x1bde2b);const _0x4bf27f=this[_0x12b9('0x17')];this['_model']=_0x1b1a5d,this[_0x12b9('0x29')]=this[_0x12b9('0xa')](),this[_0x12b9('0x2b')](_0x12b9('0x0'))['to'](this[_0x12b9('0x4')],_0x12b9('0x18'),_0x52eade=>!!_0x52eade),this[_0x12b9('0x2b')]('contextValue')['to'](this[_0x12b9('0x4')],_0x12b9('0x18'),_0x474bbd=>_0x474bbd&&_0x474bbd['value']?this[_0x12b9('0x13')](_0x474bbd[_0x12b9('0xd')]):_0x4188de(this[_0x12b9('0x21')],_0x12b9('0xf'))),this[_0x12b9('0x19')]({'tag':_0x12b9('0x9'),'attributes':{'class':[_0x12b9('0x26')]},'children':[{'tag':_0x12b9('0x9'),'attributes':{'class':[_0x12b9('0x10')]},'children':[{'tag':_0x12b9('0x9'),'attributes':{'class':[_0x12b9('0x23'),_0x4bf27f['if']('hasContext',_0x12b9('0x27'))]},'children':[{'tag':_0x12b9('0x5'),'attributes':{'class':['ck-context__value']},'children':[{'text':_0x4bf27f['to'](_0x12b9('0x2'))}]}]}]},{'tag':_0x12b9('0x9'),'attributes':{'class':[_0x12b9('0x25')]},'children':[this['reopenButtonView']]}]});}[_0x12b9('0x15')](){super[_0x12b9('0x15')](),this['_attachContextActions']();}[_0x12b9('0xa')](){const _0x5b775a=new _0x3e6a78(this['locale']);return _0x5b775a[_0x12b9('0x22')]=_0x4188de(this['locale'],_0x12b9('0x1b')),_0x5b775a['tooltip']=_0x4188de(this[_0x12b9('0x21')],_0x12b9('0x1b')),_0x5b775a['icon']=_0x4c185a,_0x5b775a[_0x12b9('0x2b')]('isEnabled')['to'](this[_0x12b9('0x4')],_0x12b9('0x1a'),_0x3b7b04=>!_0x3b7b04),_0x5b775a[_0x12b9('0x2b')](_0x12b9('0xe'))['to'](this[_0x12b9('0x4')],_0x12b9('0x28')),_0x5b775a['on'](_0x12b9('0xc'),()=>{this[_0x12b9('0x3')]('reopenCommentThread',this['_model']['id']);}),_0x5b775a;}[_0x12b9('0x13')](_0x572507){if(_0x572507[_0x12b9('0x6')]<0x96)return _0x572507;const _0x5e1017=_0x572507[_0x12b9('0xb')]('\x20',0x93);return _0x572507[_0x12b9('0x1')](0x0,_0x5e1017>-0x1?_0x5e1017:0x93)+_0x12b9('0x11');}[_0x12b9('0x1e')](){const _0x52b20d=this[_0x12b9('0x1c')][_0x12b9('0x24')](_0x12b9('0x1f')),_0x3454ea=_0x52b20d[_0x12b9('0x24')](_0x12b9('0x16'));this[_0x12b9('0x20')](_0x52b20d,_0x12b9('0x12'),()=>{_0x3454ea[_0x12b9('0x8')]<_0x3454ea[_0x12b9('0x1d')]&&_0x52b20d['classList'][_0x12b9('0x7')](_0x12b9('0x2a'));}),this['listenTo'](_0x52b20d,_0x12b9('0x14'),()=>{_0x52b20d['classList']['remove'](_0x12b9('0x2a'));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3fe7=['commentInputView','editorDestroyed','editorReady','setTemplate','showButtons','ck-comment__input-container--active','extendTemplate','set','then','userView','focusTracker','value','createEditor','destroy','showInput','delegate','ck-thread__user','ck-thread__input','ck-comment__input-container'];(function(_0x3ba047,_0x3fe7e8){var _0x246d64=function(_0x194814){while(--_0x194814){_0x3ba047['push'](_0x3ba047['shift']());}};_0x246d64(++_0x3fe7e8);}(_0x3fe7,0x15e));var _0x246d=function(_0x3ba047,_0x3fe7e8){_0x3ba047=_0x3ba047-0x0;var _0x246d64=_0x3fe7[_0x3ba047];return _0x246d64;};import{View as _0xc343fc}from'ckeditor5/src/ui';import _0x357896 from'./commentinputview';import{UserView as _0x430c68}from'ckeditor5-collaboration/src/collaboration-core';export default class Ct extends _0xc343fc{constructor(_0x3a717f,_0x117eb4,_0x335859){super(_0x3a717f),this[_0x246d('0xb')]=new _0x357896(_0x3a717f,_0x335859),this[_0x246d('0xb')]['bind'](_0x246d('0xf'))['to'](this[_0x246d('0xb')][_0x246d('0x2')],'isFocused',this['commentInputView'],_0x246d('0x3'),(_0x53e38d,_0x4e24e4)=>_0x53e38d||!!_0x4e24e4),this[_0x246d('0x12')](_0x246d('0x6'),!0x1),this['on']('change:showInput',()=>{this[_0x246d('0x6')]&&!this[_0x246d('0xb')]['editor']&&this[_0x246d('0xb')][_0x246d('0x4')]();}),this[_0x246d('0xb')][_0x246d('0x7')](_0x246d('0xd'))['to'](this),this['commentInputView']['delegate'](_0x246d('0xc'))['to'](this),this[_0x246d('0x1')]=new _0x430c68(_0x3a717f,_0x117eb4),this[_0x246d('0x1')][_0x246d('0x11')]({'attributes':{'class':_0x246d('0x8')}}),this[_0x246d('0xb')]['extendTemplate']({'attributes':{'class':_0x246d('0x9')}}),this[_0x246d('0xe')]({'tag':'div','attributes':{'class':[_0x246d('0xa'),this['bindTemplate']['if']('showInput',_0x246d('0x10'))]},'children':[this[_0x246d('0x1')],this[_0x246d('0xb')]]});}[_0x246d('0x5')](){return this[_0x246d('0xb')]['destroy']()[_0x246d('0x0')](()=>super[_0x246d('0x5')]());}}
23
+ var _0x5850=['bindTemplate','value','editorReady','isFocused','extendTemplate','showInput','focusTracker','setTemplate','commentInputView','showButtons','ck-thread__input','ck-thread__user','editor','bind','userView','delegate','set','editorDestroyed','div','destroy','then','createEditor','ck-comment__input-container--active'];(function(_0x5ac3e6,_0x58501f){var _0x5983de=function(_0x5151d4){while(--_0x5151d4){_0x5ac3e6['push'](_0x5ac3e6['shift']());}};_0x5983de(++_0x58501f);}(_0x5850,0x1e1));var _0x5983=function(_0x5ac3e6,_0x58501f){_0x5ac3e6=_0x5ac3e6-0x0;var _0x5983de=_0x5850[_0x5ac3e6];return _0x5983de;};import{View as _0x2c0688}from'ckeditor5/src/ui';import _0x4687ca from'./commentinputview';import{UserView as _0x251f6b}from'ckeditor5-collaboration/src/collaboration-core';export default class Ct extends _0x2c0688{constructor(_0x18965b,_0x45ada9,_0x20fe7f){super(_0x18965b),this[_0x5983('0xa')]=new _0x4687ca(_0x18965b,_0x20fe7f),this[_0x5983('0xa')][_0x5983('0xf')](_0x5983('0xb'))['to'](this[_0x5983('0xa')][_0x5983('0x8')],_0x5983('0x5'),this[_0x5983('0xa')],_0x5983('0x3'),(_0x508135,_0x3f12f2)=>_0x508135||!!_0x3f12f2),this[_0x5983('0x12')](_0x5983('0x7'),!0x1),this['on']('change:showInput',()=>{this[_0x5983('0x7')]&&!this[_0x5983('0xa')][_0x5983('0xe')]&&this[_0x5983('0xa')][_0x5983('0x0')]();}),this[_0x5983('0xa')]['delegate'](_0x5983('0x4'))['to'](this),this[_0x5983('0xa')][_0x5983('0x11')](_0x5983('0x13'))['to'](this),this[_0x5983('0x10')]=new _0x251f6b(_0x18965b,_0x45ada9),this[_0x5983('0x10')][_0x5983('0x6')]({'attributes':{'class':_0x5983('0xd')}}),this[_0x5983('0xa')]['extendTemplate']({'attributes':{'class':_0x5983('0xc')}}),this[_0x5983('0x9')]({'tag':_0x5983('0x14'),'attributes':{'class':['ck-comment__input-container',this[_0x5983('0x2')]['if']('showInput',_0x5983('0x1'))]},'children':[this[_0x5983('0x10')],this['commentInputView']]});}['destroy'](){return this['commentInputView'][_0x5983('0x15')]()[_0x5983('0x16')](()=>super[_0x5983('0x15')]());}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x403b=['Write\x20a\x20comment...','ck-thread--remove-confirmation','tooltip','_createResolveButton','label','getTemplate','addMany','_boundFirstCommentView','extendTemplate','querySelector','cancelConfirm','isSystemComment','locale','check','listenTo','set','actionIndicator','containerElement','resolveButton','remove','commentsListView','stop','placeholder','isResolved','bind','createCollection','isReadOnly','get','commentThreadChildren','commentThreadInputView','ck-thread--','fire','ck-thread--active','bindTemplate','setTemplate','commentViews','commentThreadHeaderView','change:isReadOnly','ck-thread__container','_model','ck-reset_all-excluded','removeButton','add','actionBar','isResolvable','unbind','.ck-thread__container','change:isResolved','icon','isEnabled','div','execute','Delete\x20comment\x20thread?','showConfirm','Resolve','isActive','render','_cancelAllConfirms'];(function(_0x20cabf,_0x403bdd){const _0x344632=function(_0x525e7b){while(--_0x525e7b){_0x20cabf['push'](_0x20cabf['shift']());}};_0x344632(++_0x403bdd);}(_0x403b,0xed));const _0x3446=function(_0x20cabf,_0x403bdd){_0x20cabf=_0x20cabf-0x0;let _0x344632=_0x403b[_0x20cabf];return _0x344632;};import{ConfirmMixin as _0x4881bc}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x1eb4f0}from'ckeditor5/src/ui';import{icons as _0x264298}from'ckeditor5/src/core';import _0x107d3c from'./basecommentthreadview';import{getTranslation as _0x1f71e3}from'../../../utils/common-translations';export default class lt extends _0x4881bc(_0x107d3c){constructor(_0x292a3a,_0x295bc8,_0x1c1808,_0x119e2a){super(_0x292a3a,_0x295bc8,_0x1c1808,_0x119e2a),this[_0x3446('0x17')]=this[_0x3446('0x14')](),this[_0x3446('0x17')][_0x3446('0x1')]([this[_0x3446('0xf')],this[_0x3446('0x18')]]),this['_model'][_0x3446('0x12')]&&this[_0x3446('0x17')][_0x3446('0x25')](this[_0x3446('0x1f')],0x0),this[_0x3446('0x22')]['on'](_0x3446('0x2a'),(_0x569d59,_0x5efe02,_0x3d1fce)=>{_0x3d1fce?this[_0x3446('0x17')][_0x3446('0x25')](this[_0x3446('0x1f')],0x0):this['commentThreadChildren'][_0x3446('0xe')](this['commentThreadHeaderView']);}),this[_0x3446('0xa')]('actionIndicator',null),this[_0x3446('0xc')]=null,this[_0x3446('0x2')]=null,this[_0x3446('0x7')]=_0x292a3a,this[_0x3446('0xd')]=this[_0x3446('0x38')](),this[_0x3446('0x1d')](this[_0x3446('0x0')]()),this['on']('change:isActive',(_0x7246bc,_0x485928,_0x54166f)=>{_0x54166f||this[_0x3446('0x34')]();}),this[_0x3446('0x9')](this[_0x3446('0x22')],_0x3446('0x20'),(_0x4ef48d,_0x250e5e,_0x14aba1)=>{_0x14aba1&&this[_0x3446('0x34')]();}),this['length']>0x0&&this['_bindFirstCommentView'](),this['listenTo'](this['commentsListView'][_0x3446('0x1e')],'add',()=>{this['_bindFirstCommentView']();});}[_0x3446('0x0')](){const _0x369326=this[_0x3446('0x1c')];return{'tag':_0x3446('0x2d'),'attributes':{'class':['ck-thread',_0x3446('0x23'),_0x369326['if'](_0x3446('0x32'),_0x3446('0x1b')),_0x369326['if']('isConfirm',_0x3446('0x36')),_0x369326['to'](_0x3446('0xb'),_0x36a276=>_0x36a276?_0x3446('0x19')+_0x36a276:'')],'data-thread-id':this[_0x3446('0x22')]['id'],'tabindex':-0x1},'children':[{'tag':_0x3446('0x2d'),'attributes':{'class':_0x3446('0x21')},'children':this['commentThreadChildren']}]};}[_0x3446('0x33')](){super[_0x3446('0x33')](),this[_0x3446('0xc')]=this['element'][_0x3446('0x4')](_0x3446('0x29'));}[_0x3446('0x34')](){this[_0x3446('0x5')]();for(const _0x4477ea of this[_0x3446('0xf')][_0x3446('0x1e')])_0x4477ea[_0x3446('0x5')]();}['_bindFirstCommentView'](){const {locale:_0xdd316e}=this,_0x2c3760=this['commentsListView'][_0x3446('0x1e')][_0x3446('0x16')](0x0);_0x2c3760===this[_0x3446('0x2')]||_0x2c3760[_0x3446('0x6')]||(this[_0x3446('0x2')]=_0x2c3760,this[_0x3446('0x28')](_0x3446('0xb')),this[_0x3446('0x13')](_0x3446('0xb'))['to'](_0x2c3760,_0x3446('0xb'),_0xe4cff8=>_0x3446('0xe')===_0xe4cff8?'remove':null),_0x2c3760[_0x3446('0x11')]=_0x1f71e3(_0xdd316e,_0x3446('0x35')),_0x2c3760[_0x3446('0x24')]['on'](_0x3446('0x2e'),_0x5565f0=>{_0x5565f0[_0x3446('0x10')](),this[_0x3446('0x30')](_0x1f71e3(_0xdd316e,_0x3446('0x2f')),this['containerElement'])['then'](()=>{this[_0x3446('0x1a')]('removeCommentThread');});},{'priority':'high'}),_0x2c3760[_0x3446('0x26')][_0x3446('0x25')](this['resolveButton'],0x0));}[_0x3446('0x38')](){const _0x1f9ff8=new _0x1eb4f0(this[_0x3446('0x7')]);return _0x1f9ff8[_0x3446('0x39')]=_0x1f71e3(this['locale'],_0x3446('0x31')),_0x1f9ff8[_0x3446('0x37')]=_0x1f71e3(this[_0x3446('0x7')],_0x3446('0x31')),_0x1f9ff8[_0x3446('0x2b')]=_0x264298[_0x3446('0x8')],_0x1f9ff8[_0x3446('0x3')]({'attributes':{'class':'ck-comment--resolve'}}),_0x1f9ff8[_0x3446('0x13')](_0x3446('0x2c'))['to'](this[_0x3446('0x22')],_0x3446('0x15'),_0x36b714=>!_0x36b714),_0x1f9ff8['bind']('isVisible')['to'](this[_0x3446('0x22')],_0x3446('0x27'),this[_0x3446('0x22')],'isResolved',(_0x46b272,_0x1246e2)=>_0x46b272&&!_0x1246e2),_0x1f9ff8['on'](_0x3446('0x2e'),()=>{this['fire']('resolveCommentThread',this[_0x3446('0x22')]['id']);}),_0x1f9ff8;}}
23
+ const _0x5e47=['Write\x20a\x20comment...','listenTo','commentThreadInputView','setTemplate','containerElement','change:isResolved','_model','extendTemplate','label','fire','stop','unbind','remove','add','Resolve','isResolved','_cancelAllConfirms','resolveButton','removeButton','render','isActive','ck-thread--active','addMany','actionIndicator','cancelConfirm','element','then','bind','execute','ck-thread__container','set','high','resolveCommentThread','isResolvable','commentThreadChildren','Delete\x20comment\x20thread?','getTemplate','querySelector','div','commentThreadHeaderView','ck-thread--','placeholder','locale','ck-reset_all-excluded','isConfirm','removeCommentThread','tooltip','_boundFirstCommentView','_createResolveButton','createCollection','ck-comment--resolve','bindTemplate','commentViews','commentsListView','.ck-thread__container','get'];(function(_0x41067e,_0x5e4771){const _0x19ba2c=function(_0xa6b3cf){while(--_0xa6b3cf){_0x41067e['push'](_0x41067e['shift']());}};_0x19ba2c(++_0x5e4771);}(_0x5e47,0x75));const _0x19ba=function(_0x41067e,_0x5e4771){_0x41067e=_0x41067e-0x0;let _0x19ba2c=_0x5e47[_0x41067e];return _0x19ba2c;};import{ConfirmMixin as _0x465243}from'ckeditor5-collaboration/src/collaboration-core';import{ButtonView as _0x4e2214}from'ckeditor5/src/ui';import{icons as _0x5570e0}from'ckeditor5/src/core';import _0x1907c6 from'./basecommentthreadview';import{getTranslation as _0x2dc42a}from'../../../utils/common-translations';export default class lt extends _0x465243(_0x1907c6){constructor(_0x207595,_0x2722c8,_0x1f66bb,_0x1b5f10){super(_0x207595,_0x2722c8,_0x1f66bb,_0x1b5f10),this[_0x19ba('0x1d')]=this[_0x19ba('0x2c')](),this[_0x19ba('0x1d')][_0x19ba('0x11')]([this['commentsListView'],this[_0x19ba('0x35')]]),this[_0x19ba('0x1')]['isResolved']&&this[_0x19ba('0x1d')][_0x19ba('0x8')](this[_0x19ba('0x22')],0x0),this[_0x19ba('0x1')]['on'](_0x19ba('0x0'),(_0xffd443,_0x5cc431,_0x5c5f0e)=>{_0x5c5f0e?this[_0x19ba('0x1d')][_0x19ba('0x8')](this['commentThreadHeaderView'],0x0):this[_0x19ba('0x1d')][_0x19ba('0x7')](this['commentThreadHeaderView']);}),this[_0x19ba('0x19')](_0x19ba('0x12'),null),this[_0x19ba('0x37')]=null,this[_0x19ba('0x2a')]=null,this['locale']=_0x207595,this['resolveButton']=this[_0x19ba('0x2b')](),this[_0x19ba('0x36')](this[_0x19ba('0x1f')]()),this['on']('change:isActive',(_0x37b3f2,_0x556053,_0x33f23b)=>{_0x33f23b||this[_0x19ba('0xb')]();}),this[_0x19ba('0x34')](this['_model'],'change:isReadOnly',(_0x29386f,_0x401c15,_0x4f3bab)=>{_0x4f3bab&&this['_cancelAllConfirms']();}),this['length']>0x0&&this['_bindFirstCommentView'](),this[_0x19ba('0x34')](this['commentsListView'][_0x19ba('0x2f')],_0x19ba('0x8'),()=>{this['_bindFirstCommentView']();});}[_0x19ba('0x1f')](){const _0x59ad37=this[_0x19ba('0x2e')];return{'tag':_0x19ba('0x21'),'attributes':{'class':['ck-thread',_0x19ba('0x26'),_0x59ad37['if'](_0x19ba('0xf'),_0x19ba('0x10')),_0x59ad37['if'](_0x19ba('0x27'),'ck-thread--remove-confirmation'),_0x59ad37['to']('actionIndicator',_0x14db84=>_0x14db84?_0x19ba('0x23')+_0x14db84:'')],'data-thread-id':this[_0x19ba('0x1')]['id'],'tabindex':-0x1},'children':[{'tag':_0x19ba('0x21'),'attributes':{'class':_0x19ba('0x18')},'children':this['commentThreadChildren']}]};}[_0x19ba('0xe')](){super[_0x19ba('0xe')](),this[_0x19ba('0x37')]=this[_0x19ba('0x14')][_0x19ba('0x20')](_0x19ba('0x31'));}[_0x19ba('0xb')](){this[_0x19ba('0x13')]();for(const _0x39c460 of this[_0x19ba('0x30')][_0x19ba('0x2f')])_0x39c460['cancelConfirm']();}['_bindFirstCommentView'](){const {locale:_0x5512e7}=this,_0x38cf80=this[_0x19ba('0x30')][_0x19ba('0x2f')][_0x19ba('0x32')](0x0);_0x38cf80===this[_0x19ba('0x2a')]||_0x38cf80['isSystemComment']||(this[_0x19ba('0x2a')]=_0x38cf80,this[_0x19ba('0x6')](_0x19ba('0x12')),this[_0x19ba('0x16')](_0x19ba('0x12'))['to'](_0x38cf80,_0x19ba('0x12'),_0x5a0b14=>'remove'===_0x5a0b14?_0x19ba('0x7'):null),_0x38cf80[_0x19ba('0x24')]=_0x2dc42a(_0x5512e7,_0x19ba('0x33')),_0x38cf80[_0x19ba('0xd')]['on'](_0x19ba('0x17'),_0x2721f6=>{_0x2721f6[_0x19ba('0x5')](),this['showConfirm'](_0x2dc42a(_0x5512e7,_0x19ba('0x1e')),this[_0x19ba('0x37')])[_0x19ba('0x15')](()=>{this[_0x19ba('0x4')](_0x19ba('0x28'));});},{'priority':_0x19ba('0x1a')}),_0x38cf80['actionBar'][_0x19ba('0x8')](this[_0x19ba('0xc')],0x0));}[_0x19ba('0x2b')](){const _0x2b3b9b=new _0x4e2214(this[_0x19ba('0x25')]);return _0x2b3b9b[_0x19ba('0x3')]=_0x2dc42a(this[_0x19ba('0x25')],_0x19ba('0x9')),_0x2b3b9b[_0x19ba('0x29')]=_0x2dc42a(this[_0x19ba('0x25')],'Resolve'),_0x2b3b9b['icon']=_0x5570e0['check'],_0x2b3b9b[_0x19ba('0x2')]({'attributes':{'class':_0x19ba('0x2d')}}),_0x2b3b9b[_0x19ba('0x16')]('isEnabled')['to'](this[_0x19ba('0x1')],'isReadOnly',_0x1e5312=>!_0x1e5312),_0x2b3b9b[_0x19ba('0x16')]('isVisible')['to'](this['_model'],_0x19ba('0x1c'),this[_0x19ba('0x1')],_0x19ba('0xa'),(_0x5a9c6a,_0x555b08)=>_0x5a9c6a&&!_0x555b08),_0x2b3b9b['on'](_0x19ba('0x17'),()=>{this[_0x19ba('0x4')](_0x19ba('0x1b'),this['_model']['id']);}),_0x2b3b9b;}}