@ckeditor/ckeditor5-comments 47.0.0-alpha.7 → 47.0.0-alpha.8
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
|
-
function _0x3c64(_0x4a0883,_0x247493){const _0x1dbca0=_0x1dbc();return _0x3c64=function(_0x3c6470,_0x1c73c9){_0x3c6470=_0x3c6470-0x1e9;let _0x55939c=_0x1dbca0[_0x3c6470];return _0x55939c;},_0x3c64(_0x4a0883,_0x247493);}const _0x3956c7=_0x3c64;(function(_0x2324fd,_0x16c812){const _0xc78a39=_0x3c64,_0x5e7a1c=_0x2324fd();while(!![]){try{const _0x58de2a=parseInt(_0xc78a39(0x1f0))/0x1*(-parseInt(_0xc78a39(0x247))/0x2)+-parseInt(_0xc78a39(0x21e))/0x3+parseInt(_0xc78a39(0x226))/0x4+-parseInt(_0xc78a39(0x225))/0x5*(-parseInt(_0xc78a39(0x21d))/0x6)+parseInt(_0xc78a39(0x217))/0x7+parseInt(_0xc78a39(0x209))/0x8*(-parseInt(_0xc78a39(0x212))/0x9)+parseInt(_0xc78a39(0x239))/0xa*(parseInt(_0xc78a39(0x233))/0xb);if(_0x58de2a===_0x16c812)break;else _0x5e7a1c['push'](_0x5e7a1c['shift']());}catch(_0x323f5d){_0x5e7a1c['push'](_0x5e7a1c['shift']());}}}(_0x1dbc,0x71ae7));import{View as _0x55310a,FocusCycler as _0x4f5451}from'ckeditor5/src/ui.js';import{diff as _0x3e908d,Collection as _0x10b01,FocusTracker as _0x3dc63,KeystrokeHandler as _0x41f4f5}from'ckeditor5/src/utils.js';import{getTranslation as _0x532a0a}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x2e615e}from'./collapsedcommentsview.js';export class CommentsListView extends _0x55310a{[_0x3956c7(0x21c)];[_0x3956c7(0x227)];[_0x3956c7(0x222)];[_0x3956c7(0x1e9)];[_0x3956c7(0x20a)];[_0x3956c7(0x21a)];[_0x3956c7(0x1f2)];[_0x3956c7(0x1f7)];constructor(_0x2dc62a,_0x202576,_0x433d5){const _0x6622c1=_0x3956c7;super(_0x2dc62a);const _0x34a89d=this[_0x6622c1(0x202)];this[_0x6622c1(0x1ea)](_0x6622c1(0x20c),!0x1),this[_0x6622c1(0x1ea)](_0x6622c1(0x246),_0x202576[_0x6622c1(0x243)][_0x6622c1(0x246)]),this[_0x6622c1(0x1ea)](_0x6622c1(0x1fb),!0x1),this[_0x6622c1(0x21a)]=_0x202576,this[_0x6622c1(0x1f2)]=_0x433d5,this[_0x6622c1(0x21c)]=this[_0x6622c1(0x220)](),this[_0x6622c1(0x1fd)]=this[_0x6622c1(0x220)](),this[_0x6622c1(0x227)]=null,this[_0x6622c1(0x222)]=new _0x3dc63(),this[_0x6622c1(0x1e9)]=new _0x41f4f5(),this[_0x6622c1(0x20a)]=new _0x4f5451({'focusables':this[_0x6622c1(0x21c)],'focusTracker':this[_0x6622c1(0x222)],'keystrokeHandler':this[_0x6622c1(0x1e9)],'keystrokeHandlerOptions':{'filter':_0x2ea261=>this[_0x6622c1(0x21c)][_0x6622c1(0x249)](_0x42dbdd=>_0x42dbdd[_0x6622c1(0x1f9)])[_0x6622c1(0x245)](_0x2ea261[_0x6622c1(0x23d)])},'actions':{'focusPrevious':_0x6622c1(0x21f),'focusNext':_0x6622c1(0x1ee)}}),this[_0x6622c1(0x1f7)]=new _0x2e615e(_0x2dc62a),this[_0x6622c1(0x1f7)][_0x6622c1(0x244)](_0x6622c1(0x22a))['to'](this,_0x6622c1(0x246),_0x25fa2a=>_0x25fa2a-this[_0x6622c1(0x1f2)][_0x6622c1(0x24a)]);for(const _0x3c6f72 of _0x202576[_0x6622c1(0x243)])this[_0x6622c1(0x20d)](_0x3c6f72);this[_0x6622c1(0x1eb)](),this[_0x6622c1(0x23a)](_0x202576[_0x6622c1(0x243)],_0x6622c1(0x1ef),(_0x3cd1ae,_0x12a76a)=>{const _0x47336f=_0x6622c1,_0x566079=this[_0x47336f(0x215)](_0x12a76a);this[_0x47336f(0x246)]++,this[_0x47336f(0x20d)](_0x12a76a,_0x566079),this[_0x47336f(0x210)]();}),this[_0x6622c1(0x23a)](_0x202576[_0x6622c1(0x243)],_0x6622c1(0x234),(_0xedf8da,_0x2928dd)=>{const _0x58252f=_0x6622c1;this[_0x58252f(0x246)]--,this[_0x58252f(0x23c)](_0x2928dd),this[_0x58252f(0x210)]();}),this[_0x6622c1(0x23a)](_0x202576,_0x6622c1(0x208),()=>this[_0x6622c1(0x210)]()),this[_0x6622c1(0x23a)](_0x202576,_0x6622c1(0x22e),()=>this[_0x6622c1(0x1eb)]()),this['on'](_0x6622c1(0x20b),()=>this[_0x6622c1(0x210)]()),this['on'](_0x6622c1(0x236),()=>this[_0x6622c1(0x210)]()),this[_0x6622c1(0x206)]({'tag':'ul','attributes':{'class':[_0x6622c1(0x232),_0x34a89d['if'](_0x6622c1(0x246),_0x6622c1(0x22c),_0x3d9dd4=>!_0x3d9dd4)],'aria-label':_0x532a0a(_0x2dc62a,_0x6622c1(0x214))},'children':this[_0x6622c1(0x1fd)]});}get[_0x3956c7(0x231)](){const _0x2a98e0=_0x3956c7;return this[_0x2a98e0(0x21a)][_0x2a98e0(0x235)]>this[_0x2a98e0(0x1f2)][_0x2a98e0(0x223)]&&!this[_0x2a98e0(0x1fb)]&&!this[_0x2a98e0(0x20c)];}[_0x3956c7(0x230)](){const _0x4cad64=_0x3956c7;super[_0x4cad64(0x230)](),this[_0x4cad64(0x210)](),this[_0x4cad64(0x23f)]();}[_0x3956c7(0x1ed)](_0x3c2e55){const _0x5be1b7=_0x3956c7;-0x1===_0x3c2e55?this[_0x5be1b7(0x20a)][_0x5be1b7(0x1fc)]():this[_0x5be1b7(0x20a)][_0x5be1b7(0x216)]();}[_0x3956c7(0x229)](){const _0xf3e107=_0x3956c7;this[_0xf3e107(0x1f7)][_0xf3e107(0x229)]();for(const _0x470b7a of this[_0xf3e107(0x21c)])_0x470b7a[_0xf3e107(0x229)]();super[_0xf3e107(0x229)]();}[_0x3956c7(0x210)](){const _0x21c1f1=_0x3956c7;this[_0x21c1f1(0x231)]?this[_0x21c1f1(0x219)]():this[_0x21c1f1(0x20f)]();}[_0x3956c7(0x20d)](_0x5a9cb2,_0x181658){const _0x1995e5=_0x3956c7,_0x5b407b=new this[(_0x1995e5(0x1f2))][(_0x1995e5(0x20e))](this[_0x1995e5(0x23b)],_0x5a9cb2,{'maxCommentCharsWhenCollapsed':this[_0x1995e5(0x1f2)][_0x1995e5(0x203)],'formatDateTime':this[_0x1995e5(0x1f2)][_0x1995e5(0x22d)],'editorConfig':this[_0x1995e5(0x1f2)][_0x1995e5(0x238)]});_0x5b407b[_0x1995e5(0x1f4)]=_0x5a9cb2['id'],_0x5b407b[_0x1995e5(0x21b)](_0x1995e5(0x201))['to'](this),_0x5b407b[_0x1995e5(0x21b)](_0x1995e5(0x213))['to'](this),_0x5b407b[_0x1995e5(0x21b)](_0x1995e5(0x22f))['to'](this),_0x5b407b[_0x1995e5(0x21b)](_0x1995e5(0x1fa))['to'](this),_0x5b407b[_0x1995e5(0x21b)](_0x1995e5(0x1f3))['to'](this),this[_0x1995e5(0x23a)](_0x5b407b,_0x1995e5(0x1f1),()=>this[_0x1995e5(0x248)]()),this[_0x1995e5(0x21c)][_0x1995e5(0x1ef)](_0x5b407b,_0x181658);}[_0x3956c7(0x215)](_0x357151){const _0x4c022c=_0x3956c7,_0x362374=this[_0x4c022c(0x21a)][_0x4c022c(0x218)](_0x357151);return this[_0x4c022c(0x227)]?this[_0x4c022c(0x227)][_0x4c022c(0x205)]>_0x357151[_0x4c022c(0x205)]?_0x362374-0x1:_0x362374:_0x362374-0x1;}[_0x3956c7(0x1eb)](){const _0x1baf48=_0x3956c7;if(this[_0x1baf48(0x21a)][_0x1baf48(0x23e)]&&this[_0x1baf48(0x21a)][_0x1baf48(0x204)]){const _0x520f66={'id':_0x1baf48(0x1f6),'author':this[_0x1baf48(0x21a)][_0x1baf48(0x23e)],'authoredAt':this[_0x1baf48(0x21a)][_0x1baf48(0x204)],'content':_0x532a0a(this[_0x1baf48(0x23b)],_0x1baf48(0x1ff)),'attributes':{}};this[_0x1baf48(0x227)]=new this[(_0x1baf48(0x1f2))][(_0x1baf48(0x20e))](this[_0x1baf48(0x23b)],_0x520f66,{'maxCommentCharsWhenCollapsed':this[_0x1baf48(0x1f2)][_0x1baf48(0x203)],'formatDateTime':this[_0x1baf48(0x1f2)][_0x1baf48(0x22d)],'editorConfig':this[_0x1baf48(0x1f2)][_0x1baf48(0x238)],'isSystemComment':!0x0}),this[_0x1baf48(0x21c)][_0x1baf48(0x1ef)](this[_0x1baf48(0x227)],this[_0x1baf48(0x21a)][_0x1baf48(0x218)](_0x520f66));}else this[_0x1baf48(0x227)]&&(this[_0x1baf48(0x21c)][_0x1baf48(0x234)](this[_0x1baf48(0x227)]),this[_0x1baf48(0x227)][_0x1baf48(0x229)](),this[_0x1baf48(0x227)]=null);this[_0x1baf48(0x210)]();}[_0x3956c7(0x23c)](_0x541284){const _0x58f59e=_0x3956c7,_0x294203=this[_0x58f59e(0x21c)][_0x58f59e(0x234)](_0x541284['id']);this[_0x58f59e(0x200)](_0x294203),_0x294203[_0x58f59e(0x237)]&&this[_0x58f59e(0x248)](),_0x294203[_0x58f59e(0x229)]();}[_0x3956c7(0x248)](){const _0x2bad8b=_0x3956c7;this[_0x2bad8b(0x20c)]=Array[_0x2bad8b(0x1fe)](this[_0x2bad8b(0x21c)])[_0x2bad8b(0x224)](_0x245c53=>_0x245c53[_0x2bad8b(0x237)]);}[_0x3956c7(0x219)](){const _0x29e144=_0x3956c7,_0x486090=function(_0x2f3037){const _0x502ee4=_0x3c64,_0x2f555e=new _0x10b01();for(const _0x417a83 of _0x2f3037)_0x2f555e[_0x502ee4(0x1ef)](_0x417a83);return _0x2f555e;}(this[_0x29e144(0x21c)]),_0x4c3055=this[_0x29e144(0x1f7)][_0x29e144(0x22a)];for(let _0x20dbec=0x1;_0x20dbec<=_0x4c3055;_0x20dbec++)_0x486090[_0x29e144(0x234)](0x1);for(const _0x5c0979 of _0x486090)_0x5c0979[_0x29e144(0x211)]();_0x4c3055>0x0&&_0x486090[_0x29e144(0x1ef)](this[_0x29e144(0x1f7)],0x1),ns(_0x3e908d(Array[_0x29e144(0x1fe)](this[_0x29e144(0x1fd)]),Array[_0x29e144(0x1fe)](_0x486090)),this[_0x29e144(0x1fd)],_0x486090);}[_0x3956c7(0x20f)](){const _0x339abc=_0x3956c7;ns(_0x3e908d(Array[_0x339abc(0x1fe)](this[_0x339abc(0x1fd)]),Array[_0x339abc(0x1fe)](this[_0x339abc(0x21c)])),this[_0x339abc(0x1fd)],this[_0x339abc(0x21c)]);for(const _0x2a4153 of this[_0x339abc(0x1fd)])_0x2a4153[_0x339abc(0x242)]();}[_0x3956c7(0x23f)](){const _0x1fe293=_0x3956c7;this[_0x1fe293(0x21c)][_0x1fe293(0x221)](_0x391c30=>{const _0x5d5254=_0x1fe293;this[_0x5d5254(0x222)][_0x5d5254(0x1ef)](_0x391c30[_0x5d5254(0x1f9)]),this[_0x5d5254(0x1e9)][_0x5d5254(0x23a)](_0x391c30[_0x5d5254(0x1f9)]);}),this[_0x1fe293(0x21c)]['on'](_0x1fe293(0x207),(_0x289fcd,_0x205bfa)=>{const _0x3d602e=_0x1fe293;for(const _0x30b919 of _0x205bfa[_0x3d602e(0x240)])this[_0x3d602e(0x222)][_0x3d602e(0x234)](_0x30b919[_0x3d602e(0x1f9)]),this[_0x3d602e(0x1e9)][_0x3d602e(0x200)](_0x30b919[_0x3d602e(0x1f9)]);for(const _0xcc03e5 of Array[_0x3d602e(0x1fe)](_0x205bfa[_0x3d602e(0x1f5)])[_0x3d602e(0x1f8)]())this[_0x3d602e(0x222)][_0x3d602e(0x1ef)](_0xcc03e5[_0x3d602e(0x1f9)]),this[_0x3d602e(0x1e9)][_0x3d602e(0x23a)](_0xcc03e5[_0x3d602e(0x1f9)]);});}}function ns(_0x565a2b,_0x1694d2,_0x513667){const _0x3bd03d=_0x3956c7;let _0x2ef014=0x0;for(const _0x225e67 of _0x565a2b)switch(_0x225e67){case _0x3bd03d(0x241):_0x1694d2[_0x3bd03d(0x1ef)](_0x513667[_0x3bd03d(0x228)](_0x2ef014),_0x2ef014),_0x2ef014++;break;case _0x3bd03d(0x1ec):_0x1694d2[_0x3bd03d(0x234)](_0x2ef014);break;case _0x3bd03d(0x22b):_0x2ef014++;}}function _0x1dbc(){const _0x375470=['element','editorReady','isActive','focusLast','visibleViews','from','Marked\x20as\x20resolved','stopListening','removeComment','bindTemplate','maxCommentCharsWhenCollapsed','resolvedAt','authoredAt','setTemplate','change','commentUpdated','4540392ycnYVa','focusCycler','change:isActive','hasDirtyComment','_handleNewCommentModel','CommentView','_rearrangeExpand','refreshVisibleViews','collapse','9tuhePT','updateComment','Thread\x20comments','_calculatePosition','focusFirst','489517JYJzlE','_findOptimalIndex','_rearrangeCollapse','_model','delegate','commentViews','543138zBvnks','1938486tyCfKQ','arrowup','createCollection','forEach','focusTracker','maxThreadTotalWeight','some','50ZPpiQD','2005900saYapT','resolvedCommentView','get','destroy','count','equal','ck-hidden','formatDateTime','change:isResolved','resolveCommentThread','render','_shouldCollapse','ck-thread__comments','5631527IUOOlQ','remove','weight','change:hasDirtyComment','isEditMode','editorConfig','20bvFsoy','listenTo','locale','_handleRemoveCommentModel','target','resolvedBy','_setupKeyboardNavigation','removed','insert','expand','comments','bind','includes','length','50tylKRv','_updateHasDirtyComment','map','maxCommentsWhenCollapsed','keystrokes','set','_handleInfoComment','delete','focus','arrowdown','add','32848nngliB','change:isEditMode','_config','editorDestroyed','viewUid','added','resolved','_collapsedCommentsView','reverse'];_0x1dbc=function(){return _0x375470;};return _0x1dbc();}
|
|
23
|
+
function _0x9969(_0x16f784,_0x47f467){const _0x60736b=_0x6073();return _0x9969=function(_0x996969,_0x2565aa){_0x996969=_0x996969-0x132;let _0x46d4d9=_0x60736b[_0x996969];return _0x46d4d9;},_0x9969(_0x16f784,_0x47f467);}const _0x52a164=_0x9969;(function(_0x380257,_0x575793){const _0x169328=_0x9969,_0x588656=_0x380257();while(!![]){try{const _0x55e23b=parseInt(_0x169328(0x164))/0x1+-parseInt(_0x169328(0x16c))/0x2*(parseInt(_0x169328(0x15d))/0x3)+-parseInt(_0x169328(0x18d))/0x4+parseInt(_0x169328(0x18a))/0x5+-parseInt(_0x169328(0x18c))/0x6+-parseInt(_0x169328(0x16e))/0x7*(-parseInt(_0x169328(0x16f))/0x8)+-parseInt(_0x169328(0x173))/0x9*(-parseInt(_0x169328(0x149))/0xa);if(_0x55e23b===_0x575793)break;else _0x588656['push'](_0x588656['shift']());}catch(_0x56597b){_0x588656['push'](_0x588656['shift']());}}}(_0x6073,0xd022f));import{View as _0x151677,FocusCycler as _0x4f714b}from'ckeditor5/src/ui.js';import{diff as _0x5d458d,Collection as _0x3e2c5b,FocusTracker as _0x4a2e7f,KeystrokeHandler as _0x36c000}from'ckeditor5/src/utils.js';function _0x6073(){const _0x1721ca=['from','763prnSxN','19904YIZsYa','refreshVisibleViews','focusFirst','maxCommentCharsWhenCollapsed','2655fpCnTP','element','_handleNewCommentModel','set','bind','destroy','hasDirtyComment','some','commentViews','updateComment','delegate','change:isActive','bindTemplate','commentUpdated','editorConfig','comments','resolvedCommentView','resolvedBy','editorDestroyed','focusTracker','resolved','delete','isActive','4899410uzIfSS','ck-thread__comments','5667924miBbEx','4459308aYnwwy','get','focusCycler','_collapsedCommentsView','_config','includes','listenTo','render','added','equal','change:hasDirtyComment','CommentView','change:isEditMode','isEditMode','keystrokes','change:isResolved','maxCommentsWhenCollapsed','focus','Thread\x20comments','stopListening','Marked\x20as\x20resolved','reverse','weight','length','arrowdown','insert','collapse','_shouldCollapse','_handleInfoComment','42830muZPyh','viewUid','maxThreadTotalWeight','setTemplate','_findOptimalIndex','target','_updateHasDirtyComment','resolvedAt','resolveCommentThread','_calculatePosition','ck-hidden','change','add','_model','formatDateTime','_handleRemoveCommentModel','_rearrangeCollapse','expand','visibleViews','forEach','3NeOuNK','count','_setupKeyboardNavigation','removeComment','focusLast','authoredAt','map','1555350hDWQxF','removed','_rearrangeExpand','editorReady','arrowup','createCollection','remove','locale','2315802QLrmvn'];_0x6073=function(){return _0x1721ca;};return _0x6073();}import{getTranslation as _0x121420}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x2412e4}from'./collapsedcommentsview.js';export class CommentsListView extends _0x151677{[_0x52a164(0x17b)];[_0x52a164(0x183)];[_0x52a164(0x186)];[_0x52a164(0x13a)];[_0x52a164(0x18f)];[_0x52a164(0x156)];[_0x52a164(0x191)];[_0x52a164(0x190)];constructor(_0x212663,_0x579c04,_0x12c505){const _0x2f1489=_0x52a164;super(_0x212663);const _0x29ec06=this[_0x2f1489(0x17f)];this[_0x2f1489(0x176)](_0x2f1489(0x179),!0x1),this[_0x2f1489(0x176)](_0x2f1489(0x143),_0x579c04[_0x2f1489(0x182)][_0x2f1489(0x143)]),this[_0x2f1489(0x176)](_0x2f1489(0x189),!0x1),this[_0x2f1489(0x156)]=_0x579c04,this[_0x2f1489(0x191)]=_0x12c505,this[_0x2f1489(0x17b)]=this[_0x2f1489(0x169)](),this[_0x2f1489(0x15b)]=this[_0x2f1489(0x169)](),this[_0x2f1489(0x183)]=null,this[_0x2f1489(0x186)]=new _0x4a2e7f(),this[_0x2f1489(0x13a)]=new _0x36c000(),this[_0x2f1489(0x18f)]=new _0x4f714b({'focusables':this[_0x2f1489(0x17b)],'focusTracker':this[_0x2f1489(0x186)],'keystrokeHandler':this[_0x2f1489(0x13a)],'keystrokeHandlerOptions':{'filter':_0x5a8e8b=>this[_0x2f1489(0x17b)][_0x2f1489(0x163)](_0x385324=>_0x385324[_0x2f1489(0x174)])[_0x2f1489(0x192)](_0x5a8e8b[_0x2f1489(0x14e)])},'actions':{'focusPrevious':_0x2f1489(0x168),'focusNext':_0x2f1489(0x144)}}),this[_0x2f1489(0x190)]=new _0x2412e4(_0x212663),this[_0x2f1489(0x190)][_0x2f1489(0x177)](_0x2f1489(0x15e))['to'](this,_0x2f1489(0x143),_0x29f40c=>_0x29f40c-this[_0x2f1489(0x191)][_0x2f1489(0x13c)]);for(const _0x5c9ca8 of _0x579c04[_0x2f1489(0x182)])this[_0x2f1489(0x175)](_0x5c9ca8);this[_0x2f1489(0x148)](),this[_0x2f1489(0x132)](_0x579c04[_0x2f1489(0x182)],_0x2f1489(0x155),(_0x7211f3,_0x3ea3fb)=>{const _0x1b3f98=_0x2f1489,_0x41320f=this[_0x1b3f98(0x152)](_0x3ea3fb);this[_0x1b3f98(0x143)]++,this[_0x1b3f98(0x175)](_0x3ea3fb,_0x41320f),this[_0x1b3f98(0x170)]();}),this[_0x2f1489(0x132)](_0x579c04[_0x2f1489(0x182)],_0x2f1489(0x16a),(_0x4572d8,_0x173a8c)=>{const _0x32bde7=_0x2f1489;this[_0x32bde7(0x143)]--,this[_0x32bde7(0x158)](_0x173a8c),this[_0x32bde7(0x170)]();}),this[_0x2f1489(0x132)](_0x579c04,_0x2f1489(0x180),()=>this[_0x2f1489(0x170)]()),this[_0x2f1489(0x132)](_0x579c04,_0x2f1489(0x13b),()=>this[_0x2f1489(0x148)]()),this['on'](_0x2f1489(0x17e),()=>this[_0x2f1489(0x170)]()),this['on'](_0x2f1489(0x136),()=>this[_0x2f1489(0x170)]()),this[_0x2f1489(0x14c)]({'tag':'ul','attributes':{'class':[_0x2f1489(0x18b),_0x29ec06['if'](_0x2f1489(0x143),_0x2f1489(0x153),_0x20b9cb=>!_0x20b9cb)],'aria-label':_0x121420(_0x212663,_0x2f1489(0x13e))},'children':this[_0x2f1489(0x15b)]});}get[_0x52a164(0x147)](){const _0x5e9e69=_0x52a164;return this[_0x5e9e69(0x156)][_0x5e9e69(0x142)]>this[_0x5e9e69(0x191)][_0x5e9e69(0x14b)]&&!this[_0x5e9e69(0x189)]&&!this[_0x5e9e69(0x179)];}[_0x52a164(0x133)](){const _0x1a1764=_0x52a164;super[_0x1a1764(0x133)](),this[_0x1a1764(0x170)](),this[_0x1a1764(0x15f)]();}[_0x52a164(0x13d)](_0x3c0a47){const _0xe44b54=_0x52a164;-0x1===_0x3c0a47?this[_0xe44b54(0x18f)][_0xe44b54(0x161)]():this[_0xe44b54(0x18f)][_0xe44b54(0x171)]();}[_0x52a164(0x178)](){const _0x15a424=_0x52a164;this[_0x15a424(0x190)][_0x15a424(0x178)]();for(const _0x10781d of this[_0x15a424(0x17b)])_0x10781d[_0x15a424(0x178)]();super[_0x15a424(0x178)]();}[_0x52a164(0x170)](){const _0x131226=_0x52a164;this[_0x131226(0x147)]?this[_0x131226(0x159)]():this[_0x131226(0x166)]();}[_0x52a164(0x175)](_0x212738,_0x50e06c){const _0x586884=_0x52a164,_0x4612fd=new this[(_0x586884(0x191))][(_0x586884(0x137))](this[_0x586884(0x16b)],_0x212738,{'maxCommentCharsWhenCollapsed':this[_0x586884(0x191)][_0x586884(0x172)],'formatDateTime':this[_0x586884(0x191)][_0x586884(0x157)],'editorConfig':this[_0x586884(0x191)][_0x586884(0x181)]});_0x4612fd[_0x586884(0x14a)]=_0x212738['id'],_0x4612fd[_0x586884(0x17d)](_0x586884(0x160))['to'](this),_0x4612fd[_0x586884(0x17d)](_0x586884(0x17c))['to'](this),_0x4612fd[_0x586884(0x17d)](_0x586884(0x151))['to'](this),_0x4612fd[_0x586884(0x17d)](_0x586884(0x167))['to'](this),_0x4612fd[_0x586884(0x17d)](_0x586884(0x185))['to'](this),this[_0x586884(0x132)](_0x4612fd,_0x586884(0x138),()=>this[_0x586884(0x14f)]()),this[_0x586884(0x17b)][_0x586884(0x155)](_0x4612fd,_0x50e06c);}[_0x52a164(0x152)](_0x154a2e){const _0x54492d=_0x52a164,_0x1fe273=this[_0x54492d(0x156)][_0x54492d(0x14d)](_0x154a2e);return this[_0x54492d(0x183)]?this[_0x54492d(0x183)][_0x54492d(0x162)]>_0x154a2e[_0x54492d(0x162)]?_0x1fe273-0x1:_0x1fe273:_0x1fe273-0x1;}[_0x52a164(0x148)](){const _0x430344=_0x52a164;if(this[_0x430344(0x156)][_0x430344(0x184)]&&this[_0x430344(0x156)][_0x430344(0x150)]){const _0x1ae64b={'id':_0x430344(0x187),'author':this[_0x430344(0x156)][_0x430344(0x184)],'authoredAt':this[_0x430344(0x156)][_0x430344(0x150)],'content':_0x121420(this[_0x430344(0x16b)],_0x430344(0x140)),'attributes':{}};this[_0x430344(0x183)]=new this[(_0x430344(0x191))][(_0x430344(0x137))](this[_0x430344(0x16b)],_0x1ae64b,{'maxCommentCharsWhenCollapsed':this[_0x430344(0x191)][_0x430344(0x172)],'formatDateTime':this[_0x430344(0x191)][_0x430344(0x157)],'editorConfig':this[_0x430344(0x191)][_0x430344(0x181)],'isSystemComment':!0x0}),this[_0x430344(0x17b)][_0x430344(0x155)](this[_0x430344(0x183)],this[_0x430344(0x156)][_0x430344(0x14d)](_0x1ae64b));}else this[_0x430344(0x183)]&&(this[_0x430344(0x17b)][_0x430344(0x16a)](this[_0x430344(0x183)]),this[_0x430344(0x183)][_0x430344(0x178)](),this[_0x430344(0x183)]=null);this[_0x430344(0x170)]();}[_0x52a164(0x158)](_0x2c1b7d){const _0x543a6a=_0x52a164,_0x9538c4=this[_0x543a6a(0x17b)][_0x543a6a(0x16a)](_0x2c1b7d['id']);this[_0x543a6a(0x13f)](_0x9538c4),_0x9538c4[_0x543a6a(0x139)]&&this[_0x543a6a(0x14f)](),_0x9538c4[_0x543a6a(0x178)]();}[_0x52a164(0x14f)](){const _0x11b05d=_0x52a164;this[_0x11b05d(0x179)]=Array[_0x11b05d(0x16d)](this[_0x11b05d(0x17b)])[_0x11b05d(0x17a)](_0x2f424d=>_0x2f424d[_0x11b05d(0x139)]);}[_0x52a164(0x159)](){const _0x3b5df7=_0x52a164,_0x156abc=function(_0x39d9a3){const _0x29cb33=_0x9969,_0x41f483=new _0x3e2c5b();for(const _0x56e043 of _0x39d9a3)_0x41f483[_0x29cb33(0x155)](_0x56e043);return _0x41f483;}(this[_0x3b5df7(0x17b)]),_0x3a6d21=this[_0x3b5df7(0x190)][_0x3b5df7(0x15e)];for(let _0x2c25e2=0x1;_0x2c25e2<=_0x3a6d21;_0x2c25e2++)_0x156abc[_0x3b5df7(0x16a)](0x1);for(const _0x2076c9 of _0x156abc)_0x2076c9[_0x3b5df7(0x146)]();_0x3a6d21>0x0&&_0x156abc[_0x3b5df7(0x155)](this[_0x3b5df7(0x190)],0x1),ns(_0x5d458d(Array[_0x3b5df7(0x16d)](this[_0x3b5df7(0x15b)]),Array[_0x3b5df7(0x16d)](_0x156abc)),this[_0x3b5df7(0x15b)],_0x156abc);}[_0x52a164(0x166)](){const _0x1c1346=_0x52a164;ns(_0x5d458d(Array[_0x1c1346(0x16d)](this[_0x1c1346(0x15b)]),Array[_0x1c1346(0x16d)](this[_0x1c1346(0x17b)])),this[_0x1c1346(0x15b)],this[_0x1c1346(0x17b)]);for(const _0x44ef53 of this[_0x1c1346(0x15b)])_0x44ef53[_0x1c1346(0x15a)]();}[_0x52a164(0x15f)](){const _0xbbb3a1=_0x52a164;this[_0xbbb3a1(0x17b)][_0xbbb3a1(0x15c)](_0x4b9048=>{const _0x448460=_0xbbb3a1;this[_0x448460(0x186)][_0x448460(0x155)](_0x4b9048[_0x448460(0x174)]),this[_0x448460(0x13a)][_0x448460(0x132)](_0x4b9048[_0x448460(0x174)]);}),this[_0xbbb3a1(0x17b)]['on'](_0xbbb3a1(0x154),(_0x184b62,_0x307e64)=>{const _0x3f9910=_0xbbb3a1;for(const _0x4a5771 of _0x307e64[_0x3f9910(0x165)])this[_0x3f9910(0x186)][_0x3f9910(0x16a)](_0x4a5771[_0x3f9910(0x174)]),this[_0x3f9910(0x13a)][_0x3f9910(0x13f)](_0x4a5771[_0x3f9910(0x174)]);for(const _0x214a77 of Array[_0x3f9910(0x16d)](_0x307e64[_0x3f9910(0x134)])[_0x3f9910(0x141)]())this[_0x3f9910(0x186)][_0x3f9910(0x155)](_0x214a77[_0x3f9910(0x174)]),this[_0x3f9910(0x13a)][_0x3f9910(0x132)](_0x214a77[_0x3f9910(0x174)]);});}}function ns(_0x3d8b3f,_0x10fb27,_0x2081d1){const _0xbbfc02=_0x52a164;let _0xb06908=0x0;for(const _0x3eafe6 of _0x3d8b3f)switch(_0x3eafe6){case _0xbbfc02(0x145):_0x10fb27[_0xbbfc02(0x155)](_0x2081d1[_0xbbfc02(0x18e)](_0xb06908),_0xb06908),_0xb06908++;break;case _0xbbfc02(0x188):_0x10fb27[_0xbbfc02(0x16a)](_0xb06908);break;case _0xbbfc02(0x135):_0xb06908++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x29f2c7=_0x284c;function _0x284c(_0x5b109d,_0x4c5019){const _0x5750f4=_0x5750();return _0x284c=function(_0x284cbd,_0x40181a){_0x284cbd=_0x284cbd-0x17c;let _0x22f547=_0x5750f4[_0x284cbd];return _0x22f547;},_0x284c(_0x5b109d,_0x4c5019);}(function(_0x45e493,_0x40c3b0){const _0x4093ee=_0x284c,_0x2a7717=_0x45e493();while(!![]){try{const _0x2b51f2=parseInt(_0x4093ee(0x189))/0x1+parseInt(_0x4093ee(0x184))/0x2*(parseInt(_0x4093ee(0x18d))/0x3)+-parseInt(_0x4093ee(0x17c))/0x4*(parseInt(_0x4093ee(0x17d))/0x5)+-parseInt(_0x4093ee(0x18e))/0x6+-parseInt(_0x4093ee(0x188))/0x7*(parseInt(_0x4093ee(0x187))/0x8)+-parseInt(_0x4093ee(0x182))/0x9*(-parseInt(_0x4093ee(0x18c))/0xa)+-parseInt(_0x4093ee(0x18b))/0xb*(-parseInt(_0x4093ee(0x190))/0xc);if(_0x2b51f2===_0x40c3b0)break;else _0x2a7717['push'](_0x2a7717['shift']());}catch(_0x3bb0b9){_0x2a7717['push'](_0x2a7717['shift']());}}}(_0x5750,0x76b16));function _0x5750(){const _0x43c2df=['contextValue','span','9HkPmCQ','THREAD_CONTEXT_LABEL','696qUYstr','set','element','8mhXUCk','1913982BgxVBP','312738AYrEKP','ck-context__value','21857eFDLzf','6589130diYydk','3447kOxqbf','4012572HyIIFn','setTemplate','3972wPBFId','1201692CyucSL','10NlPLYF','bindTemplate','focus'];_0x5750=function(){return _0x43c2df;};return _0x5750();}import{View as _0x17062d}from'ckeditor5/src/ui.js';import{getTranslation as _0x1591bc}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x17062d{constructor(_0x526219){const _0x10711b=_0x284c;super(_0x526219);const _0x28ebd6=this[_0x10711b(0x17e)];this[_0x10711b(0x185)](_0x10711b(0x180),''),this[_0x10711b(0x18f)]({'tag':_0x10711b(0x181),'attributes':{'class':['ck',_0x10711b(0x18a)],'aria-label':_0x28ebd6['to'](_0x10711b(0x180),_0x4e0262=>_0x1591bc(_0x526219,_0x10711b(0x183),_0x4e0262)),'tabindex':-0x1},'children':[{'text':_0x28ebd6['to'](_0x10711b(0x180))}]});}[_0x29f2c7(0x17f)](){const _0x5b53a6=_0x29f2c7;this[_0x5b53a6(0x186)][_0x5b53a6(0x17f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5deea6=_0x2095;(function(_0x1fd20c,_0x5b828a){const _0x398051=_0x2095,_0x12d54a=_0x1fd20c();while(!![]){try{const _0x50055c=parseInt(_0x398051(0x97))/0x1+parseInt(_0x398051(0x82))/0x2+-parseInt(_0x398051(0x8e))/0x3*(-parseInt(_0x398051(0x70))/0x4)+parseInt(_0x398051(0x79))/0x5+-parseInt(_0x398051(0x99))/0x6+-parseInt(_0x398051(0x7b))/0x7+-parseInt(_0x398051(0x78))/0x8;if(_0x50055c===_0x5b828a)break;else _0x12d54a['push'](_0x12d54a['shift']());}catch(_0x48c94e){_0x12d54a['push'](_0x12d54a['shift']());}}}(_0x53f0,0x19b53));import{View as _0xc933fe,ButtonView as _0x59f767,FocusCycler as _0x1cd0e8}from'ckeditor5/src/ui.js';function _0x53f0(){const _0x3b406b=['isResolved','...','ck-context','496065tKVEQw','isEnabled','element','bind','focusFirst','.ck-context__value','contextValue','isResolvable','render','90510WrZXhM','_createReopenButton','945162sNKEjo','keystrokes','value','Reopen','_attachContextActions','add','mouseleave','lastIndexOf','reopenCommentThread','Comment\x20was\x20made\x20on\x20an\x20element','remove','hasContext','substring','reopenButtonView','context','_trimContextValue','tooltip','icon','focusables','isReadOnly','_createContextView','_setupKeyboardNavigation','setTemplate','execute','classList','_model','fire','length','focusTracker','4uKklKk','overlay','bindTemplate','label','ck-annotation__actions','locale','mouseenter','offsetWidth','1122800GDvRZM','344380pQFksf','ck-thread__header','784791Lsoqcx','querySelector','createCollection','ck-context--quotes','tab','isVisible','ck-context-wrapper','381096GAIipk','scrollWidth','focusCycler','shift+tab','contextView','.ck-context','div','listenTo','focus'];_0x53f0=function(){return _0x3b406b;};return _0x53f0();}import{FocusTracker as _0x5b00b3,KeystrokeHandler as _0x20c94a}from'ckeditor5/src/utils.js';import{IconUndo as _0x3f9c33}from'ckeditor5/src/icons.js';import{getTranslation as _0x4c64fe}from'../../../utils/common-translations.js';function _0x2095(_0x80d58,_0x3a0070){const _0x53f078=_0x53f0();return _0x2095=function(_0x209597,_0x1dca63){_0x209597=_0x209597-0x6a;let _0x4f660b=_0x53f078[_0x209597];return _0x4f660b;},_0x2095(_0x80d58,_0x3a0070);}import{CommentThreadHeaderContextView as _0x5bd9ce}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0xc933fe{[_0x5deea6(0x6c)];[_0x5deea6(0xa6)];[_0x5deea6(0x86)];[_0x5deea6(0xab)];[_0x5deea6(0x6f)];[_0x5deea6(0x9a)];[_0x5deea6(0x84)];constructor(_0x9192d,_0x2eceac){const _0x19e25a=_0x5deea6;super(_0x9192d);const _0x5174f6=this[_0x19e25a(0x72)];this[_0x19e25a(0x6c)]=_0x2eceac,this[_0x19e25a(0xa6)]=this[_0x19e25a(0x98)](),this[_0x19e25a(0x86)]=this[_0x19e25a(0xad)](),this[_0x19e25a(0xab)]=this[_0x19e25a(0x7d)]([this[_0x19e25a(0x86)],this[_0x19e25a(0xa6)]]),this[_0x19e25a(0x6f)]=new _0x5b00b3(),this[_0x19e25a(0x9a)]=new _0x20c94a(),this[_0x19e25a(0x84)]=new _0x1cd0e8({'focusables':this[_0x19e25a(0xab)],'focusTracker':this[_0x19e25a(0x6f)],'keystrokeHandler':this[_0x19e25a(0x9a)],'actions':{'focusPrevious':_0x19e25a(0x85),'focusNext':_0x19e25a(0x7f)}}),this[_0x19e25a(0x91)](_0x19e25a(0xa4))['to'](this[_0x19e25a(0x6c)],_0x19e25a(0xa7),_0x5dd7d6=>!!_0x5dd7d6),this[_0x19e25a(0x91)](_0x19e25a(0x94))['to'](this[_0x19e25a(0x6c)],_0x19e25a(0xa7),_0x35436d=>_0x35436d&&_0x35436d[_0x19e25a(0x9b)]?this[_0x19e25a(0xa8)](_0x35436d[_0x19e25a(0x9b)]):_0x4c64fe(this[_0x19e25a(0x75)],_0x19e25a(0xa2))),this[_0x19e25a(0xaf)]({'tag':_0x19e25a(0x88),'attributes':{'class':[_0x19e25a(0x7a)]},'children':[{'tag':_0x19e25a(0x88),'attributes':{'class':[_0x19e25a(0x81)]},'children':[{'tag':_0x19e25a(0x88),'attributes':{'class':[_0x19e25a(0x8d),_0x5174f6['if'](_0x19e25a(0xa4),_0x19e25a(0x7e))]},'children':[this[_0x19e25a(0x86)]]}]},{'tag':_0x19e25a(0x88),'attributes':{'class':[_0x19e25a(0x74)]},'children':[this[_0x19e25a(0xa6)]]}]});}[_0x5deea6(0x96)](){const _0x17a564=_0x5deea6;super[_0x17a564(0x96)](),this[_0x17a564(0x9d)](),this[_0x17a564(0xae)]();}[_0x5deea6(0x8a)](){const _0x3d247d=_0x5deea6;this[_0x3d247d(0x84)][_0x3d247d(0x92)]();}[_0x5deea6(0x98)](){const _0x5de41f=_0x5deea6,_0x441f49=new _0x59f767(this[_0x5de41f(0x75)]);return _0x441f49[_0x5de41f(0x73)]=_0x4c64fe(this[_0x5de41f(0x75)],_0x5de41f(0x9c)),_0x441f49[_0x5de41f(0xa9)]=_0x4c64fe(this[_0x5de41f(0x75)],_0x5de41f(0x9c)),_0x441f49[_0x5de41f(0xaa)]=_0x3f9c33,_0x441f49[_0x5de41f(0x91)](_0x5de41f(0x8f))['to'](this[_0x5de41f(0x6c)],_0x5de41f(0xac),_0x53c207=>!_0x53c207),_0x441f49[_0x5de41f(0x91)](_0x5de41f(0x80))['to'](this[_0x5de41f(0x6c)],_0x5de41f(0x95),this[_0x5de41f(0x6c)],_0x5de41f(0x8b),(_0x16209f,_0x3bbec2)=>_0x16209f&&_0x3bbec2),_0x441f49['on'](_0x5de41f(0x6a),()=>{const _0x1294e1=_0x5de41f;this[_0x1294e1(0x6d)](_0x1294e1(0xa1),this[_0x1294e1(0x6c)]['id']);}),_0x441f49;}[_0x5deea6(0xa8)](_0x4a93f5){const _0x4f51ba=_0x5deea6;if(_0x4a93f5[_0x4f51ba(0x6e)]<0x96)return _0x4a93f5;const _0x1b7fd3=_0x4a93f5[_0x4f51ba(0xa0)]('\x20',0x93);return _0x4a93f5[_0x4f51ba(0xa5)](0x0,_0x1b7fd3>-0x1?_0x1b7fd3:0x93)+_0x4f51ba(0x8c);}[_0x5deea6(0x9d)](){const _0x49e7c2=_0x5deea6,_0x5f10e1=this[_0x49e7c2(0x90)][_0x49e7c2(0x7c)](_0x49e7c2(0x87)),_0x8814c5=_0x5f10e1[_0x49e7c2(0x7c)](_0x49e7c2(0x93));this[_0x49e7c2(0x89)](_0x5f10e1,_0x49e7c2(0x76),()=>{const _0x4cc2a1=_0x49e7c2;_0x8814c5[_0x4cc2a1(0x77)]<_0x8814c5[_0x4cc2a1(0x83)]&&_0x5f10e1[_0x4cc2a1(0x6b)][_0x4cc2a1(0x9e)](_0x4cc2a1(0x71));}),this[_0x49e7c2(0x89)](_0x5f10e1,_0x49e7c2(0x9f),()=>{const _0x3129c3=_0x49e7c2;_0x5f10e1[_0x3129c3(0x6b)][_0x3129c3(0xa3)](_0x3129c3(0x71));});}[_0x5deea6(0xae)](){const _0x10912c=_0x5deea6;this[_0x10912c(0x9a)][_0x10912c(0x89)](this[_0x10912c(0x90)]);for(const _0x14aba2 of this[_0x10912c(0xab)])this[_0x10912c(0x6f)][_0x10912c(0x9e)](_0x14aba2[_0x10912c(0x90)]),this[_0x10912c(0x9a)][_0x10912c(0x89)](_0x14aba2[_0x10912c(0x90)]);}[_0x5deea6(0xad)](){const _0x52bb77=_0x5deea6,_0x35f98d=new _0x5bd9ce(this[_0x52bb77(0x75)]);return _0x35f98d[_0x52bb77(0x91)](_0x52bb77(0x94))['to'](this),_0x35f98d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x378299=_0x2348;(function(_0x58fe09,_0x27bcb1){const _0x490a9e=_0x2348,_0x16bb53=_0x58fe09();while(!![]){try{const _0x3bf634=-parseInt(_0x490a9e(0xe4))/0x1*(parseInt(_0x490a9e(0xd7))/0x2)+-parseInt(_0x490a9e(0xf8))/0x3*(parseInt(_0x490a9e(0xdf))/0x4)+-parseInt(_0x490a9e(0xf3))/0x5*(parseInt(_0x490a9e(0xec))/0x6)+-parseInt(_0x490a9e(0x102))/0x7+-parseInt(_0x490a9e(0xe6))/0x8+parseInt(_0x490a9e(0xed))/0x9+parseInt(_0x490a9e(0xda))/0xa;if(_0x3bf634===_0x27bcb1)break;else _0x16bb53['push'](_0x16bb53['shift']());}catch(_0x526f34){_0x16bb53['push'](_0x16bb53['shift']());}}}(_0x5669,0x6bfe4));function _0x5669(){const _0x1e6057=['2502uOACNE','3892158MdIKaN','element','filter','showButtons','then','ck-comment__input-container','4945PfZgJg','target','editing','getDomRoot','showInput','12UcsmhA','ck-thread__input','editorDestroyed','focusTracker','view','bindTemplate','ck-thread__user','focusCycler','set','editor','2834811imFiKg','render','delegate','change:showInput','bind','some','ck-comment__input-container--active','6WglbNK','extendTemplate','isFocused','16847210GoELhN','_focusOnNonInteractiveMouseDown','value','mousedown','editorReady','136628bAKNRO','contains','focus','listenTo','destroy','180321JqHOwx','div','1438928eHiHZn','userView','commentInputView','preventDefault','createEditor','setTemplate'];_0x5669=function(){return _0x1e6057;};return _0x5669();}import{View as _0x1abb53}from'ckeditor5/src/ui.js';function _0x2348(_0x11e0ed,_0xda0574){const _0x566912=_0x5669();return _0x2348=function(_0x2348c6,_0x4dedf3){_0x2348c6=_0x2348c6-0xd6;let _0x265afa=_0x566912[_0x2348c6];return _0x265afa;},_0x2348(_0x11e0ed,_0xda0574);}import{CommentInputView as _0xefaa15}from'./commentinputview.js';import{UserView as _0xa6a043}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x1abb53{constructor(_0x33fb91,_0x159335,_0x3ad42f){const _0x4f3885=_0x2348;super(_0x33fb91),this[_0x4f3885(0xe8)]=new _0xefaa15(_0x33fb91,_0x3ad42f),this[_0x4f3885(0xff)]=this[_0x4f3885(0xe8)][_0x4f3885(0xff)],this[_0x4f3885(0xe8)][_0x4f3885(0x106)](_0x4f3885(0xf0))['to'](this[_0x4f3885(0xe8)][_0x4f3885(0xfb)],_0x4f3885(0xd9),this[_0x4f3885(0xe8)],_0x4f3885(0xdc),(_0x56e9ec,_0x1dc6e2)=>_0x56e9ec||!!_0x1dc6e2),this[_0x4f3885(0x100)](_0x4f3885(0xf7),!0x1),this['on'](_0x4f3885(0x105),()=>{const _0x11eefb=_0x4f3885;this[_0x11eefb(0xf7)]&&!this[_0x11eefb(0xe8)][_0x11eefb(0x101)]&&this[_0x11eefb(0xe8)][_0x11eefb(0xea)]();}),this[_0x4f3885(0xe8)][_0x4f3885(0x104)](_0x4f3885(0xde))['to'](this),this[_0x4f3885(0xe8)][_0x4f3885(0x104)](_0x4f3885(0xfa))['to'](this),this[_0x4f3885(0xe7)]=new _0xa6a043(_0x33fb91,_0x159335),this[_0x4f3885(0xe7)][_0x4f3885(0xd8)]({'attributes':{'class':_0x4f3885(0xfe),'aria-hidden':!0x0}}),this[_0x4f3885(0xe8)][_0x4f3885(0xd8)]({'attributes':{'class':_0x4f3885(0xf9)}}),this[_0x4f3885(0xeb)]({'tag':_0x4f3885(0xe5),'attributes':{'class':[_0x4f3885(0xf2),this[_0x4f3885(0xfd)]['if'](_0x4f3885(0xf7),_0x4f3885(0xd6))]},'children':[this[_0x4f3885(0xe7)],this[_0x4f3885(0xe8)]]});}[_0x378299(0x103)](){const _0x417edc=_0x378299;super[_0x417edc(0x103)](),this[_0x417edc(0xdb)]();}[_0x378299(0xe3)](){const _0x1c30f6=_0x378299;return this[_0x1c30f6(0xe8)][_0x1c30f6(0xe3)]()[_0x1c30f6(0xf1)](()=>super[_0x1c30f6(0xe3)]());}[_0x378299(0xe1)](_0x51065c){const _0x238de0=_0x378299;this[_0x238de0(0xe8)][_0x238de0(0xe1)](_0x51065c);}[_0x378299(0xdb)](){const _0x58b93e=_0x378299;this[_0x58b93e(0xe2)](this[_0x58b93e(0xee)],_0x58b93e(0xdd),(_0x3cd514,_0xf929a1)=>{const _0x1c757b=_0x58b93e,{submitButtonView:_0x5c2982,cancelButtonView:_0x4b5fce,editor:_0x4859ce}=this[_0x1c757b(0xe8)];[_0x5c2982[_0x1c757b(0xee)],_0x4b5fce[_0x1c757b(0xee)],_0x4859ce?_0x4859ce[_0x1c757b(0xf5)][_0x1c757b(0xfc)][_0x1c757b(0xf6)]():null][_0x1c757b(0xef)](_0x44f541=>_0x44f541)[_0x1c757b(0x107)](_0x5effe2=>_0x5effe2[_0x1c757b(0xe0)](_0xf929a1[_0x1c757b(0xf4)]))||(this[_0x1c757b(0xe1)](),_0xf929a1[_0x1c757b(0xe9)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x5888(_0x449ce0,_0x1cfc32){const _0x4bdcc1=_0x4bdc();return _0x5888=function(_0x5888ff,_0x37b1cf){_0x5888ff=_0x5888ff-0x14f;let _0x38969e=_0x4bdcc1[_0x5888ff];return _0x38969e;},_0x5888(_0x449ce0,_0x1cfc32);}const _0x33c02a=_0x5888;(function(_0x264397,_0x532bf4){const _0x265a81=_0x5888,_0x2c57c2=_0x264397();while(!![]){try{const _0x5b82fa=parseInt(_0x265a81(0x199))/0x1+parseInt(_0x265a81(0x167))/0x2*(-parseInt(_0x265a81(0x172))/0x3)+-parseInt(_0x265a81(0x19b))/0x4+parseInt(_0x265a81(0x150))/0x5*(parseInt(_0x265a81(0x1a3))/0x6)+-parseInt(_0x265a81(0x18c))/0x7+-parseInt(_0x265a81(0x1a0))/0x8+parseInt(_0x265a81(0x182))/0x9*(parseInt(_0x265a81(0x17a))/0xa);if(_0x5b82fa===_0x532bf4)break;else _0x2c57c2['push'](_0x2c57c2['shift']());}catch(_0x268fe7){_0x2c57c2['push'](_0x2c57c2['shift']());}}}(_0x4bdc,0x65b8f));import{ConfirmMixin as _0x2eb755,LateFocusButtonView as _0x3eae52}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x39707b}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x17676b}from'./basecommentthreadview.js';function _0x4bdc(){const _0x339aad=['4204970qTYyaD','then','_updateArchivedThreadHeader','ck-thread__container','showConfirm','bindTemplate','isVisible','commentsListView','icon','isReadOnly','removeButton','listitem','_boundFirstCommentView','109339SLBFzM','Delete\x20comment\x20thread?','655988hjRNpG','extendTemplate','containerElement','getTemplate','resolveButton','5722632SNRzcq','change:isReadOnly','div','6AngEsP','tooltip','unbind','ck-reset_all-excluded','change:archivedAt','1834885tHNuAO','bind','label','add','resolveCommentThread','ck-thread--','element','ariaDescriptionView','isActive','change:isActive','commentThreadInputView','_createResolveButton','_model','isEnabled','listenTo','commentThreadHeaderView','createCollection','high','set','_bindFirstCommentView','length','querySelector','removeConfirm','18dMlQon','fire','ck-comment--resolve','focus','isSystemComment','stop','isResolvable','locale','remove','.ck-thread__container','render','189195yKOzmQ','ariaLabel','commentThreadChildren','archivedAt','Write\x20a\x20comment...','isResolved','ck-rounded-corners','actionBar','5200vIlLfW','focusables','commentViews','get','setTemplate','cancelConfirm','Resolve','ck-thread','34407PGIJVK','ck-thread--unlinked','actionIndicator','removeCommentThread','execute','isUnlinked','has','_cancelAllConfirms','ck-thread--active','placeholder'];_0x4bdc=function(){return _0x339aad;};return _0x4bdc();}import{getTranslation as _0x1eeaf2}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2eb755(_0x17676b){[_0x33c02a(0x174)];[_0x33c02a(0x19d)];[_0x33c02a(0x19f)];[_0x33c02a(0x198)];constructor(_0x563974,_0x140f7d,_0x18a0b3,_0x10521d){const _0x15edb6=_0x33c02a;super(_0x563974,_0x140f7d,_0x18a0b3,_0x10521d),this[_0x15edb6(0x174)]=this[_0x15edb6(0x160)]([this[_0x15edb6(0x193)],this[_0x15edb6(0x15a)],this[_0x15edb6(0x157)]]),this[_0x15edb6(0x162)](_0x15edb6(0x184),null),this[_0x15edb6(0x19d)]=null,this[_0x15edb6(0x198)]=null,this[_0x15edb6(0x16e)]=_0x563974,this[_0x15edb6(0x19f)]=this[_0x15edb6(0x15b)](),this[_0x15edb6(0x17e)](this[_0x15edb6(0x19e)]()),this['on'](_0x15edb6(0x159),(_0x1a564a,_0x45e647,_0x6e9de4)=>{const _0x4f71d3=_0x15edb6;_0x6e9de4||this[_0x4f71d3(0x189)]();}),this[_0x15edb6(0x15e)](this[_0x15edb6(0x15c)],_0x15edb6(0x1a1),(_0x288051,_0x39ea32,_0x1ad461)=>{const _0x475152=_0x15edb6;_0x1ad461&&this[_0x475152(0x189)]();}),this[_0x15edb6(0x164)]>0x0&&this[_0x15edb6(0x163)](),this[_0x15edb6(0x15e)](this[_0x15edb6(0x193)][_0x15edb6(0x17c)],_0x15edb6(0x153),()=>{const _0x5ca9e1=_0x15edb6;this[_0x5ca9e1(0x163)]();});}[_0x33c02a(0x19e)](){const _0x4d8dbf=_0x33c02a,_0x3be87e=this[_0x4d8dbf(0x191)];return{'tag':_0x4d8dbf(0x1a2),'attributes':{'class':['ck',_0x4d8dbf(0x181),_0x4d8dbf(0x1a6),_0x4d8dbf(0x178),_0x3be87e['if'](_0x4d8dbf(0x158),_0x4d8dbf(0x18a)),_0x3be87e['if'](_0x4d8dbf(0x187),_0x4d8dbf(0x183)),_0x3be87e['to'](_0x4d8dbf(0x184),_0x4587c7=>_0x4587c7?_0x4d8dbf(0x155)+_0x4587c7:'')],'data-thread-id':this[_0x4d8dbf(0x15c)]['id'],'tabindex':0x0,'role':_0x4d8dbf(0x197),'aria-label':_0x3be87e['to'](_0x4d8dbf(0x173)),'aria-describedby':this[_0x4d8dbf(0x157)]['id']},'children':[{'tag':_0x4d8dbf(0x1a2),'attributes':{'class':_0x4d8dbf(0x18f)},'children':this[_0x4d8dbf(0x174)]}]};}[_0x33c02a(0x171)](){const _0x2f544f=_0x33c02a;super[_0x2f544f(0x171)](),this[_0x2f544f(0x19d)]=this[_0x2f544f(0x156)][_0x2f544f(0x165)](_0x2f544f(0x170)),this[_0x2f544f(0x15c)]['on'](_0x2f544f(0x14f),()=>{const _0x37adbc=_0x2f544f;this[_0x37adbc(0x18e)]();}),this[_0x2f544f(0x18e)]();}[_0x33c02a(0x189)](){const _0x2cf9a6=_0x33c02a;this[_0x2cf9a6(0x17f)]();for(const _0x47c967 of this[_0x2cf9a6(0x193)][_0x2cf9a6(0x17c)])_0x47c967[_0x2cf9a6(0x17f)]();}[_0x33c02a(0x163)](){const _0x49a9bb=_0x33c02a,{locale:_0xc019a4}=this,_0x146d27=this[_0x49a9bb(0x193)][_0x49a9bb(0x17c)][_0x49a9bb(0x17d)](0x0);_0x146d27===this[_0x49a9bb(0x198)]||_0x146d27[_0x49a9bb(0x16b)]||(this[_0x49a9bb(0x198)]=_0x146d27,this[_0x49a9bb(0x1a5)](_0x49a9bb(0x184)),this[_0x49a9bb(0x151)](_0x49a9bb(0x184))['to'](_0x146d27,_0x49a9bb(0x184),_0x2c2738=>_0x49a9bb(0x16f)===_0x2c2738?_0x49a9bb(0x16f):null),_0x146d27[_0x49a9bb(0x18b)]=_0x1eeaf2(_0xc019a4,_0x49a9bb(0x176)),_0x146d27[_0x49a9bb(0x196)]['on'](_0x49a9bb(0x186),_0x5e0791=>{const _0x495e5c=_0x49a9bb;_0x5e0791[_0x495e5c(0x16c)](),this[_0x495e5c(0x190)](_0x1eeaf2(_0xc019a4,_0x495e5c(0x19a)),this[_0x495e5c(0x19d)])[_0x495e5c(0x18d)](()=>{const _0x2a7444=_0x495e5c;this[_0x2a7444(0x168)](_0x2a7444(0x185));});},{'priority':_0x49a9bb(0x161)}),this['on'](_0x49a9bb(0x166),()=>{const _0x55cb32=_0x49a9bb;_0x146d27[_0x55cb32(0x16a)]();}),_0x146d27[_0x49a9bb(0x179)][_0x49a9bb(0x153)](this[_0x49a9bb(0x19f)],0x0),_0x146d27[_0x49a9bb(0x17b)][_0x49a9bb(0x153)](this[_0x49a9bb(0x19f)],0x0));}[_0x33c02a(0x15b)](){const _0x25560b=_0x33c02a,_0x147fc7=new _0x3eae52(this[_0x25560b(0x16e)]);return _0x147fc7[_0x25560b(0x152)]=_0x1eeaf2(this[_0x25560b(0x16e)],_0x25560b(0x180)),_0x147fc7[_0x25560b(0x1a4)]=_0x1eeaf2(this[_0x25560b(0x16e)],_0x25560b(0x180)),_0x147fc7[_0x25560b(0x194)]=_0x39707b,_0x147fc7[_0x25560b(0x19c)]({'attributes':{'class':_0x25560b(0x169)}}),_0x147fc7[_0x25560b(0x151)](_0x25560b(0x15d))['to'](this[_0x25560b(0x15c)],_0x25560b(0x195),_0x143c2c=>!_0x143c2c),_0x147fc7[_0x25560b(0x151)](_0x25560b(0x192))['to'](this[_0x25560b(0x15c)],_0x25560b(0x16d),this[_0x25560b(0x15c)],_0x25560b(0x177),(_0x5d7648,_0x44fd01)=>_0x5d7648&&!_0x44fd01),_0x147fc7['on'](_0x25560b(0x186),()=>{const _0x10b51f=_0x25560b;this[_0x10b51f(0x168)](_0x10b51f(0x154),this[_0x10b51f(0x15c)]['id']);}),_0x147fc7;}[_0x33c02a(0x18e)](){const _0x51f8b2=_0x33c02a;this[_0x51f8b2(0x15c)][_0x51f8b2(0x175)]?this[_0x51f8b2(0x174)][_0x51f8b2(0x188)](this[_0x51f8b2(0x15f)])||(this[_0x51f8b2(0x174)][_0x51f8b2(0x153)](this[_0x51f8b2(0x15f)],0x0),this[_0x51f8b2(0x17b)][_0x51f8b2(0x153)](this[_0x51f8b2(0x15f)],0x0)):this[_0x51f8b2(0x174)][_0x51f8b2(0x188)](this[_0x51f8b2(0x15f)])&&(this[_0x51f8b2(0x174)][_0x51f8b2(0x16f)](this[_0x51f8b2(0x15f)]),this[_0x51f8b2(0x17b)][_0x51f8b2(0x16f)](this[_0x51f8b2(0x15f)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1a00ac=_0x49de;(function(_0x2f2b,_0x9b19f7){const _0xce9aa0=_0x49de,_0x261ab9=_0x2f2b();while(!![]){try{const _0x373a9a=-parseInt(_0xce9aa0(0x171))/0x1*(-parseInt(_0xce9aa0(0x1ce))/0x2)+-parseInt(_0xce9aa0(0x1c7))/0x3*(parseInt(_0xce9aa0(0x1bd))/0x4)+parseInt(_0xce9aa0(0x1b0))/0x5+parseInt(_0xce9aa0(0x178))/0x6+-parseInt(_0xce9aa0(0x1d8))/0x7*(parseInt(_0xce9aa0(0x172))/0x8)+parseInt(_0xce9aa0(0x1a9))/0x9*(-parseInt(_0xce9aa0(0x1a8))/0xa)+parseInt(_0xce9aa0(0x1d4))/0xb;if(_0x373a9a===_0x9b19f7)break;else _0x261ab9['push'](_0x261ab9['shift']());}catch(_0x2e6308){_0x261ab9['push'](_0x261ab9['shift']());}}}(_0xb72d,0x2f2ef));import{IconRemoveComment as _0x5bfd70,IconPencil as _0xee05c3,IconThreeVerticalDots as _0x5f574d}from'ckeditor5/src/icons.js';import{ButtonView as _0x131926,createDropdown as _0x1563eb,ListView as _0x26908b,ListItemView as _0x47463c,focusChildOnDropdownOpen as _0x1dbd18}from'ckeditor5/src/ui.js';function _0x49de(_0x3627c5,_0x3218ea){const _0xb72ddf=_0xb72d();return _0x49de=function(_0x49defd,_0xaf4f57){_0x49defd=_0x49defd-0x16b;let _0x4f43f9=_0xb72ddf[_0x49defd];return _0x4f43f9;},_0x49de(_0x3627c5,_0x3218ea);}import{UserView as _0x3f1f16,ConfirmMixin as _0x4a2f87,LateFocusDropdownButtonView as _0x2b6b8e}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x3387a2}from'./basecommentview.js';import{getTranslation as _0x187b77}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4a2f87(_0x3387a2){[_0x1a00ac(0x1b8)];[_0x1a00ac(0x1d9)];constructor(_0x4db17e,_0x149b53,_0x4ed5fc){const _0x5afbbf=_0x1a00ac;super(_0x4db17e,_0x149b53,_0x4ed5fc),this[_0x5afbbf(0x1c9)](_0x5afbbf(0x1c6),null),this[_0x5afbbf(0x1c9)](_0x5afbbf(0x184),_0x187b77(_0x4db17e,_0x5afbbf(0x18a))),this[_0x5afbbf(0x1d5)](_0x5afbbf(0x16d))['to'](_0x149b53),this[_0x5afbbf(0x1d5)](_0x5afbbf(0x182))['to'](_0x149b53),this[_0x5afbbf(0x1b8)]=this[_0x5afbbf(0x1cd)](),this[_0x5afbbf(0x199)]||(this[_0x5afbbf(0x192)]=this[_0x5afbbf(0x1cf)](),this[_0x5afbbf(0x16f)]=this[_0x5afbbf(0x1a4)](),this[_0x5afbbf(0x19b)]=this[_0x5afbbf(0x1cd)](),this[_0x5afbbf(0x19b)][_0x5afbbf(0x1b5)]([this[_0x5afbbf(0x192)],this[_0x5afbbf(0x16f)]]),this[_0x5afbbf(0x194)]=this[_0x5afbbf(0x183)](),this[_0x5afbbf(0x1b8)][_0x5afbbf(0x1b4)](this[_0x5afbbf(0x194)]),this[_0x5afbbf(0x176)][_0x5afbbf(0x1b4)](this[_0x5afbbf(0x194)])),this[_0x5afbbf(0x1d9)]=new _0x3f1f16(_0x4db17e,_0x149b53[_0x5afbbf(0x1af)],this[_0x5afbbf(0x19a)]()),this[_0x5afbbf(0x1d9)][_0x5afbbf(0x1d3)]({'attributes':{'class':[_0x5afbbf(0x1b9),_0x5afbbf(0x1a6)],'aria-hidden':!0x0}}),this[_0x5afbbf(0x1c8)](_0x149b53,_0x5afbbf(0x177),()=>this[_0x5afbbf(0x1c1)]()),this[_0x5afbbf(0x1e0)](this[_0x5afbbf(0x1ba)]());}[_0x1a00ac(0x1ba)](){const _0x1b27f7=_0x1a00ac,_0x466f35=this[_0x1b27f7(0x1b7)],_0x4b691b=[{'tag':_0x1b27f7(0x17f),'attributes':{'class':[_0x1b27f7(0x193),_0x1b27f7(0x180)]},'children':[{'tag':_0x1b27f7(0x1a0),'children':[{'text':this[_0x1b27f7(0x1d9)][_0x1b27f7(0x17e)]}],'attributes':{'class':[_0x1b27f7(0x175),_0x1b27f7(0x1d6)],'data-cke-tooltip-text':this[_0x1b27f7(0x1d9)][_0x1b27f7(0x17e)]}},{'tag':_0x1b27f7(0x1b3),'attributes':{'datetime':_0x466f35['to'](_0x1b27f7(0x16d)),'class':[_0x1b27f7(0x1da),_0x1b27f7(0x18c)]},'children':[{'text':_0x466f35['to'](_0x1b27f7(0x16d),_0x169968=>this[_0x1b27f7(0x19d)][_0x1b27f7(0x1b2)](_0x169968))}]}]},{'tag':_0x1b27f7(0x17f),'attributes':{'class':[_0x1b27f7(0x181),_0x1b27f7(0x1c2),_0x466f35['if'](_0x1b27f7(0x18e),_0x1b27f7(0x1e1)),_0x466f35['if'](_0x1b27f7(0x18e),_0x1b27f7(0x1b1))]},'children':this[_0x1b27f7(0x1b8)]},{'tag':_0x1b27f7(0x17f),'attributes':{'class':[_0x1b27f7(0x1ae)]},'children':this[_0x1b27f7(0x1aa)]},this[_0x1b27f7(0x179)]];return this[_0x1b27f7(0x17d)][_0x1b27f7(0x1db)]&&_0x4b691b[_0x1b27f7(0x173)]({'tag':_0x1b27f7(0x17f),'attributes':{'class':[_0x1b27f7(0x1a5)]},'children':[{'text':this[_0x1b27f7(0x1c3)]()}]}),{'tag':'li','attributes':{'class':[_0x1b27f7(0x1dd)],'tabindex':-0x1,'aria-label':_0x466f35['to'](_0x1b27f7(0x16b)),'aria-describedby':this[_0x1b27f7(0x179)]['id'],'role':_0x1b27f7(0x19c)},'children':[{'tag':_0x1b27f7(0x17f),'attributes':{'class':[_0x1b27f7(0x16e),_0x1b27f7(0x1b6),_0x466f35['if'](_0x1b27f7(0x18e),_0x1b27f7(0x190)),_0x466f35['if'](_0x1b27f7(0x199),_0x1b27f7(0x170)),_0x466f35['to'](_0x1b27f7(0x1c6),_0x4d5ea3=>_0x4d5ea3?_0x1b27f7(0x1bf)+_0x4d5ea3:'')],'data-author-id':this[_0x1b27f7(0x17d)][_0x1b27f7(0x1af)]['id'],'data-comment-id':this[_0x1b27f7(0x17d)]['id'],'role':_0x1b27f7(0x1ad)},'children':[this[_0x1b27f7(0x1d9)],{'tag':_0x1b27f7(0x17f),'attributes':{'class':[_0x1b27f7(0x1a7),_0x1b27f7(0x1bc)]},'children':_0x4b691b}]}]};}[_0x1a00ac(0x1cf)](){const _0x5f2a3b=_0x1a00ac,_0x170d03=new _0x131926(this[_0x5f2a3b(0x1cb)]);return _0x170d03[_0x5f2a3b(0x19f)]=_0x187b77(this[_0x5f2a3b(0x1cb)],_0x5f2a3b(0x198)),_0x170d03[_0x5f2a3b(0x185)]=_0xee05c3,_0x170d03[_0x5f2a3b(0x189)]=!0x0,_0x170d03[_0x5f2a3b(0x1d3)]({'attributes':{'class':_0x5f2a3b(0x190)}}),_0x170d03[_0x5f2a3b(0x1d5)](_0x5f2a3b(0x16c))['to'](this[_0x5f2a3b(0x17d)],_0x5f2a3b(0x17a),_0x5a7698=>!_0x5a7698),_0x170d03[_0x5f2a3b(0x1d5)](_0x5f2a3b(0x1ca))['to'](this[_0x5f2a3b(0x17d)],_0x5f2a3b(0x18b)),_0x170d03['on'](_0x5f2a3b(0x17c),()=>this[_0x5f2a3b(0x1a2)]()),_0x170d03;}[_0x1a00ac(0x1a4)](){const _0x3cf8f3=_0x1a00ac,_0x2d0227=new _0x131926(this[_0x3cf8f3(0x1cb)]);return _0x2d0227[_0x3cf8f3(0x19f)]=_0x187b77(this[_0x3cf8f3(0x1cb)],_0x3cf8f3(0x17b)),_0x2d0227[_0x3cf8f3(0x185)]=_0x5bfd70,_0x2d0227[_0x3cf8f3(0x189)]=!0x0,_0x2d0227[_0x3cf8f3(0x1d3)]({'attributes':{'class':_0x3cf8f3(0x1ab)}}),_0x2d0227[_0x3cf8f3(0x1d5)](_0x3cf8f3(0x16c))['to'](this[_0x3cf8f3(0x17d)],_0x3cf8f3(0x17a),_0x42cf6c=>!_0x42cf6c),_0x2d0227[_0x3cf8f3(0x1d5)](_0x3cf8f3(0x1ca))['to'](this[_0x3cf8f3(0x17d)],_0x3cf8f3(0x1de)),_0x2d0227['on'](_0x3cf8f3(0x17c),()=>{const _0x4822b3=_0x3cf8f3;this[_0x4822b3(0x195)](_0x187b77(this[_0x4822b3(0x1cb)],_0x4822b3(0x18f)),this[_0x4822b3(0x1c0)])[_0x4822b3(0x1e2)](()=>{const _0x544426=_0x4822b3;this[_0x544426(0x1c4)](_0x544426(0x1d0),this[_0x544426(0x17d)]['id']);});}),_0x2d0227;}[_0x1a00ac(0x183)](){const _0x2969e0=_0x1a00ac,_0x30a86=_0x1563eb(this[_0x2969e0(0x1cb)],_0x2b6b8e),_0x125f45=_0x30a86[_0x2969e0(0x18d)][_0x2969e0(0x191)],_0x2b2ebd=new _0x26908b(this[_0x2969e0(0x1cb)]),_0x4c8d77=_0x30a86[_0x2969e0(0x1b7)];_0x1dbd18(_0x30a86,()=>this[_0x2969e0(0x19b)][_0x2969e0(0x186)](_0x14d2ca=>_0x14d2ca[_0x2969e0(0x1ca)])),_0x30a86[_0x2969e0(0x1d3)]({'attributes':{'class':[_0x4c8d77['if'](_0x2969e0(0x1ca),_0x2969e0(0x174),_0x24b7d1=>!_0x24b7d1)]}});const _0x553301=(_0x15fa47,_0x8d5432=-0x1)=>{const _0x3180ad=_0x2969e0,_0x830165=new _0x47463c(this[_0x3180ad(0x1cb)]);_0x830165[_0x3180ad(0x191)][_0x3180ad(0x1b4)](_0x15fa47);const _0x1d11e5=_0x8d5432>-0x1?_0x8d5432:_0x2b2ebd[_0x3180ad(0x19b)][_0x3180ad(0x187)];_0x2b2ebd[_0x3180ad(0x19b)][_0x3180ad(0x1b4)](_0x830165,_0x1d11e5);const _0x181b76=Array[_0x3180ad(0x188)](this[_0x3180ad(0x19b)]);_0x30a86[_0x3180ad(0x1ac)](_0x3180ad(0x16c),_0x3180ad(0x1ca)),_0x30a86[_0x3180ad(0x1d5)](_0x3180ad(0x16c))[_0x3180ad(0x19e)](_0x181b76,_0x3180ad(0x16c),(..._0x4fd005)=>_0x4fd005[_0x3180ad(0x196)](_0x449f2c=>_0x449f2c)),_0x30a86[_0x3180ad(0x1d5)](_0x3180ad(0x1ca))[_0x3180ad(0x19e)](_0x181b76,_0x3180ad(0x1ca),(..._0x32dc10)=>_0x32dc10[_0x3180ad(0x196)](_0x50d074=>_0x50d074));};_0x30a86[_0x2969e0(0x197)]='sw',_0x30a86[_0x2969e0(0x1a1)][_0x2969e0(0x1c9)]({'label':_0x187b77(this[_0x2969e0(0x1cb)],_0x2969e0(0x1dc)),'icon':_0x5f574d});for(const _0x2ab841 of this[_0x2969e0(0x19b)])_0x553301(_0x2ab841);return _0x125f45[_0x2969e0(0x1b4)](_0x2b2ebd),_0x30a86[_0x2969e0(0x1c8)](this[_0x2969e0(0x19b)],_0x2969e0(0x1b4),(_0x22001f,_0x81ce7a,_0x1c280c)=>{_0x553301(_0x81ce7a,_0x1c280c);}),_0x30a86[_0x2969e0(0x1c8)](this[_0x2969e0(0x19b)],_0x2969e0(0x1d2),(_0x269dc6,_0x16909a,_0x1c2dbc)=>{const _0x109065=_0x2969e0;_0x2b2ebd[_0x109065(0x19b)][_0x109065(0x1d2)](_0x1c2dbc);}),_0x30a86;}[_0x1a00ac(0x1be)](_0x2ed0de,_0x5961e2){const _0x59bb7e=_0x1a00ac,_0x3b8808=_0x2ed0de&&_0x2ed0de[_0x59bb7e(0x1c0)];_0x3b8808&&(this[_0x59bb7e(0x1c8)](_0x3b8808,_0x59bb7e(0x1df),()=>this[_0x59bb7e(0x1c6)]=_0x5961e2),this[_0x59bb7e(0x1c8)](_0x3b8808,_0x59bb7e(0x1a3),()=>this[_0x59bb7e(0x1c6)]=_0x5961e2),this[_0x59bb7e(0x1c8)](_0x3b8808,_0x59bb7e(0x1bb),()=>this[_0x59bb7e(0x1c6)]=null),this[_0x59bb7e(0x1c8)](_0x3b8808,_0x59bb7e(0x1cc),()=>this[_0x59bb7e(0x1c6)]=null));}[_0x1a00ac(0x1c5)](){const _0x2d6dc3=_0x1a00ac,_0x5d51eb=super[_0x2d6dc3(0x1c5)]();return _0x5d51eb[_0x2d6dc3(0x1d5)](_0x2d6dc3(0x184))['to'](this),_0x5d51eb;}[_0x1a00ac(0x1d1)](){const _0x382085=_0x1a00ac;super[_0x382085(0x1d1)](),this[_0x382085(0x1be)](this[_0x382085(0x192)],_0x382085(0x1d7)),this[_0x382085(0x1be)](this[_0x382085(0x16f)],_0x382085(0x1d2));}}function _0xb72d(){const _0x7aa1a6=['mouseleave','ck-annotation__main','114608PZRAKe','_attachActions','ck-comment--','element','cancelConfirm','ck-annotation__actions','getExternalCommentNote','fire','_createCommentInputView','actionIndicator','39SsAZvc','listenTo','set','isVisible','locale','blur','createCollection','86pMNbLI','_createEditButton','removeComment','render','remove','extendTemplate','1413181tPytsF','bind','ck-annotation__info-name','edit','35cNGUms','userView','ck-comment__info-time','isExternal','Show\x20more\x20items','ck-comment__wrapper','isRemovable','mouseenter','setTemplate','ck-comment__actions--hidden','then','ariaLabel','isEnabled','authoredAt','ck-comment','removeButton','ck-comment--info','6456NBulWk','59576NBNyKj','push','ck-hidden','ck-comment__info-name','focusables','change:isRemovable','897834YIKomq','ariaDescriptionView','isReadOnly','Remove','execute','_model','name','div','ck-annotation__info','ck-comment__actions','resolvedAt','_createDropdown','placeholder','icon','find','length','from','withText','Reply...','isEditable','ck-annotation__info-time','panelView','isEditMode','Delete\x20comment?','ck-comment--edit','children','editButton','ck-comment__info','dropdown','showConfirm','some','panelPosition','Edit','isSystemComment','getUserViewNotificationText','items','listitem','_config','toMany','label','span','buttonView','switchToEditMode','focus','_createRemoveButton','ck-comment__external','ck-annotation__user','ck-comment__main','40dBVozU','628542sMrqYG','visibleView','ck-comment--remove','unbind','group','ck-annotation__content-wrapper','author','1633040ukvDyR','ck-annotation__actions--hidden','formatDateTime','time','add','addMany','ck-annotation','bindTemplate','actionBar','ck-comment__user','getTemplate'];_0xb72d=function(){return _0x7aa1a6;};return _0xb72d();}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x504f38=_0xe09c;function _0xe09c(_0x269c5f,_0x2e8092){var _0x44072d=_0x4407();return _0xe09c=function(_0xe09cc2,_0x1c2229){_0xe09cc2=_0xe09cc2-0xcc;var _0x1bf141=_0x44072d[_0xe09cc2];return _0x1bf141;},_0xe09c(_0x269c5f,_0x2e8092);}(function(_0x40b730,_0xb8c879){var _0x16eca9=_0xe09c,_0x5e1c49=_0x40b730();while(!![]){try{var _0x5dfbc2=parseInt(_0x16eca9(0xd0))/0x1+-parseInt(_0x16eca9(0xce))/0x2*(parseInt(_0x16eca9(0xd5))/0x3)+parseInt(_0x16eca9(0xd1))/0x4+-parseInt(_0x16eca9(0xd3))/0x5*(-parseInt(_0x16eca9(0xcc))/0x6)+-parseInt(_0x16eca9(0xd2))/0x7+-parseInt(_0x16eca9(0xd6))/0x8*(-parseInt(_0x16eca9(0xd8))/0x9)+-parseInt(_0x16eca9(0xd9))/0xa;if(_0x5dfbc2===_0xb8c879)break;else _0x5e1c49['push'](_0x5e1c49['shift']());}catch(_0x57e556){_0x5e1c49['push'](_0x5e1c49['shift']());}}}(_0x4407,0xb3fa7));import{Plugin as _0x569e6a}from'ckeditor5/src/core.js';import{CommentsRepository as _0x2e3892}from'./comments/commentsrepository.js';import{CommentsEditing as _0x44686c}from'./comments/commentsediting.js';import{CommentsUI as _0x4322f4}from'./comments/commentsui.js';import{CommentsOnly as _0x231686}from'./commentsonly.js';import{WideSidebar as _0x53e29b}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x3fe2d6}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x37b0c6}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x27b430}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x54d5ea}from'./comments/commentsarchive.js';export class Comments extends _0x569e6a{static get[_0x504f38(0xd7)](){return[_0x2e3892,_0x44686c,_0x4322f4,_0x54d5ea,_0x27b430,_0x231686,_0x53e29b,_0x3fe2d6,_0x37b0c6];}static get[_0x504f38(0xcd)](){var _0x18bd85=_0x504f38;return _0x18bd85(0xcf);}static get[_0x504f38(0xda)](){return!0x0;}static get[_0x504f38(0xd4)](){return!0x0;}}function _0x4407(){var _0x13d2bd=['374873XnMnCm','3499456MfxEtU','5723655ctOmLe','150xAHCPU','isPremiumPlugin','3ysCWEQ','8dsOkXc','requires','12962853IwXxTd','9367890ytxbjG','isOfficialPlugin','46572AWuQXy','pluginName','862538npsvGo','Comments'];_0x4407=function(){return _0x13d2bd;};return _0x4407();}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41041e=_0x53b6;(function(_0x4601ba,_0xa7a1ac){const _0x2f601b=_0x53b6,_0x38ba08=_0x4601ba();while(!![]){try{const _0x5e5e3b=parseInt(_0x2f601b(0x114))/0x1+-parseInt(_0x2f601b(0x10d))/0x2+parseInt(_0x2f601b(0x127))/0x3+parseInt(_0x2f601b(0x112))/0x4*(-parseInt(_0x2f601b(0x105))/0x5)+parseInt(_0x2f601b(0x106))/0x6*(parseInt(_0x2f601b(0x129))/0x7)+-parseInt(_0x2f601b(0x128))/0x8*(parseInt(_0x2f601b(0x102))/0x9)+-parseInt(_0x2f601b(0x11b))/0xa;if(_0x5e5e3b===_0xa7a1ac)break;else _0x38ba08['push'](_0x38ba08['shift']());}catch(_0x14900e){_0x38ba08['push'](_0x38ba08['shift']());}}}(_0x32e1,0x59c0f));function _0x53b6(_0x5439b8,_0x53dff5){const _0x32e12e=_0x32e1();return _0x53b6=function(_0x53b607,_0x2ee19b){_0x53b607=_0x53b607-0x101;let _0x25c10f=_0x32e12e[_0x53b607];return _0x25c10f;},_0x53b6(_0x5439b8,_0x53dff5);}import{Plugin as _0x509ea6}from'ckeditor5/src/core.js';import{CommentsEditing as _0x5b4dad}from'./comments/commentsediting.js';export class CommentsOnly extends _0x509ea6{static get[_0x41041e(0x120)](){const _0x47316c=_0x41041e;return _0x47316c(0x110);}static get[_0x41041e(0x124)](){return!0x0;}static get[_0x41041e(0x11a)](){return!0x0;}static get[_0x41041e(0x104)](){return[_0x5b4dad];}constructor(_0x235e57){const _0x520c81=_0x41041e;super(_0x235e57),this[_0x520c81(0x116)](_0x520c81(0x11d),!0x1),this['on'](_0x520c81(0x10c),(_0x19cb54,_0x172da1,_0x507047)=>{const _0x54117b=_0x520c81;_0x507047?this[_0x54117b(0x115)]():this[_0x54117b(0x123)]();});}[_0x41041e(0x113)](){const _0xe749e9=_0x41041e;!this[_0xe749e9(0x11d)]&&this[_0xe749e9(0x10b)][_0xe749e9(0x12c)][_0xe749e9(0x117)](_0xe749e9(0x103))&&(this[_0xe749e9(0x11d)]=!0x0);}[_0x41041e(0x115)](){const _0x23b1ff=_0x41041e;for(const [_0x365f69,_0x1563c3]of this[_0x23b1ff(0x10b)][_0x23b1ff(0x108)])_0x1563c3[_0x23b1ff(0x12d)]&&_0x23b1ff(0x12a)!==_0x365f69&&_0x1563c3[_0x23b1ff(0x126)](_0x23b1ff(0x11e));(this[_0x23b1ff(0x10b)][_0x23b1ff(0x118)][_0x23b1ff(0x11c)](_0x23b1ff(0x10f))&&this[_0x23b1ff(0x10b)][_0x23b1ff(0x118)][_0x23b1ff(0x117)](_0x23b1ff(0x10f))[_0x23b1ff(0x126)](_0x23b1ff(0x11e)),this[_0x23b1ff(0x10b)][_0x23b1ff(0x118)][_0x23b1ff(0x11c)](_0x23b1ff(0x111)))&&this[_0x23b1ff(0x10b)][_0x23b1ff(0x118)][_0x23b1ff(0x117)](_0x23b1ff(0x111))[_0x23b1ff(0x126)](_0x23b1ff(0x11e));this[_0x23b1ff(0x10b)][_0x23b1ff(0x108)][_0x23b1ff(0x117)](_0x23b1ff(0x12b))?.[_0x23b1ff(0x126)](_0x23b1ff(0x11e));const _0x2fd9ff=this[_0x23b1ff(0x10b)][_0x23b1ff(0x101)][_0x23b1ff(0x10e)][_0x23b1ff(0x10a)];this[_0x23b1ff(0x109)](_0x2fd9ff,_0x23b1ff(0x122),_0x253f7b=>_0x253f7b[_0x23b1ff(0x11f)](),{'priority':_0x23b1ff(0x121)}),this[_0x23b1ff(0x109)](_0x2fd9ff,_0x23b1ff(0x119),_0x202618=>_0x202618[_0x23b1ff(0x11f)](),{'priority':_0x23b1ff(0x121)}),this[_0x23b1ff(0x109)](_0x2fd9ff,_0x23b1ff(0x107),_0x2bf132=>_0x2bf132[_0x23b1ff(0x11f)](),{'priority':_0x23b1ff(0x121)});}[_0x41041e(0x123)](){const _0xf1fed2=_0x41041e;for(const [_0x322c96,_0x2c313e]of this[_0xf1fed2(0x10b)][_0xf1fed2(0x108)])_0x2c313e[_0xf1fed2(0x12d)]&&_0xf1fed2(0x12a)!==_0x322c96&&_0x2c313e[_0xf1fed2(0x12e)](_0xf1fed2(0x11e));this[_0xf1fed2(0x10b)][_0xf1fed2(0x118)][_0xf1fed2(0x11c)](_0xf1fed2(0x111))&&this[_0xf1fed2(0x10b)][_0xf1fed2(0x118)][_0xf1fed2(0x117)](_0xf1fed2(0x111))[_0xf1fed2(0x12e)](_0xf1fed2(0x11e)),this[_0xf1fed2(0x10b)][_0xf1fed2(0x108)][_0xf1fed2(0x117)](_0xf1fed2(0x12b))?.[_0xf1fed2(0x12e)](_0xf1fed2(0x11e)),this[_0xf1fed2(0x125)](this[_0xf1fed2(0x10b)][_0xf1fed2(0x101)][_0xf1fed2(0x10e)][_0xf1fed2(0x10a)]);}}function _0x32e1(){const _0x483c48=['has','isEnabled','commentsOnlyMode','stop','pluginName','highest','cut','_disableCommentsOnlyMode','isOfficialPlugin','stopListening','forceDisabled','1048986ebZNPG','14584RNTvTa','329CxgaSr','addCommentThread','editSource','config','affectsData','clearForceDisabled','editing','1710LeTmZL','commentsOnly','requires','151530HEaWdx','66414Wwldeg','delete','commands','listenTo','document','editor','change:isEnabled','1311146EWPcSQ','view','DragDrop','CommentsOnly','SourceEditing','8QsryRE','afterInit','638085MlsYDN','_enableCommentsOnlyMode','set','get','plugins','clipboardInput','isPremiumPlugin','778040nOIrDX'];_0x32e1=function(){return _0x483c48;};return _0x32e1();}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x1407c7,_0x18fa26){var _0x55bcf6=_0x2693,_0x59e548=_0x1407c7();while(!![]){try{var _0xb776c8=parseInt(_0x55bcf6(0xfe))/0x1+parseInt(_0x55bcf6(0xfb))/0x2+parseInt(_0x55bcf6(0xfa))/0x3*(parseInt(_0x55bcf6(0xf9))/0x4)+parseInt(_0x55bcf6(0xf6))/0x5*(parseInt(_0x55bcf6(0x101))/0x6)+parseInt(_0x55bcf6(0xfc))/0x7*(parseInt(_0x55bcf6(0xf8))/0x8)+-parseInt(_0x55bcf6(0xff))/0x9*(-parseInt(_0x55bcf6(0x100))/0xa)+-parseInt(_0x55bcf6(0xf7))/0xb*(parseInt(_0x55bcf6(0xfd))/0xc);if(_0xb776c8===_0x18fa26)break;else _0x59e548['push'](_0x59e548['shift']());}catch(_0x20b2a6){_0x59e548['push'](_0x59e548['shift']());}}}(_0x16be,0x63313));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';function _0x2693(_0x288430,_0x99a9a0){var _0x16beee=_0x16be();return _0x2693=function(_0x269384,_0x2c2a60){_0x269384=_0x269384-0xf6;var _0x5e677c=_0x16beee[_0x269384];return _0x5e677c;},_0x2693(_0x288430,_0x99a9a0);}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';function _0x16be(){var _0x4c9d5e=['46522uYrKxp','22288776VkUOaF','40129kKdEiw','5870673yiLzxG','10ybqaCF','60882GPYpjH','335zJWiNS','11zwauVA','152OUaXeQ','4jRQWWE','136125Axbrhh','1439530PdRNsD'];_0x16be=function(){return _0x4c9d5e;};return _0x16be();}export{AnnotationView}from'./annotations/view/annotationview.js';export{AnnotationsSidebarItemView}from'./annotations/view/sidebaritemview.js';export{AnnotationsSidebarView}from'./annotations/view/sidebarview.js';export{BaseCommentView}from'./comments/ui/view/basecommentview.js';export{BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{CommentsListView}from'./comments/ui/view/commentslistview.js';export{CommentView}from'./comments/ui/view/commentview.js';export{CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{AddCommentThreadCommand}from'./comments/addcommentthreadcommand.js';export{CommentsArchive}from'./comments/commentsarchive.js';export{CommentsArchiveUI}from'./comments/commentsarchiveui.js';export{CommentsEditing}from'./comments/commentsediting.js';export{AnnotationCounterButtonView}from'./annotations/view/annotationcounterbuttonview.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x23a44c,_0x2b5561,_0x5c21ef){const t=_0x23a44c['t'];switch(_0x2b5561){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'},_0x5c21ef);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'},_0x5c21ef);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'},_0x5c21ef);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'},_0x5c21ef);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x5c21ef);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'},_0x5c21ef);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'},_0x5c21ef);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'},_0x5c21ef);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});case'COMMENTS_ARCHIVE_LIST_LABEL':return t({'string':'List\x20of\x20comments','id':'COMMENTS_ARCHIVE_LIST_LABEL'});case'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':return t({'string':'Keystrokes\x20for\x20interacting\x20with\x20annotation\x20threads\x20(e.g.\x20comments,\x20track\x20changes\x20suggestions)','id':'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'});case'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':return t({'string':'Move\x20focus\x20to\x20the\x20thread\x20when\x20the\x20selection\x20is\x20anchored\x20in\x20its\x20marker','id':'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'});case'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':return t({'string':'Exit\x20the\x20annotation\x20and\x20move\x20focus\x20back\x20to\x20the\x20edited\x20content','id':'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':return t({'string':'Browse\x20the\x20focused\x20annotation\x20thread\x20or\x20thread\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'});case'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':return t({'string':'Move\x20across\x20internals\x20of\x20the\x20annotation\x20thread','id':'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'});case'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':return t({'string':'Submit\x20the\x20reply\x20while\x20writing\x20a\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':return t({'string':'Move\x20to\x20the\x20previous\x20or\x20next\x20thread\x20in\x20the\x20annotations\x20sidebar\x20or\x20comments\x20archive','id':'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'});default:return'';}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x53401d,_0x1f30ef){const _0x24b7ec=_0xef17,_0x48637a=_0x53401d();while(!![]){try{const _0x3b3332=-parseInt(_0x24b7ec(0x174))/0x1+parseInt(_0x24b7ec(0x172))/0x2*(parseInt(_0x24b7ec(0x16f))/0x3)+-parseInt(_0x24b7ec(0x173))/0x4*(parseInt(_0x24b7ec(0x178))/0x5)+parseInt(_0x24b7ec(0x17d))/0x6*(parseInt(_0x24b7ec(0x16c))/0x7)+-parseInt(_0x24b7ec(0x176))/0x8+parseInt(_0x24b7ec(0x171))/0x9+-parseInt(_0x24b7ec(0x177))/0xa*(parseInt(_0x24b7ec(0x17f))/0xb);if(_0x3b3332===_0x1f30ef)break;else _0x48637a['push'](_0x48637a['shift']());}catch(_0x5e294a){_0x48637a['push'](_0x48637a['shift']());}}}(_0x616e,0xb9046));function _0x616e(){const _0x1a6009=['type','2851672YKukON','10zUJXdK','15nmQnUA','childList','attributes','characterData','observe','50364KQdkCy','cancel','1649252vnINCf','308CCrSkF','attributeName','class','216llpEdE','disconnect','9852273iLJuxg','31660yzfOJu','1353884CeuFJx','324159PpEqHV'];_0x616e=function(){return _0x1a6009;};return _0x616e();}function _0xef17(_0x17ac5b,_0x4dcd1f){const _0x616eb3=_0x616e();return _0xef17=function(_0xef176a,_0x1cc3a1){_0xef176a=_0xef176a-0x16c;let _0x18e271=_0x616eb3[_0xef176a];return _0x18e271;},_0xef17(_0x17ac5b,_0x4dcd1f);}import{throttle as _0x15666d}from'es-toolkit/compat';export function createMutationObserver(_0x27fca7){const _0x21a736=_0x15666d(_0x27fca7,0x1e),_0x11d542=new MutationObserver(_0x2a17b6=>{const _0x2ba84f=_0xef17;for(const _0x502d0e of _0x2a17b6)(_0x2ba84f(0x17a)==_0x502d0e[_0x2ba84f(0x175)]&&_0x2ba84f(0x16e)==_0x502d0e[_0x2ba84f(0x16d)]||_0x2ba84f(0x179)==_0x502d0e[_0x2ba84f(0x175)]||_0x2ba84f(0x17b)==_0x502d0e[_0x2ba84f(0x175)])&&_0x21a736();});return{'attach'(_0x133ad7){const _0x521398=_0xef17;_0x11d542[_0x521398(0x17c)](_0x133ad7,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x5bc3d6=_0xef17;_0x11d542[_0x5bc3d6(0x170)](),_0x21a736[_0x5bc3d6(0x17e)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1d34(){const _0x583401=['4SDWACy','7077825KzwIIZ','7109690KbfRIC','5Efdiaw','249717cWtIJz','755707raRnth','3881516KyfTtw','4815792yMcdun','1049232ZIOTsD','split'];_0x1d34=function(){return _0x583401;};return _0x1d34();}(function(_0x56d197,_0x496bcf){const _0x40da4e=_0xae48,_0x155efe=_0x56d197();while(!![]){try{const _0x151694=parseInt(_0x40da4e(0x7c))/0x1+-parseInt(_0x40da4e(0x81))/0x2*(parseInt(_0x40da4e(0x7b))/0x3)+parseInt(_0x40da4e(0x7d))/0x4*(-parseInt(_0x40da4e(0x7a))/0x5)+parseInt(_0x40da4e(0x7e))/0x6+parseInt(_0x40da4e(0x79))/0x7+-parseInt(_0x40da4e(0x7f))/0x8+-parseInt(_0x40da4e(0x78))/0x9;if(_0x151694===_0x496bcf)break;else _0x155efe['push'](_0x155efe['shift']());}catch(_0x1d6f5e){_0x155efe['push'](_0x155efe['shift']());}}}(_0x1d34,0x7ed95));function _0xae48(_0x2b67d4,_0x349832){const _0x1d340c=_0x1d34();return _0xae48=function(_0xae4827,_0x3960be){_0xae4827=_0xae4827-0x78;let _0x3b1b3f=_0x1d340c[_0xae4827];return _0x3b1b3f;},_0xae48(_0x2b67d4,_0x349832);}export function splitMarkerName(_0x9d7bec){const _0xbdb4a2=_0xae48,_0x148aeb=_0x9d7bec[_0xbdb4a2(0x80)](':');return{'group':_0x148aeb[0x0],'id':_0x148aeb[0x1],'part':_0x148aeb[0x2]};}
|