@ckeditor/ckeditor5-comments 41.4.2 → 42.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/build/comments.js +1 -1
- package/dist/index.js +9 -1
- 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/dist/types/annotations/annotation.d.ts +1 -1
- package/dist/types/comments/commentsrepository.d.ts +2 -2
- package/dist/types/comments/ui/commenteditor/commenteditor.d.ts +1 -1
- package/dist/types/comments/ui/commentthreadcontroller.d.ts +1 -1
- package/dist/types/comments/ui/view/commentthreadview.d.ts +1 -1
- package/dist/types/comments/ui/view/commentview.d.ts +1 -1
- package/dist/types/config.d.ts +1 -4
- package/package.json +3 -3
- package/src/annotations/annotation.d.ts +1 -1
- package/src/annotations/annotation.js +2 -1
- 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.d.ts +2 -2
- package/src/comments/commentsrepository.js +3 -1
- 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.d.ts +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -1
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.d.ts +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -1
- 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.d.ts +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -1
- package/src/comments/ui/view/commentview.d.ts +1 -1
- package/src/comments/ui/view/commentview.js +2 -1
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/config.d.ts +1 -4
- 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
|
-
|
|
23
|
+
function _0x341b(_0x731a73,_0xae7eba){const _0x331865=_0x3318();return _0x341b=function(_0x341b65,_0x3ea7f9){_0x341b65=_0x341b65-0x10c;let _0x181344=_0x331865[_0x341b65];return _0x181344;},_0x341b(_0x731a73,_0xae7eba);}function _0x3318(){const _0x45ee93=['annotation','2430612pSNyjn','1169369eWmmIt','push','hasDomSelection','requires','init','update','map','editing','cancel','getByInnerView','getOrderedSelectedAnnotations','add','change:range','_editorAnnotationsData','range','185CPIvBs','from','5580532hHWLYm','isReadOnly','change:isFocused','set','collection','fire','registerAnnotation','has','innerView','refresh','pluginName','document','get','2863540kabVIV','editorannotations-invalid-source-callback','listenTo','containsRange','711633JMfDMq','view','getRanges','isCollapsed','focusTracker','directChange','element','41808WZExgj','sort','selection','uiUpdate','isEqual','8lCSkwV','plugins','blur','EditorAnnotations','delete','addSourceCollector','model','function','_dataCollectors','refreshSelectedViews','12304943OAGpmX','_editorAnnotations','remove','editor'];_0x3318=function(){return _0x45ee93;};return _0x3318();}const _0xcd5a7e=_0x341b;(function(_0x139f90,_0x3ce974){const _0xf3fe92=_0x341b,_0x3ce357=_0x139f90();while(!![]){try{const _0x4bf477=-parseInt(_0xf3fe92(0x13e))/0x1+parseInt(_0xf3fe92(0x11e))/0x2+-parseInt(_0xf3fe92(0x122))/0x3+-parseInt(_0xf3fe92(0x111))/0x4+-parseInt(_0xf3fe92(0x10f))/0x5*(-parseInt(_0xf3fe92(0x129))/0x6)+-parseInt(_0xf3fe92(0x138))/0x7*(-parseInt(_0xf3fe92(0x12e))/0x8)+parseInt(_0xf3fe92(0x13d))/0x9;if(_0x4bf477===_0x3ce974)break;else _0x3ce357['push'](_0x3ce357['shift']());}catch(_0x17b17f){_0x3ce357['push'](_0x3ce357['shift']());}}}(_0x3318,0xdf94e));import{Plugin as _0x1d7109}from'ckeditor5/src/core.js';import{CKEditorError as _0x50442d}from'ckeditor5/src/utils.js';import{debounce as _0x2b281d}from'lodash-es';import _0x127785 from'./annotations.js';export default class k extends _0x1d7109{static get[_0xcd5a7e(0x141)](){return[_0x127785];}static get[_0xcd5a7e(0x11b)](){const _0x4db0eb=_0xcd5a7e;return _0x4db0eb(0x131);}constructor(_0x591d0a){const _0x14280c=_0xcd5a7e;super(_0x591d0a),this[_0x14280c(0x136)]=new Set(),this[_0x14280c(0x139)]=new Set();}[_0xcd5a7e(0x142)](){const _0x577bff=_0xcd5a7e,_0x56f06e=this[_0x577bff(0x13b)],_0x20fa61=_0x56f06e[_0x577bff(0x134)][_0x577bff(0x11c)][_0x577bff(0x12b)],_0x68fdbb=_0x2b281d(()=>this[_0x577bff(0x137)](),0xa);_0x20fa61['on'](_0x577bff(0x10c),(_0x29b7e0,_0x3ed0ff)=>{const _0x15da0f=_0x577bff;_0x3ed0ff[_0x15da0f(0x127)]&&(_0x68fdbb[_0x15da0f(0x146)](),this[_0x15da0f(0x137)]());}),this[_0x577bff(0x120)](_0x56f06e[_0x577bff(0x145)][_0x577bff(0x123)][_0x577bff(0x11c)],_0x577bff(0x113),(_0x2e55cd,_0x13cbaa,_0x1c3427)=>{_0x1c3427&&_0x68fdbb();}),this[_0x577bff(0x120)](_0x56f06e['ui'][_0x577bff(0x126)],_0x577bff(0x113),(_0x549bbb,_0x12c600,_0x326aa1)=>{const _0x1bb18d=_0x577bff;_0x326aa1||_0x56f06e[_0x1bb18d(0x112)]||this[_0x1bb18d(0x116)](_0x1bb18d(0x130),{'isAnnotationTracked':_0xd94ac7=>this[_0x1bb18d(0x10d)][_0x1bb18d(0x118)](_0xd94ac7[_0x1bb18d(0x119)])});}),this[_0x577bff(0x120)](this[_0x577bff(0x13b)]['ui'],_0x577bff(0x143),()=>this[_0x577bff(0x116)](_0x577bff(0x12c)));}[_0xcd5a7e(0x117)](_0x3eded5){const _0x4a5cd1=_0xcd5a7e;if(this[_0x4a5cd1(0x139)][_0x4a5cd1(0x118)](_0x3eded5[_0x4a5cd1(0x123)]))return;this[_0x4a5cd1(0x139)][_0x4a5cd1(0x149)](_0x3eded5[_0x4a5cd1(0x123)]),this[_0x4a5cd1(0x13b)]['ui'][_0x4a5cd1(0x126)][_0x4a5cd1(0x149)](_0x3eded5[_0x4a5cd1(0x123)][_0x4a5cd1(0x128)]);const _0x4e68ef=this[_0x4a5cd1(0x13b)][_0x4a5cd1(0x12f)][_0x4a5cd1(0x11d)](_0x127785);this[_0x4a5cd1(0x120)](_0x4e68ef[_0x4a5cd1(0x115)],_0x4a5cd1(0x13a),(_0x127af2,_0x50f76a)=>{const _0x8e574b=_0x4a5cd1;this[_0x8e574b(0x13b)]['ui'][_0x8e574b(0x126)][_0x8e574b(0x13a)](_0x50f76a[_0x8e574b(0x123)][_0x8e574b(0x128)]),this[_0x8e574b(0x139)][_0x8e574b(0x132)](_0x50f76a[_0x8e574b(0x123)]);});}[_0xcd5a7e(0x140)](){const _0x5dd59e=_0xcd5a7e;return this[_0x5dd59e(0x13b)][_0x5dd59e(0x145)][_0x5dd59e(0x123)][_0x5dd59e(0x140)];}[_0xcd5a7e(0x133)](_0x1afa6a){const _0x2a6e2e=_0xcd5a7e;if(_0x2a6e2e(0x135)!=typeof _0x1afa6a)throw new _0x50442d(_0x2a6e2e(0x11f));this[_0x2a6e2e(0x136)][_0x2a6e2e(0x149)](_0x1afa6a);}[_0xcd5a7e(0x137)](){const _0x45303d=_0xcd5a7e;this[_0x45303d(0x116)](_0x45303d(0x11a));}[_0xcd5a7e(0x148)]({activeAnnotation:_0x46d715,annotations:_0x1a32db}){const _0x3df201=_0xcd5a7e,_0x4e0460=[],_0x591982=this[_0x3df201(0x13b)][_0x3df201(0x134)][_0x3df201(0x11c)][_0x3df201(0x12b)],_0x13fbad=Array[_0x3df201(0x110)](_0x591982[_0x3df201(0x124)]());for(const [_0x69c60a,_0x5d5917]of this[_0x3df201(0x10d)]){const _0x5e4186=_0x379ef1(_0x5d5917),_0x310f30=_0x1a32db[_0x3df201(0x147)](_0x69c60a);_0x5e4186&&_0x310f30&&_0x4e0460[_0x3df201(0x13f)]({'annotation':_0x310f30,'range':_0x5e4186});}function _0x379ef1(_0x11d479){const _0x4f9beb=_0x3df201;for(const _0x29129d of _0x11d479)for(const _0x977c3e of _0x13fbad)if(_0x29129d[_0x4f9beb(0x121)](_0x977c3e,!_0x591982[_0x4f9beb(0x125)]))return _0x29129d;return null;}return _0x4e0460[_0x3df201(0x12a)]((_0x3f7775,_0x12d865)=>{const _0x916109=_0x3df201,_0x3787bd=_0x3f7775[_0x916109(0x10e)],_0x51ccc7=_0x12d865[_0x916109(0x10e)];if(!_0x3787bd[_0x916109(0x12d)](_0x51ccc7)){if(_0x3787bd[_0x916109(0x121)](_0x51ccc7,!0x0))return 0x1;if(_0x51ccc7[_0x916109(0x121)](_0x3787bd,!0x0))return-0x1;}return _0x3f7775[_0x916109(0x13c)]==_0x46d715?-0x1:_0x12d865[_0x916109(0x13c)]==_0x46d715?0x1:0x0;})[_0x3df201(0x144)](_0x41511e=>_0x41511e[_0x3df201(0x13c)]);}get[_0xcd5a7e(0x10d)](){const _0x17b988=_0xcd5a7e,_0x36100e=new Map();for(const _0xeec3d9 of Array[_0x17b988(0x110)](this[_0x17b988(0x136)]))for(const [_0x29ac03,_0x426a5e]of _0xeec3d9())_0x36100e[_0x17b988(0x114)](_0x29ac03,_0x426a5e);return _0x36100e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x51b8f7=_0x29f6;(function(_0x295948,_0x52e646){const _0x2cd4cd=_0x29f6,_0x1a2f68=_0x295948();while(!![]){try{const _0x510ccc=-parseInt(_0x2cd4cd(0xb1))/0x1+-parseInt(_0x2cd4cd(0x84))/0x2*(-parseInt(_0x2cd4cd(0xdf))/0x3)+parseInt(_0x2cd4cd(0xa1))/0x4+-parseInt(_0x2cd4cd(0x9f))/0x5*(parseInt(_0x2cd4cd(0xa7))/0x6)+-parseInt(_0x2cd4cd(0xd7))/0x7*(-parseInt(_0x2cd4cd(0xc4))/0x8)+parseInt(_0x2cd4cd(0xc8))/0x9+-parseInt(_0x2cd4cd(0xdc))/0xa;if(_0x510ccc===_0x52e646)break;else _0x1a2f68['push'](_0x1a2f68['shift']());}catch(_0x53488f){_0x1a2f68['push'](_0x1a2f68['shift']());}}}(_0x5514,0x30a27));function _0x29f6(_0xed19db,_0x42e9fa){const _0x5514d7=_0x5514();return _0x29f6=function(_0x29f647,_0x4ac7ff){_0x29f647=_0x29f647-0x83;let _0x1d6988=_0x5514d7[_0x29f647];return _0x1d6988;},_0x29f6(_0xed19db,_0x42e9fa);}import{Plugin as _0x2c4ad6}from'ckeditor5/src/core.js';import _0x1ef225 from'./annotationsuis.js';import _0x37bf30 from'./editorannotations.js';import{ContextualBalloon as _0x257139}from'ckeditor5/src/ui.js';import{MouseObserver as _0x18be53}from'ckeditor5/src/engine.js';import{CKEditorError as _0x1725c0,Rect as _0x188f00}from'ckeditor5/src/utils.js';function _0x5514(){const _0x4ee7ac=['getByView','set','switchTo','addObserver','_selectedAnnotations','focusTracker','Esc','257375VfHrqK','length','detach','editor','inlineannotations-attach-already-attached','setActiveAnnotation','right','fromRect','collapse','showStack','pluginName','_balloon','width','getClientRects','includes','refresh','viewRangeToDom','hasActive','top','1465744HnJlHD','target','annotations','inline','3507408clypjO','isFocused','push','afterInit','attach','isAttached','_addAnnotationToBalloon','selection','_getBalloonTargetForAnnotation','init','from','map','isActive','change:visibleView','blur','7iGJljL','_addedAnnotations','updatePosition','delete','bottom','2808000TSduVG','find','_closeAnnotation','150sGsLKL','targetRect','activeAnnotation','add','getBoundingClientRect','update','4408RdGbed','plugins','every','remove','destroy','_removeAnnotationFromBalloon','document','_manuallyClosed','editing','inlineannotations-not-allowed-with-context','register','hasView','domConverter','clear','context','getFirstRange','stopListening','InlineAnnotations','change:isFocused','getOrderedSelectedAnnotations','change:height','inlineannotations-detach-not-attached','visibleView','has','_setSelectedAnnotations','_forceRefresh','get','90845hbUVeM','editableElement','1234472MseiQl','left','requires','listenTo','focus','keystrokes','84dTiPpD','mousedown','view'];_0x5514=function(){return _0x4ee7ac;};return _0x5514();}import'./../../theme/annotation-inline.css';export default class c extends _0x2c4ad6{static get[_0x51b8f7(0xa3)](){return[_0x37bf30,_0x257139,_0x1ef225];}static get[_0x51b8f7(0xbb)](){const _0x43eba4=_0x51b8f7;return _0x43eba4(0x95);}constructor(_0x330cc9){const _0x100447=_0x51b8f7;super(_0x330cc9),_0x330cc9[_0x100447(0x8c)][_0x100447(0xa9)][_0x100447(0xad)](_0x18be53),this[_0x100447(0xcd)]=!0x1,this[_0x100447(0xab)](_0x100447(0xe1),null),this[_0x100447(0xc6)]=null,this[_0x100447(0x8b)]=new Set(),this[_0x100447(0xbc)]=_0x330cc9[_0x100447(0x85)][_0x100447(0x9e)](_0x257139),this[_0x100447(0xd8)]=new Set(),this[_0x100447(0xae)]=[],this[_0x100447(0x9d)]=!0x1;}[_0x51b8f7(0xd1)](){const _0x2619a5=_0x51b8f7,_0x4c0e30=this[_0x2619a5(0xb4)][_0x2619a5(0x85)][_0x2619a5(0x9e)](_0x1ef225);_0x4c0e30[_0x2619a5(0x92)]===this[_0x2619a5(0xb4)]&&(_0x4c0e30[_0x2619a5(0x8e)](_0x2619a5(0xc7),this),this[_0x2619a5(0xb4)][_0x2619a5(0xa6)][_0x2619a5(0xab)](_0x2619a5(0xb0),(_0x369ca7,_0x4e1f8b)=>{const _0x1c53aa=_0x2619a5,_0x20b7b5=this[_0x1c53aa(0xbc)];if(this[_0x1c53aa(0xcd)]&&_0x20b7b5[_0x1c53aa(0x9a)]){const _0x29f0c6=this[_0x1c53aa(0xc6)][_0x1c53aa(0xaa)](_0x20b7b5[_0x1c53aa(0x9a)]);_0x29f0c6&&this[_0x1c53aa(0xde)](_0x29f0c6),_0x4e1f8b();}}));}[_0x51b8f7(0xcb)](){const _0x36e131=_0x51b8f7,_0x5aa4ae=this[_0x36e131(0xb4)][_0x36e131(0x85)][_0x36e131(0x9e)](_0x1ef225);_0x5aa4ae[_0x36e131(0x92)]===this[_0x36e131(0xb4)]&&(_0x5aa4ae[_0x36e131(0xc2)]()||_0x5aa4ae[_0x36e131(0xac)](_0x36e131(0xc7)));}[_0x51b8f7(0xb6)](_0x127a64){const _0x59a09c=_0x51b8f7;_0x127a64!==this[_0x59a09c(0xe1)]&&(this[_0x59a09c(0xe1)]&&(this[_0x59a09c(0xe1)][_0x59a09c(0xd4)]=!0x1),_0x127a64&&this[_0x59a09c(0xb4)]['ui'][_0x59a09c(0xaf)][_0x59a09c(0xc9)]&&(this[_0x59a09c(0xc6)][_0x59a09c(0x9b)](_0x127a64)&&this[_0x59a09c(0xce)](_0x127a64,!0x0),_0x127a64[_0x59a09c(0xd4)]=!0x0),_0x127a64||this[_0x59a09c(0x9c)]([]),this[_0x59a09c(0xe1)]=_0x127a64);}[_0x51b8f7(0xcc)](_0xdf3e24){const _0x28ff23=_0x51b8f7;this[_0x28ff23(0xc6)]=_0xdf3e24;const _0x1a9c9b=this[_0x28ff23(0xb4)][_0x28ff23(0x85)][_0x28ff23(0x9e)](_0x1ef225),_0x4a17f0=this[_0x28ff23(0xbc)];if(this[_0x28ff23(0xcd)])throw new _0x1725c0(_0x28ff23(0xb5),this);if(_0x1a9c9b[_0x28ff23(0x92)]!==this[_0x28ff23(0xb4)])throw new _0x1725c0(_0x28ff23(0x8d),this);const _0x4ff1a0=this[_0x28ff23(0xb4)][_0x28ff23(0x85)][_0x28ff23(0x9e)](_0x37bf30);this[_0x28ff23(0xa4)](_0x4ff1a0,_0x28ff23(0xc0),()=>{const _0x54da02=_0x28ff23,_0x3905a7=_0x4ff1a0[_0x54da02(0x97)]({'annotations':this[_0x54da02(0xc6)],'activeAnnotation':this[_0x54da02(0xe1)]});var _0x2c4b7a,_0x1d3172;!this[_0x54da02(0x9d)]&&(_0x2c4b7a=_0x3905a7,_0x1d3172=this[_0x54da02(0xae)],_0x2c4b7a[_0x54da02(0xb2)]===_0x1d3172[_0x54da02(0xb2)]&&_0x2c4b7a[_0x54da02(0x86)](_0x6ebcc5=>_0x1d3172[_0x54da02(0xbf)](_0x6ebcc5)))||(this[_0x54da02(0x9d)]=!0x1,this[_0x54da02(0x9c)](_0x3905a7),this[_0x54da02(0xb6)](_0x3905a7[0x0]||null));}),this[_0x28ff23(0xa4)](_0x4ff1a0,_0x28ff23(0xd6),(_0x2797ae,{isAnnotationTracked:_0x50abc1})=>{const _0x12df6f=_0x28ff23;this[_0x12df6f(0xe1)]&&_0x50abc1(this[_0x12df6f(0xe1)])&&(this[_0x12df6f(0x9c)]([]),this[_0x12df6f(0xb6)](null));}),this[_0x28ff23(0xa4)](this[_0x28ff23(0xb4)]['ui'][_0x28ff23(0xaf)],_0x28ff23(0x96),(_0x1fafe9,_0x1b81b9,_0x29043e)=>{const _0xbb9c67=_0x28ff23;_0x29043e||this[_0xbb9c67(0xb6)](null);}),this[_0x28ff23(0xa4)](_0xdf3e24,_0x28ff23(0x87),(_0xc4b843,_0x3a7295)=>{const _0x341da8=_0x28ff23;this[_0x341da8(0x89)](_0x3a7295),_0x3a7295===this[_0x341da8(0xe1)]&&this[_0x341da8(0xb6)](null);}),this[_0x28ff23(0xa4)](_0x4a17f0,_0x28ff23(0xd5),(_0x183a62,_0x10fff0,_0x505944,_0x52c660)=>{const _0x242f41=_0x28ff23;_0x52c660&&this[_0x242f41(0x94)](_0x52c660);const _0x390b10=_0xdf3e24[_0x242f41(0xaa)](_0x505944);_0x505944&&_0x390b10&&(this[_0x242f41(0xa4)](_0x505944,_0x242f41(0x98),()=>{const _0x19d50a=_0x242f41;_0x4a17f0[_0x19d50a(0xd9)]();}),this[_0x242f41(0xa4)](_0x505944,_0x242f41(0xb0),()=>{const _0x1596a=_0x242f41;this[_0x1596a(0xde)](_0x390b10),this[_0x1596a(0xb4)][_0x1596a(0x8c)][_0x1596a(0xa9)][_0x1596a(0xa5)]();}),this[_0x242f41(0xe1)]!==_0x390b10&&this[_0x242f41(0xb6)](_0x390b10));}),this[_0x28ff23(0xa4)](this[_0x28ff23(0xb4)]['ui'],_0x28ff23(0x83),()=>{const _0x459d2e=_0x28ff23;_0x4a17f0[_0x459d2e(0x9a)]&&(_0xdf3e24[_0x459d2e(0xaa)](_0x4a17f0[_0x459d2e(0x9a)])&&_0x4a17f0[_0x459d2e(0xd9)]());}),this[_0x28ff23(0xa4)](this[_0x28ff23(0xb4)][_0x28ff23(0x8c)][_0x28ff23(0xa9)][_0x28ff23(0x8a)],_0x28ff23(0xa8),()=>{const _0x259441=_0x28ff23;this[_0x259441(0x9d)]=!0x0,this[_0x259441(0x8b)][_0x259441(0x91)]();}),this[_0x28ff23(0xb4)][_0x28ff23(0x8c)][_0x28ff23(0xa9)][_0x28ff23(0x8a)][_0x28ff23(0xcf)][_0x28ff23(0xa0)]&&this[_0x28ff23(0xb4)][_0x28ff23(0x8c)][_0x28ff23(0xa9)][_0x28ff23(0xa5)](),this[_0x28ff23(0xcd)]=!0x0;}[_0x51b8f7(0xb3)](){const _0x1c2ec3=_0x51b8f7;if(!this[_0x1c2ec3(0xcd)])throw new _0x1725c0(_0x1c2ec3(0x99),this);this[_0x1c2ec3(0xb6)](null);for(const _0x3f0374 of this[_0x1c2ec3(0xd8)])this[_0x1c2ec3(0x89)](_0x3f0374);this[_0x1c2ec3(0x94)](),this[_0x1c2ec3(0xcd)]=!0x1,this[_0x1c2ec3(0xc6)]=null;}[_0x51b8f7(0x88)](){const _0x2441ff=_0x51b8f7;this[_0x2441ff(0xcd)]&&this[_0x2441ff(0xb3)]();}[_0x51b8f7(0x9c)](_0x698085){const _0x3430bd=_0x51b8f7;for(const _0x36baf6 of this[_0x3430bd(0xae)])_0x698085[_0x3430bd(0xbf)](_0x36baf6)||this[_0x3430bd(0x8b)][_0x3430bd(0xda)](_0x36baf6);for(const _0x2fb5ff of this[_0x3430bd(0xc6)])_0x698085[_0x3430bd(0xbf)](_0x2fb5ff)||this[_0x3430bd(0x89)](_0x2fb5ff);if(this[_0x3430bd(0xb4)]['ui'][_0x3430bd(0xaf)][_0x3430bd(0xc9)]){for(const _0x16aaf6 of _0x698085)this[_0x3430bd(0xce)](_0x16aaf6);}this[_0x3430bd(0xae)]=_0x698085;}[_0x51b8f7(0xce)](_0xaa8560,_0xcedbb6=!0x1){const _0x38f0a9=_0x51b8f7;this[_0x38f0a9(0x8b)][_0x38f0a9(0x9b)](_0xaa8560)||(this[_0x38f0a9(0xd8)][_0x38f0a9(0x9b)](_0xaa8560)||this[_0x38f0a9(0xbc)][_0x38f0a9(0x8f)](_0xaa8560[_0x38f0a9(0xa9)])||(this[_0x38f0a9(0xd8)][_0x38f0a9(0xe2)](_0xaa8560),this[_0x38f0a9(0xbc)][_0x38f0a9(0xe2)]({'stackId':_0xaa8560[_0x38f0a9(0xa9)]['id'],'view':_0xaa8560[_0x38f0a9(0xa9)],'position':{'target':()=>this[_0x38f0a9(0xd0)](_0xaa8560)}})),_0xcedbb6&&this[_0x38f0a9(0xbc)][_0x38f0a9(0xba)](_0xaa8560[_0x38f0a9(0xa9)]['id']));}[_0x51b8f7(0xd0)](_0x27033c){const _0x188d05=_0x51b8f7,_0x3466ca=_0x27033c[_0x188d05(0xc5)],_0x212444=this[_0x188d05(0xb4)][_0x188d05(0x8c)][_0x188d05(0xa9)],_0x3d4a14=_0x212444[_0x188d05(0x8a)][_0x188d05(0xcf)][_0x188d05(0x93)](),_0x379e9b=_0x212444[_0x188d05(0x90)][_0x188d05(0xc1)](_0x3d4a14);if(_0x379e9b[_0x188d05(0xb9)](!0x0),_0x3466ca){if(_0x3466ca instanceof _0x188f00)return _0x3466ca;let _0x36aea5=[];for(const _0x520935 of _0x3466ca)_0x36aea5[_0x188d05(0xca)](...(_0x2c1233=_0x520935[_0x188d05(0xbe)](),Array[_0x188d05(0xd2)](_0x2c1233)[_0x188d05(0xd3)](DOMRect[_0x188d05(0xb8)])));_0x36aea5=function(_0x32364d){const _0x341e65=_0x188d05,_0x193203=[];let _0xbb6b2a=_0x32364d[0x0];for(let _0x46c6f7=0x1;_0x46c6f7<_0x32364d[_0x341e65(0xb2)];_0x46c6f7++)F(_0xbb6b2a,_0x32364d[_0x46c6f7])?_0xbb6b2a[_0x341e65(0xbd)]+=_0x32364d[_0x46c6f7][_0x341e65(0xbd)]:(_0x193203[_0x341e65(0xca)](_0xbb6b2a),_0xbb6b2a=_0x32364d[_0x46c6f7]);return _0x193203[_0x341e65(0xca)](_0xbb6b2a),_0x193203;}(_0x36aea5);const _0x5dd1d6=_0x379e9b[_0x188d05(0xe3)]();return _0x36aea5[_0x188d05(0xdd)](_0x38c182=>_0x38c182[_0x188d05(0xc3)]<=_0x5dd1d6[_0x188d05(0xc3)]&&_0x38c182[_0x188d05(0xdb)]>=_0x5dd1d6[_0x188d05(0xdb)]&&_0x38c182[_0x188d05(0xa2)]<=_0x5dd1d6[_0x188d05(0xa2)]&&_0x38c182[_0x188d05(0xb7)]>=_0x5dd1d6[_0x188d05(0xb7)])||_0x36aea5[0x0];}var _0x2c1233;return _0x27033c[_0x188d05(0xe0)]||_0x379e9b;}[_0x51b8f7(0x89)](_0x2425c5){const _0x304c77=_0x51b8f7;this[_0x304c77(0xd8)][_0x304c77(0x9b)](_0x2425c5)&&this[_0x304c77(0xbc)][_0x304c77(0x8f)](_0x2425c5[_0x304c77(0xa9)])&&(this[_0x304c77(0xd8)][_0x304c77(0xda)](_0x2425c5),this[_0x304c77(0xbc)][_0x304c77(0x87)](_0x2425c5[_0x304c77(0xa9)]));}[_0x51b8f7(0xde)](_0x52dfc1){const _0x185067=_0x51b8f7;this[_0x185067(0x8b)][_0x185067(0xe2)](_0x52dfc1),this[_0x185067(0x89)](_0x52dfc1);}}function F(_0x400ed6,_0x11f285){const _0x1f4f5b=_0x51b8f7;return _0x400ed6[_0x1f4f5b(0xc3)]===_0x11f285[_0x1f4f5b(0xc3)]&&_0x400ed6[_0x1f4f5b(0xdb)]===_0x11f285[_0x1f4f5b(0xdb)]&&_0x400ed6[_0x1f4f5b(0xb7)]===_0x11f285[_0x1f4f5b(0xa2)];}
|
|
23
|
+
const _0x5d719f=_0x387a;(function(_0x50ca95,_0x1e6822){const _0x4ce3f4=_0x387a,_0x5a6d73=_0x50ca95();while(!![]){try{const _0x27100f=parseInt(_0x4ce3f4(0xe2))/0x1+parseInt(_0x4ce3f4(0xee))/0x2+-parseInt(_0x4ce3f4(0x12a))/0x3*(-parseInt(_0x4ce3f4(0xf7))/0x4)+parseInt(_0x4ce3f4(0x128))/0x5+parseInt(_0x4ce3f4(0x132))/0x6*(-parseInt(_0x4ce3f4(0x118))/0x7)+parseInt(_0x4ce3f4(0x114))/0x8*(-parseInt(_0x4ce3f4(0x104))/0x9)+-parseInt(_0x4ce3f4(0x11b))/0xa;if(_0x27100f===_0x1e6822)break;else _0x5a6d73['push'](_0x5a6d73['shift']());}catch(_0x18669e){_0x5a6d73['push'](_0x5a6d73['shift']());}}}(_0x1ce5,0xb8438));function _0x1ce5(){const _0x43db4a=['width','get','right','blur','add','map','addObserver','visibleView','pluginName','_balloon','length','plugins','9OPfVrf','hasView','_closeAnnotation','inlineannotations-not-allowed-with-context','destroy','selection','find','getOrderedSelectedAnnotations','change:height','inlineannotations-attach-already-attached','editableElement','targetRect','isFocused','every','_getBalloonTargetForAnnotation','afterInit','3614056xxsmlh','_manuallyClosed','switchTo','mousedown','298263zzGyHl','getClientRects','domConverter','8049000qcoaZF','register','init','context','_forceRefresh','_setSelectedAnnotations','bottom','isActive','getFirstRange','update','collapse','showStack','document','530210vTnJEl','has','6hlLrXu','fromRect','Esc','_addedAnnotations','top','getByView','left','clear','30XEHqXv','focus','inline','activeAnnotation','_selectedAnnotations','_addAnnotationToBalloon','remove','_removeAnnotationFromBalloon','set','updatePosition','view','viewRangeToDom','attach','InlineAnnotations','listenTo','annotations','target','847200bVEBkn','inlineannotations-detach-not-attached','change:isFocused','stopListening','keystrokes','editing','from','change:visibleView','editor','detach','isAttached','setActiveAnnotation','1599516bYxruu','hasActive','push','requires','refresh','focusTracker','delete','getBoundingClientRect','includes','942892HHDTmE'];_0x1ce5=function(){return _0x43db4a;};return _0x1ce5();}import{Plugin as _0x28f93f}from'ckeditor5/src/core.js';import _0x3e2e42 from'./annotationsuis.js';import _0x372c98 from'./editorannotations.js';import{ContextualBalloon as _0x485217}from'ckeditor5/src/ui.js';import{MouseObserver as _0x1c0a2a}from'ckeditor5/src/engine.js';import{CKEditorError as _0x5eb800,Rect as _0x1c2a1f}from'ckeditor5/src/utils.js';import'./../../theme/annotation-inline.css';function _0x387a(_0x2b1113,_0x26959b){const _0x1ce578=_0x1ce5();return _0x387a=function(_0x387af5,_0x34f5cb){_0x387af5=_0x387af5-0xd6;let _0x4fde51=_0x1ce578[_0x387af5];return _0x4fde51;},_0x387a(_0x2b1113,_0x26959b);}export default class c extends _0x28f93f{static get[_0x5d719f(0xf1)](){return[_0x372c98,_0x485217,_0x3e2e42];}static get[_0x5d719f(0x100)](){const _0x5cbeee=_0x5d719f;return _0x5cbeee(0xde);}constructor(_0x5a0830){const _0x8ab3a2=_0x5d719f;super(_0x5a0830),_0x5a0830[_0x8ab3a2(0xe7)][_0x8ab3a2(0xdb)][_0x8ab3a2(0xfe)](_0x1c0a2a),this[_0x8ab3a2(0xec)]=!0x1,this[_0x8ab3a2(0xd9)](_0x8ab3a2(0x135),null),this[_0x8ab3a2(0xe0)]=null,this[_0x8ab3a2(0x115)]=new Set(),this[_0x8ab3a2(0x101)]=_0x5a0830[_0x8ab3a2(0x103)][_0x8ab3a2(0xf9)](_0x485217),this[_0x8ab3a2(0x12d)]=new Set(),this[_0x8ab3a2(0x136)]=[],this[_0x8ab3a2(0x11f)]=!0x1;}[_0x5d719f(0x11d)](){const _0x574844=_0x5d719f,_0x17cf8a=this[_0x574844(0xea)][_0x574844(0x103)][_0x574844(0xf9)](_0x3e2e42);_0x17cf8a[_0x574844(0x11e)]===this[_0x574844(0xea)]&&(_0x17cf8a[_0x574844(0x11c)](_0x574844(0x134),this),this[_0x574844(0xea)][_0x574844(0xe6)][_0x574844(0xd9)](_0x574844(0x12c),(_0x33c782,_0x5a6da3)=>{const _0x42aa3a=_0x574844,_0x372993=this[_0x42aa3a(0x101)];if(this[_0x42aa3a(0xec)]&&_0x372993[_0x42aa3a(0xff)]){const _0xfad35b=this[_0x42aa3a(0xe0)][_0x42aa3a(0x12f)](_0x372993[_0x42aa3a(0xff)]);_0xfad35b&&this[_0x42aa3a(0x106)](_0xfad35b),_0x5a6da3();}}));}[_0x5d719f(0x113)](){const _0x53c299=_0x5d719f,_0xb30a28=this[_0x53c299(0xea)][_0x53c299(0x103)][_0x53c299(0xf9)](_0x3e2e42);_0xb30a28[_0x53c299(0x11e)]===this[_0x53c299(0xea)]&&(_0xb30a28[_0x53c299(0xef)]()||_0xb30a28[_0x53c299(0x116)](_0x53c299(0x134)));}[_0x5d719f(0xed)](_0x3ce62b){const _0x1fd553=_0x5d719f;_0x3ce62b!==this[_0x1fd553(0x135)]&&(this[_0x1fd553(0x135)]&&(this[_0x1fd553(0x135)][_0x1fd553(0x122)]=!0x1),_0x3ce62b&&this[_0x1fd553(0xea)]['ui'][_0x1fd553(0xf3)][_0x1fd553(0x110)]&&(this[_0x1fd553(0xe0)][_0x1fd553(0x129)](_0x3ce62b)&&this[_0x1fd553(0xd6)](_0x3ce62b,!0x0),_0x3ce62b[_0x1fd553(0x122)]=!0x0),_0x3ce62b||this[_0x1fd553(0x120)]([]),this[_0x1fd553(0x135)]=_0x3ce62b);}[_0x5d719f(0xdd)](_0x4b264b){const _0x3aca78=_0x5d719f;this[_0x3aca78(0xe0)]=_0x4b264b;const _0x536584=this[_0x3aca78(0xea)][_0x3aca78(0x103)][_0x3aca78(0xf9)](_0x3e2e42),_0x4d6b96=this[_0x3aca78(0x101)];if(this[_0x3aca78(0xec)])throw new _0x5eb800(_0x3aca78(0x10d),this);if(_0x536584[_0x3aca78(0x11e)]!==this[_0x3aca78(0xea)])throw new _0x5eb800(_0x3aca78(0x107),this);const _0x24482c=this[_0x3aca78(0xea)][_0x3aca78(0x103)][_0x3aca78(0xf9)](_0x372c98);this[_0x3aca78(0xdf)](_0x24482c,_0x3aca78(0xf2),()=>{const _0x198d1f=_0x3aca78,_0x53bc51=_0x24482c[_0x198d1f(0x10b)]({'annotations':this[_0x198d1f(0xe0)],'activeAnnotation':this[_0x198d1f(0x135)]});var _0x2b01e9,_0x1d4a66;!this[_0x198d1f(0x11f)]&&(_0x2b01e9=_0x53bc51,_0x1d4a66=this[_0x198d1f(0x136)],_0x2b01e9[_0x198d1f(0x102)]===_0x1d4a66[_0x198d1f(0x102)]&&_0x2b01e9[_0x198d1f(0x111)](_0xf2c2bf=>_0x1d4a66[_0x198d1f(0xf6)](_0xf2c2bf)))||(this[_0x198d1f(0x11f)]=!0x1,this[_0x198d1f(0x120)](_0x53bc51),this[_0x198d1f(0xed)](_0x53bc51[0x0]||null));}),this[_0x3aca78(0xdf)](_0x24482c,_0x3aca78(0xfb),(_0x4b5fc9,{isAnnotationTracked:_0x358aae})=>{const _0x4eca5c=_0x3aca78;this[_0x4eca5c(0x135)]&&_0x358aae(this[_0x4eca5c(0x135)])&&(this[_0x4eca5c(0x120)]([]),this[_0x4eca5c(0xed)](null));}),this[_0x3aca78(0xdf)](this[_0x3aca78(0xea)]['ui'][_0x3aca78(0xf3)],_0x3aca78(0xe4),(_0x3850a2,_0x513de0,_0x172de6)=>{const _0x502bcd=_0x3aca78;_0x172de6||this[_0x502bcd(0xed)](null);}),this[_0x3aca78(0xdf)](_0x4b264b,_0x3aca78(0xd7),(_0x5c2afa,_0x1bbd81)=>{const _0x227159=_0x3aca78;this[_0x227159(0xd8)](_0x1bbd81),_0x1bbd81===this[_0x227159(0x135)]&&this[_0x227159(0xed)](null);}),this[_0x3aca78(0xdf)](_0x4d6b96,_0x3aca78(0xe9),(_0x593027,_0x3d5245,_0x8239bb,_0x1780b1)=>{const _0x6f6fcd=_0x3aca78;_0x1780b1&&this[_0x6f6fcd(0xe5)](_0x1780b1);const _0x543c14=_0x4b264b[_0x6f6fcd(0x12f)](_0x8239bb);_0x8239bb&&_0x543c14&&(this[_0x6f6fcd(0xdf)](_0x8239bb,_0x6f6fcd(0x10c),()=>{const _0x5682cf=_0x6f6fcd;_0x4d6b96[_0x5682cf(0xda)]();}),this[_0x6f6fcd(0xdf)](_0x8239bb,_0x6f6fcd(0x12c),()=>{const _0x2d615e=_0x6f6fcd;this[_0x2d615e(0x106)](_0x543c14),this[_0x2d615e(0xea)][_0x2d615e(0xe7)][_0x2d615e(0xdb)][_0x2d615e(0x133)]();}),this[_0x6f6fcd(0x135)]!==_0x543c14&&this[_0x6f6fcd(0xed)](_0x543c14));}),this[_0x3aca78(0xdf)](this[_0x3aca78(0xea)]['ui'],_0x3aca78(0x124),()=>{const _0x4920cf=_0x3aca78;_0x4d6b96[_0x4920cf(0xff)]&&(_0x4b264b[_0x4920cf(0x12f)](_0x4d6b96[_0x4920cf(0xff)])&&_0x4d6b96[_0x4920cf(0xda)]());}),this[_0x3aca78(0xdf)](this[_0x3aca78(0xea)][_0x3aca78(0xe7)][_0x3aca78(0xdb)][_0x3aca78(0x127)],_0x3aca78(0x117),()=>{const _0x40539c=_0x3aca78;this[_0x40539c(0x11f)]=!0x0,this[_0x40539c(0x115)][_0x40539c(0x131)]();}),this[_0x3aca78(0xea)][_0x3aca78(0xe7)][_0x3aca78(0xdb)][_0x3aca78(0x127)][_0x3aca78(0x109)][_0x3aca78(0x10e)]&&this[_0x3aca78(0xea)][_0x3aca78(0xe7)][_0x3aca78(0xdb)][_0x3aca78(0x133)](),this[_0x3aca78(0xec)]=!0x0;}[_0x5d719f(0xeb)](){const _0x49c7e4=_0x5d719f;if(!this[_0x49c7e4(0xec)])throw new _0x5eb800(_0x49c7e4(0xe3),this);this[_0x49c7e4(0xed)](null);for(const _0x240a1b of this[_0x49c7e4(0x12d)])this[_0x49c7e4(0xd8)](_0x240a1b);this[_0x49c7e4(0xe5)](),this[_0x49c7e4(0xec)]=!0x1,this[_0x49c7e4(0xe0)]=null;}[_0x5d719f(0x108)](){const _0x2917c0=_0x5d719f;this[_0x2917c0(0xec)]&&this[_0x2917c0(0xeb)]();}[_0x5d719f(0x120)](_0x74b6a0){const _0x5abaef=_0x5d719f;for(const _0xd2c30b of this[_0x5abaef(0x136)])_0x74b6a0[_0x5abaef(0xf6)](_0xd2c30b)||this[_0x5abaef(0x115)][_0x5abaef(0xf4)](_0xd2c30b);for(const _0x52695e of this[_0x5abaef(0xe0)])_0x74b6a0[_0x5abaef(0xf6)](_0x52695e)||this[_0x5abaef(0xd8)](_0x52695e);if(this[_0x5abaef(0xea)]['ui'][_0x5abaef(0xf3)][_0x5abaef(0x110)]){for(const _0x136392 of _0x74b6a0)this[_0x5abaef(0xd6)](_0x136392);}this[_0x5abaef(0x136)]=_0x74b6a0;}[_0x5d719f(0xd6)](_0x3ce235,_0x28fe22=!0x1){const _0x2f5063=_0x5d719f;this[_0x2f5063(0x115)][_0x2f5063(0x129)](_0x3ce235)||(this[_0x2f5063(0x12d)][_0x2f5063(0x129)](_0x3ce235)||this[_0x2f5063(0x101)][_0x2f5063(0x105)](_0x3ce235[_0x2f5063(0xdb)])||(this[_0x2f5063(0x12d)][_0x2f5063(0xfc)](_0x3ce235),this[_0x2f5063(0x101)][_0x2f5063(0xfc)]({'stackId':_0x3ce235[_0x2f5063(0xdb)]['id'],'view':_0x3ce235[_0x2f5063(0xdb)],'position':{'target':()=>this[_0x2f5063(0x112)](_0x3ce235)}})),_0x28fe22&&this[_0x2f5063(0x101)][_0x2f5063(0x126)](_0x3ce235[_0x2f5063(0xdb)]['id']));}[_0x5d719f(0x112)](_0x715361){const _0x42e110=_0x5d719f,_0x24bbac=_0x715361[_0x42e110(0xe1)],_0x16d3d2=this[_0x42e110(0xea)][_0x42e110(0xe7)][_0x42e110(0xdb)],_0x2889fa=_0x16d3d2[_0x42e110(0x127)][_0x42e110(0x109)][_0x42e110(0x123)](),_0xc7d625=_0x16d3d2[_0x42e110(0x11a)][_0x42e110(0xdc)](_0x2889fa);if(_0xc7d625[_0x42e110(0x125)](!0x0),_0x24bbac){if(_0x24bbac instanceof _0x1c2a1f)return _0x24bbac;let _0x4b5cac=[];for(const _0x461534 of _0x24bbac)_0x4b5cac[_0x42e110(0xf0)](...(_0x828145=_0x461534[_0x42e110(0x119)](),Array[_0x42e110(0xe8)](_0x828145)[_0x42e110(0xfd)](DOMRect[_0x42e110(0x12b)])));_0x4b5cac=function(_0x5c402b){const _0x44f3d1=_0x42e110,_0x2fb9bf=[];let _0x1ea9ae=_0x5c402b[0x0];for(let _0xd27895=0x1;_0xd27895<_0x5c402b[_0x44f3d1(0x102)];_0xd27895++)F(_0x1ea9ae,_0x5c402b[_0xd27895])?_0x1ea9ae[_0x44f3d1(0xf8)]+=_0x5c402b[_0xd27895][_0x44f3d1(0xf8)]:(_0x2fb9bf[_0x44f3d1(0xf0)](_0x1ea9ae),_0x1ea9ae=_0x5c402b[_0xd27895]);return _0x2fb9bf[_0x44f3d1(0xf0)](_0x1ea9ae),_0x2fb9bf;}(_0x4b5cac);const _0x1ab7f0=_0xc7d625[_0x42e110(0xf5)]();return _0x4b5cac[_0x42e110(0x10a)](_0x481882=>_0x481882[_0x42e110(0x12e)]<=_0x1ab7f0[_0x42e110(0x12e)]&&_0x481882[_0x42e110(0x121)]>=_0x1ab7f0[_0x42e110(0x121)]&&_0x481882[_0x42e110(0x130)]<=_0x1ab7f0[_0x42e110(0x130)]&&_0x481882[_0x42e110(0xfa)]>=_0x1ab7f0[_0x42e110(0xfa)])||_0x4b5cac[0x0];}var _0x828145;return _0x715361[_0x42e110(0x10f)]||_0xc7d625;}[_0x5d719f(0xd8)](_0x5bd527){const _0x5c41c1=_0x5d719f;this[_0x5c41c1(0x12d)][_0x5c41c1(0x129)](_0x5bd527)&&this[_0x5c41c1(0x101)][_0x5c41c1(0x105)](_0x5bd527[_0x5c41c1(0xdb)])&&(this[_0x5c41c1(0x12d)][_0x5c41c1(0xf4)](_0x5bd527),this[_0x5c41c1(0x101)][_0x5c41c1(0xd7)](_0x5bd527[_0x5c41c1(0xdb)]));}[_0x5d719f(0x106)](_0x1c183a){const _0x7991a1=_0x5d719f;this[_0x7991a1(0x115)][_0x7991a1(0xfc)](_0x1c183a),this[_0x7991a1(0xd8)](_0x1c183a);}}function F(_0x529ea1,_0x3512e6){const _0x4609ad=_0x5d719f;return _0x529ea1[_0x4609ad(0x12e)]===_0x3512e6[_0x4609ad(0x12e)]&&_0x529ea1[_0x4609ad(0x121)]===_0x3512e6[_0x4609ad(0x121)]&&_0x529ea1[_0x4609ad(0xfa)]===_0x3512e6[_0x4609ad(0x130)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x294ac9=_0x5e6b;(function(_0x525aba,_0x5c8733){const _0x3556e2=_0x5e6b,_0x320a45=_0x525aba();while(!![]){try{const _0x367075=parseInt(_0x3556e2(0x1a4))/0x1+parseInt(_0x3556e2(0x1b6))/0x2*(-parseInt(_0x3556e2(0x1e8))/0x3)+parseInt(_0x3556e2(0x1cd))/0x4*(-parseInt(_0x3556e2(0x1ef))/0x5)+-parseInt(_0x3556e2(0x1b1))/0x6+parseInt(_0x3556e2(0x1df))/0x7+parseInt(_0x3556e2(0x1d4))/0x8+parseInt(_0x3556e2(0x1ce))/0x9;if(_0x367075===_0x5c8733)break;else _0x320a45['push'](_0x320a45['shift']());}catch(_0x3ecc3a){_0x320a45['push'](_0x320a45['shift']());}}}(_0x34c6,0xa4379));import{ContextPlugin as _0x3ff31c,Context as _0x18590a}from'ckeditor5/src/core.js';import _0x221373 from'./annotationsuis.js';import _0x53caaf from'./sidebar.js';function _0x5e6b(_0x20d7e1,_0x5ed666){const _0x34c696=_0x34c6();return _0x5e6b=function(_0x5e6b2d,_0xfba278){_0x5e6b2d=_0x5e6b2d-0x194;let _0xd25636=_0x34c696[_0x5e6b2d];return _0xd25636;},_0x5e6b(_0x20d7e1,_0x5ed666);}function _0x34c6(){const _0x4c0131=['isAttached','_destroyEditorAnnotationsIntegration','activeAnnotation','clear','setActiveAnnotation','change:container','northArrowSouth','NarrowSidebar','plugins','off','EditorAnnotations','southArrowNorthEast','from','annotations','preventDefault','690896PnKekF','southArrowNorth','northArrowSouthWest','defaultPositions','_attachListeners','keyCode','high','first','content','type','attachToDom','unpin','esc','6079674Mwvqfu','getSidebarItemView','find','_editorAnnotations','set:container','48nmoExZ','_selectedAnnotations','_hideBalloon','target','register','stop','preventClosingBalloon','keydown','hasDomSelection','_refreshPositioning','bodyCollection','_attachToContainer','_updateBalloonPosition','create','includes','element','init','_manuallyClosedAnnotationViews','get','number','view','requires','_annotations','20uYCvSm','12572622cpIrbC','low','getByView','locale','editors','pin','6716152pTrwSW','has','remove','Esc','destroy','isVisible','add','_annotationToNarrowView','context','change:height','listenTo','4144980KFUyDJ','stopListening','balloonPanelView','bind','focusableElements','stopPropagation','getOrderedSelectedAnnotations','_setSelectedAnnotations','refresh','159312IEugJm','northArrowSouthEast','addAnnotation','cancel','detach','_showBalloon','ready','559105QtIBWb','contains','refreshPositioning','delete','_refreshPositioningDebounced','narrowsidebar-detach-not-attached','detachFromDom','blur','resize','execute','values','southArrowNorthWest','_domEmitter','pluginName','narrowsidebar-attach-already-attached','set','_detachListeners','rearrange','_integrateWithEditorAnnotations','narrowSidebar','ck-sidebar--narrow','length','removeEventListener','uiUpdate','mousedown','addEventListener','_detachFromContainer','attach','annotationType','isDirty','focus'];_0x34c6=function(){return _0x4c0131;};return _0x34c6();}import _0x1e33e3 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x430476,BodyCollection as _0x38c218}from'ckeditor5/src/ui.js';import{CKEditorError as _0x4ff3ea,DomEmitterMixin as _0x2161fd,keyCodes as _0x2885e9,Collection as _0x218a64}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x1005de}from'lodash-es';import _0x1c474e from'./editorannotations.js';export default class i extends _0x3ff31c{static get[_0x294ac9(0x1cb)](){return[_0x53caaf,_0x221373];}static get[_0x294ac9(0x1fc)](){const _0x84cbaa=_0x294ac9;return _0x84cbaa(0x19c);}constructor(_0x4501fb){const _0x177e5e=_0x294ac9;super(_0x4501fb),this[_0x177e5e(0x195)]=!0x1,this[_0x177e5e(0x1c7)]=new Set(),this[_0x177e5e(0x1fb)]=Object[_0x177e5e(0x1c3)](_0x2161fd),this[_0x177e5e(0x1db)]=new Map(),this[_0x177e5e(0x1fe)](_0x177e5e(0x197),null),this[_0x177e5e(0x1a2)]=null,this[_0x177e5e(0x1b7)]=[],this[_0x177e5e(0x1b4)]=new _0x218a64(),this[_0x177e5e(0x1f3)]=_0x1005de(()=>{const _0x156482=_0x177e5e;this[_0x156482(0x1bf)]();},0xfa,{'leading':!0x1});}[_0x294ac9(0x1c6)](){const _0x2cbc78=_0x294ac9;this[_0x2cbc78(0x1dc)][_0x2cbc78(0x19d)][_0x2cbc78(0x1c8)](_0x221373)[_0x2cbc78(0x1ba)](_0x2cbc78(0x202),this),this[_0x2cbc78(0x1c0)]=new _0x38c218(this[_0x2cbc78(0x1dc)][_0x2cbc78(0x1d1)]),this[_0x2cbc78(0x1e1)]=new _0x430476(this[_0x2cbc78(0x1dc)][_0x2cbc78(0x1d1)]),this[_0x2cbc78(0x1c0)][_0x2cbc78(0x1ae)](),this[_0x2cbc78(0x1c0)][_0x2cbc78(0x1da)](this[_0x2cbc78(0x1e1)]);}[_0x294ac9(0x20a)](_0x1238eb){const _0x55d45c=_0x294ac9;this[_0x55d45c(0x1a2)]=_0x1238eb;const _0x3182d9=this[_0x55d45c(0x1dc)][_0x55d45c(0x19d)][_0x55d45c(0x1c8)](_0x53caaf),_0x186945=this[_0x55d45c(0x1e1)];if(_0x3182d9[_0x55d45c(0x1cc)]=_0x1238eb,this[_0x55d45c(0x195)])throw new _0x4ff3ea(_0x55d45c(0x1fd),this);this[_0x55d45c(0x195)]=!0x0,this[_0x55d45c(0x1de)](_0x3182d9,_0x55d45c(0x1b5),()=>{const _0xd1c657=_0x55d45c;this[_0xd1c657(0x1ec)](),this[_0xd1c657(0x1de)](_0x3182d9,_0xd1c657(0x19a),_0x494b22=>{const _0xe759e0=_0xd1c657;_0x494b22[_0xe759e0(0x19e)](),this[_0xe759e0(0x20a)](_0x1238eb);});}),_0x3182d9[_0x55d45c(0x1c1)]({'viewClass':_0x55d45c(0x203),'spaceBetweenItems':0x5});const _0x203d5a=_0x238bd2=>{const _0xe425aa=_0x55d45c,_0x41c7f9=new _0x1e33e3(this[_0xe425aa(0x1dc)][_0xe425aa(0x1d1)]);_0x3182d9[_0xe425aa(0x1ea)](_0x238bd2,_0x41c7f9),this[_0xe425aa(0x1db)][_0xe425aa(0x1fe)](_0x238bd2,_0x41c7f9),_0x41c7f9[_0xe425aa(0x1e2)](_0xe425aa(0x20c),_0xe425aa(0x20b),_0xe425aa(0x1c9))['to'](_0x238bd2[_0xe425aa(0x1ca)],_0xe425aa(0x20c),_0xe425aa(0x1ad),_0xe425aa(0x204)),_0x41c7f9['on'](_0xe425aa(0x1f8),()=>{const _0x24b3d1=_0xe425aa;this[_0x24b3d1(0x1c7)][_0x24b3d1(0x198)](),_0x186945[_0x24b3d1(0x1ac)][_0x24b3d1(0x1ab)]!==_0x238bd2[_0x24b3d1(0x1ca)]?(this[_0x24b3d1(0x1ed)](_0x238bd2),_0x238bd2[_0x24b3d1(0x1ca)][_0x24b3d1(0x1c5)][_0x24b3d1(0x194)](),this[_0x24b3d1(0x199)](_0x238bd2)):this[_0x24b3d1(0x199)](null);});};for(const _0x59cd86 of _0x1238eb)_0x203d5a(_0x59cd86);this[_0x55d45c(0x1de)](_0x1238eb,_0x55d45c(0x1da),(_0x4130e3,_0x55ca5b)=>{_0x203d5a(_0x55ca5b);}),this[_0x55d45c(0x1de)](_0x1238eb,_0x55d45c(0x1d6),(_0x522a53,_0x37574c,_0x65992c)=>{const _0x37f975=_0x55d45c;this[_0x37f975(0x1db)][_0x37f975(0x1c8)](_0x37574c)[_0x37f975(0x1d8)](),this[_0x37f975(0x1db)][_0x37f975(0x1f2)](_0x37574c),_0x3182d9[_0x37f975(0x200)]({'removedAnnotation':_0x37574c,'previousAnnotation':_0x1238eb[_0x37f975(0x1c8)](_0x65992c-0x1),'nextAnnotation':_0x1238eb[_0x37f975(0x1c8)](_0x65992c+0x1)}),_0x37574c===this[_0x37f975(0x197)]&&this[_0x37f975(0x199)](null);},{'priority':_0x55d45c(0x1cf)}),this[_0x55d45c(0x1de)](_0x1238eb,_0x55d45c(0x194),(_0x4640b9,_0x3c1e38)=>{const _0x34a70c=_0x55d45c;this[_0x34a70c(0x199)](_0x3c1e38);}),this[_0x55d45c(0x1de)](_0x1238eb,_0x55d45c(0x1f6),()=>{const _0x233d9b=_0x55d45c;this[_0x233d9b(0x199)](null);}),this[_0x55d45c(0x1fb)][_0x55d45c(0x1de)](document,_0x55d45c(0x1bd),(_0x4ad0ea,_0x3feda6)=>{const _0x53b6f3=_0x55d45c;_0x3feda6[_0x53b6f3(0x1a9)]===_0x2885e9[_0x53b6f3(0x1b0)]&&_0x186945[_0x53b6f3(0x1d9)]&&(this[_0x53b6f3(0x1c7)][_0x53b6f3(0x1da)](_0x186945[_0x53b6f3(0x1ac)][_0x53b6f3(0x1ab)]),this[_0x53b6f3(0x1b8)](),_0x3feda6[_0x53b6f3(0x1e4)](),_0x3feda6[_0x53b6f3(0x1a3)]());}),this[_0x55d45c(0x1fb)][_0x55d45c(0x1de)](document,_0x55d45c(0x207),(_0x3dcf6f,_0x4182e8)=>{const _0x588aa1=_0x55d45c,_0x387872=_0x4182e8[_0x588aa1(0x1b9)];_0x186945[_0x588aa1(0x1d9)]&&_0x186945[_0x588aa1(0x1c5)][_0x588aa1(0x1f0)](_0x387872)||_0x3182d9[_0x588aa1(0x1ca)][_0x588aa1(0x1c5)][_0x588aa1(0x1f0)](_0x387872)||_0x3dcf6f[_0x588aa1(0x1bc)]||this[_0x588aa1(0x197)]&&this[_0x588aa1(0x197)][_0x588aa1(0x1e3)][_0x588aa1(0x1b3)](_0x168f81=>_0x168f81[_0x588aa1(0x1f0)](_0x387872))||(this[_0x588aa1(0x1c7)][_0x588aa1(0x198)](),this[_0x588aa1(0x1b8)](),this[_0x588aa1(0x199)](null));});const _0x1c5e85=this[_0x55d45c(0x1dc)]instanceof _0x18590a?this[_0x55d45c(0x1dc)][_0x55d45c(0x1d2)]:new _0x218a64([this[_0x55d45c(0x1dc)]]);for(const _0x396ee3 of _0x1c5e85)this[_0x55d45c(0x201)](_0x396ee3);this[_0x55d45c(0x1de)](_0x1c5e85,_0x55d45c(0x1da),(_0x4852a2,_0x49db3b)=>{const _0x53be7b=_0x55d45c;this[_0x53be7b(0x1de)](_0x49db3b,_0x53be7b(0x1ee),()=>{const _0x57e59d=_0x53be7b;this[_0x57e59d(0x201)](_0x49db3b);});}),this[_0x55d45c(0x1de)](_0x1c5e85,_0x55d45c(0x1d6),(_0x30d953,_0xd172ef)=>{const _0xff22fd=_0x55d45c;_0xd172ef[_0xff22fd(0x19d)][_0xff22fd(0x1d5)](_0xff22fd(0x19f))&&this[_0xff22fd(0x196)](_0xd172ef[_0xff22fd(0x19d)][_0xff22fd(0x1c8)](_0xff22fd(0x19f)));}),window[_0x55d45c(0x208)](_0x55d45c(0x1f7),this[_0x55d45c(0x1f3)]),this[_0x55d45c(0x1bf)]();}[_0x294ac9(0x199)](_0x10a7fd){const _0x2f34d8=_0x294ac9;if(_0x10a7fd===this[_0x2f34d8(0x197)])return;const _0x5159b9=this[_0x2f34d8(0x1dc)][_0x2f34d8(0x19d)][_0x2f34d8(0x1c8)](_0x53caaf);if(_0x5159b9[_0x2f34d8(0x1e7)]({'blurredAnnotation':this[_0x2f34d8(0x197)],'activatedAnnotation':_0x10a7fd,'disableAnimationOnActivatedAnnotation':!0x0}),_0x10a7fd)_0x5159b9[_0x2f34d8(0x1b2)](_0x10a7fd)?this[_0x2f34d8(0x1ed)](_0x10a7fd):this[_0x2f34d8(0x1b8)]();else this[_0x2f34d8(0x1b8)]();this[_0x2f34d8(0x197)]=_0x10a7fd;}[_0x294ac9(0x1ec)](){const _0x16e398=_0x294ac9;if(!this[_0x16e398(0x195)])throw new _0x4ff3ea(_0x16e398(0x1f4),this);this[_0x16e398(0x199)](null);const _0x4e26e1=this[_0x16e398(0x1dc)][_0x16e398(0x19d)][_0x16e398(0x1c8)](_0x53caaf);this[_0x16e398(0x1b8)](),Array[_0x16e398(0x1a1)](this[_0x16e398(0x1db)][_0x16e398(0x1f9)](),_0x3a3e97=>_0x3a3e97[_0x16e398(0x1d8)]()),this[_0x16e398(0x1db)][_0x16e398(0x198)](),_0x4e26e1[_0x16e398(0x209)](this[_0x16e398(0x1a2)]),this[_0x16e398(0x1e0)](),this[_0x16e398(0x1fb)][_0x16e398(0x1e0)](),this[_0x16e398(0x1dc)]instanceof _0x18590a&&this[_0x16e398(0x1e0)](this[_0x16e398(0x1dc)][_0x16e398(0x1d2)]);for(const _0x4cbb0f of Array[_0x16e398(0x1a1)](this[_0x16e398(0x1b4)]))this[_0x16e398(0x196)](_0x4cbb0f);window[_0x16e398(0x205)](_0x16e398(0x1f7),this[_0x16e398(0x1f3)]),this[_0x16e398(0x1f3)][_0x16e398(0x1eb)](),this[_0x16e398(0x1b7)]=[],this[_0x16e398(0x195)]=!0x1,this[_0x16e398(0x1a2)]=null;}[_0x294ac9(0x1d8)](){const _0x2b2231=_0x294ac9;this[_0x2b2231(0x195)]&&this[_0x2b2231(0x1ec)](),this[_0x2b2231(0x1c0)][_0x2b2231(0x1f5)]();}[_0x294ac9(0x201)](_0x1aed82){const _0x4eed7d=_0x294ac9,_0x12db02=_0x1aed82[_0x4eed7d(0x19d)][_0x4eed7d(0x1c8)](_0x1c474e),_0x1c8882=this[_0x4eed7d(0x1dc)][_0x4eed7d(0x19d)][_0x4eed7d(0x1c8)](_0x53caaf),_0x300d5d=this[_0x4eed7d(0x1a2)],_0x281d07=this[_0x4eed7d(0x1e1)],_0x415894=()=>{const _0x4ee275=_0x4eed7d,_0x47ce12=_0x12db02[_0x4ee275(0x1e5)]({'annotations':this[_0x4ee275(0x1a2)],'activeAnnotation':this[_0x4ee275(0x197)]});this[_0x4ee275(0x1e6)](_0x47ce12),this[_0x4ee275(0x199)](_0x47ce12[0x0]||null);};this[_0x4eed7d(0x1de)](_0x12db02,_0x4eed7d(0x1e7),_0x415894),this[_0x4eed7d(0x1de)](_0x12db02,_0x4eed7d(0x1f6),(_0x3c8a19,{isAnnotationTracked:_0x5728bf})=>{const _0x2d2b00=_0x4eed7d;this[_0x2d2b00(0x197)]&&_0x5728bf(this[_0x2d2b00(0x197)])&&(this[_0x2d2b00(0x1e6)]([]),this[_0x2d2b00(0x199)](null));}),this[_0x4eed7d(0x1de)](_0x12db02,_0x4eed7d(0x206),()=>{const _0x1870c5=_0x4eed7d;this[_0x1870c5(0x1f3)]();}),this[_0x4eed7d(0x1de)](_0x300d5d,_0x4eed7d(0x1f6),_0x32af10=>{const _0x565ec8=_0x4eed7d;_0x12db02[_0x565ec8(0x1be)]()&&_0x32af10[_0x565ec8(0x1bb)]();},{'priority':_0x4eed7d(0x1aa)}),this[_0x4eed7d(0x1de)](this[_0x4eed7d(0x1fb)],_0x4eed7d(0x207),(_0x14ee56,_0x530cfe)=>{const _0x2ca5c1=_0x4eed7d,_0x4b0ff3=_0x530cfe[_0x2ca5c1(0x1b9)];_0x281d07[_0x2ca5c1(0x1d9)]&&_0x281d07[_0x2ca5c1(0x1c5)][_0x2ca5c1(0x1f0)](_0x4b0ff3)||_0x1c8882[_0x2ca5c1(0x1ca)][_0x2ca5c1(0x1c5)][_0x2ca5c1(0x1f0)](_0x4b0ff3)||this[_0x2ca5c1(0x197)]&&_0x12db02[_0x2ca5c1(0x1be)]()&&(_0x415894(),_0x14ee56[_0x2ca5c1(0x1bc)]=!0x0);},{'priority':_0x4eed7d(0x1aa)}),this[_0x4eed7d(0x1b4)][_0x4eed7d(0x1da)](_0x12db02);}[_0x294ac9(0x196)](_0x204b15){const _0x1e5176=_0x294ac9;_0x204b15&&(this[_0x1e5176(0x1e0)](_0x204b15),this[_0x1e5176(0x1b4)][_0x1e5176(0x1d6)](_0x204b15));}[_0x294ac9(0x1e6)](_0x339fd4){const _0x2d5a7d=_0x294ac9;for(const _0x122ff5 of this[_0x2d5a7d(0x1b7)])_0x339fd4[_0x2d5a7d(0x1c4)](_0x122ff5)||this[_0x2d5a7d(0x1c7)][_0x2d5a7d(0x1f2)](_0x122ff5[_0x2d5a7d(0x1ca)]);this[_0x2d5a7d(0x1b7)]=_0x339fd4;}[_0x294ac9(0x1bf)](){const _0x4ce0a9=_0x294ac9,_0x507da9=this[_0x4ce0a9(0x1e1)];this[_0x4ce0a9(0x1a2)][_0x4ce0a9(0x1f1)](),_0x507da9[_0x4ce0a9(0x1d9)]&&this[_0x4ce0a9(0x1c2)]();}[_0x294ac9(0x1ed)](_0x3ec96f){const _0x29693c=_0x294ac9;if(this[_0x29693c(0x1c7)][_0x29693c(0x1d5)](_0x3ec96f[_0x29693c(0x1ca)]))return;const _0x1b7037=this[_0x29693c(0x1e1)][_0x29693c(0x1ac)][_0x29693c(0x1ab)];_0x1b7037!==_0x3ec96f[_0x29693c(0x1ca)]?(_0x1b7037&&this[_0x29693c(0x1ff)](_0x1b7037),this[_0x29693c(0x1a8)](_0x3ec96f[_0x29693c(0x1ca)]),this[_0x29693c(0x1e1)][_0x29693c(0x1ac)][_0x29693c(0x198)](),this[_0x29693c(0x1e1)][_0x29693c(0x1ac)][_0x29693c(0x1da)](_0x3ec96f[_0x29693c(0x1ca)]),this[_0x29693c(0x1c2)]()):this[_0x29693c(0x1c2)]();}[_0x294ac9(0x1c2)](){const _0xea1de0=_0x294ac9,_0xed3723=this[_0xea1de0(0x1e1)][_0xea1de0(0x1ac)][_0xea1de0(0x1ab)],_0x1e23dd=_0xed3723&&this[_0xea1de0(0x1a2)][_0xea1de0(0x1d0)](_0xed3723);if(!_0x1e23dd||!this[_0xea1de0(0x1db)][_0xea1de0(0x1d5)](_0x1e23dd))return;const _0x50bf8b=this[_0xea1de0(0x1db)][_0xea1de0(0x1c8)](_0x1e23dd)[_0xea1de0(0x1c5)],_0x35e8e9=(function(){const _0x2ec5dd=_0xea1de0,_0x267814=_0x430476[_0x2ec5dd(0x1a7)];return[_0x267814[_0x2ec5dd(0x1a0)],_0x267814[_0x2ec5dd(0x1e9)],_0x267814[_0x2ec5dd(0x1a5)],_0x267814[_0x2ec5dd(0x19b)],_0x267814[_0x2ec5dd(0x1fa)],_0x267814[_0x2ec5dd(0x1a6)]];}());this[_0xea1de0(0x1e1)][_0xea1de0(0x1d3)]({'target':_0x50bf8b,'positions':_0x35e8e9});}[_0x294ac9(0x1b8)](){const _0x35e3bc=_0x294ac9,_0x4e876a=this[_0x35e3bc(0x1e1)],_0x58bea8=_0x4e876a[_0x35e3bc(0x1ac)][_0x35e3bc(0x1ab)];_0x58bea8&&(this[_0x35e3bc(0x1ff)](_0x58bea8),_0x4e876a[_0x35e3bc(0x1af)](),_0x4e876a[_0x35e3bc(0x1ac)][_0x35e3bc(0x198)]());}[_0x294ac9(0x1a8)](_0x4f979a){const _0x3c9d7d=_0x294ac9;this[_0x3c9d7d(0x1de)](_0x4f979a,_0x3c9d7d(0x1dd),()=>this[_0x3c9d7d(0x1c2)]()),this[_0x3c9d7d(0x1de)](_0x4f979a,_0x3c9d7d(0x1d7),(_0x178e5d,_0x3a2483)=>{const _0x17f8b5=_0x3c9d7d;this[_0x17f8b5(0x1c7)][_0x17f8b5(0x1da)](_0x4f979a),this[_0x17f8b5(0x1b8)](),_0x3a2483();});}[_0x294ac9(0x1ff)](_0x46e460){const _0x1f0eb4=_0x294ac9;this[_0x1f0eb4(0x1e0)](_0x46e460);}}
|
|
23
|
+
const _0x5851c6=_0x2613;(function(_0x20656a,_0x9ef4f){const _0x3f878f=_0x2613,_0x331d6b=_0x20656a();while(!![]){try{const _0x41e9fc=-parseInt(_0x3f878f(0x18d))/0x1+parseInt(_0x3f878f(0x1c3))/0x2*(parseInt(_0x3f878f(0x1c5))/0x3)+parseInt(_0x3f878f(0x1c0))/0x4+parseInt(_0x3f878f(0x187))/0x5*(parseInt(_0x3f878f(0x16d))/0x6)+-parseInt(_0x3f878f(0x1d2))/0x7*(-parseInt(_0x3f878f(0x18a))/0x8)+parseInt(_0x3f878f(0x1a9))/0x9*(-parseInt(_0x3f878f(0x1c8))/0xa)+-parseInt(_0x3f878f(0x1ae))/0xb;if(_0x41e9fc===_0x9ef4f)break;else _0x331d6b['push'](_0x331d6b['shift']());}catch(_0x4e2b55){_0x331d6b['push'](_0x331d6b['shift']());}}}(_0x2ff1,0xb5274));import{ContextPlugin as _0x394867,Context as _0x2c6ecc}from'ckeditor5/src/core.js';import _0x2ea6fd from'./annotationsuis.js';function _0x2ff1(){const _0x255025=['_annotations','4530MywudG','attach','_detachFromContainer','ck-sidebar--narrow','change:height','balloonPanelView','create','hasDomSelection','listenTo','_selectedAnnotations','preventClosingBalloon','northArrowSouth','_detachListeners','addAnnotation','first','target','resize','find','isVisible','low','_updateBalloonPosition','register','stop','rearrange','off','type','6145CTLuke','removeEventListener','init','161928cTmQEe','_setSelectedAnnotations','set','311783OVgpsi','NarrowSidebar','_hideBalloon','bind','locale','focus','_showBalloon','isAttached','set:container','northArrowSouthEast','pluginName','context','uiUpdate','narrowSidebar','attachToDom','refreshPositioning','activeAnnotation','from','southArrowNorthEast','ready','content','blur','keydown','plugins','detach','Esc','element','stopPropagation','18bQiLfX','annotationType','refresh','_manuallyClosedAnnotationViews','unpin','29104130OEtPDX','requires','execute','preventDefault','isDirty','number','getByView','_refreshPositioning','EditorAnnotations','setActiveAnnotation','contains','narrowsidebar-attach-already-attached','delete','southArrowNorthWest','keyCode','length','annotations','esc','5560620eAKFhF','change:container','detachFromDom','2478vTscnZ','focusableElements','2670FrCTgb','cancel','_domEmitter','731020mKgxKi','_refreshPositioningDebounced','add','high','pin','narrowsidebar-detach-not-attached','destroy','mousedown','editors','northArrowSouthWest','147DWrIwl','_integrateWithEditorAnnotations','_annotationToNarrowView','getOrderedSelectedAnnotations','includes','southArrowNorth','remove','_attachListeners','_attachToContainer','_editorAnnotations','stopListening','defaultPositions','clear','has','addEventListener','bodyCollection','getSidebarItemView','values','_destroyEditorAnnotationsIntegration','get','view'];_0x2ff1=function(){return _0x255025;};return _0x2ff1();}import _0x406662 from'./sidebar.js';import _0x3848c8 from'./view/annotationcounterbuttonview.js';import{BalloonPanelView as _0x4f884e,BodyCollection as _0x129670}from'ckeditor5/src/ui.js';import{CKEditorError as _0x233791,DomEmitterMixin as _0x19ecad,keyCodes as _0x2619d6,Collection as _0x287f04}from'ckeditor5/src/utils.js';import'../../theme/sidebar-narrow.css';import{debounce as _0x3e4dd7}from'lodash-es';import _0x2dd28f from'./editorannotations.js';function _0x2613(_0x1247a7,_0x5edbd7){const _0x2ff1d4=_0x2ff1();return _0x2613=function(_0x2613f1,_0x2757a9){_0x2613f1=_0x2613f1-0x163;let _0x5b9b20=_0x2ff1d4[_0x2613f1];return _0x5b9b20;},_0x2613(_0x1247a7,_0x5edbd7);}export default class i extends _0x394867{static get[_0x5851c6(0x1af)](){return[_0x406662,_0x2ea6fd];}static get[_0x5851c6(0x197)](){const _0x2884e5=_0x5851c6;return _0x2884e5(0x18e);}constructor(_0x4c9a57){const _0x4d1753=_0x5851c6;super(_0x4c9a57),this[_0x4d1753(0x194)]=!0x1,this[_0x4d1753(0x1ac)]=new Set(),this[_0x4d1753(0x1c7)]=Object[_0x4d1753(0x173)](_0x19ecad),this[_0x4d1753(0x1d4)]=new Map(),this[_0x4d1753(0x18c)](_0x4d1753(0x19d),null),this[_0x4d1753(0x1be)]=null,this[_0x4d1753(0x176)]=[],this[_0x4d1753(0x1db)]=new _0x287f04(),this[_0x4d1753(0x1c9)]=_0x3e4dd7(()=>{const _0x2b5eab=_0x4d1753;this[_0x2b5eab(0x1b5)]();},0xfa,{'leading':!0x1});}[_0x5851c6(0x189)](){const _0xd1c827=_0x5851c6;this[_0xd1c827(0x198)][_0xd1c827(0x1a4)][_0xd1c827(0x16a)](_0x2ea6fd)[_0xd1c827(0x182)](_0xd1c827(0x19a),this),this[_0xd1c827(0x166)]=new _0x129670(this[_0xd1c827(0x198)][_0xd1c827(0x191)]),this[_0xd1c827(0x172)]=new _0x4f884e(this[_0xd1c827(0x198)][_0xd1c827(0x191)]),this[_0xd1c827(0x166)][_0xd1c827(0x19b)](),this[_0xd1c827(0x166)][_0xd1c827(0x1ca)](this[_0xd1c827(0x172)]);}[_0x5851c6(0x16e)](_0x21d14b){const _0x4d2025=_0x5851c6;this[_0x4d2025(0x1be)]=_0x21d14b;const _0x25d72f=this[_0x4d2025(0x198)][_0x4d2025(0x1a4)][_0x4d2025(0x16a)](_0x406662),_0x204f0f=this[_0x4d2025(0x172)];if(_0x25d72f[_0x4d2025(0x16c)]=_0x21d14b,this[_0x4d2025(0x194)])throw new _0x233791(_0x4d2025(0x1b9),this);this[_0x4d2025(0x194)]=!0x0,this[_0x4d2025(0x175)](_0x25d72f,_0x4d2025(0x195),()=>{const _0xf1e802=_0x4d2025;this[_0xf1e802(0x1a5)](),this[_0xf1e802(0x175)](_0x25d72f,_0xf1e802(0x1c1),_0x5aacef=>{const _0x2fdb41=_0xf1e802;_0x5aacef[_0x2fdb41(0x185)](),this[_0x2fdb41(0x16e)](_0x21d14b);});}),_0x25d72f[_0x4d2025(0x1da)]({'viewClass':_0x4d2025(0x170),'spaceBetweenItems':0x5});const _0x29d7b4=_0x1e3a0a=>{const _0x1c6b5e=_0x4d2025,_0x268127=new _0x3848c8(this[_0x1c6b5e(0x198)][_0x1c6b5e(0x191)]);_0x25d72f[_0x1c6b5e(0x17a)](_0x1e3a0a,_0x268127),this[_0x1c6b5e(0x1d4)][_0x1c6b5e(0x18c)](_0x1e3a0a,_0x268127),_0x268127[_0x1c6b5e(0x190)](_0x1c6b5e(0x1b2),_0x1c6b5e(0x1aa),_0x1c6b5e(0x1b3))['to'](_0x1e3a0a[_0x1c6b5e(0x16b)],_0x1c6b5e(0x1b2),_0x1c6b5e(0x186),_0x1c6b5e(0x1bd)),_0x268127['on'](_0x1c6b5e(0x1b0),()=>{const _0x5b2785=_0x1c6b5e;this[_0x5b2785(0x1ac)][_0x5b2785(0x163)](),_0x204f0f[_0x5b2785(0x1a1)][_0x5b2785(0x17b)]!==_0x1e3a0a[_0x5b2785(0x16b)]?(this[_0x5b2785(0x193)](_0x1e3a0a),_0x1e3a0a[_0x5b2785(0x16b)][_0x5b2785(0x1a7)][_0x5b2785(0x192)](),this[_0x5b2785(0x1b7)](_0x1e3a0a)):this[_0x5b2785(0x1b7)](null);});};for(const _0x3a4248 of _0x21d14b)_0x29d7b4(_0x3a4248);this[_0x4d2025(0x175)](_0x21d14b,_0x4d2025(0x1ca),(_0x447ea6,_0x9d2410)=>{_0x29d7b4(_0x9d2410);}),this[_0x4d2025(0x175)](_0x21d14b,_0x4d2025(0x1d8),(_0x527e08,_0xbbfd9c,_0x58ecb6)=>{const _0x3bc015=_0x4d2025;this[_0x3bc015(0x1d4)][_0x3bc015(0x16a)](_0xbbfd9c)[_0x3bc015(0x1ce)](),this[_0x3bc015(0x1d4)][_0x3bc015(0x1ba)](_0xbbfd9c),_0x25d72f[_0x3bc015(0x184)]({'removedAnnotation':_0xbbfd9c,'previousAnnotation':_0x21d14b[_0x3bc015(0x16a)](_0x58ecb6-0x1),'nextAnnotation':_0x21d14b[_0x3bc015(0x16a)](_0x58ecb6+0x1)}),_0xbbfd9c===this[_0x3bc015(0x19d)]&&this[_0x3bc015(0x1b7)](null);},{'priority':_0x4d2025(0x180)}),this[_0x4d2025(0x175)](_0x21d14b,_0x4d2025(0x192),(_0x36def4,_0x4caf58)=>{const _0x59f53b=_0x4d2025;this[_0x59f53b(0x1b7)](_0x4caf58);}),this[_0x4d2025(0x175)](_0x21d14b,_0x4d2025(0x1a2),()=>{const _0x58b1d7=_0x4d2025;this[_0x58b1d7(0x1b7)](null);}),this[_0x4d2025(0x1c7)][_0x4d2025(0x175)](document,_0x4d2025(0x1a3),(_0x11fd83,_0x2961ab)=>{const _0x443356=_0x4d2025;_0x2961ab[_0x443356(0x1bc)]===_0x2619d6[_0x443356(0x1bf)]&&_0x204f0f[_0x443356(0x17f)]&&(this[_0x443356(0x1ac)][_0x443356(0x1ca)](_0x204f0f[_0x443356(0x1a1)][_0x443356(0x17b)]),this[_0x443356(0x18f)](),_0x2961ab[_0x443356(0x1a8)](),_0x2961ab[_0x443356(0x1b1)]());}),this[_0x4d2025(0x1c7)][_0x4d2025(0x175)](document,_0x4d2025(0x1cf),(_0x306b24,_0x3ae1db)=>{const _0x472c7e=_0x4d2025,_0x2010e4=_0x3ae1db[_0x472c7e(0x17c)];_0x204f0f[_0x472c7e(0x17f)]&&_0x204f0f[_0x472c7e(0x1a7)][_0x472c7e(0x1b8)](_0x2010e4)||_0x25d72f[_0x472c7e(0x16b)][_0x472c7e(0x1a7)][_0x472c7e(0x1b8)](_0x2010e4)||_0x306b24[_0x472c7e(0x177)]||this[_0x472c7e(0x19d)]&&this[_0x472c7e(0x19d)][_0x472c7e(0x1c4)][_0x472c7e(0x17e)](_0x4bd748=>_0x4bd748[_0x472c7e(0x1b8)](_0x2010e4))||(this[_0x472c7e(0x1ac)][_0x472c7e(0x163)](),this[_0x472c7e(0x18f)](),this[_0x472c7e(0x1b7)](null));});const _0x5227fb=this[_0x4d2025(0x198)]instanceof _0x2c6ecc?this[_0x4d2025(0x198)][_0x4d2025(0x1d0)]:new _0x287f04([this[_0x4d2025(0x198)]]);for(const _0x10f5df of _0x5227fb)this[_0x4d2025(0x1d3)](_0x10f5df);this[_0x4d2025(0x175)](_0x5227fb,_0x4d2025(0x1ca),(_0x4fa92f,_0x517e49)=>{const _0x423ff7=_0x4d2025;this[_0x423ff7(0x175)](_0x517e49,_0x423ff7(0x1a0),()=>{const _0x7047f=_0x423ff7;this[_0x7047f(0x1d3)](_0x517e49);});}),this[_0x4d2025(0x175)](_0x5227fb,_0x4d2025(0x1d8),(_0x5623f8,_0x2005cd)=>{const _0x4ec506=_0x4d2025;_0x2005cd[_0x4ec506(0x1a4)][_0x4ec506(0x164)](_0x4ec506(0x1b6))&&this[_0x4ec506(0x169)](_0x2005cd[_0x4ec506(0x1a4)][_0x4ec506(0x16a)](_0x4ec506(0x1b6)));}),window[_0x4d2025(0x165)](_0x4d2025(0x17d),this[_0x4d2025(0x1c9)]),this[_0x4d2025(0x1b5)]();}[_0x5851c6(0x1b7)](_0x52a2d0){const _0x186be8=_0x5851c6;if(_0x52a2d0===this[_0x186be8(0x19d)])return;const _0x243d0a=this[_0x186be8(0x198)][_0x186be8(0x1a4)][_0x186be8(0x16a)](_0x406662);if(_0x243d0a[_0x186be8(0x1ab)]({'blurredAnnotation':this[_0x186be8(0x19d)],'activatedAnnotation':_0x52a2d0,'disableAnimationOnActivatedAnnotation':!0x0}),_0x52a2d0)_0x243d0a[_0x186be8(0x167)](_0x52a2d0)?this[_0x186be8(0x193)](_0x52a2d0):this[_0x186be8(0x18f)]();else this[_0x186be8(0x18f)]();this[_0x186be8(0x19d)]=_0x52a2d0;}[_0x5851c6(0x1a5)](){const _0x4d0900=_0x5851c6;if(!this[_0x4d0900(0x194)])throw new _0x233791(_0x4d0900(0x1cd),this);this[_0x4d0900(0x1b7)](null);const _0x4da389=this[_0x4d0900(0x198)][_0x4d0900(0x1a4)][_0x4d0900(0x16a)](_0x406662);this[_0x4d0900(0x18f)](),Array[_0x4d0900(0x19e)](this[_0x4d0900(0x1d4)][_0x4d0900(0x168)](),_0x47df18=>_0x47df18[_0x4d0900(0x1ce)]()),this[_0x4d0900(0x1d4)][_0x4d0900(0x163)](),_0x4da389[_0x4d0900(0x16f)](this[_0x4d0900(0x1be)]),this[_0x4d0900(0x1dc)](),this[_0x4d0900(0x1c7)][_0x4d0900(0x1dc)](),this[_0x4d0900(0x198)]instanceof _0x2c6ecc&&this[_0x4d0900(0x1dc)](this[_0x4d0900(0x198)][_0x4d0900(0x1d0)]);for(const _0x1a99be of Array[_0x4d0900(0x19e)](this[_0x4d0900(0x1db)]))this[_0x4d0900(0x169)](_0x1a99be);window[_0x4d0900(0x188)](_0x4d0900(0x17d),this[_0x4d0900(0x1c9)]),this[_0x4d0900(0x1c9)][_0x4d0900(0x1c6)](),this[_0x4d0900(0x176)]=[],this[_0x4d0900(0x194)]=!0x1,this[_0x4d0900(0x1be)]=null;}[_0x5851c6(0x1ce)](){const _0x1beefa=_0x5851c6;this[_0x1beefa(0x194)]&&this[_0x1beefa(0x1a5)](),this[_0x1beefa(0x166)][_0x1beefa(0x1c2)]();}[_0x5851c6(0x1d3)](_0x53db6d){const _0x332b3b=_0x5851c6,_0x2b542e=_0x53db6d[_0x332b3b(0x1a4)][_0x332b3b(0x16a)](_0x2dd28f),_0x4969e6=this[_0x332b3b(0x198)][_0x332b3b(0x1a4)][_0x332b3b(0x16a)](_0x406662),_0x5edba1=this[_0x332b3b(0x1be)],_0x2a2209=this[_0x332b3b(0x172)],_0x2ae67c=()=>{const _0x16435d=_0x332b3b,_0x513d9f=_0x2b542e[_0x16435d(0x1d5)]({'annotations':this[_0x16435d(0x1be)],'activeAnnotation':this[_0x16435d(0x19d)]});this[_0x16435d(0x18b)](_0x513d9f),this[_0x16435d(0x1b7)](_0x513d9f[0x0]||null);};this[_0x332b3b(0x175)](_0x2b542e,_0x332b3b(0x1ab),_0x2ae67c),this[_0x332b3b(0x175)](_0x2b542e,_0x332b3b(0x1a2),(_0x1c7fa7,{isAnnotationTracked:_0x524b60})=>{const _0x222268=_0x332b3b;this[_0x222268(0x19d)]&&_0x524b60(this[_0x222268(0x19d)])&&(this[_0x222268(0x18b)]([]),this[_0x222268(0x1b7)](null));}),this[_0x332b3b(0x175)](_0x2b542e,_0x332b3b(0x199),()=>{const _0x26b78a=_0x332b3b;this[_0x26b78a(0x1c9)]();}),this[_0x332b3b(0x175)](_0x5edba1,_0x332b3b(0x1a2),_0x29ceef=>{const _0x1ee188=_0x332b3b;_0x2b542e[_0x1ee188(0x174)]()&&_0x29ceef[_0x1ee188(0x183)]();},{'priority':_0x332b3b(0x1cb)}),this[_0x332b3b(0x175)](this[_0x332b3b(0x1c7)],_0x332b3b(0x1cf),(_0x3b1da0,_0x3d94e9)=>{const _0x3a9c71=_0x332b3b,_0xeb7234=_0x3d94e9[_0x3a9c71(0x17c)];_0x2a2209[_0x3a9c71(0x17f)]&&_0x2a2209[_0x3a9c71(0x1a7)][_0x3a9c71(0x1b8)](_0xeb7234)||_0x4969e6[_0x3a9c71(0x16b)][_0x3a9c71(0x1a7)][_0x3a9c71(0x1b8)](_0xeb7234)||this[_0x3a9c71(0x19d)]&&_0x2b542e[_0x3a9c71(0x174)]()&&(_0x2ae67c(),_0x3b1da0[_0x3a9c71(0x177)]=!0x0);},{'priority':_0x332b3b(0x1cb)}),this[_0x332b3b(0x1db)][_0x332b3b(0x1ca)](_0x2b542e);}[_0x5851c6(0x169)](_0x2096dc){const _0x1b8976=_0x5851c6;_0x2096dc&&(this[_0x1b8976(0x1dc)](_0x2096dc),this[_0x1b8976(0x1db)][_0x1b8976(0x1d8)](_0x2096dc));}[_0x5851c6(0x18b)](_0x2341b8){const _0x5b782b=_0x5851c6;for(const _0x205a19 of this[_0x5b782b(0x176)])_0x2341b8[_0x5b782b(0x1d6)](_0x205a19)||this[_0x5b782b(0x1ac)][_0x5b782b(0x1ba)](_0x205a19[_0x5b782b(0x16b)]);this[_0x5b782b(0x176)]=_0x2341b8;}[_0x5851c6(0x1b5)](){const _0x276657=_0x5851c6,_0x503349=this[_0x276657(0x172)];this[_0x276657(0x1be)][_0x276657(0x19c)](),_0x503349[_0x276657(0x17f)]&&this[_0x276657(0x181)]();}[_0x5851c6(0x193)](_0x5b4de1){const _0xd7bb76=_0x5851c6;if(this[_0xd7bb76(0x1ac)][_0xd7bb76(0x164)](_0x5b4de1[_0xd7bb76(0x16b)]))return;const _0x336679=this[_0xd7bb76(0x172)][_0xd7bb76(0x1a1)][_0xd7bb76(0x17b)];_0x336679!==_0x5b4de1[_0xd7bb76(0x16b)]?(_0x336679&&this[_0xd7bb76(0x179)](_0x336679),this[_0xd7bb76(0x1d9)](_0x5b4de1[_0xd7bb76(0x16b)]),this[_0xd7bb76(0x172)][_0xd7bb76(0x1a1)][_0xd7bb76(0x163)](),this[_0xd7bb76(0x172)][_0xd7bb76(0x1a1)][_0xd7bb76(0x1ca)](_0x5b4de1[_0xd7bb76(0x16b)]),this[_0xd7bb76(0x181)]()):this[_0xd7bb76(0x181)]();}[_0x5851c6(0x181)](){const _0x429566=_0x5851c6,_0x7a65f8=this[_0x429566(0x172)][_0x429566(0x1a1)][_0x429566(0x17b)],_0x59482c=_0x7a65f8&&this[_0x429566(0x1be)][_0x429566(0x1b4)](_0x7a65f8);if(!_0x59482c||!this[_0x429566(0x1d4)][_0x429566(0x164)](_0x59482c))return;const _0x460825=this[_0x429566(0x1d4)][_0x429566(0x16a)](_0x59482c)[_0x429566(0x1a7)],_0x5917c9=(function(){const _0x5d26dc=_0x429566,_0x2a11a4=_0x4f884e[_0x5d26dc(0x1dd)];return[_0x2a11a4[_0x5d26dc(0x19f)],_0x2a11a4[_0x5d26dc(0x196)],_0x2a11a4[_0x5d26dc(0x1d7)],_0x2a11a4[_0x5d26dc(0x178)],_0x2a11a4[_0x5d26dc(0x1bb)],_0x2a11a4[_0x5d26dc(0x1d1)]];}());this[_0x429566(0x172)][_0x429566(0x1cc)]({'target':_0x460825,'positions':_0x5917c9});}[_0x5851c6(0x18f)](){const _0x228844=_0x5851c6,_0x4d4903=this[_0x228844(0x172)],_0x2560cf=_0x4d4903[_0x228844(0x1a1)][_0x228844(0x17b)];_0x2560cf&&(this[_0x228844(0x179)](_0x2560cf),_0x4d4903[_0x228844(0x1ad)](),_0x4d4903[_0x228844(0x1a1)][_0x228844(0x163)]());}[_0x5851c6(0x1d9)](_0x31b720){const _0x16dc21=_0x5851c6;this[_0x16dc21(0x175)](_0x31b720,_0x16dc21(0x171),()=>this[_0x16dc21(0x181)]()),this[_0x16dc21(0x175)](_0x31b720,_0x16dc21(0x1a6),(_0x30bac3,_0x47e8f2)=>{const _0x15504f=_0x16dc21;this[_0x15504f(0x1ac)][_0x15504f(0x1ca)](_0x31b720),this[_0x15504f(0x18f)](),_0x47e8f2();});}[_0x5851c6(0x179)](_0x314a6e){const _0x1dc023=_0x5851c6;this[_0x1dc023(0x1dc)](_0x314a6e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3febe4=_0x2772;function _0x2772(_0x5814ef,_0x1085c9){const _0x1c6b7e=_0x1c6b();return _0x2772=function(_0x2772f3,_0x2b9054){_0x2772f3=_0x2772f3-0x12f;let _0x1f63dd=_0x1c6b7e[_0x2772f3];return _0x1f63dd;},_0x2772(_0x5814ef,_0x1085c9);}(function(_0x234bb0,_0x563a70){const _0x6cca5d=_0x2772,_0x180336=_0x234bb0();while(!![]){try{const _0x491ef1=-parseInt(_0x6cca5d(0x135))/0x1*(-parseInt(_0x6cca5d(0x180))/0x2)+parseInt(_0x6cca5d(0x146))/0x3+parseInt(_0x6cca5d(0x17d))/0x4*(-parseInt(_0x6cca5d(0x168))/0x5)+-parseInt(_0x6cca5d(0x143))/0x6*(parseInt(_0x6cca5d(0x14f))/0x7)+parseInt(_0x6cca5d(0x147))/0x8+parseInt(_0x6cca5d(0x179))/0x9+-parseInt(_0x6cca5d(0x176))/0xa;if(_0x491ef1===_0x563a70)break;else _0x180336['push'](_0x180336['shift']());}catch(_0x28d188){_0x180336['push'](_0x180336['shift']());}}}(_0x1c6b,0x32fd2));function _0x1c6b(){const _0x464aa1=['remove','_getItemBefore','_getTargetTop','stopListening','view','define','sidebar.preventScrollOutOfView','_annotations','unbind','12beIqKV','_createSidebarView','object','864291ttuTIX','3182448pLSKUW','container','targetRect','change:targetRect','last','target','delete','_alignForTopChange','13657XrmkSf','get','config','change:_lastItem','top','_setItemTop','isActive','change:top','isAnimationDisabled','render','height','_targetTop','getIndex','_getItemAfter','content','refresh','_alignBeforeItem','appendChild','sidebar-setcontainer-invalid-element','_destroySidebarItemView','pluginName','_recalculateBuffer','length','listenTo','max','13290xzKDIf','sidebar-attachtocontainer-missing-container','class','Sidebar','_annotationToSidebarItemView','setContainer','_attachToContainer','push','_getMaxAvailableTop','_lastItem','add','element','destroy','minHeight','6630680kyqybV','bottom','updateHeight','2646117FmdSGo','change:bottom','clear','_spaceBetweenItems','516braBaM','nodeType','rearrange','2fdEBkH','_alignAfterItem','_detachFromContainer','init','_recalculate','set','_activeAnnotation','bind','locale','_alignToTargetRect','_sidebarItemViewToAnnotation','_alignForBottomChange','sidebar.container','_updateLastItem','238786eLWQAx','getSidebarItemView','list','addAnnotation','context'];_0x1c6b=function(){return _0x464aa1;};return _0x1c6b();}import{ContextPlugin as _0x42f577}from'ckeditor5/src/core.js';import{Rect as _0x85ffda,CKEditorError as _0x50bf34}from'ckeditor5/src/utils.js';import _0x450b14 from'./view/sidebarview.js';import _0x14fe75 from'./view/sidebaritemview.js';export default class z extends _0x42f577{static get[_0x3febe4(0x163)](){const _0x3a00aa=_0x3febe4;return _0x3a00aa(0x16b);}constructor(_0x1c45bf){const _0x427c2e=_0x3febe4;super(_0x1c45bf),this[_0x427c2e(0x185)](_0x427c2e(0x171),void 0x0),this[_0x427c2e(0x13e)]=this[_0x427c2e(0x144)](),this[_0x427c2e(0x185)](_0x427c2e(0x148),null),this[_0x427c2e(0x17c)]=0x19,this[_0x427c2e(0x131)]=new Map(),this[_0x427c2e(0x16c)]=new Map(),this[_0x427c2e(0x139)][_0x427c2e(0x151)][_0x427c2e(0x13f)](_0x427c2e(0x140),!0x1),this[_0x427c2e(0x141)]=null,this[_0x427c2e(0x186)]=null,this[_0x427c2e(0x164)]=[];}[_0x3febe4(0x183)](){const _0x13944d=_0x3febe4,_0x12de6a=this[_0x13944d(0x139)][_0x13944d(0x151)][_0x13944d(0x150)](_0x13944d(0x133));_0x12de6a&&this[_0x13944d(0x16d)](_0x12de6a);}[_0x3febe4(0x16d)](_0x4825d9){const _0x4e4816=_0x3febe4;if(!y(_0x4825d9))throw new _0x50bf34(_0x4e4816(0x161));this[_0x4e4816(0x148)]=_0x4825d9;}[_0x3febe4(0x16e)]({viewClass:_0x4a034c='',spaceBetweenItems:_0x5b88b9=0x19}={}){const _0x42326f=_0x3febe4;if(!y(this[_0x42326f(0x148)]))throw new _0x50bf34(_0x42326f(0x169),this);this[_0x42326f(0x148)][_0x42326f(0x160)](this[_0x42326f(0x13e)][_0x42326f(0x173)]),this[_0x42326f(0x13e)][_0x42326f(0x16a)]=_0x4a034c,this[_0x42326f(0x17c)]=_0x5b88b9;}[_0x3febe4(0x17f)]({removedAnnotation:_0x2e5a41,previousAnnotation:_0x410181,nextAnnotation:_0x56b12d}){const _0x2a630a=_0x3febe4,_0xefc6de=this[_0x2a630a(0x136)](_0x2e5a41);this[_0x2a630a(0x13e)][_0x2a630a(0x137)][_0x2a630a(0x13a)](_0xefc6de),this[_0x2a630a(0x162)](_0x2e5a41),_0x410181&&this[_0x2a630a(0x130)](this[_0x2a630a(0x136)](_0x410181)),_0x56b12d&&this[_0x2a630a(0x130)](this[_0x2a630a(0x136)](_0x56b12d)),this[_0x2a630a(0x134)]();}[_0x3febe4(0x15e)]({blurredAnnotation:_0xcb6287,activatedAnnotation:_0x35819e,disableAnimationOnActivatedAnnotation:_0x2d110c}){const _0x3617c5=_0x3febe4;if(this[_0x3617c5(0x186)]=_0x35819e,_0xcb6287){_0xcb6287[_0x3617c5(0x155)]=!0x1;const _0x1c313d=this[_0x3617c5(0x136)](_0xcb6287);_0x1c313d&&_0x2d110c&&(_0x1c313d[_0x3617c5(0x157)]=!0x1);}if(_0x35819e){const _0x7ca1ae=this[_0x3617c5(0x136)](_0x35819e);_0x7ca1ae&&(_0x35819e[_0x3617c5(0x155)]=!0x0,_0x2d110c&&(_0x7ca1ae[_0x3617c5(0x157)]=!0x0,_0x7ca1ae[_0x3617c5(0x153)]+=0x1),this[_0x3617c5(0x130)](_0x7ca1ae));}}[_0x3febe4(0x182)](_0x1067de){const _0x325271=_0x3febe4;if(this[_0x325271(0x13e)][_0x325271(0x173)][_0x325271(0x13a)](),_0x1067de){for(const _0x523a13 of _0x1067de)this[_0x325271(0x162)](_0x523a13);}this[_0x325271(0x13e)][_0x325271(0x137)][_0x325271(0x17b)](),this[_0x325271(0x13e)][_0x325271(0x16a)]='',this[_0x325271(0x171)]=null;}[_0x3febe4(0x138)](_0x1277d5,_0x5213ef){const _0x3fb936=_0x3febe4;_0x5213ef||(_0x5213ef=_0x1277d5[_0x3fb936(0x13e)]);const _0x1f310e=new _0x14fe75(this[_0x3fb936(0x139)][_0x3fb936(0x12f)]);this[_0x3fb936(0x131)][_0x3fb936(0x185)](_0x1f310e,_0x1277d5),this[_0x3fb936(0x16c)][_0x3fb936(0x185)](_0x1277d5,_0x1f310e),_0x1f310e[_0x3fb936(0x15d)][_0x3fb936(0x172)](_0x5213ef),this[_0x3fb936(0x166)](_0x1277d5[_0x3fb936(0x13e)],_0x3fb936(0x14a),(_0x3744c7,_0x44f8cd,_0x4722bd)=>{const _0x1066c7=_0x3fb936,_0x298e4d=this[_0x1066c7(0x13c)](_0x1277d5,_0x4722bd);_0x1f310e[_0x1066c7(0x15a)]!=_0x298e4d&&(_0x1f310e[_0x1066c7(0x15a)]=_0x298e4d,this[_0x1066c7(0x154)](_0x1f310e,_0x298e4d));}),this[_0x3fb936(0x166)](_0x1f310e,_0x3fb936(0x156),()=>{const _0x1d3d28=_0x3fb936;this[_0x1d3d28(0x184)](_0x1f310e,_0x1d3d28(0x153));}),this[_0x3fb936(0x166)](_0x1f310e,_0x3fb936(0x17a),()=>{const _0x43205f=_0x3fb936;this[_0x43205f(0x184)](_0x1f310e,_0x43205f(0x177));}),this[_0x3fb936(0x130)](_0x1f310e);const _0x48e716=this[_0x3fb936(0x13b)](_0x1f310e);if(_0x48e716)this[_0x3fb936(0x181)](_0x48e716,_0x1f310e)||this[_0x3fb936(0x130)](_0x1f310e);else this[_0x3fb936(0x130)](_0x1f310e);return this[_0x3fb936(0x134)](),this[_0x3fb936(0x13e)][_0x3fb936(0x137)][_0x3fb936(0x172)](_0x1f310e),_0x1f310e;}[_0x3febe4(0x14e)](_0x5cca44){const _0x4d5d69=_0x3febe4;if(!_0x5cca44[_0x4d5d69(0x15d)][_0x4d5d69(0x165)])return;const _0x3a511e=this[_0x4d5d69(0x13b)](_0x5cca44);if(!_0x3a511e)return;const _0x2d7b25=this[_0x4d5d69(0x131)][_0x4d5d69(0x150)](_0x3a511e),_0x4b9556=this[_0x4d5d69(0x186)];_0x4b9556&&_0x4b9556===_0x2d7b25?this[_0x4d5d69(0x181)](_0x3a511e,_0x5cca44):this[_0x4d5d69(0x15f)](_0x5cca44,_0x3a511e);}[_0x3febe4(0x132)](_0xf849){const _0x2c3dc0=_0x3febe4;if(!_0xf849[_0x2c3dc0(0x15d)][_0x2c3dc0(0x165)])return;const _0x1e18d3=this[_0x2c3dc0(0x15c)](_0xf849);if(!_0x1e18d3)return;const _0x187550=this[_0x2c3dc0(0x131)][_0x2c3dc0(0x150)](_0x1e18d3),_0x3bd33b=this[_0x2c3dc0(0x139)][_0x2c3dc0(0x151)][_0x2c3dc0(0x150)](_0x2c3dc0(0x140)),_0x2c6ef5=this[_0x2c3dc0(0x186)];_0x2c6ef5&&_0x2c6ef5===_0x187550&&_0x3bd33b?(this[_0x2c3dc0(0x15f)](_0x1e18d3,_0xf849),this[_0x2c3dc0(0x181)](_0xf849,_0x1e18d3)):_0x2c6ef5&&_0x2c6ef5===_0x187550?this[_0x2c3dc0(0x15f)](_0x1e18d3,_0xf849):this[_0x2c3dc0(0x181)](_0xf849,_0x1e18d3);}[_0x3febe4(0x184)](_0x38c810,_0x1b1d0b){const _0x3925bd=_0x3febe4;0x0===this[_0x3925bd(0x164)][_0x3925bd(0x165)]&&setTimeout(()=>{const _0x594227=_0x3925bd;for(const {sidebarItemView:_0x2db559,changedProp:_0x1e4090}of this[_0x594227(0x164)])_0x594227(0x153)===_0x1e4090?this[_0x594227(0x14e)](_0x2db559):this[_0x594227(0x132)](_0x2db559);this[_0x594227(0x164)]=[];},0xa),this[_0x3925bd(0x164)][_0x3925bd(0x16f)]({'sidebarItemView':_0x38c810,'changedProp':_0x1b1d0b});}[_0x3febe4(0x136)](_0x2b82a5){const _0x94007c=_0x3febe4;return this[_0x94007c(0x16c)][_0x94007c(0x150)](_0x2b82a5);}[_0x3febe4(0x174)](){const _0x4eb04a=_0x3febe4;this[_0x4eb04a(0x13d)](),this[_0x4eb04a(0x13e)][_0x4eb04a(0x174)]();}[_0x3febe4(0x162)](_0x35e6b1){const _0x13c0f6=_0x3febe4,_0x2196dc=this[_0x13c0f6(0x136)](_0x35e6b1);this[_0x13c0f6(0x13d)](_0x2196dc),this[_0x13c0f6(0x13d)](_0x35e6b1[_0x13c0f6(0x13e)]),_0x2196dc[_0x13c0f6(0x174)](),this[_0x13c0f6(0x16c)][_0x13c0f6(0x14d)](_0x35e6b1),this[_0x13c0f6(0x131)][_0x13c0f6(0x14d)](_0x2196dc);}[_0x3febe4(0x144)](){const _0x5ce934=_0x3febe4,_0x726731=new _0x450b14(this[_0x5ce934(0x139)][_0x5ce934(0x12f)]);return _0x726731[_0x5ce934(0x158)](),this['on'](_0x5ce934(0x152),(_0x34092b,_0x4a93ac,_0x4f568b,_0x4c2e13)=>{const _0x5c0ffe=_0x5ce934;_0x4c2e13&&_0x726731[_0x5c0ffe(0x142)](_0x5c0ffe(0x175)),_0x4f568b?_0x726731[_0x5c0ffe(0x187)](_0x5c0ffe(0x175))['to'](_0x4f568b,_0x5c0ffe(0x177)):_0x726731[_0x5c0ffe(0x175)]=null;}),_0x726731;}[_0x3febe4(0x134)](){const _0x219cca=_0x3febe4;var _0x30dae6;this[_0x219cca(0x171)]=(null===(_0x30dae6=this[_0x219cca(0x141)])||void 0x0===_0x30dae6?void 0x0:_0x30dae6[_0x219cca(0x14b)])?this[_0x219cca(0x136)](this[_0x219cca(0x141)][_0x219cca(0x14b)]):null;}[_0x3febe4(0x13b)](_0x3e5d48){const _0x34f3d0=_0x3febe4;var _0x2aa618;const _0x10e768=this[_0x34f3d0(0x131)][_0x34f3d0(0x150)](_0x3e5d48),_0x107b1f=_0x10e768&&(null===(_0x2aa618=this[_0x34f3d0(0x141)])||void 0x0===_0x2aa618?void 0x0:_0x2aa618[_0x34f3d0(0x150)](this[_0x34f3d0(0x141)][_0x34f3d0(0x15b)](_0x10e768)-0x1));return _0x107b1f&&this[_0x34f3d0(0x136)](_0x107b1f)||null;}[_0x3febe4(0x15c)](_0xdcdf09){const _0x463186=_0x3febe4;var _0x1ee354;const _0x347595=this[_0x463186(0x131)][_0x463186(0x150)](_0xdcdf09),_0x3570ce=_0x347595&&(null===(_0x1ee354=this[_0x463186(0x141)])||void 0x0===_0x1ee354?void 0x0:_0x1ee354[_0x463186(0x150)](this[_0x463186(0x141)][_0x463186(0x15b)](_0x347595)+0x1));return _0x3570ce&&this[_0x463186(0x136)](_0x3570ce)||null;}[_0x3febe4(0x15f)](_0xa53ead,_0x2c607a){const _0x5b0e66=_0x3febe4;_0xa53ead[_0x5b0e66(0x178)]();const _0x5ac1bc=M(_0x2c607a[_0x5b0e66(0x177)]+this[_0x5b0e66(0x17c)],_0xa53ead[_0x5b0e66(0x153)]);return!!_0x5ac1bc&&(this[_0x5b0e66(0x154)](_0x2c607a,_0x2c607a[_0x5b0e66(0x153)]-_0x5ac1bc),!0x0);}[_0x3febe4(0x181)](_0x41e307,_0x49b62b){const _0x13fe79=_0x3febe4;_0x41e307[_0x13fe79(0x178)]();const _0x3eda7d=M(_0x41e307[_0x13fe79(0x177)]+this[_0x13fe79(0x17c)],_0x49b62b[_0x13fe79(0x153)]);return!!_0x3eda7d&&(this[_0x13fe79(0x154)](_0x49b62b,_0x49b62b[_0x13fe79(0x153)]+_0x3eda7d,!0x1),!0x0);}[_0x3febe4(0x130)](_0x34bbb8){const _0x890871=_0x3febe4,_0x126761=this[_0x890871(0x131)][_0x890871(0x150)](_0x34bbb8);if(!_0x126761||!_0x126761[_0x890871(0x14c)]||!_0x126761[_0x890871(0x149)])return;const _0x97c3b1=this[_0x890871(0x13c)](_0x126761,_0x126761[_0x890871(0x149)]);this[_0x890871(0x154)](_0x34bbb8,_0x97c3b1);}[_0x3febe4(0x13c)](_0x423e4c,_0xb712af){const _0x4eb48c=_0x3febe4;if(null===_0xb712af)return 0x0;if(_0x423e4c[_0x4eb48c(0x14c)]instanceof _0x85ffda)return _0xb712af[_0x4eb48c(0x153)];{const _0x3b478e=new _0x85ffda(this[_0x4eb48c(0x13e)][_0x4eb48c(0x173)])[_0x4eb48c(0x153)];return _0xb712af[_0x4eb48c(0x153)]-_0x3b478e;}}[_0x3febe4(0x154)](_0x4d8118,_0x4dea8c,_0x4ed922=this[_0x3febe4(0x139)][_0x3febe4(0x151)][_0x3febe4(0x150)](_0x3febe4(0x140))){const _0x4063a5=_0x3febe4;_0x4ed922&&(_0x4dea8c=Math[_0x4063a5(0x167)](_0x4dea8c,this[_0x4063a5(0x170)](_0x4d8118))),_0x4d8118[_0x4063a5(0x153)]=_0x4dea8c;}[_0x3febe4(0x170)](_0x4790dc){const _0x5803ac=_0x3febe4;let _0x132918=this[_0x5803ac(0x13b)](_0x4790dc),_0x3883e8=0x0;for(;_0x132918;)_0x132918[_0x5803ac(0x178)](),_0x3883e8+=this[_0x5803ac(0x17c)]+_0x132918[_0x5803ac(0x159)],_0x132918=this[_0x5803ac(0x13b)](_0x132918);return _0x3883e8;}}function M(_0x5c4f98,_0x41649e){const _0x5d5525=_0x3febe4;return Math[_0x5d5525(0x167)](_0x5c4f98-_0x41649e,0x0);}function y(_0x3ec8f9){const _0x2312a5=_0x3febe4;return null!==_0x3ec8f9&&_0x2312a5(0x145)==typeof _0x3ec8f9&&0x1===_0x3ec8f9[_0x2312a5(0x17e)];}
|
|
23
|
+
const _0x5103ec=_0x1a9f;(function(_0x238a7c,_0x1f1ace){const _0xd36d7a=_0x1a9f,_0x229201=_0x238a7c();while(!![]){try{const _0xe38bd7=parseInt(_0xd36d7a(0x19d))/0x1*(-parseInt(_0xd36d7a(0x1ab))/0x2)+parseInt(_0xd36d7a(0x19c))/0x3*(parseInt(_0xd36d7a(0x1b3))/0x4)+-parseInt(_0xd36d7a(0x196))/0x5*(-parseInt(_0xd36d7a(0x1ca))/0x6)+parseInt(_0xd36d7a(0x1d5))/0x7*(-parseInt(_0xd36d7a(0x194))/0x8)+-parseInt(_0xd36d7a(0x1b4))/0x9+-parseInt(_0xd36d7a(0x19e))/0xa+parseInt(_0xd36d7a(0x1c2))/0xb;if(_0xe38bd7===_0x1f1ace)break;else _0x229201['push'](_0x229201['shift']());}catch(_0x2738f5){_0x229201['push'](_0x229201['shift']());}}}(_0x4580,0x47396));import{ContextPlugin as _0x207610}from'ckeditor5/src/core.js';function _0x4580(){const _0x203998=['_getItemAfter','4753606RyvVrz','sidebar.container','top','_sidebarItemViewToAnnotation','updateHeight','locale','isActive','stopListening','438MemXIs','nodeType','_alignBeforeItem','bind','targetRect','_getTargetTop','max','_attachToContainer','define','change:targetRect','_spaceBetweenItems','7WTbPXn','setContainer','delete','_targetTop','last','set','content','_setItemTop','appendChild','change:_lastItem','sidebar-attachtocontainer-missing-container','list','destroy','remove','bottom','_activeAnnotation','add','_getItemBefore','addAnnotation','Sidebar','sidebar.preventScrollOutOfView','_lastItem','change:bottom','sidebar-setcontainer-invalid-element','target','205672TjjvNk','get','16705xIdzAl','length','class','isAnimationDisabled','_updateLastItem','_alignForTopChange','1202358fzPsFG','5PMhxHJ','2086210mDmSnY','_alignAfterItem','listenTo','_recalculateBuffer','_createSidebarView','init','pluginName','view','render','getSidebarItemView','_destroySidebarItemView','clear','_alignToTargetRect','140824ywdYqw','_detachFromContainer','object','_alignForBottomChange','change:top','unbind','_getMaxAvailableTop','element','4bPjLAE','1788309ErcvAo','container','_annotations','refresh','getIndex','config','rearrange','height','_recalculate','_annotationToSidebarItemView','push','minHeight','context'];_0x4580=function(){return _0x203998;};return _0x4580();}import{Rect as _0x3150cc,CKEditorError as _0x53e2e5}from'ckeditor5/src/utils.js';function _0x1a9f(_0x2106b1,_0x17862d){const _0x45800f=_0x4580();return _0x1a9f=function(_0x1a9f3a,_0x2f9c74){_0x1a9f3a=_0x1a9f3a-0x17d;let _0x3446cd=_0x45800f[_0x1a9f3a];return _0x3446cd;},_0x1a9f(_0x2106b1,_0x17862d);}import _0x5c1377 from'./view/sidebarview.js';import _0x1d061b from'./view/sidebaritemview.js';export default class z extends _0x207610{static get[_0x5103ec(0x1a4)](){const _0x14eb33=_0x5103ec;return _0x14eb33(0x18e);}constructor(_0x932460){const _0x58c5fb=_0x5103ec;super(_0x932460),this[_0x58c5fb(0x180)](_0x58c5fb(0x190),void 0x0),this[_0x58c5fb(0x1a5)]=this[_0x58c5fb(0x1a2)](),this[_0x58c5fb(0x180)](_0x58c5fb(0x1b5),null),this[_0x58c5fb(0x1d4)]=0x19,this[_0x58c5fb(0x1c5)]=new Map(),this[_0x58c5fb(0x1bd)]=new Map(),this[_0x58c5fb(0x1c0)][_0x58c5fb(0x1b9)][_0x58c5fb(0x1d2)](_0x58c5fb(0x18f),!0x1),this[_0x58c5fb(0x1b6)]=null,this[_0x58c5fb(0x18a)]=null,this[_0x58c5fb(0x1a1)]=[];}[_0x5103ec(0x1a3)](){const _0x4da866=_0x5103ec,_0xa93236=this[_0x4da866(0x1c0)][_0x4da866(0x1b9)][_0x4da866(0x195)](_0x4da866(0x1c3));_0xa93236&&this[_0x4da866(0x1d6)](_0xa93236);}[_0x5103ec(0x1d6)](_0x38c934){const _0x3cbfd5=_0x5103ec;if(!y(_0x38c934))throw new _0x53e2e5(_0x3cbfd5(0x192));this[_0x3cbfd5(0x1b5)]=_0x38c934;}[_0x5103ec(0x1d1)]({viewClass:_0x188016='',spaceBetweenItems:_0x48556c=0x19}={}){const _0x19ee30=_0x5103ec;if(!y(this[_0x19ee30(0x1b5)]))throw new _0x53e2e5(_0x19ee30(0x185),this);this[_0x19ee30(0x1b5)][_0x19ee30(0x183)](this[_0x19ee30(0x1a5)][_0x19ee30(0x1b2)]),this[_0x19ee30(0x1a5)][_0x19ee30(0x198)]=_0x188016,this[_0x19ee30(0x1d4)]=_0x48556c;}[_0x5103ec(0x1ba)]({removedAnnotation:_0x57032e,previousAnnotation:_0x4723e9,nextAnnotation:_0x20acaa}){const _0x2cf244=_0x5103ec,_0x2f542a=this[_0x2cf244(0x1a7)](_0x57032e);this[_0x2cf244(0x1a5)][_0x2cf244(0x186)][_0x2cf244(0x188)](_0x2f542a),this[_0x2cf244(0x1a8)](_0x57032e),_0x4723e9&&this[_0x2cf244(0x1aa)](this[_0x2cf244(0x1a7)](_0x4723e9)),_0x20acaa&&this[_0x2cf244(0x1aa)](this[_0x2cf244(0x1a7)](_0x20acaa)),this[_0x2cf244(0x19a)]();}[_0x5103ec(0x1b7)]({blurredAnnotation:_0x271f10,activatedAnnotation:_0x119b35,disableAnimationOnActivatedAnnotation:_0x53e594}){const _0x151656=_0x5103ec;if(this[_0x151656(0x18a)]=_0x119b35,_0x271f10){_0x271f10[_0x151656(0x1c8)]=!0x1;const _0x210f32=this[_0x151656(0x1a7)](_0x271f10);_0x210f32&&_0x53e594&&(_0x210f32[_0x151656(0x199)]=!0x1);}if(_0x119b35){const _0x3a0fe9=this[_0x151656(0x1a7)](_0x119b35);_0x3a0fe9&&(_0x119b35[_0x151656(0x1c8)]=!0x0,_0x53e594&&(_0x3a0fe9[_0x151656(0x199)]=!0x0,_0x3a0fe9[_0x151656(0x1c4)]+=0x1),this[_0x151656(0x1aa)](_0x3a0fe9));}}[_0x5103ec(0x1ac)](_0x2187d4){const _0x5cdaea=_0x5103ec;if(this[_0x5cdaea(0x1a5)][_0x5cdaea(0x1b2)][_0x5cdaea(0x188)](),_0x2187d4){for(const _0x501e9d of _0x2187d4)this[_0x5cdaea(0x1a8)](_0x501e9d);}this[_0x5cdaea(0x1a5)][_0x5cdaea(0x186)][_0x5cdaea(0x1a9)](),this[_0x5cdaea(0x1a5)][_0x5cdaea(0x198)]='',this[_0x5cdaea(0x190)]=null;}[_0x5103ec(0x18d)](_0x55bfb7,_0x14dc43){const _0x1ee196=_0x5103ec;_0x14dc43||(_0x14dc43=_0x55bfb7[_0x1ee196(0x1a5)]);const _0x273733=new _0x1d061b(this[_0x1ee196(0x1c0)][_0x1ee196(0x1c7)]);this[_0x1ee196(0x1c5)][_0x1ee196(0x180)](_0x273733,_0x55bfb7),this[_0x1ee196(0x1bd)][_0x1ee196(0x180)](_0x55bfb7,_0x273733),_0x273733[_0x1ee196(0x181)][_0x1ee196(0x18b)](_0x14dc43),this[_0x1ee196(0x1a0)](_0x55bfb7[_0x1ee196(0x1a5)],_0x1ee196(0x1d3),(_0x115d98,_0x24e543,_0xc597b4)=>{const _0x22d4d3=_0x1ee196,_0x449c9e=this[_0x22d4d3(0x1cf)](_0x55bfb7,_0xc597b4);_0x273733[_0x22d4d3(0x17e)]!=_0x449c9e&&(_0x273733[_0x22d4d3(0x17e)]=_0x449c9e,this[_0x22d4d3(0x182)](_0x273733,_0x449c9e));}),this[_0x1ee196(0x1a0)](_0x273733,_0x1ee196(0x1af),()=>{const _0x117114=_0x1ee196;this[_0x117114(0x1bc)](_0x273733,_0x117114(0x1c4));}),this[_0x1ee196(0x1a0)](_0x273733,_0x1ee196(0x191),()=>{const _0x119640=_0x1ee196;this[_0x119640(0x1bc)](_0x273733,_0x119640(0x189));}),this[_0x1ee196(0x1aa)](_0x273733);const _0x4eaada=this[_0x1ee196(0x18c)](_0x273733);if(_0x4eaada)this[_0x1ee196(0x19f)](_0x4eaada,_0x273733)||this[_0x1ee196(0x1aa)](_0x273733);else this[_0x1ee196(0x1aa)](_0x273733);return this[_0x1ee196(0x19a)](),this[_0x1ee196(0x1a5)][_0x1ee196(0x186)][_0x1ee196(0x18b)](_0x273733),_0x273733;}[_0x5103ec(0x19b)](_0x357b4b){const _0x1a0c2b=_0x5103ec;if(!_0x357b4b[_0x1a0c2b(0x181)][_0x1a0c2b(0x197)])return;const _0x6c8af=this[_0x1a0c2b(0x18c)](_0x357b4b);if(!_0x6c8af)return;const _0x2fcb5b=this[_0x1a0c2b(0x1c5)][_0x1a0c2b(0x195)](_0x6c8af),_0x2184b3=this[_0x1a0c2b(0x18a)];_0x2184b3&&_0x2184b3===_0x2fcb5b?this[_0x1a0c2b(0x19f)](_0x6c8af,_0x357b4b):this[_0x1a0c2b(0x1cc)](_0x357b4b,_0x6c8af);}[_0x5103ec(0x1ae)](_0x2f9b32){const _0x3dd6e8=_0x5103ec;if(!_0x2f9b32[_0x3dd6e8(0x181)][_0x3dd6e8(0x197)])return;const _0x4135e9=this[_0x3dd6e8(0x1c1)](_0x2f9b32);if(!_0x4135e9)return;const _0x4e3cd8=this[_0x3dd6e8(0x1c5)][_0x3dd6e8(0x195)](_0x4135e9),_0x207786=this[_0x3dd6e8(0x1c0)][_0x3dd6e8(0x1b9)][_0x3dd6e8(0x195)](_0x3dd6e8(0x18f)),_0x20f947=this[_0x3dd6e8(0x18a)];_0x20f947&&_0x20f947===_0x4e3cd8&&_0x207786?(this[_0x3dd6e8(0x1cc)](_0x4135e9,_0x2f9b32),this[_0x3dd6e8(0x19f)](_0x2f9b32,_0x4135e9)):_0x20f947&&_0x20f947===_0x4e3cd8?this[_0x3dd6e8(0x1cc)](_0x4135e9,_0x2f9b32):this[_0x3dd6e8(0x19f)](_0x2f9b32,_0x4135e9);}[_0x5103ec(0x1bc)](_0x310644,_0x332b99){const _0x3f84bc=_0x5103ec;0x0===this[_0x3f84bc(0x1a1)][_0x3f84bc(0x197)]&&setTimeout(()=>{const _0x488cdc=_0x3f84bc;for(const {sidebarItemView:_0x5c722c,changedProp:_0x3c1fc4}of this[_0x488cdc(0x1a1)])_0x488cdc(0x1c4)===_0x3c1fc4?this[_0x488cdc(0x19b)](_0x5c722c):this[_0x488cdc(0x1ae)](_0x5c722c);this[_0x488cdc(0x1a1)]=[];},0xa),this[_0x3f84bc(0x1a1)][_0x3f84bc(0x1be)]({'sidebarItemView':_0x310644,'changedProp':_0x332b99});}[_0x5103ec(0x1a7)](_0x4ea20d){const _0x4a0a59=_0x5103ec;return this[_0x4a0a59(0x1bd)][_0x4a0a59(0x195)](_0x4ea20d);}[_0x5103ec(0x187)](){const _0x4712b0=_0x5103ec;this[_0x4712b0(0x1c9)](),this[_0x4712b0(0x1a5)][_0x4712b0(0x187)]();}[_0x5103ec(0x1a8)](_0xd66dc){const _0x4ad4d0=_0x5103ec,_0x1600ab=this[_0x4ad4d0(0x1a7)](_0xd66dc);this[_0x4ad4d0(0x1c9)](_0x1600ab),this[_0x4ad4d0(0x1c9)](_0xd66dc[_0x4ad4d0(0x1a5)]),_0x1600ab[_0x4ad4d0(0x187)](),this[_0x4ad4d0(0x1bd)][_0x4ad4d0(0x17d)](_0xd66dc),this[_0x4ad4d0(0x1c5)][_0x4ad4d0(0x17d)](_0x1600ab);}[_0x5103ec(0x1a2)](){const _0x446bbb=_0x5103ec,_0x17a02d=new _0x5c1377(this[_0x446bbb(0x1c0)][_0x446bbb(0x1c7)]);return _0x17a02d[_0x446bbb(0x1a6)](),this['on'](_0x446bbb(0x184),(_0x3097ff,_0x39c20f,_0x201951,_0x9fd70c)=>{const _0x23ca74=_0x446bbb;_0x9fd70c&&_0x17a02d[_0x23ca74(0x1b0)](_0x23ca74(0x1bf)),_0x201951?_0x17a02d[_0x23ca74(0x1cd)](_0x23ca74(0x1bf))['to'](_0x201951,_0x23ca74(0x189)):_0x17a02d[_0x23ca74(0x1bf)]=null;}),_0x17a02d;}[_0x5103ec(0x19a)](){const _0x3f44d7=_0x5103ec;var _0x20a6dd;this[_0x3f44d7(0x190)]=(null===(_0x20a6dd=this[_0x3f44d7(0x1b6)])||void 0x0===_0x20a6dd?void 0x0:_0x20a6dd[_0x3f44d7(0x17f)])?this[_0x3f44d7(0x1a7)](this[_0x3f44d7(0x1b6)][_0x3f44d7(0x17f)]):null;}[_0x5103ec(0x18c)](_0x1dc41d){const _0x19af1e=_0x5103ec;var _0x37bf3f;const _0x20b6d9=this[_0x19af1e(0x1c5)][_0x19af1e(0x195)](_0x1dc41d),_0x275061=_0x20b6d9&&(null===(_0x37bf3f=this[_0x19af1e(0x1b6)])||void 0x0===_0x37bf3f?void 0x0:_0x37bf3f[_0x19af1e(0x195)](this[_0x19af1e(0x1b6)][_0x19af1e(0x1b8)](_0x20b6d9)-0x1));return _0x275061&&this[_0x19af1e(0x1a7)](_0x275061)||null;}[_0x5103ec(0x1c1)](_0x50d01a){const _0x147f42=_0x5103ec;var _0x1a5b11;const _0x1938ba=this[_0x147f42(0x1c5)][_0x147f42(0x195)](_0x50d01a),_0x101d12=_0x1938ba&&(null===(_0x1a5b11=this[_0x147f42(0x1b6)])||void 0x0===_0x1a5b11?void 0x0:_0x1a5b11[_0x147f42(0x195)](this[_0x147f42(0x1b6)][_0x147f42(0x1b8)](_0x1938ba)+0x1));return _0x101d12&&this[_0x147f42(0x1a7)](_0x101d12)||null;}[_0x5103ec(0x1cc)](_0x480225,_0x2d923b){const _0x403da6=_0x5103ec;_0x480225[_0x403da6(0x1c6)]();const _0x46dffe=M(_0x2d923b[_0x403da6(0x189)]+this[_0x403da6(0x1d4)],_0x480225[_0x403da6(0x1c4)]);return!!_0x46dffe&&(this[_0x403da6(0x182)](_0x2d923b,_0x2d923b[_0x403da6(0x1c4)]-_0x46dffe),!0x0);}[_0x5103ec(0x19f)](_0x40eaf3,_0x5d6a0c){const _0x26f4cd=_0x5103ec;_0x40eaf3[_0x26f4cd(0x1c6)]();const _0x5dae98=M(_0x40eaf3[_0x26f4cd(0x189)]+this[_0x26f4cd(0x1d4)],_0x5d6a0c[_0x26f4cd(0x1c4)]);return!!_0x5dae98&&(this[_0x26f4cd(0x182)](_0x5d6a0c,_0x5d6a0c[_0x26f4cd(0x1c4)]+_0x5dae98,!0x1),!0x0);}[_0x5103ec(0x1aa)](_0x1c4818){const _0x397a23=_0x5103ec,_0x6c9670=this[_0x397a23(0x1c5)][_0x397a23(0x195)](_0x1c4818);if(!_0x6c9670||!_0x6c9670[_0x397a23(0x193)]||!_0x6c9670[_0x397a23(0x1ce)])return;const _0x3fab0f=this[_0x397a23(0x1cf)](_0x6c9670,_0x6c9670[_0x397a23(0x1ce)]);this[_0x397a23(0x182)](_0x1c4818,_0x3fab0f);}[_0x5103ec(0x1cf)](_0xd9e1b5,_0x289fe6){const _0x55e729=_0x5103ec;if(null===_0x289fe6)return 0x0;if(_0xd9e1b5[_0x55e729(0x193)]instanceof _0x3150cc)return _0x289fe6[_0x55e729(0x1c4)];{const _0x279841=new _0x3150cc(this[_0x55e729(0x1a5)][_0x55e729(0x1b2)])[_0x55e729(0x1c4)];return _0x289fe6[_0x55e729(0x1c4)]-_0x279841;}}[_0x5103ec(0x182)](_0x17d88c,_0x31ae18,_0x2eda42=this[_0x5103ec(0x1c0)][_0x5103ec(0x1b9)][_0x5103ec(0x195)](_0x5103ec(0x18f))){const _0x185be5=_0x5103ec;_0x2eda42&&(_0x31ae18=Math[_0x185be5(0x1d0)](_0x31ae18,this[_0x185be5(0x1b1)](_0x17d88c))),_0x17d88c[_0x185be5(0x1c4)]=_0x31ae18;}[_0x5103ec(0x1b1)](_0x158559){const _0x301000=_0x5103ec;let _0x5ae4af=this[_0x301000(0x18c)](_0x158559),_0x256535=0x0;for(;_0x5ae4af;)_0x5ae4af[_0x301000(0x1c6)](),_0x256535+=this[_0x301000(0x1d4)]+_0x5ae4af[_0x301000(0x1bb)],_0x5ae4af=this[_0x301000(0x18c)](_0x5ae4af);return _0x256535;}}function M(_0x177bba,_0x278b25){const _0x444d52=_0x5103ec;return Math[_0x444d52(0x1d0)](_0x177bba-_0x278b25,0x0);}function y(_0xad9f52){const _0x4eb8dc=_0x5103ec;return null!==_0xad9f52&&_0x4eb8dc(0x1ad)==typeof _0xad9f52&&0x1===_0xad9f52[_0x4eb8dc(0x1cb)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1694c0,_0x3ed368){const _0x496b50=_0x37c9,_0x4f7d0d=_0x1694c0();while(!![]){try{const _0x262877=parseInt(_0x496b50(0x1ee))/0x1+parseInt(_0x496b50(0x1d6))/0x2*(parseInt(_0x496b50(0x1e5))/0x3)+-parseInt(_0x496b50(0x1df))/0x4*(parseInt(_0x496b50(0x1d2))/0x5)+-parseInt(_0x496b50(0x1e2))/0x6*(parseInt(_0x496b50(0x1e8))/0x7)+parseInt(_0x496b50(0x1e6))/0x8+parseInt(_0x496b50(0x1eb))/0x9+-parseInt(_0x496b50(0x1da))/0xa;if(_0x262877===_0x3ed368)break;else _0x4f7d0d['push'](_0x4f7d0d['shift']());}catch(_0x1e5d72){_0x4f7d0d['push'](_0x4f7d0d['shift']());}}}(_0x52b7,0xb2b0d));import{ButtonView as _0x42f79f,View as _0xf7137f}from'ckeditor5/src/ui.js';import _0x14048c from'../../../theme/icons/add-comment.svg';function _0x52b7(){const _0x4f1c57=['children','13207410FAzZcx','_badge','add','setTemplate','set','359336WgBBGs','counterView','ck-annotation-counter','77790FpGAUP','extendTemplate','bindTemplate','27lmoFUS','3698440rZOVOq','span','259UKVjfF','number','ck-annotation-counter__badge--edit-mode','12964977ZqMsJX','annotationType','bind','838069MgNmjg','...','25yucJhL','isDirty','toString','ck-annotation-counter__badge','53468DGiDYX','ck-annotation-counter__badge--','icon'];_0x52b7=function(){return _0x4f1c57;};return _0x52b7();}function _0x37c9(_0x46555b,_0x204f76){const _0x52b7c5=_0x52b7();return _0x37c9=function(_0x3667b3,_0x4bb095){_0x3667b3=_0x3667b3-0x1d2;let _0x1f655e=_0x52b7c5[_0x3667b3];return _0x1f655e;},_0x37c9(_0x46555b,_0x204f76);}export default class D extends _0x42f79f{constructor(_0x5546d3){const _0x3627a5=_0x37c9;super(_0x5546d3);const _0x1a73c4=this[_0x3627a5(0x1e4)];this[_0x3627a5(0x1de)](_0x3627a5(0x1d3),!0x1),this[_0x3627a5(0x1de)](_0x3627a5(0x1e9),0x0),this[_0x3627a5(0x1ed)](_0x3627a5(0x1db))['to'](this,_0x3627a5(0x1d3),this,_0x3627a5(0x1e9),(_0x102720,_0x59ec8a)=>_0x102720?_0x3627a5(0x1ef):_0x59ec8a[_0x3627a5(0x1d4)]()),this[_0x3627a5(0x1de)](_0x3627a5(0x1ec),''),this[_0x3627a5(0x1d8)]=_0x14048c,this[_0x3627a5(0x1e3)]({'attributes':{'class':[_0x3627a5(0x1e1)]}}),this[_0x3627a5(0x1e0)]=new _0xf7137f(),this[_0x3627a5(0x1e0)][_0x3627a5(0x1dd)]({'tag':_0x3627a5(0x1e7),'attributes':{'class':[_0x3627a5(0x1d5),_0x1a73c4['to'](_0x3627a5(0x1ec),_0x14137a=>_0x3627a5(0x1d7)+_0x14137a),_0x1a73c4['if'](_0x3627a5(0x1d3),_0x3627a5(0x1ea))]},'children':[{'text':_0x1a73c4['to'](_0x3627a5(0x1db))}]}),this[_0x3627a5(0x1d9)][_0x3627a5(0x1dc)](this[_0x3627a5(0x1e0)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xdba1(){const _0x1df4f7=['mainView','Esc','8IeFiea','bindTemplate','type','listenTo','add','focus','ck-annotation-wrapper','642403carocm','_mutationObserver','10234273gvsizP','isDirty','set','length','1476642gXHvYJ','setTemplate','51mYQbyf','clientHeight','createCollection','div','focusTracker','height','1278145KytDzH','ck-rounded-corners','ck-annotation-wrapper--active','destroy','_updateHeight','25276329wmakyg','detach','element','84532PByOyH','keystrokes','render','fire','content','attach','targetRect','1056660QOxPtz','isActive','clear'];_0xdba1=function(){return _0x1df4f7;};return _0xdba1();}const _0x559bfd=_0xff8b;(function(_0x24bbea,_0x5da204){const _0x58da27=_0xff8b,_0x2d15cb=_0x24bbea();while(!![]){try{const _0x36e748=-parseInt(_0x58da27(0x87))/0x1+-parseInt(_0x58da27(0x8d))/0x2+parseInt(_0x58da27(0x8f))/0x3*(parseInt(_0x58da27(0x74))/0x4)+parseInt(_0x58da27(0x95))/0x5+parseInt(_0x58da27(0x7b))/0x6+-parseInt(_0x58da27(0x89))/0x7*(parseInt(_0x58da27(0x80))/0x8)+parseInt(_0x58da27(0x71))/0x9;if(_0x36e748===_0x5da204)break;else _0x2d15cb['push'](_0x2d15cb['shift']());}catch(_0x233a48){_0x2d15cb['push'](_0x2d15cb['shift']());}}}(_0xdba1,0xb8bee));import{View as _0x20eb03}from'ckeditor5/src/ui.js';import{FocusTracker as _0x228c97,KeystrokeHandler as _0x37b247,uid as _0x60861a}from'ckeditor5/src/utils.js';import _0x406b90 from'../../utils/createmutationobserver.js';function _0xff8b(_0x485a8b,_0x53eeba){const _0xdba1f9=_0xdba1();return _0xff8b=function(_0xff8b94,_0x3192cf){_0xff8b94=_0xff8b94-0x6e;let _0x3a502e=_0xdba1f9[_0xff8b94];return _0x3a502e;},_0xff8b(_0x485a8b,_0x53eeba);}import'../../../theme/annotation.css';export default class V extends _0x20eb03{constructor(_0x5a99a8,_0x111477){const _0x356e77=_0xff8b;super(_0x5a99a8),this['id']=_0x60861a(),this[_0x356e77(0x93)]=new _0x228c97(),this[_0x356e77(0x75)]=new _0x37b247(),this[_0x356e77(0x75)][_0x356e77(0x8b)](_0x356e77(0x7f),(_0x48c68c,_0x53171f)=>this[_0x356e77(0x77)](_0x356e77(0x7f),_0x53171f)),this[_0x356e77(0x8b)](_0x356e77(0x7a),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x356e77(0x8b)](_0x356e77(0x94),0x0),this[_0x356e77(0x8b)](_0x356e77(0x7c),!0x1),this[_0x356e77(0x8b)](_0x356e77(0x8a),!0x1),this[_0x356e77(0x8b)](_0x356e77(0x8c),0x0),this[_0x356e77(0x8b)](_0x356e77(0x82),''),this[_0x356e77(0x88)]=_0x406b90(()=>this[_0x356e77(0x70)]()),this[_0x356e77(0x78)]=this[_0x356e77(0x91)](),this[_0x356e77(0x78)][_0x356e77(0x84)](_0x111477),this[_0x356e77(0x7e)]=_0x111477;const _0x4dbad9=this[_0x356e77(0x81)];this[_0x356e77(0x8e)]({'tag':_0x356e77(0x92),'attributes':{'class':['ck',_0x356e77(0x86),_0x356e77(0x96),_0x4dbad9['if'](_0x356e77(0x7c),_0x356e77(0x6e))],'tabindex':-0x1},'children':this[_0x356e77(0x78)]});}[_0x559bfd(0x76)](){const _0x32b694=_0x559bfd;super[_0x32b694(0x76)](),this[_0x32b694(0x93)][_0x32b694(0x84)](this[_0x32b694(0x73)]),this[_0x32b694(0x75)][_0x32b694(0x83)](this[_0x32b694(0x73)]),this[_0x32b694(0x88)][_0x32b694(0x79)](this[_0x32b694(0x73)]);}[_0x559bfd(0x6f)](){const _0x275b85=_0x559bfd;this[_0x275b85(0x78)][_0x275b85(0x7d)](),this[_0x275b85(0x75)][_0x275b85(0x6f)](),this[_0x275b85(0x93)][_0x275b85(0x6f)](),this[_0x275b85(0x88)][_0x275b85(0x72)](),super[_0x275b85(0x6f)]();}[_0x559bfd(0x85)](){const _0x18a833=_0x559bfd;this[_0x18a833(0x73)][_0x18a833(0x85)]();}[_0x559bfd(0x70)](){const _0x7b212c=_0x559bfd,_0x5186f2=this[_0x7b212c(0x73)][_0x7b212c(0x90)];_0x5186f2&&(this[_0x7b212c(0x94)]=_0x5186f2);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1585(){const _0xd42af3=['1952916MffMbe','33490VWsLvL','7293684tDFxAw','element','_mutationObserver','11nSNbFE','setTemplate','193143pYgVdb','render','2mSwnbJ','clear','8fGnyrV','_targetTop','581208iiOMEW','bindTemplate','ck-sidebar-item','createCollection','4gyWnrJ','destroy','bottom','content','div','height','711KxSXDo','141379VcrYij','detach','attach','set','bind','ck-sidebar-item--no-animation','1478340WoFJrz','updateHeight','clientHeight','top','isAnimationDisabled'];_0x1585=function(){return _0xd42af3;};return _0x1585();}const _0x1a514c=_0xcf24;(function(_0xaadfee,_0x5c7b7e){const _0xbffbc8=_0xcf24,_0x52c743=_0xaadfee();while(!![]){try{const _0x148be3=-parseInt(_0xbffbc8(0x11b))/0x1+-parseInt(_0xbffbc8(0x12f))/0x2*(parseInt(_0xbffbc8(0x12d))/0x3)+-parseInt(_0xbffbc8(0x114))/0x4*(parseInt(_0xbffbc8(0x121))/0x5)+parseInt(_0xbffbc8(0x110))/0x6+parseInt(_0xbffbc8(0x126))/0x7*(-parseInt(_0xbffbc8(0x10e))/0x8)+parseInt(_0xbffbc8(0x11a))/0x9*(parseInt(_0xbffbc8(0x127))/0xa)+-parseInt(_0xbffbc8(0x12b))/0xb*(-parseInt(_0xbffbc8(0x128))/0xc);if(_0x148be3===_0x5c7b7e)break;else _0x52c743['push'](_0x52c743['shift']());}catch(_0x196ca3){_0x52c743['push'](_0x52c743['shift']());}}}(_0x1585,0x2e19e));import{View as _0x17855b}from'ckeditor5/src/ui.js';import{toUnit as _0x2db13d}from'ckeditor5/src/utils.js';import _0x465fa6 from'../../utils/createmutationobserver.js';const qt=_0x2db13d('px');function _0xcf24(_0x58af58,_0x514746){const _0x158522=_0x1585();return _0xcf24=function(_0xcf245e,_0x194b70){_0xcf245e=_0xcf245e-0x10d;let _0x46b2e6=_0x158522[_0xcf245e];return _0x46b2e6;},_0xcf24(_0x58af58,_0x514746);}export default class C extends _0x17855b{constructor(_0x5940dd){const _0x41daf7=_0xcf24;super(_0x5940dd),this[_0x41daf7(0x11e)](_0x41daf7(0x124),0x0),this[_0x41daf7(0x11e)](_0x41daf7(0x119),0x0),this[_0x41daf7(0x11f)](_0x41daf7(0x116))['to'](this,_0x41daf7(0x124),this,_0x41daf7(0x119),(_0xf3f181,_0x2a792c)=>_0xf3f181+_0x2a792c),this[_0x41daf7(0x11e)](_0x41daf7(0x125),!0x1),this[_0x41daf7(0x12a)]=_0x465fa6(()=>this[_0x41daf7(0x122)]()),this[_0x41daf7(0x10f)]=null,this[_0x41daf7(0x117)]=this[_0x41daf7(0x113)]();const _0xfbb183=this[_0x41daf7(0x111)];this[_0x41daf7(0x12c)]({'tag':_0x41daf7(0x118),'attributes':{'class':[_0x41daf7(0x112),_0xfbb183['to'](_0x41daf7(0x125),_0x20315f=>_0x20315f?_0x41daf7(0x120):'')],'style':{'top':_0xfbb183['to'](_0x41daf7(0x124),_0x450b41=>qt(_0x450b41))}},'children':this[_0x41daf7(0x117)]});}[_0x1a514c(0x12e)](){const _0x5773f0=_0x1a514c;super[_0x5773f0(0x12e)](),this[_0x5773f0(0x12a)][_0x5773f0(0x11d)](this[_0x5773f0(0x129)]);}[_0x1a514c(0x122)](){const _0x297790=_0x1a514c,_0x28aa88=this[_0x297790(0x129)][_0x297790(0x123)];_0x28aa88&&(this[_0x297790(0x119)]=_0x28aa88);}[_0x1a514c(0x115)](){const _0x143348=_0x1a514c;this[_0x143348(0x117)][_0x143348(0x10d)](),this[_0x143348(0x12a)][_0x143348(0x11c)](),super[_0x143348(0x115)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5cd626,_0x476ec8){const _0x25cfc5=_0x2db8,_0x3ac285=_0x5cd626();while(!![]){try{const _0xba0483=parseInt(_0x25cfc5(0x1d5))/0x1*(parseInt(_0x25cfc5(0x1e1))/0x2)+-parseInt(_0x25cfc5(0x1d8))/0x3+parseInt(_0x25cfc5(0x1da))/0x4*(parseInt(_0x25cfc5(0x1e2))/0x5)+-parseInt(_0x25cfc5(0x1d7))/0x6+-parseInt(_0x25cfc5(0x1e6))/0x7+parseInt(_0x25cfc5(0x1df))/0x8+-parseInt(_0x25cfc5(0x1e3))/0x9;if(_0xba0483===_0x476ec8)break;else _0x3ac285['push'](_0x3ac285['shift']());}catch(_0x94a30d){_0x3ac285['push'](_0x3ac285['shift']());}}}(_0x42bd,0x3531f));function _0x2db8(_0x2819e7,_0x356bcd){const _0x42bdc8=_0x42bd();return _0x2db8=function(_0x2db84d,_0x5452dc){_0x2db84d=_0x2db84d-0x1d4;let _0x183bc6=_0x42bdc8[_0x2db84d];return _0x183bc6;},_0x2db8(_0x2819e7,_0x356bcd);}import{View as _0x32e5fc}from'ckeditor5/src/ui.js';function _0x42bd(){const _0x3878dc=['ck-reset','63shLeMY','setTemplate','2361594cHcUvm','497253SkcdVI','ck-sidebar','167088eBXSHq','createCollection','minHeight','set','div','2875816IuXVuG','list','12308nDbpoR','25czqzhQ','485280vFWYQq','class','bindTemplate','874174MdrddC','number'];_0x42bd=function(){return _0x3878dc;};return _0x42bd();}import{toUnit as _0x1ebca9}from'ckeditor5/src/utils.js';import'../../../theme/sidebar.css';const qt=_0x1ebca9('px');export default class T extends _0x32e5fc{constructor(_0x3839df){const _0x4db88c=_0x2db8;super(_0x3839df);const _0x380092=this[_0x4db88c(0x1e5)];this[_0x4db88c(0x1dd)](_0x4db88c(0x1dc),0x0),this[_0x4db88c(0x1dd)](_0x4db88c(0x1e4),''),this[_0x4db88c(0x1e0)]=this[_0x4db88c(0x1db)](),this[_0x4db88c(0x1d6)]({'tag':_0x4db88c(0x1de),'attributes':{'class':['ck',_0x4db88c(0x1d9),_0x4db88c(0x1d4),_0x380092['to'](_0x4db88c(0x1e4))],'style':{'minHeight':_0x380092['to'](_0x4db88c(0x1dc),_0x5b921f=>_0x4db88c(0x1e7)==typeof _0x5b921f?qt(_0x5b921f+0xa):null)}},'children':this[_0x4db88c(0x1e0)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x62c648=_0x2bfd;(function(_0x3af636,_0x126fc2){const _0x56beb0=_0x2bfd,_0x55a187=_0x3af636();while(!![]){try{const _0x513dba=-parseInt(_0x56beb0(0x17c))/0x1+parseInt(_0x56beb0(0x152))/0x2*(parseInt(_0x56beb0(0x165))/0x3)+-parseInt(_0x56beb0(0x13f))/0x4*(-parseInt(_0x56beb0(0x171))/0x5)+parseInt(_0x56beb0(0x15c))/0x6+parseInt(_0x56beb0(0x155))/0x7+parseInt(_0x56beb0(0x164))/0x8*(parseInt(_0x56beb0(0x16a))/0x9)+parseInt(_0x56beb0(0x174))/0xa*(-parseInt(_0x56beb0(0x161))/0xb);if(_0x513dba===_0x126fc2)break;else _0x55a187['push'](_0x55a187['shift']());}catch(_0x58aa82){_0x55a187['push'](_0x55a187['shift']());}}}(_0x1f06,0x2e5d1));import{ContextPlugin as _0x19a7af,Context as _0x542be0}from'ckeditor5/src/core.js';import _0x196206 from'./annotationsuis.js';import _0x4585c1 from'./sidebar.js';function _0x1f06(){const _0x5ba7b6=['activeAnnotation','4002ITFBOh','_activeAnnotation','attach','499709wJfoJu','destroy','rearrange','EditorAnnotations','change:container','refreshPositioning','_attachToContainer','1052484BUSheh','editors','WideSidebar','_annotations','_editorAnnotations','4213759OIAuIX','get','widesidebar-attach-already-attached','760HDUpxv','249pABiZD','register','addAnnotation','listenTo','has','11547DJsukO','removeEventListener','getOrderedSelectedAnnotations','container','cancel','off','isAttached','3455weAqqS','hasDomSelection','stopListening','10FZznmD','plugins','updateTargetRect','resize','setActiveAnnotation','uiUpdate','context','_integrateWithEditorAnnotations','143528NGJHey','switchTo','refresh','add','set','annotations','remove','stop','1052BAbAQL','init','from','_detachFromContainer','pluginName','focus','high','ready','ck-sidebar--wide','addEventListener','requires','wideSidebar','detach','widesidebar-detach-not-attached','blur','_destroyEditorAnnotationsIntegration','set:container','_refreshPositioningDebounced'];_0x1f06=function(){return _0x5ba7b6;};return _0x1f06();}import{CKEditorError as _0x338fb3,Collection as _0x4029ca}from'ckeditor5/src/utils.js';import{debounce as _0x3f757e}from'lodash-es';import _0x213d2f from'./editorannotations.js';function _0x2bfd(_0x1d3576,_0x7f6d73){const _0x1f0673=_0x1f06();return _0x2bfd=function(_0x2bfd08,_0x47bf3d){_0x2bfd08=_0x2bfd08-0x13d;let _0x3fadc4=_0x1f0673[_0x2bfd08];return _0x3fadc4;},_0x2bfd(_0x1d3576,_0x7f6d73);}export default class n extends _0x19a7af{static get[_0x62c648(0x149)](){return[_0x4585c1,_0x196206];}static get[_0x62c648(0x143)](){const _0x304df6=_0x62c648;return _0x304df6(0x15e);}constructor(_0x365dab){const _0x4a054a=_0x62c648;super(_0x365dab),this[_0x4a054a(0x170)]=!0x1,this[_0x4a054a(0x180)](_0x4a054a(0x151),null),this[_0x4a054a(0x181)]=null,this[_0x4a054a(0x160)]=new _0x4029ca(),this[_0x4a054a(0x150)]=_0x3f757e(()=>{const _0x302a42=_0x4a054a;this[_0x302a42(0x181)][_0x302a42(0x15a)]();},0xfa,{'leading':!0x1});}[_0x62c648(0x140)](){const _0x430ffc=_0x62c648,_0x2f389f=this[_0x430ffc(0x17a)][_0x430ffc(0x175)][_0x430ffc(0x162)](_0x196206),_0x12e1b3=this[_0x430ffc(0x17a)][_0x430ffc(0x175)][_0x430ffc(0x162)](_0x4585c1);_0x2f389f[_0x430ffc(0x166)](_0x430ffc(0x14a),this),_0x12e1b3[_0x430ffc(0x16d)]&&_0x2f389f[_0x430ffc(0x17d)](_0x430ffc(0x14a));}[_0x62c648(0x178)](_0x2ec51e){const _0x238199=_0x62c648;if(_0x2ec51e===this[_0x238199(0x151)])return;const _0x49b77e=this[_0x238199(0x17a)][_0x238199(0x175)][_0x238199(0x162)](_0x4585c1);_0x49b77e[_0x238199(0x153)]=_0x2ec51e;const _0x13dd8f=this[_0x238199(0x151)];this[_0x238199(0x151)]=_0x2ec51e,_0x49b77e[_0x238199(0x17e)]({'blurredAnnotation':_0x13dd8f,'activatedAnnotation':this[_0x238199(0x151)]});}[_0x62c648(0x154)](_0x2060e6){const _0x411102=_0x62c648;this[_0x411102(0x181)]=_0x2060e6;const _0x38412d=this[_0x411102(0x17a)][_0x411102(0x175)][_0x411102(0x162)](_0x4585c1);if(_0x38412d[_0x411102(0x15f)]=_0x2060e6,this[_0x411102(0x170)])throw new _0x338fb3(_0x411102(0x163),this);this[_0x411102(0x170)]=!0x0,this[_0x411102(0x168)](_0x38412d,_0x411102(0x14f),()=>{const _0xa25965=_0x411102;this[_0xa25965(0x14b)](),this[_0xa25965(0x168)](_0x38412d,_0xa25965(0x159),_0x36f979=>{const _0x2face3=_0xa25965;_0x36f979[_0x2face3(0x16f)](),this[_0x2face3(0x154)](_0x2060e6);});}),_0x38412d[_0x411102(0x15b)]({'viewClass':_0x411102(0x147)});const _0x13bc11=_0x57687b=>{const _0x4a9f47=_0x411102;_0x57687b[_0x4a9f47(0x176)](),_0x38412d[_0x4a9f47(0x167)](_0x57687b);};for(const _0x3636da of _0x2060e6)_0x13bc11(_0x3636da);this[_0x411102(0x168)](_0x2060e6,_0x411102(0x17f),(_0x278970,_0x42e333)=>{_0x13bc11(_0x42e333);}),this[_0x411102(0x168)](_0x2060e6,_0x411102(0x13d),(_0x5f2aa6,_0x3103f9,_0x4046ce)=>{const _0x30d526=_0x411102;_0x38412d[_0x30d526(0x157)]({'removedAnnotation':_0x3103f9,'previousAnnotation':_0x2060e6[_0x30d526(0x162)](_0x4046ce-0x1),'nextAnnotation':_0x2060e6[_0x30d526(0x162)](_0x4046ce+0x1)}),_0x3103f9===this[_0x30d526(0x151)]&&this[_0x30d526(0x178)](null);},{'priority':_0x411102(0x145)}),this[_0x411102(0x168)](_0x2060e6,_0x411102(0x144),(_0x4e697a,_0x412320)=>{const _0x46e0e3=_0x411102;this[_0x46e0e3(0x178)](_0x412320);}),this[_0x411102(0x168)](_0x2060e6,_0x411102(0x14d),()=>{const _0xb313ea=_0x411102;this[_0xb313ea(0x178)](null);});const _0x345644=this[_0x411102(0x17a)]instanceof _0x542be0?this[_0x411102(0x17a)][_0x411102(0x15d)]:new _0x4029ca([this[_0x411102(0x17a)]]);for(const _0x343382 of _0x345644)this[_0x411102(0x17b)](_0x343382);this[_0x411102(0x168)](_0x345644,_0x411102(0x17f),(_0x2d8c8f,_0xa97af8)=>{const _0xe6ea81=_0x411102;this[_0xe6ea81(0x168)](_0xa97af8,_0xe6ea81(0x146),()=>{const _0x3992e6=_0xe6ea81;this[_0x3992e6(0x17b)](_0xa97af8);});}),this[_0x411102(0x168)](_0x345644,_0x411102(0x13d),(_0x4bb6b3,_0x3d64ad)=>{const _0x2757a4=_0x411102;_0x3d64ad[_0x2757a4(0x175)][_0x2757a4(0x169)](_0x2757a4(0x158))&&this[_0x2757a4(0x14e)](_0x3d64ad[_0x2757a4(0x175)][_0x2757a4(0x162)](_0x2757a4(0x158)));}),window[_0x411102(0x148)](_0x411102(0x177),this[_0x411102(0x150)]),this[_0x411102(0x181)][_0x411102(0x15a)]();}[_0x62c648(0x14b)](){const _0x15b587=_0x62c648;if(!this[_0x15b587(0x170)])throw new _0x338fb3(_0x15b587(0x14c),this);this[_0x15b587(0x178)](null);const _0x5e1753=this[_0x15b587(0x17a)][_0x15b587(0x175)][_0x15b587(0x162)](_0x4585c1);_0x5e1753[_0x15b587(0x142)](this[_0x15b587(0x181)]),this[_0x15b587(0x173)](_0x5e1753),this[_0x15b587(0x173)](this[_0x15b587(0x181)]),this[_0x15b587(0x17a)]instanceof _0x542be0&&this[_0x15b587(0x173)](this[_0x15b587(0x17a)][_0x15b587(0x15d)]);for(const _0xb5ea62 of Array[_0x15b587(0x141)](this[_0x15b587(0x160)]))this[_0x15b587(0x14e)](_0xb5ea62);window[_0x15b587(0x16b)](_0x15b587(0x177),this[_0x15b587(0x150)]),this[_0x15b587(0x150)][_0x15b587(0x16e)](),this[_0x15b587(0x151)]=null,this[_0x15b587(0x170)]=!0x1,this[_0x15b587(0x181)]=null;}[_0x62c648(0x156)](){const _0x4dcaf0=_0x62c648;this[_0x4dcaf0(0x170)]&&this[_0x4dcaf0(0x14b)]();}[_0x62c648(0x17b)](_0x25feec){const _0xabb760=_0x62c648,_0x532081=_0x25feec[_0xabb760(0x175)][_0xabb760(0x162)](_0x213d2f);if(!_0x532081)return;const _0xacefd2=()=>{const _0x43412b=_0xabb760,_0x265972=_0x532081[_0x43412b(0x16c)]({'annotations':this[_0x43412b(0x181)],'activeAnnotation':this[_0x43412b(0x151)]});this[_0x43412b(0x178)](_0x265972[0x0]||null);};this[_0xabb760(0x168)](_0x532081,_0xabb760(0x17e),_0xacefd2),this[_0xabb760(0x168)](_0x532081,_0xabb760(0x14d),(_0x57af9a,{isAnnotationTracked:_0x4b7177})=>{const _0x428091=_0xabb760;this[_0x428091(0x151)]&&_0x4b7177(this[_0x428091(0x151)])&&this[_0x428091(0x178)](null);}),this[_0xabb760(0x168)](_0x532081,_0xabb760(0x179),()=>{const _0x1fc32c=_0xabb760;this[_0x1fc32c(0x150)]();}),this[_0xabb760(0x168)](this[_0xabb760(0x181)],_0xabb760(0x14d),_0x4cc8ff=>{const _0x124487=_0xabb760;_0x532081[_0x124487(0x172)]()&&(_0xacefd2(),_0x4cc8ff[_0x124487(0x13e)]());},{'priority':_0xabb760(0x145)}),this[_0xabb760(0x160)][_0xabb760(0x17f)](_0x532081);}[_0x62c648(0x14e)](_0x1912a){const _0x280cd9=_0x62c648;this[_0x280cd9(0x173)](_0x1912a),this[_0x280cd9(0x160)][_0x280cd9(0x13d)](_0x1912a);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x866e8=_0x343b;(function(_0x3160fc,_0xc3ca2){const _0xc774ca=_0x343b,_0x517886=_0x3160fc();while(!![]){try{const _0x4569a8=-parseInt(_0xc774ca(0x178))/0x1*(parseInt(_0xc774ca(0x169))/0x2)+-parseInt(_0xc774ca(0x15f))/0x3+-parseInt(_0xc774ca(0x15c))/0x4+parseInt(_0xc774ca(0x170))/0x5*(-parseInt(_0xc774ca(0x17b))/0x6)+parseInt(_0xc774ca(0x17f))/0x7+parseInt(_0xc774ca(0x164))/0x8+parseInt(_0xc774ca(0x175))/0x9;if(_0x4569a8===_0xc3ca2)break;else _0x517886['push'](_0x517886['shift']());}catch(_0xc91b6f){_0x517886['push'](_0x517886['shift']());}}}(_0x28b4,0x80290));import{Command as _0x4b855e}from'ckeditor5/src/core.js';import{uid as _0x4ff83f}from'ckeditor5/src/utils.js';export default class G extends _0x4b855e{[_0x866e8(0x179)](){const _0x405e89=_0x866e8,_0x3e6162=this[_0x405e89(0x163)][_0x405e89(0x16d)][_0x405e89(0x15d)][_0x405e89(0x166)];for(const _0x52a021 of _0x3e6162[_0x405e89(0x167)]())if(this[_0x405e89(0x17a)](_0x52a021))return void(this[_0x405e89(0x174)]=!0x0);this[_0x405e89(0x174)]=!0x1;}[_0x866e8(0x162)]({threadId:_0xe4a20b=_0x4ff83f()}={}){const _0x373a7e=_0x866e8,_0x866c63=this[_0x373a7e(0x163)][_0x373a7e(0x16d)],_0x209cf2=[];for(const _0x21cd0b of _0x866c63[_0x373a7e(0x15d)][_0x373a7e(0x166)][_0x373a7e(0x167)]())this[_0x373a7e(0x17a)](_0x21cd0b)&&_0x209cf2[_0x373a7e(0x16b)](this[_0x373a7e(0x17d)](_0x21cd0b));_0x866c63[_0x373a7e(0x161)](_0x568475=>{const _0x2511b1=_0x373a7e;for(const _0xaec3e5 of _0x209cf2){const _0x2d0182=_0x4ff83f()[_0x2511b1(0x171)](0x1,0x5),_0x49e7f2=_0x2511b1(0x16c)+_0xe4a20b+':'+_0x2d0182;_0x568475[_0x2511b1(0x16f)](_0x49e7f2,{'range':_0xaec3e5,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x866e8(0x17a)](_0x44645d){const _0x13d8ab=_0x866e8;for(const _0x220cc1 of _0x44645d[_0x13d8ab(0x176)]())if(this[_0x13d8ab(0x16a)](_0x220cc1))return!0x0;return!0x1;}[_0x866e8(0x16a)](_0x25224e){const _0x4e8930=_0x866e8;return _0x25224e['is'](_0x4e8930(0x17e))||this[_0x4e8930(0x163)][_0x4e8930(0x16d)][_0x4e8930(0x172)][_0x4e8930(0x168)](_0x25224e)&&!_0x25224e['is'](_0x4e8930(0x165),_0x4e8930(0x180));}[_0x866e8(0x17d)](_0x29e310){const _0x1c8a40=_0x866e8,_0x4246d9=_0x2b82ab=>!this[_0x1c8a40(0x16a)](_0x2b82ab[_0x1c8a40(0x15e)]),_0x5ad497=_0x29e310[_0x1c8a40(0x160)][_0x1c8a40(0x16e)](_0x4246d9),_0x280e10=_0x29e310[_0x1c8a40(0x17c)][_0x1c8a40(0x16e)](_0x4246d9,{'direction':_0x1c8a40(0x173)});return this[_0x1c8a40(0x163)][_0x1c8a40(0x16d)][_0x1c8a40(0x177)](_0x5ad497,_0x280e10);}}function _0x343b(_0x3edebf,_0x2dac28){const _0x28b42d=_0x28b4();return _0x343b=function(_0x343b73,_0x58628b){_0x343b73=_0x343b73-0x15c;let _0x2ba0dd=_0x28b42d[_0x343b73];return _0x2ba0dd;},_0x343b(_0x3edebf,_0x2dac28);}function _0x28b4(){const _0x4ef32b=['tableCell','2904832tFpHLD','document','item','1179072NaGbiw','start','change','execute','editor','5046544icMpXL','element','selection','getRanges','isObject','16SYBSiu','_itemIsContent','push','comment:','model','getLastMatchingPosition','addMarker','58945AzbUjt','substr','schema','backward','isEnabled','12362886rRLnqd','getItems','createRange','114521tfRxwe','refresh','_hasContent','6WNRGyB','end','_trimToContent','$textProxy','3973627kaFrhK'];_0x28b4=function(){return _0x4ef32b;};return _0x28b4();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5f4098=_0x204e;function _0x204e(_0xdb1037,_0x5a6fac){const _0x4d93a3=_0x4d93();return _0x204e=function(_0x204ef0,_0x135254){_0x204ef0=_0x204ef0-0x144;let _0xeeb8b4=_0x4d93a3[_0x204ef0];return _0xeeb8b4;},_0x204e(_0xdb1037,_0x5a6fac);}(function(_0x138c4c,_0x5b52c3){const _0x170b6f=_0x204e,_0x142b06=_0x138c4c();while(!![]){try{const _0x565f97=parseInt(_0x170b6f(0x149))/0x1+parseInt(_0x170b6f(0x14e))/0x2+-parseInt(_0x170b6f(0x153))/0x3*(parseInt(_0x170b6f(0x15f))/0x4)+-parseInt(_0x170b6f(0x147))/0x5+-parseInt(_0x170b6f(0x155))/0x6+-parseInt(_0x170b6f(0x151))/0x7+-parseInt(_0x170b6f(0x159))/0x8*(-parseInt(_0x170b6f(0x15e))/0x9);if(_0x565f97===_0x5b52c3)break;else _0x142b06['push'](_0x142b06['shift']());}catch(_0x49c499){_0x142b06['push'](_0x142b06['shift']());}}}(_0x4d93,0x49ce7));import{ContextPlugin as _0x530667}from'ckeditor5/src/core.js';import{Collection as _0x9f7e12}from'ckeditor5/src/utils.js';import _0x4bd623 from'./commentsrepository.js';function _0x4d93(){const _0x199100=['has','removeCommentThread','1070163sbdJEE','160gNeHOL','plugins','add','context','focus','getCommentThread','remove','CommentsArchive','archivedAt','get','isActive','1752325PpzEHf','addCommentThread','276720jEcTIv','_calculatePosition','change:archivedAt','collection','pluginName','152558WENnSi','stopListening','highest','3869670xRNfAD','archivedThreads','27444wQAGBg','listenTo','536820XjIFpH','activate','init','findIndex','88dVmObf','length','requires'];_0x4d93=function(){return _0x199100;};return _0x4d93();}import _0x5aac87 from'../annotations/annotations.js';export default class p extends _0x530667{static get[_0x5f4098(0x14d)](){const _0x5e5433=_0x5f4098;return _0x5e5433(0x166);}static get[_0x5f4098(0x15b)](){return[_0x4bd623,_0x5aac87];}constructor(_0x4471ce){const _0x37b1f8=_0x5f4098;super(_0x4471ce),this[_0x37b1f8(0x152)]=new _0x9f7e12();}[_0x5f4098(0x157)](){const _0x3c337d=_0x5f4098,_0x1a6d31=this[_0x3c337d(0x162)],_0x327dd2=_0x1a6d31[_0x3c337d(0x160)][_0x3c337d(0x145)](_0x4bd623),_0x132fc2=_0x1a6d31[_0x3c337d(0x160)][_0x3c337d(0x145)](_0x5aac87);this[_0x3c337d(0x154)](_0x327dd2,_0x3c337d(0x148),(_0x352dc2,{threadId:_0x3c17f4})=>{const _0x199fdc=_0x3c337d,_0x3f1d6b=_0x327dd2[_0x199fdc(0x164)](_0x3c17f4);_0x3f1d6b[_0x199fdc(0x144)]&&this[_0x199fdc(0x152)][_0x199fdc(0x161)](_0x3f1d6b,this[_0x199fdc(0x14a)](_0x3f1d6b[_0x199fdc(0x144)])),this[_0x199fdc(0x154)](_0x3f1d6b,_0x199fdc(0x14b),(_0x11cff7,_0x2b09aa,_0x3f760)=>{const _0x57d459=_0x199fdc;_0x3f760?this[_0x57d459(0x152)][_0x57d459(0x15c)](_0x3f1d6b)||this[_0x57d459(0x152)][_0x57d459(0x161)](_0x3f1d6b,this[_0x57d459(0x14a)](_0x3f1d6b[_0x57d459(0x144)])):this[_0x57d459(0x152)][_0x57d459(0x15c)](_0x3f1d6b)&&this[_0x57d459(0x152)][_0x57d459(0x165)](_0x3f1d6b);});}),this[_0x3c337d(0x154)](_0x327dd2,_0x3c337d(0x15d),(_0x1c13e8,{threadId:_0x235dce})=>{const _0x2119ba=_0x3c337d,_0x13d8e8=_0x327dd2[_0x2119ba(0x164)](_0x235dce);this[_0x2119ba(0x14f)](_0x13d8e8),this[_0x2119ba(0x152)][_0x2119ba(0x15c)](_0x13d8e8)&&this[_0x2119ba(0x152)][_0x2119ba(0x165)](_0x13d8e8);},{'priority':_0x3c337d(0x150)}),this[_0x3c337d(0x154)](_0x132fc2[_0x3c337d(0x14c)],_0x3c337d(0x163),(_0x160eaf,_0x2b725e)=>{const _0x14c603=_0x3c337d;_0x2b725e[_0x14c603(0x146)]=!0x0,_0x132fc2[_0x14c603(0x156)](_0x2b725e);});}[_0x5f4098(0x14a)](_0x156394){const _0x1c4680=_0x5f4098,_0x252ce4=[...this[_0x1c4680(0x152)]][_0x1c4680(0x158)](_0x3bda6b=>_0x3bda6b[_0x1c4680(0x144)]<_0x156394);return _0x252ce4>-0x1?_0x252ce4:this[_0x1c4680(0x152)][_0x1c4680(0x15a)];}}
|