@ckeditor/ckeditor5-comments 42.0.0-alpha.6 → 42.0.0-alpha.8
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 _0x27b5b0=_0x51ce;(function(_0x389d81,_0x429720){const _0xeb4cec=_0x51ce,_0x3df3d9=_0x389d81();while(!![]){try{const _0x43325e=parseInt(_0xeb4cec(0xb3))/0x1*(parseInt(_0xeb4cec(0xae))/0x2)+-parseInt(_0xeb4cec(0xbf))/0x3+parseInt(_0xeb4cec(0xaf))/0x4+parseInt(_0xeb4cec(0x90))/0x5+-parseInt(_0xeb4cec(0xa3))/0x6*(parseInt(_0xeb4cec(0x95))/0x7)+parseInt(_0xeb4cec(0xc2))/0x8*(parseInt(_0xeb4cec(0x96))/0x9)+-parseInt(_0xeb4cec(0xa2))/0xa*(-parseInt(_0xeb4cec(0x93))/0xb);if(_0x43325e===_0x429720)break;else _0x3df3d9['push'](_0x3df3d9['shift']());}catch(_0x3a9f8f){_0x3df3d9['push'](_0x3df3d9['shift']());}}}(_0x5ac2,0x21f34));function _0x51ce(_0x5eccfd,_0xc389a9){const _0x5ac2c4=_0x5ac2();return _0x51ce=function(_0x51ce4c,_0xa928c9){_0x51ce4c=_0x51ce4c-0x83;let _0x4a8265=_0x5ac2c4[_0x51ce4c];return _0x4a8265;},_0x51ce(_0x5eccfd,_0xc389a9);}import{Plugin as _0x452704}from'ckeditor5/src/core.js';import _0x256bd5 from'./annotationsuis.js';import _0xeb285d from'./editorannotations.js';import{ContextualBalloon as _0x5246f3}from'ckeditor5/src/ui.js';import{MouseObserver as _0x56610e}from'ckeditor5/src/engine.js';import{CKEditorError as _0x4c4150,Rect as _0x46461d}from'ckeditor5/src/utils.js';function _0x5ac2(){const _0x56400f=['InlineAnnotations','142630LxyZWP','6SaHmNh','addObserver','get','hasView','stopListening','collapse','width','inlineannotations-detach-not-attached','updatePosition','refresh','visibleView','2frsNrK','189556RbjaIE','attach','includes','pluginName','200999SZolnr','blur','inline','delete','editing','document','inlineannotations-attach-already-attached','_getBalloonTargetForAnnotation','inlineannotations-not-allowed-with-context','add','update','length','23466afyJjv','isActive','selection','176NewvXQ','domConverter','showStack','switchTo','_forceRefresh','detach','isFocused','destroy','listenTo','getBoundingClientRect','context','_balloon','keystrokes','change:height','fromRect','getClientRects','top','focusTracker','left','getOrderedSelectedAnnotations','annotations','mousedown','targetRect','isAttached','viewRangeToDom','afterInit','set','push','_addAnnotationToBalloon','hasActive','editableElement','from','requires','map','target','bottom','right','Esc','has','change:isFocused','_removeAnnotationFromBalloon','view','plugins','_addedAnnotations','_manuallyClosed','every','setActiveAnnotation','_closeAnnotation','386110BFIXiW','clear','change:visibleView','11CwReeF','focus','1732703ydLVjG','22311RchFEY','getFirstRange','remove','getByView','editor','_selectedAnnotations','find','activeAnnotation','init','_setSelectedAnnotations','register'];_0x5ac2=function(){return _0x56400f;};return _0x5ac2();}import'./../../theme/annotation-inline.css';export default class c extends _0x452704{static get[_0x27b5b0(0xe2)](){return[_0xeb285d,_0x5246f3,_0x256bd5];}static get[_0x27b5b0(0xb2)](){const _0xa11e37=_0x27b5b0;return _0xa11e37(0xa1);}constructor(_0x3faa1e){const _0x1ce294=_0x27b5b0;super(_0x3faa1e),_0x3faa1e[_0x1ce294(0xb7)][_0x1ce294(0x89)][_0x1ce294(0xa4)](_0x56610e),this[_0x1ce294(0xd9)]=!0x1,this[_0x1ce294(0xdc)](_0x1ce294(0x9d),null),this[_0x1ce294(0xd6)]=null,this[_0x1ce294(0x8c)]=new Set(),this[_0x1ce294(0xcd)]=_0x3faa1e[_0x1ce294(0x8a)][_0x1ce294(0xa5)](_0x5246f3),this[_0x1ce294(0x8b)]=new Set(),this[_0x1ce294(0x9b)]=[],this[_0x1ce294(0xc6)]=!0x1;}[_0x27b5b0(0x9e)](){const _0x1fd1d2=_0x27b5b0,_0x564874=this[_0x1fd1d2(0x9a)][_0x1fd1d2(0x8a)][_0x1fd1d2(0xa5)](_0x256bd5);_0x564874[_0x1fd1d2(0xcc)]===this[_0x1fd1d2(0x9a)]&&(_0x564874[_0x1fd1d2(0xa0)](_0x1fd1d2(0xb5),this),this[_0x1fd1d2(0x9a)][_0x1fd1d2(0xce)][_0x1fd1d2(0xdc)](_0x1fd1d2(0x85),(_0x58773f,_0x130dd0)=>{const _0x5ff345=_0x1fd1d2,_0x3c9b3b=this[_0x5ff345(0xcd)];if(this[_0x5ff345(0xd9)]&&_0x3c9b3b[_0x5ff345(0xad)]){const _0x280580=this[_0x5ff345(0xd6)][_0x5ff345(0x99)](_0x3c9b3b[_0x5ff345(0xad)]);_0x280580&&this[_0x5ff345(0x8f)](_0x280580),_0x130dd0();}}));}[_0x27b5b0(0xdb)](){const _0x5be654=_0x27b5b0,_0x5dca40=this[_0x5be654(0x9a)][_0x5be654(0x8a)][_0x5be654(0xa5)](_0x256bd5);_0x5dca40[_0x5be654(0xcc)]===this[_0x5be654(0x9a)]&&(_0x5dca40[_0x5be654(0xdf)]()||_0x5dca40[_0x5be654(0xc5)](_0x5be654(0xb5)));}[_0x27b5b0(0x8e)](_0x5be153){const _0x261c68=_0x27b5b0;_0x5be153!==this[_0x261c68(0x9d)]&&(this[_0x261c68(0x9d)]&&(this[_0x261c68(0x9d)][_0x261c68(0xc0)]=!0x1),_0x5be153&&this[_0x261c68(0x9a)]['ui'][_0x261c68(0xd3)][_0x261c68(0xc8)]&&(this[_0x261c68(0xd6)][_0x261c68(0x86)](_0x5be153)&&this[_0x261c68(0xde)](_0x5be153,!0x0),_0x5be153[_0x261c68(0xc0)]=!0x0),_0x5be153||this[_0x261c68(0x9f)]([]),this[_0x261c68(0x9d)]=_0x5be153);}[_0x27b5b0(0xb0)](_0x158f0b){const _0x88b4b8=_0x27b5b0;this[_0x88b4b8(0xd6)]=_0x158f0b;const _0x10f423=this[_0x88b4b8(0x9a)][_0x88b4b8(0x8a)][_0x88b4b8(0xa5)](_0x256bd5),_0x5d33dc=this[_0x88b4b8(0xcd)];if(this[_0x88b4b8(0xd9)])throw new _0x4c4150(_0x88b4b8(0xb9),this);if(_0x10f423[_0x88b4b8(0xcc)]!==this[_0x88b4b8(0x9a)])throw new _0x4c4150(_0x88b4b8(0xbb),this);const _0x139cb5=this[_0x88b4b8(0x9a)][_0x88b4b8(0x8a)][_0x88b4b8(0xa5)](_0xeb285d);this[_0x88b4b8(0xca)](_0x139cb5,_0x88b4b8(0xac),()=>{const _0x11a5d3=_0x88b4b8,_0x492377=_0x139cb5[_0x11a5d3(0xd5)]({'annotations':this[_0x11a5d3(0xd6)],'activeAnnotation':this[_0x11a5d3(0x9d)]});var _0x285a25,_0x4c570b;!this[_0x11a5d3(0xc6)]&&(_0x285a25=_0x492377,_0x4c570b=this[_0x11a5d3(0x9b)],_0x285a25[_0x11a5d3(0xbe)]===_0x4c570b[_0x11a5d3(0xbe)]&&_0x285a25[_0x11a5d3(0x8d)](_0x379e92=>_0x4c570b[_0x11a5d3(0xb1)](_0x379e92)))||(this[_0x11a5d3(0xc6)]=!0x1,this[_0x11a5d3(0x9f)](_0x492377),this[_0x11a5d3(0x8e)](_0x492377[0x0]||null));}),this[_0x88b4b8(0xca)](_0x139cb5,_0x88b4b8(0xb4),(_0x5480c1,{isAnnotationTracked:_0x23f827})=>{const _0x3e0523=_0x88b4b8;this[_0x3e0523(0x9d)]&&_0x23f827(this[_0x3e0523(0x9d)])&&(this[_0x3e0523(0x9f)]([]),this[_0x3e0523(0x8e)](null));}),this[_0x88b4b8(0xca)](this[_0x88b4b8(0x9a)]['ui'][_0x88b4b8(0xd3)],_0x88b4b8(0x87),(_0x1a9b1f,_0x2367d5,_0x190224)=>{const _0x196c63=_0x88b4b8;_0x190224||this[_0x196c63(0x8e)](null);}),this[_0x88b4b8(0xca)](_0x158f0b,_0x88b4b8(0x98),(_0x2f7bed,_0x5e6a7a)=>{const _0x1f85e8=_0x88b4b8;this[_0x1f85e8(0x88)](_0x5e6a7a),_0x5e6a7a===this[_0x1f85e8(0x9d)]&&this[_0x1f85e8(0x8e)](null);}),this[_0x88b4b8(0xca)](_0x5d33dc,_0x88b4b8(0x92),(_0x6d768f,_0x25dd0f,_0xd11c1e,_0x4038ad)=>{const _0x1b8e52=_0x88b4b8;_0x4038ad&&this[_0x1b8e52(0xa7)](_0x4038ad);const _0xc9ca6b=_0x158f0b[_0x1b8e52(0x99)](_0xd11c1e);_0xd11c1e&&_0xc9ca6b&&(this[_0x1b8e52(0xca)](_0xd11c1e,_0x1b8e52(0xcf),()=>{const _0x583a1f=_0x1b8e52;_0x5d33dc[_0x583a1f(0xab)]();}),this[_0x1b8e52(0xca)](_0xd11c1e,_0x1b8e52(0x85),()=>{const _0xae0984=_0x1b8e52;this[_0xae0984(0x8f)](_0xc9ca6b),this[_0xae0984(0x9a)][_0xae0984(0xb7)][_0xae0984(0x89)][_0xae0984(0x94)]();}),this[_0x1b8e52(0x9d)]!==_0xc9ca6b&&this[_0x1b8e52(0x8e)](_0xc9ca6b));}),this[_0x88b4b8(0xca)](this[_0x88b4b8(0x9a)]['ui'],_0x88b4b8(0xbd),()=>{const _0x149b8a=_0x88b4b8;_0x5d33dc[_0x149b8a(0xad)]&&(_0x158f0b[_0x149b8a(0x99)](_0x5d33dc[_0x149b8a(0xad)])&&_0x5d33dc[_0x149b8a(0xab)]());}),this[_0x88b4b8(0xca)](this[_0x88b4b8(0x9a)][_0x88b4b8(0xb7)][_0x88b4b8(0x89)][_0x88b4b8(0xb8)],_0x88b4b8(0xd7),()=>{const _0x23999a=_0x88b4b8;this[_0x23999a(0xc6)]=!0x0,this[_0x23999a(0x8c)][_0x23999a(0x91)]();}),this[_0x88b4b8(0x9a)][_0x88b4b8(0xb7)][_0x88b4b8(0x89)][_0x88b4b8(0xb8)][_0x88b4b8(0xc1)][_0x88b4b8(0xe0)]&&this[_0x88b4b8(0x9a)][_0x88b4b8(0xb7)][_0x88b4b8(0x89)][_0x88b4b8(0x94)](),this[_0x88b4b8(0xd9)]=!0x0;}[_0x27b5b0(0xc7)](){const _0xd912e0=_0x27b5b0;if(!this[_0xd912e0(0xd9)])throw new _0x4c4150(_0xd912e0(0xaa),this);this[_0xd912e0(0x8e)](null);for(const _0x26d4b4 of this[_0xd912e0(0x8b)])this[_0xd912e0(0x88)](_0x26d4b4);this[_0xd912e0(0xa7)](),this[_0xd912e0(0xd9)]=!0x1,this[_0xd912e0(0xd6)]=null;}[_0x27b5b0(0xc9)](){const _0x220ceb=_0x27b5b0;this[_0x220ceb(0xd9)]&&this[_0x220ceb(0xc7)]();}[_0x27b5b0(0x9f)](_0x53680c){const _0x2f6d6d=_0x27b5b0;for(const _0x3bb298 of this[_0x2f6d6d(0x9b)])_0x53680c[_0x2f6d6d(0xb1)](_0x3bb298)||this[_0x2f6d6d(0x8c)][_0x2f6d6d(0xb6)](_0x3bb298);for(const _0x39ac9d of this[_0x2f6d6d(0xd6)])_0x53680c[_0x2f6d6d(0xb1)](_0x39ac9d)||this[_0x2f6d6d(0x88)](_0x39ac9d);if(this[_0x2f6d6d(0x9a)]['ui'][_0x2f6d6d(0xd3)][_0x2f6d6d(0xc8)]){for(const _0x590228 of _0x53680c)this[_0x2f6d6d(0xde)](_0x590228);}this[_0x2f6d6d(0x9b)]=_0x53680c;}[_0x27b5b0(0xde)](_0x4967b0,_0x109be9=!0x1){const _0x46f190=_0x27b5b0;this[_0x46f190(0x8c)][_0x46f190(0x86)](_0x4967b0)||(this[_0x46f190(0x8b)][_0x46f190(0x86)](_0x4967b0)||this[_0x46f190(0xcd)][_0x46f190(0xa6)](_0x4967b0[_0x46f190(0x89)])||(this[_0x46f190(0x8b)][_0x46f190(0xbc)](_0x4967b0),this[_0x46f190(0xcd)][_0x46f190(0xbc)]({'stackId':_0x4967b0[_0x46f190(0x89)]['id'],'view':_0x4967b0[_0x46f190(0x89)],'position':{'target':()=>this[_0x46f190(0xba)](_0x4967b0)}})),_0x109be9&&this[_0x46f190(0xcd)][_0x46f190(0xc4)](_0x4967b0[_0x46f190(0x89)]['id']));}[_0x27b5b0(0xba)](_0x397024){const _0x5e97fe=_0x27b5b0,_0x53b346=_0x397024[_0x5e97fe(0xe4)],_0x1e659c=this[_0x5e97fe(0x9a)][_0x5e97fe(0xb7)][_0x5e97fe(0x89)],_0x57cb64=_0x1e659c[_0x5e97fe(0xb8)][_0x5e97fe(0xc1)][_0x5e97fe(0x97)](),_0x19d65b=_0x1e659c[_0x5e97fe(0xc3)][_0x5e97fe(0xda)](_0x57cb64);if(_0x19d65b[_0x5e97fe(0xa8)](!0x0),_0x53b346){if(_0x53b346 instanceof _0x46461d)return _0x53b346;let _0x25fed8=[];for(const _0x45e461 of _0x53b346)_0x25fed8[_0x5e97fe(0xdd)](...(_0x514a9e=_0x45e461[_0x5e97fe(0xd1)](),Array[_0x5e97fe(0xe1)](_0x514a9e)[_0x5e97fe(0xe3)](DOMRect[_0x5e97fe(0xd0)])));_0x25fed8=function(_0x191d39){const _0xbf0c93=_0x5e97fe,_0xaa9561=[];let _0x220ff5=_0x191d39[0x0];for(let _0xd37fbb=0x1;_0xd37fbb<_0x191d39[_0xbf0c93(0xbe)];_0xd37fbb++)F(_0x220ff5,_0x191d39[_0xd37fbb])?_0x220ff5[_0xbf0c93(0xa9)]+=_0x191d39[_0xd37fbb][_0xbf0c93(0xa9)]:(_0xaa9561[_0xbf0c93(0xdd)](_0x220ff5),_0x220ff5=_0x191d39[_0xd37fbb]);return _0xaa9561[_0xbf0c93(0xdd)](_0x220ff5),_0xaa9561;}(_0x25fed8);const _0xf70b83=_0x19d65b[_0x5e97fe(0xcb)]();return _0x25fed8[_0x5e97fe(0x9c)](_0x4ea4ff=>_0x4ea4ff[_0x5e97fe(0xd2)]<=_0xf70b83[_0x5e97fe(0xd2)]&&_0x4ea4ff[_0x5e97fe(0x83)]>=_0xf70b83[_0x5e97fe(0x83)]&&_0x4ea4ff[_0x5e97fe(0xd4)]<=_0xf70b83[_0x5e97fe(0xd4)]&&_0x4ea4ff[_0x5e97fe(0x84)]>=_0xf70b83[_0x5e97fe(0x84)])||_0x25fed8[0x0];}var _0x514a9e;return _0x397024[_0x5e97fe(0xd8)]||_0x19d65b;}[_0x27b5b0(0x88)](_0x2422b4){const _0x4feb34=_0x27b5b0;this[_0x4feb34(0x8b)][_0x4feb34(0x86)](_0x2422b4)&&this[_0x4feb34(0xcd)][_0x4feb34(0xa6)](_0x2422b4[_0x4feb34(0x89)])&&(this[_0x4feb34(0x8b)][_0x4feb34(0xb6)](_0x2422b4),this[_0x4feb34(0xcd)][_0x4feb34(0x98)](_0x2422b4[_0x4feb34(0x89)]));}[_0x27b5b0(0x8f)](_0x5b1e50){const _0x29b42f=_0x27b5b0;this[_0x29b42f(0x8c)][_0x29b42f(0xbc)](_0x5b1e50),this[_0x29b42f(0x88)](_0x5b1e50);}}function F(_0x3cdfcd,_0x16e5fa){const _0x157a21=_0x27b5b0;return _0x3cdfcd[_0x157a21(0xd2)]===_0x16e5fa[_0x157a21(0xd2)]&&_0x3cdfcd[_0x157a21(0x83)]===_0x16e5fa[_0x157a21(0x83)]&&_0x3cdfcd[_0x157a21(0x84)]===_0x16e5fa[_0x157a21(0xd4)];}
|
|
23
|
+
const _0x19000e=_0x2ebd;(function(_0x3392db,_0x25b8f3){const _0x280eca=_0x2ebd,_0x5c3dae=_0x3392db();while(!![]){try{const _0x57644a=-parseInt(_0x280eca(0xdb))/0x1+-parseInt(_0x280eca(0xda))/0x2+-parseInt(_0x280eca(0xd5))/0x3+parseInt(_0x280eca(0xe3))/0x4*(parseInt(_0x280eca(0xc9))/0x5)+-parseInt(_0x280eca(0xe0))/0x6*(-parseInt(_0x280eca(0xe4))/0x7)+parseInt(_0x280eca(0xb0))/0x8+parseInt(_0x280eca(0xd2))/0x9;if(_0x57644a===_0x25b8f3)break;else _0x5c3dae['push'](_0x5c3dae['shift']());}catch(_0x1e180c){_0x5c3dae['push'](_0x5c3dae['shift']());}}}(_0x1b26,0xad206));import{Plugin as _0x4e302e}from'ckeditor5/src/core.js';function _0x1b26(){const _0x31dae4=['top','clear','8520752ulTKmY','attach','selection','getClientRects','from','detach','inlineannotations-detach-not-attached','includes','viewRangeToDom','find','_forceRefresh','_manuallyClosed','_removeAnnotationFromBalloon','inline','push','collapse','get','bottom','target','add','keystrokes','blur','_getBalloonTargetForAnnotation','change:visibleView','_selectedAnnotations','1755yCjvSZ','inlineannotations-not-allowed-with-context','focusTracker','domConverter','isAttached','refresh','stopListening','delete','visibleView','100314pzMQBv','getFirstRange','showStack','485106HEWJlj','length','addObserver','left','isFocused','1747636bPvcpp','485547pjscZn','requires','switchTo','updatePosition','destroy','2424mZeVbP','change:isFocused','remove','12156SSfpAh','1512Ezvxpv','activeAnnotation','update','context','hasView','editableElement','Esc','afterInit','getOrderedSelectedAnnotations','pluginName','has','_addAnnotationToBalloon','targetRect','change:height','inlineannotations-attach-already-attached','editing','focus','InlineAnnotations','_setSelectedAnnotations','getBoundingClientRect','view','register','map','annotations','fromRect','width','listenTo','getByView','every','editor','init','hasActive','_closeAnnotation','right','_addedAnnotations','_balloon','mousedown','set','document','isActive','setActiveAnnotation','plugins'];_0x1b26=function(){return _0x31dae4;};return _0x1b26();}function _0x2ebd(_0x418aef,_0x1ed926){const _0x1b2654=_0x1b26();return _0x2ebd=function(_0x2ebd15,_0x2ca104){_0x2ebd15=_0x2ebd15-0x8d;let _0xd0c1c0=_0x1b2654[_0x2ebd15];return _0xd0c1c0;},_0x2ebd(_0x418aef,_0x1ed926);}import _0x446a9a from'./annotationsuis.js';import _0x4a0308 from'./editorannotations.js';import{ContextualBalloon as _0x46c12e}from'ckeditor5/src/ui.js';import{MouseObserver as _0x279aeb}from'ckeditor5/src/engine.js';import{CKEditorError as _0x579e2b,Rect as _0x27fc3e}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';export default class c extends _0x4e302e{static get[_0x19000e(0xdc)](){return[_0x4a0308,_0x46c12e,_0x446a9a];}static get[_0x19000e(0x8d)](){const _0x5226a6=_0x19000e;return _0x5226a6(0x95);}constructor(_0x211844){const _0x49f2cb=_0x19000e;super(_0x211844),_0x211844[_0x49f2cb(0x93)][_0x49f2cb(0x98)][_0x49f2cb(0xd7)](_0x279aeb),this[_0x49f2cb(0xcd)]=!0x1,this[_0x49f2cb(0xa9)](_0x49f2cb(0xe5),null),this[_0x49f2cb(0x9b)]=null,this[_0x49f2cb(0xbb)]=new Set(),this[_0x49f2cb(0xa7)]=_0x211844[_0x49f2cb(0xad)][_0x49f2cb(0xc0)](_0x46c12e),this[_0x49f2cb(0xa6)]=new Set(),this[_0x49f2cb(0xc8)]=[],this[_0x49f2cb(0xba)]=!0x1;}[_0x19000e(0xa2)](){const _0x38e33b=_0x19000e,_0x32bc2e=this[_0x38e33b(0xa1)][_0x38e33b(0xad)][_0x38e33b(0xc0)](_0x446a9a);_0x32bc2e[_0x38e33b(0xe7)]===this[_0x38e33b(0xa1)]&&(_0x32bc2e[_0x38e33b(0x99)](_0x38e33b(0xbd),this),this[_0x38e33b(0xa1)][_0x38e33b(0xc4)][_0x38e33b(0xa9)](_0x38e33b(0xea),(_0x5ee7b6,_0x42c92b)=>{const _0x886ddc=_0x38e33b,_0xc5d7e9=this[_0x886ddc(0xa7)];if(this[_0x886ddc(0xcd)]&&_0xc5d7e9[_0x886ddc(0xd1)]){const _0x6fbbbd=this[_0x886ddc(0x9b)][_0x886ddc(0x9f)](_0xc5d7e9[_0x886ddc(0xd1)]);_0x6fbbbd&&this[_0x886ddc(0xa4)](_0x6fbbbd),_0x42c92b();}}));}[_0x19000e(0xeb)](){const _0x1bd987=_0x19000e,_0x1011fb=this[_0x1bd987(0xa1)][_0x1bd987(0xad)][_0x1bd987(0xc0)](_0x446a9a);_0x1011fb[_0x1bd987(0xe7)]===this[_0x1bd987(0xa1)]&&(_0x1011fb[_0x1bd987(0xa3)]()||_0x1011fb[_0x1bd987(0xdd)](_0x1bd987(0xbd)));}[_0x19000e(0xac)](_0x23f949){const _0x59ad46=_0x19000e;_0x23f949!==this[_0x59ad46(0xe5)]&&(this[_0x59ad46(0xe5)]&&(this[_0x59ad46(0xe5)][_0x59ad46(0xab)]=!0x1),_0x23f949&&this[_0x59ad46(0xa1)]['ui'][_0x59ad46(0xcb)][_0x59ad46(0xd9)]&&(this[_0x59ad46(0x9b)][_0x59ad46(0x8e)](_0x23f949)&&this[_0x59ad46(0x8f)](_0x23f949,!0x0),_0x23f949[_0x59ad46(0xab)]=!0x0),_0x23f949||this[_0x59ad46(0x96)]([]),this[_0x59ad46(0xe5)]=_0x23f949);}[_0x19000e(0xb1)](_0x1b279f){const _0x4a60f5=_0x19000e;this[_0x4a60f5(0x9b)]=_0x1b279f;const _0x1cf168=this[_0x4a60f5(0xa1)][_0x4a60f5(0xad)][_0x4a60f5(0xc0)](_0x446a9a),_0x58007b=this[_0x4a60f5(0xa7)];if(this[_0x4a60f5(0xcd)])throw new _0x579e2b(_0x4a60f5(0x92),this);if(_0x1cf168[_0x4a60f5(0xe7)]!==this[_0x4a60f5(0xa1)])throw new _0x579e2b(_0x4a60f5(0xca),this);const _0x30393d=this[_0x4a60f5(0xa1)][_0x4a60f5(0xad)][_0x4a60f5(0xc0)](_0x4a0308);this[_0x4a60f5(0x9e)](_0x30393d,_0x4a60f5(0xce),()=>{const _0x476c4f=_0x4a60f5,_0x4f9f08=_0x30393d[_0x476c4f(0xec)]({'annotations':this[_0x476c4f(0x9b)],'activeAnnotation':this[_0x476c4f(0xe5)]});var _0x124e38,_0x5a6e19;!this[_0x476c4f(0xba)]&&(_0x124e38=_0x4f9f08,_0x5a6e19=this[_0x476c4f(0xc8)],_0x124e38[_0x476c4f(0xd6)]===_0x5a6e19[_0x476c4f(0xd6)]&&_0x124e38[_0x476c4f(0xa0)](_0x547b2c=>_0x5a6e19[_0x476c4f(0xb7)](_0x547b2c)))||(this[_0x476c4f(0xba)]=!0x1,this[_0x476c4f(0x96)](_0x4f9f08),this[_0x476c4f(0xac)](_0x4f9f08[0x0]||null));}),this[_0x4a60f5(0x9e)](_0x30393d,_0x4a60f5(0xc5),(_0x4b628f,{isAnnotationTracked:_0x1cf3b3})=>{const _0x4c8168=_0x4a60f5;this[_0x4c8168(0xe5)]&&_0x1cf3b3(this[_0x4c8168(0xe5)])&&(this[_0x4c8168(0x96)]([]),this[_0x4c8168(0xac)](null));}),this[_0x4a60f5(0x9e)](this[_0x4a60f5(0xa1)]['ui'][_0x4a60f5(0xcb)],_0x4a60f5(0xe1),(_0x1cbfa0,_0x34b914,_0x13a90d)=>{const _0x21357b=_0x4a60f5;_0x13a90d||this[_0x21357b(0xac)](null);}),this[_0x4a60f5(0x9e)](_0x1b279f,_0x4a60f5(0xe2),(_0x508d1a,_0x43f314)=>{const _0x29fba7=_0x4a60f5;this[_0x29fba7(0xbc)](_0x43f314),_0x43f314===this[_0x29fba7(0xe5)]&&this[_0x29fba7(0xac)](null);}),this[_0x4a60f5(0x9e)](_0x58007b,_0x4a60f5(0xc7),(_0x2ad2a6,_0x391195,_0x197878,_0x21b15c)=>{const _0x1847ab=_0x4a60f5;_0x21b15c&&this[_0x1847ab(0xcf)](_0x21b15c);const _0x418701=_0x1b279f[_0x1847ab(0x9f)](_0x197878);_0x197878&&_0x418701&&(this[_0x1847ab(0x9e)](_0x197878,_0x1847ab(0x91),()=>{const _0x527c0b=_0x1847ab;_0x58007b[_0x527c0b(0xde)]();}),this[_0x1847ab(0x9e)](_0x197878,_0x1847ab(0xea),()=>{const _0x19b6c1=_0x1847ab;this[_0x19b6c1(0xa4)](_0x418701),this[_0x19b6c1(0xa1)][_0x19b6c1(0x93)][_0x19b6c1(0x98)][_0x19b6c1(0x94)]();}),this[_0x1847ab(0xe5)]!==_0x418701&&this[_0x1847ab(0xac)](_0x418701));}),this[_0x4a60f5(0x9e)](this[_0x4a60f5(0xa1)]['ui'],_0x4a60f5(0xe6),()=>{const _0xaabfca=_0x4a60f5;_0x58007b[_0xaabfca(0xd1)]&&(_0x1b279f[_0xaabfca(0x9f)](_0x58007b[_0xaabfca(0xd1)])&&_0x58007b[_0xaabfca(0xde)]());}),this[_0x4a60f5(0x9e)](this[_0x4a60f5(0xa1)][_0x4a60f5(0x93)][_0x4a60f5(0x98)][_0x4a60f5(0xaa)],_0x4a60f5(0xa8),()=>{const _0x35b4fb=_0x4a60f5;this[_0x35b4fb(0xba)]=!0x0,this[_0x35b4fb(0xbb)][_0x35b4fb(0xaf)]();}),this[_0x4a60f5(0xa1)][_0x4a60f5(0x93)][_0x4a60f5(0x98)][_0x4a60f5(0xaa)][_0x4a60f5(0xb2)][_0x4a60f5(0xe9)]&&this[_0x4a60f5(0xa1)][_0x4a60f5(0x93)][_0x4a60f5(0x98)][_0x4a60f5(0x94)](),this[_0x4a60f5(0xcd)]=!0x0;}[_0x19000e(0xb5)](){const _0x3a8a9c=_0x19000e;if(!this[_0x3a8a9c(0xcd)])throw new _0x579e2b(_0x3a8a9c(0xb6),this);this[_0x3a8a9c(0xac)](null);for(const _0x15a482 of this[_0x3a8a9c(0xa6)])this[_0x3a8a9c(0xbc)](_0x15a482);this[_0x3a8a9c(0xcf)](),this[_0x3a8a9c(0xcd)]=!0x1,this[_0x3a8a9c(0x9b)]=null;}[_0x19000e(0xdf)](){const _0x2c2f12=_0x19000e;this[_0x2c2f12(0xcd)]&&this[_0x2c2f12(0xb5)]();}[_0x19000e(0x96)](_0x4245e6){const _0x3360af=_0x19000e;for(const _0x21965c of this[_0x3360af(0xc8)])_0x4245e6[_0x3360af(0xb7)](_0x21965c)||this[_0x3360af(0xbb)][_0x3360af(0xd0)](_0x21965c);for(const _0x3896e6 of this[_0x3360af(0x9b)])_0x4245e6[_0x3360af(0xb7)](_0x3896e6)||this[_0x3360af(0xbc)](_0x3896e6);if(this[_0x3360af(0xa1)]['ui'][_0x3360af(0xcb)][_0x3360af(0xd9)]){for(const _0x3b0be9 of _0x4245e6)this[_0x3360af(0x8f)](_0x3b0be9);}this[_0x3360af(0xc8)]=_0x4245e6;}[_0x19000e(0x8f)](_0x18c9b9,_0x1e57c1=!0x1){const _0x1c1de7=_0x19000e;this[_0x1c1de7(0xbb)][_0x1c1de7(0x8e)](_0x18c9b9)||(this[_0x1c1de7(0xa6)][_0x1c1de7(0x8e)](_0x18c9b9)||this[_0x1c1de7(0xa7)][_0x1c1de7(0xe8)](_0x18c9b9[_0x1c1de7(0x98)])||(this[_0x1c1de7(0xa6)][_0x1c1de7(0xc3)](_0x18c9b9),this[_0x1c1de7(0xa7)][_0x1c1de7(0xc3)]({'stackId':_0x18c9b9[_0x1c1de7(0x98)]['id'],'view':_0x18c9b9[_0x1c1de7(0x98)],'position':{'target':()=>this[_0x1c1de7(0xc6)](_0x18c9b9)}})),_0x1e57c1&&this[_0x1c1de7(0xa7)][_0x1c1de7(0xd4)](_0x18c9b9[_0x1c1de7(0x98)]['id']));}[_0x19000e(0xc6)](_0x506535){const _0x42333e=_0x19000e,_0x33f566=_0x506535[_0x42333e(0xc2)],_0x320382=this[_0x42333e(0xa1)][_0x42333e(0x93)][_0x42333e(0x98)],_0x32b71f=_0x320382[_0x42333e(0xaa)][_0x42333e(0xb2)][_0x42333e(0xd3)](),_0xeecdce=_0x320382[_0x42333e(0xcc)][_0x42333e(0xb8)](_0x32b71f);if(_0xeecdce[_0x42333e(0xbf)](!0x0),_0x33f566){if(_0x33f566 instanceof _0x27fc3e)return _0x33f566;let _0xe4e7c9=[];for(const _0x1d52d9 of _0x33f566)_0xe4e7c9[_0x42333e(0xbe)](...(_0x2cbfb9=_0x1d52d9[_0x42333e(0xb3)](),Array[_0x42333e(0xb4)](_0x2cbfb9)[_0x42333e(0x9a)](DOMRect[_0x42333e(0x9c)])));_0xe4e7c9=function(_0x383b37){const _0x5179a6=_0x42333e,_0x4d82eb=[];let _0x2c6204=_0x383b37[0x0];for(let _0x3e07e2=0x1;_0x3e07e2<_0x383b37[_0x5179a6(0xd6)];_0x3e07e2++)F(_0x2c6204,_0x383b37[_0x3e07e2])?_0x2c6204[_0x5179a6(0x9d)]+=_0x383b37[_0x3e07e2][_0x5179a6(0x9d)]:(_0x4d82eb[_0x5179a6(0xbe)](_0x2c6204),_0x2c6204=_0x383b37[_0x3e07e2]);return _0x4d82eb[_0x5179a6(0xbe)](_0x2c6204),_0x4d82eb;}(_0xe4e7c9);const _0x3e0531=_0xeecdce[_0x42333e(0x97)]();return _0xe4e7c9[_0x42333e(0xb9)](_0x4c57af=>_0x4c57af[_0x42333e(0xae)]<=_0x3e0531[_0x42333e(0xae)]&&_0x4c57af[_0x42333e(0xc1)]>=_0x3e0531[_0x42333e(0xc1)]&&_0x4c57af[_0x42333e(0xd8)]<=_0x3e0531[_0x42333e(0xd8)]&&_0x4c57af[_0x42333e(0xa5)]>=_0x3e0531[_0x42333e(0xa5)])||_0xe4e7c9[0x0];}var _0x2cbfb9;return _0x506535[_0x42333e(0x90)]||_0xeecdce;}[_0x19000e(0xbc)](_0x14a8c5){const _0x4c9daf=_0x19000e;this[_0x4c9daf(0xa6)][_0x4c9daf(0x8e)](_0x14a8c5)&&this[_0x4c9daf(0xa7)][_0x4c9daf(0xe8)](_0x14a8c5[_0x4c9daf(0x98)])&&(this[_0x4c9daf(0xa6)][_0x4c9daf(0xd0)](_0x14a8c5),this[_0x4c9daf(0xa7)][_0x4c9daf(0xe2)](_0x14a8c5[_0x4c9daf(0x98)]));}[_0x19000e(0xa4)](_0x4ba2f6){const _0x293ad7=_0x19000e;this[_0x293ad7(0xbb)][_0x293ad7(0xc3)](_0x4ba2f6),this[_0x293ad7(0xbc)](_0x4ba2f6);}}function F(_0x38dbcf,_0x56d79b){const _0x4b4ac8=_0x19000e;return _0x38dbcf[_0x4b4ac8(0xae)]===_0x56d79b[_0x4b4ac8(0xae)]&&_0x38dbcf[_0x4b4ac8(0xc1)]===_0x56d79b[_0x4b4ac8(0xc1)]&&_0x38dbcf[_0x4b4ac8(0xa5)]===_0x56d79b[_0x4b4ac8(0xd8)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x436c6e=_0x5a69;(function(_0x2be4cd,_0x24751e){const _0xb4ff7e=_0x5a69,_0x268bce=_0x2be4cd();while(!![]){try{const _0x32415e=-parseInt(_0xb4ff7e(0x23c))/0x1+parseInt(_0xb4ff7e(0x24e))/0x2+-parseInt(_0xb4ff7e(0x253))/0x3+-parseInt(_0xb4ff7e(0x200))/0x4*(-parseInt(_0xb4ff7e(0x255))/0x5)+parseInt(_0xb4ff7e(0x20f))/0x6*(-parseInt(_0xb4ff7e(0x214))/0x7)+-parseInt(_0xb4ff7e(0x1f4))/0x8+parseInt(_0xb4ff7e(0x25b))/0x9*(parseInt(_0xb4ff7e(0x248))/0xa);if(_0x32415e===_0x24751e)break;else _0x268bce['push'](_0x268bce['shift']());}catch(_0x539f08){_0x268bce['push'](_0x268bce['shift']());}}}(_0x5608,0x2dca1));import{ContextPlugin as _0x3323ae,Context as _0x45c136}from'ckeditor5/src/core.js';import _0x239579 from'./annotationsuis.js';import _0x3112fc from'./sidebar.js';function _0x5608(){const _0x800d2c=['attachToDom','_detachListeners','preventDefault','northArrowSouthWest','stopPropagation','add','get','stopListening','narrowsidebar-detach-not-attached','activeAnnotation','keydown','hasDomSelection','_domEmitter','bind','keyCode','listenTo','_selectedAnnotations','2605064SplrLa','getOrderedSelectedAnnotations','content','removeEventListener','target','_detachFromContainer','annotationType','getSidebarItemView','Esc','isDirty','detachFromDom','isVisible','4pRpieQ','refresh','pluginName','focus','change:container','off','change:height','number','_updateBalloonPosition','_integrateWithEditorAnnotations','addEventListener','attach','_attachToContainer','set:container','find','6RLkgps','ck-sidebar--narrow','_destroyEditorAnnotationsIntegration','cancel','bodyCollection','259238Eshvhy','narrowsidebar-attach-already-attached','rearrange','init','southArrowNorthEast','length','has','northArrowSouthEast','register','southArrowNorthWest','clear','_refreshPositioningDebounced','element','execute','EditorAnnotations','remove','focusableElements','high','ready','set','getByView','isAttached','refreshPositioning','_annotationToNarrowView','view','stop','_editorAnnotations','uiUpdate','values','first','_hideBalloon','context','northArrowSouth','pin','plugins','_setSelectedAnnotations','delete','unpin','setActiveAnnotation','_refreshPositioning','157517qTufDn','_showBalloon','requires','type','NarrowSidebar','_manuallyClosedAnnotationViews','southArrowNorth','mousedown','create','detach','includes','contains','270QjTYqj','blur','narrowSidebar','annotations','esc','destroy','39050RAYtRY','resize','defaultPositions','_annotations','preventClosingBalloon','138336pqSjkI','_attachListeners','801250XjGlPh','from','balloonPanelView','locale','addAnnotation','low','191358sFWFbZ','editors'];_0x5608=function(){return _0x800d2c;};return _0x5608();}import _0x379e12 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x55f704,BodyCollection as _0x36c8cc}from'ckeditor5/src/ui.js';import{CKEditorError as _0x429bc7,DomEmitterMixin as _0x4195ff,keyCodes as _0x1f6cde,Collection as _0x4e33ab}from'ckeditor5/src/utils.js';function _0x5a69(_0x531284,_0x2d1c0d){const _0x56084d=_0x5608();return _0x5a69=function(_0x5a696b,_0x12bc96){_0x5a696b=_0x5a696b-0x1ee;let _0x1d93cf=_0x56084d[_0x5a696b];return _0x1d93cf;},_0x5a69(_0x531284,_0x2d1c0d);}import'../../theme/sidebar-narrow.css';import{debounce as _0xb816f5}from'lodash-es';import _0x8c0b7a from'./editorannotations.js';export default class i extends _0x3323ae{static get[_0x436c6e(0x23e)](){return[_0x3112fc,_0x239579];}static get[_0x436c6e(0x202)](){const _0x4d36aa=_0x436c6e;return _0x4d36aa(0x240);}constructor(_0x132d32){const _0x1e1ef7=_0x436c6e;super(_0x132d32),this[_0x1e1ef7(0x229)]=!0x1,this[_0x1e1ef7(0x241)]=new Set(),this[_0x1e1ef7(0x1ef)]=Object[_0x1e1ef7(0x244)](_0x4195ff),this[_0x1e1ef7(0x22b)]=new Map(),this[_0x1e1ef7(0x227)](_0x1e1ef7(0x266),null),this[_0x1e1ef7(0x24b)]=null,this[_0x1e1ef7(0x1f3)]=[],this[_0x1e1ef7(0x22e)]=new _0x4e33ab(),this[_0x1e1ef7(0x21f)]=_0xb816f5(()=>{const _0x34beb1=_0x1e1ef7;this[_0x34beb1(0x23b)]();},0xfa,{'leading':!0x1});}[_0x436c6e(0x217)](){const _0x325bb4=_0x436c6e;this[_0x325bb4(0x233)][_0x325bb4(0x236)][_0x325bb4(0x263)](_0x239579)[_0x325bb4(0x21c)](_0x325bb4(0x24a),this),this[_0x325bb4(0x213)]=new _0x36c8cc(this[_0x325bb4(0x233)][_0x325bb4(0x258)]),this[_0x325bb4(0x257)]=new _0x55f704(this[_0x325bb4(0x233)][_0x325bb4(0x258)]),this[_0x325bb4(0x213)][_0x325bb4(0x25d)](),this[_0x325bb4(0x213)][_0x325bb4(0x262)](this[_0x325bb4(0x257)]);}[_0x436c6e(0x20b)](_0x4a939a){const _0x38ee01=_0x436c6e;this[_0x38ee01(0x24b)]=_0x4a939a;const _0x4aa921=this[_0x38ee01(0x233)][_0x38ee01(0x236)][_0x38ee01(0x263)](_0x3112fc),_0x579af3=this[_0x38ee01(0x257)];if(_0x4aa921[_0x38ee01(0x251)]=_0x4a939a,this[_0x38ee01(0x229)])throw new _0x429bc7(_0x38ee01(0x215),this);this[_0x38ee01(0x229)]=!0x0,this[_0x38ee01(0x1f2)](_0x4aa921,_0x38ee01(0x20d),()=>{const _0x4e0b41=_0x38ee01;this[_0x4e0b41(0x245)](),this[_0x4e0b41(0x1f2)](_0x4aa921,_0x4e0b41(0x204),_0x1bc561=>{const _0x5f4c9b=_0x4e0b41;_0x1bc561[_0x5f4c9b(0x205)](),this[_0x5f4c9b(0x20b)](_0x4a939a);});}),_0x4aa921[_0x38ee01(0x20c)]({'viewClass':_0x38ee01(0x210),'spaceBetweenItems':0x5});const _0x3ffae9=_0x13a4a3=>{const _0x1c7e24=_0x38ee01,_0x1b41d3=new _0x379e12(this[_0x1c7e24(0x233)][_0x1c7e24(0x258)]);_0x4aa921[_0x1c7e24(0x259)](_0x13a4a3,_0x1b41d3),this[_0x1c7e24(0x22b)][_0x1c7e24(0x227)](_0x13a4a3,_0x1b41d3),_0x1b41d3[_0x1c7e24(0x1f0)](_0x1c7e24(0x1fd),_0x1c7e24(0x1fa),_0x1c7e24(0x207))['to'](_0x13a4a3[_0x1c7e24(0x22c)],_0x1c7e24(0x1fd),_0x1c7e24(0x23f),_0x1c7e24(0x219)),_0x1b41d3['on'](_0x1c7e24(0x221),()=>{const _0x286fe2=_0x1c7e24;this[_0x286fe2(0x241)][_0x286fe2(0x21e)](),_0x579af3[_0x286fe2(0x1f6)][_0x286fe2(0x231)]!==_0x13a4a3[_0x286fe2(0x22c)]?(this[_0x286fe2(0x23d)](_0x13a4a3),_0x13a4a3[_0x286fe2(0x22c)][_0x286fe2(0x220)][_0x286fe2(0x203)](),this[_0x286fe2(0x23a)](_0x13a4a3)):this[_0x286fe2(0x23a)](null);});};for(const _0x3a823b of _0x4a939a)_0x3ffae9(_0x3a823b);this[_0x38ee01(0x1f2)](_0x4a939a,_0x38ee01(0x262),(_0x471e3e,_0x3f51b3)=>{_0x3ffae9(_0x3f51b3);}),this[_0x38ee01(0x1f2)](_0x4a939a,_0x38ee01(0x223),(_0x271110,_0x51733f,_0x290cd8)=>{const _0x9aa543=_0x38ee01;this[_0x9aa543(0x22b)][_0x9aa543(0x263)](_0x51733f)[_0x9aa543(0x24d)](),this[_0x9aa543(0x22b)][_0x9aa543(0x238)](_0x51733f),_0x4aa921[_0x9aa543(0x216)]({'removedAnnotation':_0x51733f,'previousAnnotation':_0x4a939a[_0x9aa543(0x263)](_0x290cd8-0x1),'nextAnnotation':_0x4a939a[_0x9aa543(0x263)](_0x290cd8+0x1)}),_0x51733f===this[_0x9aa543(0x266)]&&this[_0x9aa543(0x23a)](null);},{'priority':_0x38ee01(0x25a)}),this[_0x38ee01(0x1f2)](_0x4a939a,_0x38ee01(0x203),(_0x33aff4,_0x58731c)=>{const _0x59a9ac=_0x38ee01;this[_0x59a9ac(0x23a)](_0x58731c);}),this[_0x38ee01(0x1f2)](_0x4a939a,_0x38ee01(0x249),()=>{const _0x163eff=_0x38ee01;this[_0x163eff(0x23a)](null);}),this[_0x38ee01(0x1ef)][_0x38ee01(0x1f2)](document,_0x38ee01(0x267),(_0x5bf3b3,_0x57e561)=>{const _0x4fc180=_0x38ee01;_0x57e561[_0x4fc180(0x1f1)]===_0x1f6cde[_0x4fc180(0x24c)]&&_0x579af3[_0x4fc180(0x1ff)]&&(this[_0x4fc180(0x241)][_0x4fc180(0x262)](_0x579af3[_0x4fc180(0x1f6)][_0x4fc180(0x231)]),this[_0x4fc180(0x232)](),_0x57e561[_0x4fc180(0x261)](),_0x57e561[_0x4fc180(0x25f)]());}),this[_0x38ee01(0x1ef)][_0x38ee01(0x1f2)](document,_0x38ee01(0x243),(_0x1d9f9e,_0x3b2102)=>{const _0x4ad035=_0x38ee01,_0x25c313=_0x3b2102[_0x4ad035(0x1f8)];_0x579af3[_0x4ad035(0x1ff)]&&_0x579af3[_0x4ad035(0x220)][_0x4ad035(0x247)](_0x25c313)||_0x4aa921[_0x4ad035(0x22c)][_0x4ad035(0x220)][_0x4ad035(0x247)](_0x25c313)||_0x1d9f9e[_0x4ad035(0x252)]||this[_0x4ad035(0x266)]&&this[_0x4ad035(0x266)][_0x4ad035(0x224)][_0x4ad035(0x20e)](_0x5525f7=>_0x5525f7[_0x4ad035(0x247)](_0x25c313))||(this[_0x4ad035(0x241)][_0x4ad035(0x21e)](),this[_0x4ad035(0x232)](),this[_0x4ad035(0x23a)](null));});const _0x9743e3=this[_0x38ee01(0x233)]instanceof _0x45c136?this[_0x38ee01(0x233)][_0x38ee01(0x25c)]:new _0x4e33ab([this[_0x38ee01(0x233)]]);for(const _0xc95b78 of _0x9743e3)this[_0x38ee01(0x209)](_0xc95b78);this[_0x38ee01(0x1f2)](_0x9743e3,_0x38ee01(0x262),(_0x42e0db,_0x51c983)=>{const _0x3d5494=_0x38ee01;this[_0x3d5494(0x1f2)](_0x51c983,_0x3d5494(0x226),()=>{const _0x4c79b7=_0x3d5494;this[_0x4c79b7(0x209)](_0x51c983);});}),this[_0x38ee01(0x1f2)](_0x9743e3,_0x38ee01(0x223),(_0x2f41a1,_0xf118f4)=>{const _0x308ec5=_0x38ee01;_0xf118f4[_0x308ec5(0x236)][_0x308ec5(0x21a)](_0x308ec5(0x222))&&this[_0x308ec5(0x211)](_0xf118f4[_0x308ec5(0x236)][_0x308ec5(0x263)](_0x308ec5(0x222)));}),window[_0x38ee01(0x20a)](_0x38ee01(0x24f),this[_0x38ee01(0x21f)]),this[_0x38ee01(0x23b)]();}[_0x436c6e(0x23a)](_0x3ad4cd){const _0x17db54=_0x436c6e;if(_0x3ad4cd===this[_0x17db54(0x266)])return;const _0x68f32f=this[_0x17db54(0x233)][_0x17db54(0x236)][_0x17db54(0x263)](_0x3112fc);if(_0x68f32f[_0x17db54(0x201)]({'blurredAnnotation':this[_0x17db54(0x266)],'activatedAnnotation':_0x3ad4cd,'disableAnimationOnActivatedAnnotation':!0x0}),_0x3ad4cd)_0x68f32f[_0x17db54(0x1fb)](_0x3ad4cd)?this[_0x17db54(0x23d)](_0x3ad4cd):this[_0x17db54(0x232)]();else this[_0x17db54(0x232)]();this[_0x17db54(0x266)]=_0x3ad4cd;}[_0x436c6e(0x245)](){const _0x36d592=_0x436c6e;if(!this[_0x36d592(0x229)])throw new _0x429bc7(_0x36d592(0x265),this);this[_0x36d592(0x23a)](null);const _0x280b29=this[_0x36d592(0x233)][_0x36d592(0x236)][_0x36d592(0x263)](_0x3112fc);this[_0x36d592(0x232)](),Array[_0x36d592(0x256)](this[_0x36d592(0x22b)][_0x36d592(0x230)](),_0x34dcc6=>_0x34dcc6[_0x36d592(0x24d)]()),this[_0x36d592(0x22b)][_0x36d592(0x21e)](),_0x280b29[_0x36d592(0x1f9)](this[_0x36d592(0x24b)]),this[_0x36d592(0x264)](),this[_0x36d592(0x1ef)][_0x36d592(0x264)](),this[_0x36d592(0x233)]instanceof _0x45c136&&this[_0x36d592(0x264)](this[_0x36d592(0x233)][_0x36d592(0x25c)]);for(const _0x47994c of Array[_0x36d592(0x256)](this[_0x36d592(0x22e)]))this[_0x36d592(0x211)](_0x47994c);window[_0x36d592(0x1f7)](_0x36d592(0x24f),this[_0x36d592(0x21f)]),this[_0x36d592(0x21f)][_0x36d592(0x212)](),this[_0x36d592(0x1f3)]=[],this[_0x36d592(0x229)]=!0x1,this[_0x36d592(0x24b)]=null;}[_0x436c6e(0x24d)](){const _0x5696c9=_0x436c6e;this[_0x5696c9(0x229)]&&this[_0x5696c9(0x245)](),this[_0x5696c9(0x213)][_0x5696c9(0x1fe)]();}[_0x436c6e(0x209)](_0x2ce699){const _0x2200e4=_0x436c6e,_0x280cea=_0x2ce699[_0x2200e4(0x236)][_0x2200e4(0x263)](_0x8c0b7a),_0x575570=this[_0x2200e4(0x233)][_0x2200e4(0x236)][_0x2200e4(0x263)](_0x3112fc),_0x33d133=this[_0x2200e4(0x24b)],_0x5e62a5=this[_0x2200e4(0x257)],_0x666ff0=()=>{const _0x3c80e0=_0x2200e4,_0xd01019=_0x280cea[_0x3c80e0(0x1f5)]({'annotations':this[_0x3c80e0(0x24b)],'activeAnnotation':this[_0x3c80e0(0x266)]});this[_0x3c80e0(0x237)](_0xd01019),this[_0x3c80e0(0x23a)](_0xd01019[0x0]||null);};this[_0x2200e4(0x1f2)](_0x280cea,_0x2200e4(0x201),_0x666ff0),this[_0x2200e4(0x1f2)](_0x280cea,_0x2200e4(0x249),(_0x38e5ca,{isAnnotationTracked:_0x5d5776})=>{const _0x9205f4=_0x2200e4;this[_0x9205f4(0x266)]&&_0x5d5776(this[_0x9205f4(0x266)])&&(this[_0x9205f4(0x237)]([]),this[_0x9205f4(0x23a)](null));}),this[_0x2200e4(0x1f2)](_0x280cea,_0x2200e4(0x22f),()=>{const _0x30d641=_0x2200e4;this[_0x30d641(0x21f)]();}),this[_0x2200e4(0x1f2)](_0x33d133,_0x2200e4(0x249),_0x570ee1=>{const _0x5c7b15=_0x2200e4;_0x280cea[_0x5c7b15(0x1ee)]()&&_0x570ee1[_0x5c7b15(0x22d)]();},{'priority':_0x2200e4(0x225)}),this[_0x2200e4(0x1f2)](this[_0x2200e4(0x1ef)],_0x2200e4(0x243),(_0x501147,_0x5e4ea1)=>{const _0x2835f9=_0x2200e4,_0x1bc2cd=_0x5e4ea1[_0x2835f9(0x1f8)];_0x5e62a5[_0x2835f9(0x1ff)]&&_0x5e62a5[_0x2835f9(0x220)][_0x2835f9(0x247)](_0x1bc2cd)||_0x575570[_0x2835f9(0x22c)][_0x2835f9(0x220)][_0x2835f9(0x247)](_0x1bc2cd)||this[_0x2835f9(0x266)]&&_0x280cea[_0x2835f9(0x1ee)]()&&(_0x666ff0(),_0x501147[_0x2835f9(0x252)]=!0x0);},{'priority':_0x2200e4(0x225)}),this[_0x2200e4(0x22e)][_0x2200e4(0x262)](_0x280cea);}[_0x436c6e(0x211)](_0x5ee007){const _0x56b84e=_0x436c6e;_0x5ee007&&(this[_0x56b84e(0x264)](_0x5ee007),this[_0x56b84e(0x22e)][_0x56b84e(0x223)](_0x5ee007));}[_0x436c6e(0x237)](_0x7bd97e){const _0x5b74d7=_0x436c6e;for(const _0x4143c1 of this[_0x5b74d7(0x1f3)])_0x7bd97e[_0x5b74d7(0x246)](_0x4143c1)||this[_0x5b74d7(0x241)][_0x5b74d7(0x238)](_0x4143c1[_0x5b74d7(0x22c)]);this[_0x5b74d7(0x1f3)]=_0x7bd97e;}[_0x436c6e(0x23b)](){const _0x57dd76=_0x436c6e,_0x53d84e=this[_0x57dd76(0x257)];this[_0x57dd76(0x24b)][_0x57dd76(0x22a)](),_0x53d84e[_0x57dd76(0x1ff)]&&this[_0x57dd76(0x208)]();}[_0x436c6e(0x23d)](_0x17760e){const _0x3b8823=_0x436c6e;if(this[_0x3b8823(0x241)][_0x3b8823(0x21a)](_0x17760e[_0x3b8823(0x22c)]))return;const _0x44fef8=this[_0x3b8823(0x257)][_0x3b8823(0x1f6)][_0x3b8823(0x231)];_0x44fef8!==_0x17760e[_0x3b8823(0x22c)]?(_0x44fef8&&this[_0x3b8823(0x25e)](_0x44fef8),this[_0x3b8823(0x254)](_0x17760e[_0x3b8823(0x22c)]),this[_0x3b8823(0x257)][_0x3b8823(0x1f6)][_0x3b8823(0x21e)](),this[_0x3b8823(0x257)][_0x3b8823(0x1f6)][_0x3b8823(0x262)](_0x17760e[_0x3b8823(0x22c)]),this[_0x3b8823(0x208)]()):this[_0x3b8823(0x208)]();}[_0x436c6e(0x208)](){const _0x35fe07=_0x436c6e,_0x664a9c=this[_0x35fe07(0x257)][_0x35fe07(0x1f6)][_0x35fe07(0x231)],_0x1b1b86=_0x664a9c&&this[_0x35fe07(0x24b)][_0x35fe07(0x228)](_0x664a9c);if(!_0x1b1b86||!this[_0x35fe07(0x22b)][_0x35fe07(0x21a)](_0x1b1b86))return;const _0x4654fc=this[_0x35fe07(0x22b)][_0x35fe07(0x263)](_0x1b1b86)[_0x35fe07(0x220)],_0x18b239=(function(){const _0x274427=_0x35fe07,_0x1502d0=_0x55f704[_0x274427(0x250)];return[_0x1502d0[_0x274427(0x218)],_0x1502d0[_0x274427(0x21b)],_0x1502d0[_0x274427(0x242)],_0x1502d0[_0x274427(0x234)],_0x1502d0[_0x274427(0x21d)],_0x1502d0[_0x274427(0x260)]];}());this[_0x35fe07(0x257)][_0x35fe07(0x235)]({'target':_0x4654fc,'positions':_0x18b239});}[_0x436c6e(0x232)](){const _0x4fd5f5=_0x436c6e,_0xd3bf3=this[_0x4fd5f5(0x257)],_0x8c630=_0xd3bf3[_0x4fd5f5(0x1f6)][_0x4fd5f5(0x231)];_0x8c630&&(this[_0x4fd5f5(0x25e)](_0x8c630),_0xd3bf3[_0x4fd5f5(0x239)](),_0xd3bf3[_0x4fd5f5(0x1f6)][_0x4fd5f5(0x21e)]());}[_0x436c6e(0x254)](_0x3e3bb4){const _0x59234d=_0x436c6e;this[_0x59234d(0x1f2)](_0x3e3bb4,_0x59234d(0x206),()=>this[_0x59234d(0x208)]()),this[_0x59234d(0x1f2)](_0x3e3bb4,_0x59234d(0x1fc),(_0x6b5ee0,_0x39bec3)=>{const _0x4a9ac2=_0x59234d;this[_0x4a9ac2(0x241)][_0x4a9ac2(0x262)](_0x3e3bb4),this[_0x4a9ac2(0x232)](),_0x39bec3();});}[_0x436c6e(0x25e)](_0x51cdb4){const _0x4fd3af=_0x436c6e;this[_0x4fd3af(0x264)](_0x51cdb4);}}
|
|
23
|
+
const _0x4eca7b=_0x232b;(function(_0x1c815,_0x51d982){const _0x3d267c=_0x232b,_0x1718d8=_0x1c815();while(!![]){try{const _0x145b60=-parseInt(_0x3d267c(0x8d))/0x1+-parseInt(_0x3d267c(0xd6))/0x2*(-parseInt(_0x3d267c(0x8e))/0x3)+-parseInt(_0x3d267c(0xe2))/0x4*(-parseInt(_0x3d267c(0xe7))/0x5)+parseInt(_0x3d267c(0xd2))/0x6+parseInt(_0x3d267c(0xef))/0x7*(parseInt(_0x3d267c(0xc6))/0x8)+parseInt(_0x3d267c(0xa0))/0x9*(parseInt(_0x3d267c(0xca))/0xa)+parseInt(_0x3d267c(0x82))/0xb*(-parseInt(_0x3d267c(0xe6))/0xc);if(_0x145b60===_0x51d982)break;else _0x1718d8['push'](_0x1718d8['shift']());}catch(_0x5239dd){_0x1718d8['push'](_0x1718d8['shift']());}}}(_0x275b,0x34743));import{ContextPlugin as _0x4757d4,Context as _0x1e70fb}from'ckeditor5/src/core.js';import _0x4d61e0 from'./annotationsuis.js';import _0x191131 from'./sidebar.js';import _0x2d297e from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x1f8397,BodyCollection as _0x43341f}from'ckeditor5/src/ui.js';import{CKEditorError as _0x738ede,DomEmitterMixin as _0x25f951,keyCodes as _0x1c3eaa,Collection as _0x4f121c}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x43e7f4}from'lodash-es';import _0x7a8feb from'./editorannotations.js';function _0x275b(){const _0x2d2063=['182633XiYiAt','102624cCRrSf','detachFromDom','register','target','contains','context','preventClosingBalloon','northArrowSouthWest','isVisible','northArrowSouthEast','balloonPanelView','addAnnotation','create','isDirty','type','preventDefault','content','narrowSidebar','2025feNWhz','addEventListener','blur','values','plugins','_refreshPositioning','removeEventListener','low','off','clear','narrowsidebar-detach-not-attached','editors','hasDomSelection','rearrange','change:container','activeAnnotation','cancel','has','annotationType','getByView','southArrowNorth','_annotationToNarrowView','defaultPositions','pin','_attachToContainer','stopPropagation','_destroyEditorAnnotationsIntegration','high','listenTo','includes','_setSelectedAnnotations','esc','set:container','EditorAnnotations','delete','focus','ready','get','56HSghBm','destroy','refresh','bind','17590WWfWFJ','view','_showBalloon','_detachListeners','refreshPositioning','resize','unpin','attachToDom','2062710ukVrRy','_attachListeners','stopListening','_annotations','4oqePvv','_refreshPositioningDebounced','remove','from','set','locale','add','_editorAnnotations','_hideBalloon','uiUpdate','getSidebarItemView','number','4StfuTk','detach','stop','Esc','83532lHmfBN','429230WINYYV','ck-sidebar--narrow','attach','southArrowNorthWest','annotations','_updateBalloonPosition','narrowsidebar-attach-already-attached','NarrowSidebar','95347ahCSPD','getOrderedSelectedAnnotations','isAttached','pluginName','keyCode','init','change:height','keydown','_selectedAnnotations','focusableElements','find','_detachFromContainer','_domEmitter','first','southArrowNorthEast','935yGQoUy','length','setActiveAnnotation','northArrowSouth','_manuallyClosedAnnotationViews','requires','_integrateWithEditorAnnotations','mousedown','execute','bodyCollection','element'];_0x275b=function(){return _0x2d2063;};return _0x275b();}function _0x232b(_0x259772,_0x303fab){const _0x275bce=_0x275b();return _0x232b=function(_0x232ba3,_0x2bd402){_0x232ba3=_0x232ba3-0x76;let _0x191ed8=_0x275bce[_0x232ba3];return _0x191ed8;},_0x232b(_0x259772,_0x303fab);}export default class i extends _0x4757d4{static get[_0x4eca7b(0x87)](){return[_0x191131,_0x4d61e0];}static get[_0x4eca7b(0x76)](){const _0x1de8ba=_0x4eca7b;return _0x1de8ba(0xee);}constructor(_0x4b3095){const _0x891065=_0x4eca7b;super(_0x4b3095),this[_0x891065(0xf1)]=!0x1,this[_0x891065(0x86)]=new Set(),this[_0x891065(0x7f)]=Object[_0x891065(0x9a)](_0x25f951),this[_0x891065(0xb5)]=new Map(),this[_0x891065(0xda)](_0x891065(0xaf),null),this[_0x891065(0xeb)]=null,this[_0x891065(0x7b)]=[],this[_0x891065(0xdd)]=new _0x4f121c(),this[_0x891065(0xd7)]=_0x43e7f4(()=>{const _0x105def=_0x891065;this[_0x105def(0xa5)]();},0xfa,{'leading':!0x1});}[_0x4eca7b(0x78)](){const _0x5bde14=_0x4eca7b;this[_0x5bde14(0x93)][_0x5bde14(0xa4)][_0x5bde14(0xc5)](_0x4d61e0)[_0x5bde14(0x90)](_0x5bde14(0x9f),this),this[_0x5bde14(0x8b)]=new _0x43341f(this[_0x5bde14(0x93)][_0x5bde14(0xdb)]),this[_0x5bde14(0x98)]=new _0x1f8397(this[_0x5bde14(0x93)][_0x5bde14(0xdb)]),this[_0x5bde14(0x8b)][_0x5bde14(0xd1)](),this[_0x5bde14(0x8b)][_0x5bde14(0xdc)](this[_0x5bde14(0x98)]);}[_0x4eca7b(0xe9)](_0x46f808){const _0x30a2a2=_0x4eca7b;this[_0x30a2a2(0xeb)]=_0x46f808;const _0x13cb67=this[_0x30a2a2(0x93)][_0x30a2a2(0xa4)][_0x30a2a2(0xc5)](_0x191131),_0x72db6e=this[_0x30a2a2(0x98)];if(_0x13cb67[_0x30a2a2(0xd5)]=_0x46f808,this[_0x30a2a2(0xf1)])throw new _0x738ede(_0x30a2a2(0xed),this);this[_0x30a2a2(0xf1)]=!0x0,this[_0x30a2a2(0xbc)](_0x13cb67,_0x30a2a2(0xc0),()=>{const _0x335128=_0x30a2a2;this[_0x335128(0xe3)](),this[_0x335128(0xbc)](_0x13cb67,_0x335128(0xae),_0x517b8b=>{const _0x49ae66=_0x335128;_0x517b8b[_0x49ae66(0xa8)](),this[_0x49ae66(0xe9)](_0x46f808);});}),_0x13cb67[_0x30a2a2(0xb8)]({'viewClass':_0x30a2a2(0xe8),'spaceBetweenItems':0x5});const _0x3b7cdc=_0x26e9de=>{const _0x2e4943=_0x30a2a2,_0x3e698f=new _0x2d297e(this[_0x2e4943(0x93)][_0x2e4943(0xdb)]);_0x13cb67[_0x2e4943(0x99)](_0x26e9de,_0x3e698f),this[_0x2e4943(0xb5)][_0x2e4943(0xda)](_0x26e9de,_0x3e698f),_0x3e698f[_0x2e4943(0xc9)](_0x2e4943(0x9b),_0x2e4943(0xb2),_0x2e4943(0xe1))['to'](_0x26e9de[_0x2e4943(0xcb)],_0x2e4943(0x9b),_0x2e4943(0x9c),_0x2e4943(0x83)),_0x3e698f['on'](_0x2e4943(0x8a),()=>{const _0x206a14=_0x2e4943;this[_0x206a14(0x86)][_0x206a14(0xa9)](),_0x72db6e[_0x206a14(0x9e)][_0x206a14(0x80)]!==_0x26e9de[_0x206a14(0xcb)]?(this[_0x206a14(0xcc)](_0x26e9de),_0x26e9de[_0x206a14(0xcb)][_0x206a14(0x8c)][_0x206a14(0xc3)](),this[_0x206a14(0x84)](_0x26e9de)):this[_0x206a14(0x84)](null);});};for(const _0x5dfeb3 of _0x46f808)_0x3b7cdc(_0x5dfeb3);this[_0x30a2a2(0xbc)](_0x46f808,_0x30a2a2(0xdc),(_0x4ddc5e,_0x5a084e)=>{_0x3b7cdc(_0x5a084e);}),this[_0x30a2a2(0xbc)](_0x46f808,_0x30a2a2(0xd8),(_0x39e713,_0x474c8f,_0x2155da)=>{const _0x3ed06d=_0x30a2a2;this[_0x3ed06d(0xb5)][_0x3ed06d(0xc5)](_0x474c8f)[_0x3ed06d(0xc7)](),this[_0x3ed06d(0xb5)][_0x3ed06d(0xc2)](_0x474c8f),_0x13cb67[_0x3ed06d(0xad)]({'removedAnnotation':_0x474c8f,'previousAnnotation':_0x46f808[_0x3ed06d(0xc5)](_0x2155da-0x1),'nextAnnotation':_0x46f808[_0x3ed06d(0xc5)](_0x2155da+0x1)}),_0x474c8f===this[_0x3ed06d(0xaf)]&&this[_0x3ed06d(0x84)](null);},{'priority':_0x30a2a2(0xa7)}),this[_0x30a2a2(0xbc)](_0x46f808,_0x30a2a2(0xc3),(_0x3abbc5,_0x2a8beb)=>{const _0xb93c8d=_0x30a2a2;this[_0xb93c8d(0x84)](_0x2a8beb);}),this[_0x30a2a2(0xbc)](_0x46f808,_0x30a2a2(0xa2),()=>{const _0x52bc8b=_0x30a2a2;this[_0x52bc8b(0x84)](null);}),this[_0x30a2a2(0x7f)][_0x30a2a2(0xbc)](document,_0x30a2a2(0x7a),(_0x12f41f,_0x14cd15)=>{const _0x317ac9=_0x30a2a2;_0x14cd15[_0x317ac9(0x77)]===_0x1c3eaa[_0x317ac9(0xbf)]&&_0x72db6e[_0x317ac9(0x96)]&&(this[_0x317ac9(0x86)][_0x317ac9(0xdc)](_0x72db6e[_0x317ac9(0x9e)][_0x317ac9(0x80)]),this[_0x317ac9(0xde)](),_0x14cd15[_0x317ac9(0xb9)](),_0x14cd15[_0x317ac9(0x9d)]());}),this[_0x30a2a2(0x7f)][_0x30a2a2(0xbc)](document,_0x30a2a2(0x89),(_0x56194f,_0xa742c)=>{const _0x101260=_0x30a2a2,_0x110fd4=_0xa742c[_0x101260(0x91)];_0x72db6e[_0x101260(0x96)]&&_0x72db6e[_0x101260(0x8c)][_0x101260(0x92)](_0x110fd4)||_0x13cb67[_0x101260(0xcb)][_0x101260(0x8c)][_0x101260(0x92)](_0x110fd4)||_0x56194f[_0x101260(0x94)]||this[_0x101260(0xaf)]&&this[_0x101260(0xaf)][_0x101260(0x7c)][_0x101260(0x7d)](_0xaa0d73=>_0xaa0d73[_0x101260(0x92)](_0x110fd4))||(this[_0x101260(0x86)][_0x101260(0xa9)](),this[_0x101260(0xde)](),this[_0x101260(0x84)](null));});const _0x579aa9=this[_0x30a2a2(0x93)]instanceof _0x1e70fb?this[_0x30a2a2(0x93)][_0x30a2a2(0xab)]:new _0x4f121c([this[_0x30a2a2(0x93)]]);for(const _0x33d55b of _0x579aa9)this[_0x30a2a2(0x88)](_0x33d55b);this[_0x30a2a2(0xbc)](_0x579aa9,_0x30a2a2(0xdc),(_0x4c86c9,_0x2bc7c6)=>{const _0x5a6a84=_0x30a2a2;this[_0x5a6a84(0xbc)](_0x2bc7c6,_0x5a6a84(0xc4),()=>{const _0x1391e1=_0x5a6a84;this[_0x1391e1(0x88)](_0x2bc7c6);});}),this[_0x30a2a2(0xbc)](_0x579aa9,_0x30a2a2(0xd8),(_0x5362de,_0x5490e1)=>{const _0x4164e6=_0x30a2a2;_0x5490e1[_0x4164e6(0xa4)][_0x4164e6(0xb1)](_0x4164e6(0xc1))&&this[_0x4164e6(0xba)](_0x5490e1[_0x4164e6(0xa4)][_0x4164e6(0xc5)](_0x4164e6(0xc1)));}),window[_0x30a2a2(0xa1)](_0x30a2a2(0xcf),this[_0x30a2a2(0xd7)]),this[_0x30a2a2(0xa5)]();}[_0x4eca7b(0x84)](_0x54a995){const _0x3d043d=_0x4eca7b;if(_0x54a995===this[_0x3d043d(0xaf)])return;const _0x58e323=this[_0x3d043d(0x93)][_0x3d043d(0xa4)][_0x3d043d(0xc5)](_0x191131);if(_0x58e323[_0x3d043d(0xc8)]({'blurredAnnotation':this[_0x3d043d(0xaf)],'activatedAnnotation':_0x54a995,'disableAnimationOnActivatedAnnotation':!0x0}),_0x54a995)_0x58e323[_0x3d043d(0xe0)](_0x54a995)?this[_0x3d043d(0xcc)](_0x54a995):this[_0x3d043d(0xde)]();else this[_0x3d043d(0xde)]();this[_0x3d043d(0xaf)]=_0x54a995;}[_0x4eca7b(0xe3)](){const _0x457ee0=_0x4eca7b;if(!this[_0x457ee0(0xf1)])throw new _0x738ede(_0x457ee0(0xaa),this);this[_0x457ee0(0x84)](null);const _0x32eb78=this[_0x457ee0(0x93)][_0x457ee0(0xa4)][_0x457ee0(0xc5)](_0x191131);this[_0x457ee0(0xde)](),Array[_0x457ee0(0xd9)](this[_0x457ee0(0xb5)][_0x457ee0(0xa3)](),_0x414272=>_0x414272[_0x457ee0(0xc7)]()),this[_0x457ee0(0xb5)][_0x457ee0(0xa9)](),_0x32eb78[_0x457ee0(0x7e)](this[_0x457ee0(0xeb)]),this[_0x457ee0(0xd4)](),this[_0x457ee0(0x7f)][_0x457ee0(0xd4)](),this[_0x457ee0(0x93)]instanceof _0x1e70fb&&this[_0x457ee0(0xd4)](this[_0x457ee0(0x93)][_0x457ee0(0xab)]);for(const _0x4aae3d of Array[_0x457ee0(0xd9)](this[_0x457ee0(0xdd)]))this[_0x457ee0(0xba)](_0x4aae3d);window[_0x457ee0(0xa6)](_0x457ee0(0xcf),this[_0x457ee0(0xd7)]),this[_0x457ee0(0xd7)][_0x457ee0(0xb0)](),this[_0x457ee0(0x7b)]=[],this[_0x457ee0(0xf1)]=!0x1,this[_0x457ee0(0xeb)]=null;}[_0x4eca7b(0xc7)](){const _0xcd4577=_0x4eca7b;this[_0xcd4577(0xf1)]&&this[_0xcd4577(0xe3)](),this[_0xcd4577(0x8b)][_0xcd4577(0x8f)]();}[_0x4eca7b(0x88)](_0x31aeb2){const _0x13db68=_0x4eca7b,_0x561b5b=_0x31aeb2[_0x13db68(0xa4)][_0x13db68(0xc5)](_0x7a8feb),_0x55dd0f=this[_0x13db68(0x93)][_0x13db68(0xa4)][_0x13db68(0xc5)](_0x191131),_0x13a76f=this[_0x13db68(0xeb)],_0x4e8523=this[_0x13db68(0x98)],_0x17b5d6=()=>{const _0x339bd1=_0x13db68,_0x2b800a=_0x561b5b[_0x339bd1(0xf0)]({'annotations':this[_0x339bd1(0xeb)],'activeAnnotation':this[_0x339bd1(0xaf)]});this[_0x339bd1(0xbe)](_0x2b800a),this[_0x339bd1(0x84)](_0x2b800a[0x0]||null);};this[_0x13db68(0xbc)](_0x561b5b,_0x13db68(0xc8),_0x17b5d6),this[_0x13db68(0xbc)](_0x561b5b,_0x13db68(0xa2),(_0x2e3e6a,{isAnnotationTracked:_0x5a3aad})=>{const _0x4dc08e=_0x13db68;this[_0x4dc08e(0xaf)]&&_0x5a3aad(this[_0x4dc08e(0xaf)])&&(this[_0x4dc08e(0xbe)]([]),this[_0x4dc08e(0x84)](null));}),this[_0x13db68(0xbc)](_0x561b5b,_0x13db68(0xdf),()=>{const _0x5ec1ec=_0x13db68;this[_0x5ec1ec(0xd7)]();}),this[_0x13db68(0xbc)](_0x13a76f,_0x13db68(0xa2),_0x4e0026=>{const _0x482101=_0x13db68;_0x561b5b[_0x482101(0xac)]()&&_0x4e0026[_0x482101(0xe4)]();},{'priority':_0x13db68(0xbb)}),this[_0x13db68(0xbc)](this[_0x13db68(0x7f)],_0x13db68(0x89),(_0x3960f2,_0x576e86)=>{const _0x4ae156=_0x13db68,_0x2c316c=_0x576e86[_0x4ae156(0x91)];_0x4e8523[_0x4ae156(0x96)]&&_0x4e8523[_0x4ae156(0x8c)][_0x4ae156(0x92)](_0x2c316c)||_0x55dd0f[_0x4ae156(0xcb)][_0x4ae156(0x8c)][_0x4ae156(0x92)](_0x2c316c)||this[_0x4ae156(0xaf)]&&_0x561b5b[_0x4ae156(0xac)]()&&(_0x17b5d6(),_0x3960f2[_0x4ae156(0x94)]=!0x0);},{'priority':_0x13db68(0xbb)}),this[_0x13db68(0xdd)][_0x13db68(0xdc)](_0x561b5b);}[_0x4eca7b(0xba)](_0x355cfc){const _0x511e63=_0x4eca7b;_0x355cfc&&(this[_0x511e63(0xd4)](_0x355cfc),this[_0x511e63(0xdd)][_0x511e63(0xd8)](_0x355cfc));}[_0x4eca7b(0xbe)](_0x4c141c){const _0x2791a9=_0x4eca7b;for(const _0x2274cf of this[_0x2791a9(0x7b)])_0x4c141c[_0x2791a9(0xbd)](_0x2274cf)||this[_0x2791a9(0x86)][_0x2791a9(0xc2)](_0x2274cf[_0x2791a9(0xcb)]);this[_0x2791a9(0x7b)]=_0x4c141c;}[_0x4eca7b(0xa5)](){const _0x19138e=_0x4eca7b,_0x3abbbe=this[_0x19138e(0x98)];this[_0x19138e(0xeb)][_0x19138e(0xce)](),_0x3abbbe[_0x19138e(0x96)]&&this[_0x19138e(0xec)]();}[_0x4eca7b(0xcc)](_0x32828e){const _0x2859c8=_0x4eca7b;if(this[_0x2859c8(0x86)][_0x2859c8(0xb1)](_0x32828e[_0x2859c8(0xcb)]))return;const _0xc91ae7=this[_0x2859c8(0x98)][_0x2859c8(0x9e)][_0x2859c8(0x80)];_0xc91ae7!==_0x32828e[_0x2859c8(0xcb)]?(_0xc91ae7&&this[_0x2859c8(0xcd)](_0xc91ae7),this[_0x2859c8(0xd3)](_0x32828e[_0x2859c8(0xcb)]),this[_0x2859c8(0x98)][_0x2859c8(0x9e)][_0x2859c8(0xa9)](),this[_0x2859c8(0x98)][_0x2859c8(0x9e)][_0x2859c8(0xdc)](_0x32828e[_0x2859c8(0xcb)]),this[_0x2859c8(0xec)]()):this[_0x2859c8(0xec)]();}[_0x4eca7b(0xec)](){const _0x56dc68=_0x4eca7b,_0x1e52ed=this[_0x56dc68(0x98)][_0x56dc68(0x9e)][_0x56dc68(0x80)],_0x23ae5c=_0x1e52ed&&this[_0x56dc68(0xeb)][_0x56dc68(0xb3)](_0x1e52ed);if(!_0x23ae5c||!this[_0x56dc68(0xb5)][_0x56dc68(0xb1)](_0x23ae5c))return;const _0x446b17=this[_0x56dc68(0xb5)][_0x56dc68(0xc5)](_0x23ae5c)[_0x56dc68(0x8c)],_0x5866da=(function(){const _0x1e184a=_0x56dc68,_0x43142c=_0x1f8397[_0x1e184a(0xb6)];return[_0x43142c[_0x1e184a(0x81)],_0x43142c[_0x1e184a(0x97)],_0x43142c[_0x1e184a(0xb4)],_0x43142c[_0x1e184a(0x85)],_0x43142c[_0x1e184a(0xea)],_0x43142c[_0x1e184a(0x95)]];}());this[_0x56dc68(0x98)][_0x56dc68(0xb7)]({'target':_0x446b17,'positions':_0x5866da});}[_0x4eca7b(0xde)](){const _0x381191=_0x4eca7b,_0x1c7d9d=this[_0x381191(0x98)],_0x532d6d=_0x1c7d9d[_0x381191(0x9e)][_0x381191(0x80)];_0x532d6d&&(this[_0x381191(0xcd)](_0x532d6d),_0x1c7d9d[_0x381191(0xd0)](),_0x1c7d9d[_0x381191(0x9e)][_0x381191(0xa9)]());}[_0x4eca7b(0xd3)](_0x2933b6){const _0x113eb0=_0x4eca7b;this[_0x113eb0(0xbc)](_0x2933b6,_0x113eb0(0x79),()=>this[_0x113eb0(0xec)]()),this[_0x113eb0(0xbc)](_0x2933b6,_0x113eb0(0xe5),(_0x36c66a,_0x220d98)=>{const _0xefcb6d=_0x113eb0;this[_0xefcb6d(0x86)][_0xefcb6d(0xdc)](_0x2933b6),this[_0xefcb6d(0xde)](),_0x220d98();});}[_0x4eca7b(0xcd)](_0x50af31){const _0x5e33d4=_0x4eca7b;this[_0x5e33d4(0xd4)](_0x50af31);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x163feb=_0x3880;(function(_0x8374da,_0xe5b89d){const _0x59b8e9=_0x3880,_0x311a22=_0x8374da();while(!![]){try{const _0x1a6601=parseInt(_0x59b8e9(0x19c))/0x1*(-parseInt(_0x59b8e9(0x1ac))/0x2)+-parseInt(_0x59b8e9(0x186))/0x3*(parseInt(_0x59b8e9(0x1b8))/0x4)+parseInt(_0x59b8e9(0x1a8))/0x5*(-parseInt(_0x59b8e9(0x1c2))/0x6)+-parseInt(_0x59b8e9(0x184))/0x7*(-parseInt(_0x59b8e9(0x1af))/0x8)+-parseInt(_0x59b8e9(0x1d2))/0x9+parseInt(_0x59b8e9(0x1bb))/0xa+parseInt(_0x59b8e9(0x1b7))/0xb;if(_0x1a6601===_0xe5b89d)break;else _0x311a22['push'](_0x311a22['shift']());}catch(_0x200225){_0x311a22['push'](_0x311a22['shift']());}}}(_0x2202,0x9de4d));function _0x2202(){const _0x3ec2fd=['_attachToContainer','_getItemBefore','change:_lastItem','destroy','_updateLastItem','_spaceBetweenItems','target','_alignAfterItem','length','10fMBGnH','_getMaxAvailableTop','bottom','sidebar.preventScrollOutOfView','1088SbtCPe','_alignForTopChange','nodeType','1037936cJakuI','appendChild','list','targetRect','last','locale','define','_annotations','14678488fAexxt','1482412OWMkkD','_getItemAfter','_setItemTop','3190780DGuyCk','context','render','Sidebar','_recalculateBuffer','_getTargetTop','change:top','430710pFmLKJ','_alignToTargetRect','get','clear','unbind','top','minHeight','content','config','max','object','_lastItem','_alignBeforeItem','element','pluginName','_createSidebarView','4413564dYtNOW','addAnnotation','setContainer','add','updateHeight','change:bottom','_targetTop','getIndex','_recalculate','listenTo','container','change:targetRect','28oElmVS','_annotationToSidebarItemView','3rpkYbT','init','isActive','_sidebarItemViewToAnnotation','_detachFromContainer','getSidebarItemView','_alignForBottomChange','refresh','isAnimationDisabled','view','height','delete','_activeAnnotation','sidebar-setcontainer-invalid-element','_destroySidebarItemView','bind','remove','stopListening','rearrange','class','sidebar-attachtocontainer-missing-container','sidebar.container','958IkNhxs','push','set'];_0x2202=function(){return _0x3ec2fd;};return _0x2202();}import{ContextPlugin as _0x3d191c}from'ckeditor5/src/core.js';import{Rect as _0x2d9178,CKEditorError as _0x582199}from'ckeditor5/src/utils.js';import _0x28d1b2 from'./view/sidebarview.js';import _0x2133dd from'./view/sidebaritemview.js';function _0x3880(_0xe408df,_0x5aa48c){const _0x220248=_0x2202();return _0x3880=function(_0x38803d,_0x4a4967){_0x38803d=_0x38803d-0x17a;let _0x40c83b=_0x220248[_0x38803d];return _0x40c83b;},_0x3880(_0xe408df,_0x5aa48c);}export default class z extends _0x3d191c{static get[_0x163feb(0x1d0)](){const _0x23f3aa=_0x163feb;return _0x23f3aa(0x1be);}constructor(_0x5524fb){const _0x27364f=_0x163feb;super(_0x5524fb),this[_0x27364f(0x19e)](_0x27364f(0x1cd),void 0x0),this[_0x27364f(0x18f)]=this[_0x27364f(0x1d1)](),this[_0x27364f(0x19e)](_0x27364f(0x182),null),this[_0x27364f(0x1a4)]=0x19,this[_0x27364f(0x189)]=new Map(),this[_0x27364f(0x185)]=new Map(),this[_0x27364f(0x1bc)][_0x27364f(0x1ca)][_0x27364f(0x1b5)](_0x27364f(0x1ab),!0x1),this[_0x27364f(0x1b6)]=null,this[_0x27364f(0x192)]=null,this[_0x27364f(0x1bf)]=[];}[_0x163feb(0x187)](){const _0x4b73fc=_0x163feb,_0x2731ff=this[_0x4b73fc(0x1bc)][_0x4b73fc(0x1ca)][_0x4b73fc(0x1c4)](_0x4b73fc(0x19b));_0x2731ff&&this[_0x4b73fc(0x17a)](_0x2731ff);}[_0x163feb(0x17a)](_0x176ab8){const _0x5193b3=_0x163feb;if(!y(_0x176ab8))throw new _0x582199(_0x5193b3(0x193));this[_0x5193b3(0x182)]=_0x176ab8;}[_0x163feb(0x19f)]({viewClass:_0x29e645='',spaceBetweenItems:_0xe38394=0x19}={}){const _0x1a41ae=_0x163feb;if(!y(this[_0x1a41ae(0x182)]))throw new _0x582199(_0x1a41ae(0x19a),this);this[_0x1a41ae(0x182)][_0x1a41ae(0x1b0)](this[_0x1a41ae(0x18f)][_0x1a41ae(0x1cf)]),this[_0x1a41ae(0x18f)][_0x1a41ae(0x199)]=_0x29e645,this[_0x1a41ae(0x1a4)]=_0xe38394;}[_0x163feb(0x198)]({removedAnnotation:_0x42b0dc,previousAnnotation:_0x2ff526,nextAnnotation:_0x58915f}){const _0x13c9ff=_0x163feb,_0x2693bd=this[_0x13c9ff(0x18b)](_0x42b0dc);this[_0x13c9ff(0x18f)][_0x13c9ff(0x1b1)][_0x13c9ff(0x196)](_0x2693bd),this[_0x13c9ff(0x194)](_0x42b0dc),_0x2ff526&&this[_0x13c9ff(0x1c3)](this[_0x13c9ff(0x18b)](_0x2ff526)),_0x58915f&&this[_0x13c9ff(0x1c3)](this[_0x13c9ff(0x18b)](_0x58915f)),this[_0x13c9ff(0x1a3)]();}[_0x163feb(0x18d)]({blurredAnnotation:_0x1a3666,activatedAnnotation:_0x3b6112,disableAnimationOnActivatedAnnotation:_0x2ba4a2}){const _0x455f9f=_0x163feb;if(this[_0x455f9f(0x192)]=_0x3b6112,_0x1a3666){_0x1a3666[_0x455f9f(0x188)]=!0x1;const _0x5e2b41=this[_0x455f9f(0x18b)](_0x1a3666);_0x5e2b41&&_0x2ba4a2&&(_0x5e2b41[_0x455f9f(0x18e)]=!0x1);}if(_0x3b6112){const _0x5604be=this[_0x455f9f(0x18b)](_0x3b6112);_0x5604be&&(_0x3b6112[_0x455f9f(0x188)]=!0x0,_0x2ba4a2&&(_0x5604be[_0x455f9f(0x18e)]=!0x0,_0x5604be[_0x455f9f(0x1c7)]+=0x1),this[_0x455f9f(0x1c3)](_0x5604be));}}[_0x163feb(0x18a)](_0x487327){const _0x5600c1=_0x163feb;if(this[_0x5600c1(0x18f)][_0x5600c1(0x1cf)][_0x5600c1(0x196)](),_0x487327){for(const _0x9e813c of _0x487327)this[_0x5600c1(0x194)](_0x9e813c);}this[_0x5600c1(0x18f)][_0x5600c1(0x1b1)][_0x5600c1(0x1c5)](),this[_0x5600c1(0x18f)][_0x5600c1(0x199)]='',this[_0x5600c1(0x1cd)]=null;}[_0x163feb(0x1d3)](_0x148ce0,_0x52f886){const _0x19ffdf=_0x163feb;_0x52f886||(_0x52f886=_0x148ce0[_0x19ffdf(0x18f)]);const _0x2fa051=new _0x2133dd(this[_0x19ffdf(0x1bc)][_0x19ffdf(0x1b4)]);this[_0x19ffdf(0x189)][_0x19ffdf(0x19e)](_0x2fa051,_0x148ce0),this[_0x19ffdf(0x185)][_0x19ffdf(0x19e)](_0x148ce0,_0x2fa051),_0x2fa051[_0x19ffdf(0x1c9)][_0x19ffdf(0x17b)](_0x52f886),this[_0x19ffdf(0x181)](_0x148ce0[_0x19ffdf(0x18f)],_0x19ffdf(0x183),(_0x3cc33b,_0x2879df,_0x51eba3)=>{const _0x14857b=_0x19ffdf,_0x53c896=this[_0x14857b(0x1c0)](_0x148ce0,_0x51eba3);_0x2fa051[_0x14857b(0x17e)]!=_0x53c896&&(_0x2fa051[_0x14857b(0x17e)]=_0x53c896,this[_0x14857b(0x1ba)](_0x2fa051,_0x53c896));}),this[_0x19ffdf(0x181)](_0x2fa051,_0x19ffdf(0x1c1),()=>{const _0x3fd608=_0x19ffdf;this[_0x3fd608(0x180)](_0x2fa051,_0x3fd608(0x1c7));}),this[_0x19ffdf(0x181)](_0x2fa051,_0x19ffdf(0x17d),()=>{const _0x5319b7=_0x19ffdf;this[_0x5319b7(0x180)](_0x2fa051,_0x5319b7(0x1aa));}),this[_0x19ffdf(0x1c3)](_0x2fa051);const _0x29557c=this[_0x19ffdf(0x1a0)](_0x2fa051);if(_0x29557c)this[_0x19ffdf(0x1a6)](_0x29557c,_0x2fa051)||this[_0x19ffdf(0x1c3)](_0x2fa051);else this[_0x19ffdf(0x1c3)](_0x2fa051);return this[_0x19ffdf(0x1a3)](),this[_0x19ffdf(0x18f)][_0x19ffdf(0x1b1)][_0x19ffdf(0x17b)](_0x2fa051),_0x2fa051;}[_0x163feb(0x1ad)](_0x3ae55d){const _0x711320=_0x163feb;if(!_0x3ae55d[_0x711320(0x1c9)][_0x711320(0x1a7)])return;const _0x477393=this[_0x711320(0x1a0)](_0x3ae55d);if(!_0x477393)return;const _0x90c4b0=this[_0x711320(0x189)][_0x711320(0x1c4)](_0x477393),_0x1c89a0=this[_0x711320(0x192)];_0x1c89a0&&_0x1c89a0===_0x90c4b0?this[_0x711320(0x1a6)](_0x477393,_0x3ae55d):this[_0x711320(0x1ce)](_0x3ae55d,_0x477393);}[_0x163feb(0x18c)](_0x4ae5c6){const _0x59f506=_0x163feb;if(!_0x4ae5c6[_0x59f506(0x1c9)][_0x59f506(0x1a7)])return;const _0x121d22=this[_0x59f506(0x1b9)](_0x4ae5c6);if(!_0x121d22)return;const _0x5eb44c=this[_0x59f506(0x189)][_0x59f506(0x1c4)](_0x121d22),_0x2440f2=this[_0x59f506(0x1bc)][_0x59f506(0x1ca)][_0x59f506(0x1c4)](_0x59f506(0x1ab)),_0x20de84=this[_0x59f506(0x192)];_0x20de84&&_0x20de84===_0x5eb44c&&_0x2440f2?(this[_0x59f506(0x1ce)](_0x121d22,_0x4ae5c6),this[_0x59f506(0x1a6)](_0x4ae5c6,_0x121d22)):_0x20de84&&_0x20de84===_0x5eb44c?this[_0x59f506(0x1ce)](_0x121d22,_0x4ae5c6):this[_0x59f506(0x1a6)](_0x4ae5c6,_0x121d22);}[_0x163feb(0x180)](_0x461046,_0x9f21d2){const _0x3061e7=_0x163feb;0x0===this[_0x3061e7(0x1bf)][_0x3061e7(0x1a7)]&&setTimeout(()=>{const _0x57365c=_0x3061e7;for(const {sidebarItemView:_0x469bf0,changedProp:_0x43b261}of this[_0x57365c(0x1bf)])_0x57365c(0x1c7)===_0x43b261?this[_0x57365c(0x1ad)](_0x469bf0):this[_0x57365c(0x18c)](_0x469bf0);this[_0x57365c(0x1bf)]=[];},0xa),this[_0x3061e7(0x1bf)][_0x3061e7(0x19d)]({'sidebarItemView':_0x461046,'changedProp':_0x9f21d2});}[_0x163feb(0x18b)](_0x155034){const _0x660ac7=_0x163feb;return this[_0x660ac7(0x185)][_0x660ac7(0x1c4)](_0x155034);}[_0x163feb(0x1a2)](){const _0x2de027=_0x163feb;this[_0x2de027(0x197)](),this[_0x2de027(0x18f)][_0x2de027(0x1a2)]();}[_0x163feb(0x194)](_0x31b548){const _0x38dda3=_0x163feb,_0x107cc6=this[_0x38dda3(0x18b)](_0x31b548);this[_0x38dda3(0x197)](_0x107cc6),this[_0x38dda3(0x197)](_0x31b548[_0x38dda3(0x18f)]),_0x107cc6[_0x38dda3(0x1a2)](),this[_0x38dda3(0x185)][_0x38dda3(0x191)](_0x31b548),this[_0x38dda3(0x189)][_0x38dda3(0x191)](_0x107cc6);}[_0x163feb(0x1d1)](){const _0x277099=_0x163feb,_0x43c81=new _0x28d1b2(this[_0x277099(0x1bc)][_0x277099(0x1b4)]);return _0x43c81[_0x277099(0x1bd)](),this['on'](_0x277099(0x1a1),(_0x51216a,_0x1e43bf,_0x36fcdc,_0x4e0608)=>{const _0x5a3ce1=_0x277099;_0x4e0608&&_0x43c81[_0x5a3ce1(0x1c6)](_0x5a3ce1(0x1c8)),_0x36fcdc?_0x43c81[_0x5a3ce1(0x195)](_0x5a3ce1(0x1c8))['to'](_0x36fcdc,_0x5a3ce1(0x1aa)):_0x43c81[_0x5a3ce1(0x1c8)]=null;}),_0x43c81;}[_0x163feb(0x1a3)](){const _0x48e946=_0x163feb;var _0x60bf90;this[_0x48e946(0x1cd)]=(null===(_0x60bf90=this[_0x48e946(0x1b6)])||void 0x0===_0x60bf90?void 0x0:_0x60bf90[_0x48e946(0x1b3)])?this[_0x48e946(0x18b)](this[_0x48e946(0x1b6)][_0x48e946(0x1b3)]):null;}[_0x163feb(0x1a0)](_0x42700c){const _0x4d00f2=_0x163feb;var _0x39e4c9;const _0x364e32=this[_0x4d00f2(0x189)][_0x4d00f2(0x1c4)](_0x42700c),_0x5255ea=_0x364e32&&(null===(_0x39e4c9=this[_0x4d00f2(0x1b6)])||void 0x0===_0x39e4c9?void 0x0:_0x39e4c9[_0x4d00f2(0x1c4)](this[_0x4d00f2(0x1b6)][_0x4d00f2(0x17f)](_0x364e32)-0x1));return _0x5255ea&&this[_0x4d00f2(0x18b)](_0x5255ea)||null;}[_0x163feb(0x1b9)](_0x22bd51){const _0x3497a7=_0x163feb;var _0x2e99c9;const _0x571cf2=this[_0x3497a7(0x189)][_0x3497a7(0x1c4)](_0x22bd51),_0x5d5c89=_0x571cf2&&(null===(_0x2e99c9=this[_0x3497a7(0x1b6)])||void 0x0===_0x2e99c9?void 0x0:_0x2e99c9[_0x3497a7(0x1c4)](this[_0x3497a7(0x1b6)][_0x3497a7(0x17f)](_0x571cf2)+0x1));return _0x5d5c89&&this[_0x3497a7(0x18b)](_0x5d5c89)||null;}[_0x163feb(0x1ce)](_0x528288,_0x103512){const _0x3b1901=_0x163feb;_0x528288[_0x3b1901(0x17c)]();const _0x35a978=M(_0x103512[_0x3b1901(0x1aa)]+this[_0x3b1901(0x1a4)],_0x528288[_0x3b1901(0x1c7)]);return!!_0x35a978&&(this[_0x3b1901(0x1ba)](_0x103512,_0x103512[_0x3b1901(0x1c7)]-_0x35a978),!0x0);}[_0x163feb(0x1a6)](_0x452b1d,_0x29e9f1){const _0x395034=_0x163feb;_0x452b1d[_0x395034(0x17c)]();const _0x140dc3=M(_0x452b1d[_0x395034(0x1aa)]+this[_0x395034(0x1a4)],_0x29e9f1[_0x395034(0x1c7)]);return!!_0x140dc3&&(this[_0x395034(0x1ba)](_0x29e9f1,_0x29e9f1[_0x395034(0x1c7)]+_0x140dc3,!0x1),!0x0);}[_0x163feb(0x1c3)](_0x1dfa90){const _0xfdbf0d=_0x163feb,_0x5d1035=this[_0xfdbf0d(0x189)][_0xfdbf0d(0x1c4)](_0x1dfa90);if(!_0x5d1035||!_0x5d1035[_0xfdbf0d(0x1a5)]||!_0x5d1035[_0xfdbf0d(0x1b2)])return;const _0x17ee0d=this[_0xfdbf0d(0x1c0)](_0x5d1035,_0x5d1035[_0xfdbf0d(0x1b2)]);this[_0xfdbf0d(0x1ba)](_0x1dfa90,_0x17ee0d);}[_0x163feb(0x1c0)](_0x3f9dc5,_0x1a09ec){const _0x282159=_0x163feb;if(null===_0x1a09ec)return 0x0;if(_0x3f9dc5[_0x282159(0x1a5)]instanceof _0x2d9178)return _0x1a09ec[_0x282159(0x1c7)];{const _0x2fd8b8=new _0x2d9178(this[_0x282159(0x18f)][_0x282159(0x1cf)])[_0x282159(0x1c7)];return _0x1a09ec[_0x282159(0x1c7)]-_0x2fd8b8;}}[_0x163feb(0x1ba)](_0x21ced1,_0x1acf08,_0x1372ff=this[_0x163feb(0x1bc)][_0x163feb(0x1ca)][_0x163feb(0x1c4)](_0x163feb(0x1ab))){const _0x15b7c0=_0x163feb;_0x1372ff&&(_0x1acf08=Math[_0x15b7c0(0x1cb)](_0x1acf08,this[_0x15b7c0(0x1a9)](_0x21ced1))),_0x21ced1[_0x15b7c0(0x1c7)]=_0x1acf08;}[_0x163feb(0x1a9)](_0x1c8a61){const _0x4972e2=_0x163feb;let _0x3cef23=this[_0x4972e2(0x1a0)](_0x1c8a61),_0x2d2a0f=0x0;for(;_0x3cef23;)_0x3cef23[_0x4972e2(0x17c)](),_0x2d2a0f+=this[_0x4972e2(0x1a4)]+_0x3cef23[_0x4972e2(0x190)],_0x3cef23=this[_0x4972e2(0x1a0)](_0x3cef23);return _0x2d2a0f;}}function M(_0x523fe8,_0x27e38){const _0x5315f0=_0x163feb;return Math[_0x5315f0(0x1cb)](_0x523fe8-_0x27e38,0x0);}function y(_0x345ec9){const _0x28d5d1=_0x163feb;return null!==_0x345ec9&&_0x28d5d1(0x1cc)==typeof _0x345ec9&&0x1===_0x345ec9[_0x28d5d1(0x1ae)];}
|
|
23
|
+
function _0x2049(){const _0x3dad3e=['267EZrJMM','rearrange','_setItemTop','isAnimationDisabled','_alignAfterItem','nodeType','5135410KxLQOC','target','28052tjZxMy','change:bottom','sidebar-setcontainer-invalid-element','element','getSidebarItemView','bind','_targetTop','container','push','view','sidebar.container','801722qVgnSu','list','_sidebarItemViewToAnnotation','_annotations','change:_lastItem','_alignToTargetRect','_spaceBetweenItems','5991036xraxDH','appendChild','remove','_getTargetTop','unbind','getIndex','get','targetRect','bottom','_alignForBottomChange','context','listenTo','minHeight','isActive','last','object','delete','_getItemAfter','_detachFromContainer','_getItemBefore','_destroySidebarItemView','add','class','max','define','5713386SIdXVW','stopListening','height','setContainer','top','_createSidebarView','_alignBeforeItem','config','Sidebar','clear','addAnnotation','render','_getMaxAvailableTop','_annotationToSidebarItemView','_recalculate','_attachToContainer','_activeAnnotation','change:top','11306280ZCpyoF','init','destroy','sidebar.preventScrollOutOfView','content','sidebar-attachtocontainer-missing-container','pluginName','_alignForTopChange','locale','refresh','_recalculateBuffer','change:targetRect','581261svtNFn','length','set','_lastItem','updateHeight','_updateLastItem'];_0x2049=function(){return _0x3dad3e;};return _0x2049();}const _0x5bd5a6=_0x3c86;(function(_0x550082,_0x487bc5){const _0x47b305=_0x3c86,_0x12e3f1=_0x550082();while(!![]){try{const _0x16188d=-parseInt(_0x47b305(0xcb))/0x1+parseInt(_0x47b305(0xe4))/0x2+parseInt(_0x47b305(0xd1))/0x3*(parseInt(_0x47b305(0xd9))/0x4)+-parseInt(_0x47b305(0xd7))/0x5+-parseInt(_0x47b305(0xeb))/0x6+parseInt(_0x47b305(0xad))/0x7+parseInt(_0x47b305(0xbf))/0x8;if(_0x16188d===_0x487bc5)break;else _0x12e3f1['push'](_0x12e3f1['shift']());}catch(_0x2c2ac7){_0x12e3f1['push'](_0x12e3f1['shift']());}}}(_0x2049,0x9e1e4));import{ContextPlugin as _0x4bebf0}from'ckeditor5/src/core.js';import{Rect as _0x3b57b6,CKEditorError as _0x4e5333}from'ckeditor5/src/utils.js';import _0x384d01 from'./view/sidebarview.js';import _0x4852b1 from'./view/sidebaritemview.js';export default class z extends _0x4bebf0{static get[_0x5bd5a6(0xc5)](){const _0x219555=_0x5bd5a6;return _0x219555(0xb5);}constructor(_0x1d5f70){const _0x53ba4c=_0x5bd5a6;super(_0x1d5f70),this[_0x53ba4c(0xcd)](_0x53ba4c(0xce),void 0x0),this[_0x53ba4c(0xe2)]=this[_0x53ba4c(0xb2)](),this[_0x53ba4c(0xcd)](_0x53ba4c(0xe0),null),this[_0x53ba4c(0xea)]=0x19,this[_0x53ba4c(0xe6)]=new Map(),this[_0x53ba4c(0xba)]=new Map(),this[_0x53ba4c(0xf5)][_0x53ba4c(0xb4)][_0x53ba4c(0xac)](_0x53ba4c(0xc2),!0x1),this[_0x53ba4c(0xe7)]=null,this[_0x53ba4c(0xbd)]=null,this[_0x53ba4c(0xc9)]=[];}[_0x5bd5a6(0xc0)](){const _0x1e8c66=_0x5bd5a6,_0x488294=this[_0x1e8c66(0xf5)][_0x1e8c66(0xb4)][_0x1e8c66(0xf1)](_0x1e8c66(0xe3));_0x488294&&this[_0x1e8c66(0xb0)](_0x488294);}[_0x5bd5a6(0xb0)](_0x1117aa){const _0x59e2aa=_0x5bd5a6;if(!y(_0x1117aa))throw new _0x4e5333(_0x59e2aa(0xdb));this[_0x59e2aa(0xe0)]=_0x1117aa;}[_0x5bd5a6(0xbc)]({viewClass:_0x5523e9='',spaceBetweenItems:_0x4229d5=0x19}={}){const _0x569da9=_0x5bd5a6;if(!y(this[_0x569da9(0xe0)]))throw new _0x4e5333(_0x569da9(0xc4),this);this[_0x569da9(0xe0)][_0x569da9(0xec)](this[_0x569da9(0xe2)][_0x569da9(0xdc)]),this[_0x569da9(0xe2)][_0x569da9(0xaa)]=_0x5523e9,this[_0x569da9(0xea)]=_0x4229d5;}[_0x5bd5a6(0xd2)]({removedAnnotation:_0x5a01fe,previousAnnotation:_0x5b55c8,nextAnnotation:_0x188fa8}){const _0x4ccdf3=_0x5bd5a6,_0x2fefe5=this[_0x4ccdf3(0xdd)](_0x5a01fe);this[_0x4ccdf3(0xe2)][_0x4ccdf3(0xe5)][_0x4ccdf3(0xed)](_0x2fefe5),this[_0x4ccdf3(0xff)](_0x5a01fe),_0x5b55c8&&this[_0x4ccdf3(0xe9)](this[_0x4ccdf3(0xdd)](_0x5b55c8)),_0x188fa8&&this[_0x4ccdf3(0xe9)](this[_0x4ccdf3(0xdd)](_0x188fa8)),this[_0x4ccdf3(0xd0)]();}[_0x5bd5a6(0xc8)]({blurredAnnotation:_0x7f8342,activatedAnnotation:_0x219ad3,disableAnimationOnActivatedAnnotation:_0x2e0d8f}){const _0x4642b9=_0x5bd5a6;if(this[_0x4642b9(0xbd)]=_0x219ad3,_0x7f8342){_0x7f8342[_0x4642b9(0xf8)]=!0x1;const _0xa23574=this[_0x4642b9(0xdd)](_0x7f8342);_0xa23574&&_0x2e0d8f&&(_0xa23574[_0x4642b9(0xd4)]=!0x1);}if(_0x219ad3){const _0x208c27=this[_0x4642b9(0xdd)](_0x219ad3);_0x208c27&&(_0x219ad3[_0x4642b9(0xf8)]=!0x0,_0x2e0d8f&&(_0x208c27[_0x4642b9(0xd4)]=!0x0,_0x208c27[_0x4642b9(0xb1)]+=0x1),this[_0x4642b9(0xe9)](_0x208c27));}}[_0x5bd5a6(0xfd)](_0x1986a8){const _0x51b041=_0x5bd5a6;if(this[_0x51b041(0xe2)][_0x51b041(0xdc)][_0x51b041(0xed)](),_0x1986a8){for(const _0x5407a7 of _0x1986a8)this[_0x51b041(0xff)](_0x5407a7);}this[_0x51b041(0xe2)][_0x51b041(0xe5)][_0x51b041(0xb6)](),this[_0x51b041(0xe2)][_0x51b041(0xaa)]='',this[_0x51b041(0xce)]=null;}[_0x5bd5a6(0xb7)](_0x11b3ab,_0x691c76){const _0x1e2110=_0x5bd5a6;_0x691c76||(_0x691c76=_0x11b3ab[_0x1e2110(0xe2)]);const _0xb9d418=new _0x4852b1(this[_0x1e2110(0xf5)][_0x1e2110(0xc7)]);this[_0x1e2110(0xe6)][_0x1e2110(0xcd)](_0xb9d418,_0x11b3ab),this[_0x1e2110(0xba)][_0x1e2110(0xcd)](_0x11b3ab,_0xb9d418),_0xb9d418[_0x1e2110(0xc3)][_0x1e2110(0x100)](_0x691c76),this[_0x1e2110(0xf6)](_0x11b3ab[_0x1e2110(0xe2)],_0x1e2110(0xca),(_0x597a7d,_0x2f410d,_0xb0dcf9)=>{const _0x22e955=_0x1e2110,_0x1b5271=this[_0x22e955(0xee)](_0x11b3ab,_0xb0dcf9);_0xb9d418[_0x22e955(0xdf)]!=_0x1b5271&&(_0xb9d418[_0x22e955(0xdf)]=_0x1b5271,this[_0x22e955(0xd3)](_0xb9d418,_0x1b5271));}),this[_0x1e2110(0xf6)](_0xb9d418,_0x1e2110(0xbe),()=>{const _0x166a62=_0x1e2110;this[_0x166a62(0xbb)](_0xb9d418,_0x166a62(0xb1));}),this[_0x1e2110(0xf6)](_0xb9d418,_0x1e2110(0xda),()=>{const _0x2f1d45=_0x1e2110;this[_0x2f1d45(0xbb)](_0xb9d418,_0x2f1d45(0xf3));}),this[_0x1e2110(0xe9)](_0xb9d418);const _0x5bce79=this[_0x1e2110(0xfe)](_0xb9d418);if(_0x5bce79)this[_0x1e2110(0xd5)](_0x5bce79,_0xb9d418)||this[_0x1e2110(0xe9)](_0xb9d418);else this[_0x1e2110(0xe9)](_0xb9d418);return this[_0x1e2110(0xd0)](),this[_0x1e2110(0xe2)][_0x1e2110(0xe5)][_0x1e2110(0x100)](_0xb9d418),_0xb9d418;}[_0x5bd5a6(0xc6)](_0x26cd32){const _0xa9d3dc=_0x5bd5a6;if(!_0x26cd32[_0xa9d3dc(0xc3)][_0xa9d3dc(0xcc)])return;const _0x131279=this[_0xa9d3dc(0xfe)](_0x26cd32);if(!_0x131279)return;const _0x2c4a52=this[_0xa9d3dc(0xe6)][_0xa9d3dc(0xf1)](_0x131279),_0x314557=this[_0xa9d3dc(0xbd)];_0x314557&&_0x314557===_0x2c4a52?this[_0xa9d3dc(0xd5)](_0x131279,_0x26cd32):this[_0xa9d3dc(0xb3)](_0x26cd32,_0x131279);}[_0x5bd5a6(0xf4)](_0x1e3d82){const _0x1331bb=_0x5bd5a6;if(!_0x1e3d82[_0x1331bb(0xc3)][_0x1331bb(0xcc)])return;const _0x1b071e=this[_0x1331bb(0xfc)](_0x1e3d82);if(!_0x1b071e)return;const _0x3f2780=this[_0x1331bb(0xe6)][_0x1331bb(0xf1)](_0x1b071e),_0x273e4c=this[_0x1331bb(0xf5)][_0x1331bb(0xb4)][_0x1331bb(0xf1)](_0x1331bb(0xc2)),_0x597dcf=this[_0x1331bb(0xbd)];_0x597dcf&&_0x597dcf===_0x3f2780&&_0x273e4c?(this[_0x1331bb(0xb3)](_0x1b071e,_0x1e3d82),this[_0x1331bb(0xd5)](_0x1e3d82,_0x1b071e)):_0x597dcf&&_0x597dcf===_0x3f2780?this[_0x1331bb(0xb3)](_0x1b071e,_0x1e3d82):this[_0x1331bb(0xd5)](_0x1e3d82,_0x1b071e);}[_0x5bd5a6(0xbb)](_0x194c5b,_0x651299){const _0x3f1d77=_0x5bd5a6;0x0===this[_0x3f1d77(0xc9)][_0x3f1d77(0xcc)]&&setTimeout(()=>{const _0x2eea84=_0x3f1d77;for(const {sidebarItemView:_0x4ab77b,changedProp:_0x13370d}of this[_0x2eea84(0xc9)])_0x2eea84(0xb1)===_0x13370d?this[_0x2eea84(0xc6)](_0x4ab77b):this[_0x2eea84(0xf4)](_0x4ab77b);this[_0x2eea84(0xc9)]=[];},0xa),this[_0x3f1d77(0xc9)][_0x3f1d77(0xe1)]({'sidebarItemView':_0x194c5b,'changedProp':_0x651299});}[_0x5bd5a6(0xdd)](_0x66f109){const _0x35cf31=_0x5bd5a6;return this[_0x35cf31(0xba)][_0x35cf31(0xf1)](_0x66f109);}[_0x5bd5a6(0xc1)](){const _0x1ff1e4=_0x5bd5a6;this[_0x1ff1e4(0xae)](),this[_0x1ff1e4(0xe2)][_0x1ff1e4(0xc1)]();}[_0x5bd5a6(0xff)](_0x59971d){const _0xd91f9d=_0x5bd5a6,_0x5261f8=this[_0xd91f9d(0xdd)](_0x59971d);this[_0xd91f9d(0xae)](_0x5261f8),this[_0xd91f9d(0xae)](_0x59971d[_0xd91f9d(0xe2)]),_0x5261f8[_0xd91f9d(0xc1)](),this[_0xd91f9d(0xba)][_0xd91f9d(0xfb)](_0x59971d),this[_0xd91f9d(0xe6)][_0xd91f9d(0xfb)](_0x5261f8);}[_0x5bd5a6(0xb2)](){const _0x496c0d=_0x5bd5a6,_0x199384=new _0x384d01(this[_0x496c0d(0xf5)][_0x496c0d(0xc7)]);return _0x199384[_0x496c0d(0xb8)](),this['on'](_0x496c0d(0xe8),(_0x5d29f8,_0x5c66f3,_0x4ee2dc,_0x27c58e)=>{const _0x17f593=_0x496c0d;_0x27c58e&&_0x199384[_0x17f593(0xef)](_0x17f593(0xf7)),_0x4ee2dc?_0x199384[_0x17f593(0xde)](_0x17f593(0xf7))['to'](_0x4ee2dc,_0x17f593(0xf3)):_0x199384[_0x17f593(0xf7)]=null;}),_0x199384;}[_0x5bd5a6(0xd0)](){const _0x478d86=_0x5bd5a6;var _0xdcb729;this[_0x478d86(0xce)]=(null===(_0xdcb729=this[_0x478d86(0xe7)])||void 0x0===_0xdcb729?void 0x0:_0xdcb729[_0x478d86(0xf9)])?this[_0x478d86(0xdd)](this[_0x478d86(0xe7)][_0x478d86(0xf9)]):null;}[_0x5bd5a6(0xfe)](_0x8174ba){const _0x4f1a6a=_0x5bd5a6;var _0x2d39e3;const _0x10f549=this[_0x4f1a6a(0xe6)][_0x4f1a6a(0xf1)](_0x8174ba),_0x42e279=_0x10f549&&(null===(_0x2d39e3=this[_0x4f1a6a(0xe7)])||void 0x0===_0x2d39e3?void 0x0:_0x2d39e3[_0x4f1a6a(0xf1)](this[_0x4f1a6a(0xe7)][_0x4f1a6a(0xf0)](_0x10f549)-0x1));return _0x42e279&&this[_0x4f1a6a(0xdd)](_0x42e279)||null;}[_0x5bd5a6(0xfc)](_0xc4fdb7){const _0x3d8b2e=_0x5bd5a6;var _0x283bdf;const _0x13cbce=this[_0x3d8b2e(0xe6)][_0x3d8b2e(0xf1)](_0xc4fdb7),_0x49cdce=_0x13cbce&&(null===(_0x283bdf=this[_0x3d8b2e(0xe7)])||void 0x0===_0x283bdf?void 0x0:_0x283bdf[_0x3d8b2e(0xf1)](this[_0x3d8b2e(0xe7)][_0x3d8b2e(0xf0)](_0x13cbce)+0x1));return _0x49cdce&&this[_0x3d8b2e(0xdd)](_0x49cdce)||null;}[_0x5bd5a6(0xb3)](_0x5e40dc,_0x1e56cc){const _0x1d981a=_0x5bd5a6;_0x5e40dc[_0x1d981a(0xcf)]();const _0x1c2928=M(_0x1e56cc[_0x1d981a(0xf3)]+this[_0x1d981a(0xea)],_0x5e40dc[_0x1d981a(0xb1)]);return!!_0x1c2928&&(this[_0x1d981a(0xd3)](_0x1e56cc,_0x1e56cc[_0x1d981a(0xb1)]-_0x1c2928),!0x0);}[_0x5bd5a6(0xd5)](_0x2697b1,_0x1f68ce){const _0xa2e943=_0x5bd5a6;_0x2697b1[_0xa2e943(0xcf)]();const _0x54a16f=M(_0x2697b1[_0xa2e943(0xf3)]+this[_0xa2e943(0xea)],_0x1f68ce[_0xa2e943(0xb1)]);return!!_0x54a16f&&(this[_0xa2e943(0xd3)](_0x1f68ce,_0x1f68ce[_0xa2e943(0xb1)]+_0x54a16f,!0x1),!0x0);}[_0x5bd5a6(0xe9)](_0x53e594){const _0xe40c39=_0x5bd5a6,_0x48c817=this[_0xe40c39(0xe6)][_0xe40c39(0xf1)](_0x53e594);if(!_0x48c817||!_0x48c817[_0xe40c39(0xd8)]||!_0x48c817[_0xe40c39(0xf2)])return;const _0x51750d=this[_0xe40c39(0xee)](_0x48c817,_0x48c817[_0xe40c39(0xf2)]);this[_0xe40c39(0xd3)](_0x53e594,_0x51750d);}[_0x5bd5a6(0xee)](_0x46b3b5,_0x1230c3){const _0x529e0f=_0x5bd5a6;if(null===_0x1230c3)return 0x0;if(_0x46b3b5[_0x529e0f(0xd8)]instanceof _0x3b57b6)return _0x1230c3[_0x529e0f(0xb1)];{const _0xaf19d0=new _0x3b57b6(this[_0x529e0f(0xe2)][_0x529e0f(0xdc)])[_0x529e0f(0xb1)];return _0x1230c3[_0x529e0f(0xb1)]-_0xaf19d0;}}[_0x5bd5a6(0xd3)](_0x12e8d6,_0x49f385,_0x28ae3f=this[_0x5bd5a6(0xf5)][_0x5bd5a6(0xb4)][_0x5bd5a6(0xf1)](_0x5bd5a6(0xc2))){const _0x263687=_0x5bd5a6;_0x28ae3f&&(_0x49f385=Math[_0x263687(0xab)](_0x49f385,this[_0x263687(0xb9)](_0x12e8d6))),_0x12e8d6[_0x263687(0xb1)]=_0x49f385;}[_0x5bd5a6(0xb9)](_0x44bbb4){const _0x3d5a01=_0x5bd5a6;let _0x26235e=this[_0x3d5a01(0xfe)](_0x44bbb4),_0x3907f8=0x0;for(;_0x26235e;)_0x26235e[_0x3d5a01(0xcf)](),_0x3907f8+=this[_0x3d5a01(0xea)]+_0x26235e[_0x3d5a01(0xaf)],_0x26235e=this[_0x3d5a01(0xfe)](_0x26235e);return _0x3907f8;}}function _0x3c86(_0x319679,_0x29387e){const _0x2049a4=_0x2049();return _0x3c86=function(_0x3c86ee,_0x2961e4){_0x3c86ee=_0x3c86ee-0xaa;let _0x3f354d=_0x2049a4[_0x3c86ee];return _0x3f354d;},_0x3c86(_0x319679,_0x29387e);}function M(_0x4e2dc5,_0x2ada0d){const _0x225489=_0x5bd5a6;return Math[_0x225489(0xab)](_0x4e2dc5-_0x2ada0d,0x0);}function y(_0x50132f){const _0x24dc89=_0x5bd5a6;return null!==_0x50132f&&_0x24dc89(0xfa)==typeof _0x50132f&&0x1===_0x50132f[_0x24dc89(0xd6)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x20959f,_0x343779){const _0xf28cc9=_0x47af,_0x4e3687=_0x20959f();while(!![]){try{const _0x48dfb4=parseInt(_0xf28cc9(0x179))/0x1+parseInt(_0xf28cc9(0x162))/0x2*(parseInt(_0xf28cc9(0x164))/0x3)+parseInt(_0xf28cc9(0x16e))/0x4*(-parseInt(_0xf28cc9(0x167))/0x5)+-parseInt(_0xf28cc9(0x17d))/0x6+parseInt(_0xf28cc9(0x172))/0x7+-parseInt(_0xf28cc9(0x168))/0x8*(parseInt(_0xf28cc9(0x17b))/0x9)+parseInt(_0xf28cc9(0x169))/0xa;if(_0x48dfb4===_0x343779)break;else _0x4e3687['push'](_0x4e3687['shift']());}catch(_0x1e038e){_0x4e3687['push'](_0x4e3687['shift']());}}}(_0xcd81,0xbd0fa));import{ButtonView as _0xe9232,View as _0x514833}from'ckeditor5/src/ui.js';function _0x47af(_0x1cf023,_0x3790b7){const _0xcd816=_0xcd81();return _0x47af=function(_0x47af8c,_0x3ac676){_0x47af8c=_0x47af8c-0x160;let _0x21725a=_0xcd816[_0x47af8c];return _0x21725a;},_0x47af(_0x1cf023,_0x3790b7);}function _0xcd81(){const _0x16ea90=['setTemplate','annotationType','children','2812UdJLTS','ck-annotation-counter__badge--edit-mode','set','span','1423737dkjZxD','isDirty','...','extendTemplate','counterView','number','ck-annotation-counter__badge','883563edDfRH','add','5667057QFzKRe','_badge','8452560CDxPsK','ck-annotation-counter__badge--','toString','6glleyh','ck-annotation-counter','421623qyzNyV','bindTemplate','icon','7645odevPE','8psMEig','23791370mlPPJt','bind'];_0xcd81=function(){return _0x16ea90;};return _0xcd81();}import _0x42e863 from'../../../theme/icons/add-comment.svg';export default class D extends _0xe9232{constructor(_0x229bf9){const _0x46d5bc=_0x47af;super(_0x229bf9);const _0x1199f0=this[_0x46d5bc(0x165)];this[_0x46d5bc(0x170)](_0x46d5bc(0x173),!0x1),this[_0x46d5bc(0x170)](_0x46d5bc(0x177),0x0),this[_0x46d5bc(0x16a)](_0x46d5bc(0x17c))['to'](this,_0x46d5bc(0x173),this,_0x46d5bc(0x177),(_0x3c52b3,_0x56941f)=>_0x3c52b3?_0x46d5bc(0x174):_0x56941f[_0x46d5bc(0x161)]()),this[_0x46d5bc(0x170)](_0x46d5bc(0x16c),''),this[_0x46d5bc(0x166)]=_0x42e863,this[_0x46d5bc(0x175)]({'attributes':{'class':[_0x46d5bc(0x163)]}}),this[_0x46d5bc(0x176)]=new _0x514833(),this[_0x46d5bc(0x176)][_0x46d5bc(0x16b)]({'tag':_0x46d5bc(0x171),'attributes':{'class':[_0x46d5bc(0x178),_0x1199f0['to'](_0x46d5bc(0x16c),_0x15c7ba=>_0x46d5bc(0x160)+_0x15c7ba),_0x1199f0['if'](_0x46d5bc(0x173),_0x46d5bc(0x16f))]},'children':[{'text':_0x1199f0['to'](_0x46d5bc(0x17c))}]}),this[_0x46d5bc(0x16d)][_0x46d5bc(0x17a)](this[_0x46d5bc(0x176)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x22a9c0=_0x2700;(function(_0x41119d,_0x11a617){const _0x2efe85=_0x2700,_0x38f0f3=_0x41119d();while(!![]){try{const _0x237f21=parseInt(_0x2efe85(0x107))/0x1+parseInt(_0x2efe85(0xf5))/0x2+-parseInt(_0x2efe85(0xfe))/0x3+-parseInt(_0x2efe85(0x111))/0x4*(-parseInt(_0x2efe85(0x115))/0x5)+parseInt(_0x2efe85(0x118))/0x6+parseInt(_0x2efe85(0xff))/0x7+-parseInt(_0x2efe85(0x114))/0x8*(parseInt(_0x2efe85(0x105))/0x9);if(_0x237f21===_0x11a617)break;else _0x38f0f3['push'](_0x38f0f3['shift']());}catch(_0x141cb5){_0x38f0f3['push'](_0x38f0f3['shift']());}}}(_0x5881,0x28a4f));function _0x2700(_0x4ad142,_0x4ecc51){const _0x5881ab=_0x5881();return _0x2700=function(_0x27004,_0x344489){_0x27004=_0x27004-0xf4;let _0x148f27=_0x5881ab[_0x27004];return _0x148f27;},_0x2700(_0x4ad142,_0x4ecc51);}import{View as _0x123d07}from'ckeditor5/src/ui.js';function _0x5881(){const _0x2ab000=['_mutationObserver','targetRect','107631oOeVEL','focusTracker','265038EWcONG','add','clear','ck-rounded-corners','content','ck-annotation-wrapper','createCollection','div','attach','bindTemplate','502996AqbQft','height','_updateHeight','488ZmAmMK','10AVWOUj','setTemplate','set','906852UuQOnQ','element','detach','fire','ck-annotation-wrapper--active','isDirty','469492uXkqTw','keystrokes','listenTo','mainView','type','render','length','clientHeight','Esc','604212thsjoL','1364706CwPqov','destroy','isActive','focus'];_0x5881=function(){return _0x2ab000;};return _0x5881();}import{FocusTracker as _0x19cc16,KeystrokeHandler as _0x3dafcf,uid as _0x35eec3}from'ckeditor5/src/utils.js';import _0x4d3b3a from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export default class V extends _0x123d07{constructor(_0x3a43b7,_0x1a6b27){const _0x37c3cb=_0x2700;super(_0x3a43b7),this['id']=_0x35eec3(),this[_0x37c3cb(0x106)]=new _0x19cc16(),this[_0x37c3cb(0xf6)]=new _0x3dafcf(),this[_0x37c3cb(0xf6)][_0x37c3cb(0x117)](_0x37c3cb(0xfd),(_0x558000,_0x168313)=>this[_0x37c3cb(0x11b)](_0x37c3cb(0xfd),_0x168313)),this[_0x37c3cb(0x117)](_0x37c3cb(0x104),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x37c3cb(0x117)](_0x37c3cb(0x112),0x0),this[_0x37c3cb(0x117)](_0x37c3cb(0x101),!0x1),this[_0x37c3cb(0x117)](_0x37c3cb(0xf4),!0x1),this[_0x37c3cb(0x117)](_0x37c3cb(0xfb),0x0),this[_0x37c3cb(0x117)](_0x37c3cb(0xf9),''),this[_0x37c3cb(0x103)]=_0x4d3b3a(()=>this[_0x37c3cb(0x113)]()),this[_0x37c3cb(0x10b)]=this[_0x37c3cb(0x10d)](),this[_0x37c3cb(0x10b)][_0x37c3cb(0x108)](_0x1a6b27),this[_0x37c3cb(0xf8)]=_0x1a6b27;const _0x3f8b42=this[_0x37c3cb(0x110)];this[_0x37c3cb(0x116)]({'tag':_0x37c3cb(0x10e),'attributes':{'class':['ck',_0x37c3cb(0x10c),_0x37c3cb(0x10a),_0x3f8b42['if'](_0x37c3cb(0x101),_0x37c3cb(0x11c))],'tabindex':-0x1},'children':this[_0x37c3cb(0x10b)]});}[_0x22a9c0(0xfa)](){const _0x10bcbe=_0x22a9c0;super[_0x10bcbe(0xfa)](),this[_0x10bcbe(0x106)][_0x10bcbe(0x108)](this[_0x10bcbe(0x119)]),this[_0x10bcbe(0xf6)][_0x10bcbe(0xf7)](this[_0x10bcbe(0x119)]),this[_0x10bcbe(0x103)][_0x10bcbe(0x10f)](this[_0x10bcbe(0x119)]);}[_0x22a9c0(0x100)](){const _0x21cdc1=_0x22a9c0;this[_0x21cdc1(0x10b)][_0x21cdc1(0x109)](),this[_0x21cdc1(0xf6)][_0x21cdc1(0x100)](),this[_0x21cdc1(0x106)][_0x21cdc1(0x100)](),this[_0x21cdc1(0x103)][_0x21cdc1(0x11a)](),super[_0x21cdc1(0x100)]();}[_0x22a9c0(0x102)](){const _0x5bc75c=_0x22a9c0;this[_0x5bc75c(0x119)][_0x5bc75c(0x102)]();}[_0x22a9c0(0x113)](){const _0x4a7bd6=_0x22a9c0,_0x2aff19=this[_0x4a7bd6(0x119)][_0x4a7bd6(0xfc)];_0x2aff19&&(this[_0x4a7bd6(0x112)]=_0x2aff19);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5342db=_0xb5ec;(function(_0x3345fa,_0x18a7be){const _0x4d6164=_0xb5ec,_0x42da03=_0x3345fa();while(!![]){try{const _0x312935=-parseInt(_0x4d6164(0xc6))/0x1+parseInt(_0x4d6164(0xb6))/0x2+-parseInt(_0x4d6164(0xc3))/0x3+-parseInt(_0x4d6164(0xcc))/0x4*(parseInt(_0x4d6164(0xc4))/0x5)+-parseInt(_0x4d6164(0xbd))/0x6*(parseInt(_0x4d6164(0xd4))/0x7)+parseInt(_0x4d6164(0xb7))/0x8*(-parseInt(_0x4d6164(0xcb))/0x9)+parseInt(_0x4d6164(0xb8))/0xa;if(_0x312935===_0x18a7be)break;else _0x42da03['push'](_0x42da03['shift']());}catch(_0x1b0a1d){_0x42da03['push'](_0x42da03['shift']());}}}(_0x4d6e,0x8e100));import{View as _0x38b9bb}from'ckeditor5/src/ui.js';import{toUnit as _0x1a22cd}from'ckeditor5/src/utils.js';import _0x1dc140 from'../../utils/createmutationobserver.js';const qt=_0x1a22cd('px');function _0x4d6e(){const _0x3049d4=['set','render','bottom','1404369ZuCvJI','15PLYtvm','height','679523QrqSeq','attach','content','clear','destroy','83637PcOydm','1327100XdnFBz','ck-sidebar-item--no-animation','top','setTemplate','bindTemplate','ck-sidebar-item','div','bind','14iPCjQj','isAnimationDisabled','updateHeight','137826xCDJcy','464SXuqvU','37602100JSCRjm','element','clientHeight','_mutationObserver','createCollection','1695810XPEjsi','_targetTop','detach'];_0x4d6e=function(){return _0x3049d4;};return _0x4d6e();}function _0xb5ec(_0x321998,_0x294986){const _0x4d6e1a=_0x4d6e();return _0xb5ec=function(_0xb5ec99,_0x41b9ff){_0xb5ec99=_0xb5ec99-0xb4;let _0x4b6eae=_0x4d6e1a[_0xb5ec99];return _0x4b6eae;},_0xb5ec(_0x321998,_0x294986);}export default class C extends _0x38b9bb{constructor(_0x226ee9){const _0x465355=_0xb5ec;super(_0x226ee9),this[_0x465355(0xc0)](_0x465355(0xce),0x0),this[_0x465355(0xc0)](_0x465355(0xc5),0x0),this[_0x465355(0xd3)](_0x465355(0xc2))['to'](this,_0x465355(0xce),this,_0x465355(0xc5),(_0x17d4a9,_0x42d8b5)=>_0x17d4a9+_0x42d8b5),this[_0x465355(0xc0)](_0x465355(0xb4),!0x1),this[_0x465355(0xbb)]=_0x1dc140(()=>this[_0x465355(0xb5)]()),this[_0x465355(0xbe)]=null,this[_0x465355(0xc8)]=this[_0x465355(0xbc)]();const _0x5a75b6=this[_0x465355(0xd0)];this[_0x465355(0xcf)]({'tag':_0x465355(0xd2),'attributes':{'class':[_0x465355(0xd1),_0x5a75b6['to'](_0x465355(0xb4),_0x417074=>_0x417074?_0x465355(0xcd):'')],'style':{'top':_0x5a75b6['to'](_0x465355(0xce),_0x5a1131=>qt(_0x5a1131))}},'children':this[_0x465355(0xc8)]});}[_0x5342db(0xc1)](){const _0x3fd320=_0x5342db;super[_0x3fd320(0xc1)](),this[_0x3fd320(0xbb)][_0x3fd320(0xc7)](this[_0x3fd320(0xb9)]);}[_0x5342db(0xb5)](){const _0x268df2=_0x5342db,_0x751193=this[_0x268df2(0xb9)][_0x268df2(0xba)];_0x751193&&(this[_0x268df2(0xc5)]=_0x751193);}[_0x5342db(0xca)](){const _0x4bf121=_0x5342db;this[_0x4bf121(0xc8)][_0x4bf121(0xc9)](),this[_0x4bf121(0xbb)][_0x4bf121(0xbf)](),super[_0x4bf121(0xca)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x512399,_0x1e72ea){const _0x5a4540=_0x13cb,_0x4d6fe8=_0x512399();while(!![]){try{const _0x284c6a=parseInt(_0x5a4540(0x1db))/0x1*(parseInt(_0x5a4540(0x1cc))/0x2)+parseInt(_0x5a4540(0x1de))/0x3*(-parseInt(_0x5a4540(0x1d6))/0x4)+-parseInt(_0x5a4540(0x1d3))/0x5+-parseInt(_0x5a4540(0x1df))/0x6+-parseInt(_0x5a4540(0x1d7))/0x7+parseInt(_0x5a4540(0x1d5))/0x8*(parseInt(_0x5a4540(0x1d0))/0x9)+-parseInt(_0x5a4540(0x1cf))/0xa*(-parseInt(_0x5a4540(0x1cd))/0xb);if(_0x284c6a===_0x1e72ea)break;else _0x4d6fe8['push'](_0x4d6fe8['shift']());}catch(_0x28cee3){_0x4d6fe8['push'](_0x4d6fe8['shift']());}}}(_0x3e17,0x7d8f4));import{View as _0x50ca89}from'ckeditor5/src/ui.js';function _0x3e17(){const _0x469ef9=['div','minHeight','48jPgsaE','1268100aPTuSE','list','set','12KOfqjp','486937HIlooa','ck-sidebar','270IsYRPx','9RxSNCt','setTemplate','createCollection','1372250qKEArl','number','1497704xDhIul','74500zeCxxX','4701690HIBmLi','class','ck-reset','bindTemplate','97890XEYtsN'];_0x3e17=function(){return _0x469ef9;};return _0x3e17();}import{toUnit as _0x2206fa}from'ckeditor5/src/utils.js';import'../../../theme/sidebar.css';function _0x13cb(_0x4ad3b1,_0xc56783){const _0x3e17d9=_0x3e17();return _0x13cb=function(_0x13cb6b,_0x5d99d0){_0x13cb6b=_0x13cb6b-0x1cc;let _0x298d43=_0x3e17d9[_0x13cb6b];return _0x298d43;},_0x13cb(_0x4ad3b1,_0xc56783);}const qt=_0x2206fa('px');export default class T extends _0x50ca89{constructor(_0x6aa7e0){const _0x237818=_0x13cb;super(_0x6aa7e0);const _0x25d1c7=this[_0x237818(0x1da)];this[_0x237818(0x1e1)](_0x237818(0x1dd),0x0),this[_0x237818(0x1e1)](_0x237818(0x1d8),''),this[_0x237818(0x1e0)]=this[_0x237818(0x1d2)](),this[_0x237818(0x1d1)]({'tag':_0x237818(0x1dc),'attributes':{'class':['ck',_0x237818(0x1ce),_0x237818(0x1d9),_0x25d1c7['to'](_0x237818(0x1d8))],'style':{'minHeight':_0x25d1c7['to'](_0x237818(0x1dd),_0x3d0dda=>_0x237818(0x1d4)==typeof _0x3d0dda?qt(_0x3d0dda+0xa):null)}},'children':this[_0x237818(0x1e0)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b2147=_0x3bda;function _0x4ced(){const _0x42b47a=['cancel','listenTo','wideSidebar','uiUpdate','detach','destroy','_attachToContainer','attach','removeEventListener','context','addEventListener','184TPXDQN','annotations','ck-sidebar--wide','addAnnotation','_refreshPositioningDebounced','activeAnnotation','1637560ZxwIrl','7232965IDFPBa','_destroyEditorAnnotationsIntegration','init','_editorAnnotations','3666285WhKvkA','isAttached','add','_activeAnnotation','refreshPositioning','register','429261dVVjoF','stop','_annotations','stopListening','widesidebar-detach-not-attached','set:container','resize','hasDomSelection','pluginName','617uzchPW','remove','plugins','editors','get','ready','blur','refresh','requires','setActiveAnnotation','container','high','_integrateWithEditorAnnotations','12180159AzhdQP','switchTo','off','updateTargetRect','_detachFromContainer','change:container','134bhMAeW','from','getOrderedSelectedAnnotations','widesidebar-attach-already-attached','6079260wfrIhQ','EditorAnnotations','rearrange','set','WideSidebar','focus','has'];_0x4ced=function(){return _0x42b47a;};return _0x4ced();}(function(_0x11f457,_0xbc74b6){const _0x240286=_0x3bda,_0x5e01e6=_0x11f457();while(!![]){try{const _0x10d654=parseInt(_0x240286(0x19d))/0x1*(parseInt(_0x240286(0x1b0))/0x2)+-parseInt(_0x240286(0x18e))/0x3+-parseInt(_0x240286(0x189))/0x4+parseInt(_0x240286(0x18a))/0x5+parseInt(_0x240286(0x1b4))/0x6+-parseInt(_0x240286(0x194))/0x7*(parseInt(_0x240286(0x183))/0x8)+parseInt(_0x240286(0x1aa))/0x9;if(_0x10d654===_0xbc74b6)break;else _0x5e01e6['push'](_0x5e01e6['shift']());}catch(_0x41736a){_0x5e01e6['push'](_0x5e01e6['shift']());}}}(_0x4ced,0xc6623));import{ContextPlugin as _0x1676e2,Context as _0x421745}from'ckeditor5/src/core.js';import _0x2dab7f from'./annotationsuis.js';import _0x547239 from'./sidebar.js';import{CKEditorError as _0x30d0fa,Collection as _0x38cde9}from'ckeditor5/src/utils.js';import{debounce as _0x223c7a}from'lodash-es';function _0x3bda(_0x11d9f6,_0x439f08){const _0x4cedaf=_0x4ced();return _0x3bda=function(_0x3bda50,_0x561766){_0x3bda50=_0x3bda50-0x177;let _0x5dc33=_0x4cedaf[_0x3bda50];return _0x5dc33;},_0x3bda(_0x11d9f6,_0x439f08);}import _0x1f4b05 from'./editorannotations.js';export default class n extends _0x1676e2{static get[_0x3b2147(0x1a5)](){return[_0x547239,_0x2dab7f];}static get[_0x3b2147(0x19c)](){const _0x1a0b61=_0x3b2147;return _0x1a0b61(0x1b8);}constructor(_0x14a6ff){const _0xa1d3d4=_0x3b2147;super(_0x14a6ff),this[_0xa1d3d4(0x18f)]=!0x1,this[_0xa1d3d4(0x1b7)](_0xa1d3d4(0x188),null),this[_0xa1d3d4(0x184)]=null,this[_0xa1d3d4(0x18d)]=new _0x38cde9(),this[_0xa1d3d4(0x187)]=_0x223c7a(()=>{const _0x7e470a=_0xa1d3d4;this[_0x7e470a(0x184)][_0x7e470a(0x192)]();},0xfa,{'leading':!0x1});}[_0x3b2147(0x18c)](){const _0x3f9288=_0x3b2147,_0x4a70d8=this[_0x3f9288(0x181)][_0x3f9288(0x19f)][_0x3f9288(0x1a1)](_0x2dab7f),_0x2fe2a6=this[_0x3f9288(0x181)][_0x3f9288(0x19f)][_0x3f9288(0x1a1)](_0x547239);_0x4a70d8[_0x3f9288(0x193)](_0x3f9288(0x17a),this),_0x2fe2a6[_0x3f9288(0x1a7)]&&_0x4a70d8[_0x3f9288(0x1ab)](_0x3f9288(0x17a));}[_0x3b2147(0x1a6)](_0xa66ce9){const _0xf3c43f=_0x3b2147;if(_0xa66ce9===this[_0xf3c43f(0x188)])return;const _0x5206bc=this[_0xf3c43f(0x181)][_0xf3c43f(0x19f)][_0xf3c43f(0x1a1)](_0x547239);_0x5206bc[_0xf3c43f(0x191)]=_0xa66ce9;const _0x4db605=this[_0xf3c43f(0x188)];this[_0xf3c43f(0x188)]=_0xa66ce9,_0x5206bc[_0xf3c43f(0x1a4)]({'blurredAnnotation':_0x4db605,'activatedAnnotation':this[_0xf3c43f(0x188)]});}[_0x3b2147(0x17f)](_0x55e7f6){const _0x47d674=_0x3b2147;this[_0x47d674(0x184)]=_0x55e7f6;const _0xd10e54=this[_0x47d674(0x181)][_0x47d674(0x19f)][_0x47d674(0x1a1)](_0x547239);if(_0xd10e54[_0x47d674(0x196)]=_0x55e7f6,this[_0x47d674(0x18f)])throw new _0x30d0fa(_0x47d674(0x1b3),this);this[_0x47d674(0x18f)]=!0x0,this[_0x47d674(0x179)](_0xd10e54,_0x47d674(0x199),()=>{const _0x4d6ad4=_0x47d674;this[_0x4d6ad4(0x17c)](),this[_0x4d6ad4(0x179)](_0xd10e54,_0x4d6ad4(0x1af),_0xea9024=>{const _0x3951a1=_0x4d6ad4;_0xea9024[_0x3951a1(0x1ac)](),this[_0x3951a1(0x17f)](_0x55e7f6);});}),_0xd10e54[_0x47d674(0x17e)]({'viewClass':_0x47d674(0x185)});const _0x272338=_0x29a8d6=>{const _0x20c4b1=_0x47d674;_0x29a8d6[_0x20c4b1(0x1ad)](),_0xd10e54[_0x20c4b1(0x186)](_0x29a8d6);};for(const _0x2d7b0c of _0x55e7f6)_0x272338(_0x2d7b0c);this[_0x47d674(0x179)](_0x55e7f6,_0x47d674(0x190),(_0x49a26a,_0x3ee175)=>{_0x272338(_0x3ee175);}),this[_0x47d674(0x179)](_0x55e7f6,_0x47d674(0x19e),(_0x48e940,_0x1a73d4,_0x4d00ef)=>{const _0x444438=_0x47d674;_0xd10e54[_0x444438(0x1b6)]({'removedAnnotation':_0x1a73d4,'previousAnnotation':_0x55e7f6[_0x444438(0x1a1)](_0x4d00ef-0x1),'nextAnnotation':_0x55e7f6[_0x444438(0x1a1)](_0x4d00ef+0x1)}),_0x1a73d4===this[_0x444438(0x188)]&&this[_0x444438(0x1a6)](null);},{'priority':_0x47d674(0x1a8)}),this[_0x47d674(0x179)](_0x55e7f6,_0x47d674(0x1b9),(_0x4ff466,_0x440e8a)=>{const _0x596b5b=_0x47d674;this[_0x596b5b(0x1a6)](_0x440e8a);}),this[_0x47d674(0x179)](_0x55e7f6,_0x47d674(0x1a3),()=>{const _0x2cd768=_0x47d674;this[_0x2cd768(0x1a6)](null);});const _0xa75c00=this[_0x47d674(0x181)]instanceof _0x421745?this[_0x47d674(0x181)][_0x47d674(0x1a0)]:new _0x38cde9([this[_0x47d674(0x181)]]);for(const _0x5b6eb4 of _0xa75c00)this[_0x47d674(0x1a9)](_0x5b6eb4);this[_0x47d674(0x179)](_0xa75c00,_0x47d674(0x190),(_0x1ac58a,_0x2c8d9d)=>{const _0x2a4cde=_0x47d674;this[_0x2a4cde(0x179)](_0x2c8d9d,_0x2a4cde(0x1a2),()=>{const _0x4bd0ce=_0x2a4cde;this[_0x4bd0ce(0x1a9)](_0x2c8d9d);});}),this[_0x47d674(0x179)](_0xa75c00,_0x47d674(0x19e),(_0x169ae6,_0x2b9a32)=>{const _0x33eefb=_0x47d674;_0x2b9a32[_0x33eefb(0x19f)][_0x33eefb(0x177)](_0x33eefb(0x1b5))&&this[_0x33eefb(0x18b)](_0x2b9a32[_0x33eefb(0x19f)][_0x33eefb(0x1a1)](_0x33eefb(0x1b5)));}),window[_0x47d674(0x182)](_0x47d674(0x19a),this[_0x47d674(0x187)]),this[_0x47d674(0x184)][_0x47d674(0x192)]();}[_0x3b2147(0x17c)](){const _0x90746b=_0x3b2147;if(!this[_0x90746b(0x18f)])throw new _0x30d0fa(_0x90746b(0x198),this);this[_0x90746b(0x1a6)](null);const _0x940a43=this[_0x90746b(0x181)][_0x90746b(0x19f)][_0x90746b(0x1a1)](_0x547239);_0x940a43[_0x90746b(0x1ae)](this[_0x90746b(0x184)]),this[_0x90746b(0x197)](_0x940a43),this[_0x90746b(0x197)](this[_0x90746b(0x184)]),this[_0x90746b(0x181)]instanceof _0x421745&&this[_0x90746b(0x197)](this[_0x90746b(0x181)][_0x90746b(0x1a0)]);for(const _0x53d1f2 of Array[_0x90746b(0x1b1)](this[_0x90746b(0x18d)]))this[_0x90746b(0x18b)](_0x53d1f2);window[_0x90746b(0x180)](_0x90746b(0x19a),this[_0x90746b(0x187)]),this[_0x90746b(0x187)][_0x90746b(0x178)](),this[_0x90746b(0x188)]=null,this[_0x90746b(0x18f)]=!0x1,this[_0x90746b(0x184)]=null;}[_0x3b2147(0x17d)](){const _0x3a568f=_0x3b2147;this[_0x3a568f(0x18f)]&&this[_0x3a568f(0x17c)]();}[_0x3b2147(0x1a9)](_0x5708e6){const _0x1681bc=_0x3b2147,_0x4c911e=_0x5708e6[_0x1681bc(0x19f)][_0x1681bc(0x1a1)](_0x1f4b05);if(!_0x4c911e)return;const _0x1a1766=()=>{const _0x910a6e=_0x1681bc,_0x1077d1=_0x4c911e[_0x910a6e(0x1b2)]({'annotations':this[_0x910a6e(0x184)],'activeAnnotation':this[_0x910a6e(0x188)]});this[_0x910a6e(0x1a6)](_0x1077d1[0x0]||null);};this[_0x1681bc(0x179)](_0x4c911e,_0x1681bc(0x1a4),_0x1a1766),this[_0x1681bc(0x179)](_0x4c911e,_0x1681bc(0x1a3),(_0x1461d2,{isAnnotationTracked:_0x516115})=>{const _0xc06c8c=_0x1681bc;this[_0xc06c8c(0x188)]&&_0x516115(this[_0xc06c8c(0x188)])&&this[_0xc06c8c(0x1a6)](null);}),this[_0x1681bc(0x179)](_0x4c911e,_0x1681bc(0x17b),()=>{const _0x59a1d7=_0x1681bc;this[_0x59a1d7(0x187)]();}),this[_0x1681bc(0x179)](this[_0x1681bc(0x184)],_0x1681bc(0x1a3),_0x2b4f44=>{const _0x4287b7=_0x1681bc;_0x4c911e[_0x4287b7(0x19b)]()&&(_0x1a1766(),_0x2b4f44[_0x4287b7(0x195)]());},{'priority':_0x1681bc(0x1a8)}),this[_0x1681bc(0x18d)][_0x1681bc(0x190)](_0x4c911e);}[_0x3b2147(0x18b)](_0x59de19){const _0x3de49d=_0x3b2147;this[_0x3de49d(0x197)](_0x59de19),this[_0x3de49d(0x18d)][_0x3de49d(0x19e)](_0x59de19);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x462f(_0x10d92c,_0xe252b6){const _0x15ec5a=_0x15ec();return _0x462f=function(_0x462f4c,_0x4ab830){_0x462f4c=_0x462f4c-0x12c;let _0x4247d4=_0x15ec5a[_0x462f4c];return _0x4247d4;},_0x462f(_0x10d92c,_0xe252b6);}const _0x6f66aa=_0x462f;(function(_0x2b7de1,_0x5d2dd5){const _0x2f4a11=_0x462f,_0x7b0c3=_0x2b7de1();while(!![]){try{const _0xddfff6=parseInt(_0x2f4a11(0x13d))/0x1*(parseInt(_0x2f4a11(0x13a))/0x2)+parseInt(_0x2f4a11(0x130))/0x3+-parseInt(_0x2f4a11(0x145))/0x4*(parseInt(_0x2f4a11(0x13f))/0x5)+parseInt(_0x2f4a11(0x144))/0x6+parseInt(_0x2f4a11(0x142))/0x7+parseInt(_0x2f4a11(0x135))/0x8+-parseInt(_0x2f4a11(0x143))/0x9;if(_0xddfff6===_0x5d2dd5)break;else _0x7b0c3['push'](_0x7b0c3['shift']());}catch(_0x3a0196){_0x7b0c3['push'](_0x7b0c3['shift']());}}}(_0x15ec,0xdff4b));function _0x15ec(){const _0x109dd3=['change','comment:','tableCell','substr','2204212obaqya','editor','isObject','1BGJknT','isEnabled','5607355wnZPsU','schema','element','7764484KBXnhe','28990242MhvPjE','4478970MSabOf','4LfQFvN','execute','model','refresh','_trimToContent','push','_hasContent','addMarker','getRanges','getLastMatchingPosition','$textProxy','getItems','end','_itemIsContent','selection','item','5335233xkRpCO','createRange','backward','start','document','4189664RciMmv'];_0x15ec=function(){return _0x109dd3;};return _0x15ec();}import{Command as _0x54c84c}from'ckeditor5/src/core.js';import{uid as _0x4016c4}from'ckeditor5/src/utils.js';export default class G extends _0x54c84c{[_0x6f66aa(0x148)](){const _0x302895=_0x6f66aa,_0x5a0255=this[_0x302895(0x13b)][_0x302895(0x147)][_0x302895(0x134)][_0x302895(0x12e)];for(const _0x4a11e6 of _0x5a0255[_0x302895(0x14d)]())if(this[_0x302895(0x14b)](_0x4a11e6))return void(this[_0x302895(0x13e)]=!0x0);this[_0x302895(0x13e)]=!0x1;}[_0x6f66aa(0x146)]({threadId:_0x24039a=_0x4016c4()}={}){const _0x3f2d81=_0x6f66aa,_0x591a48=this[_0x3f2d81(0x13b)][_0x3f2d81(0x147)],_0x4648b7=[];for(const _0x2b1d64 of _0x591a48[_0x3f2d81(0x134)][_0x3f2d81(0x12e)][_0x3f2d81(0x14d)]())this[_0x3f2d81(0x14b)](_0x2b1d64)&&_0x4648b7[_0x3f2d81(0x14a)](this[_0x3f2d81(0x149)](_0x2b1d64));_0x591a48[_0x3f2d81(0x136)](_0x4cdd59=>{const _0xc5938b=_0x3f2d81;for(const _0x2054e3 of _0x4648b7){const _0x20c0cc=_0x4016c4()[_0xc5938b(0x139)](0x1,0x5),_0x50f2a4=_0xc5938b(0x137)+_0x24039a+':'+_0x20c0cc;_0x4cdd59[_0xc5938b(0x14c)](_0x50f2a4,{'range':_0x2054e3,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x6f66aa(0x14b)](_0x420897){const _0x1dda62=_0x6f66aa;for(const _0xb3ce8c of _0x420897[_0x1dda62(0x150)]())if(this[_0x1dda62(0x12d)](_0xb3ce8c))return!0x0;return!0x1;}[_0x6f66aa(0x12d)](_0x58f7f4){const _0x5d0ecf=_0x6f66aa;return _0x58f7f4['is'](_0x5d0ecf(0x14f))||this[_0x5d0ecf(0x13b)][_0x5d0ecf(0x147)][_0x5d0ecf(0x140)][_0x5d0ecf(0x13c)](_0x58f7f4)&&!_0x58f7f4['is'](_0x5d0ecf(0x141),_0x5d0ecf(0x138));}[_0x6f66aa(0x149)](_0x29857d){const _0x21f1f6=_0x6f66aa,_0x5a868c=_0x177718=>!this[_0x21f1f6(0x12d)](_0x177718[_0x21f1f6(0x12f)]),_0x5ae170=_0x29857d[_0x21f1f6(0x133)][_0x21f1f6(0x14e)](_0x5a868c),_0x439369=_0x29857d[_0x21f1f6(0x12c)][_0x21f1f6(0x14e)](_0x5a868c,{'direction':_0x21f1f6(0x132)});return this[_0x21f1f6(0x13b)][_0x21f1f6(0x147)][_0x21f1f6(0x131)](_0x5ae170,_0x439369);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f7c47=_0x1caf;(function(_0x278466,_0xc6cc43){const _0x4fe2fb=_0x1caf,_0x35485a=_0x278466();while(!![]){try{const _0x2e2c37=-parseInt(_0x4fe2fb(0x182))/0x1*(-parseInt(_0x4fe2fb(0x17c))/0x2)+parseInt(_0x4fe2fb(0x190))/0x3*(-parseInt(_0x4fe2fb(0x17f))/0x4)+parseInt(_0x4fe2fb(0x175))/0x5*(-parseInt(_0x4fe2fb(0x17e))/0x6)+parseInt(_0x4fe2fb(0x197))/0x7+parseInt(_0x4fe2fb(0x184))/0x8+-parseInt(_0x4fe2fb(0x176))/0x9+parseInt(_0x4fe2fb(0x183))/0xa;if(_0x2e2c37===_0xc6cc43)break;else _0x35485a['push'](_0x35485a['shift']());}catch(_0x39b418){_0x35485a['push'](_0x35485a['shift']());}}}(_0x5203,0x6109c));function _0x5203(){const _0x442f94=['isActive','change:archivedAt','requires','addCommentThread','listenTo','add','2700586nhJZeu','length','626130nUMzce','562014ozbxLL','stopListening','_calculatePosition','has','init','findIndex','14hVngzW','archivedAt','36SGLNot','65632lIvJMl','remove','plugins','49832JWTwXz','2453420TDdYzF','2375504joSqYG','context','collection','focus','archivedThreads','removeCommentThread','getCommentThread','CommentsArchive','pluginName','highest','get','activate','12cbwdqD'];_0x5203=function(){return _0x442f94;};return _0x5203();}import{ContextPlugin as _0x59c6f6}from'ckeditor5/src/core.js';import{Collection as _0xba563a}from'ckeditor5/src/utils.js';import _0x29b13b from'./commentsrepository.js';function _0x1caf(_0x3b7632,_0x2ad34c){const _0x52030f=_0x5203();return _0x1caf=function(_0x1caffe,_0x37fe11){_0x1caffe=_0x1caffe-0x175;let _0x1ff778=_0x52030f[_0x1caffe];return _0x1ff778;},_0x1caf(_0x3b7632,_0x2ad34c);}import _0x247f5c from'../annotations/annotations.js';export default class p extends _0x59c6f6{static get[_0x1f7c47(0x18c)](){const _0x218f6c=_0x1f7c47;return _0x218f6c(0x18b);}static get[_0x1f7c47(0x193)](){return[_0x29b13b,_0x247f5c];}constructor(_0x371bea){const _0x3edc0d=_0x1f7c47;super(_0x371bea),this[_0x3edc0d(0x188)]=new _0xba563a();}[_0x1f7c47(0x17a)](){const _0x39248c=_0x1f7c47,_0x2d3d41=this[_0x39248c(0x185)],_0x51c03b=_0x2d3d41[_0x39248c(0x181)][_0x39248c(0x18e)](_0x29b13b),_0x5cecce=_0x2d3d41[_0x39248c(0x181)][_0x39248c(0x18e)](_0x247f5c);this[_0x39248c(0x195)](_0x51c03b,_0x39248c(0x194),(_0x17e164,{threadId:_0x23f63c})=>{const _0x47663a=_0x39248c,_0x22b98d=_0x51c03b[_0x47663a(0x18a)](_0x23f63c);_0x22b98d[_0x47663a(0x17d)]&&this[_0x47663a(0x188)][_0x47663a(0x196)](_0x22b98d,this[_0x47663a(0x178)](_0x22b98d[_0x47663a(0x17d)])),this[_0x47663a(0x195)](_0x22b98d,_0x47663a(0x192),(_0x4080d6,_0x537dff,_0x18d9cc)=>{const _0x29c320=_0x47663a;_0x18d9cc?this[_0x29c320(0x188)][_0x29c320(0x179)](_0x22b98d)||this[_0x29c320(0x188)][_0x29c320(0x196)](_0x22b98d,this[_0x29c320(0x178)](_0x22b98d[_0x29c320(0x17d)])):this[_0x29c320(0x188)][_0x29c320(0x179)](_0x22b98d)&&this[_0x29c320(0x188)][_0x29c320(0x180)](_0x22b98d);});}),this[_0x39248c(0x195)](_0x51c03b,_0x39248c(0x189),(_0x2b05d8,{threadId:_0x46d9d2})=>{const _0x41306e=_0x39248c,_0x2d4a93=_0x51c03b[_0x41306e(0x18a)](_0x46d9d2);this[_0x41306e(0x177)](_0x2d4a93),this[_0x41306e(0x188)][_0x41306e(0x179)](_0x2d4a93)&&this[_0x41306e(0x188)][_0x41306e(0x180)](_0x2d4a93);},{'priority':_0x39248c(0x18d)}),this[_0x39248c(0x195)](_0x5cecce[_0x39248c(0x186)],_0x39248c(0x187),(_0x259363,_0x133be7)=>{const _0x188ecb=_0x39248c;_0x133be7[_0x188ecb(0x191)]=!0x0,_0x5cecce[_0x188ecb(0x18f)](_0x133be7);});}[_0x1f7c47(0x178)](_0x5ef3c2){const _0x4245c1=_0x1f7c47,_0xea3bfb=[...this[_0x4245c1(0x188)]][_0x4245c1(0x17b)](_0x3616c3=>_0x3616c3[_0x4245c1(0x17d)]<_0x5ef3c2);return _0xea3bfb>-0x1?_0xea3bfb:this[_0x4245c1(0x188)][_0x4245c1(0x198)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1122(){const _0x406565=['collection','get','splice','find','init','menuBar:commentsArchive','_threadToController','tooltip','962792YCYtQk','_calculatePosition','EDITOR_TOP_SIDE','pluginName','show','remove','archivedThreads','_pendingThreads','CommentsRepository','annotationViews','10evxmcx','add','commentsArchiveView','6GFmPNT','plugins','679HcawpW','set','channelId','3707165oTKNxo','componentFactory','isVisible','COMMENTS_ARCHIVE','focusableElements','11168jMDaFU','innerView','filter','view','_createCommentsArchiveButton','collaboration.channelId','config','_toggleDialog','14czNZca','archivedAt','indexOf','_visibleAnnotations','6197400jimNtw','2995416lsfgYY','8202PBAikQ','editor','locale','Annotations','hide','bind','length','commentsArchive','listenTo','stopListening','getByInnerView','25058363WUSSIy','push','CommentsArchiveUI','isEnabled','requires','Dialog','execute','findIndex'];_0x1122=function(){return _0x406565;};return _0x1122();}const _0x2a084a=_0x3378;function _0x3378(_0x5c1d8e,_0x35dc08){const _0x1122c5=_0x1122();return _0x3378=function(_0x3378a5,_0x337ce4){_0x3378a5=_0x3378a5-0x1f3;let _0x3cbf68=_0x1122c5[_0x3378a5];return _0x3cbf68;},_0x3378(_0x5c1d8e,_0x35dc08);}(function(_0x1e78eb,_0x23cfb3){const _0xc575df=_0x3378,_0x52fb94=_0x1e78eb();while(!![]){try{const _0x3982dd=-parseInt(_0xc575df(0x1f4))/0x1*(parseInt(_0xc575df(0x22c))/0x2)+parseInt(_0xc575df(0x222))/0x3*(-parseInt(_0xc575df(0x215))/0x4)+-parseInt(_0xc575df(0x227))/0x5+parseInt(_0xc575df(0x1fa))/0x6*(-parseInt(_0xc575df(0x224))/0x7)+-parseInt(_0xc575df(0x1f8))/0x8+parseInt(_0xc575df(0x1f9))/0x9+-parseInt(_0xc575df(0x21f))/0xa*(-parseInt(_0xc575df(0x205))/0xb);if(_0x3982dd===_0x23cfb3)break;else _0x52fb94['push'](_0x52fb94['shift']());}catch(_0x5ea978){_0x52fb94['push'](_0x52fb94['shift']());}}}(_0x1122,0x62492));import'../../theme/commentsarchive.css';import{Plugin as _0x367e5b}from'ckeditor5/src/core.js';import{ViewCollection as _0x428e26,MenuBarMenuListItemButtonView as _0x3c7bb6,ButtonView as _0x500dea,Dialog as _0x2085ae,DialogViewPosition as _0xd1efde}from'ckeditor5/src/ui.js';import _0x1384fa from'../../theme/icons/comments-archive.svg';import{getTranslation as _0xe17492}from'../utils/common-translations.js';import _0x321b15 from'./ui/view/commentsarchiveview.js';import _0x3d805b from'./commentsarchive.js';export default class a extends _0x367e5b{static get[_0x2a084a(0x218)](){const _0x581704=_0x2a084a;return _0x581704(0x207);}static get[_0x2a084a(0x209)](){return[_0x3d805b,_0x2085ae];}constructor(_0x508cf9){const _0x86a9e=_0x2a084a;super(_0x508cf9),this[_0x86a9e(0x21e)]=new _0x428e26(),this[_0x86a9e(0x21c)]=[];}[_0x2a084a(0x211)](){const _0x426d53=_0x2a084a;this[_0x426d53(0x1fb)]['ui'][_0x426d53(0x228)][_0x426d53(0x220)](_0x426d53(0x201),()=>this[_0x426d53(0x230)](_0x500dea,!0x0)),this[_0x426d53(0x1fb)]['ui'][_0x426d53(0x228)][_0x426d53(0x220)](_0x426d53(0x212),()=>this[_0x426d53(0x230)](_0x3c7bb6));const _0x867d27=this[_0x426d53(0x1fb)][_0x426d53(0x223)][_0x426d53(0x20e)](_0x3d805b),_0x12f29a=this[_0x426d53(0x1fb)][_0x426d53(0x223)][_0x426d53(0x20e)](_0x426d53(0x1fd)),_0x46d0be=this[_0x426d53(0x1fb)][_0x426d53(0x223)][_0x426d53(0x20e)](_0x426d53(0x21d));this[_0x426d53(0x202)](_0x867d27[_0x426d53(0x21b)],_0x426d53(0x220),(_0x5b313c,_0x439458)=>{const _0x431a13=_0x426d53,_0x5b412d=this[_0x431a13(0x1fb)][_0x431a13(0x232)][_0x431a13(0x20e)](_0x431a13(0x231));if(!_0x5b412d||_0x439458[_0x431a13(0x226)]===_0x5b412d){const _0x56b51b=_0x46d0be[_0x431a13(0x213)][_0x431a13(0x20e)](_0x439458);if(!_0x56b51b)return void this[_0x431a13(0x21c)][_0x431a13(0x206)](_0x439458);const _0x144315=this[_0x431a13(0x216)](_0x439458[_0x431a13(0x1f5)]),_0x5aca36=_0x12f29a[_0x431a13(0x204)](_0x56b51b[_0x431a13(0x22f)]);_0x5aca36[_0x431a13(0x229)]&&_0x12f29a[_0x431a13(0x1f7)][_0x431a13(0x21a)](_0x5aca36),this[_0x431a13(0x21e)][_0x431a13(0x220)](_0x5aca36[_0x431a13(0x22f)],_0x144315);}}),this[_0x426d53(0x202)](_0x12f29a[_0x426d53(0x20d)],_0x426d53(0x220),(_0x5e118e,_0x35e631)=>{const _0x14dbd1=_0x426d53,_0xf7b8b8=this[_0x14dbd1(0x21c)][_0x14dbd1(0x210)](_0x78c8d1=>{const _0x545193=_0x14dbd1,_0x32e5cc=_0x46d0be[_0x545193(0x213)][_0x545193(0x20e)](_0x78c8d1);return _0x32e5cc&&_0x35e631[_0x545193(0x22d)]===_0x32e5cc[_0x545193(0x22f)];});if(_0xf7b8b8){const _0x44683a=this[_0x14dbd1(0x216)](_0xf7b8b8[_0x14dbd1(0x1f5)]);this[_0x14dbd1(0x21e)][_0x14dbd1(0x220)](_0x35e631[_0x14dbd1(0x22f)],_0x44683a),this[_0x14dbd1(0x21c)][_0x14dbd1(0x20f)](this[_0x14dbd1(0x21c)][_0x14dbd1(0x1f6)](_0xf7b8b8),0x1);}}),this[_0x426d53(0x202)](_0x867d27[_0x426d53(0x21b)],_0x426d53(0x21a),(_0x1981ce,_0x2d45b1)=>{const _0x759780=_0x426d53,_0x17f72f=this[_0x759780(0x1fb)][_0x759780(0x232)][_0x759780(0x20e)](_0x759780(0x231));if(!_0x17f72f||_0x2d45b1[_0x759780(0x226)]===_0x17f72f){const _0x2542bc=_0x46d0be[_0x759780(0x213)][_0x759780(0x20e)](_0x2d45b1),_0xab65c6=_0x12f29a[_0x759780(0x204)](_0x2542bc[_0x759780(0x22f)]);this[_0x759780(0x21e)][_0x759780(0x21a)](_0xab65c6[_0x759780(0x22f)]),this[_0x759780(0x203)](_0xab65c6[_0x759780(0x22b)]);}});}[_0x2a084a(0x216)](_0x1a124b){const _0x20d8e3=_0x2a084a,_0x2246d3=this[_0x20d8e3(0x1fb)][_0x20d8e3(0x232)][_0x20d8e3(0x20e)](_0x20d8e3(0x231)),_0x1c1ede=[...this[_0x20d8e3(0x1fb)][_0x20d8e3(0x223)][_0x20d8e3(0x20e)](_0x3d805b)[_0x20d8e3(0x21b)]][_0x20d8e3(0x22e)](_0x4d81ea=>_0x4d81ea[_0x20d8e3(0x226)]===_0x2246d3)[_0x20d8e3(0x20c)](_0x198dd4=>_0x198dd4[_0x20d8e3(0x1f5)]<_0x1a124b);return _0x1c1ede<0x0||_0x1c1ede>this[_0x20d8e3(0x21e)][_0x20d8e3(0x200)]?this[_0x20d8e3(0x21e)][_0x20d8e3(0x200)]:_0x1c1ede-0x1;}[_0x2a084a(0x1f3)](){const _0x381a74=_0x2a084a,_0x4cc43a=this[_0x381a74(0x1fb)],_0x5567d6=_0x4cc43a[_0x381a74(0x223)][_0x381a74(0x20e)](_0x381a74(0x20a));this[_0x381a74(0x221)]||(this[_0x381a74(0x221)]=new _0x321b15(_0x4cc43a[_0x381a74(0x1fc)],this[_0x381a74(0x21e)])),_0x381a74(0x201)===_0x5567d6['id']?_0x5567d6[_0x381a74(0x1fe)]():_0x5567d6[_0x381a74(0x219)]({'id':_0x381a74(0x201),'title':_0xe17492(_0x4cc43a[_0x381a74(0x1fc)],_0x381a74(0x22a)),'icon':_0x1384fa,'hasCloseButton':!0x0,'content':this[_0x381a74(0x221)],'position':_0xd1efde[_0x381a74(0x217)]});}[_0x2a084a(0x230)](_0x281c7b,_0x2adb46=!0x1){const _0xc9f7df=_0x2a084a,_0x26f626=this[_0xc9f7df(0x1fb)][_0xc9f7df(0x1fc)],_0x414839=new _0x281c7b(_0x26f626);return _0x414839[_0xc9f7df(0x1ff)](_0xc9f7df(0x208))['to'](this,_0xc9f7df(0x208)),_0x414839[_0xc9f7df(0x225)]({'label':_0xe17492(_0x26f626,_0xc9f7df(0x22a)),'icon':_0x1384fa}),_0x2adb46&&(_0x414839[_0xc9f7df(0x214)]=!0x0),this[_0xc9f7df(0x202)](_0x414839,_0xc9f7df(0x20b),()=>this[_0xc9f7df(0x1f3)]()),_0x414839;}}
|