@ckeditor/ckeditor5-comments 47.7.3-alpha.0 → 47.7.4
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 +20 -20
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x4318(_0x4e6877,_0x41fa42){const _0x180d69=_0x180d();return _0x4318=function(_0x4318b6,_0x5dc67d){_0x4318b6=_0x4318b6-0x158;let _0x154a96=_0x180d69[_0x4318b6];return _0x154a96;},_0x4318(_0x4e6877,_0x41fa42);}const _0x270498=_0x4318;(function(_0x344fd9,_0x4d737a){const _0x401422=_0x4318,_0x398c32=_0x344fd9();while(!![]){try{const _0x2ca916=-parseInt(_0x401422(0x161))/0x1*(-parseInt(_0x401422(0x18e))/0x2)+-parseInt(_0x401422(0x16b))/0x3+parseInt(_0x401422(0x196))/0x4+-parseInt(_0x401422(0x16d))/0x5+parseInt(_0x401422(0x1a7))/0x6+-parseInt(_0x401422(0x19c))/0x7+-parseInt(_0x401422(0x1b5))/0x8*(-parseInt(_0x401422(0x171))/0x9);if(_0x2ca916===_0x4d737a)break;else _0x398c32['push'](_0x398c32['shift']());}catch(_0x81ed49){_0x398c32['push'](_0x398c32['shift']());}}}(_0x180d,0xd94a7));import{View as _0x34ef3f,FocusCycler as _0x4fc82a}from'ckeditor5/src/ui.js';import{diff as _0x5d8128,Collection as _0xf24083,FocusTracker as _0x164ac1,KeystrokeHandler as _0x354fe1}from'ckeditor5/src/utils.js';import{getTranslation as _0x22bd4a}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x4fd72c}from'./collapsedcommentsview.js';function _0x180d(){const _0x536f98=['viewUid','_handleInfoComment','collapse','_setupKeyboardNavigation','removed','forEach','isActive','set','maxCommentsWhenCollapsed','424gbLmUU','ck-thread__comments','change','formatDateTime','locale','_config','length','target','focusLast','bindTemplate','editorReady','_findOptimalIndex','70772VQYTDH','resolvedAt','get','resolved','destroy','keystrokes','bind','stopListening','_shouldCollapse','from','4451223dpxvrf','change:isEditMode','5117220fgxZkK','_calculatePosition','focus','remove','269046QGRsfv','map','Thread\x20comments','removeComment','resolvedCommentView','render','add','authoredAt','comments','isEditMode','CommentView','expand','delegate','createCollection','_rearrangeExpand','insert','_collapsedCommentsView','refreshVisibleViews','updateComment','resolveCommentThread','commentUpdated','visibleViews','ck-hidden','element','maxCommentCharsWhenCollapsed','listenTo','_handleRemoveCommentModel','_updateHasDirtyComment','weight','14yfCCUa','resolvedBy','some','Marked\x20as\x20resolved','count','setTemplate','equal','focusTracker','1618580ebikRr','hasDirtyComment','editorDestroyed','change:isActive','delete','_rearrangeCollapse','1393987TkWnOm','arrowdown','change:hasDirtyComment','arrowup','added','change:isResolved','_handleNewCommentModel','_model','includes','editorConfig','reverse','6671508tzHdhA','focusFirst','commentViews','focusCycler','maxThreadTotalWeight'];_0x180d=function(){return _0x536f98;};return _0x180d();}export class CommentsListView extends _0x34ef3f{[_0x270498(0x1a9)];[_0x270498(0x175)];[_0x270498(0x195)];[_0x270498(0x166)];[_0x270498(0x1aa)];[_0x270498(0x1a3)];[_0x270498(0x15a)];[_0x270498(0x181)];constructor(_0x2361ac,_0x53e735,_0xede7ae){const _0x85e1eb=_0x270498;super(_0x2361ac);const _0x132f22=this[_0x85e1eb(0x15e)];this[_0x85e1eb(0x1b3)](_0x85e1eb(0x197),!0x1),this[_0x85e1eb(0x1b3)](_0x85e1eb(0x15b),_0x53e735[_0x85e1eb(0x179)][_0x85e1eb(0x15b)]),this[_0x85e1eb(0x1b3)](_0x85e1eb(0x1b2),!0x1),this[_0x85e1eb(0x1a3)]=_0x53e735,this[_0x85e1eb(0x15a)]=_0xede7ae,this[_0x85e1eb(0x1a9)]=this[_0x85e1eb(0x17e)](),this[_0x85e1eb(0x186)]=this[_0x85e1eb(0x17e)](),this[_0x85e1eb(0x175)]=null,this[_0x85e1eb(0x195)]=new _0x164ac1(),this[_0x85e1eb(0x166)]=new _0x354fe1(),this[_0x85e1eb(0x1aa)]=new _0x4fc82a({'focusables':this[_0x85e1eb(0x1a9)],'focusTracker':this[_0x85e1eb(0x195)],'keystrokeHandler':this[_0x85e1eb(0x166)],'keystrokeHandlerOptions':{'filter':_0x5a9fec=>this[_0x85e1eb(0x1a9)][_0x85e1eb(0x172)](_0x30c958=>_0x30c958[_0x85e1eb(0x188)])[_0x85e1eb(0x1a4)](_0x5a9fec[_0x85e1eb(0x15c)])},'actions':{'focusPrevious':_0x85e1eb(0x19f),'focusNext':_0x85e1eb(0x19d)}}),this[_0x85e1eb(0x181)]=new _0x4fd72c(_0x2361ac),this[_0x85e1eb(0x181)][_0x85e1eb(0x167)](_0x85e1eb(0x192))['to'](this,_0x85e1eb(0x15b),_0x263cdf=>_0x263cdf-this[_0x85e1eb(0x15a)][_0x85e1eb(0x1b4)]);for(const _0x520b72 of _0x53e735[_0x85e1eb(0x179)])this[_0x85e1eb(0x1a2)](_0x520b72);this[_0x85e1eb(0x1ad)](),this[_0x85e1eb(0x18a)](_0x53e735[_0x85e1eb(0x179)],_0x85e1eb(0x177),(_0x41851a,_0x288e0a)=>{const _0x25dfa7=_0x85e1eb,_0x292a52=this[_0x25dfa7(0x16e)](_0x288e0a);this[_0x25dfa7(0x15b)]++,this[_0x25dfa7(0x1a2)](_0x288e0a,_0x292a52),this[_0x25dfa7(0x182)]();}),this[_0x85e1eb(0x18a)](_0x53e735[_0x85e1eb(0x179)],_0x85e1eb(0x170),(_0x34ee83,_0x30fa8c)=>{const _0x1fef11=_0x85e1eb;this[_0x1fef11(0x15b)]--,this[_0x1fef11(0x18b)](_0x30fa8c),this[_0x1fef11(0x182)]();}),this[_0x85e1eb(0x18a)](_0x53e735,_0x85e1eb(0x185),()=>this[_0x85e1eb(0x182)]()),this[_0x85e1eb(0x18a)](_0x53e735,_0x85e1eb(0x1a1),()=>this[_0x85e1eb(0x1ad)]()),this['on'](_0x85e1eb(0x199),()=>this[_0x85e1eb(0x182)]()),this['on'](_0x85e1eb(0x19e),()=>this[_0x85e1eb(0x182)]()),this[_0x85e1eb(0x193)]({'tag':'ul','attributes':{'class':[_0x85e1eb(0x1b6),_0x132f22['if'](_0x85e1eb(0x15b),_0x85e1eb(0x187),_0xbad19f=>!_0xbad19f)],'aria-label':_0x22bd4a(_0x2361ac,_0x85e1eb(0x173))},'children':this[_0x85e1eb(0x186)]});}get[_0x270498(0x169)](){const _0x2cb535=_0x270498;return this[_0x2cb535(0x1a3)][_0x2cb535(0x18d)]>this[_0x2cb535(0x15a)][_0x2cb535(0x1ab)]&&!this[_0x2cb535(0x1b2)]&&!this[_0x2cb535(0x197)];}[_0x270498(0x176)](){const _0x4c1bea=_0x270498;super[_0x4c1bea(0x176)](),this[_0x4c1bea(0x182)](),this[_0x4c1bea(0x1af)]();}[_0x270498(0x16f)](_0x178b50){const _0xeb7829=_0x270498;-0x1===_0x178b50?this[_0xeb7829(0x1aa)][_0xeb7829(0x15d)]():this[_0xeb7829(0x1aa)][_0xeb7829(0x1a8)]();}[_0x270498(0x165)](){const _0x42b677=_0x270498;this[_0x42b677(0x181)][_0x42b677(0x165)]();for(const _0x5c9fd1 of this[_0x42b677(0x1a9)])_0x5c9fd1[_0x42b677(0x165)]();super[_0x42b677(0x165)]();}[_0x270498(0x182)](){const _0xb0da27=_0x270498;this[_0xb0da27(0x169)]?this[_0xb0da27(0x19b)]():this[_0xb0da27(0x17f)]();}[_0x270498(0x1a2)](_0x5a4a35,_0x4281a6){const _0x5edb2b=_0x270498,_0x46f186=new this[(_0x5edb2b(0x15a))][(_0x5edb2b(0x17b))](this[_0x5edb2b(0x159)],_0x5a4a35,{'maxCommentCharsWhenCollapsed':this[_0x5edb2b(0x15a)][_0x5edb2b(0x189)],'formatDateTime':this[_0x5edb2b(0x15a)][_0x5edb2b(0x158)],'editorConfig':this[_0x5edb2b(0x15a)][_0x5edb2b(0x1a5)]});_0x46f186[_0x5edb2b(0x1ac)]=_0x5a4a35['id'],_0x46f186[_0x5edb2b(0x17d)](_0x5edb2b(0x174))['to'](this),_0x46f186[_0x5edb2b(0x17d)](_0x5edb2b(0x183))['to'](this),_0x46f186[_0x5edb2b(0x17d)](_0x5edb2b(0x184))['to'](this),_0x46f186[_0x5edb2b(0x17d)](_0x5edb2b(0x15f))['to'](this),_0x46f186[_0x5edb2b(0x17d)](_0x5edb2b(0x198))['to'](this),this[_0x5edb2b(0x18a)](_0x46f186,_0x5edb2b(0x16c),()=>this[_0x5edb2b(0x18c)]()),this[_0x5edb2b(0x1a9)][_0x5edb2b(0x177)](_0x46f186,_0x4281a6);}[_0x270498(0x16e)](_0x4711b3){const _0x3ed874=_0x270498,_0x214ea8=this[_0x3ed874(0x1a3)][_0x3ed874(0x160)](_0x4711b3);return this[_0x3ed874(0x175)]?this[_0x3ed874(0x175)][_0x3ed874(0x178)]>_0x4711b3[_0x3ed874(0x178)]?_0x214ea8-0x1:_0x214ea8:_0x214ea8-0x1;}[_0x270498(0x1ad)](){const _0x481104=_0x270498;if(this[_0x481104(0x1a3)][_0x481104(0x18f)]&&this[_0x481104(0x1a3)][_0x481104(0x162)]){const _0x228dfb={'id':_0x481104(0x164),'author':this[_0x481104(0x1a3)][_0x481104(0x18f)],'authoredAt':this[_0x481104(0x1a3)][_0x481104(0x162)],'content':_0x22bd4a(this[_0x481104(0x159)],_0x481104(0x191)),'attributes':{}};this[_0x481104(0x175)]=new this[(_0x481104(0x15a))][(_0x481104(0x17b))](this[_0x481104(0x159)],_0x228dfb,{'maxCommentCharsWhenCollapsed':this[_0x481104(0x15a)][_0x481104(0x189)],'formatDateTime':this[_0x481104(0x15a)][_0x481104(0x158)],'editorConfig':this[_0x481104(0x15a)][_0x481104(0x1a5)],'isSystemComment':!0x0}),this[_0x481104(0x1a9)][_0x481104(0x177)](this[_0x481104(0x175)],this[_0x481104(0x1a3)][_0x481104(0x160)](_0x228dfb));}else this[_0x481104(0x175)]&&(this[_0x481104(0x1a9)][_0x481104(0x170)](this[_0x481104(0x175)]),this[_0x481104(0x175)][_0x481104(0x165)](),this[_0x481104(0x175)]=null);this[_0x481104(0x182)]();}[_0x270498(0x18b)](_0x54db5c){const _0x298c74=_0x270498,_0x12a180=this[_0x298c74(0x1a9)][_0x298c74(0x170)](_0x54db5c['id']);this[_0x298c74(0x168)](_0x12a180),_0x12a180[_0x298c74(0x17a)]&&this[_0x298c74(0x18c)](),_0x12a180[_0x298c74(0x165)]();}[_0x270498(0x18c)](){const _0x41e54d=_0x270498;this[_0x41e54d(0x197)]=Array[_0x41e54d(0x16a)](this[_0x41e54d(0x1a9)])[_0x41e54d(0x190)](_0xcd0128=>_0xcd0128[_0x41e54d(0x17a)]);}[_0x270498(0x19b)](){const _0x17146a=_0x270498,_0x475ae7=function(_0x1a18e5){const _0x4fdb79=_0x4318,_0x16a6cf=new _0xf24083();for(const _0x56a44b of _0x1a18e5)_0x16a6cf[_0x4fdb79(0x177)](_0x56a44b);return _0x16a6cf;}(this[_0x17146a(0x1a9)]),_0x3ff64d=this[_0x17146a(0x181)][_0x17146a(0x192)];for(let _0x92b761=0x1;_0x92b761<=_0x3ff64d;_0x92b761++)_0x475ae7[_0x17146a(0x170)](0x1);for(const _0x354a4d of _0x475ae7)_0x354a4d[_0x17146a(0x1ae)]();_0x3ff64d>0x0&&_0x475ae7[_0x17146a(0x177)](this[_0x17146a(0x181)],0x1),ns(_0x5d8128(Array[_0x17146a(0x16a)](this[_0x17146a(0x186)]),Array[_0x17146a(0x16a)](_0x475ae7)),this[_0x17146a(0x186)],_0x475ae7);}[_0x270498(0x17f)](){const _0x5c7acf=_0x270498;ns(_0x5d8128(Array[_0x5c7acf(0x16a)](this[_0x5c7acf(0x186)]),Array[_0x5c7acf(0x16a)](this[_0x5c7acf(0x1a9)])),this[_0x5c7acf(0x186)],this[_0x5c7acf(0x1a9)]);for(const _0x50e40a of this[_0x5c7acf(0x186)])_0x50e40a[_0x5c7acf(0x17c)]();}[_0x270498(0x1af)](){const _0x4f5399=_0x270498;this[_0x4f5399(0x1a9)][_0x4f5399(0x1b1)](_0x31fbf5=>{const _0x19d09e=_0x4f5399;this[_0x19d09e(0x195)][_0x19d09e(0x177)](_0x31fbf5[_0x19d09e(0x188)]),this[_0x19d09e(0x166)][_0x19d09e(0x18a)](_0x31fbf5[_0x19d09e(0x188)]);}),this[_0x4f5399(0x1a9)]['on'](_0x4f5399(0x1b7),(_0x2ff938,_0x2f0509)=>{const _0x184d1f=_0x4f5399;for(const _0x3d776b of _0x2f0509[_0x184d1f(0x1b0)])this[_0x184d1f(0x195)][_0x184d1f(0x170)](_0x3d776b[_0x184d1f(0x188)]),this[_0x184d1f(0x166)][_0x184d1f(0x168)](_0x3d776b[_0x184d1f(0x188)]);for(const _0x60d338 of Array[_0x184d1f(0x16a)](_0x2f0509[_0x184d1f(0x1a0)])[_0x184d1f(0x1a6)]())this[_0x184d1f(0x195)][_0x184d1f(0x177)](_0x60d338[_0x184d1f(0x188)]),this[_0x184d1f(0x166)][_0x184d1f(0x18a)](_0x60d338[_0x184d1f(0x188)]);});}}function ns(_0x76bc10,_0xa7aec4,_0x5c405d){const _0x2dad99=_0x270498;let _0x52df49=0x0;for(const _0x3dfab3 of _0x76bc10)switch(_0x3dfab3){case _0x2dad99(0x180):_0xa7aec4[_0x2dad99(0x177)](_0x5c405d[_0x2dad99(0x163)](_0x52df49),_0x52df49),_0x52df49++;break;case _0x2dad99(0x19a):_0xa7aec4[_0x2dad99(0x170)](_0x52df49);break;case _0x2dad99(0x194):_0x52df49++;}}
|
|
23
|
+
const _0x3b195a=_0x4f2c;function _0x39cd(){const _0xb33b66=['change','132mQttgI','_shouldCollapse','comments','_config','Thread\x20comments','_handleInfoComment','createCollection','maxCommentCharsWhenCollapsed','hasDirtyComment','resolvedAt','8hLgCQj','544266fYxKHC','Marked\x20as\x20resolved','editorDestroyed','visibleViews','2295531stDOXC','_collapsedCommentsView','bindTemplate','ck-thread__comments','remove','forEach','some','resolved','16453386bkrjJs','_rearrangeCollapse','change:isActive','listenTo','setTemplate','ck-hidden','add','map','change:isEditMode','reverse','get','added','weight','6gUjFUU','render','_rearrangeExpand','keystrokes','isEditMode','arrowup','removeComment','resolvedCommentView','_handleNewCommentModel','editorConfig','focusCycler','_calculatePosition','count','element','length','insert','CommentView','locale','bind','viewUid','expand','_model','focusFirst','change:hasDirtyComment','maxCommentsWhenCollapsed','resolvedBy','arrowdown','updateComment','_findOptimalIndex','stopListening','_setupKeyboardNavigation','1784034XCwGrx','target','focus','_handleRemoveCommentModel','focusLast','delegate','resolveCommentThread','includes','996326JUoqpo','maxThreadTotalWeight','focusTracker','from','refreshVisibleViews','commentUpdated','equal','delete','formatDateTime','destroy','_updateHasDirtyComment','editorReady','removed','change:isResolved','set','collapse','2385805PmwFpN','commentViews','authoredAt','isActive'];_0x39cd=function(){return _0xb33b66;};return _0x39cd();}(function(_0x1b7620,_0x2bc791){const _0x57d336=_0x4f2c,_0x3b6c76=_0x1b7620();while(!![]){try{const _0x300153=-parseInt(_0x57d336(0xf3))/0x1+-parseInt(_0x57d336(0xd3))/0x2+-parseInt(_0x57d336(0xcb))/0x3+parseInt(_0x57d336(0xe8))/0x4+parseInt(_0x57d336(0xe3))/0x5+parseInt(_0x57d336(0x10c))/0x6*(-parseInt(_0x57d336(0xf7))/0x7)+parseInt(_0x57d336(0xf2))/0x8*(parseInt(_0x57d336(0xff))/0x9);if(_0x300153===_0x2bc791)break;else _0x3b6c76['push'](_0x3b6c76['shift']());}catch(_0x1a6e2a){_0x3b6c76['push'](_0x3b6c76['shift']());}}}(_0x39cd,0x53154));import{View as _0x74c278,FocusCycler as _0x250391}from'ckeditor5/src/ui.js';import{diff as _0x13ce3d,Collection as _0x47eb8c,FocusTracker as _0x409d5a,KeystrokeHandler as _0x5372af}from'ckeditor5/src/utils.js';import{getTranslation as _0x4313c2}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x58e7f7}from'./collapsedcommentsview.js';export class CommentsListView extends _0x74c278{[_0x3b195a(0xe4)];[_0x3b195a(0x113)];[_0x3b195a(0xd5)];[_0x3b195a(0x10f)];[_0x3b195a(0x116)];[_0x3b195a(0x121)];[_0x3b195a(0xeb)];[_0x3b195a(0xf8)];constructor(_0x49c08e,_0x52f685,_0x3c39d8){const _0x2159ad=_0x3b195a;super(_0x49c08e);const _0xce35f2=this[_0x2159ad(0xf9)];this[_0x2159ad(0xe1)](_0x2159ad(0xf0),!0x1),this[_0x2159ad(0xe1)](_0x2159ad(0x11a),_0x52f685[_0x2159ad(0xea)][_0x2159ad(0x11a)]),this[_0x2159ad(0xe1)](_0x2159ad(0xe6),!0x1),this[_0x2159ad(0x121)]=_0x52f685,this[_0x2159ad(0xeb)]=_0x3c39d8,this[_0x2159ad(0xe4)]=this[_0x2159ad(0xee)](),this[_0x2159ad(0xf6)]=this[_0x2159ad(0xee)](),this[_0x2159ad(0x113)]=null,this[_0x2159ad(0xd5)]=new _0x409d5a(),this[_0x2159ad(0x10f)]=new _0x5372af(),this[_0x2159ad(0x116)]=new _0x250391({'focusables':this[_0x2159ad(0xe4)],'focusTracker':this[_0x2159ad(0xd5)],'keystrokeHandler':this[_0x2159ad(0x10f)],'keystrokeHandlerOptions':{'filter':_0x3df670=>this[_0x2159ad(0xe4)][_0x2159ad(0x106)](_0x5e5d6c=>_0x5e5d6c[_0x2159ad(0x119)])[_0x2159ad(0xd2)](_0x3df670[_0x2159ad(0xcc)])},'actions':{'focusPrevious':_0x2159ad(0x111),'focusNext':_0x2159ad(0xc6)}}),this[_0x2159ad(0xf8)]=new _0x58e7f7(_0x49c08e),this[_0x2159ad(0xf8)][_0x2159ad(0x11e)](_0x2159ad(0x118))['to'](this,_0x2159ad(0x11a),_0x100fdb=>_0x100fdb-this[_0x2159ad(0xeb)][_0x2159ad(0xc4)]);for(const _0x384c09 of _0x52f685[_0x2159ad(0xea)])this[_0x2159ad(0x114)](_0x384c09);this[_0x2159ad(0xed)](),this[_0x2159ad(0x102)](_0x52f685[_0x2159ad(0xea)],_0x2159ad(0x105),(_0x2c9c31,_0x1b3616)=>{const _0x7f9c85=_0x2159ad,_0x53b7de=this[_0x7f9c85(0x117)](_0x1b3616);this[_0x7f9c85(0x11a)]++,this[_0x7f9c85(0x114)](_0x1b3616,_0x53b7de),this[_0x7f9c85(0xd7)]();}),this[_0x2159ad(0x102)](_0x52f685[_0x2159ad(0xea)],_0x2159ad(0xfb),(_0x4e53e7,_0x583697)=>{const _0x235dc2=_0x2159ad;this[_0x235dc2(0x11a)]--,this[_0x235dc2(0xce)](_0x583697),this[_0x235dc2(0xd7)]();}),this[_0x2159ad(0x102)](_0x52f685,_0x2159ad(0xd8),()=>this[_0x2159ad(0xd7)]()),this[_0x2159ad(0x102)](_0x52f685,_0x2159ad(0xe0),()=>this[_0x2159ad(0xed)]()),this['on'](_0x2159ad(0x101),()=>this[_0x2159ad(0xd7)]()),this['on'](_0x2159ad(0xc3),()=>this[_0x2159ad(0xd7)]()),this[_0x2159ad(0x103)]({'tag':'ul','attributes':{'class':[_0x2159ad(0xfa),_0xce35f2['if'](_0x2159ad(0x11a),_0x2159ad(0x104),_0x1f0b11=>!_0x1f0b11)],'aria-label':_0x4313c2(_0x49c08e,_0x2159ad(0xec))},'children':this[_0x2159ad(0xf6)]});}get[_0x3b195a(0xe9)](){const _0x4f87db=_0x3b195a;return this[_0x4f87db(0x121)][_0x4f87db(0x10b)]>this[_0x4f87db(0xeb)][_0x4f87db(0xd4)]&&!this[_0x4f87db(0xe6)]&&!this[_0x4f87db(0xf0)];}[_0x3b195a(0x10d)](){const _0x57ac34=_0x3b195a;super[_0x57ac34(0x10d)](),this[_0x57ac34(0xd7)](),this[_0x57ac34(0xca)]();}[_0x3b195a(0xcd)](_0x114d6a){const _0x574023=_0x3b195a;-0x1===_0x114d6a?this[_0x574023(0x116)][_0x574023(0xcf)]():this[_0x574023(0x116)][_0x574023(0x122)]();}[_0x3b195a(0xdc)](){const _0x4d1046=_0x3b195a;this[_0x4d1046(0xf8)][_0x4d1046(0xdc)]();for(const _0x480f8f of this[_0x4d1046(0xe4)])_0x480f8f[_0x4d1046(0xdc)]();super[_0x4d1046(0xdc)]();}[_0x3b195a(0xd7)](){const _0x221716=_0x3b195a;this[_0x221716(0xe9)]?this[_0x221716(0x100)]():this[_0x221716(0x10e)]();}[_0x3b195a(0x114)](_0x341a32,_0x2a58b4){const _0x225581=_0x3b195a,_0x2e2ba2=new this[(_0x225581(0xeb))][(_0x225581(0x11c))](this[_0x225581(0x11d)],_0x341a32,{'maxCommentCharsWhenCollapsed':this[_0x225581(0xeb)][_0x225581(0xef)],'formatDateTime':this[_0x225581(0xeb)][_0x225581(0xdb)],'editorConfig':this[_0x225581(0xeb)][_0x225581(0x115)]});_0x2e2ba2[_0x225581(0x11f)]=_0x341a32['id'],_0x2e2ba2[_0x225581(0xd0)](_0x225581(0x112))['to'](this),_0x2e2ba2[_0x225581(0xd0)](_0x225581(0xc7))['to'](this),_0x2e2ba2[_0x225581(0xd0)](_0x225581(0xd1))['to'](this),_0x2e2ba2[_0x225581(0xd0)](_0x225581(0xde))['to'](this),_0x2e2ba2[_0x225581(0xd0)](_0x225581(0xf5))['to'](this),this[_0x225581(0x102)](_0x2e2ba2,_0x225581(0x107),()=>this[_0x225581(0xdd)]()),this[_0x225581(0xe4)][_0x225581(0x105)](_0x2e2ba2,_0x2a58b4);}[_0x3b195a(0x117)](_0x5182b4){const _0x169fb4=_0x3b195a,_0xa37ce5=this[_0x169fb4(0x121)][_0x169fb4(0xc8)](_0x5182b4);return this[_0x169fb4(0x113)]?this[_0x169fb4(0x113)][_0x169fb4(0xe5)]>_0x5182b4[_0x169fb4(0xe5)]?_0xa37ce5-0x1:_0xa37ce5:_0xa37ce5-0x1;}[_0x3b195a(0xed)](){const _0x2eedbd=_0x3b195a;if(this[_0x2eedbd(0x121)][_0x2eedbd(0xc5)]&&this[_0x2eedbd(0x121)][_0x2eedbd(0xf1)]){const _0x5ee048={'id':_0x2eedbd(0xfe),'author':this[_0x2eedbd(0x121)][_0x2eedbd(0xc5)],'authoredAt':this[_0x2eedbd(0x121)][_0x2eedbd(0xf1)],'content':_0x4313c2(this[_0x2eedbd(0x11d)],_0x2eedbd(0xf4)),'attributes':{}};this[_0x2eedbd(0x113)]=new this[(_0x2eedbd(0xeb))][(_0x2eedbd(0x11c))](this[_0x2eedbd(0x11d)],_0x5ee048,{'maxCommentCharsWhenCollapsed':this[_0x2eedbd(0xeb)][_0x2eedbd(0xef)],'formatDateTime':this[_0x2eedbd(0xeb)][_0x2eedbd(0xdb)],'editorConfig':this[_0x2eedbd(0xeb)][_0x2eedbd(0x115)],'isSystemComment':!0x0}),this[_0x2eedbd(0xe4)][_0x2eedbd(0x105)](this[_0x2eedbd(0x113)],this[_0x2eedbd(0x121)][_0x2eedbd(0xc8)](_0x5ee048));}else this[_0x2eedbd(0x113)]&&(this[_0x2eedbd(0xe4)][_0x2eedbd(0xfb)](this[_0x2eedbd(0x113)]),this[_0x2eedbd(0x113)][_0x2eedbd(0xdc)](),this[_0x2eedbd(0x113)]=null);this[_0x2eedbd(0xd7)]();}[_0x3b195a(0xce)](_0x30abda){const _0x1f9954=_0x3b195a,_0x13f542=this[_0x1f9954(0xe4)][_0x1f9954(0xfb)](_0x30abda['id']);this[_0x1f9954(0xc9)](_0x13f542),_0x13f542[_0x1f9954(0x110)]&&this[_0x1f9954(0xdd)](),_0x13f542[_0x1f9954(0xdc)]();}[_0x3b195a(0xdd)](){const _0x16ff79=_0x3b195a;this[_0x16ff79(0xf0)]=Array[_0x16ff79(0xd6)](this[_0x16ff79(0xe4)])[_0x16ff79(0xfd)](_0x92a609=>_0x92a609[_0x16ff79(0x110)]);}[_0x3b195a(0x100)](){const _0x33d6ac=_0x3b195a,_0x21d6a9=function(_0x1b6325){const _0x2bad18=_0x4f2c,_0x47cb8b=new _0x47eb8c();for(const _0xde9202 of _0x1b6325)_0x47cb8b[_0x2bad18(0x105)](_0xde9202);return _0x47cb8b;}(this[_0x33d6ac(0xe4)]),_0x2f0d46=this[_0x33d6ac(0xf8)][_0x33d6ac(0x118)];for(let _0x21d854=0x1;_0x21d854<=_0x2f0d46;_0x21d854++)_0x21d6a9[_0x33d6ac(0xfb)](0x1);for(const _0x35311c of _0x21d6a9)_0x35311c[_0x33d6ac(0xe2)]();_0x2f0d46>0x0&&_0x21d6a9[_0x33d6ac(0x105)](this[_0x33d6ac(0xf8)],0x1),ns(_0x13ce3d(Array[_0x33d6ac(0xd6)](this[_0x33d6ac(0xf6)]),Array[_0x33d6ac(0xd6)](_0x21d6a9)),this[_0x33d6ac(0xf6)],_0x21d6a9);}[_0x3b195a(0x10e)](){const _0x165029=_0x3b195a;ns(_0x13ce3d(Array[_0x165029(0xd6)](this[_0x165029(0xf6)]),Array[_0x165029(0xd6)](this[_0x165029(0xe4)])),this[_0x165029(0xf6)],this[_0x165029(0xe4)]);for(const _0x13f6f4 of this[_0x165029(0xf6)])_0x13f6f4[_0x165029(0x120)]();}[_0x3b195a(0xca)](){const _0x5672af=_0x3b195a;this[_0x5672af(0xe4)][_0x5672af(0xfc)](_0x5986af=>{const _0x581a26=_0x5672af;this[_0x581a26(0xd5)][_0x581a26(0x105)](_0x5986af[_0x581a26(0x119)]),this[_0x581a26(0x10f)][_0x581a26(0x102)](_0x5986af[_0x581a26(0x119)]);}),this[_0x5672af(0xe4)]['on'](_0x5672af(0xe7),(_0x4d7303,_0x3e61ad)=>{const _0x44c297=_0x5672af;for(const _0xddf483 of _0x3e61ad[_0x44c297(0xdf)])this[_0x44c297(0xd5)][_0x44c297(0xfb)](_0xddf483[_0x44c297(0x119)]),this[_0x44c297(0x10f)][_0x44c297(0xc9)](_0xddf483[_0x44c297(0x119)]);for(const _0x46258 of Array[_0x44c297(0xd6)](_0x3e61ad[_0x44c297(0x10a)])[_0x44c297(0x108)]())this[_0x44c297(0xd5)][_0x44c297(0x105)](_0x46258[_0x44c297(0x119)]),this[_0x44c297(0x10f)][_0x44c297(0x102)](_0x46258[_0x44c297(0x119)]);});}}function _0x4f2c(_0x138a1f,_0x2e11eb){const _0x39cdcf=_0x39cd();return _0x4f2c=function(_0x4f2c46,_0xc69450){_0x4f2c46=_0x4f2c46-0xc3;let _0x7a3e2c=_0x39cdcf[_0x4f2c46];return _0x7a3e2c;},_0x4f2c(_0x138a1f,_0x2e11eb);}function ns(_0x3bc04a,_0x597a9a,_0x30aaad){const _0x53b120=_0x3b195a;let _0x4c740=0x0;for(const _0x5a8911 of _0x3bc04a)switch(_0x5a8911){case _0x53b120(0x11b):_0x597a9a[_0x53b120(0x105)](_0x30aaad[_0x53b120(0x109)](_0x4c740),_0x4c740),_0x4c740++;break;case _0x53b120(0xda):_0x597a9a[_0x53b120(0xfb)](_0x4c740);break;case _0x53b120(0xd9):_0x4c740++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5edec5=_0x88c7;(function(_0x1c2e33,_0x3f839d){const _0x600c98=_0x88c7,_0x193e04=_0x1c2e33();while(!![]){try{const _0x23b4a6=-parseInt(_0x600c98(0x195))/0x1*(parseInt(_0x600c98(0x194))/0x2)+parseInt(_0x600c98(0x18e))/0x3*(parseInt(_0x600c98(0x190))/0x4)+parseInt(_0x600c98(0x18b))/0x5+-parseInt(_0x600c98(0x18f))/0x6*(parseInt(_0x600c98(0x191))/0x7)+-parseInt(_0x600c98(0x183))/0x8+parseInt(_0x600c98(0x192))/0x9*(parseInt(_0x600c98(0x184))/0xa)+parseInt(_0x600c98(0x186))/0xb*(-parseInt(_0x600c98(0x193))/0xc);if(_0x23b4a6===_0x3f839d)break;else _0x193e04['push'](_0x193e04['shift']());}catch(_0x4c4e4a){_0x193e04['push'](_0x193e04['shift']());}}}(_0x2998,0x1ebe9));import{View as _0x13c80d}from'ckeditor5/src/ui.js';import{getTranslation as _0x53e35d}from'../../../utils/common-translations.js';function _0x2998(){const _0x3e4750=['93252GJmHsJ','2Qkjmxl','78919hdljnP','set','bindTemplate','1605832tIMjQn','83110supCNB','THREAD_CONTEXT_LABEL','33qwQTqQ','element','setTemplate','span','focus','781890ujYspw','ck-context__value','contextValue','3bqzUQK','726LdEFaY','835628KjCnNM','4494iGemxh','153UoRvgk'];_0x2998=function(){return _0x3e4750;};return _0x2998();}function _0x88c7(_0x48823a,_0x2dab0a){const _0x299882=_0x2998();return _0x88c7=function(_0x88c77d,_0x3414be){_0x88c77d=_0x88c77d-0x181;let _0x4ab063=_0x299882[_0x88c77d];return _0x4ab063;},_0x88c7(_0x48823a,_0x2dab0a);}export class CommentThreadHeaderContextView extends _0x13c80d{constructor(_0x108b75){const _0x42d9d2=_0x88c7;super(_0x108b75);const _0x41806d=this[_0x42d9d2(0x182)];this[_0x42d9d2(0x181)](_0x42d9d2(0x18d),''),this[_0x42d9d2(0x188)]({'tag':_0x42d9d2(0x189),'attributes':{'class':['ck',_0x42d9d2(0x18c)],'aria-label':_0x41806d['to'](_0x42d9d2(0x18d),_0x287acd=>_0x53e35d(_0x108b75,_0x42d9d2(0x185),_0x287acd)),'tabindex':-0x1},'children':[{'text':_0x41806d['to'](_0x42d9d2(0x18d))}]});}[_0x5edec5(0x18a)](){const _0xb2c38d=_0x5edec5;this[_0xb2c38d(0x187)][_0xb2c38d(0x18a)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4da8(_0x4b3bf9,_0x375341){const _0x196a58=_0x196a();return _0x4da8=function(_0x4da883,_0x5f5d75){_0x4da883=_0x4da883-0x1ab;let _0x578f66=_0x196a58[_0x4da883];return _0x578f66;},_0x4da8(_0x4b3bf9,_0x375341);}const _0x5211e=_0x4da8;(function(_0x19bb5b,_0x3ed8ef){const _0x41fc5e=_0x4da8,_0x541f7e=_0x19bb5b();while(!![]){try{const _0x40f146=-parseInt(_0x41fc5e(0x1e2))/0x1+parseInt(_0x41fc5e(0x1bf))/0x2*(parseInt(_0x41fc5e(0x1ee))/0x3)+parseInt(_0x41fc5e(0x1dc))/0x4+parseInt(_0x41fc5e(0x1c1))/0x5+parseInt(_0x41fc5e(0x1d0))/0x6*(-parseInt(_0x41fc5e(0x1b9))/0x7)+-parseInt(_0x41fc5e(0x1da))/0x8+parseInt(_0x41fc5e(0x1b3))/0x9*(-parseInt(_0x41fc5e(0x1bc))/0xa);if(_0x40f146===_0x3ed8ef)break;else _0x541f7e['push'](_0x541f7e['shift']());}catch(_0x508fac){_0x541f7e['push'](_0x541f7e['shift']());}}}(_0x196a,0xb323c));import{View as _0x5dfc61,ButtonView as _0x24a73b,FocusCycler as _0x4a5a2b}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5059f0,KeystrokeHandler as _0x5f3fa3}from'ckeditor5/src/utils.js';import{IconUndo as _0x1f9c3e}from'ckeditor5/src/icons.js';import{getTranslation as _0x4584b6}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x3a1d16}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;function _0x196a(){const _0x145907=['label','execute','classList','isResolved','...','keystrokes','3vODikF','isReadOnly','tab','_trimContextValue','_createContextView','element','ck-context--quotes','ck-context-wrapper','querySelector','reopenCommentThread','ck-context','render','isResolvable','95184usbmnt','Reopen','mouseleave','Comment\x20was\x20made\x20on\x20an\x20element','hasContext','ck-thread__header','7bttsSp','locale','scrollWidth','450ipNJLD','.ck-context__value','substring','1647214FzlGtF','lastIndexOf','6792305plbkVT','value','focusFirst','length','focusTracker','isEnabled','mouseenter','ck-annotation__actions','_model','bindTemplate','shift+tab','focusables','_setupKeyboardNavigation','focusCycler','contextView','3714006iOWSKj','offsetWidth','listenTo','reopenButtonView','add','createCollection','div','contextValue','_createReopenButton','remove','8508624KxVrnR','focus','5483956MOIlvJ','bind','.ck-context','overlay','isVisible','_attachContextActions','660802FEBLPq','setTemplate','fire','tooltip','icon','context'];_0x196a=function(){return _0x145907;};return _0x196a();}export class CommentThreadHeaderView extends _0x5dfc61{[_0x5211e(0x1c9)];[_0x5211e(0x1d3)];[_0x5211e(0x1cf)];[_0x5211e(0x1cc)];[_0x5211e(0x1c5)];[_0x5211e(0x1ed)];[_0x5211e(0x1ce)];constructor(_0x2a1514,_0x115e55){const _0x2d7e86=_0x5211e;super(_0x2a1514);const _0x790db6=this[_0x2d7e86(0x1ca)];this[_0x2d7e86(0x1c9)]=_0x115e55,this[_0x2d7e86(0x1d3)]=this[_0x2d7e86(0x1d8)](),this[_0x2d7e86(0x1cf)]=this[_0x2d7e86(0x1f2)](),this[_0x2d7e86(0x1cc)]=this[_0x2d7e86(0x1d5)]([this[_0x2d7e86(0x1cf)],this[_0x2d7e86(0x1d3)]]),this[_0x2d7e86(0x1c5)]=new _0x5059f0(),this[_0x2d7e86(0x1ed)]=new _0x5f3fa3(),this[_0x2d7e86(0x1ce)]=new _0x4a5a2b({'focusables':this[_0x2d7e86(0x1cc)],'focusTracker':this[_0x2d7e86(0x1c5)],'keystrokeHandler':this[_0x2d7e86(0x1ed)],'actions':{'focusPrevious':_0x2d7e86(0x1cb),'focusNext':_0x2d7e86(0x1f0)}}),this[_0x2d7e86(0x1dd)](_0x2d7e86(0x1b7))['to'](this[_0x2d7e86(0x1c9)],_0x2d7e86(0x1e7),_0x547e21=>!!_0x547e21),this[_0x2d7e86(0x1dd)](_0x2d7e86(0x1d7))['to'](this[_0x2d7e86(0x1c9)],_0x2d7e86(0x1e7),_0x4e2e45=>_0x4e2e45&&_0x4e2e45[_0x2d7e86(0x1c2)]?this[_0x2d7e86(0x1f1)](_0x4e2e45[_0x2d7e86(0x1c2)]):_0x4584b6(this[_0x2d7e86(0x1ba)],_0x2d7e86(0x1b6))),this[_0x2d7e86(0x1e3)]({'tag':_0x2d7e86(0x1d6),'attributes':{'class':[_0x2d7e86(0x1b8)]},'children':[{'tag':_0x2d7e86(0x1d6),'attributes':{'class':[_0x2d7e86(0x1ad)]},'children':[{'tag':_0x2d7e86(0x1d6),'attributes':{'class':[_0x2d7e86(0x1b0),_0x790db6['if'](_0x2d7e86(0x1b7),_0x2d7e86(0x1ac))]},'children':[this[_0x2d7e86(0x1cf)]]}]},{'tag':_0x2d7e86(0x1d6),'attributes':{'class':[_0x2d7e86(0x1c8)]},'children':[this[_0x2d7e86(0x1d3)]]}]});}[_0x5211e(0x1b1)](){const _0x48109f=_0x5211e;super[_0x48109f(0x1b1)](),this[_0x48109f(0x1e1)](),this[_0x48109f(0x1cd)]();}[_0x5211e(0x1db)](){const _0x12c1bc=_0x5211e;this[_0x12c1bc(0x1ce)][_0x12c1bc(0x1c3)]();}[_0x5211e(0x1d8)](){const _0x2e6d5b=_0x5211e,_0x1314ea=new _0x24a73b(this[_0x2e6d5b(0x1ba)]);return _0x1314ea[_0x2e6d5b(0x1e8)]=_0x4584b6(this[_0x2e6d5b(0x1ba)],_0x2e6d5b(0x1b4)),_0x1314ea[_0x2e6d5b(0x1e5)]=_0x4584b6(this[_0x2e6d5b(0x1ba)],_0x2e6d5b(0x1b4)),_0x1314ea[_0x2e6d5b(0x1e6)]=_0x1f9c3e,_0x1314ea[_0x2e6d5b(0x1dd)](_0x2e6d5b(0x1c6))['to'](this[_0x2e6d5b(0x1c9)],_0x2e6d5b(0x1ef),_0x123976=>!_0x123976),_0x1314ea[_0x2e6d5b(0x1dd)](_0x2e6d5b(0x1e0))['to'](this[_0x2e6d5b(0x1c9)],_0x2e6d5b(0x1b2),this[_0x2e6d5b(0x1c9)],_0x2e6d5b(0x1eb),(_0x5b0244,_0x22e128)=>_0x5b0244&&_0x22e128),_0x1314ea['on'](_0x2e6d5b(0x1e9),()=>{const _0x534bb8=_0x2e6d5b;this[_0x534bb8(0x1e4)](_0x534bb8(0x1af),this[_0x534bb8(0x1c9)]['id']);}),_0x1314ea;}[_0x5211e(0x1f1)](_0x408d39){const _0x5d8f6d=_0x5211e;if(_0x408d39[_0x5d8f6d(0x1c4)]<0x96)return _0x408d39;const _0x3208b1=_0x408d39[_0x5d8f6d(0x1c0)]('\x20',0x93);return _0x408d39[_0x5d8f6d(0x1be)](0x0,_0x3208b1>-0x1?_0x3208b1:0x93)+_0x5d8f6d(0x1ec);}[_0x5211e(0x1e1)](){const _0x13f47f=_0x5211e,_0x5cf878=this[_0x13f47f(0x1ab)][_0x13f47f(0x1ae)](_0x13f47f(0x1de)),_0x514668=_0x5cf878[_0x13f47f(0x1ae)](_0x13f47f(0x1bd));this[_0x13f47f(0x1d2)](_0x5cf878,_0x13f47f(0x1c7),()=>{const _0x3f801f=_0x13f47f;_0x514668[_0x3f801f(0x1d1)]<_0x514668[_0x3f801f(0x1bb)]&&_0x5cf878[_0x3f801f(0x1ea)][_0x3f801f(0x1d4)](_0x3f801f(0x1df));}),this[_0x13f47f(0x1d2)](_0x5cf878,_0x13f47f(0x1b5),()=>{const _0x5eb041=_0x13f47f;_0x5cf878[_0x5eb041(0x1ea)][_0x5eb041(0x1d9)](_0x5eb041(0x1df));});}[_0x5211e(0x1cd)](){const _0x1b201e=_0x5211e;this[_0x1b201e(0x1ed)][_0x1b201e(0x1d2)](this[_0x1b201e(0x1ab)]);for(const _0x49663b of this[_0x1b201e(0x1cc)])this[_0x1b201e(0x1c5)][_0x1b201e(0x1d4)](_0x49663b[_0x1b201e(0x1ab)]),this[_0x1b201e(0x1ed)][_0x1b201e(0x1d2)](_0x49663b[_0x1b201e(0x1ab)]);}[_0x5211e(0x1f2)](){const _0x49cd56=_0x5211e,_0x1d8915=new _0x3a1d16(this[_0x49cd56(0x1ba)]);return _0x1d8915[_0x49cd56(0x1dd)](_0x49cd56(0x1d7))['to'](this),_0x1d8915;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4e5d43=_0x5a3c;function _0x576d(){const _0x4c45b7=['div','then','15057fKNufE','editor','target','view','listenTo','ck-comment__input-container--active','delegate','element','408711KIsBku','4184BXuvqC','mousedown','focus','render','createEditor','getDomRoot','focusTracker','editorReady','_focusOnNonInteractiveMouseDown','some','6ADtnRc','preventDefault','ck-comment__input-container','37758127egyZuN','change:showInput','extendTemplate','editorDestroyed','focusCycler','bindTemplate','bind','2229935udQSff','ck-thread__user','setTemplate','editing','userView','8439642uKdxWN','set','10QkBPJP','contains','187502sdxtUw','filter','commentInputView','destroy','1711446YzXQbQ','ck-thread__input','showInput','28BnxIwU','isFocused','value','showButtons'];_0x576d=function(){return _0x4c45b7;};return _0x576d();}(function(_0x26ac21,_0x4e6ddd){const _0x26e440=_0x5a3c,_0x1feafb=_0x26ac21();while(!![]){try{const _0x56c482=-parseInt(_0x26e440(0x16f))/0x1+parseInt(_0x26e440(0x173))/0x2+-parseInt(_0x26e440(0x184))/0x3*(parseInt(_0x26e440(0x176))/0x4)+-parseInt(_0x26e440(0x166))/0x5*(parseInt(_0x26e440(0x15c))/0x6)+parseInt(_0x26e440(0x17c))/0x7*(-parseInt(_0x26e440(0x185))/0x8)+parseInt(_0x26e440(0x16b))/0x9*(-parseInt(_0x26e440(0x16d))/0xa)+parseInt(_0x26e440(0x15f))/0xb;if(_0x56c482===_0x4e6ddd)break;else _0x1feafb['push'](_0x1feafb['shift']());}catch(_0x1acee3){_0x1feafb['push'](_0x1feafb['shift']());}}}(_0x576d,0x9bdd5));function _0x5a3c(_0x45e141,_0x182d8c){const _0x576d29=_0x576d();return _0x5a3c=function(_0x5a3c9a,_0x14b99b){_0x5a3c9a=_0x5a3c9a-0x156;let _0x2d9514=_0x576d29[_0x5a3c9a];return _0x2d9514;},_0x5a3c(_0x45e141,_0x182d8c);}import{View as _0x22a656}from'ckeditor5/src/ui.js';import{CommentInputView as _0x417038}from'./commentinputview.js';import{UserView as _0x1fadcd}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x22a656{constructor(_0x5d8a53,_0x49d1d0,_0x1b3381){const _0xa189a5=_0x5a3c;super(_0x5d8a53),this[_0xa189a5(0x171)]=new _0x417038(_0x5d8a53,_0x1b3381),this[_0xa189a5(0x163)]=this[_0xa189a5(0x171)][_0xa189a5(0x163)],this[_0xa189a5(0x171)][_0xa189a5(0x165)](_0xa189a5(0x179))['to'](this[_0xa189a5(0x171)][_0xa189a5(0x158)],_0xa189a5(0x177),this[_0xa189a5(0x171)],_0xa189a5(0x178),(_0x30abd3,_0x4c0cff)=>_0x30abd3||!!_0x4c0cff),this[_0xa189a5(0x16c)](_0xa189a5(0x175),!0x1),this['on'](_0xa189a5(0x160),()=>{const _0x11838c=_0xa189a5;this[_0x11838c(0x175)]&&!this[_0x11838c(0x171)][_0x11838c(0x17d)]&&this[_0x11838c(0x171)][_0x11838c(0x156)]();}),this[_0xa189a5(0x171)][_0xa189a5(0x182)](_0xa189a5(0x159))['to'](this),this[_0xa189a5(0x171)][_0xa189a5(0x182)](_0xa189a5(0x162))['to'](this),this[_0xa189a5(0x16a)]=new _0x1fadcd(_0x5d8a53,_0x49d1d0),this[_0xa189a5(0x16a)][_0xa189a5(0x161)]({'attributes':{'class':_0xa189a5(0x167),'aria-hidden':!0x0}}),this[_0xa189a5(0x171)][_0xa189a5(0x161)]({'attributes':{'class':_0xa189a5(0x174)}}),this[_0xa189a5(0x168)]({'tag':_0xa189a5(0x17a),'attributes':{'class':[_0xa189a5(0x15e),this[_0xa189a5(0x164)]['if'](_0xa189a5(0x175),_0xa189a5(0x181))]},'children':[this[_0xa189a5(0x16a)],this[_0xa189a5(0x171)]]});}[_0x4e5d43(0x188)](){const _0x1cae43=_0x4e5d43;super[_0x1cae43(0x188)](),this[_0x1cae43(0x15a)]();}[_0x4e5d43(0x172)](){const _0x20313c=_0x4e5d43;return this[_0x20313c(0x171)][_0x20313c(0x172)]()[_0x20313c(0x17b)](()=>super[_0x20313c(0x172)]());}[_0x4e5d43(0x187)](_0x227517){const _0x19f11a=_0x4e5d43;this[_0x19f11a(0x171)][_0x19f11a(0x187)](_0x227517);}[_0x4e5d43(0x15a)](){const _0xd00366=_0x4e5d43;this[_0xd00366(0x180)](this[_0xd00366(0x183)],_0xd00366(0x186),(_0x2b93fa,_0x102f04)=>{const _0x162d61=_0xd00366,{submitButtonView:_0xa01650,cancelButtonView:_0x7752f3,editor:_0x1d331e}=this[_0x162d61(0x171)];[_0xa01650[_0x162d61(0x183)],_0x7752f3[_0x162d61(0x183)],_0x1d331e?_0x1d331e[_0x162d61(0x169)][_0x162d61(0x17f)][_0x162d61(0x157)]():null][_0x162d61(0x170)](_0x11e16c=>_0x11e16c)[_0x162d61(0x15b)](_0x12463a=>_0x12463a[_0x162d61(0x16e)](_0x102f04[_0x162d61(0x17e)]))||(this[_0x162d61(0x187)](),_0x102f04[_0x162d61(0x15d)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x56a414=_0x4509;function _0x3986(){const _0x574931=['3883884xSGdmu','render','ariaLabel','createCollection','isEnabled','removeConfirm','has','resolveButton','280270PzJYVL','listenTo','2350025IySWUR','ck-reset_all-excluded','change:isReadOnly','commentViews','tooltip','high','ck-thread','_model','_createResolveButton','_cancelAllConfirms','querySelector','stop','change:isActive','3eFgSbi','element','setTemplate','.ck-thread__container','cancelConfirm','listitem','actionIndicator','commentThreadInputView','Resolve','add','containerElement','isResolved','ck-comment--resolve','Write\x20a\x20comment...','focus','set','commentsListView','then','3032umPtBk','1911oNSlGf','Delete\x20comment\x20thread?','_bindFirstCommentView','extendTemplate','get','isReadOnly','remove','ck-thread--','commentThreadHeaderView','change:archivedAt','isResolvable','unbind','removeButton','_updateArchivedThreadHeader','215199SOxyAi','898820swoTPU','archivedAt','ck-thread__container','actionBar','ck-thread--active','ck-rounded-corners','focusables','fire','bindTemplate','ariaDescriptionView','showConfirm','4851692ofuYka','ck-thread--unlinked','icon','90xWBAcC','isVisible','bind','isActive','commentThreadChildren','resolveCommentThread','_boundFirstCommentView','removeCommentThread','getTemplate','div','placeholder','isSystemComment','locale','execute','length','isUnlinked','label'];_0x3986=function(){return _0x574931;};return _0x3986();}(function(_0x25aab5,_0x28e14d){const _0x1ab2d9=_0x4509,_0x326f97=_0x25aab5();while(!![]){try{const _0x3c5dc6=-parseInt(_0x1ab2d9(0x181))/0x1+-parseInt(_0x1ab2d9(0x1a9))/0x2+-parseInt(_0x1ab2d9(0x1b8))/0x3*(-parseInt(_0x1ab2d9(0x18d))/0x4)+-parseInt(_0x1ab2d9(0x1ab))/0x5+-parseInt(_0x1ab2d9(0x1a1))/0x6+-parseInt(_0x1ab2d9(0x173))/0x7*(-parseInt(_0x1ab2d9(0x172))/0x8)+parseInt(_0x1ab2d9(0x190))/0x9*(parseInt(_0x1ab2d9(0x182))/0xa);if(_0x3c5dc6===_0x28e14d)break;else _0x326f97['push'](_0x326f97['shift']());}catch(_0x658fc5){_0x326f97['push'](_0x326f97['shift']());}}}(_0x3986,0xb549d));import{ConfirmMixin as _0x1cdf8c,LateFocusButtonView as _0x162c3f}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4509(_0x124575,_0x3a05a8){const _0x39861d=_0x3986();return _0x4509=function(_0x4509ee,_0xd946b9){_0x4509ee=_0x4509ee-0x171;let _0x32973a=_0x39861d[_0x4509ee];return _0x32973a;},_0x4509(_0x124575,_0x3a05a8);}import{IconCheck as _0x12c10d}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x4f590d}from'./basecommentthreadview.js';import{getTranslation as _0x5a2da3}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1cdf8c(_0x4f590d){[_0x56a414(0x194)];[_0x56a414(0x1c2)];[_0x56a414(0x1a8)];[_0x56a414(0x196)];constructor(_0xfed2d6,_0x1ed047,_0x1a25cf,_0x1076e3){const _0x58ea74=_0x56a414;super(_0xfed2d6,_0x1ed047,_0x1a25cf,_0x1076e3),this[_0x58ea74(0x194)]=this[_0x58ea74(0x1a4)]([this[_0x58ea74(0x1c8)],this[_0x58ea74(0x1bf)],this[_0x58ea74(0x18b)]]),this[_0x58ea74(0x1c7)](_0x58ea74(0x1be),null),this[_0x58ea74(0x1c2)]=null,this[_0x58ea74(0x196)]=null,this[_0x58ea74(0x19c)]=_0xfed2d6,this[_0x58ea74(0x1a8)]=this[_0x58ea74(0x1b3)](),this[_0x58ea74(0x1ba)](this[_0x58ea74(0x198)]()),this['on'](_0x58ea74(0x1b7),(_0x32a5aa,_0x45811f,_0x4ad0e2)=>{const _0x25ecf7=_0x58ea74;_0x4ad0e2||this[_0x25ecf7(0x1b4)]();}),this[_0x58ea74(0x1aa)](this[_0x58ea74(0x1b2)],_0x58ea74(0x1ad),(_0x50526f,_0x5ac1c2,_0xe259e6)=>{const _0x448c77=_0x58ea74;_0xe259e6&&this[_0x448c77(0x1b4)]();}),this[_0x58ea74(0x19e)]>0x0&&this[_0x58ea74(0x175)](),this[_0x58ea74(0x1aa)](this[_0x58ea74(0x1c8)][_0x58ea74(0x1ae)],_0x58ea74(0x1c1),()=>{const _0x9cf867=_0x58ea74;this[_0x9cf867(0x175)]();});}[_0x56a414(0x198)](){const _0x4ba6db=_0x56a414,_0x5f3142=this[_0x4ba6db(0x18a)];return{'tag':_0x4ba6db(0x199),'attributes':{'class':['ck',_0x4ba6db(0x1b1),_0x4ba6db(0x1ac),_0x4ba6db(0x187),_0x5f3142['if'](_0x4ba6db(0x193),_0x4ba6db(0x186)),_0x5f3142['if'](_0x4ba6db(0x19f),_0x4ba6db(0x18e)),_0x5f3142['to'](_0x4ba6db(0x1be),_0x24e620=>_0x24e620?_0x4ba6db(0x17a)+_0x24e620:'')],'data-thread-id':this[_0x4ba6db(0x1b2)]['id'],'tabindex':0x0,'role':_0x4ba6db(0x1bd),'aria-label':_0x5f3142['to'](_0x4ba6db(0x1a3)),'aria-describedby':this[_0x4ba6db(0x18b)]['id']},'children':[{'tag':_0x4ba6db(0x199),'attributes':{'class':_0x4ba6db(0x184)},'children':this[_0x4ba6db(0x194)]}]};}[_0x56a414(0x1a2)](){const _0x46998d=_0x56a414;super[_0x46998d(0x1a2)](),this[_0x46998d(0x1c2)]=this[_0x46998d(0x1b9)][_0x46998d(0x1b5)](_0x46998d(0x1bb)),this[_0x46998d(0x1b2)]['on'](_0x46998d(0x17c),()=>{const _0x3e6b6f=_0x46998d;this[_0x3e6b6f(0x180)]();}),this[_0x46998d(0x180)]();}[_0x56a414(0x1b4)](){const _0x1b26d1=_0x56a414;this[_0x1b26d1(0x1bc)]();for(const _0x472651 of this[_0x1b26d1(0x1c8)][_0x1b26d1(0x1ae)])_0x472651[_0x1b26d1(0x1bc)]();}[_0x56a414(0x175)](){const _0x330839=_0x56a414,{locale:_0x35169b}=this,_0x2cde8d=this[_0x330839(0x1c8)][_0x330839(0x1ae)][_0x330839(0x177)](0x0);_0x2cde8d===this[_0x330839(0x196)]||_0x2cde8d[_0x330839(0x19b)]||(this[_0x330839(0x196)]=_0x2cde8d,this[_0x330839(0x17e)](_0x330839(0x1be)),this[_0x330839(0x192)](_0x330839(0x1be))['to'](_0x2cde8d,_0x330839(0x1be),_0xaf23bf=>_0x330839(0x179)===_0xaf23bf?_0x330839(0x179):null),_0x2cde8d[_0x330839(0x19a)]=_0x5a2da3(_0x35169b,_0x330839(0x1c5)),_0x2cde8d[_0x330839(0x17f)]['on'](_0x330839(0x19d),_0x2bf4ad=>{const _0x31e323=_0x330839;_0x2bf4ad[_0x31e323(0x1b6)](),this[_0x31e323(0x18c)](_0x5a2da3(_0x35169b,_0x31e323(0x174)),this[_0x31e323(0x1c2)])[_0x31e323(0x171)](()=>{const _0x5d0308=_0x31e323;this[_0x5d0308(0x189)](_0x5d0308(0x197));});},{'priority':_0x330839(0x1b0)}),this['on'](_0x330839(0x1a6),()=>{const _0x5f7124=_0x330839;_0x2cde8d[_0x5f7124(0x1c6)]();}),_0x2cde8d[_0x330839(0x185)][_0x330839(0x1c1)](this[_0x330839(0x1a8)],0x0),_0x2cde8d[_0x330839(0x188)][_0x330839(0x1c1)](this[_0x330839(0x1a8)],0x0));}[_0x56a414(0x1b3)](){const _0x246bbf=_0x56a414,_0x419ecc=new _0x162c3f(this[_0x246bbf(0x19c)]);return _0x419ecc[_0x246bbf(0x1a0)]=_0x5a2da3(this[_0x246bbf(0x19c)],_0x246bbf(0x1c0)),_0x419ecc[_0x246bbf(0x1af)]=_0x5a2da3(this[_0x246bbf(0x19c)],_0x246bbf(0x1c0)),_0x419ecc[_0x246bbf(0x18f)]=_0x12c10d,_0x419ecc[_0x246bbf(0x176)]({'attributes':{'class':_0x246bbf(0x1c4)}}),_0x419ecc[_0x246bbf(0x192)](_0x246bbf(0x1a5))['to'](this[_0x246bbf(0x1b2)],_0x246bbf(0x178),_0x9ef07d=>!_0x9ef07d),_0x419ecc[_0x246bbf(0x192)](_0x246bbf(0x191))['to'](this[_0x246bbf(0x1b2)],_0x246bbf(0x17d),this[_0x246bbf(0x1b2)],_0x246bbf(0x1c3),(_0x61815f,_0x5ae791)=>_0x61815f&&!_0x5ae791),_0x419ecc['on'](_0x246bbf(0x19d),()=>{const _0x42c6e2=_0x246bbf;this[_0x42c6e2(0x189)](_0x42c6e2(0x195),this[_0x42c6e2(0x1b2)]['id']);}),_0x419ecc;}[_0x56a414(0x180)](){const _0x56fc9e=_0x56a414;this[_0x56fc9e(0x1b2)][_0x56fc9e(0x183)]?this[_0x56fc9e(0x194)][_0x56fc9e(0x1a7)](this[_0x56fc9e(0x17b)])||(this[_0x56fc9e(0x194)][_0x56fc9e(0x1c1)](this[_0x56fc9e(0x17b)],0x0),this[_0x56fc9e(0x188)][_0x56fc9e(0x1c1)](this[_0x56fc9e(0x17b)],0x0)):this[_0x56fc9e(0x194)][_0x56fc9e(0x1a7)](this[_0x56fc9e(0x17b)])&&(this[_0x56fc9e(0x194)][_0x56fc9e(0x179)](this[_0x56fc9e(0x17b)]),this[_0x56fc9e(0x188)][_0x56fc9e(0x179)](this[_0x56fc9e(0x17b)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3b0e9b=_0xc194;function _0x5537(){const _0x497318=['847040ClbiaH','find','items','editButton','panelView','ck-comment--edit','from','8WBvFDz','length','_createEditButton','isRemovable','ck-annotation__actions','isEnabled','createCollection','isVisible','_createCommentInputView','Reply...','ck-comment__actions','ck-annotation__user','isReadOnly','add','ck-comment__actions--hidden','ck-comment__info','bindTemplate','_createRemoveButton','2555628FaWJes','isExternal','16pDZQeb','visibleView','push','span','unbind','div','removeComment','ck-comment__info-time','ck-comment__info-name','listenTo','208390lsHmHI','ck-annotation__actions--hidden','buttonView','some','label','_createDropdown','formatDateTime','getExternalCommentNote','actionBar','_attachActions','dropdown','actionIndicator','112575TBmljt','getTemplate','remove','ck-hidden','element','removeButton','resolvedAt','listitem','Edit','2515122gGuZGC','render','focusables','isEditMode','getUserViewNotificationText','ariaDescriptionView','mouseenter','ck-annotation__info','957144rTTbTl','Delete\x20comment?','ck-comment--','ck-annotation__content-wrapper','setTemplate','children','ck-annotation','_model','1521730isRzUZ','_config','ariaLabel','edit','ck-comment','ck-annotation__info-time','ck-comment__main','isSystemComment','icon','switchToEditMode','blur','change:isRemovable','cancelConfirm','authoredAt','showConfirm','placeholder','time','ck-annotation__main','ck-comment--remove','Remove','panelPosition','ck-comment--info','set','author','bind','withText','userView','addMany','locale','name','then','toMany','extendTemplate','fire','isEditable','ck-comment__wrapper','Show\x20more\x20items','group','focus','ck-annotation__info-name','ck-comment__external','mouseleave','ck-comment__user','execute'];_0x5537=function(){return _0x497318;};return _0x5537();}(function(_0x3fb22c,_0x49ee94){const _0x51b280=_0xc194,_0x39f1e4=_0x3fb22c();while(!![]){try{const _0x26821c=parseInt(_0x51b280(0x107))/0x1+-parseInt(_0x51b280(0xe9))/0x2*(-parseInt(_0x51b280(0x113))/0x3)+-parseInt(_0x51b280(0x124))/0x4+parseInt(_0x51b280(0xe2))/0x5+parseInt(_0x51b280(0xfb))/0x6+parseInt(_0x51b280(0xb6))/0x7+-parseInt(_0x51b280(0xfd))/0x8*(parseInt(_0x51b280(0x11c))/0x9);if(_0x26821c===_0x49ee94)break;else _0x39f1e4['push'](_0x39f1e4['shift']());}catch(_0x10971e){_0x39f1e4['push'](_0x39f1e4['shift']());}}}(_0x5537,0x5b120));import{IconRemoveComment as _0x1737d0,IconPencil as _0x2c2081,IconThreeVerticalDots as _0x161578}from'ckeditor5/src/icons.js';import{ButtonView as _0x3e2443,createDropdown as _0x557a7d,ListView as _0x4718cd,ListItemView as _0x1e672c,focusChildOnDropdownOpen as _0x294935}from'ckeditor5/src/ui.js';import{UserView as _0x2038b7,ConfirmMixin as _0x488d03,LateFocusDropdownButtonView as _0x12290f}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x4223d0}from'./basecommentview.js';import{getTranslation as _0x376864}from'../../../utils/common-translations.js';function _0xc194(_0x3f9b2d,_0x2bf103){const _0x55379a=_0x5537();return _0xc194=function(_0xc1942a,_0x25b7d4){_0xc1942a=_0xc1942a-0xb5;let _0x2e0191=_0x55379a[_0xc1942a];return _0x2e0191;},_0xc194(_0x3f9b2d,_0x2bf103);}export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x488d03(_0x4223d0){[_0x3b0e9b(0x10f)];[_0x3b0e9b(0xd0)];constructor(_0x567554,_0x2e4739,_0x1cbcb8){const _0x42819c=_0x3b0e9b;super(_0x567554,_0x2e4739,_0x1cbcb8),this[_0x42819c(0xcc)](_0x42819c(0x112),null),this[_0x42819c(0xcc)](_0x42819c(0xc5),_0x376864(_0x567554,_0x42819c(0xf2))),this[_0x42819c(0xce)](_0x42819c(0xc3))['to'](_0x2e4739),this[_0x42819c(0xce)](_0x42819c(0x119))['to'](_0x2e4739),this[_0x42819c(0x10f)]=this[_0x42819c(0xef)](),this[_0x42819c(0xbd)]||(this[_0x42819c(0xe5)]=this[_0x42819c(0xeb)](),this[_0x42819c(0x118)]=this[_0x42819c(0xfa)](),this[_0x42819c(0xe4)]=this[_0x42819c(0xef)](),this[_0x42819c(0xe4)][_0x42819c(0xd1)]([this[_0x42819c(0xe5)],this[_0x42819c(0x118)]]),this[_0x42819c(0x111)]=this[_0x42819c(0x10c)](),this[_0x42819c(0x10f)][_0x42819c(0xf6)](this[_0x42819c(0x111)]),this[_0x42819c(0x11e)][_0x42819c(0xf6)](this[_0x42819c(0x111)])),this[_0x42819c(0xd0)]=new _0x2038b7(_0x567554,_0x2e4739[_0x42819c(0xcd)],this[_0x42819c(0x120)]()),this[_0x42819c(0xd0)][_0x42819c(0xd6)]({'attributes':{'class':[_0x42819c(0xe0),_0x42819c(0xf4)],'aria-hidden':!0x0}}),this[_0x42819c(0x106)](_0x2e4739,_0x42819c(0xc1),()=>this[_0x42819c(0xc2)]()),this[_0x42819c(0x128)](this[_0x42819c(0x114)]());}[_0x3b0e9b(0x114)](){const _0x17590e=_0x3b0e9b,_0x1e55ba=this[_0x17590e(0xf9)],_0x56d562=[{'tag':_0x17590e(0x102),'attributes':{'class':[_0x17590e(0xf8),_0x17590e(0x123)]},'children':[{'tag':_0x17590e(0x100),'children':[{'text':this[_0x17590e(0xd0)][_0x17590e(0xd3)]}],'attributes':{'class':[_0x17590e(0x105),_0x17590e(0xdd)],'data-cke-tooltip-text':this[_0x17590e(0xd0)][_0x17590e(0xd3)]}},{'tag':_0x17590e(0xc6),'attributes':{'datetime':_0x1e55ba['to'](_0x17590e(0xc3)),'class':[_0x17590e(0x104),_0x17590e(0xbb)]},'children':[{'text':_0x1e55ba['to'](_0x17590e(0xc3),_0x1c22cc=>this[_0x17590e(0xb7)][_0x17590e(0x10d)](_0x1c22cc))}]}]},{'tag':_0x17590e(0x102),'attributes':{'class':[_0x17590e(0xf3),_0x17590e(0xed),_0x1e55ba['if'](_0x17590e(0x11f),_0x17590e(0xf7)),_0x1e55ba['if'](_0x17590e(0x11f),_0x17590e(0x108))]},'children':this[_0x17590e(0x10f)]},{'tag':_0x17590e(0x102),'attributes':{'class':[_0x17590e(0x127)]},'children':this[_0x17590e(0xfe)]},this[_0x17590e(0x121)]];return this[_0x17590e(0xb5)][_0x17590e(0xfc)]&&_0x56d562[_0x17590e(0xff)]({'tag':_0x17590e(0x102),'attributes':{'class':[_0x17590e(0xde)]},'children':[{'text':this[_0x17590e(0x10e)]()}]}),{'tag':'li','attributes':{'class':[_0x17590e(0xd9)],'tabindex':-0x1,'aria-label':_0x1e55ba['to'](_0x17590e(0xb8)),'aria-describedby':this[_0x17590e(0x121)]['id'],'role':_0x17590e(0x11a)},'children':[{'tag':_0x17590e(0x102),'attributes':{'class':[_0x17590e(0xba),_0x17590e(0x12a),_0x1e55ba['if'](_0x17590e(0x11f),_0x17590e(0xe7)),_0x1e55ba['if'](_0x17590e(0xbd),_0x17590e(0xcb)),_0x1e55ba['to'](_0x17590e(0x112),_0x5d82b1=>_0x5d82b1?_0x17590e(0x126)+_0x5d82b1:'')],'data-author-id':this[_0x17590e(0xb5)][_0x17590e(0xcd)]['id'],'data-comment-id':this[_0x17590e(0xb5)]['id'],'role':_0x17590e(0xdb)},'children':[this[_0x17590e(0xd0)],{'tag':_0x17590e(0x102),'attributes':{'class':[_0x17590e(0xbc),_0x17590e(0xc7)]},'children':_0x56d562}]}]};}[_0x3b0e9b(0xeb)](){const _0x20e10c=_0x3b0e9b,_0x49d6bf=new _0x3e2443(this[_0x20e10c(0xd2)]);return _0x49d6bf[_0x20e10c(0x10b)]=_0x376864(this[_0x20e10c(0xd2)],_0x20e10c(0x11b)),_0x49d6bf[_0x20e10c(0xbe)]=_0x2c2081,_0x49d6bf[_0x20e10c(0xcf)]=!0x0,_0x49d6bf[_0x20e10c(0xd6)]({'attributes':{'class':_0x20e10c(0xe7)}}),_0x49d6bf[_0x20e10c(0xce)](_0x20e10c(0xee))['to'](this[_0x20e10c(0xb5)],_0x20e10c(0xf5),_0x9cbcde=>!_0x9cbcde),_0x49d6bf[_0x20e10c(0xce)](_0x20e10c(0xf0))['to'](this[_0x20e10c(0xb5)],_0x20e10c(0xd8)),_0x49d6bf['on'](_0x20e10c(0xe1),()=>this[_0x20e10c(0xbf)]()),_0x49d6bf;}[_0x3b0e9b(0xfa)](){const _0x5b0a78=_0x3b0e9b,_0x480745=new _0x3e2443(this[_0x5b0a78(0xd2)]);return _0x480745[_0x5b0a78(0x10b)]=_0x376864(this[_0x5b0a78(0xd2)],_0x5b0a78(0xc9)),_0x480745[_0x5b0a78(0xbe)]=_0x1737d0,_0x480745[_0x5b0a78(0xcf)]=!0x0,_0x480745[_0x5b0a78(0xd6)]({'attributes':{'class':_0x5b0a78(0xc8)}}),_0x480745[_0x5b0a78(0xce)](_0x5b0a78(0xee))['to'](this[_0x5b0a78(0xb5)],_0x5b0a78(0xf5),_0x5f8d87=>!_0x5f8d87),_0x480745[_0x5b0a78(0xce)](_0x5b0a78(0xf0))['to'](this[_0x5b0a78(0xb5)],_0x5b0a78(0xec)),_0x480745['on'](_0x5b0a78(0xe1),()=>{const _0x1eebf6=_0x5b0a78;this[_0x1eebf6(0xc4)](_0x376864(this[_0x1eebf6(0xd2)],_0x1eebf6(0x125)),this[_0x1eebf6(0x117)])[_0x1eebf6(0xd4)](()=>{const _0x292bdd=_0x1eebf6;this[_0x292bdd(0xd7)](_0x292bdd(0x103),this[_0x292bdd(0xb5)]['id']);});}),_0x480745;}[_0x3b0e9b(0x10c)](){const _0x1e418a=_0x3b0e9b,_0x34e977=_0x557a7d(this[_0x1e418a(0xd2)],_0x12290f),_0x2aedef=_0x34e977[_0x1e418a(0xe6)][_0x1e418a(0x129)],_0x4a4707=new _0x4718cd(this[_0x1e418a(0xd2)]),_0x305e78=_0x34e977[_0x1e418a(0xf9)];_0x294935(_0x34e977,()=>this[_0x1e418a(0xe4)][_0x1e418a(0xe3)](_0x1e491c=>_0x1e491c[_0x1e418a(0xf0)])),_0x34e977[_0x1e418a(0xd6)]({'attributes':{'class':[_0x305e78['if'](_0x1e418a(0xf0),_0x1e418a(0x116),_0x333acf=>!_0x333acf)]}});const _0x4330b1=(_0x25c2d5,_0x3c4fc7=-0x1)=>{const _0x29e497=_0x1e418a,_0x59b791=new _0x1e672c(this[_0x29e497(0xd2)]);_0x59b791[_0x29e497(0x129)][_0x29e497(0xf6)](_0x25c2d5);const _0x2da236=_0x3c4fc7>-0x1?_0x3c4fc7:_0x4a4707[_0x29e497(0xe4)][_0x29e497(0xea)];_0x4a4707[_0x29e497(0xe4)][_0x29e497(0xf6)](_0x59b791,_0x2da236);const _0x108d00=Array[_0x29e497(0xe8)](this[_0x29e497(0xe4)]);_0x34e977[_0x29e497(0x101)](_0x29e497(0xee),_0x29e497(0xf0)),_0x34e977[_0x29e497(0xce)](_0x29e497(0xee))[_0x29e497(0xd5)](_0x108d00,_0x29e497(0xee),(..._0x515c0b)=>_0x515c0b[_0x29e497(0x10a)](_0xbc6ced=>_0xbc6ced)),_0x34e977[_0x29e497(0xce)](_0x29e497(0xf0))[_0x29e497(0xd5)](_0x108d00,_0x29e497(0xf0),(..._0x427258)=>_0x427258[_0x29e497(0x10a)](_0x43806d=>_0x43806d));};_0x34e977[_0x1e418a(0xca)]='sw',_0x34e977[_0x1e418a(0x109)][_0x1e418a(0xcc)]({'label':_0x376864(this[_0x1e418a(0xd2)],_0x1e418a(0xda)),'icon':_0x161578});for(const _0x469d6a of this[_0x1e418a(0xe4)])_0x4330b1(_0x469d6a);return _0x2aedef[_0x1e418a(0xf6)](_0x4a4707),_0x34e977[_0x1e418a(0x106)](this[_0x1e418a(0xe4)],_0x1e418a(0xf6),(_0x45bd99,_0x33f44d,_0x55497e)=>{_0x4330b1(_0x33f44d,_0x55497e);}),_0x34e977[_0x1e418a(0x106)](this[_0x1e418a(0xe4)],_0x1e418a(0x115),(_0x268f67,_0x2fc5a0,_0x1f59e6)=>{const _0x52c126=_0x1e418a;_0x4a4707[_0x52c126(0xe4)][_0x52c126(0x115)](_0x1f59e6);}),_0x34e977;}[_0x3b0e9b(0x110)](_0x268ed5,_0x5bcf37){const _0x9cc8a0=_0x3b0e9b,_0x29feef=_0x268ed5&&_0x268ed5[_0x9cc8a0(0x117)];_0x29feef&&(this[_0x9cc8a0(0x106)](_0x29feef,_0x9cc8a0(0x122),()=>this[_0x9cc8a0(0x112)]=_0x5bcf37),this[_0x9cc8a0(0x106)](_0x29feef,_0x9cc8a0(0xdc),()=>this[_0x9cc8a0(0x112)]=_0x5bcf37),this[_0x9cc8a0(0x106)](_0x29feef,_0x9cc8a0(0xdf),()=>this[_0x9cc8a0(0x112)]=null),this[_0x9cc8a0(0x106)](_0x29feef,_0x9cc8a0(0xc0),()=>this[_0x9cc8a0(0x112)]=null));}[_0x3b0e9b(0xf1)](){const _0x4039df=_0x3b0e9b,_0xcc9d04=super[_0x4039df(0xf1)]();return _0xcc9d04[_0x4039df(0xce)](_0x4039df(0xc5))['to'](this),_0xcc9d04;}[_0x3b0e9b(0x11d)](){const _0xb796b7=_0x3b0e9b;super[_0xb796b7(0x11d)](),this[_0xb796b7(0x110)](this[_0xb796b7(0xe5)],_0xb796b7(0xb9)),this[_0xb796b7(0x110)](this[_0xb796b7(0x118)],_0xb796b7(0x115));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0xdf12(){var _0x5b0069=['Comments','320694nMgGnu','pluginName','2821872nvheuD','requires','10LYKxqP','18cNhBmf','isPremiumPlugin','22255145cMNMNB','2NAXnuj','4062579bhtffu','15728dWCkdr','13740714ohteMa','775026VHtfpG','isOfficialPlugin','85zVBxHG'];_0xdf12=function(){return _0x5b0069;};return _0xdf12();}var _0x26b9b9=_0x5517;(function(_0x4c6b2a,_0x1219f7){var _0x2c8222=_0x5517,_0x5552ea=_0x4c6b2a();while(!![]){try{var _0x35c0fc=-parseInt(_0x2c8222(0x1da))/0x1+-parseInt(_0x2c8222(0x1d2))/0x2*(-parseInt(_0x2c8222(0x1d3))/0x3)+parseInt(_0x2c8222(0x1d4))/0x4*(-parseInt(_0x2c8222(0x1d8))/0x5)+parseInt(_0x2c8222(0x1cf))/0x6*(-parseInt(_0x2c8222(0x1d6))/0x7)+-parseInt(_0x2c8222(0x1dc))/0x8+-parseInt(_0x2c8222(0x1d5))/0x9*(parseInt(_0x2c8222(0x1ce))/0xa)+parseInt(_0x2c8222(0x1d1))/0xb;if(_0x35c0fc===_0x1219f7)break;else _0x5552ea['push'](_0x5552ea['shift']());}catch(_0x55f824){_0x5552ea['push'](_0x5552ea['shift']());}}}(_0xdf12,0xbdfe8));import{Plugin as _0x3afab3}from'ckeditor5/src/core.js';import{CommentsRepository as _0x4d5c03}from'./comments/commentsrepository.js';function _0x5517(_0x2ce256,_0x46ad0c){var _0xdf1227=_0xdf12();return _0x5517=function(_0x55173d,_0x21dad3){_0x55173d=_0x55173d-0x1cd;var _0x43046a=_0xdf1227[_0x55173d];return _0x43046a;},_0x5517(_0x2ce256,_0x46ad0c);}import{CommentsEditing as _0x558ef9}from'./comments/commentsediting.js';import{CommentsUI as _0x408070}from'./comments/commentsui.js';import{CommentsOnly as _0x38ed26}from'./commentsonly.js';import{WideSidebar as _0x3b500b}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x5ab0c0}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x38afe6}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x31874e}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x30982b}from'./comments/commentsarchive.js';export class Comments extends _0x3afab3{static get[_0x26b9b9(0x1cd)](){return[_0x4d5c03,_0x558ef9,_0x408070,_0x30982b,_0x31874e,_0x38ed26,_0x3b500b,_0x5ab0c0,_0x38afe6];}static get[_0x26b9b9(0x1db)](){var _0x272c51=_0x26b9b9;return _0x272c51(0x1d9);}static get[_0x26b9b9(0x1d7)](){return!0x0;}static get[_0x26b9b9(0x1d0)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2664ff=_0x4edf;function _0x4edf(_0x53fa29,_0x501c6c){const _0x4ab2ee=_0x4ab2();return _0x4edf=function(_0x4edf1e,_0x487ee9){_0x4edf1e=_0x4edf1e-0x1e9;let _0x1884bb=_0x4ab2ee[_0x4edf1e];return _0x1884bb;},_0x4edf(_0x53fa29,_0x501c6c);}function _0x4ab2(){const _0x1130c7=['stop','get','set','requires','RevisionTracker','536348ypAVdJ','pluginName','affectsData','clipboardInput','commentsOnly','_disableCommentsOnlyMode','editSource','editing','1844AHYgeE','9957717uAStOg','_enableCommentsOnlyMode','36597360Pqvges','isOfficialPlugin','194664xeLBrM','document','plugins','clearForceDisabled','config','editor','168AcJuui','3mlMfLh','4863cycmeo','1613035XWKkEG','12oLfwro','isPremiumPlugin','addCommentThread','listenTo','afterInit','view','has','DragDrop','stopListening','CommentsOnly','isEnabled','highest','SourceEditing','commands','forceDisabled','90gweHHh','delete','change:isEnabled','cut','77759wzvmJD','commentsOnlyMode'];_0x4ab2=function(){return _0x1130c7;};return _0x4ab2();}(function(_0x20db3a,_0x5b1ff6){const _0x567377=_0x4edf,_0x1622c3=_0x20db3a();while(!![]){try{const _0x33e083=-parseInt(_0x567377(0x1fe))/0x1*(parseInt(_0x567377(0x1ea))/0x2)+parseInt(_0x567377(0x1ff))/0x3*(parseInt(_0x567377(0x1f2))/0x4)+parseInt(_0x567377(0x200))/0x5*(-parseInt(_0x567377(0x201))/0x6)+parseInt(_0x567377(0x1fd))/0x7*(-parseInt(_0x567377(0x1f7))/0x8)+-parseInt(_0x567377(0x1f3))/0x9+-parseInt(_0x567377(0x210))/0xa*(parseInt(_0x567377(0x214))/0xb)+parseInt(_0x567377(0x1f5))/0xc;if(_0x33e083===_0x5b1ff6)break;else _0x1622c3['push'](_0x1622c3['shift']());}catch(_0x26e482){_0x1622c3['push'](_0x1622c3['shift']());}}}(_0x4ab2,0x90d93));import{Plugin as _0x5dd033}from'ckeditor5/src/core.js';import{CommentsEditing as _0x3a04a6}from'./comments/commentsediting.js';export class CommentsOnly extends _0x5dd033{static get[_0x2664ff(0x1eb)](){const _0x201a27=_0x2664ff;return _0x201a27(0x20a);}static get[_0x2664ff(0x1f6)](){return!0x0;}static get[_0x2664ff(0x202)](){return!0x0;}static get[_0x2664ff(0x219)](){return[_0x3a04a6];}constructor(_0x168765){const _0x51d493=_0x2664ff;super(_0x168765),this[_0x51d493(0x218)](_0x51d493(0x20b),!0x1),this['on'](_0x51d493(0x212),(_0x24f1f6,_0x248a7d,_0x1a6c59)=>{const _0x255dab=_0x51d493;_0x1a6c59?this[_0x255dab(0x1f4)]():this[_0x255dab(0x1ef)]();});}[_0x2664ff(0x205)](){const _0x531746=_0x2664ff;!this[_0x531746(0x20b)]&&this[_0x531746(0x1fc)][_0x531746(0x1fb)][_0x531746(0x217)](_0x531746(0x1ee))&&(this[_0x531746(0x20b)]=!0x0);}[_0x2664ff(0x1f4)](){const _0xa6bfda=_0x2664ff;for(const [_0x3bb9e9,_0x74903d]of this[_0xa6bfda(0x1fc)][_0xa6bfda(0x20e)])_0x74903d[_0xa6bfda(0x1ec)]&&_0xa6bfda(0x203)!==_0x3bb9e9&&_0x74903d[_0xa6bfda(0x20f)](_0xa6bfda(0x215));(this[_0xa6bfda(0x1fc)][_0xa6bfda(0x1f9)][_0xa6bfda(0x207)](_0xa6bfda(0x208))&&this[_0xa6bfda(0x1fc)][_0xa6bfda(0x1f9)][_0xa6bfda(0x217)](_0xa6bfda(0x208))[_0xa6bfda(0x20f)](_0xa6bfda(0x215)),this[_0xa6bfda(0x1fc)][_0xa6bfda(0x1f9)][_0xa6bfda(0x207)](_0xa6bfda(0x1e9)))&&this[_0xa6bfda(0x1fc)][_0xa6bfda(0x1f9)][_0xa6bfda(0x217)](_0xa6bfda(0x1e9))[_0xa6bfda(0x20f)](_0xa6bfda(0x215));this[_0xa6bfda(0x1fc)][_0xa6bfda(0x1f9)][_0xa6bfda(0x207)](_0xa6bfda(0x20d))&&this[_0xa6bfda(0x1fc)][_0xa6bfda(0x1f9)][_0xa6bfda(0x217)](_0xa6bfda(0x20d))[_0xa6bfda(0x20f)](_0xa6bfda(0x215));this[_0xa6bfda(0x1fc)][_0xa6bfda(0x20e)][_0xa6bfda(0x217)](_0xa6bfda(0x1f0))?.[_0xa6bfda(0x20f)](_0xa6bfda(0x215));const _0x1537b7=this[_0xa6bfda(0x1fc)][_0xa6bfda(0x1f1)][_0xa6bfda(0x206)][_0xa6bfda(0x1f8)];this[_0xa6bfda(0x204)](_0x1537b7,_0xa6bfda(0x213),_0x4920f9=>_0x4920f9[_0xa6bfda(0x216)](),{'priority':_0xa6bfda(0x20c)}),this[_0xa6bfda(0x204)](_0x1537b7,_0xa6bfda(0x1ed),_0x52f4a1=>_0x52f4a1[_0xa6bfda(0x216)](),{'priority':_0xa6bfda(0x20c)}),this[_0xa6bfda(0x204)](_0x1537b7,_0xa6bfda(0x211),_0x5b2dfd=>_0x5b2dfd[_0xa6bfda(0x216)](),{'priority':_0xa6bfda(0x20c)});}[_0x2664ff(0x1ef)](){const _0x52ae4d=_0x2664ff;for(const [_0x20b8e2,_0x11d478]of this[_0x52ae4d(0x1fc)][_0x52ae4d(0x20e)])_0x11d478[_0x52ae4d(0x1ec)]&&_0x52ae4d(0x203)!==_0x20b8e2&&_0x11d478[_0x52ae4d(0x1fa)](_0x52ae4d(0x215));this[_0x52ae4d(0x1fc)][_0x52ae4d(0x1f9)][_0x52ae4d(0x207)](_0x52ae4d(0x1e9))&&this[_0x52ae4d(0x1fc)][_0x52ae4d(0x1f9)][_0x52ae4d(0x217)](_0x52ae4d(0x1e9))[_0x52ae4d(0x1fa)](_0x52ae4d(0x215)),this[_0x52ae4d(0x1fc)][_0x52ae4d(0x1f9)][_0x52ae4d(0x207)](_0x52ae4d(0x20d))&&this[_0x52ae4d(0x1fc)][_0x52ae4d(0x1f9)][_0x52ae4d(0x217)](_0x52ae4d(0x20d))[_0x52ae4d(0x1fa)](_0x52ae4d(0x215)),this[_0x52ae4d(0x1fc)][_0x52ae4d(0x20e)][_0x52ae4d(0x217)](_0x52ae4d(0x1f0))?.[_0x52ae4d(0x1fa)](_0x52ae4d(0x215)),this[_0x52ae4d(0x209)](this[_0x52ae4d(0x1fc)][_0x52ae4d(0x1f1)][_0x52ae4d(0x206)][_0x52ae4d(0x1f8)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x42cdb6,_0x312203){var _0x24b3b8=_0x8a2b,_0x5f7488=_0x42cdb6();while(!![]){try{var _0x251776=-parseInt(_0x24b3b8(0xe6))/0x1+-parseInt(_0x24b3b8(0xea))/0x2*(parseInt(_0x24b3b8(0xe5))/0x3)+parseInt(_0x24b3b8(0xec))/0x4*(-parseInt(_0x24b3b8(0xeb))/0x5)+-parseInt(_0x24b3b8(0xe7))/0x6+-parseInt(_0x24b3b8(0xed))/0x7*(-parseInt(_0x24b3b8(0xe9))/0x8)+parseInt(_0x24b3b8(0xe8))/0x9+parseInt(_0x24b3b8(0xee))/0xa;if(_0x251776===_0x312203)break;else _0x5f7488['push'](_0x5f7488['shift']());}catch(_0x5ae855){_0x5f7488['push'](_0x5f7488['shift']());}}}(_0x18ab,0xea352));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';function _0x18ab(){var _0x1cb971=['3bVlaqz','353320WBMcrT','7641396ctxVgg','7770375gClMwB','1048MlkxWj','734188XQamhW','51935FPSULO','592uLgfYZ','85414TkKqCe','20287330KTUmOn'];_0x18ab=function(){return _0x1cb971;};return _0x18ab();}export{AnnotationsUIs}from'./annotations/annotationsuis.js';export{EditorAnnotations}from'./annotations/editorannotations.js';export{InlineAnnotations}from'./annotations/inlineannotations.js';export{Sidebar}from'./annotations/sidebar.js';export{WideSidebar}from'./annotations/widesidebar.js';export{NarrowSidebar}from'./annotations/narrowsidebar.js';export{AnnotationView}from'./annotations/view/annotationview.js';export{AnnotationsSidebarItemView}from'./annotations/view/sidebaritemview.js';export{AnnotationsSidebarView}from'./annotations/view/sidebarview.js';export{BaseCommentView}from'./comments/ui/view/basecommentview.js';export{BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{CommentsListView}from'./comments/ui/view/commentslistview.js';export{CommentView}from'./comments/ui/view/commentview.js';export{CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';function _0x8a2b(_0x1990de,_0x2d062b){var _0x18ab8c=_0x18ab();return _0x8a2b=function(_0x8a2b8d,_0x43882e){_0x8a2b8d=_0x8a2b8d-0xe5;var _0x4c79ed=_0x18ab8c[_0x8a2b8d];return _0x4c79ed;},_0x8a2b(_0x1990de,_0x2d062b);}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(_0x371ef2,_0x2405de,_0x45b70c){const t=_0x371ef2['t'];switch(_0x2405de){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'},_0x45b70c);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'},_0x45b70c);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'},_0x45b70c);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'},_0x45b70c);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x45b70c);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'},_0x45b70c);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'},_0x45b70c);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'},_0x45b70c);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 _0x333d(){const _0x19b18e=['22013040LUWLPT','6259782cVRRvY','870QWDiGp','16323FpXZAg','childList','class','646824JTFdmk','characterData','disconnect','7FLQvNZ','1084635TBerTT','20756SFXiiD','412zMmcKw','type','cancel','6632304icnaCd','attributes','observe','attributeName'];_0x333d=function(){return _0x19b18e;};return _0x333d();}(function(_0x679518,_0x5235e0){const _0x406756=_0x3a2c,_0x371953=_0x679518();while(!![]){try{const _0x545fc0=parseInt(_0x406756(0xd3))/0x1+-parseInt(_0x406756(0xd9))/0x2*(-parseInt(_0x406756(0xd0))/0x3)+parseInt(_0x406756(0xd8))/0x4*(parseInt(_0x406756(0xcf))/0x5)+-parseInt(_0x406756(0xce))/0x6*(-parseInt(_0x406756(0xd6))/0x7)+-parseInt(_0x406756(0xc9))/0x8+-parseInt(_0x406756(0xd7))/0x9+-parseInt(_0x406756(0xcd))/0xa;if(_0x545fc0===_0x5235e0)break;else _0x371953['push'](_0x371953['shift']());}catch(_0x475aa2){_0x371953['push'](_0x371953['shift']());}}}(_0x333d,0x89734));import{throttle as _0x534ba0}from'es-toolkit/compat';function _0x3a2c(_0x1d2bc3,_0xe365b9){const _0x333d08=_0x333d();return _0x3a2c=function(_0x3a2cfd,_0x3fa34a){_0x3a2cfd=_0x3a2cfd-0xc8;let _0x3a4241=_0x333d08[_0x3a2cfd];return _0x3a4241;},_0x3a2c(_0x1d2bc3,_0xe365b9);}export function createMutationObserver(_0x463a88){const _0x410ead=_0x534ba0(_0x463a88,0x1e),_0x28ddd6=new MutationObserver(_0x4b1f89=>{const _0x50f741=_0x3a2c;for(const _0x4ad384 of _0x4b1f89)(_0x50f741(0xca)==_0x4ad384[_0x50f741(0xda)]&&_0x50f741(0xd2)==_0x4ad384[_0x50f741(0xcc)]||_0x50f741(0xd1)==_0x4ad384[_0x50f741(0xda)]||_0x50f741(0xd4)==_0x4ad384[_0x50f741(0xda)])&&_0x410ead();});return{'attach'(_0x493cd9){const _0x287651=_0x3a2c;_0x28ddd6[_0x287651(0xcb)](_0x493cd9,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x54a283=_0x3a2c;_0x28ddd6[_0x54a283(0xd5)](),_0x410ead[_0x54a283(0xc8)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x21dc(_0x496fdc,_0x285818){const _0x1892e3=_0x1892();return _0x21dc=function(_0x21dc13,_0x201110){_0x21dc13=_0x21dc13-0xcd;let _0x27fa03=_0x1892e3[_0x21dc13];return _0x27fa03;},_0x21dc(_0x496fdc,_0x285818);}(function(_0x3745aa,_0x172d71){const _0x21160c=_0x21dc,_0x581b85=_0x3745aa();while(!![]){try{const _0x3ffa87=parseInt(_0x21160c(0xcf))/0x1+-parseInt(_0x21160c(0xd6))/0x2*(-parseInt(_0x21160c(0xd3))/0x3)+parseInt(_0x21160c(0xd2))/0x4*(-parseInt(_0x21160c(0xd8))/0x5)+-parseInt(_0x21160c(0xce))/0x6*(parseInt(_0x21160c(0xcd))/0x7)+-parseInt(_0x21160c(0xd5))/0x8*(parseInt(_0x21160c(0xd0))/0x9)+parseInt(_0x21160c(0xd1))/0xa+parseInt(_0x21160c(0xd4))/0xb;if(_0x3ffa87===_0x172d71)break;else _0x581b85['push'](_0x581b85['shift']());}catch(_0x10ddb1){_0x581b85['push'](_0x581b85['shift']());}}}(_0x1892,0xb6822));export function splitMarkerName(_0x1b984a){const _0x541795=_0x21dc,_0x58236e=_0x1b984a[_0x541795(0xd7)](':');return{'group':_0x58236e[0x0],'id':_0x58236e[0x1],'part':_0x58236e[0x2]};}function _0x1892(){const _0x24e97d=['577969bpayzp','84pKpPFa','814627SvvpPH','9OseNVx','10389160UCTtZl','4PesIRG','303JlNLED','533874qhOTNb','2242496LlAZHo','28796KeGDlb','split','5862355ewbOBR'];_0x1892=function(){return _0x24e97d;};return _0x1892();}
|