@ckeditor/ckeditor5-comments 43.0.0-alpha.6 → 43.1.0-alpha.0
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/build/translations/gl.js +1 -1
- package/dist/annotations/annotation.d.ts +7 -0
- package/dist/comments/commentsediting.d.ts +2 -1
- package/dist/comments/commentsrepository.d.ts +0 -12
- package/dist/index.d.ts +6 -3
- 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/lang/translations/gl.po +17 -17
- package/package.json +15 -14
- package/src/annotations/annotation.d.ts +7 -0
- 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.d.ts +2 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.d.ts +0 -12
- 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.d.ts +6 -3
- 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 _0xe60054=_0x1e4c;function _0x1e4c(_0x2baf98,_0x48ca48){const _0x22ed05=_0x22ed();return _0x1e4c=function(_0x1e4c57,_0x2379e6){_0x1e4c57=_0x1e4c57-0x70;let _0x5bc46a=_0x22ed05[_0x1e4c57];return _0x5bc46a;},_0x1e4c(_0x2baf98,_0x48ca48);}function _0x22ed(){const _0xe6b812=['presentation','auto','focusPrevious','1316320PsfEkF','34872350BoTBDM','790340FuYvJm','COMMENTS_ARCHIVE_LIST_LABEL','2110712uYLjGW','listenTo','1092042DZmlIL','_annotationViews','focusFirst','destroy','delegate','element','focusNext','EMPTY_COMMENTS_ARCHIVE','change','4gpySfi','remove','list','length','isEmpty','ck-comments-archive','focus','438831jUzDkS','arrowup','div','_setupKeyboardNavigation','16eslNZQ','ck-comments-archive__info','ck-hidden','first','ck-comments-archive__content','set','arrowdown','add','bindTemplate','focusTracker','focusCycler','6689808pbiBQg','setTemplate','render','30DDqAJH','isActive'];_0x22ed=function(){return _0xe6b812;};return _0x22ed();}(function(_0x48f7dd,_0x5ca0cb){const _0xb52480=_0x1e4c,_0x1fdacb=_0x48f7dd();while(!![]){try{const _0x2ea27d=-parseInt(_0xb52480(0x94))/0x1+-parseInt(_0xb52480(0x76))/0x2*(-parseInt(_0xb52480(0x7d))/0x3)+-parseInt(_0xb52480(0x98))/0x4+parseInt(_0xb52480(0x96))/0x5*(-parseInt(_0xb52480(0x8f))/0x6)+-parseInt(_0xb52480(0x9a))/0x7*(-parseInt(_0xb52480(0x81))/0x8)+-parseInt(_0xb52480(0x8c))/0x9+parseInt(_0xb52480(0x95))/0xa;if(_0x2ea27d===_0x5ca0cb)break;else _0x1fdacb['push'](_0x1fdacb['shift']());}catch(_0x4711f5){_0x1fdacb['push'](_0x1fdacb['shift']());}}}(_0x22ed,0xae5a7));import{View as _0xe401b9,FocusCycler as _0xea9891}from'ckeditor5/src/ui.js';import{FocusTracker as _0x49b0c1}from'ckeditor5/src/utils.js';import{getTranslation as _0x20d8f1}from'../../../utils/common-translations.js';export default class tt extends _0xe401b9{constructor(_0x2928f4,_0x245f34){const _0x19b9cd=_0x1e4c;super(_0x2928f4),this[_0x19b9cd(0x86)](_0x19b9cd(0x7a),!_0x245f34[_0x19b9cd(0x79)]),this[_0x19b9cd(0x8a)]=new _0x49b0c1(),this[_0x19b9cd(0x9b)]=_0x245f34,this[_0x19b9cd(0x9b)][_0x19b9cd(0x71)](_0x19b9cd(0x7e),_0x19b9cd(0x87))['to'](this),this['on'](_0x19b9cd(0x7e),()=>{const _0x5ecd6b=_0x19b9cd;this[_0x5ecd6b(0x8b)][_0x5ecd6b(0x93)]();}),this['on'](_0x19b9cd(0x87),()=>{const _0x473759=_0x19b9cd;this[_0x473759(0x8b)][_0x473759(0x73)]();}),this[_0x19b9cd(0x8b)]=new _0xea9891({'focusables':_0x245f34,'focusTracker':this[_0x19b9cd(0x8a)]}),this[_0x19b9cd(0x99)](_0x245f34,_0x19b9cd(0x88),()=>{const _0x536afe=_0x19b9cd;this[_0x536afe(0x7a)]=!0x1;}),this[_0x19b9cd(0x99)](_0x245f34,_0x19b9cd(0x77),(_0x46c8d0,_0x472c18)=>{const _0x47e1e8=_0x19b9cd;_0x472c18[_0x47e1e8(0x90)]&&this[_0x47e1e8(0x7c)](),_0x245f34[_0x47e1e8(0x79)]||(this[_0x47e1e8(0x7a)]=!0x0);});const _0xc8c8b6=this[_0x19b9cd(0x89)];this[_0x19b9cd(0x8d)]({'tag':_0x19b9cd(0x7f),'attributes':{'dir':_0x19b9cd(0x92),'class':['ck',_0x19b9cd(0x7b)],'tabindex':-0x1,'role':_0x19b9cd(0x78),'aria-label':_0x20d8f1(_0x2928f4,_0x19b9cd(0x97))},'children':[{'tag':_0x19b9cd(0x7f),'attributes':{'class':[_0x19b9cd(0x85)],'role':_0x19b9cd(0x91)},'children':[{'tag':_0x19b9cd(0x7f),'attributes':{'role':_0x19b9cd(0x91)},'children':_0x245f34},{'tag':'p','attributes':{'class':[_0x19b9cd(0x82),_0xc8c8b6['if'](_0x19b9cd(0x7a),_0x19b9cd(0x83),_0x1ed680=>!_0x1ed680)]},'children':[{'text':_0x20d8f1(_0x2928f4,_0x19b9cd(0x74))}]}]}]});}[_0xe60054(0x8e)](){const _0x3ce522=_0xe60054;super[_0x3ce522(0x8e)](),this[_0x3ce522(0x80)]();}[_0xe60054(0x70)](){const _0x975110=_0xe60054;super[_0x975110(0x70)](),this[_0x975110(0x8a)][_0x975110(0x70)]();}[_0xe60054(0x7c)](){const _0x3ed848=_0xe60054;this[_0x3ed848(0x8b)][_0x3ed848(0x84)]?this[_0x3ed848(0x8b)][_0x3ed848(0x9c)]():this[_0x3ed848(0x72)][_0x3ed848(0x7c)]();}[_0xe60054(0x80)](){const _0x2aa8dd=_0xe60054;for(const _0x58eefd of this[_0x2aa8dd(0x9b)])this[_0x2aa8dd(0x8a)][_0x2aa8dd(0x88)](_0x58eefd[_0x2aa8dd(0x72)]);this[_0x2aa8dd(0x9b)]['on'](_0x2aa8dd(0x75),(_0x116996,{added:_0x14f104,removed:_0x257805})=>{const _0x3bbd56=_0x2aa8dd;for(const _0x360ca7 of _0x14f104)this[_0x3bbd56(0x8a)][_0x3bbd56(0x88)](_0x360ca7[_0x3bbd56(0x72)]);for(const _0x44ec73 of _0x257805)this[_0x3bbd56(0x8a)][_0x3bbd56(0x77)](_0x44ec73[_0x3bbd56(0x72)]);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3a65be=_0x3445;(function(_0x15fd5e,_0x11b50c){const _0x672bae=_0x3445,_0x45c3e4=_0x15fd5e();while(!![]){try{const _0x4672ad=parseInt(_0x672bae(0xec))/0x1+-parseInt(_0x672bae(0xf3))/0x2*(-parseInt(_0x672bae(0x102))/0x3)+parseInt(_0x672bae(0xe9))/0x4+parseInt(_0x672bae(0xf6))/0x5*(-parseInt(_0x672bae(0xab))/0x6)+-parseInt(_0x672bae(0xd3))/0x7+-parseInt(_0x672bae(0xac))/0x8+parseInt(_0x672bae(0xc6))/0x9*(-parseInt(_0x672bae(0xf1))/0xa);if(_0x4672ad===_0x11b50c)break;else _0x45c3e4['push'](_0x45c3e4['shift']());}catch(_0x396cb7){_0x45c3e4['push'](_0x45c3e4['shift']());}}}(_0x5052,0x9abe4));function _0x3445(_0x480883,_0xefdb00){const _0x5052bc=_0x5052();return _0x3445=function(_0x344522,_0xbaf360){_0x344522=_0x344522-0xa9;let _0x3f552b=_0x5052bc[_0x344522];return _0x3f552b;},_0x3445(_0x480883,_0xefdb00);}import{View as _0x5681f0,FocusCycler as _0x4497ed}from'ckeditor5/src/ui.js';import{diff as _0x10771c,Collection as _0x305846,FocusTracker as _0x371496,KeystrokeHandler as _0x3c4812}from'ckeditor5/src/utils.js';import{getTranslation as _0x283cbc}from'../../../utils/common-translations.js';import _0x41be28 from'./collapsedcommentsview.js';function _0x5052(){const _0x2cfc13=['change:isActive','Marked\x20as\x20resolved','_handleInfoComment','maxCommentsWhenCollapsed','isActive','weight','change:hasDirtyComment','ck-hidden','resolvedAt','createCollection','added','editorDestroyed','focusTracker','focusCycler','_config','_calculatePosition','change','removeComment','expand','_model','focusFirst','11277cszDDF','hasDirtyComment','editorConfig','ck-thread__comments','get','remove','length','arrowdown','setTemplate','delete','equal','bind','collapse','646954iBslyG','from','editorReady','delegate','resolvedCommentView','change:isEditMode','visibleViews','locale','forEach','resolvedBy','_collapsedCommentsView','focusLast','arrowup','keystrokes','add','formatDateTime','authoredAt','_rearrangeExpand','render','listenTo','_setupKeyboardNavigation','commentViews','4663764OTTwnC','_handleRemoveCommentModel','maxThreadTotalWeight','784298mwqlOe','refreshVisibleViews','target','updateComment','maxCommentCharsWhenCollapsed','4470CuOLvQ','count','554530GvSQMi','_shouldCollapse','viewUid','4010IRYZyn','resolved','change:isResolved','resolveCommentThread','removed','CommentView','focus','set','stopListening','element','destroy','includes','3ednmHL','some','map','commentUpdated','insert','reverse','isEditMode','_updateHasDirtyComment','_findOptimalIndex','_rearrangeCollapse','6426dTKUtb','657768HEobKQ','bindTemplate','Thread\x20comments','_handleNewCommentModel','comments'];_0x5052=function(){return _0x2cfc13;};return _0x5052();}export default class kt extends _0x5681f0{constructor(_0x1765e2,_0x5ef53b,_0x24f686){const _0x6d6deb=_0x3445;super(_0x1765e2);const _0x4f9f52=this[_0x6d6deb(0xad)];this[_0x6d6deb(0xfd)](_0x6d6deb(0xc7),!0x1),this[_0x6d6deb(0xfd)](_0x6d6deb(0xcc),_0x5ef53b[_0x6d6deb(0xb0)][_0x6d6deb(0xcc)]),this[_0x6d6deb(0xfd)](_0x6d6deb(0xb5),!0x1),this[_0x6d6deb(0xc4)]=_0x5ef53b,this[_0x6d6deb(0xbf)]=_0x24f686,this[_0x6d6deb(0xe8)]=this[_0x6d6deb(0xba)](),this[_0x6d6deb(0xd9)]=this[_0x6d6deb(0xba)](),this[_0x6d6deb(0xd7)]=null,this[_0x6d6deb(0xbd)]=new _0x371496(),this[_0x6d6deb(0xe0)]=new _0x3c4812(),this[_0x6d6deb(0xbe)]=new _0x4497ed({'focusables':this[_0x6d6deb(0xe8)],'focusTracker':this[_0x6d6deb(0xbd)],'keystrokeHandler':this[_0x6d6deb(0xe0)],'keystrokeHandlerOptions':{'filter':_0x1309e1=>this[_0x6d6deb(0xe8)][_0x6d6deb(0x104)](_0x16f72d=>_0x16f72d[_0x6d6deb(0xff)])[_0x6d6deb(0x101)](_0x1309e1[_0x6d6deb(0xee)])},'actions':{'focusPrevious':_0x6d6deb(0xdf),'focusNext':_0x6d6deb(0xcd)}}),this[_0x6d6deb(0xdd)]=new _0x41be28(_0x1765e2),this[_0x6d6deb(0xdd)][_0x6d6deb(0xd1)](_0x6d6deb(0xf2))['to'](this,_0x6d6deb(0xcc),_0x34ee39=>_0x34ee39-this[_0x6d6deb(0xbf)][_0x6d6deb(0xb4)]);for(const _0x21d0a6 of _0x5ef53b[_0x6d6deb(0xb0)])this[_0x6d6deb(0xaf)](_0x21d0a6);this[_0x6d6deb(0xb3)](),this[_0x6d6deb(0xe6)](_0x5ef53b[_0x6d6deb(0xb0)],_0x6d6deb(0xe1),(_0x550df1,_0x574c94)=>{const _0x4d1fed=_0x6d6deb,_0x21f036=this[_0x4d1fed(0xc0)](_0x574c94);this[_0x4d1fed(0xcc)]++,this[_0x4d1fed(0xaf)](_0x574c94,_0x21f036),this[_0x4d1fed(0xed)]();}),this[_0x6d6deb(0xe6)](_0x5ef53b[_0x6d6deb(0xb0)],_0x6d6deb(0xcb),(_0xeee708,_0x1bb8dd)=>{const _0x2e848d=_0x6d6deb;this[_0x2e848d(0xcc)]--,this[_0x2e848d(0xea)](_0x1bb8dd),this[_0x2e848d(0xed)]();}),this[_0x6d6deb(0xe6)](_0x5ef53b,_0x6d6deb(0x105),()=>this[_0x6d6deb(0xed)]()),this[_0x6d6deb(0xe6)](_0x5ef53b,_0x6d6deb(0xf8),()=>this[_0x6d6deb(0xb3)]()),this['on'](_0x6d6deb(0xb1),()=>this[_0x6d6deb(0xed)]()),this['on'](_0x6d6deb(0xb7),()=>this[_0x6d6deb(0xed)]()),this[_0x6d6deb(0xce)]({'tag':'ul','attributes':{'class':[_0x6d6deb(0xc9),_0x4f9f52['if'](_0x6d6deb(0xcc),_0x6d6deb(0xb8),_0x3ca9be=>!_0x3ca9be)],'aria-label':_0x283cbc(_0x1765e2,_0x6d6deb(0xae))},'children':this[_0x6d6deb(0xd9)]});}get[_0x3a65be(0xf4)](){const _0x4bf71e=_0x3a65be;return this[_0x4bf71e(0xc4)][_0x4bf71e(0xb6)]>this[_0x4bf71e(0xbf)][_0x4bf71e(0xeb)]&&!this[_0x4bf71e(0xb5)]&&!this[_0x4bf71e(0xc7)];}[_0x3a65be(0xe5)](){const _0x63a0a1=_0x3a65be;super[_0x63a0a1(0xe5)](),this[_0x63a0a1(0xed)](),this[_0x63a0a1(0xe7)]();}[_0x3a65be(0xfc)](_0x2ae345){const _0x36f7e1=_0x3a65be;-0x1===_0x2ae345?this[_0x36f7e1(0xbe)][_0x36f7e1(0xde)]():this[_0x36f7e1(0xbe)][_0x36f7e1(0xc5)]();}[_0x3a65be(0x100)](){const _0x3d17f8=_0x3a65be;this[_0x3d17f8(0xdd)][_0x3d17f8(0x100)]();for(const _0x46d77b of this[_0x3d17f8(0xe8)])_0x46d77b[_0x3d17f8(0x100)]();super[_0x3d17f8(0x100)]();}[_0x3a65be(0xed)](){const _0x17b3c8=_0x3a65be;this[_0x17b3c8(0xf4)]?this[_0x17b3c8(0xaa)]():this[_0x17b3c8(0xe4)]();}[_0x3a65be(0xaf)](_0x37df7c,_0x1511a8){const _0x241e5a=_0x3a65be,_0x10b799=new this[(_0x241e5a(0xbf))][(_0x241e5a(0xfb))](this[_0x241e5a(0xda)],_0x37df7c,{'maxCommentCharsWhenCollapsed':this[_0x241e5a(0xbf)][_0x241e5a(0xf0)],'formatDateTime':this[_0x241e5a(0xbf)][_0x241e5a(0xe2)],'editorConfig':this[_0x241e5a(0xbf)][_0x241e5a(0xc8)]});_0x10b799[_0x241e5a(0xf5)]=_0x37df7c['id'],_0x10b799[_0x241e5a(0xd6)](_0x241e5a(0xc2))['to'](this),_0x10b799[_0x241e5a(0xd6)](_0x241e5a(0xef))['to'](this),_0x10b799[_0x241e5a(0xd6)](_0x241e5a(0xf9))['to'](this),_0x10b799[_0x241e5a(0xd6)](_0x241e5a(0xd5))['to'](this),_0x10b799[_0x241e5a(0xd6)](_0x241e5a(0xbc))['to'](this),this[_0x241e5a(0xe6)](_0x10b799,_0x241e5a(0xd8),()=>this[_0x241e5a(0x109)]()),this[_0x241e5a(0xe8)][_0x241e5a(0xe1)](_0x10b799,_0x1511a8);}[_0x3a65be(0xc0)](_0x404d9f){const _0x3333bd=_0x3a65be,_0x173aa0=this[_0x3333bd(0xc4)][_0x3333bd(0xa9)](_0x404d9f);return this[_0x3333bd(0xd7)]?this[_0x3333bd(0xd7)][_0x3333bd(0xe3)]>_0x404d9f[_0x3333bd(0xe3)]?_0x173aa0-0x1:_0x173aa0:_0x173aa0-0x1;}[_0x3a65be(0xb3)](){const _0x2819dd=_0x3a65be;if(this[_0x2819dd(0xc4)][_0x2819dd(0xdc)]&&this[_0x2819dd(0xc4)][_0x2819dd(0xb9)]){const _0x8b51c7={'id':_0x2819dd(0xf7),'author':this[_0x2819dd(0xc4)][_0x2819dd(0xdc)],'authoredAt':this[_0x2819dd(0xc4)][_0x2819dd(0xb9)],'content':_0x283cbc(this[_0x2819dd(0xda)],_0x2819dd(0xb2)),'attributes':{}};this[_0x2819dd(0xd7)]=new this[(_0x2819dd(0xbf))][(_0x2819dd(0xfb))](this[_0x2819dd(0xda)],_0x8b51c7,{'maxCommentCharsWhenCollapsed':this[_0x2819dd(0xbf)][_0x2819dd(0xf0)],'formatDateTime':this[_0x2819dd(0xbf)][_0x2819dd(0xe2)],'editorConfig':this[_0x2819dd(0xbf)][_0x2819dd(0xc8)],'isSystemComment':!0x0}),this[_0x2819dd(0xe8)][_0x2819dd(0xe1)](this[_0x2819dd(0xd7)],this[_0x2819dd(0xc4)][_0x2819dd(0xa9)](_0x8b51c7));}else this[_0x2819dd(0xd7)]&&(this[_0x2819dd(0xe8)][_0x2819dd(0xcb)](this[_0x2819dd(0xd7)]),this[_0x2819dd(0xd7)][_0x2819dd(0x100)](),this[_0x2819dd(0xd7)]=null);this[_0x2819dd(0xed)]();}[_0x3a65be(0xea)](_0x22e957){const _0x2a48fd=_0x3a65be,_0x11717c=this[_0x2a48fd(0xe8)][_0x2a48fd(0xcb)](_0x22e957['id']);this[_0x2a48fd(0xfe)](_0x11717c),_0x11717c[_0x2a48fd(0x108)]&&this[_0x2a48fd(0x109)](),_0x11717c[_0x2a48fd(0x100)]();}[_0x3a65be(0x109)](){const _0x5548eb=_0x3a65be;this[_0x5548eb(0xc7)]=Array[_0x5548eb(0xd4)](this[_0x5548eb(0xe8)])[_0x5548eb(0x103)](_0x47e249=>_0x47e249[_0x5548eb(0x108)]);}[_0x3a65be(0xaa)](){const _0x49dc49=_0x3a65be,_0x273d22=function(_0x24f760){const _0x2a22e9=_0x3445,_0x56c420=new _0x305846();for(const _0x96bfe5 of _0x24f760)_0x56c420[_0x2a22e9(0xe1)](_0x96bfe5);return _0x56c420;}(this[_0x49dc49(0xe8)]),_0x58f2b6=this[_0x49dc49(0xdd)][_0x49dc49(0xf2)];for(let _0x299fd5=0x1;_0x299fd5<=_0x58f2b6;_0x299fd5++)_0x273d22[_0x49dc49(0xcb)](0x1);for(const _0x43ba2d of _0x273d22)_0x43ba2d[_0x49dc49(0xd2)]();_0x58f2b6>0x0&&_0x273d22[_0x49dc49(0xe1)](this[_0x49dc49(0xdd)],0x1),ms(_0x10771c(Array[_0x49dc49(0xd4)](this[_0x49dc49(0xd9)]),Array[_0x49dc49(0xd4)](_0x273d22)),this[_0x49dc49(0xd9)],_0x273d22);}[_0x3a65be(0xe4)](){const _0x32946c=_0x3a65be;ms(_0x10771c(Array[_0x32946c(0xd4)](this[_0x32946c(0xd9)]),Array[_0x32946c(0xd4)](this[_0x32946c(0xe8)])),this[_0x32946c(0xd9)],this[_0x32946c(0xe8)]);for(const _0xcd3801 of this[_0x32946c(0xd9)])_0xcd3801[_0x32946c(0xc3)]();}[_0x3a65be(0xe7)](){const _0x4fa8c2=_0x3a65be;this[_0x4fa8c2(0xe8)][_0x4fa8c2(0xdb)](_0x3f6aa2=>{const _0x8f13a=_0x4fa8c2;this[_0x8f13a(0xbd)][_0x8f13a(0xe1)](_0x3f6aa2[_0x8f13a(0xff)]),this[_0x8f13a(0xe0)][_0x8f13a(0xe6)](_0x3f6aa2[_0x8f13a(0xff)]);}),this[_0x4fa8c2(0xe8)]['on'](_0x4fa8c2(0xc1),(_0x191568,_0x315258)=>{const _0x574634=_0x4fa8c2;for(const _0x14bea1 of _0x315258[_0x574634(0xfa)])this[_0x574634(0xbd)][_0x574634(0xcb)](_0x14bea1[_0x574634(0xff)]),this[_0x574634(0xe0)][_0x574634(0xfe)](_0x14bea1[_0x574634(0xff)]);for(const _0x3611af of Array[_0x574634(0xd4)](_0x315258[_0x574634(0xbb)])[_0x574634(0x107)]())this[_0x574634(0xbd)][_0x574634(0xe1)](_0x3611af[_0x574634(0xff)]),this[_0x574634(0xe0)][_0x574634(0xe6)](_0x3611af[_0x574634(0xff)]);});}}function ms(_0x5622f0,_0x238ad5,_0x18a630){const _0x25a548=_0x3a65be;let _0x3acf7a=0x0;for(const _0x85803c of _0x5622f0)switch(_0x85803c){case _0x25a548(0x106):_0x238ad5[_0x25a548(0xe1)](_0x18a630[_0x25a548(0xca)](_0x3acf7a),_0x3acf7a),_0x3acf7a++;break;case _0x25a548(0xcf):_0x238ad5[_0x25a548(0xcb)](_0x3acf7a);break;case _0x25a548(0xd0):_0x3acf7a++;}}
|
|
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++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2444f5=_0x10f2;function _0x10f2(_0x19c631,_0x34721e){const _0x1417db=_0x1417();return _0x10f2=function(_0x10f20a,_0xbb51aa){_0x10f20a=_0x10f20a-0x17f;let _0x361ca9=_0x1417db[_0x10f20a];return _0x361ca9;},_0x10f2(_0x19c631,_0x34721e);}(function(_0x18e080,_0x31175a){const _0x489cdc=_0x10f2,_0x1dcebd=_0x18e080();while(!![]){try{const _0x433f16=-parseInt(_0x489cdc(0x192))/0x1*(-parseInt(_0x489cdc(0x18b))/0x2)+-parseInt(_0x489cdc(0x187))/0x3*(parseInt(_0x489cdc(0x18d))/0x4)+-parseInt(_0x489cdc(0x18c))/0x5*(parseInt(_0x489cdc(0x181))/0x6)+-parseInt(_0x489cdc(0x185))/0x7*(-parseInt(_0x489cdc(0x180))/0x8)+-parseInt(_0x489cdc(0x183))/0x9+parseInt(_0x489cdc(0x190))/0xa+parseInt(_0x489cdc(0x18e))/0xb;if(_0x433f16===_0x31175a)break;else _0x1dcebd['push'](_0x1dcebd['shift']());}catch(_0x3320ca){_0x1dcebd['push'](_0x1dcebd['shift']());}}}(_0x1417,0xc2fcd));import{View as _0x45aa14}from'ckeditor5/src/ui.js';function _0x1417(){const _0x2ddd1e=['focus','THREAD_CONTEXT_LABEL','element','16888vXrRaY','20zTrtwq','324xvRhFY','24449667YAEPzU','contextValue','2805840VRkJRi','bindTemplate','167gvdzNO','setTemplate','24LEqFOP','1935564SrCXnt','ck-context__value','5498712ycnVHZ','set','212541SaUONG','span','48315pHzets'];_0x1417=function(){return _0x2ddd1e;};return _0x1417();}import{getTranslation as _0x2f598d}from'../../../utils/common-translations.js';export default class ls extends _0x45aa14{constructor(_0x562194){const _0x4bf4b2=_0x10f2;super(_0x562194);const _0x3b9d37=this[_0x4bf4b2(0x191)];this[_0x4bf4b2(0x184)](_0x4bf4b2(0x18f),''),this[_0x4bf4b2(0x17f)]({'tag':_0x4bf4b2(0x186),'attributes':{'class':['ck',_0x4bf4b2(0x182)],'aria-label':_0x3b9d37['to'](_0x4bf4b2(0x18f),_0x20057b=>_0x2f598d(_0x562194,_0x4bf4b2(0x189),_0x20057b)),'tabindex':-0x1},'children':[{'text':_0x3b9d37['to'](_0x4bf4b2(0x18f))}]});}[_0x2444f5(0x188)](){const _0x42275a=_0x2444f5;this[_0x42275a(0x18a)][_0x42275a(0x188)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x383246=_0x3c72;(function(_0x2039fa,_0x561956){const _0x325097=_0x3c72,_0xb71be3=_0x2039fa();while(!![]){try{const _0x5d90b8=-parseInt(_0x325097(0x11d))/0x1+parseInt(_0x325097(0xe1))/0x2+parseInt(_0x325097(0xe7))/0x3*(parseInt(_0x325097(0xdf))/0x4)+parseInt(_0x325097(0x100))/0x5+parseInt(_0x325097(0xf1))/0x6*(parseInt(_0x325097(0x120))/0x7)+parseInt(_0x325097(0xfa))/0x8*(-parseInt(_0x325097(0xeb))/0x9)+-parseInt(_0x325097(0x10f))/0xa*(parseInt(_0x325097(0xea))/0xb);if(_0x5d90b8===_0x561956)break;else _0xb71be3['push'](_0xb71be3['shift']());}catch(_0x47c8f3){_0xb71be3['push'](_0xb71be3['shift']());}}}(_0x3482,0x89e7c));import{View as _0x2d57b0,ButtonView as _0x6cab4c,FocusCycler as _0x4ab8bd}from'ckeditor5/src/ui.js';import{FocusTracker as _0xf50c11,KeystrokeHandler as _0x3cedfb}from'ckeditor5/src/utils.js';import{getTranslation as _0xeaa25d}from'../../../utils/common-translations.js';import _0x38fc5a from'../../../../theme/icons/undo.svg';import _0x112d04 from'./commentthreadheadercontextview.js';function _0x3c72(_0xfb4cac,_0x47c737){const _0x348269=_0x3482();return _0x3c72=function(_0x3c7228,_0x334635){_0x3c7228=_0x3c7228-0xdf;let _0x993c74=_0x348269[_0x3c7228];return _0x993c74;},_0x3c72(_0xfb4cac,_0x47c737);}export const MAX_CONTENT_LENGTH=0x96;function _0x3482(){const _0x42701b=['11DBoFpH','18cWBGVL','querySelector','element','.ck-context','setTemplate','hasContext','18NYQYpe','label','icon','fire','scrollWidth','render','tooltip','ck-context','classList','1667280csiHsU','_model','_createReopenButton','bind','add','listenTo','3371030OmujWm','isResolved','keystrokes','ck-context--quotes','length','reopenCommentThread','isResolvable','div','_attachContextActions','focusCycler','bindTemplate','mouseenter','reopenButtonView','value','lastIndexOf','21522040nlJciA','...','_createContextView','isEnabled','focusTracker','.ck-context__value','Comment\x20was\x20made\x20on\x20an\x20element','ck-annotation__actions','isVisible','focusFirst','isReadOnly','ck-thread__header','_setupKeyboardNavigation','mouseleave','133648HjCknI','focus','remove','1279824sUPNIB','contextView','tab','createCollection','focusables','shift+tab','Reopen','locale','1544nAaAbK','overlay','2080144ldjSha','_trimContextValue','substring','execute','offsetWidth','contextValue','7809eWotQW','context','ck-context-wrapper'];_0x3482=function(){return _0x42701b;};return _0x3482();}export default class ts extends _0x2d57b0{constructor(_0x1d8a42,_0x4ca30d){const _0x29d2bb=_0x3c72;super(_0x1d8a42);const _0x29066e=this[_0x29d2bb(0x10a)];this[_0x29d2bb(0xfb)]=_0x4ca30d,this[_0x29d2bb(0x10c)]=this[_0x29d2bb(0xfc)](),this[_0x29d2bb(0x121)]=this[_0x29d2bb(0x111)](),this[_0x29d2bb(0x124)]=this[_0x29d2bb(0x123)]([this[_0x29d2bb(0x121)],this[_0x29d2bb(0x10c)]]),this[_0x29d2bb(0x113)]=new _0xf50c11(),this[_0x29d2bb(0x102)]=new _0x3cedfb(),this[_0x29d2bb(0x109)]=new _0x4ab8bd({'focusables':this[_0x29d2bb(0x124)],'focusTracker':this[_0x29d2bb(0x113)],'keystrokeHandler':this[_0x29d2bb(0x102)],'actions':{'focusPrevious':_0x29d2bb(0x125),'focusNext':_0x29d2bb(0x122)}}),this[_0x29d2bb(0xfd)](_0x29d2bb(0xf0))['to'](this[_0x29d2bb(0xfb)],_0x29d2bb(0xe8),_0xe63fd8=>!!_0xe63fd8),this[_0x29d2bb(0xfd)](_0x29d2bb(0xe6))['to'](this[_0x29d2bb(0xfb)],_0x29d2bb(0xe8),_0x25d1d4=>_0x25d1d4&&_0x25d1d4[_0x29d2bb(0x10d)]?this[_0x29d2bb(0xe2)](_0x25d1d4[_0x29d2bb(0x10d)]):_0xeaa25d(this[_0x29d2bb(0x127)],_0x29d2bb(0x115))),this[_0x29d2bb(0xef)]({'tag':_0x29d2bb(0x107),'attributes':{'class':[_0x29d2bb(0x11a)]},'children':[{'tag':_0x29d2bb(0x107),'attributes':{'class':[_0x29d2bb(0xe9)]},'children':[{'tag':_0x29d2bb(0x107),'attributes':{'class':[_0x29d2bb(0xf8),_0x29066e['if'](_0x29d2bb(0xf0),_0x29d2bb(0x103))]},'children':[this[_0x29d2bb(0x121)]]}]},{'tag':_0x29d2bb(0x107),'attributes':{'class':[_0x29d2bb(0x116)]},'children':[this[_0x29d2bb(0x10c)]]}]});}[_0x383246(0xf6)](){const _0xdf5d2=_0x383246;super[_0xdf5d2(0xf6)](),this[_0xdf5d2(0x108)](),this[_0xdf5d2(0x11b)]();}[_0x383246(0x11e)](){const _0x15859f=_0x383246;this[_0x15859f(0x109)][_0x15859f(0x118)]();}[_0x383246(0xfc)](){const _0x6e31b2=_0x383246,_0x2c8470=new _0x6cab4c(this[_0x6e31b2(0x127)]);return _0x2c8470[_0x6e31b2(0xf2)]=_0xeaa25d(this[_0x6e31b2(0x127)],_0x6e31b2(0x126)),_0x2c8470[_0x6e31b2(0xf7)]=_0xeaa25d(this[_0x6e31b2(0x127)],_0x6e31b2(0x126)),_0x2c8470[_0x6e31b2(0xf3)]=_0x38fc5a,_0x2c8470[_0x6e31b2(0xfd)](_0x6e31b2(0x112))['to'](this[_0x6e31b2(0xfb)],_0x6e31b2(0x119),_0x41c182=>!_0x41c182),_0x2c8470[_0x6e31b2(0xfd)](_0x6e31b2(0x117))['to'](this[_0x6e31b2(0xfb)],_0x6e31b2(0x106),this[_0x6e31b2(0xfb)],_0x6e31b2(0x101),(_0x1edfd2,_0x319b53)=>_0x1edfd2&&_0x319b53),_0x2c8470['on'](_0x6e31b2(0xe4),()=>{const _0x32abb4=_0x6e31b2;this[_0x32abb4(0xf4)](_0x32abb4(0x105),this[_0x32abb4(0xfb)]['id']);}),_0x2c8470;}[_0x383246(0xe2)](_0x1a006d){const _0x2d998f=_0x383246;if(_0x1a006d[_0x2d998f(0x104)]<0x96)return _0x1a006d;const _0x9412ce=_0x1a006d[_0x2d998f(0x10e)]('\x20',0x93);return _0x1a006d[_0x2d998f(0xe3)](0x0,_0x9412ce>-0x1?_0x9412ce:0x93)+_0x2d998f(0x110);}[_0x383246(0x108)](){const _0x3d793d=_0x383246,_0x2d4eff=this[_0x3d793d(0xed)][_0x3d793d(0xec)](_0x3d793d(0xee)),_0x2f0a14=_0x2d4eff[_0x3d793d(0xec)](_0x3d793d(0x114));this[_0x3d793d(0xff)](_0x2d4eff,_0x3d793d(0x10b),()=>{const _0x1cce5b=_0x3d793d;_0x2f0a14[_0x1cce5b(0xe5)]<_0x2f0a14[_0x1cce5b(0xf5)]&&_0x2d4eff[_0x1cce5b(0xf9)][_0x1cce5b(0xfe)](_0x1cce5b(0xe0));}),this[_0x3d793d(0xff)](_0x2d4eff,_0x3d793d(0x11c),()=>{const _0x112b5f=_0x3d793d;_0x2d4eff[_0x112b5f(0xf9)][_0x112b5f(0x11f)](_0x112b5f(0xe0));});}[_0x383246(0x11b)](){const _0x47c9f6=_0x383246;this[_0x47c9f6(0x102)][_0x47c9f6(0xff)](this[_0x47c9f6(0xed)]);for(const _0x3da233 of this[_0x47c9f6(0x124)])this[_0x47c9f6(0x113)][_0x47c9f6(0xfe)](_0x3da233[_0x47c9f6(0xed)]),this[_0x47c9f6(0x102)][_0x47c9f6(0xff)](_0x3da233[_0x47c9f6(0xed)]);}[_0x383246(0x111)](){const _0x1b834c=_0x383246,_0x3485bc=new _0x112d04(this[_0x1b834c(0x127)]);return _0x3485bc[_0x1b834c(0xfd)](_0x1b834c(0xe6))['to'](this),_0x3485bc;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x44bd18=_0x4573;function _0x4573(_0x593a81,_0x569ed5){const _0x11b32b=_0x11b3();return _0x4573=function(_0x4573ec,_0x6eb6f5){_0x4573ec=_0x4573ec-0x90;let _0x562b9b=_0x11b32b[_0x4573ec];return _0x562b9b;},_0x4573(_0x593a81,_0x569ed5);}(function(_0x3a9f68,_0x62f331){const _0x238d5f=_0x4573,_0x578ecf=_0x3a9f68();while(!![]){try{const _0x1c13a7=-parseInt(_0x238d5f(0xc1))/0x1+-parseInt(_0x238d5f(0xb4))/0x2*(-parseInt(_0x238d5f(0xa0))/0x3)+-parseInt(_0x238d5f(0xbd))/0x4*(parseInt(_0x238d5f(0xb9))/0x5)+-parseInt(_0x238d5f(0x9f))/0x6*(-parseInt(_0x238d5f(0xa1))/0x7)+parseInt(_0x238d5f(0xaa))/0x8+parseInt(_0x238d5f(0xa5))/0x9*(parseInt(_0x238d5f(0x9d))/0xa)+parseInt(_0x238d5f(0xad))/0xb*(parseInt(_0x238d5f(0xa8))/0xc);if(_0x1c13a7===_0x62f331)break;else _0x578ecf['push'](_0x578ecf['shift']());}catch(_0x5d65d8){_0x578ecf['push'](_0x578ecf['shift']());}}}(_0x11b3,0xde15c));import{View as _0x1f9462}from'ckeditor5/src/ui.js';import _0x42de73 from'./commentinputview.js';import{UserView as _0x448d5f}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x11b3(){const _0x1ca03e=['600OIFHEI','ck-comment__input-container--active','ck-thread__user','editorDestroyed','then','5JDbUis','isFocused','render','listenTo','6498968rVNQga','setTemplate','div','view','644365RrzBpg','focusTracker','some','delegate','contains','showButtons','editing','preventDefault','filter','ck-thread__input','extendTemplate','bindTemplate','commentInputView','destroy','value','set','37270VAMhuf','editor','18nWBvLR','6000LgXJlV','2726073sFCfUQ','mousedown','editorReady','userView','1251qUlJiK','getDomRoot','target','2342556EjUwfS','_focusOnNonInteractiveMouseDown','2454064mahzRZ','focusCycler','element','33VSxNvW','change:showInput','ck-comment__input-container','createEditor','showInput','bind','focus'];_0x11b3=function(){return _0x1ca03e;};return _0x11b3();}export default class kt extends _0x1f9462{constructor(_0x5eac11,_0x421428,_0x71c8e4){const _0x5f35a2=_0x4573;super(_0x5eac11),this[_0x5f35a2(0x99)]=new _0x42de73(_0x5eac11,_0x71c8e4),this[_0x5f35a2(0xab)]=this[_0x5f35a2(0x99)][_0x5f35a2(0xab)],this[_0x5f35a2(0x99)][_0x5f35a2(0xb2)](_0x5f35a2(0x92))['to'](this[_0x5f35a2(0x99)][_0x5f35a2(0xc2)],_0x5f35a2(0xba),this[_0x5f35a2(0x99)],_0x5f35a2(0x9b),(_0x3e2e8b,_0x2d54b2)=>_0x3e2e8b||!!_0x2d54b2),this[_0x5f35a2(0x9c)](_0x5f35a2(0xb1),!0x1),this['on'](_0x5f35a2(0xae),()=>{const _0x6d1d12=_0x5f35a2;this[_0x6d1d12(0xb1)]&&!this[_0x6d1d12(0x99)][_0x6d1d12(0x9e)]&&this[_0x6d1d12(0x99)][_0x6d1d12(0xb0)]();}),this[_0x5f35a2(0x99)][_0x5f35a2(0x90)](_0x5f35a2(0xa3))['to'](this),this[_0x5f35a2(0x99)][_0x5f35a2(0x90)](_0x5f35a2(0xb7))['to'](this),this[_0x5f35a2(0xa4)]=new _0x448d5f(_0x5eac11,_0x421428),this[_0x5f35a2(0xa4)][_0x5f35a2(0x97)]({'attributes':{'class':_0x5f35a2(0xb6),'aria-hidden':!0x0}}),this[_0x5f35a2(0x99)][_0x5f35a2(0x97)]({'attributes':{'class':_0x5f35a2(0x96)}}),this[_0x5f35a2(0xbe)]({'tag':_0x5f35a2(0xbf),'attributes':{'class':[_0x5f35a2(0xaf),this[_0x5f35a2(0x98)]['if'](_0x5f35a2(0xb1),_0x5f35a2(0xb5))]},'children':[this[_0x5f35a2(0xa4)],this[_0x5f35a2(0x99)]]});}[_0x44bd18(0xbb)](){const _0x37c594=_0x44bd18;super[_0x37c594(0xbb)](),this[_0x37c594(0xa9)]();}[_0x44bd18(0x9a)](){const _0x2349a6=_0x44bd18;return this[_0x2349a6(0x99)][_0x2349a6(0x9a)]()[_0x2349a6(0xb8)](()=>super[_0x2349a6(0x9a)]());}[_0x44bd18(0xb3)](_0x53a1b0){const _0x30064c=_0x44bd18;this[_0x30064c(0x99)][_0x30064c(0xb3)](_0x53a1b0);}[_0x44bd18(0xa9)](){const _0x207d1a=_0x44bd18;this[_0x207d1a(0xbc)](this[_0x207d1a(0xac)],_0x207d1a(0xa2),(_0x4fbe90,_0x25e15a)=>{const _0x3da9e5=_0x207d1a,{submitButtonView:_0x571009,cancelButtonView:_0x10a754,editor:_0xd55174}=this[_0x3da9e5(0x99)];[_0x571009[_0x3da9e5(0xac)],_0x10a754[_0x3da9e5(0xac)],_0xd55174?_0xd55174[_0x3da9e5(0x93)][_0x3da9e5(0xc0)][_0x3da9e5(0xa6)]():null][_0x3da9e5(0x95)](_0x28458c=>_0x28458c)[_0x3da9e5(0xc3)](_0x2375a3=>_0x2375a3[_0x3da9e5(0x91)](_0x25e15a[_0x3da9e5(0xa7)]))||(this[_0x3da9e5(0xb3)](),_0x25e15a[_0x3da9e5(0x94)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x294c09=_0x3eab;(function(_0x55e98a,_0x48e116){const _0x82a0d9=_0x3eab,_0xaf22ad=_0x55e98a();while(!![]){try{const _0x556e6c=parseInt(_0x82a0d9(0xc5))/0x1*(parseInt(_0x82a0d9(0x100))/0x2)+parseInt(_0x82a0d9(0xc3))/0x3*(parseInt(_0x82a0d9(0xc1))/0x4)+parseInt(_0x82a0d9(0xb6))/0x5*(-parseInt(_0x82a0d9(0xfd))/0x6)+-parseInt(_0x82a0d9(0xec))/0x7*(-parseInt(_0x82a0d9(0xcc))/0x8)+parseInt(_0x82a0d9(0xdf))/0x9*(parseInt(_0x82a0d9(0xcd))/0xa)+-parseInt(_0x82a0d9(0xdb))/0xb*(parseInt(_0x82a0d9(0xb7))/0xc)+parseInt(_0x82a0d9(0xfe))/0xd*(-parseInt(_0x82a0d9(0xe9))/0xe);if(_0x556e6c===_0x48e116)break;else _0xaf22ad['push'](_0xaf22ad['shift']());}catch(_0x29b67f){_0xaf22ad['push'](_0xaf22ad['shift']());}}}(_0x226f,0x6d65b));import{ConfirmMixin as _0x3493d8,LateFocusButtonView as _0x400229}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x1748a5}from'ckeditor5/src/core.js';function _0x3eab(_0x38086d,_0x2eb12c){const _0x226f2a=_0x226f();return _0x3eab=function(_0x3eabb,_0x38b46e){_0x3eabb=_0x3eabb-0xa5;let _0x1ff2f9=_0x226f2a[_0x3eabb];return _0x1ff2f9;},_0x3eab(_0x38086d,_0x2eb12c);}import _0x1fcf26 from'./basecommentthreadview.js';import{getTranslation as _0x4b8105}from'../../../utils/common-translations.js';export default class Ct extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3493d8(_0x1fcf26){constructor(_0x321520,_0x393a19,_0x41ef01,_0x4acb26){const _0x22e359=_0x3eab;super(_0x321520,_0x393a19,_0x41ef01,_0x4acb26),this[_0x22e359(0xd9)]=this[_0x22e359(0xea)]([this[_0x22e359(0xa8)],this[_0x22e359(0xeb)],this[_0x22e359(0xd5)]]),this[_0x22e359(0xa6)](_0x22e359(0xdc),null),this[_0x22e359(0xf1)]=null,this[_0x22e359(0xee)]=null,this[_0x22e359(0xb3)]=_0x321520,this[_0x22e359(0xbc)]=this[_0x22e359(0xcb)](),this[_0x22e359(0xc0)](this[_0x22e359(0xe7)]()),this['on'](_0x22e359(0xaf),(_0xe7b700,_0x373058,_0xe6127f)=>{const _0xc1a429=_0x22e359;_0xe6127f||this[_0xc1a429(0xde)]();}),this[_0x22e359(0xc9)](this[_0x22e359(0xce)],_0x22e359(0xd1),(_0x26e8a7,_0x4db039,_0x231d16)=>{const _0x142d54=_0x22e359;_0x231d16&&this[_0x142d54(0xde)]();}),this[_0x22e359(0xbb)]>0x0&&this[_0x22e359(0xe1)](),this[_0x22e359(0xc9)](this[_0x22e359(0xa8)][_0x22e359(0x102)],_0x22e359(0xf5),()=>{const _0x50ad2e=_0x22e359;this[_0x50ad2e(0xe1)]();});}[_0x294c09(0xe7)](){const _0x175eee=_0x294c09,_0x5d5321=this[_0x175eee(0xbd)];return{'tag':_0x175eee(0xd2),'attributes':{'class':['ck',_0x175eee(0xe4),_0x175eee(0xe2),_0x175eee(0xae),_0x5d5321['if'](_0x175eee(0xfa),_0x175eee(0xb9)),_0x5d5321['if'](_0x175eee(0xb2),_0x175eee(0xbf)),_0x5d5321['if'](_0x175eee(0xd0),_0x175eee(0xc8)),_0x5d5321['to'](_0x175eee(0xdc),_0x35e059=>_0x35e059?_0x175eee(0xbe)+_0x35e059:'')],'data-thread-id':this[_0x175eee(0xce)]['id'],'tabindex':0x0,'role':_0x175eee(0xd7),'aria-label':_0x5d5321['to'](_0x175eee(0xfb)),'aria-describedby':this[_0x175eee(0xd5)]['id']},'children':[{'tag':_0x175eee(0xd2),'attributes':{'class':_0x175eee(0xf4)},'children':this[_0x175eee(0xd9)]}]};}[_0x294c09(0x103)](){const _0x38282b=_0x294c09;super[_0x38282b(0x103)](),this[_0x38282b(0xf1)]=this[_0x38282b(0xcf)][_0x38282b(0xed)](_0x38282b(0xad)),this[_0x38282b(0xce)]['on'](_0x38282b(0xb5),()=>{const _0x4fc8c0=_0x38282b;this[_0x4fc8c0(0xf3)]();}),this[_0x38282b(0xf3)]();}[_0x294c09(0xde)](){const _0x2d4473=_0x294c09;this[_0x2d4473(0xe5)]();for(const _0x5c8818 of this[_0x2d4473(0xa8)][_0x2d4473(0x102)])_0x5c8818[_0x2d4473(0xe5)]();}[_0x294c09(0xe1)](){const _0x5c84e2=_0x294c09,{locale:_0x36ebf1}=this,_0x12d84c=this[_0x5c84e2(0xa8)][_0x5c84e2(0x102)][_0x5c84e2(0x101)](0x0);_0x12d84c===this[_0x5c84e2(0xee)]||_0x12d84c[_0x5c84e2(0xe6)]||(this[_0x5c84e2(0xee)]=_0x12d84c,this[_0x5c84e2(0xda)](_0x5c84e2(0xdc)),this[_0x5c84e2(0xaa)](_0x5c84e2(0xdc))['to'](_0x12d84c,_0x5c84e2(0xdc),_0x6321fe=>_0x5c84e2(0xc2)===_0x6321fe?_0x5c84e2(0xc2):null),_0x12d84c[_0x5c84e2(0xab)]=_0x4b8105(_0x36ebf1,_0x5c84e2(0xd4)),_0x12d84c[_0x5c84e2(0xef)]['on'](_0x5c84e2(0xe8),_0x3fb443=>{const _0xccb287=_0x5c84e2;_0x3fb443[_0xccb287(0xb4)](),this[_0xccb287(0xc7)](_0x4b8105(_0x36ebf1,_0xccb287(0xb0)),this[_0xccb287(0xf1)])[_0xccb287(0xe0)](()=>{const _0x570faf=_0xccb287;this[_0x570faf(0xdd)](_0x570faf(0xb1));});},{'priority':_0x5c84e2(0xe3)}),this['on'](_0x5c84e2(0xc6),()=>{const _0x2ee851=_0x5c84e2;_0x12d84c[_0x2ee851(0xa9)]();}),_0x12d84c[_0x5c84e2(0xf7)][_0x5c84e2(0xf5)](this[_0x5c84e2(0xbc)],0x0),_0x12d84c[_0x5c84e2(0xfc)][_0x5c84e2(0xf5)](this[_0x5c84e2(0xbc)],0x0));}[_0x294c09(0xcb)](){const _0x9fd0ce=_0x294c09,_0x2b181f=new _0x400229(this[_0x9fd0ce(0xb3)]);return _0x2b181f[_0x9fd0ce(0xf2)]=_0x4b8105(this[_0x9fd0ce(0xb3)],_0x9fd0ce(0xd3)),_0x2b181f[_0x9fd0ce(0xac)]=_0x4b8105(this[_0x9fd0ce(0xb3)],_0x9fd0ce(0xd3)),_0x2b181f[_0x9fd0ce(0xd8)]=_0x1748a5[_0x9fd0ce(0xc4)],_0x2b181f[_0x9fd0ce(0xf0)]({'attributes':{'class':_0x9fd0ce(0xf6)}}),_0x2b181f[_0x9fd0ce(0xaa)](_0x9fd0ce(0xca))['to'](this[_0x9fd0ce(0xce)],_0x9fd0ce(0xa5),_0xa18a0d=>!_0xa18a0d),_0x2b181f[_0x9fd0ce(0xaa)](_0x9fd0ce(0xff))['to'](this[_0x9fd0ce(0xce)],_0x9fd0ce(0xa7),this[_0x9fd0ce(0xce)],_0x9fd0ce(0xf8),(_0x42166e,_0x144119)=>_0x42166e&&!_0x144119),_0x2b181f['on'](_0x9fd0ce(0xe8),()=>{const _0x6daa8a=_0x9fd0ce;this[_0x6daa8a(0xdd)](_0x6daa8a(0xd6),this[_0x6daa8a(0xce)]['id']);}),_0x2b181f;}[_0x294c09(0xf3)](){const _0x2df8fd=_0x294c09;this[_0x2df8fd(0xce)][_0x2df8fd(0xba)]?this[_0x2df8fd(0xd9)][_0x2df8fd(0xb8)](this[_0x2df8fd(0xf9)])||(this[_0x2df8fd(0xd9)][_0x2df8fd(0xf5)](this[_0x2df8fd(0xf9)],0x0),this[_0x2df8fd(0xfc)][_0x2df8fd(0xf5)](this[_0x2df8fd(0xf9)],0x0)):this[_0x2df8fd(0xd9)][_0x2df8fd(0xb8)](this[_0x2df8fd(0xf9)])&&(this[_0x2df8fd(0xd9)][_0x2df8fd(0xc2)](this[_0x2df8fd(0xf9)]),this[_0x2df8fd(0xfc)][_0x2df8fd(0xc2)](this[_0x2df8fd(0xf9)]));}}function _0x226f(){const _0x29c868=['isEnabled','_createResolveButton','488pCBAAW','10heeLOK','_model','element','isConfirm','change:isReadOnly','div','Resolve','Write\x20a\x20comment...','ariaDescriptionView','resolveCommentThread','listitem','icon','commentThreadChildren','unbind','11TXrTra','actionIndicator','fire','_cancelAllConfirms','3851361IItjQW','then','_bindFirstCommentView','ck-reset_all-excluded','high','ck-thread','cancelConfirm','isSystemComment','getTemplate','execute','32998ncstgN','createCollection','commentThreadInputView','29687Tbivwu','querySelector','_boundFirstCommentView','removeButton','extendTemplate','containerElement','label','_updateArchivedThreadHeader','ck-thread__container','add','ck-comment--resolve','actionBar','isResolved','commentThreadHeaderView','isActive','ariaLabel','focusables','150oVkMDq','1820EcYCik','isVisible','94216JbGfBw','get','commentViews','render','isReadOnly','set','isResolvable','commentsListView','focus','bind','placeholder','tooltip','.ck-thread__container','ck-rounded-corners','change:isActive','Delete\x20comment\x20thread?','removeCommentThread','isUnlinked','locale','stop','change:archivedAt','123845Qkbhjb','2614092vfUSZj','has','ck-thread--active','archivedAt','length','resolveButton','bindTemplate','ck-thread--','ck-thread--unlinked','setTemplate','1516hkcRhp','remove','6231BmFIKN','check','3TFOGnG','removeConfirm','showConfirm','ck-thread--remove-confirmation','listenTo'];_0x226f=function(){return _0x29c868;};return _0x226f();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x4792(){const _0x38b7c5=['Reply...','_createCommentInputView','ck-comment__info','render','ck-comment__external','from','focusables','actionBar','removeComment','mouseenter','icon','ck-annotation__info-name','isVisible','ck-comment__main','ck-comment__user','group','getUserViewNotificationText','addMany','change:isRemovable','44VYjaAN','listitem','push','Show\x20more\x20items','showConfirm','blur','remove','1287INyGbD','authoredAt','visibleView','ck-hidden','span','46380912LLbFSC','8922NvIoUl','name','find','label','ck-comment--remove','toMany','formatDateTime','listenTo','panelView','ck-annotation__info','switchToEditMode','createCollection','ck-annotation__user','mouseleave','ck-comment','bind','ck-annotation__main','add','isEditable','2305010dAsfwO','placeholder','2016562mWgYzS','time','isEnabled','buttonView','ck-annotation__content-wrapper','userView','_createDropdown','ck-comment__wrapper','actionIndicator','editButton','cancelConfirm','length','getTemplate','ck-annotation','ck-comment--info','panelPosition','extendTemplate','edit','div','some','getExternalCommentNote','30488ugYtsc','removeButton','2503172RMXyKa','fire','_model','ck-comment__actions','ariaDescriptionView','threeVerticalDots','isConfirm','setTemplate','321VCLhel','withText','isEditMode','author','set','ck-comment__actions--hidden','pencil','ck-annotation__actions','ck-comment__info-name','bindTemplate','isReadOnly','ariaLabel','ck-comment--','Remove','element','isExternal','ck-annotation__actions--hidden','ck-comment__info-time','isRemovable','execute','then','items','_createRemoveButton','1EMJieZ','isSystemComment','children','focus','ck-comment--remove-confirmation','_attachActions','dropdown','unbind','resolvedAt','_createEditButton','Edit','3625LzOZuS','18476TtTFxI','ck-comment--edit','locale','Delete\x20comment?','_config','ck-annotation__info-time'];_0x4792=function(){return _0x38b7c5;};return _0x4792();}const _0x41111f=_0x45fb;(function(_0x2e5b98,_0x1b544b){const _0x1b7103=_0x45fb,_0x45ea7d=_0x2e5b98();while(!![]){try{const _0x2673fa=parseInt(_0x1b7103(0x148))/0x1*(parseInt(_0x1b7103(0x18f))/0x2)+-parseInt(_0x1b7103(0x131))/0x3*(-parseInt(_0x1b7103(0x154))/0x4)+parseInt(_0x1b7103(0x153))/0x5*(parseInt(_0x1b7103(0x17a))/0x6)+parseInt(_0x1b7103(0x1a6))/0x7+parseInt(_0x1b7103(0x1a4))/0x8*(parseInt(_0x1b7103(0x174))/0x9)+parseInt(_0x1b7103(0x18d))/0xa*(parseInt(_0x1b7103(0x16d))/0xb)+-parseInt(_0x1b7103(0x179))/0xc;if(_0x2673fa===_0x1b544b)break;else _0x45ea7d['push'](_0x45ea7d['shift']());}catch(_0x2bafb0){_0x45ea7d['push'](_0x45ea7d['shift']());}}}(_0x4792,0x83db6));import{ButtonView as _0x45ddab,createDropdown as _0xd38ad,ListView as _0x5a5815,ListItemView as _0x3945c0,focusChildOnDropdownOpen as _0x13e9b9}from'ckeditor5/src/ui.js';import{icons as _0x105eab}from'ckeditor5/src/core.js';import{UserView as _0x2889af,ConfirmMixin as _0x4f46a3,LateFocusDropdownButtonView as _0x12cb3e}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5c9aa4 from'./basecommentview.js';import _0x1295c7 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x599f88}from'../../../utils/common-translations.js';function _0x45fb(_0x1d7e4c,_0x40c5e3){const _0x479236=_0x4792();return _0x45fb=function(_0x45fb35,_0x2c3613){_0x45fb35=_0x45fb35-0x12f;let _0x23504f=_0x479236[_0x45fb35];return _0x23504f;},_0x45fb(_0x1d7e4c,_0x40c5e3);}export default class vt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4f46a3(_0x5c9aa4){constructor(_0x20e9d1,_0x1552c1,_0x5c8701){const _0x438bc6=_0x45fb;super(_0x20e9d1,_0x1552c1,_0x5c8701),this[_0x438bc6(0x135)](_0x438bc6(0x197),null),this[_0x438bc6(0x135)](_0x438bc6(0x18e),_0x599f88(_0x20e9d1,_0x438bc6(0x15a))),this[_0x438bc6(0x189)](_0x438bc6(0x175))['to'](_0x1552c1),this[_0x438bc6(0x189)](_0x438bc6(0x150))['to'](_0x1552c1),this[_0x438bc6(0x161)]=this[_0x438bc6(0x185)](),this[_0x438bc6(0x149)]||(this[_0x438bc6(0x198)]=this[_0x438bc6(0x151)](),this[_0x438bc6(0x1a5)]=this[_0x438bc6(0x147)](),this[_0x438bc6(0x146)]=this[_0x438bc6(0x185)](),this[_0x438bc6(0x146)][_0x438bc6(0x16b)]([this[_0x438bc6(0x198)],this[_0x438bc6(0x1a5)]]),this[_0x438bc6(0x14e)]=this[_0x438bc6(0x195)](),this[_0x438bc6(0x161)][_0x438bc6(0x18b)](this[_0x438bc6(0x14e)]),this[_0x438bc6(0x160)][_0x438bc6(0x18b)](this[_0x438bc6(0x14e)])),this[_0x438bc6(0x194)]=new _0x2889af(_0x20e9d1,_0x1552c1[_0x438bc6(0x134)],this[_0x438bc6(0x16a)]()),this[_0x438bc6(0x194)][_0x438bc6(0x19f)]({'attributes':{'class':[_0x438bc6(0x168),_0x438bc6(0x186)],'aria-hidden':!0x0}}),this[_0x438bc6(0x181)](_0x1552c1,_0x438bc6(0x16c),()=>this[_0x438bc6(0x199)]()),this[_0x438bc6(0x130)](this[_0x438bc6(0x19b)]());}[_0x41111f(0x19b)](){const _0x26334a=_0x41111f,_0x55c570=this[_0x26334a(0x13a)],_0x24b4e8=[{'tag':_0x26334a(0x1a1),'attributes':{'class':[_0x26334a(0x15c),_0x26334a(0x183)]},'children':[{'tag':_0x26334a(0x178),'children':[{'text':this[_0x26334a(0x194)][_0x26334a(0x17b)]}],'attributes':{'class':[_0x26334a(0x139),_0x26334a(0x165)]}},{'tag':_0x26334a(0x190),'attributes':{'datetime':_0x55c570['to'](_0x26334a(0x175)),'class':[_0x26334a(0x142),_0x26334a(0x159)]},'children':[{'text':_0x55c570['to'](_0x26334a(0x175),_0x54614b=>this[_0x26334a(0x158)][_0x26334a(0x180)](_0x54614b))}]}]},{'tag':_0x26334a(0x1a1),'attributes':{'class':[_0x26334a(0x1a9),_0x26334a(0x138),_0x55c570['if'](_0x26334a(0x133),_0x26334a(0x136)),_0x55c570['if'](_0x26334a(0x133),_0x26334a(0x141))]},'children':this[_0x26334a(0x161)]},{'tag':_0x26334a(0x1a1),'attributes':{'class':[_0x26334a(0x193)]},'children':this[_0x26334a(0x176)]},this[_0x26334a(0x1aa)]];return this[_0x26334a(0x1a8)][_0x26334a(0x140)]&&_0x24b4e8[_0x26334a(0x16f)]({'tag':_0x26334a(0x1a1),'attributes':{'class':[_0x26334a(0x15e)]},'children':[{'text':this[_0x26334a(0x1a3)]()}]}),{'tag':'li','attributes':{'class':[_0x26334a(0x196),_0x55c570['if'](_0x26334a(0x12f),_0x26334a(0x14c))],'tabindex':-0x1,'aria-label':_0x55c570['to'](_0x26334a(0x13c)),'aria-describedby':this[_0x26334a(0x1aa)]['id'],'role':_0x26334a(0x16e)},'children':[{'tag':_0x26334a(0x1a1),'attributes':{'class':[_0x26334a(0x188),_0x26334a(0x19c),_0x55c570['if'](_0x26334a(0x133),_0x26334a(0x155)),_0x55c570['if'](_0x26334a(0x149),_0x26334a(0x19d)),_0x55c570['to'](_0x26334a(0x197),_0xac76ba=>_0xac76ba?_0x26334a(0x13d)+_0xac76ba:'')],'data-author-id':this[_0x26334a(0x1a8)][_0x26334a(0x134)]['id'],'data-comment-id':this[_0x26334a(0x1a8)]['id'],'role':_0x26334a(0x169)},'children':[this[_0x26334a(0x194)],{'tag':_0x26334a(0x1a1),'attributes':{'class':[_0x26334a(0x167),_0x26334a(0x18a)]},'children':_0x24b4e8}]}]};}[_0x41111f(0x151)](){const _0x7f56e7=_0x41111f,_0x56665d=new _0x45ddab(this[_0x7f56e7(0x156)]);return _0x56665d[_0x7f56e7(0x17d)]=_0x599f88(this[_0x7f56e7(0x156)],_0x7f56e7(0x152)),_0x56665d[_0x7f56e7(0x164)]=_0x105eab[_0x7f56e7(0x137)],_0x56665d[_0x7f56e7(0x132)]=!0x0,_0x56665d[_0x7f56e7(0x19f)]({'attributes':{'class':_0x7f56e7(0x155)}}),_0x56665d[_0x7f56e7(0x189)](_0x7f56e7(0x191))['to'](this[_0x7f56e7(0x1a8)],_0x7f56e7(0x13b),_0x43f401=>!_0x43f401),_0x56665d[_0x7f56e7(0x189)](_0x7f56e7(0x166))['to'](this[_0x7f56e7(0x1a8)],_0x7f56e7(0x18c)),_0x56665d['on'](_0x7f56e7(0x144),()=>this[_0x7f56e7(0x184)]()),_0x56665d;}[_0x41111f(0x147)](){const _0x2a6396=_0x41111f,_0x36b458=new _0x45ddab(this[_0x2a6396(0x156)]);return _0x36b458[_0x2a6396(0x17d)]=_0x599f88(this[_0x2a6396(0x156)],_0x2a6396(0x13e)),_0x36b458[_0x2a6396(0x164)]=_0x1295c7,_0x36b458[_0x2a6396(0x132)]=!0x0,_0x36b458[_0x2a6396(0x19f)]({'attributes':{'class':_0x2a6396(0x17e)}}),_0x36b458[_0x2a6396(0x189)](_0x2a6396(0x191))['to'](this[_0x2a6396(0x1a8)],_0x2a6396(0x13b),_0x363126=>!_0x363126),_0x36b458[_0x2a6396(0x189)](_0x2a6396(0x166))['to'](this[_0x2a6396(0x1a8)],_0x2a6396(0x143)),_0x36b458['on'](_0x2a6396(0x144),()=>{const _0x7f6dfc=_0x2a6396;this[_0x7f6dfc(0x171)](_0x599f88(this[_0x7f6dfc(0x156)],_0x7f6dfc(0x157)),this[_0x7f6dfc(0x13f)])[_0x7f6dfc(0x145)](()=>{const _0x486ef9=_0x7f6dfc;this[_0x486ef9(0x1a7)](_0x486ef9(0x162),this[_0x486ef9(0x1a8)]['id']);});}),_0x36b458;}[_0x41111f(0x195)](){const _0x56daca=_0x41111f,_0xbd3537=_0xd38ad(this[_0x56daca(0x156)],_0x12cb3e),_0x5a26e9=_0xbd3537[_0x56daca(0x182)][_0x56daca(0x14a)],_0x720180=new _0x5a5815(this[_0x56daca(0x156)]),_0x3af516=_0xbd3537[_0x56daca(0x13a)];_0x13e9b9(_0xbd3537,()=>this[_0x56daca(0x146)][_0x56daca(0x17c)](_0x4f2afb=>_0x4f2afb[_0x56daca(0x166)])),_0xbd3537[_0x56daca(0x19f)]({'attributes':{'class':[_0x3af516['if'](_0x56daca(0x166),_0x56daca(0x177),_0x59e164=>!_0x59e164)]}});const _0x32143c=(_0x493e6a,_0x5821a1=-0x1)=>{const _0x5b409b=_0x56daca,_0x19e410=new _0x3945c0(this[_0x5b409b(0x156)]);_0x19e410[_0x5b409b(0x14a)][_0x5b409b(0x18b)](_0x493e6a);const _0x497c4a=_0x5821a1>-0x1?_0x5821a1:_0x720180[_0x5b409b(0x146)][_0x5b409b(0x19a)];_0x720180[_0x5b409b(0x146)][_0x5b409b(0x18b)](_0x19e410,_0x497c4a);const _0x34f6c4=Array[_0x5b409b(0x15f)](this[_0x5b409b(0x146)]);_0xbd3537[_0x5b409b(0x14f)](_0x5b409b(0x191),_0x5b409b(0x166)),_0xbd3537[_0x5b409b(0x189)](_0x5b409b(0x191))[_0x5b409b(0x17f)](_0x34f6c4,_0x5b409b(0x191),(..._0x41637d)=>_0x41637d[_0x5b409b(0x1a2)](_0xcbbb30=>_0xcbbb30)),_0xbd3537[_0x5b409b(0x189)](_0x5b409b(0x166))[_0x5b409b(0x17f)](_0x34f6c4,_0x5b409b(0x166),(..._0xe1b895)=>_0xe1b895[_0x5b409b(0x1a2)](_0x116e73=>_0x116e73));};_0xbd3537[_0x56daca(0x19e)]='sw',_0xbd3537[_0x56daca(0x192)][_0x56daca(0x135)]({'label':_0x599f88(this[_0x56daca(0x156)],_0x56daca(0x170)),'icon':_0x105eab[_0x56daca(0x1ab)]}),_0xbd3537[_0x56daca(0x191)]=[...this[_0x56daca(0x146)]][_0x56daca(0x1a2)](_0x575eba=>_0x575eba[_0x56daca(0x191)]),_0xbd3537[_0x56daca(0x192)][_0x56daca(0x166)]=[...this[_0x56daca(0x146)]][_0x56daca(0x1a2)](_0x2c310e=>_0x2c310e[_0x56daca(0x166)]);for(const _0x3aa4b7 of this[_0x56daca(0x146)])_0x32143c(_0x3aa4b7);return _0x5a26e9[_0x56daca(0x18b)](_0x720180),_0xbd3537[_0x56daca(0x181)](this[_0x56daca(0x146)],_0x56daca(0x18b),(_0x502023,_0xe388a9,_0x569baf)=>{_0x32143c(_0xe388a9,_0x569baf);}),_0xbd3537[_0x56daca(0x181)](this[_0x56daca(0x146)],_0x56daca(0x173),(_0x10a1e7,_0x2c374e,_0x33e1d4)=>{const _0x251a6d=_0x56daca;_0x720180[_0x251a6d(0x146)][_0x251a6d(0x173)](_0x33e1d4);}),_0xbd3537;}[_0x41111f(0x14d)](_0x14e920,_0x4049f3){const _0x24bc40=_0x41111f,_0x52d88b=_0x14e920&&_0x14e920[_0x24bc40(0x13f)];_0x52d88b&&(this[_0x24bc40(0x181)](_0x52d88b,_0x24bc40(0x163),()=>this[_0x24bc40(0x197)]=_0x4049f3),this[_0x24bc40(0x181)](_0x52d88b,_0x24bc40(0x14b),()=>this[_0x24bc40(0x197)]=_0x4049f3),this[_0x24bc40(0x181)](_0x52d88b,_0x24bc40(0x187),()=>this[_0x24bc40(0x197)]=null),this[_0x24bc40(0x181)](_0x52d88b,_0x24bc40(0x172),()=>this[_0x24bc40(0x197)]=null));}[_0x41111f(0x15b)](){const _0x1efef6=_0x41111f,_0x523d6b=super[_0x1efef6(0x15b)]();return _0x523d6b[_0x1efef6(0x189)](_0x1efef6(0x18e))['to'](this),_0x523d6b;}[_0x41111f(0x15d)](){const _0x94c612=_0x41111f;super[_0x94c612(0x15d)](),this[_0x94c612(0x14d)](this[_0x94c612(0x198)],_0x94c612(0x1a0)),this[_0x94c612(0x14d)](this[_0x94c612(0x1a5)],_0x94c612(0x173));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x36b8(_0x22c72f,_0x4afb02){var _0x163519=_0x1635();return _0x36b8=function(_0x36b8c6,_0xd7d87b){_0x36b8c6=_0x36b8c6-0x15d;var _0x483bf3=_0x163519[_0x36b8c6];return _0x483bf3;},_0x36b8(_0x22c72f,_0x4afb02);}var _0x5dcf9c=_0x36b8;function _0x1635(){var _0x122267=['739120hyUqSU','171006EscfTM','pluginName','4949052aqGmUY','21rULxXX','22tvYDvL','24eWCixz','92132MMMBUd','18315CcBdQA','15vnvlba','834830yEAhLS','Comments','requires','5723GiuzON','8PzeLqd'];_0x1635=function(){return _0x122267;};return _0x1635();}(function(_0x47798d,_0x210c33){var _0x17f616=_0x36b8,_0x2ea5e5=_0x47798d();while(!![]){try{var _0x5ccca6=parseInt(_0x17f616(0x15e))/0x1*(parseInt(_0x17f616(0x15f))/0x2)+parseInt(_0x17f616(0x169))/0x3*(-parseInt(_0x17f616(0x167))/0x4)+-parseInt(_0x17f616(0x16a))/0x5+parseInt(_0x17f616(0x161))/0x6*(-parseInt(_0x17f616(0x164))/0x7)+-parseInt(_0x17f616(0x166))/0x8*(parseInt(_0x17f616(0x168))/0x9)+-parseInt(_0x17f616(0x160))/0xa+parseInt(_0x17f616(0x165))/0xb*(parseInt(_0x17f616(0x163))/0xc);if(_0x5ccca6===_0x210c33)break;else _0x2ea5e5['push'](_0x2ea5e5['shift']());}catch(_0x530ca0){_0x2ea5e5['push'](_0x2ea5e5['shift']());}}}(_0x1635,0x61ad3));import{Plugin as _0x440790}from'ckeditor5/src/core.js';import _0x25b233 from'./comments/commentsrepository.js';import _0x2099a9 from'./comments/commentsediting.js';import _0x1b1ca7 from'./comments/commentsui.js';import _0x4dd1bc from'./commentsonly.js';import _0x2d314b from'./annotations/widesidebar.js';import _0x31ba14 from'./annotations/narrowsidebar.js';import _0x7efcdd from'./annotations/inlineannotations.js';import _0x273b36 from'./comments/commentsarchiveui.js';import _0x1e9a08 from'./comments/commentsarchive.js';export default class f extends _0x440790{static get[_0x5dcf9c(0x15d)](){return[_0x25b233,_0x2099a9,_0x1b1ca7,_0x1e9a08,_0x273b36,_0x4dd1bc,_0x2d314b,_0x31ba14,_0x7efcdd];}static get[_0x5dcf9c(0x162)](){var _0x2a0867=_0x5dcf9c;return _0x2a0867(0x16b);}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3a9755=_0x551e;(function(_0x15c3c4,_0x436cb3){const _0x58e763=_0x551e,_0x4d5cae=_0x15c3c4();while(!![]){try{const _0x1cae62=parseInt(_0x58e763(0x155))/0x1+-parseInt(_0x58e763(0x159))/0x2+parseInt(_0x58e763(0x164))/0x3+-parseInt(_0x58e763(0x15a))/0x4+parseInt(_0x58e763(0x15f))/0x5*(parseInt(_0x58e763(0x14f))/0x6)+parseInt(_0x58e763(0x14e))/0x7+parseInt(_0x58e763(0x158))/0x8*(-parseInt(_0x58e763(0x161))/0x9);if(_0x1cae62===_0x436cb3)break;else _0x4d5cae['push'](_0x4d5cae['shift']());}catch(_0x370217){_0x4d5cae['push'](_0x4d5cae['shift']());}}}(_0x2533,0xaa8fc));function _0x551e(_0xefb19b,_0x28cd00){const _0x2533f0=_0x2533();return _0x551e=function(_0x551e79,_0x48c631){_0x551e79=_0x551e79-0x141;let _0x13ba63=_0x2533f0[_0x551e79];return _0x13ba63;},_0x551e(_0xefb19b,_0x28cd00);}import{Plugin as _0x2e6e72}from'ckeditor5/src/core.js';import _0x8c5400 from'./comments/commentsediting.js';export default class e extends _0x2e6e72{static get[_0x3a9755(0x15e)](){const _0x20632c=_0x3a9755;return _0x20632c(0x142);}static get[_0x3a9755(0x146)](){return[_0x8c5400];}constructor(_0x1b4870){const _0x3df782=_0x3a9755;super(_0x1b4870),this[_0x3df782(0x150)](_0x3df782(0x156),!0x1),this['on'](_0x3df782(0x154),(_0x217d20,_0x1290e4,_0xecc927)=>{const _0x4eb95d=_0x3df782;_0xecc927?this[_0x4eb95d(0x148)]():this[_0x4eb95d(0x167)]();});}[_0x3a9755(0x149)](){const _0x18e4a8=_0x3a9755;!this[_0x18e4a8(0x156)]&&this[_0x18e4a8(0x14a)][_0x18e4a8(0x15c)][_0x18e4a8(0x157)](_0x18e4a8(0x152))&&(this[_0x18e4a8(0x156)]=!0x0);}[_0x3a9755(0x148)](){const _0x5bb913=_0x3a9755;for(const [_0x4ad534,_0x168aa5]of this[_0x5bb913(0x14a)][_0x5bb913(0x153)])_0x168aa5[_0x5bb913(0x14b)]&&_0x5bb913(0x14c)!==_0x4ad534&&_0x168aa5[_0x5bb913(0x162)](_0x5bb913(0x163));this[_0x5bb913(0x14a)][_0x5bb913(0x169)][_0x5bb913(0x15b)](_0x5bb913(0x145))&&this[_0x5bb913(0x14a)][_0x5bb913(0x169)][_0x5bb913(0x157)](_0x5bb913(0x145))[_0x5bb913(0x162)](_0x5bb913(0x163));const _0x30e136=this[_0x5bb913(0x14a)][_0x5bb913(0x144)][_0x5bb913(0x147)][_0x5bb913(0x168)];this[_0x5bb913(0x15d)](_0x30e136,_0x5bb913(0x14d),_0x25a908=>_0x25a908[_0x5bb913(0x165)](),{'priority':_0x5bb913(0x143)}),this[_0x5bb913(0x15d)](_0x30e136,_0x5bb913(0x141),_0x504411=>_0x504411[_0x5bb913(0x165)](),{'priority':_0x5bb913(0x143)}),this[_0x5bb913(0x15d)](_0x30e136,_0x5bb913(0x151),_0x8898e6=>_0x8898e6[_0x5bb913(0x165)](),{'priority':_0x5bb913(0x143)});}[_0x3a9755(0x167)](){const _0xd85ed7=_0x3a9755;for(const [_0xeba913,_0x5322ab]of this[_0xd85ed7(0x14a)][_0xd85ed7(0x153)])_0x5322ab[_0xd85ed7(0x14b)]&&_0xd85ed7(0x14c)!==_0xeba913&&_0x5322ab[_0xd85ed7(0x160)](_0xd85ed7(0x163));this[_0xd85ed7(0x166)](this[_0xd85ed7(0x14a)][_0xd85ed7(0x144)][_0xd85ed7(0x147)][_0xd85ed7(0x168)]);}}function _0x2533(){const _0x86ab58=['afterInit','editor','affectsData','addCommentThread','cut','6031914ivluVE','397686doTYBX','set','delete','commentsOnly','commands','change:isEnabled','696072rOnJnk','isEnabled','get','168DHxlEU','1981586vcUKPT','2836264zUDRPN','has','config','listenTo','pluginName','75iCYtFC','clearForceDisabled','598536wMBJMf','forceDisabled','commentsOnlyMode','3729222ILZtxL','stop','stopListening','_disableCommentsOnlyMode','document','plugins','clipboardInput','CommentsOnly','highest','editing','DragDrop','requires','view','_enableCommentsOnlyMode'];_0x2533=function(){return _0x86ab58;};return _0x2533();}
|
package/src/index.d.ts
CHANGED
|
@@ -5,10 +5,12 @@
|
|
|
5
5
|
export { default as Comments } from './comments.js';
|
|
6
6
|
export { default as CommentsOnly } from './commentsonly.js';
|
|
7
7
|
export { default as CommentsUI } from './comments/commentsui.js';
|
|
8
|
-
export { default as CommentsRepository, CommentThread, Comment, type CommentDataJSON, type CommentThreadContext, type CommentThreadDataJSON } from './comments/commentsrepository.js';
|
|
8
|
+
export { default as CommentsRepository, CommentThread, Comment, type CommentDataJSON, type CommentThreadContext, type CommentThreadDataJSON, type CommentsAdapter } from './comments/commentsrepository.js';
|
|
9
9
|
export { default as CommentThreadController } from './comments/ui/commentthreadcontroller.js';
|
|
10
|
+
export { default as Annotation, type AnnotationEscapeEvent } from './annotations/annotation.js';
|
|
10
11
|
export { default as Annotations } from './annotations/annotations.js';
|
|
11
|
-
export { default as
|
|
12
|
+
export { default as AnnotationCollection } from './annotations/annotationcollection.js';
|
|
13
|
+
export { default as AnnotationsUIs, type AnnotationUI } from './annotations/annotationsuis.js';
|
|
12
14
|
export { default as EditorAnnotations } from './annotations/editorannotations.js';
|
|
13
15
|
export { default as InlineAnnotations } from './annotations/inlineannotations.js';
|
|
14
16
|
export { default as WideSidebar } from './annotations/widesidebar.js';
|
|
@@ -20,6 +22,7 @@ export { default as CommentsListView } from './comments/ui/view/commentslistview
|
|
|
20
22
|
export { default as CommentView } from './comments/ui/view/commentview.js';
|
|
21
23
|
export { default as CommentThreadView } from './comments/ui/view/commentthreadview.js';
|
|
22
24
|
export { default as CommentThreadInputView } from './comments/ui/view/commentthreadinputview.js';
|
|
23
|
-
export
|
|
25
|
+
export { default as CommentsArchive } from './comments/commentsarchive.js';
|
|
26
|
+
export type { CommentsConfig, SidebarConfig, CommentsClipboardCopyConfig, CommentThreadConfig } from './config.js';
|
|
24
27
|
export type { default as CommentsEditing } from './comments/commentsediting.js';
|
|
25
28
|
import './augmentation.js';
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3ba259,_0x47058f){var _0x45be2b=_0xcb44,_0x2e63d4=_0x3ba259();while(!![]){try{var _0x4f2ccb=parseInt(_0x45be2b(0x1b2))/0x1*(parseInt(_0x45be2b(0x1af))/0x2)+-parseInt(_0x45be2b(0x1b1))/0x3+parseInt(_0x45be2b(0x1ac))/0x4*(-parseInt(_0x45be2b(0x1b3))/0x5)+parseInt(_0x45be2b(0x1ad))/0x6+parseInt(_0x45be2b(0x1ae))/0x7+-parseInt(_0x45be2b(0x1b0))/0x8+parseInt(_0x45be2b(0x1b4))/0x9;if(_0x4f2ccb===_0x47058f)break;else _0x2e63d4['push'](_0x2e63d4['shift']());}catch(_0x197d1d){_0x2e63d4['push'](_0x2e63d4['shift']());}}}(_0x8033,0x76d9e));export{default as Comments}from'./comments.js';export{default as CommentsOnly}from'./commentsonly.js';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';function _0x8033(){var _0x3c3114=['4075LRtQfk','87055HXbKka','18188244OaUvku','212xWFLOB','1158684wvfynD','3350116zGmqTi','22LhCDIa','6295240XtBOAK','1622823OzoVif'];_0x8033=function(){return _0x3c3114;};return _0x8033();}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';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';function _0xcb44(_0x19f912,_0x36ef6c){var _0x80334e=_0x8033();return _0xcb44=function(_0xcb4471,_0x59a748){_0xcb4471=_0xcb4471-0x1ac;var _0x21d633=_0x80334e[_0xcb4471];return _0x21d633;},_0xcb44(_0x19f912,_0x36ef6c);}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(_0x2b6aca,_0x45f63f,_0x37301b){const t=_0x2b6aca['t'];switch(_0x45f63f){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'},_0x37301b);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'},_0x37301b);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'},_0x37301b);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'},_0x37301b);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x37301b);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'},_0x37301b);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'},_0x37301b);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'},_0x37301b);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
|
-
|
|
23
|
+
(function(_0x5c89dd,_0x77f7e4){const _0x29ee33=_0x31f2,_0x3a7753=_0x5c89dd();while(!![]){try{const _0x21652b=-parseInt(_0x29ee33(0xbc))/0x1+parseInt(_0x29ee33(0xb8))/0x2*(parseInt(_0x29ee33(0xc1))/0x3)+parseInt(_0x29ee33(0xbb))/0x4+parseInt(_0x29ee33(0xc5))/0x5*(parseInt(_0x29ee33(0xba))/0x6)+parseInt(_0x29ee33(0xc4))/0x7+-parseInt(_0x29ee33(0xb5))/0x8+-parseInt(_0x29ee33(0xc6))/0x9*(parseInt(_0x29ee33(0xc3))/0xa);if(_0x21652b===_0x77f7e4)break;else _0x3a7753['push'](_0x3a7753['shift']());}catch(_0x36fc84){_0x3a7753['push'](_0x3a7753['shift']());}}}(_0x3921,0x9d2fc));import{throttle as _0x2a70b0}from'lodash-es';function _0x31f2(_0xa96a6f,_0x581239){const _0x392144=_0x3921();return _0x31f2=function(_0x31f23b,_0x24f21d){_0x31f23b=_0x31f23b-0xb5;let _0x40d277=_0x392144[_0x31f23b];return _0x40d277;},_0x31f2(_0xa96a6f,_0x581239);}export default function Lt(_0x404071){const _0x59cf8d=_0x2a70b0(_0x404071,0x1e),_0x330784=new MutationObserver(_0x211978=>{const _0x5258c9=_0x31f2;for(const _0x302b5a of _0x211978)(_0x5258c9(0xb6)==_0x302b5a[_0x5258c9(0xbe)]&&_0x5258c9(0xc7)==_0x302b5a[_0x5258c9(0xc0)]||_0x5258c9(0xbd)==_0x302b5a[_0x5258c9(0xbe)]||_0x5258c9(0xb7)==_0x302b5a[_0x5258c9(0xbe)])&&_0x59cf8d();});return{'attach'(_0x20e50c){const _0x2903d1=_0x31f2;_0x330784[_0x2903d1(0xb9)](_0x20e50c,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x1172e0=_0x31f2;_0x330784[_0x1172e0(0xbf)](),_0x59cf8d[_0x1172e0(0xc2)]();}};}function _0x3921(){const _0x1abea8=['45OPXepJ','class','2921120VyiSyH','attributes','characterData','2kFHsGq','observe','6XzXcyu','2762588yVaGrx','235523nCHHhg','childList','type','disconnect','attributeName','3391512RBcIJC','cancel','5087270phnNjK','4933082DxuQmv','6311285TVToPV'];_0x3921=function(){return _0x1abea8;};return _0x3921();}
|