@ckeditor/ckeditor5-comments 46.0.1-alpha.1 → 46.0.1-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x8d95(){const _0x34751d=['visibleViews','setTemplate','authoredAt','render','896hjxzQW','Thread\x20comments','from','element','add','removed','32586IXAtqG','reverse','editorReady','change:isActive','resolveCommentThread','viewUid','change:isResolved','focusFirst','bindTemplate','_model','focus','focusLast','_rearrangeCollapse','_shouldCollapse','change:isEditMode','9103120lfmTMR','destroy','editorDestroyed','expand','_config','Marked\x20as\x20resolved','map','length','createCollection','_rearrangeExpand','_calculatePosition','resolvedAt','_handleInfoComment','change:hasDirtyComment','maxThreadTotalWeight','1425972HFMfqO','refreshVisibleViews','_updateHasDirtyComment','arrowup','925204hiCNJX','equal','forEach','weight','count','arrowdown','_setupKeyboardNavigation','ck-hidden','isActive','listenTo','commentUpdated','added','keystrokes','isEditMode','locale','focusTracker','480951jEDnmp','resolvedCommentView','formatDateTime','25679286RVjwKV','maxCommentsWhenCollapsed','_handleRemoveCommentModel','CommentView','updateComment','get','hasDirtyComment','419470TQYxFp','stopListening','collapse','insert','maxCommentCharsWhenCollapsed','resolvedBy','bind','resolved','target','change','set','16ESqIlk','removeComment','comments','commentViews','focusCycler','ck-thread__comments','_findOptimalIndex','_collapsedCommentsView','includes','delegate','_handleNewCommentModel','delete','remove','some','editorConfig'];_0x8d95=function(){return _0x34751d;};return _0x8d95();}const _0x8590bb=_0x20e1;(function(_0x32d38f,_0x161f8c){const _0x5aa812=_0x20e1,_0x3f08bc=_0x32d38f();while(!![]){try{const _0x4fd436=-parseInt(_0x5aa812(0x11a))/0x1+parseInt(_0x5aa812(0x116))/0x2+parseInt(_0x5aa812(0x12a))/0x3+parseInt(_0x5aa812(0x13f))/0x4*(-parseInt(_0x5aa812(0x134))/0x5)+parseInt(_0x5aa812(0x158))/0x6*(-parseInt(_0x5aa812(0x152))/0x7)+-parseInt(_0x5aa812(0x167))/0x8+parseInt(_0x5aa812(0x12d))/0x9;if(_0x4fd436===_0x161f8c)break;else _0x3f08bc['push'](_0x3f08bc['shift']());}catch(_0x494648){_0x3f08bc['push'](_0x3f08bc['shift']());}}}(_0x8d95,0x9a78f));import{View as _0x197337,FocusCycler as _0x4e1f6f}from'ckeditor5/src/ui.js';function _0x20e1(_0x3b37a6,_0x5123e6){const _0x8d95df=_0x8d95();return _0x20e1=function(_0x20e1a8,_0x1ff0f2){_0x20e1a8=_0x20e1a8-0x108;let _0x37371e=_0x8d95df[_0x20e1a8];return _0x37371e;},_0x20e1(_0x3b37a6,_0x5123e6);}import{diff as _0x222110,Collection as _0x5e881f,FocusTracker as _0x25808b,KeystrokeHandler as _0x3c5f9a}from'ckeditor5/src/utils.js';import{getTranslation as _0x2f2cc5}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x2d549f}from'./collapsedcommentsview.js';export class CommentsListView extends _0x197337{[_0x8590bb(0x142)];[_0x8590bb(0x12b)];[_0x8590bb(0x129)];[_0x8590bb(0x126)];[_0x8590bb(0x143)];[_0x8590bb(0x161)];[_0x8590bb(0x10b)];[_0x8590bb(0x146)];constructor(_0x3cd631,_0x4fc75d,_0x1fdbd5){const _0x24c585=_0x8590bb;super(_0x3cd631);const _0x9fc8e8=this[_0x24c585(0x160)];this[_0x24c585(0x13e)](_0x24c585(0x133),!0x1),this[_0x24c585(0x13e)](_0x24c585(0x10e),_0x4fc75d[_0x24c585(0x141)][_0x24c585(0x10e)]),this[_0x24c585(0x13e)](_0x24c585(0x122),!0x1),this[_0x24c585(0x161)]=_0x4fc75d,this[_0x24c585(0x10b)]=_0x1fdbd5,this[_0x24c585(0x142)]=this[_0x24c585(0x10f)](),this[_0x24c585(0x14e)]=this[_0x24c585(0x10f)](),this[_0x24c585(0x12b)]=null,this[_0x24c585(0x129)]=new _0x25808b(),this[_0x24c585(0x126)]=new _0x3c5f9a(),this[_0x24c585(0x143)]=new _0x4e1f6f({'focusables':this[_0x24c585(0x142)],'focusTracker':this[_0x24c585(0x129)],'keystrokeHandler':this[_0x24c585(0x126)],'keystrokeHandlerOptions':{'filter':_0x419a98=>this[_0x24c585(0x142)][_0x24c585(0x10d)](_0x200e6c=>_0x200e6c[_0x24c585(0x155)])[_0x24c585(0x147)](_0x419a98[_0x24c585(0x13c)])},'actions':{'focusPrevious':_0x24c585(0x119),'focusNext':_0x24c585(0x11f)}}),this[_0x24c585(0x146)]=new _0x2d549f(_0x3cd631),this[_0x24c585(0x146)][_0x24c585(0x13a)](_0x24c585(0x11e))['to'](this,_0x24c585(0x10e),_0x40d0a9=>_0x40d0a9-this[_0x24c585(0x10b)][_0x24c585(0x12e)]);for(const _0x511341 of _0x4fc75d[_0x24c585(0x141)])this[_0x24c585(0x149)](_0x511341);this[_0x24c585(0x113)](),this[_0x24c585(0x123)](_0x4fc75d[_0x24c585(0x141)],_0x24c585(0x156),(_0x5624ab,_0x41c2dc)=>{const _0x105508=_0x24c585,_0x436b40=this[_0x105508(0x111)](_0x41c2dc);this[_0x105508(0x10e)]++,this[_0x105508(0x149)](_0x41c2dc,_0x436b40),this[_0x105508(0x117)]();}),this[_0x24c585(0x123)](_0x4fc75d[_0x24c585(0x141)],_0x24c585(0x14b),(_0x45fd71,_0x47b158)=>{const _0x24a97f=_0x24c585;this[_0x24a97f(0x10e)]--,this[_0x24a97f(0x12f)](_0x47b158),this[_0x24a97f(0x117)]();}),this[_0x24c585(0x123)](_0x4fc75d,_0x24c585(0x124),()=>this[_0x24c585(0x117)]()),this[_0x24c585(0x123)](_0x4fc75d,_0x24c585(0x15e),()=>this[_0x24c585(0x113)]()),this['on'](_0x24c585(0x15b),()=>this[_0x24c585(0x117)]()),this['on'](_0x24c585(0x114),()=>this[_0x24c585(0x117)]()),this[_0x24c585(0x14f)]({'tag':'ul','attributes':{'class':[_0x24c585(0x144),_0x9fc8e8['if'](_0x24c585(0x10e),_0x24c585(0x121),_0x5cb73d=>!_0x5cb73d)],'aria-label':_0x2f2cc5(_0x3cd631,_0x24c585(0x153))},'children':this[_0x24c585(0x14e)]});}get[_0x8590bb(0x165)](){const _0x461356=_0x8590bb;return this[_0x461356(0x161)][_0x461356(0x11d)]>this[_0x461356(0x10b)][_0x461356(0x115)]&&!this[_0x461356(0x122)]&&!this[_0x461356(0x133)];}[_0x8590bb(0x151)](){const _0xaa47e=_0x8590bb;super[_0xaa47e(0x151)](),this[_0xaa47e(0x117)](),this[_0xaa47e(0x120)]();}[_0x8590bb(0x162)](_0x36ae72){const _0x2517d3=_0x8590bb;-0x1===_0x36ae72?this[_0x2517d3(0x143)][_0x2517d3(0x163)]():this[_0x2517d3(0x143)][_0x2517d3(0x15f)]();}[_0x8590bb(0x108)](){const _0x16fc59=_0x8590bb;this[_0x16fc59(0x146)][_0x16fc59(0x108)]();for(const _0x440fe0 of this[_0x16fc59(0x142)])_0x440fe0[_0x16fc59(0x108)]();super[_0x16fc59(0x108)]();}[_0x8590bb(0x117)](){const _0x2d0621=_0x8590bb;this[_0x2d0621(0x165)]?this[_0x2d0621(0x164)]():this[_0x2d0621(0x110)]();}[_0x8590bb(0x149)](_0x123d4b,_0x51ccca){const _0x26c3b8=_0x8590bb,_0x2f2ef7=new this[(_0x26c3b8(0x10b))][(_0x26c3b8(0x130))](this[_0x26c3b8(0x128)],_0x123d4b,{'maxCommentCharsWhenCollapsed':this[_0x26c3b8(0x10b)][_0x26c3b8(0x138)],'formatDateTime':this[_0x26c3b8(0x10b)][_0x26c3b8(0x12c)],'editorConfig':this[_0x26c3b8(0x10b)][_0x26c3b8(0x14d)]});_0x2f2ef7[_0x26c3b8(0x15d)]=_0x123d4b['id'],_0x2f2ef7[_0x26c3b8(0x148)](_0x26c3b8(0x140))['to'](this),_0x2f2ef7[_0x26c3b8(0x148)](_0x26c3b8(0x131))['to'](this),_0x2f2ef7[_0x26c3b8(0x148)](_0x26c3b8(0x15c))['to'](this),_0x2f2ef7[_0x26c3b8(0x148)](_0x26c3b8(0x15a))['to'](this),_0x2f2ef7[_0x26c3b8(0x148)](_0x26c3b8(0x109))['to'](this),this[_0x26c3b8(0x123)](_0x2f2ef7,_0x26c3b8(0x166),()=>this[_0x26c3b8(0x118)]()),this[_0x26c3b8(0x142)][_0x26c3b8(0x156)](_0x2f2ef7,_0x51ccca);}[_0x8590bb(0x111)](_0x283511){const _0x35b331=_0x8590bb,_0x3ca067=this[_0x35b331(0x161)][_0x35b331(0x145)](_0x283511);return this[_0x35b331(0x12b)]?this[_0x35b331(0x12b)][_0x35b331(0x150)]>_0x283511[_0x35b331(0x150)]?_0x3ca067-0x1:_0x3ca067:_0x3ca067-0x1;}[_0x8590bb(0x113)](){const _0x5bdbf4=_0x8590bb;if(this[_0x5bdbf4(0x161)][_0x5bdbf4(0x139)]&&this[_0x5bdbf4(0x161)][_0x5bdbf4(0x112)]){const _0x4f8bb0={'id':_0x5bdbf4(0x13b),'author':this[_0x5bdbf4(0x161)][_0x5bdbf4(0x139)],'authoredAt':this[_0x5bdbf4(0x161)][_0x5bdbf4(0x112)],'content':_0x2f2cc5(this[_0x5bdbf4(0x128)],_0x5bdbf4(0x10c)),'attributes':{}};this[_0x5bdbf4(0x12b)]=new this[(_0x5bdbf4(0x10b))][(_0x5bdbf4(0x130))](this[_0x5bdbf4(0x128)],_0x4f8bb0,{'maxCommentCharsWhenCollapsed':this[_0x5bdbf4(0x10b)][_0x5bdbf4(0x138)],'formatDateTime':this[_0x5bdbf4(0x10b)][_0x5bdbf4(0x12c)],'editorConfig':this[_0x5bdbf4(0x10b)][_0x5bdbf4(0x14d)],'isSystemComment':!0x0}),this[_0x5bdbf4(0x142)][_0x5bdbf4(0x156)](this[_0x5bdbf4(0x12b)],this[_0x5bdbf4(0x161)][_0x5bdbf4(0x145)](_0x4f8bb0));}else this[_0x5bdbf4(0x12b)]&&(this[_0x5bdbf4(0x142)][_0x5bdbf4(0x14b)](this[_0x5bdbf4(0x12b)]),this[_0x5bdbf4(0x12b)][_0x5bdbf4(0x108)](),this[_0x5bdbf4(0x12b)]=null);this[_0x5bdbf4(0x117)]();}[_0x8590bb(0x12f)](_0x36a46e){const _0x494dcd=_0x8590bb,_0x1d5487=this[_0x494dcd(0x142)][_0x494dcd(0x14b)](_0x36a46e['id']);this[_0x494dcd(0x135)](_0x1d5487),_0x1d5487[_0x494dcd(0x127)]&&this[_0x494dcd(0x118)](),_0x1d5487[_0x494dcd(0x108)]();}[_0x8590bb(0x118)](){const _0x210a09=_0x8590bb;this[_0x210a09(0x133)]=Array[_0x210a09(0x154)](this[_0x210a09(0x142)])[_0x210a09(0x14c)](_0x536bc7=>_0x536bc7[_0x210a09(0x127)]);}[_0x8590bb(0x164)](){const _0x3bd7ff=_0x8590bb,_0x3920ec=function(_0x489825){const _0x7ff94e=_0x20e1,_0xd7c3bb=new _0x5e881f();for(const _0x4264a5 of _0x489825)_0xd7c3bb[_0x7ff94e(0x156)](_0x4264a5);return _0xd7c3bb;}(this[_0x3bd7ff(0x142)]),_0x3b65df=this[_0x3bd7ff(0x146)][_0x3bd7ff(0x11e)];for(let _0x21155f=0x1;_0x21155f<=_0x3b65df;_0x21155f++)_0x3920ec[_0x3bd7ff(0x14b)](0x1);for(const _0x91f110 of _0x3920ec)_0x91f110[_0x3bd7ff(0x136)]();_0x3b65df>0x0&&_0x3920ec[_0x3bd7ff(0x156)](this[_0x3bd7ff(0x146)],0x1),ns(_0x222110(Array[_0x3bd7ff(0x154)](this[_0x3bd7ff(0x14e)]),Array[_0x3bd7ff(0x154)](_0x3920ec)),this[_0x3bd7ff(0x14e)],_0x3920ec);}[_0x8590bb(0x110)](){const _0x397a21=_0x8590bb;ns(_0x222110(Array[_0x397a21(0x154)](this[_0x397a21(0x14e)]),Array[_0x397a21(0x154)](this[_0x397a21(0x142)])),this[_0x397a21(0x14e)],this[_0x397a21(0x142)]);for(const _0x5dfa88 of this[_0x397a21(0x14e)])_0x5dfa88[_0x397a21(0x10a)]();}[_0x8590bb(0x120)](){const _0x31ccbf=_0x8590bb;this[_0x31ccbf(0x142)][_0x31ccbf(0x11c)](_0x2924cb=>{const _0x3dbf44=_0x31ccbf;this[_0x3dbf44(0x129)][_0x3dbf44(0x156)](_0x2924cb[_0x3dbf44(0x155)]),this[_0x3dbf44(0x126)][_0x3dbf44(0x123)](_0x2924cb[_0x3dbf44(0x155)]);}),this[_0x31ccbf(0x142)]['on'](_0x31ccbf(0x13d),(_0x54cd59,_0x30717f)=>{const _0x485c2a=_0x31ccbf;for(const _0x4a87c4 of _0x30717f[_0x485c2a(0x157)])this[_0x485c2a(0x129)][_0x485c2a(0x14b)](_0x4a87c4[_0x485c2a(0x155)]),this[_0x485c2a(0x126)][_0x485c2a(0x135)](_0x4a87c4[_0x485c2a(0x155)]);for(const _0x2f3ef4 of Array[_0x485c2a(0x154)](_0x30717f[_0x485c2a(0x125)])[_0x485c2a(0x159)]())this[_0x485c2a(0x129)][_0x485c2a(0x156)](_0x2f3ef4[_0x485c2a(0x155)]),this[_0x485c2a(0x126)][_0x485c2a(0x123)](_0x2f3ef4[_0x485c2a(0x155)]);});}}function ns(_0x28e0cb,_0x590cf8,_0x3d84bf){const _0x1bd544=_0x8590bb;let _0x2371a3=0x0;for(const _0x12f7d7 of _0x28e0cb)switch(_0x12f7d7){case _0x1bd544(0x137):_0x590cf8[_0x1bd544(0x156)](_0x3d84bf[_0x1bd544(0x132)](_0x2371a3),_0x2371a3),_0x2371a3++;break;case _0x1bd544(0x14a):_0x590cf8[_0x1bd544(0x14b)](_0x2371a3);break;case _0x1bd544(0x11b):_0x2371a3++;}}
|
|
23
|
+
const _0x33075e=_0x5094;function _0x1cef(){const _0x36d1f7=['hasDirtyComment','focusTracker','resolveCommentThread','remove','keystrokes','add','collapse','target','expand','updateComment','change:isResolved','_findOptimalIndex','1805VpboXf','change:isActive','Marked\x20as\x20resolved','editorReady','locale','comments','added','editorConfig','count','includes','_config','isActive','destroy','weight','insert','map','render','resolvedCommentView','createCollection','516294zvotsW','focusCycler','equal','get','viewUid','isEditMode','set','change','resolvedAt','removeComment','change:isEditMode','bind','focusLast','bindTemplate','from','arrowup','resolved','ck-thread__comments','_rearrangeCollapse','focusFirst','6089260ULXtaU','_model','reverse','commentViews','_shouldCollapse','_setupKeyboardNavigation','visibleViews','change:hasDirtyComment','_calculatePosition','_updateHasDirtyComment','delete','11002760JLiqZe','delegate','_handleNewCommentModel','removed','element','editorDestroyed','9233126QVBjym','resolvedBy','stopListening','_handleInfoComment','1268QxoNCP','Thread\x20comments','4470216BmiRbf','ck-hidden','_rearrangeExpand','some','maxThreadTotalWeight','listenTo','maxCommentsWhenCollapsed','1190355iacQhS','length','refreshVisibleViews','setTemplate','arrowdown','authoredAt','focus','formatDateTime','forEach','maxCommentCharsWhenCollapsed','_handleRemoveCommentModel','CommentView','commentUpdated','_collapsedCommentsView'];_0x1cef=function(){return _0x36d1f7;};return _0x1cef();}(function(_0x5c41c0,_0x15d752){const _0x579be4=_0x5094,_0x215e84=_0x5c41c0();while(!![]){try{const _0x47b9dd=parseInt(_0x579be4(0x142))/0x1*(parseInt(_0x579be4(0x11f))/0x2)+parseInt(_0x579be4(0x155))/0x3+-parseInt(_0x579be4(0x169))/0x4+parseInt(_0x579be4(0x128))/0x5+parseInt(_0x579be4(0x121))/0x6+-parseInt(_0x579be4(0x11b))/0x7+parseInt(_0x579be4(0x115))/0x8;if(_0x47b9dd===_0x15d752)break;else _0x215e84['push'](_0x215e84['shift']());}catch(_0x1acd9c){_0x215e84['push'](_0x215e84['shift']());}}}(_0x1cef,0xcb833));import{View as _0x26920f,FocusCycler as _0x2c6458}from'ckeditor5/src/ui.js';import{diff as _0x3fefaa,Collection as _0x2f95df,FocusTracker as _0x94aadb,KeystrokeHandler as _0x4be7b3}from'ckeditor5/src/utils.js';function _0x5094(_0x32bb76,_0x5b6d68){const _0x1cefb0=_0x1cef();return _0x5094=function(_0x50949a,_0x35b751){_0x50949a=_0x50949a-0x10c;let _0x2dcce3=_0x1cefb0[_0x50949a];return _0x2dcce3;},_0x5094(_0x32bb76,_0x5b6d68);}import{getTranslation as _0x42dadc}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x3b1077}from'./collapsedcommentsview.js';export class CommentsListView extends _0x26920f{[_0x33075e(0x10d)];[_0x33075e(0x153)];[_0x33075e(0x137)];[_0x33075e(0x13a)];[_0x33075e(0x156)];[_0x33075e(0x16a)];[_0x33075e(0x14c)];[_0x33075e(0x135)];constructor(_0x4f719d,_0x5da064,_0x1e0031){const _0x1dea2b=_0x33075e;super(_0x4f719d);const _0x5c141a=this[_0x1dea2b(0x162)];this[_0x1dea2b(0x15b)](_0x1dea2b(0x136),!0x1),this[_0x1dea2b(0x15b)](_0x1dea2b(0x129),_0x5da064[_0x1dea2b(0x147)][_0x1dea2b(0x129)]),this[_0x1dea2b(0x15b)](_0x1dea2b(0x14d),!0x1),this[_0x1dea2b(0x16a)]=_0x5da064,this[_0x1dea2b(0x14c)]=_0x1e0031,this[_0x1dea2b(0x10d)]=this[_0x1dea2b(0x154)](),this[_0x1dea2b(0x110)]=this[_0x1dea2b(0x154)](),this[_0x1dea2b(0x153)]=null,this[_0x1dea2b(0x137)]=new _0x94aadb(),this[_0x1dea2b(0x13a)]=new _0x4be7b3(),this[_0x1dea2b(0x156)]=new _0x2c6458({'focusables':this[_0x1dea2b(0x10d)],'focusTracker':this[_0x1dea2b(0x137)],'keystrokeHandler':this[_0x1dea2b(0x13a)],'keystrokeHandlerOptions':{'filter':_0x4e6af9=>this[_0x1dea2b(0x10d)][_0x1dea2b(0x151)](_0x1c9240=>_0x1c9240[_0x1dea2b(0x119)])[_0x1dea2b(0x14b)](_0x4e6af9[_0x1dea2b(0x13d)])},'actions':{'focusPrevious':_0x1dea2b(0x164),'focusNext':_0x1dea2b(0x12c)}}),this[_0x1dea2b(0x135)]=new _0x3b1077(_0x4f719d),this[_0x1dea2b(0x135)][_0x1dea2b(0x160)](_0x1dea2b(0x14a))['to'](this,_0x1dea2b(0x129),_0x505581=>_0x505581-this[_0x1dea2b(0x14c)][_0x1dea2b(0x127)]);for(const _0x39d72c of _0x5da064[_0x1dea2b(0x147)])this[_0x1dea2b(0x117)](_0x39d72c);this[_0x1dea2b(0x11e)](),this[_0x1dea2b(0x126)](_0x5da064[_0x1dea2b(0x147)],_0x1dea2b(0x13b),(_0xa5a7c0,_0x771729)=>{const _0x5646a5=_0x1dea2b,_0x37b32c=this[_0x5646a5(0x112)](_0x771729);this[_0x5646a5(0x129)]++,this[_0x5646a5(0x117)](_0x771729,_0x37b32c),this[_0x5646a5(0x12a)]();}),this[_0x1dea2b(0x126)](_0x5da064[_0x1dea2b(0x147)],_0x1dea2b(0x139),(_0x1a20f4,_0x11074b)=>{const _0xa03fdb=_0x1dea2b;this[_0xa03fdb(0x129)]--,this[_0xa03fdb(0x132)](_0x11074b),this[_0xa03fdb(0x12a)]();}),this[_0x1dea2b(0x126)](_0x5da064,_0x1dea2b(0x134),()=>this[_0x1dea2b(0x12a)]()),this[_0x1dea2b(0x126)](_0x5da064,_0x1dea2b(0x140),()=>this[_0x1dea2b(0x11e)]()),this['on'](_0x1dea2b(0x143),()=>this[_0x1dea2b(0x12a)]()),this['on'](_0x1dea2b(0x111),()=>this[_0x1dea2b(0x12a)]()),this[_0x1dea2b(0x12b)]({'tag':'ul','attributes':{'class':[_0x1dea2b(0x166),_0x5c141a['if'](_0x1dea2b(0x129),_0x1dea2b(0x122),_0x2bda4c=>!_0x2bda4c)],'aria-label':_0x42dadc(_0x4f719d,_0x1dea2b(0x120))},'children':this[_0x1dea2b(0x110)]});}get[_0x33075e(0x10e)](){const _0xdc6a24=_0x33075e;return this[_0xdc6a24(0x16a)][_0xdc6a24(0x14f)]>this[_0xdc6a24(0x14c)][_0xdc6a24(0x125)]&&!this[_0xdc6a24(0x14d)]&&!this[_0xdc6a24(0x136)];}[_0x33075e(0x152)](){const _0x3cac5e=_0x33075e;super[_0x3cac5e(0x152)](),this[_0x3cac5e(0x12a)](),this[_0x3cac5e(0x10f)]();}[_0x33075e(0x12e)](_0x3a3d2f){const _0xfa0723=_0x33075e;-0x1===_0x3a3d2f?this[_0xfa0723(0x156)][_0xfa0723(0x161)]():this[_0xfa0723(0x156)][_0xfa0723(0x168)]();}[_0x33075e(0x14e)](){const _0x2280d4=_0x33075e;this[_0x2280d4(0x135)][_0x2280d4(0x14e)]();for(const _0x1ecc2c of this[_0x2280d4(0x10d)])_0x1ecc2c[_0x2280d4(0x14e)]();super[_0x2280d4(0x14e)]();}[_0x33075e(0x12a)](){const _0x11b9fa=_0x33075e;this[_0x11b9fa(0x10e)]?this[_0x11b9fa(0x167)]():this[_0x11b9fa(0x123)]();}[_0x33075e(0x117)](_0x2ce266,_0x43e3cc){const _0x5494b6=_0x33075e,_0x1520a4=new this[(_0x5494b6(0x14c))][(_0x5494b6(0x133))](this[_0x5494b6(0x146)],_0x2ce266,{'maxCommentCharsWhenCollapsed':this[_0x5494b6(0x14c)][_0x5494b6(0x131)],'formatDateTime':this[_0x5494b6(0x14c)][_0x5494b6(0x12f)],'editorConfig':this[_0x5494b6(0x14c)][_0x5494b6(0x149)]});_0x1520a4[_0x5494b6(0x159)]=_0x2ce266['id'],_0x1520a4[_0x5494b6(0x116)](_0x5494b6(0x15e))['to'](this),_0x1520a4[_0x5494b6(0x116)](_0x5494b6(0x13f))['to'](this),_0x1520a4[_0x5494b6(0x116)](_0x5494b6(0x138))['to'](this),_0x1520a4[_0x5494b6(0x116)](_0x5494b6(0x145))['to'](this),_0x1520a4[_0x5494b6(0x116)](_0x5494b6(0x11a))['to'](this),this[_0x5494b6(0x126)](_0x1520a4,_0x5494b6(0x15f),()=>this[_0x5494b6(0x113)]()),this[_0x5494b6(0x10d)][_0x5494b6(0x13b)](_0x1520a4,_0x43e3cc);}[_0x33075e(0x112)](_0x5923fc){const _0x27dd56=_0x33075e,_0x5107fc=this[_0x27dd56(0x16a)][_0x27dd56(0x141)](_0x5923fc);return this[_0x27dd56(0x153)]?this[_0x27dd56(0x153)][_0x27dd56(0x12d)]>_0x5923fc[_0x27dd56(0x12d)]?_0x5107fc-0x1:_0x5107fc:_0x5107fc-0x1;}[_0x33075e(0x11e)](){const _0x7e9f5c=_0x33075e;if(this[_0x7e9f5c(0x16a)][_0x7e9f5c(0x11c)]&&this[_0x7e9f5c(0x16a)][_0x7e9f5c(0x15d)]){const _0x48515a={'id':_0x7e9f5c(0x165),'author':this[_0x7e9f5c(0x16a)][_0x7e9f5c(0x11c)],'authoredAt':this[_0x7e9f5c(0x16a)][_0x7e9f5c(0x15d)],'content':_0x42dadc(this[_0x7e9f5c(0x146)],_0x7e9f5c(0x144)),'attributes':{}};this[_0x7e9f5c(0x153)]=new this[(_0x7e9f5c(0x14c))][(_0x7e9f5c(0x133))](this[_0x7e9f5c(0x146)],_0x48515a,{'maxCommentCharsWhenCollapsed':this[_0x7e9f5c(0x14c)][_0x7e9f5c(0x131)],'formatDateTime':this[_0x7e9f5c(0x14c)][_0x7e9f5c(0x12f)],'editorConfig':this[_0x7e9f5c(0x14c)][_0x7e9f5c(0x149)],'isSystemComment':!0x0}),this[_0x7e9f5c(0x10d)][_0x7e9f5c(0x13b)](this[_0x7e9f5c(0x153)],this[_0x7e9f5c(0x16a)][_0x7e9f5c(0x141)](_0x48515a));}else this[_0x7e9f5c(0x153)]&&(this[_0x7e9f5c(0x10d)][_0x7e9f5c(0x139)](this[_0x7e9f5c(0x153)]),this[_0x7e9f5c(0x153)][_0x7e9f5c(0x14e)](),this[_0x7e9f5c(0x153)]=null);this[_0x7e9f5c(0x12a)]();}[_0x33075e(0x132)](_0x2c2e95){const _0x5d497a=_0x33075e,_0x2cab74=this[_0x5d497a(0x10d)][_0x5d497a(0x139)](_0x2c2e95['id']);this[_0x5d497a(0x11d)](_0x2cab74),_0x2cab74[_0x5d497a(0x15a)]&&this[_0x5d497a(0x113)](),_0x2cab74[_0x5d497a(0x14e)]();}[_0x33075e(0x113)](){const _0x434e43=_0x33075e;this[_0x434e43(0x136)]=Array[_0x434e43(0x163)](this[_0x434e43(0x10d)])[_0x434e43(0x124)](_0x1a6a86=>_0x1a6a86[_0x434e43(0x15a)]);}[_0x33075e(0x167)](){const _0x3fe751=_0x33075e,_0x18f842=function(_0x212384){const _0x4616ba=_0x5094,_0x243090=new _0x2f95df();for(const _0x335f3e of _0x212384)_0x243090[_0x4616ba(0x13b)](_0x335f3e);return _0x243090;}(this[_0x3fe751(0x10d)]),_0x2731d7=this[_0x3fe751(0x135)][_0x3fe751(0x14a)];for(let _0xd09d56=0x1;_0xd09d56<=_0x2731d7;_0xd09d56++)_0x18f842[_0x3fe751(0x139)](0x1);for(const _0x2c8e9d of _0x18f842)_0x2c8e9d[_0x3fe751(0x13c)]();_0x2731d7>0x0&&_0x18f842[_0x3fe751(0x13b)](this[_0x3fe751(0x135)],0x1),ns(_0x3fefaa(Array[_0x3fe751(0x163)](this[_0x3fe751(0x110)]),Array[_0x3fe751(0x163)](_0x18f842)),this[_0x3fe751(0x110)],_0x18f842);}[_0x33075e(0x123)](){const _0x231ffc=_0x33075e;ns(_0x3fefaa(Array[_0x231ffc(0x163)](this[_0x231ffc(0x110)]),Array[_0x231ffc(0x163)](this[_0x231ffc(0x10d)])),this[_0x231ffc(0x110)],this[_0x231ffc(0x10d)]);for(const _0x14e2ba of this[_0x231ffc(0x110)])_0x14e2ba[_0x231ffc(0x13e)]();}[_0x33075e(0x10f)](){const _0x245aa0=_0x33075e;this[_0x245aa0(0x10d)][_0x245aa0(0x130)](_0x5dc87a=>{const _0x15d6d8=_0x245aa0;this[_0x15d6d8(0x137)][_0x15d6d8(0x13b)](_0x5dc87a[_0x15d6d8(0x119)]),this[_0x15d6d8(0x13a)][_0x15d6d8(0x126)](_0x5dc87a[_0x15d6d8(0x119)]);}),this[_0x245aa0(0x10d)]['on'](_0x245aa0(0x15c),(_0x307f51,_0xc2b110)=>{const _0x2fa2d1=_0x245aa0;for(const _0x1bb392 of _0xc2b110[_0x2fa2d1(0x118)])this[_0x2fa2d1(0x137)][_0x2fa2d1(0x139)](_0x1bb392[_0x2fa2d1(0x119)]),this[_0x2fa2d1(0x13a)][_0x2fa2d1(0x11d)](_0x1bb392[_0x2fa2d1(0x119)]);for(const _0x2b96b7 of Array[_0x2fa2d1(0x163)](_0xc2b110[_0x2fa2d1(0x148)])[_0x2fa2d1(0x10c)]())this[_0x2fa2d1(0x137)][_0x2fa2d1(0x13b)](_0x2b96b7[_0x2fa2d1(0x119)]),this[_0x2fa2d1(0x13a)][_0x2fa2d1(0x126)](_0x2b96b7[_0x2fa2d1(0x119)]);});}}function ns(_0x5b6af6,_0x349acb,_0x5f3e2c){const _0x907c67=_0x33075e;let _0xa80815=0x0;for(const _0x25efc6 of _0x5b6af6)switch(_0x25efc6){case _0x907c67(0x150):_0x349acb[_0x907c67(0x13b)](_0x5f3e2c[_0x907c67(0x158)](_0xa80815),_0xa80815),_0xa80815++;break;case _0x907c67(0x114):_0x349acb[_0x907c67(0x139)](_0xa80815);break;case _0x907c67(0x157):_0xa80815++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5de946=_0x1baf;(function(_0x807466,_0x2b7ab3){const _0x5690db=_0x1baf,_0x274db2=_0x807466();while(!![]){try{const _0x370750=parseInt(_0x5690db(0x16b))/0x1+parseInt(_0x5690db(0x176))/0x2+-parseInt(_0x5690db(0x177))/0x3+parseInt(_0x5690db(0x172))/0x4*(-parseInt(_0x5690db(0x170))/0x5)+-parseInt(_0x5690db(0x171))/0x6*(parseInt(_0x5690db(0x173))/0x7)+-parseInt(_0x5690db(0x168))/0x8+parseInt(_0x5690db(0x169))/0x9*(parseInt(_0x5690db(0x167))/0xa);if(_0x370750===_0x2b7ab3)break;else _0x274db2['push'](_0x274db2['shift']());}catch(_0xf714de){_0x274db2['push'](_0x274db2['shift']());}}}(_0x4e64,0xddb66));import{View as _0x391828}from'ckeditor5/src/ui.js';import{getTranslation as _0x21b43f}from'../../../utils/common-translations.js';function _0x4e64(){const _0x4b60b9=['237008aPMQUr','contextValue','THREAD_CONTEXT_LABEL','element','bindTemplate','240715nBWVQt','480sCzshA','48QjvqAC','13573xqWRjN','setTemplate','span','1887094hShBLh','2847282xBUttz','ck-context__value','focus','22183860vJVKvs','6471016cGhodJ','9fOoIqJ','set'];_0x4e64=function(){return _0x4b60b9;};return _0x4e64();}function _0x1baf(_0x35d776,_0x2af62d){const _0x4e641f=_0x4e64();return _0x1baf=function(_0x1bafe3,_0x294598){_0x1bafe3=_0x1bafe3-0x165;let _0x2b69ad=_0x4e641f[_0x1bafe3];return _0x2b69ad;},_0x1baf(_0x35d776,_0x2af62d);}export class CommentThreadHeaderContextView extends _0x391828{constructor(_0x58cdd2){const _0xa45dec=_0x1baf;super(_0x58cdd2);const _0x471f2f=this[_0xa45dec(0x16f)];this[_0xa45dec(0x16a)](_0xa45dec(0x16c),''),this[_0xa45dec(0x174)]({'tag':_0xa45dec(0x175),'attributes':{'class':['ck',_0xa45dec(0x165)],'aria-label':_0x471f2f['to'](_0xa45dec(0x16c),_0x5810d4=>_0x21b43f(_0x58cdd2,_0xa45dec(0x16d),_0x5810d4)),'tabindex':-0x1},'children':[{'text':_0x471f2f['to'](_0xa45dec(0x16c))}]});}[_0x5de946(0x166)](){const _0x46a944=_0x5de946;this[_0x46a944(0x16e)][_0x46a944(0x166)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4ef811=_0x11ab;(function(_0x40ac3a,_0x26955b){const _0x5b05f6=_0x11ab,_0x45aae0=_0x40ac3a();while(!![]){try{const _0x28be43=parseInt(_0x5b05f6(0x87))/0x1+parseInt(_0x5b05f6(0xcc))/0x2+-parseInt(_0x5b05f6(0xca))/0x3+parseInt(_0x5b05f6(0xc9))/0x4*(-parseInt(_0x5b05f6(0x8d))/0x5)+parseInt(_0x5b05f6(0xc8))/0x6+-parseInt(_0x5b05f6(0xc3))/0x7+parseInt(_0x5b05f6(0x86))/0x8*(parseInt(_0x5b05f6(0x8c))/0x9);if(_0x28be43===_0x26955b)break;else _0x45aae0['push'](_0x45aae0['shift']());}catch(_0x42ee30){_0x45aae0['push'](_0x45aae0['shift']());}}}(_0x2d7d,0xdc4f0));import{View as _0x22c651,ButtonView as _0x723ac7,FocusCycler as _0x2f59bc}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2c81c3,KeystrokeHandler as _0x5a83cd}from'ckeditor5/src/utils.js';import{IconUndo as _0x24f85f}from'ckeditor5/src/icons.js';function _0x11ab(_0xca3f34,_0x4420ab){const _0x2d7ddf=_0x2d7d();return _0x11ab=function(_0x11abbe,_0x2333aa){_0x11abbe=_0x11abbe-0x86;let _0x41ea2f=_0x2d7ddf[_0x11abbe];return _0x41ea2f;},_0x11ab(_0xca3f34,_0x4420ab);}import{getTranslation as _0xaeee41}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x4ef70f}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;function _0x2d7d(){const _0xb64aed=['shift+tab','.ck-context__value','8864723qxivFH','contextView','.ck-context','focusCycler','ck-context-wrapper','3000792oXkrRk','466652veoKDH','3936603DoaWlJ','Comment\x20was\x20made\x20on\x20an\x20element','933400ADKEwA','4765184eawpYq','585869TCAyZT','_trimContextValue','focusFirst','icon','mouseleave','45RPgSvg','45nJDCmA','hasContext','div','render','overlay','isEnabled','contextValue','setTemplate','ck-annotation__actions','createCollection','bindTemplate','lastIndexOf','Reopen','ck-context','fire','execute','reopenButtonView','label','offsetWidth','reopenCommentThread','length','locale','focusTracker','keystrokes','querySelector','substring','ck-context--quotes','isResolvable','context','focusables','isReadOnly','scrollWidth','bind','remove','value','tab','element','mouseenter','focus','listenTo','tooltip','isResolved','_setupKeyboardNavigation','_attachContextActions','_model','classList','_createReopenButton','...','_createContextView','isVisible','add','ck-thread__header'];_0x2d7d=function(){return _0xb64aed;};return _0x2d7d();}export class CommentThreadHeaderView extends _0x22c651{[_0x4ef811(0xb9)];[_0x4ef811(0x9d)];[_0x4ef811(0xc4)];[_0x4ef811(0xaa)];[_0x4ef811(0xa3)];[_0x4ef811(0xa4)];[_0x4ef811(0xc6)];constructor(_0x50131f,_0x1d243d){const _0x52dca4=_0x4ef811;super(_0x50131f);const _0x36619b=this[_0x52dca4(0x97)];this[_0x52dca4(0xb9)]=_0x1d243d,this[_0x52dca4(0x9d)]=this[_0x52dca4(0xbb)](),this[_0x52dca4(0xc4)]=this[_0x52dca4(0xbd)](),this[_0x52dca4(0xaa)]=this[_0x52dca4(0x96)]([this[_0x52dca4(0xc4)],this[_0x52dca4(0x9d)]]),this[_0x52dca4(0xa3)]=new _0x2c81c3(),this[_0x52dca4(0xa4)]=new _0x5a83cd(),this[_0x52dca4(0xc6)]=new _0x2f59bc({'focusables':this[_0x52dca4(0xaa)],'focusTracker':this[_0x52dca4(0xa3)],'keystrokeHandler':this[_0x52dca4(0xa4)],'actions':{'focusPrevious':_0x52dca4(0xc1),'focusNext':_0x52dca4(0xb0)}}),this[_0x52dca4(0xad)](_0x52dca4(0x8e))['to'](this[_0x52dca4(0xb9)],_0x52dca4(0xa9),_0x593040=>!!_0x593040),this[_0x52dca4(0xad)](_0x52dca4(0x93))['to'](this[_0x52dca4(0xb9)],_0x52dca4(0xa9),_0x3fcd13=>_0x3fcd13&&_0x3fcd13[_0x52dca4(0xaf)]?this[_0x52dca4(0x88)](_0x3fcd13[_0x52dca4(0xaf)]):_0xaeee41(this[_0x52dca4(0xa2)],_0x52dca4(0xcb))),this[_0x52dca4(0x94)]({'tag':_0x52dca4(0x8f),'attributes':{'class':[_0x52dca4(0xc0)]},'children':[{'tag':_0x52dca4(0x8f),'attributes':{'class':[_0x52dca4(0xc7)]},'children':[{'tag':_0x52dca4(0x8f),'attributes':{'class':[_0x52dca4(0x9a),_0x36619b['if'](_0x52dca4(0x8e),_0x52dca4(0xa7))]},'children':[this[_0x52dca4(0xc4)]]}]},{'tag':_0x52dca4(0x8f),'attributes':{'class':[_0x52dca4(0x95)]},'children':[this[_0x52dca4(0x9d)]]}]});}[_0x4ef811(0x90)](){const _0x114d29=_0x4ef811;super[_0x114d29(0x90)](),this[_0x114d29(0xb8)](),this[_0x114d29(0xb7)]();}[_0x4ef811(0xb3)](){const _0x489261=_0x4ef811;this[_0x489261(0xc6)][_0x489261(0x89)]();}[_0x4ef811(0xbb)](){const _0x505ca3=_0x4ef811,_0x190a51=new _0x723ac7(this[_0x505ca3(0xa2)]);return _0x190a51[_0x505ca3(0x9e)]=_0xaeee41(this[_0x505ca3(0xa2)],_0x505ca3(0x99)),_0x190a51[_0x505ca3(0xb5)]=_0xaeee41(this[_0x505ca3(0xa2)],_0x505ca3(0x99)),_0x190a51[_0x505ca3(0x8a)]=_0x24f85f,_0x190a51[_0x505ca3(0xad)](_0x505ca3(0x92))['to'](this[_0x505ca3(0xb9)],_0x505ca3(0xab),_0x50eb33=>!_0x50eb33),_0x190a51[_0x505ca3(0xad)](_0x505ca3(0xbe))['to'](this[_0x505ca3(0xb9)],_0x505ca3(0xa8),this[_0x505ca3(0xb9)],_0x505ca3(0xb6),(_0x805848,_0x1cbc17)=>_0x805848&&_0x1cbc17),_0x190a51['on'](_0x505ca3(0x9c),()=>{const _0x528c3d=_0x505ca3;this[_0x528c3d(0x9b)](_0x528c3d(0xa0),this[_0x528c3d(0xb9)]['id']);}),_0x190a51;}[_0x4ef811(0x88)](_0x4f2fd8){const _0x4b3bed=_0x4ef811;if(_0x4f2fd8[_0x4b3bed(0xa1)]<0x96)return _0x4f2fd8;const _0xf2a0e=_0x4f2fd8[_0x4b3bed(0x98)]('\x20',0x93);return _0x4f2fd8[_0x4b3bed(0xa6)](0x0,_0xf2a0e>-0x1?_0xf2a0e:0x93)+_0x4b3bed(0xbc);}[_0x4ef811(0xb8)](){const _0x231637=_0x4ef811,_0x50b064=this[_0x231637(0xb1)][_0x231637(0xa5)](_0x231637(0xc5)),_0x4f2408=_0x50b064[_0x231637(0xa5)](_0x231637(0xc2));this[_0x231637(0xb4)](_0x50b064,_0x231637(0xb2),()=>{const _0x1f0b2b=_0x231637;_0x4f2408[_0x1f0b2b(0x9f)]<_0x4f2408[_0x1f0b2b(0xac)]&&_0x50b064[_0x1f0b2b(0xba)][_0x1f0b2b(0xbf)](_0x1f0b2b(0x91));}),this[_0x231637(0xb4)](_0x50b064,_0x231637(0x8b),()=>{const _0x27446f=_0x231637;_0x50b064[_0x27446f(0xba)][_0x27446f(0xae)](_0x27446f(0x91));});}[_0x4ef811(0xb7)](){const _0x311021=_0x4ef811;this[_0x311021(0xa4)][_0x311021(0xb4)](this[_0x311021(0xb1)]);for(const _0x34e2e6 of this[_0x311021(0xaa)])this[_0x311021(0xa3)][_0x311021(0xbf)](_0x34e2e6[_0x311021(0xb1)]),this[_0x311021(0xa4)][_0x311021(0xb4)](_0x34e2e6[_0x311021(0xb1)]);}[_0x4ef811(0xbd)](){const _0x176a6b=_0x4ef811,_0x262a9f=new _0x4ef70f(this[_0x176a6b(0xa2)]);return _0x262a9f[_0x176a6b(0xad)](_0x176a6b(0x93))['to'](this),_0x262a9f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d854a=_0x2a61;function _0x4f09(){const _0x5531bc=['9454iYcboP','destroy','element','editorReady','change:showInput','filter','bind','editorDestroyed','84RQKpyF','5Bcbxhk','focusCycler','ck-thread__input','_focusOnNonInteractiveMouseDown','getDomRoot','editing','target','mousedown','editor','extendTemplate','contains','1254SnnqcO','ck-thread__user','then','9palKmI','focusTracker','createEditor','userView','showInput','907976PzDvyg','669160kBxqAW','58FguziH','div','delegate','view','ck-comment__input-container--active','ck-comment__input-container','2273760EeAzYr','setTemplate','preventDefault','some','listenTo','set','showButtons','bindTemplate','394341ZEeucS','focus','commentInputView','render','24876FUeNlN','14182UrlUvl','value','isFocused'];_0x4f09=function(){return _0x5531bc;};return _0x4f09();}(function(_0x4c50f7,_0xdbe801){const _0x5cf83f=_0x2a61,_0xe4410=_0x4c50f7();while(!![]){try{const _0x211b5f=parseInt(_0x5cf83f(0x1b7))/0x1*(-parseInt(_0x5cf83f(0x199))/0x2)+-parseInt(_0x5cf83f(0x191))/0x3+-parseInt(_0x5cf83f(0x1b6))/0x4*(-parseInt(_0x5cf83f(0x1a2))/0x5)+-parseInt(_0x5cf83f(0x1a1))/0x6*(-parseInt(_0x5cf83f(0x196))/0x7)+parseInt(_0x5cf83f(0x1b5))/0x8*(-parseInt(_0x5cf83f(0x1b0))/0x9)+parseInt(_0x5cf83f(0x189))/0xa+-parseInt(_0x5cf83f(0x1ad))/0xb*(-parseInt(_0x5cf83f(0x195))/0xc);if(_0x211b5f===_0xdbe801)break;else _0xe4410['push'](_0xe4410['shift']());}catch(_0x318cbc){_0xe4410['push'](_0xe4410['shift']());}}}(_0x4f09,0x223d2));import{View as _0x5687f3}from'ckeditor5/src/ui.js';function _0x2a61(_0x709ad4,_0x7bca87){const _0x4f096d=_0x4f09();return _0x2a61=function(_0x2a6170,_0x2bf75e){_0x2a6170=_0x2a6170-0x185;let _0x59eb5b=_0x4f096d[_0x2a6170];return _0x59eb5b;},_0x2a61(_0x709ad4,_0x7bca87);}import{CommentInputView as _0x27c70a}from'./commentinputview.js';import{UserView as _0x37e7e0}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x5687f3{constructor(_0x126d1d,_0x5821c7,_0x5832fa){const _0x4d14e3=_0x2a61;super(_0x126d1d),this[_0x4d14e3(0x193)]=new _0x27c70a(_0x126d1d,_0x5832fa),this[_0x4d14e3(0x1a3)]=this[_0x4d14e3(0x193)][_0x4d14e3(0x1a3)],this[_0x4d14e3(0x193)][_0x4d14e3(0x19f)](_0x4d14e3(0x18f))['to'](this[_0x4d14e3(0x193)][_0x4d14e3(0x1b1)],_0x4d14e3(0x198),this[_0x4d14e3(0x193)],_0x4d14e3(0x197),(_0x5a4a27,_0x56633a)=>_0x5a4a27||!!_0x56633a),this[_0x4d14e3(0x18e)](_0x4d14e3(0x1b4),!0x1),this['on'](_0x4d14e3(0x19d),()=>{const _0x5c4d90=_0x4d14e3;this[_0x5c4d90(0x1b4)]&&!this[_0x5c4d90(0x193)][_0x5c4d90(0x1aa)]&&this[_0x5c4d90(0x193)][_0x5c4d90(0x1b2)]();}),this[_0x4d14e3(0x193)][_0x4d14e3(0x185)](_0x4d14e3(0x19c))['to'](this),this[_0x4d14e3(0x193)][_0x4d14e3(0x185)](_0x4d14e3(0x1a0))['to'](this),this[_0x4d14e3(0x1b3)]=new _0x37e7e0(_0x126d1d,_0x5821c7),this[_0x4d14e3(0x1b3)][_0x4d14e3(0x1ab)]({'attributes':{'class':_0x4d14e3(0x1ae),'aria-hidden':!0x0}}),this[_0x4d14e3(0x193)][_0x4d14e3(0x1ab)]({'attributes':{'class':_0x4d14e3(0x1a4)}}),this[_0x4d14e3(0x18a)]({'tag':_0x4d14e3(0x1b8),'attributes':{'class':[_0x4d14e3(0x188),this[_0x4d14e3(0x190)]['if'](_0x4d14e3(0x1b4),_0x4d14e3(0x187))]},'children':[this[_0x4d14e3(0x1b3)],this[_0x4d14e3(0x193)]]});}[_0x4d854a(0x194)](){const _0x250ae8=_0x4d854a;super[_0x250ae8(0x194)](),this[_0x250ae8(0x1a5)]();}[_0x4d854a(0x19a)](){const _0x16ef0c=_0x4d854a;return this[_0x16ef0c(0x193)][_0x16ef0c(0x19a)]()[_0x16ef0c(0x1af)](()=>super[_0x16ef0c(0x19a)]());}[_0x4d854a(0x192)](_0x5e28c8){const _0xf25b74=_0x4d854a;this[_0xf25b74(0x193)][_0xf25b74(0x192)](_0x5e28c8);}[_0x4d854a(0x1a5)](){const _0x141600=_0x4d854a;this[_0x141600(0x18d)](this[_0x141600(0x19b)],_0x141600(0x1a9),(_0x4dca76,_0x1f947f)=>{const _0x4a1eb1=_0x141600,{submitButtonView:_0x5acebe,cancelButtonView:_0x30f1ad,editor:_0xed5f5e}=this[_0x4a1eb1(0x193)];[_0x5acebe[_0x4a1eb1(0x19b)],_0x30f1ad[_0x4a1eb1(0x19b)],_0xed5f5e?_0xed5f5e[_0x4a1eb1(0x1a7)][_0x4a1eb1(0x186)][_0x4a1eb1(0x1a6)]():null][_0x4a1eb1(0x19e)](_0x509d8a=>_0x509d8a)[_0x4a1eb1(0x18c)](_0x107b14=>_0x107b14[_0x4a1eb1(0x1ac)](_0x1f947f[_0x4a1eb1(0x1a8)]))||(this[_0x4a1eb1(0x192)](),_0x1f947f[_0x4a1eb1(0x18b)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x576c29=_0x128b;(function(_0x293c4b,_0x1c7f79){const _0x5aa363=_0x128b,_0x1e2d29=_0x293c4b();while(!![]){try{const _0x1737ad=-parseInt(_0x5aa363(0x1d8))/0x1+parseInt(_0x5aa363(0x1e2))/0x2*(parseInt(_0x5aa363(0x1b8))/0x3)+-parseInt(_0x5aa363(0x1ed))/0x4+parseInt(_0x5aa363(0x1c1))/0x5+parseInt(_0x5aa363(0x1f5))/0x6*(-parseInt(_0x5aa363(0x1b4))/0x7)+-parseInt(_0x5aa363(0x1d2))/0x8+parseInt(_0x5aa363(0x1d3))/0x9;if(_0x1737ad===_0x1c7f79)break;else _0x1e2d29['push'](_0x1e2d29['shift']());}catch(_0x317017){_0x1e2d29['push'](_0x1e2d29['shift']());}}}(_0x1ee4,0x6cb0e));function _0x1ee4(){const _0x201ac7=['ck-reset_all-excluded','removeButton','listenTo','Resolve','ck-thread--remove-confirmation','_model','icon','commentThreadInputView','1604cBFgNV','focusables','add','actionIndicator','ck-thread--unlinked','has','high','isUnlinked','showConfirm','createCollection','ck-comment--resolve','580184vSMsja','locale','commentsListView','removeCommentThread','ariaLabel','ck-thread--','stop','div','1028472DIJusi','change:isReadOnly','ck-thread','bindTemplate','isActive','.ck-thread__container','_cancelAllConfirms','focus','isResolvable','actionBar','get','unbind','then','isVisible','_updateArchivedThreadHeader','getTemplate','resolveCommentThread','length','resolveButton','isResolved','placeholder','ck-thread__container','change:isActive','setTemplate','14bsxMVB','render','querySelector','Write\x20a\x20comment...','1305HEAGgX','isSystemComment','_bindFirstCommentView','ck-thread--active','fire','remove','listitem','ck-rounded-corners','tooltip','3990365nPeFBk','isReadOnly','ariaDescriptionView','commentViews','isEnabled','commentThreadHeaderView','containerElement','archivedAt','isConfirm','_boundFirstCommentView','removeConfirm','change:archivedAt','set','_createResolveButton','commentThreadChildren','Delete\x20comment\x20thread?','label','6622312vxJGbM','10607634qTFgQT','execute','element','cancelConfirm','extendTemplate','564712VZUQCN','bind'];_0x1ee4=function(){return _0x201ac7;};return _0x1ee4();}import{ConfirmMixin as _0x56d417,LateFocusButtonView as _0x407865}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x1c0a92}from'ckeditor5/src/icons.js';function _0x128b(_0x44a358,_0x24d036){const _0x1ee41e=_0x1ee4();return _0x128b=function(_0x128b69,_0x19c4fa){_0x128b69=_0x128b69-0x1a2;let _0x4e9e6b=_0x1ee41e[_0x128b69];return _0x4e9e6b;},_0x128b(_0x44a358,_0x24d036);}import{BaseCommentThreadView as _0x5ed005}from'./basecommentthreadview.js';import{getTranslation as _0x5d55cb}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x56d417(_0x5ed005){[_0x576c29(0x1cf)];[_0x576c29(0x1c7)];[_0x576c29(0x1ae)];[_0x576c29(0x1ca)];constructor(_0x29b2c0,_0x243305,_0xb78dea,_0x473474){const _0x1da7d7=_0x576c29;super(_0x29b2c0,_0x243305,_0xb78dea,_0x473474),this[_0x1da7d7(0x1cf)]=this[_0x1da7d7(0x1eb)]([this[_0x1da7d7(0x1ef)],this[_0x1da7d7(0x1e1)],this[_0x1da7d7(0x1c3)]]),this[_0x1da7d7(0x1cd)](_0x1da7d7(0x1e5),null),this[_0x1da7d7(0x1c7)]=null,this[_0x1da7d7(0x1ca)]=null,this[_0x1da7d7(0x1ee)]=_0x29b2c0,this[_0x1da7d7(0x1ae)]=this[_0x1da7d7(0x1ce)](),this[_0x1da7d7(0x1b3)](this[_0x1da7d7(0x1ab)]()),this['on'](_0x1da7d7(0x1b2),(_0x54b4a7,_0x40433b,_0x3a4a14)=>{const _0x50cb2f=_0x1da7d7;_0x3a4a14||this[_0x50cb2f(0x1a2)]();}),this[_0x1da7d7(0x1dc)](this[_0x1da7d7(0x1df)],_0x1da7d7(0x1f6),(_0x16d0a5,_0x4a7479,_0x43fafd)=>{const _0x582514=_0x1da7d7;_0x43fafd&&this[_0x582514(0x1a2)]();}),this[_0x1da7d7(0x1ad)]>0x0&&this[_0x1da7d7(0x1ba)](),this[_0x1da7d7(0x1dc)](this[_0x1da7d7(0x1ef)][_0x1da7d7(0x1c4)],_0x1da7d7(0x1e4),()=>{const _0x20d60d=_0x1da7d7;this[_0x20d60d(0x1ba)]();});}[_0x576c29(0x1ab)](){const _0x4bd36e=_0x576c29,_0x1d26be=this[_0x4bd36e(0x1f8)];return{'tag':_0x4bd36e(0x1f4),'attributes':{'class':['ck',_0x4bd36e(0x1f7),_0x4bd36e(0x1da),_0x4bd36e(0x1bf),_0x1d26be['if'](_0x4bd36e(0x1f9),_0x4bd36e(0x1bb)),_0x1d26be['if'](_0x4bd36e(0x1e9),_0x4bd36e(0x1e6)),_0x1d26be['if'](_0x4bd36e(0x1c9),_0x4bd36e(0x1de)),_0x1d26be['to'](_0x4bd36e(0x1e5),_0x23e63a=>_0x23e63a?_0x4bd36e(0x1f2)+_0x23e63a:'')],'data-thread-id':this[_0x4bd36e(0x1df)]['id'],'tabindex':0x0,'role':_0x4bd36e(0x1be),'aria-label':_0x1d26be['to'](_0x4bd36e(0x1f1)),'aria-describedby':this[_0x4bd36e(0x1c3)]['id']},'children':[{'tag':_0x4bd36e(0x1f4),'attributes':{'class':_0x4bd36e(0x1b1)},'children':this[_0x4bd36e(0x1cf)]}]};}[_0x576c29(0x1b5)](){const _0x77cc43=_0x576c29;super[_0x77cc43(0x1b5)](),this[_0x77cc43(0x1c7)]=this[_0x77cc43(0x1d5)][_0x77cc43(0x1b6)](_0x77cc43(0x1fa)),this[_0x77cc43(0x1df)]['on'](_0x77cc43(0x1cc),()=>{const _0x13fd4e=_0x77cc43;this[_0x13fd4e(0x1aa)]();}),this[_0x77cc43(0x1aa)]();}[_0x576c29(0x1a2)](){const _0x57e055=_0x576c29;this[_0x57e055(0x1d6)]();for(const _0x593cb5 of this[_0x57e055(0x1ef)][_0x57e055(0x1c4)])_0x593cb5[_0x57e055(0x1d6)]();}[_0x576c29(0x1ba)](){const _0x33e0b1=_0x576c29,{locale:_0xcb337d}=this,_0x1db73b=this[_0x33e0b1(0x1ef)][_0x33e0b1(0x1c4)][_0x33e0b1(0x1a6)](0x0);_0x1db73b===this[_0x33e0b1(0x1ca)]||_0x1db73b[_0x33e0b1(0x1b9)]||(this[_0x33e0b1(0x1ca)]=_0x1db73b,this[_0x33e0b1(0x1a7)](_0x33e0b1(0x1e5)),this[_0x33e0b1(0x1d9)](_0x33e0b1(0x1e5))['to'](_0x1db73b,_0x33e0b1(0x1e5),_0x5866c9=>_0x33e0b1(0x1bd)===_0x5866c9?_0x33e0b1(0x1bd):null),_0x1db73b[_0x33e0b1(0x1b0)]=_0x5d55cb(_0xcb337d,_0x33e0b1(0x1b7)),_0x1db73b[_0x33e0b1(0x1db)]['on'](_0x33e0b1(0x1d4),_0x157247=>{const _0x528d06=_0x33e0b1;_0x157247[_0x528d06(0x1f3)](),this[_0x528d06(0x1ea)](_0x5d55cb(_0xcb337d,_0x528d06(0x1d0)),this[_0x528d06(0x1c7)])[_0x528d06(0x1a8)](()=>{const _0x201463=_0x528d06;this[_0x201463(0x1bc)](_0x201463(0x1f0));});},{'priority':_0x33e0b1(0x1e8)}),this['on'](_0x33e0b1(0x1cb),()=>{const _0x81c297=_0x33e0b1;_0x1db73b[_0x81c297(0x1a3)]();}),_0x1db73b[_0x33e0b1(0x1a5)][_0x33e0b1(0x1e4)](this[_0x33e0b1(0x1ae)],0x0),_0x1db73b[_0x33e0b1(0x1e3)][_0x33e0b1(0x1e4)](this[_0x33e0b1(0x1ae)],0x0));}[_0x576c29(0x1ce)](){const _0xa96a44=_0x576c29,_0x4e9870=new _0x407865(this[_0xa96a44(0x1ee)]);return _0x4e9870[_0xa96a44(0x1d1)]=_0x5d55cb(this[_0xa96a44(0x1ee)],_0xa96a44(0x1dd)),_0x4e9870[_0xa96a44(0x1c0)]=_0x5d55cb(this[_0xa96a44(0x1ee)],_0xa96a44(0x1dd)),_0x4e9870[_0xa96a44(0x1e0)]=_0x1c0a92,_0x4e9870[_0xa96a44(0x1d7)]({'attributes':{'class':_0xa96a44(0x1ec)}}),_0x4e9870[_0xa96a44(0x1d9)](_0xa96a44(0x1c5))['to'](this[_0xa96a44(0x1df)],_0xa96a44(0x1c2),_0x3cfd36=>!_0x3cfd36),_0x4e9870[_0xa96a44(0x1d9)](_0xa96a44(0x1a9))['to'](this[_0xa96a44(0x1df)],_0xa96a44(0x1a4),this[_0xa96a44(0x1df)],_0xa96a44(0x1af),(_0x12fe26,_0x5247c2)=>_0x12fe26&&!_0x5247c2),_0x4e9870['on'](_0xa96a44(0x1d4),()=>{const _0x32a4a9=_0xa96a44;this[_0x32a4a9(0x1bc)](_0x32a4a9(0x1ac),this[_0x32a4a9(0x1df)]['id']);}),_0x4e9870;}[_0x576c29(0x1aa)](){const _0x23dd38=_0x576c29;this[_0x23dd38(0x1df)][_0x23dd38(0x1c8)]?this[_0x23dd38(0x1cf)][_0x23dd38(0x1e7)](this[_0x23dd38(0x1c6)])||(this[_0x23dd38(0x1cf)][_0x23dd38(0x1e4)](this[_0x23dd38(0x1c6)],0x0),this[_0x23dd38(0x1e3)][_0x23dd38(0x1e4)](this[_0x23dd38(0x1c6)],0x0)):this[_0x23dd38(0x1cf)][_0x23dd38(0x1e7)](this[_0x23dd38(0x1c6)])&&(this[_0x23dd38(0x1cf)][_0x23dd38(0x1bd)](this[_0x23dd38(0x1c6)]),this[_0x23dd38(0x1e3)][_0x23dd38(0x1bd)](this[_0x23dd38(0x1c6)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x37e9(){const _0x55c259=['_model','Remove','bindTemplate','blur','1299542fxStMC','ck-comment','Show\x20more\x20items','_createDropdown','ck-comment--edit','151528ASkinL','length','ck-annotation__info','_config','span','switchToEditMode','find','Reply...','ck-comment__info-name','isSystemComment','2334633UHVsNy','ck-annotation__info-name','actionBar','userView','children','toMany','ck-comment__actions--hidden','isVisible','then','from','ck-hidden','createCollection','authoredAt','ck-comment__info-time','ck-comment__actions','showConfirm','dropdown','isEditMode','unbind','div','getExternalCommentNote','getUserViewNotificationText','_attachActions','label','addMany','getTemplate','focus','ck-comment--remove','visibleView','ck-comment--remove-confirmation','isRemovable','fire','items','ck-annotation__info-time','_createEditButton','buttonView','panelView','ck-annotation','mouseenter','ck-annotation__user','listenTo','21775428Sryjkw','isEditable','author','isReadOnly','5OCwvyy','Delete\x20comment?','actionIndicator','push','setTemplate','ck-comment--','element','cancelConfirm','group','517351CikqSn','focusables','removeButton','ariaLabel','remove','ck-annotation__main','edit','some','ck-comment__external','ck-annotation__actions','ck-comment__info','add','execute','ck-annotation__actions--hidden','withText','mouseleave','change:isRemovable','ck-annotation__content-wrapper','bind','locale','isExternal','editButton','panelPosition','ck-comment__wrapper','_createRemoveButton','formatDateTime','ck-comment__user','resolvedAt','ariaDescriptionView','placeholder','_createCommentInputView','isConfirm','name','set','ck-comment__main','ck-comment--info','Edit','1946652iOWnjQ','render','6FEmaRc','extendTemplate','time','3009276BSgpBd','listitem','removeComment','icon','isEnabled'];_0x37e9=function(){return _0x55c259;};return _0x37e9();}const _0xec12bf=_0x46e0;(function(_0x387790,_0x56f093){const _0x53e9ec=_0x46e0,_0x593f5d=_0x387790();while(!![]){try{const _0x130d46=-parseInt(_0x53e9ec(0x191))/0x1+parseInt(_0x53e9ec(0x1c4))/0x2*(-parseInt(_0x53e9ec(0x1b8))/0x3)+-parseInt(_0x53e9ec(0x1b6))/0x4*(parseInt(_0x53e9ec(0x188))/0x5)+parseInt(_0x53e9ec(0x1bb))/0x6+parseInt(_0x53e9ec(0x1d3))/0x7+parseInt(_0x53e9ec(0x1c9))/0x8+parseInt(_0x53e9ec(0x184))/0x9;if(_0x130d46===_0x56f093)break;else _0x593f5d['push'](_0x593f5d['shift']());}catch(_0x400e65){_0x593f5d['push'](_0x593f5d['shift']());}}}(_0x37e9,0xeccd6));function _0x46e0(_0x4f68d4,_0x4b9092){const _0x37e950=_0x37e9();return _0x46e0=function(_0x46e0d2,_0x3d92d8){_0x46e0d2=_0x46e0d2-0x17c;let _0x109ef9=_0x37e950[_0x46e0d2];return _0x109ef9;},_0x46e0(_0x4f68d4,_0x4b9092);}import{IconRemoveComment as _0x32ed39,IconPencil as _0x4190c5,IconThreeVerticalDots as _0x145533}from'ckeditor5/src/icons.js';import{ButtonView as _0x28065b,createDropdown as _0xe58f39,ListView as _0x1b7430,ListItemView as _0x4af4d6,focusChildOnDropdownOpen as _0x29ddb6}from'ckeditor5/src/ui.js';import{UserView as _0x150ceb,ConfirmMixin as _0x20eb05,LateFocusDropdownButtonView as _0x503eb4}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x47cc60}from'./basecommentview.js';import{getTranslation as _0x85dcdb}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x20eb05(_0x47cc60){[_0xec12bf(0x1d5)];[_0xec12bf(0x1d6)];constructor(_0x22df3d,_0x7aace6,_0x343a52){const _0x2279a8=_0xec12bf;super(_0x22df3d,_0x7aace6,_0x343a52),this[_0x2279a8(0x1b2)](_0x2279a8(0x18a),null),this[_0x2279a8(0x1b2)](_0x2279a8(0x1ae),_0x85dcdb(_0x22df3d,_0x2279a8(0x1d0))),this[_0x2279a8(0x1a3)](_0x2279a8(0x1df))['to'](_0x7aace6),this[_0x2279a8(0x1a3)](_0x2279a8(0x1ac))['to'](_0x7aace6),this[_0x2279a8(0x1d5)]=this[_0x2279a8(0x1de)](),this[_0x2279a8(0x1d2)]||(this[_0x2279a8(0x1a6)]=this[_0x2279a8(0x17d)](),this[_0x2279a8(0x193)]=this[_0x2279a8(0x1a9)](),this[_0x2279a8(0x1f3)]=this[_0x2279a8(0x1de)](),this[_0x2279a8(0x1f3)][_0x2279a8(0x1eb)]([this[_0x2279a8(0x1a6)],this[_0x2279a8(0x193)]]),this[_0x2279a8(0x1e3)]=this[_0x2279a8(0x1c7)](),this[_0x2279a8(0x1d5)][_0x2279a8(0x19c)](this[_0x2279a8(0x1e3)]),this[_0x2279a8(0x192)][_0x2279a8(0x19c)](this[_0x2279a8(0x1e3)])),this[_0x2279a8(0x1d6)]=new _0x150ceb(_0x22df3d,_0x7aace6[_0x2279a8(0x186)],this[_0x2279a8(0x1e8)]()),this[_0x2279a8(0x1d6)][_0x2279a8(0x1b9)]({'attributes':{'class':[_0x2279a8(0x1ab),_0x2279a8(0x182)],'aria-hidden':!0x0}}),this[_0x2279a8(0x183)](_0x7aace6,_0x2279a8(0x1a1),()=>this[_0x2279a8(0x18f)]()),this[_0x2279a8(0x18c)](this[_0x2279a8(0x1ec)]());}[_0xec12bf(0x1ec)](){const _0x406f00=_0xec12bf,_0x2d9cc0=this[_0x406f00(0x1c2)],_0x1259d7=[{'tag':_0x406f00(0x1e6),'attributes':{'class':[_0x406f00(0x19b),_0x406f00(0x1cb)]},'children':[{'tag':_0x406f00(0x1cd),'children':[{'text':this[_0x406f00(0x1d6)][_0x406f00(0x1b1)]}],'attributes':{'class':[_0x406f00(0x1d1),_0x406f00(0x1d4)],'data-cke-tooltip-text':this[_0x406f00(0x1d6)][_0x406f00(0x1b1)]}},{'tag':_0x406f00(0x1ba),'attributes':{'datetime':_0x2d9cc0['to'](_0x406f00(0x1df)),'class':[_0x406f00(0x1e0),_0x406f00(0x17c)]},'children':[{'text':_0x2d9cc0['to'](_0x406f00(0x1df),_0x5ac288=>this[_0x406f00(0x1cc)][_0x406f00(0x1aa)](_0x5ac288))}]}]},{'tag':_0x406f00(0x1e6),'attributes':{'class':[_0x406f00(0x1e1),_0x406f00(0x19a),_0x2d9cc0['if'](_0x406f00(0x1e4),_0x406f00(0x1d9)),_0x2d9cc0['if'](_0x406f00(0x1e4),_0x406f00(0x19e))]},'children':this[_0x406f00(0x1d5)]},{'tag':_0x406f00(0x1e6),'attributes':{'class':[_0x406f00(0x1a2)]},'children':this[_0x406f00(0x1ef)]},this[_0x406f00(0x1ad)]];return this[_0x406f00(0x1c0)][_0x406f00(0x1a5)]&&_0x1259d7[_0x406f00(0x18b)]({'tag':_0x406f00(0x1e6),'attributes':{'class':[_0x406f00(0x199)]},'children':[{'text':this[_0x406f00(0x1e7)]()}]}),{'tag':'li','attributes':{'class':[_0x406f00(0x1a8),_0x2d9cc0['if'](_0x406f00(0x1b0),_0x406f00(0x1f0))],'tabindex':-0x1,'aria-label':_0x2d9cc0['to'](_0x406f00(0x194)),'aria-describedby':this[_0x406f00(0x1ad)]['id'],'role':_0x406f00(0x1bc)},'children':[{'tag':_0x406f00(0x1e6),'attributes':{'class':[_0x406f00(0x1c5),_0x406f00(0x180),_0x2d9cc0['if'](_0x406f00(0x1e4),_0x406f00(0x1c8)),_0x2d9cc0['if'](_0x406f00(0x1d2),_0x406f00(0x1b4)),_0x2d9cc0['to'](_0x406f00(0x18a),_0xe00e2=>_0xe00e2?_0x406f00(0x18d)+_0xe00e2:'')],'data-author-id':this[_0x406f00(0x1c0)][_0x406f00(0x186)]['id'],'data-comment-id':this[_0x406f00(0x1c0)]['id'],'role':_0x406f00(0x190)},'children':[this[_0x406f00(0x1d6)],{'tag':_0x406f00(0x1e6),'attributes':{'class':[_0x406f00(0x1b3),_0x406f00(0x196)]},'children':_0x1259d7}]}]};}[_0xec12bf(0x17d)](){const _0x3c849b=_0xec12bf,_0x4acfdc=new _0x28065b(this[_0x3c849b(0x1a4)]);return _0x4acfdc[_0x3c849b(0x1ea)]=_0x85dcdb(this[_0x3c849b(0x1a4)],_0x3c849b(0x1b5)),_0x4acfdc[_0x3c849b(0x1be)]=_0x4190c5,_0x4acfdc[_0x3c849b(0x19f)]=!0x0,_0x4acfdc[_0x3c849b(0x1b9)]({'attributes':{'class':_0x3c849b(0x1c8)}}),_0x4acfdc[_0x3c849b(0x1a3)](_0x3c849b(0x1bf))['to'](this[_0x3c849b(0x1c0)],_0x3c849b(0x187),_0x584d9a=>!_0x584d9a),_0x4acfdc[_0x3c849b(0x1a3)](_0x3c849b(0x1da))['to'](this[_0x3c849b(0x1c0)],_0x3c849b(0x185)),_0x4acfdc['on'](_0x3c849b(0x19d),()=>this[_0x3c849b(0x1ce)]()),_0x4acfdc;}[_0xec12bf(0x1a9)](){const _0x593da5=_0xec12bf,_0x4a312f=new _0x28065b(this[_0x593da5(0x1a4)]);return _0x4a312f[_0x593da5(0x1ea)]=_0x85dcdb(this[_0x593da5(0x1a4)],_0x593da5(0x1c1)),_0x4a312f[_0x593da5(0x1be)]=_0x32ed39,_0x4a312f[_0x593da5(0x19f)]=!0x0,_0x4a312f[_0x593da5(0x1b9)]({'attributes':{'class':_0x593da5(0x1ee)}}),_0x4a312f[_0x593da5(0x1a3)](_0x593da5(0x1bf))['to'](this[_0x593da5(0x1c0)],_0x593da5(0x187),_0x4e06a4=>!_0x4e06a4),_0x4a312f[_0x593da5(0x1a3)](_0x593da5(0x1da))['to'](this[_0x593da5(0x1c0)],_0x593da5(0x1f1)),_0x4a312f['on'](_0x593da5(0x19d),()=>{const _0x307d73=_0x593da5;this[_0x307d73(0x1e2)](_0x85dcdb(this[_0x307d73(0x1a4)],_0x307d73(0x189)),this[_0x307d73(0x18e)])[_0x307d73(0x1db)](()=>{const _0x2f63cc=_0x307d73;this[_0x2f63cc(0x1f2)](_0x2f63cc(0x1bd),this[_0x2f63cc(0x1c0)]['id']);});}),_0x4a312f;}[_0xec12bf(0x1c7)](){const _0x38c2de=_0xec12bf,_0x3e1e94=_0xe58f39(this[_0x38c2de(0x1a4)],_0x503eb4),_0x1ef7f8=_0x3e1e94[_0x38c2de(0x17f)][_0x38c2de(0x1d7)],_0x287e39=new _0x1b7430(this[_0x38c2de(0x1a4)]),_0x235cfd=_0x3e1e94[_0x38c2de(0x1c2)];_0x29ddb6(_0x3e1e94,()=>this[_0x38c2de(0x1f3)][_0x38c2de(0x1cf)](_0x17f2b5=>_0x17f2b5[_0x38c2de(0x1da)])),_0x3e1e94[_0x38c2de(0x1b9)]({'attributes':{'class':[_0x235cfd['if'](_0x38c2de(0x1da),_0x38c2de(0x1dd),_0xf1b663=>!_0xf1b663)]}});const _0x58ac92=(_0x1ece8f,_0x32faa3=-0x1)=>{const _0x323c48=_0x38c2de,_0x16b886=new _0x4af4d6(this[_0x323c48(0x1a4)]);_0x16b886[_0x323c48(0x1d7)][_0x323c48(0x19c)](_0x1ece8f);const _0x2f4c40=_0x32faa3>-0x1?_0x32faa3:_0x287e39[_0x323c48(0x1f3)][_0x323c48(0x1ca)];_0x287e39[_0x323c48(0x1f3)][_0x323c48(0x19c)](_0x16b886,_0x2f4c40);const _0x5677b2=Array[_0x323c48(0x1dc)](this[_0x323c48(0x1f3)]);_0x3e1e94[_0x323c48(0x1e5)](_0x323c48(0x1bf),_0x323c48(0x1da)),_0x3e1e94[_0x323c48(0x1a3)](_0x323c48(0x1bf))[_0x323c48(0x1d8)](_0x5677b2,_0x323c48(0x1bf),(..._0x2ba3a4)=>_0x2ba3a4[_0x323c48(0x198)](_0x5760bb=>_0x5760bb)),_0x3e1e94[_0x323c48(0x1a3)](_0x323c48(0x1da))[_0x323c48(0x1d8)](_0x5677b2,_0x323c48(0x1da),(..._0x5ee39a)=>_0x5ee39a[_0x323c48(0x198)](_0x3e8e75=>_0x3e8e75));};_0x3e1e94[_0x38c2de(0x1a7)]='sw',_0x3e1e94[_0x38c2de(0x17e)][_0x38c2de(0x1b2)]({'label':_0x85dcdb(this[_0x38c2de(0x1a4)],_0x38c2de(0x1c6)),'icon':_0x145533});for(const _0x459705 of this[_0x38c2de(0x1f3)])_0x58ac92(_0x459705);return _0x1ef7f8[_0x38c2de(0x19c)](_0x287e39),_0x3e1e94[_0x38c2de(0x183)](this[_0x38c2de(0x1f3)],_0x38c2de(0x19c),(_0x3667c5,_0x5b7744,_0x34d248)=>{_0x58ac92(_0x5b7744,_0x34d248);}),_0x3e1e94[_0x38c2de(0x183)](this[_0x38c2de(0x1f3)],_0x38c2de(0x195),(_0x5c0f93,_0x278b4b,_0x4238ce)=>{const _0xb926f6=_0x38c2de;_0x287e39[_0xb926f6(0x1f3)][_0xb926f6(0x195)](_0x4238ce);}),_0x3e1e94;}[_0xec12bf(0x1e9)](_0x14924d,_0x12ec44){const _0x59e7f4=_0xec12bf,_0x421d24=_0x14924d&&_0x14924d[_0x59e7f4(0x18e)];_0x421d24&&(this[_0x59e7f4(0x183)](_0x421d24,_0x59e7f4(0x181),()=>this[_0x59e7f4(0x18a)]=_0x12ec44),this[_0x59e7f4(0x183)](_0x421d24,_0x59e7f4(0x1ed),()=>this[_0x59e7f4(0x18a)]=_0x12ec44),this[_0x59e7f4(0x183)](_0x421d24,_0x59e7f4(0x1a0),()=>this[_0x59e7f4(0x18a)]=null),this[_0x59e7f4(0x183)](_0x421d24,_0x59e7f4(0x1c3),()=>this[_0x59e7f4(0x18a)]=null));}[_0xec12bf(0x1af)](){const _0xf49cb2=_0xec12bf,_0x9a20ab=super[_0xf49cb2(0x1af)]();return _0x9a20ab[_0xf49cb2(0x1a3)](_0xf49cb2(0x1ae))['to'](this),_0x9a20ab;}[_0xec12bf(0x1b7)](){const _0x2b6ff9=_0xec12bf;super[_0x2b6ff9(0x1b7)](),this[_0x2b6ff9(0x1e9)](this[_0x2b6ff9(0x1a6)],_0x2b6ff9(0x197)),this[_0x2b6ff9(0x1e9)](this[_0x2b6ff9(0x193)],_0x2b6ff9(0x195));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1afa20=_0x3361;(function(_0x37eca4,_0x3867a1){var _0x4bdde2=_0x3361,_0x15c39b=_0x37eca4();while(!![]){try{var _0x39666f=parseInt(_0x4bdde2(0x106))/0x1*(-parseInt(_0x4bdde2(0x10b))/0x2)+parseInt(_0x4bdde2(0x104))/0x3+-parseInt(_0x4bdde2(0x101))/0x4+-parseInt(_0x4bdde2(0x108))/0x5+-parseInt(_0x4bdde2(0x105))/0x6+parseInt(_0x4bdde2(0x102))/0x7*(-parseInt(_0x4bdde2(0xff))/0x8)+parseInt(_0x4bdde2(0x10c))/0x9*(parseInt(_0x4bdde2(0x103))/0xa);if(_0x39666f===_0x3867a1)break;else _0x15c39b['push'](_0x15c39b['shift']());}catch(_0x12f463){_0x15c39b['push'](_0x15c39b['shift']());}}}(_0x1e11,0x67549));import{Plugin as _0x3304c2}from'ckeditor5/src/core.js';import{CommentsRepository as _0x9f0964}from'./comments/commentsrepository.js';import{CommentsEditing as _0x491726}from'./comments/commentsediting.js';import{CommentsUI as _0x5c7ac6}from'./comments/commentsui.js';import{CommentsOnly as _0x4dbe23}from'./commentsonly.js';import{WideSidebar as _0x58af7b}from'./annotations/widesidebar.js';function _0x3361(_0x1f737d,_0x19513f){var _0x1e1187=_0x1e11();return _0x3361=function(_0x336156,_0x2548d9){_0x336156=_0x336156-0xfe;var _0x3e96a9=_0x1e1187[_0x336156];return _0x3e96a9;},_0x3361(_0x1f737d,_0x19513f);}import{NarrowSidebar as _0x152cc8}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x2dd127}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0xb91fa2}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x9f5361}from'./comments/commentsarchive.js';export class Comments extends _0x3304c2{static get[_0x1afa20(0x109)](){return[_0x9f0964,_0x491726,_0x5c7ac6,_0x9f5361,_0xb91fa2,_0x4dbe23,_0x58af7b,_0x152cc8,_0x2dd127];}static get[_0x1afa20(0xfe)](){var _0x428c6e=_0x1afa20;return _0x428c6e(0x100);}static get[_0x1afa20(0x107)](){return!0x0;}static get[_0x1afa20(0x10a)](){return!0x0;}}function _0x1e11(){var _0x25d5a7=['792023XHCuMD','isOfficialPlugin','2795370GZyfIf','requires','isPremiumPlugin','2cBSlXH','20702817ZVsKqR','pluginName','441608MnNkHA','Comments','3014568TrkKUP','14SUyEbY','10BtQnpL','1852479xUubly','1676544fdPErl'];_0x1e11=function(){return _0x25d5a7;};return _0x1e11();}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x88bc09=_0x16ba;function _0x16ba(_0x51d7b6,_0x5b5bd4){const _0x2077b4=_0x2077();return _0x16ba=function(_0x16ba79,_0xa2d632){_0x16ba79=_0x16ba79-0x70;let _0x40f399=_0x2077b4[_0x16ba79];return _0x40f399;},_0x16ba(_0x51d7b6,_0x5b5bd4);}(function(_0x175aca,_0x5845bd){const _0x26b314=_0x16ba,_0x4f34f5=_0x175aca();while(!![]){try{const _0x564141=-parseInt(_0x26b314(0x7b))/0x1+-parseInt(_0x26b314(0x8f))/0x2+-parseInt(_0x26b314(0x96))/0x3*(parseInt(_0x26b314(0x78))/0x4)+-parseInt(_0x26b314(0x8b))/0x5+-parseInt(_0x26b314(0x79))/0x6+parseInt(_0x26b314(0x7d))/0x7*(parseInt(_0x26b314(0x75))/0x8)+-parseInt(_0x26b314(0x80))/0x9*(-parseInt(_0x26b314(0x72))/0xa);if(_0x564141===_0x5845bd)break;else _0x4f34f5['push'](_0x4f34f5['shift']());}catch(_0x41f0b0){_0x4f34f5['push'](_0x4f34f5['shift']());}}}(_0x2077,0xce087));import{Plugin as _0x5a803b}from'ckeditor5/src/core.js';import{CommentsEditing as _0x1b211b}from'./comments/commentsediting.js';function _0x2077(){const _0x2306e4=['has','1438149xSiKWe','editing','417760wRvKas','commands','clipboardInput','920331HYHcGq','requires','_disableCommentsOnlyMode','pluginName','get','isEnabled','DragDrop','CommentsOnly','addCommentThread','cut','stop','2298195sXQanz','listenTo','document','clearForceDisabled','1892168iOXdrE','stopListening','highest','config','commentsOnly','editSource','afterInit','78939SEfLoH','view','forceDisabled','editor','isPremiumPlugin','affectsData','isOfficialPlugin','plugins','change:isEnabled','set','460XMbeSs','_enableCommentsOnlyMode','delete','96OzeONL','commentsOnlyMode','SourceEditing','72tDSwRn','7551942sXVltt'];_0x2077=function(){return _0x2306e4;};return _0x2077();}export class CommentsOnly extends _0x5a803b{static get[_0x88bc09(0x83)](){const _0x59d32a=_0x88bc09;return _0x59d32a(0x87);}static get[_0x88bc09(0x9c)](){return!0x0;}static get[_0x88bc09(0x9a)](){return!0x0;}static get[_0x88bc09(0x81)](){return[_0x1b211b];}constructor(_0x410e92){const _0x350145=_0x88bc09;super(_0x410e92),this[_0x350145(0x71)](_0x350145(0x85),!0x1),this['on'](_0x350145(0x70),(_0x4580dd,_0x5de051,_0x43e656)=>{const _0x538e20=_0x350145;_0x43e656?this[_0x538e20(0x73)]():this[_0x538e20(0x82)]();});}[_0x88bc09(0x95)](){const _0x566210=_0x88bc09;!this[_0x566210(0x85)]&&this[_0x566210(0x99)][_0x566210(0x92)][_0x566210(0x84)](_0x566210(0x93))&&(this[_0x566210(0x85)]=!0x0);}[_0x88bc09(0x73)](){const _0x40a2f9=_0x88bc09;for(const [_0x38d0fd,_0x12820a]of this[_0x40a2f9(0x99)][_0x40a2f9(0x7e)])_0x12820a[_0x40a2f9(0x9b)]&&_0x40a2f9(0x88)!==_0x38d0fd&&_0x12820a[_0x40a2f9(0x98)](_0x40a2f9(0x76));(this[_0x40a2f9(0x99)][_0x40a2f9(0x9d)][_0x40a2f9(0x7a)](_0x40a2f9(0x86))&&this[_0x40a2f9(0x99)][_0x40a2f9(0x9d)][_0x40a2f9(0x84)](_0x40a2f9(0x86))[_0x40a2f9(0x98)](_0x40a2f9(0x76)),this[_0x40a2f9(0x99)][_0x40a2f9(0x9d)][_0x40a2f9(0x7a)](_0x40a2f9(0x77)))&&this[_0x40a2f9(0x99)][_0x40a2f9(0x9d)][_0x40a2f9(0x84)](_0x40a2f9(0x77))[_0x40a2f9(0x98)](_0x40a2f9(0x76));this[_0x40a2f9(0x99)][_0x40a2f9(0x7e)][_0x40a2f9(0x84)](_0x40a2f9(0x94))?.[_0x40a2f9(0x98)](_0x40a2f9(0x76));const _0x22ee3b=this[_0x40a2f9(0x99)][_0x40a2f9(0x7c)][_0x40a2f9(0x97)][_0x40a2f9(0x8d)];this[_0x40a2f9(0x8c)](_0x22ee3b,_0x40a2f9(0x89),_0x253892=>_0x253892[_0x40a2f9(0x8a)](),{'priority':_0x40a2f9(0x91)}),this[_0x40a2f9(0x8c)](_0x22ee3b,_0x40a2f9(0x7f),_0x1ab996=>_0x1ab996[_0x40a2f9(0x8a)](),{'priority':_0x40a2f9(0x91)}),this[_0x40a2f9(0x8c)](_0x22ee3b,_0x40a2f9(0x74),_0xe6ad77=>_0xe6ad77[_0x40a2f9(0x8a)](),{'priority':_0x40a2f9(0x91)});}[_0x88bc09(0x82)](){const _0x39427e=_0x88bc09;for(const [_0x332b09,_0x147e8f]of this[_0x39427e(0x99)][_0x39427e(0x7e)])_0x147e8f[_0x39427e(0x9b)]&&_0x39427e(0x88)!==_0x332b09&&_0x147e8f[_0x39427e(0x8e)](_0x39427e(0x76));this[_0x39427e(0x99)][_0x39427e(0x9d)][_0x39427e(0x7a)](_0x39427e(0x77))&&this[_0x39427e(0x99)][_0x39427e(0x9d)][_0x39427e(0x84)](_0x39427e(0x77))[_0x39427e(0x8e)](_0x39427e(0x76)),this[_0x39427e(0x99)][_0x39427e(0x7e)][_0x39427e(0x84)](_0x39427e(0x94))?.[_0x39427e(0x8e)](_0x39427e(0x76)),this[_0x39427e(0x90)](this[_0x39427e(0x99)][_0x39427e(0x7c)][_0x39427e(0x97)][_0x39427e(0x8d)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x51af1b,_0x2040e6){var _0x1e9c70=_0x17bd,_0x389098=_0x51af1b();while(!![]){try{var _0x5c7291=parseInt(_0x1e9c70(0x1dc))/0x1*(-parseInt(_0x1e9c70(0x1df))/0x2)+parseInt(_0x1e9c70(0x1de))/0x3+-parseInt(_0x1e9c70(0x1da))/0x4*(parseInt(_0x1e9c70(0x1e4))/0x5)+-parseInt(_0x1e9c70(0x1e5))/0x6+-parseInt(_0x1e9c70(0x1db))/0x7*(parseInt(_0x1e9c70(0x1e1))/0x8)+parseInt(_0x1e9c70(0x1e0))/0x9*(-parseInt(_0x1e9c70(0x1dd))/0xa)+-parseInt(_0x1e9c70(0x1e2))/0xb*(-parseInt(_0x1e9c70(0x1e3))/0xc);if(_0x5c7291===_0x2040e6)break;else _0x389098['push'](_0x389098['shift']());}catch(_0x4dd6ba){_0x389098['push'](_0x389098['shift']());}}}(_0x3750,0x2ea7f));export{Comments}from'./comments.js';export{CommentsOnly}from'./commentsonly.js';export{CommentsUI}from'./comments/commentsui.js';export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{Annotation}from'./annotations/annotation.js';export{Annotations}from'./annotations/annotations.js';export{AnnotationCollection,bindAnnotationCollections}from'./annotations/annotationcollection.js';export{AnnotationsUIs}from'./annotations/annotationsuis.js';export{EditorAnnotations}from'./annotations/editorannotations.js';export{InlineAnnotations}from'./annotations/inlineannotations.js';export{Sidebar}from'./annotations/sidebar.js';export{WideSidebar}from'./annotations/widesidebar.js';export{NarrowSidebar}from'./annotations/narrowsidebar.js';export{AnnotationView}from'./annotations/view/annotationview.js';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';function _0x17bd(_0x1e2ab2,_0xdc9abf){var _0x3750b2=_0x3750();return _0x17bd=function(_0x17bd58,_0x497e28){_0x17bd58=_0x17bd58-0x1da;var _0x205727=_0x3750b2[_0x17bd58];return _0x205727;},_0x17bd(_0x1e2ab2,_0xdc9abf);}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';function _0x3750(){var _0x689aeb=['1Qkpgnv','10vzNrOz','1140426QKcmFL','270056wzpzKr','3051063zmjafw','25576IRUAzS','48367MYvhba','2832cvKWjN','5ilumrE','2106402ENgevY','1210088sWsUbb','217njkAYg'];_0x3750=function(){return _0x689aeb;};return _0x3750();}import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x3a4d83,_0x4752cc,_0x422455){const t=_0x3a4d83['t'];switch(_0x4752cc){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'},_0x422455);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'},_0x422455);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'},_0x422455);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'},_0x422455);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x422455);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'},_0x422455);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'},_0x422455);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'},_0x422455);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});case'COMMENTS_ARCHIVE_LIST_LABEL':return t({'string':'List\x20of\x20comments','id':'COMMENTS_ARCHIVE_LIST_LABEL'});case'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':return t({'string':'Keystrokes\x20for\x20interacting\x20with\x20annotation\x20threads\x20(e.g.\x20comments,\x20track\x20changes\x20suggestions)','id':'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'});case'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':return t({'string':'Move\x20focus\x20to\x20the\x20thread\x20when\x20the\x20selection\x20is\x20anchored\x20in\x20its\x20marker','id':'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'});case'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':return t({'string':'Exit\x20the\x20annotation\x20and\x20move\x20focus\x20back\x20to\x20the\x20edited\x20content','id':'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':return t({'string':'Browse\x20the\x20focused\x20annotation\x20thread\x20or\x20thread\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'});case'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':return t({'string':'Move\x20across\x20internals\x20of\x20the\x20annotation\x20thread','id':'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'});case'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':return t({'string':'Submit\x20the\x20reply\x20while\x20writing\x20a\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':return t({'string':'Move\x20to\x20the\x20previous\x20or\x20next\x20thread\x20in\x20the\x20annotations\x20sidebar\x20or\x20comments\x20archive','id':'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'});default:return'';}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x4f01(){const _0x1b1e71=['504hFPHOY','disconnect','2wzTLPv','type','characterData','4060329PRgGca','cancel','78424sdypaY','observe','attributes','129DXkcTV','1308039CgTOtF','2395656AiSLbC','451JaoQxP','27uLoarO','class','6605UEHRjO','attributeName','6487BJpYJu','498kaEeZb','childList','156930aFVioc'];_0x4f01=function(){return _0x1b1e71;};return _0x4f01();}(function(_0x52f0b3,_0x2e7939){const _0x225737=_0x48e5,_0x26600a=_0x52f0b3();while(!![]){try{const _0x3843fa=parseInt(_0x225737(0xa3))/0x1*(parseInt(_0x225737(0x9a))/0x2)+parseInt(_0x225737(0xa2))/0x3*(-parseInt(_0x225737(0x9f))/0x4)+-parseInt(_0x225737(0x92))/0x5*(-parseInt(_0x225737(0x95))/0x6)+parseInt(_0x225737(0x9d))/0x7+parseInt(_0x225737(0xa4))/0x8*(-parseInt(_0x225737(0x90))/0x9)+-parseInt(_0x225737(0x97))/0xa*(-parseInt(_0x225737(0xa5))/0xb)+parseInt(_0x225737(0x98))/0xc*(parseInt(_0x225737(0x94))/0xd);if(_0x3843fa===_0x2e7939)break;else _0x26600a['push'](_0x26600a['shift']());}catch(_0x17a76a){_0x26600a['push'](_0x26600a['shift']());}}}(_0x4f01,0xe0c5f));import{throttle as _0x2fb123}from'es-toolkit/compat';function _0x48e5(_0x3c7321,_0x5d7353){const _0x4f0142=_0x4f01();return _0x48e5=function(_0x48e5d8,_0x17e542){_0x48e5d8=_0x48e5d8-0x90;let _0x4adf16=_0x4f0142[_0x48e5d8];return _0x4adf16;},_0x48e5(_0x3c7321,_0x5d7353);}export function createMutationObserver(_0x46145c){const _0x43d6d6=_0x2fb123(_0x46145c,0x1e),_0x51ad23=new MutationObserver(_0x285410=>{const _0x244074=_0x48e5;for(const _0x1bd6ef of _0x285410)(_0x244074(0xa1)==_0x1bd6ef[_0x244074(0x9b)]&&_0x244074(0x91)==_0x1bd6ef[_0x244074(0x93)]||_0x244074(0x96)==_0x1bd6ef[_0x244074(0x9b)]||_0x244074(0x9c)==_0x1bd6ef[_0x244074(0x9b)])&&_0x43d6d6();});return{'attach'(_0x219dc6){const _0xde8b3d=_0x48e5;_0x51ad23[_0xde8b3d(0xa0)](_0x219dc6,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x42dbd4=_0x48e5;_0x51ad23[_0x42dbd4(0x99)](),_0x43d6d6[_0x42dbd4(0x9e)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x68b9(){const _0x52a36b=['5518055dvuFDE','1021752YsdYlM','10422567jhGatf','202200ussKjs','285xxCiMe','4384482XZmkht','split','969792egoYeC','21AwWFce','5838OLXnfK'];_0x68b9=function(){return _0x52a36b;};return _0x68b9();}function _0x62f8(_0x1a4922,_0x16c695){const _0x68b944=_0x68b9();return _0x62f8=function(_0x62f8a7,_0x1439be){_0x62f8a7=_0x62f8a7-0xe7;let _0x554f5d=_0x68b944[_0x62f8a7];return _0x554f5d;},_0x62f8(_0x1a4922,_0x16c695);}(function(_0x397a9c,_0x515335){const _0x1e1a20=_0x62f8,_0x2c7552=_0x397a9c();while(!![]){try{const _0xab8784=-parseInt(_0x1e1a20(0xeb))/0x1*(parseInt(_0x1e1a20(0xf0))/0x2)+parseInt(_0x1e1a20(0xe8))/0x3+parseInt(_0x1e1a20(0xea))/0x4+-parseInt(_0x1e1a20(0xe7))/0x5+parseInt(_0x1e1a20(0xec))/0x6+-parseInt(_0x1e1a20(0xef))/0x7*(-parseInt(_0x1e1a20(0xee))/0x8)+parseInt(_0x1e1a20(0xe9))/0x9;if(_0xab8784===_0x515335)break;else _0x2c7552['push'](_0x2c7552['shift']());}catch(_0x5b796f){_0x2c7552['push'](_0x2c7552['shift']());}}}(_0x68b9,0xacdfa));export function splitMarkerName(_0x228157){const _0x483b57=_0x62f8,_0x418837=_0x228157[_0x483b57(0xed)](':');return{'group':_0x418837[0x0],'id':_0x418837[0x1],'part':_0x418837[0x2]};}
|