@ckeditor/ckeditor5-comments 44.2.0-alpha.14 → 44.2.0-alpha.15
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/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +17 -17
- 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/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xa4dccc=_0x20c0;(function(_0x637732,_0x1021a3){const _0x55d978=_0x20c0,_0x41affb=_0x637732();while(!![]){try{const _0x290542=-parseInt(_0x55d978(0x1d5))/0x1*(parseInt(_0x55d978(0x1f2))/0x2)+parseInt(_0x55d978(0x234))/0x3*(parseInt(_0x55d978(0x212))/0x4)+parseInt(_0x55d978(0x20d))/0x5*(parseInt(_0x55d978(0x21d))/0x6)+-parseInt(_0x55d978(0x1d4))/0x7+-parseInt(_0x55d978(0x220))/0x8+parseInt(_0x55d978(0x1dc))/0x9*(-parseInt(_0x55d978(0x223))/0xa)+parseInt(_0x55d978(0x1d9))/0xb*(parseInt(_0x55d978(0x1d6))/0xc);if(_0x290542===_0x1021a3)break;else _0x41affb['push'](_0x41affb['shift']());}catch(_0x5a6b2b){_0x41affb['push'](_0x41affb['shift']());}}}(_0x193f,0xc2319));import{View as _0x10a69c,FocusCycler as _0x5e8888}from'ckeditor5/src/ui.js';import{diff as _0x3195bb,Collection as _0x3dbe42,FocusTracker as _0x3fbfea,KeystrokeHandler as _0x3870e8}from'ckeditor5/src/utils.js';import{getTranslation as _0x570cf7}from'../../../utils/common-translations.js';function _0x20c0(_0x11e8b3,_0x34fba9){const _0x193f18=_0x193f();return _0x20c0=function(_0x20c093,_0x5e280c){_0x20c093=_0x20c093-0x1d3;let _0x5cfac7=_0x193f18[_0x20c093];return _0x5cfac7;},_0x20c0(_0x11e8b3,_0x34fba9);}import _0x2bac93 from'./collapsedcommentsview.js';function _0x193f(){const _0x126023=['ck-hidden','added','commentUpdated','forEach','focusLast','change:isActive','delete','expand','change:hasDirtyComment','formatDateTime','resolvedAt','focusTracker','delegate','map','2626804ThxNkM','remove','ck-thread__comments','removeComment','reverse','some','_updateHasDirtyComment','editorDestroyed','_rearrangeCollapse','_setupKeyboardNavigation','set','commentViews','arrowdown','resolvedBy','includes','maxThreadTotalWeight','listenTo','_rearrangeExpand','add','_handleRemoveCommentModel','focusCycler','collapse','stopListening','Thread\x20comments','_calculatePosition','change:isEditMode','refreshVisibleViews','5VxUyvG','weight','resolvedCommentView','count','length','788asuHtz','hasDirtyComment','keystrokes','arrowup','focusFirst','maxCommentsWhenCollapsed','visibleViews','insert','Marked\x20as\x20resolved','authoredAt','setTemplate','4659114JDVXqm','resolved','focus','10004216SoqtKC','maxCommentCharsWhenCollapsed','locale','10PlbbzX','_findOptimalIndex','target','_model','comments','updateComment','isEditMode','destroy','bind','_handleInfoComment','editorConfig','editorReady','viewUid','removed','equal','_handleNewCommentModel','CommentView','22569qLpbDg','get','isActive','8538978UqNpyH','1XusTbD','12BQnpZA','bindTemplate','render','28556187GaZwQo','createCollection','change','2478303rmXkVZ','from','element','resolveCommentThread','_shouldCollapse','_collapsedCommentsView','change:isResolved','_config'];_0x193f=function(){return _0x126023;};return _0x193f();}export default class te extends _0x10a69c{constructor(_0x2b8352,_0x5cb73a,_0x28bac8){const _0x3ae52e=_0x20c0;super(_0x2b8352);const _0x4de050=this[_0x3ae52e(0x1d7)];this[_0x3ae52e(0x1fc)](_0x3ae52e(0x213),!0x1),this[_0x3ae52e(0x1fc)](_0x3ae52e(0x211),_0x5cb73a[_0x3ae52e(0x227)][_0x3ae52e(0x211)]),this[_0x3ae52e(0x1fc)](_0x3ae52e(0x1d3),!0x1),this[_0x3ae52e(0x226)]=_0x5cb73a,this[_0x3ae52e(0x1e3)]=_0x28bac8,this[_0x3ae52e(0x1fd)]=this[_0x3ae52e(0x1da)](),this[_0x3ae52e(0x218)]=this[_0x3ae52e(0x1da)](),this[_0x3ae52e(0x20f)]=null,this[_0x3ae52e(0x1ef)]=new _0x3fbfea(),this[_0x3ae52e(0x214)]=new _0x3870e8(),this[_0x3ae52e(0x206)]=new _0x5e8888({'focusables':this[_0x3ae52e(0x1fd)],'focusTracker':this[_0x3ae52e(0x1ef)],'keystrokeHandler':this[_0x3ae52e(0x214)],'keystrokeHandlerOptions':{'filter':_0x49aeba=>this[_0x3ae52e(0x1fd)][_0x3ae52e(0x1f1)](_0x548ec6=>_0x548ec6[_0x3ae52e(0x1de)])[_0x3ae52e(0x200)](_0x49aeba[_0x3ae52e(0x225)])},'actions':{'focusPrevious':_0x3ae52e(0x215),'focusNext':_0x3ae52e(0x1fe)}}),this[_0x3ae52e(0x1e1)]=new _0x2bac93(_0x2b8352),this[_0x3ae52e(0x1e1)][_0x3ae52e(0x22b)](_0x3ae52e(0x210))['to'](this,_0x3ae52e(0x211),_0xba47dd=>_0xba47dd-this[_0x3ae52e(0x1e3)][_0x3ae52e(0x217)]);for(const _0x140e23 of _0x5cb73a[_0x3ae52e(0x227)])this[_0x3ae52e(0x232)](_0x140e23);this[_0x3ae52e(0x22c)](),this[_0x3ae52e(0x202)](_0x5cb73a[_0x3ae52e(0x227)],_0x3ae52e(0x204),(_0x4f04e8,_0x401662)=>{const _0x53dc66=_0x3ae52e,_0x127726=this[_0x53dc66(0x20a)](_0x401662);this[_0x53dc66(0x211)]++,this[_0x53dc66(0x232)](_0x401662,_0x127726),this[_0x53dc66(0x20c)]();}),this[_0x3ae52e(0x202)](_0x5cb73a[_0x3ae52e(0x227)],_0x3ae52e(0x1f3),(_0xe791e7,_0x44a3f4)=>{const _0x2965af=_0x3ae52e;this[_0x2965af(0x211)]--,this[_0x2965af(0x205)](_0x44a3f4),this[_0x2965af(0x20c)]();}),this[_0x3ae52e(0x202)](_0x5cb73a,_0x3ae52e(0x1e6),()=>this[_0x3ae52e(0x20c)]()),this[_0x3ae52e(0x202)](_0x5cb73a,_0x3ae52e(0x1e2),()=>this[_0x3ae52e(0x22c)]()),this['on'](_0x3ae52e(0x1e9),()=>this[_0x3ae52e(0x20c)]()),this['on'](_0x3ae52e(0x1ec),()=>this[_0x3ae52e(0x20c)]()),this[_0x3ae52e(0x21c)]({'tag':'ul','attributes':{'class':[_0x3ae52e(0x1f4),_0x4de050['if'](_0x3ae52e(0x211),_0x3ae52e(0x1e4),_0x1f7831=>!_0x1f7831)],'aria-label':_0x570cf7(_0x2b8352,_0x3ae52e(0x209))},'children':this[_0x3ae52e(0x218)]});}get[_0xa4dccc(0x1e0)](){const _0x2da929=_0xa4dccc;return this[_0x2da929(0x226)][_0x2da929(0x20e)]>this[_0x2da929(0x1e3)][_0x2da929(0x201)]&&!this[_0x2da929(0x1d3)]&&!this[_0x2da929(0x213)];}[_0xa4dccc(0x1d8)](){const _0xd163e2=_0xa4dccc;super[_0xd163e2(0x1d8)](),this[_0xd163e2(0x20c)](),this[_0xd163e2(0x1fb)]();}[_0xa4dccc(0x21f)](_0x44b34d){const _0x3ef24c=_0xa4dccc;-0x1===_0x44b34d?this[_0x3ef24c(0x206)][_0x3ef24c(0x1e8)]():this[_0x3ef24c(0x206)][_0x3ef24c(0x216)]();}[_0xa4dccc(0x22a)](){const _0x476dd0=_0xa4dccc;this[_0x476dd0(0x1e1)][_0x476dd0(0x22a)]();for(const _0x271082 of this[_0x476dd0(0x1fd)])_0x271082[_0x476dd0(0x22a)]();super[_0x476dd0(0x22a)]();}[_0xa4dccc(0x20c)](){const _0x1c089e=_0xa4dccc;this[_0x1c089e(0x1e0)]?this[_0x1c089e(0x1fa)]():this[_0x1c089e(0x203)]();}[_0xa4dccc(0x232)](_0x2289c0,_0x25044e){const _0x6429b3=_0xa4dccc,_0x1fd604=new this[(_0x6429b3(0x1e3))][(_0x6429b3(0x233))](this[_0x6429b3(0x222)],_0x2289c0,{'maxCommentCharsWhenCollapsed':this[_0x6429b3(0x1e3)][_0x6429b3(0x221)],'formatDateTime':this[_0x6429b3(0x1e3)][_0x6429b3(0x1ed)],'editorConfig':this[_0x6429b3(0x1e3)][_0x6429b3(0x22d)]});_0x1fd604[_0x6429b3(0x22f)]=_0x2289c0['id'],_0x1fd604[_0x6429b3(0x1f0)](_0x6429b3(0x1f5))['to'](this),_0x1fd604[_0x6429b3(0x1f0)](_0x6429b3(0x228))['to'](this),_0x1fd604[_0x6429b3(0x1f0)](_0x6429b3(0x1df))['to'](this),_0x1fd604[_0x6429b3(0x1f0)](_0x6429b3(0x22e))['to'](this),_0x1fd604[_0x6429b3(0x1f0)](_0x6429b3(0x1f9))['to'](this),this[_0x6429b3(0x202)](_0x1fd604,_0x6429b3(0x20b),()=>this[_0x6429b3(0x1f8)]()),this[_0x6429b3(0x1fd)][_0x6429b3(0x204)](_0x1fd604,_0x25044e);}[_0xa4dccc(0x20a)](_0x2981cc){const _0x3d420f=_0xa4dccc,_0x40de88=this[_0x3d420f(0x226)][_0x3d420f(0x224)](_0x2981cc);return this[_0x3d420f(0x20f)]?this[_0x3d420f(0x20f)][_0x3d420f(0x21b)]>_0x2981cc[_0x3d420f(0x21b)]?_0x40de88-0x1:_0x40de88:_0x40de88-0x1;}[_0xa4dccc(0x22c)](){const _0x33ef25=_0xa4dccc;if(this[_0x33ef25(0x226)][_0x33ef25(0x1ff)]&&this[_0x33ef25(0x226)][_0x33ef25(0x1ee)]){const _0x3bb22c={'id':_0x33ef25(0x21e),'author':this[_0x33ef25(0x226)][_0x33ef25(0x1ff)],'authoredAt':this[_0x33ef25(0x226)][_0x33ef25(0x1ee)],'content':_0x570cf7(this[_0x33ef25(0x222)],_0x33ef25(0x21a)),'attributes':{}};this[_0x33ef25(0x20f)]=new this[(_0x33ef25(0x1e3))][(_0x33ef25(0x233))](this[_0x33ef25(0x222)],_0x3bb22c,{'maxCommentCharsWhenCollapsed':this[_0x33ef25(0x1e3)][_0x33ef25(0x221)],'formatDateTime':this[_0x33ef25(0x1e3)][_0x33ef25(0x1ed)],'editorConfig':this[_0x33ef25(0x1e3)][_0x33ef25(0x22d)],'isSystemComment':!0x0}),this[_0x33ef25(0x1fd)][_0x33ef25(0x204)](this[_0x33ef25(0x20f)],this[_0x33ef25(0x226)][_0x33ef25(0x224)](_0x3bb22c));}else this[_0x33ef25(0x20f)]&&(this[_0x33ef25(0x1fd)][_0x33ef25(0x1f3)](this[_0x33ef25(0x20f)]),this[_0x33ef25(0x20f)][_0x33ef25(0x22a)](),this[_0x33ef25(0x20f)]=null);this[_0x33ef25(0x20c)]();}[_0xa4dccc(0x205)](_0x276df4){const _0x4fb54d=_0xa4dccc,_0x388c5c=this[_0x4fb54d(0x1fd)][_0x4fb54d(0x1f3)](_0x276df4['id']);this[_0x4fb54d(0x208)](_0x388c5c),_0x388c5c[_0x4fb54d(0x229)]&&this[_0x4fb54d(0x1f8)](),_0x388c5c[_0x4fb54d(0x22a)]();}[_0xa4dccc(0x1f8)](){const _0x2a3e23=_0xa4dccc;this[_0x2a3e23(0x213)]=Array[_0x2a3e23(0x1dd)](this[_0x2a3e23(0x1fd)])[_0x2a3e23(0x1f7)](_0x53c4b6=>_0x53c4b6[_0x2a3e23(0x229)]);}[_0xa4dccc(0x1fa)](){const _0x183679=_0xa4dccc,_0xbebc52=function(_0x54ad71){const _0x188f65=_0x20c0,_0x5767eb=new _0x3dbe42();for(const _0x30e971 of _0x54ad71)_0x5767eb[_0x188f65(0x204)](_0x30e971);return _0x5767eb;}(this[_0x183679(0x1fd)]),_0x166e22=this[_0x183679(0x1e1)][_0x183679(0x210)];for(let _0x1b5fde=0x1;_0x1b5fde<=_0x166e22;_0x1b5fde++)_0xbebc52[_0x183679(0x1f3)](0x1);for(const _0x57f090 of _0xbebc52)_0x57f090[_0x183679(0x207)]();_0x166e22>0x0&&_0xbebc52[_0x183679(0x204)](this[_0x183679(0x1e1)],0x1),as(_0x3195bb(Array[_0x183679(0x1dd)](this[_0x183679(0x218)]),Array[_0x183679(0x1dd)](_0xbebc52)),this[_0x183679(0x218)],_0xbebc52);}[_0xa4dccc(0x203)](){const _0x1f0ff8=_0xa4dccc;as(_0x3195bb(Array[_0x1f0ff8(0x1dd)](this[_0x1f0ff8(0x218)]),Array[_0x1f0ff8(0x1dd)](this[_0x1f0ff8(0x1fd)])),this[_0x1f0ff8(0x218)],this[_0x1f0ff8(0x1fd)]);for(const _0x5771f6 of this[_0x1f0ff8(0x218)])_0x5771f6[_0x1f0ff8(0x1eb)]();}[_0xa4dccc(0x1fb)](){const _0x52a2f1=_0xa4dccc;this[_0x52a2f1(0x1fd)][_0x52a2f1(0x1e7)](_0x2914bf=>{const _0x51923d=_0x52a2f1;this[_0x51923d(0x1ef)][_0x51923d(0x204)](_0x2914bf[_0x51923d(0x1de)]),this[_0x51923d(0x214)][_0x51923d(0x202)](_0x2914bf[_0x51923d(0x1de)]);}),this[_0x52a2f1(0x1fd)]['on'](_0x52a2f1(0x1db),(_0x503145,_0x52b242)=>{const _0x599570=_0x52a2f1;for(const _0x51bb11 of _0x52b242[_0x599570(0x230)])this[_0x599570(0x1ef)][_0x599570(0x1f3)](_0x51bb11[_0x599570(0x1de)]),this[_0x599570(0x214)][_0x599570(0x208)](_0x51bb11[_0x599570(0x1de)]);for(const _0x4e19b1 of Array[_0x599570(0x1dd)](_0x52b242[_0x599570(0x1e5)])[_0x599570(0x1f6)]())this[_0x599570(0x1ef)][_0x599570(0x204)](_0x4e19b1[_0x599570(0x1de)]),this[_0x599570(0x214)][_0x599570(0x202)](_0x4e19b1[_0x599570(0x1de)]);});}}function as(_0x5d467b,_0x5a4380,_0x5779a7){const _0x387bff=_0xa4dccc;let _0x219431=0x0;for(const _0x523ec2 of _0x5d467b)switch(_0x523ec2){case _0x387bff(0x219):_0x5a4380[_0x387bff(0x204)](_0x5779a7[_0x387bff(0x235)](_0x219431),_0x219431),_0x219431++;break;case _0x387bff(0x1ea):_0x5a4380[_0x387bff(0x1f3)](_0x219431);break;case _0x387bff(0x231):_0x219431++;}}
|
|
23
|
+
const _0x1b5a24=_0x5e64;(function(_0x43ccc0,_0x44bd6b){const _0x1a84f1=_0x5e64,_0x46c19a=_0x43ccc0();while(!![]){try{const _0x79de28=-parseInt(_0x1a84f1(0xcc))/0x1+-parseInt(_0x1a84f1(0xe2))/0x2+parseInt(_0x1a84f1(0xae))/0x3*(-parseInt(_0x1a84f1(0xcf))/0x4)+parseInt(_0x1a84f1(0xa3))/0x5+-parseInt(_0x1a84f1(0xd3))/0x6+-parseInt(_0x1a84f1(0xf6))/0x7*(parseInt(_0x1a84f1(0xc0))/0x8)+-parseInt(_0x1a84f1(0xfa))/0x9*(-parseInt(_0x1a84f1(0xdd))/0xa);if(_0x79de28===_0x44bd6b)break;else _0x46c19a['push'](_0x46c19a['shift']());}catch(_0x45fe6c){_0x46c19a['push'](_0x46c19a['shift']());}}}(_0x25a6,0xd7f57));function _0x5e64(_0x492663,_0x9fd261){const _0x25a6c1=_0x25a6();return _0x5e64=function(_0x5e64a6,_0xd08aea){_0x5e64a6=_0x5e64a6-0xa1;let _0x1d0fc3=_0x25a6c1[_0x5e64a6];return _0x1d0fc3;},_0x5e64(_0x492663,_0x9fd261);}import{View as _0x6b0bbd,FocusCycler as _0x525fe2}from'ckeditor5/src/ui.js';import{diff as _0x18b1e3,Collection as _0x7d11f5,FocusTracker as _0x12b87d,KeystrokeHandler as _0x384863}from'ckeditor5/src/utils.js';import{getTranslation as _0x43e114}from'../../../utils/common-translations.js';import _0x50752e from'./collapsedcommentsview.js';export default class te extends _0x6b0bbd{constructor(_0x1ac830,_0x45dc81,_0x437197){const _0x2dc848=_0x5e64;super(_0x1ac830);const _0x4ea56e=this[_0x2dc848(0xe9)];this[_0x2dc848(0xd5)](_0x2dc848(0xa7),!0x1),this[_0x2dc848(0xd5)](_0x2dc848(0xfc),_0x45dc81[_0x2dc848(0xc4)][_0x2dc848(0xfc)]),this[_0x2dc848(0xd5)](_0x2dc848(0xf5),!0x1),this[_0x2dc848(0xf3)]=_0x45dc81,this[_0x2dc848(0xee)]=_0x437197,this[_0x2dc848(0xa9)]=this[_0x2dc848(0xc8)](),this[_0x2dc848(0xac)]=this[_0x2dc848(0xc8)](),this[_0x2dc848(0xdf)]=null,this[_0x2dc848(0xe1)]=new _0x12b87d(),this[_0x2dc848(0xaa)]=new _0x384863(),this[_0x2dc848(0xa6)]=new _0x525fe2({'focusables':this[_0x2dc848(0xa9)],'focusTracker':this[_0x2dc848(0xe1)],'keystrokeHandler':this[_0x2dc848(0xaa)],'keystrokeHandlerOptions':{'filter':_0x98cb47=>this[_0x2dc848(0xa9)][_0x2dc848(0xc6)](_0x3aa9a3=>_0x3aa9a3[_0x2dc848(0xfb)])[_0x2dc848(0xd2)](_0x98cb47[_0x2dc848(0xf0)])},'actions':{'focusPrevious':_0x2dc848(0xa5),'focusNext':_0x2dc848(0xba)}}),this[_0x2dc848(0xf7)]=new _0x50752e(_0x1ac830),this[_0x2dc848(0xf7)][_0x2dc848(0xe8)](_0x2dc848(0xb2))['to'](this,_0x2dc848(0xfc),_0x2763ae=>_0x2763ae-this[_0x2dc848(0xee)][_0x2dc848(0xb7)]);for(const _0x282c90 of _0x45dc81[_0x2dc848(0xc4)])this[_0x2dc848(0xdc)](_0x282c90);this[_0x2dc848(0xb8)](),this[_0x2dc848(0xb3)](_0x45dc81[_0x2dc848(0xc4)],_0x2dc848(0xf9),(_0xf19b50,_0x5200f1)=>{const _0x554d09=_0x2dc848,_0x2477c2=this[_0x554d09(0xbc)](_0x5200f1);this[_0x554d09(0xfc)]++,this[_0x554d09(0xdc)](_0x5200f1,_0x2477c2),this[_0x554d09(0xb6)]();}),this[_0x2dc848(0xb3)](_0x45dc81[_0x2dc848(0xc4)],_0x2dc848(0xaf),(_0x19ebaa,_0x105ce7)=>{const _0x1d8281=_0x2dc848;this[_0x1d8281(0xfc)]--,this[_0x1d8281(0xa8)](_0x105ce7),this[_0x1d8281(0xb6)]();}),this[_0x2dc848(0xb3)](_0x45dc81,_0x2dc848(0xce),()=>this[_0x2dc848(0xb6)]()),this[_0x2dc848(0xb3)](_0x45dc81,_0x2dc848(0xb1),()=>this[_0x2dc848(0xb8)]()),this['on'](_0x2dc848(0xe6),()=>this[_0x2dc848(0xb6)]()),this['on'](_0x2dc848(0xad),()=>this[_0x2dc848(0xb6)]()),this[_0x2dc848(0xeb)]({'tag':'ul','attributes':{'class':[_0x2dc848(0xc5),_0x4ea56e['if'](_0x2dc848(0xfc),_0x2dc848(0xd0),_0x55a388=>!_0x55a388)],'aria-label':_0x43e114(_0x1ac830,_0x2dc848(0xb5))},'children':this[_0x2dc848(0xac)]});}get[_0x1b5a24(0xbb)](){const _0x5c7a6c=_0x1b5a24;return this[_0x5c7a6c(0xf3)][_0x5c7a6c(0xa4)]>this[_0x5c7a6c(0xee)][_0x5c7a6c(0xcd)]&&!this[_0x5c7a6c(0xf5)]&&!this[_0x5c7a6c(0xa7)];}[_0x1b5a24(0xe0)](){const _0xd3f74f=_0x1b5a24;super[_0xd3f74f(0xe0)](),this[_0xd3f74f(0xb6)](),this[_0xd3f74f(0xb9)]();}[_0x1b5a24(0xff)](_0xddca3d){const _0xfe9504=_0x1b5a24;-0x1===_0xddca3d?this[_0xfe9504(0xa6)][_0xfe9504(0xb0)]():this[_0xfe9504(0xa6)][_0xfe9504(0xe7)]();}[_0x1b5a24(0xb4)](){const _0x4a88da=_0x1b5a24;this[_0x4a88da(0xf7)][_0x4a88da(0xb4)]();for(const _0x1cf654 of this[_0x4a88da(0xa9)])_0x1cf654[_0x4a88da(0xb4)]();super[_0x4a88da(0xb4)]();}[_0x1b5a24(0xb6)](){const _0x2d0e2a=_0x1b5a24;this[_0x2d0e2a(0xbb)]?this[_0x2d0e2a(0xc7)]():this[_0x2d0e2a(0xe3)]();}[_0x1b5a24(0xdc)](_0x5728cf,_0x306baf){const _0x3c28d2=_0x1b5a24,_0x5560e8=new this[(_0x3c28d2(0xee))][(_0x3c28d2(0xd4))](this[_0x3c28d2(0x101)],_0x5728cf,{'maxCommentCharsWhenCollapsed':this[_0x3c28d2(0xee)][_0x3c28d2(0xd1)],'formatDateTime':this[_0x3c28d2(0xee)][_0x3c28d2(0xbf)],'editorConfig':this[_0x3c28d2(0xee)][_0x3c28d2(0xec)]});_0x5560e8[_0x3c28d2(0xfe)]=_0x5728cf['id'],_0x5560e8[_0x3c28d2(0xcb)](_0x3c28d2(0xf8))['to'](this),_0x5560e8[_0x3c28d2(0xcb)](_0x3c28d2(0xf2))['to'](this),_0x5560e8[_0x3c28d2(0xcb)](_0x3c28d2(0xa1))['to'](this),_0x5560e8[_0x3c28d2(0xcb)](_0x3c28d2(0xbe))['to'](this),_0x5560e8[_0x3c28d2(0xcb)](_0x3c28d2(0xab))['to'](this),this[_0x3c28d2(0xb3)](_0x5560e8,_0x3c28d2(0xf4),()=>this[_0x3c28d2(0xfd)]()),this[_0x3c28d2(0xa9)][_0x3c28d2(0xf9)](_0x5560e8,_0x306baf);}[_0x1b5a24(0xbc)](_0x4aeeb6){const _0x106f1e=_0x1b5a24,_0x3e0926=this[_0x106f1e(0xf3)][_0x106f1e(0xd6)](_0x4aeeb6);return this[_0x106f1e(0xdf)]?this[_0x106f1e(0xdf)][_0x106f1e(0xf1)]>_0x4aeeb6[_0x106f1e(0xf1)]?_0x3e0926-0x1:_0x3e0926:_0x3e0926-0x1;}[_0x1b5a24(0xb8)](){const _0x3827d9=_0x1b5a24;if(this[_0x3827d9(0xf3)][_0x3827d9(0xc9)]&&this[_0x3827d9(0xf3)][_0x3827d9(0xed)]){const _0x18dcd5={'id':_0x3827d9(0xc3),'author':this[_0x3827d9(0xf3)][_0x3827d9(0xc9)],'authoredAt':this[_0x3827d9(0xf3)][_0x3827d9(0xed)],'content':_0x43e114(this[_0x3827d9(0x101)],_0x3827d9(0xc1)),'attributes':{}};this[_0x3827d9(0xdf)]=new this[(_0x3827d9(0xee))][(_0x3827d9(0xd4))](this[_0x3827d9(0x101)],_0x18dcd5,{'maxCommentCharsWhenCollapsed':this[_0x3827d9(0xee)][_0x3827d9(0xd1)],'formatDateTime':this[_0x3827d9(0xee)][_0x3827d9(0xbf)],'editorConfig':this[_0x3827d9(0xee)][_0x3827d9(0xec)],'isSystemComment':!0x0}),this[_0x3827d9(0xa9)][_0x3827d9(0xf9)](this[_0x3827d9(0xdf)],this[_0x3827d9(0xf3)][_0x3827d9(0xd6)](_0x18dcd5));}else this[_0x3827d9(0xdf)]&&(this[_0x3827d9(0xa9)][_0x3827d9(0xaf)](this[_0x3827d9(0xdf)]),this[_0x3827d9(0xdf)][_0x3827d9(0xb4)](),this[_0x3827d9(0xdf)]=null);this[_0x3827d9(0xb6)]();}[_0x1b5a24(0xa8)](_0x40e8f1){const _0x3fc99c=_0x1b5a24,_0x27874e=this[_0x3fc99c(0xa9)][_0x3fc99c(0xaf)](_0x40e8f1['id']);this[_0x3fc99c(0xbd)](_0x27874e),_0x27874e[_0x3fc99c(0xe5)]&&this[_0x3fc99c(0xfd)](),_0x27874e[_0x3fc99c(0xb4)]();}[_0x1b5a24(0xfd)](){const _0x655e1b=_0x1b5a24;this[_0x655e1b(0xa7)]=Array[_0x655e1b(0xdb)](this[_0x655e1b(0xa9)])[_0x655e1b(0xef)](_0x2ce25f=>_0x2ce25f[_0x655e1b(0xe5)]);}[_0x1b5a24(0xc7)](){const _0x4e59d7=_0x1b5a24,_0x44cc45=function(_0x6d6fed){const _0x5219ae=_0x5e64,_0xe7948b=new _0x7d11f5();for(const _0x4974a9 of _0x6d6fed)_0xe7948b[_0x5219ae(0xf9)](_0x4974a9);return _0xe7948b;}(this[_0x4e59d7(0xa9)]),_0x1718dc=this[_0x4e59d7(0xf7)][_0x4e59d7(0xb2)];for(let _0x26b361=0x1;_0x26b361<=_0x1718dc;_0x26b361++)_0x44cc45[_0x4e59d7(0xaf)](0x1);for(const _0x10f34a of _0x44cc45)_0x10f34a[_0x4e59d7(0xde)]();_0x1718dc>0x0&&_0x44cc45[_0x4e59d7(0xf9)](this[_0x4e59d7(0xf7)],0x1),as(_0x18b1e3(Array[_0x4e59d7(0xdb)](this[_0x4e59d7(0xac)]),Array[_0x4e59d7(0xdb)](_0x44cc45)),this[_0x4e59d7(0xac)],_0x44cc45);}[_0x1b5a24(0xe3)](){const _0x14b6a5=_0x1b5a24;as(_0x18b1e3(Array[_0x14b6a5(0xdb)](this[_0x14b6a5(0xac)]),Array[_0x14b6a5(0xdb)](this[_0x14b6a5(0xa9)])),this[_0x14b6a5(0xac)],this[_0x14b6a5(0xa9)]);for(const _0x5148c8 of this[_0x14b6a5(0xac)])_0x5148c8[_0x14b6a5(0xda)]();}[_0x1b5a24(0xb9)](){const _0x57677f=_0x1b5a24;this[_0x57677f(0xa9)][_0x57677f(0xa2)](_0x34bcda=>{const _0x47b410=_0x57677f;this[_0x47b410(0xe1)][_0x47b410(0xf9)](_0x34bcda[_0x47b410(0xfb)]),this[_0x47b410(0xaa)][_0x47b410(0xb3)](_0x34bcda[_0x47b410(0xfb)]);}),this[_0x57677f(0xa9)]['on'](_0x57677f(0xc2),(_0xbc07fd,_0x4bb959)=>{const _0x451d3e=_0x57677f;for(const _0x387e7c of _0x4bb959[_0x451d3e(0xe4)])this[_0x451d3e(0xe1)][_0x451d3e(0xaf)](_0x387e7c[_0x451d3e(0xfb)]),this[_0x451d3e(0xaa)][_0x451d3e(0xbd)](_0x387e7c[_0x451d3e(0xfb)]);for(const _0x4ff8c2 of Array[_0x451d3e(0xdb)](_0x4bb959[_0x451d3e(0xea)])[_0x451d3e(0xca)]())this[_0x451d3e(0xe1)][_0x451d3e(0xf9)](_0x4ff8c2[_0x451d3e(0xfb)]),this[_0x451d3e(0xaa)][_0x451d3e(0xb3)](_0x4ff8c2[_0x451d3e(0xfb)]);});}}function _0x25a6(){const _0x584a12=['focusLast','change:isResolved','count','listenTo','destroy','Thread\x20comments','refreshVisibleViews','maxCommentsWhenCollapsed','_handleInfoComment','_setupKeyboardNavigation','arrowdown','_shouldCollapse','_calculatePosition','stopListening','editorReady','formatDateTime','56OfeqyE','Marked\x20as\x20resolved','change','resolved','comments','ck-thread__comments','map','_rearrangeCollapse','createCollection','resolvedBy','reverse','delegate','139773hmKTEp','maxThreadTotalWeight','commentUpdated','12zopEjQ','ck-hidden','maxCommentCharsWhenCollapsed','includes','10529736QeexgB','CommentView','set','_findOptimalIndex','equal','delete','get','expand','from','_handleNewCommentModel','2206350SOxeZe','collapse','resolvedCommentView','render','focusTracker','1838744XuwAZg','_rearrangeExpand','removed','isEditMode','change:isActive','focusFirst','bind','bindTemplate','added','setTemplate','editorConfig','resolvedAt','_config','some','target','authoredAt','updateComment','_model','change:isEditMode','isActive','561435bgeTfF','_collapsedCommentsView','removeComment','add','225wEXxYG','element','length','_updateHasDirtyComment','viewUid','focus','insert','locale','resolveCommentThread','forEach','1645865HUfkzd','weight','arrowup','focusCycler','hasDirtyComment','_handleRemoveCommentModel','commentViews','keystrokes','editorDestroyed','visibleViews','change:hasDirtyComment','1584945IGoSFt','remove'];_0x25a6=function(){return _0x584a12;};return _0x25a6();}function as(_0x2dac55,_0x4560ad,_0x186dde){const _0x440a4a=_0x1b5a24;let _0x58c20b=0x0;for(const _0x493ed7 of _0x2dac55)switch(_0x493ed7){case _0x440a4a(0x100):_0x4560ad[_0x440a4a(0xf9)](_0x186dde[_0x440a4a(0xd9)](_0x58c20b),_0x58c20b),_0x58c20b++;break;case _0x440a4a(0xd8):_0x4560ad[_0x440a4a(0xaf)](_0x58c20b);break;case _0x440a4a(0xd7):_0x58c20b++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x150ec2=_0x2797;(function(_0x385362,_0x5c717f){const _0x1af2d9=_0x2797,_0x47f411=_0x385362();while(!![]){try{const _0x2bc0c1=parseInt(_0x1af2d9(0x14a))/0x1*(parseInt(_0x1af2d9(0x15e))/0x2)+-parseInt(_0x1af2d9(0x14e))/0x3*(parseInt(_0x1af2d9(0x15d))/0x4)+-parseInt(_0x1af2d9(0x14d))/0x5*(-parseInt(_0x1af2d9(0x15b))/0x6)+parseInt(_0x1af2d9(0x14b))/0x7*(-parseInt(_0x1af2d9(0x156))/0x8)+parseInt(_0x1af2d9(0x15c))/0x9*(parseInt(_0x1af2d9(0x15a))/0xa)+-parseInt(_0x1af2d9(0x154))/0xb*(parseInt(_0x1af2d9(0x152))/0xc)+-parseInt(_0x1af2d9(0x150))/0xd;if(_0x2bc0c1===_0x5c717f)break;else _0x47f411['push'](_0x47f411['shift']());}catch(_0x2625b8){_0x47f411['push'](_0x47f411['shift']());}}}(_0x2aa5,0x6f8f9));import{View as _0x1f63ba}from'ckeditor5/src/ui.js';function _0x2797(_0x33c807,_0x1ce19b){const _0x2aa5ca=_0x2aa5();return _0x2797=function(_0x2797c5,_0x5a5ffe){_0x2797c5=_0x2797c5-0x149;let _0x4f3bbf=_0x2aa5ca[_0x2797c5];return _0x4f3bbf;},_0x2797(_0x33c807,_0x1ce19b);}function _0x2aa5(){const _0xfa3827=['3089292MRdkdi','setTemplate','11LeeQHI','focus','4280sIyBWx','set','ck-context__value','element','8320XZOlnW','318vowqfT','5607qXIqGq','4cfPIlu','6wQyzMW','contextValue','208391CsWxlp','3843jfchTW','span','24625OShynf','765405OrhBKj','bindTemplate','1836770xBfhYe','THREAD_CONTEXT_LABEL'];_0x2aa5=function(){return _0xfa3827;};return _0x2aa5();}import{getTranslation as _0x367458}from'../../../utils/common-translations.js';export default class ls extends _0x1f63ba{constructor(_0x1ab5c4){const _0x24f4d0=_0x2797;super(_0x1ab5c4);const _0x4f7a83=this[_0x24f4d0(0x14f)];this[_0x24f4d0(0x157)](_0x24f4d0(0x149),''),this[_0x24f4d0(0x153)]({'tag':_0x24f4d0(0x14c),'attributes':{'class':['ck',_0x24f4d0(0x158)],'aria-label':_0x4f7a83['to'](_0x24f4d0(0x149),_0x5b7e77=>_0x367458(_0x1ab5c4,_0x24f4d0(0x151),_0x5b7e77)),'tabindex':-0x1},'children':[{'text':_0x4f7a83['to'](_0x24f4d0(0x149))}]});}[_0x150ec2(0x155)](){const _0x5e023f=_0x150ec2;this[_0x5e023f(0x159)][_0x5e023f(0x155)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x290906=_0x18a8;(function(_0x317d47,_0x5c81e2){const _0x3a0071=_0x18a8,_0x1be255=_0x317d47();while(!![]){try{const _0x61d5d1=parseInt(_0x3a0071(0xf9))/0x1+parseInt(_0x3a0071(0xc9))/0x2+-parseInt(_0x3a0071(0xff))/0x3+parseInt(_0x3a0071(0xf1))/0x4*(-parseInt(_0x3a0071(0xfb))/0x5)+-parseInt(_0x3a0071(0xd8))/0x6+parseInt(_0x3a0071(0xdc))/0x7*(-parseInt(_0x3a0071(0xd3))/0x8)+parseInt(_0x3a0071(0xfa))/0x9;if(_0x61d5d1===_0x5c81e2)break;else _0x1be255['push'](_0x1be255['shift']());}catch(_0xf1389){_0x1be255['push'](_0x1be255['shift']());}}}(_0x24a6,0x1bdaf));function _0x18a8(_0x4ca647,_0x8ab598){const _0x24a650=_0x24a6();return _0x18a8=function(_0x18a85e,_0xbd9753){_0x18a85e=_0x18a85e-0xc3;let _0x1a4ef1=_0x24a650[_0x18a85e];return _0x1a4ef1;},_0x18a8(_0x4ca647,_0x8ab598);}import{View as _0x2debc6,ButtonView as _0x3fded2,FocusCycler as _0x5c236d}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3fa217,KeystrokeHandler as _0xbcdaee}from'ckeditor5/src/utils.js';function _0x24a6(){const _0x24a9ac=['contextView','focusFirst','reopenButtonView','_model','.ck-context','...','context','setTemplate','focusTracker','_createContextView','bindTemplate','length','_createReopenButton','4ujwtOZ','render','focusables','scrollWidth','substring','isEnabled','_trimContextValue','isVisible','150602ERyyhn','4344489sQrnQV','781570cbyrZH','tooltip','remove','execute','252417AbBtJo','listenTo','keystrokes','bind','ck-thread__header','ck-annotation__actions','add','ck-context--quotes','div','querySelector','offsetWidth','focusCycler','element','lastIndexOf','ck-context','isResolved','isResolvable','134588CBXJie','icon','contextValue','_setupKeyboardNavigation','tab','reopenCommentThread','overlay','fire','value','.ck-context__value','8mPdRmE','shift+tab','label','classList','locale','815508zCioqn','mouseenter','_attachContextActions','ck-context-wrapper','1471057qhElHD','isReadOnly','hasContext','createCollection','mouseleave','Reopen','focus','Comment\x20was\x20made\x20on\x20an\x20element'];_0x24a6=function(){return _0x24a9ac;};return _0x24a6();}import{getTranslation as _0x3812d7}from'../../../utils/common-translations.js';import _0x53a622 from'../../../../theme/icons/undo.svg';import _0xe65d37 from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export default class Zt extends _0x2debc6{constructor(_0x29c739,_0x5a7fae){const _0x22bfe9=_0x18a8;super(_0x29c739);const _0x1e21a5=this[_0x22bfe9(0xee)];this[_0x22bfe9(0xe7)]=_0x5a7fae,this[_0x22bfe9(0xe6)]=this[_0x22bfe9(0xf0)](),this[_0x22bfe9(0xe4)]=this[_0x22bfe9(0xed)](),this[_0x22bfe9(0xf3)]=this[_0x22bfe9(0xdf)]([this[_0x22bfe9(0xe4)],this[_0x22bfe9(0xe6)]]),this[_0x22bfe9(0xec)]=new _0x3fa217(),this[_0x22bfe9(0x101)]=new _0xbcdaee(),this[_0x22bfe9(0xc3)]=new _0x5c236d({'focusables':this[_0x22bfe9(0xf3)],'focusTracker':this[_0x22bfe9(0xec)],'keystrokeHandler':this[_0x22bfe9(0x101)],'actions':{'focusPrevious':_0x22bfe9(0xd4),'focusNext':_0x22bfe9(0xcd)}}),this[_0x22bfe9(0x102)](_0x22bfe9(0xde))['to'](this[_0x22bfe9(0xe7)],_0x22bfe9(0xea),_0x24fc2d=>!!_0x24fc2d),this[_0x22bfe9(0x102)](_0x22bfe9(0xcb))['to'](this[_0x22bfe9(0xe7)],_0x22bfe9(0xea),_0x1f29d5=>_0x1f29d5&&_0x1f29d5[_0x22bfe9(0xd1)]?this[_0x22bfe9(0xf7)](_0x1f29d5[_0x22bfe9(0xd1)]):_0x3812d7(this[_0x22bfe9(0xd7)],_0x22bfe9(0xe3))),this[_0x22bfe9(0xeb)]({'tag':_0x22bfe9(0x107),'attributes':{'class':[_0x22bfe9(0x103)]},'children':[{'tag':_0x22bfe9(0x107),'attributes':{'class':[_0x22bfe9(0xdb)]},'children':[{'tag':_0x22bfe9(0x107),'attributes':{'class':[_0x22bfe9(0xc6),_0x1e21a5['if'](_0x22bfe9(0xde),_0x22bfe9(0x106))]},'children':[this[_0x22bfe9(0xe4)]]}]},{'tag':_0x22bfe9(0x107),'attributes':{'class':[_0x22bfe9(0x104)]},'children':[this[_0x22bfe9(0xe6)]]}]});}[_0x290906(0xf2)](){const _0x15d290=_0x290906;super[_0x15d290(0xf2)](),this[_0x15d290(0xda)](),this[_0x15d290(0xcc)]();}[_0x290906(0xe2)](){const _0x5605b1=_0x290906;this[_0x5605b1(0xc3)][_0x5605b1(0xe5)]();}[_0x290906(0xf0)](){const _0x2d8735=_0x290906,_0x5ab1dc=new _0x3fded2(this[_0x2d8735(0xd7)]);return _0x5ab1dc[_0x2d8735(0xd5)]=_0x3812d7(this[_0x2d8735(0xd7)],_0x2d8735(0xe1)),_0x5ab1dc[_0x2d8735(0xfc)]=_0x3812d7(this[_0x2d8735(0xd7)],_0x2d8735(0xe1)),_0x5ab1dc[_0x2d8735(0xca)]=_0x53a622,_0x5ab1dc[_0x2d8735(0x102)](_0x2d8735(0xf6))['to'](this[_0x2d8735(0xe7)],_0x2d8735(0xdd),_0xe50b49=>!_0xe50b49),_0x5ab1dc[_0x2d8735(0x102)](_0x2d8735(0xf8))['to'](this[_0x2d8735(0xe7)],_0x2d8735(0xc8),this[_0x2d8735(0xe7)],_0x2d8735(0xc7),(_0x116d80,_0x2dd99e)=>_0x116d80&&_0x2dd99e),_0x5ab1dc['on'](_0x2d8735(0xfe),()=>{const _0xa71345=_0x2d8735;this[_0xa71345(0xd0)](_0xa71345(0xce),this[_0xa71345(0xe7)]['id']);}),_0x5ab1dc;}[_0x290906(0xf7)](_0x377fba){const _0xb1dfcc=_0x290906;if(_0x377fba[_0xb1dfcc(0xef)]<0x96)return _0x377fba;const _0x29d2dd=_0x377fba[_0xb1dfcc(0xc5)]('\x20',0x93);return _0x377fba[_0xb1dfcc(0xf5)](0x0,_0x29d2dd>-0x1?_0x29d2dd:0x93)+_0xb1dfcc(0xe9);}[_0x290906(0xda)](){const _0x888f53=_0x290906,_0x42d7eb=this[_0x888f53(0xc4)][_0x888f53(0x108)](_0x888f53(0xe8)),_0x3739a4=_0x42d7eb[_0x888f53(0x108)](_0x888f53(0xd2));this[_0x888f53(0x100)](_0x42d7eb,_0x888f53(0xd9),()=>{const _0x4bc517=_0x888f53;_0x3739a4[_0x4bc517(0x109)]<_0x3739a4[_0x4bc517(0xf4)]&&_0x42d7eb[_0x4bc517(0xd6)][_0x4bc517(0x105)](_0x4bc517(0xcf));}),this[_0x888f53(0x100)](_0x42d7eb,_0x888f53(0xe0),()=>{const _0x34e1ba=_0x888f53;_0x42d7eb[_0x34e1ba(0xd6)][_0x34e1ba(0xfd)](_0x34e1ba(0xcf));});}[_0x290906(0xcc)](){const _0x5acb7c=_0x290906;this[_0x5acb7c(0x101)][_0x5acb7c(0x100)](this[_0x5acb7c(0xc4)]);for(const _0x2410e7 of this[_0x5acb7c(0xf3)])this[_0x5acb7c(0xec)][_0x5acb7c(0x105)](_0x2410e7[_0x5acb7c(0xc4)]),this[_0x5acb7c(0x101)][_0x5acb7c(0x100)](_0x2410e7[_0x5acb7c(0xc4)]);}[_0x290906(0xed)](){const _0x532aae=_0x290906,_0x288264=new _0xe65d37(this[_0x532aae(0xd7)]);return _0x288264[_0x532aae(0x102)](_0x532aae(0xcb))['to'](this),_0x288264;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7ef1e8=_0x4622;(function(_0x31cb05,_0x289a68){const _0x3c7c42=_0x4622,_0x224b13=_0x31cb05();while(!![]){try{const _0x3c99dd=parseInt(_0x3c7c42(0x160))/0x1+-parseInt(_0x3c7c42(0x14f))/0x2+parseInt(_0x3c7c42(0x15c))/0x3+parseInt(_0x3c7c42(0x133))/0x4*(-parseInt(_0x3c7c42(0x147))/0x5)+-parseInt(_0x3c7c42(0x151))/0x6*(parseInt(_0x3c7c42(0x156))/0x7)+parseInt(_0x3c7c42(0x15a))/0x8*(-parseInt(_0x3c7c42(0x140))/0x9)+-parseInt(_0x3c7c42(0x14b))/0xa*(-parseInt(_0x3c7c42(0x13a))/0xb);if(_0x3c99dd===_0x289a68)break;else _0x224b13['push'](_0x224b13['shift']());}catch(_0x1a0c71){_0x224b13['push'](_0x224b13['shift']());}}}(_0x2487,0x49387));function _0x4622(_0x38330f,_0x48a3c0){const _0x248794=_0x2487();return _0x4622=function(_0x4622b0,_0x1b1941){_0x4622b0=_0x4622b0-0x12f;let _0x2d1a94=_0x248794[_0x4622b0];return _0x2d1a94;},_0x4622(_0x38330f,_0x48a3c0);}import{View as _0x3955d8}from'ckeditor5/src/ui.js';import _0x2c9332 from'./commentinputview.js';import{UserView as _0x2457ed}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2487(){const _0xf6102a=['destroy','commentInputView','mousedown','179275IkGzDz','set','editorReady','setTemplate','10OdEAxb','view','editorDestroyed','bindTemplate','131590jDnEfG','getDomRoot','516Mumtyg','ck-comment__input-container--active','editor','some','listenTo','26229qOozJb','userView','filter','ck-thread__input','8584GdSCqw','ck-comment__input-container','1251918miPXDL','contains','editing','delegate','243584IWYxBm','then','ck-thread__user','target','extendTemplate','_focusOnNonInteractiveMouseDown','60JlQYJH','focusTracker','element','change:showInput','createEditor','bind','preventDefault','10380172IkevMC','focusCycler','focus','render','isFocused','showButtons','3177RDwHVj','value','div','showInput'];_0x2487=function(){return _0xf6102a;};return _0x2487();}export default class ie extends _0x3955d8{constructor(_0x5cf825,_0x34df88,_0x3f3cab){const _0x5b0fcc=_0x4622;super(_0x5cf825),this[_0x5b0fcc(0x145)]=new _0x2c9332(_0x5cf825,_0x3f3cab),this[_0x5b0fcc(0x13b)]=this[_0x5b0fcc(0x145)][_0x5b0fcc(0x13b)],this[_0x5b0fcc(0x145)][_0x5b0fcc(0x138)](_0x5b0fcc(0x13f))['to'](this[_0x5b0fcc(0x145)][_0x5b0fcc(0x134)],_0x5b0fcc(0x13e),this[_0x5b0fcc(0x145)],_0x5b0fcc(0x141),(_0x15d55a,_0x3d77ad)=>_0x15d55a||!!_0x3d77ad),this[_0x5b0fcc(0x148)](_0x5b0fcc(0x143),!0x1),this['on'](_0x5b0fcc(0x136),()=>{const _0x36ad10=_0x5b0fcc;this[_0x36ad10(0x143)]&&!this[_0x36ad10(0x145)][_0x36ad10(0x153)]&&this[_0x36ad10(0x145)][_0x36ad10(0x137)]();}),this[_0x5b0fcc(0x145)][_0x5b0fcc(0x15f)](_0x5b0fcc(0x149))['to'](this),this[_0x5b0fcc(0x145)][_0x5b0fcc(0x15f)](_0x5b0fcc(0x14d))['to'](this),this[_0x5b0fcc(0x157)]=new _0x2457ed(_0x5cf825,_0x34df88),this[_0x5b0fcc(0x157)][_0x5b0fcc(0x131)]({'attributes':{'class':_0x5b0fcc(0x12f),'aria-hidden':!0x0}}),this[_0x5b0fcc(0x145)][_0x5b0fcc(0x131)]({'attributes':{'class':_0x5b0fcc(0x159)}}),this[_0x5b0fcc(0x14a)]({'tag':_0x5b0fcc(0x142),'attributes':{'class':[_0x5b0fcc(0x15b),this[_0x5b0fcc(0x14e)]['if'](_0x5b0fcc(0x143),_0x5b0fcc(0x152))]},'children':[this[_0x5b0fcc(0x157)],this[_0x5b0fcc(0x145)]]});}[_0x7ef1e8(0x13d)](){const _0x35330c=_0x7ef1e8;super[_0x35330c(0x13d)](),this[_0x35330c(0x132)]();}[_0x7ef1e8(0x144)](){const _0x41f28=_0x7ef1e8;return this[_0x41f28(0x145)][_0x41f28(0x144)]()[_0x41f28(0x161)](()=>super[_0x41f28(0x144)]());}[_0x7ef1e8(0x13c)](_0x4668b9){const _0x33704c=_0x7ef1e8;this[_0x33704c(0x145)][_0x33704c(0x13c)](_0x4668b9);}[_0x7ef1e8(0x132)](){const _0x175792=_0x7ef1e8;this[_0x175792(0x155)](this[_0x175792(0x135)],_0x175792(0x146),(_0x364194,_0x4c5ab0)=>{const _0x144a11=_0x175792,{submitButtonView:_0x216ece,cancelButtonView:_0x5cf9fb,editor:_0x9b5203}=this[_0x144a11(0x145)];[_0x216ece[_0x144a11(0x135)],_0x5cf9fb[_0x144a11(0x135)],_0x9b5203?_0x9b5203[_0x144a11(0x15e)][_0x144a11(0x14c)][_0x144a11(0x150)]():null][_0x144a11(0x158)](_0x2466d0=>_0x2466d0)[_0x144a11(0x154)](_0x337f19=>_0x337f19[_0x144a11(0x15d)](_0x4c5ab0[_0x144a11(0x130)]))||(this[_0x144a11(0x13c)](),_0x4c5ab0[_0x144a11(0x139)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x1e9a(_0x2f367d,_0x1fd7ad){const _0x4176a6=_0x4176();return _0x1e9a=function(_0x1e9aac,_0x14cdfa){_0x1e9aac=_0x1e9aac-0x10f;let _0x5a090a=_0x4176a6[_0x1e9aac];return _0x5a090a;},_0x1e9a(_0x2f367d,_0x1fd7ad);}const _0x1a3d2c=_0x1e9a;(function(_0x24bf8c,_0x38672b){const _0xa21e69=_0x1e9a,_0x3f532c=_0x24bf8c();while(!![]){try{const _0xecf36a=parseInt(_0xa21e69(0x158))/0x1*(-parseInt(_0xa21e69(0x130))/0x2)+-parseInt(_0xa21e69(0x15e))/0x3*(parseInt(_0xa21e69(0x141))/0x4)+-parseInt(_0xa21e69(0x15f))/0x5*(parseInt(_0xa21e69(0x14b))/0x6)+-parseInt(_0xa21e69(0x157))/0x7+parseInt(_0xa21e69(0x16a))/0x8+-parseInt(_0xa21e69(0x164))/0x9*(-parseInt(_0xa21e69(0x11d))/0xa)+parseInt(_0xa21e69(0x136))/0xb;if(_0xecf36a===_0x38672b)break;else _0x3f532c['push'](_0x3f532c['shift']());}catch(_0x508c07){_0x3f532c['push'](_0x3f532c['shift']());}}}(_0x4176,0x8f09e));import{ConfirmMixin as _0x17dc0e,LateFocusButtonView as _0x5516f4}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4176(){const _0x337fec=['isVisible','listitem','_model','_createResolveButton','then','_cancelAllConfirms','set','commentViews','getTemplate','405958ojdjqN','1dgiKto','isEnabled','ck-thread--active','locale','ck-thread--unlinked','removeCommentThread','18RfdEnR','446275sYNPOS','fire','Resolve','commentsListView','extendTemplate','2682kjyCke','_bindFirstCommentView','Delete\x20comment\x20thread?','removeConfirm','resolveCommentThread','resolveButton','4585184OGSDQL','bind','placeholder','ariaDescriptionView','commentThreadInputView','isReadOnly','add','_boundFirstCommentView','commentThreadChildren','ck-rounded-corners','createCollection','element','Write\x20a\x20comment...','isActive','focusables','12330oAEgRs','setTemplate','label','isResolved','length','removeButton','listenTo','actionIndicator','check','ariaLabel','isResolvable','actionBar','ck-thread','focus','querySelector','render','isSystemComment','ck-reset_all-excluded','commentThreadHeaderView','1488952zRshUN','stop','_updateArchivedThreadHeader','cancelConfirm','tooltip','showConfirm','19012840SkbDmw','.ck-thread__container','ck-thread__container','isUnlinked','div','ck-comment--resolve','remove','icon','change:isActive','change:archivedAt','ck-thread--remove-confirmation','615764wXSggW','get','bindTemplate','high','has','execute','archivedAt','change:isReadOnly','unbind','isConfirm','24nXVvMx','containerElement','ck-thread--'];_0x4176=function(){return _0x337fec;};return _0x4176();}import{icons as _0x31ab3e}from'ckeditor5/src/core.js';import _0x48c812 from'./basecommentthreadview.js';import{getTranslation as _0x273917}from'../../../utils/common-translations.js';export default class vt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x17dc0e(_0x48c812){constructor(_0x43e03f,_0x2acb3d,_0x4e41ff,_0x2a153d){const _0x42ca4d=_0x1e9a;super(_0x43e03f,_0x2acb3d,_0x4e41ff,_0x2a153d),this[_0x42ca4d(0x116)]=this[_0x42ca4d(0x118)]([this[_0x42ca4d(0x162)],this[_0x42ca4d(0x112)],this[_0x42ca4d(0x111)]]),this[_0x42ca4d(0x154)](_0x42ca4d(0x124),null),this[_0x42ca4d(0x14c)]=null,this[_0x42ca4d(0x115)]=null,this[_0x42ca4d(0x15b)]=_0x43e03f,this[_0x42ca4d(0x169)]=this[_0x42ca4d(0x151)](),this[_0x42ca4d(0x11e)](this[_0x42ca4d(0x156)]()),this['on'](_0x42ca4d(0x13e),(_0x47f8c9,_0x147147,_0x104336)=>{const _0x12eb55=_0x42ca4d;_0x104336||this[_0x12eb55(0x153)]();}),this[_0x42ca4d(0x123)](this[_0x42ca4d(0x150)],_0x42ca4d(0x148),(_0x4171e9,_0x324d75,_0x1acf18)=>{const _0x434b3f=_0x42ca4d;_0x1acf18&&this[_0x434b3f(0x153)]();}),this[_0x42ca4d(0x121)]>0x0&&this[_0x42ca4d(0x165)](),this[_0x42ca4d(0x123)](this[_0x42ca4d(0x162)][_0x42ca4d(0x155)],_0x42ca4d(0x114),()=>{const _0x4d36b1=_0x42ca4d;this[_0x4d36b1(0x165)]();});}[_0x1a3d2c(0x156)](){const _0x2a1444=_0x1a3d2c,_0x3bf331=this[_0x2a1444(0x143)];return{'tag':_0x2a1444(0x13a),'attributes':{'class':['ck',_0x2a1444(0x129),_0x2a1444(0x12e),_0x2a1444(0x117),_0x3bf331['if'](_0x2a1444(0x11b),_0x2a1444(0x15a)),_0x3bf331['if'](_0x2a1444(0x139),_0x2a1444(0x15c)),_0x3bf331['if'](_0x2a1444(0x14a),_0x2a1444(0x140)),_0x3bf331['to'](_0x2a1444(0x124),_0x39c97e=>_0x39c97e?_0x2a1444(0x14d)+_0x39c97e:'')],'data-thread-id':this[_0x2a1444(0x150)]['id'],'tabindex':0x0,'role':_0x2a1444(0x14f),'aria-label':_0x3bf331['to'](_0x2a1444(0x126)),'aria-describedby':this[_0x2a1444(0x111)]['id']},'children':[{'tag':_0x2a1444(0x13a),'attributes':{'class':_0x2a1444(0x138)},'children':this[_0x2a1444(0x116)]}]};}[_0x1a3d2c(0x12c)](){const _0x2ba937=_0x1a3d2c;super[_0x2ba937(0x12c)](),this[_0x2ba937(0x14c)]=this[_0x2ba937(0x119)][_0x2ba937(0x12b)](_0x2ba937(0x137)),this[_0x2ba937(0x150)]['on'](_0x2ba937(0x13f),()=>{const _0x5b7929=_0x2ba937;this[_0x5b7929(0x132)]();}),this[_0x2ba937(0x132)]();}[_0x1a3d2c(0x153)](){const _0x596189=_0x1a3d2c;this[_0x596189(0x133)]();for(const _0x732d32 of this[_0x596189(0x162)][_0x596189(0x155)])_0x732d32[_0x596189(0x133)]();}[_0x1a3d2c(0x165)](){const _0x3a998a=_0x1a3d2c,{locale:_0x563075}=this,_0x1dc9dd=this[_0x3a998a(0x162)][_0x3a998a(0x155)][_0x3a998a(0x142)](0x0);_0x1dc9dd===this[_0x3a998a(0x115)]||_0x1dc9dd[_0x3a998a(0x12d)]||(this[_0x3a998a(0x115)]=_0x1dc9dd,this[_0x3a998a(0x149)](_0x3a998a(0x124)),this[_0x3a998a(0x10f)](_0x3a998a(0x124))['to'](_0x1dc9dd,_0x3a998a(0x124),_0x41d8b7=>_0x3a998a(0x13c)===_0x41d8b7?_0x3a998a(0x13c):null),_0x1dc9dd[_0x3a998a(0x110)]=_0x273917(_0x563075,_0x3a998a(0x11a)),_0x1dc9dd[_0x3a998a(0x122)]['on'](_0x3a998a(0x146),_0x28f087=>{const _0x2dbc38=_0x3a998a;_0x28f087[_0x2dbc38(0x131)](),this[_0x2dbc38(0x135)](_0x273917(_0x563075,_0x2dbc38(0x166)),this[_0x2dbc38(0x14c)])[_0x2dbc38(0x152)](()=>{const _0x4ddf21=_0x2dbc38;this[_0x4ddf21(0x160)](_0x4ddf21(0x15d));});},{'priority':_0x3a998a(0x144)}),this['on'](_0x3a998a(0x167),()=>{const _0x29d913=_0x3a998a;_0x1dc9dd[_0x29d913(0x12a)]();}),_0x1dc9dd[_0x3a998a(0x128)][_0x3a998a(0x114)](this[_0x3a998a(0x169)],0x0),_0x1dc9dd[_0x3a998a(0x11c)][_0x3a998a(0x114)](this[_0x3a998a(0x169)],0x0));}[_0x1a3d2c(0x151)](){const _0x368a01=_0x1a3d2c,_0xe5757d=new _0x5516f4(this[_0x368a01(0x15b)]);return _0xe5757d[_0x368a01(0x11f)]=_0x273917(this[_0x368a01(0x15b)],_0x368a01(0x161)),_0xe5757d[_0x368a01(0x134)]=_0x273917(this[_0x368a01(0x15b)],_0x368a01(0x161)),_0xe5757d[_0x368a01(0x13d)]=_0x31ab3e[_0x368a01(0x125)],_0xe5757d[_0x368a01(0x163)]({'attributes':{'class':_0x368a01(0x13b)}}),_0xe5757d[_0x368a01(0x10f)](_0x368a01(0x159))['to'](this[_0x368a01(0x150)],_0x368a01(0x113),_0x1d0fc8=>!_0x1d0fc8),_0xe5757d[_0x368a01(0x10f)](_0x368a01(0x14e))['to'](this[_0x368a01(0x150)],_0x368a01(0x127),this[_0x368a01(0x150)],_0x368a01(0x120),(_0x3682a7,_0x253114)=>_0x3682a7&&!_0x253114),_0xe5757d['on'](_0x368a01(0x146),()=>{const _0xb51d4f=_0x368a01;this[_0xb51d4f(0x160)](_0xb51d4f(0x168),this[_0xb51d4f(0x150)]['id']);}),_0xe5757d;}[_0x1a3d2c(0x132)](){const _0x1d8789=_0x1a3d2c;this[_0x1d8789(0x150)][_0x1d8789(0x147)]?this[_0x1d8789(0x116)][_0x1d8789(0x145)](this[_0x1d8789(0x12f)])||(this[_0x1d8789(0x116)][_0x1d8789(0x114)](this[_0x1d8789(0x12f)],0x0),this[_0x1d8789(0x11c)][_0x1d8789(0x114)](this[_0x1d8789(0x12f)],0x0)):this[_0x1d8789(0x116)][_0x1d8789(0x145)](this[_0x1d8789(0x12f)])&&(this[_0x1d8789(0x116)][_0x1d8789(0x13c)](this[_0x1d8789(0x12f)]),this[_0x1d8789(0x11c)][_0x1d8789(0x13c)](this[_0x1d8789(0x12f)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x25a3fd=_0x570b;(function(_0x4c8c08,_0x3c9825){const _0x1b4a62=_0x570b,_0x37b786=_0x4c8c08();while(!![]){try{const _0x4955b0=parseInt(_0x1b4a62(0x12a))/0x1*(parseInt(_0x1b4a62(0x12b))/0x2)+-parseInt(_0x1b4a62(0x108))/0x3*(-parseInt(_0x1b4a62(0x141))/0x4)+-parseInt(_0x1b4a62(0x14e))/0x5*(-parseInt(_0x1b4a62(0x154))/0x6)+-parseInt(_0x1b4a62(0x143))/0x7*(parseInt(_0x1b4a62(0x107))/0x8)+parseInt(_0x1b4a62(0x10e))/0x9*(-parseInt(_0x1b4a62(0x11c))/0xa)+-parseInt(_0x1b4a62(0x166))/0xb+-parseInt(_0x1b4a62(0x144))/0xc*(-parseInt(_0x1b4a62(0x102))/0xd);if(_0x4955b0===_0x3c9825)break;else _0x37b786['push'](_0x37b786['shift']());}catch(_0x3fde76){_0x37b786['push'](_0x37b786['shift']());}}}(_0x5b30,0xe8707));import{ButtonView as _0x33192f,createDropdown as _0xe94c1c,ListView as _0x1a5a69,ListItemView as _0x5429d9,focusChildOnDropdownOpen as _0x5d3a21}from'ckeditor5/src/ui.js';import{icons as _0x329d37}from'ckeditor5/src/core.js';function _0x570b(_0x163224,_0x3a012c){const _0x5b3019=_0x5b30();return _0x570b=function(_0x570b3,_0x5ea89c){_0x570b3=_0x570b3-0xff;let _0x1cbcd6=_0x5b3019[_0x570b3];return _0x1cbcd6;},_0x570b(_0x163224,_0x3a012c);}import{UserView as _0x2df3d8,ConfirmMixin as _0x35e0fd,LateFocusDropdownButtonView as _0x3d411c}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x27220f from'./basecommentview.js';import _0x3cdcc5 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x50fc38}from'../../../utils/common-translations.js';export default class gt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x35e0fd(_0x27220f){constructor(_0x52a7b2,_0x4f3b1f,_0x2a7ab6){const _0x2afd5e=_0x570b;super(_0x52a7b2,_0x4f3b1f,_0x2a7ab6),this[_0x2afd5e(0x15e)](_0x2afd5e(0x151),null),this[_0x2afd5e(0x15e)](_0x2afd5e(0x12f),_0x50fc38(_0x52a7b2,_0x2afd5e(0x147))),this[_0x2afd5e(0x158)](_0x2afd5e(0xff))['to'](_0x4f3b1f),this[_0x2afd5e(0x158)](_0x2afd5e(0x13d))['to'](_0x4f3b1f),this[_0x2afd5e(0x171)]=this[_0x2afd5e(0x145)](),this[_0x2afd5e(0x16e)]||(this[_0x2afd5e(0x17b)]=this[_0x2afd5e(0x110)](),this[_0x2afd5e(0x136)]=this[_0x2afd5e(0x14c)](),this[_0x2afd5e(0x15c)]=this[_0x2afd5e(0x145)](),this[_0x2afd5e(0x15c)][_0x2afd5e(0x17c)]([this[_0x2afd5e(0x17b)],this[_0x2afd5e(0x136)]]),this[_0x2afd5e(0x156)]=this[_0x2afd5e(0x176)](),this[_0x2afd5e(0x171)][_0x2afd5e(0x146)](this[_0x2afd5e(0x156)]),this[_0x2afd5e(0x104)][_0x2afd5e(0x146)](this[_0x2afd5e(0x156)])),this[_0x2afd5e(0x11a)]=new _0x2df3d8(_0x52a7b2,_0x4f3b1f[_0x2afd5e(0x13f)],this[_0x2afd5e(0x129)]()),this[_0x2afd5e(0x11a)][_0x2afd5e(0x125)]({'attributes':{'class':[_0x2afd5e(0x10d),_0x2afd5e(0x148)],'aria-hidden':!0x0}}),this[_0x2afd5e(0x175)](_0x4f3b1f,_0x2afd5e(0x157),()=>this[_0x2afd5e(0x131)]()),this[_0x2afd5e(0x179)](this[_0x2afd5e(0x101)]());}[_0x25a3fd(0x101)](){const _0x42c878=_0x25a3fd,_0x5de97b=this[_0x42c878(0x130)],_0x20d391=[{'tag':_0x42c878(0x128),'attributes':{'class':[_0x42c878(0x169),_0x42c878(0x113)]},'children':[{'tag':_0x42c878(0x16d),'children':[{'text':this[_0x42c878(0x11a)][_0x42c878(0x13e)]}],'attributes':{'class':[_0x42c878(0x114),_0x42c878(0x12c)],'data-cke-tooltip-text':this[_0x42c878(0x11a)][_0x42c878(0x13e)]}},{'tag':_0x42c878(0x149),'attributes':{'datetime':_0x5de97b['to'](_0x42c878(0xff)),'class':[_0x42c878(0x16c),_0x42c878(0x178)]},'children':[{'text':_0x5de97b['to'](_0x42c878(0xff),_0x46d202=>this[_0x42c878(0x14d)][_0x42c878(0x138)](_0x46d202))}]}]},{'tag':_0x42c878(0x128),'attributes':{'class':[_0x42c878(0x155),_0x42c878(0x106),_0x5de97b['if'](_0x42c878(0x173),_0x42c878(0x16b)),_0x5de97b['if'](_0x42c878(0x173),_0x42c878(0x11f))]},'children':this[_0x42c878(0x171)]},{'tag':_0x42c878(0x128),'attributes':{'class':[_0x42c878(0x134)]},'children':this[_0x42c878(0x161)]},this[_0x42c878(0x15a)]];return this[_0x42c878(0x167)][_0x42c878(0x15b)]&&_0x20d391[_0x42c878(0x126)]({'tag':_0x42c878(0x128),'attributes':{'class':[_0x42c878(0x142)]},'children':[{'text':this[_0x42c878(0x121)]()}]}),{'tag':'li','attributes':{'class':[_0x42c878(0x100),_0x5de97b['if'](_0x42c878(0x10c),_0x42c878(0x165))],'tabindex':-0x1,'aria-label':_0x5de97b['to'](_0x42c878(0x16f)),'aria-describedby':this[_0x42c878(0x15a)]['id'],'role':_0x42c878(0x13b)},'children':[{'tag':_0x42c878(0x128),'attributes':{'class':[_0x42c878(0x170),_0x42c878(0x16a),_0x5de97b['if'](_0x42c878(0x173),_0x42c878(0x11e)),_0x5de97b['if'](_0x42c878(0x16e),_0x42c878(0x15d)),_0x5de97b['to'](_0x42c878(0x151),_0x4ee69f=>_0x4ee69f?_0x42c878(0x140)+_0x4ee69f:'')],'data-author-id':this[_0x42c878(0x167)][_0x42c878(0x13f)]['id'],'data-comment-id':this[_0x42c878(0x167)]['id'],'role':_0x42c878(0x10b)},'children':[this[_0x42c878(0x11a)],{'tag':_0x42c878(0x128),'attributes':{'class':[_0x42c878(0x168),_0x42c878(0x103)]},'children':_0x20d391}]}]};}[_0x25a3fd(0x110)](){const _0x49988f=_0x25a3fd,_0x3598aa=new _0x33192f(this[_0x49988f(0x122)]);return _0x3598aa[_0x49988f(0x11d)]=_0x50fc38(this[_0x49988f(0x122)],_0x49988f(0x135)),_0x3598aa[_0x49988f(0x132)]=_0x329d37[_0x49988f(0x172)],_0x3598aa[_0x49988f(0x153)]=!0x0,_0x3598aa[_0x49988f(0x125)]({'attributes':{'class':_0x49988f(0x11e)}}),_0x3598aa[_0x49988f(0x158)](_0x49988f(0x105))['to'](this[_0x49988f(0x167)],_0x49988f(0x162),_0x7e4c2e=>!_0x7e4c2e),_0x3598aa[_0x49988f(0x158)](_0x49988f(0x109))['to'](this[_0x49988f(0x167)],_0x49988f(0x112)),_0x3598aa['on'](_0x49988f(0x17a),()=>this[_0x49988f(0x12e)]()),_0x3598aa;}[_0x25a3fd(0x14c)](){const _0x43aa1a=_0x25a3fd,_0x24f73c=new _0x33192f(this[_0x43aa1a(0x122)]);return _0x24f73c[_0x43aa1a(0x11d)]=_0x50fc38(this[_0x43aa1a(0x122)],_0x43aa1a(0x13a)),_0x24f73c[_0x43aa1a(0x132)]=_0x3cdcc5,_0x24f73c[_0x43aa1a(0x153)]=!0x0,_0x24f73c[_0x43aa1a(0x125)]({'attributes':{'class':_0x43aa1a(0x133)}}),_0x24f73c[_0x43aa1a(0x158)](_0x43aa1a(0x105))['to'](this[_0x43aa1a(0x167)],_0x43aa1a(0x162),_0x4975c3=>!_0x4975c3),_0x24f73c[_0x43aa1a(0x158)](_0x43aa1a(0x109))['to'](this[_0x43aa1a(0x167)],_0x43aa1a(0x111)),_0x24f73c['on'](_0x43aa1a(0x17a),()=>{const _0x48d285=_0x43aa1a;this[_0x48d285(0x14a)](_0x50fc38(this[_0x48d285(0x122)],_0x48d285(0x117)),this[_0x48d285(0x174)])[_0x48d285(0x10a)](()=>{const _0x4eba9a=_0x48d285;this[_0x4eba9a(0x12d)](_0x4eba9a(0x164),this[_0x4eba9a(0x167)]['id']);});}),_0x24f73c;}[_0x25a3fd(0x176)](){const _0xbb020b=_0x25a3fd,_0x60b65c=_0xe94c1c(this[_0xbb020b(0x122)],_0x3d411c),_0x4dd277=_0x60b65c[_0xbb020b(0x137)][_0xbb020b(0x14b)],_0x39531e=new _0x1a5a69(this[_0xbb020b(0x122)]),_0x404baf=_0x60b65c[_0xbb020b(0x130)];_0x5d3a21(_0x60b65c,()=>this[_0xbb020b(0x15c)][_0xbb020b(0x15f)](_0x1b3e31=>_0x1b3e31[_0xbb020b(0x109)])),_0x60b65c[_0xbb020b(0x125)]({'attributes':{'class':[_0x404baf['if'](_0xbb020b(0x109),_0xbb020b(0x152),_0x316cc2=>!_0x316cc2)]}});const _0x6228ab=(_0x1ba8d6,_0x3f8e28=-0x1)=>{const _0x45868d=_0xbb020b,_0x2defa8=new _0x5429d9(this[_0x45868d(0x122)]);_0x2defa8[_0x45868d(0x14b)][_0x45868d(0x146)](_0x1ba8d6);const _0x36020a=_0x3f8e28>-0x1?_0x3f8e28:_0x39531e[_0x45868d(0x15c)][_0x45868d(0x13c)];_0x39531e[_0x45868d(0x15c)][_0x45868d(0x146)](_0x2defa8,_0x36020a);const _0x3dbe7f=Array[_0x45868d(0x115)](this[_0x45868d(0x15c)]);_0x60b65c[_0x45868d(0x139)](_0x45868d(0x105),_0x45868d(0x109)),_0x60b65c[_0x45868d(0x158)](_0x45868d(0x105))[_0x45868d(0x10f)](_0x3dbe7f,_0x45868d(0x105),(..._0x3cab32)=>_0x3cab32[_0x45868d(0x177)](_0x259728=>_0x259728)),_0x60b65c[_0x45868d(0x158)](_0x45868d(0x109))[_0x45868d(0x10f)](_0x3dbe7f,_0x45868d(0x109),(..._0x111aef)=>_0x111aef[_0x45868d(0x177)](_0x4fee72=>_0x4fee72));};_0x60b65c[_0xbb020b(0x120)]='sw',_0x60b65c[_0xbb020b(0x159)][_0xbb020b(0x15e)]({'label':_0x50fc38(this[_0xbb020b(0x122)],_0xbb020b(0x119)),'icon':_0x329d37[_0xbb020b(0x127)]});for(const _0x34318e of this[_0xbb020b(0x15c)])_0x6228ab(_0x34318e);return _0x4dd277[_0xbb020b(0x146)](_0x39531e),_0x60b65c[_0xbb020b(0x175)](this[_0xbb020b(0x15c)],_0xbb020b(0x146),(_0x2aa109,_0x488851,_0x35a750)=>{_0x6228ab(_0x488851,_0x35a750);}),_0x60b65c[_0xbb020b(0x175)](this[_0xbb020b(0x15c)],_0xbb020b(0x123),(_0x26f202,_0x1e2ed5,_0x493bdb)=>{const _0x313bb7=_0xbb020b;_0x39531e[_0x313bb7(0x15c)][_0x313bb7(0x123)](_0x493bdb);}),_0x60b65c;}[_0x25a3fd(0x118)](_0x177f0c,_0x2b688c){const _0x1639ce=_0x25a3fd,_0x38c120=_0x177f0c&&_0x177f0c[_0x1639ce(0x174)];_0x38c120&&(this[_0x1639ce(0x175)](_0x38c120,_0x1639ce(0x14f),()=>this[_0x1639ce(0x151)]=_0x2b688c),this[_0x1639ce(0x175)](_0x38c120,_0x1639ce(0x160),()=>this[_0x1639ce(0x151)]=_0x2b688c),this[_0x1639ce(0x175)](_0x38c120,_0x1639ce(0x116),()=>this[_0x1639ce(0x151)]=null),this[_0x1639ce(0x175)](_0x38c120,_0x1639ce(0x11b),()=>this[_0x1639ce(0x151)]=null));}[_0x25a3fd(0x163)](){const _0x389294=_0x25a3fd,_0x254130=super[_0x389294(0x163)]();return _0x254130[_0x389294(0x158)](_0x389294(0x12f))['to'](this),_0x254130;}[_0x25a3fd(0x124)](){const _0x3ded85=_0x25a3fd;super[_0x3ded85(0x124)](),this[_0x3ded85(0x118)](this[_0x3ded85(0x17b)],_0x3ded85(0x150)),this[_0x3ded85(0x118)](this[_0x3ded85(0x136)],_0x3ded85(0x123));}}function _0x5b30(){const _0x220242=['_attachActions','Show\x20more\x20items','userView','blur','20CsXogd','label','ck-comment--edit','ck-annotation__actions--hidden','panelPosition','getExternalCommentNote','locale','remove','render','extendTemplate','push','threeVerticalDots','div','getUserViewNotificationText','365121qhiMCe','6eDheQT','ck-annotation__info-name','fire','switchToEditMode','placeholder','bindTemplate','cancelConfirm','icon','ck-comment--remove','ck-annotation__content-wrapper','Edit','removeButton','panelView','formatDateTime','unbind','Remove','listitem','length','resolvedAt','name','author','ck-comment--','5480876mwYZgv','ck-comment__external','7PMaFve','24HfCTYm','createCollection','add','Reply...','ck-annotation__user','time','showConfirm','children','_createRemoveButton','_config','2804550VLvJAm','mouseenter','edit','actionIndicator','ck-hidden','withText','6GXXswA','ck-comment__actions','dropdown','change:isRemovable','bind','buttonView','ariaDescriptionView','isExternal','items','ck-comment--info','set','find','focus','visibleView','isReadOnly','_createCommentInputView','removeComment','ck-comment--remove-confirmation','11433136qOeGSE','_model','ck-comment__main','ck-comment__info','ck-annotation','ck-comment__actions--hidden','ck-comment__info-time','span','isSystemComment','ariaLabel','ck-comment','actionBar','pencil','isEditMode','element','listenTo','_createDropdown','some','ck-annotation__info-time','setTemplate','execute','editButton','addMany','authoredAt','ck-comment__wrapper','getTemplate','1621360wcHlQa','ck-annotation__main','focusables','isEnabled','ck-annotation__actions','458888RqiauJ','3XqvksA','isVisible','then','group','isConfirm','ck-comment__user','5522058LrFGQs','toMany','_createEditButton','isRemovable','isEditable','ck-annotation__info','ck-comment__info-name','from','mouseleave','Delete\x20comment?'];_0x5b30=function(){return _0x220242;};return _0x5b30();}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x50ba(){var _0x5b0b7e=['pluginName','3828415EEGfrI','1357617XHbdyS','Comments','7eHjUTh','4325682mhPYnR','isPremiumPlugin','isOfficialPlugin','3887308gTivLy','9NnzKXu','19525090pkGnQQ','4079624bXqsxj','2nCtELV','requires','478666tnPENm'];_0x50ba=function(){return _0x5b0b7e;};return _0x50ba();}var _0x565b7e=_0x5322;(function(_0x3f2b17,_0x4d407e){var _0x5568f7=_0x5322,_0x5ee30e=_0x3f2b17();while(!![]){try{var _0x1c7a76=parseInt(_0x5568f7(0x1de))/0x1*(parseInt(_0x5568f7(0x1e0))/0x2)+-parseInt(_0x5568f7(0x1e3))/0x3+-parseInt(_0x5568f7(0x1e9))/0x4+parseInt(_0x5568f7(0x1e2))/0x5+-parseInt(_0x5568f7(0x1e6))/0x6+parseInt(_0x5568f7(0x1e5))/0x7*(-parseInt(_0x5568f7(0x1dd))/0x8)+parseInt(_0x5568f7(0x1db))/0x9*(parseInt(_0x5568f7(0x1dc))/0xa);if(_0x1c7a76===_0x4d407e)break;else _0x5ee30e['push'](_0x5ee30e['shift']());}catch(_0x219640){_0x5ee30e['push'](_0x5ee30e['shift']());}}}(_0x50ba,0x84398));import{Plugin as _0x3f822b}from'ckeditor5/src/core.js';import _0x19cfff from'./comments/commentsrepository.js';function _0x5322(_0x25a38a,_0x5d5439){var _0x50ba13=_0x50ba();return _0x5322=function(_0x5322ad,_0x16f41c){_0x5322ad=_0x5322ad-0x1db;var _0x212a18=_0x50ba13[_0x5322ad];return _0x212a18;},_0x5322(_0x25a38a,_0x5d5439);}import _0x182e43 from'./comments/commentsediting.js';import _0x4fd9fe from'./comments/commentsui.js';import _0x10d3e8 from'./commentsonly.js';import _0x55eec0 from'./annotations/widesidebar.js';import _0x3f3a87 from'./annotations/narrowsidebar.js';import _0x533b2c from'./annotations/inlineannotations.js';import _0x30ed85 from'./comments/commentsarchiveui.js';import _0x10fc86 from'./comments/commentsarchive.js';export default class p extends _0x3f822b{static get[_0x565b7e(0x1df)](){return[_0x19cfff,_0x182e43,_0x4fd9fe,_0x10fc86,_0x30ed85,_0x10d3e8,_0x55eec0,_0x3f3a87,_0x533b2c];}static get[_0x565b7e(0x1e1)](){var _0x1a2b23=_0x565b7e;return _0x1a2b23(0x1e4);}static get[_0x565b7e(0x1e8)](){return!0x0;}static get[_0x565b7e(0x1e7)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f9549=_0x598c;(function(_0x2803d7,_0x3a510a){const _0x367966=_0x598c,_0xe5d0cc=_0x2803d7();while(!![]){try{const _0x6836be=-parseInt(_0x367966(0xcf))/0x1+-parseInt(_0x367966(0xaf))/0x2+parseInt(_0x367966(0xab))/0x3+parseInt(_0x367966(0xaa))/0x4+-parseInt(_0x367966(0xb9))/0x5+parseInt(_0x367966(0xc6))/0x6+-parseInt(_0x367966(0xd1))/0x7*(-parseInt(_0x367966(0xb8))/0x8);if(_0x6836be===_0x3a510a)break;else _0xe5d0cc['push'](_0xe5d0cc['shift']());}catch(_0x113f69){_0xe5d0cc['push'](_0xe5d0cc['shift']());}}}(_0x19cf,0x21cee));import{Plugin as _0x255a75}from'ckeditor5/src/core.js';function _0x598c(_0x550d9c,_0x36e339){const _0x19cf60=_0x19cf();return _0x598c=function(_0x598c03,_0xae2d4f){_0x598c03=_0x598c03-0xa8;let _0x3a263a=_0x19cf60[_0x598c03];return _0x3a263a;},_0x598c(_0x550d9c,_0x36e339);}function _0x19cf(){const _0x1f624f=['49348rfGnMg','stop','isOfficialPlugin','editSource','cut','isEnabled','editor','get','forceDisabled','8CpYajA','173760kGkgnx','isPremiumPlugin','clipboardInput','_enableCommentsOnlyMode','view','DragDrop','plugins','pluginName','has','listenTo','commentsOnlyMode','addCommentThread','commands','897090jrFHCQ','set','commentsOnly','_disableCommentsOnlyMode','stopListening','CommentsOnly','affectsData','config','highest','275786HztLOd','clearForceDisabled','636972XDJRNV','SourceEditing','afterInit','document','delete','608520NkzaIz','243147kxuGUJ','change:isEnabled','requires','editing'];_0x19cf=function(){return _0x1f624f;};return _0x19cf();}import _0x4bc8ff from'./comments/commentsediting.js';export default class s extends _0x255a75{static get[_0x2f9549(0xc0)](){const _0x1eceaa=_0x2f9549;return _0x1eceaa(0xcb);}static get[_0x2f9549(0xb1)](){return!0x0;}static get[_0x2f9549(0xba)](){return!0x0;}static get[_0x2f9549(0xad)](){return[_0x4bc8ff];}constructor(_0x4c1a0f){const _0x416d1f=_0x2f9549;super(_0x4c1a0f),this[_0x416d1f(0xc7)](_0x416d1f(0xb4),!0x1),this['on'](_0x416d1f(0xac),(_0x485e6f,_0x2ec3e5,_0x123906)=>{const _0x26fc6a=_0x416d1f;_0x123906?this[_0x26fc6a(0xbc)]():this[_0x26fc6a(0xc9)]();});}[_0x2f9549(0xd3)](){const _0x12cad7=_0x2f9549;!this[_0x12cad7(0xb4)]&&this[_0x12cad7(0xb5)][_0x12cad7(0xcd)][_0x12cad7(0xb6)](_0x12cad7(0xc8))&&(this[_0x12cad7(0xb4)]=!0x0);}[_0x2f9549(0xbc)](){const _0x358cae=_0x2f9549;var _0x4e1dce;for(const [_0x44a10d,_0x226ac7]of this[_0x358cae(0xb5)][_0x358cae(0xc5)])_0x226ac7[_0x358cae(0xcc)]&&_0x358cae(0xc4)!==_0x44a10d&&_0x226ac7[_0x358cae(0xb7)](_0x358cae(0xc3));(this[_0x358cae(0xb5)][_0x358cae(0xbf)][_0x358cae(0xc1)](_0x358cae(0xbe))&&this[_0x358cae(0xb5)][_0x358cae(0xbf)][_0x358cae(0xb6)](_0x358cae(0xbe))[_0x358cae(0xb7)](_0x358cae(0xc3)),this[_0x358cae(0xb5)][_0x358cae(0xbf)][_0x358cae(0xc1)](_0x358cae(0xd2)))&&this[_0x358cae(0xb5)][_0x358cae(0xbf)][_0x358cae(0xb6)](_0x358cae(0xd2))[_0x358cae(0xb7)](_0x358cae(0xc3));null===(_0x4e1dce=this[_0x358cae(0xb5)][_0x358cae(0xc5)][_0x358cae(0xb6)](_0x358cae(0xb2)))||void 0x0===_0x4e1dce||_0x4e1dce[_0x358cae(0xb7)](_0x358cae(0xc3));const _0x38cd1d=this[_0x358cae(0xb5)][_0x358cae(0xae)][_0x358cae(0xbd)][_0x358cae(0xa8)];this[_0x358cae(0xc2)](_0x38cd1d,_0x358cae(0xb3),_0x559700=>_0x559700[_0x358cae(0xb0)](),{'priority':_0x358cae(0xce)}),this[_0x358cae(0xc2)](_0x38cd1d,_0x358cae(0xbb),_0x307f68=>_0x307f68[_0x358cae(0xb0)](),{'priority':_0x358cae(0xce)}),this[_0x358cae(0xc2)](_0x38cd1d,_0x358cae(0xa9),_0x51664a=>_0x51664a[_0x358cae(0xb0)](),{'priority':_0x358cae(0xce)});}[_0x2f9549(0xc9)](){const _0x5eb747=_0x2f9549;var _0x296463;for(const [_0x194860,_0x34a66f]of this[_0x5eb747(0xb5)][_0x5eb747(0xc5)])_0x34a66f[_0x5eb747(0xcc)]&&_0x5eb747(0xc4)!==_0x194860&&_0x34a66f[_0x5eb747(0xd0)](_0x5eb747(0xc3));this[_0x5eb747(0xb5)][_0x5eb747(0xbf)][_0x5eb747(0xc1)](_0x5eb747(0xd2))&&this[_0x5eb747(0xb5)][_0x5eb747(0xbf)][_0x5eb747(0xb6)](_0x5eb747(0xd2))[_0x5eb747(0xd0)](_0x5eb747(0xc3)),null===(_0x296463=this[_0x5eb747(0xb5)][_0x5eb747(0xc5)][_0x5eb747(0xb6)](_0x5eb747(0xb2)))||void 0x0===_0x296463||_0x296463[_0x5eb747(0xd0)](_0x5eb747(0xc3)),this[_0x5eb747(0xca)](this[_0x5eb747(0xb5)][_0x5eb747(0xae)][_0x5eb747(0xbd)][_0x5eb747(0xa8)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0xd67e92,_0x3d56a4){var _0x543d27=_0x585c,_0x2c67d8=_0xd67e92();while(!![]){try{var _0x45b63e=-parseInt(_0x543d27(0x16f))/0x1*(-parseInt(_0x543d27(0x16d))/0x2)+parseInt(_0x543d27(0x166))/0x3*(-parseInt(_0x543d27(0x16a))/0x4)+parseInt(_0x543d27(0x169))/0x5+parseInt(_0x543d27(0x16b))/0x6*(-parseInt(_0x543d27(0x16c))/0x7)+parseInt(_0x543d27(0x16e))/0x8*(-parseInt(_0x543d27(0x167))/0x9)+-parseInt(_0x543d27(0x168))/0xa+parseInt(_0x543d27(0x170))/0xb;if(_0x45b63e===_0x3d56a4)break;else _0x2c67d8['push'](_0x2c67d8['shift']());}catch(_0x689647){_0x2c67d8['push'](_0x2c67d8['shift']());}}}(_0x45a4,0x68935));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';function _0x585c(_0x25d729,_0x53418b){var _0x45a47d=_0x45a4();return _0x585c=function(_0x585c85,_0x101ae9){_0x585c85=_0x585c85-0x166;var _0x44cd88=_0x45a47d[_0x585c85];return _0x44cd88;},_0x585c(_0x25d729,_0x53418b);}export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller.js';function _0x45a4(){var _0x73a811=['5554180DkEXbL','2759430YOpTcm','360sKGekq','24450kvWGHk','413LgoSmY','2CJvqOY','776cAcKVb','101483uEiwTU','13033614DkDjya','8709NLSnXy','32733jKRNbG'];_0x45a4=function(){return _0x73a811;};return _0x45a4();}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';export{default as CommentsArchive}from'./comments/commentsarchive.js';export{default as CommentsArchiveUI}from'./comments/commentsarchiveui.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x22eeee,_0x375e1a,_0x2798ea){const t=_0x22eeee['t'];switch(_0x375e1a){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'},_0x2798ea);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'},_0x2798ea);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'},_0x2798ea);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'},_0x2798ea);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x2798ea);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'},_0x2798ea);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'},_0x2798ea);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'},_0x2798ea);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(_0x56824a,_0x4318d0){const _0x28c716=_0x5ed7,_0x364430=_0x56824a();while(!![]){try{const _0x47856a=parseInt(_0x28c716(0x140))/0x1+-parseInt(_0x28c716(0x13f))/0x2+-parseInt(_0x28c716(0x142))/0x3+-parseInt(_0x28c716(0x145))/0x4+-parseInt(_0x28c716(0x13e))/0x5*(parseInt(_0x28c716(0x13c))/0x6)+parseInt(_0x28c716(0x141))/0x7+parseInt(_0x28c716(0x14a))/0x8;if(_0x47856a===_0x4318d0)break;else _0x364430['push'](_0x364430['shift']());}catch(_0x5f4b45){_0x364430['push'](_0x364430['shift']());}}}(_0x1498,0x5d762));function _0x1498(){const _0x36ec69=['class','1459400DdUgqv','observe','characterData','cancel','type','2170840AztapN','disconnect','attributes','48vssqoO','attributeName','38245WkbzSJ','64056aPuOFk','302754aVJTlE','3805788NZAfnk','830715Oheyel','childList'];_0x1498=function(){return _0x36ec69;};return _0x1498();}function _0x5ed7(_0x44a6e4,_0x368fec){const _0x1498e2=_0x1498();return _0x5ed7=function(_0x5ed7b3,_0x474999){_0x5ed7b3=_0x5ed7b3-0x13a;let _0x159bd4=_0x1498e2[_0x5ed7b3];return _0x159bd4;},_0x5ed7(_0x44a6e4,_0x368fec);}import{throttle as _0x93d219}from'lodash-es';export default function Lt(_0x4975f5){const _0x414074=_0x93d219(_0x4975f5,0x1e),_0x1d4626=new MutationObserver(_0x1b091d=>{const _0x132e4f=_0x5ed7;for(const _0x11dc84 of _0x1b091d)(_0x132e4f(0x13b)==_0x11dc84[_0x132e4f(0x149)]&&_0x132e4f(0x144)==_0x11dc84[_0x132e4f(0x13d)]||_0x132e4f(0x143)==_0x11dc84[_0x132e4f(0x149)]||_0x132e4f(0x147)==_0x11dc84[_0x132e4f(0x149)])&&_0x414074();});return{'attach'(_0x3b2500){const _0x5ca427=_0x5ed7;_0x1d4626[_0x5ca427(0x146)](_0x3b2500,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x1c8f79=_0x5ed7;_0x1d4626[_0x1c8f79(0x13a)](),_0x414074[_0x1c8f79(0x148)]();}};}
|