@ckeditor/ckeditor5-comments 35.2.0 → 35.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/package.json +3 -3
- package/src/annotations/annotation.js +1 -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/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +1 -1
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +1 -1
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +1 -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/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +1 -1
- package/src/comments/ui/view/commentview.js +1 -1
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-comments",
|
|
3
|
-
"version": "35.2.
|
|
3
|
+
"version": "35.2.1",
|
|
4
4
|
"description": "Collaborative comments feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
],
|
|
32
32
|
"main": "src/index.js",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"ckeditor5": "^35.2.
|
|
35
|
-
"ckeditor5-collaboration": "^35.2.
|
|
34
|
+
"ckeditor5": "^35.2.1",
|
|
35
|
+
"ckeditor5-collaboration": "^35.2.1",
|
|
36
36
|
"lodash-es": "^4.17.11"
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1231=['_id','stopListening','clear','innerView','object','_target','render','_isTargetElementVisible','mainView','updateTargetRect','focusableElements','function','view','type','isActive','element','isVisible','refreshVisibility','target','annotation-invalid-target','_assertCorrectTarget','add','offsetParent','getClientRects','nodeType','destroy','targetRect','_type'];(function(_0x297040,_0x1231d5){const _0x1a9f8d=function(_0x3fed14){while(--_0x3fed14){_0x297040['push'](_0x297040['shift']());}};_0x1a9f8d(++_0x1231d5);}(_0x1231,0x112));const _0x1a9f=function(_0x297040,_0x1231d5){_0x297040=_0x297040-0x0;let _0x1a9f8d=_0x1231[_0x297040];return _0x1a9f8d;};import{CKEditorError as _0x6036e9,Rect as _0x2cec33,Collection as _0x54aab2,mix as _0xf8fc15,ObservableMixin as _0x1405fb}from'ckeditor5/src/utils';export default class d{constructor({view:_0x7a8ec9,target:_0x5a0044,type:_0x31f496,isVisible:_0x5a8f2b=!0x0}){this[_0x1a9f('0x12')]=_0x7a8ec9,this[_0x1a9f('0x12')]['element']||this['view'][_0x1a9f('0xc')](),this['_type']=_0x31f496,this[_0x1a9f('0xb')]=_0x5a0044,this[_0x1a9f('0x1a')](),this[_0x1a9f('0x10')]=new _0x54aab2([this['view'][_0x1a9f('0x15')]],{'idProperty':_0x1a9f('0x6')}),this['focusableElements']['on'](_0x1a9f('0x1b'),(_0x3d125e,_0x5920ae)=>{this[_0x1a9f('0x12')]['focusTracker']['add'](_0x5920ae);}),this[_0x1a9f('0x10')]['on']('remove',(_0x88b34f,_0x5619cb)=>{this['view']['focusTracker']['remove'](_0x5619cb);}),this['set'](_0x1a9f('0x16'),_0x5a8f2b);}get[_0x1a9f('0x13')](){return'function'==typeof this[_0x1a9f('0x5')]?this['_type']():this[_0x1a9f('0x5')];}get[_0x1a9f('0x9')](){return this['view'][_0x1a9f('0xe')];}get[_0x1a9f('0x18')](){return _0x1a9f('0x11')==typeof this['_target']?this['_target']():this[_0x1a9f('0xb')];}get[_0x1a9f('0x4')](){const _0x5335a6=this[_0x1a9f('0x18')];return this[_0x1a9f('0x1a')](),null!==_0x5335a6&&this['_isTargetElementVisible']()?new _0x2cec33(_0x5335a6):null;}get['isActive'](){return this[_0x1a9f('0x12')][_0x1a9f('0x14')];}set[_0x1a9f('0x14')](_0x54e12d){this['view'][_0x1a9f('0x14')]=_0x54e12d,this[_0x1a9f('0x12')]['mainView'][_0x1a9f('0x14')]=_0x54e12d;}[_0x1a9f('0xf')](){this['view'][_0x1a9f('0x4')]=this[_0x1a9f('0x4')];}[_0x1a9f('0x3')](){this[_0x1a9f('0x10')][_0x1a9f('0x7')](),this[_0x1a9f('0x10')][_0x1a9f('0x8')](),this[_0x1a9f('0x7')]();}[_0x1a9f('0x17')](){this[_0x1a9f('0x16')]=this[_0x1a9f('0xd')]();}[_0x1a9f('0xd')](){const _0x3f6cd8=this[_0x1a9f('0x18')];if(!p(_0x3f6cd8))return!0x0;if(_0x3f6cd8[_0x1a9f('0x0')])return!0x0;return!!_0x3f6cd8[_0x1a9f('0x1')]()['item'](0x0);}[_0x1a9f('0x1a')](){const _0x206281=this['target'];if(!(null===_0x206281||_0x206281 instanceof _0x2cec33||p(_0x206281)))throw new _0x6036e9(_0x1a9f('0x19'),null,{'target':_0x206281});}}function p(_0x58dded){return null!==_0x58dded&&_0x1a9f('0xa')==typeof _0x58dded&&0x1===_0x58dded[_0x1a9f('0x2')];}_0xf8fc15(d,_0x1405fb);
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e93=['left','updateTargetRect','delete','has','_viewToAnnotation','targetRect','add','refreshPositioning','length','fire','getByView','_getOrderInContent','change:isFocused','getByInnerView','_focusTracker','annotationcollection-not-existing-item','_sort','destroy','listenTo','top','set','blur','isFocused','view','_items','focusableElements','remove','innerView','_innerViewToAnnotation','annotationcollection-duplicated-item','clear','sort','focusTracker','stopListening'];(function(_0x479d88,_0x3e9369){const _0x379386=function(_0x58b5c6){while(--_0x58b5c6){_0x479d88['push'](_0x479d88['shift']());}};_0x379386(++_0x3e9369);}(_0x3e93,0x191));const _0x3793=function(_0x479d88,_0x3e9369){_0x479d88=_0x479d88-0x0;let _0x379386=_0x3e93[_0x479d88];return _0x379386;};import{CKEditorError as _0x554d4b,Collection as _0x166c2d,FocusTracker as _0x250cb3}from'ckeditor5/src/utils';export default class x extends _0x166c2d{constructor(_0x46f207=[]){super(),this['_innerViewToAnnotation']=new Map(),this[_0x3793('0xb')]=new Map(),this['_focusTracker']=new _0x250cb3(),this[_0x3793('0x15')]['on'](_0x3793('0x13'),(_0x9eb952,_0x22b00d,_0x232ec7)=>{_0x232ec7||this[_0x3793('0x10')](_0x3793('0x1c'));});for(const _0x398884 of _0x46f207)this['add'](_0x398884);}get[_0x3793('0x1d')](){return this[_0x3793('0x15')][_0x3793('0x1d')];}[_0x3793('0xd')](_0x1e2d20){if(this[_0x3793('0xa')](_0x1e2d20))throw new _0x554d4b(_0x3793('0x2'),null);this[_0x3793('0x1')][_0x3793('0x1b')](_0x1e2d20['innerView'],_0x1e2d20),this[_0x3793('0xb')][_0x3793('0x1b')](_0x1e2d20['view'],_0x1e2d20);for(const _0x482e24 of _0x1e2d20[_0x3793('0x20')])this[_0x3793('0x15')]['add'](_0x482e24);this[_0x3793('0x19')](_0x1e2d20[_0x3793('0x20')],_0x3793('0xd'),(_0x5a197a,_0x3ee133)=>{this[_0x3793('0x15')][_0x3793('0xd')](_0x3ee133);}),this['listenTo'](_0x1e2d20[_0x3793('0x20')],'remove',(_0x428cfe,_0x15350c)=>{this[_0x3793('0x15')][_0x3793('0x21')](_0x15350c);}),this[_0x3793('0x19')](_0x1e2d20[_0x3793('0x1e')][_0x3793('0x5')],_0x3793('0x13'),(_0x6c09c1,_0x1633ac,_0x12583d)=>{_0x12583d&&this[_0x3793('0x10')]('focus',_0x1e2d20);}),_0x1e2d20[_0x3793('0x8')]();const _0x22cd6e=this[_0x3793('0x12')](_0x1e2d20[_0x3793('0x1e')]['targetRect']);super['add'](_0x1e2d20,_0x22cd6e);}[_0x3793('0x21')](_0x3c0861){if(!this[_0x3793('0xa')](_0x3c0861))throw new _0x554d4b(_0x3793('0x16'),null);this[_0x3793('0x6')](_0x3c0861[_0x3793('0x1e')]['focusTracker']),this[_0x3793('0x6')](_0x3c0861[_0x3793('0x20')]);for(const _0x3f42d9 of _0x3c0861[_0x3793('0x20')])this[_0x3793('0x15')][_0x3793('0x21')](_0x3f42d9);this['_viewToAnnotation']['delete'](_0x3c0861[_0x3793('0x1e')]),this[_0x3793('0x1')][_0x3793('0x9')](_0x3c0861[_0x3793('0x0')]),super[_0x3793('0x21')](_0x3c0861);}[_0x3793('0x14')](_0x5d7050){return this['_innerViewToAnnotation']['get'](_0x5d7050);}[_0x3793('0x11')](_0x45186b){return this[_0x3793('0xb')]['get'](_0x45186b);}[_0x3793('0x18')](){super[_0x3793('0x3')](),this[_0x3793('0x6')](),this[_0x3793('0x1')]['clear'](),this[_0x3793('0xb')][_0x3793('0x3')](),this[_0x3793('0x15')]['destroy']();}[_0x3793('0xe')](){for(const _0x18c426 of this)_0x18c426['updateTargetRect']();this[_0x3793('0x17')]();}['_sort'](){const _0x73f9df=Array['from'](this)[_0x3793('0x4')]((_0x5842d2,_0x2ce562)=>y(_0x5842d2['view'][_0x3793('0xc')],_0x2ce562['view']['targetRect']));for(let _0x189602=_0x73f9df['length']-0x1;_0x189602>0x0;_0x189602--){const _0x5df77b=_0x73f9df[_0x189602];_0x189602!==this['getIndex'](_0x5df77b)&&(this['remove'](_0x5df77b),this[_0x3793('0xd')](_0x5df77b,_0x189602));}}[_0x3793('0x12')](_0x2d582e){let _0x8e68c6=0x0;if(!_0x2d582e)return this[_0x3793('0x1f')][_0x3793('0xf')];for(const _0x5a2f03 of this){const _0x4e949c=_0x5a2f03['view'][_0x3793('0xc')];if(_0x4e949c){if(y(_0x2d582e,_0x4e949c)<0x0)return _0x8e68c6;_0x8e68c6++;}}return _0x8e68c6;}}export function bindAnnotationCollections({source:_0x38cd7e,target:_0x42cc08,filter:_0x4b3206}){for(const _0x5b45cb of _0x38cd7e)_0x4b3206(_0x5b45cb)&&_0x42cc08[_0x3793('0xd')](_0x5b45cb);_0x42cc08['listenTo'](_0x38cd7e,_0x3793('0xd'),(_0x18078b,_0x53047f)=>{_0x4b3206(_0x53047f)&&_0x42cc08[_0x3793('0xd')](_0x53047f);}),_0x42cc08[_0x3793('0x19')](_0x38cd7e,_0x3793('0x21'),(_0x9f8b59,_0x309b7e)=>{_0x42cc08['has'](_0x309b7e)&&_0x42cc08[_0x3793('0x21')](_0x309b7e);});}function y(_0x4afbaa,_0x2b8a0b){if(null===_0x4afbaa&&null===_0x2b8a0b)return 0x0;if(null===_0x4afbaa)return-0x1;if(null===_0x2b8a0b)return 0x1;const _0x48906e=_0x4afbaa[_0x3793('0x1a')]-_0x2b8a0b[_0x3793('0x1a')];return 0x0==_0x48906e?_0x4afbaa[_0x3793('0x7')]-_0x2b8a0b[_0x3793('0x7')]:_0x48906e;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5c9e=['pluginName','_activateAnnotation','collection','deactivateAll','_bindAnnotationsToVisibleAnnotations','_visibleAnnotations','has','remove','activeAnnotations','source','change:isVisible','delete','stopListening','isVisible','refreshVisibility','createAnnotation','fire','listenTo','set','refreshPositioning','destroy','_addActiveAnnotation','createAnnotationView','activate','add','getByInnerView','_deactivateAllAnnotations'];(function(_0x5ecb97,_0x5c9e6e){const _0x377dcd=function(_0x568413){while(--_0x568413){_0x5ecb97['push'](_0x5ecb97['shift']());}};_0x377dcd(++_0x5c9e6e);}(_0x5c9e,0x1f2));const _0x377d=function(_0x5ecb97,_0x5c9e6e){_0x5ecb97=_0x5ecb97-0x0;let _0x377dcd=_0x5c9e[_0x5ecb97];return _0x377dcd;};import{ContextPlugin as _0x26904a}from'ckeditor5/src/core';import _0x44c128 from'./annotation';import _0x63318d from'./annotationcollection';import _0x271de7 from'./view/annotationview';export default class V extends _0x26904a{static get[_0x377d('0xf')](){return'Annotations';}constructor(_0x1fd997){super(_0x1fd997),this[_0x377d('0x11')]=new _0x63318d(),this[_0x377d('0x14')]=new _0x63318d(),this[_0x377d('0x6')](_0x377d('0x17'),new Set()),this['_bindAnnotationsToVisibleAnnotations']();}[_0x377d('0xc')](_0x55bc75){this[_0x377d('0x11')][_0x377d('0xc')](_0x55bc75);}['remove'](_0x3a4eb5){this['collection'][_0x377d('0x16')](_0x3a4eb5),_0x3a4eb5['destroy']();}[_0x377d('0x2')](){for(const _0x334266 of this[_0x377d('0x11')])_0x334266[_0x377d('0x2')]();}[_0x377d('0x7')](){this[_0x377d('0x14')]['refreshPositioning']();}[_0x377d('0xd')](_0x3a258d){return this[_0x377d('0x11')][_0x377d('0xd')](_0x3a258d);}[_0x377d('0x12')](){this[_0x377d('0x4')](_0x377d('0xe'));}[_0x377d('0x8')](){for(const _0xeb0c3 of this[_0x377d('0x11')])_0xeb0c3[_0x377d('0x8')]();this[_0x377d('0x14')][_0x377d('0x8')](),this[_0x377d('0x11')][_0x377d('0x8')](),super[_0x377d('0x8')]();}[_0x377d('0xb')](_0x7b7c0e){this[_0x377d('0x4')](_0x377d('0x10'),_0x7b7c0e);}[_0x377d('0x3')](_0x2c355b){return new _0x44c128(_0x2c355b);}[_0x377d('0xa')](_0x5d11ca,_0xa5bf01){return new _0x271de7(_0x5d11ca,_0xa5bf01);}[_0x377d('0x9')](_0x2eeb7f){const _0x3d2849=new Set(this[_0x377d('0x17')]);_0x3d2849[_0x377d('0xc')](_0x2eeb7f),this[_0x377d('0x17')]=_0x3d2849;}['_removeActiveAnnotation'](_0x1cffd3){const _0xa5bfbe=new Set(this[_0x377d('0x17')]);_0xa5bfbe[_0x377d('0x1a')](_0x1cffd3),this[_0x377d('0x17')]=_0xa5bfbe;}[_0x377d('0x13')](){const _0x5a37dd=this[_0x377d('0x11')],_0x119030=this[_0x377d('0x14')];function _0x2563ed(_0x1c66ed){const _0x283f07=_0x1c66ed[_0x377d('0x18')];_0x283f07[_0x377d('0x1')]&&!_0x119030[_0x377d('0x15')](_0x283f07)?_0x119030[_0x377d('0xc')](_0x283f07):!_0x283f07[_0x377d('0x1')]&&_0x119030['has'](_0x283f07)&&_0x119030[_0x377d('0x16')](_0x283f07);}this['listenTo'](_0x5a37dd,_0x377d('0xc'),(_0x242dea,_0x112c3b)=>{_0x112c3b['isVisible']&&_0x119030[_0x377d('0xc')](_0x112c3b),this[_0x377d('0x5')](_0x112c3b,_0x377d('0x19'),_0x2563ed);}),this[_0x377d('0x5')](_0x5a37dd,_0x377d('0x16'),(_0x24b5d8,_0x20912c)=>{_0x119030[_0x377d('0x15')](_0x20912c)&&_0x119030['remove'](_0x20912c),this[_0x377d('0x0')](_0x20912c,_0x377d('0x19'),_0x2563ed);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x25b9=['listenTo','plugins','change:activeAnnotation','isActive','collection','_deactivateAllAnnotations','_visibleAnnotations','init','deactivate','attach','activeUIs','_addActiveAnnotation','size','set','length','hasActive','annotationsuis-activate-missing-ui','setActiveAnnotation','deactivateAll','switchTo','stopListening','destroy','annotationsuis-annotation-mismatch','get','_assertAnnotationDoesNotBelongToMultipleUIs','annotationsuis-register-already-registered','detach','context','delete','function','_uis','type','_uisData','filter','_setSelectedAnnotations','annotationsuis-register-invalid-interface','requires','_removeActiveAnnotation','register','remove','_activateAnnotation','has','from','add'];(function(_0xaaaa05,_0x25b95f){const _0x29013d=function(_0x1d7f63){while(--_0x1d7f63){_0xaaaa05['push'](_0xaaaa05['shift']());}};_0x29013d(++_0x25b95f);}(_0x25b9,0x90));const _0x2901=function(_0xaaaa05,_0x25b95f){_0xaaaa05=_0xaaaa05-0x0;let _0x29013d=_0x25b9[_0xaaaa05];return _0x29013d;};import{ContextPlugin as _0x5168a4}from'ckeditor5/src/core';import{CKEditorError as _0x3847f8}from'ckeditor5/src/utils';import _0x251115,{bindAnnotationCollections as _0x2855a1}from'./annotationcollection';import _0xbd634 from'./annotations';export default class I extends _0x5168a4{static get[_0x2901('0x18')](){return[_0xbd634];}static get['pluginName'](){return'AnnotationsUIs';}constructor(_0x559d7b){super(_0x559d7b),this[_0x2901('0x2a')]=new Set(),this[_0x2901('0x12')]=new Map(),this['_uisData']=new Map();}[_0x2901('0x27')](){const _0x567208=this[_0x2901('0xf')]['plugins'][_0x2901('0xb')](_0xbd634);this[_0x2901('0x20')](_0x567208,_0x2901('0x1c'),(_0x5b0fa9,_0x1e332c)=>{for(const _0x517425 of this['activeUIs']){const _0x49ddb6=this[_0x2901('0x12')][_0x2901('0xb')](_0x517425);(0x0,this[_0x2901('0x14')][_0x2901('0xb')](_0x517425)[_0x2901('0x15')])(_0x1e332c)&&_0x49ddb6[_0x2901('0x5')](_0x1e332c);}}),this['listenTo'](_0x567208,_0x2901('0x25'),()=>{for(const _0x2762cb of this[_0x2901('0x2a')]){this[_0x2901('0x12')]['get'](_0x2762cb)[_0x2901('0x5')](null);}}),this[_0x2901('0x20')](_0x567208[_0x2901('0x26')],_0x2901('0x1f'),(_0x9450f2,_0x537e8a)=>{this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x537e8a);});}[_0x2901('0x3')](){return this[_0x2901('0x2a')][_0x2901('0x0')]>0x0;}['isActive'](_0x18b678){return this['activeUIs']['has'](_0x18b678);}['activate'](_0x1c8970,_0x423227=()=>!0x0){const _0x3b7a3b=this[_0x2901('0xf')][_0x2901('0x21')][_0x2901('0xb')](_0xbd634);if(!this[_0x2901('0x12')][_0x2901('0x1d')](_0x1c8970))throw new _0x3847f8(_0x2901('0x4'),this,{'uiName':_0x1c8970});this[_0x2901('0x23')](_0x1c8970)&&this[_0x2901('0x28')](_0x1c8970),this['activeUIs']['add'](_0x1c8970);const _0x4eb114=new _0x251115(),_0x425810=_0x3b7a3b['_visibleAnnotations'];_0x2855a1({'source':_0x425810,'target':_0x4eb114,'filter':_0x423227}),this[_0x2901('0x14')][_0x2901('0x1')](_0x1c8970,{'collection':_0x4eb114,'filter':_0x423227});const _0x11ebf5=this['_uis']['get'](_0x1c8970);_0x11ebf5[_0x2901('0x29')](_0x4eb114),this[_0x2901('0x20')](_0x11ebf5,_0x2901('0x22'),(_0x7dd2fe,_0x2a1706,_0x5d1452,_0x56cb42)=>{_0x56cb42&&_0x3b7a3b[_0x2901('0x19')](_0x56cb42),_0x5d1452&&_0x3b7a3b[_0x2901('0x2b')](_0x5d1452);});}[_0x2901('0x28')](_0x4c8c52){this[_0x2901('0x2a')]['delete'](_0x4c8c52);const _0x3b518b=this[_0x2901('0x12')][_0x2901('0xb')](_0x4c8c52);_0x3b518b[_0x2901('0xe')](),this[_0x2901('0x8')](_0x3b518b),this[_0x2901('0x14')]['get'](_0x4c8c52)[_0x2901('0x24')][_0x2901('0x9')](),this[_0x2901('0x14')][_0x2901('0x10')](_0x4c8c52);}[_0x2901('0x7')](_0x33c331){const _0x4ad442=this['context'][_0x2901('0x21')][_0x2901('0xb')](_0xbd634),_0x1ad60c=Array[_0x2901('0x1e')](_0x4ad442['activeAnnotations'])[0x0]||null;this[_0x2901('0x6')](),this['activate'](_0x33c331);const _0x2cfab6=this[_0x2901('0x12')][_0x2901('0xb')](_0x33c331);_0x2cfab6[_0x2901('0x5')](_0x1ad60c),_0x2cfab6['_setSelectedAnnotations']&&_0x1ad60c&&_0x2cfab6[_0x2901('0x16')]([_0x1ad60c]);}[_0x2901('0x6')](){for(const _0x3af345 of this['activeUIs'])this[_0x2901('0x28')](_0x3af345);}[_0x2901('0x1a')](_0x286ea7,_0x38a849){if(this['_uis'][_0x2901('0x1d')](_0x286ea7))throw new _0x3847f8(_0x2901('0xd'));if(_0x2901('0x11')!=typeof _0x38a849[_0x2901('0x29')]||_0x2901('0x11')!=typeof _0x38a849[_0x2901('0xe')]||_0x2901('0x11')!=typeof _0x38a849[_0x2901('0x5')])throw new _0x3847f8(_0x2901('0x17'),null);this[_0x2901('0x12')][_0x2901('0x1')](_0x286ea7,_0x38a849);}['refilterAnnotations'](){const _0xa25295=this[_0x2901('0xf')][_0x2901('0x21')][_0x2901('0xb')](_0xbd634)[_0x2901('0x24')],_0x56ae59=new Map(),_0x1eaac3=Array[_0x2901('0x1e')](this['activeUIs']);for(const _0x25ecf7 of this[_0x2901('0x2a')]){const _0x4f92ff=this[_0x2901('0x14')][_0x2901('0xb')](_0x25ecf7)['collection'];for(const _0x1ae517 of _0x4f92ff)_0x56ae59['set'](_0x1ae517,_0x25ecf7);}for(const _0x3bd342 of _0xa25295){const _0x1426e9=_0x56ae59[_0x2901('0xb')](_0x3bd342);this[_0x2901('0xc')](_0x3bd342);const _0x4d81c7=_0x1eaac3['find'](_0x406ee5=>this[_0x2901('0x14')][_0x2901('0xb')](_0x406ee5)[_0x2901('0x15')](_0x3bd342));_0x1426e9!==_0x4d81c7&&(_0x1426e9&&this[_0x2901('0x14')][_0x2901('0xb')](_0x1426e9)[_0x2901('0x24')][_0x2901('0x1b')](_0x3bd342),_0x4d81c7&&this[_0x2901('0x14')][_0x2901('0xb')](_0x4d81c7)[_0x2901('0x24')]['add'](_0x3bd342));}}[_0x2901('0x9')](){this[_0x2901('0x6')](),super['destroy']();}[_0x2901('0xc')](_0x46366b){const _0xb2ddb5=[];for(const _0x1b6978 of this[_0x2901('0x2a')]){(0x0,this['_uisData'][_0x2901('0xb')](_0x1b6978)['filter'])(_0x46366b)&&_0xb2ddb5['push'](_0x1b6978);}if(_0xb2ddb5[_0x2901('0x2')]>0x1)throw new _0x3847f8(_0x2901('0xa'),null,{'matchedUIs':_0xb2ddb5,'annotationType':_0x46366b[_0x2901('0x13')]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3fcb=['change:isFocused','update','hasDomSelection','isReadOnly','getRanges','registerAnnotation','delete','EditorAnnotations','set','from','directChange','element','model','_dataCollectors','range','uiUpdate','containsRange','change:range','innerView','editor','add','map','remove','refresh','has','getByInnerView','plugins','blur','getOrderedSelectedAnnotations','cancel','_editorAnnotationsData','editing','annotation','isEqual','fire','focusTracker','init','get','_editorAnnotations','requires','collection','view','refreshSelectedViews','listenTo','document'];(function(_0x40f508,_0x3fcb7){const _0x1977ea=function(_0x40d250){while(--_0x40d250){_0x40f508['push'](_0x40f508['shift']());}};_0x1977ea(++_0x3fcb7);}(_0x3fcb,0x175));const _0x1977=function(_0x40f508,_0x3fcb7){_0x40f508=_0x40f508-0x0;let _0x1977ea=_0x3fcb[_0x40f508];return _0x1977ea;};import{Plugin as _0x3e1e73}from'ckeditor5/src/core';import{CKEditorError as _0x5ee804}from'ckeditor5/src/utils';import{debounce as _0x14a90a}from'lodash-es';import _0xebd0a4 from'./annotations';export default class k extends _0x3e1e73{static get[_0x1977('0x1a')](){return[_0xebd0a4];}static get['pluginName'](){return _0x1977('0x27');}constructor(_0x153003){super(_0x153003),this[_0x1977('0x0')]=new Set(),this[_0x1977('0x19')]=new Set();}[_0x1977('0x17')](){const _0x29f6c3=this[_0x1977('0x6')],_0xf73fbe=_0x29f6c3[_0x1977('0x2c')][_0x1977('0x1f')]['selection'],_0x2a12cf=_0x14a90a(()=>this[_0x1977('0x1d')](),0xa);_0xf73fbe['on'](_0x1977('0x4'),(_0x427c6c,_0xf9914f)=>{_0xf9914f[_0x1977('0x2a')]&&(_0x2a12cf[_0x1977('0x10')](),this[_0x1977('0x1d')]());}),this[_0x1977('0x1e')](_0x29f6c3[_0x1977('0x12')]['view'][_0x1977('0x1f')],_0x1977('0x20'),(_0x15e946,_0x176a67,_0x52a95f)=>{_0x52a95f&&_0x2a12cf();}),this[_0x1977('0x1e')](_0x29f6c3['ui']['focusTracker'],_0x1977('0x20'),(_0x109f08,_0x591925,_0x4ee32d)=>{_0x4ee32d||_0x29f6c3[_0x1977('0x23')]||this[_0x1977('0x15')](_0x1977('0xe'),{'isAnnotationTracked':_0xc298c7=>this[_0x1977('0x11')][_0x1977('0xb')](_0xc298c7[_0x1977('0x5')])});}),this[_0x1977('0x1e')](this[_0x1977('0x6')]['ui'],_0x1977('0x21'),()=>this['fire'](_0x1977('0x2')));}[_0x1977('0x25')](_0x487f32){if(this[_0x1977('0x19')][_0x1977('0xb')](_0x487f32))return;this[_0x1977('0x19')]['add'](_0x487f32[_0x1977('0x1c')]),this['editor']['ui'][_0x1977('0x16')][_0x1977('0x7')](_0x487f32[_0x1977('0x1c')][_0x1977('0x2b')]);const _0x298484=this['editor'][_0x1977('0xd')][_0x1977('0x18')](_0xebd0a4);this['listenTo'](_0x298484[_0x1977('0x1b')],'remove',(_0xa9b7f2,_0x4009d8)=>{this['editor']['ui'][_0x1977('0x16')][_0x1977('0x9')](_0x4009d8['view']['element']),this[_0x1977('0x19')][_0x1977('0x26')](_0x4009d8[_0x1977('0x1c')]);});}[_0x1977('0x22')](){return this[_0x1977('0x6')][_0x1977('0x12')][_0x1977('0x1c')][_0x1977('0x22')];}['addSourceCollector'](_0x1fe996){if('function'!=typeof _0x1fe996)throw new _0x5ee804('editorannotations-invalid-source-callback');this[_0x1977('0x0')][_0x1977('0x7')](_0x1fe996);}[_0x1977('0x1d')](){this[_0x1977('0x15')](_0x1977('0xa'));}[_0x1977('0xf')]({activeAnnotation:_0x305d62,annotations:_0x474368}){const _0x4eb5f5=[],_0x4ea2aa=this[_0x1977('0x6')][_0x1977('0x2c')]['document']['selection'],_0x4fe78c=Array[_0x1977('0x29')](_0x4ea2aa[_0x1977('0x24')]());for(const [_0x35f1cd,_0x21085b]of this['_editorAnnotationsData']){const _0x2befcb=_0x11ca91(_0x21085b),_0x46e00c=_0x474368[_0x1977('0xc')](_0x35f1cd);_0x2befcb&&_0x46e00c&&_0x4eb5f5['push']({'annotation':_0x46e00c,'range':_0x2befcb});}function _0x11ca91(_0xa1db23){for(const _0x12b812 of _0xa1db23)for(const _0x8d01d3 of _0x4fe78c)if(_0x12b812[_0x1977('0x3')](_0x8d01d3,!_0x4ea2aa['isCollapsed']))return _0x12b812;return null;}return _0x4eb5f5['sort']((_0x69cfd0,_0x3b8e5e)=>{const _0x28a3f0=_0x69cfd0[_0x1977('0x1')],_0x29f6bf=_0x3b8e5e[_0x1977('0x1')];if(!_0x28a3f0[_0x1977('0x14')](_0x29f6bf)){if(_0x28a3f0['containsRange'](_0x29f6bf,!0x0))return 0x1;if(_0x29f6bf[_0x1977('0x3')](_0x28a3f0,!0x0))return-0x1;}return _0x69cfd0[_0x1977('0x13')]==_0x305d62?-0x1:_0x3b8e5e[_0x1977('0x13')]==_0x305d62?0x1:0x0;})[_0x1977('0x8')](_0x541a08=>_0x541a08[_0x1977('0x13')]);}get[_0x1977('0x11')](){const _0x891dab=new Map();for(const _0x5a5d9d of Array['from'](this[_0x1977('0x0')]))for(const [_0x3335a2,_0x35eef0]of _0x5a5d9d())_0x891dab[_0x1977('0x28')](_0x3335a2,_0x35eef0);return _0x891dab;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x365a=['setActiveAnnotation','editableElement','activeAnnotation','inlineannotations-detach-not-attached','detach','_balloon','change:height','attach','hasView','editor','delete','getOrderedSelectedAnnotations','getByView','_closeAnnotation','_selectedAnnotations','change:visibleView','_manuallyClosed','update','_removeAnnotationFromBalloon','isActive','updatePosition','showStack','set','isAttached','refresh','focus','has','view','focusTracker','requires','context','inline','InlineAnnotations','Esc','add','plugins','annotations','listenTo','blur','stopListening','switchTo','get','isFocused','register','mousedown','bind','_addAnnotationToBalloon','_setSelectedAnnotations','selection','inlineannotations-attach-already-attached','editing','getSelection','getRangeAt','includes','_addedAnnotations','_forceRefresh','document','remove','visibleView','hasActive','destroy'];(function(_0x288347,_0x365aa2){const _0x2d6422=function(_0x5f23f7){while(--_0x5f23f7){_0x288347['push'](_0x288347['shift']());}};_0x2d6422(++_0x365aa2);}(_0x365a,0x10e));const _0x2d64=function(_0x288347,_0x365aa2){_0x288347=_0x288347-0x0;let _0x2d6422=_0x365a[_0x288347];return _0x2d6422;};import{Plugin as _0x2efa8c}from'ckeditor5/src/core';import _0x520f74 from'./annotationsuis';import _0x14b07b from'./editorannotations';import{ContextualBalloon as _0x106781}from'ckeditor5/src/ui';import{MouseObserver as _0x3223b0}from'ckeditor5/src/engine';import{CKEditorError as _0x58a3d5}from'ckeditor5/src/utils';import'./../../theme/annotation-inline.css';export default class a extends _0x2efa8c{static get[_0x2d64('0x3')](){return[_0x14b07b,_0x106781,_0x520f74];}static get['pluginName'](){return _0x2d64('0x6');}constructor(_0x3349ac){super(_0x3349ac),_0x3349ac['editing'][_0x2d64('0x1')]['addObserver'](_0x3223b0),this[_0x2d64('0x3a')]=!0x1,this[_0x2d64('0x39')](_0x2d64('0x25'),null),this['annotations']=null,this[_0x2d64('0x33')]=new Set(),this[_0x2d64('0x28')]=_0x3349ac[_0x2d64('0x9')][_0x2d64('0xf')](_0x106781),this['_addedAnnotations']=new Set(),this[_0x2d64('0x31')]=[],this[_0x2d64('0x1d')]=!0x1;}['init'](){const _0x135c72=this['editor'][_0x2d64('0x9')]['get'](_0x520f74);_0x135c72[_0x2d64('0x4')]===this[_0x2d64('0x2c')]&&(_0x135c72[_0x2d64('0x11')]('inline',this),this[_0x2d64('0x2c')]['keystrokes'][_0x2d64('0x39')]('Esc',(_0x18a96d,_0x253829)=>{const _0xc236fa=this[_0x2d64('0x28')];if(this[_0x2d64('0x3a')]&&_0xc236fa[_0x2d64('0x20')]){const _0x358362=this['annotations'][_0x2d64('0x2f')](_0xc236fa[_0x2d64('0x20')]);this[_0x2d64('0x30')](_0x358362),_0x253829();}}));}['afterInit'](){const _0x3974c3=this['editor'][_0x2d64('0x9')]['get'](_0x520f74);_0x3974c3[_0x2d64('0x4')]===this[_0x2d64('0x2c')]&&(_0x3974c3[_0x2d64('0x21')]()||_0x3974c3[_0x2d64('0xe')](_0x2d64('0x5')));}[_0x2d64('0x23')](_0x2696b9){_0x2696b9!==this[_0x2d64('0x25')]&&(this[_0x2d64('0x25')]&&(this[_0x2d64('0x25')]['isActive']=!0x1),_0x2696b9&&this[_0x2d64('0x2c')]['ui'][_0x2d64('0x2')][_0x2d64('0x10')]&&(this[_0x2d64('0x14')](_0x2696b9,!0x0),_0x2696b9[_0x2d64('0x36')]=!0x0),_0x2696b9||this[_0x2d64('0x15')]([]),this[_0x2d64('0x25')]=_0x2696b9);}[_0x2d64('0x2a')](_0x490c37){this[_0x2d64('0xa')]=_0x490c37;const _0x50ddde=this[_0x2d64('0x2c')][_0x2d64('0x9')][_0x2d64('0xf')](_0x520f74),_0x35dcab=this['_balloon'];if(this[_0x2d64('0x3a')])throw new _0x58a3d5(_0x2d64('0x17'),this);if(_0x50ddde[_0x2d64('0x4')]!==this['editor'])throw new _0x58a3d5('inlineannotations-not-allowed-with-context',this);const _0x43d624=this[_0x2d64('0x2c')][_0x2d64('0x9')][_0x2d64('0xf')]('EditorAnnotations');this[_0x2d64('0xb')](_0x43d624,_0x2d64('0x3b'),function(){const _0x44c485=_0x43d624[_0x2d64('0x2e')]({'activeAnnotation':this[_0x2d64('0x25')],'annotations':this['annotations']});if(!this[_0x2d64('0x1d')]&&(_0x1bd761=_0x44c485,_0x47f969=this[_0x2d64('0x31')],_0x1bd761['length']===_0x47f969['length']&&_0x1bd761['every'](_0xe84f72=>_0x47f969[_0x2d64('0x1b')](_0xe84f72))))return;var _0x1bd761,_0x47f969;this[_0x2d64('0x1d')]=!0x1,this[_0x2d64('0x15')](_0x44c485),this[_0x2d64('0x23')](_0x44c485[0x0]||null);}[_0x2d64('0x13')](this)),this['listenTo'](_0x43d624,_0x2d64('0xc'),(_0x1d333a,{isAnnotationTracked:_0x124356})=>{this['activeAnnotation']&&_0x124356(this[_0x2d64('0x25')])&&(this[_0x2d64('0x15')]([]),this[_0x2d64('0x23')](null));}),this['listenTo'](this[_0x2d64('0x2c')]['ui'][_0x2d64('0x2')],'change:isFocused',(_0x1a434b,_0x496b02,_0x532185)=>{_0x532185||this[_0x2d64('0x23')](null);}),this[_0x2d64('0xb')](_0x490c37,_0x2d64('0x1f'),(_0x280430,_0x4a1ee2)=>{this[_0x2d64('0x35')](_0x4a1ee2),_0x4a1ee2===this[_0x2d64('0x25')]&&this[_0x2d64('0x23')](null);}),this[_0x2d64('0xb')](_0x35dcab,_0x2d64('0x32'),(_0x434a42,_0x3492cb,_0x3ec2af,_0xd0209e)=>{if(_0xd0209e&&this['stopListening'](_0xd0209e),!_0x3ec2af||!_0x490c37['getByView'](_0x3ec2af))return;const _0x609c0b=_0x490c37[_0x2d64('0x2f')](_0x3ec2af);this[_0x2d64('0xb')](_0x3ec2af,_0x2d64('0x29'),()=>{_0x35dcab['updatePosition']();}),this['listenTo'](_0x3ec2af,_0x2d64('0x7'),()=>{this[_0x2d64('0x30')](_0x609c0b),this['editor'][_0x2d64('0x18')][_0x2d64('0x1')][_0x2d64('0x3c')]();}),this[_0x2d64('0x25')]!==_0x609c0b&&this['setActiveAnnotation'](_0x609c0b);}),this[_0x2d64('0xb')](this[_0x2d64('0x2c')]['ui'],_0x2d64('0x34'),()=>{_0x35dcab[_0x2d64('0x20')]&&(_0x490c37[_0x2d64('0x2f')](_0x35dcab[_0x2d64('0x20')])&&_0x35dcab[_0x2d64('0x37')]());}),this[_0x2d64('0xb')](this['editor']['editing']['view'][_0x2d64('0x1e')],_0x2d64('0x12'),()=>{this['_forceRefresh']=!0x0,this['_manuallyClosed']['clear']();}),this['editor']['editing'][_0x2d64('0x1')][_0x2d64('0x1e')][_0x2d64('0x16')][_0x2d64('0x24')]&&this[_0x2d64('0x2c')][_0x2d64('0x18')][_0x2d64('0x1')][_0x2d64('0x3c')](),this[_0x2d64('0x3a')]=!0x0;}[_0x2d64('0x27')](){if(!this[_0x2d64('0x3a')])throw new _0x58a3d5(_0x2d64('0x26'),this);this['setActiveAnnotation'](null);for(const _0x3e615f of this[_0x2d64('0x1c')])this[_0x2d64('0x35')](_0x3e615f);this[_0x2d64('0xd')](),this[_0x2d64('0x3a')]=!0x1,this[_0x2d64('0xa')]=null;}[_0x2d64('0x22')](){this[_0x2d64('0x3a')]&&this['detach']();}[_0x2d64('0x15')](_0x4a79cf){for(const _0x5675d6 of this[_0x2d64('0x31')])_0x4a79cf[_0x2d64('0x1b')](_0x5675d6)||this['_manuallyClosed'][_0x2d64('0x2d')](_0x5675d6);for(const _0x349b84 of this[_0x2d64('0xa')])_0x4a79cf[_0x2d64('0x1b')](_0x349b84)||this[_0x2d64('0x35')](_0x349b84);if(this[_0x2d64('0x2c')]['ui'][_0x2d64('0x2')][_0x2d64('0x10')])for(const _0x337144 of _0x4a79cf)this[_0x2d64('0x14')](_0x337144);this['_selectedAnnotations']=_0x4a79cf;}['_addAnnotationToBalloon'](_0x190b31,_0x156004){this[_0x2d64('0x33')][_0x2d64('0x0')](_0x190b31)||(this['_addedAnnotations'][_0x2d64('0x0')](_0x190b31)||this[_0x2d64('0x28')][_0x2d64('0x2b')](_0x190b31[_0x2d64('0x1')])||(this['_addedAnnotations'][_0x2d64('0x8')](_0x190b31),this[_0x2d64('0x28')]['add']({'stackId':_0x190b31['view']['id'],'view':_0x190b31[_0x2d64('0x1')],'position':{'target':()=>_0x190b31['target']||_0x190b31['targetRect']||document[_0x2d64('0x19')]()[_0x2d64('0x1a')](0x0)}})),_0x156004&&this['_balloon'][_0x2d64('0x38')](_0x190b31[_0x2d64('0x1')]['id']));}[_0x2d64('0x35')](_0x4ea714){this[_0x2d64('0x1c')][_0x2d64('0x0')](_0x4ea714)&&this[_0x2d64('0x28')][_0x2d64('0x2b')](_0x4ea714['view'])&&(this[_0x2d64('0x1c')][_0x2d64('0x2d')](_0x4ea714),this[_0x2d64('0x28')][_0x2d64('0x1f')](_0x4ea714['view']));}[_0x2d64('0x30')](_0xad5fea){this[_0x2d64('0x33')]['add'](_0xad5fea),this['_removeAnnotationFromBalloon'](_0xad5fea);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3eba=['_annotationToNarrowView','balloonPanelView','northArrowSouthEast','contains','context','pin','addEventListener','_editorAnnotations','Sidebar','length','get','create','add','preventDefault','_selectedAnnotations','content','esc','element','target','low','delete','getOrderedSelectedAnnotations','setActiveAnnotation','execute','mousedown','_detachListeners','focus','_showBalloon','southArrowNorthEast','attach','locale','annotations','_annotations','isVisible','_hideBalloon','southArrowNorth','view','_domEmitter','keyCode','attachToDom','has','_updateBalloonPosition','_setSelectedAnnotations','northArrowSouthWest','addAnnotation','plugins','resize','ck-sidebar--narrow','isAttached','narrowSidebar','_integrateWithEditorAnnotations','unpin','getByView','cancel','listenTo','first','isDirty','clear','keydown','init','refresh','change:height','requires','getSidebarItemView','high','northArrowSouth','preventClosingBalloon','_refreshPositioning','EditorAnnotations','activeAnnotation','editors','stopListening','_manuallyClosedAnnotationViews','destroy','bodyCollection','type','southArrowNorthWest','_destroyEditorAnnotationsIntegration','hasDomSelection','_refreshPositioningDebounced','rearrange','remove','blur','includes','from','narrowsidebar-detach-not-attached','change:container','defaultPositions','detach','_attachToContainer','set'];(function(_0xc35d1b,_0x3ebaae){const _0x10011c=function(_0x592a8a){while(--_0x592a8a){_0xc35d1b['push'](_0xc35d1b['shift']());}};_0x10011c(++_0x3ebaae);}(_0x3eba,0x97));const _0x1001=function(_0xc35d1b,_0x3ebaae){_0xc35d1b=_0xc35d1b-0x0;let _0x10011c=_0x3eba[_0xc35d1b];return _0x10011c;};import{ContextPlugin as _0x473659}from'ckeditor5/src/core';import _0x3939ca from'./annotationsuis';import _0x1e5fac from'./sidebar';import _0x130edb from'./view/annotationcounterbuttonview';import{BalloonPanelView as _0x4a924c,BodyCollection as _0x5a4e38}from'ckeditor5/src/ui';import{CKEditorError as _0x2c2159,DomEmitterMixin as _0x5a3fe9,keyCodes as _0x3f6e96,Collection as _0x99b788}from'ckeditor5/src/utils';import'../../theme/sidebar-narrow.css';import{debounce as _0x2db4de}from'lodash-es';export default class s extends _0x473659{static get[_0x1001('0x2')](){return[_0x1e5fac,_0x3939ca];}static get['pluginName'](){return'NarrowSidebar';}constructor(_0xbe47cb){super(_0xbe47cb),this[_0x1001('0x4f')]=!0x1,this[_0x1001('0xc')]=new Set(),this[_0x1001('0x44')]=Object[_0x1001('0x2a')](_0x5a3fe9),this['_annotationToNarrowView']=new Map(),this['set']('activeAnnotation',null),this[_0x1001('0x3e')]=null,this[_0x1001('0x2d')]=[],this[_0x1001('0x26')]=new _0x99b788(),this[_0x1001('0x13')]=_0x2db4de(()=>{this['_refreshPositioning']();},0xfa,{'leading':!0x1});}[_0x1001('0x5a')](){this['context'][_0x1001('0x4c')][_0x1001('0x29')](_0x3939ca)['register'](_0x1001('0x50'),this),this[_0x1001('0xe')]=new _0x5a4e38(this['context'][_0x1001('0x3d')]),this[_0x1001('0x20')]=new _0x4a924c(this[_0x1001('0x23')][_0x1001('0x3d')]),this[_0x1001('0xe')][_0x1001('0x46')](),this['bodyCollection']['add'](this[_0x1001('0x20')]);}['attach'](_0xa79317){this['annotations']=_0xa79317;const _0x21237d=this[_0x1001('0x23')][_0x1001('0x4c')][_0x1001('0x29')](_0x1e5fac),_0x4802f6=this['balloonPanelView'];if(_0x21237d[_0x1001('0x3f')]=_0xa79317,this['isAttached'])throw new _0x2c2159('narrowsidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x21237d,'set:container',()=>{this[_0x1001('0x1c')](),this[_0x1001('0x55')](_0x21237d,_0x1001('0x1a'),_0x477b22=>{_0x477b22['off'](),this[_0x1001('0x3c')](_0xa79317);});}),_0x21237d[_0x1001('0x1d')]({'viewClass':_0x1001('0x4e'),'spaceBetweenItems':0x5});const _0x6d2498=_0x1df451=>{const _0x25fb72=new _0x130edb(this[_0x1001('0x23')][_0x1001('0x3d')]);_0x21237d[_0x1001('0x4b')](_0x1df451,_0x25fb72),this[_0x1001('0x1f')][_0x1001('0x1e')](_0x1df451,_0x25fb72),_0x25fb72['bind'](_0x1001('0x57'),'annotationType','number')['to'](_0x1df451[_0x1001('0x43')],_0x1001('0x57'),_0x1001('0xf'),_0x1001('0x28')),_0x25fb72['on'](_0x1001('0x36'),()=>{this['_manuallyClosedAnnotationViews']['clear'](),_0x4802f6[_0x1001('0x2e')][_0x1001('0x56')]!==_0x1df451[_0x1001('0x43')]?(this[_0x1001('0x3a')](_0x1df451),_0x1df451[_0x1001('0x43')][_0x1001('0x30')][_0x1001('0x39')](),this['setActiveAnnotation'](_0x1df451)):this[_0x1001('0x35')](null);});};for(const _0xf09e1 of _0xa79317)_0x6d2498(_0xf09e1);this[_0x1001('0x55')](_0xa79317,_0x1001('0x2b'),(_0x2939f0,_0x2f3c0d)=>{_0x6d2498(_0x2f3c0d);}),this[_0x1001('0x55')](_0xa79317,_0x1001('0x15'),(_0xd5adff,_0x21324d,_0x44d691)=>{this[_0x1001('0x1f')][_0x1001('0x29')](_0x21324d)['destroy'](),this[_0x1001('0x1f')][_0x1001('0x33')](_0x21324d),_0x21237d[_0x1001('0x14')]({'removedAnnotation':_0x21324d,'previousAnnotation':_0xa79317[_0x1001('0x29')](_0x44d691-0x1),'nextAnnotation':_0xa79317[_0x1001('0x29')](_0x44d691+0x1)}),_0x21324d===this['activeAnnotation']&&this[_0x1001('0x35')](null);},{'priority':_0x1001('0x32')}),this[_0x1001('0x55')](_0xa79317,'focus',(_0x29bf4b,_0x222f2b)=>{this[_0x1001('0x35')](_0x222f2b);}),this[_0x1001('0x55')](_0xa79317,'blur',()=>{this[_0x1001('0x35')](null);}),this[_0x1001('0x44')][_0x1001('0x55')](document,_0x1001('0x59'),(_0x55a73f,_0x276ff4)=>{_0x276ff4[_0x1001('0x45')]===_0x3f6e96[_0x1001('0x2f')]&&_0x4802f6['isVisible']&&(this[_0x1001('0xc')][_0x1001('0x2b')](_0x4802f6[_0x1001('0x2e')]['first']),this[_0x1001('0x41')](),_0x276ff4['stopPropagation'](),_0x276ff4[_0x1001('0x2c')]());}),this[_0x1001('0x44')][_0x1001('0x55')](document,_0x1001('0x37'),(_0x306035,_0x4c4348)=>{const _0x10da74=_0x4c4348[_0x1001('0x31')];_0x4802f6['isVisible']&&_0x4802f6[_0x1001('0x30')][_0x1001('0x22')](_0x10da74)||_0x21237d[_0x1001('0x43')]['element'][_0x1001('0x22')](_0x10da74)||_0x306035['preventClosingBalloon']||(this['_manuallyClosedAnnotationViews'][_0x1001('0x58')](),this[_0x1001('0x41')](),this[_0x1001('0x35')](null));});const _0x36d4aa=this[_0x1001('0x23')][_0x1001('0xa')]?this[_0x1001('0x23')][_0x1001('0xa')]:new _0x99b788([this[_0x1001('0x23')]]);for(const _0x323157 of _0x36d4aa)this[_0x1001('0x51')](_0x323157);this['listenTo'](_0x36d4aa,_0x1001('0x2b'),(_0x4e159e,_0x2cc49a)=>{this[_0x1001('0x55')](_0x2cc49a,'ready',()=>{this[_0x1001('0x51')](_0x2cc49a);});}),this[_0x1001('0x55')](_0x36d4aa,_0x1001('0x15'),(_0x5a8247,_0x4ea71c)=>{_0x4ea71c[_0x1001('0x4c')][_0x1001('0x47')](_0x1001('0x8'))&&this[_0x1001('0x11')](_0x4ea71c[_0x1001('0x4c')][_0x1001('0x29')]('EditorAnnotations'));}),window[_0x1001('0x25')](_0x1001('0x4d'),this[_0x1001('0x13')]),this[_0x1001('0x7')]();}[_0x1001('0x35')](_0x102e65){if(_0x102e65===this[_0x1001('0x9')])return;const _0x43f12a=this[_0x1001('0x23')][_0x1001('0x4c')][_0x1001('0x29')](_0x1001('0x27'));if(_0x43f12a[_0x1001('0x0')]({'blurredAnnotation':this[_0x1001('0x9')],'activatedAnnotation':_0x102e65,'disableAnimationOnActivatedAnnotation':!0x0}),_0x102e65)_0x43f12a[_0x1001('0x3')](_0x102e65)?this[_0x1001('0x3a')](_0x102e65):this['_hideBalloon']();else this[_0x1001('0x41')]();this[_0x1001('0x9')]=_0x102e65;}[_0x1001('0x1c')](){if(!this[_0x1001('0x4f')])throw new _0x2c2159(_0x1001('0x19'),this);this['setActiveAnnotation'](null);const _0x438c34=this[_0x1001('0x23')][_0x1001('0x4c')][_0x1001('0x29')](_0x1001('0x27'));this['_hideBalloon'](),Array[_0x1001('0x18')](this[_0x1001('0x1f')]['values'](),_0x2fc016=>_0x2fc016[_0x1001('0xd')]()),this[_0x1001('0x1f')][_0x1001('0x58')](),_0x438c34['_detachFromContainer'](this[_0x1001('0x3e')]),this[_0x1001('0xb')](),this[_0x1001('0x44')][_0x1001('0xb')](),this['stopListening'](this[_0x1001('0x23')][_0x1001('0xa')]);for(const _0x30c08b of Array['from'](this['_editorAnnotations']))this[_0x1001('0x11')](_0x30c08b);window['removeEventListener'](_0x1001('0x4d'),this[_0x1001('0x13')]),this['_refreshPositioningDebounced'][_0x1001('0x54')](),this[_0x1001('0x2d')]=[],this[_0x1001('0x4f')]=!0x1,this[_0x1001('0x3e')]=null;}[_0x1001('0xd')](){this['isAttached']&&this[_0x1001('0x1c')](),this[_0x1001('0xe')]['detachFromDom']();}['_integrateWithEditorAnnotations'](_0xcc146a){const _0x1cd578=_0xcc146a[_0x1001('0x4c')][_0x1001('0x29')](_0x1001('0x8')),_0x16a608=this[_0x1001('0x23')]['plugins'][_0x1001('0x29')](_0x1e5fac),_0x288337=this[_0x1001('0x3e')],_0x101f07=this['balloonPanelView'],_0xfa6d60=()=>{const _0x558414=_0x1cd578[_0x1001('0x34')]({'activeAnnotation':this[_0x1001('0x9')],'annotations':this[_0x1001('0x3e')]});this['_setSelectedAnnotations'](_0x558414),this[_0x1001('0x35')](_0x558414[0x0]||null);};this['listenTo'](_0x1cd578,_0x1001('0x0'),_0xfa6d60),this['listenTo'](_0x1cd578,_0x1001('0x16'),(_0x1c8672,{isAnnotationTracked:_0x1699fa})=>{this[_0x1001('0x9')]&&_0x1699fa(this[_0x1001('0x9')])&&(this[_0x1001('0x49')]([]),this[_0x1001('0x35')](null));}),this['listenTo'](_0x1cd578,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](_0x288337,_0x1001('0x16'),_0x2c3cb7=>{_0x1cd578[_0x1001('0x12')]()&&_0x2c3cb7['stop']();},{'priority':_0x1001('0x4')}),this[_0x1001('0x44')][_0x1001('0x55')](document,'mousedown',(_0x3c6d56,_0x1a21b5)=>{const _0x22a793=_0x1a21b5[_0x1001('0x31')];_0x101f07[_0x1001('0x40')]&&_0x101f07['element'][_0x1001('0x22')](_0x22a793)||_0x16a608[_0x1001('0x43')]['element'][_0x1001('0x22')](_0x22a793)||this[_0x1001('0x9')]&&_0x1cd578[_0x1001('0x12')]()&&(_0xfa6d60(),_0x3c6d56[_0x1001('0x6')]=!0x0);},{'priority':_0x1001('0x4')}),this[_0x1001('0x26')][_0x1001('0x2b')](_0x1cd578);}['_destroyEditorAnnotationsIntegration'](_0x33c3da){_0x33c3da&&(this[_0x1001('0xb')](_0x33c3da),this[_0x1001('0x26')]['remove'](_0x33c3da));}[_0x1001('0x49')](_0x4fae9f){for(const _0x55f827 of this[_0x1001('0x2d')])_0x4fae9f[_0x1001('0x17')](_0x55f827)||this['_manuallyClosedAnnotationViews'][_0x1001('0x33')](_0x55f827[_0x1001('0x43')]);this['_selectedAnnotations']=_0x4fae9f;}[_0x1001('0x7')](){const _0x3759d9=this['balloonPanelView'];this['annotations']['refreshPositioning'](),_0x3759d9[_0x1001('0x40')]&&this[_0x1001('0x48')]();}[_0x1001('0x3a')](_0xd6342c){if(this[_0x1001('0xc')]['has'](_0xd6342c[_0x1001('0x43')]))return;const _0x3f1513=this[_0x1001('0x20')][_0x1001('0x2e')]['first'];_0x3f1513!==_0xd6342c[_0x1001('0x43')]?(_0x3f1513&&this['_detachListeners'](_0x3f1513),this['_attachListeners'](_0xd6342c[_0x1001('0x43')]),this[_0x1001('0x20')][_0x1001('0x2e')][_0x1001('0x58')](),this[_0x1001('0x20')][_0x1001('0x2e')]['add'](_0xd6342c[_0x1001('0x43')]),this['_updateBalloonPosition']()):this[_0x1001('0x48')]();}['_updateBalloonPosition'](){const _0x1503b2=this['balloonPanelView'][_0x1001('0x2e')]['first'],_0x49fb7c=this[_0x1001('0x3e')][_0x1001('0x53')](_0x1503b2);if(!this['_annotationToNarrowView'][_0x1001('0x47')](_0x49fb7c))return;const _0x57c661=this[_0x1001('0x1f')][_0x1001('0x29')](_0x49fb7c)[_0x1001('0x30')],_0x3545b6=function(){const _0x4bd4d5=_0x4a924c[_0x1001('0x1b')];return[_0x4bd4d5[_0x1001('0x3b')],_0x4bd4d5[_0x1001('0x21')],_0x4bd4d5[_0x1001('0x42')],_0x4bd4d5[_0x1001('0x5')],_0x4bd4d5[_0x1001('0x10')],_0x4bd4d5[_0x1001('0x4a')]];}();this['balloonPanelView'][_0x1001('0x24')]({'target':_0x57c661,'positions':_0x3545b6});}[_0x1001('0x41')](){const _0x7fda85=this[_0x1001('0x20')],_0x13159a=_0x7fda85[_0x1001('0x2e')]['first'];_0x13159a&&(this['_detachListeners'](_0x13159a),_0x7fda85[_0x1001('0x52')](),_0x7fda85[_0x1001('0x2e')]['clear']());}['_attachListeners'](_0x322b09){this[_0x1001('0x55')](_0x322b09,_0x1001('0x1'),()=>this['_updateBalloonPosition']()),this[_0x1001('0x55')](_0x322b09,'Esc',(_0x503f1d,_0x33a168)=>{this['_manuallyClosedAnnotationViews'][_0x1001('0x2b')](_0x322b09),this['_hideBalloon'](),_0x33a168();});}[_0x1001('0x38')](_0x21b4e7){this['stopListening'](_0x21b4e7);}}
|
|
23
|
+
const _0x2bb9=['low','context','content','locale','annotations','mousedown','isDirty','_editorAnnotations','values','addAnnotation','narrowsidebar-attach-already-attached','northArrowSouthEast','keydown','ck-sidebar--narrow','contains','editors','southArrowNorth','_integrateWithEditorAnnotations','change:container','pluginName','_domEmitter','northArrowSouth','remove','_updateBalloonPosition','getSidebarItemView','add','isVisible','change:height','unpin','_showBalloon','has','activeAnnotation','blur','length','execute','set','_hideBalloon','Esc','delete','_attachToContainer','_manuallyClosedAnnotationViews','_detachListeners','balloonPanelView','removeEventListener','southArrowNorthWest','listenTo','resize','northArrowSouthWest','register','clear','hasDomSelection','preventDefault','southArrowNorthEast','number','_refreshPositioningDebounced','attach','high','_destroyEditorAnnotationsIntegration','focus','plugins','EditorAnnotations','_attachListeners','NarrowSidebar','_detachFromContainer','_selectedAnnotations','defaultPositions','view','_annotationToNarrowView','detach','_annotations','from','refresh','isAttached','set:container','addEventListener','element','cancel','off','get','narrowsidebar-detach-not-attached','_refreshPositioning','stopPropagation','first','keyCode','stop','narrowSidebar','destroy','bodyCollection','_setSelectedAnnotations','pin','setActiveAnnotation','stopListening','target','init','annotationType'];(function(_0x5afe90,_0x2bb980){const _0x36184d=function(_0xb72d64){while(--_0xb72d64){_0x5afe90['push'](_0x5afe90['shift']());}};_0x36184d(++_0x2bb980);}(_0x2bb9,0x7b));const _0x3618=function(_0x5afe90,_0x2bb980){_0x5afe90=_0x5afe90-0x0;let _0x36184d=_0x2bb9[_0x5afe90];return _0x36184d;};import{ContextPlugin as _0x423960}from'ckeditor5/src/core';import _0x2e66c9 from'./annotationsuis';import _0x402a53 from'./sidebar';import _0x315d6d from'./view/annotationcounterbuttonview';import{BalloonPanelView as _0x311c5d,BodyCollection as _0x5706cf}from'ckeditor5/src/ui';import{CKEditorError as _0x11d39a,DomEmitterMixin as _0x2c7250,keyCodes as _0x36289a,Collection as _0x549104}from'ckeditor5/src/utils';import'../../theme/sidebar-narrow.css';import{debounce as _0x5cf363}from'lodash-es';export default class s extends _0x423960{static get['requires'](){return[_0x402a53,_0x2e66c9];}static get[_0x3618('0x56')](){return _0x3618('0x22');}constructor(_0x2c506b){super(_0x2c506b),this[_0x3618('0x2c')]=!0x1,this[_0x3618('0xc')]=new Set(),this[_0x3618('0x57')]=Object['create'](_0x2c7250),this[_0x3618('0x27')]=new Map(),this[_0x3618('0x7')](_0x3618('0x3'),null),this[_0x3618('0x47')]=null,this[_0x3618('0x24')]=[],this[_0x3618('0x4a')]=new _0x549104(),this[_0x3618('0x1a')]=_0x5cf363(()=>{this[_0x3618('0x34')]();},0xfa,{'leading':!0x1});}[_0x3618('0x41')](){this[_0x3618('0x44')][_0x3618('0x1f')]['get'](_0x2e66c9)[_0x3618('0x14')](_0x3618('0x39'),this),this[_0x3618('0x3b')]=new _0x5706cf(this[_0x3618('0x44')][_0x3618('0x46')]),this[_0x3618('0xe')]=new _0x311c5d(this[_0x3618('0x44')][_0x3618('0x46')]),this['bodyCollection']['attachToDom'](),this[_0x3618('0x3b')][_0x3618('0x5c')](this[_0x3618('0xe')]);}[_0x3618('0x1b')](_0xa95c94){this['annotations']=_0xa95c94;const _0x585469=this['context'][_0x3618('0x1f')][_0x3618('0x32')](_0x402a53),_0x8ed3cb=this[_0x3618('0xe')];if(_0x585469[_0x3618('0x29')]=_0xa95c94,this[_0x3618('0x2c')])throw new _0x11d39a(_0x3618('0x4d'),this);this[_0x3618('0x2c')]=!0x0,this['listenTo'](_0x585469,_0x3618('0x2d'),()=>{this[_0x3618('0x28')](),this[_0x3618('0x11')](_0x585469,_0x3618('0x55'),_0x1ede2b=>{_0x1ede2b[_0x3618('0x31')](),this[_0x3618('0x1b')](_0xa95c94);});}),_0x585469[_0x3618('0xb')]({'viewClass':_0x3618('0x50'),'spaceBetweenItems':0x5});const _0x13395b=_0x1c68b5=>{const _0x52eb1f=new _0x315d6d(this[_0x3618('0x44')][_0x3618('0x46')]);_0x585469[_0x3618('0x4c')](_0x1c68b5,_0x52eb1f),this['_annotationToNarrowView'][_0x3618('0x7')](_0x1c68b5,_0x52eb1f),_0x52eb1f['bind'](_0x3618('0x49'),_0x3618('0x42'),_0x3618('0x19'))['to'](_0x1c68b5[_0x3618('0x26')],'isDirty','type',_0x3618('0x5')),_0x52eb1f['on'](_0x3618('0x6'),()=>{this[_0x3618('0xc')][_0x3618('0x15')](),_0x8ed3cb['content']['first']!==_0x1c68b5[_0x3618('0x26')]?(this[_0x3618('0x1')](_0x1c68b5),_0x1c68b5[_0x3618('0x26')]['element'][_0x3618('0x1e')](),this[_0x3618('0x3e')](_0x1c68b5)):this[_0x3618('0x3e')](null);});};for(const _0x3cd62c of _0xa95c94)_0x13395b(_0x3cd62c);this['listenTo'](_0xa95c94,_0x3618('0x5c'),(_0x4a05a3,_0x47ed0d)=>{_0x13395b(_0x47ed0d);}),this[_0x3618('0x11')](_0xa95c94,_0x3618('0x59'),(_0x1d4e4e,_0x548175,_0x261322)=>{this[_0x3618('0x27')][_0x3618('0x32')](_0x548175)['destroy'](),this[_0x3618('0x27')][_0x3618('0xa')](_0x548175),_0x585469['rearrange']({'removedAnnotation':_0x548175,'previousAnnotation':_0xa95c94[_0x3618('0x32')](_0x261322-0x1),'nextAnnotation':_0xa95c94[_0x3618('0x32')](_0x261322+0x1)}),_0x548175===this[_0x3618('0x3')]&&this[_0x3618('0x3e')](null);},{'priority':_0x3618('0x43')}),this[_0x3618('0x11')](_0xa95c94,'focus',(_0x592482,_0x562e02)=>{this[_0x3618('0x3e')](_0x562e02);}),this[_0x3618('0x11')](_0xa95c94,_0x3618('0x4'),()=>{this[_0x3618('0x3e')](null);}),this[_0x3618('0x57')][_0x3618('0x11')](document,_0x3618('0x4f'),(_0x26d50c,_0x3cbb12)=>{_0x3cbb12[_0x3618('0x37')]===_0x36289a['esc']&&_0x8ed3cb[_0x3618('0x5d')]&&(this['_manuallyClosedAnnotationViews']['add'](_0x8ed3cb['content'][_0x3618('0x36')]),this[_0x3618('0x8')](),_0x3cbb12[_0x3618('0x35')](),_0x3cbb12[_0x3618('0x17')]());}),this[_0x3618('0x57')][_0x3618('0x11')](document,_0x3618('0x48'),(_0x59de49,_0x5111c7)=>{const _0x105b4b=_0x5111c7[_0x3618('0x40')];_0x8ed3cb['isVisible']&&_0x8ed3cb['element']['contains'](_0x105b4b)||_0x585469[_0x3618('0x26')][_0x3618('0x2f')]['contains'](_0x105b4b)||_0x59de49['preventClosingBalloon']||(this[_0x3618('0xc')]['clear'](),this['_hideBalloon'](),this[_0x3618('0x3e')](null));});const _0x48c437=this['context'][_0x3618('0x52')]?this[_0x3618('0x44')][_0x3618('0x52')]:new _0x549104([this[_0x3618('0x44')]]);for(const _0x46a848 of _0x48c437)this[_0x3618('0x54')](_0x46a848);this['listenTo'](_0x48c437,_0x3618('0x5c'),(_0x2f88af,_0x342802)=>{this[_0x3618('0x11')](_0x342802,'ready',()=>{this[_0x3618('0x54')](_0x342802);});}),this[_0x3618('0x11')](_0x48c437,_0x3618('0x59'),(_0x32b9ed,_0x532cbc)=>{_0x532cbc['plugins'][_0x3618('0x2')](_0x3618('0x20'))&&this['_destroyEditorAnnotationsIntegration'](_0x532cbc[_0x3618('0x1f')][_0x3618('0x32')](_0x3618('0x20')));}),window[_0x3618('0x2e')](_0x3618('0x12'),this[_0x3618('0x1a')]),this[_0x3618('0x34')]();}['setActiveAnnotation'](_0x530fe0){if(_0x530fe0===this[_0x3618('0x3')])return;const _0x2e4a20=this[_0x3618('0x44')][_0x3618('0x1f')][_0x3618('0x32')]('Sidebar');if(_0x2e4a20[_0x3618('0x2b')]({'blurredAnnotation':this[_0x3618('0x3')],'activatedAnnotation':_0x530fe0,'disableAnimationOnActivatedAnnotation':!0x0}),_0x530fe0)_0x2e4a20[_0x3618('0x5b')](_0x530fe0)?this[_0x3618('0x1')](_0x530fe0):this[_0x3618('0x8')]();else this[_0x3618('0x8')]();this[_0x3618('0x3')]=_0x530fe0;}[_0x3618('0x28')](){if(!this[_0x3618('0x2c')])throw new _0x11d39a(_0x3618('0x33'),this);this[_0x3618('0x3e')](null);const _0x39398a=this['context'][_0x3618('0x1f')]['get']('Sidebar');this[_0x3618('0x8')](),Array[_0x3618('0x2a')](this[_0x3618('0x27')][_0x3618('0x4b')](),_0x8194eb=>_0x8194eb['destroy']()),this['_annotationToNarrowView'][_0x3618('0x15')](),_0x39398a[_0x3618('0x23')](this[_0x3618('0x47')]),this['stopListening'](),this[_0x3618('0x57')][_0x3618('0x3f')](),this[_0x3618('0x3f')](this[_0x3618('0x44')][_0x3618('0x52')]);for(const _0x541b92 of Array['from'](this[_0x3618('0x4a')]))this[_0x3618('0x1d')](_0x541b92);window[_0x3618('0xf')]('resize',this[_0x3618('0x1a')]),this['_refreshPositioningDebounced'][_0x3618('0x30')](),this[_0x3618('0x24')]=[],this[_0x3618('0x2c')]=!0x1,this[_0x3618('0x47')]=null;}[_0x3618('0x3a')](){this[_0x3618('0x2c')]&&this[_0x3618('0x28')](),this[_0x3618('0x3b')]['detachFromDom']();}['_integrateWithEditorAnnotations'](_0x16f2ce){const _0x55a23a=_0x16f2ce[_0x3618('0x1f')][_0x3618('0x32')](_0x3618('0x20')),_0x169fab=this[_0x3618('0x44')]['plugins'][_0x3618('0x32')](_0x402a53),_0x421d4a=this['annotations'],_0x11a8c9=this[_0x3618('0xe')],_0x1aee28=()=>{const _0x5db6ac=_0x55a23a['getOrderedSelectedAnnotations']({'activeAnnotation':this[_0x3618('0x3')],'annotations':this[_0x3618('0x47')]});this[_0x3618('0x3c')](_0x5db6ac),this['setActiveAnnotation'](_0x5db6ac[0x0]||null);};this[_0x3618('0x11')](_0x55a23a,_0x3618('0x2b'),_0x1aee28),this[_0x3618('0x11')](_0x55a23a,_0x3618('0x4'),(_0x172d7c,{isAnnotationTracked:_0x3586b7})=>{this[_0x3618('0x3')]&&_0x3586b7(this[_0x3618('0x3')])&&(this[_0x3618('0x3c')]([]),this['setActiveAnnotation'](null));}),this[_0x3618('0x11')](_0x55a23a,'uiUpdate',()=>{this[_0x3618('0x1a')]();}),this[_0x3618('0x11')](_0x421d4a,'blur',_0x43bc4c=>{_0x55a23a[_0x3618('0x16')]()&&_0x43bc4c[_0x3618('0x38')]();},{'priority':'high'}),this[_0x3618('0x57')][_0x3618('0x11')](document,'mousedown',(_0x4ae3f9,_0x4be687)=>{const _0x5df2d7=_0x4be687[_0x3618('0x40')];_0x11a8c9['isVisible']&&_0x11a8c9[_0x3618('0x2f')]['contains'](_0x5df2d7)||_0x169fab['view'][_0x3618('0x2f')][_0x3618('0x51')](_0x5df2d7)||this[_0x3618('0x3')]&&_0x55a23a['hasDomSelection']()&&(_0x1aee28(),_0x4ae3f9['preventClosingBalloon']=!0x0);},{'priority':_0x3618('0x1c')}),this[_0x3618('0x4a')][_0x3618('0x5c')](_0x55a23a);}['_destroyEditorAnnotationsIntegration'](_0x516283){_0x516283&&(this[_0x3618('0x3f')](_0x516283),this[_0x3618('0x4a')][_0x3618('0x59')](_0x516283));}[_0x3618('0x3c')](_0x413ff9){for(const _0x768951 of this['_selectedAnnotations'])_0x413ff9['includes'](_0x768951)||this[_0x3618('0xc')]['delete'](_0x768951[_0x3618('0x26')]);this[_0x3618('0x24')]=_0x413ff9;}[_0x3618('0x34')](){const _0x2b8fc3=this[_0x3618('0xe')];this['annotations']['refreshPositioning'](),_0x2b8fc3[_0x3618('0x5d')]&&this['_updateBalloonPosition']();}[_0x3618('0x1')](_0x4cc55e){if(this[_0x3618('0xc')][_0x3618('0x2')](_0x4cc55e[_0x3618('0x26')]))return;const _0x1a6e3f=this[_0x3618('0xe')]['content'][_0x3618('0x36')];_0x1a6e3f!==_0x4cc55e[_0x3618('0x26')]?(_0x1a6e3f&&this[_0x3618('0xd')](_0x1a6e3f),this[_0x3618('0x21')](_0x4cc55e['view']),this[_0x3618('0xe')][_0x3618('0x45')]['clear'](),this[_0x3618('0xe')][_0x3618('0x45')][_0x3618('0x5c')](_0x4cc55e['view']),this[_0x3618('0x5a')]()):this['_updateBalloonPosition']();}[_0x3618('0x5a')](){const _0x4bbb86=this[_0x3618('0xe')]['content'][_0x3618('0x36')],_0x26b471=this[_0x3618('0x47')]['getByView'](_0x4bbb86);if(!this['_annotationToNarrowView'][_0x3618('0x2')](_0x26b471))return;const _0x490fbe=this['_annotationToNarrowView'][_0x3618('0x32')](_0x26b471)[_0x3618('0x2f')],_0x5e459e=function(){const _0x1cf947=_0x311c5d[_0x3618('0x25')];return[_0x1cf947[_0x3618('0x18')],_0x1cf947[_0x3618('0x4e')],_0x1cf947[_0x3618('0x53')],_0x1cf947[_0x3618('0x58')],_0x1cf947[_0x3618('0x10')],_0x1cf947[_0x3618('0x13')]];}();this[_0x3618('0xe')][_0x3618('0x3d')]({'target':_0x490fbe,'positions':_0x5e459e});}[_0x3618('0x8')](){const _0x573a44=this[_0x3618('0xe')],_0x1dceac=_0x573a44[_0x3618('0x45')][_0x3618('0x36')];_0x1dceac&&(this['_detachListeners'](_0x1dceac),_0x573a44[_0x3618('0x0')](),_0x573a44[_0x3618('0x45')]['clear']());}[_0x3618('0x21')](_0x17dc80){this['listenTo'](_0x17dc80,_0x3618('0x5e'),()=>this['_updateBalloonPosition']()),this[_0x3618('0x11')](_0x17dc80,_0x3618('0x9'),(_0x39d0dd,_0x3f0c6d)=>{this['_manuallyClosedAnnotationViews']['add'](_0x17dc80),this[_0x3618('0x8')](),_0x3f0c6d();});}[_0x3618('0xd')](_0x32dcc2){this['stopListening'](_0x32dcc2);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x67c8=['_targetTop','list','max','_annotationToSidebarItemView','top','locale','class','minHeight','get','rearrange','config','updateHeight','sidebar.preventScrollOutOfView','_detachFromContainer','_getItemAfter','stopListening','_alignForBottomChange','change:top','set','change:_lastItem','_lastItem','_alignToTargetRect','_activeAnnotation','element','isAnimationDisabled','sidebar.container','_destroySidebarItemView','init','height','_alignAfterItem','pluginName','bind','last','_updateLastItem','_getItemBefore','remove','bottom','_getMaxAvailableTop','_createSidebarView','context','target','container','addAnnotation','clear','view','_sidebarItemViewToAnnotation','sidebar-setcontainer-invalid-element','push','_alignBeforeItem','isActive','targetRect','_alignForTopChange','getIndex','Sidebar','_setItemTop','listenTo','_recalculate','getSidebarItemView','length','_recalculateBuffer','refresh','_getTargetTop','change:targetRect','_spaceBetweenItems','content','_annotations','sidebar-attachtocontainer-missing-container','delete','destroy','define'];(function(_0xc88983,_0x67c8ee){const _0x1fdb7f=function(_0x223427){while(--_0x223427){_0xc88983['push'](_0xc88983['shift']());}};_0x1fdb7f(++_0x67c8ee);}(_0x67c8,0x98));const _0x1fdb=function(_0xc88983,_0x67c8ee){_0xc88983=_0xc88983-0x0;let _0x1fdb7f=_0x67c8[_0xc88983];return _0x1fdb7f;};import{ContextPlugin as _0x14ac9c}from'ckeditor5/src/core';import _0x1f8007 from'./view/sidebarview';import _0x45ed9c from'./view/sidebaritemview';import{Rect as _0x32c599,CKEditorError as _0x2da2a2}from'ckeditor5/src/utils';export default class b extends _0x14ac9c{static get[_0x1fdb('0x12')](){return _0x1fdb('0x29');}constructor(_0x32ef9b){super(_0x32ef9b),this['set'](_0x1fdb('0x8')),this[_0x1fdb('0x20')]=this[_0x1fdb('0x1a')](),this['set'](_0x1fdb('0x1d'),null),this[_0x1fdb('0x33')]=0x19,this[_0x1fdb('0x21')]=new Map(),this['_annotationToSidebarItemView']=new Map(),this[_0x1fdb('0x1b')][_0x1fdb('0x44')][_0x1fdb('0x39')]('sidebar.preventScrollOutOfView',!0x1),this[_0x1fdb('0x35')]=null,this[_0x1fdb('0xa')]=null,this[_0x1fdb('0x2f')]=[];}[_0x1fdb('0xf')](){const _0x59751b=this[_0x1fdb('0x1b')][_0x1fdb('0x44')][_0x1fdb('0x42')](_0x1fdb('0xd'));_0x59751b&&this['setContainer'](_0x59751b);}['setContainer'](_0x51e188){if(!p(_0x51e188))throw new _0x2da2a2(_0x1fdb('0x22'));this['container']=_0x51e188;}['_attachToContainer']({viewClass:_0x500dd3='',spaceBetweenItems:_0x2b3a42=0x19}={}){if(!p(this['container']))throw new _0x2da2a2(_0x1fdb('0x36'),this);this[_0x1fdb('0x1d')]['appendChild'](this['view'][_0x1fdb('0xb')]),this[_0x1fdb('0x20')][_0x1fdb('0x40')]=_0x500dd3,this[_0x1fdb('0x33')]=_0x2b3a42;}[_0x1fdb('0x43')]({removedAnnotation:_0x489f60,previousAnnotation:_0x5cad31,nextAnnotation:_0x1196ef}){const _0x5ad1d4=this['getSidebarItemView'](_0x489f60);this[_0x1fdb('0x20')][_0x1fdb('0x3b')][_0x1fdb('0x17')](_0x5ad1d4),this[_0x1fdb('0xe')](_0x489f60),_0x5cad31&&this[_0x1fdb('0x9')](this[_0x1fdb('0x2d')](_0x5cad31)),_0x1196ef&&this[_0x1fdb('0x9')](this[_0x1fdb('0x2d')](_0x1196ef)),this['_updateLastItem']();}[_0x1fdb('0x30')]({blurredAnnotation:_0x1e18c0,activatedAnnotation:_0x5c4749,disableAnimationOnActivatedAnnotation:_0x49ce93}){if(this[_0x1fdb('0xa')]=_0x5c4749,_0x1e18c0){_0x1e18c0['isActive']=!0x1;const _0x5d7d61=this[_0x1fdb('0x2d')](_0x1e18c0);_0x5d7d61&&_0x49ce93&&(_0x5d7d61[_0x1fdb('0xc')]=!0x1);}if(_0x5c4749){const _0x2219b7=this[_0x1fdb('0x2d')](_0x5c4749);_0x2219b7&&(_0x5c4749[_0x1fdb('0x25')]=!0x0,_0x49ce93&&(_0x2219b7[_0x1fdb('0xc')]=!0x0,_0x2219b7[_0x1fdb('0x3e')]+=0x1),this[_0x1fdb('0x9')](_0x2219b7));}}[_0x1fdb('0x1')](_0x4a3bb2){this['stopListening'](),this[_0x1fdb('0x20')]['element']['remove']();for(const _0x330074 of _0x4a3bb2)this[_0x1fdb('0xe')](_0x330074);this[_0x1fdb('0x20')][_0x1fdb('0x3b')][_0x1fdb('0x1f')](),this[_0x1fdb('0x20')][_0x1fdb('0x40')]='',this['_lastItem']=null;}[_0x1fdb('0x1e')](_0x2382a1,_0x2869a8){_0x2869a8||(_0x2869a8=_0x2382a1[_0x1fdb('0x20')]);const _0x12c7df=new _0x45ed9c(this['context'][_0x1fdb('0x3f')]);this[_0x1fdb('0x21')][_0x1fdb('0x6')](_0x12c7df,_0x2382a1),this[_0x1fdb('0x3d')][_0x1fdb('0x6')](_0x2382a1,_0x12c7df),_0x12c7df['content']['add'](_0x2869a8),this[_0x1fdb('0x2b')](_0x2382a1[_0x1fdb('0x20')],_0x1fdb('0x32'),(_0x4d7025,_0x3ed14f,_0x3dff5b)=>{const _0x36ec7b=this[_0x1fdb('0x31')](_0x2382a1,_0x3dff5b);_0x12c7df[_0x1fdb('0x3a')]!=_0x36ec7b&&(_0x12c7df['_targetTop']=_0x36ec7b,this[_0x1fdb('0x2a')](_0x12c7df,_0x36ec7b));}),this[_0x1fdb('0x2b')](_0x12c7df,_0x1fdb('0x5'),()=>{this[_0x1fdb('0x2c')](_0x12c7df,_0x1fdb('0x3e'));}),this['listenTo'](_0x12c7df,'change:bottom',()=>{this[_0x1fdb('0x2c')](_0x12c7df,_0x1fdb('0x18'));}),this[_0x1fdb('0x9')](_0x12c7df);const _0x57b6be=this[_0x1fdb('0x16')](_0x12c7df);if(_0x57b6be)this[_0x1fdb('0x11')](_0x57b6be,_0x12c7df)||this[_0x1fdb('0x9')](_0x12c7df);else this[_0x1fdb('0x9')](_0x12c7df);return this[_0x1fdb('0x15')](),this['view'][_0x1fdb('0x3b')]['add'](_0x12c7df),_0x12c7df;}[_0x1fdb('0x27')](_0x30cfea){if(!_0x30cfea[_0x1fdb('0x34')][_0x1fdb('0x2e')])return;const _0x1a20eb=this[_0x1fdb('0x16')](_0x30cfea);if(!_0x1a20eb)return;const _0x52d651=this[_0x1fdb('0x21')]['get'](_0x1a20eb),_0x4a6559=this[_0x1fdb('0xa')];_0x4a6559&&_0x4a6559===_0x52d651?this[_0x1fdb('0x11')](_0x1a20eb,_0x30cfea):this['_alignBeforeItem'](_0x30cfea,_0x1a20eb);}[_0x1fdb('0x4')](_0x2549c0){if(!_0x2549c0[_0x1fdb('0x34')][_0x1fdb('0x2e')])return;const _0x5afca3=this[_0x1fdb('0x2')](_0x2549c0);if(!_0x5afca3)return;const _0x92980a=this['_sidebarItemViewToAnnotation'][_0x1fdb('0x42')](_0x5afca3),_0x515bbe=this[_0x1fdb('0x1b')][_0x1fdb('0x44')][_0x1fdb('0x42')]('sidebar.preventScrollOutOfView'),_0xab277=this[_0x1fdb('0xa')];_0xab277&&_0xab277===_0x92980a&&_0x515bbe?(this[_0x1fdb('0x24')](_0x5afca3,_0x2549c0),this[_0x1fdb('0x11')](_0x2549c0,_0x5afca3)):_0xab277&&_0xab277===_0x92980a?this['_alignBeforeItem'](_0x5afca3,_0x2549c0):this[_0x1fdb('0x11')](_0x2549c0,_0x5afca3);}['_recalculate'](_0x7c7691,_0xd7dc73){0x0===this[_0x1fdb('0x2f')][_0x1fdb('0x2e')]&&setTimeout(()=>{for(const {sidebarItemView:_0xb2b2f3,changedProp:_0x1898eb}of this[_0x1fdb('0x2f')])_0x1fdb('0x3e')===_0x1898eb?this['_alignForTopChange'](_0xb2b2f3):this[_0x1fdb('0x4')](_0xb2b2f3);this[_0x1fdb('0x2f')]=[];},0xa),this['_recalculateBuffer'][_0x1fdb('0x23')]({'sidebarItemView':_0x7c7691,'changedProp':_0xd7dc73});}['getSidebarItemView'](_0x78c40){return this[_0x1fdb('0x3d')][_0x1fdb('0x42')](_0x78c40);}['destroy'](){this[_0x1fdb('0x20')]['destroy']();}[_0x1fdb('0xe')](_0x428426){const _0x2e3c89=this['getSidebarItemView'](_0x428426);this[_0x1fdb('0x3')](_0x2e3c89),this[_0x1fdb('0x3')](_0x428426['view']),_0x2e3c89[_0x1fdb('0x38')](),this[_0x1fdb('0x3d')][_0x1fdb('0x37')](_0x428426),this['_sidebarItemViewToAnnotation']['delete'](_0x2e3c89);}[_0x1fdb('0x1a')](){const _0x3b9883=new _0x1f8007(this[_0x1fdb('0x1b')][_0x1fdb('0x3f')]);return _0x3b9883['render'](),this['on'](_0x1fdb('0x7'),(_0x5d3adf,_0x3e561d,_0x5bfc2d,_0x30d65e)=>{_0x30d65e&&_0x3b9883['unbind'](_0x1fdb('0x41')),_0x5bfc2d?_0x3b9883[_0x1fdb('0x13')](_0x1fdb('0x41'))['to'](_0x5bfc2d,_0x1fdb('0x18')):_0x3b9883[_0x1fdb('0x41')]=null;}),_0x3b9883;}[_0x1fdb('0x15')](){this[_0x1fdb('0x8')]=this[_0x1fdb('0x2d')](this[_0x1fdb('0x35')][_0x1fdb('0x14')]);}[_0x1fdb('0x16')](_0x27b0a8){const _0x2e1b6e=this[_0x1fdb('0x21')][_0x1fdb('0x42')](_0x27b0a8),_0x3b6e95=this[_0x1fdb('0x35')][_0x1fdb('0x42')](this['_annotations'][_0x1fdb('0x28')](_0x2e1b6e)-0x1);return _0x3b6e95&&this[_0x1fdb('0x2d')](_0x3b6e95);}[_0x1fdb('0x2')](_0x24ec3f){const _0x43ae06=this[_0x1fdb('0x21')][_0x1fdb('0x42')](_0x24ec3f),_0x34cc38=this['_annotations'][_0x1fdb('0x42')](this['_annotations'][_0x1fdb('0x28')](_0x43ae06)+0x1);return _0x34cc38&&this[_0x1fdb('0x2d')](_0x34cc38);}[_0x1fdb('0x24')](_0x4debe6,_0x29261a){_0x4debe6[_0x1fdb('0x45')]();const _0x2ab127=C(_0x29261a[_0x1fdb('0x18')]+this[_0x1fdb('0x33')],_0x4debe6[_0x1fdb('0x3e')]);return!!_0x2ab127&&(this[_0x1fdb('0x2a')](_0x29261a,_0x29261a['top']-_0x2ab127),!0x0);}[_0x1fdb('0x11')](_0x40e18e,_0x4d7569){_0x40e18e[_0x1fdb('0x45')]();const _0x367aad=C(_0x40e18e[_0x1fdb('0x18')]+this[_0x1fdb('0x33')],_0x4d7569[_0x1fdb('0x3e')]);return!!_0x367aad&&(this['_setItemTop'](_0x4d7569,_0x4d7569['top']+_0x367aad,!0x1),!0x0);}[_0x1fdb('0x9')](_0xa93c39){const _0x202692=this[_0x1fdb('0x21')][_0x1fdb('0x42')](_0xa93c39);if(!_0x202692||!_0x202692['target'])return;const _0x12ce37=this[_0x1fdb('0x31')](_0x202692,_0x202692[_0x1fdb('0x26')]);this[_0x1fdb('0x2a')](_0xa93c39,_0x12ce37);}['_getTargetTop'](_0x223105,_0x3bd144){if(null===_0x3bd144)return 0x0;if(_0x223105[_0x1fdb('0x1c')]instanceof _0x32c599)return _0x3bd144['top'];{const _0x342966=new _0x32c599(this[_0x1fdb('0x20')][_0x1fdb('0xb')])['top'];return _0x3bd144['top']-_0x342966;}}['_setItemTop'](_0x2f9e07,_0x155913,_0x1a283b=this[_0x1fdb('0x1b')][_0x1fdb('0x44')][_0x1fdb('0x42')](_0x1fdb('0x0'))){_0x1a283b&&(_0x155913=Math['max'](_0x155913,this[_0x1fdb('0x19')](_0x2f9e07))),_0x2f9e07['top']=_0x155913;}[_0x1fdb('0x19')](_0x4a9945){let _0x1d1f65=this[_0x1fdb('0x16')](_0x4a9945),_0x218c0b=0x0;for(;_0x1d1f65;)_0x1d1f65[_0x1fdb('0x45')](),_0x218c0b+=this['_spaceBetweenItems']+_0x1d1f65[_0x1fdb('0x10')],_0x1d1f65=this[_0x1fdb('0x16')](_0x1d1f65);return _0x218c0b;}}function C(_0x475001,_0x31597a){return Math[_0x1fdb('0x3c')](_0x475001-_0x31597a,0x0);}function p(_0x57f247){return null!==_0x57f247&&'object'==typeof _0x57f247&&0x1===_0x57f247['nodeType'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5ed8=['isDirty','set','bind','ck-annotation-counter__badge--edit-mode','counterView','ck-annotation-counter__badge','bindTemplate','icon','extendTemplate','span','ck-annotation-counter__badge--','number','_badge','annotationType','add','children'];(function(_0x1c87e1,_0x5ed881){const _0x304e3b=function(_0x3ef11f){while(--_0x3ef11f){_0x1c87e1['push'](_0x1c87e1['shift']());}};_0x304e3b(++_0x5ed881);}(_0x5ed8,0xdb));const _0x304e=function(_0x1c87e1,_0x5ed881){_0x1c87e1=_0x1c87e1-0x0;let _0x304e3b=_0x5ed8[_0x1c87e1];return _0x304e3b;};import{ButtonView as _0x4f23b1,View as _0x4f182c}from'ckeditor5/src/ui';import _0x28b3c8 from'../../../theme/icons/add-comment.svg';export default class B extends _0x4f23b1{constructor(_0x36811e){super(_0x36811e);const _0x57c9cf=this[_0x304e('0xb')];this[_0x304e('0x6')](_0x304e('0x5'),!0x1),this[_0x304e('0x6')](_0x304e('0x0'),0x0),this[_0x304e('0x7')](_0x304e('0x1'))['to'](this,_0x304e('0x5'),this,_0x304e('0x0'),(_0x3486ac,_0x5eb5e5)=>_0x3486ac?'...':_0x5eb5e5),this[_0x304e('0x6')]('annotationType',''),this[_0x304e('0xc')]=_0x28b3c8,this[_0x304e('0xd')]({'attributes':{'class':['ck-annotation-counter']}}),this[_0x304e('0x9')]=new _0x4f182c(),this[_0x304e('0x9')]['setTemplate']({'tag':_0x304e('0xe'),'attributes':{'class':[_0x304e('0xa'),_0x57c9cf['to'](_0x304e('0x2'),_0x2fdfcf=>_0x304e('0xf')+_0x2fdfcf),_0x57c9cf['if'](_0x304e('0x5'),_0x304e('0x8'))]},'children':[{'text':_0x57c9cf['to'](_0x304e('0x1'))}]}),this[_0x304e('0x4')][_0x304e('0x3')](this[_0x304e('0x9')]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x422a=['bindTemplate','focus','mainView','targetRect','div','setTemplate','fire','_updateHeight','focusTracker','element','detach','content','_mutationObserver','ck-annotation-wrapper','height','clear','isDirty','length','clientHeight','listenTo','add','keystrokes','set','Esc','isActive','ck-annotation-wrapper--active','type','destroy','render'];(function(_0x502726,_0x422ab8){const _0x4df9a0=function(_0x3942ff){while(--_0x3942ff){_0x502726['push'](_0x502726['shift']());}};_0x4df9a0(++_0x422ab8);}(_0x422a,0x1b5));const _0x4df9=function(_0x502726,_0x422ab8){_0x502726=_0x502726-0x0;let _0x4df9a0=_0x422a[_0x502726];return _0x4df9a0;};import{View as _0x1ea540}from'ckeditor5/src/ui';import{FocusTracker as _0x41789c,KeystrokeHandler as _0x24de1c,uid as _0x244c6e}from'ckeditor5/src/utils';import _0x2416e0 from'../../utils/createmutationobserver';import'../../../theme/annotation.css';export default class v extends _0x1ea540{constructor(_0x19a3ab,_0x43c77a){super(_0x19a3ab),this['id']=_0x244c6e(),this['focusTracker']=new _0x41789c(),this[_0x4df9('0x13')]=new _0x24de1c(),this[_0x4df9('0x13')][_0x4df9('0x14')](_0x4df9('0x15'),(_0x1a5501,_0x1fb0a1)=>this[_0x4df9('0x4')](_0x4df9('0x15'),_0x1fb0a1)),this['set'](_0x4df9('0x1'),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x4df9('0x14')](_0x4df9('0xc'),0x0),this[_0x4df9('0x14')](_0x4df9('0x16'),!0x1),this[_0x4df9('0x14')](_0x4df9('0xe'),!0x1),this[_0x4df9('0x14')](_0x4df9('0xf'),0x0),this[_0x4df9('0x14')](_0x4df9('0x18'),''),this[_0x4df9('0xa')]=_0x2416e0(()=>this['_updateHeight']()),this[_0x4df9('0x9')]=this['createCollection'](),this['content'][_0x4df9('0x12')](_0x43c77a),this[_0x4df9('0x0')]=_0x43c77a;const _0x5bfb6d=this[_0x4df9('0x1b')];this[_0x4df9('0x3')]({'tag':_0x4df9('0x2'),'attributes':{'class':['ck',_0x4df9('0xb'),'ck-rounded-corners',_0x5bfb6d['if'](_0x4df9('0x16'),_0x4df9('0x17'))],'tabindex':-0x1},'children':this[_0x4df9('0x9')]});}[_0x4df9('0x1a')](){super['render'](),this['focusTracker']['add'](this['element']),this[_0x4df9('0x13')][_0x4df9('0x11')](this[_0x4df9('0x7')]),this['_mutationObserver']['attach'](this[_0x4df9('0x7')]);}[_0x4df9('0x19')](){this[_0x4df9('0x9')][_0x4df9('0xd')](),this[_0x4df9('0x13')][_0x4df9('0x19')](),this[_0x4df9('0x6')][_0x4df9('0x19')](),this[_0x4df9('0xa')][_0x4df9('0x8')](),super['destroy']();}[_0x4df9('0x1c')](){this[_0x4df9('0x7')]['focus']();}[_0x4df9('0x5')](){const _0x4b3700=this[_0x4df9('0x7')][_0x4df9('0x10')];_0x4b3700&&(this['height']=_0x4b3700);}}
|