@ckeditor/ckeditor5-comments 47.7.0-alpha.0 → 47.7.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +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 +19 -19
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x53b5(_0x37851b,_0x30808c){const _0x47c5b7=_0x47c5();return _0x53b5=function(_0x53b543,_0x272e9e){_0x53b543=_0x53b543-0x18e;let _0x3e54d1=_0x47c5b7[_0x53b543];return _0x3e54d1;},_0x53b5(_0x37851b,_0x30808c);}function _0x47c5(){const _0x26b63a=['maxThreadTotalWeight','Thread\x20comments','focusTracker','Marked\x20as\x20resolved','_findOptimalIndex','13082ZnBXMs','comments','bind','editorReady','target','_calculatePosition','change:isEditMode','remove','_updateHasDirtyComment','resolvedCommentView','createCollection','456824ILdgBM','focus','3924336QQuBFA','length','CommentView','_shouldCollapse','_handleInfoComment','authoredAt','isActive','ck-hidden','render','bindTemplate','removed','added','collapse','_handleRemoveCommentModel','_rearrangeCollapse','resolved','removeComment','count','_rearrangeExpand','delegate','1747529koZYcm','change:isResolved','focusFirst','editorConfig','weight','commentUpdated','delete','4139775ouzjTu','setTemplate','change:hasDirtyComment','get','resolvedAt','keystrokes','arrowup','reverse','equal','listenTo','_model','destroy','change','resolveCommentThread','892808BGuCXe','formatDateTime','hasDirtyComment','628SArvci','ck-thread__comments','refreshVisibleViews','insert','set','commentViews','map','change:isActive','arrowdown','maxCommentsWhenCollapsed','_setupKeyboardNavigation','some','18813mxfcUu','_collapsedCommentsView','viewUid','maxCommentCharsWhenCollapsed','expand','focusCycler','locale','updateComment','stopListening','add','_config','resolvedBy','visibleViews','element','editorDestroyed','isEditMode','focusLast','from','forEach','includes','_handleNewCommentModel'];_0x47c5=function(){return _0x26b63a;};return _0x47c5();}const _0x185e9f=_0x53b5;(function(_0x2cc0a2,_0x277bc2){const _0xc59c7b=_0x53b5,_0x294db4=_0x2cc0a2();while(!![]){try{const _0x969f75=-parseInt(_0xc59c7b(0x1b2))/0x1+parseInt(_0xc59c7b(0x1a7))/0x2+-parseInt(_0xc59c7b(0x1ec))/0x3*(-parseInt(_0xc59c7b(0x1e0))/0x4)+-parseInt(_0xc59c7b(0x1cf))/0x5+parseInt(_0xc59c7b(0x1b4))/0x6+parseInt(_0xc59c7b(0x1c8))/0x7+-parseInt(_0xc59c7b(0x1dd))/0x8;if(_0x969f75===_0x277bc2)break;else _0x294db4['push'](_0x294db4['shift']());}catch(_0x4693ff){_0x294db4['push'](_0x294db4['shift']());}}}(_0x47c5,0x79aeb));import{View as _0x4aa049,FocusCycler as _0x4f6a38}from'ckeditor5/src/ui.js';import{diff as _0x551389,Collection as _0x5ecfa7,FocusTracker as _0x4bc553,KeystrokeHandler as _0x2d74da}from'ckeditor5/src/utils.js';import{getTranslation as _0x5987d4}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0xf8a917}from'./collapsedcommentsview.js';export class CommentsListView extends _0x4aa049{[_0x185e9f(0x1e5)];[_0x185e9f(0x1b0)];[_0x185e9f(0x1a4)];[_0x185e9f(0x1d4)];[_0x185e9f(0x192)];[_0x185e9f(0x1d9)];[_0x185e9f(0x197)];[_0x185e9f(0x18e)];constructor(_0x375a76,_0x254040,_0x9d83d8){const _0x156459=_0x185e9f;super(_0x375a76);const _0x4af125=this[_0x156459(0x1bd)];this[_0x156459(0x1e4)](_0x156459(0x1df),!0x1),this[_0x156459(0x1e4)](_0x156459(0x1b5),_0x254040[_0x156459(0x1a8)][_0x156459(0x1b5)]),this[_0x156459(0x1e4)](_0x156459(0x1ba),!0x1),this[_0x156459(0x1d9)]=_0x254040,this[_0x156459(0x197)]=_0x9d83d8,this[_0x156459(0x1e5)]=this[_0x156459(0x1b1)](),this[_0x156459(0x199)]=this[_0x156459(0x1b1)](),this[_0x156459(0x1b0)]=null,this[_0x156459(0x1a4)]=new _0x4bc553(),this[_0x156459(0x1d4)]=new _0x2d74da(),this[_0x156459(0x192)]=new _0x4f6a38({'focusables':this[_0x156459(0x1e5)],'focusTracker':this[_0x156459(0x1a4)],'keystrokeHandler':this[_0x156459(0x1d4)],'keystrokeHandlerOptions':{'filter':_0x3c9f3e=>this[_0x156459(0x1e5)][_0x156459(0x1e6)](_0x343627=>_0x343627[_0x156459(0x19a)])[_0x156459(0x1a0)](_0x3c9f3e[_0x156459(0x1ab)])},'actions':{'focusPrevious':_0x156459(0x1d5),'focusNext':_0x156459(0x1e8)}}),this[_0x156459(0x18e)]=new _0xf8a917(_0x375a76),this[_0x156459(0x18e)][_0x156459(0x1a9)](_0x156459(0x1c5))['to'](this,_0x156459(0x1b5),_0x4ab294=>_0x4ab294-this[_0x156459(0x197)][_0x156459(0x1e9)]);for(const _0x4e3c34 of _0x254040[_0x156459(0x1a8)])this[_0x156459(0x1a1)](_0x4e3c34);this[_0x156459(0x1b8)](),this[_0x156459(0x1d8)](_0x254040[_0x156459(0x1a8)],_0x156459(0x196),(_0x3621b9,_0xf32cbd)=>{const _0xf28d16=_0x156459,_0x5bd4e5=this[_0xf28d16(0x1ac)](_0xf32cbd);this[_0xf28d16(0x1b5)]++,this[_0xf28d16(0x1a1)](_0xf32cbd,_0x5bd4e5),this[_0xf28d16(0x1e2)]();}),this[_0x156459(0x1d8)](_0x254040[_0x156459(0x1a8)],_0x156459(0x1ae),(_0x154429,_0x589287)=>{const _0x219fd1=_0x156459;this[_0x219fd1(0x1b5)]--,this[_0x219fd1(0x1c1)](_0x589287),this[_0x219fd1(0x1e2)]();}),this[_0x156459(0x1d8)](_0x254040,_0x156459(0x1cd),()=>this[_0x156459(0x1e2)]()),this[_0x156459(0x1d8)](_0x254040,_0x156459(0x1c9),()=>this[_0x156459(0x1b8)]()),this['on'](_0x156459(0x1e7),()=>this[_0x156459(0x1e2)]()),this['on'](_0x156459(0x1d1),()=>this[_0x156459(0x1e2)]()),this[_0x156459(0x1d0)]({'tag':'ul','attributes':{'class':[_0x156459(0x1e1),_0x4af125['if'](_0x156459(0x1b5),_0x156459(0x1bb),_0x42fc02=>!_0x42fc02)],'aria-label':_0x5987d4(_0x375a76,_0x156459(0x1a3))},'children':this[_0x156459(0x199)]});}get[_0x185e9f(0x1b7)](){const _0x4c928b=_0x185e9f;return this[_0x4c928b(0x1d9)][_0x4c928b(0x1cc)]>this[_0x4c928b(0x197)][_0x4c928b(0x1a2)]&&!this[_0x4c928b(0x1ba)]&&!this[_0x4c928b(0x1df)];}[_0x185e9f(0x1bc)](){const _0x299eed=_0x185e9f;super[_0x299eed(0x1bc)](),this[_0x299eed(0x1e2)](),this[_0x299eed(0x1ea)]();}[_0x185e9f(0x1b3)](_0x46bb49){const _0x2b26c5=_0x185e9f;-0x1===_0x46bb49?this[_0x2b26c5(0x192)][_0x2b26c5(0x19d)]():this[_0x2b26c5(0x192)][_0x2b26c5(0x1ca)]();}[_0x185e9f(0x1da)](){const _0x516671=_0x185e9f;this[_0x516671(0x18e)][_0x516671(0x1da)]();for(const _0x52cc87 of this[_0x516671(0x1e5)])_0x52cc87[_0x516671(0x1da)]();super[_0x516671(0x1da)]();}[_0x185e9f(0x1e2)](){const _0x71ff6d=_0x185e9f;this[_0x71ff6d(0x1b7)]?this[_0x71ff6d(0x1c2)]():this[_0x71ff6d(0x1c6)]();}[_0x185e9f(0x1a1)](_0x58ad70,_0x4efc0e){const _0x4f9f4f=_0x185e9f,_0xc84628=new this[(_0x4f9f4f(0x197))][(_0x4f9f4f(0x1b6))](this[_0x4f9f4f(0x193)],_0x58ad70,{'maxCommentCharsWhenCollapsed':this[_0x4f9f4f(0x197)][_0x4f9f4f(0x190)],'formatDateTime':this[_0x4f9f4f(0x197)][_0x4f9f4f(0x1de)],'editorConfig':this[_0x4f9f4f(0x197)][_0x4f9f4f(0x1cb)]});_0xc84628[_0x4f9f4f(0x18f)]=_0x58ad70['id'],_0xc84628[_0x4f9f4f(0x1c7)](_0x4f9f4f(0x1c4))['to'](this),_0xc84628[_0x4f9f4f(0x1c7)](_0x4f9f4f(0x194))['to'](this),_0xc84628[_0x4f9f4f(0x1c7)](_0x4f9f4f(0x1dc))['to'](this),_0xc84628[_0x4f9f4f(0x1c7)](_0x4f9f4f(0x1aa))['to'](this),_0xc84628[_0x4f9f4f(0x1c7)](_0x4f9f4f(0x19b))['to'](this),this[_0x4f9f4f(0x1d8)](_0xc84628,_0x4f9f4f(0x1ad),()=>this[_0x4f9f4f(0x1af)]()),this[_0x4f9f4f(0x1e5)][_0x4f9f4f(0x196)](_0xc84628,_0x4efc0e);}[_0x185e9f(0x1ac)](_0x326275){const _0x12a7a0=_0x185e9f,_0x2b50f3=this[_0x12a7a0(0x1d9)][_0x12a7a0(0x1a6)](_0x326275);return this[_0x12a7a0(0x1b0)]?this[_0x12a7a0(0x1b0)][_0x12a7a0(0x1b9)]>_0x326275[_0x12a7a0(0x1b9)]?_0x2b50f3-0x1:_0x2b50f3:_0x2b50f3-0x1;}[_0x185e9f(0x1b8)](){const _0x5b9eae=_0x185e9f;if(this[_0x5b9eae(0x1d9)][_0x5b9eae(0x198)]&&this[_0x5b9eae(0x1d9)][_0x5b9eae(0x1d3)]){const _0x3f11dc={'id':_0x5b9eae(0x1c3),'author':this[_0x5b9eae(0x1d9)][_0x5b9eae(0x198)],'authoredAt':this[_0x5b9eae(0x1d9)][_0x5b9eae(0x1d3)],'content':_0x5987d4(this[_0x5b9eae(0x193)],_0x5b9eae(0x1a5)),'attributes':{}};this[_0x5b9eae(0x1b0)]=new this[(_0x5b9eae(0x197))][(_0x5b9eae(0x1b6))](this[_0x5b9eae(0x193)],_0x3f11dc,{'maxCommentCharsWhenCollapsed':this[_0x5b9eae(0x197)][_0x5b9eae(0x190)],'formatDateTime':this[_0x5b9eae(0x197)][_0x5b9eae(0x1de)],'editorConfig':this[_0x5b9eae(0x197)][_0x5b9eae(0x1cb)],'isSystemComment':!0x0}),this[_0x5b9eae(0x1e5)][_0x5b9eae(0x196)](this[_0x5b9eae(0x1b0)],this[_0x5b9eae(0x1d9)][_0x5b9eae(0x1a6)](_0x3f11dc));}else this[_0x5b9eae(0x1b0)]&&(this[_0x5b9eae(0x1e5)][_0x5b9eae(0x1ae)](this[_0x5b9eae(0x1b0)]),this[_0x5b9eae(0x1b0)][_0x5b9eae(0x1da)](),this[_0x5b9eae(0x1b0)]=null);this[_0x5b9eae(0x1e2)]();}[_0x185e9f(0x1c1)](_0x1501e9){const _0x1fadf8=_0x185e9f,_0x4876d1=this[_0x1fadf8(0x1e5)][_0x1fadf8(0x1ae)](_0x1501e9['id']);this[_0x1fadf8(0x195)](_0x4876d1),_0x4876d1[_0x1fadf8(0x19c)]&&this[_0x1fadf8(0x1af)](),_0x4876d1[_0x1fadf8(0x1da)]();}[_0x185e9f(0x1af)](){const _0x3ca17f=_0x185e9f;this[_0x3ca17f(0x1df)]=Array[_0x3ca17f(0x19e)](this[_0x3ca17f(0x1e5)])[_0x3ca17f(0x1eb)](_0x2f04be=>_0x2f04be[_0x3ca17f(0x19c)]);}[_0x185e9f(0x1c2)](){const _0x21b81e=_0x185e9f,_0x4983d7=function(_0x3494ce){const _0x5b8819=_0x53b5,_0x37dd19=new _0x5ecfa7();for(const _0x1a202b of _0x3494ce)_0x37dd19[_0x5b8819(0x196)](_0x1a202b);return _0x37dd19;}(this[_0x21b81e(0x1e5)]),_0x1340c5=this[_0x21b81e(0x18e)][_0x21b81e(0x1c5)];for(let _0x4161d7=0x1;_0x4161d7<=_0x1340c5;_0x4161d7++)_0x4983d7[_0x21b81e(0x1ae)](0x1);for(const _0x4480de of _0x4983d7)_0x4480de[_0x21b81e(0x1c0)]();_0x1340c5>0x0&&_0x4983d7[_0x21b81e(0x196)](this[_0x21b81e(0x18e)],0x1),ns(_0x551389(Array[_0x21b81e(0x19e)](this[_0x21b81e(0x199)]),Array[_0x21b81e(0x19e)](_0x4983d7)),this[_0x21b81e(0x199)],_0x4983d7);}[_0x185e9f(0x1c6)](){const _0x1514b0=_0x185e9f;ns(_0x551389(Array[_0x1514b0(0x19e)](this[_0x1514b0(0x199)]),Array[_0x1514b0(0x19e)](this[_0x1514b0(0x1e5)])),this[_0x1514b0(0x199)],this[_0x1514b0(0x1e5)]);for(const _0x211c6a of this[_0x1514b0(0x199)])_0x211c6a[_0x1514b0(0x191)]();}[_0x185e9f(0x1ea)](){const _0x23c7d9=_0x185e9f;this[_0x23c7d9(0x1e5)][_0x23c7d9(0x19f)](_0x2034cb=>{const _0x472f71=_0x23c7d9;this[_0x472f71(0x1a4)][_0x472f71(0x196)](_0x2034cb[_0x472f71(0x19a)]),this[_0x472f71(0x1d4)][_0x472f71(0x1d8)](_0x2034cb[_0x472f71(0x19a)]);}),this[_0x23c7d9(0x1e5)]['on'](_0x23c7d9(0x1db),(_0xb8367b,_0x53f869)=>{const _0x1cc59f=_0x23c7d9;for(const _0x18dd76 of _0x53f869[_0x1cc59f(0x1be)])this[_0x1cc59f(0x1a4)][_0x1cc59f(0x1ae)](_0x18dd76[_0x1cc59f(0x19a)]),this[_0x1cc59f(0x1d4)][_0x1cc59f(0x195)](_0x18dd76[_0x1cc59f(0x19a)]);for(const _0x54be20 of Array[_0x1cc59f(0x19e)](_0x53f869[_0x1cc59f(0x1bf)])[_0x1cc59f(0x1d6)]())this[_0x1cc59f(0x1a4)][_0x1cc59f(0x196)](_0x54be20[_0x1cc59f(0x19a)]),this[_0x1cc59f(0x1d4)][_0x1cc59f(0x1d8)](_0x54be20[_0x1cc59f(0x19a)]);});}}function ns(_0x3d25c4,_0x8afbab,_0x26817d){const _0x4ca752=_0x185e9f;let _0x517773=0x0;for(const _0x17bbeb of _0x3d25c4)switch(_0x17bbeb){case _0x4ca752(0x1e3):_0x8afbab[_0x4ca752(0x196)](_0x26817d[_0x4ca752(0x1d2)](_0x517773),_0x517773),_0x517773++;break;case _0x4ca752(0x1ce):_0x8afbab[_0x4ca752(0x1ae)](_0x517773);break;case _0x4ca752(0x1d7):_0x517773++;}}
|
|
23
|
+
const _0x48c53a=_0x598b;function _0x191e(){const _0x43d3c6=['destroy','ck-thread__comments','1003395bLSBuC','_findOptimalIndex','focus','from','22aOJZWw','_calculatePosition','_rearrangeCollapse','set','removed','maxThreadTotalWeight','isActive','updateComment','hasDirtyComment','add','ck-hidden','listenTo','target','visibleViews','bindTemplate','locale','change:isActive','comments','commentUpdated','forEach','_shouldCollapse','setTemplate','insert','Marked\x20as\x20resolved','focusTracker','focusFirst','equal','resolvedBy','_updateHasDirtyComment','_rearrangeExpand','resolveCommentThread','24OhhDrL','remove','some','maxCommentsWhenCollapsed','change:isEditMode','count','element','1837423cbdCcU','commentViews','viewUid','added','change:isResolved','_collapsedCommentsView','isEditMode','weight','resolvedAt','refreshVisibleViews','_model','focusCycler','3078360bvIYZv','_handleNewCommentModel','createCollection','stopListening','change','CommentView','formatDateTime','change:hasDirtyComment','_config','editorConfig','delete','6QfHdLs','_setupKeyboardNavigation','7883210gphmrb','resolved','maxCommentCharsWhenCollapsed','_handleInfoComment','render','bind','expand','focusLast','authoredAt','arrowup','editorDestroyed','keystrokes','6190490hZWNVo','arrowdown','273yEBuyu','Thread\x20comments','23666eFldzH','removeComment','reverse','collapse','delegate','resolvedCommentView','_handleRemoveCommentModel','includes','editorReady','map','length','8457858gmLgAc','get'];_0x191e=function(){return _0x43d3c6;};return _0x191e();}(function(_0x20a21c,_0xddd33f){const _0x322550=_0x598b,_0x5cacdf=_0x20a21c();while(!![]){try{const _0x484289=-parseInt(_0x322550(0x1af))/0x1+-parseInt(_0x322550(0x1a0))/0x2*(-parseInt(_0x322550(0x19e))/0x3)+-parseInt(_0x322550(0x183))/0x4+-parseInt(_0x322550(0x19c))/0x5*(-parseInt(_0x322550(0x18e))/0x6)+parseInt(_0x322550(0x177))/0x7*(parseInt(_0x322550(0x170))/0x8)+parseInt(_0x322550(0x1ab))/0x9+-parseInt(_0x322550(0x190))/0xa*(parseInt(_0x322550(0x1b3))/0xb);if(_0x484289===_0xddd33f)break;else _0x5cacdf['push'](_0x5cacdf['shift']());}catch(_0x2d0025){_0x5cacdf['push'](_0x5cacdf['shift']());}}}(_0x191e,0xa9117));import{View as _0x140d12,FocusCycler as _0x59c289}from'ckeditor5/src/ui.js';import{diff as _0x15365a,Collection as _0x37b3f7,FocusTracker as _0x522021,KeystrokeHandler as _0x394bac}from'ckeditor5/src/utils.js';function _0x598b(_0x4e057e,_0x4954fb){const _0x191ef3=_0x191e();return _0x598b=function(_0x598b75,_0xa11f9f){_0x598b75=_0x598b75-0x155;let _0x270fff=_0x191ef3[_0x598b75];return _0x270fff;},_0x598b(_0x4e057e,_0x4954fb);}import{getTranslation as _0x3385e2}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x5e6aa4}from'./collapsedcommentsview.js';export class CommentsListView extends _0x140d12{[_0x48c53a(0x178)];[_0x48c53a(0x1a5)];[_0x48c53a(0x169)];[_0x48c53a(0x19b)];[_0x48c53a(0x182)];[_0x48c53a(0x181)];[_0x48c53a(0x18b)];[_0x48c53a(0x17c)];constructor(_0xf3bef7,_0x8da8aa,_0x1fa6dc){const _0x41911c=_0x48c53a;super(_0xf3bef7);const _0x4e1a66=this[_0x41911c(0x15f)];this[_0x41911c(0x1b6)](_0x41911c(0x159),!0x1),this[_0x41911c(0x1b6)](_0x41911c(0x1aa),_0x8da8aa[_0x41911c(0x162)][_0x41911c(0x1aa)]),this[_0x41911c(0x1b6)](_0x41911c(0x157),!0x1),this[_0x41911c(0x181)]=_0x8da8aa,this[_0x41911c(0x18b)]=_0x1fa6dc,this[_0x41911c(0x178)]=this[_0x41911c(0x185)](),this[_0x41911c(0x15e)]=this[_0x41911c(0x185)](),this[_0x41911c(0x1a5)]=null,this[_0x41911c(0x169)]=new _0x522021(),this[_0x41911c(0x19b)]=new _0x394bac(),this[_0x41911c(0x182)]=new _0x59c289({'focusables':this[_0x41911c(0x178)],'focusTracker':this[_0x41911c(0x169)],'keystrokeHandler':this[_0x41911c(0x19b)],'keystrokeHandlerOptions':{'filter':_0x30a3f4=>this[_0x41911c(0x178)][_0x41911c(0x1a9)](_0x1ac987=>_0x1ac987[_0x41911c(0x176)])[_0x41911c(0x1a7)](_0x30a3f4[_0x41911c(0x15d)])},'actions':{'focusPrevious':_0x41911c(0x199),'focusNext':_0x41911c(0x19d)}}),this[_0x41911c(0x17c)]=new _0x5e6aa4(_0xf3bef7),this[_0x41911c(0x17c)][_0x41911c(0x195)](_0x41911c(0x175))['to'](this,_0x41911c(0x1aa),_0x28ad32=>_0x28ad32-this[_0x41911c(0x18b)][_0x41911c(0x173)]);for(const _0x5e8eff of _0x8da8aa[_0x41911c(0x162)])this[_0x41911c(0x184)](_0x5e8eff);this[_0x41911c(0x193)](),this[_0x41911c(0x15c)](_0x8da8aa[_0x41911c(0x162)],_0x41911c(0x15a),(_0x457400,_0x1db3f4)=>{const _0x371a63=_0x41911c,_0xeeb999=this[_0x371a63(0x1b4)](_0x1db3f4);this[_0x371a63(0x1aa)]++,this[_0x371a63(0x184)](_0x1db3f4,_0xeeb999),this[_0x371a63(0x180)]();}),this[_0x41911c(0x15c)](_0x8da8aa[_0x41911c(0x162)],_0x41911c(0x171),(_0x1506d1,_0x139024)=>{const _0x57e813=_0x41911c;this[_0x57e813(0x1aa)]--,this[_0x57e813(0x1a6)](_0x139024),this[_0x57e813(0x180)]();}),this[_0x41911c(0x15c)](_0x8da8aa,_0x41911c(0x163),()=>this[_0x41911c(0x180)]()),this[_0x41911c(0x15c)](_0x8da8aa,_0x41911c(0x17b),()=>this[_0x41911c(0x193)]()),this['on'](_0x41911c(0x161),()=>this[_0x41911c(0x180)]()),this['on'](_0x41911c(0x18a),()=>this[_0x41911c(0x180)]()),this[_0x41911c(0x166)]({'tag':'ul','attributes':{'class':[_0x41911c(0x1ae),_0x4e1a66['if'](_0x41911c(0x1aa),_0x41911c(0x15b),_0x3ccc2e=>!_0x3ccc2e)],'aria-label':_0x3385e2(_0xf3bef7,_0x41911c(0x19f))},'children':this[_0x41911c(0x15e)]});}get[_0x48c53a(0x165)](){const _0xadc362=_0x48c53a;return this[_0xadc362(0x181)][_0xadc362(0x17e)]>this[_0xadc362(0x18b)][_0xadc362(0x156)]&&!this[_0xadc362(0x157)]&&!this[_0xadc362(0x159)];}[_0x48c53a(0x194)](){const _0xb40f6d=_0x48c53a;super[_0xb40f6d(0x194)](),this[_0xb40f6d(0x180)](),this[_0xb40f6d(0x18f)]();}[_0x48c53a(0x1b1)](_0x5a2467){const _0x211289=_0x48c53a;-0x1===_0x5a2467?this[_0x211289(0x182)][_0x211289(0x197)]():this[_0x211289(0x182)][_0x211289(0x16a)]();}[_0x48c53a(0x1ad)](){const _0x28f23a=_0x48c53a;this[_0x28f23a(0x17c)][_0x28f23a(0x1ad)]();for(const _0x11017e of this[_0x28f23a(0x178)])_0x11017e[_0x28f23a(0x1ad)]();super[_0x28f23a(0x1ad)]();}[_0x48c53a(0x180)](){const _0x26c389=_0x48c53a;this[_0x26c389(0x165)]?this[_0x26c389(0x1b5)]():this[_0x26c389(0x16e)]();}[_0x48c53a(0x184)](_0x13e070,_0x3e8676){const _0x363ef4=_0x48c53a,_0x549eb7=new this[(_0x363ef4(0x18b))][(_0x363ef4(0x188))](this[_0x363ef4(0x160)],_0x13e070,{'maxCommentCharsWhenCollapsed':this[_0x363ef4(0x18b)][_0x363ef4(0x192)],'formatDateTime':this[_0x363ef4(0x18b)][_0x363ef4(0x189)],'editorConfig':this[_0x363ef4(0x18b)][_0x363ef4(0x18c)]});_0x549eb7[_0x363ef4(0x179)]=_0x13e070['id'],_0x549eb7[_0x363ef4(0x1a4)](_0x363ef4(0x1a1))['to'](this),_0x549eb7[_0x363ef4(0x1a4)](_0x363ef4(0x158))['to'](this),_0x549eb7[_0x363ef4(0x1a4)](_0x363ef4(0x16f))['to'](this),_0x549eb7[_0x363ef4(0x1a4)](_0x363ef4(0x1a8))['to'](this),_0x549eb7[_0x363ef4(0x1a4)](_0x363ef4(0x19a))['to'](this),this[_0x363ef4(0x15c)](_0x549eb7,_0x363ef4(0x174),()=>this[_0x363ef4(0x16d)]()),this[_0x363ef4(0x178)][_0x363ef4(0x15a)](_0x549eb7,_0x3e8676);}[_0x48c53a(0x1b4)](_0x379872){const _0xdda21d=_0x48c53a,_0x2ace6e=this[_0xdda21d(0x181)][_0xdda21d(0x1b0)](_0x379872);return this[_0xdda21d(0x1a5)]?this[_0xdda21d(0x1a5)][_0xdda21d(0x198)]>_0x379872[_0xdda21d(0x198)]?_0x2ace6e-0x1:_0x2ace6e:_0x2ace6e-0x1;}[_0x48c53a(0x193)](){const _0x58929d=_0x48c53a;if(this[_0x58929d(0x181)][_0x58929d(0x16c)]&&this[_0x58929d(0x181)][_0x58929d(0x17f)]){const _0x4fd87e={'id':_0x58929d(0x191),'author':this[_0x58929d(0x181)][_0x58929d(0x16c)],'authoredAt':this[_0x58929d(0x181)][_0x58929d(0x17f)],'content':_0x3385e2(this[_0x58929d(0x160)],_0x58929d(0x168)),'attributes':{}};this[_0x58929d(0x1a5)]=new this[(_0x58929d(0x18b))][(_0x58929d(0x188))](this[_0x58929d(0x160)],_0x4fd87e,{'maxCommentCharsWhenCollapsed':this[_0x58929d(0x18b)][_0x58929d(0x192)],'formatDateTime':this[_0x58929d(0x18b)][_0x58929d(0x189)],'editorConfig':this[_0x58929d(0x18b)][_0x58929d(0x18c)],'isSystemComment':!0x0}),this[_0x58929d(0x178)][_0x58929d(0x15a)](this[_0x58929d(0x1a5)],this[_0x58929d(0x181)][_0x58929d(0x1b0)](_0x4fd87e));}else this[_0x58929d(0x1a5)]&&(this[_0x58929d(0x178)][_0x58929d(0x171)](this[_0x58929d(0x1a5)]),this[_0x58929d(0x1a5)][_0x58929d(0x1ad)](),this[_0x58929d(0x1a5)]=null);this[_0x58929d(0x180)]();}[_0x48c53a(0x1a6)](_0x4e5d0a){const _0x2738b1=_0x48c53a,_0x2e3c7f=this[_0x2738b1(0x178)][_0x2738b1(0x171)](_0x4e5d0a['id']);this[_0x2738b1(0x186)](_0x2e3c7f),_0x2e3c7f[_0x2738b1(0x17d)]&&this[_0x2738b1(0x16d)](),_0x2e3c7f[_0x2738b1(0x1ad)]();}[_0x48c53a(0x16d)](){const _0xbe63a9=_0x48c53a;this[_0xbe63a9(0x159)]=Array[_0xbe63a9(0x1b2)](this[_0xbe63a9(0x178)])[_0xbe63a9(0x172)](_0x59aa46=>_0x59aa46[_0xbe63a9(0x17d)]);}[_0x48c53a(0x1b5)](){const _0x5375bc=_0x48c53a,_0x3c3cf3=function(_0x4a0407){const _0x536334=_0x598b,_0x527379=new _0x37b3f7();for(const _0x5dbedd of _0x4a0407)_0x527379[_0x536334(0x15a)](_0x5dbedd);return _0x527379;}(this[_0x5375bc(0x178)]),_0x2cf23b=this[_0x5375bc(0x17c)][_0x5375bc(0x175)];for(let _0xd2e5b7=0x1;_0xd2e5b7<=_0x2cf23b;_0xd2e5b7++)_0x3c3cf3[_0x5375bc(0x171)](0x1);for(const _0x4c5ebb of _0x3c3cf3)_0x4c5ebb[_0x5375bc(0x1a3)]();_0x2cf23b>0x0&&_0x3c3cf3[_0x5375bc(0x15a)](this[_0x5375bc(0x17c)],0x1),ns(_0x15365a(Array[_0x5375bc(0x1b2)](this[_0x5375bc(0x15e)]),Array[_0x5375bc(0x1b2)](_0x3c3cf3)),this[_0x5375bc(0x15e)],_0x3c3cf3);}[_0x48c53a(0x16e)](){const _0x58d04d=_0x48c53a;ns(_0x15365a(Array[_0x58d04d(0x1b2)](this[_0x58d04d(0x15e)]),Array[_0x58d04d(0x1b2)](this[_0x58d04d(0x178)])),this[_0x58d04d(0x15e)],this[_0x58d04d(0x178)]);for(const _0x2ed670 of this[_0x58d04d(0x15e)])_0x2ed670[_0x58d04d(0x196)]();}[_0x48c53a(0x18f)](){const _0x39ea40=_0x48c53a;this[_0x39ea40(0x178)][_0x39ea40(0x164)](_0x43752e=>{const _0x40f7e3=_0x39ea40;this[_0x40f7e3(0x169)][_0x40f7e3(0x15a)](_0x43752e[_0x40f7e3(0x176)]),this[_0x40f7e3(0x19b)][_0x40f7e3(0x15c)](_0x43752e[_0x40f7e3(0x176)]);}),this[_0x39ea40(0x178)]['on'](_0x39ea40(0x187),(_0x1f335f,_0x3b233c)=>{const _0xa44e7b=_0x39ea40;for(const _0x4637e1 of _0x3b233c[_0xa44e7b(0x155)])this[_0xa44e7b(0x169)][_0xa44e7b(0x171)](_0x4637e1[_0xa44e7b(0x176)]),this[_0xa44e7b(0x19b)][_0xa44e7b(0x186)](_0x4637e1[_0xa44e7b(0x176)]);for(const _0x1bffa8 of Array[_0xa44e7b(0x1b2)](_0x3b233c[_0xa44e7b(0x17a)])[_0xa44e7b(0x1a2)]())this[_0xa44e7b(0x169)][_0xa44e7b(0x15a)](_0x1bffa8[_0xa44e7b(0x176)]),this[_0xa44e7b(0x19b)][_0xa44e7b(0x15c)](_0x1bffa8[_0xa44e7b(0x176)]);});}}function ns(_0x5728f4,_0x396b3f,_0x512ff1){const _0x3c5772=_0x48c53a;let _0x2706ed=0x0;for(const _0x59008f of _0x5728f4)switch(_0x59008f){case _0x3c5772(0x167):_0x396b3f[_0x3c5772(0x15a)](_0x512ff1[_0x3c5772(0x1ac)](_0x2706ed),_0x2706ed),_0x2706ed++;break;case _0x3c5772(0x18d):_0x396b3f[_0x3c5772(0x171)](_0x2706ed);break;case _0x3c5772(0x16b):_0x2706ed++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x362146=_0x2b0a;(function(_0x439b46,_0x1a7a83){const _0x67ae26=_0x2b0a,_0x4061a8=_0x439b46();while(!![]){try{const _0x2111a1=parseInt(_0x67ae26(0xc1))/0x1+parseInt(_0x67ae26(0xc6))/0x2+parseInt(_0x67ae26(0xbb))/0x3+-parseInt(_0x67ae26(0xc4))/0x4+parseInt(_0x67ae26(0xbd))/0x5+parseInt(_0x67ae26(0xbe))/0x6*(-parseInt(_0x67ae26(0xb8))/0x7)+-parseInt(_0x67ae26(0xbc))/0x8*(-parseInt(_0x67ae26(0xbf))/0x9);if(_0x2111a1===_0x1a7a83)break;else _0x4061a8['push'](_0x4061a8['shift']());}catch(_0x5417c0){_0x4061a8['push'](_0x4061a8['shift']());}}}(_0x1d82,0xaac15));function _0x1d82(){const _0x52fab2=['focus','1239726kepQlu','bindTemplate','contextValue','3707868KvcgMA','element','638230alRKjQ','set','ck-context__value','THREAD_CONTEXT_LABEL','176106iwOrUY','span','setTemplate','395610xYXmkS','8bZTutY','2890375qvvvAu','258mRWvyh','3954492wzQlSj'];_0x1d82=function(){return _0x52fab2;};return _0x1d82();}import{View as _0x4022b6}from'ckeditor5/src/ui.js';import{getTranslation as _0x510d5b}from'../../../utils/common-translations.js';function _0x2b0a(_0xab86f5,_0x298f53){const _0x1d8279=_0x1d82();return _0x2b0a=function(_0x2b0a5b,_0x3b9b83){_0x2b0a5b=_0x2b0a5b-0xb8;let _0x588b7f=_0x1d8279[_0x2b0a5b];return _0x588b7f;},_0x2b0a(_0xab86f5,_0x298f53);}export class CommentThreadHeaderContextView extends _0x4022b6{constructor(_0x35cfa4){const _0x3b1bcb=_0x2b0a;super(_0x35cfa4);const _0x5c1eed=this[_0x3b1bcb(0xc2)];this[_0x3b1bcb(0xc7)](_0x3b1bcb(0xc3),''),this[_0x3b1bcb(0xba)]({'tag':_0x3b1bcb(0xb9),'attributes':{'class':['ck',_0x3b1bcb(0xc8)],'aria-label':_0x5c1eed['to'](_0x3b1bcb(0xc3),_0x31db62=>_0x510d5b(_0x35cfa4,_0x3b1bcb(0xc9),_0x31db62)),'tabindex':-0x1},'children':[{'text':_0x5c1eed['to'](_0x3b1bcb(0xc3))}]});}[_0x362146(0xc0)](){const _0x1d9c8f=_0x362146;this[_0x1d9c8f(0xc5)][_0x1d9c8f(0xc0)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x6fcb2b=_0x4f77;(function(_0x4c338f,_0x140e8d){const _0xe12382=_0x4f77,_0x5a2da1=_0x4c338f();while(!![]){try{const _0x58e648=-parseInt(_0xe12382(0xbd))/0x1*(-parseInt(_0xe12382(0x8c))/0x2)+-parseInt(_0xe12382(0x88))/0x3*(parseInt(_0xe12382(0x95))/0x4)+-parseInt(_0xe12382(0xcf))/0x5+parseInt(_0xe12382(0xc3))/0x6*(-parseInt(_0xe12382(0xa6))/0x7)+-parseInt(_0xe12382(0x8b))/0x8+parseInt(_0xe12382(0x91))/0x9+parseInt(_0xe12382(0xbb))/0xa;if(_0x58e648===_0x140e8d)break;else _0x5a2da1['push'](_0x5a2da1['shift']());}catch(_0x430e4a){_0x5a2da1['push'](_0x5a2da1['shift']());}}}(_0xf989,0x95adc));import{View as _0x3f55b5,ButtonView as _0x41db6a,FocusCycler as _0x235770}from'ckeditor5/src/ui.js';import{FocusTracker as _0x7cb22e,KeystrokeHandler as _0x294a64}from'ckeditor5/src/utils.js';function _0x4f77(_0x42e59b,_0x422b73){const _0xf9895d=_0xf989();return _0x4f77=function(_0x4f7737,_0x3246b1){_0x4f7737=_0x4f7737-0x88;let _0x2f6795=_0xf9895d[_0x4f7737];return _0x2f6795;},_0x4f77(_0x42e59b,_0x422b73);}import{IconUndo as _0x27cf21}from'ckeditor5/src/icons.js';import{getTranslation as _0x53ee3a}from'../../../utils/common-translations.js';function _0xf989(){const _0x15588e=['tab','value','_model','focusTracker','5884848zkgnVX','tooltip','isEnabled','locale','4640084imIpsP','focus','ck-context--quotes','listenTo','...','scrollWidth','_trimContextValue','bindTemplate','focusCycler','isReadOnly','classList','label','Comment\x20was\x20made\x20on\x20an\x20element','_createReopenButton','focusables','querySelector','ck-thread__header','350rNXWVZ','_attachContextActions','reopenCommentThread','isResolvable','lastIndexOf','.ck-context__value','offsetWidth','mouseleave','createCollection','ck-context-wrapper','_setupKeyboardNavigation','add','hasContext','fire','_createContextView','execute','context','Reopen','contextValue','render','keystrokes','12028530IgUPma','mouseenter','867kXzeSE','ck-annotation__actions','div','isResolved','bind','isVisible','41838Qustzd','length','overlay','.ck-context','element','ck-context','setTemplate','focusFirst','substring','shift+tab','icon','reopenButtonView','514885fFBTAJ','3fVwkvE','remove','contextView','1377072FZfHkK','1246OwzLub'];_0xf989=function(){return _0x15588e;};return _0xf989();}import{CommentThreadHeaderContextView as _0x435c5d}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x3f55b5{[_0x6fcb2b(0x8f)];[_0x6fcb2b(0xce)];[_0x6fcb2b(0x8a)];[_0x6fcb2b(0xa3)];[_0x6fcb2b(0x90)];[_0x6fcb2b(0xba)];[_0x6fcb2b(0x9d)];constructor(_0x272bed,_0x2e2055){const _0x206936=_0x6fcb2b;super(_0x272bed);const _0x1a35b7=this[_0x206936(0x9c)];this[_0x206936(0x8f)]=_0x2e2055,this[_0x206936(0xce)]=this[_0x206936(0xa2)](),this[_0x206936(0x8a)]=this[_0x206936(0xb4)](),this[_0x206936(0xa3)]=this[_0x206936(0xae)]([this[_0x206936(0x8a)],this[_0x206936(0xce)]]),this[_0x206936(0x90)]=new _0x7cb22e(),this[_0x206936(0xba)]=new _0x294a64(),this[_0x206936(0x9d)]=new _0x235770({'focusables':this[_0x206936(0xa3)],'focusTracker':this[_0x206936(0x90)],'keystrokeHandler':this[_0x206936(0xba)],'actions':{'focusPrevious':_0x206936(0xcc),'focusNext':_0x206936(0x8d)}}),this[_0x206936(0xc1)](_0x206936(0xb2))['to'](this[_0x206936(0x8f)],_0x206936(0xb6),_0x2ec663=>!!_0x2ec663),this[_0x206936(0xc1)](_0x206936(0xb8))['to'](this[_0x206936(0x8f)],_0x206936(0xb6),_0x5c8ffc=>_0x5c8ffc&&_0x5c8ffc[_0x206936(0x8e)]?this[_0x206936(0x9b)](_0x5c8ffc[_0x206936(0x8e)]):_0x53ee3a(this[_0x206936(0x94)],_0x206936(0xa1))),this[_0x206936(0xc9)]({'tag':_0x206936(0xbf),'attributes':{'class':[_0x206936(0xa5)]},'children':[{'tag':_0x206936(0xbf),'attributes':{'class':[_0x206936(0xaf)]},'children':[{'tag':_0x206936(0xbf),'attributes':{'class':[_0x206936(0xc8),_0x1a35b7['if'](_0x206936(0xb2),_0x206936(0x97))]},'children':[this[_0x206936(0x8a)]]}]},{'tag':_0x206936(0xbf),'attributes':{'class':[_0x206936(0xbe)]},'children':[this[_0x206936(0xce)]]}]});}[_0x6fcb2b(0xb9)](){const _0x23402c=_0x6fcb2b;super[_0x23402c(0xb9)](),this[_0x23402c(0xa7)](),this[_0x23402c(0xb0)]();}[_0x6fcb2b(0x96)](){const _0x4fa64a=_0x6fcb2b;this[_0x4fa64a(0x9d)][_0x4fa64a(0xca)]();}[_0x6fcb2b(0xa2)](){const _0x152394=_0x6fcb2b,_0x2c581c=new _0x41db6a(this[_0x152394(0x94)]);return _0x2c581c[_0x152394(0xa0)]=_0x53ee3a(this[_0x152394(0x94)],_0x152394(0xb7)),_0x2c581c[_0x152394(0x92)]=_0x53ee3a(this[_0x152394(0x94)],_0x152394(0xb7)),_0x2c581c[_0x152394(0xcd)]=_0x27cf21,_0x2c581c[_0x152394(0xc1)](_0x152394(0x93))['to'](this[_0x152394(0x8f)],_0x152394(0x9e),_0x29596b=>!_0x29596b),_0x2c581c[_0x152394(0xc1)](_0x152394(0xc2))['to'](this[_0x152394(0x8f)],_0x152394(0xa9),this[_0x152394(0x8f)],_0x152394(0xc0),(_0x36c158,_0x5b8d24)=>_0x36c158&&_0x5b8d24),_0x2c581c['on'](_0x152394(0xb5),()=>{const _0x31841a=_0x152394;this[_0x31841a(0xb3)](_0x31841a(0xa8),this[_0x31841a(0x8f)]['id']);}),_0x2c581c;}[_0x6fcb2b(0x9b)](_0x28b8be){const _0xee8cd0=_0x6fcb2b;if(_0x28b8be[_0xee8cd0(0xc4)]<0x96)return _0x28b8be;const _0xfa205d=_0x28b8be[_0xee8cd0(0xaa)]('\x20',0x93);return _0x28b8be[_0xee8cd0(0xcb)](0x0,_0xfa205d>-0x1?_0xfa205d:0x93)+_0xee8cd0(0x99);}[_0x6fcb2b(0xa7)](){const _0x12c11f=_0x6fcb2b,_0x3efc7b=this[_0x12c11f(0xc7)][_0x12c11f(0xa4)](_0x12c11f(0xc6)),_0x36e801=_0x3efc7b[_0x12c11f(0xa4)](_0x12c11f(0xab));this[_0x12c11f(0x98)](_0x3efc7b,_0x12c11f(0xbc),()=>{const _0x1503d6=_0x12c11f;_0x36e801[_0x1503d6(0xac)]<_0x36e801[_0x1503d6(0x9a)]&&_0x3efc7b[_0x1503d6(0x9f)][_0x1503d6(0xb1)](_0x1503d6(0xc5));}),this[_0x12c11f(0x98)](_0x3efc7b,_0x12c11f(0xad),()=>{const _0x2caf2d=_0x12c11f;_0x3efc7b[_0x2caf2d(0x9f)][_0x2caf2d(0x89)](_0x2caf2d(0xc5));});}[_0x6fcb2b(0xb0)](){const _0x2ff6be=_0x6fcb2b;this[_0x2ff6be(0xba)][_0x2ff6be(0x98)](this[_0x2ff6be(0xc7)]);for(const _0x3537d5 of this[_0x2ff6be(0xa3)])this[_0x2ff6be(0x90)][_0x2ff6be(0xb1)](_0x3537d5[_0x2ff6be(0xc7)]),this[_0x2ff6be(0xba)][_0x2ff6be(0x98)](_0x3537d5[_0x2ff6be(0xc7)]);}[_0x6fcb2b(0xb4)](){const _0x3115df=_0x6fcb2b,_0x363c23=new _0x435c5d(this[_0x3115df(0x94)]);return _0x363c23[_0x3115df(0xc1)](_0x3115df(0xb8))['to'](this),_0x363c23;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x223d97=_0x4ac9;function _0x38de(){const _0x2c832f=['2095148gWyGtZ','editorReady','value','focus','50mmXWap','1068MObjNh','16618ZolDhy','ck-comment__input-container','focusTracker','div','destroy','_focusOnNonInteractiveMouseDown','change:showInput','1531395AmxUGX','mousedown','ck-thread__input','ck-thread__user','bindTemplate','listenTo','contains','editor','setTemplate','40PKULNF','1088448hFFmIJ','editing','12446MLsoeB','delegate','createEditor','view','some','render','commentInputView','showInput','preventDefault','element','extendTemplate','4934310IJBWqt','isFocused','then','userView','focusCycler','target','editorDestroyed','bind','getDomRoot','showButtons','filter','ck-comment__input-container--active','29170WAYyJW','set'];_0x38de=function(){return _0x2c832f;};return _0x38de();}function _0x4ac9(_0x2d91b3,_0x151562){const _0x38de14=_0x38de();return _0x4ac9=function(_0x4ac99c,_0x2243f3){_0x4ac99c=_0x4ac99c-0x71;let _0x3addd8=_0x38de14[_0x4ac99c];return _0x3addd8;},_0x4ac9(_0x2d91b3,_0x151562);}(function(_0x16a33e,_0x182d61){const _0x120f59=_0x4ac9,_0x292383=_0x16a33e();while(!![]){try{const _0x137ff4=-parseInt(_0x120f59(0x96))/0x1*(parseInt(_0x120f59(0x94))/0x2)+parseInt(_0x120f59(0x75))/0x3+parseInt(_0x120f59(0x90))/0x4+parseInt(_0x120f59(0x8e))/0x5+-parseInt(_0x120f59(0x95))/0x6*(-parseInt(_0x120f59(0x77))/0x7)+parseInt(_0x120f59(0x74))/0x8*(-parseInt(_0x120f59(0x9d))/0x9)+parseInt(_0x120f59(0x82))/0xa;if(_0x137ff4===_0x182d61)break;else _0x292383['push'](_0x292383['shift']());}catch(_0x343cd2){_0x292383['push'](_0x292383['shift']());}}}(_0x38de,0x6a79f));import{View as _0x1efd5c}from'ckeditor5/src/ui.js';import{CommentInputView as _0x4a1a9b}from'./commentinputview.js';import{UserView as _0x434cdb}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x1efd5c{constructor(_0x1b92e8,_0x5c20a2,_0xf5f108){const _0x337123=_0x4ac9;super(_0x1b92e8),this[_0x337123(0x7d)]=new _0x4a1a9b(_0x1b92e8,_0xf5f108),this[_0x337123(0x86)]=this[_0x337123(0x7d)][_0x337123(0x86)],this[_0x337123(0x7d)][_0x337123(0x89)](_0x337123(0x8b))['to'](this[_0x337123(0x7d)][_0x337123(0x98)],_0x337123(0x83),this[_0x337123(0x7d)],_0x337123(0x92),(_0x29a947,_0x53acd3)=>_0x29a947||!!_0x53acd3),this[_0x337123(0x8f)](_0x337123(0x7e),!0x1),this['on'](_0x337123(0x9c),()=>{const _0x5cacc0=_0x337123;this[_0x5cacc0(0x7e)]&&!this[_0x5cacc0(0x7d)][_0x5cacc0(0x72)]&&this[_0x5cacc0(0x7d)][_0x5cacc0(0x79)]();}),this[_0x337123(0x7d)][_0x337123(0x78)](_0x337123(0x91))['to'](this),this[_0x337123(0x7d)][_0x337123(0x78)](_0x337123(0x88))['to'](this),this[_0x337123(0x85)]=new _0x434cdb(_0x1b92e8,_0x5c20a2),this[_0x337123(0x85)][_0x337123(0x81)]({'attributes':{'class':_0x337123(0xa0),'aria-hidden':!0x0}}),this[_0x337123(0x7d)][_0x337123(0x81)]({'attributes':{'class':_0x337123(0x9f)}}),this[_0x337123(0x73)]({'tag':_0x337123(0x99),'attributes':{'class':[_0x337123(0x97),this[_0x337123(0xa1)]['if'](_0x337123(0x7e),_0x337123(0x8d))]},'children':[this[_0x337123(0x85)],this[_0x337123(0x7d)]]});}[_0x223d97(0x7c)](){const _0x4300a1=_0x223d97;super[_0x4300a1(0x7c)](),this[_0x4300a1(0x9b)]();}[_0x223d97(0x9a)](){const _0x40b530=_0x223d97;return this[_0x40b530(0x7d)][_0x40b530(0x9a)]()[_0x40b530(0x84)](()=>super[_0x40b530(0x9a)]());}[_0x223d97(0x93)](_0x2a1115){const _0x2ff272=_0x223d97;this[_0x2ff272(0x7d)][_0x2ff272(0x93)](_0x2a1115);}[_0x223d97(0x9b)](){const _0x3ad2b2=_0x223d97;this[_0x3ad2b2(0xa2)](this[_0x3ad2b2(0x80)],_0x3ad2b2(0x9e),(_0x51d6ca,_0x4935ee)=>{const _0x5b6b3a=_0x3ad2b2,{submitButtonView:_0x9ca0c6,cancelButtonView:_0x4ea16e,editor:_0x15b544}=this[_0x5b6b3a(0x7d)];[_0x9ca0c6[_0x5b6b3a(0x80)],_0x4ea16e[_0x5b6b3a(0x80)],_0x15b544?_0x15b544[_0x5b6b3a(0x76)][_0x5b6b3a(0x7a)][_0x5b6b3a(0x8a)]():null][_0x5b6b3a(0x8c)](_0x339498=>_0x339498)[_0x5b6b3a(0x7b)](_0x3a3c55=>_0x3a3c55[_0x5b6b3a(0x71)](_0x4935ee[_0x5b6b3a(0x87)]))||(this[_0x5b6b3a(0x93)](),_0x4935ee[_0x5b6b3a(0x7f)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x5d5b(_0xf54e6f,_0x5a3be1){const _0x1e8273=_0x1e82();return _0x5d5b=function(_0x5d5b2e,_0xf0757d){_0x5d5b2e=_0x5d5b2e-0x8c;let _0x5283bb=_0x1e8273[_0x5d5b2e];return _0x5283bb;},_0x5d5b(_0xf54e6f,_0x5a3be1);}const _0x1bf87c=_0x5d5b;function _0x1e82(){const _0x1f842f=['remove','stop','unbind','ariaLabel','3383086vfowNo','1103304dmoYIU','isEnabled','isVisible','_createResolveButton','commentThreadChildren','commentThreadInputView','ariaDescriptionView','element','4848084Yjhvfz','resolveCommentThread','1dMyymt','_updateArchivedThreadHeader','actionBar','Write\x20a\x20comment...','add','listenTo','listitem','removeButton','Delete\x20comment\x20thread?','899944rQVcyq','isResolved','showConfirm','_model','ck-thread--unlinked','icon','render','1261266TPqxJO','div','183008tXwKXd','bindTemplate','focusables','change:isActive','resolveButton','_cancelAllConfirms','5foOYhA','label','bind','commentThreadHeaderView','commentViews','ck-thread--','containerElement','isReadOnly','archivedAt','getTemplate','ck-comment--resolve','212097OvHvuZ','_boundFirstCommentView','ck-thread__container','ck-reset_all-excluded','execute','_bindFirstCommentView','actionIndicator','cancelConfirm','get','isActive','Resolve','isSystemComment','ck-thread--active','isUnlinked','change:archivedAt','querySelector','set','placeholder','commentsListView','ck-thread','length','focus','then','createCollection','removeCommentThread','tooltip','fire','ck-rounded-corners','setTemplate','extendTemplate','.ck-thread__container','isResolvable','change:isReadOnly','high','has','locale','removeConfirm'];_0x1e82=function(){return _0x1f842f;};return _0x1e82();}(function(_0x13a14f,_0x4ceef0){const _0x22fec4=_0x5d5b,_0x5063d0=_0x13a14f();while(!![]){try{const _0x5d32fd=parseInt(_0x22fec4(0xcc))/0x1*(parseInt(_0x22fec4(0xd5))/0x2)+-parseInt(_0x22fec4(0x98))/0x3+parseInt(_0x22fec4(0xde))/0x4+-parseInt(_0x22fec4(0x8d))/0x5*(parseInt(_0x22fec4(0xdc))/0x6)+parseInt(_0x22fec4(0xc1))/0x7+parseInt(_0x22fec4(0xc2))/0x8+-parseInt(_0x22fec4(0xca))/0x9;if(_0x5d32fd===_0x4ceef0)break;else _0x5063d0['push'](_0x5063d0['shift']());}catch(_0x24cace){_0x5063d0['push'](_0x5063d0['shift']());}}}(_0x1e82,0x48985));import{ConfirmMixin as _0x52536f,LateFocusButtonView as _0x3c7737}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x2c3578}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x16b5d1}from'./basecommentthreadview.js';import{getTranslation as _0x517f0f}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x52536f(_0x16b5d1){[_0x1bf87c(0xc6)];[_0x1bf87c(0x93)];[_0x1bf87c(0xe2)];[_0x1bf87c(0x99)];constructor(_0x5cf93c,_0x28396f,_0x47962e,_0xc4140d){const _0x3c6cc6=_0x1bf87c;super(_0x5cf93c,_0x28396f,_0x47962e,_0xc4140d),this[_0x3c6cc6(0xc6)]=this[_0x3c6cc6(0xaf)]([this[_0x3c6cc6(0xaa)],this[_0x3c6cc6(0xc7)],this[_0x3c6cc6(0xc8)]]),this[_0x3c6cc6(0xa8)](_0x3c6cc6(0x9e),null),this[_0x3c6cc6(0x93)]=null,this[_0x3c6cc6(0x99)]=null,this[_0x3c6cc6(0xbb)]=_0x5cf93c,this[_0x3c6cc6(0xe2)]=this[_0x3c6cc6(0xc5)](),this[_0x3c6cc6(0xb4)](this[_0x3c6cc6(0x96)]()),this['on'](_0x3c6cc6(0xe1),(_0x5d1f68,_0xb63d36,_0x25c3f3)=>{const _0x1b585e=_0x3c6cc6;_0x25c3f3||this[_0x1b585e(0x8c)]();}),this[_0x3c6cc6(0xd1)](this[_0x3c6cc6(0xd8)],_0x3c6cc6(0xb8),(_0x28df2f,_0x48f89c,_0x3cfa75)=>{const _0x258f71=_0x3c6cc6;_0x3cfa75&&this[_0x258f71(0x8c)]();}),this[_0x3c6cc6(0xac)]>0x0&&this[_0x3c6cc6(0x9d)](),this[_0x3c6cc6(0xd1)](this[_0x3c6cc6(0xaa)][_0x3c6cc6(0x91)],_0x3c6cc6(0xd0),()=>{const _0x4229f4=_0x3c6cc6;this[_0x4229f4(0x9d)]();});}[_0x1bf87c(0x96)](){const _0x277060=_0x1bf87c,_0x4f3b52=this[_0x277060(0xdf)];return{'tag':_0x277060(0xdd),'attributes':{'class':['ck',_0x277060(0xab),_0x277060(0x9b),_0x277060(0xb3),_0x4f3b52['if'](_0x277060(0xa1),_0x277060(0xa4)),_0x4f3b52['if'](_0x277060(0xa5),_0x277060(0xd9)),_0x4f3b52['to'](_0x277060(0x9e),_0x4e2dfe=>_0x4e2dfe?_0x277060(0x92)+_0x4e2dfe:'')],'data-thread-id':this[_0x277060(0xd8)]['id'],'tabindex':0x0,'role':_0x277060(0xd2),'aria-label':_0x4f3b52['to'](_0x277060(0xc0)),'aria-describedby':this[_0x277060(0xc8)]['id']},'children':[{'tag':_0x277060(0xdd),'attributes':{'class':_0x277060(0x9a)},'children':this[_0x277060(0xc6)]}]};}[_0x1bf87c(0xdb)](){const _0x2f5768=_0x1bf87c;super[_0x2f5768(0xdb)](),this[_0x2f5768(0x93)]=this[_0x2f5768(0xc9)][_0x2f5768(0xa7)](_0x2f5768(0xb6)),this[_0x2f5768(0xd8)]['on'](_0x2f5768(0xa6),()=>{const _0x1b9b6b=_0x2f5768;this[_0x1b9b6b(0xcd)]();}),this[_0x2f5768(0xcd)]();}[_0x1bf87c(0x8c)](){const _0x4af6b2=_0x1bf87c;this[_0x4af6b2(0x9f)]();for(const _0x5aabba of this[_0x4af6b2(0xaa)][_0x4af6b2(0x91)])_0x5aabba[_0x4af6b2(0x9f)]();}[_0x1bf87c(0x9d)](){const _0x436e5f=_0x1bf87c,{locale:_0x4364e8}=this,_0xee0f39=this[_0x436e5f(0xaa)][_0x436e5f(0x91)][_0x436e5f(0xa0)](0x0);_0xee0f39===this[_0x436e5f(0x99)]||_0xee0f39[_0x436e5f(0xa3)]||(this[_0x436e5f(0x99)]=_0xee0f39,this[_0x436e5f(0xbf)](_0x436e5f(0x9e)),this[_0x436e5f(0x8f)](_0x436e5f(0x9e))['to'](_0xee0f39,_0x436e5f(0x9e),_0x122bc6=>_0x436e5f(0xbd)===_0x122bc6?_0x436e5f(0xbd):null),_0xee0f39[_0x436e5f(0xa9)]=_0x517f0f(_0x4364e8,_0x436e5f(0xcf)),_0xee0f39[_0x436e5f(0xd3)]['on'](_0x436e5f(0x9c),_0x16b63b=>{const _0x55690f=_0x436e5f;_0x16b63b[_0x55690f(0xbe)](),this[_0x55690f(0xd7)](_0x517f0f(_0x4364e8,_0x55690f(0xd4)),this[_0x55690f(0x93)])[_0x55690f(0xae)](()=>{const _0x4ecffe=_0x55690f;this[_0x4ecffe(0xb2)](_0x4ecffe(0xb0));});},{'priority':_0x436e5f(0xb9)}),this['on'](_0x436e5f(0xbc),()=>{const _0x268cbd=_0x436e5f;_0xee0f39[_0x268cbd(0xad)]();}),_0xee0f39[_0x436e5f(0xce)][_0x436e5f(0xd0)](this[_0x436e5f(0xe2)],0x0),_0xee0f39[_0x436e5f(0xe0)][_0x436e5f(0xd0)](this[_0x436e5f(0xe2)],0x0));}[_0x1bf87c(0xc5)](){const _0x26f46f=_0x1bf87c,_0x22ee09=new _0x3c7737(this[_0x26f46f(0xbb)]);return _0x22ee09[_0x26f46f(0x8e)]=_0x517f0f(this[_0x26f46f(0xbb)],_0x26f46f(0xa2)),_0x22ee09[_0x26f46f(0xb1)]=_0x517f0f(this[_0x26f46f(0xbb)],_0x26f46f(0xa2)),_0x22ee09[_0x26f46f(0xda)]=_0x2c3578,_0x22ee09[_0x26f46f(0xb5)]({'attributes':{'class':_0x26f46f(0x97)}}),_0x22ee09[_0x26f46f(0x8f)](_0x26f46f(0xc3))['to'](this[_0x26f46f(0xd8)],_0x26f46f(0x94),_0x5c7712=>!_0x5c7712),_0x22ee09[_0x26f46f(0x8f)](_0x26f46f(0xc4))['to'](this[_0x26f46f(0xd8)],_0x26f46f(0xb7),this[_0x26f46f(0xd8)],_0x26f46f(0xd6),(_0x1905c5,_0x1245cd)=>_0x1905c5&&!_0x1245cd),_0x22ee09['on'](_0x26f46f(0x9c),()=>{const _0xf7ccb9=_0x26f46f;this[_0xf7ccb9(0xb2)](_0xf7ccb9(0xcb),this[_0xf7ccb9(0xd8)]['id']);}),_0x22ee09;}[_0x1bf87c(0xcd)](){const _0x4854e6=_0x1bf87c;this[_0x4854e6(0xd8)][_0x4854e6(0x95)]?this[_0x4854e6(0xc6)][_0x4854e6(0xba)](this[_0x4854e6(0x90)])||(this[_0x4854e6(0xc6)][_0x4854e6(0xd0)](this[_0x4854e6(0x90)],0x0),this[_0x4854e6(0xe0)][_0x4854e6(0xd0)](this[_0x4854e6(0x90)],0x0)):this[_0x4854e6(0xc6)][_0x4854e6(0xba)](this[_0x4854e6(0x90)])&&(this[_0x4854e6(0xc6)][_0x4854e6(0xbd)](this[_0x4854e6(0x90)]),this[_0x4854e6(0xe0)][_0x4854e6(0xbd)](this[_0x4854e6(0x90)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x171206=_0x27b8;(function(_0xc5ff41,_0x373e63){const _0x5a69c4=_0x27b8,_0xa07b0a=_0xc5ff41();while(!![]){try{const _0x2a85ac=parseInt(_0x5a69c4(0xe5))/0x1+parseInt(_0x5a69c4(0x108))/0x2*(parseInt(_0x5a69c4(0x102))/0x3)+parseInt(_0x5a69c4(0xdc))/0x4*(parseInt(_0x5a69c4(0x115))/0x5)+parseInt(_0x5a69c4(0x116))/0x6+parseInt(_0x5a69c4(0x10d))/0x7*(-parseInt(_0x5a69c4(0xe2))/0x8)+parseInt(_0x5a69c4(0xbd))/0x9+-parseInt(_0x5a69c4(0x12f))/0xa;if(_0x2a85ac===_0x373e63)break;else _0xa07b0a['push'](_0xa07b0a['shift']());}catch(_0xc0c1d9){_0xa07b0a['push'](_0xa07b0a['shift']());}}}(_0x4322,0xb03fc));function _0x27b8(_0x2424a0,_0x6a4088){const _0x4322a0=_0x4322();return _0x27b8=function(_0x27b8af,_0x599c63){_0x27b8af=_0x27b8af-0xbc;let _0x15588c=_0x4322a0[_0x27b8af];return _0x15588c;},_0x27b8(_0x2424a0,_0x6a4088);}import{IconRemoveComment as _0x4353e7,IconPencil as _0x56a82c,IconThreeVerticalDots as _0x48dd8c}from'ckeditor5/src/icons.js';import{ButtonView as _0x299be0,createDropdown as _0x419074,ListView as _0x4d6d58,ListItemView as _0x51ff36,focusChildOnDropdownOpen as _0x414685}from'ckeditor5/src/ui.js';import{UserView as _0x366787,ConfirmMixin as _0x3779fd,LateFocusDropdownButtonView as _0x50af45}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x2cff78}from'./basecommentview.js';function _0x4322(){const _0x52681d=['removeComment','isRemovable','authoredAt','ck-comment__main','createCollection','isEnabled','ck-comment__external','div','ck-comment--remove','ck-comment__wrapper','isReadOnly','ck-annotation__actions','ck-annotation__info','ck-comment__info-name','find','ck-comment--edit','ck-annotation__info-time','items','render','ariaLabel','then','Remove','ck-annotation__actions--hidden','16xacNCl','_createRemoveButton','listenTo','isVisible','isEditable','bind','32PvXDQD','change:isRemovable','removeButton','499089fnoCwG','ck-annotation__user','icon','resolvedAt','ck-comment__info','ck-annotation__content-wrapper','span','ck-comment','panelView','userView','locale','extendTemplate','length','buttonView','getTemplate','bindTemplate','ariaDescriptionView','mouseleave','author','ck-comment--info','ck-comment__actions--hidden','label','children','Reply...','set','panelPosition','execute','visibleView','ck-comment__actions','15iljojb','element','toMany','dropdown','actionIndicator','_createDropdown','403726vkoocm','ck-comment__info-time','_createCommentInputView','isExternal','showConfirm','600019MRSYfU','switchToEditMode','isSystemComment','formatDateTime','time','getUserViewNotificationText','ck-annotation','remove','444255IKyEll','8430222GWSfKn','edit','_attachActions','_model','editButton','fire','name','add','ck-comment__user','focus','isEditMode','ck-annotation__info-name','blur','listitem','unbind','_createEditButton','Edit','ck-comment--','addMany','ck-hidden','ck-annotation__main','Delete\x20comment?','setTemplate','group','withText','23487710HKyfGY','from','push','getExternalCommentNote','placeholder','1302390cDtXJT','some','cancelConfirm','actionBar','Show\x20more\x20items','mouseenter','_config','focusables'];_0x4322=function(){return _0x52681d;};return _0x4322();}import{getTranslation as _0x52f40a}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3779fd(_0x2cff78){[_0x171206(0xc0)];[_0x171206(0xee)];constructor(_0x28344f,_0x4a0cac,_0x4b257b){const _0x40f6d7=_0x171206;super(_0x28344f,_0x4a0cac,_0x4b257b),this[_0x40f6d7(0xfd)](_0x40f6d7(0x106),null),this[_0x40f6d7(0xfd)](_0x40f6d7(0xbc),_0x52f40a(_0x28344f,_0x40f6d7(0xfc))),this[_0x40f6d7(0xe1)](_0x40f6d7(0xc7))['to'](_0x4a0cac),this[_0x40f6d7(0xe1)](_0x40f6d7(0xe8))['to'](_0x4a0cac),this[_0x40f6d7(0xc0)]=this[_0x40f6d7(0xc9)](),this[_0x40f6d7(0x10f)]||(this[_0x40f6d7(0x11a)]=this[_0x40f6d7(0x125)](),this[_0x40f6d7(0xe4)]=this[_0x40f6d7(0xdd)](),this[_0x40f6d7(0xd6)]=this[_0x40f6d7(0xc9)](),this[_0x40f6d7(0xd6)][_0x40f6d7(0x128)]([this[_0x40f6d7(0x11a)],this[_0x40f6d7(0xe4)]]),this[_0x40f6d7(0x105)]=this[_0x40f6d7(0x107)](),this[_0x40f6d7(0xc0)][_0x40f6d7(0x11d)](this[_0x40f6d7(0x105)]),this[_0x40f6d7(0xc4)][_0x40f6d7(0x11d)](this[_0x40f6d7(0x105)])),this[_0x40f6d7(0xee)]=new _0x366787(_0x28344f,_0x4a0cac[_0x40f6d7(0xf7)],this[_0x40f6d7(0x112)]()),this[_0x40f6d7(0xee)][_0x40f6d7(0xf0)]({'attributes':{'class':[_0x40f6d7(0x11e),_0x40f6d7(0xe6)],'aria-hidden':!0x0}}),this[_0x40f6d7(0xde)](_0x4a0cac,_0x40f6d7(0xe3),()=>this[_0x40f6d7(0xbf)]()),this[_0x40f6d7(0x12c)](this[_0x40f6d7(0xf3)]());}[_0x171206(0xf3)](){const _0x4745d6=_0x171206,_0x232e80=this[_0x4745d6(0xf4)],_0x535795=[{'tag':_0x4745d6(0xcc),'attributes':{'class':[_0x4745d6(0xe9),_0x4745d6(0xd1)]},'children':[{'tag':_0x4745d6(0xeb),'children':[{'text':this[_0x4745d6(0xee)][_0x4745d6(0x11c)]}],'attributes':{'class':[_0x4745d6(0xd2),_0x4745d6(0x121)],'data-cke-tooltip-text':this[_0x4745d6(0xee)][_0x4745d6(0x11c)]}},{'tag':_0x4745d6(0x111),'attributes':{'datetime':_0x232e80['to'](_0x4745d6(0xc7)),'class':[_0x4745d6(0x109),_0x4745d6(0xd5)]},'children':[{'text':_0x232e80['to'](_0x4745d6(0xc7),_0x40574a=>this[_0x4745d6(0xc3)][_0x4745d6(0x110)](_0x40574a))}]}]},{'tag':_0x4745d6(0xcc),'attributes':{'class':[_0x4745d6(0x101),_0x4745d6(0xd0),_0x232e80['if'](_0x4745d6(0x120),_0x4745d6(0xf9)),_0x232e80['if'](_0x4745d6(0x120),_0x4745d6(0xdb))]},'children':this[_0x4745d6(0xc0)]},{'tag':_0x4745d6(0xcc),'attributes':{'class':[_0x4745d6(0xea)]},'children':this[_0x4745d6(0x100)]},this[_0x4745d6(0xf5)]];return this[_0x4745d6(0x119)][_0x4745d6(0x10b)]&&_0x535795[_0x4745d6(0x131)]({'tag':_0x4745d6(0xcc),'attributes':{'class':[_0x4745d6(0xcb)]},'children':[{'text':this[_0x4745d6(0x132)]()}]}),{'tag':'li','attributes':{'class':[_0x4745d6(0xce)],'tabindex':-0x1,'aria-label':_0x232e80['to'](_0x4745d6(0xd8)),'aria-describedby':this[_0x4745d6(0xf5)]['id'],'role':_0x4745d6(0x123)},'children':[{'tag':_0x4745d6(0xcc),'attributes':{'class':[_0x4745d6(0xec),_0x4745d6(0x113),_0x232e80['if'](_0x4745d6(0x120),_0x4745d6(0xd4)),_0x232e80['if'](_0x4745d6(0x10f),_0x4745d6(0xf8)),_0x232e80['to'](_0x4745d6(0x106),_0x2bb26a=>_0x2bb26a?_0x4745d6(0x127)+_0x2bb26a:'')],'data-author-id':this[_0x4745d6(0x119)][_0x4745d6(0xf7)]['id'],'data-comment-id':this[_0x4745d6(0x119)]['id'],'role':_0x4745d6(0x12d)},'children':[this[_0x4745d6(0xee)],{'tag':_0x4745d6(0xcc),'attributes':{'class':[_0x4745d6(0xc8),_0x4745d6(0x12a)]},'children':_0x535795}]}]};}[_0x171206(0x125)](){const _0x26bbc2=_0x171206,_0x2d6772=new _0x299be0(this[_0x26bbc2(0xef)]);return _0x2d6772[_0x26bbc2(0xfa)]=_0x52f40a(this[_0x26bbc2(0xef)],_0x26bbc2(0x126)),_0x2d6772[_0x26bbc2(0xe7)]=_0x56a82c,_0x2d6772[_0x26bbc2(0x12e)]=!0x0,_0x2d6772[_0x26bbc2(0xf0)]({'attributes':{'class':_0x26bbc2(0xd4)}}),_0x2d6772[_0x26bbc2(0xe1)](_0x26bbc2(0xca))['to'](this[_0x26bbc2(0x119)],_0x26bbc2(0xcf),_0x5d6947=>!_0x5d6947),_0x2d6772[_0x26bbc2(0xe1)](_0x26bbc2(0xdf))['to'](this[_0x26bbc2(0x119)],_0x26bbc2(0xe0)),_0x2d6772['on'](_0x26bbc2(0xff),()=>this[_0x26bbc2(0x10e)]()),_0x2d6772;}[_0x171206(0xdd)](){const _0x1fbaaf=_0x171206,_0x3a6860=new _0x299be0(this[_0x1fbaaf(0xef)]);return _0x3a6860[_0x1fbaaf(0xfa)]=_0x52f40a(this[_0x1fbaaf(0xef)],_0x1fbaaf(0xda)),_0x3a6860[_0x1fbaaf(0xe7)]=_0x4353e7,_0x3a6860[_0x1fbaaf(0x12e)]=!0x0,_0x3a6860[_0x1fbaaf(0xf0)]({'attributes':{'class':_0x1fbaaf(0xcd)}}),_0x3a6860[_0x1fbaaf(0xe1)](_0x1fbaaf(0xca))['to'](this[_0x1fbaaf(0x119)],_0x1fbaaf(0xcf),_0x302bea=>!_0x302bea),_0x3a6860[_0x1fbaaf(0xe1)](_0x1fbaaf(0xdf))['to'](this[_0x1fbaaf(0x119)],_0x1fbaaf(0xc6)),_0x3a6860['on'](_0x1fbaaf(0xff),()=>{const _0x6f478=_0x1fbaaf;this[_0x6f478(0x10c)](_0x52f40a(this[_0x6f478(0xef)],_0x6f478(0x12b)),this[_0x6f478(0x103)])[_0x6f478(0xd9)](()=>{const _0x38eb27=_0x6f478;this[_0x38eb27(0x11b)](_0x38eb27(0xc5),this[_0x38eb27(0x119)]['id']);});}),_0x3a6860;}[_0x171206(0x107)](){const _0x3543b0=_0x171206,_0xe6b9a8=_0x419074(this[_0x3543b0(0xef)],_0x50af45),_0xd19412=_0xe6b9a8[_0x3543b0(0xed)][_0x3543b0(0xfb)],_0x545a38=new _0x4d6d58(this[_0x3543b0(0xef)]),_0x193aac=_0xe6b9a8[_0x3543b0(0xf4)];_0x414685(_0xe6b9a8,()=>this[_0x3543b0(0xd6)][_0x3543b0(0xd3)](_0x3507f9=>_0x3507f9[_0x3543b0(0xdf)])),_0xe6b9a8[_0x3543b0(0xf0)]({'attributes':{'class':[_0x193aac['if'](_0x3543b0(0xdf),_0x3543b0(0x129),_0x3d4c3e=>!_0x3d4c3e)]}});const _0x39493d=(_0x5b656c,_0x2df9d7=-0x1)=>{const _0x2ce1c9=_0x3543b0,_0x75c1bf=new _0x51ff36(this[_0x2ce1c9(0xef)]);_0x75c1bf[_0x2ce1c9(0xfb)][_0x2ce1c9(0x11d)](_0x5b656c);const _0x205084=_0x2df9d7>-0x1?_0x2df9d7:_0x545a38[_0x2ce1c9(0xd6)][_0x2ce1c9(0xf1)];_0x545a38[_0x2ce1c9(0xd6)][_0x2ce1c9(0x11d)](_0x75c1bf,_0x205084);const _0x139ba7=Array[_0x2ce1c9(0x130)](this[_0x2ce1c9(0xd6)]);_0xe6b9a8[_0x2ce1c9(0x124)](_0x2ce1c9(0xca),_0x2ce1c9(0xdf)),_0xe6b9a8[_0x2ce1c9(0xe1)](_0x2ce1c9(0xca))[_0x2ce1c9(0x104)](_0x139ba7,_0x2ce1c9(0xca),(..._0x25d9aa)=>_0x25d9aa[_0x2ce1c9(0xbe)](_0x2b5203=>_0x2b5203)),_0xe6b9a8[_0x2ce1c9(0xe1)](_0x2ce1c9(0xdf))[_0x2ce1c9(0x104)](_0x139ba7,_0x2ce1c9(0xdf),(..._0x4c90b5)=>_0x4c90b5[_0x2ce1c9(0xbe)](_0x226154=>_0x226154));};_0xe6b9a8[_0x3543b0(0xfe)]='sw',_0xe6b9a8[_0x3543b0(0xf2)][_0x3543b0(0xfd)]({'label':_0x52f40a(this[_0x3543b0(0xef)],_0x3543b0(0xc1)),'icon':_0x48dd8c});for(const _0x1ba7ca of this[_0x3543b0(0xd6)])_0x39493d(_0x1ba7ca);return _0xd19412[_0x3543b0(0x11d)](_0x545a38),_0xe6b9a8[_0x3543b0(0xde)](this[_0x3543b0(0xd6)],_0x3543b0(0x11d),(_0x2943f3,_0x2aeede,_0x51723c)=>{_0x39493d(_0x2aeede,_0x51723c);}),_0xe6b9a8[_0x3543b0(0xde)](this[_0x3543b0(0xd6)],_0x3543b0(0x114),(_0x5a493d,_0xf97565,_0x4edeeb)=>{const _0x1b1c0c=_0x3543b0;_0x545a38[_0x1b1c0c(0xd6)][_0x1b1c0c(0x114)](_0x4edeeb);}),_0xe6b9a8;}[_0x171206(0x118)](_0x529f6e,_0x5c132f){const _0xc412e8=_0x171206,_0x208946=_0x529f6e&&_0x529f6e[_0xc412e8(0x103)];_0x208946&&(this[_0xc412e8(0xde)](_0x208946,_0xc412e8(0xc2),()=>this[_0xc412e8(0x106)]=_0x5c132f),this[_0xc412e8(0xde)](_0x208946,_0xc412e8(0x11f),()=>this[_0xc412e8(0x106)]=_0x5c132f),this[_0xc412e8(0xde)](_0x208946,_0xc412e8(0xf6),()=>this[_0xc412e8(0x106)]=null),this[_0xc412e8(0xde)](_0x208946,_0xc412e8(0x122),()=>this[_0xc412e8(0x106)]=null));}[_0x171206(0x10a)](){const _0x59ac0d=_0x171206,_0x89bb81=super[_0x59ac0d(0x10a)]();return _0x89bb81[_0x59ac0d(0xe1)](_0x59ac0d(0xbc))['to'](this),_0x89bb81;}[_0x171206(0xd7)](){const _0x1e9b75=_0x171206;super[_0x1e9b75(0xd7)](),this[_0x1e9b75(0x118)](this[_0x1e9b75(0x11a)],_0x1e9b75(0x117)),this[_0x1e9b75(0x118)](this[_0x1e9b75(0xe4)],_0x1e9b75(0x114));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1cd630=_0x4721;(function(_0x3cc8a8,_0x6c4cf5){var _0x112518=_0x4721,_0x4d9e70=_0x3cc8a8();while(!![]){try{var _0x5ce6f8=parseInt(_0x112518(0xe2))/0x1+-parseInt(_0x112518(0xd9))/0x2+-parseInt(_0x112518(0xe6))/0x3+parseInt(_0x112518(0xe5))/0x4*(parseInt(_0x112518(0xdc))/0x5)+parseInt(_0x112518(0xdd))/0x6*(-parseInt(_0x112518(0xe3))/0x7)+parseInt(_0x112518(0xda))/0x8+-parseInt(_0x112518(0xe4))/0x9;if(_0x5ce6f8===_0x6c4cf5)break;else _0x4d9e70['push'](_0x4d9e70['shift']());}catch(_0x4db976){_0x4d9e70['push'](_0x4d9e70['shift']());}}}(_0x35a9,0xcb1ce));import{Plugin as _0x5b8b2d}from'ckeditor5/src/core.js';import{CommentsRepository as _0x121c35}from'./comments/commentsrepository.js';import{CommentsEditing as _0x3353ae}from'./comments/commentsediting.js';import{CommentsUI as _0x65f1b1}from'./comments/commentsui.js';function _0x4721(_0x20976b,_0x3d6108){var _0x35a9ab=_0x35a9();return _0x4721=function(_0x4721fa,_0x48e3c1){_0x4721fa=_0x4721fa-0xd9;var _0x3d8ec5=_0x35a9ab[_0x4721fa];return _0x3d8ec5;},_0x4721(_0x20976b,_0x3d6108);}import{CommentsOnly as _0x10ef67}from'./commentsonly.js';import{WideSidebar as _0x176dc0}from'./annotations/widesidebar.js';function _0x35a9(){var _0x218061=['isOfficialPlugin','Comments','requires','858194cJszbE','14bmeDLe','515322QEfoPy','4btQUZj','1043496ACwcOq','1490734ltNcQD','6623408fzmvLV','pluginName','6213835rvNJNU','2839440TAaplv','isPremiumPlugin'];_0x35a9=function(){return _0x218061;};return _0x35a9();}import{NarrowSidebar as _0x103625}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x5bf0cc}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x385f8e}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x481675}from'./comments/commentsarchive.js';export class Comments extends _0x5b8b2d{static get[_0x1cd630(0xe1)](){return[_0x121c35,_0x3353ae,_0x65f1b1,_0x481675,_0x385f8e,_0x10ef67,_0x176dc0,_0x103625,_0x5bf0cc];}static get[_0x1cd630(0xdb)](){var _0x7637b3=_0x1cd630;return _0x7637b3(0xe0);}static get[_0x1cd630(0xdf)](){return!0x0;}static get[_0x1cd630(0xde)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xae7222=_0x1a1d;(function(_0x26719f,_0x55417f){const _0x1ade2f=_0x1a1d,_0x2f2101=_0x26719f();while(!![]){try{const _0x3463da=-parseInt(_0x1ade2f(0x14b))/0x1+parseInt(_0x1ade2f(0x13d))/0x2*(parseInt(_0x1ade2f(0x136))/0x3)+-parseInt(_0x1ade2f(0x135))/0x4*(-parseInt(_0x1ade2f(0x132))/0x5)+parseInt(_0x1ade2f(0x144))/0x6+parseInt(_0x1ade2f(0x128))/0x7*(-parseInt(_0x1ade2f(0x140))/0x8)+-parseInt(_0x1ade2f(0x123))/0x9+parseInt(_0x1ade2f(0x122))/0xa*(parseInt(_0x1ade2f(0x138))/0xb);if(_0x3463da===_0x55417f)break;else _0x2f2101['push'](_0x2f2101['shift']());}catch(_0x39326e){_0x2f2101['push'](_0x2f2101['shift']());}}}(_0x400f,0x18a98));import{Plugin as _0x1a4755}from'ckeditor5/src/core.js';function _0x1a1d(_0x20e0b8,_0x33c004){const _0x400f26=_0x400f();return _0x1a1d=function(_0x1a1d56,_0x4bc913){_0x1a1d56=_0x1a1d56-0x121;let _0x5daae3=_0x400f26[_0x1a1d56];return _0x5daae3;},_0x1a1d(_0x20e0b8,_0x33c004);}import{CommentsEditing as _0x217b20}from'./comments/commentsediting.js';function _0x400f(){const _0x1dea17=['highest','stop','_disableCommentsOnlyMode','68977WYuJKu','commands','isOfficialPlugin','view','editSource','has','cut','34990WvfqEa','180585oNjfDs','pluginName','commentsOnly','requires','editor','168ubgdoI','afterInit','clipboardInput','isEnabled','set','clearForceDisabled','config','editing','forceDisabled','listenTo','20VfjvCy','stopListening','CommentsOnly','12116psQnra','219ZqwHNT','commentsOnlyMode','451QnUffj','DragDrop','affectsData','change:isEnabled','_enableCommentsOnlyMode','1002yHKVwQ','isPremiumPlugin','document','24000dVdfPx','get','plugins','delete','419460OBoVlY','SourceEditing','RevisionTracker','addCommentThread'];_0x400f=function(){return _0x1dea17;};return _0x400f();}export class CommentsOnly extends _0x1a4755{static get[_0xae7222(0x124)](){const _0x13be92=_0xae7222;return _0x13be92(0x134);}static get[_0xae7222(0x14d)](){return!0x0;}static get[_0xae7222(0x13e)](){return!0x0;}static get[_0xae7222(0x126)](){return[_0x217b20];}constructor(_0x3fd250){const _0x3ecc18=_0xae7222;super(_0x3fd250),this[_0x3ecc18(0x12c)](_0x3ecc18(0x12b),!0x1),this['on'](_0x3ecc18(0x13b),(_0x2ed9f3,_0x3e6fcc,_0x3602f1)=>{const _0xd5e79c=_0x3ecc18;_0x3602f1?this[_0xd5e79c(0x13c)]():this[_0xd5e79c(0x14a)]();});}[_0xae7222(0x129)](){const _0x4c5407=_0xae7222;!this[_0x4c5407(0x12b)]&&this[_0x4c5407(0x127)][_0x4c5407(0x12e)][_0x4c5407(0x141)](_0x4c5407(0x125))&&(this[_0x4c5407(0x12b)]=!0x0);}[_0xae7222(0x13c)](){const _0x5148cb=_0xae7222;for(const [_0x1e0bea,_0x262e56]of this[_0x5148cb(0x127)][_0x5148cb(0x14c)])_0x262e56[_0x5148cb(0x13a)]&&_0x5148cb(0x147)!==_0x1e0bea&&_0x262e56[_0x5148cb(0x130)](_0x5148cb(0x137));(this[_0x5148cb(0x127)][_0x5148cb(0x142)][_0x5148cb(0x150)](_0x5148cb(0x139))&&this[_0x5148cb(0x127)][_0x5148cb(0x142)][_0x5148cb(0x141)](_0x5148cb(0x139))[_0x5148cb(0x130)](_0x5148cb(0x137)),this[_0x5148cb(0x127)][_0x5148cb(0x142)][_0x5148cb(0x150)](_0x5148cb(0x146)))&&this[_0x5148cb(0x127)][_0x5148cb(0x142)][_0x5148cb(0x141)](_0x5148cb(0x146))[_0x5148cb(0x130)](_0x5148cb(0x137));this[_0x5148cb(0x127)][_0x5148cb(0x142)][_0x5148cb(0x150)](_0x5148cb(0x145))&&this[_0x5148cb(0x127)][_0x5148cb(0x142)][_0x5148cb(0x141)](_0x5148cb(0x145))[_0x5148cb(0x130)](_0x5148cb(0x137));this[_0x5148cb(0x127)][_0x5148cb(0x14c)][_0x5148cb(0x141)](_0x5148cb(0x14f))?.[_0x5148cb(0x130)](_0x5148cb(0x137));const _0x207c89=this[_0x5148cb(0x127)][_0x5148cb(0x12f)][_0x5148cb(0x14e)][_0x5148cb(0x13f)];this[_0x5148cb(0x131)](_0x207c89,_0x5148cb(0x121),_0x12b529=>_0x12b529[_0x5148cb(0x149)](),{'priority':_0x5148cb(0x148)}),this[_0x5148cb(0x131)](_0x207c89,_0x5148cb(0x12a),_0x293d52=>_0x293d52[_0x5148cb(0x149)](),{'priority':_0x5148cb(0x148)}),this[_0x5148cb(0x131)](_0x207c89,_0x5148cb(0x143),_0x3faa01=>_0x3faa01[_0x5148cb(0x149)](),{'priority':_0x5148cb(0x148)});}[_0xae7222(0x14a)](){const _0x270c72=_0xae7222;for(const [_0x158876,_0x569b16]of this[_0x270c72(0x127)][_0x270c72(0x14c)])_0x569b16[_0x270c72(0x13a)]&&_0x270c72(0x147)!==_0x158876&&_0x569b16[_0x270c72(0x12d)](_0x270c72(0x137));this[_0x270c72(0x127)][_0x270c72(0x142)][_0x270c72(0x150)](_0x270c72(0x146))&&this[_0x270c72(0x127)][_0x270c72(0x142)][_0x270c72(0x141)](_0x270c72(0x146))[_0x270c72(0x12d)](_0x270c72(0x137)),this[_0x270c72(0x127)][_0x270c72(0x142)][_0x270c72(0x150)](_0x270c72(0x145))&&this[_0x270c72(0x127)][_0x270c72(0x142)][_0x270c72(0x141)](_0x270c72(0x145))[_0x270c72(0x12d)](_0x270c72(0x137)),this[_0x270c72(0x127)][_0x270c72(0x14c)][_0x270c72(0x141)](_0x270c72(0x14f))?.[_0x270c72(0x12d)](_0x270c72(0x137)),this[_0x270c72(0x133)](this[_0x270c72(0x127)][_0x270c72(0x12f)][_0x270c72(0x14e)][_0x270c72(0x13f)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5d7d79,_0x393c9d){var _0x31c544=_0x48d3,_0x34184f=_0x5d7d79();while(!![]){try{var _0x695bed=-parseInt(_0x31c544(0x123))/0x1+parseInt(_0x31c544(0x11b))/0x2*(parseInt(_0x31c544(0x11d))/0x3)+parseInt(_0x31c544(0x120))/0x4+parseInt(_0x31c544(0x11e))/0x5+-parseInt(_0x31c544(0x122))/0x6+parseInt(_0x31c544(0x11f))/0x7+parseInt(_0x31c544(0x11c))/0x8*(-parseInt(_0x31c544(0x121))/0x9);if(_0x695bed===_0x393c9d)break;else _0x34184f['push'](_0x34184f['shift']());}catch(_0x497b56){_0x34184f['push'](_0x34184f['shift']());}}}(_0x4789,0x1fdbf));export{Comments}from'./comments.js';export{CommentsOnly}from'./commentsonly.js';export{CommentsUI}from'./comments/commentsui.js';export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{CommentThreadController}from'./comments/ui/commentthreadcontroller.js';function _0x4789(){var _0x1efbf5=['3unrucs','632560fOxECK','50918tXDxrX','472416Zetgpi','54KZEztY','250356cyBIlg','106750lGQPRe','326778rgQjql','181744njjAsx'];_0x4789=function(){return _0x1efbf5;};return _0x4789();}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';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';function _0x48d3(_0x530425,_0x35e32e){var _0x478906=_0x4789();return _0x48d3=function(_0x48d388,_0x1832c5){_0x48d388=_0x48d388-0x11b;var _0x23ae35=_0x478906[_0x48d388];return _0x23ae35;},_0x48d3(_0x530425,_0x35e32e);}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(_0x5b0a2c,_0x254e0c,_0x454a54){const t=_0x5b0a2c['t'];switch(_0x254e0c){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'},_0x454a54);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'},_0x454a54);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'},_0x454a54);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'},_0x454a54);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x454a54);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'},_0x454a54);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'},_0x454a54);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'},_0x454a54);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(_0x4daadd,_0x3211a0){const _0x57726b=_0x35de,_0x267da6=_0x4daadd();while(!![]){try{const _0x2afc12=parseInt(_0x57726b(0x8e))/0x1*(-parseInt(_0x57726b(0x9f))/0x2)+parseInt(_0x57726b(0x8f))/0x3*(parseInt(_0x57726b(0x9a))/0x4)+-parseInt(_0x57726b(0x91))/0x5*(parseInt(_0x57726b(0x97))/0x6)+-parseInt(_0x57726b(0x99))/0x7*(-parseInt(_0x57726b(0x9e))/0x8)+-parseInt(_0x57726b(0x98))/0x9+-parseInt(_0x57726b(0x9d))/0xa+parseInt(_0x57726b(0x9c))/0xb;if(_0x2afc12===_0x3211a0)break;else _0x267da6['push'](_0x267da6['shift']());}catch(_0x41a7ca){_0x267da6['push'](_0x267da6['shift']());}}}(_0x4044,0xd060f));import{throttle as _0x5ef248}from'es-toolkit/compat';function _0x35de(_0x351fae,_0x27bd96){const _0x4044b4=_0x4044();return _0x35de=function(_0x35de57,_0x347030){_0x35de57=_0x35de57-0x8d;let _0x30e15b=_0x4044b4[_0x35de57];return _0x30e15b;},_0x35de(_0x351fae,_0x27bd96);}export function createMutationObserver(_0x4a8450){const _0x2b65cc=_0x5ef248(_0x4a8450,0x1e),_0x58092a=new MutationObserver(_0x512da6=>{const _0x5442c2=_0x35de;for(const _0xaa9f3c of _0x512da6)(_0x5442c2(0x92)==_0xaa9f3c[_0x5442c2(0x9b)]&&_0x5442c2(0x8d)==_0xaa9f3c[_0x5442c2(0x93)]||_0x5442c2(0x95)==_0xaa9f3c[_0x5442c2(0x9b)]||_0x5442c2(0x90)==_0xaa9f3c[_0x5442c2(0x9b)])&&_0x2b65cc();});return{'attach'(_0x2c0d78){const _0x57c3b7=_0x35de;_0x58092a[_0x57c3b7(0xa0)](_0x2c0d78,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x188561=_0x35de;_0x58092a[_0x188561(0x94)](),_0x2b65cc[_0x188561(0x96)]();}};}function _0x4044(){const _0x5e3c27=['97266jzZthp','observe','class','7LBaEcc','3kjjsTR','characterData','145790VAZNGP','attributes','attributeName','disconnect','childList','cancel','6NCUnYl','13214511HmtTpI','5578531dbZOoj','2806640WdsUat','type','23145562dpoxgg','9113480EwSkUP','8yZREjz'];_0x4044=function(){return _0x5e3c27;};return _0x4044();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x11a1b2,_0x2b0557){const _0xa94ad0=_0x532d,_0x2862a1=_0x11a1b2();while(!![]){try{const _0x3f7e97=-parseInt(_0xa94ad0(0x191))/0x1+-parseInt(_0xa94ad0(0x195))/0x2*(parseInt(_0xa94ad0(0x19a))/0x3)+parseInt(_0xa94ad0(0x18f))/0x4*(-parseInt(_0xa94ad0(0x194))/0x5)+-parseInt(_0xa94ad0(0x19b))/0x6*(-parseInt(_0xa94ad0(0x199))/0x7)+parseInt(_0xa94ad0(0x198))/0x8+-parseInt(_0xa94ad0(0x197))/0x9*(parseInt(_0xa94ad0(0x193))/0xa)+parseInt(_0xa94ad0(0x192))/0xb*(parseInt(_0xa94ad0(0x196))/0xc);if(_0x3f7e97===_0x2b0557)break;else _0x2862a1['push'](_0x2862a1['shift']());}catch(_0x58c6c7){_0x2862a1['push'](_0x2862a1['shift']());}}}(_0x4036,0x541f2));function _0x532d(_0x378644,_0x924e0e){const _0x403676=_0x4036();return _0x532d=function(_0x532de6,_0x524730){_0x532de6=_0x532de6-0x18f;let _0x380837=_0x403676[_0x532de6];return _0x380837;},_0x532d(_0x378644,_0x924e0e);}function _0x4036(){const _0x2a6c09=['14744KlMQBD','13821960lAgXwZ','3393ngxRUM','2147704xfcTik','248122bkYcoY','114nGGFXG','48tPHSxE','44uoJBex','split','387392iIhggs','11tdYxaP','14970gptINE','57910JpMSpT'];_0x4036=function(){return _0x2a6c09;};return _0x4036();}export function splitMarkerName(_0x529dc3){const _0x47199c=_0x532d,_0x52b260=_0x529dc3[_0x47199c(0x190)](':');return{'group':_0x52b260[0x0],'id':_0x52b260[0x1],'part':_0x52b260[0x2]};}
|