@ckeditor/ckeditor5-comments 44.3.0-alpha.0 → 44.3.0-alpha.1
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 _0x103c0c=_0x2148;(function(_0x4e8c21,_0x11ef0c){const _0x28c664=_0x2148,_0x53228b=_0x4e8c21();while(!![]){try{const _0x128bbf=-parseInt(_0x28c664(0x247))/0x1+parseInt(_0x28c664(0x21d))/0x2+-parseInt(_0x28c664(0x238))/0x3*(-parseInt(_0x28c664(0x1f5))/0x4)+parseInt(_0x28c664(0x1fc))/0x5*(parseInt(_0x28c664(0x1f3))/0x6)+-parseInt(_0x28c664(0x23a))/0x7*(parseInt(_0x28c664(0x1f2))/0x8)+-parseInt(_0x28c664(0x201))/0x9+parseInt(_0x28c664(0x22a))/0xa*(parseInt(_0x28c664(0x20f))/0xb);if(_0x128bbf===_0x11ef0c)break;else _0x53228b['push'](_0x53228b['shift']());}catch(_0x2faefa){_0x53228b['push'](_0x53228b['shift']());}}}(_0x19cf,0x40fc8));function _0x2148(_0x4ef83e,_0xa2a8ab){const _0x19cfd6=_0x19cf();return _0x2148=function(_0x214856,_0x1b132c){_0x214856=_0x214856-0x1ea;let _0x5f51f3=_0x19cfd6[_0x214856];return _0x5f51f3;},_0x2148(_0x4ef83e,_0xa2a8ab);}import{View as _0x449d80,FocusCycler as _0xc8066d}from'ckeditor5/src/ui.js';import{diff as _0x1355b3,Collection as _0x256368,FocusTracker as _0x3e82e8,KeystrokeHandler as _0x60ae40}from'ckeditor5/src/utils.js';import{getTranslation as _0xd36caa}from'../../../utils/common-translations.js';import _0x4f7ab8 from'./collapsedcommentsview.js';export default class te extends _0x449d80{constructor(_0x5cac44,_0x3479b6,_0x24a122){const _0x424f22=_0x2148;super(_0x5cac44);const _0x28ba4a=this[_0x424f22(0x22e)];this[_0x424f22(0x242)](_0x424f22(0x211),!0x1),this[_0x424f22(0x242)](_0x424f22(0x223),_0x3479b6[_0x424f22(0x237)][_0x424f22(0x223)]),this[_0x424f22(0x242)](_0x424f22(0x249),!0x1),this[_0x424f22(0x1fb)]=_0x3479b6,this[_0x424f22(0x216)]=_0x24a122,this[_0x424f22(0x1f4)]=this[_0x424f22(0x225)](),this[_0x424f22(0x240)]=this[_0x424f22(0x225)](),this[_0x424f22(0x233)]=null,this[_0x424f22(0x206)]=new _0x3e82e8(),this[_0x424f22(0x22b)]=new _0x60ae40(),this[_0x424f22(0x200)]=new _0xc8066d({'focusables':this[_0x424f22(0x1f4)],'focusTracker':this[_0x424f22(0x206)],'keystrokeHandler':this[_0x424f22(0x22b)],'keystrokeHandlerOptions':{'filter':_0x762f0c=>this[_0x424f22(0x1f4)][_0x424f22(0x234)](_0x473e86=>_0x473e86[_0x424f22(0x217)])[_0x424f22(0x1f6)](_0x762f0c[_0x424f22(0x230)])},'actions':{'focusPrevious':_0x424f22(0x224),'focusNext':_0x424f22(0x228)}}),this[_0x424f22(0x1f8)]=new _0x4f7ab8(_0x5cac44),this[_0x424f22(0x1f8)][_0x424f22(0x213)](_0x424f22(0x236))['to'](this,_0x424f22(0x223),_0x2d1baa=>_0x2d1baa-this[_0x424f22(0x216)][_0x424f22(0x22f)]);for(const _0x19fe4c of _0x3479b6[_0x424f22(0x237)])this[_0x424f22(0x226)](_0x19fe4c);this[_0x424f22(0x1ef)](),this[_0x424f22(0x20b)](_0x3479b6[_0x424f22(0x237)],_0x424f22(0x24b),(_0x156068,_0x13981a)=>{const _0x20aebf=_0x424f22,_0x4f266a=this[_0x20aebf(0x1ff)](_0x13981a);this[_0x20aebf(0x223)]++,this[_0x20aebf(0x226)](_0x13981a,_0x4f266a),this[_0x20aebf(0x205)]();}),this[_0x424f22(0x20b)](_0x3479b6[_0x424f22(0x237)],_0x424f22(0x221),(_0xa3a604,_0x4b9624)=>{const _0x176ea2=_0x424f22;this[_0x176ea2(0x223)]--,this[_0x176ea2(0x218)](_0x4b9624),this[_0x176ea2(0x205)]();}),this[_0x424f22(0x20b)](_0x3479b6,_0x424f22(0x20a),()=>this[_0x424f22(0x205)]()),this[_0x424f22(0x20b)](_0x3479b6,_0x424f22(0x20e),()=>this[_0x424f22(0x1ef)]()),this['on'](_0x424f22(0x229),()=>this[_0x424f22(0x205)]()),this['on'](_0x424f22(0x22d),()=>this[_0x424f22(0x205)]()),this[_0x424f22(0x214)]({'tag':'ul','attributes':{'class':[_0x424f22(0x245),_0x28ba4a['if'](_0x424f22(0x223),_0x424f22(0x21f),_0x4a93b8=>!_0x4a93b8)],'aria-label':_0xd36caa(_0x5cac44,_0x424f22(0x235))},'children':this[_0x424f22(0x240)]});}get[_0x103c0c(0x209)](){const _0x19dd4c=_0x103c0c;return this[_0x19dd4c(0x1fb)][_0x19dd4c(0x23d)]>this[_0x19dd4c(0x216)][_0x19dd4c(0x21e)]&&!this[_0x19dd4c(0x249)]&&!this[_0x19dd4c(0x211)];}[_0x103c0c(0x23e)](){const _0x2638c6=_0x103c0c;super[_0x2638c6(0x23e)](),this[_0x2638c6(0x205)](),this[_0x2638c6(0x239)]();}[_0x103c0c(0x24a)](_0x434654){const _0x1aa7be=_0x103c0c;-0x1===_0x434654?this[_0x1aa7be(0x200)][_0x1aa7be(0x1ee)]():this[_0x1aa7be(0x200)][_0x1aa7be(0x1ea)]();}[_0x103c0c(0x22c)](){const _0x39305d=_0x103c0c;this[_0x39305d(0x1f8)][_0x39305d(0x22c)]();for(const _0x4d6c74 of this[_0x39305d(0x1f4)])_0x4d6c74[_0x39305d(0x22c)]();super[_0x39305d(0x22c)]();}[_0x103c0c(0x205)](){const _0x287e7f=_0x103c0c;this[_0x287e7f(0x209)]?this[_0x287e7f(0x20c)]():this[_0x287e7f(0x222)]();}[_0x103c0c(0x226)](_0x5377cb,_0x47975d){const _0x49c869=_0x103c0c,_0x30f222=new this[(_0x49c869(0x216))][(_0x49c869(0x20d))](this[_0x49c869(0x1ec)],_0x5377cb,{'maxCommentCharsWhenCollapsed':this[_0x49c869(0x216)][_0x49c869(0x207)],'formatDateTime':this[_0x49c869(0x216)][_0x49c869(0x231)],'editorConfig':this[_0x49c869(0x216)][_0x49c869(0x1f7)]});_0x30f222[_0x49c869(0x243)]=_0x5377cb['id'],_0x30f222[_0x49c869(0x244)](_0x49c869(0x1fd))['to'](this),_0x30f222[_0x49c869(0x244)](_0x49c869(0x23f))['to'](this),_0x30f222[_0x49c869(0x244)](_0x49c869(0x21a))['to'](this),_0x30f222[_0x49c869(0x244)](_0x49c869(0x210))['to'](this),_0x30f222[_0x49c869(0x244)](_0x49c869(0x212))['to'](this),this[_0x49c869(0x20b)](_0x30f222,_0x49c869(0x202),()=>this[_0x49c869(0x1fa)]()),this[_0x49c869(0x1f4)][_0x49c869(0x24b)](_0x30f222,_0x47975d);}[_0x103c0c(0x1ff)](_0x32fa4a){const _0x14bafc=_0x103c0c,_0x43d2cc=this[_0x14bafc(0x1fb)][_0x14bafc(0x215)](_0x32fa4a);return this[_0x14bafc(0x233)]?this[_0x14bafc(0x233)][_0x14bafc(0x232)]>_0x32fa4a[_0x14bafc(0x232)]?_0x43d2cc-0x1:_0x43d2cc:_0x43d2cc-0x1;}[_0x103c0c(0x1ef)](){const _0xa5a1aa=_0x103c0c;if(this[_0xa5a1aa(0x1fb)][_0xa5a1aa(0x248)]&&this[_0xa5a1aa(0x1fb)][_0xa5a1aa(0x1f0)]){const _0x134c22={'id':_0xa5a1aa(0x23b),'author':this[_0xa5a1aa(0x1fb)][_0xa5a1aa(0x248)],'authoredAt':this[_0xa5a1aa(0x1fb)][_0xa5a1aa(0x1f0)],'content':_0xd36caa(this[_0xa5a1aa(0x1ec)],_0xa5a1aa(0x227)),'attributes':{}};this[_0xa5a1aa(0x233)]=new this[(_0xa5a1aa(0x216))][(_0xa5a1aa(0x20d))](this[_0xa5a1aa(0x1ec)],_0x134c22,{'maxCommentCharsWhenCollapsed':this[_0xa5a1aa(0x216)][_0xa5a1aa(0x207)],'formatDateTime':this[_0xa5a1aa(0x216)][_0xa5a1aa(0x231)],'editorConfig':this[_0xa5a1aa(0x216)][_0xa5a1aa(0x1f7)],'isSystemComment':!0x0}),this[_0xa5a1aa(0x1f4)][_0xa5a1aa(0x24b)](this[_0xa5a1aa(0x233)],this[_0xa5a1aa(0x1fb)][_0xa5a1aa(0x215)](_0x134c22));}else this[_0xa5a1aa(0x233)]&&(this[_0xa5a1aa(0x1f4)][_0xa5a1aa(0x221)](this[_0xa5a1aa(0x233)]),this[_0xa5a1aa(0x233)][_0xa5a1aa(0x22c)](),this[_0xa5a1aa(0x233)]=null);this[_0xa5a1aa(0x205)]();}[_0x103c0c(0x218)](_0x4ef282){const _0x4bcc52=_0x103c0c,_0x42d374=this[_0x4bcc52(0x1f4)][_0x4bcc52(0x221)](_0x4ef282['id']);this[_0x4bcc52(0x203)](_0x42d374),_0x42d374[_0x4bcc52(0x1fe)]&&this[_0x4bcc52(0x1fa)](),_0x42d374[_0x4bcc52(0x22c)]();}[_0x103c0c(0x1fa)](){const _0x5954b6=_0x103c0c;this[_0x5954b6(0x211)]=Array[_0x5954b6(0x241)](this[_0x5954b6(0x1f4)])[_0x5954b6(0x1eb)](_0xa9cc1c=>_0xa9cc1c[_0x5954b6(0x1fe)]);}[_0x103c0c(0x20c)](){const _0x2b5485=_0x103c0c,_0x572a6c=function(_0xf0f542){const _0x35ee32=_0x2148,_0x24aa60=new _0x256368();for(const _0x270757 of _0xf0f542)_0x24aa60[_0x35ee32(0x24b)](_0x270757);return _0x24aa60;}(this[_0x2b5485(0x1f4)]),_0x518f2b=this[_0x2b5485(0x1f8)][_0x2b5485(0x236)];for(let _0x3dc524=0x1;_0x3dc524<=_0x518f2b;_0x3dc524++)_0x572a6c[_0x2b5485(0x221)](0x1);for(const _0x47ace8 of _0x572a6c)_0x47ace8[_0x2b5485(0x1f9)]();_0x518f2b>0x0&&_0x572a6c[_0x2b5485(0x24b)](this[_0x2b5485(0x1f8)],0x1),as(_0x1355b3(Array[_0x2b5485(0x241)](this[_0x2b5485(0x240)]),Array[_0x2b5485(0x241)](_0x572a6c)),this[_0x2b5485(0x240)],_0x572a6c);}[_0x103c0c(0x222)](){const _0xe8f294=_0x103c0c;as(_0x1355b3(Array[_0xe8f294(0x241)](this[_0xe8f294(0x240)]),Array[_0xe8f294(0x241)](this[_0xe8f294(0x1f4)])),this[_0xe8f294(0x240)],this[_0xe8f294(0x1f4)]);for(const _0x5a637e of this[_0xe8f294(0x240)])_0x5a637e[_0xe8f294(0x1f1)]();}[_0x103c0c(0x239)](){const _0x3ec520=_0x103c0c;this[_0x3ec520(0x1f4)][_0x3ec520(0x1ed)](_0x4f79eb=>{const _0x3a3ecd=_0x3ec520;this[_0x3a3ecd(0x206)][_0x3a3ecd(0x24b)](_0x4f79eb[_0x3a3ecd(0x217)]),this[_0x3a3ecd(0x22b)][_0x3a3ecd(0x20b)](_0x4f79eb[_0x3a3ecd(0x217)]);}),this[_0x3ec520(0x1f4)]['on'](_0x3ec520(0x220),(_0x419f7c,_0x670670)=>{const _0x20fce7=_0x3ec520;for(const _0xf1974d of _0x670670[_0x20fce7(0x204)])this[_0x20fce7(0x206)][_0x20fce7(0x221)](_0xf1974d[_0x20fce7(0x217)]),this[_0x20fce7(0x22b)][_0x20fce7(0x203)](_0xf1974d[_0x20fce7(0x217)]);for(const _0x480013 of Array[_0x20fce7(0x241)](_0x670670[_0x20fce7(0x21b)])[_0x20fce7(0x219)]())this[_0x20fce7(0x206)][_0x20fce7(0x24b)](_0x480013[_0x20fce7(0x217)]),this[_0x20fce7(0x22b)][_0x20fce7(0x20b)](_0x480013[_0x20fce7(0x217)]);});}}function as(_0x8fa3d8,_0x312d2e,_0x1fe42c){const _0x4756f0=_0x103c0c;let _0x3fe1c2=0x0;for(const _0x5382c5 of _0x8fa3d8)switch(_0x5382c5){case _0x4756f0(0x246):_0x312d2e[_0x4756f0(0x24b)](_0x1fe42c[_0x4756f0(0x21c)](_0x3fe1c2),_0x3fe1c2),_0x3fe1c2++;break;case _0x4756f0(0x23c):_0x312d2e[_0x4756f0(0x221)](_0x3fe1c2);break;case _0x4756f0(0x208):_0x3fe1c2++;}}function _0x19cf(){const _0x4e78b3=['resolved','delete','weight','render','updateComment','visibleViews','from','set','viewUid','delegate','ck-thread__comments','insert','517329YnAZWs','resolvedBy','isActive','focus','add','focusFirst','some','locale','forEach','focusLast','_handleInfoComment','resolvedAt','expand','405296EAClrf','2195562lQBNmu','commentViews','8Ahpoau','includes','editorConfig','_collapsedCommentsView','collapse','_updateHasDirtyComment','_model','5wGOAoc','removeComment','isEditMode','_calculatePosition','focusCycler','4063185pQXMMw','change:isEditMode','stopListening','removed','refreshVisibleViews','focusTracker','maxCommentCharsWhenCollapsed','equal','_shouldCollapse','commentUpdated','listenTo','_rearrangeCollapse','CommentView','change:isResolved','693Klfzpx','editorReady','hasDirtyComment','editorDestroyed','bind','setTemplate','_findOptimalIndex','_config','element','_handleRemoveCommentModel','reverse','resolveCommentThread','added','get','241226ZlRPCy','maxThreadTotalWeight','ck-hidden','change','remove','_rearrangeExpand','length','arrowup','createCollection','_handleNewCommentModel','Marked\x20as\x20resolved','arrowdown','change:isActive','140840yEjjkH','keystrokes','destroy','change:hasDirtyComment','bindTemplate','maxCommentsWhenCollapsed','target','formatDateTime','authoredAt','resolvedCommentView','map','Thread\x20comments','count','comments','95691xDaqCF','_setupKeyboardNavigation','28zAJAoH'];_0x19cf=function(){return _0x4e78b3;};return _0x19cf();}
|
|
23
|
+
const _0x5e56f0=_0x3af2;function _0x24ac(){const _0x531fb3=['maxCommentsWhenCollapsed','delete','focusFirst','_handleRemoveCommentModel','Marked\x20as\x20resolved','element','bind','maxCommentCharsWhenCollapsed','resolvedBy','_findOptimalIndex','change:isResolved','focus','6020lEXtjg','_calculatePosition','collapse','_model','resolveCommentThread','editorReady','resolvedAt','_handleNewCommentModel','2742KdDXqf','96PHIZUQ','arrowdown','arrowup','Thread\x20comments','resolvedCommentView','commentViews','get','_rearrangeCollapse','listenTo','editorDestroyed','reverse','705yACpAC','updateComment','hasDirtyComment','focusCycler','refreshVisibleViews','2961CLAXcq','count','weight','change','_shouldCollapse','added','formatDateTime','5852544sPDPMJ','11143566qwDlkd','2294ydVzzA','isActive','set','change:hasDirtyComment','viewUid','removed','isEditMode','resolved','createCollection','1614BkFmFz','change:isEditMode','8EwLfvp','keystrokes','_config','_rearrangeExpand','focusLast','remove','add','forEach','target','authoredAt','_collapsedCommentsView','_updateHasDirtyComment','destroy','ck-thread__comments','length','commentUpdated','focusTracker','expand','maxThreadTotalWeight','from','877760CqveDC','change:isActive','editorConfig','equal','insert','bindTemplate','_handleInfoComment','comments','some','stopListening','locale','delegate','ck-hidden','visibleViews','includes','529804ZuYCrj','removeComment','map','CommentView','setTemplate','_setupKeyboardNavigation','render'];_0x24ac=function(){return _0x531fb3;};return _0x24ac();}(function(_0x300030,_0x50e1dd){const _0x3db5b3=_0x3af2,_0x1ea5d1=_0x300030();while(!![]){try{const _0x1eda82=parseInt(_0x3db5b3(0x172))/0x1+parseInt(_0x3db5b3(0x153))/0x2*(parseInt(_0x3db5b3(0x15c))/0x3)+-parseInt(_0x3db5b3(0x151))/0x4+parseInt(_0x3db5b3(0x145))/0x5*(-parseInt(_0x3db5b3(0x19c))/0x6)+-parseInt(_0x3db5b3(0x152))/0x7*(-parseInt(_0x3db5b3(0x15e))/0x8)+-parseInt(_0x3db5b3(0x14a))/0x9*(parseInt(_0x3db5b3(0x194))/0xa)+-parseInt(_0x3db5b3(0x181))/0xb*(parseInt(_0x3db5b3(0x19d))/0xc);if(_0x1eda82===_0x50e1dd)break;else _0x1ea5d1['push'](_0x1ea5d1['shift']());}catch(_0x1b9d47){_0x1ea5d1['push'](_0x1ea5d1['shift']());}}}(_0x24ac,0xee3e1));import{View as _0x56a3ef,FocusCycler as _0x3529db}from'ckeditor5/src/ui.js';import{diff as _0x443296,Collection as _0x5ded1e,FocusTracker as _0x5b9d6a,KeystrokeHandler as _0x187028}from'ckeditor5/src/utils.js';import{getTranslation as _0x463126}from'../../../utils/common-translations.js';function _0x3af2(_0xe1d048,_0x30f335){const _0x24ac0f=_0x24ac();return _0x3af2=function(_0x3af2c5,_0x170b3b){_0x3af2c5=_0x3af2c5-0x13d;let _0x7c72c2=_0x24ac0f[_0x3af2c5];return _0x7c72c2;},_0x3af2(_0xe1d048,_0x30f335);}import _0x235789 from'./collapsedcommentsview.js';export default class te extends _0x56a3ef{constructor(_0x5ab1d2,_0x319d30,_0x5da392){const _0x18acb9=_0x3af2;super(_0x5ab1d2);const _0xdf8b07=this[_0x18acb9(0x177)];this[_0x18acb9(0x155)](_0x18acb9(0x147),!0x1),this[_0x18acb9(0x155)](_0x18acb9(0x16c),_0x319d30[_0x18acb9(0x179)][_0x18acb9(0x16c)]),this[_0x18acb9(0x155)](_0x18acb9(0x154),!0x1),this[_0x18acb9(0x197)]=_0x319d30,this[_0x18acb9(0x160)]=_0x5da392,this[_0x18acb9(0x13f)]=this[_0x18acb9(0x15b)](),this[_0x18acb9(0x17f)]=this[_0x18acb9(0x15b)](),this[_0x18acb9(0x13e)]=null,this[_0x18acb9(0x16e)]=new _0x5b9d6a(),this[_0x18acb9(0x15f)]=new _0x187028(),this[_0x18acb9(0x148)]=new _0x3529db({'focusables':this[_0x18acb9(0x13f)],'focusTracker':this[_0x18acb9(0x16e)],'keystrokeHandler':this[_0x18acb9(0x15f)],'keystrokeHandlerOptions':{'filter':_0x52807c=>this[_0x18acb9(0x13f)][_0x18acb9(0x183)](_0x316d31=>_0x316d31[_0x18acb9(0x18d)])[_0x18acb9(0x180)](_0x52807c[_0x18acb9(0x166)])},'actions':{'focusPrevious':_0x18acb9(0x19f),'focusNext':_0x18acb9(0x19e)}}),this[_0x18acb9(0x168)]=new _0x235789(_0x5ab1d2),this[_0x18acb9(0x168)][_0x18acb9(0x18e)](_0x18acb9(0x14b))['to'](this,_0x18acb9(0x16c),_0xcd5fe5=>_0xcd5fe5-this[_0x18acb9(0x160)][_0x18acb9(0x188)]);for(const _0x10fa45 of _0x319d30[_0x18acb9(0x179)])this[_0x18acb9(0x19b)](_0x10fa45);this[_0x18acb9(0x178)](),this[_0x18acb9(0x142)](_0x319d30[_0x18acb9(0x179)],_0x18acb9(0x164),(_0x1c4c3d,_0x179f81)=>{const _0x5f4b65=_0x18acb9,_0x528784=this[_0x5f4b65(0x195)](_0x179f81);this[_0x5f4b65(0x16c)]++,this[_0x5f4b65(0x19b)](_0x179f81,_0x528784),this[_0x5f4b65(0x149)]();}),this[_0x18acb9(0x142)](_0x319d30[_0x18acb9(0x179)],_0x18acb9(0x163),(_0x3b688c,_0xb94666)=>{const _0x3a1182=_0x18acb9;this[_0x3a1182(0x16c)]--,this[_0x3a1182(0x18b)](_0xb94666),this[_0x3a1182(0x149)]();}),this[_0x18acb9(0x142)](_0x319d30,_0x18acb9(0x16d),()=>this[_0x18acb9(0x149)]()),this[_0x18acb9(0x142)](_0x319d30,_0x18acb9(0x192),()=>this[_0x18acb9(0x178)]()),this['on'](_0x18acb9(0x173),()=>this[_0x18acb9(0x149)]()),this['on'](_0x18acb9(0x156),()=>this[_0x18acb9(0x149)]()),this[_0x18acb9(0x185)]({'tag':'ul','attributes':{'class':[_0x18acb9(0x16b),_0xdf8b07['if'](_0x18acb9(0x16c),_0x18acb9(0x17e),_0x48a1eb=>!_0x48a1eb)],'aria-label':_0x463126(_0x5ab1d2,_0x18acb9(0x13d))},'children':this[_0x18acb9(0x17f)]});}get[_0x5e56f0(0x14e)](){const _0x9a5b3=_0x5e56f0;return this[_0x9a5b3(0x197)][_0x9a5b3(0x14c)]>this[_0x9a5b3(0x160)][_0x9a5b3(0x170)]&&!this[_0x9a5b3(0x154)]&&!this[_0x9a5b3(0x147)];}[_0x5e56f0(0x187)](){const _0xcfd05e=_0x5e56f0;super[_0xcfd05e(0x187)](),this[_0xcfd05e(0x149)](),this[_0xcfd05e(0x186)]();}[_0x5e56f0(0x193)](_0x1ec1b9){const _0x125a39=_0x5e56f0;-0x1===_0x1ec1b9?this[_0x125a39(0x148)][_0x125a39(0x162)]():this[_0x125a39(0x148)][_0x125a39(0x18a)]();}[_0x5e56f0(0x16a)](){const _0x3c3056=_0x5e56f0;this[_0x3c3056(0x168)][_0x3c3056(0x16a)]();for(const _0x1c9b4a of this[_0x3c3056(0x13f)])_0x1c9b4a[_0x3c3056(0x16a)]();super[_0x3c3056(0x16a)]();}[_0x5e56f0(0x149)](){const _0xd5b6d8=_0x5e56f0;this[_0xd5b6d8(0x14e)]?this[_0xd5b6d8(0x141)]():this[_0xd5b6d8(0x161)]();}[_0x5e56f0(0x19b)](_0x1d967e,_0x52446e){const _0x235186=_0x5e56f0,_0x4b3ec6=new this[(_0x235186(0x160))][(_0x235186(0x184))](this[_0x235186(0x17c)],_0x1d967e,{'maxCommentCharsWhenCollapsed':this[_0x235186(0x160)][_0x235186(0x18f)],'formatDateTime':this[_0x235186(0x160)][_0x235186(0x150)],'editorConfig':this[_0x235186(0x160)][_0x235186(0x174)]});_0x4b3ec6[_0x235186(0x157)]=_0x1d967e['id'],_0x4b3ec6[_0x235186(0x17d)](_0x235186(0x182))['to'](this),_0x4b3ec6[_0x235186(0x17d)](_0x235186(0x146))['to'](this),_0x4b3ec6[_0x235186(0x17d)](_0x235186(0x198))['to'](this),_0x4b3ec6[_0x235186(0x17d)](_0x235186(0x199))['to'](this),_0x4b3ec6[_0x235186(0x17d)](_0x235186(0x143))['to'](this),this[_0x235186(0x142)](_0x4b3ec6,_0x235186(0x15d),()=>this[_0x235186(0x169)]()),this[_0x235186(0x13f)][_0x235186(0x164)](_0x4b3ec6,_0x52446e);}[_0x5e56f0(0x195)](_0x8247db){const _0x5b3698=_0x5e56f0,_0x2533fc=this[_0x5b3698(0x197)][_0x5b3698(0x191)](_0x8247db);return this[_0x5b3698(0x13e)]?this[_0x5b3698(0x13e)][_0x5b3698(0x167)]>_0x8247db[_0x5b3698(0x167)]?_0x2533fc-0x1:_0x2533fc:_0x2533fc-0x1;}[_0x5e56f0(0x178)](){const _0x4ed462=_0x5e56f0;if(this[_0x4ed462(0x197)][_0x4ed462(0x190)]&&this[_0x4ed462(0x197)][_0x4ed462(0x19a)]){const _0x195490={'id':_0x4ed462(0x15a),'author':this[_0x4ed462(0x197)][_0x4ed462(0x190)],'authoredAt':this[_0x4ed462(0x197)][_0x4ed462(0x19a)],'content':_0x463126(this[_0x4ed462(0x17c)],_0x4ed462(0x18c)),'attributes':{}};this[_0x4ed462(0x13e)]=new this[(_0x4ed462(0x160))][(_0x4ed462(0x184))](this[_0x4ed462(0x17c)],_0x195490,{'maxCommentCharsWhenCollapsed':this[_0x4ed462(0x160)][_0x4ed462(0x18f)],'formatDateTime':this[_0x4ed462(0x160)][_0x4ed462(0x150)],'editorConfig':this[_0x4ed462(0x160)][_0x4ed462(0x174)],'isSystemComment':!0x0}),this[_0x4ed462(0x13f)][_0x4ed462(0x164)](this[_0x4ed462(0x13e)],this[_0x4ed462(0x197)][_0x4ed462(0x191)](_0x195490));}else this[_0x4ed462(0x13e)]&&(this[_0x4ed462(0x13f)][_0x4ed462(0x163)](this[_0x4ed462(0x13e)]),this[_0x4ed462(0x13e)][_0x4ed462(0x16a)](),this[_0x4ed462(0x13e)]=null);this[_0x4ed462(0x149)]();}[_0x5e56f0(0x18b)](_0x1c703e){const _0x1af557=_0x5e56f0,_0x1bd863=this[_0x1af557(0x13f)][_0x1af557(0x163)](_0x1c703e['id']);this[_0x1af557(0x17b)](_0x1bd863),_0x1bd863[_0x1af557(0x159)]&&this[_0x1af557(0x169)](),_0x1bd863[_0x1af557(0x16a)]();}[_0x5e56f0(0x169)](){const _0x4e93ba=_0x5e56f0;this[_0x4e93ba(0x147)]=Array[_0x4e93ba(0x171)](this[_0x4e93ba(0x13f)])[_0x4e93ba(0x17a)](_0x4a9e83=>_0x4a9e83[_0x4e93ba(0x159)]);}[_0x5e56f0(0x141)](){const _0x23aa4c=_0x5e56f0,_0x32a765=function(_0x571256){const _0x3f4abd=_0x3af2,_0x4e0e0a=new _0x5ded1e();for(const _0x40a2c4 of _0x571256)_0x4e0e0a[_0x3f4abd(0x164)](_0x40a2c4);return _0x4e0e0a;}(this[_0x23aa4c(0x13f)]),_0x55e797=this[_0x23aa4c(0x168)][_0x23aa4c(0x14b)];for(let _0x402a4f=0x1;_0x402a4f<=_0x55e797;_0x402a4f++)_0x32a765[_0x23aa4c(0x163)](0x1);for(const _0x482c1e of _0x32a765)_0x482c1e[_0x23aa4c(0x196)]();_0x55e797>0x0&&_0x32a765[_0x23aa4c(0x164)](this[_0x23aa4c(0x168)],0x1),as(_0x443296(Array[_0x23aa4c(0x171)](this[_0x23aa4c(0x17f)]),Array[_0x23aa4c(0x171)](_0x32a765)),this[_0x23aa4c(0x17f)],_0x32a765);}[_0x5e56f0(0x161)](){const _0xc36823=_0x5e56f0;as(_0x443296(Array[_0xc36823(0x171)](this[_0xc36823(0x17f)]),Array[_0xc36823(0x171)](this[_0xc36823(0x13f)])),this[_0xc36823(0x17f)],this[_0xc36823(0x13f)]);for(const _0x5a5cc4 of this[_0xc36823(0x17f)])_0x5a5cc4[_0xc36823(0x16f)]();}[_0x5e56f0(0x186)](){const _0x60884b=_0x5e56f0;this[_0x60884b(0x13f)][_0x60884b(0x165)](_0x1cf41a=>{const _0x530471=_0x60884b;this[_0x530471(0x16e)][_0x530471(0x164)](_0x1cf41a[_0x530471(0x18d)]),this[_0x530471(0x15f)][_0x530471(0x142)](_0x1cf41a[_0x530471(0x18d)]);}),this[_0x60884b(0x13f)]['on'](_0x60884b(0x14d),(_0x57138f,_0x13cbe0)=>{const _0x3e1334=_0x60884b;for(const _0x46e5dd of _0x13cbe0[_0x3e1334(0x158)])this[_0x3e1334(0x16e)][_0x3e1334(0x163)](_0x46e5dd[_0x3e1334(0x18d)]),this[_0x3e1334(0x15f)][_0x3e1334(0x17b)](_0x46e5dd[_0x3e1334(0x18d)]);for(const _0x215740 of Array[_0x3e1334(0x171)](_0x13cbe0[_0x3e1334(0x14f)])[_0x3e1334(0x144)]())this[_0x3e1334(0x16e)][_0x3e1334(0x164)](_0x215740[_0x3e1334(0x18d)]),this[_0x3e1334(0x15f)][_0x3e1334(0x142)](_0x215740[_0x3e1334(0x18d)]);});}}function as(_0x300a0a,_0x5c3b83,_0x3d52a0){const _0x1000d6=_0x5e56f0;let _0x2aa818=0x0;for(const _0x334c5c of _0x300a0a)switch(_0x334c5c){case _0x1000d6(0x176):_0x5c3b83[_0x1000d6(0x164)](_0x3d52a0[_0x1000d6(0x140)](_0x2aa818),_0x2aa818),_0x2aa818++;break;case _0x1000d6(0x189):_0x5c3b83[_0x1000d6(0x163)](_0x2aa818);break;case _0x1000d6(0x175):_0x2aa818++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x583c(_0x5a4542,_0x4a4173){const _0x3736e1=_0x3736();return _0x583c=function(_0x583c43,_0x5181e9){_0x583c43=_0x583c43-0x1a4;let _0x354edd=_0x3736e1[_0x583c43];return _0x354edd;},_0x583c(_0x5a4542,_0x4a4173);}const _0x27540a=_0x583c;(function(_0x3ff348,_0x599b01){const _0x2f3fe1=_0x583c,_0x1c4a55=_0x3ff348();while(!![]){try{const _0x369e72=-parseInt(_0x2f3fe1(0x1b6))/0x1*(parseInt(_0x2f3fe1(0x1b0))/0x2)+-parseInt(_0x2f3fe1(0x1b1))/0x3+parseInt(_0x2f3fe1(0x1a9))/0x4*(-parseInt(_0x2f3fe1(0x1a8))/0x5)+-parseInt(_0x2f3fe1(0x1b5))/0x6*(parseInt(_0x2f3fe1(0x1ae))/0x7)+-parseInt(_0x2f3fe1(0x1b7))/0x8+-parseInt(_0x2f3fe1(0x1aa))/0x9*(parseInt(_0x2f3fe1(0x1ab))/0xa)+parseInt(_0x2f3fe1(0x1a7))/0xb*(parseInt(_0x2f3fe1(0x1a4))/0xc);if(_0x369e72===_0x599b01)break;else _0x1c4a55['push'](_0x1c4a55['shift']());}catch(_0x460251){_0x1c4a55['push'](_0x1c4a55['shift']());}}}(_0x3736,0x5c357));import{View as _0x3470dc}from'ckeditor5/src/ui.js';function _0x3736(){const _0x2b157d=['bindTemplate','54ErBCMo','20HDpLbc','2515120Otzivp','THREAD_CONTEXT_LABEL','10426368JvKJPv','focus','span','33SEnjDr','5rwUwen','2887844RqKBpC','108vyDusS','185530mpknBC','ck-context__value','contextValue','99981fohSNH','set','23962fOHHLB','1805253BkEZTr','setTemplate','element'];_0x3736=function(){return _0x2b157d;};return _0x3736();}import{getTranslation as _0xafe8fa}from'../../../utils/common-translations.js';export default class ls extends _0x3470dc{constructor(_0x37c978){const _0x2af274=_0x583c;super(_0x37c978);const _0x48319a=this[_0x2af274(0x1b4)];this[_0x2af274(0x1af)](_0x2af274(0x1ad),''),this[_0x2af274(0x1b2)]({'tag':_0x2af274(0x1a6),'attributes':{'class':['ck',_0x2af274(0x1ac)],'aria-label':_0x48319a['to'](_0x2af274(0x1ad),_0x4173ea=>_0xafe8fa(_0x37c978,_0x2af274(0x1b8),_0x4173ea)),'tabindex':-0x1},'children':[{'text':_0x48319a['to'](_0x2af274(0x1ad))}]});}[_0x27540a(0x1a5)](){const _0x14e891=_0x27540a;this[_0x14e891(0x1b3)][_0x14e891(0x1a5)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x14d852=_0x6c94;(function(_0x2ff10b,_0x2630ca){const _0x555dd5=_0x6c94,_0x2d2c6b=_0x2ff10b();while(!![]){try{const _0x495118=-parseInt(_0x555dd5(0x17d))/0x1+parseInt(_0x555dd5(0x192))/0x2+-parseInt(_0x555dd5(0x199))/0x3*(parseInt(_0x555dd5(0x1aa))/0x4)+-parseInt(_0x555dd5(0x184))/0x5+-parseInt(_0x555dd5(0x181))/0x6+parseInt(_0x555dd5(0x17f))/0x7+parseInt(_0x555dd5(0x171))/0x8;if(_0x495118===_0x2630ca)break;else _0x2d2c6b['push'](_0x2d2c6b['shift']());}catch(_0x57a58c){_0x2d2c6b['push'](_0x2d2c6b['shift']());}}}(_0x33d3,0xeea67));function _0x6c94(_0x488063,_0x336c33){const _0x33d33a=_0x33d3();return _0x6c94=function(_0x6c945c,_0x3058f6){_0x6c945c=_0x6c945c-0x16b;let _0x2f7558=_0x33d33a[_0x6c945c];return _0x2f7558;},_0x6c94(_0x488063,_0x336c33);}import{View as _0x443bdf,ButtonView as _0x1cf04e,FocusCycler as _0x3097f7}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2e87f5,KeystrokeHandler as _0x4843ae}from'ckeditor5/src/utils.js';import{getTranslation as _0xbea766}from'../../../utils/common-translations.js';import _0x51fb24 from'../../../../theme/icons/undo.svg';import _0x24d10f from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;function _0x33d3(){const _0x1c08ac=['icon','listenTo','_createReopenButton','ck-context-wrapper','hasContext','tooltip','isVisible','element','bindTemplate','bind','ck-annotation__actions','8DcwwgW','context','classList','querySelector','value','Comment\x20was\x20made\x20on\x20an\x20element','setTemplate','label','add','lastIndexOf','isEnabled','ck-thread__header','focus','14629960bQZoPd','focusables','focusFirst','locale','isResolvable','_model','remove','focusTracker','_attachContextActions','shift+tab','execute','offsetWidth','1248640VDXToP','isResolved','8686811MKBRZo','ck-context','2340594nQfcgD','ck-context--quotes','keystrokes','7821195peIDkG','render','...','_setupKeyboardNavigation','reopenCommentThread','scrollWidth','contextValue','tab','mouseenter','fire','Reopen','createCollection','length','substring','3243954oYLrOd','focusCycler','isReadOnly','.ck-context__value','_createContextView','.ck-context','overlay','766809wOOqIG','_trimContextValue','contextView','reopenButtonView','div','mouseleave'];_0x33d3=function(){return _0x1c08ac;};return _0x33d3();}export default class Zt extends _0x443bdf{constructor(_0x1d9d9c,_0x4e8368){const _0x70ff63=_0x6c94;super(_0x1d9d9c);const _0x52b52f=this[_0x70ff63(0x1a7)];this[_0x70ff63(0x176)]=_0x4e8368,this[_0x70ff63(0x19c)]=this[_0x70ff63(0x1a1)](),this[_0x70ff63(0x19b)]=this[_0x70ff63(0x196)](),this[_0x70ff63(0x172)]=this[_0x70ff63(0x18f)]([this[_0x70ff63(0x19b)],this[_0x70ff63(0x19c)]]),this[_0x70ff63(0x178)]=new _0x2e87f5(),this[_0x70ff63(0x183)]=new _0x4843ae(),this[_0x70ff63(0x193)]=new _0x3097f7({'focusables':this[_0x70ff63(0x172)],'focusTracker':this[_0x70ff63(0x178)],'keystrokeHandler':this[_0x70ff63(0x183)],'actions':{'focusPrevious':_0x70ff63(0x17a),'focusNext':_0x70ff63(0x18b)}}),this[_0x70ff63(0x1a8)](_0x70ff63(0x1a3))['to'](this[_0x70ff63(0x176)],_0x70ff63(0x1ab),_0x198efa=>!!_0x198efa),this[_0x70ff63(0x1a8)](_0x70ff63(0x18a))['to'](this[_0x70ff63(0x176)],_0x70ff63(0x1ab),_0xa6ce63=>_0xa6ce63&&_0xa6ce63[_0x70ff63(0x1ae)]?this[_0x70ff63(0x19a)](_0xa6ce63[_0x70ff63(0x1ae)]):_0xbea766(this[_0x70ff63(0x174)],_0x70ff63(0x1af))),this[_0x70ff63(0x1b0)]({'tag':_0x70ff63(0x19d),'attributes':{'class':[_0x70ff63(0x16f)]},'children':[{'tag':_0x70ff63(0x19d),'attributes':{'class':[_0x70ff63(0x1a2)]},'children':[{'tag':_0x70ff63(0x19d),'attributes':{'class':[_0x70ff63(0x180),_0x52b52f['if'](_0x70ff63(0x1a3),_0x70ff63(0x182))]},'children':[this[_0x70ff63(0x19b)]]}]},{'tag':_0x70ff63(0x19d),'attributes':{'class':[_0x70ff63(0x1a9)]},'children':[this[_0x70ff63(0x19c)]]}]});}[_0x14d852(0x185)](){const _0x44a770=_0x14d852;super[_0x44a770(0x185)](),this[_0x44a770(0x179)](),this[_0x44a770(0x187)]();}[_0x14d852(0x170)](){const _0x51931a=_0x14d852;this[_0x51931a(0x193)][_0x51931a(0x173)]();}[_0x14d852(0x1a1)](){const _0x236086=_0x14d852,_0xf5fa55=new _0x1cf04e(this[_0x236086(0x174)]);return _0xf5fa55[_0x236086(0x16b)]=_0xbea766(this[_0x236086(0x174)],_0x236086(0x18e)),_0xf5fa55[_0x236086(0x1a4)]=_0xbea766(this[_0x236086(0x174)],_0x236086(0x18e)),_0xf5fa55[_0x236086(0x19f)]=_0x51fb24,_0xf5fa55[_0x236086(0x1a8)](_0x236086(0x16e))['to'](this[_0x236086(0x176)],_0x236086(0x194),_0x1a685f=>!_0x1a685f),_0xf5fa55[_0x236086(0x1a8)](_0x236086(0x1a5))['to'](this[_0x236086(0x176)],_0x236086(0x175),this[_0x236086(0x176)],_0x236086(0x17e),(_0x4fbd95,_0x12b188)=>_0x4fbd95&&_0x12b188),_0xf5fa55['on'](_0x236086(0x17b),()=>{const _0x2c7932=_0x236086;this[_0x2c7932(0x18d)](_0x2c7932(0x188),this[_0x2c7932(0x176)]['id']);}),_0xf5fa55;}[_0x14d852(0x19a)](_0x8f3e27){const _0x563808=_0x14d852;if(_0x8f3e27[_0x563808(0x190)]<0x96)return _0x8f3e27;const _0xe52be8=_0x8f3e27[_0x563808(0x16d)]('\x20',0x93);return _0x8f3e27[_0x563808(0x191)](0x0,_0xe52be8>-0x1?_0xe52be8:0x93)+_0x563808(0x186);}[_0x14d852(0x179)](){const _0x5100f6=_0x14d852,_0x35004b=this[_0x5100f6(0x1a6)][_0x5100f6(0x1ad)](_0x5100f6(0x197)),_0x5306f4=_0x35004b[_0x5100f6(0x1ad)](_0x5100f6(0x195));this[_0x5100f6(0x1a0)](_0x35004b,_0x5100f6(0x18c),()=>{const _0x1e5e32=_0x5100f6;_0x5306f4[_0x1e5e32(0x17c)]<_0x5306f4[_0x1e5e32(0x189)]&&_0x35004b[_0x1e5e32(0x1ac)][_0x1e5e32(0x16c)](_0x1e5e32(0x198));}),this[_0x5100f6(0x1a0)](_0x35004b,_0x5100f6(0x19e),()=>{const _0x73d6ac=_0x5100f6;_0x35004b[_0x73d6ac(0x1ac)][_0x73d6ac(0x177)](_0x73d6ac(0x198));});}[_0x14d852(0x187)](){const _0x2c6c27=_0x14d852;this[_0x2c6c27(0x183)][_0x2c6c27(0x1a0)](this[_0x2c6c27(0x1a6)]);for(const _0x224d11 of this[_0x2c6c27(0x172)])this[_0x2c6c27(0x178)][_0x2c6c27(0x16c)](_0x224d11[_0x2c6c27(0x1a6)]),this[_0x2c6c27(0x183)][_0x2c6c27(0x1a0)](_0x224d11[_0x2c6c27(0x1a6)]);}[_0x14d852(0x196)](){const _0x1089a9=_0x14d852,_0x4aaefa=new _0x24d10f(this[_0x1089a9(0x174)]);return _0x4aaefa[_0x1089a9(0x1a8)](_0x1089a9(0x18a))['to'](this),_0x4aaefa;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ae049=_0x2806;(function(_0x9e833e,_0x54b26c){const _0x3adfe0=_0x2806,_0x56ed6f=_0x9e833e();while(!![]){try{const _0x4b563f=-parseInt(_0x3adfe0(0xcb))/0x1*(parseInt(_0x3adfe0(0xc0))/0x2)+-parseInt(_0x3adfe0(0xb2))/0x3*(parseInt(_0x3adfe0(0xa8))/0x4)+-parseInt(_0x3adfe0(0xc6))/0x5+-parseInt(_0x3adfe0(0xa3))/0x6+-parseInt(_0x3adfe0(0xc2))/0x7*(-parseInt(_0x3adfe0(0xb1))/0x8)+-parseInt(_0x3adfe0(0xb7))/0x9+-parseInt(_0x3adfe0(0xac))/0xa*(-parseInt(_0x3adfe0(0xc1))/0xb);if(_0x4b563f===_0x54b26c)break;else _0x56ed6f['push'](_0x56ed6f['shift']());}catch(_0x26aeb0){_0x56ed6f['push'](_0x56ed6f['shift']());}}}(_0x416e,0xb0e34));function _0x2806(_0x2fd91b,_0x36b380){const _0x416e69=_0x416e();return _0x2806=function(_0x280675,_0x50a525){_0x280675=_0x280675-0x9d;let _0x3660b8=_0x416e69[_0x280675];return _0x3660b8;},_0x2806(_0x2fd91b,_0x36b380);}import{View as _0x42db5a}from'ckeditor5/src/ui.js';import _0x1e0fec from'./commentinputview.js';function _0x416e(){const _0x4c3023=['46328183sfbJhN','16527APVUmI','editing','extendTemplate','some','3556735kyxqwv','focus','listenTo','ck-comment__input-container--active','delegate','57WmpfSP','focusCycler','destroy','commentInputView','ck-thread__input','createEditor','value','getDomRoot','preventDefault','element','div','3090216FQAfim','bind','isFocused','focusTracker','render','340yqOPcH','setTemplate','editor','bindTemplate','10AQUWOh','contains','showInput','_focusOnNonInteractiveMouseDown','mousedown','1016JdDKAb','33501zNlrFC','target','editorDestroyed','view','userView','9146277xiRMnP','then','change:showInput','editorReady','ck-comment__input-container','set','filter','showButtons','ck-thread__user','20882QnTOcv'];_0x416e=function(){return _0x4c3023;};return _0x416e();}import{UserView as _0x424029}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ie extends _0x42db5a{constructor(_0x3cc7cc,_0x989b2e,_0x1ff0f8){const _0x2213c6=_0x2806;super(_0x3cc7cc),this[_0x2213c6(0xce)]=new _0x1e0fec(_0x3cc7cc,_0x1ff0f8),this[_0x2213c6(0xcc)]=this[_0x2213c6(0xce)][_0x2213c6(0xcc)],this[_0x2213c6(0xce)][_0x2213c6(0xa4)](_0x2213c6(0xbe))['to'](this[_0x2213c6(0xce)][_0x2213c6(0xa6)],_0x2213c6(0xa5),this[_0x2213c6(0xce)],_0x2213c6(0x9e),(_0x38fcd3,_0xd84091)=>_0x38fcd3||!!_0xd84091),this[_0x2213c6(0xbc)](_0x2213c6(0xae),!0x1),this['on'](_0x2213c6(0xb9),()=>{const _0x4c2a52=_0x2213c6;this[_0x4c2a52(0xae)]&&!this[_0x4c2a52(0xce)][_0x4c2a52(0xaa)]&&this[_0x4c2a52(0xce)][_0x4c2a52(0x9d)]();}),this[_0x2213c6(0xce)][_0x2213c6(0xca)](_0x2213c6(0xba))['to'](this),this[_0x2213c6(0xce)][_0x2213c6(0xca)](_0x2213c6(0xb4))['to'](this),this[_0x2213c6(0xb6)]=new _0x424029(_0x3cc7cc,_0x989b2e),this[_0x2213c6(0xb6)][_0x2213c6(0xc4)]({'attributes':{'class':_0x2213c6(0xbf),'aria-hidden':!0x0}}),this[_0x2213c6(0xce)][_0x2213c6(0xc4)]({'attributes':{'class':_0x2213c6(0xcf)}}),this[_0x2213c6(0xa9)]({'tag':_0x2213c6(0xa2),'attributes':{'class':[_0x2213c6(0xbb),this[_0x2213c6(0xab)]['if'](_0x2213c6(0xae),_0x2213c6(0xc9))]},'children':[this[_0x2213c6(0xb6)],this[_0x2213c6(0xce)]]});}[_0x1ae049(0xa7)](){const _0x594977=_0x1ae049;super[_0x594977(0xa7)](),this[_0x594977(0xaf)]();}[_0x1ae049(0xcd)](){const _0x525abc=_0x1ae049;return this[_0x525abc(0xce)][_0x525abc(0xcd)]()[_0x525abc(0xb8)](()=>super[_0x525abc(0xcd)]());}[_0x1ae049(0xc7)](_0x43c543){const _0x2552fa=_0x1ae049;this[_0x2552fa(0xce)][_0x2552fa(0xc7)](_0x43c543);}[_0x1ae049(0xaf)](){const _0x257c16=_0x1ae049;this[_0x257c16(0xc8)](this[_0x257c16(0xa1)],_0x257c16(0xb0),(_0x521be7,_0xc72b33)=>{const _0x42978a=_0x257c16,{submitButtonView:_0x134280,cancelButtonView:_0x51920f,editor:_0x4cc37e}=this[_0x42978a(0xce)];[_0x134280[_0x42978a(0xa1)],_0x51920f[_0x42978a(0xa1)],_0x4cc37e?_0x4cc37e[_0x42978a(0xc3)][_0x42978a(0xb5)][_0x42978a(0x9f)]():null][_0x42978a(0xbd)](_0x2e9187=>_0x2e9187)[_0x42978a(0xc5)](_0x1c6c0f=>_0x1c6c0f[_0x42978a(0xad)](_0xc72b33[_0x42978a(0xb3)]))||(this[_0x42978a(0xc7)](),_0xc72b33[_0x42978a(0xa0)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x29969b=_0x370e;(function(_0x3f39e5,_0x3fb1ee){const _0x5da8e6=_0x370e,_0x1b2958=_0x3f39e5();while(!![]){try{const _0x17d20e=parseInt(_0x5da8e6(0x124))/0x1*(parseInt(_0x5da8e6(0x104))/0x2)+-parseInt(_0x5da8e6(0x141))/0x3*(-parseInt(_0x5da8e6(0x105))/0x4)+parseInt(_0x5da8e6(0x13b))/0x5+parseInt(_0x5da8e6(0x152))/0x6+-parseInt(_0x5da8e6(0x156))/0x7*(parseInt(_0x5da8e6(0x108))/0x8)+-parseInt(_0x5da8e6(0x126))/0x9*(-parseInt(_0x5da8e6(0x10a))/0xa)+-parseInt(_0x5da8e6(0x12f))/0xb;if(_0x17d20e===_0x3fb1ee)break;else _0x1b2958['push'](_0x1b2958['shift']());}catch(_0x314007){_0x1b2958['push'](_0x1b2958['shift']());}}}(_0x38d2,0xb5077));function _0x370e(_0x1173d1,_0x561ac2){const _0x38d265=_0x38d2();return _0x370e=function(_0x370ee8,_0x238842){_0x370ee8=_0x370ee8-0x100;let _0x49e662=_0x38d265[_0x370ee8];return _0x49e662;},_0x370e(_0x1173d1,_0x561ac2);}import{ConfirmMixin as _0x3067fa,LateFocusButtonView as _0x428ab5}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x48ef17}from'ckeditor5/src/core.js';import _0x18a201 from'./basecommentthreadview.js';import{getTranslation as _0x38caf1}from'../../../utils/common-translations.js';function _0x38d2(){const _0x39038a=['showConfirm','change:isActive','6111390fjTFSF','focus','removeCommentThread','ck-thread--','42161Lxxmnz','querySelector','commentsListView','removeConfirm','ariaDescriptionView','.ck-thread__container','fire','resolveButton','Write\x20a\x20comment...','containerElement','2539344gaWGrD','248heihuU','isReadOnly','stop','472LjZZwL','execute','5697190jxYaxu','_updateArchivedThreadHeader','isUnlinked','ck-thread--remove-confirmation','listitem','then','Resolve','listenTo','element','locale','icon','remove','setTemplate','createCollection','actionIndicator','ck-comment--resolve','resolveCommentThread','add','isActive','removeButton','label','change:archivedAt','ck-thread--active','commentThreadHeaderView','get','ck-rounded-corners','1laqcLy','has','9EanOfH','bindTemplate','_createResolveButton','isEnabled','length','high','_cancelAllConfirms','commentThreadChildren','div','28985451GXaFNk','_model','cancelConfirm','_boundFirstCommentView','commentViews','bind','ck-thread','tooltip','Delete\x20comment\x20thread?','check','change:isReadOnly','archivedAt','337205mdVwYb','ck-thread--unlinked','getTemplate','ariaLabel','actionBar','ck-reset_all-excluded','39024GkOTrx','set','unbind','isSystemComment','isResolvable','focusables','isVisible','commentThreadInputView','extendTemplate','isConfirm','_bindFirstCommentView','isResolved','ck-thread__container','placeholder','render'];_0x38d2=function(){return _0x39038a;};return _0x38d2();}export default class vt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3067fa(_0x18a201){constructor(_0x51a329,_0x748c22,_0x1663ea,_0x11610f){const _0x16e15f=_0x370e;super(_0x51a329,_0x748c22,_0x1663ea,_0x11610f),this[_0x16e15f(0x12d)]=this[_0x16e15f(0x117)]([this[_0x16e15f(0x158)],this[_0x16e15f(0x148)],this[_0x16e15f(0x15a)]]),this[_0x16e15f(0x142)](_0x16e15f(0x118),null),this[_0x16e15f(0x103)]=null,this[_0x16e15f(0x132)]=null,this[_0x16e15f(0x113)]=_0x51a329,this[_0x16e15f(0x101)]=this[_0x16e15f(0x128)](),this[_0x16e15f(0x116)](this[_0x16e15f(0x13d)]()),this['on'](_0x16e15f(0x151),(_0x17ba0e,_0x3129ef,_0x31ffda)=>{const _0x5a601a=_0x16e15f;_0x31ffda||this[_0x5a601a(0x12c)]();}),this[_0x16e15f(0x111)](this[_0x16e15f(0x130)],_0x16e15f(0x139),(_0x16c5cb,_0x433215,_0x569866)=>{const _0x466eb6=_0x16e15f;_0x569866&&this[_0x466eb6(0x12c)]();}),this[_0x16e15f(0x12a)]>0x0&&this[_0x16e15f(0x14b)](),this[_0x16e15f(0x111)](this[_0x16e15f(0x158)][_0x16e15f(0x133)],_0x16e15f(0x11b),()=>{const _0x1c7c66=_0x16e15f;this[_0x1c7c66(0x14b)]();});}[_0x29969b(0x13d)](){const _0x467138=_0x29969b,_0x1abbce=this[_0x467138(0x127)];return{'tag':_0x467138(0x12e),'attributes':{'class':['ck',_0x467138(0x135),_0x467138(0x140),_0x467138(0x123),_0x1abbce['if'](_0x467138(0x11c),_0x467138(0x120)),_0x1abbce['if'](_0x467138(0x10c),_0x467138(0x13c)),_0x1abbce['if'](_0x467138(0x14a),_0x467138(0x10d)),_0x1abbce['to'](_0x467138(0x118),_0x15f241=>_0x15f241?_0x467138(0x155)+_0x15f241:'')],'data-thread-id':this[_0x467138(0x130)]['id'],'tabindex':0x0,'role':_0x467138(0x10e),'aria-label':_0x1abbce['to'](_0x467138(0x13e)),'aria-describedby':this[_0x467138(0x15a)]['id']},'children':[{'tag':_0x467138(0x12e),'attributes':{'class':_0x467138(0x14d)},'children':this[_0x467138(0x12d)]}]};}[_0x29969b(0x14f)](){const _0x292ee6=_0x29969b;super[_0x292ee6(0x14f)](),this[_0x292ee6(0x103)]=this[_0x292ee6(0x112)][_0x292ee6(0x157)](_0x292ee6(0x15b)),this[_0x292ee6(0x130)]['on'](_0x292ee6(0x11f),()=>{const _0x5579f2=_0x292ee6;this[_0x5579f2(0x10b)]();}),this[_0x292ee6(0x10b)]();}[_0x29969b(0x12c)](){const _0x379420=_0x29969b;this[_0x379420(0x131)]();for(const _0x290564 of this[_0x379420(0x158)][_0x379420(0x133)])_0x290564[_0x379420(0x131)]();}[_0x29969b(0x14b)](){const _0x34d344=_0x29969b,{locale:_0x16c9c9}=this,_0x512ecd=this[_0x34d344(0x158)][_0x34d344(0x133)][_0x34d344(0x122)](0x0);_0x512ecd===this[_0x34d344(0x132)]||_0x512ecd[_0x34d344(0x144)]||(this[_0x34d344(0x132)]=_0x512ecd,this[_0x34d344(0x143)](_0x34d344(0x118)),this[_0x34d344(0x134)](_0x34d344(0x118))['to'](_0x512ecd,_0x34d344(0x118),_0x12f3ad=>_0x34d344(0x115)===_0x12f3ad?_0x34d344(0x115):null),_0x512ecd[_0x34d344(0x14e)]=_0x38caf1(_0x16c9c9,_0x34d344(0x102)),_0x512ecd[_0x34d344(0x11d)]['on'](_0x34d344(0x109),_0x45699f=>{const _0x208eed=_0x34d344;_0x45699f[_0x208eed(0x107)](),this[_0x208eed(0x150)](_0x38caf1(_0x16c9c9,_0x208eed(0x137)),this[_0x208eed(0x103)])[_0x208eed(0x10f)](()=>{const _0x5c18aa=_0x208eed;this[_0x5c18aa(0x100)](_0x5c18aa(0x154));});},{'priority':_0x34d344(0x12b)}),this['on'](_0x34d344(0x159),()=>{const _0x253607=_0x34d344;_0x512ecd[_0x253607(0x153)]();}),_0x512ecd[_0x34d344(0x13f)][_0x34d344(0x11b)](this[_0x34d344(0x101)],0x0),_0x512ecd[_0x34d344(0x146)][_0x34d344(0x11b)](this[_0x34d344(0x101)],0x0));}[_0x29969b(0x128)](){const _0x3406a0=_0x29969b,_0x8435ca=new _0x428ab5(this[_0x3406a0(0x113)]);return _0x8435ca[_0x3406a0(0x11e)]=_0x38caf1(this[_0x3406a0(0x113)],_0x3406a0(0x110)),_0x8435ca[_0x3406a0(0x136)]=_0x38caf1(this[_0x3406a0(0x113)],_0x3406a0(0x110)),_0x8435ca[_0x3406a0(0x114)]=_0x48ef17[_0x3406a0(0x138)],_0x8435ca[_0x3406a0(0x149)]({'attributes':{'class':_0x3406a0(0x119)}}),_0x8435ca[_0x3406a0(0x134)](_0x3406a0(0x129))['to'](this[_0x3406a0(0x130)],_0x3406a0(0x106),_0x5ca44c=>!_0x5ca44c),_0x8435ca[_0x3406a0(0x134)](_0x3406a0(0x147))['to'](this[_0x3406a0(0x130)],_0x3406a0(0x145),this[_0x3406a0(0x130)],_0x3406a0(0x14c),(_0x25c38d,_0x5df81d)=>_0x25c38d&&!_0x5df81d),_0x8435ca['on'](_0x3406a0(0x109),()=>{const _0x1626d0=_0x3406a0;this[_0x1626d0(0x100)](_0x1626d0(0x11a),this[_0x1626d0(0x130)]['id']);}),_0x8435ca;}[_0x29969b(0x10b)](){const _0x3c256c=_0x29969b;this[_0x3c256c(0x130)][_0x3c256c(0x13a)]?this[_0x3c256c(0x12d)][_0x3c256c(0x125)](this[_0x3c256c(0x121)])||(this[_0x3c256c(0x12d)][_0x3c256c(0x11b)](this[_0x3c256c(0x121)],0x0),this[_0x3c256c(0x146)][_0x3c256c(0x11b)](this[_0x3c256c(0x121)],0x0)):this[_0x3c256c(0x12d)][_0x3c256c(0x125)](this[_0x3c256c(0x121)])&&(this[_0x3c256c(0x12d)][_0x3c256c(0x115)](this[_0x3c256c(0x121)]),this[_0x3c256c(0x146)][_0x3c256c(0x115)](this[_0x3c256c(0x121)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x418a17=_0x226d;function _0x226d(_0x13c509,_0x4a9377){const _0x55719b=_0x5571();return _0x226d=function(_0x226d0e,_0x36fa0a){_0x226d0e=_0x226d0e-0x132;let _0x342bfa=_0x55719b[_0x226d0e];return _0x342bfa;},_0x226d(_0x13c509,_0x4a9377);}(function(_0x421954,_0x5c341a){const _0x403bd9=_0x226d,_0x1f26d0=_0x421954();while(!![]){try{const _0x4c35a0=-parseInt(_0x403bd9(0x14a))/0x1+-parseInt(_0x403bd9(0x1a1))/0x2+-parseInt(_0x403bd9(0x179))/0x3*(-parseInt(_0x403bd9(0x17a))/0x4)+-parseInt(_0x403bd9(0x157))/0x5+parseInt(_0x403bd9(0x195))/0x6*(-parseInt(_0x403bd9(0x18c))/0x7)+parseInt(_0x403bd9(0x19a))/0x8+parseInt(_0x403bd9(0x149))/0x9;if(_0x4c35a0===_0x5c341a)break;else _0x1f26d0['push'](_0x1f26d0['shift']());}catch(_0x25018d){_0x1f26d0['push'](_0x1f26d0['shift']());}}}(_0x5571,0x95c21));import{ButtonView as _0x4c59e2,createDropdown as _0x8aca9f,ListView as _0x18a318,ListItemView as _0x4e2fda,focusChildOnDropdownOpen as _0x594801}from'ckeditor5/src/ui.js';import{icons as _0x4052a6}from'ckeditor5/src/core.js';import{UserView as _0x2a042c,ConfirmMixin as _0x47a2ec,LateFocusDropdownButtonView as _0x1d3fe7}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5b0380 from'./basecommentview.js';import _0x39b74e from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x40a9b2}from'../../../utils/common-translations.js';function _0x5571(){const _0x2473a5=['push','unbind','isRemovable','ck-annotation__actions--hidden','ck-comment--remove','ck-annotation__actions','14zXLGKz','editButton','ck-comment--','children','isVisible','createCollection','group','execute','element','545214pNrOqs','items','_config','resolvedAt','_attachActions','5760976nKXSlO','threeVerticalDots','ck-comment','Remove','Reply...','listenTo','isSystemComment','1886306qHhPwk','name','bindTemplate','mouseleave','removeButton','ck-comment--edit','set','ck-annotation__info','listitem','focus','ck-comment__actions--hidden','isReadOnly','ck-annotation__info-name','ck-comment__user','switchToEditMode','withText','ck-comment--info','isEditable','ariaDescriptionView','ck-annotation__main','ck-annotation','authoredAt','ck-comment__main','panelPosition','time','length','mouseenter','ck-comment__info-time','placeholder','_createEditButton','removeComment','label','visibleView','edit','22703418etXNJc','379671sgZsmJ','render','fire','change:isRemovable','icon','from','dropdown','toMany','ck-annotation__content-wrapper','ck-comment__actions','isEditMode','ck-comment__info-name','ck-annotation__info-time','6129505TcAzMH','span','_createRemoveButton','Show\x20more\x20items','Edit','buttonView','bind','getExternalCommentNote','isExternal','actionBar','ck-comment__external','add','remove','ck-comment--remove-confirmation','focusables','ck-annotation__user','ariaLabel','isEnabled','then','ck-comment__info','cancelConfirm','panelView','getTemplate','formatDateTime','locale','div','ck-comment__wrapper','userView','ck-hidden','getUserViewNotificationText','_model','setTemplate','_createDropdown','pencil','6CEfgJr','202296GbQEgl','showConfirm','some','blur','extendTemplate','addMany','author','isConfirm','find','_createCommentInputView','actionIndicator','Delete\x20comment?'];_0x5571=function(){return _0x2473a5;};return _0x5571();}export default class gt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x47a2ec(_0x5b0380){constructor(_0x5e5453,_0x5e173e,_0xb0ff8d){const _0x201a53=_0x226d;super(_0x5e5453,_0x5e173e,_0xb0ff8d),this[_0x201a53(0x1a7)](_0x201a53(0x184),null),this[_0x201a53(0x1a7)](_0x201a53(0x143),_0x40a9b2(_0x5e5453,_0x201a53(0x19e))),this[_0x201a53(0x15d)](_0x201a53(0x13c))['to'](_0x5e173e),this[_0x201a53(0x15d)](_0x201a53(0x198))['to'](_0x5e173e),this[_0x201a53(0x160)]=this[_0x201a53(0x191)](),this[_0x201a53(0x1a0)]||(this[_0x201a53(0x18d)]=this[_0x201a53(0x144)](),this[_0x201a53(0x1a5)]=this[_0x201a53(0x159)](),this[_0x201a53(0x196)]=this[_0x201a53(0x191)](),this[_0x201a53(0x196)][_0x201a53(0x17f)]([this[_0x201a53(0x18d)],this[_0x201a53(0x1a5)]]),this[_0x201a53(0x150)]=this[_0x201a53(0x177)](),this[_0x201a53(0x160)][_0x201a53(0x162)](this[_0x201a53(0x150)]),this[_0x201a53(0x165)][_0x201a53(0x162)](this[_0x201a53(0x150)])),this[_0x201a53(0x172)]=new _0x2a042c(_0x5e5453,_0x5e173e[_0x201a53(0x180)],this[_0x201a53(0x174)]()),this[_0x201a53(0x172)][_0x201a53(0x17e)]({'attributes':{'class':[_0x201a53(0x134),_0x201a53(0x166)],'aria-hidden':!0x0}}),this[_0x201a53(0x19f)](_0x5e173e,_0x201a53(0x14d),()=>this[_0x201a53(0x16b)]()),this[_0x201a53(0x176)](this[_0x201a53(0x16d)]());}[_0x418a17(0x16d)](){const _0x179742=_0x418a17,_0x2a9732=this[_0x179742(0x1a3)],_0x2f1c50=[{'tag':_0x179742(0x170),'attributes':{'class':[_0x179742(0x16a),_0x179742(0x1a8)]},'children':[{'tag':_0x179742(0x158),'children':[{'text':this[_0x179742(0x172)][_0x179742(0x1a2)]}],'attributes':{'class':[_0x179742(0x155),_0x179742(0x133)],'data-cke-tooltip-text':this[_0x179742(0x172)][_0x179742(0x1a2)]}},{'tag':_0x179742(0x13f),'attributes':{'datetime':_0x2a9732['to'](_0x179742(0x13c)),'class':[_0x179742(0x142),_0x179742(0x156)]},'children':[{'text':_0x2a9732['to'](_0x179742(0x13c),_0x219325=>this[_0x179742(0x197)][_0x179742(0x16e)](_0x219325))}]}]},{'tag':_0x179742(0x170),'attributes':{'class':[_0x179742(0x153),_0x179742(0x18b),_0x2a9732['if'](_0x179742(0x154),_0x179742(0x1ab)),_0x2a9732['if'](_0x179742(0x154),_0x179742(0x189))]},'children':this[_0x179742(0x160)]},{'tag':_0x179742(0x170),'attributes':{'class':[_0x179742(0x152)]},'children':this[_0x179742(0x147)]},this[_0x179742(0x139)]];return this[_0x179742(0x175)][_0x179742(0x15f)]&&_0x2f1c50[_0x179742(0x186)]({'tag':_0x179742(0x170),'attributes':{'class':[_0x179742(0x161)]},'children':[{'text':this[_0x179742(0x15e)]()}]}),{'tag':'li','attributes':{'class':[_0x179742(0x171),_0x2a9732['if'](_0x179742(0x181),_0x179742(0x164))],'tabindex':-0x1,'aria-label':_0x2a9732['to'](_0x179742(0x167)),'aria-describedby':this[_0x179742(0x139)]['id'],'role':_0x179742(0x1a9)},'children':[{'tag':_0x179742(0x170),'attributes':{'class':[_0x179742(0x19c),_0x179742(0x13b),_0x2a9732['if'](_0x179742(0x154),_0x179742(0x1a6)),_0x2a9732['if'](_0x179742(0x1a0),_0x179742(0x137)),_0x2a9732['to'](_0x179742(0x184),_0x538c68=>_0x538c68?_0x179742(0x18e)+_0x538c68:'')],'data-author-id':this[_0x179742(0x175)][_0x179742(0x180)]['id'],'data-comment-id':this[_0x179742(0x175)]['id'],'role':_0x179742(0x192)},'children':[this[_0x179742(0x172)],{'tag':_0x179742(0x170),'attributes':{'class':[_0x179742(0x13d),_0x179742(0x13a)]},'children':_0x2f1c50}]}]};}[_0x418a17(0x144)](){const _0x211a1b=_0x418a17,_0x5fc8d6=new _0x4c59e2(this[_0x211a1b(0x16f)]);return _0x5fc8d6[_0x211a1b(0x146)]=_0x40a9b2(this[_0x211a1b(0x16f)],_0x211a1b(0x15b)),_0x5fc8d6[_0x211a1b(0x14e)]=_0x4052a6[_0x211a1b(0x178)],_0x5fc8d6[_0x211a1b(0x136)]=!0x0,_0x5fc8d6[_0x211a1b(0x17e)]({'attributes':{'class':_0x211a1b(0x1a6)}}),_0x5fc8d6[_0x211a1b(0x15d)](_0x211a1b(0x168))['to'](this[_0x211a1b(0x175)],_0x211a1b(0x132),_0x8ebde3=>!_0x8ebde3),_0x5fc8d6[_0x211a1b(0x15d)](_0x211a1b(0x190))['to'](this[_0x211a1b(0x175)],_0x211a1b(0x138)),_0x5fc8d6['on'](_0x211a1b(0x193),()=>this[_0x211a1b(0x135)]()),_0x5fc8d6;}[_0x418a17(0x159)](){const _0x2d1b57=_0x418a17,_0x40831e=new _0x4c59e2(this[_0x2d1b57(0x16f)]);return _0x40831e[_0x2d1b57(0x146)]=_0x40a9b2(this[_0x2d1b57(0x16f)],_0x2d1b57(0x19d)),_0x40831e[_0x2d1b57(0x14e)]=_0x39b74e,_0x40831e[_0x2d1b57(0x136)]=!0x0,_0x40831e[_0x2d1b57(0x17e)]({'attributes':{'class':_0x2d1b57(0x18a)}}),_0x40831e[_0x2d1b57(0x15d)](_0x2d1b57(0x168))['to'](this[_0x2d1b57(0x175)],_0x2d1b57(0x132),_0x5abf0e=>!_0x5abf0e),_0x40831e[_0x2d1b57(0x15d)](_0x2d1b57(0x190))['to'](this[_0x2d1b57(0x175)],_0x2d1b57(0x188)),_0x40831e['on'](_0x2d1b57(0x193),()=>{const _0x3f1c1f=_0x2d1b57;this[_0x3f1c1f(0x17b)](_0x40a9b2(this[_0x3f1c1f(0x16f)],_0x3f1c1f(0x185)),this[_0x3f1c1f(0x194)])[_0x3f1c1f(0x169)](()=>{const _0x4ac5ed=_0x3f1c1f;this[_0x4ac5ed(0x14c)](_0x4ac5ed(0x145),this[_0x4ac5ed(0x175)]['id']);});}),_0x40831e;}[_0x418a17(0x177)](){const _0x2cd0e7=_0x418a17,_0x263d12=_0x8aca9f(this[_0x2cd0e7(0x16f)],_0x1d3fe7),_0xef63d2=_0x263d12[_0x2cd0e7(0x16c)][_0x2cd0e7(0x18f)],_0x352fd4=new _0x18a318(this[_0x2cd0e7(0x16f)]),_0x641793=_0x263d12[_0x2cd0e7(0x1a3)];_0x594801(_0x263d12,()=>this[_0x2cd0e7(0x196)][_0x2cd0e7(0x182)](_0x1bee18=>_0x1bee18[_0x2cd0e7(0x190)])),_0x263d12[_0x2cd0e7(0x17e)]({'attributes':{'class':[_0x641793['if'](_0x2cd0e7(0x190),_0x2cd0e7(0x173),_0x8d7bda=>!_0x8d7bda)]}});const _0x7dbca8=(_0x1b6d17,_0x15ba0b=-0x1)=>{const _0x5a897e=_0x2cd0e7,_0x298885=new _0x4e2fda(this[_0x5a897e(0x16f)]);_0x298885[_0x5a897e(0x18f)][_0x5a897e(0x162)](_0x1b6d17);const _0xc700d4=_0x15ba0b>-0x1?_0x15ba0b:_0x352fd4[_0x5a897e(0x196)][_0x5a897e(0x140)];_0x352fd4[_0x5a897e(0x196)][_0x5a897e(0x162)](_0x298885,_0xc700d4);const _0x3f34d4=Array[_0x5a897e(0x14f)](this[_0x5a897e(0x196)]);_0x263d12[_0x5a897e(0x187)](_0x5a897e(0x168),_0x5a897e(0x190)),_0x263d12[_0x5a897e(0x15d)](_0x5a897e(0x168))[_0x5a897e(0x151)](_0x3f34d4,_0x5a897e(0x168),(..._0x3f3bf6)=>_0x3f3bf6[_0x5a897e(0x17c)](_0x11065f=>_0x11065f)),_0x263d12[_0x5a897e(0x15d)](_0x5a897e(0x190))[_0x5a897e(0x151)](_0x3f34d4,_0x5a897e(0x190),(..._0x315d45)=>_0x315d45[_0x5a897e(0x17c)](_0x232b64=>_0x232b64));};_0x263d12[_0x2cd0e7(0x13e)]='sw',_0x263d12[_0x2cd0e7(0x15c)][_0x2cd0e7(0x1a7)]({'label':_0x40a9b2(this[_0x2cd0e7(0x16f)],_0x2cd0e7(0x15a)),'icon':_0x4052a6[_0x2cd0e7(0x19b)]});for(const _0x2f84db of this[_0x2cd0e7(0x196)])_0x7dbca8(_0x2f84db);return _0xef63d2[_0x2cd0e7(0x162)](_0x352fd4),_0x263d12[_0x2cd0e7(0x19f)](this[_0x2cd0e7(0x196)],_0x2cd0e7(0x162),(_0xf11eb3,_0x35944b,_0x22e129)=>{_0x7dbca8(_0x35944b,_0x22e129);}),_0x263d12[_0x2cd0e7(0x19f)](this[_0x2cd0e7(0x196)],_0x2cd0e7(0x163),(_0x2ad676,_0x30509a,_0x3d9f47)=>{const _0x2b76ef=_0x2cd0e7;_0x352fd4[_0x2b76ef(0x196)][_0x2b76ef(0x163)](_0x3d9f47);}),_0x263d12;}[_0x418a17(0x199)](_0x1c2bf6,_0x2604d0){const _0x2faf15=_0x418a17,_0x374b3c=_0x1c2bf6&&_0x1c2bf6[_0x2faf15(0x194)];_0x374b3c&&(this[_0x2faf15(0x19f)](_0x374b3c,_0x2faf15(0x141),()=>this[_0x2faf15(0x184)]=_0x2604d0),this[_0x2faf15(0x19f)](_0x374b3c,_0x2faf15(0x1aa),()=>this[_0x2faf15(0x184)]=_0x2604d0),this[_0x2faf15(0x19f)](_0x374b3c,_0x2faf15(0x1a4),()=>this[_0x2faf15(0x184)]=null),this[_0x2faf15(0x19f)](_0x374b3c,_0x2faf15(0x17d),()=>this[_0x2faf15(0x184)]=null));}[_0x418a17(0x183)](){const _0x51e4df=_0x418a17,_0x274fa1=super[_0x51e4df(0x183)]();return _0x274fa1[_0x51e4df(0x15d)](_0x51e4df(0x143))['to'](this),_0x274fa1;}[_0x418a17(0x14b)](){const _0x372fb3=_0x418a17;super[_0x372fb3(0x14b)](),this[_0x372fb3(0x199)](this[_0x372fb3(0x18d)],_0x372fb3(0x148)),this[_0x372fb3(0x199)](this[_0x372fb3(0x1a5)],_0x372fb3(0x163));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x214b53=_0x5739;(function(_0x1d0a52,_0xa484b){var _0x18aad6=_0x5739,_0x417406=_0x1d0a52();while(!![]){try{var _0x51a857=-parseInt(_0x18aad6(0x1f2))/0x1*(parseInt(_0x18aad6(0x1e8))/0x2)+parseInt(_0x18aad6(0x1ed))/0x3+parseInt(_0x18aad6(0x1ec))/0x4*(-parseInt(_0x18aad6(0x1e6))/0x5)+-parseInt(_0x18aad6(0x1eb))/0x6+parseInt(_0x18aad6(0x1e7))/0x7+parseInt(_0x18aad6(0x1f0))/0x8+parseInt(_0x18aad6(0x1e9))/0x9;if(_0x51a857===_0xa484b)break;else _0x417406['push'](_0x417406['shift']());}catch(_0x1d5f0a){_0x417406['push'](_0x417406['shift']());}}}(_0x48f3,0xc2091));import{Plugin as _0x5503b6}from'ckeditor5/src/core.js';import _0x413452 from'./comments/commentsrepository.js';import _0x327f1f from'./comments/commentsediting.js';import _0xb6493a from'./comments/commentsui.js';import _0x5e975f from'./commentsonly.js';import _0x3c83c1 from'./annotations/widesidebar.js';import _0x4a099b from'./annotations/narrowsidebar.js';import _0x22f95e from'./annotations/inlineannotations.js';import _0xd19856 from'./comments/commentsarchiveui.js';import _0x2ac24e from'./comments/commentsarchive.js';function _0x5739(_0x2d5cc4,_0x12b1fb){var _0x48f3ed=_0x48f3();return _0x5739=function(_0x5739b0,_0x5d163d){_0x5739b0=_0x5739b0-0x1e6;var _0x56bb87=_0x48f3ed[_0x5739b0];return _0x56bb87;},_0x5739(_0x2d5cc4,_0x12b1fb);}export default class p extends _0x5503b6{static get[_0x214b53(0x1ee)](){return[_0x413452,_0x327f1f,_0xb6493a,_0x2ac24e,_0xd19856,_0x5e975f,_0x3c83c1,_0x4a099b,_0x22f95e];}static get[_0x214b53(0x1f3)](){var _0x4c8a14=_0x214b53;return _0x4c8a14(0x1ea);}static get[_0x214b53(0x1ef)](){return!0x0;}static get[_0x214b53(0x1f1)](){return!0x0;}}function _0x48f3(){var _0x20c569=['10551807RbYhRH','336910JFFsMc','5599611NGRavx','Comments','4905102HlWtNS','5504gMmJhs','1742787gmCiKJ','requires','isOfficialPlugin','4682968INNmKR','isPremiumPlugin','6weVvxQ','pluginName','2445sUBDmI'];_0x48f3=function(){return _0x20c569;};return _0x48f3();}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x262a(_0x27ca21,_0x57c8ef){const _0x18d534=_0x18d5();return _0x262a=function(_0x262a7d,_0x5b42f2){_0x262a7d=_0x262a7d-0x13e;let _0x1553e8=_0x18d534[_0x262a7d];return _0x1553e8;},_0x262a(_0x27ca21,_0x57c8ef);}const _0x1ceb24=_0x262a;function _0x18d5(){const _0x227d27=['isEnabled','isOfficialPlugin','DragDrop','plugins','editing','clipboardInput','30trKKOm','forceDisabled','stopListening','cut','document','requires','stop','affectsData','commentsOnlyMode','afterInit','listenTo','_enableCommentsOnlyMode','CommentsOnly','set','highest','955176LEpBKb','3liTlcH','isPremiumPlugin','editor','change:isEnabled','2ipmzqu','116706sziDvG','commentsOnly','605720tBIPkz','addCommentThread','delete','18svMQIX','6341844RxOpGF','config','110cqDAVG','_disableCommentsOnlyMode','2177644fdvTia','184807RMsuDy','commands','has','clearForceDisabled','view','pluginName','editSource','get','SourceEditing','2413815DJtUzG'];_0x18d5=function(){return _0x227d27;};return _0x18d5();}(function(_0x2482b2,_0x3e3242){const _0x399869=_0x262a,_0x1293cc=_0x2482b2();while(!![]){try{const _0x32ad05=-parseInt(_0x399869(0x15b))/0x1*(-parseInt(_0x399869(0x15a))/0x2)+parseInt(_0x399869(0x156))/0x3*(-parseInt(_0x399869(0x165))/0x4)+-parseInt(_0x399869(0x13f))/0x5+-parseInt(_0x399869(0x146))/0x6*(parseInt(_0x399869(0x166))/0x7)+-parseInt(_0x399869(0x155))/0x8*(-parseInt(_0x399869(0x160))/0x9)+parseInt(_0x399869(0x15d))/0xa*(parseInt(_0x399869(0x163))/0xb)+parseInt(_0x399869(0x161))/0xc;if(_0x32ad05===_0x3e3242)break;else _0x1293cc['push'](_0x1293cc['shift']());}catch(_0x61f932){_0x1293cc['push'](_0x1293cc['shift']());}}}(_0x18d5,0x50b20));import{Plugin as _0x4dc04a}from'ckeditor5/src/core.js';import _0x3ed36e from'./comments/commentsediting.js';export default class s extends _0x4dc04a{static get[_0x1ceb24(0x16b)](){const _0xb93eeb=_0x1ceb24;return _0xb93eeb(0x152);}static get[_0x1ceb24(0x141)](){return!0x0;}static get[_0x1ceb24(0x157)](){return!0x0;}static get[_0x1ceb24(0x14b)](){return[_0x3ed36e];}constructor(_0x8a8baa){const _0x564d2f=_0x1ceb24;super(_0x8a8baa),this[_0x564d2f(0x153)](_0x564d2f(0x140),!0x1),this['on'](_0x564d2f(0x159),(_0x594874,_0x294117,_0x20fdd8)=>{const _0x2c1e61=_0x564d2f;_0x20fdd8?this[_0x2c1e61(0x151)]():this[_0x2c1e61(0x164)]();});}[_0x1ceb24(0x14f)](){const _0x4376be=_0x1ceb24;!this[_0x4376be(0x140)]&&this[_0x4376be(0x158)][_0x4376be(0x162)][_0x4376be(0x16d)](_0x4376be(0x15c))&&(this[_0x4376be(0x140)]=!0x0);}[_0x1ceb24(0x151)](){const _0x4d0e22=_0x1ceb24;var _0x257764;for(const [_0x133a54,_0x1c6684]of this[_0x4d0e22(0x158)][_0x4d0e22(0x167)])_0x1c6684[_0x4d0e22(0x14d)]&&_0x4d0e22(0x15e)!==_0x133a54&&_0x1c6684[_0x4d0e22(0x147)](_0x4d0e22(0x14e));(this[_0x4d0e22(0x158)][_0x4d0e22(0x143)][_0x4d0e22(0x168)](_0x4d0e22(0x142))&&this[_0x4d0e22(0x158)][_0x4d0e22(0x143)][_0x4d0e22(0x16d)](_0x4d0e22(0x142))[_0x4d0e22(0x147)](_0x4d0e22(0x14e)),this[_0x4d0e22(0x158)][_0x4d0e22(0x143)][_0x4d0e22(0x168)](_0x4d0e22(0x13e)))&&this[_0x4d0e22(0x158)][_0x4d0e22(0x143)][_0x4d0e22(0x16d)](_0x4d0e22(0x13e))[_0x4d0e22(0x147)](_0x4d0e22(0x14e));null===(_0x257764=this[_0x4d0e22(0x158)][_0x4d0e22(0x167)][_0x4d0e22(0x16d)](_0x4d0e22(0x16c)))||void 0x0===_0x257764||_0x257764[_0x4d0e22(0x147)](_0x4d0e22(0x14e));const _0x1402ab=this[_0x4d0e22(0x158)][_0x4d0e22(0x144)][_0x4d0e22(0x16a)][_0x4d0e22(0x14a)];this[_0x4d0e22(0x150)](_0x1402ab,_0x4d0e22(0x149),_0x264846=>_0x264846[_0x4d0e22(0x14c)](),{'priority':_0x4d0e22(0x154)}),this[_0x4d0e22(0x150)](_0x1402ab,_0x4d0e22(0x145),_0x34db76=>_0x34db76[_0x4d0e22(0x14c)](),{'priority':_0x4d0e22(0x154)}),this[_0x4d0e22(0x150)](_0x1402ab,_0x4d0e22(0x15f),_0x5d4239=>_0x5d4239[_0x4d0e22(0x14c)](),{'priority':_0x4d0e22(0x154)});}[_0x1ceb24(0x164)](){const _0x20f5f3=_0x1ceb24;var _0x11596c;for(const [_0x4052a3,_0x282a3e]of this[_0x20f5f3(0x158)][_0x20f5f3(0x167)])_0x282a3e[_0x20f5f3(0x14d)]&&_0x20f5f3(0x15e)!==_0x4052a3&&_0x282a3e[_0x20f5f3(0x169)](_0x20f5f3(0x14e));this[_0x20f5f3(0x158)][_0x20f5f3(0x143)][_0x20f5f3(0x168)](_0x20f5f3(0x13e))&&this[_0x20f5f3(0x158)][_0x20f5f3(0x143)][_0x20f5f3(0x16d)](_0x20f5f3(0x13e))[_0x20f5f3(0x169)](_0x20f5f3(0x14e)),null===(_0x11596c=this[_0x20f5f3(0x158)][_0x20f5f3(0x167)][_0x20f5f3(0x16d)](_0x20f5f3(0x16c)))||void 0x0===_0x11596c||_0x11596c[_0x20f5f3(0x169)](_0x20f5f3(0x14e)),this[_0x20f5f3(0x148)](this[_0x20f5f3(0x158)][_0x20f5f3(0x144)][_0x20f5f3(0x16a)][_0x20f5f3(0x14a)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4f8d66,_0x1b6484){var _0x39db64=_0x4e53,_0xa061ea=_0x4f8d66();while(!![]){try{var _0x2469fe=parseInt(_0x39db64(0x1c7))/0x1+-parseInt(_0x39db64(0x1ca))/0x2*(-parseInt(_0x39db64(0x1c6))/0x3)+-parseInt(_0x39db64(0x1cc))/0x4*(-parseInt(_0x39db64(0x1d0))/0x5)+parseInt(_0x39db64(0x1cd))/0x6*(-parseInt(_0x39db64(0x1ce))/0x7)+-parseInt(_0x39db64(0x1cb))/0x8+-parseInt(_0x39db64(0x1c8))/0x9+parseInt(_0x39db64(0x1c9))/0xa*(parseInt(_0x39db64(0x1cf))/0xb);if(_0x2469fe===_0x1b6484)break;else _0xa061ea['push'](_0xa061ea['shift']());}catch(_0x2d1e17){_0xa061ea['push'](_0xa061ea['shift']());}}}(_0x475e,0xd1866));export{default as Comments}from'./comments.js';function _0x475e(){var _0x3a39c6=['95847UQsCey','1115887RqXitp','9087912QsclkV','30853820WjGbIG','8zqVKWO','11234336XKvMkv','98932UgIoWQ','6uPldCB','9301978YuXeMZ','11emAmQB','55JMIcZz'];_0x475e=function(){return _0x3a39c6;};return _0x475e();}export{default as CommentsOnly}from'./commentsonly.js';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';function _0x4e53(_0x4fd792,_0x4aa080){var _0x475e3e=_0x475e();return _0x4e53=function(_0x4e531b,_0x402815){_0x4e531b=_0x4e531b-0x1c6;var _0x3cc9b4=_0x475e3e[_0x4e531b];return _0x3cc9b4;},_0x4e53(_0x4fd792,_0x4aa080);}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(_0x4a232f,_0x4258ca,_0x39f51e){const t=_0x4a232f['t'];switch(_0x4258ca){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'},_0x39f51e);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'},_0x39f51e);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'},_0x39f51e);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'},_0x39f51e);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x39f51e);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'},_0x39f51e);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'},_0x39f51e);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'},_0x39f51e);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 _0x3888(_0x5d9674,_0x2640da){const _0x475cfa=_0x475c();return _0x3888=function(_0x388864,_0x104367){_0x388864=_0x388864-0x1d1;let _0x34fa51=_0x475cfa[_0x388864];return _0x34fa51;},_0x3888(_0x5d9674,_0x2640da);}(function(_0x1e798c,_0x3d47b3){const _0x1413a2=_0x3888,_0x24f191=_0x1e798c();while(!![]){try{const _0x533fdc=-parseInt(_0x1413a2(0x1d3))/0x1+-parseInt(_0x1413a2(0x1e0))/0x2+parseInt(_0x1413a2(0x1d4))/0x3+-parseInt(_0x1413a2(0x1d7))/0x4+parseInt(_0x1413a2(0x1da))/0x5*(parseInt(_0x1413a2(0x1d9))/0x6)+parseInt(_0x1413a2(0x1d1))/0x7*(parseInt(_0x1413a2(0x1df))/0x8)+parseInt(_0x1413a2(0x1dd))/0x9;if(_0x533fdc===_0x3d47b3)break;else _0x24f191['push'](_0x24f191['shift']());}catch(_0x1588f1){_0x24f191['push'](_0x24f191['shift']());}}}(_0x475c,0x6c273));import{throttle as _0x4daf5f}from'lodash-es';function _0x475c(){const _0x270338=['328332EyEMnk','842685vKHTDb','childList','attributeName','3096600INAOyA','disconnect','6uolcKA','2423885Oobqoy','observe','cancel','9213156Tumuoq','class','56gUplnz','1027402aYgkuK','type','characterData','269822bawamz','attributes'];_0x475c=function(){return _0x270338;};return _0x475c();}export default function Lt(_0x279f8d){const _0x55cb25=_0x4daf5f(_0x279f8d,0x1e),_0x331f88=new MutationObserver(_0x1ebfc9=>{const _0x3f0a3a=_0x3888;for(const _0x394ea7 of _0x1ebfc9)(_0x3f0a3a(0x1d2)==_0x394ea7[_0x3f0a3a(0x1e1)]&&_0x3f0a3a(0x1de)==_0x394ea7[_0x3f0a3a(0x1d6)]||_0x3f0a3a(0x1d5)==_0x394ea7[_0x3f0a3a(0x1e1)]||_0x3f0a3a(0x1e2)==_0x394ea7[_0x3f0a3a(0x1e1)])&&_0x55cb25();});return{'attach'(_0x150e93){const _0x30b395=_0x3888;_0x331f88[_0x30b395(0x1db)](_0x150e93,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x381b89=_0x3888;_0x331f88[_0x381b89(0x1d8)](),_0x55cb25[_0x381b89(0x1dc)]();}};}
|