@ckeditor/ckeditor5-comments 47.2.0-alpha.2 → 47.2.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x9e84f8=_0x337c;(function(_0x106c44,_0x16b9e5){const _0x25ba43=_0x337c,_0x23be00=_0x106c44();while(!![]){try{const _0x2e1a26=parseInt(_0x25ba43(0x148))/0x1+-parseInt(_0x25ba43(0x14f))/0x2*(-parseInt(_0x25ba43(0x12a))/0x3)+-parseInt(_0x25ba43(0x143))/0x4+parseInt(_0x25ba43(0x144))/0x5+parseInt(_0x25ba43(0x11a))/0x6+-parseInt(_0x25ba43(0x103))/0x7*(parseInt(_0x25ba43(0x140))/0x8)+-parseInt(_0x25ba43(0x121))/0x9;if(_0x2e1a26===_0x16b9e5)break;else _0x23be00['push'](_0x23be00['shift']());}catch(_0x4775a2){_0x23be00['push'](_0x23be00['shift']());}}}(_0xdc0e,0xb617e));import{View as _0x94c0ac,FocusCycler as _0x3a3d63}from'ckeditor5/src/ui.js';import{diff as _0x182389,Collection as _0x47d85e,FocusTracker as _0xf9e105,KeystrokeHandler as _0x52fc1c}from'ckeditor5/src/utils.js';import{getTranslation as _0x594438}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x2a0daa}from'./collapsedcommentsview.js';function _0x337c(_0xc84dde,_0x513120){const _0xdc0e3b=_0xdc0e();return _0x337c=function(_0x337c14,_0x4b3820){_0x337c14=_0x337c14-0xf1;let _0xc034a=_0xdc0e3b[_0x337c14];return _0xc034a;},_0x337c(_0xc84dde,_0x513120);}export class CommentsListView extends _0x94c0ac{[_0x9e84f8(0xfa)];[_0x9e84f8(0x12c)];[_0x9e84f8(0x124)];[_0x9e84f8(0x12f)];[_0x9e84f8(0xf2)];[_0x9e84f8(0x147)];[_0x9e84f8(0x100)];[_0x9e84f8(0x101)];constructor(_0x2dfb59,_0x3b4a33,_0xd1c0c){const _0x49e76d=_0x9e84f8;super(_0x2dfb59);const _0x3a6def=this[_0x49e76d(0x12d)];this[_0x49e76d(0x129)](_0x49e76d(0x115),!0x1),this[_0x49e76d(0x129)](_0x49e76d(0xf3),_0x3b4a33[_0x49e76d(0x11c)][_0x49e76d(0xf3)]),this[_0x49e76d(0x129)](_0x49e76d(0x136),!0x1),this[_0x49e76d(0x147)]=_0x3b4a33,this[_0x49e76d(0x100)]=_0xd1c0c,this[_0x49e76d(0xfa)]=this[_0x49e76d(0x141)](),this[_0x49e76d(0xf9)]=this[_0x49e76d(0x141)](),this[_0x49e76d(0x12c)]=null,this[_0x49e76d(0x124)]=new _0xf9e105(),this[_0x49e76d(0x12f)]=new _0x52fc1c(),this[_0x49e76d(0xf2)]=new _0x3a3d63({'focusables':this[_0x49e76d(0xfa)],'focusTracker':this[_0x49e76d(0x124)],'keystrokeHandler':this[_0x49e76d(0x12f)],'keystrokeHandlerOptions':{'filter':_0xb8c0b8=>this[_0x49e76d(0xfa)][_0x49e76d(0x130)](_0x27fed5=>_0x27fed5[_0x49e76d(0x14e)])[_0x49e76d(0x117)](_0xb8c0b8[_0x49e76d(0x14a)])},'actions':{'focusPrevious':_0x49e76d(0x127),'focusNext':_0x49e76d(0x108)}}),this[_0x49e76d(0x101)]=new _0x2a0daa(_0x2dfb59),this[_0x49e76d(0x101)][_0x49e76d(0x102)](_0x49e76d(0x120))['to'](this,_0x49e76d(0xf3),_0x441ba8=>_0x441ba8-this[_0x49e76d(0x100)][_0x49e76d(0x145)]);for(const _0x4c3fd8 of _0x3b4a33[_0x49e76d(0x11c)])this[_0x49e76d(0x11f)](_0x4c3fd8);this[_0x49e76d(0x10f)](),this[_0x49e76d(0xf8)](_0x3b4a33[_0x49e76d(0x11c)],_0x49e76d(0x10a),(_0x5b2593,_0x4090a0)=>{const _0x49feb7=_0x49e76d,_0x4b3dd8=this[_0x49feb7(0x135)](_0x4090a0);this[_0x49feb7(0xf3)]++,this[_0x49feb7(0x11f)](_0x4090a0,_0x4b3dd8),this[_0x49feb7(0x139)]();}),this[_0x49e76d(0xf8)](_0x3b4a33[_0x49e76d(0x11c)],_0x49e76d(0x114),(_0x1788cd,_0x23313c)=>{const _0x2b23f9=_0x49e76d;this[_0x2b23f9(0xf3)]--,this[_0x2b23f9(0x138)](_0x23313c),this[_0x2b23f9(0x139)]();}),this[_0x49e76d(0xf8)](_0x3b4a33,_0x49e76d(0xf5),()=>this[_0x49e76d(0x139)]()),this[_0x49e76d(0xf8)](_0x3b4a33,_0x49e76d(0x10e),()=>this[_0x49e76d(0x10f)]()),this['on'](_0x49e76d(0x150),()=>this[_0x49e76d(0x139)]()),this['on'](_0x49e76d(0x128),()=>this[_0x49e76d(0x139)]()),this[_0x49e76d(0x109)]({'tag':'ul','attributes':{'class':[_0x49e76d(0x11e),_0x3a6def['if'](_0x49e76d(0xf3),_0x49e76d(0xfe),_0x311cb1=>!_0x311cb1)],'aria-label':_0x594438(_0x2dfb59,_0x49e76d(0x13e))},'children':this[_0x49e76d(0xf9)]});}get[_0x9e84f8(0x107)](){const _0x160aa0=_0x9e84f8;return this[_0x160aa0(0x147)][_0x160aa0(0x133)]>this[_0x160aa0(0x100)][_0x160aa0(0x106)]&&!this[_0x160aa0(0x136)]&&!this[_0x160aa0(0x115)];}[_0x9e84f8(0xfd)](){const _0x5d935c=_0x9e84f8;super[_0x5d935c(0xfd)](),this[_0x5d935c(0x139)](),this[_0x5d935c(0x137)]();}[_0x9e84f8(0xfc)](_0x1f48fa){const _0x177eb5=_0x9e84f8;-0x1===_0x1f48fa?this[_0x177eb5(0xf2)][_0x177eb5(0xff)]():this[_0x177eb5(0xf2)][_0x177eb5(0x134)]();}[_0x9e84f8(0x10d)](){const _0x13cddc=_0x9e84f8;this[_0x13cddc(0x101)][_0x13cddc(0x10d)]();for(const _0x47959e of this[_0x13cddc(0xfa)])_0x47959e[_0x13cddc(0x10d)]();super[_0x13cddc(0x10d)]();}[_0x9e84f8(0x139)](){const _0x2e9067=_0x9e84f8;this[_0x2e9067(0x107)]?this[_0x2e9067(0x12e)]():this[_0x2e9067(0x116)]();}[_0x9e84f8(0x11f)](_0x5171ca,_0x1d633d){const _0x1369f3=_0x9e84f8,_0x1156b1=new this[(_0x1369f3(0x100))][(_0x1369f3(0x132))](this[_0x1369f3(0x122)],_0x5171ca,{'maxCommentCharsWhenCollapsed':this[_0x1369f3(0x100)][_0x1369f3(0xf1)],'formatDateTime':this[_0x1369f3(0x100)][_0x1369f3(0x123)],'editorConfig':this[_0x1369f3(0x100)][_0x1369f3(0x119)]});_0x1156b1[_0x1369f3(0x12b)]=_0x5171ca['id'],_0x1156b1[_0x1369f3(0x146)](_0x1369f3(0x14d))['to'](this),_0x1156b1[_0x1369f3(0x146)](_0x1369f3(0x13d))['to'](this),_0x1156b1[_0x1369f3(0x146)](_0x1369f3(0x110))['to'](this),_0x1156b1[_0x1369f3(0x146)](_0x1369f3(0xfb))['to'](this),_0x1156b1[_0x1369f3(0x146)](_0x1369f3(0x149))['to'](this),this[_0x1369f3(0xf8)](_0x1156b1,_0x1369f3(0x13c),()=>this[_0x1369f3(0x113)]()),this[_0x1369f3(0xfa)][_0x1369f3(0x10a)](_0x1156b1,_0x1d633d);}[_0x9e84f8(0x135)](_0x4ac719){const _0x1bc019=_0x9e84f8,_0x34a7dd=this[_0x1bc019(0x147)][_0x1bc019(0x111)](_0x4ac719);return this[_0x1bc019(0x12c)]?this[_0x1bc019(0x12c)][_0x1bc019(0x104)]>_0x4ac719[_0x1bc019(0x104)]?_0x34a7dd-0x1:_0x34a7dd:_0x34a7dd-0x1;}[_0x9e84f8(0x10f)](){const _0x4a54ed=_0x9e84f8;if(this[_0x4a54ed(0x147)][_0x4a54ed(0x105)]&&this[_0x4a54ed(0x147)][_0x4a54ed(0x10c)]){const _0x4e8899={'id':_0x4a54ed(0x14b),'author':this[_0x4a54ed(0x147)][_0x4a54ed(0x105)],'authoredAt':this[_0x4a54ed(0x147)][_0x4a54ed(0x10c)],'content':_0x594438(this[_0x4a54ed(0x122)],_0x4a54ed(0x131)),'attributes':{}};this[_0x4a54ed(0x12c)]=new this[(_0x4a54ed(0x100))][(_0x4a54ed(0x132))](this[_0x4a54ed(0x122)],_0x4e8899,{'maxCommentCharsWhenCollapsed':this[_0x4a54ed(0x100)][_0x4a54ed(0xf1)],'formatDateTime':this[_0x4a54ed(0x100)][_0x4a54ed(0x123)],'editorConfig':this[_0x4a54ed(0x100)][_0x4a54ed(0x119)],'isSystemComment':!0x0}),this[_0x4a54ed(0xfa)][_0x4a54ed(0x10a)](this[_0x4a54ed(0x12c)],this[_0x4a54ed(0x147)][_0x4a54ed(0x111)](_0x4e8899));}else this[_0x4a54ed(0x12c)]&&(this[_0x4a54ed(0xfa)][_0x4a54ed(0x114)](this[_0x4a54ed(0x12c)]),this[_0x4a54ed(0x12c)][_0x4a54ed(0x10d)](),this[_0x4a54ed(0x12c)]=null);this[_0x4a54ed(0x139)]();}[_0x9e84f8(0x138)](_0x2dbb80){const _0x18b4c5=_0x9e84f8,_0x39ca88=this[_0x18b4c5(0xfa)][_0x18b4c5(0x114)](_0x2dbb80['id']);this[_0x18b4c5(0xf4)](_0x39ca88),_0x39ca88[_0x18b4c5(0x112)]&&this[_0x18b4c5(0x113)](),_0x39ca88[_0x18b4c5(0x10d)]();}[_0x9e84f8(0x113)](){const _0x53543f=_0x9e84f8;this[_0x53543f(0x115)]=Array[_0x53543f(0x11b)](this[_0x53543f(0xfa)])[_0x53543f(0x118)](_0x269fcf=>_0x269fcf[_0x53543f(0x112)]);}[_0x9e84f8(0x12e)](){const _0x28568b=_0x9e84f8,_0x10a5c1=function(_0x2290dc){const _0xdaf010=_0x337c,_0x2feadf=new _0x47d85e();for(const _0x194095 of _0x2290dc)_0x2feadf[_0xdaf010(0x10a)](_0x194095);return _0x2feadf;}(this[_0x28568b(0xfa)]),_0x331117=this[_0x28568b(0x101)][_0x28568b(0x120)];for(let _0x35fcb2=0x1;_0x35fcb2<=_0x331117;_0x35fcb2++)_0x10a5c1[_0x28568b(0x114)](0x1);for(const _0xa42270 of _0x10a5c1)_0xa42270[_0x28568b(0xf6)]();_0x331117>0x0&&_0x10a5c1[_0x28568b(0x10a)](this[_0x28568b(0x101)],0x1),ns(_0x182389(Array[_0x28568b(0x11b)](this[_0x28568b(0xf9)]),Array[_0x28568b(0x11b)](_0x10a5c1)),this[_0x28568b(0xf9)],_0x10a5c1);}[_0x9e84f8(0x116)](){const _0x53ac47=_0x9e84f8;ns(_0x182389(Array[_0x53ac47(0x11b)](this[_0x53ac47(0xf9)]),Array[_0x53ac47(0x11b)](this[_0x53ac47(0xfa)])),this[_0x53ac47(0xf9)],this[_0x53ac47(0xfa)]);for(const _0x6dd011 of this[_0x53ac47(0xf9)])_0x6dd011[_0x53ac47(0x142)]();}[_0x9e84f8(0x137)](){const _0x2cf7f7=_0x9e84f8;this[_0x2cf7f7(0xfa)][_0x2cf7f7(0x126)](_0x3a84d7=>{const _0x18a6e2=_0x2cf7f7;this[_0x18a6e2(0x124)][_0x18a6e2(0x10a)](_0x3a84d7[_0x18a6e2(0x14e)]),this[_0x18a6e2(0x12f)][_0x18a6e2(0xf8)](_0x3a84d7[_0x18a6e2(0x14e)]);}),this[_0x2cf7f7(0xfa)]['on'](_0x2cf7f7(0x13f),(_0x4d49da,_0xdc9f20)=>{const _0x363713=_0x2cf7f7;for(const _0x48f346 of _0xdc9f20[_0x363713(0xf7)])this[_0x363713(0x124)][_0x363713(0x114)](_0x48f346[_0x363713(0x14e)]),this[_0x363713(0x12f)][_0x363713(0xf4)](_0x48f346[_0x363713(0x14e)]);for(const _0x55781d of Array[_0x363713(0x11b)](_0xdc9f20[_0x363713(0x125)])[_0x363713(0x14c)]())this[_0x363713(0x124)][_0x363713(0x10a)](_0x55781d[_0x363713(0x14e)]),this[_0x363713(0x12f)][_0x363713(0xf8)](_0x55781d[_0x363713(0x14e)]);});}}function _0xdc0e(){const _0x6dc64f=['delegate','_model','1223069MIwrhB','editorDestroyed','target','resolved','reverse','removeComment','element','690gNfbFB','change:isActive','maxCommentCharsWhenCollapsed','focusCycler','length','stopListening','commentUpdated','collapse','removed','listenTo','visibleViews','commentViews','editorReady','focus','render','ck-hidden','focusLast','_config','_collapsedCommentsView','bind','4673039CNCHHR','authoredAt','resolvedBy','maxThreadTotalWeight','_shouldCollapse','arrowdown','setTemplate','add','get','resolvedAt','destroy','change:isResolved','_handleInfoComment','resolveCommentThread','_findOptimalIndex','isEditMode','_updateHasDirtyComment','remove','hasDirtyComment','_rearrangeExpand','includes','some','editorConfig','8338674mKGTuv','from','comments','insert','ck-thread__comments','_handleNewCommentModel','count','13395483zleQpi','locale','formatDateTime','focusTracker','added','forEach','arrowup','change:hasDirtyComment','set','2721FFrugB','viewUid','resolvedCommentView','bindTemplate','_rearrangeCollapse','keystrokes','map','Marked\x20as\x20resolved','CommentView','weight','focusFirst','_calculatePosition','isActive','_setupKeyboardNavigation','_handleRemoveCommentModel','refreshVisibleViews','equal','delete','change:isEditMode','updateComment','Thread\x20comments','change','16KPvryh','createCollection','expand','512920vVnKvc','3859310bGLsRV','maxCommentsWhenCollapsed'];_0xdc0e=function(){return _0x6dc64f;};return _0xdc0e();}function ns(_0x399249,_0x39dec1,_0x66bc96){const _0x3fbecf=_0x9e84f8;let _0x39547f=0x0;for(const _0x4db27a of _0x399249)switch(_0x4db27a){case _0x3fbecf(0x11d):_0x39dec1[_0x3fbecf(0x10a)](_0x66bc96[_0x3fbecf(0x10b)](_0x39547f),_0x39547f),_0x39547f++;break;case _0x3fbecf(0x13b):_0x39dec1[_0x3fbecf(0x114)](_0x39547f);break;case _0x3fbecf(0x13a):_0x39547f++;}}
|
|
23
|
+
const _0x22f41c=_0x2adb;(function(_0x4c6b1c,_0x23657e){const _0xb0872b=_0x2adb,_0x46ae96=_0x4c6b1c();while(!![]){try{const _0x1dfa91=parseInt(_0xb0872b(0x1e0))/0x1*(-parseInt(_0xb0872b(0x1e7))/0x2)+-parseInt(_0xb0872b(0x1e6))/0x3*(-parseInt(_0xb0872b(0x235))/0x4)+-parseInt(_0xb0872b(0x1e1))/0x5+parseInt(_0xb0872b(0x21b))/0x6+parseInt(_0xb0872b(0x22b))/0x7+parseInt(_0xb0872b(0x1f6))/0x8*(-parseInt(_0xb0872b(0x22e))/0x9)+-parseInt(_0xb0872b(0x222))/0xa;if(_0x1dfa91===_0x23657e)break;else _0x46ae96['push'](_0x46ae96['shift']());}catch(_0xe77cf2){_0x46ae96['push'](_0x46ae96['shift']());}}}(_0x3faa,0x61da0));function _0x3faa(){const _0x33cc6c=['5453504CLPRrQ','set','comments','16839wiZYsX','formatDateTime','_setupKeyboardNavigation','added','render','maxCommentCharsWhenCollapsed','_handleInfoComment','1614812SCtDgI','get','arrowdown','resolvedBy','_findOptimalIndex','locale','removed','bind','destroy','resolvedAt','editorDestroyed','delegate','4HpPUBT','3785715QlDNOQ','count','_handleNewCommentModel','some','change:isActive','3VYqdDy','94060iLCoEo','Thread\x20comments','focusTracker','isEditMode','createCollection','keystrokes','change:isResolved','insert','add','change','expand','delete','map','_calculatePosition','_model','2344OxTuSG','CommentView','from','focusFirst','includes','ck-hidden','change:isEditMode','equal','arrowup','commentUpdated','resolvedCommentView','setTemplate','commentViews','_updateHasDirtyComment','editorReady','hasDirtyComment','updateComment','remove','_rearrangeExpand','weight','ck-thread__comments','change:hasDirtyComment','element','isActive','listenTo','resolveCommentThread','focusLast','stopListening','_config','authoredAt','target','focusCycler','maxThreadTotalWeight','Marked\x20as\x20resolved','bindTemplate','resolved','focus','4675902iXlWGs','refreshVisibleViews','maxCommentsWhenCollapsed','_collapsedCommentsView','_rearrangeCollapse','removeComment','_handleRemoveCommentModel','678260XJQUVN','editorConfig','viewUid','length','_shouldCollapse','reverse','forEach','visibleViews','collapse'];_0x3faa=function(){return _0x33cc6c;};return _0x3faa();}import{View as _0x410eaa,FocusCycler as _0x332d97}from'ckeditor5/src/ui.js';import{diff as _0x58c3e5,Collection as _0x36ce4e,FocusTracker as _0x20a75c,KeystrokeHandler as _0x524372}from'ckeditor5/src/utils.js';import{getTranslation as _0x110a9b}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x449026}from'./collapsedcommentsview.js';function _0x2adb(_0x40e390,_0x466e1b){const _0x3faa90=_0x3faa();return _0x2adb=function(_0x2adbea,_0x263bdd){_0x2adbea=_0x2adbea-0x1d6;let _0x267ae5=_0x3faa90[_0x2adbea];return _0x267ae5;},_0x2adb(_0x40e390,_0x466e1b);}export class CommentsListView extends _0x410eaa{[_0x22f41c(0x202)];[_0x22f41c(0x200)];[_0x22f41c(0x1e9)];[_0x22f41c(0x1ec)];[_0x22f41c(0x215)];[_0x22f41c(0x1f5)];[_0x22f41c(0x212)];[_0x22f41c(0x21e)];constructor(_0x3e5e45,_0x11f429,_0x3a2b9e){const _0x5f4caf=_0x22f41c;super(_0x3e5e45);const _0x49d440=this[_0x5f4caf(0x218)];this[_0x5f4caf(0x22c)](_0x5f4caf(0x205),!0x1),this[_0x5f4caf(0x22c)](_0x5f4caf(0x225),_0x11f429[_0x5f4caf(0x22d)][_0x5f4caf(0x225)]),this[_0x5f4caf(0x22c)](_0x5f4caf(0x20d),!0x1),this[_0x5f4caf(0x1f5)]=_0x11f429,this[_0x5f4caf(0x212)]=_0x3a2b9e,this[_0x5f4caf(0x202)]=this[_0x5f4caf(0x1eb)](),this[_0x5f4caf(0x229)]=this[_0x5f4caf(0x1eb)](),this[_0x5f4caf(0x200)]=null,this[_0x5f4caf(0x1e9)]=new _0x20a75c(),this[_0x5f4caf(0x1ec)]=new _0x524372(),this[_0x5f4caf(0x215)]=new _0x332d97({'focusables':this[_0x5f4caf(0x202)],'focusTracker':this[_0x5f4caf(0x1e9)],'keystrokeHandler':this[_0x5f4caf(0x1ec)],'keystrokeHandlerOptions':{'filter':_0xba90cd=>this[_0x5f4caf(0x202)][_0x5f4caf(0x1f3)](_0x347c5a=>_0x347c5a[_0x5f4caf(0x20c)])[_0x5f4caf(0x1fa)](_0xba90cd[_0x5f4caf(0x214)])},'actions':{'focusPrevious':_0x5f4caf(0x1fe),'focusNext':_0x5f4caf(0x1d6)}}),this[_0x5f4caf(0x21e)]=new _0x449026(_0x3e5e45),this[_0x5f4caf(0x21e)][_0x5f4caf(0x1db)](_0x5f4caf(0x1e2))['to'](this,_0x5f4caf(0x225),_0x29a16d=>_0x29a16d-this[_0x5f4caf(0x212)][_0x5f4caf(0x21d)]);for(const _0x147c87 of _0x11f429[_0x5f4caf(0x22d)])this[_0x5f4caf(0x1e3)](_0x147c87);this[_0x5f4caf(0x234)](),this[_0x5f4caf(0x20e)](_0x11f429[_0x5f4caf(0x22d)],_0x5f4caf(0x1ef),(_0xc06177,_0x4753c8)=>{const _0x5aa730=_0x5f4caf,_0x241953=this[_0x5aa730(0x1f4)](_0x4753c8);this[_0x5aa730(0x225)]++,this[_0x5aa730(0x1e3)](_0x4753c8,_0x241953),this[_0x5aa730(0x21c)]();}),this[_0x5f4caf(0x20e)](_0x11f429[_0x5f4caf(0x22d)],_0x5f4caf(0x207),(_0x4e22bc,_0x36d4a5)=>{const _0x66c66b=_0x5f4caf;this[_0x66c66b(0x225)]--,this[_0x66c66b(0x221)](_0x36d4a5),this[_0x66c66b(0x21c)]();}),this[_0x5f4caf(0x20e)](_0x11f429,_0x5f4caf(0x1ff),()=>this[_0x5f4caf(0x21c)]()),this[_0x5f4caf(0x20e)](_0x11f429,_0x5f4caf(0x1ed),()=>this[_0x5f4caf(0x234)]()),this['on'](_0x5f4caf(0x1e5),()=>this[_0x5f4caf(0x21c)]()),this['on'](_0x5f4caf(0x20b),()=>this[_0x5f4caf(0x21c)]()),this[_0x5f4caf(0x201)]({'tag':'ul','attributes':{'class':[_0x5f4caf(0x20a),_0x49d440['if'](_0x5f4caf(0x225),_0x5f4caf(0x1fb),_0x4f15a3=>!_0x4f15a3)],'aria-label':_0x110a9b(_0x3e5e45,_0x5f4caf(0x1e8))},'children':this[_0x5f4caf(0x229)]});}get[_0x22f41c(0x226)](){const _0x4c1318=_0x22f41c;return this[_0x4c1318(0x1f5)][_0x4c1318(0x209)]>this[_0x4c1318(0x212)][_0x4c1318(0x216)]&&!this[_0x4c1318(0x20d)]&&!this[_0x4c1318(0x205)];}[_0x22f41c(0x232)](){const _0x2db4a0=_0x22f41c;super[_0x2db4a0(0x232)](),this[_0x2db4a0(0x21c)](),this[_0x2db4a0(0x230)]();}[_0x22f41c(0x21a)](_0x5ec3b6){const _0xd96ad2=_0x22f41c;-0x1===_0x5ec3b6?this[_0xd96ad2(0x215)][_0xd96ad2(0x210)]():this[_0xd96ad2(0x215)][_0xd96ad2(0x1f9)]();}[_0x22f41c(0x1dc)](){const _0x1b8d0f=_0x22f41c;this[_0x1b8d0f(0x21e)][_0x1b8d0f(0x1dc)]();for(const _0x118e75 of this[_0x1b8d0f(0x202)])_0x118e75[_0x1b8d0f(0x1dc)]();super[_0x1b8d0f(0x1dc)]();}[_0x22f41c(0x21c)](){const _0x3614c6=_0x22f41c;this[_0x3614c6(0x226)]?this[_0x3614c6(0x21f)]():this[_0x3614c6(0x208)]();}[_0x22f41c(0x1e3)](_0x192b0c,_0x20fa6b){const _0x119975=_0x22f41c,_0x3404dc=new this[(_0x119975(0x212))][(_0x119975(0x1f7))](this[_0x119975(0x1d9)],_0x192b0c,{'maxCommentCharsWhenCollapsed':this[_0x119975(0x212)][_0x119975(0x233)],'formatDateTime':this[_0x119975(0x212)][_0x119975(0x22f)],'editorConfig':this[_0x119975(0x212)][_0x119975(0x223)]});_0x3404dc[_0x119975(0x224)]=_0x192b0c['id'],_0x3404dc[_0x119975(0x1df)](_0x119975(0x220))['to'](this),_0x3404dc[_0x119975(0x1df)](_0x119975(0x206))['to'](this),_0x3404dc[_0x119975(0x1df)](_0x119975(0x20f))['to'](this),_0x3404dc[_0x119975(0x1df)](_0x119975(0x204))['to'](this),_0x3404dc[_0x119975(0x1df)](_0x119975(0x1de))['to'](this),this[_0x119975(0x20e)](_0x3404dc,_0x119975(0x1fc),()=>this[_0x119975(0x203)]()),this[_0x119975(0x202)][_0x119975(0x1ef)](_0x3404dc,_0x20fa6b);}[_0x22f41c(0x1f4)](_0x4c6a2b){const _0x479cc7=_0x22f41c,_0x5d2dba=this[_0x479cc7(0x1f5)][_0x479cc7(0x1d8)](_0x4c6a2b);return this[_0x479cc7(0x200)]?this[_0x479cc7(0x200)][_0x479cc7(0x213)]>_0x4c6a2b[_0x479cc7(0x213)]?_0x5d2dba-0x1:_0x5d2dba:_0x5d2dba-0x1;}[_0x22f41c(0x234)](){const _0x367be3=_0x22f41c;if(this[_0x367be3(0x1f5)][_0x367be3(0x1d7)]&&this[_0x367be3(0x1f5)][_0x367be3(0x1dd)]){const _0x2322ca={'id':_0x367be3(0x219),'author':this[_0x367be3(0x1f5)][_0x367be3(0x1d7)],'authoredAt':this[_0x367be3(0x1f5)][_0x367be3(0x1dd)],'content':_0x110a9b(this[_0x367be3(0x1d9)],_0x367be3(0x217)),'attributes':{}};this[_0x367be3(0x200)]=new this[(_0x367be3(0x212))][(_0x367be3(0x1f7))](this[_0x367be3(0x1d9)],_0x2322ca,{'maxCommentCharsWhenCollapsed':this[_0x367be3(0x212)][_0x367be3(0x233)],'formatDateTime':this[_0x367be3(0x212)][_0x367be3(0x22f)],'editorConfig':this[_0x367be3(0x212)][_0x367be3(0x223)],'isSystemComment':!0x0}),this[_0x367be3(0x202)][_0x367be3(0x1ef)](this[_0x367be3(0x200)],this[_0x367be3(0x1f5)][_0x367be3(0x1d8)](_0x2322ca));}else this[_0x367be3(0x200)]&&(this[_0x367be3(0x202)][_0x367be3(0x207)](this[_0x367be3(0x200)]),this[_0x367be3(0x200)][_0x367be3(0x1dc)](),this[_0x367be3(0x200)]=null);this[_0x367be3(0x21c)]();}[_0x22f41c(0x221)](_0x577a6d){const _0x49b360=_0x22f41c,_0x4da423=this[_0x49b360(0x202)][_0x49b360(0x207)](_0x577a6d['id']);this[_0x49b360(0x211)](_0x4da423),_0x4da423[_0x49b360(0x1ea)]&&this[_0x49b360(0x203)](),_0x4da423[_0x49b360(0x1dc)]();}[_0x22f41c(0x203)](){const _0x20e5b2=_0x22f41c;this[_0x20e5b2(0x205)]=Array[_0x20e5b2(0x1f8)](this[_0x20e5b2(0x202)])[_0x20e5b2(0x1e4)](_0x46adce=>_0x46adce[_0x20e5b2(0x1ea)]);}[_0x22f41c(0x21f)](){const _0xa37823=_0x22f41c,_0x5af91f=function(_0x29c9ec){const _0x4492be=_0x2adb,_0x5573fe=new _0x36ce4e();for(const _0x2d9b36 of _0x29c9ec)_0x5573fe[_0x4492be(0x1ef)](_0x2d9b36);return _0x5573fe;}(this[_0xa37823(0x202)]),_0x152bd3=this[_0xa37823(0x21e)][_0xa37823(0x1e2)];for(let _0x219c3a=0x1;_0x219c3a<=_0x152bd3;_0x219c3a++)_0x5af91f[_0xa37823(0x207)](0x1);for(const _0x2d7012 of _0x5af91f)_0x2d7012[_0xa37823(0x22a)]();_0x152bd3>0x0&&_0x5af91f[_0xa37823(0x1ef)](this[_0xa37823(0x21e)],0x1),ns(_0x58c3e5(Array[_0xa37823(0x1f8)](this[_0xa37823(0x229)]),Array[_0xa37823(0x1f8)](_0x5af91f)),this[_0xa37823(0x229)],_0x5af91f);}[_0x22f41c(0x208)](){const _0x5c75b9=_0x22f41c;ns(_0x58c3e5(Array[_0x5c75b9(0x1f8)](this[_0x5c75b9(0x229)]),Array[_0x5c75b9(0x1f8)](this[_0x5c75b9(0x202)])),this[_0x5c75b9(0x229)],this[_0x5c75b9(0x202)]);for(const _0x358c95 of this[_0x5c75b9(0x229)])_0x358c95[_0x5c75b9(0x1f1)]();}[_0x22f41c(0x230)](){const _0xdf3594=_0x22f41c;this[_0xdf3594(0x202)][_0xdf3594(0x228)](_0x2b087e=>{const _0x280876=_0xdf3594;this[_0x280876(0x1e9)][_0x280876(0x1ef)](_0x2b087e[_0x280876(0x20c)]),this[_0x280876(0x1ec)][_0x280876(0x20e)](_0x2b087e[_0x280876(0x20c)]);}),this[_0xdf3594(0x202)]['on'](_0xdf3594(0x1f0),(_0x2c90e8,_0xdfc61d)=>{const _0x1b410c=_0xdf3594;for(const _0x123c6f of _0xdfc61d[_0x1b410c(0x1da)])this[_0x1b410c(0x1e9)][_0x1b410c(0x207)](_0x123c6f[_0x1b410c(0x20c)]),this[_0x1b410c(0x1ec)][_0x1b410c(0x211)](_0x123c6f[_0x1b410c(0x20c)]);for(const _0x3f5033 of Array[_0x1b410c(0x1f8)](_0xdfc61d[_0x1b410c(0x231)])[_0x1b410c(0x227)]())this[_0x1b410c(0x1e9)][_0x1b410c(0x1ef)](_0x3f5033[_0x1b410c(0x20c)]),this[_0x1b410c(0x1ec)][_0x1b410c(0x20e)](_0x3f5033[_0x1b410c(0x20c)]);});}}function ns(_0x412145,_0x29bd67,_0x14c748){const _0x3ffd1d=_0x22f41c;let _0x33a691=0x0;for(const _0x8f0cc4 of _0x412145)switch(_0x8f0cc4){case _0x3ffd1d(0x1ee):_0x29bd67[_0x3ffd1d(0x1ef)](_0x14c748[_0x3ffd1d(0x236)](_0x33a691),_0x33a691),_0x33a691++;break;case _0x3ffd1d(0x1f2):_0x29bd67[_0x3ffd1d(0x207)](_0x33a691);break;case _0x3ffd1d(0x1fd):_0x33a691++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3f08(_0x4d7b40,_0x242688){const _0x467d5c=_0x467d();return _0x3f08=function(_0x3f08e5,_0x4bf3e9){_0x3f08e5=_0x3f08e5-0x1e4;let _0x1b92d2=_0x467d5c[_0x3f08e5];return _0x1b92d2;},_0x3f08(_0x4d7b40,_0x242688);}const _0x3b2dec=_0x3f08;(function(_0x904a56,_0x161f6e){const _0x57802=_0x3f08,_0x2c50ac=_0x904a56();while(!![]){try{const _0x3d9cdc=parseInt(_0x57802(0x1e9))/0x1*(parseInt(_0x57802(0x1ea))/0x2)+parseInt(_0x57802(0x1e4))/0x3*(parseInt(_0x57802(0x1f3))/0x4)+-parseInt(_0x57802(0x1ec))/0x5+-parseInt(_0x57802(0x1e8))/0x6*(-parseInt(_0x57802(0x1ed))/0x7)+parseInt(_0x57802(0x1eb))/0x8+-parseInt(_0x57802(0x1e5))/0x9+parseInt(_0x57802(0x1f2))/0xa;if(_0x3d9cdc===_0x161f6e)break;else _0x2c50ac['push'](_0x2c50ac['shift']());}catch(_0x3862ef){_0x2c50ac['push'](_0x2c50ac['shift']());}}}(_0x467d,0xa0668));import{View as _0x298f06}from'ckeditor5/src/ui.js';import{getTranslation as _0x5222e2}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x298f06{constructor(_0x46de03){const _0x37f985=_0x3f08;super(_0x46de03);const _0x547300=this[_0x37f985(0x1f5)];this[_0x37f985(0x1f6)](_0x37f985(0x1ee),''),this[_0x37f985(0x1ef)]({'tag':_0x37f985(0x1f4),'attributes':{'class':['ck',_0x37f985(0x1e6)],'aria-label':_0x547300['to'](_0x37f985(0x1ee),_0x7abc28=>_0x5222e2(_0x46de03,_0x37f985(0x1f0),_0x7abc28)),'tabindex':-0x1},'children':[{'text':_0x547300['to'](_0x37f985(0x1ee))}]});}[_0x3b2dec(0x1f1)](){const _0x4d0908=_0x3b2dec;this[_0x4d0908(0x1e7)][_0x4d0908(0x1f1)]();}}function _0x467d(){const _0x530b25=['THREAD_CONTEXT_LABEL','focus','6452890DrFNsd','768cZVnyZ','span','bindTemplate','set','1581cKXzTD','10314747rwBYDm','ck-context__value','element','77010fDERGS','1aNjujo','908294OnIkRl','3195984MZGsNy','2065575LrMcAp','336cAwoXg','contextValue','setTemplate'];_0x467d=function(){return _0x530b25;};return _0x467d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x16029e=_0x1436;(function(_0x1eaa6d,_0xacb08a){const _0x39777a=_0x1436,_0x5bcba3=_0x1eaa6d();while(!![]){try{const _0x891203=-parseInt(_0x39777a(0x1e4))/0x1+-parseInt(_0x39777a(0x1fe))/0x2*(-parseInt(_0x39777a(0x1e8))/0x3)+-parseInt(_0x39777a(0x1db))/0x4*(-parseInt(_0x39777a(0x1e3))/0x5)+-parseInt(_0x39777a(0x1eb))/0x6+-parseInt(_0x39777a(0x1e9))/0x7+-parseInt(_0x39777a(0x1ff))/0x8+parseInt(_0x39777a(0x207))/0x9;if(_0x891203===_0xacb08a)break;else _0x5bcba3['push'](_0x5bcba3['shift']());}catch(_0x3b72dc){_0x5bcba3['push'](_0x5bcba3['shift']());}}}(_0x122c,0x18dfe));function _0x1436(_0xa6c87d,_0x3466c){const _0x122c59=_0x122c();return _0x1436=function(_0x1436e7,_0x4e39e8){_0x1436e7=_0x1436e7-0x1d6;let _0x29cf6f=_0x122c59[_0x1436e7];return _0x29cf6f;},_0x1436(_0xa6c87d,_0x3466c);}import{View as _0x5d0e9f,ButtonView as _0x202315,FocusCycler as _0x2513c6}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1f7e3f,KeystrokeHandler as _0x125771}from'ckeditor5/src/utils.js';import{IconUndo as _0x2ebd87}from'ckeditor5/src/icons.js';import{getTranslation as _0x3e0f82}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x3ebe0b}from'./commentthreadheadercontextview.js';function _0x122c(){const _0x134a97=['render','execute','ck-context-wrapper','focusables','add','length','isResolved','18gvEwel','411376OGKYLv','ck-context','contextView','offsetWidth','focusTracker','hasContext','keystrokes','tab','1982961JyxDSG','Reopen','bindTemplate','mouseenter','shift+tab','setTemplate','reopenCommentThread','label','focus','Comment\x20was\x20made\x20on\x20an\x20element','div','ck-annotation__actions','contextValue','mouseleave','tooltip','_trimContextValue','element','isResolvable','ck-context--quotes','icon','locale','_createReopenButton','fire','.ck-context','isEnabled','isReadOnly','substring','736MjOUMv','classList','lastIndexOf','createCollection','listenTo','_setupKeyboardNavigation','ck-thread__header','reopenButtonView','4495WWWJCS','165392QEoevT','focusCycler','value','remove','33903wtkQnj','1149190pJzWod','querySelector','27504OQGSjy','bind','context','isVisible','overlay','_createContextView','scrollWidth','.ck-context__value','focusFirst','...','_attachContextActions','_model'];_0x122c=function(){return _0x134a97;};return _0x122c();}export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x5d0e9f{[_0x16029e(0x1f6)];[_0x16029e(0x1e2)];[_0x16029e(0x201)];[_0x16029e(0x1fa)];[_0x16029e(0x203)];[_0x16029e(0x205)];[_0x16029e(0x1e5)];constructor(_0x4832c3,_0x4ff136){const _0x59188d=_0x16029e;super(_0x4832c3);const _0x2be52c=this[_0x59188d(0x209)];this[_0x59188d(0x1f6)]=_0x4ff136,this[_0x59188d(0x1e2)]=this[_0x59188d(0x21c)](),this[_0x59188d(0x201)]=this[_0x59188d(0x1f0)](),this[_0x59188d(0x1fa)]=this[_0x59188d(0x1de)]([this[_0x59188d(0x201)],this[_0x59188d(0x1e2)]]),this[_0x59188d(0x203)]=new _0x1f7e3f(),this[_0x59188d(0x205)]=new _0x125771(),this[_0x59188d(0x1e5)]=new _0x2513c6({'focusables':this[_0x59188d(0x1fa)],'focusTracker':this[_0x59188d(0x203)],'keystrokeHandler':this[_0x59188d(0x205)],'actions':{'focusPrevious':_0x59188d(0x20b),'focusNext':_0x59188d(0x206)}}),this[_0x59188d(0x1ec)](_0x59188d(0x204))['to'](this[_0x59188d(0x1f6)],_0x59188d(0x1ed),_0x7b9e8e=>!!_0x7b9e8e),this[_0x59188d(0x1ec)](_0x59188d(0x213))['to'](this[_0x59188d(0x1f6)],_0x59188d(0x1ed),_0x646b67=>_0x646b67&&_0x646b67[_0x59188d(0x1e6)]?this[_0x59188d(0x216)](_0x646b67[_0x59188d(0x1e6)]):_0x3e0f82(this[_0x59188d(0x21b)],_0x59188d(0x210))),this[_0x59188d(0x20c)]({'tag':_0x59188d(0x211),'attributes':{'class':[_0x59188d(0x1e1)]},'children':[{'tag':_0x59188d(0x211),'attributes':{'class':[_0x59188d(0x1f9)]},'children':[{'tag':_0x59188d(0x211),'attributes':{'class':[_0x59188d(0x200),_0x2be52c['if'](_0x59188d(0x204),_0x59188d(0x219))]},'children':[this[_0x59188d(0x201)]]}]},{'tag':_0x59188d(0x211),'attributes':{'class':[_0x59188d(0x212)]},'children':[this[_0x59188d(0x1e2)]]}]});}[_0x16029e(0x1f7)](){const _0x818dd4=_0x16029e;super[_0x818dd4(0x1f7)](),this[_0x818dd4(0x1f5)](),this[_0x818dd4(0x1e0)]();}[_0x16029e(0x20f)](){const _0x3d81f3=_0x16029e;this[_0x3d81f3(0x1e5)][_0x3d81f3(0x1f3)]();}[_0x16029e(0x21c)](){const _0x2149d7=_0x16029e,_0x25b4b7=new _0x202315(this[_0x2149d7(0x21b)]);return _0x25b4b7[_0x2149d7(0x20e)]=_0x3e0f82(this[_0x2149d7(0x21b)],_0x2149d7(0x208)),_0x25b4b7[_0x2149d7(0x215)]=_0x3e0f82(this[_0x2149d7(0x21b)],_0x2149d7(0x208)),_0x25b4b7[_0x2149d7(0x21a)]=_0x2ebd87,_0x25b4b7[_0x2149d7(0x1ec)](_0x2149d7(0x1d8))['to'](this[_0x2149d7(0x1f6)],_0x2149d7(0x1d9),_0x426b39=>!_0x426b39),_0x25b4b7[_0x2149d7(0x1ec)](_0x2149d7(0x1ee))['to'](this[_0x2149d7(0x1f6)],_0x2149d7(0x218),this[_0x2149d7(0x1f6)],_0x2149d7(0x1fd),(_0x4b1c35,_0x7887e)=>_0x4b1c35&&_0x7887e),_0x25b4b7['on'](_0x2149d7(0x1f8),()=>{const _0x7a1ce1=_0x2149d7;this[_0x7a1ce1(0x1d6)](_0x7a1ce1(0x20d),this[_0x7a1ce1(0x1f6)]['id']);}),_0x25b4b7;}[_0x16029e(0x216)](_0x3701be){const _0x2ae9db=_0x16029e;if(_0x3701be[_0x2ae9db(0x1fc)]<0x96)return _0x3701be;const _0x858229=_0x3701be[_0x2ae9db(0x1dd)]('\x20',0x93);return _0x3701be[_0x2ae9db(0x1da)](0x0,_0x858229>-0x1?_0x858229:0x93)+_0x2ae9db(0x1f4);}[_0x16029e(0x1f5)](){const _0x194b13=_0x16029e,_0x224f67=this[_0x194b13(0x217)][_0x194b13(0x1ea)](_0x194b13(0x1d7)),_0x37b7dd=_0x224f67[_0x194b13(0x1ea)](_0x194b13(0x1f2));this[_0x194b13(0x1df)](_0x224f67,_0x194b13(0x20a),()=>{const _0x907d9a=_0x194b13;_0x37b7dd[_0x907d9a(0x202)]<_0x37b7dd[_0x907d9a(0x1f1)]&&_0x224f67[_0x907d9a(0x1dc)][_0x907d9a(0x1fb)](_0x907d9a(0x1ef));}),this[_0x194b13(0x1df)](_0x224f67,_0x194b13(0x214),()=>{const _0x19d96e=_0x194b13;_0x224f67[_0x19d96e(0x1dc)][_0x19d96e(0x1e7)](_0x19d96e(0x1ef));});}[_0x16029e(0x1e0)](){const _0x4cf345=_0x16029e;this[_0x4cf345(0x205)][_0x4cf345(0x1df)](this[_0x4cf345(0x217)]);for(const _0x4195c2 of this[_0x4cf345(0x1fa)])this[_0x4cf345(0x203)][_0x4cf345(0x1fb)](_0x4195c2[_0x4cf345(0x217)]),this[_0x4cf345(0x205)][_0x4cf345(0x1df)](_0x4195c2[_0x4cf345(0x217)]);}[_0x16029e(0x1f0)](){const _0x27bcbe=_0x16029e,_0x2e8494=new _0x3ebe0b(this[_0x27bcbe(0x21b)]);return _0x2e8494[_0x27bcbe(0x1ec)](_0x27bcbe(0x213))['to'](this),_0x2e8494;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4328(){const _0x4dfc53=['showInput','some','1726vDkFnX','136ADpFYV','mousedown','editor','5KrGssJ','userView','target','then','delegate','change:showInput','829990oCAHBZ','9REoyjs','79930FNwRro','setTemplate','ck-comment__input-container--active','element','view','focusCycler','extendTemplate','render','2418714KfhRoT','_focusOnNonInteractiveMouseDown','11385517CESwED','ck-comment__input-container','isFocused','editorReady','getDomRoot','ck-thread__input','commentInputView','contains','listenTo','1006820WpEguo','div','ck-thread__user','editing','destroy','focus','set','preventDefault','filter','editorDestroyed','bindTemplate','showButtons','createEditor','focusTracker','bind','2191iiPyPG','value','213YjeTHn'];_0x4328=function(){return _0x4dfc53;};return _0x4328();}const _0x1bc192=_0x4577;function _0x4577(_0x35bfd5,_0x2602ef){const _0x4328aa=_0x4328();return _0x4577=function(_0x457787,_0x480423){_0x457787=_0x457787-0x1b4;let _0x3d4824=_0x4328aa[_0x457787];return _0x3d4824;},_0x4577(_0x35bfd5,_0x2602ef);}(function(_0x3a8375,_0x206725){const _0x41a78e=_0x4577,_0x8c22f9=_0x3a8375();while(!![]){try{const _0x1fb03b=parseInt(_0x41a78e(0x1cf))/0x1+parseInt(_0x41a78e(0x1c3))/0x2*(-parseInt(_0x41a78e(0x1c0))/0x3)+parseInt(_0x41a78e(0x1e2))/0x4*(-parseInt(_0x41a78e(0x1c7))/0x5)+-parseInt(_0x41a78e(0x1d7))/0x6+parseInt(_0x41a78e(0x1be))/0x7*(-parseInt(_0x41a78e(0x1c4))/0x8)+-parseInt(_0x41a78e(0x1ce))/0x9*(parseInt(_0x41a78e(0x1cd))/0xa)+parseInt(_0x41a78e(0x1d9))/0xb;if(_0x1fb03b===_0x206725)break;else _0x8c22f9['push'](_0x8c22f9['shift']());}catch(_0xeb6001){_0x8c22f9['push'](_0x8c22f9['shift']());}}}(_0x4328,0x4bd20));import{View as _0xb13966}from'ckeditor5/src/ui.js';import{CommentInputView as _0x33f04f}from'./commentinputview.js';import{UserView as _0x14d8ac}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0xb13966{constructor(_0x4b1d7a,_0xa10b44,_0x268eb2){const _0x198dd4=_0x4577;super(_0x4b1d7a),this[_0x198dd4(0x1df)]=new _0x33f04f(_0x4b1d7a,_0x268eb2),this[_0x198dd4(0x1d4)]=this[_0x198dd4(0x1df)][_0x198dd4(0x1d4)],this[_0x198dd4(0x1df)][_0x198dd4(0x1bd)](_0x198dd4(0x1ba))['to'](this[_0x198dd4(0x1df)][_0x198dd4(0x1bc)],_0x198dd4(0x1db),this[_0x198dd4(0x1df)],_0x198dd4(0x1bf),(_0x22e533,_0x188903)=>_0x22e533||!!_0x188903),this[_0x198dd4(0x1b5)](_0x198dd4(0x1c1),!0x1),this['on'](_0x198dd4(0x1cc),()=>{const _0x3bf81f=_0x198dd4;this[_0x3bf81f(0x1c1)]&&!this[_0x3bf81f(0x1df)][_0x3bf81f(0x1c6)]&&this[_0x3bf81f(0x1df)][_0x3bf81f(0x1bb)]();}),this[_0x198dd4(0x1df)][_0x198dd4(0x1cb)](_0x198dd4(0x1dc))['to'](this),this[_0x198dd4(0x1df)][_0x198dd4(0x1cb)](_0x198dd4(0x1b8))['to'](this),this[_0x198dd4(0x1c8)]=new _0x14d8ac(_0x4b1d7a,_0xa10b44),this[_0x198dd4(0x1c8)][_0x198dd4(0x1d5)]({'attributes':{'class':_0x198dd4(0x1e4),'aria-hidden':!0x0}}),this[_0x198dd4(0x1df)][_0x198dd4(0x1d5)]({'attributes':{'class':_0x198dd4(0x1de)}}),this[_0x198dd4(0x1d0)]({'tag':_0x198dd4(0x1e3),'attributes':{'class':[_0x198dd4(0x1da),this[_0x198dd4(0x1b9)]['if'](_0x198dd4(0x1c1),_0x198dd4(0x1d1))]},'children':[this[_0x198dd4(0x1c8)],this[_0x198dd4(0x1df)]]});}[_0x1bc192(0x1d6)](){const _0x31fd0b=_0x1bc192;super[_0x31fd0b(0x1d6)](),this[_0x31fd0b(0x1d8)]();}[_0x1bc192(0x1e6)](){const _0x4bfb52=_0x1bc192;return this[_0x4bfb52(0x1df)][_0x4bfb52(0x1e6)]()[_0x4bfb52(0x1ca)](()=>super[_0x4bfb52(0x1e6)]());}[_0x1bc192(0x1b4)](_0x43f851){const _0x16f769=_0x1bc192;this[_0x16f769(0x1df)][_0x16f769(0x1b4)](_0x43f851);}[_0x1bc192(0x1d8)](){const _0x49e111=_0x1bc192;this[_0x49e111(0x1e1)](this[_0x49e111(0x1d2)],_0x49e111(0x1c5),(_0xc4cfa3,_0x539d32)=>{const _0x8409a6=_0x49e111,{submitButtonView:_0x4d51ff,cancelButtonView:_0x4ab230,editor:_0x457e9f}=this[_0x8409a6(0x1df)];[_0x4d51ff[_0x8409a6(0x1d2)],_0x4ab230[_0x8409a6(0x1d2)],_0x457e9f?_0x457e9f[_0x8409a6(0x1e5)][_0x8409a6(0x1d3)][_0x8409a6(0x1dd)]():null][_0x8409a6(0x1b7)](_0x5d4372=>_0x5d4372)[_0x8409a6(0x1c2)](_0x1f36e0=>_0x1f36e0[_0x8409a6(0x1e0)](_0x539d32[_0x8409a6(0x1c9)]))||(this[_0x8409a6(0x1b4)](),_0x539d32[_0x8409a6(0x1b6)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x49ea47=_0x3c60;(function(_0x7e6b0c,_0x3d5ece){const _0x3f596a=_0x3c60,_0x3bcc54=_0x7e6b0c();while(!![]){try{const _0x160b99=parseInt(_0x3f596a(0x180))/0x1+parseInt(_0x3f596a(0x1a3))/0x2*(parseInt(_0x3f596a(0x1cb))/0x3)+-parseInt(_0x3f596a(0x1b8))/0x4+-parseInt(_0x3f596a(0x19a))/0x5+parseInt(_0x3f596a(0x1b0))/0x6+-parseInt(_0x3f596a(0x1b3))/0x7+-parseInt(_0x3f596a(0x193))/0x8*(-parseInt(_0x3f596a(0x1bd))/0x9);if(_0x160b99===_0x3d5ece)break;else _0x3bcc54['push'](_0x3bcc54['shift']());}catch(_0x6508d2){_0x3bcc54['push'](_0x3bcc54['shift']());}}}(_0x1d2c,0xec94a));function _0x1d2c(){const _0x225098=['ck-comment--resolve','focusables','_updateArchivedThreadHeader','commentThreadHeaderView','_boundFirstCommentView','div','ck-rounded-corners','render','isVisible','querySelector','element','change:archivedAt','focus','ck-thread--active','16Njuseu','removeButton','Delete\x20comment\x20thread?','change:isReadOnly','Write\x20a\x20comment...','isResolved','.ck-thread__container','8064800tGBbEz','actionIndicator','commentViews','isUnlinked','icon','extendTemplate','length','setTemplate','ariaLabel','408814Closfm','label','_model','then','bindTemplate','unbind','_cancelAllConfirms','ck-reset_all-excluded','removeConfirm','createCollection','ariaDescriptionView','execute','set','6715170vgAYHA','commentThreadInputView','actionBar','4611845yFQbWa','placeholder','isResolvable','listitem','ck-thread--','84996CSitaf','tooltip','containerElement','isEnabled','ck-thread','3347406Pryejf','high','locale','resolveButton','fire','cancelConfirm','stop','has','removeCommentThread','getTemplate','isActive','isSystemComment','Resolve','isReadOnly','3eYvvri','_bindFirstCommentView','archivedAt','listenTo','remove','resolveCommentThread','ck-thread--unlinked','change:isActive','commentsListView','ck-thread__container','showConfirm','_createResolveButton','1194608qgIyOU','get','add','bind','commentThreadChildren'];_0x1d2c=function(){return _0x225098;};return _0x1d2c();}import{ConfirmMixin as _0x57b352,LateFocusButtonView as _0x447520}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x48de5f}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0xb46b02}from'./basecommentthreadview.js';import{getTranslation as _0xb494fd}from'../../../utils/common-translations.js';function _0x3c60(_0x109332,_0x3ddbfe){const _0x1d2c86=_0x1d2c();return _0x3c60=function(_0x3c6031,_0xf8881a){_0x3c6031=_0x3c6031-0x17f;let _0x4ee708=_0x1d2c86[_0x3c6031];return _0x4ee708;},_0x3c60(_0x109332,_0x3ddbfe);}export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x57b352(_0xb46b02){[_0x49ea47(0x184)];[_0x49ea47(0x1ba)];[_0x49ea47(0x1c0)];[_0x49ea47(0x189)];constructor(_0x3d4d17,_0x508876,_0x165598,_0x10862b){const _0x23a051=_0x49ea47;super(_0x3d4d17,_0x508876,_0x165598,_0x10862b),this[_0x23a051(0x184)]=this[_0x23a051(0x1ac)]([this[_0x23a051(0x1d3)],this[_0x23a051(0x1b1)],this[_0x23a051(0x1ad)]]),this[_0x23a051(0x1af)](_0x23a051(0x19b),null),this[_0x23a051(0x1ba)]=null,this[_0x23a051(0x189)]=null,this[_0x23a051(0x1bf)]=_0x3d4d17,this[_0x23a051(0x1c0)]=this[_0x23a051(0x17f)](),this[_0x23a051(0x1a1)](this[_0x23a051(0x1c6)]()),this['on'](_0x23a051(0x1d2),(_0x37e49b,_0x30f78f,_0x37333)=>{const _0x586279=_0x23a051;_0x37333||this[_0x586279(0x1a9)]();}),this[_0x23a051(0x1ce)](this[_0x23a051(0x1a5)],_0x23a051(0x196),(_0x26a7b9,_0x4e8956,_0xaef59b)=>{const _0x14f7f3=_0x23a051;_0xaef59b&&this[_0x14f7f3(0x1a9)]();}),this[_0x23a051(0x1a0)]>0x0&&this[_0x23a051(0x1cc)](),this[_0x23a051(0x1ce)](this[_0x23a051(0x1d3)][_0x23a051(0x19c)],_0x23a051(0x182),()=>{const _0x4be649=_0x23a051;this[_0x4be649(0x1cc)]();});}[_0x49ea47(0x1c6)](){const _0x35b1b=_0x49ea47,_0x325760=this[_0x35b1b(0x1a7)];return{'tag':_0x35b1b(0x18a),'attributes':{'class':['ck',_0x35b1b(0x1bc),_0x35b1b(0x1aa),_0x35b1b(0x18b),_0x325760['if'](_0x35b1b(0x1c7),_0x35b1b(0x192)),_0x325760['if'](_0x35b1b(0x19d),_0x35b1b(0x1d1)),_0x325760['to'](_0x35b1b(0x19b),_0x5c645c=>_0x5c645c?_0x35b1b(0x1b7)+_0x5c645c:'')],'data-thread-id':this[_0x35b1b(0x1a5)]['id'],'tabindex':0x0,'role':_0x35b1b(0x1b6),'aria-label':_0x325760['to'](_0x35b1b(0x1a2)),'aria-describedby':this[_0x35b1b(0x1ad)]['id']},'children':[{'tag':_0x35b1b(0x18a),'attributes':{'class':_0x35b1b(0x1d4)},'children':this[_0x35b1b(0x184)]}]};}[_0x49ea47(0x18c)](){const _0x44f4c3=_0x49ea47;super[_0x44f4c3(0x18c)](),this[_0x44f4c3(0x1ba)]=this[_0x44f4c3(0x18f)][_0x44f4c3(0x18e)](_0x44f4c3(0x199)),this[_0x44f4c3(0x1a5)]['on'](_0x44f4c3(0x190),()=>{const _0xf9c548=_0x44f4c3;this[_0xf9c548(0x187)]();}),this[_0x44f4c3(0x187)]();}[_0x49ea47(0x1a9)](){const _0x499cfc=_0x49ea47;this[_0x499cfc(0x1c2)]();for(const _0x29698c of this[_0x499cfc(0x1d3)][_0x499cfc(0x19c)])_0x29698c[_0x499cfc(0x1c2)]();}[_0x49ea47(0x1cc)](){const _0x5fb5b4=_0x49ea47,{locale:_0x51b4a5}=this,_0xa62f90=this[_0x5fb5b4(0x1d3)][_0x5fb5b4(0x19c)][_0x5fb5b4(0x181)](0x0);_0xa62f90===this[_0x5fb5b4(0x189)]||_0xa62f90[_0x5fb5b4(0x1c8)]||(this[_0x5fb5b4(0x189)]=_0xa62f90,this[_0x5fb5b4(0x1a8)](_0x5fb5b4(0x19b)),this[_0x5fb5b4(0x183)](_0x5fb5b4(0x19b))['to'](_0xa62f90,_0x5fb5b4(0x19b),_0xd32c48=>_0x5fb5b4(0x1cf)===_0xd32c48?_0x5fb5b4(0x1cf):null),_0xa62f90[_0x5fb5b4(0x1b4)]=_0xb494fd(_0x51b4a5,_0x5fb5b4(0x197)),_0xa62f90[_0x5fb5b4(0x194)]['on'](_0x5fb5b4(0x1ae),_0x4b3c46=>{const _0x2c664d=_0x5fb5b4;_0x4b3c46[_0x2c664d(0x1c3)](),this[_0x2c664d(0x1d5)](_0xb494fd(_0x51b4a5,_0x2c664d(0x195)),this[_0x2c664d(0x1ba)])[_0x2c664d(0x1a6)](()=>{const _0x12d1b0=_0x2c664d;this[_0x12d1b0(0x1c1)](_0x12d1b0(0x1c5));});},{'priority':_0x5fb5b4(0x1be)}),this['on'](_0x5fb5b4(0x1ab),()=>{const _0x1a4e46=_0x5fb5b4;_0xa62f90[_0x1a4e46(0x191)]();}),_0xa62f90[_0x5fb5b4(0x1b2)][_0x5fb5b4(0x182)](this[_0x5fb5b4(0x1c0)],0x0),_0xa62f90[_0x5fb5b4(0x186)][_0x5fb5b4(0x182)](this[_0x5fb5b4(0x1c0)],0x0));}[_0x49ea47(0x17f)](){const _0x1536e1=_0x49ea47,_0x35e385=new _0x447520(this[_0x1536e1(0x1bf)]);return _0x35e385[_0x1536e1(0x1a4)]=_0xb494fd(this[_0x1536e1(0x1bf)],_0x1536e1(0x1c9)),_0x35e385[_0x1536e1(0x1b9)]=_0xb494fd(this[_0x1536e1(0x1bf)],_0x1536e1(0x1c9)),_0x35e385[_0x1536e1(0x19e)]=_0x48de5f,_0x35e385[_0x1536e1(0x19f)]({'attributes':{'class':_0x1536e1(0x185)}}),_0x35e385[_0x1536e1(0x183)](_0x1536e1(0x1bb))['to'](this[_0x1536e1(0x1a5)],_0x1536e1(0x1ca),_0x3405b3=>!_0x3405b3),_0x35e385[_0x1536e1(0x183)](_0x1536e1(0x18d))['to'](this[_0x1536e1(0x1a5)],_0x1536e1(0x1b5),this[_0x1536e1(0x1a5)],_0x1536e1(0x198),(_0x37b47d,_0x1d9077)=>_0x37b47d&&!_0x1d9077),_0x35e385['on'](_0x1536e1(0x1ae),()=>{const _0x33ea8b=_0x1536e1;this[_0x33ea8b(0x1c1)](_0x33ea8b(0x1d0),this[_0x33ea8b(0x1a5)]['id']);}),_0x35e385;}[_0x49ea47(0x187)](){const _0x1a7ca5=_0x49ea47;this[_0x1a7ca5(0x1a5)][_0x1a7ca5(0x1cd)]?this[_0x1a7ca5(0x184)][_0x1a7ca5(0x1c4)](this[_0x1a7ca5(0x188)])||(this[_0x1a7ca5(0x184)][_0x1a7ca5(0x182)](this[_0x1a7ca5(0x188)],0x0),this[_0x1a7ca5(0x186)][_0x1a7ca5(0x182)](this[_0x1a7ca5(0x188)],0x0)):this[_0x1a7ca5(0x184)][_0x1a7ca5(0x1c4)](this[_0x1a7ca5(0x188)])&&(this[_0x1a7ca5(0x184)][_0x1a7ca5(0x1cf)](this[_0x1a7ca5(0x188)]),this[_0x1a7ca5(0x186)][_0x1a7ca5(0x1cf)](this[_0x1a7ca5(0x188)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x32d0(_0x1139f1,_0x15e028){const _0x21547d=_0x2154();return _0x32d0=function(_0x32d05d,_0x1bc63e){_0x32d05d=_0x32d05d-0xe8;let _0x3d7474=_0x21547d[_0x32d05d];return _0x3d7474;},_0x32d0(_0x1139f1,_0x15e028);}const _0x4ae14e=_0x32d0;(function(_0x2c1ba1,_0x190271){const _0x5eef5f=_0x32d0,_0x156c33=_0x2c1ba1();while(!![]){try{const _0x3bf9ca=-parseInt(_0x5eef5f(0x12d))/0x1*(-parseInt(_0x5eef5f(0x148))/0x2)+parseInt(_0x5eef5f(0x125))/0x3*(parseInt(_0x5eef5f(0x114))/0x4)+parseInt(_0x5eef5f(0x128))/0x5*(-parseInt(_0x5eef5f(0x127))/0x6)+-parseInt(_0x5eef5f(0x13e))/0x7*(-parseInt(_0x5eef5f(0xec))/0x8)+-parseInt(_0x5eef5f(0x146))/0x9+parseInt(_0x5eef5f(0x157))/0xa+-parseInt(_0x5eef5f(0x14d))/0xb;if(_0x3bf9ca===_0x190271)break;else _0x156c33['push'](_0x156c33['shift']());}catch(_0x405076){_0x156c33['push'](_0x156c33['shift']());}}}(_0x2154,0x6729c));import{IconRemoveComment as _0x31e149,IconPencil as _0x1e2975,IconThreeVerticalDots as _0x3374bc}from'ckeditor5/src/icons.js';import{ButtonView as _0x10e71c,createDropdown as _0x2e338b,ListView as _0xe00fb4,ListItemView as _0x4f78b2,focusChildOnDropdownOpen as _0x3d2f16}from'ckeditor5/src/ui.js';import{UserView as _0x445021,ConfirmMixin as _0x52368,LateFocusDropdownButtonView as _0x446c98}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x142794}from'./basecommentview.js';import{getTranslation as _0xbccc43}from'../../../utils/common-translations.js';function _0x2154(){const _0x1062aa=['getTemplate','removeComment','ck-annotation__content-wrapper','ck-annotation__user','div','isEditable','toMany','ck-comment__info','panelView','ariaLabel','isRemovable','editButton','unbind','isSystemComment','resolvedAt','set','ck-annotation','formatDateTime','visibleView','blur','ck-comment__info-time','add','ck-comment--','addMany','author','label','ck-comment__actions','isVisible','ariaDescriptionView','some','removeButton','change:isRemovable','_createDropdown','switchToEditMode','mouseleave','items','isExternal','ck-comment--remove','icon','98764ZCoWTs','length','ck-comment__actions--hidden','authoredAt','panelPosition','ck-annotation__info','placeholder','ck-comment--edit','fire','push','listenTo','dropdown','getUserViewNotificationText','isEnabled','focus','ck-comment','children','99iuFRmu','createCollection','102gFnEPV','44995ztYaCn','_createEditButton','Delete\x20comment?','ck-comment__wrapper','withText','436XSuGab','time','isEditMode','showConfirm','isReadOnly','Edit','ck-comment--info','execute','bindTemplate','locale','remove','focusables','ck-hidden','mouseenter','ck-annotation__info-name','listitem','_model','126ARFbrO','Show\x20more\x20items','ck-comment__user','ck-annotation__main','_attachActions','_config','from','element','2260971ojTOSm','ck-comment__external','1384mlkBnM','setTemplate','actionBar','ck-annotation__actions','ck-comment__info-name','16137330pQFVeO','bind','getExternalCommentNote','Remove','group','actionIndicator','_createCommentInputView','userView','ck-comment__main','span','4727710olnjVo','name','Reply...','buttonView','ck-annotation__info-time','_createRemoveButton','ck-annotation__actions--hidden','render','find','edit','then','extendTemplate','cancelConfirm','313112FtWZhK'];_0x2154=function(){return _0x1062aa;};return _0x2154();}export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x52368(_0x142794){[_0x4ae14e(0x14a)];[_0x4ae14e(0x154)];constructor(_0x40c4b9,_0xde03b5,_0x1125ed){const _0x4fcabe=_0x4ae14e;super(_0x40c4b9,_0xde03b5,_0x1125ed),this[_0x4fcabe(0xfc)](_0x4fcabe(0x152),null),this[_0x4fcabe(0xfc)](_0x4fcabe(0x11a),_0xbccc43(_0x40c4b9,_0x4fcabe(0x159))),this[_0x4fcabe(0x14e)](_0x4fcabe(0x117))['to'](_0xde03b5),this[_0x4fcabe(0x14e)](_0x4fcabe(0xfb))['to'](_0xde03b5),this[_0x4fcabe(0x14a)]=this[_0x4fcabe(0x126)](),this[_0x4fcabe(0xfa)]||(this[_0x4fcabe(0xf8)]=this[_0x4fcabe(0x129)](),this[_0x4fcabe(0x10b)]=this[_0x4fcabe(0x15c)](),this[_0x4fcabe(0x110)]=this[_0x4fcabe(0x126)](),this[_0x4fcabe(0x110)][_0x4fcabe(0x104)]([this[_0x4fcabe(0xf8)],this[_0x4fcabe(0x10b)]]),this[_0x4fcabe(0x11f)]=this[_0x4fcabe(0x10d)](),this[_0x4fcabe(0x14a)][_0x4fcabe(0x102)](this[_0x4fcabe(0x11f)]),this[_0x4fcabe(0x138)][_0x4fcabe(0x102)](this[_0x4fcabe(0x11f)])),this[_0x4fcabe(0x154)]=new _0x445021(_0x40c4b9,_0xde03b5[_0x4fcabe(0x105)],this[_0x4fcabe(0x120)]()),this[_0x4fcabe(0x154)][_0x4fcabe(0xea)]({'attributes':{'class':[_0x4fcabe(0x140),_0x4fcabe(0xf0)],'aria-hidden':!0x0}}),this[_0x4fcabe(0x11e)](_0xde03b5,_0x4fcabe(0x10c),()=>this[_0x4fcabe(0xeb)]()),this[_0x4fcabe(0x149)](this[_0x4fcabe(0xed)]());}[_0x4ae14e(0xed)](){const _0x291d2a=_0x4ae14e,_0x34bc8c=this[_0x291d2a(0x135)],_0x507684=[{'tag':_0x291d2a(0xf1),'attributes':{'class':[_0x291d2a(0xf4),_0x291d2a(0x119)]},'children':[{'tag':_0x291d2a(0x156),'children':[{'text':this[_0x291d2a(0x154)][_0x291d2a(0x158)]}],'attributes':{'class':[_0x291d2a(0x14c),_0x291d2a(0x13b)],'data-cke-tooltip-text':this[_0x291d2a(0x154)][_0x291d2a(0x158)]}},{'tag':_0x291d2a(0x12e),'attributes':{'datetime':_0x34bc8c['to'](_0x291d2a(0x117)),'class':[_0x291d2a(0x101),_0x291d2a(0x15b)]},'children':[{'text':_0x34bc8c['to'](_0x291d2a(0x117),_0x304cc3=>this[_0x291d2a(0x143)][_0x291d2a(0xfe)](_0x304cc3))}]}]},{'tag':_0x291d2a(0xf1),'attributes':{'class':[_0x291d2a(0x107),_0x291d2a(0x14b),_0x34bc8c['if'](_0x291d2a(0x12f),_0x291d2a(0x116)),_0x34bc8c['if'](_0x291d2a(0x12f),_0x291d2a(0x15d))]},'children':this[_0x291d2a(0x14a)]},{'tag':_0x291d2a(0xf1),'attributes':{'class':[_0x291d2a(0xef)]},'children':this[_0x291d2a(0xff)]},this[_0x291d2a(0x109)]];return this[_0x291d2a(0x13d)][_0x291d2a(0x111)]&&_0x507684[_0x291d2a(0x11d)]({'tag':_0x291d2a(0xf1),'attributes':{'class':[_0x291d2a(0x147)]},'children':[{'text':this[_0x291d2a(0x14f)]()}]}),{'tag':'li','attributes':{'class':[_0x291d2a(0x12b)],'tabindex':-0x1,'aria-label':_0x34bc8c['to'](_0x291d2a(0xf6)),'aria-describedby':this[_0x291d2a(0x109)]['id'],'role':_0x291d2a(0x13c)},'children':[{'tag':_0x291d2a(0xf1),'attributes':{'class':[_0x291d2a(0x123),_0x291d2a(0xfd),_0x34bc8c['if'](_0x291d2a(0x12f),_0x291d2a(0x11b)),_0x34bc8c['if'](_0x291d2a(0xfa),_0x291d2a(0x133)),_0x34bc8c['to'](_0x291d2a(0x152),_0x1ccd1b=>_0x1ccd1b?_0x291d2a(0x103)+_0x1ccd1b:'')],'data-author-id':this[_0x291d2a(0x13d)][_0x291d2a(0x105)]['id'],'data-comment-id':this[_0x291d2a(0x13d)]['id'],'role':_0x291d2a(0x151)},'children':[this[_0x291d2a(0x154)],{'tag':_0x291d2a(0xf1),'attributes':{'class':[_0x291d2a(0x155),_0x291d2a(0x141)]},'children':_0x507684}]}]};}[_0x4ae14e(0x129)](){const _0x231eae=_0x4ae14e,_0x5b62ea=new _0x10e71c(this[_0x231eae(0x136)]);return _0x5b62ea[_0x231eae(0x106)]=_0xbccc43(this[_0x231eae(0x136)],_0x231eae(0x132)),_0x5b62ea[_0x231eae(0x113)]=_0x1e2975,_0x5b62ea[_0x231eae(0x12c)]=!0x0,_0x5b62ea[_0x231eae(0xea)]({'attributes':{'class':_0x231eae(0x11b)}}),_0x5b62ea[_0x231eae(0x14e)](_0x231eae(0x121))['to'](this[_0x231eae(0x13d)],_0x231eae(0x131),_0xf9d1f3=>!_0xf9d1f3),_0x5b62ea[_0x231eae(0x14e)](_0x231eae(0x108))['to'](this[_0x231eae(0x13d)],_0x231eae(0xf2)),_0x5b62ea['on'](_0x231eae(0x134),()=>this[_0x231eae(0x10e)]()),_0x5b62ea;}[_0x4ae14e(0x15c)](){const _0x32e2b=_0x4ae14e,_0x2afc82=new _0x10e71c(this[_0x32e2b(0x136)]);return _0x2afc82[_0x32e2b(0x106)]=_0xbccc43(this[_0x32e2b(0x136)],_0x32e2b(0x150)),_0x2afc82[_0x32e2b(0x113)]=_0x31e149,_0x2afc82[_0x32e2b(0x12c)]=!0x0,_0x2afc82[_0x32e2b(0xea)]({'attributes':{'class':_0x32e2b(0x112)}}),_0x2afc82[_0x32e2b(0x14e)](_0x32e2b(0x121))['to'](this[_0x32e2b(0x13d)],_0x32e2b(0x131),_0x1ecd1d=>!_0x1ecd1d),_0x2afc82[_0x32e2b(0x14e)](_0x32e2b(0x108))['to'](this[_0x32e2b(0x13d)],_0x32e2b(0xf7)),_0x2afc82['on'](_0x32e2b(0x134),()=>{const _0xd419fd=_0x32e2b;this[_0xd419fd(0x130)](_0xbccc43(this[_0xd419fd(0x136)],_0xd419fd(0x12a)),this[_0xd419fd(0x145)])[_0xd419fd(0xe9)](()=>{const _0x4cf70b=_0xd419fd;this[_0x4cf70b(0x11c)](_0x4cf70b(0xee),this[_0x4cf70b(0x13d)]['id']);});}),_0x2afc82;}[_0x4ae14e(0x10d)](){const _0x586c71=_0x4ae14e,_0x3ac917=_0x2e338b(this[_0x586c71(0x136)],_0x446c98),_0x36603b=_0x3ac917[_0x586c71(0xf5)][_0x586c71(0x124)],_0x33de9f=new _0xe00fb4(this[_0x586c71(0x136)]),_0x3b040a=_0x3ac917[_0x586c71(0x135)];_0x3d2f16(_0x3ac917,()=>this[_0x586c71(0x110)][_0x586c71(0x15f)](_0x3c3508=>_0x3c3508[_0x586c71(0x108)])),_0x3ac917[_0x586c71(0xea)]({'attributes':{'class':[_0x3b040a['if'](_0x586c71(0x108),_0x586c71(0x139),_0x4eaeb6=>!_0x4eaeb6)]}});const _0x40811b=(_0x56fc9e,_0x31440e=-0x1)=>{const _0x4be76e=_0x586c71,_0x2e08f3=new _0x4f78b2(this[_0x4be76e(0x136)]);_0x2e08f3[_0x4be76e(0x124)][_0x4be76e(0x102)](_0x56fc9e);const _0x3a209f=_0x31440e>-0x1?_0x31440e:_0x33de9f[_0x4be76e(0x110)][_0x4be76e(0x115)];_0x33de9f[_0x4be76e(0x110)][_0x4be76e(0x102)](_0x2e08f3,_0x3a209f);const _0x2409c0=Array[_0x4be76e(0x144)](this[_0x4be76e(0x110)]);_0x3ac917[_0x4be76e(0xf9)](_0x4be76e(0x121),_0x4be76e(0x108)),_0x3ac917[_0x4be76e(0x14e)](_0x4be76e(0x121))[_0x4be76e(0xf3)](_0x2409c0,_0x4be76e(0x121),(..._0x162c08)=>_0x162c08[_0x4be76e(0x10a)](_0xd1448=>_0xd1448)),_0x3ac917[_0x4be76e(0x14e)](_0x4be76e(0x108))[_0x4be76e(0xf3)](_0x2409c0,_0x4be76e(0x108),(..._0x92e636)=>_0x92e636[_0x4be76e(0x10a)](_0x1a3760=>_0x1a3760));};_0x3ac917[_0x586c71(0x118)]='sw',_0x3ac917[_0x586c71(0x15a)][_0x586c71(0xfc)]({'label':_0xbccc43(this[_0x586c71(0x136)],_0x586c71(0x13f)),'icon':_0x3374bc});for(const _0x2299d3 of this[_0x586c71(0x110)])_0x40811b(_0x2299d3);return _0x36603b[_0x586c71(0x102)](_0x33de9f),_0x3ac917[_0x586c71(0x11e)](this[_0x586c71(0x110)],_0x586c71(0x102),(_0x1d72b1,_0x28008,_0x52e9dc)=>{_0x40811b(_0x28008,_0x52e9dc);}),_0x3ac917[_0x586c71(0x11e)](this[_0x586c71(0x110)],_0x586c71(0x137),(_0x4d20ac,_0x291e85,_0x39753a)=>{const _0x321b4b=_0x586c71;_0x33de9f[_0x321b4b(0x110)][_0x321b4b(0x137)](_0x39753a);}),_0x3ac917;}[_0x4ae14e(0x142)](_0x263c9e,_0x1c18a9){const _0x1ec8d9=_0x4ae14e,_0x1adc5e=_0x263c9e&&_0x263c9e[_0x1ec8d9(0x145)];_0x1adc5e&&(this[_0x1ec8d9(0x11e)](_0x1adc5e,_0x1ec8d9(0x13a),()=>this[_0x1ec8d9(0x152)]=_0x1c18a9),this[_0x1ec8d9(0x11e)](_0x1adc5e,_0x1ec8d9(0x122),()=>this[_0x1ec8d9(0x152)]=_0x1c18a9),this[_0x1ec8d9(0x11e)](_0x1adc5e,_0x1ec8d9(0x10f),()=>this[_0x1ec8d9(0x152)]=null),this[_0x1ec8d9(0x11e)](_0x1adc5e,_0x1ec8d9(0x100),()=>this[_0x1ec8d9(0x152)]=null));}[_0x4ae14e(0x153)](){const _0x9ed8fc=_0x4ae14e,_0x13994f=super[_0x9ed8fc(0x153)]();return _0x13994f[_0x9ed8fc(0x14e)](_0x9ed8fc(0x11a))['to'](this),_0x13994f;}[_0x4ae14e(0x15e)](){const _0x974b51=_0x4ae14e;super[_0x974b51(0x15e)](),this[_0x974b51(0x142)](this[_0x974b51(0xf8)],_0x974b51(0xe8)),this[_0x974b51(0x142)](this[_0x974b51(0x10b)],_0x974b51(0x137));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x56de2f=_0xa830;(function(_0x59ed60,_0x5030bc){var _0x3cfa85=_0xa830,_0x352bff=_0x59ed60();while(!![]){try{var _0x3455c9=parseInt(_0x3cfa85(0xd5))/0x1+parseInt(_0x3cfa85(0xc7))/0x2*(-parseInt(_0x3cfa85(0xc9))/0x3)+-parseInt(_0x3cfa85(0xd6))/0x4*(parseInt(_0x3cfa85(0xcb))/0x5)+-parseInt(_0x3cfa85(0xd4))/0x6+-parseInt(_0x3cfa85(0xd7))/0x7*(parseInt(_0x3cfa85(0xc8))/0x8)+parseInt(_0x3cfa85(0xca))/0x9*(-parseInt(_0x3cfa85(0xd0))/0xa)+parseInt(_0x3cfa85(0xcd))/0xb*(parseInt(_0x3cfa85(0xd1))/0xc);if(_0x3455c9===_0x5030bc)break;else _0x352bff['push'](_0x352bff['shift']());}catch(_0x4c4c51){_0x352bff['push'](_0x352bff['shift']());}}}(_0x2a1f,0x866d0));import{Plugin as _0x1d6c48}from'ckeditor5/src/core.js';function _0x2a1f(){var _0x38a542=['168hAyMCs','isPremiumPlugin','requires','6374238pWjLWX','98573VaBxdM','204LQDXbt','7eDOCuM','324374HPJJhH','5839472ZrgvjD','3iWjfSK','936UndyCG','43255wntmnG','pluginName','2459193wSmWIc','isOfficialPlugin','Comments','27130TqWFLP'];_0x2a1f=function(){return _0x38a542;};return _0x2a1f();}import{CommentsRepository as _0xc58aa4}from'./comments/commentsrepository.js';import{CommentsEditing as _0x5a4958}from'./comments/commentsediting.js';import{CommentsUI as _0x45bf39}from'./comments/commentsui.js';import{CommentsOnly as _0x22be19}from'./commentsonly.js';function _0xa830(_0x5b9b14,_0x2439bc){var _0x2a1f54=_0x2a1f();return _0xa830=function(_0xa83076,_0x5e0913){_0xa83076=_0xa83076-0xc7;var _0x20e8c7=_0x2a1f54[_0xa83076];return _0x20e8c7;},_0xa830(_0x5b9b14,_0x2439bc);}import{WideSidebar as _0x475e3f}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x4b9129}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x5a868a}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x4609f0}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x34004e}from'./comments/commentsarchive.js';export class Comments extends _0x1d6c48{static get[_0x56de2f(0xd3)](){return[_0xc58aa4,_0x5a4958,_0x45bf39,_0x34004e,_0x4609f0,_0x22be19,_0x475e3f,_0x4b9129,_0x5a868a];}static get[_0x56de2f(0xcc)](){var _0x341d39=_0x56de2f;return _0x341d39(0xcf);}static get[_0x56de2f(0xce)](){return!0x0;}static get[_0x56de2f(0xd2)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5f2050=_0x44a3;function _0x44a3(_0x3c6e55,_0x208547){const _0x2be85d=_0x2be8();return _0x44a3=function(_0x44a3dc,_0x3a62f4){_0x44a3dc=_0x44a3dc-0xed;let _0x44e748=_0x2be85d[_0x44a3dc];return _0x44e748;},_0x44a3(_0x3c6e55,_0x208547);}(function(_0x1a5a5c,_0x44f165){const _0x18462f=_0x44a3,_0x50bb1a=_0x1a5a5c();while(!![]){try{const _0x1524f7=parseInt(_0x18462f(0x119))/0x1+parseInt(_0x18462f(0xf0))/0x2*(-parseInt(_0x18462f(0x101))/0x3)+-parseInt(_0x18462f(0xee))/0x4+parseInt(_0x18462f(0xf2))/0x5+parseInt(_0x18462f(0x10e))/0x6+parseInt(_0x18462f(0x100))/0x7+parseInt(_0x18462f(0xfb))/0x8*(-parseInt(_0x18462f(0x113))/0x9);if(_0x1524f7===_0x44f165)break;else _0x50bb1a['push'](_0x50bb1a['shift']());}catch(_0x2cc62b){_0x50bb1a['push'](_0x50bb1a['shift']());}}}(_0x2be8,0xaea6d));import{Plugin as _0x4adce2}from'ckeditor5/src/core.js';function _0x2be8(){const _0x4ccbe8=['pluginName','stop','12347QxpUvk','stopListening','5581164dCcVmj','addCommentThread','8FQeiQR','config','3477835slnLWf','delete','has','document','isOfficialPlugin','isEnabled','set','listenTo','change:isEnabled','592XHWLZm','clipboardInput','_disableCommentsOnlyMode','affectsData','commands','7914263uUxyAX','299742ZsTXfK','editor','cut','highest','view','editing','forceDisabled','clearForceDisabled','editSource','get','SourceEditing','DragDrop','CommentsOnly','8228358jBzWHy','isPremiumPlugin','commentsOnlyMode','requires','_enableCommentsOnlyMode','85086aRttRN','afterInit','plugins','commentsOnly'];_0x2be8=function(){return _0x4ccbe8;};return _0x2be8();}import{CommentsEditing as _0x1f2f65}from'./comments/commentsediting.js';export class CommentsOnly extends _0x4adce2{static get[_0x5f2050(0x117)](){const _0x2b6473=_0x5f2050;return _0x2b6473(0x10d);}static get[_0x5f2050(0xf6)](){return!0x0;}static get[_0x5f2050(0x10f)](){return!0x0;}static get[_0x5f2050(0x111)](){return[_0x1f2f65];}constructor(_0x1b0550){const _0x35a8e3=_0x5f2050;super(_0x1b0550),this[_0x35a8e3(0xf8)](_0x35a8e3(0xf7),!0x1),this['on'](_0x35a8e3(0xfa),(_0x59e83f,_0x138ef8,_0x1e45a5)=>{const _0x512669=_0x35a8e3;_0x1e45a5?this[_0x512669(0x112)]():this[_0x512669(0xfd)]();});}[_0x5f2050(0x114)](){const _0x242ffc=_0x5f2050;!this[_0x242ffc(0xf7)]&&this[_0x242ffc(0x102)][_0x242ffc(0xf1)][_0x242ffc(0x10a)](_0x242ffc(0x116))&&(this[_0x242ffc(0xf7)]=!0x0);}[_0x5f2050(0x112)](){const _0x5efa71=_0x5f2050;for(const [_0x2a43c7,_0x3d2275]of this[_0x5efa71(0x102)][_0x5efa71(0xff)])_0x3d2275[_0x5efa71(0xfe)]&&_0x5efa71(0xef)!==_0x2a43c7&&_0x3d2275[_0x5efa71(0x107)](_0x5efa71(0x110));(this[_0x5efa71(0x102)][_0x5efa71(0x115)][_0x5efa71(0xf4)](_0x5efa71(0x10c))&&this[_0x5efa71(0x102)][_0x5efa71(0x115)][_0x5efa71(0x10a)](_0x5efa71(0x10c))[_0x5efa71(0x107)](_0x5efa71(0x110)),this[_0x5efa71(0x102)][_0x5efa71(0x115)][_0x5efa71(0xf4)](_0x5efa71(0x10b)))&&this[_0x5efa71(0x102)][_0x5efa71(0x115)][_0x5efa71(0x10a)](_0x5efa71(0x10b))[_0x5efa71(0x107)](_0x5efa71(0x110));this[_0x5efa71(0x102)][_0x5efa71(0xff)][_0x5efa71(0x10a)](_0x5efa71(0x109))?.[_0x5efa71(0x107)](_0x5efa71(0x110));const _0x4d6fc8=this[_0x5efa71(0x102)][_0x5efa71(0x106)][_0x5efa71(0x105)][_0x5efa71(0xf5)];this[_0x5efa71(0xf9)](_0x4d6fc8,_0x5efa71(0x103),_0x3fe002=>_0x3fe002[_0x5efa71(0x118)](),{'priority':_0x5efa71(0x104)}),this[_0x5efa71(0xf9)](_0x4d6fc8,_0x5efa71(0xfc),_0x4f3453=>_0x4f3453[_0x5efa71(0x118)](),{'priority':_0x5efa71(0x104)}),this[_0x5efa71(0xf9)](_0x4d6fc8,_0x5efa71(0xf3),_0x2d4cd6=>_0x2d4cd6[_0x5efa71(0x118)](),{'priority':_0x5efa71(0x104)});}[_0x5f2050(0xfd)](){const _0x124ff0=_0x5f2050;for(const [_0x1fc8f3,_0x3438c9]of this[_0x124ff0(0x102)][_0x124ff0(0xff)])_0x3438c9[_0x124ff0(0xfe)]&&_0x124ff0(0xef)!==_0x1fc8f3&&_0x3438c9[_0x124ff0(0x108)](_0x124ff0(0x110));this[_0x124ff0(0x102)][_0x124ff0(0x115)][_0x124ff0(0xf4)](_0x124ff0(0x10b))&&this[_0x124ff0(0x102)][_0x124ff0(0x115)][_0x124ff0(0x10a)](_0x124ff0(0x10b))[_0x124ff0(0x108)](_0x124ff0(0x110)),this[_0x124ff0(0x102)][_0x124ff0(0xff)][_0x124ff0(0x10a)](_0x124ff0(0x109))?.[_0x124ff0(0x108)](_0x124ff0(0x110)),this[_0x124ff0(0xed)](this[_0x124ff0(0x102)][_0x124ff0(0x106)][_0x124ff0(0x105)][_0x124ff0(0xf5)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xa54394,_0x3fd84a){var _0x1beb6f=_0x410d,_0x7206f8=_0xa54394();while(!![]){try{var _0xc2e02e=parseInt(_0x1beb6f(0x12c))/0x1*(parseInt(_0x1beb6f(0x12e))/0x2)+parseInt(_0x1beb6f(0x129))/0x3+-parseInt(_0x1beb6f(0x12b))/0x4*(parseInt(_0x1beb6f(0x128))/0x5)+parseInt(_0x1beb6f(0x12d))/0x6+-parseInt(_0x1beb6f(0x126))/0x7+-parseInt(_0x1beb6f(0x127))/0x8+parseInt(_0x1beb6f(0x12a))/0x9;if(_0xc2e02e===_0x3fd84a)break;else _0x7206f8['push'](_0x7206f8['shift']());}catch(_0xa7d402){_0x7206f8['push'](_0x7206f8['shift']());}}}(_0x3d8a,0x853ea));export{Comments}from'./comments.js';export{CommentsOnly}from'./commentsonly.js';export{CommentsUI}from'./comments/commentsui.js';export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{Annotation}from'./annotations/annotation.js';export{Annotations}from'./annotations/annotations.js';export{AnnotationCollection,bindAnnotationCollections}from'./annotations/annotationcollection.js';export{AnnotationsUIs}from'./annotations/annotationsuis.js';export{EditorAnnotations}from'./annotations/editorannotations.js';export{InlineAnnotations}from'./annotations/inlineannotations.js';export{Sidebar}from'./annotations/sidebar.js';export{WideSidebar}from'./annotations/widesidebar.js';export{NarrowSidebar}from'./annotations/narrowsidebar.js';function _0x410d(_0xe4cf9e,_0x4e1604){var _0x3d8a66=_0x3d8a();return _0x410d=function(_0x410dbb,_0x3fce69){_0x410dbb=_0x410dbb-0x126;var _0x158a67=_0x3d8a66[_0x410dbb];return _0x158a67;},_0x410d(_0xe4cf9e,_0x4e1604);}export{AnnotationView}from'./annotations/view/annotationview.js';export{AnnotationsSidebarItemView}from'./annotations/view/sidebaritemview.js';export{AnnotationsSidebarView}from'./annotations/view/sidebarview.js';export{BaseCommentView}from'./comments/ui/view/basecommentview.js';export{BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{CommentsListView}from'./comments/ui/view/commentslistview.js';export{CommentView}from'./comments/ui/view/commentview.js';export{CommentThreadView}from'./comments/ui/view/commentthreadview.js';function _0x3d8a(){var _0x5a1edc=['9315dfEbGL','3264771ACuTal','2467701ZvMzbM','944PiHwBL','68914VbtQXZ','2131998UOqkPW','10eANevK','4303516WjrPcU','3696984ggzWgO'];_0x3d8a=function(){return _0x5a1edc;};return _0x3d8a();}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(_0x5ce17f,_0xa31d70,_0x399670){const t=_0x5ce17f['t'];switch(_0xa31d70){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'},_0x399670);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'},_0x399670);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'},_0x399670);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'},_0x399670);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x399670);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'},_0x399670);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'},_0x399670);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'},_0x399670);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});case'COMMENTS_ARCHIVE_LIST_LABEL':return t({'string':'List\x20of\x20comments','id':'COMMENTS_ARCHIVE_LIST_LABEL'});case'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':return t({'string':'Keystrokes\x20for\x20interacting\x20with\x20annotation\x20threads\x20(e.g.\x20comments,\x20track\x20changes\x20suggestions)','id':'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'});case'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':return t({'string':'Move\x20focus\x20to\x20the\x20thread\x20when\x20the\x20selection\x20is\x20anchored\x20in\x20its\x20marker','id':'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'});case'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':return t({'string':'Exit\x20the\x20annotation\x20and\x20move\x20focus\x20back\x20to\x20the\x20edited\x20content','id':'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':return t({'string':'Browse\x20the\x20focused\x20annotation\x20thread\x20or\x20thread\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'});case'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':return t({'string':'Move\x20across\x20internals\x20of\x20the\x20annotation\x20thread','id':'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'});case'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':return t({'string':'Submit\x20the\x20reply\x20while\x20writing\x20a\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':return t({'string':'Move\x20to\x20the\x20previous\x20or\x20next\x20thread\x20in\x20the\x20annotations\x20sidebar\x20or\x20comments\x20archive','id':'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'});default:return'';}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x410282,_0x4e87c){const _0x13aee=_0x2aec,_0x29a6f7=_0x410282();while(!![]){try{const _0x42d358=parseInt(_0x13aee(0x156))/0x1+-parseInt(_0x13aee(0x14f))/0x2*(parseInt(_0x13aee(0x159))/0x3)+parseInt(_0x13aee(0x14c))/0x4*(-parseInt(_0x13aee(0x14d))/0x5)+parseInt(_0x13aee(0x153))/0x6+parseInt(_0x13aee(0x150))/0x7+parseInt(_0x13aee(0x149))/0x8+-parseInt(_0x13aee(0x155))/0x9;if(_0x42d358===_0x4e87c)break;else _0x29a6f7['push'](_0x29a6f7['shift']());}catch(_0x20e2ea){_0x29a6f7['push'](_0x29a6f7['shift']());}}}(_0x5105,0x9f43c));import{throttle as _0x36147b}from'es-toolkit/compat';function _0x5105(){const _0x36416b=['observe','9230712lbPrFi','characterData','disconnect','2032972fxTnEb','10Uukxhv','class','2WEpbnL','4635869dLNPyM','childList','cancel','5394420fGQmOR','attributeName','7727760KbIJzh','990067rkIuym','type','attributes','3533307HrLlMQ'];_0x5105=function(){return _0x36416b;};return _0x5105();}function _0x2aec(_0x2a64a5,_0x5b693a){const _0x5105ba=_0x5105();return _0x2aec=function(_0x2aeccb,_0x37c823){_0x2aeccb=_0x2aeccb-0x148;let _0x3cfe11=_0x5105ba[_0x2aeccb];return _0x3cfe11;},_0x2aec(_0x2a64a5,_0x5b693a);}export function createMutationObserver(_0x371370){const _0x389045=_0x36147b(_0x371370,0x1e),_0x23f1cf=new MutationObserver(_0x24e9e1=>{const _0x1bcb18=_0x2aec;for(const _0x3308d7 of _0x24e9e1)(_0x1bcb18(0x158)==_0x3308d7[_0x1bcb18(0x157)]&&_0x1bcb18(0x14e)==_0x3308d7[_0x1bcb18(0x154)]||_0x1bcb18(0x151)==_0x3308d7[_0x1bcb18(0x157)]||_0x1bcb18(0x14a)==_0x3308d7[_0x1bcb18(0x157)])&&_0x389045();});return{'attach'(_0x2be6dc){const _0x47d0fc=_0x2aec;_0x23f1cf[_0x47d0fc(0x148)](_0x2be6dc,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x1a87f7=_0x2aec;_0x23f1cf[_0x1a87f7(0x14b)](),_0x389045[_0x1a87f7(0x152)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5bf287,_0x3a4089){const _0xd22193=_0x2ad0,_0x358b69=_0x5bf287();while(!![]){try{const _0x204fd4=parseInt(_0xd22193(0xc6))/0x1+-parseInt(_0xd22193(0xbe))/0x2+parseInt(_0xd22193(0xc3))/0x3+parseInt(_0xd22193(0xc5))/0x4+-parseInt(_0xd22193(0xc2))/0x5*(-parseInt(_0xd22193(0xc4))/0x6)+parseInt(_0xd22193(0xc1))/0x7*(parseInt(_0xd22193(0xc0))/0x8)+-parseInt(_0xd22193(0xbc))/0x9*(parseInt(_0xd22193(0xbd))/0xa);if(_0x204fd4===_0x3a4089)break;else _0x358b69['push'](_0x358b69['shift']());}catch(_0x4e9f1c){_0x358b69['push'](_0x358b69['shift']());}}}(_0x3b8e,0x26571));function _0x3b8e(){const _0x2b29ea=['44433nEkJFp','630OCtiqY','508508qjaNsS','split','8QwBqAM','119231tXvpXf','5hdAXNg','223764fniYAY','248592pRNuKF','1125060IOmsqW','308008JdEsPk'];_0x3b8e=function(){return _0x2b29ea;};return _0x3b8e();}function _0x2ad0(_0x10b483,_0x5c5cda){const _0x3b8eab=_0x3b8e();return _0x2ad0=function(_0x2ad069,_0x1b5a18){_0x2ad069=_0x2ad069-0xbc;let _0xd1118c=_0x3b8eab[_0x2ad069];return _0xd1118c;},_0x2ad0(_0x10b483,_0x5c5cda);}export function splitMarkerName(_0x3b2427){const _0x2f0b65=_0x2ad0,_0x5bb271=_0x3b2427[_0x2f0b65(0xbf)](':');return{'group':_0x5bb271[0x0],'id':_0x5bb271[0x1],'part':_0x5bb271[0x2]};}
|