@ckeditor/ckeditor5-comments 47.6.0 → 47.6.1-alpha.1
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 _0x4d4ad6=_0x2d83;function _0x4d7f(){const _0x36dfc8=['element','resolved','count','reverse','setTemplate','_findOptimalIndex','1279960RwaDFU','resolveCommentThread','_rearrangeCollapse','ck-hidden','arrowdown','21NMlVAp','_handleRemoveCommentModel','2921769jHOGQH','130xfodpb','focusFirst','removed','change:isResolved','refreshVisibleViews','get','destroy','resolvedBy','change:hasDirtyComment','editorDestroyed','arrowup','_handleNewCommentModel','753ndqajw','commentUpdated','createCollection','from','224730CxcRfU','resolvedAt','1000076gbStnP','keystrokes','bind','expand','some','_model','add','focusTracker','visibleViews','_updateHasDirtyComment','authoredAt','insert','commentViews','set','resolvedCommentView','added','_shouldCollapse','collapse','_rearrangeExpand','change:isEditMode','_handleInfoComment','isActive','stopListening','equal','Thread\x20comments','maxCommentsWhenCollapsed','_config','locale','editorReady','editorConfig','isEditMode','change','bindTemplate','remove','render','includes','delete','_calculatePosition','ck-thread__comments','length','removeComment','100lhGGHh','focusLast','26948hMAeVf','hasDirtyComment','maxThreadTotalWeight','focus','weight','listenTo','change:isActive','_setupKeyboardNavigation','delegate','123654dUWYgd','comments','_collapsedCommentsView','focusCycler','forEach','viewUid','Marked\x20as\x20resolved','CommentView','updateComment','map','target','796ZBKnQQ','maxCommentCharsWhenCollapsed','formatDateTime'];_0x4d7f=function(){return _0x36dfc8;};return _0x4d7f();}function _0x2d83(_0x264141,_0x379c35){const _0x4d7fca=_0x4d7f();return _0x2d83=function(_0x2d834b,_0x2afd4a){_0x2d834b=_0x2d834b-0x189;let _0x32c47f=_0x4d7fca[_0x2d834b];return _0x32c47f;},_0x2d83(_0x264141,_0x379c35);}(function(_0x3bec66,_0x249b71){const _0x169881=_0x2d83,_0x55acee=_0x3bec66();while(!![]){try{const _0x86aa98=-parseInt(_0x169881(0x1a3))/0x1+-parseInt(_0x169881(0x1e4))/0x2*(parseInt(_0x169881(0x19f))/0x3)+-parseInt(_0x169881(0x1d0))/0x4*(-parseInt(_0x169881(0x193))/0x5)+parseInt(_0x169881(0x1d9))/0x6*(parseInt(_0x169881(0x190))/0x7)+parseInt(_0x169881(0x18b))/0x8+-parseInt(_0x169881(0x192))/0x9+-parseInt(_0x169881(0x1ce))/0xa*(-parseInt(_0x169881(0x1a5))/0xb);if(_0x86aa98===_0x249b71)break;else _0x55acee['push'](_0x55acee['shift']());}catch(_0x14d708){_0x55acee['push'](_0x55acee['shift']());}}}(_0x4d7f,0xa05eb));import{View as _0x510f19,FocusCycler as _0x3a068c}from'ckeditor5/src/ui.js';import{diff as _0x1eb1fd,Collection as _0x4c4270,FocusTracker as _0x105b53,KeystrokeHandler as _0x39c687}from'ckeditor5/src/utils.js';import{getTranslation as _0x20b361}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x42158f}from'./collapsedcommentsview.js';export class CommentsListView extends _0x510f19{[_0x4d4ad6(0x1b1)];[_0x4d4ad6(0x1b3)];[_0x4d4ad6(0x1ac)];[_0x4d4ad6(0x1a6)];[_0x4d4ad6(0x1dc)];[_0x4d4ad6(0x1aa)];[_0x4d4ad6(0x1bf)];[_0x4d4ad6(0x1db)];constructor(_0x11ddcd,_0x2bc967,_0x3ca694){const _0x2453f8=_0x4d4ad6;super(_0x11ddcd);const _0x1c9c3b=this[_0x2453f8(0x1c5)];this[_0x2453f8(0x1b2)](_0x2453f8(0x1d1),!0x1),this[_0x2453f8(0x1b2)](_0x2453f8(0x1cc),_0x2bc967[_0x2453f8(0x1da)][_0x2453f8(0x1cc)]),this[_0x2453f8(0x1b2)](_0x2453f8(0x1ba),!0x1),this[_0x2453f8(0x1aa)]=_0x2bc967,this[_0x2453f8(0x1bf)]=_0x3ca694,this[_0x2453f8(0x1b1)]=this[_0x2453f8(0x1a1)](),this[_0x2453f8(0x1ad)]=this[_0x2453f8(0x1a1)](),this[_0x2453f8(0x1b3)]=null,this[_0x2453f8(0x1ac)]=new _0x105b53(),this[_0x2453f8(0x1a6)]=new _0x39c687(),this[_0x2453f8(0x1dc)]=new _0x3a068c({'focusables':this[_0x2453f8(0x1b1)],'focusTracker':this[_0x2453f8(0x1ac)],'keystrokeHandler':this[_0x2453f8(0x1a6)],'keystrokeHandlerOptions':{'filter':_0x58e7c5=>this[_0x2453f8(0x1b1)][_0x2453f8(0x1e2)](_0x21eb5c=>_0x21eb5c[_0x2453f8(0x1e7)])[_0x2453f8(0x1c8)](_0x58e7c5[_0x2453f8(0x1e3)])},'actions':{'focusPrevious':_0x2453f8(0x19d),'focusNext':_0x2453f8(0x18f)}}),this[_0x2453f8(0x1db)]=new _0x42158f(_0x11ddcd),this[_0x2453f8(0x1db)][_0x2453f8(0x1a7)](_0x2453f8(0x1e9))['to'](this,_0x2453f8(0x1cc),_0x454ae9=>_0x454ae9-this[_0x2453f8(0x1bf)][_0x2453f8(0x1be)]);for(const _0xae21cb of _0x2bc967[_0x2453f8(0x1da)])this[_0x2453f8(0x19e)](_0xae21cb);this[_0x2453f8(0x1b9)](),this[_0x2453f8(0x1d5)](_0x2bc967[_0x2453f8(0x1da)],_0x2453f8(0x1ab),(_0x479640,_0x2a7aa6)=>{const _0x1e8895=_0x2453f8,_0x39b945=this[_0x1e8895(0x1ca)](_0x2a7aa6);this[_0x1e8895(0x1cc)]++,this[_0x1e8895(0x19e)](_0x2a7aa6,_0x39b945),this[_0x1e8895(0x197)]();}),this[_0x2453f8(0x1d5)](_0x2bc967[_0x2453f8(0x1da)],_0x2453f8(0x1c6),(_0x11e4c0,_0x3f94aa)=>{const _0x49b0d6=_0x2453f8;this[_0x49b0d6(0x1cc)]--,this[_0x49b0d6(0x191)](_0x3f94aa),this[_0x49b0d6(0x197)]();}),this[_0x2453f8(0x1d5)](_0x2bc967,_0x2453f8(0x1a0),()=>this[_0x2453f8(0x197)]()),this[_0x2453f8(0x1d5)](_0x2bc967,_0x2453f8(0x196),()=>this[_0x2453f8(0x1b9)]()),this['on'](_0x2453f8(0x1d6),()=>this[_0x2453f8(0x197)]()),this['on'](_0x2453f8(0x19b),()=>this[_0x2453f8(0x197)]()),this[_0x2453f8(0x189)]({'tag':'ul','attributes':{'class':[_0x2453f8(0x1cb),_0x1c9c3b['if'](_0x2453f8(0x1cc),_0x2453f8(0x18e),_0x1f5e0f=>!_0x1f5e0f)],'aria-label':_0x20b361(_0x11ddcd,_0x2453f8(0x1bd))},'children':this[_0x2453f8(0x1ad)]});}get[_0x4d4ad6(0x1b5)](){const _0x25af33=_0x4d4ad6;return this[_0x25af33(0x1aa)][_0x25af33(0x1d4)]>this[_0x25af33(0x1bf)][_0x25af33(0x1d2)]&&!this[_0x25af33(0x1ba)]&&!this[_0x25af33(0x1d1)];}[_0x4d4ad6(0x1c7)](){const _0x2a82e8=_0x4d4ad6;super[_0x2a82e8(0x1c7)](),this[_0x2a82e8(0x197)](),this[_0x2a82e8(0x1d7)]();}[_0x4d4ad6(0x1d3)](_0x101cd1){const _0x11e590=_0x4d4ad6;-0x1===_0x101cd1?this[_0x11e590(0x1dc)][_0x11e590(0x1cf)]():this[_0x11e590(0x1dc)][_0x11e590(0x194)]();}[_0x4d4ad6(0x199)](){const _0x27162f=_0x4d4ad6;this[_0x27162f(0x1db)][_0x27162f(0x199)]();for(const _0x42b4a4 of this[_0x27162f(0x1b1)])_0x42b4a4[_0x27162f(0x199)]();super[_0x27162f(0x199)]();}[_0x4d4ad6(0x197)](){const _0x2c4f4d=_0x4d4ad6;this[_0x2c4f4d(0x1b5)]?this[_0x2c4f4d(0x18d)]():this[_0x2c4f4d(0x1b7)]();}[_0x4d4ad6(0x19e)](_0x16f182,_0x44ae6a){const _0x4fecf7=_0x4d4ad6,_0x264106=new this[(_0x4fecf7(0x1bf))][(_0x4fecf7(0x1e0))](this[_0x4fecf7(0x1c0)],_0x16f182,{'maxCommentCharsWhenCollapsed':this[_0x4fecf7(0x1bf)][_0x4fecf7(0x1e5)],'formatDateTime':this[_0x4fecf7(0x1bf)][_0x4fecf7(0x1e6)],'editorConfig':this[_0x4fecf7(0x1bf)][_0x4fecf7(0x1c2)]});_0x264106[_0x4fecf7(0x1de)]=_0x16f182['id'],_0x264106[_0x4fecf7(0x1d8)](_0x4fecf7(0x1cd))['to'](this),_0x264106[_0x4fecf7(0x1d8)](_0x4fecf7(0x1e1))['to'](this),_0x264106[_0x4fecf7(0x1d8)](_0x4fecf7(0x18c))['to'](this),_0x264106[_0x4fecf7(0x1d8)](_0x4fecf7(0x1c1))['to'](this),_0x264106[_0x4fecf7(0x1d8)](_0x4fecf7(0x19c))['to'](this),this[_0x4fecf7(0x1d5)](_0x264106,_0x4fecf7(0x1b8),()=>this[_0x4fecf7(0x1ae)]()),this[_0x4fecf7(0x1b1)][_0x4fecf7(0x1ab)](_0x264106,_0x44ae6a);}[_0x4d4ad6(0x1ca)](_0x1a586c){const _0x51ac54=_0x4d4ad6,_0x480fb2=this[_0x51ac54(0x1aa)][_0x51ac54(0x18a)](_0x1a586c);return this[_0x51ac54(0x1b3)]?this[_0x51ac54(0x1b3)][_0x51ac54(0x1af)]>_0x1a586c[_0x51ac54(0x1af)]?_0x480fb2-0x1:_0x480fb2:_0x480fb2-0x1;}[_0x4d4ad6(0x1b9)](){const _0x286632=_0x4d4ad6;if(this[_0x286632(0x1aa)][_0x286632(0x19a)]&&this[_0x286632(0x1aa)][_0x286632(0x1a4)]){const _0xaaec94={'id':_0x286632(0x1e8),'author':this[_0x286632(0x1aa)][_0x286632(0x19a)],'authoredAt':this[_0x286632(0x1aa)][_0x286632(0x1a4)],'content':_0x20b361(this[_0x286632(0x1c0)],_0x286632(0x1df)),'attributes':{}};this[_0x286632(0x1b3)]=new this[(_0x286632(0x1bf))][(_0x286632(0x1e0))](this[_0x286632(0x1c0)],_0xaaec94,{'maxCommentCharsWhenCollapsed':this[_0x286632(0x1bf)][_0x286632(0x1e5)],'formatDateTime':this[_0x286632(0x1bf)][_0x286632(0x1e6)],'editorConfig':this[_0x286632(0x1bf)][_0x286632(0x1c2)],'isSystemComment':!0x0}),this[_0x286632(0x1b1)][_0x286632(0x1ab)](this[_0x286632(0x1b3)],this[_0x286632(0x1aa)][_0x286632(0x18a)](_0xaaec94));}else this[_0x286632(0x1b3)]&&(this[_0x286632(0x1b1)][_0x286632(0x1c6)](this[_0x286632(0x1b3)]),this[_0x286632(0x1b3)][_0x286632(0x199)](),this[_0x286632(0x1b3)]=null);this[_0x286632(0x197)]();}[_0x4d4ad6(0x191)](_0x2e421d){const _0x392e49=_0x4d4ad6,_0x588b27=this[_0x392e49(0x1b1)][_0x392e49(0x1c6)](_0x2e421d['id']);this[_0x392e49(0x1bb)](_0x588b27),_0x588b27[_0x392e49(0x1c3)]&&this[_0x392e49(0x1ae)](),_0x588b27[_0x392e49(0x199)]();}[_0x4d4ad6(0x1ae)](){const _0x36b17a=_0x4d4ad6;this[_0x36b17a(0x1d1)]=Array[_0x36b17a(0x1a2)](this[_0x36b17a(0x1b1)])[_0x36b17a(0x1a9)](_0x5bdd6a=>_0x5bdd6a[_0x36b17a(0x1c3)]);}[_0x4d4ad6(0x18d)](){const _0x5d65a=_0x4d4ad6,_0x200998=function(_0x36b4fb){const _0x4f8dad=_0x2d83,_0x4d88a5=new _0x4c4270();for(const _0x4ffdbf of _0x36b4fb)_0x4d88a5[_0x4f8dad(0x1ab)](_0x4ffdbf);return _0x4d88a5;}(this[_0x5d65a(0x1b1)]),_0x30eff3=this[_0x5d65a(0x1db)][_0x5d65a(0x1e9)];for(let _0x5e58ed=0x1;_0x5e58ed<=_0x30eff3;_0x5e58ed++)_0x200998[_0x5d65a(0x1c6)](0x1);for(const _0xa0b1f of _0x200998)_0xa0b1f[_0x5d65a(0x1b6)]();_0x30eff3>0x0&&_0x200998[_0x5d65a(0x1ab)](this[_0x5d65a(0x1db)],0x1),ns(_0x1eb1fd(Array[_0x5d65a(0x1a2)](this[_0x5d65a(0x1ad)]),Array[_0x5d65a(0x1a2)](_0x200998)),this[_0x5d65a(0x1ad)],_0x200998);}[_0x4d4ad6(0x1b7)](){const _0x1309b3=_0x4d4ad6;ns(_0x1eb1fd(Array[_0x1309b3(0x1a2)](this[_0x1309b3(0x1ad)]),Array[_0x1309b3(0x1a2)](this[_0x1309b3(0x1b1)])),this[_0x1309b3(0x1ad)],this[_0x1309b3(0x1b1)]);for(const _0x53752 of this[_0x1309b3(0x1ad)])_0x53752[_0x1309b3(0x1a8)]();}[_0x4d4ad6(0x1d7)](){const _0x36d7f3=_0x4d4ad6;this[_0x36d7f3(0x1b1)][_0x36d7f3(0x1dd)](_0x41fcc1=>{const _0x457232=_0x36d7f3;this[_0x457232(0x1ac)][_0x457232(0x1ab)](_0x41fcc1[_0x457232(0x1e7)]),this[_0x457232(0x1a6)][_0x457232(0x1d5)](_0x41fcc1[_0x457232(0x1e7)]);}),this[_0x36d7f3(0x1b1)]['on'](_0x36d7f3(0x1c4),(_0x3a9218,_0x59a41c)=>{const _0x34b113=_0x36d7f3;for(const _0x459397 of _0x59a41c[_0x34b113(0x195)])this[_0x34b113(0x1ac)][_0x34b113(0x1c6)](_0x459397[_0x34b113(0x1e7)]),this[_0x34b113(0x1a6)][_0x34b113(0x1bb)](_0x459397[_0x34b113(0x1e7)]);for(const _0x1243b1 of Array[_0x34b113(0x1a2)](_0x59a41c[_0x34b113(0x1b4)])[_0x34b113(0x1ea)]())this[_0x34b113(0x1ac)][_0x34b113(0x1ab)](_0x1243b1[_0x34b113(0x1e7)]),this[_0x34b113(0x1a6)][_0x34b113(0x1d5)](_0x1243b1[_0x34b113(0x1e7)]);});}}function ns(_0xce9440,_0x596d07,_0xfc8a56){const _0x478b7b=_0x4d4ad6;let _0x432e34=0x0;for(const _0x30b825 of _0xce9440)switch(_0x30b825){case _0x478b7b(0x1b0):_0x596d07[_0x478b7b(0x1ab)](_0xfc8a56[_0x478b7b(0x198)](_0x432e34),_0x432e34),_0x432e34++;break;case _0x478b7b(0x1c9):_0x596d07[_0x478b7b(0x1c6)](_0x432e34);break;case _0x478b7b(0x1bc):_0x432e34++;}}
|
|
23
|
+
const _0x565c3=_0x152b;(function(_0x302bbb,_0x361a46){const _0x29b737=_0x152b,_0x421169=_0x302bbb();while(!![]){try{const _0x506352=parseInt(_0x29b737(0x146))/0x1+-parseInt(_0x29b737(0x156))/0x2+parseInt(_0x29b737(0xff))/0x3+parseInt(_0x29b737(0x12c))/0x4*(parseInt(_0x29b737(0x139))/0x5)+-parseInt(_0x29b737(0x137))/0x6*(-parseInt(_0x29b737(0x110))/0x7)+parseInt(_0x29b737(0x15a))/0x8*(-parseInt(_0x29b737(0x12a))/0x9)+parseInt(_0x29b737(0x121))/0xa*(-parseInt(_0x29b737(0x116))/0xb);if(_0x506352===_0x361a46)break;else _0x421169['push'](_0x421169['shift']());}catch(_0x1a121a){_0x421169['push'](_0x421169['shift']());}}}(_0x59cc,0x98656));function _0x59cc(){const _0x3ef854=['arrowup','forEach','bindTemplate','_rearrangeExpand','_model','length','3865206LhmOpt','change:isEditMode','9940ZCHTZK','delegate','resolvedAt','_collapsedCommentsView','change:isResolved','_shouldCollapse','maxThreadTotalWeight','some','_handleInfoComment','change','maxCommentsWhenCollapsed','visibleViews','map','325069GGbCSZ','authoredAt','Thread\x20comments','equal','createCollection','ck-thread__comments','arrowdown','collapse','change:hasDirtyComment','_handleNewCommentModel','formatDateTime','add','listenTo','_calculatePosition','editorConfig','destroy','583710nKDxrB','keystrokes','hasDirtyComment','locale','949064Otbulf','removeComment','_rearrangeCollapse','resolvedCommentView','includes','_findOptimalIndex','count','3098814iCeowi','isEditMode','stopListening','reverse','_setupKeyboardNavigation','commentUpdated','refreshVisibleViews','bind','isActive','CommentView','viewUid','set','Marked\x20as\x20resolved','get','target','weight','change:isActive','7TQrNHk','maxCommentCharsWhenCollapsed','element','focusTracker','_handleRemoveCommentModel','editorReady','4169nYiGTu','updateComment','added','editorDestroyed','from','setTemplate','ck-hidden','commentViews','insert','_updateHasDirtyComment','remove','25490OxrbXE','focusCycler','removed','resolved','focusLast','delete','focus','resolvedBy','render','72kIVgWI','_config','1668VzSxzk','focusFirst','expand','resolveCommentThread','comments'];_0x59cc=function(){return _0x3ef854;};return _0x59cc();}import{View as _0x1cab8f,FocusCycler as _0x40732d}from'ckeditor5/src/ui.js';import{diff as _0x26afa1,Collection as _0x582077,FocusTracker as _0x2d317f,KeystrokeHandler as _0x195323}from'ckeditor5/src/utils.js';import{getTranslation as _0x35425e}from'../../../utils/common-translations.js';function _0x152b(_0x17844c,_0x4e775b){const _0x59cca8=_0x59cc();return _0x152b=function(_0x152b0c,_0x15752f){_0x152b0c=_0x152b0c-0xfb;let _0x50341a=_0x59cca8[_0x152b0c];return _0x50341a;},_0x152b(_0x17844c,_0x4e775b);}import{CollapsedCommentsView as _0x2536b9}from'./collapsedcommentsview.js';export class CommentsListView extends _0x1cab8f{[_0x565c3(0x11d)];[_0x565c3(0xfb)];[_0x565c3(0x113)];[_0x565c3(0x157)];[_0x565c3(0x122)];[_0x565c3(0x135)];[_0x565c3(0x12b)];[_0x565c3(0x13c)];constructor(_0x17719e,_0x1619ac,_0x414c1b){const _0x29bfb0=_0x565c3;super(_0x17719e);const _0x3f9ae6=this[_0x29bfb0(0x133)];this[_0x29bfb0(0x10a)](_0x29bfb0(0x158),!0x1),this[_0x29bfb0(0x10a)](_0x29bfb0(0x136),_0x1619ac[_0x29bfb0(0x130)][_0x29bfb0(0x136)]),this[_0x29bfb0(0x10a)](_0x29bfb0(0x107),!0x1),this[_0x29bfb0(0x135)]=_0x1619ac,this[_0x29bfb0(0x12b)]=_0x414c1b,this[_0x29bfb0(0x11d)]=this[_0x29bfb0(0x14a)](),this[_0x29bfb0(0x144)]=this[_0x29bfb0(0x14a)](),this[_0x29bfb0(0xfb)]=null,this[_0x29bfb0(0x113)]=new _0x2d317f(),this[_0x29bfb0(0x157)]=new _0x195323(),this[_0x29bfb0(0x122)]=new _0x40732d({'focusables':this[_0x29bfb0(0x11d)],'focusTracker':this[_0x29bfb0(0x113)],'keystrokeHandler':this[_0x29bfb0(0x157)],'keystrokeHandlerOptions':{'filter':_0x4098c2=>this[_0x29bfb0(0x11d)][_0x29bfb0(0x145)](_0x53b221=>_0x53b221[_0x29bfb0(0x112)])[_0x29bfb0(0xfc)](_0x4098c2[_0x29bfb0(0x10d)])},'actions':{'focusPrevious':_0x29bfb0(0x131),'focusNext':_0x29bfb0(0x14c)}}),this[_0x29bfb0(0x13c)]=new _0x2536b9(_0x17719e),this[_0x29bfb0(0x13c)][_0x29bfb0(0x106)](_0x29bfb0(0xfe))['to'](this,_0x29bfb0(0x136),_0x96a016=>_0x96a016-this[_0x29bfb0(0x12b)][_0x29bfb0(0x143)]);for(const _0x2c7169 of _0x1619ac[_0x29bfb0(0x130)])this[_0x29bfb0(0x14f)](_0x2c7169);this[_0x29bfb0(0x141)](),this[_0x29bfb0(0x152)](_0x1619ac[_0x29bfb0(0x130)],_0x29bfb0(0x151),(_0x1acac4,_0x3d1c5b)=>{const _0x31441e=_0x29bfb0,_0x95c24b=this[_0x31441e(0x153)](_0x3d1c5b);this[_0x31441e(0x136)]++,this[_0x31441e(0x14f)](_0x3d1c5b,_0x95c24b),this[_0x31441e(0x105)]();}),this[_0x29bfb0(0x152)](_0x1619ac[_0x29bfb0(0x130)],_0x29bfb0(0x120),(_0x259999,_0x141f1b)=>{const _0x1ed06a=_0x29bfb0;this[_0x1ed06a(0x136)]--,this[_0x1ed06a(0x114)](_0x141f1b),this[_0x1ed06a(0x105)]();}),this[_0x29bfb0(0x152)](_0x1619ac,_0x29bfb0(0x104),()=>this[_0x29bfb0(0x105)]()),this[_0x29bfb0(0x152)](_0x1619ac,_0x29bfb0(0x13d),()=>this[_0x29bfb0(0x141)]()),this['on'](_0x29bfb0(0x10f),()=>this[_0x29bfb0(0x105)]()),this['on'](_0x29bfb0(0x14e),()=>this[_0x29bfb0(0x105)]()),this[_0x29bfb0(0x11b)]({'tag':'ul','attributes':{'class':[_0x29bfb0(0x14b),_0x3f9ae6['if'](_0x29bfb0(0x136),_0x29bfb0(0x11c),_0x7f6c2f=>!_0x7f6c2f)],'aria-label':_0x35425e(_0x17719e,_0x29bfb0(0x148))},'children':this[_0x29bfb0(0x144)]});}get[_0x565c3(0x13e)](){const _0x536927=_0x565c3;return this[_0x536927(0x135)][_0x536927(0x10e)]>this[_0x536927(0x12b)][_0x536927(0x13f)]&&!this[_0x536927(0x107)]&&!this[_0x536927(0x158)];}[_0x565c3(0x129)](){const _0x8b3953=_0x565c3;super[_0x8b3953(0x129)](),this[_0x8b3953(0x105)](),this[_0x8b3953(0x103)]();}[_0x565c3(0x127)](_0x3c6e7f){const _0x52bd10=_0x565c3;-0x1===_0x3c6e7f?this[_0x52bd10(0x122)][_0x52bd10(0x125)]():this[_0x52bd10(0x122)][_0x52bd10(0x12d)]();}[_0x565c3(0x155)](){const _0x340239=_0x565c3;this[_0x340239(0x13c)][_0x340239(0x155)]();for(const _0x148e80 of this[_0x340239(0x11d)])_0x148e80[_0x340239(0x155)]();super[_0x340239(0x155)]();}[_0x565c3(0x105)](){const _0x8f5915=_0x565c3;this[_0x8f5915(0x13e)]?this[_0x8f5915(0x15c)]():this[_0x8f5915(0x134)]();}[_0x565c3(0x14f)](_0xb02863,_0x2ab1cb){const _0x244a4d=_0x565c3,_0x240233=new this[(_0x244a4d(0x12b))][(_0x244a4d(0x108))](this[_0x244a4d(0x159)],_0xb02863,{'maxCommentCharsWhenCollapsed':this[_0x244a4d(0x12b)][_0x244a4d(0x111)],'formatDateTime':this[_0x244a4d(0x12b)][_0x244a4d(0x150)],'editorConfig':this[_0x244a4d(0x12b)][_0x244a4d(0x154)]});_0x240233[_0x244a4d(0x109)]=_0xb02863['id'],_0x240233[_0x244a4d(0x13a)](_0x244a4d(0x15b))['to'](this),_0x240233[_0x244a4d(0x13a)](_0x244a4d(0x117))['to'](this),_0x240233[_0x244a4d(0x13a)](_0x244a4d(0x12f))['to'](this),_0x240233[_0x244a4d(0x13a)](_0x244a4d(0x115))['to'](this),_0x240233[_0x244a4d(0x13a)](_0x244a4d(0x119))['to'](this),this[_0x244a4d(0x152)](_0x240233,_0x244a4d(0x138),()=>this[_0x244a4d(0x11f)]()),this[_0x244a4d(0x11d)][_0x244a4d(0x151)](_0x240233,_0x2ab1cb);}[_0x565c3(0x153)](_0x41f9f4){const _0x131700=_0x565c3,_0xb0921f=this[_0x131700(0x135)][_0x131700(0xfd)](_0x41f9f4);return this[_0x131700(0xfb)]?this[_0x131700(0xfb)][_0x131700(0x147)]>_0x41f9f4[_0x131700(0x147)]?_0xb0921f-0x1:_0xb0921f:_0xb0921f-0x1;}[_0x565c3(0x141)](){const _0x1da53d=_0x565c3;if(this[_0x1da53d(0x135)][_0x1da53d(0x128)]&&this[_0x1da53d(0x135)][_0x1da53d(0x13b)]){const _0x17c567={'id':_0x1da53d(0x124),'author':this[_0x1da53d(0x135)][_0x1da53d(0x128)],'authoredAt':this[_0x1da53d(0x135)][_0x1da53d(0x13b)],'content':_0x35425e(this[_0x1da53d(0x159)],_0x1da53d(0x10b)),'attributes':{}};this[_0x1da53d(0xfb)]=new this[(_0x1da53d(0x12b))][(_0x1da53d(0x108))](this[_0x1da53d(0x159)],_0x17c567,{'maxCommentCharsWhenCollapsed':this[_0x1da53d(0x12b)][_0x1da53d(0x111)],'formatDateTime':this[_0x1da53d(0x12b)][_0x1da53d(0x150)],'editorConfig':this[_0x1da53d(0x12b)][_0x1da53d(0x154)],'isSystemComment':!0x0}),this[_0x1da53d(0x11d)][_0x1da53d(0x151)](this[_0x1da53d(0xfb)],this[_0x1da53d(0x135)][_0x1da53d(0xfd)](_0x17c567));}else this[_0x1da53d(0xfb)]&&(this[_0x1da53d(0x11d)][_0x1da53d(0x120)](this[_0x1da53d(0xfb)]),this[_0x1da53d(0xfb)][_0x1da53d(0x155)](),this[_0x1da53d(0xfb)]=null);this[_0x1da53d(0x105)]();}[_0x565c3(0x114)](_0x407d11){const _0x391040=_0x565c3,_0x1d7843=this[_0x391040(0x11d)][_0x391040(0x120)](_0x407d11['id']);this[_0x391040(0x101)](_0x1d7843),_0x1d7843[_0x391040(0x100)]&&this[_0x391040(0x11f)](),_0x1d7843[_0x391040(0x155)]();}[_0x565c3(0x11f)](){const _0x3a42f9=_0x565c3;this[_0x3a42f9(0x158)]=Array[_0x3a42f9(0x11a)](this[_0x3a42f9(0x11d)])[_0x3a42f9(0x140)](_0x5edc3a=>_0x5edc3a[_0x3a42f9(0x100)]);}[_0x565c3(0x15c)](){const _0x2291ff=_0x565c3,_0x1972c9=function(_0x20c4fd){const _0x2b2c1=_0x152b,_0x4c6d95=new _0x582077();for(const _0xf2d737 of _0x20c4fd)_0x4c6d95[_0x2b2c1(0x151)](_0xf2d737);return _0x4c6d95;}(this[_0x2291ff(0x11d)]),_0x2af7da=this[_0x2291ff(0x13c)][_0x2291ff(0xfe)];for(let _0x121476=0x1;_0x121476<=_0x2af7da;_0x121476++)_0x1972c9[_0x2291ff(0x120)](0x1);for(const _0x3b4f7e of _0x1972c9)_0x3b4f7e[_0x2291ff(0x14d)]();_0x2af7da>0x0&&_0x1972c9[_0x2291ff(0x151)](this[_0x2291ff(0x13c)],0x1),ns(_0x26afa1(Array[_0x2291ff(0x11a)](this[_0x2291ff(0x144)]),Array[_0x2291ff(0x11a)](_0x1972c9)),this[_0x2291ff(0x144)],_0x1972c9);}[_0x565c3(0x134)](){const _0x5eeba7=_0x565c3;ns(_0x26afa1(Array[_0x5eeba7(0x11a)](this[_0x5eeba7(0x144)]),Array[_0x5eeba7(0x11a)](this[_0x5eeba7(0x11d)])),this[_0x5eeba7(0x144)],this[_0x5eeba7(0x11d)]);for(const _0x21cd2f of this[_0x5eeba7(0x144)])_0x21cd2f[_0x5eeba7(0x12e)]();}[_0x565c3(0x103)](){const _0x3dddc0=_0x565c3;this[_0x3dddc0(0x11d)][_0x3dddc0(0x132)](_0x4ef7a4=>{const _0x4395dc=_0x3dddc0;this[_0x4395dc(0x113)][_0x4395dc(0x151)](_0x4ef7a4[_0x4395dc(0x112)]),this[_0x4395dc(0x157)][_0x4395dc(0x152)](_0x4ef7a4[_0x4395dc(0x112)]);}),this[_0x3dddc0(0x11d)]['on'](_0x3dddc0(0x142),(_0x416127,_0x7fcee9)=>{const _0x288489=_0x3dddc0;for(const _0x429002 of _0x7fcee9[_0x288489(0x123)])this[_0x288489(0x113)][_0x288489(0x120)](_0x429002[_0x288489(0x112)]),this[_0x288489(0x157)][_0x288489(0x101)](_0x429002[_0x288489(0x112)]);for(const _0x10a61 of Array[_0x288489(0x11a)](_0x7fcee9[_0x288489(0x118)])[_0x288489(0x102)]())this[_0x288489(0x113)][_0x288489(0x151)](_0x10a61[_0x288489(0x112)]),this[_0x288489(0x157)][_0x288489(0x152)](_0x10a61[_0x288489(0x112)]);});}}function ns(_0x413a9a,_0x18f578,_0x3542fd){const _0x505fa6=_0x565c3;let _0x2ef0a8=0x0;for(const _0x45ec80 of _0x413a9a)switch(_0x45ec80){case _0x505fa6(0x11e):_0x18f578[_0x505fa6(0x151)](_0x3542fd[_0x505fa6(0x10c)](_0x2ef0a8),_0x2ef0a8),_0x2ef0a8++;break;case _0x505fa6(0x126):_0x18f578[_0x505fa6(0x120)](_0x2ef0a8);break;case _0x505fa6(0x149):_0x2ef0a8++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x34c2(_0x2263b5,_0x11bff4){const _0x248027=_0x2480();return _0x34c2=function(_0x34c281,_0x3ccded){_0x34c281=_0x34c281-0x9a;let _0x40e1d9=_0x248027[_0x34c281];return _0x40e1d9;},_0x34c2(_0x2263b5,_0x11bff4);}const _0x101e5f=_0x34c2;function _0x2480(){const _0xa03462=['1869327TLdSAY','span','bindTemplate','setTemplate','180GcgZib','set','610891iVZUpf','32282airONS','711447lHfwRR','focus','element','THREAD_CONTEXT_LABEL','1013316MSwOkA','1272aTgAnE','220Dxpuep','ck-context__value','16115oOrMnQ','contextValue','102SzLdwX','25305qrWOmq'];_0x2480=function(){return _0xa03462;};return _0x2480();}(function(_0x4052c9,_0x26eee9){const _0x2c0273=_0x34c2,_0x1a49ba=_0x4052c9();while(!![]){try{const _0x3e9c5a=-parseInt(_0x2c0273(0x9d))/0x1+-parseInt(_0x2c0273(0x9e))/0x2*(-parseInt(_0x2c0273(0xa9))/0x3)+parseInt(_0x2c0273(0xa5))/0x4*(parseInt(_0x2c0273(0xa7))/0x5)+-parseInt(_0x2c0273(0xa3))/0x6+-parseInt(_0x2c0273(0xaa))/0x7*(parseInt(_0x2c0273(0xa4))/0x8)+-parseInt(_0x2c0273(0xab))/0x9+parseInt(_0x2c0273(0x9b))/0xa*(parseInt(_0x2c0273(0x9f))/0xb);if(_0x3e9c5a===_0x26eee9)break;else _0x1a49ba['push'](_0x1a49ba['shift']());}catch(_0x4b88f4){_0x1a49ba['push'](_0x1a49ba['shift']());}}}(_0x2480,0x5012c));import{View as _0x9781e6}from'ckeditor5/src/ui.js';import{getTranslation as _0x48048e}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x9781e6{constructor(_0x156024){const _0x4d60d0=_0x34c2;super(_0x156024);const _0x5159ec=this[_0x4d60d0(0xad)];this[_0x4d60d0(0x9c)](_0x4d60d0(0xa8),''),this[_0x4d60d0(0x9a)]({'tag':_0x4d60d0(0xac),'attributes':{'class':['ck',_0x4d60d0(0xa6)],'aria-label':_0x5159ec['to'](_0x4d60d0(0xa8),_0x43df06=>_0x48048e(_0x156024,_0x4d60d0(0xa2),_0x43df06)),'tabindex':-0x1},'children':[{'text':_0x5159ec['to'](_0x4d60d0(0xa8))}]});}[_0x101e5f(0xa0)](){const _0x1585fa=_0x101e5f;this[_0x1585fa(0xa1)][_0x1585fa(0xa0)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5683a8=_0x11f7;(function(_0x31e262,_0x46802f){const _0x7cadd=_0x11f7,_0x483fb9=_0x31e262();while(!![]){try{const _0x396050=parseInt(_0x7cadd(0x97))/0x1*(parseInt(_0x7cadd(0xb1))/0x2)+-parseInt(_0x7cadd(0xa5))/0x3*(-parseInt(_0x7cadd(0xb8))/0x4)+-parseInt(_0x7cadd(0x8c))/0x5+-parseInt(_0x7cadd(0xae))/0x6*(-parseInt(_0x7cadd(0x91))/0x7)+-parseInt(_0x7cadd(0xa3))/0x8+parseInt(_0x7cadd(0x9a))/0x9*(parseInt(_0x7cadd(0xbb))/0xa)+-parseInt(_0x7cadd(0xab))/0xb;if(_0x396050===_0x46802f)break;else _0x483fb9['push'](_0x483fb9['shift']());}catch(_0x48b44b){_0x483fb9['push'](_0x483fb9['shift']());}}}(_0x54b4,0x73f02));import{View as _0x1d9fcb,ButtonView as _0x292133,FocusCycler as _0x403997}from'ckeditor5/src/ui.js';import{FocusTracker as _0x560f29,KeystrokeHandler as _0x389d90}from'ckeditor5/src/utils.js';import{IconUndo as _0x42a683}from'ckeditor5/src/icons.js';import{getTranslation as _0x3cc88f}from'../../../utils/common-translations.js';function _0x54b4(){const _0x17db82=['3768615heaWgH','reopenButtonView','createCollection','lastIndexOf','_trimContextValue','7vXtMMz','scrollWidth','hasContext','ck-context','Reopen','element','67934ONWlHQ','add','context','301689ivDKti','_createContextView','.ck-context__value','bindTemplate','querySelector','.ck-context','contextView','label','substring','4697904EtoGPf','shift+tab','8097MIhmqw','contextValue','isVisible','_model','ck-context--quotes','tab','5907286hlxmcr','fire','mouseenter','2216814oHRUcz','classList','focusCycler','18KFEBZJ','focus','tooltip','focusFirst','remove','focusTracker','ck-context-wrapper','692xdSrbl','ck-annotation__actions','overlay','270hVDGCz','focusables','length','isReadOnly','bind','isResolvable','...','render','value','execute','keystrokes','_setupKeyboardNavigation','offsetWidth','div','listenTo','locale','isEnabled','_createReopenButton','setTemplate','ck-thread__header','_attachContextActions','mouseleave','isResolved','reopenCommentThread','Comment\x20was\x20made\x20on\x20an\x20element','icon'];_0x54b4=function(){return _0x17db82;};return _0x54b4();}import{CommentThreadHeaderContextView as _0x15cd49}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;function _0x11f7(_0x477cff,_0x38b24e){const _0x54b46a=_0x54b4();return _0x11f7=function(_0x11f76a,_0xffe6ba){_0x11f76a=_0x11f76a-0x8a;let _0x24194e=_0x54b46a[_0x11f76a];return _0x24194e;},_0x11f7(_0x477cff,_0x38b24e);}export class CommentThreadHeaderView extends _0x1d9fcb{[_0x5683a8(0xa8)];[_0x5683a8(0x8d)];[_0x5683a8(0xa0)];[_0x5683a8(0xbc)];[_0x5683a8(0xb6)];[_0x5683a8(0xc5)];[_0x5683a8(0xb0)];constructor(_0x5cf2b6,_0x1548b3){const _0x49ae59=_0x5683a8;super(_0x5cf2b6);const _0x21e469=this[_0x49ae59(0x9d)];this[_0x49ae59(0xa8)]=_0x1548b3,this[_0x49ae59(0x8d)]=this[_0x49ae59(0xcc)](),this[_0x49ae59(0xa0)]=this[_0x49ae59(0x9b)](),this[_0x49ae59(0xbc)]=this[_0x49ae59(0x8e)]([this[_0x49ae59(0xa0)],this[_0x49ae59(0x8d)]]),this[_0x49ae59(0xb6)]=new _0x560f29(),this[_0x49ae59(0xc5)]=new _0x389d90(),this[_0x49ae59(0xb0)]=new _0x403997({'focusables':this[_0x49ae59(0xbc)],'focusTracker':this[_0x49ae59(0xb6)],'keystrokeHandler':this[_0x49ae59(0xc5)],'actions':{'focusPrevious':_0x49ae59(0xa4),'focusNext':_0x49ae59(0xaa)}}),this[_0x49ae59(0xbf)](_0x49ae59(0x93))['to'](this[_0x49ae59(0xa8)],_0x49ae59(0x99),_0x124e5c=>!!_0x124e5c),this[_0x49ae59(0xbf)](_0x49ae59(0xa6))['to'](this[_0x49ae59(0xa8)],_0x49ae59(0x99),_0x5371d4=>_0x5371d4&&_0x5371d4[_0x49ae59(0xc3)]?this[_0x49ae59(0x90)](_0x5371d4[_0x49ae59(0xc3)]):_0x3cc88f(this[_0x49ae59(0xca)],_0x49ae59(0x8a))),this[_0x49ae59(0xcd)]({'tag':_0x49ae59(0xc8),'attributes':{'class':[_0x49ae59(0xce)]},'children':[{'tag':_0x49ae59(0xc8),'attributes':{'class':[_0x49ae59(0xb7)]},'children':[{'tag':_0x49ae59(0xc8),'attributes':{'class':[_0x49ae59(0x94),_0x21e469['if'](_0x49ae59(0x93),_0x49ae59(0xa9))]},'children':[this[_0x49ae59(0xa0)]]}]},{'tag':_0x49ae59(0xc8),'attributes':{'class':[_0x49ae59(0xb9)]},'children':[this[_0x49ae59(0x8d)]]}]});}[_0x5683a8(0xc2)](){const _0x549f94=_0x5683a8;super[_0x549f94(0xc2)](),this[_0x549f94(0xcf)](),this[_0x549f94(0xc6)]();}[_0x5683a8(0xb2)](){const _0x292916=_0x5683a8;this[_0x292916(0xb0)][_0x292916(0xb4)]();}[_0x5683a8(0xcc)](){const _0x47ec59=_0x5683a8,_0x4ae80b=new _0x292133(this[_0x47ec59(0xca)]);return _0x4ae80b[_0x47ec59(0xa1)]=_0x3cc88f(this[_0x47ec59(0xca)],_0x47ec59(0x95)),_0x4ae80b[_0x47ec59(0xb3)]=_0x3cc88f(this[_0x47ec59(0xca)],_0x47ec59(0x95)),_0x4ae80b[_0x47ec59(0x8b)]=_0x42a683,_0x4ae80b[_0x47ec59(0xbf)](_0x47ec59(0xcb))['to'](this[_0x47ec59(0xa8)],_0x47ec59(0xbe),_0x11fb1e=>!_0x11fb1e),_0x4ae80b[_0x47ec59(0xbf)](_0x47ec59(0xa7))['to'](this[_0x47ec59(0xa8)],_0x47ec59(0xc0),this[_0x47ec59(0xa8)],_0x47ec59(0xd1),(_0x1f2c3e,_0x5070d0)=>_0x1f2c3e&&_0x5070d0),_0x4ae80b['on'](_0x47ec59(0xc4),()=>{const _0x2b7228=_0x47ec59;this[_0x2b7228(0xac)](_0x2b7228(0xd2),this[_0x2b7228(0xa8)]['id']);}),_0x4ae80b;}[_0x5683a8(0x90)](_0x2eda24){const _0x8e91a6=_0x5683a8;if(_0x2eda24[_0x8e91a6(0xbd)]<0x96)return _0x2eda24;const _0x56092d=_0x2eda24[_0x8e91a6(0x8f)]('\x20',0x93);return _0x2eda24[_0x8e91a6(0xa2)](0x0,_0x56092d>-0x1?_0x56092d:0x93)+_0x8e91a6(0xc1);}[_0x5683a8(0xcf)](){const _0x33483e=_0x5683a8,_0x2e94b2=this[_0x33483e(0x96)][_0x33483e(0x9e)](_0x33483e(0x9f)),_0x1417e1=_0x2e94b2[_0x33483e(0x9e)](_0x33483e(0x9c));this[_0x33483e(0xc9)](_0x2e94b2,_0x33483e(0xad),()=>{const _0x1fd1cb=_0x33483e;_0x1417e1[_0x1fd1cb(0xc7)]<_0x1417e1[_0x1fd1cb(0x92)]&&_0x2e94b2[_0x1fd1cb(0xaf)][_0x1fd1cb(0x98)](_0x1fd1cb(0xba));}),this[_0x33483e(0xc9)](_0x2e94b2,_0x33483e(0xd0),()=>{const _0x531d9c=_0x33483e;_0x2e94b2[_0x531d9c(0xaf)][_0x531d9c(0xb5)](_0x531d9c(0xba));});}[_0x5683a8(0xc6)](){const _0x586c41=_0x5683a8;this[_0x586c41(0xc5)][_0x586c41(0xc9)](this[_0x586c41(0x96)]);for(const _0x3da7e6 of this[_0x586c41(0xbc)])this[_0x586c41(0xb6)][_0x586c41(0x98)](_0x3da7e6[_0x586c41(0x96)]),this[_0x586c41(0xc5)][_0x586c41(0xc9)](_0x3da7e6[_0x586c41(0x96)]);}[_0x5683a8(0x9b)](){const _0x4adacc=_0x5683a8,_0x18994f=new _0x15cd49(this[_0x4adacc(0xca)]);return _0x18994f[_0x4adacc(0xbf)](_0x4adacc(0xa6))['to'](this),_0x18994f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a91a3=_0x2586;(function(_0xbdfc13,_0x34ce1c){const _0x4e9cce=_0x2586,_0x334b3b=_0xbdfc13();while(!![]){try{const _0x1d5077=parseInt(_0x4e9cce(0xc8))/0x1*(-parseInt(_0x4e9cce(0xeb))/0x2)+-parseInt(_0x4e9cce(0xb9))/0x3*(parseInt(_0x4e9cce(0xe4))/0x4)+-parseInt(_0x4e9cce(0xe9))/0x5*(parseInt(_0x4e9cce(0xd1))/0x6)+-parseInt(_0x4e9cce(0xd8))/0x7*(parseInt(_0x4e9cce(0xcc))/0x8)+-parseInt(_0x4e9cce(0xc6))/0x9+parseInt(_0x4e9cce(0xc5))/0xa*(-parseInt(_0x4e9cce(0xd2))/0xb)+parseInt(_0x4e9cce(0xc0))/0xc;if(_0x1d5077===_0x34ce1c)break;else _0x334b3b['push'](_0x334b3b['shift']());}catch(_0x37e67b){_0x334b3b['push'](_0x334b3b['shift']());}}}(_0x3704,0xcba39));function _0x2586(_0x367e1c,_0x2a2f87){const _0x37042a=_0x3704();return _0x2586=function(_0x258623,_0x314ebf){_0x258623=_0x258623-0xb9;let _0xe6c65a=_0x37042a[_0x258623];return _0xe6c65a;},_0x2586(_0x367e1c,_0x2a2f87);}import{View as _0x3b1fd7}from'ckeditor5/src/ui.js';import{CommentInputView as _0x3a0166}from'./commentinputview.js';import{UserView as _0x25d0c7}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3704(){const _0x976d6f=['2022875UcZGtZ','bindTemplate','1468wOVHVn','then','66018nPDIVa','value','commentInputView','focusTracker','ck-thread__input','delegate','showInput','45549960vxgAPc','isFocused','ck-comment__input-container','extendTemplate','userView','370MjjCPm','1821681cIYOQS','ck-thread__user','880nESTnc','editorDestroyed','preventDefault','change:showInput','61840YAtAox','render','createEditor','setTemplate','set','18lItbpw','86251jHJiKc','getDomRoot','contains','target','focusCycler','ck-comment__input-container--active','273lGXkEk','listenTo','editing','destroy','focus','mousedown','element','editorReady','some','editor','showButtons','div','56gSjvaU','view','bind','filter','_focusOnNonInteractiveMouseDown'];_0x3704=function(){return _0x976d6f;};return _0x3704();}export class CommentThreadInputView extends _0x3b1fd7{constructor(_0x5180b2,_0x3f648f,_0x5a7d52){const _0x10184a=_0x2586;super(_0x5180b2),this[_0x10184a(0xbb)]=new _0x3a0166(_0x5180b2,_0x5a7d52),this[_0x10184a(0xd6)]=this[_0x10184a(0xbb)][_0x10184a(0xd6)],this[_0x10184a(0xbb)][_0x10184a(0xe6)](_0x10184a(0xe2))['to'](this[_0x10184a(0xbb)][_0x10184a(0xbc)],_0x10184a(0xc1),this[_0x10184a(0xbb)],_0x10184a(0xba),(_0x2ed067,_0x5f357d)=>_0x2ed067||!!_0x5f357d),this[_0x10184a(0xd0)](_0x10184a(0xbf),!0x1),this['on'](_0x10184a(0xcb),()=>{const _0x50f70e=_0x10184a;this[_0x50f70e(0xbf)]&&!this[_0x50f70e(0xbb)][_0x50f70e(0xe1)]&&this[_0x50f70e(0xbb)][_0x50f70e(0xce)]();}),this[_0x10184a(0xbb)][_0x10184a(0xbe)](_0x10184a(0xdf))['to'](this),this[_0x10184a(0xbb)][_0x10184a(0xbe)](_0x10184a(0xc9))['to'](this),this[_0x10184a(0xc4)]=new _0x25d0c7(_0x5180b2,_0x3f648f),this[_0x10184a(0xc4)][_0x10184a(0xc3)]({'attributes':{'class':_0x10184a(0xc7),'aria-hidden':!0x0}}),this[_0x10184a(0xbb)][_0x10184a(0xc3)]({'attributes':{'class':_0x10184a(0xbd)}}),this[_0x10184a(0xcf)]({'tag':_0x10184a(0xe3),'attributes':{'class':[_0x10184a(0xc2),this[_0x10184a(0xea)]['if'](_0x10184a(0xbf),_0x10184a(0xd7))]},'children':[this[_0x10184a(0xc4)],this[_0x10184a(0xbb)]]});}[_0x1a91a3(0xcd)](){const _0x1a900e=_0x1a91a3;super[_0x1a900e(0xcd)](),this[_0x1a900e(0xe8)]();}[_0x1a91a3(0xdb)](){const _0x3b7c44=_0x1a91a3;return this[_0x3b7c44(0xbb)][_0x3b7c44(0xdb)]()[_0x3b7c44(0xec)](()=>super[_0x3b7c44(0xdb)]());}[_0x1a91a3(0xdc)](_0x4f2e1e){const _0x328253=_0x1a91a3;this[_0x328253(0xbb)][_0x328253(0xdc)](_0x4f2e1e);}[_0x1a91a3(0xe8)](){const _0x4a31e8=_0x1a91a3;this[_0x4a31e8(0xd9)](this[_0x4a31e8(0xde)],_0x4a31e8(0xdd),(_0x505b10,_0x426a63)=>{const _0x3135a8=_0x4a31e8,{submitButtonView:_0x23d06e,cancelButtonView:_0x4ad233,editor:_0x33d0c1}=this[_0x3135a8(0xbb)];[_0x23d06e[_0x3135a8(0xde)],_0x4ad233[_0x3135a8(0xde)],_0x33d0c1?_0x33d0c1[_0x3135a8(0xda)][_0x3135a8(0xe5)][_0x3135a8(0xd3)]():null][_0x3135a8(0xe7)](_0x272e0f=>_0x272e0f)[_0x3135a8(0xe0)](_0x8183c2=>_0x8183c2[_0x3135a8(0xd4)](_0x426a63[_0x3135a8(0xd5)]))||(this[_0x3135a8(0xdc)](),_0x426a63[_0x3135a8(0xca)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x2f4c(_0x461113,_0x2e3279){const _0x4ba2ee=_0x4ba2();return _0x2f4c=function(_0x2f4c41,_0x12aa2e){_0x2f4c41=_0x2f4c41-0x1aa;let _0x4f4fac=_0x4ba2ee[_0x2f4c41];return _0x4f4fac;},_0x2f4c(_0x461113,_0x2e3279);}const _0x49d278=_0x2f4c;(function(_0x4b722d,_0x5e4692){const _0x341f5c=_0x2f4c,_0xbd62d=_0x4b722d();while(!![]){try{const _0x4ab0a8=-parseInt(_0x341f5c(0x1ec))/0x1*(-parseInt(_0x341f5c(0x1b5))/0x2)+-parseInt(_0x341f5c(0x1fc))/0x3*(parseInt(_0x341f5c(0x1cc))/0x4)+-parseInt(_0x341f5c(0x1ae))/0x5+-parseInt(_0x341f5c(0x1ea))/0x6*(parseInt(_0x341f5c(0x1f1))/0x7)+parseInt(_0x341f5c(0x1e0))/0x8*(parseInt(_0x341f5c(0x200))/0x9)+-parseInt(_0x341f5c(0x1d1))/0xa+parseInt(_0x341f5c(0x1f8))/0xb*(parseInt(_0x341f5c(0x203))/0xc);if(_0x4ab0a8===_0x5e4692)break;else _0xbd62d['push'](_0xbd62d['shift']());}catch(_0x1dd3eb){_0xbd62d['push'](_0xbd62d['shift']());}}}(_0x4ba2,0xce3fc));import{ConfirmMixin as _0x26af3c,LateFocusButtonView as _0x2a9d1e}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x2dfd04}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0xb10b70}from'./basecommentthreadview.js';function _0x4ba2(){const _0x1944fd=['isActive','getTemplate','fire','actionBar','label','get','add','createCollection','removeButton','change:isActive','change:isReadOnly','ck-comment--resolve','resolveCommentThread','cancelConfirm','6614648HEJhuC','ariaLabel','showConfirm','isVisible','extendTemplate','isUnlinked','removeCommentThread','bind','icon','change:archivedAt','332544dNOqhC','set','647qmDgqx','archivedAt','ck-thread--unlinked','has','execute','56HvFlCM','stop','focusables','ck-thread--active','commentThreadChildren','isResolved','commentsListView','11rzOqGG','element','_boundFirstCommentView','then','21rruwJz','render','_cancelAllConfirms','containerElement','9TmFlAz','tooltip','commentViews','36900348Szjbce','commentThreadHeaderView','_createResolveButton','_model','isResolvable','7657245OQMtBa','setTemplate','querySelector','remove','length','ck-thread','ck-thread__container','1426uKThAY','ck-rounded-corners','Delete\x20comment\x20thread?','actionIndicator','resolveButton','removeConfirm','div','.ck-thread__container','locale','listenTo','high','Resolve','isSystemComment','placeholder','unbind','commentThreadInputView','ck-thread--','ck-reset_all-excluded','bindTemplate','listitem','focus','ariaDescriptionView','isEnabled','347380vuFfvl','isReadOnly','Write\x20a\x20comment...','_updateArchivedThreadHeader','_bindFirstCommentView','9356190KHfUUB'];_0x4ba2=function(){return _0x1944fd;};return _0x4ba2();}import{getTranslation as _0x2dc766}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x26af3c(_0xb10b70){[_0x49d278(0x1f5)];[_0x49d278(0x1ff)];[_0x49d278(0x1b9)];[_0x49d278(0x1fa)];constructor(_0x48d04e,_0x1de81,_0x32f86e,_0xb6d22a){const _0x3b0f99=_0x49d278;super(_0x48d04e,_0x1de81,_0x32f86e,_0xb6d22a),this[_0x3b0f99(0x1f5)]=this[_0x3b0f99(0x1d9)]([this[_0x3b0f99(0x1f7)],this[_0x3b0f99(0x1c4)],this[_0x3b0f99(0x1ca)]]),this[_0x3b0f99(0x1eb)](_0x3b0f99(0x1b8),null),this[_0x3b0f99(0x1ff)]=null,this[_0x3b0f99(0x1fa)]=null,this[_0x3b0f99(0x1bd)]=_0x48d04e,this[_0x3b0f99(0x1b9)]=this[_0x3b0f99(0x1ab)](),this[_0x3b0f99(0x1af)](this[_0x3b0f99(0x1d3)]()),this['on'](_0x3b0f99(0x1db),(_0x5c543f,_0x4b6131,_0xda1535)=>{const _0x1680d1=_0x3b0f99;_0xda1535||this[_0x1680d1(0x1fe)]();}),this[_0x3b0f99(0x1be)](this[_0x3b0f99(0x1ac)],_0x3b0f99(0x1dc),(_0x334ac1,_0x2b1ed6,_0x5d646b)=>{const _0x424a0f=_0x3b0f99;_0x5d646b&&this[_0x424a0f(0x1fe)]();}),this[_0x3b0f99(0x1b2)]>0x0&&this[_0x3b0f99(0x1d0)](),this[_0x3b0f99(0x1be)](this[_0x3b0f99(0x1f7)][_0x3b0f99(0x202)],_0x3b0f99(0x1d8),()=>{const _0x22b781=_0x3b0f99;this[_0x22b781(0x1d0)]();});}[_0x49d278(0x1d3)](){const _0x506473=_0x49d278,_0xf473dd=this[_0x506473(0x1c7)];return{'tag':_0x506473(0x1bb),'attributes':{'class':['ck',_0x506473(0x1b3),_0x506473(0x1c6),_0x506473(0x1b6),_0xf473dd['if'](_0x506473(0x1d2),_0x506473(0x1f4)),_0xf473dd['if'](_0x506473(0x1e5),_0x506473(0x1ee)),_0xf473dd['to'](_0x506473(0x1b8),_0x3ec376=>_0x3ec376?_0x506473(0x1c5)+_0x3ec376:'')],'data-thread-id':this[_0x506473(0x1ac)]['id'],'tabindex':0x0,'role':_0x506473(0x1c8),'aria-label':_0xf473dd['to'](_0x506473(0x1e1)),'aria-describedby':this[_0x506473(0x1ca)]['id']},'children':[{'tag':_0x506473(0x1bb),'attributes':{'class':_0x506473(0x1b4)},'children':this[_0x506473(0x1f5)]}]};}[_0x49d278(0x1fd)](){const _0x240d8c=_0x49d278;super[_0x240d8c(0x1fd)](),this[_0x240d8c(0x1ff)]=this[_0x240d8c(0x1f9)][_0x240d8c(0x1b0)](_0x240d8c(0x1bc)),this[_0x240d8c(0x1ac)]['on'](_0x240d8c(0x1e9),()=>{const _0x4f6b1a=_0x240d8c;this[_0x4f6b1a(0x1cf)]();}),this[_0x240d8c(0x1cf)]();}[_0x49d278(0x1fe)](){const _0x3bca32=_0x49d278;this[_0x3bca32(0x1df)]();for(const _0x2a4697 of this[_0x3bca32(0x1f7)][_0x3bca32(0x202)])_0x2a4697[_0x3bca32(0x1df)]();}[_0x49d278(0x1d0)](){const _0x12886f=_0x49d278,{locale:_0x5044c2}=this,_0x590766=this[_0x12886f(0x1f7)][_0x12886f(0x202)][_0x12886f(0x1d7)](0x0);_0x590766===this[_0x12886f(0x1fa)]||_0x590766[_0x12886f(0x1c1)]||(this[_0x12886f(0x1fa)]=_0x590766,this[_0x12886f(0x1c3)](_0x12886f(0x1b8)),this[_0x12886f(0x1e7)](_0x12886f(0x1b8))['to'](_0x590766,_0x12886f(0x1b8),_0x59fe84=>_0x12886f(0x1b1)===_0x59fe84?_0x12886f(0x1b1):null),_0x590766[_0x12886f(0x1c2)]=_0x2dc766(_0x5044c2,_0x12886f(0x1ce)),_0x590766[_0x12886f(0x1da)]['on'](_0x12886f(0x1f0),_0x570eb4=>{const _0x1c70a5=_0x12886f;_0x570eb4[_0x1c70a5(0x1f2)](),this[_0x1c70a5(0x1e2)](_0x2dc766(_0x5044c2,_0x1c70a5(0x1b7)),this[_0x1c70a5(0x1ff)])[_0x1c70a5(0x1fb)](()=>{const _0x210816=_0x1c70a5;this[_0x210816(0x1d4)](_0x210816(0x1e6));});},{'priority':_0x12886f(0x1bf)}),this['on'](_0x12886f(0x1ba),()=>{const _0x2dc45c=_0x12886f;_0x590766[_0x2dc45c(0x1c9)]();}),_0x590766[_0x12886f(0x1d5)][_0x12886f(0x1d8)](this[_0x12886f(0x1b9)],0x0),_0x590766[_0x12886f(0x1f3)][_0x12886f(0x1d8)](this[_0x12886f(0x1b9)],0x0));}[_0x49d278(0x1ab)](){const _0x4ce1cd=_0x49d278,_0x4c2b0c=new _0x2a9d1e(this[_0x4ce1cd(0x1bd)]);return _0x4c2b0c[_0x4ce1cd(0x1d6)]=_0x2dc766(this[_0x4ce1cd(0x1bd)],_0x4ce1cd(0x1c0)),_0x4c2b0c[_0x4ce1cd(0x201)]=_0x2dc766(this[_0x4ce1cd(0x1bd)],_0x4ce1cd(0x1c0)),_0x4c2b0c[_0x4ce1cd(0x1e8)]=_0x2dfd04,_0x4c2b0c[_0x4ce1cd(0x1e4)]({'attributes':{'class':_0x4ce1cd(0x1dd)}}),_0x4c2b0c[_0x4ce1cd(0x1e7)](_0x4ce1cd(0x1cb))['to'](this[_0x4ce1cd(0x1ac)],_0x4ce1cd(0x1cd),_0x86f27c=>!_0x86f27c),_0x4c2b0c[_0x4ce1cd(0x1e7)](_0x4ce1cd(0x1e3))['to'](this[_0x4ce1cd(0x1ac)],_0x4ce1cd(0x1ad),this[_0x4ce1cd(0x1ac)],_0x4ce1cd(0x1f6),(_0x38c589,_0x3c1926)=>_0x38c589&&!_0x3c1926),_0x4c2b0c['on'](_0x4ce1cd(0x1f0),()=>{const _0x3d8f61=_0x4ce1cd;this[_0x3d8f61(0x1d4)](_0x3d8f61(0x1de),this[_0x3d8f61(0x1ac)]['id']);}),_0x4c2b0c;}[_0x49d278(0x1cf)](){const _0x2e2e27=_0x49d278;this[_0x2e2e27(0x1ac)][_0x2e2e27(0x1ed)]?this[_0x2e2e27(0x1f5)][_0x2e2e27(0x1ef)](this[_0x2e2e27(0x1aa)])||(this[_0x2e2e27(0x1f5)][_0x2e2e27(0x1d8)](this[_0x2e2e27(0x1aa)],0x0),this[_0x2e2e27(0x1f3)][_0x2e2e27(0x1d8)](this[_0x2e2e27(0x1aa)],0x0)):this[_0x2e2e27(0x1f5)][_0x2e2e27(0x1ef)](this[_0x2e2e27(0x1aa)])&&(this[_0x2e2e27(0x1f5)][_0x2e2e27(0x1b1)](this[_0x2e2e27(0x1aa)]),this[_0x2e2e27(0x1f3)][_0x2e2e27(0x1b1)](this[_0x2e2e27(0x1aa)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2bc049=_0x4bbf;function _0x1df3(){const _0x42053e=['ck-comment','isEditable','edit','author','addMany','ck-annotation','ck-annotation__actions--hidden','resolvedAt','isRemovable','ck-comment__info-time','ck-annotation__content-wrapper','placeholder','authoredAt','254019gzJyQc','isReadOnly','_createRemoveButton','time','ck-annotation__info-name','label','blur','render','2mpFUYK','unbind','showConfirm','group','mouseleave','getTemplate','remove','1134GpjRnn','removeButton','Remove','ck-comment__user','ck-comment__wrapper','bindTemplate','42876PNrfUI','7465640yACfYi','ck-annotation__info-time','focusables','find','ck-annotation__main','fire','ariaDescriptionView','locale','panelPosition','8600OSVuVt','some','isEditMode','formatDateTime','2760132jMOAHx','actionIndicator','ck-comment--remove','_config','ck-comment__info','ck-hidden','_createDropdown','buttonView','mouseenter','ck-annotation__actions','visibleView','ck-comment__actions--hidden','actionBar','focus','listenTo','push','from','add','Reply...','extendTemplate','removeComment','set','ck-comment--','ck-annotation__user','3113oKvMlr','createCollection','Delete\x20comment?','items','bind','toMany','10533700tNNJus','ck-annotation__info','execute','dropdown','change:isRemovable','editButton','3205674OxgRzu','withText','8lKUlUE','element','ariaLabel','_createEditButton','switchToEditMode','span','isEnabled','_createCommentInputView','ck-comment__info-name','ck-comment--edit','div','Edit','ck-comment__external','setTemplate','21tlZbwv','isSystemComment','Show\x20more\x20items','panelView','ck-comment__main','ck-comment__actions','_model','length','ck-comment--info','children','cancelConfirm','isExternal','then','getExternalCommentNote','icon','listitem','_attachActions','getUserViewNotificationText','name','userView','isVisible'];_0x1df3=function(){return _0x42053e;};return _0x1df3();}(function(_0x597ec7,_0x4ee43e){const _0x33e9c1=_0x4bbf,_0x3d949c=_0x597ec7();while(!![]){try{const _0x56c24b=parseInt(_0x33e9c1(0x1cb))/0x1*(-parseInt(_0x33e9c1(0x15a))/0x2)+parseInt(_0x33e9c1(0x161))/0x3*(parseInt(_0x33e9c1(0x171))/0x4)+-parseInt(_0x33e9c1(0x168))/0x5+-parseInt(_0x33e9c1(0x175))/0x6*(-parseInt(_0x33e9c1(0x1a9))/0x7)+-parseInt(_0x33e9c1(0x19b))/0x8*(-parseInt(_0x33e9c1(0x199))/0x9)+-parseInt(_0x33e9c1(0x193))/0xa+parseInt(_0x33e9c1(0x18d))/0xb*(parseInt(_0x33e9c1(0x167))/0xc);if(_0x56c24b===_0x4ee43e)break;else _0x3d949c['push'](_0x3d949c['shift']());}catch(_0x24bcc4){_0x3d949c['push'](_0x3d949c['shift']());}}}(_0x1df3,0xb972a));import{IconRemoveComment as _0x10fc3a,IconPencil as _0x188f48,IconThreeVerticalDots as _0x36b659}from'ckeditor5/src/icons.js';import{ButtonView as _0x2eaf4c,createDropdown as _0x4b2893,ListView as _0x588b2b,ListItemView as _0x8221d0,focusChildOnDropdownOpen as _0x38165f}from'ckeditor5/src/ui.js';import{UserView as _0x205725,ConfirmMixin as _0x4d9cd0,LateFocusDropdownButtonView as _0x39633d}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x2b963d}from'./basecommentview.js';import{getTranslation as _0x23312c}from'../../../utils/common-translations.js';function _0x4bbf(_0x3997e3,_0x3911cb){const _0x1df352=_0x1df3();return _0x4bbf=function(_0x4bbf00,_0x1fcd3){_0x4bbf00=_0x4bbf00-0x15a;let _0x4d55b2=_0x1df352[_0x4bbf00];return _0x4d55b2;},_0x4bbf(_0x3997e3,_0x3911cb);}export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4d9cd0(_0x2b963d){[_0x2bc049(0x181)];[_0x2bc049(0x1bc)];constructor(_0x5a9496,_0xc8cada,_0x52d435){const _0x87f429=_0x2bc049;super(_0x5a9496,_0xc8cada,_0x52d435),this[_0x87f429(0x18a)](_0x87f429(0x176),null),this[_0x87f429(0x18a)](_0x87f429(0x1c9),_0x23312c(_0x5a9496,_0x87f429(0x187))),this[_0x87f429(0x191)](_0x87f429(0x1ca))['to'](_0xc8cada),this[_0x87f429(0x191)](_0x87f429(0x1c5))['to'](_0xc8cada),this[_0x87f429(0x181)]=this[_0x87f429(0x18e)](),this[_0x87f429(0x1aa)]||(this[_0x87f429(0x198)]=this[_0x87f429(0x19e)](),this[_0x87f429(0x162)]=this[_0x87f429(0x1cd)](),this[_0x87f429(0x190)]=this[_0x87f429(0x18e)](),this[_0x87f429(0x190)][_0x87f429(0x1c2)]([this[_0x87f429(0x198)],this[_0x87f429(0x162)]]),this[_0x87f429(0x196)]=this[_0x87f429(0x17b)](),this[_0x87f429(0x181)][_0x87f429(0x186)](this[_0x87f429(0x196)]),this[_0x87f429(0x16a)][_0x87f429(0x186)](this[_0x87f429(0x196)])),this[_0x87f429(0x1bc)]=new _0x205725(_0x5a9496,_0xc8cada[_0x87f429(0x1c1)],this[_0x87f429(0x1ba)]()),this[_0x87f429(0x1bc)][_0x87f429(0x188)]({'attributes':{'class':[_0x87f429(0x164),_0x87f429(0x18c)],'aria-hidden':!0x0}}),this[_0x87f429(0x183)](_0xc8cada,_0x87f429(0x197),()=>this[_0x87f429(0x1b3)]()),this[_0x87f429(0x1a8)](this[_0x87f429(0x15f)]());}[_0x2bc049(0x15f)](){const _0x1d0469=_0x2bc049,_0x375b32=this[_0x1d0469(0x166)],_0x50596a=[{'tag':_0x1d0469(0x1a5),'attributes':{'class':[_0x1d0469(0x179),_0x1d0469(0x194)]},'children':[{'tag':_0x1d0469(0x1a0),'children':[{'text':this[_0x1d0469(0x1bc)][_0x1d0469(0x1bb)]}],'attributes':{'class':[_0x1d0469(0x1a3),_0x1d0469(0x1cf)],'data-cke-tooltip-text':this[_0x1d0469(0x1bc)][_0x1d0469(0x1bb)]}},{'tag':_0x1d0469(0x1ce),'attributes':{'datetime':_0x375b32['to'](_0x1d0469(0x1ca)),'class':[_0x1d0469(0x1c7),_0x1d0469(0x169)]},'children':[{'text':_0x375b32['to'](_0x1d0469(0x1ca),_0x598cca=>this[_0x1d0469(0x178)][_0x1d0469(0x174)](_0x598cca))}]}]},{'tag':_0x1d0469(0x1a5),'attributes':{'class':[_0x1d0469(0x1ae),_0x1d0469(0x17e),_0x375b32['if'](_0x1d0469(0x173),_0x1d0469(0x180)),_0x375b32['if'](_0x1d0469(0x173),_0x1d0469(0x1c4))]},'children':this[_0x1d0469(0x181)]},{'tag':_0x1d0469(0x1a5),'attributes':{'class':[_0x1d0469(0x1c8)]},'children':this[_0x1d0469(0x17f)]},this[_0x1d0469(0x16e)]];return this[_0x1d0469(0x1af)][_0x1d0469(0x1b4)]&&_0x50596a[_0x1d0469(0x184)]({'tag':_0x1d0469(0x1a5),'attributes':{'class':[_0x1d0469(0x1a7)]},'children':[{'text':this[_0x1d0469(0x1b6)]()}]}),{'tag':'li','attributes':{'class':[_0x1d0469(0x165)],'tabindex':-0x1,'aria-label':_0x375b32['to'](_0x1d0469(0x19d)),'aria-describedby':this[_0x1d0469(0x16e)]['id'],'role':_0x1d0469(0x1b8)},'children':[{'tag':_0x1d0469(0x1a5),'attributes':{'class':[_0x1d0469(0x1be),_0x1d0469(0x1c3),_0x375b32['if'](_0x1d0469(0x173),_0x1d0469(0x1a4)),_0x375b32['if'](_0x1d0469(0x1aa),_0x1d0469(0x1b1)),_0x375b32['to'](_0x1d0469(0x176),_0x292803=>_0x292803?_0x1d0469(0x18b)+_0x292803:'')],'data-author-id':this[_0x1d0469(0x1af)][_0x1d0469(0x1c1)]['id'],'data-comment-id':this[_0x1d0469(0x1af)]['id'],'role':_0x1d0469(0x15d)},'children':[this[_0x1d0469(0x1bc)],{'tag':_0x1d0469(0x1a5),'attributes':{'class':[_0x1d0469(0x1ad),_0x1d0469(0x16c)]},'children':_0x50596a}]}]};}[_0x2bc049(0x19e)](){const _0x5afd8e=_0x2bc049,_0x1d1e67=new _0x2eaf4c(this[_0x5afd8e(0x16f)]);return _0x1d1e67[_0x5afd8e(0x1d0)]=_0x23312c(this[_0x5afd8e(0x16f)],_0x5afd8e(0x1a6)),_0x1d1e67[_0x5afd8e(0x1b7)]=_0x188f48,_0x1d1e67[_0x5afd8e(0x19a)]=!0x0,_0x1d1e67[_0x5afd8e(0x188)]({'attributes':{'class':_0x5afd8e(0x1a4)}}),_0x1d1e67[_0x5afd8e(0x191)](_0x5afd8e(0x1a1))['to'](this[_0x5afd8e(0x1af)],_0x5afd8e(0x1cc),_0x4b8902=>!_0x4b8902),_0x1d1e67[_0x5afd8e(0x191)](_0x5afd8e(0x1bd))['to'](this[_0x5afd8e(0x1af)],_0x5afd8e(0x1bf)),_0x1d1e67['on'](_0x5afd8e(0x195),()=>this[_0x5afd8e(0x19f)]()),_0x1d1e67;}[_0x2bc049(0x1cd)](){const _0x4f95f0=_0x2bc049,_0x4190f9=new _0x2eaf4c(this[_0x4f95f0(0x16f)]);return _0x4190f9[_0x4f95f0(0x1d0)]=_0x23312c(this[_0x4f95f0(0x16f)],_0x4f95f0(0x163)),_0x4190f9[_0x4f95f0(0x1b7)]=_0x10fc3a,_0x4190f9[_0x4f95f0(0x19a)]=!0x0,_0x4190f9[_0x4f95f0(0x188)]({'attributes':{'class':_0x4f95f0(0x177)}}),_0x4190f9[_0x4f95f0(0x191)](_0x4f95f0(0x1a1))['to'](this[_0x4f95f0(0x1af)],_0x4f95f0(0x1cc),_0x1f1737=>!_0x1f1737),_0x4190f9[_0x4f95f0(0x191)](_0x4f95f0(0x1bd))['to'](this[_0x4f95f0(0x1af)],_0x4f95f0(0x1c6)),_0x4190f9['on'](_0x4f95f0(0x195),()=>{const _0x5d3a95=_0x4f95f0;this[_0x5d3a95(0x15c)](_0x23312c(this[_0x5d3a95(0x16f)],_0x5d3a95(0x18f)),this[_0x5d3a95(0x19c)])[_0x5d3a95(0x1b5)](()=>{const _0xf88a86=_0x5d3a95;this[_0xf88a86(0x16d)](_0xf88a86(0x189),this[_0xf88a86(0x1af)]['id']);});}),_0x4190f9;}[_0x2bc049(0x17b)](){const _0x11944b=_0x2bc049,_0x1b6229=_0x4b2893(this[_0x11944b(0x16f)],_0x39633d),_0x318eb2=_0x1b6229[_0x11944b(0x1ac)][_0x11944b(0x1b2)],_0x2ab633=new _0x588b2b(this[_0x11944b(0x16f)]),_0x265f47=_0x1b6229[_0x11944b(0x166)];_0x38165f(_0x1b6229,()=>this[_0x11944b(0x190)][_0x11944b(0x16b)](_0x3bb22d=>_0x3bb22d[_0x11944b(0x1bd)])),_0x1b6229[_0x11944b(0x188)]({'attributes':{'class':[_0x265f47['if'](_0x11944b(0x1bd),_0x11944b(0x17a),_0x3c34f4=>!_0x3c34f4)]}});const _0x224dcf=(_0x2c3244,_0x47ac7f=-0x1)=>{const _0x41f4de=_0x11944b,_0x215248=new _0x8221d0(this[_0x41f4de(0x16f)]);_0x215248[_0x41f4de(0x1b2)][_0x41f4de(0x186)](_0x2c3244);const _0x3976e2=_0x47ac7f>-0x1?_0x47ac7f:_0x2ab633[_0x41f4de(0x190)][_0x41f4de(0x1b0)];_0x2ab633[_0x41f4de(0x190)][_0x41f4de(0x186)](_0x215248,_0x3976e2);const _0x83fca9=Array[_0x41f4de(0x185)](this[_0x41f4de(0x190)]);_0x1b6229[_0x41f4de(0x15b)](_0x41f4de(0x1a1),_0x41f4de(0x1bd)),_0x1b6229[_0x41f4de(0x191)](_0x41f4de(0x1a1))[_0x41f4de(0x192)](_0x83fca9,_0x41f4de(0x1a1),(..._0x40d9c5)=>_0x40d9c5[_0x41f4de(0x172)](_0x38cbd0=>_0x38cbd0)),_0x1b6229[_0x41f4de(0x191)](_0x41f4de(0x1bd))[_0x41f4de(0x192)](_0x83fca9,_0x41f4de(0x1bd),(..._0x4d9b82)=>_0x4d9b82[_0x41f4de(0x172)](_0xc4c0bf=>_0xc4c0bf));};_0x1b6229[_0x11944b(0x170)]='sw',_0x1b6229[_0x11944b(0x17c)][_0x11944b(0x18a)]({'label':_0x23312c(this[_0x11944b(0x16f)],_0x11944b(0x1ab)),'icon':_0x36b659});for(const _0x4aa7ec of this[_0x11944b(0x190)])_0x224dcf(_0x4aa7ec);return _0x318eb2[_0x11944b(0x186)](_0x2ab633),_0x1b6229[_0x11944b(0x183)](this[_0x11944b(0x190)],_0x11944b(0x186),(_0x2a3d61,_0x1d0c2f,_0x354dfb)=>{_0x224dcf(_0x1d0c2f,_0x354dfb);}),_0x1b6229[_0x11944b(0x183)](this[_0x11944b(0x190)],_0x11944b(0x160),(_0x3ee18f,_0x189770,_0x3e6b19)=>{const _0x478c35=_0x11944b;_0x2ab633[_0x478c35(0x190)][_0x478c35(0x160)](_0x3e6b19);}),_0x1b6229;}[_0x2bc049(0x1b9)](_0x451e0d,_0x610726){const _0x10d4e0=_0x2bc049,_0x1e3300=_0x451e0d&&_0x451e0d[_0x10d4e0(0x19c)];_0x1e3300&&(this[_0x10d4e0(0x183)](_0x1e3300,_0x10d4e0(0x17d),()=>this[_0x10d4e0(0x176)]=_0x610726),this[_0x10d4e0(0x183)](_0x1e3300,_0x10d4e0(0x182),()=>this[_0x10d4e0(0x176)]=_0x610726),this[_0x10d4e0(0x183)](_0x1e3300,_0x10d4e0(0x15e),()=>this[_0x10d4e0(0x176)]=null),this[_0x10d4e0(0x183)](_0x1e3300,_0x10d4e0(0x1d1),()=>this[_0x10d4e0(0x176)]=null));}[_0x2bc049(0x1a2)](){const _0x18fd10=_0x2bc049,_0x358055=super[_0x18fd10(0x1a2)]();return _0x358055[_0x18fd10(0x191)](_0x18fd10(0x1c9))['to'](this),_0x358055;}[_0x2bc049(0x1d2)](){const _0x21eb51=_0x2bc049;super[_0x21eb51(0x1d2)](),this[_0x21eb51(0x1b9)](this[_0x21eb51(0x198)],_0x21eb51(0x1c0)),this[_0x21eb51(0x1b9)](this[_0x21eb51(0x162)],_0x21eb51(0x160));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x45d63a=_0x3ee1;(function(_0x61d3da,_0x17b1cb){var _0x1f1e6b=_0x3ee1,_0x4ac95a=_0x61d3da();while(!![]){try{var _0x30d6f1=parseInt(_0x1f1e6b(0xe3))/0x1*(parseInt(_0x1f1e6b(0xd4))/0x2)+-parseInt(_0x1f1e6b(0xd8))/0x3*(parseInt(_0x1f1e6b(0xe2))/0x4)+-parseInt(_0x1f1e6b(0xd2))/0x5*(parseInt(_0x1f1e6b(0xd3))/0x6)+-parseInt(_0x1f1e6b(0xdd))/0x7*(parseInt(_0x1f1e6b(0xd6))/0x8)+-parseInt(_0x1f1e6b(0xdf))/0x9*(-parseInt(_0x1f1e6b(0xde))/0xa)+parseInt(_0x1f1e6b(0xe4))/0xb*(parseInt(_0x1f1e6b(0xdb))/0xc)+parseInt(_0x1f1e6b(0xda))/0xd*(parseInt(_0x1f1e6b(0xdc))/0xe);if(_0x30d6f1===_0x17b1cb)break;else _0x4ac95a['push'](_0x4ac95a['shift']());}catch(_0x5e1d0a){_0x4ac95a['push'](_0x4ac95a['shift']());}}}(_0x49e2,0x7498a));function _0x49e2(){var _0x41792=['7159352tjRFfI','isPremiumPlugin','108TJukqs','isOfficialPlugin','839397MSjsrA','7951224GhzETB','336IYgCGV','7RYmDTf','281260gRJQnZ','261cEJazD','requires','Comments','92168nQCGmD','60ieFmiq','11IjvkJj','1345AodNdr','19242SRANWu','1226Xqzwwg','pluginName'];_0x49e2=function(){return _0x41792;};return _0x49e2();}import{Plugin as _0x5cc3fc}from'ckeditor5/src/core.js';import{CommentsRepository as _0x4d4e39}from'./comments/commentsrepository.js';function _0x3ee1(_0xdc0f00,_0x189bde){var _0x49e2e0=_0x49e2();return _0x3ee1=function(_0x3ee107,_0x16ce79){_0x3ee107=_0x3ee107-0xd2;var _0x533a26=_0x49e2e0[_0x3ee107];return _0x533a26;},_0x3ee1(_0xdc0f00,_0x189bde);}import{CommentsEditing as _0x4cfeb9}from'./comments/commentsediting.js';import{CommentsUI as _0x3d474a}from'./comments/commentsui.js';import{CommentsOnly as _0x285f22}from'./commentsonly.js';import{WideSidebar as _0x540ffc}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x2da9fe}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x2ae0d5}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x1a659e}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x2cd86b}from'./comments/commentsarchive.js';export class Comments extends _0x5cc3fc{static get[_0x45d63a(0xe0)](){return[_0x4d4e39,_0x4cfeb9,_0x3d474a,_0x2cd86b,_0x1a659e,_0x285f22,_0x540ffc,_0x2da9fe,_0x2ae0d5];}static get[_0x45d63a(0xd5)](){var _0x125751=_0x45d63a;return _0x125751(0xe1);}static get[_0x45d63a(0xd9)](){return!0x0;}static get[_0x45d63a(0xd7)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2070bc=_0xa60b;function _0xa60b(_0x430379,_0x2b2bf5){const _0x56a867=_0x56a8();return _0xa60b=function(_0xa60b8a,_0x422a39){_0xa60b8a=_0xa60b8a-0x188;let _0x2459b7=_0x56a867[_0xa60b8a];return _0x2459b7;},_0xa60b(_0x430379,_0x2b2bf5);}(function(_0x2e69b8,_0x15f356){const _0x111374=_0xa60b,_0x29e97d=_0x2e69b8();while(!![]){try{const _0x1e88d3=-parseInt(_0x111374(0x18a))/0x1+parseInt(_0x111374(0x1b3))/0x2*(parseInt(_0x111374(0x1b7))/0x3)+-parseInt(_0x111374(0x1b0))/0x4+parseInt(_0x111374(0x198))/0x5*(parseInt(_0x111374(0x1b6))/0x6)+-parseInt(_0x111374(0x196))/0x7*(-parseInt(_0x111374(0x19c))/0x8)+-parseInt(_0x111374(0x1ad))/0x9*(-parseInt(_0x111374(0x18b))/0xa)+-parseInt(_0x111374(0x1b4))/0xb;if(_0x1e88d3===_0x15f356)break;else _0x29e97d['push'](_0x29e97d['shift']());}catch(_0x574693){_0x29e97d['push'](_0x29e97d['shift']());}}}(_0x56a8,0x25ee7));import{Plugin as _0x3501af}from'ckeditor5/src/core.js';import{CommentsEditing as _0x1a36b4}from'./comments/commentsediting.js';function _0x56a8(){const _0x5d8a3f=['286002nSNZRk','3CRQAoS','_enableCommentsOnlyMode','clearForceDisabled','97095yogEwV','293110RgyYsz','editSource','commands','SourceEditing','commentsOnly','change:isEnabled','delete','CommentsOnly','config','commentsOnlyMode','listenTo','7liRvAO','afterInit','5UiDknk','isPremiumPlugin','stop','pluginName','2398184Gxrrkz','clipboardInput','view','get','requires','_disableCommentsOnlyMode','editor','plugins','highest','document','RevisionTracker','isEnabled','has','affectsData','set','addCommentThread','DragDrop','45QViOSC','cut','isOfficialPlugin','825696WpiRFQ','stopListening','forceDisabled','154334IsGoYb','1235036PRDSBU','editing'];_0x56a8=function(){return _0x5d8a3f;};return _0x56a8();}export class CommentsOnly extends _0x3501af{static get[_0x2070bc(0x19b)](){const _0x4b13f9=_0x2070bc;return _0x4b13f9(0x192);}static get[_0x2070bc(0x1af)](){return!0x0;}static get[_0x2070bc(0x199)](){return!0x0;}static get[_0x2070bc(0x1a0)](){return[_0x1a36b4];}constructor(_0x3ec5b3){const _0x4a16c1=_0x2070bc;super(_0x3ec5b3),this[_0x4a16c1(0x1aa)](_0x4a16c1(0x1a7),!0x1),this['on'](_0x4a16c1(0x190),(_0x2f38af,_0x433e72,_0x487c1f)=>{const _0x549692=_0x4a16c1;_0x487c1f?this[_0x549692(0x188)]():this[_0x549692(0x1a1)]();});}[_0x2070bc(0x197)](){const _0x36b09d=_0x2070bc;!this[_0x36b09d(0x1a7)]&&this[_0x36b09d(0x1a2)][_0x36b09d(0x193)][_0x36b09d(0x19f)](_0x36b09d(0x18f))&&(this[_0x36b09d(0x1a7)]=!0x0);}[_0x2070bc(0x188)](){const _0x35935a=_0x2070bc;for(const [_0x128570,_0x62a760]of this[_0x35935a(0x1a2)][_0x35935a(0x18d)])_0x62a760[_0x35935a(0x1a9)]&&_0x35935a(0x1ab)!==_0x128570&&_0x62a760[_0x35935a(0x1b2)](_0x35935a(0x194));(this[_0x35935a(0x1a2)][_0x35935a(0x1a3)][_0x35935a(0x1a8)](_0x35935a(0x1ac))&&this[_0x35935a(0x1a2)][_0x35935a(0x1a3)][_0x35935a(0x19f)](_0x35935a(0x1ac))[_0x35935a(0x1b2)](_0x35935a(0x194)),this[_0x35935a(0x1a2)][_0x35935a(0x1a3)][_0x35935a(0x1a8)](_0x35935a(0x1a6)))&&this[_0x35935a(0x1a2)][_0x35935a(0x1a3)][_0x35935a(0x19f)](_0x35935a(0x1a6))[_0x35935a(0x1b2)](_0x35935a(0x194));this[_0x35935a(0x1a2)][_0x35935a(0x1a3)][_0x35935a(0x1a8)](_0x35935a(0x18e))&&this[_0x35935a(0x1a2)][_0x35935a(0x1a3)][_0x35935a(0x19f)](_0x35935a(0x18e))[_0x35935a(0x1b2)](_0x35935a(0x194));this[_0x35935a(0x1a2)][_0x35935a(0x18d)][_0x35935a(0x19f)](_0x35935a(0x18c))?.[_0x35935a(0x1b2)](_0x35935a(0x194));const _0x47727a=this[_0x35935a(0x1a2)][_0x35935a(0x1b5)][_0x35935a(0x19e)][_0x35935a(0x1a5)];this[_0x35935a(0x195)](_0x47727a,_0x35935a(0x1ae),_0x529602=>_0x529602[_0x35935a(0x19a)](),{'priority':_0x35935a(0x1a4)}),this[_0x35935a(0x195)](_0x47727a,_0x35935a(0x19d),_0x442303=>_0x442303[_0x35935a(0x19a)](),{'priority':_0x35935a(0x1a4)}),this[_0x35935a(0x195)](_0x47727a,_0x35935a(0x191),_0x21e81a=>_0x21e81a[_0x35935a(0x19a)](),{'priority':_0x35935a(0x1a4)});}[_0x2070bc(0x1a1)](){const _0x1d5f91=_0x2070bc;for(const [_0x329edc,_0x198a0f]of this[_0x1d5f91(0x1a2)][_0x1d5f91(0x18d)])_0x198a0f[_0x1d5f91(0x1a9)]&&_0x1d5f91(0x1ab)!==_0x329edc&&_0x198a0f[_0x1d5f91(0x189)](_0x1d5f91(0x194));this[_0x1d5f91(0x1a2)][_0x1d5f91(0x1a3)][_0x1d5f91(0x1a8)](_0x1d5f91(0x1a6))&&this[_0x1d5f91(0x1a2)][_0x1d5f91(0x1a3)][_0x1d5f91(0x19f)](_0x1d5f91(0x1a6))[_0x1d5f91(0x189)](_0x1d5f91(0x194)),this[_0x1d5f91(0x1a2)][_0x1d5f91(0x1a3)][_0x1d5f91(0x1a8)](_0x1d5f91(0x18e))&&this[_0x1d5f91(0x1a2)][_0x1d5f91(0x1a3)][_0x1d5f91(0x19f)](_0x1d5f91(0x18e))[_0x1d5f91(0x189)](_0x1d5f91(0x194)),this[_0x1d5f91(0x1a2)][_0x1d5f91(0x18d)][_0x1d5f91(0x19f)](_0x1d5f91(0x18c))?.[_0x1d5f91(0x189)](_0x1d5f91(0x194)),this[_0x1d5f91(0x1b1)](this[_0x1d5f91(0x1a2)][_0x1d5f91(0x1b5)][_0x1d5f91(0x19e)][_0x1d5f91(0x1a5)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x403b5c,_0x4242ee){var _0x2740c6=_0x2d22,_0x97d54b=_0x403b5c();while(!![]){try{var _0x3262e0=parseInt(_0x2740c6(0x173))/0x1+parseInt(_0x2740c6(0x176))/0x2*(-parseInt(_0x2740c6(0x16e))/0x3)+-parseInt(_0x2740c6(0x172))/0x4*(parseInt(_0x2740c6(0x171))/0x5)+parseInt(_0x2740c6(0x177))/0x6+parseInt(_0x2740c6(0x175))/0x7*(parseInt(_0x2740c6(0x170))/0x8)+-parseInt(_0x2740c6(0x174))/0x9+parseInt(_0x2740c6(0x16f))/0xa;if(_0x3262e0===_0x4242ee)break;else _0x97d54b['push'](_0x97d54b['shift']());}catch(_0xecf93e){_0x97d54b['push'](_0x97d54b['shift']());}}}(_0x50e8,0x87577));export{Comments}from'./comments.js';export{CommentsOnly}from'./commentsonly.js';export{CommentsUI}from'./comments/commentsui.js';export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{Annotation}from'./annotations/annotation.js';export{Annotations}from'./annotations/annotations.js';export{AnnotationCollection,bindAnnotationCollections}from'./annotations/annotationcollection.js';export{AnnotationsUIs}from'./annotations/annotationsuis.js';export{EditorAnnotations}from'./annotations/editorannotations.js';export{InlineAnnotations}from'./annotations/inlineannotations.js';export{Sidebar}from'./annotations/sidebar.js';export{WideSidebar}from'./annotations/widesidebar.js';export{NarrowSidebar}from'./annotations/narrowsidebar.js';function _0x50e8(){var _0x3fb175=['1615294jBZJXD','894078TcJYOI','3omlnbO','12908480MnfGPw','96ApcgrW','1222985dzLgbG','4fwmutj','86867xAPMjN','4044465WbwOyW','308735ealBfC'];_0x50e8=function(){return _0x3fb175;};return _0x50e8();}export{AnnotationView}from'./annotations/view/annotationview.js';export{AnnotationsSidebarItemView}from'./annotations/view/sidebaritemview.js';export{AnnotationsSidebarView}from'./annotations/view/sidebarview.js';export{BaseCommentView}from'./comments/ui/view/basecommentview.js';export{BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{CommentsListView}from'./comments/ui/view/commentslistview.js';export{CommentView}from'./comments/ui/view/commentview.js';export{CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{AddCommentThreadCommand}from'./comments/addcommentthreadcommand.js';export{CommentsArchive}from'./comments/commentsarchive.js';function _0x2d22(_0x31bd98,_0x2a09a5){var _0x50e880=_0x50e8();return _0x2d22=function(_0x2d2215,_0x14c96d){_0x2d2215=_0x2d2215-0x16e;var _0x56e954=_0x50e880[_0x2d2215];return _0x56e954;},_0x2d22(_0x31bd98,_0x2a09a5);}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(_0x169e77,_0x4146d9,_0x53bbf1){const t=_0x169e77['t'];switch(_0x4146d9){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'},_0x53bbf1);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'},_0x53bbf1);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'},_0x53bbf1);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'},_0x53bbf1);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x53bbf1);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'},_0x53bbf1);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'},_0x53bbf1);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'},_0x53bbf1);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(_0x190b60,_0x153d61){const _0x4e4ebf=_0x3e71,_0x4831ca=_0x190b60();while(!![]){try{const _0x2b8415=parseInt(_0x4e4ebf(0x1f1))/0x1*(-parseInt(_0x4e4ebf(0x1ee))/0x2)+parseInt(_0x4e4ebf(0x1e4))/0x3*(-parseInt(_0x4e4ebf(0x1f2))/0x4)+parseInt(_0x4e4ebf(0x1e2))/0x5+parseInt(_0x4e4ebf(0x1e3))/0x6+-parseInt(_0x4e4ebf(0x1e5))/0x7+parseInt(_0x4e4ebf(0x1df))/0x8*(parseInt(_0x4e4ebf(0x1ef))/0x9)+parseInt(_0x4e4ebf(0x1ec))/0xa*(-parseInt(_0x4e4ebf(0x1e0))/0xb);if(_0x2b8415===_0x153d61)break;else _0x4831ca['push'](_0x4831ca['shift']());}catch(_0x214303){_0x4831ca['push'](_0x4831ca['shift']());}}}(_0x1c59,0xb763e));function _0x1c59(){const _0x27262f=['7769490zhAEoz','3RbmVMa','1473976sPTZsh','disconnect','attributes','attributeName','childList','class','characterData','10hNgYBp','observe','12100vxiabf','207JkTMCc','cancel','190YuuDVA','1643812AUulgt','392448sDGtPe','7426221AsmvLL','type','3870475rWJCoa'];_0x1c59=function(){return _0x27262f;};return _0x1c59();}function _0x3e71(_0x222d93,_0x2b20a6){const _0x1c5982=_0x1c59();return _0x3e71=function(_0x3e7175,_0x6c8b3a){_0x3e7175=_0x3e7175-0x1df;let _0x30d4a9=_0x1c5982[_0x3e7175];return _0x30d4a9;},_0x3e71(_0x222d93,_0x2b20a6);}import{throttle as _0x27a6aa}from'es-toolkit/compat';export function createMutationObserver(_0x376c8a){const _0x2818f2=_0x27a6aa(_0x376c8a,0x1e),_0x26081b=new MutationObserver(_0xb699bc=>{const _0x349949=_0x3e71;for(const _0x1ddfbd of _0xb699bc)(_0x349949(0x1e7)==_0x1ddfbd[_0x349949(0x1e1)]&&_0x349949(0x1ea)==_0x1ddfbd[_0x349949(0x1e8)]||_0x349949(0x1e9)==_0x1ddfbd[_0x349949(0x1e1)]||_0x349949(0x1eb)==_0x1ddfbd[_0x349949(0x1e1)])&&_0x2818f2();});return{'attach'(_0x436171){const _0x55f5b9=_0x3e71;_0x26081b[_0x55f5b9(0x1ed)](_0x436171,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x379ec5=_0x3e71;_0x26081b[_0x379ec5(0x1e6)](),_0x2818f2[_0x379ec5(0x1f0)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x384304,_0x16a20b){const _0x3fdfe1=_0x4b84,_0x14de46=_0x384304();while(!![]){try{const _0x369f90=-parseInt(_0x3fdfe1(0xd1))/0x1*(parseInt(_0x3fdfe1(0xcc))/0x2)+parseInt(_0x3fdfe1(0xd9))/0x3*(-parseInt(_0x3fdfe1(0xd6))/0x4)+parseInt(_0x3fdfe1(0xd5))/0x5*(parseInt(_0x3fdfe1(0xd4))/0x6)+-parseInt(_0x3fdfe1(0xd2))/0x7*(-parseInt(_0x3fdfe1(0xcd))/0x8)+parseInt(_0x3fdfe1(0xce))/0x9*(-parseInt(_0x3fdfe1(0xd3))/0xa)+-parseInt(_0x3fdfe1(0xcf))/0xb+parseInt(_0x3fdfe1(0xd7))/0xc*(parseInt(_0x3fdfe1(0xd8))/0xd);if(_0x369f90===_0x16a20b)break;else _0x14de46['push'](_0x14de46['shift']());}catch(_0x199e44){_0x14de46['push'](_0x14de46['shift']());}}}(_0x45d3,0x9459c));export function splitMarkerName(_0x293913){const _0x5f5740=_0x4b84,_0x4a97e3=_0x293913[_0x5f5740(0xd0)](':');return{'group':_0x4a97e3[0x0],'id':_0x4a97e3[0x1],'part':_0x4a97e3[0x2]};}function _0x4b84(_0x567382,_0x2f8da8){const _0x45d3e2=_0x45d3();return _0x4b84=function(_0x4b8438,_0x17fb25){_0x4b8438=_0x4b8438-0xcc;let _0x3c3e38=_0x45d3e2[_0x4b8438];return _0x3c3e38;},_0x4b84(_0x567382,_0x2f8da8);}function _0x45d3(){const _0x1dabdc=['25074101VZOgcL','125787uDcNsi','9736XDXSQM','494656cxPvYi','567xjXZBp','6505532XOlqep','split','128dsyUES','133MncAdV','167370eHZJGD','156150MmutbL','45osByjf','44bNCwKn','12tVupEh'];_0x45d3=function(){return _0x1dabdc;};return _0x45d3();}
|