@ckeditor/ckeditor5-comments 47.6.0-alpha.1 → 47.6.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +19 -19
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x39c028=_0x1530;(function(_0xe527dd,_0x3eabcb){const _0x145b98=_0x1530,_0x434cd8=_0xe527dd();while(!![]){try{const _0x1380c2=parseInt(_0x145b98(0x170))/0x1+-parseInt(_0x145b98(0x153))/0x2+-parseInt(_0x145b98(0x169))/0x3+-parseInt(_0x145b98(0x179))/0x4*(parseInt(_0x145b98(0x192))/0x5)+parseInt(_0x145b98(0x190))/0x6+-parseInt(_0x145b98(0x155))/0x7*(-parseInt(_0x145b98(0x162))/0x8)+parseInt(_0x145b98(0x186))/0x9;if(_0x1380c2===_0x3eabcb)break;else _0x434cd8['push'](_0x434cd8['shift']());}catch(_0x1f51d7){_0x434cd8['push'](_0x434cd8['shift']());}}}(_0x2273,0x564e9));import{View as _0x3a88d1,FocusCycler as _0x283ff8}from'ckeditor5/src/ui.js';function _0x1530(_0x3efb6f,_0x345c0e){const _0x227380=_0x2273();return _0x1530=function(_0x1530d4,_0x1ad21f){_0x1530d4=_0x1530d4-0x141;let _0x2e059a=_0x227380[_0x1530d4];return _0x2e059a;},_0x1530(_0x3efb6f,_0x345c0e);}function _0x2273(){const _0xee3c7b=['_handleInfoComment','isActive','updateComment','40lnycXA','add','focusCycler','ck-thread__comments','editorDestroyed','keystrokes','set','2057376OjmMGt','resolveCommentThread','resolvedCommentView','change:isResolved','setTemplate','get','weight','182019uqRlLY','focusLast','CommentView','delete','arrowdown','_config','element','change','destroy','8ZOMmpj','isEditMode','_setupKeyboardNavigation','bindTemplate','_rearrangeExpand','_rearrangeCollapse','resolvedAt','ck-hidden','forEach','editorConfig','expand','locale','_shouldCollapse','3207195cOHCss','hasDirtyComment','bind','maxCommentsWhenCollapsed','delegate','authoredAt','change:isActive','from','change:hasDirtyComment','map','2376486mirBMi','_updateHasDirtyComment','224155EpyZhC','commentViews','resolved','change:isEditMode','editorReady','added','removeComment','collapse','viewUid','focusFirst','listenTo','maxCommentCharsWhenCollapsed','stopListening','Marked\x20as\x20resolved','visibleViews','focus','includes','target','focusTracker','render','_handleRemoveCommentModel','resolvedBy','equal','_collapsedCommentsView','arrowup','commentUpdated','comments','removed','some','maxThreadTotalWeight','_handleNewCommentModel','createCollection','Thread\x20comments','881766RtVdVj','formatDateTime','889553GXZNtN','_findOptimalIndex','count','remove','length','_model','insert','_calculatePosition','refreshVisibleViews','reverse'];_0x2273=function(){return _0xee3c7b;};return _0x2273();}import{diff as _0x641284,Collection as _0x39d77f,FocusTracker as _0x1eb4b7,KeystrokeHandler as _0x3f9d9a}from'ckeditor5/src/utils.js';import{getTranslation as _0x373bab}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x3b4739}from'./collapsedcommentsview.js';export class CommentsListView extends _0x3a88d1{[_0x39c028(0x193)];[_0x39c028(0x16b)];[_0x39c028(0x144)];[_0x39c028(0x167)];[_0x39c028(0x164)];[_0x39c028(0x15a)];[_0x39c028(0x175)];[_0x39c028(0x149)];constructor(_0x4eb562,_0x1b63b6,_0x1a42ff){const _0x338417=_0x39c028;super(_0x4eb562);const _0xfdff53=this[_0x338417(0x17c)];this[_0x338417(0x168)](_0x338417(0x187),!0x1),this[_0x338417(0x168)](_0x338417(0x159),_0x1b63b6[_0x338417(0x14c)][_0x338417(0x159)]),this[_0x338417(0x168)](_0x338417(0x160),!0x1),this[_0x338417(0x15a)]=_0x1b63b6,this[_0x338417(0x175)]=_0x1a42ff,this[_0x338417(0x193)]=this[_0x338417(0x151)](),this[_0x338417(0x1a0)]=this[_0x338417(0x151)](),this[_0x338417(0x16b)]=null,this[_0x338417(0x144)]=new _0x1eb4b7(),this[_0x338417(0x167)]=new _0x3f9d9a(),this[_0x338417(0x164)]=new _0x283ff8({'focusables':this[_0x338417(0x193)],'focusTracker':this[_0x338417(0x144)],'keystrokeHandler':this[_0x338417(0x167)],'keystrokeHandlerOptions':{'filter':_0x3e138d=>this[_0x338417(0x193)][_0x338417(0x18f)](_0x2603ae=>_0x2603ae[_0x338417(0x176)])[_0x338417(0x142)](_0x3e138d[_0x338417(0x143)])},'actions':{'focusPrevious':_0x338417(0x14a),'focusNext':_0x338417(0x174)}}),this[_0x338417(0x149)]=new _0x3b4739(_0x4eb562),this[_0x338417(0x149)][_0x338417(0x188)](_0x338417(0x157))['to'](this,_0x338417(0x159),_0x25a68f=>_0x25a68f-this[_0x338417(0x175)][_0x338417(0x189)]);for(const _0xcb4a7f of _0x1b63b6[_0x338417(0x14c)])this[_0x338417(0x150)](_0xcb4a7f);this[_0x338417(0x15f)](),this[_0x338417(0x19c)](_0x1b63b6[_0x338417(0x14c)],_0x338417(0x163),(_0x27c731,_0x36deff)=>{const _0x28060d=_0x338417,_0x158d48=this[_0x28060d(0x15c)](_0x36deff);this[_0x28060d(0x159)]++,this[_0x28060d(0x150)](_0x36deff,_0x158d48),this[_0x28060d(0x15d)]();}),this[_0x338417(0x19c)](_0x1b63b6[_0x338417(0x14c)],_0x338417(0x158),(_0x475835,_0x5ebdba)=>{const _0x1edad7=_0x338417;this[_0x1edad7(0x159)]--,this[_0x1edad7(0x146)](_0x5ebdba),this[_0x1edad7(0x15d)]();}),this[_0x338417(0x19c)](_0x1b63b6,_0x338417(0x14b),()=>this[_0x338417(0x15d)]()),this[_0x338417(0x19c)](_0x1b63b6,_0x338417(0x16c),()=>this[_0x338417(0x15f)]()),this['on'](_0x338417(0x18c),()=>this[_0x338417(0x15d)]()),this['on'](_0x338417(0x18e),()=>this[_0x338417(0x15d)]()),this[_0x338417(0x16d)]({'tag':'ul','attributes':{'class':[_0x338417(0x165),_0xfdff53['if'](_0x338417(0x159),_0x338417(0x180),_0xb29dc1=>!_0xb29dc1)],'aria-label':_0x373bab(_0x4eb562,_0x338417(0x152))},'children':this[_0x338417(0x1a0)]});}get[_0x39c028(0x185)](){const _0x3da1f7=_0x39c028;return this[_0x3da1f7(0x15a)][_0x3da1f7(0x16f)]>this[_0x3da1f7(0x175)][_0x3da1f7(0x14f)]&&!this[_0x3da1f7(0x160)]&&!this[_0x3da1f7(0x187)];}[_0x39c028(0x145)](){const _0x395e39=_0x39c028;super[_0x395e39(0x145)](),this[_0x395e39(0x15d)](),this[_0x395e39(0x17b)]();}[_0x39c028(0x141)](_0x1e1de1){const _0x90605f=_0x39c028;-0x1===_0x1e1de1?this[_0x90605f(0x164)][_0x90605f(0x171)]():this[_0x90605f(0x164)][_0x90605f(0x19b)]();}[_0x39c028(0x178)](){const _0x1246b6=_0x39c028;this[_0x1246b6(0x149)][_0x1246b6(0x178)]();for(const _0x9114b7 of this[_0x1246b6(0x193)])_0x9114b7[_0x1246b6(0x178)]();super[_0x1246b6(0x178)]();}[_0x39c028(0x15d)](){const _0xe22407=_0x39c028;this[_0xe22407(0x185)]?this[_0xe22407(0x17e)]():this[_0xe22407(0x17d)]();}[_0x39c028(0x150)](_0x484b9d,_0x5008b1){const _0x5c6e8d=_0x39c028,_0x39a9c2=new this[(_0x5c6e8d(0x175))][(_0x5c6e8d(0x172))](this[_0x5c6e8d(0x184)],_0x484b9d,{'maxCommentCharsWhenCollapsed':this[_0x5c6e8d(0x175)][_0x5c6e8d(0x19d)],'formatDateTime':this[_0x5c6e8d(0x175)][_0x5c6e8d(0x154)],'editorConfig':this[_0x5c6e8d(0x175)][_0x5c6e8d(0x182)]});_0x39a9c2[_0x5c6e8d(0x19a)]=_0x484b9d['id'],_0x39a9c2[_0x5c6e8d(0x18a)](_0x5c6e8d(0x198))['to'](this),_0x39a9c2[_0x5c6e8d(0x18a)](_0x5c6e8d(0x161))['to'](this),_0x39a9c2[_0x5c6e8d(0x18a)](_0x5c6e8d(0x16a))['to'](this),_0x39a9c2[_0x5c6e8d(0x18a)](_0x5c6e8d(0x196))['to'](this),_0x39a9c2[_0x5c6e8d(0x18a)](_0x5c6e8d(0x166))['to'](this),this[_0x5c6e8d(0x19c)](_0x39a9c2,_0x5c6e8d(0x195),()=>this[_0x5c6e8d(0x191)]()),this[_0x5c6e8d(0x193)][_0x5c6e8d(0x163)](_0x39a9c2,_0x5008b1);}[_0x39c028(0x15c)](_0x2f5458){const _0x140e71=_0x39c028,_0x3a65ab=this[_0x140e71(0x15a)][_0x140e71(0x156)](_0x2f5458);return this[_0x140e71(0x16b)]?this[_0x140e71(0x16b)][_0x140e71(0x18b)]>_0x2f5458[_0x140e71(0x18b)]?_0x3a65ab-0x1:_0x3a65ab:_0x3a65ab-0x1;}[_0x39c028(0x15f)](){const _0x4ac18e=_0x39c028;if(this[_0x4ac18e(0x15a)][_0x4ac18e(0x147)]&&this[_0x4ac18e(0x15a)][_0x4ac18e(0x17f)]){const _0x44973d={'id':_0x4ac18e(0x194),'author':this[_0x4ac18e(0x15a)][_0x4ac18e(0x147)],'authoredAt':this[_0x4ac18e(0x15a)][_0x4ac18e(0x17f)],'content':_0x373bab(this[_0x4ac18e(0x184)],_0x4ac18e(0x19f)),'attributes':{}};this[_0x4ac18e(0x16b)]=new this[(_0x4ac18e(0x175))][(_0x4ac18e(0x172))](this[_0x4ac18e(0x184)],_0x44973d,{'maxCommentCharsWhenCollapsed':this[_0x4ac18e(0x175)][_0x4ac18e(0x19d)],'formatDateTime':this[_0x4ac18e(0x175)][_0x4ac18e(0x154)],'editorConfig':this[_0x4ac18e(0x175)][_0x4ac18e(0x182)],'isSystemComment':!0x0}),this[_0x4ac18e(0x193)][_0x4ac18e(0x163)](this[_0x4ac18e(0x16b)],this[_0x4ac18e(0x15a)][_0x4ac18e(0x156)](_0x44973d));}else this[_0x4ac18e(0x16b)]&&(this[_0x4ac18e(0x193)][_0x4ac18e(0x158)](this[_0x4ac18e(0x16b)]),this[_0x4ac18e(0x16b)][_0x4ac18e(0x178)](),this[_0x4ac18e(0x16b)]=null);this[_0x4ac18e(0x15d)]();}[_0x39c028(0x146)](_0x3b320a){const _0x5398fd=_0x39c028,_0x38c9e1=this[_0x5398fd(0x193)][_0x5398fd(0x158)](_0x3b320a['id']);this[_0x5398fd(0x19e)](_0x38c9e1),_0x38c9e1[_0x5398fd(0x17a)]&&this[_0x5398fd(0x191)](),_0x38c9e1[_0x5398fd(0x178)]();}[_0x39c028(0x191)](){const _0x3db95a=_0x39c028;this[_0x3db95a(0x187)]=Array[_0x3db95a(0x18d)](this[_0x3db95a(0x193)])[_0x3db95a(0x14e)](_0x4d3759=>_0x4d3759[_0x3db95a(0x17a)]);}[_0x39c028(0x17e)](){const _0x5dfcbc=_0x39c028,_0xe84bcd=function(_0x1c2e58){const _0x27ee1c=_0x1530,_0x408c78=new _0x39d77f();for(const _0x3c10cd of _0x1c2e58)_0x408c78[_0x27ee1c(0x163)](_0x3c10cd);return _0x408c78;}(this[_0x5dfcbc(0x193)]),_0x398d47=this[_0x5dfcbc(0x149)][_0x5dfcbc(0x157)];for(let _0x225015=0x1;_0x225015<=_0x398d47;_0x225015++)_0xe84bcd[_0x5dfcbc(0x158)](0x1);for(const _0x38628c of _0xe84bcd)_0x38628c[_0x5dfcbc(0x199)]();_0x398d47>0x0&&_0xe84bcd[_0x5dfcbc(0x163)](this[_0x5dfcbc(0x149)],0x1),ns(_0x641284(Array[_0x5dfcbc(0x18d)](this[_0x5dfcbc(0x1a0)]),Array[_0x5dfcbc(0x18d)](_0xe84bcd)),this[_0x5dfcbc(0x1a0)],_0xe84bcd);}[_0x39c028(0x17d)](){const _0x3b5582=_0x39c028;ns(_0x641284(Array[_0x3b5582(0x18d)](this[_0x3b5582(0x1a0)]),Array[_0x3b5582(0x18d)](this[_0x3b5582(0x193)])),this[_0x3b5582(0x1a0)],this[_0x3b5582(0x193)]);for(const _0x3aee50 of this[_0x3b5582(0x1a0)])_0x3aee50[_0x3b5582(0x183)]();}[_0x39c028(0x17b)](){const _0x57c607=_0x39c028;this[_0x57c607(0x193)][_0x57c607(0x181)](_0x3cd4df=>{const _0x1741b7=_0x57c607;this[_0x1741b7(0x144)][_0x1741b7(0x163)](_0x3cd4df[_0x1741b7(0x176)]),this[_0x1741b7(0x167)][_0x1741b7(0x19c)](_0x3cd4df[_0x1741b7(0x176)]);}),this[_0x57c607(0x193)]['on'](_0x57c607(0x177),(_0x80f1ad,_0x34b957)=>{const _0x39019d=_0x57c607;for(const _0x4cd067 of _0x34b957[_0x39019d(0x14d)])this[_0x39019d(0x144)][_0x39019d(0x158)](_0x4cd067[_0x39019d(0x176)]),this[_0x39019d(0x167)][_0x39019d(0x19e)](_0x4cd067[_0x39019d(0x176)]);for(const _0x58756a of Array[_0x39019d(0x18d)](_0x34b957[_0x39019d(0x197)])[_0x39019d(0x15e)]())this[_0x39019d(0x144)][_0x39019d(0x163)](_0x58756a[_0x39019d(0x176)]),this[_0x39019d(0x167)][_0x39019d(0x19c)](_0x58756a[_0x39019d(0x176)]);});}}function ns(_0x147db0,_0x1a1f42,_0x2db869){const _0x10402c=_0x39c028;let _0x51101a=0x0;for(const _0x1453b6 of _0x147db0)switch(_0x1453b6){case _0x10402c(0x15b):_0x1a1f42[_0x10402c(0x163)](_0x2db869[_0x10402c(0x16e)](_0x51101a),_0x51101a),_0x51101a++;break;case _0x10402c(0x173):_0x1a1f42[_0x10402c(0x158)](_0x51101a);break;case _0x10402c(0x148):_0x51101a++;}}
|
|
23
|
+
const _0x2e21f6=_0x5332;(function(_0x54e8cf,_0x563d56){const _0x12cf1d=_0x5332,_0x48cc2a=_0x54e8cf();while(!![]){try{const _0x55e2e9=-parseInt(_0x12cf1d(0x15c))/0x1*(parseInt(_0x12cf1d(0x151))/0x2)+parseInt(_0x12cf1d(0x16b))/0x3*(parseInt(_0x12cf1d(0x175))/0x4)+parseInt(_0x12cf1d(0x155))/0x5*(-parseInt(_0x12cf1d(0x154))/0x6)+-parseInt(_0x12cf1d(0x182))/0x7*(-parseInt(_0x12cf1d(0x167))/0x8)+parseInt(_0x12cf1d(0x12b))/0x9+-parseInt(_0x12cf1d(0x13e))/0xa+-parseInt(_0x12cf1d(0x13f))/0xb*(parseInt(_0x12cf1d(0x181))/0xc);if(_0x55e2e9===_0x563d56)break;else _0x48cc2a['push'](_0x48cc2a['shift']());}catch(_0x3aa034){_0x48cc2a['push'](_0x48cc2a['shift']());}}}(_0x2c19,0x2e99a));function _0x5332(_0x376d99,_0x1e7fb7){const _0x2c1992=_0x2c19();return _0x5332=function(_0x5332a2,_0x5769bd){_0x5332a2=_0x5332a2-0x125;let _0x508246=_0x2c1992[_0x5332a2];return _0x508246;},_0x5332(_0x376d99,_0x1e7fb7);}import{View as _0xf67bdd,FocusCycler as _0x3a86e9}from'ckeditor5/src/ui.js';import{diff as _0x47b64c,Collection as _0x275f3b,FocusTracker as _0x3ee424,KeystrokeHandler as _0x162724}from'ckeditor5/src/utils.js';import{getTranslation as _0x220d9e}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x4f9d51}from'./collapsedcommentsview.js';function _0x2c19(){const _0x85d098=['1927050NPQzMO','143UsaGEQ','get','removed','listenTo','keystrokes','length','ck-thread__comments','viewUid','insert','visibleViews','Marked\x20as\x20resolved','Thread\x20comments','formatDateTime','_shouldCollapse','_handleInfoComment','maxThreadTotalWeight','target','_calculatePosition','672470NCvClu','locale','editorDestroyed','1212nUjCvu','785vEvFoQ','isActive','stopListening','hasDirtyComment','change','_rearrangeCollapse','focusCycler','1DgHhdp','updateComment','_findOptimalIndex','forEach','collapse','setTemplate','weight','change:isResolved','removeComment','resolvedAt','_handleNewCommentModel','2363464BoAgQF','focus','remove','commentViews','1596ifVYpa','set','from','added','delete','bind','_rearrangeExpand','CommentView','resolvedCommentView','commentUpdated','2032kHQRfa','_collapsedCommentsView','focusTracker','focusLast','some','expand','map','render','add','delegate','resolvedBy','resolveCommentThread','126624AmoHCr','7eGhMgv','resolved','equal','_setupKeyboardNavigation','ck-hidden','createCollection','_model','count','change:hasDirtyComment','change:isActive','isEditMode','reverse','2907135gjNTJg','element','maxCommentsWhenCollapsed','arrowup','bindTemplate','includes','editorReady','editorConfig','_config','focusFirst','refreshVisibleViews','change:isEditMode','maxCommentCharsWhenCollapsed','comments','authoredAt','_handleRemoveCommentModel','arrowdown','destroy','_updateHasDirtyComment'];_0x2c19=function(){return _0x85d098;};return _0x2c19();}export class CommentsListView extends _0xf67bdd{[_0x2e21f6(0x16a)];[_0x2e21f6(0x173)];[_0x2e21f6(0x177)];[_0x2e21f6(0x143)];[_0x2e21f6(0x15b)];[_0x2e21f6(0x125)];[_0x2e21f6(0x133)];[_0x2e21f6(0x176)];constructor(_0x546ba9,_0x20cb21,_0x1abffd){const _0x5d1bd3=_0x2e21f6;super(_0x546ba9);const _0x3a6201=this[_0x5d1bd3(0x12f)];this[_0x5d1bd3(0x16c)](_0x5d1bd3(0x158),!0x1),this[_0x5d1bd3(0x16c)](_0x5d1bd3(0x144),_0x20cb21[_0x5d1bd3(0x138)][_0x5d1bd3(0x144)]),this[_0x5d1bd3(0x16c)](_0x5d1bd3(0x156),!0x1),this[_0x5d1bd3(0x125)]=_0x20cb21,this[_0x5d1bd3(0x133)]=_0x1abffd,this[_0x5d1bd3(0x16a)]=this[_0x5d1bd3(0x187)](),this[_0x5d1bd3(0x148)]=this[_0x5d1bd3(0x187)](),this[_0x5d1bd3(0x173)]=null,this[_0x5d1bd3(0x177)]=new _0x3ee424(),this[_0x5d1bd3(0x143)]=new _0x162724(),this[_0x5d1bd3(0x15b)]=new _0x3a86e9({'focusables':this[_0x5d1bd3(0x16a)],'focusTracker':this[_0x5d1bd3(0x177)],'keystrokeHandler':this[_0x5d1bd3(0x143)],'keystrokeHandlerOptions':{'filter':_0x1cdafc=>this[_0x5d1bd3(0x16a)][_0x5d1bd3(0x17b)](_0x90ad30=>_0x90ad30[_0x5d1bd3(0x12c)])[_0x5d1bd3(0x130)](_0x1cdafc[_0x5d1bd3(0x14f)])},'actions':{'focusPrevious':_0x5d1bd3(0x12e),'focusNext':_0x5d1bd3(0x13b)}}),this[_0x5d1bd3(0x176)]=new _0x4f9d51(_0x546ba9),this[_0x5d1bd3(0x176)][_0x5d1bd3(0x170)](_0x5d1bd3(0x126))['to'](this,_0x5d1bd3(0x144),_0x27a696=>_0x27a696-this[_0x5d1bd3(0x133)][_0x5d1bd3(0x12d)]);for(const _0x2a4965 of _0x20cb21[_0x5d1bd3(0x138)])this[_0x5d1bd3(0x166)](_0x2a4965);this[_0x5d1bd3(0x14d)](),this[_0x5d1bd3(0x142)](_0x20cb21[_0x5d1bd3(0x138)],_0x5d1bd3(0x17d),(_0x52c99e,_0x5ef10c)=>{const _0x1beb9e=_0x5d1bd3,_0x3f55cf=this[_0x1beb9e(0x150)](_0x5ef10c);this[_0x1beb9e(0x144)]++,this[_0x1beb9e(0x166)](_0x5ef10c,_0x3f55cf),this[_0x1beb9e(0x135)]();}),this[_0x5d1bd3(0x142)](_0x20cb21[_0x5d1bd3(0x138)],_0x5d1bd3(0x169),(_0x3921dc,_0x233010)=>{const _0x4039d7=_0x5d1bd3;this[_0x4039d7(0x144)]--,this[_0x4039d7(0x13a)](_0x233010),this[_0x4039d7(0x135)]();}),this[_0x5d1bd3(0x142)](_0x20cb21,_0x5d1bd3(0x174),()=>this[_0x5d1bd3(0x135)]()),this[_0x5d1bd3(0x142)](_0x20cb21,_0x5d1bd3(0x163),()=>this[_0x5d1bd3(0x14d)]()),this['on'](_0x5d1bd3(0x128),()=>this[_0x5d1bd3(0x135)]()),this['on'](_0x5d1bd3(0x127),()=>this[_0x5d1bd3(0x135)]()),this[_0x5d1bd3(0x161)]({'tag':'ul','attributes':{'class':[_0x5d1bd3(0x145),_0x3a6201['if'](_0x5d1bd3(0x144),_0x5d1bd3(0x186),_0x42341e=>!_0x42341e)],'aria-label':_0x220d9e(_0x546ba9,_0x5d1bd3(0x14a))},'children':this[_0x5d1bd3(0x148)]});}get[_0x2e21f6(0x14c)](){const _0x10b65a=_0x2e21f6;return this[_0x10b65a(0x125)][_0x10b65a(0x162)]>this[_0x10b65a(0x133)][_0x10b65a(0x14e)]&&!this[_0x10b65a(0x156)]&&!this[_0x10b65a(0x158)];}[_0x2e21f6(0x17c)](){const _0x2c30cf=_0x2e21f6;super[_0x2c30cf(0x17c)](),this[_0x2c30cf(0x135)](),this[_0x2c30cf(0x185)]();}[_0x2e21f6(0x168)](_0x57bf8c){const _0x2ee637=_0x2e21f6;-0x1===_0x57bf8c?this[_0x2ee637(0x15b)][_0x2ee637(0x178)]():this[_0x2ee637(0x15b)][_0x2ee637(0x134)]();}[_0x2e21f6(0x13c)](){const _0x48eb9f=_0x2e21f6;this[_0x48eb9f(0x176)][_0x48eb9f(0x13c)]();for(const _0x4e8ab8 of this[_0x48eb9f(0x16a)])_0x4e8ab8[_0x48eb9f(0x13c)]();super[_0x48eb9f(0x13c)]();}[_0x2e21f6(0x135)](){const _0x4bf5fa=_0x2e21f6;this[_0x4bf5fa(0x14c)]?this[_0x4bf5fa(0x15a)]():this[_0x4bf5fa(0x171)]();}[_0x2e21f6(0x166)](_0x3a9ac2,_0x780ba){const _0x1560bf=_0x2e21f6,_0x45ac75=new this[(_0x1560bf(0x133))][(_0x1560bf(0x172))](this[_0x1560bf(0x152)],_0x3a9ac2,{'maxCommentCharsWhenCollapsed':this[_0x1560bf(0x133)][_0x1560bf(0x137)],'formatDateTime':this[_0x1560bf(0x133)][_0x1560bf(0x14b)],'editorConfig':this[_0x1560bf(0x133)][_0x1560bf(0x132)]});_0x45ac75[_0x1560bf(0x146)]=_0x3a9ac2['id'],_0x45ac75[_0x1560bf(0x17e)](_0x1560bf(0x164))['to'](this),_0x45ac75[_0x1560bf(0x17e)](_0x1560bf(0x15d))['to'](this),_0x45ac75[_0x1560bf(0x17e)](_0x1560bf(0x180))['to'](this),_0x45ac75[_0x1560bf(0x17e)](_0x1560bf(0x131))['to'](this),_0x45ac75[_0x1560bf(0x17e)](_0x1560bf(0x153))['to'](this),this[_0x1560bf(0x142)](_0x45ac75,_0x1560bf(0x136),()=>this[_0x1560bf(0x13d)]()),this[_0x1560bf(0x16a)][_0x1560bf(0x17d)](_0x45ac75,_0x780ba);}[_0x2e21f6(0x150)](_0x2f4422){const _0x3105ae=_0x2e21f6,_0x2ac3ca=this[_0x3105ae(0x125)][_0x3105ae(0x15e)](_0x2f4422);return this[_0x3105ae(0x173)]?this[_0x3105ae(0x173)][_0x3105ae(0x139)]>_0x2f4422[_0x3105ae(0x139)]?_0x2ac3ca-0x1:_0x2ac3ca:_0x2ac3ca-0x1;}[_0x2e21f6(0x14d)](){const _0x356fc=_0x2e21f6;if(this[_0x356fc(0x125)][_0x356fc(0x17f)]&&this[_0x356fc(0x125)][_0x356fc(0x165)]){const _0x57f022={'id':_0x356fc(0x183),'author':this[_0x356fc(0x125)][_0x356fc(0x17f)],'authoredAt':this[_0x356fc(0x125)][_0x356fc(0x165)],'content':_0x220d9e(this[_0x356fc(0x152)],_0x356fc(0x149)),'attributes':{}};this[_0x356fc(0x173)]=new this[(_0x356fc(0x133))][(_0x356fc(0x172))](this[_0x356fc(0x152)],_0x57f022,{'maxCommentCharsWhenCollapsed':this[_0x356fc(0x133)][_0x356fc(0x137)],'formatDateTime':this[_0x356fc(0x133)][_0x356fc(0x14b)],'editorConfig':this[_0x356fc(0x133)][_0x356fc(0x132)],'isSystemComment':!0x0}),this[_0x356fc(0x16a)][_0x356fc(0x17d)](this[_0x356fc(0x173)],this[_0x356fc(0x125)][_0x356fc(0x15e)](_0x57f022));}else this[_0x356fc(0x173)]&&(this[_0x356fc(0x16a)][_0x356fc(0x169)](this[_0x356fc(0x173)]),this[_0x356fc(0x173)][_0x356fc(0x13c)](),this[_0x356fc(0x173)]=null);this[_0x356fc(0x135)]();}[_0x2e21f6(0x13a)](_0x1570f4){const _0x19ea94=_0x2e21f6,_0x406e42=this[_0x19ea94(0x16a)][_0x19ea94(0x169)](_0x1570f4['id']);this[_0x19ea94(0x157)](_0x406e42),_0x406e42[_0x19ea94(0x129)]&&this[_0x19ea94(0x13d)](),_0x406e42[_0x19ea94(0x13c)]();}[_0x2e21f6(0x13d)](){const _0x30c808=_0x2e21f6;this[_0x30c808(0x158)]=Array[_0x30c808(0x16d)](this[_0x30c808(0x16a)])[_0x30c808(0x179)](_0x257446=>_0x257446[_0x30c808(0x129)]);}[_0x2e21f6(0x15a)](){const _0x4042a0=_0x2e21f6,_0x2fa1bc=function(_0x23b48f){const _0x4cfca0=_0x5332,_0x5c95b2=new _0x275f3b();for(const _0x21f0dd of _0x23b48f)_0x5c95b2[_0x4cfca0(0x17d)](_0x21f0dd);return _0x5c95b2;}(this[_0x4042a0(0x16a)]),_0x3627e0=this[_0x4042a0(0x176)][_0x4042a0(0x126)];for(let _0x43211e=0x1;_0x43211e<=_0x3627e0;_0x43211e++)_0x2fa1bc[_0x4042a0(0x169)](0x1);for(const _0x38d6e0 of _0x2fa1bc)_0x38d6e0[_0x4042a0(0x160)]();_0x3627e0>0x0&&_0x2fa1bc[_0x4042a0(0x17d)](this[_0x4042a0(0x176)],0x1),ns(_0x47b64c(Array[_0x4042a0(0x16d)](this[_0x4042a0(0x148)]),Array[_0x4042a0(0x16d)](_0x2fa1bc)),this[_0x4042a0(0x148)],_0x2fa1bc);}[_0x2e21f6(0x171)](){const _0x2532e9=_0x2e21f6;ns(_0x47b64c(Array[_0x2532e9(0x16d)](this[_0x2532e9(0x148)]),Array[_0x2532e9(0x16d)](this[_0x2532e9(0x16a)])),this[_0x2532e9(0x148)],this[_0x2532e9(0x16a)]);for(const _0x3fa3b1 of this[_0x2532e9(0x148)])_0x3fa3b1[_0x2532e9(0x17a)]();}[_0x2e21f6(0x185)](){const _0x520edc=_0x2e21f6;this[_0x520edc(0x16a)][_0x520edc(0x15f)](_0xa54120=>{const _0x253a1a=_0x520edc;this[_0x253a1a(0x177)][_0x253a1a(0x17d)](_0xa54120[_0x253a1a(0x12c)]),this[_0x253a1a(0x143)][_0x253a1a(0x142)](_0xa54120[_0x253a1a(0x12c)]);}),this[_0x520edc(0x16a)]['on'](_0x520edc(0x159),(_0x48e001,_0x50b0df)=>{const _0x50e58f=_0x520edc;for(const _0x39d3a8 of _0x50b0df[_0x50e58f(0x141)])this[_0x50e58f(0x177)][_0x50e58f(0x169)](_0x39d3a8[_0x50e58f(0x12c)]),this[_0x50e58f(0x143)][_0x50e58f(0x157)](_0x39d3a8[_0x50e58f(0x12c)]);for(const _0x4ee6af of Array[_0x50e58f(0x16d)](_0x50b0df[_0x50e58f(0x16e)])[_0x50e58f(0x12a)]())this[_0x50e58f(0x177)][_0x50e58f(0x17d)](_0x4ee6af[_0x50e58f(0x12c)]),this[_0x50e58f(0x143)][_0x50e58f(0x142)](_0x4ee6af[_0x50e58f(0x12c)]);});}}function ns(_0x54564a,_0x16a9d8,_0x11e9fb){const _0x1d1da1=_0x2e21f6;let _0x5e870b=0x0;for(const _0x5053a2 of _0x54564a)switch(_0x5053a2){case _0x1d1da1(0x147):_0x16a9d8[_0x1d1da1(0x17d)](_0x11e9fb[_0x1d1da1(0x140)](_0x5e870b),_0x5e870b),_0x5e870b++;break;case _0x1d1da1(0x16f):_0x16a9d8[_0x1d1da1(0x169)](_0x5e870b);break;case _0x1d1da1(0x184):_0x5e870b++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4c3f7c=_0x5963;(function(_0x47cd98,_0x2bf0f1){const _0x66fd9f=_0x5963,_0x565e0c=_0x47cd98();while(!![]){try{const _0x2a0357=parseInt(_0x66fd9f(0xe5))/0x1+-parseInt(_0x66fd9f(0xe7))/0x2*(parseInt(_0x66fd9f(0xe3))/0x3)+parseInt(_0x66fd9f(0xea))/0x4+parseInt(_0x66fd9f(0xe8))/0x5+-parseInt(_0x66fd9f(0xe9))/0x6*(parseInt(_0x66fd9f(0xdc))/0x7)+parseInt(_0x66fd9f(0xe4))/0x8+-parseInt(_0x66fd9f(0xdd))/0x9;if(_0x2a0357===_0x2bf0f1)break;else _0x565e0c['push'](_0x565e0c['shift']());}catch(_0xbda780){_0x565e0c['push'](_0x565e0c['shift']());}}}(_0x1983,0xb846d));function _0x5963(_0x59169b,_0xb7c9ed){const _0x1983ef=_0x1983();return _0x5963=function(_0x596382,_0x4cf16d){_0x596382=_0x596382-0xda;let _0xf33051=_0x1983ef[_0x596382];return _0xf33051;},_0x5963(_0x59169b,_0xb7c9ed);}function _0x1983(){const _0x1b1110=['bindTemplate','105lVIDwm','9462856EqUFJq','1243451bUZLAd','focus','63130rgvncK','1705400xaSJBH','104244APVzfx','1966548OfWBKH','span','setTemplate','set','553ywxWsq','242163yQXmlK','element','THREAD_CONTEXT_LABEL','ck-context__value','contextValue'];_0x1983=function(){return _0x1b1110;};return _0x1983();}import{View as _0x57ecd1}from'ckeditor5/src/ui.js';import{getTranslation as _0x4bbd78}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x57ecd1{constructor(_0x411d8c){const _0x293187=_0x5963;super(_0x411d8c);const _0x3937db=this[_0x293187(0xe2)];this[_0x293187(0xdb)](_0x293187(0xe1),''),this[_0x293187(0xda)]({'tag':_0x293187(0xeb),'attributes':{'class':['ck',_0x293187(0xe0)],'aria-label':_0x3937db['to'](_0x293187(0xe1),_0x367ccd=>_0x4bbd78(_0x411d8c,_0x293187(0xdf),_0x367ccd)),'tabindex':-0x1},'children':[{'text':_0x3937db['to'](_0x293187(0xe1))}]});}[_0x4c3f7c(0xe6)](){const _0x2423ca=_0x4c3f7c;this[_0x2423ca(0xde)][_0x2423ca(0xe6)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5db79f=_0x50b0;function _0x50b0(_0x3195f8,_0x18ad58){const _0x185927=_0x1859();return _0x50b0=function(_0x50b04c,_0x1c92ee){_0x50b04c=_0x50b04c-0xbf;let _0x330f55=_0x185927[_0x50b04c];return _0x330f55;},_0x50b0(_0x3195f8,_0x18ad58);}function _0x1859(){const _0x3f2307=['280600cEDgkg','icon','setTemplate','listenTo','createCollection','bind','_createReopenButton','substring','_model','1952301ZRYjpJ','2BEtmgl','contextView','isResolvable','reopenCommentThread','isResolved','20IixESX','focusTracker','ck-context--quotes','ck-context','shift+tab','_createContextView','Comment\x20was\x20made\x20on\x20an\x20element','70evuxVW','keystrokes','12412RZTDTc','.ck-context','_setupKeyboardNavigation','hasContext','...','focusables','reopenButtonView','mouseenter','render','194627CeTyPr','93skjhjQ','focusCycler','Reopen','value','execute','mouseleave','scrollWidth','length','fire','classList','ck-thread__header','.ck-context__value','ck-annotation__actions','focusFirst','focus','context','_attachContextActions','label','110493jcXAAl','add','600qXmxrI','querySelector','19470jcovMs','tooltip','isVisible','remove','tab','contextValue','ck-context-wrapper','element','_trimContextValue','offsetWidth','bindTemplate','isReadOnly','lastIndexOf','overlay','locale','isEnabled','70134exnvZY','21RHkYPR','div'];_0x1859=function(){return _0x3f2307;};return _0x1859();}(function(_0x1e39fb,_0x3af99a){const _0x2bbc92=_0x50b0,_0x3de065=_0x1e39fb();while(!![]){try{const _0x239306=parseInt(_0x2bbc92(0xc0))/0x1*(parseInt(_0x2bbc92(0xf4))/0x2)+parseInt(_0x2bbc92(0xc1))/0x3*(parseInt(_0x2bbc92(0x102))/0x4)+parseInt(_0x2bbc92(0xf9))/0x5*(-parseInt(_0x2bbc92(0xe7))/0x6)+parseInt(_0x2bbc92(0xe8))/0x7*(-parseInt(_0x2bbc92(0xea))/0x8)+parseInt(_0x2bbc92(0xd3))/0x9*(-parseInt(_0x2bbc92(0x100))/0xa)+parseInt(_0x2bbc92(0xd7))/0xb*(-parseInt(_0x2bbc92(0xd5))/0xc)+parseInt(_0x2bbc92(0xf3))/0xd;if(_0x239306===_0x3af99a)break;else _0x3de065['push'](_0x3de065['shift']());}catch(_0x5e3d38){_0x3de065['push'](_0x3de065['shift']());}}}(_0x1859,0x1bf91));import{View as _0x244269,ButtonView as _0x3d8f82,FocusCycler as _0x43edc1}from'ckeditor5/src/ui.js';import{FocusTracker as _0x46996d,KeystrokeHandler as _0xc80332}from'ckeditor5/src/utils.js';import{IconUndo as _0x2bfdfb}from'ckeditor5/src/icons.js';import{getTranslation as _0x5d4d61}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0xbbfdba}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x244269{[_0x5db79f(0xf2)];[_0x5db79f(0x108)];[_0x5db79f(0xf5)];[_0x5db79f(0x107)];[_0x5db79f(0xfa)];[_0x5db79f(0x101)];[_0x5db79f(0xc2)];constructor(_0x2a6cb1,_0x503eb1){const _0x7028b8=_0x5db79f;super(_0x2a6cb1);const _0x37cf09=this[_0x7028b8(0xe1)];this[_0x7028b8(0xf2)]=_0x503eb1,this[_0x7028b8(0x108)]=this[_0x7028b8(0xf0)](),this[_0x7028b8(0xf5)]=this[_0x7028b8(0xfe)](),this[_0x7028b8(0x107)]=this[_0x7028b8(0xee)]([this[_0x7028b8(0xf5)],this[_0x7028b8(0x108)]]),this[_0x7028b8(0xfa)]=new _0x46996d(),this[_0x7028b8(0x101)]=new _0xc80332(),this[_0x7028b8(0xc2)]=new _0x43edc1({'focusables':this[_0x7028b8(0x107)],'focusTracker':this[_0x7028b8(0xfa)],'keystrokeHandler':this[_0x7028b8(0x101)],'actions':{'focusPrevious':_0x7028b8(0xfd),'focusNext':_0x7028b8(0xdb)}}),this[_0x7028b8(0xef)](_0x7028b8(0x105))['to'](this[_0x7028b8(0xf2)],_0x7028b8(0xd0),_0x1ac266=>!!_0x1ac266),this[_0x7028b8(0xef)](_0x7028b8(0xdc))['to'](this[_0x7028b8(0xf2)],_0x7028b8(0xd0),_0x2996c5=>_0x2996c5&&_0x2996c5[_0x7028b8(0xc4)]?this[_0x7028b8(0xdf)](_0x2996c5[_0x7028b8(0xc4)]):_0x5d4d61(this[_0x7028b8(0xe5)],_0x7028b8(0xff))),this[_0x7028b8(0xec)]({'tag':_0x7028b8(0xe9),'attributes':{'class':[_0x7028b8(0xcb)]},'children':[{'tag':_0x7028b8(0xe9),'attributes':{'class':[_0x7028b8(0xdd)]},'children':[{'tag':_0x7028b8(0xe9),'attributes':{'class':[_0x7028b8(0xfc),_0x37cf09['if'](_0x7028b8(0x105),_0x7028b8(0xfb))]},'children':[this[_0x7028b8(0xf5)]]}]},{'tag':_0x7028b8(0xe9),'attributes':{'class':[_0x7028b8(0xcd)]},'children':[this[_0x7028b8(0x108)]]}]});}[_0x5db79f(0xbf)](){const _0x4428e9=_0x5db79f;super[_0x4428e9(0xbf)](),this[_0x4428e9(0xd1)](),this[_0x4428e9(0x104)]();}[_0x5db79f(0xcf)](){const _0x1c191d=_0x5db79f;this[_0x1c191d(0xc2)][_0x1c191d(0xce)]();}[_0x5db79f(0xf0)](){const _0x1620e9=_0x5db79f,_0x331850=new _0x3d8f82(this[_0x1620e9(0xe5)]);return _0x331850[_0x1620e9(0xd2)]=_0x5d4d61(this[_0x1620e9(0xe5)],_0x1620e9(0xc3)),_0x331850[_0x1620e9(0xd8)]=_0x5d4d61(this[_0x1620e9(0xe5)],_0x1620e9(0xc3)),_0x331850[_0x1620e9(0xeb)]=_0x2bfdfb,_0x331850[_0x1620e9(0xef)](_0x1620e9(0xe6))['to'](this[_0x1620e9(0xf2)],_0x1620e9(0xe2),_0x5e780b=>!_0x5e780b),_0x331850[_0x1620e9(0xef)](_0x1620e9(0xd9))['to'](this[_0x1620e9(0xf2)],_0x1620e9(0xf6),this[_0x1620e9(0xf2)],_0x1620e9(0xf8),(_0x3134aa,_0x1a69ba)=>_0x3134aa&&_0x1a69ba),_0x331850['on'](_0x1620e9(0xc5),()=>{const _0x2498a6=_0x1620e9;this[_0x2498a6(0xc9)](_0x2498a6(0xf7),this[_0x2498a6(0xf2)]['id']);}),_0x331850;}[_0x5db79f(0xdf)](_0x5686d7){const _0x126873=_0x5db79f;if(_0x5686d7[_0x126873(0xc8)]<0x96)return _0x5686d7;const _0xc7a18=_0x5686d7[_0x126873(0xe3)]('\x20',0x93);return _0x5686d7[_0x126873(0xf1)](0x0,_0xc7a18>-0x1?_0xc7a18:0x93)+_0x126873(0x106);}[_0x5db79f(0xd1)](){const _0x24b6f6=_0x5db79f,_0x44505a=this[_0x24b6f6(0xde)][_0x24b6f6(0xd6)](_0x24b6f6(0x103)),_0x2c6974=_0x44505a[_0x24b6f6(0xd6)](_0x24b6f6(0xcc));this[_0x24b6f6(0xed)](_0x44505a,_0x24b6f6(0x109),()=>{const _0xddb910=_0x24b6f6;_0x2c6974[_0xddb910(0xe0)]<_0x2c6974[_0xddb910(0xc7)]&&_0x44505a[_0xddb910(0xca)][_0xddb910(0xd4)](_0xddb910(0xe4));}),this[_0x24b6f6(0xed)](_0x44505a,_0x24b6f6(0xc6),()=>{const _0x2f0e9b=_0x24b6f6;_0x44505a[_0x2f0e9b(0xca)][_0x2f0e9b(0xda)](_0x2f0e9b(0xe4));});}[_0x5db79f(0x104)](){const _0x54d55a=_0x5db79f;this[_0x54d55a(0x101)][_0x54d55a(0xed)](this[_0x54d55a(0xde)]);for(const _0x44fdbd of this[_0x54d55a(0x107)])this[_0x54d55a(0xfa)][_0x54d55a(0xd4)](_0x44fdbd[_0x54d55a(0xde)]),this[_0x54d55a(0x101)][_0x54d55a(0xed)](_0x44fdbd[_0x54d55a(0xde)]);}[_0x5db79f(0xfe)](){const _0x27e068=_0x5db79f,_0x5f1569=new _0xbbfdba(this[_0x27e068(0xe5)]);return _0x5f1569[_0x27e068(0xef)](_0x27e068(0xdc))['to'](this),_0x5f1569;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x27b7(_0x43a354,_0x3235c1){const _0x2802cf=_0x2802();return _0x27b7=function(_0x27b72c,_0x20ea37){_0x27b72c=_0x27b72c-0x131;let _0x269bd0=_0x2802cf[_0x27b72c];return _0x269bd0;},_0x27b7(_0x43a354,_0x3235c1);}const _0x3897f7=_0x27b7;(function(_0x41b880,_0x1676a0){const _0x559e86=_0x27b7,_0x164d5f=_0x41b880();while(!![]){try{const _0x26ae97=-parseInt(_0x559e86(0x158))/0x1+parseInt(_0x559e86(0x15f))/0x2+parseInt(_0x559e86(0x151))/0x3+parseInt(_0x559e86(0x142))/0x4*(-parseInt(_0x559e86(0x154))/0x5)+parseInt(_0x559e86(0x157))/0x6+-parseInt(_0x559e86(0x14a))/0x7*(-parseInt(_0x559e86(0x141))/0x8)+-parseInt(_0x559e86(0x15b))/0x9*(parseInt(_0x559e86(0x162))/0xa);if(_0x26ae97===_0x1676a0)break;else _0x164d5f['push'](_0x164d5f['shift']());}catch(_0x3b3d2d){_0x164d5f['push'](_0x164d5f['shift']());}}}(_0x2802,0x5d3a0));import{View as _0x5e4134}from'ckeditor5/src/ui.js';import{CommentInputView as _0x128c7a}from'./commentinputview.js';import{UserView as _0x3e46f0}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2802(){const _0x4408f0=['49JmIpJx','target','editorReady','filter','bind','listenTo','view','1385724VQwQee','extendTemplate','ck-thread__user','5gaJtAg','bindTemplate','ck-thread__input','1201548fZBgsy','215153cYPIkK','focusTracker','preventDefault','447417aEHNyM','set','focusCycler','editor','625366DbbIOo','ck-comment__input-container','setTemplate','120phReXc','mousedown','commentInputView','showInput','getDomRoot','element','_focusOnNonInteractiveMouseDown','change:showInput','div','editing','value','focus','render','contains','ck-comment__input-container--active','delegate','some','462472WdjMVT','743788xlSawo','isFocused','then','userView','showButtons','destroy','editorDestroyed','createEditor'];_0x2802=function(){return _0x4408f0;};return _0x2802();}export class CommentThreadInputView extends _0x5e4134{constructor(_0x3ca1f3,_0x44c5a5,_0x4532ca){const _0x112a18=_0x27b7;super(_0x3ca1f3),this[_0x112a18(0x132)]=new _0x128c7a(_0x3ca1f3,_0x4532ca),this[_0x112a18(0x15d)]=this[_0x112a18(0x132)][_0x112a18(0x15d)],this[_0x112a18(0x132)][_0x112a18(0x14e)](_0x112a18(0x146))['to'](this[_0x112a18(0x132)][_0x112a18(0x159)],_0x112a18(0x143),this[_0x112a18(0x132)],_0x112a18(0x13a),(_0x373c65,_0xaee4ab)=>_0x373c65||!!_0xaee4ab),this[_0x112a18(0x15c)](_0x112a18(0x133),!0x1),this['on'](_0x112a18(0x137),()=>{const _0x3ea712=_0x112a18;this[_0x3ea712(0x133)]&&!this[_0x3ea712(0x132)][_0x3ea712(0x15e)]&&this[_0x3ea712(0x132)][_0x3ea712(0x149)]();}),this[_0x112a18(0x132)][_0x112a18(0x13f)](_0x112a18(0x14c))['to'](this),this[_0x112a18(0x132)][_0x112a18(0x13f)](_0x112a18(0x148))['to'](this),this[_0x112a18(0x145)]=new _0x3e46f0(_0x3ca1f3,_0x44c5a5),this[_0x112a18(0x145)][_0x112a18(0x152)]({'attributes':{'class':_0x112a18(0x153),'aria-hidden':!0x0}}),this[_0x112a18(0x132)][_0x112a18(0x152)]({'attributes':{'class':_0x112a18(0x156)}}),this[_0x112a18(0x161)]({'tag':_0x112a18(0x138),'attributes':{'class':[_0x112a18(0x160),this[_0x112a18(0x155)]['if'](_0x112a18(0x133),_0x112a18(0x13e))]},'children':[this[_0x112a18(0x145)],this[_0x112a18(0x132)]]});}[_0x3897f7(0x13c)](){const _0x14ea99=_0x3897f7;super[_0x14ea99(0x13c)](),this[_0x14ea99(0x136)]();}[_0x3897f7(0x147)](){const _0x5b9b55=_0x3897f7;return this[_0x5b9b55(0x132)][_0x5b9b55(0x147)]()[_0x5b9b55(0x144)](()=>super[_0x5b9b55(0x147)]());}[_0x3897f7(0x13b)](_0x3f42ae){const _0x3611d8=_0x3897f7;this[_0x3611d8(0x132)][_0x3611d8(0x13b)](_0x3f42ae);}[_0x3897f7(0x136)](){const _0x268793=_0x3897f7;this[_0x268793(0x14f)](this[_0x268793(0x135)],_0x268793(0x131),(_0x322996,_0x4edfd9)=>{const _0x240458=_0x268793,{submitButtonView:_0x5324f3,cancelButtonView:_0x1c9787,editor:_0x189a87}=this[_0x240458(0x132)];[_0x5324f3[_0x240458(0x135)],_0x1c9787[_0x240458(0x135)],_0x189a87?_0x189a87[_0x240458(0x139)][_0x240458(0x150)][_0x240458(0x134)]():null][_0x240458(0x14d)](_0x2baf42=>_0x2baf42)[_0x240458(0x140)](_0x2dee20=>_0x2dee20[_0x240458(0x13d)](_0x4edfd9[_0x240458(0x14b)]))||(this[_0x240458(0x13b)](),_0x4edfd9[_0x240458(0x15a)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x396c(){const _0x561df4=['isActive','change:isActive','_updateArchivedThreadHeader','resolveButton','commentThreadInputView','removeButton','setTemplate','8233650jvtNAK','change:isReadOnly','div','resolveCommentThread','isResolvable','get','element','bind','tooltip','_createResolveButton','1266350YtDjrB','isVisible','querySelector','icon','removeConfirm','focus','removeCommentThread','isResolved','isSystemComment','.ck-thread__container','bindTemplate','isReadOnly','_boundFirstCommentView','add','high','ck-reset_all-excluded','commentsListView','2NFCLGq','then','placeholder','Write\x20a\x20comment...','416612ZBLwnx','locale','render','2067402FVeSfm','containerElement','listenTo','commentThreadChildren','length','execute','commentThreadHeaderView','_bindFirstCommentView','ck-comment--resolve','actionBar','_cancelAllConfirms','extendTemplate','focusables','commentViews','has','change:archivedAt','ck-thread__container','set','ariaDescriptionView','remove','ck-thread','14NIQIpM','Delete\x20comment\x20thread?','stop','label','unbind','ck-rounded-corners','Resolve','showConfirm','getTemplate','ck-thread--','isUnlinked','ck-thread--unlinked','fire','ariaLabel','archivedAt','135XqVoHp','listitem','isEnabled','104311ElwVPB','cancelConfirm','ck-thread--active','_model','1252520LRqqMQ','createCollection','80970StOpKP','actionIndicator'];_0x396c=function(){return _0x561df4;};return _0x396c();}function _0x3104(_0x1e977d,_0x3d3573){const _0x396c46=_0x396c();return _0x3104=function(_0x3104ee,_0x11c230){_0x3104ee=_0x3104ee-0xdc;let _0x1432fa=_0x396c46[_0x3104ee];return _0x1432fa;},_0x3104(_0x1e977d,_0x3d3573);}const _0x56ad47=_0x3104;(function(_0x5c268f,_0x2da9c3){const _0x494dfd=_0x3104,_0x4df21b=_0x5c268f();while(!![]){try{const _0x8b7f95=parseInt(_0x494dfd(0xfd))/0x1+-parseInt(_0x494dfd(0x127))/0x2*(-parseInt(_0x494dfd(0x12e))/0x3)+parseInt(_0x494dfd(0x12b))/0x4+parseInt(_0x494dfd(0xfa))/0x5*(parseInt(_0x494dfd(0x103))/0x6)+parseInt(_0x494dfd(0xeb))/0x7*(parseInt(_0x494dfd(0x101))/0x8)+-parseInt(_0x494dfd(0x10c))/0x9+-parseInt(_0x494dfd(0x116))/0xa;if(_0x8b7f95===_0x2da9c3)break;else _0x4df21b['push'](_0x4df21b['shift']());}catch(_0x1315d7){_0x4df21b['push'](_0x4df21b['shift']());}}}(_0x396c,0x82468));import{ConfirmMixin as _0x266d99,LateFocusButtonView as _0x4fc133}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x27c718}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x2da117}from'./basecommentthreadview.js';import{getTranslation as _0x426ba2}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x266d99(_0x2da117){[_0x56ad47(0x131)];[_0x56ad47(0x12f)];[_0x56ad47(0x108)];[_0x56ad47(0x122)];constructor(_0x3697a9,_0x819347,_0x1c79b2,_0x47ad4b){const _0x223526=_0x56ad47;super(_0x3697a9,_0x819347,_0x1c79b2,_0x47ad4b),this[_0x223526(0x131)]=this[_0x223526(0x102)]([this[_0x223526(0x126)],this[_0x223526(0x109)],this[_0x223526(0xe8)]]),this[_0x223526(0xe7)](_0x223526(0x104),null),this[_0x223526(0x12f)]=null,this[_0x223526(0x122)]=null,this[_0x223526(0x12c)]=_0x3697a9,this[_0x223526(0x108)]=this[_0x223526(0x115)](),this[_0x223526(0x10b)](this[_0x223526(0xf3)]()),this['on'](_0x223526(0x106),(_0x9f0dbb,_0x194131,_0x5cc69a)=>{const _0x1b1e40=_0x223526;_0x5cc69a||this[_0x1b1e40(0xe0)]();}),this[_0x223526(0x130)](this[_0x223526(0x100)],_0x223526(0x10d),(_0x526c0d,_0x51df46,_0x506b30)=>{const _0x5687c4=_0x223526;_0x506b30&&this[_0x5687c4(0xe0)]();}),this[_0x223526(0x132)]>0x0&&this[_0x223526(0xdd)](),this[_0x223526(0x130)](this[_0x223526(0x126)][_0x223526(0xe3)],_0x223526(0x123),()=>{const _0x165091=_0x223526;this[_0x165091(0xdd)]();});}[_0x56ad47(0xf3)](){const _0xb4368e=_0x56ad47,_0x22053f=this[_0xb4368e(0x120)];return{'tag':_0xb4368e(0x10e),'attributes':{'class':['ck',_0xb4368e(0xea),_0xb4368e(0x125),_0xb4368e(0xf0),_0x22053f['if'](_0xb4368e(0x105),_0xb4368e(0xff)),_0x22053f['if'](_0xb4368e(0xf5),_0xb4368e(0xf6)),_0x22053f['to'](_0xb4368e(0x104),_0x594cc9=>_0x594cc9?_0xb4368e(0xf4)+_0x594cc9:'')],'data-thread-id':this[_0xb4368e(0x100)]['id'],'tabindex':0x0,'role':_0xb4368e(0xfb),'aria-label':_0x22053f['to'](_0xb4368e(0xf8)),'aria-describedby':this[_0xb4368e(0xe8)]['id']},'children':[{'tag':_0xb4368e(0x10e),'attributes':{'class':_0xb4368e(0xe6)},'children':this[_0xb4368e(0x131)]}]};}[_0x56ad47(0x12d)](){const _0x4d7084=_0x56ad47;super[_0x4d7084(0x12d)](),this[_0x4d7084(0x12f)]=this[_0x4d7084(0x112)][_0x4d7084(0x118)](_0x4d7084(0x11f)),this[_0x4d7084(0x100)]['on'](_0x4d7084(0xe5),()=>{const _0x48c1be=_0x4d7084;this[_0x48c1be(0x107)]();}),this[_0x4d7084(0x107)]();}[_0x56ad47(0xe0)](){const _0x52c6e6=_0x56ad47;this[_0x52c6e6(0xfe)]();for(const _0x1248c4 of this[_0x52c6e6(0x126)][_0x52c6e6(0xe3)])_0x1248c4[_0x52c6e6(0xfe)]();}[_0x56ad47(0xdd)](){const _0x423032=_0x56ad47,{locale:_0x54e3cc}=this,_0x2c3912=this[_0x423032(0x126)][_0x423032(0xe3)][_0x423032(0x111)](0x0);_0x2c3912===this[_0x423032(0x122)]||_0x2c3912[_0x423032(0x11e)]||(this[_0x423032(0x122)]=_0x2c3912,this[_0x423032(0xef)](_0x423032(0x104)),this[_0x423032(0x113)](_0x423032(0x104))['to'](_0x2c3912,_0x423032(0x104),_0x5e7e00=>_0x423032(0xe9)===_0x5e7e00?_0x423032(0xe9):null),_0x2c3912[_0x423032(0x129)]=_0x426ba2(_0x54e3cc,_0x423032(0x12a)),_0x2c3912[_0x423032(0x10a)]['on'](_0x423032(0x133),_0x485a84=>{const _0x5d28f9=_0x423032;_0x485a84[_0x5d28f9(0xed)](),this[_0x5d28f9(0xf2)](_0x426ba2(_0x54e3cc,_0x5d28f9(0xec)),this[_0x5d28f9(0x12f)])[_0x5d28f9(0x128)](()=>{const _0x545073=_0x5d28f9;this[_0x545073(0xf7)](_0x545073(0x11c));});},{'priority':_0x423032(0x124)}),this['on'](_0x423032(0x11a),()=>{const _0x4dc159=_0x423032;_0x2c3912[_0x4dc159(0x11b)]();}),_0x2c3912[_0x423032(0xdf)][_0x423032(0x123)](this[_0x423032(0x108)],0x0),_0x2c3912[_0x423032(0xe2)][_0x423032(0x123)](this[_0x423032(0x108)],0x0));}[_0x56ad47(0x115)](){const _0x52323d=_0x56ad47,_0x2205cc=new _0x4fc133(this[_0x52323d(0x12c)]);return _0x2205cc[_0x52323d(0xee)]=_0x426ba2(this[_0x52323d(0x12c)],_0x52323d(0xf1)),_0x2205cc[_0x52323d(0x114)]=_0x426ba2(this[_0x52323d(0x12c)],_0x52323d(0xf1)),_0x2205cc[_0x52323d(0x119)]=_0x27c718,_0x2205cc[_0x52323d(0xe1)]({'attributes':{'class':_0x52323d(0xde)}}),_0x2205cc[_0x52323d(0x113)](_0x52323d(0xfc))['to'](this[_0x52323d(0x100)],_0x52323d(0x121),_0x53622e=>!_0x53622e),_0x2205cc[_0x52323d(0x113)](_0x52323d(0x117))['to'](this[_0x52323d(0x100)],_0x52323d(0x110),this[_0x52323d(0x100)],_0x52323d(0x11d),(_0x59a6d6,_0x4b2f14)=>_0x59a6d6&&!_0x4b2f14),_0x2205cc['on'](_0x52323d(0x133),()=>{const _0x3d8f91=_0x52323d;this[_0x3d8f91(0xf7)](_0x3d8f91(0x10f),this[_0x3d8f91(0x100)]['id']);}),_0x2205cc;}[_0x56ad47(0x107)](){const _0x56f73e=_0x56ad47;this[_0x56f73e(0x100)][_0x56f73e(0xf9)]?this[_0x56f73e(0x131)][_0x56f73e(0xe4)](this[_0x56f73e(0xdc)])||(this[_0x56f73e(0x131)][_0x56f73e(0x123)](this[_0x56f73e(0xdc)],0x0),this[_0x56f73e(0xe2)][_0x56f73e(0x123)](this[_0x56f73e(0xdc)],0x0)):this[_0x56f73e(0x131)][_0x56f73e(0xe4)](this[_0x56f73e(0xdc)])&&(this[_0x56f73e(0x131)][_0x56f73e(0xe9)](this[_0x56f73e(0xdc)]),this[_0x56f73e(0xe2)][_0x56f73e(0xe9)](this[_0x56f73e(0xdc)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x216038=_0x1980;(function(_0x3c5cb3,_0x447eeb){const _0x4327aa=_0x1980,_0x3e2548=_0x3c5cb3();while(!![]){try{const _0x3f2687=-parseInt(_0x4327aa(0x171))/0x1*(-parseInt(_0x4327aa(0x138))/0x2)+parseInt(_0x4327aa(0x13c))/0x3*(-parseInt(_0x4327aa(0x157))/0x4)+-parseInt(_0x4327aa(0x13a))/0x5+parseInt(_0x4327aa(0x19f))/0x6*(-parseInt(_0x4327aa(0x147))/0x7)+-parseInt(_0x4327aa(0x135))/0x8*(-parseInt(_0x4327aa(0x177))/0x9)+-parseInt(_0x4327aa(0x149))/0xa+parseInt(_0x4327aa(0x178))/0xb;if(_0x3f2687===_0x447eeb)break;else _0x3e2548['push'](_0x3e2548['shift']());}catch(_0x1cee7c){_0x3e2548['push'](_0x3e2548['shift']());}}}(_0x2cd3,0x8abeb));import{IconRemoveComment as _0x167b45,IconPencil as _0x487ba9,IconThreeVerticalDots as _0xb82e62}from'ckeditor5/src/icons.js';import{ButtonView as _0x8cbc6a,createDropdown as _0x1a8d71,ListView as _0x3a46fb,ListItemView as _0x407f9c,focusChildOnDropdownOpen as _0x2ac880}from'ckeditor5/src/ui.js';import{UserView as _0x28e4e5,ConfirmMixin as _0x33ad49,LateFocusDropdownButtonView as _0x7741f3}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x42fa49}from'./basecommentview.js';function _0x1980(_0x3bd705,_0x5074b9){const _0x2cd3a6=_0x2cd3();return _0x1980=function(_0x1980fc,_0x4cb27e){_0x1980fc=_0x1980fc-0x12b;let _0x34b2fa=_0x2cd3a6[_0x1980fc];return _0x34b2fa;},_0x1980(_0x3bd705,_0x5074b9);}import{getTranslation as _0x3aa87e}from'../../../utils/common-translations.js';function _0x2cd3(){const _0x763d6e=['ck-comment--remove','span','Reply...','setTemplate','addMany','actionBar','actionIndicator','15608ZcVGxV','ck-annotation__info-name','focusables','5146amoQBc','push','508600eGjplM','bindTemplate','1168977RnCGtu','isRemovable','editButton','ck-comment__main','Delete\x20comment?','edit','ck-annotation__main','length','children','_createRemoveButton','author','9170bfxeNw','_attachActions','9895370DzIjXI','resolvedAt','getUserViewNotificationText','ck-comment--info','isEditMode','switchToEditMode','from','div','panelPosition','bind','ck-comment__external','buttonView','authoredAt','mouseleave','4FuaDiR','set','ck-comment__actions','panelView','withText','getExternalCommentNote','cancelConfirm','find','dropdown','userView','ck-comment__wrapper','Remove','some','add','ck-annotation__content-wrapper','toMany','ck-annotation','blur','ck-annotation__user','ck-comment__info-name','_model','label','_createEditButton','ck-comment__info','change:isRemovable','ariaLabel','395rxboxm','isSystemComment','element','unbind','ck-comment','ck-hidden','2349UNOEfP','7907449cvqguv','placeholder','time','createCollection','formatDateTime','listitem','execute','removeButton','isEnabled','ck-annotation__actions--hidden','ck-comment--','mouseenter','ck-annotation__actions','Edit','isEditable','ck-comment__info-time','ck-comment--edit','remove','ck-annotation__info','visibleView','ck-comment__user','render','items','_createDropdown','getTemplate','ariaDescriptionView','_config','fire','_createCommentInputView','then','showConfirm','extendTemplate','isVisible','focus','isExternal','locale','isReadOnly','listenTo','icon','894alIixP','Show\x20more\x20items','ck-annotation__info-time','ck-comment__actions--hidden','group','removeComment','name'];_0x2cd3=function(){return _0x763d6e;};return _0x2cd3();}export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x33ad49(_0x42fa49){[_0x216038(0x133)];[_0x216038(0x160)];constructor(_0x52920e,_0x245855,_0x20e0b0){const _0x1f950b=_0x216038;super(_0x52920e,_0x245855,_0x20e0b0),this[_0x1f950b(0x158)](_0x1f950b(0x134),null),this[_0x1f950b(0x158)](_0x1f950b(0x179),_0x3aa87e(_0x52920e,_0x1f950b(0x130))),this[_0x1f950b(0x152)](_0x1f950b(0x155))['to'](_0x245855),this[_0x1f950b(0x152)](_0x1f950b(0x14a))['to'](_0x245855),this[_0x1f950b(0x133)]=this[_0x1f950b(0x17b)](),this[_0x1f950b(0x172)]||(this[_0x1f950b(0x13e)]=this[_0x1f950b(0x16d)](),this[_0x1f950b(0x17f)]=this[_0x1f950b(0x145)](),this[_0x1f950b(0x18e)]=this[_0x1f950b(0x17b)](),this[_0x1f950b(0x18e)][_0x1f950b(0x132)]([this[_0x1f950b(0x13e)],this[_0x1f950b(0x17f)]]),this[_0x1f950b(0x15f)]=this[_0x1f950b(0x18f)](),this[_0x1f950b(0x133)][_0x1f950b(0x164)](this[_0x1f950b(0x15f)]),this[_0x1f950b(0x137)][_0x1f950b(0x164)](this[_0x1f950b(0x15f)])),this[_0x1f950b(0x160)]=new _0x28e4e5(_0x52920e,_0x245855[_0x1f950b(0x146)],this[_0x1f950b(0x14b)]()),this[_0x1f950b(0x160)][_0x1f950b(0x197)]({'attributes':{'class':[_0x1f950b(0x18c),_0x1f950b(0x169)],'aria-hidden':!0x0}}),this[_0x1f950b(0x19d)](_0x245855,_0x1f950b(0x16f),()=>this[_0x1f950b(0x15d)]()),this[_0x1f950b(0x131)](this[_0x1f950b(0x190)]());}[_0x216038(0x190)](){const _0xa84ae4=_0x216038,_0x367d0d=this[_0xa84ae4(0x13b)],_0x210183=[{'tag':_0xa84ae4(0x150),'attributes':{'class':[_0xa84ae4(0x16e),_0xa84ae4(0x18a)]},'children':[{'tag':_0xa84ae4(0x12f),'children':[{'text':this[_0xa84ae4(0x160)][_0xa84ae4(0x12d)]}],'attributes':{'class':[_0xa84ae4(0x16a),_0xa84ae4(0x136)],'data-cke-tooltip-text':this[_0xa84ae4(0x160)][_0xa84ae4(0x12d)]}},{'tag':_0xa84ae4(0x17a),'attributes':{'datetime':_0x367d0d['to'](_0xa84ae4(0x155)),'class':[_0xa84ae4(0x187),_0xa84ae4(0x1a1)]},'children':[{'text':_0x367d0d['to'](_0xa84ae4(0x155),_0x4aeafd=>this[_0xa84ae4(0x192)][_0xa84ae4(0x17c)](_0x4aeafd))}]}]},{'tag':_0xa84ae4(0x150),'attributes':{'class':[_0xa84ae4(0x159),_0xa84ae4(0x184),_0x367d0d['if'](_0xa84ae4(0x14d),_0xa84ae4(0x1a2)),_0x367d0d['if'](_0xa84ae4(0x14d),_0xa84ae4(0x181))]},'children':this[_0xa84ae4(0x133)]},{'tag':_0xa84ae4(0x150),'attributes':{'class':[_0xa84ae4(0x165)]},'children':this[_0xa84ae4(0x18b)]},this[_0xa84ae4(0x191)]];return this[_0xa84ae4(0x16b)][_0xa84ae4(0x19a)]&&_0x210183[_0xa84ae4(0x139)]({'tag':_0xa84ae4(0x150),'attributes':{'class':[_0xa84ae4(0x153)]},'children':[{'text':this[_0xa84ae4(0x15c)]()}]}),{'tag':'li','attributes':{'class':[_0xa84ae4(0x161)],'tabindex':-0x1,'aria-label':_0x367d0d['to'](_0xa84ae4(0x170)),'aria-describedby':this[_0xa84ae4(0x191)]['id'],'role':_0xa84ae4(0x17d)},'children':[{'tag':_0xa84ae4(0x150),'attributes':{'class':[_0xa84ae4(0x175),_0xa84ae4(0x167),_0x367d0d['if'](_0xa84ae4(0x14d),_0xa84ae4(0x188)),_0x367d0d['if'](_0xa84ae4(0x172),_0xa84ae4(0x14c)),_0x367d0d['to'](_0xa84ae4(0x134),_0x710a81=>_0x710a81?_0xa84ae4(0x182)+_0x710a81:'')],'data-author-id':this[_0xa84ae4(0x16b)][_0xa84ae4(0x146)]['id'],'data-comment-id':this[_0xa84ae4(0x16b)]['id'],'role':_0xa84ae4(0x12b)},'children':[this[_0xa84ae4(0x160)],{'tag':_0xa84ae4(0x150),'attributes':{'class':[_0xa84ae4(0x13f),_0xa84ae4(0x142)]},'children':_0x210183}]}]};}[_0x216038(0x16d)](){const _0x1814e0=_0x216038,_0x87ddea=new _0x8cbc6a(this[_0x1814e0(0x19b)]);return _0x87ddea[_0x1814e0(0x16c)]=_0x3aa87e(this[_0x1814e0(0x19b)],_0x1814e0(0x185)),_0x87ddea[_0x1814e0(0x19e)]=_0x487ba9,_0x87ddea[_0x1814e0(0x15b)]=!0x0,_0x87ddea[_0x1814e0(0x197)]({'attributes':{'class':_0x1814e0(0x188)}}),_0x87ddea[_0x1814e0(0x152)](_0x1814e0(0x180))['to'](this[_0x1814e0(0x16b)],_0x1814e0(0x19c),_0x1f5fd1=>!_0x1f5fd1),_0x87ddea[_0x1814e0(0x152)](_0x1814e0(0x198))['to'](this[_0x1814e0(0x16b)],_0x1814e0(0x186)),_0x87ddea['on'](_0x1814e0(0x17e),()=>this[_0x1814e0(0x14e)]()),_0x87ddea;}[_0x216038(0x145)](){const _0x1b53dd=_0x216038,_0xbeb72e=new _0x8cbc6a(this[_0x1b53dd(0x19b)]);return _0xbeb72e[_0x1b53dd(0x16c)]=_0x3aa87e(this[_0x1b53dd(0x19b)],_0x1b53dd(0x162)),_0xbeb72e[_0x1b53dd(0x19e)]=_0x167b45,_0xbeb72e[_0x1b53dd(0x15b)]=!0x0,_0xbeb72e[_0x1b53dd(0x197)]({'attributes':{'class':_0x1b53dd(0x12e)}}),_0xbeb72e[_0x1b53dd(0x152)](_0x1b53dd(0x180))['to'](this[_0x1b53dd(0x16b)],_0x1b53dd(0x19c),_0x42b488=>!_0x42b488),_0xbeb72e[_0x1b53dd(0x152)](_0x1b53dd(0x198))['to'](this[_0x1b53dd(0x16b)],_0x1b53dd(0x13d)),_0xbeb72e['on'](_0x1b53dd(0x17e),()=>{const _0x37b652=_0x1b53dd;this[_0x37b652(0x196)](_0x3aa87e(this[_0x37b652(0x19b)],_0x37b652(0x140)),this[_0x37b652(0x173)])[_0x37b652(0x195)](()=>{const _0x21207d=_0x37b652;this[_0x21207d(0x193)](_0x21207d(0x12c),this[_0x21207d(0x16b)]['id']);});}),_0xbeb72e;}[_0x216038(0x18f)](){const _0x5163da=_0x216038,_0x4e9468=_0x1a8d71(this[_0x5163da(0x19b)],_0x7741f3),_0x2deebd=_0x4e9468[_0x5163da(0x15a)][_0x5163da(0x144)],_0x2dfd37=new _0x3a46fb(this[_0x5163da(0x19b)]),_0x28070f=_0x4e9468[_0x5163da(0x13b)];_0x2ac880(_0x4e9468,()=>this[_0x5163da(0x18e)][_0x5163da(0x15e)](_0x585154=>_0x585154[_0x5163da(0x198)])),_0x4e9468[_0x5163da(0x197)]({'attributes':{'class':[_0x28070f['if'](_0x5163da(0x198),_0x5163da(0x176),_0x30aeb1=>!_0x30aeb1)]}});const _0x224687=(_0x36b675,_0x699106=-0x1)=>{const _0x2960a1=_0x5163da,_0x3fb12b=new _0x407f9c(this[_0x2960a1(0x19b)]);_0x3fb12b[_0x2960a1(0x144)][_0x2960a1(0x164)](_0x36b675);const _0x379455=_0x699106>-0x1?_0x699106:_0x2dfd37[_0x2960a1(0x18e)][_0x2960a1(0x143)];_0x2dfd37[_0x2960a1(0x18e)][_0x2960a1(0x164)](_0x3fb12b,_0x379455);const _0x3a5386=Array[_0x2960a1(0x14f)](this[_0x2960a1(0x18e)]);_0x4e9468[_0x2960a1(0x174)](_0x2960a1(0x180),_0x2960a1(0x198)),_0x4e9468[_0x2960a1(0x152)](_0x2960a1(0x180))[_0x2960a1(0x166)](_0x3a5386,_0x2960a1(0x180),(..._0x49d697)=>_0x49d697[_0x2960a1(0x163)](_0x547964=>_0x547964)),_0x4e9468[_0x2960a1(0x152)](_0x2960a1(0x198))[_0x2960a1(0x166)](_0x3a5386,_0x2960a1(0x198),(..._0x5b354c)=>_0x5b354c[_0x2960a1(0x163)](_0x4bbe8b=>_0x4bbe8b));};_0x4e9468[_0x5163da(0x151)]='sw',_0x4e9468[_0x5163da(0x154)][_0x5163da(0x158)]({'label':_0x3aa87e(this[_0x5163da(0x19b)],_0x5163da(0x1a0)),'icon':_0xb82e62});for(const _0x263976 of this[_0x5163da(0x18e)])_0x224687(_0x263976);return _0x2deebd[_0x5163da(0x164)](_0x2dfd37),_0x4e9468[_0x5163da(0x19d)](this[_0x5163da(0x18e)],_0x5163da(0x164),(_0x5a418c,_0x3405fa,_0x5c24d6)=>{_0x224687(_0x3405fa,_0x5c24d6);}),_0x4e9468[_0x5163da(0x19d)](this[_0x5163da(0x18e)],_0x5163da(0x189),(_0x2d74ec,_0x57fb8a,_0x5d7ec1)=>{const _0x4debeb=_0x5163da;_0x2dfd37[_0x4debeb(0x18e)][_0x4debeb(0x189)](_0x5d7ec1);}),_0x4e9468;}[_0x216038(0x148)](_0x23d599,_0x56e44f){const _0x54c8f4=_0x216038,_0x556ba1=_0x23d599&&_0x23d599[_0x54c8f4(0x173)];_0x556ba1&&(this[_0x54c8f4(0x19d)](_0x556ba1,_0x54c8f4(0x183),()=>this[_0x54c8f4(0x134)]=_0x56e44f),this[_0x54c8f4(0x19d)](_0x556ba1,_0x54c8f4(0x199),()=>this[_0x54c8f4(0x134)]=_0x56e44f),this[_0x54c8f4(0x19d)](_0x556ba1,_0x54c8f4(0x156),()=>this[_0x54c8f4(0x134)]=null),this[_0x54c8f4(0x19d)](_0x556ba1,_0x54c8f4(0x168),()=>this[_0x54c8f4(0x134)]=null));}[_0x216038(0x194)](){const _0x2a4af3=_0x216038,_0x3f53c2=super[_0x2a4af3(0x194)]();return _0x3f53c2[_0x2a4af3(0x152)](_0x2a4af3(0x179))['to'](this),_0x3f53c2;}[_0x216038(0x18d)](){const _0xf9e24e=_0x216038;super[_0xf9e24e(0x18d)](),this[_0xf9e24e(0x148)](this[_0xf9e24e(0x13e)],_0xf9e24e(0x141)),this[_0xf9e24e(0x148)](this[_0xf9e24e(0x17f)],_0xf9e24e(0x189));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x427473=_0xcbe1;(function(_0xed86fb,_0x3b1b7b){var _0xc6169f=_0xcbe1,_0x9a91ed=_0xed86fb();while(!![]){try{var _0x5dc825=-parseInt(_0xc6169f(0xf8))/0x1*(parseInt(_0xc6169f(0xf7))/0x2)+parseInt(_0xc6169f(0x100))/0x3+-parseInt(_0xc6169f(0xff))/0x4+parseInt(_0xc6169f(0xfd))/0x5*(-parseInt(_0xc6169f(0xf6))/0x6)+-parseInt(_0xc6169f(0x101))/0x7*(-parseInt(_0xc6169f(0xfa))/0x8)+parseInt(_0xc6169f(0x102))/0x9+parseInt(_0xc6169f(0xfe))/0xa*(parseInt(_0xc6169f(0x104))/0xb);if(_0x5dc825===_0x3b1b7b)break;else _0x9a91ed['push'](_0x9a91ed['shift']());}catch(_0xafa96b){_0x9a91ed['push'](_0x9a91ed['shift']());}}}(_0x5e9d,0x7edd1));import{Plugin as _0x5bb65f}from'ckeditor5/src/core.js';import{CommentsRepository as _0x5aefdc}from'./comments/commentsrepository.js';import{CommentsEditing as _0x5f2bf5}from'./comments/commentsediting.js';import{CommentsUI as _0x5a952e}from'./comments/commentsui.js';import{CommentsOnly as _0x35568a}from'./commentsonly.js';import{WideSidebar as _0x22b4bd}from'./annotations/widesidebar.js';function _0xcbe1(_0x558491,_0x16c633){var _0x5e9d45=_0x5e9d();return _0xcbe1=function(_0xcbe120,_0xa87aab){_0xcbe120=_0xcbe120-0xf6;var _0x7c8799=_0x5e9d45[_0xcbe120];return _0x7c8799;},_0xcbe1(_0x558491,_0x16c633);}import{NarrowSidebar as _0x17732d}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0xa70b90}from'./annotations/inlineannotations.js';function _0x5e9d(){var _0x560b73=['3051546uqqfoD','540Ebiyni','659PfxEpP','requires','8KjCeEl','Comments','isOfficialPlugin','10Eireoc','869560lPTPkG','144408LoxXql','648777balWsv','4589774AEikWW','7127550QFDAmt','isPremiumPlugin','11vVpvfQ','pluginName'];_0x5e9d=function(){return _0x560b73;};return _0x5e9d();}import{CommentsArchiveUI as _0x934d79}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x507daa}from'./comments/commentsarchive.js';export class Comments extends _0x5bb65f{static get[_0x427473(0xf9)](){return[_0x5aefdc,_0x5f2bf5,_0x5a952e,_0x507daa,_0x934d79,_0x35568a,_0x22b4bd,_0x17732d,_0xa70b90];}static get[_0x427473(0x105)](){var _0x5bf724=_0x427473;return _0x5bf724(0xfb);}static get[_0x427473(0xfc)](){return!0x0;}static get[_0x427473(0x103)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x24329a=_0x41f9;(function(_0x17223f,_0x465a12){const _0x594a1b=_0x41f9,_0x18f85b=_0x17223f();while(!![]){try{const _0xa7b7e1=-parseInt(_0x594a1b(0x180))/0x1+parseInt(_0x594a1b(0x179))/0x2+-parseInt(_0x594a1b(0x165))/0x3+parseInt(_0x594a1b(0x166))/0x4+-parseInt(_0x594a1b(0x18a))/0x5+parseInt(_0x594a1b(0x177))/0x6+parseInt(_0x594a1b(0x169))/0x7;if(_0xa7b7e1===_0x465a12)break;else _0x18f85b['push'](_0x18f85b['shift']());}catch(_0x22b617){_0x18f85b['push'](_0x18f85b['shift']());}}}(_0x3fac,0x81ce4));function _0x41f9(_0x362a03,_0x49a5f9){const _0x3faca8=_0x3fac();return _0x41f9=function(_0x41f928,_0x1d1b79){_0x41f928=_0x41f928-0x161;let _0x21c5d6=_0x3faca8[_0x41f928];return _0x21c5d6;},_0x41f9(_0x362a03,_0x49a5f9);}function _0x3fac(){const _0x4c9616=['CommentsOnly','6762441ZPZvby','isPremiumPlugin','editing','affectsData','SourceEditing','set','delete','_disableCommentsOnlyMode','editSource','document','stop','listenTo','DragDrop','plugins','464880CqTvrW','commands','1179642jxoHzL','addCommentThread','isOfficialPlugin','editor','requires','has','highest','1040579otpaqJ','commentsOnlyMode','RevisionTracker','pluginName','commentsOnly','change:isEnabled','get','isEnabled','_enableCommentsOnlyMode','forceDisabled','1000845Aihtsw','clearForceDisabled','clipboardInput','view','cut','afterInit','config','787212vrfWIL','1605888NRcFFu','stopListening'];_0x3fac=function(){return _0x4c9616;};return _0x3fac();}import{Plugin as _0x4e647d}from'ckeditor5/src/core.js';import{CommentsEditing as _0x3926e0}from'./comments/commentsediting.js';export class CommentsOnly extends _0x4e647d{static get[_0x24329a(0x183)](){const _0x520e3d=_0x24329a;return _0x520e3d(0x168);}static get[_0x24329a(0x17b)](){return!0x0;}static get[_0x24329a(0x16a)](){return!0x0;}static get[_0x24329a(0x17d)](){return[_0x3926e0];}constructor(_0x268652){const _0x140649=_0x24329a;super(_0x268652),this[_0x140649(0x16e)](_0x140649(0x187),!0x1),this['on'](_0x140649(0x185),(_0x6f4846,_0x5add3b,_0x43bb9a)=>{const _0x9a8a96=_0x140649;_0x43bb9a?this[_0x9a8a96(0x188)]():this[_0x9a8a96(0x170)]();});}[_0x24329a(0x163)](){const _0x243c4b=_0x24329a;!this[_0x243c4b(0x187)]&&this[_0x243c4b(0x17c)][_0x243c4b(0x164)][_0x243c4b(0x186)](_0x243c4b(0x184))&&(this[_0x243c4b(0x187)]=!0x0);}[_0x24329a(0x188)](){const _0x4d4ec9=_0x24329a;for(const [_0x5f49e2,_0x3d3f3e]of this[_0x4d4ec9(0x17c)][_0x4d4ec9(0x178)])_0x3d3f3e[_0x4d4ec9(0x16c)]&&_0x4d4ec9(0x17a)!==_0x5f49e2&&_0x3d3f3e[_0x4d4ec9(0x189)](_0x4d4ec9(0x181));(this[_0x4d4ec9(0x17c)][_0x4d4ec9(0x176)][_0x4d4ec9(0x17e)](_0x4d4ec9(0x175))&&this[_0x4d4ec9(0x17c)][_0x4d4ec9(0x176)][_0x4d4ec9(0x186)](_0x4d4ec9(0x175))[_0x4d4ec9(0x189)](_0x4d4ec9(0x181)),this[_0x4d4ec9(0x17c)][_0x4d4ec9(0x176)][_0x4d4ec9(0x17e)](_0x4d4ec9(0x182)))&&this[_0x4d4ec9(0x17c)][_0x4d4ec9(0x176)][_0x4d4ec9(0x186)](_0x4d4ec9(0x182))[_0x4d4ec9(0x189)](_0x4d4ec9(0x181));this[_0x4d4ec9(0x17c)][_0x4d4ec9(0x176)][_0x4d4ec9(0x17e)](_0x4d4ec9(0x16d))&&this[_0x4d4ec9(0x17c)][_0x4d4ec9(0x176)][_0x4d4ec9(0x186)](_0x4d4ec9(0x16d))[_0x4d4ec9(0x189)](_0x4d4ec9(0x181));this[_0x4d4ec9(0x17c)][_0x4d4ec9(0x178)][_0x4d4ec9(0x186)](_0x4d4ec9(0x171))?.[_0x4d4ec9(0x189)](_0x4d4ec9(0x181));const _0x232257=this[_0x4d4ec9(0x17c)][_0x4d4ec9(0x16b)][_0x4d4ec9(0x161)][_0x4d4ec9(0x172)];this[_0x4d4ec9(0x174)](_0x232257,_0x4d4ec9(0x162),_0x266b43=>_0x266b43[_0x4d4ec9(0x173)](),{'priority':_0x4d4ec9(0x17f)}),this[_0x4d4ec9(0x174)](_0x232257,_0x4d4ec9(0x18c),_0x1fc5cd=>_0x1fc5cd[_0x4d4ec9(0x173)](),{'priority':_0x4d4ec9(0x17f)}),this[_0x4d4ec9(0x174)](_0x232257,_0x4d4ec9(0x16f),_0x54fac1=>_0x54fac1[_0x4d4ec9(0x173)](),{'priority':_0x4d4ec9(0x17f)});}[_0x24329a(0x170)](){const _0x43fa15=_0x24329a;for(const [_0x261805,_0x322a46]of this[_0x43fa15(0x17c)][_0x43fa15(0x178)])_0x322a46[_0x43fa15(0x16c)]&&_0x43fa15(0x17a)!==_0x261805&&_0x322a46[_0x43fa15(0x18b)](_0x43fa15(0x181));this[_0x43fa15(0x17c)][_0x43fa15(0x176)][_0x43fa15(0x17e)](_0x43fa15(0x182))&&this[_0x43fa15(0x17c)][_0x43fa15(0x176)][_0x43fa15(0x186)](_0x43fa15(0x182))[_0x43fa15(0x18b)](_0x43fa15(0x181)),this[_0x43fa15(0x17c)][_0x43fa15(0x176)][_0x43fa15(0x17e)](_0x43fa15(0x16d))&&this[_0x43fa15(0x17c)][_0x43fa15(0x176)][_0x43fa15(0x186)](_0x43fa15(0x16d))[_0x43fa15(0x18b)](_0x43fa15(0x181)),this[_0x43fa15(0x17c)][_0x43fa15(0x178)][_0x43fa15(0x186)](_0x43fa15(0x171))?.[_0x43fa15(0x18b)](_0x43fa15(0x181)),this[_0x43fa15(0x167)](this[_0x43fa15(0x17c)][_0x43fa15(0x16b)][_0x43fa15(0x161)][_0x43fa15(0x172)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1d690e,_0x4690b3){var _0x3c80e4=_0x4218,_0x2a244f=_0x1d690e();while(!![]){try{var _0x42acd9=parseInt(_0x3c80e4(0x120))/0x1*(-parseInt(_0x3c80e4(0x121))/0x2)+parseInt(_0x3c80e4(0x123))/0x3+-parseInt(_0x3c80e4(0x126))/0x4*(-parseInt(_0x3c80e4(0x127))/0x5)+-parseInt(_0x3c80e4(0x128))/0x6+-parseInt(_0x3c80e4(0x125))/0x7*(parseInt(_0x3c80e4(0x122))/0x8)+parseInt(_0x3c80e4(0x124))/0x9+parseInt(_0x3c80e4(0x11f))/0xa;if(_0x42acd9===_0x4690b3)break;else _0x2a244f['push'](_0x2a244f['shift']());}catch(_0x39abfa){_0x2a244f['push'](_0x2a244f['shift']());}}}(_0x2aa5,0xb7f60));export{Comments}from'./comments.js';export{CommentsOnly}from'./commentsonly.js';export{CommentsUI}from'./comments/commentsui.js';export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{Annotation}from'./annotations/annotation.js';export{Annotations}from'./annotations/annotations.js';export{AnnotationCollection,bindAnnotationCollections}from'./annotations/annotationcollection.js';export{AnnotationsUIs}from'./annotations/annotationsuis.js';export{EditorAnnotations}from'./annotations/editorannotations.js';export{InlineAnnotations}from'./annotations/inlineannotations.js';export{Sidebar}from'./annotations/sidebar.js';export{WideSidebar}from'./annotations/widesidebar.js';export{NarrowSidebar}from'./annotations/narrowsidebar.js';function _0x2aa5(){var _0x24b597=['80TUgzmj','132505KWrzID','449178zxOZrR','25274020DpvhtV','1fpIfam','2794718zqlSno','96944PloFdt','606054KSWmTG','4111200bjTUKA','861BgRduT'];_0x2aa5=function(){return _0x24b597;};return _0x2aa5();}function _0x4218(_0x4ae123,_0x4cd9bb){var _0x2aa563=_0x2aa5();return _0x4218=function(_0x42180f,_0x195036){_0x42180f=_0x42180f-0x11f;var _0x50b944=_0x2aa563[_0x42180f];return _0x50b944;},_0x4218(_0x4ae123,_0x4cd9bb);}export{AnnotationView}from'./annotations/view/annotationview.js';export{AnnotationsSidebarItemView}from'./annotations/view/sidebaritemview.js';export{AnnotationsSidebarView}from'./annotations/view/sidebarview.js';export{BaseCommentView}from'./comments/ui/view/basecommentview.js';export{BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{CommentsListView}from'./comments/ui/view/commentslistview.js';export{CommentView}from'./comments/ui/view/commentview.js';export{CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{AddCommentThreadCommand}from'./comments/addcommentthreadcommand.js';export{CommentsArchive}from'./comments/commentsarchive.js';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(_0x47b3a8,_0x5c9eaa,_0x4f26d8){const t=_0x47b3a8['t'];switch(_0x5c9eaa){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'},_0x4f26d8);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'},_0x4f26d8);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'},_0x4f26d8);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'},_0x4f26d8);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x4f26d8);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'},_0x4f26d8);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'},_0x4f26d8);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'},_0x4f26d8);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 _0x12d5(_0x32e298,_0x152e66){const _0x2dcbed=_0x2dcb();return _0x12d5=function(_0x12d51f,_0x352fa8){_0x12d51f=_0x12d51f-0x91;let _0x412db6=_0x2dcbed[_0x12d51f];return _0x412db6;},_0x12d5(_0x32e298,_0x152e66);}(function(_0x38ee75,_0x5f136b){const _0x1d96df=_0x12d5,_0x224066=_0x38ee75();while(!![]){try{const _0x1acf8c=parseInt(_0x1d96df(0x98))/0x1*(parseInt(_0x1d96df(0xa0))/0x2)+-parseInt(_0x1d96df(0x97))/0x3*(parseInt(_0x1d96df(0xa2))/0x4)+-parseInt(_0x1d96df(0x9f))/0x5+parseInt(_0x1d96df(0xa4))/0x6*(-parseInt(_0x1d96df(0x91))/0x7)+-parseInt(_0x1d96df(0x92))/0x8+parseInt(_0x1d96df(0x9e))/0x9*(parseInt(_0x1d96df(0x99))/0xa)+parseInt(_0x1d96df(0x9c))/0xb;if(_0x1acf8c===_0x5f136b)break;else _0x224066['push'](_0x224066['shift']());}catch(_0x423fbd){_0x224066['push'](_0x224066['shift']());}}}(_0x2dcb,0x2346f));import{throttle as _0x5688a3}from'es-toolkit/compat';function _0x2dcb(){const _0x537bf3=['attributeName','27FUzmVF','163415MLGIpX','132FdVxzY','characterData','181736mudPhL','type','906bEQnrU','8351fXSSuv','584464bOxxKb','disconnect','cancel','class','attributes','9zPxSXT','1483dICizW','591340CNmeyd','observe','childList','3205411RTMjku'];_0x2dcb=function(){return _0x537bf3;};return _0x2dcb();}export function createMutationObserver(_0x185e09){const _0x578c91=_0x5688a3(_0x185e09,0x1e),_0x1b1cbf=new MutationObserver(_0x3c7c51=>{const _0x3b95ab=_0x12d5;for(const _0x123f31 of _0x3c7c51)(_0x3b95ab(0x96)==_0x123f31[_0x3b95ab(0xa3)]&&_0x3b95ab(0x95)==_0x123f31[_0x3b95ab(0x9d)]||_0x3b95ab(0x9b)==_0x123f31[_0x3b95ab(0xa3)]||_0x3b95ab(0xa1)==_0x123f31[_0x3b95ab(0xa3)])&&_0x578c91();});return{'attach'(_0x435ad0){const _0x1118ec=_0x12d5;_0x1b1cbf[_0x1118ec(0x9a)](_0x435ad0,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x2c8a2b=_0x12d5;_0x1b1cbf[_0x2c8a2b(0x93)](),_0x578c91[_0x2c8a2b(0x94)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5c81(){const _0x444217=['91jEWiKg','8850gjengN','8383200FeAKEn','4851702qbMMDf','659576zQNopQ','495043zsvKRV','split','2VuApWR','20hzPzjl','35322936GqXzPx','3545169vBOnWN','3404VfNOfk'];_0x5c81=function(){return _0x444217;};return _0x5c81();}function _0x58ce(_0x3c9b39,_0x19ccc0){const _0x5c818f=_0x5c81();return _0x58ce=function(_0x58ce15,_0x4b0b51){_0x58ce15=_0x58ce15-0x1f3;let _0x505774=_0x5c818f[_0x58ce15];return _0x505774;},_0x58ce(_0x3c9b39,_0x19ccc0);}(function(_0x2d10ab,_0x456d94){const _0x65bffe=_0x58ce,_0x225c34=_0x2d10ab();while(!![]){try{const _0x262e94=-parseInt(_0x65bffe(0x1f4))/0x1+parseInt(_0x65bffe(0x1f6))/0x2*(-parseInt(_0x65bffe(0x1f9))/0x3)+-parseInt(_0x65bffe(0x1fa))/0x4*(parseInt(_0x65bffe(0x1fc))/0x5)+-parseInt(_0x65bffe(0x1fd))/0x6+-parseInt(_0x65bffe(0x1fb))/0x7*(-parseInt(_0x65bffe(0x1f3))/0x8)+-parseInt(_0x65bffe(0x1fe))/0x9*(-parseInt(_0x65bffe(0x1f7))/0xa)+parseInt(_0x65bffe(0x1f8))/0xb;if(_0x262e94===_0x456d94)break;else _0x225c34['push'](_0x225c34['shift']());}catch(_0x569d91){_0x225c34['push'](_0x225c34['shift']());}}}(_0x5c81,0xbea6b));export function splitMarkerName(_0x25245b){const _0x44aff5=_0x58ce,_0x249a30=_0x25245b[_0x44aff5(0x1f5)](':');return{'group':_0x249a30[0x0],'id':_0x249a30[0x1],'part':_0x249a30[0x2]};}
|