@ckeditor/ckeditor5-comments 47.7.0 → 47.7.1-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/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +19 -19
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3d0509=_0x27e7;(function(_0x27bb69,_0x4192a1){const _0x3ffee3=_0x27e7,_0xadde3b=_0x27bb69();while(!![]){try{const _0x3df3e3=-parseInt(_0x3ffee3(0xe0))/0x1*(parseInt(_0x3ffee3(0xdb))/0x2)+parseInt(_0x3ffee3(0xd5))/0x3+parseInt(_0x3ffee3(0xca))/0x4*(-parseInt(_0x3ffee3(0xac))/0x5)+-parseInt(_0x3ffee3(0xe7))/0x6*(parseInt(_0x3ffee3(0xa5))/0x7)+parseInt(_0x3ffee3(0xcf))/0x8+parseInt(_0x3ffee3(0xe2))/0x9+parseInt(_0x3ffee3(0xef))/0xa;if(_0x3df3e3===_0x4192a1)break;else _0xadde3b['push'](_0xadde3b['shift']());}catch(_0x575821){_0xadde3b['push'](_0xadde3b['shift']());}}}(_0x26a5,0x32f92));import{ContextPlugin as _0x250249}from'ckeditor5/src/core.js';import{Rect as _0x344c03,CKEditorError as _0x182155}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x53571}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x1705de}from'./view/sidebaritemview.js';export class Sidebar extends _0x250249{[_0x3d0509(0xbf)];[_0x3d0509(0xd8)];[_0x3d0509(0xb2)];[_0x3d0509(0xba)];[_0x3d0509(0xc1)];[_0x3d0509(0xb4)];[_0x3d0509(0xbd)];static get[_0x3d0509(0xdc)](){const _0x131529=_0x3d0509;return _0x131529(0xc6);}static get[_0x3d0509(0xbb)](){return!0x0;}static get[_0x3d0509(0xf3)](){return!0x0;}constructor(_0x1e65b6){const _0x1adb77=_0x3d0509;super(_0x1e65b6),this[_0x1adb77(0x9e)](_0x1adb77(0xa8),void 0x0),this[_0x1adb77(0xbf)]=this[_0x1adb77(0xd6)](),this[_0x1adb77(0x9e)](_0x1adb77(0xd2),null),this[_0x1adb77(0xba)]=0x19,this[_0x1adb77(0xc1)]=new Map(),this[_0x1adb77(0xb4)]=new Map(),this[_0x1adb77(0xa6)][_0x1adb77(0xa0)][_0x1adb77(0xe5)](_0x1adb77(0xb7),!0x1),this[_0x1adb77(0xb2)]=null,this[_0x1adb77(0xd8)]=null,this[_0x1adb77(0xbd)]=[];}[_0x3d0509(0xa9)](){const _0x47d223=_0x3d0509,_0x58986b=this[_0x47d223(0xa6)][_0x47d223(0xa0)][_0x47d223(0xc8)](_0x47d223(0xf4));_0x58986b&&this[_0x47d223(0xee)](_0x58986b);}[_0x3d0509(0xee)](_0x148921){const _0x1f3d86=_0x3d0509;if(!g(_0x148921))throw new _0x182155(_0x1f3d86(0xcd));this[_0x1f3d86(0xd2)]=_0x148921;}[_0x3d0509(0xd4)]({viewClass:_0x16cbdf='',spaceBetweenItems:_0xd21079=0x19}={}){const _0xe47356=_0x3d0509;if(!g(this[_0xe47356(0xd2)]))throw new _0x182155(_0xe47356(0xf5),this);this[_0xe47356(0xd2)][_0xe47356(0xaa)](this[_0xe47356(0xbf)][_0xe47356(0xf2)]),this[_0xe47356(0xbf)][_0xe47356(0xf8)]=_0x16cbdf,this[_0xe47356(0xba)]=_0xd21079;}[_0x3d0509(0xbe)]({removedAnnotation:_0x2613ed,previousAnnotation:_0x5075a8,nextAnnotation:_0x3cf0e0}){const _0x121836=_0x3d0509,_0x47bc65=this[_0x121836(0xa4)](_0x2613ed);this[_0x121836(0xbf)][_0x121836(0xea)][_0x121836(0xda)](_0x47bc65),this[_0x121836(0xc9)](_0x2613ed),_0x5075a8&&this[_0x121836(0xed)](this[_0x121836(0xa4)](_0x5075a8)),_0x3cf0e0&&this[_0x121836(0xed)](this[_0x121836(0xa4)](_0x3cf0e0)),this[_0x121836(0xc7)]();}[_0x3d0509(0xe6)]({blurredAnnotation:_0x45e8ab,activatedAnnotation:_0x5565c0,disableAnimationOnActivatedAnnotation:_0x51cc9b}){const _0x560f9f=_0x3d0509;if(this[_0x560f9f(0xd8)]=_0x5565c0,_0x45e8ab){_0x45e8ab[_0x560f9f(0xeb)]=!0x1;const _0x3242fd=this[_0x560f9f(0xa4)](_0x45e8ab);_0x3242fd&&_0x51cc9b&&(_0x3242fd[_0x560f9f(0xab)]=!0x1);}if(_0x5565c0){const _0x5e168d=this[_0x560f9f(0xa4)](_0x5565c0);_0x5e168d&&(_0x5565c0[_0x560f9f(0xeb)]=!0x0,_0x51cc9b&&(_0x5e168d[_0x560f9f(0xab)]=!0x0,_0x5e168d[_0x560f9f(0xa1)]+=0x1),this[_0x560f9f(0xed)](_0x5e168d));}}[_0x3d0509(0xa3)](_0x33aa00){const _0x504f57=_0x3d0509;if(this[_0x504f57(0xbf)][_0x504f57(0xf2)][_0x504f57(0xda)](),_0x33aa00){for(const _0x272b57 of _0x33aa00)this[_0x504f57(0xc9)](_0x272b57);}this[_0x504f57(0xbf)][_0x504f57(0xea)][_0x504f57(0xf0)](),this[_0x504f57(0xbf)][_0x504f57(0xf8)]='',this[_0x504f57(0xa8)]=null;}[_0x3d0509(0xcb)](_0x15deec,_0x2d6d2a){const _0x2b55ae=_0x3d0509;_0x2d6d2a||(_0x2d6d2a=_0x15deec[_0x2b55ae(0xbf)]);const _0x799187=new _0x1705de(this[_0x2b55ae(0xa6)][_0x2b55ae(0xf7)]);this[_0x2b55ae(0xc1)][_0x2b55ae(0x9e)](_0x799187,_0x15deec),this[_0x2b55ae(0xb4)][_0x2b55ae(0x9e)](_0x15deec,_0x799187),_0x799187[_0x2b55ae(0xe4)][_0x2b55ae(0xde)](_0x2d6d2a),this[_0x2b55ae(0xdf)](_0x15deec[_0x2b55ae(0xbf)],_0x2b55ae(0xec),(_0x509c1e,_0x16e8d1,_0x595faa)=>{const _0x15bff5=_0x2b55ae,_0x58b041=this[_0x15bff5(0xc0)](_0x15deec,_0x595faa);_0x799187[_0x15bff5(0xce)]!=_0x58b041&&(_0x799187[_0x15bff5(0xce)]=_0x58b041,this[_0x15bff5(0xa7)](_0x799187,_0x58b041));}),this[_0x2b55ae(0xdf)](_0x799187,_0x2b55ae(0xaf),()=>{const _0x226849=_0x2b55ae;this[_0x226849(0xb5)](_0x799187,_0x226849(0xa1));}),this[_0x2b55ae(0xdf)](_0x799187,_0x2b55ae(0xd1),()=>{const _0x4a4db1=_0x2b55ae;this[_0x4a4db1(0xb5)](_0x799187,_0x4a4db1(0xc3));}),this[_0x2b55ae(0xed)](_0x799187);const _0x1aa218=this[_0x2b55ae(0xb9)](_0x799187);if(_0x1aa218)this[_0x2b55ae(0xf6)](_0x1aa218,_0x799187)||this[_0x2b55ae(0xed)](_0x799187);else this[_0x2b55ae(0xed)](_0x799187);return this[_0x2b55ae(0xc7)](),this[_0x2b55ae(0xbf)][_0x2b55ae(0xea)][_0x2b55ae(0xde)](_0x799187),_0x799187;}[_0x3d0509(0xb3)](_0x183ab9){const _0x1a1fdc=_0x3d0509;if(!_0x183ab9[_0x1a1fdc(0xe4)][_0x1a1fdc(0xcc)])return;const _0x47264d=this[_0x1a1fdc(0xb9)](_0x183ab9);if(!_0x47264d)return;const _0x9cfee2=this[_0x1a1fdc(0xc1)][_0x1a1fdc(0xc8)](_0x47264d),_0x58b362=this[_0x1a1fdc(0xd8)];_0x58b362&&_0x58b362===_0x9cfee2?this[_0x1a1fdc(0xf6)](_0x47264d,_0x183ab9):this[_0x1a1fdc(0xae)](_0x183ab9,_0x47264d);}[_0x3d0509(0xb6)](_0x490957){const _0x3361b0=_0x3d0509;if(!_0x490957[_0x3361b0(0xe4)][_0x3361b0(0xcc)])return;const _0x573d2b=this[_0x3361b0(0xb8)](_0x490957);if(!_0x573d2b)return;const _0x4e395f=this[_0x3361b0(0xc1)][_0x3361b0(0xc8)](_0x573d2b),_0x492b4a=this[_0x3361b0(0xa6)][_0x3361b0(0xa0)][_0x3361b0(0xc8)](_0x3361b0(0xb7)),_0x2ad2fa=this[_0x3361b0(0xd8)];_0x2ad2fa&&_0x2ad2fa===_0x4e395f&&_0x492b4a?(this[_0x3361b0(0xae)](_0x573d2b,_0x490957),this[_0x3361b0(0xf6)](_0x490957,_0x573d2b)):_0x2ad2fa&&_0x2ad2fa===_0x4e395f?this[_0x3361b0(0xae)](_0x573d2b,_0x490957):this[_0x3361b0(0xf6)](_0x490957,_0x573d2b);}[_0x3d0509(0xb5)](_0x106ee8,_0x44a84f){const _0x1e8558=_0x3d0509;0x0===this[_0x1e8558(0xbd)][_0x1e8558(0xcc)]&&setTimeout(()=>{const _0x33a611=_0x1e8558;for(const {sidebarItemView:_0x2ef8c3,changedProp:_0x7d4e20}of this[_0x33a611(0xbd)])_0x33a611(0xa1)===_0x7d4e20?this[_0x33a611(0xb3)](_0x2ef8c3):this[_0x33a611(0xb6)](_0x2ef8c3);this[_0x33a611(0xbd)]=[];},0xa),this[_0x1e8558(0xbd)][_0x1e8558(0x9f)]({'sidebarItemView':_0x106ee8,'changedProp':_0x44a84f});}[_0x3d0509(0xa4)](_0x1ab152){const _0x7caeaa=_0x3d0509;return this[_0x7caeaa(0xb4)][_0x7caeaa(0xc8)](_0x1ab152);}[_0x3d0509(0xdd)](){const _0x3b2fdd=_0x3d0509;this[_0x3b2fdd(0xc5)](),this[_0x3b2fdd(0xbf)][_0x3b2fdd(0xdd)]();}[_0x3d0509(0xc9)](_0x358222){const _0x47e645=_0x3d0509,_0x40379c=this[_0x47e645(0xa4)](_0x358222);this[_0x47e645(0xc5)](_0x40379c),this[_0x47e645(0xc5)](_0x358222[_0x47e645(0xbf)]),_0x40379c[_0x47e645(0xdd)](),this[_0x47e645(0xb4)][_0x47e645(0xf1)](_0x358222),this[_0x47e645(0xc1)][_0x47e645(0xf1)](_0x40379c);}[_0x3d0509(0xd6)](){const _0x3e3fd9=_0x3d0509,_0x181b36=new _0x53571(this[_0x3e3fd9(0xa6)][_0x3e3fd9(0xf7)]);return _0x181b36[_0x3e3fd9(0xc4)](),this['on'](_0x3e3fd9(0xc2),(_0x2241fe,_0x43dcba,_0x130970,_0xbf6be2)=>{const _0x57e9f0=_0x3e3fd9;_0xbf6be2&&_0x181b36[_0x57e9f0(0xbc)](_0x57e9f0(0xb0)),_0x130970?_0x181b36[_0x57e9f0(0xe9)](_0x57e9f0(0xb0))['to'](_0x130970,_0x57e9f0(0xc3)):_0x181b36[_0x57e9f0(0xb0)]=null;}),_0x181b36;}[_0x3d0509(0xc7)](){const _0x1ac1f4=_0x3d0509;this[_0x1ac1f4(0xa8)]=this[_0x1ac1f4(0xb2)]?.[_0x1ac1f4(0xe3)]?this[_0x1ac1f4(0xa4)](this[_0x1ac1f4(0xb2)][_0x1ac1f4(0xe3)]):null;}[_0x3d0509(0xb9)](_0x11b276){const _0x2a3ee0=_0x3d0509,_0x2832f1=this[_0x2a3ee0(0xc1)][_0x2a3ee0(0xc8)](_0x11b276),_0x4704cb=_0x2832f1&&this[_0x2a3ee0(0xb2)]?.[_0x2a3ee0(0xc8)](this[_0x2a3ee0(0xb2)][_0x2a3ee0(0xd3)](_0x2832f1)-0x1);return _0x4704cb&&this[_0x2a3ee0(0xa4)](_0x4704cb)||null;}[_0x3d0509(0xb8)](_0x5688d7){const _0x31cfc5=_0x3d0509,_0x23f55a=this[_0x31cfc5(0xc1)][_0x31cfc5(0xc8)](_0x5688d7),_0x43d990=_0x23f55a&&this[_0x31cfc5(0xb2)]?.[_0x31cfc5(0xc8)](this[_0x31cfc5(0xb2)][_0x31cfc5(0xd3)](_0x23f55a)+0x1);return _0x43d990&&this[_0x31cfc5(0xa4)](_0x43d990)||null;}[_0x3d0509(0xae)](_0x458f07,_0x599508){const _0x4459f5=_0x3d0509;_0x458f07[_0x4459f5(0xe1)]();const _0x1075a8=G(_0x599508[_0x4459f5(0xc3)]+this[_0x4459f5(0xba)],_0x458f07[_0x4459f5(0xa1)]);return!!_0x1075a8&&(this[_0x4459f5(0xa7)](_0x599508,_0x599508[_0x4459f5(0xa1)]-_0x1075a8),!0x0);}[_0x3d0509(0xf6)](_0x11fbf6,_0x30f50d){const _0x14693b=_0x3d0509;_0x11fbf6[_0x14693b(0xe1)]();const _0x1352de=G(_0x11fbf6[_0x14693b(0xc3)]+this[_0x14693b(0xba)],_0x30f50d[_0x14693b(0xa1)]);return!!_0x1352de&&(this[_0x14693b(0xa7)](_0x30f50d,_0x30f50d[_0x14693b(0xa1)]+_0x1352de,!0x1),!0x0);}[_0x3d0509(0xed)](_0x45b373){const _0x47c27a=_0x3d0509,_0x2e376d=this[_0x47c27a(0xc1)][_0x47c27a(0xc8)](_0x45b373);if(!_0x2e376d||!_0x2e376d[_0x47c27a(0xad)]||!_0x2e376d[_0x47c27a(0xa2)])return;const _0x2fc547=this[_0x47c27a(0xc0)](_0x2e376d,_0x2e376d[_0x47c27a(0xa2)]);this[_0x47c27a(0xa7)](_0x45b373,_0x2fc547);}[_0x3d0509(0xc0)](_0x41b0eb,_0x5ac8e9){const _0x165b37=_0x3d0509;if(null===_0x5ac8e9)return 0x0;if(_0x41b0eb[_0x165b37(0xad)]instanceof _0x344c03)return _0x5ac8e9[_0x165b37(0xa1)];{const _0x12e4b1=new _0x344c03(this[_0x165b37(0xbf)][_0x165b37(0xf2)])[_0x165b37(0xa1)];return _0x5ac8e9[_0x165b37(0xa1)]-_0x12e4b1;}}[_0x3d0509(0xa7)](_0x5107e0,_0x61cdcc,_0xd1dd09=this[_0x3d0509(0xa6)][_0x3d0509(0xa0)][_0x3d0509(0xc8)](_0x3d0509(0xb7))){const _0x4a0e06=_0x3d0509;_0xd1dd09&&(_0x61cdcc=Math[_0x4a0e06(0xd0)](_0x61cdcc,this[_0x4a0e06(0xb1)](_0x5107e0))),_0x5107e0[_0x4a0e06(0xa1)]=_0x61cdcc;}[_0x3d0509(0xb1)](_0x1adb1a){const _0x513243=_0x3d0509;let _0x55cc15=this[_0x513243(0xb9)](_0x1adb1a),_0x19b524=0x0;for(;_0x55cc15;)_0x55cc15[_0x513243(0xe1)](),_0x19b524+=this[_0x513243(0xba)]+_0x55cc15[_0x513243(0xd9)],_0x55cc15=this[_0x513243(0xb9)](_0x55cc15);return _0x19b524;}}function G(_0x497ece,_0x7546ac){const _0x2418dd=_0x3d0509;return Math[_0x2418dd(0xd0)](_0x497ece-_0x7546ac,0x0);}function g(_0x451048){const _0x424edf=_0x3d0509;return null!==_0x451048&&_0x424edf(0xe8)==typeof _0x451048&&0x1===_0x451048[_0x424edf(0xd7)];}function _0x27e7(_0x2e9311,_0x5ae7ee){const _0x26a5db=_0x26a5();return _0x27e7=function(_0x27e7b4,_0x621276){_0x27e7b4=_0x27e7b4-0x9e;let _0x2fca45=_0x26a5db[_0x27e7b4];return _0x2fca45;},_0x27e7(_0x2e9311,_0x5ae7ee);}function _0x26a5(){const _0x8a67b0=['_targetTop','827912BXaoiN','max','change:bottom','container','getIndex','_attachToContainer','1063323ONkfvx','_createSidebarView','nodeType','_activeAnnotation','height','remove','14608QVKGOC','pluginName','destroy','add','listenTo','32sJEkod','updateHeight','3283488HPNsYN','last','content','define','refresh','202680vKguPN','object','bind','list','isActive','change:targetRect','_alignToTargetRect','setContainer','250620mXSCnE','clear','delete','element','isPremiumPlugin','sidebar.container','sidebar-attachtocontainer-missing-container','_alignAfterItem','locale','class','set','push','config','top','targetRect','_detachFromContainer','getSidebarItemView','14JdxGMA','context','_setItemTop','_lastItem','init','appendChild','isAnimationDisabled','6755zKWTev','target','_alignBeforeItem','change:top','minHeight','_getMaxAvailableTop','_annotations','_alignForTopChange','_annotationToSidebarItemView','_recalculate','_alignForBottomChange','sidebar.preventScrollOutOfView','_getItemAfter','_getItemBefore','_spaceBetweenItems','isOfficialPlugin','unbind','_recalculateBuffer','rearrange','view','_getTargetTop','_sidebarItemViewToAnnotation','change:_lastItem','bottom','render','stopListening','Sidebar','_updateLastItem','get','_destroySidebarItemView','1000DGeaKy','addAnnotation','length','sidebar-setcontainer-invalid-element'];_0x26a5=function(){return _0x8a67b0;};return _0x26a5();}
|
|
23
|
+
const _0x3d71d9=_0x55e1;(function(_0x2832b3,_0x594009){const _0x22646f=_0x55e1,_0x2cf74d=_0x2832b3();while(!![]){try{const _0x4f70d8=-parseInt(_0x22646f(0x1c7))/0x1+-parseInt(_0x22646f(0x1d4))/0x2+parseInt(_0x22646f(0x18e))/0x3*(-parseInt(_0x22646f(0x1d2))/0x4)+parseInt(_0x22646f(0x1d6))/0x5*(parseInt(_0x22646f(0x1c1))/0x6)+-parseInt(_0x22646f(0x1da))/0x7+parseInt(_0x22646f(0x1ca))/0x8*(parseInt(_0x22646f(0x1b7))/0x9)+parseInt(_0x22646f(0x1a8))/0xa;if(_0x4f70d8===_0x594009)break;else _0x2cf74d['push'](_0x2cf74d['shift']());}catch(_0x38c45a){_0x2cf74d['push'](_0x2cf74d['shift']());}}}(_0x35b9,0xaa577));function _0x35b9(){const _0x53ea3c=['minHeight','nodeType','sidebar.preventScrollOutOfView','_getItemAfter','set','bottom','_alignForBottomChange','top','_detachFromContainer','bind','sidebar.container','_alignAfterItem','_annotations','_setItemTop','init','change:targetRect','_recalculateBuffer','Sidebar','container','object','get','class','setContainer','_alignToTargetRect','26234140DKTuoU','push','element','remove','sidebar-setcontainer-invalid-element','_annotationToSidebarItemView','unbind','_destroySidebarItemView','last','_attachToContainer','addAnnotation','add','isPremiumPlugin','locale','_recalculate','5634rnZvtH','length','height','_updateLastItem','_createSidebarView','pluginName','isOfficialPlugin','listenTo','define','rearrange','6ygZbVo','delete','change:bottom','_getItemBefore','change:_lastItem','_spaceBetweenItems','235726KxNJfo','clear','max','5552TrywIH','appendChild','targetRect','_alignForTopChange','_getTargetTop','config','change:top','stopListening','14780jOXvQw','_getMaxAvailableTop','2699922iKAoSv','refresh','1059095WSOPqF','destroy','_activeAnnotation','_lastItem','5377862yYXnJJ','content','context','list','getSidebarItemView','updateHeight','isActive','target','getIndex','render','_targetTop','_alignBeforeItem','_sidebarItemViewToAnnotation','isAnimationDisabled','sidebar-attachtocontainer-missing-container','177eEgDAz','view'];_0x35b9=function(){return _0x53ea3c;};return _0x35b9();}import{ContextPlugin as _0x51615f}from'ckeditor5/src/core.js';import{Rect as _0x269898,CKEditorError as _0x48e580}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x543f85}from'./view/sidebarview.js';function _0x55e1(_0x32e5e6,_0x33f3d4){const _0x35b97f=_0x35b9();return _0x55e1=function(_0x55e183,_0x5a15e2){_0x55e183=_0x55e183-0x181;let _0x529442=_0x35b97f[_0x55e183];return _0x529442;},_0x55e1(_0x32e5e6,_0x33f3d4);}import{AnnotationsSidebarItemView as _0x29c924}from'./view/sidebaritemview.js';export class Sidebar extends _0x51615f{[_0x3d71d9(0x18f)];[_0x3d71d9(0x1d8)];[_0x3d71d9(0x19c)];[_0x3d71d9(0x1c6)];[_0x3d71d9(0x18b)];[_0x3d71d9(0x1ad)];[_0x3d71d9(0x1a0)];static get[_0x3d71d9(0x1bc)](){const _0x5d8150=_0x3d71d9;return _0x5d8150(0x1a1);}static get[_0x3d71d9(0x1bd)](){return!0x0;}static get[_0x3d71d9(0x1b4)](){return!0x0;}constructor(_0x357cc4){const _0x367943=_0x3d71d9;super(_0x357cc4),this[_0x367943(0x194)](_0x367943(0x1d9),void 0x0),this[_0x367943(0x18f)]=this[_0x367943(0x1bb)](),this[_0x367943(0x194)](_0x367943(0x1a2),null),this[_0x367943(0x1c6)]=0x19,this[_0x367943(0x18b)]=new Map(),this[_0x367943(0x1ad)]=new Map(),this[_0x367943(0x181)][_0x367943(0x1cf)][_0x367943(0x1bf)](_0x367943(0x192),!0x1),this[_0x367943(0x19c)]=null,this[_0x367943(0x1d8)]=null,this[_0x367943(0x1a0)]=[];}[_0x3d71d9(0x19e)](){const _0x1b0f30=_0x3d71d9,_0x21d3f5=this[_0x1b0f30(0x181)][_0x1b0f30(0x1cf)][_0x1b0f30(0x1a4)](_0x1b0f30(0x19a));_0x21d3f5&&this[_0x1b0f30(0x1a6)](_0x21d3f5);}[_0x3d71d9(0x1a6)](_0x1bf917){const _0x54c204=_0x3d71d9;if(!g(_0x1bf917))throw new _0x48e580(_0x54c204(0x1ac));this[_0x54c204(0x1a2)]=_0x1bf917;}[_0x3d71d9(0x1b1)]({viewClass:_0x3c82fb='',spaceBetweenItems:_0x130934=0x19}={}){const _0x136c70=_0x3d71d9;if(!g(this[_0x136c70(0x1a2)]))throw new _0x48e580(_0x136c70(0x18d),this);this[_0x136c70(0x1a2)][_0x136c70(0x1cb)](this[_0x136c70(0x18f)][_0x136c70(0x1aa)]),this[_0x136c70(0x18f)][_0x136c70(0x1a5)]=_0x3c82fb,this[_0x136c70(0x1c6)]=_0x130934;}[_0x3d71d9(0x1c0)]({removedAnnotation:_0xa2a884,previousAnnotation:_0x2677e8,nextAnnotation:_0x2b663f}){const _0x495613=_0x3d71d9,_0x33fd58=this[_0x495613(0x183)](_0xa2a884);this[_0x495613(0x18f)][_0x495613(0x182)][_0x495613(0x1ab)](_0x33fd58),this[_0x495613(0x1af)](_0xa2a884),_0x2677e8&&this[_0x495613(0x1a7)](this[_0x495613(0x183)](_0x2677e8)),_0x2b663f&&this[_0x495613(0x1a7)](this[_0x495613(0x183)](_0x2b663f)),this[_0x495613(0x1ba)]();}[_0x3d71d9(0x1d5)]({blurredAnnotation:_0x2c9b12,activatedAnnotation:_0x37b77f,disableAnimationOnActivatedAnnotation:_0x38868c}){const _0x33ad0e=_0x3d71d9;if(this[_0x33ad0e(0x1d8)]=_0x37b77f,_0x2c9b12){_0x2c9b12[_0x33ad0e(0x185)]=!0x1;const _0x7b4f9f=this[_0x33ad0e(0x183)](_0x2c9b12);_0x7b4f9f&&_0x38868c&&(_0x7b4f9f[_0x33ad0e(0x18c)]=!0x1);}if(_0x37b77f){const _0x435d1c=this[_0x33ad0e(0x183)](_0x37b77f);_0x435d1c&&(_0x37b77f[_0x33ad0e(0x185)]=!0x0,_0x38868c&&(_0x435d1c[_0x33ad0e(0x18c)]=!0x0,_0x435d1c[_0x33ad0e(0x197)]+=0x1),this[_0x33ad0e(0x1a7)](_0x435d1c));}}[_0x3d71d9(0x198)](_0x2267b8){const _0x34f5dd=_0x3d71d9;if(this[_0x34f5dd(0x18f)][_0x34f5dd(0x1aa)][_0x34f5dd(0x1ab)](),_0x2267b8){for(const _0x57f92e of _0x2267b8)this[_0x34f5dd(0x1af)](_0x57f92e);}this[_0x34f5dd(0x18f)][_0x34f5dd(0x182)][_0x34f5dd(0x1c8)](),this[_0x34f5dd(0x18f)][_0x34f5dd(0x1a5)]='',this[_0x34f5dd(0x1d9)]=null;}[_0x3d71d9(0x1b2)](_0x52cd3f,_0x493c3c){const _0xee1aca=_0x3d71d9;_0x493c3c||(_0x493c3c=_0x52cd3f[_0xee1aca(0x18f)]);const _0x3e4951=new _0x29c924(this[_0xee1aca(0x181)][_0xee1aca(0x1b5)]);this[_0xee1aca(0x18b)][_0xee1aca(0x194)](_0x3e4951,_0x52cd3f),this[_0xee1aca(0x1ad)][_0xee1aca(0x194)](_0x52cd3f,_0x3e4951),_0x3e4951[_0xee1aca(0x1db)][_0xee1aca(0x1b3)](_0x493c3c),this[_0xee1aca(0x1be)](_0x52cd3f[_0xee1aca(0x18f)],_0xee1aca(0x19f),(_0x5dd62c,_0x38441d,_0xf682c4)=>{const _0xb4409b=_0xee1aca,_0x341582=this[_0xb4409b(0x1ce)](_0x52cd3f,_0xf682c4);_0x3e4951[_0xb4409b(0x189)]!=_0x341582&&(_0x3e4951[_0xb4409b(0x189)]=_0x341582,this[_0xb4409b(0x19d)](_0x3e4951,_0x341582));}),this[_0xee1aca(0x1be)](_0x3e4951,_0xee1aca(0x1d0),()=>{const _0x51d750=_0xee1aca;this[_0x51d750(0x1b6)](_0x3e4951,_0x51d750(0x197));}),this[_0xee1aca(0x1be)](_0x3e4951,_0xee1aca(0x1c3),()=>{const _0x208684=_0xee1aca;this[_0x208684(0x1b6)](_0x3e4951,_0x208684(0x195));}),this[_0xee1aca(0x1a7)](_0x3e4951);const _0x45657e=this[_0xee1aca(0x1c4)](_0x3e4951);if(_0x45657e)this[_0xee1aca(0x19b)](_0x45657e,_0x3e4951)||this[_0xee1aca(0x1a7)](_0x3e4951);else this[_0xee1aca(0x1a7)](_0x3e4951);return this[_0xee1aca(0x1ba)](),this[_0xee1aca(0x18f)][_0xee1aca(0x182)][_0xee1aca(0x1b3)](_0x3e4951),_0x3e4951;}[_0x3d71d9(0x1cd)](_0x2cc04b){const _0x25c6f0=_0x3d71d9;if(!_0x2cc04b[_0x25c6f0(0x1db)][_0x25c6f0(0x1b8)])return;const _0x2365de=this[_0x25c6f0(0x1c4)](_0x2cc04b);if(!_0x2365de)return;const _0xf52cd9=this[_0x25c6f0(0x18b)][_0x25c6f0(0x1a4)](_0x2365de),_0x17b55a=this[_0x25c6f0(0x1d8)];_0x17b55a&&_0x17b55a===_0xf52cd9?this[_0x25c6f0(0x19b)](_0x2365de,_0x2cc04b):this[_0x25c6f0(0x18a)](_0x2cc04b,_0x2365de);}[_0x3d71d9(0x196)](_0x314331){const _0x13d13c=_0x3d71d9;if(!_0x314331[_0x13d13c(0x1db)][_0x13d13c(0x1b8)])return;const _0x5a4c7c=this[_0x13d13c(0x193)](_0x314331);if(!_0x5a4c7c)return;const _0x4b8ee4=this[_0x13d13c(0x18b)][_0x13d13c(0x1a4)](_0x5a4c7c),_0x59df17=this[_0x13d13c(0x181)][_0x13d13c(0x1cf)][_0x13d13c(0x1a4)](_0x13d13c(0x192)),_0x32978a=this[_0x13d13c(0x1d8)];_0x32978a&&_0x32978a===_0x4b8ee4&&_0x59df17?(this[_0x13d13c(0x18a)](_0x5a4c7c,_0x314331),this[_0x13d13c(0x19b)](_0x314331,_0x5a4c7c)):_0x32978a&&_0x32978a===_0x4b8ee4?this[_0x13d13c(0x18a)](_0x5a4c7c,_0x314331):this[_0x13d13c(0x19b)](_0x314331,_0x5a4c7c);}[_0x3d71d9(0x1b6)](_0x2f6008,_0x2a43bd){const _0x3bd944=_0x3d71d9;0x0===this[_0x3bd944(0x1a0)][_0x3bd944(0x1b8)]&&setTimeout(()=>{const _0x58017f=_0x3bd944;for(const {sidebarItemView:_0x55d667,changedProp:_0x37695d}of this[_0x58017f(0x1a0)])_0x58017f(0x197)===_0x37695d?this[_0x58017f(0x1cd)](_0x55d667):this[_0x58017f(0x196)](_0x55d667);this[_0x58017f(0x1a0)]=[];},0xa),this[_0x3bd944(0x1a0)][_0x3bd944(0x1a9)]({'sidebarItemView':_0x2f6008,'changedProp':_0x2a43bd});}[_0x3d71d9(0x183)](_0x1a7406){const _0x1b2257=_0x3d71d9;return this[_0x1b2257(0x1ad)][_0x1b2257(0x1a4)](_0x1a7406);}[_0x3d71d9(0x1d7)](){const _0x48b4f3=_0x3d71d9;this[_0x48b4f3(0x1d1)](),this[_0x48b4f3(0x18f)][_0x48b4f3(0x1d7)]();}[_0x3d71d9(0x1af)](_0x4db937){const _0x4ff45f=_0x3d71d9,_0x398154=this[_0x4ff45f(0x183)](_0x4db937);this[_0x4ff45f(0x1d1)](_0x398154),this[_0x4ff45f(0x1d1)](_0x4db937[_0x4ff45f(0x18f)]),_0x398154[_0x4ff45f(0x1d7)](),this[_0x4ff45f(0x1ad)][_0x4ff45f(0x1c2)](_0x4db937),this[_0x4ff45f(0x18b)][_0x4ff45f(0x1c2)](_0x398154);}[_0x3d71d9(0x1bb)](){const _0x199dbc=_0x3d71d9,_0x23fd37=new _0x543f85(this[_0x199dbc(0x181)][_0x199dbc(0x1b5)]);return _0x23fd37[_0x199dbc(0x188)](),this['on'](_0x199dbc(0x1c5),(_0x2e95b3,_0xc80092,_0x369609,_0x4d597a)=>{const _0x21a598=_0x199dbc;_0x4d597a&&_0x23fd37[_0x21a598(0x1ae)](_0x21a598(0x190)),_0x369609?_0x23fd37[_0x21a598(0x199)](_0x21a598(0x190))['to'](_0x369609,_0x21a598(0x195)):_0x23fd37[_0x21a598(0x190)]=null;}),_0x23fd37;}[_0x3d71d9(0x1ba)](){const _0x2e5e2b=_0x3d71d9;this[_0x2e5e2b(0x1d9)]=this[_0x2e5e2b(0x19c)]?.[_0x2e5e2b(0x1b0)]?this[_0x2e5e2b(0x183)](this[_0x2e5e2b(0x19c)][_0x2e5e2b(0x1b0)]):null;}[_0x3d71d9(0x1c4)](_0x45012c){const _0x5304b8=_0x3d71d9,_0x51c105=this[_0x5304b8(0x18b)][_0x5304b8(0x1a4)](_0x45012c),_0x144667=_0x51c105&&this[_0x5304b8(0x19c)]?.[_0x5304b8(0x1a4)](this[_0x5304b8(0x19c)][_0x5304b8(0x187)](_0x51c105)-0x1);return _0x144667&&this[_0x5304b8(0x183)](_0x144667)||null;}[_0x3d71d9(0x193)](_0x1f7715){const _0x1b5560=_0x3d71d9,_0x32a016=this[_0x1b5560(0x18b)][_0x1b5560(0x1a4)](_0x1f7715),_0x1db9d5=_0x32a016&&this[_0x1b5560(0x19c)]?.[_0x1b5560(0x1a4)](this[_0x1b5560(0x19c)][_0x1b5560(0x187)](_0x32a016)+0x1);return _0x1db9d5&&this[_0x1b5560(0x183)](_0x1db9d5)||null;}[_0x3d71d9(0x18a)](_0x15ed6b,_0x40aa15){const _0x3a41f5=_0x3d71d9;_0x15ed6b[_0x3a41f5(0x184)]();const _0x2365b1=G(_0x40aa15[_0x3a41f5(0x195)]+this[_0x3a41f5(0x1c6)],_0x15ed6b[_0x3a41f5(0x197)]);return!!_0x2365b1&&(this[_0x3a41f5(0x19d)](_0x40aa15,_0x40aa15[_0x3a41f5(0x197)]-_0x2365b1),!0x0);}[_0x3d71d9(0x19b)](_0xf6c13,_0x1febd6){const _0x2850ed=_0x3d71d9;_0xf6c13[_0x2850ed(0x184)]();const _0x25bc8c=G(_0xf6c13[_0x2850ed(0x195)]+this[_0x2850ed(0x1c6)],_0x1febd6[_0x2850ed(0x197)]);return!!_0x25bc8c&&(this[_0x2850ed(0x19d)](_0x1febd6,_0x1febd6[_0x2850ed(0x197)]+_0x25bc8c,!0x1),!0x0);}[_0x3d71d9(0x1a7)](_0x24f986){const _0x220f6a=_0x3d71d9,_0x47e041=this[_0x220f6a(0x18b)][_0x220f6a(0x1a4)](_0x24f986);if(!_0x47e041||!_0x47e041[_0x220f6a(0x186)]||!_0x47e041[_0x220f6a(0x1cc)])return;const _0x358900=this[_0x220f6a(0x1ce)](_0x47e041,_0x47e041[_0x220f6a(0x1cc)]);this[_0x220f6a(0x19d)](_0x24f986,_0x358900);}[_0x3d71d9(0x1ce)](_0x223540,_0x58e6d2){const _0x2f93f6=_0x3d71d9;if(null===_0x58e6d2)return 0x0;if(_0x223540[_0x2f93f6(0x186)]instanceof _0x269898)return _0x58e6d2[_0x2f93f6(0x197)];{const _0x401f50=new _0x269898(this[_0x2f93f6(0x18f)][_0x2f93f6(0x1aa)])[_0x2f93f6(0x197)];return _0x58e6d2[_0x2f93f6(0x197)]-_0x401f50;}}[_0x3d71d9(0x19d)](_0x5db6e0,_0xac6fee,_0x2cb884=this[_0x3d71d9(0x181)][_0x3d71d9(0x1cf)][_0x3d71d9(0x1a4)](_0x3d71d9(0x192))){const _0xefd7dc=_0x3d71d9;_0x2cb884&&(_0xac6fee=Math[_0xefd7dc(0x1c9)](_0xac6fee,this[_0xefd7dc(0x1d3)](_0x5db6e0))),_0x5db6e0[_0xefd7dc(0x197)]=_0xac6fee;}[_0x3d71d9(0x1d3)](_0x36eeff){const _0x2dff39=_0x3d71d9;let _0x1f4ca4=this[_0x2dff39(0x1c4)](_0x36eeff),_0x10be28=0x0;for(;_0x1f4ca4;)_0x1f4ca4[_0x2dff39(0x184)](),_0x10be28+=this[_0x2dff39(0x1c6)]+_0x1f4ca4[_0x2dff39(0x1b9)],_0x1f4ca4=this[_0x2dff39(0x1c4)](_0x1f4ca4);return _0x10be28;}}function G(_0x2745b4,_0x5347f6){const _0x143869=_0x3d71d9;return Math[_0x143869(0x1c9)](_0x2745b4-_0x5347f6,0x0);}function g(_0x32d8ae){const _0x39fde1=_0x3d71d9;return null!==_0x32d8ae&&_0x39fde1(0x1a3)==typeof _0x32d8ae&&0x1===_0x32d8ae[_0x39fde1(0x191)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x30e0(_0x3d1f88,_0x4b2a90){const _0x40d2eb=_0x40d2();return _0x30e0=function(_0x30e092,_0x24ba1e){_0x30e092=_0x30e092-0x14c;let _0x3ee2bc=_0x40d2eb[_0x30e092];return _0x3ee2bc;},_0x30e0(_0x3d1f88,_0x4b2a90);}const _0x2c333a=_0x30e0;(function(_0x28f0a6,_0x327eae){const _0x511642=_0x30e0,_0x2e793a=_0x28f0a6();while(!![]){try{const _0x4891ee=-parseInt(_0x511642(0x166))/0x1*(-parseInt(_0x511642(0x152))/0x2)+parseInt(_0x511642(0x169))/0x3+parseInt(_0x511642(0x167))/0x4*(parseInt(_0x511642(0x14f))/0x5)+-parseInt(_0x511642(0x164))/0x6*(parseInt(_0x511642(0x168))/0x7)+-parseInt(_0x511642(0x14e))/0x8+parseInt(_0x511642(0x15e))/0x9+parseInt(_0x511642(0x157))/0xa*(-parseInt(_0x511642(0x153))/0xb);if(_0x4891ee===_0x327eae)break;else _0x2e793a['push'](_0x2e793a['shift']());}catch(_0x5f2550){_0x2e793a['push'](_0x2e793a['shift']());}}}(_0x40d2,0x42b2e));import{ButtonView as _0x4b3ed7,View as _0x124555}from'ckeditor5/src/ui.js';import{IconAddComment as _0x45340a}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x4b3ed7{[_0x2c333a(0x150)];constructor(_0x568442){const _0x898290=_0x2c333a;super(_0x568442);const _0x1b5190=this[_0x898290(0x154)];this[_0x898290(0x15d)](_0x898290(0x158),!0x1),this[_0x898290(0x15d)](_0x898290(0x14d),0x0),this[_0x898290(0x161)](_0x898290(0x163))['to'](this,_0x898290(0x158),this,_0x898290(0x14d),(_0x41d33a,_0xfb78cd)=>_0x41d33a?_0x898290(0x159):_0xfb78cd[_0x898290(0x155)]()),this[_0x898290(0x15d)](_0x898290(0x15b),''),this[_0x898290(0x151)]=_0x45340a,this[_0x898290(0x14c)]({'attributes':{'class':[_0x898290(0x156)]}}),this[_0x898290(0x150)]=new _0x124555(),this[_0x898290(0x150)][_0x898290(0x15a)]({'tag':_0x898290(0x15f),'attributes':{'class':[_0x898290(0x162),_0x1b5190['to'](_0x898290(0x15b),_0xedbb46=>_0x898290(0x16a)+_0xedbb46),_0x1b5190['if'](_0x898290(0x158),_0x898290(0x15c))]},'children':[{'text':_0x1b5190['to'](_0x898290(0x163))}]}),this[_0x898290(0x160)][_0x898290(0x165)](this[_0x898290(0x150)]);}}function _0x40d2(){const _0x5de493=['6nWupsV','add','3568pGIRTp','8328XPqXtM','2299339RwgVoQ','1127310nfHSyp','ck-annotation-counter__badge--','extendTemplate','number','2068584dUVSsx','310HTXASf','counterView','icon','250INonkX','143wezEWI','bindTemplate','toString','ck-annotation-counter','386330MQRcDE','isDirty','...','setTemplate','annotationType','ck-annotation-counter__badge--edit-mode','set','3704607bHVfJB','span','children','bind','ck-annotation-counter__badge','_badge'];_0x40d2=function(){return _0x5de493;};return _0x40d2();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1076ad=_0xeda0;(function(_0x587457,_0x466d4b){const _0x23c663=_0xeda0,_0x52c541=_0x587457();while(!![]){try{const _0x1e5ec6=-parseInt(_0x23c663(0x162))/0x1+parseInt(_0x23c663(0x15a))/0x2+parseInt(_0x23c663(0x13d))/0x3*(-parseInt(_0x23c663(0x166))/0x4)+parseInt(_0x23c663(0x13e))/0x5+parseInt(_0x23c663(0x14e))/0x6+parseInt(_0x23c663(0x14c))/0x7+-parseInt(_0x23c663(0x164))/0x8;if(_0x1e5ec6===_0x466d4b)break;else _0x52c541['push'](_0x52c541['shift']());}catch(_0x7dbe37){_0x52c541['push'](_0x52c541['shift']());}}}(_0x49ec,0x7c31f));function _0xeda0(_0x5485ab,_0x4468c9){const _0x49ecf5=_0x49ec();return _0xeda0=function(_0xeda030,_0x70eb43){_0xeda030=_0xeda030-0x13d;let _0x59fb74=_0x49ecf5[_0xeda030];return _0x59fb74;},_0xeda0(_0x5485ab,_0x4468c9);}import{View as _0x2d0e9d}from'ckeditor5/src/ui.js';import{FocusTracker as _0x810ab4,KeystrokeHandler as _0x5e57de,uid as _0x116f07}from'ckeditor5/src/utils.js';function _0x49ec(){const _0xf836f9=['arrowdown','clientHeight','first','ck-annotation-wrapper','ck-rounded-corners','546142ghmZxi','focusTracker','4722864skcsNO','keystrokes','44ERaaMk','length','delegate','listenTo','36189SJPrlp','2164165SNQbdC','_updateHeight','targetRect','content','div','arrowup','bindTemplate','presentation','type','focus','clear','_mutationObserver','element','height','2442741OZWnBF','ck-annotation-wrapper--active','1360596OgKBIa','set','add','render','destroy','mainView','setTemplate','isDirty','fire','createCollection','Esc','detach','1538668UPErMm','attach','isActive'];_0x49ec=function(){return _0xf836f9;};return _0x49ec();}import{createMutationObserver as _0x12bbba}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0x2d0e9d{[_0x1076ad(0x163)];['id'];[_0x1076ad(0x165)];[_0x1076ad(0x141)];[_0x1076ad(0x153)];[_0x1076ad(0x149)];constructor(_0x5a7909,_0x56face){const _0x1adce8=_0x1076ad;super(_0x5a7909),this['id']=_0x116f07(),this[_0x1adce8(0x163)]=new _0x810ab4(),this[_0x1adce8(0x165)]=new _0x5e57de(),this[_0x1adce8(0x165)][_0x1adce8(0x14f)](_0x1adce8(0x158),(_0x42c2c7,_0x583c24)=>this[_0x1adce8(0x156)](_0x1adce8(0x158),_0x583c24)),this[_0x1adce8(0x14f)](_0x1adce8(0x140),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x1adce8(0x14f)](_0x1adce8(0x14b),0x0),this[_0x1adce8(0x14f)](_0x1adce8(0x15c),!0x1),this[_0x1adce8(0x14f)](_0x1adce8(0x155),!0x1),this[_0x1adce8(0x14f)](_0x1adce8(0x167),0x0),this[_0x1adce8(0x14f)](_0x1adce8(0x146),''),this[_0x1adce8(0x149)]=_0x12bbba(()=>this[_0x1adce8(0x13f)]()),this[_0x1adce8(0x141)]=this[_0x1adce8(0x157)](),this[_0x1adce8(0x141)][_0x1adce8(0x168)](_0x1adce8(0x143),_0x1adce8(0x15d))['to'](this),this[_0x1adce8(0x141)][_0x1adce8(0x150)](_0x56face),this[_0x1adce8(0x153)]=_0x56face;const _0x4d978f=this[_0x1adce8(0x144)];this[_0x1adce8(0x154)]({'tag':_0x1adce8(0x142),'attributes':{'class':['ck',_0x1adce8(0x160),_0x1adce8(0x161),_0x4d978f['if'](_0x1adce8(0x15c),_0x1adce8(0x14d))],'role':_0x1adce8(0x145)},'children':this[_0x1adce8(0x141)]});}[_0x1076ad(0x151)](){const _0xde304e=_0x1076ad;super[_0xde304e(0x151)](),this[_0xde304e(0x163)][_0xde304e(0x150)](this[_0xde304e(0x14a)]),this[_0xde304e(0x165)][_0xde304e(0x169)](this[_0xde304e(0x14a)]),this[_0xde304e(0x149)][_0xde304e(0x15b)](this[_0xde304e(0x14a)]);}[_0x1076ad(0x152)](){const _0x5fd798=_0x1076ad;this[_0x5fd798(0x141)][_0x5fd798(0x148)](),this[_0x5fd798(0x165)][_0x5fd798(0x152)](),this[_0x5fd798(0x163)][_0x5fd798(0x152)](),this[_0x5fd798(0x149)][_0x5fd798(0x159)](),super[_0x5fd798(0x152)]();}[_0x1076ad(0x147)](){const _0x1351f2=_0x1076ad;this[_0x1351f2(0x141)][_0x1351f2(0x15f)]&&this[_0x1351f2(0x141)][_0x1351f2(0x15f)][_0x1351f2(0x147)]();}[_0x1076ad(0x13f)](){const _0x49791a=_0x1076ad,_0xff504d=this[_0x49791a(0x14a)][_0x49791a(0x15e)];_0xff504d&&(this[_0x49791a(0x14b)]=_0xff504d);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x5ceece=_0x187c;(function(_0xba62dc,_0x42afd6){const _0x4e95ba=_0x187c,_0xb2e078=_0xba62dc();while(!![]){try{const _0x4eabc2=-parseInt(_0x4e95ba(0x95))/0x1+parseInt(_0x4e95ba(0x7e))/0x2*(parseInt(_0x4e95ba(0x83))/0x3)+-parseInt(_0x4e95ba(0x81))/0x4+parseInt(_0x4e95ba(0x88))/0x5*(parseInt(_0x4e95ba(0x97))/0x6)+parseInt(_0x4e95ba(0x9e))/0x7*(parseInt(_0x4e95ba(0x87))/0x8)+-parseInt(_0x4e95ba(0x84))/0x9+-parseInt(_0x4e95ba(0x82))/0xa;if(_0x4eabc2===_0x42afd6)break;else _0xb2e078['push'](_0xb2e078['shift']());}catch(_0x38468b){_0xb2e078['push'](_0xb2e078['shift']());}}}(_0x56af,0x6b042));function _0x187c(_0x148f03,_0x399fc1){const _0x56af71=_0x56af();return _0x187c=function(_0x187c8b,_0xf946c7){_0x187c8b=_0x187c8b-0x7d;let _0x45e523=_0x56af71[_0x187c8b];return _0x45e523;},_0x187c(_0x148f03,_0x399fc1);}function _0x56af(){const _0x5b8734=['div','updateHeight','40WQLKRD','3853910LBqAqm','set','render','ck-sidebar-item--no-animation','createCollection','top','ck-sidebar-item','setTemplate','clear','element','attach','bottom','height','237963BPtgEg','presentation','6aykLSk','bind','first','bindTemplate','_mutationObserver','content','arrowdown','134624uFHOXL','isAnimationDisabled','_targetTop','arrowup','delegate','destroy','focus','10rNkLwh','clientHeight','detach','3066704kbZvhm','1200650XiiCuc','447657FoToMv','449955OrIDXA'];_0x56af=function(){return _0x5b8734;};return _0x56af();}import{View as _0x251de2}from'ckeditor5/src/ui.js';import{toUnit as _0x36e897}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x2ffc9e}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x36e897('px');export class AnnotationsSidebarItemView extends _0x251de2{[_0x5ceece(0x9c)];[_0x5ceece(0xa0)];[_0x5ceece(0x9b)];constructor(_0x34f614){const _0x3dfd2d=_0x5ceece;super(_0x34f614),this[_0x3dfd2d(0x89)](_0x3dfd2d(0x8d),0x0),this[_0x3dfd2d(0x89)](_0x3dfd2d(0x94),0x0),this[_0x3dfd2d(0x98)](_0x3dfd2d(0x93))['to'](this,_0x3dfd2d(0x8d),this,_0x3dfd2d(0x94),(_0x1b3d46,_0x3f5818)=>_0x1b3d46+_0x3f5818),this[_0x3dfd2d(0x89)](_0x3dfd2d(0x9f),!0x1),this[_0x3dfd2d(0x9b)]=_0x2ffc9e(()=>this[_0x3dfd2d(0x86)]()),this[_0x3dfd2d(0xa0)]=null,this[_0x3dfd2d(0x9c)]=this[_0x3dfd2d(0x8c)](),this[_0x3dfd2d(0x9c)][_0x3dfd2d(0xa2)](_0x3dfd2d(0xa1),_0x3dfd2d(0x9d))['to'](this);const _0x4010dc=this[_0x3dfd2d(0x9a)];this[_0x3dfd2d(0x8f)]({'tag':_0x3dfd2d(0x85),'attributes':{'class':[_0x3dfd2d(0x8e),_0x4010dc['to'](_0x3dfd2d(0x9f),_0x21a0d9=>_0x21a0d9?_0x3dfd2d(0x8b):'')],'style':{'top':_0x4010dc['to'](_0x3dfd2d(0x8d),_0x30d19a=>Ot(_0x30d19a))},'role':_0x3dfd2d(0x96)},'children':this[_0x3dfd2d(0x9c)]});}[_0x5ceece(0x8a)](){const _0x8391cc=_0x5ceece;super[_0x8391cc(0x8a)](),this[_0x8391cc(0x9b)][_0x8391cc(0x92)](this[_0x8391cc(0x91)]);}[_0x5ceece(0x7d)](){const _0x1a58e9=_0x5ceece;this[_0x1a58e9(0x9c)][_0x1a58e9(0x99)]&&this[_0x1a58e9(0x9c)][_0x1a58e9(0x99)][_0x1a58e9(0x7d)]();}[_0x5ceece(0x86)](){const _0x5b096e=_0x5ceece,_0x4af13f=this[_0x5b096e(0x91)][_0x5b096e(0x7f)];_0x4af13f&&(this[_0x5b096e(0x94)]=_0x4af13f);}[_0x5ceece(0xa3)](){const _0x149f35=_0x5ceece;this[_0x149f35(0x9c)][_0x149f35(0x90)](),this[_0x149f35(0x9b)][_0x149f35(0x80)](),super[_0x149f35(0xa3)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x6ad50=_0x4d7c;(function(_0x36c054,_0x1fa614){const _0x422312=_0x4d7c,_0x34ffdf=_0x36c054();while(!![]){try{const _0x2b6ebd=parseInt(_0x422312(0x1e8))/0x1*(-parseInt(_0x422312(0x1f7))/0x2)+-parseInt(_0x422312(0x1f5))/0x3+-parseInt(_0x422312(0x1fe))/0x4+-parseInt(_0x422312(0x1df))/0x5*(parseInt(_0x422312(0x200))/0x6)+-parseInt(_0x422312(0x1e5))/0x7*(-parseInt(_0x422312(0x1dc))/0x8)+-parseInt(_0x422312(0x207))/0x9*(-parseInt(_0x422312(0x1f3))/0xa)+parseInt(_0x422312(0x204))/0xb*(parseInt(_0x422312(0x201))/0xc);if(_0x2b6ebd===_0x1fa614)break;else _0x34ffdf['push'](_0x34ffdf['shift']());}catch(_0x1ec602){_0x34ffdf['push'](_0x34ffdf['shift']());}}}(_0x54cd,0x8dc90));function _0x4d7c(_0x7400df,_0x3dbb06){const _0x54cd59=_0x54cd();return _0x4d7c=function(_0x4d7c55,_0x21286d){_0x4d7c55=_0x4d7c55-0x1d5;let _0x1c3814=_0x54cd59[_0x4d7c55];return _0x1c3814;},_0x4d7c(_0x7400df,_0x3dbb06);}import{View as _0x3e0998,FocusCycler as _0x1ee1ac}from'ckeditor5/src/ui.js';import{FocusTracker as _0x329b43,toUnit as _0x292818}from'ckeditor5/src/utils.js';import{getTranslation as _0x5d15c0}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';function _0x54cd(){const _0xbe67d7=['focusables','added','ck-sidebar','bindTemplate','length','focus','focusPrevious','number','set','2247112KxKZpu','change','removed','145EFcsjy','arrowup','source','focusCycler','Annotations\x20sidebar','setTemplate','21iAxYSk','ck-reset','minHeight','1hxISpB','uiLanguageDirection','class','element','getIndex','forEach','add','top','div','listenTo','list','10QWGlTk','focusNext','573117KVsFTa','change:top','1682038GExfDb','delegate','render','remove','_updateItemPositionInFocusables','createCollection','focusTracker','548916ycHZvR','_setupKeyboardNavigation','149874NqxnOz','12Pjfzah','application','focusFirst','6497315lXUBHq','Annotations\x20list','arrowdown','9369882povRlR'];_0x54cd=function(){return _0xbe67d7;};return _0x54cd();}const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x292818('px');export class AnnotationsSidebarView extends _0x3e0998{[_0x6ad50(0x1f2)];[_0x6ad50(0x208)];[_0x6ad50(0x1fd)];[_0x6ad50(0x1e2)];constructor(_0x5e6cfb){const _0x26cf10=_0x6ad50;super(_0x5e6cfb);const _0x379c80=this[_0x26cf10(0x1d6)];this[_0x26cf10(0x1db)](_0x26cf10(0x1e7),0x0),this[_0x26cf10(0x1db)](_0x26cf10(0x1ea),''),this[_0x26cf10(0x1f2)]=this[_0x26cf10(0x1fc)](),this[_0x26cf10(0x208)]=this[_0x26cf10(0x1fc)](),this[_0x26cf10(0x1f2)][_0x26cf10(0x1f8)](_0x26cf10(0x1e0),_0x26cf10(0x206))['to'](this),this[_0x26cf10(0x1fd)]=new _0x329b43(),this[_0x26cf10(0x1e2)]=new _0x1ee1ac({'focusables':this[_0x26cf10(0x208)],'focusTracker':this[_0x26cf10(0x1fd)]}),this[_0x26cf10(0x1e4)]({'tag':_0x26cf10(0x1f0),'attributes':{'class':['ck',_0x26cf10(0x1d5),_0x26cf10(0x1e6),_0x379c80['to'](_0x26cf10(0x1ea))],'style':{'minHeight':_0x379c80['to'](_0x26cf10(0x1e7),_0x5d9760=>_0x26cf10(0x1da)==typeof _0x5d9760?Ot(_0x5d9760+0xa):null)},'dir':_0x5e6cfb[_0x26cf10(0x1e9)],'role':_0x26cf10(0x202),'aria-label':_0x5d15c0(_0x5e6cfb,_0x26cf10(0x1e3)),'tabindex':0x0},'children':[{'tag':_0x26cf10(0x1f0),'attributes':{'role':_0x26cf10(0x1f2),'aria-label':_0x5d15c0(_0x5e6cfb,_0x26cf10(0x205))},'children':this[_0x26cf10(0x1f2)]}]});}[_0x6ad50(0x1f9)](){const _0x6c7474=_0x6ad50;super[_0x6c7474(0x1f9)](),this[_0x6c7474(0x1ff)]();}[_0x6ad50(0x1d8)](){const _0xfecaeb=_0x6ad50;this[_0xfecaeb(0x1e2)][_0xfecaeb(0x203)]();}[_0x6ad50(0x1ff)](){const _0x8fbe58=_0x6ad50;this[_0x8fbe58(0x1f2)][_0x8fbe58(0x1f8)](_0x8fbe58(0x1f6))['to'](this),this['on'](_0x8fbe58(0x1f6),_0x261c39=>{const _0x3166cf=_0x8fbe58;this[_0x3166cf(0x1fb)](_0x261c39[_0x3166cf(0x1e1)]);}),this[_0x8fbe58(0x1f2)][_0x8fbe58(0x1ed)](_0x4ea932=>{const _0x5075cf=_0x8fbe58;this[_0x5075cf(0x1fd)][_0x5075cf(0x1ee)](_0x4ea932[_0x5075cf(0x1eb)]),this[_0x5075cf(0x1fb)](_0x4ea932);}),this[_0x8fbe58(0x1f2)]['on'](_0x8fbe58(0x1dd),(_0x9d7f1b,_0x53eac6)=>{const _0x303f48=_0x8fbe58;for(const _0x8d8a1f of _0x53eac6[_0x303f48(0x1de)])this[_0x303f48(0x1fd)][_0x303f48(0x1fa)](_0x8d8a1f[_0x303f48(0x1eb)]),this[_0x303f48(0x208)][_0x303f48(0x1fa)](_0x8d8a1f);for(const _0x467cc0 of _0x53eac6[_0x303f48(0x209)])this[_0x303f48(0x1fd)][_0x303f48(0x1ee)](_0x467cc0[_0x303f48(0x1eb)]),this[_0x303f48(0x1fb)](_0x467cc0);}),this['on'](_0x8fbe58(0x1e0),()=>{const _0x4b01c7=_0x8fbe58;this[_0x4b01c7(0x1e2)][_0x4b01c7(0x1d9)]();}),this['on'](_0x8fbe58(0x206),()=>{const _0x56b0ef=_0x8fbe58;this[_0x56b0ef(0x1e2)][_0x56b0ef(0x1f4)]();}),this[_0x8fbe58(0x1f1)](this[_0x8fbe58(0x1eb)],_0x8fbe58(0x1d8),()=>{const _0x2ec16d=_0x8fbe58;this[_0x2ec16d(0x1d8)]();});}[_0x6ad50(0x1fb)](_0x301333){const _0x11547b=_0x6ad50,_0x2b2f0d=this[_0x11547b(0x208)][_0x11547b(0x1ec)](_0x301333);let _0x338307,_0xe09bfc;for(const _0x614722 of this[_0x11547b(0x208)])if(_0x301333[_0x11547b(0x1ef)]<_0x614722[_0x11547b(0x1ef)]){_0x338307=_0x614722;break;}if(_0xe09bfc=_0x338307?this[_0x11547b(0x208)][_0x11547b(0x1ec)](_0x338307):this[_0x11547b(0x208)][_0x11547b(0x1d7)],-0x1!==_0x2b2f0d){if(_0x2b2f0d===_0xe09bfc-0x1)return;this[_0x11547b(0x208)][_0x11547b(0x1fa)](_0x301333),_0xe09bfc=_0x338307?this[_0x11547b(0x208)][_0x11547b(0x1ec)](_0x338307):this[_0x11547b(0x208)][_0x11547b(0x1d7)];}this[_0x11547b(0x208)][_0x11547b(0x1ee)](_0x301333,_0xe09bfc);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x14ec7d=_0x187e;function _0xa4d0(){const _0x12d084=['widesidebar-attach-already-attached','stop','listenTo','_annotations','_detachFromContainer','ready','setActiveAnnotation','399516UdXNou','refreshVisibility','16787287dDRToA','change:container','_refreshPositioningDebounced','get','isAttached','cancel','20jaXrMJ','hasDomSelection','getOrderedSelectedAnnotations','resize','has','2394xhgORd','2356380cfKytl','annotations','Annotations','off','blur','updateTargetRect','uiUpdate','_activeAnnotation','_destroyEditorAnnotationsIntegration','isOfficialPlugin','init','isPremiumPlugin','678741PzglNO','20240oBXXTw','_editorAnnotations','_attachToContainer','set','set:container','addEventListener','detach','requires','refresh','stopListening','destroy','refreshPositioning','addAnnotation','removeEventListener','editors','widesidebar-detach-not-attached','focus','register','attach','remove','wideSidebar','rearrange','26777feYPpR','_integrateWithEditorAnnotations','ck-sidebar--wide','plugins','container','2090217dFyYiP','high','activeAnnotation','add','EditorAnnotations','pluginName','WideSidebar','switchTo','from','36qFEAxt','8ZjZuaU','context'];_0xa4d0=function(){return _0x12d084;};return _0xa4d0();}function _0x187e(_0x252257,_0x202e0b){const _0xa4d0cc=_0xa4d0();return _0x187e=function(_0x187eca,_0x5b9f8c){_0x187eca=_0x187eca-0xbb;let _0x158ae2=_0xa4d0cc[_0x187eca];return _0x158ae2;},_0x187e(_0x252257,_0x202e0b);}(function(_0x18ca01,_0x185659){const _0x5d1666=_0x187e,_0x2c1048=_0x18ca01();while(!![]){try{const _0x36b646=-parseInt(_0x5d1666(0xbb))/0x1*(-parseInt(_0x5d1666(0xc9))/0x2)+-parseInt(_0x5d1666(0xc0))/0x3+-parseInt(_0x5d1666(0xe1))/0x4+-parseInt(_0x5d1666(0xdb))/0x5*(-parseInt(_0x5d1666(0xd3))/0x6)+-parseInt(_0x5d1666(0xed))/0x7*(parseInt(_0x5d1666(0xca))/0x8)+parseInt(_0x5d1666(0xe0))/0x9*(-parseInt(_0x5d1666(0xee))/0xa)+parseInt(_0x5d1666(0xd5))/0xb;if(_0x36b646===_0x185659)break;else _0x2c1048['push'](_0x2c1048['shift']());}catch(_0x27450f){_0x2c1048['push'](_0x2c1048['shift']());}}}(_0xa4d0,0x563f2));import{ContextPlugin as _0xe5a57f,Context as _0x9e6f77}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x3a65b1}from'./annotationsuis.js';import{Sidebar as _0x3b6c8d}from'./sidebar.js';import{CKEditorError as _0x4a8ee8,Collection as _0x326c84}from'ckeditor5/src/utils.js';import{debounce as _0x58aab9}from'es-toolkit/compat';export class WideSidebar extends _0xe5a57f{[_0x14ec7d(0xd9)];[_0x14ec7d(0xe2)];[_0x14ec7d(0xef)];[_0x14ec7d(0xd7)];static get[_0x14ec7d(0xf5)](){return[_0x3b6c8d,_0x3a65b1];}static get[_0x14ec7d(0xc5)](){const _0x23bdd8=_0x14ec7d;return _0x23bdd8(0xc6);}static get[_0x14ec7d(0xea)](){return!0x0;}static get[_0x14ec7d(0xec)](){return!0x0;}constructor(_0x225888){const _0x42d118=_0x14ec7d;super(_0x225888),this[_0x42d118(0xd9)]=!0x1,this[_0x42d118(0xf1)](_0x42d118(0xc2),null),this[_0x42d118(0xe2)]=null,this[_0x42d118(0xef)]=new _0x326c84(),this[_0x42d118(0xd7)]=_0x58aab9(()=>{const _0x384167=_0x42d118;_0x225888[_0x384167(0xbe)][_0x384167(0xd8)](_0x384167(0xe3))[_0x384167(0xd4)](),this[_0x384167(0xe2)][_0x384167(0xf9)]();},0xfa,{'leading':!0x1});}[_0x14ec7d(0xeb)](){const _0xe276bc=_0x14ec7d,_0x5a0bbe=this[_0xe276bc(0xcb)][_0xe276bc(0xbe)][_0xe276bc(0xd8)](_0x3a65b1),_0x5b6a7e=this[_0xe276bc(0xcb)][_0xe276bc(0xbe)][_0xe276bc(0xd8)](_0x3b6c8d);_0x5a0bbe[_0xe276bc(0xff)](_0xe276bc(0x102),this),_0x5b6a7e[_0xe276bc(0xbf)]&&_0x5a0bbe[_0xe276bc(0xc7)](_0xe276bc(0x102));}[_0x14ec7d(0xd2)](_0x30d7ed){const _0x189d96=_0x14ec7d;if(_0x30d7ed===this[_0x189d96(0xc2)])return;const _0x3566eb=this[_0x189d96(0xcb)][_0x189d96(0xbe)][_0x189d96(0xd8)](_0x3b6c8d);_0x3566eb[_0x189d96(0xe8)]=_0x30d7ed;const _0x34d006=this[_0x189d96(0xc2)];_0x3566eb[_0x189d96(0xf6)]({'blurredAnnotation':_0x34d006,'activatedAnnotation':_0x30d7ed}),this[_0x189d96(0xc2)]=_0x30d7ed;}[_0x14ec7d(0x100)](_0x5e29d1){const _0x5d3892=_0x14ec7d;this[_0x5d3892(0xe2)]=_0x5e29d1;const _0x26c972=this[_0x5d3892(0xcb)][_0x5d3892(0xbe)][_0x5d3892(0xd8)](_0x3b6c8d);if(_0x26c972[_0x5d3892(0xcf)]=_0x5e29d1,this[_0x5d3892(0xd9)])throw new _0x4a8ee8(_0x5d3892(0xcc),this);this[_0x5d3892(0xd9)]=!0x0,this[_0x5d3892(0xce)](_0x26c972,_0x5d3892(0xf2),()=>{const _0x5ccd1d=_0x5d3892;this[_0x5ccd1d(0xf4)](),this[_0x5ccd1d(0xce)](_0x26c972,_0x5ccd1d(0xd6),_0x568bd0=>{const _0x50ebee=_0x5ccd1d;_0x568bd0[_0x50ebee(0xe4)](),this[_0x50ebee(0x100)](_0x5e29d1);});}),_0x26c972[_0x5d3892(0xf0)]({'viewClass':_0x5d3892(0xbd)});const _0x3599fe=_0x25b96d=>{const _0xf66ada=_0x5d3892;_0x25b96d[_0xf66ada(0xe6)](),_0x26c972[_0xf66ada(0xfa)](_0x25b96d);};for(const _0xe5607c of _0x5e29d1)_0x3599fe(_0xe5607c);this[_0x5d3892(0xce)](_0x5e29d1,_0x5d3892(0xc3),(_0x64f1a5,_0x596293)=>{_0x3599fe(_0x596293);}),this[_0x5d3892(0xce)](_0x5e29d1,_0x5d3892(0x101),(_0x2dc267,_0x2d46b0,_0xcc9f25)=>{const _0x135ff4=_0x5d3892;_0x26c972[_0x135ff4(0x103)]({'removedAnnotation':_0x2d46b0,'previousAnnotation':_0x5e29d1[_0x135ff4(0xd8)](_0xcc9f25-0x1),'nextAnnotation':_0x5e29d1[_0x135ff4(0xd8)](_0xcc9f25+0x1)}),_0x2d46b0===this[_0x135ff4(0xc2)]&&this[_0x135ff4(0xd2)](null);},{'priority':_0x5d3892(0xc1)}),this[_0x5d3892(0xce)](_0x5e29d1,_0x5d3892(0xfe),(_0x31695e,_0x14c69d)=>{const _0x1c8011=_0x5d3892;this[_0x1c8011(0xd2)](_0x14c69d);}),this[_0x5d3892(0xce)](_0x5e29d1,_0x5d3892(0xe5),()=>{const _0xad8749=_0x5d3892;this[_0xad8749(0xd2)](null);});const _0x9e1ce0=this[_0x5d3892(0xcb)]instanceof _0x9e6f77?this[_0x5d3892(0xcb)][_0x5d3892(0xfc)]:new _0x326c84([this[_0x5d3892(0xcb)]]);for(const _0x26a7a0 of _0x9e1ce0)this[_0x5d3892(0xbc)](_0x26a7a0);this[_0x5d3892(0xce)](_0x9e1ce0,_0x5d3892(0xc3),(_0x359802,_0x5c6796)=>{const _0x4b921d=_0x5d3892;this[_0x4b921d(0xce)](_0x5c6796,_0x4b921d(0xd1),()=>{const _0x3eeedf=_0x4b921d;this[_0x3eeedf(0xbc)](_0x5c6796);});}),this[_0x5d3892(0xce)](_0x9e1ce0,_0x5d3892(0x101),(_0x20061c,_0x51dfe3)=>{const _0x34dd2c=_0x5d3892;_0x51dfe3[_0x34dd2c(0xbe)][_0x34dd2c(0xdf)](_0x34dd2c(0xc4))&&this[_0x34dd2c(0xe9)](_0x51dfe3[_0x34dd2c(0xbe)][_0x34dd2c(0xd8)](_0x34dd2c(0xc4)));}),window[_0x5d3892(0xf3)](_0x5d3892(0xde),this[_0x5d3892(0xd7)]),this[_0x5d3892(0xcb)][_0x5d3892(0xbe)][_0x5d3892(0xd8)](_0x5d3892(0xe3))[_0x5d3892(0xd4)](),this[_0x5d3892(0xe2)][_0x5d3892(0xf9)]();}[_0x14ec7d(0xf4)](){const _0x57d321=_0x14ec7d;if(!this[_0x57d321(0xd9)])throw new _0x4a8ee8(_0x57d321(0xfd),this);this[_0x57d321(0xd2)](null);const _0x419ee2=this[_0x57d321(0xcb)][_0x57d321(0xbe)][_0x57d321(0xd8)](_0x3b6c8d);_0x419ee2[_0x57d321(0xd0)](this[_0x57d321(0xe2)]),this[_0x57d321(0xf7)](_0x419ee2),this[_0x57d321(0xf7)](this[_0x57d321(0xe2)]),this[_0x57d321(0xcb)]instanceof _0x9e6f77&&this[_0x57d321(0xf7)](this[_0x57d321(0xcb)][_0x57d321(0xfc)]);for(const _0x155925 of Array[_0x57d321(0xc8)](this[_0x57d321(0xef)]))this[_0x57d321(0xe9)](_0x155925);window[_0x57d321(0xfb)](_0x57d321(0xde),this[_0x57d321(0xd7)]),this[_0x57d321(0xd7)][_0x57d321(0xda)](),this[_0x57d321(0xc2)]=null,this[_0x57d321(0xd9)]=!0x1,this[_0x57d321(0xe2)]=null;}[_0x14ec7d(0xf8)](){const _0x5668c5=_0x14ec7d;this[_0x5668c5(0xd9)]&&this[_0x5668c5(0xf4)]();}[_0x14ec7d(0xbc)](_0x16607a){const _0x1ccb49=_0x14ec7d;if(!_0x16607a[_0x1ccb49(0xbe)][_0x1ccb49(0xdf)](_0x1ccb49(0xc4)))return;const _0x122047=_0x16607a[_0x1ccb49(0xbe)][_0x1ccb49(0xd8)](_0x1ccb49(0xc4)),_0x1df08b=()=>{const _0x146459=_0x1ccb49,_0xe935d7=_0x122047[_0x146459(0xdd)]({'annotations':this[_0x146459(0xe2)],'activeAnnotation':this[_0x146459(0xc2)]});this[_0x146459(0xd2)](_0xe935d7[0x0]||null);};this[_0x1ccb49(0xce)](_0x122047,_0x1ccb49(0xf6),_0x1df08b),this[_0x1ccb49(0xce)](_0x122047,_0x1ccb49(0xe5),(_0x44187a,{isAnnotationTracked:_0x260128})=>{const _0x12f07f=_0x1ccb49;this[_0x12f07f(0xc2)]&&_0x260128(this[_0x12f07f(0xc2)])&&this[_0x12f07f(0xd2)](null);}),this[_0x1ccb49(0xce)](_0x122047,_0x1ccb49(0xe7),()=>{const _0x166476=_0x1ccb49;this[_0x166476(0xd7)]();}),this[_0x1ccb49(0xce)](this[_0x1ccb49(0xe2)],_0x1ccb49(0xe5),_0xeaf169=>{const _0x57a8d7=_0x1ccb49;_0x122047[_0x57a8d7(0xdc)]()&&(_0x1df08b(),_0xeaf169[_0x57a8d7(0xcd)]());},{'priority':_0x1ccb49(0xc1)}),this[_0x1ccb49(0xef)][_0x1ccb49(0xc3)](_0x122047);}[_0x14ec7d(0xe9)](_0x19b469){const _0x2b21ea=_0x14ec7d;this[_0x2b21ea(0xf7)](_0x19b469),this[_0x2b21ea(0xef)][_0x2b21ea(0x101)](_0x19b469);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x412a(){const _0x3bdd6a=['selection','108TBdVLf','push','50rsMiwA','substr','13813501RegrWw','addCommentThread','$textProxy','get','change','isObject','1629331wwRWZJ','backward','7RgPDnh','getRanges','504NkIcrH','addMarker','12NjBqzj','comment:','collaboration.channelId','from','editor','2455677QnGGpM','getItems','3LCbhlW','refresh','CommentsRepository','isEnabled','document','createRange','plugins','tableCell','_itemIsContent','122135evaxft','_createCommentThread','_trimToContent','execute','schema','544020dWXjLB','483996zEHsmy','_hasContent','getLastMatchingPosition','length','config','addcommentthreadcommand-user-not-found','108603bgZKfV','Users','item','addcommentthreadcommand-incorrect-ranges','set','model','hasContent','end','_createMarkersFromRanges','start','element'];_0x412a=function(){return _0x3bdd6a;};return _0x412a();}const _0x1244ec=_0x1cb3;function _0x1cb3(_0x37d575,_0x2b6038){const _0x412a8b=_0x412a();return _0x1cb3=function(_0x1cb3c8,_0x36ee85){_0x1cb3c8=_0x1cb3c8-0x14a;let _0x2c1e9a=_0x412a8b[_0x1cb3c8];return _0x2c1e9a;},_0x1cb3(_0x37d575,_0x2b6038);}(function(_0x1feafe,_0x18015f){const _0x40fa3d=_0x1cb3,_0x5036de=_0x1feafe();while(!![]){try{const _0x193c59=-parseInt(_0x40fa3d(0x159))/0x1*(-parseInt(_0x40fa3d(0x168))/0x2)+parseInt(_0x40fa3d(0x157))/0x3+-parseInt(_0x40fa3d(0x17a))/0x4*(parseInt(_0x40fa3d(0x162))/0x5)+-parseInt(_0x40fa3d(0x167))/0x6*(-parseInt(_0x40fa3d(0x14e))/0x7)+-parseInt(_0x40fa3d(0x150))/0x8*(parseInt(_0x40fa3d(0x16e))/0x9)+parseInt(_0x40fa3d(0x17c))/0xa*(-parseInt(_0x40fa3d(0x14c))/0xb)+parseInt(_0x40fa3d(0x152))/0xc*(parseInt(_0x40fa3d(0x17e))/0xd);if(_0x193c59===_0x18015f)break;else _0x5036de['push'](_0x5036de['shift']());}catch(_0x4fd991){_0x5036de['push'](_0x5036de['shift']());}}}(_0x412a,0x83365));import{Command as _0x25dd44}from'ckeditor5/src/core.js';import{uid as _0x5a21cc,CKEditorError as _0x114212}from'ckeditor5/src/utils.js';export class AddCommentThreadCommand extends _0x25dd44{constructor(_0x53e582){const _0x43ae89=_0x1cb3;super(_0x53e582),this[_0x43ae89(0x172)](_0x43ae89(0x174),!0x1);}[_0x1244ec(0x15a)](){const _0x226a30=_0x1244ec,_0x5882bc=this[_0x226a30(0x156)][_0x226a30(0x173)][_0x226a30(0x15d)][_0x226a30(0x179)];this[_0x226a30(0x15c)]=!0x0,this[_0x226a30(0x174)]=!0x1;for(const _0x5f2ad2 of _0x5882bc[_0x226a30(0x14f)]())if(this[_0x226a30(0x169)](_0x5f2ad2))return void(this[_0x226a30(0x174)]=!0x0);}[_0x1244ec(0x165)]({threadId:_0x5a781f=_0x5a21cc(),ranges:_0x2aad91,comment:_0x1cb244}={}){const _0x2f48fb=_0x1244ec,_0x3bd519=this[_0x2f48fb(0x156)][_0x2f48fb(0x173)],_0x8c0545=_0x2aad91??Array[_0x2f48fb(0x155)](_0x3bd519[_0x2f48fb(0x15d)][_0x2f48fb(0x179)][_0x2f48fb(0x14f)]()),_0x484136=[];for(const _0x4fc3eb of _0x8c0545)this[_0x2f48fb(0x169)](_0x4fc3eb)&&_0x484136[_0x2f48fb(0x17b)](this[_0x2f48fb(0x164)](_0x4fc3eb));if(!_0x484136[_0x2f48fb(0x16b)])throw new _0x114212(_0x2f48fb(0x171),null);_0x1cb244&&this[_0x2f48fb(0x163)](_0x5a781f,_0x1cb244),this[_0x2f48fb(0x176)](_0x5a781f,_0x484136,!!_0x1cb244);}[_0x1244ec(0x176)](_0x41225a,_0x9b18ca,_0x10b5d8){const _0x16dff2=_0x1244ec;this[_0x16dff2(0x156)][_0x16dff2(0x173)][_0x16dff2(0x14a)](_0x46548d=>{const _0x6b1c1d=_0x16dff2;for(const _0x5022b9 of _0x9b18ca){const _0x1f3d2c=_0x5a21cc()[_0x6b1c1d(0x17d)](0x1,0x5),_0xde791c=_0x6b1c1d(0x153)+_0x41225a+':'+_0x1f3d2c;_0x46548d[_0x6b1c1d(0x151)](_0xde791c,{'range':_0x5022b9,'usingOperation':_0x10b5d8,'affectsData':_0x10b5d8});}});}[_0x1244ec(0x163)](_0x5ad297,_0x486cf2){const _0x4c5f75=_0x1244ec,_0x203b8e=this[_0x4c5f75(0x156)][_0x4c5f75(0x15f)][_0x4c5f75(0x181)](_0x4c5f75(0x15b)),_0xde7f61=this[_0x4c5f75(0x156)][_0x4c5f75(0x16c)][_0x4c5f75(0x181)](_0x4c5f75(0x154)),_0x319513=this[_0x4c5f75(0x156)][_0x4c5f75(0x15f)][_0x4c5f75(0x181)](_0x4c5f75(0x16f))['me'];if(!_0x319513)throw new _0x114212(_0x4c5f75(0x16d),null);_0x203b8e[_0x4c5f75(0x17f)]({'threadId':_0x5ad297,'channelId':_0xde7f61,'comments':[{'authorId':_0x319513['id'],'content':_0x486cf2,'createdAt':new Date(),'attributes':{}}]});}[_0x1244ec(0x169)](_0xa2a949){const _0x1c8b85=_0x1244ec;for(const _0x2c0575 of _0xa2a949[_0x1c8b85(0x158)]())if(this[_0x1c8b85(0x161)](_0x2c0575))return!0x0;return!0x1;}[_0x1244ec(0x161)](_0x585531){const _0x511edd=_0x1244ec;return _0x585531['is'](_0x511edd(0x180))||this[_0x511edd(0x156)][_0x511edd(0x173)][_0x511edd(0x166)][_0x511edd(0x14b)](_0x585531)&&!_0x585531['is'](_0x511edd(0x178),_0x511edd(0x160));}[_0x1244ec(0x164)](_0x363d36){const _0xfcb647=_0x1244ec,_0x3b99b7=_0x14731a=>!this[_0xfcb647(0x161)](_0x14731a[_0xfcb647(0x170)]),_0x1c2b1e=_0x363d36[_0xfcb647(0x177)][_0xfcb647(0x16a)](_0x3b99b7),_0x2ff0b2=_0x363d36[_0xfcb647(0x175)][_0xfcb647(0x16a)](_0x3b99b7,{'direction':_0xfcb647(0x14d)});return this[_0xfcb647(0x156)][_0xfcb647(0x173)][_0xfcb647(0x15e)](_0x1c2b1e,_0x2ff0b2);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x167817=_0x62cd;(function(_0x115acd,_0x53e3b7){const _0x4125e8=_0x62cd,_0x3cd9f7=_0x115acd();while(!![]){try{const _0x3c5bab=parseInt(_0x4125e8(0x20e))/0x1+-parseInt(_0x4125e8(0x20c))/0x2*(-parseInt(_0x4125e8(0x218))/0x3)+-parseInt(_0x4125e8(0x1f8))/0x4+-parseInt(_0x4125e8(0x202))/0x5*(parseInt(_0x4125e8(0x208))/0x6)+parseInt(_0x4125e8(0x1f4))/0x7*(-parseInt(_0x4125e8(0x213))/0x8)+-parseInt(_0x4125e8(0x211))/0x9*(parseInt(_0x4125e8(0x1f5))/0xa)+parseInt(_0x4125e8(0x20f))/0xb;if(_0x3c5bab===_0x53e3b7)break;else _0x3cd9f7['push'](_0x3cd9f7['shift']());}catch(_0x212a82){_0x3cd9f7['push'](_0x3cd9f7['shift']());}}}(_0x293f,0xbb4f4));function _0x293f(){const _0x3c138d=['39930TQMtYh','length','collection','change:archivedAt','removeCommentThread','isVisible','930gDEWPJ','addCommentThread','listenTo','stopListening','32mLwwXs','archivedThreads','784370PNqJpk','23789579EpZdMD','isPremiumPlugin','423kWzbmq','has','8NsEvgD','highest','activate','pluginName','remove','200268ZMwGsP','get','findIndex','focus','1210244DxYpWc','262030GnloWa','_calculatePosition','requires','2422688ZKbqvS','archivedAt','init','isActive','getCommentThread','isOfficialPlugin','add','CommentsArchive','plugins','context'];_0x293f=function(){return _0x3c138d;};return _0x293f();}import{ContextPlugin as _0x5aaf33}from'ckeditor5/src/core.js';import{Collection as _0x3d0ed1}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x41e43a}from'./commentsrepository.js';import{Annotations as _0x50bfce}from'../annotations/annotations.js';function _0x62cd(_0x4cdc85,_0x602ce3){const _0x293fa4=_0x293f();return _0x62cd=function(_0x62cd3e,_0x9105ab){_0x62cd3e=_0x62cd3e-0x1f1;let _0x288b85=_0x293fa4[_0x62cd3e];return _0x288b85;},_0x62cd(_0x4cdc85,_0x602ce3);}export class CommentsArchive extends _0x5aaf33{static get[_0x167817(0x216)](){const _0x399970=_0x167817;return _0x399970(0x1ff);}static get[_0x167817(0x1fd)](){return!0x0;}static get[_0x167817(0x210)](){return!0x0;}static get[_0x167817(0x1f7)](){return[_0x41e43a,_0x50bfce];}constructor(_0x5bbc60){const _0x2986b9=_0x167817;super(_0x5bbc60),this[_0x2986b9(0x20d)]=new _0x3d0ed1();}[_0x167817(0x1fa)](){const _0x5112da=_0x167817,_0x4dd972=this[_0x5112da(0x201)],_0x4adb4b=_0x4dd972[_0x5112da(0x200)][_0x5112da(0x1f1)](_0x41e43a),_0x5ae74b=_0x4dd972[_0x5112da(0x200)][_0x5112da(0x1f1)](_0x50bfce);this[_0x5112da(0x20a)](_0x4adb4b,_0x5112da(0x209),(_0x457b87,{threadId:_0x59cd9f})=>{const _0x442808=_0x5112da,_0x320d1f=_0x4adb4b[_0x442808(0x1fc)](_0x59cd9f);_0x320d1f[_0x442808(0x1f9)]&&this[_0x442808(0x20d)][_0x442808(0x1fe)](_0x320d1f,this[_0x442808(0x1f6)](_0x320d1f[_0x442808(0x1f9)])),this[_0x442808(0x20a)](_0x320d1f,_0x442808(0x205),(_0x3aa2bc,_0x358093,_0x26fcc1)=>{const _0x2990ec=_0x442808;_0x26fcc1?this[_0x2990ec(0x20d)][_0x2990ec(0x212)](_0x320d1f)||this[_0x2990ec(0x20d)][_0x2990ec(0x1fe)](_0x320d1f,this[_0x2990ec(0x1f6)](_0x320d1f[_0x2990ec(0x1f9)])):this[_0x2990ec(0x20d)][_0x2990ec(0x212)](_0x320d1f)&&this[_0x2990ec(0x20d)][_0x2990ec(0x217)](_0x320d1f);});}),this[_0x5112da(0x20a)](_0x4adb4b,_0x5112da(0x206),(_0x4ee232,{threadId:_0x58cea3})=>{const _0x4abfa5=_0x5112da,_0x4d5867=_0x4adb4b[_0x4abfa5(0x1fc)](_0x58cea3);this[_0x4abfa5(0x20b)](_0x4d5867),this[_0x4abfa5(0x20d)][_0x4abfa5(0x212)](_0x4d5867)&&this[_0x4abfa5(0x20d)][_0x4abfa5(0x217)](_0x4d5867);},{'priority':_0x5112da(0x214)}),this[_0x5112da(0x20a)](_0x5ae74b[_0x5112da(0x204)],_0x5112da(0x1f3),(_0x57f70b,_0x2d9a0a)=>{const _0xdc8d78=_0x5112da;_0x2d9a0a[_0xdc8d78(0x207)]||(_0x2d9a0a[_0xdc8d78(0x1fb)]=!0x0,_0x5ae74b[_0xdc8d78(0x215)](_0x2d9a0a));});}[_0x167817(0x1f6)](_0x254e31){const _0x2c1610=_0x167817,_0xa78612=[...this[_0x2c1610(0x20d)]][_0x2c1610(0x1f2)](_0x2854f1=>_0x2854f1[_0x2c1610(0x1f9)]<_0x254e31);return _0xa78612>-0x1?_0xa78612:this[_0x2c1610(0x20d)][_0x2c1610(0x203)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f177c=_0x3508;(function(_0x12dc5c,_0x524475){const _0x95618c=_0x3508,_0x180368=_0x12dc5c();while(!![]){try{const _0x3bbb5e=parseInt(_0x95618c(0xdf))/0x1*(parseInt(_0x95618c(0xd4))/0x2)+-parseInt(_0x95618c(0xbc))/0x3+parseInt(_0x95618c(0xc5))/0x4+-parseInt(_0x95618c(0xbf))/0x5+-parseInt(_0x95618c(0xdc))/0x6*(-parseInt(_0x95618c(0xd3))/0x7)+-parseInt(_0x95618c(0xed))/0x8*(parseInt(_0x95618c(0x105))/0x9)+parseInt(_0x95618c(0xf8))/0xa;if(_0x3bbb5e===_0x524475)break;else _0x180368['push'](_0x180368['shift']());}catch(_0x3f5e16){_0x180368['push'](_0x180368['shift']());}}}(_0x33dd,0x24cf0));import'../../theme/commentsarchive.css';import{Plugin as _0x38d3e1}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x240560}from'ckeditor5/src/icons.js';import{ViewCollection as _0x5b54b3,MenuBarMenuListItemButtonView as _0x212156,ButtonView as _0x2d8e5c,Dialog as _0x41d9c5,DialogViewPosition as _0x221089}from'ckeditor5/src/ui.js';import{getTranslation as _0x513a4d}from'../utils/common-translations.js';import{CommentsArchiveView as _0x181668}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x27e2ad}from'./commentsarchive.js';function _0x33dd(){const _0x209573=['annotationViews','333qpDamd','focusableElements','commentsArchiveView','isOpen','return','indexOf','109662MJoWWS','filter','push','931035QlbDvm','view','listenTo','stopListening','innerView','_pendingThreads','832296hsmWIU','length','set','init','_hideDialogOnAnnotationEscape','menuitemcheckbox','pluginName','set:isVisible','_threadToController','menuBar:commentsArchive','commentsArchive','isOn','plugins','isOfficialPlugin','511tmwdXL','32730TpJoLU','hide','source','_calculatePosition','find','remove','has','_createCommentsArchiveButton','7746EPCCZl','archivedThreads','locale','5nUisKS','includes','Annotations','findIndex','splice','get','collaboration.channelId','isVisible','escape','CommentsRepository','stop','forEach','_handleNewThread','collection','63592wrxoQf','CommentsArchiveUI','config','editor','_addAnnotationToArchive','Dialog','archivedAt','execute','EDITOR_TOP_SIDE','COMMENTS_ARCHIVE','componentFactory','2835000cQMYEx','add','bind','isEnabled','getByInnerView','_toggleDialog','channelId','show','tooltip','_visibleAnnotations','requires','isPremiumPlugin'];_0x33dd=function(){return _0x209573;};return _0x33dd();}function _0x3508(_0x3837bd,_0x39e24c){const _0x33ddd8=_0x33dd();return _0x3508=function(_0x35083b,_0x57b33d){_0x35083b=_0x35083b-0xb8;let _0x485e2d=_0x33ddd8[_0x35083b];return _0x485e2d;},_0x3508(_0x3837bd,_0x39e24c);}export class CommentsArchiveUI extends _0x38d3e1{[_0x1f177c(0xb8)];[_0x1f177c(0x104)];[_0x1f177c(0xc4)];static get[_0x1f177c(0xcb)](){const _0x1c8147=_0x1f177c;return _0x1c8147(0xee);}static get[_0x1f177c(0xd2)](){return!0x0;}static get[_0x1f177c(0x103)](){return!0x0;}static get[_0x1f177c(0x102)](){return[_0x27e2ad,_0x41d9c5];}constructor(_0x3610df){const _0x49d067=_0x1f177c;super(_0x3610df),this[_0x49d067(0x104)]=new _0x5b54b3(),this[_0x49d067(0xc4)]=[];}[_0x1f177c(0xc8)](){const _0xc244c8=_0x1f177c,_0x3ff2d5=this[_0xc244c8(0xf0)],_0x2f79d1=this[_0xc244c8(0xc9)][_0xc244c8(0xfa)](this);_0x3ff2d5['ui'][_0xc244c8(0xf7)][_0xc244c8(0xf9)](_0xc244c8(0xcf),()=>this[_0xc244c8(0xdb)](_0x2d8e5c,!0x0)),_0x3ff2d5['ui'][_0xc244c8(0xf7)][_0xc244c8(0xf9)](_0xc244c8(0xce),()=>{const _0x173b66=_0xc244c8,_0x10af86=this[_0x173b66(0xdb)](_0x212156);return _0x10af86[_0x173b66(0xc7)]({'role':_0x173b66(0xca)}),_0x10af86;});const _0x5a27a0=_0x3ff2d5[_0xc244c8(0xd1)][_0xc244c8(0xe4)](_0x27e2ad),_0x53825b=_0x3ff2d5[_0xc244c8(0xd1)][_0xc244c8(0xe4)](_0xc244c8(0xe1)),_0x5d01d4=_0x3ff2d5[_0xc244c8(0xd1)][_0xc244c8(0xe4)](_0xc244c8(0xe8));_0x5a27a0[_0xc244c8(0xdd)][_0xc244c8(0xea)](_0x49a75b=>{const _0x5ad78e=_0xc244c8;this[_0x5ad78e(0xeb)](_0x49a75b);}),this[_0xc244c8(0xc1)](_0x5a27a0[_0xc244c8(0xdd)],_0xc244c8(0xf9),(_0x4a44fb,_0x1d00f4)=>{const _0x3e06cc=_0xc244c8;this[_0x3e06cc(0xeb)](_0x1d00f4);}),this[_0xc244c8(0xc1)](_0x53825b[_0xc244c8(0xec)],_0xc244c8(0xf9),(_0x4e405a,_0x347d11)=>{const _0x55460e=_0xc244c8,_0x1fd9e0=this[_0x55460e(0xc4)][_0x55460e(0xd8)](_0x1290d2=>{const _0x294c31=_0x55460e,_0x75ad47=_0x5d01d4[_0x294c31(0xcd)][_0x294c31(0xe4)](_0x1290d2);return _0x75ad47&&_0x347d11[_0x294c31(0xc3)]===_0x75ad47[_0x294c31(0xc0)];});if(_0x1fd9e0){const _0x53e839=this[_0x55460e(0xd7)](_0x1fd9e0[_0x55460e(0xf3)]);this[_0x55460e(0xf1)](_0x347d11,_0x53e839),this[_0x55460e(0xc4)][_0x55460e(0xe3)](this[_0x55460e(0xc4)][_0x55460e(0xbb)](_0x1fd9e0),0x1);}}),this[_0xc244c8(0xc1)](_0x5a27a0[_0xc244c8(0xdd)],_0xc244c8(0xd9),(_0x15b641,_0xcd7089)=>{const _0x25b70f=_0xc244c8,_0x228ba4=_0x3ff2d5[_0x25b70f(0xef)][_0x25b70f(0xe4)](_0x25b70f(0xe5));if(!_0x228ba4||_0xcd7089[_0x25b70f(0xfe)]===_0x228ba4){if(this[_0x25b70f(0xc4)][_0x25b70f(0xe0)](_0xcd7089))this[_0x25b70f(0xc4)][_0x25b70f(0xe3)](this[_0x25b70f(0xc4)][_0x25b70f(0xbb)](_0xcd7089),0x1);else{const _0x34fa05=_0x5d01d4[_0x25b70f(0xcd)][_0x25b70f(0xe4)](_0xcd7089),_0x70e651=_0x53825b[_0x25b70f(0xfc)](_0x34fa05[_0x25b70f(0xc0)]);this[_0x25b70f(0x104)][_0x25b70f(0xd9)](_0x70e651[_0x25b70f(0xc0)]),this[_0x25b70f(0xc2)](_0x70e651),this[_0x25b70f(0xc2)](_0x70e651[_0x25b70f(0x106)]);}}}),this[_0xc244c8(0xc1)](_0x53825b[_0xc244c8(0xec)],_0xc244c8(0xf9),(_0x1c76b2,_0x47f5f9)=>{const _0x38fe53=_0xc244c8;this[_0x38fe53(0xc1)](_0x47f5f9,_0x38fe53(0xe7),_0x2f79d1);}),this[_0xc244c8(0xc1)](_0x53825b[_0xc244c8(0xec)],_0xc244c8(0xd9),(_0x4f2bd1,_0x2bb3af)=>{const _0x31da54=_0xc244c8;this[_0x31da54(0xc2)](_0x2bb3af,_0x31da54(0xe7),_0x2f79d1);});}[_0x1f177c(0xf1)](_0xe2d830,_0x54b986){const _0x2ccb2a=_0x1f177c;this[_0x2ccb2a(0xc1)](_0xe2d830,_0x2ccb2a(0xcc),_0x29df33=>{const _0x205981=_0x2ccb2a;_0x29df33[_0x205981(0xba)]=!0x1,_0x29df33[_0x205981(0xe9)]();}),this[_0x2ccb2a(0x104)][_0x2ccb2a(0xf9)](_0xe2d830[_0x2ccb2a(0xc0)],_0x54b986);}[_0x1f177c(0xeb)](_0x4273ee){const _0x4aabeb=_0x1f177c,_0x2cb0fe=this[_0x4aabeb(0xf0)][_0x4aabeb(0xd1)][_0x4aabeb(0xe4)](_0x4aabeb(0xe8)),_0x3c2a8c=this[_0x4aabeb(0xf0)][_0x4aabeb(0xd1)][_0x4aabeb(0xe4)](_0x4aabeb(0xe1)),_0x174be6=this[_0x4aabeb(0xf0)][_0x4aabeb(0xef)][_0x4aabeb(0xe4)](_0x4aabeb(0xe5));if(!_0x174be6||_0x4273ee[_0x4aabeb(0xfe)]===_0x174be6){const _0x3941cd=_0x2cb0fe[_0x4aabeb(0xcd)][_0x4aabeb(0xe4)](_0x4273ee);if(!_0x3941cd)return void this[_0x4aabeb(0xc4)][_0x4aabeb(0xbe)](_0x4273ee);const _0x2c7aab=this[_0x4aabeb(0xd7)](_0x4273ee[_0x4aabeb(0xf3)]),_0x511eb2=_0x3c2a8c[_0x4aabeb(0xfc)](_0x3941cd[_0x4aabeb(0xc0)]);_0x511eb2[_0x4aabeb(0xe6)]&&_0x3c2a8c[_0x4aabeb(0x101)][_0x4aabeb(0xd9)](_0x511eb2),this[_0x4aabeb(0xf1)](_0x511eb2,_0x2c7aab);}}[_0x1f177c(0xd7)](_0x22fc14){const _0x9c4d99=_0x1f177c,_0x1f789b=this[_0x9c4d99(0xf0)][_0x9c4d99(0xef)][_0x9c4d99(0xe4)](_0x9c4d99(0xe5)),_0x57dc29=[...this[_0x9c4d99(0xf0)][_0x9c4d99(0xd1)][_0x9c4d99(0xe4)](_0x27e2ad)[_0x9c4d99(0xdd)]][_0x9c4d99(0xbd)](_0x20add8=>_0x20add8[_0x9c4d99(0xfe)]===_0x1f789b)[_0x9c4d99(0xe2)](_0x2282c5=>_0x2282c5[_0x9c4d99(0xf3)]<_0x22fc14);return _0x57dc29<0x0||_0x57dc29>this[_0x9c4d99(0x104)][_0x9c4d99(0xc6)]?this[_0x9c4d99(0x104)][_0x9c4d99(0xc6)]:_0x57dc29-0x1;}[_0x1f177c(0xfd)](){const _0x548f34=_0x1f177c,_0x109286=this[_0x548f34(0xf0)],_0x4b8f19=_0x109286[_0x548f34(0xd1)][_0x548f34(0xe4)](_0x548f34(0xf2));this[_0x548f34(0xb8)]||(this[_0x548f34(0xb8)]=new _0x181668(_0x109286[_0x548f34(0xde)],this[_0x548f34(0x104)])),_0x548f34(0xcf)===_0x4b8f19['id']?_0x4b8f19[_0x548f34(0xd5)]():_0x4b8f19[_0x548f34(0xff)]({'id':_0x548f34(0xcf),'title':_0x513a4d(_0x109286[_0x548f34(0xde)],_0x548f34(0xf6)),'icon':_0x240560,'hasCloseButton':!0x0,'content':this[_0x548f34(0xb8)],'position':_0x221089[_0x548f34(0xf5)]});}[_0x1f177c(0xdb)](_0x2a489e,_0x4e08c5=!0x1){const _0x39179d=_0x1f177c,_0x4373dd=this[_0x39179d(0xf0)][_0x39179d(0xde)],_0x1d0d30=this[_0x39179d(0xf0)][_0x39179d(0xd1)][_0x39179d(0xe4)](_0x39179d(0xf2)),_0x3720ec=new _0x2a489e(_0x4373dd);return _0x3720ec[_0x39179d(0xfa)](_0x39179d(0xfb))['to'](this,_0x39179d(0xfb)),_0x3720ec[_0x39179d(0xfa)](_0x39179d(0xd0))['to'](_0x1d0d30,'id',_0x39ffde=>_0x39179d(0xcf)===_0x39ffde),_0x3720ec[_0x39179d(0xc7)]({'label':_0x513a4d(_0x4373dd,_0x39179d(0xf6)),'icon':_0x240560,'isToggleable':!0x0}),_0x4e08c5&&(_0x3720ec[_0x39179d(0x100)]=!0x0),this[_0x39179d(0xc1)](_0x3720ec,_0x39179d(0xf4),()=>this[_0x39179d(0xfd)]()),_0x3720ec;}[_0x1f177c(0xc9)]=_0x5b5d7e=>{const _0x1376cf=_0x1f177c,_0x36335a=_0x5b5d7e[_0x1376cf(0xd6)];if(!this[_0x1376cf(0x104)][_0x1376cf(0xda)](_0x36335a[_0x1376cf(0xc0)]))return;const _0x5e74a6=this[_0x1376cf(0xf0)][_0x1376cf(0xd1)][_0x1376cf(0xe4)](_0x1376cf(0xf2));_0x5e74a6[_0x1376cf(0xb9)]&&_0x1376cf(0xcf)===_0x5e74a6['id']&&(_0x5e74a6[_0x1376cf(0xd5)](),_0x5b5d7e[_0x1376cf(0xe9)]());};}
|