@ckeditor/ckeditor5-comments 46.1.0-alpha.0 → 46.1.0-alpha.1
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 _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++;}}
|
|
23
|
+
const _0x5e5a0a=_0x347a;(function(_0x2f901e,_0x4b28f8){const _0x555520=_0x347a,_0x867f37=_0x2f901e();while(!![]){try{const _0x270e8c=parseInt(_0x555520(0x132))/0x1*(parseInt(_0x555520(0x12b))/0x2)+parseInt(_0x555520(0xe8))/0x3+parseInt(_0x555520(0x11c))/0x4*(-parseInt(_0x555520(0x137))/0x5)+parseInt(_0x555520(0xf3))/0x6+-parseInt(_0x555520(0xf2))/0x7*(parseInt(_0x555520(0x129))/0x8)+-parseInt(_0x555520(0x11b))/0x9+parseInt(_0x555520(0x109))/0xa*(parseInt(_0x555520(0xf1))/0xb);if(_0x270e8c===_0x4b28f8)break;else _0x867f37['push'](_0x867f37['shift']());}catch(_0x4ec935){_0x867f37['push'](_0x867f37['shift']());}}}(_0x20e3,0x5c8bb));import{View as _0xc63478,FocusCycler as _0x4689f1}from'ckeditor5/src/ui.js';function _0x347a(_0x446f99,_0x18e177){const _0x20e3c3=_0x20e3();return _0x347a=function(_0x347af3,_0x5f54b5){_0x347af3=_0x347af3-0xe5;let _0x4febe7=_0x20e3c3[_0x347af3];return _0x4febe7;},_0x347a(_0x446f99,_0x18e177);}import{diff as _0xf3c86f,Collection as _0x5b17c7,FocusTracker as _0x125663,KeystrokeHandler as _0x3d9dac}from'ckeditor5/src/utils.js';import{getTranslation as _0x4464ec}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x222d14}from'./collapsedcommentsview.js';export class CommentsListView extends _0xc63478{[_0x5e5a0a(0xf0)];[_0x5e5a0a(0x12f)];[_0x5e5a0a(0x120)];[_0x5e5a0a(0x118)];[_0x5e5a0a(0xe9)];[_0x5e5a0a(0x102)];[_0x5e5a0a(0x110)];[_0x5e5a0a(0x13c)];constructor(_0x355689,_0x442bdd,_0x39b6bc){const _0x213555=_0x5e5a0a;super(_0x355689);const _0x45e900=this[_0x213555(0xed)];this[_0x213555(0x11f)](_0x213555(0x101),!0x1),this[_0x213555(0x11f)](_0x213555(0x117),_0x442bdd[_0x213555(0x13b)][_0x213555(0x117)]),this[_0x213555(0x11f)](_0x213555(0x145),!0x1),this[_0x213555(0x102)]=_0x442bdd,this[_0x213555(0x110)]=_0x39b6bc,this[_0x213555(0xf0)]=this[_0x213555(0x116)](),this[_0x213555(0xef)]=this[_0x213555(0x116)](),this[_0x213555(0x12f)]=null,this[_0x213555(0x120)]=new _0x125663(),this[_0x213555(0x118)]=new _0x3d9dac(),this[_0x213555(0xe9)]=new _0x4689f1({'focusables':this[_0x213555(0xf0)],'focusTracker':this[_0x213555(0x120)],'keystrokeHandler':this[_0x213555(0x118)],'keystrokeHandlerOptions':{'filter':_0x4a16d4=>this[_0x213555(0xf0)][_0x213555(0x123)](_0x46b35d=>_0x46b35d[_0x213555(0x134)])[_0x213555(0x140)](_0x4a16d4[_0x213555(0x13d)])},'actions':{'focusPrevious':_0x213555(0xf8),'focusNext':_0x213555(0x111)}}),this[_0x213555(0x13c)]=new _0x222d14(_0x355689),this[_0x213555(0x13c)][_0x213555(0x114)](_0x213555(0x124))['to'](this,_0x213555(0x117),_0x298a51=>_0x298a51-this[_0x213555(0x110)][_0x213555(0x10e)]);for(const _0xbdcc0b of _0x442bdd[_0x213555(0x13b)])this[_0x213555(0x130)](_0xbdcc0b);this[_0x213555(0x10f)](),this[_0x213555(0x11a)](_0x442bdd[_0x213555(0x13b)],_0x213555(0xf9),(_0x1aeea9,_0x4d0ed9)=>{const _0x3232e4=_0x213555,_0x3465ad=this[_0x3232e4(0x144)](_0x4d0ed9);this[_0x3232e4(0x117)]++,this[_0x3232e4(0x130)](_0x4d0ed9,_0x3465ad),this[_0x3232e4(0xe5)]();}),this[_0x213555(0x11a)](_0x442bdd[_0x213555(0x13b)],_0x213555(0xec),(_0x1ac775,_0xd656b3)=>{const _0x1e655d=_0x213555;this[_0x1e655d(0x117)]--,this[_0x1e655d(0x141)](_0xd656b3),this[_0x1e655d(0xe5)]();}),this[_0x213555(0x11a)](_0x442bdd,_0x213555(0x113),()=>this[_0x213555(0xe5)]()),this[_0x213555(0x11a)](_0x442bdd,_0x213555(0x11e),()=>this[_0x213555(0x10f)]()),this['on'](_0x213555(0xe7),()=>this[_0x213555(0xe5)]()),this['on'](_0x213555(0x13a),()=>this[_0x213555(0xe5)]()),this[_0x213555(0x135)]({'tag':'ul','attributes':{'class':[_0x213555(0xfe),_0x45e900['if'](_0x213555(0x117),_0x213555(0x13e),_0x191bfe=>!_0x191bfe)],'aria-label':_0x4464ec(_0x355689,_0x213555(0xeb))},'children':this[_0x213555(0xef)]});}get[_0x5e5a0a(0x10d)](){const _0x323cb8=_0x5e5a0a;return this[_0x323cb8(0x102)][_0x323cb8(0xee)]>this[_0x323cb8(0x110)][_0x323cb8(0x12c)]&&!this[_0x323cb8(0x145)]&&!this[_0x323cb8(0x101)];}[_0x5e5a0a(0x12d)](){const _0x25b7cf=_0x5e5a0a;super[_0x25b7cf(0x12d)](),this[_0x25b7cf(0xe5)](),this[_0x25b7cf(0x115)]();}[_0x5e5a0a(0x10a)](_0x23cb9d){const _0x1cd608=_0x5e5a0a;-0x1===_0x23cb9d?this[_0x1cd608(0xe9)][_0x1cd608(0x10b)]():this[_0x1cd608(0xe9)][_0x1cd608(0xe6)]();}[_0x5e5a0a(0x13f)](){const _0x25f0e5=_0x5e5a0a;this[_0x25f0e5(0x13c)][_0x25f0e5(0x13f)]();for(const _0x4b296d of this[_0x25f0e5(0xf0)])_0x4b296d[_0x25f0e5(0x13f)]();super[_0x25f0e5(0x13f)]();}[_0x5e5a0a(0xe5)](){const _0xee5a76=_0x5e5a0a;this[_0xee5a76(0x10d)]?this[_0xee5a76(0x142)]():this[_0xee5a76(0x127)]();}[_0x5e5a0a(0x130)](_0x51d9c7,_0x3a2ba8){const _0x1e3ff7=_0x5e5a0a,_0x22918e=new this[(_0x1e3ff7(0x110))][(_0x1e3ff7(0x143))](this[_0x1e3ff7(0x128)],_0x51d9c7,{'maxCommentCharsWhenCollapsed':this[_0x1e3ff7(0x110)][_0x1e3ff7(0x133)],'formatDateTime':this[_0x1e3ff7(0x110)][_0x1e3ff7(0x131)],'editorConfig':this[_0x1e3ff7(0x110)][_0x1e3ff7(0x106)]});_0x22918e[_0x1e3ff7(0x103)]=_0x51d9c7['id'],_0x22918e[_0x1e3ff7(0x107)](_0x1e3ff7(0x139))['to'](this),_0x22918e[_0x1e3ff7(0x107)](_0x1e3ff7(0x122))['to'](this),_0x22918e[_0x1e3ff7(0x107)](_0x1e3ff7(0x119))['to'](this),_0x22918e[_0x1e3ff7(0x107)](_0x1e3ff7(0x104))['to'](this),_0x22918e[_0x1e3ff7(0x107)](_0x1e3ff7(0x12e))['to'](this),this[_0x1e3ff7(0x11a)](_0x22918e,_0x1e3ff7(0xfa),()=>this[_0x1e3ff7(0xf7)]()),this[_0x1e3ff7(0xf0)][_0x1e3ff7(0xf9)](_0x22918e,_0x3a2ba8);}[_0x5e5a0a(0x144)](_0x3bafc3){const _0x486196=_0x5e5a0a,_0x58d4ea=this[_0x486196(0x102)][_0x486196(0x100)](_0x3bafc3);return this[_0x486196(0x12f)]?this[_0x486196(0x12f)][_0x486196(0x126)]>_0x3bafc3[_0x486196(0x126)]?_0x58d4ea-0x1:_0x58d4ea:_0x58d4ea-0x1;}[_0x5e5a0a(0x10f)](){const _0x5605fa=_0x5e5a0a;if(this[_0x5605fa(0x102)][_0x5605fa(0xfb)]&&this[_0x5605fa(0x102)][_0x5605fa(0x105)]){const _0xdd4812={'id':_0x5605fa(0xf4),'author':this[_0x5605fa(0x102)][_0x5605fa(0xfb)],'authoredAt':this[_0x5605fa(0x102)][_0x5605fa(0x105)],'content':_0x4464ec(this[_0x5605fa(0x128)],_0x5605fa(0xfc)),'attributes':{}};this[_0x5605fa(0x12f)]=new this[(_0x5605fa(0x110))][(_0x5605fa(0x143))](this[_0x5605fa(0x128)],_0xdd4812,{'maxCommentCharsWhenCollapsed':this[_0x5605fa(0x110)][_0x5605fa(0x133)],'formatDateTime':this[_0x5605fa(0x110)][_0x5605fa(0x131)],'editorConfig':this[_0x5605fa(0x110)][_0x5605fa(0x106)],'isSystemComment':!0x0}),this[_0x5605fa(0xf0)][_0x5605fa(0xf9)](this[_0x5605fa(0x12f)],this[_0x5605fa(0x102)][_0x5605fa(0x100)](_0xdd4812));}else this[_0x5605fa(0x12f)]&&(this[_0x5605fa(0xf0)][_0x5605fa(0xec)](this[_0x5605fa(0x12f)]),this[_0x5605fa(0x12f)][_0x5605fa(0x13f)](),this[_0x5605fa(0x12f)]=null);this[_0x5605fa(0xe5)]();}[_0x5e5a0a(0x141)](_0x323e2e){const _0x23afe2=_0x5e5a0a,_0x410b8d=this[_0x23afe2(0xf0)][_0x23afe2(0xec)](_0x323e2e['id']);this[_0x23afe2(0x146)](_0x410b8d),_0x410b8d[_0x23afe2(0xf5)]&&this[_0x23afe2(0xf7)](),_0x410b8d[_0x23afe2(0x13f)]();}[_0x5e5a0a(0xf7)](){const _0x200b06=_0x5e5a0a;this[_0x200b06(0x101)]=Array[_0x200b06(0x125)](this[_0x200b06(0xf0)])[_0x200b06(0x10c)](_0x1a8cd3=>_0x1a8cd3[_0x200b06(0xf5)]);}[_0x5e5a0a(0x142)](){const _0x2d86b0=_0x5e5a0a,_0x5d657a=function(_0x5d9ccd){const _0x55b475=_0x347a,_0x5323c7=new _0x5b17c7();for(const _0x2cb267 of _0x5d9ccd)_0x5323c7[_0x55b475(0xf9)](_0x2cb267);return _0x5323c7;}(this[_0x2d86b0(0xf0)]),_0x1e1fd3=this[_0x2d86b0(0x13c)][_0x2d86b0(0x124)];for(let _0x1c113a=0x1;_0x1c113a<=_0x1e1fd3;_0x1c113a++)_0x5d657a[_0x2d86b0(0xec)](0x1);for(const _0x453d03 of _0x5d657a)_0x453d03[_0x2d86b0(0x138)]();_0x1e1fd3>0x0&&_0x5d657a[_0x2d86b0(0xf9)](this[_0x2d86b0(0x13c)],0x1),ns(_0xf3c86f(Array[_0x2d86b0(0x125)](this[_0x2d86b0(0xef)]),Array[_0x2d86b0(0x125)](_0x5d657a)),this[_0x2d86b0(0xef)],_0x5d657a);}[_0x5e5a0a(0x127)](){const _0x546ca9=_0x5e5a0a;ns(_0xf3c86f(Array[_0x546ca9(0x125)](this[_0x546ca9(0xef)]),Array[_0x546ca9(0x125)](this[_0x546ca9(0xf0)])),this[_0x546ca9(0xef)],this[_0x546ca9(0xf0)]);for(const _0x488e9c of this[_0x546ca9(0xef)])_0x488e9c[_0x546ca9(0xff)]();}[_0x5e5a0a(0x115)](){const _0x5f0caf=_0x5e5a0a;this[_0x5f0caf(0xf0)][_0x5f0caf(0x136)](_0x565c3e=>{const _0x39e27=_0x5f0caf;this[_0x39e27(0x120)][_0x39e27(0xf9)](_0x565c3e[_0x39e27(0x134)]),this[_0x39e27(0x118)][_0x39e27(0x11a)](_0x565c3e[_0x39e27(0x134)]);}),this[_0x5f0caf(0xf0)]['on'](_0x5f0caf(0x12a),(_0x17b9d4,_0x742e09)=>{const _0x416b7d=_0x5f0caf;for(const _0x54adf9 of _0x742e09[_0x416b7d(0xf6)])this[_0x416b7d(0x120)][_0x416b7d(0xec)](_0x54adf9[_0x416b7d(0x134)]),this[_0x416b7d(0x118)][_0x416b7d(0x146)](_0x54adf9[_0x416b7d(0x134)]);for(const _0xf4fd55 of Array[_0x416b7d(0x125)](_0x742e09[_0x416b7d(0x11d)])[_0x416b7d(0x121)]())this[_0x416b7d(0x120)][_0x416b7d(0xf9)](_0xf4fd55[_0x416b7d(0x134)]),this[_0x416b7d(0x118)][_0x416b7d(0x11a)](_0xf4fd55[_0x416b7d(0x134)]);});}}function ns(_0x3e6d97,_0x6a7e4e,_0x1b9826){const _0x321748=_0x5e5a0a;let _0x4c38db=0x0;for(const _0x3255f3 of _0x3e6d97)switch(_0x3255f3){case _0x321748(0x112):_0x6a7e4e[_0x321748(0xf9)](_0x1b9826[_0x321748(0xfd)](_0x4c38db),_0x4c38db),_0x4c38db++;break;case _0x321748(0x108):_0x6a7e4e[_0x321748(0xec)](_0x4c38db);break;case _0x321748(0xea):_0x4c38db++;}}function _0x20e3(){const _0x2704cf=['formatDateTime','10057SwRmVW','maxCommentCharsWhenCollapsed','element','setTemplate','forEach','503790ndOkmk','collapse','removeComment','change:hasDirtyComment','comments','_collapsedCommentsView','target','ck-hidden','destroy','includes','_handleRemoveCommentModel','_rearrangeCollapse','CommentView','_calculatePosition','isActive','stopListening','refreshVisibleViews','focusFirst','change:isActive','300162obyGzk','focusCycler','equal','Thread\x20comments','remove','bindTemplate','weight','visibleViews','commentViews','2499871qVpSOJ','66829yauinq','4017780KmxBzq','resolved','isEditMode','removed','_updateHasDirtyComment','arrowup','add','change:isEditMode','resolvedBy','Marked\x20as\x20resolved','get','ck-thread__comments','expand','_findOptimalIndex','hasDirtyComment','_model','viewUid','editorReady','resolvedAt','editorConfig','delegate','delete','20ncwXtk','focus','focusLast','some','_shouldCollapse','maxCommentsWhenCollapsed','_handleInfoComment','_config','arrowdown','insert','commentUpdated','bind','_setupKeyboardNavigation','createCollection','length','keystrokes','resolveCommentThread','listenTo','5887710RfMerk','8FAUvtc','added','change:isResolved','set','focusTracker','reverse','updateComment','map','count','from','authoredAt','_rearrangeExpand','locale','8ljxkmG','change','4oKOqMg','maxThreadTotalWeight','render','editorDestroyed','resolvedCommentView','_handleNewCommentModel'];_0x20e3=function(){return _0x2704cf;};return _0x20e3();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x578143=_0x1f67;function _0x517f(){const _0x1a89bf=['612929mvpwOC','THREAD_CONTEXT_LABEL','4271071NmYYnS','11613870HuXHCb','element','4QYxcQP','39rxGrwM','3924015bYTdXJ','bindTemplate','span','60972niHznP','2331030rRsKXl','ck-context__value','setTemplate','set','17391310GwtRoS','11pjDasP','contextValue','8vHwTeV','focus'];_0x517f=function(){return _0x1a89bf;};return _0x517f();}(function(_0x28a728,_0x5e1a4f){const _0xd4df7b=_0x1f67,_0x40d65a=_0x28a728();while(!![]){try{const _0x2d1c5e=-parseInt(_0xd4df7b(0x1a9))/0x1*(parseInt(_0xd4df7b(0x19a))/0x2)+parseInt(_0xd4df7b(0x19b))/0x3*(-parseInt(_0xd4df7b(0x19f))/0x4)+parseInt(_0xd4df7b(0x19c))/0x5+parseInt(_0xd4df7b(0x1a0))/0x6+-parseInt(_0xd4df7b(0x1ab))/0x7*(-parseInt(_0xd4df7b(0x1a7))/0x8)+-parseInt(_0xd4df7b(0x198))/0x9+-parseInt(_0xd4df7b(0x1a4))/0xa*(-parseInt(_0xd4df7b(0x1a5))/0xb);if(_0x2d1c5e===_0x5e1a4f)break;else _0x40d65a['push'](_0x40d65a['shift']());}catch(_0x13ab23){_0x40d65a['push'](_0x40d65a['shift']());}}}(_0x517f,0xc54d1));import{View as _0x165544}from'ckeditor5/src/ui.js';import{getTranslation as _0x122eaa}from'../../../utils/common-translations.js';function _0x1f67(_0x38bf82,_0x5138ae){const _0x517feb=_0x517f();return _0x1f67=function(_0x1f670c,_0x562694){_0x1f670c=_0x1f670c-0x198;let _0x165626=_0x517feb[_0x1f670c];return _0x165626;},_0x1f67(_0x38bf82,_0x5138ae);}export class CommentThreadHeaderContextView extends _0x165544{constructor(_0x5cfcd9){const _0x351142=_0x1f67;super(_0x5cfcd9);const _0x3062d9=this[_0x351142(0x19d)];this[_0x351142(0x1a3)](_0x351142(0x1a6),''),this[_0x351142(0x1a2)]({'tag':_0x351142(0x19e),'attributes':{'class':['ck',_0x351142(0x1a1)],'aria-label':_0x3062d9['to'](_0x351142(0x1a6),_0x154b09=>_0x122eaa(_0x5cfcd9,_0x351142(0x1aa),_0x154b09)),'tabindex':-0x1},'children':[{'text':_0x3062d9['to'](_0x351142(0x1a6))}]});}[_0x578143(0x1a8)](){const _0x2f952d=_0x578143;this[_0x2f952d(0x199)][_0x2f952d(0x1a8)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x226e(){const _0x44c714=['render','contextView','52IUZrzt','isResolved','setTemplate','isEnabled','createCollection','_model','focusTracker','_createReopenButton','Reopen','...','remove','57112jdQYel','focus','length','hasContext','tooltip','_createContextView','48486efzWmo','bindTemplate','ck-context-wrapper','focusCycler','overlay','468uQDmYd','label','fire','.ck-context','mouseleave','ck-context--quotes','add','shift+tab','locale','tab','substring','execute','isResolvable','classList','ck-thread__header','_trimContextValue','isVisible','element','isReadOnly','focusFirst','6072grbqWR','lastIndexOf','icon','listenTo','bind','441868OHpgDA','17816srAYaQ','offsetWidth','value','_setupKeyboardNavigation','ck-annotation__actions','70375PBvIkz','ck-context','keystrokes','mouseenter','.ck-context__value','Comment\x20was\x20made\x20on\x20an\x20element','context','_attachContextActions','scrollWidth','1281830mfbZAG','reopenButtonView','focusables','contextValue','querySelector','div','reopenCommentThread'];_0x226e=function(){return _0x44c714;};return _0x226e();}function _0x2f46(_0x5de736,_0x41c7d3){const _0x226e1e=_0x226e();return _0x2f46=function(_0x2f46ce,_0xbc7ed9){_0x2f46ce=_0x2f46ce-0x1a7;let _0x21e409=_0x226e1e[_0x2f46ce];return _0x21e409;},_0x2f46(_0x5de736,_0x41c7d3);}const _0x4d3259=_0x2f46;(function(_0x2b7b76,_0x311925){const _0x3e065b=_0x2f46,_0x3144fa=_0x2b7b76();while(!![]){try{const _0x137a21=-parseInt(_0x3e065b(0x1b9))/0x1+-parseInt(_0x3e065b(0x1d6))/0x2+-parseInt(_0x3e065b(0x1dc))/0x3*(-parseInt(_0x3e065b(0x1cb))/0x4)+parseInt(_0x3e065b(0x1c2))/0x5+parseInt(_0x3e065b(0x1ae))/0x6+-parseInt(_0x3e065b(0x1b3))/0x7+-parseInt(_0x3e065b(0x1b4))/0x8*(parseInt(_0x3e065b(0x1e1))/0x9);if(_0x137a21===_0x311925)break;else _0x3144fa['push'](_0x3144fa['shift']());}catch(_0x5c0ce5){_0x3144fa['push'](_0x3144fa['shift']());}}}(_0x226e,0x2e4b9));import{View as _0x39bcdf,ButtonView as _0x569387,FocusCycler as _0x2fa66c}from'ckeditor5/src/ui.js';import{FocusTracker as _0x147af6,KeystrokeHandler as _0x3ebdeb}from'ckeditor5/src/utils.js';import{IconUndo as _0x147818}from'ckeditor5/src/icons.js';import{getTranslation as _0xe5740d}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x6874f3}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x39bcdf{[_0x4d3259(0x1d0)];[_0x4d3259(0x1c3)];[_0x4d3259(0x1ca)];[_0x4d3259(0x1c4)];[_0x4d3259(0x1d1)];[_0x4d3259(0x1bb)];[_0x4d3259(0x1df)];constructor(_0xff2b19,_0x27e9c8){const _0x5aa8f0=_0x4d3259;super(_0xff2b19);const _0x4624d0=this[_0x5aa8f0(0x1dd)];this[_0x5aa8f0(0x1d0)]=_0x27e9c8,this[_0x5aa8f0(0x1c3)]=this[_0x5aa8f0(0x1d2)](),this[_0x5aa8f0(0x1ca)]=this[_0x5aa8f0(0x1db)](),this[_0x5aa8f0(0x1c4)]=this[_0x5aa8f0(0x1cf)]([this[_0x5aa8f0(0x1ca)],this[_0x5aa8f0(0x1c3)]]),this[_0x5aa8f0(0x1d1)]=new _0x147af6(),this[_0x5aa8f0(0x1bb)]=new _0x3ebdeb(),this[_0x5aa8f0(0x1df)]=new _0x2fa66c({'focusables':this[_0x5aa8f0(0x1c4)],'focusTracker':this[_0x5aa8f0(0x1d1)],'keystrokeHandler':this[_0x5aa8f0(0x1bb)],'actions':{'focusPrevious':_0x5aa8f0(0x1e8),'focusNext':_0x5aa8f0(0x1ea)}}),this[_0x5aa8f0(0x1b2)](_0x5aa8f0(0x1d9))['to'](this[_0x5aa8f0(0x1d0)],_0x5aa8f0(0x1bf),_0x3b41dd=>!!_0x3b41dd),this[_0x5aa8f0(0x1b2)](_0x5aa8f0(0x1c5))['to'](this[_0x5aa8f0(0x1d0)],_0x5aa8f0(0x1bf),_0x2f326f=>_0x2f326f&&_0x2f326f[_0x5aa8f0(0x1b6)]?this[_0x5aa8f0(0x1a9)](_0x2f326f[_0x5aa8f0(0x1b6)]):_0xe5740d(this[_0x5aa8f0(0x1e9)],_0x5aa8f0(0x1be))),this[_0x5aa8f0(0x1cd)]({'tag':_0x5aa8f0(0x1c7),'attributes':{'class':[_0x5aa8f0(0x1a8)]},'children':[{'tag':_0x5aa8f0(0x1c7),'attributes':{'class':[_0x5aa8f0(0x1de)]},'children':[{'tag':_0x5aa8f0(0x1c7),'attributes':{'class':[_0x5aa8f0(0x1ba),_0x4624d0['if'](_0x5aa8f0(0x1d9),_0x5aa8f0(0x1e6))]},'children':[this[_0x5aa8f0(0x1ca)]]}]},{'tag':_0x5aa8f0(0x1c7),'attributes':{'class':[_0x5aa8f0(0x1b8)]},'children':[this[_0x5aa8f0(0x1c3)]]}]});}[_0x4d3259(0x1c9)](){const _0x12f4f8=_0x4d3259;super[_0x12f4f8(0x1c9)](),this[_0x12f4f8(0x1c0)](),this[_0x12f4f8(0x1b7)]();}[_0x4d3259(0x1d7)](){const _0x327c13=_0x4d3259;this[_0x327c13(0x1df)][_0x327c13(0x1ad)]();}[_0x4d3259(0x1d2)](){const _0x4f1e1d=_0x4d3259,_0x4350f6=new _0x569387(this[_0x4f1e1d(0x1e9)]);return _0x4350f6[_0x4f1e1d(0x1e2)]=_0xe5740d(this[_0x4f1e1d(0x1e9)],_0x4f1e1d(0x1d3)),_0x4350f6[_0x4f1e1d(0x1da)]=_0xe5740d(this[_0x4f1e1d(0x1e9)],_0x4f1e1d(0x1d3)),_0x4350f6[_0x4f1e1d(0x1b0)]=_0x147818,_0x4350f6[_0x4f1e1d(0x1b2)](_0x4f1e1d(0x1ce))['to'](this[_0x4f1e1d(0x1d0)],_0x4f1e1d(0x1ac),_0x5c0611=>!_0x5c0611),_0x4350f6[_0x4f1e1d(0x1b2)](_0x4f1e1d(0x1aa))['to'](this[_0x4f1e1d(0x1d0)],_0x4f1e1d(0x1ed),this[_0x4f1e1d(0x1d0)],_0x4f1e1d(0x1cc),(_0x3c3ee7,_0x5945ad)=>_0x3c3ee7&&_0x5945ad),_0x4350f6['on'](_0x4f1e1d(0x1ec),()=>{const _0x4fd6ce=_0x4f1e1d;this[_0x4fd6ce(0x1e3)](_0x4fd6ce(0x1c8),this[_0x4fd6ce(0x1d0)]['id']);}),_0x4350f6;}[_0x4d3259(0x1a9)](_0x2c367f){const _0x12c137=_0x4d3259;if(_0x2c367f[_0x12c137(0x1d8)]<0x96)return _0x2c367f;const _0x16fd22=_0x2c367f[_0x12c137(0x1af)]('\x20',0x93);return _0x2c367f[_0x12c137(0x1eb)](0x0,_0x16fd22>-0x1?_0x16fd22:0x93)+_0x12c137(0x1d4);}[_0x4d3259(0x1c0)](){const _0x272f76=_0x4d3259,_0x598e87=this[_0x272f76(0x1ab)][_0x272f76(0x1c6)](_0x272f76(0x1e4)),_0x256da9=_0x598e87[_0x272f76(0x1c6)](_0x272f76(0x1bd));this[_0x272f76(0x1b1)](_0x598e87,_0x272f76(0x1bc),()=>{const _0x1d7d8e=_0x272f76;_0x256da9[_0x1d7d8e(0x1b5)]<_0x256da9[_0x1d7d8e(0x1c1)]&&_0x598e87[_0x1d7d8e(0x1a7)][_0x1d7d8e(0x1e7)](_0x1d7d8e(0x1e0));}),this[_0x272f76(0x1b1)](_0x598e87,_0x272f76(0x1e5),()=>{const _0x4ef8a4=_0x272f76;_0x598e87[_0x4ef8a4(0x1a7)][_0x4ef8a4(0x1d5)](_0x4ef8a4(0x1e0));});}[_0x4d3259(0x1b7)](){const _0x5a8fb4=_0x4d3259;this[_0x5a8fb4(0x1bb)][_0x5a8fb4(0x1b1)](this[_0x5a8fb4(0x1ab)]);for(const _0x22098e of this[_0x5a8fb4(0x1c4)])this[_0x5a8fb4(0x1d1)][_0x5a8fb4(0x1e7)](_0x22098e[_0x5a8fb4(0x1ab)]),this[_0x5a8fb4(0x1bb)][_0x5a8fb4(0x1b1)](_0x22098e[_0x5a8fb4(0x1ab)]);}[_0x4d3259(0x1db)](){const _0x163f13=_0x4d3259,_0x32a75c=new _0x6874f3(this[_0x163f13(0x1e9)]);return _0x32a75c[_0x163f13(0x1b2)](_0x163f13(0x1c5))['to'](this),_0x32a75c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5417(){const _0x1b9267=['7RdYicS','extendTemplate','contains','commentInputView','editorReady','ck-thread__user','view','18rEKLmO','focus','userView','preventDefault','value','destroy','_focusOnNonInteractiveMouseDown','focusTracker','bindTemplate','4427166lnzoaw','mousedown','1047848MQRUkY','ck-thread__input','focusCycler','982726TFKpRI','editing','188348nzZUTl','createEditor','div','479890NUCUEI','set','listenTo','bind','render','then','element','setTemplate','editorDestroyed','2299671kUBupM','delegate','some','filter','isFocused','showButtons','ck-comment__input-container--active','30ZcVSAB','target','41694StPhmA','ck-comment__input-container','editor','showInput','change:showInput','getDomRoot'];_0x5417=function(){return _0x1b9267;};return _0x5417();}function _0x2b61(_0x3020aa,_0xfbb3fd){const _0x54176b=_0x5417();return _0x2b61=function(_0x2b61c2,_0x361c8e){_0x2b61c2=_0x2b61c2-0x1e5;let _0x23356f=_0x54176b[_0x2b61c2];return _0x23356f;},_0x2b61(_0x3020aa,_0xfbb3fd);}const _0x2d309b=_0x2b61;(function(_0x5aacb0,_0x2e76fe){const _0x5d8aed=_0x2b61,_0x502dc4=_0x5aacb0();while(!![]){try{const _0x5a1384=-parseInt(_0x5d8aed(0x216))/0x1+parseInt(_0x5d8aed(0x1ff))/0x2+-parseInt(_0x5d8aed(0x20d))/0x3+parseInt(_0x5d8aed(0x201))/0x4*(parseInt(_0x5d8aed(0x214))/0x5)+-parseInt(_0x5d8aed(0x1fa))/0x6*(-parseInt(_0x5d8aed(0x1ea))/0x7)+-parseInt(_0x5d8aed(0x1fc))/0x8*(parseInt(_0x5d8aed(0x1f1))/0x9)+parseInt(_0x5d8aed(0x204))/0xa;if(_0x5a1384===_0x2e76fe)break;else _0x502dc4['push'](_0x502dc4['shift']());}catch(_0x132902){_0x502dc4['push'](_0x502dc4['shift']());}}}(_0x5417,0x77832));import{View as _0x25fcfa}from'ckeditor5/src/ui.js';import{CommentInputView as _0x3c5398}from'./commentinputview.js';import{UserView as _0x51fcb3}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x25fcfa{constructor(_0x57337b,_0x1932cb,_0x17041f){const _0x280196=_0x2b61;super(_0x57337b),this[_0x280196(0x1ed)]=new _0x3c5398(_0x57337b,_0x17041f),this[_0x280196(0x1fe)]=this[_0x280196(0x1ed)][_0x280196(0x1fe)],this[_0x280196(0x1ed)][_0x280196(0x207)](_0x280196(0x212))['to'](this[_0x280196(0x1ed)][_0x280196(0x1f8)],_0x280196(0x211),this[_0x280196(0x1ed)],_0x280196(0x1f5),(_0x5d58f3,_0x318574)=>_0x5d58f3||!!_0x318574),this[_0x280196(0x205)](_0x280196(0x1e7),!0x1),this['on'](_0x280196(0x1e8),()=>{const _0x4ac99c=_0x280196;this[_0x4ac99c(0x1e7)]&&!this[_0x4ac99c(0x1ed)][_0x4ac99c(0x1e6)]&&this[_0x4ac99c(0x1ed)][_0x4ac99c(0x202)]();}),this[_0x280196(0x1ed)][_0x280196(0x20e)](_0x280196(0x1ee))['to'](this),this[_0x280196(0x1ed)][_0x280196(0x20e)](_0x280196(0x20c))['to'](this),this[_0x280196(0x1f3)]=new _0x51fcb3(_0x57337b,_0x1932cb),this[_0x280196(0x1f3)][_0x280196(0x1eb)]({'attributes':{'class':_0x280196(0x1ef),'aria-hidden':!0x0}}),this[_0x280196(0x1ed)][_0x280196(0x1eb)]({'attributes':{'class':_0x280196(0x1fd)}}),this[_0x280196(0x20b)]({'tag':_0x280196(0x203),'attributes':{'class':[_0x280196(0x1e5),this[_0x280196(0x1f9)]['if'](_0x280196(0x1e7),_0x280196(0x213))]},'children':[this[_0x280196(0x1f3)],this[_0x280196(0x1ed)]]});}[_0x2d309b(0x208)](){const _0x3c1115=_0x2d309b;super[_0x3c1115(0x208)](),this[_0x3c1115(0x1f7)]();}[_0x2d309b(0x1f6)](){const _0x3b9a92=_0x2d309b;return this[_0x3b9a92(0x1ed)][_0x3b9a92(0x1f6)]()[_0x3b9a92(0x209)](()=>super[_0x3b9a92(0x1f6)]());}[_0x2d309b(0x1f2)](_0x39f19c){const _0x514b5c=_0x2d309b;this[_0x514b5c(0x1ed)][_0x514b5c(0x1f2)](_0x39f19c);}[_0x2d309b(0x1f7)](){const _0x3da02d=_0x2d309b;this[_0x3da02d(0x206)](this[_0x3da02d(0x20a)],_0x3da02d(0x1fb),(_0x5c0e2d,_0x1a87b7)=>{const _0x580b92=_0x3da02d,{submitButtonView:_0x4b0e3c,cancelButtonView:_0x2c5c51,editor:_0x20bc11}=this[_0x580b92(0x1ed)];[_0x4b0e3c[_0x580b92(0x20a)],_0x2c5c51[_0x580b92(0x20a)],_0x20bc11?_0x20bc11[_0x580b92(0x200)][_0x580b92(0x1f0)][_0x580b92(0x1e9)]():null][_0x580b92(0x210)](_0x5f4a97=>_0x5f4a97)[_0x580b92(0x20f)](_0x44f454=>_0x44f454[_0x580b92(0x1ec)](_0x1a87b7[_0x580b92(0x215)]))||(this[_0x580b92(0x1f2)](),_0x1a87b7[_0x580b92(0x1f4)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x515617=_0x2870;function _0x2870(_0x50328d,_0x2c4c54){const _0x349ba8=_0x349b();return _0x2870=function(_0x2870f8,_0x426800){_0x2870f8=_0x2870f8-0xd4;let _0x31b6b5=_0x349ba8[_0x2870f8];return _0x31b6b5;},_0x2870(_0x50328d,_0x2c4c54);}(function(_0x5abf7c,_0x346fa4){const _0xce2193=_0x2870,_0xc197b6=_0x5abf7c();while(!![]){try{const _0x127aa7=parseInt(_0xce2193(0xfd))/0x1*(parseInt(_0xce2193(0xff))/0x2)+parseInt(_0xce2193(0x104))/0x3*(parseInt(_0xce2193(0xec))/0x4)+-parseInt(_0xce2193(0x123))/0x5*(parseInt(_0xce2193(0x11b))/0x6)+-parseInt(_0xce2193(0x10e))/0x7+-parseInt(_0xce2193(0x12b))/0x8*(-parseInt(_0xce2193(0xf7))/0x9)+parseInt(_0xce2193(0x129))/0xa+-parseInt(_0xce2193(0xef))/0xb;if(_0x127aa7===_0x346fa4)break;else _0xc197b6['push'](_0xc197b6['shift']());}catch(_0x365e5f){_0xc197b6['push'](_0xc197b6['shift']());}}}(_0x349b,0xc4f15));function _0x349b(){const _0x1240d7=['removeConfirm','207RAWmSX','setTemplate','icon','commentsListView','ck-rounded-corners','set','1iVuxsM','high','3083194PBzNFw','isResolved','ck-thread--active','archivedAt','commentThreadInputView','5124EiIYvh','commentThreadChildren','then','actionBar','ariaDescriptionView','length','_bindFirstCommentView','ariaLabel','_createResolveButton','ck-thread','3968426gHHIsb','ck-thread--unlinked','extendTemplate','actionIndicator','createCollection','resolveButton','isEnabled','fire','stop','isActive','.ck-thread__container','Write\x20a\x20comment...','_boundFirstCommentView','70344GUNMcP','listenTo','getTemplate','change:isReadOnly','querySelector','tooltip','removeCommentThread','placeholder','670YiPdQl','removeButton','_updateArchivedThreadHeader','commentViews','listitem','bindTemplate','10640220xJHrlk','unbind','301624LTFjqY','bind','cancelConfirm','focusables','has','isSystemComment','_model','Delete\x20comment\x20thread?','label','locale','isUnlinked','resolveCommentThread','element','remove','isReadOnly','commentThreadHeaderView','change:archivedAt','isVisible','render','ck-reset_all-excluded','change:isActive','containerElement','ck-comment--resolve','isConfirm','Resolve','isResolvable','_cancelAllConfirms','ck-thread--remove-confirmation','2708RslBPl','ck-thread--','execute','18529423GNQvjP','focus','get','add','ck-thread__container','div','showConfirm'];_0x349b=function(){return _0x1240d7;};return _0x349b();}import{ConfirmMixin as _0x14d59d,LateFocusButtonView as _0x251619}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x590903}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x3398d4}from'./basecommentthreadview.js';import{getTranslation as _0x2a692c}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x14d59d(_0x3398d4){[_0x515617(0x105)];[_0x515617(0xe5)];[_0x515617(0x113)];[_0x515617(0x11a)];constructor(_0x5a990f,_0x52fdca,_0x51e4c4,_0x7079a8){const _0xf16358=_0x515617;super(_0x5a990f,_0x52fdca,_0x51e4c4,_0x7079a8),this[_0xf16358(0x105)]=this[_0xf16358(0x112)]([this[_0xf16358(0xfa)],this[_0xf16358(0x103)],this[_0xf16358(0x108)]]),this[_0xf16358(0xfc)](_0xf16358(0x111),null),this[_0xf16358(0xe5)]=null,this[_0xf16358(0x11a)]=null,this[_0xf16358(0xd9)]=_0x5a990f,this[_0xf16358(0x113)]=this[_0xf16358(0x10c)](),this[_0xf16358(0xf8)](this[_0xf16358(0x11d)]()),this['on'](_0xf16358(0xe4),(_0x45d6f4,_0x381a89,_0x5127c5)=>{const _0x1bde8e=_0xf16358;_0x5127c5||this[_0x1bde8e(0xea)]();}),this[_0xf16358(0x11c)](this[_0xf16358(0xd6)],_0xf16358(0x11e),(_0x484ec4,_0x1003ef,_0x46904d)=>{const _0x5c850d=_0xf16358;_0x46904d&&this[_0x5c850d(0xea)]();}),this[_0xf16358(0x109)]>0x0&&this[_0xf16358(0x10a)](),this[_0xf16358(0x11c)](this[_0xf16358(0xfa)][_0xf16358(0x126)],_0xf16358(0xf2),()=>{const _0x11aed7=_0xf16358;this[_0x11aed7(0x10a)]();});}[_0x515617(0x11d)](){const _0x34eaa3=_0x515617,_0x472dd9=this[_0x34eaa3(0x128)];return{'tag':_0x34eaa3(0xf4),'attributes':{'class':['ck',_0x34eaa3(0x10d),_0x34eaa3(0xe3),_0x34eaa3(0xfb),_0x472dd9['if'](_0x34eaa3(0x117),_0x34eaa3(0x101)),_0x472dd9['if'](_0x34eaa3(0xda),_0x34eaa3(0x10f)),_0x472dd9['if'](_0x34eaa3(0xe7),_0x34eaa3(0xeb)),_0x472dd9['to'](_0x34eaa3(0x111),_0x43d348=>_0x43d348?_0x34eaa3(0xed)+_0x43d348:'')],'data-thread-id':this[_0x34eaa3(0xd6)]['id'],'tabindex':0x0,'role':_0x34eaa3(0x127),'aria-label':_0x472dd9['to'](_0x34eaa3(0x10b)),'aria-describedby':this[_0x34eaa3(0x108)]['id']},'children':[{'tag':_0x34eaa3(0xf4),'attributes':{'class':_0x34eaa3(0xf3)},'children':this[_0x34eaa3(0x105)]}]};}[_0x515617(0xe2)](){const _0x154af8=_0x515617;super[_0x154af8(0xe2)](),this[_0x154af8(0xe5)]=this[_0x154af8(0xdc)][_0x154af8(0x11f)](_0x154af8(0x118)),this[_0x154af8(0xd6)]['on'](_0x154af8(0xe0),()=>{const _0x4afe3f=_0x154af8;this[_0x4afe3f(0x125)]();}),this[_0x154af8(0x125)]();}[_0x515617(0xea)](){const _0x6f30b3=_0x515617;this[_0x6f30b3(0x12d)]();for(const _0xac1af1 of this[_0x6f30b3(0xfa)][_0x6f30b3(0x126)])_0xac1af1[_0x6f30b3(0x12d)]();}[_0x515617(0x10a)](){const _0x54d0b9=_0x515617,{locale:_0x5d925e}=this,_0x58eaab=this[_0x54d0b9(0xfa)][_0x54d0b9(0x126)][_0x54d0b9(0xf1)](0x0);_0x58eaab===this[_0x54d0b9(0x11a)]||_0x58eaab[_0x54d0b9(0xd5)]||(this[_0x54d0b9(0x11a)]=_0x58eaab,this[_0x54d0b9(0x12a)](_0x54d0b9(0x111)),this[_0x54d0b9(0x12c)](_0x54d0b9(0x111))['to'](_0x58eaab,_0x54d0b9(0x111),_0xfa5021=>_0x54d0b9(0xdd)===_0xfa5021?_0x54d0b9(0xdd):null),_0x58eaab[_0x54d0b9(0x122)]=_0x2a692c(_0x5d925e,_0x54d0b9(0x119)),_0x58eaab[_0x54d0b9(0x124)]['on'](_0x54d0b9(0xee),_0x3aeeb5=>{const _0x1a089e=_0x54d0b9;_0x3aeeb5[_0x1a089e(0x116)](),this[_0x1a089e(0xf5)](_0x2a692c(_0x5d925e,_0x1a089e(0xd7)),this[_0x1a089e(0xe5)])[_0x1a089e(0x106)](()=>{const _0x4ba012=_0x1a089e;this[_0x4ba012(0x115)](_0x4ba012(0x121));});},{'priority':_0x54d0b9(0xfe)}),this['on'](_0x54d0b9(0xf6),()=>{const _0x238dc2=_0x54d0b9;_0x58eaab[_0x238dc2(0xf0)]();}),_0x58eaab[_0x54d0b9(0x107)][_0x54d0b9(0xf2)](this[_0x54d0b9(0x113)],0x0),_0x58eaab[_0x54d0b9(0x12e)][_0x54d0b9(0xf2)](this[_0x54d0b9(0x113)],0x0));}[_0x515617(0x10c)](){const _0x115e5c=_0x515617,_0x34bc4b=new _0x251619(this[_0x115e5c(0xd9)]);return _0x34bc4b[_0x115e5c(0xd8)]=_0x2a692c(this[_0x115e5c(0xd9)],_0x115e5c(0xe8)),_0x34bc4b[_0x115e5c(0x120)]=_0x2a692c(this[_0x115e5c(0xd9)],_0x115e5c(0xe8)),_0x34bc4b[_0x115e5c(0xf9)]=_0x590903,_0x34bc4b[_0x115e5c(0x110)]({'attributes':{'class':_0x115e5c(0xe6)}}),_0x34bc4b[_0x115e5c(0x12c)](_0x115e5c(0x114))['to'](this[_0x115e5c(0xd6)],_0x115e5c(0xde),_0x196c09=>!_0x196c09),_0x34bc4b[_0x115e5c(0x12c)](_0x115e5c(0xe1))['to'](this[_0x115e5c(0xd6)],_0x115e5c(0xe9),this[_0x115e5c(0xd6)],_0x115e5c(0x100),(_0x22fa8c,_0x26966a)=>_0x22fa8c&&!_0x26966a),_0x34bc4b['on'](_0x115e5c(0xee),()=>{const _0x317bd4=_0x115e5c;this[_0x317bd4(0x115)](_0x317bd4(0xdb),this[_0x317bd4(0xd6)]['id']);}),_0x34bc4b;}[_0x515617(0x125)](){const _0x4d5266=_0x515617;this[_0x4d5266(0xd6)][_0x4d5266(0x102)]?this[_0x4d5266(0x105)][_0x4d5266(0xd4)](this[_0x4d5266(0xdf)])||(this[_0x4d5266(0x105)][_0x4d5266(0xf2)](this[_0x4d5266(0xdf)],0x0),this[_0x4d5266(0x12e)][_0x4d5266(0xf2)](this[_0x4d5266(0xdf)],0x0)):this[_0x4d5266(0x105)][_0x4d5266(0xd4)](this[_0x4d5266(0xdf)])&&(this[_0x4d5266(0x105)][_0x4d5266(0xdd)](this[_0x4d5266(0xdf)]),this[_0x4d5266(0x12e)][_0x4d5266(0xdd)](this[_0x4d5266(0xdf)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x2d0f8a=_0x56ab;(function(_0x1dbef7,_0x350584){const _0x51fe2=_0x56ab,_0x590d6a=_0x1dbef7();while(!![]){try{const _0x2f9402=parseInt(_0x51fe2(0x1db))/0x1*(parseInt(_0x51fe2(0x189))/0x2)+parseInt(_0x51fe2(0x1cc))/0x3*(parseInt(_0x51fe2(0x19b))/0x4)+-parseInt(_0x51fe2(0x192))/0x5*(parseInt(_0x51fe2(0x19c))/0x6)+-parseInt(_0x51fe2(0x1a4))/0x7+parseInt(_0x51fe2(0x1e4))/0x8*(parseInt(_0x51fe2(0x1d8))/0x9)+-parseInt(_0x51fe2(0x1bb))/0xa+parseInt(_0x51fe2(0x1b0))/0xb;if(_0x2f9402===_0x350584)break;else _0x590d6a['push'](_0x590d6a['shift']());}catch(_0x49c769){_0x590d6a['push'](_0x590d6a['shift']());}}}(_0x382c,0xe2eb7));import{IconRemoveComment as _0x1c1773,IconPencil as _0x375a01,IconThreeVerticalDots as _0x2bb18e}from'ckeditor5/src/icons.js';import{ButtonView as _0x49c0b5,createDropdown as _0x283b39,ListView as _0x1a32f1,ListItemView as _0x3286ca,focusChildOnDropdownOpen as _0x56c3d4}from'ckeditor5/src/ui.js';import{UserView as _0x32293e,ConfirmMixin as _0x8078e4,LateFocusDropdownButtonView as _0x35d6e5}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x4c0884}from'./basecommentview.js';import{getTranslation as _0xfaa2bf}from'../../../utils/common-translations.js';function _0x56ab(_0x418055,_0x15726b){const _0x382c8d=_0x382c();return _0x56ab=function(_0x56ab02,_0x46b903){_0x56ab02=_0x56ab02-0x184;let _0x5673f7=_0x382c8d[_0x56ab02];return _0x5673f7;},_0x56ab(_0x418055,_0x15726b);}export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x8078e4(_0x4c0884){[_0x2d0f8a(0x1b4)];[_0x2d0f8a(0x1d2)];constructor(_0x366c14,_0xccfa6f,_0x2c1ed1){const _0x3c4fde=_0x2d0f8a;super(_0x366c14,_0xccfa6f,_0x2c1ed1),this[_0x3c4fde(0x1f2)](_0x3c4fde(0x1b9),null),this[_0x3c4fde(0x1f2)](_0x3c4fde(0x1c7),_0xfaa2bf(_0x366c14,_0x3c4fde(0x18a))),this[_0x3c4fde(0x1eb)](_0x3c4fde(0x1f0))['to'](_0xccfa6f),this[_0x3c4fde(0x1eb)](_0x3c4fde(0x193))['to'](_0xccfa6f),this[_0x3c4fde(0x1b4)]=this[_0x3c4fde(0x1f4)](),this[_0x3c4fde(0x1c3)]||(this[_0x3c4fde(0x1b1)]=this[_0x3c4fde(0x18d)](),this[_0x3c4fde(0x188)]=this[_0x3c4fde(0x1cb)](),this[_0x3c4fde(0x1d4)]=this[_0x3c4fde(0x1f4)](),this[_0x3c4fde(0x1d4)][_0x3c4fde(0x1fd)]([this[_0x3c4fde(0x1b1)],this[_0x3c4fde(0x188)]]),this[_0x3c4fde(0x1f7)]=this[_0x3c4fde(0x1fa)](),this[_0x3c4fde(0x1b4)][_0x3c4fde(0x18e)](this[_0x3c4fde(0x1f7)]),this[_0x3c4fde(0x190)][_0x3c4fde(0x18e)](this[_0x3c4fde(0x1f7)])),this[_0x3c4fde(0x1d2)]=new _0x32293e(_0x366c14,_0xccfa6f[_0x3c4fde(0x1f6)],this[_0x3c4fde(0x1d6)]()),this[_0x3c4fde(0x1d2)][_0x3c4fde(0x1d9)]({'attributes':{'class':[_0x3c4fde(0x1e6),_0x3c4fde(0x1de)],'aria-hidden':!0x0}}),this[_0x3c4fde(0x1e1)](_0xccfa6f,_0x3c4fde(0x1ad),()=>this[_0x3c4fde(0x1a7)]()),this[_0x3c4fde(0x18b)](this[_0x3c4fde(0x186)]());}[_0x2d0f8a(0x186)](){const _0x1a2666=_0x2d0f8a,_0x1256e0=this[_0x1a2666(0x1bc)],_0x345e1e=[{'tag':_0x1a2666(0x194),'attributes':{'class':[_0x1a2666(0x1df),_0x1a2666(0x1ba)]},'children':[{'tag':_0x1a2666(0x1f8),'children':[{'text':this[_0x1a2666(0x1d2)][_0x1a2666(0x1e9)]}],'attributes':{'class':[_0x1a2666(0x187),_0x1a2666(0x1f3)],'data-cke-tooltip-text':this[_0x1a2666(0x1d2)][_0x1a2666(0x1e9)]}},{'tag':_0x1a2666(0x1c0),'attributes':{'datetime':_0x1256e0['to'](_0x1a2666(0x1f0)),'class':[_0x1a2666(0x1d7),_0x1a2666(0x1b3)]},'children':[{'text':_0x1256e0['to'](_0x1a2666(0x1f0),_0x355728=>this[_0x1a2666(0x1f5)][_0x1a2666(0x197)](_0x355728))}]}]},{'tag':_0x1a2666(0x194),'attributes':{'class':[_0x1a2666(0x1a9),_0x1a2666(0x199),_0x1256e0['if'](_0x1a2666(0x1ce),_0x1a2666(0x1ee)),_0x1256e0['if'](_0x1a2666(0x1ce),_0x1a2666(0x1d0))]},'children':this[_0x1a2666(0x1b4)]},{'tag':_0x1a2666(0x194),'attributes':{'class':[_0x1a2666(0x1ac)]},'children':this[_0x1a2666(0x1dd)]},this[_0x1a2666(0x1c8)]];return this[_0x1a2666(0x19f)][_0x1a2666(0x1a0)]&&_0x345e1e[_0x1a2666(0x1cd)]({'tag':_0x1a2666(0x194),'attributes':{'class':[_0x1a2666(0x1ae)]},'children':[{'text':this[_0x1a2666(0x1c5)]()}]}),{'tag':'li','attributes':{'class':[_0x1a2666(0x1aa),_0x1256e0['if'](_0x1a2666(0x1ed),_0x1a2666(0x1d5))],'tabindex':-0x1,'aria-label':_0x1256e0['to'](_0x1a2666(0x1a8)),'aria-describedby':this[_0x1a2666(0x1c8)]['id'],'role':_0x1a2666(0x1a2)},'children':[{'tag':_0x1a2666(0x194),'attributes':{'class':[_0x1a2666(0x19d),_0x1a2666(0x1af),_0x1256e0['if'](_0x1a2666(0x1ce),_0x1a2666(0x1a1)),_0x1256e0['if'](_0x1a2666(0x1c3),_0x1a2666(0x1cf)),_0x1256e0['to'](_0x1a2666(0x1b9),_0x109aaf=>_0x109aaf?_0x1a2666(0x1da)+_0x109aaf:'')],'data-author-id':this[_0x1a2666(0x19f)][_0x1a2666(0x1f6)]['id'],'data-comment-id':this[_0x1a2666(0x19f)]['id'],'role':_0x1a2666(0x1be)},'children':[this[_0x1a2666(0x1d2)],{'tag':_0x1a2666(0x194),'attributes':{'class':[_0x1a2666(0x1dc),_0x1a2666(0x1a5)]},'children':_0x345e1e}]}]};}[_0x2d0f8a(0x18d)](){const _0x9fb614=_0x2d0f8a,_0x2577f6=new _0x49c0b5(this[_0x9fb614(0x1b2)]);return _0x2577f6[_0x9fb614(0x198)]=_0xfaa2bf(this[_0x9fb614(0x1b2)],_0x9fb614(0x1e0)),_0x2577f6[_0x9fb614(0x1b5)]=_0x375a01,_0x2577f6[_0x9fb614(0x1ec)]=!0x0,_0x2577f6[_0x9fb614(0x1d9)]({'attributes':{'class':_0x9fb614(0x1a1)}}),_0x2577f6[_0x9fb614(0x1eb)](_0x9fb614(0x1a6))['to'](this[_0x9fb614(0x19f)],_0x9fb614(0x18f),_0x1549cc=>!_0x1549cc),_0x2577f6[_0x9fb614(0x1eb)](_0x9fb614(0x1a3))['to'](this[_0x9fb614(0x19f)],_0x9fb614(0x1ca)),_0x2577f6['on'](_0x9fb614(0x1fb),()=>this[_0x9fb614(0x185)]()),_0x2577f6;}[_0x2d0f8a(0x1cb)](){const _0x390674=_0x2d0f8a,_0x37699a=new _0x49c0b5(this[_0x390674(0x1b2)]);return _0x37699a[_0x390674(0x198)]=_0xfaa2bf(this[_0x390674(0x1b2)],_0x390674(0x1c1)),_0x37699a[_0x390674(0x1b5)]=_0x1c1773,_0x37699a[_0x390674(0x1ec)]=!0x0,_0x37699a[_0x390674(0x1d9)]({'attributes':{'class':_0x390674(0x1ab)}}),_0x37699a[_0x390674(0x1eb)](_0x390674(0x1a6))['to'](this[_0x390674(0x19f)],_0x390674(0x18f),_0x41f7c7=>!_0x41f7c7),_0x37699a[_0x390674(0x1eb)](_0x390674(0x1a3))['to'](this[_0x390674(0x19f)],_0x390674(0x191)),_0x37699a['on'](_0x390674(0x1fb),()=>{const _0x54a2f1=_0x390674;this[_0x54a2f1(0x1ef)](_0xfaa2bf(this[_0x54a2f1(0x1b2)],_0x54a2f1(0x1b7)),this[_0x54a2f1(0x19e)])[_0x54a2f1(0x1e7)](()=>{const _0xc3743c=_0x54a2f1;this[_0xc3743c(0x18c)](_0xc3743c(0x1d3),this[_0xc3743c(0x19f)]['id']);});}),_0x37699a;}[_0x2d0f8a(0x1fa)](){const _0x2843f8=_0x2d0f8a,_0x27cdd1=_0x283b39(this[_0x2843f8(0x1b2)],_0x35d6e5),_0x410ab7=_0x27cdd1[_0x2843f8(0x1e3)][_0x2843f8(0x1f9)],_0x34d5c8=new _0x1a32f1(this[_0x2843f8(0x1b2)]),_0x3585f5=_0x27cdd1[_0x2843f8(0x1bc)];_0x56c3d4(_0x27cdd1,()=>this[_0x2843f8(0x1d4)][_0x2843f8(0x1e2)](_0x21b3a1=>_0x21b3a1[_0x2843f8(0x1a3)])),_0x27cdd1[_0x2843f8(0x1d9)]({'attributes':{'class':[_0x3585f5['if'](_0x2843f8(0x1a3),_0x2843f8(0x19a),_0x513ae0=>!_0x513ae0)]}});const _0x2af574=(_0x21ce55,_0x1a7d02=-0x1)=>{const _0x3ae21e=_0x2843f8,_0x22ccdd=new _0x3286ca(this[_0x3ae21e(0x1b2)]);_0x22ccdd[_0x3ae21e(0x1f9)][_0x3ae21e(0x18e)](_0x21ce55);const _0x3f71e4=_0x1a7d02>-0x1?_0x1a7d02:_0x34d5c8[_0x3ae21e(0x1d4)][_0x3ae21e(0x1b6)];_0x34d5c8[_0x3ae21e(0x1d4)][_0x3ae21e(0x18e)](_0x22ccdd,_0x3f71e4);const _0x523846=Array[_0x3ae21e(0x1ea)](this[_0x3ae21e(0x1d4)]);_0x27cdd1[_0x3ae21e(0x1c9)](_0x3ae21e(0x1a6),_0x3ae21e(0x1a3)),_0x27cdd1[_0x3ae21e(0x1eb)](_0x3ae21e(0x1a6))[_0x3ae21e(0x1f1)](_0x523846,_0x3ae21e(0x1a6),(..._0x45f97b)=>_0x45f97b[_0x3ae21e(0x1fc)](_0x218104=>_0x218104)),_0x27cdd1[_0x3ae21e(0x1eb)](_0x3ae21e(0x1a3))[_0x3ae21e(0x1f1)](_0x523846,_0x3ae21e(0x1a3),(..._0x2386e4)=>_0x2386e4[_0x3ae21e(0x1fc)](_0x222c6b=>_0x222c6b));};_0x27cdd1[_0x2843f8(0x1e8)]='sw',_0x27cdd1[_0x2843f8(0x1c4)][_0x2843f8(0x1f2)]({'label':_0xfaa2bf(this[_0x2843f8(0x1b2)],_0x2843f8(0x1bd)),'icon':_0x2bb18e});for(const _0x32fb81 of this[_0x2843f8(0x1d4)])_0x2af574(_0x32fb81);return _0x410ab7[_0x2843f8(0x18e)](_0x34d5c8),_0x27cdd1[_0x2843f8(0x1e1)](this[_0x2843f8(0x1d4)],_0x2843f8(0x18e),(_0x20a530,_0x87063a,_0x598978)=>{_0x2af574(_0x87063a,_0x598978);}),_0x27cdd1[_0x2843f8(0x1e1)](this[_0x2843f8(0x1d4)],_0x2843f8(0x1e5),(_0x56ca18,_0x22e09b,_0x3562d7)=>{const _0x1acbf7=_0x2843f8;_0x34d5c8[_0x1acbf7(0x1d4)][_0x1acbf7(0x1e5)](_0x3562d7);}),_0x27cdd1;}[_0x2d0f8a(0x195)](_0x260da0,_0x20d7ef){const _0x1b25a7=_0x2d0f8a,_0x495406=_0x260da0&&_0x260da0[_0x1b25a7(0x19e)];_0x495406&&(this[_0x1b25a7(0x1e1)](_0x495406,_0x1b25a7(0x1c2),()=>this[_0x1b25a7(0x1b9)]=_0x20d7ef),this[_0x1b25a7(0x1e1)](_0x495406,_0x1b25a7(0x196),()=>this[_0x1b25a7(0x1b9)]=_0x20d7ef),this[_0x1b25a7(0x1e1)](_0x495406,_0x1b25a7(0x1b8),()=>this[_0x1b25a7(0x1b9)]=null),this[_0x1b25a7(0x1e1)](_0x495406,_0x1b25a7(0x184),()=>this[_0x1b25a7(0x1b9)]=null));}[_0x2d0f8a(0x1bf)](){const _0x4e3995=_0x2d0f8a,_0x349c4f=super[_0x4e3995(0x1bf)]();return _0x349c4f[_0x4e3995(0x1eb)](_0x4e3995(0x1c7))['to'](this),_0x349c4f;}[_0x2d0f8a(0x1c6)](){const _0x3d1c14=_0x2d0f8a;super[_0x3d1c14(0x1c6)](),this[_0x3d1c14(0x195)](this[_0x3d1c14(0x1b1)],_0x3d1c14(0x1d1)),this[_0x3d1c14(0x195)](this[_0x3d1c14(0x188)],_0x3d1c14(0x1e5));}}function _0x382c(){const _0x2e4f12=['panelPosition','name','from','bind','withText','isConfirm','ck-comment__actions--hidden','showConfirm','authoredAt','toMany','set','ck-annotation__info-name','createCollection','_config','author','dropdown','span','children','_createDropdown','execute','some','addMany','blur','switchToEditMode','getTemplate','ck-comment__info-name','removeButton','360350TXkznI','Reply...','setTemplate','fire','_createEditButton','add','isReadOnly','focusables','isRemovable','4036015dHTMNn','resolvedAt','div','_attachActions','focus','formatDateTime','label','ck-annotation__actions','ck-hidden','4EmdgLG','6MKWehm','ck-comment','element','_model','isExternal','ck-comment--edit','listitem','isVisible','11260403QqcnyJ','ck-annotation__main','isEnabled','cancelConfirm','ariaLabel','ck-comment__actions','ck-comment__wrapper','ck-comment--remove','ck-annotation__content-wrapper','change:isRemovable','ck-comment__external','ck-annotation','15731232kVftoa','editButton','locale','ck-annotation__info-time','actionBar','icon','length','Delete\x20comment?','mouseleave','actionIndicator','ck-annotation__info','4186870yMyAao','bindTemplate','Show\x20more\x20items','group','_createCommentInputView','time','Remove','mouseenter','isSystemComment','buttonView','getExternalCommentNote','render','placeholder','ariaDescriptionView','unbind','isEditable','_createRemoveButton','575733HhxXtT','push','isEditMode','ck-comment--info','ck-annotation__actions--hidden','edit','userView','removeComment','items','ck-comment--remove-confirmation','getUserViewNotificationText','ck-comment__info-time','429606HYbvfS','extendTemplate','ck-comment--','5kZyvjc','ck-comment__main','visibleView','ck-annotation__user','ck-comment__info','Edit','listenTo','find','panelView','208tWBjAN','remove','ck-comment__user','then'];_0x382c=function(){return _0x2e4f12;};return _0x382c();}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x144d56=_0x5e3b;function _0x3c92(){var _0x375819=['pluginName','4uHINWo','1188051VhrNgS','6291nJEKZo','isPremiumPlugin','1094856lSmFbk','32260RCOkof','1148ewuMcN','328700YXNCRE','isOfficialPlugin','77960eEcFXH','1032746ewaHbN','requires','Comments','75204sQgJcq'];_0x3c92=function(){return _0x375819;};return _0x3c92();}(function(_0x488e07,_0x4cd969){var _0xf0c694=_0x5e3b,_0x28ffdb=_0x488e07();while(!![]){try{var _0x1b5952=parseInt(_0xf0c694(0xed))/0x1+-parseInt(_0xf0c694(0xe4))/0x2+parseInt(_0xf0c694(0xea))/0x3*(-parseInt(_0xf0c694(0xe9))/0x4)+parseInt(_0xf0c694(0xe1))/0x5+-parseInt(_0xf0c694(0xe7))/0x6+-parseInt(_0xf0c694(0xef))/0x7*(parseInt(_0xf0c694(0xe3))/0x8)+-parseInt(_0xf0c694(0xeb))/0x9*(-parseInt(_0xf0c694(0xee))/0xa);if(_0x1b5952===_0x4cd969)break;else _0x28ffdb['push'](_0x28ffdb['shift']());}catch(_0x113fac){_0x28ffdb['push'](_0x28ffdb['shift']());}}}(_0x3c92,0xd9e32));import{Plugin as _0x1c6c15}from'ckeditor5/src/core.js';import{CommentsRepository as _0x30ada6}from'./comments/commentsrepository.js';import{CommentsEditing as _0x3cab9f}from'./comments/commentsediting.js';import{CommentsUI as _0x376bc1}from'./comments/commentsui.js';import{CommentsOnly as _0x4f1fe4}from'./commentsonly.js';import{WideSidebar as _0x3d843d}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x15436e}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x292708}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x23a221}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x36a6df}from'./comments/commentsarchive.js';function _0x5e3b(_0x117e59,_0x2703ab){var _0x3c9238=_0x3c92();return _0x5e3b=function(_0x5e3b22,_0x29356a){_0x5e3b22=_0x5e3b22-0xe1;var _0x268ee3=_0x3c9238[_0x5e3b22];return _0x268ee3;},_0x5e3b(_0x117e59,_0x2703ab);}export class Comments extends _0x1c6c15{static get[_0x144d56(0xe5)](){return[_0x30ada6,_0x3cab9f,_0x376bc1,_0x36a6df,_0x23a221,_0x4f1fe4,_0x3d843d,_0x15436e,_0x292708];}static get[_0x144d56(0xe8)](){var _0x101545=_0x144d56;return _0x101545(0xe6);}static get[_0x144d56(0xe2)](){return!0x0;}static get[_0x144d56(0xec)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ce4b7=_0x6d04;(function(_0x47df46,_0x10c98f){const _0x53f4df=_0x6d04,_0x4dcde6=_0x47df46();while(!![]){try{const _0x62e0cb=-parseInt(_0x53f4df(0x141))/0x1*(parseInt(_0x53f4df(0x14a))/0x2)+parseInt(_0x53f4df(0x144))/0x3+-parseInt(_0x53f4df(0x158))/0x4*(-parseInt(_0x53f4df(0x151))/0x5)+-parseInt(_0x53f4df(0x14e))/0x6+-parseInt(_0x53f4df(0x162))/0x7*(parseInt(_0x53f4df(0x160))/0x8)+-parseInt(_0x53f4df(0x150))/0x9*(parseInt(_0x53f4df(0x14d))/0xa)+-parseInt(_0x53f4df(0x14f))/0xb*(-parseInt(_0x53f4df(0x149))/0xc);if(_0x62e0cb===_0x10c98f)break;else _0x4dcde6['push'](_0x4dcde6['shift']());}catch(_0x465d2a){_0x4dcde6['push'](_0x4dcde6['shift']());}}}(_0xa3de,0x9baf8));function _0x6d04(_0x5607aa,_0x5b8a85){const _0xa3decc=_0xa3de();return _0x6d04=function(_0x6d0499,_0x2292d7){_0x6d0499=_0x6d0499-0x139;let _0xf09904=_0xa3decc[_0x6d0499];return _0xf09904;},_0x6d04(_0x5607aa,_0x5b8a85);}import{Plugin as _0x5a5414}from'ckeditor5/src/core.js';import{CommentsEditing as _0x5e7d4e}from'./comments/commentsediting.js';export class CommentsOnly extends _0x5a5414{static get[_0x1ce4b7(0x168)](){const _0x3652db=_0x1ce4b7;return _0x3652db(0x140);}static get[_0x1ce4b7(0x164)](){return!0x0;}static get[_0x1ce4b7(0x143)](){return!0x0;}static get[_0x1ce4b7(0x159)](){return[_0x5e7d4e];}constructor(_0x56c77b){const _0x2838b0=_0x1ce4b7;super(_0x56c77b),this[_0x2838b0(0x154)](_0x2838b0(0x145),!0x1),this['on'](_0x2838b0(0x156),(_0x643d9f,_0x57070f,_0x2ff85b)=>{const _0x4ae9a1=_0x2838b0;_0x2ff85b?this[_0x4ae9a1(0x14c)]():this[_0x4ae9a1(0x146)]();});}[_0x1ce4b7(0x142)](){const _0x485707=_0x1ce4b7;!this[_0x485707(0x145)]&&this[_0x485707(0x15a)][_0x485707(0x147)][_0x485707(0x161)](_0x485707(0x14b))&&(this[_0x485707(0x145)]=!0x0);}[_0x1ce4b7(0x14c)](){const _0x3f7628=_0x1ce4b7;for(const [_0x45d10d,_0x7e3192]of this[_0x3f7628(0x15a)][_0x3f7628(0x163)])_0x7e3192[_0x3f7628(0x153)]&&_0x3f7628(0x15c)!==_0x45d10d&&_0x7e3192[_0x3f7628(0x15d)](_0x3f7628(0x13c));(this[_0x3f7628(0x15a)][_0x3f7628(0x13b)][_0x3f7628(0x152)](_0x3f7628(0x13d))&&this[_0x3f7628(0x15a)][_0x3f7628(0x13b)][_0x3f7628(0x161)](_0x3f7628(0x13d))[_0x3f7628(0x15d)](_0x3f7628(0x13c)),this[_0x3f7628(0x15a)][_0x3f7628(0x13b)][_0x3f7628(0x152)](_0x3f7628(0x15e)))&&this[_0x3f7628(0x15a)][_0x3f7628(0x13b)][_0x3f7628(0x161)](_0x3f7628(0x15e))[_0x3f7628(0x15d)](_0x3f7628(0x13c));this[_0x3f7628(0x15a)][_0x3f7628(0x163)][_0x3f7628(0x161)](_0x3f7628(0x15b))?.[_0x3f7628(0x15d)](_0x3f7628(0x13c));const _0x34f594=this[_0x3f7628(0x15a)][_0x3f7628(0x165)][_0x3f7628(0x155)][_0x3f7628(0x166)];this[_0x3f7628(0x15f)](_0x34f594,_0x3f7628(0x148),_0x31aee1=>_0x31aee1[_0x3f7628(0x13f)](),{'priority':_0x3f7628(0x139)}),this[_0x3f7628(0x15f)](_0x34f594,_0x3f7628(0x167),_0x5a2793=>_0x5a2793[_0x3f7628(0x13f)](),{'priority':_0x3f7628(0x139)}),this[_0x3f7628(0x15f)](_0x34f594,_0x3f7628(0x13e),_0x3b9f5e=>_0x3b9f5e[_0x3f7628(0x13f)](),{'priority':_0x3f7628(0x139)});}[_0x1ce4b7(0x146)](){const _0x3b47fa=_0x1ce4b7;for(const [_0x4b3ccd,_0x4aa334]of this[_0x3b47fa(0x15a)][_0x3b47fa(0x163)])_0x4aa334[_0x3b47fa(0x153)]&&_0x3b47fa(0x15c)!==_0x4b3ccd&&_0x4aa334[_0x3b47fa(0x13a)](_0x3b47fa(0x13c));this[_0x3b47fa(0x15a)][_0x3b47fa(0x13b)][_0x3b47fa(0x152)](_0x3b47fa(0x15e))&&this[_0x3b47fa(0x15a)][_0x3b47fa(0x13b)][_0x3b47fa(0x161)](_0x3b47fa(0x15e))[_0x3b47fa(0x13a)](_0x3b47fa(0x13c)),this[_0x3b47fa(0x15a)][_0x3b47fa(0x163)][_0x3b47fa(0x161)](_0x3b47fa(0x15b))?.[_0x3b47fa(0x13a)](_0x3b47fa(0x13c)),this[_0x3b47fa(0x157)](this[_0x3b47fa(0x15a)][_0x3b47fa(0x165)][_0x3b47fa(0x155)][_0x3b47fa(0x166)]);}}function _0xa3de(){const _0x5905c3=['clipboardInput','pluginName','highest','clearForceDisabled','plugins','commentsOnlyMode','DragDrop','delete','stop','CommentsOnly','190xkGVWe','afterInit','isPremiumPlugin','3478755mvCIyn','isEnabled','_disableCommentsOnlyMode','config','cut','1788hzNDmM','4360AlyVsk','commentsOnly','_enableCommentsOnlyMode','463510HIbvey','1919700LPPFjN','17116vVUJqy','117kZvXIU','1458445CclXnq','has','affectsData','set','view','change:isEnabled','stopListening','12HzvIKp','requires','editor','editSource','addCommentThread','forceDisabled','SourceEditing','listenTo','259640sxeKxs','get','63cFPugR','commands','isOfficialPlugin','editing','document'];_0xa3de=function(){return _0x5905c3;};return _0xa3de();}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2bbd(_0x6c8f8,_0x5e72b3){var _0x3b1706=_0x3b17();return _0x2bbd=function(_0x2bbde7,_0x5a7b6d){_0x2bbde7=_0x2bbde7-0xfe;var _0x53ec46=_0x3b1706[_0x2bbde7];return _0x53ec46;},_0x2bbd(_0x6c8f8,_0x5e72b3);}(function(_0x508770,_0x1a3d73){var _0x1b5afe=_0x2bbd,_0x326302=_0x508770();while(!![]){try{var _0x25d38d=parseInt(_0x1b5afe(0x108))/0x1*(parseInt(_0x1b5afe(0x105))/0x2)+parseInt(_0x1b5afe(0x104))/0x3+-parseInt(_0x1b5afe(0xff))/0x4*(parseInt(_0x1b5afe(0x109))/0x5)+-parseInt(_0x1b5afe(0x103))/0x6*(parseInt(_0x1b5afe(0x106))/0x7)+-parseInt(_0x1b5afe(0x102))/0x8*(parseInt(_0x1b5afe(0x101))/0x9)+-parseInt(_0x1b5afe(0xfe))/0xa*(parseInt(_0x1b5afe(0x100))/0xb)+parseInt(_0x1b5afe(0x107))/0xc;if(_0x25d38d===_0x1a3d73)break;else _0x326302['push'](_0x326302['shift']());}catch(_0x3e3bee){_0x326302['push'](_0x326302['shift']());}}}(_0x3b17,0x63011));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';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';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';function _0x3b17(){var _0x13743c=['12554436gdUAkX','1vdpbIb','675WNHtDK','30tTNFpE','14684eOBQlh','1380203PWcoQQ','68139dCbYpN','184GGaeQW','6igMFgt','1732695tCkUrS','244554BNWhLD','2060709iHTsyV'];_0x3b17=function(){return _0x13743c;};return _0x3b17();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x11ab5a,_0xbf05e6,_0x464552){const t=_0x11ab5a['t'];switch(_0xbf05e6){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'},_0x464552);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'},_0x464552);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'},_0x464552);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'},_0x464552);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x464552);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'},_0x464552);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'},_0x464552);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'},_0x464552);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});case'COMMENTS_ARCHIVE_LIST_LABEL':return t({'string':'List\x20of\x20comments','id':'COMMENTS_ARCHIVE_LIST_LABEL'});case'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':return t({'string':'Keystrokes\x20for\x20interacting\x20with\x20annotation\x20threads\x20(e.g.\x20comments,\x20track\x20changes\x20suggestions)','id':'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'});case'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':return t({'string':'Move\x20focus\x20to\x20the\x20thread\x20when\x20the\x20selection\x20is\x20anchored\x20in\x20its\x20marker','id':'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'});case'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':return t({'string':'Exit\x20the\x20annotation\x20and\x20move\x20focus\x20back\x20to\x20the\x20edited\x20content','id':'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':return t({'string':'Browse\x20the\x20focused\x20annotation\x20thread\x20or\x20thread\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'});case'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':return t({'string':'Move\x20across\x20internals\x20of\x20the\x20annotation\x20thread','id':'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'});case'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':return t({'string':'Submit\x20the\x20reply\x20while\x20writing\x20a\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':return t({'string':'Move\x20to\x20the\x20previous\x20or\x20next\x20thread\x20in\x20the\x20annotations\x20sidebar\x20or\x20comments\x20archive','id':'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'});default:return'';}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4720fe,_0x2dd528){const _0x4883cf=_0x4c99,_0x163d61=_0x4720fe();while(!![]){try{const _0x4775cf=parseInt(_0x4883cf(0x9b))/0x1*(-parseInt(_0x4883cf(0xa2))/0x2)+parseInt(_0x4883cf(0x95))/0x3*(-parseInt(_0x4883cf(0xa1))/0x4)+-parseInt(_0x4883cf(0x9d))/0x5+-parseInt(_0x4883cf(0x9e))/0x6*(-parseInt(_0x4883cf(0xa3))/0x7)+parseInt(_0x4883cf(0xa7))/0x8+parseInt(_0x4883cf(0x96))/0x9+parseInt(_0x4883cf(0xa0))/0xa*(parseInt(_0x4883cf(0xa4))/0xb);if(_0x4775cf===_0x2dd528)break;else _0x163d61['push'](_0x163d61['shift']());}catch(_0x43381b){_0x163d61['push'](_0x163d61['shift']());}}}(_0x6ece,0xe15f6));function _0x4c99(_0x44cd9c,_0x549241){const _0x6ecefb=_0x6ece();return _0x4c99=function(_0x4c9970,_0x5d81b4){_0x4c9970=_0x4c9970-0x94;let _0x561064=_0x6ecefb[_0x4c9970];return _0x561064;},_0x4c99(_0x44cd9c,_0x549241);}import{throttle as _0x3730db}from'es-toolkit/compat';function _0x6ece(){const _0x12caac=['11259jDuVux','5910750SDWyGv','childList','class','disconnect','type','1811kbwEKs','observe','4782385kdjnYo','128550ysfnQx','attributes','4468840LDOEzD','388bAkpch','1388BoWlgN','28udXbKk','33OCobmk','attributeName','cancel','11339008eHzGGN','characterData'];_0x6ece=function(){return _0x12caac;};return _0x6ece();}export function createMutationObserver(_0x43857c){const _0x2bccd0=_0x3730db(_0x43857c,0x1e),_0x19d0ff=new MutationObserver(_0x4e52d1=>{const _0x237eae=_0x4c99;for(const _0xbcc4d6 of _0x4e52d1)(_0x237eae(0x9f)==_0xbcc4d6[_0x237eae(0x9a)]&&_0x237eae(0x98)==_0xbcc4d6[_0x237eae(0xa5)]||_0x237eae(0x97)==_0xbcc4d6[_0x237eae(0x9a)]||_0x237eae(0x94)==_0xbcc4d6[_0x237eae(0x9a)])&&_0x2bccd0();});return{'attach'(_0x741aa2){const _0x5cf404=_0x4c99;_0x19d0ff[_0x5cf404(0x9c)](_0x741aa2,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x410c97=_0x4c99;_0x19d0ff[_0x410c97(0x99)](),_0x2bccd0[_0x410c97(0xa6)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x5b919b,_0x3b672b){const _0x5a72a7=_0x5c3e,_0x2c76cf=_0x5b919b();while(!![]){try{const _0x4b41c1=parseInt(_0x5a72a7(0xf7))/0x1*(-parseInt(_0x5a72a7(0xf1))/0x2)+parseInt(_0x5a72a7(0xef))/0x3+-parseInt(_0x5a72a7(0xf9))/0x4*(parseInt(_0x5a72a7(0xf8))/0x5)+-parseInt(_0x5a72a7(0xf6))/0x6*(-parseInt(_0x5a72a7(0xf0))/0x7)+-parseInt(_0x5a72a7(0xf4))/0x8+-parseInt(_0x5a72a7(0xf3))/0x9+parseInt(_0x5a72a7(0xf5))/0xa;if(_0x4b41c1===_0x3b672b)break;else _0x2c76cf['push'](_0x2c76cf['shift']());}catch(_0xc4496a){_0x2c76cf['push'](_0x2c76cf['shift']());}}}(_0x2079,0x6ca42));function _0x5c3e(_0x3b5954,_0x3e90fc){const _0x2079f5=_0x2079();return _0x5c3e=function(_0x5c3ed7,_0x2f5b2e){_0x5c3ed7=_0x5c3ed7-0xef;let _0x403cae=_0x2079f5[_0x5c3ed7];return _0x403cae;},_0x5c3e(_0x3b5954,_0x3e90fc);}export function splitMarkerName(_0x34f7ba){const _0x495f8b=_0x5c3e,_0xb2cc32=_0x34f7ba[_0x495f8b(0xf2)](':');return{'group':_0xb2cc32[0x0],'id':_0xb2cc32[0x1],'part':_0xb2cc32[0x2]};}function _0x2079(){const _0x571f37=['2410551IEYUSM','70gzvKyd','25238OQQHdh','split','4311567ZXcmnv','1103496kGWCtn','7532600FxfTep','308082Xogqpg','28pSFvrl','6865UTTnoV','1908CDfdvL'];_0x2079=function(){return _0x571f37;};return _0x2079();}
|