@ckeditor/ckeditor5-comments 46.0.3 → 46.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/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x229e15=_0x2efb;(function(_0x2713a4,_0x2e6464){const _0xf0f6f3=_0x2efb,_0x29ab71=_0x2713a4();while(!![]){try{const _0xbd76ca=parseInt(_0xf0f6f3(0x8b))/0x1*(-parseInt(_0xf0f6f3(0xbe))/0x2)+parseInt(_0xf0f6f3(0x94))/0x3+parseInt(_0xf0f6f3(0xb7))/0x4*(parseInt(_0xf0f6f3(0xd8))/0x5)+parseInt(_0xf0f6f3(0x9d))/0x6*(parseInt(_0xf0f6f3(0x8f))/0x7)+parseInt(_0xf0f6f3(0xd1))/0x8+-parseInt(_0xf0f6f3(0x7c))/0x9*(parseInt(_0xf0f6f3(0xcf))/0xa)+-parseInt(_0xf0f6f3(0xa7))/0xb;if(_0xbd76ca===_0x2e6464)break;else _0x29ab71['push'](_0x29ab71['shift']());}catch(_0x5c7743){_0x29ab71['push'](_0x29ab71['shift']());}}}(_0x3b70,0xb4bed));function _0x3b70(){const _0x330104=['listenTo','_handleRemoveCommentModel','focusTracker','_shouldCollapse','element','removeComment','remove','Thread\x20comments','from','visibleViews','8HrickX','commentUpdated','_handleNewCommentModel','_model','change:isResolved','locale','ck-thread__comments','10eUZIYI','forEach','_handleInfoComment','stopListening','CommentView','collapse','updateComment','target','destroy','removed','editorDestroyed','_collapsedCommentsView','count','_calculatePosition','insert','keystrokes','_findOptimalIndex','14167410SJqcqn','change:isActive','10409056edTgTf','map','comments','refreshVisibleViews','resolveCommentThread','resolvedCommentView','resolved','3640220dCkSnV','_config','focus','render','commentViews','bind','9wzsTJM','authoredAt','change:hasDirtyComment','arrowup','editorReady','delete','ck-hidden','viewUid','expand','some','formatDateTime','resolvedAt','_updateHasDirtyComment','createCollection','resolvedBy','166205tuNPAz','arrowdown','Marked\x20as\x20resolved','focusFirst','2856YFDhxz','change:isEditMode','maxCommentsWhenCollapsed','get','_rearrangeCollapse','1716729LGVAge','change','added','editorConfig','reverse','focusCycler','weight','_rearrangeExpand','bindTemplate','20682gMBKag','setTemplate','hasDirtyComment','set','maxThreadTotalWeight','add','isActive','equal','maxCommentCharsWhenCollapsed','focusLast','19225140tLyMhx','_setupKeyboardNavigation','length','isEditMode','delegate','includes'];_0x3b70=function(){return _0x330104;};return _0x3b70();}import{View as _0x21bee4,FocusCycler as _0x4b4bab}from'ckeditor5/src/ui.js';import{diff as _0x51bfb2,Collection as _0x13fca2,FocusTracker as _0x966a73,KeystrokeHandler as _0x54b17d}from'ckeditor5/src/utils.js';import{getTranslation as _0x1dd8e9}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x1284a4}from'./collapsedcommentsview.js';function _0x2efb(_0x40e2ea,_0x4d3498){const _0x3b70ec=_0x3b70();return _0x2efb=function(_0x2efbb1,_0x138e3e){_0x2efbb1=_0x2efbb1-0x77;let _0x2ae9a7=_0x3b70ec[_0x2efbb1];return _0x2ae9a7;},_0x2efb(_0x40e2ea,_0x4d3498);}export class CommentsListView extends _0x21bee4{[_0x229e15(0x7a)];[_0x229e15(0xd6)];[_0x229e15(0xaf)];[_0x229e15(0xcd)];[_0x229e15(0x99)];[_0x229e15(0xba)];[_0x229e15(0x77)];[_0x229e15(0xc9)];constructor(_0x3d7763,_0xf7f4f1,_0x1b8a90){const _0x1ef75e=_0x229e15;super(_0x3d7763);const _0x1198f4=this[_0x1ef75e(0x9c)];this[_0x1ef75e(0xa0)](_0x1ef75e(0x9f),!0x1),this[_0x1ef75e(0xa0)](_0x1ef75e(0xa9),_0xf7f4f1[_0x1ef75e(0xd3)][_0x1ef75e(0xa9)]),this[_0x1ef75e(0xa0)](_0x1ef75e(0xa3),!0x1),this[_0x1ef75e(0xba)]=_0xf7f4f1,this[_0x1ef75e(0x77)]=_0x1b8a90,this[_0x1ef75e(0x7a)]=this[_0x1ef75e(0x89)](),this[_0x1ef75e(0xb6)]=this[_0x1ef75e(0x89)](),this[_0x1ef75e(0xd6)]=null,this[_0x1ef75e(0xaf)]=new _0x966a73(),this[_0x1ef75e(0xcd)]=new _0x54b17d(),this[_0x1ef75e(0x99)]=new _0x4b4bab({'focusables':this[_0x1ef75e(0x7a)],'focusTracker':this[_0x1ef75e(0xaf)],'keystrokeHandler':this[_0x1ef75e(0xcd)],'keystrokeHandlerOptions':{'filter':_0x16496f=>this[_0x1ef75e(0x7a)][_0x1ef75e(0xd2)](_0x3e5bb6=>_0x3e5bb6[_0x1ef75e(0xb1)])[_0x1ef75e(0xac)](_0x16496f[_0x1ef75e(0xc5)])},'actions':{'focusPrevious':_0x1ef75e(0x7f),'focusNext':_0x1ef75e(0x8c)}}),this[_0x1ef75e(0xc9)]=new _0x1284a4(_0x3d7763),this[_0x1ef75e(0xc9)][_0x1ef75e(0x7b)](_0x1ef75e(0xca))['to'](this,_0x1ef75e(0xa9),_0x3ca9f9=>_0x3ca9f9-this[_0x1ef75e(0x77)][_0x1ef75e(0x91)]);for(const _0xeffcd2 of _0xf7f4f1[_0x1ef75e(0xd3)])this[_0x1ef75e(0xb9)](_0xeffcd2);this[_0x1ef75e(0xc0)](),this[_0x1ef75e(0xad)](_0xf7f4f1[_0x1ef75e(0xd3)],_0x1ef75e(0xa2),(_0x186d1c,_0x1fc524)=>{const _0xec0d0d=_0x1ef75e,_0x252fff=this[_0xec0d0d(0xcb)](_0x1fc524);this[_0xec0d0d(0xa9)]++,this[_0xec0d0d(0xb9)](_0x1fc524,_0x252fff),this[_0xec0d0d(0xd4)]();}),this[_0x1ef75e(0xad)](_0xf7f4f1[_0x1ef75e(0xd3)],_0x1ef75e(0xb3),(_0x544711,_0x42ea3d)=>{const _0x2b84f7=_0x1ef75e;this[_0x2b84f7(0xa9)]--,this[_0x2b84f7(0xae)](_0x42ea3d),this[_0x2b84f7(0xd4)]();}),this[_0x1ef75e(0xad)](_0xf7f4f1,_0x1ef75e(0xb8),()=>this[_0x1ef75e(0xd4)]()),this[_0x1ef75e(0xad)](_0xf7f4f1,_0x1ef75e(0xbb),()=>this[_0x1ef75e(0xc0)]()),this['on'](_0x1ef75e(0xd0),()=>this[_0x1ef75e(0xd4)]()),this['on'](_0x1ef75e(0x7e),()=>this[_0x1ef75e(0xd4)]()),this[_0x1ef75e(0x9e)]({'tag':'ul','attributes':{'class':[_0x1ef75e(0xbd),_0x1198f4['if'](_0x1ef75e(0xa9),_0x1ef75e(0x82),_0xa1b379=>!_0xa1b379)],'aria-label':_0x1dd8e9(_0x3d7763,_0x1ef75e(0xb4))},'children':this[_0x1ef75e(0xb6)]});}get[_0x229e15(0xb0)](){const _0x47a1df=_0x229e15;return this[_0x47a1df(0xba)][_0x47a1df(0x9a)]>this[_0x47a1df(0x77)][_0x47a1df(0xa1)]&&!this[_0x47a1df(0xa3)]&&!this[_0x47a1df(0x9f)];}[_0x229e15(0x79)](){const _0x7334a9=_0x229e15;super[_0x7334a9(0x79)](),this[_0x7334a9(0xd4)](),this[_0x7334a9(0xa8)]();}[_0x229e15(0x78)](_0x1cb9cb){const _0x39a127=_0x229e15;-0x1===_0x1cb9cb?this[_0x39a127(0x99)][_0x39a127(0xa6)]():this[_0x39a127(0x99)][_0x39a127(0x8e)]();}[_0x229e15(0xc6)](){const _0x26d886=_0x229e15;this[_0x26d886(0xc9)][_0x26d886(0xc6)]();for(const _0x1b2c85 of this[_0x26d886(0x7a)])_0x1b2c85[_0x26d886(0xc6)]();super[_0x26d886(0xc6)]();}[_0x229e15(0xd4)](){const _0x699762=_0x229e15;this[_0x699762(0xb0)]?this[_0x699762(0x93)]():this[_0x699762(0x9b)]();}[_0x229e15(0xb9)](_0x4f4381,_0x2ab210){const _0x529aa3=_0x229e15,_0x557b5e=new this[(_0x529aa3(0x77))][(_0x529aa3(0xc2))](this[_0x529aa3(0xbc)],_0x4f4381,{'maxCommentCharsWhenCollapsed':this[_0x529aa3(0x77)][_0x529aa3(0xa5)],'formatDateTime':this[_0x529aa3(0x77)][_0x529aa3(0x86)],'editorConfig':this[_0x529aa3(0x77)][_0x529aa3(0x97)]});_0x557b5e[_0x529aa3(0x83)]=_0x4f4381['id'],_0x557b5e[_0x529aa3(0xab)](_0x529aa3(0xb2))['to'](this),_0x557b5e[_0x529aa3(0xab)](_0x529aa3(0xc4))['to'](this),_0x557b5e[_0x529aa3(0xab)](_0x529aa3(0xd5))['to'](this),_0x557b5e[_0x529aa3(0xab)](_0x529aa3(0x80))['to'](this),_0x557b5e[_0x529aa3(0xab)](_0x529aa3(0xc8))['to'](this),this[_0x529aa3(0xad)](_0x557b5e,_0x529aa3(0x90),()=>this[_0x529aa3(0x88)]()),this[_0x529aa3(0x7a)][_0x529aa3(0xa2)](_0x557b5e,_0x2ab210);}[_0x229e15(0xcb)](_0x4a28b5){const _0x2df48d=_0x229e15,_0x3ed7f3=this[_0x2df48d(0xba)][_0x2df48d(0xce)](_0x4a28b5);return this[_0x2df48d(0xd6)]?this[_0x2df48d(0xd6)][_0x2df48d(0x7d)]>_0x4a28b5[_0x2df48d(0x7d)]?_0x3ed7f3-0x1:_0x3ed7f3:_0x3ed7f3-0x1;}[_0x229e15(0xc0)](){const _0x5e27ba=_0x229e15;if(this[_0x5e27ba(0xba)][_0x5e27ba(0x8a)]&&this[_0x5e27ba(0xba)][_0x5e27ba(0x87)]){const _0x4aca6d={'id':_0x5e27ba(0xd7),'author':this[_0x5e27ba(0xba)][_0x5e27ba(0x8a)],'authoredAt':this[_0x5e27ba(0xba)][_0x5e27ba(0x87)],'content':_0x1dd8e9(this[_0x5e27ba(0xbc)],_0x5e27ba(0x8d)),'attributes':{}};this[_0x5e27ba(0xd6)]=new this[(_0x5e27ba(0x77))][(_0x5e27ba(0xc2))](this[_0x5e27ba(0xbc)],_0x4aca6d,{'maxCommentCharsWhenCollapsed':this[_0x5e27ba(0x77)][_0x5e27ba(0xa5)],'formatDateTime':this[_0x5e27ba(0x77)][_0x5e27ba(0x86)],'editorConfig':this[_0x5e27ba(0x77)][_0x5e27ba(0x97)],'isSystemComment':!0x0}),this[_0x5e27ba(0x7a)][_0x5e27ba(0xa2)](this[_0x5e27ba(0xd6)],this[_0x5e27ba(0xba)][_0x5e27ba(0xce)](_0x4aca6d));}else this[_0x5e27ba(0xd6)]&&(this[_0x5e27ba(0x7a)][_0x5e27ba(0xb3)](this[_0x5e27ba(0xd6)]),this[_0x5e27ba(0xd6)][_0x5e27ba(0xc6)](),this[_0x5e27ba(0xd6)]=null);this[_0x5e27ba(0xd4)]();}[_0x229e15(0xae)](_0x3ccd82){const _0x2c9534=_0x229e15,_0x1565ef=this[_0x2c9534(0x7a)][_0x2c9534(0xb3)](_0x3ccd82['id']);this[_0x2c9534(0xc1)](_0x1565ef),_0x1565ef[_0x2c9534(0xaa)]&&this[_0x2c9534(0x88)](),_0x1565ef[_0x2c9534(0xc6)]();}[_0x229e15(0x88)](){const _0x20ed80=_0x229e15;this[_0x20ed80(0x9f)]=Array[_0x20ed80(0xb5)](this[_0x20ed80(0x7a)])[_0x20ed80(0x85)](_0x26a16a=>_0x26a16a[_0x20ed80(0xaa)]);}[_0x229e15(0x93)](){const _0xe98a2d=_0x229e15,_0x5d628d=function(_0x5b71f2){const _0x2c8ae8=_0x2efb,_0x5d1549=new _0x13fca2();for(const _0xdc280d of _0x5b71f2)_0x5d1549[_0x2c8ae8(0xa2)](_0xdc280d);return _0x5d1549;}(this[_0xe98a2d(0x7a)]),_0x5bbe47=this[_0xe98a2d(0xc9)][_0xe98a2d(0xca)];for(let _0x2bd900=0x1;_0x2bd900<=_0x5bbe47;_0x2bd900++)_0x5d628d[_0xe98a2d(0xb3)](0x1);for(const _0x931c9b of _0x5d628d)_0x931c9b[_0xe98a2d(0xc3)]();_0x5bbe47>0x0&&_0x5d628d[_0xe98a2d(0xa2)](this[_0xe98a2d(0xc9)],0x1),ns(_0x51bfb2(Array[_0xe98a2d(0xb5)](this[_0xe98a2d(0xb6)]),Array[_0xe98a2d(0xb5)](_0x5d628d)),this[_0xe98a2d(0xb6)],_0x5d628d);}[_0x229e15(0x9b)](){const _0x56e360=_0x229e15;ns(_0x51bfb2(Array[_0x56e360(0xb5)](this[_0x56e360(0xb6)]),Array[_0x56e360(0xb5)](this[_0x56e360(0x7a)])),this[_0x56e360(0xb6)],this[_0x56e360(0x7a)]);for(const _0x207d46 of this[_0x56e360(0xb6)])_0x207d46[_0x56e360(0x84)]();}[_0x229e15(0xa8)](){const _0x55b296=_0x229e15;this[_0x55b296(0x7a)][_0x55b296(0xbf)](_0x23fb8c=>{const _0x4cb31a=_0x55b296;this[_0x4cb31a(0xaf)][_0x4cb31a(0xa2)](_0x23fb8c[_0x4cb31a(0xb1)]),this[_0x4cb31a(0xcd)][_0x4cb31a(0xad)](_0x23fb8c[_0x4cb31a(0xb1)]);}),this[_0x55b296(0x7a)]['on'](_0x55b296(0x95),(_0x31f68a,_0x4850a7)=>{const _0x2740ea=_0x55b296;for(const _0x35ed6f of _0x4850a7[_0x2740ea(0xc7)])this[_0x2740ea(0xaf)][_0x2740ea(0xb3)](_0x35ed6f[_0x2740ea(0xb1)]),this[_0x2740ea(0xcd)][_0x2740ea(0xc1)](_0x35ed6f[_0x2740ea(0xb1)]);for(const _0x12a061 of Array[_0x2740ea(0xb5)](_0x4850a7[_0x2740ea(0x96)])[_0x2740ea(0x98)]())this[_0x2740ea(0xaf)][_0x2740ea(0xa2)](_0x12a061[_0x2740ea(0xb1)]),this[_0x2740ea(0xcd)][_0x2740ea(0xad)](_0x12a061[_0x2740ea(0xb1)]);});}}function ns(_0x596208,_0x419f91,_0x10cedf){const _0x3f40a9=_0x229e15;let _0x2874d3=0x0;for(const _0x2a830d of _0x596208)switch(_0x2a830d){case _0x3f40a9(0xcc):_0x419f91[_0x3f40a9(0xa2)](_0x10cedf[_0x3f40a9(0x92)](_0x2874d3),_0x2874d3),_0x2874d3++;break;case _0x3f40a9(0x81):_0x419f91[_0x3f40a9(0xb3)](_0x2874d3);break;case _0x3f40a9(0xa4):_0x2874d3++;}}
|
|
23
|
+
const _0xeae235=_0x38af;(function(_0x38bbc6,_0x3a8fd5){const _0x3d163a=_0x38af,_0x5944d2=_0x38bbc6();while(!![]){try{const _0x40f0a8=parseInt(_0x3d163a(0x1a2))/0x1*(parseInt(_0x3d163a(0x182))/0x2)+parseInt(_0x3d163a(0x1a1))/0x3+-parseInt(_0x3d163a(0x196))/0x4+parseInt(_0x3d163a(0x185))/0x5*(parseInt(_0x3d163a(0x1a6))/0x6)+-parseInt(_0x3d163a(0x156))/0x7+parseInt(_0x3d163a(0x193))/0x8+-parseInt(_0x3d163a(0x159))/0x9*(parseInt(_0x3d163a(0x17f))/0xa);if(_0x40f0a8===_0x3a8fd5)break;else _0x5944d2['push'](_0x5944d2['shift']());}catch(_0x35fe0d){_0x5944d2['push'](_0x5944d2['shift']());}}}(_0x52c9,0xc81ff));import{View as _0x123795,FocusCycler as _0x24ee6b}from'ckeditor5/src/ui.js';import{diff as _0x17b8fe,Collection as _0x521c95,FocusTracker as _0x1231e2,KeystrokeHandler as _0x4b6471}from'ckeditor5/src/utils.js';function _0x38af(_0x3b995e,_0x348191){const _0x52c971=_0x52c9();return _0x38af=function(_0x38af31,_0x52b659){_0x38af31=_0x38af31-0x155;let _0x3d1f6e=_0x52c971[_0x38af31];return _0x3d1f6e;},_0x38af(_0x3b995e,_0x348191);}import{getTranslation as _0x2c686c}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x176a4d}from'./collapsedcommentsview.js';function _0x52c9(){const _0x56791c=['target','_findOptimalIndex','_collapsedCommentsView','added','weight','visibleViews','count','arrowup','resolvedCommentView','resolved','expand','_setupKeyboardNavigation','setTemplate','12517540SPECRR','_handleRemoveCommentModel','set','4378nxRNcl','focus','includes','2815qEvzLM','updateComment','element','arrowdown','destroy','bind','viewUid','_updateHasDirtyComment','change:hasDirtyComment','listenTo','forEach','add','Marked\x20as\x20resolved','map','1819888NWJtWC','bindTemplate','focusLast','4305092qWRQzU','resolveCommentThread','CommentView','ck-hidden','Thread\x20comments','focusCycler','formatDateTime','get','editorDestroyed','collapse','_model','3482874zGHiYO','526RaWfOs','delete','_calculatePosition','comments','11898LzazbI','maxCommentsWhenCollapsed','_handleNewCommentModel','isEditMode','createCollection','hasDirtyComment','_rearrangeCollapse','insert','authoredAt','change:isResolved','change','editorReady','focusFirst','maxCommentCharsWhenCollapsed','isActive','delegate','length','3559843eZDQry','_rearrangeExpand','commentUpdated','9sxVArO','stopListening','from','_shouldCollapse','removeComment','removed','resolvedBy','remove','keystrokes','_config','render','locale','refreshVisibleViews','maxThreadTotalWeight','change:isEditMode','some','focusTracker','_handleInfoComment','equal','commentViews','editorConfig','reverse','change:isActive','resolvedAt','ck-thread__comments'];_0x52c9=function(){return _0x56791c;};return _0x52c9();}export class CommentsListView extends _0x123795{[_0xeae235(0x16c)];[_0xeae235(0x17a)];[_0xeae235(0x169)];[_0xeae235(0x161)];[_0xeae235(0x19b)];[_0xeae235(0x1a0)];[_0xeae235(0x162)];[_0xeae235(0x174)];constructor(_0x19a3c6,_0x583682,_0x5e163e){const _0x4a1b70=_0xeae235;super(_0x19a3c6);const _0x21052d=this[_0x4a1b70(0x194)];this[_0x4a1b70(0x181)](_0x4a1b70(0x1ab),!0x1),this[_0x4a1b70(0x181)](_0x4a1b70(0x155),_0x583682[_0x4a1b70(0x1a5)][_0x4a1b70(0x155)]),this[_0x4a1b70(0x181)](_0x4a1b70(0x1b4),!0x1),this[_0x4a1b70(0x1a0)]=_0x583682,this[_0x4a1b70(0x162)]=_0x5e163e,this[_0x4a1b70(0x16c)]=this[_0x4a1b70(0x1aa)](),this[_0x4a1b70(0x177)]=this[_0x4a1b70(0x1aa)](),this[_0x4a1b70(0x17a)]=null,this[_0x4a1b70(0x169)]=new _0x1231e2(),this[_0x4a1b70(0x161)]=new _0x4b6471(),this[_0x4a1b70(0x19b)]=new _0x24ee6b({'focusables':this[_0x4a1b70(0x16c)],'focusTracker':this[_0x4a1b70(0x169)],'keystrokeHandler':this[_0x4a1b70(0x161)],'keystrokeHandlerOptions':{'filter':_0x2b5e52=>this[_0x4a1b70(0x16c)][_0x4a1b70(0x192)](_0x5d40a4=>_0x5d40a4[_0x4a1b70(0x187)])[_0x4a1b70(0x184)](_0x2b5e52[_0x4a1b70(0x172)])},'actions':{'focusPrevious':_0x4a1b70(0x179),'focusNext':_0x4a1b70(0x188)}}),this[_0x4a1b70(0x174)]=new _0x176a4d(_0x19a3c6),this[_0x4a1b70(0x174)][_0x4a1b70(0x18a)](_0x4a1b70(0x178))['to'](this,_0x4a1b70(0x155),_0x408236=>_0x408236-this[_0x4a1b70(0x162)][_0x4a1b70(0x1a7)]);for(const _0x5b4d25 of _0x583682[_0x4a1b70(0x1a5)])this[_0x4a1b70(0x1a8)](_0x5b4d25);this[_0x4a1b70(0x16a)](),this[_0x4a1b70(0x18e)](_0x583682[_0x4a1b70(0x1a5)],_0x4a1b70(0x190),(_0x2f6c98,_0x553ce0)=>{const _0xa7a15a=_0x4a1b70,_0x2812a6=this[_0xa7a15a(0x1a4)](_0x553ce0);this[_0xa7a15a(0x155)]++,this[_0xa7a15a(0x1a8)](_0x553ce0,_0x2812a6),this[_0xa7a15a(0x165)]();}),this[_0x4a1b70(0x18e)](_0x583682[_0x4a1b70(0x1a5)],_0x4a1b70(0x160),(_0x638682,_0x34c9e8)=>{const _0x2f357f=_0x4a1b70;this[_0x2f357f(0x155)]--,this[_0x2f357f(0x180)](_0x34c9e8),this[_0x2f357f(0x165)]();}),this[_0x4a1b70(0x18e)](_0x583682,_0x4a1b70(0x158),()=>this[_0x4a1b70(0x165)]()),this[_0x4a1b70(0x18e)](_0x583682,_0x4a1b70(0x1af),()=>this[_0x4a1b70(0x16a)]()),this['on'](_0x4a1b70(0x16f),()=>this[_0x4a1b70(0x165)]()),this['on'](_0x4a1b70(0x18d),()=>this[_0x4a1b70(0x165)]()),this[_0x4a1b70(0x17e)]({'tag':'ul','attributes':{'class':[_0x4a1b70(0x171),_0x21052d['if'](_0x4a1b70(0x155),_0x4a1b70(0x199),_0x1e568=>!_0x1e568)],'aria-label':_0x2c686c(_0x19a3c6,_0x4a1b70(0x19a))},'children':this[_0x4a1b70(0x177)]});}get[_0xeae235(0x15c)](){const _0x44aa46=_0xeae235;return this[_0x44aa46(0x1a0)][_0x44aa46(0x176)]>this[_0x44aa46(0x162)][_0x44aa46(0x166)]&&!this[_0x44aa46(0x1b4)]&&!this[_0x44aa46(0x1ab)];}[_0xeae235(0x163)](){const _0x45d05=_0xeae235;super[_0x45d05(0x163)](),this[_0x45d05(0x165)](),this[_0x45d05(0x17d)]();}[_0xeae235(0x183)](_0x61126){const _0x2a4858=_0xeae235;-0x1===_0x61126?this[_0x2a4858(0x19b)][_0x2a4858(0x195)]():this[_0x2a4858(0x19b)][_0x2a4858(0x1b2)]();}[_0xeae235(0x189)](){const _0x11e44c=_0xeae235;this[_0x11e44c(0x174)][_0x11e44c(0x189)]();for(const _0x12456f of this[_0x11e44c(0x16c)])_0x12456f[_0x11e44c(0x189)]();super[_0x11e44c(0x189)]();}[_0xeae235(0x165)](){const _0x3b50f8=_0xeae235;this[_0x3b50f8(0x15c)]?this[_0x3b50f8(0x1ac)]():this[_0x3b50f8(0x157)]();}[_0xeae235(0x1a8)](_0x53881b,_0x8eb2d0){const _0x1cf2f7=_0xeae235,_0x4996d6=new this[(_0x1cf2f7(0x162))][(_0x1cf2f7(0x198))](this[_0x1cf2f7(0x164)],_0x53881b,{'maxCommentCharsWhenCollapsed':this[_0x1cf2f7(0x162)][_0x1cf2f7(0x1b3)],'formatDateTime':this[_0x1cf2f7(0x162)][_0x1cf2f7(0x19c)],'editorConfig':this[_0x1cf2f7(0x162)][_0x1cf2f7(0x16d)]});_0x4996d6[_0x1cf2f7(0x18b)]=_0x53881b['id'],_0x4996d6[_0x1cf2f7(0x1b5)](_0x1cf2f7(0x15d))['to'](this),_0x4996d6[_0x1cf2f7(0x1b5)](_0x1cf2f7(0x186))['to'](this),_0x4996d6[_0x1cf2f7(0x1b5)](_0x1cf2f7(0x197))['to'](this),_0x4996d6[_0x1cf2f7(0x1b5)](_0x1cf2f7(0x1b1))['to'](this),_0x4996d6[_0x1cf2f7(0x1b5)](_0x1cf2f7(0x19e))['to'](this),this[_0x1cf2f7(0x18e)](_0x4996d6,_0x1cf2f7(0x167),()=>this[_0x1cf2f7(0x18c)]()),this[_0x1cf2f7(0x16c)][_0x1cf2f7(0x190)](_0x4996d6,_0x8eb2d0);}[_0xeae235(0x1a4)](_0x42f88e){const _0x500112=_0xeae235,_0x5f5a3a=this[_0x500112(0x1a0)][_0x500112(0x173)](_0x42f88e);return this[_0x500112(0x17a)]?this[_0x500112(0x17a)][_0x500112(0x1ae)]>_0x42f88e[_0x500112(0x1ae)]?_0x5f5a3a-0x1:_0x5f5a3a:_0x5f5a3a-0x1;}[_0xeae235(0x16a)](){const _0x5a4d1b=_0xeae235;if(this[_0x5a4d1b(0x1a0)][_0x5a4d1b(0x15f)]&&this[_0x5a4d1b(0x1a0)][_0x5a4d1b(0x170)]){const _0x16e3c8={'id':_0x5a4d1b(0x17b),'author':this[_0x5a4d1b(0x1a0)][_0x5a4d1b(0x15f)],'authoredAt':this[_0x5a4d1b(0x1a0)][_0x5a4d1b(0x170)],'content':_0x2c686c(this[_0x5a4d1b(0x164)],_0x5a4d1b(0x191)),'attributes':{}};this[_0x5a4d1b(0x17a)]=new this[(_0x5a4d1b(0x162))][(_0x5a4d1b(0x198))](this[_0x5a4d1b(0x164)],_0x16e3c8,{'maxCommentCharsWhenCollapsed':this[_0x5a4d1b(0x162)][_0x5a4d1b(0x1b3)],'formatDateTime':this[_0x5a4d1b(0x162)][_0x5a4d1b(0x19c)],'editorConfig':this[_0x5a4d1b(0x162)][_0x5a4d1b(0x16d)],'isSystemComment':!0x0}),this[_0x5a4d1b(0x16c)][_0x5a4d1b(0x190)](this[_0x5a4d1b(0x17a)],this[_0x5a4d1b(0x1a0)][_0x5a4d1b(0x173)](_0x16e3c8));}else this[_0x5a4d1b(0x17a)]&&(this[_0x5a4d1b(0x16c)][_0x5a4d1b(0x160)](this[_0x5a4d1b(0x17a)]),this[_0x5a4d1b(0x17a)][_0x5a4d1b(0x189)](),this[_0x5a4d1b(0x17a)]=null);this[_0x5a4d1b(0x165)]();}[_0xeae235(0x180)](_0x1fbc3e){const _0x29e4ec=_0xeae235,_0x24efb1=this[_0x29e4ec(0x16c)][_0x29e4ec(0x160)](_0x1fbc3e['id']);this[_0x29e4ec(0x15a)](_0x24efb1),_0x24efb1[_0x29e4ec(0x1a9)]&&this[_0x29e4ec(0x18c)](),_0x24efb1[_0x29e4ec(0x189)]();}[_0xeae235(0x18c)](){const _0x2aff41=_0xeae235;this[_0x2aff41(0x1ab)]=Array[_0x2aff41(0x15b)](this[_0x2aff41(0x16c)])[_0x2aff41(0x168)](_0xf46bf3=>_0xf46bf3[_0x2aff41(0x1a9)]);}[_0xeae235(0x1ac)](){const _0xba8886=_0xeae235,_0x50abdf=function(_0x2583d7){const _0x487a51=_0x38af,_0x2628ab=new _0x521c95();for(const _0x5c1354 of _0x2583d7)_0x2628ab[_0x487a51(0x190)](_0x5c1354);return _0x2628ab;}(this[_0xba8886(0x16c)]),_0x266dca=this[_0xba8886(0x174)][_0xba8886(0x178)];for(let _0x2753fc=0x1;_0x2753fc<=_0x266dca;_0x2753fc++)_0x50abdf[_0xba8886(0x160)](0x1);for(const _0x2f5e23 of _0x50abdf)_0x2f5e23[_0xba8886(0x19f)]();_0x266dca>0x0&&_0x50abdf[_0xba8886(0x190)](this[_0xba8886(0x174)],0x1),ns(_0x17b8fe(Array[_0xba8886(0x15b)](this[_0xba8886(0x177)]),Array[_0xba8886(0x15b)](_0x50abdf)),this[_0xba8886(0x177)],_0x50abdf);}[_0xeae235(0x157)](){const _0x413a2a=_0xeae235;ns(_0x17b8fe(Array[_0x413a2a(0x15b)](this[_0x413a2a(0x177)]),Array[_0x413a2a(0x15b)](this[_0x413a2a(0x16c)])),this[_0x413a2a(0x177)],this[_0x413a2a(0x16c)]);for(const _0x3e7fc9 of this[_0x413a2a(0x177)])_0x3e7fc9[_0x413a2a(0x17c)]();}[_0xeae235(0x17d)](){const _0x2bac71=_0xeae235;this[_0x2bac71(0x16c)][_0x2bac71(0x18f)](_0x5f1766=>{const _0xc749db=_0x2bac71;this[_0xc749db(0x169)][_0xc749db(0x190)](_0x5f1766[_0xc749db(0x187)]),this[_0xc749db(0x161)][_0xc749db(0x18e)](_0x5f1766[_0xc749db(0x187)]);}),this[_0x2bac71(0x16c)]['on'](_0x2bac71(0x1b0),(_0x31a0a5,_0x186bba)=>{const _0x3fc947=_0x2bac71;for(const _0x58aae2 of _0x186bba[_0x3fc947(0x15e)])this[_0x3fc947(0x169)][_0x3fc947(0x160)](_0x58aae2[_0x3fc947(0x187)]),this[_0x3fc947(0x161)][_0x3fc947(0x15a)](_0x58aae2[_0x3fc947(0x187)]);for(const _0x5f2b99 of Array[_0x3fc947(0x15b)](_0x186bba[_0x3fc947(0x175)])[_0x3fc947(0x16e)]())this[_0x3fc947(0x169)][_0x3fc947(0x190)](_0x5f2b99[_0x3fc947(0x187)]),this[_0x3fc947(0x161)][_0x3fc947(0x18e)](_0x5f2b99[_0x3fc947(0x187)]);});}}function ns(_0x11ed55,_0x3de12a,_0x753299){const _0x7eee99=_0xeae235;let _0x17c4e1=0x0;for(const _0x4206f0 of _0x11ed55)switch(_0x4206f0){case _0x7eee99(0x1ad):_0x3de12a[_0x7eee99(0x190)](_0x753299[_0x7eee99(0x19d)](_0x17c4e1),_0x17c4e1),_0x17c4e1++;break;case _0x7eee99(0x1a3):_0x3de12a[_0x7eee99(0x160)](_0x17c4e1);break;case _0x7eee99(0x16b):_0x17c4e1++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3328(){const _0x5668be=['setTemplate','element','4917565girNxN','6416524JgUpLW','bindTemplate','24qCgvQp','1136950pCotjp','THREAD_CONTEXT_LABEL','26484204dkeWNe','contextValue','1RQEeiu','11ncATFS','3EufMZW','7808715ovCejP','ck-context__value','span','1332618sPbTxH','87258uYCJGv','6DMPfPc','focus','set'];_0x3328=function(){return _0x5668be;};return _0x3328();}const _0x3ab386=_0xd0ee;(function(_0xae1529,_0xe3f142){const _0x218abf=_0xd0ee,_0x4cf4f6=_0xae1529();while(!![]){try{const _0x595acb=-parseInt(_0x218abf(0x164))/0x1*(-parseInt(_0x218abf(0x156))/0x2)+-parseInt(_0x218abf(0x166))/0x3*(-parseInt(_0x218abf(0x15d))/0x4)+-parseInt(_0x218abf(0x15c))/0x5*(-parseInt(_0x218abf(0x157))/0x6)+-parseInt(_0x218abf(0x155))/0x7*(parseInt(_0x218abf(0x15f))/0x8)+parseInt(_0x218abf(0x167))/0x9+parseInt(_0x218abf(0x160))/0xa*(parseInt(_0x218abf(0x165))/0xb)+-parseInt(_0x218abf(0x162))/0xc;if(_0x595acb===_0xe3f142)break;else _0x4cf4f6['push'](_0x4cf4f6['shift']());}catch(_0x6aa946){_0x4cf4f6['push'](_0x4cf4f6['shift']());}}}(_0x3328,0xcbba0));function _0xd0ee(_0x410ca7,_0x1b13f2){const _0x332839=_0x3328();return _0xd0ee=function(_0xd0ee4c,_0x270668){_0xd0ee4c=_0xd0ee4c-0x155;let _0x4b3d06=_0x332839[_0xd0ee4c];return _0x4b3d06;},_0xd0ee(_0x410ca7,_0x1b13f2);}import{View as _0x31e4fa}from'ckeditor5/src/ui.js';import{getTranslation as _0x5a4e5f}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x31e4fa{constructor(_0xf8966c){const _0x24168e=_0xd0ee;super(_0xf8966c);const _0x3319d8=this[_0x24168e(0x15e)];this[_0x24168e(0x159)](_0x24168e(0x163),''),this[_0x24168e(0x15a)]({'tag':_0x24168e(0x169),'attributes':{'class':['ck',_0x24168e(0x168)],'aria-label':_0x3319d8['to'](_0x24168e(0x163),_0x2f525a=>_0x5a4e5f(_0xf8966c,_0x24168e(0x161),_0x2f525a)),'tabindex':-0x1},'children':[{'text':_0x3319d8['to'](_0x24168e(0x163))}]});}[_0x3ab386(0x158)](){const _0x1b3c3d=_0x3ab386;this[_0x1b3c3d(0x15b)][_0x1b3c3d(0x158)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5e14(){const _0x3bc3fd=['11439BYCbMa','2101786SSvwdZ','tooltip','Comment\x20was\x20made\x20on\x20an\x20element','context','ck-context-wrapper','setTemplate','remove','Reopen','focus','scrollWidth','fire','_createContextView','execute','keystrokes','ck-context','ck-thread__header','reopenButtonView','_setupKeyboardNavigation','mouseleave','value','reopenCommentThread','4816VUdQGH','locale','length','contextValue','div','_createReopenButton','6234sFGkEm','2295284hOlTfI','_trimContextValue','focusCycler','focusables','querySelector','substring','classList','.ck-context','lastIndexOf','130963OmJbBL','label','mouseenter','icon','.ck-context__value','5075HKZGIz','contextView','isVisible','5570922yBNeQS','add','_model','bindTemplate','offsetWidth','isReadOnly','createCollection','focusFirst','render','...','focusTracker','isResolvable','ck-annotation__actions','tab','listenTo','ck-context--quotes','overlay','hasContext','element','isResolved','isEnabled','303735vJNZLi','shift+tab','_attachContextActions','bind'];_0x5e14=function(){return _0x3bc3fd;};return _0x5e14();}const _0x5227ed=_0x4d06;(function(_0x334de7,_0xf73129){const _0x44b97c=_0x4d06,_0x50976a=_0x334de7();while(!![]){try{const _0x11f1ad=parseInt(_0x44b97c(0x124))/0x1+-parseInt(_0x44b97c(0xff))/0x2+-parseInt(_0x44b97c(0xfa))/0x3+parseInt(_0x44b97c(0x11b))/0x4+parseInt(_0x44b97c(0x129))/0x5*(parseInt(_0x44b97c(0x11a))/0x6)+-parseInt(_0x44b97c(0x12c))/0x7+parseInt(_0x44b97c(0x114))/0x8*(parseInt(_0x44b97c(0xfe))/0x9);if(_0x11f1ad===_0xf73129)break;else _0x50976a['push'](_0x50976a['shift']());}catch(_0x196f84){_0x50976a['push'](_0x50976a['shift']());}}}(_0x5e14,0x8cc0f));function _0x4d06(_0x457c78,_0x5b6163){const _0x5e1486=_0x5e14();return _0x4d06=function(_0x4d069c,_0x4dd1d9){_0x4d069c=_0x4d069c-0xf2;let _0x53c4f6=_0x5e1486[_0x4d069c];return _0x53c4f6;},_0x4d06(_0x457c78,_0x5b6163);}import{View as _0x1a9f93,ButtonView as _0x146583,FocusCycler as _0x42d42d}from'ckeditor5/src/ui.js';import{FocusTracker as _0xdf39dc,KeystrokeHandler as _0x3f5c36}from'ckeditor5/src/utils.js';import{IconUndo as _0x18a415}from'ckeditor5/src/icons.js';import{getTranslation as _0x1b87f7}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0xe2a97d}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x1a9f93{[_0x5227ed(0x12e)];[_0x5227ed(0x10f)];[_0x5227ed(0x12a)];[_0x5227ed(0x11e)];[_0x5227ed(0x136)];[_0x5227ed(0x10c)];[_0x5227ed(0x11d)];constructor(_0xc3e9dd,_0x3425b8){const _0x1f120d=_0x5227ed;super(_0xc3e9dd);const _0x3d33a7=this[_0x1f120d(0x12f)];this[_0x1f120d(0x12e)]=_0x3425b8,this[_0x1f120d(0x10f)]=this[_0x1f120d(0x119)](),this[_0x1f120d(0x12a)]=this[_0x1f120d(0x10a)](),this[_0x1f120d(0x11e)]=this[_0x1f120d(0x132)]([this[_0x1f120d(0x12a)],this[_0x1f120d(0x10f)]]),this[_0x1f120d(0x136)]=new _0xdf39dc(),this[_0x1f120d(0x10c)]=new _0x3f5c36(),this[_0x1f120d(0x11d)]=new _0x42d42d({'focusables':this[_0x1f120d(0x11e)],'focusTracker':this[_0x1f120d(0x136)],'keystrokeHandler':this[_0x1f120d(0x10c)],'actions':{'focusPrevious':_0x1f120d(0xfb),'focusNext':_0x1f120d(0xf2)}}),this[_0x1f120d(0xfd)](_0x1f120d(0xf6))['to'](this[_0x1f120d(0x12e)],_0x1f120d(0x102),_0x28ac09=>!!_0x28ac09),this[_0x1f120d(0xfd)](_0x1f120d(0x117))['to'](this[_0x1f120d(0x12e)],_0x1f120d(0x102),_0x278a5a=>_0x278a5a&&_0x278a5a[_0x1f120d(0x112)]?this[_0x1f120d(0x11c)](_0x278a5a[_0x1f120d(0x112)]):_0x1b87f7(this[_0x1f120d(0x115)],_0x1f120d(0x101))),this[_0x1f120d(0x104)]({'tag':_0x1f120d(0x118),'attributes':{'class':[_0x1f120d(0x10e)]},'children':[{'tag':_0x1f120d(0x118),'attributes':{'class':[_0x1f120d(0x103)]},'children':[{'tag':_0x1f120d(0x118),'attributes':{'class':[_0x1f120d(0x10d),_0x3d33a7['if'](_0x1f120d(0xf6),_0x1f120d(0xf4))]},'children':[this[_0x1f120d(0x12a)]]}]},{'tag':_0x1f120d(0x118),'attributes':{'class':[_0x1f120d(0x138)]},'children':[this[_0x1f120d(0x10f)]]}]});}[_0x5227ed(0x134)](){const _0x22ef45=_0x5227ed;super[_0x22ef45(0x134)](),this[_0x22ef45(0xfc)](),this[_0x22ef45(0x110)]();}[_0x5227ed(0x107)](){const _0x1e3d0a=_0x5227ed;this[_0x1e3d0a(0x11d)][_0x1e3d0a(0x133)]();}[_0x5227ed(0x119)](){const _0x180e91=_0x5227ed,_0x39eadc=new _0x146583(this[_0x180e91(0x115)]);return _0x39eadc[_0x180e91(0x125)]=_0x1b87f7(this[_0x180e91(0x115)],_0x180e91(0x106)),_0x39eadc[_0x180e91(0x100)]=_0x1b87f7(this[_0x180e91(0x115)],_0x180e91(0x106)),_0x39eadc[_0x180e91(0x127)]=_0x18a415,_0x39eadc[_0x180e91(0xfd)](_0x180e91(0xf9))['to'](this[_0x180e91(0x12e)],_0x180e91(0x131),_0x2148bd=>!_0x2148bd),_0x39eadc[_0x180e91(0xfd)](_0x180e91(0x12b))['to'](this[_0x180e91(0x12e)],_0x180e91(0x137),this[_0x180e91(0x12e)],_0x180e91(0xf8),(_0x479847,_0x4fd335)=>_0x479847&&_0x4fd335),_0x39eadc['on'](_0x180e91(0x10b),()=>{const _0x1be12e=_0x180e91;this[_0x1be12e(0x109)](_0x1be12e(0x113),this[_0x1be12e(0x12e)]['id']);}),_0x39eadc;}[_0x5227ed(0x11c)](_0x320617){const _0x197ead=_0x5227ed;if(_0x320617[_0x197ead(0x116)]<0x96)return _0x320617;const _0x557452=_0x320617[_0x197ead(0x123)]('\x20',0x93);return _0x320617[_0x197ead(0x120)](0x0,_0x557452>-0x1?_0x557452:0x93)+_0x197ead(0x135);}[_0x5227ed(0xfc)](){const _0x13e83f=_0x5227ed,_0x47ccbc=this[_0x13e83f(0xf7)][_0x13e83f(0x11f)](_0x13e83f(0x122)),_0x329298=_0x47ccbc[_0x13e83f(0x11f)](_0x13e83f(0x128));this[_0x13e83f(0xf3)](_0x47ccbc,_0x13e83f(0x126),()=>{const _0x2fb245=_0x13e83f;_0x329298[_0x2fb245(0x130)]<_0x329298[_0x2fb245(0x108)]&&_0x47ccbc[_0x2fb245(0x121)][_0x2fb245(0x12d)](_0x2fb245(0xf5));}),this[_0x13e83f(0xf3)](_0x47ccbc,_0x13e83f(0x111),()=>{const _0x2aca88=_0x13e83f;_0x47ccbc[_0x2aca88(0x121)][_0x2aca88(0x105)](_0x2aca88(0xf5));});}[_0x5227ed(0x110)](){const _0x542a3f=_0x5227ed;this[_0x542a3f(0x10c)][_0x542a3f(0xf3)](this[_0x542a3f(0xf7)]);for(const _0x168a65 of this[_0x542a3f(0x11e)])this[_0x542a3f(0x136)][_0x542a3f(0x12d)](_0x168a65[_0x542a3f(0xf7)]),this[_0x542a3f(0x10c)][_0x542a3f(0xf3)](_0x168a65[_0x542a3f(0xf7)]);}[_0x5227ed(0x10a)](){const _0x4b03e7=_0x5227ed,_0x503243=new _0xe2a97d(this[_0x4b03e7(0x115)]);return _0x503243[_0x4b03e7(0xfd)](_0x4b03e7(0x117))['to'](this),_0x503243;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x462e23=_0xc3a7;(function(_0xbb36bc,_0x247db5){const _0x28b158=_0xc3a7,_0x372df0=_0xbb36bc();while(!![]){try{const _0xf438dd=-parseInt(_0x28b158(0x1a4))/0x1*(-parseInt(_0x28b158(0x18f))/0x2)+parseInt(_0x28b158(0x1af))/0x3*(-parseInt(_0x28b158(0x192))/0x4)+parseInt(_0x28b158(0x1ac))/0x5+-parseInt(_0x28b158(0x1ad))/0x6*(-parseInt(_0x28b158(0x197))/0x7)+parseInt(_0x28b158(0x18a))/0x8*(-parseInt(_0x28b158(0x1a6))/0x9)+parseInt(_0x28b158(0x1a7))/0xa+-parseInt(_0x28b158(0x1a8))/0xb;if(_0xf438dd===_0x247db5)break;else _0x372df0['push'](_0x372df0['shift']());}catch(_0x36b6af){_0x372df0['push'](_0x372df0['shift']());}}}(_0x473c,0xd0e99));function _0xc3a7(_0x57ec77,_0x3738ea){const _0x473cee=_0x473c();return _0xc3a7=function(_0xc3a7f4,_0x321996){_0xc3a7f4=_0xc3a7f4-0x183;let _0x57bea8=_0x473cee[_0xc3a7f4];return _0x57bea8;},_0xc3a7(_0x57ec77,_0x3738ea);}import{View as _0x336b14}from'ckeditor5/src/ui.js';function _0x473c(){const _0x5b7916=['5590agzBeW','showInput','9jcATfp','903890exzekN','13332176jzfCGW','ck-comment__input-container','bindTemplate','filter','7373560RKxUVT','3240150wVtieC','mousedown','1191nmNLuB','target','set','isFocused','setTemplate','render','editing','ck-comment__input-container--active','view','showButtons','destroy','ck-thread__input','editorDestroyed','div','8991832ChTnKf','preventDefault','ck-thread__user','userView','element','110vLjbdm','createEditor','focus','3032IKQmSP','then','_focusOnNonInteractiveMouseDown','some','value','21wMQmuj','delegate','editor','editorReady','listenTo','getDomRoot','focusCycler','contains','focusTracker','commentInputView','extendTemplate','change:showInput','bind'];_0x473c=function(){return _0x5b7916;};return _0x473c();}import{CommentInputView as _0x10083c}from'./commentinputview.js';import{UserView as _0x4cf32c}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x336b14{constructor(_0x49c427,_0x29b3f2,_0x26c8b8){const _0x3a9817=_0xc3a7;super(_0x49c427),this[_0x3a9817(0x1a0)]=new _0x10083c(_0x49c427,_0x26c8b8),this[_0x3a9817(0x19d)]=this[_0x3a9817(0x1a0)][_0x3a9817(0x19d)],this[_0x3a9817(0x1a0)][_0x3a9817(0x1a3)](_0x3a9817(0x185))['to'](this[_0x3a9817(0x1a0)][_0x3a9817(0x19f)],_0x3a9817(0x1b2),this[_0x3a9817(0x1a0)],_0x3a9817(0x196),(_0x619a92,_0x77e8c1)=>_0x619a92||!!_0x77e8c1),this[_0x3a9817(0x1b1)](_0x3a9817(0x1a5),!0x1),this['on'](_0x3a9817(0x1a2),()=>{const _0x213528=_0x3a9817;this[_0x213528(0x1a5)]&&!this[_0x213528(0x1a0)][_0x213528(0x199)]&&this[_0x213528(0x1a0)][_0x213528(0x190)]();}),this[_0x3a9817(0x1a0)][_0x3a9817(0x198)](_0x3a9817(0x19a))['to'](this),this[_0x3a9817(0x1a0)][_0x3a9817(0x198)](_0x3a9817(0x188))['to'](this),this[_0x3a9817(0x18d)]=new _0x4cf32c(_0x49c427,_0x29b3f2),this[_0x3a9817(0x18d)][_0x3a9817(0x1a1)]({'attributes':{'class':_0x3a9817(0x18c),'aria-hidden':!0x0}}),this[_0x3a9817(0x1a0)][_0x3a9817(0x1a1)]({'attributes':{'class':_0x3a9817(0x187)}}),this[_0x3a9817(0x1b3)]({'tag':_0x3a9817(0x189),'attributes':{'class':[_0x3a9817(0x1a9),this[_0x3a9817(0x1aa)]['if'](_0x3a9817(0x1a5),_0x3a9817(0x183))]},'children':[this[_0x3a9817(0x18d)],this[_0x3a9817(0x1a0)]]});}[_0x462e23(0x1b4)](){const _0x50a12e=_0x462e23;super[_0x50a12e(0x1b4)](),this[_0x50a12e(0x194)]();}[_0x462e23(0x186)](){const _0x3efa7d=_0x462e23;return this[_0x3efa7d(0x1a0)][_0x3efa7d(0x186)]()[_0x3efa7d(0x193)](()=>super[_0x3efa7d(0x186)]());}[_0x462e23(0x191)](_0x32138d){const _0x1fe801=_0x462e23;this[_0x1fe801(0x1a0)][_0x1fe801(0x191)](_0x32138d);}[_0x462e23(0x194)](){const _0x38eb7c=_0x462e23;this[_0x38eb7c(0x19b)](this[_0x38eb7c(0x18e)],_0x38eb7c(0x1ae),(_0x42e4ee,_0x5d3cf8)=>{const _0x5dec32=_0x38eb7c,{submitButtonView:_0x1bbdf8,cancelButtonView:_0x3cfc92,editor:_0x42672f}=this[_0x5dec32(0x1a0)];[_0x1bbdf8[_0x5dec32(0x18e)],_0x3cfc92[_0x5dec32(0x18e)],_0x42672f?_0x42672f[_0x5dec32(0x1b5)][_0x5dec32(0x184)][_0x5dec32(0x19c)]():null][_0x5dec32(0x1ab)](_0x243066=>_0x243066)[_0x5dec32(0x195)](_0x5157be=>_0x5157be[_0x5dec32(0x19e)](_0x5d3cf8[_0x5dec32(0x1b0)]))||(this[_0x5dec32(0x191)](),_0x5d3cf8[_0x5dec32(0x18b)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x530aef=_0xe7cf;(function(_0x1ce3f8,_0x314125){const _0x21bb1d=_0xe7cf,_0x2f693b=_0x1ce3f8();while(!![]){try{const _0x1eee98=parseInt(_0x21bb1d(0xd8))/0x1*(-parseInt(_0x21bb1d(0xcb))/0x2)+-parseInt(_0x21bb1d(0xe0))/0x3+parseInt(_0x21bb1d(0xb6))/0x4*(-parseInt(_0x21bb1d(0xe9))/0x5)+parseInt(_0x21bb1d(0xa3))/0x6*(-parseInt(_0x21bb1d(0xa1))/0x7)+-parseInt(_0x21bb1d(0xde))/0x8+parseInt(_0x21bb1d(0xa5))/0x9+parseInt(_0x21bb1d(0xeb))/0xa*(parseInt(_0x21bb1d(0xa8))/0xb);if(_0x1eee98===_0x314125)break;else _0x2f693b['push'](_0x2f693b['shift']());}catch(_0x58a269){_0x2f693b['push'](_0x2f693b['shift']());}}}(_0x2d93,0xcec07));function _0xe7cf(_0x72e93a,_0x475419){const _0x2d9370=_0x2d93();return _0xe7cf=function(_0xe7cf41,_0x492f53){_0xe7cf41=_0xe7cf41-0x97;let _0x388cbe=_0x2d9370[_0xe7cf41];return _0x388cbe;},_0xe7cf(_0x72e93a,_0x475419);}import{ConfirmMixin as _0x5a4e97,LateFocusButtonView as _0x1281a5}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x2fbb06}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x2e0e98}from'./basecommentthreadview.js';function _0x2d93(){const _0x25ded2=['10CJhRUJ','isUnlinked','isReadOnly','focusables','label','isVisible','removeConfirm','high','createCollection','icon','element','extendTemplate','isResolved','ariaDescriptionView','Write\x20a\x20comment...','_bindFirstCommentView','add','231giMakl','placeholder','78108mxGmOB','setTemplate','6597945prghlS','commentThreadChildren','then','35133637ANDJkR','div','length','cancelConfirm','Resolve','tooltip','remove','showConfirm','focus','Delete\x20comment\x20thread?','.ck-thread__container','ck-thread','unbind','resolveCommentThread','1520080UHeiAU','render','commentsListView','actionIndicator','ck-thread--','commentViews','change:archivedAt','ck-thread__container','ariaLabel','_cancelAllConfirms','isResolvable','execute','set','removeCommentThread','fire','getTemplate','_model','actionBar','bindTemplate','isConfirm','ck-reset_all-excluded','10lTRlyH','containerElement','locale','listenTo','has','commentThreadHeaderView','ck-thread--active','_boundFirstCommentView','isEnabled','archivedAt','ck-rounded-corners','commentThreadInputView','querySelector','47732oUYYGs','ck-thread--unlinked','listitem','removeButton','isSystemComment','resolveButton','8768520qHcPpX','isActive','1667574vHIAeC','change:isReadOnly','ck-thread--remove-confirmation','change:isActive','stop','_createResolveButton','_updateArchivedThreadHeader','get','bind','10qPhpFA','ck-comment--resolve'];_0x2d93=function(){return _0x25ded2;};return _0x2d93();}import{getTranslation as _0x3a768d}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5a4e97(_0x2e0e98){[_0x530aef(0xa6)];[_0x530aef(0xcc)];[_0x530aef(0xdd)];[_0x530aef(0xd2)];constructor(_0x162848,_0x357c40,_0x316b60,_0x3a89d2){const _0x470c6e=_0x530aef;super(_0x162848,_0x357c40,_0x316b60,_0x3a89d2),this[_0x470c6e(0xa6)]=this[_0x470c6e(0x98)]([this[_0x470c6e(0xb8)],this[_0x470c6e(0xd6)],this[_0x470c6e(0x9d)]]),this[_0x470c6e(0xc2)](_0x470c6e(0xb9),null),this[_0x470c6e(0xcc)]=null,this[_0x470c6e(0xd2)]=null,this[_0x470c6e(0xcd)]=_0x162848,this[_0x470c6e(0xdd)]=this[_0x470c6e(0xe5)](),this[_0x470c6e(0xa4)](this[_0x470c6e(0xc5)]()),this['on'](_0x470c6e(0xe3),(_0x21cddc,_0x2b92f8,_0x191b43)=>{const _0x1cdf53=_0x470c6e;_0x191b43||this[_0x1cdf53(0xbf)]();}),this[_0x470c6e(0xce)](this[_0x470c6e(0xc6)],_0x470c6e(0xe1),(_0x1ad9df,_0x44b8ed,_0x41076a)=>{const _0xe5a302=_0x470c6e;_0x41076a&&this[_0xe5a302(0xbf)]();}),this[_0x470c6e(0xaa)]>0x0&&this[_0x470c6e(0x9f)](),this[_0x470c6e(0xce)](this[_0x470c6e(0xb8)][_0x470c6e(0xbb)],_0x470c6e(0xa0),()=>{const _0x3676db=_0x470c6e;this[_0x3676db(0x9f)]();});}[_0x530aef(0xc5)](){const _0x4d2ceb=_0x530aef,_0x33996d=this[_0x4d2ceb(0xc8)];return{'tag':_0x4d2ceb(0xa9),'attributes':{'class':['ck',_0x4d2ceb(0xb3),_0x4d2ceb(0xca),_0x4d2ceb(0xd5),_0x33996d['if'](_0x4d2ceb(0xdf),_0x4d2ceb(0xd1)),_0x33996d['if'](_0x4d2ceb(0xec),_0x4d2ceb(0xd9)),_0x33996d['if'](_0x4d2ceb(0xc9),_0x4d2ceb(0xe2)),_0x33996d['to'](_0x4d2ceb(0xb9),_0x35bc7c=>_0x35bc7c?_0x4d2ceb(0xba)+_0x35bc7c:'')],'data-thread-id':this[_0x4d2ceb(0xc6)]['id'],'tabindex':0x0,'role':_0x4d2ceb(0xda),'aria-label':_0x33996d['to'](_0x4d2ceb(0xbe)),'aria-describedby':this[_0x4d2ceb(0x9d)]['id']},'children':[{'tag':_0x4d2ceb(0xa9),'attributes':{'class':_0x4d2ceb(0xbd)},'children':this[_0x4d2ceb(0xa6)]}]};}[_0x530aef(0xb7)](){const _0x4f0be4=_0x530aef;super[_0x4f0be4(0xb7)](),this[_0x4f0be4(0xcc)]=this[_0x4f0be4(0x9a)][_0x4f0be4(0xd7)](_0x4f0be4(0xb2)),this[_0x4f0be4(0xc6)]['on'](_0x4f0be4(0xbc),()=>{const _0x403af9=_0x4f0be4;this[_0x403af9(0xe6)]();}),this[_0x4f0be4(0xe6)]();}[_0x530aef(0xbf)](){const _0x3f2e0b=_0x530aef;this[_0x3f2e0b(0xab)]();for(const _0x4a4e04 of this[_0x3f2e0b(0xb8)][_0x3f2e0b(0xbb)])_0x4a4e04[_0x3f2e0b(0xab)]();}[_0x530aef(0x9f)](){const _0x73a4ca=_0x530aef,{locale:_0x520b9f}=this,_0x1e54f5=this[_0x73a4ca(0xb8)][_0x73a4ca(0xbb)][_0x73a4ca(0xe7)](0x0);_0x1e54f5===this[_0x73a4ca(0xd2)]||_0x1e54f5[_0x73a4ca(0xdc)]||(this[_0x73a4ca(0xd2)]=_0x1e54f5,this[_0x73a4ca(0xb4)](_0x73a4ca(0xb9)),this[_0x73a4ca(0xe8)](_0x73a4ca(0xb9))['to'](_0x1e54f5,_0x73a4ca(0xb9),_0x3dbd78=>_0x73a4ca(0xae)===_0x3dbd78?_0x73a4ca(0xae):null),_0x1e54f5[_0x73a4ca(0xa2)]=_0x3a768d(_0x520b9f,_0x73a4ca(0x9e)),_0x1e54f5[_0x73a4ca(0xdb)]['on'](_0x73a4ca(0xc1),_0x95602=>{const _0x33d67a=_0x73a4ca;_0x95602[_0x33d67a(0xe4)](),this[_0x33d67a(0xaf)](_0x3a768d(_0x520b9f,_0x33d67a(0xb1)),this[_0x33d67a(0xcc)])[_0x33d67a(0xa7)](()=>{const _0x141e9e=_0x33d67a;this[_0x141e9e(0xc4)](_0x141e9e(0xc3));});},{'priority':_0x73a4ca(0x97)}),this['on'](_0x73a4ca(0xf1),()=>{const _0x1da8d2=_0x73a4ca;_0x1e54f5[_0x1da8d2(0xb0)]();}),_0x1e54f5[_0x73a4ca(0xc7)][_0x73a4ca(0xa0)](this[_0x73a4ca(0xdd)],0x0),_0x1e54f5[_0x73a4ca(0xee)][_0x73a4ca(0xa0)](this[_0x73a4ca(0xdd)],0x0));}[_0x530aef(0xe5)](){const _0x5d6583=_0x530aef,_0x319a30=new _0x1281a5(this[_0x5d6583(0xcd)]);return _0x319a30[_0x5d6583(0xef)]=_0x3a768d(this[_0x5d6583(0xcd)],_0x5d6583(0xac)),_0x319a30[_0x5d6583(0xad)]=_0x3a768d(this[_0x5d6583(0xcd)],_0x5d6583(0xac)),_0x319a30[_0x5d6583(0x99)]=_0x2fbb06,_0x319a30[_0x5d6583(0x9b)]({'attributes':{'class':_0x5d6583(0xea)}}),_0x319a30[_0x5d6583(0xe8)](_0x5d6583(0xd3))['to'](this[_0x5d6583(0xc6)],_0x5d6583(0xed),_0x2ca980=>!_0x2ca980),_0x319a30[_0x5d6583(0xe8)](_0x5d6583(0xf0))['to'](this[_0x5d6583(0xc6)],_0x5d6583(0xc0),this[_0x5d6583(0xc6)],_0x5d6583(0x9c),(_0x456691,_0x237e89)=>_0x456691&&!_0x237e89),_0x319a30['on'](_0x5d6583(0xc1),()=>{const _0x2d6285=_0x5d6583;this[_0x2d6285(0xc4)](_0x2d6285(0xb5),this[_0x2d6285(0xc6)]['id']);}),_0x319a30;}[_0x530aef(0xe6)](){const _0x8b9dd0=_0x530aef;this[_0x8b9dd0(0xc6)][_0x8b9dd0(0xd4)]?this[_0x8b9dd0(0xa6)][_0x8b9dd0(0xcf)](this[_0x8b9dd0(0xd0)])||(this[_0x8b9dd0(0xa6)][_0x8b9dd0(0xa0)](this[_0x8b9dd0(0xd0)],0x0),this[_0x8b9dd0(0xee)][_0x8b9dd0(0xa0)](this[_0x8b9dd0(0xd0)],0x0)):this[_0x8b9dd0(0xa6)][_0x8b9dd0(0xcf)](this[_0x8b9dd0(0xd0)])&&(this[_0x8b9dd0(0xa6)][_0x8b9dd0(0xae)](this[_0x8b9dd0(0xd0)]),this[_0x8b9dd0(0xee)][_0x8b9dd0(0xae)](this[_0x8b9dd0(0xd0)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x8809(){const _0x1df98f=['length','change:isRemovable','ck-comment__external','editButton','addMany','Delete\x20comment?','focusables','ck-comment--','from','items','blur','setTemplate','cancelConfirm','3311127CsRCRf','14470786YCJCFP','some','_createEditButton','Reply...','ck-comment--remove','panelPosition','4537960FnGNVo','7hpuwRl','ariaDescriptionView','render','actionIndicator','_config','then','ck-annotation__content-wrapper','isEditable','1854ogvLXC','ck-comment__info-name','div','mouseenter','4584XGgvjp','_model','ck-hidden','icon','authoredAt','edit','getExternalCommentNote','Remove','listenTo','listitem','_createCommentInputView','resolvedAt','push','ck-comment--remove-confirmation','ck-annotation__user','panelView','_createRemoveButton','placeholder','ariaLabel','fire','ck-comment--info','span','author','withText','ck-annotation__info-time','ck-annotation__actions','removeComment','label','ck-comment__main','ck-comment__actions','ck-comment__info-time','263534UheeKg','ck-comment--edit','formatDateTime','bindTemplate','10dvARai','ck-annotation','find','remove','ck-annotation__info','set','add','focus','_createDropdown','ck-annotation__main','isSystemComment','isRemovable','getUserViewNotificationText','execute','showConfirm','userView','toMany','ck-comment__actions--hidden','isConfirm','unbind','dropdown','visibleView','Edit','mouseleave','extendTemplate','ck-comment__user','createCollection','getTemplate','1408938gboXdi','isEditMode','bind','ck-annotation__actions--hidden','time','isReadOnly','ck-comment','buttonView','ck-comment__wrapper','group','ck-annotation__info-name','element','removeButton','isVisible','locale','actionBar','name','937752PsTplB','_attachActions','ck-comment__info','isEnabled','switchToEditMode','isExternal','Show\x20more\x20items','children','2oHFXmS'];_0x8809=function(){return _0x1df98f;};return _0x8809();}const _0x5897e8=_0x23fb;(function(_0x263565,_0x268402){const _0x262c7f=_0x23fb,_0x3e040e=_0x263565();while(!![]){try{const _0x381105=-parseInt(_0x262c7f(0x110))/0x1*(-parseInt(_0x262c7f(0xcf))/0x2)+parseInt(_0x262c7f(0xed))/0x3*(parseInt(_0x262c7f(0xf1))/0x4)+parseInt(_0x262c7f(0xe4))/0x5+-parseInt(_0x262c7f(0xb6))/0x6+-parseInt(_0x262c7f(0xe5))/0x7*(parseInt(_0x262c7f(0xc7))/0x8)+-parseInt(_0x262c7f(0xdd))/0x9*(-parseInt(_0x262c7f(0x114))/0xa)+-parseInt(_0x262c7f(0xde))/0xb;if(_0x381105===_0x268402)break;else _0x3e040e['push'](_0x3e040e['shift']());}catch(_0x57348b){_0x3e040e['push'](_0x3e040e['shift']());}}}(_0x8809,0x8d869));import{IconRemoveComment as _0x2dbec1,IconPencil as _0x34a1f6,IconThreeVerticalDots as _0x33fde7}from'ckeditor5/src/icons.js';function _0x23fb(_0x28eb4d,_0x27f4da){const _0x880938=_0x8809();return _0x23fb=function(_0x23fbca,_0x197a46){_0x23fbca=_0x23fbca-0xaa;let _0x1e4d14=_0x880938[_0x23fbca];return _0x1e4d14;},_0x23fb(_0x28eb4d,_0x27f4da);}import{ButtonView as _0x11e8e7,createDropdown as _0x952629,ListView as _0x40c27e,ListItemView as _0x224af3,focusChildOnDropdownOpen as _0x5490be}from'ckeditor5/src/ui.js';import{UserView as _0x4c89a5,ConfirmMixin as _0x337185,LateFocusDropdownButtonView as _0x471e80}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x19800b}from'./basecommentview.js';import{getTranslation as _0x15b0c8}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x337185(_0x19800b){[_0x5897e8(0xc5)];[_0x5897e8(0x123)];constructor(_0x27579b,_0x4c07c0,_0xf5323d){const _0x38a45a=_0x5897e8;super(_0x27579b,_0x4c07c0,_0xf5323d),this[_0x38a45a(0x119)](_0x38a45a(0xe8),null),this[_0x38a45a(0x119)](_0x38a45a(0x102),_0x15b0c8(_0x27579b,_0x38a45a(0xe1))),this[_0x38a45a(0xb8)](_0x38a45a(0xf5))['to'](_0x4c07c0),this[_0x38a45a(0xb8)](_0x38a45a(0xfc))['to'](_0x4c07c0),this[_0x38a45a(0xc5)]=this[_0x38a45a(0xb4)](),this[_0x38a45a(0x11e)]||(this[_0x38a45a(0xd3)]=this[_0x38a45a(0xe0)](),this[_0x38a45a(0xc2)]=this[_0x38a45a(0x101)](),this[_0x38a45a(0xd9)]=this[_0x38a45a(0xb4)](),this[_0x38a45a(0xd9)][_0x38a45a(0xd4)]([this[_0x38a45a(0xd3)],this[_0x38a45a(0xc2)]]),this[_0x38a45a(0xae)]=this[_0x38a45a(0x11c)](),this[_0x38a45a(0xc5)][_0x38a45a(0x11a)](this[_0x38a45a(0xae)]),this[_0x38a45a(0xd6)][_0x38a45a(0x11a)](this[_0x38a45a(0xae)])),this[_0x38a45a(0x123)]=new _0x4c89a5(_0x27579b,_0x4c07c0[_0x38a45a(0x107)],this[_0x38a45a(0x120)]()),this[_0x38a45a(0x123)][_0x38a45a(0xb2)]({'attributes':{'class':[_0x38a45a(0xb3),_0x38a45a(0xff)],'aria-hidden':!0x0}}),this[_0x38a45a(0xf9)](_0x4c07c0,_0x38a45a(0xd1),()=>this[_0x38a45a(0xdc)]()),this[_0x38a45a(0xdb)](this[_0x38a45a(0xb5)]());}[_0x5897e8(0xb5)](){const _0x539295=_0x5897e8,_0x140901=this[_0x539295(0x113)],_0x1deaf9=[{'tag':_0x539295(0xef),'attributes':{'class':[_0x539295(0xc9),_0x539295(0x118)]},'children':[{'tag':_0x539295(0x106),'children':[{'text':this[_0x539295(0x123)][_0x539295(0xc6)]}],'attributes':{'class':[_0x539295(0xee),_0x539295(0xc0)],'data-cke-tooltip-text':this[_0x539295(0x123)][_0x539295(0xc6)]}},{'tag':_0x539295(0xba),'attributes':{'datetime':_0x140901['to'](_0x539295(0xf5)),'class':[_0x539295(0x10f),_0x539295(0x109)]},'children':[{'text':_0x140901['to'](_0x539295(0xf5),_0x1c5eb7=>this[_0x539295(0xe9)][_0x539295(0x112)](_0x1c5eb7))}]}]},{'tag':_0x539295(0xef),'attributes':{'class':[_0x539295(0x10e),_0x539295(0x10a),_0x140901['if'](_0x539295(0xb7),_0x539295(0xab)),_0x140901['if'](_0x539295(0xb7),_0x539295(0xb9))]},'children':this[_0x539295(0xc5)]},{'tag':_0x539295(0xef),'attributes':{'class':[_0x539295(0xeb)]},'children':this[_0x539295(0xaf)]},this[_0x539295(0xe6)]];return this[_0x539295(0xf2)][_0x539295(0xcc)]&&_0x1deaf9[_0x539295(0xfd)]({'tag':_0x539295(0xef),'attributes':{'class':[_0x539295(0xd2)]},'children':[{'text':this[_0x539295(0xf7)]()}]}),{'tag':'li','attributes':{'class':[_0x539295(0xbe),_0x140901['if'](_0x539295(0xac),_0x539295(0xfe))],'tabindex':-0x1,'aria-label':_0x140901['to'](_0x539295(0x103)),'aria-describedby':this[_0x539295(0xe6)]['id'],'role':_0x539295(0xfa)},'children':[{'tag':_0x539295(0xef),'attributes':{'class':[_0x539295(0xbc),_0x539295(0x115),_0x140901['if'](_0x539295(0xb7),_0x539295(0x111)),_0x140901['if'](_0x539295(0x11e),_0x539295(0x105)),_0x140901['to'](_0x539295(0xe8),_0x828557=>_0x828557?_0x539295(0xd7)+_0x828557:'')],'data-author-id':this[_0x539295(0xf2)][_0x539295(0x107)]['id'],'data-comment-id':this[_0x539295(0xf2)]['id'],'role':_0x539295(0xbf)},'children':[this[_0x539295(0x123)],{'tag':_0x539295(0xef),'attributes':{'class':[_0x539295(0x10d),_0x539295(0x11d)]},'children':_0x1deaf9}]}]};}[_0x5897e8(0xe0)](){const _0x5082f6=_0x5897e8,_0x413834=new _0x11e8e7(this[_0x5082f6(0xc4)]);return _0x413834[_0x5082f6(0x10c)]=_0x15b0c8(this[_0x5082f6(0xc4)],_0x5082f6(0xb0)),_0x413834[_0x5082f6(0xf4)]=_0x34a1f6,_0x413834[_0x5082f6(0x108)]=!0x0,_0x413834[_0x5082f6(0xb2)]({'attributes':{'class':_0x5082f6(0x111)}}),_0x413834[_0x5082f6(0xb8)](_0x5082f6(0xca))['to'](this[_0x5082f6(0xf2)],_0x5082f6(0xbb),_0x2d110e=>!_0x2d110e),_0x413834[_0x5082f6(0xb8)](_0x5082f6(0xc3))['to'](this[_0x5082f6(0xf2)],_0x5082f6(0xec)),_0x413834['on'](_0x5082f6(0x121),()=>this[_0x5082f6(0xcb)]()),_0x413834;}[_0x5897e8(0x101)](){const _0x44f0dc=_0x5897e8,_0x403e11=new _0x11e8e7(this[_0x44f0dc(0xc4)]);return _0x403e11[_0x44f0dc(0x10c)]=_0x15b0c8(this[_0x44f0dc(0xc4)],_0x44f0dc(0xf8)),_0x403e11[_0x44f0dc(0xf4)]=_0x2dbec1,_0x403e11[_0x44f0dc(0x108)]=!0x0,_0x403e11[_0x44f0dc(0xb2)]({'attributes':{'class':_0x44f0dc(0xe2)}}),_0x403e11[_0x44f0dc(0xb8)](_0x44f0dc(0xca))['to'](this[_0x44f0dc(0xf2)],_0x44f0dc(0xbb),_0x5b1806=>!_0x5b1806),_0x403e11[_0x44f0dc(0xb8)](_0x44f0dc(0xc3))['to'](this[_0x44f0dc(0xf2)],_0x44f0dc(0x11f)),_0x403e11['on'](_0x44f0dc(0x121),()=>{const _0x6bc84e=_0x44f0dc;this[_0x6bc84e(0x122)](_0x15b0c8(this[_0x6bc84e(0xc4)],_0x6bc84e(0xd5)),this[_0x6bc84e(0xc1)])[_0x6bc84e(0xea)](()=>{const _0x4642d0=_0x6bc84e;this[_0x4642d0(0x104)](_0x4642d0(0x10b),this[_0x4642d0(0xf2)]['id']);});}),_0x403e11;}[_0x5897e8(0x11c)](){const _0x56bc03=_0x5897e8,_0x5a6f76=_0x952629(this[_0x56bc03(0xc4)],_0x471e80),_0x24d5c3=_0x5a6f76[_0x56bc03(0x100)][_0x56bc03(0xce)],_0x5c0165=new _0x40c27e(this[_0x56bc03(0xc4)]),_0x1a7c40=_0x5a6f76[_0x56bc03(0x113)];_0x5490be(_0x5a6f76,()=>this[_0x56bc03(0xd9)][_0x56bc03(0x116)](_0x24d497=>_0x24d497[_0x56bc03(0xc3)])),_0x5a6f76[_0x56bc03(0xb2)]({'attributes':{'class':[_0x1a7c40['if'](_0x56bc03(0xc3),_0x56bc03(0xf3),_0x555976=>!_0x555976)]}});const _0x285224=(_0x2ae79e,_0x2079eb=-0x1)=>{const _0x534e7c=_0x56bc03,_0x4dd911=new _0x224af3(this[_0x534e7c(0xc4)]);_0x4dd911[_0x534e7c(0xce)][_0x534e7c(0x11a)](_0x2ae79e);const _0x23bf46=_0x2079eb>-0x1?_0x2079eb:_0x5c0165[_0x534e7c(0xd9)][_0x534e7c(0xd0)];_0x5c0165[_0x534e7c(0xd9)][_0x534e7c(0x11a)](_0x4dd911,_0x23bf46);const _0x4653fd=Array[_0x534e7c(0xd8)](this[_0x534e7c(0xd9)]);_0x5a6f76[_0x534e7c(0xad)](_0x534e7c(0xca),_0x534e7c(0xc3)),_0x5a6f76[_0x534e7c(0xb8)](_0x534e7c(0xca))[_0x534e7c(0xaa)](_0x4653fd,_0x534e7c(0xca),(..._0x462a0c)=>_0x462a0c[_0x534e7c(0xdf)](_0x5bbda9=>_0x5bbda9)),_0x5a6f76[_0x534e7c(0xb8)](_0x534e7c(0xc3))[_0x534e7c(0xaa)](_0x4653fd,_0x534e7c(0xc3),(..._0x44dc33)=>_0x44dc33[_0x534e7c(0xdf)](_0x12aaa1=>_0x12aaa1));};_0x5a6f76[_0x56bc03(0xe3)]='sw',_0x5a6f76[_0x56bc03(0xbd)][_0x56bc03(0x119)]({'label':_0x15b0c8(this[_0x56bc03(0xc4)],_0x56bc03(0xcd)),'icon':_0x33fde7});for(const _0x1210c9 of this[_0x56bc03(0xd9)])_0x285224(_0x1210c9);return _0x24d5c3[_0x56bc03(0x11a)](_0x5c0165),_0x5a6f76[_0x56bc03(0xf9)](this[_0x56bc03(0xd9)],_0x56bc03(0x11a),(_0x2b0136,_0x5ca823,_0x30f9fb)=>{_0x285224(_0x5ca823,_0x30f9fb);}),_0x5a6f76[_0x56bc03(0xf9)](this[_0x56bc03(0xd9)],_0x56bc03(0x117),(_0x20cc54,_0x54bef5,_0x2727fa)=>{const _0x44b659=_0x56bc03;_0x5c0165[_0x44b659(0xd9)][_0x44b659(0x117)](_0x2727fa);}),_0x5a6f76;}[_0x5897e8(0xc8)](_0x40db98,_0x24cbcc){const _0x403bbc=_0x5897e8,_0x594f6a=_0x40db98&&_0x40db98[_0x403bbc(0xc1)];_0x594f6a&&(this[_0x403bbc(0xf9)](_0x594f6a,_0x403bbc(0xf0),()=>this[_0x403bbc(0xe8)]=_0x24cbcc),this[_0x403bbc(0xf9)](_0x594f6a,_0x403bbc(0x11b),()=>this[_0x403bbc(0xe8)]=_0x24cbcc),this[_0x403bbc(0xf9)](_0x594f6a,_0x403bbc(0xb1),()=>this[_0x403bbc(0xe8)]=null),this[_0x403bbc(0xf9)](_0x594f6a,_0x403bbc(0xda),()=>this[_0x403bbc(0xe8)]=null));}[_0x5897e8(0xfb)](){const _0x501abb=_0x5897e8,_0x4058f3=super[_0x501abb(0xfb)]();return _0x4058f3[_0x501abb(0xb8)](_0x501abb(0x102))['to'](this),_0x4058f3;}[_0x5897e8(0xe7)](){const _0x552503=_0x5897e8;super[_0x552503(0xe7)](),this[_0x552503(0xc8)](this[_0x552503(0xd3)],_0x552503(0xf6)),this[_0x552503(0xc8)](this[_0x552503(0xc2)],_0x552503(0x117));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x163575=_0x210c;(function(_0x1b9c61,_0x43e95a){var _0x253c80=_0x210c,_0x24549f=_0x1b9c61();while(!![]){try{var _0x4bbd51=-parseInt(_0x253c80(0x157))/0x1*(parseInt(_0x253c80(0x150))/0x2)+parseInt(_0x253c80(0x158))/0x3+-parseInt(_0x253c80(0x155))/0x4+-parseInt(_0x253c80(0x151))/0x5*(-parseInt(_0x253c80(0x14f))/0x6)+-parseInt(_0x253c80(0x14b))/0x7+-parseInt(_0x253c80(0x14c))/0x8+-parseInt(_0x253c80(0x159))/0x9*(-parseInt(_0x253c80(0x156))/0xa);if(_0x4bbd51===_0x43e95a)break;else _0x24549f['push'](_0x24549f['shift']());}catch(_0x1d4dfa){_0x24549f['push'](_0x24549f['shift']());}}}(_0x22f4,0xaf1b7));import{Plugin as _0x58ed15}from'ckeditor5/src/core.js';import{CommentsRepository as _0x57bcb0}from'./comments/commentsrepository.js';import{CommentsEditing as _0x3325a1}from'./comments/commentsediting.js';import{CommentsUI as _0x2ede7f}from'./comments/commentsui.js';import{CommentsOnly as _0x17991a}from'./commentsonly.js';function _0x22f4(){var _0x20b069=['27323WrxMsn','322365avLumx','1222056apoROL','5164537jNzEYV','2418408NlDqMe','Comments','pluginName','30588sJzwJF','98LzNPds','1340NPyJlZ','isPremiumPlugin','isOfficialPlugin','requires','1114148HyZNxq','140KcwNLC'];_0x22f4=function(){return _0x20b069;};return _0x22f4();}import{WideSidebar as _0x291c3f}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x1b5c18}from'./annotations/narrowsidebar.js';function _0x210c(_0x30ac88,_0x11512c){var _0x22f4d5=_0x22f4();return _0x210c=function(_0x210c45,_0x3e9860){_0x210c45=_0x210c45-0x14b;var _0x24b7b7=_0x22f4d5[_0x210c45];return _0x24b7b7;},_0x210c(_0x30ac88,_0x11512c);}import{InlineAnnotations as _0x14d586}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x6594fd}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x375644}from'./comments/commentsarchive.js';export class Comments extends _0x58ed15{static get[_0x163575(0x154)](){return[_0x57bcb0,_0x3325a1,_0x2ede7f,_0x375644,_0x6594fd,_0x17991a,_0x291c3f,_0x1b5c18,_0x14d586];}static get[_0x163575(0x14e)](){var _0x438bed=_0x163575;return _0x438bed(0x14d);}static get[_0x163575(0x153)](){return!0x0;}static get[_0x163575(0x152)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3159b3=_0x3416;function _0xfa0c(){const _0x1fcc52=['_disableCommentsOnlyMode','stopListening','1351969vQGNPF','afterInit','isEnabled','has','highest','16uWyCkk','delete','addCommentThread','5360100qOHGBy','DragDrop','set','clipboardInput','clearForceDisabled','editSource','3415445JLFbAp','6yThZGd','1702791UinKbG','forceDisabled','4233625KVbtsP','config','stop','plugins','2lcsFwe','view','commentsOnly','cut','requires','get','pluginName','editing','160nMLFTA','3730776swiJks','isPremiumPlugin','editor','listenTo','CommentsOnly','isOfficialPlugin','commands','document','change:isEnabled','3056157LJvEyC','commentsOnlyMode','_enableCommentsOnlyMode','affectsData','SourceEditing'];_0xfa0c=function(){return _0x1fcc52;};return _0xfa0c();}(function(_0x980674,_0x4afa9f){const _0x5802a9=_0x3416,_0x470ce5=_0x980674();while(!![]){try{const _0x210335=-parseInt(_0x5802a9(0x1a7))/0x1*(parseInt(_0x5802a9(0x1bd))/0x2)+-parseInt(_0x5802a9(0x1b7))/0x3+-parseInt(_0x5802a9(0x1af))/0x4+parseInt(_0x5802a9(0x1b9))/0x5*(-parseInt(_0x5802a9(0x1b6))/0x6)+parseInt(_0x5802a9(0x197))/0x7+parseInt(_0x5802a9(0x1ac))/0x8*(-parseInt(_0x5802a9(0x1a0))/0x9)+parseInt(_0x5802a9(0x196))/0xa*(parseInt(_0x5802a9(0x1b5))/0xb);if(_0x210335===_0x4afa9f)break;else _0x470ce5['push'](_0x470ce5['shift']());}catch(_0xef07fa){_0x470ce5['push'](_0x470ce5['shift']());}}}(_0xfa0c,0xaeaa2));function _0x3416(_0xe712bb,_0x566e65){const _0xfa0c7d=_0xfa0c();return _0x3416=function(_0x34163b,_0x5f0ef5){_0x34163b=_0x34163b-0x192;let _0x36b808=_0xfa0c7d[_0x34163b];return _0x36b808;},_0x3416(_0xe712bb,_0x566e65);}import{Plugin as _0xc9aa27}from'ckeditor5/src/core.js';import{CommentsEditing as _0x4b6fc3}from'./comments/commentsediting.js';export class CommentsOnly extends _0xc9aa27{static get[_0x3159b3(0x194)](){const _0x5da716=_0x3159b3;return _0x5da716(0x19b);}static get[_0x3159b3(0x19c)](){return!0x0;}static get[_0x3159b3(0x198)](){return!0x0;}static get[_0x3159b3(0x192)](){return[_0x4b6fc3];}constructor(_0x59db14){const _0x1e8faa=_0x3159b3;super(_0x59db14),this[_0x1e8faa(0x1b1)](_0x1e8faa(0x1a9),!0x1),this['on'](_0x1e8faa(0x19f),(_0x78923c,_0x30165a,_0x4428b9)=>{const _0x19494b=_0x1e8faa;_0x4428b9?this[_0x19494b(0x1a2)]():this[_0x19494b(0x1a5)]();});}[_0x3159b3(0x1a8)](){const _0x4fe76c=_0x3159b3;!this[_0x4fe76c(0x1a9)]&&this[_0x4fe76c(0x199)][_0x4fe76c(0x1ba)][_0x4fe76c(0x193)](_0x4fe76c(0x1bf))&&(this[_0x4fe76c(0x1a9)]=!0x0);}[_0x3159b3(0x1a2)](){const _0x2590fa=_0x3159b3;for(const [_0x560838,_0xae2813]of this[_0x2590fa(0x199)][_0x2590fa(0x19d)])_0xae2813[_0x2590fa(0x1a3)]&&_0x2590fa(0x1ae)!==_0x560838&&_0xae2813[_0x2590fa(0x1b8)](_0x2590fa(0x1a1));(this[_0x2590fa(0x199)][_0x2590fa(0x1bc)][_0x2590fa(0x1aa)](_0x2590fa(0x1b0))&&this[_0x2590fa(0x199)][_0x2590fa(0x1bc)][_0x2590fa(0x193)](_0x2590fa(0x1b0))[_0x2590fa(0x1b8)](_0x2590fa(0x1a1)),this[_0x2590fa(0x199)][_0x2590fa(0x1bc)][_0x2590fa(0x1aa)](_0x2590fa(0x1a4)))&&this[_0x2590fa(0x199)][_0x2590fa(0x1bc)][_0x2590fa(0x193)](_0x2590fa(0x1a4))[_0x2590fa(0x1b8)](_0x2590fa(0x1a1));this[_0x2590fa(0x199)][_0x2590fa(0x19d)][_0x2590fa(0x193)](_0x2590fa(0x1b4))?.[_0x2590fa(0x1b8)](_0x2590fa(0x1a1));const _0x1f1d00=this[_0x2590fa(0x199)][_0x2590fa(0x195)][_0x2590fa(0x1be)][_0x2590fa(0x19e)];this[_0x2590fa(0x19a)](_0x1f1d00,_0x2590fa(0x1c0),_0x5c05e4=>_0x5c05e4[_0x2590fa(0x1bb)](),{'priority':_0x2590fa(0x1ab)}),this[_0x2590fa(0x19a)](_0x1f1d00,_0x2590fa(0x1b2),_0x387be1=>_0x387be1[_0x2590fa(0x1bb)](),{'priority':_0x2590fa(0x1ab)}),this[_0x2590fa(0x19a)](_0x1f1d00,_0x2590fa(0x1ad),_0x10875c=>_0x10875c[_0x2590fa(0x1bb)](),{'priority':_0x2590fa(0x1ab)});}[_0x3159b3(0x1a5)](){const _0x1f4518=_0x3159b3;for(const [_0x3b6b7b,_0x13179f]of this[_0x1f4518(0x199)][_0x1f4518(0x19d)])_0x13179f[_0x1f4518(0x1a3)]&&_0x1f4518(0x1ae)!==_0x3b6b7b&&_0x13179f[_0x1f4518(0x1b3)](_0x1f4518(0x1a1));this[_0x1f4518(0x199)][_0x1f4518(0x1bc)][_0x1f4518(0x1aa)](_0x1f4518(0x1a4))&&this[_0x1f4518(0x199)][_0x1f4518(0x1bc)][_0x1f4518(0x193)](_0x1f4518(0x1a4))[_0x1f4518(0x1b3)](_0x1f4518(0x1a1)),this[_0x1f4518(0x199)][_0x1f4518(0x19d)][_0x1f4518(0x193)](_0x1f4518(0x1b4))?.[_0x1f4518(0x1b3)](_0x1f4518(0x1a1)),this[_0x1f4518(0x1a6)](this[_0x1f4518(0x199)][_0x1f4518(0x195)][_0x1f4518(0x1be)][_0x1f4518(0x19e)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4d71a3,_0x1ecfc6){var _0x2cc251=_0x2c62,_0x31eb01=_0x4d71a3();while(!![]){try{var _0xcad1e8=-parseInt(_0x2cc251(0x16f))/0x1+-parseInt(_0x2cc251(0x16b))/0x2*(-parseInt(_0x2cc251(0x170))/0x3)+-parseInt(_0x2cc251(0x169))/0x4*(-parseInt(_0x2cc251(0x16d))/0x5)+-parseInt(_0x2cc251(0x16a))/0x6*(-parseInt(_0x2cc251(0x166))/0x7)+-parseInt(_0x2cc251(0x168))/0x8+-parseInt(_0x2cc251(0x16e))/0x9+-parseInt(_0x2cc251(0x167))/0xa*(-parseInt(_0x2cc251(0x16c))/0xb);if(_0xcad1e8===_0x1ecfc6)break;else _0x31eb01['push'](_0x31eb01['shift']());}catch(_0x3e9ccc){_0x31eb01['push'](_0x31eb01['shift']());}}}(_0x5429,0xdbac8));export{Comments}from'./comments.js';export{CommentsOnly}from'./commentsonly.js';function _0x2c62(_0x3860a9,_0x4e26c7){var _0x5429ef=_0x5429();return _0x2c62=function(_0x2c62cd,_0x3f80a9){_0x2c62cd=_0x2c62cd-0x166;var _0x27e094=_0x5429ef[_0x2c62cd];return _0x27e094;},_0x2c62(_0x3860a9,_0x4e26c7);}export{CommentsUI}from'./comments/commentsui.js';export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{Annotation}from'./annotations/annotation.js';export{Annotations}from'./annotations/annotations.js';export{AnnotationCollection,bindAnnotationCollections}from'./annotations/annotationcollection.js';export{AnnotationsUIs}from'./annotations/annotationsuis.js';export{EditorAnnotations}from'./annotations/editorannotations.js';export{InlineAnnotations}from'./annotations/inlineannotations.js';export{Sidebar}from'./annotations/sidebar.js';export{WideSidebar}from'./annotations/widesidebar.js';export{NarrowSidebar}from'./annotations/narrowsidebar.js';export{AnnotationView}from'./annotations/view/annotationview.js';function _0x5429(){var _0x302581=['15WpfRcw','9448902SXnKsq','1080850HPDzix','3nihJxK','3710tEGeDV','33950gsccZq','12640976zxCbwY','2105476sThPwL','7566oNYcUP','2927044ApUuAI','2915HqOnPo'];_0x5429=function(){return _0x302581;};return _0x5429();}export{AnnotationsSidebarItemView}from'./annotations/view/sidebaritemview.js';export{AnnotationsSidebarView}from'./annotations/view/sidebarview.js';export{BaseCommentView}from'./comments/ui/view/basecommentview.js';export{BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{CommentsListView}from'./comments/ui/view/commentslistview.js';export{CommentView}from'./comments/ui/view/commentview.js';export{CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{AddCommentThreadCommand}from'./comments/addcommentthreadcommand.js';export{CommentsArchive}from'./comments/commentsarchive.js';export{CommentsArchiveUI}from'./comments/commentsarchiveui.js';export{CommentsEditing}from'./comments/commentsediting.js';export{AnnotationCounterButtonView}from'./annotations/view/annotationcounterbuttonview.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x33dea6,_0x4979b9,_0x2a65e6){const t=_0x33dea6['t'];switch(_0x4979b9){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'},_0x2a65e6);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'},_0x2a65e6);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'},_0x2a65e6);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'},_0x2a65e6);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x2a65e6);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'},_0x2a65e6);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'},_0x2a65e6);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'},_0x2a65e6);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(_0x11da19,_0x1dfab3){const _0x5121a9=_0x3916,_0x89824e=_0x11da19();while(!![]){try{const _0x54e7f6=-parseInt(_0x5121a9(0x15a))/0x1+-parseInt(_0x5121a9(0x159))/0x2*(parseInt(_0x5121a9(0x15c))/0x3)+parseInt(_0x5121a9(0x14e))/0x4*(parseInt(_0x5121a9(0x156))/0x5)+-parseInt(_0x5121a9(0x152))/0x6*(-parseInt(_0x5121a9(0x14c))/0x7)+-parseInt(_0x5121a9(0x154))/0x8*(parseInt(_0x5121a9(0x14f))/0x9)+parseInt(_0x5121a9(0x153))/0xa+parseInt(_0x5121a9(0x150))/0xb*(parseInt(_0x5121a9(0x15d))/0xc);if(_0x54e7f6===_0x1dfab3)break;else _0x89824e['push'](_0x89824e['shift']());}catch(_0x1651a3){_0x89824e['push'](_0x89824e['shift']());}}}(_0xeac1,0x629d0));function _0xeac1(){const _0x35a456=['cancel','42IpakyM','12DUqGOT','type','attributes','class','1010387oVHqzG','childList','4mWsqcu','805338gIkheo','1778678wenGXs','attributeName','6NRYuRi','3076550jfGbkm','8OhNJAj','observe','3290795GCMndY','disconnect','characterData','40718ZVVYWb','493425ysNKgA'];_0xeac1=function(){return _0x35a456;};return _0xeac1();}import{throttle as _0x4f1c34}from'es-toolkit/compat';function _0x3916(_0x3d5c02,_0x825c29){const _0xeac18e=_0xeac1();return _0x3916=function(_0x39162b,_0x4ba613){_0x39162b=_0x39162b-0x14b;let _0x420983=_0xeac18e[_0x39162b];return _0x420983;},_0x3916(_0x3d5c02,_0x825c29);}export function createMutationObserver(_0x1cc7d5){const _0x49c1cd=_0x4f1c34(_0x1cc7d5,0x1e),_0x318e4f=new MutationObserver(_0xa80315=>{const _0x1efbad=_0x3916;for(const _0x1012bd of _0xa80315)(_0x1efbad(0x15f)==_0x1012bd[_0x1efbad(0x15e)]&&_0x1efbad(0x14b)==_0x1012bd[_0x1efbad(0x151)]||_0x1efbad(0x14d)==_0x1012bd[_0x1efbad(0x15e)]||_0x1efbad(0x158)==_0x1012bd[_0x1efbad(0x15e)])&&_0x49c1cd();});return{'attach'(_0x44a485){const _0x13520e=_0x3916;_0x318e4f[_0x13520e(0x155)](_0x44a485,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x515f3f=_0x3916;_0x318e4f[_0x515f3f(0x157)](),_0x49c1cd[_0x515f3f(0x15b)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2a81(){const _0x5a041e=['510582HcHmYv','1962664gvdXGk','6761ZCSjPM','1410270jUBOyB','7073496eccjgI','83838TccjnD','17478189bsHGmK','284alDnia','split','105wXgjYY'];_0x2a81=function(){return _0x5a041e;};return _0x2a81();}function _0x2cc1(_0x3b5d6d,_0x5da32e){const _0x2a8149=_0x2a81();return _0x2cc1=function(_0x2cc1d7,_0x103bf4){_0x2cc1d7=_0x2cc1d7-0xce;let _0x254ddb=_0x2a8149[_0x2cc1d7];return _0x254ddb;},_0x2cc1(_0x3b5d6d,_0x5da32e);}(function(_0x1184a9,_0x35301c){const _0x52a034=_0x2cc1,_0x2be90f=_0x1184a9();while(!![]){try{const _0x3e6209=parseInt(_0x52a034(0xd2))/0x1*(parseInt(_0x52a034(0xd7))/0x2)+parseInt(_0x52a034(0xd0))/0x3+parseInt(_0x52a034(0xd1))/0x4+-parseInt(_0x52a034(0xd3))/0x5+-parseInt(_0x52a034(0xd5))/0x6*(-parseInt(_0x52a034(0xcf))/0x7)+parseInt(_0x52a034(0xd4))/0x8+-parseInt(_0x52a034(0xd6))/0x9;if(_0x3e6209===_0x35301c)break;else _0x2be90f['push'](_0x2be90f['shift']());}catch(_0x31679a){_0x2be90f['push'](_0x2be90f['shift']());}}}(_0x2a81,0x77c85));export function splitMarkerName(_0x2156a4){const _0x740a7e=_0x2cc1,_0x51e92d=_0x2156a4[_0x740a7e(0xce)](':');return{'group':_0x51e92d[0x0],'id':_0x51e92d[0x1],'part':_0x51e92d[0x2]};}
|