@ckeditor/ckeditor5-comments 46.0.2-alpha.1 → 46.0.3
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
|
-
const _0x2d67b2=_0x1621;function _0x1621(_0x2407a8,_0x5f1915){const _0x3ccfc3=_0x3ccf();return _0x1621=function(_0x162139,_0x267b94){_0x162139=_0x162139-0xf5;let _0x1ed97c=_0x3ccfc3[_0x162139];return _0x1ed97c;},_0x1621(_0x2407a8,_0x5f1915);}function _0x3ccf(){const _0x4a135e=['_rearrangeCollapse','forEach','focusLast','1655612uytwbF','bind','get','change:isResolved','resolvedCommentView','equal','remove','stopListening','_setupKeyboardNavigation','1RpgUHx','_model','viewUid','63qUZzPm','reverse','190dIjBGU','editorDestroyed','createCollection','focus','delegate','_handleInfoComment','length','change:hasDirtyComment','keystrokes','4555314xbLXFJ','render','removed','visibleViews','add','destroy','refreshVisibleViews','from','Thread\x20comments','_calculatePosition','_collapsedCommentsView','620296tytFAT','hasDirtyComment','collapse','_findOptimalIndex','authoredAt','comments','commentUpdated','_rearrangeExpand','some','editorConfig','ck-thread__comments','733586pmXUQE','focusCycler','commentViews','arrowdown','count','CommentView','resolveCommentThread','Marked\x20as\x20resolved','focusTracker','change:isActive','maxCommentsWhenCollapsed','resolvedAt','arrowup','isEditMode','bindTemplate','resolved','map','resolvedBy','locale','maxCommentCharsWhenCollapsed','832975qybyIO','editorReady','2247630zaaQJS','target','change:isEditMode','ck-hidden','expand','setTemplate','updateComment','change','_config','removeComment','delete','focusFirst','3397959GacNbn','5gYzXrQ','formatDateTime','insert','listenTo','_shouldCollapse','_updateHasDirtyComment','isActive','_handleRemoveCommentModel','added','includes','maxThreadTotalWeight','_handleNewCommentModel','set','weight','element'];_0x3ccf=function(){return _0x4a135e;};return _0x3ccf();}(function(_0x61d49,_0x2c3b14){const _0xd6d5a4=_0x1621,_0x3f4ad2=_0x61d49();while(!![]){try{const _0x11c080=parseInt(_0xd6d5a4(0xfe))/0x1*(-parseInt(_0xd6d5a4(0x122))/0x2)+parseInt(_0xd6d5a4(0x138))/0x3+-parseInt(_0xd6d5a4(0xf5))/0x4*(-parseInt(_0xd6d5a4(0x145))/0x5)+-parseInt(_0xd6d5a4(0x10c))/0x6+-parseInt(_0xd6d5a4(0x101))/0x7*(parseInt(_0xd6d5a4(0x117))/0x8)+-parseInt(_0xd6d5a4(0x144))/0x9+parseInt(_0xd6d5a4(0x103))/0xa*(parseInt(_0xd6d5a4(0x136))/0xb);if(_0x11c080===_0x2c3b14)break;else _0x3f4ad2['push'](_0x3f4ad2['shift']());}catch(_0x452814){_0x3f4ad2['push'](_0x3f4ad2['shift']());}}}(_0x3ccf,0x61c6c));import{View as _0x23f99c,FocusCycler as _0x2d40b6}from'ckeditor5/src/ui.js';import{diff as _0x35d6ab,Collection as _0x21244f,FocusTracker as _0x582801,KeystrokeHandler as _0x151884}from'ckeditor5/src/utils.js';import{getTranslation as _0x4516fa}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x105fc2}from'./collapsedcommentsview.js';export class CommentsListView extends _0x23f99c{[_0x2d67b2(0x124)];[_0x2d67b2(0xf9)];[_0x2d67b2(0x12a)];[_0x2d67b2(0x10b)];[_0x2d67b2(0x123)];[_0x2d67b2(0xff)];[_0x2d67b2(0x140)];[_0x2d67b2(0x116)];constructor(_0x4652fe,_0x29ffe5,_0x5aaf27){const _0x24ac6f=_0x2d67b2;super(_0x4652fe);const _0x358e15=this[_0x24ac6f(0x130)];this[_0x24ac6f(0x151)](_0x24ac6f(0x118),!0x1),this[_0x24ac6f(0x151)](_0x24ac6f(0x109),_0x29ffe5[_0x24ac6f(0x11c)][_0x24ac6f(0x109)]),this[_0x24ac6f(0x151)](_0x24ac6f(0x14b),!0x1),this[_0x24ac6f(0xff)]=_0x29ffe5,this[_0x24ac6f(0x140)]=_0x5aaf27,this[_0x24ac6f(0x124)]=this[_0x24ac6f(0x105)](),this[_0x24ac6f(0x10f)]=this[_0x24ac6f(0x105)](),this[_0x24ac6f(0xf9)]=null,this[_0x24ac6f(0x12a)]=new _0x582801(),this[_0x24ac6f(0x10b)]=new _0x151884(),this[_0x24ac6f(0x123)]=new _0x2d40b6({'focusables':this[_0x24ac6f(0x124)],'focusTracker':this[_0x24ac6f(0x12a)],'keystrokeHandler':this[_0x24ac6f(0x10b)],'keystrokeHandlerOptions':{'filter':_0x127b5d=>this[_0x24ac6f(0x124)][_0x24ac6f(0x132)](_0x40f871=>_0x40f871[_0x24ac6f(0x153)])[_0x24ac6f(0x14e)](_0x127b5d[_0x24ac6f(0x139)])},'actions':{'focusPrevious':_0x24ac6f(0x12e),'focusNext':_0x24ac6f(0x125)}}),this[_0x24ac6f(0x116)]=new _0x105fc2(_0x4652fe),this[_0x24ac6f(0x116)][_0x24ac6f(0xf6)](_0x24ac6f(0x126))['to'](this,_0x24ac6f(0x109),_0x3fb157=>_0x3fb157-this[_0x24ac6f(0x140)][_0x24ac6f(0x12c)]);for(const _0x56fb7d of _0x29ffe5[_0x24ac6f(0x11c)])this[_0x24ac6f(0x150)](_0x56fb7d);this[_0x24ac6f(0x108)](),this[_0x24ac6f(0x148)](_0x29ffe5[_0x24ac6f(0x11c)],_0x24ac6f(0x110),(_0x222dc1,_0x21c37e)=>{const _0x1025fa=_0x24ac6f,_0x2c4ba5=this[_0x1025fa(0x115)](_0x21c37e);this[_0x1025fa(0x109)]++,this[_0x1025fa(0x150)](_0x21c37e,_0x2c4ba5),this[_0x1025fa(0x112)]();}),this[_0x24ac6f(0x148)](_0x29ffe5[_0x24ac6f(0x11c)],_0x24ac6f(0xfb),(_0x5ac323,_0x19c978)=>{const _0x451950=_0x24ac6f;this[_0x451950(0x109)]--,this[_0x451950(0x14c)](_0x19c978),this[_0x451950(0x112)]();}),this[_0x24ac6f(0x148)](_0x29ffe5,_0x24ac6f(0x11d),()=>this[_0x24ac6f(0x112)]()),this[_0x24ac6f(0x148)](_0x29ffe5,_0x24ac6f(0xf8),()=>this[_0x24ac6f(0x108)]()),this['on'](_0x24ac6f(0x12b),()=>this[_0x24ac6f(0x112)]()),this['on'](_0x24ac6f(0x10a),()=>this[_0x24ac6f(0x112)]()),this[_0x24ac6f(0x13d)]({'tag':'ul','attributes':{'class':[_0x24ac6f(0x121),_0x358e15['if'](_0x24ac6f(0x109),_0x24ac6f(0x13b),_0x2e4c2c=>!_0x2e4c2c)],'aria-label':_0x4516fa(_0x4652fe,_0x24ac6f(0x114))},'children':this[_0x24ac6f(0x10f)]});}get[_0x2d67b2(0x149)](){const _0x4e55a6=_0x2d67b2;return this[_0x4e55a6(0xff)][_0x4e55a6(0x152)]>this[_0x4e55a6(0x140)][_0x4e55a6(0x14f)]&&!this[_0x4e55a6(0x14b)]&&!this[_0x4e55a6(0x118)];}[_0x2d67b2(0x10d)](){const _0x56c3d4=_0x2d67b2;super[_0x56c3d4(0x10d)](),this[_0x56c3d4(0x112)](),this[_0x56c3d4(0xfd)]();}[_0x2d67b2(0x106)](_0xd4ab6e){const _0x6c96ac=_0x2d67b2;-0x1===_0xd4ab6e?this[_0x6c96ac(0x123)][_0x6c96ac(0x156)]():this[_0x6c96ac(0x123)][_0x6c96ac(0x143)]();}[_0x2d67b2(0x111)](){const _0x3cbb87=_0x2d67b2;this[_0x3cbb87(0x116)][_0x3cbb87(0x111)]();for(const _0x48b2e2 of this[_0x3cbb87(0x124)])_0x48b2e2[_0x3cbb87(0x111)]();super[_0x3cbb87(0x111)]();}[_0x2d67b2(0x112)](){const _0x2626d8=_0x2d67b2;this[_0x2626d8(0x149)]?this[_0x2626d8(0x154)]():this[_0x2626d8(0x11e)]();}[_0x2d67b2(0x150)](_0xf1fc03,_0x392e14){const _0x39eccc=_0x2d67b2,_0x1415ca=new this[(_0x39eccc(0x140))][(_0x39eccc(0x127))](this[_0x39eccc(0x134)],_0xf1fc03,{'maxCommentCharsWhenCollapsed':this[_0x39eccc(0x140)][_0x39eccc(0x135)],'formatDateTime':this[_0x39eccc(0x140)][_0x39eccc(0x146)],'editorConfig':this[_0x39eccc(0x140)][_0x39eccc(0x120)]});_0x1415ca[_0x39eccc(0x100)]=_0xf1fc03['id'],_0x1415ca[_0x39eccc(0x107)](_0x39eccc(0x141))['to'](this),_0x1415ca[_0x39eccc(0x107)](_0x39eccc(0x13e))['to'](this),_0x1415ca[_0x39eccc(0x107)](_0x39eccc(0x128))['to'](this),_0x1415ca[_0x39eccc(0x107)](_0x39eccc(0x137))['to'](this),_0x1415ca[_0x39eccc(0x107)](_0x39eccc(0x104))['to'](this),this[_0x39eccc(0x148)](_0x1415ca,_0x39eccc(0x13a),()=>this[_0x39eccc(0x14a)]()),this[_0x39eccc(0x124)][_0x39eccc(0x110)](_0x1415ca,_0x392e14);}[_0x2d67b2(0x115)](_0x55f429){const _0x14d5b6=_0x2d67b2,_0x22e89b=this[_0x14d5b6(0xff)][_0x14d5b6(0x11a)](_0x55f429);return this[_0x14d5b6(0xf9)]?this[_0x14d5b6(0xf9)][_0x14d5b6(0x11b)]>_0x55f429[_0x14d5b6(0x11b)]?_0x22e89b-0x1:_0x22e89b:_0x22e89b-0x1;}[_0x2d67b2(0x108)](){const _0x2ff38f=_0x2d67b2;if(this[_0x2ff38f(0xff)][_0x2ff38f(0x133)]&&this[_0x2ff38f(0xff)][_0x2ff38f(0x12d)]){const _0x51c399={'id':_0x2ff38f(0x131),'author':this[_0x2ff38f(0xff)][_0x2ff38f(0x133)],'authoredAt':this[_0x2ff38f(0xff)][_0x2ff38f(0x12d)],'content':_0x4516fa(this[_0x2ff38f(0x134)],_0x2ff38f(0x129)),'attributes':{}};this[_0x2ff38f(0xf9)]=new this[(_0x2ff38f(0x140))][(_0x2ff38f(0x127))](this[_0x2ff38f(0x134)],_0x51c399,{'maxCommentCharsWhenCollapsed':this[_0x2ff38f(0x140)][_0x2ff38f(0x135)],'formatDateTime':this[_0x2ff38f(0x140)][_0x2ff38f(0x146)],'editorConfig':this[_0x2ff38f(0x140)][_0x2ff38f(0x120)],'isSystemComment':!0x0}),this[_0x2ff38f(0x124)][_0x2ff38f(0x110)](this[_0x2ff38f(0xf9)],this[_0x2ff38f(0xff)][_0x2ff38f(0x11a)](_0x51c399));}else this[_0x2ff38f(0xf9)]&&(this[_0x2ff38f(0x124)][_0x2ff38f(0xfb)](this[_0x2ff38f(0xf9)]),this[_0x2ff38f(0xf9)][_0x2ff38f(0x111)](),this[_0x2ff38f(0xf9)]=null);this[_0x2ff38f(0x112)]();}[_0x2d67b2(0x14c)](_0x3a5724){const _0x11125f=_0x2d67b2,_0x493d89=this[_0x11125f(0x124)][_0x11125f(0xfb)](_0x3a5724['id']);this[_0x11125f(0xfc)](_0x493d89),_0x493d89[_0x11125f(0x12f)]&&this[_0x11125f(0x14a)](),_0x493d89[_0x11125f(0x111)]();}[_0x2d67b2(0x14a)](){const _0x482a7d=_0x2d67b2;this[_0x482a7d(0x118)]=Array[_0x482a7d(0x113)](this[_0x482a7d(0x124)])[_0x482a7d(0x11f)](_0x501304=>_0x501304[_0x482a7d(0x12f)]);}[_0x2d67b2(0x154)](){const _0x1b2bc1=_0x2d67b2,_0x12ddcc=function(_0x4f5060){const _0x415005=_0x1621,_0x5492d3=new _0x21244f();for(const _0x5dc1e3 of _0x4f5060)_0x5492d3[_0x415005(0x110)](_0x5dc1e3);return _0x5492d3;}(this[_0x1b2bc1(0x124)]),_0x222e6a=this[_0x1b2bc1(0x116)][_0x1b2bc1(0x126)];for(let _0x29af1c=0x1;_0x29af1c<=_0x222e6a;_0x29af1c++)_0x12ddcc[_0x1b2bc1(0xfb)](0x1);for(const _0x4c1d4d of _0x12ddcc)_0x4c1d4d[_0x1b2bc1(0x119)]();_0x222e6a>0x0&&_0x12ddcc[_0x1b2bc1(0x110)](this[_0x1b2bc1(0x116)],0x1),ns(_0x35d6ab(Array[_0x1b2bc1(0x113)](this[_0x1b2bc1(0x10f)]),Array[_0x1b2bc1(0x113)](_0x12ddcc)),this[_0x1b2bc1(0x10f)],_0x12ddcc);}[_0x2d67b2(0x11e)](){const _0x3a1a72=_0x2d67b2;ns(_0x35d6ab(Array[_0x3a1a72(0x113)](this[_0x3a1a72(0x10f)]),Array[_0x3a1a72(0x113)](this[_0x3a1a72(0x124)])),this[_0x3a1a72(0x10f)],this[_0x3a1a72(0x124)]);for(const _0x5bb336 of this[_0x3a1a72(0x10f)])_0x5bb336[_0x3a1a72(0x13c)]();}[_0x2d67b2(0xfd)](){const _0x2d1f96=_0x2d67b2;this[_0x2d1f96(0x124)][_0x2d1f96(0x155)](_0xfb27ed=>{const _0x37a2f4=_0x2d1f96;this[_0x37a2f4(0x12a)][_0x37a2f4(0x110)](_0xfb27ed[_0x37a2f4(0x153)]),this[_0x37a2f4(0x10b)][_0x37a2f4(0x148)](_0xfb27ed[_0x37a2f4(0x153)]);}),this[_0x2d1f96(0x124)]['on'](_0x2d1f96(0x13f),(_0x2f800f,_0xeef34b)=>{const _0x35adc2=_0x2d1f96;for(const _0x532af0 of _0xeef34b[_0x35adc2(0x10e)])this[_0x35adc2(0x12a)][_0x35adc2(0xfb)](_0x532af0[_0x35adc2(0x153)]),this[_0x35adc2(0x10b)][_0x35adc2(0xfc)](_0x532af0[_0x35adc2(0x153)]);for(const _0x45e67e of Array[_0x35adc2(0x113)](_0xeef34b[_0x35adc2(0x14d)])[_0x35adc2(0x102)]())this[_0x35adc2(0x12a)][_0x35adc2(0x110)](_0x45e67e[_0x35adc2(0x153)]),this[_0x35adc2(0x10b)][_0x35adc2(0x148)](_0x45e67e[_0x35adc2(0x153)]);});}}function ns(_0x2f7748,_0x5ee243,_0x994491){const _0x14221a=_0x2d67b2;let _0x217531=0x0;for(const _0x440e0b of _0x2f7748)switch(_0x440e0b){case _0x14221a(0x147):_0x5ee243[_0x14221a(0x110)](_0x994491[_0x14221a(0xf7)](_0x217531),_0x217531),_0x217531++;break;case _0x14221a(0x142):_0x5ee243[_0x14221a(0xfb)](_0x217531);break;case _0x14221a(0xfa):_0x217531++;}}
|
|
23
|
+
const _0x229e15=_0x2efb;(function(_0x2713a4,_0x2e6464){const _0xf0f6f3=_0x2efb,_0x29ab71=_0x2713a4();while(!![]){try{const _0xbd76ca=parseInt(_0xf0f6f3(0x8b))/0x1*(-parseInt(_0xf0f6f3(0xbe))/0x2)+parseInt(_0xf0f6f3(0x94))/0x3+parseInt(_0xf0f6f3(0xb7))/0x4*(parseInt(_0xf0f6f3(0xd8))/0x5)+parseInt(_0xf0f6f3(0x9d))/0x6*(parseInt(_0xf0f6f3(0x8f))/0x7)+parseInt(_0xf0f6f3(0xd1))/0x8+-parseInt(_0xf0f6f3(0x7c))/0x9*(parseInt(_0xf0f6f3(0xcf))/0xa)+-parseInt(_0xf0f6f3(0xa7))/0xb;if(_0xbd76ca===_0x2e6464)break;else _0x29ab71['push'](_0x29ab71['shift']());}catch(_0x5c7743){_0x29ab71['push'](_0x29ab71['shift']());}}}(_0x3b70,0xb4bed));function _0x3b70(){const _0x330104=['listenTo','_handleRemoveCommentModel','focusTracker','_shouldCollapse','element','removeComment','remove','Thread\x20comments','from','visibleViews','8HrickX','commentUpdated','_handleNewCommentModel','_model','change:isResolved','locale','ck-thread__comments','10eUZIYI','forEach','_handleInfoComment','stopListening','CommentView','collapse','updateComment','target','destroy','removed','editorDestroyed','_collapsedCommentsView','count','_calculatePosition','insert','keystrokes','_findOptimalIndex','14167410SJqcqn','change:isActive','10409056edTgTf','map','comments','refreshVisibleViews','resolveCommentThread','resolvedCommentView','resolved','3640220dCkSnV','_config','focus','render','commentViews','bind','9wzsTJM','authoredAt','change:hasDirtyComment','arrowup','editorReady','delete','ck-hidden','viewUid','expand','some','formatDateTime','resolvedAt','_updateHasDirtyComment','createCollection','resolvedBy','166205tuNPAz','arrowdown','Marked\x20as\x20resolved','focusFirst','2856YFDhxz','change:isEditMode','maxCommentsWhenCollapsed','get','_rearrangeCollapse','1716729LGVAge','change','added','editorConfig','reverse','focusCycler','weight','_rearrangeExpand','bindTemplate','20682gMBKag','setTemplate','hasDirtyComment','set','maxThreadTotalWeight','add','isActive','equal','maxCommentCharsWhenCollapsed','focusLast','19225140tLyMhx','_setupKeyboardNavigation','length','isEditMode','delegate','includes'];_0x3b70=function(){return _0x330104;};return _0x3b70();}import{View as _0x21bee4,FocusCycler as _0x4b4bab}from'ckeditor5/src/ui.js';import{diff as _0x51bfb2,Collection as _0x13fca2,FocusTracker as _0x966a73,KeystrokeHandler as _0x54b17d}from'ckeditor5/src/utils.js';import{getTranslation as _0x1dd8e9}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x1284a4}from'./collapsedcommentsview.js';function _0x2efb(_0x40e2ea,_0x4d3498){const _0x3b70ec=_0x3b70();return _0x2efb=function(_0x2efbb1,_0x138e3e){_0x2efbb1=_0x2efbb1-0x77;let _0x2ae9a7=_0x3b70ec[_0x2efbb1];return _0x2ae9a7;},_0x2efb(_0x40e2ea,_0x4d3498);}export class CommentsListView extends _0x21bee4{[_0x229e15(0x7a)];[_0x229e15(0xd6)];[_0x229e15(0xaf)];[_0x229e15(0xcd)];[_0x229e15(0x99)];[_0x229e15(0xba)];[_0x229e15(0x77)];[_0x229e15(0xc9)];constructor(_0x3d7763,_0xf7f4f1,_0x1b8a90){const _0x1ef75e=_0x229e15;super(_0x3d7763);const _0x1198f4=this[_0x1ef75e(0x9c)];this[_0x1ef75e(0xa0)](_0x1ef75e(0x9f),!0x1),this[_0x1ef75e(0xa0)](_0x1ef75e(0xa9),_0xf7f4f1[_0x1ef75e(0xd3)][_0x1ef75e(0xa9)]),this[_0x1ef75e(0xa0)](_0x1ef75e(0xa3),!0x1),this[_0x1ef75e(0xba)]=_0xf7f4f1,this[_0x1ef75e(0x77)]=_0x1b8a90,this[_0x1ef75e(0x7a)]=this[_0x1ef75e(0x89)](),this[_0x1ef75e(0xb6)]=this[_0x1ef75e(0x89)](),this[_0x1ef75e(0xd6)]=null,this[_0x1ef75e(0xaf)]=new _0x966a73(),this[_0x1ef75e(0xcd)]=new _0x54b17d(),this[_0x1ef75e(0x99)]=new _0x4b4bab({'focusables':this[_0x1ef75e(0x7a)],'focusTracker':this[_0x1ef75e(0xaf)],'keystrokeHandler':this[_0x1ef75e(0xcd)],'keystrokeHandlerOptions':{'filter':_0x16496f=>this[_0x1ef75e(0x7a)][_0x1ef75e(0xd2)](_0x3e5bb6=>_0x3e5bb6[_0x1ef75e(0xb1)])[_0x1ef75e(0xac)](_0x16496f[_0x1ef75e(0xc5)])},'actions':{'focusPrevious':_0x1ef75e(0x7f),'focusNext':_0x1ef75e(0x8c)}}),this[_0x1ef75e(0xc9)]=new _0x1284a4(_0x3d7763),this[_0x1ef75e(0xc9)][_0x1ef75e(0x7b)](_0x1ef75e(0xca))['to'](this,_0x1ef75e(0xa9),_0x3ca9f9=>_0x3ca9f9-this[_0x1ef75e(0x77)][_0x1ef75e(0x91)]);for(const _0xeffcd2 of _0xf7f4f1[_0x1ef75e(0xd3)])this[_0x1ef75e(0xb9)](_0xeffcd2);this[_0x1ef75e(0xc0)](),this[_0x1ef75e(0xad)](_0xf7f4f1[_0x1ef75e(0xd3)],_0x1ef75e(0xa2),(_0x186d1c,_0x1fc524)=>{const _0xec0d0d=_0x1ef75e,_0x252fff=this[_0xec0d0d(0xcb)](_0x1fc524);this[_0xec0d0d(0xa9)]++,this[_0xec0d0d(0xb9)](_0x1fc524,_0x252fff),this[_0xec0d0d(0xd4)]();}),this[_0x1ef75e(0xad)](_0xf7f4f1[_0x1ef75e(0xd3)],_0x1ef75e(0xb3),(_0x544711,_0x42ea3d)=>{const _0x2b84f7=_0x1ef75e;this[_0x2b84f7(0xa9)]--,this[_0x2b84f7(0xae)](_0x42ea3d),this[_0x2b84f7(0xd4)]();}),this[_0x1ef75e(0xad)](_0xf7f4f1,_0x1ef75e(0xb8),()=>this[_0x1ef75e(0xd4)]()),this[_0x1ef75e(0xad)](_0xf7f4f1,_0x1ef75e(0xbb),()=>this[_0x1ef75e(0xc0)]()),this['on'](_0x1ef75e(0xd0),()=>this[_0x1ef75e(0xd4)]()),this['on'](_0x1ef75e(0x7e),()=>this[_0x1ef75e(0xd4)]()),this[_0x1ef75e(0x9e)]({'tag':'ul','attributes':{'class':[_0x1ef75e(0xbd),_0x1198f4['if'](_0x1ef75e(0xa9),_0x1ef75e(0x82),_0xa1b379=>!_0xa1b379)],'aria-label':_0x1dd8e9(_0x3d7763,_0x1ef75e(0xb4))},'children':this[_0x1ef75e(0xb6)]});}get[_0x229e15(0xb0)](){const _0x47a1df=_0x229e15;return this[_0x47a1df(0xba)][_0x47a1df(0x9a)]>this[_0x47a1df(0x77)][_0x47a1df(0xa1)]&&!this[_0x47a1df(0xa3)]&&!this[_0x47a1df(0x9f)];}[_0x229e15(0x79)](){const _0x7334a9=_0x229e15;super[_0x7334a9(0x79)](),this[_0x7334a9(0xd4)](),this[_0x7334a9(0xa8)]();}[_0x229e15(0x78)](_0x1cb9cb){const _0x39a127=_0x229e15;-0x1===_0x1cb9cb?this[_0x39a127(0x99)][_0x39a127(0xa6)]():this[_0x39a127(0x99)][_0x39a127(0x8e)]();}[_0x229e15(0xc6)](){const _0x26d886=_0x229e15;this[_0x26d886(0xc9)][_0x26d886(0xc6)]();for(const _0x1b2c85 of this[_0x26d886(0x7a)])_0x1b2c85[_0x26d886(0xc6)]();super[_0x26d886(0xc6)]();}[_0x229e15(0xd4)](){const _0x699762=_0x229e15;this[_0x699762(0xb0)]?this[_0x699762(0x93)]():this[_0x699762(0x9b)]();}[_0x229e15(0xb9)](_0x4f4381,_0x2ab210){const _0x529aa3=_0x229e15,_0x557b5e=new this[(_0x529aa3(0x77))][(_0x529aa3(0xc2))](this[_0x529aa3(0xbc)],_0x4f4381,{'maxCommentCharsWhenCollapsed':this[_0x529aa3(0x77)][_0x529aa3(0xa5)],'formatDateTime':this[_0x529aa3(0x77)][_0x529aa3(0x86)],'editorConfig':this[_0x529aa3(0x77)][_0x529aa3(0x97)]});_0x557b5e[_0x529aa3(0x83)]=_0x4f4381['id'],_0x557b5e[_0x529aa3(0xab)](_0x529aa3(0xb2))['to'](this),_0x557b5e[_0x529aa3(0xab)](_0x529aa3(0xc4))['to'](this),_0x557b5e[_0x529aa3(0xab)](_0x529aa3(0xd5))['to'](this),_0x557b5e[_0x529aa3(0xab)](_0x529aa3(0x80))['to'](this),_0x557b5e[_0x529aa3(0xab)](_0x529aa3(0xc8))['to'](this),this[_0x529aa3(0xad)](_0x557b5e,_0x529aa3(0x90),()=>this[_0x529aa3(0x88)]()),this[_0x529aa3(0x7a)][_0x529aa3(0xa2)](_0x557b5e,_0x2ab210);}[_0x229e15(0xcb)](_0x4a28b5){const _0x2df48d=_0x229e15,_0x3ed7f3=this[_0x2df48d(0xba)][_0x2df48d(0xce)](_0x4a28b5);return this[_0x2df48d(0xd6)]?this[_0x2df48d(0xd6)][_0x2df48d(0x7d)]>_0x4a28b5[_0x2df48d(0x7d)]?_0x3ed7f3-0x1:_0x3ed7f3:_0x3ed7f3-0x1;}[_0x229e15(0xc0)](){const _0x5e27ba=_0x229e15;if(this[_0x5e27ba(0xba)][_0x5e27ba(0x8a)]&&this[_0x5e27ba(0xba)][_0x5e27ba(0x87)]){const _0x4aca6d={'id':_0x5e27ba(0xd7),'author':this[_0x5e27ba(0xba)][_0x5e27ba(0x8a)],'authoredAt':this[_0x5e27ba(0xba)][_0x5e27ba(0x87)],'content':_0x1dd8e9(this[_0x5e27ba(0xbc)],_0x5e27ba(0x8d)),'attributes':{}};this[_0x5e27ba(0xd6)]=new this[(_0x5e27ba(0x77))][(_0x5e27ba(0xc2))](this[_0x5e27ba(0xbc)],_0x4aca6d,{'maxCommentCharsWhenCollapsed':this[_0x5e27ba(0x77)][_0x5e27ba(0xa5)],'formatDateTime':this[_0x5e27ba(0x77)][_0x5e27ba(0x86)],'editorConfig':this[_0x5e27ba(0x77)][_0x5e27ba(0x97)],'isSystemComment':!0x0}),this[_0x5e27ba(0x7a)][_0x5e27ba(0xa2)](this[_0x5e27ba(0xd6)],this[_0x5e27ba(0xba)][_0x5e27ba(0xce)](_0x4aca6d));}else this[_0x5e27ba(0xd6)]&&(this[_0x5e27ba(0x7a)][_0x5e27ba(0xb3)](this[_0x5e27ba(0xd6)]),this[_0x5e27ba(0xd6)][_0x5e27ba(0xc6)](),this[_0x5e27ba(0xd6)]=null);this[_0x5e27ba(0xd4)]();}[_0x229e15(0xae)](_0x3ccd82){const _0x2c9534=_0x229e15,_0x1565ef=this[_0x2c9534(0x7a)][_0x2c9534(0xb3)](_0x3ccd82['id']);this[_0x2c9534(0xc1)](_0x1565ef),_0x1565ef[_0x2c9534(0xaa)]&&this[_0x2c9534(0x88)](),_0x1565ef[_0x2c9534(0xc6)]();}[_0x229e15(0x88)](){const _0x20ed80=_0x229e15;this[_0x20ed80(0x9f)]=Array[_0x20ed80(0xb5)](this[_0x20ed80(0x7a)])[_0x20ed80(0x85)](_0x26a16a=>_0x26a16a[_0x20ed80(0xaa)]);}[_0x229e15(0x93)](){const _0xe98a2d=_0x229e15,_0x5d628d=function(_0x5b71f2){const _0x2c8ae8=_0x2efb,_0x5d1549=new _0x13fca2();for(const _0xdc280d of _0x5b71f2)_0x5d1549[_0x2c8ae8(0xa2)](_0xdc280d);return _0x5d1549;}(this[_0xe98a2d(0x7a)]),_0x5bbe47=this[_0xe98a2d(0xc9)][_0xe98a2d(0xca)];for(let _0x2bd900=0x1;_0x2bd900<=_0x5bbe47;_0x2bd900++)_0x5d628d[_0xe98a2d(0xb3)](0x1);for(const _0x931c9b of _0x5d628d)_0x931c9b[_0xe98a2d(0xc3)]();_0x5bbe47>0x0&&_0x5d628d[_0xe98a2d(0xa2)](this[_0xe98a2d(0xc9)],0x1),ns(_0x51bfb2(Array[_0xe98a2d(0xb5)](this[_0xe98a2d(0xb6)]),Array[_0xe98a2d(0xb5)](_0x5d628d)),this[_0xe98a2d(0xb6)],_0x5d628d);}[_0x229e15(0x9b)](){const _0x56e360=_0x229e15;ns(_0x51bfb2(Array[_0x56e360(0xb5)](this[_0x56e360(0xb6)]),Array[_0x56e360(0xb5)](this[_0x56e360(0x7a)])),this[_0x56e360(0xb6)],this[_0x56e360(0x7a)]);for(const _0x207d46 of this[_0x56e360(0xb6)])_0x207d46[_0x56e360(0x84)]();}[_0x229e15(0xa8)](){const _0x55b296=_0x229e15;this[_0x55b296(0x7a)][_0x55b296(0xbf)](_0x23fb8c=>{const _0x4cb31a=_0x55b296;this[_0x4cb31a(0xaf)][_0x4cb31a(0xa2)](_0x23fb8c[_0x4cb31a(0xb1)]),this[_0x4cb31a(0xcd)][_0x4cb31a(0xad)](_0x23fb8c[_0x4cb31a(0xb1)]);}),this[_0x55b296(0x7a)]['on'](_0x55b296(0x95),(_0x31f68a,_0x4850a7)=>{const _0x2740ea=_0x55b296;for(const _0x35ed6f of _0x4850a7[_0x2740ea(0xc7)])this[_0x2740ea(0xaf)][_0x2740ea(0xb3)](_0x35ed6f[_0x2740ea(0xb1)]),this[_0x2740ea(0xcd)][_0x2740ea(0xc1)](_0x35ed6f[_0x2740ea(0xb1)]);for(const _0x12a061 of Array[_0x2740ea(0xb5)](_0x4850a7[_0x2740ea(0x96)])[_0x2740ea(0x98)]())this[_0x2740ea(0xaf)][_0x2740ea(0xa2)](_0x12a061[_0x2740ea(0xb1)]),this[_0x2740ea(0xcd)][_0x2740ea(0xad)](_0x12a061[_0x2740ea(0xb1)]);});}}function ns(_0x596208,_0x419f91,_0x10cedf){const _0x3f40a9=_0x229e15;let _0x2874d3=0x0;for(const _0x2a830d of _0x596208)switch(_0x2a830d){case _0x3f40a9(0xcc):_0x419f91[_0x3f40a9(0xa2)](_0x10cedf[_0x3f40a9(0x92)](_0x2874d3),_0x2874d3),_0x2874d3++;break;case _0x3f40a9(0x81):_0x419f91[_0x3f40a9(0xb3)](_0x2874d3);break;case _0x3f40a9(0xa4):_0x2874d3++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xc733(){const _0x25e0d3=['7cEaipg','THREAD_CONTEXT_LABEL','bindTemplate','focus','3200AJQZMu','33837Ibbdfk','9SQOuVs','contextValue','span','setTemplate','855282mjHpxy','10lOCLdb','754264ULvqYM','ck-context__value','element','1715850aRgNiX','set','1280wUiMEu','1816441qzzihc','425472lmpKku'];_0xc733=function(){return _0x25e0d3;};return _0xc733();}function _0x5566(_0x1d3835,_0x70735b){const _0xc73392=_0xc733();return _0x5566=function(_0x5566b1,_0x164c1e){_0x5566b1=_0x5566b1-0x136;let _0x3be4ce=_0xc73392[_0x5566b1];return _0x3be4ce;},_0x5566(_0x1d3835,_0x70735b);}const _0x54806b=_0x5566;(function(_0x1881a5,_0x5f19f8){const _0x2adb03=_0x5566,_0x24391c=_0x1881a5();while(!![]){try{const _0x53259f=parseInt(_0x2adb03(0x138))/0x1*(parseInt(_0x2adb03(0x13e))/0x2)+-parseInt(_0x2adb03(0x146))/0x3+parseInt(_0x2adb03(0x137))/0x4*(parseInt(_0x2adb03(0x144))/0x5)+-parseInt(_0x2adb03(0x13d))/0x6*(-parseInt(_0x2adb03(0x147))/0x7)+-parseInt(_0x2adb03(0x13f))/0x8*(-parseInt(_0x2adb03(0x139))/0x9)+-parseInt(_0x2adb03(0x142))/0xa+-parseInt(_0x2adb03(0x145))/0xb;if(_0x53259f===_0x5f19f8)break;else _0x24391c['push'](_0x24391c['shift']());}catch(_0x1d04de){_0x24391c['push'](_0x24391c['shift']());}}}(_0xc733,0x204b3));import{View as _0x52d3df}from'ckeditor5/src/ui.js';import{getTranslation as _0x950bb3}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x52d3df{constructor(_0x2b6865){const _0x3bdfbd=_0x5566;super(_0x2b6865);const _0x25fec0=this[_0x3bdfbd(0x149)];this[_0x3bdfbd(0x143)](_0x3bdfbd(0x13a),''),this[_0x3bdfbd(0x13c)]({'tag':_0x3bdfbd(0x13b),'attributes':{'class':['ck',_0x3bdfbd(0x140)],'aria-label':_0x25fec0['to'](_0x3bdfbd(0x13a),_0x501cef=>_0x950bb3(_0x2b6865,_0x3bdfbd(0x148),_0x501cef)),'tabindex':-0x1},'children':[{'text':_0x25fec0['to'](_0x3bdfbd(0x13a))}]});}[_0x54806b(0x136)](){const _0x517de7=_0x54806b;this[_0x517de7(0x141)][_0x517de7(0x136)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4fe04c=_0x23eb;(function(_0x1e794a,_0x4ad520){const _0x3980b8=_0x23eb,_0x4590c7=_0x1e794a();while(!![]){try{const _0x5e1465=parseInt(_0x3980b8(0x1bd))/0x1*(parseInt(_0x3980b8(0x1e1))/0x2)+-parseInt(_0x3980b8(0x1b3))/0x3*(-parseInt(_0x3980b8(0x1c2))/0x4)+parseInt(_0x3980b8(0x1a9))/0x5*(parseInt(_0x3980b8(0x1cf))/0x6)+parseInt(_0x3980b8(0x1ca))/0x7+-parseInt(_0x3980b8(0x1ae))/0x8+parseInt(_0x3980b8(0x1d5))/0x9+-parseInt(_0x3980b8(0x1ad))/0xa*(parseInt(_0x3980b8(0x1c8))/0xb);if(_0x5e1465===_0x4ad520)break;else _0x4590c7['push'](_0x4590c7['shift']());}catch(_0x158a46){_0x4590c7['push'](_0x4590c7['shift']());}}}(_0x58a1,0x8dc84));function _0x23eb(_0x5cb62a,_0xca4efc){const _0x58a1d2=_0x58a1();return _0x23eb=function(_0x23eb3f,_0x5af11d){_0x23eb3f=_0x23eb3f-0x1a7;let _0x2d86f6=_0x58a1d2[_0x23eb3f];return _0x2d86f6;},_0x23eb(_0x5cb62a,_0xca4efc);}import{View as _0x37fe29,ButtonView as _0x11b8a4,FocusCycler as _0x3084b7}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1274b6,KeystrokeHandler as _0x4ae053}from'ckeditor5/src/utils.js';function _0x58a1(){const _0x414a6e=['tooltip','offsetWidth','1896405xVVaTA','contextView','_model','reopenButtonView','1270aoOjzK','4913288jjqEKt','add','setTemplate','bindTemplate','mouseleave','3WqMFiV','focusFirst','.ck-context','isResolved','ck-thread__header','focusTracker','_createReopenButton','fire','scrollWidth','context','159CxvxkP','Comment\x20was\x20made\x20on\x20an\x20element','remove','listenTo','label','755788hKhFxY','bind','Reopen','querySelector','createCollection','shift+tab','173272XDhQnb','focusCycler','2589405XmCkkY','_trimContextValue','focus','render','locale','18aoZaRC','ck-context--quotes','length','contextValue','lastIndexOf','ck-annotation__actions','8949168VuVyfZ','classList','value','mouseenter','substring','reopenCommentThread','keystrokes','ck-context','div','overlay','isVisible','...','6344VWPaHb','_attachContextActions','element','focusables','_setupKeyboardNavigation','ck-context-wrapper','isResolvable','isReadOnly','.ck-context__value','isEnabled','hasContext','tab','icon','execute','_createContextView'];_0x58a1=function(){return _0x414a6e;};return _0x58a1();}import{IconUndo as _0x2abc40}from'ckeditor5/src/icons.js';import{getTranslation as _0x1ebe90}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x320625}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x37fe29{[_0x4fe04c(0x1ab)];[_0x4fe04c(0x1ac)];[_0x4fe04c(0x1aa)];[_0x4fe04c(0x1e4)];[_0x4fe04c(0x1b8)];[_0x4fe04c(0x1db)];[_0x4fe04c(0x1c9)];constructor(_0x376df5,_0xf3a541){const _0x1d661b=_0x4fe04c;super(_0x376df5);const _0x4247b4=this[_0x1d661b(0x1b1)];this[_0x1d661b(0x1ab)]=_0xf3a541,this[_0x1d661b(0x1ac)]=this[_0x1d661b(0x1b9)](),this[_0x1d661b(0x1aa)]=this[_0x1d661b(0x1ef)](),this[_0x1d661b(0x1e4)]=this[_0x1d661b(0x1c6)]([this[_0x1d661b(0x1aa)],this[_0x1d661b(0x1ac)]]),this[_0x1d661b(0x1b8)]=new _0x1274b6(),this[_0x1d661b(0x1db)]=new _0x4ae053(),this[_0x1d661b(0x1c9)]=new _0x3084b7({'focusables':this[_0x1d661b(0x1e4)],'focusTracker':this[_0x1d661b(0x1b8)],'keystrokeHandler':this[_0x1d661b(0x1db)],'actions':{'focusPrevious':_0x1d661b(0x1c7),'focusNext':_0x1d661b(0x1ec)}}),this[_0x1d661b(0x1c3)](_0x1d661b(0x1eb))['to'](this[_0x1d661b(0x1ab)],_0x1d661b(0x1bc),_0x46a6a8=>!!_0x46a6a8),this[_0x1d661b(0x1c3)](_0x1d661b(0x1d2))['to'](this[_0x1d661b(0x1ab)],_0x1d661b(0x1bc),_0x262b5c=>_0x262b5c&&_0x262b5c[_0x1d661b(0x1d7)]?this[_0x1d661b(0x1cb)](_0x262b5c[_0x1d661b(0x1d7)]):_0x1ebe90(this[_0x1d661b(0x1ce)],_0x1d661b(0x1be))),this[_0x1d661b(0x1b0)]({'tag':_0x1d661b(0x1dd),'attributes':{'class':[_0x1d661b(0x1b7)]},'children':[{'tag':_0x1d661b(0x1dd),'attributes':{'class':[_0x1d661b(0x1e6)]},'children':[{'tag':_0x1d661b(0x1dd),'attributes':{'class':[_0x1d661b(0x1dc),_0x4247b4['if'](_0x1d661b(0x1eb),_0x1d661b(0x1d0))]},'children':[this[_0x1d661b(0x1aa)]]}]},{'tag':_0x1d661b(0x1dd),'attributes':{'class':[_0x1d661b(0x1d4)]},'children':[this[_0x1d661b(0x1ac)]]}]});}[_0x4fe04c(0x1cd)](){const _0x3669ad=_0x4fe04c;super[_0x3669ad(0x1cd)](),this[_0x3669ad(0x1e2)](),this[_0x3669ad(0x1e5)]();}[_0x4fe04c(0x1cc)](){const _0x1e2279=_0x4fe04c;this[_0x1e2279(0x1c9)][_0x1e2279(0x1b4)]();}[_0x4fe04c(0x1b9)](){const _0x67bb9c=_0x4fe04c,_0x24f29e=new _0x11b8a4(this[_0x67bb9c(0x1ce)]);return _0x24f29e[_0x67bb9c(0x1c1)]=_0x1ebe90(this[_0x67bb9c(0x1ce)],_0x67bb9c(0x1c4)),_0x24f29e[_0x67bb9c(0x1a7)]=_0x1ebe90(this[_0x67bb9c(0x1ce)],_0x67bb9c(0x1c4)),_0x24f29e[_0x67bb9c(0x1ed)]=_0x2abc40,_0x24f29e[_0x67bb9c(0x1c3)](_0x67bb9c(0x1ea))['to'](this[_0x67bb9c(0x1ab)],_0x67bb9c(0x1e8),_0x4e7885=>!_0x4e7885),_0x24f29e[_0x67bb9c(0x1c3)](_0x67bb9c(0x1df))['to'](this[_0x67bb9c(0x1ab)],_0x67bb9c(0x1e7),this[_0x67bb9c(0x1ab)],_0x67bb9c(0x1b6),(_0x24cb64,_0x493fc1)=>_0x24cb64&&_0x493fc1),_0x24f29e['on'](_0x67bb9c(0x1ee),()=>{const _0xafafda=_0x67bb9c;this[_0xafafda(0x1ba)](_0xafafda(0x1da),this[_0xafafda(0x1ab)]['id']);}),_0x24f29e;}[_0x4fe04c(0x1cb)](_0x522680){const _0x302795=_0x4fe04c;if(_0x522680[_0x302795(0x1d1)]<0x96)return _0x522680;const _0x1e52f3=_0x522680[_0x302795(0x1d3)]('\x20',0x93);return _0x522680[_0x302795(0x1d9)](0x0,_0x1e52f3>-0x1?_0x1e52f3:0x93)+_0x302795(0x1e0);}[_0x4fe04c(0x1e2)](){const _0x4aa83a=_0x4fe04c,_0x3f1865=this[_0x4aa83a(0x1e3)][_0x4aa83a(0x1c5)](_0x4aa83a(0x1b5)),_0x165823=_0x3f1865[_0x4aa83a(0x1c5)](_0x4aa83a(0x1e9));this[_0x4aa83a(0x1c0)](_0x3f1865,_0x4aa83a(0x1d8),()=>{const _0x1501cb=_0x4aa83a;_0x165823[_0x1501cb(0x1a8)]<_0x165823[_0x1501cb(0x1bb)]&&_0x3f1865[_0x1501cb(0x1d6)][_0x1501cb(0x1af)](_0x1501cb(0x1de));}),this[_0x4aa83a(0x1c0)](_0x3f1865,_0x4aa83a(0x1b2),()=>{const _0x14614e=_0x4aa83a;_0x3f1865[_0x14614e(0x1d6)][_0x14614e(0x1bf)](_0x14614e(0x1de));});}[_0x4fe04c(0x1e5)](){const _0x2d85e8=_0x4fe04c;this[_0x2d85e8(0x1db)][_0x2d85e8(0x1c0)](this[_0x2d85e8(0x1e3)]);for(const _0x25ee29 of this[_0x2d85e8(0x1e4)])this[_0x2d85e8(0x1b8)][_0x2d85e8(0x1af)](_0x25ee29[_0x2d85e8(0x1e3)]),this[_0x2d85e8(0x1db)][_0x2d85e8(0x1c0)](_0x25ee29[_0x2d85e8(0x1e3)]);}[_0x4fe04c(0x1ef)](){const _0x559504=_0x4fe04c,_0x174219=new _0x320625(this[_0x559504(0x1ce)]);return _0x174219[_0x559504(0x1c3)](_0x559504(0x1d2))['to'](this),_0x174219;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x204319=_0x6dc7;function _0x1df5(){const _0x515453=['bind','editorDestroyed','target','ck-comment__input-container--active','contains','editorReady','destroy','delegate','filter','focusCycler','54771ugeFRP','31278qkNMUz','_focusOnNonInteractiveMouseDown','258534JQZZHR','96spDWra','1931670QvdBZJ','mousedown','div','ck-thread__input','focus','11549439jUhmCP','editor','createEditor','bindTemplate','set','focusTracker','5rHZyKD','element','commentInputView','2AFDjvR','574ganpXa','setTemplate','listenTo','extendTemplate','ck-thread__user','view','render','userView','some','editing','showInput','isFocused','59784dZBCYf','showButtons','value','change:showInput','ck-comment__input-container','preventDefault','5551992roDnAF','getDomRoot','then'];_0x1df5=function(){return _0x515453;};return _0x1df5();}(function(_0x3c821b,_0x1ff889){const _0x32e585=_0x6dc7,_0x6235cb=_0x3c821b();while(!![]){try{const _0x395b87=parseInt(_0x32e585(0xe3))/0x1*(-parseInt(_0x32e585(0xf5))/0x2)+parseInt(_0x32e585(0xe2))/0x3*(-parseInt(_0x32e585(0xe6))/0x4)+parseInt(_0x32e585(0xf2))/0x5*(-parseInt(_0x32e585(0xe5))/0x6)+-parseInt(_0x32e585(0xf6))/0x7*(-parseInt(_0x32e585(0x102))/0x8)+-parseInt(_0x32e585(0x108))/0x9+-parseInt(_0x32e585(0xe7))/0xa+parseInt(_0x32e585(0xec))/0xb;if(_0x395b87===_0x1ff889)break;else _0x6235cb['push'](_0x6235cb['shift']());}catch(_0x4de2c8){_0x6235cb['push'](_0x6235cb['shift']());}}}(_0x1df5,0x530b1));function _0x6dc7(_0xd8af5b,_0x397dfe){const _0x1df5aa=_0x1df5();return _0x6dc7=function(_0x6dc723,_0x1ee58f){_0x6dc723=_0x6dc723-0xd9;let _0x1ef15b=_0x1df5aa[_0x6dc723];return _0x1ef15b;},_0x6dc7(_0xd8af5b,_0x397dfe);}import{View as _0xd51271}from'ckeditor5/src/ui.js';import{CommentInputView as _0x373a3c}from'./commentinputview.js';import{UserView as _0x23dd21}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0xd51271{constructor(_0x1a9fe3,_0x472700,_0x45f507){const _0x68df72=_0x6dc7;super(_0x1a9fe3),this[_0x68df72(0xf4)]=new _0x373a3c(_0x1a9fe3,_0x45f507),this[_0x68df72(0xe1)]=this[_0x68df72(0xf4)][_0x68df72(0xe1)],this[_0x68df72(0xf4)][_0x68df72(0x10b)](_0x68df72(0x103))['to'](this[_0x68df72(0xf4)][_0x68df72(0xf1)],_0x68df72(0x101),this[_0x68df72(0xf4)],_0x68df72(0x104),(_0x5eb4d0,_0x1def6e)=>_0x5eb4d0||!!_0x1def6e),this[_0x68df72(0xf0)](_0x68df72(0x100),!0x1),this['on'](_0x68df72(0x105),()=>{const _0x55aee9=_0x68df72;this[_0x55aee9(0x100)]&&!this[_0x55aee9(0xf4)][_0x55aee9(0xed)]&&this[_0x55aee9(0xf4)][_0x55aee9(0xee)]();}),this[_0x68df72(0xf4)][_0x68df72(0xdf)](_0x68df72(0xdd))['to'](this),this[_0x68df72(0xf4)][_0x68df72(0xdf)](_0x68df72(0xd9))['to'](this),this[_0x68df72(0xfd)]=new _0x23dd21(_0x1a9fe3,_0x472700),this[_0x68df72(0xfd)][_0x68df72(0xf9)]({'attributes':{'class':_0x68df72(0xfa),'aria-hidden':!0x0}}),this[_0x68df72(0xf4)][_0x68df72(0xf9)]({'attributes':{'class':_0x68df72(0xea)}}),this[_0x68df72(0xf7)]({'tag':_0x68df72(0xe9),'attributes':{'class':[_0x68df72(0x106),this[_0x68df72(0xef)]['if'](_0x68df72(0x100),_0x68df72(0xdb))]},'children':[this[_0x68df72(0xfd)],this[_0x68df72(0xf4)]]});}[_0x204319(0xfc)](){const _0x211ae1=_0x204319;super[_0x211ae1(0xfc)](),this[_0x211ae1(0xe4)]();}[_0x204319(0xde)](){const _0x264e6e=_0x204319;return this[_0x264e6e(0xf4)][_0x264e6e(0xde)]()[_0x264e6e(0x10a)](()=>super[_0x264e6e(0xde)]());}[_0x204319(0xeb)](_0x4b5715){const _0x4f57d5=_0x204319;this[_0x4f57d5(0xf4)][_0x4f57d5(0xeb)](_0x4b5715);}[_0x204319(0xe4)](){const _0x4caec6=_0x204319;this[_0x4caec6(0xf8)](this[_0x4caec6(0xf3)],_0x4caec6(0xe8),(_0x12431b,_0x407e62)=>{const _0xeae868=_0x4caec6,{submitButtonView:_0x59661c,cancelButtonView:_0xed286e,editor:_0x352db8}=this[_0xeae868(0xf4)];[_0x59661c[_0xeae868(0xf3)],_0xed286e[_0xeae868(0xf3)],_0x352db8?_0x352db8[_0xeae868(0xff)][_0xeae868(0xfb)][_0xeae868(0x109)]():null][_0xeae868(0xe0)](_0x129455=>_0x129455)[_0xeae868(0xfe)](_0x3b0b5f=>_0x3b0b5f[_0xeae868(0xdc)](_0x407e62[_0xeae868(0xda)]))||(this[_0xeae868(0xeb)](),_0x407e62[_0xeae868(0x107)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x3963(){const _0x37bced=['locale','ck-thread--remove-confirmation','isSystemComment','Write\x20a\x20comment...','_model','_updateArchivedThreadHeader','div','.ck-thread__container','high','ck-thread--active','commentThreadInputView','showConfirm','1503928PkWyau','element','isResolved','has','set','querySelector','_bindFirstCommentView','unbind','350195jeJUdI','change:isActive','ariaDescriptionView','_createResolveButton','get','38vDmWnj','isEnabled','cancelConfirm','Resolve','commentsListView','isVisible','actionBar','getTemplate','isResolvable','ck-thread','commentThreadChildren','createCollection','12BuYlsY','isUnlinked','452598CXlUDA','ck-thread__container','bindTemplate','resolveCommentThread','stop','removeButton','4059pzmQwK','bind','setTemplate','length','ck-rounded-corners','focus','icon','1095444fTdrRJ','removeConfirm','listenTo','execute','actionIndicator','change:isReadOnly','27813xnhpYv','Delete\x20comment\x20thread?','tooltip','removeCommentThread','resolveButton','commentThreadHeaderView','extendTemplate','placeholder','render','_boundFirstCommentView','focusables','archivedAt','15843TLpWbw','commentViews','containerElement','change:archivedAt','ck-thread--unlinked','ariaLabel','isActive','remove','listitem','_cancelAllConfirms','label','isReadOnly','fire','then','add','ck-comment--resolve','7MXWVcf','isConfirm','ck-thread--','3610veFISU','ck-reset_all-excluded'];_0x3963=function(){return _0x37bced;};return _0x3963();}function _0x1c0c(_0x3e2626,_0x27ab85){const _0x3963d8=_0x3963();return _0x1c0c=function(_0x1c0c52,_0x32ae33){_0x1c0c52=_0x1c0c52-0x1ab;let _0x2c64ef=_0x3963d8[_0x1c0c52];return _0x2c64ef;},_0x1c0c(_0x3e2626,_0x27ab85);}const _0x3c93f7=_0x1c0c;(function(_0x240cb8,_0x2933a1){const _0x1c6c50=_0x1c0c,_0x3c5e28=_0x240cb8();while(!![]){try{const _0x51a36a=parseInt(_0x1c6c50(0x1af))/0x1+-parseInt(_0x1c6c50(0x1dd))/0x2*(-parseInt(_0x1c6c50(0x1fe))/0x3)+-parseInt(_0x1c6c50(0x1e9))/0x4*(-parseInt(_0x1c6c50(0x1d8))/0x5)+parseInt(_0x1c6c50(0x1eb))/0x6*(-parseInt(_0x1c6c50(0x1bf))/0x7)+-parseInt(_0x1c6c50(0x1d0))/0x8+parseInt(_0x1c6c50(0x1f8))/0x9+-parseInt(_0x1c6c50(0x1c2))/0xa*(parseInt(_0x1c6c50(0x1f1))/0xb);if(_0x51a36a===_0x2933a1)break;else _0x3c5e28['push'](_0x3c5e28['shift']());}catch(_0x1d6738){_0x3c5e28['push'](_0x3c5e28['shift']());}}}(_0x3963,0x1f0d8));import{ConfirmMixin as _0x34b357,LateFocusButtonView as _0x12f29b}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x4ffff0}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x276758}from'./basecommentthreadview.js';import{getTranslation as _0x340a52}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x34b357(_0x276758){[_0x3c93f7(0x1e7)];[_0x3c93f7(0x1b1)];[_0x3c93f7(0x202)];[_0x3c93f7(0x1ac)];constructor(_0x4931e4,_0x283eae,_0x58062b,_0x1fa5f0){const _0x33c82c=_0x3c93f7;super(_0x4931e4,_0x283eae,_0x58062b,_0x1fa5f0),this[_0x33c82c(0x1e7)]=this[_0x33c82c(0x1e8)]([this[_0x33c82c(0x1e1)],this[_0x33c82c(0x1ce)],this[_0x33c82c(0x1da)]]),this[_0x33c82c(0x1d4)](_0x33c82c(0x1fc),null),this[_0x33c82c(0x1b1)]=null,this[_0x33c82c(0x1ac)]=null,this[_0x33c82c(0x1c4)]=_0x4931e4,this[_0x33c82c(0x202)]=this[_0x33c82c(0x1db)](),this[_0x33c82c(0x1f3)](this[_0x33c82c(0x1e4)]()),this['on'](_0x33c82c(0x1d9),(_0xde4522,_0x4af56c,_0x4672e4)=>{const _0x400e8d=_0x33c82c;_0x4672e4||this[_0x400e8d(0x1b8)]();}),this[_0x33c82c(0x1fa)](this[_0x33c82c(0x1c8)],_0x33c82c(0x1fd),(_0x26e73a,_0x937dd,_0x245fa6)=>{const _0x7676f2=_0x33c82c;_0x245fa6&&this[_0x7676f2(0x1b8)]();}),this[_0x33c82c(0x1f4)]>0x0&&this[_0x33c82c(0x1d6)](),this[_0x33c82c(0x1fa)](this[_0x33c82c(0x1e1)][_0x33c82c(0x1b0)],_0x33c82c(0x1bd),()=>{const _0x594ec2=_0x33c82c;this[_0x594ec2(0x1d6)]();});}[_0x3c93f7(0x1e4)](){const _0x698c5d=_0x3c93f7,_0x7d716a=this[_0x698c5d(0x1ed)];return{'tag':_0x698c5d(0x1ca),'attributes':{'class':['ck',_0x698c5d(0x1e6),_0x698c5d(0x1c3),_0x698c5d(0x1f5),_0x7d716a['if'](_0x698c5d(0x1b5),_0x698c5d(0x1cd)),_0x7d716a['if'](_0x698c5d(0x1ea),_0x698c5d(0x1b3)),_0x7d716a['if'](_0x698c5d(0x1c0),_0x698c5d(0x1c5)),_0x7d716a['to'](_0x698c5d(0x1fc),_0x547d5c=>_0x547d5c?_0x698c5d(0x1c1)+_0x547d5c:'')],'data-thread-id':this[_0x698c5d(0x1c8)]['id'],'tabindex':0x0,'role':_0x698c5d(0x1b7),'aria-label':_0x7d716a['to'](_0x698c5d(0x1b4)),'aria-describedby':this[_0x698c5d(0x1da)]['id']},'children':[{'tag':_0x698c5d(0x1ca),'attributes':{'class':_0x698c5d(0x1ec)},'children':this[_0x698c5d(0x1e7)]}]};}[_0x3c93f7(0x1ab)](){const _0x180139=_0x3c93f7;super[_0x180139(0x1ab)](),this[_0x180139(0x1b1)]=this[_0x180139(0x1d1)][_0x180139(0x1d5)](_0x180139(0x1cb)),this[_0x180139(0x1c8)]['on'](_0x180139(0x1b2),()=>{const _0xc3f8dd=_0x180139;this[_0xc3f8dd(0x1c9)]();}),this[_0x180139(0x1c9)]();}[_0x3c93f7(0x1b8)](){const _0x33687a=_0x3c93f7;this[_0x33687a(0x1df)]();for(const _0x3c8bc6 of this[_0x33687a(0x1e1)][_0x33687a(0x1b0)])_0x3c8bc6[_0x33687a(0x1df)]();}[_0x3c93f7(0x1d6)](){const _0x1dcd07=_0x3c93f7,{locale:_0x2d2cf2}=this,_0x166132=this[_0x1dcd07(0x1e1)][_0x1dcd07(0x1b0)][_0x1dcd07(0x1dc)](0x0);_0x166132===this[_0x1dcd07(0x1ac)]||_0x166132[_0x1dcd07(0x1c6)]||(this[_0x1dcd07(0x1ac)]=_0x166132,this[_0x1dcd07(0x1d7)](_0x1dcd07(0x1fc)),this[_0x1dcd07(0x1f2)](_0x1dcd07(0x1fc))['to'](_0x166132,_0x1dcd07(0x1fc),_0x38b022=>_0x1dcd07(0x1b6)===_0x38b022?_0x1dcd07(0x1b6):null),_0x166132[_0x1dcd07(0x205)]=_0x340a52(_0x2d2cf2,_0x1dcd07(0x1c7)),_0x166132[_0x1dcd07(0x1f0)]['on'](_0x1dcd07(0x1fb),_0x274e83=>{const _0x541770=_0x1dcd07;_0x274e83[_0x541770(0x1ef)](),this[_0x541770(0x1cf)](_0x340a52(_0x2d2cf2,_0x541770(0x1ff)),this[_0x541770(0x1b1)])[_0x541770(0x1bc)](()=>{const _0x543d41=_0x541770;this[_0x543d41(0x1bb)](_0x543d41(0x201));});},{'priority':_0x1dcd07(0x1cc)}),this['on'](_0x1dcd07(0x1f9),()=>{const _0x13f8d0=_0x1dcd07;_0x166132[_0x13f8d0(0x1f6)]();}),_0x166132[_0x1dcd07(0x1e3)][_0x1dcd07(0x1bd)](this[_0x1dcd07(0x202)],0x0),_0x166132[_0x1dcd07(0x1ad)][_0x1dcd07(0x1bd)](this[_0x1dcd07(0x202)],0x0));}[_0x3c93f7(0x1db)](){const _0x5032ee=_0x3c93f7,_0x5692c6=new _0x12f29b(this[_0x5032ee(0x1c4)]);return _0x5692c6[_0x5032ee(0x1b9)]=_0x340a52(this[_0x5032ee(0x1c4)],_0x5032ee(0x1e0)),_0x5692c6[_0x5032ee(0x200)]=_0x340a52(this[_0x5032ee(0x1c4)],_0x5032ee(0x1e0)),_0x5692c6[_0x5032ee(0x1f7)]=_0x4ffff0,_0x5692c6[_0x5032ee(0x204)]({'attributes':{'class':_0x5032ee(0x1be)}}),_0x5692c6[_0x5032ee(0x1f2)](_0x5032ee(0x1de))['to'](this[_0x5032ee(0x1c8)],_0x5032ee(0x1ba),_0x3db37d=>!_0x3db37d),_0x5692c6[_0x5032ee(0x1f2)](_0x5032ee(0x1e2))['to'](this[_0x5032ee(0x1c8)],_0x5032ee(0x1e5),this[_0x5032ee(0x1c8)],_0x5032ee(0x1d2),(_0x2526fe,_0x451f61)=>_0x2526fe&&!_0x451f61),_0x5692c6['on'](_0x5032ee(0x1fb),()=>{const _0x203fdd=_0x5032ee;this[_0x203fdd(0x1bb)](_0x203fdd(0x1ee),this[_0x203fdd(0x1c8)]['id']);}),_0x5692c6;}[_0x3c93f7(0x1c9)](){const _0x3f0e9e=_0x3c93f7;this[_0x3f0e9e(0x1c8)][_0x3f0e9e(0x1ae)]?this[_0x3f0e9e(0x1e7)][_0x3f0e9e(0x1d3)](this[_0x3f0e9e(0x203)])||(this[_0x3f0e9e(0x1e7)][_0x3f0e9e(0x1bd)](this[_0x3f0e9e(0x203)],0x0),this[_0x3f0e9e(0x1ad)][_0x3f0e9e(0x1bd)](this[_0x3f0e9e(0x203)],0x0)):this[_0x3f0e9e(0x1e7)][_0x3f0e9e(0x1d3)](this[_0x3f0e9e(0x203)])&&(this[_0x3f0e9e(0x1e7)][_0x3f0e9e(0x1b6)](this[_0x3f0e9e(0x203)]),this[_0x3f0e9e(0x1ad)][_0x3f0e9e(0x1b6)](this[_0x3f0e9e(0x203)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1506aa=_0x326f;(function(_0x1c2e5b,_0x1ceeed){const _0x22402e=_0x326f,_0x3d67e2=_0x1c2e5b();while(!![]){try{const _0x153692=-parseInt(_0x22402e(0x133))/0x1*(parseInt(_0x22402e(0x184))/0x2)+parseInt(_0x22402e(0x144))/0x3*(-parseInt(_0x22402e(0x12e))/0x4)+parseInt(_0x22402e(0x159))/0x5+parseInt(_0x22402e(0x13c))/0x6*(parseInt(_0x22402e(0x158))/0x7)+-parseInt(_0x22402e(0x112))/0x8*(-parseInt(_0x22402e(0x11c))/0x9)+parseInt(_0x22402e(0x136))/0xa*(-parseInt(_0x22402e(0x13d))/0xb)+parseInt(_0x22402e(0x172))/0xc;if(_0x153692===_0x1ceeed)break;else _0x3d67e2['push'](_0x3d67e2['shift']());}catch(_0x30c010){_0x3d67e2['push'](_0x3d67e2['shift']());}}}(_0x4292,0x3f70d));import{IconRemoveComment as _0x17e481,IconPencil as _0x177b29,IconThreeVerticalDots as _0x5f146b}from'ckeditor5/src/icons.js';import{ButtonView as _0x41f72c,createDropdown as _0x5be06c,ListView as _0x55572c,ListItemView as _0x227b36,focusChildOnDropdownOpen as _0x23fee2}from'ckeditor5/src/ui.js';function _0x326f(_0x41b1f3,_0x393544){const _0x429201=_0x4292();return _0x326f=function(_0x326f4e,_0x3c1636){_0x326f4e=_0x326f4e-0x10d;let _0x11617d=_0x429201[_0x326f4e];return _0x11617d;},_0x326f(_0x41b1f3,_0x393544);}function _0x4292(){const _0x995304=['isRemovable','ck-comment__info','Reply...','9nBlUaW','render','remove','locale','icon','_createEditButton','visibleView','ck-comment__external','from','formatDateTime','ck-comment--remove','ck-annotation','element','ck-annotation__info','focusables','author','resolvedAt','_createDropdown','5472cUALTJ','dropdown','ck-comment__info-time','addMany','ck-comment--edit','9321fZQUYZ','isEditMode','ck-comment','6530RKLzFZ','fire','_createCommentInputView','children','extendTemplate','ck-hidden','87732feFdlE','638PdbJIV','withText','switchToEditMode','focus','ck-comment--info','some','find','858BzMRiT','ariaLabel','add','_model','cancelConfirm','ck-comment--','div','isExternal','listitem','getTemplate','ck-comment__main','listenTo','isEnabled','_createRemoveButton','actionBar','ck-comment__wrapper','panelView','ck-annotation__actions','isEditable','Show\x20more\x20items','154WsgPML','635015jPHMuj','push','createCollection','length','time','userView','ck-annotation__info-time','ck-comment--remove-confirmation','ck-annotation__info-name','group','then','panelPosition','blur','editButton','actionIndicator','ariaDescriptionView','unbind','name','mouseleave','bindTemplate','buttonView','Delete\x20comment?','_attachActions','ck-comment__info-name','span','1593828uRfvQL','ck-comment__user','ck-comment__actions--hidden','getExternalCommentNote','removeComment','isConfirm','showConfirm','ck-annotation__main','label','ck-annotation__user','isVisible','isSystemComment','toMany','isReadOnly','removeButton','placeholder','ck-comment__actions','getUserViewNotificationText','26CusWos','setTemplate','ck-annotation__content-wrapper','Edit','execute','edit','_config','authoredAt','Remove','1829136PPNcdp','items','bind','mouseenter','ck-annotation__actions--hidden','set','change:isRemovable'];_0x4292=function(){return _0x995304;};return _0x4292();}import{UserView as _0x383612,ConfirmMixin as _0x1f9fad,LateFocusDropdownButtonView as _0x3bf813}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x596ceb}from'./basecommentview.js';import{getTranslation as _0x1b536a}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1f9fad(_0x596ceb){[_0x1506aa(0x152)];[_0x1506aa(0x15e)];constructor(_0x3f0a63,_0x2c4edd,_0x4e1cb8){const _0xc04788=_0x1506aa;super(_0x3f0a63,_0x2c4edd,_0x4e1cb8),this[_0xc04788(0x117)](_0xc04788(0x167),null),this[_0xc04788(0x117)](_0xc04788(0x181),_0x1b536a(_0x3f0a63,_0xc04788(0x11b))),this[_0xc04788(0x114)](_0xc04788(0x110))['to'](_0x2c4edd),this[_0xc04788(0x114)](_0xc04788(0x12c))['to'](_0x2c4edd),this[_0xc04788(0x152)]=this[_0xc04788(0x15b)](),this[_0xc04788(0x17d)]||(this[_0xc04788(0x166)]=this[_0xc04788(0x121)](),this[_0xc04788(0x180)]=this[_0xc04788(0x151)](),this[_0xc04788(0x113)]=this[_0xc04788(0x15b)](),this[_0xc04788(0x113)][_0xc04788(0x131)]([this[_0xc04788(0x166)],this[_0xc04788(0x180)]]),this[_0xc04788(0x12f)]=this[_0xc04788(0x12d)](),this[_0xc04788(0x152)][_0xc04788(0x146)](this[_0xc04788(0x12f)]),this[_0xc04788(0x12a)][_0xc04788(0x146)](this[_0xc04788(0x12f)])),this[_0xc04788(0x15e)]=new _0x383612(_0x3f0a63,_0x2c4edd[_0xc04788(0x12b)],this[_0xc04788(0x183)]()),this[_0xc04788(0x15e)][_0xc04788(0x13a)]({'attributes':{'class':[_0xc04788(0x173),_0xc04788(0x17b)],'aria-hidden':!0x0}}),this[_0xc04788(0x14f)](_0x2c4edd,_0xc04788(0x118),()=>this[_0xc04788(0x148)]()),this[_0xc04788(0x185)](this[_0xc04788(0x14d)]());}[_0x1506aa(0x14d)](){const _0x4018c3=_0x1506aa,_0x44876f=this[_0x4018c3(0x16c)],_0x5ea539=[{'tag':_0x4018c3(0x14a),'attributes':{'class':[_0x4018c3(0x11a),_0x4018c3(0x129)]},'children':[{'tag':_0x4018c3(0x171),'children':[{'text':this[_0x4018c3(0x15e)][_0x4018c3(0x16a)]}],'attributes':{'class':[_0x4018c3(0x170),_0x4018c3(0x161)],'data-cke-tooltip-text':this[_0x4018c3(0x15e)][_0x4018c3(0x16a)]}},{'tag':_0x4018c3(0x15d),'attributes':{'datetime':_0x44876f['to'](_0x4018c3(0x110)),'class':[_0x4018c3(0x130),_0x4018c3(0x15f)]},'children':[{'text':_0x44876f['to'](_0x4018c3(0x110),_0x150e47=>this[_0x4018c3(0x10f)][_0x4018c3(0x125)](_0x150e47))}]}]},{'tag':_0x4018c3(0x14a),'attributes':{'class':[_0x4018c3(0x182),_0x4018c3(0x155),_0x44876f['if'](_0x4018c3(0x134),_0x4018c3(0x174)),_0x44876f['if'](_0x4018c3(0x134),_0x4018c3(0x116))]},'children':this[_0x4018c3(0x152)]},{'tag':_0x4018c3(0x14a),'attributes':{'class':[_0x4018c3(0x186)]},'children':this[_0x4018c3(0x122)]},this[_0x4018c3(0x168)]];return this[_0x4018c3(0x147)][_0x4018c3(0x14b)]&&_0x5ea539[_0x4018c3(0x15a)]({'tag':_0x4018c3(0x14a),'attributes':{'class':[_0x4018c3(0x123)]},'children':[{'text':this[_0x4018c3(0x175)]()}]}),{'tag':'li','attributes':{'class':[_0x4018c3(0x153),_0x44876f['if'](_0x4018c3(0x177),_0x4018c3(0x160))],'tabindex':-0x1,'aria-label':_0x44876f['to'](_0x4018c3(0x145)),'aria-describedby':this[_0x4018c3(0x168)]['id'],'role':_0x4018c3(0x14c)},'children':[{'tag':_0x4018c3(0x14a),'attributes':{'class':[_0x4018c3(0x135),_0x4018c3(0x127),_0x44876f['if'](_0x4018c3(0x134),_0x4018c3(0x132)),_0x44876f['if'](_0x4018c3(0x17d),_0x4018c3(0x141)),_0x44876f['to'](_0x4018c3(0x167),_0x539483=>_0x539483?_0x4018c3(0x149)+_0x539483:'')],'data-author-id':this[_0x4018c3(0x147)][_0x4018c3(0x12b)]['id'],'data-comment-id':this[_0x4018c3(0x147)]['id'],'role':_0x4018c3(0x162)},'children':[this[_0x4018c3(0x15e)],{'tag':_0x4018c3(0x14a),'attributes':{'class':[_0x4018c3(0x14e),_0x4018c3(0x179)]},'children':_0x5ea539}]}]};}[_0x1506aa(0x121)](){const _0x2b8996=_0x1506aa,_0x25e267=new _0x41f72c(this[_0x2b8996(0x11f)]);return _0x25e267[_0x2b8996(0x17a)]=_0x1b536a(this[_0x2b8996(0x11f)],_0x2b8996(0x187)),_0x25e267[_0x2b8996(0x120)]=_0x177b29,_0x25e267[_0x2b8996(0x13e)]=!0x0,_0x25e267[_0x2b8996(0x13a)]({'attributes':{'class':_0x2b8996(0x132)}}),_0x25e267[_0x2b8996(0x114)](_0x2b8996(0x150))['to'](this[_0x2b8996(0x147)],_0x2b8996(0x17f),_0x4c25b8=>!_0x4c25b8),_0x25e267[_0x2b8996(0x114)](_0x2b8996(0x17c))['to'](this[_0x2b8996(0x147)],_0x2b8996(0x156)),_0x25e267['on'](_0x2b8996(0x10d),()=>this[_0x2b8996(0x13f)]()),_0x25e267;}[_0x1506aa(0x151)](){const _0x978b75=_0x1506aa,_0x3774c2=new _0x41f72c(this[_0x978b75(0x11f)]);return _0x3774c2[_0x978b75(0x17a)]=_0x1b536a(this[_0x978b75(0x11f)],_0x978b75(0x111)),_0x3774c2[_0x978b75(0x120)]=_0x17e481,_0x3774c2[_0x978b75(0x13e)]=!0x0,_0x3774c2[_0x978b75(0x13a)]({'attributes':{'class':_0x978b75(0x126)}}),_0x3774c2[_0x978b75(0x114)](_0x978b75(0x150))['to'](this[_0x978b75(0x147)],_0x978b75(0x17f),_0x4804f7=>!_0x4804f7),_0x3774c2[_0x978b75(0x114)](_0x978b75(0x17c))['to'](this[_0x978b75(0x147)],_0x978b75(0x119)),_0x3774c2['on'](_0x978b75(0x10d),()=>{const _0x5a547f=_0x978b75;this[_0x5a547f(0x178)](_0x1b536a(this[_0x5a547f(0x11f)],_0x5a547f(0x16e)),this[_0x5a547f(0x128)])[_0x5a547f(0x163)](()=>{const _0x2fa163=_0x5a547f;this[_0x2fa163(0x137)](_0x2fa163(0x176),this[_0x2fa163(0x147)]['id']);});}),_0x3774c2;}[_0x1506aa(0x12d)](){const _0x231579=_0x1506aa,_0x203f69=_0x5be06c(this[_0x231579(0x11f)],_0x3bf813),_0x4720a6=_0x203f69[_0x231579(0x154)][_0x231579(0x139)],_0x3071dc=new _0x55572c(this[_0x231579(0x11f)]),_0x49528c=_0x203f69[_0x231579(0x16c)];_0x23fee2(_0x203f69,()=>this[_0x231579(0x113)][_0x231579(0x143)](_0x1dcadc=>_0x1dcadc[_0x231579(0x17c)])),_0x203f69[_0x231579(0x13a)]({'attributes':{'class':[_0x49528c['if'](_0x231579(0x17c),_0x231579(0x13b),_0xf3a612=>!_0xf3a612)]}});const _0xbceb41=(_0x499771,_0x2ef6f9=-0x1)=>{const _0x250eed=_0x231579,_0x37e2b3=new _0x227b36(this[_0x250eed(0x11f)]);_0x37e2b3[_0x250eed(0x139)][_0x250eed(0x146)](_0x499771);const _0x413e55=_0x2ef6f9>-0x1?_0x2ef6f9:_0x3071dc[_0x250eed(0x113)][_0x250eed(0x15c)];_0x3071dc[_0x250eed(0x113)][_0x250eed(0x146)](_0x37e2b3,_0x413e55);const _0x111bef=Array[_0x250eed(0x124)](this[_0x250eed(0x113)]);_0x203f69[_0x250eed(0x169)](_0x250eed(0x150),_0x250eed(0x17c)),_0x203f69[_0x250eed(0x114)](_0x250eed(0x150))[_0x250eed(0x17e)](_0x111bef,_0x250eed(0x150),(..._0x512f80)=>_0x512f80[_0x250eed(0x142)](_0xfaa5ba=>_0xfaa5ba)),_0x203f69[_0x250eed(0x114)](_0x250eed(0x17c))[_0x250eed(0x17e)](_0x111bef,_0x250eed(0x17c),(..._0x1aa71d)=>_0x1aa71d[_0x250eed(0x142)](_0x2c6d3=>_0x2c6d3));};_0x203f69[_0x231579(0x164)]='sw',_0x203f69[_0x231579(0x16d)][_0x231579(0x117)]({'label':_0x1b536a(this[_0x231579(0x11f)],_0x231579(0x157)),'icon':_0x5f146b});for(const _0x7022d0 of this[_0x231579(0x113)])_0xbceb41(_0x7022d0);return _0x4720a6[_0x231579(0x146)](_0x3071dc),_0x203f69[_0x231579(0x14f)](this[_0x231579(0x113)],_0x231579(0x146),(_0x28c781,_0x5ac851,_0x423fad)=>{_0xbceb41(_0x5ac851,_0x423fad);}),_0x203f69[_0x231579(0x14f)](this[_0x231579(0x113)],_0x231579(0x11e),(_0x153cf4,_0x4933ee,_0xcd29aa)=>{const _0x5c1925=_0x231579;_0x3071dc[_0x5c1925(0x113)][_0x5c1925(0x11e)](_0xcd29aa);}),_0x203f69;}[_0x1506aa(0x16f)](_0x38e53b,_0x5d2279){const _0x284a38=_0x1506aa,_0x24d8f3=_0x38e53b&&_0x38e53b[_0x284a38(0x128)];_0x24d8f3&&(this[_0x284a38(0x14f)](_0x24d8f3,_0x284a38(0x115),()=>this[_0x284a38(0x167)]=_0x5d2279),this[_0x284a38(0x14f)](_0x24d8f3,_0x284a38(0x140),()=>this[_0x284a38(0x167)]=_0x5d2279),this[_0x284a38(0x14f)](_0x24d8f3,_0x284a38(0x16b),()=>this[_0x284a38(0x167)]=null),this[_0x284a38(0x14f)](_0x24d8f3,_0x284a38(0x165),()=>this[_0x284a38(0x167)]=null));}[_0x1506aa(0x138)](){const _0x2c11e2=_0x1506aa,_0x19fe49=super[_0x2c11e2(0x138)]();return _0x19fe49[_0x2c11e2(0x114)](_0x2c11e2(0x181))['to'](this),_0x19fe49;}[_0x1506aa(0x11d)](){const _0x3558c9=_0x1506aa;super[_0x3558c9(0x11d)](),this[_0x3558c9(0x16f)](this[_0x3558c9(0x166)],_0x3558c9(0x10e)),this[_0x3558c9(0x16f)](this[_0x3558c9(0x180)],_0x3558c9(0x11e));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x3f67(_0x276d73,_0x2cfb5f){var _0x2eab7=_0x2eab();return _0x3f67=function(_0x3f6768,_0x3252ad){_0x3f6768=_0x3f6768-0x16d;var _0x27eb33=_0x2eab7[_0x3f6768];return _0x27eb33;},_0x3f67(_0x276d73,_0x2cfb5f);}var _0x58c0a0=_0x3f67;(function(_0x5732bd,_0x2f4b17){var _0x1b00fe=_0x3f67,_0xadc3aa=_0x5732bd();while(!![]){try{var _0x41a5b9=-parseInt(_0x1b00fe(0x16d))/0x1+-parseInt(_0x1b00fe(0x174))/0x2+parseInt(_0x1b00fe(0x17c))/0x3*(-parseInt(_0x1b00fe(0x172))/0x4)+parseInt(_0x1b00fe(0x178))/0x5+-parseInt(_0x1b00fe(0x170))/0x6*(-parseInt(_0x1b00fe(0x17a))/0x7)+-parseInt(_0x1b00fe(0x177))/0x8*(parseInt(_0x1b00fe(0x171))/0x9)+-parseInt(_0x1b00fe(0x176))/0xa*(-parseInt(_0x1b00fe(0x175))/0xb);if(_0x41a5b9===_0x2f4b17)break;else _0xadc3aa['push'](_0xadc3aa['shift']());}catch(_0xdf9578){_0xadc3aa['push'](_0xadc3aa['shift']());}}}(_0x2eab,0x8a04e));import{Plugin as _0x399166}from'ckeditor5/src/core.js';import{CommentsRepository as _0x9e8b9c}from'./comments/commentsrepository.js';import{CommentsEditing as _0xb2606f}from'./comments/commentsediting.js';import{CommentsUI as _0x35aa01}from'./comments/commentsui.js';import{CommentsOnly as _0x19ac18}from'./commentsonly.js';import{WideSidebar as _0x4c17d6}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x49085d}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x3c849c}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x49c046}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x44df18}from'./comments/commentsarchive.js';export class Comments extends _0x399166{static get[_0x58c0a0(0x16e)](){return[_0x9e8b9c,_0xb2606f,_0x35aa01,_0x44df18,_0x49c046,_0x19ac18,_0x4c17d6,_0x49085d,_0x3c849c];}static get[_0x58c0a0(0x173)](){var _0x8bca7f=_0x58c0a0;return _0x8bca7f(0x16f);}static get[_0x58c0a0(0x179)](){return!0x0;}static get[_0x58c0a0(0x17b)](){return!0x0;}}function _0x2eab(){var _0x444b6d=['4472501XwUeks','70CtcyTO','356568cXNFza','1308890jCzKzu','isOfficialPlugin','1071OzUmLc','isPremiumPlugin','174006bZwkgj','1029397cJraHt','requires','Comments','17256gJNkQg','45hiTulU','56SEyVgO','pluginName','1836674CknWlA'];_0x2eab=function(){return _0x444b6d;};return _0x2eab();}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4118e8=_0x5ad9;(function(_0x46675c,_0x3eda02){const _0x538e3e=_0x5ad9,_0x196b74=_0x46675c();while(!![]){try{const _0x3631de=-parseInt(_0x538e3e(0x10b))/0x1*(-parseInt(_0x538e3e(0x122))/0x2)+-parseInt(_0x538e3e(0x114))/0x3*(-parseInt(_0x538e3e(0xff))/0x4)+-parseInt(_0x538e3e(0x103))/0x5+-parseInt(_0x538e3e(0x116))/0x6+-parseInt(_0x538e3e(0x118))/0x7+parseInt(_0x538e3e(0xfb))/0x8+-parseInt(_0x538e3e(0x10c))/0x9;if(_0x3631de===_0x3eda02)break;else _0x196b74['push'](_0x196b74['shift']());}catch(_0x54fa5b){_0x196b74['push'](_0x196b74['shift']());}}}(_0x12c8,0x89553));import{Plugin as _0x1b09e9}from'ckeditor5/src/core.js';function _0x5ad9(_0x584b86,_0x14f157){const _0x12c880=_0x12c8();return _0x5ad9=function(_0x5ad92a,_0x21b974){_0x5ad92a=_0x5ad92a-0xf9;let _0x1e01f3=_0x12c880[_0x5ad92a];return _0x1e01f3;},_0x5ad9(_0x584b86,_0x14f157);}function _0x12c8(){const _0x34bf06=['clipboardInput','80svALNz','stop','_disableCommentsOnlyMode','clearForceDisabled','1900525rvOknD','get','commands','plugins','stopListening','highest','editing','isOfficialPlugin','29114QbOZiN','10395675dqeWeS','has','afterInit','pluginName','forceDisabled','CommentsOnly','commentsOnlyMode','document','100158QeJRly','editSource','1142688BIFJQN','cut','1032304MVCBTT','isEnabled','_enableCommentsOnlyMode','affectsData','listenTo','addCommentThread','change:isEnabled','requires','config','editor','76BjwtCh','DragDrop','SourceEditing','isPremiumPlugin','commentsOnly','delete','5292504aeEyHW','set','view'];_0x12c8=function(){return _0x34bf06;};return _0x12c8();}import{CommentsEditing as _0x52b64e}from'./comments/commentsediting.js';export class CommentsOnly extends _0x1b09e9{static get[_0x4118e8(0x10f)](){const _0x3add28=_0x4118e8;return _0x3add28(0x111);}static get[_0x4118e8(0x10a)](){return!0x0;}static get[_0x4118e8(0x125)](){return!0x0;}static get[_0x4118e8(0x11f)](){return[_0x52b64e];}constructor(_0x20e62f){const _0xcc08f1=_0x4118e8;super(_0x20e62f),this[_0xcc08f1(0xfc)](_0xcc08f1(0x119),!0x1),this['on'](_0xcc08f1(0x11e),(_0x32a8ac,_0xa21e0c,_0x28689f)=>{const _0x1e0968=_0xcc08f1;_0x28689f?this[_0x1e0968(0x11a)]():this[_0x1e0968(0x101)]();});}[_0x4118e8(0x10e)](){const _0xc0094b=_0x4118e8;!this[_0xc0094b(0x119)]&&this[_0xc0094b(0x121)][_0xc0094b(0x120)][_0xc0094b(0x104)](_0xc0094b(0xf9))&&(this[_0xc0094b(0x119)]=!0x0);}[_0x4118e8(0x11a)](){const _0x11d09a=_0x4118e8;for(const [_0x444b50,_0x29f937]of this[_0x11d09a(0x121)][_0x11d09a(0x105)])_0x29f937[_0x11d09a(0x11b)]&&_0x11d09a(0x11d)!==_0x444b50&&_0x29f937[_0x11d09a(0x110)](_0x11d09a(0x112));(this[_0x11d09a(0x121)][_0x11d09a(0x106)][_0x11d09a(0x10d)](_0x11d09a(0x123))&&this[_0x11d09a(0x121)][_0x11d09a(0x106)][_0x11d09a(0x104)](_0x11d09a(0x123))[_0x11d09a(0x110)](_0x11d09a(0x112)),this[_0x11d09a(0x121)][_0x11d09a(0x106)][_0x11d09a(0x10d)](_0x11d09a(0x124)))&&this[_0x11d09a(0x121)][_0x11d09a(0x106)][_0x11d09a(0x104)](_0x11d09a(0x124))[_0x11d09a(0x110)](_0x11d09a(0x112));this[_0x11d09a(0x121)][_0x11d09a(0x105)][_0x11d09a(0x104)](_0x11d09a(0x115))?.[_0x11d09a(0x110)](_0x11d09a(0x112));const _0x31d878=this[_0x11d09a(0x121)][_0x11d09a(0x109)][_0x11d09a(0xfd)][_0x11d09a(0x113)];this[_0x11d09a(0x11c)](_0x31d878,_0x11d09a(0x117),_0x376153=>_0x376153[_0x11d09a(0x100)](),{'priority':_0x11d09a(0x108)}),this[_0x11d09a(0x11c)](_0x31d878,_0x11d09a(0xfe),_0x1b2719=>_0x1b2719[_0x11d09a(0x100)](),{'priority':_0x11d09a(0x108)}),this[_0x11d09a(0x11c)](_0x31d878,_0x11d09a(0xfa),_0x4b9f3f=>_0x4b9f3f[_0x11d09a(0x100)](),{'priority':_0x11d09a(0x108)});}[_0x4118e8(0x101)](){const _0x3e4d22=_0x4118e8;for(const [_0x1ccc4d,_0x42a509]of this[_0x3e4d22(0x121)][_0x3e4d22(0x105)])_0x42a509[_0x3e4d22(0x11b)]&&_0x3e4d22(0x11d)!==_0x1ccc4d&&_0x42a509[_0x3e4d22(0x102)](_0x3e4d22(0x112));this[_0x3e4d22(0x121)][_0x3e4d22(0x106)][_0x3e4d22(0x10d)](_0x3e4d22(0x124))&&this[_0x3e4d22(0x121)][_0x3e4d22(0x106)][_0x3e4d22(0x104)](_0x3e4d22(0x124))[_0x3e4d22(0x102)](_0x3e4d22(0x112)),this[_0x3e4d22(0x121)][_0x3e4d22(0x105)][_0x3e4d22(0x104)](_0x3e4d22(0x115))?.[_0x3e4d22(0x102)](_0x3e4d22(0x112)),this[_0x3e4d22(0x107)](this[_0x3e4d22(0x121)][_0x3e4d22(0x109)][_0x3e4d22(0xfd)][_0x3e4d22(0x113)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1ed9c6,_0xd235ff){var _0x3cd760=_0x546a,_0x587754=_0x1ed9c6();while(!![]){try{var _0xeacac3=-parseInt(_0x3cd760(0x170))/0x1+parseInt(_0x3cd760(0x172))/0x2*(-parseInt(_0x3cd760(0x177))/0x3)+parseInt(_0x3cd760(0x171))/0x4*(parseInt(_0x3cd760(0x176))/0x5)+-parseInt(_0x3cd760(0x16c))/0x6*(-parseInt(_0x3cd760(0x16d))/0x7)+-parseInt(_0x3cd760(0x174))/0x8*(-parseInt(_0x3cd760(0x173))/0x9)+-parseInt(_0x3cd760(0x16b))/0xa*(parseInt(_0x3cd760(0x16e))/0xb)+-parseInt(_0x3cd760(0x16f))/0xc*(-parseInt(_0x3cd760(0x175))/0xd);if(_0xeacac3===_0xd235ff)break;else _0x587754['push'](_0x587754['shift']());}catch(_0x26ed2b){_0x587754['push'](_0x587754['shift']());}}}(_0x50a4,0xdad92));export{Comments}from'./comments.js';export{CommentsOnly}from'./commentsonly.js';export{CommentsUI}from'./comments/commentsui.js';export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{Annotation}from'./annotations/annotation.js';export{Annotations}from'./annotations/annotations.js';export{AnnotationCollection,bindAnnotationCollections}from'./annotations/annotationcollection.js';export{AnnotationsUIs}from'./annotations/annotationsuis.js';export{EditorAnnotations}from'./annotations/editorannotations.js';export{InlineAnnotations}from'./annotations/inlineannotations.js';export{Sidebar}from'./annotations/sidebar.js';export{WideSidebar}from'./annotations/widesidebar.js';export{NarrowSidebar}from'./annotations/narrowsidebar.js';export{AnnotationView}from'./annotations/view/annotationview.js';function _0x50a4(){var _0xc2c6d5=['65thWDyC','100qyAxWY','3372jdJKzv','11500ysLrxh','4998252yjGFHe','14woUvXa','11759VTmRuK','600876MGPQvy','730013wqrPJI','202668xFAIVd','362vWYzay','54HuKCXn','172560CEqAKI'];_0x50a4=function(){return _0xc2c6d5;};return _0x50a4();}export{AnnotationsSidebarItemView}from'./annotations/view/sidebaritemview.js';export{AnnotationsSidebarView}from'./annotations/view/sidebarview.js';export{BaseCommentView}from'./comments/ui/view/basecommentview.js';function _0x546a(_0x21ec92,_0x4b775d){var _0x50a4f8=_0x50a4();return _0x546a=function(_0x546a16,_0xb5d534){_0x546a16=_0x546a16-0x16b;var _0x1e79db=_0x50a4f8[_0x546a16];return _0x1e79db;},_0x546a(_0x21ec92,_0x4b775d);}export{BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{CommentsListView}from'./comments/ui/view/commentslistview.js';export{CommentView}from'./comments/ui/view/commentview.js';export{CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{AddCommentThreadCommand}from'./comments/addcommentthreadcommand.js';export{CommentsArchive}from'./comments/commentsarchive.js';export{CommentsArchiveUI}from'./comments/commentsarchiveui.js';export{CommentsEditing}from'./comments/commentsediting.js';export{AnnotationCounterButtonView}from'./annotations/view/annotationcounterbuttonview.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x454c05,_0x8ebc6a,_0x537b32){const t=_0x454c05['t'];switch(_0x8ebc6a){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'},_0x537b32);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'},_0x537b32);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'},_0x537b32);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'},_0x537b32);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x537b32);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'},_0x537b32);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'},_0x537b32);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'},_0x537b32);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 _0x23df(_0x2c705c,_0x2d3dad){const _0x404f97=_0x404f();return _0x23df=function(_0x23df86,_0x361808){_0x23df86=_0x23df86-0x160;let _0x338d3e=_0x404f97[_0x23df86];return _0x338d3e;},_0x23df(_0x2c705c,_0x2d3dad);}(function(_0x352df6,_0x52d8fa){const _0x548333=_0x23df,_0x1f3373=_0x352df6();while(!![]){try{const _0x2588a5=-parseInt(_0x548333(0x173))/0x1*(-parseInt(_0x548333(0x170))/0x2)+-parseInt(_0x548333(0x16e))/0x3*(-parseInt(_0x548333(0x160))/0x4)+-parseInt(_0x548333(0x164))/0x5*(-parseInt(_0x548333(0x169))/0x6)+-parseInt(_0x548333(0x168))/0x7+-parseInt(_0x548333(0x165))/0x8+parseInt(_0x548333(0x161))/0x9*(-parseInt(_0x548333(0x16b))/0xa)+parseInt(_0x548333(0x16a))/0xb;if(_0x2588a5===_0x52d8fa)break;else _0x1f3373['push'](_0x1f3373['shift']());}catch(_0x3826e0){_0x1f3373['push'](_0x1f3373['shift']());}}}(_0x404f,0x91a64));import{throttle as _0x42dc66}from'es-toolkit/compat';export function createMutationObserver(_0x1f28fa){const _0x4b843e=_0x42dc66(_0x1f28fa,0x1e),_0x93c711=new MutationObserver(_0x51a714=>{const _0x5cc328=_0x23df;for(const _0x565007 of _0x51a714)(_0x5cc328(0x171)==_0x565007[_0x5cc328(0x16d)]&&_0x5cc328(0x166)==_0x565007[_0x5cc328(0x162)]||_0x5cc328(0x167)==_0x565007[_0x5cc328(0x16d)]||_0x5cc328(0x163)==_0x565007[_0x5cc328(0x16d)])&&_0x4b843e();});return{'attach'(_0x2d3747){const _0x3d46b7=_0x23df;_0x93c711[_0x3d46b7(0x16c)](_0x2d3747,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x52883b=_0x23df;_0x93c711[_0x52883b(0x172)](),_0x4b843e[_0x52883b(0x16f)]();}};}function _0x404f(){const _0xf17d14=['28660ZLUJjq','1778920fbplAn','class','childList','6847491bnGDLE','60AmUYIt','24175580NvNzep','5500540SNCQQe','observe','type','12oxJTVv','cancel','129652cqEZqj','attributes','disconnect','7lEfnVg','188384tqLxuH','18kLCron','attributeName','characterData'];_0x404f=function(){return _0xf17d14;};return _0x404f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x232f(_0x3bf534,_0xf2b0aa){const _0x467e27=_0x467e();return _0x232f=function(_0x232fb4,_0x519bb5){_0x232fb4=_0x232fb4-0x15d;let _0x1d2cbf=_0x467e27[_0x232fb4];return _0x1d2cbf;},_0x232f(_0x3bf534,_0xf2b0aa);}function _0x467e(){const _0x2e8559=['117unMjod','111860POzphm','455888cRWcGq','589479WPhqVF','10Nrwntr','7thLxuY','162388meMIXd','2246394rdeljk','136hXscvG','split','696731RSgtUz','887502lkkJBS'];_0x467e=function(){return _0x2e8559;};return _0x467e();}(function(_0x5ddb74,_0x2155ee){const _0x2669e1=_0x232f,_0x85f01e=_0x5ddb74();while(!![]){try{const _0x54b92f=parseInt(_0x2669e1(0x163))/0x1+-parseInt(_0x2669e1(0x15f))/0x2+parseInt(_0x2669e1(0x164))/0x3+parseInt(_0x2669e1(0x161))/0x4*(parseInt(_0x2669e1(0x166))/0x5)+parseInt(_0x2669e1(0x160))/0x6*(-parseInt(_0x2669e1(0x15e))/0x7)+-parseInt(_0x2669e1(0x167))/0x8*(parseInt(_0x2669e1(0x165))/0x9)+parseInt(_0x2669e1(0x15d))/0xa*(-parseInt(_0x2669e1(0x168))/0xb);if(_0x54b92f===_0x2155ee)break;else _0x85f01e['push'](_0x85f01e['shift']());}catch(_0x244b34){_0x85f01e['push'](_0x85f01e['shift']());}}}(_0x467e,0x7adad));export function splitMarkerName(_0x247b7a){const _0x5c72df=_0x232f,_0xfe90c=_0x247b7a[_0x5c72df(0x162)](':');return{'group':_0xfe90c[0x0],'id':_0xfe90c[0x1],'part':_0xfe90c[0x2]};}
|