@ckeditor/ckeditor5-comments 44.3.0-alpha.0 → 44.3.0-alpha.2
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 _0xd4674c=_0x4247;function _0x18d0(){const _0x477fc1=['destroy','2GIbMhY','visibleViews','348gLBFRl','delegate','insert','includes','hasDirtyComment','change:isActive','_model','change:isResolved','resolvedBy','ck-hidden','change:isEditMode','maxCommentCharsWhenCollapsed','_handleNewCommentModel','change','focusCycler','refreshVisibleViews','_calculatePosition','authoredAt','resolvedCommentView','length','delete','editorReady','keystrokes','_updateHasDirtyComment','add','bindTemplate','some','resolveCommentThread','remove','12888PToQEG','formatDateTime','arrowdown','ck-thread__comments','focus','change:hasDirtyComment','focusFirst','get','updateComment','expand','setTemplate','bind','2286802TLIRgM','collapse','count','_rearrangeCollapse','_handleInfoComment','684986uUzOgk','6046238MrPQuG','locale','_collapsedCommentsView','601998jcuFZj','added','set','10FOgysu','removeComment','maxThreadTotalWeight','removed','resolvedAt','weight','stopListening','reverse','_config','element','commentUpdated','maxCommentsWhenCollapsed','editorConfig','equal','forEach','5320773miybsl','focusLast','Marked\x20as\x20resolved','from','_rearrangeExpand','5770984kBtBmw','_shouldCollapse','focusTracker','Thread\x20comments','commentViews','25SrtLhY','_handleRemoveCommentModel','_findOptimalIndex','resolved','isActive','arrowup','CommentView','viewUid','createCollection','_setupKeyboardNavigation','render','listenTo','map','target','editorDestroyed','comments','isEditMode'];_0x18d0=function(){return _0x477fc1;};return _0x18d0();}(function(_0xd4f95d,_0x33cb00){const _0x1b7101=_0x4247,_0x32c682=_0xd4f95d();while(!![]){try{const _0x49dbd2=parseInt(_0x1b7101(0x1a4))/0x1*(parseInt(_0x1b7101(0x1d4))/0x2)+parseInt(_0x1b7101(0x1a6))/0x3*(-parseInt(_0x1b7101(0x1c3))/0x4)+-parseInt(_0x1b7101(0x192))/0x5*(parseInt(_0x1b7101(0x1d8))/0x6)+parseInt(_0x1b7101(0x1cf))/0x7+-parseInt(_0x1b7101(0x18d))/0x8+parseInt(_0x1b7101(0x188))/0x9+-parseInt(_0x1b7101(0x179))/0xa*(-parseInt(_0x1b7101(0x1d5))/0xb);if(_0x49dbd2===_0x33cb00)break;else _0x32c682['push'](_0x32c682['shift']());}catch(_0x3bb105){_0x32c682['push'](_0x32c682['shift']());}}}(_0x18d0,0x87ad9));function _0x4247(_0x2262ba,_0x2704b8){const _0x18d021=_0x18d0();return _0x4247=function(_0x4247d9,_0x30c58a){_0x4247d9=_0x4247d9-0x177;let _0x1292c1=_0x18d021[_0x4247d9];return _0x1292c1;},_0x4247(_0x2262ba,_0x2704b8);}import{View as _0x554e13,FocusCycler as _0x526ac4}from'ckeditor5/src/ui.js';import{diff as _0x548c80,Collection as _0x5230a9,FocusTracker as _0x4808d1,KeystrokeHandler as _0x14cc7a}from'ckeditor5/src/utils.js';import{getTranslation as _0x568a36}from'../../../utils/common-translations.js';import _0x57b1ab from'./collapsedcommentsview.js';export default class te extends _0x554e13{constructor(_0x5c01e1,_0x5e4a0b,_0x2948d3){const _0x305970=_0x4247;super(_0x5c01e1);const _0x5ecda3=this[_0x305970(0x1bf)];this[_0x305970(0x178)](_0x305970(0x1aa),!0x1),this[_0x305970(0x178)](_0x305970(0x1b9),_0x5e4a0b[_0x305970(0x1a1)][_0x305970(0x1b9)]),this[_0x305970(0x178)](_0x305970(0x196),!0x1),this[_0x305970(0x1ac)]=_0x5e4a0b,this[_0x305970(0x181)]=_0x2948d3,this[_0x305970(0x191)]=this[_0x305970(0x19a)](),this[_0x305970(0x1a5)]=this[_0x305970(0x19a)](),this[_0x305970(0x1b8)]=null,this[_0x305970(0x18f)]=new _0x4808d1(),this[_0x305970(0x1bc)]=new _0x14cc7a(),this[_0x305970(0x1b4)]=new _0x526ac4({'focusables':this[_0x305970(0x191)],'focusTracker':this[_0x305970(0x18f)],'keystrokeHandler':this[_0x305970(0x1bc)],'keystrokeHandlerOptions':{'filter':_0x491800=>this[_0x305970(0x191)][_0x305970(0x19e)](_0x4db563=>_0x4db563[_0x305970(0x182)])[_0x305970(0x1a9)](_0x491800[_0x305970(0x19f)])},'actions':{'focusPrevious':_0x305970(0x197),'focusNext':_0x305970(0x1c5)}}),this[_0x305970(0x1d7)]=new _0x57b1ab(_0x5c01e1),this[_0x305970(0x1d7)][_0x305970(0x1ce)](_0x305970(0x1d1))['to'](this,_0x305970(0x1b9),_0x247fc2=>_0x247fc2-this[_0x305970(0x181)][_0x305970(0x184)]);for(const _0x4039c5 of _0x5e4a0b[_0x305970(0x1a1)])this[_0x305970(0x1b2)](_0x4039c5);this[_0x305970(0x1d3)](),this[_0x305970(0x19d)](_0x5e4a0b[_0x305970(0x1a1)],_0x305970(0x1be),(_0x2256d0,_0x27476f)=>{const _0x25f695=_0x305970,_0x31123b=this[_0x25f695(0x1b6)](_0x27476f);this[_0x25f695(0x1b9)]++,this[_0x25f695(0x1b2)](_0x27476f,_0x31123b),this[_0x25f695(0x1b5)]();}),this[_0x305970(0x19d)](_0x5e4a0b[_0x305970(0x1a1)],_0x305970(0x1c2),(_0x309fe2,_0x116b58)=>{const _0x13726=_0x305970;this[_0x13726(0x1b9)]--,this[_0x13726(0x193)](_0x116b58),this[_0x13726(0x1b5)]();}),this[_0x305970(0x19d)](_0x5e4a0b,_0x305970(0x183),()=>this[_0x305970(0x1b5)]()),this[_0x305970(0x19d)](_0x5e4a0b,_0x305970(0x1ad),()=>this[_0x305970(0x1d3)]()),this['on'](_0x305970(0x1ab),()=>this[_0x305970(0x1b5)]()),this['on'](_0x305970(0x1c8),()=>this[_0x305970(0x1b5)]()),this[_0x305970(0x1cd)]({'tag':'ul','attributes':{'class':[_0x305970(0x1c6),_0x5ecda3['if'](_0x305970(0x1b9),_0x305970(0x1af),_0x12b9d0=>!_0x12b9d0)],'aria-label':_0x568a36(_0x5c01e1,_0x305970(0x190))},'children':this[_0x305970(0x1a5)]});}get[_0xd4674c(0x18e)](){const _0x6042e5=_0xd4674c;return this[_0x6042e5(0x1ac)][_0x6042e5(0x17e)]>this[_0x6042e5(0x181)][_0x6042e5(0x17b)]&&!this[_0x6042e5(0x196)]&&!this[_0x6042e5(0x1aa)];}[_0xd4674c(0x19c)](){const _0x45158e=_0xd4674c;super[_0x45158e(0x19c)](),this[_0x45158e(0x1b5)](),this[_0x45158e(0x19b)]();}[_0xd4674c(0x1c7)](_0x803b5){const _0x299c6a=_0xd4674c;-0x1===_0x803b5?this[_0x299c6a(0x1b4)][_0x299c6a(0x189)]():this[_0x299c6a(0x1b4)][_0x299c6a(0x1c9)]();}[_0xd4674c(0x1a3)](){const _0x336f1f=_0xd4674c;this[_0x336f1f(0x1d7)][_0x336f1f(0x1a3)]();for(const _0x1b314b of this[_0x336f1f(0x191)])_0x1b314b[_0x336f1f(0x1a3)]();super[_0x336f1f(0x1a3)]();}[_0xd4674c(0x1b5)](){const _0x2489f1=_0xd4674c;this[_0x2489f1(0x18e)]?this[_0x2489f1(0x1d2)]():this[_0x2489f1(0x18c)]();}[_0xd4674c(0x1b2)](_0x28e58d,_0xdf261c){const _0x574ac0=_0xd4674c,_0xeea65e=new this[(_0x574ac0(0x181))][(_0x574ac0(0x198))](this[_0x574ac0(0x1d6)],_0x28e58d,{'maxCommentCharsWhenCollapsed':this[_0x574ac0(0x181)][_0x574ac0(0x1b1)],'formatDateTime':this[_0x574ac0(0x181)][_0x574ac0(0x1c4)],'editorConfig':this[_0x574ac0(0x181)][_0x574ac0(0x185)]});_0xeea65e[_0x574ac0(0x199)]=_0x28e58d['id'],_0xeea65e[_0x574ac0(0x1a7)](_0x574ac0(0x17a))['to'](this),_0xeea65e[_0x574ac0(0x1a7)](_0x574ac0(0x1cb))['to'](this),_0xeea65e[_0x574ac0(0x1a7)](_0x574ac0(0x1c1))['to'](this),_0xeea65e[_0x574ac0(0x1a7)](_0x574ac0(0x1bb))['to'](this),_0xeea65e[_0x574ac0(0x1a7)](_0x574ac0(0x1a0))['to'](this),this[_0x574ac0(0x19d)](_0xeea65e,_0x574ac0(0x1b0),()=>this[_0x574ac0(0x1bd)]()),this[_0x574ac0(0x191)][_0x574ac0(0x1be)](_0xeea65e,_0xdf261c);}[_0xd4674c(0x1b6)](_0x1ae0e4){const _0x20b23a=_0xd4674c,_0x52c2df=this[_0x20b23a(0x1ac)][_0x20b23a(0x194)](_0x1ae0e4);return this[_0x20b23a(0x1b8)]?this[_0x20b23a(0x1b8)][_0x20b23a(0x1b7)]>_0x1ae0e4[_0x20b23a(0x1b7)]?_0x52c2df-0x1:_0x52c2df:_0x52c2df-0x1;}[_0xd4674c(0x1d3)](){const _0x545a89=_0xd4674c;if(this[_0x545a89(0x1ac)][_0x545a89(0x1ae)]&&this[_0x545a89(0x1ac)][_0x545a89(0x17d)]){const _0x23302e={'id':_0x545a89(0x195),'author':this[_0x545a89(0x1ac)][_0x545a89(0x1ae)],'authoredAt':this[_0x545a89(0x1ac)][_0x545a89(0x17d)],'content':_0x568a36(this[_0x545a89(0x1d6)],_0x545a89(0x18a)),'attributes':{}};this[_0x545a89(0x1b8)]=new this[(_0x545a89(0x181))][(_0x545a89(0x198))](this[_0x545a89(0x1d6)],_0x23302e,{'maxCommentCharsWhenCollapsed':this[_0x545a89(0x181)][_0x545a89(0x1b1)],'formatDateTime':this[_0x545a89(0x181)][_0x545a89(0x1c4)],'editorConfig':this[_0x545a89(0x181)][_0x545a89(0x185)],'isSystemComment':!0x0}),this[_0x545a89(0x191)][_0x545a89(0x1be)](this[_0x545a89(0x1b8)],this[_0x545a89(0x1ac)][_0x545a89(0x194)](_0x23302e));}else this[_0x545a89(0x1b8)]&&(this[_0x545a89(0x191)][_0x545a89(0x1c2)](this[_0x545a89(0x1b8)]),this[_0x545a89(0x1b8)][_0x545a89(0x1a3)](),this[_0x545a89(0x1b8)]=null);this[_0x545a89(0x1b5)]();}[_0xd4674c(0x193)](_0x49366a){const _0x3b5778=_0xd4674c,_0x50cb57=this[_0x3b5778(0x191)][_0x3b5778(0x1c2)](_0x49366a['id']);this[_0x3b5778(0x17f)](_0x50cb57),_0x50cb57[_0x3b5778(0x1a2)]&&this[_0x3b5778(0x1bd)](),_0x50cb57[_0x3b5778(0x1a3)]();}[_0xd4674c(0x1bd)](){const _0x4a8791=_0xd4674c;this[_0x4a8791(0x1aa)]=Array[_0x4a8791(0x18b)](this[_0x4a8791(0x191)])[_0x4a8791(0x1c0)](_0x123a50=>_0x123a50[_0x4a8791(0x1a2)]);}[_0xd4674c(0x1d2)](){const _0x5a8558=_0xd4674c,_0xf9525f=function(_0x38f5ef){const _0x2273fa=_0x4247,_0x2b3c43=new _0x5230a9();for(const _0x5354af of _0x38f5ef)_0x2b3c43[_0x2273fa(0x1be)](_0x5354af);return _0x2b3c43;}(this[_0x5a8558(0x191)]),_0x1f7dd4=this[_0x5a8558(0x1d7)][_0x5a8558(0x1d1)];for(let _0x40b158=0x1;_0x40b158<=_0x1f7dd4;_0x40b158++)_0xf9525f[_0x5a8558(0x1c2)](0x1);for(const _0x30fa9e of _0xf9525f)_0x30fa9e[_0x5a8558(0x1d0)]();_0x1f7dd4>0x0&&_0xf9525f[_0x5a8558(0x1be)](this[_0x5a8558(0x1d7)],0x1),as(_0x548c80(Array[_0x5a8558(0x18b)](this[_0x5a8558(0x1a5)]),Array[_0x5a8558(0x18b)](_0xf9525f)),this[_0x5a8558(0x1a5)],_0xf9525f);}[_0xd4674c(0x18c)](){const _0x528e8e=_0xd4674c;as(_0x548c80(Array[_0x528e8e(0x18b)](this[_0x528e8e(0x1a5)]),Array[_0x528e8e(0x18b)](this[_0x528e8e(0x191)])),this[_0x528e8e(0x1a5)],this[_0x528e8e(0x191)]);for(const _0x12b312 of this[_0x528e8e(0x1a5)])_0x12b312[_0x528e8e(0x1cc)]();}[_0xd4674c(0x19b)](){const _0x1e9541=_0xd4674c;this[_0x1e9541(0x191)][_0x1e9541(0x187)](_0x17d3d0=>{const _0x1a6a8e=_0x1e9541;this[_0x1a6a8e(0x18f)][_0x1a6a8e(0x1be)](_0x17d3d0[_0x1a6a8e(0x182)]),this[_0x1a6a8e(0x1bc)][_0x1a6a8e(0x19d)](_0x17d3d0[_0x1a6a8e(0x182)]);}),this[_0x1e9541(0x191)]['on'](_0x1e9541(0x1b3),(_0x363ac4,_0x3a5159)=>{const _0xae9b4b=_0x1e9541;for(const _0x3c20dc of _0x3a5159[_0xae9b4b(0x17c)])this[_0xae9b4b(0x18f)][_0xae9b4b(0x1c2)](_0x3c20dc[_0xae9b4b(0x182)]),this[_0xae9b4b(0x1bc)][_0xae9b4b(0x17f)](_0x3c20dc[_0xae9b4b(0x182)]);for(const _0x39f696 of Array[_0xae9b4b(0x18b)](_0x3a5159[_0xae9b4b(0x177)])[_0xae9b4b(0x180)]())this[_0xae9b4b(0x18f)][_0xae9b4b(0x1be)](_0x39f696[_0xae9b4b(0x182)]),this[_0xae9b4b(0x1bc)][_0xae9b4b(0x19d)](_0x39f696[_0xae9b4b(0x182)]);});}}function as(_0x9cffae,_0x5df1a7,_0x2cca70){const _0x1d97ba=_0xd4674c;let _0x12d3cf=0x0;for(const _0x58b2a4 of _0x9cffae)switch(_0x58b2a4){case _0x1d97ba(0x1a8):_0x5df1a7[_0x1d97ba(0x1be)](_0x2cca70[_0x1d97ba(0x1ca)](_0x12d3cf),_0x12d3cf),_0x12d3cf++;break;case _0x1d97ba(0x1ba):_0x5df1a7[_0x1d97ba(0x1c2)](_0x12d3cf);break;case _0x1d97ba(0x186):_0x12d3cf++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x517197=_0x4c7a;function _0x3b53(){const _0xd60509=['ck-context__value','169bKFEpP','11noswro','focus','1131849UBojQu','419846kyXNQu','133398MwbTaF','5VYQpPA','723JfxjOc','50323IkjNVC','THREAD_CONTEXT_LABEL','contextValue','56vKIetQ','span','20XPUSXR','160BXomGm','2677716BZAEQr','set','bindTemplate','element','setTemplate','218402KQmUkp','2Efqfvz'];_0x3b53=function(){return _0xd60509;};return _0x3b53();}function _0x4c7a(_0x2b8413,_0x2d668d){const _0x3b53e7=_0x3b53();return _0x4c7a=function(_0x4c7a1e,_0x561e0a){_0x4c7a1e=_0x4c7a1e-0x1a0;let _0x4c20af=_0x3b53e7[_0x4c7a1e];return _0x4c20af;},_0x4c7a(_0x2b8413,_0x2d668d);}(function(_0xab2d9,_0x35c3f5){const _0x2dd99f=_0x4c7a,_0x1e3e50=_0xab2d9();while(!![]){try{const _0x193f3b=-parseInt(_0x2dd99f(0x1b3))/0x1*(parseInt(_0x2dd99f(0x1b4))/0x2)+-parseInt(_0x2dd99f(0x1a6))/0x3*(parseInt(_0x2dd99f(0x1ad))/0x4)+-parseInt(_0x2dd99f(0x1a5))/0x5*(parseInt(_0x2dd99f(0x1a4))/0x6)+-parseInt(_0x2dd99f(0x1a7))/0x7*(-parseInt(_0x2dd99f(0x1aa))/0x8)+-parseInt(_0x2dd99f(0x1a2))/0x9*(parseInt(_0x2dd99f(0x1ac))/0xa)+-parseInt(_0x2dd99f(0x1a0))/0xb*(-parseInt(_0x2dd99f(0x1ae))/0xc)+-parseInt(_0x2dd99f(0x1b6))/0xd*(-parseInt(_0x2dd99f(0x1a3))/0xe);if(_0x193f3b===_0x35c3f5)break;else _0x1e3e50['push'](_0x1e3e50['shift']());}catch(_0x258f01){_0x1e3e50['push'](_0x1e3e50['shift']());}}}(_0x3b53,0x276f6));import{View as _0x3e4591}from'ckeditor5/src/ui.js';import{getTranslation as _0x28858c}from'../../../utils/common-translations.js';export default class ls extends _0x3e4591{constructor(_0x386d18){const _0x5f2f21=_0x4c7a;super(_0x386d18);const _0x42004d=this[_0x5f2f21(0x1b0)];this[_0x5f2f21(0x1af)](_0x5f2f21(0x1a9),''),this[_0x5f2f21(0x1b2)]({'tag':_0x5f2f21(0x1ab),'attributes':{'class':['ck',_0x5f2f21(0x1b5)],'aria-label':_0x42004d['to'](_0x5f2f21(0x1a9),_0x492679=>_0x28858c(_0x386d18,_0x5f2f21(0x1a8),_0x492679)),'tabindex':-0x1},'children':[{'text':_0x42004d['to'](_0x5f2f21(0x1a9))}]});}[_0x517197(0x1a1)](){const _0x237ded=_0x517197;this[_0x237ded(0x1b1)][_0x237ded(0x1a1)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x35c053=_0x1d28;(function(_0x5e36ca,_0x1232b6){const _0x2103bd=_0x1d28,_0x113607=_0x5e36ca();while(!![]){try{const _0x4b4426=-parseInt(_0x2103bd(0x145))/0x1*(parseInt(_0x2103bd(0x140))/0x2)+-parseInt(_0x2103bd(0x12f))/0x3*(parseInt(_0x2103bd(0x149))/0x4)+parseInt(_0x2103bd(0x132))/0x5+parseInt(_0x2103bd(0x125))/0x6+parseInt(_0x2103bd(0x13a))/0x7*(-parseInt(_0x2103bd(0x151))/0x8)+-parseInt(_0x2103bd(0x10f))/0x9*(parseInt(_0x2103bd(0x14e))/0xa)+parseInt(_0x2103bd(0x143))/0xb;if(_0x4b4426===_0x1232b6)break;else _0x113607['push'](_0x113607['shift']());}catch(_0x4ff3a3){_0x113607['push'](_0x113607['shift']());}}}(_0x5d94,0xdfc29));import{View as _0x2b8ab9,ButtonView as _0x130e61,FocusCycler as _0x2591c8}from'ckeditor5/src/ui.js';import{FocusTracker as _0x13d289,KeystrokeHandler as _0x2d6776}from'ckeditor5/src/utils.js';function _0x5d94(){const _0x5d0e6f=['bindTemplate','context','isResolvable','ck-context-wrapper','offsetWidth','scrollWidth','focusables','_setupKeyboardNavigation','Reopen','fire','ck-context--quotes','shift+tab','ck-annotation__actions','isReadOnly','2583666OAsYYi','mouseenter','setTemplate','isVisible','value','_attachContextActions','createCollection','isResolved','focusTracker','reopenCommentThread','321uGKSdg','remove','querySelector','6864700lTlfKA','label','Comment\x20was\x20made\x20on\x20an\x20element','tooltip','bind','_createContextView','classList','listenTo','1095549CqKXZn','ck-context','substring','focus','execute','.ck-context','6csOuoT','...','length','37409163ttRGeR','overlay','535981cDpozn','locale','contextValue','element','51692Qdklgl','.ck-context__value','tab','div','_trimContextValue','2016100ZkvQGj','render','hasContext','56JpWUJd','ck-thread__header','lastIndexOf','reopenButtonView','focusFirst','mouseleave','icon','9AmIFnX','keystrokes','focusCycler','_model','add','contextView','_createReopenButton','isEnabled'];_0x5d94=function(){return _0x5d0e6f;};return _0x5d94();}function _0x1d28(_0xc0d390,_0x377630){const _0x5d948a=_0x5d94();return _0x1d28=function(_0x1d289a,_0x39a3ab){_0x1d289a=_0x1d289a-0x10f;let _0x41ab40=_0x5d948a[_0x1d289a];return _0x41ab40;},_0x1d28(_0xc0d390,_0x377630);}import{getTranslation as _0x4f2477}from'../../../utils/common-translations.js';import _0x1d9662 from'../../../../theme/icons/undo.svg';import _0x1f2227 from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export default class Zt extends _0x2b8ab9{constructor(_0x296661,_0x12e197){const _0x1bf87f=_0x1d28;super(_0x296661);const _0x5a2f33=this[_0x1bf87f(0x117)];this[_0x1bf87f(0x112)]=_0x12e197,this[_0x1bf87f(0x154)]=this[_0x1bf87f(0x115)](),this[_0x1bf87f(0x114)]=this[_0x1bf87f(0x137)](),this[_0x1bf87f(0x11d)]=this[_0x1bf87f(0x12b)]([this[_0x1bf87f(0x114)],this[_0x1bf87f(0x154)]]),this[_0x1bf87f(0x12d)]=new _0x13d289(),this[_0x1bf87f(0x110)]=new _0x2d6776(),this[_0x1bf87f(0x111)]=new _0x2591c8({'focusables':this[_0x1bf87f(0x11d)],'focusTracker':this[_0x1bf87f(0x12d)],'keystrokeHandler':this[_0x1bf87f(0x110)],'actions':{'focusPrevious':_0x1bf87f(0x122),'focusNext':_0x1bf87f(0x14b)}}),this[_0x1bf87f(0x136)](_0x1bf87f(0x150))['to'](this[_0x1bf87f(0x112)],_0x1bf87f(0x118),_0x3816cb=>!!_0x3816cb),this[_0x1bf87f(0x136)](_0x1bf87f(0x147))['to'](this[_0x1bf87f(0x112)],_0x1bf87f(0x118),_0x273479=>_0x273479&&_0x273479[_0x1bf87f(0x129)]?this[_0x1bf87f(0x14d)](_0x273479[_0x1bf87f(0x129)]):_0x4f2477(this[_0x1bf87f(0x146)],_0x1bf87f(0x134))),this[_0x1bf87f(0x127)]({'tag':_0x1bf87f(0x14c),'attributes':{'class':[_0x1bf87f(0x152)]},'children':[{'tag':_0x1bf87f(0x14c),'attributes':{'class':[_0x1bf87f(0x11a)]},'children':[{'tag':_0x1bf87f(0x14c),'attributes':{'class':[_0x1bf87f(0x13b),_0x5a2f33['if'](_0x1bf87f(0x150),_0x1bf87f(0x121))]},'children':[this[_0x1bf87f(0x114)]]}]},{'tag':_0x1bf87f(0x14c),'attributes':{'class':[_0x1bf87f(0x123)]},'children':[this[_0x1bf87f(0x154)]]}]});}[_0x35c053(0x14f)](){const _0x2ab641=_0x35c053;super[_0x2ab641(0x14f)](),this[_0x2ab641(0x12a)](),this[_0x2ab641(0x11e)]();}[_0x35c053(0x13d)](){const _0x2fa4d9=_0x35c053;this[_0x2fa4d9(0x111)][_0x2fa4d9(0x155)]();}[_0x35c053(0x115)](){const _0x4c1c43=_0x35c053,_0x36f8c7=new _0x130e61(this[_0x4c1c43(0x146)]);return _0x36f8c7[_0x4c1c43(0x133)]=_0x4f2477(this[_0x4c1c43(0x146)],_0x4c1c43(0x11f)),_0x36f8c7[_0x4c1c43(0x135)]=_0x4f2477(this[_0x4c1c43(0x146)],_0x4c1c43(0x11f)),_0x36f8c7[_0x4c1c43(0x157)]=_0x1d9662,_0x36f8c7[_0x4c1c43(0x136)](_0x4c1c43(0x116))['to'](this[_0x4c1c43(0x112)],_0x4c1c43(0x124),_0x5d5d41=>!_0x5d5d41),_0x36f8c7[_0x4c1c43(0x136)](_0x4c1c43(0x128))['to'](this[_0x4c1c43(0x112)],_0x4c1c43(0x119),this[_0x4c1c43(0x112)],_0x4c1c43(0x12c),(_0x39a9d6,_0x583280)=>_0x39a9d6&&_0x583280),_0x36f8c7['on'](_0x4c1c43(0x13e),()=>{const _0x335a17=_0x4c1c43;this[_0x335a17(0x120)](_0x335a17(0x12e),this[_0x335a17(0x112)]['id']);}),_0x36f8c7;}[_0x35c053(0x14d)](_0x95a40b){const _0x3ea2c3=_0x35c053;if(_0x95a40b[_0x3ea2c3(0x142)]<0x96)return _0x95a40b;const _0x463c90=_0x95a40b[_0x3ea2c3(0x153)]('\x20',0x93);return _0x95a40b[_0x3ea2c3(0x13c)](0x0,_0x463c90>-0x1?_0x463c90:0x93)+_0x3ea2c3(0x141);}[_0x35c053(0x12a)](){const _0x14a9e9=_0x35c053,_0x3c8b1b=this[_0x14a9e9(0x148)][_0x14a9e9(0x131)](_0x14a9e9(0x13f)),_0x14aa13=_0x3c8b1b[_0x14a9e9(0x131)](_0x14a9e9(0x14a));this[_0x14a9e9(0x139)](_0x3c8b1b,_0x14a9e9(0x126),()=>{const _0x457163=_0x14a9e9;_0x14aa13[_0x457163(0x11b)]<_0x14aa13[_0x457163(0x11c)]&&_0x3c8b1b[_0x457163(0x138)][_0x457163(0x113)](_0x457163(0x144));}),this[_0x14a9e9(0x139)](_0x3c8b1b,_0x14a9e9(0x156),()=>{const _0x1ced9=_0x14a9e9;_0x3c8b1b[_0x1ced9(0x138)][_0x1ced9(0x130)](_0x1ced9(0x144));});}[_0x35c053(0x11e)](){const _0x47e5a4=_0x35c053;this[_0x47e5a4(0x110)][_0x47e5a4(0x139)](this[_0x47e5a4(0x148)]);for(const _0x431d89 of this[_0x47e5a4(0x11d)])this[_0x47e5a4(0x12d)][_0x47e5a4(0x113)](_0x431d89[_0x47e5a4(0x148)]),this[_0x47e5a4(0x110)][_0x47e5a4(0x139)](_0x431d89[_0x47e5a4(0x148)]);}[_0x35c053(0x137)](){const _0x54100a=_0x35c053,_0x5dbee5=new _0x1f2227(this[_0x54100a(0x146)]);return _0x5dbee5[_0x54100a(0x136)](_0x54100a(0x147))['to'](this),_0x5dbee5;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x53c06a=_0x3bd7;(function(_0x16b60c,_0x1b290f){const _0x1bca38=_0x3bd7,_0x343259=_0x16b60c();while(!![]){try{const _0x13a3ca=parseInt(_0x1bca38(0x19b))/0x1*(parseInt(_0x1bca38(0x18a))/0x2)+-parseInt(_0x1bca38(0x1b6))/0x3*(parseInt(_0x1bca38(0x1a5))/0x4)+parseInt(_0x1bca38(0x195))/0x5*(-parseInt(_0x1bca38(0x1b9))/0x6)+-parseInt(_0x1bca38(0x19a))/0x7+-parseInt(_0x1bca38(0x18f))/0x8+parseInt(_0x1bca38(0x1ae))/0x9*(-parseInt(_0x1bca38(0x193))/0xa)+parseInt(_0x1bca38(0x1a8))/0xb;if(_0x13a3ca===_0x1b290f)break;else _0x343259['push'](_0x343259['shift']());}catch(_0x375d90){_0x343259['push'](_0x343259['shift']());}}}(_0x1a23,0x4469f));import{View as _0x4ea2bd}from'ckeditor5/src/ui.js';function _0x3bd7(_0xaf54c8,_0x5099c2){const _0x1a237f=_0x1a23();return _0x3bd7=function(_0x3bd752,_0x1680e7){_0x3bd752=_0x3bd752-0x18a;let _0x37f5cc=_0x1a237f[_0x3bd752];return _0x37f5cc;},_0x3bd7(_0xaf54c8,_0x5099c2);}import _0x346322 from'./commentinputview.js';function _0x1a23(){const _0x58edfb=['render','_focusOnNonInteractiveMouseDown','editorReady','197022JdlOkx','26115RlKngM','view','focusTracker','ck-thread__input','isFocused','createEditor','then','div','target','getDomRoot','1710544pPQWgN','showButtons','setTemplate','10888273Lsgdum','ck-thread__user','listenTo','preventDefault','editor','bind','313947gXDtIK','ck-comment__input-container','focus','bindTemplate','change:showInput','value','extendTemplate','delegate','3nNmmaw','showInput','contains','231942CHukBF','focusCycler','commentInputView','destroy','20iGCphG','editorDestroyed','mousedown','userView','some','620176jyQqdr','editing','set','ck-comment__input-container--active','70dZjwmY','element','25GibQdz','filter'];_0x1a23=function(){return _0x58edfb;};return _0x1a23();}import{UserView as _0x13faa2}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ie extends _0x4ea2bd{constructor(_0xb6e395,_0x28e2a4,_0x35e824){const _0x58de5a=_0x3bd7;super(_0xb6e395),this[_0x58de5a(0x1bb)]=new _0x346322(_0xb6e395,_0x35e824),this[_0x58de5a(0x1ba)]=this[_0x58de5a(0x1bb)][_0x58de5a(0x1ba)],this[_0x58de5a(0x1bb)][_0x58de5a(0x1ad)](_0x58de5a(0x1a6))['to'](this[_0x58de5a(0x1bb)][_0x58de5a(0x19d)],_0x58de5a(0x19f),this[_0x58de5a(0x1bb)],_0x58de5a(0x1b3),(_0x142819,_0x3713e2)=>_0x142819||!!_0x3713e2),this[_0x58de5a(0x191)](_0x58de5a(0x1b7),!0x1),this['on'](_0x58de5a(0x1b2),()=>{const _0x52bfb5=_0x58de5a;this[_0x52bfb5(0x1b7)]&&!this[_0x52bfb5(0x1bb)][_0x52bfb5(0x1ac)]&&this[_0x52bfb5(0x1bb)][_0x52bfb5(0x1a0)]();}),this[_0x58de5a(0x1bb)][_0x58de5a(0x1b5)](_0x58de5a(0x199))['to'](this),this[_0x58de5a(0x1bb)][_0x58de5a(0x1b5)](_0x58de5a(0x18b))['to'](this),this[_0x58de5a(0x18d)]=new _0x13faa2(_0xb6e395,_0x28e2a4),this[_0x58de5a(0x18d)][_0x58de5a(0x1b4)]({'attributes':{'class':_0x58de5a(0x1a9),'aria-hidden':!0x0}}),this[_0x58de5a(0x1bb)][_0x58de5a(0x1b4)]({'attributes':{'class':_0x58de5a(0x19e)}}),this[_0x58de5a(0x1a7)]({'tag':_0x58de5a(0x1a2),'attributes':{'class':[_0x58de5a(0x1af),this[_0x58de5a(0x1b1)]['if'](_0x58de5a(0x1b7),_0x58de5a(0x192))]},'children':[this[_0x58de5a(0x18d)],this[_0x58de5a(0x1bb)]]});}[_0x53c06a(0x197)](){const _0x5028a7=_0x53c06a;super[_0x5028a7(0x197)](),this[_0x5028a7(0x198)]();}[_0x53c06a(0x1bc)](){const _0x3e1602=_0x53c06a;return this[_0x3e1602(0x1bb)][_0x3e1602(0x1bc)]()[_0x3e1602(0x1a1)](()=>super[_0x3e1602(0x1bc)]());}[_0x53c06a(0x1b0)](_0x3aac83){const _0x4d26ce=_0x53c06a;this[_0x4d26ce(0x1bb)][_0x4d26ce(0x1b0)](_0x3aac83);}[_0x53c06a(0x198)](){const _0x395d2b=_0x53c06a;this[_0x395d2b(0x1aa)](this[_0x395d2b(0x194)],_0x395d2b(0x18c),(_0x3913e1,_0x590c23)=>{const _0x60ea80=_0x395d2b,{submitButtonView:_0x3d70e9,cancelButtonView:_0x5e4241,editor:_0x34c87e}=this[_0x60ea80(0x1bb)];[_0x3d70e9[_0x60ea80(0x194)],_0x5e4241[_0x60ea80(0x194)],_0x34c87e?_0x34c87e[_0x60ea80(0x190)][_0x60ea80(0x19c)][_0x60ea80(0x1a4)]():null][_0x60ea80(0x196)](_0x10ca4c=>_0x10ca4c)[_0x60ea80(0x18e)](_0x25859b=>_0x25859b[_0x60ea80(0x1b8)](_0x590c23[_0x60ea80(0x1a3)]))||(this[_0x60ea80(0x1b0)](),_0x590c23[_0x60ea80(0x1ab)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x6f4b(){const _0x2c3eb3=['_model','isUnlinked','getTemplate','listenTo','123vbGSby','_createResolveButton','ck-thread','showConfirm','stop','high','isResolved','icon','ck-thread__container','2110559aIFCGt','ck-rounded-corners','setTemplate','element','focus','.ck-thread__container','cancelConfirm','resolveButton','change:isActive','ck-comment--resolve','change:archivedAt','change:isReadOnly','removeButton','33qqTRkB','div','unbind','querySelector','isSystemComment','label','execute','_cancelAllConfirms','has','removeCommentThread','_updateArchivedThreadHeader','isVisible','14004184puOTqD','ck-thread--active','ariaDescriptionView','length','ck-reset_all-excluded','check','Resolve','placeholder','isResolvable','Delete\x20comment\x20thread?','12273165aJagrP','commentThreadInputView','isActive','commentThreadHeaderView','Write\x20a\x20comment...','render','then','get','bind','createCollection','commentViews','commentsListView','removeConfirm','commentThreadChildren','18272IFNRAR','fire','listitem','add','ariaLabel','remove','_bindFirstCommentView','tooltip','ck-thread--unlinked','set','isReadOnly','actionBar','archivedAt','ck-thread--remove-confirmation','228662zANJCh','320IneVGK','bindTemplate','focusables','106922KKZiGA','locale','extendTemplate','ck-thread--','7937800hbrpCU','containerElement','actionIndicator','isEnabled','_boundFirstCommentView','318ERPYum','resolveCommentThread','isConfirm'];_0x6f4b=function(){return _0x2c3eb3;};return _0x6f4b();}const _0x5dd8b9=_0x5f2f;(function(_0x40ce9a,_0x2dff1b){const _0x4f1de4=_0x5f2f,_0xcc56ac=_0x40ce9a();while(!![]){try{const _0x3d917d=-parseInt(_0x4f1de4(0xc6))/0x1*(parseInt(_0x4f1de4(0xa0))/0x2)+parseInt(_0x4f1de4(0xb0))/0x3*(-parseInt(_0x4f1de4(0x8e))/0x4)+parseInt(_0x4f1de4(0xa4))/0x5+-parseInt(_0x4f1de4(0xa9))/0x6*(parseInt(_0x4f1de4(0x9c))/0x7)+-parseInt(_0x4f1de4(0xd2))/0x8+-parseInt(_0x4f1de4(0xdc))/0x9+parseInt(_0x4f1de4(0x9d))/0xa*(parseInt(_0x4f1de4(0xb9))/0xb);if(_0x3d917d===_0x2dff1b)break;else _0xcc56ac['push'](_0xcc56ac['shift']());}catch(_0x4f60fa){_0xcc56ac['push'](_0xcc56ac['shift']());}}}(_0x6f4b,0xe3239));import{ConfirmMixin as _0x24bb15,LateFocusButtonView as _0x5c8f85}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x31fbf1}from'ckeditor5/src/core.js';function _0x5f2f(_0x532378,_0x57fda5){const _0x6f4b3e=_0x6f4b();return _0x5f2f=function(_0x5f2fe1,_0x1f0031){_0x5f2fe1=_0x5f2fe1-0x83;let _0x40bc30=_0x6f4b3e[_0x5f2fe1];return _0x40bc30;},_0x5f2f(_0x532378,_0x57fda5);}import _0x11bfeb from'./basecommentthreadview.js';import{getTranslation as _0x53b118}from'../../../utils/common-translations.js';export default class vt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x24bb15(_0x11bfeb){constructor(_0x3dc226,_0x4dfaf9,_0x3d75e7,_0x3fa9b6){const _0x1729d2=_0x5f2f;super(_0x3dc226,_0x4dfaf9,_0x3d75e7,_0x3fa9b6),this[_0x1729d2(0x8d)]=this[_0x1729d2(0x89)]([this[_0x1729d2(0x8b)],this[_0x1729d2(0xdd)],this[_0x1729d2(0xd4)]]),this[_0x1729d2(0x97)](_0x1729d2(0xa6),null),this[_0x1729d2(0xa5)]=null,this[_0x1729d2(0xa8)]=null,this[_0x1729d2(0xa1)]=_0x3dc226,this[_0x1729d2(0xc0)]=this[_0x1729d2(0xb1)](),this[_0x1729d2(0xbb)](this[_0x1729d2(0xae)]()),this['on'](_0x1729d2(0xc1),(_0x330ead,_0x1f23ee,_0x4d2a5b)=>{const _0x3ddc7e=_0x1729d2;_0x4d2a5b||this[_0x3ddc7e(0xcd)]();}),this[_0x1729d2(0xaf)](this[_0x1729d2(0xac)],_0x1729d2(0xc4),(_0xda6eca,_0x4ff6c6,_0x2188a0)=>{const _0x9e987e=_0x1729d2;_0x2188a0&&this[_0x9e987e(0xcd)]();}),this[_0x1729d2(0xd5)]>0x0&&this[_0x1729d2(0x94)](),this[_0x1729d2(0xaf)](this[_0x1729d2(0x8b)][_0x1729d2(0x8a)],_0x1729d2(0x91),()=>{const _0x4e4830=_0x1729d2;this[_0x4e4830(0x94)]();});}[_0x5dd8b9(0xae)](){const _0xee9cb3=_0x5dd8b9,_0x18e641=this[_0xee9cb3(0x9e)];return{'tag':_0xee9cb3(0xc7),'attributes':{'class':['ck',_0xee9cb3(0xb2),_0xee9cb3(0xd6),_0xee9cb3(0xba),_0x18e641['if'](_0xee9cb3(0xde),_0xee9cb3(0xd3)),_0x18e641['if'](_0xee9cb3(0xad),_0xee9cb3(0x96)),_0x18e641['if'](_0xee9cb3(0xab),_0xee9cb3(0x9b)),_0x18e641['to'](_0xee9cb3(0xa6),_0x385d65=>_0x385d65?_0xee9cb3(0xa3)+_0x385d65:'')],'data-thread-id':this[_0xee9cb3(0xac)]['id'],'tabindex':0x0,'role':_0xee9cb3(0x90),'aria-label':_0x18e641['to'](_0xee9cb3(0x92)),'aria-describedby':this[_0xee9cb3(0xd4)]['id']},'children':[{'tag':_0xee9cb3(0xc7),'attributes':{'class':_0xee9cb3(0xb8)},'children':this[_0xee9cb3(0x8d)]}]};}[_0x5dd8b9(0x85)](){const _0x5c62fc=_0x5dd8b9;super[_0x5c62fc(0x85)](),this[_0x5c62fc(0xa5)]=this[_0x5c62fc(0xbc)][_0x5c62fc(0xc9)](_0x5c62fc(0xbe)),this[_0x5c62fc(0xac)]['on'](_0x5c62fc(0xc3),()=>{const _0x4c5c0c=_0x5c62fc;this[_0x4c5c0c(0xd0)]();}),this[_0x5c62fc(0xd0)]();}[_0x5dd8b9(0xcd)](){const _0x507e70=_0x5dd8b9;this[_0x507e70(0xbf)]();for(const _0x5f3da9 of this[_0x507e70(0x8b)][_0x507e70(0x8a)])_0x5f3da9[_0x507e70(0xbf)]();}[_0x5dd8b9(0x94)](){const _0x40caaf=_0x5dd8b9,{locale:_0x4f793a}=this,_0x3a1a62=this[_0x40caaf(0x8b)][_0x40caaf(0x8a)][_0x40caaf(0x87)](0x0);_0x3a1a62===this[_0x40caaf(0xa8)]||_0x3a1a62[_0x40caaf(0xca)]||(this[_0x40caaf(0xa8)]=_0x3a1a62,this[_0x40caaf(0xc8)](_0x40caaf(0xa6)),this[_0x40caaf(0x88)](_0x40caaf(0xa6))['to'](_0x3a1a62,_0x40caaf(0xa6),_0xd48dde=>_0x40caaf(0x93)===_0xd48dde?_0x40caaf(0x93):null),_0x3a1a62[_0x40caaf(0xd9)]=_0x53b118(_0x4f793a,_0x40caaf(0x84)),_0x3a1a62[_0x40caaf(0xc5)]['on'](_0x40caaf(0xcc),_0x44cdbc=>{const _0x43eadb=_0x40caaf;_0x44cdbc[_0x43eadb(0xb4)](),this[_0x43eadb(0xb3)](_0x53b118(_0x4f793a,_0x43eadb(0xdb)),this[_0x43eadb(0xa5)])[_0x43eadb(0x86)](()=>{const _0xd674ea=_0x43eadb;this[_0xd674ea(0x8f)](_0xd674ea(0xcf));});},{'priority':_0x40caaf(0xb5)}),this['on'](_0x40caaf(0x8c),()=>{const _0x2ee0e7=_0x40caaf;_0x3a1a62[_0x2ee0e7(0xbd)]();}),_0x3a1a62[_0x40caaf(0x99)][_0x40caaf(0x91)](this[_0x40caaf(0xc0)],0x0),_0x3a1a62[_0x40caaf(0x9f)][_0x40caaf(0x91)](this[_0x40caaf(0xc0)],0x0));}[_0x5dd8b9(0xb1)](){const _0x33a647=_0x5dd8b9,_0xe8f3b4=new _0x5c8f85(this[_0x33a647(0xa1)]);return _0xe8f3b4[_0x33a647(0xcb)]=_0x53b118(this[_0x33a647(0xa1)],_0x33a647(0xd8)),_0xe8f3b4[_0x33a647(0x95)]=_0x53b118(this[_0x33a647(0xa1)],_0x33a647(0xd8)),_0xe8f3b4[_0x33a647(0xb7)]=_0x31fbf1[_0x33a647(0xd7)],_0xe8f3b4[_0x33a647(0xa2)]({'attributes':{'class':_0x33a647(0xc2)}}),_0xe8f3b4[_0x33a647(0x88)](_0x33a647(0xa7))['to'](this[_0x33a647(0xac)],_0x33a647(0x98),_0x4b8773=>!_0x4b8773),_0xe8f3b4[_0x33a647(0x88)](_0x33a647(0xd1))['to'](this[_0x33a647(0xac)],_0x33a647(0xda),this[_0x33a647(0xac)],_0x33a647(0xb6),(_0x51220f,_0x30db3a)=>_0x51220f&&!_0x30db3a),_0xe8f3b4['on'](_0x33a647(0xcc),()=>{const _0x38bf7e=_0x33a647;this[_0x38bf7e(0x8f)](_0x38bf7e(0xaa),this[_0x38bf7e(0xac)]['id']);}),_0xe8f3b4;}[_0x5dd8b9(0xd0)](){const _0x63bdd8=_0x5dd8b9;this[_0x63bdd8(0xac)][_0x63bdd8(0x9a)]?this[_0x63bdd8(0x8d)][_0x63bdd8(0xce)](this[_0x63bdd8(0x83)])||(this[_0x63bdd8(0x8d)][_0x63bdd8(0x91)](this[_0x63bdd8(0x83)],0x0),this[_0x63bdd8(0x9f)][_0x63bdd8(0x91)](this[_0x63bdd8(0x83)],0x0)):this[_0x63bdd8(0x8d)][_0x63bdd8(0xce)](this[_0x63bdd8(0x83)])&&(this[_0x63bdd8(0x8d)][_0x63bdd8(0x93)](this[_0x63bdd8(0x83)]),this[_0x63bdd8(0x9f)][_0x63bdd8(0x93)](this[_0x63bdd8(0x83)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x38de(){const _0x11df92=['isConfirm','focusables','render','focus','ck-comment__info','ck-comment--remove','cancelConfirm','ck-annotation__user','107082DAThEs','Remove','_createDropdown','placeholder','items','unbind','mouseenter','editButton','panelView','bindTemplate','fire','3520398MNKzxX','some','_config','ck-comment__external','Show\x20more\x20items','pencil','listenTo','from','find','ck-comment__info-time','ck-annotation__actions','22324dfhvgs','isEnabled','isEditable','ck-annotation','ck-comment__actions--hidden','ck-hidden','ck-annotation__info','ck-comment__info-name','_attachActions','isEditMode','time','authoredAt','visibleView','isVisible','setTemplate','ck-annotation__info-time','ck-comment__user','_createCommentInputView','actionBar','getExternalCommentNote','remove','icon','mouseleave','children','_createRemoveButton','edit','resolvedAt','div','ck-annotation__main','extendTemplate','Delete\x20comment?','432280bTCqZn','isRemovable','execute','change:isRemovable','ariaDescriptionView','ck-comment__main','ck-annotation__info-name','formatDateTime','ck-comment--edit','isReadOnly','removeButton','author','name','_model','threeVerticalDots','Reply...','getTemplate','showConfirm','set','ck-comment','switchToEditMode','listitem','Edit','userView','751605iObLOF','isSystemComment','locale','1835406gmJNHV','add','95hYQoiX','span','ariaLabel','ck-comment--info','ck-comment__actions','ck-comment__wrapper','_createEditButton','dropdown','ck-annotation__actions--hidden','withText','isExternal','buttonView','bind','ck-annotation__content-wrapper','toMany','element','push','group','removeComment','blur','9dUvswq','panelPosition','ck-comment--','createCollection','addMany','ck-comment--remove-confirmation','label','then','4003468JyPbTP','length','getUserViewNotificationText','actionIndicator'];_0x38de=function(){return _0x11df92;};return _0x38de();}function _0x2a26(_0x145ce9,_0x452166){const _0x38dee7=_0x38de();return _0x2a26=function(_0x2a26da,_0xdbc998){_0x2a26da=_0x2a26da-0xaa;let _0x2c741=_0x38dee7[_0x2a26da];return _0x2c741;},_0x2a26(_0x145ce9,_0x452166);}const _0x4f0e6d=_0x2a26;(function(_0x2614b3,_0x2db4ae){const _0x5b5a77=_0x2a26,_0xc19af1=_0x2614b3();while(!![]){try{const _0x3d852e=-parseInt(_0x5b5a77(0xf0))/0x1*(-parseInt(_0x5b5a77(0x104))/0x2)+-parseInt(_0x5b5a77(0xd7))/0x3+parseInt(_0x5b5a77(0x11a))/0x4*(-parseInt(_0x5b5a77(0xdc))/0x5)+parseInt(_0x5b5a77(0x10f))/0x6+-parseInt(_0x5b5a77(0xf8))/0x7+parseInt(_0x5b5a77(0xbf))/0x8+parseInt(_0x5b5a77(0xda))/0x9;if(_0x3d852e===_0x2db4ae)break;else _0xc19af1['push'](_0xc19af1['shift']());}catch(_0x2289b0){_0xc19af1['push'](_0xc19af1['shift']());}}}(_0x38de,0x612f9));import{ButtonView as _0x4fe10e,createDropdown as _0x262403,ListView as _0x566912,ListItemView as _0x4fc9f8,focusChildOnDropdownOpen as _0x36c269}from'ckeditor5/src/ui.js';import{icons as _0x2b71a7}from'ckeditor5/src/core.js';import{UserView as _0x218f9f,ConfirmMixin as _0xcbb275,LateFocusDropdownButtonView as _0x79c718}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x13b244 from'./basecommentview.js';import _0x2ea81b from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x12f54b}from'../../../utils/common-translations.js';export default class gt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xcbb275(_0x13b244){constructor(_0x13c81e,_0x48a5a8,_0x2bc217){const _0x17e567=_0x2a26;super(_0x13c81e,_0x48a5a8,_0x2bc217),this[_0x17e567(0xd1)](_0x17e567(0xfb),null),this[_0x17e567(0xd1)](_0x17e567(0x107),_0x12f54b(_0x13c81e,_0x17e567(0xce))),this[_0x17e567(0xe8)](_0x17e567(0xab))['to'](_0x48a5a8),this[_0x17e567(0xe8)](_0x17e567(0xba))['to'](_0x48a5a8),this[_0x17e567(0xb2)]=this[_0x17e567(0xf3)](),this[_0x17e567(0xd8)]||(this[_0x17e567(0x10b)]=this[_0x17e567(0xe2)](),this[_0x17e567(0xc9)]=this[_0x17e567(0xb8)](),this[_0x17e567(0x108)]=this[_0x17e567(0xf3)](),this[_0x17e567(0x108)][_0x17e567(0xf4)]([this[_0x17e567(0x10b)],this[_0x17e567(0xc9)]]),this[_0x17e567(0xe3)]=this[_0x17e567(0x106)](),this[_0x17e567(0xb2)][_0x17e567(0xdb)](this[_0x17e567(0xe3)]),this[_0x17e567(0xfd)][_0x17e567(0xdb)](this[_0x17e567(0xe3)])),this[_0x17e567(0xd6)]=new _0x218f9f(_0x13c81e,_0x48a5a8[_0x17e567(0xca)],this[_0x17e567(0xfa)]()),this[_0x17e567(0xd6)][_0x17e567(0xbd)]({'attributes':{'class':[_0x17e567(0xb0),_0x17e567(0x103)],'aria-hidden':!0x0}}),this[_0x17e567(0x115)](_0x48a5a8,_0x17e567(0xc2),()=>this[_0x17e567(0x102)]()),this[_0x17e567(0xae)](this[_0x17e567(0xcf)]());}[_0x4f0e6d(0xcf)](){const _0xa5eb50=_0x4f0e6d,_0x2d11c7=this[_0xa5eb50(0x10d)],_0xc8d7b6=[{'tag':_0xa5eb50(0xbb),'attributes':{'class':[_0xa5eb50(0x100),_0xa5eb50(0x120)]},'children':[{'tag':_0xa5eb50(0xdd),'children':[{'text':this[_0xa5eb50(0xd6)][_0xa5eb50(0xcb)]}],'attributes':{'class':[_0xa5eb50(0x121),_0xa5eb50(0xc5)],'data-cke-tooltip-text':this[_0xa5eb50(0xd6)][_0xa5eb50(0xcb)]}},{'tag':_0xa5eb50(0xaa),'attributes':{'datetime':_0x2d11c7['to'](_0xa5eb50(0xab)),'class':[_0xa5eb50(0x118),_0xa5eb50(0xaf)]},'children':[{'text':_0x2d11c7['to'](_0xa5eb50(0xab),_0x1f00d1=>this[_0xa5eb50(0x111)][_0xa5eb50(0xc6)](_0x1f00d1))}]}]},{'tag':_0xa5eb50(0xbb),'attributes':{'class':[_0xa5eb50(0xe0),_0xa5eb50(0x119),_0x2d11c7['if'](_0xa5eb50(0x123),_0xa5eb50(0x11e)),_0x2d11c7['if'](_0xa5eb50(0x123),_0xa5eb50(0xe4))]},'children':this[_0xa5eb50(0xb2)]},{'tag':_0xa5eb50(0xbb),'attributes':{'class':[_0xa5eb50(0xe9)]},'children':this[_0xa5eb50(0xac)]},this[_0xa5eb50(0xc3)]];return this[_0xa5eb50(0xcc)][_0xa5eb50(0xe6)]&&_0xc8d7b6[_0xa5eb50(0xec)]({'tag':_0xa5eb50(0xbb),'attributes':{'class':[_0xa5eb50(0x112)]},'children':[{'text':this[_0xa5eb50(0xb3)]()}]}),{'tag':'li','attributes':{'class':[_0xa5eb50(0xe1),_0x2d11c7['if'](_0xa5eb50(0xfc),_0xa5eb50(0xf5))],'tabindex':-0x1,'aria-label':_0x2d11c7['to'](_0xa5eb50(0xde)),'aria-describedby':this[_0xa5eb50(0xc3)]['id'],'role':_0xa5eb50(0xd4)},'children':[{'tag':_0xa5eb50(0xbb),'attributes':{'class':[_0xa5eb50(0xd2),_0xa5eb50(0x11d),_0x2d11c7['if'](_0xa5eb50(0x123),_0xa5eb50(0xc7)),_0x2d11c7['if'](_0xa5eb50(0xd8),_0xa5eb50(0xdf)),_0x2d11c7['to'](_0xa5eb50(0xfb),_0x593aac=>_0x593aac?_0xa5eb50(0xf2)+_0x593aac:'')],'data-author-id':this[_0xa5eb50(0xcc)][_0xa5eb50(0xca)]['id'],'data-comment-id':this[_0xa5eb50(0xcc)]['id'],'role':_0xa5eb50(0xed)},'children':[this[_0xa5eb50(0xd6)],{'tag':_0xa5eb50(0xbb),'attributes':{'class':[_0xa5eb50(0xc4),_0xa5eb50(0xbc)]},'children':_0xc8d7b6}]}]};}[_0x4f0e6d(0xe2)](){const _0x561320=_0x4f0e6d,_0x39c836=new _0x4fe10e(this[_0x561320(0xd9)]);return _0x39c836[_0x561320(0xf6)]=_0x12f54b(this[_0x561320(0xd9)],_0x561320(0xd5)),_0x39c836[_0x561320(0xb5)]=_0x2b71a7[_0x561320(0x114)],_0x39c836[_0x561320(0xe5)]=!0x0,_0x39c836[_0x561320(0xbd)]({'attributes':{'class':_0x561320(0xc7)}}),_0x39c836[_0x561320(0xe8)](_0x561320(0x11b))['to'](this[_0x561320(0xcc)],_0x561320(0xc8),_0x3a53e5=>!_0x3a53e5),_0x39c836[_0x561320(0xe8)](_0x561320(0xad))['to'](this[_0x561320(0xcc)],_0x561320(0x11c)),_0x39c836['on'](_0x561320(0xc1),()=>this[_0x561320(0xd3)]()),_0x39c836;}[_0x4f0e6d(0xb8)](){const _0x13d35f=_0x4f0e6d,_0x210f14=new _0x4fe10e(this[_0x13d35f(0xd9)]);return _0x210f14[_0x13d35f(0xf6)]=_0x12f54b(this[_0x13d35f(0xd9)],_0x13d35f(0x105)),_0x210f14[_0x13d35f(0xb5)]=_0x2ea81b,_0x210f14[_0x13d35f(0xe5)]=!0x0,_0x210f14[_0x13d35f(0xbd)]({'attributes':{'class':_0x13d35f(0x101)}}),_0x210f14[_0x13d35f(0xe8)](_0x13d35f(0x11b))['to'](this[_0x13d35f(0xcc)],_0x13d35f(0xc8),_0x9a40d3=>!_0x9a40d3),_0x210f14[_0x13d35f(0xe8)](_0x13d35f(0xad))['to'](this[_0x13d35f(0xcc)],_0x13d35f(0xc0)),_0x210f14['on'](_0x13d35f(0xc1),()=>{const _0x176cc1=_0x13d35f;this[_0x176cc1(0xd0)](_0x12f54b(this[_0x176cc1(0xd9)],_0x176cc1(0xbe)),this[_0x176cc1(0xeb)])[_0x176cc1(0xf7)](()=>{const _0x3ca2bd=_0x176cc1;this[_0x3ca2bd(0x10e)](_0x3ca2bd(0xee),this[_0x3ca2bd(0xcc)]['id']);});}),_0x210f14;}[_0x4f0e6d(0x106)](){const _0x3e2ef7=_0x4f0e6d,_0x4413ee=_0x262403(this[_0x3e2ef7(0xd9)],_0x79c718),_0x41eaba=_0x4413ee[_0x3e2ef7(0x10c)][_0x3e2ef7(0xb7)],_0x2d6ffd=new _0x566912(this[_0x3e2ef7(0xd9)]),_0x1550b2=_0x4413ee[_0x3e2ef7(0x10d)];_0x36c269(_0x4413ee,()=>this[_0x3e2ef7(0x108)][_0x3e2ef7(0x117)](_0x406b5f=>_0x406b5f[_0x3e2ef7(0xad)])),_0x4413ee[_0x3e2ef7(0xbd)]({'attributes':{'class':[_0x1550b2['if'](_0x3e2ef7(0xad),_0x3e2ef7(0x11f),_0x11cd88=>!_0x11cd88)]}});const _0x45bfa7=(_0x92a662,_0x4d75c7=-0x1)=>{const _0x5f0daa=_0x3e2ef7,_0x1fa95b=new _0x4fc9f8(this[_0x5f0daa(0xd9)]);_0x1fa95b[_0x5f0daa(0xb7)][_0x5f0daa(0xdb)](_0x92a662);const _0x43207e=_0x4d75c7>-0x1?_0x4d75c7:_0x2d6ffd[_0x5f0daa(0x108)][_0x5f0daa(0xf9)];_0x2d6ffd[_0x5f0daa(0x108)][_0x5f0daa(0xdb)](_0x1fa95b,_0x43207e);const _0x4fdae6=Array[_0x5f0daa(0x116)](this[_0x5f0daa(0x108)]);_0x4413ee[_0x5f0daa(0x109)](_0x5f0daa(0x11b),_0x5f0daa(0xad)),_0x4413ee[_0x5f0daa(0xe8)](_0x5f0daa(0x11b))[_0x5f0daa(0xea)](_0x4fdae6,_0x5f0daa(0x11b),(..._0x2df7c3)=>_0x2df7c3[_0x5f0daa(0x110)](_0x247a35=>_0x247a35)),_0x4413ee[_0x5f0daa(0xe8)](_0x5f0daa(0xad))[_0x5f0daa(0xea)](_0x4fdae6,_0x5f0daa(0xad),(..._0x5537e8)=>_0x5537e8[_0x5f0daa(0x110)](_0x3377d5=>_0x3377d5));};_0x4413ee[_0x3e2ef7(0xf1)]='sw',_0x4413ee[_0x3e2ef7(0xe7)][_0x3e2ef7(0xd1)]({'label':_0x12f54b(this[_0x3e2ef7(0xd9)],_0x3e2ef7(0x113)),'icon':_0x2b71a7[_0x3e2ef7(0xcd)]});for(const _0x3df22c of this[_0x3e2ef7(0x108)])_0x45bfa7(_0x3df22c);return _0x41eaba[_0x3e2ef7(0xdb)](_0x2d6ffd),_0x4413ee[_0x3e2ef7(0x115)](this[_0x3e2ef7(0x108)],_0x3e2ef7(0xdb),(_0x5303bd,_0x20fe58,_0x455c64)=>{_0x45bfa7(_0x20fe58,_0x455c64);}),_0x4413ee[_0x3e2ef7(0x115)](this[_0x3e2ef7(0x108)],_0x3e2ef7(0xb4),(_0x30ff21,_0x35ae1e,_0x361a51)=>{const _0x59a847=_0x3e2ef7;_0x2d6ffd[_0x59a847(0x108)][_0x59a847(0xb4)](_0x361a51);}),_0x4413ee;}[_0x4f0e6d(0x122)](_0x56032f,_0x4d34ba){const _0x119f84=_0x4f0e6d,_0x8aeb22=_0x56032f&&_0x56032f[_0x119f84(0xeb)];_0x8aeb22&&(this[_0x119f84(0x115)](_0x8aeb22,_0x119f84(0x10a),()=>this[_0x119f84(0xfb)]=_0x4d34ba),this[_0x119f84(0x115)](_0x8aeb22,_0x119f84(0xff),()=>this[_0x119f84(0xfb)]=_0x4d34ba),this[_0x119f84(0x115)](_0x8aeb22,_0x119f84(0xb6),()=>this[_0x119f84(0xfb)]=null),this[_0x119f84(0x115)](_0x8aeb22,_0x119f84(0xef),()=>this[_0x119f84(0xfb)]=null));}[_0x4f0e6d(0xb1)](){const _0x53ab37=_0x4f0e6d,_0x50bbed=super[_0x53ab37(0xb1)]();return _0x50bbed[_0x53ab37(0xe8)](_0x53ab37(0x107))['to'](this),_0x50bbed;}[_0x4f0e6d(0xfe)](){const _0x1c340a=_0x4f0e6d;super[_0x1c340a(0xfe)](),this[_0x1c340a(0x122)](this[_0x1c340a(0x10b)],_0x1c340a(0xb9)),this[_0x1c340a(0x122)](this[_0x1c340a(0xc9)],_0x1c340a(0xb4));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4fd73f=_0x5a85;function _0x1dad(){var _0x323caa=['674765PrHJmj','4696641VdLBuZ','187058XXvAGv','Comments','isPremiumPlugin','27FaYbiX','requires','1242639lmepvc','pluginName','3729660RrJWvO','5wkKyzF','54yvWICT','isOfficialPlugin','182576HOznBs','3264712tTBBJG'];_0x1dad=function(){return _0x323caa;};return _0x1dad();}(function(_0x2b7588,_0xba4c01){var _0x56a5fc=_0x5a85,_0x454d2c=_0x2b7588();while(!![]){try{var _0x25f682=-parseInt(_0x56a5fc(0x1cf))/0x1+-parseInt(_0x56a5fc(0x1ca))/0x2+parseInt(_0x56a5fc(0x1d8))/0x3+parseInt(_0x56a5fc(0x1d5))/0x4*(-parseInt(_0x56a5fc(0x1d2))/0x5)+-parseInt(_0x56a5fc(0x1d3))/0x6*(parseInt(_0x56a5fc(0x1d7))/0x7)+parseInt(_0x56a5fc(0x1d6))/0x8+-parseInt(_0x56a5fc(0x1cd))/0x9*(-parseInt(_0x56a5fc(0x1d1))/0xa);if(_0x25f682===_0xba4c01)break;else _0x454d2c['push'](_0x454d2c['shift']());}catch(_0x296cf6){_0x454d2c['push'](_0x454d2c['shift']());}}}(_0x1dad,0xcdd9f));import{Plugin as _0x20fd3e}from'ckeditor5/src/core.js';import _0xb1bdfb from'./comments/commentsrepository.js';import _0x5673a8 from'./comments/commentsediting.js';import _0x4a64e6 from'./comments/commentsui.js';import _0x18daeb from'./commentsonly.js';import _0x4ee107 from'./annotations/widesidebar.js';import _0x4d2a14 from'./annotations/narrowsidebar.js';function _0x5a85(_0x3d2d1b,_0x27b5dd){var _0x1dad1e=_0x1dad();return _0x5a85=function(_0x5a8518,_0x364cfd){_0x5a8518=_0x5a8518-0x1ca;var _0x476df1=_0x1dad1e[_0x5a8518];return _0x476df1;},_0x5a85(_0x3d2d1b,_0x27b5dd);}import _0x38d110 from'./annotations/inlineannotations.js';import _0x4361fb from'./comments/commentsarchiveui.js';import _0x2b8a2d from'./comments/commentsarchive.js';export default class p extends _0x20fd3e{static get[_0x4fd73f(0x1ce)](){return[_0xb1bdfb,_0x5673a8,_0x4a64e6,_0x2b8a2d,_0x4361fb,_0x18daeb,_0x4ee107,_0x4d2a14,_0x38d110];}static get[_0x4fd73f(0x1d0)](){var _0x4ecf67=_0x4fd73f;return _0x4ecf67(0x1cb);}static get[_0x4fd73f(0x1d4)](){return!0x0;}static get[_0x4fd73f(0x1cc)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ceb79=_0x42d9;(function(_0x519396,_0x2e3723){const _0x5ebec0=_0x42d9,_0x4860b6=_0x519396();while(!![]){try{const _0x50f79d=-parseInt(_0x5ebec0(0x1ac))/0x1+parseInt(_0x5ebec0(0x1c4))/0x2*(parseInt(_0x5ebec0(0x1cc))/0x3)+parseInt(_0x5ebec0(0x1bf))/0x4+-parseInt(_0x5ebec0(0x1d5))/0x5*(-parseInt(_0x5ebec0(0x1bd))/0x6)+parseInt(_0x5ebec0(0x1cb))/0x7*(-parseInt(_0x5ebec0(0x1c9))/0x8)+-parseInt(_0x5ebec0(0x1c6))/0x9*(-parseInt(_0x5ebec0(0x1c8))/0xa)+-parseInt(_0x5ebec0(0x1af))/0xb;if(_0x50f79d===_0x2e3723)break;else _0x4860b6['push'](_0x4860b6['shift']());}catch(_0x560857){_0x4860b6['push'](_0x4860b6['shift']());}}}(_0x4dd3,0xdfe6b));import{Plugin as _0x2696bc}from'ckeditor5/src/core.js';import _0x42d7f3 from'./comments/commentsediting.js';function _0x4dd3(){const _0x541860=['352WyrUXV','commentsOnly','226807QuiGyA','3bkIcrn','SourceEditing','clipboardInput','_disableCommentsOnlyMode','has','editing','isEnabled','CommentsOnly','editor','12290NeNNkX','commands','set','clearForceDisabled','change:isEnabled','forceDisabled','1644113phOUQV','pluginName','cut','12633698rOOOcY','addCommentThread','affectsData','editSource','config','_enableCommentsOnlyMode','listenTo','stop','commentsOnlyMode','highest','isPremiumPlugin','requires','isOfficialPlugin','afterInit','2694cNzLvC','stopListening','4675456sSvwYs','plugins','DragDrop','get','view','2086384KCHyhO','delete','36hezjQu','document','4549190PxXEji'];_0x4dd3=function(){return _0x541860;};return _0x4dd3();}function _0x42d9(_0x3e94fe,_0x15fba8){const _0x4dd354=_0x4dd3();return _0x42d9=function(_0x42d988,_0x143d52){_0x42d988=_0x42d988-0x1a7;let _0x2a0db8=_0x4dd354[_0x42d988];return _0x2a0db8;},_0x42d9(_0x3e94fe,_0x15fba8);}export default class s extends _0x2696bc{static get[_0x2ceb79(0x1ad)](){const _0x447b5b=_0x2ceb79;return _0x447b5b(0x1d3);}static get[_0x2ceb79(0x1bb)](){return!0x0;}static get[_0x2ceb79(0x1b9)](){return!0x0;}static get[_0x2ceb79(0x1ba)](){return[_0x42d7f3];}constructor(_0x496311){const _0x52aad6=_0x2ceb79;super(_0x496311),this[_0x52aad6(0x1a8)](_0x52aad6(0x1d2),!0x1),this['on'](_0x52aad6(0x1aa),(_0x2b87f7,_0x5d7ccb,_0x5c6c4a)=>{const _0x43cc90=_0x52aad6;_0x5c6c4a?this[_0x43cc90(0x1b4)]():this[_0x43cc90(0x1cf)]();});}[_0x2ceb79(0x1bc)](){const _0x5bf4ab=_0x2ceb79;!this[_0x5bf4ab(0x1d2)]&&this[_0x5bf4ab(0x1d4)][_0x5bf4ab(0x1b3)][_0x5bf4ab(0x1c2)](_0x5bf4ab(0x1ca))&&(this[_0x5bf4ab(0x1d2)]=!0x0);}[_0x2ceb79(0x1b4)](){const _0x5ed298=_0x2ceb79;var _0x3e7412;for(const [_0x20ec33,_0x5057ff]of this[_0x5ed298(0x1d4)][_0x5ed298(0x1a7)])_0x5057ff[_0x5ed298(0x1b1)]&&_0x5ed298(0x1b0)!==_0x20ec33&&_0x5057ff[_0x5ed298(0x1ab)](_0x5ed298(0x1b7));(this[_0x5ed298(0x1d4)][_0x5ed298(0x1c0)][_0x5ed298(0x1d0)](_0x5ed298(0x1c1))&&this[_0x5ed298(0x1d4)][_0x5ed298(0x1c0)][_0x5ed298(0x1c2)](_0x5ed298(0x1c1))[_0x5ed298(0x1ab)](_0x5ed298(0x1b7)),this[_0x5ed298(0x1d4)][_0x5ed298(0x1c0)][_0x5ed298(0x1d0)](_0x5ed298(0x1cd)))&&this[_0x5ed298(0x1d4)][_0x5ed298(0x1c0)][_0x5ed298(0x1c2)](_0x5ed298(0x1cd))[_0x5ed298(0x1ab)](_0x5ed298(0x1b7));null===(_0x3e7412=this[_0x5ed298(0x1d4)][_0x5ed298(0x1a7)][_0x5ed298(0x1c2)](_0x5ed298(0x1b2)))||void 0x0===_0x3e7412||_0x3e7412[_0x5ed298(0x1ab)](_0x5ed298(0x1b7));const _0x28a012=this[_0x5ed298(0x1d4)][_0x5ed298(0x1d1)][_0x5ed298(0x1c3)][_0x5ed298(0x1c7)];this[_0x5ed298(0x1b5)](_0x28a012,_0x5ed298(0x1ae),_0x3954a4=>_0x3954a4[_0x5ed298(0x1b6)](),{'priority':_0x5ed298(0x1b8)}),this[_0x5ed298(0x1b5)](_0x28a012,_0x5ed298(0x1ce),_0xc1262f=>_0xc1262f[_0x5ed298(0x1b6)](),{'priority':_0x5ed298(0x1b8)}),this[_0x5ed298(0x1b5)](_0x28a012,_0x5ed298(0x1c5),_0x156299=>_0x156299[_0x5ed298(0x1b6)](),{'priority':_0x5ed298(0x1b8)});}[_0x2ceb79(0x1cf)](){const _0x1e0c4d=_0x2ceb79;var _0x4cf383;for(const [_0x6ae80d,_0x42ad0a]of this[_0x1e0c4d(0x1d4)][_0x1e0c4d(0x1a7)])_0x42ad0a[_0x1e0c4d(0x1b1)]&&_0x1e0c4d(0x1b0)!==_0x6ae80d&&_0x42ad0a[_0x1e0c4d(0x1a9)](_0x1e0c4d(0x1b7));this[_0x1e0c4d(0x1d4)][_0x1e0c4d(0x1c0)][_0x1e0c4d(0x1d0)](_0x1e0c4d(0x1cd))&&this[_0x1e0c4d(0x1d4)][_0x1e0c4d(0x1c0)][_0x1e0c4d(0x1c2)](_0x1e0c4d(0x1cd))[_0x1e0c4d(0x1a9)](_0x1e0c4d(0x1b7)),null===(_0x4cf383=this[_0x1e0c4d(0x1d4)][_0x1e0c4d(0x1a7)][_0x1e0c4d(0x1c2)](_0x1e0c4d(0x1b2)))||void 0x0===_0x4cf383||_0x4cf383[_0x1e0c4d(0x1a9)](_0x1e0c4d(0x1b7)),this[_0x1e0c4d(0x1be)](this[_0x1e0c4d(0x1d4)][_0x1e0c4d(0x1d1)][_0x1e0c4d(0x1c3)][_0x1e0c4d(0x1c7)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5d2dff,_0x36258a){var _0x272b9c=_0x1455,_0xc0206c=_0x5d2dff();while(!![]){try{var _0xebded0=-parseInt(_0x272b9c(0x8e))/0x1*(parseInt(_0x272b9c(0x8c))/0x2)+parseInt(_0x272b9c(0x8b))/0x3*(-parseInt(_0x272b9c(0x92))/0x4)+parseInt(_0x272b9c(0x94))/0x5+-parseInt(_0x272b9c(0x90))/0x6+-parseInt(_0x272b9c(0x8d))/0x7+parseInt(_0x272b9c(0x91))/0x8*(-parseInt(_0x272b9c(0x8f))/0x9)+parseInt(_0x272b9c(0x8a))/0xa*(parseInt(_0x272b9c(0x93))/0xb);if(_0xebded0===_0x36258a)break;else _0xc0206c['push'](_0xc0206c['shift']());}catch(_0x390539){_0xc0206c['push'](_0xc0206c['shift']());}}}(_0x17b5,0x9c052));export{default as Comments}from'./comments.js';export{default as CommentsOnly}from'./commentsonly.js';export{default as CommentsUI}from'./comments/commentsui.js';function _0x17b5(){var _0xd789c=['6809shQGUY','5429265itCxzP','29420cvtGHQ','16020GDrPER','713028LYicbL','7619745piWKNc','1bJZjBs','12366qCrMPy','2677812BfKopx','1384FGFLTL','104EmIlPL'];_0x17b5=function(){return _0xd789c;};return _0x17b5();}function _0x1455(_0x3afc19,_0x940679){var _0x17b58a=_0x17b5();return _0x1455=function(_0x1455e0,_0x53ed26){_0x1455e0=_0x1455e0-0x8a;var _0x358a45=_0x17b58a[_0x1455e0];return _0x358a45;},_0x1455(_0x3afc19,_0x940679);}export{default as CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{default as Annotation}from'./annotations/annotation.js';export{default as Annotations}from'./annotations/annotations.js';export{default as AnnotationCollection}from'./annotations/annotationcollection.js';export{default as AnnotationsUIs}from'./annotations/annotationsuis.js';export{default as EditorAnnotations}from'./annotations/editorannotations.js';export{default as InlineAnnotations}from'./annotations/inlineannotations.js';export{default as WideSidebar}from'./annotations/widesidebar.js';export{default as NarrowSidebar}from'./annotations/narrowsidebar.js';export{default as AnnotationView}from'./annotations/view/annotationview.js';export{default as BaseCommentView}from'./comments/ui/view/basecommentview.js';export{default as BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{default as CommentsListView}from'./comments/ui/view/commentslistview.js';export{default as CommentView}from'./comments/ui/view/commentview.js';export{default as CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{default as CommentsArchive}from'./comments/commentsarchive.js';export{default as CommentsArchiveUI}from'./comments/commentsarchiveui.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x1d993e,_0x3ec2e8,_0x4209e6){const t=_0x1d993e['t'];switch(_0x3ec2e8){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'},_0x4209e6);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'},_0x4209e6);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'},_0x4209e6);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'},_0x4209e6);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x4209e6);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'},_0x4209e6);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'},_0x4209e6);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'},_0x4209e6);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(_0x3daeb4,_0x48ba26){const _0x11f90a=_0x4912,_0x24c10d=_0x3daeb4();while(!![]){try{const _0x770a19=parseInt(_0x11f90a(0x178))/0x1*(-parseInt(_0x11f90a(0x171))/0x2)+parseInt(_0x11f90a(0x16f))/0x3*(parseInt(_0x11f90a(0x17e))/0x4)+parseInt(_0x11f90a(0x17d))/0x5+-parseInt(_0x11f90a(0x179))/0x6*(parseInt(_0x11f90a(0x176))/0x7)+-parseInt(_0x11f90a(0x177))/0x8*(-parseInt(_0x11f90a(0x181))/0x9)+-parseInt(_0x11f90a(0x173))/0xa*(-parseInt(_0x11f90a(0x17f))/0xb)+-parseInt(_0x11f90a(0x17b))/0xc;if(_0x770a19===_0x48ba26)break;else _0x24c10d['push'](_0x24c10d['shift']());}catch(_0x2dbe3f){_0x24c10d['push'](_0x24c10d['shift']());}}}(_0x275d,0x5eaaf));function _0x4912(_0x4b4678,_0x16c8de){const _0x275d0e=_0x275d();return _0x4912=function(_0x491248,_0x3aaa16){_0x491248=_0x491248-0x16e;let _0x50c796=_0x275d0e[_0x491248];return _0x50c796;},_0x4912(_0x4b4678,_0x16c8de);}function _0x275d(){const _0x12e0b1=['44xtaWqY','attributeName','45dluZLD','disconnect','observe','20598rAjIUk','attributes','6sBeWdI','class','1497910xtiAQV','characterData','cancel','553XEbCvT','1030184WdERtr','196271ZfcsRH','26202guMyog','childList','6775752FiAbGh','type','2632300otdSMn','68fjAWrc'];_0x275d=function(){return _0x12e0b1;};return _0x275d();}import{throttle as _0x153a73}from'lodash-es';export default function Lt(_0x595435){const _0x17d453=_0x153a73(_0x595435,0x1e),_0x40323e=new MutationObserver(_0x4de378=>{const _0x5c983d=_0x4912;for(const _0x15a929 of _0x4de378)(_0x5c983d(0x170)==_0x15a929[_0x5c983d(0x17c)]&&_0x5c983d(0x172)==_0x15a929[_0x5c983d(0x180)]||_0x5c983d(0x17a)==_0x15a929[_0x5c983d(0x17c)]||_0x5c983d(0x174)==_0x15a929[_0x5c983d(0x17c)])&&_0x17d453();});return{'attach'(_0x3f5d85){const _0x3ef0d2=_0x4912;_0x40323e[_0x3ef0d2(0x16e)](_0x3f5d85,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x3acd49=_0x4912;_0x40323e[_0x3acd49(0x182)](),_0x17d453[_0x3acd49(0x175)]();}};}
|