@ckeditor/ckeditor5-comments 43.0.0-alpha.6 → 43.1.0-alpha.0
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/build/translations/gl.js +1 -1
- package/dist/annotations/annotation.d.ts +7 -0
- package/dist/comments/commentsediting.d.ts +2 -1
- package/dist/comments/commentsrepository.d.ts +0 -12
- package/dist/index.d.ts +6 -3
- 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/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.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/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/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/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/ko.js +1 -1
- package/dist/translations/ko.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/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/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/sk.js +1 -1
- package/dist/translations/sk.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/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/lang/translations/gl.po +17 -17
- package/package.json +15 -14
- package/src/annotations/annotation.d.ts +7 -0
- 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.d.ts +2 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.d.ts +0 -12
- 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/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.d.ts +6 -3
- 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 _0x4f3355=_0x5c16;(function(_0x166e96,_0x322c4c){const _0x5a1124=_0x5c16,_0x96ccc7=_0x166e96();while(!![]){try{const _0x360339=-parseInt(_0x5a1124(0xae))/0x1+-parseInt(_0x5a1124(0xd0))/0x2+-parseInt(_0x5a1124(0x92))/0x3+-parseInt(_0x5a1124(0x90))/0x4*(parseInt(_0x5a1124(0xb1))/0x5)+parseInt(_0x5a1124(0x8b))/0x6*(parseInt(_0x5a1124(0xdc))/0x7)+parseInt(_0x5a1124(0x9c))/0x8*(-parseInt(_0x5a1124(0xbc))/0x9)+parseInt(_0x5a1124(0x98))/0xa;if(_0x360339===_0x322c4c)break;else _0x96ccc7['push'](_0x96ccc7['shift']());}catch(_0x239990){_0x96ccc7['push'](_0x96ccc7['shift']());}}}(_0x27a2,0x35446));import{ContextPlugin as _0x761c75}from'ckeditor5/src/core.js';import{Rect as _0x24cade,CKEditorError as _0x5da022}from'ckeditor5/src/utils.js';import _0x443cb0 from'./view/sidebarview.js';import _0x171d41 from'./view/sidebaritemview.js';export default class D extends _0x761c75{static get[_0x4f3355(0xc6)](){const _0x36adbc=_0x4f3355;return _0x36adbc(0xaf);}constructor(_0x556881){const _0x54f322=_0x4f3355;super(_0x556881),this[_0x54f322(0xb0)](_0x54f322(0xa0),void 0x0),this[_0x54f322(0x95)]=this[_0x54f322(0x97)](),this[_0x54f322(0xb0)](_0x54f322(0xcb),null),this[_0x54f322(0xd3)]=0x19,this[_0x54f322(0xc0)]=new Map(),this[_0x54f322(0xd4)]=new Map(),this[_0x54f322(0x9e)][_0x54f322(0xcf)][_0x54f322(0xb3)](_0x54f322(0xa8),!0x1),this[_0x54f322(0xc3)]=null,this[_0x54f322(0xdb)]=null,this[_0x54f322(0xd7)]=[];}[_0x4f3355(0xa1)](){const _0x899cf0=_0x4f3355,_0x1b9ace=this[_0x899cf0(0x9e)][_0x899cf0(0xcf)][_0x899cf0(0xd1)](_0x899cf0(0x9a));_0x1b9ace&&this[_0x899cf0(0x9b)](_0x1b9ace);}[_0x4f3355(0x9b)](_0x59c7e7){const _0xa9d933=_0x4f3355;if(!y(_0x59c7e7))throw new _0x5da022(_0xa9d933(0xca));this[_0xa9d933(0xcb)]=_0x59c7e7;}[_0x4f3355(0xd2)]({viewClass:_0x39a93f='',spaceBetweenItems:_0xd14311=0x19}={}){const _0x5ed1ce=_0x4f3355;if(!y(this[_0x5ed1ce(0xcb)]))throw new _0x5da022(_0x5ed1ce(0x93),this);this[_0x5ed1ce(0xcb)][_0x5ed1ce(0xad)](this[_0x5ed1ce(0x95)][_0x5ed1ce(0xda)]),this[_0x5ed1ce(0x95)][_0x5ed1ce(0x8e)]=_0x39a93f,this[_0x5ed1ce(0xd3)]=_0xd14311;}[_0x4f3355(0x85)]({removedAnnotation:_0x40fe74,previousAnnotation:_0xa4ae0,nextAnnotation:_0x1ae2a9}){const _0x38149f=_0x4f3355,_0x5cfdb1=this[_0x38149f(0xa9)](_0x40fe74);this[_0x38149f(0x95)][_0x38149f(0xbe)][_0x38149f(0x84)](_0x5cfdb1),this[_0x38149f(0x8d)](_0x40fe74),_0xa4ae0&&this[_0x38149f(0x86)](this[_0x38149f(0xa9)](_0xa4ae0)),_0x1ae2a9&&this[_0x38149f(0x86)](this[_0x38149f(0xa9)](_0x1ae2a9)),this[_0x38149f(0xce)]();}[_0x4f3355(0xd5)]({blurredAnnotation:_0x1b2de1,activatedAnnotation:_0x580a9f,disableAnimationOnActivatedAnnotation:_0x208a75}){const _0x4a6979=_0x4f3355;if(this[_0x4a6979(0xdb)]=_0x580a9f,_0x1b2de1){_0x1b2de1[_0x4a6979(0x91)]=!0x1;const _0x50a55d=this[_0x4a6979(0xa9)](_0x1b2de1);_0x50a55d&&_0x208a75&&(_0x50a55d[_0x4a6979(0xb2)]=!0x1);}if(_0x580a9f){const _0x539a49=this[_0x4a6979(0xa9)](_0x580a9f);_0x539a49&&(_0x580a9f[_0x4a6979(0x91)]=!0x0,_0x208a75&&(_0x539a49[_0x4a6979(0xb2)]=!0x0,_0x539a49[_0x4a6979(0xc1)]+=0x1),this[_0x4a6979(0x86)](_0x539a49));}}[_0x4f3355(0xc9)](_0x34e01f){const _0x1dfe0e=_0x4f3355;if(this[_0x1dfe0e(0x95)][_0x1dfe0e(0xda)][_0x1dfe0e(0x84)](),_0x34e01f){for(const _0xaf5258 of _0x34e01f)this[_0x1dfe0e(0x8d)](_0xaf5258);}this[_0x1dfe0e(0x95)][_0x1dfe0e(0xbe)][_0x1dfe0e(0xb9)](),this[_0x1dfe0e(0x95)][_0x1dfe0e(0x8e)]='',this[_0x1dfe0e(0xa0)]=null;}[_0x4f3355(0xc8)](_0x147c7e,_0xb83bd){const _0x1df6da=_0x4f3355;_0xb83bd||(_0xb83bd=_0x147c7e[_0x1df6da(0x95)]);const _0x44a396=new _0x171d41(this[_0x1df6da(0x9e)][_0x1df6da(0x89)]);this[_0x1df6da(0xc0)][_0x1df6da(0xb0)](_0x44a396,_0x147c7e),this[_0x1df6da(0xd4)][_0x1df6da(0xb0)](_0x147c7e,_0x44a396),_0x44a396[_0x1df6da(0xa5)][_0x1df6da(0xbb)](_0xb83bd),this[_0x1df6da(0xbf)](_0x147c7e[_0x1df6da(0x95)],_0x1df6da(0xa3),(_0x5006d4,_0x30e5a5,_0x5538a0)=>{const _0x30ed2a=_0x1df6da,_0x1ba86e=this[_0x30ed2a(0x94)](_0x147c7e,_0x5538a0);_0x44a396[_0x30ed2a(0x9f)]!=_0x1ba86e&&(_0x44a396[_0x30ed2a(0x9f)]=_0x1ba86e,this[_0x30ed2a(0xb5)](_0x44a396,_0x1ba86e));}),this[_0x1df6da(0xbf)](_0x44a396,_0x1df6da(0xd9),()=>{const _0x22fdcb=_0x1df6da;this[_0x22fdcb(0xc5)](_0x44a396,_0x22fdcb(0xc1));}),this[_0x1df6da(0xbf)](_0x44a396,_0x1df6da(0xab),()=>{const _0x50352f=_0x1df6da;this[_0x50352f(0xc5)](_0x44a396,_0x50352f(0xb7));}),this[_0x1df6da(0x86)](_0x44a396);const _0x40c065=this[_0x1df6da(0xbd)](_0x44a396);if(_0x40c065)this[_0x1df6da(0xc7)](_0x40c065,_0x44a396)||this[_0x1df6da(0x86)](_0x44a396);else this[_0x1df6da(0x86)](_0x44a396);return this[_0x1df6da(0xce)](),this[_0x1df6da(0x95)][_0x1df6da(0xbe)][_0x1df6da(0xbb)](_0x44a396),_0x44a396;}[_0x4f3355(0xa2)](_0x1bc273){const _0x31a592=_0x4f3355;if(!_0x1bc273[_0x31a592(0xa5)][_0x31a592(0xb8)])return;const _0x1a2e98=this[_0x31a592(0xbd)](_0x1bc273);if(!_0x1a2e98)return;const _0xa2765d=this[_0x31a592(0xc0)][_0x31a592(0xd1)](_0x1a2e98),_0x23b912=this[_0x31a592(0xdb)];_0x23b912&&_0x23b912===_0xa2765d?this[_0x31a592(0xc7)](_0x1a2e98,_0x1bc273):this[_0x31a592(0x99)](_0x1bc273,_0x1a2e98);}[_0x4f3355(0xb6)](_0x323884){const _0x2331d1=_0x4f3355;if(!_0x323884[_0x2331d1(0xa5)][_0x2331d1(0xb8)])return;const _0x3d775a=this[_0x2331d1(0xa4)](_0x323884);if(!_0x3d775a)return;const _0x58c09e=this[_0x2331d1(0xc0)][_0x2331d1(0xd1)](_0x3d775a),_0x36da70=this[_0x2331d1(0x9e)][_0x2331d1(0xcf)][_0x2331d1(0xd1)](_0x2331d1(0xa8)),_0x4578d4=this[_0x2331d1(0xdb)];_0x4578d4&&_0x4578d4===_0x58c09e&&_0x36da70?(this[_0x2331d1(0x99)](_0x3d775a,_0x323884),this[_0x2331d1(0xc7)](_0x323884,_0x3d775a)):_0x4578d4&&_0x4578d4===_0x58c09e?this[_0x2331d1(0x99)](_0x3d775a,_0x323884):this[_0x2331d1(0xc7)](_0x323884,_0x3d775a);}[_0x4f3355(0xc5)](_0x45a887,_0x4a98cc){const _0x118a1f=_0x4f3355;0x0===this[_0x118a1f(0xd7)][_0x118a1f(0xb8)]&&setTimeout(()=>{const _0x44a507=_0x118a1f;for(const {sidebarItemView:_0x2635ee,changedProp:_0x5d7ee8}of this[_0x44a507(0xd7)])_0x44a507(0xc1)===_0x5d7ee8?this[_0x44a507(0xa2)](_0x2635ee):this[_0x44a507(0xb6)](_0x2635ee);this[_0x44a507(0xd7)]=[];},0xa),this[_0x118a1f(0xd7)][_0x118a1f(0xc4)]({'sidebarItemView':_0x45a887,'changedProp':_0x4a98cc});}[_0x4f3355(0xa9)](_0x561c3d){const _0x5786c0=_0x4f3355;return this[_0x5786c0(0xd4)][_0x5786c0(0xd1)](_0x561c3d);}[_0x4f3355(0xcd)](){const _0xe494d9=_0x4f3355;this[_0xe494d9(0xac)](),this[_0xe494d9(0x95)][_0xe494d9(0xcd)]();}[_0x4f3355(0x8d)](_0x1c8c96){const _0x463600=_0x4f3355,_0x4f59bf=this[_0x463600(0xa9)](_0x1c8c96);this[_0x463600(0xac)](_0x4f59bf),this[_0x463600(0xac)](_0x1c8c96[_0x463600(0x95)]),_0x4f59bf[_0x463600(0xcd)](),this[_0x463600(0xd4)][_0x463600(0xa7)](_0x1c8c96),this[_0x463600(0xc0)][_0x463600(0xa7)](_0x4f59bf);}[_0x4f3355(0x97)](){const _0x4d90e2=_0x4f3355,_0x933140=new _0x443cb0(this[_0x4d90e2(0x9e)][_0x4d90e2(0x89)]);return _0x933140[_0x4d90e2(0xd6)](),this['on'](_0x4d90e2(0xaa),(_0x9e546f,_0x72e4e6,_0x272145,_0xe1a9cc)=>{const _0x1ff8e6=_0x4d90e2;_0xe1a9cc&&_0x933140[_0x1ff8e6(0xb4)](_0x1ff8e6(0x9d)),_0x272145?_0x933140[_0x1ff8e6(0xba)](_0x1ff8e6(0x9d))['to'](_0x272145,_0x1ff8e6(0xb7)):_0x933140[_0x1ff8e6(0x9d)]=null;}),_0x933140;}[_0x4f3355(0xce)](){const _0x43aeb9=_0x4f3355;var _0x59c639;this[_0x43aeb9(0xa0)]=(null===(_0x59c639=this[_0x43aeb9(0xc3)])||void 0x0===_0x59c639?void 0x0:_0x59c639[_0x43aeb9(0xa6)])?this[_0x43aeb9(0xa9)](this[_0x43aeb9(0xc3)][_0x43aeb9(0xa6)]):null;}[_0x4f3355(0xbd)](_0x152b46){const _0x247b9f=_0x4f3355;var _0x2fb3bf;const _0x3987a6=this[_0x247b9f(0xc0)][_0x247b9f(0xd1)](_0x152b46),_0x1d3ed4=_0x3987a6&&(null===(_0x2fb3bf=this[_0x247b9f(0xc3)])||void 0x0===_0x2fb3bf?void 0x0:_0x2fb3bf[_0x247b9f(0xd1)](this[_0x247b9f(0xc3)][_0x247b9f(0x8a)](_0x3987a6)-0x1));return _0x1d3ed4&&this[_0x247b9f(0xa9)](_0x1d3ed4)||null;}[_0x4f3355(0xa4)](_0x13c298){const _0x141309=_0x4f3355;var _0x2c2b51;const _0x521955=this[_0x141309(0xc0)][_0x141309(0xd1)](_0x13c298),_0x29ebce=_0x521955&&(null===(_0x2c2b51=this[_0x141309(0xc3)])||void 0x0===_0x2c2b51?void 0x0:_0x2c2b51[_0x141309(0xd1)](this[_0x141309(0xc3)][_0x141309(0x8a)](_0x521955)+0x1));return _0x29ebce&&this[_0x141309(0xa9)](_0x29ebce)||null;}[_0x4f3355(0x99)](_0x43c82b,_0x126a03){const _0x17f69d=_0x4f3355;_0x43c82b[_0x17f69d(0x8c)]();const _0x1bc2b0=H(_0x126a03[_0x17f69d(0xb7)]+this[_0x17f69d(0xd3)],_0x43c82b[_0x17f69d(0xc1)]);return!!_0x1bc2b0&&(this[_0x17f69d(0xb5)](_0x126a03,_0x126a03[_0x17f69d(0xc1)]-_0x1bc2b0),!0x0);}[_0x4f3355(0xc7)](_0x5eb89c,_0x340579){const _0x3211a2=_0x4f3355;_0x5eb89c[_0x3211a2(0x8c)]();const _0x20b899=H(_0x5eb89c[_0x3211a2(0xb7)]+this[_0x3211a2(0xd3)],_0x340579[_0x3211a2(0xc1)]);return!!_0x20b899&&(this[_0x3211a2(0xb5)](_0x340579,_0x340579[_0x3211a2(0xc1)]+_0x20b899,!0x1),!0x0);}[_0x4f3355(0x86)](_0x5aba04){const _0x563193=_0x4f3355,_0x4e4267=this[_0x563193(0xc0)][_0x563193(0xd1)](_0x5aba04);if(!_0x4e4267||!_0x4e4267[_0x563193(0xcc)]||!_0x4e4267[_0x563193(0x87)])return;const _0x1766c1=this[_0x563193(0x94)](_0x4e4267,_0x4e4267[_0x563193(0x87)]);this[_0x563193(0xb5)](_0x5aba04,_0x1766c1);}[_0x4f3355(0x94)](_0x3ad9c5,_0x50dc39){const _0x10c92d=_0x4f3355;if(null===_0x50dc39)return 0x0;if(_0x3ad9c5[_0x10c92d(0xcc)]instanceof _0x24cade)return _0x50dc39[_0x10c92d(0xc1)];{const _0x22a573=new _0x24cade(this[_0x10c92d(0x95)][_0x10c92d(0xda)])[_0x10c92d(0xc1)];return _0x50dc39[_0x10c92d(0xc1)]-_0x22a573;}}[_0x4f3355(0xb5)](_0x4ef509,_0x2c6343,_0x3fa53d=this[_0x4f3355(0x9e)][_0x4f3355(0xcf)][_0x4f3355(0xd1)](_0x4f3355(0xa8))){const _0x2de82a=_0x4f3355;_0x3fa53d&&(_0x2c6343=Math[_0x2de82a(0x96)](_0x2c6343,this[_0x2de82a(0xc2)](_0x4ef509))),_0x4ef509[_0x2de82a(0xc1)]=_0x2c6343;}[_0x4f3355(0xc2)](_0x4cdeeb){const _0x24da83=_0x4f3355;let _0x2794dc=this[_0x24da83(0xbd)](_0x4cdeeb),_0x47bd5f=0x0;for(;_0x2794dc;)_0x2794dc[_0x24da83(0x8c)](),_0x47bd5f+=this[_0x24da83(0xd3)]+_0x2794dc[_0x24da83(0x8f)],_0x2794dc=this[_0x24da83(0xbd)](_0x2794dc);return _0x47bd5f;}}function _0x27a2(){const _0x147a6b=['249096MDZLhd','get','_attachToContainer','_spaceBetweenItems','_annotationToSidebarItemView','refresh','render','_recalculateBuffer','object','change:top','element','_activeAnnotation','609HUzODq','remove','rearrange','_alignToTargetRect','targetRect','nodeType','locale','getIndex','19548QTztXJ','updateHeight','_destroySidebarItemView','class','height','204fwdiYd','isActive','16998qWvcQD','sidebar-attachtocontainer-missing-container','_getTargetTop','view','max','_createSidebarView','6717570netzgM','_alignBeforeItem','sidebar.container','setContainer','8VruFEK','minHeight','context','_targetTop','_lastItem','init','_alignForTopChange','change:targetRect','_getItemAfter','content','last','delete','sidebar.preventScrollOutOfView','getSidebarItemView','change:_lastItem','change:bottom','stopListening','appendChild','188785oWomSb','Sidebar','set','2325TYGAVs','isAnimationDisabled','define','unbind','_setItemTop','_alignForBottomChange','bottom','length','clear','bind','add','3548763TeQqGq','_getItemBefore','list','listenTo','_sidebarItemViewToAnnotation','top','_getMaxAvailableTop','_annotations','push','_recalculate','pluginName','_alignAfterItem','addAnnotation','_detachFromContainer','sidebar-setcontainer-invalid-element','container','target','destroy','_updateLastItem','config'];_0x27a2=function(){return _0x147a6b;};return _0x27a2();}function H(_0x286830,_0x301867){const _0x4a2758=_0x4f3355;return Math[_0x4a2758(0x96)](_0x286830-_0x301867,0x0);}function _0x5c16(_0x442aac,_0x845437){const _0x27a2eb=_0x27a2();return _0x5c16=function(_0x5c1687,_0xecb765){_0x5c1687=_0x5c1687-0x84;let _0x244344=_0x27a2eb[_0x5c1687];return _0x244344;},_0x5c16(_0x442aac,_0x845437);}function y(_0x122fed){const _0x2015d0=_0x4f3355;return null!==_0x122fed&&_0x2015d0(0xd8)==typeof _0x122fed&&0x1===_0x122fed[_0x2015d0(0x88)];}
|
|
23
|
+
const _0xdfa862=_0x1d16;function _0x2849(){const _0x34528a=['1839745BatMxH','get','minHeight','push','_destroySidebarItemView','locale','isAnimationDisabled','sidebar-setcontainer-invalid-element','_targetTop','remove','target','rearrange','object','setContainer','1548603WFuPuX','clear','_getTargetTop','_getItemAfter','init','_recalculate','5057840KFncvC','targetRect','_updateLastItem','_alignToTargetRect','_annotations','_alignAfterItem','2068815gPMztd','_spaceBetweenItems','getSidebarItemView','element','pluginName','_getItemBefore','959JkdPbs','_annotationToSidebarItemView','_alignBeforeItem','max','change:bottom','_sidebarItemViewToAnnotation','delete','class','content','stopListening','sidebar.preventScrollOutOfView','4MKAVcF','length','unbind','set','addAnnotation','refresh','add','list','change:_lastItem','bind','top','206HcwuTb','6465iSehfr','8656142rTTvpA','_detachFromContainer','_lastItem','height','_recalculateBuffer','define','last','config','isActive','sidebar-attachtocontainer-missing-container','updateHeight','view','_activeAnnotation','_alignForTopChange','bottom','sidebar.container','_getMaxAvailableTop','nodeType','change:targetRect','context','_alignForBottomChange','getIndex','container','destroy','render','change:top','10nVRYci','_attachToContainer','listenTo','20046VrWzXl','_setItemTop','appendChild','_createSidebarView','Sidebar'];_0x2849=function(){return _0x34528a;};return _0x2849();}(function(_0x16e319,_0x30fdaf){const _0x1f063d=_0x1d16,_0xc0b672=_0x16e319();while(!![]){try{const _0x573591=-parseInt(_0x1f063d(0xe0))/0x1*(-parseInt(_0x1f063d(0xdf))/0x2)+-parseInt(_0x1f063d(0x11d))/0x3+parseInt(_0x1f063d(0x12e))/0x4*(-parseInt(_0x1f063d(0x103))/0x5)+parseInt(_0x1f063d(0xfe))/0x6*(-parseInt(_0x1f063d(0x123))/0x7)+parseInt(_0x1f063d(0x117))/0x8+parseInt(_0x1f063d(0x111))/0x9*(-parseInt(_0x1f063d(0xfb))/0xa)+parseInt(_0x1f063d(0xe1))/0xb;if(_0x573591===_0x30fdaf)break;else _0xc0b672['push'](_0xc0b672['shift']());}catch(_0x1c03b4){_0xc0b672['push'](_0xc0b672['shift']());}}}(_0x2849,0x6118d));function _0x1d16(_0x49188d,_0x18704c){const _0x284984=_0x2849();return _0x1d16=function(_0x1d16f7,_0x6f83a2){_0x1d16f7=_0x1d16f7-0xd7;let _0x1b08be=_0x284984[_0x1d16f7];return _0x1b08be;},_0x1d16(_0x49188d,_0x18704c);}import{ContextPlugin as _0x11739c}from'ckeditor5/src/core.js';import{Rect as _0xe83335,CKEditorError as _0x4b9005}from'ckeditor5/src/utils.js';import _0x32731d from'./view/sidebarview.js';import _0x2853b5 from'./view/sidebaritemview.js';export default class D extends _0x11739c{static get[_0xdfa862(0x121)](){const _0x2213dd=_0xdfa862;return _0x2213dd(0x102);}constructor(_0x5e595a){const _0x13eaa5=_0xdfa862;super(_0x5e595a),this[_0x13eaa5(0xd7)](_0x13eaa5(0xe3),void 0x0),this[_0x13eaa5(0xec)]=this[_0x13eaa5(0x101)](),this[_0x13eaa5(0xd7)](_0x13eaa5(0xf7),null),this[_0x13eaa5(0x11e)]=0x19,this[_0x13eaa5(0x128)]=new Map(),this[_0x13eaa5(0x124)]=new Map(),this[_0x13eaa5(0xf4)][_0x13eaa5(0xe8)][_0x13eaa5(0xe6)](_0x13eaa5(0x12d),!0x1),this[_0x13eaa5(0x11b)]=null,this[_0x13eaa5(0xed)]=null,this[_0x13eaa5(0xe5)]=[];}[_0xdfa862(0x115)](){const _0x39950c=_0xdfa862,_0x393fbe=this[_0x39950c(0xf4)][_0x39950c(0xe8)][_0x39950c(0x104)](_0x39950c(0xf0));_0x393fbe&&this[_0x39950c(0x110)](_0x393fbe);}[_0xdfa862(0x110)](_0x126b5d){const _0x39abdd=_0xdfa862;if(!y(_0x126b5d))throw new _0x4b9005(_0x39abdd(0x10a));this[_0x39abdd(0xf7)]=_0x126b5d;}[_0xdfa862(0xfc)]({viewClass:_0x3d710d='',spaceBetweenItems:_0x4f9150=0x19}={}){const _0x46db79=_0xdfa862;if(!y(this[_0x46db79(0xf7)]))throw new _0x4b9005(_0x46db79(0xea),this);this[_0x46db79(0xf7)][_0x46db79(0x100)](this[_0x46db79(0xec)][_0x46db79(0x120)]),this[_0x46db79(0xec)][_0x46db79(0x12a)]=_0x3d710d,this[_0x46db79(0x11e)]=_0x4f9150;}[_0xdfa862(0x10e)]({removedAnnotation:_0x1ce635,previousAnnotation:_0x69259c,nextAnnotation:_0x1b7779}){const _0x4f4473=_0xdfa862,_0x30de91=this[_0x4f4473(0x11f)](_0x1ce635);this[_0x4f4473(0xec)][_0x4f4473(0xdb)][_0x4f4473(0x10c)](_0x30de91),this[_0x4f4473(0x107)](_0x1ce635),_0x69259c&&this[_0x4f4473(0x11a)](this[_0x4f4473(0x11f)](_0x69259c)),_0x1b7779&&this[_0x4f4473(0x11a)](this[_0x4f4473(0x11f)](_0x1b7779)),this[_0x4f4473(0x119)]();}[_0xdfa862(0xd9)]({blurredAnnotation:_0x3083d0,activatedAnnotation:_0x2ffb97,disableAnimationOnActivatedAnnotation:_0x484454}){const _0x2df86b=_0xdfa862;if(this[_0x2df86b(0xed)]=_0x2ffb97,_0x3083d0){_0x3083d0[_0x2df86b(0xe9)]=!0x1;const _0x1142d2=this[_0x2df86b(0x11f)](_0x3083d0);_0x1142d2&&_0x484454&&(_0x1142d2[_0x2df86b(0x109)]=!0x1);}if(_0x2ffb97){const _0x277a95=this[_0x2df86b(0x11f)](_0x2ffb97);_0x277a95&&(_0x2ffb97[_0x2df86b(0xe9)]=!0x0,_0x484454&&(_0x277a95[_0x2df86b(0x109)]=!0x0,_0x277a95[_0x2df86b(0xde)]+=0x1),this[_0x2df86b(0x11a)](_0x277a95));}}[_0xdfa862(0xe2)](_0x114704){const _0x30fc42=_0xdfa862;if(this[_0x30fc42(0xec)][_0x30fc42(0x120)][_0x30fc42(0x10c)](),_0x114704){for(const _0x57aaf1 of _0x114704)this[_0x30fc42(0x107)](_0x57aaf1);}this[_0x30fc42(0xec)][_0x30fc42(0xdb)][_0x30fc42(0x112)](),this[_0x30fc42(0xec)][_0x30fc42(0x12a)]='',this[_0x30fc42(0xe3)]=null;}[_0xdfa862(0xd8)](_0x32c633,_0x18b42c){const _0x5e44f0=_0xdfa862;_0x18b42c||(_0x18b42c=_0x32c633[_0x5e44f0(0xec)]);const _0x567e3c=new _0x2853b5(this[_0x5e44f0(0xf4)][_0x5e44f0(0x108)]);this[_0x5e44f0(0x128)][_0x5e44f0(0xd7)](_0x567e3c,_0x32c633),this[_0x5e44f0(0x124)][_0x5e44f0(0xd7)](_0x32c633,_0x567e3c),_0x567e3c[_0x5e44f0(0x12b)][_0x5e44f0(0xda)](_0x18b42c),this[_0x5e44f0(0xfd)](_0x32c633[_0x5e44f0(0xec)],_0x5e44f0(0xf3),(_0x57d7c4,_0xc44186,_0x2ad10e)=>{const _0x462cf1=_0x5e44f0,_0x43c8e7=this[_0x462cf1(0x113)](_0x32c633,_0x2ad10e);_0x567e3c[_0x462cf1(0x10b)]!=_0x43c8e7&&(_0x567e3c[_0x462cf1(0x10b)]=_0x43c8e7,this[_0x462cf1(0xff)](_0x567e3c,_0x43c8e7));}),this[_0x5e44f0(0xfd)](_0x567e3c,_0x5e44f0(0xfa),()=>{const _0x1c1883=_0x5e44f0;this[_0x1c1883(0x116)](_0x567e3c,_0x1c1883(0xde));}),this[_0x5e44f0(0xfd)](_0x567e3c,_0x5e44f0(0x127),()=>{const _0x326208=_0x5e44f0;this[_0x326208(0x116)](_0x567e3c,_0x326208(0xef));}),this[_0x5e44f0(0x11a)](_0x567e3c);const _0x3501c7=this[_0x5e44f0(0x122)](_0x567e3c);if(_0x3501c7)this[_0x5e44f0(0x11c)](_0x3501c7,_0x567e3c)||this[_0x5e44f0(0x11a)](_0x567e3c);else this[_0x5e44f0(0x11a)](_0x567e3c);return this[_0x5e44f0(0x119)](),this[_0x5e44f0(0xec)][_0x5e44f0(0xdb)][_0x5e44f0(0xda)](_0x567e3c),_0x567e3c;}[_0xdfa862(0xee)](_0x48a4c6){const _0x1ee6d1=_0xdfa862;if(!_0x48a4c6[_0x1ee6d1(0x12b)][_0x1ee6d1(0x12f)])return;const _0x521963=this[_0x1ee6d1(0x122)](_0x48a4c6);if(!_0x521963)return;const _0x1d87c0=this[_0x1ee6d1(0x128)][_0x1ee6d1(0x104)](_0x521963),_0x219644=this[_0x1ee6d1(0xed)];_0x219644&&_0x219644===_0x1d87c0?this[_0x1ee6d1(0x11c)](_0x521963,_0x48a4c6):this[_0x1ee6d1(0x125)](_0x48a4c6,_0x521963);}[_0xdfa862(0xf5)](_0x208afe){const _0x9f2d97=_0xdfa862;if(!_0x208afe[_0x9f2d97(0x12b)][_0x9f2d97(0x12f)])return;const _0x59dd2b=this[_0x9f2d97(0x114)](_0x208afe);if(!_0x59dd2b)return;const _0x2a2338=this[_0x9f2d97(0x128)][_0x9f2d97(0x104)](_0x59dd2b),_0x16f247=this[_0x9f2d97(0xf4)][_0x9f2d97(0xe8)][_0x9f2d97(0x104)](_0x9f2d97(0x12d)),_0x4ac6f9=this[_0x9f2d97(0xed)];_0x4ac6f9&&_0x4ac6f9===_0x2a2338&&_0x16f247?(this[_0x9f2d97(0x125)](_0x59dd2b,_0x208afe),this[_0x9f2d97(0x11c)](_0x208afe,_0x59dd2b)):_0x4ac6f9&&_0x4ac6f9===_0x2a2338?this[_0x9f2d97(0x125)](_0x59dd2b,_0x208afe):this[_0x9f2d97(0x11c)](_0x208afe,_0x59dd2b);}[_0xdfa862(0x116)](_0x4b96aa,_0x3fb6f1){const _0x3b7b79=_0xdfa862;0x0===this[_0x3b7b79(0xe5)][_0x3b7b79(0x12f)]&&setTimeout(()=>{const _0x48a890=_0x3b7b79;for(const {sidebarItemView:_0x2cfc7,changedProp:_0x4475fc}of this[_0x48a890(0xe5)])_0x48a890(0xde)===_0x4475fc?this[_0x48a890(0xee)](_0x2cfc7):this[_0x48a890(0xf5)](_0x2cfc7);this[_0x48a890(0xe5)]=[];},0xa),this[_0x3b7b79(0xe5)][_0x3b7b79(0x106)]({'sidebarItemView':_0x4b96aa,'changedProp':_0x3fb6f1});}[_0xdfa862(0x11f)](_0x30286e){const _0x58aa08=_0xdfa862;return this[_0x58aa08(0x124)][_0x58aa08(0x104)](_0x30286e);}[_0xdfa862(0xf8)](){const _0x2cb70d=_0xdfa862;this[_0x2cb70d(0x12c)](),this[_0x2cb70d(0xec)][_0x2cb70d(0xf8)]();}[_0xdfa862(0x107)](_0x1fd25c){const _0x95a44b=_0xdfa862,_0x2cdc46=this[_0x95a44b(0x11f)](_0x1fd25c);this[_0x95a44b(0x12c)](_0x2cdc46),this[_0x95a44b(0x12c)](_0x1fd25c[_0x95a44b(0xec)]),_0x2cdc46[_0x95a44b(0xf8)](),this[_0x95a44b(0x124)][_0x95a44b(0x129)](_0x1fd25c),this[_0x95a44b(0x128)][_0x95a44b(0x129)](_0x2cdc46);}[_0xdfa862(0x101)](){const _0x1f176d=_0xdfa862,_0x1c7542=new _0x32731d(this[_0x1f176d(0xf4)][_0x1f176d(0x108)]);return _0x1c7542[_0x1f176d(0xf9)](),this['on'](_0x1f176d(0xdc),(_0x2a72c5,_0x4f3c84,_0x531a7a,_0x24f66b)=>{const _0x461f7e=_0x1f176d;_0x24f66b&&_0x1c7542[_0x461f7e(0x130)](_0x461f7e(0x105)),_0x531a7a?_0x1c7542[_0x461f7e(0xdd)](_0x461f7e(0x105))['to'](_0x531a7a,_0x461f7e(0xef)):_0x1c7542[_0x461f7e(0x105)]=null;}),_0x1c7542;}[_0xdfa862(0x119)](){const _0x370389=_0xdfa862;var _0x282f26;this[_0x370389(0xe3)]=(null===(_0x282f26=this[_0x370389(0x11b)])||void 0x0===_0x282f26?void 0x0:_0x282f26[_0x370389(0xe7)])?this[_0x370389(0x11f)](this[_0x370389(0x11b)][_0x370389(0xe7)]):null;}[_0xdfa862(0x122)](_0x14f0c0){const _0x290bbd=_0xdfa862;var _0x4500ff;const _0x1839b9=this[_0x290bbd(0x128)][_0x290bbd(0x104)](_0x14f0c0),_0x177b42=_0x1839b9&&(null===(_0x4500ff=this[_0x290bbd(0x11b)])||void 0x0===_0x4500ff?void 0x0:_0x4500ff[_0x290bbd(0x104)](this[_0x290bbd(0x11b)][_0x290bbd(0xf6)](_0x1839b9)-0x1));return _0x177b42&&this[_0x290bbd(0x11f)](_0x177b42)||null;}[_0xdfa862(0x114)](_0x255d62){const _0x565534=_0xdfa862;var _0x5015f2;const _0x36f97b=this[_0x565534(0x128)][_0x565534(0x104)](_0x255d62),_0x54b756=_0x36f97b&&(null===(_0x5015f2=this[_0x565534(0x11b)])||void 0x0===_0x5015f2?void 0x0:_0x5015f2[_0x565534(0x104)](this[_0x565534(0x11b)][_0x565534(0xf6)](_0x36f97b)+0x1));return _0x54b756&&this[_0x565534(0x11f)](_0x54b756)||null;}[_0xdfa862(0x125)](_0x5d0067,_0x31ff8e){const _0x544a8a=_0xdfa862;_0x5d0067[_0x544a8a(0xeb)]();const _0x189721=R(_0x31ff8e[_0x544a8a(0xef)]+this[_0x544a8a(0x11e)],_0x5d0067[_0x544a8a(0xde)]);return!!_0x189721&&(this[_0x544a8a(0xff)](_0x31ff8e,_0x31ff8e[_0x544a8a(0xde)]-_0x189721),!0x0);}[_0xdfa862(0x11c)](_0x3665e1,_0x5d227d){const _0x34a0b4=_0xdfa862;_0x3665e1[_0x34a0b4(0xeb)]();const _0x2ef53b=R(_0x3665e1[_0x34a0b4(0xef)]+this[_0x34a0b4(0x11e)],_0x5d227d[_0x34a0b4(0xde)]);return!!_0x2ef53b&&(this[_0x34a0b4(0xff)](_0x5d227d,_0x5d227d[_0x34a0b4(0xde)]+_0x2ef53b,!0x1),!0x0);}[_0xdfa862(0x11a)](_0x5b93f9){const _0x45c85a=_0xdfa862,_0x4aa6df=this[_0x45c85a(0x128)][_0x45c85a(0x104)](_0x5b93f9);if(!_0x4aa6df||!_0x4aa6df[_0x45c85a(0x10d)]||!_0x4aa6df[_0x45c85a(0x118)])return;const _0x577ff9=this[_0x45c85a(0x113)](_0x4aa6df,_0x4aa6df[_0x45c85a(0x118)]);this[_0x45c85a(0xff)](_0x5b93f9,_0x577ff9);}[_0xdfa862(0x113)](_0x46af1a,_0x2610a2){const _0x1b424a=_0xdfa862;if(null===_0x2610a2)return 0x0;if(_0x46af1a[_0x1b424a(0x10d)]instanceof _0xe83335)return _0x2610a2[_0x1b424a(0xde)];{const _0x2d45e1=new _0xe83335(this[_0x1b424a(0xec)][_0x1b424a(0x120)])[_0x1b424a(0xde)];return _0x2610a2[_0x1b424a(0xde)]-_0x2d45e1;}}[_0xdfa862(0xff)](_0x5c0d53,_0x2949ce,_0x5be161=this[_0xdfa862(0xf4)][_0xdfa862(0xe8)][_0xdfa862(0x104)](_0xdfa862(0x12d))){const _0x577e96=_0xdfa862;_0x5be161&&(_0x2949ce=Math[_0x577e96(0x126)](_0x2949ce,this[_0x577e96(0xf1)](_0x5c0d53))),_0x5c0d53[_0x577e96(0xde)]=_0x2949ce;}[_0xdfa862(0xf1)](_0x35ec8f){const _0x30abda=_0xdfa862;let _0x35b96b=this[_0x30abda(0x122)](_0x35ec8f),_0x229074=0x0;for(;_0x35b96b;)_0x35b96b[_0x30abda(0xeb)](),_0x229074+=this[_0x30abda(0x11e)]+_0x35b96b[_0x30abda(0xe4)],_0x35b96b=this[_0x30abda(0x122)](_0x35b96b);return _0x229074;}}function R(_0x5f1e8a,_0x3b3512){const _0x26fdab=_0xdfa862;return Math[_0x26fdab(0x126)](_0x5f1e8a-_0x3b3512,0x0);}function y(_0x21a45b){const _0x2acd25=_0xdfa862;return null!==_0x21a45b&&_0x2acd25(0x10f)==typeof _0x21a45b&&0x1===_0x21a45b[_0x2acd25(0xf2)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x10c098,_0x269037){const _0x4507d2=_0x546c,_0x3f4fb2=_0x10c098();while(!![]){try{const _0x87e36e=-parseInt(_0x4507d2(0xb9))/0x1+parseInt(_0x4507d2(0xc7))/0x2+parseInt(_0x4507d2(0xb7))/0x3*(-parseInt(_0x4507d2(0xbe))/0x4)+parseInt(_0x4507d2(0xb5))/0x5*(-parseInt(_0x4507d2(0xab))/0x6)+parseInt(_0x4507d2(0xb8))/0x7*(parseInt(_0x4507d2(0xb0))/0x8)+parseInt(_0x4507d2(0xc2))/0x9+parseInt(_0x4507d2(0xc4))/0xa*(parseInt(_0x4507d2(0xc0))/0xb);if(_0x87e36e===_0x269037)break;else _0x3f4fb2['push'](_0x3f4fb2['shift']());}catch(_0xb11a08){_0x3f4fb2['push'](_0x3f4fb2['shift']());}}}(_0x1732,0xcd55e));import{ButtonView as _0x9b3441,View as _0x25a1a8}from'ckeditor5/src/ui.js';import _0x893618 from'../../../theme/icons/add-comment.svg';function _0x546c(_0x536ee9,_0x325a95){const _0x173276=_0x1732();return _0x546c=function(_0x546cb9,_0x3dd30e){_0x546cb9=_0x546cb9-0xa9;let _0x587b35=_0x173276[_0x546cb9];return _0x587b35;},_0x546c(_0x536ee9,_0x325a95);}export default class L extends _0x9b3441{constructor(_0x25191c){const _0x29bba0=_0x546c;super(_0x25191c);const _0x10a751=this[_0x29bba0(0xc6)];this[_0x29bba0(0xb4)](_0x29bba0(0xc3),!0x1),this[_0x29bba0(0xb4)](_0x29bba0(0xc5),0x0),this[_0x29bba0(0xad)](_0x29bba0(0xb2))['to'](this,_0x29bba0(0xc3),this,_0x29bba0(0xc5),(_0x3246c1,_0x44d5d0)=>_0x3246c1?_0x29bba0(0xae):_0x44d5d0[_0x29bba0(0xaf)]()),this[_0x29bba0(0xb4)](_0x29bba0(0xba),''),this[_0x29bba0(0xbd)]=_0x893618,this[_0x29bba0(0xb3)]({'attributes':{'class':[_0x29bba0(0xbf)]}}),this[_0x29bba0(0xbc)]=new _0x25a1a8(),this[_0x29bba0(0xbc)][_0x29bba0(0xbb)]({'tag':_0x29bba0(0xb1),'attributes':{'class':[_0x29bba0(0xc1),_0x10a751['to'](_0x29bba0(0xba),_0x12e482=>_0x29bba0(0xa9)+_0x12e482),_0x10a751['if'](_0x29bba0(0xc3),_0x29bba0(0xac))]},'children':[{'text':_0x10a751['to'](_0x29bba0(0xb2))}]}),this[_0x29bba0(0xb6)][_0x29bba0(0xaa)](this[_0x29bba0(0xbc)]);}}function _0x1732(){const _0x39b7d9=['extendTemplate','set','80XlXwuA','children','88899VShWjY','168TsBxSB','486221jYZYov','annotationType','setTemplate','counterView','icon','164iMKpkY','ck-annotation-counter','198zjoSnY','ck-annotation-counter__badge','8081982evHERg','isDirty','372510jeMtov','number','bindTemplate','2098848RMQUso','ck-annotation-counter__badge--','add','404610AfGjPY','ck-annotation-counter__badge--edit-mode','bind','...','toString','334416aNzRLL','span','_badge'];_0x1732=function(){return _0x39b7d9;};return _0x1732();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2c70c1=_0x2d6f;(function(_0x330af8,_0x36c8e0){const _0x4c3cce=_0x2d6f,_0x25c8ed=_0x330af8();while(!![]){try{const _0x36b8a4=parseInt(_0x4c3cce(0x209))/0x1*(-parseInt(_0x4c3cce(0x207))/0x2)+parseInt(_0x4c3cce(0x210))/0x3*(-parseInt(_0x4c3cce(0x1fb))/0x4)+parseInt(_0x4c3cce(0x1f4))/0x5+-parseInt(_0x4c3cce(0x208))/0x6+parseInt(_0x4c3cce(0x1f7))/0x7*(-parseInt(_0x4c3cce(0x220))/0x8)+parseInt(_0x4c3cce(0x1fe))/0x9*(-parseInt(_0x4c3cce(0x219))/0xa)+parseInt(_0x4c3cce(0x1fa))/0xb;if(_0x36b8a4===_0x36c8e0)break;else _0x25c8ed['push'](_0x25c8ed['shift']());}catch(_0x578130){_0x25c8ed['push'](_0x25c8ed['shift']());}}}(_0x1605,0x8a98c));import{View as _0x1e1aea}from'ckeditor5/src/ui.js';import{FocusTracker as _0x42bc7b,KeystrokeHandler as _0x4605c0,uid as _0x17adbd}from'ckeditor5/src/utils.js';import _0xd52937 from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';function _0x2d6f(_0x407d94,_0x1191f9){const _0x160596=_0x1605();return _0x2d6f=function(_0x2d6fba,_0x41f304){_0x2d6fba=_0x2d6fba-0x1f2;let _0x3519c1=_0x160596[_0x2d6fba];return _0x3519c1;},_0x2d6f(_0x407d94,_0x1191f9);}function _0x1605(){const _0x47dc4c=['set','destroy','_updateHeight','content','32enIQat','element','detach','fire','1951795VLzORA','focusTracker','delegate','884086OHiAvN','bindTemplate','keystrokes','31210850nImkjI','4MjZcji','createCollection','arrowdown','260595xFrYiy','render','length','targetRect','_mutationObserver','add','isActive','arrowup','first','622716TUFcpc','3776076FHGbXI','1SrUnNR','attach','clientHeight','ck-rounded-corners','isDirty','ck-annotation-wrapper--active','type','1731333EjkLQZ','height','focus','presentation','setTemplate','Esc','mainView','clear','listenTo','220kEKCLs','div','ck-annotation-wrapper'];_0x1605=function(){return _0x47dc4c;};return _0x1605();}export default class T extends _0x1e1aea{constructor(_0x577c1b,_0x1e21ab){const _0xd89415=_0x2d6f;super(_0x577c1b),this['id']=_0x17adbd(),this[_0xd89415(0x1f5)]=new _0x42bc7b(),this[_0xd89415(0x1f9)]=new _0x4605c0(),this[_0xd89415(0x1f9)][_0xd89415(0x21c)](_0xd89415(0x215),(_0x519bd6,_0x588229)=>this[_0xd89415(0x1f3)](_0xd89415(0x215),_0x588229)),this[_0xd89415(0x21c)](_0xd89415(0x201),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0xd89415(0x21c)](_0xd89415(0x211),0x0),this[_0xd89415(0x21c)](_0xd89415(0x204),!0x1),this[_0xd89415(0x21c)](_0xd89415(0x20d),!0x1),this[_0xd89415(0x21c)](_0xd89415(0x200),0x0),this[_0xd89415(0x21c)](_0xd89415(0x20f),''),this[_0xd89415(0x202)]=_0xd52937(()=>this[_0xd89415(0x21e)]()),this[_0xd89415(0x21f)]=this[_0xd89415(0x1fc)](),this[_0xd89415(0x21f)][_0xd89415(0x1f6)](_0xd89415(0x205),_0xd89415(0x1fd))['to'](this),this[_0xd89415(0x21f)][_0xd89415(0x203)](_0x1e21ab),this[_0xd89415(0x216)]=_0x1e21ab;const _0x8c5fa0=this[_0xd89415(0x1f8)];this[_0xd89415(0x214)]({'tag':_0xd89415(0x21a),'attributes':{'class':['ck',_0xd89415(0x21b),_0xd89415(0x20c),_0x8c5fa0['if'](_0xd89415(0x204),_0xd89415(0x20e))],'role':_0xd89415(0x213)},'children':this[_0xd89415(0x21f)]});}[_0x2c70c1(0x1ff)](){const _0x386815=_0x2c70c1;super[_0x386815(0x1ff)](),this[_0x386815(0x1f5)][_0x386815(0x203)](this[_0x386815(0x221)]),this[_0x386815(0x1f9)][_0x386815(0x218)](this[_0x386815(0x221)]),this[_0x386815(0x202)][_0x386815(0x20a)](this[_0x386815(0x221)]);}[_0x2c70c1(0x21d)](){const _0x2f3c7e=_0x2c70c1;this[_0x2f3c7e(0x21f)][_0x2f3c7e(0x217)](),this[_0x2f3c7e(0x1f9)][_0x2f3c7e(0x21d)](),this[_0x2f3c7e(0x1f5)][_0x2f3c7e(0x21d)](),this[_0x2f3c7e(0x202)][_0x2f3c7e(0x1f2)](),super[_0x2f3c7e(0x21d)]();}[_0x2c70c1(0x212)](){const _0x530229=_0x2c70c1;this[_0x530229(0x21f)][_0x530229(0x206)]&&this[_0x530229(0x21f)][_0x530229(0x206)][_0x530229(0x212)]();}[_0x2c70c1(0x21e)](){const _0x6a7dc=_0x2c70c1,_0x5cef65=this[_0x6a7dc(0x221)][_0x6a7dc(0x20b)];_0x5cef65&&(this[_0x6a7dc(0x211)]=_0x5cef65);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x185445=_0x3d11;function _0x5f3e(){const _0x4d47c5=['focus','220VyULEn','height','clientHeight','clear','bind','2158100MMxBeL','9XNHQeR','setTemplate','bottom','arrowdown','createCollection','isAnimationDisabled','ck-sidebar-item','presentation','delegate','_mutationObserver','first','content','top','_targetTop','1574618YWvzhn','arrowup','877121DiiRfc','div','destroy','render','11944088DjRpkH','655518bckNtV','ck-sidebar-item--no-animation','attach','updateHeight','12xpTRqy','51014756cSExBf','9BpFnnD','detach','element','147565gtXlZP','bindTemplate','set','6UTgbnm','5Xjlltv'];_0x5f3e=function(){return _0x4d47c5;};return _0x5f3e();}(function(_0x4ea304,_0x11b1be){const _0xf219c3=_0x3d11,_0x399d17=_0x4ea304();while(!![]){try{const _0x23cbde=-parseInt(_0xf219c3(0x124))/0x1+-parseInt(_0xf219c3(0x12b))/0x2*(parseInt(_0xf219c3(0x107))/0x3)+parseInt(_0xf219c3(0x115))/0x4*(parseInt(_0xf219c3(0x10e))/0x5)+-parseInt(_0xf219c3(0x10d))/0x6*(-parseInt(_0xf219c3(0x126))/0x7)+-parseInt(_0xf219c3(0x12a))/0x8*(parseInt(_0xf219c3(0x116))/0x9)+-parseInt(_0xf219c3(0x110))/0xa*(-parseInt(_0xf219c3(0x10a))/0xb)+-parseInt(_0xf219c3(0x105))/0xc*(-parseInt(_0xf219c3(0x106))/0xd);if(_0x23cbde===_0x11b1be)break;else _0x399d17['push'](_0x399d17['shift']());}catch(_0xc828b4){_0x399d17['push'](_0x399d17['shift']());}}}(_0x5f3e,0xcb6f0));import{View as _0x328115}from'ckeditor5/src/ui.js';function _0x3d11(_0x526549,_0xd8e45){const _0x5f3e62=_0x5f3e();return _0x3d11=function(_0x3d11b0,_0x577131){_0x3d11b0=_0x3d11b0-0x103;let _0xcfeb30=_0x5f3e62[_0x3d11b0];return _0xcfeb30;},_0x3d11(_0x526549,_0xd8e45);}import{toUnit as _0x3c1c26}from'ckeditor5/src/utils.js';import _0x2c5dfd from'../../utils/createmutationobserver.js';const qt=_0x3c1c26('px');export default class H extends _0x328115{constructor(_0x3211d1){const _0x2ed351=_0x3d11;super(_0x3211d1),this[_0x2ed351(0x10c)](_0x2ed351(0x122),0x0),this[_0x2ed351(0x10c)](_0x2ed351(0x111),0x0),this[_0x2ed351(0x114)](_0x2ed351(0x118))['to'](this,_0x2ed351(0x122),this,_0x2ed351(0x111),(_0x4ad7be,_0x570dab)=>_0x4ad7be+_0x570dab),this[_0x2ed351(0x10c)](_0x2ed351(0x11b),!0x1),this[_0x2ed351(0x11f)]=_0x2c5dfd(()=>this[_0x2ed351(0x104)]()),this[_0x2ed351(0x123)]=null,this[_0x2ed351(0x121)]=this[_0x2ed351(0x11a)](),this[_0x2ed351(0x121)][_0x2ed351(0x11e)](_0x2ed351(0x125),_0x2ed351(0x119))['to'](this);const _0x3e57f8=this[_0x2ed351(0x10b)];this[_0x2ed351(0x117)]({'tag':_0x2ed351(0x127),'attributes':{'class':[_0x2ed351(0x11c),_0x3e57f8['to'](_0x2ed351(0x11b),_0x403399=>_0x403399?_0x2ed351(0x12c):'')],'style':{'top':_0x3e57f8['to'](_0x2ed351(0x122),_0xa0fa10=>qt(_0xa0fa10))},'role':_0x2ed351(0x11d)},'children':this[_0x2ed351(0x121)]});}[_0x185445(0x129)](){const _0x4e0161=_0x185445;super[_0x4e0161(0x129)](),this[_0x4e0161(0x11f)][_0x4e0161(0x103)](this[_0x4e0161(0x109)]);}[_0x185445(0x10f)](){const _0x2ed7cc=_0x185445;this[_0x2ed7cc(0x121)][_0x2ed7cc(0x120)]&&this[_0x2ed7cc(0x121)][_0x2ed7cc(0x120)][_0x2ed7cc(0x10f)]();}[_0x185445(0x104)](){const _0x2ff3cf=_0x185445,_0x1782d8=this[_0x2ff3cf(0x109)][_0x2ff3cf(0x112)];_0x1782d8&&(this[_0x2ff3cf(0x111)]=_0x1782d8);}[_0x185445(0x128)](){const _0x3d1667=_0x185445;this[_0x3d1667(0x121)][_0x3d1667(0x113)](),this[_0x3d1667(0x11f)][_0x3d1667(0x108)](),super[_0x3d1667(0x128)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x30b896=_0x4d62;(function(_0x1e410e,_0x192a7d){const _0x541ee0=_0x4d62,_0x209c58=_0x1e410e();while(!![]){try{const _0x256334=-parseInt(_0x541ee0(0x1a9))/0x1+-parseInt(_0x541ee0(0x192))/0x2*(parseInt(_0x541ee0(0x18e))/0x3)+parseInt(_0x541ee0(0x19e))/0x4*(-parseInt(_0x541ee0(0x1b0))/0x5)+parseInt(_0x541ee0(0x1a4))/0x6*(-parseInt(_0x541ee0(0x1aa))/0x7)+parseInt(_0x541ee0(0x196))/0x8*(-parseInt(_0x541ee0(0x1ac))/0x9)+parseInt(_0x541ee0(0x18f))/0xa+-parseInt(_0x541ee0(0x19d))/0xb*(-parseInt(_0x541ee0(0x1b2))/0xc);if(_0x256334===_0x192a7d)break;else _0x209c58['push'](_0x209c58['shift']());}catch(_0x5a4595){_0x209c58['push'](_0x209c58['shift']());}}}(_0xa662,0xab803));import{View as _0x153222,FocusCycler as _0xdbc3fb}from'ckeditor5/src/ui.js';import{FocusTracker as _0x943f7,toUnit as _0x5af68a}from'ckeditor5/src/utils.js';import{getTranslation as _0x4202de}from'../../utils/common-translations.js';function _0x4d62(_0x521e96,_0x103772){const _0xa66230=_0xa662();return _0x4d62=function(_0x4d6275,_0x114aad){_0x4d6275=_0x4d6275-0x183;let _0x133245=_0xa66230[_0x4d6275];return _0x133245;},_0x4d62(_0x521e96,_0x103772);}function _0xa662(){const _0x51cb65=['listenTo','div','createCollection','delegate','22LbJucZ','5140276bCIizN','focusFirst','uiLanguageDirection','focusPrevious','add','getIndex','488094kqUBUH','class','change:top','arrowdown','change','298567UTVZrH','42QyGKgE','focusables','9nztlDo','number','setTemplate','source','5MArSUB','bindTemplate','15763620lGLGbY','ck-sidebar','arrowup','focusTracker','minHeight','added','ck-reset','remove','list','application','element','Annotations\x20sidebar','top','_setupKeyboardNavigation','focusCycler','Annotations\x20list','removed','6zkqkoN','8999200PzzZuF','_updateItemPositionInFocusables','focusNext','277000ztIMEc','render','forEach','length','3807944gpNypz','focus','set'];_0xa662=function(){return _0x51cb65;};return _0xa662();}import'../../../theme/sidebar.css';const qt=_0x5af68a('px');export default class V extends _0x153222{constructor(_0x358fe0){const _0x592603=_0x4d62;super(_0x358fe0);const _0x4419e9=this[_0x592603(0x1b1)];this[_0x592603(0x198)](_0x592603(0x1b6),0x0),this[_0x592603(0x198)](_0x592603(0x1a5),''),this[_0x592603(0x185)]=this[_0x592603(0x19b)](),this[_0x592603(0x1ab)]=this[_0x592603(0x19b)](),this[_0x592603(0x185)][_0x592603(0x19c)](_0x592603(0x1b4),_0x592603(0x1a7))['to'](this),this[_0x592603(0x1b5)]=new _0x943f7(),this[_0x592603(0x18b)]=new _0xdbc3fb({'focusables':this[_0x592603(0x1ab)],'focusTracker':this[_0x592603(0x1b5)]}),this[_0x592603(0x1ae)]({'tag':_0x592603(0x19a),'attributes':{'class':['ck',_0x592603(0x1b3),_0x592603(0x183),_0x4419e9['to'](_0x592603(0x1a5))],'style':{'minHeight':_0x4419e9['to'](_0x592603(0x1b6),_0x346793=>_0x592603(0x1ad)==typeof _0x346793?qt(_0x346793+0xa):null)},'dir':_0x358fe0[_0x592603(0x1a0)],'role':_0x592603(0x186),'aria-label':_0x4202de(_0x358fe0,_0x592603(0x188)),'tabindex':0x0},'children':[{'tag':_0x592603(0x19a),'attributes':{'role':_0x592603(0x185),'aria-label':_0x4202de(_0x358fe0,_0x592603(0x18c))},'children':this[_0x592603(0x185)]}]});}[_0x30b896(0x193)](){const _0x281ab6=_0x30b896;super[_0x281ab6(0x193)](),this[_0x281ab6(0x18a)]();}[_0x30b896(0x197)](){const _0x554bea=_0x30b896;this[_0x554bea(0x18b)][_0x554bea(0x19f)]();}[_0x30b896(0x18a)](){const _0x365928=_0x30b896;this[_0x365928(0x185)][_0x365928(0x19c)](_0x365928(0x1a6))['to'](this),this['on'](_0x365928(0x1a6),_0x23d7df=>{const _0xed2e94=_0x365928;this[_0xed2e94(0x190)](_0x23d7df[_0xed2e94(0x1af)]);}),this[_0x365928(0x185)][_0x365928(0x194)](_0x5a6ec0=>{const _0x44d6fb=_0x365928;this[_0x44d6fb(0x1b5)][_0x44d6fb(0x1a2)](_0x5a6ec0[_0x44d6fb(0x187)]),this[_0x44d6fb(0x190)](_0x5a6ec0);}),this[_0x365928(0x185)]['on'](_0x365928(0x1a8),(_0x570dfc,_0x59e121)=>{const _0x4ef68f=_0x365928;for(const _0x45ce59 of _0x59e121[_0x4ef68f(0x18d)])this[_0x4ef68f(0x1b5)][_0x4ef68f(0x184)](_0x45ce59[_0x4ef68f(0x187)]),this[_0x4ef68f(0x1ab)][_0x4ef68f(0x184)](_0x45ce59);for(const _0x20d9d7 of _0x59e121[_0x4ef68f(0x1b7)])this[_0x4ef68f(0x1b5)][_0x4ef68f(0x1a2)](_0x20d9d7[_0x4ef68f(0x187)]),this[_0x4ef68f(0x190)](_0x20d9d7);}),this['on'](_0x365928(0x1b4),()=>{const _0x2ddd28=_0x365928;this[_0x2ddd28(0x18b)][_0x2ddd28(0x1a1)]();}),this['on'](_0x365928(0x1a7),()=>{const _0x59c6b9=_0x365928;this[_0x59c6b9(0x18b)][_0x59c6b9(0x191)]();}),this[_0x365928(0x199)](this[_0x365928(0x187)],_0x365928(0x197),()=>{const _0x3caf62=_0x365928;this[_0x3caf62(0x197)]();});}[_0x30b896(0x190)](_0x33f58e){const _0x520e1c=_0x30b896,_0x28a3b9=this[_0x520e1c(0x1ab)][_0x520e1c(0x1a3)](_0x33f58e);let _0x28a752,_0x5a0626;for(const _0x21b8e6 of this[_0x520e1c(0x1ab)])if(_0x33f58e[_0x520e1c(0x189)]<_0x21b8e6[_0x520e1c(0x189)]){_0x28a752=_0x21b8e6;break;}if(_0x5a0626=_0x28a752?this[_0x520e1c(0x1ab)][_0x520e1c(0x1a3)](_0x28a752):this[_0x520e1c(0x1ab)][_0x520e1c(0x195)],-0x1!==_0x28a3b9){if(_0x28a3b9===_0x5a0626-0x1)return;this[_0x520e1c(0x1ab)][_0x520e1c(0x184)](_0x33f58e),_0x5a0626=_0x28a752?this[_0x520e1c(0x1ab)][_0x520e1c(0x1a3)](_0x28a752):this[_0x520e1c(0x1ab)][_0x520e1c(0x195)];}this[_0x520e1c(0x1ab)][_0x520e1c(0x1a2)](_0x33f58e,_0x5a0626);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x483e(){const _0x11c5ad=['off','requires','remove','destroy','refresh','listenTo','1430051CQFoIB','ready','resize','has','pluginName','from','_detachFromContainer','switchTo','removeEventListener','editors','stopListening','rearrange','updateTargetRect','container','refreshPositioning','stop','_refreshPositioningDebounced','setActiveAnnotation','addAnnotation','823238kNTjMu','_annotations','attach','change:container','_destroyEditorAnnotationsIntegration','_integrateWithEditorAnnotations','getOrderedSelectedAnnotations','annotations','EditorAnnotations','wideSidebar','add','activeAnnotation','179325DAUVaG','6sDmaco','WideSidebar','blur','_activeAnnotation','register','uiUpdate','init','set','97593EDwwHy','widesidebar-attach-already-attached','36eaXjsg','54820xOgmGY','968085QuQFFw','_attachToContainer','widesidebar-detach-not-attached','1770352qbghoc','isAttached','focus','506VmbSBe','context','_editorAnnotations','hasDomSelection','1qHaJoN','high','ck-sidebar--wide','cancel','set:container','get','detach','plugins','addEventListener'];_0x483e=function(){return _0x11c5ad;};return _0x483e();}const _0x50e5b1=_0x21cf;(function(_0x1da1e4,_0xb02d26){const _0x130e82=_0x21cf,_0x5967e6=_0x1da1e4();while(!![]){try{const _0x17ba23=-parseInt(_0x130e82(0xc8))/0x1*(-parseInt(_0x130e82(0xea))/0x2)+-parseInt(_0x130e82(0xff))/0x3*(-parseInt(_0x130e82(0x101))/0x4)+parseInt(_0x130e82(0x103))/0x5*(parseInt(_0x130e82(0xf7))/0x6)+-parseInt(_0x130e82(0xd7))/0x7+-parseInt(_0x130e82(0x106))/0x8+parseInt(_0x130e82(0xf6))/0x9+parseInt(_0x130e82(0x102))/0xa*(-parseInt(_0x130e82(0x109))/0xb);if(_0x17ba23===_0xb02d26)break;else _0x5967e6['push'](_0x5967e6['shift']());}catch(_0x2f7931){_0x5967e6['push'](_0x5967e6['shift']());}}}(_0x483e,0x3aa35));import{ContextPlugin as _0x1f7b58,Context as _0x4d1b66}from'ckeditor5/src/core.js';function _0x21cf(_0x31fc49,_0x56cbe1){const _0x483ea3=_0x483e();return _0x21cf=function(_0x21cf61,_0x39765d){_0x21cf61=_0x21cf61-0xc6;let _0x155414=_0x483ea3[_0x21cf61];return _0x155414;},_0x21cf(_0x31fc49,_0x56cbe1);}import _0x4fb421 from'./annotationsuis.js';import _0x492038 from'./sidebar.js';import{CKEditorError as _0x56206c,Collection as _0x5517e1}from'ckeditor5/src/utils.js';import{debounce as _0xf6b2fb}from'lodash-es';export default class n extends _0x1f7b58{static get[_0x50e5b1(0xd2)](){return[_0x492038,_0x4fb421];}static get[_0x50e5b1(0xdb)](){const _0x561f71=_0x50e5b1;return _0x561f71(0xf8);}constructor(_0x359300){const _0x199a4e=_0x50e5b1;super(_0x359300),this[_0x199a4e(0x107)]=!0x1,this[_0x199a4e(0xfe)](_0x199a4e(0xf5),null),this[_0x199a4e(0xf1)]=null,this[_0x199a4e(0xc6)]=new _0x5517e1(),this[_0x199a4e(0xe7)]=_0xf6b2fb(()=>{const _0x4a6479=_0x199a4e;this[_0x4a6479(0xf1)][_0x4a6479(0xe5)]();},0xfa,{'leading':!0x1});}[_0x50e5b1(0xfd)](){const _0x1b8f63=_0x50e5b1,_0x5c9841=this[_0x1b8f63(0x10a)][_0x1b8f63(0xcf)][_0x1b8f63(0xcd)](_0x4fb421),_0x413171=this[_0x1b8f63(0x10a)][_0x1b8f63(0xcf)][_0x1b8f63(0xcd)](_0x492038);_0x5c9841[_0x1b8f63(0xfb)](_0x1b8f63(0xf3),this),_0x413171[_0x1b8f63(0xe4)]&&_0x5c9841[_0x1b8f63(0xde)](_0x1b8f63(0xf3));}[_0x50e5b1(0xe8)](_0x1fedb0){const _0x21a298=_0x50e5b1;if(_0x1fedb0===this[_0x21a298(0xf5)])return;const _0x253f02=this[_0x21a298(0x10a)][_0x21a298(0xcf)][_0x21a298(0xcd)](_0x492038);_0x253f02[_0x21a298(0xfa)]=_0x1fedb0;const _0x484925=this[_0x21a298(0xf5)];this[_0x21a298(0xf5)]=_0x1fedb0,_0x253f02[_0x21a298(0xd5)]({'blurredAnnotation':_0x484925,'activatedAnnotation':this[_0x21a298(0xf5)]});}[_0x50e5b1(0xec)](_0x4bf909){const _0x420e50=_0x50e5b1;this[_0x420e50(0xf1)]=_0x4bf909;const _0x3d4546=this[_0x420e50(0x10a)][_0x420e50(0xcf)][_0x420e50(0xcd)](_0x492038);if(_0x3d4546[_0x420e50(0xeb)]=_0x4bf909,this[_0x420e50(0x107)])throw new _0x56206c(_0x420e50(0x100),this);this[_0x420e50(0x107)]=!0x0,this[_0x420e50(0xd6)](_0x3d4546,_0x420e50(0xcc),()=>{const _0x158208=_0x420e50;this[_0x158208(0xce)](),this[_0x158208(0xd6)](_0x3d4546,_0x158208(0xed),_0x5945b4=>{const _0x2b11b0=_0x158208;_0x5945b4[_0x2b11b0(0xd1)](),this[_0x2b11b0(0xec)](_0x4bf909);});}),_0x3d4546[_0x420e50(0x104)]({'viewClass':_0x420e50(0xca)});const _0x3e0e55=_0xfdbffd=>{const _0x412d53=_0x420e50;_0xfdbffd[_0x412d53(0xe3)](),_0x3d4546[_0x412d53(0xe9)](_0xfdbffd);};for(const _0xf50508 of _0x4bf909)_0x3e0e55(_0xf50508);this[_0x420e50(0xd6)](_0x4bf909,_0x420e50(0xf4),(_0x45cf32,_0x4a48ae)=>{_0x3e0e55(_0x4a48ae);}),this[_0x420e50(0xd6)](_0x4bf909,_0x420e50(0xd3),(_0x3bff0b,_0x1d809c,_0x59f352)=>{const _0x1237a9=_0x420e50;_0x3d4546[_0x1237a9(0xe2)]({'removedAnnotation':_0x1d809c,'previousAnnotation':_0x4bf909[_0x1237a9(0xcd)](_0x59f352-0x1),'nextAnnotation':_0x4bf909[_0x1237a9(0xcd)](_0x59f352+0x1)}),_0x1d809c===this[_0x1237a9(0xf5)]&&this[_0x1237a9(0xe8)](null);},{'priority':_0x420e50(0xc9)}),this[_0x420e50(0xd6)](_0x4bf909,_0x420e50(0x108),(_0x591434,_0x5f0055)=>{const _0xa1f711=_0x420e50;this[_0xa1f711(0xe8)](_0x5f0055);}),this[_0x420e50(0xd6)](_0x4bf909,_0x420e50(0xf9),()=>{const _0x5e8319=_0x420e50;this[_0x5e8319(0xe8)](null);});const _0x19c0b8=this[_0x420e50(0x10a)]instanceof _0x4d1b66?this[_0x420e50(0x10a)][_0x420e50(0xe0)]:new _0x5517e1([this[_0x420e50(0x10a)]]);for(const _0x1908f4 of _0x19c0b8)this[_0x420e50(0xef)](_0x1908f4);this[_0x420e50(0xd6)](_0x19c0b8,_0x420e50(0xf4),(_0x36a792,_0xc265b4)=>{const _0x3a25a6=_0x420e50;this[_0x3a25a6(0xd6)](_0xc265b4,_0x3a25a6(0xd8),()=>{const _0x1507ec=_0x3a25a6;this[_0x1507ec(0xef)](_0xc265b4);});}),this[_0x420e50(0xd6)](_0x19c0b8,_0x420e50(0xd3),(_0x4038af,_0x3ab806)=>{const _0x20e69a=_0x420e50;_0x3ab806[_0x20e69a(0xcf)][_0x20e69a(0xda)](_0x20e69a(0xf2))&&this[_0x20e69a(0xee)](_0x3ab806[_0x20e69a(0xcf)][_0x20e69a(0xcd)](_0x20e69a(0xf2)));}),window[_0x420e50(0xd0)](_0x420e50(0xd9),this[_0x420e50(0xe7)]),this[_0x420e50(0xf1)][_0x420e50(0xe5)]();}[_0x50e5b1(0xce)](){const _0x1e117d=_0x50e5b1;if(!this[_0x1e117d(0x107)])throw new _0x56206c(_0x1e117d(0x105),this);this[_0x1e117d(0xe8)](null);const _0x1498b1=this[_0x1e117d(0x10a)][_0x1e117d(0xcf)][_0x1e117d(0xcd)](_0x492038);_0x1498b1[_0x1e117d(0xdd)](this[_0x1e117d(0xf1)]),this[_0x1e117d(0xe1)](_0x1498b1),this[_0x1e117d(0xe1)](this[_0x1e117d(0xf1)]),this[_0x1e117d(0x10a)]instanceof _0x4d1b66&&this[_0x1e117d(0xe1)](this[_0x1e117d(0x10a)][_0x1e117d(0xe0)]);for(const _0x585a60 of Array[_0x1e117d(0xdc)](this[_0x1e117d(0xc6)]))this[_0x1e117d(0xee)](_0x585a60);window[_0x1e117d(0xdf)](_0x1e117d(0xd9),this[_0x1e117d(0xe7)]),this[_0x1e117d(0xe7)][_0x1e117d(0xcb)](),this[_0x1e117d(0xf5)]=null,this[_0x1e117d(0x107)]=!0x1,this[_0x1e117d(0xf1)]=null;}[_0x50e5b1(0xd4)](){const _0x15056e=_0x50e5b1;this[_0x15056e(0x107)]&&this[_0x15056e(0xce)]();}[_0x50e5b1(0xef)](_0xbbfcbd){const _0xa6d67d=_0x50e5b1;if(!_0xbbfcbd[_0xa6d67d(0xcf)][_0xa6d67d(0xda)](_0xa6d67d(0xf2)))return;const _0x54843e=_0xbbfcbd[_0xa6d67d(0xcf)][_0xa6d67d(0xcd)](_0xa6d67d(0xf2)),_0x2426be=()=>{const _0x30f4c2=_0xa6d67d,_0x3643c8=_0x54843e[_0x30f4c2(0xf0)]({'annotations':this[_0x30f4c2(0xf1)],'activeAnnotation':this[_0x30f4c2(0xf5)]});this[_0x30f4c2(0xe8)](_0x3643c8[0x0]||null);};this[_0xa6d67d(0xd6)](_0x54843e,_0xa6d67d(0xd5),_0x2426be),this[_0xa6d67d(0xd6)](_0x54843e,_0xa6d67d(0xf9),(_0x3c0271,{isAnnotationTracked:_0x510881})=>{const _0x159e86=_0xa6d67d;this[_0x159e86(0xf5)]&&_0x510881(this[_0x159e86(0xf5)])&&this[_0x159e86(0xe8)](null);}),this[_0xa6d67d(0xd6)](_0x54843e,_0xa6d67d(0xfc),()=>{const _0x4a3e52=_0xa6d67d;this[_0x4a3e52(0xe7)]();}),this[_0xa6d67d(0xd6)](this[_0xa6d67d(0xf1)],_0xa6d67d(0xf9),_0xfb5298=>{const _0xe607d1=_0xa6d67d;_0x54843e[_0xe607d1(0xc7)]()&&(_0x2426be(),_0xfb5298[_0xe607d1(0xe6)]());},{'priority':_0xa6d67d(0xc9)}),this[_0xa6d67d(0xc6)][_0xa6d67d(0xf4)](_0x54843e);}[_0x50e5b1(0xee)](_0x5e6e3d){const _0x125c85=_0x50e5b1;this[_0x125c85(0xe1)](_0x5e6e3d),this[_0x125c85(0xc6)][_0x125c85(0xd3)](_0x5e6e3d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2df023=_0x12aa;(function(_0x1c87c6,_0x50554a){const _0x11e3cf=_0x12aa,_0x300a90=_0x1c87c6();while(!![]){try{const _0x3cb014=-parseInt(_0x11e3cf(0xca))/0x1+-parseInt(_0x11e3cf(0xd7))/0x2*(-parseInt(_0x11e3cf(0xe5))/0x3)+-parseInt(_0x11e3cf(0xdf))/0x4*(-parseInt(_0x11e3cf(0xcc))/0x5)+parseInt(_0x11e3cf(0xd5))/0x6+parseInt(_0x11e3cf(0xda))/0x7*(-parseInt(_0x11e3cf(0xe0))/0x8)+parseInt(_0x11e3cf(0xc7))/0x9*(-parseInt(_0x11e3cf(0xd6))/0xa)+parseInt(_0x11e3cf(0xc9))/0xb;if(_0x3cb014===_0x50554a)break;else _0x300a90['push'](_0x300a90['shift']());}catch(_0x1834f5){_0x300a90['push'](_0x300a90['shift']());}}}(_0x52a0,0xd0e8b));function _0x52a0(){const _0x5bd820=['643790UMgxdO','19078cyXjdz','$textProxy','change','7Glxvyk','model','editor','addMarker','_hasContent','16OmDyHp','6323944HgGmHV','getLastMatchingPosition','_trimToContent','getRanges','substr','267BVzpsz','isObject','createRange','comment:','document','backward','isEnabled','item','end','144ufilYU','selection','5527214licEzg','861724qfafdy','element','1319455cOHHDe','schema','tableCell','push','execute','getItems','start','_itemIsContent','refresh','6785778bGAvBR'];_0x52a0=function(){return _0x5bd820;};return _0x52a0();}import{Command as _0x5d6d90}from'ckeditor5/src/core.js';function _0x12aa(_0x2a7d5e,_0x51aa44){const _0x52a0b3=_0x52a0();return _0x12aa=function(_0x12aab9,_0x4894c5){_0x12aab9=_0x12aab9-0xbf;let _0x5b37d2=_0x52a0b3[_0x12aab9];return _0x5b37d2;},_0x12aa(_0x2a7d5e,_0x51aa44);}import{uid as _0xe78362}from'ckeditor5/src/utils.js';export default class J extends _0x5d6d90{[_0x2df023(0xd4)](){const _0x102259=_0x2df023,_0x4deb8b=this[_0x102259(0xdc)][_0x102259(0xdb)][_0x102259(0xc2)][_0x102259(0xc8)];for(const _0x410f30 of _0x4deb8b[_0x102259(0xe3)]())if(this[_0x102259(0xde)](_0x410f30))return void(this[_0x102259(0xc4)]=!0x0);this[_0x102259(0xc4)]=!0x1;}[_0x2df023(0xd0)]({threadId:_0x28e4b4=_0xe78362()}={}){const _0x549cfd=_0x2df023,_0x40b143=this[_0x549cfd(0xdc)][_0x549cfd(0xdb)],_0x51cb48=[];for(const _0x24a69f of _0x40b143[_0x549cfd(0xc2)][_0x549cfd(0xc8)][_0x549cfd(0xe3)]())this[_0x549cfd(0xde)](_0x24a69f)&&_0x51cb48[_0x549cfd(0xcf)](this[_0x549cfd(0xe2)](_0x24a69f));_0x40b143[_0x549cfd(0xd9)](_0x562650=>{const _0x45c6ee=_0x549cfd;for(const _0x52af88 of _0x51cb48){const _0x560347=_0xe78362()[_0x45c6ee(0xe4)](0x1,0x5),_0x29e2c5=_0x45c6ee(0xc1)+_0x28e4b4+':'+_0x560347;_0x562650[_0x45c6ee(0xdd)](_0x29e2c5,{'range':_0x52af88,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x2df023(0xde)](_0x158c2f){const _0x3c3417=_0x2df023;for(const _0x50cfb1 of _0x158c2f[_0x3c3417(0xd1)]())if(this[_0x3c3417(0xd3)](_0x50cfb1))return!0x0;return!0x1;}[_0x2df023(0xd3)](_0x561780){const _0xd95d8e=_0x2df023;return _0x561780['is'](_0xd95d8e(0xd8))||this[_0xd95d8e(0xdc)][_0xd95d8e(0xdb)][_0xd95d8e(0xcd)][_0xd95d8e(0xbf)](_0x561780)&&!_0x561780['is'](_0xd95d8e(0xcb),_0xd95d8e(0xce));}[_0x2df023(0xe2)](_0x18d3b5){const _0x286e65=_0x2df023,_0x24c7f8=_0x35d42a=>!this[_0x286e65(0xd3)](_0x35d42a[_0x286e65(0xc5)]),_0x3a1f7b=_0x18d3b5[_0x286e65(0xd2)][_0x286e65(0xe1)](_0x24c7f8),_0x160934=_0x18d3b5[_0x286e65(0xc6)][_0x286e65(0xe1)](_0x24c7f8,{'direction':_0x286e65(0xc3)});return this[_0x286e65(0xdc)][_0x286e65(0xdb)][_0x286e65(0xc0)](_0x3a1f7b,_0x160934);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x308124=_0x25aa;(function(_0x25daf2,_0x1da0f5){const _0x629abb=_0x25aa,_0x39d474=_0x25daf2();while(!![]){try{const _0x21ce21=-parseInt(_0x629abb(0x181))/0x1*(-parseInt(_0x629abb(0x18f))/0x2)+parseInt(_0x629abb(0x191))/0x3+parseInt(_0x629abb(0x19d))/0x4+-parseInt(_0x629abb(0x187))/0x5+-parseInt(_0x629abb(0x182))/0x6+-parseInt(_0x629abb(0x199))/0x7*(-parseInt(_0x629abb(0x198))/0x8)+parseInt(_0x629abb(0x18a))/0x9*(-parseInt(_0x629abb(0x195))/0xa);if(_0x21ce21===_0x1da0f5)break;else _0x39d474['push'](_0x39d474['shift']());}catch(_0x706951){_0x39d474['push'](_0x39d474['shift']());}}}(_0x4023,0x7e32a));import{ContextPlugin as _0x10d92e}from'ckeditor5/src/core.js';import{Collection as _0x2c9678}from'ckeditor5/src/utils.js';import _0x19fa38 from'./commentsrepository.js';import _0x1e0176 from'../annotations/annotations.js';function _0x25aa(_0x3e8196,_0x2bcd07){const _0x40234f=_0x4023();return _0x25aa=function(_0x25aa22,_0xfe8b5d){_0x25aa22=_0x25aa22-0x17c;let _0x41b093=_0x40234f[_0x25aa22];return _0x41b093;},_0x25aa(_0x3e8196,_0x2bcd07);}function _0x4023(){const _0x125767=['context','focus','length','remove','425085nzAdvs','isActive','highest','78849QiAvJp','findIndex','requires','CommentsArchive','getCommentThread','76MKpsaZ','add','798372SyfEoW','removeCommentThread','init','_calculatePosition','240wiuWWj','archivedThreads','stopListening','8eLcgIs','2772028CfMiYh','activate','listenTo','collection','1756040juJztJ','addCommentThread','get','archivedAt','change:archivedAt','isVisible','pluginName','plugins','has','6553NHkeYd','3227790HPNxHg'];_0x4023=function(){return _0x125767;};return _0x4023();}export default class p extends _0x10d92e{static get[_0x308124(0x17e)](){const _0x5671c4=_0x308124;return _0x5671c4(0x18d);}static get[_0x308124(0x18c)](){return[_0x19fa38,_0x1e0176];}constructor(_0x5223a7){const _0x15d651=_0x308124;super(_0x5223a7),this[_0x15d651(0x196)]=new _0x2c9678();}[_0x308124(0x193)](){const _0x27d394=_0x308124,_0x2804ea=this[_0x27d394(0x183)],_0x1e74da=_0x2804ea[_0x27d394(0x17f)][_0x27d394(0x19f)](_0x19fa38),_0x50b2a9=_0x2804ea[_0x27d394(0x17f)][_0x27d394(0x19f)](_0x1e0176);this[_0x27d394(0x19b)](_0x1e74da,_0x27d394(0x19e),(_0x1c63c8,{threadId:_0x5abb35})=>{const _0x16de3e=_0x27d394,_0x5f22e1=_0x1e74da[_0x16de3e(0x18e)](_0x5abb35);_0x5f22e1[_0x16de3e(0x1a0)]&&this[_0x16de3e(0x196)][_0x16de3e(0x190)](_0x5f22e1,this[_0x16de3e(0x194)](_0x5f22e1[_0x16de3e(0x1a0)])),this[_0x16de3e(0x19b)](_0x5f22e1,_0x16de3e(0x17c),(_0x10e5de,_0x503a07,_0x3d73a8)=>{const _0x29ff8c=_0x16de3e;_0x3d73a8?this[_0x29ff8c(0x196)][_0x29ff8c(0x180)](_0x5f22e1)||this[_0x29ff8c(0x196)][_0x29ff8c(0x190)](_0x5f22e1,this[_0x29ff8c(0x194)](_0x5f22e1[_0x29ff8c(0x1a0)])):this[_0x29ff8c(0x196)][_0x29ff8c(0x180)](_0x5f22e1)&&this[_0x29ff8c(0x196)][_0x29ff8c(0x186)](_0x5f22e1);});}),this[_0x27d394(0x19b)](_0x1e74da,_0x27d394(0x192),(_0x2a42bd,{threadId:_0x511660})=>{const _0x39754f=_0x27d394,_0x2656aa=_0x1e74da[_0x39754f(0x18e)](_0x511660);this[_0x39754f(0x197)](_0x2656aa),this[_0x39754f(0x196)][_0x39754f(0x180)](_0x2656aa)&&this[_0x39754f(0x196)][_0x39754f(0x186)](_0x2656aa);},{'priority':_0x27d394(0x189)}),this[_0x27d394(0x19b)](_0x50b2a9[_0x27d394(0x19c)],_0x27d394(0x184),(_0x45408f,_0x479e4b)=>{const _0x37017f=_0x27d394;_0x479e4b[_0x37017f(0x17d)]||(_0x479e4b[_0x37017f(0x188)]=!0x0,_0x50b2a9[_0x37017f(0x19a)](_0x479e4b));});}[_0x308124(0x194)](_0x4f0df9){const _0x32a673=_0x308124,_0x13753a=[...this[_0x32a673(0x196)]][_0x32a673(0x18b)](_0x862ec6=>_0x862ec6[_0x32a673(0x1a0)]<_0x4f0df9);return _0x13753a>-0x1?_0x13753a:this[_0x32a673(0x196)][_0x32a673(0x185)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a007d=_0x49c9;(function(_0xfdbb41,_0x3993e2){const _0x56a35f=_0x49c9,_0x3f8413=_0xfdbb41();while(!![]){try{const _0x4272d6=-parseInt(_0x56a35f(0xc6))/0x1+parseInt(_0x56a35f(0xea))/0x2*(-parseInt(_0x56a35f(0xd0))/0x3)+parseInt(_0x56a35f(0x100))/0x4*(-parseInt(_0x56a35f(0xce))/0x5)+-parseInt(_0x56a35f(0xeb))/0x6*(parseInt(_0x56a35f(0xc1))/0x7)+parseInt(_0x56a35f(0xc3))/0x8*(parseInt(_0x56a35f(0xe2))/0x9)+-parseInt(_0x56a35f(0xd2))/0xa+parseInt(_0x56a35f(0xcb))/0xb;if(_0x4272d6===_0x3993e2)break;else _0x3f8413['push'](_0x3f8413['shift']());}catch(_0x13e11b){_0x3f8413['push'](_0x3f8413['shift']());}}}(_0x299e,0x63b63));import'../../theme/commentsarchive.css';import{Plugin as _0x32f3c0}from'ckeditor5/src/core.js';import{ViewCollection as _0x2cc555,MenuBarMenuListItemButtonView as _0x2a567a,ButtonView as _0x643f26,Dialog as _0x529ec1,DialogViewPosition as _0x529c17}from'ckeditor5/src/ui.js';function _0x299e(){const _0x497a18=['14656ySvVwk','requires','execute','629553RNvHqt','pluginName','menuitemcheckbox','menuBar:commentsArchive','componentFactory','26400550fnKXDa','listenTo','isEnabled','658575LgEIHy','collection','2253060bGcvhX','push','1873740NSZGvj','Dialog','archivedThreads','_calculatePosition','length','isVisible','_toggleDialog','getByInnerView','archivedAt','_createCommentsArchiveButton','EDITOR_TOP_SIDE','isOn','channelId','bind','findIndex','set','2007CZLNgI','source','show','escape','filter','annotationViews','stop','has','2jwqLDW','1706370iNnPHJ','config','hide','Annotations','CommentsArchiveUI','add','stopListening','find','remove','COMMENTS_ARCHIVE','editor','CommentsRepository','_threadToController','isOpen','_pendingThreads','collaboration.channelId','get','_visibleAnnotations','focusableElements','tooltip','commentsArchive','8jFTWsr','view','locale','indexOf','init','commentsArchiveView','_hideDialogOnAnnotationEscape','plugins','innerView','14zWULki','splice'];_0x299e=function(){return _0x497a18;};return _0x299e();}import _0x2278c2 from'../../theme/icons/comments-archive.svg';import{getTranslation as _0x520834}from'../utils/common-translations.js';import _0x2b0dde from'./ui/view/commentsarchiveview.js';import _0x26d901 from'./commentsarchive.js';function _0x49c9(_0x7c8100,_0x1e1550){const _0x299e20=_0x299e();return _0x49c9=function(_0x49c9e0,_0x277365){_0x49c9e0=_0x49c9e0-0xba;let _0x253232=_0x299e20[_0x49c9e0];return _0x253232;},_0x49c9(_0x7c8100,_0x1e1550);}export default class a extends _0x32f3c0{static get[_0x1a007d(0xc7)](){const _0x5c2fb6=_0x1a007d;return _0x5c2fb6(0xef);}static get[_0x1a007d(0xc4)](){return[_0x26d901,_0x529ec1];}constructor(_0x2598d4){const _0x557376=_0x1a007d;super(_0x2598d4),this[_0x557376(0xbe)]=_0x9c9319=>{const _0x291588=_0x557376,_0x3a5a4c=_0x9c9319[_0x291588(0xe3)];if(!this[_0x291588(0xe7)][_0x291588(0xe9)](_0x3a5a4c[_0x291588(0x101)]))return;const _0x33f808=this[_0x291588(0xf5)][_0x291588(0xbf)][_0x291588(0xfb)](_0x291588(0xd3));_0x33f808[_0x291588(0xf8)]&&_0x291588(0xff)===_0x33f808['id']&&(_0x33f808[_0x291588(0xed)](),_0x9c9319[_0x291588(0xe8)]());},this[_0x557376(0xe7)]=new _0x2cc555(),this[_0x557376(0xf9)]=[];}[_0x1a007d(0xbc)](){const _0x4fb0df=_0x1a007d,_0x236f9d=this[_0x4fb0df(0xf5)],_0xdbd26f=this[_0x4fb0df(0xbe)][_0x4fb0df(0xdf)](this);_0x236f9d['ui'][_0x4fb0df(0xca)][_0x4fb0df(0xf0)](_0x4fb0df(0xff),()=>this[_0x4fb0df(0xdb)](_0x643f26,!0x0)),_0x236f9d['ui'][_0x4fb0df(0xca)][_0x4fb0df(0xf0)](_0x4fb0df(0xc9),()=>{const _0x59ca18=_0x4fb0df,_0x332b3a=this[_0x59ca18(0xdb)](_0x2a567a);return _0x332b3a[_0x59ca18(0xe1)]({'role':_0x59ca18(0xc8)}),_0x332b3a;});const _0x24532f=_0x236f9d[_0x4fb0df(0xbf)][_0x4fb0df(0xfb)](_0x26d901),_0x5c412a=_0x236f9d[_0x4fb0df(0xbf)][_0x4fb0df(0xfb)](_0x4fb0df(0xee)),_0x381905=_0x236f9d[_0x4fb0df(0xbf)][_0x4fb0df(0xfb)](_0x4fb0df(0xf6));this[_0x4fb0df(0xcc)](_0x24532f[_0x4fb0df(0xd4)],_0x4fb0df(0xf0),(_0x11f747,_0x36e88b)=>{const _0x49b58d=_0x4fb0df,_0x2cfa3f=_0x236f9d[_0x49b58d(0xec)][_0x49b58d(0xfb)](_0x49b58d(0xfa));if(!_0x2cfa3f||_0x36e88b[_0x49b58d(0xde)]===_0x2cfa3f){const _0x197798=_0x381905[_0x49b58d(0xf7)][_0x49b58d(0xfb)](_0x36e88b);if(!_0x197798)return void this[_0x49b58d(0xf9)][_0x49b58d(0xd1)](_0x36e88b);const _0x2f5e3c=this[_0x49b58d(0xd5)](_0x36e88b[_0x49b58d(0xda)]),_0x447857=_0x5c412a[_0x49b58d(0xd9)](_0x197798[_0x49b58d(0x101)]);_0x447857[_0x49b58d(0xd7)]&&_0x5c412a[_0x49b58d(0xfc)][_0x49b58d(0xf3)](_0x447857),this[_0x49b58d(0xe7)][_0x49b58d(0xf0)](_0x447857[_0x49b58d(0x101)],_0x2f5e3c);}}),this[_0x4fb0df(0xcc)](_0x5c412a[_0x4fb0df(0xcf)],_0x4fb0df(0xf0),(_0x1b45ad,_0x149668)=>{const _0xb17cf3=_0x4fb0df,_0x9ef82c=this[_0xb17cf3(0xf9)][_0xb17cf3(0xf2)](_0x523661=>{const _0xf3b002=_0xb17cf3,_0x4e7a4=_0x381905[_0xf3b002(0xf7)][_0xf3b002(0xfb)](_0x523661);return _0x4e7a4&&_0x149668[_0xf3b002(0xc0)]===_0x4e7a4[_0xf3b002(0x101)];});if(_0x9ef82c){const _0x57a8ae=this[_0xb17cf3(0xd5)](_0x9ef82c[_0xb17cf3(0xda)]);this[_0xb17cf3(0xe7)][_0xb17cf3(0xf0)](_0x149668[_0xb17cf3(0x101)],_0x57a8ae),this[_0xb17cf3(0xf9)][_0xb17cf3(0xc2)](this[_0xb17cf3(0xf9)][_0xb17cf3(0xbb)](_0x9ef82c),0x1);}}),this[_0x4fb0df(0xcc)](_0x24532f[_0x4fb0df(0xd4)],_0x4fb0df(0xf3),(_0x3c4f93,_0x3d6d68)=>{const _0x31e1d2=_0x4fb0df,_0x10232c=_0x236f9d[_0x31e1d2(0xec)][_0x31e1d2(0xfb)](_0x31e1d2(0xfa));if(!_0x10232c||_0x3d6d68[_0x31e1d2(0xde)]===_0x10232c){const _0x775605=_0x381905[_0x31e1d2(0xf7)][_0x31e1d2(0xfb)](_0x3d6d68),_0x4f48ef=_0x5c412a[_0x31e1d2(0xd9)](_0x775605[_0x31e1d2(0x101)]);this[_0x31e1d2(0xe7)][_0x31e1d2(0xf3)](_0x4f48ef[_0x31e1d2(0x101)]),this[_0x31e1d2(0xf1)](_0x4f48ef[_0x31e1d2(0xfd)]);}}),this[_0x4fb0df(0xcc)](_0x5c412a[_0x4fb0df(0xcf)],_0x4fb0df(0xf0),(_0xad714f,_0x550479)=>{const _0x4adf9d=_0x4fb0df;this[_0x4adf9d(0xcc)](_0x550479,_0x4adf9d(0xe5),_0xdbd26f);}),this[_0x4fb0df(0xcc)](_0x5c412a[_0x4fb0df(0xcf)],_0x4fb0df(0xf3),(_0x130770,_0x3c9700)=>{const _0x499639=_0x4fb0df;this[_0x499639(0xf1)](_0x3c9700,_0x499639(0xe5),_0xdbd26f);});}[_0x1a007d(0xd5)](_0x56a21b){const _0x5d11be=_0x1a007d,_0x47e8c6=this[_0x5d11be(0xf5)][_0x5d11be(0xec)][_0x5d11be(0xfb)](_0x5d11be(0xfa)),_0x4e4b4e=[...this[_0x5d11be(0xf5)][_0x5d11be(0xbf)][_0x5d11be(0xfb)](_0x26d901)[_0x5d11be(0xd4)]][_0x5d11be(0xe6)](_0x395a45=>_0x395a45[_0x5d11be(0xde)]===_0x47e8c6)[_0x5d11be(0xe0)](_0xb6d6af=>_0xb6d6af[_0x5d11be(0xda)]<_0x56a21b);return _0x4e4b4e<0x0||_0x4e4b4e>this[_0x5d11be(0xe7)][_0x5d11be(0xd6)]?this[_0x5d11be(0xe7)][_0x5d11be(0xd6)]:_0x4e4b4e-0x1;}[_0x1a007d(0xd8)](){const _0x20d87e=_0x1a007d,_0x255588=this[_0x20d87e(0xf5)],_0x8200f=_0x255588[_0x20d87e(0xbf)][_0x20d87e(0xfb)](_0x20d87e(0xd3));this[_0x20d87e(0xbd)]||(this[_0x20d87e(0xbd)]=new _0x2b0dde(_0x255588[_0x20d87e(0xba)],this[_0x20d87e(0xe7)])),_0x20d87e(0xff)===_0x8200f['id']?_0x8200f[_0x20d87e(0xed)]():_0x8200f[_0x20d87e(0xe4)]({'id':_0x20d87e(0xff),'title':_0x520834(_0x255588[_0x20d87e(0xba)],_0x20d87e(0xf4)),'icon':_0x2278c2,'hasCloseButton':!0x0,'content':this[_0x20d87e(0xbd)],'position':_0x529c17[_0x20d87e(0xdc)]});}[_0x1a007d(0xdb)](_0x1db1d8,_0x17b65d=!0x1){const _0x3dbb61=_0x1a007d,_0x43a3f7=this[_0x3dbb61(0xf5)][_0x3dbb61(0xba)],_0x1658a8=this[_0x3dbb61(0xf5)][_0x3dbb61(0xbf)][_0x3dbb61(0xfb)](_0x3dbb61(0xd3)),_0x153088=new _0x1db1d8(_0x43a3f7);return _0x153088[_0x3dbb61(0xdf)](_0x3dbb61(0xcd))['to'](this,_0x3dbb61(0xcd)),_0x153088[_0x3dbb61(0xdf)](_0x3dbb61(0xdd))['to'](_0x1658a8,'id',_0x13bab9=>_0x3dbb61(0xff)===_0x13bab9),_0x153088[_0x3dbb61(0xe1)]({'label':_0x520834(_0x43a3f7,_0x3dbb61(0xf4)),'icon':_0x2278c2,'isToggleable':!0x0}),_0x17b65d&&(_0x153088[_0x3dbb61(0xfe)]=!0x0),this[_0x3dbb61(0xcc)](_0x153088,_0x3dbb61(0xc5),()=>this[_0x3dbb61(0xd8)]()),_0x153088;}}
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
9
9
|
import type { Marker } from 'ckeditor5/src/engine.js';
|
|
10
10
|
import CommentsRepository from './commentsrepository.js';
|
|
11
|
+
import { Users } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
11
12
|
import EditorAnnotations from '../annotations/editorannotations.js';
|
|
12
13
|
import CommentsRestrictedEditingMode from './integrations/commentsrestrictededitingmode.js';
|
|
13
14
|
import CommentsImportWord from './integrations/importword.js';
|
|
@@ -41,7 +42,7 @@ export default class CommentsEditing extends Plugin {
|
|
|
41
42
|
/**
|
|
42
43
|
* @inheritDoc
|
|
43
44
|
*/
|
|
44
|
-
static get requires(): readonly [typeof CommentsRepository, typeof EditorAnnotations, typeof CommentsRestrictedEditingMode, typeof CommentsImportWord, typeof CommentsClipboard];
|
|
45
|
+
static get requires(): readonly [typeof CommentsRepository, typeof EditorAnnotations, typeof Users, typeof CommentsRestrictedEditingMode, typeof CommentsImportWord, typeof CommentsClipboard];
|
|
45
46
|
/**
|
|
46
47
|
* @inheritDoc
|
|
47
48
|
*/
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x296cea=_0x3978;(function(_0x26f9d7,_0x9ee595){const _0x5b8ee2=_0x3978,_0x275dd2=_0x26f9d7();while(!![]){try{const _0x59f599=parseInt(_0x5b8ee2(0x176))/0x1+-parseInt(_0x5b8ee2(0x153))/0x2+parseInt(_0x5b8ee2(0x197))/0x3*(parseInt(_0x5b8ee2(0x154))/0x4)+parseInt(_0x5b8ee2(0x17d))/0x5+-parseInt(_0x5b8ee2(0x1da))/0x6*(parseInt(_0x5b8ee2(0x1bd))/0x7)+parseInt(_0x5b8ee2(0x186))/0x8+-parseInt(_0x5b8ee2(0x1cd))/0x9*(-parseInt(_0x5b8ee2(0x1a0))/0xa);if(_0x59f599===_0x9ee595)break;else _0x275dd2['push'](_0x275dd2['shift']());}catch(_0x5eb224){_0x275dd2['push'](_0x275dd2['shift']());}}}(_0x167d,0xd498e));import{Plugin as _0xeb26d7}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x55eff7,scrollViewportToShowTarget as _0x45bfd1}from'ckeditor5/src/utils.js';import _0x306952 from'./commentsrepository.js';import _0x1d36eb from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x45e2ed,getAllMarkersDomElementsSorted as _0x4eaaaa,ENTER_THREAD_KEYSTROKE as _0xc049a2}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1112bf from'../annotations/editorannotations.js';import _0x509736 from'./integrations/commentsrestrictededitingmode.js';import _0x1049d1 from'./integrations/importword.js';import _0x15d5a4 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x4425ca from'../annotations/annotations.js';import{getTranslation as _0x53df23}from'../utils/common-translations.js';function _0x3978(_0x384add,_0x1bf827){const _0x167dca=_0x167d();return _0x3978=function(_0x3978bf,_0x2961c8){_0x3978bf=_0x3978bf-0x150;let _0x223cd9=_0x167dca[_0x3978bf];return _0x223cd9;},_0x3978(_0x384add,_0x1bf827);}export default class r extends _0xeb26d7{static get[_0x296cea(0x1c1)](){return[_0x306952,_0x1112bf,_0x509736,_0x1049d1,_0x15d5a4];}static get[_0x296cea(0x1d2)](){const _0x3f1410=_0x296cea;return _0x3f1410(0x1dc);}constructor(_0x4bbb08){const _0x321ba7=_0x296cea;super(_0x4bbb08),this[_0x321ba7(0x190)](_0x321ba7(0x15e),!0x0),_0x4bbb08[_0x321ba7(0x1ba)][_0x321ba7(0x193)](_0x321ba7(0x1c8),()=>this[_0x321ba7(0x15e)]=!0x1),this[_0x321ba7(0x190)](_0x321ba7(0x1a7),null),this['on'](_0x321ba7(0x1c5),(_0x293655,_0x227202,_0x45edf8,_0x3c63e8)=>{const _0x53eaa0=_0x321ba7,_0x5c1db8=_0x45edf8?splitMarkerName(_0x45edf8)['id']:null;if(_0x4bbb08[_0x53eaa0(0x1bf)][_0x53eaa0(0x181)](()=>{const _0x3248c2=_0x53eaa0;if(_0x5c1db8){const _0x32e676=this[_0x3248c2(0x188)](_0x5c1db8);for(const _0xaee9b of _0x32e676)_0x4bbb08[_0x3248c2(0x19e)][_0x3248c2(0x158)](_0xaee9b);}if(_0x3c63e8){const {id:_0x2f4e48}=splitMarkerName(_0x3c63e8),_0x3de30a=this[_0x3248c2(0x188)](_0x2f4e48);for(const _0x192726 of _0x3de30a)_0x4bbb08[_0x3248c2(0x19e)][_0x3248c2(0x158)](_0x192726);}}),_0x5c1db8){const _0x25f505=_0x4bbb08[_0x53eaa0(0x1df)][_0x53eaa0(0x1b9)](_0x306952)[_0x53eaa0(0x15a)](_0x5c1db8);_0x25f505&&_0x25f505[_0x53eaa0(0x187)]&&this[_0x53eaa0(0x1d3)](_0x5c1db8);}}),this[_0x321ba7(0x1ce)]();}[_0x296cea(0x1a3)](){const _0x1fd258=_0x296cea,_0x335d4c=this[_0x1fd258(0x17f)],_0x3678bc=_0x335d4c[_0x1fd258(0x1df)][_0x1fd258(0x1b9)](_0x306952),_0x634a59=_0x335d4c[_0x1fd258(0x1b8)][_0x1fd258(0x1b9)](_0x1fd258(0x165));_0x335d4c[_0x1fd258(0x1c0)][_0x1fd258(0x18f)](_0x1fd258(0x150),new _0x1d36eb(_0x335d4c)),this[_0x1fd258(0x16f)](_0x335d4c,_0x1fd258(0x1c4),(_0xbdde39,_0x12f80c,_0x3348e0)=>{const _0x4053da=_0x1fd258;_0x3678bc[_0x4053da(0x1a2)](_0x3348e0,_0x335d4c[_0x4053da(0x1b8)][_0x4053da(0x1b9)](_0x4053da(0x165)));}),this[_0x1fd258(0x16f)](_0x3678bc,at(_0x1fd258(0x150),_0x634a59),(_0x3fca43,{threadId:_0x371a2e})=>{const _0x4c3f40=_0x1fd258,_0x467dcf=this[_0x4c3f40(0x17f)][_0x4c3f40(0x1df)][_0x4c3f40(0x1b9)](_0x306952)[_0x4c3f40(0x15a)](_0x371a2e);_0x467dcf&&_0x467dcf[_0x4c3f40(0x18c)]&&this[_0x4c3f40(0x19b)](_0x371a2e);}),this[_0x1fd258(0x16f)](_0x3678bc,at(_0x1fd258(0x196),_0x634a59),(_0x654296,{threadId:_0x39dcbc})=>{const _0x3a0991=_0x1fd258;_0x335d4c[_0x3a0991(0x1bf)][_0x3a0991(0x163)]({'isUndoable':!0x1},_0x2754b0=>{const _0x126258=_0x3a0991,_0x30d9fe=this[_0x126258(0x188)](_0x39dcbc);for(const _0x302799 of _0x30d9fe)_0x2754b0[_0x126258(0x194)](_0x302799);});}),this[_0x1fd258(0x16f)](_0x3678bc,at(_0x1fd258(0x1ae),_0x634a59),(_0x4ac682,{threadId:_0x419e62})=>{const _0x45fcbd=_0x1fd258;(this[_0x45fcbd(0x156)](_0x419e62),this[_0x45fcbd(0x17f)][_0x45fcbd(0x19e)][_0x45fcbd(0x1ad)][_0x45fcbd(0x1db)])&&(this[_0x45fcbd(0x17f)][_0x45fcbd(0x1df)][_0x45fcbd(0x1b9)](_0x306952)[_0x45fcbd(0x15a)](_0x419e62)[_0x45fcbd(0x18c)]||this[_0x45fcbd(0x17f)][_0x45fcbd(0x19e)][_0x45fcbd(0x1ad)][_0x45fcbd(0x1aa)]());},{'priority':_0x1fd258(0x164)}),this[_0x1fd258(0x16f)](_0x3678bc,at(_0x1fd258(0x155),_0x634a59),(_0x558ae4,{threadId:_0x1763a8})=>{const _0x2cb03d=_0x1fd258;this[_0x2cb03d(0x156)](_0x1763a8);},{'priority':_0x1fd258(0x164)}),this[_0x1fd258(0x16f)](_0x3678bc,at(_0x1fd258(0x1b1),_0x634a59),(_0x353eb7,{threadId:_0x435466,isFromAdapter:_0x4d6ff4})=>{const _0x232908=_0x1fd258,_0x568ee3=this[_0x232908(0x188)](_0x435466);if(_0x4d6ff4||0x0==_0x568ee3[_0x232908(0x1ab)]||!_0x3678bc[_0x232908(0x18a)](_0x435466))return;0x1===_0x3678bc[_0x232908(0x15a)](_0x435466)[_0x232908(0x1ab)]&&_0x335d4c[_0x232908(0x1bf)][_0x232908(0x163)]({'isUndoable':!0x1},_0x34623e=>{const _0x5a0460=_0x232908;for(const _0x1aafd2 of _0x568ee3)_0x34623e[_0x5a0460(0x157)](_0x1aafd2,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x1fd258(0x164)}),this[_0x1fd258(0x17b)](),this[_0x1fd258(0x1c9)]();}[_0x296cea(0x1b6)](){const _0x41b54d=_0x296cea,_0x3732c2=this[_0x41b54d(0x17f)][_0x41b54d(0x1df)][_0x41b54d(0x1b9)](_0x306952),_0x57bdf1=this[_0x41b54d(0x17f)][_0x41b54d(0x1b8)][_0x41b54d(0x1b9)](_0x41b54d(0x165));for(const _0x29bfa0 of _0x3732c2[_0x41b54d(0x174)]({'channelId':_0x57bdf1}))_0x3732c2[_0x41b54d(0x182)](_0x29bfa0['id']),_0x3732c2[_0x41b54d(0x1dd)][_0x41b54d(0x1d9)](_0x29bfa0['id']);super[_0x41b54d(0x1b6)]();}[_0x296cea(0x1cc)](_0x4604ed){const _0x3d8b04=_0x296cea;return this[_0x3d8b04(0x188)](_0x4604ed)[_0x3d8b04(0x1ab)]>0x0;}[_0x296cea(0x188)](_0x362ead){const _0x28d0d4=_0x296cea,_0x196e1b=[];for(const _0x48635d of this[_0x28d0d4(0x17f)][_0x28d0d4(0x1bf)][_0x28d0d4(0x166)])_0x48635d[_0x28d0d4(0x17a)][_0x28d0d4(0x1ac)](_0x28d0d4(0x199)+_0x362ead)&&_0x196e1b[_0x28d0d4(0x1e0)](_0x48635d);return _0x196e1b;}[_0x296cea(0x1d3)](_0x28e550){const _0x1a19ad=_0x296cea,_0x55b63d=this[_0x1a19ad(0x195)](_0x28e550);_0x55b63d&&setTimeout(()=>{const _0x420342=_0x1a19ad;this[_0x420342(0x1a7)]&&splitMarkerName(this[_0x420342(0x1a7)])['id']===_0x28e550&&_0x45bfd1({'target':_0x55b63d[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x296cea(0x156)](_0x1555ed){const _0x57587f=_0x296cea;this[_0x57587f(0x17f)][_0x57587f(0x1bf)][_0x57587f(0x181)](()=>{const _0x36f2fc=_0x57587f;for(const _0x17e680 of this[_0x36f2fc(0x188)](_0x1555ed))this[_0x36f2fc(0x17f)][_0x36f2fc(0x19e)][_0x36f2fc(0x158)](_0x17e680);});}[_0x296cea(0x19b)](_0x2552c0){const _0x51b5b6=_0x296cea,_0x33773e=this[_0x51b5b6(0x17f)][_0x51b5b6(0x1df)][_0x51b5b6(0x1b9)](_0x306952),_0xe4421=this[_0x51b5b6(0x17f)][_0x51b5b6(0x1df)][_0x51b5b6(0x1b9)](_0x1112bf),_0x1d52cf=_0x33773e[_0x51b5b6(0x15a)](_0x2552c0);if(!_0x1d52cf[_0x51b5b6(0x1de)]){const _0x3b6761=_0x1d52cf[_0x51b5b6(0x17e)](()=>this[_0x51b5b6(0x195)](_0x1d52cf['id']));_0xe4421[_0x51b5b6(0x1b2)](_0x3b6761),_0x1d52cf[_0x51b5b6(0x1a5)]=!0x1;}}[_0x296cea(0x17b)](){const _0x525bad=_0x296cea,_0x233d1d=this[_0x525bad(0x17f)];_0x233d1d[_0x525bad(0x18e)][_0x525bad(0x1d5)](_0x525bad(0x15f))[_0x525bad(0x189)]({'model':_0x525bad(0x19d),'view':(_0x2b5ac4,_0x2ac6dc)=>{const _0x66eaee=_0x525bad,{id:_0x5c3222}=splitMarkerName(_0x2b5ac4[_0x66eaee(0x16c)]),_0x173a2b=_0x233d1d[_0x66eaee(0x1df)][_0x66eaee(0x1b9)](_0x306952)[_0x66eaee(0x15a)](_0x5c3222),_0x2e4195=this[_0x66eaee(0x1a7)]&&splitMarkerName(this[_0x66eaee(0x1a7)])['id']===_0x5c3222;if(_0x173a2b&&_0x173a2b[_0x66eaee(0x187)]&&!_0x2e4195&&_0x2b5ac4[_0x66eaee(0x1ca)])return _0x2ac6dc[_0x66eaee(0x173)][_0x66eaee(0x160)](_0x2b5ac4[_0x66eaee(0x1ca)],_0x66eaee(0x152)+_0x2b5ac4[_0x66eaee(0x16c)]),_0x2ac6dc[_0x66eaee(0x173)][_0x66eaee(0x160)](_0x2b5ac4[_0x66eaee(0x1ca)],_0x66eaee(0x19f)+_0x2b5ac4[_0x66eaee(0x16c)]),null;const _0xaa7a7e=[_0x66eaee(0x169)];return _0x2e4195&&_0xaa7a7e[_0x66eaee(0x1e0)](_0x66eaee(0x1c7)),{'classes':_0xaa7a7e,'attributes':{'data-comment':_0x5c3222}};}}),_0x233d1d[_0x525bad(0x18e)][_0x525bad(0x1d5)](_0x525bad(0x17c))[_0x525bad(0x1d7)]({'model':_0x525bad(0x19d),'view':(_0x12ae5f,{options:_0x3f9e0d})=>{const _0xe11e86=_0x525bad,_0x4a22ba=_0x233d1d[_0xe11e86(0x1df)][_0xe11e86(0x1b9)](_0x306952),_0x1886da=_0x233d1d[_0xe11e86(0x1bf)][_0xe11e86(0x166)][_0xe11e86(0x1b9)](_0x12ae5f),{id:_0x3435cd,part:_0x358a3e}=splitMarkerName(_0x12ae5f);if(_0x1886da&&!_0x1886da[_0xe11e86(0x151)])return null;if(_0x3f9e0d[_0xe11e86(0x16b)]){const _0x5de0c2=_0x4a22ba[_0xe11e86(0x15a)](_0x3435cd);if(_0x5de0c2&&_0x5de0c2[_0xe11e86(0x187)])return null;}return{'group':_0xe11e86(0x19d),'name':_0x358a3e?_0x3435cd+':'+_0x358a3e:_0x3435cd};}}),_0x233d1d[_0x525bad(0x18e)][_0x525bad(0x1d5)](_0x525bad(0x1d4))[_0x525bad(0x19a)]({'view':{'name':_0x525bad(0x19d),'attributes':{'id':/^\w/}},'model':(_0xff3dc7,{writer:_0xb79ac3})=>_0xb79ac3[_0x525bad(0x177)](_0x525bad(0x175),{'data-name':_0x525bad(0x199)+_0xff3dc7[_0x525bad(0x19c)]('id')})}),_0x233d1d[_0x525bad(0x18e)][_0x525bad(0x1d5)](_0x525bad(0x1d4))[_0x525bad(0x179)]({'view':_0x525bad(0x19d)});}[_0x296cea(0x1c9)](){const _0x59cb03=_0x296cea,_0x2a6779=this[_0x59cb03(0x17f)],_0x265da4=_0x2a6779[_0x59cb03(0x1df)][_0x59cb03(0x1b9)](_0x306952),_0x2fe6e2=new Set(),_0x2a69b3=new Set();_0x2a6779[_0x59cb03(0x1bf)][_0x59cb03(0x15d)][_0x59cb03(0x1a1)](_0x3f5c24=>{const _0x16220d=_0x59cb03;let _0x34f6e9=!0x1;for(const {name:_0x1ba7b2,data:_0x3f54c7}of _0x2a6779[_0x16220d(0x1bf)][_0x16220d(0x15d)][_0x16220d(0x183)][_0x16220d(0x192)]()){const {group:_0x3ddbbe,id:_0x491e89}=splitMarkerName(_0x1ba7b2);let _0x22e8d6=_0x3f54c7[_0x16220d(0x161)];if(_0x16220d(0x19d)!==_0x3ddbbe||!_0x22e8d6)continue;const _0x5c774b=_0x16220d(0x180)===_0x22e8d6[_0x16220d(0x1cf)][_0x16220d(0x171)];_0x5c774b||(_0x22e8d6=ct(_0x22e8d6,_0x2a6779[_0x16220d(0x1bf)]),!_0x22e8d6||_0x22e8d6[_0x16220d(0x1d8)]||!_0x3f54c7[_0x16220d(0x161)]||_0x22e8d6[_0x16220d(0x1be)](_0x3f54c7[_0x16220d(0x161)]))?_0x2a6779[_0x16220d(0x1bf)][_0x16220d(0x1c2)](_0x22e8d6)&&!_0x5c774b?this[_0x16220d(0x15e)]?_0x2fe6e2[_0x16220d(0x18f)](_0x1ba7b2):this[_0x16220d(0x1c6)](_0x1ba7b2,_0x491e89):(_0x2a69b3[_0x16220d(0x18f)](_0x1ba7b2),_0x2fe6e2[_0x16220d(0x1d9)](_0x1ba7b2),_0x3f5c24[_0x16220d(0x194)](_0x1ba7b2),_0x34f6e9=!0x0):(_0x3f5c24[_0x16220d(0x157)](_0x1ba7b2,{'range':_0x22e8d6}),_0x34f6e9=!0x0);}return _0x34f6e9;}),this['on'](_0x59cb03(0x1e3),(_0x7934f6,_0xf081f5,_0x4dbca4)=>{const _0x157d77=_0x59cb03;if(!_0x4dbca4&&_0x2fe6e2[_0x157d77(0x18d)])for(const _0xcad3c1 of _0x2fe6e2){const {id:_0x579a40}=splitMarkerName(_0xcad3c1);_0x2fe6e2[_0x157d77(0x1d9)](_0xcad3c1),_0x2a6779[_0x157d77(0x1bf)][_0x157d77(0x166)][_0x157d77(0x1b9)](_0xcad3c1)&&this[_0x157d77(0x1c6)](_0xcad3c1,_0x579a40);}}),this[_0x59cb03(0x16f)](_0x2a6779[_0x59cb03(0x1bf)][_0x59cb03(0x15d)],_0x59cb03(0x181),(_0x1ddd04,_0x5345a6)=>{const _0x5b0974=_0x59cb03;for(const {name:_0x2f8fc5,data:{newRange:_0x1176dd}}of _0x2a6779[_0x5b0974(0x1bf)][_0x5b0974(0x15d)][_0x5b0974(0x183)][_0x5b0974(0x192)]()){const {group:_0x59ae22,id:_0x9144a2}=splitMarkerName(_0x2f8fc5);if(_0x5b0974(0x19d)!==_0x59ae22)continue;const _0x73d633=_0x265da4[_0x5b0974(0x15a)](_0x9144a2),_0x3bdf4b=this[_0x5b0974(0x1cc)](_0x9144a2);_0x73d633&&(_0x73d633[_0x5b0974(0x1a5)]||_0x2a6779[_0x5b0974(0x19e)][_0x5b0974(0x1ad)][_0x5b0974(0x193)](_0x5b0974(0x15b),()=>{const _0xa378ad=_0x5b0974,_0x14da61=_0x2a6779[_0xa378ad(0x1df)][_0xa378ad(0x1b9)](_0x4425ca),_0x542ee9=_0x265da4[_0xa378ad(0x15c)][_0xa378ad(0x1b9)](_0x73d633)[_0xa378ad(0x1ad)];_0x14da61[_0xa378ad(0x185)](_0x542ee9)[_0xa378ad(0x170)]();},{'priority':_0x5b0974(0x164)}),_0x73d633[_0x5b0974(0x1a5)]=_0x3bdf4b||!!_0x1176dd),_0x1176dd||(_0x2a69b3[_0x5b0974(0x18f)](_0x2f8fc5),_0x2fe6e2[_0x5b0974(0x1d9)](_0x2f8fc5));}if(_0x5345a6[_0x5b0974(0x1a9)])for(const _0x45017f of _0x2a69b3){const {id:_0x4625f4}=splitMarkerName(_0x45017f),_0x307eb5=_0x265da4[_0x5b0974(0x15a)](_0x4625f4),_0x450639=this[_0x5b0974(0x1cc)](_0x4625f4);_0x2fe6e2[_0x5b0974(0x1d9)](_0x45017f),!_0x307eb5||_0x450639||_0x307eb5[_0x5b0974(0x18c)]||_0x307eb5[_0x5b0974(0x1b4)](new Date());}_0x2a69b3[_0x5b0974(0x1a4)]();});}[_0x296cea(0x195)](_0x300088){const _0x3e8026=_0x296cea,_0x4559a2=this[_0x3e8026(0x17f)],_0x1bd3ca=this[_0x3e8026(0x188)](_0x300088);return _0x4eaaaa(_0x4559a2[_0x3e8026(0x19e)],_0x1bd3ca);}[_0x296cea(0x1cb)](_0x3fce67){const _0x38a306=_0x296cea,_0x57832c=this[_0x38a306(0x188)](_0x3fce67);let _0xa6f050='',_0x40d703=!0x1;for(const _0x84cc9a of _0x57832c){const _0x2ca4b6=_0x84cc9a[_0x38a306(0x1c3)]();for(const _0x2538f5 of Array[_0x38a306(0x1af)](_0x2ca4b6[_0x38a306(0x1e1)]()))_0x2538f5['is'](_0x38a306(0x1b7))?(_0xa6f050&&_0x40d703&&(_0xa6f050+='\x20',_0x40d703=!0x1),_0xa6f050+=_0x2538f5[_0x38a306(0x1ba)]):_0x40d703=!0x0;_0x40d703=!0x0;}return _0xa6f050[_0x38a306(0x162)](0x0,0x96);}[_0x296cea(0x1e4)](_0x31df75,_0xc1bdd){const _0x385b50=_0x296cea,_0x227951=this[_0x385b50(0x17f)],_0x346d2a=_0x227951[_0x385b50(0x1df)][_0x385b50(0x1b9)](_0x306952);let _0x29030c=_0x346d2a[_0x385b50(0x15a)](_0xc1bdd);const _0x2eb74c=_0x227951[_0x385b50(0x1b8)][_0x385b50(0x1b9)](_0x385b50(0x165)),_0x23db9a=_0x227951[_0x385b50(0x1df)][_0x385b50(0x1b9)](_0x1112bf);if(_0x29030c&&(_0x29030c[_0x385b50(0x18c)]&&_0x29030c[_0x385b50(0x1b4)](null),_0x29030c[_0x385b50(0x1de)]))return _0x29030c;return!this[_0x385b50(0x188)](_0xc1bdd)[0x0][_0x385b50(0x1bb)]?_0x227951[_0x385b50(0x19e)][_0x385b50(0x1ad)][_0x385b50(0x193)](_0x385b50(0x15b),()=>{const _0x782cb=_0x385b50;if(_0x346d2a[_0x782cb(0x15a)](_0xc1bdd))return;const _0x40e275=_0x227951[_0x782cb(0x1df)][_0x782cb(0x1b9)](_0x4425ca);_0x29030c=_0x346d2a[_0x782cb(0x167)]({'channelId':_0x2eb74c,'threadId':_0xc1bdd,'target':()=>this[_0x782cb(0x195)](_0xc1bdd),'context':{'type':_0x782cb(0x1b3),'value':this[_0x782cb(0x1cb)](_0xc1bdd)}});const _0x35d659=_0x346d2a[_0x782cb(0x15c)][_0x782cb(0x1b9)](_0x29030c)[_0x782cb(0x1ad)],_0x17571b=_0x40e275[_0x782cb(0x185)](_0x35d659);_0x17571b&&_0x23db9a[_0x782cb(0x1b2)](_0x17571b);},{'priority':_0x385b50(0x164)}):_0x346d2a[_0x385b50(0x184)]({'channelId':_0x2eb74c,'threadId':_0xc1bdd})[_0x385b50(0x198)](_0x580b87=>{const _0x28c3e0=_0x385b50;if(_0x28c3e0(0x1b5)!==_0x227951[_0x28c3e0(0x178)]){if(_0x29030c=_0x580b87,_0x29030c&&!_0x29030c[_0x28c3e0(0x1de)]){const _0x19a2e1=_0x29030c[_0x28c3e0(0x17e)](()=>this[_0x28c3e0(0x195)](_0xc1bdd));_0x23db9a[_0x28c3e0(0x1b2)](_0x19a2e1),_0x29030c[_0x28c3e0(0x187)]&&this[_0x28c3e0(0x156)](_0xc1bdd);}else{if(!_0x29030c){const _0x54ff31=this[_0x28c3e0(0x188)](_0xc1bdd);_0x227951[_0x28c3e0(0x1bf)][_0x28c3e0(0x181)](_0x2532df=>{const _0x48718f=_0x28c3e0;for(const _0x2e7e69 of _0x54ff31)_0x2532df[_0x48718f(0x194)](_0x2e7e69);});}}}}),_0x29030c;}[_0x296cea(0x1c6)](_0x3d7538,_0x319e38){const _0x5a9b34=_0x296cea,_0x1b9d9b=this[_0x5a9b34(0x1e4)](_0x3d7538,_0x319e38);_0x1b9d9b&&!_0x1b9d9b[_0x5a9b34(0x191)]&&_0x1b9d9b[_0x5a9b34(0x168)]({'type':_0x5a9b34(0x1b3),'value':this[_0x5a9b34(0x1cb)](_0x319e38)});}[_0x296cea(0x1ce)](){const _0x169d51=_0x296cea,_0x4c1d5f=this[_0x169d51(0x17f)];_0x45e2ed(_0x4c1d5f[_0x169d51(0x1bf)],({left:_0x19bf7a,entered:_0x16ae01})=>{const _0x23b947=_0x169d51;for(const _0x3d4d5d of _0x19bf7a)if(mt(_0x3d4d5d)){_0x4c1d5f['ui'][_0x23b947(0x18b)][_0x23b947(0x1a6)](_0x53df23(_0x4c1d5f[_0x23b947(0x159)],_0x23b947(0x16a)));break;}for(const _0x452888 of _0x16ae01)if(mt(_0x452888)){_0x4c1d5f['ui'][_0x23b947(0x18b)][_0x23b947(0x1a6)](_0x53df23(_0x4c1d5f[_0x23b947(0x159)],_0x23b947(0x16e),_0x55eff7(_0xc049a2)));break;}});}}function at(_0x4afe99,_0x3116ad){return _0x3116ad?_0x4afe99+':'+_0x3116ad:_0x4afe99;}function _0x167d(){const _0x3ad9ae=['_threadToController','document','isThreadsLoadingPaused','editingDowncast','consume','newRange','substring','enqueueChange','low','collaboration.channelId','markers','openNewCommentThread','setContext','ck-comment-marker','LEAVE_COMMENT_ANNOUNCEMENT','ignoreResolvedComments','markerName','createRange','ENTER_COMMENT_ANNOUNCEMENT','listenTo','refreshVisibility','rootName','getWalker','consumable','getCommentThreads','$marker','455189LEHkyT','createElement','state','dataToMarker','name','_initializeMarkerConverters','dataDowncast','588045jOwPTM','attachTo','editor','$graveyard','change','_detachCommentThread','differ','fetchCommentThread','getByInnerView','2553088LeekNP','isResolved','getAllMarkersForId','markerToHighlight','hasCommentThread','ariaLiveAnnouncer','unlinkedAt','size','conversion','add','set','context','getChangedMarkers','once','removeMarker','_getTargetForId','removeCommentThread','3027NkEqVg','then','comment:','elementToElement','_attachArchivedThread','getAttribute','comment','editing','removeMarker:','10GLWTVW','registerPostFixer','switchReadOnly','init','clear','_hasTargetInContent','announce','activeMarker','group','isLocal','focus','length','startsWith','view','resolveCommentThread','from','schema','addComment','registerAnnotation','text','setUnlinkedAt','destroyed','destroy','$textProxy','config','get','data','managedUsingOperations','start','3437XzwxdC','isEqual','model','commands','requires','hasContent','getRange','change:isReadOnly','change:activeMarker','_handleThreadMarker','ck-comment-marker--active','ready','_handleMarkerAddAndRemove','item','_getTextContext','hasMarkerForId','9949032HToKoJ','_initAriaMarkerChangeAnnouncements','root','end','isObject','pluginName','scrollToThreadMarker','upcast','for','split','markerToData','isCollapsed','delete','11334waXkHy','hasDomSelection','CommentsEditing','_threads','isAttached','plugins','push','getItems','createPositionBefore','change:isThreadsLoadingPaused','_attachMarkerToThread','addCommentThread','affectsData','addMarker:','1929832lvPMpR','3036gVqmaU','reopenCommentThread','_reconvertMarkers','updateMarker','reconvertMarker','locale','getCommentThread','render'];_0x167d=function(){return _0x3ad9ae;};return _0x167d();}export function splitMarkerName(_0x130778){const _0x299a97=_0x296cea,_0x3d5a00=_0x130778[_0x299a97(0x1d6)](':');return{'group':_0x3d5a00[0x0],'id':_0x3d5a00[0x1],'part':_0x3d5a00[0x2]};}function ct(_0x23f4a4,_0x2348c3){const _0x3a2d05=_0x296cea,_0x1c9c38=_0x2348c3[_0x3a2d05(0x1b0)],_0x1501d2=_0x2348c3[_0x3a2d05(0x16d)](_0x23f4a4[_0x3a2d05(0x1bc)]);for(const _0x197a82 of _0x23f4a4[_0x3a2d05(0x172)]()){const {type:_0x5ed14,item:_0x24a69d,nextPosition:_0x14b715}=_0x197a82;if(_0x3a2d05(0x1b3)===_0x5ed14||_0x1c9c38[_0x3a2d05(0x1d1)](_0x24a69d)){const _0x1d8160=_0x2348c3[_0x3a2d05(0x1e2)](_0x24a69d);_0x1501d2[_0x3a2d05(0x1d8)]&&(_0x1501d2[_0x3a2d05(0x1bc)]=_0x1d8160),_0x1501d2[_0x3a2d05(0x1d0)]=_0x14b715;}}return _0x1501d2;}function mt(_0x14ed0b){const _0x32c5bc=_0x296cea;return _0x32c5bc(0x19d)===splitMarkerName(_0x14ed0b[_0x32c5bc(0x17a)])[_0x32c5bc(0x1a8)];}
|
|
23
|
+
const _0x4aeff2=_0x4dc0;(function(_0x6d3304,_0x3acad9){const _0x13eba7=_0x4dc0,_0x28dbad=_0x6d3304();while(!![]){try{const _0x1da24d=-parseInt(_0x13eba7(0x11d))/0x1+parseInt(_0x13eba7(0xe7))/0x2+parseInt(_0x13eba7(0x14f))/0x3+parseInt(_0x13eba7(0x11e))/0x4*(parseInt(_0x13eba7(0x140))/0x5)+parseInt(_0x13eba7(0x138))/0x6+parseInt(_0x13eba7(0xef))/0x7*(-parseInt(_0x13eba7(0x134))/0x8)+-parseInt(_0x13eba7(0x157))/0x9;if(_0x1da24d===_0x3acad9)break;else _0x28dbad['push'](_0x28dbad['shift']());}catch(_0x4d79a3){_0x28dbad['push'](_0x28dbad['shift']());}}}(_0x5c43,0x8f64f));import{Plugin as _0x313857}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x2adf33,scrollViewportToShowTarget as _0x1efc3e}from'ckeditor5/src/utils.js';import _0x56e16d from'./commentsrepository.js';import _0x4d4c26 from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x5dea57,getAllMarkersDomElementsSorted as _0x45edc7,FOCUS_ANNOTATION_KEYSTROKE as _0x329f91,Users as _0x44c627}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x283874 from'../annotations/editorannotations.js';import _0x4d8a2e from'./integrations/commentsrestrictededitingmode.js';import _0x1d4678 from'./integrations/importword.js';import _0x317e76 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x239409 from'../annotations/annotations.js';function _0x5c43(){const _0xd8dc8a=['rootName','root','reopenCommentThread','CommentsEditing','isResolved','updateMarker','addCommentThread','getChangedMarkers','hasMarkerForId','get','dataToMarker','comment','collaboration.channelId','$marker','80022cqAEyl','config','add','attachTo','group','text','from','hasContent','89558HCPIgT','commands','getRange','document','conversion','_attachMarkerToThread','createPositionBefore','newRange','name','getCommentThread','$graveyard','low','removeMarker','item','removeMarker:','start','hasDomSelection','resolveCommentThread','_initializeMarkerConverters','_attachArchivedThread','end','comment:','init','schema','unlinkedAt','affectsData','pluginName','announce','_threadToController','markerName','state','plugins','isThreadsLoadingPaused','_handleMarkerAddAndRemove','markerToData','change:isThreadsLoadingPaused','push','isLocal','registerPostFixer','markers','size','dataDowncast','_getTargetForId','author','ENTER_COMMENT_ANNOUNCEMENT','editingDowncast','652764FXxRag','227788lmfytO','once','first','destroy','change','context','getAllMarkersForId','addMarker:','_threads','substring','scrollToThreadMarker','enqueueChange','focus','upcast','isObject','render','hasCommentThread','fetchCommentThread','ck-comment-marker','refreshVisibility','setContext','LEAVE_COMMENT_ANNOUNCEMENT','704kfSLpN','change:activeMarker','activeMarker','destroyed','6313662OSTnUJ','getAttribute','model','isCollapsed','change:isReadOnly','clear','setUnlinkedAt','_initAriaMarkerChangeAnnouncements','35Xitbim','reconvertMarker','locale','switchReadOnly','createRange','comments','isEqual','listenTo','then','editor','set','consume','isAttached','for','getItems','2902365UZfGdA','_handleThreadMarker','length','markerToHighlight','managedUsingOperations','registerAnnotation','editing','delete','831537nzseyf','requires','startsWith','differ','removeCommentThread','$textProxy','_detachCommentThread','_hasTargetInContent','addComment','_reconvertMarkers','data','createElement','ck-comment-marker--active','ariaLiveAnnouncer','ignoreResolvedComments','_getTextContext','getCommentThreads','ready','view','openNewCommentThread','getByInnerView','split','getWalker','elementToElement','consumable'];_0x5c43=function(){return _0xd8dc8a;};return _0x5c43();}import{getTranslation as _0x306cf1}from'../utils/common-translations.js';function _0x4dc0(_0x2acfd4,_0x48e902){const _0x5c435d=_0x5c43();return _0x4dc0=function(_0x4dc074,_0x191731){_0x4dc074=_0x4dc074-0xc9;let _0x452517=_0x5c435d[_0x4dc074];return _0x452517;},_0x4dc0(_0x2acfd4,_0x48e902);}export default class r extends _0x313857{static get[_0x4aeff2(0x158)](){return[_0x56e16d,_0x283874,_0x44c627,_0x4d8a2e,_0x1d4678,_0x317e76];}static get[_0x4aeff2(0x109)](){const _0x38db6d=_0x4aeff2;return _0x38db6d(0xdc);}constructor(_0x5c93b1){const _0x498d0a=_0x4aeff2;super(_0x5c93b1),this[_0x498d0a(0x14a)](_0x498d0a(0x10f),!0x0),_0x5c93b1[_0x498d0a(0xca)][_0x498d0a(0x11f)](_0x498d0a(0xd1),()=>this[_0x498d0a(0x10f)]=!0x1),this[_0x498d0a(0x14a)](_0x498d0a(0x136),null),this['on'](_0x498d0a(0x135),(_0x2cd5d4,_0x56fb7a,_0x49c1e5,_0x27c3e9)=>{const _0x1addb8=_0x498d0a,_0x1981c1=_0x49c1e5?splitMarkerName(_0x49c1e5)['id']:null;if(_0x5c93b1[_0x1addb8(0x13a)][_0x1addb8(0x122)](()=>{const _0x1af651=_0x1addb8;if(_0x1981c1){const _0x270053=this[_0x1af651(0x124)](_0x1981c1);for(const _0x4b73d1 of _0x270053)_0x5c93b1[_0x1af651(0x155)][_0x1af651(0x141)](_0x4b73d1);}if(_0x27c3e9){const {id:_0x5c49b4}=splitMarkerName(_0x27c3e9),_0x5112e7=this[_0x1af651(0x124)](_0x5c49b4);for(const _0x61dadd of _0x5112e7)_0x5c93b1[_0x1af651(0x155)][_0x1af651(0x141)](_0x61dadd);}}),_0x1981c1){const _0xd78684=_0x5c93b1[_0x1addb8(0x10e)][_0x1addb8(0xe2)](_0x56e16d)[_0x1addb8(0xf8)](_0x1981c1);_0xd78684&&_0xd78684[_0x1addb8(0xdd)]&&this[_0x1addb8(0x128)](_0x1981c1);}}),this[_0x498d0a(0x13f)]();}[_0x4aeff2(0x105)](){const _0x2ae781=_0x4aeff2,_0x1e14fc=this[_0x2ae781(0x149)],_0x5eb739=_0x1e14fc[_0x2ae781(0x10e)][_0x2ae781(0xe2)](_0x56e16d),_0x347377=_0x1e14fc[_0x2ae781(0xe8)][_0x2ae781(0xe2)](_0x2ae781(0xe5));_0x1e14fc[_0x2ae781(0xf0)][_0x2ae781(0xe9)](_0x2ae781(0xdf),new _0x4d4c26(_0x1e14fc)),this[_0x2ae781(0x147)](_0x1e14fc,_0x2ae781(0x13c),(_0x4a7eaa,_0x19792a,_0x357df6)=>{const _0x4f5346=_0x2ae781;_0x5eb739[_0x4f5346(0x143)](_0x357df6,_0x1e14fc[_0x4f5346(0xe8)][_0x4f5346(0xe2)](_0x4f5346(0xe5)));}),this[_0x2ae781(0x147)](_0x5eb739,mt(_0x2ae781(0xdf),_0x347377),(_0x3b6160,{threadId:_0x439e07})=>{const _0x520d38=_0x2ae781,_0x6198c8=this[_0x520d38(0x149)][_0x520d38(0x10e)][_0x520d38(0xe2)](_0x56e16d)[_0x520d38(0xf8)](_0x439e07);_0x6198c8&&_0x6198c8[_0x520d38(0x107)]&&this[_0x520d38(0x102)](_0x439e07);}),this[_0x2ae781(0x147)](_0x5eb739,mt(_0x2ae781(0x15b),_0x347377),(_0x278c1f,{threadId:_0x25daee})=>{const _0x2391c8=_0x2ae781;_0x1e14fc[_0x2391c8(0x13a)][_0x2391c8(0x129)]({'isUndoable':!0x1},_0x9cf6fa=>{const _0x1055ae=_0x2391c8,_0x2aa5f8=this[_0x1055ae(0x124)](_0x25daee);for(const _0x1ca34a of _0x2aa5f8)_0x9cf6fa[_0x1055ae(0xfb)](_0x1ca34a);});}),this[_0x2ae781(0x147)](_0x5eb739,mt(_0x2ae781(0x100),_0x347377),(_0x189791,{threadId:_0x4940f0})=>{const _0xbe4101=_0x2ae781;(this[_0xbe4101(0xc9)](_0x4940f0),this[_0xbe4101(0x149)][_0xbe4101(0x155)][_0xbe4101(0xd2)][_0xbe4101(0xff)])&&(this[_0xbe4101(0x149)][_0xbe4101(0x10e)][_0xbe4101(0xe2)](_0x56e16d)[_0xbe4101(0xf8)](_0x4940f0)[_0xbe4101(0x107)]||this[_0xbe4101(0x149)][_0xbe4101(0x155)][_0xbe4101(0xd2)][_0xbe4101(0x12a)]());},{'priority':_0x2ae781(0xfa)}),this[_0x2ae781(0x147)](_0x5eb739,mt(_0x2ae781(0xdb),_0x347377),(_0x3b77f4,{threadId:_0x51c7e6})=>{const _0x2de50b=_0x2ae781;this[_0x2de50b(0xc9)](_0x51c7e6);},{'priority':_0x2ae781(0xfa)}),this[_0x2ae781(0x147)](_0x5eb739,mt(_0x2ae781(0x15f),_0x347377),(_0x5ad519,{threadId:_0x21fc78,isFromAdapter:_0xc82c23})=>{const _0x3b4baa=_0x2ae781,_0x2e8b5e=this[_0x3b4baa(0x124)](_0x21fc78);if(_0xc82c23||0x0==_0x2e8b5e[_0x3b4baa(0x151)]||!_0x5eb739[_0x3b4baa(0x12e)](_0x21fc78))return;0x1===_0x5eb739[_0x3b4baa(0xf8)](_0x21fc78)[_0x3b4baa(0x151)]&&_0x1e14fc[_0x3b4baa(0x13a)][_0x3b4baa(0x129)]({'isUndoable':!0x1},_0x35a668=>{const _0x4d9d6d=_0x3b4baa;for(const _0x5a2cf2 of _0x2e8b5e)_0x35a668[_0x4d9d6d(0xde)](_0x5a2cf2,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x2ae781(0xfa)}),this[_0x2ae781(0x101)](),this[_0x2ae781(0x110)]();}[_0x4aeff2(0x121)](){const _0x3e6112=_0x4aeff2,_0x1000f8=this[_0x3e6112(0x149)][_0x3e6112(0x10e)][_0x3e6112(0xe2)](_0x56e16d),_0x46dfe5=this[_0x3e6112(0x149)][_0x3e6112(0xe8)][_0x3e6112(0xe2)](_0x3e6112(0xe5));for(const _0x8d65f2 of _0x1000f8[_0x3e6112(0xd0)]({'channelId':_0x46dfe5}))_0x1000f8[_0x3e6112(0x15d)](_0x8d65f2['id']),_0x1000f8[_0x3e6112(0x126)][_0x3e6112(0x156)](_0x8d65f2['id']);super[_0x3e6112(0x121)]();}[_0x4aeff2(0xe1)](_0x48f6ad){const _0x426730=_0x4aeff2;return this[_0x426730(0x124)](_0x48f6ad)[_0x426730(0x151)]>0x0;}[_0x4aeff2(0x124)](_0x102a88){const _0x203b8e=_0x4aeff2,_0x1441a8=[];for(const _0x2c66a1 of this[_0x203b8e(0x149)][_0x203b8e(0x13a)][_0x203b8e(0x116)])_0x2c66a1[_0x203b8e(0xf7)][_0x203b8e(0x159)](_0x203b8e(0x104)+_0x102a88)&&_0x1441a8[_0x203b8e(0x113)](_0x2c66a1);return _0x1441a8;}[_0x4aeff2(0x128)](_0x45cc78){const _0x27bf1e=_0x4aeff2,_0x475aa5=this[_0x27bf1e(0x119)](_0x45cc78);_0x475aa5&&setTimeout(()=>{const _0x4bfb60=_0x27bf1e;this[_0x4bfb60(0x136)]&&splitMarkerName(this[_0x4bfb60(0x136)])['id']===_0x45cc78&&_0x1efc3e({'target':_0x475aa5[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x4aeff2(0xc9)](_0x15dd44){const _0x1f9fd2=_0x4aeff2;this[_0x1f9fd2(0x149)][_0x1f9fd2(0x13a)][_0x1f9fd2(0x122)](()=>{const _0x51a9c0=_0x1f9fd2;for(const _0x2766b6 of this[_0x51a9c0(0x124)](_0x15dd44))this[_0x51a9c0(0x149)][_0x51a9c0(0x155)][_0x51a9c0(0x141)](_0x2766b6);});}[_0x4aeff2(0x102)](_0x273183){const _0x2257b2=_0x4aeff2,_0x4f17fc=this[_0x2257b2(0x149)][_0x2257b2(0x10e)][_0x2257b2(0xe2)](_0x56e16d),_0x29bd5e=this[_0x2257b2(0x149)][_0x2257b2(0x10e)][_0x2257b2(0xe2)](_0x283874),_0x80c0d6=_0x4f17fc[_0x2257b2(0xf8)](_0x273183);if(!_0x80c0d6[_0x2257b2(0x14c)]){const _0x2f2b4a=_0x80c0d6[_0x2257b2(0xea)](()=>this[_0x2257b2(0x119)](_0x80c0d6['id']));_0x29bd5e[_0x2257b2(0x154)](_0x2f2b4a),_0x80c0d6[_0x2257b2(0x15e)]=!0x1;}}[_0x4aeff2(0x101)](){const _0x4b4376=_0x4aeff2,_0x49eaae=this[_0x4b4376(0x149)],_0x295a9b=_0x49eaae[_0x4b4376(0x10e)][_0x4b4376(0xe2)](_0x44c627);_0x49eaae[_0x4b4376(0xf3)][_0x4b4376(0x14d)](_0x4b4376(0x11c))[_0x4b4376(0x152)]({'model':_0x4b4376(0xe4),'view':(_0x59044a,_0x8906bf)=>{const _0xa844a4=_0x4b4376,{id:_0x20fa60}=splitMarkerName(_0x59044a[_0xa844a4(0x10c)]),_0x449f78=_0x49eaae[_0xa844a4(0x10e)][_0xa844a4(0xe2)](_0x56e16d)[_0xa844a4(0xf8)](_0x20fa60),_0x482fb5=this[_0xa844a4(0x136)]&&splitMarkerName(this[_0xa844a4(0x136)])['id']===_0x20fa60;let _0x39d550;if(_0x449f78&&_0x449f78[_0xa844a4(0xdd)]&&!_0x482fb5&&_0x59044a[_0xa844a4(0xfc)])return _0x8906bf[_0xa844a4(0xd8)][_0xa844a4(0x14b)](_0x59044a[_0xa844a4(0xfc)],_0xa844a4(0x125)+_0x59044a[_0xa844a4(0x10c)]),_0x8906bf[_0xa844a4(0xd8)][_0xa844a4(0x14b)](_0x59044a[_0xa844a4(0xfc)],_0xa844a4(0xfd)+_0x59044a[_0xa844a4(0x10c)]),null;const _0x411e8a=[_0xa844a4(0x130)];return _0x482fb5&&_0x411e8a[_0xa844a4(0x113)](_0xa844a4(0xcc)),_0x39d550=_0x449f78&&_0x449f78[_0xa844a4(0x151)]?_0x449f78[_0xa844a4(0x145)][_0xa844a4(0x120)][_0xa844a4(0x11a)]['id']:_0x295a9b['me']['id'],{'classes':_0x411e8a,'attributes':{'data-comment':_0x20fa60,'data-author-id':_0x39d550}};}}),_0x49eaae[_0x4b4376(0xf3)][_0x4b4376(0x14d)](_0x4b4376(0x118))[_0x4b4376(0x111)]({'model':_0x4b4376(0xe4),'view':(_0x2c5a79,{options:_0x36b43a})=>{const _0xe3345f=_0x4b4376,_0x256ec8=_0x49eaae[_0xe3345f(0x10e)][_0xe3345f(0xe2)](_0x56e16d),_0x5e3568=_0x49eaae[_0xe3345f(0x13a)][_0xe3345f(0x116)][_0xe3345f(0xe2)](_0x2c5a79),{id:_0x2a1e70,part:_0x1b283f}=splitMarkerName(_0x2c5a79);if(_0x5e3568&&!_0x5e3568[_0xe3345f(0x108)])return null;if(_0x36b43a[_0xe3345f(0xce)]){const _0x593e54=_0x256ec8[_0xe3345f(0xf8)](_0x2a1e70);if(_0x593e54&&_0x593e54[_0xe3345f(0xdd)])return null;}return{'group':_0xe3345f(0xe4),'name':_0x1b283f?_0x2a1e70+':'+_0x1b283f:_0x2a1e70};}}),_0x49eaae[_0x4b4376(0xf3)][_0x4b4376(0x14d)](_0x4b4376(0x12b))[_0x4b4376(0xd7)]({'view':{'name':_0x4b4376(0xe4),'attributes':{'id':/^\w/}},'model':(_0x222011,{writer:_0x134394})=>_0x134394[_0x4b4376(0xcb)](_0x4b4376(0xe6),{'data-name':_0x4b4376(0x104)+_0x222011[_0x4b4376(0x139)]('id')})}),_0x49eaae[_0x4b4376(0xf3)][_0x4b4376(0x14d)](_0x4b4376(0x12b))[_0x4b4376(0xe3)]({'view':_0x4b4376(0xe4)});}[_0x4aeff2(0x110)](){const _0x2c6a08=_0x4aeff2,_0x490ab6=this[_0x2c6a08(0x149)],_0xe4b1d4=_0x490ab6[_0x2c6a08(0x10e)][_0x2c6a08(0xe2)](_0x56e16d),_0x3b0add=new Set(),_0x4b0e71=new Set();_0x490ab6[_0x2c6a08(0x13a)][_0x2c6a08(0xf2)][_0x2c6a08(0x115)](_0x3941bd=>{const _0x3cdd76=_0x2c6a08;let _0x4c4ed8=!0x1;for(const {name:_0xefa77f,data:_0x5a2f}of _0x490ab6[_0x3cdd76(0x13a)][_0x3cdd76(0xf2)][_0x3cdd76(0x15a)][_0x3cdd76(0xe0)]()){const {group:_0x407faf,id:_0x1a5d00}=splitMarkerName(_0xefa77f);let _0x47146f=_0x5a2f[_0x3cdd76(0xf6)];if(_0x3cdd76(0xe4)!==_0x407faf||!_0x47146f)continue;const _0x1ae04a=_0x3cdd76(0xf9)===_0x47146f[_0x3cdd76(0xda)][_0x3cdd76(0xd9)];_0x1ae04a||(_0x47146f=dt(_0x47146f,_0x490ab6[_0x3cdd76(0x13a)]),!_0x47146f||_0x47146f[_0x3cdd76(0x13b)]||!_0x5a2f[_0x3cdd76(0xf6)]||_0x47146f[_0x3cdd76(0x146)](_0x5a2f[_0x3cdd76(0xf6)]))?_0x490ab6[_0x3cdd76(0x13a)][_0x3cdd76(0xee)](_0x47146f)&&!_0x1ae04a?this[_0x3cdd76(0x10f)]?_0x3b0add[_0x3cdd76(0xe9)](_0xefa77f):this[_0x3cdd76(0x150)](_0xefa77f,_0x1a5d00):(_0x4b0e71[_0x3cdd76(0xe9)](_0xefa77f),_0x3b0add[_0x3cdd76(0x156)](_0xefa77f),_0x3941bd[_0x3cdd76(0xfb)](_0xefa77f),_0x4c4ed8=!0x0):(_0x3941bd[_0x3cdd76(0xde)](_0xefa77f,{'range':_0x47146f}),_0x4c4ed8=!0x0);}return _0x4c4ed8;}),this['on'](_0x2c6a08(0x112),(_0x495a5b,_0xcb1c3b,_0x4892b0)=>{const _0x9504a1=_0x2c6a08;if(!_0x4892b0&&_0x3b0add[_0x9504a1(0x117)])for(const _0x39012a of _0x3b0add){const {id:_0x5cd192}=splitMarkerName(_0x39012a);_0x3b0add[_0x9504a1(0x156)](_0x39012a),_0x490ab6[_0x9504a1(0x13a)][_0x9504a1(0x116)][_0x9504a1(0xe2)](_0x39012a)&&this[_0x9504a1(0x150)](_0x39012a,_0x5cd192);}}),this[_0x2c6a08(0x147)](_0x490ab6[_0x2c6a08(0x13a)][_0x2c6a08(0xf2)],_0x2c6a08(0x122),(_0x5c5055,_0x9485e5)=>{const _0x536a20=_0x2c6a08;for(const {name:_0x13ebc4,data:{newRange:_0x55cbf6}}of _0x490ab6[_0x536a20(0x13a)][_0x536a20(0xf2)][_0x536a20(0x15a)][_0x536a20(0xe0)]()){const {group:_0x13101a,id:_0x5f5507}=splitMarkerName(_0x13ebc4);if(_0x536a20(0xe4)!==_0x13101a)continue;const _0x33cf3d=_0xe4b1d4[_0x536a20(0xf8)](_0x5f5507),_0x479e93=this[_0x536a20(0xe1)](_0x5f5507);_0x33cf3d&&(!_0x33cf3d[_0x536a20(0x15e)]&&_0x55cbf6&&_0x490ab6[_0x536a20(0x155)][_0x536a20(0xd2)][_0x536a20(0x11f)](_0x536a20(0x12d),()=>{const _0x427abc=_0x536a20,_0x3ddd05=_0x490ab6[_0x427abc(0x10e)][_0x427abc(0xe2)](_0x239409),_0x3eeb55=_0xe4b1d4[_0x427abc(0x10b)][_0x427abc(0xe2)](_0x33cf3d)[_0x427abc(0xd2)];_0x3ddd05[_0x427abc(0xd4)](_0x3eeb55)[_0x427abc(0x131)]();},{'priority':_0x536a20(0xfa)}),_0x33cf3d[_0x536a20(0x15e)]=_0x479e93||!!_0x55cbf6),_0x55cbf6||(_0x4b0e71[_0x536a20(0xe9)](_0x13ebc4),_0x3b0add[_0x536a20(0x156)](_0x13ebc4));}if(_0x9485e5[_0x536a20(0x114)])for(const _0x230c95 of _0x4b0e71){const {id:_0x204da9}=splitMarkerName(_0x230c95),_0x2e856f=_0xe4b1d4[_0x536a20(0xf8)](_0x204da9),_0x5a373f=this[_0x536a20(0xe1)](_0x204da9);_0x3b0add[_0x536a20(0x156)](_0x230c95),!_0x2e856f||_0x5a373f||_0x2e856f[_0x536a20(0x107)]||_0x2e856f[_0x536a20(0x13e)](new Date());}_0x4b0e71[_0x536a20(0x13d)]();});}[_0x4aeff2(0x119)](_0x15748b){const _0x5e2244=_0x4aeff2,_0xff6cc7=this[_0x5e2244(0x149)],_0x3883a4=this[_0x5e2244(0x124)](_0x15748b);return _0x45edc7(_0xff6cc7[_0x5e2244(0x155)],_0x3883a4);}[_0x4aeff2(0xcf)](_0x100307){const _0x411c8d=_0x4aeff2,_0x337011=this[_0x411c8d(0x124)](_0x100307);let _0x1a80ac='',_0x10733a=!0x1;for(const _0x177ded of _0x337011){const _0x427c68=_0x177ded[_0x411c8d(0xf1)]();for(const _0x3971b3 of Array[_0x411c8d(0xed)](_0x427c68[_0x411c8d(0x14e)]()))_0x3971b3['is'](_0x411c8d(0x15c))?(_0x1a80ac&&_0x10733a&&(_0x1a80ac+='\x20',_0x10733a=!0x1),_0x1a80ac+=_0x3971b3[_0x411c8d(0xca)]):_0x10733a=!0x0;_0x10733a=!0x0;}return _0x1a80ac[_0x411c8d(0x127)](0x0,0x96);}[_0x4aeff2(0xf4)](_0x13a00b,_0x319de1){const _0x2ec200=_0x4aeff2,_0x39f721=this[_0x2ec200(0x149)],_0x535a86=_0x39f721[_0x2ec200(0x10e)][_0x2ec200(0xe2)](_0x56e16d);let _0x5d78bd=_0x535a86[_0x2ec200(0xf8)](_0x319de1);const _0xf21d96=_0x39f721[_0x2ec200(0xe8)][_0x2ec200(0xe2)](_0x2ec200(0xe5)),_0x3f2efe=_0x39f721[_0x2ec200(0x10e)][_0x2ec200(0xe2)](_0x283874);if(_0x5d78bd&&(_0x5d78bd[_0x2ec200(0x107)]&&_0x5d78bd[_0x2ec200(0x13e)](null),_0x5d78bd[_0x2ec200(0x14c)]))return _0x5d78bd;return!this[_0x2ec200(0x124)](_0x319de1)[0x0][_0x2ec200(0x153)]?_0x39f721[_0x2ec200(0x155)][_0x2ec200(0xd2)][_0x2ec200(0x11f)](_0x2ec200(0x12d),()=>{const _0x4acdba=_0x2ec200;if(_0x535a86[_0x4acdba(0xf8)](_0x319de1))return;const _0x569101=_0x39f721[_0x4acdba(0x10e)][_0x4acdba(0xe2)](_0x239409);_0x5d78bd=_0x535a86[_0x4acdba(0xd3)]({'channelId':_0xf21d96,'threadId':_0x319de1,'target':()=>this[_0x4acdba(0x119)](_0x319de1),'context':{'type':_0x4acdba(0xec),'value':this[_0x4acdba(0xcf)](_0x319de1)}});const _0x166f91=_0x535a86[_0x4acdba(0x10b)][_0x4acdba(0xe2)](_0x5d78bd)[_0x4acdba(0xd2)],_0x1d4726=_0x569101[_0x4acdba(0xd4)](_0x166f91);_0x1d4726&&_0x3f2efe[_0x4acdba(0x154)](_0x1d4726);},{'priority':_0x2ec200(0xfa)}):_0x535a86[_0x2ec200(0x12f)]({'channelId':_0xf21d96,'threadId':_0x319de1})[_0x2ec200(0x148)](_0x21d8cb=>{const _0x4d5e63=_0x2ec200;if(_0x4d5e63(0x137)!==_0x39f721[_0x4d5e63(0x10d)]){if(_0x5d78bd=_0x21d8cb,_0x5d78bd&&!_0x5d78bd[_0x4d5e63(0x14c)]){const _0xb19c47=_0x5d78bd[_0x4d5e63(0xea)](()=>this[_0x4d5e63(0x119)](_0x319de1));_0x3f2efe[_0x4d5e63(0x154)](_0xb19c47),_0x5d78bd[_0x4d5e63(0xdd)]&&this[_0x4d5e63(0xc9)](_0x319de1);}else{if(!_0x5d78bd){const _0xb7b4cd=this[_0x4d5e63(0x124)](_0x319de1);_0x39f721[_0x4d5e63(0x13a)][_0x4d5e63(0x122)](_0x42a1b5=>{const _0x74f690=_0x4d5e63;for(const _0x1dea1a of _0xb7b4cd)_0x42a1b5[_0x74f690(0xfb)](_0x1dea1a);});}}}}),_0x5d78bd;}[_0x4aeff2(0x150)](_0x248235,_0x789b95){const _0x5be55f=_0x4aeff2,_0x5dbba5=this[_0x5be55f(0xf4)](_0x248235,_0x789b95);_0x5dbba5&&!_0x5dbba5[_0x5be55f(0x123)]&&_0x5dbba5[_0x5be55f(0x132)]({'type':_0x5be55f(0xec),'value':this[_0x5be55f(0xcf)](_0x789b95)});}[_0x4aeff2(0x13f)](){const _0x17f363=_0x4aeff2,_0xd67084=this[_0x17f363(0x149)];_0x5dea57(_0xd67084[_0x17f363(0x13a)],({left:_0x2c2b32,entered:_0x406a50})=>{const _0x555550=_0x17f363;for(const _0x34593b of _0x2c2b32)if(ht(_0x34593b)){_0xd67084['ui'][_0x555550(0xcd)][_0x555550(0x10a)](_0x306cf1(_0xd67084[_0x555550(0x142)],_0x555550(0x133)));break;}for(const _0x38d552 of _0x406a50)if(ht(_0x38d552)){_0xd67084['ui'][_0x555550(0xcd)][_0x555550(0x10a)](_0x306cf1(_0xd67084[_0x555550(0x142)],_0x555550(0x11b),_0x2adf33(_0x329f91)));break;}});}}function mt(_0x2f63ae,_0x1d2b2e){return _0x1d2b2e?_0x2f63ae+':'+_0x1d2b2e:_0x2f63ae;}export function splitMarkerName(_0x592e46){const _0x129619=_0x4aeff2,_0x344bfc=_0x592e46[_0x129619(0xd5)](':');return{'group':_0x344bfc[0x0],'id':_0x344bfc[0x1],'part':_0x344bfc[0x2]};}function dt(_0xbe2b21,_0x52bb3f){const _0x3dee87=_0x4aeff2,_0x171dac=_0x52bb3f[_0x3dee87(0x106)],_0x6a087a=_0x52bb3f[_0x3dee87(0x144)](_0xbe2b21[_0x3dee87(0xfe)]);for(const _0x4dc943 of _0xbe2b21[_0x3dee87(0xd6)]()){const {type:_0x218ef7,item:_0xfbf69e,nextPosition:_0x4939eb}=_0x4dc943;if(_0x3dee87(0xec)===_0x218ef7||_0x171dac[_0x3dee87(0x12c)](_0xfbf69e)){const _0x488707=_0x52bb3f[_0x3dee87(0xf5)](_0xfbf69e);_0x6a087a[_0x3dee87(0x13b)]&&(_0x6a087a[_0x3dee87(0xfe)]=_0x488707),_0x6a087a[_0x3dee87(0x103)]=_0x4939eb;}}return _0x6a087a;}function ht(_0x446104){const _0x4154bf=_0x4aeff2;return _0x4154bf(0xe4)===splitMarkerName(_0x446104[_0x4154bf(0xf7)])[_0x4154bf(0xeb)];}
|
|
@@ -866,18 +866,6 @@ export type AddCommentEvent = {
|
|
|
866
866
|
name: string;
|
|
867
867
|
args: [CommentEventData];
|
|
868
868
|
};
|
|
869
|
-
/**
|
|
870
|
-
* An event fired when the user pressed Escape key while the comment thread was focused.
|
|
871
|
-
*/
|
|
872
|
-
export type CommentThreadEscapeEvent = {
|
|
873
|
-
name: string;
|
|
874
|
-
args: [
|
|
875
|
-
{
|
|
876
|
-
threadId: string;
|
|
877
|
-
channelId: string | symbol;
|
|
878
|
-
}
|
|
879
|
-
];
|
|
880
|
-
};
|
|
881
869
|
/**
|
|
882
870
|
* @param commentId The comment ID.
|
|
883
871
|
* @param authorId ID of the comment author.
|