@ckeditor/ckeditor5-comments 47.3.0-alpha.1 → 47.3.0-alpha.2
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 +19 -19
- 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
|
-
const _0x4b2094=_0x69f0;(function(_0x83d336,_0xb77579){const _0x1fab25=_0x69f0,_0x3c7703=_0x83d336();while(!![]){try{const _0xaba889=parseInt(_0x1fab25(0x15f))/0x1*(-parseInt(_0x1fab25(0x13e))/0x2)+parseInt(_0x1fab25(0x166))/0x3*(-parseInt(_0x1fab25(0x115))/0x4)+-parseInt(_0x1fab25(0x148))/0x5*(parseInt(_0x1fab25(0x165))/0x6)+parseInt(_0x1fab25(0x155))/0x7*(parseInt(_0x1fab25(0x123))/0x8)+parseInt(_0x1fab25(0x162))/0x9*(-parseInt(_0x1fab25(0x141))/0xa)+-parseInt(_0x1fab25(0x13a))/0xb+parseInt(_0x1fab25(0x129))/0xc*(parseInt(_0x1fab25(0x126))/0xd);if(_0xaba889===_0xb77579)break;else _0x3c7703['push'](_0x3c7703['shift']());}catch(_0x2c7a9b){_0x3c7703['push'](_0x3c7703['shift']());}}}(_0x4e1b,0x6c358));import{View as _0x1ca781,FocusCycler as _0x31d812}from'ckeditor5/src/ui.js';function _0x69f0(_0x4fc53b,_0x244816){const _0x4e1b62=_0x4e1b();return _0x69f0=function(_0x69f0af,_0x4dd8ef){_0x69f0af=_0x69f0af-0x115;let _0x5c8cfd=_0x4e1b62[_0x69f0af];return _0x5c8cfd;},_0x69f0(_0x4fc53b,_0x244816);}import{diff as _0x574c4a,Collection as _0x1941d9,FocusTracker as _0x4f5fd7,KeystrokeHandler as _0x1d1046}from'ckeditor5/src/utils.js';import{getTranslation as _0xa23066}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x3da820}from'./collapsedcommentsview.js';function _0x4e1b(){const _0x4695a8=['removeComment','_handleNewCommentModel','count','remove','_handleRemoveCommentModel','maxThreadTotalWeight','formatDateTime','_rearrangeCollapse','focusFirst','length','setTemplate','change','change:isEditMode','9446316xhIGCi','commentUpdated','added','listenTo','1531638YEGudv','change:isResolved','from','30EBQtnu','equal','maxCommentsWhenCollapsed','resolvedBy','commentViews','focusLast','CommentView','5UyEBZJ','forEach','add','change:isActive','createCollection','_rearrangeExpand','some','comments','bindTemplate','target','_config','resolvedAt','stopListening','161pGCABQ','editorConfig','weight','resolvedCommentView','bind','delete','includes','map','_shouldCollapse','keystrokes','1RSJcZa','expand','_model','2546271NpGeNz','focus','locale','1420602rFCjZX','2787TpGPwa','Thread\x20comments','arrowup','editorDestroyed','resolveCommentThread','authoredAt','hasDirtyComment','editorReady','viewUid','_handleInfoComment','arrowdown','get','_calculatePosition','isActive','insert','element','destroy','collapse','change:hasDirtyComment','2764ddvCop','maxCommentCharsWhenCollapsed','Marked\x20as\x20resolved','visibleViews','_setupKeyboardNavigation','removed','updateComment','isEditMode','reverse','focusTracker','_updateHasDirtyComment','delegate','_findOptimalIndex','refreshVisibleViews','51752DVlvyx','set','ck-thread__comments','91kMFmOd','render','focusCycler','6251100zZJkLE','resolved','_collapsedCommentsView','ck-hidden'];_0x4e1b=function(){return _0x4695a8;};return _0x4e1b();}export class CommentsListView extends _0x1ca781{[_0x4b2094(0x145)];[_0x4b2094(0x158)];[_0x4b2094(0x11e)];[_0x4b2094(0x15e)];[_0x4b2094(0x128)];[_0x4b2094(0x161)];[_0x4b2094(0x152)];[_0x4b2094(0x12b)];constructor(_0x4ff804,_0x4cb820,_0x38a102){const _0x3b728f=_0x4b2094;super(_0x4ff804);const _0x4c5122=this[_0x3b728f(0x150)];this[_0x3b728f(0x124)](_0x3b728f(0x16c),!0x1),this[_0x3b728f(0x124)](_0x3b728f(0x136),_0x4cb820[_0x3b728f(0x14f)][_0x3b728f(0x136)]),this[_0x3b728f(0x124)](_0x3b728f(0x173),!0x1),this[_0x3b728f(0x161)]=_0x4cb820,this[_0x3b728f(0x152)]=_0x38a102,this[_0x3b728f(0x145)]=this[_0x3b728f(0x14c)](),this[_0x3b728f(0x118)]=this[_0x3b728f(0x14c)](),this[_0x3b728f(0x158)]=null,this[_0x3b728f(0x11e)]=new _0x4f5fd7(),this[_0x3b728f(0x15e)]=new _0x1d1046(),this[_0x3b728f(0x128)]=new _0x31d812({'focusables':this[_0x3b728f(0x145)],'focusTracker':this[_0x3b728f(0x11e)],'keystrokeHandler':this[_0x3b728f(0x15e)],'keystrokeHandlerOptions':{'filter':_0x473ba3=>this[_0x3b728f(0x145)][_0x3b728f(0x15c)](_0x10befe=>_0x10befe[_0x3b728f(0x175)])[_0x3b728f(0x15b)](_0x473ba3[_0x3b728f(0x151)])},'actions':{'focusPrevious':_0x3b728f(0x168),'focusNext':_0x3b728f(0x170)}}),this[_0x3b728f(0x12b)]=new _0x3da820(_0x4ff804),this[_0x3b728f(0x12b)][_0x3b728f(0x159)](_0x3b728f(0x12f))['to'](this,_0x3b728f(0x136),_0x37657b=>_0x37657b-this[_0x3b728f(0x152)][_0x3b728f(0x143)]);for(const _0x532e8a of _0x4cb820[_0x3b728f(0x14f)])this[_0x3b728f(0x12e)](_0x532e8a);this[_0x3b728f(0x16f)](),this[_0x3b728f(0x13d)](_0x4cb820[_0x3b728f(0x14f)],_0x3b728f(0x14a),(_0x2a0827,_0x4c946c)=>{const _0x185582=_0x3b728f,_0x324776=this[_0x185582(0x172)](_0x4c946c);this[_0x185582(0x136)]++,this[_0x185582(0x12e)](_0x4c946c,_0x324776),this[_0x185582(0x122)]();}),this[_0x3b728f(0x13d)](_0x4cb820[_0x3b728f(0x14f)],_0x3b728f(0x130),(_0x51779b,_0x1a4b94)=>{const _0x25d62a=_0x3b728f;this[_0x25d62a(0x136)]--,this[_0x25d62a(0x131)](_0x1a4b94),this[_0x25d62a(0x122)]();}),this[_0x3b728f(0x13d)](_0x4cb820,_0x3b728f(0x13b),()=>this[_0x3b728f(0x122)]()),this[_0x3b728f(0x13d)](_0x4cb820,_0x3b728f(0x13f),()=>this[_0x3b728f(0x16f)]()),this['on'](_0x3b728f(0x14b),()=>this[_0x3b728f(0x122)]()),this['on'](_0x3b728f(0x178),()=>this[_0x3b728f(0x122)]()),this[_0x3b728f(0x137)]({'tag':'ul','attributes':{'class':[_0x3b728f(0x125),_0x4c5122['if'](_0x3b728f(0x136),_0x3b728f(0x12c),_0xb86d35=>!_0xb86d35)],'aria-label':_0xa23066(_0x4ff804,_0x3b728f(0x167))},'children':this[_0x3b728f(0x118)]});}get[_0x4b2094(0x15d)](){const _0x37f8a0=_0x4b2094;return this[_0x37f8a0(0x161)][_0x37f8a0(0x157)]>this[_0x37f8a0(0x152)][_0x37f8a0(0x132)]&&!this[_0x37f8a0(0x173)]&&!this[_0x37f8a0(0x16c)];}[_0x4b2094(0x127)](){const _0x212f4d=_0x4b2094;super[_0x212f4d(0x127)](),this[_0x212f4d(0x122)](),this[_0x212f4d(0x119)]();}[_0x4b2094(0x163)](_0x30ee65){const _0x53f1a1=_0x4b2094;-0x1===_0x30ee65?this[_0x53f1a1(0x128)][_0x53f1a1(0x146)]():this[_0x53f1a1(0x128)][_0x53f1a1(0x135)]();}[_0x4b2094(0x176)](){const _0x41f5c8=_0x4b2094;this[_0x41f5c8(0x12b)][_0x41f5c8(0x176)]();for(const _0x39a39b of this[_0x41f5c8(0x145)])_0x39a39b[_0x41f5c8(0x176)]();super[_0x41f5c8(0x176)]();}[_0x4b2094(0x122)](){const _0x2cf2ed=_0x4b2094;this[_0x2cf2ed(0x15d)]?this[_0x2cf2ed(0x134)]():this[_0x2cf2ed(0x14d)]();}[_0x4b2094(0x12e)](_0x2df023,_0x2d6deb){const _0x335e36=_0x4b2094,_0x557c17=new this[(_0x335e36(0x152))][(_0x335e36(0x147))](this[_0x335e36(0x164)],_0x2df023,{'maxCommentCharsWhenCollapsed':this[_0x335e36(0x152)][_0x335e36(0x116)],'formatDateTime':this[_0x335e36(0x152)][_0x335e36(0x133)],'editorConfig':this[_0x335e36(0x152)][_0x335e36(0x156)]});_0x557c17[_0x335e36(0x16e)]=_0x2df023['id'],_0x557c17[_0x335e36(0x120)](_0x335e36(0x12d))['to'](this),_0x557c17[_0x335e36(0x120)](_0x335e36(0x11b))['to'](this),_0x557c17[_0x335e36(0x120)](_0x335e36(0x16a))['to'](this),_0x557c17[_0x335e36(0x120)](_0x335e36(0x16d))['to'](this),_0x557c17[_0x335e36(0x120)](_0x335e36(0x169))['to'](this),this[_0x335e36(0x13d)](_0x557c17,_0x335e36(0x139),()=>this[_0x335e36(0x11f)]()),this[_0x335e36(0x145)][_0x335e36(0x14a)](_0x557c17,_0x2d6deb);}[_0x4b2094(0x172)](_0xfeaae){const _0x4e1cb3=_0x4b2094,_0x4f34ae=this[_0x4e1cb3(0x161)][_0x4e1cb3(0x121)](_0xfeaae);return this[_0x4e1cb3(0x158)]?this[_0x4e1cb3(0x158)][_0x4e1cb3(0x16b)]>_0xfeaae[_0x4e1cb3(0x16b)]?_0x4f34ae-0x1:_0x4f34ae:_0x4f34ae-0x1;}[_0x4b2094(0x16f)](){const _0xbb7272=_0x4b2094;if(this[_0xbb7272(0x161)][_0xbb7272(0x144)]&&this[_0xbb7272(0x161)][_0xbb7272(0x153)]){const _0x54b1f0={'id':_0xbb7272(0x12a),'author':this[_0xbb7272(0x161)][_0xbb7272(0x144)],'authoredAt':this[_0xbb7272(0x161)][_0xbb7272(0x153)],'content':_0xa23066(this[_0xbb7272(0x164)],_0xbb7272(0x117)),'attributes':{}};this[_0xbb7272(0x158)]=new this[(_0xbb7272(0x152))][(_0xbb7272(0x147))](this[_0xbb7272(0x164)],_0x54b1f0,{'maxCommentCharsWhenCollapsed':this[_0xbb7272(0x152)][_0xbb7272(0x116)],'formatDateTime':this[_0xbb7272(0x152)][_0xbb7272(0x133)],'editorConfig':this[_0xbb7272(0x152)][_0xbb7272(0x156)],'isSystemComment':!0x0}),this[_0xbb7272(0x145)][_0xbb7272(0x14a)](this[_0xbb7272(0x158)],this[_0xbb7272(0x161)][_0xbb7272(0x121)](_0x54b1f0));}else this[_0xbb7272(0x158)]&&(this[_0xbb7272(0x145)][_0xbb7272(0x130)](this[_0xbb7272(0x158)]),this[_0xbb7272(0x158)][_0xbb7272(0x176)](),this[_0xbb7272(0x158)]=null);this[_0xbb7272(0x122)]();}[_0x4b2094(0x131)](_0x32a44e){const _0x4a09d4=_0x4b2094,_0x55cda7=this[_0x4a09d4(0x145)][_0x4a09d4(0x130)](_0x32a44e['id']);this[_0x4a09d4(0x154)](_0x55cda7),_0x55cda7[_0x4a09d4(0x11c)]&&this[_0x4a09d4(0x11f)](),_0x55cda7[_0x4a09d4(0x176)]();}[_0x4b2094(0x11f)](){const _0x5e0839=_0x4b2094;this[_0x5e0839(0x16c)]=Array[_0x5e0839(0x140)](this[_0x5e0839(0x145)])[_0x5e0839(0x14e)](_0x49ef6e=>_0x49ef6e[_0x5e0839(0x11c)]);}[_0x4b2094(0x134)](){const _0x435ec3=_0x4b2094,_0x2b7c8a=function(_0x2f6e9b){const _0x37a670=_0x69f0,_0x342109=new _0x1941d9();for(const _0x33d86c of _0x2f6e9b)_0x342109[_0x37a670(0x14a)](_0x33d86c);return _0x342109;}(this[_0x435ec3(0x145)]),_0x3540fe=this[_0x435ec3(0x12b)][_0x435ec3(0x12f)];for(let _0x561412=0x1;_0x561412<=_0x3540fe;_0x561412++)_0x2b7c8a[_0x435ec3(0x130)](0x1);for(const _0x591a7c of _0x2b7c8a)_0x591a7c[_0x435ec3(0x177)]();_0x3540fe>0x0&&_0x2b7c8a[_0x435ec3(0x14a)](this[_0x435ec3(0x12b)],0x1),ns(_0x574c4a(Array[_0x435ec3(0x140)](this[_0x435ec3(0x118)]),Array[_0x435ec3(0x140)](_0x2b7c8a)),this[_0x435ec3(0x118)],_0x2b7c8a);}[_0x4b2094(0x14d)](){const _0x308f01=_0x4b2094;ns(_0x574c4a(Array[_0x308f01(0x140)](this[_0x308f01(0x118)]),Array[_0x308f01(0x140)](this[_0x308f01(0x145)])),this[_0x308f01(0x118)],this[_0x308f01(0x145)]);for(const _0x564367 of this[_0x308f01(0x118)])_0x564367[_0x308f01(0x160)]();}[_0x4b2094(0x119)](){const _0x111f5e=_0x4b2094;this[_0x111f5e(0x145)][_0x111f5e(0x149)](_0x2418d0=>{const _0x427eca=_0x111f5e;this[_0x427eca(0x11e)][_0x427eca(0x14a)](_0x2418d0[_0x427eca(0x175)]),this[_0x427eca(0x15e)][_0x427eca(0x13d)](_0x2418d0[_0x427eca(0x175)]);}),this[_0x111f5e(0x145)]['on'](_0x111f5e(0x138),(_0x2a1d53,_0x3de28d)=>{const _0x40d13a=_0x111f5e;for(const _0x378d13 of _0x3de28d[_0x40d13a(0x11a)])this[_0x40d13a(0x11e)][_0x40d13a(0x130)](_0x378d13[_0x40d13a(0x175)]),this[_0x40d13a(0x15e)][_0x40d13a(0x154)](_0x378d13[_0x40d13a(0x175)]);for(const _0x127067 of Array[_0x40d13a(0x140)](_0x3de28d[_0x40d13a(0x13c)])[_0x40d13a(0x11d)]())this[_0x40d13a(0x11e)][_0x40d13a(0x14a)](_0x127067[_0x40d13a(0x175)]),this[_0x40d13a(0x15e)][_0x40d13a(0x13d)](_0x127067[_0x40d13a(0x175)]);});}}function ns(_0x7b26d,_0x447d1f,_0xebf296){const _0x3431d3=_0x4b2094;let _0x28c504=0x0;for(const _0x6b2b9d of _0x7b26d)switch(_0x6b2b9d){case _0x3431d3(0x174):_0x447d1f[_0x3431d3(0x14a)](_0xebf296[_0x3431d3(0x171)](_0x28c504),_0x28c504),_0x28c504++;break;case _0x3431d3(0x15a):_0x447d1f[_0x3431d3(0x130)](_0x28c504);break;case _0x3431d3(0x142):_0x28c504++;}}
|
|
23
|
+
const _0x194be4=_0x59eb;(function(_0x1c11a1,_0x29effb){const _0x4801a4=_0x59eb,_0x3b6e3e=_0x1c11a1();while(!![]){try{const _0x1b7bad=-parseInt(_0x4801a4(0x129))/0x1*(parseInt(_0x4801a4(0xeb))/0x2)+-parseInt(_0x4801a4(0xf3))/0x3*(-parseInt(_0x4801a4(0x12d))/0x4)+-parseInt(_0x4801a4(0x12b))/0x5*(-parseInt(_0x4801a4(0x112))/0x6)+parseInt(_0x4801a4(0xdb))/0x7+-parseInt(_0x4801a4(0x11d))/0x8*(-parseInt(_0x4801a4(0x11b))/0x9)+parseInt(_0x4801a4(0x12a))/0xa+parseInt(_0x4801a4(0xfb))/0xb*(-parseInt(_0x4801a4(0x122))/0xc);if(_0x1b7bad===_0x29effb)break;else _0x3b6e3e['push'](_0x3b6e3e['shift']());}catch(_0xe46696){_0x3b6e3e['push'](_0x3b6e3e['shift']());}}}(_0x3f8c,0xadc57));function _0x59eb(_0x555c36,_0x2eb96d){const _0x3f8cc5=_0x3f8c();return _0x59eb=function(_0x59eb57,_0x1fced5){_0x59eb57=_0x59eb57-0xcb;let _0x2c381c=_0x3f8cc5[_0x59eb57];return _0x2c381c;},_0x59eb(_0x555c36,_0x2eb96d);}import{View as _0x210fb9,FocusCycler as _0x2607cb}from'ckeditor5/src/ui.js';import{diff as _0x5da9f1,Collection as _0x440146,FocusTracker as _0x3ef87e,KeystrokeHandler as _0x1c0d4a}from'ckeditor5/src/utils.js';import{getTranslation as _0x50c272}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x24ba2a}from'./collapsedcommentsview.js';export class CommentsListView extends _0x210fb9{[_0x194be4(0x100)];[_0x194be4(0xe3)];[_0x194be4(0x10f)];[_0x194be4(0x10d)];[_0x194be4(0xf6)];[_0x194be4(0xfc)];[_0x194be4(0x116)];[_0x194be4(0xde)];constructor(_0xb34c19,_0x3f0b32,_0x2bbd62){const _0x7cec00=_0x194be4;super(_0xb34c19);const _0x220856=this[_0x7cec00(0x12c)];this[_0x7cec00(0xdc)](_0x7cec00(0xf7),!0x1),this[_0x7cec00(0xdc)](_0x7cec00(0xda),_0x3f0b32[_0x7cec00(0xf2)][_0x7cec00(0xda)]),this[_0x7cec00(0xdc)](_0x7cec00(0xd5),!0x1),this[_0x7cec00(0xfc)]=_0x3f0b32,this[_0x7cec00(0x116)]=_0x2bbd62,this[_0x7cec00(0x100)]=this[_0x7cec00(0x118)](),this[_0x7cec00(0x120)]=this[_0x7cec00(0x118)](),this[_0x7cec00(0xe3)]=null,this[_0x7cec00(0x10f)]=new _0x3ef87e(),this[_0x7cec00(0x10d)]=new _0x1c0d4a(),this[_0x7cec00(0xf6)]=new _0x2607cb({'focusables':this[_0x7cec00(0x100)],'focusTracker':this[_0x7cec00(0x10f)],'keystrokeHandler':this[_0x7cec00(0x10d)],'keystrokeHandlerOptions':{'filter':_0x243dd9=>this[_0x7cec00(0x100)][_0x7cec00(0xd3)](_0x1fc3f2=>_0x1fc3f2[_0x7cec00(0xd4)])[_0x7cec00(0xee)](_0x243dd9[_0x7cec00(0xf1)])},'actions':{'focusPrevious':_0x7cec00(0x11e),'focusNext':_0x7cec00(0xea)}}),this[_0x7cec00(0xde)]=new _0x24ba2a(_0xb34c19),this[_0x7cec00(0xde)][_0x7cec00(0x104)](_0x7cec00(0xcb))['to'](this,_0x7cec00(0xda),_0x218bb9=>_0x218bb9-this[_0x7cec00(0x116)][_0x7cec00(0xcc)]);for(const _0x2d8bed of _0x3f0b32[_0x7cec00(0xf2)])this[_0x7cec00(0xe5)](_0x2d8bed);this[_0x7cec00(0x109)](),this[_0x7cec00(0xe2)](_0x3f0b32[_0x7cec00(0xf2)],_0x7cec00(0x126),(_0x464e7f,_0x468e7b)=>{const _0x3f5309=_0x7cec00,_0x10d637=this[_0x3f5309(0xf0)](_0x468e7b);this[_0x3f5309(0xda)]++,this[_0x3f5309(0xe5)](_0x468e7b,_0x10d637),this[_0x3f5309(0xd9)]();}),this[_0x7cec00(0xe2)](_0x3f0b32[_0x7cec00(0xf2)],_0x7cec00(0xce),(_0x25ee05,_0x3a71b4)=>{const _0x25b02c=_0x7cec00;this[_0x25b02c(0xda)]--,this[_0x25b02c(0x107)](_0x3a71b4),this[_0x25b02c(0xd9)]();}),this[_0x7cec00(0xe2)](_0x3f0b32,_0x7cec00(0xe0),()=>this[_0x7cec00(0xd9)]()),this[_0x7cec00(0xe2)](_0x3f0b32,_0x7cec00(0x11f),()=>this[_0x7cec00(0x109)]()),this['on'](_0x7cec00(0xd2),()=>this[_0x7cec00(0xd9)]()),this['on'](_0x7cec00(0xff),()=>this[_0x7cec00(0xd9)]()),this[_0x7cec00(0xd6)]({'tag':'ul','attributes':{'class':[_0x7cec00(0xe8),_0x220856['if'](_0x7cec00(0xda),_0x7cec00(0x106),_0x568123=>!_0x568123)],'aria-label':_0x50c272(_0xb34c19,_0x7cec00(0x119))},'children':this[_0x7cec00(0x120)]});}get[_0x194be4(0x108)](){const _0x5573a0=_0x194be4;return this[_0x5573a0(0xfc)][_0x5573a0(0xf9)]>this[_0x5573a0(0x116)][_0x5573a0(0xed)]&&!this[_0x5573a0(0xd5)]&&!this[_0x5573a0(0xf7)];}[_0x194be4(0x110)](){const _0xcb8082=_0x194be4;super[_0xcb8082(0x110)](),this[_0xcb8082(0xd9)](),this[_0xcb8082(0xd8)]();}[_0x194be4(0xe7)](_0x5354c8){const _0x354cb1=_0x194be4;-0x1===_0x5354c8?this[_0x354cb1(0xf6)][_0x354cb1(0x128)]():this[_0x354cb1(0xf6)][_0x354cb1(0x101)]();}[_0x194be4(0x123)](){const _0x406e2c=_0x194be4;this[_0x406e2c(0xde)][_0x406e2c(0x123)]();for(const _0x4d80ed of this[_0x406e2c(0x100)])_0x4d80ed[_0x406e2c(0x123)]();super[_0x406e2c(0x123)]();}[_0x194be4(0xd9)](){const _0x47df58=_0x194be4;this[_0x47df58(0x108)]?this[_0x47df58(0x10a)]():this[_0x47df58(0x10b)]();}[_0x194be4(0xe5)](_0x24195b,_0xb4dd9c){const _0x4ae774=_0x194be4,_0x316296=new this[(_0x4ae774(0x116))][(_0x4ae774(0xf4))](this[_0x4ae774(0xf8)],_0x24195b,{'maxCommentCharsWhenCollapsed':this[_0x4ae774(0x116)][_0x4ae774(0xe6)],'formatDateTime':this[_0x4ae774(0x116)][_0x4ae774(0xe9)],'editorConfig':this[_0x4ae774(0x116)][_0x4ae774(0xfd)]});_0x316296[_0x4ae774(0x127)]=_0x24195b['id'],_0x316296[_0x4ae774(0x11c)](_0x4ae774(0xf5))['to'](this),_0x316296[_0x4ae774(0x11c)](_0x4ae774(0x115))['to'](this),_0x316296[_0x4ae774(0x11c)](_0x4ae774(0x117))['to'](this),_0x316296[_0x4ae774(0x11c)](_0x4ae774(0xef))['to'](this),_0x316296[_0x4ae774(0x11c)](_0x4ae774(0xe4))['to'](this),this[_0x4ae774(0xe2)](_0x316296,_0x4ae774(0xcd),()=>this[_0x4ae774(0x121)]()),this[_0x4ae774(0x100)][_0x4ae774(0x126)](_0x316296,_0xb4dd9c);}[_0x194be4(0xf0)](_0x54ad4e){const _0x11e1bf=_0x194be4,_0xe87447=this[_0x11e1bf(0xfc)][_0x11e1bf(0x10e)](_0x54ad4e);return this[_0x11e1bf(0xe3)]?this[_0x11e1bf(0xe3)][_0x11e1bf(0xe1)]>_0x54ad4e[_0x11e1bf(0xe1)]?_0xe87447-0x1:_0xe87447:_0xe87447-0x1;}[_0x194be4(0x109)](){const _0x42ef4e=_0x194be4;if(this[_0x42ef4e(0xfc)][_0x42ef4e(0xcf)]&&this[_0x42ef4e(0xfc)][_0x42ef4e(0xdf)]){const _0x246a72={'id':_0x42ef4e(0x111),'author':this[_0x42ef4e(0xfc)][_0x42ef4e(0xcf)],'authoredAt':this[_0x42ef4e(0xfc)][_0x42ef4e(0xdf)],'content':_0x50c272(this[_0x42ef4e(0xf8)],_0x42ef4e(0x125)),'attributes':{}};this[_0x42ef4e(0xe3)]=new this[(_0x42ef4e(0x116))][(_0x42ef4e(0xf4))](this[_0x42ef4e(0xf8)],_0x246a72,{'maxCommentCharsWhenCollapsed':this[_0x42ef4e(0x116)][_0x42ef4e(0xe6)],'formatDateTime':this[_0x42ef4e(0x116)][_0x42ef4e(0xe9)],'editorConfig':this[_0x42ef4e(0x116)][_0x42ef4e(0xfd)],'isSystemComment':!0x0}),this[_0x42ef4e(0x100)][_0x42ef4e(0x126)](this[_0x42ef4e(0xe3)],this[_0x42ef4e(0xfc)][_0x42ef4e(0x10e)](_0x246a72));}else this[_0x42ef4e(0xe3)]&&(this[_0x42ef4e(0x100)][_0x42ef4e(0xce)](this[_0x42ef4e(0xe3)]),this[_0x42ef4e(0xe3)][_0x42ef4e(0x123)](),this[_0x42ef4e(0xe3)]=null);this[_0x42ef4e(0xd9)]();}[_0x194be4(0x107)](_0x4ad6c2){const _0x467fa6=_0x194be4,_0xc4e567=this[_0x467fa6(0x100)][_0x467fa6(0xce)](_0x4ad6c2['id']);this[_0x467fa6(0xd1)](_0xc4e567),_0xc4e567[_0x467fa6(0x114)]&&this[_0x467fa6(0x121)](),_0xc4e567[_0x467fa6(0x123)]();}[_0x194be4(0x121)](){const _0x401a75=_0x194be4;this[_0x401a75(0xf7)]=Array[_0x401a75(0x103)](this[_0x401a75(0x100)])[_0x401a75(0x113)](_0x3f1d0c=>_0x3f1d0c[_0x401a75(0x114)]);}[_0x194be4(0x10a)](){const _0x107fff=_0x194be4,_0x3c7156=function(_0x3a9a5c){const _0x2be85e=_0x59eb,_0x25650b=new _0x440146();for(const _0x126bae of _0x3a9a5c)_0x25650b[_0x2be85e(0x126)](_0x126bae);return _0x25650b;}(this[_0x107fff(0x100)]),_0x30db59=this[_0x107fff(0xde)][_0x107fff(0xcb)];for(let _0x1049a6=0x1;_0x1049a6<=_0x30db59;_0x1049a6++)_0x3c7156[_0x107fff(0xce)](0x1);for(const _0x4c9d7d of _0x3c7156)_0x4c9d7d[_0x107fff(0xfe)]();_0x30db59>0x0&&_0x3c7156[_0x107fff(0x126)](this[_0x107fff(0xde)],0x1),ns(_0x5da9f1(Array[_0x107fff(0x103)](this[_0x107fff(0x120)]),Array[_0x107fff(0x103)](_0x3c7156)),this[_0x107fff(0x120)],_0x3c7156);}[_0x194be4(0x10b)](){const _0x5d8092=_0x194be4;ns(_0x5da9f1(Array[_0x5d8092(0x103)](this[_0x5d8092(0x120)]),Array[_0x5d8092(0x103)](this[_0x5d8092(0x100)])),this[_0x5d8092(0x120)],this[_0x5d8092(0x100)]);for(const _0xb8d1fb of this[_0x5d8092(0x120)])_0xb8d1fb[_0x5d8092(0x124)]();}[_0x194be4(0xd8)](){const _0x442d3a=_0x194be4;this[_0x442d3a(0x100)][_0x442d3a(0x102)](_0x584018=>{const _0x51bb6a=_0x442d3a;this[_0x51bb6a(0x10f)][_0x51bb6a(0x126)](_0x584018[_0x51bb6a(0xd4)]),this[_0x51bb6a(0x10d)][_0x51bb6a(0xe2)](_0x584018[_0x51bb6a(0xd4)]);}),this[_0x442d3a(0x100)]['on'](_0x442d3a(0x10c),(_0x54cd9f,_0x2a7340)=>{const _0x52f8d4=_0x442d3a;for(const _0x35db8e of _0x2a7340[_0x52f8d4(0x11a)])this[_0x52f8d4(0x10f)][_0x52f8d4(0xce)](_0x35db8e[_0x52f8d4(0xd4)]),this[_0x52f8d4(0x10d)][_0x52f8d4(0xd1)](_0x35db8e[_0x52f8d4(0xd4)]);for(const _0x3e1987 of Array[_0x52f8d4(0x103)](_0x2a7340[_0x52f8d4(0xd7)])[_0x52f8d4(0x105)]())this[_0x52f8d4(0x10f)][_0x52f8d4(0x126)](_0x3e1987[_0x52f8d4(0xd4)]),this[_0x52f8d4(0x10d)][_0x52f8d4(0xe2)](_0x3e1987[_0x52f8d4(0xd4)]);});}}function ns(_0x319f9a,_0xfcc773,_0x792c72){const _0x27606a=_0x194be4;let _0x313fab=0x0;for(const _0x1dd8c8 of _0x319f9a)switch(_0x1dd8c8){case _0x27606a(0xdd):_0xfcc773[_0x27606a(0x126)](_0x792c72[_0x27606a(0xec)](_0x313fab),_0x313fab),_0x313fab++;break;case _0x27606a(0xd0):_0xfcc773[_0x27606a(0xce)](_0x313fab);break;case _0x27606a(0xfa):_0x313fab++;}}function _0x3f8c(){const _0x47b430=['reverse','ck-hidden','_handleRemoveCommentModel','_shouldCollapse','_handleInfoComment','_rearrangeCollapse','_rearrangeExpand','change','keystrokes','_findOptimalIndex','focusTracker','render','resolved','6GJPrcg','some','isEditMode','updateComment','_config','resolveCommentThread','createCollection','Thread\x20comments','removed','90eqnfyM','delegate','199224DYivdC','arrowup','change:isResolved','visibleViews','_updateHasDirtyComment','8916VaDmpE','destroy','expand','Marked\x20as\x20resolved','add','viewUid','focusLast','463649UYvBps','7927710jdFGwb','6914420LRFnLh','bindTemplate','344GwpdtL','count','maxCommentsWhenCollapsed','change:isEditMode','remove','resolvedBy','delete','stopListening','change:isActive','map','element','isActive','setTemplate','added','_setupKeyboardNavigation','refreshVisibleViews','length','5507495dBAlcO','set','insert','_collapsedCommentsView','resolvedAt','commentUpdated','authoredAt','listenTo','resolvedCommentView','editorDestroyed','_handleNewCommentModel','maxCommentCharsWhenCollapsed','focus','ck-thread__comments','formatDateTime','arrowdown','6zecuBl','get','maxThreadTotalWeight','includes','editorReady','_calculatePosition','target','comments','37575OnMyUe','CommentView','removeComment','focusCycler','hasDirtyComment','locale','weight','equal','32362dyIiZa','_model','editorConfig','collapse','change:hasDirtyComment','commentViews','focusFirst','forEach','from','bind'];_0x3f8c=function(){return _0x47b430;};return _0x3f8c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x488e(){const _0xa00e7a=['ck-context__value','THREAD_CONTEXT_LABEL','span','12860ZTnssn','element','2344365CgpbVz','bindTemplate','contextValue','focus','471657KVDZCs','24pxzLit','12834rRQeVJ','10sIcQpB','setTemplate','760102YlJmit','8922768kxSQJA','set','4842928MnnLXV','1717191PufsgS'];_0x488e=function(){return _0xa00e7a;};return _0x488e();}const _0x262bcf=_0x5720;(function(_0x3b6542,_0x46314c){const _0x331670=_0x5720,_0x31f87c=_0x3b6542();while(!![]){try{const _0x2f4cd1=parseInt(_0x331670(0x126))/0x1+-parseInt(_0x331670(0x120))/0x2*(parseInt(_0x331670(0x130))/0x3)+parseInt(_0x331670(0x125))/0x4+parseInt(_0x331670(0x12c))/0x5*(parseInt(_0x331670(0x131))/0x6)+-parseInt(_0x331670(0x122))/0x7+-parseInt(_0x331670(0x123))/0x8+-parseInt(_0x331670(0x132))/0x9*(parseInt(_0x331670(0x12a))/0xa);if(_0x2f4cd1===_0x46314c)break;else _0x31f87c['push'](_0x31f87c['shift']());}catch(_0x516750){_0x31f87c['push'](_0x31f87c['shift']());}}}(_0x488e,0xea440));import{View as _0x49cce4}from'ckeditor5/src/ui.js';import{getTranslation as _0x118de2}from'../../../utils/common-translations.js';function _0x5720(_0x142ea8,_0x290ba4){const _0x488e15=_0x488e();return _0x5720=function(_0x572011,_0x586386){_0x572011=_0x572011-0x120;let _0x56a91e=_0x488e15[_0x572011];return _0x56a91e;},_0x5720(_0x142ea8,_0x290ba4);}export class CommentThreadHeaderContextView extends _0x49cce4{constructor(_0x21c6f1){const _0x527c92=_0x5720;super(_0x21c6f1);const _0x410ffb=this[_0x527c92(0x12d)];this[_0x527c92(0x124)](_0x527c92(0x12e),''),this[_0x527c92(0x121)]({'tag':_0x527c92(0x129),'attributes':{'class':['ck',_0x527c92(0x127)],'aria-label':_0x410ffb['to'](_0x527c92(0x12e),_0x5dc1a3=>_0x118de2(_0x21c6f1,_0x527c92(0x128),_0x5dc1a3)),'tabindex':-0x1},'children':[{'text':_0x410ffb['to'](_0x527c92(0x12e))}]});}[_0x262bcf(0x12f)](){const _0x4d54ca=_0x262bcf;this[_0x4d54ca(0x12b)][_0x4d54ca(0x12f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x545d(_0x526895,_0x3f803b){const _0x32fabc=_0x32fa();return _0x545d=function(_0x545ddf,_0x5457e1){_0x545ddf=_0x545ddf-0xca;let _0x2a9f31=_0x32fabc[_0x545ddf];return _0x2a9f31;},_0x545d(_0x526895,_0x3f803b);}const _0x593fe1=_0x545d;function _0x32fa(){const _0xf23345=['_trimContextValue','Reopen','9KOpmeA','ck-context','render','length','isEnabled','30tFXywH','isResolvable','icon','focusCycler','tab','ck-context-wrapper','focusFirst','setTemplate','div','reopenButtonView','fire','offsetWidth','bind','classList','contextValue','2vnvYoa','label','tooltip','isVisible','506560BTkkau','keystrokes','.ck-context__value','shift+tab','add','contextView','_attachContextActions','ck-annotation__actions','Comment\x20was\x20made\x20on\x20an\x20element','412030WsuuvW','mouseleave','focusTracker','38721FKupSF','11XhDjKL','_createContextView','createCollection','overlay','1997247eudrgm','listenTo','mouseenter','.ck-context','lastIndexOf','_model','context','scrollWidth','20565492BiYxtI','_createReopenButton','element','execute','...','focus','reopenCommentThread','querySelector','focusables','substring','ck-context--quotes','isResolved','value','247098ZbaIJZ','_setupKeyboardNavigation','isReadOnly','bindTemplate','hasContext','2689424Xtoedq','16hrFiQO','ck-thread__header','locale','remove'];_0x32fa=function(){return _0xf23345;};return _0x32fa();}(function(_0x13aa55,_0xda8a92){const _0x35158d=_0x545d,_0x2cbfe1=_0x13aa55();while(!![]){try{const _0x3b7249=-parseInt(_0x35158d(0xe9))/0x1*(-parseInt(_0x35158d(0xd9))/0x2)+parseInt(_0x35158d(0x103))/0x3*(-parseInt(_0x35158d(0x109))/0x4)+-parseInt(_0x35158d(0xe6))/0x5*(parseInt(_0x35158d(0xca))/0x6)+-parseInt(_0x35158d(0xee))/0x7+-parseInt(_0x35158d(0x108))/0x8*(parseInt(_0x35158d(0x10f))/0x9)+-parseInt(_0x35158d(0xdd))/0xa+-parseInt(_0x35158d(0xea))/0xb*(-parseInt(_0x35158d(0xf6))/0xc);if(_0x3b7249===_0xda8a92)break;else _0x2cbfe1['push'](_0x2cbfe1['shift']());}catch(_0x49b35c){_0x2cbfe1['push'](_0x2cbfe1['shift']());}}}(_0x32fa,0x52baf));import{View as _0x441680,ButtonView as _0x46cccc,FocusCycler as _0x2a100b}from'ckeditor5/src/ui.js';import{FocusTracker as _0x44cf32,KeystrokeHandler as _0x59bc1a}from'ckeditor5/src/utils.js';import{IconUndo as _0xffd1c9}from'ckeditor5/src/icons.js';import{getTranslation as _0x1e1a90}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x32d952}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x441680{[_0x593fe1(0xf3)];[_0x593fe1(0xd3)];[_0x593fe1(0xe2)];[_0x593fe1(0xfe)];[_0x593fe1(0xe8)];[_0x593fe1(0xde)];[_0x593fe1(0xcd)];constructor(_0x3bfc72,_0xcce194){const _0x554ed9=_0x593fe1;super(_0x3bfc72);const _0x4ada1c=this[_0x554ed9(0x106)];this[_0x554ed9(0xf3)]=_0xcce194,this[_0x554ed9(0xd3)]=this[_0x554ed9(0xf7)](),this[_0x554ed9(0xe2)]=this[_0x554ed9(0xeb)](),this[_0x554ed9(0xfe)]=this[_0x554ed9(0xec)]([this[_0x554ed9(0xe2)],this[_0x554ed9(0xd3)]]),this[_0x554ed9(0xe8)]=new _0x44cf32(),this[_0x554ed9(0xde)]=new _0x59bc1a(),this[_0x554ed9(0xcd)]=new _0x2a100b({'focusables':this[_0x554ed9(0xfe)],'focusTracker':this[_0x554ed9(0xe8)],'keystrokeHandler':this[_0x554ed9(0xde)],'actions':{'focusPrevious':_0x554ed9(0xe0),'focusNext':_0x554ed9(0xce)}}),this[_0x554ed9(0xd6)](_0x554ed9(0x107))['to'](this[_0x554ed9(0xf3)],_0x554ed9(0xf4),_0x1a52f9=>!!_0x1a52f9),this[_0x554ed9(0xd6)](_0x554ed9(0xd8))['to'](this[_0x554ed9(0xf3)],_0x554ed9(0xf4),_0x3a9d76=>_0x3a9d76&&_0x3a9d76[_0x554ed9(0x102)]?this[_0x554ed9(0x10d)](_0x3a9d76[_0x554ed9(0x102)]):_0x1e1a90(this[_0x554ed9(0x10b)],_0x554ed9(0xe5))),this[_0x554ed9(0xd1)]({'tag':_0x554ed9(0xd2),'attributes':{'class':[_0x554ed9(0x10a)]},'children':[{'tag':_0x554ed9(0xd2),'attributes':{'class':[_0x554ed9(0xcf)]},'children':[{'tag':_0x554ed9(0xd2),'attributes':{'class':[_0x554ed9(0x110),_0x4ada1c['if'](_0x554ed9(0x107),_0x554ed9(0x100))]},'children':[this[_0x554ed9(0xe2)]]}]},{'tag':_0x554ed9(0xd2),'attributes':{'class':[_0x554ed9(0xe4)]},'children':[this[_0x554ed9(0xd3)]]}]});}[_0x593fe1(0x111)](){const _0x2937f0=_0x593fe1;super[_0x2937f0(0x111)](),this[_0x2937f0(0xe3)](),this[_0x2937f0(0x104)]();}[_0x593fe1(0xfb)](){const _0xc4af28=_0x593fe1;this[_0xc4af28(0xcd)][_0xc4af28(0xd0)]();}[_0x593fe1(0xf7)](){const _0x1453b5=_0x593fe1,_0x50b57e=new _0x46cccc(this[_0x1453b5(0x10b)]);return _0x50b57e[_0x1453b5(0xda)]=_0x1e1a90(this[_0x1453b5(0x10b)],_0x1453b5(0x10e)),_0x50b57e[_0x1453b5(0xdb)]=_0x1e1a90(this[_0x1453b5(0x10b)],_0x1453b5(0x10e)),_0x50b57e[_0x1453b5(0xcc)]=_0xffd1c9,_0x50b57e[_0x1453b5(0xd6)](_0x1453b5(0x113))['to'](this[_0x1453b5(0xf3)],_0x1453b5(0x105),_0x8144ee=>!_0x8144ee),_0x50b57e[_0x1453b5(0xd6)](_0x1453b5(0xdc))['to'](this[_0x1453b5(0xf3)],_0x1453b5(0xcb),this[_0x1453b5(0xf3)],_0x1453b5(0x101),(_0xd92133,_0x4c1dd5)=>_0xd92133&&_0x4c1dd5),_0x50b57e['on'](_0x1453b5(0xf9),()=>{const _0x1ae684=_0x1453b5;this[_0x1ae684(0xd4)](_0x1ae684(0xfc),this[_0x1ae684(0xf3)]['id']);}),_0x50b57e;}[_0x593fe1(0x10d)](_0x348234){const _0x540354=_0x593fe1;if(_0x348234[_0x540354(0x112)]<0x96)return _0x348234;const _0x54ac90=_0x348234[_0x540354(0xf2)]('\x20',0x93);return _0x348234[_0x540354(0xff)](0x0,_0x54ac90>-0x1?_0x54ac90:0x93)+_0x540354(0xfa);}[_0x593fe1(0xe3)](){const _0x403aa9=_0x593fe1,_0xdf17dd=this[_0x403aa9(0xf8)][_0x403aa9(0xfd)](_0x403aa9(0xf1)),_0x1a6a7a=_0xdf17dd[_0x403aa9(0xfd)](_0x403aa9(0xdf));this[_0x403aa9(0xef)](_0xdf17dd,_0x403aa9(0xf0),()=>{const _0x16a2d7=_0x403aa9;_0x1a6a7a[_0x16a2d7(0xd5)]<_0x1a6a7a[_0x16a2d7(0xf5)]&&_0xdf17dd[_0x16a2d7(0xd7)][_0x16a2d7(0xe1)](_0x16a2d7(0xed));}),this[_0x403aa9(0xef)](_0xdf17dd,_0x403aa9(0xe7),()=>{const _0x1119fc=_0x403aa9;_0xdf17dd[_0x1119fc(0xd7)][_0x1119fc(0x10c)](_0x1119fc(0xed));});}[_0x593fe1(0x104)](){const _0x4108b6=_0x593fe1;this[_0x4108b6(0xde)][_0x4108b6(0xef)](this[_0x4108b6(0xf8)]);for(const _0x45503c of this[_0x4108b6(0xfe)])this[_0x4108b6(0xe8)][_0x4108b6(0xe1)](_0x45503c[_0x4108b6(0xf8)]),this[_0x4108b6(0xde)][_0x4108b6(0xef)](_0x45503c[_0x4108b6(0xf8)]);}[_0x593fe1(0xeb)](){const _0x2aa22a=_0x593fe1,_0x5cf80a=new _0x32d952(this[_0x2aa22a(0x10b)]);return _0x5cf80a[_0x2aa22a(0xd6)](_0x2aa22a(0xd8))['to'](this),_0x5cf80a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x3b706d=_0x58c0;function _0x58c0(_0x43be97,_0x6b3f50){const _0x2c650a=_0x2c65();return _0x58c0=function(_0x58c044,_0x1301bf){_0x58c044=_0x58c044-0x160;let _0x5d6830=_0x2c650a[_0x58c044];return _0x5d6830;},_0x58c0(_0x43be97,_0x6b3f50);}function _0x2c65(){const _0x581800=['editorReady','div','filter','18609217LtHiJH','_focusOnNonInteractiveMouseDown','76VonbzK','mousedown','7EsSZby','then','value','bind','editing','destroy','130431RfQgmg','editor','9281056mhNyrA','ck-thread__input','2712294YDGFQz','preventDefault','focusCycler','showButtons','view','ck-thread__user','10DiUmUJ','extendTemplate','7770AyVvxh','24911zyAFgl','setTemplate','612gpMPVU','delegate','commentInputView','contains','set','listenTo','2335fqeSvR','some','ck-comment__input-container','ck-comment__input-container--active','showInput','editorDestroyed','userView','target','focus','render','96fHlaXj','bindTemplate','focusTracker','change:showInput','getDomRoot','element','createEditor','865423SVtpxl','isFocused'];_0x2c65=function(){return _0x581800;};return _0x2c65();}(function(_0x2d0090,_0x5110d4){const _0x5c310d=_0x58c0,_0x12131f=_0x2d0090();while(!![]){try{const _0x3bfbb0=-parseInt(_0x5c310d(0x17c))/0x1*(parseInt(_0x5c310d(0x18e))/0x2)+parseInt(_0x5c310d(0x16f))/0x3*(-parseInt(_0x5c310d(0x167))/0x4)+-parseInt(_0x5c310d(0x184))/0x5*(parseInt(_0x5c310d(0x17b))/0x6)+parseInt(_0x5c310d(0x169))/0x7*(-parseInt(_0x5c310d(0x171))/0x8)+-parseInt(_0x5c310d(0x173))/0x9+-parseInt(_0x5c310d(0x179))/0xa*(-parseInt(_0x5c310d(0x165))/0xb)+parseInt(_0x5c310d(0x17e))/0xc*(parseInt(_0x5c310d(0x160))/0xd);if(_0x3bfbb0===_0x5110d4)break;else _0x12131f['push'](_0x12131f['shift']());}catch(_0x5f7db3){_0x12131f['push'](_0x12131f['shift']());}}}(_0x2c65,0xf3d9e));import{View as _0x3f27b8}from'ckeditor5/src/ui.js';import{CommentInputView as _0x5184a0}from'./commentinputview.js';import{UserView as _0x5ec407}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x3f27b8{constructor(_0xe763ba,_0x26a310,_0x242610){const _0xf117e=_0x58c0;super(_0xe763ba),this[_0xf117e(0x180)]=new _0x5184a0(_0xe763ba,_0x242610),this[_0xf117e(0x175)]=this[_0xf117e(0x180)][_0xf117e(0x175)],this[_0xf117e(0x180)][_0xf117e(0x16c)](_0xf117e(0x176))['to'](this[_0xf117e(0x180)][_0xf117e(0x190)],_0xf117e(0x161),this[_0xf117e(0x180)],_0xf117e(0x16b),(_0x5b084c,_0x9c8e1f)=>_0x5b084c||!!_0x9c8e1f),this[_0xf117e(0x182)](_0xf117e(0x188),!0x1),this['on'](_0xf117e(0x191),()=>{const _0x376db0=_0xf117e;this[_0x376db0(0x188)]&&!this[_0x376db0(0x180)][_0x376db0(0x170)]&&this[_0x376db0(0x180)][_0x376db0(0x194)]();}),this[_0xf117e(0x180)][_0xf117e(0x17f)](_0xf117e(0x162))['to'](this),this[_0xf117e(0x180)][_0xf117e(0x17f)](_0xf117e(0x189))['to'](this),this[_0xf117e(0x18a)]=new _0x5ec407(_0xe763ba,_0x26a310),this[_0xf117e(0x18a)][_0xf117e(0x17a)]({'attributes':{'class':_0xf117e(0x178),'aria-hidden':!0x0}}),this[_0xf117e(0x180)][_0xf117e(0x17a)]({'attributes':{'class':_0xf117e(0x172)}}),this[_0xf117e(0x17d)]({'tag':_0xf117e(0x163),'attributes':{'class':[_0xf117e(0x186),this[_0xf117e(0x18f)]['if'](_0xf117e(0x188),_0xf117e(0x187))]},'children':[this[_0xf117e(0x18a)],this[_0xf117e(0x180)]]});}[_0x3b706d(0x18d)](){const _0x6fff6c=_0x3b706d;super[_0x6fff6c(0x18d)](),this[_0x6fff6c(0x166)]();}[_0x3b706d(0x16e)](){const _0x4cee7b=_0x3b706d;return this[_0x4cee7b(0x180)][_0x4cee7b(0x16e)]()[_0x4cee7b(0x16a)](()=>super[_0x4cee7b(0x16e)]());}[_0x3b706d(0x18c)](_0x3853b2){const _0x1ab728=_0x3b706d;this[_0x1ab728(0x180)][_0x1ab728(0x18c)](_0x3853b2);}[_0x3b706d(0x166)](){const _0x5f2327=_0x3b706d;this[_0x5f2327(0x183)](this[_0x5f2327(0x193)],_0x5f2327(0x168),(_0x50ec9f,_0x30efa0)=>{const _0x3936eb=_0x5f2327,{submitButtonView:_0x92f771,cancelButtonView:_0x129615,editor:_0x2f2c5f}=this[_0x3936eb(0x180)];[_0x92f771[_0x3936eb(0x193)],_0x129615[_0x3936eb(0x193)],_0x2f2c5f?_0x2f2c5f[_0x3936eb(0x16d)][_0x3936eb(0x177)][_0x3936eb(0x192)]():null][_0x3936eb(0x164)](_0x27ee54=>_0x27ee54)[_0x3936eb(0x185)](_0x50888b=>_0x50888b[_0x3936eb(0x181)](_0x30efa0[_0x3936eb(0x18b)]))||(this[_0x3936eb(0x18c)](),_0x30efa0[_0x3936eb(0x174)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2d411e=_0x2fbc;function _0x2fbc(_0x1df599,_0x5b5e73){const _0x5a1426=_0x5a14();return _0x2fbc=function(_0x2fbcaa,_0x425682){_0x2fbcaa=_0x2fbcaa-0xa9;let _0x5d05d8=_0x5a1426[_0x2fbcaa];return _0x5d05d8;},_0x2fbc(_0x1df599,_0x5b5e73);}(function(_0x408f60,_0x4c21db){const _0x163c7e=_0x2fbc,_0x338717=_0x408f60();while(!![]){try{const _0x4435ab=-parseInt(_0x163c7e(0xbf))/0x1+-parseInt(_0x163c7e(0xb1))/0x2+-parseInt(_0x163c7e(0xcc))/0x3*(-parseInt(_0x163c7e(0xe6))/0x4)+parseInt(_0x163c7e(0xac))/0x5*(-parseInt(_0x163c7e(0xbd))/0x6)+-parseInt(_0x163c7e(0xc6))/0x7*(parseInt(_0x163c7e(0xc1))/0x8)+-parseInt(_0x163c7e(0xc0))/0x9*(-parseInt(_0x163c7e(0xde))/0xa)+-parseInt(_0x163c7e(0x102))/0xb*(-parseInt(_0x163c7e(0xd4))/0xc);if(_0x4435ab===_0x4c21db)break;else _0x338717['push'](_0x338717['shift']());}catch(_0x3f3209){_0x338717['push'](_0x338717['shift']());}}}(_0x5a14,0x21fd4));import{ConfirmMixin as _0x1750c1,LateFocusButtonView as _0x206687}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x3874bc}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x104378}from'./basecommentthreadview.js';function _0x5a14(){const _0xe533d6=['commentThreadChildren','createCollection','_createResolveButton','removeConfirm','setTemplate','444WyLkNx','icon','237450GxkKwP','962838IAVoRS','280MCnosS','change:isActive','ck-thread__container','resolveCommentThread','showConfirm','16429wdSfOp','.ck-thread__container','archivedAt','tooltip','ariaDescriptionView','actionIndicator','171dhtcuO','_updateArchivedThreadHeader','listitem','isResolved','add','isReadOnly','locale','focusables','2104356cHRUjY','resolveButton','isActive','bindTemplate','isVisible','actionBar','placeholder','get','has','ariaLabel','20KfUFvK','commentThreadInputView','unbind','remove','Resolve','_boundFirstCommentView','containerElement','ck-rounded-corners','19336SwDBGz','_bindFirstCommentView','isResolvable','commentThreadHeaderView','Write\x20a\x20comment...','commentsListView','ck-thread--unlinked','extendTemplate','cancelConfirm','execute','bind','isEnabled','then','length','label','ck-thread--','ck-comment--resolve','high','removeCommentThread','isUnlinked','set','div','change:archivedAt','isSystemComment','listenTo','stop','ck-thread--active','getTemplate','11IPDHsk','render','focus','removeButton','10520nPHlqM','change:isReadOnly','_cancelAllConfirms','element','Delete\x20comment\x20thread?','100708WKOPva','querySelector','_model','commentViews','fire','ck-thread','ck-reset_all-excluded'];_0x5a14=function(){return _0xe533d6;};return _0x5a14();}import{getTranslation as _0x220844}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1750c1(_0x104378){[_0x2d411e(0xb8)];[_0x2d411e(0xe4)];[_0x2d411e(0xd5)];[_0x2d411e(0xe3)];constructor(_0x1a86d3,_0x4bcc7f,_0xca7507,_0x168a12){const _0x4cd511=_0x2d411e;super(_0x1a86d3,_0x4bcc7f,_0xca7507,_0x168a12),this[_0x4cd511(0xb8)]=this[_0x4cd511(0xb9)]([this[_0x4cd511(0xeb)],this[_0x4cd511(0xdf)],this[_0x4cd511(0xca)]]),this[_0x4cd511(0xfa)](_0x4cd511(0xcb),null),this[_0x4cd511(0xe4)]=null,this[_0x4cd511(0xe3)]=null,this[_0x4cd511(0xd2)]=_0x1a86d3,this[_0x4cd511(0xd5)]=this[_0x4cd511(0xba)](),this[_0x4cd511(0xbc)](this[_0x4cd511(0x101)]()),this['on'](_0x4cd511(0xc2),(_0x1aee50,_0x8070e,_0x296b7c)=>{const _0x32c49d=_0x4cd511;_0x296b7c||this[_0x32c49d(0xae)]();}),this[_0x4cd511(0xfe)](this[_0x4cd511(0xb3)],_0x4cd511(0xad),(_0x1ee343,_0x10dfa6,_0x3c3b92)=>{const _0x245b53=_0x4cd511;_0x3c3b92&&this[_0x245b53(0xae)]();}),this[_0x4cd511(0xf3)]>0x0&&this[_0x4cd511(0xe7)](),this[_0x4cd511(0xfe)](this[_0x4cd511(0xeb)][_0x4cd511(0xb4)],_0x4cd511(0xd0),()=>{const _0xfaa300=_0x4cd511;this[_0xfaa300(0xe7)]();});}[_0x2d411e(0x101)](){const _0x1fa864=_0x2d411e,_0x4c194f=this[_0x1fa864(0xd7)];return{'tag':_0x1fa864(0xfb),'attributes':{'class':['ck',_0x1fa864(0xb6),_0x1fa864(0xb7),_0x1fa864(0xe5),_0x4c194f['if'](_0x1fa864(0xd6),_0x1fa864(0x100)),_0x4c194f['if'](_0x1fa864(0xf9),_0x1fa864(0xec)),_0x4c194f['to'](_0x1fa864(0xcb),_0x12fa06=>_0x12fa06?_0x1fa864(0xf5)+_0x12fa06:'')],'data-thread-id':this[_0x1fa864(0xb3)]['id'],'tabindex':0x0,'role':_0x1fa864(0xce),'aria-label':_0x4c194f['to'](_0x1fa864(0xdd)),'aria-describedby':this[_0x1fa864(0xca)]['id']},'children':[{'tag':_0x1fa864(0xfb),'attributes':{'class':_0x1fa864(0xc3)},'children':this[_0x1fa864(0xb8)]}]};}[_0x2d411e(0xa9)](){const _0x42b7b0=_0x2d411e;super[_0x42b7b0(0xa9)](),this[_0x42b7b0(0xe4)]=this[_0x42b7b0(0xaf)][_0x42b7b0(0xb2)](_0x42b7b0(0xc7)),this[_0x42b7b0(0xb3)]['on'](_0x42b7b0(0xfc),()=>{const _0x5ca4a2=_0x42b7b0;this[_0x5ca4a2(0xcd)]();}),this[_0x42b7b0(0xcd)]();}[_0x2d411e(0xae)](){const _0xfd3570=_0x2d411e;this[_0xfd3570(0xee)]();for(const _0x55650f of this[_0xfd3570(0xeb)][_0xfd3570(0xb4)])_0x55650f[_0xfd3570(0xee)]();}[_0x2d411e(0xe7)](){const _0x330faa=_0x2d411e,{locale:_0x5876de}=this,_0x14d464=this[_0x330faa(0xeb)][_0x330faa(0xb4)][_0x330faa(0xdb)](0x0);_0x14d464===this[_0x330faa(0xe3)]||_0x14d464[_0x330faa(0xfd)]||(this[_0x330faa(0xe3)]=_0x14d464,this[_0x330faa(0xe0)](_0x330faa(0xcb)),this[_0x330faa(0xf0)](_0x330faa(0xcb))['to'](_0x14d464,_0x330faa(0xcb),_0x5afd23=>_0x330faa(0xe1)===_0x5afd23?_0x330faa(0xe1):null),_0x14d464[_0x330faa(0xda)]=_0x220844(_0x5876de,_0x330faa(0xea)),_0x14d464[_0x330faa(0xab)]['on'](_0x330faa(0xef),_0x299762=>{const _0x4829e7=_0x330faa;_0x299762[_0x4829e7(0xff)](),this[_0x4829e7(0xc5)](_0x220844(_0x5876de,_0x4829e7(0xb0)),this[_0x4829e7(0xe4)])[_0x4829e7(0xf2)](()=>{const _0x4bdb6f=_0x4829e7;this[_0x4bdb6f(0xb5)](_0x4bdb6f(0xf8));});},{'priority':_0x330faa(0xf7)}),this['on'](_0x330faa(0xbb),()=>{const _0x9e465c=_0x330faa;_0x14d464[_0x9e465c(0xaa)]();}),_0x14d464[_0x330faa(0xd9)][_0x330faa(0xd0)](this[_0x330faa(0xd5)],0x0),_0x14d464[_0x330faa(0xd3)][_0x330faa(0xd0)](this[_0x330faa(0xd5)],0x0));}[_0x2d411e(0xba)](){const _0x5c5f60=_0x2d411e,_0x39e2a0=new _0x206687(this[_0x5c5f60(0xd2)]);return _0x39e2a0[_0x5c5f60(0xf4)]=_0x220844(this[_0x5c5f60(0xd2)],_0x5c5f60(0xe2)),_0x39e2a0[_0x5c5f60(0xc9)]=_0x220844(this[_0x5c5f60(0xd2)],_0x5c5f60(0xe2)),_0x39e2a0[_0x5c5f60(0xbe)]=_0x3874bc,_0x39e2a0[_0x5c5f60(0xed)]({'attributes':{'class':_0x5c5f60(0xf6)}}),_0x39e2a0[_0x5c5f60(0xf0)](_0x5c5f60(0xf1))['to'](this[_0x5c5f60(0xb3)],_0x5c5f60(0xd1),_0x1b89db=>!_0x1b89db),_0x39e2a0[_0x5c5f60(0xf0)](_0x5c5f60(0xd8))['to'](this[_0x5c5f60(0xb3)],_0x5c5f60(0xe8),this[_0x5c5f60(0xb3)],_0x5c5f60(0xcf),(_0x196d48,_0x5a420e)=>_0x196d48&&!_0x5a420e),_0x39e2a0['on'](_0x5c5f60(0xef),()=>{const _0x59252f=_0x5c5f60;this[_0x59252f(0xb5)](_0x59252f(0xc4),this[_0x59252f(0xb3)]['id']);}),_0x39e2a0;}[_0x2d411e(0xcd)](){const _0x21d880=_0x2d411e;this[_0x21d880(0xb3)][_0x21d880(0xc8)]?this[_0x21d880(0xb8)][_0x21d880(0xdc)](this[_0x21d880(0xe9)])||(this[_0x21d880(0xb8)][_0x21d880(0xd0)](this[_0x21d880(0xe9)],0x0),this[_0x21d880(0xd3)][_0x21d880(0xd0)](this[_0x21d880(0xe9)],0x0)):this[_0x21d880(0xb8)][_0x21d880(0xdc)](this[_0x21d880(0xe9)])&&(this[_0x21d880(0xb8)][_0x21d880(0xe1)](this[_0x21d880(0xe9)]),this[_0x21d880(0xd3)][_0x21d880(0xe1)](this[_0x21d880(0xe9)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3fc4ab=_0x267d;(function(_0x39f4eb,_0x265745){const _0x1bf0c2=_0x267d,_0x23ee0b=_0x39f4eb();while(!![]){try{const _0x9b8b63=-parseInt(_0x1bf0c2(0x202))/0x1*(parseInt(_0x1bf0c2(0x20f))/0x2)+-parseInt(_0x1bf0c2(0x1e5))/0x3*(parseInt(_0x1bf0c2(0x223))/0x4)+-parseInt(_0x1bf0c2(0x1fc))/0x5+parseInt(_0x1bf0c2(0x1cf))/0x6+-parseInt(_0x1bf0c2(0x1cb))/0x7+-parseInt(_0x1bf0c2(0x1eb))/0x8*(parseInt(_0x1bf0c2(0x228))/0x9)+parseInt(_0x1bf0c2(0x205))/0xa*(parseInt(_0x1bf0c2(0x1fe))/0xb);if(_0x9b8b63===_0x265745)break;else _0x23ee0b['push'](_0x23ee0b['shift']());}catch(_0x541310){_0x23ee0b['push'](_0x23ee0b['shift']());}}}(_0x3bed,0x27849));import{IconRemoveComment as _0x5e9eef,IconPencil as _0x31407c,IconThreeVerticalDots as _0x143a6e}from'ckeditor5/src/icons.js';function _0x3bed(){const _0x4742c1=['Delete\x20comment?','ck-annotation','Remove','placeholder','ck-comment__actions--hidden','withText','ck-comment__main','1748404BymUZg','ck-comment__info-time','ck-comment__info-name','items','961164tzYANm','authoredAt','element','ck-annotation__content-wrapper','panelPosition','execute','change:isRemovable','span','addMany','ck-annotation__info-name','unbind','isEditMode','_config','editButton','mouseleave','getUserViewNotificationText','ck-comment--edit','from','actionBar','ck-annotation__user','getTemplate','isReadOnly','3JMkpaZ','dropdown','ck-annotation__main','focusables','listenTo','mouseenter','173576WYYocN','ck-comment__wrapper','resolvedAt','group','find','isEditable','fire','locale','Show\x20more\x20items','add','push','panelView','isExternal','_createCommentInputView','extendTemplate','_createRemoveButton','actionIndicator','430055ROIjgx','createCollection','143eImbqW','ariaLabel','ck-annotation__actions','ck-comment__external','66IRItrs','ck-comment--info','buttonView','808180LkjXkG','getExternalCommentNote','ck-annotation__actions--hidden','_createDropdown','remove','visibleView','author','edit','bindTemplate','isRemovable','9788odHcee','_model','listitem','set','time','removeButton','Edit','ck-comment__actions','_attachActions','label','length','name','ck-comment__user','isSystemComment','some','removeComment','focus','ck-annotation__info','userView','bind','606036NUIWFs','isEnabled','formatDateTime','_createEditButton','switchToEditMode','99pHTyXz','Reply...','toMany','ck-annotation__info-time','cancelConfirm','div','ck-comment','showConfirm','icon','ck-comment--remove','children','isVisible','setTemplate','blur','then','render','ck-comment__info','ariaDescriptionView','ck-comment--','ck-hidden'];_0x3bed=function(){return _0x4742c1;};return _0x3bed();}import{ButtonView as _0x8e1a1f,createDropdown as _0xe1d8ae,ListView as _0x1c6341,ListItemView as _0x3c6c1b,focusChildOnDropdownOpen as _0x3364d8}from'ckeditor5/src/ui.js';import{UserView as _0x517495,ConfirmMixin as _0x21449f,LateFocusDropdownButtonView as _0x1cfaf3}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x4d5a2e}from'./basecommentview.js';import{getTranslation as _0x29aeac}from'../../../utils/common-translations.js';function _0x267d(_0x408a60,_0x323d04){const _0x3bedd6=_0x3bed();return _0x267d=function(_0x267d07,_0x1b37f9){_0x267d07=_0x267d07-0x1c9;let _0x293872=_0x3bedd6[_0x267d07];return _0x293872;},_0x267d(_0x408a60,_0x323d04);}export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x21449f(_0x4d5a2e){[_0x3fc4ab(0x1e1)];[_0x3fc4ab(0x221)];constructor(_0x2eb92d,_0x3b3757,_0x210877){const _0x12966d=_0x3fc4ab;super(_0x2eb92d,_0x3b3757,_0x210877),this[_0x12966d(0x212)](_0x12966d(0x1fb),null),this[_0x12966d(0x212)](_0x12966d(0x23f),_0x29aeac(_0x2eb92d,_0x12966d(0x229))),this[_0x12966d(0x222)](_0x12966d(0x1d0))['to'](_0x3b3757),this[_0x12966d(0x222)](_0x12966d(0x1ed))['to'](_0x3b3757),this[_0x12966d(0x1e1)]=this[_0x12966d(0x1fd)](),this[_0x12966d(0x21c)]||(this[_0x12966d(0x1dc)]=this[_0x12966d(0x226)](),this[_0x12966d(0x214)]=this[_0x12966d(0x1fa)](),this[_0x12966d(0x1ce)]=this[_0x12966d(0x1fd)](),this[_0x12966d(0x1ce)][_0x12966d(0x1d7)]([this[_0x12966d(0x1dc)],this[_0x12966d(0x214)]]),this[_0x12966d(0x1e6)]=this[_0x12966d(0x208)](),this[_0x12966d(0x1e1)][_0x12966d(0x1f4)](this[_0x12966d(0x1e6)]),this[_0x12966d(0x1e8)][_0x12966d(0x1f4)](this[_0x12966d(0x1e6)])),this[_0x12966d(0x221)]=new _0x517495(_0x2eb92d,_0x3b3757[_0x12966d(0x20b)],this[_0x12966d(0x1de)]()),this[_0x12966d(0x221)][_0x12966d(0x1f9)]({'attributes':{'class':[_0x12966d(0x21b),_0x12966d(0x1e2)],'aria-hidden':!0x0}}),this[_0x12966d(0x1e9)](_0x3b3757,_0x12966d(0x1d5),()=>this[_0x12966d(0x22c)]()),this[_0x12966d(0x234)](this[_0x12966d(0x1e3)]());}[_0x3fc4ab(0x1e3)](){const _0xd9d34e=_0x3fc4ab,_0x38b293=this[_0xd9d34e(0x20d)],_0x470ede=[{'tag':_0xd9d34e(0x22d),'attributes':{'class':[_0xd9d34e(0x238),_0xd9d34e(0x220)]},'children':[{'tag':_0xd9d34e(0x1d6),'children':[{'text':this[_0xd9d34e(0x221)][_0xd9d34e(0x21a)]}],'attributes':{'class':[_0xd9d34e(0x1cd),_0xd9d34e(0x1d8)],'data-cke-tooltip-text':this[_0xd9d34e(0x221)][_0xd9d34e(0x21a)]}},{'tag':_0xd9d34e(0x213),'attributes':{'datetime':_0x38b293['to'](_0xd9d34e(0x1d0)),'class':[_0xd9d34e(0x1cc),_0xd9d34e(0x22b)]},'children':[{'text':_0x38b293['to'](_0xd9d34e(0x1d0),_0x35f559=>this[_0xd9d34e(0x1db)][_0xd9d34e(0x225)](_0x35f559))}]}]},{'tag':_0xd9d34e(0x22d),'attributes':{'class':[_0xd9d34e(0x216),_0xd9d34e(0x200),_0x38b293['if'](_0xd9d34e(0x1da),_0xd9d34e(0x240)),_0x38b293['if'](_0xd9d34e(0x1da),_0xd9d34e(0x207))]},'children':this[_0xd9d34e(0x1e1)]},{'tag':_0xd9d34e(0x22d),'attributes':{'class':[_0xd9d34e(0x1d2)]},'children':this[_0xd9d34e(0x20a)]},this[_0xd9d34e(0x239)]];return this[_0xd9d34e(0x210)][_0xd9d34e(0x1f7)]&&_0x470ede[_0xd9d34e(0x1f5)]({'tag':_0xd9d34e(0x22d),'attributes':{'class':[_0xd9d34e(0x201)]},'children':[{'text':this[_0xd9d34e(0x206)]()}]}),{'tag':'li','attributes':{'class':[_0xd9d34e(0x1ec)],'tabindex':-0x1,'aria-label':_0x38b293['to'](_0xd9d34e(0x1ff)),'aria-describedby':this[_0xd9d34e(0x239)]['id'],'role':_0xd9d34e(0x211)},'children':[{'tag':_0xd9d34e(0x22d),'attributes':{'class':[_0xd9d34e(0x22e),_0xd9d34e(0x23d),_0x38b293['if'](_0xd9d34e(0x1da),_0xd9d34e(0x1df)),_0x38b293['if'](_0xd9d34e(0x21c),_0xd9d34e(0x203)),_0x38b293['to'](_0xd9d34e(0x1fb),_0x5ca686=>_0x5ca686?_0xd9d34e(0x23a)+_0x5ca686:'')],'data-author-id':this[_0xd9d34e(0x210)][_0xd9d34e(0x20b)]['id'],'data-comment-id':this[_0xd9d34e(0x210)]['id'],'role':_0xd9d34e(0x1ee)},'children':[this[_0xd9d34e(0x221)],{'tag':_0xd9d34e(0x22d),'attributes':{'class':[_0xd9d34e(0x1ca),_0xd9d34e(0x1e7)]},'children':_0x470ede}]}]};}[_0x3fc4ab(0x226)](){const _0x63a1d7=_0x3fc4ab,_0x2bdc81=new _0x8e1a1f(this[_0x63a1d7(0x1f2)]);return _0x2bdc81[_0x63a1d7(0x218)]=_0x29aeac(this[_0x63a1d7(0x1f2)],_0x63a1d7(0x215)),_0x2bdc81[_0x63a1d7(0x230)]=_0x31407c,_0x2bdc81[_0x63a1d7(0x1c9)]=!0x0,_0x2bdc81[_0x63a1d7(0x1f9)]({'attributes':{'class':_0x63a1d7(0x1df)}}),_0x2bdc81[_0x63a1d7(0x222)](_0x63a1d7(0x224))['to'](this[_0x63a1d7(0x210)],_0x63a1d7(0x1e4),_0x5ba658=>!_0x5ba658),_0x2bdc81[_0x63a1d7(0x222)](_0x63a1d7(0x233))['to'](this[_0x63a1d7(0x210)],_0x63a1d7(0x1f0)),_0x2bdc81['on'](_0x63a1d7(0x1d4),()=>this[_0x63a1d7(0x227)]()),_0x2bdc81;}[_0x3fc4ab(0x1fa)](){const _0x418f64=_0x3fc4ab,_0x4f8ff2=new _0x8e1a1f(this[_0x418f64(0x1f2)]);return _0x4f8ff2[_0x418f64(0x218)]=_0x29aeac(this[_0x418f64(0x1f2)],_0x418f64(0x23e)),_0x4f8ff2[_0x418f64(0x230)]=_0x5e9eef,_0x4f8ff2[_0x418f64(0x1c9)]=!0x0,_0x4f8ff2[_0x418f64(0x1f9)]({'attributes':{'class':_0x418f64(0x231)}}),_0x4f8ff2[_0x418f64(0x222)](_0x418f64(0x224))['to'](this[_0x418f64(0x210)],_0x418f64(0x1e4),_0x9a4cd2=>!_0x9a4cd2),_0x4f8ff2[_0x418f64(0x222)](_0x418f64(0x233))['to'](this[_0x418f64(0x210)],_0x418f64(0x20e)),_0x4f8ff2['on'](_0x418f64(0x1d4),()=>{const _0x5d783d=_0x418f64;this[_0x5d783d(0x22f)](_0x29aeac(this[_0x5d783d(0x1f2)],_0x5d783d(0x23c)),this[_0x5d783d(0x1d1)])[_0x5d783d(0x236)](()=>{const _0x2ae02f=_0x5d783d;this[_0x2ae02f(0x1f1)](_0x2ae02f(0x21e),this[_0x2ae02f(0x210)]['id']);});}),_0x4f8ff2;}[_0x3fc4ab(0x208)](){const _0x3c5366=_0x3fc4ab,_0x258f0e=_0xe1d8ae(this[_0x3c5366(0x1f2)],_0x1cfaf3),_0x404be6=_0x258f0e[_0x3c5366(0x1f6)][_0x3c5366(0x232)],_0x24e6e7=new _0x1c6341(this[_0x3c5366(0x1f2)]),_0x5c6893=_0x258f0e[_0x3c5366(0x20d)];_0x3364d8(_0x258f0e,()=>this[_0x3c5366(0x1ce)][_0x3c5366(0x1ef)](_0x5f0147=>_0x5f0147[_0x3c5366(0x233)])),_0x258f0e[_0x3c5366(0x1f9)]({'attributes':{'class':[_0x5c6893['if'](_0x3c5366(0x233),_0x3c5366(0x23b),_0x4efe5a=>!_0x4efe5a)]}});const _0x3b1a75=(_0x533d6a,_0x24b5ed=-0x1)=>{const _0x47a5b9=_0x3c5366,_0x2d4e6b=new _0x3c6c1b(this[_0x47a5b9(0x1f2)]);_0x2d4e6b[_0x47a5b9(0x232)][_0x47a5b9(0x1f4)](_0x533d6a);const _0x29c25a=_0x24b5ed>-0x1?_0x24b5ed:_0x24e6e7[_0x47a5b9(0x1ce)][_0x47a5b9(0x219)];_0x24e6e7[_0x47a5b9(0x1ce)][_0x47a5b9(0x1f4)](_0x2d4e6b,_0x29c25a);const _0x52782b=Array[_0x47a5b9(0x1e0)](this[_0x47a5b9(0x1ce)]);_0x258f0e[_0x47a5b9(0x1d9)](_0x47a5b9(0x224),_0x47a5b9(0x233)),_0x258f0e[_0x47a5b9(0x222)](_0x47a5b9(0x224))[_0x47a5b9(0x22a)](_0x52782b,_0x47a5b9(0x224),(..._0x222acf)=>_0x222acf[_0x47a5b9(0x21d)](_0x60ad1a=>_0x60ad1a)),_0x258f0e[_0x47a5b9(0x222)](_0x47a5b9(0x233))[_0x47a5b9(0x22a)](_0x52782b,_0x47a5b9(0x233),(..._0x2797a7)=>_0x2797a7[_0x47a5b9(0x21d)](_0x359f7c=>_0x359f7c));};_0x258f0e[_0x3c5366(0x1d3)]='sw',_0x258f0e[_0x3c5366(0x204)][_0x3c5366(0x212)]({'label':_0x29aeac(this[_0x3c5366(0x1f2)],_0x3c5366(0x1f3)),'icon':_0x143a6e});for(const _0x3d7ec5 of this[_0x3c5366(0x1ce)])_0x3b1a75(_0x3d7ec5);return _0x404be6[_0x3c5366(0x1f4)](_0x24e6e7),_0x258f0e[_0x3c5366(0x1e9)](this[_0x3c5366(0x1ce)],_0x3c5366(0x1f4),(_0x590071,_0x377b2f,_0xf48238)=>{_0x3b1a75(_0x377b2f,_0xf48238);}),_0x258f0e[_0x3c5366(0x1e9)](this[_0x3c5366(0x1ce)],_0x3c5366(0x209),(_0x19e0d7,_0x11c3a0,_0x5b44e0)=>{const _0x5100a0=_0x3c5366;_0x24e6e7[_0x5100a0(0x1ce)][_0x5100a0(0x209)](_0x5b44e0);}),_0x258f0e;}[_0x3fc4ab(0x217)](_0x1d8bdc,_0x3cdced){const _0x3027b5=_0x3fc4ab,_0x569f45=_0x1d8bdc&&_0x1d8bdc[_0x3027b5(0x1d1)];_0x569f45&&(this[_0x3027b5(0x1e9)](_0x569f45,_0x3027b5(0x1ea),()=>this[_0x3027b5(0x1fb)]=_0x3cdced),this[_0x3027b5(0x1e9)](_0x569f45,_0x3027b5(0x21f),()=>this[_0x3027b5(0x1fb)]=_0x3cdced),this[_0x3027b5(0x1e9)](_0x569f45,_0x3027b5(0x1dd),()=>this[_0x3027b5(0x1fb)]=null),this[_0x3027b5(0x1e9)](_0x569f45,_0x3027b5(0x235),()=>this[_0x3027b5(0x1fb)]=null));}[_0x3fc4ab(0x1f8)](){const _0x511c8a=_0x3fc4ab,_0x5b8908=super[_0x511c8a(0x1f8)]();return _0x5b8908[_0x511c8a(0x222)](_0x511c8a(0x23f))['to'](this),_0x5b8908;}[_0x3fc4ab(0x237)](){const _0x29d45f=_0x3fc4ab;super[_0x29d45f(0x237)](),this[_0x29d45f(0x217)](this[_0x29d45f(0x1dc)],_0x29d45f(0x20c)),this[_0x29d45f(0x217)](this[_0x29d45f(0x214)],_0x29d45f(0x209));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x551acc=_0x20f6;(function(_0x10b314,_0x4eadfb){var _0x3a0f6e=_0x20f6,_0x7cb866=_0x10b314();while(!![]){try{var _0x3b256e=parseInt(_0x3a0f6e(0x184))/0x1+parseInt(_0x3a0f6e(0x17b))/0x2*(-parseInt(_0x3a0f6e(0x180))/0x3)+parseInt(_0x3a0f6e(0x181))/0x4*(parseInt(_0x3a0f6e(0x17e))/0x5)+-parseInt(_0x3a0f6e(0x182))/0x6*(-parseInt(_0x3a0f6e(0x186))/0x7)+parseInt(_0x3a0f6e(0x17d))/0x8+parseInt(_0x3a0f6e(0x183))/0x9+-parseInt(_0x3a0f6e(0x17c))/0xa;if(_0x3b256e===_0x4eadfb)break;else _0x7cb866['push'](_0x7cb866['shift']());}catch(_0x1a57b5){_0x7cb866['push'](_0x7cb866['shift']());}}}(_0x1484,0x4b8ef));import{Plugin as _0x450fd7}from'ckeditor5/src/core.js';import{CommentsRepository as _0x5f4cd7}from'./comments/commentsrepository.js';import{CommentsEditing as _0x55529c}from'./comments/commentsediting.js';import{CommentsUI as _0x277106}from'./comments/commentsui.js';import{CommentsOnly as _0x2e569c}from'./commentsonly.js';import{WideSidebar as _0x2752a1}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x53fb70}from'./annotations/narrowsidebar.js';function _0x20f6(_0x250387,_0x38c1b9){var _0x1484ef=_0x1484();return _0x20f6=function(_0x20f67e,_0xdca59b){_0x20f67e=_0x20f67e-0x178;var _0x5c2651=_0x1484ef[_0x20f67e];return _0x5c2651;},_0x20f6(_0x250387,_0x38c1b9);}function _0x1484(){var _0x452b4d=['5370786eenKdD','335388mzeVrT','isOfficialPlugin','202727naUbSD','requires','isPremiumPlugin','Comments','155674UUiuQD','9262330LeSqfD','4341616nustAD','2830Olxhpd','pluginName','21mwyahe','1956JhdPdY','6EFvNKQ'];_0x1484=function(){return _0x452b4d;};return _0x1484();}import{InlineAnnotations as _0x16f5c3}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x43550c}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x576d6e}from'./comments/commentsarchive.js';export class Comments extends _0x450fd7{static get[_0x551acc(0x178)](){return[_0x5f4cd7,_0x55529c,_0x277106,_0x576d6e,_0x43550c,_0x2e569c,_0x2752a1,_0x53fb70,_0x16f5c3];}static get[_0x551acc(0x17f)](){var _0x5a63b6=_0x551acc;return _0x5a63b6(0x17a);}static get[_0x551acc(0x185)](){return!0x0;}static get[_0x551acc(0x179)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x6543(_0x1ec4c6,_0x465793){const _0x56eccc=_0x56ec();return _0x6543=function(_0x6543fb,_0x489a81){_0x6543fb=_0x6543fb-0x1de;let _0x88b06b=_0x56eccc[_0x6543fb];return _0x88b06b;},_0x6543(_0x1ec4c6,_0x465793);}const _0x28bf4d=_0x6543;(function(_0x34b7f1,_0xb1a35f){const _0x91ed2=_0x6543,_0x3975d0=_0x34b7f1();while(!![]){try{const _0x448248=-parseInt(_0x91ed2(0x1fd))/0x1+parseInt(_0x91ed2(0x1fe))/0x2*(parseInt(_0x91ed2(0x1f6))/0x3)+-parseInt(_0x91ed2(0x202))/0x4+-parseInt(_0x91ed2(0x1e6))/0x5+-parseInt(_0x91ed2(0x20b))/0x6+parseInt(_0x91ed2(0x1f0))/0x7+parseInt(_0x91ed2(0x1f7))/0x8*(parseInt(_0x91ed2(0x1ea))/0x9);if(_0x448248===_0xb1a35f)break;else _0x3975d0['push'](_0x3975d0['shift']());}catch(_0x43ac5a){_0x3975d0['push'](_0x3975d0['shift']());}}}(_0x56ec,0x6c91a));import{Plugin as _0xe7280e}from'ckeditor5/src/core.js';import{CommentsEditing as _0x1413ce}from'./comments/commentsediting.js';export class CommentsOnly extends _0xe7280e{static get[_0x28bf4d(0x205)](){const _0x515c51=_0x28bf4d;return _0x515c51(0x1ed);}static get[_0x28bf4d(0x1fa)](){return!0x0;}static get[_0x28bf4d(0x1fc)](){return!0x0;}static get[_0x28bf4d(0x1eb)](){return[_0x1413ce];}constructor(_0x3d4467){const _0x54aa82=_0x28bf4d;super(_0x3d4467),this[_0x54aa82(0x1f2)](_0x54aa82(0x208),!0x1),this['on'](_0x54aa82(0x20a),(_0x5a0400,_0x167739,_0x419207)=>{const _0x1f8d50=_0x54aa82;_0x419207?this[_0x1f8d50(0x200)]():this[_0x1f8d50(0x1f8)]();});}[_0x28bf4d(0x204)](){const _0xffbfb0=_0x28bf4d;!this[_0xffbfb0(0x208)]&&this[_0xffbfb0(0x209)][_0xffbfb0(0x1f5)][_0xffbfb0(0x1e2)](_0xffbfb0(0x203))&&(this[_0xffbfb0(0x208)]=!0x0);}[_0x28bf4d(0x200)](){const _0x581b40=_0x28bf4d;for(const [_0x7e44a0,_0xff87bb]of this[_0x581b40(0x209)][_0x581b40(0x1ee)])_0xff87bb[_0x581b40(0x1f9)]&&_0x581b40(0x1ef)!==_0x7e44a0&&_0xff87bb[_0x581b40(0x1e4)](_0x581b40(0x1fb));(this[_0x581b40(0x209)][_0x581b40(0x201)][_0x581b40(0x206)](_0x581b40(0x1e8))&&this[_0x581b40(0x209)][_0x581b40(0x201)][_0x581b40(0x1e2)](_0x581b40(0x1e8))[_0x581b40(0x1e4)](_0x581b40(0x1fb)),this[_0x581b40(0x209)][_0x581b40(0x201)][_0x581b40(0x206)](_0x581b40(0x1e9)))&&this[_0x581b40(0x209)][_0x581b40(0x201)][_0x581b40(0x1e2)](_0x581b40(0x1e9))[_0x581b40(0x1e4)](_0x581b40(0x1fb));this[_0x581b40(0x209)][_0x581b40(0x201)][_0x581b40(0x206)](_0x581b40(0x1f4))&&this[_0x581b40(0x209)][_0x581b40(0x201)][_0x581b40(0x1e2)](_0x581b40(0x1f4))[_0x581b40(0x1e4)](_0x581b40(0x1fb));this[_0x581b40(0x209)][_0x581b40(0x1ee)][_0x581b40(0x1e2)](_0x581b40(0x207))?.[_0x581b40(0x1e4)](_0x581b40(0x1fb));const _0x2b1a15=this[_0x581b40(0x209)][_0x581b40(0x1f1)][_0x581b40(0x1e5)][_0x581b40(0x1e0)];this[_0x581b40(0x1e7)](_0x2b1a15,_0x581b40(0x1ff),_0x2f12cc=>_0x2f12cc[_0x581b40(0x1de)](),{'priority':_0x581b40(0x1df)}),this[_0x581b40(0x1e7)](_0x2b1a15,_0x581b40(0x1ec),_0x5c990e=>_0x5c990e[_0x581b40(0x1de)](),{'priority':_0x581b40(0x1df)}),this[_0x581b40(0x1e7)](_0x2b1a15,_0x581b40(0x1e3),_0x3fdbd5=>_0x3fdbd5[_0x581b40(0x1de)](),{'priority':_0x581b40(0x1df)});}[_0x28bf4d(0x1f8)](){const _0x459988=_0x28bf4d;for(const [_0x1c0f8d,_0x2d3877]of this[_0x459988(0x209)][_0x459988(0x1ee)])_0x2d3877[_0x459988(0x1f9)]&&_0x459988(0x1ef)!==_0x1c0f8d&&_0x2d3877[_0x459988(0x1e1)](_0x459988(0x1fb));this[_0x459988(0x209)][_0x459988(0x201)][_0x459988(0x206)](_0x459988(0x1e9))&&this[_0x459988(0x209)][_0x459988(0x201)][_0x459988(0x1e2)](_0x459988(0x1e9))[_0x459988(0x1e1)](_0x459988(0x1fb)),this[_0x459988(0x209)][_0x459988(0x201)][_0x459988(0x206)](_0x459988(0x1f4))&&this[_0x459988(0x209)][_0x459988(0x201)][_0x459988(0x1e2)](_0x459988(0x1f4))[_0x459988(0x1e1)](_0x459988(0x1fb)),this[_0x459988(0x209)][_0x459988(0x1ee)][_0x459988(0x1e2)](_0x459988(0x207))?.[_0x459988(0x1e1)](_0x459988(0x1fb)),this[_0x459988(0x1f3)](this[_0x459988(0x209)][_0x459988(0x1f1)][_0x459988(0x1e5)][_0x459988(0x1e0)]);}}function _0x56ec(){const _0x145fc0=['isOfficialPlugin','commentsOnlyMode','isPremiumPlugin','209141jDFHTP','2qPYsDM','cut','_enableCommentsOnlyMode','plugins','1892524IWUlvW','commentsOnly','afterInit','pluginName','has','editSource','isEnabled','editor','change:isEnabled','936354iRvxKE','stop','highest','document','clearForceDisabled','get','delete','forceDisabled','view','845580wmLEbT','listenTo','DragDrop','RevisionTracker','330210FMhkKr','requires','clipboardInput','CommentsOnly','commands','addCommentThread','5168625oWJJed','editing','set','stopListening','SourceEditing','config','1040610EouDAI','80kTKeeI','_disableCommentsOnlyMode','affectsData'];_0x56ec=function(){return _0x145fc0;};return _0x56ec();}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xb04723,_0x546c84){var _0x4a1b7a=_0x4baa,_0x34209d=_0xb04723();while(!![]){try{var _0x4495f0=parseInt(_0x4a1b7a(0xa6))/0x1+-parseInt(_0x4a1b7a(0xa7))/0x2+parseInt(_0x4a1b7a(0xab))/0x3+parseInt(_0x4a1b7a(0xaa))/0x4+-parseInt(_0x4a1b7a(0xac))/0x5+-parseInt(_0x4a1b7a(0xa9))/0x6*(parseInt(_0x4a1b7a(0xad))/0x7)+-parseInt(_0x4a1b7a(0xa5))/0x8*(-parseInt(_0x4a1b7a(0xa8))/0x9);if(_0x4495f0===_0x546c84)break;else _0x34209d['push'](_0x34209d['shift']());}catch(_0x3a246c){_0x34209d['push'](_0x34209d['shift']());}}}(_0x4eaa,0xc23de));export{Comments}from'./comments.js';function _0x4baa(_0x659618,_0x102c19){var _0x4eaa63=_0x4eaa();return _0x4baa=function(_0x4baae5,_0x90531e){_0x4baae5=_0x4baae5-0xa5;var _0x1e11c1=_0x4eaa63[_0x4baae5];return _0x1e11c1;},_0x4baa(_0x659618,_0x102c19);}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';export{AnnotationsSidebarItemView}from'./annotations/view/sidebaritemview.js';export{AnnotationsSidebarView}from'./annotations/view/sidebarview.js';export{BaseCommentView}from'./comments/ui/view/basecommentview.js';function _0x4eaa(){var _0x588c53=['63AOZHUs','7717904XugBnC','473308TVPkhP','2471788tCZrRC','18SmtPbu','937758FjADeb','3644836QtlJUu','4337772mwFQVl','6608860reSJZP'];_0x4eaa=function(){return _0x588c53;};return _0x4eaa();}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(_0x4e2d6a,_0x53d075,_0x356d9a){const t=_0x4e2d6a['t'];switch(_0x53d075){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'},_0x356d9a);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'},_0x356d9a);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'},_0x356d9a);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'},_0x356d9a);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x356d9a);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'},_0x356d9a);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'},_0x356d9a);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'},_0x356d9a);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(_0x4558b6,_0x9b07ce){const _0x2e5b65=_0x414e,_0x3aa69f=_0x4558b6();while(!![]){try{const _0x25757c=parseInt(_0x2e5b65(0x148))/0x1*(parseInt(_0x2e5b65(0x146))/0x2)+-parseInt(_0x2e5b65(0x155))/0x3+-parseInt(_0x2e5b65(0x14e))/0x4*(-parseInt(_0x2e5b65(0x156))/0x5)+parseInt(_0x2e5b65(0x152))/0x6+parseInt(_0x2e5b65(0x153))/0x7+parseInt(_0x2e5b65(0x14d))/0x8+-parseInt(_0x2e5b65(0x150))/0x9;if(_0x25757c===_0x9b07ce)break;else _0x3aa69f['push'](_0x3aa69f['shift']());}catch(_0x31fd4b){_0x3aa69f['push'](_0x3aa69f['shift']());}}}(_0x3833,0x7dc4a));function _0x414e(_0x2d6576,_0x1e4bdd){const _0x3833fe=_0x3833();return _0x414e=function(_0x414eb3,_0x576610){_0x414eb3=_0x414eb3-0x146;let _0x31fc13=_0x3833fe[_0x414eb3];return _0x31fc13;},_0x414e(_0x2d6576,_0x1e4bdd);}import{throttle as _0x14e7e9}from'es-toolkit/compat';export function createMutationObserver(_0x4f4b5f){const _0x4fbf60=_0x14e7e9(_0x4f4b5f,0x1e),_0x48a0ce=new MutationObserver(_0x3b1c05=>{const _0x4cfbda=_0x414e;for(const _0xd693db of _0x3b1c05)(_0x4cfbda(0x14a)==_0xd693db[_0x4cfbda(0x157)]&&_0x4cfbda(0x14c)==_0xd693db[_0x4cfbda(0x14b)]||_0x4cfbda(0x151)==_0xd693db[_0x4cfbda(0x157)]||_0x4cfbda(0x154)==_0xd693db[_0x4cfbda(0x157)])&&_0x4fbf60();});return{'attach'(_0x5474a7){const _0xb2a28f=_0x414e;_0x48a0ce[_0xb2a28f(0x147)](_0x5474a7,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x1d7c7a=_0x414e;_0x48a0ce[_0x1d7c7a(0x14f)](),_0x4fbf60[_0x1d7c7a(0x149)]();}};}function _0x3833(){const _0x1ccb3a=['childList','2675292RUOSwI','565845xgKBSZ','characterData','1887852tUBUgK','132765SqMPrC','type','998Wisomb','observe','1081NqLdPG','cancel','attributes','attributeName','class','7287696VAXZPt','124RDkWDv','disconnect','14902299vzjUrH'];_0x3833=function(){return _0x1ccb3a;};return _0x3833();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4ffa29,_0x1c2d34){const _0x1f14f2=_0x1add,_0x51ae01=_0x4ffa29();while(!![]){try{const _0x3b2a89=-parseInt(_0x1f14f2(0x150))/0x1+-parseInt(_0x1f14f2(0x154))/0x2+-parseInt(_0x1f14f2(0x157))/0x3*(parseInt(_0x1f14f2(0x14f))/0x4)+parseInt(_0x1f14f2(0x152))/0x5*(-parseInt(_0x1f14f2(0x159))/0x6)+-parseInt(_0x1f14f2(0x151))/0x7+parseInt(_0x1f14f2(0x156))/0x8*(-parseInt(_0x1f14f2(0x158))/0x9)+parseInt(_0x1f14f2(0x153))/0xa;if(_0x3b2a89===_0x1c2d34)break;else _0x51ae01['push'](_0x51ae01['shift']());}catch(_0x4fe8fe){_0x51ae01['push'](_0x51ae01['shift']());}}}(_0x3bbd,0x6411e));function _0x1add(_0x2fda81,_0xeb2de){const _0x3bbd17=_0x3bbd();return _0x1add=function(_0x1add9d,_0x3c1144){_0x1add9d=_0x1add9d-0x14f;let _0x56c3ab=_0x3bbd17[_0x1add9d];return _0x56c3ab;},_0x1add(_0x2fda81,_0xeb2de);}function _0x3bbd(){const _0x2c176f=['split','597304TLYSTA','687ffAOex','9SJZxBp','534IAVjts','2732lYfKAV','81458vHbxPL','5545925XTPlok','29610cxdklg','27488630uPnKZO','1414232UVFlkY'];_0x3bbd=function(){return _0x2c176f;};return _0x3bbd();}export function splitMarkerName(_0x3010a9){const _0xb07269=_0x1add,_0x5ad566=_0x3010a9[_0xb07269(0x155)](':');return{'group':_0x5ad566[0x0],'id':_0x5ad566[0x1],'part':_0x5ad566[0x2]};}
|