@ckeditor/ckeditor5-comments 46.0.0-alpha.2 → 46.0.0-alpha.4
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.
- package/build/comments.js +1 -1
- package/dist/index-editor.css +12 -1
- package/dist/index.css +22 -2
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/theme/annotation.css +2 -2
- package/theme/comment.css +14 -0
- package/theme/commentinput.css +6 -0
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x47ab(_0x33f009,_0x223c1b){const _0x438c88=_0x438c();return _0x47ab=function(_0x47ab5f,_0x1943c5){_0x47ab5f=_0x47ab5f-0xce;let _0x40244e=_0x438c88[_0x47ab5f];return _0x40244e;},_0x47ab(_0x33f009,_0x223c1b);}const _0x5318be=_0x47ab;function _0x438c(){const _0x528363=['ck-hidden','keystrokes','_config','_shouldCollapse','element','formatDateTime','CommentView','5ejrhwu','change:hasDirtyComment','from','70KUguNF','change','_calculatePosition','_handleRemoveCommentModel','editorConfig','2874xYMIvK','Thread\x20comments','1354jjnRXn','removed','change:isActive','772317uACyXM','resolveCommentThread','resolvedAt','change:isEditMode','authoredAt','expand','resolved','editorDestroyed','commentViews','createCollection','arrowup','isEditMode','forEach','maxThreadTotalWeight','collapse','visibleViews','36YEhYHx','includes','3369311jcYeRg','weight','listenTo','_rearrangeCollapse','_handleNewCommentModel','hasDirtyComment','some','editorReady','comments','render','isActive','setTemplate','focusTracker','stopListening','commentUpdated','1053857tYOcFr','ck-thread__comments','1477696tbYegP','4346922vqWcFK','count','resolvedCommentView','insert','updateComment','focusCycler','equal','arrowdown','focus','viewUid','set','locale','destroy','remove','_handleInfoComment','_setupKeyboardNavigation','_rearrangeExpand','delete','removeComment','focusLast','282796vUfKjc','40MxzioR','refreshVisibleViews','length','map','added','reverse','_model','add','bind','maxCommentCharsWhenCollapsed','_updateHasDirtyComment','_collapsedCommentsView','delegate','Marked\x20as\x20resolved','resolvedBy','change:isResolved','bindTemplate','_findOptimalIndex','focusFirst','get','target','maxCommentsWhenCollapsed'];_0x438c=function(){return _0x528363;};return _0x438c();}(function(_0x345c53,_0xbfd738){const _0x638920=_0x47ab,_0x2b1baf=_0x345c53();while(!![]){try{const _0x5f0af9=parseInt(_0x638920(0x10b))/0x1+parseInt(_0x638920(0xd0))/0x2*(-parseInt(_0x638920(0xce))/0x3)+-parseInt(_0x638920(0xf6))/0x4+-parseInt(_0x638920(0x129))/0x5*(-parseInt(_0x638920(0xf7))/0x6)+-parseInt(_0x638920(0xf4))/0x7*(-parseInt(_0x638920(0x10c))/0x8)+parseInt(_0x638920(0xd3))/0x9*(parseInt(_0x638920(0x12c))/0xa)+-parseInt(_0x638920(0xe5))/0xb*(parseInt(_0x638920(0xe3))/0xc);if(_0x5f0af9===_0xbfd738)break;else _0x2b1baf['push'](_0x2b1baf['shift']());}catch(_0x528310){_0x2b1baf['push'](_0x2b1baf['shift']());}}}(_0x438c,0x6779c));import{View as _0x3a5476,FocusCycler as _0x48f1e4}from'ckeditor5/src/ui.js';import{diff as _0xb305ea,Collection as _0x59db30,FocusTracker as _0xbab38e,KeystrokeHandler as _0xdeb0d3}from'ckeditor5/src/utils.js';import{getTranslation as _0x207b1b}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x2bcf8c}from'./collapsedcommentsview.js';export class CommentsListView extends _0x3a5476{[_0x5318be(0xdb)];[_0x5318be(0xf9)];[_0x5318be(0xf1)];[_0x5318be(0x123)];[_0x5318be(0xfc)];[_0x5318be(0x112)];[_0x5318be(0x124)];[_0x5318be(0x117)];constructor(_0x12e9d9,_0x5048fd,_0x262d16){const _0x28c892=_0x5318be;super(_0x12e9d9);const _0x18ed3f=this[_0x28c892(0x11c)];this[_0x28c892(0x101)](_0x28c892(0xea),!0x1),this[_0x28c892(0x101)](_0x28c892(0x10e),_0x5048fd[_0x28c892(0xed)][_0x28c892(0x10e)]),this[_0x28c892(0x101)](_0x28c892(0xef),!0x1),this[_0x28c892(0x112)]=_0x5048fd,this[_0x28c892(0x124)]=_0x262d16,this[_0x28c892(0xdb)]=this[_0x28c892(0xdc)](),this[_0x28c892(0xe2)]=this[_0x28c892(0xdc)](),this[_0x28c892(0xf9)]=null,this[_0x28c892(0xf1)]=new _0xbab38e(),this[_0x28c892(0x123)]=new _0xdeb0d3(),this[_0x28c892(0xfc)]=new _0x48f1e4({'focusables':this[_0x28c892(0xdb)],'focusTracker':this[_0x28c892(0xf1)],'keystrokeHandler':this[_0x28c892(0x123)],'keystrokeHandlerOptions':{'filter':_0x430094=>this[_0x28c892(0xdb)][_0x28c892(0x10f)](_0x1127a4=>_0x1127a4[_0x28c892(0x126)])[_0x28c892(0xe4)](_0x430094[_0x28c892(0x120)])},'actions':{'focusPrevious':_0x28c892(0xdd),'focusNext':_0x28c892(0xfe)}}),this[_0x28c892(0x117)]=new _0x2bcf8c(_0x12e9d9),this[_0x28c892(0x117)][_0x28c892(0x114)](_0x28c892(0xf8))['to'](this,_0x28c892(0x10e),_0xd0fd0a=>_0xd0fd0a-this[_0x28c892(0x124)][_0x28c892(0x121)]);for(const _0x2b0e56 of _0x5048fd[_0x28c892(0xed)])this[_0x28c892(0xe9)](_0x2b0e56);this[_0x28c892(0x105)](),this[_0x28c892(0xe7)](_0x5048fd[_0x28c892(0xed)],_0x28c892(0x113),(_0x348ab9,_0x381102)=>{const _0x4d6aee=_0x28c892,_0x122a1a=this[_0x4d6aee(0x12e)](_0x381102);this[_0x4d6aee(0x10e)]++,this[_0x4d6aee(0xe9)](_0x381102,_0x122a1a),this[_0x4d6aee(0x10d)]();}),this[_0x28c892(0xe7)](_0x5048fd[_0x28c892(0xed)],_0x28c892(0x104),(_0x5ad2e7,_0x7d6e4b)=>{const _0x2bbfbe=_0x28c892;this[_0x2bbfbe(0x10e)]--,this[_0x2bbfbe(0x12f)](_0x7d6e4b),this[_0x2bbfbe(0x10d)]();}),this[_0x28c892(0xe7)](_0x5048fd,_0x28c892(0xf3),()=>this[_0x28c892(0x10d)]()),this[_0x28c892(0xe7)](_0x5048fd,_0x28c892(0x11b),()=>this[_0x28c892(0x105)]()),this['on'](_0x28c892(0xd2),()=>this[_0x28c892(0x10d)]()),this['on'](_0x28c892(0x12a),()=>this[_0x28c892(0x10d)]()),this[_0x28c892(0xf0)]({'tag':'ul','attributes':{'class':[_0x28c892(0xf5),_0x18ed3f['if'](_0x28c892(0x10e),_0x28c892(0x122),_0x3a9c94=>!_0x3a9c94)],'aria-label':_0x207b1b(_0x12e9d9,_0x28c892(0xcf))},'children':this[_0x28c892(0xe2)]});}get[_0x5318be(0x125)](){const _0x1c1fdc=_0x5318be;return this[_0x1c1fdc(0x112)][_0x1c1fdc(0xe6)]>this[_0x1c1fdc(0x124)][_0x1c1fdc(0xe0)]&&!this[_0x1c1fdc(0xef)]&&!this[_0x1c1fdc(0xea)];}[_0x5318be(0xee)](){const _0x50f080=_0x5318be;super[_0x50f080(0xee)](),this[_0x50f080(0x10d)](),this[_0x50f080(0x106)]();}[_0x5318be(0xff)](_0x506396){const _0x7c4883=_0x5318be;-0x1===_0x506396?this[_0x7c4883(0xfc)][_0x7c4883(0x10a)]():this[_0x7c4883(0xfc)][_0x7c4883(0x11e)]();}[_0x5318be(0x103)](){const _0x2e9eb5=_0x5318be;this[_0x2e9eb5(0x117)][_0x2e9eb5(0x103)]();for(const _0x5a6f4a of this[_0x2e9eb5(0xdb)])_0x5a6f4a[_0x2e9eb5(0x103)]();super[_0x2e9eb5(0x103)]();}[_0x5318be(0x10d)](){const _0x13c994=_0x5318be;this[_0x13c994(0x125)]?this[_0x13c994(0xe8)]():this[_0x13c994(0x107)]();}[_0x5318be(0xe9)](_0x4a2ada,_0x1fbdd0){const _0x140ec2=_0x5318be,_0x468683=new this[(_0x140ec2(0x124))][(_0x140ec2(0x128))](this[_0x140ec2(0x102)],_0x4a2ada,{'maxCommentCharsWhenCollapsed':this[_0x140ec2(0x124)][_0x140ec2(0x115)],'formatDateTime':this[_0x140ec2(0x124)][_0x140ec2(0x127)],'editorConfig':this[_0x140ec2(0x124)][_0x140ec2(0x130)]});_0x468683[_0x140ec2(0x100)]=_0x4a2ada['id'],_0x468683[_0x140ec2(0x118)](_0x140ec2(0x109))['to'](this),_0x468683[_0x140ec2(0x118)](_0x140ec2(0xfb))['to'](this),_0x468683[_0x140ec2(0x118)](_0x140ec2(0xd4))['to'](this),_0x468683[_0x140ec2(0x118)](_0x140ec2(0xec))['to'](this),_0x468683[_0x140ec2(0x118)](_0x140ec2(0xda))['to'](this),this[_0x140ec2(0xe7)](_0x468683,_0x140ec2(0xd6),()=>this[_0x140ec2(0x116)]()),this[_0x140ec2(0xdb)][_0x140ec2(0x113)](_0x468683,_0x1fbdd0);}[_0x5318be(0x12e)](_0x51895b){const _0x239260=_0x5318be,_0x130ee2=this[_0x239260(0x112)][_0x239260(0x11d)](_0x51895b);return this[_0x239260(0xf9)]?this[_0x239260(0xf9)][_0x239260(0xd7)]>_0x51895b[_0x239260(0xd7)]?_0x130ee2-0x1:_0x130ee2:_0x130ee2-0x1;}[_0x5318be(0x105)](){const _0x23e288=_0x5318be;if(this[_0x23e288(0x112)][_0x23e288(0x11a)]&&this[_0x23e288(0x112)][_0x23e288(0xd5)]){const _0x2fffb0={'id':_0x23e288(0xd9),'author':this[_0x23e288(0x112)][_0x23e288(0x11a)],'authoredAt':this[_0x23e288(0x112)][_0x23e288(0xd5)],'content':_0x207b1b(this[_0x23e288(0x102)],_0x23e288(0x119)),'attributes':{}};this[_0x23e288(0xf9)]=new this[(_0x23e288(0x124))][(_0x23e288(0x128))](this[_0x23e288(0x102)],_0x2fffb0,{'maxCommentCharsWhenCollapsed':this[_0x23e288(0x124)][_0x23e288(0x115)],'formatDateTime':this[_0x23e288(0x124)][_0x23e288(0x127)],'editorConfig':this[_0x23e288(0x124)][_0x23e288(0x130)],'isSystemComment':!0x0}),this[_0x23e288(0xdb)][_0x23e288(0x113)](this[_0x23e288(0xf9)],this[_0x23e288(0x112)][_0x23e288(0x11d)](_0x2fffb0));}else this[_0x23e288(0xf9)]&&(this[_0x23e288(0xdb)][_0x23e288(0x104)](this[_0x23e288(0xf9)]),this[_0x23e288(0xf9)][_0x23e288(0x103)](),this[_0x23e288(0xf9)]=null);this[_0x23e288(0x10d)]();}[_0x5318be(0x12f)](_0x100ad5){const _0x8a9109=_0x5318be,_0x441742=this[_0x8a9109(0xdb)][_0x8a9109(0x104)](_0x100ad5['id']);this[_0x8a9109(0xf2)](_0x441742),_0x441742[_0x8a9109(0xde)]&&this[_0x8a9109(0x116)](),_0x441742[_0x8a9109(0x103)]();}[_0x5318be(0x116)](){const _0x4940e2=_0x5318be;this[_0x4940e2(0xea)]=Array[_0x4940e2(0x12b)](this[_0x4940e2(0xdb)])[_0x4940e2(0xeb)](_0x22eb8a=>_0x22eb8a[_0x4940e2(0xde)]);}[_0x5318be(0xe8)](){const _0x3fdc83=_0x5318be,_0x38c864=function(_0x8e018c){const _0x331022=_0x47ab,_0x45eb30=new _0x59db30();for(const _0x276369 of _0x8e018c)_0x45eb30[_0x331022(0x113)](_0x276369);return _0x45eb30;}(this[_0x3fdc83(0xdb)]),_0x445002=this[_0x3fdc83(0x117)][_0x3fdc83(0xf8)];for(let _0x476ca4=0x1;_0x476ca4<=_0x445002;_0x476ca4++)_0x38c864[_0x3fdc83(0x104)](0x1);for(const _0x142b26 of _0x38c864)_0x142b26[_0x3fdc83(0xe1)]();_0x445002>0x0&&_0x38c864[_0x3fdc83(0x113)](this[_0x3fdc83(0x117)],0x1),rs(_0xb305ea(Array[_0x3fdc83(0x12b)](this[_0x3fdc83(0xe2)]),Array[_0x3fdc83(0x12b)](_0x38c864)),this[_0x3fdc83(0xe2)],_0x38c864);}[_0x5318be(0x107)](){const _0x268a2f=_0x5318be;rs(_0xb305ea(Array[_0x268a2f(0x12b)](this[_0x268a2f(0xe2)]),Array[_0x268a2f(0x12b)](this[_0x268a2f(0xdb)])),this[_0x268a2f(0xe2)],this[_0x268a2f(0xdb)]);for(const _0x3bf8ee of this[_0x268a2f(0xe2)])_0x3bf8ee[_0x268a2f(0xd8)]();}[_0x5318be(0x106)](){const _0x118908=_0x5318be;this[_0x118908(0xdb)][_0x118908(0xdf)](_0x47f6b3=>{const _0x752ffb=_0x118908;this[_0x752ffb(0xf1)][_0x752ffb(0x113)](_0x47f6b3[_0x752ffb(0x126)]),this[_0x752ffb(0x123)][_0x752ffb(0xe7)](_0x47f6b3[_0x752ffb(0x126)]);}),this[_0x118908(0xdb)]['on'](_0x118908(0x12d),(_0x3f58fa,_0x2046f1)=>{const _0x11a0af=_0x118908;for(const _0x51b690 of _0x2046f1[_0x11a0af(0xd1)])this[_0x11a0af(0xf1)][_0x11a0af(0x104)](_0x51b690[_0x11a0af(0x126)]),this[_0x11a0af(0x123)][_0x11a0af(0xf2)](_0x51b690[_0x11a0af(0x126)]);for(const _0x1aeb2f of Array[_0x11a0af(0x12b)](_0x2046f1[_0x11a0af(0x110)])[_0x11a0af(0x111)]())this[_0x11a0af(0xf1)][_0x11a0af(0x113)](_0x1aeb2f[_0x11a0af(0x126)]),this[_0x11a0af(0x123)][_0x11a0af(0xe7)](_0x1aeb2f[_0x11a0af(0x126)]);});}}function rs(_0x42d318,_0xf774ea,_0x586741){const _0x3dc078=_0x5318be;let _0x99f9a=0x0;for(const _0x4a72c0 of _0x42d318)switch(_0x4a72c0){case _0x3dc078(0xfa):_0xf774ea[_0x3dc078(0x113)](_0x586741[_0x3dc078(0x11f)](_0x99f9a),_0x99f9a),_0x99f9a++;break;case _0x3dc078(0x108):_0xf774ea[_0x3dc078(0x104)](_0x99f9a);break;case _0x3dc078(0xfd):_0x99f9a++;}}
|
|
23
|
+
const _0xb06820=_0x2a9a;(function(_0x1c7e1a,_0x54aa86){const _0x1cdda3=_0x2a9a,_0x361b43=_0x1c7e1a();while(!![]){try{const _0x30f76b=parseInt(_0x1cdda3(0xc3))/0x1*(parseInt(_0x1cdda3(0xb0))/0x2)+parseInt(_0x1cdda3(0xaa))/0x3+-parseInt(_0x1cdda3(0xdc))/0x4*(parseInt(_0x1cdda3(0xb1))/0x5)+-parseInt(_0x1cdda3(0xae))/0x6+-parseInt(_0x1cdda3(0xd6))/0x7+-parseInt(_0x1cdda3(0x9d))/0x8+-parseInt(_0x1cdda3(0xdd))/0x9*(-parseInt(_0x1cdda3(0xaf))/0xa);if(_0x30f76b===_0x54aa86)break;else _0x361b43['push'](_0x361b43['shift']());}catch(_0x30db6c){_0x361b43['push'](_0x361b43['shift']());}}}(_0x4a07,0xe2597));import{View as _0x4365b6,FocusCycler as _0x5e8eb2}from'ckeditor5/src/ui.js';function _0x2a9a(_0xbe20d6,_0x4167c0){const _0x4a07bb=_0x4a07();return _0x2a9a=function(_0x2a9a96,_0x9d6929){_0x2a9a96=_0x2a9a96-0x99;let _0x2d342b=_0x4a07bb[_0x2a9a96];return _0x2d342b;},_0x2a9a(_0xbe20d6,_0x4167c0);}import{diff as _0x42cc5f,Collection as _0x1595b0,FocusTracker as _0x4bb920,KeystrokeHandler as _0x2aa925}from'ckeditor5/src/utils.js';import{getTranslation as _0x5ab266}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x25970b}from'./collapsedcommentsview.js';export class CommentsListView extends _0x4365b6{[_0xb06820(0xb5)];[_0xb06820(0xba)];[_0xb06820(0xe1)];[_0xb06820(0x9f)];[_0xb06820(0xa0)];[_0xb06820(0xe4)];[_0xb06820(0xcc)];[_0xb06820(0xd9)];constructor(_0x5872eb,_0x59bedd,_0x429b40){const _0x22afd2=_0xb06820;super(_0x5872eb);const _0x54adc4=this[_0x22afd2(0xc9)];this[_0x22afd2(0xc0)](_0x22afd2(0xa2),!0x1),this[_0x22afd2(0xc0)](_0x22afd2(0xab),_0x59bedd[_0x22afd2(0xc8)][_0x22afd2(0xab)]),this[_0x22afd2(0xc0)](_0x22afd2(0xd5),!0x1),this[_0x22afd2(0xe4)]=_0x59bedd,this[_0x22afd2(0xcc)]=_0x429b40,this[_0x22afd2(0xb5)]=this[_0x22afd2(0xca)](),this[_0x22afd2(0xf0)]=this[_0x22afd2(0xca)](),this[_0x22afd2(0xba)]=null,this[_0x22afd2(0xe1)]=new _0x4bb920(),this[_0x22afd2(0x9f)]=new _0x2aa925(),this[_0x22afd2(0xa0)]=new _0x5e8eb2({'focusables':this[_0x22afd2(0xb5)],'focusTracker':this[_0x22afd2(0xe1)],'keystrokeHandler':this[_0x22afd2(0x9f)],'keystrokeHandlerOptions':{'filter':_0x305710=>this[_0x22afd2(0xb5)][_0x22afd2(0xb3)](_0xa3d8f0=>_0xa3d8f0[_0x22afd2(0xb4)])[_0x22afd2(0x99)](_0x305710[_0x22afd2(0xc4)])},'actions':{'focusPrevious':_0x22afd2(0xde),'focusNext':_0x22afd2(0xce)}}),this[_0x22afd2(0xd9)]=new _0x25970b(_0x5872eb),this[_0x22afd2(0xd9)][_0x22afd2(0xd1)](_0x22afd2(0xa8))['to'](this,_0x22afd2(0xab),_0x241a38=>_0x241a38-this[_0x22afd2(0xcc)][_0x22afd2(0xa4)]);for(const _0x48b84e of _0x59bedd[_0x22afd2(0xc8)])this[_0x22afd2(0xa3)](_0x48b84e);this[_0x22afd2(0xb6)](),this[_0x22afd2(0xcd)](_0x59bedd[_0x22afd2(0xc8)],_0x22afd2(0x9b),(_0x5e534a,_0x289934)=>{const _0x4b3725=_0x22afd2,_0x3213fa=this[_0x4b3725(0xc5)](_0x289934);this[_0x4b3725(0xab)]++,this[_0x4b3725(0xa3)](_0x289934,_0x3213fa),this[_0x4b3725(0xb2)]();}),this[_0x22afd2(0xcd)](_0x59bedd[_0x22afd2(0xc8)],_0x22afd2(0xf5),(_0x259e37,_0x5c534e)=>{const _0x35236f=_0x22afd2;this[_0x35236f(0xab)]--,this[_0x35236f(0x9a)](_0x5c534e),this[_0x35236f(0xb2)]();}),this[_0x22afd2(0xcd)](_0x59bedd,_0x22afd2(0x9c),()=>this[_0x22afd2(0xb2)]()),this[_0x22afd2(0xcd)](_0x59bedd,_0x22afd2(0xa7),()=>this[_0x22afd2(0xb6)]()),this['on'](_0x22afd2(0xda),()=>this[_0x22afd2(0xb2)]()),this['on'](_0x22afd2(0xf9),()=>this[_0x22afd2(0xb2)]()),this[_0x22afd2(0xef)]({'tag':'ul','attributes':{'class':[_0x22afd2(0xf7),_0x54adc4['if'](_0x22afd2(0xab),_0x22afd2(0xe7),_0x5bcfc8=>!_0x5bcfc8)],'aria-label':_0x5ab266(_0x5872eb,_0x22afd2(0xa5))},'children':this[_0x22afd2(0xf0)]});}get[_0xb06820(0xbe)](){const _0x14e821=_0xb06820;return this[_0x14e821(0xe4)][_0x14e821(0xbc)]>this[_0x14e821(0xcc)][_0x14e821(0xf4)]&&!this[_0x14e821(0xd5)]&&!this[_0x14e821(0xa2)];}[_0xb06820(0xf3)](){const _0x1bdbd0=_0xb06820;super[_0x1bdbd0(0xf3)](),this[_0x1bdbd0(0xb2)](),this[_0x1bdbd0(0xb8)]();}[_0xb06820(0xea)](_0x7e98c9){const _0x7bf449=_0xb06820;-0x1===_0x7e98c9?this[_0x7bf449(0xa0)][_0x7bf449(0xcf)]():this[_0x7bf449(0xa0)][_0x7bf449(0xe9)]();}[_0xb06820(0xad)](){const _0x2f02ca=_0xb06820;this[_0x2f02ca(0xd9)][_0x2f02ca(0xad)]();for(const _0x5547a1 of this[_0x2f02ca(0xb5)])_0x5547a1[_0x2f02ca(0xad)]();super[_0x2f02ca(0xad)]();}[_0xb06820(0xb2)](){const _0x32fcec=_0xb06820;this[_0x32fcec(0xbe)]?this[_0x32fcec(0xd8)]():this[_0x32fcec(0xe0)]();}[_0xb06820(0xa3)](_0x54f10a,_0x483095){const _0x11c96e=_0xb06820,_0x4f8257=new this[(_0x11c96e(0xcc))][(_0x11c96e(0xd0))](this[_0x11c96e(0xa1)],_0x54f10a,{'maxCommentCharsWhenCollapsed':this[_0x11c96e(0xcc)][_0x11c96e(0xdb)],'formatDateTime':this[_0x11c96e(0xcc)][_0x11c96e(0xc2)],'editorConfig':this[_0x11c96e(0xcc)][_0x11c96e(0xd2)]});_0x4f8257[_0x11c96e(0xf8)]=_0x54f10a['id'],_0x4f8257[_0x11c96e(0xf2)](_0x11c96e(0xbf))['to'](this),_0x4f8257[_0x11c96e(0xf2)](_0x11c96e(0xa6))['to'](this),_0x4f8257[_0x11c96e(0xf2)](_0x11c96e(0xc6))['to'](this),_0x4f8257[_0x11c96e(0xf2)](_0x11c96e(0x9e))['to'](this),_0x4f8257[_0x11c96e(0xf2)](_0x11c96e(0xbd))['to'](this),this[_0x11c96e(0xcd)](_0x4f8257,_0x11c96e(0xd4),()=>this[_0x11c96e(0xec)]()),this[_0x11c96e(0xb5)][_0x11c96e(0x9b)](_0x4f8257,_0x483095);}[_0xb06820(0xc5)](_0x2b31f1){const _0x2d20d9=_0xb06820,_0x4f7874=this[_0x2d20d9(0xe4)][_0x2d20d9(0xd3)](_0x2b31f1);return this[_0x2d20d9(0xba)]?this[_0x2d20d9(0xba)][_0x2d20d9(0xc1)]>_0x2b31f1[_0x2d20d9(0xc1)]?_0x4f7874-0x1:_0x4f7874:_0x4f7874-0x1;}[_0xb06820(0xb6)](){const _0x4478c0=_0xb06820;if(this[_0x4478c0(0xe4)][_0x4478c0(0xf1)]&&this[_0x4478c0(0xe4)][_0x4478c0(0xac)]){const _0x2dc1a0={'id':_0x4478c0(0xee),'author':this[_0x4478c0(0xe4)][_0x4478c0(0xf1)],'authoredAt':this[_0x4478c0(0xe4)][_0x4478c0(0xac)],'content':_0x5ab266(this[_0x4478c0(0xa1)],_0x4478c0(0xc7)),'attributes':{}};this[_0x4478c0(0xba)]=new this[(_0x4478c0(0xcc))][(_0x4478c0(0xd0))](this[_0x4478c0(0xa1)],_0x2dc1a0,{'maxCommentCharsWhenCollapsed':this[_0x4478c0(0xcc)][_0x4478c0(0xdb)],'formatDateTime':this[_0x4478c0(0xcc)][_0x4478c0(0xc2)],'editorConfig':this[_0x4478c0(0xcc)][_0x4478c0(0xd2)],'isSystemComment':!0x0}),this[_0x4478c0(0xb5)][_0x4478c0(0x9b)](this[_0x4478c0(0xba)],this[_0x4478c0(0xe4)][_0x4478c0(0xd3)](_0x2dc1a0));}else this[_0x4478c0(0xba)]&&(this[_0x4478c0(0xb5)][_0x4478c0(0xf5)](this[_0x4478c0(0xba)]),this[_0x4478c0(0xba)][_0x4478c0(0xad)](),this[_0x4478c0(0xba)]=null);this[_0x4478c0(0xb2)]();}[_0xb06820(0x9a)](_0x4f19a2){const _0x24ef1b=_0xb06820,_0x23b95f=this[_0x24ef1b(0xb5)][_0x24ef1b(0xf5)](_0x4f19a2['id']);this[_0x24ef1b(0xb7)](_0x23b95f),_0x23b95f[_0x24ef1b(0xbb)]&&this[_0x24ef1b(0xec)](),_0x23b95f[_0x24ef1b(0xad)]();}[_0xb06820(0xec)](){const _0x47968c=_0xb06820;this[_0x47968c(0xa2)]=Array[_0x47968c(0xe2)](this[_0x47968c(0xb5)])[_0x47968c(0xe8)](_0x4fa24e=>_0x4fa24e[_0x47968c(0xbb)]);}[_0xb06820(0xd8)](){const _0x2f0f5b=_0xb06820,_0x19d9a2=function(_0x5118ac){const _0x5be4c4=_0x2a9a,_0x48571e=new _0x1595b0();for(const _0x190655 of _0x5118ac)_0x48571e[_0x5be4c4(0x9b)](_0x190655);return _0x48571e;}(this[_0x2f0f5b(0xb5)]),_0x2da6bc=this[_0x2f0f5b(0xd9)][_0x2f0f5b(0xa8)];for(let _0x38d3ca=0x1;_0x38d3ca<=_0x2da6bc;_0x38d3ca++)_0x19d9a2[_0x2f0f5b(0xf5)](0x1);for(const _0x1cd01e of _0x19d9a2)_0x1cd01e[_0x2f0f5b(0xeb)]();_0x2da6bc>0x0&&_0x19d9a2[_0x2f0f5b(0x9b)](this[_0x2f0f5b(0xd9)],0x1),rs(_0x42cc5f(Array[_0x2f0f5b(0xe2)](this[_0x2f0f5b(0xf0)]),Array[_0x2f0f5b(0xe2)](_0x19d9a2)),this[_0x2f0f5b(0xf0)],_0x19d9a2);}[_0xb06820(0xe0)](){const _0x5200aa=_0xb06820;rs(_0x42cc5f(Array[_0x5200aa(0xe2)](this[_0x5200aa(0xf0)]),Array[_0x5200aa(0xe2)](this[_0x5200aa(0xb5)])),this[_0x5200aa(0xf0)],this[_0x5200aa(0xb5)]);for(const _0x2eecc9 of this[_0x5200aa(0xf0)])_0x2eecc9[_0x5200aa(0xdf)]();}[_0xb06820(0xb8)](){const _0x12a5eb=_0xb06820;this[_0x12a5eb(0xb5)][_0x12a5eb(0xd7)](_0x3e7935=>{const _0x53e540=_0x12a5eb;this[_0x53e540(0xe1)][_0x53e540(0x9b)](_0x3e7935[_0x53e540(0xb4)]),this[_0x53e540(0x9f)][_0x53e540(0xcd)](_0x3e7935[_0x53e540(0xb4)]);}),this[_0x12a5eb(0xb5)]['on'](_0x12a5eb(0xb9),(_0x3a1eb5,_0xb086bc)=>{const _0x2ad9c2=_0x12a5eb;for(const _0x1cfc11 of _0xb086bc[_0x2ad9c2(0xed)])this[_0x2ad9c2(0xe1)][_0x2ad9c2(0xf5)](_0x1cfc11[_0x2ad9c2(0xb4)]),this[_0x2ad9c2(0x9f)][_0x2ad9c2(0xb7)](_0x1cfc11[_0x2ad9c2(0xb4)]);for(const _0x29314b of Array[_0x2ad9c2(0xe2)](_0xb086bc[_0x2ad9c2(0xe3)])[_0x2ad9c2(0xe6)]())this[_0x2ad9c2(0xe1)][_0x2ad9c2(0x9b)](_0x29314b[_0x2ad9c2(0xb4)]),this[_0x2ad9c2(0x9f)][_0x2ad9c2(0xcd)](_0x29314b[_0x2ad9c2(0xb4)]);});}}function _0x4a07(){const _0x2f17e4=['_rearrangeExpand','focusTracker','from','added','_model','get','reverse','ck-hidden','some','focusFirst','focus','collapse','_updateHasDirtyComment','removed','resolved','setTemplate','visibleViews','resolvedBy','delegate','render','maxThreadTotalWeight','remove','insert','ck-thread__comments','viewUid','change:hasDirtyComment','includes','_handleRemoveCommentModel','add','commentUpdated','12299256xkxvtP','editorReady','keystrokes','focusCycler','locale','hasDirtyComment','_handleNewCommentModel','maxCommentsWhenCollapsed','Thread\x20comments','updateComment','change:isResolved','count','delete','1629957eNCxEl','length','resolvedAt','destroy','2322156bAqHwV','55430020mZWLCd','2oCQggV','175LLthlF','refreshVisibleViews','map','element','commentViews','_handleInfoComment','stopListening','_setupKeyboardNavigation','change','resolvedCommentView','isEditMode','weight','editorDestroyed','_shouldCollapse','removeComment','set','authoredAt','formatDateTime','352939PQbAyf','target','_calculatePosition','resolveCommentThread','Marked\x20as\x20resolved','comments','bindTemplate','createCollection','equal','_config','listenTo','arrowdown','focusLast','CommentView','bind','editorConfig','_findOptimalIndex','change:isEditMode','isActive','12154625ozvTvB','forEach','_rearrangeCollapse','_collapsedCommentsView','change:isActive','maxCommentCharsWhenCollapsed','211580PFhbbD','9GPgvEQ','arrowup','expand'];_0x4a07=function(){return _0x2f17e4;};return _0x4a07();}function rs(_0x5047c4,_0xc12568,_0x12ef5c){const _0x1a6c94=_0xb06820;let _0x4982e7=0x0;for(const _0x516e7f of _0x5047c4)switch(_0x516e7f){case _0x1a6c94(0xf6):_0xc12568[_0x1a6c94(0x9b)](_0x12ef5c[_0x1a6c94(0xe5)](_0x4982e7),_0x4982e7),_0x4982e7++;break;case _0x1a6c94(0xa9):_0xc12568[_0x1a6c94(0xf5)](_0x4982e7);break;case _0x1a6c94(0xcb):_0x4982e7++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x42722e=_0x12b3;(function(_0x4d67b7,_0x232ea6){const _0x13ae61=_0x12b3,_0x327201=_0x4d67b7();while(!![]){try{const _0xd811d=-parseInt(_0x13ae61(0x7f))/0x1+-parseInt(_0x13ae61(0x8b))/0x2+-parseInt(_0x13ae61(0x8a))/0x3+-parseInt(_0x13ae61(0x80))/0x4*(parseInt(_0x13ae61(0x85))/0x5)+-parseInt(_0x13ae61(0x7e))/0x6+-parseInt(_0x13ae61(0x88))/0x7+parseInt(_0x13ae61(0x84))/0x8*(parseInt(_0x13ae61(0x81))/0x9);if(_0xd811d===_0x232ea6)break;else _0x327201['push'](_0x327201['shift']());}catch(_0x2dce0e){_0x327201['push'](_0x327201['shift']());}}}(_0x4cfb,0xae603));function _0x4cfb(){const _0x4e7107=['8CeSgyv','33722982cerYtE','bindTemplate','THREAD_CONTEXT_LABEL','8lglpyD','1978595wEGvLN','focus','contextValue','2160011pmYGBW','span','553314hiZoZX','2393614vKLalu','setTemplate','set','ck-context__value','element','1691748PWGIcV','269541xQjuHz'];_0x4cfb=function(){return _0x4e7107;};return _0x4cfb();}import{View as _0x390ef7}from'ckeditor5/src/ui.js';import{getTranslation as _0x599b46}from'../../../utils/common-translations.js';function _0x12b3(_0x45c8b1,_0x417c0e){const _0x4cfbce=_0x4cfb();return _0x12b3=function(_0x12b387,_0x40e362){_0x12b387=_0x12b387-0x7e;let _0x14ed71=_0x4cfbce[_0x12b387];return _0x14ed71;},_0x12b3(_0x45c8b1,_0x417c0e);}export class CommentThreadHeaderContextView extends _0x390ef7{constructor(_0xc4956){const _0x19b487=_0x12b3;super(_0xc4956);const _0x22b515=this[_0x19b487(0x82)];this[_0x19b487(0x8d)](_0x19b487(0x87),''),this[_0x19b487(0x8c)]({'tag':_0x19b487(0x89),'attributes':{'class':['ck',_0x19b487(0x8e)],'aria-label':_0x22b515['to'](_0x19b487(0x87),_0x40abd3=>_0x599b46(_0xc4956,_0x19b487(0x83),_0x40abd3)),'tabindex':-0x1},'children':[{'text':_0x22b515['to'](_0x19b487(0x87))}]});}[_0x42722e(0x86)](){const _0x5471f5=_0x42722e;this[_0x5471f5(0x8f)][_0x5471f5(0x86)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1918(){const _0xdc7908=['isResolvable','.ck-context__value','2143904zzVFHO','render','.ck-context','keystrokes','ck-context','bind','...','scrollWidth','_model','substring','offsetWidth','_setupKeyboardNavigation','tooltip','icon','contextView','isReadOnly','3661659bXSXDk','div','mouseleave','hasContext','ck-context-wrapper','_createContextView','ck-thread__header','bindTemplate','Reopen','_trimContextValue','listenTo','focusCycler','classList','1387540ZuhHio','setTemplate','196AyWqYs','label','focusFirst','fire','context','focusables','length','ck-context--quotes','4001496vSvdXi','reopenCommentThread','isResolved','overlay','ck-annotation__actions','isEnabled','shift+tab','element','focus','lastIndexOf','createCollection','locale','value','reopenButtonView','mouseenter','12126jCwzgj','contextValue','add','_createReopenButton','_attachContextActions','execute','querySelector','isVisible','Comment\x20was\x20made\x20on\x20an\x20element','focusTracker','remove','643440uRqPJG','tab','716196XfwKeP'];_0x1918=function(){return _0xdc7908;};return _0x1918();}const _0x18168d=_0x5b09;(function(_0x37699d,_0x1adcd8){const _0x2cbb18=_0x5b09,_0x168ae0=_0x37699d();while(!![]){try{const _0x5531d2=-parseInt(_0x2cbb18(0xb2))/0x1*(-parseInt(_0x2cbb18(0xc9))/0x2)+-parseInt(_0x2cbb18(0xe9))/0x3+parseInt(_0x2cbb18(0xd4))/0x4+parseInt(_0x2cbb18(0xb0))/0x5+parseInt(_0x2cbb18(0xd6))/0x6+-parseInt(_0x2cbb18(0xd9))/0x7+parseInt(_0x2cbb18(0xba))/0x8;if(_0x5531d2===_0x1adcd8)break;else _0x168ae0['push'](_0x168ae0['shift']());}catch(_0x1c7537){_0x168ae0['push'](_0x168ae0['shift']());}}}(_0x1918,0xafa54));import{View as _0x35f66e,ButtonView as _0x4ec9e4,FocusCycler as _0xc0ad54}from'ckeditor5/src/ui.js';import{FocusTracker as _0x18732f,KeystrokeHandler as _0x46e05a}from'ckeditor5/src/utils.js';function _0x5b09(_0x2c0bea,_0x4b5608){const _0x1918cb=_0x1918();return _0x5b09=function(_0x5b092d,_0x186697){_0x5b092d=_0x5b092d-0xa8;let _0x29d6e9=_0x1918cb[_0x5b092d];return _0x29d6e9;},_0x5b09(_0x2c0bea,_0x4b5608);}import{IconUndo as _0x1721d2}from'ckeditor5/src/icons.js';import{getTranslation as _0x45449a}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x1000a2}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x35f66e{[_0x18168d(0xe1)];[_0x18168d(0xc7)];[_0x18168d(0xe7)];[_0x18168d(0xb7)];[_0x18168d(0xd2)];[_0x18168d(0xdc)];[_0x18168d(0xae)];constructor(_0x572273,_0x7b66f8){const _0x2ea124=_0x18168d;super(_0x572273);const _0x27d65e=this[_0x2ea124(0xaa)];this[_0x2ea124(0xe1)]=_0x7b66f8,this[_0x2ea124(0xc7)]=this[_0x2ea124(0xcc)](),this[_0x2ea124(0xe7)]=this[_0x2ea124(0xa8)](),this[_0x2ea124(0xb7)]=this[_0x2ea124(0xc4)]([this[_0x2ea124(0xe7)],this[_0x2ea124(0xc7)]]),this[_0x2ea124(0xd2)]=new _0x18732f(),this[_0x2ea124(0xdc)]=new _0x46e05a(),this[_0x2ea124(0xae)]=new _0xc0ad54({'focusables':this[_0x2ea124(0xb7)],'focusTracker':this[_0x2ea124(0xd2)],'keystrokeHandler':this[_0x2ea124(0xdc)],'actions':{'focusPrevious':_0x2ea124(0xc0),'focusNext':_0x2ea124(0xd5)}}),this[_0x2ea124(0xde)](_0x2ea124(0xec))['to'](this[_0x2ea124(0xe1)],_0x2ea124(0xb6),_0x4e84d9=>!!_0x4e84d9),this[_0x2ea124(0xde)](_0x2ea124(0xca))['to'](this[_0x2ea124(0xe1)],_0x2ea124(0xb6),_0x33346d=>_0x33346d&&_0x33346d[_0x2ea124(0xc6)]?this[_0x2ea124(0xac)](_0x33346d[_0x2ea124(0xc6)]):_0x45449a(this[_0x2ea124(0xc5)],_0x2ea124(0xd1))),this[_0x2ea124(0xb1)]({'tag':_0x2ea124(0xea),'attributes':{'class':[_0x2ea124(0xa9)]},'children':[{'tag':_0x2ea124(0xea),'attributes':{'class':[_0x2ea124(0xed)]},'children':[{'tag':_0x2ea124(0xea),'attributes':{'class':[_0x2ea124(0xdd),_0x27d65e['if'](_0x2ea124(0xec),_0x2ea124(0xb9))]},'children':[this[_0x2ea124(0xe7)]]}]},{'tag':_0x2ea124(0xea),'attributes':{'class':[_0x2ea124(0xbe)]},'children':[this[_0x2ea124(0xc7)]]}]});}[_0x18168d(0xda)](){const _0x42f161=_0x18168d;super[_0x42f161(0xda)](),this[_0x42f161(0xcd)](),this[_0x42f161(0xe4)]();}[_0x18168d(0xc2)](){const _0x8191fb=_0x18168d;this[_0x8191fb(0xae)][_0x8191fb(0xb4)]();}[_0x18168d(0xcc)](){const _0x36b380=_0x18168d,_0x1de2cb=new _0x4ec9e4(this[_0x36b380(0xc5)]);return _0x1de2cb[_0x36b380(0xb3)]=_0x45449a(this[_0x36b380(0xc5)],_0x36b380(0xab)),_0x1de2cb[_0x36b380(0xe5)]=_0x45449a(this[_0x36b380(0xc5)],_0x36b380(0xab)),_0x1de2cb[_0x36b380(0xe6)]=_0x1721d2,_0x1de2cb[_0x36b380(0xde)](_0x36b380(0xbf))['to'](this[_0x36b380(0xe1)],_0x36b380(0xe8),_0x450237=>!_0x450237),_0x1de2cb[_0x36b380(0xde)](_0x36b380(0xd0))['to'](this[_0x36b380(0xe1)],_0x36b380(0xd7),this[_0x36b380(0xe1)],_0x36b380(0xbc),(_0x2d14b9,_0x53cbb0)=>_0x2d14b9&&_0x53cbb0),_0x1de2cb['on'](_0x36b380(0xce),()=>{const _0x14b548=_0x36b380;this[_0x14b548(0xb5)](_0x14b548(0xbb),this[_0x14b548(0xe1)]['id']);}),_0x1de2cb;}[_0x18168d(0xac)](_0x57bc76){const _0x1e4765=_0x18168d;if(_0x57bc76[_0x1e4765(0xb8)]<0x96)return _0x57bc76;const _0x212b70=_0x57bc76[_0x1e4765(0xc3)]('\x20',0x93);return _0x57bc76[_0x1e4765(0xe2)](0x0,_0x212b70>-0x1?_0x212b70:0x93)+_0x1e4765(0xdf);}[_0x18168d(0xcd)](){const _0x2c2aee=_0x18168d,_0x2539e3=this[_0x2c2aee(0xc1)][_0x2c2aee(0xcf)](_0x2c2aee(0xdb)),_0x30806c=_0x2539e3[_0x2c2aee(0xcf)](_0x2c2aee(0xd8));this[_0x2c2aee(0xad)](_0x2539e3,_0x2c2aee(0xc8),()=>{const _0x116667=_0x2c2aee;_0x30806c[_0x116667(0xe3)]<_0x30806c[_0x116667(0xe0)]&&_0x2539e3[_0x116667(0xaf)][_0x116667(0xcb)](_0x116667(0xbd));}),this[_0x2c2aee(0xad)](_0x2539e3,_0x2c2aee(0xeb),()=>{const _0x89156c=_0x2c2aee;_0x2539e3[_0x89156c(0xaf)][_0x89156c(0xd3)](_0x89156c(0xbd));});}[_0x18168d(0xe4)](){const _0x56ac2a=_0x18168d;this[_0x56ac2a(0xdc)][_0x56ac2a(0xad)](this[_0x56ac2a(0xc1)]);for(const _0x254ce0 of this[_0x56ac2a(0xb7)])this[_0x56ac2a(0xd2)][_0x56ac2a(0xcb)](_0x254ce0[_0x56ac2a(0xc1)]),this[_0x56ac2a(0xdc)][_0x56ac2a(0xad)](_0x254ce0[_0x56ac2a(0xc1)]);}[_0x18168d(0xa8)](){const _0x136850=_0x18168d,_0x36a8ab=new _0x1000a2(this[_0x136850(0xc5)]);return _0x36a8ab[_0x136850(0xde)](_0x136850(0xca))['to'](this),_0x36a8ab;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x366d(){const _0x431b90=['render','destroy','ck-comment__input-container--active','showButtons','element','editor','ck-comment__input-container','extendTemplate','view','commentInputView','div','focus','filter','55795qfqxKG','delegate','3559842TIRVAm','value','1149350mTINMP','set','some','focusCycler','1624dwTyau','editing','preventDefault','userView','53052yzDItN','listenTo','ck-thread__input','editorReady','isFocused','ck-thread__user','editorDestroyed','mousedown','725433XMcvOx','163rukvIz','contains','focusTracker','showInput','bindTemplate','createEditor','then','setTemplate','14BMKFJd','change:showInput','36GWaCjF','target','2702CkkLXF','bind','3141QjpPVe','getDomRoot','_focusOnNonInteractiveMouseDown'];_0x366d=function(){return _0x431b90;};return _0x366d();}const _0x2d9376=_0xc87e;(function(_0x4c63c1,_0x4ca38e){const _0x3b7753=_0xc87e,_0x509da5=_0x4c63c1();while(!![]){try{const _0x2d5837=-parseInt(_0x3b7753(0x74))/0x1*(parseInt(_0x3b7753(0x80))/0x2)+-parseInt(_0x3b7753(0x73))/0x3+-parseInt(_0x3b7753(0x7e))/0x4*(-parseInt(_0x3b7753(0x92))/0x5)+parseInt(_0x3b7753(0x6b))/0x6*(parseInt(_0x3b7753(0x7c))/0x7)+-parseInt(_0x3b7753(0x9a))/0x8*(-parseInt(_0x3b7753(0x82))/0x9)+parseInt(_0x3b7753(0x96))/0xa+parseInt(_0x3b7753(0x94))/0xb;if(_0x2d5837===_0x4ca38e)break;else _0x509da5['push'](_0x509da5['shift']());}catch(_0x30248b){_0x509da5['push'](_0x509da5['shift']());}}}(_0x366d,0x28677));import{View as _0x5021dd}from'ckeditor5/src/ui.js';import{CommentInputView as _0xec4809}from'./commentinputview.js';import{UserView as _0x40aa93}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xc87e(_0x5766dd,_0x35d403){const _0x366d1e=_0x366d();return _0xc87e=function(_0xc87e7e,_0xd6bd28){_0xc87e7e=_0xc87e7e-0x6a;let _0x5f40e9=_0x366d1e[_0xc87e7e];return _0x5f40e9;},_0xc87e(_0x5766dd,_0x35d403);}export class CommentThreadInputView extends _0x5021dd{constructor(_0x1dadfc,_0x39a8b9,_0x4fab0d){const _0x8db04=_0xc87e;super(_0x1dadfc),this[_0x8db04(0x8e)]=new _0xec4809(_0x1dadfc,_0x4fab0d),this[_0x8db04(0x99)]=this[_0x8db04(0x8e)][_0x8db04(0x99)],this[_0x8db04(0x8e)][_0x8db04(0x81)](_0x8db04(0x88))['to'](this[_0x8db04(0x8e)][_0x8db04(0x76)],_0x8db04(0x6f),this[_0x8db04(0x8e)],_0x8db04(0x95),(_0x278d0b,_0x26479a)=>_0x278d0b||!!_0x26479a),this[_0x8db04(0x97)](_0x8db04(0x77),!0x1),this['on'](_0x8db04(0x7d),()=>{const _0x546318=_0x8db04;this[_0x546318(0x77)]&&!this[_0x546318(0x8e)][_0x546318(0x8a)]&&this[_0x546318(0x8e)][_0x546318(0x79)]();}),this[_0x8db04(0x8e)][_0x8db04(0x93)](_0x8db04(0x6e))['to'](this),this[_0x8db04(0x8e)][_0x8db04(0x93)](_0x8db04(0x71))['to'](this),this[_0x8db04(0x6a)]=new _0x40aa93(_0x1dadfc,_0x39a8b9),this[_0x8db04(0x6a)][_0x8db04(0x8c)]({'attributes':{'class':_0x8db04(0x70),'aria-hidden':!0x0}}),this[_0x8db04(0x8e)][_0x8db04(0x8c)]({'attributes':{'class':_0x8db04(0x6d)}}),this[_0x8db04(0x7b)]({'tag':_0x8db04(0x8f),'attributes':{'class':[_0x8db04(0x8b),this[_0x8db04(0x78)]['if'](_0x8db04(0x77),_0x8db04(0x87))]},'children':[this[_0x8db04(0x6a)],this[_0x8db04(0x8e)]]});}[_0x2d9376(0x85)](){const _0x38d210=_0x2d9376;super[_0x38d210(0x85)](),this[_0x38d210(0x84)]();}[_0x2d9376(0x86)](){const _0x1bcf66=_0x2d9376;return this[_0x1bcf66(0x8e)][_0x1bcf66(0x86)]()[_0x1bcf66(0x7a)](()=>super[_0x1bcf66(0x86)]());}[_0x2d9376(0x90)](_0x38df56){const _0xd5bc46=_0x2d9376;this[_0xd5bc46(0x8e)][_0xd5bc46(0x90)](_0x38df56);}[_0x2d9376(0x84)](){const _0x2cc49d=_0x2d9376;this[_0x2cc49d(0x6c)](this[_0x2cc49d(0x89)],_0x2cc49d(0x72),(_0x57eac0,_0xcc3193)=>{const _0x303049=_0x2cc49d,{submitButtonView:_0x46a330,cancelButtonView:_0x2019ac,editor:_0x58cbaf}=this[_0x303049(0x8e)];[_0x46a330[_0x303049(0x89)],_0x2019ac[_0x303049(0x89)],_0x58cbaf?_0x58cbaf[_0x303049(0x9b)][_0x303049(0x8d)][_0x303049(0x83)]():null][_0x303049(0x91)](_0x5a331f=>_0x5a331f)[_0x303049(0x98)](_0x518369=>_0x518369[_0x303049(0x75)](_0xcc3193[_0x303049(0x7f)]))||(this[_0x303049(0x90)](),_0xcc3193[_0x303049(0x9c)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x466834=_0x37ed;(function(_0x2e8b9a,_0x3e42e0){const _0x4d50e6=_0x37ed,_0x3c1121=_0x2e8b9a();while(!![]){try{const _0x52d57d=-parseInt(_0x4d50e6(0x211))/0x1+-parseInt(_0x4d50e6(0x1f8))/0x2*(-parseInt(_0x4d50e6(0x20a))/0x3)+parseInt(_0x4d50e6(0x1ce))/0x4*(parseInt(_0x4d50e6(0x1d6))/0x5)+-parseInt(_0x4d50e6(0x1e4))/0x6*(-parseInt(_0x4d50e6(0x1d5))/0x7)+-parseInt(_0x4d50e6(0x1f1))/0x8*(parseInt(_0x4d50e6(0x1dc))/0x9)+-parseInt(_0x4d50e6(0x20c))/0xa+parseInt(_0x4d50e6(0x1ee))/0xb*(parseInt(_0x4d50e6(0x1e7))/0xc);if(_0x52d57d===_0x3e42e0)break;else _0x3c1121['push'](_0x3c1121['shift']());}catch(_0x20fcd0){_0x3c1121['push'](_0x3c1121['shift']());}}}(_0x5d71,0x935ef));function _0x5d71(){const _0x204179=['_boundFirstCommentView','ck-thread--remove-confirmation','get','actionIndicator','Resolve','execute','isReadOnly','ck-thread--unlinked','commentThreadHeaderView','ck-reset_all-excluded','.ck-thread__container','fire','77048wKUajd','change:isActive','listenTo','setTemplate','isResolved','ariaLabel','set','7qfySLJ','15spUfgn','Delete\x20comment\x20thread?','placeholder','isSystemComment','length','_model','1183293zCieTq','bindTemplate','tooltip','change:isReadOnly','commentViews','isResolvable','isActive','_bindFirstCommentView','2402934iCWHQA','div','remove','132yrOKNi','_createResolveButton','showConfirm','has','isVisible','locale','actionBar','1312531ZhitfP','ck-comment--resolve','removeCommentThread','8wqMfFO','render','removeButton','then','Write\x20a\x20comment...','resolveCommentThread','unbind','2vWGhXT','commentThreadInputView','ck-rounded-corners','ck-thread__container','containerElement','createCollection','commentsListView','ck-thread','add','ariaDescriptionView','isEnabled','ck-thread--','querySelector','focus','change:archivedAt','getTemplate','label','commentThreadChildren','948219lLxQZz','archivedAt','5259540PfAxGn','isConfirm','_cancelAllConfirms','stop','listitem','825817oeoxqM','ck-thread--active','removeConfirm','extendTemplate','_updateArchivedThreadHeader','cancelConfirm','bind','icon','resolveButton','element','focusables','isUnlinked','high'];_0x5d71=function(){return _0x204179;};return _0x5d71();}import{ConfirmMixin as _0x4a928e,LateFocusButtonView as _0x3458bf}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x4b6064}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x4051e3}from'./basecommentthreadview.js';import{getTranslation as _0xa46d73}from'../../../utils/common-translations.js';function _0x37ed(_0x486216,_0x3f902e){const _0x5d71b5=_0x5d71();return _0x37ed=function(_0x37ed07,_0x1029a5){_0x37ed07=_0x37ed07-0x1cb;let _0x15f155=_0x5d71b5[_0x37ed07];return _0x15f155;},_0x37ed(_0x486216,_0x3f902e);}export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4a928e(_0x4051e3){[_0x466834(0x209)];[_0x466834(0x1fc)];[_0x466834(0x219)];[_0x466834(0x21e)];constructor(_0x551be0,_0x1c4ab5,_0x13a9b6,_0x1b5501){const _0x349ee7=_0x466834;super(_0x551be0,_0x1c4ab5,_0x13a9b6,_0x1b5501),this[_0x349ee7(0x209)]=this[_0x349ee7(0x1fd)]([this[_0x349ee7(0x1fe)],this[_0x349ee7(0x1f9)],this[_0x349ee7(0x201)]]),this[_0x349ee7(0x1d4)](_0x349ee7(0x221),null),this[_0x349ee7(0x1fc)]=null,this[_0x349ee7(0x21e)]=null,this[_0x349ee7(0x1ec)]=_0x551be0,this[_0x349ee7(0x219)]=this[_0x349ee7(0x1e8)](),this[_0x349ee7(0x1d1)](this[_0x349ee7(0x207)]()),this['on'](_0x349ee7(0x1cf),(_0x35a2da,_0x578f93,_0x35380d)=>{const _0xadc1aa=_0x349ee7;_0x35380d||this[_0xadc1aa(0x20e)]();}),this[_0x349ee7(0x1d0)](this[_0x349ee7(0x1db)],_0x349ee7(0x1df),(_0x1bfa01,_0x40e1e6,_0x65b979)=>{const _0x223009=_0x349ee7;_0x65b979&&this[_0x223009(0x20e)]();}),this[_0x349ee7(0x1da)]>0x0&&this[_0x349ee7(0x1e3)](),this[_0x349ee7(0x1d0)](this[_0x349ee7(0x1fe)][_0x349ee7(0x1e0)],_0x349ee7(0x200),()=>{const _0x535fbf=_0x349ee7;this[_0x535fbf(0x1e3)]();});}[_0x466834(0x207)](){const _0x2f9df8=_0x466834,_0x441407=this[_0x2f9df8(0x1dd)];return{'tag':_0x2f9df8(0x1e5),'attributes':{'class':['ck',_0x2f9df8(0x1ff),_0x2f9df8(0x1cb),_0x2f9df8(0x1fa),_0x441407['if'](_0x2f9df8(0x1e2),_0x2f9df8(0x212)),_0x441407['if'](_0x2f9df8(0x21c),_0x2f9df8(0x225)),_0x441407['if'](_0x2f9df8(0x20d),_0x2f9df8(0x21f)),_0x441407['to'](_0x2f9df8(0x221),_0x177f01=>_0x177f01?_0x2f9df8(0x203)+_0x177f01:'')],'data-thread-id':this[_0x2f9df8(0x1db)]['id'],'tabindex':0x0,'role':_0x2f9df8(0x210),'aria-label':_0x441407['to'](_0x2f9df8(0x1d3)),'aria-describedby':this[_0x2f9df8(0x201)]['id']},'children':[{'tag':_0x2f9df8(0x1e5),'attributes':{'class':_0x2f9df8(0x1fb)},'children':this[_0x2f9df8(0x209)]}]};}[_0x466834(0x1f2)](){const _0x9f94db=_0x466834;super[_0x9f94db(0x1f2)](),this[_0x9f94db(0x1fc)]=this[_0x9f94db(0x21a)][_0x9f94db(0x204)](_0x9f94db(0x1cc)),this[_0x9f94db(0x1db)]['on'](_0x9f94db(0x206),()=>{const _0x3969c5=_0x9f94db;this[_0x3969c5(0x215)]();}),this[_0x9f94db(0x215)]();}[_0x466834(0x20e)](){const _0xdb708b=_0x466834;this[_0xdb708b(0x216)]();for(const _0x78a866 of this[_0xdb708b(0x1fe)][_0xdb708b(0x1e0)])_0x78a866[_0xdb708b(0x216)]();}[_0x466834(0x1e3)](){const _0x197835=_0x466834,{locale:_0x179e42}=this,_0x31ccb8=this[_0x197835(0x1fe)][_0x197835(0x1e0)][_0x197835(0x220)](0x0);_0x31ccb8===this[_0x197835(0x21e)]||_0x31ccb8[_0x197835(0x1d9)]||(this[_0x197835(0x21e)]=_0x31ccb8,this[_0x197835(0x1f7)](_0x197835(0x221)),this[_0x197835(0x217)](_0x197835(0x221))['to'](_0x31ccb8,_0x197835(0x221),_0x3d9845=>_0x197835(0x1e6)===_0x3d9845?_0x197835(0x1e6):null),_0x31ccb8[_0x197835(0x1d8)]=_0xa46d73(_0x179e42,_0x197835(0x1f5)),_0x31ccb8[_0x197835(0x1f3)]['on'](_0x197835(0x223),_0x3fb5d8=>{const _0x5c204b=_0x197835;_0x3fb5d8[_0x5c204b(0x20f)](),this[_0x5c204b(0x1e9)](_0xa46d73(_0x179e42,_0x5c204b(0x1d7)),this[_0x5c204b(0x1fc)])[_0x5c204b(0x1f4)](()=>{const _0x44a450=_0x5c204b;this[_0x44a450(0x1cd)](_0x44a450(0x1f0));});},{'priority':_0x197835(0x21d)}),this['on'](_0x197835(0x213),()=>{const _0x5c85fb=_0x197835;_0x31ccb8[_0x5c85fb(0x205)]();}),_0x31ccb8[_0x197835(0x1ed)][_0x197835(0x200)](this[_0x197835(0x219)],0x0),_0x31ccb8[_0x197835(0x21b)][_0x197835(0x200)](this[_0x197835(0x219)],0x0));}[_0x466834(0x1e8)](){const _0x3cc478=_0x466834,_0x340e53=new _0x3458bf(this[_0x3cc478(0x1ec)]);return _0x340e53[_0x3cc478(0x208)]=_0xa46d73(this[_0x3cc478(0x1ec)],_0x3cc478(0x222)),_0x340e53[_0x3cc478(0x1de)]=_0xa46d73(this[_0x3cc478(0x1ec)],_0x3cc478(0x222)),_0x340e53[_0x3cc478(0x218)]=_0x4b6064,_0x340e53[_0x3cc478(0x214)]({'attributes':{'class':_0x3cc478(0x1ef)}}),_0x340e53[_0x3cc478(0x217)](_0x3cc478(0x202))['to'](this[_0x3cc478(0x1db)],_0x3cc478(0x224),_0xcbc5d=>!_0xcbc5d),_0x340e53[_0x3cc478(0x217)](_0x3cc478(0x1eb))['to'](this[_0x3cc478(0x1db)],_0x3cc478(0x1e1),this[_0x3cc478(0x1db)],_0x3cc478(0x1d2),(_0x306470,_0x4ebe89)=>_0x306470&&!_0x4ebe89),_0x340e53['on'](_0x3cc478(0x223),()=>{const _0x4c5b70=_0x3cc478;this[_0x4c5b70(0x1cd)](_0x4c5b70(0x1f6),this[_0x4c5b70(0x1db)]['id']);}),_0x340e53;}[_0x466834(0x215)](){const _0x33d7af=_0x466834;this[_0x33d7af(0x1db)][_0x33d7af(0x20b)]?this[_0x33d7af(0x209)][_0x33d7af(0x1ea)](this[_0x33d7af(0x226)])||(this[_0x33d7af(0x209)][_0x33d7af(0x200)](this[_0x33d7af(0x226)],0x0),this[_0x33d7af(0x21b)][_0x33d7af(0x200)](this[_0x33d7af(0x226)],0x0)):this[_0x33d7af(0x209)][_0x33d7af(0x1ea)](this[_0x33d7af(0x226)])&&(this[_0x33d7af(0x209)][_0x33d7af(0x1e6)](this[_0x33d7af(0x226)]),this[_0x33d7af(0x21b)][_0x33d7af(0x1e6)](this[_0x33d7af(0x226)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x69b115=_0x44ec;function _0x44ec(_0x2a5089,_0x1d2fd1){const _0x123369=_0x1233();return _0x44ec=function(_0x44ec3d,_0x57e1b7){_0x44ec3d=_0x44ec3d-0x194;let _0x5eb205=_0x123369[_0x44ec3d];return _0x5eb205;},_0x44ec(_0x2a5089,_0x1d2fd1);}(function(_0x31668d,_0x4a19b7){const _0x169524=_0x44ec,_0x4039f1=_0x31668d();while(!![]){try{const _0x1e6a10=parseInt(_0x169524(0x1ad))/0x1+parseInt(_0x169524(0x1f7))/0x2+-parseInt(_0x169524(0x1de))/0x3*(parseInt(_0x169524(0x1a5))/0x4)+parseInt(_0x169524(0x1a2))/0x5*(-parseInt(_0x169524(0x1ce))/0x6)+parseInt(_0x169524(0x1e1))/0x7+parseInt(_0x169524(0x204))/0x8+parseInt(_0x169524(0x1b4))/0x9;if(_0x1e6a10===_0x4a19b7)break;else _0x4039f1['push'](_0x4039f1['shift']());}catch(_0x47f47f){_0x4039f1['push'](_0x4039f1['shift']());}}}(_0x1233,0x81173));import{IconRemoveComment as _0x28d410,IconPencil as _0x35c7e6,IconThreeVerticalDots as _0x2491e0}from'ckeditor5/src/icons.js';import{ButtonView as _0x524f1a,createDropdown as _0x2e3bb1,ListView as _0x4d0212,ListItemView as _0x3131d4,focusChildOnDropdownOpen as _0x959465}from'ckeditor5/src/ui.js';import{UserView as _0x2fe670,ConfirmMixin as _0x55dc08,LateFocusDropdownButtonView as _0x69bd0b}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1233(){const _0x34e503=['focus','2749424MeTkVB','ck-comment__external','locale','ck-comment--','execute','isRemovable','addMany','ck-hidden','render','change:isRemovable','find','createCollection','isConfirm','div','Reply...','icon','ck-comment__info-time','group','removeComment','from','mouseleave','ck-comment--remove-confirmation','505nnBZzF','ck-comment__info-name','getUserViewNotificationText','884060idZovU','label','then','bind','remove','Remove','ck-annotation__info-time','ck-comment--remove','177344TyLSHw','ck-annotation__actions','panelPosition','ck-comment__user','isEditMode','buttonView','push','1029492lquUuC','blur','actionIndicator','Edit','toMany','ck-comment__main','bindTemplate','getExternalCommentNote','ck-comment__actions--hidden','_model','_createRemoveButton','some','listitem','fire','isSystemComment','author','resolvedAt','Show\x20more\x20items','ck-comment__wrapper','cancelConfirm','ariaDescriptionView','items','ck-annotation__actions--hidden','isEnabled','ck-comment__actions','ck-comment--edit','43482ZILXcF','switchToEditMode','isExternal','_config','Delete\x20comment?','_createEditButton','isEditable','unbind','isVisible','setTemplate','length','actionBar','withText','ck-annotation__user','ck-comment__info','extendTemplate','3IyZGrK','_createCommentInputView','add','315217jjKyVO','panelView','authoredAt','formatDateTime','_attachActions','_createDropdown','ck-annotation__main','removeButton','ariaLabel','getTemplate','span','name','editButton','time','dropdown','ck-annotation','ck-comment--info','set','ck-annotation__info-name','ck-annotation__info','listenTo','userView','1602552mNBcgJ','mouseenter','ck-annotation__content-wrapper','ck-comment','isReadOnly','focusables','edit','showConfirm','element','visibleView','placeholder','children'];_0x1233=function(){return _0x34e503;};return _0x1233();}import{BaseCommentView as _0x1c9b7e}from'./basecommentview.js';import{getTranslation as _0x30353a}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x55dc08(_0x1c9b7e){[_0x69b115(0x1d9)];[_0x69b115(0x1f6)];constructor(_0x4e8fbc,_0xb66b12,_0x5726f4){const _0xb85120=_0x69b115;super(_0x4e8fbc,_0xb66b12,_0x5726f4),this[_0xb85120(0x1f2)](_0xb85120(0x1b6),null),this[_0xb85120(0x1f2)](_0xb85120(0x201),_0x30353a(_0x4e8fbc,_0xb85120(0x19a))),this[_0xb85120(0x1a8)](_0xb85120(0x1e3))['to'](_0xb66b12),this[_0xb85120(0x1a8)](_0xb85120(0x1c4))['to'](_0xb66b12),this[_0xb85120(0x1d9)]=this[_0xb85120(0x197)](),this[_0xb85120(0x1c2)]||(this[_0xb85120(0x1ed)]=this[_0xb85120(0x1d3)](),this[_0xb85120(0x1e8)]=this[_0xb85120(0x1be)](),this[_0xb85120(0x1c9)]=this[_0xb85120(0x197)](),this[_0xb85120(0x1c9)][_0xb85120(0x20a)]([this[_0xb85120(0x1ed)],this[_0xb85120(0x1e8)]]),this[_0xb85120(0x1ef)]=this[_0xb85120(0x1e6)](),this[_0xb85120(0x1d9)][_0xb85120(0x1e0)](this[_0xb85120(0x1ef)]),this[_0xb85120(0x1fc)][_0xb85120(0x1e0)](this[_0xb85120(0x1ef)])),this[_0xb85120(0x1f6)]=new _0x2fe670(_0x4e8fbc,_0xb66b12[_0xb85120(0x1c3)],this[_0xb85120(0x1a4)]()),this[_0xb85120(0x1f6)][_0xb85120(0x1dd)]({'attributes':{'class':[_0xb85120(0x1b0),_0xb85120(0x1db)],'aria-hidden':!0x0}}),this[_0xb85120(0x1f5)](_0xb66b12,_0xb85120(0x195),()=>this[_0xb85120(0x1c7)]()),this[_0xb85120(0x1d7)](this[_0xb85120(0x1ea)]());}[_0x69b115(0x1ea)](){const _0x2bb3bd=_0x69b115,_0x3b7027=this[_0x2bb3bd(0x1ba)],_0x266b5b=[{'tag':_0x2bb3bd(0x199),'attributes':{'class':[_0x2bb3bd(0x1dc),_0x2bb3bd(0x1f4)]},'children':[{'tag':_0x2bb3bd(0x1eb),'children':[{'text':this[_0x2bb3bd(0x1f6)][_0x2bb3bd(0x1ec)]}],'attributes':{'class':[_0x2bb3bd(0x1a3),_0x2bb3bd(0x1f3)],'data-cke-tooltip-text':this[_0x2bb3bd(0x1f6)][_0x2bb3bd(0x1ec)]}},{'tag':_0x2bb3bd(0x1ee),'attributes':{'datetime':_0x3b7027['to'](_0x2bb3bd(0x1e3)),'class':[_0x2bb3bd(0x19c),_0x2bb3bd(0x1ab)]},'children':[{'text':_0x3b7027['to'](_0x2bb3bd(0x1e3),_0x48246a=>this[_0x2bb3bd(0x1d1)][_0x2bb3bd(0x1e4)](_0x48246a))}]}]},{'tag':_0x2bb3bd(0x199),'attributes':{'class':[_0x2bb3bd(0x1cc),_0x2bb3bd(0x1ae),_0x3b7027['if'](_0x2bb3bd(0x1b1),_0x2bb3bd(0x1bc)),_0x3b7027['if'](_0x2bb3bd(0x1b1),_0x2bb3bd(0x1ca))]},'children':this[_0x2bb3bd(0x1d9)]},{'tag':_0x2bb3bd(0x199),'attributes':{'class':[_0x2bb3bd(0x1f9)]},'children':this[_0x2bb3bd(0x200)]},this[_0x2bb3bd(0x1c8)]];return this[_0x2bb3bd(0x1bd)][_0x2bb3bd(0x1d0)]&&_0x266b5b[_0x2bb3bd(0x1b3)]({'tag':_0x2bb3bd(0x199),'attributes':{'class':[_0x2bb3bd(0x205)]},'children':[{'text':this[_0x2bb3bd(0x1bb)]()}]}),{'tag':'li','attributes':{'class':[_0x2bb3bd(0x1c6),_0x3b7027['if'](_0x2bb3bd(0x198),_0x2bb3bd(0x1a1))],'tabindex':-0x1,'aria-label':_0x3b7027['to'](_0x2bb3bd(0x1e9)),'aria-describedby':this[_0x2bb3bd(0x1c8)]['id'],'role':_0x2bb3bd(0x1c0)},'children':[{'tag':_0x2bb3bd(0x199),'attributes':{'class':[_0x2bb3bd(0x1fa),_0x2bb3bd(0x1f0),_0x3b7027['if'](_0x2bb3bd(0x1b1),_0x2bb3bd(0x1cd)),_0x3b7027['if'](_0x2bb3bd(0x1c2),_0x2bb3bd(0x1f1)),_0x3b7027['to'](_0x2bb3bd(0x1b6),_0x4c7ba5=>_0x4c7ba5?_0x2bb3bd(0x207)+_0x4c7ba5:'')],'data-author-id':this[_0x2bb3bd(0x1bd)][_0x2bb3bd(0x1c3)]['id'],'data-comment-id':this[_0x2bb3bd(0x1bd)]['id'],'role':_0x2bb3bd(0x19d)},'children':[this[_0x2bb3bd(0x1f6)],{'tag':_0x2bb3bd(0x199),'attributes':{'class':[_0x2bb3bd(0x1b9),_0x2bb3bd(0x1e7)]},'children':_0x266b5b}]}]};}[_0x69b115(0x1d3)](){const _0x18a48b=_0x69b115,_0x5e3afa=new _0x524f1a(this[_0x18a48b(0x206)]);return _0x5e3afa[_0x18a48b(0x1a6)]=_0x30353a(this[_0x18a48b(0x206)],_0x18a48b(0x1b7)),_0x5e3afa[_0x18a48b(0x19b)]=_0x35c7e6,_0x5e3afa[_0x18a48b(0x1da)]=!0x0,_0x5e3afa[_0x18a48b(0x1dd)]({'attributes':{'class':_0x18a48b(0x1cd)}}),_0x5e3afa[_0x18a48b(0x1a8)](_0x18a48b(0x1cb))['to'](this[_0x18a48b(0x1bd)],_0x18a48b(0x1fb),_0x699ca9=>!_0x699ca9),_0x5e3afa[_0x18a48b(0x1a8)](_0x18a48b(0x1d6))['to'](this[_0x18a48b(0x1bd)],_0x18a48b(0x1d4)),_0x5e3afa['on'](_0x18a48b(0x208),()=>this[_0x18a48b(0x1cf)]()),_0x5e3afa;}[_0x69b115(0x1be)](){const _0x77675a=_0x69b115,_0x4b6c90=new _0x524f1a(this[_0x77675a(0x206)]);return _0x4b6c90[_0x77675a(0x1a6)]=_0x30353a(this[_0x77675a(0x206)],_0x77675a(0x1aa)),_0x4b6c90[_0x77675a(0x19b)]=_0x28d410,_0x4b6c90[_0x77675a(0x1da)]=!0x0,_0x4b6c90[_0x77675a(0x1dd)]({'attributes':{'class':_0x77675a(0x1ac)}}),_0x4b6c90[_0x77675a(0x1a8)](_0x77675a(0x1cb))['to'](this[_0x77675a(0x1bd)],_0x77675a(0x1fb),_0x1f367b=>!_0x1f367b),_0x4b6c90[_0x77675a(0x1a8)](_0x77675a(0x1d6))['to'](this[_0x77675a(0x1bd)],_0x77675a(0x209)),_0x4b6c90['on'](_0x77675a(0x208),()=>{const _0x365de7=_0x77675a;this[_0x365de7(0x1fe)](_0x30353a(this[_0x365de7(0x206)],_0x365de7(0x1d2)),this[_0x365de7(0x1ff)])[_0x365de7(0x1a7)](()=>{const _0x274395=_0x365de7;this[_0x274395(0x1c1)](_0x274395(0x19e),this[_0x274395(0x1bd)]['id']);});}),_0x4b6c90;}[_0x69b115(0x1e6)](){const _0x25873e=_0x69b115,_0x1e8711=_0x2e3bb1(this[_0x25873e(0x206)],_0x69bd0b),_0x1d57eb=_0x1e8711[_0x25873e(0x1e2)][_0x25873e(0x202)],_0xe95751=new _0x4d0212(this[_0x25873e(0x206)]),_0x42780c=_0x1e8711[_0x25873e(0x1ba)];_0x959465(_0x1e8711,()=>this[_0x25873e(0x1c9)][_0x25873e(0x196)](_0x2b269c=>_0x2b269c[_0x25873e(0x1d6)])),_0x1e8711[_0x25873e(0x1dd)]({'attributes':{'class':[_0x42780c['if'](_0x25873e(0x1d6),_0x25873e(0x20b),_0x8e5f22=>!_0x8e5f22)]}});const _0x567f12=(_0x4cf9c1,_0x3ae9eb=-0x1)=>{const _0x1f6c38=_0x25873e,_0x21aa9c=new _0x3131d4(this[_0x1f6c38(0x206)]);_0x21aa9c[_0x1f6c38(0x202)][_0x1f6c38(0x1e0)](_0x4cf9c1);const _0x306ce4=_0x3ae9eb>-0x1?_0x3ae9eb:_0xe95751[_0x1f6c38(0x1c9)][_0x1f6c38(0x1d8)];_0xe95751[_0x1f6c38(0x1c9)][_0x1f6c38(0x1e0)](_0x21aa9c,_0x306ce4);const _0x5eb98e=Array[_0x1f6c38(0x19f)](this[_0x1f6c38(0x1c9)]);_0x1e8711[_0x1f6c38(0x1d5)](_0x1f6c38(0x1cb),_0x1f6c38(0x1d6)),_0x1e8711[_0x1f6c38(0x1a8)](_0x1f6c38(0x1cb))[_0x1f6c38(0x1b8)](_0x5eb98e,_0x1f6c38(0x1cb),(..._0x388051)=>_0x388051[_0x1f6c38(0x1bf)](_0x23efb5=>_0x23efb5)),_0x1e8711[_0x1f6c38(0x1a8)](_0x1f6c38(0x1d6))[_0x1f6c38(0x1b8)](_0x5eb98e,_0x1f6c38(0x1d6),(..._0x11a930)=>_0x11a930[_0x1f6c38(0x1bf)](_0x39caec=>_0x39caec));};_0x1e8711[_0x25873e(0x1af)]='sw',_0x1e8711[_0x25873e(0x1b2)][_0x25873e(0x1f2)]({'label':_0x30353a(this[_0x25873e(0x206)],_0x25873e(0x1c5)),'icon':_0x2491e0});for(const _0x4e6b39 of this[_0x25873e(0x1c9)])_0x567f12(_0x4e6b39);return _0x1d57eb[_0x25873e(0x1e0)](_0xe95751),_0x1e8711[_0x25873e(0x1f5)](this[_0x25873e(0x1c9)],_0x25873e(0x1e0),(_0x102ad5,_0x19a666,_0x3b4ac1)=>{_0x567f12(_0x19a666,_0x3b4ac1);}),_0x1e8711[_0x25873e(0x1f5)](this[_0x25873e(0x1c9)],_0x25873e(0x1a9),(_0x446ac1,_0x58d507,_0x2f1e28)=>{const _0x1fa27a=_0x25873e;_0xe95751[_0x1fa27a(0x1c9)][_0x1fa27a(0x1a9)](_0x2f1e28);}),_0x1e8711;}[_0x69b115(0x1e5)](_0x319120,_0x59f141){const _0x1c3342=_0x69b115,_0x2c4176=_0x319120&&_0x319120[_0x1c3342(0x1ff)];_0x2c4176&&(this[_0x1c3342(0x1f5)](_0x2c4176,_0x1c3342(0x1f8),()=>this[_0x1c3342(0x1b6)]=_0x59f141),this[_0x1c3342(0x1f5)](_0x2c4176,_0x1c3342(0x203),()=>this[_0x1c3342(0x1b6)]=_0x59f141),this[_0x1c3342(0x1f5)](_0x2c4176,_0x1c3342(0x1a0),()=>this[_0x1c3342(0x1b6)]=null),this[_0x1c3342(0x1f5)](_0x2c4176,_0x1c3342(0x1b5),()=>this[_0x1c3342(0x1b6)]=null));}[_0x69b115(0x1df)](){const _0x4aa84f=_0x69b115,_0x30659b=super[_0x4aa84f(0x1df)]();return _0x30659b[_0x4aa84f(0x1a8)](_0x4aa84f(0x201))['to'](this),_0x30659b;}[_0x69b115(0x194)](){const _0x2846c0=_0x69b115;super[_0x2846c0(0x194)](),this[_0x2846c0(0x1e5)](this[_0x2846c0(0x1ed)],_0x2846c0(0x1fd)),this[_0x2846c0(0x1e5)](this[_0x2846c0(0x1e8)],_0x2846c0(0x1a9));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5aa1af=_0x1e04;(function(_0x8108c7,_0xef7656){var _0x2e7b10=_0x1e04,_0x455a0c=_0x8108c7();while(!![]){try{var _0x4737a7=-parseInt(_0x2e7b10(0xe1))/0x1+-parseInt(_0x2e7b10(0xdd))/0x2*(-parseInt(_0x2e7b10(0xde))/0x3)+-parseInt(_0x2e7b10(0xd3))/0x4*(-parseInt(_0x2e7b10(0xe0))/0x5)+-parseInt(_0x2e7b10(0xd4))/0x6+parseInt(_0x2e7b10(0xd6))/0x7*(parseInt(_0x2e7b10(0xdb))/0x8)+-parseInt(_0x2e7b10(0xd5))/0x9+-parseInt(_0x2e7b10(0xe2))/0xa*(-parseInt(_0x2e7b10(0xd8))/0xb);if(_0x4737a7===_0xef7656)break;else _0x455a0c['push'](_0x455a0c['shift']());}catch(_0x4be045){_0x455a0c['push'](_0x455a0c['shift']());}}}(_0x1f39,0xa5f13));import{Plugin as _0x40d20e}from'ckeditor5/src/core.js';function _0x1e04(_0x40cc86,_0x797873){var _0x1f3994=_0x1f39();return _0x1e04=function(_0x1e04d3,_0x417d0f){_0x1e04d3=_0x1e04d3-0xd3;var _0xef82c0=_0x1f3994[_0x1e04d3];return _0xef82c0;},_0x1e04(_0x40cc86,_0x797873);}import{CommentsRepository as _0x51d69a}from'./comments/commentsrepository.js';import{CommentsEditing as _0x15de76}from'./comments/commentsediting.js';import{CommentsUI as _0xf2d5db}from'./comments/commentsui.js';import{CommentsOnly as _0x5dc181}from'./commentsonly.js';import{WideSidebar as _0x370457}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x26344a}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x666f49}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x3a3d68}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x25134d}from'./comments/commentsarchive.js';function _0x1f39(){var _0x6149c1=['700134CVEwTJ','10191060LNedJs','7XCfhbz','isPremiumPlugin','1793BSsPvX','Comments','isOfficialPlugin','3248776jiMIQf','requires','352iaoOBg','5838FvosPO','pluginName','203185syrBQw','1082614BTdgij','66520RRovch','116cPjAXd'];_0x1f39=function(){return _0x6149c1;};return _0x1f39();}export class Comments extends _0x40d20e{static get[_0x5aa1af(0xdc)](){return[_0x51d69a,_0x15de76,_0xf2d5db,_0x25134d,_0x3a3d68,_0x5dc181,_0x370457,_0x26344a,_0x666f49];}static get[_0x5aa1af(0xdf)](){var _0x1f8996=_0x5aa1af;return _0x1f8996(0xd9);}static get[_0x5aa1af(0xda)](){return!0x0;}static get[_0x5aa1af(0xd7)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f6fb5=_0x5917;(function(_0x3a1360,_0x27c60f){const _0x25853a=_0x5917,_0x4d9d8b=_0x3a1360();while(!![]){try{const _0x2431b0=-parseInt(_0x25853a(0xdd))/0x1+-parseInt(_0x25853a(0xb9))/0x2*(parseInt(_0x25853a(0xc4))/0x3)+-parseInt(_0x25853a(0xe2))/0x4+-parseInt(_0x25853a(0xd1))/0x5*(-parseInt(_0x25853a(0xd3))/0x6)+parseInt(_0x25853a(0xdc))/0x7+-parseInt(_0x25853a(0xd7))/0x8+-parseInt(_0x25853a(0xbc))/0x9*(-parseInt(_0x25853a(0xbb))/0xa);if(_0x2431b0===_0x27c60f)break;else _0x4d9d8b['push'](_0x4d9d8b['shift']());}catch(_0x8018cb){_0x4d9d8b['push'](_0x4d9d8b['shift']());}}}(_0x5628,0x75077));import{Plugin as _0x19ab6e}from'ckeditor5/src/core.js';import{CommentsEditing as _0x3711c8}from'./comments/commentsediting.js';function _0x5628(){const _0x289c6d=['requires','3183244LOZugX','editSource','isEnabled','document','editor','1574eqcGhE','config','108740OGewfq','2502NWZDhs','view','isOfficialPlugin','SourceEditing','DragDrop','change:isEnabled','forceDisabled','listenTo','3051yAyNTm','afterInit','commands','isPremiumPlugin','commentsOnly','cut','CommentsOnly','stopListening','get','pluginName','_disableCommentsOnlyMode','set','addCommentThread','2154800XczdAQ','_enableCommentsOnlyMode','6NliIpK','has','delete','plugins','5255536inibDn','clearForceDisabled','stop','editing','affectsData','1515857zgmYVf','938000syiufg','commentsOnlyMode','clipboardInput','highest'];_0x5628=function(){return _0x289c6d;};return _0x5628();}function _0x5917(_0x4bf738,_0x15855d){const _0x56284c=_0x5628();return _0x5917=function(_0x5917bd,_0x4cbbec){_0x5917bd=_0x5917bd-0xb5;let _0x23ee46=_0x56284c[_0x5917bd];return _0x23ee46;},_0x5917(_0x4bf738,_0x15855d);}export class CommentsOnly extends _0x19ab6e{static get[_0x1f6fb5(0xcd)](){const _0x1aca4c=_0x1f6fb5;return _0x1aca4c(0xca);}static get[_0x1f6fb5(0xbe)](){return!0x0;}static get[_0x1f6fb5(0xc7)](){return!0x0;}static get[_0x1f6fb5(0xe1)](){return[_0x3711c8];}constructor(_0xb2fcea){const _0x1c7f17=_0x1f6fb5;super(_0xb2fcea),this[_0x1c7f17(0xcf)](_0x1c7f17(0xb6),!0x1),this['on'](_0x1c7f17(0xc1),(_0x33bd46,_0x2a92fd,_0xc0519)=>{const _0x13b382=_0x1c7f17;_0xc0519?this[_0x13b382(0xd2)]():this[_0x13b382(0xce)]();});}[_0x1f6fb5(0xc5)](){const _0x12cff0=_0x1f6fb5;!this[_0x12cff0(0xb6)]&&this[_0x12cff0(0xb8)][_0x12cff0(0xba)][_0x12cff0(0xcc)](_0x12cff0(0xc8))&&(this[_0x12cff0(0xb6)]=!0x0);}[_0x1f6fb5(0xd2)](){const _0x49899c=_0x1f6fb5;for(const [_0x3cd4a9,_0x38d54f]of this[_0x49899c(0xb8)][_0x49899c(0xc6)])_0x38d54f[_0x49899c(0xdb)]&&_0x49899c(0xd0)!==_0x3cd4a9&&_0x38d54f[_0x49899c(0xc2)](_0x49899c(0xde));(this[_0x49899c(0xb8)][_0x49899c(0xd6)][_0x49899c(0xd4)](_0x49899c(0xc0))&&this[_0x49899c(0xb8)][_0x49899c(0xd6)][_0x49899c(0xcc)](_0x49899c(0xc0))[_0x49899c(0xc2)](_0x49899c(0xde)),this[_0x49899c(0xb8)][_0x49899c(0xd6)][_0x49899c(0xd4)](_0x49899c(0xbf)))&&this[_0x49899c(0xb8)][_0x49899c(0xd6)][_0x49899c(0xcc)](_0x49899c(0xbf))[_0x49899c(0xc2)](_0x49899c(0xde));this[_0x49899c(0xb8)][_0x49899c(0xc6)][_0x49899c(0xcc)](_0x49899c(0xb5))?.[_0x49899c(0xc2)](_0x49899c(0xde));const _0x2f673c=this[_0x49899c(0xb8)][_0x49899c(0xda)][_0x49899c(0xbd)][_0x49899c(0xb7)];this[_0x49899c(0xc3)](_0x2f673c,_0x49899c(0xc9),_0x287a48=>_0x287a48[_0x49899c(0xd9)](),{'priority':_0x49899c(0xe0)}),this[_0x49899c(0xc3)](_0x2f673c,_0x49899c(0xdf),_0x3fc583=>_0x3fc583[_0x49899c(0xd9)](),{'priority':_0x49899c(0xe0)}),this[_0x49899c(0xc3)](_0x2f673c,_0x49899c(0xd5),_0x55171f=>_0x55171f[_0x49899c(0xd9)](),{'priority':_0x49899c(0xe0)});}[_0x1f6fb5(0xce)](){const _0x538a1d=_0x1f6fb5;for(const [_0x5a9d28,_0x43b33e]of this[_0x538a1d(0xb8)][_0x538a1d(0xc6)])_0x43b33e[_0x538a1d(0xdb)]&&_0x538a1d(0xd0)!==_0x5a9d28&&_0x43b33e[_0x538a1d(0xd8)](_0x538a1d(0xde));this[_0x538a1d(0xb8)][_0x538a1d(0xd6)][_0x538a1d(0xd4)](_0x538a1d(0xbf))&&this[_0x538a1d(0xb8)][_0x538a1d(0xd6)][_0x538a1d(0xcc)](_0x538a1d(0xbf))[_0x538a1d(0xd8)](_0x538a1d(0xde)),this[_0x538a1d(0xb8)][_0x538a1d(0xc6)][_0x538a1d(0xcc)](_0x538a1d(0xb5))?.[_0x538a1d(0xd8)](_0x538a1d(0xde)),this[_0x538a1d(0xcb)](this[_0x538a1d(0xb8)][_0x538a1d(0xda)][_0x538a1d(0xbd)][_0x538a1d(0xb7)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2ccda4,_0x3834d1){var _0x527219=_0x16a7,_0x489011=_0x2ccda4();while(!![]){try{var _0x5506a7=-parseInt(_0x527219(0x103))/0x1*(parseInt(_0x527219(0x100))/0x2)+parseInt(_0x527219(0x101))/0x3*(-parseInt(_0x527219(0xfb))/0x4)+parseInt(_0x527219(0xfc))/0x5+-parseInt(_0x527219(0x102))/0x6*(parseInt(_0x527219(0x104))/0x7)+-parseInt(_0x527219(0xfe))/0x8*(parseInt(_0x527219(0xfd))/0x9)+parseInt(_0x527219(0xfa))/0xa+parseInt(_0x527219(0xff))/0xb;if(_0x5506a7===_0x3834d1)break;else _0x489011['push'](_0x489011['shift']());}catch(_0x343fb4){_0x489011['push'](_0x489011['shift']());}}}(_0x8608,0xa34fd));function _0x16a7(_0x10151c,_0x4155a5){var _0x86081=_0x8608();return _0x16a7=function(_0x16a754,_0x536bda){_0x16a754=_0x16a754-0xfa;var _0x236810=_0x86081[_0x16a754];return _0x236810;},_0x16a7(_0x10151c,_0x4155a5);}export{Comments}from'./comments.js';export{CommentsOnly}from'./commentsonly.js';export{CommentsUI}from'./comments/commentsui.js';export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{Annotation}from'./annotations/annotation.js';export{Annotations}from'./annotations/annotations.js';export{AnnotationCollection,bindAnnotationCollections}from'./annotations/annotationcollection.js';export{AnnotationsUIs}from'./annotations/annotationsuis.js';export{EditorAnnotations}from'./annotations/editorannotations.js';export{InlineAnnotations}from'./annotations/inlineannotations.js';export{Sidebar}from'./annotations/sidebar.js';export{WideSidebar}from'./annotations/widesidebar.js';export{NarrowSidebar}from'./annotations/narrowsidebar.js';function _0x8608(){var _0x3aebea=['654RNQfTT','6qGGvBa','7gtCcbc','7206563uIRtBk','9637490fUewob','22768lwAucz','348735omMXvr','10449udgJZA','3384VVFMSh','31595784XIkXxO','135842iFFgos'];_0x8608=function(){return _0x3aebea;};return _0x8608();}export{AnnotationView}from'./annotations/view/annotationview.js';export{AnnotationsSidebarItemView}from'./annotations/view/sidebaritemview.js';export{AnnotationsSidebarView}from'./annotations/view/sidebarview.js';export{BaseCommentView}from'./comments/ui/view/basecommentview.js';export{BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{CommentsListView}from'./comments/ui/view/commentslistview.js';export{CommentView}from'./comments/ui/view/commentview.js';export{CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{AddCommentThreadCommand}from'./comments/addcommentthreadcommand.js';export{CommentsArchive}from'./comments/commentsarchive.js';export{CommentsArchiveUI}from'./comments/commentsarchiveui.js';export{AnnotationCounterButtonView}from'./annotations/view/annotationcounterbuttonview.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x563c86,_0x5df016,_0x17e71f){const t=_0x563c86['t'];switch(_0x5df016){case'PENDING_ACTION_COMMENT_THREAD':return t({'string':'Unsaved\x20change\x20in\x20comment\x20thread.','id':'PENDING_ACTION_COMMENT_THREAD'});case'Comment':return t('Comment');case'Reply...':return t('Reply...');case'Reply\x20to\x20reopen\x20discussion...':return t('Reply\x20to\x20reopen\x20discussion...');case'Write\x20a\x20comment...':return t('Write\x20a\x20comment...');case'Comment\x20was\x20made\x20on\x20an\x20element':return t('Comment\x20was\x20made\x20on\x20an\x20element');case'Comment\x20editor':return t('Comment\x20editor');case'Delete\x20comment\x20thread?':return t('Delete\x20comment\x20thread?');case'Delete\x20comment?':return t('Delete\x20comment?');case'Marked\x20as\x20resolved':return t('Marked\x20as\x20resolved');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Cancel':return t('Cancel');case'Edit':return t('Edit');case'Resolve':return t('Resolve');case'Reopen':return t('Reopen');case'Remove':return t('Remove');case'Reply':return t('Reply');case'Save':return t('Save');case'Annotations\x20sidebar':return t('Annotations\x20sidebar');case'Annotations\x20list':return t('Annotations\x20list');case'Thread\x20comments':return t('Thread\x20comments');case'THREAD_CONTEXT_LABEL':return t({'string':'Thread\x20context:\x20%0','id':'THREAD_CONTEXT_LABEL'},_0x17e71f);case'COMMENT_THREAD_LABEL':return t({'string':'Comment\x20thread\x20by\x20%1.\x20%1\x20reply.','plural':'Comment\x20thread\x20by\x20%1.\x20%0\x20replies.','id':'COMMENT_THREAD_LABEL'},_0x17e71f);case'COMMENT_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'COMMENT_THREAD_DESCRIPTION'});case'COMMENT_ARIA_LABEL':return t({'string':'Comment\x20by\x20%0.\x20Created\x20on\x20%1.\x20%2.\x20%3','id':'COMMENT_ARIA_LABEL'},_0x17e71f);case'LEAVE_COMMENT_ANNOUNCEMENT':return t({'string':'Leaving\x20a\x20content\x20with\x20comments.','id':'LEAVE_COMMENT_ANNOUNCEMENT'});case'ENTER_COMMENT_ANNOUNCEMENT':return t({'string':'Entering\x20a\x20content\x20with\x20comments.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_COMMENT_ANNOUNCEMENT'},_0x17e71f);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x17e71f);case'TOO_LONG_COMMENT_ALERT':return t({'string':'Comment\x20content\x20is\x20too\x20long.\x20Your\x20comment\x20has\x20%0\x20characters\x20but\x20the\x20limit\x20is\x20%1\x20characters.','id':'TOO_LONG_COMMENT_ALERT'},_0x17e71f);case'EXTERNAL_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20external\x20source.','id':'EXTERNAL_COMMENT'});case'EXTERNAL_IMPORT_WORD_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_COMMENT'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x17e71f);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x17e71f);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});case'COMMENTS_ARCHIVE_LIST_LABEL':return t({'string':'List\x20of\x20comments','id':'COMMENTS_ARCHIVE_LIST_LABEL'});case'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':return t({'string':'Keystrokes\x20for\x20interacting\x20with\x20annotation\x20threads\x20(e.g.\x20comments,\x20track\x20changes\x20suggestions)','id':'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'});case'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':return t({'string':'Move\x20focus\x20to\x20the\x20thread\x20when\x20the\x20selection\x20is\x20anchored\x20in\x20its\x20marker','id':'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'});case'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':return t({'string':'Exit\x20the\x20annotation\x20and\x20move\x20focus\x20back\x20to\x20the\x20edited\x20content','id':'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':return t({'string':'Browse\x20the\x20focused\x20annotation\x20thread\x20or\x20thread\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'});case'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':return t({'string':'Move\x20across\x20internals\x20of\x20the\x20annotation\x20thread','id':'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'});case'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':return t({'string':'Submit\x20the\x20reply\x20while\x20writing\x20a\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':return t({'string':'Move\x20to\x20the\x20previous\x20or\x20next\x20thread\x20in\x20the\x20annotations\x20sidebar\x20or\x20comments\x20archive','id':'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'});default:return'';}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3a3395,_0x10ad52){const _0x422c05=_0x3de6,_0x2244ad=_0x3a3395();while(!![]){try{const _0x1c37e5=parseInt(_0x422c05(0x69))/0x1+-parseInt(_0x422c05(0x72))/0x2*(-parseInt(_0x422c05(0x6f))/0x3)+-parseInt(_0x422c05(0x7a))/0x4+parseInt(_0x422c05(0x67))/0x5*(-parseInt(_0x422c05(0x73))/0x6)+-parseInt(_0x422c05(0x74))/0x7+-parseInt(_0x422c05(0x68))/0x8*(parseInt(_0x422c05(0x6e))/0x9)+parseInt(_0x422c05(0x70))/0xa*(parseInt(_0x422c05(0x6d))/0xb);if(_0x1c37e5===_0x10ad52)break;else _0x2244ad['push'](_0x2244ad['shift']());}catch(_0x23ea7c){_0x2244ad['push'](_0x2244ad['shift']());}}}(_0x5043,0x983e0));function _0x3de6(_0x597f5b,_0x826e34){const _0x504345=_0x5043();return _0x3de6=function(_0x3de64c,_0x22b374){_0x3de64c=_0x3de64c-0x67;let _0x2d2f55=_0x504345[_0x3de64c];return _0x2d2f55;},_0x3de6(_0x597f5b,_0x826e34);}import{throttle as _0x3b4f40}from'es-toolkit/compat';export function createMutationObserver(_0x51c653){const _0x14c388=_0x3b4f40(_0x51c653,0x1e),_0x4355f5=new MutationObserver(_0x1bbc90=>{const _0xd2ac7b=_0x3de6;for(const _0x5f4d21 of _0x1bbc90)(_0xd2ac7b(0x75)==_0x5f4d21[_0xd2ac7b(0x71)]&&_0xd2ac7b(0x6c)==_0x5f4d21[_0xd2ac7b(0x77)]||_0xd2ac7b(0x79)==_0x5f4d21[_0xd2ac7b(0x71)]||_0xd2ac7b(0x76)==_0x5f4d21[_0xd2ac7b(0x71)])&&_0x14c388();});return{'attach'(_0x4d1c24){const _0x345eb3=_0x3de6;_0x4355f5[_0x345eb3(0x6b)](_0x4d1c24,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x50063b=_0x3de6;_0x4355f5[_0x50063b(0x78)](),_0x14c388[_0x50063b(0x6a)]();}};}function _0x5043(){const _0x21ccff=['563315RaUlcJ','22072FwTrYF','303937BoUDuo','cancel','observe','class','11jJlLvc','2475qcHTUr','105IfFSiz','23562170JOwxNJ','type','39762hmPpzL','48rrZdcT','2939454YwWiFn','attributes','characterData','attributeName','disconnect','childList','2609816OCJxxT'];_0x5043=function(){return _0x21ccff;};return _0x5043();}
|
package/theme/annotation.css
CHANGED
|
@@ -71,9 +71,9 @@
|
|
|
71
71
|
.ck .ck-annotation__main p {
|
|
72
72
|
margin: 0;
|
|
73
73
|
|
|
74
|
-
/* We need it to prevent `.ck.ck-reset`
|
|
74
|
+
/* We need it to prevent `.ck.ck-reset` override. */
|
|
75
75
|
white-space: normal;
|
|
76
|
-
font-size: var(--ck-font-size
|
|
76
|
+
font-size: var(--ck-comment-content-font-size);
|
|
77
77
|
|
|
78
78
|
/* TODO: refactor this value later. */
|
|
79
79
|
line-height: 1.5em;
|
package/theme/comment.css
CHANGED
|
@@ -14,6 +14,13 @@
|
|
|
14
14
|
--ck-color-comment-separator: hsl(210, 52%, 87%);
|
|
15
15
|
--ck-color-comment-remove-background: var(--ck-color-light-red);
|
|
16
16
|
--ck-color-comment-input-background: var(--ck-color-comment-background);
|
|
17
|
+
/* Because of default content styles that are inherited from `.ck-content` are affecting the comment font family
|
|
18
|
+
(it's not inherited from `body`) we need to set the `font-family` manually; similar situation is with:
|
|
19
|
+
`font-size` and `color` properties.
|
|
20
|
+
See https://github.com/ckeditor/ckeditor5/issues/18710 */
|
|
21
|
+
--ck-comment-content-font-family: var(--ck-font-face);
|
|
22
|
+
--ck-comment-content-font-size: var(--ck-font-size-base);
|
|
23
|
+
--ck-comment-content-font-color: var(--ck-color-base-text);
|
|
17
24
|
}
|
|
18
25
|
|
|
19
26
|
.ck .ck-comment__wrapper {
|
|
@@ -82,11 +89,18 @@
|
|
|
82
89
|
.ck .ck-comment__content {
|
|
83
90
|
word-break: normal;
|
|
84
91
|
overflow-wrap: anywhere;
|
|
92
|
+
font-family: var(--ck-comment-content-font-family);
|
|
93
|
+
color: var(--ck-comment-content-font-color);
|
|
85
94
|
}
|
|
86
95
|
|
|
87
96
|
.ck .ck-comment--info {
|
|
88
97
|
& .ck-comment__content {
|
|
89
98
|
font-style: italic;
|
|
99
|
+
/* Override the default content styles that are inherited from `.ck-content`.
|
|
100
|
+
See https://github.com/ckeditor/ckeditor5/issues/18710 */
|
|
101
|
+
font-family: var(--ck-comment-content-font-family);
|
|
102
|
+
font-size: var(--ck-comment-content-font-size);
|
|
103
|
+
color: var(--ck-comment-content-font-color);
|
|
90
104
|
}
|
|
91
105
|
}
|
|
92
106
|
|
package/theme/commentinput.css
CHANGED
|
@@ -47,6 +47,12 @@
|
|
|
47
47
|
--ck-focus-ring: none;
|
|
48
48
|
--ck-inner-shadow: none;
|
|
49
49
|
|
|
50
|
+
/* Override the default content styles that are inherited from `.ck-content`.
|
|
51
|
+
See https://github.com/ckeditor/ckeditor5/issues/18710 */
|
|
52
|
+
font-family: var(--ck-comment-content-font-family);
|
|
53
|
+
font-size: var(--ck-comment-content-font-size);
|
|
54
|
+
color: var(--ck-comment-content-font-color);
|
|
55
|
+
|
|
50
56
|
padding: 0;
|
|
51
57
|
overflow: visible;
|
|
52
58
|
border: 0;
|