@ckeditor/ckeditor5-comments 47.1.0 → 47.2.0-alpha.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.
- package/build/comments.js +1 -1
- 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/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x47b1(_0x36b45d,_0x241160){const _0x4177dd=_0x4177();return _0x47b1=function(_0x47b13f,_0x591a0e){_0x47b13f=_0x47b13f-0x19f;let _0x5924ed=_0x4177dd[_0x47b13f];return _0x5924ed;},_0x47b1(_0x36b45d,_0x241160);}const _0x5de4de=_0x47b1;function _0x4177(){const _0x3b50a7=['isEditMode','1912170ZvbSWt','_config','set','focusFirst','destroy','32ifoDZv','_rearrangeCollapse','removeComment','editorDestroyed','ck-hidden','collapse','editorReady','render','expand','_handleInfoComment','resolved','resolvedAt','remove','change','refreshVisibleViews','element','visibleViews','insert','Thread\x20comments','_model','_handleNewCommentModel','commentUpdated','forEach','from','resolvedBy','equal','34137939nOWFwR','authoredAt','keystrokes','change:isResolved','_setupKeyboardNavigation','change:hasDirtyComment','comments','hasDirtyComment','resolveCommentThread','focusTracker','CommentView','some','1975gZHAsJ','add','_updateHasDirtyComment','maxThreadTotalWeight','commentViews','resolvedCommentView','count','arrowdown','setTemplate','removed','focusCycler','ck-thread__comments','maxCommentCharsWhenCollapsed','target','length','_handleRemoveCommentModel','focusLast','locale','1gMjBVA','change:isEditMode','change:isActive','updateComment','map','_findOptimalIndex','6817284KbKKlN','viewUid','added','listenTo','weight','12677230dkosnX','1638217yeVPIb','isActive','4853607ASzcnQ','editorConfig','_calculatePosition','delete','delegate','9JHhBXG','5180pJWiSd','_rearrangeExpand','_shouldCollapse','formatDateTime','_collapsedCommentsView','reverse','Marked\x20as\x20resolved','bindTemplate','focus','bind','includes','arrowup','stopListening','get','maxCommentsWhenCollapsed','createCollection'];_0x4177=function(){return _0x3b50a7;};return _0x4177();}(function(_0x88f424,_0x4c940d){const _0x335d10=_0x47b1,_0x50f9db=_0x88f424();while(!![]){try{const _0x41e9b9=-parseInt(_0x335d10(0x1f8))/0x1*(parseInt(_0x335d10(0x1bb))/0x2)+-parseInt(_0x335d10(0x1a4))/0x3+-parseInt(_0x335d10(0x1aa))/0x4*(parseInt(_0x335d10(0x1e6))/0x5)+parseInt(_0x335d10(0x1fe))/0x6+-parseInt(_0x335d10(0x1a2))/0x7*(-parseInt(_0x335d10(0x1c0))/0x8)+parseInt(_0x335d10(0x1a9))/0x9*(-parseInt(_0x335d10(0x1a1))/0xa)+parseInt(_0x335d10(0x1da))/0xb;if(_0x41e9b9===_0x4c940d)break;else _0x50f9db['push'](_0x50f9db['shift']());}catch(_0x27bb69){_0x50f9db['push'](_0x50f9db['shift']());}}}(_0x4177,0xc8d39));import{View as _0x3c8c9e,FocusCycler as _0x7f0db3}from'ckeditor5/src/ui.js';import{diff as _0x12e35b,Collection as _0x21db82,FocusTracker as _0x2ad3df,KeystrokeHandler as _0x3dc76f}from'ckeditor5/src/utils.js';import{getTranslation as _0x166160}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x1f7549}from'./collapsedcommentsview.js';export class CommentsListView extends _0x3c8c9e{[_0x5de4de(0x1ea)];[_0x5de4de(0x1eb)];[_0x5de4de(0x1e3)];[_0x5de4de(0x1dc)];[_0x5de4de(0x1f0)];[_0x5de4de(0x1d3)];[_0x5de4de(0x1bc)];[_0x5de4de(0x1ae)];constructor(_0xade647,_0x3f59f2,_0x5ed98b){const _0x76acbc=_0x5de4de;super(_0xade647);const _0x2275e0=this[_0x76acbc(0x1b1)];this[_0x76acbc(0x1bd)](_0x76acbc(0x1e1),!0x1),this[_0x76acbc(0x1bd)](_0x76acbc(0x1f4),_0x3f59f2[_0x76acbc(0x1e0)][_0x76acbc(0x1f4)]),this[_0x76acbc(0x1bd)](_0x76acbc(0x1a3),!0x1),this[_0x76acbc(0x1d3)]=_0x3f59f2,this[_0x76acbc(0x1bc)]=_0x5ed98b,this[_0x76acbc(0x1ea)]=this[_0x76acbc(0x1b9)](),this[_0x76acbc(0x1d0)]=this[_0x76acbc(0x1b9)](),this[_0x76acbc(0x1eb)]=null,this[_0x76acbc(0x1e3)]=new _0x2ad3df(),this[_0x76acbc(0x1dc)]=new _0x3dc76f(),this[_0x76acbc(0x1f0)]=new _0x7f0db3({'focusables':this[_0x76acbc(0x1ea)],'focusTracker':this[_0x76acbc(0x1e3)],'keystrokeHandler':this[_0x76acbc(0x1dc)],'keystrokeHandlerOptions':{'filter':_0x32002c=>this[_0x76acbc(0x1ea)][_0x76acbc(0x1fc)](_0x2222d6=>_0x2222d6[_0x76acbc(0x1cf)])[_0x76acbc(0x1b4)](_0x32002c[_0x76acbc(0x1f3)])},'actions':{'focusPrevious':_0x76acbc(0x1b5),'focusNext':_0x76acbc(0x1ed)}}),this[_0x76acbc(0x1ae)]=new _0x1f7549(_0xade647),this[_0x76acbc(0x1ae)][_0x76acbc(0x1b3)](_0x76acbc(0x1ec))['to'](this,_0x76acbc(0x1f4),_0x422782=>_0x422782-this[_0x76acbc(0x1bc)][_0x76acbc(0x1b8)]);for(const _0x348427 of _0x3f59f2[_0x76acbc(0x1e0)])this[_0x76acbc(0x1d4)](_0x348427);this[_0x76acbc(0x1c9)](),this[_0x76acbc(0x19f)](_0x3f59f2[_0x76acbc(0x1e0)],_0x76acbc(0x1e7),(_0x24dd93,_0x1a7759)=>{const _0x53df67=_0x76acbc,_0x5986cd=this[_0x53df67(0x1a6)](_0x1a7759);this[_0x53df67(0x1f4)]++,this[_0x53df67(0x1d4)](_0x1a7759,_0x5986cd),this[_0x53df67(0x1ce)]();}),this[_0x76acbc(0x19f)](_0x3f59f2[_0x76acbc(0x1e0)],_0x76acbc(0x1cc),(_0x2751d0,_0x4611a1)=>{const _0x252b3d=_0x76acbc;this[_0x252b3d(0x1f4)]--,this[_0x252b3d(0x1f5)](_0x4611a1),this[_0x252b3d(0x1ce)]();}),this[_0x76acbc(0x19f)](_0x3f59f2,_0x76acbc(0x1d5),()=>this[_0x76acbc(0x1ce)]()),this[_0x76acbc(0x19f)](_0x3f59f2,_0x76acbc(0x1dd),()=>this[_0x76acbc(0x1c9)]()),this['on'](_0x76acbc(0x1fa),()=>this[_0x76acbc(0x1ce)]()),this['on'](_0x76acbc(0x1df),()=>this[_0x76acbc(0x1ce)]()),this[_0x76acbc(0x1ee)]({'tag':'ul','attributes':{'class':[_0x76acbc(0x1f1),_0x2275e0['if'](_0x76acbc(0x1f4),_0x76acbc(0x1c4),_0x33b973=>!_0x33b973)],'aria-label':_0x166160(_0xade647,_0x76acbc(0x1d2))},'children':this[_0x76acbc(0x1d0)]});}get[_0x5de4de(0x1ac)](){const _0x3b6801=_0x5de4de;return this[_0x3b6801(0x1d3)][_0x3b6801(0x1a0)]>this[_0x3b6801(0x1bc)][_0x3b6801(0x1e9)]&&!this[_0x3b6801(0x1a3)]&&!this[_0x3b6801(0x1e1)];}[_0x5de4de(0x1c7)](){const _0x2c2eee=_0x5de4de;super[_0x2c2eee(0x1c7)](),this[_0x2c2eee(0x1ce)](),this[_0x2c2eee(0x1de)]();}[_0x5de4de(0x1b2)](_0x2df98a){const _0xa44896=_0x5de4de;-0x1===_0x2df98a?this[_0xa44896(0x1f0)][_0xa44896(0x1f6)]():this[_0xa44896(0x1f0)][_0xa44896(0x1be)]();}[_0x5de4de(0x1bf)](){const _0x3c7380=_0x5de4de;this[_0x3c7380(0x1ae)][_0x3c7380(0x1bf)]();for(const _0x3c3b52 of this[_0x3c7380(0x1ea)])_0x3c3b52[_0x3c7380(0x1bf)]();super[_0x3c7380(0x1bf)]();}[_0x5de4de(0x1ce)](){const _0x2f770b=_0x5de4de;this[_0x2f770b(0x1ac)]?this[_0x2f770b(0x1c1)]():this[_0x2f770b(0x1ab)]();}[_0x5de4de(0x1d4)](_0x2aa447,_0x5b66d3){const _0x4869c6=_0x5de4de,_0x1e4cde=new this[(_0x4869c6(0x1bc))][(_0x4869c6(0x1e4))](this[_0x4869c6(0x1f7)],_0x2aa447,{'maxCommentCharsWhenCollapsed':this[_0x4869c6(0x1bc)][_0x4869c6(0x1f2)],'formatDateTime':this[_0x4869c6(0x1bc)][_0x4869c6(0x1ad)],'editorConfig':this[_0x4869c6(0x1bc)][_0x4869c6(0x1a5)]});_0x1e4cde[_0x4869c6(0x1ff)]=_0x2aa447['id'],_0x1e4cde[_0x4869c6(0x1a8)](_0x4869c6(0x1c2))['to'](this),_0x1e4cde[_0x4869c6(0x1a8)](_0x4869c6(0x1fb))['to'](this),_0x1e4cde[_0x4869c6(0x1a8)](_0x4869c6(0x1e2))['to'](this),_0x1e4cde[_0x4869c6(0x1a8)](_0x4869c6(0x1c6))['to'](this),_0x1e4cde[_0x4869c6(0x1a8)](_0x4869c6(0x1c3))['to'](this),this[_0x4869c6(0x19f)](_0x1e4cde,_0x4869c6(0x1f9),()=>this[_0x4869c6(0x1e8)]()),this[_0x4869c6(0x1ea)][_0x4869c6(0x1e7)](_0x1e4cde,_0x5b66d3);}[_0x5de4de(0x1a6)](_0x26d87c){const _0x5d9d88=_0x5de4de,_0x4ce43f=this[_0x5d9d88(0x1d3)][_0x5d9d88(0x1fd)](_0x26d87c);return this[_0x5d9d88(0x1eb)]?this[_0x5d9d88(0x1eb)][_0x5d9d88(0x1db)]>_0x26d87c[_0x5d9d88(0x1db)]?_0x4ce43f-0x1:_0x4ce43f:_0x4ce43f-0x1;}[_0x5de4de(0x1c9)](){const _0x53e305=_0x5de4de;if(this[_0x53e305(0x1d3)][_0x53e305(0x1d8)]&&this[_0x53e305(0x1d3)][_0x53e305(0x1cb)]){const _0x4a361c={'id':_0x53e305(0x1ca),'author':this[_0x53e305(0x1d3)][_0x53e305(0x1d8)],'authoredAt':this[_0x53e305(0x1d3)][_0x53e305(0x1cb)],'content':_0x166160(this[_0x53e305(0x1f7)],_0x53e305(0x1b0)),'attributes':{}};this[_0x53e305(0x1eb)]=new this[(_0x53e305(0x1bc))][(_0x53e305(0x1e4))](this[_0x53e305(0x1f7)],_0x4a361c,{'maxCommentCharsWhenCollapsed':this[_0x53e305(0x1bc)][_0x53e305(0x1f2)],'formatDateTime':this[_0x53e305(0x1bc)][_0x53e305(0x1ad)],'editorConfig':this[_0x53e305(0x1bc)][_0x53e305(0x1a5)],'isSystemComment':!0x0}),this[_0x53e305(0x1ea)][_0x53e305(0x1e7)](this[_0x53e305(0x1eb)],this[_0x53e305(0x1d3)][_0x53e305(0x1fd)](_0x4a361c));}else this[_0x53e305(0x1eb)]&&(this[_0x53e305(0x1ea)][_0x53e305(0x1cc)](this[_0x53e305(0x1eb)]),this[_0x53e305(0x1eb)][_0x53e305(0x1bf)](),this[_0x53e305(0x1eb)]=null);this[_0x53e305(0x1ce)]();}[_0x5de4de(0x1f5)](_0x52aeed){const _0x41ffab=_0x5de4de,_0x54400f=this[_0x41ffab(0x1ea)][_0x41ffab(0x1cc)](_0x52aeed['id']);this[_0x41ffab(0x1b6)](_0x54400f),_0x54400f[_0x41ffab(0x1ba)]&&this[_0x41ffab(0x1e8)](),_0x54400f[_0x41ffab(0x1bf)]();}[_0x5de4de(0x1e8)](){const _0x2bf649=_0x5de4de;this[_0x2bf649(0x1e1)]=Array[_0x2bf649(0x1d7)](this[_0x2bf649(0x1ea)])[_0x2bf649(0x1e5)](_0xcd7e38=>_0xcd7e38[_0x2bf649(0x1ba)]);}[_0x5de4de(0x1c1)](){const _0x9f9744=_0x5de4de,_0x7bba5d=function(_0x3a78e8){const _0x32586f=_0x47b1,_0x438b18=new _0x21db82();for(const _0x2792ba of _0x3a78e8)_0x438b18[_0x32586f(0x1e7)](_0x2792ba);return _0x438b18;}(this[_0x9f9744(0x1ea)]),_0x54d529=this[_0x9f9744(0x1ae)][_0x9f9744(0x1ec)];for(let _0x457e3e=0x1;_0x457e3e<=_0x54d529;_0x457e3e++)_0x7bba5d[_0x9f9744(0x1cc)](0x1);for(const _0x3dca3f of _0x7bba5d)_0x3dca3f[_0x9f9744(0x1c5)]();_0x54d529>0x0&&_0x7bba5d[_0x9f9744(0x1e7)](this[_0x9f9744(0x1ae)],0x1),ns(_0x12e35b(Array[_0x9f9744(0x1d7)](this[_0x9f9744(0x1d0)]),Array[_0x9f9744(0x1d7)](_0x7bba5d)),this[_0x9f9744(0x1d0)],_0x7bba5d);}[_0x5de4de(0x1ab)](){const _0xac4418=_0x5de4de;ns(_0x12e35b(Array[_0xac4418(0x1d7)](this[_0xac4418(0x1d0)]),Array[_0xac4418(0x1d7)](this[_0xac4418(0x1ea)])),this[_0xac4418(0x1d0)],this[_0xac4418(0x1ea)]);for(const _0x3def2d of this[_0xac4418(0x1d0)])_0x3def2d[_0xac4418(0x1c8)]();}[_0x5de4de(0x1de)](){const _0x5f5229=_0x5de4de;this[_0x5f5229(0x1ea)][_0x5f5229(0x1d6)](_0x5356be=>{const _0x11045e=_0x5f5229;this[_0x11045e(0x1e3)][_0x11045e(0x1e7)](_0x5356be[_0x11045e(0x1cf)]),this[_0x11045e(0x1dc)][_0x11045e(0x19f)](_0x5356be[_0x11045e(0x1cf)]);}),this[_0x5f5229(0x1ea)]['on'](_0x5f5229(0x1cd),(_0x228f79,_0x1fae9d)=>{const _0xa832d7=_0x5f5229;for(const _0x48d257 of _0x1fae9d[_0xa832d7(0x1ef)])this[_0xa832d7(0x1e3)][_0xa832d7(0x1cc)](_0x48d257[_0xa832d7(0x1cf)]),this[_0xa832d7(0x1dc)][_0xa832d7(0x1b6)](_0x48d257[_0xa832d7(0x1cf)]);for(const _0x1aae31 of Array[_0xa832d7(0x1d7)](_0x1fae9d[_0xa832d7(0x200)])[_0xa832d7(0x1af)]())this[_0xa832d7(0x1e3)][_0xa832d7(0x1e7)](_0x1aae31[_0xa832d7(0x1cf)]),this[_0xa832d7(0x1dc)][_0xa832d7(0x19f)](_0x1aae31[_0xa832d7(0x1cf)]);});}}function ns(_0x14f72a,_0x1beea5,_0x5f17f8){const _0x179d71=_0x5de4de;let _0x131fb8=0x0;for(const _0x4b9cd2 of _0x14f72a)switch(_0x4b9cd2){case _0x179d71(0x1d1):_0x1beea5[_0x179d71(0x1e7)](_0x5f17f8[_0x179d71(0x1b7)](_0x131fb8),_0x131fb8),_0x131fb8++;break;case _0x179d71(0x1a7):_0x1beea5[_0x179d71(0x1cc)](_0x131fb8);break;case _0x179d71(0x1d9):_0x131fb8++;}}
|
|
23
|
+
const _0x53f28d=_0x7c22;function _0x4080(){const _0x3cd9d2=['remove','added','arrowup','commentViews','set','count','_shouldCollapse','focusLast','focusFirst','1630676UEnSfL','removeComment','setTemplate','_config','resolvedBy','focus','comments','locale','Thread\x20comments','ck-hidden','maxCommentCharsWhenCollapsed','editorDestroyed','12oHgjdR','forEach','focusCycler','get','Marked\x20as\x20resolved','focusTracker','from','bindTemplate','_setupKeyboardNavigation','_collapsedCommentsView','_updateHasDirtyComment','commentUpdated','createCollection','ck-thread__comments','includes','change','delete','target','insert','change:isActive','length','collapse','updateComment','_handleNewCommentModel','delegate','_rearrangeCollapse','CommentView','listenTo','maxCommentsWhenCollapsed','destroy','1550691Nscwsn','some','5qwQUWu','isEditMode','_handleInfoComment','_model','add','_handleRemoveCommentModel','reverse','change:isEditMode','isActive','resolvedAt','authoredAt','equal','hasDirtyComment','bind','maxThreadTotalWeight','88skNojE','_rearrangeExpand','editorReady','editorConfig','arrowdown','keystrokes','resolveCommentThread','stopListening','viewUid','1076JOwMgT','change:hasDirtyComment','visibleViews','81170teQpCQ','781809mqMoNL','_findOptimalIndex','formatDateTime','1012600BfCXtr','weight','element','map','change:isResolved','resolvedCommentView','render','resolved','839XOXjCh','expand','refreshVisibleViews','removed','1058550JcoiSR','_calculatePosition'];_0x4080=function(){return _0x3cd9d2;};return _0x4080();}(function(_0x94e2e,_0x350ad0){const _0x432c80=_0x7c22,_0x365a15=_0x94e2e();while(!![]){try{const _0x3629f8=-parseInt(_0x432c80(0x11e))/0x1*(-parseInt(_0x432c80(0x10f))/0x2)+parseInt(_0x432c80(0x122))/0x3+parseInt(_0x432c80(0x12d))/0x4*(-parseInt(_0x432c80(0x159))/0x5)+-parseInt(_0x432c80(0x139))/0x6*(parseInt(_0x432c80(0x113))/0x7)+-parseInt(_0x432c80(0x116))/0x8+parseInt(_0x432c80(0x157))/0x9+parseInt(_0x432c80(0x112))/0xa*(parseInt(_0x432c80(0x106))/0xb);if(_0x3629f8===_0x350ad0)break;else _0x365a15['push'](_0x365a15['shift']());}catch(_0x3f9d81){_0x365a15['push'](_0x365a15['shift']());}}}(_0x4080,0x454c9));import{View as _0x3d93fc,FocusCycler as _0x338681}from'ckeditor5/src/ui.js';import{diff as _0x49aba9,Collection as _0x2934ab,FocusTracker as _0x1530ee,KeystrokeHandler as _0x550341}from'ckeditor5/src/utils.js';import{getTranslation as _0x30563d}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x39e415}from'./collapsedcommentsview.js';function _0x7c22(_0x2ea613,_0xb9ea0){const _0x40808c=_0x4080();return _0x7c22=function(_0x7c22ab,_0x538bf6){_0x7c22ab=_0x7c22ab-0x105;let _0x477e6d=_0x40808c[_0x7c22ab];return _0x477e6d;},_0x7c22(_0x2ea613,_0xb9ea0);}export class CommentsListView extends _0x3d93fc{[_0x53f28d(0x127)];[_0x53f28d(0x11b)];[_0x53f28d(0x13e)];[_0x53f28d(0x10b)];[_0x53f28d(0x13b)];[_0x53f28d(0x15c)];[_0x53f28d(0x130)];[_0x53f28d(0x142)];constructor(_0x18c3aa,_0x2f4446,_0xec0dec){const _0x7cb2ab=_0x53f28d;super(_0x18c3aa);const _0x4669d6=this[_0x7cb2ab(0x140)];this[_0x7cb2ab(0x128)](_0x7cb2ab(0x165),!0x1),this[_0x7cb2ab(0x128)](_0x7cb2ab(0x14d),_0x2f4446[_0x7cb2ab(0x133)][_0x7cb2ab(0x14d)]),this[_0x7cb2ab(0x128)](_0x7cb2ab(0x161),!0x1),this[_0x7cb2ab(0x15c)]=_0x2f4446,this[_0x7cb2ab(0x130)]=_0xec0dec,this[_0x7cb2ab(0x127)]=this[_0x7cb2ab(0x145)](),this[_0x7cb2ab(0x111)]=this[_0x7cb2ab(0x145)](),this[_0x7cb2ab(0x11b)]=null,this[_0x7cb2ab(0x13e)]=new _0x1530ee(),this[_0x7cb2ab(0x10b)]=new _0x550341(),this[_0x7cb2ab(0x13b)]=new _0x338681({'focusables':this[_0x7cb2ab(0x127)],'focusTracker':this[_0x7cb2ab(0x13e)],'keystrokeHandler':this[_0x7cb2ab(0x10b)],'keystrokeHandlerOptions':{'filter':_0x48633f=>this[_0x7cb2ab(0x127)][_0x7cb2ab(0x119)](_0x13ca7f=>_0x13ca7f[_0x7cb2ab(0x118)])[_0x7cb2ab(0x147)](_0x48633f[_0x7cb2ab(0x14a)])},'actions':{'focusPrevious':_0x7cb2ab(0x126),'focusNext':_0x7cb2ab(0x10a)}}),this[_0x7cb2ab(0x142)]=new _0x39e415(_0x18c3aa),this[_0x7cb2ab(0x142)][_0x7cb2ab(0x166)](_0x7cb2ab(0x129))['to'](this,_0x7cb2ab(0x14d),_0x130558=>_0x130558-this[_0x7cb2ab(0x130)][_0x7cb2ab(0x155)]);for(const _0x345310 of _0x2f4446[_0x7cb2ab(0x133)])this[_0x7cb2ab(0x150)](_0x345310);this[_0x7cb2ab(0x15b)](),this[_0x7cb2ab(0x154)](_0x2f4446[_0x7cb2ab(0x133)],_0x7cb2ab(0x15d),(_0x208701,_0x2eb9e8)=>{const _0x53ef63=_0x7cb2ab,_0x348cac=this[_0x53ef63(0x123)](_0x2eb9e8);this[_0x53ef63(0x14d)]++,this[_0x53ef63(0x150)](_0x2eb9e8,_0x348cac),this[_0x53ef63(0x120)]();}),this[_0x7cb2ab(0x154)](_0x2f4446[_0x7cb2ab(0x133)],_0x7cb2ab(0x124),(_0x578949,_0x246d90)=>{const _0x193601=_0x7cb2ab;this[_0x193601(0x14d)]--,this[_0x193601(0x15e)](_0x246d90),this[_0x193601(0x120)]();}),this[_0x7cb2ab(0x154)](_0x2f4446,_0x7cb2ab(0x144),()=>this[_0x7cb2ab(0x120)]()),this[_0x7cb2ab(0x154)](_0x2f4446,_0x7cb2ab(0x11a),()=>this[_0x7cb2ab(0x15b)]()),this['on'](_0x7cb2ab(0x14c),()=>this[_0x7cb2ab(0x120)]()),this['on'](_0x7cb2ab(0x110),()=>this[_0x7cb2ab(0x120)]()),this[_0x7cb2ab(0x12f)]({'tag':'ul','attributes':{'class':[_0x7cb2ab(0x146),_0x4669d6['if'](_0x7cb2ab(0x14d),_0x7cb2ab(0x136),_0x424f78=>!_0x424f78)],'aria-label':_0x30563d(_0x18c3aa,_0x7cb2ab(0x135))},'children':this[_0x7cb2ab(0x111)]});}get[_0x53f28d(0x12a)](){const _0x1e1f50=_0x53f28d;return this[_0x1e1f50(0x15c)][_0x1e1f50(0x117)]>this[_0x1e1f50(0x130)][_0x1e1f50(0x105)]&&!this[_0x1e1f50(0x161)]&&!this[_0x1e1f50(0x165)];}[_0x53f28d(0x11c)](){const _0xa6516e=_0x53f28d;super[_0xa6516e(0x11c)](),this[_0xa6516e(0x120)](),this[_0xa6516e(0x141)]();}[_0x53f28d(0x132)](_0x25bcc3){const _0x24fb5b=_0x53f28d;-0x1===_0x25bcc3?this[_0x24fb5b(0x13b)][_0x24fb5b(0x12b)]():this[_0x24fb5b(0x13b)][_0x24fb5b(0x12c)]();}[_0x53f28d(0x156)](){const _0x3f070d=_0x53f28d;this[_0x3f070d(0x142)][_0x3f070d(0x156)]();for(const _0x260979 of this[_0x3f070d(0x127)])_0x260979[_0x3f070d(0x156)]();super[_0x3f070d(0x156)]();}[_0x53f28d(0x120)](){const _0x27520c=_0x53f28d;this[_0x27520c(0x12a)]?this[_0x27520c(0x152)]():this[_0x27520c(0x107)]();}[_0x53f28d(0x150)](_0x6a938e,_0x176fea){const _0x4cae42=_0x53f28d,_0x491e88=new this[(_0x4cae42(0x130))][(_0x4cae42(0x153))](this[_0x4cae42(0x134)],_0x6a938e,{'maxCommentCharsWhenCollapsed':this[_0x4cae42(0x130)][_0x4cae42(0x137)],'formatDateTime':this[_0x4cae42(0x130)][_0x4cae42(0x115)],'editorConfig':this[_0x4cae42(0x130)][_0x4cae42(0x109)]});_0x491e88[_0x4cae42(0x10e)]=_0x6a938e['id'],_0x491e88[_0x4cae42(0x151)](_0x4cae42(0x12e))['to'](this),_0x491e88[_0x4cae42(0x151)](_0x4cae42(0x14f))['to'](this),_0x491e88[_0x4cae42(0x151)](_0x4cae42(0x10c))['to'](this),_0x491e88[_0x4cae42(0x151)](_0x4cae42(0x108))['to'](this),_0x491e88[_0x4cae42(0x151)](_0x4cae42(0x138))['to'](this),this[_0x4cae42(0x154)](_0x491e88,_0x4cae42(0x160),()=>this[_0x4cae42(0x143)]()),this[_0x4cae42(0x127)][_0x4cae42(0x15d)](_0x491e88,_0x176fea);}[_0x53f28d(0x123)](_0x5b11c1){const _0x4c9333=_0x53f28d,_0x21257c=this[_0x4c9333(0x15c)][_0x4c9333(0x114)](_0x5b11c1);return this[_0x4c9333(0x11b)]?this[_0x4c9333(0x11b)][_0x4c9333(0x163)]>_0x5b11c1[_0x4c9333(0x163)]?_0x21257c-0x1:_0x21257c:_0x21257c-0x1;}[_0x53f28d(0x15b)](){const _0x5b624c=_0x53f28d;if(this[_0x5b624c(0x15c)][_0x5b624c(0x131)]&&this[_0x5b624c(0x15c)][_0x5b624c(0x162)]){const _0x419507={'id':_0x5b624c(0x11d),'author':this[_0x5b624c(0x15c)][_0x5b624c(0x131)],'authoredAt':this[_0x5b624c(0x15c)][_0x5b624c(0x162)],'content':_0x30563d(this[_0x5b624c(0x134)],_0x5b624c(0x13d)),'attributes':{}};this[_0x5b624c(0x11b)]=new this[(_0x5b624c(0x130))][(_0x5b624c(0x153))](this[_0x5b624c(0x134)],_0x419507,{'maxCommentCharsWhenCollapsed':this[_0x5b624c(0x130)][_0x5b624c(0x137)],'formatDateTime':this[_0x5b624c(0x130)][_0x5b624c(0x115)],'editorConfig':this[_0x5b624c(0x130)][_0x5b624c(0x109)],'isSystemComment':!0x0}),this[_0x5b624c(0x127)][_0x5b624c(0x15d)](this[_0x5b624c(0x11b)],this[_0x5b624c(0x15c)][_0x5b624c(0x114)](_0x419507));}else this[_0x5b624c(0x11b)]&&(this[_0x5b624c(0x127)][_0x5b624c(0x124)](this[_0x5b624c(0x11b)]),this[_0x5b624c(0x11b)][_0x5b624c(0x156)](),this[_0x5b624c(0x11b)]=null);this[_0x5b624c(0x120)]();}[_0x53f28d(0x15e)](_0x20732d){const _0x2f0772=_0x53f28d,_0xcaa711=this[_0x2f0772(0x127)][_0x2f0772(0x124)](_0x20732d['id']);this[_0x2f0772(0x10d)](_0xcaa711),_0xcaa711[_0x2f0772(0x15a)]&&this[_0x2f0772(0x143)](),_0xcaa711[_0x2f0772(0x156)]();}[_0x53f28d(0x143)](){const _0x2ed107=_0x53f28d;this[_0x2ed107(0x165)]=Array[_0x2ed107(0x13f)](this[_0x2ed107(0x127)])[_0x2ed107(0x158)](_0x2f8a98=>_0x2f8a98[_0x2ed107(0x15a)]);}[_0x53f28d(0x152)](){const _0x1309b9=_0x53f28d,_0x5575b4=function(_0x29d5bc){const _0x37f9e2=_0x7c22,_0x1e15ad=new _0x2934ab();for(const _0x24f63d of _0x29d5bc)_0x1e15ad[_0x37f9e2(0x15d)](_0x24f63d);return _0x1e15ad;}(this[_0x1309b9(0x127)]),_0x12d181=this[_0x1309b9(0x142)][_0x1309b9(0x129)];for(let _0x3284b5=0x1;_0x3284b5<=_0x12d181;_0x3284b5++)_0x5575b4[_0x1309b9(0x124)](0x1);for(const _0x199a74 of _0x5575b4)_0x199a74[_0x1309b9(0x14e)]();_0x12d181>0x0&&_0x5575b4[_0x1309b9(0x15d)](this[_0x1309b9(0x142)],0x1),ns(_0x49aba9(Array[_0x1309b9(0x13f)](this[_0x1309b9(0x111)]),Array[_0x1309b9(0x13f)](_0x5575b4)),this[_0x1309b9(0x111)],_0x5575b4);}[_0x53f28d(0x107)](){const _0x562f2a=_0x53f28d;ns(_0x49aba9(Array[_0x562f2a(0x13f)](this[_0x562f2a(0x111)]),Array[_0x562f2a(0x13f)](this[_0x562f2a(0x127)])),this[_0x562f2a(0x111)],this[_0x562f2a(0x127)]);for(const _0x227595 of this[_0x562f2a(0x111)])_0x227595[_0x562f2a(0x11f)]();}[_0x53f28d(0x141)](){const _0x3dc3e1=_0x53f28d;this[_0x3dc3e1(0x127)][_0x3dc3e1(0x13a)](_0x2cc0d0=>{const _0x7cae3d=_0x3dc3e1;this[_0x7cae3d(0x13e)][_0x7cae3d(0x15d)](_0x2cc0d0[_0x7cae3d(0x118)]),this[_0x7cae3d(0x10b)][_0x7cae3d(0x154)](_0x2cc0d0[_0x7cae3d(0x118)]);}),this[_0x3dc3e1(0x127)]['on'](_0x3dc3e1(0x148),(_0x3eaa51,_0x333a15)=>{const _0x39e9a5=_0x3dc3e1;for(const _0x4c3900 of _0x333a15[_0x39e9a5(0x121)])this[_0x39e9a5(0x13e)][_0x39e9a5(0x124)](_0x4c3900[_0x39e9a5(0x118)]),this[_0x39e9a5(0x10b)][_0x39e9a5(0x10d)](_0x4c3900[_0x39e9a5(0x118)]);for(const _0x52a1cb of Array[_0x39e9a5(0x13f)](_0x333a15[_0x39e9a5(0x125)])[_0x39e9a5(0x15f)]())this[_0x39e9a5(0x13e)][_0x39e9a5(0x15d)](_0x52a1cb[_0x39e9a5(0x118)]),this[_0x39e9a5(0x10b)][_0x39e9a5(0x154)](_0x52a1cb[_0x39e9a5(0x118)]);});}}function ns(_0x4a1f74,_0x4ef1d0,_0x1a130f){const _0x3edd31=_0x53f28d;let _0x1a3f60=0x0;for(const _0x14538a of _0x4a1f74)switch(_0x14538a){case _0x3edd31(0x14b):_0x4ef1d0[_0x3edd31(0x15d)](_0x1a130f[_0x3edd31(0x13c)](_0x1a3f60),_0x1a3f60),_0x1a3f60++;break;case _0x3edd31(0x149):_0x4ef1d0[_0x3edd31(0x124)](_0x1a3f60);break;case _0x3edd31(0x164):_0x1a3f60++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x429445=_0x1719;(function(_0x573bca,_0x30aa07){const _0x4f6281=_0x1719,_0x2d7439=_0x573bca();while(!![]){try{const _0x5d4836=parseInt(_0x4f6281(0x1b4))/0x1+parseInt(_0x4f6281(0x1bb))/0x2*(parseInt(_0x4f6281(0x1c1))/0x3)+parseInt(_0x4f6281(0x1b5))/0x4+parseInt(_0x4f6281(0x1c4))/0x5+parseInt(_0x4f6281(0x1ba))/0x6+-parseInt(_0x4f6281(0x1b6))/0x7*(-parseInt(_0x4f6281(0x1b9))/0x8)+-parseInt(_0x4f6281(0x1c2))/0x9*(parseInt(_0x4f6281(0x1b7))/0xa);if(_0x5d4836===_0x30aa07)break;else _0x2d7439['push'](_0x2d7439['shift']());}catch(_0xa44626){_0x2d7439['push'](_0x2d7439['shift']());}}}(_0x3b98,0x4a6ae));function _0x3b98(){const _0x39373a=['ck-context__value','contextValue','207tgbOyT','9HwkICN','focus','2925895UsfaEJ','setTemplate','element','245746DwPfOX','1129508gLfdPn','7CLMZwS','17745520bMFELw','span','2773496dVoETH','3170196JPCBcS','2638bIkNmL','bindTemplate','set','THREAD_CONTEXT_LABEL'];_0x3b98=function(){return _0x39373a;};return _0x3b98();}import{View as _0x2b9f73}from'ckeditor5/src/ui.js';import{getTranslation as _0x1bf652}from'../../../utils/common-translations.js';function _0x1719(_0x158e65,_0x234126){const _0x3b985d=_0x3b98();return _0x1719=function(_0x17193f,_0x44e7e2){_0x17193f=_0x17193f-0x1b2;let _0x2528fe=_0x3b985d[_0x17193f];return _0x2528fe;},_0x1719(_0x158e65,_0x234126);}export class CommentThreadHeaderContextView extends _0x2b9f73{constructor(_0x40f4c8){const _0x3fe72a=_0x1719;super(_0x40f4c8);const _0x4beedc=this[_0x3fe72a(0x1bc)];this[_0x3fe72a(0x1bd)](_0x3fe72a(0x1c0),''),this[_0x3fe72a(0x1b2)]({'tag':_0x3fe72a(0x1b8),'attributes':{'class':['ck',_0x3fe72a(0x1bf)],'aria-label':_0x4beedc['to'](_0x3fe72a(0x1c0),_0x540c72=>_0x1bf652(_0x40f4c8,_0x3fe72a(0x1be),_0x540c72)),'tabindex':-0x1},'children':[{'text':_0x4beedc['to'](_0x3fe72a(0x1c0))}]});}[_0x429445(0x1c3)](){const _0x27c9da=_0x429445;this[_0x27c9da(0x1b3)][_0x27c9da(0x1c3)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x39a6ac=_0x2c8b;(function(_0x3a8335,_0x32737f){const _0x11f960=_0x2c8b,_0x8fa1f3=_0x3a8335();while(!![]){try{const _0x49bca6=parseInt(_0x11f960(0x14d))/0x1+-parseInt(_0x11f960(0x10d))/0x2+-parseInt(_0x11f960(0x134))/0x3+-parseInt(_0x11f960(0x129))/0x4*(-parseInt(_0x11f960(0x10a))/0x5)+parseInt(_0x11f960(0x14a))/0x6*(parseInt(_0x11f960(0x123))/0x7)+-parseInt(_0x11f960(0x12d))/0x8+-parseInt(_0x11f960(0x11d))/0x9;if(_0x49bca6===_0x32737f)break;else _0x8fa1f3['push'](_0x8fa1f3['shift']());}catch(_0x84dfdb){_0x8fa1f3['push'](_0x8fa1f3['shift']());}}}(_0xc863,0xd0e03));import{View as _0x3e2aee,ButtonView as _0x24f2e7,FocusCycler as _0x2478f5}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3a4b1f,KeystrokeHandler as _0x3f09a8}from'ckeditor5/src/utils.js';import{IconUndo as _0x4f16c2}from'ckeditor5/src/icons.js';function _0xc863(){const _0x3b44b2=['add','isVisible','label','11185LOvDzJ','ck-context','focusFirst','448510xztFUz','render','remove','_setupKeyboardNavigation','contextView','ck-context--quotes','offsetWidth','_trimContextValue','bind','_createContextView','isReadOnly','ck-annotation__actions','reopenButtonView','overlay','tab','div','3016332yABgbT','.ck-context__value','Reopen','contextValue','listenTo','length','5033vtlGZj','ck-thread__header','element','focus','shift+tab','_attachContextActions','536xIRhTz','substring','Comment\x20was\x20made\x20on\x20an\x20element','hasContext','229424wxSGFj','querySelector','createCollection','ck-context-wrapper','value','isResolved','_model','5013714yrvPIC','lastIndexOf','fire','setTemplate','reopenCommentThread','isEnabled','icon','mouseleave','_createReopenButton','isResolvable','locale','.ck-context','mouseenter','classList','tooltip','focusCycler','focusTracker','bindTemplate','execute','...','scrollWidth','focusables','13494FeNTOy','context','keystrokes','1198085CgbIMn'];_0xc863=function(){return _0x3b44b2;};return _0xc863();}function _0x2c8b(_0x5449e3,_0x84afb4){const _0xc8633f=_0xc863();return _0x2c8b=function(_0x2c8bc6,_0x3221a8){_0x2c8bc6=_0x2c8bc6-0x109;let _0x4b9d81=_0xc8633f[_0x2c8bc6];return _0x4b9d81;},_0x2c8b(_0x5449e3,_0x84afb4);}import{getTranslation as _0x5d3a04}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x151594}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x3e2aee{[_0x39a6ac(0x133)];[_0x39a6ac(0x119)];[_0x39a6ac(0x111)];[_0x39a6ac(0x149)];[_0x39a6ac(0x144)];[_0x39a6ac(0x14c)];[_0x39a6ac(0x143)];constructor(_0x4dc1c2,_0x1f012d){const _0xaecd14=_0x39a6ac;super(_0x4dc1c2);const _0x4b80cc=this[_0xaecd14(0x145)];this[_0xaecd14(0x133)]=_0x1f012d,this[_0xaecd14(0x119)]=this[_0xaecd14(0x13c)](),this[_0xaecd14(0x111)]=this[_0xaecd14(0x116)](),this[_0xaecd14(0x149)]=this[_0xaecd14(0x12f)]([this[_0xaecd14(0x111)],this[_0xaecd14(0x119)]]),this[_0xaecd14(0x144)]=new _0x3a4b1f(),this[_0xaecd14(0x14c)]=new _0x3f09a8(),this[_0xaecd14(0x143)]=new _0x2478f5({'focusables':this[_0xaecd14(0x149)],'focusTracker':this[_0xaecd14(0x144)],'keystrokeHandler':this[_0xaecd14(0x14c)],'actions':{'focusPrevious':_0xaecd14(0x127),'focusNext':_0xaecd14(0x11b)}}),this[_0xaecd14(0x115)](_0xaecd14(0x12c))['to'](this[_0xaecd14(0x133)],_0xaecd14(0x14b),_0x437d60=>!!_0x437d60),this[_0xaecd14(0x115)](_0xaecd14(0x120))['to'](this[_0xaecd14(0x133)],_0xaecd14(0x14b),_0x4ec91f=>_0x4ec91f&&_0x4ec91f[_0xaecd14(0x131)]?this[_0xaecd14(0x114)](_0x4ec91f[_0xaecd14(0x131)]):_0x5d3a04(this[_0xaecd14(0x13e)],_0xaecd14(0x12b))),this[_0xaecd14(0x137)]({'tag':_0xaecd14(0x11c),'attributes':{'class':[_0xaecd14(0x124)]},'children':[{'tag':_0xaecd14(0x11c),'attributes':{'class':[_0xaecd14(0x130)]},'children':[{'tag':_0xaecd14(0x11c),'attributes':{'class':[_0xaecd14(0x10b),_0x4b80cc['if'](_0xaecd14(0x12c),_0xaecd14(0x112))]},'children':[this[_0xaecd14(0x111)]]}]},{'tag':_0xaecd14(0x11c),'attributes':{'class':[_0xaecd14(0x118)]},'children':[this[_0xaecd14(0x119)]]}]});}[_0x39a6ac(0x10e)](){const _0x49527b=_0x39a6ac;super[_0x49527b(0x10e)](),this[_0x49527b(0x128)](),this[_0x49527b(0x110)]();}[_0x39a6ac(0x126)](){const _0x11daff=_0x39a6ac;this[_0x11daff(0x143)][_0x11daff(0x10c)]();}[_0x39a6ac(0x13c)](){const _0x4e4a1b=_0x39a6ac,_0x33aa56=new _0x24f2e7(this[_0x4e4a1b(0x13e)]);return _0x33aa56[_0x4e4a1b(0x109)]=_0x5d3a04(this[_0x4e4a1b(0x13e)],_0x4e4a1b(0x11f)),_0x33aa56[_0x4e4a1b(0x142)]=_0x5d3a04(this[_0x4e4a1b(0x13e)],_0x4e4a1b(0x11f)),_0x33aa56[_0x4e4a1b(0x13a)]=_0x4f16c2,_0x33aa56[_0x4e4a1b(0x115)](_0x4e4a1b(0x139))['to'](this[_0x4e4a1b(0x133)],_0x4e4a1b(0x117),_0x18b0c3=>!_0x18b0c3),_0x33aa56[_0x4e4a1b(0x115)](_0x4e4a1b(0x14f))['to'](this[_0x4e4a1b(0x133)],_0x4e4a1b(0x13d),this[_0x4e4a1b(0x133)],_0x4e4a1b(0x132),(_0x3e49a3,_0x12b5c9)=>_0x3e49a3&&_0x12b5c9),_0x33aa56['on'](_0x4e4a1b(0x146),()=>{const _0x30644c=_0x4e4a1b;this[_0x30644c(0x136)](_0x30644c(0x138),this[_0x30644c(0x133)]['id']);}),_0x33aa56;}[_0x39a6ac(0x114)](_0x7c17cf){const _0x1b7230=_0x39a6ac;if(_0x7c17cf[_0x1b7230(0x122)]<0x96)return _0x7c17cf;const _0x587eb=_0x7c17cf[_0x1b7230(0x135)]('\x20',0x93);return _0x7c17cf[_0x1b7230(0x12a)](0x0,_0x587eb>-0x1?_0x587eb:0x93)+_0x1b7230(0x147);}[_0x39a6ac(0x128)](){const _0x26a64a=_0x39a6ac,_0x25ab4c=this[_0x26a64a(0x125)][_0x26a64a(0x12e)](_0x26a64a(0x13f)),_0x5d0010=_0x25ab4c[_0x26a64a(0x12e)](_0x26a64a(0x11e));this[_0x26a64a(0x121)](_0x25ab4c,_0x26a64a(0x140),()=>{const _0x1acdf6=_0x26a64a;_0x5d0010[_0x1acdf6(0x113)]<_0x5d0010[_0x1acdf6(0x148)]&&_0x25ab4c[_0x1acdf6(0x141)][_0x1acdf6(0x14e)](_0x1acdf6(0x11a));}),this[_0x26a64a(0x121)](_0x25ab4c,_0x26a64a(0x13b),()=>{const _0x3ac0b9=_0x26a64a;_0x25ab4c[_0x3ac0b9(0x141)][_0x3ac0b9(0x10f)](_0x3ac0b9(0x11a));});}[_0x39a6ac(0x110)](){const _0x1d8f7f=_0x39a6ac;this[_0x1d8f7f(0x14c)][_0x1d8f7f(0x121)](this[_0x1d8f7f(0x125)]);for(const _0x85b15f of this[_0x1d8f7f(0x149)])this[_0x1d8f7f(0x144)][_0x1d8f7f(0x14e)](_0x85b15f[_0x1d8f7f(0x125)]),this[_0x1d8f7f(0x14c)][_0x1d8f7f(0x121)](_0x85b15f[_0x1d8f7f(0x125)]);}[_0x39a6ac(0x116)](){const _0x3a6377=_0x39a6ac,_0x389374=new _0x151594(this[_0x3a6377(0x13e)]);return _0x389374[_0x3a6377(0x115)](_0x3a6377(0x120))['to'](this),_0x389374;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5ab3(_0x4fd53d,_0x17804a){const _0x3daa79=_0x3daa();return _0x5ab3=function(_0x5ab326,_0x39df93){_0x5ab326=_0x5ab326-0x1d9;let _0x2b4ef3=_0x3daa79[_0x5ab326];return _0x2b4ef3;},_0x5ab3(_0x4fd53d,_0x17804a);}const _0x3ef29c=_0x5ab3;(function(_0x4d314d,_0x22e15f){const _0x5a43e1=_0x5ab3,_0x5b5d56=_0x4d314d();while(!![]){try{const _0x4342d2=-parseInt(_0x5a43e1(0x1e8))/0x1+parseInt(_0x5a43e1(0x1fc))/0x2+-parseInt(_0x5a43e1(0x1ec))/0x3+parseInt(_0x5a43e1(0x207))/0x4+-parseInt(_0x5a43e1(0x1ef))/0x5+-parseInt(_0x5a43e1(0x1fb))/0x6*(parseInt(_0x5a43e1(0x1ed))/0x7)+parseInt(_0x5a43e1(0x208))/0x8;if(_0x4342d2===_0x22e15f)break;else _0x5b5d56['push'](_0x5b5d56['shift']());}catch(_0x9ec27e){_0x5b5d56['push'](_0x5b5d56['shift']());}}}(_0x3daa,0xd8291));import{View as _0x2762cb}from'ckeditor5/src/ui.js';import{CommentInputView as _0x15e486}from'./commentinputview.js';import{UserView as _0x2c6f7c}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x2762cb{constructor(_0x23243c,_0x42f652,_0x1d5575){const _0x5bbf50=_0x5ab3;super(_0x23243c),this[_0x5bbf50(0x1f4)]=new _0x15e486(_0x23243c,_0x1d5575),this[_0x5bbf50(0x1ff)]=this[_0x5bbf50(0x1f4)][_0x5bbf50(0x1ff)],this[_0x5bbf50(0x1f4)][_0x5bbf50(0x1e1)](_0x5bbf50(0x1eb))['to'](this[_0x5bbf50(0x1f4)][_0x5bbf50(0x1f8)],_0x5bbf50(0x1fd),this[_0x5bbf50(0x1f4)],_0x5bbf50(0x1e0),(_0x90b86c,_0x488d02)=>_0x90b86c||!!_0x488d02),this[_0x5bbf50(0x1f3)](_0x5bbf50(0x1f2),!0x1),this['on'](_0x5bbf50(0x1f6),()=>{const _0x584d59=_0x5bbf50;this[_0x584d59(0x1f2)]&&!this[_0x584d59(0x1f4)][_0x584d59(0x1e6)]&&this[_0x584d59(0x1f4)][_0x584d59(0x1dc)]();}),this[_0x5bbf50(0x1f4)][_0x5bbf50(0x205)](_0x5bbf50(0x1e5))['to'](this),this[_0x5bbf50(0x1f4)][_0x5bbf50(0x205)](_0x5bbf50(0x1fe))['to'](this),this[_0x5bbf50(0x204)]=new _0x2c6f7c(_0x23243c,_0x42f652),this[_0x5bbf50(0x204)][_0x5bbf50(0x1e9)]({'attributes':{'class':_0x5bbf50(0x1e4),'aria-hidden':!0x0}}),this[_0x5bbf50(0x1f4)][_0x5bbf50(0x1e9)]({'attributes':{'class':_0x5bbf50(0x1f5)}}),this[_0x5bbf50(0x1f1)]({'tag':_0x5bbf50(0x1d9),'attributes':{'class':[_0x5bbf50(0x203),this[_0x5bbf50(0x1e3)]['if'](_0x5bbf50(0x1f2),_0x5bbf50(0x1db))]},'children':[this[_0x5bbf50(0x204)],this[_0x5bbf50(0x1f4)]]});}[_0x3ef29c(0x1ee)](){const _0x1a3ed0=_0x3ef29c;super[_0x1a3ed0(0x1ee)](),this[_0x1a3ed0(0x1f0)]();}[_0x3ef29c(0x1e7)](){const _0x2637bd=_0x3ef29c;return this[_0x2637bd(0x1f4)][_0x2637bd(0x1e7)]()[_0x2637bd(0x1e2)](()=>super[_0x2637bd(0x1e7)]());}[_0x3ef29c(0x1ea)](_0x59f392){const _0x39560a=_0x3ef29c;this[_0x39560a(0x1f4)][_0x39560a(0x1ea)](_0x59f392);}[_0x3ef29c(0x1f0)](){const _0x674b2b=_0x3ef29c;this[_0x674b2b(0x1fa)](this[_0x674b2b(0x1da)],_0x674b2b(0x1de),(_0x44db15,_0x2b8c29)=>{const _0x5a025c=_0x674b2b,{submitButtonView:_0x504c3e,cancelButtonView:_0x46045e,editor:_0xfee969}=this[_0x5a025c(0x1f4)];[_0x504c3e[_0x5a025c(0x1da)],_0x46045e[_0x5a025c(0x1da)],_0xfee969?_0xfee969[_0x5a025c(0x206)][_0x5a025c(0x1df)][_0x5a025c(0x1dd)]():null][_0x5a025c(0x1f7)](_0x17a0e0=>_0x17a0e0)[_0x5a025c(0x201)](_0x2fda44=>_0x2fda44[_0x5a025c(0x1f9)](_0x2b8c29[_0x5a025c(0x200)]))||(this[_0x5a025c(0x1ea)](),_0x2b8c29[_0x5a025c(0x202)]());});}}function _0x3daa(){const _0x15698a=['div','element','ck-comment__input-container--active','createEditor','getDomRoot','mousedown','view','value','bind','then','bindTemplate','ck-thread__user','editorReady','editor','destroy','1414199yrDNXY','extendTemplate','focus','showButtons','1439766EpMvKc','3487239YnmdKl','render','2263900UhChep','_focusOnNonInteractiveMouseDown','setTemplate','showInput','set','commentInputView','ck-thread__input','change:showInput','filter','focusTracker','contains','listenTo','12zkZsJi','400460qrWZDD','isFocused','editorDestroyed','focusCycler','target','some','preventDefault','ck-comment__input-container','userView','delegate','editing','3333764JhNlpP','25559816tpLvGP'];_0x3daa=function(){return _0x15698a;};return _0x3daa();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x2cf5(_0xccb9a6,_0x48e9f0){const _0x41529a=_0x4152();return _0x2cf5=function(_0x2cf547,_0x37afb2){_0x2cf547=_0x2cf547-0x194;let _0xab769a=_0x41529a[_0x2cf547];return _0xab769a;},_0x2cf5(_0xccb9a6,_0x48e9f0);}const _0x3e15c2=_0x2cf5;(function(_0x19cc12,_0x2a8be6){const _0x102647=_0x2cf5,_0x457bcf=_0x19cc12();while(!![]){try{const _0x49aa1f=-parseInt(_0x102647(0x1bf))/0x1*(parseInt(_0x102647(0x1de))/0x2)+-parseInt(_0x102647(0x1a4))/0x3*(parseInt(_0x102647(0x1a9))/0x4)+parseInt(_0x102647(0x1bd))/0x5*(parseInt(_0x102647(0x1cb))/0x6)+-parseInt(_0x102647(0x1b6))/0x7*(-parseInt(_0x102647(0x1b2))/0x8)+-parseInt(_0x102647(0x1a0))/0x9*(parseInt(_0x102647(0x1a6))/0xa)+-parseInt(_0x102647(0x1b0))/0xb*(parseInt(_0x102647(0x1ac))/0xc)+parseInt(_0x102647(0x1dc))/0xd;if(_0x49aa1f===_0x2a8be6)break;else _0x457bcf['push'](_0x457bcf['shift']());}catch(_0x330937){_0x457bcf['push'](_0x457bcf['shift']());}}}(_0x4152,0xdd226));import{ConfirmMixin as _0x45eef8,LateFocusButtonView as _0x29e282}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x5af578}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x2f8c8c}from'./basecommentthreadview.js';function _0x4152(){const _0x57b42c=['commentThreadInputView','focusables','7926246XFsCRd','resolveButton','removeButton','getTemplate','76866emLLVu','createCollection','20EAOoAn','unbind','isVisible','16naBniT','actionIndicator','change:archivedAt','372LwAOZq','length','stop','change:isActive','371305nSvBpL','bind','6874864lhyCCl','isReadOnly','get','setTemplate','7ZfhdUF','_model','_boundFirstCommentView','commentThreadChildren','locale','Resolve','render','260syDyVv','change:isReadOnly','493519aQARpv','ck-reset_all-excluded','querySelector','ariaLabel','isActive','removeConfirm','add','listenTo','execute','commentsListView','ck-thread__container','ck-thread--','78294KmbjMB','removeCommentThread','high','showConfirm','_createResolveButton','extendTemplate','.ck-thread__container','commentViews','isUnlinked','placeholder','fire','focus','ck-comment--resolve','ariaDescriptionView','cancelConfirm','resolveCommentThread','has','42447327zRYvfL','label','4CyOQNn','isResolvable','element','div','ck-thread--active','ck-thread','commentThreadHeaderView','isSystemComment','_updateArchivedThreadHeader','Delete\x20comment\x20thread?','ck-thread--unlinked','isEnabled','actionBar','ck-rounded-corners','set','_bindFirstCommentView','containerElement','tooltip','archivedAt','isResolved','_cancelAllConfirms','remove','then','Write\x20a\x20comment...','icon','listitem','bindTemplate'];_0x4152=function(){return _0x57b42c;};return _0x4152();}import{getTranslation as _0x16255c}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x45eef8(_0x2f8c8c){[_0x3e15c2(0x1b9)];[_0x3e15c2(0x1ee)];[_0x3e15c2(0x1a1)];[_0x3e15c2(0x1b8)];constructor(_0x147e9f,_0x453e55,_0x1ca2cd,_0x553eda){const _0x335aa4=_0x3e15c2;super(_0x147e9f,_0x453e55,_0x1ca2cd,_0x553eda),this[_0x335aa4(0x1b9)]=this[_0x335aa4(0x1a5)]([this[_0x335aa4(0x1c8)],this[_0x335aa4(0x19e)],this[_0x335aa4(0x1d8)]]),this[_0x335aa4(0x1ec)](_0x335aa4(0x1aa),null),this[_0x335aa4(0x1ee)]=null,this[_0x335aa4(0x1b8)]=null,this[_0x335aa4(0x1ba)]=_0x147e9f,this[_0x335aa4(0x1a1)]=this[_0x335aa4(0x1cf)](),this[_0x335aa4(0x1b5)](this[_0x335aa4(0x1a3)]()),this['on'](_0x335aa4(0x1af),(_0x2eb945,_0xab184d,_0x101023)=>{const _0x50add4=_0x335aa4;_0x101023||this[_0x50add4(0x197)]();}),this[_0x335aa4(0x1c6)](this[_0x335aa4(0x1b7)],_0x335aa4(0x1be),(_0x138f14,_0x51d6a5,_0x22c302)=>{const _0x513223=_0x335aa4;_0x22c302&&this[_0x513223(0x197)]();}),this[_0x335aa4(0x1ad)]>0x0&&this[_0x335aa4(0x1ed)](),this[_0x335aa4(0x1c6)](this[_0x335aa4(0x1c8)][_0x335aa4(0x1d2)],_0x335aa4(0x1c5),()=>{const _0x29745b=_0x335aa4;this[_0x29745b(0x1ed)]();});}[_0x3e15c2(0x1a3)](){const _0x2d70b7=_0x3e15c2,_0x4ee0a9=this[_0x2d70b7(0x19d)];return{'tag':_0x2d70b7(0x1e1),'attributes':{'class':['ck',_0x2d70b7(0x1e3),_0x2d70b7(0x1c0),_0x2d70b7(0x1eb),_0x4ee0a9['if'](_0x2d70b7(0x1c3),_0x2d70b7(0x1e2)),_0x4ee0a9['if'](_0x2d70b7(0x1d3),_0x2d70b7(0x1e8)),_0x4ee0a9['to'](_0x2d70b7(0x1aa),_0x3c3e5f=>_0x3c3e5f?_0x2d70b7(0x1ca)+_0x3c3e5f:'')],'data-thread-id':this[_0x2d70b7(0x1b7)]['id'],'tabindex':0x0,'role':_0x2d70b7(0x19c),'aria-label':_0x4ee0a9['to'](_0x2d70b7(0x1c2)),'aria-describedby':this[_0x2d70b7(0x1d8)]['id']},'children':[{'tag':_0x2d70b7(0x1e1),'attributes':{'class':_0x2d70b7(0x1c9)},'children':this[_0x2d70b7(0x1b9)]}]};}[_0x3e15c2(0x1bc)](){const _0x35d7e9=_0x3e15c2;super[_0x35d7e9(0x1bc)](),this[_0x35d7e9(0x1ee)]=this[_0x35d7e9(0x1e0)][_0x35d7e9(0x1c1)](_0x35d7e9(0x1d1)),this[_0x35d7e9(0x1b7)]['on'](_0x35d7e9(0x1ab),()=>{const _0x2dcb72=_0x35d7e9;this[_0x2dcb72(0x1e6)]();}),this[_0x35d7e9(0x1e6)]();}[_0x3e15c2(0x197)](){const _0x22c471=_0x3e15c2;this[_0x22c471(0x1d9)]();for(const _0x531844 of this[_0x22c471(0x1c8)][_0x22c471(0x1d2)])_0x531844[_0x22c471(0x1d9)]();}[_0x3e15c2(0x1ed)](){const _0x38aaeb=_0x3e15c2,{locale:_0x409724}=this,_0x53ad4c=this[_0x38aaeb(0x1c8)][_0x38aaeb(0x1d2)][_0x38aaeb(0x1b4)](0x0);_0x53ad4c===this[_0x38aaeb(0x1b8)]||_0x53ad4c[_0x38aaeb(0x1e5)]||(this[_0x38aaeb(0x1b8)]=_0x53ad4c,this[_0x38aaeb(0x1a7)](_0x38aaeb(0x1aa)),this[_0x38aaeb(0x1b1)](_0x38aaeb(0x1aa))['to'](_0x53ad4c,_0x38aaeb(0x1aa),_0x475195=>_0x38aaeb(0x198)===_0x475195?_0x38aaeb(0x198):null),_0x53ad4c[_0x38aaeb(0x1d4)]=_0x16255c(_0x409724,_0x38aaeb(0x19a)),_0x53ad4c[_0x38aaeb(0x1a2)]['on'](_0x38aaeb(0x1c7),_0x539448=>{const _0x448fe8=_0x38aaeb;_0x539448[_0x448fe8(0x1ae)](),this[_0x448fe8(0x1ce)](_0x16255c(_0x409724,_0x448fe8(0x1e7)),this[_0x448fe8(0x1ee)])[_0x448fe8(0x199)](()=>{const _0x4b3ada=_0x448fe8;this[_0x4b3ada(0x1d5)](_0x4b3ada(0x1cc));});},{'priority':_0x38aaeb(0x1cd)}),this['on'](_0x38aaeb(0x1c4),()=>{const _0x28f39c=_0x38aaeb;_0x53ad4c[_0x28f39c(0x1d6)]();}),_0x53ad4c[_0x38aaeb(0x1ea)][_0x38aaeb(0x1c5)](this[_0x38aaeb(0x1a1)],0x0),_0x53ad4c[_0x38aaeb(0x19f)][_0x38aaeb(0x1c5)](this[_0x38aaeb(0x1a1)],0x0));}[_0x3e15c2(0x1cf)](){const _0x49fdef=_0x3e15c2,_0x5620d6=new _0x29e282(this[_0x49fdef(0x1ba)]);return _0x5620d6[_0x49fdef(0x1dd)]=_0x16255c(this[_0x49fdef(0x1ba)],_0x49fdef(0x1bb)),_0x5620d6[_0x49fdef(0x194)]=_0x16255c(this[_0x49fdef(0x1ba)],_0x49fdef(0x1bb)),_0x5620d6[_0x49fdef(0x19b)]=_0x5af578,_0x5620d6[_0x49fdef(0x1d0)]({'attributes':{'class':_0x49fdef(0x1d7)}}),_0x5620d6[_0x49fdef(0x1b1)](_0x49fdef(0x1e9))['to'](this[_0x49fdef(0x1b7)],_0x49fdef(0x1b3),_0x43bc82=>!_0x43bc82),_0x5620d6[_0x49fdef(0x1b1)](_0x49fdef(0x1a8))['to'](this[_0x49fdef(0x1b7)],_0x49fdef(0x1df),this[_0x49fdef(0x1b7)],_0x49fdef(0x196),(_0xfe035f,_0xbd748a)=>_0xfe035f&&!_0xbd748a),_0x5620d6['on'](_0x49fdef(0x1c7),()=>{const _0x1f3c65=_0x49fdef;this[_0x1f3c65(0x1d5)](_0x1f3c65(0x1da),this[_0x1f3c65(0x1b7)]['id']);}),_0x5620d6;}[_0x3e15c2(0x1e6)](){const _0x5c01ec=_0x3e15c2;this[_0x5c01ec(0x1b7)][_0x5c01ec(0x195)]?this[_0x5c01ec(0x1b9)][_0x5c01ec(0x1db)](this[_0x5c01ec(0x1e4)])||(this[_0x5c01ec(0x1b9)][_0x5c01ec(0x1c5)](this[_0x5c01ec(0x1e4)],0x0),this[_0x5c01ec(0x19f)][_0x5c01ec(0x1c5)](this[_0x5c01ec(0x1e4)],0x0)):this[_0x5c01ec(0x1b9)][_0x5c01ec(0x1db)](this[_0x5c01ec(0x1e4)])&&(this[_0x5c01ec(0x1b9)][_0x5c01ec(0x198)](this[_0x5c01ec(0x1e4)]),this[_0x5c01ec(0x19f)][_0x5c01ec(0x198)](this[_0x5c01ec(0x1e4)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x4046(){const _0x3f2c88=['mouseleave','userView','_createEditButton','Remove','items','cancelConfirm','62472RXyaAJ','ck-annotation__content-wrapper','switchToEditMode','ck-comment--remove','isVisible','name','isEditable','isSystemComment','span','toMany','ck-comment__external','isRemovable','13OsFIqd','panelPosition','ariaDescriptionView','panelView','952RMSWic','editButton','visibleView','_config','_createRemoveButton','ck-comment__wrapper','formatDateTime','getExternalCommentNote','focusables','ck-comment__actions','author','_attachActions','showConfirm','ck-comment__info-time','execute','isEditMode','ck-comment__info-name','mouseenter','children','edit','time','listitem','ck-annotation__main','getTemplate','isEnabled','Reply...','13806HBElky','ck-comment__actions--hidden','11270WNopXi','element','ck-comment__info','Edit','getUserViewNotificationText','resolvedAt','44BwIVZU','_createDropdown','bindTemplate','Show\x20more\x20items','remove','5510XEKktO','ck-annotation__user','withText','length','ck-hidden','some','129PYpUPF','ck-comment--','icon','Delete\x20comment?','ck-comment--edit','render','blur','setTemplate','fire','label','isExternal','from','actionIndicator','locale','div','ck-comment','extendTemplate','push','focus','removeButton','ck-comment__main','595vhXaGI','removeComment','ck-annotation__actions--hidden','ariaLabel','change:isRemovable','dropdown','ck-annotation__info','find','ck-annotation__actions','isReadOnly','listenTo','then','ck-annotation__info-name','buttonView','createCollection','6334afBoiB','10188IZPnHF','ck-comment--info','add','bind','2163CwAvuH','authoredAt','ck-comment__user','ck-annotation__info-time','608NUbCvo','actionBar','_createCommentInputView','_model','placeholder','addMany','unbind','group','ck-annotation','set'];_0x4046=function(){return _0x3f2c88;};return _0x4046();}const _0x19ed61=_0x5013;(function(_0x19632c,_0x5705d3){const _0xe8f65=_0x5013,_0x27df8c=_0x19632c();while(!![]){try{const _0x46d4da=parseInt(_0xe8f65(0x1b0))/0x1+-parseInt(_0xe8f65(0x1ab))/0x2*(parseInt(_0xe8f65(0x201))/0x3)+-parseInt(_0xe8f65(0x1b4))/0x4*(-parseInt(_0xe8f65(0x1fb))/0x5)+-parseInt(_0xe8f65(0x1ee))/0x6*(-parseInt(_0xe8f65(0x216))/0x7)+-parseInt(_0xe8f65(0x1d4))/0x8*(parseInt(_0xe8f65(0x1ac))/0x9)+-parseInt(_0xe8f65(0x1f0))/0xa*(-parseInt(_0xe8f65(0x1f6))/0xb)+-parseInt(_0xe8f65(0x1c4))/0xc*(-parseInt(_0xe8f65(0x1d0))/0xd);if(_0x46d4da===_0x5705d3)break;else _0x27df8c['push'](_0x27df8c['shift']());}catch(_0xea2552){_0x27df8c['push'](_0x27df8c['shift']());}}}(_0x4046,0x1968d));function _0x5013(_0x44d570,_0x1bc78f){const _0x4046de=_0x4046();return _0x5013=function(_0x5013dc,_0x50cb2c){_0x5013dc=_0x5013dc-0x1a4;let _0x3a7644=_0x4046de[_0x5013dc];return _0x3a7644;},_0x5013(_0x44d570,_0x1bc78f);}import{IconRemoveComment as _0x1fd734,IconPencil as _0x26ed37,IconThreeVerticalDots as _0x9123fe}from'ckeditor5/src/icons.js';import{ButtonView as _0x1d0f85,createDropdown as _0x5bd478,ListView as _0x55e7e3,ListItemView as _0x34300e,focusChildOnDropdownOpen as _0x4438e4}from'ckeditor5/src/ui.js';import{UserView as _0x125b04,ConfirmMixin as _0x57db48,LateFocusDropdownButtonView as _0x11e09a}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x45f87e}from'./basecommentview.js';import{getTranslation as _0x4077b6}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x57db48(_0x45f87e){[_0x19ed61(0x1b5)];[_0x19ed61(0x1bf)];constructor(_0x5085aa,_0x32bd81,_0x517fa6){const _0x2cc5bf=_0x19ed61;super(_0x5085aa,_0x32bd81,_0x517fa6),this[_0x2cc5bf(0x1bd)](_0x2cc5bf(0x20d),null),this[_0x2cc5bf(0x1bd)](_0x2cc5bf(0x1b8),_0x4077b6(_0x5085aa,_0x2cc5bf(0x1ed))),this[_0x2cc5bf(0x1af)](_0x2cc5bf(0x1b1))['to'](_0x32bd81),this[_0x2cc5bf(0x1af)](_0x2cc5bf(0x1f5))['to'](_0x32bd81),this[_0x2cc5bf(0x1b5)]=this[_0x2cc5bf(0x1aa)](),this[_0x2cc5bf(0x1cb)]||(this[_0x2cc5bf(0x1d5)]=this[_0x2cc5bf(0x1c0)](),this[_0x2cc5bf(0x214)]=this[_0x2cc5bf(0x1d8)](),this[_0x2cc5bf(0x1c2)]=this[_0x2cc5bf(0x1aa)](),this[_0x2cc5bf(0x1c2)][_0x2cc5bf(0x1b9)]([this[_0x2cc5bf(0x1d5)],this[_0x2cc5bf(0x214)]]),this[_0x2cc5bf(0x21b)]=this[_0x2cc5bf(0x1f7)](),this[_0x2cc5bf(0x1b5)][_0x2cc5bf(0x1ae)](this[_0x2cc5bf(0x21b)]),this[_0x2cc5bf(0x1dc)][_0x2cc5bf(0x1ae)](this[_0x2cc5bf(0x21b)])),this[_0x2cc5bf(0x1bf)]=new _0x125b04(_0x5085aa,_0x32bd81[_0x2cc5bf(0x1de)],this[_0x2cc5bf(0x1f4)]()),this[_0x2cc5bf(0x1bf)][_0x2cc5bf(0x211)]({'attributes':{'class':[_0x2cc5bf(0x1b2),_0x2cc5bf(0x1fc)],'aria-hidden':!0x0}}),this[_0x2cc5bf(0x1a6)](_0x32bd81,_0x2cc5bf(0x21a),()=>this[_0x2cc5bf(0x1c3)]()),this[_0x2cc5bf(0x208)](this[_0x2cc5bf(0x1eb)]());}[_0x19ed61(0x1eb)](){const _0x3ae57f=_0x19ed61,_0x93bf22=this[_0x3ae57f(0x1f8)],_0x4e6d2c=[{'tag':_0x3ae57f(0x20f),'attributes':{'class':[_0x3ae57f(0x1f2),_0x3ae57f(0x21c)]},'children':[{'tag':_0x3ae57f(0x1cc),'children':[{'text':this[_0x3ae57f(0x1bf)][_0x3ae57f(0x1c9)]}],'attributes':{'class':[_0x3ae57f(0x1e4),_0x3ae57f(0x1a8)],'data-cke-tooltip-text':this[_0x3ae57f(0x1bf)][_0x3ae57f(0x1c9)]}},{'tag':_0x3ae57f(0x1e8),'attributes':{'datetime':_0x93bf22['to'](_0x3ae57f(0x1b1)),'class':[_0x3ae57f(0x1e1),_0x3ae57f(0x1b3)]},'children':[{'text':_0x93bf22['to'](_0x3ae57f(0x1b1),_0x2295d9=>this[_0x3ae57f(0x1d7)][_0x3ae57f(0x1da)](_0x2295d9))}]}]},{'tag':_0x3ae57f(0x20f),'attributes':{'class':[_0x3ae57f(0x1dd),_0x3ae57f(0x1a4),_0x93bf22['if'](_0x3ae57f(0x1e3),_0x3ae57f(0x1ef)),_0x93bf22['if'](_0x3ae57f(0x1e3),_0x3ae57f(0x218))]},'children':this[_0x3ae57f(0x1b5)]},{'tag':_0x3ae57f(0x20f),'attributes':{'class':[_0x3ae57f(0x1c5)]},'children':this[_0x3ae57f(0x1d6)]},this[_0x3ae57f(0x1d2)]];return this[_0x3ae57f(0x1b7)][_0x3ae57f(0x20b)]&&_0x4e6d2c[_0x3ae57f(0x212)]({'tag':_0x3ae57f(0x20f),'attributes':{'class':[_0x3ae57f(0x1ce)]},'children':[{'text':this[_0x3ae57f(0x1db)]()}]}),{'tag':'li','attributes':{'class':[_0x3ae57f(0x1d9)],'tabindex':-0x1,'aria-label':_0x93bf22['to'](_0x3ae57f(0x219)),'aria-describedby':this[_0x3ae57f(0x1d2)]['id'],'role':_0x3ae57f(0x1e9)},'children':[{'tag':_0x3ae57f(0x20f),'attributes':{'class':[_0x3ae57f(0x210),_0x3ae57f(0x1bc),_0x93bf22['if'](_0x3ae57f(0x1e3),_0x3ae57f(0x205)),_0x93bf22['if'](_0x3ae57f(0x1cb),_0x3ae57f(0x1ad)),_0x93bf22['to'](_0x3ae57f(0x20d),_0x2934bb=>_0x2934bb?_0x3ae57f(0x202)+_0x2934bb:'')],'data-author-id':this[_0x3ae57f(0x1b7)][_0x3ae57f(0x1de)]['id'],'data-comment-id':this[_0x3ae57f(0x1b7)]['id'],'role':_0x3ae57f(0x1bb)},'children':[this[_0x3ae57f(0x1bf)],{'tag':_0x3ae57f(0x20f),'attributes':{'class':[_0x3ae57f(0x215),_0x3ae57f(0x1ea)]},'children':_0x4e6d2c}]}]};}[_0x19ed61(0x1c0)](){const _0x552792=_0x19ed61,_0x4d50a5=new _0x1d0f85(this[_0x552792(0x20e)]);return _0x4d50a5[_0x552792(0x20a)]=_0x4077b6(this[_0x552792(0x20e)],_0x552792(0x1f3)),_0x4d50a5[_0x552792(0x203)]=_0x26ed37,_0x4d50a5[_0x552792(0x1fd)]=!0x0,_0x4d50a5[_0x552792(0x211)]({'attributes':{'class':_0x552792(0x205)}}),_0x4d50a5[_0x552792(0x1af)](_0x552792(0x1ec))['to'](this[_0x552792(0x1b7)],_0x552792(0x1a5),_0x1ac3be=>!_0x1ac3be),_0x4d50a5[_0x552792(0x1af)](_0x552792(0x1c8))['to'](this[_0x552792(0x1b7)],_0x552792(0x1ca)),_0x4d50a5['on'](_0x552792(0x1e2),()=>this[_0x552792(0x1c6)]()),_0x4d50a5;}[_0x19ed61(0x1d8)](){const _0x2315b4=_0x19ed61,_0x14c60d=new _0x1d0f85(this[_0x2315b4(0x20e)]);return _0x14c60d[_0x2315b4(0x20a)]=_0x4077b6(this[_0x2315b4(0x20e)],_0x2315b4(0x1c1)),_0x14c60d[_0x2315b4(0x203)]=_0x1fd734,_0x14c60d[_0x2315b4(0x1fd)]=!0x0,_0x14c60d[_0x2315b4(0x211)]({'attributes':{'class':_0x2315b4(0x1c7)}}),_0x14c60d[_0x2315b4(0x1af)](_0x2315b4(0x1ec))['to'](this[_0x2315b4(0x1b7)],_0x2315b4(0x1a5),_0x42453f=>!_0x42453f),_0x14c60d[_0x2315b4(0x1af)](_0x2315b4(0x1c8))['to'](this[_0x2315b4(0x1b7)],_0x2315b4(0x1cf)),_0x14c60d['on'](_0x2315b4(0x1e2),()=>{const _0x480a0c=_0x2315b4;this[_0x480a0c(0x1e0)](_0x4077b6(this[_0x480a0c(0x20e)],_0x480a0c(0x204)),this[_0x480a0c(0x1f1)])[_0x480a0c(0x1a7)](()=>{const _0x2591d5=_0x480a0c;this[_0x2591d5(0x209)](_0x2591d5(0x217),this[_0x2591d5(0x1b7)]['id']);});}),_0x14c60d;}[_0x19ed61(0x1f7)](){const _0x60c65c=_0x19ed61,_0x4ce1a1=_0x5bd478(this[_0x60c65c(0x20e)],_0x11e09a),_0x425899=_0x4ce1a1[_0x60c65c(0x1d3)][_0x60c65c(0x1e6)],_0x4fce6c=new _0x55e7e3(this[_0x60c65c(0x20e)]),_0xf8e454=_0x4ce1a1[_0x60c65c(0x1f8)];_0x4438e4(_0x4ce1a1,()=>this[_0x60c65c(0x1c2)][_0x60c65c(0x21d)](_0x2cef9f=>_0x2cef9f[_0x60c65c(0x1c8)])),_0x4ce1a1[_0x60c65c(0x211)]({'attributes':{'class':[_0xf8e454['if'](_0x60c65c(0x1c8),_0x60c65c(0x1ff),_0x5ba0cb=>!_0x5ba0cb)]}});const _0x29ced9=(_0x226a8d,_0x2fd3ee=-0x1)=>{const _0x1f4972=_0x60c65c,_0x1c3909=new _0x34300e(this[_0x1f4972(0x20e)]);_0x1c3909[_0x1f4972(0x1e6)][_0x1f4972(0x1ae)](_0x226a8d);const _0x1f6423=_0x2fd3ee>-0x1?_0x2fd3ee:_0x4fce6c[_0x1f4972(0x1c2)][_0x1f4972(0x1fe)];_0x4fce6c[_0x1f4972(0x1c2)][_0x1f4972(0x1ae)](_0x1c3909,_0x1f6423);const _0x1cec82=Array[_0x1f4972(0x20c)](this[_0x1f4972(0x1c2)]);_0x4ce1a1[_0x1f4972(0x1ba)](_0x1f4972(0x1ec),_0x1f4972(0x1c8)),_0x4ce1a1[_0x1f4972(0x1af)](_0x1f4972(0x1ec))[_0x1f4972(0x1cd)](_0x1cec82,_0x1f4972(0x1ec),(..._0x2da75e)=>_0x2da75e[_0x1f4972(0x200)](_0x396834=>_0x396834)),_0x4ce1a1[_0x1f4972(0x1af)](_0x1f4972(0x1c8))[_0x1f4972(0x1cd)](_0x1cec82,_0x1f4972(0x1c8),(..._0x2f1d20)=>_0x2f1d20[_0x1f4972(0x200)](_0x12f7bb=>_0x12f7bb));};_0x4ce1a1[_0x60c65c(0x1d1)]='sw',_0x4ce1a1[_0x60c65c(0x1a9)][_0x60c65c(0x1bd)]({'label':_0x4077b6(this[_0x60c65c(0x20e)],_0x60c65c(0x1f9)),'icon':_0x9123fe});for(const _0x303508 of this[_0x60c65c(0x1c2)])_0x29ced9(_0x303508);return _0x425899[_0x60c65c(0x1ae)](_0x4fce6c),_0x4ce1a1[_0x60c65c(0x1a6)](this[_0x60c65c(0x1c2)],_0x60c65c(0x1ae),(_0x3b4cd1,_0x38be6a,_0x233484)=>{_0x29ced9(_0x38be6a,_0x233484);}),_0x4ce1a1[_0x60c65c(0x1a6)](this[_0x60c65c(0x1c2)],_0x60c65c(0x1fa),(_0x948954,_0x7915c1,_0x488d60)=>{const _0x5248ce=_0x60c65c;_0x4fce6c[_0x5248ce(0x1c2)][_0x5248ce(0x1fa)](_0x488d60);}),_0x4ce1a1;}[_0x19ed61(0x1df)](_0x3cc001,_0x481aae){const _0x2f3be4=_0x19ed61,_0x1ad650=_0x3cc001&&_0x3cc001[_0x2f3be4(0x1f1)];_0x1ad650&&(this[_0x2f3be4(0x1a6)](_0x1ad650,_0x2f3be4(0x1e5),()=>this[_0x2f3be4(0x20d)]=_0x481aae),this[_0x2f3be4(0x1a6)](_0x1ad650,_0x2f3be4(0x213),()=>this[_0x2f3be4(0x20d)]=_0x481aae),this[_0x2f3be4(0x1a6)](_0x1ad650,_0x2f3be4(0x1be),()=>this[_0x2f3be4(0x20d)]=null),this[_0x2f3be4(0x1a6)](_0x1ad650,_0x2f3be4(0x207),()=>this[_0x2f3be4(0x20d)]=null));}[_0x19ed61(0x1b6)](){const _0x549e53=_0x19ed61,_0x5d9181=super[_0x549e53(0x1b6)]();return _0x5d9181[_0x549e53(0x1af)](_0x549e53(0x1b8))['to'](this),_0x5d9181;}[_0x19ed61(0x206)](){const _0x456629=_0x19ed61;super[_0x456629(0x206)](),this[_0x456629(0x1df)](this[_0x456629(0x1d5)],_0x456629(0x1e7)),this[_0x456629(0x1df)](this[_0x456629(0x214)],_0x456629(0x1fa));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x3fa5(_0xb09197,_0xf32ec3){var _0x403bae=_0x403b();return _0x3fa5=function(_0x3fa55e,_0x4061cc){_0x3fa55e=_0x3fa55e-0xce;var _0xd51fd0=_0x403bae[_0x3fa55e];return _0xd51fd0;},_0x3fa5(_0xb09197,_0xf32ec3);}var _0x3bf8e9=_0x3fa5;(function(_0x2da5d5,_0x3eb831){var _0x47ec1b=_0x3fa5,_0x244081=_0x2da5d5();while(!![]){try{var _0x302f05=-parseInt(_0x47ec1b(0xd6))/0x1+-parseInt(_0x47ec1b(0xda))/0x2+-parseInt(_0x47ec1b(0xd9))/0x3*(-parseInt(_0x47ec1b(0xdb))/0x4)+-parseInt(_0x47ec1b(0xcf))/0x5+parseInt(_0x47ec1b(0xd0))/0x6+parseInt(_0x47ec1b(0xd1))/0x7+parseInt(_0x47ec1b(0xd5))/0x8*(-parseInt(_0x47ec1b(0xce))/0x9);if(_0x302f05===_0x3eb831)break;else _0x244081['push'](_0x244081['shift']());}catch(_0x51249d){_0x244081['push'](_0x244081['shift']());}}}(_0x403b,0x38934));import{Plugin as _0x40d804}from'ckeditor5/src/core.js';import{CommentsRepository as _0x591a9a}from'./comments/commentsrepository.js';import{CommentsEditing as _0x4bf07c}from'./comments/commentsediting.js';import{CommentsUI as _0xe1f5de}from'./comments/commentsui.js';import{CommentsOnly as _0xaea1bb}from'./commentsonly.js';import{WideSidebar as _0x53b933}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x3b1659}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x31e7a8}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x45cc0e}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x3f0510}from'./comments/commentsarchive.js';function _0x403b(){var _0x9a3032=['55344Mshizx','122841nPJMaP','648220XuihoE','1399560DqePYp','1497132ugbuDu','Comments','requires','isOfficialPlugin','104DKUYib','6238fiHksb','pluginName','isPremiumPlugin','72JzzmEA','468298rLFUQE'];_0x403b=function(){return _0x9a3032;};return _0x403b();}export class Comments extends _0x40d804{static get[_0x3bf8e9(0xd3)](){return[_0x591a9a,_0x4bf07c,_0xe1f5de,_0x3f0510,_0x45cc0e,_0xaea1bb,_0x53b933,_0x3b1659,_0x31e7a8];}static get[_0x3bf8e9(0xd7)](){var _0x17561d=_0x3bf8e9;return _0x17561d(0xd2);}static get[_0x3bf8e9(0xd4)](){return!0x0;}static get[_0x3bf8e9(0xd8)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3cc4(_0x3100c4,_0x4683cf){const _0x73cfe6=_0x73cf();return _0x3cc4=function(_0x3cc453,_0x354da3){_0x3cc453=_0x3cc453-0x64;let _0x1374d1=_0x73cfe6[_0x3cc453];return _0x1374d1;},_0x3cc4(_0x3100c4,_0x4683cf);}const _0xb4230=_0x3cc4;(function(_0x1a3689,_0x2e80dd){const _0x2b3291=_0x3cc4,_0x2c1f06=_0x1a3689();while(!![]){try{const _0x18f329=parseInt(_0x2b3291(0x8f))/0x1*(parseInt(_0x2b3291(0x71))/0x2)+-parseInt(_0x2b3291(0x80))/0x3+-parseInt(_0x2b3291(0x8d))/0x4+parseInt(_0x2b3291(0x86))/0x5*(parseInt(_0x2b3291(0x69))/0x6)+-parseInt(_0x2b3291(0x7d))/0x7*(parseInt(_0x2b3291(0x7c))/0x8)+-parseInt(_0x2b3291(0x84))/0x9+parseInt(_0x2b3291(0x7f))/0xa;if(_0x18f329===_0x2e80dd)break;else _0x2c1f06['push'](_0x2c1f06['shift']());}catch(_0x1a08a6){_0x2c1f06['push'](_0x2c1f06['shift']());}}}(_0x73cf,0x2ded2));function _0x73cf(){const _0x1d4e22=['2084vBawtN','addCommentThread','stopListening','clearForceDisabled','DragDrop','listenTo','change:isEnabled','forceDisabled','commands','commentsOnlyMode','set','84008GBGKXU','77mAKwHo','editing','5099100jgIIoc','330129FzWyzI','_disableCommentsOnlyMode','has','get','194463NVFHJX','document','140egwMUe','isPremiumPlugin','pluginName','delete','requires','isEnabled','affectsData','1339100YbErJm','cut','8zoyxKe','highest','CommentsOnly','afterInit','editor','view','SourceEditing','_enableCommentsOnlyMode','53958NdJWTC','commentsOnly','isOfficialPlugin','stop','plugins','clipboardInput','config','editSource'];_0x73cf=function(){return _0x1d4e22;};return _0x73cf();}import{Plugin as _0x54d92e}from'ckeditor5/src/core.js';import{CommentsEditing as _0x39c987}from'./comments/commentsediting.js';export class CommentsOnly extends _0x54d92e{static get[_0xb4230(0x88)](){const _0x158224=_0xb4230;return _0x158224(0x91);}static get[_0xb4230(0x6b)](){return!0x0;}static get[_0xb4230(0x87)](){return!0x0;}static get[_0xb4230(0x8a)](){return[_0x39c987];}constructor(_0x19a988){const _0x418d62=_0xb4230;super(_0x19a988),this[_0x418d62(0x7b)](_0x418d62(0x8b),!0x1),this['on'](_0x418d62(0x77),(_0x5a85dd,_0x13a5f0,_0x1ed8f9)=>{const _0x353db3=_0x418d62;_0x1ed8f9?this[_0x353db3(0x68)]():this[_0x353db3(0x81)]();});}[_0xb4230(0x64)](){const _0x5c582d=_0xb4230;!this[_0x5c582d(0x8b)]&&this[_0x5c582d(0x65)][_0x5c582d(0x6f)][_0x5c582d(0x83)](_0x5c582d(0x6a))&&(this[_0x5c582d(0x8b)]=!0x0);}[_0xb4230(0x68)](){const _0x48de75=_0xb4230;for(const [_0x53452d,_0x38cffb]of this[_0x48de75(0x65)][_0x48de75(0x79)])_0x38cffb[_0x48de75(0x8c)]&&_0x48de75(0x72)!==_0x53452d&&_0x38cffb[_0x48de75(0x78)](_0x48de75(0x7a));(this[_0x48de75(0x65)][_0x48de75(0x6d)][_0x48de75(0x82)](_0x48de75(0x75))&&this[_0x48de75(0x65)][_0x48de75(0x6d)][_0x48de75(0x83)](_0x48de75(0x75))[_0x48de75(0x78)](_0x48de75(0x7a)),this[_0x48de75(0x65)][_0x48de75(0x6d)][_0x48de75(0x82)](_0x48de75(0x67)))&&this[_0x48de75(0x65)][_0x48de75(0x6d)][_0x48de75(0x83)](_0x48de75(0x67))[_0x48de75(0x78)](_0x48de75(0x7a));this[_0x48de75(0x65)][_0x48de75(0x79)][_0x48de75(0x83)](_0x48de75(0x70))?.[_0x48de75(0x78)](_0x48de75(0x7a));const _0x2134eb=this[_0x48de75(0x65)][_0x48de75(0x7e)][_0x48de75(0x66)][_0x48de75(0x85)];this[_0x48de75(0x76)](_0x2134eb,_0x48de75(0x8e),_0x2bd41c=>_0x2bd41c[_0x48de75(0x6c)](),{'priority':_0x48de75(0x90)}),this[_0x48de75(0x76)](_0x2134eb,_0x48de75(0x6e),_0x52db30=>_0x52db30[_0x48de75(0x6c)](),{'priority':_0x48de75(0x90)}),this[_0x48de75(0x76)](_0x2134eb,_0x48de75(0x89),_0x597df3=>_0x597df3[_0x48de75(0x6c)](),{'priority':_0x48de75(0x90)});}[_0xb4230(0x81)](){const _0x4c50ed=_0xb4230;for(const [_0x2cf224,_0x1c75fd]of this[_0x4c50ed(0x65)][_0x4c50ed(0x79)])_0x1c75fd[_0x4c50ed(0x8c)]&&_0x4c50ed(0x72)!==_0x2cf224&&_0x1c75fd[_0x4c50ed(0x74)](_0x4c50ed(0x7a));this[_0x4c50ed(0x65)][_0x4c50ed(0x6d)][_0x4c50ed(0x82)](_0x4c50ed(0x67))&&this[_0x4c50ed(0x65)][_0x4c50ed(0x6d)][_0x4c50ed(0x83)](_0x4c50ed(0x67))[_0x4c50ed(0x74)](_0x4c50ed(0x7a)),this[_0x4c50ed(0x65)][_0x4c50ed(0x79)][_0x4c50ed(0x83)](_0x4c50ed(0x70))?.[_0x4c50ed(0x74)](_0x4c50ed(0x7a)),this[_0x4c50ed(0x73)](this[_0x4c50ed(0x65)][_0x4c50ed(0x7e)][_0x4c50ed(0x66)][_0x4c50ed(0x85)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x551cc9,_0x285435){var _0x287373=_0x44af,_0xde79a2=_0x551cc9();while(!![]){try{var _0x58117a=parseInt(_0x287373(0x1c9))/0x1+-parseInt(_0x287373(0x1c5))/0x2*(parseInt(_0x287373(0x1c8))/0x3)+parseInt(_0x287373(0x1cf))/0x4*(-parseInt(_0x287373(0x1ca))/0x5)+parseInt(_0x287373(0x1cb))/0x6*(-parseInt(_0x287373(0x1cd))/0x7)+-parseInt(_0x287373(0x1c6))/0x8*(parseInt(_0x287373(0x1c7))/0x9)+-parseInt(_0x287373(0x1cc))/0xa+-parseInt(_0x287373(0x1ce))/0xb*(-parseInt(_0x287373(0x1c4))/0xc);if(_0x58117a===_0x285435)break;else _0xde79a2['push'](_0xde79a2['shift']());}catch(_0x490287){_0xde79a2['push'](_0xde79a2['shift']());}}}(_0x40c3,0x57352));function _0x44af(_0x27ee3d,_0x4e84ff){var _0x40c3f6=_0x40c3();return _0x44af=function(_0x44aff6,_0x3c1f97){_0x44aff6=_0x44aff6-0x1c4;var _0x355eb8=_0x40c3f6[_0x44aff6];return _0x355eb8;},_0x44af(_0x27ee3d,_0x4e84ff);}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';export{AnnotationView}from'./annotations/view/annotationview.js';function _0x40c3(){var _0x14371c=['9DTNgVL','248553TcdQSQ','406417IsUuFp','1532370ZrIRwR','4914WUKYcq','6670560DLwrVt','5971NDTAHa','6281858XbXbfM','8ftXqAT','48pIxfrw','4PlPIcx','1513712dXhdFW'];_0x40c3=function(){return _0x14371c;};return _0x40c3();}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{CommentsEditing}from'./comments/commentsediting.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(_0x3b2f1b,_0x3b7937,_0xa6535){const t=_0x3b2f1b['t'];switch(_0x3b7937){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'},_0xa6535);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'},_0xa6535);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'},_0xa6535);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'},_0xa6535);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0xa6535);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'},_0xa6535);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'},_0xa6535);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'},_0xa6535);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
|
-
(function(
|
|
23
|
+
(function(_0x38ed0c,_0x32052f){const _0x332fae=_0x467b,_0x4a5d80=_0x38ed0c();while(!![]){try{const _0x45693a=-parseInt(_0x332fae(0x14f))/0x1+-parseInt(_0x332fae(0x152))/0x2+-parseInt(_0x332fae(0x157))/0x3*(-parseInt(_0x332fae(0x15d))/0x4)+-parseInt(_0x332fae(0x155))/0x5+-parseInt(_0x332fae(0x15a))/0x6*(-parseInt(_0x332fae(0x15b))/0x7)+parseInt(_0x332fae(0x158))/0x8+parseInt(_0x332fae(0x15f))/0x9;if(_0x45693a===_0x32052f)break;else _0x4a5d80['push'](_0x4a5d80['shift']());}catch(_0x442c99){_0x4a5d80['push'](_0x4a5d80['shift']());}}}(_0x47b5,0x9c26f));import{throttle as _0x520bd0}from'es-toolkit/compat';export function createMutationObserver(_0x2ec928){const _0x3f8d8d=_0x520bd0(_0x2ec928,0x1e),_0x474395=new MutationObserver(_0x1e8c13=>{const _0x3270a9=_0x467b;for(const _0x125ec7 of _0x1e8c13)(_0x3270a9(0x153)==_0x125ec7[_0x3270a9(0x15e)]&&_0x3270a9(0x154)==_0x125ec7[_0x3270a9(0x156)]||_0x3270a9(0x151)==_0x125ec7[_0x3270a9(0x15e)]||_0x3270a9(0x150)==_0x125ec7[_0x3270a9(0x15e)])&&_0x3f8d8d();});return{'attach'(_0xde54a8){const _0x5d5e05=_0x467b;_0x474395[_0x5d5e05(0x15c)](_0xde54a8,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x56a5c8=_0x467b;_0x474395[_0x56a5c8(0x159)](),_0x3f8d8d[_0x56a5c8(0x160)]();}};}function _0x467b(_0x4b9aec,_0x315143){const _0x47b531=_0x47b5();return _0x467b=function(_0x467b8e,_0x4a3d26){_0x467b8e=_0x467b8e-0x14f;let _0x505b15=_0x47b531[_0x467b8e];return _0x505b15;},_0x467b(_0x4b9aec,_0x315143);}function _0x47b5(){const _0x4f862b=['5537205QZpqvZ','attributeName','3WaQGLv','1708864kfsfrR','disconnect','12EZVEjt','1916999zhnPDz','observe','1481916ihIrIc','type','14709600sqdetX','cancel','882277NGQmuy','characterData','childList','273768AAEepC','attributes','class'];_0x47b5=function(){return _0x4f862b;};return _0x47b5();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0xdcbf30,_0x2c1aa8){const _0x41ee06=_0x2256,_0x3b1cf2=_0xdcbf30();while(!![]){try{const _0xaf89e=-parseInt(_0x41ee06(0xab))/0x1+-parseInt(_0x41ee06(0xb5))/0x2*(-parseInt(_0x41ee06(0xaf))/0x3)+parseInt(_0x41ee06(0xb2))/0x4+-parseInt(_0x41ee06(0xb3))/0x5*(parseInt(_0x41ee06(0xb1))/0x6)+-parseInt(_0x41ee06(0xb0))/0x7*(parseInt(_0x41ee06(0xaa))/0x8)+-parseInt(_0x41ee06(0xac))/0x9*(parseInt(_0x41ee06(0xae))/0xa)+parseInt(_0x41ee06(0xad))/0xb;if(_0xaf89e===_0x2c1aa8)break;else _0x3b1cf2['push'](_0x3b1cf2['shift']());}catch(_0x571ac1){_0x3b1cf2['push'](_0x3b1cf2['shift']());}}}(_0x3cf1,0xd5ec2));export function splitMarkerName(_0x154576){const _0x24812e=_0x2256,_0x486670=_0x154576[_0x24812e(0xb4)](':');return{'group':_0x486670[0x0],'id':_0x486670[0x1],'part':_0x486670[0x2]};}function _0x2256(_0x50e3c2,_0xd8def3){const _0x3cf163=_0x3cf1();return _0x2256=function(_0x2256c7,_0x587e58){_0x2256c7=_0x2256c7-0xaa;let _0x41a7f4=_0x3cf163[_0x2256c7];return _0x41a7f4;},_0x2256(_0x50e3c2,_0xd8def3);}function _0x3cf1(){const _0x5c6033=['10zitSsE','49407bSKFNd','42eCRFup','204354zumsvD','1841836ajpFLA','235wVFHPt','split','30CMmyeY','2188712mHztGh','492147jRcfln','3395754UrgMQk','47085412oUxquA'];_0x3cf1=function(){return _0x5c6033;};return _0x3cf1();}
|