@ckeditor/ckeditor5-comments 46.0.0-alpha.8 → 46.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3ffaa1=_0x8099;(function(_0x2ab8ee,_0x32a511){const _0x404158=_0x8099,_0x5c0995=_0x2ab8ee();while(!![]){try{const _0x467331=-parseInt(_0x404158(0x12a))/0x1*(-parseInt(_0x404158(0xda))/0x2)+-parseInt(_0x404158(0x112))/0x3*(-parseInt(_0x404158(0x119))/0x4)+parseInt(_0x404158(0x103))/0x5*(-parseInt(_0x404158(0xfa))/0x6)+parseInt(_0x404158(0xe0))/0x7+-parseInt(_0x404158(0x10f))/0x8+-parseInt(_0x404158(0x100))/0x9+parseInt(_0x404158(0x12e))/0xa;if(_0x467331===_0x32a511)break;else _0x5c0995['push'](_0x5c0995['shift']());}catch(_0x222daf){_0x5c0995['push'](_0x5c0995['shift']());}}}(_0x1a2e,0x75798));function _0x8099(_0x325162,_0x2e88ab){const _0x1a2e23=_0x1a2e();return _0x8099=function(_0x8099e1,_0x2e40bb){_0x8099e1=_0x8099e1-0xda;let _0x50c21c=_0x1a2e23[_0x8099e1];return _0x50c21c;},_0x8099(_0x325162,_0x2e88ab);}import{View as _0x43fc33,FocusCycler as _0x56435b}from'ckeditor5/src/ui.js';import{diff as _0xca2e46,Collection as _0x1d9321,FocusTracker as _0x50f83c,KeystrokeHandler as _0x3044b3}from'ckeditor5/src/utils.js';function _0x1a2e(){const _0x2f7817=['Thread\x20comments','delegate','removeComment','focusTracker','4640544vWsHlu','bindTemplate','focusFirst','174190whGHJL','maxCommentCharsWhenCollapsed','collapse','change','reverse','_collapsedCommentsView','Marked\x20as\x20resolved','visibleViews','keystrokes','_updateHasDirtyComment','focusCycler','arrowup','3497536IIfMWG','remove','editorDestroyed','4161FUramz','map','destroy','forEach','isActive','focusLast','render','1396CTkWbZ','authoredAt','resolveCommentThread','updateComment','target','weight','listenTo','_config','expand','_shouldCollapse','setTemplate','_handleNewCommentModel','isEditMode','some','bind','ck-thread__comments','editorConfig','83WuHgzB','includes','removed','resolvedCommentView','6207770YSdiVs','maxThreadTotalWeight','commentViews','equal','from','viewUid','_findOptimalIndex','_rearrangeExpand','change:isActive','delete','commentUpdated','count','maxCommentsWhenCollapsed','9148UvpoeZ','change:hasDirtyComment','ck-hidden','get','resolvedAt','arrowdown','2329040pMAloF','editorReady','_model','insert','_handleRemoveCommentModel','_setupKeyboardNavigation','focus','_rearrangeCollapse','formatDateTime','element','add','change:isResolved','length','comments','createCollection','_calculatePosition','resolved','hasDirtyComment','_handleInfoComment','locale','change:isEditMode','added','set','resolvedBy','CommentView','refreshVisibleViews','66LfcrRC','stopListening'];_0x1a2e=function(){return _0x2f7817;};return _0x1a2e();}import{getTranslation as _0x3c6d1d}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x29dcd6}from'./collapsedcommentsview.js';export class CommentsListView extends _0x43fc33{[_0x3ffaa1(0x130)];[_0x3ffaa1(0x12d)];[_0x3ffaa1(0xff)];[_0x3ffaa1(0x10b)];[_0x3ffaa1(0x10d)];[_0x3ffaa1(0xe2)];[_0x3ffaa1(0x120)];[_0x3ffaa1(0x108)];constructor(_0x1a5508,_0x5687ff,_0x1d1fbf){const _0x586557=_0x3ffaa1;super(_0x1a5508);const _0x45fa60=this[_0x586557(0x101)];this[_0x586557(0xf6)](_0x586557(0xf1),!0x1),this[_0x586557(0xf6)](_0x586557(0xec),_0x5687ff[_0x586557(0xed)][_0x586557(0xec)]),this[_0x586557(0xf6)](_0x586557(0x116),!0x1),this[_0x586557(0xe2)]=_0x5687ff,this[_0x586557(0x120)]=_0x1d1fbf,this[_0x586557(0x130)]=this[_0x586557(0xee)](),this[_0x586557(0x10a)]=this[_0x586557(0xee)](),this[_0x586557(0x12d)]=null,this[_0x586557(0xff)]=new _0x50f83c(),this[_0x586557(0x10b)]=new _0x3044b3(),this[_0x586557(0x10d)]=new _0x56435b({'focusables':this[_0x586557(0x130)],'focusTracker':this[_0x586557(0xff)],'keystrokeHandler':this[_0x586557(0x10b)],'keystrokeHandlerOptions':{'filter':_0x6c1ab=>this[_0x586557(0x130)][_0x586557(0x113)](_0x4bd900=>_0x4bd900[_0x586557(0xe9)])[_0x586557(0x12b)](_0x6c1ab[_0x586557(0x11d)])},'actions':{'focusPrevious':_0x586557(0x10e),'focusNext':_0x586557(0xdf)}}),this[_0x586557(0x108)]=new _0x29dcd6(_0x1a5508),this[_0x586557(0x108)][_0x586557(0x127)](_0x586557(0x139))['to'](this,_0x586557(0xec),_0x1f9717=>_0x1f9717-this[_0x586557(0x120)][_0x586557(0x13a)]);for(const _0x5c645a of _0x5687ff[_0x586557(0xed)])this[_0x586557(0x124)](_0x5c645a);this[_0x586557(0xf2)](),this[_0x586557(0x11f)](_0x5687ff[_0x586557(0xed)],_0x586557(0xea),(_0x486452,_0x12355f)=>{const _0x29c6a9=_0x586557,_0x2ddac2=this[_0x29c6a9(0xef)](_0x12355f);this[_0x29c6a9(0xec)]++,this[_0x29c6a9(0x124)](_0x12355f,_0x2ddac2),this[_0x29c6a9(0xf9)]();}),this[_0x586557(0x11f)](_0x5687ff[_0x586557(0xed)],_0x586557(0x110),(_0x5dc816,_0x1da083)=>{const _0x4455ff=_0x586557;this[_0x4455ff(0xec)]--,this[_0x4455ff(0xe4)](_0x1da083),this[_0x4455ff(0xf9)]();}),this[_0x586557(0x11f)](_0x5687ff,_0x586557(0x138),()=>this[_0x586557(0xf9)]()),this[_0x586557(0x11f)](_0x5687ff,_0x586557(0xeb),()=>this[_0x586557(0xf2)]()),this['on'](_0x586557(0x136),()=>this[_0x586557(0xf9)]()),this['on'](_0x586557(0xdb),()=>this[_0x586557(0xf9)]()),this[_0x586557(0x123)]({'tag':'ul','attributes':{'class':[_0x586557(0x128),_0x45fa60['if'](_0x586557(0xec),_0x586557(0xdc),_0x5ad480=>!_0x5ad480)],'aria-label':_0x3c6d1d(_0x1a5508,_0x586557(0xfc))},'children':this[_0x586557(0x10a)]});}get[_0x3ffaa1(0x122)](){const _0x50b623=_0x3ffaa1;return this[_0x50b623(0xe2)][_0x50b623(0x11e)]>this[_0x50b623(0x120)][_0x50b623(0x12f)]&&!this[_0x50b623(0x116)]&&!this[_0x50b623(0xf1)];}[_0x3ffaa1(0x118)](){const _0x2db027=_0x3ffaa1;super[_0x2db027(0x118)](),this[_0x2db027(0xf9)](),this[_0x2db027(0xe5)]();}[_0x3ffaa1(0xe6)](_0x418cf0){const _0x5c6682=_0x3ffaa1;-0x1===_0x418cf0?this[_0x5c6682(0x10d)][_0x5c6682(0x117)]():this[_0x5c6682(0x10d)][_0x5c6682(0x102)]();}[_0x3ffaa1(0x114)](){const _0x3c7887=_0x3ffaa1;this[_0x3c7887(0x108)][_0x3c7887(0x114)]();for(const _0x27584d of this[_0x3c7887(0x130)])_0x27584d[_0x3c7887(0x114)]();super[_0x3c7887(0x114)]();}[_0x3ffaa1(0xf9)](){const _0xeceabe=_0x3ffaa1;this[_0xeceabe(0x122)]?this[_0xeceabe(0xe7)]():this[_0xeceabe(0x135)]();}[_0x3ffaa1(0x124)](_0x4b4cab,_0x33169c){const _0x4088b=_0x3ffaa1,_0x4f1e98=new this[(_0x4088b(0x120))][(_0x4088b(0xf8))](this[_0x4088b(0xf3)],_0x4b4cab,{'maxCommentCharsWhenCollapsed':this[_0x4088b(0x120)][_0x4088b(0x104)],'formatDateTime':this[_0x4088b(0x120)][_0x4088b(0xe8)],'editorConfig':this[_0x4088b(0x120)][_0x4088b(0x129)]});_0x4f1e98[_0x4088b(0x133)]=_0x4b4cab['id'],_0x4f1e98[_0x4088b(0xfd)](_0x4088b(0xfe))['to'](this),_0x4f1e98[_0x4088b(0xfd)](_0x4088b(0x11c))['to'](this),_0x4f1e98[_0x4088b(0xfd)](_0x4088b(0x11b))['to'](this),_0x4f1e98[_0x4088b(0xfd)](_0x4088b(0xe1))['to'](this),_0x4f1e98[_0x4088b(0xfd)](_0x4088b(0x111))['to'](this),this[_0x4088b(0x11f)](_0x4f1e98,_0x4088b(0xf4),()=>this[_0x4088b(0x10c)]()),this[_0x4088b(0x130)][_0x4088b(0xea)](_0x4f1e98,_0x33169c);}[_0x3ffaa1(0xef)](_0x427f9d){const _0x2ddfed=_0x3ffaa1,_0x2094e3=this[_0x2ddfed(0xe2)][_0x2ddfed(0x134)](_0x427f9d);return this[_0x2ddfed(0x12d)]?this[_0x2ddfed(0x12d)][_0x2ddfed(0x11a)]>_0x427f9d[_0x2ddfed(0x11a)]?_0x2094e3-0x1:_0x2094e3:_0x2094e3-0x1;}[_0x3ffaa1(0xf2)](){const _0x4d9356=_0x3ffaa1;if(this[_0x4d9356(0xe2)][_0x4d9356(0xf7)]&&this[_0x4d9356(0xe2)][_0x4d9356(0xde)]){const _0xebc5dc={'id':_0x4d9356(0xf0),'author':this[_0x4d9356(0xe2)][_0x4d9356(0xf7)],'authoredAt':this[_0x4d9356(0xe2)][_0x4d9356(0xde)],'content':_0x3c6d1d(this[_0x4d9356(0xf3)],_0x4d9356(0x109)),'attributes':{}};this[_0x4d9356(0x12d)]=new this[(_0x4d9356(0x120))][(_0x4d9356(0xf8))](this[_0x4d9356(0xf3)],_0xebc5dc,{'maxCommentCharsWhenCollapsed':this[_0x4d9356(0x120)][_0x4d9356(0x104)],'formatDateTime':this[_0x4d9356(0x120)][_0x4d9356(0xe8)],'editorConfig':this[_0x4d9356(0x120)][_0x4d9356(0x129)],'isSystemComment':!0x0}),this[_0x4d9356(0x130)][_0x4d9356(0xea)](this[_0x4d9356(0x12d)],this[_0x4d9356(0xe2)][_0x4d9356(0x134)](_0xebc5dc));}else this[_0x4d9356(0x12d)]&&(this[_0x4d9356(0x130)][_0x4d9356(0x110)](this[_0x4d9356(0x12d)]),this[_0x4d9356(0x12d)][_0x4d9356(0x114)](),this[_0x4d9356(0x12d)]=null);this[_0x4d9356(0xf9)]();}[_0x3ffaa1(0xe4)](_0x2928e2){const _0x14e341=_0x3ffaa1,_0x2bf51f=this[_0x14e341(0x130)][_0x14e341(0x110)](_0x2928e2['id']);this[_0x14e341(0xfb)](_0x2bf51f),_0x2bf51f[_0x14e341(0x125)]&&this[_0x14e341(0x10c)](),_0x2bf51f[_0x14e341(0x114)]();}[_0x3ffaa1(0x10c)](){const _0x4f1d79=_0x3ffaa1;this[_0x4f1d79(0xf1)]=Array[_0x4f1d79(0x132)](this[_0x4f1d79(0x130)])[_0x4f1d79(0x126)](_0x5b8f74=>_0x5b8f74[_0x4f1d79(0x125)]);}[_0x3ffaa1(0xe7)](){const _0x1715c2=_0x3ffaa1,_0x566247=function(_0x14cbb9){const _0x2218d3=_0x8099,_0x53f036=new _0x1d9321();for(const _0x50cd4b of _0x14cbb9)_0x53f036[_0x2218d3(0xea)](_0x50cd4b);return _0x53f036;}(this[_0x1715c2(0x130)]),_0x2e92e3=this[_0x1715c2(0x108)][_0x1715c2(0x139)];for(let _0x34a7d6=0x1;_0x34a7d6<=_0x2e92e3;_0x34a7d6++)_0x566247[_0x1715c2(0x110)](0x1);for(const _0x1b9403 of _0x566247)_0x1b9403[_0x1715c2(0x105)]();_0x2e92e3>0x0&&_0x566247[_0x1715c2(0xea)](this[_0x1715c2(0x108)],0x1),rs(_0xca2e46(Array[_0x1715c2(0x132)](this[_0x1715c2(0x10a)]),Array[_0x1715c2(0x132)](_0x566247)),this[_0x1715c2(0x10a)],_0x566247);}[_0x3ffaa1(0x135)](){const _0x834ead=_0x3ffaa1;rs(_0xca2e46(Array[_0x834ead(0x132)](this[_0x834ead(0x10a)]),Array[_0x834ead(0x132)](this[_0x834ead(0x130)])),this[_0x834ead(0x10a)],this[_0x834ead(0x130)]);for(const _0x208c37 of this[_0x834ead(0x10a)])_0x208c37[_0x834ead(0x121)]();}[_0x3ffaa1(0xe5)](){const _0x32464d=_0x3ffaa1;this[_0x32464d(0x130)][_0x32464d(0x115)](_0x2c30ad=>{const _0xa8e5f3=_0x32464d;this[_0xa8e5f3(0xff)][_0xa8e5f3(0xea)](_0x2c30ad[_0xa8e5f3(0xe9)]),this[_0xa8e5f3(0x10b)][_0xa8e5f3(0x11f)](_0x2c30ad[_0xa8e5f3(0xe9)]);}),this[_0x32464d(0x130)]['on'](_0x32464d(0x106),(_0x10db42,_0x47cb27)=>{const _0x258f8c=_0x32464d;for(const _0x327721 of _0x47cb27[_0x258f8c(0x12c)])this[_0x258f8c(0xff)][_0x258f8c(0x110)](_0x327721[_0x258f8c(0xe9)]),this[_0x258f8c(0x10b)][_0x258f8c(0xfb)](_0x327721[_0x258f8c(0xe9)]);for(const _0x392da4 of Array[_0x258f8c(0x132)](_0x47cb27[_0x258f8c(0xf5)])[_0x258f8c(0x107)]())this[_0x258f8c(0xff)][_0x258f8c(0xea)](_0x392da4[_0x258f8c(0xe9)]),this[_0x258f8c(0x10b)][_0x258f8c(0x11f)](_0x392da4[_0x258f8c(0xe9)]);});}}function rs(_0x189531,_0x471e50,_0x20a175){const _0x26fde7=_0x3ffaa1;let _0x1522cd=0x0;for(const _0x3b2a28 of _0x189531)switch(_0x3b2a28){case _0x26fde7(0xe3):_0x471e50[_0x26fde7(0xea)](_0x20a175[_0x26fde7(0xdd)](_0x1522cd),_0x1522cd),_0x1522cd++;break;case _0x26fde7(0x137):_0x471e50[_0x26fde7(0x110)](_0x1522cd);break;case _0x26fde7(0x131):_0x1522cd++;}}
|
|
23
|
+
function _0x1196(_0x21a0f9,_0x3f9ade){const _0x2f19d8=_0x2f19();return _0x1196=function(_0x11969d,_0x3d677d){_0x11969d=_0x11969d-0xa9;let _0x5ae614=_0x2f19d8[_0x11969d];return _0x5ae614;},_0x1196(_0x21a0f9,_0x3f9ade);}const _0x3a2e2d=_0x1196;(function(_0x4315b3,_0x36c98d){const _0x272d14=_0x1196,_0x1d573d=_0x4315b3();while(!![]){try{const _0x452bc0=-parseInt(_0x272d14(0xf1))/0x1+parseInt(_0x272d14(0xd3))/0x2+-parseInt(_0x272d14(0xda))/0x3*(parseInt(_0x272d14(0xfd))/0x4)+parseInt(_0x272d14(0xdf))/0x5+parseInt(_0x272d14(0xb6))/0x6+-parseInt(_0x272d14(0xeb))/0x7*(parseInt(_0x272d14(0xc6))/0x8)+parseInt(_0x272d14(0xc9))/0x9*(parseInt(_0x272d14(0xfb))/0xa);if(_0x452bc0===_0x36c98d)break;else _0x1d573d['push'](_0x1d573d['shift']());}catch(_0x1d85e5){_0x1d573d['push'](_0x1d573d['shift']());}}}(_0x2f19,0x94afd));import{View as _0x22b386,FocusCycler as _0x51bf2f}from'ckeditor5/src/ui.js';function _0x2f19(){const _0x27a113=['formatDateTime','weight','keystrokes','21mtqNZa','focus','_setupKeyboardNavigation','_shouldCollapse','insert','length','844961btqAEb','add','stopListening','comments','_handleInfoComment','_config','arrowup','_updateHasDirtyComment','change','change:isResolved','3185340YitZhD','_model','172mZxVsR','resolvedCommentView','_handleNewCommentModel','createCollection','editorReady','ck-hidden','viewUid','maxCommentCharsWhenCollapsed','hasDirtyComment','_rearrangeExpand','updateComment','from','delete','focusTracker','bind','change:isActive','Marked\x20as\x20resolved','editorConfig','bindTemplate','resolveCommentThread','expand','destroy','_collapsedCommentsView','focusFirst','focusCycler','some','6608256kcijWx','delegate','count','_findOptimalIndex','CommentView','arrowdown','resolvedAt','element','set','render','get','maxCommentsWhenCollapsed','change:isEditMode','authoredAt','removed','commentUpdated','2757448NtAshL','editorDestroyed','refreshVisibleViews','45IDoHbj','commentViews','_rearrangeCollapse','change:hasDirtyComment','ck-thread__comments','remove','isActive','visibleViews','includes','collapse','196742ebZFTg','focusLast','resolved','listenTo','removeComment','isEditMode','map','72183YFiJQy','_handleRemoveCommentModel','added','locale','setTemplate','3651155vEvsuY','_calculatePosition','reverse','target','forEach','maxThreadTotalWeight','equal','resolvedBy','Thread\x20comments'];_0x2f19=function(){return _0x27a113;};return _0x2f19();}import{diff as _0x3ace9c,Collection as _0x25b6fb,FocusTracker as _0x428ff2,KeystrokeHandler as _0x4304dd}from'ckeditor5/src/utils.js';import{getTranslation as _0x3486c1}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x91fce0}from'./collapsedcommentsview.js';export class CommentsListView extends _0x22b386{[_0x3a2e2d(0xca)];[_0x3a2e2d(0xfe)];[_0x3a2e2d(0xa9)];[_0x3a2e2d(0xea)];[_0x3a2e2d(0xb4)];[_0x3a2e2d(0xfc)];[_0x3a2e2d(0xf6)];[_0x3a2e2d(0xb2)];constructor(_0x57eb04,_0x3b4350,_0x52a289){const _0x1eb7b2=_0x3a2e2d;super(_0x57eb04);const _0x8841d7=this[_0x1eb7b2(0xae)];this[_0x1eb7b2(0xbe)](_0x1eb7b2(0x105),!0x1),this[_0x1eb7b2(0xbe)](_0x1eb7b2(0xf0),_0x3b4350[_0x1eb7b2(0xf4)][_0x1eb7b2(0xf0)]),this[_0x1eb7b2(0xbe)](_0x1eb7b2(0xcf),!0x1),this[_0x1eb7b2(0xfc)]=_0x3b4350,this[_0x1eb7b2(0xf6)]=_0x52a289,this[_0x1eb7b2(0xca)]=this[_0x1eb7b2(0x100)](),this[_0x1eb7b2(0xd0)]=this[_0x1eb7b2(0x100)](),this[_0x1eb7b2(0xfe)]=null,this[_0x1eb7b2(0xa9)]=new _0x428ff2(),this[_0x1eb7b2(0xea)]=new _0x4304dd(),this[_0x1eb7b2(0xb4)]=new _0x51bf2f({'focusables':this[_0x1eb7b2(0xca)],'focusTracker':this[_0x1eb7b2(0xa9)],'keystrokeHandler':this[_0x1eb7b2(0xea)],'keystrokeHandlerOptions':{'filter':_0x4c52ee=>this[_0x1eb7b2(0xca)][_0x1eb7b2(0xd9)](_0x3d1189=>_0x3d1189[_0x1eb7b2(0xbd)])[_0x1eb7b2(0xd1)](_0x4c52ee[_0x1eb7b2(0xe2)])},'actions':{'focusPrevious':_0x1eb7b2(0xf7),'focusNext':_0x1eb7b2(0xbb)}}),this[_0x1eb7b2(0xb2)]=new _0x91fce0(_0x57eb04),this[_0x1eb7b2(0xb2)][_0x1eb7b2(0xaa)](_0x1eb7b2(0xb8))['to'](this,_0x1eb7b2(0xf0),_0x318500=>_0x318500-this[_0x1eb7b2(0xf6)][_0x1eb7b2(0xc1)]);for(const _0x3a286a of _0x3b4350[_0x1eb7b2(0xf4)])this[_0x1eb7b2(0xff)](_0x3a286a);this[_0x1eb7b2(0xf5)](),this[_0x1eb7b2(0xd6)](_0x3b4350[_0x1eb7b2(0xf4)],_0x1eb7b2(0xf2),(_0x4c2f49,_0x3471ef)=>{const _0x249d52=_0x1eb7b2,_0x53c230=this[_0x249d52(0xe0)](_0x3471ef);this[_0x249d52(0xf0)]++,this[_0x249d52(0xff)](_0x3471ef,_0x53c230),this[_0x249d52(0xc8)]();}),this[_0x1eb7b2(0xd6)](_0x3b4350[_0x1eb7b2(0xf4)],_0x1eb7b2(0xce),(_0xc428d8,_0x58dd5b)=>{const _0x125dc7=_0x1eb7b2;this[_0x125dc7(0xf0)]--,this[_0x125dc7(0xdb)](_0x58dd5b),this[_0x125dc7(0xc8)]();}),this[_0x1eb7b2(0xd6)](_0x3b4350,_0x1eb7b2(0xc5),()=>this[_0x1eb7b2(0xc8)]()),this[_0x1eb7b2(0xd6)](_0x3b4350,_0x1eb7b2(0xfa),()=>this[_0x1eb7b2(0xf5)]()),this['on'](_0x1eb7b2(0xab),()=>this[_0x1eb7b2(0xc8)]()),this['on'](_0x1eb7b2(0xcc),()=>this[_0x1eb7b2(0xc8)]()),this[_0x1eb7b2(0xde)]({'tag':'ul','attributes':{'class':[_0x1eb7b2(0xcd),_0x8841d7['if'](_0x1eb7b2(0xf0),_0x1eb7b2(0x102),_0x5c32f7=>!_0x5c32f7)],'aria-label':_0x3486c1(_0x57eb04,_0x1eb7b2(0xe7))},'children':this[_0x1eb7b2(0xd0)]});}get[_0x3a2e2d(0xee)](){const _0x66f13=_0x3a2e2d;return this[_0x66f13(0xfc)][_0x66f13(0xe9)]>this[_0x66f13(0xf6)][_0x66f13(0xe4)]&&!this[_0x66f13(0xcf)]&&!this[_0x66f13(0x105)];}[_0x3a2e2d(0xbf)](){const _0x125706=_0x3a2e2d;super[_0x125706(0xbf)](),this[_0x125706(0xc8)](),this[_0x125706(0xed)]();}[_0x3a2e2d(0xec)](_0x3c8d20){const _0xfb7539=_0x3a2e2d;-0x1===_0x3c8d20?this[_0xfb7539(0xb4)][_0xfb7539(0xd4)]():this[_0xfb7539(0xb4)][_0xfb7539(0xb3)]();}[_0x3a2e2d(0xb1)](){const _0x281c4e=_0x3a2e2d;this[_0x281c4e(0xb2)][_0x281c4e(0xb1)]();for(const _0x5c1aeb of this[_0x281c4e(0xca)])_0x5c1aeb[_0x281c4e(0xb1)]();super[_0x281c4e(0xb1)]();}[_0x3a2e2d(0xc8)](){const _0x2a65f4=_0x3a2e2d;this[_0x2a65f4(0xee)]?this[_0x2a65f4(0xcb)]():this[_0x2a65f4(0x106)]();}[_0x3a2e2d(0xff)](_0x22e385,_0x5bc137){const _0x47f301=_0x3a2e2d,_0x5266a3=new this[(_0x47f301(0xf6))][(_0x47f301(0xba))](this[_0x47f301(0xdd)],_0x22e385,{'maxCommentCharsWhenCollapsed':this[_0x47f301(0xf6)][_0x47f301(0x104)],'formatDateTime':this[_0x47f301(0xf6)][_0x47f301(0xe8)],'editorConfig':this[_0x47f301(0xf6)][_0x47f301(0xad)]});_0x5266a3[_0x47f301(0x103)]=_0x22e385['id'],_0x5266a3[_0x47f301(0xb7)](_0x47f301(0xd7))['to'](this),_0x5266a3[_0x47f301(0xb7)](_0x47f301(0x107))['to'](this),_0x5266a3[_0x47f301(0xb7)](_0x47f301(0xaf))['to'](this),_0x5266a3[_0x47f301(0xb7)](_0x47f301(0x101))['to'](this),_0x5266a3[_0x47f301(0xb7)](_0x47f301(0xc7))['to'](this),this[_0x47f301(0xd6)](_0x5266a3,_0x47f301(0xc2),()=>this[_0x47f301(0xf8)]()),this[_0x47f301(0xca)][_0x47f301(0xf2)](_0x5266a3,_0x5bc137);}[_0x3a2e2d(0xe0)](_0x5d350d){const _0x335f0f=_0x3a2e2d,_0x4b2a1e=this[_0x335f0f(0xfc)][_0x335f0f(0xb9)](_0x5d350d);return this[_0x335f0f(0xfe)]?this[_0x335f0f(0xfe)][_0x335f0f(0xc3)]>_0x5d350d[_0x335f0f(0xc3)]?_0x4b2a1e-0x1:_0x4b2a1e:_0x4b2a1e-0x1;}[_0x3a2e2d(0xf5)](){const _0x5179ae=_0x3a2e2d;if(this[_0x5179ae(0xfc)][_0x5179ae(0xe6)]&&this[_0x5179ae(0xfc)][_0x5179ae(0xbc)]){const _0x1b6af0={'id':_0x5179ae(0xd5),'author':this[_0x5179ae(0xfc)][_0x5179ae(0xe6)],'authoredAt':this[_0x5179ae(0xfc)][_0x5179ae(0xbc)],'content':_0x3486c1(this[_0x5179ae(0xdd)],_0x5179ae(0xac)),'attributes':{}};this[_0x5179ae(0xfe)]=new this[(_0x5179ae(0xf6))][(_0x5179ae(0xba))](this[_0x5179ae(0xdd)],_0x1b6af0,{'maxCommentCharsWhenCollapsed':this[_0x5179ae(0xf6)][_0x5179ae(0x104)],'formatDateTime':this[_0x5179ae(0xf6)][_0x5179ae(0xe8)],'editorConfig':this[_0x5179ae(0xf6)][_0x5179ae(0xad)],'isSystemComment':!0x0}),this[_0x5179ae(0xca)][_0x5179ae(0xf2)](this[_0x5179ae(0xfe)],this[_0x5179ae(0xfc)][_0x5179ae(0xb9)](_0x1b6af0));}else this[_0x5179ae(0xfe)]&&(this[_0x5179ae(0xca)][_0x5179ae(0xce)](this[_0x5179ae(0xfe)]),this[_0x5179ae(0xfe)][_0x5179ae(0xb1)](),this[_0x5179ae(0xfe)]=null);this[_0x5179ae(0xc8)]();}[_0x3a2e2d(0xdb)](_0x2c1039){const _0x2c2952=_0x3a2e2d,_0x4f12ed=this[_0x2c2952(0xca)][_0x2c2952(0xce)](_0x2c1039['id']);this[_0x2c2952(0xf3)](_0x4f12ed),_0x4f12ed[_0x2c2952(0xd8)]&&this[_0x2c2952(0xf8)](),_0x4f12ed[_0x2c2952(0xb1)]();}[_0x3a2e2d(0xf8)](){const _0x263b11=_0x3a2e2d;this[_0x263b11(0x105)]=Array[_0x263b11(0x108)](this[_0x263b11(0xca)])[_0x263b11(0xb5)](_0x9b73fd=>_0x9b73fd[_0x263b11(0xd8)]);}[_0x3a2e2d(0xcb)](){const _0x13197a=_0x3a2e2d,_0x407fa7=function(_0x202249){const _0x319e55=_0x1196,_0x40488b=new _0x25b6fb();for(const _0x4ebe12 of _0x202249)_0x40488b[_0x319e55(0xf2)](_0x4ebe12);return _0x40488b;}(this[_0x13197a(0xca)]),_0x4cbc40=this[_0x13197a(0xb2)][_0x13197a(0xb8)];for(let _0x15f3c9=0x1;_0x15f3c9<=_0x4cbc40;_0x15f3c9++)_0x407fa7[_0x13197a(0xce)](0x1);for(const _0x17905e of _0x407fa7)_0x17905e[_0x13197a(0xd2)]();_0x4cbc40>0x0&&_0x407fa7[_0x13197a(0xf2)](this[_0x13197a(0xb2)],0x1),rs(_0x3ace9c(Array[_0x13197a(0x108)](this[_0x13197a(0xd0)]),Array[_0x13197a(0x108)](_0x407fa7)),this[_0x13197a(0xd0)],_0x407fa7);}[_0x3a2e2d(0x106)](){const _0x447770=_0x3a2e2d;rs(_0x3ace9c(Array[_0x447770(0x108)](this[_0x447770(0xd0)]),Array[_0x447770(0x108)](this[_0x447770(0xca)])),this[_0x447770(0xd0)],this[_0x447770(0xca)]);for(const _0x128011 of this[_0x447770(0xd0)])_0x128011[_0x447770(0xb0)]();}[_0x3a2e2d(0xed)](){const _0x1bf443=_0x3a2e2d;this[_0x1bf443(0xca)][_0x1bf443(0xe3)](_0x369aa6=>{const _0x230025=_0x1bf443;this[_0x230025(0xa9)][_0x230025(0xf2)](_0x369aa6[_0x230025(0xbd)]),this[_0x230025(0xea)][_0x230025(0xd6)](_0x369aa6[_0x230025(0xbd)]);}),this[_0x1bf443(0xca)]['on'](_0x1bf443(0xf9),(_0x2ea1eb,_0x4c4c8d)=>{const _0x2fa3d3=_0x1bf443;for(const _0x2182e2 of _0x4c4c8d[_0x2fa3d3(0xc4)])this[_0x2fa3d3(0xa9)][_0x2fa3d3(0xce)](_0x2182e2[_0x2fa3d3(0xbd)]),this[_0x2fa3d3(0xea)][_0x2fa3d3(0xf3)](_0x2182e2[_0x2fa3d3(0xbd)]);for(const _0x93b8dd of Array[_0x2fa3d3(0x108)](_0x4c4c8d[_0x2fa3d3(0xdc)])[_0x2fa3d3(0xe1)]())this[_0x2fa3d3(0xa9)][_0x2fa3d3(0xf2)](_0x93b8dd[_0x2fa3d3(0xbd)]),this[_0x2fa3d3(0xea)][_0x2fa3d3(0xd6)](_0x93b8dd[_0x2fa3d3(0xbd)]);});}}function rs(_0x1ce0bd,_0x5aefcd,_0x69aba){const _0x247e2d=_0x3a2e2d;let _0x166abe=0x0;for(const _0xda644b of _0x1ce0bd)switch(_0xda644b){case _0x247e2d(0xef):_0x5aefcd[_0x247e2d(0xf2)](_0x69aba[_0x247e2d(0xc0)](_0x166abe),_0x166abe),_0x166abe++;break;case _0x247e2d(0x109):_0x5aefcd[_0x247e2d(0xce)](_0x166abe);break;case _0x247e2d(0xe5):_0x166abe++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x476b11=_0x2b48;(function(_0xff42b9,_0x240858){const _0x12ee1d=_0x2b48,_0x2e436f=_0xff42b9();while(!![]){try{const _0x43549f=parseInt(_0x12ee1d(0xd5))/0x1+-parseInt(_0x12ee1d(0xe0))/0x2+-parseInt(_0x12ee1d(0xdf))/0x3+parseInt(_0x12ee1d(0xd3))/0x4*(parseInt(_0x12ee1d(0xdd))/0x5)+-parseInt(_0x12ee1d(0xdc))/0x6+parseInt(_0x12ee1d(0xd2))/0x7+-parseInt(_0x12ee1d(0xde))/0x8;if(_0x43549f===_0x240858)break;else _0x2e436f['push'](_0x2e436f['shift']());}catch(_0x94a7ad){_0x2e436f['push'](_0x2e436f['shift']());}}}(_0x5f19,0xa8803));import{View as _0x2e14d3}from'ckeditor5/src/ui.js';function _0x2b48(_0x2c29af,_0x253d95){const _0x5f19ba=_0x5f19();return _0x2b48=function(_0x2b4886,_0x16412d){_0x2b4886=_0x2b4886-0xd0;let _0x313536=_0x5f19ba[_0x2b4886];return _0x313536;},_0x2b48(_0x2c29af,_0x253d95);}function _0x5f19(){const _0x5b5da1=['focus','1188435MQHCzU','ck-context__value','set','span','bindTemplate','element','THREAD_CONTEXT_LABEL','780510AqcTxt','5MQAaOJ','3429768InWGEJ','1943703fVqNDE','1244724XUosHO','setTemplate','contextValue','3773966jTXXpx','3166700WtXjZh'];_0x5f19=function(){return _0x5b5da1;};return _0x5f19();}import{getTranslation as _0x20a3d8}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x2e14d3{constructor(_0x196af7){const _0x390f51=_0x2b48;super(_0x196af7);const _0x51705f=this[_0x390f51(0xd9)];this[_0x390f51(0xd7)](_0x390f51(0xd1),''),this[_0x390f51(0xd0)]({'tag':_0x390f51(0xd8),'attributes':{'class':['ck',_0x390f51(0xd6)],'aria-label':_0x51705f['to'](_0x390f51(0xd1),_0x985979=>_0x20a3d8(_0x196af7,_0x390f51(0xdb),_0x985979)),'tabindex':-0x1},'children':[{'text':_0x51705f['to'](_0x390f51(0xd1))}]});}[_0x476b11(0xd4)](){const _0x18e668=_0x476b11;this[_0x18e668(0xda)][_0x18e668(0xd4)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2bdb22=_0x8d2c;(function(_0x195053,_0x6c463b){const _0x321649=_0x8d2c,_0x34d2bb=_0x195053();while(!![]){try{const _0x3271d8=parseInt(_0x321649(0xe5))/0x1*(parseInt(_0x321649(0xe1))/0x2)+-parseInt(_0x321649(0xdc))/0x3+parseInt(_0x321649(0xca))/0x4+-parseInt(_0x321649(0xeb))/0x5+-parseInt(_0x321649(0xdd))/0x6*(parseInt(_0x321649(0xd5))/0x7)+-parseInt(_0x321649(0xcb))/0x8+parseInt(_0x321649(0xd7))/0x9;if(_0x3271d8===_0x6c463b)break;else _0x34d2bb['push'](_0x34d2bb['shift']());}catch(_0x54acce){_0x34d2bb['push'](_0x34d2bb['shift']());}}}(_0xaf83,0xee47b));import{View as _0x5ca21f,ButtonView as _0x37afbe,FocusCycler as _0x3a65d2}from'ckeditor5/src/ui.js';import{FocusTracker as _0x26b7cd,KeystrokeHandler as _0x198254}from'ckeditor5/src/utils.js';import{IconUndo as _0x382a03}from'ckeditor5/src/icons.js';import{getTranslation as _0x1c4f6b}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0xe173de}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;function _0x8d2c(_0x3bb3e5,_0x6502d){const _0xaf8391=_0xaf83();return _0x8d2c=function(_0x8d2c45,_0x554808){_0x8d2c45=_0x8d2c45-0xaa;let _0x554f8c=_0xaf8391[_0x8d2c45];return _0x554f8c;},_0x8d2c(_0x3bb3e5,_0x6502d);}export class CommentThreadHeaderView extends _0x5ca21f{[_0x2bdb22(0xe4)];[_0x2bdb22(0xe2)];[_0x2bdb22(0xbf)];[_0x2bdb22(0xab)];[_0x2bdb22(0xec)];[_0x2bdb22(0xd2)];[_0x2bdb22(0xc6)];constructor(_0x569b3c,_0x2f35e9){const _0x5ea907=_0x2bdb22;super(_0x569b3c);const _0x19720d=this[_0x5ea907(0xad)];this[_0x5ea907(0xe4)]=_0x2f35e9,this[_0x5ea907(0xe2)]=this[_0x5ea907(0xb3)](),this[_0x5ea907(0xbf)]=this[_0x5ea907(0xba)](),this[_0x5ea907(0xab)]=this[_0x5ea907(0xd9)]([this[_0x5ea907(0xbf)],this[_0x5ea907(0xe2)]]),this[_0x5ea907(0xec)]=new _0x26b7cd(),this[_0x5ea907(0xd2)]=new _0x198254(),this[_0x5ea907(0xc6)]=new _0x3a65d2({'focusables':this[_0x5ea907(0xab)],'focusTracker':this[_0x5ea907(0xec)],'keystrokeHandler':this[_0x5ea907(0xd2)],'actions':{'focusPrevious':_0x5ea907(0xb6),'focusNext':_0x5ea907(0xe8)}}),this[_0x5ea907(0xce)](_0x5ea907(0xac))['to'](this[_0x5ea907(0xe4)],_0x5ea907(0xdf),_0x26f961=>!!_0x26f961),this[_0x5ea907(0xce)](_0x5ea907(0xde))['to'](this[_0x5ea907(0xe4)],_0x5ea907(0xdf),_0x1e3361=>_0x1e3361&&_0x1e3361[_0x5ea907(0xe0)]?this[_0x5ea907(0xcc)](_0x1e3361[_0x5ea907(0xe0)]):_0x1c4f6b(this[_0x5ea907(0xaa)],_0x5ea907(0xbb))),this[_0x5ea907(0xe9)]({'tag':_0x5ea907(0xb4),'attributes':{'class':[_0x5ea907(0xe3)]},'children':[{'tag':_0x5ea907(0xb4),'attributes':{'class':[_0x5ea907(0xda)]},'children':[{'tag':_0x5ea907(0xb4),'attributes':{'class':[_0x5ea907(0xbc),_0x19720d['if'](_0x5ea907(0xac),_0x5ea907(0xf0))]},'children':[this[_0x5ea907(0xbf)]]}]},{'tag':_0x5ea907(0xb4),'attributes':{'class':[_0x5ea907(0xed)]},'children':[this[_0x5ea907(0xe2)]]}]});}[_0x2bdb22(0xd4)](){const _0x3afc52=_0x2bdb22;super[_0x3afc52(0xd4)](),this[_0x3afc52(0xcf)](),this[_0x3afc52(0xc5)]();}[_0x2bdb22(0xaf)](){const _0x42b069=_0x2bdb22;this[_0x42b069(0xc6)][_0x42b069(0xb0)]();}[_0x2bdb22(0xb3)](){const _0x30b4da=_0x2bdb22,_0x27592c=new _0x37afbe(this[_0x30b4da(0xaa)]);return _0x27592c[_0x30b4da(0xd3)]=_0x1c4f6b(this[_0x30b4da(0xaa)],_0x30b4da(0xc3)),_0x27592c[_0x30b4da(0xc1)]=_0x1c4f6b(this[_0x30b4da(0xaa)],_0x30b4da(0xc3)),_0x27592c[_0x30b4da(0xcd)]=_0x382a03,_0x27592c[_0x30b4da(0xce)](_0x30b4da(0xc0))['to'](this[_0x30b4da(0xe4)],_0x30b4da(0xc9),_0x62f433=>!_0x62f433),_0x27592c[_0x30b4da(0xce)](_0x30b4da(0xea))['to'](this[_0x30b4da(0xe4)],_0x30b4da(0xb8),this[_0x30b4da(0xe4)],_0x30b4da(0xee),(_0x13956b,_0x63677f)=>_0x13956b&&_0x63677f),_0x27592c['on'](_0x30b4da(0xb2),()=>{const _0x47feba=_0x30b4da;this[_0x47feba(0xe7)](_0x47feba(0xb9),this[_0x47feba(0xe4)]['id']);}),_0x27592c;}[_0x2bdb22(0xcc)](_0x331184){const _0xf6ddd4=_0x2bdb22;if(_0x331184[_0xf6ddd4(0xb1)]<0x96)return _0x331184;const _0x519e5d=_0x331184[_0xf6ddd4(0xae)]('\x20',0x93);return _0x331184[_0xf6ddd4(0xc2)](0x0,_0x519e5d>-0x1?_0x519e5d:0x93)+_0xf6ddd4(0xc4);}[_0x2bdb22(0xcf)](){const _0x209b39=_0x2bdb22,_0x3f484a=this[_0x209b39(0xef)][_0x209b39(0xd1)](_0x209b39(0xd6)),_0x1f9eca=_0x3f484a[_0x209b39(0xd1)](_0x209b39(0xd8));this[_0x209b39(0xb7)](_0x3f484a,_0x209b39(0xdb),()=>{const _0x31f98f=_0x209b39;_0x1f9eca[_0x31f98f(0xd0)]<_0x1f9eca[_0x31f98f(0xe6)]&&_0x3f484a[_0x31f98f(0xbd)][_0x31f98f(0xc7)](_0x31f98f(0xb5));}),this[_0x209b39(0xb7)](_0x3f484a,_0x209b39(0xc8),()=>{const _0x29c968=_0x209b39;_0x3f484a[_0x29c968(0xbd)][_0x29c968(0xbe)](_0x29c968(0xb5));});}[_0x2bdb22(0xc5)](){const _0x424f29=_0x2bdb22;this[_0x424f29(0xd2)][_0x424f29(0xb7)](this[_0x424f29(0xef)]);for(const _0x5e829d of this[_0x424f29(0xab)])this[_0x424f29(0xec)][_0x424f29(0xc7)](_0x5e829d[_0x424f29(0xef)]),this[_0x424f29(0xd2)][_0x424f29(0xb7)](_0x5e829d[_0x424f29(0xef)]);}[_0x2bdb22(0xba)](){const _0x415084=_0x2bdb22,_0x5acb82=new _0xe173de(this[_0x415084(0xaa)]);return _0x5acb82[_0x415084(0xce)](_0x415084(0xde))['to'](this),_0x5acb82;}}function _0xaf83(){const _0x2d3d2b=['shift+tab','listenTo','isResolvable','reopenCommentThread','_createContextView','Comment\x20was\x20made\x20on\x20an\x20element','ck-context','classList','remove','contextView','isEnabled','tooltip','substring','Reopen','...','_setupKeyboardNavigation','focusCycler','add','mouseleave','isReadOnly','1894944hdZPqi','5729648ZEaYaa','_trimContextValue','icon','bind','_attachContextActions','offsetWidth','querySelector','keystrokes','label','render','595vDXWuZ','.ck-context','30446136pENsnI','.ck-context__value','createCollection','ck-context-wrapper','mouseenter','3335625WZiPTA','68916VKBLQg','contextValue','context','value','4HlJohk','reopenButtonView','ck-thread__header','_model','826942ofxfHK','scrollWidth','fire','tab','setTemplate','isVisible','8650690GteWAJ','focusTracker','ck-annotation__actions','isResolved','element','ck-context--quotes','locale','focusables','hasContext','bindTemplate','lastIndexOf','focus','focusFirst','length','execute','_createReopenButton','div','overlay'];_0xaf83=function(){return _0x2d3d2b;};return _0xaf83();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf7a120=_0x5ca8;(function(_0x1c2fe4,_0x52bce3){const _0x2aa100=_0x5ca8,_0x242e43=_0x1c2fe4();while(!![]){try{const _0x2fc461=-parseInt(_0x2aa100(0x1e4))/0x1*(-parseInt(_0x2aa100(0x1dc))/0x2)+parseInt(_0x2aa100(0x1e1))/0x3*(-parseInt(_0x2aa100(0x1c5))/0x4)+parseInt(_0x2aa100(0x1e6))/0x5+parseInt(_0x2aa100(0x1c7))/0x6*(parseInt(_0x2aa100(0x1e3))/0x7)+-parseInt(_0x2aa100(0x1d6))/0x8*(-parseInt(_0x2aa100(0x1e0))/0x9)+parseInt(_0x2aa100(0x1de))/0xa+parseInt(_0x2aa100(0x1c2))/0xb*(-parseInt(_0x2aa100(0x1c9))/0xc);if(_0x2fc461===_0x52bce3)break;else _0x242e43['push'](_0x242e43['shift']());}catch(_0x558df9){_0x242e43['push'](_0x242e43['shift']());}}}(_0x4f69,0x48912));function _0x5ca8(_0x4c1ebf,_0x24f8a0){const _0x4f69b6=_0x4f69();return _0x5ca8=function(_0x5ca847,_0xea2dd5){_0x5ca847=_0x5ca847-0x1b6;let _0x341729=_0x4f69b6[_0x5ca847];return _0x341729;},_0x5ca8(_0x4c1ebf,_0x24f8a0);}import{View as _0x4afa1a}from'ckeditor5/src/ui.js';import{CommentInputView as _0x27b8cb}from'./commentinputview.js';import{UserView as _0x407041}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x4afa1a{constructor(_0x5f2603,_0x570c71,_0x22991d){const _0xd4f9b4=_0x5ca8;super(_0x5f2603),this[_0xd4f9b4(0x1d3)]=new _0x27b8cb(_0x5f2603,_0x22991d),this[_0xd4f9b4(0x1ce)]=this[_0xd4f9b4(0x1d3)][_0xd4f9b4(0x1ce)],this[_0xd4f9b4(0x1d3)][_0xd4f9b4(0x1dd)](_0xd4f9b4(0x1d2))['to'](this[_0xd4f9b4(0x1d3)][_0xd4f9b4(0x1c0)],_0xd4f9b4(0x1c8),this[_0xd4f9b4(0x1d3)],_0xd4f9b4(0x1d1),(_0x517845,_0x1d4d12)=>_0x517845||!!_0x1d4d12),this[_0xd4f9b4(0x1d9)](_0xd4f9b4(0x1bd),!0x1),this['on'](_0xd4f9b4(0x1cc),()=>{const _0x6af06c=_0xd4f9b4;this[_0x6af06c(0x1bd)]&&!this[_0x6af06c(0x1d3)][_0x6af06c(0x1ca)]&&this[_0x6af06c(0x1d3)][_0x6af06c(0x1cd)]();}),this[_0xd4f9b4(0x1d3)][_0xd4f9b4(0x1c1)](_0xd4f9b4(0x1e5))['to'](this),this[_0xd4f9b4(0x1d3)][_0xd4f9b4(0x1c1)](_0xd4f9b4(0x1ba))['to'](this),this[_0xd4f9b4(0x1be)]=new _0x407041(_0x5f2603,_0x570c71),this[_0xd4f9b4(0x1be)][_0xd4f9b4(0x1d4)]({'attributes':{'class':_0xd4f9b4(0x1e7),'aria-hidden':!0x0}}),this[_0xd4f9b4(0x1d3)][_0xd4f9b4(0x1d4)]({'attributes':{'class':_0xd4f9b4(0x1b6)}}),this[_0xd4f9b4(0x1c3)]({'tag':_0xd4f9b4(0x1cb),'attributes':{'class':[_0xd4f9b4(0x1df),this[_0xd4f9b4(0x1db)]['if'](_0xd4f9b4(0x1bd),_0xd4f9b4(0x1bc))]},'children':[this[_0xd4f9b4(0x1be)],this[_0xd4f9b4(0x1d3)]]});}[_0xf7a120(0x1bb)](){const _0x2a9b33=_0xf7a120;super[_0x2a9b33(0x1bb)](),this[_0x2a9b33(0x1c6)]();}[_0xf7a120(0x1d8)](){const _0x20bc5a=_0xf7a120;return this[_0x20bc5a(0x1d3)][_0x20bc5a(0x1d8)]()[_0x20bc5a(0x1e9)](()=>super[_0x20bc5a(0x1d8)]());}[_0xf7a120(0x1e8)](_0x35999d){const _0x2dcfc3=_0xf7a120;this[_0x2dcfc3(0x1d3)][_0x2dcfc3(0x1e8)](_0x35999d);}[_0xf7a120(0x1c6)](){const _0x5e6dcc=_0xf7a120;this[_0x5e6dcc(0x1cf)](this[_0x5e6dcc(0x1c4)],_0x5e6dcc(0x1b9),(_0x5e3a52,_0x4ce769)=>{const _0xbb3037=_0x5e6dcc,{submitButtonView:_0x240fb4,cancelButtonView:_0x400525,editor:_0x159fa8}=this[_0xbb3037(0x1d3)];[_0x240fb4[_0xbb3037(0x1c4)],_0x400525[_0xbb3037(0x1c4)],_0x159fa8?_0x159fa8[_0xbb3037(0x1b7)][_0xbb3037(0x1da)][_0xbb3037(0x1b8)]():null][_0xbb3037(0x1d0)](_0x284729=>_0x284729)[_0xbb3037(0x1d5)](_0x2d4d4c=>_0x2d4d4c[_0xbb3037(0x1bf)](_0x4ce769[_0xbb3037(0x1d7)]))||(this[_0xbb3037(0x1e8)](),_0x4ce769[_0xbb3037(0x1e2)]());});}}function _0x4f69(){const _0x2abeb6=['5108510ZnpFHa','ck-comment__input-container','1287wlUlDJ','3jZmSGI','preventDefault','4417PelBwM','198vCGHVW','editorReady','2420000bhbHIq','ck-thread__user','focus','then','ck-thread__input','editing','getDomRoot','mousedown','editorDestroyed','render','ck-comment__input-container--active','showInput','userView','contains','focusTracker','delegate','13143317zwOTsV','setTemplate','element','2066444thoACc','_focusOnNonInteractiveMouseDown','5154XOpafJ','isFocused','12VaHcUP','editor','div','change:showInput','createEditor','focusCycler','listenTo','filter','value','showButtons','commentInputView','extendTemplate','some','17744NJtgSv','target','destroy','set','view','bindTemplate','1562UgGPRD','bind'];_0x4f69=function(){return _0x2abeb6;};return _0x4f69();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x2ed9(_0x4f2ba3,_0x25ab02){const _0x34556e=_0x3455();return _0x2ed9=function(_0x2ed9ea,_0x2b0ec0){_0x2ed9ea=_0x2ed9ea-0x99;let _0x5a3d20=_0x34556e[_0x2ed9ea];return _0x5a3d20;},_0x2ed9(_0x4f2ba3,_0x25ab02);}const _0xeab371=_0x2ed9;(function(_0xf01077,_0x255c88){const _0x57a6c7=_0x2ed9,_0x3d583e=_0xf01077();while(!![]){try{const _0xb46b9a=parseInt(_0x57a6c7(0xc4))/0x1*(parseInt(_0x57a6c7(0xbe))/0x2)+-parseInt(_0x57a6c7(0xae))/0x3*(-parseInt(_0x57a6c7(0xbb))/0x4)+-parseInt(_0x57a6c7(0xa8))/0x5+-parseInt(_0x57a6c7(0xa2))/0x6*(-parseInt(_0x57a6c7(0xca))/0x7)+-parseInt(_0x57a6c7(0xb3))/0x8*(parseInt(_0x57a6c7(0xc9))/0x9)+-parseInt(_0x57a6c7(0xc2))/0xa+-parseInt(_0x57a6c7(0xf3))/0xb;if(_0xb46b9a===_0x255c88)break;else _0x3d583e['push'](_0x3d583e['shift']());}catch(_0x4adcc3){_0x3d583e['push'](_0x3d583e['shift']());}}}(_0x3455,0xad9b2));function _0x3455(){const _0x31b57e=['_updateArchivedThreadHeader','isReadOnly','4145640YVVqPQ','resolveButton','removeCommentThread','render','commentsListView','focusables','6hxiVOY','ck-thread__container','_bindFirstCommentView','length','change:isReadOnly','8224rtfoAQ','focus','ck-rounded-corners','removeConfirm','bind','commentThreadChildren','containerElement','isUnlinked','2174408OkdgLV','isActive','add','4EPIEQQ','commentThreadInputView','ck-thread--unlinked','actionBar','4811590hNFKcl','ariaDescriptionView','494521yKdTdO','_model','Delete\x20comment\x20thread?','then','stop','5337OtxZyl','4812619ErtVnU','icon','actionIndicator','showConfirm','fire','element','querySelector','ck-thread--remove-confirmation','_cancelAllConfirms','isResolvable','listitem','ck-comment--resolve','archivedAt','div','_createResolveButton','tooltip','listenTo','commentViews','isVisible','Resolve','cancelConfirm','extendTemplate','removeButton','ck-thread','ck-thread--','getTemplate','_boundFirstCommentView','Write\x20a\x20comment...','isSystemComment','has','isResolved','commentThreadHeaderView','set','ck-reset_all-excluded','unbind','change:isActive','label','ck-thread--active','isEnabled','setTemplate','createCollection','1460602FGBBhk','.ck-thread__container','change:archivedAt','remove','placeholder','high','resolveCommentThread','execute','bindTemplate','get','6whsbHb','locale','ariaLabel','isConfirm'];_0x3455=function(){return _0x31b57e;};return _0x3455();}import{ConfirmMixin as _0x38d75a,LateFocusButtonView as _0x103847}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0xd69240}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x547693}from'./basecommentthreadview.js';import{getTranslation as _0xc51589}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x38d75a(_0x547693){[_0xeab371(0xb8)];[_0xeab371(0xb9)];[_0xeab371(0xa9)];[_0xeab371(0xe4)];constructor(_0x5f4179,_0x1af2e9,_0xfc8230,_0x441e96){const _0x1a8438=_0xeab371;super(_0x5f4179,_0x1af2e9,_0xfc8230,_0x441e96),this[_0x1a8438(0xb8)]=this[_0x1a8438(0xf2)]([this[_0x1a8438(0xac)],this[_0x1a8438(0xbf)],this[_0x1a8438(0xc3)]]),this[_0x1a8438(0xea)](_0x1a8438(0xcc),null),this[_0x1a8438(0xb9)]=null,this[_0x1a8438(0xe4)]=null,this[_0x1a8438(0xa3)]=_0x5f4179,this[_0x1a8438(0xa9)]=this[_0x1a8438(0xd8)](),this[_0x1a8438(0xf1)](this[_0x1a8438(0xe3)]()),this['on'](_0x1a8438(0xed),(_0x49a506,_0x304aee,_0x54b7f4)=>{const _0x142c20=_0x1a8438;_0x54b7f4||this[_0x142c20(0xd2)]();}),this[_0x1a8438(0xda)](this[_0x1a8438(0xc5)],_0x1a8438(0xb2),(_0x3f52f8,_0x4ce3,_0x33cb31)=>{const _0x44d49b=_0x1a8438;_0x33cb31&&this[_0x44d49b(0xd2)]();}),this[_0x1a8438(0xb1)]>0x0&&this[_0x1a8438(0xb0)](),this[_0x1a8438(0xda)](this[_0x1a8438(0xac)][_0x1a8438(0xdb)],_0x1a8438(0xbd),()=>{const _0x44dd29=_0x1a8438;this[_0x44dd29(0xb0)]();});}[_0xeab371(0xe3)](){const _0xec603=_0xeab371,_0x8ad2=this[_0xec603(0xa0)];return{'tag':_0xec603(0xd7),'attributes':{'class':['ck',_0xec603(0xe1),_0xec603(0xeb),_0xec603(0xb5),_0x8ad2['if'](_0xec603(0xbc),_0xec603(0xef)),_0x8ad2['if'](_0xec603(0xba),_0xec603(0xc0)),_0x8ad2['if'](_0xec603(0xa5),_0xec603(0xd1)),_0x8ad2['to'](_0xec603(0xcc),_0x516e59=>_0x516e59?_0xec603(0xe2)+_0x516e59:'')],'data-thread-id':this[_0xec603(0xc5)]['id'],'tabindex':0x0,'role':_0xec603(0xd4),'aria-label':_0x8ad2['to'](_0xec603(0xa4)),'aria-describedby':this[_0xec603(0xc3)]['id']},'children':[{'tag':_0xec603(0xd7),'attributes':{'class':_0xec603(0xaf)},'children':this[_0xec603(0xb8)]}]};}[_0xeab371(0xab)](){const _0x1f6a6d=_0xeab371;super[_0x1f6a6d(0xab)](),this[_0x1f6a6d(0xb9)]=this[_0x1f6a6d(0xcf)][_0x1f6a6d(0xd0)](_0x1f6a6d(0x99)),this[_0x1f6a6d(0xc5)]['on'](_0x1f6a6d(0x9a),()=>{const _0x2f0981=_0x1f6a6d;this[_0x2f0981(0xa6)]();}),this[_0x1f6a6d(0xa6)]();}[_0xeab371(0xd2)](){const _0x289429=_0xeab371;this[_0x289429(0xde)]();for(const _0xc19895 of this[_0x289429(0xac)][_0x289429(0xdb)])_0xc19895[_0x289429(0xde)]();}[_0xeab371(0xb0)](){const _0x352086=_0xeab371,{locale:_0xee3d3d}=this,_0x1fc429=this[_0x352086(0xac)][_0x352086(0xdb)][_0x352086(0xa1)](0x0);_0x1fc429===this[_0x352086(0xe4)]||_0x1fc429[_0x352086(0xe6)]||(this[_0x352086(0xe4)]=_0x1fc429,this[_0x352086(0xec)](_0x352086(0xcc)),this[_0x352086(0xb7)](_0x352086(0xcc))['to'](_0x1fc429,_0x352086(0xcc),_0x45ad84=>_0x352086(0x9b)===_0x45ad84?_0x352086(0x9b):null),_0x1fc429[_0x352086(0x9c)]=_0xc51589(_0xee3d3d,_0x352086(0xe5)),_0x1fc429[_0x352086(0xe0)]['on'](_0x352086(0x9f),_0x7dc3dc=>{const _0x5d9ea1=_0x352086;_0x7dc3dc[_0x5d9ea1(0xc8)](),this[_0x5d9ea1(0xcd)](_0xc51589(_0xee3d3d,_0x5d9ea1(0xc6)),this[_0x5d9ea1(0xb9)])[_0x5d9ea1(0xc7)](()=>{const _0x15fb76=_0x5d9ea1;this[_0x15fb76(0xce)](_0x15fb76(0xaa));});},{'priority':_0x352086(0x9d)}),this['on'](_0x352086(0xb6),()=>{const _0xe748ce=_0x352086;_0x1fc429[_0xe748ce(0xb4)]();}),_0x1fc429[_0x352086(0xc1)][_0x352086(0xbd)](this[_0x352086(0xa9)],0x0),_0x1fc429[_0x352086(0xad)][_0x352086(0xbd)](this[_0x352086(0xa9)],0x0));}[_0xeab371(0xd8)](){const _0x28cedb=_0xeab371,_0x4fdf90=new _0x103847(this[_0x28cedb(0xa3)]);return _0x4fdf90[_0x28cedb(0xee)]=_0xc51589(this[_0x28cedb(0xa3)],_0x28cedb(0xdd)),_0x4fdf90[_0x28cedb(0xd9)]=_0xc51589(this[_0x28cedb(0xa3)],_0x28cedb(0xdd)),_0x4fdf90[_0x28cedb(0xcb)]=_0xd69240,_0x4fdf90[_0x28cedb(0xdf)]({'attributes':{'class':_0x28cedb(0xd5)}}),_0x4fdf90[_0x28cedb(0xb7)](_0x28cedb(0xf0))['to'](this[_0x28cedb(0xc5)],_0x28cedb(0xa7),_0x23fb29=>!_0x23fb29),_0x4fdf90[_0x28cedb(0xb7)](_0x28cedb(0xdc))['to'](this[_0x28cedb(0xc5)],_0x28cedb(0xd3),this[_0x28cedb(0xc5)],_0x28cedb(0xe8),(_0x125752,_0x2ad50e)=>_0x125752&&!_0x2ad50e),_0x4fdf90['on'](_0x28cedb(0x9f),()=>{const _0x2eb3a3=_0x28cedb;this[_0x2eb3a3(0xce)](_0x2eb3a3(0x9e),this[_0x2eb3a3(0xc5)]['id']);}),_0x4fdf90;}[_0xeab371(0xa6)](){const _0x1cc223=_0xeab371;this[_0x1cc223(0xc5)][_0x1cc223(0xd6)]?this[_0x1cc223(0xb8)][_0x1cc223(0xe7)](this[_0x1cc223(0xe9)])||(this[_0x1cc223(0xb8)][_0x1cc223(0xbd)](this[_0x1cc223(0xe9)],0x0),this[_0x1cc223(0xad)][_0x1cc223(0xbd)](this[_0x1cc223(0xe9)],0x0)):this[_0x1cc223(0xb8)][_0x1cc223(0xe7)](this[_0x1cc223(0xe9)])&&(this[_0x1cc223(0xb8)][_0x1cc223(0x9b)](this[_0x1cc223(0xe9)]),this[_0x1cc223(0xad)][_0x1cc223(0x9b)](this[_0x1cc223(0xe9)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x410657=_0x2d5b;(function(_0x1b3068,_0x58aff4){const _0x12540d=_0x2d5b,_0x3340c0=_0x1b3068();while(!![]){try{const _0x16418f=-parseInt(_0x12540d(0x246))/0x1+-parseInt(_0x12540d(0x23c))/0x2+-parseInt(_0x12540d(0x20d))/0x3*(parseInt(_0x12540d(0x251))/0x4)+parseInt(_0x12540d(0x25c))/0x5+parseInt(_0x12540d(0x201))/0x6*(parseInt(_0x12540d(0x205))/0x7)+parseInt(_0x12540d(0x221))/0x8+parseInt(_0x12540d(0x214))/0x9*(parseInt(_0x12540d(0x224))/0xa);if(_0x16418f===_0x58aff4)break;else _0x3340c0['push'](_0x3340c0['shift']());}catch(_0x1973e8){_0x3340c0['push'](_0x3340c0['shift']());}}}(_0x3730,0x94d37));function _0x2d5b(_0x8fdae9,_0x301600){const _0x37307a=_0x3730();return _0x2d5b=function(_0x2d5bb3,_0xdae0f2){_0x2d5bb3=_0x2d5bb3-0x1eb;let _0x21a1c7=_0x37307a[_0x2d5bb3];return _0x21a1c7;},_0x2d5b(_0x8fdae9,_0x301600);}import{IconRemoveComment as _0x2b0d75,IconPencil as _0x415073,IconThreeVerticalDots as _0x5a6980}from'ckeditor5/src/icons.js';import{ButtonView as _0x32e9c9,createDropdown as _0x417841,ListView as _0x438a90,ListItemView as _0x49951b,focusChildOnDropdownOpen as _0x7a839}from'ckeditor5/src/ui.js';import{UserView as _0x41c470,ConfirmMixin as _0x4bb69f,LateFocusDropdownButtonView as _0x48a01a}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x23bd5d}from'./basecommentview.js';function _0x3730(){const _0x3057f2=['edit','ck-annotation__main','setTemplate','ck-comment__actions','push','bind','ariaLabel','toMany','icon','isConfirm','isVisible','isSystemComment','name','750WJMbGB','ck-comment__wrapper','Show\x20more\x20items','blur','28490ZiRHXr','dropdown','resolvedAt','removeButton','placeholder','ck-annotation__actions--hidden','ck-annotation__actions','ck-comment--','153GjRGex','from','items','isEnabled','render','_createEditButton','ck-comment__main','898659uUsvwe','isExternal','ck-comment__info-time','mouseenter','group','_attachActions','then','add','isEditMode','set','ck-hidden','ck-comment__actions--hidden','change:isRemovable','8865296ugenGU','_createCommentInputView','Delete\x20comment?','70MQJZpE','ck-comment__external','label','createCollection','_createDropdown','ck-comment__info','listitem','isRemovable','focusables','find','authoredAt','showConfirm','ck-comment--edit','children','unbind','isEditable','ck-comment--info','ariaDescriptionView','_createRemoveButton','ck-annotation__info','fire','locale','ck-annotation__info-name','addMany','1828988WdMgfY','_model','Remove','switchToEditMode','removeComment','panelView','Edit','time','ck-comment__user','ck-annotation__info-time','1156672ZVPMyU','_config','ck-annotation__user','ck-comment--remove-confirmation','element','div','bindTemplate','ck-annotation','some','userView','actionBar','58308jljKdv','visibleView','execute','length','focus','extendTemplate','ck-comment__info-name','getTemplate','withText','isReadOnly','ck-annotation__content-wrapper','5541575FozXBN','ck-comment','remove','buttonView','formatDateTime','listenTo','ck-comment--remove','mouseleave','actionIndicator','getUserViewNotificationText','editButton','panelPosition','cancelConfirm','span','Reply...','author','getExternalCommentNote'];_0x3730=function(){return _0x3057f2;};return _0x3730();}import{getTranslation as _0x6fcef5}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4bb69f(_0x23bd5d){[_0x410657(0x250)];[_0x410657(0x24f)];constructor(_0x5ae0a8,_0x56f3aa,_0x3bb98e){const _0x137b86=_0x410657;super(_0x5ae0a8,_0x56f3aa,_0x3bb98e),this[_0x137b86(0x21d)](_0x137b86(0x1eb),null),this[_0x137b86(0x21d)](_0x137b86(0x209),_0x6fcef5(_0x5ae0a8,_0x137b86(0x1f1))),this[_0x137b86(0x1f9)](_0x137b86(0x22e))['to'](_0x56f3aa),this[_0x137b86(0x1f9)](_0x137b86(0x207))['to'](_0x56f3aa),this[_0x137b86(0x250)]=this[_0x137b86(0x227)](),this[_0x137b86(0x1ff)]||(this[_0x137b86(0x1ed)]=this[_0x137b86(0x212)](),this[_0x137b86(0x208)]=this[_0x137b86(0x236)](),this[_0x137b86(0x20f)]=this[_0x137b86(0x227)](),this[_0x137b86(0x20f)][_0x137b86(0x23b)]([this[_0x137b86(0x1ed)],this[_0x137b86(0x208)]]),this[_0x137b86(0x206)]=this[_0x137b86(0x228)](),this[_0x137b86(0x250)][_0x137b86(0x21b)](this[_0x137b86(0x206)]),this[_0x137b86(0x22c)][_0x137b86(0x21b)](this[_0x137b86(0x206)])),this[_0x137b86(0x24f)]=new _0x41c470(_0x5ae0a8,_0x56f3aa[_0x137b86(0x1f2)],this[_0x137b86(0x1ec)]()),this[_0x137b86(0x24f)][_0x137b86(0x256)]({'attributes':{'class':[_0x137b86(0x244),_0x137b86(0x248)],'aria-hidden':!0x0}}),this[_0x137b86(0x261)](_0x56f3aa,_0x137b86(0x220),()=>this[_0x137b86(0x1ef)]()),this[_0x137b86(0x1f6)](this[_0x137b86(0x258)]());}[_0x410657(0x258)](){const _0x3b33ce=_0x410657,_0x27c84d=this[_0x3b33ce(0x24c)],_0x50c088=[{'tag':_0x3b33ce(0x24b),'attributes':{'class':[_0x3b33ce(0x229),_0x3b33ce(0x237)]},'children':[{'tag':_0x3b33ce(0x1f0),'children':[{'text':this[_0x3b33ce(0x24f)][_0x3b33ce(0x200)]}],'attributes':{'class':[_0x3b33ce(0x257),_0x3b33ce(0x23a)],'data-cke-tooltip-text':this[_0x3b33ce(0x24f)][_0x3b33ce(0x200)]}},{'tag':_0x3b33ce(0x243),'attributes':{'datetime':_0x27c84d['to'](_0x3b33ce(0x22e)),'class':[_0x3b33ce(0x216),_0x3b33ce(0x245)]},'children':[{'text':_0x27c84d['to'](_0x3b33ce(0x22e),_0x3bb6af=>this[_0x3b33ce(0x247)][_0x3b33ce(0x260)](_0x3bb6af))}]}]},{'tag':_0x3b33ce(0x24b),'attributes':{'class':[_0x3b33ce(0x1f7),_0x3b33ce(0x20b),_0x27c84d['if'](_0x3b33ce(0x21c),_0x3b33ce(0x21f)),_0x27c84d['if'](_0x3b33ce(0x21c),_0x3b33ce(0x20a))]},'children':this[_0x3b33ce(0x250)]},{'tag':_0x3b33ce(0x24b),'attributes':{'class':[_0x3b33ce(0x25b)]},'children':this[_0x3b33ce(0x252)]},this[_0x3b33ce(0x235)]];return this[_0x3b33ce(0x23d)][_0x3b33ce(0x215)]&&_0x50c088[_0x3b33ce(0x1f8)]({'tag':_0x3b33ce(0x24b),'attributes':{'class':[_0x3b33ce(0x225)]},'children':[{'text':this[_0x3b33ce(0x1f3)]()}]}),{'tag':'li','attributes':{'class':[_0x3b33ce(0x202),_0x27c84d['if'](_0x3b33ce(0x1fd),_0x3b33ce(0x249))],'tabindex':-0x1,'aria-label':_0x27c84d['to'](_0x3b33ce(0x1fa)),'aria-describedby':this[_0x3b33ce(0x235)]['id'],'role':_0x3b33ce(0x22a)},'children':[{'tag':_0x3b33ce(0x24b),'attributes':{'class':[_0x3b33ce(0x25d),_0x3b33ce(0x24d),_0x27c84d['if'](_0x3b33ce(0x21c),_0x3b33ce(0x230)),_0x27c84d['if'](_0x3b33ce(0x1ff),_0x3b33ce(0x234)),_0x27c84d['to'](_0x3b33ce(0x1eb),_0x510787=>_0x510787?_0x3b33ce(0x20c)+_0x510787:'')],'data-author-id':this[_0x3b33ce(0x23d)][_0x3b33ce(0x1f2)]['id'],'data-comment-id':this[_0x3b33ce(0x23d)]['id'],'role':_0x3b33ce(0x218)},'children':[this[_0x3b33ce(0x24f)],{'tag':_0x3b33ce(0x24b),'attributes':{'class':[_0x3b33ce(0x213),_0x3b33ce(0x1f5)]},'children':_0x50c088}]}]};}[_0x410657(0x212)](){const _0x18980f=_0x410657,_0x12f88b=new _0x32e9c9(this[_0x18980f(0x239)]);return _0x12f88b[_0x18980f(0x226)]=_0x6fcef5(this[_0x18980f(0x239)],_0x18980f(0x242)),_0x12f88b[_0x18980f(0x1fc)]=_0x415073,_0x12f88b[_0x18980f(0x259)]=!0x0,_0x12f88b[_0x18980f(0x256)]({'attributes':{'class':_0x18980f(0x230)}}),_0x12f88b[_0x18980f(0x1f9)](_0x18980f(0x210))['to'](this[_0x18980f(0x23d)],_0x18980f(0x25a),_0x491012=>!_0x491012),_0x12f88b[_0x18980f(0x1f9)](_0x18980f(0x1fe))['to'](this[_0x18980f(0x23d)],_0x18980f(0x233)),_0x12f88b['on'](_0x18980f(0x253),()=>this[_0x18980f(0x23f)]()),_0x12f88b;}[_0x410657(0x236)](){const _0x354139=_0x410657,_0x422777=new _0x32e9c9(this[_0x354139(0x239)]);return _0x422777[_0x354139(0x226)]=_0x6fcef5(this[_0x354139(0x239)],_0x354139(0x23e)),_0x422777[_0x354139(0x1fc)]=_0x2b0d75,_0x422777[_0x354139(0x259)]=!0x0,_0x422777[_0x354139(0x256)]({'attributes':{'class':_0x354139(0x262)}}),_0x422777[_0x354139(0x1f9)](_0x354139(0x210))['to'](this[_0x354139(0x23d)],_0x354139(0x25a),_0x32ac17=>!_0x32ac17),_0x422777[_0x354139(0x1f9)](_0x354139(0x1fe))['to'](this[_0x354139(0x23d)],_0x354139(0x22b)),_0x422777['on'](_0x354139(0x253),()=>{const _0x431a07=_0x354139;this[_0x431a07(0x22f)](_0x6fcef5(this[_0x431a07(0x239)],_0x431a07(0x223)),this[_0x431a07(0x24a)])[_0x431a07(0x21a)](()=>{const _0x3e7dfc=_0x431a07;this[_0x3e7dfc(0x238)](_0x3e7dfc(0x240),this[_0x3e7dfc(0x23d)]['id']);});}),_0x422777;}[_0x410657(0x228)](){const _0x2e08c3=_0x410657,_0x192505=_0x417841(this[_0x2e08c3(0x239)],_0x48a01a),_0x28f76e=_0x192505[_0x2e08c3(0x241)][_0x2e08c3(0x231)],_0x5b6385=new _0x438a90(this[_0x2e08c3(0x239)]),_0x18cb58=_0x192505[_0x2e08c3(0x24c)];_0x7a839(_0x192505,()=>this[_0x2e08c3(0x20f)][_0x2e08c3(0x22d)](_0x1693b7=>_0x1693b7[_0x2e08c3(0x1fe)])),_0x192505[_0x2e08c3(0x256)]({'attributes':{'class':[_0x18cb58['if'](_0x2e08c3(0x1fe),_0x2e08c3(0x21e),_0xc214f5=>!_0xc214f5)]}});const _0x4cf5bb=(_0x2c99e7,_0x4db83d=-0x1)=>{const _0x1deaf7=_0x2e08c3,_0x1938c5=new _0x49951b(this[_0x1deaf7(0x239)]);_0x1938c5[_0x1deaf7(0x231)][_0x1deaf7(0x21b)](_0x2c99e7);const _0xe54d82=_0x4db83d>-0x1?_0x4db83d:_0x5b6385[_0x1deaf7(0x20f)][_0x1deaf7(0x254)];_0x5b6385[_0x1deaf7(0x20f)][_0x1deaf7(0x21b)](_0x1938c5,_0xe54d82);const _0x41d781=Array[_0x1deaf7(0x20e)](this[_0x1deaf7(0x20f)]);_0x192505[_0x1deaf7(0x232)](_0x1deaf7(0x210),_0x1deaf7(0x1fe)),_0x192505[_0x1deaf7(0x1f9)](_0x1deaf7(0x210))[_0x1deaf7(0x1fb)](_0x41d781,_0x1deaf7(0x210),(..._0x312ec5)=>_0x312ec5[_0x1deaf7(0x24e)](_0x491f7f=>_0x491f7f)),_0x192505[_0x1deaf7(0x1f9)](_0x1deaf7(0x1fe))[_0x1deaf7(0x1fb)](_0x41d781,_0x1deaf7(0x1fe),(..._0x41aa80)=>_0x41aa80[_0x1deaf7(0x24e)](_0xd618af=>_0xd618af));};_0x192505[_0x2e08c3(0x1ee)]='sw',_0x192505[_0x2e08c3(0x25f)][_0x2e08c3(0x21d)]({'label':_0x6fcef5(this[_0x2e08c3(0x239)],_0x2e08c3(0x203)),'icon':_0x5a6980});for(const _0xe4bcc3 of this[_0x2e08c3(0x20f)])_0x4cf5bb(_0xe4bcc3);return _0x28f76e[_0x2e08c3(0x21b)](_0x5b6385),_0x192505[_0x2e08c3(0x261)](this[_0x2e08c3(0x20f)],_0x2e08c3(0x21b),(_0x4f01a8,_0x38ddc2,_0x1cacf4)=>{_0x4cf5bb(_0x38ddc2,_0x1cacf4);}),_0x192505[_0x2e08c3(0x261)](this[_0x2e08c3(0x20f)],_0x2e08c3(0x25e),(_0x1b20d9,_0x4c9624,_0x416a4f)=>{const _0x3474a2=_0x2e08c3;_0x5b6385[_0x3474a2(0x20f)][_0x3474a2(0x25e)](_0x416a4f);}),_0x192505;}[_0x410657(0x219)](_0x50d88a,_0x1ef71c){const _0x5014e8=_0x410657,_0x4e0d56=_0x50d88a&&_0x50d88a[_0x5014e8(0x24a)];_0x4e0d56&&(this[_0x5014e8(0x261)](_0x4e0d56,_0x5014e8(0x217),()=>this[_0x5014e8(0x1eb)]=_0x1ef71c),this[_0x5014e8(0x261)](_0x4e0d56,_0x5014e8(0x255),()=>this[_0x5014e8(0x1eb)]=_0x1ef71c),this[_0x5014e8(0x261)](_0x4e0d56,_0x5014e8(0x263),()=>this[_0x5014e8(0x1eb)]=null),this[_0x5014e8(0x261)](_0x4e0d56,_0x5014e8(0x204),()=>this[_0x5014e8(0x1eb)]=null));}[_0x410657(0x222)](){const _0x3aef02=_0x410657,_0x416a53=super[_0x3aef02(0x222)]();return _0x416a53[_0x3aef02(0x1f9)](_0x3aef02(0x209))['to'](this),_0x416a53;}[_0x410657(0x211)](){const _0x4d8a29=_0x410657;super[_0x4d8a29(0x211)](),this[_0x4d8a29(0x219)](this[_0x4d8a29(0x1ed)],_0x4d8a29(0x1f4)),this[_0x4d8a29(0x219)](this[_0x4d8a29(0x208)],_0x4d8a29(0x25e));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2f6fc8=_0x1117;(function(_0x113a6d,_0x4f4092){var _0x406dc8=_0x1117,_0x171271=_0x113a6d();while(!![]){try{var _0x401ddb=-parseInt(_0x406dc8(0x14c))/0x1+parseInt(_0x406dc8(0x148))/0x2*(parseInt(_0x406dc8(0x143))/0x3)+parseInt(_0x406dc8(0x14b))/0x4*(-parseInt(_0x406dc8(0x149))/0x5)+-parseInt(_0x406dc8(0x14a))/0x6*(-parseInt(_0x406dc8(0x151))/0x7)+parseInt(_0x406dc8(0x14f))/0x8+parseInt(_0x406dc8(0x14e))/0x9*(parseInt(_0x406dc8(0x14d))/0xa)+-parseInt(_0x406dc8(0x144))/0xb;if(_0x401ddb===_0x4f4092)break;else _0x171271['push'](_0x171271['shift']());}catch(_0x317898){_0x171271['push'](_0x171271['shift']());}}}(_0x5e2c,0xb21d9));function _0x1117(_0x21cc56,_0x538b52){var _0x5e2c64=_0x5e2c();return _0x1117=function(_0x1117a5,_0x497845){_0x1117a5=_0x1117a5-0x142;var _0x4d5b6b=_0x5e2c64[_0x1117a5];return _0x4d5b6b;},_0x1117(_0x21cc56,_0x538b52);}import{Plugin as _0x1bce96}from'ckeditor5/src/core.js';import{CommentsRepository as _0xbdca1e}from'./comments/commentsrepository.js';import{CommentsEditing as _0x5e3bb0}from'./comments/commentsediting.js';import{CommentsUI as _0x4f3865}from'./comments/commentsui.js';import{CommentsOnly as _0x479910}from'./commentsonly.js';import{WideSidebar as _0x3c28d8}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x3d4b7f}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x6da91}from'./annotations/inlineannotations.js';function _0x5e2c(){var _0x4d2840=['pluginName','3rhfxwY','15891722Jalzhi','isOfficialPlugin','isPremiumPlugin','Comments','550454VkmZZy','16735bGhkZr','42wwnPpn','204kXamRu','432179ViUvAQ','5770SbVAGQ','22158lonzqo','5475672hWKXjx','requires','396879cXXiOw'];_0x5e2c=function(){return _0x4d2840;};return _0x5e2c();}import{CommentsArchiveUI as _0xb733c6}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x56c8d1}from'./comments/commentsarchive.js';export class Comments extends _0x1bce96{static get[_0x2f6fc8(0x150)](){return[_0xbdca1e,_0x5e3bb0,_0x4f3865,_0x56c8d1,_0xb733c6,_0x479910,_0x3c28d8,_0x3d4b7f,_0x6da91];}static get[_0x2f6fc8(0x142)](){var _0x1cee68=_0x2f6fc8;return _0x1cee68(0x147);}static get[_0x2f6fc8(0x145)](){return!0x0;}static get[_0x2f6fc8(0x146)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x46fc1f=_0x4134;(function(_0xd4aa55,_0x2a3b92){const _0x2c8085=_0x4134,_0x2cf57a=_0xd4aa55();while(!![]){try{const _0x37c82e=-parseInt(_0x2c8085(0x181))/0x1*(-parseInt(_0x2c8085(0x19c))/0x2)+parseInt(_0x2c8085(0x1a3))/0x3*(-parseInt(_0x2c8085(0x185))/0x4)+parseInt(_0x2c8085(0x17c))/0x5*(-parseInt(_0x2c8085(0x187))/0x6)+-parseInt(_0x2c8085(0x18b))/0x7*(parseInt(_0x2c8085(0x196))/0x8)+-parseInt(_0x2c8085(0x17d))/0x9*(-parseInt(_0x2c8085(0x19f))/0xa)+parseInt(_0x2c8085(0x19a))/0xb*(parseInt(_0x2c8085(0x19b))/0xc)+-parseInt(_0x2c8085(0x194))/0xd;if(_0x37c82e===_0x2a3b92)break;else _0x2cf57a['push'](_0x2cf57a['shift']());}catch(_0x19807e){_0x2cf57a['push'](_0x2cf57a['shift']());}}}(_0x13ce,0xa7602));import{Plugin as _0x545d01}from'ckeditor5/src/core.js';function _0x4134(_0x3b8f5c,_0x3b4133){const _0x13ce56=_0x13ce();return _0x4134=function(_0x413463,_0x154e7d){_0x413463=_0x413463-0x176;let _0x50e68f=_0x13ce56[_0x413463];return _0x50e68f;},_0x4134(_0x3b8f5c,_0x3b4133);}import{CommentsEditing as _0x5aff6d}from'./comments/commentsediting.js';function _0x13ce(){const _0x3759ce=['editing','change:isEnabled','set','SourceEditing','forceDisabled','_disableCommentsOnlyMode','25iTQQOo','2997wEpMFT','DragDrop','pluginName','CommentsOnly','99WFFMQj','listenTo','stop','commands','4sAKVKO','isPremiumPlugin','922764QaWsTH','cut','editSource','requires','574oWpMzC','affectsData','commentsOnly','clipboardInput','editor','view','has','clearForceDisabled','commentsOnlyMode','1911910olfSTF','afterInit','102088ssDNAh','delete','addCommentThread','plugins','10109YKrVHj','14220lGCnqp','8690VKCIny','isEnabled','isOfficialPlugin','35180uabpsg','get','config','stopListening','127956loGmJn','highest','_enableCommentsOnlyMode','document'];_0x13ce=function(){return _0x3759ce;};return _0x13ce();}export class CommentsOnly extends _0x545d01{static get[_0x46fc1f(0x17f)](){const _0x3ef169=_0x46fc1f;return _0x3ef169(0x180);}static get[_0x46fc1f(0x19e)](){return!0x0;}static get[_0x46fc1f(0x186)](){return!0x0;}static get[_0x46fc1f(0x18a)](){return[_0x5aff6d];}constructor(_0x2eedbb){const _0x5576d2=_0x46fc1f;super(_0x2eedbb),this[_0x5576d2(0x178)](_0x5576d2(0x19d),!0x1),this['on'](_0x5576d2(0x177),(_0x50e0e0,_0x39997e,_0xde701f)=>{const _0x4007db=_0x5576d2;_0xde701f?this[_0x4007db(0x1a5)]():this[_0x4007db(0x17b)]();});}[_0x46fc1f(0x195)](){const _0x1e5fb0=_0x46fc1f;!this[_0x1e5fb0(0x19d)]&&this[_0x1e5fb0(0x18f)][_0x1e5fb0(0x1a1)][_0x1e5fb0(0x1a0)](_0x1e5fb0(0x18d))&&(this[_0x1e5fb0(0x19d)]=!0x0);}[_0x46fc1f(0x1a5)](){const _0x4b434e=_0x46fc1f;for(const [_0x49ae30,_0x387995]of this[_0x4b434e(0x18f)][_0x4b434e(0x184)])_0x387995[_0x4b434e(0x18c)]&&_0x4b434e(0x198)!==_0x49ae30&&_0x387995[_0x4b434e(0x17a)](_0x4b434e(0x193));(this[_0x4b434e(0x18f)][_0x4b434e(0x199)][_0x4b434e(0x191)](_0x4b434e(0x17e))&&this[_0x4b434e(0x18f)][_0x4b434e(0x199)][_0x4b434e(0x1a0)](_0x4b434e(0x17e))[_0x4b434e(0x17a)](_0x4b434e(0x193)),this[_0x4b434e(0x18f)][_0x4b434e(0x199)][_0x4b434e(0x191)](_0x4b434e(0x179)))&&this[_0x4b434e(0x18f)][_0x4b434e(0x199)][_0x4b434e(0x1a0)](_0x4b434e(0x179))[_0x4b434e(0x17a)](_0x4b434e(0x193));this[_0x4b434e(0x18f)][_0x4b434e(0x184)][_0x4b434e(0x1a0)](_0x4b434e(0x189))?.[_0x4b434e(0x17a)](_0x4b434e(0x193));const _0x383e22=this[_0x4b434e(0x18f)][_0x4b434e(0x176)][_0x4b434e(0x190)][_0x4b434e(0x1a6)];this[_0x4b434e(0x182)](_0x383e22,_0x4b434e(0x188),_0x4fec47=>_0x4fec47[_0x4b434e(0x183)](),{'priority':_0x4b434e(0x1a4)}),this[_0x4b434e(0x182)](_0x383e22,_0x4b434e(0x18e),_0x43132c=>_0x43132c[_0x4b434e(0x183)](),{'priority':_0x4b434e(0x1a4)}),this[_0x4b434e(0x182)](_0x383e22,_0x4b434e(0x197),_0x173993=>_0x173993[_0x4b434e(0x183)](),{'priority':_0x4b434e(0x1a4)});}[_0x46fc1f(0x17b)](){const _0x1dec91=_0x46fc1f;for(const [_0x4b94e4,_0x4e0cfe]of this[_0x1dec91(0x18f)][_0x1dec91(0x184)])_0x4e0cfe[_0x1dec91(0x18c)]&&_0x1dec91(0x198)!==_0x4b94e4&&_0x4e0cfe[_0x1dec91(0x192)](_0x1dec91(0x193));this[_0x1dec91(0x18f)][_0x1dec91(0x199)][_0x1dec91(0x191)](_0x1dec91(0x179))&&this[_0x1dec91(0x18f)][_0x1dec91(0x199)][_0x1dec91(0x1a0)](_0x1dec91(0x179))[_0x1dec91(0x192)](_0x1dec91(0x193)),this[_0x1dec91(0x18f)][_0x1dec91(0x184)][_0x1dec91(0x1a0)](_0x1dec91(0x189))?.[_0x1dec91(0x192)](_0x1dec91(0x193)),this[_0x1dec91(0x1a2)](this[_0x1dec91(0x18f)][_0x1dec91(0x176)][_0x1dec91(0x190)][_0x1dec91(0x1a6)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4911fe,_0x5b7a0e){var _0x3cfea0=_0x7192,_0xf08d7f=_0x4911fe();while(!![]){try{var _0x551bb8=parseInt(_0x3cfea0(0xdc))/0x1*(parseInt(_0x3cfea0(0xdd))/0x2)+parseInt(_0x3cfea0(0xe3))/0x3+-parseInt(_0x3cfea0(0xe2))/0x4+parseInt(_0x3cfea0(0xe0))/0x5+parseInt(_0x3cfea0(0xdb))/0x6*(parseInt(_0x3cfea0(0xde))/0x7)+-parseInt(_0x3cfea0(0xdf))/0x8+parseInt(_0x3cfea0(0xe1))/0x9*(-parseInt(_0x3cfea0(0xe4))/0xa);if(_0x551bb8===_0x5b7a0e)break;else _0xf08d7f['push'](_0xf08d7f['shift']());}catch(_0x2d5ef9){_0xf08d7f['push'](_0xf08d7f['shift']());}}}(_0x13e8,0x8c01c));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';function _0x7192(_0x4fe844,_0x335a44){var _0x13e89d=_0x13e8();return _0x7192=function(_0x7192f6,_0x3669a7){_0x7192f6=_0x7192f6-0xdb;var _0x50b6f1=_0x13e89d[_0x7192f6];return _0x50b6f1;},_0x7192(_0x4fe844,_0x335a44);}export{CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{AddCommentThreadCommand}from'./comments/addcommentthreadcommand.js';function _0x13e8(){var _0x4a4342=['1499052uNqyXF','95502lllNow','20QCFRJR','18378aIsyQf','1obODxX','81712lKMGPD','812qAsEVT','59016WlqCwD','3109030jRwQea','423882tnfjBy'];_0x13e8=function(){return _0x4a4342;};return _0x13e8();}export{CommentsArchive}from'./comments/commentsarchive.js';export{CommentsArchiveUI}from'./comments/commentsarchiveui.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(_0x52d1d2,_0x1869c7,_0x4eece6){const t=_0x52d1d2['t'];switch(_0x1869c7){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'},_0x4eece6);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'},_0x4eece6);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'},_0x4eece6);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'},_0x4eece6);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x4eece6);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'},_0x4eece6);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'},_0x4eece6);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'},_0x4eece6);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 _0x323f(_0x50f390,_0x3232cd){const _0x5da037=_0x5da0();return _0x323f=function(_0x323f90,_0x16cde4){_0x323f90=_0x323f90-0x1d3;let _0x5b70d8=_0x5da037[_0x323f90];return _0x5b70d8;},_0x323f(_0x50f390,_0x3232cd);}function _0x5da0(){const _0xe390a2=['3309691TntiWQ','16LqRARU','childList','106235dzaLQQ','type','63477fAocuu','70pghxFB','2CBLWEK','4pyWyRq','observe','class','disconnect','1114710NFEayV','characterData','attributeName','1546006tDxgwT','attributes','cancel','5152200YjMQen','18ZEatNM','143592LynAtt'];_0x5da0=function(){return _0xe390a2;};return _0x5da0();}(function(_0x353713,_0x4d9de6){const _0x328653=_0x323f,_0x1d6983=_0x353713();while(!![]){try{const _0x456352=parseInt(_0x328653(0x1df))/0x1*(parseInt(_0x328653(0x1e3))/0x2)+-parseInt(_0x328653(0x1e1))/0x3*(parseInt(_0x328653(0x1e4))/0x4)+-parseInt(_0x328653(0x1e2))/0x5*(parseInt(_0x328653(0x1db))/0x6)+-parseInt(_0x328653(0x1d6))/0x7*(parseInt(_0x328653(0x1dd))/0x8)+-parseInt(_0x328653(0x1da))/0x9*(-parseInt(_0x328653(0x1d3))/0xa)+parseInt(_0x328653(0x1dc))/0xb+parseInt(_0x328653(0x1d9))/0xc;if(_0x456352===_0x4d9de6)break;else _0x1d6983['push'](_0x1d6983['shift']());}catch(_0xd0812e){_0x1d6983['push'](_0x1d6983['shift']());}}}(_0x5da0,0x3fd6d));import{throttle as _0xc1122}from'es-toolkit/compat';export function createMutationObserver(_0x6c618a){const _0x15c11c=_0xc1122(_0x6c618a,0x1e),_0x3cb72a=new MutationObserver(_0x1be536=>{const _0x4ed3c7=_0x323f;for(const _0x1c5eeb of _0x1be536)(_0x4ed3c7(0x1d7)==_0x1c5eeb[_0x4ed3c7(0x1e0)]&&_0x4ed3c7(0x1e6)==_0x1c5eeb[_0x4ed3c7(0x1d5)]||_0x4ed3c7(0x1de)==_0x1c5eeb[_0x4ed3c7(0x1e0)]||_0x4ed3c7(0x1d4)==_0x1c5eeb[_0x4ed3c7(0x1e0)])&&_0x15c11c();});return{'attach'(_0x242e44){const _0x5152b0=_0x323f;_0x3cb72a[_0x5152b0(0x1e5)](_0x242e44,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0xb7efa=_0x323f;_0x3cb72a[_0xb7efa(0x1e7)](),_0x15c11c[_0xb7efa(0x1d8)]();}};}
|