@ckeditor/ckeditor5-comments 46.1.0-alpha.0 → 46.1.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 +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 _0x568fc3=_0x37fc;(function(_0x53a7cb,_0x16dac1){const _0x27a7f4=_0x37fc,_0x14ceda=_0x53a7cb();while(!![]){try{const _0x3a237d=parseInt(_0x27a7f4(0x175))/0x1+-parseInt(_0x27a7f4(0x161))/0x2*(parseInt(_0x27a7f4(0x19c))/0x3)+parseInt(_0x27a7f4(0x1ad))/0x4*(-parseInt(_0x27a7f4(0x183))/0x5)+-parseInt(_0x27a7f4(0x179))/0x6+parseInt(_0x27a7f4(0x1b9))/0x7*(parseInt(_0x27a7f4(0x171))/0x8)+-parseInt(_0x27a7f4(0x170))/0x9*(-parseInt(_0x27a7f4(0x186))/0xa)+-parseInt(_0x27a7f4(0x1a7))/0xb;if(_0x3a237d===_0x16dac1)break;else _0x14ceda['push'](_0x14ceda['shift']());}catch(_0x13fb17){_0x14ceda['push'](_0x14ceda['shift']());}}}(_0x211c,0x5b9f7));import{View as _0x383709,FocusCycler as _0x31a22e}from'ckeditor5/src/ui.js';import{diff as _0x544d5a,Collection as _0x7c6017,FocusTracker as _0x538d08,KeystrokeHandler as _0xe7dbe5}from'ckeditor5/src/utils.js';import{getTranslation as _0x898355}from'../../../utils/common-translations.js';function _0x211c(){const _0x263b98=['resolvedBy','change:isResolved','expand','maxThreadTotalWeight','keystrokes','arrowup','555tTzQAs','change:isActive','resolveCommentThread','_calculatePosition','element','setTemplate','delegate','comments','_rearrangeCollapse','_updateHasDirtyComment','CommentView','11172876FVYWTc','editorConfig','focus','isEditMode','_config','bind','4JpGovV','target','equal','maxCommentCharsWhenCollapsed','get','ck-hidden','bindTemplate','viewUid','ck-thread__comments','destroy','removed','delete','334642AsNhBM','_setupKeyboardNavigation','add','_findOptimalIndex','maxCommentsWhenCollapsed','authoredAt','focusFirst','length','arrowdown','count','302BkvQra','forEach','locale','render','remove','insert','change:hasDirtyComment','change:isEditMode','refreshVisibleViews','from','some','reverse','_handleRemoveCommentModel','hasDirtyComment','map','466965QncQLL','88xXjSKi','resolvedCommentView','focusTracker','stopListening','485327gyAlrp','Marked\x20as\x20resolved','set','commentViews','582288XcoVBM','focusCycler','removeComment','weight','commentUpdated','_handleNewCommentModel','collapse','includes','_collapsedCommentsView','_rearrangeExpand','70285coltUH','updateComment','change','100OLrvFE','added','resolvedAt','editorReady','_model','_handleInfoComment','listenTo','_shouldCollapse','focusLast','editorDestroyed','isActive','createCollection','resolved','visibleViews','formatDateTime','Thread\x20comments'];_0x211c=function(){return _0x263b98;};return _0x211c();}import{CollapsedCommentsView as _0x4aaa67}from'./collapsedcommentsview.js';export class CommentsListView extends _0x383709{[_0x568fc3(0x178)];[_0x568fc3(0x172)];[_0x568fc3(0x173)];[_0x568fc3(0x19a)];[_0x568fc3(0x17a)];[_0x568fc3(0x18a)];[_0x568fc3(0x1ab)];[_0x568fc3(0x181)];constructor(_0x23ba26,_0x1cead4,_0x353696){const _0x10ef03=_0x568fc3;super(_0x23ba26);const _0x2e5aae=this[_0x10ef03(0x1b3)];this[_0x10ef03(0x177)](_0x10ef03(0x16e),!0x1),this[_0x10ef03(0x177)](_0x10ef03(0x1c0),_0x1cead4[_0x10ef03(0x1a3)][_0x10ef03(0x1c0)]),this[_0x10ef03(0x177)](_0x10ef03(0x190),!0x1),this[_0x10ef03(0x18a)]=_0x1cead4,this[_0x10ef03(0x1ab)]=_0x353696,this[_0x10ef03(0x178)]=this[_0x10ef03(0x191)](),this[_0x10ef03(0x193)]=this[_0x10ef03(0x191)](),this[_0x10ef03(0x172)]=null,this[_0x10ef03(0x173)]=new _0x538d08(),this[_0x10ef03(0x19a)]=new _0xe7dbe5(),this[_0x10ef03(0x17a)]=new _0x31a22e({'focusables':this[_0x10ef03(0x178)],'focusTracker':this[_0x10ef03(0x173)],'keystrokeHandler':this[_0x10ef03(0x19a)],'keystrokeHandlerOptions':{'filter':_0x360392=>this[_0x10ef03(0x178)][_0x10ef03(0x16f)](_0x39baf3=>_0x39baf3[_0x10ef03(0x1a0)])[_0x10ef03(0x180)](_0x360392[_0x10ef03(0x1ae)])},'actions':{'focusPrevious':_0x10ef03(0x19b),'focusNext':_0x10ef03(0x1c1)}}),this[_0x10ef03(0x181)]=new _0x4aaa67(_0x23ba26),this[_0x10ef03(0x181)][_0x10ef03(0x1ac)](_0x10ef03(0x160))['to'](this,_0x10ef03(0x1c0),_0x498231=>_0x498231-this[_0x10ef03(0x1ab)][_0x10ef03(0x1bd)]);for(const _0x1b525b of _0x1cead4[_0x10ef03(0x1a3)])this[_0x10ef03(0x17e)](_0x1b525b);this[_0x10ef03(0x18b)](),this[_0x10ef03(0x18c)](_0x1cead4[_0x10ef03(0x1a3)],_0x10ef03(0x1bb),(_0x3f783c,_0x53c5b1)=>{const _0x2d39e1=_0x10ef03,_0x5aaae6=this[_0x2d39e1(0x19f)](_0x53c5b1);this[_0x2d39e1(0x1c0)]++,this[_0x2d39e1(0x17e)](_0x53c5b1,_0x5aaae6),this[_0x2d39e1(0x169)]();}),this[_0x10ef03(0x18c)](_0x1cead4[_0x10ef03(0x1a3)],_0x10ef03(0x165),(_0xa6df75,_0xba534c)=>{const _0x366803=_0x10ef03;this[_0x366803(0x1c0)]--,this[_0x366803(0x16d)](_0xba534c),this[_0x366803(0x169)]();}),this[_0x10ef03(0x18c)](_0x1cead4,_0x10ef03(0x17d),()=>this[_0x10ef03(0x169)]()),this[_0x10ef03(0x18c)](_0x1cead4,_0x10ef03(0x197),()=>this[_0x10ef03(0x18b)]()),this['on'](_0x10ef03(0x19d),()=>this[_0x10ef03(0x169)]()),this['on'](_0x10ef03(0x167),()=>this[_0x10ef03(0x169)]()),this[_0x10ef03(0x1a1)]({'tag':'ul','attributes':{'class':[_0x10ef03(0x1b5),_0x2e5aae['if'](_0x10ef03(0x1c0),_0x10ef03(0x1b2),_0x115ae2=>!_0x115ae2)],'aria-label':_0x898355(_0x23ba26,_0x10ef03(0x195))},'children':this[_0x10ef03(0x193)]});}get[_0x568fc3(0x18d)](){const _0x4251e3=_0x568fc3;return this[_0x4251e3(0x18a)][_0x4251e3(0x17c)]>this[_0x4251e3(0x1ab)][_0x4251e3(0x199)]&&!this[_0x4251e3(0x190)]&&!this[_0x4251e3(0x16e)];}[_0x568fc3(0x164)](){const _0x1a6a46=_0x568fc3;super[_0x1a6a46(0x164)](),this[_0x1a6a46(0x169)](),this[_0x1a6a46(0x1ba)]();}[_0x568fc3(0x1a9)](_0x465334){const _0x4a1f32=_0x568fc3;-0x1===_0x465334?this[_0x4a1f32(0x17a)][_0x4a1f32(0x18e)]():this[_0x4a1f32(0x17a)][_0x4a1f32(0x1bf)]();}[_0x568fc3(0x1b6)](){const _0x1d5f82=_0x568fc3;this[_0x1d5f82(0x181)][_0x1d5f82(0x1b6)]();for(const _0x494b05 of this[_0x1d5f82(0x178)])_0x494b05[_0x1d5f82(0x1b6)]();super[_0x1d5f82(0x1b6)]();}[_0x568fc3(0x169)](){const _0x780396=_0x568fc3;this[_0x780396(0x18d)]?this[_0x780396(0x1a4)]():this[_0x780396(0x182)]();}[_0x568fc3(0x17e)](_0x49770c,_0x17fb4b){const _0xe41010=_0x568fc3,_0x58b841=new this[(_0xe41010(0x1ab))][(_0xe41010(0x1a6))](this[_0xe41010(0x163)],_0x49770c,{'maxCommentCharsWhenCollapsed':this[_0xe41010(0x1ab)][_0xe41010(0x1b0)],'formatDateTime':this[_0xe41010(0x1ab)][_0xe41010(0x194)],'editorConfig':this[_0xe41010(0x1ab)][_0xe41010(0x1a8)]});_0x58b841[_0xe41010(0x1b4)]=_0x49770c['id'],_0x58b841[_0xe41010(0x1a2)](_0xe41010(0x17b))['to'](this),_0x58b841[_0xe41010(0x1a2)](_0xe41010(0x184))['to'](this),_0x58b841[_0xe41010(0x1a2)](_0xe41010(0x19e))['to'](this),_0x58b841[_0xe41010(0x1a2)](_0xe41010(0x189))['to'](this),_0x58b841[_0xe41010(0x1a2)](_0xe41010(0x18f))['to'](this),this[_0xe41010(0x18c)](_0x58b841,_0xe41010(0x168),()=>this[_0xe41010(0x1a5)]()),this[_0xe41010(0x178)][_0xe41010(0x1bb)](_0x58b841,_0x17fb4b);}[_0x568fc3(0x19f)](_0x209d7a){const _0x1ea43c=_0x568fc3,_0x27d120=this[_0x1ea43c(0x18a)][_0x1ea43c(0x1bc)](_0x209d7a);return this[_0x1ea43c(0x172)]?this[_0x1ea43c(0x172)][_0x1ea43c(0x1be)]>_0x209d7a[_0x1ea43c(0x1be)]?_0x27d120-0x1:_0x27d120:_0x27d120-0x1;}[_0x568fc3(0x18b)](){const _0x3136ea=_0x568fc3;if(this[_0x3136ea(0x18a)][_0x3136ea(0x196)]&&this[_0x3136ea(0x18a)][_0x3136ea(0x188)]){const _0x495b36={'id':_0x3136ea(0x192),'author':this[_0x3136ea(0x18a)][_0x3136ea(0x196)],'authoredAt':this[_0x3136ea(0x18a)][_0x3136ea(0x188)],'content':_0x898355(this[_0x3136ea(0x163)],_0x3136ea(0x176)),'attributes':{}};this[_0x3136ea(0x172)]=new this[(_0x3136ea(0x1ab))][(_0x3136ea(0x1a6))](this[_0x3136ea(0x163)],_0x495b36,{'maxCommentCharsWhenCollapsed':this[_0x3136ea(0x1ab)][_0x3136ea(0x1b0)],'formatDateTime':this[_0x3136ea(0x1ab)][_0x3136ea(0x194)],'editorConfig':this[_0x3136ea(0x1ab)][_0x3136ea(0x1a8)],'isSystemComment':!0x0}),this[_0x3136ea(0x178)][_0x3136ea(0x1bb)](this[_0x3136ea(0x172)],this[_0x3136ea(0x18a)][_0x3136ea(0x1bc)](_0x495b36));}else this[_0x3136ea(0x172)]&&(this[_0x3136ea(0x178)][_0x3136ea(0x165)](this[_0x3136ea(0x172)]),this[_0x3136ea(0x172)][_0x3136ea(0x1b6)](),this[_0x3136ea(0x172)]=null);this[_0x3136ea(0x169)]();}[_0x568fc3(0x16d)](_0x506e95){const _0x3c37a7=_0x568fc3,_0x148291=this[_0x3c37a7(0x178)][_0x3c37a7(0x165)](_0x506e95['id']);this[_0x3c37a7(0x174)](_0x148291),_0x148291[_0x3c37a7(0x1aa)]&&this[_0x3c37a7(0x1a5)](),_0x148291[_0x3c37a7(0x1b6)]();}[_0x568fc3(0x1a5)](){const _0xcf3449=_0x568fc3;this[_0xcf3449(0x16e)]=Array[_0xcf3449(0x16a)](this[_0xcf3449(0x178)])[_0xcf3449(0x16b)](_0xff43f=>_0xff43f[_0xcf3449(0x1aa)]);}[_0x568fc3(0x1a4)](){const _0x165a5d=_0x568fc3,_0x3e3ea7=function(_0xd509e1){const _0x49bbb4=_0x37fc,_0x1552d5=new _0x7c6017();for(const _0x401f03 of _0xd509e1)_0x1552d5[_0x49bbb4(0x1bb)](_0x401f03);return _0x1552d5;}(this[_0x165a5d(0x178)]),_0x261231=this[_0x165a5d(0x181)][_0x165a5d(0x160)];for(let _0x1008d7=0x1;_0x1008d7<=_0x261231;_0x1008d7++)_0x3e3ea7[_0x165a5d(0x165)](0x1);for(const _0x7a3e8d of _0x3e3ea7)_0x7a3e8d[_0x165a5d(0x17f)]();_0x261231>0x0&&_0x3e3ea7[_0x165a5d(0x1bb)](this[_0x165a5d(0x181)],0x1),ns(_0x544d5a(Array[_0x165a5d(0x16a)](this[_0x165a5d(0x193)]),Array[_0x165a5d(0x16a)](_0x3e3ea7)),this[_0x165a5d(0x193)],_0x3e3ea7);}[_0x568fc3(0x182)](){const _0x176cb5=_0x568fc3;ns(_0x544d5a(Array[_0x176cb5(0x16a)](this[_0x176cb5(0x193)]),Array[_0x176cb5(0x16a)](this[_0x176cb5(0x178)])),this[_0x176cb5(0x193)],this[_0x176cb5(0x178)]);for(const _0xf47d08 of this[_0x176cb5(0x193)])_0xf47d08[_0x176cb5(0x198)]();}[_0x568fc3(0x1ba)](){const _0x45d5c4=_0x568fc3;this[_0x45d5c4(0x178)][_0x45d5c4(0x162)](_0x2a902a=>{const _0x37a93d=_0x45d5c4;this[_0x37a93d(0x173)][_0x37a93d(0x1bb)](_0x2a902a[_0x37a93d(0x1a0)]),this[_0x37a93d(0x19a)][_0x37a93d(0x18c)](_0x2a902a[_0x37a93d(0x1a0)]);}),this[_0x45d5c4(0x178)]['on'](_0x45d5c4(0x185),(_0x3b9ce5,_0x26374f)=>{const _0x41549a=_0x45d5c4;for(const _0x34ca8a of _0x26374f[_0x41549a(0x1b7)])this[_0x41549a(0x173)][_0x41549a(0x165)](_0x34ca8a[_0x41549a(0x1a0)]),this[_0x41549a(0x19a)][_0x41549a(0x174)](_0x34ca8a[_0x41549a(0x1a0)]);for(const _0x4b8687 of Array[_0x41549a(0x16a)](_0x26374f[_0x41549a(0x187)])[_0x41549a(0x16c)]())this[_0x41549a(0x173)][_0x41549a(0x1bb)](_0x4b8687[_0x41549a(0x1a0)]),this[_0x41549a(0x19a)][_0x41549a(0x18c)](_0x4b8687[_0x41549a(0x1a0)]);});}}function _0x37fc(_0x3153df,_0x4a9fc4){const _0x211ce7=_0x211c();return _0x37fc=function(_0x37fca1,_0x149214){_0x37fca1=_0x37fca1-0x160;let _0x8162e4=_0x211ce7[_0x37fca1];return _0x8162e4;},_0x37fc(_0x3153df,_0x4a9fc4);}function ns(_0x1545e3,_0x1193f1,_0x3011d8){const _0x309232=_0x568fc3;let _0x4b2276=0x0;for(const _0x1d7161 of _0x1545e3)switch(_0x1d7161){case _0x309232(0x166):_0x1193f1[_0x309232(0x1bb)](_0x3011d8[_0x309232(0x1b1)](_0x4b2276),_0x4b2276),_0x4b2276++;break;case _0x309232(0x1b8):_0x1193f1[_0x309232(0x165)](_0x4b2276);break;case _0x309232(0x1af):_0x4b2276++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5de966=_0x3d4d;(function(_0x4cb647,_0xfe8865){const _0xbe223c=_0x3d4d,_0x26cf70=_0x4cb647();while(!![]){try{const _0x1c6637=parseInt(_0xbe223c(0xd9))/0x1+-parseInt(_0xbe223c(0xd5))/0x2*(-parseInt(_0xbe223c(0xe0))/0x3)+parseInt(_0xbe223c(0xdf))/0x4+parseInt(_0xbe223c(0xd3))/0x5*(parseInt(_0xbe223c(0xd6))/0x6)+parseInt(_0xbe223c(0xde))/0x7+parseInt(_0xbe223c(0xe2))/0x8+-parseInt(_0xbe223c(0xdd))/0x9*(parseInt(_0xbe223c(0xdc))/0xa);if(_0x1c6637===_0xfe8865)break;else _0x26cf70['push'](_0x26cf70['shift']());}catch(_0x34fd0b){_0x26cf70['push'](_0x26cf70['shift']());}}}(_0x2ba2,0x9f19b));import{View as _0x44fb17}from'ckeditor5/src/ui.js';function _0x3d4d(_0x543e2c,_0x2d53bd){const _0x2ba290=_0x2ba2();return _0x3d4d=function(_0x3d4d17,_0x2de2bd){_0x3d4d17=_0x3d4d17-0xd0;let _0x5d81c1=_0x2ba290[_0x3d4d17];return _0x5d81c1;},_0x3d4d(_0x543e2c,_0x2d53bd);}function _0x2ba2(){const _0x48b560=['279UwBJkz','2878442BevLRB','743268tVGRzW','3tntgVg','contextValue','5496760bYQgPm','ck-context__value','set','bindTemplate','5541565fVgHvN','focus','357764DYzVgw','6xZgcCb','THREAD_CONTEXT_LABEL','span','813198zObdsv','element','setTemplate','881560XktLTf'];_0x2ba2=function(){return _0x48b560;};return _0x2ba2();}import{getTranslation as _0x2009f4}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x44fb17{constructor(_0x50cdf4){const _0x158336=_0x3d4d;super(_0x50cdf4);const _0x420599=this[_0x158336(0xd2)];this[_0x158336(0xd1)](_0x158336(0xe1),''),this[_0x158336(0xdb)]({'tag':_0x158336(0xd8),'attributes':{'class':['ck',_0x158336(0xd0)],'aria-label':_0x420599['to'](_0x158336(0xe1),_0x329d06=>_0x2009f4(_0x50cdf4,_0x158336(0xd7),_0x329d06)),'tabindex':-0x1},'children':[{'text':_0x420599['to'](_0x158336(0xe1))}]});}[_0x5de966(0xd4)](){const _0x5eaaf6=_0x5de966;this[_0x5eaaf6(0xda)][_0x5eaaf6(0xd4)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0xd91deb=_0x1aa2;function _0x1aa2(_0x91bc51,_0x5ceb8c){const _0x8e0a01=_0x8e0a();return _0x1aa2=function(_0x1aa2f0,_0x13a602){_0x1aa2f0=_0x1aa2f0-0x180;let _0x4c8287=_0x8e0a01[_0x1aa2f0];return _0x4c8287;},_0x1aa2(_0x91bc51,_0x5ceb8c);}(function(_0x3713e3,_0x3e1061){const _0x544445=_0x1aa2,_0x2c745b=_0x3713e3();while(!![]){try{const _0x52a3c4=parseInt(_0x544445(0x18e))/0x1+-parseInt(_0x544445(0x199))/0x2+parseInt(_0x544445(0x1b8))/0x3+-parseInt(_0x544445(0x188))/0x4+-parseInt(_0x544445(0x1c2))/0x5*(parseInt(_0x544445(0x1b1))/0x6)+parseInt(_0x544445(0x1b7))/0x7+parseInt(_0x544445(0x1b3))/0x8;if(_0x52a3c4===_0x3e1061)break;else _0x2c745b['push'](_0x2c745b['shift']());}catch(_0x32951b){_0x2c745b['push'](_0x2c745b['shift']());}}}(_0x8e0a,0x4aae5));import{View as _0x25467a,ButtonView as _0x2f2c6a,FocusCycler as _0x2f569a}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4e76c9,KeystrokeHandler as _0x43be2c}from'ckeditor5/src/utils.js';import{IconUndo as _0x599017}from'ckeditor5/src/icons.js';import{getTranslation as _0x10d2b8}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x1eef8e}from'./commentthreadheadercontextview.js';function _0x8e0a(){const _0x2cb6a6=['focusables','tab','ck-context--quotes','isResolved','_model','length','reopenCommentThread','bindTemplate','_setupKeyboardNavigation','Comment\x20was\x20made\x20on\x20an\x20element','1145724tTBwpK','lastIndexOf','1815552OyQtJa','isReadOnly','scrollWidth','substring','2035215dKmExo','1190274GKWnWq','focusCycler','Reopen','mouseenter','.ck-context__value','setTemplate','focusFirst','isVisible','contextView','_createContextView','10SgErSI','.ck-context','keystrokes','focus','isResolvable','_trimContextValue','_createReopenButton','context','mouseleave','fire','icon','element','948584gXqQfE','label','ck-thread__header','overlay','listenTo','ck-context','372916jtLtwJ','isEnabled','execute','_attachContextActions','ck-annotation__actions','hasContext','querySelector','offsetWidth','add','render','reopenButtonView','724832psiOog','remove','...','value','shift+tab','div','contextValue','classList','tooltip','bind','locale','createCollection','ck-context-wrapper','focusTracker'];_0x8e0a=function(){return _0x2cb6a6;};return _0x8e0a();}export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x25467a{[_0xd91deb(0x1ab)];[_0xd91deb(0x198)];[_0xd91deb(0x1c0)];[_0xd91deb(0x1a7)];[_0xd91deb(0x1a6)];[_0xd91deb(0x1c4)];[_0xd91deb(0x1b9)];constructor(_0x9b6497,_0x574989){const _0x395bf0=_0xd91deb;super(_0x9b6497);const _0x389b4d=this[_0x395bf0(0x1ae)];this[_0x395bf0(0x1ab)]=_0x574989,this[_0x395bf0(0x198)]=this[_0x395bf0(0x182)](),this[_0x395bf0(0x1c0)]=this[_0x395bf0(0x1c1)](),this[_0x395bf0(0x1a7)]=this[_0x395bf0(0x1a4)]([this[_0x395bf0(0x1c0)],this[_0x395bf0(0x198)]]),this[_0x395bf0(0x1a6)]=new _0x4e76c9(),this[_0x395bf0(0x1c4)]=new _0x43be2c(),this[_0x395bf0(0x1b9)]=new _0x2f569a({'focusables':this[_0x395bf0(0x1a7)],'focusTracker':this[_0x395bf0(0x1a6)],'keystrokeHandler':this[_0x395bf0(0x1c4)],'actions':{'focusPrevious':_0x395bf0(0x19d),'focusNext':_0x395bf0(0x1a8)}}),this[_0x395bf0(0x1a2)](_0x395bf0(0x193))['to'](this[_0x395bf0(0x1ab)],_0x395bf0(0x183),_0x4c5bba=>!!_0x4c5bba),this[_0x395bf0(0x1a2)](_0x395bf0(0x19f))['to'](this[_0x395bf0(0x1ab)],_0x395bf0(0x183),_0x4fc69f=>_0x4fc69f&&_0x4fc69f[_0x395bf0(0x19c)]?this[_0x395bf0(0x181)](_0x4fc69f[_0x395bf0(0x19c)]):_0x10d2b8(this[_0x395bf0(0x1a3)],_0x395bf0(0x1b0))),this[_0x395bf0(0x1bd)]({'tag':_0x395bf0(0x19e),'attributes':{'class':[_0x395bf0(0x18a)]},'children':[{'tag':_0x395bf0(0x19e),'attributes':{'class':[_0x395bf0(0x1a5)]},'children':[{'tag':_0x395bf0(0x19e),'attributes':{'class':[_0x395bf0(0x18d),_0x389b4d['if'](_0x395bf0(0x193),_0x395bf0(0x1a9))]},'children':[this[_0x395bf0(0x1c0)]]}]},{'tag':_0x395bf0(0x19e),'attributes':{'class':[_0x395bf0(0x192)]},'children':[this[_0x395bf0(0x198)]]}]});}[_0xd91deb(0x197)](){const _0x29b651=_0xd91deb;super[_0x29b651(0x197)](),this[_0x29b651(0x191)](),this[_0x29b651(0x1af)]();}[_0xd91deb(0x1c5)](){const _0x5ac29c=_0xd91deb;this[_0x5ac29c(0x1b9)][_0x5ac29c(0x1be)]();}[_0xd91deb(0x182)](){const _0x3cc10c=_0xd91deb,_0x32c119=new _0x2f2c6a(this[_0x3cc10c(0x1a3)]);return _0x32c119[_0x3cc10c(0x189)]=_0x10d2b8(this[_0x3cc10c(0x1a3)],_0x3cc10c(0x1ba)),_0x32c119[_0x3cc10c(0x1a1)]=_0x10d2b8(this[_0x3cc10c(0x1a3)],_0x3cc10c(0x1ba)),_0x32c119[_0x3cc10c(0x186)]=_0x599017,_0x32c119[_0x3cc10c(0x1a2)](_0x3cc10c(0x18f))['to'](this[_0x3cc10c(0x1ab)],_0x3cc10c(0x1b4),_0x2b3b4b=>!_0x2b3b4b),_0x32c119[_0x3cc10c(0x1a2)](_0x3cc10c(0x1bf))['to'](this[_0x3cc10c(0x1ab)],_0x3cc10c(0x180),this[_0x3cc10c(0x1ab)],_0x3cc10c(0x1aa),(_0x35b642,_0x4f2a5f)=>_0x35b642&&_0x4f2a5f),_0x32c119['on'](_0x3cc10c(0x190),()=>{const _0xa7f6b8=_0x3cc10c;this[_0xa7f6b8(0x185)](_0xa7f6b8(0x1ad),this[_0xa7f6b8(0x1ab)]['id']);}),_0x32c119;}[_0xd91deb(0x181)](_0x1ef8d4){const _0x41b393=_0xd91deb;if(_0x1ef8d4[_0x41b393(0x1ac)]<0x96)return _0x1ef8d4;const _0x1e8c73=_0x1ef8d4[_0x41b393(0x1b2)]('\x20',0x93);return _0x1ef8d4[_0x41b393(0x1b6)](0x0,_0x1e8c73>-0x1?_0x1e8c73:0x93)+_0x41b393(0x19b);}[_0xd91deb(0x191)](){const _0x1d8924=_0xd91deb,_0x6c52d6=this[_0x1d8924(0x187)][_0x1d8924(0x194)](_0x1d8924(0x1c3)),_0x27bb75=_0x6c52d6[_0x1d8924(0x194)](_0x1d8924(0x1bc));this[_0x1d8924(0x18c)](_0x6c52d6,_0x1d8924(0x1bb),()=>{const _0x4fee56=_0x1d8924;_0x27bb75[_0x4fee56(0x195)]<_0x27bb75[_0x4fee56(0x1b5)]&&_0x6c52d6[_0x4fee56(0x1a0)][_0x4fee56(0x196)](_0x4fee56(0x18b));}),this[_0x1d8924(0x18c)](_0x6c52d6,_0x1d8924(0x184),()=>{const _0x11f0b0=_0x1d8924;_0x6c52d6[_0x11f0b0(0x1a0)][_0x11f0b0(0x19a)](_0x11f0b0(0x18b));});}[_0xd91deb(0x1af)](){const _0x1977cc=_0xd91deb;this[_0x1977cc(0x1c4)][_0x1977cc(0x18c)](this[_0x1977cc(0x187)]);for(const _0xf373ab of this[_0x1977cc(0x1a7)])this[_0x1977cc(0x1a6)][_0x1977cc(0x196)](_0xf373ab[_0x1977cc(0x187)]),this[_0x1977cc(0x1c4)][_0x1977cc(0x18c)](_0xf373ab[_0x1977cc(0x187)]);}[_0xd91deb(0x1c1)](){const _0x2124a6=_0xd91deb,_0x2c3496=new _0x1eef8e(this[_0x2124a6(0x1a3)]);return _0x2c3496[_0x2124a6(0x1a2)](_0x2124a6(0x19f))['to'](this),_0x2c3496;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x315901=_0x2e0a;function _0x3791(){const _0x561e93=['getDomRoot','_focusOnNonInteractiveMouseDown','focusTracker','1279927RnGbpO','ck-comment__input-container','ck-thread__user','421424lgfwbI','1161024BxhZhN','userView','editing','editor','focusCycler','editorDestroyed','createEditor','isFocused','element','some','contains','set','943565Rosmoz','focus','then','div','preventDefault','setTemplate','mousedown','editorReady','delegate','ck-thread__input','commentInputView','321042hpaiom','3CPoTFm','render','change:showInput','18kzxnSV','ck-comment__input-container--active','showInput','showButtons','15RCjUqW','value','bindTemplate','18132wfLZoZ','bind','destroy','18GQxmJi','filter','710180dgfZVD','view','target','extendTemplate','listenTo'];_0x3791=function(){return _0x561e93;};return _0x3791();}(function(_0x48a39e,_0x2f9ce8){const _0x588c28=_0x2e0a,_0x1beeac=_0x48a39e();while(!![]){try{const _0x2b7ee4=parseInt(_0x588c28(0x7d))/0x1*(-parseInt(_0x588c28(0x84))/0x2)+parseInt(_0x588c28(0x7a))/0x3*(-parseInt(_0x588c28(0x94))/0x4)+parseInt(_0x588c28(0x81))/0x5*(-parseInt(_0x588c28(0x79))/0x6)+parseInt(_0x588c28(0x6e))/0x7+parseInt(_0x588c28(0x95))/0x8+parseInt(_0x588c28(0x87))/0x9*(parseInt(_0x588c28(0x89))/0xa)+parseInt(_0x588c28(0x91))/0xb;if(_0x2b7ee4===_0x2f9ce8)break;else _0x1beeac['push'](_0x1beeac['shift']());}catch(_0x333159){_0x1beeac['push'](_0x1beeac['shift']());}}}(_0x3791,0x1aac3));import{View as _0x50b4e0}from'ckeditor5/src/ui.js';import{CommentInputView as _0xb0e55d}from'./commentinputview.js';import{UserView as _0x30b124}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2e0a(_0x37ac05,_0x51e773){const _0x3791dd=_0x3791();return _0x2e0a=function(_0x2e0a60,_0x4fc1a3){_0x2e0a60=_0x2e0a60-0x6e;let _0x2f8c4f=_0x3791dd[_0x2e0a60];return _0x2f8c4f;},_0x2e0a(_0x37ac05,_0x51e773);}export class CommentThreadInputView extends _0x50b4e0{constructor(_0x1ecfdf,_0x2258c5,_0x50497c){const _0xe8218f=_0x2e0a;super(_0x1ecfdf),this[_0xe8218f(0x78)]=new _0xb0e55d(_0x1ecfdf,_0x50497c),this[_0xe8218f(0x99)]=this[_0xe8218f(0x78)][_0xe8218f(0x99)],this[_0xe8218f(0x78)][_0xe8218f(0x85)](_0xe8218f(0x80))['to'](this[_0xe8218f(0x78)][_0xe8218f(0x90)],_0xe8218f(0x9c),this[_0xe8218f(0x78)],_0xe8218f(0x82),(_0x3f1d30,_0x4909d3)=>_0x3f1d30||!!_0x4909d3),this[_0xe8218f(0xa0)](_0xe8218f(0x7f),!0x1),this['on'](_0xe8218f(0x7c),()=>{const _0x4b3dae=_0xe8218f;this[_0x4b3dae(0x7f)]&&!this[_0x4b3dae(0x78)][_0x4b3dae(0x98)]&&this[_0x4b3dae(0x78)][_0x4b3dae(0x9b)]();}),this[_0xe8218f(0x78)][_0xe8218f(0x76)](_0xe8218f(0x75))['to'](this),this[_0xe8218f(0x78)][_0xe8218f(0x76)](_0xe8218f(0x9a))['to'](this),this[_0xe8218f(0x96)]=new _0x30b124(_0x1ecfdf,_0x2258c5),this[_0xe8218f(0x96)][_0xe8218f(0x8c)]({'attributes':{'class':_0xe8218f(0x93),'aria-hidden':!0x0}}),this[_0xe8218f(0x78)][_0xe8218f(0x8c)]({'attributes':{'class':_0xe8218f(0x77)}}),this[_0xe8218f(0x73)]({'tag':_0xe8218f(0x71),'attributes':{'class':[_0xe8218f(0x92),this[_0xe8218f(0x83)]['if'](_0xe8218f(0x7f),_0xe8218f(0x7e))]},'children':[this[_0xe8218f(0x96)],this[_0xe8218f(0x78)]]});}[_0x315901(0x7b)](){const _0x413cbc=_0x315901;super[_0x413cbc(0x7b)](),this[_0x413cbc(0x8f)]();}[_0x315901(0x86)](){const _0x6c57ea=_0x315901;return this[_0x6c57ea(0x78)][_0x6c57ea(0x86)]()[_0x6c57ea(0x70)](()=>super[_0x6c57ea(0x86)]());}[_0x315901(0x6f)](_0x300c9d){const _0x3e7814=_0x315901;this[_0x3e7814(0x78)][_0x3e7814(0x6f)](_0x300c9d);}[_0x315901(0x8f)](){const _0xebd32d=_0x315901;this[_0xebd32d(0x8d)](this[_0xebd32d(0x9d)],_0xebd32d(0x74),(_0x14edff,_0x5e773b)=>{const _0x925bd1=_0xebd32d,{submitButtonView:_0x2afbb6,cancelButtonView:_0xda15d1,editor:_0x36f0dc}=this[_0x925bd1(0x78)];[_0x2afbb6[_0x925bd1(0x9d)],_0xda15d1[_0x925bd1(0x9d)],_0x36f0dc?_0x36f0dc[_0x925bd1(0x97)][_0x925bd1(0x8a)][_0x925bd1(0x8e)]():null][_0x925bd1(0x88)](_0x1bae94=>_0x1bae94)[_0x925bd1(0x9e)](_0x507093=>_0x507093[_0x925bd1(0x9f)](_0x5e773b[_0x925bd1(0x8b)]))||(this[_0x925bd1(0x6f)](),_0x5e773b[_0x925bd1(0x72)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x2505(){const _0x2a75a6=['stop','isResolved','11037640lUrhzI','ck-thread--remove-confirmation','setTemplate','commentsListView','removeCommentThread','Delete\x20comment\x20thread?','createCollection','_createResolveButton','ck-thread','set','unbind','change:isReadOnly','listenTo','focusables','isReadOnly','showConfirm','element','commentThreadInputView','_cancelAllConfirms','focus','locale','icon','get','listitem','commentViews','2390652iIUHBq','.ck-thread__container','isActive','extendTemplate','tooltip','333MzkoFl','containerElement','change:isActive','removeButton','has','isEnabled','execute','commentThreadChildren','572087cUBjEg','querySelector','_bindFirstCommentView','then','ck-rounded-corners','ck-thread--','_updateArchivedThreadHeader','placeholder','_boundFirstCommentView','change:archivedAt','div','removeConfirm','isConfirm','bind','bindTemplate','actionBar','isUnlinked','12904nLJfxb','ck-thread__container','3384138bhqXqQ','Resolve','cancelConfirm','high','length','_model','ck-thread--active','commentThreadHeaderView','label','isResolvable','ck-reset_all-excluded','actionIndicator','5906XtxlMV','fire','ariaDescriptionView','remove','getTemplate','render','5wndHUA','resolveCommentThread','ck-comment--resolve','2655eppsAu','Write\x20a\x20comment...','add','resolveButton','isVisible','ariaLabel','ck-thread--unlinked','5625368PUfnRm','archivedAt','isSystemComment'];_0x2505=function(){return _0x2a75a6;};return _0x2505();}const _0x4cf778=_0x6bd9;(function(_0x575b72,_0x156264){const _0x432437=_0x6bd9,_0x3d6612=_0x575b72();while(!![]){try{const _0x811c56=parseInt(_0x432437(0x1c1))/0x1+-parseInt(_0x432437(0x186))/0x2*(-parseInt(_0x432437(0x1b9))/0x3)+-parseInt(_0x432437(0x1b4))/0x4*(parseInt(_0x432437(0x18c))/0x5)+-parseInt(_0x432437(0x1d4))/0x6+-parseInt(_0x432437(0x196))/0x7+parseInt(_0x432437(0x1d2))/0x8*(parseInt(_0x432437(0x18f))/0x9)+parseInt(_0x432437(0x19b))/0xa;if(_0x811c56===_0x156264)break;else _0x3d6612['push'](_0x3d6612['shift']());}catch(_0x2127db){_0x3d6612['push'](_0x3d6612['shift']());}}}(_0x2505,0x7d86f));import{ConfirmMixin as _0x4259a1,LateFocusButtonView as _0x10f9f5}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x6bd9(_0x2b7f4f,_0x16ac48){const _0x25054c=_0x2505();return _0x6bd9=function(_0x6bd9e1,_0x53e6a4){_0x6bd9e1=_0x6bd9e1-0x17f;let _0x379eab=_0x25054c[_0x6bd9e1];return _0x379eab;},_0x6bd9(_0x2b7f4f,_0x16ac48);}import{IconCheck as _0x2190c6}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x23e1d6}from'./basecommentthreadview.js';import{getTranslation as _0x26930c}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4259a1(_0x23e1d6){[_0x4cf778(0x1c0)];[_0x4cf778(0x1ba)];[_0x4cf778(0x192)];[_0x4cf778(0x1c9)];constructor(_0x149f58,_0x4d1556,_0xd99a6d,_0x1e0860){const _0x3d29b8=_0x4cf778;super(_0x149f58,_0x4d1556,_0xd99a6d,_0x1e0860),this[_0x3d29b8(0x1c0)]=this[_0x3d29b8(0x1a1)]([this[_0x3d29b8(0x19e)],this[_0x3d29b8(0x1ac)],this[_0x3d29b8(0x188)]]),this[_0x3d29b8(0x1a4)](_0x3d29b8(0x185),null),this[_0x3d29b8(0x1ba)]=null,this[_0x3d29b8(0x1c9)]=null,this[_0x3d29b8(0x1af)]=_0x149f58,this[_0x3d29b8(0x192)]=this[_0x3d29b8(0x1a2)](),this[_0x3d29b8(0x19d)](this[_0x3d29b8(0x18a)]()),this['on'](_0x3d29b8(0x1bb),(_0x19e7e0,_0x5028ed,_0x583c87)=>{const _0x5b8fef=_0x3d29b8;_0x583c87||this[_0x5b8fef(0x1ad)]();}),this[_0x3d29b8(0x1a7)](this[_0x3d29b8(0x17f)],_0x3d29b8(0x1a6),(_0x90f8a0,_0x692df4,_0x33ad60)=>{const _0x475030=_0x3d29b8;_0x33ad60&&this[_0x475030(0x1ad)]();}),this[_0x3d29b8(0x1d8)]>0x0&&this[_0x3d29b8(0x1c3)](),this[_0x3d29b8(0x1a7)](this[_0x3d29b8(0x19e)][_0x3d29b8(0x1b3)],_0x3d29b8(0x191),()=>{const _0x5a2c8b=_0x3d29b8;this[_0x5a2c8b(0x1c3)]();});}[_0x4cf778(0x18a)](){const _0x248429=_0x4cf778,_0xd51e30=this[_0x248429(0x1cf)];return{'tag':_0x248429(0x1cb),'attributes':{'class':['ck',_0x248429(0x1a3),_0x248429(0x184),_0x248429(0x1c5),_0xd51e30['if'](_0x248429(0x1b6),_0x248429(0x180)),_0xd51e30['if'](_0x248429(0x1d1),_0x248429(0x195)),_0xd51e30['if'](_0x248429(0x1cd),_0x248429(0x19c)),_0xd51e30['to'](_0x248429(0x185),_0x2b01ac=>_0x2b01ac?_0x248429(0x1c6)+_0x2b01ac:'')],'data-thread-id':this[_0x248429(0x17f)]['id'],'tabindex':0x0,'role':_0x248429(0x1b2),'aria-label':_0xd51e30['to'](_0x248429(0x194)),'aria-describedby':this[_0x248429(0x188)]['id']},'children':[{'tag':_0x248429(0x1cb),'attributes':{'class':_0x248429(0x1d3)},'children':this[_0x248429(0x1c0)]}]};}[_0x4cf778(0x18b)](){const _0x8fe9cb=_0x4cf778;super[_0x8fe9cb(0x18b)](),this[_0x8fe9cb(0x1ba)]=this[_0x8fe9cb(0x1ab)][_0x8fe9cb(0x1c2)](_0x8fe9cb(0x1b5)),this[_0x8fe9cb(0x17f)]['on'](_0x8fe9cb(0x1ca),()=>{const _0x13477d=_0x8fe9cb;this[_0x13477d(0x1c7)]();}),this[_0x8fe9cb(0x1c7)]();}[_0x4cf778(0x1ad)](){const _0x3d96e3=_0x4cf778;this[_0x3d96e3(0x1d6)]();for(const _0x42ac20 of this[_0x3d96e3(0x19e)][_0x3d96e3(0x1b3)])_0x42ac20[_0x3d96e3(0x1d6)]();}[_0x4cf778(0x1c3)](){const _0x4c8e68=_0x4cf778,{locale:_0x40476d}=this,_0x560801=this[_0x4c8e68(0x19e)][_0x4c8e68(0x1b3)][_0x4c8e68(0x1b1)](0x0);_0x560801===this[_0x4c8e68(0x1c9)]||_0x560801[_0x4c8e68(0x198)]||(this[_0x4c8e68(0x1c9)]=_0x560801,this[_0x4c8e68(0x1a5)](_0x4c8e68(0x185)),this[_0x4c8e68(0x1ce)](_0x4c8e68(0x185))['to'](_0x560801,_0x4c8e68(0x185),_0x1ca951=>_0x4c8e68(0x189)===_0x1ca951?_0x4c8e68(0x189):null),_0x560801[_0x4c8e68(0x1c8)]=_0x26930c(_0x40476d,_0x4c8e68(0x190)),_0x560801[_0x4c8e68(0x1bc)]['on'](_0x4c8e68(0x1bf),_0x561828=>{const _0x3a112a=_0x4c8e68;_0x561828[_0x3a112a(0x199)](),this[_0x3a112a(0x1aa)](_0x26930c(_0x40476d,_0x3a112a(0x1a0)),this[_0x3a112a(0x1ba)])[_0x3a112a(0x1c4)](()=>{const _0x268d20=_0x3a112a;this[_0x268d20(0x187)](_0x268d20(0x19f));});},{'priority':_0x4c8e68(0x1d7)}),this['on'](_0x4c8e68(0x1cc),()=>{const _0x4cfc10=_0x4c8e68;_0x560801[_0x4cfc10(0x1ae)]();}),_0x560801[_0x4c8e68(0x1d0)][_0x4c8e68(0x191)](this[_0x4c8e68(0x192)],0x0),_0x560801[_0x4c8e68(0x1a8)][_0x4c8e68(0x191)](this[_0x4c8e68(0x192)],0x0));}[_0x4cf778(0x1a2)](){const _0x5b3d38=_0x4cf778,_0x3f882e=new _0x10f9f5(this[_0x5b3d38(0x1af)]);return _0x3f882e[_0x5b3d38(0x182)]=_0x26930c(this[_0x5b3d38(0x1af)],_0x5b3d38(0x1d5)),_0x3f882e[_0x5b3d38(0x1b8)]=_0x26930c(this[_0x5b3d38(0x1af)],_0x5b3d38(0x1d5)),_0x3f882e[_0x5b3d38(0x1b0)]=_0x2190c6,_0x3f882e[_0x5b3d38(0x1b7)]({'attributes':{'class':_0x5b3d38(0x18e)}}),_0x3f882e[_0x5b3d38(0x1ce)](_0x5b3d38(0x1be))['to'](this[_0x5b3d38(0x17f)],_0x5b3d38(0x1a9),_0x434c89=>!_0x434c89),_0x3f882e[_0x5b3d38(0x1ce)](_0x5b3d38(0x193))['to'](this[_0x5b3d38(0x17f)],_0x5b3d38(0x183),this[_0x5b3d38(0x17f)],_0x5b3d38(0x19a),(_0x1b6c86,_0x231d66)=>_0x1b6c86&&!_0x231d66),_0x3f882e['on'](_0x5b3d38(0x1bf),()=>{const _0x483a0b=_0x5b3d38;this[_0x483a0b(0x187)](_0x483a0b(0x18d),this[_0x483a0b(0x17f)]['id']);}),_0x3f882e;}[_0x4cf778(0x1c7)](){const _0x2bf3a2=_0x4cf778;this[_0x2bf3a2(0x17f)][_0x2bf3a2(0x197)]?this[_0x2bf3a2(0x1c0)][_0x2bf3a2(0x1bd)](this[_0x2bf3a2(0x181)])||(this[_0x2bf3a2(0x1c0)][_0x2bf3a2(0x191)](this[_0x2bf3a2(0x181)],0x0),this[_0x2bf3a2(0x1a8)][_0x2bf3a2(0x191)](this[_0x2bf3a2(0x181)],0x0)):this[_0x2bf3a2(0x1c0)][_0x2bf3a2(0x1bd)](this[_0x2bf3a2(0x181)])&&(this[_0x2bf3a2(0x1c0)][_0x2bf3a2(0x189)](this[_0x2bf3a2(0x181)]),this[_0x2bf3a2(0x1a8)][_0x2bf3a2(0x189)](this[_0x2bf3a2(0x181)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x18507c=_0x123a;(function(_0x490fb3,_0x586af2){const _0x504ac5=_0x123a,_0x52fb8d=_0x490fb3();while(!![]){try{const _0x57bc1b=-parseInt(_0x504ac5(0x22a))/0x1*(parseInt(_0x504ac5(0x264))/0x2)+-parseInt(_0x504ac5(0x210))/0x3+parseInt(_0x504ac5(0x25a))/0x4*(-parseInt(_0x504ac5(0x247))/0x5)+-parseInt(_0x504ac5(0x23e))/0x6*(-parseInt(_0x504ac5(0x23f))/0x7)+parseInt(_0x504ac5(0x249))/0x8*(parseInt(_0x504ac5(0x256))/0x9)+parseInt(_0x504ac5(0x24a))/0xa+parseInt(_0x504ac5(0x1ef))/0xb;if(_0x57bc1b===_0x586af2)break;else _0x52fb8d['push'](_0x52fb8d['shift']());}catch(_0x36d998){_0x52fb8d['push'](_0x52fb8d['shift']());}}}(_0x505b,0x45b72));function _0x123a(_0x16b441,_0x11f132){const _0x505ba8=_0x505b();return _0x123a=function(_0x123ab9,_0x1087d9){_0x123ab9=_0x123ab9-0x1eb;let _0x326f6b=_0x505ba8[_0x123ab9];return _0x326f6b;},_0x123a(_0x16b441,_0x11f132);}import{IconRemoveComment as _0x1b8b88,IconPencil as _0x4b6faa,IconThreeVerticalDots as _0x59877c}from'ckeditor5/src/icons.js';import{ButtonView as _0x36b7bb,createDropdown as _0x13ab76,ListView as _0x728dad,ListItemView as _0x27b904,focusChildOnDropdownOpen as _0x495744}from'ckeditor5/src/ui.js';import{UserView as _0x516174,ConfirmMixin as _0x1e4aeb,LateFocusDropdownButtonView as _0x39df74}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x505b(){const _0x23ba4d=['isEditMode','buttonView','mouseleave','bindTemplate','set','ck-hidden','Reply...','isExternal','isEnabled','showConfirm','userView','children','editButton','withText','render','ck-comment__external','group','find','9593OFUxaa','ck-comment--remove-confirmation','_model','isReadOnly','listenTo','ck-comment__info-time','ck-annotation__user','edit','removeButton','cancelConfirm','ck-comment__info','isEditable','items','some','Delete\x20comment?','change:isRemovable','ck-comment__wrapper','createCollection','visibleView','ck-comment__info-name','522432yHZeDw','7cNUEdM','bind','listitem','_createDropdown','ck-annotation__content-wrapper','remove','actionIndicator','resolvedAt','45oFzezs','mouseenter','976lXqoqh','4495790jjpVmB','span','blur','focus','Edit','getTemplate','ck-annotation__actions','extendTemplate','ariaDescriptionView','ck-annotation__info-time','length','ck-annotation__info-name','22014IArmGi','ck-comment--edit','toMany','div','198388tWWMAn','unbind','ck-comment','Show\x20more\x20items','ck-comment__main','_config','_createEditButton','getExternalCommentNote','formatDateTime','time','22CQnMmg','dropdown','isConfirm','ck-comment__user','icon','599808XyWCKF','ck-comment--remove','_attachActions','ck-comment--info','ariaLabel','addMany','then','_createRemoveButton','ck-annotation','authoredAt','from','ck-annotation__info','ck-comment__actions--hidden','removeComment','switchToEditMode','focusables','fire','_createCommentInputView','locale','push','name','execute','author','Remove','panelPosition','add','element','ck-annotation__actions--hidden','isSystemComment','panelView','ck-comment--','isRemovable','actionBar','156423CssqRe','placeholder','label','getUserViewNotificationText','ck-comment__actions','ck-annotation__main','isVisible','setTemplate'];_0x505b=function(){return _0x23ba4d;};return _0x505b();}import{BaseCommentView as _0x1705e1}from'./basecommentview.js';import{getTranslation as _0xcfc2e5}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1e4aeb(_0x1705e1){[_0x18507c(0x20f)];[_0x18507c(0x222)];constructor(_0x101407,_0x390ce2,_0x5a73fc){const _0x98bf44=_0x18507c;super(_0x101407,_0x390ce2,_0x5a73fc),this[_0x98bf44(0x21c)](_0x98bf44(0x245),null),this[_0x98bf44(0x21c)](_0x98bf44(0x211),_0xcfc2e5(_0x101407,_0x98bf44(0x21e))),this[_0x98bf44(0x240)](_0x98bf44(0x1f8))['to'](_0x390ce2),this[_0x98bf44(0x240)](_0x98bf44(0x246))['to'](_0x390ce2),this[_0x98bf44(0x20f)]=this[_0x98bf44(0x23b)](),this[_0x98bf44(0x20b)]||(this[_0x98bf44(0x224)]=this[_0x98bf44(0x260)](),this[_0x98bf44(0x232)]=this[_0x98bf44(0x1f6)](),this[_0x98bf44(0x236)]=this[_0x98bf44(0x23b)](),this[_0x98bf44(0x236)][_0x98bf44(0x1f4)]([this[_0x98bf44(0x224)],this[_0x98bf44(0x232)]]),this[_0x98bf44(0x1eb)]=this[_0x98bf44(0x242)](),this[_0x98bf44(0x20f)][_0x98bf44(0x208)](this[_0x98bf44(0x1eb)]),this[_0x98bf44(0x1fe)][_0x98bf44(0x208)](this[_0x98bf44(0x1eb)])),this[_0x98bf44(0x222)]=new _0x516174(_0x101407,_0x390ce2[_0x98bf44(0x205)],this[_0x98bf44(0x213)]()),this[_0x98bf44(0x222)][_0x98bf44(0x251)]({'attributes':{'class':[_0x98bf44(0x1ed),_0x98bf44(0x230)],'aria-hidden':!0x0}}),this[_0x98bf44(0x22e)](_0x390ce2,_0x98bf44(0x239),()=>this[_0x98bf44(0x233)]()),this[_0x98bf44(0x217)](this[_0x98bf44(0x24f)]());}[_0x18507c(0x24f)](){const _0x3c7d41=_0x18507c,_0x42689f=this[_0x3c7d41(0x21b)],_0x2edcb7=[{'tag':_0x3c7d41(0x259),'attributes':{'class':[_0x3c7d41(0x234),_0x3c7d41(0x1fa)]},'children':[{'tag':_0x3c7d41(0x24b),'children':[{'text':this[_0x3c7d41(0x222)][_0x3c7d41(0x203)]}],'attributes':{'class':[_0x3c7d41(0x23d),_0x3c7d41(0x255)],'data-cke-tooltip-text':this[_0x3c7d41(0x222)][_0x3c7d41(0x203)]}},{'tag':_0x3c7d41(0x263),'attributes':{'datetime':_0x42689f['to'](_0x3c7d41(0x1f8)),'class':[_0x3c7d41(0x22f),_0x3c7d41(0x253)]},'children':[{'text':_0x42689f['to'](_0x3c7d41(0x1f8),_0x3b3cef=>this[_0x3c7d41(0x25f)][_0x3c7d41(0x262)](_0x3b3cef))}]}]},{'tag':_0x3c7d41(0x259),'attributes':{'class':[_0x3c7d41(0x214),_0x3c7d41(0x250),_0x42689f['if'](_0x3c7d41(0x218),_0x3c7d41(0x1fb)),_0x42689f['if'](_0x3c7d41(0x218),_0x3c7d41(0x20a))]},'children':this[_0x3c7d41(0x20f)]},{'tag':_0x3c7d41(0x259),'attributes':{'class':[_0x3c7d41(0x243)]},'children':this[_0x3c7d41(0x23c)]},this[_0x3c7d41(0x252)]];return this[_0x3c7d41(0x22c)][_0x3c7d41(0x21f)]&&_0x2edcb7[_0x3c7d41(0x202)]({'tag':_0x3c7d41(0x259),'attributes':{'class':[_0x3c7d41(0x227)]},'children':[{'text':this[_0x3c7d41(0x261)]()}]}),{'tag':'li','attributes':{'class':[_0x3c7d41(0x23a),_0x42689f['if'](_0x3c7d41(0x1ec),_0x3c7d41(0x22b))],'tabindex':-0x1,'aria-label':_0x42689f['to'](_0x3c7d41(0x1f3)),'aria-describedby':this[_0x3c7d41(0x252)]['id'],'role':_0x3c7d41(0x241)},'children':[{'tag':_0x3c7d41(0x259),'attributes':{'class':[_0x3c7d41(0x25c),_0x3c7d41(0x1f7),_0x42689f['if'](_0x3c7d41(0x218),_0x3c7d41(0x257)),_0x42689f['if'](_0x3c7d41(0x20b),_0x3c7d41(0x1f2)),_0x42689f['to'](_0x3c7d41(0x245),_0x1dc17d=>_0x1dc17d?_0x3c7d41(0x20d)+_0x1dc17d:'')],'data-author-id':this[_0x3c7d41(0x22c)][_0x3c7d41(0x205)]['id'],'data-comment-id':this[_0x3c7d41(0x22c)]['id'],'role':_0x3c7d41(0x228)},'children':[this[_0x3c7d41(0x222)],{'tag':_0x3c7d41(0x259),'attributes':{'class':[_0x3c7d41(0x25e),_0x3c7d41(0x215)]},'children':_0x2edcb7}]}]};}[_0x18507c(0x260)](){const _0x18f4b0=_0x18507c,_0x3d1ecb=new _0x36b7bb(this[_0x18f4b0(0x201)]);return _0x3d1ecb[_0x18f4b0(0x212)]=_0xcfc2e5(this[_0x18f4b0(0x201)],_0x18f4b0(0x24e)),_0x3d1ecb[_0x18f4b0(0x1ee)]=_0x4b6faa,_0x3d1ecb[_0x18f4b0(0x225)]=!0x0,_0x3d1ecb[_0x18f4b0(0x251)]({'attributes':{'class':_0x18f4b0(0x257)}}),_0x3d1ecb[_0x18f4b0(0x240)](_0x18f4b0(0x220))['to'](this[_0x18f4b0(0x22c)],_0x18f4b0(0x22d),_0x485476=>!_0x485476),_0x3d1ecb[_0x18f4b0(0x240)](_0x18f4b0(0x216))['to'](this[_0x18f4b0(0x22c)],_0x18f4b0(0x235)),_0x3d1ecb['on'](_0x18f4b0(0x204),()=>this[_0x18f4b0(0x1fd)]()),_0x3d1ecb;}[_0x18507c(0x1f6)](){const _0xa0924=_0x18507c,_0x399f41=new _0x36b7bb(this[_0xa0924(0x201)]);return _0x399f41[_0xa0924(0x212)]=_0xcfc2e5(this[_0xa0924(0x201)],_0xa0924(0x206)),_0x399f41[_0xa0924(0x1ee)]=_0x1b8b88,_0x399f41[_0xa0924(0x225)]=!0x0,_0x399f41[_0xa0924(0x251)]({'attributes':{'class':_0xa0924(0x1f0)}}),_0x399f41[_0xa0924(0x240)](_0xa0924(0x220))['to'](this[_0xa0924(0x22c)],_0xa0924(0x22d),_0x4e567f=>!_0x4e567f),_0x399f41[_0xa0924(0x240)](_0xa0924(0x216))['to'](this[_0xa0924(0x22c)],_0xa0924(0x20e)),_0x399f41['on'](_0xa0924(0x204),()=>{const _0x21cca5=_0xa0924;this[_0x21cca5(0x221)](_0xcfc2e5(this[_0x21cca5(0x201)],_0x21cca5(0x238)),this[_0x21cca5(0x209)])[_0x21cca5(0x1f5)](()=>{const _0x42b07c=_0x21cca5;this[_0x42b07c(0x1ff)](_0x42b07c(0x1fc),this[_0x42b07c(0x22c)]['id']);});}),_0x399f41;}[_0x18507c(0x242)](){const _0x38656a=_0x18507c,_0x374774=_0x13ab76(this[_0x38656a(0x201)],_0x39df74),_0x351c00=_0x374774[_0x38656a(0x20c)][_0x38656a(0x223)],_0x47dc0b=new _0x728dad(this[_0x38656a(0x201)]),_0x51c7c3=_0x374774[_0x38656a(0x21b)];_0x495744(_0x374774,()=>this[_0x38656a(0x236)][_0x38656a(0x229)](_0x23a96a=>_0x23a96a[_0x38656a(0x216)])),_0x374774[_0x38656a(0x251)]({'attributes':{'class':[_0x51c7c3['if'](_0x38656a(0x216),_0x38656a(0x21d),_0x32a4a7=>!_0x32a4a7)]}});const _0x2dd419=(_0x4372e1,_0x220a1a=-0x1)=>{const _0x4a2f2c=_0x38656a,_0x17a803=new _0x27b904(this[_0x4a2f2c(0x201)]);_0x17a803[_0x4a2f2c(0x223)][_0x4a2f2c(0x208)](_0x4372e1);const _0xd1abdd=_0x220a1a>-0x1?_0x220a1a:_0x47dc0b[_0x4a2f2c(0x236)][_0x4a2f2c(0x254)];_0x47dc0b[_0x4a2f2c(0x236)][_0x4a2f2c(0x208)](_0x17a803,_0xd1abdd);const _0x3660e2=Array[_0x4a2f2c(0x1f9)](this[_0x4a2f2c(0x236)]);_0x374774[_0x4a2f2c(0x25b)](_0x4a2f2c(0x220),_0x4a2f2c(0x216)),_0x374774[_0x4a2f2c(0x240)](_0x4a2f2c(0x220))[_0x4a2f2c(0x258)](_0x3660e2,_0x4a2f2c(0x220),(..._0x51421a)=>_0x51421a[_0x4a2f2c(0x237)](_0x4a3f51=>_0x4a3f51)),_0x374774[_0x4a2f2c(0x240)](_0x4a2f2c(0x216))[_0x4a2f2c(0x258)](_0x3660e2,_0x4a2f2c(0x216),(..._0x4fe5f0)=>_0x4fe5f0[_0x4a2f2c(0x237)](_0x109608=>_0x109608));};_0x374774[_0x38656a(0x207)]='sw',_0x374774[_0x38656a(0x219)][_0x38656a(0x21c)]({'label':_0xcfc2e5(this[_0x38656a(0x201)],_0x38656a(0x25d)),'icon':_0x59877c});for(const _0xa38c6b of this[_0x38656a(0x236)])_0x2dd419(_0xa38c6b);return _0x351c00[_0x38656a(0x208)](_0x47dc0b),_0x374774[_0x38656a(0x22e)](this[_0x38656a(0x236)],_0x38656a(0x208),(_0x3a28fd,_0x242ef9,_0x5cdbe9)=>{_0x2dd419(_0x242ef9,_0x5cdbe9);}),_0x374774[_0x38656a(0x22e)](this[_0x38656a(0x236)],_0x38656a(0x244),(_0x44f295,_0x58a547,_0x46e7eb)=>{const _0x5a2410=_0x38656a;_0x47dc0b[_0x5a2410(0x236)][_0x5a2410(0x244)](_0x46e7eb);}),_0x374774;}[_0x18507c(0x1f1)](_0x472d37,_0x255666){const _0x3d01b5=_0x18507c,_0x23f49a=_0x472d37&&_0x472d37[_0x3d01b5(0x209)];_0x23f49a&&(this[_0x3d01b5(0x22e)](_0x23f49a,_0x3d01b5(0x248),()=>this[_0x3d01b5(0x245)]=_0x255666),this[_0x3d01b5(0x22e)](_0x23f49a,_0x3d01b5(0x24d),()=>this[_0x3d01b5(0x245)]=_0x255666),this[_0x3d01b5(0x22e)](_0x23f49a,_0x3d01b5(0x21a),()=>this[_0x3d01b5(0x245)]=null),this[_0x3d01b5(0x22e)](_0x23f49a,_0x3d01b5(0x24c),()=>this[_0x3d01b5(0x245)]=null));}[_0x18507c(0x200)](){const _0x378047=_0x18507c,_0x472e1b=super[_0x378047(0x200)]();return _0x472e1b[_0x378047(0x240)](_0x378047(0x211))['to'](this),_0x472e1b;}[_0x18507c(0x226)](){const _0x17be51=_0x18507c;super[_0x17be51(0x226)](),this[_0x17be51(0x1f1)](this[_0x17be51(0x224)],_0x17be51(0x231)),this[_0x17be51(0x1f1)](this[_0x17be51(0x232)],_0x17be51(0x244));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2d6860=_0x3a51;(function(_0x591299,_0x1698e1){var _0x2e9f56=_0x3a51,_0x26b5bb=_0x591299();while(!![]){try{var _0x240cb1=-parseInt(_0x2e9f56(0x1cd))/0x1*(-parseInt(_0x2e9f56(0x1c7))/0x2)+parseInt(_0x2e9f56(0x1d1))/0x3*(parseInt(_0x2e9f56(0x1cc))/0x4)+parseInt(_0x2e9f56(0x1d2))/0x5+parseInt(_0x2e9f56(0x1cf))/0x6*(parseInt(_0x2e9f56(0x1d5))/0x7)+-parseInt(_0x2e9f56(0x1ce))/0x8*(parseInt(_0x2e9f56(0x1d4))/0x9)+-parseInt(_0x2e9f56(0x1cb))/0xa+parseInt(_0x2e9f56(0x1ca))/0xb*(parseInt(_0x2e9f56(0x1d0))/0xc);if(_0x240cb1===_0x1698e1)break;else _0x26b5bb['push'](_0x26b5bb['shift']());}catch(_0x4ac338){_0x26b5bb['push'](_0x26b5bb['shift']());}}}(_0x3040,0x6ed74));import{Plugin as _0x25cb07}from'ckeditor5/src/core.js';import{CommentsRepository as _0x2d40bd}from'./comments/commentsrepository.js';import{CommentsEditing as _0x5c581a}from'./comments/commentsediting.js';function _0x3040(){var _0x26316d=['37933piLRMY','requires','isPremiumPlugin','4ukxOch','pluginName','Comments','9647KObbrm','4068450ltZLym','18996EqgrWM','39747keERjB','946576ZUXSQn','210HHNvQV','3204PvxnBz','63bLMYaP','2472230wEkAMt','isOfficialPlugin','18HwmIKa'];_0x3040=function(){return _0x26316d;};return _0x3040();}import{CommentsUI as _0x189bae}from'./comments/commentsui.js';import{CommentsOnly as _0x3ab50f}from'./commentsonly.js';import{WideSidebar as _0x53cb01}from'./annotations/widesidebar.js';function _0x3a51(_0x364da0,_0x2db183){var _0x3040ab=_0x3040();return _0x3a51=function(_0x3a5111,_0xdd739a){_0x3a5111=_0x3a5111-0x1c7;var _0x2c9959=_0x3040ab[_0x3a5111];return _0x2c9959;},_0x3a51(_0x364da0,_0x2db183);}import{NarrowSidebar as _0x161192}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x4668b8}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x130ead}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x18204c}from'./comments/commentsarchive.js';export class Comments extends _0x25cb07{static get[_0x2d6860(0x1d6)](){return[_0x2d40bd,_0x5c581a,_0x189bae,_0x18204c,_0x130ead,_0x3ab50f,_0x53cb01,_0x161192,_0x4668b8];}static get[_0x2d6860(0x1c8)](){var _0x4ace89=_0x2d6860;return _0x4ace89(0x1c9);}static get[_0x2d6860(0x1d3)](){return!0x0;}static get[_0x2d6860(0x1d7)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7cc9ac=_0x13ea;(function(_0x199fef,_0x7e1533){const _0x5973e1=_0x13ea,_0x255270=_0x199fef();while(!![]){try{const _0x579c04=-parseInt(_0x5973e1(0x1d1))/0x1*(parseInt(_0x5973e1(0x1b9))/0x2)+-parseInt(_0x5973e1(0x1cc))/0x3+-parseInt(_0x5973e1(0x1d9))/0x4*(parseInt(_0x5973e1(0x1da))/0x5)+-parseInt(_0x5973e1(0x1c4))/0x6*(-parseInt(_0x5973e1(0x1e5))/0x7)+parseInt(_0x5973e1(0x1cd))/0x8*(-parseInt(_0x5973e1(0x1e3))/0x9)+-parseInt(_0x5973e1(0x1db))/0xa*(-parseInt(_0x5973e1(0x1d0))/0xb)+-parseInt(_0x5973e1(0x1c7))/0xc*(-parseInt(_0x5973e1(0x1de))/0xd);if(_0x579c04===_0x7e1533)break;else _0x255270['push'](_0x255270['shift']());}catch(_0x47574a){_0x255270['push'](_0x255270['shift']());}}}(_0x4147,0x96c89));import{Plugin as _0xc32e42}from'ckeditor5/src/core.js';import{CommentsEditing as _0x507f00}from'./comments/commentsediting.js';function _0x4147(){const _0x1eaa41=['editSource','2489538FmqsCg','6272oztbfW','CommentsOnly','plugins','1958VdRlFC','85iLqexc','has','isEnabled','requires','config','isOfficialPlugin','_disableCommentsOnlyMode','isPremiumPlugin','1428bYJzkt','3290nUXmPU','62010nuekgb','change:isEnabled','listenTo','409084kfuLnk','stopListening','set','afterInit','commentsOnlyMode','2844rKuykF','cut','126NedeKL','forceDisabled','addCommentThread','affectsData','view','574eutScF','commands','get','editing','pluginName','commentsOnly','highest','delete','DragDrop','stop','clipboardInput','31830buYwal','SourceEditing','document','288CadkYy','clearForceDisabled','editor','_enableCommentsOnlyMode'];_0x4147=function(){return _0x1eaa41;};return _0x4147();}function _0x13ea(_0x2c6c06,_0x57a323){const _0x414702=_0x4147();return _0x13ea=function(_0x13eaf4,_0x5d4bd7){_0x13eaf4=_0x13eaf4-0x1b7;let _0x175a03=_0x414702[_0x13eaf4];return _0x175a03;},_0x13ea(_0x2c6c06,_0x57a323);}export class CommentsOnly extends _0xc32e42{static get[_0x7cc9ac(0x1bd)](){const _0x5afbfb=_0x7cc9ac;return _0x5afbfb(0x1ce);}static get[_0x7cc9ac(0x1d6)](){return!0x0;}static get[_0x7cc9ac(0x1d8)](){return!0x0;}static get[_0x7cc9ac(0x1d4)](){return[_0x507f00];}constructor(_0x5baf10){const _0x1dbecc=_0x7cc9ac;super(_0x5baf10),this[_0x1dbecc(0x1e0)](_0x1dbecc(0x1d3),!0x1),this['on'](_0x1dbecc(0x1dc),(_0x5874bb,_0x133972,_0x52aab2)=>{const _0x11e796=_0x1dbecc;_0x52aab2?this[_0x11e796(0x1ca)]():this[_0x11e796(0x1d7)]();});}[_0x7cc9ac(0x1e1)](){const _0x27e65e=_0x7cc9ac;!this[_0x27e65e(0x1d3)]&&this[_0x27e65e(0x1c9)][_0x27e65e(0x1d5)][_0x27e65e(0x1bb)](_0x27e65e(0x1be))&&(this[_0x27e65e(0x1d3)]=!0x0);}[_0x7cc9ac(0x1ca)](){const _0x4da4d9=_0x7cc9ac;for(const [_0x4680bb,_0x48d788]of this[_0x4da4d9(0x1c9)][_0x4da4d9(0x1ba)])_0x48d788[_0x4da4d9(0x1b7)]&&_0x4da4d9(0x1e7)!==_0x4680bb&&_0x48d788[_0x4da4d9(0x1e6)](_0x4da4d9(0x1e2));(this[_0x4da4d9(0x1c9)][_0x4da4d9(0x1cf)][_0x4da4d9(0x1d2)](_0x4da4d9(0x1c1))&&this[_0x4da4d9(0x1c9)][_0x4da4d9(0x1cf)][_0x4da4d9(0x1bb)](_0x4da4d9(0x1c1))[_0x4da4d9(0x1e6)](_0x4da4d9(0x1e2)),this[_0x4da4d9(0x1c9)][_0x4da4d9(0x1cf)][_0x4da4d9(0x1d2)](_0x4da4d9(0x1c5)))&&this[_0x4da4d9(0x1c9)][_0x4da4d9(0x1cf)][_0x4da4d9(0x1bb)](_0x4da4d9(0x1c5))[_0x4da4d9(0x1e6)](_0x4da4d9(0x1e2));this[_0x4da4d9(0x1c9)][_0x4da4d9(0x1ba)][_0x4da4d9(0x1bb)](_0x4da4d9(0x1cb))?.[_0x4da4d9(0x1e6)](_0x4da4d9(0x1e2));const _0x32a3e3=this[_0x4da4d9(0x1c9)][_0x4da4d9(0x1bc)][_0x4da4d9(0x1b8)][_0x4da4d9(0x1c6)];this[_0x4da4d9(0x1dd)](_0x32a3e3,_0x4da4d9(0x1e4),_0x1a9df4=>_0x1a9df4[_0x4da4d9(0x1c2)](),{'priority':_0x4da4d9(0x1bf)}),this[_0x4da4d9(0x1dd)](_0x32a3e3,_0x4da4d9(0x1c3),_0x258334=>_0x258334[_0x4da4d9(0x1c2)](),{'priority':_0x4da4d9(0x1bf)}),this[_0x4da4d9(0x1dd)](_0x32a3e3,_0x4da4d9(0x1c0),_0x2ef53b=>_0x2ef53b[_0x4da4d9(0x1c2)](),{'priority':_0x4da4d9(0x1bf)});}[_0x7cc9ac(0x1d7)](){const _0x3d24a9=_0x7cc9ac;for(const [_0x3052a1,_0x177aeb]of this[_0x3d24a9(0x1c9)][_0x3d24a9(0x1ba)])_0x177aeb[_0x3d24a9(0x1b7)]&&_0x3d24a9(0x1e7)!==_0x3052a1&&_0x177aeb[_0x3d24a9(0x1c8)](_0x3d24a9(0x1e2));this[_0x3d24a9(0x1c9)][_0x3d24a9(0x1cf)][_0x3d24a9(0x1d2)](_0x3d24a9(0x1c5))&&this[_0x3d24a9(0x1c9)][_0x3d24a9(0x1cf)][_0x3d24a9(0x1bb)](_0x3d24a9(0x1c5))[_0x3d24a9(0x1c8)](_0x3d24a9(0x1e2)),this[_0x3d24a9(0x1c9)][_0x3d24a9(0x1ba)][_0x3d24a9(0x1bb)](_0x3d24a9(0x1cb))?.[_0x3d24a9(0x1c8)](_0x3d24a9(0x1e2)),this[_0x3d24a9(0x1df)](this[_0x3d24a9(0x1c9)][_0x3d24a9(0x1bc)][_0x3d24a9(0x1b8)][_0x3d24a9(0x1c6)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4bb1de,_0x3b7dcc){var _0x315cf5=_0x58b3,_0x4c5170=_0x4bb1de();while(!![]){try{var _0x12476d=-parseInt(_0x315cf5(0x160))/0x1*(parseInt(_0x315cf5(0x165))/0x2)+-parseInt(_0x315cf5(0x164))/0x3+-parseInt(_0x315cf5(0x15e))/0x4*(-parseInt(_0x315cf5(0x15c))/0x5)+parseInt(_0x315cf5(0x163))/0x6+-parseInt(_0x315cf5(0x161))/0x7*(-parseInt(_0x315cf5(0x15d))/0x8)+-parseInt(_0x315cf5(0x15b))/0x9+-parseInt(_0x315cf5(0x15f))/0xa*(parseInt(_0x315cf5(0x162))/0xb);if(_0x12476d===_0x3b7dcc)break;else _0x4c5170['push'](_0x4c5170['shift']());}catch(_0x36030d){_0x4c5170['push'](_0x4c5170['shift']());}}}(_0x5c4f,0x6e2ed));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';function _0x5c4f(){var _0x20a4c3=['458175ctPeQG','440714cNeTfR','2955600nmneTT','10tyHBzQ','32XraAfi','1026216OWXVfo','10KPTZUv','1XPWVZJ','1317785QyNTcv','5186599MsSuZI','2149032sjYwUe'];_0x5c4f=function(){return _0x20a4c3;};return _0x5c4f();}export{AddCommentThreadCommand}from'./comments/addcommentthreadcommand.js';function _0x58b3(_0x492380,_0x3c3247){var _0x5c4f4=_0x5c4f();return _0x58b3=function(_0x58b359,_0x519019){_0x58b359=_0x58b359-0x15b;var _0x2b6e8e=_0x5c4f4[_0x58b359];return _0x2b6e8e;},_0x58b3(_0x492380,_0x3c3247);}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(_0x24ee95,_0x502d98,_0x5afa2b){const t=_0x24ee95['t'];switch(_0x502d98){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'},_0x5afa2b);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'},_0x5afa2b);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'},_0x5afa2b);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'},_0x5afa2b);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x5afa2b);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'},_0x5afa2b);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'},_0x5afa2b);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'},_0x5afa2b);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 _0x3495(){const _0x35ebe8=['5951655psvrQC','childList','199520XxWoud','2321242pbBHyx','180aPqEeF','class','attributes','6572850JuWlai','683294NNXlgM','disconnect','3378789nXybKI','3436713SvUnXm','characterData','attributeName','type','cancel','observe','4WiEZsT'];_0x3495=function(){return _0x35ebe8;};return _0x3495();}(function(_0x4123ef,_0x53156d){const _0x45392e=_0x1cec,_0x38c211=_0x4123ef();while(!![]){try{const _0x1e1e9b=parseInt(_0x45392e(0x110))/0x1+-parseInt(_0x45392e(0x11d))/0x2+-parseInt(_0x45392e(0x112))/0x3*(parseInt(_0x45392e(0x119))/0x4)+parseInt(_0x45392e(0x11a))/0x5+parseInt(_0x45392e(0x10f))/0x6+parseInt(_0x45392e(0x113))/0x7+parseInt(_0x45392e(0x11c))/0x8*(-parseInt(_0x45392e(0x10c))/0x9);if(_0x1e1e9b===_0x53156d)break;else _0x38c211['push'](_0x38c211['shift']());}catch(_0x36e1b7){_0x38c211['push'](_0x38c211['shift']());}}}(_0x3495,0xa4a47));import{throttle as _0x1c6be4}from'es-toolkit/compat';function _0x1cec(_0x5ee350,_0xb1e68f){const _0x34951d=_0x3495();return _0x1cec=function(_0x1cec0c,_0x1a0d8){_0x1cec0c=_0x1cec0c-0x10c;let _0x464097=_0x34951d[_0x1cec0c];return _0x464097;},_0x1cec(_0x5ee350,_0xb1e68f);}export function createMutationObserver(_0x248fea){const _0x4459cf=_0x1c6be4(_0x248fea,0x1e),_0x4cf6b8=new MutationObserver(_0x4aabe0=>{const _0x54f968=_0x1cec;for(const _0x57b0c9 of _0x4aabe0)(_0x54f968(0x10e)==_0x57b0c9[_0x54f968(0x116)]&&_0x54f968(0x10d)==_0x57b0c9[_0x54f968(0x115)]||_0x54f968(0x11b)==_0x57b0c9[_0x54f968(0x116)]||_0x54f968(0x114)==_0x57b0c9[_0x54f968(0x116)])&&_0x4459cf();});return{'attach'(_0x1bddca){const _0x31dfb0=_0x1cec;_0x4cf6b8[_0x31dfb0(0x118)](_0x1bddca,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x9745bd=_0x1cec;_0x4cf6b8[_0x9745bd(0x111)](),_0x4459cf[_0x9745bd(0x117)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x19a9a7,_0x18802b){const _0xb6378a=_0x2eac,_0x5e11e2=_0x19a9a7();while(!![]){try{const _0x56cad8=-parseInt(_0xb6378a(0x1e9))/0x1+parseInt(_0xb6378a(0x1e5))/0x2+-parseInt(_0xb6378a(0x1e6))/0x3+-parseInt(_0xb6378a(0x1e0))/0x4*(-parseInt(_0xb6378a(0x1e7))/0x5)+parseInt(_0xb6378a(0x1df))/0x6*(parseInt(_0xb6378a(0x1e1))/0x7)+parseInt(_0xb6378a(0x1e8))/0x8*(parseInt(_0xb6378a(0x1e2))/0x9)+-parseInt(_0xb6378a(0x1e4))/0xa*(parseInt(_0xb6378a(0x1de))/0xb);if(_0x56cad8===_0x18802b)break;else _0x5e11e2['push'](_0x5e11e2['shift']());}catch(_0x1a433b){_0x5e11e2['push'](_0x5e11e2['shift']());}}}(_0x4924,0xc95fb));function _0x2eac(_0x164cfc,_0x40c4ed){const _0x492424=_0x4924();return _0x2eac=function(_0x2eacd2,_0x1a05b9){_0x2eacd2=_0x2eacd2-0x1de;let _0x371ee1=_0x492424[_0x2eacd2];return _0x371ee1;},_0x2eac(_0x164cfc,_0x40c4ed);}function _0x4924(){const _0x345e5a=['642360viQObW','3702735uKuqjd','5HNcdaJ','736264EEFmPT','1273283XEFoJC','220HvoEga','2733582mEIgzt','2331120kmAfku','14LUhLCP','153XKJvUc','split','23680oIoVbz'];_0x4924=function(){return _0x345e5a;};return _0x4924();}export function splitMarkerName(_0x15ed2e){const _0x2551fb=_0x2eac,_0x43fc32=_0x15ed2e[_0x2551fb(0x1e3)](':');return{'group':_0x43fc32[0x0],'id':_0x43fc32[0x1],'part':_0x43fc32[0x2]};}
|