@ckeditor/ckeditor5-comments 43.1.0-alpha.0 → 43.1.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 +9 -9
- 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/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.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/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/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/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/ko.js +1 -1
- package/dist/translations/ko.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/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/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/sk.js +1 -1
- package/dist/translations/sk.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/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 +15 -15
- 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 +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- 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/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
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1398fe=_0x1b2c;(function(_0x3a3843,_0x680e27){const _0xe1748c=_0x1b2c,_0x46ccd=_0x3a3843();while(!![]){try{const _0x5947b1=parseInt(_0xe1748c(0x10c))/0x1+parseInt(_0xe1748c(0xef))/0x2+-parseInt(_0xe1748c(0xfa))/0x3+-parseInt(_0xe1748c(0xeb))/0x4*(-parseInt(_0xe1748c(0x114))/0x5)+parseInt(_0xe1748c(0x102))/0x6+parseInt(_0xe1748c(0x10d))/0x7*(parseInt(_0xe1748c(0xf4))/0x8)+-parseInt(_0xe1748c(0xff))/0x9;if(_0x5947b1===_0x680e27)break;else _0x46ccd['push'](_0x46ccd['shift']());}catch(_0x5696e7){_0x46ccd['push'](_0x46ccd['shift']());}}}(_0x7d4b,0x6f36b));import{View as _0x4e2a0b,FocusCycler as _0x5efe1b}from'ckeditor5/src/ui.js';import{FocusTracker as _0x325631}from'ckeditor5/src/utils.js';import{getTranslation as _0x87b21a}from'../../../utils/common-translations.js';export default class st extends _0x4e2a0b{constructor(_0x7ce7be,_0x3a080d){const _0x3b083a=_0x1b2c;super(_0x7ce7be),this[_0x3b083a(0xea)](_0x3b083a(0xf2),!_0x3a080d[_0x3b083a(0xf7)]),this[_0x3b083a(0x106)]=new _0x325631(),this[_0x3b083a(0xfe)]=_0x3a080d,this[_0x3b083a(0xfe)][_0x3b083a(0x112)](_0x3b083a(0xfc),_0x3b083a(0x111))['to'](this),this['on'](_0x3b083a(0xfc),()=>{const _0x5acfd8=_0x3b083a;this[_0x5acfd8(0x105)][_0x5acfd8(0x101)]();}),this['on'](_0x3b083a(0x111),()=>{const _0x249ae0=_0x3b083a;this[_0x249ae0(0x105)][_0x249ae0(0x10f)]();}),this[_0x3b083a(0x105)]=new _0x5efe1b({'focusables':_0x3a080d,'focusTracker':this[_0x3b083a(0x106)]}),this[_0x3b083a(0xec)](_0x3a080d,_0x3b083a(0x10a),()=>{const _0x2b9389=_0x3b083a;this[_0x2b9389(0xf2)]=!0x1;}),this[_0x3b083a(0xec)](_0x3a080d,_0x3b083a(0x103),(_0x3329a5,_0x290d18)=>{const _0x575203=_0x3b083a;_0x290d18[_0x575203(0x10b)]&&this[_0x575203(0x110)](),_0x3a080d[_0x575203(0xf7)]||(this[_0x575203(0xf2)]=!0x0);});const _0x32951f=this[_0x3b083a(0x100)];this[_0x3b083a(0xf8)]({'tag':_0x3b083a(0xf0),'attributes':{'dir':_0x3b083a(0x107),'class':['ck',_0x3b083a(0x108)],'tabindex':-0x1,'role':_0x3b083a(0xed),'aria-label':_0x87b21a(_0x7ce7be,_0x3b083a(0xe9))},'children':[{'tag':_0x3b083a(0xf0),'attributes':{'class':[_0x3b083a(0xfd)],'role':_0x3b083a(0x10e)},'children':[{'tag':_0x3b083a(0xf0),'attributes':{'role':_0x3b083a(0x10e)},'children':_0x3a080d},{'tag':'p','attributes':{'class':[_0x3b083a(0xee),_0x32951f['if'](_0x3b083a(0xf2),_0x3b083a(0x113),_0x49627c=>!_0x49627c)]},'children':[{'text':_0x87b21a(_0x7ce7be,_0x3b083a(0xf3))}]}]}]});}[_0x1398fe(0x104)](){const _0xbdaf3d=_0x1398fe;super[_0xbdaf3d(0x104)](),this[_0xbdaf3d(0xfb)]();}[_0x1398fe(0x109)](){const _0x589818=_0x1398fe;super[_0x589818(0x109)](),this[_0x589818(0x106)][_0x589818(0x109)]();}[_0x1398fe(0x110)](){const _0x4f6b73=_0x1398fe;this[_0x4f6b73(0x105)][_0x4f6b73(0xf5)]?this[_0x4f6b73(0x105)][_0x4f6b73(0xf1)]():this[_0x4f6b73(0xf6)][_0x4f6b73(0x110)]();}[_0x1398fe(0xfb)](){const _0x51e67e=_0x1398fe;for(const _0x561e0c of this[_0x51e67e(0xfe)])this[_0x51e67e(0x106)][_0x51e67e(0x10a)](_0x561e0c[_0x51e67e(0xf6)]);this[_0x51e67e(0xfe)]['on'](_0x51e67e(0xf9),(_0x272d30,{added:_0x3ee8de,removed:_0x4e80e8})=>{const _0x934753=_0x51e67e;for(const _0x56a43c of _0x3ee8de)this[_0x934753(0x106)][_0x934753(0x10a)](_0x56a43c[_0x934753(0xf6)]);for(const _0x7aff17 of _0x4e80e8)this[_0x934753(0x106)][_0x934753(0x103)](_0x7aff17[_0x934753(0xf6)]);});}}function _0x1b2c(_0x45132e,_0x26f29d){const _0x7d4bd0=_0x7d4b();return _0x1b2c=function(_0x1b2ce8,_0x176c69){_0x1b2ce8=_0x1b2ce8-0xe9;let _0x1fff60=_0x7d4bd0[_0x1b2ce8];return _0x1fff60;},_0x1b2c(_0x45132e,_0x26f29d);}function _0x7d4b(){const _0x26be60=['first','element','length','setTemplate','change','1128030IEgiFU','_setupKeyboardNavigation','arrowup','ck-comments-archive__content','_annotationViews','12556098aHUOgT','bindTemplate','focusPrevious','195816kZmSvH','remove','render','focusCycler','focusTracker','auto','ck-comments-archive','destroy','add','isActive','57720LQcNfY','423416ZbJfwr','presentation','focusNext','focus','arrowdown','delegate','ck-hidden','1882315oXhdXf','COMMENTS_ARCHIVE_LIST_LABEL','set','8LyXfeC','listenTo','list','ck-comments-archive__info','1798954RhvxcB','div','focusFirst','isEmpty','EMPTY_COMMENTS_ARCHIVE','64ilwHnM'];_0x7d4b=function(){return _0x26be60;};return _0x7d4b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xe1cc50=_0xd4d8;(function(_0x114282,_0x4cb221){const _0x8570dd=_0xd4d8,_0x3e5d6c=_0x114282();while(!![]){try{const _0x3a7423=-parseInt(_0x8570dd(0x1c2))/0x1*(parseInt(_0x8570dd(0x1e0))/0x2)+parseInt(_0x8570dd(0x1b5))/0x3+-parseInt(_0x8570dd(0x1da))/0x4+-parseInt(_0x8570dd(0x1f8))/0x5+parseInt(_0x8570dd(0x1cc))/0x6+parseInt(_0x8570dd(0x1ec))/0x7*(parseInt(_0x8570dd(0x1a8))/0x8)+-parseInt(_0x8570dd(0x1d0))/0x9;if(_0x3a7423===_0x4cb221)break;else _0x3e5d6c['push'](_0x3e5d6c['shift']());}catch(_0x3bb3ad){_0x3e5d6c['push'](_0x3e5d6c['shift']());}}}(_0x3a33,0xc4a6e));import{View as _0x43689c,FocusCycler as _0x1f93d9}from'ckeditor5/src/ui.js';import{diff as _0x78926c,Collection as _0x404fc6,FocusTracker as _0x107ac5,KeystrokeHandler as _0x2f2cc3}from'ckeditor5/src/utils.js';import{getTranslation as _0x5c9d73}from'../../../utils/common-translations.js';function _0x3a33(){const _0x269dc4=['7231794FTXlQe','Marked\x20as\x20resolved','focusCycler','bindTemplate','4874454EDRIEY','maxCommentsWhenCollapsed','keystrokes','render','ck-hidden','editorConfig','delegate','Thread\x20comments','_collapsedCommentsView','change:hasDirtyComment','3601780ShFaHd','element','focusFirst','ck-thread__comments','_shouldCollapse','authoredAt','117956tcXemz','resolved','bind','_config','editorDestroyed','removeComment','change:isEditMode','_findOptimalIndex','CommentView','length','added','change:isResolved','77889GxSDqz','set','updateComment','_updateHasDirtyComment','_handleInfoComment','add','formatDateTime','refreshVisibleViews','commentViews','_rearrangeCollapse','maxCommentCharsWhenCollapsed','resolvedAt','3314090FWhahd','setTemplate','map','remove','_rearrangeExpand','isActive','equal','_handleNewCommentModel','arrowup','focusLast','removed','editorReady','locale','target','expand','count','1064jJuUWa','comments','some','stopListening','reverse','destroy','forEach','_handleRemoveCommentModel','visibleViews','resolvedBy','_calculatePosition','includes','get','4568043kddczV','focusTracker','from','change','insert','resolvedCommentView','collapse','isEditMode','viewUid','createCollection','hasDirtyComment','weight','change:isActive','22kTMhMi','commentUpdated','_setupKeyboardNavigation','arrowdown','maxThreadTotalWeight','_model','delete','listenTo','resolveCommentThread','focus'];_0x3a33=function(){return _0x269dc4;};return _0x3a33();}import _0x6db88e from'./collapsedcommentsview.js';function _0xd4d8(_0x2413f0,_0x2fc753){const _0x3a33f0=_0x3a33();return _0xd4d8=function(_0xd4d854,_0x31a440){_0xd4d854=_0xd4d854-0x19c;let _0xfe0331=_0x3a33f0[_0xd4d854];return _0xfe0331;},_0xd4d8(_0x2413f0,_0x2fc753);}export default class xt extends _0x43689c{constructor(_0x10682a,_0x574af1,_0x15645a){const _0xa4de28=_0xd4d8;super(_0x10682a);const _0x47268b=this[_0xa4de28(0x1cf)];this[_0xa4de28(0x1ed)](_0xa4de28(0x1bf),!0x1),this[_0xa4de28(0x1ed)](_0xa4de28(0x1e9),_0x574af1[_0xa4de28(0x1a9)][_0xa4de28(0x1e9)]),this[_0xa4de28(0x1ed)](_0xa4de28(0x19d),!0x1),this[_0xa4de28(0x1c7)]=_0x574af1,this[_0xa4de28(0x1e3)]=_0x15645a,this[_0xa4de28(0x1f4)]=this[_0xa4de28(0x1be)](),this[_0xa4de28(0x1b0)]=this[_0xa4de28(0x1be)](),this[_0xa4de28(0x1ba)]=null,this[_0xa4de28(0x1b6)]=new _0x107ac5(),this[_0xa4de28(0x1d2)]=new _0x2f2cc3(),this[_0xa4de28(0x1ce)]=new _0x1f93d9({'focusables':this[_0xa4de28(0x1f4)],'focusTracker':this[_0xa4de28(0x1b6)],'keystrokeHandler':this[_0xa4de28(0x1d2)],'keystrokeHandlerOptions':{'filter':_0x8b95f6=>this[_0xa4de28(0x1f4)][_0xa4de28(0x1fa)](_0x156703=>_0x156703[_0xa4de28(0x1db)])[_0xa4de28(0x1b3)](_0x8b95f6[_0xa4de28(0x1a5)])},'actions':{'focusPrevious':_0xa4de28(0x1a0),'focusNext':_0xa4de28(0x1c5)}}),this[_0xa4de28(0x1d8)]=new _0x6db88e(_0x10682a),this[_0xa4de28(0x1d8)][_0xa4de28(0x1e2)](_0xa4de28(0x1a7))['to'](this,_0xa4de28(0x1e9),_0x480ec9=>_0x480ec9-this[_0xa4de28(0x1e3)][_0xa4de28(0x1d1)]);for(const _0x55bb2a of _0x574af1[_0xa4de28(0x1a9)])this[_0xa4de28(0x19f)](_0x55bb2a);this[_0xa4de28(0x1f0)](),this[_0xa4de28(0x1c9)](_0x574af1[_0xa4de28(0x1a9)],_0xa4de28(0x1f1),(_0x22b039,_0xda068e)=>{const _0x500772=_0xa4de28,_0x35a9bc=this[_0x500772(0x1b2)](_0xda068e);this[_0x500772(0x1e9)]++,this[_0x500772(0x19f)](_0xda068e,_0x35a9bc),this[_0x500772(0x1f3)]();}),this[_0xa4de28(0x1c9)](_0x574af1[_0xa4de28(0x1a9)],_0xa4de28(0x1fb),(_0x3df871,_0x2a2937)=>{const _0x37eaa4=_0xa4de28;this[_0x37eaa4(0x1e9)]--,this[_0x37eaa4(0x1af)](_0x2a2937),this[_0x37eaa4(0x1f3)]();}),this[_0xa4de28(0x1c9)](_0x574af1,_0xa4de28(0x1c3),()=>this[_0xa4de28(0x1f3)]()),this[_0xa4de28(0x1c9)](_0x574af1,_0xa4de28(0x1eb),()=>this[_0xa4de28(0x1f0)]()),this['on'](_0xa4de28(0x1c1),()=>this[_0xa4de28(0x1f3)]()),this['on'](_0xa4de28(0x1d9),()=>this[_0xa4de28(0x1f3)]()),this[_0xa4de28(0x1f9)]({'tag':'ul','attributes':{'class':[_0xa4de28(0x1dd),_0x47268b['if'](_0xa4de28(0x1e9),_0xa4de28(0x1d4),_0x5f152e=>!_0x5f152e)],'aria-label':_0x5c9d73(_0x10682a,_0xa4de28(0x1d7))},'children':this[_0xa4de28(0x1b0)]});}get[_0xe1cc50(0x1de)](){const _0x680675=_0xe1cc50;return this[_0x680675(0x1c7)][_0x680675(0x1c0)]>this[_0x680675(0x1e3)][_0x680675(0x1c6)]&&!this[_0x680675(0x19d)]&&!this[_0x680675(0x1bf)];}[_0xe1cc50(0x1d3)](){const _0x5577d4=_0xe1cc50;super[_0x5577d4(0x1d3)](),this[_0x5577d4(0x1f3)](),this[_0x5577d4(0x1c4)]();}[_0xe1cc50(0x1cb)](_0x3be8a5){const _0x29ab1a=_0xe1cc50;-0x1===_0x3be8a5?this[_0x29ab1a(0x1ce)][_0x29ab1a(0x1a1)]():this[_0x29ab1a(0x1ce)][_0x29ab1a(0x1dc)]();}[_0xe1cc50(0x1ad)](){const _0x2b4ad8=_0xe1cc50;this[_0x2b4ad8(0x1d8)][_0x2b4ad8(0x1ad)]();for(const _0x409123 of this[_0x2b4ad8(0x1f4)])_0x409123[_0x2b4ad8(0x1ad)]();super[_0x2b4ad8(0x1ad)]();}[_0xe1cc50(0x1f3)](){const _0x24098b=_0xe1cc50;this[_0x24098b(0x1de)]?this[_0x24098b(0x1f5)]():this[_0x24098b(0x19c)]();}[_0xe1cc50(0x19f)](_0x4ac36d,_0x4be5df){const _0x358591=_0xe1cc50,_0x11b24b=new this[(_0x358591(0x1e3))][(_0x358591(0x1e8))](this[_0x358591(0x1a4)],_0x4ac36d,{'maxCommentCharsWhenCollapsed':this[_0x358591(0x1e3)][_0x358591(0x1f6)],'formatDateTime':this[_0x358591(0x1e3)][_0x358591(0x1f2)],'editorConfig':this[_0x358591(0x1e3)][_0x358591(0x1d5)]});_0x11b24b[_0x358591(0x1bd)]=_0x4ac36d['id'],_0x11b24b[_0x358591(0x1d6)](_0x358591(0x1e5))['to'](this),_0x11b24b[_0x358591(0x1d6)](_0x358591(0x1ee))['to'](this),_0x11b24b[_0x358591(0x1d6)](_0x358591(0x1ca))['to'](this),_0x11b24b[_0x358591(0x1d6)](_0x358591(0x1a3))['to'](this),_0x11b24b[_0x358591(0x1d6)](_0x358591(0x1e4))['to'](this),this[_0x358591(0x1c9)](_0x11b24b,_0x358591(0x1e6),()=>this[_0x358591(0x1ef)]()),this[_0x358591(0x1f4)][_0x358591(0x1f1)](_0x11b24b,_0x4be5df);}[_0xe1cc50(0x1b2)](_0x4a6ff4){const _0x550fee=_0xe1cc50,_0x1d1c7b=this[_0x550fee(0x1c7)][_0x550fee(0x1e7)](_0x4a6ff4);return this[_0x550fee(0x1ba)]?this[_0x550fee(0x1ba)][_0x550fee(0x1df)]>_0x4a6ff4[_0x550fee(0x1df)]?_0x1d1c7b-0x1:_0x1d1c7b:_0x1d1c7b-0x1;}[_0xe1cc50(0x1f0)](){const _0x50e16c=_0xe1cc50;if(this[_0x50e16c(0x1c7)][_0x50e16c(0x1b1)]&&this[_0x50e16c(0x1c7)][_0x50e16c(0x1f7)]){const _0x5a64b0={'id':_0x50e16c(0x1e1),'author':this[_0x50e16c(0x1c7)][_0x50e16c(0x1b1)],'authoredAt':this[_0x50e16c(0x1c7)][_0x50e16c(0x1f7)],'content':_0x5c9d73(this[_0x50e16c(0x1a4)],_0x50e16c(0x1cd)),'attributes':{}};this[_0x50e16c(0x1ba)]=new this[(_0x50e16c(0x1e3))][(_0x50e16c(0x1e8))](this[_0x50e16c(0x1a4)],_0x5a64b0,{'maxCommentCharsWhenCollapsed':this[_0x50e16c(0x1e3)][_0x50e16c(0x1f6)],'formatDateTime':this[_0x50e16c(0x1e3)][_0x50e16c(0x1f2)],'editorConfig':this[_0x50e16c(0x1e3)][_0x50e16c(0x1d5)],'isSystemComment':!0x0}),this[_0x50e16c(0x1f4)][_0x50e16c(0x1f1)](this[_0x50e16c(0x1ba)],this[_0x50e16c(0x1c7)][_0x50e16c(0x1e7)](_0x5a64b0));}else this[_0x50e16c(0x1ba)]&&(this[_0x50e16c(0x1f4)][_0x50e16c(0x1fb)](this[_0x50e16c(0x1ba)]),this[_0x50e16c(0x1ba)][_0x50e16c(0x1ad)](),this[_0x50e16c(0x1ba)]=null);this[_0x50e16c(0x1f3)]();}[_0xe1cc50(0x1af)](_0x1a66fc){const _0x4f4064=_0xe1cc50,_0x331223=this[_0x4f4064(0x1f4)][_0x4f4064(0x1fb)](_0x1a66fc['id']);this[_0x4f4064(0x1ab)](_0x331223),_0x331223[_0x4f4064(0x1bc)]&&this[_0x4f4064(0x1ef)](),_0x331223[_0x4f4064(0x1ad)]();}[_0xe1cc50(0x1ef)](){const _0x2665c6=_0xe1cc50;this[_0x2665c6(0x1bf)]=Array[_0x2665c6(0x1b7)](this[_0x2665c6(0x1f4)])[_0x2665c6(0x1aa)](_0x4adff4=>_0x4adff4[_0x2665c6(0x1bc)]);}[_0xe1cc50(0x1f5)](){const _0x3837ba=_0xe1cc50,_0x13271f=function(_0x5e7310){const _0x2c669d=_0xd4d8,_0x3add52=new _0x404fc6();for(const _0x3b360e of _0x5e7310)_0x3add52[_0x2c669d(0x1f1)](_0x3b360e);return _0x3add52;}(this[_0x3837ba(0x1f4)]),_0xdf1b6d=this[_0x3837ba(0x1d8)][_0x3837ba(0x1a7)];for(let _0x13a600=0x1;_0x13a600<=_0xdf1b6d;_0x13a600++)_0x13271f[_0x3837ba(0x1fb)](0x1);for(const _0x1cd150 of _0x13271f)_0x1cd150[_0x3837ba(0x1bb)]();_0xdf1b6d>0x0&&_0x13271f[_0x3837ba(0x1f1)](this[_0x3837ba(0x1d8)],0x1),ms(_0x78926c(Array[_0x3837ba(0x1b7)](this[_0x3837ba(0x1b0)]),Array[_0x3837ba(0x1b7)](_0x13271f)),this[_0x3837ba(0x1b0)],_0x13271f);}[_0xe1cc50(0x19c)](){const _0x34c010=_0xe1cc50;ms(_0x78926c(Array[_0x34c010(0x1b7)](this[_0x34c010(0x1b0)]),Array[_0x34c010(0x1b7)](this[_0x34c010(0x1f4)])),this[_0x34c010(0x1b0)],this[_0x34c010(0x1f4)]);for(const _0x285179 of this[_0x34c010(0x1b0)])_0x285179[_0x34c010(0x1a6)]();}[_0xe1cc50(0x1c4)](){const _0x1af922=_0xe1cc50;this[_0x1af922(0x1f4)][_0x1af922(0x1ae)](_0x4f45a2=>{const _0x2134fa=_0x1af922;this[_0x2134fa(0x1b6)][_0x2134fa(0x1f1)](_0x4f45a2[_0x2134fa(0x1db)]),this[_0x2134fa(0x1d2)][_0x2134fa(0x1c9)](_0x4f45a2[_0x2134fa(0x1db)]);}),this[_0x1af922(0x1f4)]['on'](_0x1af922(0x1b8),(_0x204da5,_0x51bf87)=>{const _0x480d59=_0x1af922;for(const _0x59b0c8 of _0x51bf87[_0x480d59(0x1a2)])this[_0x480d59(0x1b6)][_0x480d59(0x1fb)](_0x59b0c8[_0x480d59(0x1db)]),this[_0x480d59(0x1d2)][_0x480d59(0x1ab)](_0x59b0c8[_0x480d59(0x1db)]);for(const _0x21b49f of Array[_0x480d59(0x1b7)](_0x51bf87[_0x480d59(0x1ea)])[_0x480d59(0x1ac)]())this[_0x480d59(0x1b6)][_0x480d59(0x1f1)](_0x21b49f[_0x480d59(0x1db)]),this[_0x480d59(0x1d2)][_0x480d59(0x1c9)](_0x21b49f[_0x480d59(0x1db)]);});}}function ms(_0x445fec,_0x30d433,_0x32e5cf){const _0xbf0c04=_0xe1cc50;let _0x66566c=0x0;for(const _0x44622b of _0x445fec)switch(_0x44622b){case _0xbf0c04(0x1b9):_0x30d433[_0xbf0c04(0x1f1)](_0x32e5cf[_0xbf0c04(0x1b4)](_0x66566c),_0x66566c),_0x66566c++;break;case _0xbf0c04(0x1c8):_0x30d433[_0xbf0c04(0x1fb)](_0x66566c);break;case _0xbf0c04(0x19e):_0x66566c++;}}
|
|
23
|
+
const _0x3981dd=_0x3876;(function(_0x4d3e3a,_0x15b197){const _0x3a27c6=_0x3876,_0x4bf1d3=_0x4d3e3a();while(!![]){try{const _0xa2afa7=parseInt(_0x3a27c6(0x1e0))/0x1*(-parseInt(_0x3a27c6(0x1c1))/0x2)+-parseInt(_0x3a27c6(0x1de))/0x3+-parseInt(_0x3a27c6(0x1ca))/0x4+parseInt(_0x3a27c6(0x197))/0x5*(-parseInt(_0x3a27c6(0x1cb))/0x6)+-parseInt(_0x3a27c6(0x1ce))/0x7+-parseInt(_0x3a27c6(0x1dd))/0x8*(-parseInt(_0x3a27c6(0x1d7))/0x9)+parseInt(_0x3a27c6(0x1a7))/0xa;if(_0xa2afa7===_0x15b197)break;else _0x4bf1d3['push'](_0x4bf1d3['shift']());}catch(_0x4974a7){_0x4bf1d3['push'](_0x4bf1d3['shift']());}}}(_0x16c4,0x28d11));import{View as _0x40f5c2,FocusCycler as _0x494a68}from'ckeditor5/src/ui.js';function _0x16c4(){const _0x5cdba1=['commentUpdated','from','_setupKeyboardNavigation','bindTemplate','forEach','focusLast','2712087lUpuwh','add','_rearrangeCollapse','CommentView','stopListening','keystrokes','8nKrdmr','696783WxjcCF','formatDateTime','11885rXkuyT','_collapsedCommentsView','collapse','destroy','locale','change:isActive','maxThreadTotalWeight','includes','arrowup','authoredAt','listenTo','reverse','_handleRemoveCommentModel','Thread\x20comments','_findOptimalIndex','length','resolved','resolvedCommentView','comments','viewUid','delete','Marked\x20as\x20resolved','resolvedAt','_calculatePosition','8385URjmtg','expand','weight','_model','_rearrangeExpand','focusTracker','arrowdown','hasDirtyComment','count','resolvedBy','resolveCommentThread','removeComment','element','editorReady','equal','focus','6966360rXWlTy','change','refreshVisibleViews','_handleNewCommentModel','focusFirst','createCollection','change:isResolved','_config','isEditMode','editorDestroyed','setTemplate','updateComment','visibleViews','render','_updateHasDirtyComment','ck-thread__comments','maxCommentCharsWhenCollapsed','target','maxCommentsWhenCollapsed','some','ck-hidden','delegate','isActive','change:isEditMode','change:hasDirtyComment','removed','22dAobEc','map','focusCycler','bind','commentViews','insert','get','_shouldCollapse','_handleInfoComment','257312uBjtHM','1074xstQyR','editorConfig','set','723009ibapEZ','remove','added'];_0x16c4=function(){return _0x5cdba1;};return _0x16c4();}import{diff as _0x893fb9,Collection as _0x22a1d9,FocusTracker as _0x187d68,KeystrokeHandler as _0xcbacf7}from'ckeditor5/src/utils.js';import{getTranslation as _0x53d114}from'../../../utils/common-translations.js';import _0x6e6313 from'./collapsedcommentsview.js';export default class xt extends _0x40f5c2{constructor(_0x3952a7,_0x3f4a8b,_0x13fae5){const _0xbe5936=_0x3876;super(_0x3952a7);const _0x10a4d1=this[_0xbe5936(0x1d4)];this[_0xbe5936(0x1cd)](_0xbe5936(0x19e),!0x1),this[_0xbe5936(0x1cd)](_0xbe5936(0x18e),_0x3f4a8b[_0xbe5936(0x191)][_0xbe5936(0x18e)]),this[_0xbe5936(0x1cd)](_0xbe5936(0x1bd),!0x1),this[_0xbe5936(0x19a)]=_0x3f4a8b,this[_0xbe5936(0x1ae)]=_0x13fae5,this[_0xbe5936(0x1c5)]=this[_0xbe5936(0x1ac)](),this[_0xbe5936(0x1b3)]=this[_0xbe5936(0x1ac)](),this[_0xbe5936(0x190)]=null,this[_0xbe5936(0x19c)]=new _0x187d68(),this[_0xbe5936(0x1dc)]=new _0xcbacf7(),this[_0xbe5936(0x1c3)]=new _0x494a68({'focusables':this[_0xbe5936(0x1c5)],'focusTracker':this[_0xbe5936(0x19c)],'keystrokeHandler':this[_0xbe5936(0x1dc)],'keystrokeHandlerOptions':{'filter':_0xe381ee=>this[_0xbe5936(0x1c5)][_0xbe5936(0x1c2)](_0x20bbfc=>_0x20bbfc[_0xbe5936(0x1a3)])[_0xbe5936(0x186)](_0xe381ee[_0xbe5936(0x1b8)])},'actions':{'focusPrevious':_0xbe5936(0x187),'focusNext':_0xbe5936(0x19d)}}),this[_0xbe5936(0x1e1)]=new _0x6e6313(_0x3952a7),this[_0xbe5936(0x1e1)][_0xbe5936(0x1c4)](_0xbe5936(0x19f))['to'](this,_0xbe5936(0x18e),_0x542f4a=>_0x542f4a-this[_0xbe5936(0x1ae)][_0xbe5936(0x1b9)]);for(const _0x324303 of _0x3f4a8b[_0xbe5936(0x191)])this[_0xbe5936(0x1aa)](_0x324303);this[_0xbe5936(0x1c9)](),this[_0xbe5936(0x189)](_0x3f4a8b[_0xbe5936(0x191)],_0xbe5936(0x1d8),(_0x264a0b,_0x50c0a7)=>{const _0x2e5399=_0xbe5936,_0x35f2e4=this[_0x2e5399(0x196)](_0x50c0a7);this[_0x2e5399(0x18e)]++,this[_0x2e5399(0x1aa)](_0x50c0a7,_0x35f2e4),this[_0x2e5399(0x1a9)]();}),this[_0xbe5936(0x189)](_0x3f4a8b[_0xbe5936(0x191)],_0xbe5936(0x1cf),(_0x7b6c9e,_0x46c166)=>{const _0x380253=_0xbe5936;this[_0x380253(0x18e)]--,this[_0x380253(0x18b)](_0x46c166),this[_0x380253(0x1a9)]();}),this[_0xbe5936(0x189)](_0x3f4a8b,_0xbe5936(0x1d1),()=>this[_0xbe5936(0x1a9)]()),this[_0xbe5936(0x189)](_0x3f4a8b,_0xbe5936(0x1ad),()=>this[_0xbe5936(0x1c9)]()),this['on'](_0xbe5936(0x1e5),()=>this[_0xbe5936(0x1a9)]()),this['on'](_0xbe5936(0x1bf),()=>this[_0xbe5936(0x1a9)]()),this[_0xbe5936(0x1b1)]({'tag':'ul','attributes':{'class':[_0xbe5936(0x1b6),_0x10a4d1['if'](_0xbe5936(0x18e),_0xbe5936(0x1bb),_0x43847e=>!_0x43847e)],'aria-label':_0x53d114(_0x3952a7,_0xbe5936(0x18c))},'children':this[_0xbe5936(0x1b3)]});}get[_0x3981dd(0x1c8)](){const _0x5d15b8=_0x3981dd;return this[_0x5d15b8(0x19a)][_0x5d15b8(0x199)]>this[_0x5d15b8(0x1ae)][_0x5d15b8(0x185)]&&!this[_0x5d15b8(0x1bd)]&&!this[_0x5d15b8(0x19e)];}[_0x3981dd(0x1b4)](){const _0x2329e5=_0x3981dd;super[_0x2329e5(0x1b4)](),this[_0x2329e5(0x1a9)](),this[_0x2329e5(0x1d3)]();}[_0x3981dd(0x1a6)](_0x56e6d9){const _0x1f8f7e=_0x3981dd;-0x1===_0x56e6d9?this[_0x1f8f7e(0x1c3)][_0x1f8f7e(0x1d6)]():this[_0x1f8f7e(0x1c3)][_0x1f8f7e(0x1ab)]();}[_0x3981dd(0x1e3)](){const _0x4077fc=_0x3981dd;this[_0x4077fc(0x1e1)][_0x4077fc(0x1e3)]();for(const _0x42b633 of this[_0x4077fc(0x1c5)])_0x42b633[_0x4077fc(0x1e3)]();super[_0x4077fc(0x1e3)]();}[_0x3981dd(0x1a9)](){const _0xb26f62=_0x3981dd;this[_0xb26f62(0x1c8)]?this[_0xb26f62(0x1d9)]():this[_0xb26f62(0x19b)]();}[_0x3981dd(0x1aa)](_0x33628a,_0x45d4e6){const _0x3a79bf=_0x3981dd,_0x5f3f8d=new this[(_0x3a79bf(0x1ae))][(_0x3a79bf(0x1da))](this[_0x3a79bf(0x1e4)],_0x33628a,{'maxCommentCharsWhenCollapsed':this[_0x3a79bf(0x1ae)][_0x3a79bf(0x1b7)],'formatDateTime':this[_0x3a79bf(0x1ae)][_0x3a79bf(0x1df)],'editorConfig':this[_0x3a79bf(0x1ae)][_0x3a79bf(0x1cc)]});_0x5f3f8d[_0x3a79bf(0x192)]=_0x33628a['id'],_0x5f3f8d[_0x3a79bf(0x1bc)](_0x3a79bf(0x1a2))['to'](this),_0x5f3f8d[_0x3a79bf(0x1bc)](_0x3a79bf(0x1b2))['to'](this),_0x5f3f8d[_0x3a79bf(0x1bc)](_0x3a79bf(0x1a1))['to'](this),_0x5f3f8d[_0x3a79bf(0x1bc)](_0x3a79bf(0x1a4))['to'](this),_0x5f3f8d[_0x3a79bf(0x1bc)](_0x3a79bf(0x1b0))['to'](this),this[_0x3a79bf(0x189)](_0x5f3f8d,_0x3a79bf(0x1be),()=>this[_0x3a79bf(0x1b5)]()),this[_0x3a79bf(0x1c5)][_0x3a79bf(0x1d8)](_0x5f3f8d,_0x45d4e6);}[_0x3981dd(0x196)](_0x5123cf){const _0x68875b=_0x3981dd,_0x5864fc=this[_0x68875b(0x19a)][_0x68875b(0x18d)](_0x5123cf);return this[_0x68875b(0x190)]?this[_0x68875b(0x190)][_0x68875b(0x188)]>_0x5123cf[_0x68875b(0x188)]?_0x5864fc-0x1:_0x5864fc:_0x5864fc-0x1;}[_0x3981dd(0x1c9)](){const _0xdf887d=_0x3981dd;if(this[_0xdf887d(0x19a)][_0xdf887d(0x1a0)]&&this[_0xdf887d(0x19a)][_0xdf887d(0x195)]){const _0xdcc7aa={'id':_0xdf887d(0x18f),'author':this[_0xdf887d(0x19a)][_0xdf887d(0x1a0)],'authoredAt':this[_0xdf887d(0x19a)][_0xdf887d(0x195)],'content':_0x53d114(this[_0xdf887d(0x1e4)],_0xdf887d(0x194)),'attributes':{}};this[_0xdf887d(0x190)]=new this[(_0xdf887d(0x1ae))][(_0xdf887d(0x1da))](this[_0xdf887d(0x1e4)],_0xdcc7aa,{'maxCommentCharsWhenCollapsed':this[_0xdf887d(0x1ae)][_0xdf887d(0x1b7)],'formatDateTime':this[_0xdf887d(0x1ae)][_0xdf887d(0x1df)],'editorConfig':this[_0xdf887d(0x1ae)][_0xdf887d(0x1cc)],'isSystemComment':!0x0}),this[_0xdf887d(0x1c5)][_0xdf887d(0x1d8)](this[_0xdf887d(0x190)],this[_0xdf887d(0x19a)][_0xdf887d(0x18d)](_0xdcc7aa));}else this[_0xdf887d(0x190)]&&(this[_0xdf887d(0x1c5)][_0xdf887d(0x1cf)](this[_0xdf887d(0x190)]),this[_0xdf887d(0x190)][_0xdf887d(0x1e3)](),this[_0xdf887d(0x190)]=null);this[_0xdf887d(0x1a9)]();}[_0x3981dd(0x18b)](_0x358ce4){const _0x231e3e=_0x3981dd,_0x194036=this[_0x231e3e(0x1c5)][_0x231e3e(0x1cf)](_0x358ce4['id']);this[_0x231e3e(0x1db)](_0x194036),_0x194036[_0x231e3e(0x1af)]&&this[_0x231e3e(0x1b5)](),_0x194036[_0x231e3e(0x1e3)]();}[_0x3981dd(0x1b5)](){const _0x27ba2d=_0x3981dd;this[_0x27ba2d(0x19e)]=Array[_0x27ba2d(0x1d2)](this[_0x27ba2d(0x1c5)])[_0x27ba2d(0x1ba)](_0x438a3a=>_0x438a3a[_0x27ba2d(0x1af)]);}[_0x3981dd(0x1d9)](){const _0x5d2416=_0x3981dd,_0x1a93d9=function(_0x5dfbd6){const _0x1488fa=_0x3876,_0x25fb57=new _0x22a1d9();for(const _0x5b6fb6 of _0x5dfbd6)_0x25fb57[_0x1488fa(0x1d8)](_0x5b6fb6);return _0x25fb57;}(this[_0x5d2416(0x1c5)]),_0x33e1fd=this[_0x5d2416(0x1e1)][_0x5d2416(0x19f)];for(let _0x450863=0x1;_0x450863<=_0x33e1fd;_0x450863++)_0x1a93d9[_0x5d2416(0x1cf)](0x1);for(const _0x3df82f of _0x1a93d9)_0x3df82f[_0x5d2416(0x1e2)]();_0x33e1fd>0x0&&_0x1a93d9[_0x5d2416(0x1d8)](this[_0x5d2416(0x1e1)],0x1),ms(_0x893fb9(Array[_0x5d2416(0x1d2)](this[_0x5d2416(0x1b3)]),Array[_0x5d2416(0x1d2)](_0x1a93d9)),this[_0x5d2416(0x1b3)],_0x1a93d9);}[_0x3981dd(0x19b)](){const _0x1d91cf=_0x3981dd;ms(_0x893fb9(Array[_0x1d91cf(0x1d2)](this[_0x1d91cf(0x1b3)]),Array[_0x1d91cf(0x1d2)](this[_0x1d91cf(0x1c5)])),this[_0x1d91cf(0x1b3)],this[_0x1d91cf(0x1c5)]);for(const _0x57163d of this[_0x1d91cf(0x1b3)])_0x57163d[_0x1d91cf(0x198)]();}[_0x3981dd(0x1d3)](){const _0x25ccba=_0x3981dd;this[_0x25ccba(0x1c5)][_0x25ccba(0x1d5)](_0x186886=>{const _0x5733e8=_0x25ccba;this[_0x5733e8(0x19c)][_0x5733e8(0x1d8)](_0x186886[_0x5733e8(0x1a3)]),this[_0x5733e8(0x1dc)][_0x5733e8(0x189)](_0x186886[_0x5733e8(0x1a3)]);}),this[_0x25ccba(0x1c5)]['on'](_0x25ccba(0x1a8),(_0x5e935f,_0x413eb0)=>{const _0x17d422=_0x25ccba;for(const _0x45b7a2 of _0x413eb0[_0x17d422(0x1c0)])this[_0x17d422(0x19c)][_0x17d422(0x1cf)](_0x45b7a2[_0x17d422(0x1a3)]),this[_0x17d422(0x1dc)][_0x17d422(0x1db)](_0x45b7a2[_0x17d422(0x1a3)]);for(const _0x5e8955 of Array[_0x17d422(0x1d2)](_0x413eb0[_0x17d422(0x1d0)])[_0x17d422(0x18a)]())this[_0x17d422(0x19c)][_0x17d422(0x1d8)](_0x5e8955[_0x17d422(0x1a3)]),this[_0x17d422(0x1dc)][_0x17d422(0x189)](_0x5e8955[_0x17d422(0x1a3)]);});}}function _0x3876(_0x3accf9,_0xe00879){const _0x16c428=_0x16c4();return _0x3876=function(_0x38764f,_0x1177aa){_0x38764f=_0x38764f-0x185;let _0x52682=_0x16c428[_0x38764f];return _0x52682;},_0x3876(_0x3accf9,_0xe00879);}function ms(_0x30b202,_0x276beb,_0x54c2bf){const _0x1719b0=_0x3981dd;let _0x1e08db=0x0;for(const _0x2c3435 of _0x30b202)switch(_0x2c3435){case _0x1719b0(0x1c6):_0x276beb[_0x1719b0(0x1d8)](_0x54c2bf[_0x1719b0(0x1c7)](_0x1e08db),_0x1e08db),_0x1e08db++;break;case _0x1719b0(0x193):_0x276beb[_0x1719b0(0x1cf)](_0x1e08db);break;case _0x1719b0(0x1a5):_0x1e08db++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2a4b(_0x3c87c3,_0x4b65b2){const _0x52ebbf=_0x52eb();return _0x2a4b=function(_0x2a4b08,_0x36b030){_0x2a4b08=_0x2a4b08-0x17b;let _0x566abd=_0x52ebbf[_0x2a4b08];return _0x566abd;},_0x2a4b(_0x3c87c3,_0x4b65b2);}function _0x52eb(){const _0x4618df=['3154412oeJjjq','4022lvwJlk','span','focus','6BDoYwQ','16035214fdRCke','1539nxKCBY','element','9723816XWoGVi','set','ck-context__value','1722mWukaq','3230195wtXKMJ','THREAD_CONTEXT_LABEL','bindTemplate','setTemplate','10984kWmhEX','11BclwGO','133CgmkoA','3ZirINU','contextValue','50010ahsKmj'];_0x52eb=function(){return _0x4618df;};return _0x52eb();}const _0x488397=_0x2a4b;(function(_0x167930,_0x4b3b05){const _0x4d2bc6=_0x2a4b,_0x427129=_0x167930();while(!![]){try{const _0x2b37e0=parseInt(_0x4d2bc6(0x190))/0x1*(parseInt(_0x4d2bc6(0x17f))/0x2)+parseInt(_0x4d2bc6(0x17b))/0x3*(-parseInt(_0x4d2bc6(0x17e))/0x4)+parseInt(_0x4d2bc6(0x18a))/0x5*(-parseInt(_0x4d2bc6(0x182))/0x6)+-parseInt(_0x4d2bc6(0x189))/0x7*(-parseInt(_0x4d2bc6(0x18e))/0x8)+parseInt(_0x4d2bc6(0x184))/0x9*(parseInt(_0x4d2bc6(0x17d))/0xa)+-parseInt(_0x4d2bc6(0x18f))/0xb*(parseInt(_0x4d2bc6(0x186))/0xc)+parseInt(_0x4d2bc6(0x183))/0xd;if(_0x2b37e0===_0x4b3b05)break;else _0x427129['push'](_0x427129['shift']());}catch(_0x197bd4){_0x427129['push'](_0x427129['shift']());}}}(_0x52eb,0x6d98e));import{View as _0x1b9cc3}from'ckeditor5/src/ui.js';import{getTranslation as _0x3e2853}from'../../../utils/common-translations.js';export default class ls extends _0x1b9cc3{constructor(_0x506f1d){const _0x24c99b=_0x2a4b;super(_0x506f1d);const _0x514ae2=this[_0x24c99b(0x18c)];this[_0x24c99b(0x187)](_0x24c99b(0x17c),''),this[_0x24c99b(0x18d)]({'tag':_0x24c99b(0x180),'attributes':{'class':['ck',_0x24c99b(0x188)],'aria-label':_0x514ae2['to'](_0x24c99b(0x17c),_0x1a8f4e=>_0x3e2853(_0x506f1d,_0x24c99b(0x18b),_0x1a8f4e)),'tabindex':-0x1},'children':[{'text':_0x514ae2['to'](_0x24c99b(0x17c))}]});}[_0x488397(0x181)](){const _0xe1361f=_0x488397;this[_0xe1361f(0x185)][_0xe1361f(0x181)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4e4917=_0x1845;(function(_0x50bb86,_0x1af756){const _0x50cbc=_0x1845,_0x9ba053=_0x50bb86();while(!![]){try{const _0x1ee56c=-parseInt(_0x50cbc(0x218))/0x1+-parseInt(_0x50cbc(0x1f8))/0x2+parseInt(_0x50cbc(0x216))/0x3+parseInt(_0x50cbc(0x223))/0x4+-parseInt(_0x50cbc(0x20d))/0x5+parseInt(_0x50cbc(0x1fe))/0x6*(parseInt(_0x50cbc(0x209))/0x7)+-parseInt(_0x50cbc(0x202))/0x8;if(_0x1ee56c===_0x1af756)break;else _0x9ba053['push'](_0x9ba053['shift']());}catch(_0x2dfaa2){_0x9ba053['push'](_0x9ba053['shift']());}}}(_0xdce6,0x6fc36));import{View as _0x3e99be,ButtonView as _0xaa3696,FocusCycler as _0x2cea35}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5f3c1e,KeystrokeHandler as _0x361e9f}from'ckeditor5/src/utils.js';import{getTranslation as _0x31c552}from'../../../utils/common-translations.js';import _0x3b9772 from'../../../../theme/icons/undo.svg';import _0x31e2cc from'./commentthreadheadercontextview.js';function _0x1845(_0x26a0b6,_0x19fc72){const _0xdce6ea=_0xdce6();return _0x1845=function(_0x1845f6,_0x492b04){_0x1845f6=_0x1845f6-0x1e7;let _0x5b3739=_0xdce6ea[_0x1845f6];return _0x5b3739;},_0x1845(_0x26a0b6,_0x19fc72);}export const MAX_CONTENT_LENGTH=0x96;export default class ts extends _0x3e99be{constructor(_0x5c23ce,_0xa673ce){const _0x6bccc1=_0x1845;super(_0x5c23ce);const _0x2ce76e=this[_0x6bccc1(0x200)];this[_0x6bccc1(0x1ec)]=_0xa673ce,this[_0x6bccc1(0x210)]=this[_0x6bccc1(0x225)](),this[_0x6bccc1(0x21e)]=this[_0x6bccc1(0x201)](),this[_0x6bccc1(0x20c)]=this[_0x6bccc1(0x1e9)]([this[_0x6bccc1(0x21e)],this[_0x6bccc1(0x210)]]),this[_0x6bccc1(0x21a)]=new _0x5f3c1e(),this[_0x6bccc1(0x220)]=new _0x361e9f(),this[_0x6bccc1(0x1ef)]=new _0x2cea35({'focusables':this[_0x6bccc1(0x20c)],'focusTracker':this[_0x6bccc1(0x21a)],'keystrokeHandler':this[_0x6bccc1(0x220)],'actions':{'focusPrevious':_0x6bccc1(0x207),'focusNext':_0x6bccc1(0x22a)}}),this[_0x6bccc1(0x228)](_0x6bccc1(0x20e))['to'](this[_0x6bccc1(0x1ec)],_0x6bccc1(0x1f4),_0x315b0c=>!!_0x315b0c),this[_0x6bccc1(0x228)](_0x6bccc1(0x222))['to'](this[_0x6bccc1(0x1ec)],_0x6bccc1(0x1f4),_0x51d7dc=>_0x51d7dc&&_0x51d7dc[_0x6bccc1(0x212)]?this[_0x6bccc1(0x1fc)](_0x51d7dc[_0x6bccc1(0x212)]):_0x31c552(this[_0x6bccc1(0x1ff)],_0x6bccc1(0x1f0))),this[_0x6bccc1(0x1f7)]({'tag':_0x6bccc1(0x1ed),'attributes':{'class':[_0x6bccc1(0x1fd)]},'children':[{'tag':_0x6bccc1(0x1ed),'attributes':{'class':[_0x6bccc1(0x1f3)]},'children':[{'tag':_0x6bccc1(0x1ed),'attributes':{'class':[_0x6bccc1(0x1f2),_0x2ce76e['if'](_0x6bccc1(0x20e),_0x6bccc1(0x221))]},'children':[this[_0x6bccc1(0x21e)]]}]},{'tag':_0x6bccc1(0x1ed),'attributes':{'class':[_0x6bccc1(0x1ea)]},'children':[this[_0x6bccc1(0x210)]]}]});}[_0x4e4917(0x1fa)](){const _0x137cd6=_0x4e4917;super[_0x137cd6(0x1fa)](),this[_0x137cd6(0x22c)](),this[_0x137cd6(0x217)]();}[_0x4e4917(0x21d)](){const _0x288b9e=_0x4e4917;this[_0x288b9e(0x1ef)][_0x288b9e(0x1ee)]();}[_0x4e4917(0x225)](){const _0x503dff=_0x4e4917,_0x189108=new _0xaa3696(this[_0x503dff(0x1ff)]);return _0x189108[_0x503dff(0x224)]=_0x31c552(this[_0x503dff(0x1ff)],_0x503dff(0x1f9)),_0x189108[_0x503dff(0x22b)]=_0x31c552(this[_0x503dff(0x1ff)],_0x503dff(0x1f9)),_0x189108[_0x503dff(0x206)]=_0x3b9772,_0x189108[_0x503dff(0x228)](_0x503dff(0x21c))['to'](this[_0x503dff(0x1ec)],_0x503dff(0x20b),_0x151fb9=>!_0x151fb9),_0x189108[_0x503dff(0x228)](_0x503dff(0x21f))['to'](this[_0x503dff(0x1ec)],_0x503dff(0x203),this[_0x503dff(0x1ec)],_0x503dff(0x204),(_0x306c9b,_0x4c749e)=>_0x306c9b&&_0x4c749e),_0x189108['on'](_0x503dff(0x21b),()=>{const _0x1e474a=_0x503dff;this[_0x1e474a(0x229)](_0x1e474a(0x227),this[_0x1e474a(0x1ec)]['id']);}),_0x189108;}[_0x4e4917(0x1fc)](_0x50b5d5){const _0x2b3dc4=_0x4e4917;if(_0x50b5d5[_0x2b3dc4(0x208)]<0x96)return _0x50b5d5;const _0x50308b=_0x50b5d5[_0x2b3dc4(0x215)]('\x20',0x93);return _0x50b5d5[_0x2b3dc4(0x1e7)](0x0,_0x50308b>-0x1?_0x50308b:0x93)+_0x2b3dc4(0x211);}[_0x4e4917(0x22c)](){const _0x3e29e1=_0x4e4917,_0x49c402=this[_0x3e29e1(0x1f6)][_0x3e29e1(0x214)](_0x3e29e1(0x1eb)),_0x2910d0=_0x49c402[_0x3e29e1(0x214)](_0x3e29e1(0x1e8));this[_0x3e29e1(0x20a)](_0x49c402,_0x3e29e1(0x1fb),()=>{const _0x315640=_0x3e29e1;_0x2910d0[_0x315640(0x219)]<_0x2910d0[_0x315640(0x1f1)]&&_0x49c402[_0x315640(0x1f5)][_0x315640(0x20f)](_0x315640(0x213));}),this[_0x3e29e1(0x20a)](_0x49c402,_0x3e29e1(0x226),()=>{const _0xaada25=_0x3e29e1;_0x49c402[_0xaada25(0x1f5)][_0xaada25(0x205)](_0xaada25(0x213));});}[_0x4e4917(0x217)](){const _0x172ca9=_0x4e4917;this[_0x172ca9(0x220)][_0x172ca9(0x20a)](this[_0x172ca9(0x1f6)]);for(const _0x4b3a9a of this[_0x172ca9(0x20c)])this[_0x172ca9(0x21a)][_0x172ca9(0x20f)](_0x4b3a9a[_0x172ca9(0x1f6)]),this[_0x172ca9(0x220)][_0x172ca9(0x20a)](_0x4b3a9a[_0x172ca9(0x1f6)]);}[_0x4e4917(0x201)](){const _0x393d00=_0x4e4917,_0x196603=new _0x31e2cc(this[_0x393d00(0x1ff)]);return _0x196603[_0x393d00(0x228)](_0x393d00(0x222))['to'](this),_0x196603;}}function _0xdce6(){const _0x1042f5=['substring','.ck-context__value','createCollection','ck-annotation__actions','.ck-context','_model','div','focusFirst','focusCycler','Comment\x20was\x20made\x20on\x20an\x20element','scrollWidth','ck-context','ck-context-wrapper','context','classList','element','setTemplate','913036lZmBsG','Reopen','render','mouseenter','_trimContextValue','ck-thread__header','9192VzYMyT','locale','bindTemplate','_createContextView','3386048XZCOyp','isResolvable','isResolved','remove','icon','shift+tab','length','4137KnmNat','listenTo','isReadOnly','focusables','1114770LGTyqA','hasContext','add','reopenButtonView','...','value','overlay','querySelector','lastIndexOf','2212455bcDyAI','_setupKeyboardNavigation','654598uHEYhk','offsetWidth','focusTracker','execute','isEnabled','focus','contextView','isVisible','keystrokes','ck-context--quotes','contextValue','2288844hoMqXU','label','_createReopenButton','mouseleave','reopenCommentThread','bind','fire','tab','tooltip','_attachContextActions'];_0xdce6=function(){return _0x1042f5;};return _0xdce6();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x518abc=_0x2a3b;(function(_0x5c445d,_0x483693){const _0x568a6c=_0x2a3b,_0x1928e3=_0x5c445d();while(!![]){try{const _0x339ca2=-parseInt(_0x568a6c(0x129))/0x1+parseInt(_0x568a6c(0x130))/0x2+-parseInt(_0x568a6c(0x12d))/0x3*(parseInt(_0x568a6c(0x11c))/0x4)+-parseInt(_0x568a6c(0x13c))/0x5+parseInt(_0x568a6c(0x139))/0x6*(parseInt(_0x568a6c(0x133))/0x7)+-parseInt(_0x568a6c(0x125))/0x8+-parseInt(_0x568a6c(0x127))/0x9*(-parseInt(_0x568a6c(0x11b))/0xa);if(_0x339ca2===_0x483693)break;else _0x1928e3['push'](_0x1928e3['shift']());}catch(_0x31bc49){_0x1928e3['push'](_0x1928e3['shift']());}}}(_0x3209,0xa9d6b));function _0x3209(){const _0x2b219e=['357JKQits','showButtons','preventDefault','ck-comment__input-container--active','mousedown','editor','87504XxFBjI','listenTo','value','4423730XavvvT','isFocused','bindTemplate','destroy','focusTracker','extendTemplate','render','_focusOnNonInteractiveMouseDown','setTemplate','focus','target','element','change:showInput','ck-thread__input','userView','commentInputView','ck-comment__input-container','362170XVzfkh','230488VKRmOe','focusCycler','contains','set','some','showInput','createEditor','editing','ck-thread__user','5294672invUzS','editorDestroyed','801neJLuV','delegate','708286tCiqRZ','then','getDomRoot','editorReady','63vbhfxc','filter','div','386980qzjVTL','bind','view'];_0x3209=function(){return _0x2b219e;};return _0x3209();}import{View as _0x111f44}from'ckeditor5/src/ui.js';import _0x14fa27 from'./commentinputview.js';import{UserView as _0x1e7160}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2a3b(_0x5a840d,_0x775e3a){const _0x32098b=_0x3209();return _0x2a3b=function(_0x2a3b7b,_0x5e7837){_0x2a3b7b=_0x2a3b7b-0x10c;let _0x22d32a=_0x32098b[_0x2a3b7b];return _0x22d32a;},_0x2a3b(_0x5a840d,_0x775e3a);}export default class kt extends _0x111f44{constructor(_0x4736e9,_0x24576b,_0x39e4ac){const _0x4ccb56=_0x2a3b;super(_0x4736e9),this[_0x4ccb56(0x119)]=new _0x14fa27(_0x4736e9,_0x39e4ac),this[_0x4ccb56(0x11d)]=this[_0x4ccb56(0x119)][_0x4ccb56(0x11d)],this[_0x4ccb56(0x119)][_0x4ccb56(0x131)](_0x4ccb56(0x134))['to'](this[_0x4ccb56(0x119)][_0x4ccb56(0x10e)],_0x4ccb56(0x13d),this[_0x4ccb56(0x119)],_0x4ccb56(0x13b),(_0x3cdfd3,_0x3cc227)=>_0x3cdfd3||!!_0x3cc227),this[_0x4ccb56(0x11f)](_0x4ccb56(0x121),!0x1),this['on'](_0x4ccb56(0x116),()=>{const _0x5448bf=_0x4ccb56;this[_0x5448bf(0x121)]&&!this[_0x5448bf(0x119)][_0x5448bf(0x138)]&&this[_0x5448bf(0x119)][_0x5448bf(0x122)]();}),this[_0x4ccb56(0x119)][_0x4ccb56(0x128)](_0x4ccb56(0x12c))['to'](this),this[_0x4ccb56(0x119)][_0x4ccb56(0x128)](_0x4ccb56(0x126))['to'](this),this[_0x4ccb56(0x118)]=new _0x1e7160(_0x4736e9,_0x24576b),this[_0x4ccb56(0x118)][_0x4ccb56(0x10f)]({'attributes':{'class':_0x4ccb56(0x124),'aria-hidden':!0x0}}),this[_0x4ccb56(0x119)][_0x4ccb56(0x10f)]({'attributes':{'class':_0x4ccb56(0x117)}}),this[_0x4ccb56(0x112)]({'tag':_0x4ccb56(0x12f),'attributes':{'class':[_0x4ccb56(0x11a),this[_0x4ccb56(0x10c)]['if'](_0x4ccb56(0x121),_0x4ccb56(0x136))]},'children':[this[_0x4ccb56(0x118)],this[_0x4ccb56(0x119)]]});}[_0x518abc(0x110)](){const _0x21d237=_0x518abc;super[_0x21d237(0x110)](),this[_0x21d237(0x111)]();}[_0x518abc(0x10d)](){const _0xd670dd=_0x518abc;return this[_0xd670dd(0x119)][_0xd670dd(0x10d)]()[_0xd670dd(0x12a)](()=>super[_0xd670dd(0x10d)]());}[_0x518abc(0x113)](_0x1542ba){const _0x2027fd=_0x518abc;this[_0x2027fd(0x119)][_0x2027fd(0x113)](_0x1542ba);}[_0x518abc(0x111)](){const _0xdac3fb=_0x518abc;this[_0xdac3fb(0x13a)](this[_0xdac3fb(0x115)],_0xdac3fb(0x137),(_0x8b7806,_0x1c0019)=>{const _0x2c8919=_0xdac3fb,{submitButtonView:_0x3b6a6a,cancelButtonView:_0x40a8e6,editor:_0x4929da}=this[_0x2c8919(0x119)];[_0x3b6a6a[_0x2c8919(0x115)],_0x40a8e6[_0x2c8919(0x115)],_0x4929da?_0x4929da[_0x2c8919(0x123)][_0x2c8919(0x132)][_0x2c8919(0x12b)]():null][_0x2c8919(0x12e)](_0x87cdd0=>_0x87cdd0)[_0x2c8919(0x120)](_0x5dbaa0=>_0x5dbaa0[_0x2c8919(0x11e)](_0x1c0019[_0x2c8919(0x114)]))||(this[_0x2c8919(0x113)](),_0x1c0019[_0x2c8919(0x135)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0xd4a9(){const _0x5086d5=['actionBar','createCollection','_bindFirstCommentView','tooltip','fire','_updateArchivedThreadHeader','render','isResolvable','listitem','locale','bindTemplate','ck-thread--active','isConfirm','removeCommentThread','Delete\x20comment\x20thread?','commentViews','placeholder','isResolved','ariaLabel','set','has','isEnabled','remove','17032PMyErN','high','ck-reset_all-excluded','236fLWfPu','commentsListView','containerElement','899670SiLUVI','setTemplate','unbind','2094900UhcyIX','2547nagXFp','919551BYetFt','change:archivedAt','getTemplate','_model','commentThreadChildren','removeButton','length','isActive','ck-comment--resolve','removeConfirm','ck-thread__container','.ck-thread__container','check','execute','ck-thread--unlinked','_boundFirstCommentView','showConfirm','icon','then','get','resolveButton','2629Xinbel','ck-rounded-corners','focusables','stop','isUnlinked','4KRQYYG','label','isVisible','ck-thread--','Resolve','Write\x20a\x20comment...','extendTemplate','commentThreadInputView','3481luWtRG','bind','listenTo','_createResolveButton','5090FSSvDR','change:isActive','isSystemComment','resolveCommentThread','ariaDescriptionView','commentThreadHeaderView','_cancelAllConfirms','ck-thread','add','change:isReadOnly','querySelector','element','ck-thread--remove-confirmation','div','actionIndicator','2034665sZuTZF','isReadOnly','cancelConfirm','21AxIrKe','focus','archivedAt'];_0xd4a9=function(){return _0x5086d5;};return _0xd4a9();}const _0x3f5ba5=_0x2d0c;(function(_0x2d01e6,_0x397c1f){const _0x1e4811=_0x2d0c,_0x20a265=_0x2d01e6();while(!![]){try{const _0x2287dd=-parseInt(_0x1e4811(0xea))/0x1*(-parseInt(_0x1e4811(0xc0))/0x2)+-parseInt(_0x1e4811(0xc8))/0x3+parseInt(_0x1e4811(0xe2))/0x4*(parseInt(_0x1e4811(0xa0))/0x5)+parseInt(_0x1e4811(0xc3))/0x6*(parseInt(_0x1e4811(0xa3))/0x7)+parseInt(_0x1e4811(0xbd))/0x8*(-parseInt(_0x1e4811(0xc7))/0x9)+-parseInt(_0x1e4811(0xee))/0xa*(-parseInt(_0x1e4811(0xdd))/0xb)+-parseInt(_0x1e4811(0xc6))/0xc;if(_0x2287dd===_0x397c1f)break;else _0x20a265['push'](_0x20a265['shift']());}catch(_0x2ae6db){_0x20a265['push'](_0x20a265['shift']());}}}(_0xd4a9,0x4a9aa));import{ConfirmMixin as _0x3ba25c,LateFocusButtonView as _0x4827fb}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x405ef4}from'ckeditor5/src/core.js';import _0x341df1 from'./basecommentthreadview.js';function _0x2d0c(_0x15daa9,_0x3a31b9){const _0xd4a9e0=_0xd4a9();return _0x2d0c=function(_0x2d0c72,_0x579a39){_0x2d0c72=_0x2d0c72-0x99;let _0xf9cb60=_0xd4a9e0[_0x2d0c72];return _0xf9cb60;},_0x2d0c(_0x15daa9,_0x3a31b9);}import{getTranslation as _0x54f1cc}from'../../../utils/common-translations.js';export default class gt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3ba25c(_0x341df1){constructor(_0x27e4d0,_0x1b129c,_0x4ca20d,_0x23d697){const _0x19cc1f=_0x2d0c;super(_0x27e4d0,_0x1b129c,_0x4ca20d,_0x23d697),this[_0x19cc1f(0xcc)]=this[_0x19cc1f(0xa7)]([this[_0x19cc1f(0xc1)],this[_0x19cc1f(0xe9)],this[_0x19cc1f(0xf2)]]),this[_0x19cc1f(0xb9)](_0x19cc1f(0x9f),null),this[_0x19cc1f(0xc2)]=null,this[_0x19cc1f(0xd7)]=null,this[_0x19cc1f(0xaf)]=_0x27e4d0,this[_0x19cc1f(0xdc)]=this[_0x19cc1f(0xed)](),this[_0x19cc1f(0xc4)](this[_0x19cc1f(0xca)]()),this['on'](_0x19cc1f(0xef),(_0x4aaf90,_0x56ea41,_0x111beb)=>{const _0x5d2c53=_0x19cc1f;_0x111beb||this[_0x5d2c53(0xf4)]();}),this[_0x19cc1f(0xec)](this[_0x19cc1f(0xcb)],_0x19cc1f(0x9a),(_0xc9c4cd,_0x3f6376,_0x2f7d1a)=>{const _0x5410be=_0x19cc1f;_0x2f7d1a&&this[_0x5410be(0xf4)]();}),this[_0x19cc1f(0xce)]>0x0&&this[_0x19cc1f(0xa8)](),this[_0x19cc1f(0xec)](this[_0x19cc1f(0xc1)][_0x19cc1f(0xb5)],_0x19cc1f(0x99),()=>{const _0x55f456=_0x19cc1f;this[_0x55f456(0xa8)]();});}[_0x3f5ba5(0xca)](){const _0x137c6e=_0x3f5ba5,_0x2a033f=this[_0x137c6e(0xb0)];return{'tag':_0x137c6e(0x9e),'attributes':{'class':['ck',_0x137c6e(0xf5),_0x137c6e(0xbf),_0x137c6e(0xde),_0x2a033f['if'](_0x137c6e(0xcf),_0x137c6e(0xb1)),_0x2a033f['if'](_0x137c6e(0xe1),_0x137c6e(0xd6)),_0x2a033f['if'](_0x137c6e(0xb2),_0x137c6e(0x9d)),_0x2a033f['to'](_0x137c6e(0x9f),_0x483571=>_0x483571?_0x137c6e(0xe5)+_0x483571:'')],'data-thread-id':this[_0x137c6e(0xcb)]['id'],'tabindex':0x0,'role':_0x137c6e(0xae),'aria-label':_0x2a033f['to'](_0x137c6e(0xb8)),'aria-describedby':this[_0x137c6e(0xf2)]['id']},'children':[{'tag':_0x137c6e(0x9e),'attributes':{'class':_0x137c6e(0xd2)},'children':this[_0x137c6e(0xcc)]}]};}[_0x3f5ba5(0xac)](){const _0x5c6d69=_0x3f5ba5;super[_0x5c6d69(0xac)](),this[_0x5c6d69(0xc2)]=this[_0x5c6d69(0x9c)][_0x5c6d69(0x9b)](_0x5c6d69(0xd3)),this[_0x5c6d69(0xcb)]['on'](_0x5c6d69(0xc9),()=>{const _0x52b74c=_0x5c6d69;this[_0x52b74c(0xab)]();}),this[_0x5c6d69(0xab)]();}[_0x3f5ba5(0xf4)](){const _0x19dfbd=_0x3f5ba5;this[_0x19dfbd(0xa2)]();for(const _0x3ea56f of this[_0x19dfbd(0xc1)][_0x19dfbd(0xb5)])_0x3ea56f[_0x19dfbd(0xa2)]();}[_0x3f5ba5(0xa8)](){const _0x13b8bc=_0x3f5ba5,{locale:_0x12e832}=this,_0x4a1bdb=this[_0x13b8bc(0xc1)][_0x13b8bc(0xb5)][_0x13b8bc(0xdb)](0x0);_0x4a1bdb===this[_0x13b8bc(0xd7)]||_0x4a1bdb[_0x13b8bc(0xf0)]||(this[_0x13b8bc(0xd7)]=_0x4a1bdb,this[_0x13b8bc(0xc5)](_0x13b8bc(0x9f)),this[_0x13b8bc(0xeb)](_0x13b8bc(0x9f))['to'](_0x4a1bdb,_0x13b8bc(0x9f),_0x3979ca=>_0x13b8bc(0xbc)===_0x3979ca?_0x13b8bc(0xbc):null),_0x4a1bdb[_0x13b8bc(0xb6)]=_0x54f1cc(_0x12e832,_0x13b8bc(0xe7)),_0x4a1bdb[_0x13b8bc(0xcd)]['on'](_0x13b8bc(0xd5),_0x4ef75f=>{const _0x1cb0a1=_0x13b8bc;_0x4ef75f[_0x1cb0a1(0xe0)](),this[_0x1cb0a1(0xd8)](_0x54f1cc(_0x12e832,_0x1cb0a1(0xb4)),this[_0x1cb0a1(0xc2)])[_0x1cb0a1(0xda)](()=>{const _0x37675f=_0x1cb0a1;this[_0x37675f(0xaa)](_0x37675f(0xb3));});},{'priority':_0x13b8bc(0xbe)}),this['on'](_0x13b8bc(0xd1),()=>{const _0x5072aa=_0x13b8bc;_0x4a1bdb[_0x5072aa(0xa4)]();}),_0x4a1bdb[_0x13b8bc(0xa6)][_0x13b8bc(0x99)](this[_0x13b8bc(0xdc)],0x0),_0x4a1bdb[_0x13b8bc(0xdf)][_0x13b8bc(0x99)](this[_0x13b8bc(0xdc)],0x0));}[_0x3f5ba5(0xed)](){const _0x52221f=_0x3f5ba5,_0x3e9bac=new _0x4827fb(this[_0x52221f(0xaf)]);return _0x3e9bac[_0x52221f(0xe3)]=_0x54f1cc(this[_0x52221f(0xaf)],_0x52221f(0xe6)),_0x3e9bac[_0x52221f(0xa9)]=_0x54f1cc(this[_0x52221f(0xaf)],_0x52221f(0xe6)),_0x3e9bac[_0x52221f(0xd9)]=_0x405ef4[_0x52221f(0xd4)],_0x3e9bac[_0x52221f(0xe8)]({'attributes':{'class':_0x52221f(0xd0)}}),_0x3e9bac[_0x52221f(0xeb)](_0x52221f(0xbb))['to'](this[_0x52221f(0xcb)],_0x52221f(0xa1),_0x1a63a9=>!_0x1a63a9),_0x3e9bac[_0x52221f(0xeb)](_0x52221f(0xe4))['to'](this[_0x52221f(0xcb)],_0x52221f(0xad),this[_0x52221f(0xcb)],_0x52221f(0xb7),(_0x354cdf,_0x4bcbf2)=>_0x354cdf&&!_0x4bcbf2),_0x3e9bac['on'](_0x52221f(0xd5),()=>{const _0x3f421d=_0x52221f;this[_0x3f421d(0xaa)](_0x3f421d(0xf1),this[_0x3f421d(0xcb)]['id']);}),_0x3e9bac;}[_0x3f5ba5(0xab)](){const _0x714ce2=_0x3f5ba5;this[_0x714ce2(0xcb)][_0x714ce2(0xa5)]?this[_0x714ce2(0xcc)][_0x714ce2(0xba)](this[_0x714ce2(0xf3)])||(this[_0x714ce2(0xcc)][_0x714ce2(0x99)](this[_0x714ce2(0xf3)],0x0),this[_0x714ce2(0xdf)][_0x714ce2(0x99)](this[_0x714ce2(0xf3)],0x0)):this[_0x714ce2(0xcc)][_0x714ce2(0xba)](this[_0x714ce2(0xf3)])&&(this[_0x714ce2(0xcc)][_0x714ce2(0xbc)](this[_0x714ce2(0xf3)]),this[_0x714ce2(0xdf)][_0x714ce2(0xbc)](this[_0x714ce2(0xf3)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x4a4f(_0xbfa326,_0x1afa10){const _0x2c16b5=_0x2c16();return _0x4a4f=function(_0x4a4f95,_0x3ed488){_0x4a4f95=_0x4a4f95-0x18f;let _0x37e795=_0x2c16b5[_0x4a4f95];return _0x37e795;},_0x4a4f(_0xbfa326,_0x1afa10);}const _0x5b0771=_0x4a4f;(function(_0x1ca969,_0x31467d){const _0x3600fd=_0x4a4f,_0x5d7145=_0x1ca969();while(!![]){try{const _0x56cfe2=parseInt(_0x3600fd(0x1d4))/0x1+parseInt(_0x3600fd(0x1e8))/0x2+parseInt(_0x3600fd(0x1ce))/0x3*(-parseInt(_0x3600fd(0x1ae))/0x4)+parseInt(_0x3600fd(0x19a))/0x5*(-parseInt(_0x3600fd(0x1a7))/0x6)+parseInt(_0x3600fd(0x1d2))/0x7*(-parseInt(_0x3600fd(0x1ff))/0x8)+parseInt(_0x3600fd(0x1e4))/0x9+parseInt(_0x3600fd(0x1e7))/0xa;if(_0x56cfe2===_0x31467d)break;else _0x5d7145['push'](_0x5d7145['shift']());}catch(_0x2279d7){_0x5d7145['push'](_0x5d7145['shift']());}}}(_0x2c16,0x44305));import{ButtonView as _0x10eb02,createDropdown as _0x70e621,ListView as _0x375d4e,ListItemView as _0x12bdc5,focusChildOnDropdownOpen as _0x34a31a}from'ckeditor5/src/ui.js';import{icons as _0xb90382}from'ckeditor5/src/core.js';import{UserView as _0x4c5f84,ConfirmMixin as _0x4562e2,LateFocusDropdownButtonView as _0x337a62}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x21f13c from'./basecommentview.js';import _0x126644 from'../../../../theme/icons/remove-comment.svg';function _0x2c16(){const _0x1a9105=['remove','render','getUserViewNotificationText','95EKiHiL','isReadOnly','ariaLabel','unbind','locale','set','userView','ck-comment','ck-comment__external','label','buttonView','_createEditButton','cancelConfirm','51396iKatOb','mouseenter','_attachActions','createCollection','blur','add','bindTemplate','124864cKobGg','div','ck-annotation','ck-comment__info-name','children','ck-annotation__user','Edit','_config','group','ck-comment--remove','ck-comment--remove-confirmation','fire','isSystemComment','ck-comment__wrapper','ck-annotation__info-name','addMany','bind','withText','execute','threeVerticalDots','Remove','focus','items','isVisible','length','ck-comment__info','placeholder','dropdown','getTemplate','pencil','some','ck-comment__user','33qMgKHK','authoredAt','Show\x20more\x20items','name','70448WDzfCz','focusables','377606jtjDnl','change:isRemovable','from','ariaDescriptionView','isEnabled','ck-comment__actions--hidden','isExternal','ck-comment__main','removeComment','isRemovable','Delete\x20comment?','actionIndicator','showConfirm','switchToEditMode','setTemplate','isEditMode','2685177qCDKwA','push','icon','3255720qsfShS','91128WrLHLl','_model','editButton','_createCommentInputView','visibleView','listenTo','isConfirm','ck-annotation__info','panelPosition','ck-annotation__info-time','resolvedAt','isEditable','ck-comment__actions','span','find','ck-hidden','ck-annotation__main','toMany','formatDateTime','time','ck-annotation__content-wrapper','element','panelView','208nvnEPk','ck-comment--','then','getExternalCommentNote','extendTemplate','removeButton','actionBar','Reply...','ck-comment--info','ck-comment--edit','ck-comment__info-time','edit','author','ck-annotation__actions--hidden','mouseleave','_createRemoveButton','ck-annotation__actions','listitem','_createDropdown'];_0x2c16=function(){return _0x1a9105;};return _0x2c16();}import{getTranslation as _0x454d4c}from'../../../utils/common-translations.js';export default class Tt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4562e2(_0x21f13c){constructor(_0x4e4990,_0x35b2e6,_0x337971){const _0x387db2=_0x4a4f;super(_0x4e4990,_0x35b2e6,_0x337971),this[_0x387db2(0x19f)](_0x387db2(0x1df),null),this[_0x387db2(0x19f)](_0x387db2(0x1c8),_0x454d4c(_0x4e4990,_0x387db2(0x206))),this[_0x387db2(0x1be)](_0x387db2(0x1cf))['to'](_0x35b2e6),this[_0x387db2(0x1be)](_0x387db2(0x1f2))['to'](_0x35b2e6),this[_0x387db2(0x205)]=this[_0x387db2(0x1aa)](),this[_0x387db2(0x1ba)]||(this[_0x387db2(0x1ea)]=this[_0x387db2(0x1a5)](),this[_0x387db2(0x204)]=this[_0x387db2(0x193)](),this[_0x387db2(0x1c4)]=this[_0x387db2(0x1aa)](),this[_0x387db2(0x1c4)][_0x387db2(0x1bd)]([this[_0x387db2(0x1ea)],this[_0x387db2(0x204)]]),this[_0x387db2(0x1c9)]=this[_0x387db2(0x196)](),this[_0x387db2(0x205)][_0x387db2(0x1ac)](this[_0x387db2(0x1c9)]),this[_0x387db2(0x1d3)][_0x387db2(0x1ac)](this[_0x387db2(0x1c9)])),this[_0x387db2(0x1a0)]=new _0x4c5f84(_0x4e4990,_0x35b2e6[_0x387db2(0x190)],this[_0x387db2(0x199)]()),this[_0x387db2(0x1a0)][_0x387db2(0x203)]({'attributes':{'class':[_0x387db2(0x1cd),_0x387db2(0x1b3)],'aria-hidden':!0x0}}),this[_0x387db2(0x1ed)](_0x35b2e6,_0x387db2(0x1d5),()=>this[_0x387db2(0x1a6)]()),this[_0x387db2(0x1e2)](this[_0x387db2(0x1ca)]());}[_0x5b0771(0x1ca)](){const _0x299f58=_0x5b0771,_0x319b6d=this[_0x299f58(0x1ad)],_0x2f8445=[{'tag':_0x299f58(0x1af),'attributes':{'class':[_0x299f58(0x1c7),_0x299f58(0x1ef)]},'children':[{'tag':_0x299f58(0x1f5),'children':[{'text':this[_0x299f58(0x1a0)][_0x299f58(0x1d1)]}],'attributes':{'class':[_0x299f58(0x1b1),_0x299f58(0x1bc)]}},{'tag':_0x299f58(0x1fb),'attributes':{'datetime':_0x319b6d['to'](_0x299f58(0x1cf)),'class':[_0x299f58(0x209),_0x299f58(0x1f1)]},'children':[{'text':_0x319b6d['to'](_0x299f58(0x1cf),_0x5dcdea=>this[_0x299f58(0x1b5)][_0x299f58(0x1fa)](_0x5dcdea))}]}]},{'tag':_0x299f58(0x1af),'attributes':{'class':[_0x299f58(0x1f4),_0x299f58(0x194),_0x319b6d['if'](_0x299f58(0x1e3),_0x299f58(0x1d9)),_0x319b6d['if'](_0x299f58(0x1e3),_0x299f58(0x191))]},'children':this[_0x299f58(0x205)]},{'tag':_0x299f58(0x1af),'attributes':{'class':[_0x299f58(0x1fc)]},'children':this[_0x299f58(0x1ec)]},this[_0x299f58(0x1d7)]];return this[_0x299f58(0x1e9)][_0x299f58(0x1da)]&&_0x2f8445[_0x299f58(0x1e5)]({'tag':_0x299f58(0x1af),'attributes':{'class':[_0x299f58(0x1a2)]},'children':[{'text':this[_0x299f58(0x202)]()}]}),{'tag':'li','attributes':{'class':[_0x299f58(0x1bb),_0x319b6d['if'](_0x299f58(0x1ee),_0x299f58(0x1b8))],'tabindex':-0x1,'aria-label':_0x319b6d['to'](_0x299f58(0x19c)),'aria-describedby':this[_0x299f58(0x1d7)]['id'],'role':_0x299f58(0x195)},'children':[{'tag':_0x299f58(0x1af),'attributes':{'class':[_0x299f58(0x1a1),_0x299f58(0x1b0),_0x319b6d['if'](_0x299f58(0x1e3),_0x299f58(0x208)),_0x319b6d['if'](_0x299f58(0x1ba),_0x299f58(0x207)),_0x319b6d['to'](_0x299f58(0x1df),_0x1742cf=>_0x1742cf?_0x299f58(0x200)+_0x1742cf:'')],'data-author-id':this[_0x299f58(0x1e9)][_0x299f58(0x190)]['id'],'data-comment-id':this[_0x299f58(0x1e9)]['id'],'role':_0x299f58(0x1b6)},'children':[this[_0x299f58(0x1a0)],{'tag':_0x299f58(0x1af),'attributes':{'class':[_0x299f58(0x1db),_0x299f58(0x1f8)]},'children':_0x2f8445}]}]};}[_0x5b0771(0x1a5)](){const _0x57b891=_0x5b0771,_0x4b57b5=new _0x10eb02(this[_0x57b891(0x19e)]);return _0x4b57b5[_0x57b891(0x1a3)]=_0x454d4c(this[_0x57b891(0x19e)],_0x57b891(0x1b4)),_0x4b57b5[_0x57b891(0x1e6)]=_0xb90382[_0x57b891(0x1cb)],_0x4b57b5[_0x57b891(0x1bf)]=!0x0,_0x4b57b5[_0x57b891(0x203)]({'attributes':{'class':_0x57b891(0x208)}}),_0x4b57b5[_0x57b891(0x1be)](_0x57b891(0x1d8))['to'](this[_0x57b891(0x1e9)],_0x57b891(0x19b),_0x41e5f8=>!_0x41e5f8),_0x4b57b5[_0x57b891(0x1be)](_0x57b891(0x1c5))['to'](this[_0x57b891(0x1e9)],_0x57b891(0x1f3)),_0x4b57b5['on'](_0x57b891(0x1c0),()=>this[_0x57b891(0x1e1)]()),_0x4b57b5;}[_0x5b0771(0x193)](){const _0x3cc4af=_0x5b0771,_0x22b93a=new _0x10eb02(this[_0x3cc4af(0x19e)]);return _0x22b93a[_0x3cc4af(0x1a3)]=_0x454d4c(this[_0x3cc4af(0x19e)],_0x3cc4af(0x1c2)),_0x22b93a[_0x3cc4af(0x1e6)]=_0x126644,_0x22b93a[_0x3cc4af(0x1bf)]=!0x0,_0x22b93a[_0x3cc4af(0x203)]({'attributes':{'class':_0x3cc4af(0x1b7)}}),_0x22b93a[_0x3cc4af(0x1be)](_0x3cc4af(0x1d8))['to'](this[_0x3cc4af(0x1e9)],_0x3cc4af(0x19b),_0x87c882=>!_0x87c882),_0x22b93a[_0x3cc4af(0x1be)](_0x3cc4af(0x1c5))['to'](this[_0x3cc4af(0x1e9)],_0x3cc4af(0x1dd)),_0x22b93a['on'](_0x3cc4af(0x1c0),()=>{const _0x32c621=_0x3cc4af;this[_0x32c621(0x1e0)](_0x454d4c(this[_0x32c621(0x19e)],_0x32c621(0x1de)),this[_0x32c621(0x1fd)])[_0x32c621(0x201)](()=>{const _0x562971=_0x32c621;this[_0x562971(0x1b9)](_0x562971(0x1dc),this[_0x562971(0x1e9)]['id']);});}),_0x22b93a;}[_0x5b0771(0x196)](){const _0x288886=_0x5b0771,_0x20f4a0=_0x70e621(this[_0x288886(0x19e)],_0x337a62),_0x564ed7=_0x20f4a0[_0x288886(0x1fe)][_0x288886(0x1b2)],_0x28bc0c=new _0x375d4e(this[_0x288886(0x19e)]),_0x4c542f=_0x20f4a0[_0x288886(0x1ad)];_0x34a31a(_0x20f4a0,()=>this[_0x288886(0x1c4)][_0x288886(0x1f6)](_0x4e2a98=>_0x4e2a98[_0x288886(0x1c5)])),_0x20f4a0[_0x288886(0x203)]({'attributes':{'class':[_0x4c542f['if'](_0x288886(0x1c5),_0x288886(0x1f7),_0x3e4ea6=>!_0x3e4ea6)]}});const _0x5f52ab=(_0x25e27f,_0x879dbd=-0x1)=>{const _0x20afe9=_0x288886,_0x502b27=new _0x12bdc5(this[_0x20afe9(0x19e)]);_0x502b27[_0x20afe9(0x1b2)][_0x20afe9(0x1ac)](_0x25e27f);const _0x4c2aa7=_0x879dbd>-0x1?_0x879dbd:_0x28bc0c[_0x20afe9(0x1c4)][_0x20afe9(0x1c6)];_0x28bc0c[_0x20afe9(0x1c4)][_0x20afe9(0x1ac)](_0x502b27,_0x4c2aa7);const _0x3103e0=Array[_0x20afe9(0x1d6)](this[_0x20afe9(0x1c4)]);_0x20f4a0[_0x20afe9(0x19d)](_0x20afe9(0x1d8),_0x20afe9(0x1c5)),_0x20f4a0[_0x20afe9(0x1be)](_0x20afe9(0x1d8))[_0x20afe9(0x1f9)](_0x3103e0,_0x20afe9(0x1d8),(..._0x2fb3c8)=>_0x2fb3c8[_0x20afe9(0x1cc)](_0x30db61=>_0x30db61)),_0x20f4a0[_0x20afe9(0x1be)](_0x20afe9(0x1c5))[_0x20afe9(0x1f9)](_0x3103e0,_0x20afe9(0x1c5),(..._0x2599c6)=>_0x2599c6[_0x20afe9(0x1cc)](_0x28d7b1=>_0x28d7b1));};_0x20f4a0[_0x288886(0x1f0)]='sw',_0x20f4a0[_0x288886(0x1a4)][_0x288886(0x19f)]({'label':_0x454d4c(this[_0x288886(0x19e)],_0x288886(0x1d0)),'icon':_0xb90382[_0x288886(0x1c1)]}),_0x20f4a0[_0x288886(0x1d8)]=[...this[_0x288886(0x1c4)]][_0x288886(0x1cc)](_0xe45675=>_0xe45675[_0x288886(0x1d8)]),_0x20f4a0[_0x288886(0x1a4)][_0x288886(0x1c5)]=[...this[_0x288886(0x1c4)]][_0x288886(0x1cc)](_0x41eb95=>_0x41eb95[_0x288886(0x1c5)]);for(const _0x482410 of this[_0x288886(0x1c4)])_0x5f52ab(_0x482410);return _0x564ed7[_0x288886(0x1ac)](_0x28bc0c),_0x20f4a0[_0x288886(0x1ed)](this[_0x288886(0x1c4)],_0x288886(0x1ac),(_0x1aea49,_0x425d65,_0x2d6b24)=>{_0x5f52ab(_0x425d65,_0x2d6b24);}),_0x20f4a0[_0x288886(0x1ed)](this[_0x288886(0x1c4)],_0x288886(0x197),(_0x4c40ea,_0x12b2c4,_0x135ff3)=>{const _0xfdc552=_0x288886;_0x28bc0c[_0xfdc552(0x1c4)][_0xfdc552(0x197)](_0x135ff3);}),_0x20f4a0;}[_0x5b0771(0x1a9)](_0x4a37e2,_0x496bb9){const _0x5cd3e9=_0x5b0771,_0x19095d=_0x4a37e2&&_0x4a37e2[_0x5cd3e9(0x1fd)];_0x19095d&&(this[_0x5cd3e9(0x1ed)](_0x19095d,_0x5cd3e9(0x1a8),()=>this[_0x5cd3e9(0x1df)]=_0x496bb9),this[_0x5cd3e9(0x1ed)](_0x19095d,_0x5cd3e9(0x1c3),()=>this[_0x5cd3e9(0x1df)]=_0x496bb9),this[_0x5cd3e9(0x1ed)](_0x19095d,_0x5cd3e9(0x192),()=>this[_0x5cd3e9(0x1df)]=null),this[_0x5cd3e9(0x1ed)](_0x19095d,_0x5cd3e9(0x1ab),()=>this[_0x5cd3e9(0x1df)]=null));}[_0x5b0771(0x1eb)](){const _0x4b0b3d=_0x5b0771,_0x2307ac=super[_0x4b0b3d(0x1eb)]();return _0x2307ac[_0x4b0b3d(0x1be)](_0x4b0b3d(0x1c8))['to'](this),_0x2307ac;}[_0x5b0771(0x198)](){const _0x32aec7=_0x5b0771;super[_0x32aec7(0x198)](),this[_0x32aec7(0x1a9)](this[_0x32aec7(0x1ea)],_0x32aec7(0x18f)),this[_0x32aec7(0x1a9)](this[_0x32aec7(0x204)],_0x32aec7(0x197));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x26d7b0=_0x1a00;(function(_0x395834,_0x4af109){var _0x41dd4d=_0x1a00,_0x2c549f=_0x395834();while(!![]){try{var _0x455b9c=-parseInt(_0x41dd4d(0xef))/0x1+parseInt(_0x41dd4d(0xf6))/0x2+parseInt(_0x41dd4d(0xf1))/0x3*(parseInt(_0x41dd4d(0xf3))/0x4)+-parseInt(_0x41dd4d(0xf7))/0x5*(parseInt(_0x41dd4d(0xeb))/0x6)+-parseInt(_0x41dd4d(0xed))/0x7+parseInt(_0x41dd4d(0xee))/0x8*(-parseInt(_0x41dd4d(0xec))/0x9)+parseInt(_0x41dd4d(0xf4))/0xa;if(_0x455b9c===_0x4af109)break;else _0x2c549f['push'](_0x2c549f['shift']());}catch(_0x9e1ef0){_0x2c549f['push'](_0x2c549f['shift']());}}}(_0x25d8,0xcb197));import{Plugin as _0x4a75a8}from'ckeditor5/src/core.js';import _0x40433f from'./comments/commentsrepository.js';import _0x2bc384 from'./comments/commentsediting.js';function _0x1a00(_0x434483,_0x51706a){var _0x25d8eb=_0x25d8();return _0x1a00=function(_0x1a008b,_0x2888ef){_0x1a008b=_0x1a008b-0xeb;var _0x4783bc=_0x25d8eb[_0x1a008b];return _0x4783bc;},_0x1a00(_0x434483,_0x51706a);}import _0x4e55d2 from'./comments/commentsui.js';import _0x318d9e from'./commentsonly.js';import _0xd9c76 from'./annotations/widesidebar.js';import _0x432c3d from'./annotations/narrowsidebar.js';function _0x25d8(){var _0x4b9402=['Comments','2118880wDqHID','3745iqklEY','3042BawAbl','205479bptFUx','8874803wyFhLL','8YiddZt','587299BCRaFN','pluginName','18wkTrBf','requires','340724hoZltp','15190710GEecAx'];_0x25d8=function(){return _0x4b9402;};return _0x25d8();}import _0x422eae from'./annotations/inlineannotations.js';import _0x41ef15 from'./comments/commentsarchiveui.js';import _0x3328b4 from'./comments/commentsarchive.js';export default class f extends _0x4a75a8{static get[_0x26d7b0(0xf2)](){return[_0x40433f,_0x2bc384,_0x4e55d2,_0x3328b4,_0x41ef15,_0x318d9e,_0xd9c76,_0x432c3d,_0x422eae];}static get[_0x26d7b0(0xf0)](){var _0x5e5fb7=_0x26d7b0;return _0x5e5fb7(0xf5);}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4e3171=_0x4d55;(function(_0x19aa4a,_0x12371f){const _0x197373=_0x4d55,_0x13fa4b=_0x19aa4a();while(!![]){try{const _0x3f9e6e=parseInt(_0x197373(0x194))/0x1*(parseInt(_0x197373(0x1a2))/0x2)+parseInt(_0x197373(0x18e))/0x3*(parseInt(_0x197373(0x18a))/0x4)+parseInt(_0x197373(0x180))/0x5*(parseInt(_0x197373(0x1a6))/0x6)+-parseInt(_0x197373(0x185))/0x7+parseInt(_0x197373(0x18b))/0x8*(-parseInt(_0x197373(0x184))/0x9)+parseInt(_0x197373(0x19d))/0xa*(-parseInt(_0x197373(0x197))/0xb)+parseInt(_0x197373(0x192))/0xc;if(_0x3f9e6e===_0x12371f)break;else _0x13fa4b['push'](_0x13fa4b['shift']());}catch(_0x19bbdb){_0x13fa4b['push'](_0x13fa4b['shift']());}}}(_0x331c,0x71885));import{Plugin as _0x46c38a}from'ckeditor5/src/core.js';import _0x54e5b8 from'./comments/commentsediting.js';function _0x4d55(_0x362a54,_0x153cad){const _0x331c26=_0x331c();return _0x4d55=function(_0x4d55b6,_0x185b35){_0x4d55b6=_0x4d55b6-0x17c;let _0x54d9f1=_0x331c26[_0x4d55b6];return _0x54d9f1;},_0x4d55(_0x362a54,_0x153cad);}function _0x331c(){const _0x2f9212=['set','11UzqNvF','delete','stop','affectsData','has','pluginName','6400030ZnuVIK','DragDrop','editor','afterInit','change:isEnabled','2yWQmil','document','_enableCommentsOnlyMode','addCommentThread','150TstCqw','clearForceDisabled','highest','get','requires','editing','22615AJXlsi','cut','commands','clipboardInput','1179FgHhOT','4866953xiSqko','plugins','forceDisabled','config','stopListening','13836IYKEQm','20616AnEdpz','CommentsOnly','commentsOnly','351hzeMZY','isEnabled','view','commentsOnlyMode','9128724ZBaIon','listenTo','859393mLwNMj','_disableCommentsOnlyMode'];_0x331c=function(){return _0x2f9212;};return _0x331c();}export default class e extends _0x46c38a{static get[_0x4e3171(0x19c)](){const _0x4cdfb8=_0x4e3171;return _0x4cdfb8(0x18c);}static get[_0x4e3171(0x17e)](){return[_0x54e5b8];}constructor(_0x51c304){const _0x52d24a=_0x4e3171;super(_0x51c304),this[_0x52d24a(0x196)](_0x52d24a(0x18f),!0x1),this['on'](_0x52d24a(0x1a1),(_0x29a05d,_0x1d8098,_0x477889)=>{const _0x208645=_0x52d24a;_0x477889?this[_0x208645(0x1a4)]():this[_0x208645(0x195)]();});}[_0x4e3171(0x1a0)](){const _0x46e131=_0x4e3171;!this[_0x46e131(0x18f)]&&this[_0x46e131(0x19f)][_0x46e131(0x188)][_0x46e131(0x17d)](_0x46e131(0x18d))&&(this[_0x46e131(0x18f)]=!0x0);}[_0x4e3171(0x1a4)](){const _0x429edf=_0x4e3171;for(const [_0x3de733,_0x266026]of this[_0x429edf(0x19f)][_0x429edf(0x182)])_0x266026[_0x429edf(0x19a)]&&_0x429edf(0x1a5)!==_0x3de733&&_0x266026[_0x429edf(0x187)](_0x429edf(0x191));this[_0x429edf(0x19f)][_0x429edf(0x186)][_0x429edf(0x19b)](_0x429edf(0x19e))&&this[_0x429edf(0x19f)][_0x429edf(0x186)][_0x429edf(0x17d)](_0x429edf(0x19e))[_0x429edf(0x187)](_0x429edf(0x191));const _0x27291b=this[_0x429edf(0x19f)][_0x429edf(0x17f)][_0x429edf(0x190)][_0x429edf(0x1a3)];this[_0x429edf(0x193)](_0x27291b,_0x429edf(0x181),_0x4bad5a=>_0x4bad5a[_0x429edf(0x199)](),{'priority':_0x429edf(0x17c)}),this[_0x429edf(0x193)](_0x27291b,_0x429edf(0x183),_0x271669=>_0x271669[_0x429edf(0x199)](),{'priority':_0x429edf(0x17c)}),this[_0x429edf(0x193)](_0x27291b,_0x429edf(0x198),_0x4da61d=>_0x4da61d[_0x429edf(0x199)](),{'priority':_0x429edf(0x17c)});}[_0x4e3171(0x195)](){const _0x26e012=_0x4e3171;for(const [_0x5d970c,_0x1219ce]of this[_0x26e012(0x19f)][_0x26e012(0x182)])_0x1219ce[_0x26e012(0x19a)]&&_0x26e012(0x1a5)!==_0x5d970c&&_0x1219ce[_0x26e012(0x1a7)](_0x26e012(0x191));this[_0x26e012(0x189)](this[_0x26e012(0x19f)][_0x26e012(0x17f)][_0x26e012(0x190)][_0x26e012(0x1a3)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x32df22,_0x520a60){var _0x5af4af=_0x2e2d,_0x1b8932=_0x32df22();while(!![]){try{var _0x5ef5ff=-parseInt(_0x5af4af(0x1b8))/0x1*(parseInt(_0x5af4af(0x1bb))/0x2)+parseInt(_0x5af4af(0x1be))/0x3+parseInt(_0x5af4af(0x1c1))/0x4*(parseInt(_0x5af4af(0x1bd))/0x5)+-parseInt(_0x5af4af(0x1b7))/0x6*(parseInt(_0x5af4af(0x1b9))/0x7)+parseInt(_0x5af4af(0x1bf))/0x8+-parseInt(_0x5af4af(0x1c0))/0x9*(-parseInt(_0x5af4af(0x1bc))/0xa)+-parseInt(_0x5af4af(0x1ba))/0xb;if(_0x5ef5ff===_0x520a60)break;else _0x1b8932['push'](_0x1b8932['shift']());}catch(_0x1503a8){_0x1b8932['push'](_0x1b8932['shift']());}}}(_0x4242,0xc9352));export{default as Comments}from'./comments.js';export{default as CommentsOnly}from'./commentsonly.js';function _0x2e2d(_0x14b591,_0x4b1cfa){var _0x4242b3=_0x4242();return _0x2e2d=function(_0x2e2d31,_0x4ad5f2){_0x2e2d31=_0x2e2d31-0x1b7;var _0xd194bf=_0x4242b3[_0x2e2d31];return _0xd194bf;},_0x2e2d(_0x14b591,_0x4b1cfa);}export{default as CommentsUI}from'./comments/commentsui.js';export{default as CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{default as Annotation}from'./annotations/annotation.js';export{default as Annotations}from'./annotations/annotations.js';export{default as AnnotationCollection}from'./annotations/annotationcollection.js';export{default as AnnotationsUIs}from'./annotations/annotationsuis.js';function _0x4242(){var _0x5406ac=['12722104KCiVfJ','432ZPguQS','232mlCMEz','78zyGtwH','22yfqKHi','738731wKpuHN','32042934QosFXc','29338BRydfP','262490MJTYHW','86495tZGBgH','4734690OmCohJ'];_0x4242=function(){return _0x5406ac;};return _0x4242();}export{default as EditorAnnotations}from'./annotations/editorannotations.js';export{default as InlineAnnotations}from'./annotations/inlineannotations.js';export{default as WideSidebar}from'./annotations/widesidebar.js';export{default as NarrowSidebar}from'./annotations/narrowsidebar.js';export{default as AnnotationView}from'./annotations/view/annotationview.js';export{default as BaseCommentView}from'./comments/ui/view/basecommentview.js';export{default as BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{default as CommentsListView}from'./comments/ui/view/commentslistview.js';export{default as CommentView}from'./comments/ui/view/commentview.js';export{default as CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{default as CommentsArchive}from'./comments/commentsarchive.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x1de2d3,_0x47ffc1,_0x135462){const t=_0x1de2d3['t'];switch(_0x47ffc1){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'},_0x135462);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'},_0x135462);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'},_0x135462);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'},_0x135462);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x135462);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'},_0x135462);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'},_0x135462);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'},_0x135462);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 _0x4930(){const _0x1840d3=['1957116uAtWzE','525mGVwtZ','attributeName','229158omOjlj','1370037sabGie','observe','292923tYcrZS','childList','disconnect','4iiDKfJ','190YYRnex','802765tdOODV','type','3814600raMAeJ','attributes','cancel','class','89872rvhBZq','characterData'];_0x4930=function(){return _0x1840d3;};return _0x4930();}function _0x306b(_0x5d45a2,_0x5ccd35){const _0x493007=_0x4930();return _0x306b=function(_0x306be0,_0x856477){_0x306be0=_0x306be0-0x141;let _0xab75ef=_0x493007[_0x306be0];return _0xab75ef;},_0x306b(_0x5d45a2,_0x5ccd35);}(function(_0x1acc08,_0x23d06b){const _0x5e0128=_0x306b,_0x4c5108=_0x1acc08();while(!![]){try{const _0x2d36e0=parseInt(_0x5e0128(0x152))/0x1*(-parseInt(_0x5e0128(0x145))/0x2)+parseInt(_0x5e0128(0x153))/0x3+-parseInt(_0x5e0128(0x149))/0x4+-parseInt(_0x5e0128(0x147))/0x5+parseInt(_0x5e0128(0x14f))/0x6+-parseInt(_0x5e0128(0x150))/0x7*(-parseInt(_0x5e0128(0x14d))/0x8)+-parseInt(_0x5e0128(0x142))/0x9*(-parseInt(_0x5e0128(0x146))/0xa);if(_0x2d36e0===_0x23d06b)break;else _0x4c5108['push'](_0x4c5108['shift']());}catch(_0x469a3a){_0x4c5108['push'](_0x4c5108['shift']());}}}(_0x4930,0xa3e39));import{throttle as _0x3bffd9}from'lodash-es';export default function J(_0x4347d4){const _0x14e77e=_0x3bffd9(_0x4347d4,0x1e),_0x5b9ec7=new MutationObserver(_0x6e8075=>{const _0x58c856=_0x306b;for(const _0x1dd76f of _0x6e8075)(_0x58c856(0x14a)==_0x1dd76f[_0x58c856(0x148)]&&_0x58c856(0x14c)==_0x1dd76f[_0x58c856(0x151)]||_0x58c856(0x143)==_0x1dd76f[_0x58c856(0x148)]||_0x58c856(0x14e)==_0x1dd76f[_0x58c856(0x148)])&&_0x14e77e();});return{'attach'(_0x19b007){const _0x1a8707=_0x306b;_0x5b9ec7[_0x1a8707(0x141)](_0x19b007,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x2681c9=_0x306b;_0x5b9ec7[_0x2681c9(0x144)](),_0x14e77e[_0x2681c9(0x14b)]();}};}
|