@ckeditor/ckeditor5-comments 42.0.0-alpha.5 → 42.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/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/package.json +3 -3
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/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/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x578191=_0x5e4f;function _0x5e4f(_0x252e47,_0x1c844d){const _0x3eb03f=_0x3eb0();return _0x5e4f=function(_0x5e4f85,_0x2cce1d){_0x5e4f85=_0x5e4f85-0x169;let _0x4bd709=_0x3eb03f[_0x5e4f85];return _0x4bd709;},_0x5e4f(_0x252e47,_0x1c844d);}(function(_0x4c502e,_0x47a125){const _0x854c21=_0x5e4f,_0x4c3a9a=_0x4c502e();while(!![]){try{const _0x3b186f=parseInt(_0x854c21(0x171))/0x1+parseInt(_0x854c21(0x183))/0x2+-parseInt(_0x854c21(0x1aa))/0x3*(parseInt(_0x854c21(0x1a0))/0x4)+parseInt(_0x854c21(0x19b))/0x5*(-parseInt(_0x854c21(0x1bd))/0x6)+-parseInt(_0x854c21(0x197))/0x7+-parseInt(_0x854c21(0x1a6))/0x8*(parseInt(_0x854c21(0x1b6))/0x9)+parseInt(_0x854c21(0x1a2))/0xa;if(_0x3b186f===_0x47a125)break;else _0x4c3a9a['push'](_0x4c3a9a['shift']());}catch(_0x4d3c7c){_0x4c3a9a['push'](_0x4c3a9a['shift']());}}}(_0x3eb0,0x97f86));import{Plugin as _0x632760}from'ckeditor5/src/core.js';import _0x30cdd8 from'./annotationsuis.js';import _0x59605b from'./editorannotations.js';import{ContextualBalloon as _0x4ccde1}from'ckeditor5/src/ui.js';import{MouseObserver as _0x1f50bf}from'ckeditor5/src/engine.js';import{CKEditorError as _0x207d10,Rect as _0x1b4853}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x632760{static get[_0x578191(0x16c)](){return[_0x59605b,_0x4ccde1,_0x30cdd8];}static get[_0x578191(0x177)](){const _0x102000=_0x578191;return _0x102000(0x1c2);}constructor(_0x1facb4){const _0x18f9c0=_0x578191;super(_0x1facb4),_0x1facb4[_0x18f9c0(0x19e)][_0x18f9c0(0x169)][_0x18f9c0(0x1b4)](_0x1f50bf),this[_0x18f9c0(0x16e)]=!0x1,this[_0x18f9c0(0x1b7)](_0x18f9c0(0x1c6),null),this[_0x18f9c0(0x196)]=null,this[_0x18f9c0(0x1a1)]=new Set(),this[_0x18f9c0(0x1c9)]=_0x1facb4[_0x18f9c0(0x19f)][_0x18f9c0(0x181)](_0x4ccde1),this[_0x18f9c0(0x1bb)]=new Set(),this[_0x18f9c0(0x1ab)]=[],this[_0x18f9c0(0x17d)]=!0x1;}[_0x578191(0x1b2)](){const _0x301038=_0x578191,_0x10ac1c=this[_0x301038(0x191)][_0x301038(0x19f)][_0x301038(0x181)](_0x30cdd8);_0x10ac1c[_0x301038(0x1c7)]===this[_0x301038(0x191)]&&(_0x10ac1c[_0x301038(0x1b5)](_0x301038(0x1c3),this),this[_0x301038(0x191)][_0x301038(0x16f)][_0x301038(0x1b7)](_0x301038(0x1c0),(_0x1bc06d,_0x5c12f6)=>{const _0x2acad1=_0x301038,_0x2f38ce=this[_0x2acad1(0x1c9)];if(this[_0x2acad1(0x16e)]&&_0x2f38ce[_0x2acad1(0x188)]){const _0x5b8648=this[_0x2acad1(0x196)][_0x2acad1(0x1ad)](_0x2f38ce[_0x2acad1(0x188)]);_0x5b8648&&this[_0x2acad1(0x174)](_0x5b8648),_0x5c12f6();}}));}[_0x578191(0x186)](){const _0x1e0dda=_0x578191,_0x399491=this[_0x1e0dda(0x191)][_0x1e0dda(0x19f)][_0x1e0dda(0x181)](_0x30cdd8);_0x399491[_0x1e0dda(0x1c7)]===this[_0x1e0dda(0x191)]&&(_0x399491[_0x1e0dda(0x189)]()||_0x399491[_0x1e0dda(0x1a4)](_0x1e0dda(0x1c3)));}[_0x578191(0x172)](_0x44d40c){const _0x10893d=_0x578191;_0x44d40c!==this[_0x10893d(0x1c6)]&&(this[_0x10893d(0x1c6)]&&(this[_0x10893d(0x1c6)][_0x10893d(0x1bf)]=!0x1),_0x44d40c&&this[_0x10893d(0x191)]['ui'][_0x10893d(0x199)][_0x10893d(0x17c)]&&(this[_0x10893d(0x196)][_0x10893d(0x176)](_0x44d40c)&&this[_0x10893d(0x19d)](_0x44d40c,!0x0),_0x44d40c[_0x10893d(0x1bf)]=!0x0),_0x44d40c||this[_0x10893d(0x185)]([]),this[_0x10893d(0x1c6)]=_0x44d40c);}[_0x578191(0x1ae)](_0x9356a7){const _0x2905a8=_0x578191;this[_0x2905a8(0x196)]=_0x9356a7;const _0x41cb73=this[_0x2905a8(0x191)][_0x2905a8(0x19f)][_0x2905a8(0x181)](_0x30cdd8),_0x340425=this[_0x2905a8(0x1c9)];if(this[_0x2905a8(0x16e)])throw new _0x207d10(_0x2905a8(0x17f),this);if(_0x41cb73[_0x2905a8(0x1c7)]!==this[_0x2905a8(0x191)])throw new _0x207d10(_0x2905a8(0x1ac),this);const _0x54accb=this[_0x2905a8(0x191)][_0x2905a8(0x19f)][_0x2905a8(0x181)](_0x59605b);this[_0x2905a8(0x175)](_0x54accb,_0x2905a8(0x179),()=>{const _0x158a84=_0x2905a8,_0x3370fa=_0x54accb[_0x158a84(0x193)]({'annotations':this[_0x158a84(0x196)],'activeAnnotation':this[_0x158a84(0x1c6)]});var _0x28f2f1,_0x15db2a;!this[_0x158a84(0x17d)]&&(_0x28f2f1=_0x3370fa,_0x15db2a=this[_0x158a84(0x1ab)],_0x28f2f1[_0x158a84(0x1c1)]===_0x15db2a[_0x158a84(0x1c1)]&&_0x28f2f1[_0x158a84(0x184)](_0x1df5a7=>_0x15db2a[_0x158a84(0x1a3)](_0x1df5a7)))||(this[_0x158a84(0x17d)]=!0x1,this[_0x158a84(0x185)](_0x3370fa),this[_0x158a84(0x172)](_0x3370fa[0x0]||null));}),this[_0x2905a8(0x175)](_0x54accb,_0x2905a8(0x1a8),(_0x3f3caf,{isAnnotationTracked:_0x2d0005})=>{const _0x12262a=_0x2905a8;this[_0x12262a(0x1c6)]&&_0x2d0005(this[_0x12262a(0x1c6)])&&(this[_0x12262a(0x185)]([]),this[_0x12262a(0x172)](null));}),this[_0x2905a8(0x175)](this[_0x2905a8(0x191)]['ui'][_0x2905a8(0x199)],_0x2905a8(0x190),(_0x3c3c58,_0x4c291f,_0x44b12f)=>{const _0x283725=_0x2905a8;_0x44b12f||this[_0x283725(0x172)](null);}),this[_0x2905a8(0x175)](_0x9356a7,_0x2905a8(0x17a),(_0xd44615,_0x37cfd0)=>{const _0x2f62e2=_0x2905a8;this[_0x2f62e2(0x1bc)](_0x37cfd0),_0x37cfd0===this[_0x2f62e2(0x1c6)]&&this[_0x2f62e2(0x172)](null);}),this[_0x2905a8(0x175)](_0x340425,_0x2905a8(0x1b3),(_0xded48e,_0x231c0c,_0x1992f3,_0x31a432)=>{const _0x52ede9=_0x2905a8;_0x31a432&&this[_0x52ede9(0x192)](_0x31a432);const _0x2aa68a=_0x9356a7[_0x52ede9(0x1ad)](_0x1992f3);_0x1992f3&&_0x2aa68a&&(this[_0x52ede9(0x175)](_0x1992f3,_0x52ede9(0x1a7),()=>{const _0x17f79f=_0x52ede9;_0x340425[_0x17f79f(0x170)]();}),this[_0x52ede9(0x175)](_0x1992f3,_0x52ede9(0x1c0),()=>{const _0x2a291a=_0x52ede9;this[_0x2a291a(0x174)](_0x2aa68a),this[_0x2a291a(0x191)][_0x2a291a(0x19e)][_0x2a291a(0x169)][_0x2a291a(0x198)]();}),this[_0x52ede9(0x1c6)]!==_0x2aa68a&&this[_0x52ede9(0x172)](_0x2aa68a));}),this[_0x2905a8(0x175)](this[_0x2905a8(0x191)]['ui'],_0x2905a8(0x18f),()=>{const _0x2ab6db=_0x2905a8;_0x340425[_0x2ab6db(0x188)]&&(_0x9356a7[_0x2ab6db(0x1ad)](_0x340425[_0x2ab6db(0x188)])&&_0x340425[_0x2ab6db(0x170)]());}),this[_0x2905a8(0x175)](this[_0x2905a8(0x191)][_0x2905a8(0x19e)][_0x2905a8(0x169)][_0x2905a8(0x1b1)],_0x2905a8(0x180),()=>{const _0x4bb811=_0x2905a8;this[_0x4bb811(0x17d)]=!0x0,this[_0x4bb811(0x1a1)][_0x4bb811(0x16d)]();}),this[_0x2905a8(0x191)][_0x2905a8(0x19e)][_0x2905a8(0x169)][_0x2905a8(0x1b1)][_0x2905a8(0x1be)][_0x2905a8(0x18b)]&&this[_0x2905a8(0x191)][_0x2905a8(0x19e)][_0x2905a8(0x169)][_0x2905a8(0x198)](),this[_0x2905a8(0x16e)]=!0x0;}[_0x578191(0x17b)](){const _0x1a7df8=_0x578191;if(!this[_0x1a7df8(0x16e)])throw new _0x207d10(_0x1a7df8(0x1af),this);this[_0x1a7df8(0x172)](null);for(const _0x27411f of this[_0x1a7df8(0x1bb)])this[_0x1a7df8(0x1bc)](_0x27411f);this[_0x1a7df8(0x192)](),this[_0x1a7df8(0x16e)]=!0x1,this[_0x1a7df8(0x196)]=null;}[_0x578191(0x18e)](){const _0x2b0b5d=_0x578191;this[_0x2b0b5d(0x16e)]&&this[_0x2b0b5d(0x17b)]();}[_0x578191(0x185)](_0x3da37d){const _0x73a3cc=_0x578191;for(const _0x772311 of this[_0x73a3cc(0x1ab)])_0x3da37d[_0x73a3cc(0x1a3)](_0x772311)||this[_0x73a3cc(0x1a1)][_0x73a3cc(0x19a)](_0x772311);for(const _0x5ecea0 of this[_0x73a3cc(0x196)])_0x3da37d[_0x73a3cc(0x1a3)](_0x5ecea0)||this[_0x73a3cc(0x1bc)](_0x5ecea0);if(this[_0x73a3cc(0x191)]['ui'][_0x73a3cc(0x199)][_0x73a3cc(0x17c)]){for(const _0xbb2397 of _0x3da37d)this[_0x73a3cc(0x19d)](_0xbb2397);}this[_0x73a3cc(0x1ab)]=_0x3da37d;}[_0x578191(0x19d)](_0x5d2ece,_0x4cf17e=!0x1){const _0x297c61=_0x578191;this[_0x297c61(0x1a1)][_0x297c61(0x176)](_0x5d2ece)||(this[_0x297c61(0x1bb)][_0x297c61(0x176)](_0x5d2ece)||this[_0x297c61(0x1c9)][_0x297c61(0x173)](_0x5d2ece[_0x297c61(0x169)])||(this[_0x297c61(0x1bb)][_0x297c61(0x1c5)](_0x5d2ece),this[_0x297c61(0x1c9)][_0x297c61(0x1c5)]({'stackId':_0x5d2ece[_0x297c61(0x169)]['id'],'view':_0x5d2ece[_0x297c61(0x169)],'position':{'target':()=>this[_0x297c61(0x187)](_0x5d2ece)}})),_0x4cf17e&&this[_0x297c61(0x1c9)][_0x297c61(0x17e)](_0x5d2ece[_0x297c61(0x169)]['id']));}[_0x578191(0x187)](_0x50b65c){const _0x1713a4=_0x578191,_0x510788=_0x50b65c[_0x1713a4(0x16a)],_0x4f5f13=this[_0x1713a4(0x191)][_0x1713a4(0x19e)][_0x1713a4(0x169)],_0x46cc0f=_0x4f5f13[_0x1713a4(0x1b1)][_0x1713a4(0x1be)][_0x1713a4(0x1b8)](),_0x2a9924=_0x4f5f13[_0x1713a4(0x194)][_0x1713a4(0x16b)](_0x46cc0f);if(_0x2a9924[_0x1713a4(0x1c8)](!0x0),_0x510788){if(_0x510788 instanceof _0x1b4853)return _0x510788;let _0x1b6728=[];for(const _0x232291 of _0x510788)_0x1b6728[_0x1713a4(0x195)](...(_0x3adaf2=_0x232291[_0x1713a4(0x18d)](),Array[_0x1713a4(0x18c)](_0x3adaf2)[_0x1713a4(0x1ba)](DOMRect[_0x1713a4(0x178)])));_0x1b6728=function(_0x2eefb9){const _0x334467=_0x1713a4,_0x4c04fc=[];let _0x3b1fc5=_0x2eefb9[0x0];for(let _0x36ab2a=0x1;_0x36ab2a<_0x2eefb9[_0x334467(0x1c1)];_0x36ab2a++)F(_0x3b1fc5,_0x2eefb9[_0x36ab2a])?_0x3b1fc5[_0x334467(0x1a5)]+=_0x2eefb9[_0x36ab2a][_0x334467(0x1a5)]:(_0x4c04fc[_0x334467(0x195)](_0x3b1fc5),_0x3b1fc5=_0x2eefb9[_0x36ab2a]);return _0x4c04fc[_0x334467(0x195)](_0x3b1fc5),_0x4c04fc;}(_0x1b6728);const _0x3c7f04=_0x2a9924[_0x1713a4(0x1c4)]();return _0x1b6728[_0x1713a4(0x19c)](_0x23b4d9=>_0x23b4d9[_0x1713a4(0x1b9)]<=_0x3c7f04[_0x1713a4(0x1b9)]&&_0x23b4d9[_0x1713a4(0x182)]>=_0x3c7f04[_0x1713a4(0x182)]&&_0x23b4d9[_0x1713a4(0x1a9)]<=_0x3c7f04[_0x1713a4(0x1a9)]&&_0x23b4d9[_0x1713a4(0x18a)]>=_0x3c7f04[_0x1713a4(0x18a)])||_0x1b6728[0x0];}var _0x3adaf2;return _0x50b65c[_0x1713a4(0x1b0)]||_0x2a9924;}[_0x578191(0x1bc)](_0x574734){const _0x2584ec=_0x578191;this[_0x2584ec(0x1bb)][_0x2584ec(0x176)](_0x574734)&&this[_0x2584ec(0x1c9)][_0x2584ec(0x173)](_0x574734[_0x2584ec(0x169)])&&(this[_0x2584ec(0x1bb)][_0x2584ec(0x19a)](_0x574734),this[_0x2584ec(0x1c9)][_0x2584ec(0x17a)](_0x574734[_0x2584ec(0x169)]));}[_0x578191(0x174)](_0x5bc828){const _0x24bf20=_0x578191;this[_0x24bf20(0x1a1)][_0x24bf20(0x1c5)](_0x5bc828),this[_0x24bf20(0x1bc)](_0x5bc828);}}function _0x3eb0(){const _0x581c21=['register','72xMzbMZ','set','getFirstRange','top','map','_addedAnnotations','_removeAnnotationFromBalloon','6872154zbTOXP','selection','isActive','Esc','length','InlineAnnotations','inline','getBoundingClientRect','add','activeAnnotation','context','collapse','_balloon','view','target','viewRangeToDom','requires','clear','isAttached','keystrokes','updatePosition','496389mjkyHA','setActiveAnnotation','hasView','_closeAnnotation','listenTo','has','pluginName','fromRect','refresh','remove','detach','isFocused','_forceRefresh','showStack','inlineannotations-attach-already-attached','mousedown','get','bottom','1603722RqiBfK','every','_setSelectedAnnotations','afterInit','_getBalloonTargetForAnnotation','visibleView','hasActive','right','editableElement','from','getClientRects','destroy','update','change:isFocused','editor','stopListening','getOrderedSelectedAnnotations','domConverter','push','annotations','5870025hmYURG','focus','focusTracker','delete','5ZIDOkx','find','_addAnnotationToBalloon','editing','plugins','4ZhvLVT','_manuallyClosed','21377670DKvoLu','includes','switchTo','width','137200rQEqps','change:height','blur','left','2077239VHySYW','_selectedAnnotations','inlineannotations-not-allowed-with-context','getByView','attach','inlineannotations-detach-not-attached','targetRect','document','init','change:visibleView','addObserver'];_0x3eb0=function(){return _0x581c21;};return _0x3eb0();}function F(_0x4094f4,_0xa94205){const _0x1db255=_0x578191;return _0x4094f4[_0x1db255(0x1b9)]===_0xa94205[_0x1db255(0x1b9)]&&_0x4094f4[_0x1db255(0x182)]===_0xa94205[_0x1db255(0x182)]&&_0x4094f4[_0x1db255(0x18a)]===_0xa94205[_0x1db255(0x1a9)];}
|
|
23
|
+
function _0x1625(){const _0x2f1818=['change:visibleView','editor','showStack','every','inlineannotations-detach-not-attached','get','register','find','getClientRects','inline','keystrokes','view','selection','_addAnnotationToBalloon','detach','includes','451520VZGViq','addObserver','isFocused','map','isActive','editableElement','destroy','hasView','add','update','1757322ogvqys','left','collapse','_addedAnnotations','fromRect','_removeAnnotationFromBalloon','init','width','focusTracker','listenTo','attach','push','length','right','clear','targetRect','_balloon','_selectedAnnotations','updatePosition','_closeAnnotation','getBoundingClientRect','inlineannotations-not-allowed-with-context','stopListening','Esc','_getBalloonTargetForAnnotation','_manuallyClosed','846639UrEWwe','1184520TFGwPq','getFirstRange','context','activeAnnotation','requires','7296392TCrXkv','InlineAnnotations','annotations','blur','isAttached','mousedown','plugins','_setSelectedAnnotations','switchTo','set','from','focus','setActiveAnnotation','inlineannotations-attach-already-attached','viewRangeToDom','bottom','delete','getByView','domConverter','_forceRefresh','pluginName','has','visibleView','7cMCEvY','hasActive','target','32lsKQyA','17283609GjgTiu','getOrderedSelectedAnnotations','change:height','refresh','change:isFocused','editing','document','45042hAPxFo','remove','top','afterInit'];_0x1625=function(){return _0x2f1818;};return _0x1625();}const _0x4e8a2e=_0x3291;function _0x3291(_0x317d70,_0x4b7038){const _0x1625d5=_0x1625();return _0x3291=function(_0x329183,_0x4b60a5){_0x329183=_0x329183-0x13c;let _0x44af11=_0x1625d5[_0x329183];return _0x44af11;},_0x3291(_0x317d70,_0x4b7038);}(function(_0x47ebc6,_0x3dffd3){const _0x4cba00=_0x3291,_0x2789d0=_0x47ebc6();while(!![]){try{const _0x57356c=-parseInt(_0x4cba00(0x171))/0x1+-parseInt(_0x4cba00(0x172))/0x2+-parseInt(_0x4cba00(0x199))/0x3+-parseInt(_0x4cba00(0x191))/0x4*(-parseInt(_0x4cba00(0x14d))/0x5)+parseInt(_0x4cba00(0x157))/0x6+parseInt(_0x4cba00(0x18e))/0x7*(-parseInt(_0x4cba00(0x177))/0x8)+parseInt(_0x4cba00(0x192))/0x9;if(_0x57356c===_0x3dffd3)break;else _0x2789d0['push'](_0x2789d0['shift']());}catch(_0x5c8f36){_0x2789d0['push'](_0x2789d0['shift']());}}}(_0x1625,0x8b19e));import{Plugin as _0x73d86d}from'ckeditor5/src/core.js';import _0x362cd7 from'./annotationsuis.js';import _0x21d0bf from'./editorannotations.js';import{ContextualBalloon as _0x3d5bb4}from'ckeditor5/src/ui.js';import{MouseObserver as _0x46cca3}from'ckeditor5/src/engine.js';import{CKEditorError as _0x1fd6ec,Rect as _0x1cac64}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x73d86d{static get[_0x4e8a2e(0x176)](){return[_0x21d0bf,_0x3d5bb4,_0x362cd7];}static get[_0x4e8a2e(0x18b)](){const _0x2d5a67=_0x4e8a2e;return _0x2d5a67(0x178);}constructor(_0x402fd0){const _0x1c0f2b=_0x4e8a2e;super(_0x402fd0),_0x402fd0[_0x1c0f2b(0x197)][_0x1c0f2b(0x148)][_0x1c0f2b(0x14e)](_0x46cca3),this[_0x1c0f2b(0x17b)]=!0x1,this[_0x1c0f2b(0x180)](_0x1c0f2b(0x175),null),this[_0x1c0f2b(0x179)]=null,this[_0x1c0f2b(0x170)]=new Set(),this[_0x1c0f2b(0x167)]=_0x402fd0[_0x1c0f2b(0x17d)][_0x1c0f2b(0x142)](_0x3d5bb4),this[_0x1c0f2b(0x15a)]=new Set(),this[_0x1c0f2b(0x168)]=[],this[_0x1c0f2b(0x18a)]=!0x1;}[_0x4e8a2e(0x15d)](){const _0x5541fd=_0x4e8a2e,_0x25589f=this[_0x5541fd(0x13e)][_0x5541fd(0x17d)][_0x5541fd(0x142)](_0x362cd7);_0x25589f[_0x5541fd(0x174)]===this[_0x5541fd(0x13e)]&&(_0x25589f[_0x5541fd(0x143)](_0x5541fd(0x146),this),this[_0x5541fd(0x13e)][_0x5541fd(0x147)][_0x5541fd(0x180)](_0x5541fd(0x16e),(_0x52548a,_0x29b080)=>{const _0x4b0407=_0x5541fd,_0x509cac=this[_0x4b0407(0x167)];if(this[_0x4b0407(0x17b)]&&_0x509cac[_0x4b0407(0x18d)]){const _0x4f74a5=this[_0x4b0407(0x179)][_0x4b0407(0x188)](_0x509cac[_0x4b0407(0x18d)]);_0x4f74a5&&this[_0x4b0407(0x16a)](_0x4f74a5),_0x29b080();}}));}[_0x4e8a2e(0x13c)](){const _0x5247f4=_0x4e8a2e,_0x4d5c39=this[_0x5247f4(0x13e)][_0x5247f4(0x17d)][_0x5247f4(0x142)](_0x362cd7);_0x4d5c39[_0x5247f4(0x174)]===this[_0x5247f4(0x13e)]&&(_0x4d5c39[_0x5247f4(0x18f)]()||_0x4d5c39[_0x5247f4(0x17f)](_0x5247f4(0x146)));}[_0x4e8a2e(0x183)](_0x4bfa0f){const _0x16c539=_0x4e8a2e;_0x4bfa0f!==this[_0x16c539(0x175)]&&(this[_0x16c539(0x175)]&&(this[_0x16c539(0x175)][_0x16c539(0x151)]=!0x1),_0x4bfa0f&&this[_0x16c539(0x13e)]['ui'][_0x16c539(0x15f)][_0x16c539(0x14f)]&&(this[_0x16c539(0x179)][_0x16c539(0x18c)](_0x4bfa0f)&&this[_0x16c539(0x14a)](_0x4bfa0f,!0x0),_0x4bfa0f[_0x16c539(0x151)]=!0x0),_0x4bfa0f||this[_0x16c539(0x17e)]([]),this[_0x16c539(0x175)]=_0x4bfa0f);}[_0x4e8a2e(0x161)](_0x1a0ce4){const _0x3b5d39=_0x4e8a2e;this[_0x3b5d39(0x179)]=_0x1a0ce4;const _0x3f2742=this[_0x3b5d39(0x13e)][_0x3b5d39(0x17d)][_0x3b5d39(0x142)](_0x362cd7),_0x30e5e9=this[_0x3b5d39(0x167)];if(this[_0x3b5d39(0x17b)])throw new _0x1fd6ec(_0x3b5d39(0x184),this);if(_0x3f2742[_0x3b5d39(0x174)]!==this[_0x3b5d39(0x13e)])throw new _0x1fd6ec(_0x3b5d39(0x16c),this);const _0x335702=this[_0x3b5d39(0x13e)][_0x3b5d39(0x17d)][_0x3b5d39(0x142)](_0x21d0bf);this[_0x3b5d39(0x160)](_0x335702,_0x3b5d39(0x195),()=>{const _0x2e9410=_0x3b5d39,_0x2b133e=_0x335702[_0x2e9410(0x193)]({'annotations':this[_0x2e9410(0x179)],'activeAnnotation':this[_0x2e9410(0x175)]});var _0x488266,_0x5a65ff;!this[_0x2e9410(0x18a)]&&(_0x488266=_0x2b133e,_0x5a65ff=this[_0x2e9410(0x168)],_0x488266[_0x2e9410(0x163)]===_0x5a65ff[_0x2e9410(0x163)]&&_0x488266[_0x2e9410(0x140)](_0x3829af=>_0x5a65ff[_0x2e9410(0x14c)](_0x3829af)))||(this[_0x2e9410(0x18a)]=!0x1,this[_0x2e9410(0x17e)](_0x2b133e),this[_0x2e9410(0x183)](_0x2b133e[0x0]||null));}),this[_0x3b5d39(0x160)](_0x335702,_0x3b5d39(0x17a),(_0x295993,{isAnnotationTracked:_0x10d2ae})=>{const _0x5206f1=_0x3b5d39;this[_0x5206f1(0x175)]&&_0x10d2ae(this[_0x5206f1(0x175)])&&(this[_0x5206f1(0x17e)]([]),this[_0x5206f1(0x183)](null));}),this[_0x3b5d39(0x160)](this[_0x3b5d39(0x13e)]['ui'][_0x3b5d39(0x15f)],_0x3b5d39(0x196),(_0xc8bbf8,_0x1f0203,_0x56235d)=>{const _0x10646b=_0x3b5d39;_0x56235d||this[_0x10646b(0x183)](null);}),this[_0x3b5d39(0x160)](_0x1a0ce4,_0x3b5d39(0x19a),(_0x267860,_0x16c5cc)=>{const _0x36aabd=_0x3b5d39;this[_0x36aabd(0x15c)](_0x16c5cc),_0x16c5cc===this[_0x36aabd(0x175)]&&this[_0x36aabd(0x183)](null);}),this[_0x3b5d39(0x160)](_0x30e5e9,_0x3b5d39(0x13d),(_0x2328b2,_0x636d18,_0x7406,_0x56c62d)=>{const _0x57e87b=_0x3b5d39;_0x56c62d&&this[_0x57e87b(0x16d)](_0x56c62d);const _0x45619a=_0x1a0ce4[_0x57e87b(0x188)](_0x7406);_0x7406&&_0x45619a&&(this[_0x57e87b(0x160)](_0x7406,_0x57e87b(0x194),()=>{const _0x3fe660=_0x57e87b;_0x30e5e9[_0x3fe660(0x169)]();}),this[_0x57e87b(0x160)](_0x7406,_0x57e87b(0x16e),()=>{const _0x12392c=_0x57e87b;this[_0x12392c(0x16a)](_0x45619a),this[_0x12392c(0x13e)][_0x12392c(0x197)][_0x12392c(0x148)][_0x12392c(0x182)]();}),this[_0x57e87b(0x175)]!==_0x45619a&&this[_0x57e87b(0x183)](_0x45619a));}),this[_0x3b5d39(0x160)](this[_0x3b5d39(0x13e)]['ui'],_0x3b5d39(0x156),()=>{const _0xcbb59d=_0x3b5d39;_0x30e5e9[_0xcbb59d(0x18d)]&&(_0x1a0ce4[_0xcbb59d(0x188)](_0x30e5e9[_0xcbb59d(0x18d)])&&_0x30e5e9[_0xcbb59d(0x169)]());}),this[_0x3b5d39(0x160)](this[_0x3b5d39(0x13e)][_0x3b5d39(0x197)][_0x3b5d39(0x148)][_0x3b5d39(0x198)],_0x3b5d39(0x17c),()=>{const _0x3849f1=_0x3b5d39;this[_0x3849f1(0x18a)]=!0x0,this[_0x3849f1(0x170)][_0x3849f1(0x165)]();}),this[_0x3b5d39(0x13e)][_0x3b5d39(0x197)][_0x3b5d39(0x148)][_0x3b5d39(0x198)][_0x3b5d39(0x149)][_0x3b5d39(0x152)]&&this[_0x3b5d39(0x13e)][_0x3b5d39(0x197)][_0x3b5d39(0x148)][_0x3b5d39(0x182)](),this[_0x3b5d39(0x17b)]=!0x0;}[_0x4e8a2e(0x14b)](){const _0x53ba70=_0x4e8a2e;if(!this[_0x53ba70(0x17b)])throw new _0x1fd6ec(_0x53ba70(0x141),this);this[_0x53ba70(0x183)](null);for(const _0x43d4ae of this[_0x53ba70(0x15a)])this[_0x53ba70(0x15c)](_0x43d4ae);this[_0x53ba70(0x16d)](),this[_0x53ba70(0x17b)]=!0x1,this[_0x53ba70(0x179)]=null;}[_0x4e8a2e(0x153)](){const _0x9b9bb2=_0x4e8a2e;this[_0x9b9bb2(0x17b)]&&this[_0x9b9bb2(0x14b)]();}[_0x4e8a2e(0x17e)](_0x2187c6){const _0x2ea4bb=_0x4e8a2e;for(const _0x30edcb of this[_0x2ea4bb(0x168)])_0x2187c6[_0x2ea4bb(0x14c)](_0x30edcb)||this[_0x2ea4bb(0x170)][_0x2ea4bb(0x187)](_0x30edcb);for(const _0x20e9a2 of this[_0x2ea4bb(0x179)])_0x2187c6[_0x2ea4bb(0x14c)](_0x20e9a2)||this[_0x2ea4bb(0x15c)](_0x20e9a2);if(this[_0x2ea4bb(0x13e)]['ui'][_0x2ea4bb(0x15f)][_0x2ea4bb(0x14f)]){for(const _0xc842eb of _0x2187c6)this[_0x2ea4bb(0x14a)](_0xc842eb);}this[_0x2ea4bb(0x168)]=_0x2187c6;}[_0x4e8a2e(0x14a)](_0x45a1ef,_0x224aea=!0x1){const _0x2283f3=_0x4e8a2e;this[_0x2283f3(0x170)][_0x2283f3(0x18c)](_0x45a1ef)||(this[_0x2283f3(0x15a)][_0x2283f3(0x18c)](_0x45a1ef)||this[_0x2283f3(0x167)][_0x2283f3(0x154)](_0x45a1ef[_0x2283f3(0x148)])||(this[_0x2283f3(0x15a)][_0x2283f3(0x155)](_0x45a1ef),this[_0x2283f3(0x167)][_0x2283f3(0x155)]({'stackId':_0x45a1ef[_0x2283f3(0x148)]['id'],'view':_0x45a1ef[_0x2283f3(0x148)],'position':{'target':()=>this[_0x2283f3(0x16f)](_0x45a1ef)}})),_0x224aea&&this[_0x2283f3(0x167)][_0x2283f3(0x13f)](_0x45a1ef[_0x2283f3(0x148)]['id']));}[_0x4e8a2e(0x16f)](_0x40cc54){const _0x96e059=_0x4e8a2e,_0x5165c6=_0x40cc54[_0x96e059(0x190)],_0x238a0d=this[_0x96e059(0x13e)][_0x96e059(0x197)][_0x96e059(0x148)],_0x3df293=_0x238a0d[_0x96e059(0x198)][_0x96e059(0x149)][_0x96e059(0x173)](),_0x4d7fb6=_0x238a0d[_0x96e059(0x189)][_0x96e059(0x185)](_0x3df293);if(_0x4d7fb6[_0x96e059(0x159)](!0x0),_0x5165c6){if(_0x5165c6 instanceof _0x1cac64)return _0x5165c6;let _0xbfd571=[];for(const _0x252733 of _0x5165c6)_0xbfd571[_0x96e059(0x162)](...(_0x3d3361=_0x252733[_0x96e059(0x145)](),Array[_0x96e059(0x181)](_0x3d3361)[_0x96e059(0x150)](DOMRect[_0x96e059(0x15b)])));_0xbfd571=function(_0x4f23a8){const _0x3881bf=_0x96e059,_0x3ac5c6=[];let _0x4b939f=_0x4f23a8[0x0];for(let _0x145224=0x1;_0x145224<_0x4f23a8[_0x3881bf(0x163)];_0x145224++)F(_0x4b939f,_0x4f23a8[_0x145224])?_0x4b939f[_0x3881bf(0x15e)]+=_0x4f23a8[_0x145224][_0x3881bf(0x15e)]:(_0x3ac5c6[_0x3881bf(0x162)](_0x4b939f),_0x4b939f=_0x4f23a8[_0x145224]);return _0x3ac5c6[_0x3881bf(0x162)](_0x4b939f),_0x3ac5c6;}(_0xbfd571);const _0x1f3161=_0x4d7fb6[_0x96e059(0x16b)]();return _0xbfd571[_0x96e059(0x144)](_0x2fe01f=>_0x2fe01f[_0x96e059(0x19b)]<=_0x1f3161[_0x96e059(0x19b)]&&_0x2fe01f[_0x96e059(0x186)]>=_0x1f3161[_0x96e059(0x186)]&&_0x2fe01f[_0x96e059(0x158)]<=_0x1f3161[_0x96e059(0x158)]&&_0x2fe01f[_0x96e059(0x164)]>=_0x1f3161[_0x96e059(0x164)])||_0xbfd571[0x0];}var _0x3d3361;return _0x40cc54[_0x96e059(0x166)]||_0x4d7fb6;}[_0x4e8a2e(0x15c)](_0x4d7290){const _0x21e231=_0x4e8a2e;this[_0x21e231(0x15a)][_0x21e231(0x18c)](_0x4d7290)&&this[_0x21e231(0x167)][_0x21e231(0x154)](_0x4d7290[_0x21e231(0x148)])&&(this[_0x21e231(0x15a)][_0x21e231(0x187)](_0x4d7290),this[_0x21e231(0x167)][_0x21e231(0x19a)](_0x4d7290[_0x21e231(0x148)]));}[_0x4e8a2e(0x16a)](_0x1bbed9){const _0x4e3dd3=_0x4e8a2e;this[_0x4e3dd3(0x170)][_0x4e3dd3(0x155)](_0x1bbed9),this[_0x4e3dd3(0x15c)](_0x1bbed9);}}function F(_0x2a795b,_0x1c8ee9){const _0x239eb8=_0x4e8a2e;return _0x2a795b[_0x239eb8(0x19b)]===_0x1c8ee9[_0x239eb8(0x19b)]&&_0x2a795b[_0x239eb8(0x186)]===_0x1c8ee9[_0x239eb8(0x186)]&&_0x2a795b[_0x239eb8(0x164)]===_0x1c8ee9[_0x239eb8(0x158)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xde2abc=_0x35a6;(function(_0x5eca97,_0x9044d1){const _0x57c4a9=_0x35a6,_0x1bff63=_0x5eca97();while(!![]){try{const _0x52c77f=-parseInt(_0x57c4a9(0x1c0))/0x1+parseInt(_0x57c4a9(0x193))/0x2*(parseInt(_0x57c4a9(0x1c5))/0x3)+-parseInt(_0x57c4a9(0x1d0))/0x4*(parseInt(_0x57c4a9(0x1e0))/0x5)+-parseInt(_0x57c4a9(0x1bf))/0x6+-parseInt(_0x57c4a9(0x185))/0x7+parseInt(_0x57c4a9(0x179))/0x8*(parseInt(_0x57c4a9(0x183))/0x9)+parseInt(_0x57c4a9(0x17e))/0xa*(parseInt(_0x57c4a9(0x18f))/0xb);if(_0x52c77f===_0x9044d1)break;else _0x1bff63['push'](_0x1bff63['shift']());}catch(_0x245a48){_0x1bff63['push'](_0x1bff63['shift']());}}}(_0x4701,0xbd99e));import{ContextPlugin as _0x277e1e,Context as _0x1ea528}from'ckeditor5/src/core.js';import _0xc24db0 from'./annotationsuis.js';import _0x1b70a3 from'./sidebar.js';import _0x54b5a6 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x31176e,BodyCollection as _0x360b48}from'ckeditor5/src/ui.js';import{CKEditorError as _0x2eb197,DomEmitterMixin as _0x18aaed,keyCodes as _0x348081,Collection as _0x5615b1}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x97d1e8}from'lodash-es';function _0x4701(){const _0x17ee6f=['attach','_attachToContainer','get','contains','_attachListeners','_integrateWithEditorAnnotations','northArrowSouthWest','2984YQmPky','focus','from','find','refresh','10SpxFht','bodyCollection','isVisible','low','_detachFromContainer','2763VAcEvu','_hideBalloon','8833006SQQkZS','EditorAnnotations','addAnnotation','southArrowNorthEast','detachFromDom','NarrowSidebar','includes','execute','_selectedAnnotations','content','40442094SsaYEd','rearrange','annotations','defaultPositions','4228FItRNn','blur','create','southArrowNorth','_showBalloon','hasDomSelection','isAttached','preventClosingBalloon','getByView','resize','init','attachToDom','type','_annotations','balloonPanelView','high','narrowsidebar-detach-not-attached','_destroyEditorAnnotationsIntegration','length','first','target','narrowSidebar','_annotationToNarrowView','_domEmitter','setActiveAnnotation','remove','stopPropagation','northArrowSouth','southArrowNorthWest','_refreshPositioning','cancel','set','number','clear','locale','set:container','element','refreshPositioning','stopListening','view','Esc','unpin','keydown','ready','5309352nrltJq','137134lZsBaB','_updateBalloonPosition','annotationType','_editorAnnotations','change:height','138XyctzK','off','change:container','preventDefault','values','mousedown','register','bind','delete','keyCode','uiUpdate','4VavuNu','ck-sidebar--narrow','isDirty','removeEventListener','has','plugins','addEventListener','_setSelectedAnnotations','requires','pin','activeAnnotation','esc','listenTo','northArrowSouthEast','_refreshPositioningDebounced','destroy','4139095CGSUtP','getOrderedSelectedAnnotations','context','focusableElements','getSidebarItemView','stop','narrowsidebar-attach-already-attached','detach','add','editors','_manuallyClosedAnnotationViews','pluginName','_detachListeners'];_0x4701=function(){return _0x17ee6f;};return _0x4701();}import _0x4393b5 from'./editorannotations.js';function _0x35a6(_0x3e8949,_0x33839b){const _0x470129=_0x4701();return _0x35a6=function(_0x35a6b5,_0x433471){_0x35a6b5=_0x35a6b5-0x179;let _0x3f923f=_0x470129[_0x35a6b5];return _0x3f923f;},_0x35a6(_0x3e8949,_0x33839b);}export default class i extends _0x277e1e{static get[_0xde2abc(0x1d8)](){return[_0x1b70a3,_0xc24db0];}static get[_0xde2abc(0x1eb)](){const _0x4d98dc=_0xde2abc;return _0x4d98dc(0x18a);}constructor(_0x581500){const _0x47b6b6=_0xde2abc;super(_0x581500),this[_0x47b6b6(0x199)]=!0x1,this[_0x47b6b6(0x1ea)]=new Set(),this[_0x47b6b6(0x1aa)]=Object[_0x47b6b6(0x195)](_0x18aaed),this[_0x47b6b6(0x1a9)]=new Map(),this[_0x47b6b6(0x1b2)](_0x47b6b6(0x1da),null),this[_0x47b6b6(0x191)]=null,this[_0x47b6b6(0x18d)]=[],this[_0x47b6b6(0x1c3)]=new _0x5615b1(),this[_0x47b6b6(0x1de)]=_0x97d1e8(()=>{const _0x5fccae=_0x47b6b6;this[_0x5fccae(0x1b0)]();},0xfa,{'leading':!0x1});}[_0xde2abc(0x19d)](){const _0x14a3ee=_0xde2abc;this[_0x14a3ee(0x1e2)][_0x14a3ee(0x1d5)][_0x14a3ee(0x1ef)](_0xc24db0)[_0x14a3ee(0x1cb)](_0x14a3ee(0x1a8),this),this[_0x14a3ee(0x17f)]=new _0x360b48(this[_0x14a3ee(0x1e2)][_0x14a3ee(0x1b5)]),this[_0x14a3ee(0x1a1)]=new _0x31176e(this[_0x14a3ee(0x1e2)][_0x14a3ee(0x1b5)]),this[_0x14a3ee(0x17f)][_0x14a3ee(0x19e)](),this[_0x14a3ee(0x17f)][_0x14a3ee(0x1e8)](this[_0x14a3ee(0x1a1)]);}[_0xde2abc(0x1ed)](_0x51006c){const _0x1e491b=_0xde2abc;this[_0x1e491b(0x191)]=_0x51006c;const _0x5729b8=this[_0x1e491b(0x1e2)][_0x1e491b(0x1d5)][_0x1e491b(0x1ef)](_0x1b70a3),_0x5c8504=this[_0x1e491b(0x1a1)];if(_0x5729b8[_0x1e491b(0x1a0)]=_0x51006c,this[_0x1e491b(0x199)])throw new _0x2eb197(_0x1e491b(0x1e6),this);this[_0x1e491b(0x199)]=!0x0,this[_0x1e491b(0x1dc)](_0x5729b8,_0x1e491b(0x1b6),()=>{const _0x2ce2c1=_0x1e491b;this[_0x2ce2c1(0x1e7)](),this[_0x2ce2c1(0x1dc)](_0x5729b8,_0x2ce2c1(0x1c7),_0x35f5aa=>{const _0x72460b=_0x2ce2c1;_0x35f5aa[_0x72460b(0x1c6)](),this[_0x72460b(0x1ed)](_0x51006c);});}),_0x5729b8[_0x1e491b(0x1ee)]({'viewClass':_0x1e491b(0x1d1),'spaceBetweenItems':0x5});const _0x15a04a=_0x45362d=>{const _0x31a8a4=_0x1e491b,_0x4cc6ca=new _0x54b5a6(this[_0x31a8a4(0x1e2)][_0x31a8a4(0x1b5)]);_0x5729b8[_0x31a8a4(0x187)](_0x45362d,_0x4cc6ca),this[_0x31a8a4(0x1a9)][_0x31a8a4(0x1b2)](_0x45362d,_0x4cc6ca),_0x4cc6ca[_0x31a8a4(0x1cc)](_0x31a8a4(0x1d2),_0x31a8a4(0x1c2),_0x31a8a4(0x1b3))['to'](_0x45362d[_0x31a8a4(0x1ba)],_0x31a8a4(0x1d2),_0x31a8a4(0x19f),_0x31a8a4(0x1a5)),_0x4cc6ca['on'](_0x31a8a4(0x18c),()=>{const _0x3f2e65=_0x31a8a4;this[_0x3f2e65(0x1ea)][_0x3f2e65(0x1b4)](),_0x5c8504[_0x3f2e65(0x18e)][_0x3f2e65(0x1a6)]!==_0x45362d[_0x3f2e65(0x1ba)]?(this[_0x3f2e65(0x197)](_0x45362d),_0x45362d[_0x3f2e65(0x1ba)][_0x3f2e65(0x1b7)][_0x3f2e65(0x17a)](),this[_0x3f2e65(0x1ab)](_0x45362d)):this[_0x3f2e65(0x1ab)](null);});};for(const _0x298c72 of _0x51006c)_0x15a04a(_0x298c72);this[_0x1e491b(0x1dc)](_0x51006c,_0x1e491b(0x1e8),(_0x2e2935,_0x8de72d)=>{_0x15a04a(_0x8de72d);}),this[_0x1e491b(0x1dc)](_0x51006c,_0x1e491b(0x1ac),(_0x15c630,_0x206140,_0x34a482)=>{const _0x568f3a=_0x1e491b;this[_0x568f3a(0x1a9)][_0x568f3a(0x1ef)](_0x206140)[_0x568f3a(0x1df)](),this[_0x568f3a(0x1a9)][_0x568f3a(0x1cd)](_0x206140),_0x5729b8[_0x568f3a(0x190)]({'removedAnnotation':_0x206140,'previousAnnotation':_0x51006c[_0x568f3a(0x1ef)](_0x34a482-0x1),'nextAnnotation':_0x51006c[_0x568f3a(0x1ef)](_0x34a482+0x1)}),_0x206140===this[_0x568f3a(0x1da)]&&this[_0x568f3a(0x1ab)](null);},{'priority':_0x1e491b(0x181)}),this[_0x1e491b(0x1dc)](_0x51006c,_0x1e491b(0x17a),(_0x58a4e7,_0x2b78dd)=>{const _0x29ac0e=_0x1e491b;this[_0x29ac0e(0x1ab)](_0x2b78dd);}),this[_0x1e491b(0x1dc)](_0x51006c,_0x1e491b(0x194),()=>{const _0x33a740=_0x1e491b;this[_0x33a740(0x1ab)](null);}),this[_0x1e491b(0x1aa)][_0x1e491b(0x1dc)](document,_0x1e491b(0x1bd),(_0x4fe02d,_0x2221bb)=>{const _0x5b7ed6=_0x1e491b;_0x2221bb[_0x5b7ed6(0x1ce)]===_0x348081[_0x5b7ed6(0x1db)]&&_0x5c8504[_0x5b7ed6(0x180)]&&(this[_0x5b7ed6(0x1ea)][_0x5b7ed6(0x1e8)](_0x5c8504[_0x5b7ed6(0x18e)][_0x5b7ed6(0x1a6)]),this[_0x5b7ed6(0x184)](),_0x2221bb[_0x5b7ed6(0x1ad)](),_0x2221bb[_0x5b7ed6(0x1c8)]());}),this[_0x1e491b(0x1aa)][_0x1e491b(0x1dc)](document,_0x1e491b(0x1ca),(_0x5df1c3,_0x5d73f5)=>{const _0x262e11=_0x1e491b,_0x5326a1=_0x5d73f5[_0x262e11(0x1a7)];_0x5c8504[_0x262e11(0x180)]&&_0x5c8504[_0x262e11(0x1b7)][_0x262e11(0x1f0)](_0x5326a1)||_0x5729b8[_0x262e11(0x1ba)][_0x262e11(0x1b7)][_0x262e11(0x1f0)](_0x5326a1)||_0x5df1c3[_0x262e11(0x19a)]||this[_0x262e11(0x1da)]&&this[_0x262e11(0x1da)][_0x262e11(0x1e3)][_0x262e11(0x17c)](_0x2789d7=>_0x2789d7[_0x262e11(0x1f0)](_0x5326a1))||(this[_0x262e11(0x1ea)][_0x262e11(0x1b4)](),this[_0x262e11(0x184)](),this[_0x262e11(0x1ab)](null));});const _0x3ded3e=this[_0x1e491b(0x1e2)]instanceof _0x1ea528?this[_0x1e491b(0x1e2)][_0x1e491b(0x1e9)]:new _0x5615b1([this[_0x1e491b(0x1e2)]]);for(const _0x3293e9 of _0x3ded3e)this[_0x1e491b(0x1f2)](_0x3293e9);this[_0x1e491b(0x1dc)](_0x3ded3e,_0x1e491b(0x1e8),(_0x22e5ef,_0x30bb7e)=>{const _0x345d4a=_0x1e491b;this[_0x345d4a(0x1dc)](_0x30bb7e,_0x345d4a(0x1be),()=>{const _0x5ed389=_0x345d4a;this[_0x5ed389(0x1f2)](_0x30bb7e);});}),this[_0x1e491b(0x1dc)](_0x3ded3e,_0x1e491b(0x1ac),(_0x5caf4,_0x5923b2)=>{const _0x240be5=_0x1e491b;_0x5923b2[_0x240be5(0x1d5)][_0x240be5(0x1d4)](_0x240be5(0x186))&&this[_0x240be5(0x1a4)](_0x5923b2[_0x240be5(0x1d5)][_0x240be5(0x1ef)](_0x240be5(0x186)));}),window[_0x1e491b(0x1d6)](_0x1e491b(0x19c),this[_0x1e491b(0x1de)]),this[_0x1e491b(0x1b0)]();}[_0xde2abc(0x1ab)](_0x5ef4bc){const _0x450434=_0xde2abc;if(_0x5ef4bc===this[_0x450434(0x1da)])return;const _0x1c27c7=this[_0x450434(0x1e2)][_0x450434(0x1d5)][_0x450434(0x1ef)](_0x1b70a3);if(_0x1c27c7[_0x450434(0x17d)]({'blurredAnnotation':this[_0x450434(0x1da)],'activatedAnnotation':_0x5ef4bc,'disableAnimationOnActivatedAnnotation':!0x0}),_0x5ef4bc)_0x1c27c7[_0x450434(0x1e4)](_0x5ef4bc)?this[_0x450434(0x197)](_0x5ef4bc):this[_0x450434(0x184)]();else this[_0x450434(0x184)]();this[_0x450434(0x1da)]=_0x5ef4bc;}[_0xde2abc(0x1e7)](){const _0xbf434f=_0xde2abc;if(!this[_0xbf434f(0x199)])throw new _0x2eb197(_0xbf434f(0x1a3),this);this[_0xbf434f(0x1ab)](null);const _0x377a2e=this[_0xbf434f(0x1e2)][_0xbf434f(0x1d5)][_0xbf434f(0x1ef)](_0x1b70a3);this[_0xbf434f(0x184)](),Array[_0xbf434f(0x17b)](this[_0xbf434f(0x1a9)][_0xbf434f(0x1c9)](),_0x346bd4=>_0x346bd4[_0xbf434f(0x1df)]()),this[_0xbf434f(0x1a9)][_0xbf434f(0x1b4)](),_0x377a2e[_0xbf434f(0x182)](this[_0xbf434f(0x191)]),this[_0xbf434f(0x1b9)](),this[_0xbf434f(0x1aa)][_0xbf434f(0x1b9)](),this[_0xbf434f(0x1e2)]instanceof _0x1ea528&&this[_0xbf434f(0x1b9)](this[_0xbf434f(0x1e2)][_0xbf434f(0x1e9)]);for(const _0x4734af of Array[_0xbf434f(0x17b)](this[_0xbf434f(0x1c3)]))this[_0xbf434f(0x1a4)](_0x4734af);window[_0xbf434f(0x1d3)](_0xbf434f(0x19c),this[_0xbf434f(0x1de)]),this[_0xbf434f(0x1de)][_0xbf434f(0x1b1)](),this[_0xbf434f(0x18d)]=[],this[_0xbf434f(0x199)]=!0x1,this[_0xbf434f(0x191)]=null;}[_0xde2abc(0x1df)](){const _0x5e8841=_0xde2abc;this[_0x5e8841(0x199)]&&this[_0x5e8841(0x1e7)](),this[_0x5e8841(0x17f)][_0x5e8841(0x189)]();}[_0xde2abc(0x1f2)](_0x569969){const _0x3c0a32=_0xde2abc,_0x1e612b=_0x569969[_0x3c0a32(0x1d5)][_0x3c0a32(0x1ef)](_0x4393b5),_0xe45687=this[_0x3c0a32(0x1e2)][_0x3c0a32(0x1d5)][_0x3c0a32(0x1ef)](_0x1b70a3),_0x2a281b=this[_0x3c0a32(0x191)],_0x1c018e=this[_0x3c0a32(0x1a1)],_0x21b3ce=()=>{const _0x2bee3f=_0x3c0a32,_0x5d3828=_0x1e612b[_0x2bee3f(0x1e1)]({'annotations':this[_0x2bee3f(0x191)],'activeAnnotation':this[_0x2bee3f(0x1da)]});this[_0x2bee3f(0x1d7)](_0x5d3828),this[_0x2bee3f(0x1ab)](_0x5d3828[0x0]||null);};this[_0x3c0a32(0x1dc)](_0x1e612b,_0x3c0a32(0x17d),_0x21b3ce),this[_0x3c0a32(0x1dc)](_0x1e612b,_0x3c0a32(0x194),(_0x36cdb9,{isAnnotationTracked:_0x121751})=>{const _0x3e80f4=_0x3c0a32;this[_0x3e80f4(0x1da)]&&_0x121751(this[_0x3e80f4(0x1da)])&&(this[_0x3e80f4(0x1d7)]([]),this[_0x3e80f4(0x1ab)](null));}),this[_0x3c0a32(0x1dc)](_0x1e612b,_0x3c0a32(0x1cf),()=>{const _0x48c4bc=_0x3c0a32;this[_0x48c4bc(0x1de)]();}),this[_0x3c0a32(0x1dc)](_0x2a281b,_0x3c0a32(0x194),_0x3512b8=>{const _0x399cd1=_0x3c0a32;_0x1e612b[_0x399cd1(0x198)]()&&_0x3512b8[_0x399cd1(0x1e5)]();},{'priority':_0x3c0a32(0x1a2)}),this[_0x3c0a32(0x1dc)](this[_0x3c0a32(0x1aa)],_0x3c0a32(0x1ca),(_0x1efc33,_0x4b2b13)=>{const _0x4f560b=_0x3c0a32,_0x20c646=_0x4b2b13[_0x4f560b(0x1a7)];_0x1c018e[_0x4f560b(0x180)]&&_0x1c018e[_0x4f560b(0x1b7)][_0x4f560b(0x1f0)](_0x20c646)||_0xe45687[_0x4f560b(0x1ba)][_0x4f560b(0x1b7)][_0x4f560b(0x1f0)](_0x20c646)||this[_0x4f560b(0x1da)]&&_0x1e612b[_0x4f560b(0x198)]()&&(_0x21b3ce(),_0x1efc33[_0x4f560b(0x19a)]=!0x0);},{'priority':_0x3c0a32(0x1a2)}),this[_0x3c0a32(0x1c3)][_0x3c0a32(0x1e8)](_0x1e612b);}[_0xde2abc(0x1a4)](_0x5af746){const _0x1aed6e=_0xde2abc;_0x5af746&&(this[_0x1aed6e(0x1b9)](_0x5af746),this[_0x1aed6e(0x1c3)][_0x1aed6e(0x1ac)](_0x5af746));}[_0xde2abc(0x1d7)](_0x2a9953){const _0x490029=_0xde2abc;for(const _0x5621cd of this[_0x490029(0x18d)])_0x2a9953[_0x490029(0x18b)](_0x5621cd)||this[_0x490029(0x1ea)][_0x490029(0x1cd)](_0x5621cd[_0x490029(0x1ba)]);this[_0x490029(0x18d)]=_0x2a9953;}[_0xde2abc(0x1b0)](){const _0x48f1cc=_0xde2abc,_0x1f35ab=this[_0x48f1cc(0x1a1)];this[_0x48f1cc(0x191)][_0x48f1cc(0x1b8)](),_0x1f35ab[_0x48f1cc(0x180)]&&this[_0x48f1cc(0x1c1)]();}[_0xde2abc(0x197)](_0x37b643){const _0x55f24f=_0xde2abc;if(this[_0x55f24f(0x1ea)][_0x55f24f(0x1d4)](_0x37b643[_0x55f24f(0x1ba)]))return;const _0x47eb61=this[_0x55f24f(0x1a1)][_0x55f24f(0x18e)][_0x55f24f(0x1a6)];_0x47eb61!==_0x37b643[_0x55f24f(0x1ba)]?(_0x47eb61&&this[_0x55f24f(0x1ec)](_0x47eb61),this[_0x55f24f(0x1f1)](_0x37b643[_0x55f24f(0x1ba)]),this[_0x55f24f(0x1a1)][_0x55f24f(0x18e)][_0x55f24f(0x1b4)](),this[_0x55f24f(0x1a1)][_0x55f24f(0x18e)][_0x55f24f(0x1e8)](_0x37b643[_0x55f24f(0x1ba)]),this[_0x55f24f(0x1c1)]()):this[_0x55f24f(0x1c1)]();}[_0xde2abc(0x1c1)](){const _0xff8818=_0xde2abc,_0x3f44b7=this[_0xff8818(0x1a1)][_0xff8818(0x18e)][_0xff8818(0x1a6)],_0x3e973c=_0x3f44b7&&this[_0xff8818(0x191)][_0xff8818(0x19b)](_0x3f44b7);if(!_0x3e973c||!this[_0xff8818(0x1a9)][_0xff8818(0x1d4)](_0x3e973c))return;const _0x45f666=this[_0xff8818(0x1a9)][_0xff8818(0x1ef)](_0x3e973c)[_0xff8818(0x1b7)],_0x521232=(function(){const _0x121e21=_0xff8818,_0x99e8c2=_0x31176e[_0x121e21(0x192)];return[_0x99e8c2[_0x121e21(0x188)],_0x99e8c2[_0x121e21(0x1dd)],_0x99e8c2[_0x121e21(0x196)],_0x99e8c2[_0x121e21(0x1ae)],_0x99e8c2[_0x121e21(0x1af)],_0x99e8c2[_0x121e21(0x1f3)]];}());this[_0xff8818(0x1a1)][_0xff8818(0x1d9)]({'target':_0x45f666,'positions':_0x521232});}[_0xde2abc(0x184)](){const _0x55d0de=_0xde2abc,_0x5610dd=this[_0x55d0de(0x1a1)],_0x50a1a5=_0x5610dd[_0x55d0de(0x18e)][_0x55d0de(0x1a6)];_0x50a1a5&&(this[_0x55d0de(0x1ec)](_0x50a1a5),_0x5610dd[_0x55d0de(0x1bc)](),_0x5610dd[_0x55d0de(0x18e)][_0x55d0de(0x1b4)]());}[_0xde2abc(0x1f1)](_0x3c395e){const _0x1a23f9=_0xde2abc;this[_0x1a23f9(0x1dc)](_0x3c395e,_0x1a23f9(0x1c4),()=>this[_0x1a23f9(0x1c1)]()),this[_0x1a23f9(0x1dc)](_0x3c395e,_0x1a23f9(0x1bb),(_0x35742f,_0x4e136d)=>{const _0x192a56=_0x1a23f9;this[_0x192a56(0x1ea)][_0x192a56(0x1e8)](_0x3c395e),this[_0x192a56(0x184)](),_0x4e136d();});}[_0xde2abc(0x1ec)](_0x261760){const _0x39d767=_0xde2abc;this[_0x39d767(0x1b9)](_0x261760);}}
|
|
23
|
+
const _0x37f9ee=_0x83c1;(function(_0x5bbcfb,_0x4eca43){const _0x1478a8=_0x83c1,_0x3d329f=_0x5bbcfb();while(!![]){try{const _0x833c24=-parseInt(_0x1478a8(0x1d2))/0x1+-parseInt(_0x1478a8(0x1c5))/0x2+-parseInt(_0x1478a8(0x1e6))/0x3*(-parseInt(_0x1478a8(0x189))/0x4)+parseInt(_0x1478a8(0x1cc))/0x5+parseInt(_0x1478a8(0x182))/0x6+parseInt(_0x1478a8(0x1b8))/0x7+parseInt(_0x1478a8(0x1d9))/0x8*(parseInt(_0x1478a8(0x19c))/0x9);if(_0x833c24===_0x4eca43)break;else _0x3d329f['push'](_0x3d329f['shift']());}catch(_0x1ff6e7){_0x3d329f['push'](_0x3d329f['shift']());}}}(_0x4b8b,0xa40ba));import{ContextPlugin as _0x55edb5,Context as _0x25972a}from'ckeditor5/src/core.js';function _0x83c1(_0x443d3d,_0x208cb8){const _0x4b8bb8=_0x4b8b();return _0x83c1=function(_0x83c1c9,_0x47c0fa){_0x83c1c9=_0x83c1c9-0x176;let _0x4318e6=_0x4b8bb8[_0x83c1c9];return _0x4318e6;},_0x83c1(_0x443d3d,_0x208cb8);}import _0x2891fe from'./annotationsuis.js';import _0x52c454 from'./sidebar.js';import _0x33e442 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x44835,BodyCollection as _0x33cfa9}from'ckeditor5/src/ui.js';import{CKEditorError as _0x592c33,DomEmitterMixin as _0x484ef4,keyCodes as _0x4be06d,Collection as _0x2d7af7}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';function _0x4b8b(){const _0x19ba3b=['attach','2605566CbzFIr','high','bind','register','uiUpdate','unpin','from','5694720BXrqlP','ready','stop','add','preventDefault','find','473997mUYbrS','delete','_updateBalloonPosition','change:container','focusableElements','number','annotations','1685816DxbiCZ','resize','change:height','balloonPanelView','southArrowNorthWest','_attachToContainer','southArrowNorth','create','northArrowSouthEast','keyCode','stopListening','keydown','_editorAnnotations','1371xmCezQ','setActiveAnnotation','_destroyEditorAnnotationsIntegration','requires','context','target','editors','focus','content','_integrateWithEditorAnnotations','_attachListeners','detachFromDom','_hideBalloon','_setSelectedAnnotations','NarrowSidebar','removeEventListener','activeAnnotation','_manuallyClosedAnnotationViews','detach','narrowsidebar-detach-not-attached','pluginName','4197120HyzGZo','execute','pin','isVisible','clear','annotationType','EditorAnnotations','2156dwPEFc','listenTo','isDirty','refreshPositioning','bodyCollection','_showBalloon','has','values','ck-sidebar--narrow','_selectedAnnotations','_refreshPositioning','contains','length','plugins','getOrderedSelectedAnnotations','northArrowSouth','_annotations','set','hasDomSelection','9ocZghY','northArrowSouthWest','set:container','esc','_refreshPositioningDebounced','_detachFromContainer','rearrange','getByView','defaultPositions','low','Esc','off','destroy','addEventListener','_annotationToNarrowView','type','narrowSidebar','narrowsidebar-attach-already-attached','addAnnotation','get','refresh','locale','cancel','_domEmitter','preventClosingBalloon','mousedown','blur','view','1072372YOlCFT','element','getSidebarItemView','southArrowNorthEast','isAttached','stopPropagation','includes','first','attachToDom','_detachListeners','remove','init'];_0x4b8b=function(){return _0x19ba3b;};return _0x4b8b();}import{debounce as _0x397cc3}from'lodash-es';import _0x588540 from'./editorannotations.js';export default class i extends _0x55edb5{static get[_0x37f9ee(0x1e9)](){return[_0x52c454,_0x2891fe];}static get[_0x37f9ee(0x181)](){const _0x3f38b2=_0x37f9ee;return _0x3f38b2(0x17b);}constructor(_0x31f8d3){const _0x4748fc=_0x37f9ee;super(_0x31f8d3),this[_0x4748fc(0x1bc)]=!0x1,this[_0x4748fc(0x17e)]=new Set(),this[_0x4748fc(0x1b3)]=Object[_0x4748fc(0x1e0)](_0x484ef4),this[_0x4748fc(0x1aa)]=new Map(),this[_0x4748fc(0x19a)](_0x4748fc(0x17d),null),this[_0x4748fc(0x1d8)]=null,this[_0x4748fc(0x192)]=[],this[_0x4748fc(0x1e5)]=new _0x2d7af7(),this[_0x4748fc(0x1a0)]=_0x397cc3(()=>{const _0x5ea33a=_0x4748fc;this[_0x5ea33a(0x193)]();},0xfa,{'leading':!0x1});}[_0x37f9ee(0x1c3)](){const _0x28d726=_0x37f9ee;this[_0x28d726(0x1ea)][_0x28d726(0x196)][_0x28d726(0x1af)](_0x2891fe)[_0x28d726(0x1c8)](_0x28d726(0x1ac),this),this[_0x28d726(0x18d)]=new _0x33cfa9(this[_0x28d726(0x1ea)][_0x28d726(0x1b1)]),this[_0x28d726(0x1dc)]=new _0x44835(this[_0x28d726(0x1ea)][_0x28d726(0x1b1)]),this[_0x28d726(0x18d)][_0x28d726(0x1c0)](),this[_0x28d726(0x18d)][_0x28d726(0x1cf)](this[_0x28d726(0x1dc)]);}[_0x37f9ee(0x1c4)](_0x26f2f5){const _0x364525=_0x37f9ee;this[_0x364525(0x1d8)]=_0x26f2f5;const _0x20a77f=this[_0x364525(0x1ea)][_0x364525(0x196)][_0x364525(0x1af)](_0x52c454),_0x5050f3=this[_0x364525(0x1dc)];if(_0x20a77f[_0x364525(0x199)]=_0x26f2f5,this[_0x364525(0x1bc)])throw new _0x592c33(_0x364525(0x1ad),this);this[_0x364525(0x1bc)]=!0x0,this[_0x364525(0x18a)](_0x20a77f,_0x364525(0x19e),()=>{const _0x2718f1=_0x364525;this[_0x2718f1(0x17f)](),this[_0x2718f1(0x18a)](_0x20a77f,_0x2718f1(0x1d5),_0x2d1e66=>{const _0x2c51a5=_0x2718f1;_0x2d1e66[_0x2c51a5(0x1a7)](),this[_0x2c51a5(0x1c4)](_0x26f2f5);});}),_0x20a77f[_0x364525(0x1de)]({'viewClass':_0x364525(0x191),'spaceBetweenItems':0x5});const _0x1b7ef9=_0x19d304=>{const _0x19265a=_0x364525,_0x51ce6b=new _0x33e442(this[_0x19265a(0x1ea)][_0x19265a(0x1b1)]);_0x20a77f[_0x19265a(0x1ae)](_0x19d304,_0x51ce6b),this[_0x19265a(0x1aa)][_0x19265a(0x19a)](_0x19d304,_0x51ce6b),_0x51ce6b[_0x19265a(0x1c7)](_0x19265a(0x18b),_0x19265a(0x187),_0x19265a(0x1d7))['to'](_0x19d304[_0x19265a(0x1b7)],_0x19265a(0x18b),_0x19265a(0x1ab),_0x19265a(0x195)),_0x51ce6b['on'](_0x19265a(0x183),()=>{const _0xa6b201=_0x19265a;this[_0xa6b201(0x17e)][_0xa6b201(0x186)](),_0x5050f3[_0xa6b201(0x1ee)][_0xa6b201(0x1bf)]!==_0x19d304[_0xa6b201(0x1b7)]?(this[_0xa6b201(0x18e)](_0x19d304),_0x19d304[_0xa6b201(0x1b7)][_0xa6b201(0x1b9)][_0xa6b201(0x1ed)](),this[_0xa6b201(0x1e7)](_0x19d304)):this[_0xa6b201(0x1e7)](null);});};for(const _0x159893 of _0x26f2f5)_0x1b7ef9(_0x159893);this[_0x364525(0x18a)](_0x26f2f5,_0x364525(0x1cf),(_0x37918d,_0x519e80)=>{_0x1b7ef9(_0x519e80);}),this[_0x364525(0x18a)](_0x26f2f5,_0x364525(0x1c2),(_0x1130c6,_0x305edf,_0x32920e)=>{const _0x117316=_0x364525;this[_0x117316(0x1aa)][_0x117316(0x1af)](_0x305edf)[_0x117316(0x1a8)](),this[_0x117316(0x1aa)][_0x117316(0x1d3)](_0x305edf),_0x20a77f[_0x117316(0x1a2)]({'removedAnnotation':_0x305edf,'previousAnnotation':_0x26f2f5[_0x117316(0x1af)](_0x32920e-0x1),'nextAnnotation':_0x26f2f5[_0x117316(0x1af)](_0x32920e+0x1)}),_0x305edf===this[_0x117316(0x17d)]&&this[_0x117316(0x1e7)](null);},{'priority':_0x364525(0x1a5)}),this[_0x364525(0x18a)](_0x26f2f5,_0x364525(0x1ed),(_0x415320,_0x1d96dd)=>{const _0x129c5b=_0x364525;this[_0x129c5b(0x1e7)](_0x1d96dd);}),this[_0x364525(0x18a)](_0x26f2f5,_0x364525(0x1b6),()=>{const _0x485d41=_0x364525;this[_0x485d41(0x1e7)](null);}),this[_0x364525(0x1b3)][_0x364525(0x18a)](document,_0x364525(0x1e4),(_0xb48188,_0x396519)=>{const _0x2f4ef6=_0x364525;_0x396519[_0x2f4ef6(0x1e2)]===_0x4be06d[_0x2f4ef6(0x19f)]&&_0x5050f3[_0x2f4ef6(0x185)]&&(this[_0x2f4ef6(0x17e)][_0x2f4ef6(0x1cf)](_0x5050f3[_0x2f4ef6(0x1ee)][_0x2f4ef6(0x1bf)]),this[_0x2f4ef6(0x179)](),_0x396519[_0x2f4ef6(0x1bd)](),_0x396519[_0x2f4ef6(0x1d0)]());}),this[_0x364525(0x1b3)][_0x364525(0x18a)](document,_0x364525(0x1b5),(_0x592c01,_0x1d167e)=>{const _0x4c5fc3=_0x364525,_0x56745b=_0x1d167e[_0x4c5fc3(0x1eb)];_0x5050f3[_0x4c5fc3(0x185)]&&_0x5050f3[_0x4c5fc3(0x1b9)][_0x4c5fc3(0x194)](_0x56745b)||_0x20a77f[_0x4c5fc3(0x1b7)][_0x4c5fc3(0x1b9)][_0x4c5fc3(0x194)](_0x56745b)||_0x592c01[_0x4c5fc3(0x1b4)]||this[_0x4c5fc3(0x17d)]&&this[_0x4c5fc3(0x17d)][_0x4c5fc3(0x1d6)][_0x4c5fc3(0x1d1)](_0x4c1248=>_0x4c1248[_0x4c5fc3(0x194)](_0x56745b))||(this[_0x4c5fc3(0x17e)][_0x4c5fc3(0x186)](),this[_0x4c5fc3(0x179)](),this[_0x4c5fc3(0x1e7)](null));});const _0x4ac01d=this[_0x364525(0x1ea)]instanceof _0x25972a?this[_0x364525(0x1ea)][_0x364525(0x1ec)]:new _0x2d7af7([this[_0x364525(0x1ea)]]);for(const _0x2848ce of _0x4ac01d)this[_0x364525(0x176)](_0x2848ce);this[_0x364525(0x18a)](_0x4ac01d,_0x364525(0x1cf),(_0x4681b4,_0x554086)=>{const _0x576f03=_0x364525;this[_0x576f03(0x18a)](_0x554086,_0x576f03(0x1cd),()=>{const _0x4aea0a=_0x576f03;this[_0x4aea0a(0x176)](_0x554086);});}),this[_0x364525(0x18a)](_0x4ac01d,_0x364525(0x1c2),(_0x3669d1,_0x4844f3)=>{const _0x949141=_0x364525;_0x4844f3[_0x949141(0x196)][_0x949141(0x18f)](_0x949141(0x188))&&this[_0x949141(0x1e8)](_0x4844f3[_0x949141(0x196)][_0x949141(0x1af)](_0x949141(0x188)));}),window[_0x364525(0x1a9)](_0x364525(0x1da),this[_0x364525(0x1a0)]),this[_0x364525(0x193)]();}[_0x37f9ee(0x1e7)](_0x1a8906){const _0x4b724e=_0x37f9ee;if(_0x1a8906===this[_0x4b724e(0x17d)])return;const _0x5b0b71=this[_0x4b724e(0x1ea)][_0x4b724e(0x196)][_0x4b724e(0x1af)](_0x52c454);if(_0x5b0b71[_0x4b724e(0x1b0)]({'blurredAnnotation':this[_0x4b724e(0x17d)],'activatedAnnotation':_0x1a8906,'disableAnimationOnActivatedAnnotation':!0x0}),_0x1a8906)_0x5b0b71[_0x4b724e(0x1ba)](_0x1a8906)?this[_0x4b724e(0x18e)](_0x1a8906):this[_0x4b724e(0x179)]();else this[_0x4b724e(0x179)]();this[_0x4b724e(0x17d)]=_0x1a8906;}[_0x37f9ee(0x17f)](){const _0x2fff82=_0x37f9ee;if(!this[_0x2fff82(0x1bc)])throw new _0x592c33(_0x2fff82(0x180),this);this[_0x2fff82(0x1e7)](null);const _0x2aa2e7=this[_0x2fff82(0x1ea)][_0x2fff82(0x196)][_0x2fff82(0x1af)](_0x52c454);this[_0x2fff82(0x179)](),Array[_0x2fff82(0x1cb)](this[_0x2fff82(0x1aa)][_0x2fff82(0x190)](),_0x28279c=>_0x28279c[_0x2fff82(0x1a8)]()),this[_0x2fff82(0x1aa)][_0x2fff82(0x186)](),_0x2aa2e7[_0x2fff82(0x1a1)](this[_0x2fff82(0x1d8)]),this[_0x2fff82(0x1e3)](),this[_0x2fff82(0x1b3)][_0x2fff82(0x1e3)](),this[_0x2fff82(0x1ea)]instanceof _0x25972a&&this[_0x2fff82(0x1e3)](this[_0x2fff82(0x1ea)][_0x2fff82(0x1ec)]);for(const _0x1e4f2c of Array[_0x2fff82(0x1cb)](this[_0x2fff82(0x1e5)]))this[_0x2fff82(0x1e8)](_0x1e4f2c);window[_0x2fff82(0x17c)](_0x2fff82(0x1da),this[_0x2fff82(0x1a0)]),this[_0x2fff82(0x1a0)][_0x2fff82(0x1b2)](),this[_0x2fff82(0x192)]=[],this[_0x2fff82(0x1bc)]=!0x1,this[_0x2fff82(0x1d8)]=null;}[_0x37f9ee(0x1a8)](){const _0x5b9d57=_0x37f9ee;this[_0x5b9d57(0x1bc)]&&this[_0x5b9d57(0x17f)](),this[_0x5b9d57(0x18d)][_0x5b9d57(0x178)]();}[_0x37f9ee(0x176)](_0x5a2dbf){const _0x220e62=_0x37f9ee,_0x5a4177=_0x5a2dbf[_0x220e62(0x196)][_0x220e62(0x1af)](_0x588540),_0x3c6b93=this[_0x220e62(0x1ea)][_0x220e62(0x196)][_0x220e62(0x1af)](_0x52c454),_0x5d1e79=this[_0x220e62(0x1d8)],_0x214210=this[_0x220e62(0x1dc)],_0x23dddf=()=>{const _0x4ff456=_0x220e62,_0x342561=_0x5a4177[_0x4ff456(0x197)]({'annotations':this[_0x4ff456(0x1d8)],'activeAnnotation':this[_0x4ff456(0x17d)]});this[_0x4ff456(0x17a)](_0x342561),this[_0x4ff456(0x1e7)](_0x342561[0x0]||null);};this[_0x220e62(0x18a)](_0x5a4177,_0x220e62(0x1b0),_0x23dddf),this[_0x220e62(0x18a)](_0x5a4177,_0x220e62(0x1b6),(_0x49f6a4,{isAnnotationTracked:_0x5f2e8d})=>{const _0x34b1fe=_0x220e62;this[_0x34b1fe(0x17d)]&&_0x5f2e8d(this[_0x34b1fe(0x17d)])&&(this[_0x34b1fe(0x17a)]([]),this[_0x34b1fe(0x1e7)](null));}),this[_0x220e62(0x18a)](_0x5a4177,_0x220e62(0x1c9),()=>{const _0x24b767=_0x220e62;this[_0x24b767(0x1a0)]();}),this[_0x220e62(0x18a)](_0x5d1e79,_0x220e62(0x1b6),_0x3c046d=>{const _0x56b632=_0x220e62;_0x5a4177[_0x56b632(0x19b)]()&&_0x3c046d[_0x56b632(0x1ce)]();},{'priority':_0x220e62(0x1c6)}),this[_0x220e62(0x18a)](this[_0x220e62(0x1b3)],_0x220e62(0x1b5),(_0x102bc8,_0x3d892f)=>{const _0x1cda5c=_0x220e62,_0x339edc=_0x3d892f[_0x1cda5c(0x1eb)];_0x214210[_0x1cda5c(0x185)]&&_0x214210[_0x1cda5c(0x1b9)][_0x1cda5c(0x194)](_0x339edc)||_0x3c6b93[_0x1cda5c(0x1b7)][_0x1cda5c(0x1b9)][_0x1cda5c(0x194)](_0x339edc)||this[_0x1cda5c(0x17d)]&&_0x5a4177[_0x1cda5c(0x19b)]()&&(_0x23dddf(),_0x102bc8[_0x1cda5c(0x1b4)]=!0x0);},{'priority':_0x220e62(0x1c6)}),this[_0x220e62(0x1e5)][_0x220e62(0x1cf)](_0x5a4177);}[_0x37f9ee(0x1e8)](_0x3c0000){const _0x42e15e=_0x37f9ee;_0x3c0000&&(this[_0x42e15e(0x1e3)](_0x3c0000),this[_0x42e15e(0x1e5)][_0x42e15e(0x1c2)](_0x3c0000));}[_0x37f9ee(0x17a)](_0x2c8e48){const _0x29d726=_0x37f9ee;for(const _0x1dd432 of this[_0x29d726(0x192)])_0x2c8e48[_0x29d726(0x1be)](_0x1dd432)||this[_0x29d726(0x17e)][_0x29d726(0x1d3)](_0x1dd432[_0x29d726(0x1b7)]);this[_0x29d726(0x192)]=_0x2c8e48;}[_0x37f9ee(0x193)](){const _0x58d4a3=_0x37f9ee,_0x2e82bf=this[_0x58d4a3(0x1dc)];this[_0x58d4a3(0x1d8)][_0x58d4a3(0x18c)](),_0x2e82bf[_0x58d4a3(0x185)]&&this[_0x58d4a3(0x1d4)]();}[_0x37f9ee(0x18e)](_0x58f6dd){const _0x379a10=_0x37f9ee;if(this[_0x379a10(0x17e)][_0x379a10(0x18f)](_0x58f6dd[_0x379a10(0x1b7)]))return;const _0x453660=this[_0x379a10(0x1dc)][_0x379a10(0x1ee)][_0x379a10(0x1bf)];_0x453660!==_0x58f6dd[_0x379a10(0x1b7)]?(_0x453660&&this[_0x379a10(0x1c1)](_0x453660),this[_0x379a10(0x177)](_0x58f6dd[_0x379a10(0x1b7)]),this[_0x379a10(0x1dc)][_0x379a10(0x1ee)][_0x379a10(0x186)](),this[_0x379a10(0x1dc)][_0x379a10(0x1ee)][_0x379a10(0x1cf)](_0x58f6dd[_0x379a10(0x1b7)]),this[_0x379a10(0x1d4)]()):this[_0x379a10(0x1d4)]();}[_0x37f9ee(0x1d4)](){const _0x3e17dd=_0x37f9ee,_0x11879c=this[_0x3e17dd(0x1dc)][_0x3e17dd(0x1ee)][_0x3e17dd(0x1bf)],_0x155e7f=_0x11879c&&this[_0x3e17dd(0x1d8)][_0x3e17dd(0x1a3)](_0x11879c);if(!_0x155e7f||!this[_0x3e17dd(0x1aa)][_0x3e17dd(0x18f)](_0x155e7f))return;const _0x12ae35=this[_0x3e17dd(0x1aa)][_0x3e17dd(0x1af)](_0x155e7f)[_0x3e17dd(0x1b9)],_0x29c64e=(function(){const _0x3c6477=_0x3e17dd,_0x59f336=_0x44835[_0x3c6477(0x1a4)];return[_0x59f336[_0x3c6477(0x1bb)],_0x59f336[_0x3c6477(0x1e1)],_0x59f336[_0x3c6477(0x1df)],_0x59f336[_0x3c6477(0x198)],_0x59f336[_0x3c6477(0x1dd)],_0x59f336[_0x3c6477(0x19d)]];}());this[_0x3e17dd(0x1dc)][_0x3e17dd(0x184)]({'target':_0x12ae35,'positions':_0x29c64e});}[_0x37f9ee(0x179)](){const _0xcd9098=_0x37f9ee,_0x51b00a=this[_0xcd9098(0x1dc)],_0x565259=_0x51b00a[_0xcd9098(0x1ee)][_0xcd9098(0x1bf)];_0x565259&&(this[_0xcd9098(0x1c1)](_0x565259),_0x51b00a[_0xcd9098(0x1ca)](),_0x51b00a[_0xcd9098(0x1ee)][_0xcd9098(0x186)]());}[_0x37f9ee(0x177)](_0x5e60bf){const _0x11cc6b=_0x37f9ee;this[_0x11cc6b(0x18a)](_0x5e60bf,_0x11cc6b(0x1db),()=>this[_0x11cc6b(0x1d4)]()),this[_0x11cc6b(0x18a)](_0x5e60bf,_0x11cc6b(0x1a6),(_0x53e1bd,_0x2e7cc7)=>{const _0x5c94e7=_0x11cc6b;this[_0x5c94e7(0x17e)][_0x5c94e7(0x1cf)](_0x5e60bf),this[_0x5c94e7(0x179)](),_0x2e7cc7();});}[_0x37f9ee(0x1c1)](_0x213790){const _0x25ae13=_0x37f9ee;this[_0x25ae13(0x1e3)](_0x213790);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x348f69=_0x3d4e;function _0x3d4e(_0x35b5c2,_0x419bbc){const _0x5c6a7a=_0x5c6a();return _0x3d4e=function(_0x3d4e5c,_0x357e28){_0x3d4e5c=_0x3d4e5c-0x149;let _0x1db650=_0x5c6a7a[_0x3d4e5c];return _0x1db650;},_0x3d4e(_0x35b5c2,_0x419bbc);}(function(_0x38375f,_0x359ef1){const _0x47801e=_0x3d4e,_0x1d2f78=_0x38375f();while(!![]){try{const _0x28680e=-parseInt(_0x47801e(0x1a0))/0x1+parseInt(_0x47801e(0x156))/0x2*(-parseInt(_0x47801e(0x16f))/0x3)+parseInt(_0x47801e(0x18f))/0x4+parseInt(_0x47801e(0x18e))/0x5+-parseInt(_0x47801e(0x19b))/0x6+-parseInt(_0x47801e(0x182))/0x7*(parseInt(_0x47801e(0x152))/0x8)+-parseInt(_0x47801e(0x18d))/0x9*(-parseInt(_0x47801e(0x17a))/0xa);if(_0x28680e===_0x359ef1)break;else _0x1d2f78['push'](_0x1d2f78['shift']());}catch(_0x38a7c4){_0x1d2f78['push'](_0x1d2f78['shift']());}}}(_0x5c6a,0x7d29f));import{ContextPlugin as _0xdd47b}from'ckeditor5/src/core.js';import{Rect as _0x39c62e,CKEditorError as _0x5b0c99}from'ckeditor5/src/utils.js';function _0x5c6a(){const _0x4c9bdd=['minHeight','list','_setItemTop','_alignForBottomChange','view','_recalculate','_alignAfterItem','bind','set','setContainer','getIndex','refresh','get','_annotations','destroy','updateHeight','_annotationToSidebarItemView','_activeAnnotation','sidebar-setcontainer-invalid-element','change:bottom','max','_getTargetTop','939ZNMTPs','height','getSidebarItemView','_recalculateBuffer','change:top','render','nodeType','define','addAnnotation','push','isActive','3531170yUGrko','_attachToContainer','change:_lastItem','_getMaxAvailableTop','top','listenTo','_targetTop','sidebar.container','462QhTwTV','_detachFromContainer','_lastItem','change:targetRect','length','delete','sidebar.preventScrollOutOfView','_alignForTopChange','init','_alignToTargetRect','rearrange','27SSaRda','2351665SDnqjz','2519328wLqRtm','content','element','_alignBeforeItem','_spaceBetweenItems','_updateLastItem','remove','last','isAnimationDisabled','target','_getItemAfter','object','6135816whywTR','_createSidebarView','bottom','container','unbind','93130EnEuMU','stopListening','targetRect','_getItemBefore','clear','sidebar-attachtocontainer-missing-container','add','appendChild','config','locale','pluginName','38840VIAneb','_destroySidebarItemView','class','_sidebarItemViewToAnnotation','1346fOSDel','context','Sidebar'];_0x5c6a=function(){return _0x4c9bdd;};return _0x5c6a();}import _0x3e28c6 from'./view/sidebarview.js';import _0x4c7687 from'./view/sidebaritemview.js';export default class z extends _0xdd47b{static get[_0x348f69(0x151)](){const _0x326b54=_0x348f69;return _0x326b54(0x158);}constructor(_0x34bac0){const _0x5f2c6c=_0x348f69;super(_0x34bac0),this[_0x5f2c6c(0x161)](_0x5f2c6c(0x184),void 0x0),this[_0x5f2c6c(0x15d)]=this[_0x5f2c6c(0x19c)](),this[_0x5f2c6c(0x161)](_0x5f2c6c(0x19e),null),this[_0x5f2c6c(0x193)]=0x19,this[_0x5f2c6c(0x155)]=new Map(),this[_0x5f2c6c(0x169)]=new Map(),this[_0x5f2c6c(0x157)][_0x5f2c6c(0x14f)][_0x5f2c6c(0x176)](_0x5f2c6c(0x188),!0x1),this[_0x5f2c6c(0x166)]=null,this[_0x5f2c6c(0x16a)]=null,this[_0x5f2c6c(0x172)]=[];}[_0x348f69(0x18a)](){const _0x51b5c4=_0x348f69,_0x5d192e=this[_0x51b5c4(0x157)][_0x51b5c4(0x14f)][_0x51b5c4(0x165)](_0x51b5c4(0x181));_0x5d192e&&this[_0x51b5c4(0x162)](_0x5d192e);}[_0x348f69(0x162)](_0x235652){const _0x3f8067=_0x348f69;if(!y(_0x235652))throw new _0x5b0c99(_0x3f8067(0x16b));this[_0x3f8067(0x19e)]=_0x235652;}[_0x348f69(0x17b)]({viewClass:_0x48645f='',spaceBetweenItems:_0x5cb113=0x19}={}){const _0x3cefcb=_0x348f69;if(!y(this[_0x3cefcb(0x19e)]))throw new _0x5b0c99(_0x3cefcb(0x14c),this);this[_0x3cefcb(0x19e)][_0x3cefcb(0x14e)](this[_0x3cefcb(0x15d)][_0x3cefcb(0x191)]),this[_0x3cefcb(0x15d)][_0x3cefcb(0x154)]=_0x48645f,this[_0x3cefcb(0x193)]=_0x5cb113;}[_0x348f69(0x18c)]({removedAnnotation:_0x54304e,previousAnnotation:_0x2164ec,nextAnnotation:_0x12db04}){const _0x1d4ed9=_0x348f69,_0x336533=this[_0x1d4ed9(0x171)](_0x54304e);this[_0x1d4ed9(0x15d)][_0x1d4ed9(0x15a)][_0x1d4ed9(0x195)](_0x336533),this[_0x1d4ed9(0x153)](_0x54304e),_0x2164ec&&this[_0x1d4ed9(0x18b)](this[_0x1d4ed9(0x171)](_0x2164ec)),_0x12db04&&this[_0x1d4ed9(0x18b)](this[_0x1d4ed9(0x171)](_0x12db04)),this[_0x1d4ed9(0x194)]();}[_0x348f69(0x164)]({blurredAnnotation:_0x5732eb,activatedAnnotation:_0x531501,disableAnimationOnActivatedAnnotation:_0xd8b28e}){const _0xa6ced2=_0x348f69;if(this[_0xa6ced2(0x16a)]=_0x531501,_0x5732eb){_0x5732eb[_0xa6ced2(0x179)]=!0x1;const _0x123c14=this[_0xa6ced2(0x171)](_0x5732eb);_0x123c14&&_0xd8b28e&&(_0x123c14[_0xa6ced2(0x197)]=!0x1);}if(_0x531501){const _0x1d3ad5=this[_0xa6ced2(0x171)](_0x531501);_0x1d3ad5&&(_0x531501[_0xa6ced2(0x179)]=!0x0,_0xd8b28e&&(_0x1d3ad5[_0xa6ced2(0x197)]=!0x0,_0x1d3ad5[_0xa6ced2(0x17e)]+=0x1),this[_0xa6ced2(0x18b)](_0x1d3ad5));}}[_0x348f69(0x183)](_0x18e365){const _0xc97159=_0x348f69;if(this[_0xc97159(0x15d)][_0xc97159(0x191)][_0xc97159(0x195)](),_0x18e365){for(const _0x4fea2c of _0x18e365)this[_0xc97159(0x153)](_0x4fea2c);}this[_0xc97159(0x15d)][_0xc97159(0x15a)][_0xc97159(0x14b)](),this[_0xc97159(0x15d)][_0xc97159(0x154)]='',this[_0xc97159(0x184)]=null;}[_0x348f69(0x177)](_0x2aeb55,_0x4eccd0){const _0x80a461=_0x348f69;_0x4eccd0||(_0x4eccd0=_0x2aeb55[_0x80a461(0x15d)]);const _0x5b8664=new _0x4c7687(this[_0x80a461(0x157)][_0x80a461(0x150)]);this[_0x80a461(0x155)][_0x80a461(0x161)](_0x5b8664,_0x2aeb55),this[_0x80a461(0x169)][_0x80a461(0x161)](_0x2aeb55,_0x5b8664),_0x5b8664[_0x80a461(0x190)][_0x80a461(0x14d)](_0x4eccd0),this[_0x80a461(0x17f)](_0x2aeb55[_0x80a461(0x15d)],_0x80a461(0x185),(_0x200d12,_0x3958fe,_0x3dac4e)=>{const _0x12df9c=_0x80a461,_0x34c4fc=this[_0x12df9c(0x16e)](_0x2aeb55,_0x3dac4e);_0x5b8664[_0x12df9c(0x180)]!=_0x34c4fc&&(_0x5b8664[_0x12df9c(0x180)]=_0x34c4fc,this[_0x12df9c(0x15b)](_0x5b8664,_0x34c4fc));}),this[_0x80a461(0x17f)](_0x5b8664,_0x80a461(0x173),()=>{const _0x2b3ffa=_0x80a461;this[_0x2b3ffa(0x15e)](_0x5b8664,_0x2b3ffa(0x17e));}),this[_0x80a461(0x17f)](_0x5b8664,_0x80a461(0x16c),()=>{const _0x8f2359=_0x80a461;this[_0x8f2359(0x15e)](_0x5b8664,_0x8f2359(0x19d));}),this[_0x80a461(0x18b)](_0x5b8664);const _0x4d7336=this[_0x80a461(0x14a)](_0x5b8664);if(_0x4d7336)this[_0x80a461(0x15f)](_0x4d7336,_0x5b8664)||this[_0x80a461(0x18b)](_0x5b8664);else this[_0x80a461(0x18b)](_0x5b8664);return this[_0x80a461(0x194)](),this[_0x80a461(0x15d)][_0x80a461(0x15a)][_0x80a461(0x14d)](_0x5b8664),_0x5b8664;}[_0x348f69(0x189)](_0x3e3159){const _0x2fa716=_0x348f69;if(!_0x3e3159[_0x2fa716(0x190)][_0x2fa716(0x186)])return;const _0x2c8e53=this[_0x2fa716(0x14a)](_0x3e3159);if(!_0x2c8e53)return;const _0x1bb532=this[_0x2fa716(0x155)][_0x2fa716(0x165)](_0x2c8e53),_0x341428=this[_0x2fa716(0x16a)];_0x341428&&_0x341428===_0x1bb532?this[_0x2fa716(0x15f)](_0x2c8e53,_0x3e3159):this[_0x2fa716(0x192)](_0x3e3159,_0x2c8e53);}[_0x348f69(0x15c)](_0x2d06d8){const _0x199933=_0x348f69;if(!_0x2d06d8[_0x199933(0x190)][_0x199933(0x186)])return;const _0x236678=this[_0x199933(0x199)](_0x2d06d8);if(!_0x236678)return;const _0x316d35=this[_0x199933(0x155)][_0x199933(0x165)](_0x236678),_0x50b54a=this[_0x199933(0x157)][_0x199933(0x14f)][_0x199933(0x165)](_0x199933(0x188)),_0x3a33fa=this[_0x199933(0x16a)];_0x3a33fa&&_0x3a33fa===_0x316d35&&_0x50b54a?(this[_0x199933(0x192)](_0x236678,_0x2d06d8),this[_0x199933(0x15f)](_0x2d06d8,_0x236678)):_0x3a33fa&&_0x3a33fa===_0x316d35?this[_0x199933(0x192)](_0x236678,_0x2d06d8):this[_0x199933(0x15f)](_0x2d06d8,_0x236678);}[_0x348f69(0x15e)](_0x1c0797,_0x3ee70){const _0x3b758c=_0x348f69;0x0===this[_0x3b758c(0x172)][_0x3b758c(0x186)]&&setTimeout(()=>{const _0x16e6c5=_0x3b758c;for(const {sidebarItemView:_0x2befe5,changedProp:_0x4e58f7}of this[_0x16e6c5(0x172)])_0x16e6c5(0x17e)===_0x4e58f7?this[_0x16e6c5(0x189)](_0x2befe5):this[_0x16e6c5(0x15c)](_0x2befe5);this[_0x16e6c5(0x172)]=[];},0xa),this[_0x3b758c(0x172)][_0x3b758c(0x178)]({'sidebarItemView':_0x1c0797,'changedProp':_0x3ee70});}[_0x348f69(0x171)](_0x493c4a){const _0x2b3a43=_0x348f69;return this[_0x2b3a43(0x169)][_0x2b3a43(0x165)](_0x493c4a);}[_0x348f69(0x167)](){const _0x5005ab=_0x348f69;this[_0x5005ab(0x1a1)](),this[_0x5005ab(0x15d)][_0x5005ab(0x167)]();}[_0x348f69(0x153)](_0x2080c7){const _0x4d752d=_0x348f69,_0x416abd=this[_0x4d752d(0x171)](_0x2080c7);this[_0x4d752d(0x1a1)](_0x416abd),this[_0x4d752d(0x1a1)](_0x2080c7[_0x4d752d(0x15d)]),_0x416abd[_0x4d752d(0x167)](),this[_0x4d752d(0x169)][_0x4d752d(0x187)](_0x2080c7),this[_0x4d752d(0x155)][_0x4d752d(0x187)](_0x416abd);}[_0x348f69(0x19c)](){const _0x49bf5d=_0x348f69,_0x156f21=new _0x3e28c6(this[_0x49bf5d(0x157)][_0x49bf5d(0x150)]);return _0x156f21[_0x49bf5d(0x174)](),this['on'](_0x49bf5d(0x17c),(_0x45a2e0,_0x3651d0,_0x5712bf,_0x87e2c2)=>{const _0x2789d4=_0x49bf5d;_0x87e2c2&&_0x156f21[_0x2789d4(0x19f)](_0x2789d4(0x159)),_0x5712bf?_0x156f21[_0x2789d4(0x160)](_0x2789d4(0x159))['to'](_0x5712bf,_0x2789d4(0x19d)):_0x156f21[_0x2789d4(0x159)]=null;}),_0x156f21;}[_0x348f69(0x194)](){const _0x324598=_0x348f69;var _0x97a3de;this[_0x324598(0x184)]=(null===(_0x97a3de=this[_0x324598(0x166)])||void 0x0===_0x97a3de?void 0x0:_0x97a3de[_0x324598(0x196)])?this[_0x324598(0x171)](this[_0x324598(0x166)][_0x324598(0x196)]):null;}[_0x348f69(0x14a)](_0x306c09){const _0x405389=_0x348f69;var _0x855c41;const _0x44f47e=this[_0x405389(0x155)][_0x405389(0x165)](_0x306c09),_0x311bc1=_0x44f47e&&(null===(_0x855c41=this[_0x405389(0x166)])||void 0x0===_0x855c41?void 0x0:_0x855c41[_0x405389(0x165)](this[_0x405389(0x166)][_0x405389(0x163)](_0x44f47e)-0x1));return _0x311bc1&&this[_0x405389(0x171)](_0x311bc1)||null;}[_0x348f69(0x199)](_0x3d26c6){const _0x1de95c=_0x348f69;var _0x541d79;const _0x53b6a6=this[_0x1de95c(0x155)][_0x1de95c(0x165)](_0x3d26c6),_0x26093f=_0x53b6a6&&(null===(_0x541d79=this[_0x1de95c(0x166)])||void 0x0===_0x541d79?void 0x0:_0x541d79[_0x1de95c(0x165)](this[_0x1de95c(0x166)][_0x1de95c(0x163)](_0x53b6a6)+0x1));return _0x26093f&&this[_0x1de95c(0x171)](_0x26093f)||null;}[_0x348f69(0x192)](_0x187f48,_0x63df61){const _0x17b441=_0x348f69;_0x187f48[_0x17b441(0x168)]();const _0x234b6e=M(_0x63df61[_0x17b441(0x19d)]+this[_0x17b441(0x193)],_0x187f48[_0x17b441(0x17e)]);return!!_0x234b6e&&(this[_0x17b441(0x15b)](_0x63df61,_0x63df61[_0x17b441(0x17e)]-_0x234b6e),!0x0);}[_0x348f69(0x15f)](_0x71560e,_0x5b34e8){const _0x35a019=_0x348f69;_0x71560e[_0x35a019(0x168)]();const _0x2ae71e=M(_0x71560e[_0x35a019(0x19d)]+this[_0x35a019(0x193)],_0x5b34e8[_0x35a019(0x17e)]);return!!_0x2ae71e&&(this[_0x35a019(0x15b)](_0x5b34e8,_0x5b34e8[_0x35a019(0x17e)]+_0x2ae71e,!0x1),!0x0);}[_0x348f69(0x18b)](_0x441668){const _0x2babc9=_0x348f69,_0x24c0ab=this[_0x2babc9(0x155)][_0x2babc9(0x165)](_0x441668);if(!_0x24c0ab||!_0x24c0ab[_0x2babc9(0x198)]||!_0x24c0ab[_0x2babc9(0x149)])return;const _0x3b13aa=this[_0x2babc9(0x16e)](_0x24c0ab,_0x24c0ab[_0x2babc9(0x149)]);this[_0x2babc9(0x15b)](_0x441668,_0x3b13aa);}[_0x348f69(0x16e)](_0x51eb0f,_0x51da52){const _0x773d7e=_0x348f69;if(null===_0x51da52)return 0x0;if(_0x51eb0f[_0x773d7e(0x198)]instanceof _0x39c62e)return _0x51da52[_0x773d7e(0x17e)];{const _0x81ac0=new _0x39c62e(this[_0x773d7e(0x15d)][_0x773d7e(0x191)])[_0x773d7e(0x17e)];return _0x51da52[_0x773d7e(0x17e)]-_0x81ac0;}}[_0x348f69(0x15b)](_0x30ac55,_0x594d8b,_0x4bb40f=this[_0x348f69(0x157)][_0x348f69(0x14f)][_0x348f69(0x165)](_0x348f69(0x188))){const _0xe1cc7a=_0x348f69;_0x4bb40f&&(_0x594d8b=Math[_0xe1cc7a(0x16d)](_0x594d8b,this[_0xe1cc7a(0x17d)](_0x30ac55))),_0x30ac55[_0xe1cc7a(0x17e)]=_0x594d8b;}[_0x348f69(0x17d)](_0x459767){const _0x4746d5=_0x348f69;let _0x4bcdaf=this[_0x4746d5(0x14a)](_0x459767),_0x16ec1e=0x0;for(;_0x4bcdaf;)_0x4bcdaf[_0x4746d5(0x168)](),_0x16ec1e+=this[_0x4746d5(0x193)]+_0x4bcdaf[_0x4746d5(0x170)],_0x4bcdaf=this[_0x4746d5(0x14a)](_0x4bcdaf);return _0x16ec1e;}}function M(_0x36a7c1,_0x36665a){const _0x3a72c4=_0x348f69;return Math[_0x3a72c4(0x16d)](_0x36a7c1-_0x36665a,0x0);}function y(_0x20081c){const _0x4b9125=_0x348f69;return null!==_0x20081c&&_0x4b9125(0x19a)==typeof _0x20081c&&0x1===_0x20081c[_0x4b9125(0x175)];}
|
|
23
|
+
const _0xea841a=_0xd7db;(function(_0x56179a,_0x307790){const _0x239573=_0xd7db,_0x26d78b=_0x56179a();while(!![]){try{const _0x48bdb3=-parseInt(_0x239573(0xa7))/0x1+parseInt(_0x239573(0xa0))/0x2+-parseInt(_0x239573(0x9f))/0x3+parseInt(_0x239573(0xc7))/0x4*(parseInt(_0x239573(0xd9))/0x5)+-parseInt(_0x239573(0xdd))/0x6*(-parseInt(_0x239573(0xdc))/0x7)+parseInt(_0x239573(0xe0))/0x8*(-parseInt(_0x239573(0xd4))/0x9)+parseInt(_0x239573(0xb7))/0xa;if(_0x48bdb3===_0x307790)break;else _0x26d78b['push'](_0x26d78b['shift']());}catch(_0x55dcb7){_0x26d78b['push'](_0x26d78b['shift']());}}}(_0x2409,0xc784c));import{ContextPlugin as _0xd03c49}from'ckeditor5/src/core.js';import{Rect as _0xa69a31,CKEditorError as _0x38471f}from'ckeditor5/src/utils.js';import _0x2559ac from'./view/sidebarview.js';function _0x2409(){const _0x3ecbfc=['view','_getTargetTop','_recalculate','_annotations','_alignForTopChange','_activeAnnotation','push','_annotationToSidebarItemView','Sidebar','3847707JQcQaq','217664LsGAuM','_getItemAfter','rearrange','pluginName','define','bind','max','958650TWYREX','_getItemBefore','_targetTop','remove','_destroySidebarItemView','class','clear','bottom','last','height','element','_alignBeforeItem','minHeight','stopListening','isActive','content','24880740KTIPHm','getSidebarItemView','_updateLastItem','_detachFromContainer','destroy','length','top','get','delete','container','_spaceBetweenItems','object','target','targetRect','_attachToContainer','_recalculateBuffer','112756FHEyWL','_createSidebarView','sidebar.container','_getMaxAvailableTop','_alignAfterItem','context','nodeType','addAnnotation','_lastItem','_sidebarItemViewToAnnotation','sidebar-setcontainer-invalid-element','unbind','listenTo','113112MjFvXP','getIndex','set','add','sidebar-attachtocontainer-missing-container','155JDVtaq','init','change:targetRect','490drbLVj','8826sSMnUt','locale','change:top','328HroMNK','isAnimationDisabled','appendChild','setContainer','updateHeight','change:bottom','list','_alignToTargetRect','sidebar.preventScrollOutOfView','change:_lastItem','render','_setItemTop','config','_alignForBottomChange','refresh'];_0x2409=function(){return _0x3ecbfc;};return _0x2409();}import _0x53dc37 from'./view/sidebaritemview.js';function _0xd7db(_0xbe5265,_0x339c6d){const _0x2409d1=_0x2409();return _0xd7db=function(_0xd7dbcb,_0x1522f5){_0xd7dbcb=_0xd7dbcb-0x8f;let _0x78dec6=_0x2409d1[_0xd7dbcb];return _0x78dec6;},_0xd7db(_0xbe5265,_0x339c6d);}export default class z extends _0xd03c49{static get[_0xea841a(0xa3)](){const _0x4e8718=_0xea841a;return _0x4e8718(0x9e);}constructor(_0x42345b){const _0x59db27=_0xea841a;super(_0x42345b),this[_0x59db27(0xd6)](_0x59db27(0xcf),void 0x0),this[_0x59db27(0x96)]=this[_0x59db27(0xc8)](),this[_0x59db27(0xd6)](_0x59db27(0xc0),null),this[_0x59db27(0xc1)]=0x19,this[_0x59db27(0xd0)]=new Map(),this[_0x59db27(0x9d)]=new Map(),this[_0x59db27(0xcc)][_0x59db27(0x93)][_0x59db27(0xa4)](_0x59db27(0x8f),!0x1),this[_0x59db27(0x99)]=null,this[_0x59db27(0x9b)]=null,this[_0x59db27(0xc6)]=[];}[_0xea841a(0xda)](){const _0x2c0b7a=_0xea841a,_0x466ca6=this[_0x2c0b7a(0xcc)][_0x2c0b7a(0x93)][_0x2c0b7a(0xbe)](_0x2c0b7a(0xc9));_0x466ca6&&this[_0x2c0b7a(0xe3)](_0x466ca6);}[_0xea841a(0xe3)](_0x1fd2c7){const _0x5e454e=_0xea841a;if(!y(_0x1fd2c7))throw new _0x38471f(_0x5e454e(0xd1));this[_0x5e454e(0xc0)]=_0x1fd2c7;}[_0xea841a(0xc5)]({viewClass:_0x3b9a5c='',spaceBetweenItems:_0xdd6d9e=0x19}={}){const _0x4f5e2c=_0xea841a;if(!y(this[_0x4f5e2c(0xc0)]))throw new _0x38471f(_0x4f5e2c(0xd8),this);this[_0x4f5e2c(0xc0)][_0x4f5e2c(0xe2)](this[_0x4f5e2c(0x96)][_0x4f5e2c(0xb1)]),this[_0x4f5e2c(0x96)][_0x4f5e2c(0xac)]=_0x3b9a5c,this[_0x4f5e2c(0xc1)]=_0xdd6d9e;}[_0xea841a(0xa2)]({removedAnnotation:_0x5d6369,previousAnnotation:_0x11ee82,nextAnnotation:_0x3d9a3c}){const _0x45d1e3=_0xea841a,_0x46bbe0=this[_0x45d1e3(0xb8)](_0x5d6369);this[_0x45d1e3(0x96)][_0x45d1e3(0xe6)][_0x45d1e3(0xaa)](_0x46bbe0),this[_0x45d1e3(0xab)](_0x5d6369),_0x11ee82&&this[_0x45d1e3(0xe7)](this[_0x45d1e3(0xb8)](_0x11ee82)),_0x3d9a3c&&this[_0x45d1e3(0xe7)](this[_0x45d1e3(0xb8)](_0x3d9a3c)),this[_0x45d1e3(0xb9)]();}[_0xea841a(0x95)]({blurredAnnotation:_0x45de12,activatedAnnotation:_0x5acc37,disableAnimationOnActivatedAnnotation:_0x537144}){const _0x2ae50c=_0xea841a;if(this[_0x2ae50c(0x9b)]=_0x5acc37,_0x45de12){_0x45de12[_0x2ae50c(0xb5)]=!0x1;const _0x1e6c0c=this[_0x2ae50c(0xb8)](_0x45de12);_0x1e6c0c&&_0x537144&&(_0x1e6c0c[_0x2ae50c(0xe1)]=!0x1);}if(_0x5acc37){const _0x121009=this[_0x2ae50c(0xb8)](_0x5acc37);_0x121009&&(_0x5acc37[_0x2ae50c(0xb5)]=!0x0,_0x537144&&(_0x121009[_0x2ae50c(0xe1)]=!0x0,_0x121009[_0x2ae50c(0xbd)]+=0x1),this[_0x2ae50c(0xe7)](_0x121009));}}[_0xea841a(0xba)](_0xc35b47){const _0x5a099a=_0xea841a;if(this[_0x5a099a(0x96)][_0x5a099a(0xb1)][_0x5a099a(0xaa)](),_0xc35b47){for(const _0x4ec84b of _0xc35b47)this[_0x5a099a(0xab)](_0x4ec84b);}this[_0x5a099a(0x96)][_0x5a099a(0xe6)][_0x5a099a(0xad)](),this[_0x5a099a(0x96)][_0x5a099a(0xac)]='',this[_0x5a099a(0xcf)]=null;}[_0xea841a(0xce)](_0x2cd002,_0x2e8510){const _0x19859d=_0xea841a;_0x2e8510||(_0x2e8510=_0x2cd002[_0x19859d(0x96)]);const _0x59792d=new _0x53dc37(this[_0x19859d(0xcc)][_0x19859d(0xde)]);this[_0x19859d(0xd0)][_0x19859d(0xd6)](_0x59792d,_0x2cd002),this[_0x19859d(0x9d)][_0x19859d(0xd6)](_0x2cd002,_0x59792d),_0x59792d[_0x19859d(0xb6)][_0x19859d(0xd7)](_0x2e8510),this[_0x19859d(0xd3)](_0x2cd002[_0x19859d(0x96)],_0x19859d(0xdb),(_0x16637c,_0x280018,_0x47fd94)=>{const _0xbaae17=_0x19859d,_0x2ac1e3=this[_0xbaae17(0x97)](_0x2cd002,_0x47fd94);_0x59792d[_0xbaae17(0xa9)]!=_0x2ac1e3&&(_0x59792d[_0xbaae17(0xa9)]=_0x2ac1e3,this[_0xbaae17(0x92)](_0x59792d,_0x2ac1e3));}),this[_0x19859d(0xd3)](_0x59792d,_0x19859d(0xdf),()=>{const _0x540dc0=_0x19859d;this[_0x540dc0(0x98)](_0x59792d,_0x540dc0(0xbd));}),this[_0x19859d(0xd3)](_0x59792d,_0x19859d(0xe5),()=>{const _0x31fb1f=_0x19859d;this[_0x31fb1f(0x98)](_0x59792d,_0x31fb1f(0xae));}),this[_0x19859d(0xe7)](_0x59792d);const _0x2af6db=this[_0x19859d(0xa8)](_0x59792d);if(_0x2af6db)this[_0x19859d(0xcb)](_0x2af6db,_0x59792d)||this[_0x19859d(0xe7)](_0x59792d);else this[_0x19859d(0xe7)](_0x59792d);return this[_0x19859d(0xb9)](),this[_0x19859d(0x96)][_0x19859d(0xe6)][_0x19859d(0xd7)](_0x59792d),_0x59792d;}[_0xea841a(0x9a)](_0x12c030){const _0x4d37ec=_0xea841a;if(!_0x12c030[_0x4d37ec(0xb6)][_0x4d37ec(0xbc)])return;const _0x42c570=this[_0x4d37ec(0xa8)](_0x12c030);if(!_0x42c570)return;const _0x1be5d1=this[_0x4d37ec(0xd0)][_0x4d37ec(0xbe)](_0x42c570),_0x46be09=this[_0x4d37ec(0x9b)];_0x46be09&&_0x46be09===_0x1be5d1?this[_0x4d37ec(0xcb)](_0x42c570,_0x12c030):this[_0x4d37ec(0xb2)](_0x12c030,_0x42c570);}[_0xea841a(0x94)](_0x642c5f){const _0x599947=_0xea841a;if(!_0x642c5f[_0x599947(0xb6)][_0x599947(0xbc)])return;const _0x352d5b=this[_0x599947(0xa1)](_0x642c5f);if(!_0x352d5b)return;const _0x56c37b=this[_0x599947(0xd0)][_0x599947(0xbe)](_0x352d5b),_0x304046=this[_0x599947(0xcc)][_0x599947(0x93)][_0x599947(0xbe)](_0x599947(0x8f)),_0x4a25a6=this[_0x599947(0x9b)];_0x4a25a6&&_0x4a25a6===_0x56c37b&&_0x304046?(this[_0x599947(0xb2)](_0x352d5b,_0x642c5f),this[_0x599947(0xcb)](_0x642c5f,_0x352d5b)):_0x4a25a6&&_0x4a25a6===_0x56c37b?this[_0x599947(0xb2)](_0x352d5b,_0x642c5f):this[_0x599947(0xcb)](_0x642c5f,_0x352d5b);}[_0xea841a(0x98)](_0x42731c,_0x6b9d67){const _0x1d2b97=_0xea841a;0x0===this[_0x1d2b97(0xc6)][_0x1d2b97(0xbc)]&&setTimeout(()=>{const _0xa4933=_0x1d2b97;for(const {sidebarItemView:_0xb0c638,changedProp:_0x581a13}of this[_0xa4933(0xc6)])_0xa4933(0xbd)===_0x581a13?this[_0xa4933(0x9a)](_0xb0c638):this[_0xa4933(0x94)](_0xb0c638);this[_0xa4933(0xc6)]=[];},0xa),this[_0x1d2b97(0xc6)][_0x1d2b97(0x9c)]({'sidebarItemView':_0x42731c,'changedProp':_0x6b9d67});}[_0xea841a(0xb8)](_0x20892a){const _0x5b2942=_0xea841a;return this[_0x5b2942(0x9d)][_0x5b2942(0xbe)](_0x20892a);}[_0xea841a(0xbb)](){const _0x4d9f10=_0xea841a;this[_0x4d9f10(0xb4)](),this[_0x4d9f10(0x96)][_0x4d9f10(0xbb)]();}[_0xea841a(0xab)](_0x416334){const _0x1aba13=_0xea841a,_0x4dfa8c=this[_0x1aba13(0xb8)](_0x416334);this[_0x1aba13(0xb4)](_0x4dfa8c),this[_0x1aba13(0xb4)](_0x416334[_0x1aba13(0x96)]),_0x4dfa8c[_0x1aba13(0xbb)](),this[_0x1aba13(0x9d)][_0x1aba13(0xbf)](_0x416334),this[_0x1aba13(0xd0)][_0x1aba13(0xbf)](_0x4dfa8c);}[_0xea841a(0xc8)](){const _0x2cacbf=_0xea841a,_0x3205c2=new _0x2559ac(this[_0x2cacbf(0xcc)][_0x2cacbf(0xde)]);return _0x3205c2[_0x2cacbf(0x91)](),this['on'](_0x2cacbf(0x90),(_0x2a8fb1,_0x4959ca,_0x2638a2,_0xb54079)=>{const _0x465f1c=_0x2cacbf;_0xb54079&&_0x3205c2[_0x465f1c(0xd2)](_0x465f1c(0xb3)),_0x2638a2?_0x3205c2[_0x465f1c(0xa5)](_0x465f1c(0xb3))['to'](_0x2638a2,_0x465f1c(0xae)):_0x3205c2[_0x465f1c(0xb3)]=null;}),_0x3205c2;}[_0xea841a(0xb9)](){const _0x248388=_0xea841a;var _0x218e33;this[_0x248388(0xcf)]=(null===(_0x218e33=this[_0x248388(0x99)])||void 0x0===_0x218e33?void 0x0:_0x218e33[_0x248388(0xaf)])?this[_0x248388(0xb8)](this[_0x248388(0x99)][_0x248388(0xaf)]):null;}[_0xea841a(0xa8)](_0x54ed7b){const _0xb7c71b=_0xea841a;var _0x6656ad;const _0x3a30b4=this[_0xb7c71b(0xd0)][_0xb7c71b(0xbe)](_0x54ed7b),_0x13b4dc=_0x3a30b4&&(null===(_0x6656ad=this[_0xb7c71b(0x99)])||void 0x0===_0x6656ad?void 0x0:_0x6656ad[_0xb7c71b(0xbe)](this[_0xb7c71b(0x99)][_0xb7c71b(0xd5)](_0x3a30b4)-0x1));return _0x13b4dc&&this[_0xb7c71b(0xb8)](_0x13b4dc)||null;}[_0xea841a(0xa1)](_0x30f245){const _0x8a0ea6=_0xea841a;var _0x40dbb0;const _0x387cfe=this[_0x8a0ea6(0xd0)][_0x8a0ea6(0xbe)](_0x30f245),_0x341b0b=_0x387cfe&&(null===(_0x40dbb0=this[_0x8a0ea6(0x99)])||void 0x0===_0x40dbb0?void 0x0:_0x40dbb0[_0x8a0ea6(0xbe)](this[_0x8a0ea6(0x99)][_0x8a0ea6(0xd5)](_0x387cfe)+0x1));return _0x341b0b&&this[_0x8a0ea6(0xb8)](_0x341b0b)||null;}[_0xea841a(0xb2)](_0x53b68d,_0x265379){const _0x406f76=_0xea841a;_0x53b68d[_0x406f76(0xe4)]();const _0x203304=M(_0x265379[_0x406f76(0xae)]+this[_0x406f76(0xc1)],_0x53b68d[_0x406f76(0xbd)]);return!!_0x203304&&(this[_0x406f76(0x92)](_0x265379,_0x265379[_0x406f76(0xbd)]-_0x203304),!0x0);}[_0xea841a(0xcb)](_0x45eb06,_0x4ee4ab){const _0x3ac670=_0xea841a;_0x45eb06[_0x3ac670(0xe4)]();const _0x223538=M(_0x45eb06[_0x3ac670(0xae)]+this[_0x3ac670(0xc1)],_0x4ee4ab[_0x3ac670(0xbd)]);return!!_0x223538&&(this[_0x3ac670(0x92)](_0x4ee4ab,_0x4ee4ab[_0x3ac670(0xbd)]+_0x223538,!0x1),!0x0);}[_0xea841a(0xe7)](_0x5f0c9c){const _0x4285f6=_0xea841a,_0x11f861=this[_0x4285f6(0xd0)][_0x4285f6(0xbe)](_0x5f0c9c);if(!_0x11f861||!_0x11f861[_0x4285f6(0xc3)]||!_0x11f861[_0x4285f6(0xc4)])return;const _0xcab841=this[_0x4285f6(0x97)](_0x11f861,_0x11f861[_0x4285f6(0xc4)]);this[_0x4285f6(0x92)](_0x5f0c9c,_0xcab841);}[_0xea841a(0x97)](_0x136da9,_0x161a72){const _0x76d7ad=_0xea841a;if(null===_0x161a72)return 0x0;if(_0x136da9[_0x76d7ad(0xc3)]instanceof _0xa69a31)return _0x161a72[_0x76d7ad(0xbd)];{const _0x1b45da=new _0xa69a31(this[_0x76d7ad(0x96)][_0x76d7ad(0xb1)])[_0x76d7ad(0xbd)];return _0x161a72[_0x76d7ad(0xbd)]-_0x1b45da;}}[_0xea841a(0x92)](_0x4b1e60,_0x3519f0,_0x29cb92=this[_0xea841a(0xcc)][_0xea841a(0x93)][_0xea841a(0xbe)](_0xea841a(0x8f))){const _0x560c70=_0xea841a;_0x29cb92&&(_0x3519f0=Math[_0x560c70(0xa6)](_0x3519f0,this[_0x560c70(0xca)](_0x4b1e60))),_0x4b1e60[_0x560c70(0xbd)]=_0x3519f0;}[_0xea841a(0xca)](_0x59bb17){const _0x4cc2ce=_0xea841a;let _0x22f88c=this[_0x4cc2ce(0xa8)](_0x59bb17),_0x1f8709=0x0;for(;_0x22f88c;)_0x22f88c[_0x4cc2ce(0xe4)](),_0x1f8709+=this[_0x4cc2ce(0xc1)]+_0x22f88c[_0x4cc2ce(0xb0)],_0x22f88c=this[_0x4cc2ce(0xa8)](_0x22f88c);return _0x1f8709;}}function M(_0x556347,_0xa72978){const _0x1fd56b=_0xea841a;return Math[_0x1fd56b(0xa6)](_0x556347-_0xa72978,0x0);}function y(_0x33ae93){const _0x4a24b1=_0xea841a;return null!==_0x33ae93&&_0x4a24b1(0xc2)==typeof _0x33ae93&&0x1===_0x33ae93[_0x4a24b1(0xcd)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5544a3,_0x233966){const _0x2885e8=_0x266d,_0x2963bc=_0x5544a3();while(!![]){try{const _0x39d047=parseInt(_0x2885e8(0x109))/0x1+parseInt(_0x2885e8(0x113))/0x2+parseInt(_0x2885e8(0x108))/0x3+-parseInt(_0x2885e8(0x106))/0x4*(parseInt(_0x2885e8(0x10c))/0x5)+-parseInt(_0x2885e8(0xfc))/0x6+-parseInt(_0x2885e8(0x112))/0x7*(-parseInt(_0x2885e8(0x103))/0x8)+-parseInt(_0x2885e8(0x107))/0x9*(parseInt(_0x2885e8(0xfe))/0xa);if(_0x39d047===_0x233966)break;else _0x2963bc['push'](_0x2963bc['shift']());}catch(_0x5c3d1d){_0x2963bc['push'](_0x2963bc['shift']());}}}(_0x5711,0x5e447));function _0x266d(_0x57c5ad,_0x5588f2){const _0x5711f2=_0x5711();return _0x266d=function(_0x266d27,_0x47c703){_0x266d27=_0x266d27-0xf6;let _0x37c06d=_0x5711f2[_0x266d27];return _0x37c06d;},_0x266d(_0x57c5ad,_0x5588f2);}function _0x5711(){const _0xf1ec9a=['ck-annotation-counter__badge--edit-mode','2062536jBDUcv','icon','8700310CBloxD','children','bindTemplate','bind','add','8BKgYRM','annotationType','isDirty','161580LpjmcK','9HDDraF','1649715dMIuNo','570065TACMjX','setTemplate','ck-annotation-counter__badge--','65cGzpPm','ck-annotation-counter__badge','extendTemplate','toString','ck-annotation-counter','counterView','3404387EMlnQB','1037460utfXoh','set','...','_badge','number','span'];_0x5711=function(){return _0xf1ec9a;};return _0x5711();}import{ButtonView as _0x2391d8,View as _0x314f89}from'ckeditor5/src/ui.js';import _0x50db75 from'../../../theme/icons/add-comment.svg';export default class D extends _0x2391d8{constructor(_0x23689c){const _0x422de4=_0x266d;super(_0x23689c);const _0x4f9a43=this[_0x422de4(0x100)];this[_0x422de4(0xf6)](_0x422de4(0x105),!0x1),this[_0x422de4(0xf6)](_0x422de4(0xf9),0x0),this[_0x422de4(0x101)](_0x422de4(0xf8))['to'](this,_0x422de4(0x105),this,_0x422de4(0xf9),(_0x264002,_0x48d3e1)=>_0x264002?_0x422de4(0xf7):_0x48d3e1[_0x422de4(0x10f)]()),this[_0x422de4(0xf6)](_0x422de4(0x104),''),this[_0x422de4(0xfd)]=_0x50db75,this[_0x422de4(0x10e)]({'attributes':{'class':[_0x422de4(0x110)]}}),this[_0x422de4(0x111)]=new _0x314f89(),this[_0x422de4(0x111)][_0x422de4(0x10a)]({'tag':_0x422de4(0xfa),'attributes':{'class':[_0x422de4(0x10d),_0x4f9a43['to'](_0x422de4(0x104),_0x2f4366=>_0x422de4(0x10b)+_0x2f4366),_0x4f9a43['if'](_0x422de4(0x105),_0x422de4(0xfb))]},'children':[{'text':_0x4f9a43['to'](_0x422de4(0xf8))}]}),this[_0x422de4(0xff)][_0x422de4(0x102)](this[_0x422de4(0x111)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e80d2=_0x3fa3;(function(_0x15cd2a,_0x30198e){const _0x28791c=_0x3fa3,_0x4dd184=_0x15cd2a();while(!![]){try{const _0x67b05b=parseInt(_0x28791c(0x10e))/0x1*(-parseInt(_0x28791c(0x10a))/0x2)+-parseInt(_0x28791c(0x125))/0x3+parseInt(_0x28791c(0x12e))/0x4*(parseInt(_0x28791c(0x114))/0x5)+parseInt(_0x28791c(0x12f))/0x6+parseInt(_0x28791c(0x123))/0x7+parseInt(_0x28791c(0x131))/0x8*(parseInt(_0x28791c(0x11f))/0x9)+parseInt(_0x28791c(0x113))/0xa;if(_0x67b05b===_0x30198e)break;else _0x4dd184['push'](_0x4dd184['shift']());}catch(_0x516638){_0x4dd184['push'](_0x4dd184['shift']());}}}(_0x470a,0xc735e));import{View as _0x54bf1d}from'ckeditor5/src/ui.js';import{FocusTracker as _0x12c531,KeystrokeHandler as _0x4ba83d,uid as _0x48d400}from'ckeditor5/src/utils.js';import _0x3131c0 from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export default class V extends _0x54bf1d{constructor(_0x511d16,_0x17193b){const _0x488160=_0x3fa3;super(_0x511d16),this['id']=_0x48d400(),this[_0x488160(0x122)]=new _0x12c531(),this[_0x488160(0x11a)]=new _0x4ba83d(),this[_0x488160(0x11a)][_0x488160(0x12c)](_0x488160(0x12b),(_0x367b41,_0xfa8547)=>this[_0x488160(0x121)](_0x488160(0x12b),_0xfa8547)),this[_0x488160(0x12c)](_0x488160(0x110),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x488160(0x12c)](_0x488160(0x11e),0x0),this[_0x488160(0x12c)](_0x488160(0x112),!0x1),this[_0x488160(0x12c)](_0x488160(0x12a),!0x1),this[_0x488160(0x12c)](_0x488160(0x11b),0x0),this[_0x488160(0x12c)](_0x488160(0x126),''),this[_0x488160(0x11c)]=_0x3131c0(()=>this[_0x488160(0x10b)]()),this[_0x488160(0x111)]=this[_0x488160(0x127)](),this[_0x488160(0x111)][_0x488160(0x117)](_0x17193b),this[_0x488160(0x120)]=_0x17193b;const _0xa80936=this[_0x488160(0x10c)];this[_0x488160(0x10f)]({'tag':_0x488160(0x124),'attributes':{'class':['ck',_0x488160(0x10d),_0x488160(0x130),_0xa80936['if'](_0x488160(0x112),_0x488160(0x11d))],'tabindex':-0x1},'children':this[_0x488160(0x111)]});}[_0x3e80d2(0x109)](){const _0x1c1f38=_0x3e80d2;super[_0x1c1f38(0x109)](),this[_0x1c1f38(0x122)][_0x1c1f38(0x117)](this[_0x1c1f38(0x118)]),this[_0x1c1f38(0x11a)][_0x1c1f38(0x129)](this[_0x1c1f38(0x118)]),this[_0x1c1f38(0x11c)][_0x1c1f38(0x116)](this[_0x1c1f38(0x118)]);}[_0x3e80d2(0x115)](){const _0x1294e6=_0x3e80d2;this[_0x1294e6(0x111)][_0x1294e6(0x128)](),this[_0x1294e6(0x11a)][_0x1294e6(0x115)](),this[_0x1294e6(0x122)][_0x1294e6(0x115)](),this[_0x1294e6(0x11c)][_0x1294e6(0x12d)](),super[_0x1294e6(0x115)]();}[_0x3e80d2(0x119)](){const _0x550de5=_0x3e80d2;this[_0x550de5(0x118)][_0x550de5(0x119)]();}[_0x3e80d2(0x10b)](){const _0x5737a1=_0x3e80d2,_0x261baf=this[_0x5737a1(0x118)][_0x5737a1(0x108)];_0x261baf&&(this[_0x5737a1(0x11e)]=_0x261baf);}}function _0x3fa3(_0x134476,_0x12eddb){const _0x470a01=_0x470a();return _0x3fa3=function(_0x3fa360,_0x1385d5){_0x3fa360=_0x3fa360-0x108;let _0xb588e4=_0x470a01[_0x3fa360];return _0xb588e4;},_0x3fa3(_0x134476,_0x12eddb);}function _0x470a(){const _0x2b2a66=['isActive','8301200RtqiLH','86255NdBOZA','destroy','attach','add','element','focus','keystrokes','length','_mutationObserver','ck-annotation-wrapper--active','height','42354yQkmBr','mainView','fire','focusTracker','1868979AqrNrw','div','4067499hbKtXJ','type','createCollection','clear','listenTo','isDirty','Esc','set','detach','76itcgoa','4285482PFEQkR','ck-rounded-corners','1896eqGnbP','clientHeight','render','5884cguoje','_updateHeight','bindTemplate','ck-annotation-wrapper','368JgLsKY','setTemplate','targetRect','content'];_0x470a=function(){return _0x2b2a66;};return _0x470a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x398e(){const _0x5e2816=['attach','setTemplate','content','top','18369BZOcRv','isAnimationDisabled','527418LfkoDV','clear','878925ICuLmm','384nPyPPT','element','destroy','detach','1096QZdYqu','144353TrcArj','bottom','updateHeight','bindTemplate','div','ck-sidebar-item--no-animation','bind','130OIgGgb','_mutationObserver','render','height','17269ssYEMb','set','ck-sidebar-item','64725lBWgBj','createCollection','clientHeight','478104YPMErU','1IszShV','_targetTop'];_0x398e=function(){return _0x5e2816;};return _0x398e();}const _0x429973=_0x1dd5;(function(_0x1e5ef9,_0x5de897){const _0x35fbde=_0x1dd5,_0x5a274f=_0x1e5ef9();while(!![]){try{const _0x2be756=parseInt(_0x35fbde(0x8d))/0x1*(-parseInt(_0x35fbde(0x95))/0x2)+parseInt(_0x35fbde(0x89))/0x3+-parseInt(_0x35fbde(0x8c))/0x4+parseInt(_0x35fbde(0x97))/0x5+parseInt(_0x35fbde(0x98))/0x6*(parseInt(_0x35fbde(0x86))/0x7)+-parseInt(_0x35fbde(0x7a))/0x8*(-parseInt(_0x35fbde(0x93))/0x9)+parseInt(_0x35fbde(0x82))/0xa*(parseInt(_0x35fbde(0x7b))/0xb);if(_0x2be756===_0x5de897)break;else _0x5a274f['push'](_0x5a274f['shift']());}catch(_0x543ca8){_0x5a274f['push'](_0x5a274f['shift']());}}}(_0x398e,0x67155));import{View as _0x24fa39}from'ckeditor5/src/ui.js';import{toUnit as _0x3011a6}from'ckeditor5/src/utils.js';import _0x4a22c8 from'../../utils/createmutationobserver.js';const qt=_0x3011a6('px');function _0x1dd5(_0x37086d,_0x125ed5){const _0x398e65=_0x398e();return _0x1dd5=function(_0x1dd572,_0x3b6812){_0x1dd572=_0x1dd572-0x79;let _0x19f0bb=_0x398e65[_0x1dd572];return _0x19f0bb;},_0x1dd5(_0x37086d,_0x125ed5);}export default class C extends _0x24fa39{constructor(_0x48bab4){const _0x184368=_0x1dd5;super(_0x48bab4),this[_0x184368(0x87)](_0x184368(0x92),0x0),this[_0x184368(0x87)](_0x184368(0x85),0x0),this[_0x184368(0x81)](_0x184368(0x7c))['to'](this,_0x184368(0x92),this,_0x184368(0x85),(_0xb02133,_0x4f6be4)=>_0xb02133+_0x4f6be4),this[_0x184368(0x87)](_0x184368(0x94),!0x1),this[_0x184368(0x83)]=_0x4a22c8(()=>this[_0x184368(0x7d)]()),this[_0x184368(0x8e)]=null,this[_0x184368(0x91)]=this[_0x184368(0x8a)]();const _0x25c970=this[_0x184368(0x7e)];this[_0x184368(0x90)]({'tag':_0x184368(0x7f),'attributes':{'class':[_0x184368(0x88),_0x25c970['to'](_0x184368(0x94),_0x528e06=>_0x528e06?_0x184368(0x80):'')],'style':{'top':_0x25c970['to'](_0x184368(0x92),_0x4f817d=>qt(_0x4f817d))}},'children':this[_0x184368(0x91)]});}[_0x429973(0x84)](){const _0x3bedd2=_0x429973;super[_0x3bedd2(0x84)](),this[_0x3bedd2(0x83)][_0x3bedd2(0x8f)](this[_0x3bedd2(0x99)]);}[_0x429973(0x7d)](){const _0x24eb04=_0x429973,_0x494c11=this[_0x24eb04(0x99)][_0x24eb04(0x8b)];_0x494c11&&(this[_0x24eb04(0x85)]=_0x494c11);}[_0x429973(0x9a)](){const _0x2b111b=_0x429973;this[_0x2b111b(0x91)][_0x2b111b(0x96)](),this[_0x2b111b(0x83)][_0x2b111b(0x79)](),super[_0x2b111b(0x9a)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2aee99,_0x4abe53){const _0x309abe=_0x1c2d,_0x21c20e=_0x2aee99();while(!![]){try{const _0x549b1d=parseInt(_0x309abe(0x18e))/0x1+parseInt(_0x309abe(0x182))/0x2*(-parseInt(_0x309abe(0x189))/0x3)+-parseInt(_0x309abe(0x185))/0x4*(-parseInt(_0x309abe(0x183))/0x5)+parseInt(_0x309abe(0x188))/0x6+-parseInt(_0x309abe(0x18d))/0x7+-parseInt(_0x309abe(0x18b))/0x8*(-parseInt(_0x309abe(0x184))/0x9)+-parseInt(_0x309abe(0x180))/0xa;if(_0x549b1d===_0x4abe53)break;else _0x21c20e['push'](_0x21c20e['shift']());}catch(_0x1360bf){_0x21c20e['push'](_0x21c20e['shift']());}}}(_0x3be4,0x451cd));import{View as _0x49f7a2}from'ckeditor5/src/ui.js';import{toUnit as _0x12a762}from'ckeditor5/src/utils.js';import'../../../theme/sidebar.css';const qt=_0x12a762('px');function _0x3be4(){const _0xe2e143=['minHeight','2738631XPvApA','235547pIVYxS','set','list','ck-sidebar','class','div','ck-reset','3091830GKbNvE','bindTemplate','31550dOhLwO','115kXUpKv','36JwEBai','80428GwhjFR','createCollection','setTemplate','3173880AwPwko','99oiwuoV','number','554176awzSlu'];_0x3be4=function(){return _0xe2e143;};return _0x3be4();}function _0x1c2d(_0x20287d,_0x521ef6){const _0x3be4bc=_0x3be4();return _0x1c2d=function(_0x1c2d19,_0x3ad91f){_0x1c2d19=_0x1c2d19-0x17f;let _0x3d0489=_0x3be4bc[_0x1c2d19];return _0x3d0489;},_0x1c2d(_0x20287d,_0x521ef6);}export default class T extends _0x49f7a2{constructor(_0x349ed5){const _0x2aab8c=_0x1c2d;super(_0x349ed5);const _0x572087=this[_0x2aab8c(0x181)];this[_0x2aab8c(0x18f)](_0x2aab8c(0x18c),0x0),this[_0x2aab8c(0x18f)](_0x2aab8c(0x192),''),this[_0x2aab8c(0x190)]=this[_0x2aab8c(0x186)](),this[_0x2aab8c(0x187)]({'tag':_0x2aab8c(0x193),'attributes':{'class':['ck',_0x2aab8c(0x191),_0x2aab8c(0x17f),_0x572087['to'](_0x2aab8c(0x192))],'style':{'minHeight':_0x572087['to'](_0x2aab8c(0x18c),_0x5627a8=>_0x2aab8c(0x18a)==typeof _0x5627a8?qt(_0x5627a8+0xa):null)}},'children':this[_0x2aab8c(0x190)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xbc294c=_0x37bd;(function(_0x55f933,_0x4ab708){const _0x566adf=_0x37bd,_0x2ca104=_0x55f933();while(!![]){try{const _0x4aedd4=-parseInt(_0x566adf(0xc3))/0x1*(-parseInt(_0x566adf(0x91))/0x2)+parseInt(_0x566adf(0x88))/0x3*(-parseInt(_0x566adf(0x9b))/0x4)+-parseInt(_0x566adf(0x84))/0x5*(parseInt(_0x566adf(0xa7))/0x6)+parseInt(_0x566adf(0xb9))/0x7+-parseInt(_0x566adf(0x92))/0x8*(-parseInt(_0x566adf(0x99))/0x9)+parseInt(_0x566adf(0x7e))/0xa*(-parseInt(_0x566adf(0x9d))/0xb)+parseInt(_0x566adf(0xc0))/0xc;if(_0x4aedd4===_0x4ab708)break;else _0x2ca104['push'](_0x2ca104['shift']());}catch(_0xde31a8){_0x2ca104['push'](_0x2ca104['shift']());}}}(_0x4f03,0xb6c3f));import{ContextPlugin as _0x14ac10,Context as _0x50496c}from'ckeditor5/src/core.js';import _0xe9ce58 from'./annotationsuis.js';function _0x37bd(_0x4cdd3a,_0x1639a2){const _0x4f03c0=_0x4f03();return _0x37bd=function(_0x37bdd8,_0x5832fe){_0x37bdd8=_0x37bdd8-0x7e;let _0x236926=_0x4f03c0[_0x37bdd8];return _0x236926;},_0x37bd(_0x4cdd3a,_0x1639a2);}import _0x527bf3 from'./sidebar.js';import{CKEditorError as _0x3d1d05,Collection as _0x3dd2d8}from'ckeditor5/src/utils.js';import{debounce as _0x16d763}from'lodash-es';import _0x5132c0 from'./editorannotations.js';export default class n extends _0x14ac10{static get[_0xbc294c(0x7f)](){return[_0x527bf3,_0xe9ce58];}static get[_0xbc294c(0x9f)](){const _0x485e59=_0xbc294c;return _0x485e59(0x85);}constructor(_0x3f0c63){const _0xa4f254=_0xbc294c;super(_0x3f0c63),this[_0xa4f254(0x89)]=!0x1,this[_0xa4f254(0xa6)](_0xa4f254(0xbc),null),this[_0xa4f254(0xbf)]=null,this[_0xa4f254(0x9a)]=new _0x3dd2d8(),this[_0xa4f254(0x94)]=_0x16d763(()=>{const _0x4fbed2=_0xa4f254;this[_0x4fbed2(0xbf)][_0x4fbed2(0x81)]();},0xfa,{'leading':!0x1});}[_0xbc294c(0x8e)](){const _0x4a4bac=_0xbc294c,_0x48c1da=this[_0x4a4bac(0x8b)][_0x4a4bac(0xaf)][_0x4a4bac(0xb7)](_0xe9ce58),_0xfa2e24=this[_0x4a4bac(0x8b)][_0x4a4bac(0xaf)][_0x4a4bac(0xb7)](_0x527bf3);_0x48c1da[_0x4a4bac(0xa1)](_0x4a4bac(0x8d),this),_0xfa2e24[_0x4a4bac(0xae)]&&_0x48c1da[_0x4a4bac(0x97)](_0x4a4bac(0x8d));}[_0xbc294c(0x95)](_0x1a5d87){const _0x30e6e0=_0xbc294c;if(_0x1a5d87===this[_0x30e6e0(0xbc)])return;const _0x361c38=this[_0x30e6e0(0x8b)][_0x30e6e0(0xaf)][_0x30e6e0(0xb7)](_0x527bf3);_0x361c38[_0x30e6e0(0xa0)]=_0x1a5d87;const _0x5eeb91=this[_0x30e6e0(0xbc)];this[_0x30e6e0(0xbc)]=_0x1a5d87,_0x361c38[_0x30e6e0(0xaa)]({'blurredAnnotation':_0x5eeb91,'activatedAnnotation':this[_0x30e6e0(0xbc)]});}[_0xbc294c(0xc2)](_0x2a4143){const _0x46abb5=_0xbc294c;this[_0x46abb5(0xbf)]=_0x2a4143;const _0x4686f0=this[_0x46abb5(0x8b)][_0x46abb5(0xaf)][_0x46abb5(0xb7)](_0x527bf3);if(_0x4686f0[_0x46abb5(0xc1)]=_0x2a4143,this[_0x46abb5(0x89)])throw new _0x3d1d05(_0x46abb5(0xb8),this);this[_0x46abb5(0x89)]=!0x0,this[_0x46abb5(0xac)](_0x4686f0,_0x46abb5(0xb3),()=>{const _0x3eff94=_0x46abb5;this[_0x3eff94(0xab)](),this[_0x3eff94(0xac)](_0x4686f0,_0x3eff94(0x90),_0x1412d2=>{const _0x1dc015=_0x3eff94;_0x1412d2[_0x1dc015(0x86)](),this[_0x1dc015(0xc2)](_0x2a4143);});}),_0x4686f0[_0x46abb5(0xbe)]({'viewClass':_0x46abb5(0xb5)});const _0x343366=_0x28232f=>{const _0x3581e6=_0x46abb5;_0x28232f[_0x3581e6(0xa9)](),_0x4686f0[_0x3581e6(0xa8)](_0x28232f);};for(const _0x196da9 of _0x2a4143)_0x343366(_0x196da9);this[_0x46abb5(0xac)](_0x2a4143,_0x46abb5(0xba),(_0x2f9cb2,_0x11b331)=>{_0x343366(_0x11b331);}),this[_0x46abb5(0xac)](_0x2a4143,_0x46abb5(0xb2),(_0x260d2c,_0x1b7a6f,_0x5300d9)=>{const _0x56cbe4=_0x46abb5;_0x4686f0[_0x56cbe4(0x87)]({'removedAnnotation':_0x1b7a6f,'previousAnnotation':_0x2a4143[_0x56cbe4(0xb7)](_0x5300d9-0x1),'nextAnnotation':_0x2a4143[_0x56cbe4(0xb7)](_0x5300d9+0x1)}),_0x1b7a6f===this[_0x56cbe4(0xbc)]&&this[_0x56cbe4(0x95)](null);},{'priority':_0x46abb5(0x8f)}),this[_0x46abb5(0xac)](_0x2a4143,_0x46abb5(0x96),(_0x56d80a,_0x3cafbc)=>{const _0x515df8=_0x46abb5;this[_0x515df8(0x95)](_0x3cafbc);}),this[_0x46abb5(0xac)](_0x2a4143,_0x46abb5(0xbd),()=>{const _0x5c7210=_0x46abb5;this[_0x5c7210(0x95)](null);});const _0x2c5cc5=this[_0x46abb5(0x8b)]instanceof _0x50496c?this[_0x46abb5(0x8b)][_0x46abb5(0x82)]:new _0x3dd2d8([this[_0x46abb5(0x8b)]]);for(const _0x4ab228 of _0x2c5cc5)this[_0x46abb5(0xb0)](_0x4ab228);this[_0x46abb5(0xac)](_0x2c5cc5,_0x46abb5(0xba),(_0x6574a9,_0x114910)=>{const _0x3aebc7=_0x46abb5;this[_0x3aebc7(0xac)](_0x114910,_0x3aebc7(0xb6),()=>{const _0x3b0b49=_0x3aebc7;this[_0x3b0b49(0xb0)](_0x114910);});}),this[_0x46abb5(0xac)](_0x2c5cc5,_0x46abb5(0xb2),(_0x443214,_0x46c3ae)=>{const _0x2339ee=_0x46abb5;_0x46c3ae[_0x2339ee(0xaf)][_0x2339ee(0x8c)](_0x2339ee(0xa3))&&this[_0x2339ee(0x98)](_0x46c3ae[_0x2339ee(0xaf)][_0x2339ee(0xb7)](_0x2339ee(0xa3)));}),window[_0x46abb5(0xb4)](_0x46abb5(0x8a),this[_0x46abb5(0x94)]),this[_0x46abb5(0xbf)][_0x46abb5(0x81)]();}[_0xbc294c(0xab)](){const _0x2a5c09=_0xbc294c;if(!this[_0x2a5c09(0x89)])throw new _0x3d1d05(_0x2a5c09(0xa5),this);this[_0x2a5c09(0x95)](null);const _0x32a967=this[_0x2a5c09(0x8b)][_0x2a5c09(0xaf)][_0x2a5c09(0xb7)](_0x527bf3);_0x32a967[_0x2a5c09(0xad)](this[_0x2a5c09(0xbf)]),this[_0x2a5c09(0xa2)](_0x32a967),this[_0x2a5c09(0xa2)](this[_0x2a5c09(0xbf)]),this[_0x2a5c09(0x8b)]instanceof _0x50496c&&this[_0x2a5c09(0xa2)](this[_0x2a5c09(0x8b)][_0x2a5c09(0x82)]);for(const _0x1d067a of Array[_0x2a5c09(0x9c)](this[_0x2a5c09(0x9a)]))this[_0x2a5c09(0x98)](_0x1d067a);window[_0x2a5c09(0x80)](_0x2a5c09(0x8a),this[_0x2a5c09(0x94)]),this[_0x2a5c09(0x94)][_0x2a5c09(0x93)](),this[_0x2a5c09(0xbc)]=null,this[_0x2a5c09(0x89)]=!0x1,this[_0x2a5c09(0xbf)]=null;}[_0xbc294c(0x83)](){const _0x24fa20=_0xbc294c;this[_0x24fa20(0x89)]&&this[_0x24fa20(0xab)]();}[_0xbc294c(0xb0)](_0x11db49){const _0x3d5d5a=_0xbc294c,_0x3b5e79=_0x11db49[_0x3d5d5a(0xaf)][_0x3d5d5a(0xb7)](_0x5132c0);if(!_0x3b5e79)return;const _0x416bcd=()=>{const _0x3af34a=_0x3d5d5a,_0xfbb76b=_0x3b5e79[_0x3af34a(0x9e)]({'annotations':this[_0x3af34a(0xbf)],'activeAnnotation':this[_0x3af34a(0xbc)]});this[_0x3af34a(0x95)](_0xfbb76b[0x0]||null);};this[_0x3d5d5a(0xac)](_0x3b5e79,_0x3d5d5a(0xaa),_0x416bcd),this[_0x3d5d5a(0xac)](_0x3b5e79,_0x3d5d5a(0xbd),(_0x45c96c,{isAnnotationTracked:_0x136255})=>{const _0xa27295=_0x3d5d5a;this[_0xa27295(0xbc)]&&_0x136255(this[_0xa27295(0xbc)])&&this[_0xa27295(0x95)](null);}),this[_0x3d5d5a(0xac)](_0x3b5e79,_0x3d5d5a(0xb1),()=>{const _0x48b322=_0x3d5d5a;this[_0x48b322(0x94)]();}),this[_0x3d5d5a(0xac)](this[_0x3d5d5a(0xbf)],_0x3d5d5a(0xbd),_0x4c598c=>{const _0x250fe9=_0x3d5d5a;_0x3b5e79[_0x250fe9(0xbb)]()&&(_0x416bcd(),_0x4c598c[_0x250fe9(0xa4)]());},{'priority':_0x3d5d5a(0x8f)}),this[_0x3d5d5a(0x9a)][_0x3d5d5a(0xba)](_0x3b5e79);}[_0xbc294c(0x98)](_0x3c8e8){const _0x4fd1b0=_0xbc294c;this[_0x4fd1b0(0xa2)](_0x3c8e8),this[_0x4fd1b0(0x9a)][_0x4fd1b0(0xb2)](_0x3c8e8);}}function _0x4f03(){const _0x56bdd2=['EditorAnnotations','stop','widesidebar-detach-not-attached','set','1532490NpcsVB','addAnnotation','updateTargetRect','refresh','detach','listenTo','_detachFromContainer','container','plugins','_integrateWithEditorAnnotations','uiUpdate','remove','set:container','addEventListener','ck-sidebar--wide','ready','get','widesidebar-attach-already-attached','3821902BAjeOl','add','hasDomSelection','activeAnnotation','blur','_attachToContainer','annotations','17277048mbQQgG','_annotations','attach','24037bCZnWP','10MWbqld','requires','removeEventListener','refreshPositioning','editors','destroy','25kpoiZt','WideSidebar','off','rearrange','18yJkscJ','isAttached','resize','context','has','wideSidebar','init','high','change:container','38dmECoN','2082120ZdmpcA','cancel','_refreshPositioningDebounced','setActiveAnnotation','focus','switchTo','_destroyEditorAnnotationsIntegration','36FafoVm','_editorAnnotations','34700gvcMeT','from','15463481yvhuOo','getOrderedSelectedAnnotations','pluginName','_activeAnnotation','register','stopListening'];_0x4f03=function(){return _0x56bdd2;};return _0x4f03();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5eb888=_0x3743;function _0x3743(_0x22a6d2,_0x32f5d4){const _0x48a1b9=_0x48a1();return _0x3743=function(_0x3743e5,_0x2dbaae){_0x3743e5=_0x3743e5-0x75;let _0x468fb0=_0x48a1b9[_0x3743e5];return _0x468fb0;},_0x3743(_0x22a6d2,_0x32f5d4);}(function(_0x213d93,_0x315746){const _0x58ddb0=_0x3743,_0x484927=_0x213d93();while(!![]){try{const _0x1ef90d=-parseInt(_0x58ddb0(0x9d))/0x1*(-parseInt(_0x58ddb0(0x7b))/0x2)+parseInt(_0x58ddb0(0x80))/0x3*(-parseInt(_0x58ddb0(0x85))/0x4)+parseInt(_0x58ddb0(0x84))/0x5*(parseInt(_0x58ddb0(0x7f))/0x6)+-parseInt(_0x58ddb0(0x96))/0x7*(parseInt(_0x58ddb0(0x8e))/0x8)+parseInt(_0x58ddb0(0x9b))/0x9*(-parseInt(_0x58ddb0(0x79))/0xa)+parseInt(_0x58ddb0(0x75))/0xb+-parseInt(_0x58ddb0(0x78))/0xc*(-parseInt(_0x58ddb0(0x77))/0xd);if(_0x1ef90d===_0x315746)break;else _0x484927['push'](_0x484927['shift']());}catch(_0x45bcbb){_0x484927['push'](_0x484927['shift']());}}}(_0x48a1,0x896ef));import{Command as _0x5b1de4}from'ckeditor5/src/core.js';function _0x48a1(){const _0x502a5e=['model','refresh','substr','element','7eeNbTB','getRanges','editor','execute','isObject','674883xobQmP','document','449YFUEuH','4039618ANmiYR','change','24401wdBrpl','7368hMtxKG','90agKhQG','getLastMatchingPosition','3102SjGSzw','selection','addMarker','isEnabled','72mSfbLx','3BoLKyF','createRange','_hasContent','push','338695QAdEWS','2979736GBmCuG','comment:','tableCell','end','$textProxy','_itemIsContent','backward','getItems','_trimToContent','8369912OYWXCg','item','schema','start'];_0x48a1=function(){return _0x502a5e;};return _0x48a1();}import{uid as _0x4dcd64}from'ckeditor5/src/utils.js';export default class G extends _0x5b1de4{[_0x5eb888(0x93)](){const _0xf3e576=_0x5eb888,_0x44c744=this[_0xf3e576(0x98)][_0xf3e576(0x92)][_0xf3e576(0x9c)][_0xf3e576(0x7c)];for(const _0x1aaf6a of _0x44c744[_0xf3e576(0x97)]())if(this[_0xf3e576(0x82)](_0x1aaf6a))return void(this[_0xf3e576(0x7e)]=!0x0);this[_0xf3e576(0x7e)]=!0x1;}[_0x5eb888(0x99)]({threadId:_0x22f027=_0x4dcd64()}={}){const _0x4a911e=_0x5eb888,_0x8d3969=this[_0x4a911e(0x98)][_0x4a911e(0x92)],_0x3abc48=[];for(const _0xa0e9a1 of _0x8d3969[_0x4a911e(0x9c)][_0x4a911e(0x7c)][_0x4a911e(0x97)]())this[_0x4a911e(0x82)](_0xa0e9a1)&&_0x3abc48[_0x4a911e(0x83)](this[_0x4a911e(0x8d)](_0xa0e9a1));_0x8d3969[_0x4a911e(0x76)](_0x4a4ce0=>{const _0x539f28=_0x4a911e;for(const _0x5173c1 of _0x3abc48){const _0x102007=_0x4dcd64()[_0x539f28(0x94)](0x1,0x5),_0x536900=_0x539f28(0x86)+_0x22f027+':'+_0x102007;_0x4a4ce0[_0x539f28(0x7d)](_0x536900,{'range':_0x5173c1,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x5eb888(0x82)](_0x402e05){const _0x26acfe=_0x5eb888;for(const _0x2c75d2 of _0x402e05[_0x26acfe(0x8c)]())if(this[_0x26acfe(0x8a)](_0x2c75d2))return!0x0;return!0x1;}[_0x5eb888(0x8a)](_0x5b3ee5){const _0x1a23d4=_0x5eb888;return _0x5b3ee5['is'](_0x1a23d4(0x89))||this[_0x1a23d4(0x98)][_0x1a23d4(0x92)][_0x1a23d4(0x90)][_0x1a23d4(0x9a)](_0x5b3ee5)&&!_0x5b3ee5['is'](_0x1a23d4(0x95),_0x1a23d4(0x87));}[_0x5eb888(0x8d)](_0x288451){const _0x540462=_0x5eb888,_0x203f7e=_0x4cab8b=>!this[_0x540462(0x8a)](_0x4cab8b[_0x540462(0x8f)]),_0x46b2e8=_0x288451[_0x540462(0x91)][_0x540462(0x7a)](_0x203f7e),_0x1998f0=_0x288451[_0x540462(0x88)][_0x540462(0x7a)](_0x203f7e,{'direction':_0x540462(0x8b)});return this[_0x540462(0x98)][_0x540462(0x92)][_0x540462(0x81)](_0x46b2e8,_0x1998f0);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x16f646=_0x262b;(function(_0x4f3542,_0x2223b0){const _0x1e97fc=_0x262b,_0x3a3149=_0x4f3542();while(!![]){try{const _0x25fc27=parseInt(_0x1e97fc(0x124))/0x1+parseInt(_0x1e97fc(0x12a))/0x2*(-parseInt(_0x1e97fc(0x121))/0x3)+parseInt(_0x1e97fc(0x13f))/0x4+-parseInt(_0x1e97fc(0x130))/0x5*(parseInt(_0x1e97fc(0x11c))/0x6)+-parseInt(_0x1e97fc(0x12b))/0x7*(-parseInt(_0x1e97fc(0x137))/0x8)+-parseInt(_0x1e97fc(0x139))/0x9*(parseInt(_0x1e97fc(0x131))/0xa)+-parseInt(_0x1e97fc(0x120))/0xb*(parseInt(_0x1e97fc(0x12f))/0xc);if(_0x25fc27===_0x2223b0)break;else _0x3a3149['push'](_0x3a3149['shift']());}catch(_0x3ac568){_0x3a3149['push'](_0x3a3149['shift']());}}}(_0xebd8,0x9ab91));function _0xebd8(){const _0x34e6e0=['findIndex','_calculatePosition','has','highest','8CagHUr','7316351OONgwg','length','remove','collection','12vkgoaO','100DwSQqN','367670vwqJSd','archivedAt','addCommentThread','plugins','listenTo','isActive','8tBnJMq','add','126BpWPgS','pluginName','CommentsArchive','context','activate','focus','839272YOYjRi','requires','getCommentThread','31920oDuuYM','get','stopListening','init','4380519dGBiEN','137715jgmQFh','removeCommentThread','archivedThreads','581721PdeqNV','change:archivedAt'];_0xebd8=function(){return _0x34e6e0;};return _0xebd8();}import{ContextPlugin as _0x11773e}from'ckeditor5/src/core.js';import{Collection as _0x2d4403}from'ckeditor5/src/utils.js';import _0x35baeb from'./commentsrepository.js';import _0x47b2f9 from'../annotations/annotations.js';function _0x262b(_0x525f0c,_0x348868){const _0xebd889=_0xebd8();return _0x262b=function(_0x262b67,_0x3d6574){_0x262b67=_0x262b67-0x11c;let _0x4dbf99=_0xebd889[_0x262b67];return _0x4dbf99;},_0x262b(_0x525f0c,_0x348868);}export default class p extends _0x11773e{static get[_0x16f646(0x13a)](){const _0x55cc51=_0x16f646;return _0x55cc51(0x13b);}static get[_0x16f646(0x140)](){return[_0x35baeb,_0x47b2f9];}constructor(_0x42bd65){const _0x1b5077=_0x16f646;super(_0x42bd65),this[_0x1b5077(0x123)]=new _0x2d4403();}[_0x16f646(0x11f)](){const _0xaa491a=_0x16f646,_0x52a0dc=this[_0xaa491a(0x13c)],_0x528a18=_0x52a0dc[_0xaa491a(0x134)][_0xaa491a(0x11d)](_0x35baeb),_0x34c4f2=_0x52a0dc[_0xaa491a(0x134)][_0xaa491a(0x11d)](_0x47b2f9);this[_0xaa491a(0x135)](_0x528a18,_0xaa491a(0x133),(_0x35ae71,{threadId:_0x16ad71})=>{const _0x5488f1=_0xaa491a,_0x4f5b6f=_0x528a18[_0x5488f1(0x141)](_0x16ad71);_0x4f5b6f[_0x5488f1(0x132)]&&this[_0x5488f1(0x123)][_0x5488f1(0x138)](_0x4f5b6f,this[_0x5488f1(0x127)](_0x4f5b6f[_0x5488f1(0x132)])),this[_0x5488f1(0x135)](_0x4f5b6f,_0x5488f1(0x125),(_0x221ebf,_0x42a8ea,_0xf8f757)=>{const _0x1b2a95=_0x5488f1;_0xf8f757?this[_0x1b2a95(0x123)][_0x1b2a95(0x128)](_0x4f5b6f)||this[_0x1b2a95(0x123)][_0x1b2a95(0x138)](_0x4f5b6f,this[_0x1b2a95(0x127)](_0x4f5b6f[_0x1b2a95(0x132)])):this[_0x1b2a95(0x123)][_0x1b2a95(0x128)](_0x4f5b6f)&&this[_0x1b2a95(0x123)][_0x1b2a95(0x12d)](_0x4f5b6f);});}),this[_0xaa491a(0x135)](_0x528a18,_0xaa491a(0x122),(_0x1b1abf,{threadId:_0xfa209c})=>{const _0x455611=_0xaa491a,_0x79559b=_0x528a18[_0x455611(0x141)](_0xfa209c);this[_0x455611(0x11e)](_0x79559b),this[_0x455611(0x123)][_0x455611(0x128)](_0x79559b)&&this[_0x455611(0x123)][_0x455611(0x12d)](_0x79559b);},{'priority':_0xaa491a(0x129)}),this[_0xaa491a(0x135)](_0x34c4f2[_0xaa491a(0x12e)],_0xaa491a(0x13e),(_0x2064c8,_0xd08fef)=>{const _0x4e5d08=_0xaa491a;_0xd08fef[_0x4e5d08(0x136)]=!0x0,_0x34c4f2[_0x4e5d08(0x13d)](_0xd08fef);});}[_0x16f646(0x127)](_0x2c37e2){const _0x479966=_0x16f646,_0xe38544=[...this[_0x479966(0x123)]][_0x479966(0x126)](_0x29d7b5=>_0x29d7b5[_0x479966(0x132)]<_0x2c37e2);return _0xe38544>-0x1?_0xe38544:this[_0x479966(0x123)][_0x479966(0x12c)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x108e(){const _0x2ff80f=['commentsArchive','stopListening','_visibleAnnotations','15115590ZHqdFp','findIndex','locale','322743TwryTY','isVisible','init','Annotations','collection','pluginName','hide','CommentsArchiveUI','indexOf','2746265nkRRAV','tooltip','isEnabled','284193Ebqbsp','1064evLBps','archivedThreads','Dialog','2618550PAeiaX','requires','add','config','get','annotationViews','menuBar:commentsArchive','_threadToController','6xGwaQf','COMMENTS_ARCHIVE','listenTo','getByInnerView','show','splice','find','3447888WfPMir','_calculatePosition','plugins','length','_createCommentsArchiveButton','innerView','remove','bind','componentFactory','collaboration.channelId','_toggleDialog','set','focusableElements','EDITOR_TOP_SIDE','editor','commentsArchiveView','view','push','CommentsRepository','filter','_pendingThreads','execute','19008TMYwoP','archivedAt','channelId'];_0x108e=function(){return _0x2ff80f;};return _0x108e();}const _0x5041e1=_0x1e0d;(function(_0x38b7a8,_0x335d46){const _0x374e4f=_0x1e0d,_0x1ae011=_0x38b7a8();while(!![]){try{const _0x3dfc3e=parseInt(_0x374e4f(0xb4))/0x1+-parseInt(_0x374e4f(0xc0))/0x2*(-parseInt(_0x374e4f(0xe6))/0x3)+-parseInt(_0x374e4f(0xc7))/0x4+-parseInt(_0x374e4f(0xb1))/0x5+-parseInt(_0x374e4f(0xb8))/0x6+-parseInt(_0x374e4f(0xb5))/0x7*(-parseInt(_0x374e4f(0xdd))/0x8)+parseInt(_0x374e4f(0xe3))/0x9;if(_0x3dfc3e===_0x335d46)break;else _0x1ae011['push'](_0x1ae011['shift']());}catch(_0x26b32a){_0x1ae011['push'](_0x1ae011['shift']());}}}(_0x108e,0xc34cc));import'../../theme/commentsarchive.css';import{Plugin as _0xd376de}from'ckeditor5/src/core.js';import{ViewCollection as _0x56a65a,MenuBarMenuListItemButtonView as _0x1c83b2,ButtonView as _0x2ba231,Dialog as _0x1ad7f7,DialogViewPosition as _0x50479c}from'ckeditor5/src/ui.js';import _0x23e49d from'../../theme/icons/comments-archive.svg';function _0x1e0d(_0x326b2d,_0x18f29a){const _0x108e7f=_0x108e();return _0x1e0d=function(_0x1e0da7,_0x3b927d){_0x1e0da7=_0x1e0da7-0xa9;let _0x32aacd=_0x108e7f[_0x1e0da7];return _0x32aacd;},_0x1e0d(_0x326b2d,_0x18f29a);}import{getTranslation as _0x39f9f0}from'../utils/common-translations.js';import _0x4b7ccc from'./ui/view/commentsarchiveview.js';import _0x5bb3d2 from'./commentsarchive.js';export default class a extends _0xd376de{static get[_0x5041e1(0xad)](){const _0x33bd04=_0x5041e1;return _0x33bd04(0xaf);}static get[_0x5041e1(0xb9)](){return[_0x5bb3d2,_0x1ad7f7];}constructor(_0x1bd558){const _0x468565=_0x5041e1;super(_0x1bd558),this[_0x468565(0xbd)]=new _0x56a65a(),this[_0x468565(0xdb)]=[];}[_0x5041e1(0xaa)](){const _0x1e3ce9=_0x5041e1;this[_0x1e3ce9(0xd5)]['ui'][_0x1e3ce9(0xcf)][_0x1e3ce9(0xba)](_0x1e3ce9(0xe0),()=>this[_0x1e3ce9(0xcb)](_0x2ba231,!0x0)),this[_0x1e3ce9(0xd5)]['ui'][_0x1e3ce9(0xcf)][_0x1e3ce9(0xba)](_0x1e3ce9(0xbe),()=>this[_0x1e3ce9(0xcb)](_0x1c83b2));const _0x13a14b=this[_0x1e3ce9(0xd5)][_0x1e3ce9(0xc9)][_0x1e3ce9(0xbc)](_0x5bb3d2),_0x29f6df=this[_0x1e3ce9(0xd5)][_0x1e3ce9(0xc9)][_0x1e3ce9(0xbc)](_0x1e3ce9(0xab)),_0x4d09f1=this[_0x1e3ce9(0xd5)][_0x1e3ce9(0xc9)][_0x1e3ce9(0xbc)](_0x1e3ce9(0xd9));this[_0x1e3ce9(0xc2)](_0x13a14b[_0x1e3ce9(0xb6)],_0x1e3ce9(0xba),(_0x60b9bb,_0x2d0d82)=>{const _0x5c837c=_0x1e3ce9,_0x37cf26=this[_0x5c837c(0xd5)][_0x5c837c(0xbb)][_0x5c837c(0xbc)](_0x5c837c(0xd0));if(!_0x37cf26||_0x2d0d82[_0x5c837c(0xdf)]===_0x37cf26){const _0x4487ee=_0x4d09f1[_0x5c837c(0xbf)][_0x5c837c(0xbc)](_0x2d0d82);if(!_0x4487ee)return void this[_0x5c837c(0xdb)][_0x5c837c(0xd8)](_0x2d0d82);const _0x363f0a=this[_0x5c837c(0xc8)](_0x2d0d82[_0x5c837c(0xde)]),_0x44e18e=_0x29f6df[_0x5c837c(0xc3)](_0x4487ee[_0x5c837c(0xd7)]);_0x44e18e[_0x5c837c(0xa9)]&&_0x29f6df[_0x5c837c(0xe2)][_0x5c837c(0xcd)](_0x44e18e),this[_0x5c837c(0xbd)][_0x5c837c(0xba)](_0x44e18e[_0x5c837c(0xd7)],_0x363f0a);}}),this[_0x1e3ce9(0xc2)](_0x29f6df[_0x1e3ce9(0xac)],_0x1e3ce9(0xba),(_0x4bc380,_0x44438c)=>{const _0x542b78=_0x1e3ce9,_0x43d6ef=this[_0x542b78(0xdb)][_0x542b78(0xc6)](_0x5ce81c=>{const _0x4652ad=_0x542b78,_0x4159ba=_0x4d09f1[_0x4652ad(0xbf)][_0x4652ad(0xbc)](_0x5ce81c);return _0x4159ba&&_0x44438c[_0x4652ad(0xcc)]===_0x4159ba[_0x4652ad(0xd7)];});if(_0x43d6ef){const _0x597b6f=this[_0x542b78(0xc8)](_0x43d6ef[_0x542b78(0xde)]);this[_0x542b78(0xbd)][_0x542b78(0xba)](_0x44438c[_0x542b78(0xd7)],_0x597b6f),this[_0x542b78(0xdb)][_0x542b78(0xc5)](this[_0x542b78(0xdb)][_0x542b78(0xb0)](_0x43d6ef),0x1);}}),this[_0x1e3ce9(0xc2)](_0x13a14b[_0x1e3ce9(0xb6)],_0x1e3ce9(0xcd),(_0x5ef455,_0x5ef939)=>{const _0x57e7f7=_0x1e3ce9,_0x20ee20=this[_0x57e7f7(0xd5)][_0x57e7f7(0xbb)][_0x57e7f7(0xbc)](_0x57e7f7(0xd0));if(!_0x20ee20||_0x5ef939[_0x57e7f7(0xdf)]===_0x20ee20){const _0x29f73e=_0x4d09f1[_0x57e7f7(0xbf)][_0x57e7f7(0xbc)](_0x5ef939),_0x4a0a4c=_0x29f6df[_0x57e7f7(0xc3)](_0x29f73e[_0x57e7f7(0xd7)]);this[_0x57e7f7(0xbd)][_0x57e7f7(0xcd)](_0x4a0a4c[_0x57e7f7(0xd7)]),this[_0x57e7f7(0xe1)](_0x4a0a4c[_0x57e7f7(0xd3)]);}});}[_0x5041e1(0xc8)](_0x2a1c8c){const _0x32b037=_0x5041e1,_0x44d1cb=this[_0x32b037(0xd5)][_0x32b037(0xbb)][_0x32b037(0xbc)](_0x32b037(0xd0)),_0x42c450=[...this[_0x32b037(0xd5)][_0x32b037(0xc9)][_0x32b037(0xbc)](_0x5bb3d2)[_0x32b037(0xb6)]][_0x32b037(0xda)](_0x27eeb1=>_0x27eeb1[_0x32b037(0xdf)]===_0x44d1cb)[_0x32b037(0xe4)](_0x45d93b=>_0x45d93b[_0x32b037(0xde)]<_0x2a1c8c);return _0x42c450<0x0||_0x42c450>this[_0x32b037(0xbd)][_0x32b037(0xca)]?this[_0x32b037(0xbd)][_0x32b037(0xca)]:_0x42c450-0x1;}[_0x5041e1(0xd1)](){const _0x46f43d=_0x5041e1,_0x2f96a3=this[_0x46f43d(0xd5)],_0x26dda8=_0x2f96a3[_0x46f43d(0xc9)][_0x46f43d(0xbc)](_0x46f43d(0xb7));this[_0x46f43d(0xd6)]||(this[_0x46f43d(0xd6)]=new _0x4b7ccc(_0x2f96a3[_0x46f43d(0xe5)],this[_0x46f43d(0xbd)])),_0x46f43d(0xe0)===_0x26dda8['id']?_0x26dda8[_0x46f43d(0xae)]():_0x26dda8[_0x46f43d(0xc4)]({'id':_0x46f43d(0xe0),'title':_0x39f9f0(_0x2f96a3[_0x46f43d(0xe5)],_0x46f43d(0xc1)),'icon':_0x23e49d,'hasCloseButton':!0x0,'content':this[_0x46f43d(0xd6)],'position':_0x50479c[_0x46f43d(0xd4)]});}[_0x5041e1(0xcb)](_0x1e67a3,_0x4584e2=!0x1){const _0x323f55=_0x5041e1,_0x2805f6=this[_0x323f55(0xd5)][_0x323f55(0xe5)],_0x3da678=new _0x1e67a3(_0x2805f6);return _0x3da678[_0x323f55(0xce)](_0x323f55(0xb3))['to'](this,_0x323f55(0xb3)),_0x3da678[_0x323f55(0xd2)]({'label':_0x39f9f0(_0x2805f6,_0x323f55(0xc1)),'icon':_0x23e49d}),_0x4584e2&&(_0x3da678[_0x323f55(0xb2)]=!0x0),this[_0x323f55(0xc2)](_0x3da678,_0x323f55(0xdc),()=>this[_0x323f55(0xd1)]()),_0x3da678;}}
|