@ckeditor/ckeditor5-comments 44.2.0-alpha.10 → 44.2.0-alpha.12
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 +9 -9
- 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/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 +17 -17
- 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 +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- 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 _0x510925=_0x3815;(function(_0x303d43,_0x1d8b37){const _0x146e62=_0x3815,_0xd40f29=_0x303d43();while(!![]){try{const _0x260797=parseInt(_0x146e62(0x195))/0x1*(parseInt(_0x146e62(0x171))/0x2)+parseInt(_0x146e62(0x14d))/0x3*(parseInt(_0x146e62(0x163))/0x4)+-parseInt(_0x146e62(0x17c))/0x5+-parseInt(_0x146e62(0x14f))/0x6+-parseInt(_0x146e62(0x182))/0x7*(-parseInt(_0x146e62(0x18a))/0x8)+parseInt(_0x146e62(0x15f))/0x9+-parseInt(_0x146e62(0x19c))/0xa*(parseInt(_0x146e62(0x190))/0xb);if(_0x260797===_0x1d8b37)break;else _0xd40f29['push'](_0xd40f29['shift']());}catch(_0xd8746){_0xd40f29['push'](_0xd40f29['shift']());}}}(_0x3104,0x53a20));import{View as _0x6f6811,FocusCycler as _0x55ca0f}from'ckeditor5/src/ui.js';import{diff as _0x50beac,Collection as _0x15ef1b,FocusTracker as _0x195838,KeystrokeHandler as _0xbf67ab}from'ckeditor5/src/utils.js';import{getTranslation as _0x67a90c}from'../../../utils/common-translations.js';function _0x3815(_0x569d64,_0xf973d3){const _0x3104b1=_0x3104();return _0x3815=function(_0x3815b8,_0x4248ec){_0x3815b8=_0x3815b8-0x14d;let _0x3c2a86=_0x3104b1[_0x3815b8];return _0x3c2a86;},_0x3815(_0x569d64,_0xf973d3);}import _0xc2225f from'./collapsedcommentsview.js';export default class te extends _0x6f6811{constructor(_0x459e31,_0x4e9cf6,_0x5f0e77){const _0x4dce1f=_0x3815;super(_0x459e31);const _0x460e9a=this[_0x4dce1f(0x1a3)];this[_0x4dce1f(0x1a7)](_0x4dce1f(0x191),!0x1),this[_0x4dce1f(0x1a7)](_0x4dce1f(0x180),_0x4e9cf6[_0x4dce1f(0x18d)][_0x4dce1f(0x180)]),this[_0x4dce1f(0x1a7)](_0x4dce1f(0x169),!0x1),this[_0x4dce1f(0x198)]=_0x4e9cf6,this[_0x4dce1f(0x15a)]=_0x5f0e77,this[_0x4dce1f(0x16e)]=this[_0x4dce1f(0x192)](),this[_0x4dce1f(0x17f)]=this[_0x4dce1f(0x192)](),this[_0x4dce1f(0x18e)]=null,this[_0x4dce1f(0x153)]=new _0x195838(),this[_0x4dce1f(0x188)]=new _0xbf67ab(),this[_0x4dce1f(0x16b)]=new _0x55ca0f({'focusables':this[_0x4dce1f(0x16e)],'focusTracker':this[_0x4dce1f(0x153)],'keystrokeHandler':this[_0x4dce1f(0x188)],'keystrokeHandlerOptions':{'filter':_0x516412=>this[_0x4dce1f(0x16e)][_0x4dce1f(0x150)](_0x3f7dcd=>_0x3f7dcd[_0x4dce1f(0x193)])[_0x4dce1f(0x16a)](_0x516412[_0x4dce1f(0x17a)])},'actions':{'focusPrevious':_0x4dce1f(0x189),'focusNext':_0x4dce1f(0x18b)}}),this[_0x4dce1f(0x14e)]=new _0xc2225f(_0x459e31),this[_0x4dce1f(0x14e)][_0x4dce1f(0x152)](_0x4dce1f(0x174))['to'](this,_0x4dce1f(0x180),_0x4a6c53=>_0x4a6c53-this[_0x4dce1f(0x15a)][_0x4dce1f(0x1a8)]);for(const _0x39375b of _0x4e9cf6[_0x4dce1f(0x18d)])this[_0x4dce1f(0x18f)](_0x39375b);this[_0x4dce1f(0x167)](),this[_0x4dce1f(0x162)](_0x4e9cf6[_0x4dce1f(0x18d)],_0x4dce1f(0x196),(_0x1aef83,_0xf01c7e)=>{const _0x3b49ca=_0x4dce1f,_0xdcf672=this[_0x3b49ca(0x155)](_0xf01c7e);this[_0x3b49ca(0x180)]++,this[_0x3b49ca(0x18f)](_0xf01c7e,_0xdcf672),this[_0x3b49ca(0x160)]();}),this[_0x4dce1f(0x162)](_0x4e9cf6[_0x4dce1f(0x18d)],_0x4dce1f(0x18c),(_0x27f39d,_0x399a2c)=>{const _0x255cd3=_0x4dce1f;this[_0x255cd3(0x180)]--,this[_0x255cd3(0x183)](_0x399a2c),this[_0x255cd3(0x160)]();}),this[_0x4dce1f(0x162)](_0x4e9cf6,_0x4dce1f(0x151),()=>this[_0x4dce1f(0x160)]()),this[_0x4dce1f(0x162)](_0x4e9cf6,_0x4dce1f(0x15e),()=>this[_0x4dce1f(0x167)]()),this['on'](_0x4dce1f(0x1ad),()=>this[_0x4dce1f(0x160)]()),this['on'](_0x4dce1f(0x17d),()=>this[_0x4dce1f(0x160)]()),this[_0x4dce1f(0x197)]({'tag':'ul','attributes':{'class':[_0x4dce1f(0x181),_0x460e9a['if'](_0x4dce1f(0x180),_0x4dce1f(0x1a2),_0x5ec868=>!_0x5ec868)],'aria-label':_0x67a90c(_0x459e31,_0x4dce1f(0x19d))},'children':this[_0x4dce1f(0x17f)]});}get[_0x510925(0x185)](){const _0x5e2f34=_0x510925;return this[_0x5e2f34(0x198)][_0x5e2f34(0x173)]>this[_0x5e2f34(0x15a)][_0x5e2f34(0x199)]&&!this[_0x5e2f34(0x169)]&&!this[_0x5e2f34(0x191)];}[_0x510925(0x1a9)](){const _0x32bf37=_0x510925;super[_0x32bf37(0x1a9)](),this[_0x32bf37(0x160)](),this[_0x32bf37(0x17e)]();}[_0x510925(0x19f)](_0xacbc0a){const _0x5d04bb=_0x510925;-0x1===_0xacbc0a?this[_0x5d04bb(0x16b)][_0x5d04bb(0x1ac)]():this[_0x5d04bb(0x16b)][_0x5d04bb(0x164)]();}[_0x510925(0x16c)](){const _0x1caaf7=_0x510925;this[_0x1caaf7(0x14e)][_0x1caaf7(0x16c)]();for(const _0x252db9 of this[_0x1caaf7(0x16e)])_0x252db9[_0x1caaf7(0x16c)]();super[_0x1caaf7(0x16c)]();}[_0x510925(0x160)](){const _0x2a7534=_0x510925;this[_0x2a7534(0x185)]?this[_0x2a7534(0x156)]():this[_0x2a7534(0x15d)]();}[_0x510925(0x18f)](_0x17f1c0,_0x384beb){const _0x5bcf3f=_0x510925,_0x2202c1=new this[(_0x5bcf3f(0x15a))][(_0x5bcf3f(0x1a0))](this[_0x5bcf3f(0x194)],_0x17f1c0,{'maxCommentCharsWhenCollapsed':this[_0x5bcf3f(0x15a)][_0x5bcf3f(0x1a6)],'formatDateTime':this[_0x5bcf3f(0x15a)][_0x5bcf3f(0x172)],'editorConfig':this[_0x5bcf3f(0x15a)][_0x5bcf3f(0x19e)]});_0x2202c1[_0x5bcf3f(0x178)]=_0x17f1c0['id'],_0x2202c1[_0x5bcf3f(0x1ae)](_0x5bcf3f(0x159))['to'](this),_0x2202c1[_0x5bcf3f(0x1ae)](_0x5bcf3f(0x16d))['to'](this),_0x2202c1[_0x5bcf3f(0x1ae)](_0x5bcf3f(0x15c))['to'](this),_0x2202c1[_0x5bcf3f(0x1ae)](_0x5bcf3f(0x19a))['to'](this),_0x2202c1[_0x5bcf3f(0x1ae)](_0x5bcf3f(0x17b))['to'](this),this[_0x5bcf3f(0x162)](_0x2202c1,_0x5bcf3f(0x1a4),()=>this[_0x5bcf3f(0x175)]()),this[_0x5bcf3f(0x16e)][_0x5bcf3f(0x196)](_0x2202c1,_0x384beb);}[_0x510925(0x155)](_0x590a72){const _0x1e7e1e=_0x510925,_0x4e3636=this[_0x1e7e1e(0x198)][_0x1e7e1e(0x1ab)](_0x590a72);return this[_0x1e7e1e(0x18e)]?this[_0x1e7e1e(0x18e)][_0x1e7e1e(0x158)]>_0x590a72[_0x1e7e1e(0x158)]?_0x4e3636-0x1:_0x4e3636:_0x4e3636-0x1;}[_0x510925(0x167)](){const _0x28ba71=_0x510925;if(this[_0x28ba71(0x198)][_0x28ba71(0x161)]&&this[_0x28ba71(0x198)][_0x28ba71(0x184)]){const _0x2196c3={'id':_0x28ba71(0x176),'author':this[_0x28ba71(0x198)][_0x28ba71(0x161)],'authoredAt':this[_0x28ba71(0x198)][_0x28ba71(0x184)],'content':_0x67a90c(this[_0x28ba71(0x194)],_0x28ba71(0x157)),'attributes':{}};this[_0x28ba71(0x18e)]=new this[(_0x28ba71(0x15a))][(_0x28ba71(0x1a0))](this[_0x28ba71(0x194)],_0x2196c3,{'maxCommentCharsWhenCollapsed':this[_0x28ba71(0x15a)][_0x28ba71(0x1a6)],'formatDateTime':this[_0x28ba71(0x15a)][_0x28ba71(0x172)],'editorConfig':this[_0x28ba71(0x15a)][_0x28ba71(0x19e)],'isSystemComment':!0x0}),this[_0x28ba71(0x16e)][_0x28ba71(0x196)](this[_0x28ba71(0x18e)],this[_0x28ba71(0x198)][_0x28ba71(0x1ab)](_0x2196c3));}else this[_0x28ba71(0x18e)]&&(this[_0x28ba71(0x16e)][_0x28ba71(0x18c)](this[_0x28ba71(0x18e)]),this[_0x28ba71(0x18e)][_0x28ba71(0x16c)](),this[_0x28ba71(0x18e)]=null);this[_0x28ba71(0x160)]();}[_0x510925(0x183)](_0x534175){const _0x3ef916=_0x510925,_0x221ddc=this[_0x3ef916(0x16e)][_0x3ef916(0x18c)](_0x534175['id']);this[_0x3ef916(0x166)](_0x221ddc),_0x221ddc[_0x3ef916(0x16f)]&&this[_0x3ef916(0x175)](),_0x221ddc[_0x3ef916(0x16c)]();}[_0x510925(0x175)](){const _0xff1bec=_0x510925;this[_0xff1bec(0x191)]=Array[_0xff1bec(0x168)](this[_0xff1bec(0x16e)])[_0xff1bec(0x19b)](_0x2c11b9=>_0x2c11b9[_0xff1bec(0x16f)]);}[_0x510925(0x156)](){const _0x2ab240=_0x510925,_0x373b90=function(_0x1b1f0d){const _0x38240f=_0x3815,_0x5d8a0d=new _0x15ef1b();for(const _0x4f4341 of _0x1b1f0d)_0x5d8a0d[_0x38240f(0x196)](_0x4f4341);return _0x5d8a0d;}(this[_0x2ab240(0x16e)]),_0x9c004=this[_0x2ab240(0x14e)][_0x2ab240(0x174)];for(let _0x19c3c6=0x1;_0x19c3c6<=_0x9c004;_0x19c3c6++)_0x373b90[_0x2ab240(0x18c)](0x1);for(const _0x2b7b7e of _0x373b90)_0x2b7b7e[_0x2ab240(0x1a5)]();_0x9c004>0x0&&_0x373b90[_0x2ab240(0x196)](this[_0x2ab240(0x14e)],0x1),as(_0x50beac(Array[_0x2ab240(0x168)](this[_0x2ab240(0x17f)]),Array[_0x2ab240(0x168)](_0x373b90)),this[_0x2ab240(0x17f)],_0x373b90);}[_0x510925(0x15d)](){const _0x192c2e=_0x510925;as(_0x50beac(Array[_0x192c2e(0x168)](this[_0x192c2e(0x17f)]),Array[_0x192c2e(0x168)](this[_0x192c2e(0x16e)])),this[_0x192c2e(0x17f)],this[_0x192c2e(0x16e)]);for(const _0x5d751c of this[_0x192c2e(0x17f)])_0x5d751c[_0x192c2e(0x186)]();}[_0x510925(0x17e)](){const _0x1ff950=_0x510925;this[_0x1ff950(0x16e)][_0x1ff950(0x177)](_0x53977b=>{const _0x2434bc=_0x1ff950;this[_0x2434bc(0x153)][_0x2434bc(0x196)](_0x53977b[_0x2434bc(0x193)]),this[_0x2434bc(0x188)][_0x2434bc(0x162)](_0x53977b[_0x2434bc(0x193)]);}),this[_0x1ff950(0x16e)]['on'](_0x1ff950(0x1a1),(_0x644ecf,_0x1e4ecd)=>{const _0x8f8b64=_0x1ff950;for(const _0x3dc953 of _0x1e4ecd[_0x8f8b64(0x165)])this[_0x8f8b64(0x153)][_0x8f8b64(0x18c)](_0x3dc953[_0x8f8b64(0x193)]),this[_0x8f8b64(0x188)][_0x8f8b64(0x166)](_0x3dc953[_0x8f8b64(0x193)]);for(const _0x19b86d of Array[_0x8f8b64(0x168)](_0x1e4ecd[_0x8f8b64(0x170)])[_0x8f8b64(0x1aa)]())this[_0x8f8b64(0x153)][_0x8f8b64(0x196)](_0x19b86d[_0x8f8b64(0x193)]),this[_0x8f8b64(0x188)][_0x8f8b64(0x162)](_0x19b86d[_0x8f8b64(0x193)]);});}}function as(_0x1a4332,_0x27686d,_0x5d4bb7){const _0x5c75df=_0x510925;let _0x1d8795=0x0;for(const _0x548994 of _0x1a4332)switch(_0x548994){case _0x5c75df(0x187):_0x27686d[_0x5c75df(0x196)](_0x5d4bb7[_0x5c75df(0x154)](_0x1d8795),_0x1d8795),_0x1d8795++;break;case _0x5c75df(0x179):_0x27686d[_0x5c75df(0x18c)](_0x1d8795);break;case _0x5c75df(0x15b):_0x1d8795++;}}function _0x3104(){const _0x72cbda=['Thread\x20comments','editorConfig','focus','CommentView','change','ck-hidden','bindTemplate','change:isEditMode','collapse','maxCommentCharsWhenCollapsed','set','maxCommentsWhenCollapsed','render','reverse','_findOptimalIndex','focusLast','change:isActive','delegate','1530381WqEIho','_collapsedCommentsView','420180aNXDTm','map','commentUpdated','bind','focusTracker','get','_calculatePosition','_rearrangeCollapse','Marked\x20as\x20resolved','authoredAt','removeComment','_config','equal','resolveCommentThread','_rearrangeExpand','change:isResolved','4797486ezpyqN','refreshVisibleViews','resolvedBy','listenTo','4rWltqZ','focusFirst','removed','stopListening','_handleInfoComment','from','isActive','includes','focusCycler','destroy','updateComment','commentViews','isEditMode','added','2518mzWDkA','formatDateTime','weight','count','_updateHasDirtyComment','resolved','forEach','viewUid','delete','target','editorDestroyed','2951465tjRvJB','change:hasDirtyComment','_setupKeyboardNavigation','visibleViews','length','ck-thread__comments','5558PRgPPw','_handleRemoveCommentModel','resolvedAt','_shouldCollapse','expand','insert','keystrokes','arrowup','1776XJRDDA','arrowdown','remove','comments','resolvedCommentView','_handleNewCommentModel','8459IpSsfS','hasDirtyComment','createCollection','element','locale','349byBuzc','add','setTemplate','_model','maxThreadTotalWeight','editorReady','some','8530FJpFmU'];_0x3104=function(){return _0x72cbda;};return _0x3104();}
|
|
23
|
+
const _0xa4dccc=_0x20c0;(function(_0x637732,_0x1021a3){const _0x55d978=_0x20c0,_0x41affb=_0x637732();while(!![]){try{const _0x290542=-parseInt(_0x55d978(0x1d5))/0x1*(parseInt(_0x55d978(0x1f2))/0x2)+parseInt(_0x55d978(0x234))/0x3*(parseInt(_0x55d978(0x212))/0x4)+parseInt(_0x55d978(0x20d))/0x5*(parseInt(_0x55d978(0x21d))/0x6)+-parseInt(_0x55d978(0x1d4))/0x7+-parseInt(_0x55d978(0x220))/0x8+parseInt(_0x55d978(0x1dc))/0x9*(-parseInt(_0x55d978(0x223))/0xa)+parseInt(_0x55d978(0x1d9))/0xb*(parseInt(_0x55d978(0x1d6))/0xc);if(_0x290542===_0x1021a3)break;else _0x41affb['push'](_0x41affb['shift']());}catch(_0x5a6b2b){_0x41affb['push'](_0x41affb['shift']());}}}(_0x193f,0xc2319));import{View as _0x10a69c,FocusCycler as _0x5e8888}from'ckeditor5/src/ui.js';import{diff as _0x3195bb,Collection as _0x3dbe42,FocusTracker as _0x3fbfea,KeystrokeHandler as _0x3870e8}from'ckeditor5/src/utils.js';import{getTranslation as _0x570cf7}from'../../../utils/common-translations.js';function _0x20c0(_0x11e8b3,_0x34fba9){const _0x193f18=_0x193f();return _0x20c0=function(_0x20c093,_0x5e280c){_0x20c093=_0x20c093-0x1d3;let _0x5cfac7=_0x193f18[_0x20c093];return _0x5cfac7;},_0x20c0(_0x11e8b3,_0x34fba9);}import _0x2bac93 from'./collapsedcommentsview.js';function _0x193f(){const _0x126023=['ck-hidden','added','commentUpdated','forEach','focusLast','change:isActive','delete','expand','change:hasDirtyComment','formatDateTime','resolvedAt','focusTracker','delegate','map','2626804ThxNkM','remove','ck-thread__comments','removeComment','reverse','some','_updateHasDirtyComment','editorDestroyed','_rearrangeCollapse','_setupKeyboardNavigation','set','commentViews','arrowdown','resolvedBy','includes','maxThreadTotalWeight','listenTo','_rearrangeExpand','add','_handleRemoveCommentModel','focusCycler','collapse','stopListening','Thread\x20comments','_calculatePosition','change:isEditMode','refreshVisibleViews','5VxUyvG','weight','resolvedCommentView','count','length','788asuHtz','hasDirtyComment','keystrokes','arrowup','focusFirst','maxCommentsWhenCollapsed','visibleViews','insert','Marked\x20as\x20resolved','authoredAt','setTemplate','4659114JDVXqm','resolved','focus','10004216SoqtKC','maxCommentCharsWhenCollapsed','locale','10PlbbzX','_findOptimalIndex','target','_model','comments','updateComment','isEditMode','destroy','bind','_handleInfoComment','editorConfig','editorReady','viewUid','removed','equal','_handleNewCommentModel','CommentView','22569qLpbDg','get','isActive','8538978UqNpyH','1XusTbD','12BQnpZA','bindTemplate','render','28556187GaZwQo','createCollection','change','2478303rmXkVZ','from','element','resolveCommentThread','_shouldCollapse','_collapsedCommentsView','change:isResolved','_config'];_0x193f=function(){return _0x126023;};return _0x193f();}export default class te extends _0x10a69c{constructor(_0x2b8352,_0x5cb73a,_0x28bac8){const _0x3ae52e=_0x20c0;super(_0x2b8352);const _0x4de050=this[_0x3ae52e(0x1d7)];this[_0x3ae52e(0x1fc)](_0x3ae52e(0x213),!0x1),this[_0x3ae52e(0x1fc)](_0x3ae52e(0x211),_0x5cb73a[_0x3ae52e(0x227)][_0x3ae52e(0x211)]),this[_0x3ae52e(0x1fc)](_0x3ae52e(0x1d3),!0x1),this[_0x3ae52e(0x226)]=_0x5cb73a,this[_0x3ae52e(0x1e3)]=_0x28bac8,this[_0x3ae52e(0x1fd)]=this[_0x3ae52e(0x1da)](),this[_0x3ae52e(0x218)]=this[_0x3ae52e(0x1da)](),this[_0x3ae52e(0x20f)]=null,this[_0x3ae52e(0x1ef)]=new _0x3fbfea(),this[_0x3ae52e(0x214)]=new _0x3870e8(),this[_0x3ae52e(0x206)]=new _0x5e8888({'focusables':this[_0x3ae52e(0x1fd)],'focusTracker':this[_0x3ae52e(0x1ef)],'keystrokeHandler':this[_0x3ae52e(0x214)],'keystrokeHandlerOptions':{'filter':_0x49aeba=>this[_0x3ae52e(0x1fd)][_0x3ae52e(0x1f1)](_0x548ec6=>_0x548ec6[_0x3ae52e(0x1de)])[_0x3ae52e(0x200)](_0x49aeba[_0x3ae52e(0x225)])},'actions':{'focusPrevious':_0x3ae52e(0x215),'focusNext':_0x3ae52e(0x1fe)}}),this[_0x3ae52e(0x1e1)]=new _0x2bac93(_0x2b8352),this[_0x3ae52e(0x1e1)][_0x3ae52e(0x22b)](_0x3ae52e(0x210))['to'](this,_0x3ae52e(0x211),_0xba47dd=>_0xba47dd-this[_0x3ae52e(0x1e3)][_0x3ae52e(0x217)]);for(const _0x140e23 of _0x5cb73a[_0x3ae52e(0x227)])this[_0x3ae52e(0x232)](_0x140e23);this[_0x3ae52e(0x22c)](),this[_0x3ae52e(0x202)](_0x5cb73a[_0x3ae52e(0x227)],_0x3ae52e(0x204),(_0x4f04e8,_0x401662)=>{const _0x53dc66=_0x3ae52e,_0x127726=this[_0x53dc66(0x20a)](_0x401662);this[_0x53dc66(0x211)]++,this[_0x53dc66(0x232)](_0x401662,_0x127726),this[_0x53dc66(0x20c)]();}),this[_0x3ae52e(0x202)](_0x5cb73a[_0x3ae52e(0x227)],_0x3ae52e(0x1f3),(_0xe791e7,_0x44a3f4)=>{const _0x2965af=_0x3ae52e;this[_0x2965af(0x211)]--,this[_0x2965af(0x205)](_0x44a3f4),this[_0x2965af(0x20c)]();}),this[_0x3ae52e(0x202)](_0x5cb73a,_0x3ae52e(0x1e6),()=>this[_0x3ae52e(0x20c)]()),this[_0x3ae52e(0x202)](_0x5cb73a,_0x3ae52e(0x1e2),()=>this[_0x3ae52e(0x22c)]()),this['on'](_0x3ae52e(0x1e9),()=>this[_0x3ae52e(0x20c)]()),this['on'](_0x3ae52e(0x1ec),()=>this[_0x3ae52e(0x20c)]()),this[_0x3ae52e(0x21c)]({'tag':'ul','attributes':{'class':[_0x3ae52e(0x1f4),_0x4de050['if'](_0x3ae52e(0x211),_0x3ae52e(0x1e4),_0x1f7831=>!_0x1f7831)],'aria-label':_0x570cf7(_0x2b8352,_0x3ae52e(0x209))},'children':this[_0x3ae52e(0x218)]});}get[_0xa4dccc(0x1e0)](){const _0x2da929=_0xa4dccc;return this[_0x2da929(0x226)][_0x2da929(0x20e)]>this[_0x2da929(0x1e3)][_0x2da929(0x201)]&&!this[_0x2da929(0x1d3)]&&!this[_0x2da929(0x213)];}[_0xa4dccc(0x1d8)](){const _0xd163e2=_0xa4dccc;super[_0xd163e2(0x1d8)](),this[_0xd163e2(0x20c)](),this[_0xd163e2(0x1fb)]();}[_0xa4dccc(0x21f)](_0x44b34d){const _0x3ef24c=_0xa4dccc;-0x1===_0x44b34d?this[_0x3ef24c(0x206)][_0x3ef24c(0x1e8)]():this[_0x3ef24c(0x206)][_0x3ef24c(0x216)]();}[_0xa4dccc(0x22a)](){const _0x476dd0=_0xa4dccc;this[_0x476dd0(0x1e1)][_0x476dd0(0x22a)]();for(const _0x271082 of this[_0x476dd0(0x1fd)])_0x271082[_0x476dd0(0x22a)]();super[_0x476dd0(0x22a)]();}[_0xa4dccc(0x20c)](){const _0x1c089e=_0xa4dccc;this[_0x1c089e(0x1e0)]?this[_0x1c089e(0x1fa)]():this[_0x1c089e(0x203)]();}[_0xa4dccc(0x232)](_0x2289c0,_0x25044e){const _0x6429b3=_0xa4dccc,_0x1fd604=new this[(_0x6429b3(0x1e3))][(_0x6429b3(0x233))](this[_0x6429b3(0x222)],_0x2289c0,{'maxCommentCharsWhenCollapsed':this[_0x6429b3(0x1e3)][_0x6429b3(0x221)],'formatDateTime':this[_0x6429b3(0x1e3)][_0x6429b3(0x1ed)],'editorConfig':this[_0x6429b3(0x1e3)][_0x6429b3(0x22d)]});_0x1fd604[_0x6429b3(0x22f)]=_0x2289c0['id'],_0x1fd604[_0x6429b3(0x1f0)](_0x6429b3(0x1f5))['to'](this),_0x1fd604[_0x6429b3(0x1f0)](_0x6429b3(0x228))['to'](this),_0x1fd604[_0x6429b3(0x1f0)](_0x6429b3(0x1df))['to'](this),_0x1fd604[_0x6429b3(0x1f0)](_0x6429b3(0x22e))['to'](this),_0x1fd604[_0x6429b3(0x1f0)](_0x6429b3(0x1f9))['to'](this),this[_0x6429b3(0x202)](_0x1fd604,_0x6429b3(0x20b),()=>this[_0x6429b3(0x1f8)]()),this[_0x6429b3(0x1fd)][_0x6429b3(0x204)](_0x1fd604,_0x25044e);}[_0xa4dccc(0x20a)](_0x2981cc){const _0x3d420f=_0xa4dccc,_0x40de88=this[_0x3d420f(0x226)][_0x3d420f(0x224)](_0x2981cc);return this[_0x3d420f(0x20f)]?this[_0x3d420f(0x20f)][_0x3d420f(0x21b)]>_0x2981cc[_0x3d420f(0x21b)]?_0x40de88-0x1:_0x40de88:_0x40de88-0x1;}[_0xa4dccc(0x22c)](){const _0x33ef25=_0xa4dccc;if(this[_0x33ef25(0x226)][_0x33ef25(0x1ff)]&&this[_0x33ef25(0x226)][_0x33ef25(0x1ee)]){const _0x3bb22c={'id':_0x33ef25(0x21e),'author':this[_0x33ef25(0x226)][_0x33ef25(0x1ff)],'authoredAt':this[_0x33ef25(0x226)][_0x33ef25(0x1ee)],'content':_0x570cf7(this[_0x33ef25(0x222)],_0x33ef25(0x21a)),'attributes':{}};this[_0x33ef25(0x20f)]=new this[(_0x33ef25(0x1e3))][(_0x33ef25(0x233))](this[_0x33ef25(0x222)],_0x3bb22c,{'maxCommentCharsWhenCollapsed':this[_0x33ef25(0x1e3)][_0x33ef25(0x221)],'formatDateTime':this[_0x33ef25(0x1e3)][_0x33ef25(0x1ed)],'editorConfig':this[_0x33ef25(0x1e3)][_0x33ef25(0x22d)],'isSystemComment':!0x0}),this[_0x33ef25(0x1fd)][_0x33ef25(0x204)](this[_0x33ef25(0x20f)],this[_0x33ef25(0x226)][_0x33ef25(0x224)](_0x3bb22c));}else this[_0x33ef25(0x20f)]&&(this[_0x33ef25(0x1fd)][_0x33ef25(0x1f3)](this[_0x33ef25(0x20f)]),this[_0x33ef25(0x20f)][_0x33ef25(0x22a)](),this[_0x33ef25(0x20f)]=null);this[_0x33ef25(0x20c)]();}[_0xa4dccc(0x205)](_0x276df4){const _0x4fb54d=_0xa4dccc,_0x388c5c=this[_0x4fb54d(0x1fd)][_0x4fb54d(0x1f3)](_0x276df4['id']);this[_0x4fb54d(0x208)](_0x388c5c),_0x388c5c[_0x4fb54d(0x229)]&&this[_0x4fb54d(0x1f8)](),_0x388c5c[_0x4fb54d(0x22a)]();}[_0xa4dccc(0x1f8)](){const _0x2a3e23=_0xa4dccc;this[_0x2a3e23(0x213)]=Array[_0x2a3e23(0x1dd)](this[_0x2a3e23(0x1fd)])[_0x2a3e23(0x1f7)](_0x53c4b6=>_0x53c4b6[_0x2a3e23(0x229)]);}[_0xa4dccc(0x1fa)](){const _0x183679=_0xa4dccc,_0xbebc52=function(_0x54ad71){const _0x188f65=_0x20c0,_0x5767eb=new _0x3dbe42();for(const _0x30e971 of _0x54ad71)_0x5767eb[_0x188f65(0x204)](_0x30e971);return _0x5767eb;}(this[_0x183679(0x1fd)]),_0x166e22=this[_0x183679(0x1e1)][_0x183679(0x210)];for(let _0x1b5fde=0x1;_0x1b5fde<=_0x166e22;_0x1b5fde++)_0xbebc52[_0x183679(0x1f3)](0x1);for(const _0x57f090 of _0xbebc52)_0x57f090[_0x183679(0x207)]();_0x166e22>0x0&&_0xbebc52[_0x183679(0x204)](this[_0x183679(0x1e1)],0x1),as(_0x3195bb(Array[_0x183679(0x1dd)](this[_0x183679(0x218)]),Array[_0x183679(0x1dd)](_0xbebc52)),this[_0x183679(0x218)],_0xbebc52);}[_0xa4dccc(0x203)](){const _0x1f0ff8=_0xa4dccc;as(_0x3195bb(Array[_0x1f0ff8(0x1dd)](this[_0x1f0ff8(0x218)]),Array[_0x1f0ff8(0x1dd)](this[_0x1f0ff8(0x1fd)])),this[_0x1f0ff8(0x218)],this[_0x1f0ff8(0x1fd)]);for(const _0x5771f6 of this[_0x1f0ff8(0x218)])_0x5771f6[_0x1f0ff8(0x1eb)]();}[_0xa4dccc(0x1fb)](){const _0x52a2f1=_0xa4dccc;this[_0x52a2f1(0x1fd)][_0x52a2f1(0x1e7)](_0x2914bf=>{const _0x51923d=_0x52a2f1;this[_0x51923d(0x1ef)][_0x51923d(0x204)](_0x2914bf[_0x51923d(0x1de)]),this[_0x51923d(0x214)][_0x51923d(0x202)](_0x2914bf[_0x51923d(0x1de)]);}),this[_0x52a2f1(0x1fd)]['on'](_0x52a2f1(0x1db),(_0x503145,_0x52b242)=>{const _0x599570=_0x52a2f1;for(const _0x51bb11 of _0x52b242[_0x599570(0x230)])this[_0x599570(0x1ef)][_0x599570(0x1f3)](_0x51bb11[_0x599570(0x1de)]),this[_0x599570(0x214)][_0x599570(0x208)](_0x51bb11[_0x599570(0x1de)]);for(const _0x4e19b1 of Array[_0x599570(0x1dd)](_0x52b242[_0x599570(0x1e5)])[_0x599570(0x1f6)]())this[_0x599570(0x1ef)][_0x599570(0x204)](_0x4e19b1[_0x599570(0x1de)]),this[_0x599570(0x214)][_0x599570(0x202)](_0x4e19b1[_0x599570(0x1de)]);});}}function as(_0x5d467b,_0x5a4380,_0x5779a7){const _0x387bff=_0xa4dccc;let _0x219431=0x0;for(const _0x523ec2 of _0x5d467b)switch(_0x523ec2){case _0x387bff(0x219):_0x5a4380[_0x387bff(0x204)](_0x5779a7[_0x387bff(0x235)](_0x219431),_0x219431),_0x219431++;break;case _0x387bff(0x1ea):_0x5a4380[_0x387bff(0x1f3)](_0x219431);break;case _0x387bff(0x231):_0x219431++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x557ad6=_0x42e5;(function(_0x595739,_0x4c6abc){const _0xf319a9=_0x42e5,_0x3e31c8=_0x595739();while(!![]){try{const _0x4c71c3=-parseInt(_0xf319a9(0xf2))/0x1+parseInt(_0xf319a9(0xf3))/0x2*(parseInt(_0xf319a9(0xfc))/0x3)+parseInt(_0xf319a9(0xf6))/0x4*(-parseInt(_0xf319a9(0xfa))/0x5)+-parseInt(_0xf319a9(0xf8))/0x6*(parseInt(_0xf319a9(0xef))/0x7)+parseInt(_0xf319a9(0xec))/0x8+parseInt(_0xf319a9(0xfb))/0x9+parseInt(_0xf319a9(0xf4))/0xa*(parseInt(_0xf319a9(0xee))/0xb);if(_0x4c71c3===_0x4c6abc)break;else _0x3e31c8['push'](_0x3e31c8['shift']());}catch(_0x1f0e36){_0x3e31c8['push'](_0x3e31c8['shift']());}}}(_0x18fb,0xd6899));function _0x18fb(){const _0x17eb71=['bindTemplate','1349857kUeWiD','18gthseg','32540FhqNVj','span','1441448uPJhcS','element','84GoKxkk','set','20CSraLX','6106122ncDyQg','515100SgLCku','THREAD_CONTEXT_LABEL','focus','contextValue','7025616ViFWOP','setTemplate','3641pDevHd','254492BHpmdv','ck-context__value'];_0x18fb=function(){return _0x17eb71;};return _0x18fb();}function _0x42e5(_0x4d25a1,_0x51558d){const _0x18fb4f=_0x18fb();return _0x42e5=function(_0x42e567,_0x4acf69){_0x42e567=_0x42e567-0xeb;let _0x46ef83=_0x18fb4f[_0x42e567];return _0x46ef83;},_0x42e5(_0x4d25a1,_0x51558d);}import{View as _0x14e006}from'ckeditor5/src/ui.js';import{getTranslation as _0xa9310d}from'../../../utils/common-translations.js';export default class ls extends _0x14e006{constructor(_0x28a18c){const _0x130b21=_0x42e5;super(_0x28a18c);const _0x4691b3=this[_0x130b21(0xf1)];this[_0x130b21(0xf9)](_0x130b21(0xeb),''),this[_0x130b21(0xed)]({'tag':_0x130b21(0xf5),'attributes':{'class':['ck',_0x130b21(0xf0)],'aria-label':_0x4691b3['to'](_0x130b21(0xeb),_0x17179d=>_0xa9310d(_0x28a18c,_0x130b21(0xfd),_0x17179d)),'tabindex':-0x1},'children':[{'text':_0x4691b3['to'](_0x130b21(0xeb))}]});}[_0x557ad6(0xfe)](){const _0x28af07=_0x557ad6;this[_0x28af07(0xf7)][_0x28af07(0xfe)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3b1ccb=_0x7b3f;function _0x7b3f(_0xe0a091,_0x3bf450){const _0x45ea51=_0x45ea();return _0x7b3f=function(_0x7b3f4f,_0x937227){_0x7b3f4f=_0x7b3f4f-0x14f;let _0x532670=_0x45ea51[_0x7b3f4f];return _0x532670;},_0x7b3f(_0xe0a091,_0x3bf450);}(function(_0x226f98,_0x31a3bd){const _0x2a858b=_0x7b3f,_0x4ff03f=_0x226f98();while(!![]){try{const _0x5cba83=parseInt(_0x2a858b(0x189))/0x1+parseInt(_0x2a858b(0x183))/0x2+-parseInt(_0x2a858b(0x18b))/0x3+-parseInt(_0x2a858b(0x177))/0x4+-parseInt(_0x2a858b(0x170))/0x5+parseInt(_0x2a858b(0x182))/0x6*(-parseInt(_0x2a858b(0x167))/0x7)+parseInt(_0x2a858b(0x16b))/0x8;if(_0x5cba83===_0x31a3bd)break;else _0x4ff03f['push'](_0x4ff03f['shift']());}catch(_0x4efe63){_0x4ff03f['push'](_0x4ff03f['shift']());}}}(_0x45ea,0x75cb4));import{View as _0x45ad3f,ButtonView as _0x29a3fc,FocusCycler as _0x24fc97}from'ckeditor5/src/ui.js';import{FocusTracker as _0x44c667,KeystrokeHandler as _0x144d9e}from'ckeditor5/src/utils.js';import{getTranslation as _0x27f35c}from'../../../utils/common-translations.js';function _0x45ea(){const _0x5e52bb=['reopenButtonView','keystrokes','context','.ck-context','querySelector','bind','...','substring','fire','_setupKeyboardNavigation','tab','shift+tab','_attachContextActions','.ck-context__value','locale','_trimContextValue','isVisible','setTemplate','offsetWidth','render','contextView','4940733ppOthI','_model','isReadOnly','value','14714496OmGumw','ck-context','listenTo','label','focusables','3472245DvIrTo','Comment\x20was\x20made\x20on\x20an\x20element','classList','overlay','_createReopenButton','isEnabled','ck-context-wrapper','2495620xmIeNi','tooltip','isResolvable','isResolved','length','bindTemplate','focus','Reopen','createCollection','lastIndexOf','reopenCommentThread','6ytPipl','900750waVPud','execute','contextValue','element','hasContext','ck-annotation__actions','791972PiNHYw','mouseleave','1725006qFgSNC','_createContextView','ck-context--quotes','focusTracker','focusCycler','remove','add','mouseenter','ck-thread__header','scrollWidth','icon','div','focusFirst'];_0x45ea=function(){return _0x5e52bb;};return _0x45ea();}import _0x6dd08f from'../../../../theme/icons/undo.svg';import _0x3a5a65 from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export default class Zt extends _0x45ad3f{constructor(_0x2ceed1,_0x10f16a){const _0x1282ec=_0x7b3f;super(_0x2ceed1);const _0x1da33c=this[_0x1282ec(0x17c)];this[_0x1282ec(0x168)]=_0x10f16a,this[_0x1282ec(0x152)]=this[_0x1282ec(0x174)](),this[_0x1282ec(0x166)]=this[_0x1282ec(0x18c)](),this[_0x1282ec(0x16f)]=this[_0x1282ec(0x17f)]([this[_0x1282ec(0x166)],this[_0x1282ec(0x152)]]),this[_0x1282ec(0x18e)]=new _0x44c667(),this[_0x1282ec(0x153)]=new _0x144d9e(),this[_0x1282ec(0x18f)]=new _0x24fc97({'focusables':this[_0x1282ec(0x16f)],'focusTracker':this[_0x1282ec(0x18e)],'keystrokeHandler':this[_0x1282ec(0x153)],'actions':{'focusPrevious':_0x1282ec(0x15d),'focusNext':_0x1282ec(0x15c)}}),this[_0x1282ec(0x157)](_0x1282ec(0x187))['to'](this[_0x1282ec(0x168)],_0x1282ec(0x154),_0x5ed006=>!!_0x5ed006),this[_0x1282ec(0x157)](_0x1282ec(0x185))['to'](this[_0x1282ec(0x168)],_0x1282ec(0x154),_0x3ff275=>_0x3ff275&&_0x3ff275[_0x1282ec(0x16a)]?this[_0x1282ec(0x161)](_0x3ff275[_0x1282ec(0x16a)]):_0x27f35c(this[_0x1282ec(0x160)],_0x1282ec(0x171))),this[_0x1282ec(0x163)]({'tag':_0x1282ec(0x150),'attributes':{'class':[_0x1282ec(0x193)]},'children':[{'tag':_0x1282ec(0x150),'attributes':{'class':[_0x1282ec(0x176)]},'children':[{'tag':_0x1282ec(0x150),'attributes':{'class':[_0x1282ec(0x16c),_0x1da33c['if'](_0x1282ec(0x187),_0x1282ec(0x18d))]},'children':[this[_0x1282ec(0x166)]]}]},{'tag':_0x1282ec(0x150),'attributes':{'class':[_0x1282ec(0x188)]},'children':[this[_0x1282ec(0x152)]]}]});}[_0x3b1ccb(0x165)](){const _0x467b59=_0x3b1ccb;super[_0x467b59(0x165)](),this[_0x467b59(0x15e)](),this[_0x467b59(0x15b)]();}[_0x3b1ccb(0x17d)](){const _0x3904f9=_0x3b1ccb;this[_0x3904f9(0x18f)][_0x3904f9(0x151)]();}[_0x3b1ccb(0x174)](){const _0x68361e=_0x3b1ccb,_0x45e2b0=new _0x29a3fc(this[_0x68361e(0x160)]);return _0x45e2b0[_0x68361e(0x16e)]=_0x27f35c(this[_0x68361e(0x160)],_0x68361e(0x17e)),_0x45e2b0[_0x68361e(0x178)]=_0x27f35c(this[_0x68361e(0x160)],_0x68361e(0x17e)),_0x45e2b0[_0x68361e(0x14f)]=_0x6dd08f,_0x45e2b0[_0x68361e(0x157)](_0x68361e(0x175))['to'](this[_0x68361e(0x168)],_0x68361e(0x169),_0x2a6fb0=>!_0x2a6fb0),_0x45e2b0[_0x68361e(0x157)](_0x68361e(0x162))['to'](this[_0x68361e(0x168)],_0x68361e(0x179),this[_0x68361e(0x168)],_0x68361e(0x17a),(_0x1eaea2,_0x5e30fc)=>_0x1eaea2&&_0x5e30fc),_0x45e2b0['on'](_0x68361e(0x184),()=>{const _0x4f23e6=_0x68361e;this[_0x4f23e6(0x15a)](_0x4f23e6(0x181),this[_0x4f23e6(0x168)]['id']);}),_0x45e2b0;}[_0x3b1ccb(0x161)](_0x2765de){const _0x444802=_0x3b1ccb;if(_0x2765de[_0x444802(0x17b)]<0x96)return _0x2765de;const _0x326e5f=_0x2765de[_0x444802(0x180)]('\x20',0x93);return _0x2765de[_0x444802(0x159)](0x0,_0x326e5f>-0x1?_0x326e5f:0x93)+_0x444802(0x158);}[_0x3b1ccb(0x15e)](){const _0x73d9aa=_0x3b1ccb,_0x4f283a=this[_0x73d9aa(0x186)][_0x73d9aa(0x156)](_0x73d9aa(0x155)),_0x85d37e=_0x4f283a[_0x73d9aa(0x156)](_0x73d9aa(0x15f));this[_0x73d9aa(0x16d)](_0x4f283a,_0x73d9aa(0x192),()=>{const _0x560bb7=_0x73d9aa;_0x85d37e[_0x560bb7(0x164)]<_0x85d37e[_0x560bb7(0x194)]&&_0x4f283a[_0x560bb7(0x172)][_0x560bb7(0x191)](_0x560bb7(0x173));}),this[_0x73d9aa(0x16d)](_0x4f283a,_0x73d9aa(0x18a),()=>{const _0x2fc05f=_0x73d9aa;_0x4f283a[_0x2fc05f(0x172)][_0x2fc05f(0x190)](_0x2fc05f(0x173));});}[_0x3b1ccb(0x15b)](){const _0x1d5ba1=_0x3b1ccb;this[_0x1d5ba1(0x153)][_0x1d5ba1(0x16d)](this[_0x1d5ba1(0x186)]);for(const _0x4379f1 of this[_0x1d5ba1(0x16f)])this[_0x1d5ba1(0x18e)][_0x1d5ba1(0x191)](_0x4379f1[_0x1d5ba1(0x186)]),this[_0x1d5ba1(0x153)][_0x1d5ba1(0x16d)](_0x4379f1[_0x1d5ba1(0x186)]);}[_0x3b1ccb(0x18c)](){const _0x1e3311=_0x3b1ccb,_0x2ad126=new _0x3a5a65(this[_0x1e3311(0x160)]);return _0x2ad126[_0x1e3311(0x157)](_0x1e3311(0x185))['to'](this),_0x2ad126;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a65ce=_0x4a79;(function(_0x2b0913,_0x52083c){const _0x159cb7=_0x4a79,_0x430fc2=_0x2b0913();while(!![]){try{const _0x1884f1=parseInt(_0x159cb7(0x1d4))/0x1*(-parseInt(_0x159cb7(0x1f8))/0x2)+parseInt(_0x159cb7(0x1ea))/0x3+parseInt(_0x159cb7(0x1d9))/0x4+-parseInt(_0x159cb7(0x1f5))/0x5*(parseInt(_0x159cb7(0x1fc))/0x6)+-parseInt(_0x159cb7(0x1fd))/0x7+-parseInt(_0x159cb7(0x1f9))/0x8+parseInt(_0x159cb7(0x1ed))/0x9*(parseInt(_0x159cb7(0x1e7))/0xa);if(_0x1884f1===_0x52083c)break;else _0x430fc2['push'](_0x430fc2['shift']());}catch(_0x21769b){_0x430fc2['push'](_0x430fc2['shift']());}}}(_0x16a4,0x78569));function _0x4a79(_0x345e0c,_0x3561e7){const _0x16a495=_0x16a4();return _0x4a79=function(_0x4a792e,_0x5a9d7f){_0x4a792e=_0x4a792e-0x1cd;let _0x418813=_0x16a495[_0x4a792e];return _0x418813;},_0x4a79(_0x345e0c,_0x3561e7);}import{View as _0x40388c}from'ckeditor5/src/ui.js';function _0x16a4(){const _0x1b71e0=['ck-comment__input-container--active','141976jjCXbr','4847696IdBMqY','mousedown','setTemplate','126wODoue','5258911FKwCcR','change:showInput','focusTracker','view','focus','filter','element','div','then','13vAPZlj','bind','target','listenTo','isFocused','2551836aDAtXW','editing','some','render','showButtons','focusCycler','preventDefault','editorReady','extendTemplate','commentInputView','bindTemplate','set','ck-thread__input','delegate','10PvkjqY','editorDestroyed','ck-thread__user','19950cdjCyP','userView','destroy','23442273BNqWCd','editor','getDomRoot','createEditor','showInput','value','contains','ck-comment__input-container','113410NZSpJe','_focusOnNonInteractiveMouseDown'];_0x16a4=function(){return _0x1b71e0;};return _0x16a4();}import _0x514626 from'./commentinputview.js';import{UserView as _0x3ca48c}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ie extends _0x40388c{constructor(_0x2d50a9,_0x44a302,_0x18c632){const _0x5134e0=_0x4a79;super(_0x2d50a9),this[_0x5134e0(0x1e2)]=new _0x514626(_0x2d50a9,_0x18c632),this[_0x5134e0(0x1de)]=this[_0x5134e0(0x1e2)][_0x5134e0(0x1de)],this[_0x5134e0(0x1e2)][_0x5134e0(0x1d5)](_0x5134e0(0x1dd))['to'](this[_0x5134e0(0x1e2)][_0x5134e0(0x1cd)],_0x5134e0(0x1d8),this[_0x5134e0(0x1e2)],_0x5134e0(0x1f2),(_0x2c8acd,_0x493461)=>_0x2c8acd||!!_0x493461),this[_0x5134e0(0x1e4)](_0x5134e0(0x1f1),!0x1),this['on'](_0x5134e0(0x1fe),()=>{const _0x249773=_0x5134e0;this[_0x249773(0x1f1)]&&!this[_0x249773(0x1e2)][_0x249773(0x1ee)]&&this[_0x249773(0x1e2)][_0x249773(0x1f0)]();}),this[_0x5134e0(0x1e2)][_0x5134e0(0x1e6)](_0x5134e0(0x1e0))['to'](this),this[_0x5134e0(0x1e2)][_0x5134e0(0x1e6)](_0x5134e0(0x1e8))['to'](this),this[_0x5134e0(0x1eb)]=new _0x3ca48c(_0x2d50a9,_0x44a302),this[_0x5134e0(0x1eb)][_0x5134e0(0x1e1)]({'attributes':{'class':_0x5134e0(0x1e9),'aria-hidden':!0x0}}),this[_0x5134e0(0x1e2)][_0x5134e0(0x1e1)]({'attributes':{'class':_0x5134e0(0x1e5)}}),this[_0x5134e0(0x1fb)]({'tag':_0x5134e0(0x1d2),'attributes':{'class':[_0x5134e0(0x1f4),this[_0x5134e0(0x1e3)]['if'](_0x5134e0(0x1f1),_0x5134e0(0x1f7))]},'children':[this[_0x5134e0(0x1eb)],this[_0x5134e0(0x1e2)]]});}[_0x4a65ce(0x1dc)](){const _0x3280e8=_0x4a65ce;super[_0x3280e8(0x1dc)](),this[_0x3280e8(0x1f6)]();}[_0x4a65ce(0x1ec)](){const _0x513064=_0x4a65ce;return this[_0x513064(0x1e2)][_0x513064(0x1ec)]()[_0x513064(0x1d3)](()=>super[_0x513064(0x1ec)]());}[_0x4a65ce(0x1cf)](_0x17c3cc){const _0x2d1b4d=_0x4a65ce;this[_0x2d1b4d(0x1e2)][_0x2d1b4d(0x1cf)](_0x17c3cc);}[_0x4a65ce(0x1f6)](){const _0x1370d8=_0x4a65ce;this[_0x1370d8(0x1d7)](this[_0x1370d8(0x1d1)],_0x1370d8(0x1fa),(_0x7259be,_0x5f3e7e)=>{const _0x225968=_0x1370d8,{submitButtonView:_0x1ee42b,cancelButtonView:_0x1b4cf9,editor:_0x36cec4}=this[_0x225968(0x1e2)];[_0x1ee42b[_0x225968(0x1d1)],_0x1b4cf9[_0x225968(0x1d1)],_0x36cec4?_0x36cec4[_0x225968(0x1da)][_0x225968(0x1ce)][_0x225968(0x1ef)]():null][_0x225968(0x1d0)](_0x2cfa12=>_0x2cfa12)[_0x225968(0x1db)](_0x3572ec=>_0x3572ec[_0x225968(0x1f3)](_0x5f3e7e[_0x225968(0x1d6)]))||(this[_0x225968(0x1cf)](),_0x5f3e7e[_0x225968(0x1df)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0xaf9968=_0x2518;(function(_0x112d4d,_0x3e8c51){const _0x398a33=_0x2518,_0x5521f7=_0x112d4d();while(!![]){try{const _0xe5fca0=-parseInt(_0x398a33(0xf8))/0x1*(-parseInt(_0x398a33(0x108))/0x2)+parseInt(_0x398a33(0x130))/0x3*(-parseInt(_0x398a33(0x128))/0x4)+parseInt(_0x398a33(0x100))/0x5*(-parseInt(_0x398a33(0x11c))/0x6)+parseInt(_0x398a33(0x109))/0x7*(parseInt(_0x398a33(0xf6))/0x8)+parseInt(_0x398a33(0x113))/0x9+-parseInt(_0x398a33(0x117))/0xa*(parseInt(_0x398a33(0xe1))/0xb)+-parseInt(_0x398a33(0xf0))/0xc*(-parseInt(_0x398a33(0xd8))/0xd);if(_0xe5fca0===_0x3e8c51)break;else _0x5521f7['push'](_0x5521f7['shift']());}catch(_0x18739e){_0x5521f7['push'](_0x5521f7['shift']());}}}(_0x36b3,0x75379));function _0x2518(_0xa29947,_0x4dc575){const _0x36b38e=_0x36b3();return _0x2518=function(_0x2518a8,_0xac74b8){_0x2518a8=_0x2518a8-0xd5;let _0x207079=_0x36b38e[_0x2518a8];return _0x207079;},_0x2518(_0xa29947,_0x4dc575);}import{ConfirmMixin as _0x5c8c65,LateFocusButtonView as _0x4618a8}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x36b3(){const _0x1eebc6=['listenTo','fire','.ck-thread__container','resolveButton','18ZYeGgs','actionBar','ariaDescriptionView','removeConfirm','element','length','extendTemplate','add','execute','change:isActive','ariaLabel','_updateArchivedThreadHeader','8PhosgO','isUnlinked','set','ck-thread--remove-confirmation','Write\x20a\x20comment...','Delete\x20comment\x20thread?','ck-thread--','ck-thread--unlinked','1001688RAvhFA','removeCommentThread','unbind','isResolved','isEnabled','change:isReadOnly','3827954KBqUrF','then','Resolve','isActive','querySelector','check','archivedAt','_model','resolveCommentThread','44HLGicJ','_cancelAllConfirms','stop','render','containerElement','bindTemplate','tooltip','commentsListView','get','bind','_boundFirstCommentView','has','commentViews','commentThreadHeaderView','cancelConfirm','24wUpeBO','label','ck-thread--active','locale','_createResolveButton','remove','968GRsCIv','div','4030idNsFN','ck-reset_all-excluded','showConfirm','placeholder','getTemplate','setTemplate','isSystemComment','commentThreadInputView','378130LQNeJA','ck-comment--resolve','removeButton','focusables','ck-thread__container','ck-thread','isResolvable','_bindFirstCommentView','70kqmsHD','31087HWaVzB','focus','createCollection','actionIndicator','commentThreadChildren','ck-rounded-corners','listitem','high','change:archivedAt','icon','5917392qxLGpU','isConfirm','isVisible','isReadOnly','1375060hYkkGT'];_0x36b3=function(){return _0x1eebc6;};return _0x36b3();}import{icons as _0x35be62}from'ckeditor5/src/core.js';import _0x1b93ea from'./basecommentthreadview.js';import{getTranslation as _0x5f2d0b}from'../../../utils/common-translations.js';export default class vt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5c8c65(_0x1b93ea){constructor(_0x1fe23a,_0x2776a8,_0xfbb7ac,_0x3faca5){const _0x48236d=_0x2518;super(_0x1fe23a,_0x2776a8,_0xfbb7ac,_0x3faca5),this[_0x48236d(0x10d)]=this[_0x48236d(0x10b)]([this[_0x48236d(0xe8)],this[_0x48236d(0xff)],this[_0x48236d(0x11e)]]),this[_0x48236d(0x12a)](_0x48236d(0x10c),null),this[_0x48236d(0xe5)]=null,this[_0x48236d(0xeb)]=null,this[_0x48236d(0xf3)]=_0x1fe23a,this[_0x48236d(0x11b)]=this[_0x48236d(0xf4)](),this[_0x48236d(0xfd)](this[_0x48236d(0xfc)]()),this['on'](_0x48236d(0x125),(_0x1ba466,_0xb5ff79,_0x372026)=>{const _0x47bb0b=_0x48236d;_0x372026||this[_0x47bb0b(0xe2)]();}),this[_0x48236d(0x118)](this[_0x48236d(0xdf)],_0x48236d(0xd7),(_0x4fc4dc,_0xc6ab99,_0xbad788)=>{const _0x344c9c=_0x48236d;_0xbad788&&this[_0x344c9c(0xe2)]();}),this[_0x48236d(0x121)]>0x0&&this[_0x48236d(0x107)](),this[_0x48236d(0x118)](this[_0x48236d(0xe8)][_0x48236d(0xed)],_0x48236d(0x123),()=>{const _0x19f8cd=_0x48236d;this[_0x19f8cd(0x107)]();});}[_0xaf9968(0xfc)](){const _0x116e7f=_0xaf9968,_0x398223=this[_0x116e7f(0xe6)];return{'tag':_0x116e7f(0xf7),'attributes':{'class':['ck',_0x116e7f(0x105),_0x116e7f(0xf9),_0x116e7f(0x10e),_0x398223['if'](_0x116e7f(0xdb),_0x116e7f(0xf2)),_0x398223['if'](_0x116e7f(0x129),_0x116e7f(0x12f)),_0x398223['if'](_0x116e7f(0x114),_0x116e7f(0x12b)),_0x398223['to'](_0x116e7f(0x10c),_0x5a2a80=>_0x5a2a80?_0x116e7f(0x12e)+_0x5a2a80:'')],'data-thread-id':this[_0x116e7f(0xdf)]['id'],'tabindex':0x0,'role':_0x116e7f(0x10f),'aria-label':_0x398223['to'](_0x116e7f(0x126)),'aria-describedby':this[_0x116e7f(0x11e)]['id']},'children':[{'tag':_0x116e7f(0xf7),'attributes':{'class':_0x116e7f(0x104)},'children':this[_0x116e7f(0x10d)]}]};}[_0xaf9968(0xe4)](){const _0x25420a=_0xaf9968;super[_0x25420a(0xe4)](),this[_0x25420a(0xe5)]=this[_0x25420a(0x120)][_0x25420a(0xdc)](_0x25420a(0x11a)),this[_0x25420a(0xdf)]['on'](_0x25420a(0x111),()=>{const _0x11b8a5=_0x25420a;this[_0x11b8a5(0x127)]();}),this[_0x25420a(0x127)]();}[_0xaf9968(0xe2)](){const _0x8f8d54=_0xaf9968;this[_0x8f8d54(0xef)]();for(const _0x5cbf9f of this[_0x8f8d54(0xe8)][_0x8f8d54(0xed)])_0x5cbf9f[_0x8f8d54(0xef)]();}[_0xaf9968(0x107)](){const _0x5c4f46=_0xaf9968,{locale:_0x44bf2a}=this,_0xd8b96c=this[_0x5c4f46(0xe8)][_0x5c4f46(0xed)][_0x5c4f46(0xe9)](0x0);_0xd8b96c===this[_0x5c4f46(0xeb)]||_0xd8b96c[_0x5c4f46(0xfe)]||(this[_0x5c4f46(0xeb)]=_0xd8b96c,this[_0x5c4f46(0x132)](_0x5c4f46(0x10c)),this[_0x5c4f46(0xea)](_0x5c4f46(0x10c))['to'](_0xd8b96c,_0x5c4f46(0x10c),_0x4c901e=>_0x5c4f46(0xf5)===_0x4c901e?_0x5c4f46(0xf5):null),_0xd8b96c[_0x5c4f46(0xfb)]=_0x5f2d0b(_0x44bf2a,_0x5c4f46(0x12c)),_0xd8b96c[_0x5c4f46(0x102)]['on'](_0x5c4f46(0x124),_0x5dbbce=>{const _0x28e439=_0x5c4f46;_0x5dbbce[_0x28e439(0xe3)](),this[_0x28e439(0xfa)](_0x5f2d0b(_0x44bf2a,_0x28e439(0x12d)),this[_0x28e439(0xe5)])[_0x28e439(0xd9)](()=>{const _0x53a477=_0x28e439;this[_0x53a477(0x119)](_0x53a477(0x131));});},{'priority':_0x5c4f46(0x110)}),this['on'](_0x5c4f46(0x11f),()=>{const _0x4bbc7e=_0x5c4f46;_0xd8b96c[_0x4bbc7e(0x10a)]();}),_0xd8b96c[_0x5c4f46(0x11d)][_0x5c4f46(0x123)](this[_0x5c4f46(0x11b)],0x0),_0xd8b96c[_0x5c4f46(0x103)][_0x5c4f46(0x123)](this[_0x5c4f46(0x11b)],0x0));}[_0xaf9968(0xf4)](){const _0x51d0b1=_0xaf9968,_0x491fbe=new _0x4618a8(this[_0x51d0b1(0xf3)]);return _0x491fbe[_0x51d0b1(0xf1)]=_0x5f2d0b(this[_0x51d0b1(0xf3)],_0x51d0b1(0xda)),_0x491fbe[_0x51d0b1(0xe7)]=_0x5f2d0b(this[_0x51d0b1(0xf3)],_0x51d0b1(0xda)),_0x491fbe[_0x51d0b1(0x112)]=_0x35be62[_0x51d0b1(0xdd)],_0x491fbe[_0x51d0b1(0x122)]({'attributes':{'class':_0x51d0b1(0x101)}}),_0x491fbe[_0x51d0b1(0xea)](_0x51d0b1(0xd6))['to'](this[_0x51d0b1(0xdf)],_0x51d0b1(0x116),_0x20f218=>!_0x20f218),_0x491fbe[_0x51d0b1(0xea)](_0x51d0b1(0x115))['to'](this[_0x51d0b1(0xdf)],_0x51d0b1(0x106),this[_0x51d0b1(0xdf)],_0x51d0b1(0xd5),(_0x1fa68b,_0x299510)=>_0x1fa68b&&!_0x299510),_0x491fbe['on'](_0x51d0b1(0x124),()=>{const _0x51f256=_0x51d0b1;this[_0x51f256(0x119)](_0x51f256(0xe0),this[_0x51f256(0xdf)]['id']);}),_0x491fbe;}[_0xaf9968(0x127)](){const _0x156f40=_0xaf9968;this[_0x156f40(0xdf)][_0x156f40(0xde)]?this[_0x156f40(0x10d)][_0x156f40(0xec)](this[_0x156f40(0xee)])||(this[_0x156f40(0x10d)][_0x156f40(0x123)](this[_0x156f40(0xee)],0x0),this[_0x156f40(0x103)][_0x156f40(0x123)](this[_0x156f40(0xee)],0x0)):this[_0x156f40(0x10d)][_0x156f40(0xec)](this[_0x156f40(0xee)])&&(this[_0x156f40(0x10d)][_0x156f40(0xf5)](this[_0x156f40(0xee)]),this[_0x156f40(0x103)][_0x156f40(0xf5)](this[_0x156f40(0xee)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2a5f74=_0x1726;(function(_0x194890,_0x788ab9){const _0x55459f=_0x1726,_0x7c00bd=_0x194890();while(!![]){try{const _0x562db7=parseInt(_0x55459f(0xe3))/0x1+parseInt(_0x55459f(0xb0))/0x2+parseInt(_0x55459f(0xa9))/0x3+parseInt(_0x55459f(0xec))/0x4*(-parseInt(_0x55459f(0xef))/0x5)+parseInt(_0x55459f(0x107))/0x6*(-parseInt(_0x55459f(0xee))/0x7)+-parseInt(_0x55459f(0xe0))/0x8+-parseInt(_0x55459f(0xd4))/0x9;if(_0x562db7===_0x788ab9)break;else _0x7c00bd['push'](_0x7c00bd['shift']());}catch(_0xbc40f7){_0x7c00bd['push'](_0x7c00bd['shift']());}}}(_0x5091,0x2b090));function _0x5091(){const _0x5315f7=['_model','listitem','getUserViewNotificationText','threeVerticalDots','getTemplate','_createDropdown','ck-comment--remove','then','authoredAt','ck-comment__user','ck-comment','mouseleave','listenTo','placeholder','locale','showConfirm','execute','ck-annotation__actions','formatDateTime','_createEditButton','ck-comment__info','ck-comment__info-time','children','unbind','_config','render','ck-comment__actions--hidden','panelView','addMany','switchToEditMode','ck-comment--edit','ck-annotation__info-time','1400877DdFOMa','ck-comment--remove-confirmation','removeButton','label','setTemplate','focusables','ck-annotation__info-name','span','focus','set','length','isEditMode','735616tIIWqo','extendTemplate','ck-annotation','228772CUboyP','getExternalCommentNote','push','_createRemoveButton','ck-comment__info-name','name','toMany','removeComment','ck-hidden','4gEZXkm','Show\x20more\x20items','406UOrrsk','461570rscxKi','resolvedAt','ariaLabel','isExternal','ck-annotation__actions--hidden','isConfirm','Edit','blur','ck-annotation__main','change:isRemovable','ck-annotation__info','mouseenter','ck-comment__main','isVisible','bind','group','add','isReadOnly','panelPosition','pencil','ck-comment--','actionBar','from','_attachActions','26844lZTAFU','edit','isSystemComment','ck-comment__actions','ck-comment--info','icon','some','ariaDescriptionView','withText','find','createCollection','editButton','actionIndicator','div','element','isEnabled','ck-annotation__user','ck-comment__wrapper','isEditable','items','buttonView','time','isRemovable','dropdown','Reply...','author','remove','visibleView','781164hmPGlH','ck-comment__external','Delete\x20comment?','ck-annotation__content-wrapper','_createCommentInputView','userView','Remove','573046idHJRE','bindTemplate','cancelConfirm','fire'];_0x5091=function(){return _0x5315f7;};return _0x5091();}import{ButtonView as _0x98dfcf,createDropdown as _0x5bfeb0,ListView as _0x1d5b3b,ListItemView as _0x3eb12d,focusChildOnDropdownOpen as _0x3018f4}from'ckeditor5/src/ui.js';import{icons as _0x4e722f}from'ckeditor5/src/core.js';import{UserView as _0x159c90,ConfirmMixin as _0x772196,LateFocusDropdownButtonView as _0x1d9616}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x537a0f from'./basecommentview.js';import _0x3ca3aa from'../../../../theme/icons/remove-comment.svg';function _0x1726(_0x34519,_0x3c9fea){const _0x50914e=_0x5091();return _0x1726=function(_0x1726de,_0x25923e){_0x1726de=_0x1726de-0x90;let _0x54963b=_0x50914e[_0x1726de];return _0x54963b;},_0x1726(_0x34519,_0x3c9fea);}import{getTranslation as _0x529cb0}from'../../../utils/common-translations.js';export default class gt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x772196(_0x537a0f){constructor(_0x20b610,_0x1b9634,_0x40a5b4){const _0x19d070=_0x1726;super(_0x20b610,_0x1b9634,_0x40a5b4),this[_0x19d070(0xdd)](_0x19d070(0x99),null),this[_0x19d070(0xdd)](_0x19d070(0xc1),_0x529cb0(_0x20b610,_0x19d070(0xa5))),this[_0x19d070(0xfd)](_0x19d070(0xbc))['to'](_0x1b9634),this[_0x19d070(0xfd)](_0x19d070(0xf0))['to'](_0x1b9634),this[_0x19d070(0x104)]=this[_0x19d070(0x97)](),this[_0x19d070(0x109)]||(this[_0x19d070(0x98)]=this[_0x19d070(0xc7)](),this[_0x19d070(0xd6)]=this[_0x19d070(0xe6)](),this[_0x19d070(0xa0)]=this[_0x19d070(0x97)](),this[_0x19d070(0xa0)][_0x19d070(0xd0)]([this[_0x19d070(0x98)],this[_0x19d070(0xd6)]]),this[_0x19d070(0xa4)]=this[_0x19d070(0xb9)](),this[_0x19d070(0x104)][_0x19d070(0xff)](this[_0x19d070(0xa4)]),this[_0x19d070(0xd9)][_0x19d070(0xff)](this[_0x19d070(0xa4)])),this[_0x19d070(0xae)]=new _0x159c90(_0x20b610,_0x1b9634[_0x19d070(0xa6)],this[_0x19d070(0xb6)]()),this[_0x19d070(0xae)][_0x19d070(0xe1)]({'attributes':{'class':[_0x19d070(0xbd),_0x19d070(0x9d)],'aria-hidden':!0x0}}),this[_0x19d070(0xc0)](_0x1b9634,_0x19d070(0xf8),()=>this[_0x19d070(0xb2)]()),this[_0x19d070(0xd8)](this[_0x19d070(0xb8)]());}[_0x2a5f74(0xb8)](){const _0x495eb4=_0x2a5f74,_0x56bf41=this[_0x495eb4(0xb1)],_0x4287a9=[{'tag':_0x495eb4(0x9a),'attributes':{'class':[_0x495eb4(0xc8),_0x495eb4(0xf9)]},'children':[{'tag':_0x495eb4(0xdb),'children':[{'text':this[_0x495eb4(0xae)][_0x495eb4(0xe8)]}],'attributes':{'class':[_0x495eb4(0xe7),_0x495eb4(0xda)],'data-cke-tooltip-text':this[_0x495eb4(0xae)][_0x495eb4(0xe8)]}},{'tag':_0x495eb4(0xa2),'attributes':{'datetime':_0x56bf41['to'](_0x495eb4(0xbc)),'class':[_0x495eb4(0xc9),_0x495eb4(0xd3)]},'children':[{'text':_0x56bf41['to'](_0x495eb4(0xbc),_0x55b2ea=>this[_0x495eb4(0xcc)][_0x495eb4(0xc6)](_0x55b2ea))}]}]},{'tag':_0x495eb4(0x9a),'attributes':{'class':[_0x495eb4(0x90),_0x495eb4(0xc5),_0x56bf41['if'](_0x495eb4(0xdf),_0x495eb4(0xce)),_0x56bf41['if'](_0x495eb4(0xdf),_0x495eb4(0xf3))]},'children':this[_0x495eb4(0x104)]},{'tag':_0x495eb4(0x9a),'attributes':{'class':[_0x495eb4(0xac)]},'children':this[_0x495eb4(0xa8)]},this[_0x495eb4(0x94)]];return this[_0x495eb4(0xb4)][_0x495eb4(0xf2)]&&_0x4287a9[_0x495eb4(0xe5)]({'tag':_0x495eb4(0x9a),'attributes':{'class':[_0x495eb4(0xaa)]},'children':[{'text':this[_0x495eb4(0xe4)]()}]}),{'tag':'li','attributes':{'class':[_0x495eb4(0x9e),_0x56bf41['if'](_0x495eb4(0xf4),_0x495eb4(0xd5))],'tabindex':-0x1,'aria-label':_0x56bf41['to'](_0x495eb4(0xf1)),'aria-describedby':this[_0x495eb4(0x94)]['id'],'role':_0x495eb4(0xb5)},'children':[{'tag':_0x495eb4(0x9a),'attributes':{'class':[_0x495eb4(0xbe),_0x495eb4(0xe2),_0x56bf41['if'](_0x495eb4(0xdf),_0x495eb4(0xd2)),_0x56bf41['if'](_0x495eb4(0x109),_0x495eb4(0x91)),_0x56bf41['to'](_0x495eb4(0x99),_0x53a23f=>_0x53a23f?_0x495eb4(0x103)+_0x53a23f:'')],'data-author-id':this[_0x495eb4(0xb4)][_0x495eb4(0xa6)]['id'],'data-comment-id':this[_0x495eb4(0xb4)]['id'],'role':_0x495eb4(0xfe)},'children':[this[_0x495eb4(0xae)],{'tag':_0x495eb4(0x9a),'attributes':{'class':[_0x495eb4(0xfb),_0x495eb4(0xf7)]},'children':_0x4287a9}]}]};}[_0x2a5f74(0xc7)](){const _0x1b41f5=_0x2a5f74,_0x23e029=new _0x98dfcf(this[_0x1b41f5(0xc2)]);return _0x23e029[_0x1b41f5(0xd7)]=_0x529cb0(this[_0x1b41f5(0xc2)],_0x1b41f5(0xf5)),_0x23e029[_0x1b41f5(0x92)]=_0x4e722f[_0x1b41f5(0x102)],_0x23e029[_0x1b41f5(0x95)]=!0x0,_0x23e029[_0x1b41f5(0xe1)]({'attributes':{'class':_0x1b41f5(0xd2)}}),_0x23e029[_0x1b41f5(0xfd)](_0x1b41f5(0x9c))['to'](this[_0x1b41f5(0xb4)],_0x1b41f5(0x100),_0x5de424=>!_0x5de424),_0x23e029[_0x1b41f5(0xfd)](_0x1b41f5(0xfc))['to'](this[_0x1b41f5(0xb4)],_0x1b41f5(0x9f)),_0x23e029['on'](_0x1b41f5(0xc4),()=>this[_0x1b41f5(0xd1)]()),_0x23e029;}[_0x2a5f74(0xe6)](){const _0x33fcc1=_0x2a5f74,_0x3a0b33=new _0x98dfcf(this[_0x33fcc1(0xc2)]);return _0x3a0b33[_0x33fcc1(0xd7)]=_0x529cb0(this[_0x33fcc1(0xc2)],_0x33fcc1(0xaf)),_0x3a0b33[_0x33fcc1(0x92)]=_0x3ca3aa,_0x3a0b33[_0x33fcc1(0x95)]=!0x0,_0x3a0b33[_0x33fcc1(0xe1)]({'attributes':{'class':_0x33fcc1(0xba)}}),_0x3a0b33[_0x33fcc1(0xfd)](_0x33fcc1(0x9c))['to'](this[_0x33fcc1(0xb4)],_0x33fcc1(0x100),_0x3cc6e2=>!_0x3cc6e2),_0x3a0b33[_0x33fcc1(0xfd)](_0x33fcc1(0xfc))['to'](this[_0x33fcc1(0xb4)],_0x33fcc1(0xa3)),_0x3a0b33['on'](_0x33fcc1(0xc4),()=>{const _0x28f3c5=_0x33fcc1;this[_0x28f3c5(0xc3)](_0x529cb0(this[_0x28f3c5(0xc2)],_0x28f3c5(0xab)),this[_0x28f3c5(0x9b)])[_0x28f3c5(0xbb)](()=>{const _0xed14fe=_0x28f3c5;this[_0xed14fe(0xb3)](_0xed14fe(0xea),this[_0xed14fe(0xb4)]['id']);});}),_0x3a0b33;}[_0x2a5f74(0xb9)](){const _0x47b97c=_0x2a5f74,_0x1a8817=_0x5bfeb0(this[_0x47b97c(0xc2)],_0x1d9616),_0x3e8eca=_0x1a8817[_0x47b97c(0xcf)][_0x47b97c(0xca)],_0x1d6606=new _0x1d5b3b(this[_0x47b97c(0xc2)]),_0x4772a3=_0x1a8817[_0x47b97c(0xb1)];_0x3018f4(_0x1a8817,()=>this[_0x47b97c(0xa0)][_0x47b97c(0x96)](_0x330a69=>_0x330a69[_0x47b97c(0xfc)])),_0x1a8817[_0x47b97c(0xe1)]({'attributes':{'class':[_0x4772a3['if'](_0x47b97c(0xfc),_0x47b97c(0xeb),_0x2afd5d=>!_0x2afd5d)]}});const _0x248a92=(_0x1e9120,_0x1ed87e=-0x1)=>{const _0x4188a3=_0x47b97c,_0x35737f=new _0x3eb12d(this[_0x4188a3(0xc2)]);_0x35737f[_0x4188a3(0xca)][_0x4188a3(0xff)](_0x1e9120);const _0x3a7a11=_0x1ed87e>-0x1?_0x1ed87e:_0x1d6606[_0x4188a3(0xa0)][_0x4188a3(0xde)];_0x1d6606[_0x4188a3(0xa0)][_0x4188a3(0xff)](_0x35737f,_0x3a7a11);const _0x2f30d3=Array[_0x4188a3(0x105)](this[_0x4188a3(0xa0)]);_0x1a8817[_0x4188a3(0xcb)](_0x4188a3(0x9c),_0x4188a3(0xfc)),_0x1a8817[_0x4188a3(0xfd)](_0x4188a3(0x9c))[_0x4188a3(0xe9)](_0x2f30d3,_0x4188a3(0x9c),(..._0x25288c)=>_0x25288c[_0x4188a3(0x93)](_0x76d7e0=>_0x76d7e0)),_0x1a8817[_0x4188a3(0xfd)](_0x4188a3(0xfc))[_0x4188a3(0xe9)](_0x2f30d3,_0x4188a3(0xfc),(..._0x12a5ae)=>_0x12a5ae[_0x4188a3(0x93)](_0x95feb=>_0x95feb));};_0x1a8817[_0x47b97c(0x101)]='sw',_0x1a8817[_0x47b97c(0xa1)][_0x47b97c(0xdd)]({'label':_0x529cb0(this[_0x47b97c(0xc2)],_0x47b97c(0xed)),'icon':_0x4e722f[_0x47b97c(0xb7)]});for(const _0x9e60ec of this[_0x47b97c(0xa0)])_0x248a92(_0x9e60ec);return _0x3e8eca[_0x47b97c(0xff)](_0x1d6606),_0x1a8817[_0x47b97c(0xc0)](this[_0x47b97c(0xa0)],_0x47b97c(0xff),(_0xcea9a9,_0x5ec5e5,_0x42be5b)=>{_0x248a92(_0x5ec5e5,_0x42be5b);}),_0x1a8817[_0x47b97c(0xc0)](this[_0x47b97c(0xa0)],_0x47b97c(0xa7),(_0x3139f8,_0x31bc3a,_0x553719)=>{const _0x1de6b6=_0x47b97c;_0x1d6606[_0x1de6b6(0xa0)][_0x1de6b6(0xa7)](_0x553719);}),_0x1a8817;}[_0x2a5f74(0x106)](_0x4fa475,_0x4ee9e4){const _0x238eb6=_0x2a5f74,_0x498d4b=_0x4fa475&&_0x4fa475[_0x238eb6(0x9b)];_0x498d4b&&(this[_0x238eb6(0xc0)](_0x498d4b,_0x238eb6(0xfa),()=>this[_0x238eb6(0x99)]=_0x4ee9e4),this[_0x238eb6(0xc0)](_0x498d4b,_0x238eb6(0xdc),()=>this[_0x238eb6(0x99)]=_0x4ee9e4),this[_0x238eb6(0xc0)](_0x498d4b,_0x238eb6(0xbf),()=>this[_0x238eb6(0x99)]=null),this[_0x238eb6(0xc0)](_0x498d4b,_0x238eb6(0xf6),()=>this[_0x238eb6(0x99)]=null));}[_0x2a5f74(0xad)](){const _0x58c4ee=_0x2a5f74,_0x3e99d4=super[_0x58c4ee(0xad)]();return _0x3e99d4[_0x58c4ee(0xfd)](_0x58c4ee(0xc1))['to'](this),_0x3e99d4;}[_0x2a5f74(0xcd)](){const _0x5e7ccd=_0x2a5f74;super[_0x5e7ccd(0xcd)](),this[_0x5e7ccd(0x106)](this[_0x5e7ccd(0x98)],_0x5e7ccd(0x108)),this[_0x5e7ccd(0x106)](this[_0x5e7ccd(0xd6)],_0x5e7ccd(0xa7));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x231d43=_0x5c90;(function(_0x519d14,_0x3fad79){var _0xe3df50=_0x5c90,_0x53d40d=_0x519d14();while(!![]){try{var _0x54c36c=-parseInt(_0xe3df50(0x12b))/0x1*(-parseInt(_0xe3df50(0x125))/0x2)+-parseInt(_0xe3df50(0x129))/0x3+-parseInt(_0xe3df50(0x131))/0x4*(-parseInt(_0xe3df50(0x12f))/0x5)+parseInt(_0xe3df50(0x12e))/0x6+parseInt(_0xe3df50(0x12a))/0x7*(-parseInt(_0xe3df50(0x12c))/0x8)+parseInt(_0xe3df50(0x123))/0x9+parseInt(_0xe3df50(0x130))/0xa;if(_0x54c36c===_0x3fad79)break;else _0x53d40d['push'](_0x53d40d['shift']());}catch(_0x46ad1d){_0x53d40d['push'](_0x53d40d['shift']());}}}(_0xb68f,0x50397));import{Plugin as _0x3c3828}from'ckeditor5/src/core.js';import _0x4b7c6f from'./comments/commentsrepository.js';function _0x5c90(_0xba54a3,_0x48c99b){var _0xb68f4f=_0xb68f();return _0x5c90=function(_0x5c901d,_0x5435d5){_0x5c901d=_0x5c901d-0x123;var _0x182320=_0xb68f4f[_0x5c901d];return _0x182320;},_0x5c90(_0xba54a3,_0x48c99b);}import _0x4e7b94 from'./comments/commentsediting.js';import _0x2816a1 from'./comments/commentsui.js';import _0x18bd63 from'./commentsonly.js';import _0x1f0a94 from'./annotations/widesidebar.js';import _0x24dd47 from'./annotations/narrowsidebar.js';import _0x236c9f from'./annotations/inlineannotations.js';import _0x3746a8 from'./comments/commentsarchiveui.js';import _0x462e4e from'./comments/commentsarchive.js';function _0xb68f(){var _0x1ffea2=['1349469QRaBlr','483vhYilj','3VxbogW','70104CsQpMb','pluginName','3355842lHRxpe','5kvCyyS','1084530lfCIVc','1324428NUzvIi','376713OxguvT','isPremiumPlugin','228230jOdWty','Comments','requires','isOfficialPlugin'];_0xb68f=function(){return _0x1ffea2;};return _0xb68f();}export default class p extends _0x3c3828{static get[_0x231d43(0x127)](){return[_0x4b7c6f,_0x4e7b94,_0x2816a1,_0x462e4e,_0x3746a8,_0x18bd63,_0x1f0a94,_0x24dd47,_0x236c9f];}static get[_0x231d43(0x12d)](){var _0x24a9bb=_0x231d43;return _0x24a9bb(0x126);}static get[_0x231d43(0x128)](){return!0x0;}static get[_0x231d43(0x124)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb9cbd9=_0x5d7c;function _0xf44b(){const _0x38963a=['14567400xfkwDJ','CommentsOnly','SourceEditing','view','commentsOnly','DragDrop','clipboardInput','listenTo','cut','isPremiumPlugin','change:isEnabled','2369976mofTEd','stop','get','stopListening','editor','isEnabled','highest','forceDisabled','_enableCommentsOnlyMode','isOfficialPlugin','config','commentsOnlyMode','603952CFdiDu','addCommentThread','clearForceDisabled','set','editSource','commands','delete','25GeNQdp','affectsData','requires','afterInit','editing','has','plugins','document','721022zaUcTY','751704dLdota','830949ApQjqx','_disableCommentsOnlyMode','pluginName','1469490CqfaEV'];_0xf44b=function(){return _0x38963a;};return _0xf44b();}function _0x5d7c(_0x558d0e,_0x28e7bd){const _0xf44b5e=_0xf44b();return _0x5d7c=function(_0x5d7ccc,_0xa4254d){_0x5d7ccc=_0x5d7ccc-0x162;let _0x13c945=_0xf44b5e[_0x5d7ccc];return _0x13c945;},_0x5d7c(_0x558d0e,_0x28e7bd);}(function(_0x1dd92c,_0xcf33c1){const _0x5981a6=_0x5d7c,_0x49efae=_0x1dd92c();while(!![]){try{const _0xd2e28=parseInt(_0x5981a6(0x17b))/0x1+parseInt(_0x5981a6(0x18a))/0x2+parseInt(_0x5981a6(0x16f))/0x3+parseInt(_0x5981a6(0x18b))/0x4*(parseInt(_0x5981a6(0x182))/0x5)+-parseInt(_0x5981a6(0x163))/0x6+-parseInt(_0x5981a6(0x18c))/0x7+-parseInt(_0x5981a6(0x164))/0x8;if(_0xd2e28===_0xcf33c1)break;else _0x49efae['push'](_0x49efae['shift']());}catch(_0x58db8d){_0x49efae['push'](_0x49efae['shift']());}}}(_0xf44b,0x7c662));import{Plugin as _0x1522b1}from'ckeditor5/src/core.js';import _0x9541e9 from'./comments/commentsediting.js';export default class s extends _0x1522b1{static get[_0xb9cbd9(0x162)](){const _0xa90bea=_0xb9cbd9;return _0xa90bea(0x165);}static get[_0xb9cbd9(0x178)](){return!0x0;}static get[_0xb9cbd9(0x16d)](){return!0x0;}static get[_0xb9cbd9(0x184)](){return[_0x9541e9];}constructor(_0x3e730d){const _0x4e83b5=_0xb9cbd9;super(_0x3e730d),this[_0x4e83b5(0x17e)](_0x4e83b5(0x174),!0x1),this['on'](_0x4e83b5(0x16e),(_0x4a0ba5,_0x1d8d56,_0x47ada2)=>{const _0x51bdb9=_0x4e83b5;_0x47ada2?this[_0x51bdb9(0x177)]():this[_0x51bdb9(0x18d)]();});}[_0xb9cbd9(0x185)](){const _0x5d47e8=_0xb9cbd9;!this[_0x5d47e8(0x174)]&&this[_0x5d47e8(0x173)][_0x5d47e8(0x179)][_0x5d47e8(0x171)](_0x5d47e8(0x168))&&(this[_0x5d47e8(0x174)]=!0x0);}[_0xb9cbd9(0x177)](){const _0x37ce69=_0xb9cbd9;var _0x13004a;for(const [_0x2f93b5,_0x3ee2b5]of this[_0x37ce69(0x173)][_0x37ce69(0x180)])_0x3ee2b5[_0x37ce69(0x183)]&&_0x37ce69(0x17c)!==_0x2f93b5&&_0x3ee2b5[_0x37ce69(0x176)](_0x37ce69(0x17a));(this[_0x37ce69(0x173)][_0x37ce69(0x188)][_0x37ce69(0x187)](_0x37ce69(0x169))&&this[_0x37ce69(0x173)][_0x37ce69(0x188)][_0x37ce69(0x171)](_0x37ce69(0x169))[_0x37ce69(0x176)](_0x37ce69(0x17a)),this[_0x37ce69(0x173)][_0x37ce69(0x188)][_0x37ce69(0x187)](_0x37ce69(0x166)))&&this[_0x37ce69(0x173)][_0x37ce69(0x188)][_0x37ce69(0x171)](_0x37ce69(0x166))[_0x37ce69(0x176)](_0x37ce69(0x17a));null===(_0x13004a=this[_0x37ce69(0x173)][_0x37ce69(0x180)][_0x37ce69(0x171)](_0x37ce69(0x17f)))||void 0x0===_0x13004a||_0x13004a[_0x37ce69(0x176)](_0x37ce69(0x17a));const _0x580dd2=this[_0x37ce69(0x173)][_0x37ce69(0x186)][_0x37ce69(0x167)][_0x37ce69(0x189)];this[_0x37ce69(0x16b)](_0x580dd2,_0x37ce69(0x16c),_0x1ae4ee=>_0x1ae4ee[_0x37ce69(0x170)](),{'priority':_0x37ce69(0x175)}),this[_0x37ce69(0x16b)](_0x580dd2,_0x37ce69(0x16a),_0x32e535=>_0x32e535[_0x37ce69(0x170)](),{'priority':_0x37ce69(0x175)}),this[_0x37ce69(0x16b)](_0x580dd2,_0x37ce69(0x181),_0x1dbed8=>_0x1dbed8[_0x37ce69(0x170)](),{'priority':_0x37ce69(0x175)});}[_0xb9cbd9(0x18d)](){const _0x4bee16=_0xb9cbd9;var _0x57b2f8;for(const [_0x5a68f3,_0x44da7f]of this[_0x4bee16(0x173)][_0x4bee16(0x180)])_0x44da7f[_0x4bee16(0x183)]&&_0x4bee16(0x17c)!==_0x5a68f3&&_0x44da7f[_0x4bee16(0x17d)](_0x4bee16(0x17a));this[_0x4bee16(0x173)][_0x4bee16(0x188)][_0x4bee16(0x187)](_0x4bee16(0x166))&&this[_0x4bee16(0x173)][_0x4bee16(0x188)][_0x4bee16(0x171)](_0x4bee16(0x166))[_0x4bee16(0x17d)](_0x4bee16(0x17a)),null===(_0x57b2f8=this[_0x4bee16(0x173)][_0x4bee16(0x180)][_0x4bee16(0x171)](_0x4bee16(0x17f)))||void 0x0===_0x57b2f8||_0x57b2f8[_0x4bee16(0x17d)](_0x4bee16(0x17a)),this[_0x4bee16(0x172)](this[_0x4bee16(0x173)][_0x4bee16(0x186)][_0x4bee16(0x167)][_0x4bee16(0x189)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x537d(_0x2f43ad,_0x3623a5){var _0x4d4283=_0x4d42();return _0x537d=function(_0x537dbb,_0x5b6574){_0x537dbb=_0x537dbb-0x1bf;var _0x579cb3=_0x4d4283[_0x537dbb];return _0x579cb3;},_0x537d(_0x2f43ad,_0x3623a5);}(function(_0x3be25e,_0x59474a){var _0x3189c3=_0x537d,_0xaca2e5=_0x3be25e();while(!![]){try{var _0x4e86ce=parseInt(_0x3189c3(0x1c5))/0x1+-parseInt(_0x3189c3(0x1c3))/0x2+parseInt(_0x3189c3(0x1c4))/0x3+parseInt(_0x3189c3(0x1c0))/0x4+parseInt(_0x3189c3(0x1bf))/0x5+parseInt(_0x3189c3(0x1c1))/0x6+parseInt(_0x3189c3(0x1c6))/0x7*(-parseInt(_0x3189c3(0x1c2))/0x8);if(_0x4e86ce===_0x59474a)break;else _0xaca2e5['push'](_0xaca2e5['shift']());}catch(_0x8a7d39){_0xaca2e5['push'](_0xaca2e5['shift']());}}}(_0x4d42,0xd081c));export{default as Comments}from'./comments.js';export{default as CommentsOnly}from'./commentsonly.js';function _0x4d42(){var _0x282a89=['1413090qwfcaU','1822120IbTIRp','6721662eEwFBw','88INROTH','1612092ZwlDsY','4734444oGyzut','1217750QTpZEj','1905421KkXRhP'];_0x4d42=function(){return _0x282a89;};return _0x4d42();}export{default as CommentsUI}from'./comments/commentsui.js';export{default as CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{default as Annotation}from'./annotations/annotation.js';export{default as Annotations}from'./annotations/annotations.js';export{default as AnnotationCollection}from'./annotations/annotationcollection.js';export{default as AnnotationsUIs}from'./annotations/annotationsuis.js';export{default as EditorAnnotations}from'./annotations/editorannotations.js';export{default as InlineAnnotations}from'./annotations/inlineannotations.js';export{default as WideSidebar}from'./annotations/widesidebar.js';export{default as NarrowSidebar}from'./annotations/narrowsidebar.js';export{default as AnnotationView}from'./annotations/view/annotationview.js';export{default as BaseCommentView}from'./comments/ui/view/basecommentview.js';export{default as BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{default as CommentsListView}from'./comments/ui/view/commentslistview.js';export{default as CommentView}from'./comments/ui/view/commentview.js';export{default as CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{default as CommentsArchive}from'./comments/commentsarchive.js';export{default as CommentsArchiveUI}from'./comments/commentsarchiveui.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x48cfc9,_0x3a90ca,_0x53165a){const t=_0x48cfc9['t'];switch(_0x3a90ca){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'},_0x53165a);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'},_0x53165a);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'},_0x53165a);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'},_0x53165a);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x53165a);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'},_0x53165a);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'},_0x53165a);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'},_0x53165a);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(_0x70e2b7,_0x20e0eb){const _0xd0188f=_0x5b4b,_0x453f14=_0x70e2b7();while(!![]){try{const _0x182b9f=-parseInt(_0xd0188f(0x1f7))/0x1*(-parseInt(_0xd0188f(0x1f1))/0x2)+-parseInt(_0xd0188f(0x1e7))/0x3+parseInt(_0xd0188f(0x1ef))/0x4+-parseInt(_0xd0188f(0x1f5))/0x5+-parseInt(_0xd0188f(0x1ec))/0x6*(parseInt(_0xd0188f(0x1ed))/0x7)+parseInt(_0xd0188f(0x1f0))/0x8+parseInt(_0xd0188f(0x1f3))/0x9;if(_0x182b9f===_0x20e0eb)break;else _0x453f14['push'](_0x453f14['shift']());}catch(_0x2d234f){_0x453f14['push'](_0x453f14['shift']());}}}(_0x59b7,0xe55f7));function _0x5b4b(_0x296fcf,_0x2120b5){const _0x59b7ce=_0x59b7();return _0x5b4b=function(_0x5b4bf6,_0x58b7c2){_0x5b4bf6=_0x5b4bf6-0x1e7;let _0xd16659=_0x59b7ce[_0x5b4bf6];return _0xd16659;},_0x5b4b(_0x296fcf,_0x2120b5);}import{throttle as _0x3261f4}from'lodash-es';export default function Lt(_0x5870b7){const _0xbbcf6a=_0x3261f4(_0x5870b7,0x1e),_0x446f1=new MutationObserver(_0xe953c0=>{const _0x531654=_0x5b4b;for(const _0x3c0a5e of _0xe953c0)(_0x531654(0x1f8)==_0x3c0a5e[_0x531654(0x1eb)]&&_0x531654(0x1f4)==_0x3c0a5e[_0x531654(0x1f2)]||_0x531654(0x1e8)==_0x3c0a5e[_0x531654(0x1eb)]||_0x531654(0x1e9)==_0x3c0a5e[_0x531654(0x1eb)])&&_0xbbcf6a();});return{'attach'(_0xc25e0d){const _0x43cc9e=_0x5b4b;_0x446f1[_0x43cc9e(0x1f6)](_0xc25e0d,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x1e6056=_0x5b4b;_0x446f1[_0x1e6056(0x1ea)](),_0xbbcf6a[_0x1e6056(0x1ee)]();}};}function _0x59b7(){const _0x480c60=['cancel','6456720jURrCJ','9244072wXKKjm','45978TcWLBl','attributeName','19992015kfAslJ','class','9356435ZFrHnI','observe','1QxblBE','attributes','1982406hvLCXS','childList','characterData','disconnect','type','8706BwATkz','7441ZgblbW'];_0x59b7=function(){return _0x480c60;};return _0x59b7();}
|