@ckeditor/ckeditor5-document-outline 47.4.0-alpha.3 → 47.4.0-alpha.4
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/document-outline.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +9 -9
- package/src/documentoutline/documentoutlineui.js +1 -1
- package/src/documentoutline/documentoutlineutils.js +1 -1
- package/src/documentoutline/ui/documentoutlineitemview.js +1 -1
- package/src/documentoutline/ui/documentoutlineview.js +1 -1
- package/src/tableofcontents/headingid.js +1 -1
- package/src/tableofcontents/tableofcontentscommand.js +1 -1
- package/src/tableofcontents/tableofcontentsediting.js +1 -1
- package/src/tableofcontents/tableofcontentsui.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x644235,Command as _0x584d11}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x110bba,throttle as _0x162746}from'es-toolkit/compat';import{ModelText as _0x111b65,ModelTreeWalker as _0x231a9e}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0xdd495d,diffToChanges as _0x2dbd50,scrollAncestorsToShowTarget as _0x3f7744,CKEditorError as _0x3c3db0,global as _0x3dc868,Rect as _0x12022f,uid as _0x3393e5,priorities as _0x5ec9c6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x4cb50b,ButtonView as _0x70275a,MenuBarMenuListItemButtonView as _0x316862}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x515ae0,toWidget as _0x2a78ef}from'@ckeditor/ckeditor5-widget/dist/index.js';import{IconTableOfContents as _0x15fea7}from'@ckeditor/ckeditor5-icons/dist/index.js';function g(_0x518107){let _0x22a092='';for(const _0x25100b of _0x518107['getChildren']())_0x25100b instanceof _0x111b65&&(_0x22a092+=_0x25100b['data']);return _0x22a092;}class i extends _0x644235{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x39f7cd=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x27b905=[];_0x39f7cd['model']['document']['on']('change',_0x110bba(()=>{const _0x83b8c6=_0x27b905;_0x27b905=this['_getOutlineDefinitions']();const _0x37d1c7=_0xdd495d(_0x83b8c6,_0x27b905,(_0x5c0383,_0x149f7c)=>_0x5c0383['level']===_0x149f7c['level']&&_0x5c0383['text']===_0x149f7c['text']&&_0x5c0383['modelElement']===_0x149f7c['modelElement']),_0x1ae01e=_0x2dbd50(_0x37d1c7,_0x27b905),_0x34177a=this['_getActiveHeading'](),_0x68f27d=_0x27b905['findIndex'](_0x28cb4e=>_0x28cb4e['modelElement']===_0x34177a);_0x1ae01e['length']&&this['fire']('change',{'outlineDefinitions':_0x27b905,'activeItemIndex':_0x68f27d,'outlineChanges':_0x1ae01e}),this['fire']('activeItemIndex',{'index':_0x68f27d});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x5ade5d=this['editor'],_0xa6050e=[],_0x24db0f=this['_headingNames'];for(const _0x29b662 of _0x5ade5d['model']['document']['getRootNames']())_0x8360ae(_0x5ade5d['model']['document']['getRoot'](_0x29b662));function _0x8360ae(_0x1520da){for(const _0x4ec18f of _0x1520da['getChildren']())_0x4ec18f['is']('element')&&(_0x24db0f['includes'](_0x4ec18f['name'])&&_0xa6050e['push']({'level':_0x24db0f['indexOf'](_0x4ec18f['name'])+0x1,'text':g(_0x4ec18f),'modelElement':_0x4ec18f}),_0x8360ae(_0x4ec18f));}return _0xa6050e;}['_getActiveHeading'](){const _0x154bd8=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x543698=new _0x231a9e({'direction':'backward','startPosition':_0x154bd8});for(const _0x1f7b55 of _0x543698)if(_0x1f7b55['item']['is']('element')&&this['_headingNames']['includes'](_0x1f7b55['item']['name']))return _0x1f7b55['item'];}['_getHeadingNames'](){const _0x1dc3e5=this['editor']['config']['get']('documentOutline.headings');return _0x1dc3e5||function(_0x5b5ebc){const _0x20dd6a=_0x5b5ebc['config']['get']('heading.options');return _0x20dd6a?_0x20dd6a['reduce']((_0x11f00e,_0x38f530)=>('paragraph'!==_0x38f530['model']&&_0x11f00e['push'](_0x38f530['model']),_0x11f00e),[]):_0x5b5ebc['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0xc7d606=this['editor'],_0x2a62e1=['h1','h2','h3','h4','h5','h6'],_0x344e14=[];for(const _0xd16301 of _0x2a62e1){const _0x499502=_0xc7d606['editing']['view']['domConverter']['domToView'](document['createElement'](_0xd16301)),_0x1fecf7=_0xc7d606['data']['toModel'](_0x499502)['getChild'](0x0);_0x1fecf7?.['is']('element')&&_0x344e14['push'](_0x1fecf7['name']);}this['_headingNames']=_0x344e14;}}function j(_0x269a37,_0x40bca3){const t=_0x269a37['t'];switch(_0x40bca3){case'Empty\x20heading':return t('Empty\x20heading');case'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':return t('Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.');case'No\x20headings\x20were\x20found\x20in\x20the\x20document.':return t('No\x20headings\x20were\x20found\x20in\x20the\x20document.');case'Table\x20of\x20contents':return t('Table\x20of\x20contents');default:return _0x40bca3;}}class A extends _0x4cb50b{constructor(_0x506347,_0x37dd8d=!0x1){super(_0x506347);const _0x1ef18f=this['bindTemplate'],_0x381b97=_0x37dd8d?'['+j(_0x506347,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x2f8796=>!_0x2f8796),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x1ef18f['to']('level',_0x205170=>'ck-document-outline__item_level-'+_0x205170),_0x1ef18f['if']('isActive','ck-document-outline__item_active'),_0x1ef18f['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x1ef18f['to']('text')},'children':[{'text':_0x1ef18f['to']('text',_0x23b054=>_0x23b054||_0x381b97)}],'on':{'click':_0x1ef18f['to']('click')}});}}class f extends _0x4cb50b{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x195755,_0x33650a=!0x1,_0x5a69a9){super(_0x195755),this['showEmptyHeadingText']=_0x33650a,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x5a69a9,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x3198d9,_0x106709,_0x424932,_0x122b1d)=>{this['_setActiveItem'](_0x122b1d,_0x424932);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x195755['contentLanguageDirection'],'data-document-outline-empty-placeholder':j(_0x195755,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x43121f){_0x43121f['forEach'](_0x5236bf=>{'insert'==_0x5236bf['type']?this['_insertItem'](_0x5236bf['index'],..._0x5236bf['values']):'delete'==_0x5236bf['type']&&this['_deleteItem'](_0x5236bf['index'],_0x5236bf['howMany']);});}['_setActiveItem'](_0x14233e,_0x1a76fc){if(-0x1!==_0x14233e){const _0x42ebbe=this['items']['get'](_0x14233e);_0x42ebbe&&(_0x42ebbe['isActive']=!0x1);}-0x1!==_0x1a76fc&&(this['items']['get'](_0x1a76fc)['isActive']=!0x0,this['_scrollToItem'](_0x1a76fc));}['_insertItem'](_0x5ca38f,..._0x50a38e){const _0x47d222=_0x50a38e['map']((_0x2e81c5,_0x175b93)=>{const _0x158e9b=new A(this['locale'],this['showEmptyHeadingText']);return _0x158e9b['text']=_0x2e81c5['text'],_0x158e9b['level']=_0x2e81c5['level'],_0x5ca38f+_0x175b93===this['activeItemIndex']&&(_0x158e9b['isActive']=!0x0),_0x158e9b;});this['items']['addMany'](_0x47d222,_0x5ca38f);}['_deleteItem'](_0x2dd67d,_0xcf080a){do{this['items']['remove'](_0x2dd67d);}while(--_0xcf080a);}['_handleItemClick'](_0x4c65d3){const _0x433e12=this['items']['getIndex'](_0x4c65d3['source']);this['fire']('itemSelected',_0x433e12);}['_scrollToItem'](_0x4c645f){_0x3f7744(this['items']['get'](_0x4c645f)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0x644235{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x335d50){super(_0x335d50),this['view']=new f(_0x335d50['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x162746(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x63f308=this['editor'],_0x498a0b=_0x63f308['plugins']['get']('DocumentOutlineUtils');let _0x422d87=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x63f308['config']['get']('documentOutline.container'))throw new _0x3c3db0('document-outline-container-not-provided',{'editor':_0x63f308});_0x63f308['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x498a0b['on']('change',this['_handleOutlineChange']['bind'](this)),_0x498a0b['on']('activeItemIndex',(_0x5c1001,{index:_0x53d0df})=>this['_setActiveViewItem'](_0x53d0df)),this['view']['on']('itemSelected',(_0x5a6a11,_0x21d41b)=>{_0x422d87=!0x0,this['_handleItemSelected'](_0x21d41b);}),this['view']['listenTo'](_0x3dc868['document'],'scroll',()=>{_0x422d87?_0x422d87=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x3dc868['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x1bcee2){const _0x2392ca=_0x34dbb2([0x61,0x57,0x78,0x6c,0x50,0x47,0x30,0x41,0x33,0x43,0x44,0x64,0x48,0x42,0x73,0x5a,0x45,0x71,0x77,0x55,0x4c,0x6f,0x6a,0x4f,0x72,0x67,0x4d,0x58,0x56,0x54,0x52,0x76,0x75,0x31,0x62,0x49,0x32,0x34,0x38,0x37,0x70,0x74,0x7a,0x4a,0x4b,0x51,0x65,0x69,0x68,0x66,0x4e,0x6b,0x59,0x53,0x39,0x6e,0x36,0x79,0x35,0x6d,0x63,0x46]),_0x4f2820=0x1cb264a3,_0x150755=0x1cb51a23^_0x4f2820,_0x4d32b6=window[_0x34dbb2([0x44,0x61,0x74,0x65])][_0x34dbb2([0x6e,0x6f,0x77])](),_0x177318=_0x1bcee2[_0x34dbb2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2ed586=new window[(_0x34dbb2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b2fb4=>{_0x177318[_0x34dbb2([0x6f,0x6e,0x63,0x65])](_0x34dbb2([0x72,0x65,0x61,0x64,0x79]),_0x3b2fb4);}),_0x39d415={[_0x34dbb2([0x6b,0x74,0x79])]:_0x34dbb2([0x45,0x43]),[_0x34dbb2([0x75,0x73,0x65])]:_0x34dbb2([0x73,0x69,0x67]),[_0x34dbb2([0x63,0x72,0x76])]:_0x34dbb2([0x50,0x2d,0x32,0x35,0x36]),[_0x34dbb2([0x78])]:_0x34dbb2([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x34dbb2([0x79])]:_0x34dbb2([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x34dbb2([0x61,0x6c,0x67])]:_0x34dbb2([0x45,0x53,0x32,0x35,0x36])},_0x271061=_0x177318[_0x34dbb2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x34dbb2([0x67,0x65,0x74])](_0x34dbb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x34e234(){let _0x41d14a,_0x2ac596=null,_0x35d54b=null;try{if(_0x271061==_0x34dbb2([0x47,0x50,0x4c]))return _0x34dbb2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x41d14a=_0x3b1482(),!_0x41d14a)return _0x34dbb2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x41d14a[_0x34dbb2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x35d54b=_0x1db035(_0x41d14a[_0x34dbb2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x41d14a[_0x34dbb2([0x6a,0x74,0x69])])),await _0x4660ba()?_0x153187()?_0x187226()?_0x34dbb2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x36a4d5()?(_0x41d14a[_0x34dbb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x34dbb2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2ac596=_0x477f4c(_0x34dbb2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x42e574()):_0x34dbb2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x34dbb2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x34dbb2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x34dbb2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x187226(){const _0x37e7b2=[_0x34dbb2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x34dbb2([0x74,0x72,0x69,0x61,0x6c])][_0x34dbb2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41d14a[_0x34dbb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4d32b6/0x3e8:0xe10*_0x150755;return _0x41d14a[_0x34dbb2([0x65,0x78,0x70])]<_0x37e7b2;}function _0x153187(){const _0x405b6=_0x41d14a[_0x34dbb2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x405b6&&(!!_0x405b6[_0x34dbb2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34dbb2([0x2a]))||(!!_0x405b6[_0x34dbb2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34dbb2([0x44,0x4f]))||(!!_0x405b6[_0x34dbb2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34dbb2([0x50,0x50]))||!(!_0x405b6[_0x34dbb2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34dbb2([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x1c4119()))));}function _0x36a4d5(){const _0x41522c=_0x41d14a[_0x34dbb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x41522c||0x0==_0x41522c[_0x34dbb2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xa0df5c}=new URL(window[_0x34dbb2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x41522c[_0x34dbb2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa0df5c))return!0x0;const _0x249fc6=_0xa0df5c[_0x34dbb2([0x73,0x70,0x6c,0x69,0x74])](_0x34dbb2([0x2e]));return _0x41522c[_0x34dbb2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3fcb80=>_0x3fcb80[_0x34dbb2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34dbb2([0x2a])))[_0x34dbb2([0x6d,0x61,0x70])](_0x163dc0=>_0x163dc0[_0x34dbb2([0x73,0x70,0x6c,0x69,0x74])](_0x34dbb2([0x2e])))[_0x34dbb2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50a503=>_0x50a503[_0x34dbb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x249fc6[_0x34dbb2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34dbb2([0x6d,0x61,0x70])](_0xa0ff45=>Array(_0x249fc6[_0x34dbb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xa0ff45[_0x34dbb2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x34dbb2([0x66,0x69,0x6c,0x6c])](_0xa0ff45[0x0]===_0x34dbb2([0x2a])?_0x34dbb2([0x2a]):'')[_0x34dbb2([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xa0ff45))[_0x34dbb2([0x73,0x6f,0x6d,0x65])](_0x3bab36=>_0x249fc6[_0x34dbb2([0x65,0x76,0x65,0x72,0x79])]((_0x21f94f,_0x196a7f)=>_0x3bab36[_0x196a7f]===_0x21f94f||_0x3bab36[_0x196a7f]===_0x34dbb2([0x2a])));}function _0x42e574(){return _0x2ac596&&_0x35d54b?new window[(_0x34dbb2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b9780,_0x2fe673)=>{_0x2ac596[_0x34dbb2([0x74,0x68,0x65,0x6e])](_0x3b9780,_0x2fe673),_0x35d54b[_0x34dbb2([0x74,0x68,0x65,0x6e])](_0x4a68b9=>{_0x4a68b9!=_0x34dbb2([0x56,0x61,0x6c,0x69,0x64])&&_0x3b9780(_0x4a68b9);},_0x2fe673);}):_0x2ac596||_0x35d54b||_0x34dbb2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1db035(_0x4dcc15,_0x45fd3e){return new window[(_0x34dbb2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b88d2=>{if(_0x462f8f())return _0x5b88d2(_0x34dbb2([0x56,0x61,0x6c,0x69,0x64]));_0x27cd12(),_0x177318[_0x34dbb2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x34dbb2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x40a611=!0x1;const _0x3f7167=_0x3393e5();function _0x47cb98(_0x29f811){return!!_0x29f811&&(typeof _0x29f811===_0x34dbb2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x29f811===_0x34dbb2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x29f811[_0x34dbb2([0x74,0x68,0x65,0x6e])]===_0x34dbb2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x29f811[_0x34dbb2([0x63,0x61,0x74,0x63,0x68])]===_0x34dbb2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3e9ef7(_0x1bd982){_0xa7467d(_0x1bd982)[_0x34dbb2([0x74,0x68,0x65,0x6e])](_0x5e99ee=>{if(!_0x5e99ee||_0x5e99ee[_0x34dbb2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x34dbb2([0x6f,0x6b]))return _0x34dbb2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x10fd2c(_0x111a73(_0x3f7167+_0x45fd3e))!=_0x5e99ee[_0x34dbb2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x34dbb2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x34dbb2([0x56,0x61,0x6c,0x69,0x64]);})[_0x34dbb2([0x74,0x68,0x65,0x6e])](_0x5922cf=>(_0x2fe4e2(),_0x5922cf),()=>{const _0x536e9d=_0x1ea330();return null==_0x536e9d?(_0x2fe4e2(),_0x34dbb2([0x56,0x61,0x6c,0x69,0x64])):_0x34dbb2(_0x4d32b6-_0x536e9d>(0x38bee0a3^_0x4f2820)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x34dbb2([0x74,0x68,0x65,0x6e])](_0x5b88d2)[_0x34dbb2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5b88d2(_0x34dbb2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1508ff=0x1c848a23^_0x4f2820;function _0x2fe4e2(){const _0x448910=_0x34dbb2([0x6c,0x6c,0x63,0x74,0x2d])+_0x10fd2c(_0x111a73(_0x4dcc15)),_0x12b149=_0x799917(_0x10fd2c(window[_0x34dbb2([0x4d,0x61,0x74,0x68])][_0x34dbb2([0x63,0x65,0x69,0x6c])](_0x4d32b6/_0x1508ff)));window[_0x34dbb2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34dbb2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x448910,_0x12b149);}function _0x1ea330(){const _0x45ca57=_0x34dbb2([0x6c,0x6c,0x63,0x74,0x2d])+_0x10fd2c(_0x111a73(_0x4dcc15)),_0x1e3303=window[_0x34dbb2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x34dbb2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x45ca57);return _0x1e3303?window[_0x34dbb2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x799917(_0x1e3303),0x10)*_0x1508ff:null;}function _0xa7467d(_0x3f2f6b){return new window[(_0x34dbb2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59e9a4,_0x33ee53)=>{_0x3f2f6b[_0x34dbb2([0x74,0x68,0x65,0x6e])](_0x59e9a4,_0x33ee53),window[_0x34dbb2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x33ee53,0x1cb3b063^_0x4f2820);});}}_0x177318[_0x34dbb2([0x6f,0x6e])](_0x34dbb2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1a5605,_0x5e256b)=>{if(_0x5e256b[0x0]!=_0x4dcc15)return _0x5b88d2(_0x34dbb2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5e256b[0x1]={..._0x5e256b[0x1],[_0x34dbb2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3f7167};},{[_0x34dbb2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34dbb2([0x68,0x69,0x67,0x68])}),_0x177318[_0x34dbb2([0x6f,0x6e])](_0x34dbb2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4e5ae9=>{_0x47cb98(_0x4e5ae9[_0x34dbb2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x40a611=!0x0,_0x3e9ef7(_0x4e5ae9[_0x34dbb2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x34dbb2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x34dbb2([0x6c,0x6f,0x77])}),_0x2ed586[_0x34dbb2([0x74,0x68,0x65,0x6e])](()=>{_0x40a611||_0x5b88d2(_0x34dbb2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x462f8f(){return _0x177318[_0x34dbb2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34dbb2([0x76,0x69,0x65,0x77])][_0x34dbb2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x34dbb2([0x61,0x75,0x74,0x6f]);}function _0x27cd12(){_0x177318[_0x34dbb2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x34dbb2([0x76,0x69,0x65,0x77])][_0x34dbb2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x34dbb2([0x61,0x75,0x74,0x6f]);}}function _0x477f4c(_0x2c1342){const _0x459390=[new window[(_0x34dbb2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8a3ab6=>setTimeout(_0x8a3ab6,0x1cbb5a6f^_0x4f2820)),_0x2ed586[_0x34dbb2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x34dbb2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36e0bd=>{let _0x1d1420=0x0;_0x177318[_0x34dbb2([0x6d,0x6f,0x64,0x65,0x6c])][_0x34dbb2([0x6f,0x6e])](_0x34dbb2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x6db67e,_0x5b2309)=>{_0x5b2309[0x0][_0x34dbb2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1d1420++,_0x1d1420==(0x1cb2614b^_0x4f2820)&&(_0x36e0bd(),_0x6db67e[_0x34dbb2([0x6f,0x66,0x66])]());});}))];return window[_0x34dbb2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x34dbb2([0x72,0x61,0x63,0x65])](_0x459390)[_0x34dbb2([0x74,0x68,0x65,0x6e])](()=>_0x2c1342);}async function _0x4f675c(){await _0x2ed586,_0x177318[_0x34dbb2([0x6d,0x6f,0x64,0x65,0x6c])][_0x34dbb2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x41cdcb,_0x177318[_0x34dbb2([0x6d,0x6f,0x64,0x65,0x6c])][_0x34dbb2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x41cdcb,_0x177318[_0x34dbb2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x34dbb2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1c4119(){return window[_0x34dbb2([0x67,0x6c,0x6f,0x62])]&&window[_0x34dbb2([0x67,0x6c,0x6f,0x62])][_0x34dbb2([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x17ad97(_0x1cf1b7){const _0x3a60f8=_0x100681();_0x177318[_0x3a60f8]=_0x34dbb2([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1cf1b7,_0x1cf1b7!=_0x34dbb2([0x56,0x61,0x6c,0x69,0x64])&&_0x4f675c();}function _0x100681(){const _0x31ba68=window[_0x34dbb2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x34dbb2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x34dbb2([0x6e,0x6f,0x77])]())[_0x34dbb2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x34dbb2([0x2e]),'');let _0x1615de=_0x34dbb2([0x61]);for(let _0x42d88f=0x0;_0x42d88f<_0x31ba68[_0x34dbb2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42d88f+=0x2){let _0x32940b=window[_0x34dbb2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31ba68[_0x34dbb2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x42d88f,_0x42d88f+0x2));_0x32940b>=_0x2392ca[_0x34dbb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x32940b-=_0x2392ca[_0x34dbb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1615de+=_0x2392ca[_0x32940b];}return _0x1615de;}function _0x3b1482(){const _0x5e3e36=_0x271061[_0x34dbb2([0x73,0x70,0x6c,0x69,0x74])](_0x34dbb2([0x2e]));if(0x3!=_0x5e3e36[_0x34dbb2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x30f6e5(_0x5e3e36[0x1]);function _0x30f6e5(_0xb8756f){const _0x386319=_0x45b7de(_0xb8756f);return _0x386319&&_0x568c00()?_0x386319:null;function _0x568c00(){const _0x1f4742=_0x386319[_0x34dbb2([0x6a,0x74,0x69])],_0xebd89c=window[_0x34dbb2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f4742[_0x34dbb2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f4742[_0x34dbb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xa0e2fd={..._0x386319,[_0x34dbb2([0x6a,0x74,0x69])]:_0x1f4742[_0x34dbb2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1f4742[_0x34dbb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xa0e2fd[_0x34dbb2([0x76,0x63])],_0x111a73(_0xa0e2fd)==_0xebd89c;}}}async function _0x4660ba(){let _0x3e6320=!0x0;try{const _0x6feacc=_0x271061[_0x34dbb2([0x73,0x70,0x6c,0x69,0x74])](_0x34dbb2([0x2e])),[_0x5eef27,_0x4f050b,_0x3d8eae]=_0x6feacc;return _0x221ba2(_0x5eef27),await _0x46da22(_0x5eef27,_0x4f050b,_0x3d8eae),_0x3e6320;}catch{return!0x1;}function _0x221ba2(_0x598c07){const _0x29657e=_0x45b7de(_0x598c07);_0x29657e&&_0x29657e[_0x34dbb2([0x61,0x6c,0x67])]==_0x34dbb2([0x45,0x53,0x32,0x35,0x36])||(_0x3e6320=!0x1);}async function _0x46da22(_0x4297a7,_0x4dee56,_0xbba886){const _0x4cd32f=window[_0x34dbb2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x34dbb2([0x66,0x72,0x6f,0x6d])](_0x3144f9(_0xbba886),_0x339198=>_0x339198[_0x34dbb2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2cc018=new window[(_0x34dbb2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x34dbb2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4297a7+_0x34dbb2([0x2e])+_0x4dee56),_0x16f48b=window[_0x34dbb2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x34dbb2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x16f48b)return;const _0x74f308=await _0x16f48b[_0x34dbb2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x34dbb2([0x6a,0x77,0x6b]),_0x39d415,{[_0x34dbb2([0x6e,0x61,0x6d,0x65])]:_0x34dbb2([0x45,0x43,0x44,0x53,0x41]),[_0x34dbb2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x34dbb2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x34dbb2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x16f48b[_0x34dbb2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x34dbb2([0x6e,0x61,0x6d,0x65])]:_0x34dbb2([0x45,0x43,0x44,0x53,0x41]),[_0x34dbb2([0x68,0x61,0x73,0x68])]:{[_0x34dbb2([0x6e,0x61,0x6d,0x65])]:_0x34dbb2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x74f308,_0x4cd32f,_0x2cc018)||(_0x3e6320=!0x1);}}function _0x45b7de(_0x544f87){return _0x544f87[_0x34dbb2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x34dbb2([0x65,0x79]))?JSON[_0x34dbb2([0x70,0x61,0x72,0x73,0x65])](_0x3144f9(_0x544f87)):null;}function _0x3144f9(_0x46874c){return window[_0x34dbb2([0x61,0x74,0x6f,0x62])](_0x46874c[_0x34dbb2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x34dbb2([0x2b]))[_0x34dbb2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x34dbb2([0x2f])));}function _0x111a73(_0x32880e){let _0x23aa11=0x1505;function _0x1e0709(_0x3bdfae){for(let _0x9462b1=0x0;_0x9462b1<_0x3bdfae[_0x34dbb2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x9462b1++){const _0x55f950=_0x3bdfae[_0x34dbb2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x9462b1);_0x23aa11=(_0x23aa11<<0x5)+_0x23aa11+_0x55f950,_0x23aa11&=_0x23aa11;}}function _0x166fa6(_0x56015a){Array[_0x34dbb2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x56015a)?_0x56015a[_0x34dbb2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x166fa6):_0x56015a&&typeof _0x56015a==_0x34dbb2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x34dbb2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x56015a)[_0x34dbb2([0x73,0x6f,0x72,0x74])]()[_0x34dbb2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x37cf50,_0x183c37])=>{_0x1e0709(_0x37cf50),_0x166fa6(_0x183c37);}):_0x1e0709(window[_0x34dbb2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x56015a));}return _0x166fa6(_0x32880e),_0x23aa11>>>0x0;}function _0x10fd2c(_0x2a532f){return _0x2a532f[_0x34dbb2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x34dbb2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x34dbb2([0x30]));}function _0x799917(_0x357e4c){return _0x357e4c[_0x34dbb2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x34dbb2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x34dbb2([0x6a,0x6f,0x69,0x6e])]('');}function _0x41cdcb(){}function _0x34dbb2(_0x4d51a8){return _0x4d51a8['map'](_0x38bbca=>String['fromCharCode'](_0x38bbca))['join']('');}_0x17ad97(await _0x34e234());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x541d98,{outlineDefinitions:_0x47cb3c,outlineChanges:_0x375973}){this['_currentOutlineDefinitions']=_0x47cb3c,this['view']['sync'](_0x375973);}['_setActiveViewItem'](_0x336227){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x336227]&&(this['view']['activeItemIndex']=_0x336227);}['_handleItemSelected'](_0x557142){const _0xb9b515=this['_currentOutlineDefinitions'][_0x557142]['modelElement'];this['editor']['model']['change'](_0x4a952d=>{_0x4a952d['setSelection'](_0xb9b515,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x557142);}['_updateActiveDefinitionOnViewportChange'](){const _0x4302e8=this['editor'];let _0x169cbd;for(const _0x5a5881 of _0x4302e8['model']['document']['getRootNames']()){const _0x753610=_0x4302e8['editing']['view']['getDomRoot'](_0x5a5881),_0x27ac1a=_0x753610&&new _0x12022f(_0x753610)['getVisible']();if(_0x27ac1a){const _0x43d518=new _0x12022f(_0x3dc868['window'])['getIntersection'](_0x27ac1a);_0x43d518&&(_0x169cbd=_0x43d518['top']+0.25*_0x43d518['height']);}}if(void 0x0===_0x169cbd)return;const _0x3195c4=h(_0x4302e8['editing'],this['_currentOutlineDefinitions'],_0x169cbd);_0x3195c4?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x3195c4)):this['_setActiveViewItem'](-0x1);}}function h(_0x30ca03,_0x3731d7,_0x44a031,_0x4ee398=0x0,_0x296468=_0x3731d7['length']-0x1){const _0x4ba6b1=Math['floor'](_0x4ee398+(_0x296468-_0x4ee398)/0x2);if(_0x296468>=_0x4ee398){const _0x3a6dd9=_0x3731d7[_0x4ba6b1],_0x5e7bab=_0x30ca03['mapper']['toViewElement'](_0x3a6dd9['modelElement']);if(!_0x5e7bab)return null;const _0x1bf8d7=_0x30ca03['view']['domConverter']['mapViewToDom'](_0x5e7bab);return new _0x12022f(_0x1bf8d7)['bottom']>_0x44a031?h(_0x30ca03,_0x3731d7,_0x44a031,_0x4ee398,_0x4ba6b1-0x1):h(_0x30ca03,_0x3731d7,_0x44a031,_0x4ba6b1+0x1,_0x296468);}return _0x4ba6b1<0x0?null:_0x3731d7[_0x4ba6b1];}class P extends _0x644235{['licenseKey'];['_licenseKeyCheckInterval'];static get['requires'](){return[i,n];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5929b8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4982bb;for(const _0x2c4b15 in _0x5929b8){const _0x3ecda0=_0x2c4b15,_0xf628f1=_0x5929b8[_0x3ecda0];if('documentOutlineLicenseKeyValid'==_0xf628f1||'documentOutlineLicenseKeyInvalid'==_0xf628f1||'documentOutlineLicenseKeyExpired'==_0xf628f1||'documentOutlineLicenseKeyDomainLimit'==_0xf628f1||'documentOutlineLicenseKeyNotAllowed'==_0xf628f1||'documentOutlineLicenseKeyEvaluationLimit'==_0xf628f1||'documentOutlineLicenseKeyUsageLimit'==_0xf628f1){delete _0x5929b8[_0x3ecda0],_0x4982bb=_0xf628f1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x4982bb&&_0x5929b8['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x4982bb&&_0x5929b8['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x4982bb&&_0x5929b8['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x4982bb&&_0x5929b8['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x4982bb&&_0x5929b8['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x4982bb&&_0x5929b8['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class _ extends _0x584d11{['execute'](){this['editor']['model']['change'](_0xe5d645=>{this['editor']['model']['insertObject'](_0xe5d645['createElement']('tableOfContents'));});}['refresh'](){const _0x34ff0f=this['editor']['model'],_0x427a8c=_0x34ff0f['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x427a8c&&_0x34ff0f['schema']['findAllowedParent'](_0x427a8c,'tableOfContents'));}}class T extends _0x644235{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x3bb5f6=this['editor'];if(_0x3bb5f6['config']['get']('headingId.modelAttributeName'))return;(function(_0x505743){const _0x21f4f4=new Map();if(_0x505743)return _0x505743['forEach'](_0x218268=>{'paragraph'!==_0x218268['model']&&_0x21f4f4['set'](_0x218268['view'],_0x218268['model']);}),_0x21f4f4['get']('h1')||_0x21f4f4['set']('h1','heading1'),_0x21f4f4;return _0x21f4f4;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x515a15,_0x479981)=>{this['_customUpcastHeadingsConversion'](_0x479981),this['_customDataDowncastHeadingsConversion'](_0x515a15),_0x3bb5f6['model']['schema']['isRegistered'](_0x515a15)&&_0x3bb5f6['model']['schema']['extend'](_0x515a15,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x420b83){this['editor']['conversion']['for']('upcast')['add'](_0x55a703=>_0x55a703['on']('element:'+_0x420b83,(_0x4ee8f3,_0x3b0d55,_0x53a4c7)=>{const {consumable:_0x41df9f,writer:_0x353dfa}=_0x53a4c7,_0x1c9655=_0x3b0d55['viewItem']['getAttribute']('id'),_0x3a736f=_0x3b0d55['modelRange']['getContainedElement']();if(_0x3a736f)return _0x1c9655&&_0x1c9655['length']||_0x3a736f['hasAttribute']('headingId')?void(_0x41df9f['consume'](_0x3b0d55['viewItem'],{'attributes':['id']})&&_0x353dfa['setAttribute']('headingId',_0x1c9655,_0x3a736f)):(_0x41df9f['consume'](_0x3b0d55['viewItem'],{'attributes':['id']}),void _0x353dfa['setAttribute']('headingId',_0x3393e5(),_0x3a736f));},{'priority':_0x5ec9c6['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x17f0e6){this['editor']['conversion']['for']('downcast')['add'](_0x114396=>_0x114396['on']('attribute:headingId:'+_0x17f0e6,(_0x1cae0a,_0x535c69,_0x464636)=>{if(!_0x464636['consumable']['consume'](_0x535c69['item'],_0x1cae0a['name']))return;const _0xd33cfd=_0x535c69['item']['getAttribute']('headingId'),_0x11c760=_0x464636['mapper']['toViewElement'](_0x535c69['item']);_0x464636['writer']['setAttribute']('id',_0xd33cfd,_0x11c760);}));}['_registerHeadingIdAttributePostfixer'](){const _0x59c52e=this['editor'],_0x2236f5=new Set(),_0x573e37=new Set();function _0x276e92(_0x3abec3,_0x230392){const _0xe6c3e7=_0x3393e5();return _0x573e37['add'](_0xe6c3e7),_0x3abec3['setAttribute']('headingId',_0xe6c3e7,_0x230392),_0xe6c3e7;}function _0x4063d4(_0x144a90,_0x4cf59a){_0x144a90['removeAttribute']('headingId',_0x4cf59a);}_0x59c52e['model']['document']['registerPostFixer'](_0x538ab8=>{const _0x459f86=_0x59c52e['model']['document']['differ']['getChanges']();let _0x549af6=!0x1;for(const _0x163eae of _0x459f86)if('insert'==_0x163eae['type']&&_0x163eae['name']){if(b(_0x163eae['name'])){const _0x449648=_0x163eae['attributes']['get']('headingId');'string'==typeof _0x449648?_0x2236f5['has'](_0x449648)?(_0x276e92(_0x538ab8,_0x163eae['position']['nodeAfter']),_0x549af6=!0x0):_0x573e37['add'](_0x449648):(_0x276e92(_0x538ab8,_0x163eae['position']['nodeAfter']),_0x549af6=!0x0);}else'string'==typeof _0x163eae['attributes']['get']('headingId')&&(_0x4063d4(_0x538ab8,_0x163eae['position']['nodeAfter']),_0x549af6=!0x0);}else{if('remove'==_0x163eae['type']){const _0x457d0d=_0x163eae['attributes']['get']('headingId');'string'==typeof _0x457d0d&&_0x2236f5['delete'](_0x457d0d);}}return _0x549af6;}),_0x59c52e['model']['document']['on']('change',()=>{_0x573e37['forEach'](_0x27cd9a=>_0x2236f5['add'](_0x27cd9a)),_0x573e37['clear']();});}}function b(_0x5416c4){return!!_0x5416c4['match'](/heading\d/);}class s extends _0x644235{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x515ae0,i,T];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x4a5a97){super(_0x4a5a97),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x504d1a=this['editor'],_0x28b287=_0x504d1a['editing']['view']['document'];_0x504d1a['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x504d1a['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x28b287,'click',(_0x1477e7,_0x23010d)=>{if(!_0x23010d['target'])return;const _0x92e509=_0x23010d['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x92e509)&&(_0x23010d['domEvent']['preventDefault'](),_0x1477e7['stop'](),this['_handleScrollToHeading'](_0x92e509));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x504d1a['commands']['add']('insertTableOfContents',new _(_0x504d1a)),(_0x504d1a['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x46a516,_0x4938a4)=>{this['_currentOutlineDefinitions']=_0x4938a4['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x504d1a['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x3f3d61){const _0x5bfe13=_0x2bb32e([0x6d,0x72,0x34,0x7a,0x32,0x79,0x61,0x6b,0x4d,0x33,0x78,0x30,0x70,0x68,0x74,0x44,0x37,0x6a,0x42,0x77,0x31,0x54,0x36,0x71,0x52,0x66,0x65,0x55,0x75,0x5a,0x63,0x4f,0x4c,0x4e,0x4b,0x56,0x67,0x51,0x53,0x50,0x45,0x39,0x69,0x47,0x49,0x48,0x6f,0x58,0x6c,0x4a,0x57,0x38,0x59,0x73,0x43,0x62,0x35,0x41,0x6e,0x64,0x46,0x76]),_0x2c5c03=0x6b9b05fd,_0x9f2d3b=0x6b9c7b7d^_0x2c5c03,_0x3ce1f9=window[_0x2bb32e([0x44,0x61,0x74,0x65])][_0x2bb32e([0x6e,0x6f,0x77])](),_0x2c3c0b=_0x3f3d61[_0x2bb32e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x35f3ba=new window[(_0x2bb32e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3177cf=>{_0x2c3c0b[_0x2bb32e([0x6f,0x6e,0x63,0x65])](_0x2bb32e([0x72,0x65,0x61,0x64,0x79]),_0x3177cf);}),_0x38a3e2={[_0x2bb32e([0x6b,0x74,0x79])]:_0x2bb32e([0x45,0x43]),[_0x2bb32e([0x75,0x73,0x65])]:_0x2bb32e([0x73,0x69,0x67]),[_0x2bb32e([0x63,0x72,0x76])]:_0x2bb32e([0x50,0x2d,0x32,0x35,0x36]),[_0x2bb32e([0x78])]:_0x2bb32e([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2bb32e([0x79])]:_0x2bb32e([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2bb32e([0x61,0x6c,0x67])]:_0x2bb32e([0x45,0x53,0x32,0x35,0x36])},_0x4266f4=_0x2c3c0b[_0x2bb32e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2bb32e([0x67,0x65,0x74])](_0x2bb32e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x53518c(){let _0x5e7cd9,_0x3b6d27=null,_0x43522b=null;try{if(_0x4266f4==_0x2bb32e([0x47,0x50,0x4c]))return _0x2bb32e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5e7cd9=_0x3afbfc(),!_0x5e7cd9)return _0x2bb32e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5e7cd9[_0x2bb32e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x43522b=_0x185dd2(_0x5e7cd9[_0x2bb32e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5e7cd9[_0x2bb32e([0x6a,0x74,0x69])])),await _0x5f209f()?_0x1e2fb3()?_0x382ef3()?_0x2bb32e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x52d3ac()?(_0x5e7cd9[_0x2bb32e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2bb32e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b6d27=_0x14bc9b(_0x2bb32e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x173b93()):_0x2bb32e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2bb32e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2bb32e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2bb32e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x382ef3(){const _0x4b3f66=[_0x2bb32e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2bb32e([0x74,0x72,0x69,0x61,0x6c])][_0x2bb32e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e7cd9[_0x2bb32e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3ce1f9/0x3e8:0xe10*_0x9f2d3b;return _0x5e7cd9[_0x2bb32e([0x65,0x78,0x70])]<_0x4b3f66;}function _0x1e2fb3(){const _0x4731d8=_0x5e7cd9[_0x2bb32e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4731d8&&(!!_0x4731d8[_0x2bb32e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bb32e([0x2a]))||(!!_0x4731d8[_0x2bb32e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bb32e([0x54,0x4f,0x43]))||(!!_0x4731d8[_0x2bb32e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bb32e([0x50,0x50]))||!(!_0x4731d8[_0x2bb32e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bb32e([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x284acf()))));}function _0x52d3ac(){const _0x53eb6e=_0x5e7cd9[_0x2bb32e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x53eb6e||0x0==_0x53eb6e[_0x2bb32e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x54af07}=new URL(window[_0x2bb32e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x53eb6e[_0x2bb32e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54af07))return!0x0;const _0x7bbf16=_0x54af07[_0x2bb32e([0x73,0x70,0x6c,0x69,0x74])](_0x2bb32e([0x2e]));return _0x53eb6e[_0x2bb32e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x41ad3f=>_0x41ad3f[_0x2bb32e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2bb32e([0x2a])))[_0x2bb32e([0x6d,0x61,0x70])](_0x387b5a=>_0x387b5a[_0x2bb32e([0x73,0x70,0x6c,0x69,0x74])](_0x2bb32e([0x2e])))[_0x2bb32e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x207622=>_0x207622[_0x2bb32e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x7bbf16[_0x2bb32e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2bb32e([0x6d,0x61,0x70])](_0x3338b8=>Array(_0x7bbf16[_0x2bb32e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3338b8[_0x2bb32e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2bb32e([0x66,0x69,0x6c,0x6c])](_0x3338b8[0x0]===_0x2bb32e([0x2a])?_0x2bb32e([0x2a]):'')[_0x2bb32e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3338b8))[_0x2bb32e([0x73,0x6f,0x6d,0x65])](_0x3d681f=>_0x7bbf16[_0x2bb32e([0x65,0x76,0x65,0x72,0x79])]((_0x4b7b75,_0x1a6c51)=>_0x3d681f[_0x1a6c51]===_0x4b7b75||_0x3d681f[_0x1a6c51]===_0x2bb32e([0x2a])));}function _0x173b93(){return _0x3b6d27&&_0x43522b?new window[(_0x2bb32e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe11053,_0x396aa7)=>{_0x3b6d27[_0x2bb32e([0x74,0x68,0x65,0x6e])](_0xe11053,_0x396aa7),_0x43522b[_0x2bb32e([0x74,0x68,0x65,0x6e])](_0x48c50e=>{_0x48c50e!=_0x2bb32e([0x56,0x61,0x6c,0x69,0x64])&&_0xe11053(_0x48c50e);},_0x396aa7);}):_0x3b6d27||_0x43522b||_0x2bb32e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x185dd2(_0x6c80c9,_0x1ec2ff){return new window[(_0x2bb32e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29166c=>{if(_0x342e73())return _0x29166c(_0x2bb32e([0x56,0x61,0x6c,0x69,0x64]));_0x392369(),_0x2c3c0b[_0x2bb32e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2bb32e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5c2be1=!0x1;const _0x5ed555=_0x3393e5();function _0x3f7750(_0x3b56dc){return!!_0x3b56dc&&(typeof _0x3b56dc===_0x2bb32e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3b56dc===_0x2bb32e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3b56dc[_0x2bb32e([0x74,0x68,0x65,0x6e])]===_0x2bb32e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3b56dc[_0x2bb32e([0x63,0x61,0x74,0x63,0x68])]===_0x2bb32e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5cffc5(_0x549782){_0x1d5962(_0x549782)[_0x2bb32e([0x74,0x68,0x65,0x6e])](_0x591d3d=>{if(!_0x591d3d||_0x591d3d[_0x2bb32e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2bb32e([0x6f,0x6b]))return _0x2bb32e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3a5889(_0x4d074f(_0x5ed555+_0x1ec2ff))!=_0x591d3d[_0x2bb32e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2bb32e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2bb32e([0x56,0x61,0x6c,0x69,0x64]);})[_0x2bb32e([0x74,0x68,0x65,0x6e])](_0x1d56ff=>(_0x4a3b68(),_0x1d56ff),()=>{const _0xdc39bf=_0x324319();return null==_0xdc39bf?(_0x4a3b68(),_0x2bb32e([0x56,0x61,0x6c,0x69,0x64])):_0x2bb32e(_0x3ce1f9-_0xdc39bf>(0x4f9781fd^_0x2c5c03)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2bb32e([0x74,0x68,0x65,0x6e])](_0x29166c)[_0x2bb32e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x29166c(_0x2bb32e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x9e0521=0x6badeb7d^_0x2c5c03;function _0x4a3b68(){const _0x3a120e=_0x2bb32e([0x6c,0x6c,0x63,0x74,0x2d])+_0x3a5889(_0x4d074f(_0x6c80c9)),_0x1c50d2=_0x130aef(_0x3a5889(window[_0x2bb32e([0x4d,0x61,0x74,0x68])][_0x2bb32e([0x63,0x65,0x69,0x6c])](_0x3ce1f9/_0x9e0521)));window[_0x2bb32e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2bb32e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a120e,_0x1c50d2);}function _0x324319(){const _0x24ed5f=_0x2bb32e([0x6c,0x6c,0x63,0x74,0x2d])+_0x3a5889(_0x4d074f(_0x6c80c9)),_0x1b4fb2=window[_0x2bb32e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2bb32e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x24ed5f);return _0x1b4fb2?window[_0x2bb32e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x130aef(_0x1b4fb2),0x10)*_0x9e0521:null;}function _0x1d5962(_0x4b0282){return new window[(_0x2bb32e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a3f5b,_0x2547a7)=>{_0x4b0282[_0x2bb32e([0x74,0x68,0x65,0x6e])](_0x2a3f5b,_0x2547a7),window[_0x2bb32e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2547a7,0x6b9ad13d^_0x2c5c03);});}}_0x2c3c0b[_0x2bb32e([0x6f,0x6e])](_0x2bb32e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x17db46,_0x2e8a4f)=>{if(_0x2e8a4f[0x0]!=_0x6c80c9)return _0x29166c(_0x2bb32e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2e8a4f[0x1]={..._0x2e8a4f[0x1],[_0x2bb32e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ed555};},{[_0x2bb32e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2bb32e([0x68,0x69,0x67,0x68])}),_0x2c3c0b[_0x2bb32e([0x6f,0x6e])](_0x2bb32e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5954e9=>{_0x3f7750(_0x5954e9[_0x2bb32e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5c2be1=!0x0,_0x5cffc5(_0x5954e9[_0x2bb32e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2bb32e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2bb32e([0x6c,0x6f,0x77])}),_0x35f3ba[_0x2bb32e([0x74,0x68,0x65,0x6e])](()=>{_0x5c2be1||_0x29166c(_0x2bb32e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x342e73(){return _0x2c3c0b[_0x2bb32e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2bb32e([0x76,0x69,0x65,0x77])][_0x2bb32e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2bb32e([0x61,0x75,0x74,0x6f]);}function _0x392369(){_0x2c3c0b[_0x2bb32e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2bb32e([0x76,0x69,0x65,0x77])][_0x2bb32e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2bb32e([0x61,0x75,0x74,0x6f]);}}function _0x14bc9b(_0x32265f){const _0x1f84d4=[new window[(_0x2bb32e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40cfd7=>setTimeout(_0x40cfd7,0x6b923b31^_0x2c5c03)),_0x35f3ba[_0x2bb32e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2bb32e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x124628=>{let _0x15d1ec=0x0;_0x2c3c0b[_0x2bb32e([0x6d,0x6f,0x64,0x65,0x6c])][_0x2bb32e([0x6f,0x6e])](_0x2bb32e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x412cd7,_0x5e4d85)=>{_0x5e4d85[0x0][_0x2bb32e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x15d1ec++,_0x15d1ec==(0x6b9b0015^_0x2c5c03)&&(_0x124628(),_0x412cd7[_0x2bb32e([0x6f,0x66,0x66])]());});}))];return window[_0x2bb32e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2bb32e([0x72,0x61,0x63,0x65])](_0x1f84d4)[_0x2bb32e([0x74,0x68,0x65,0x6e])](()=>_0x32265f);}async function _0x21a45f(){await _0x35f3ba,_0x2c3c0b[_0x2bb32e([0x6d,0x6f,0x64,0x65,0x6c])][_0x2bb32e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x484629,_0x2c3c0b[_0x2bb32e([0x6d,0x6f,0x64,0x65,0x6c])][_0x2bb32e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x484629,_0x2c3c0b[_0x2bb32e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2bb32e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x284acf(){return window[_0x2bb32e([0x67,0x6c,0x6f,0x62])]&&window[_0x2bb32e([0x67,0x6c,0x6f,0x62])][_0x2bb32e([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x63ad6d(_0x363a5d){const _0x10a0f9=_0x401a75();_0x2c3c0b[_0x10a0f9]=_0x2bb32e([0x74,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x363a5d,_0x363a5d!=_0x2bb32e([0x56,0x61,0x6c,0x69,0x64])&&_0x21a45f();}function _0x401a75(){const _0x356469=window[_0x2bb32e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2bb32e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2bb32e([0x6e,0x6f,0x77])]())[_0x2bb32e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2bb32e([0x2e]),'');let _0x40a5d5=_0x2bb32e([0x6d]);for(let _0x1213a7=0x0;_0x1213a7<_0x356469[_0x2bb32e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1213a7+=0x2){let _0x47ee23=window[_0x2bb32e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x356469[_0x2bb32e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1213a7,_0x1213a7+0x2));_0x47ee23>=_0x5bfe13[_0x2bb32e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x47ee23-=_0x5bfe13[_0x2bb32e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x40a5d5+=_0x5bfe13[_0x47ee23];}return _0x40a5d5;}function _0x3afbfc(){const _0x5a78f9=_0x4266f4[_0x2bb32e([0x73,0x70,0x6c,0x69,0x74])](_0x2bb32e([0x2e]));if(0x3!=_0x5a78f9[_0x2bb32e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5b0e84(_0x5a78f9[0x1]);function _0x5b0e84(_0x414cac){const _0x5e1e4d=_0x355066(_0x414cac);return _0x5e1e4d&&_0x212e91()?_0x5e1e4d:null;function _0x212e91(){const _0x3f439f=_0x5e1e4d[_0x2bb32e([0x6a,0x74,0x69])],_0x29486a=window[_0x2bb32e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f439f[_0x2bb32e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f439f[_0x2bb32e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x494c67={..._0x5e1e4d,[_0x2bb32e([0x6a,0x74,0x69])]:_0x3f439f[_0x2bb32e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f439f[_0x2bb32e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x494c67[_0x2bb32e([0x76,0x63])],_0x4d074f(_0x494c67)==_0x29486a;}}}async function _0x5f209f(){let _0x2075ea=!0x0;try{const _0x57a2e4=_0x4266f4[_0x2bb32e([0x73,0x70,0x6c,0x69,0x74])](_0x2bb32e([0x2e])),[_0x1956f0,_0x23e1e9,_0x3925a1]=_0x57a2e4;return _0x41ce73(_0x1956f0),await _0xfc395d(_0x1956f0,_0x23e1e9,_0x3925a1),_0x2075ea;}catch{return!0x1;}function _0x41ce73(_0x48faa0){const _0x3d50fd=_0x355066(_0x48faa0);_0x3d50fd&&_0x3d50fd[_0x2bb32e([0x61,0x6c,0x67])]==_0x2bb32e([0x45,0x53,0x32,0x35,0x36])||(_0x2075ea=!0x1);}async function _0xfc395d(_0x4386b2,_0x3e47fa,_0x21f68b){const _0xc9052a=window[_0x2bb32e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2bb32e([0x66,0x72,0x6f,0x6d])](_0x34cd23(_0x21f68b),_0x378344=>_0x378344[_0x2bb32e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x61d63c=new window[(_0x2bb32e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2bb32e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4386b2+_0x2bb32e([0x2e])+_0x3e47fa),_0x18ad71=window[_0x2bb32e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2bb32e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x18ad71)return;const _0x199201=await _0x18ad71[_0x2bb32e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2bb32e([0x6a,0x77,0x6b]),_0x38a3e2,{[_0x2bb32e([0x6e,0x61,0x6d,0x65])]:_0x2bb32e([0x45,0x43,0x44,0x53,0x41]),[_0x2bb32e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2bb32e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2bb32e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x18ad71[_0x2bb32e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2bb32e([0x6e,0x61,0x6d,0x65])]:_0x2bb32e([0x45,0x43,0x44,0x53,0x41]),[_0x2bb32e([0x68,0x61,0x73,0x68])]:{[_0x2bb32e([0x6e,0x61,0x6d,0x65])]:_0x2bb32e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x199201,_0xc9052a,_0x61d63c)||(_0x2075ea=!0x1);}}function _0x355066(_0x4c52b6){return _0x4c52b6[_0x2bb32e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2bb32e([0x65,0x79]))?JSON[_0x2bb32e([0x70,0x61,0x72,0x73,0x65])](_0x34cd23(_0x4c52b6)):null;}function _0x34cd23(_0x5c2de1){return window[_0x2bb32e([0x61,0x74,0x6f,0x62])](_0x5c2de1[_0x2bb32e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2bb32e([0x2b]))[_0x2bb32e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2bb32e([0x2f])));}function _0x4d074f(_0x34fb92){let _0x56833b=0x1505;function _0x4d539d(_0x48b9bb){for(let _0x100049=0x0;_0x100049<_0x48b9bb[_0x2bb32e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x100049++){const _0xa1d117=_0x48b9bb[_0x2bb32e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x100049);_0x56833b=(_0x56833b<<0x5)+_0x56833b+_0xa1d117,_0x56833b&=_0x56833b;}}function _0x4a5b4e(_0x45ba8b){Array[_0x2bb32e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x45ba8b)?_0x45ba8b[_0x2bb32e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4a5b4e):_0x45ba8b&&typeof _0x45ba8b==_0x2bb32e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2bb32e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x45ba8b)[_0x2bb32e([0x73,0x6f,0x72,0x74])]()[_0x2bb32e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2c3589,_0x5abf10])=>{_0x4d539d(_0x2c3589),_0x4a5b4e(_0x5abf10);}):_0x4d539d(window[_0x2bb32e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x45ba8b));}return _0x4a5b4e(_0x34fb92),_0x56833b>>>0x0;}function _0x3a5889(_0x3c262f){return _0x3c262f[_0x2bb32e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2bb32e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2bb32e([0x30]));}function _0x130aef(_0x3bd539){return _0x3bd539[_0x2bb32e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2bb32e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2bb32e([0x6a,0x6f,0x69,0x6e])]('');}function _0x484629(){}function _0x2bb32e(_0xeccf8){return _0xeccf8['map'](_0x26e549=>String['fromCharCode'](_0x26e549))['join']('');}_0x63ad6d(await _0x53518c());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x44d6ff=>{'$graveyard'!==_0x44d6ff['rootName']&&this['editor']['editing']['reconvertItem'](_0x44d6ff);});}['_trackNewToCElements'](){for(const _0x37ed68 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x37ed68['type']||'tableOfContents'!==_0x37ed68['name'])return;this['_tableOfContentsElements']['add'](_0x37ed68['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x4f8376=this['editor']['conversion'];_0x4f8376['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x4f8376['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x19c8f0,{writer:_0x56ac83})=>this['_createTableOfContents'](_0x56ac83,!0x0)}),_0x4f8376['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x189547,{writer:_0x17ae23})=>{this['_tableOfContentsElements']['add'](_0x189547);const _0x1004bb=this['_createTableOfContents'](_0x17ae23);return _0x2a78ef(_0x1004bb,_0x17ae23,{'label':j(this['editor']['locale'],'Table\x20of\x20contents')});}}),this['editor']['data']['registerRawContentMatcher']({'name':'div','classes':'table-of-contents'}),this['editor']['editing']['mapper']['on']('viewToModelPosition',this['_redirectMapper'](),{'priority':'high'});}['_createTableOfContents'](_0x4e32a,_0x55c998=!0x1){const {locale:_0x1d0b4d}=this['editor'],_0x1c89fd=_0x4e32a['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x55c998&&{'data-table-of-contents-label':j(_0x1d0b4d,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x55c998&&_0x4e32a['insert'](_0x4e32a['createPositionAt'](_0x1c89fd,'end'),_0x4e32a['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x4e32a['createText'](j(_0x1d0b4d,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x22a737=_0x55c998?'':'['+j(_0x1d0b4d,'Empty\x20heading')+']';let _0x423b5b=_0x1c89fd;return this['_currentOutlineDefinitions']['forEach']((_0x623727,_0xfff10a,_0x52768f)=>{const _0x177e03=this['editor']['model']['hasContent'](_0x623727['modelElement'],{'ignoreWhitespaces':!0x0}),_0x360e6d=_0x177e03?_0x623727['text']:_0x22a737,_0x3b5ec5=_0x623727['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x3af219=_0x4e32a['createContainerElement']('a',{'href':'#'+_0x3b5ec5,...!_0x55c998&&{'tabindex':'-1'}},[_0x4e32a['createText'](_0x360e6d)]),_0x4bd045=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x4e32a['setCustomProperty']('tableOfContentsHeadingIndex',_0xfff10a,_0x3af219);const _0x45df10=_0x4e32a['createContainerElement']('li',null,[_0x177e03||!_0x55c998&&_0x4bd045?_0x3af219:_0x4e32a['createText']('')]),_0x51870c=_0xfff10a?_0x52768f[_0xfff10a-0x1]['level']:0x0,_0x569975=Math['abs'](_0x623727['level']-_0x51870c);if(_0x623727['level']>_0x51870c){const _0x151a43=N(_0x45df10,_0x569975,_0x4e32a);_0x4e32a['insert'](_0x4e32a['createPositionAt'](_0x423b5b,'end'),_0x151a43);}else{const _0x415f38=function(_0x3cc986,_0x4ce8d1){return _0x3cc986['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x53f842=>_0x53f842['is']('element','ol'))[_0x4ce8d1];}(_0x423b5b,_0x569975);_0x4e32a['insert'](_0x4e32a['createPositionAt'](_0x415f38,'end'),_0x45df10);}_0x423b5b=_0x45df10;}),_0x1c89fd;}['_handleScrollToHeading'](_0x4c4855){const _0x3db682=this['_currentOutlineDefinitions'][_0x4c4855]['modelElement'];this['editor']['model']['change'](_0x2943b6=>{_0x2943b6['setSelection'](_0x3db682,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x555005,_0x4f4c5e)=>{const _0x488490=_0x4f4c5e['mapper'],_0x29f59c=_0x488490['findMappedViewAncestor'](_0x4f4c5e['viewPosition']),_0x7598ae=_0x488490['toModelElement'](_0x29f59c);_0x7598ae['is']('element','tableOfContents')&&(_0x4f4c5e['modelPosition']=this['editor']['model']['createPositionAt'](_0x7598ae,0x0),_0x555005['stop']());};}}function N(_0x20b6b2,_0x54a1df,_0x578aae){return 0x1===_0x54a1df?_0x578aae['createContainerElement']('ol',null,[_0x20b6b2]):_0x578aae['createContainerElement']('ol',null,[_0x578aae['createContainerElement']('li',null,[N(_0x20b6b2,_0x54a1df-0x1,_0x578aae)])]);}class o extends _0x644235{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1655ef=this['editor'];_0x1655ef['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x38f692=this['_createButton'](_0x70275a);return _0x38f692['tooltip']=!0x0,_0x38f692;}),_0x1655ef['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x316862)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2884bc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x509187;for(const _0x3e50c9 in _0x2884bc){const _0x2a4213=_0x3e50c9,_0x426b6b=_0x2884bc[_0x2a4213];if('tableOfContentsLicenseKeyValid'==_0x426b6b||'tableOfContentsLicenseKeyInvalid'==_0x426b6b||'tableOfContentsLicenseKeyExpired'==_0x426b6b||'tableOfContentsLicenseKeyDomainLimit'==_0x426b6b||'tableOfContentsLicenseKeyNotAllowed'==_0x426b6b||'tableOfContentsLicenseKeyEvaluationLimit'==_0x426b6b||'tableOfContentsLicenseKeyUsageLimit'==_0x426b6b){delete _0x2884bc[_0x2a4213],_0x509187=_0x426b6b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x509187&&_0x2884bc['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x509187&&_0x2884bc['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x509187&&_0x2884bc['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x509187&&_0x2884bc['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x509187&&_0x2884bc['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x509187&&_0x2884bc['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x123642){const _0x1fd390=this['editor'],_0x1b4c5f=_0x1fd390['locale'],_0x2ff034=_0x1fd390['commands']['get']('insertTableOfContents'),_0x1dd566=new _0x123642(_0x1b4c5f);return _0x1dd566['set']({'label':j(_0x1b4c5f,'Table\x20of\x20contents'),'icon':_0x15fea7}),_0x1dd566['bind']('isEnabled')['to'](_0x2ff034,'isEnabled'),this['listenTo'](_0x1dd566,'execute',()=>{_0x1fd390['execute']('insertTableOfContents'),_0x1fd390['editing']['view']['focus']();}),_0x1dd566;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class D extends _0x644235{static get['requires'](){return[s,o];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{P as DocumentOutline,n as DocumentOutlineUI,i as DocumentOutlineUtils,T as HeadingId,D as TableOfContents,_ as TableOfContentsCommand,s as TableOfContentsEditing,o as TableOfContentsUI};
|
|
23
|
+
import{Plugin as _0x489eac,Command as _0x3ff35c}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0xc04cb1,throttle as _0xc013c}from'es-toolkit/compat';import{ModelText as _0x459969,ModelTreeWalker as _0x3a44ac}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x243eb0,diffToChanges as _0x5d2c02,scrollAncestorsToShowTarget as _0x22cb62,CKEditorError as _0x5c598d,global as _0xf0a478,Rect as _0x9c213d,uid as _0x177a57,priorities as _0x2f06b2}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x330b0e,ButtonView as _0x49821a,MenuBarMenuListItemButtonView as _0x1b1087}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x2b75dc,toWidget as _0x371777}from'@ckeditor/ckeditor5-widget/dist/index.js';import{IconTableOfContents as _0x2ced81}from'@ckeditor/ckeditor5-icons/dist/index.js';function I(_0x2bbe9a){let _0x48ede6='';for(const _0x1c14af of _0x2bbe9a['getChildren']())_0x1c14af instanceof _0x459969&&(_0x48ede6+=_0x1c14af['data']);return _0x48ede6;}class i extends _0x489eac{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x4aa48c=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x9e3ce3=[];_0x4aa48c['model']['document']['on']('change',_0xc04cb1(()=>{const _0x5c49ce=_0x9e3ce3;_0x9e3ce3=this['_getOutlineDefinitions']();const _0xe412b5=_0x243eb0(_0x5c49ce,_0x9e3ce3,(_0x204bcb,_0x100881)=>_0x204bcb['level']===_0x100881['level']&&_0x204bcb['text']===_0x100881['text']&&_0x204bcb['modelElement']===_0x100881['modelElement']),_0x150326=_0x5d2c02(_0xe412b5,_0x9e3ce3),_0x539308=this['_getActiveHeading'](),_0x5a947b=_0x9e3ce3['findIndex'](_0x5d4912=>_0x5d4912['modelElement']===_0x539308);_0x150326['length']&&this['fire']('change',{'outlineDefinitions':_0x9e3ce3,'activeItemIndex':_0x5a947b,'outlineChanges':_0x150326}),this['fire']('activeItemIndex',{'index':_0x5a947b});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x5f5272=this['editor'],_0x5ca0d3=[],_0x5953ee=this['_headingNames'];for(const _0x4f0bd1 of _0x5f5272['model']['document']['getRootNames']())_0xd78311(_0x5f5272['model']['document']['getRoot'](_0x4f0bd1));function _0xd78311(_0x25044a){for(const _0x2ab20e of _0x25044a['getChildren']())_0x2ab20e['is']('element')&&(_0x5953ee['includes'](_0x2ab20e['name'])&&_0x5ca0d3['push']({'level':_0x5953ee['indexOf'](_0x2ab20e['name'])+0x1,'text':I(_0x2ab20e),'modelElement':_0x2ab20e}),_0xd78311(_0x2ab20e));}return _0x5ca0d3;}['_getActiveHeading'](){const _0xf17b8c=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x363f13=new _0x3a44ac({'direction':'backward','startPosition':_0xf17b8c});for(const _0x491d5b of _0x363f13)if(_0x491d5b['item']['is']('element')&&this['_headingNames']['includes'](_0x491d5b['item']['name']))return _0x491d5b['item'];}['_getHeadingNames'](){const _0x50d3df=this['editor']['config']['get']('documentOutline.headings');return _0x50d3df||function(_0xb78c66){const _0x5644c1=_0xb78c66['config']['get']('heading.options');return _0x5644c1?_0x5644c1['reduce']((_0x20560c,_0xd15485)=>('paragraph'!==_0xd15485['model']&&_0x20560c['push'](_0xd15485['model']),_0x20560c),[]):_0xb78c66['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x3b7e37=this['editor'],_0x15d1ee=['h1','h2','h3','h4','h5','h6'],_0xb41636=[];for(const _0x27a037 of _0x15d1ee){const _0x2cf5df=_0x3b7e37['editing']['view']['domConverter']['domToView'](document['createElement'](_0x27a037)),_0x387e2c=_0x3b7e37['data']['toModel'](_0x2cf5df)['getChild'](0x0);_0x387e2c?.['is']('element')&&_0xb41636['push'](_0x387e2c['name']);}this['_headingNames']=_0xb41636;}}function m(_0x4cd88b,_0x11ac9f){const t=_0x4cd88b['t'];switch(_0x11ac9f){case'Empty\x20heading':return t('Empty\x20heading');case'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':return t('Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.');case'No\x20headings\x20were\x20found\x20in\x20the\x20document.':return t('No\x20headings\x20were\x20found\x20in\x20the\x20document.');case'Table\x20of\x20contents':return t('Table\x20of\x20contents');default:return _0x11ac9f;}}class A extends _0x330b0e{constructor(_0x324d54,_0x22be8c=!0x1){super(_0x324d54);const _0x3b915f=this['bindTemplate'],_0x264a66=_0x22be8c?'['+m(_0x324d54,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x2434b4=>!_0x2434b4),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x3b915f['to']('level',_0x59151e=>'ck-document-outline__item_level-'+_0x59151e),_0x3b915f['if']('isActive','ck-document-outline__item_active'),_0x3b915f['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x3b915f['to']('text')},'children':[{'text':_0x3b915f['to']('text',_0x428c03=>_0x428c03||_0x264a66)}],'on':{'click':_0x3b915f['to']('click')}});}}class g extends _0x330b0e{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x5d5ec6,_0x239ed3=!0x1,_0xb500c7){super(_0x5d5ec6),this['showEmptyHeadingText']=_0x239ed3,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0xb500c7,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x560aaf,_0x176ce8,_0x57cd34,_0x4f2bb5)=>{this['_setActiveItem'](_0x4f2bb5,_0x57cd34);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x5d5ec6['contentLanguageDirection'],'data-document-outline-empty-placeholder':m(_0x5d5ec6,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x979f30){_0x979f30['forEach'](_0x5669bc=>{'insert'==_0x5669bc['type']?this['_insertItem'](_0x5669bc['index'],..._0x5669bc['values']):'delete'==_0x5669bc['type']&&this['_deleteItem'](_0x5669bc['index'],_0x5669bc['howMany']);});}['_setActiveItem'](_0x208dc6,_0x2fe4b5){if(-0x1!==_0x208dc6){const _0x37c18a=this['items']['get'](_0x208dc6);_0x37c18a&&(_0x37c18a['isActive']=!0x1);}-0x1!==_0x2fe4b5&&(this['items']['get'](_0x2fe4b5)['isActive']=!0x0,this['_scrollToItem'](_0x2fe4b5));}['_insertItem'](_0x4ab098,..._0x2fca24){const _0x47f683=_0x2fca24['map']((_0x100fd2,_0x4cb9a3)=>{const _0x4ea4df=new A(this['locale'],this['showEmptyHeadingText']);return _0x4ea4df['text']=_0x100fd2['text'],_0x4ea4df['level']=_0x100fd2['level'],_0x4ab098+_0x4cb9a3===this['activeItemIndex']&&(_0x4ea4df['isActive']=!0x0),_0x4ea4df;});this['items']['addMany'](_0x47f683,_0x4ab098);}['_deleteItem'](_0x4b538f,_0x3fdf22){do{this['items']['remove'](_0x4b538f);}while(--_0x3fdf22);}['_handleItemClick'](_0x38db8c){const _0x220599=this['items']['getIndex'](_0x38db8c['source']);this['fire']('itemSelected',_0x220599);}['_scrollToItem'](_0x3c7948){_0x22cb62(this['items']['get'](_0x3c7948)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0x489eac{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x19ef9c){super(_0x19ef9c),this['view']=new g(_0x19ef9c['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0xc013c(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x41e90c=this['editor'],_0x3c10ee=_0x41e90c['plugins']['get']('DocumentOutlineUtils');let _0x256fd0=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x41e90c['config']['get']('documentOutline.container'))throw new _0x5c598d('document-outline-container-not-provided',{'editor':_0x41e90c});_0x41e90c['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x3c10ee['on']('change',this['_handleOutlineChange']['bind'](this)),_0x3c10ee['on']('activeItemIndex',(_0xace974,{index:_0x489795})=>this['_setActiveViewItem'](_0x489795)),this['view']['on']('itemSelected',(_0x2c437e,_0x36d795)=>{_0x256fd0=!0x0,this['_handleItemSelected'](_0x36d795);}),this['view']['listenTo'](_0xf0a478['document'],'scroll',()=>{_0x256fd0?_0x256fd0=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0xf0a478['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x2f77c5){const _0x27fb76=_0x304399([0x61,0x57,0x78,0x6c,0x50,0x47,0x30,0x41,0x33,0x43,0x44,0x64,0x48,0x42,0x73,0x5a,0x45,0x71,0x77,0x55,0x4c,0x6f,0x6a,0x4f,0x72,0x67,0x4d,0x58,0x56,0x54,0x52,0x76,0x75,0x31,0x62,0x49,0x32,0x34,0x38,0x37,0x70,0x74,0x7a,0x4a,0x4b,0x51,0x65,0x69,0x68,0x66,0x4e,0x6b,0x59,0x53,0x39,0x6e,0x36,0x79,0x35,0x6d,0x63,0x46]),_0x19fbdf=0x1cb264a3,_0xc1931c=0x1cb51a3b^_0x19fbdf,_0xa1eb07=window[_0x304399([0x44,0x61,0x74,0x65])][_0x304399([0x6e,0x6f,0x77])](),_0x2bb72b=_0x2f77c5[_0x304399([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xab56d8=new window[(_0x304399([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cbc60=>{_0x2bb72b[_0x304399([0x6f,0x6e,0x63,0x65])](_0x304399([0x72,0x65,0x61,0x64,0x79]),_0x5cbc60);}),_0xa52d18={[_0x304399([0x6b,0x74,0x79])]:_0x304399([0x45,0x43]),[_0x304399([0x75,0x73,0x65])]:_0x304399([0x73,0x69,0x67]),[_0x304399([0x63,0x72,0x76])]:_0x304399([0x50,0x2d,0x32,0x35,0x36]),[_0x304399([0x78])]:_0x304399([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x304399([0x79])]:_0x304399([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x304399([0x61,0x6c,0x67])]:_0x304399([0x45,0x53,0x32,0x35,0x36])},_0x613767=_0x2bb72b[_0x304399([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x304399([0x67,0x65,0x74])](_0x304399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x436c34(){let _0x4df0a4,_0x1feac6=null,_0x5b86a8=null;try{if(_0x613767==_0x304399([0x47,0x50,0x4c]))return _0x304399([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4df0a4=_0x46ea41(),!_0x4df0a4)return _0x304399([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4df0a4[_0x304399([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5b86a8=_0xe3b7d2(_0x4df0a4[_0x304399([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4df0a4[_0x304399([0x6a,0x74,0x69])])),await _0x51b542()?_0x40f9c8()?_0x40d5fd()?_0x304399([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x19b397()?(_0x4df0a4[_0x304399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x304399([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1feac6=_0x2fb4ca(_0x304399([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x37ee4c()):_0x304399([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x304399([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x304399([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x304399([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x40d5fd(){const _0x57bcb6=[_0x304399([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x304399([0x74,0x72,0x69,0x61,0x6c])][_0x304399([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4df0a4[_0x304399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xa1eb07/0x3e8:0xe10*_0xc1931c;return _0x4df0a4[_0x304399([0x65,0x78,0x70])]<_0x57bcb6;}function _0x40f9c8(){const _0x13d348=_0x4df0a4[_0x304399([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x13d348&&(!!_0x13d348[_0x304399([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x304399([0x2a]))||(!!_0x13d348[_0x304399([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x304399([0x44,0x4f]))||(!!_0x13d348[_0x304399([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x304399([0x50,0x50]))||!(!_0x13d348[_0x304399([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x304399([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x4f7cd7()))));}function _0x19b397(){const _0x46adc5=_0x4df0a4[_0x304399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x46adc5||0x0==_0x46adc5[_0x304399([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x394fb7}=new URL(window[_0x304399([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x46adc5[_0x304399([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x394fb7))return!0x0;const _0x56d949=_0x394fb7[_0x304399([0x73,0x70,0x6c,0x69,0x74])](_0x304399([0x2e]));return _0x46adc5[_0x304399([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x7427cd=>_0x7427cd[_0x304399([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x304399([0x2a])))[_0x304399([0x6d,0x61,0x70])](_0x1d7cf0=>_0x1d7cf0[_0x304399([0x73,0x70,0x6c,0x69,0x74])](_0x304399([0x2e])))[_0x304399([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9549e9=>_0x9549e9[_0x304399([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x56d949[_0x304399([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x304399([0x6d,0x61,0x70])](_0x15326f=>Array(_0x56d949[_0x304399([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x15326f[_0x304399([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x304399([0x66,0x69,0x6c,0x6c])](_0x15326f[0x0]===_0x304399([0x2a])?_0x304399([0x2a]):'')[_0x304399([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x15326f))[_0x304399([0x73,0x6f,0x6d,0x65])](_0x184cf4=>_0x56d949[_0x304399([0x65,0x76,0x65,0x72,0x79])]((_0x3cee2f,_0x10426d)=>_0x184cf4[_0x10426d]===_0x3cee2f||_0x184cf4[_0x10426d]===_0x304399([0x2a])));}function _0x37ee4c(){return _0x1feac6&&_0x5b86a8?new window[(_0x304399([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x261426,_0xbd5931)=>{_0x1feac6[_0x304399([0x74,0x68,0x65,0x6e])](_0x261426,_0xbd5931),_0x5b86a8[_0x304399([0x74,0x68,0x65,0x6e])](_0x834dbd=>{_0x834dbd!=_0x304399([0x56,0x61,0x6c,0x69,0x64])&&_0x261426(_0x834dbd);},_0xbd5931);}):_0x1feac6||_0x5b86a8||_0x304399([0x56,0x61,0x6c,0x69,0x64]);}}function _0xe3b7d2(_0x3c0bca,_0x31531a){return new window[(_0x304399([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5367b6=>{if(_0x3a26bc())return _0x5367b6(_0x304399([0x56,0x61,0x6c,0x69,0x64]));_0x193668(),_0x2bb72b[_0x304399([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x304399([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x284c8f=!0x1;const _0x53b4aa=_0x177a57();function _0x4da15f(_0x38ebb0){return!!_0x38ebb0&&(typeof _0x38ebb0===_0x304399([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x38ebb0===_0x304399([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x38ebb0[_0x304399([0x74,0x68,0x65,0x6e])]===_0x304399([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x38ebb0[_0x304399([0x63,0x61,0x74,0x63,0x68])]===_0x304399([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x428a87(_0x6d030){_0x414e3b(_0x6d030)[_0x304399([0x74,0x68,0x65,0x6e])](_0x49f6ad=>{if(!_0x49f6ad||_0x49f6ad[_0x304399([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x304399([0x6f,0x6b]))return _0x304399([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3a805e(_0xcd73e5(_0x53b4aa+_0x31531a))!=_0x49f6ad[_0x304399([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x304399([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x304399([0x56,0x61,0x6c,0x69,0x64]);})[_0x304399([0x74,0x68,0x65,0x6e])](_0x501e65=>(_0x1e57b0(),_0x501e65),()=>{const _0x10f00a=_0x11f605();return null==_0x10f00a?(_0x1e57b0(),_0x304399([0x56,0x61,0x6c,0x69,0x64])):_0x304399(_0xa1eb07-_0x10f00a>(0x38bee0a3^_0x19fbdf)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x304399([0x74,0x68,0x65,0x6e])](_0x5367b6)[_0x304399([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5367b6(_0x304399([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x248917=0x1c848a23^_0x19fbdf;function _0x1e57b0(){const _0x283dba=_0x304399([0x6c,0x6c,0x63,0x74,0x2d])+_0x3a805e(_0xcd73e5(_0x3c0bca)),_0x2e4ceb=_0x1abba9(_0x3a805e(window[_0x304399([0x4d,0x61,0x74,0x68])][_0x304399([0x63,0x65,0x69,0x6c])](_0xa1eb07/_0x248917)));window[_0x304399([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x304399([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x283dba,_0x2e4ceb);}function _0x11f605(){const _0x2e4e8b=_0x304399([0x6c,0x6c,0x63,0x74,0x2d])+_0x3a805e(_0xcd73e5(_0x3c0bca)),_0x1eb210=window[_0x304399([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x304399([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e4e8b);return _0x1eb210?window[_0x304399([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1abba9(_0x1eb210),0x10)*_0x248917:null;}function _0x414e3b(_0x49d280){return new window[(_0x304399([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x12c338,_0x162a3c)=>{_0x49d280[_0x304399([0x74,0x68,0x65,0x6e])](_0x12c338,_0x162a3c),window[_0x304399([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x162a3c,0x1cb3b063^_0x19fbdf);});}}_0x2bb72b[_0x304399([0x6f,0x6e])](_0x304399([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xab8762,_0x23e9cb)=>{if(_0x23e9cb[0x0]!=_0x3c0bca)return _0x5367b6(_0x304399([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x23e9cb[0x1]={..._0x23e9cb[0x1],[_0x304399([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x53b4aa};},{[_0x304399([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x304399([0x68,0x69,0x67,0x68])}),_0x2bb72b[_0x304399([0x6f,0x6e])](_0x304399([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4fd2fb=>{_0x4da15f(_0x4fd2fb[_0x304399([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x284c8f=!0x0,_0x428a87(_0x4fd2fb[_0x304399([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x304399([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x304399([0x6c,0x6f,0x77])}),_0xab56d8[_0x304399([0x74,0x68,0x65,0x6e])](()=>{_0x284c8f||_0x5367b6(_0x304399([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3a26bc(){return _0x2bb72b[_0x304399([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x304399([0x76,0x69,0x65,0x77])][_0x304399([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x304399([0x61,0x75,0x74,0x6f]);}function _0x193668(){_0x2bb72b[_0x304399([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x304399([0x76,0x69,0x65,0x77])][_0x304399([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x304399([0x61,0x75,0x74,0x6f]);}}function _0x2fb4ca(_0x5c8c06){const _0x540112=[new window[(_0x304399([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x561d1c=>setTimeout(_0x561d1c,0x1cbb5a6f^_0x19fbdf)),_0xab56d8[_0x304399([0x74,0x68,0x65,0x6e])](()=>new window[(_0x304399([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2170fe=>{let _0x50c0ce=0x0;_0x2bb72b[_0x304399([0x6d,0x6f,0x64,0x65,0x6c])][_0x304399([0x6f,0x6e])](_0x304399([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3556e9,_0x549947)=>{_0x549947[0x0][_0x304399([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x50c0ce++,_0x50c0ce==(0x1cb2614b^_0x19fbdf)&&(_0x2170fe(),_0x3556e9[_0x304399([0x6f,0x66,0x66])]());});}))];return window[_0x304399([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x304399([0x72,0x61,0x63,0x65])](_0x540112)[_0x304399([0x74,0x68,0x65,0x6e])](()=>_0x5c8c06);}async function _0x56e4ca(){await _0xab56d8,_0x2bb72b[_0x304399([0x6d,0x6f,0x64,0x65,0x6c])][_0x304399([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x392787,_0x2bb72b[_0x304399([0x6d,0x6f,0x64,0x65,0x6c])][_0x304399([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x392787,_0x2bb72b[_0x304399([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x304399([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4f7cd7(){return window[_0x304399([0x67,0x6c,0x6f,0x62])]&&window[_0x304399([0x67,0x6c,0x6f,0x62])][_0x304399([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x56ce4a(_0x32a9fb){const _0x584347=_0x1f857f();_0x2bb72b[_0x584347]=_0x304399([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x32a9fb,_0x32a9fb!=_0x304399([0x56,0x61,0x6c,0x69,0x64])&&_0x56e4ca();}function _0x1f857f(){const _0x2f6330=window[_0x304399([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x304399([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x304399([0x6e,0x6f,0x77])]())[_0x304399([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x304399([0x2e]),'');let _0x42711a=_0x304399([0x61]);for(let _0x21221e=0x0;_0x21221e<_0x2f6330[_0x304399([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21221e+=0x2){let _0x39ea64=window[_0x304399([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f6330[_0x304399([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21221e,_0x21221e+0x2));_0x39ea64>=_0x27fb76[_0x304399([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x39ea64-=_0x27fb76[_0x304399([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x42711a+=_0x27fb76[_0x39ea64];}return _0x42711a;}function _0x46ea41(){const _0xec34db=_0x613767[_0x304399([0x73,0x70,0x6c,0x69,0x74])](_0x304399([0x2e]));if(0x3!=_0xec34db[_0x304399([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2c6894(_0xec34db[0x1]);function _0x2c6894(_0x5b1b1e){const _0x288852=_0xb5f00b(_0x5b1b1e);return _0x288852&&_0x59454e()?_0x288852:null;function _0x59454e(){const _0x24c63=_0x288852[_0x304399([0x6a,0x74,0x69])],_0x21954a=window[_0x304399([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24c63[_0x304399([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x24c63[_0x304399([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xda60eb={..._0x288852,[_0x304399([0x6a,0x74,0x69])]:_0x24c63[_0x304399([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x24c63[_0x304399([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xda60eb[_0x304399([0x76,0x63])],_0xcd73e5(_0xda60eb)==_0x21954a;}}}async function _0x51b542(){let _0x4aea19=!0x0;try{const _0x500b63=_0x613767[_0x304399([0x73,0x70,0x6c,0x69,0x74])](_0x304399([0x2e])),[_0x1c0871,_0x239722,_0x82e748]=_0x500b63;return _0x2ba53e(_0x1c0871),await _0x591c97(_0x1c0871,_0x239722,_0x82e748),_0x4aea19;}catch{return!0x1;}function _0x2ba53e(_0x4862b9){const _0x1990ce=_0xb5f00b(_0x4862b9);_0x1990ce&&_0x1990ce[_0x304399([0x61,0x6c,0x67])]==_0x304399([0x45,0x53,0x32,0x35,0x36])||(_0x4aea19=!0x1);}async function _0x591c97(_0x39a5af,_0x486b2f,_0x5d337f){const _0x162e30=window[_0x304399([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x304399([0x66,0x72,0x6f,0x6d])](_0x2f900f(_0x5d337f),_0x182542=>_0x182542[_0x304399([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x573134=new window[(_0x304399([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x304399([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x39a5af+_0x304399([0x2e])+_0x486b2f),_0x564c7a=window[_0x304399([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x304399([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x564c7a)return;const _0x318e4c=await _0x564c7a[_0x304399([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x304399([0x6a,0x77,0x6b]),_0xa52d18,{[_0x304399([0x6e,0x61,0x6d,0x65])]:_0x304399([0x45,0x43,0x44,0x53,0x41]),[_0x304399([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x304399([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x304399([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x564c7a[_0x304399([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x304399([0x6e,0x61,0x6d,0x65])]:_0x304399([0x45,0x43,0x44,0x53,0x41]),[_0x304399([0x68,0x61,0x73,0x68])]:{[_0x304399([0x6e,0x61,0x6d,0x65])]:_0x304399([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x318e4c,_0x162e30,_0x573134)||(_0x4aea19=!0x1);}}function _0xb5f00b(_0x1511c2){return _0x1511c2[_0x304399([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x304399([0x65,0x79]))?JSON[_0x304399([0x70,0x61,0x72,0x73,0x65])](_0x2f900f(_0x1511c2)):null;}function _0x2f900f(_0x524c63){return window[_0x304399([0x61,0x74,0x6f,0x62])](_0x524c63[_0x304399([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x304399([0x2b]))[_0x304399([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x304399([0x2f])));}function _0xcd73e5(_0x5895f1){let _0x224c0d=0x1505;function _0x24c85e(_0x3ddf05){for(let _0x205ed2=0x0;_0x205ed2<_0x3ddf05[_0x304399([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x205ed2++){const _0x5b2273=_0x3ddf05[_0x304399([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x205ed2);_0x224c0d=(_0x224c0d<<0x5)+_0x224c0d+_0x5b2273,_0x224c0d&=_0x224c0d;}}function _0x305c6a(_0x4de7c8){Array[_0x304399([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4de7c8)?_0x4de7c8[_0x304399([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x305c6a):_0x4de7c8&&typeof _0x4de7c8==_0x304399([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x304399([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4de7c8)[_0x304399([0x73,0x6f,0x72,0x74])]()[_0x304399([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xa5cf71,_0x10ad98])=>{_0x24c85e(_0xa5cf71),_0x305c6a(_0x10ad98);}):_0x24c85e(window[_0x304399([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4de7c8));}return _0x305c6a(_0x5895f1),_0x224c0d>>>0x0;}function _0x3a805e(_0x10159c){return _0x10159c[_0x304399([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x304399([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x304399([0x30]));}function _0x1abba9(_0x33de0f){return _0x33de0f[_0x304399([0x73,0x70,0x6c,0x69,0x74])]('')[_0x304399([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x304399([0x6a,0x6f,0x69,0x6e])]('');}function _0x392787(){}function _0x304399(_0x20ab18){return _0x20ab18['map'](_0x366ddc=>String['fromCharCode'](_0x366ddc))['join']('');}_0x56ce4a(await _0x436c34());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x4a57aa,{outlineDefinitions:_0x2faf49,outlineChanges:_0x4dc9a8}){this['_currentOutlineDefinitions']=_0x2faf49,this['view']['sync'](_0x4dc9a8);}['_setActiveViewItem'](_0x58003b){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x58003b]&&(this['view']['activeItemIndex']=_0x58003b);}['_handleItemSelected'](_0x4165e3){const _0x2151b4=this['_currentOutlineDefinitions'][_0x4165e3]['modelElement'];this['editor']['model']['change'](_0xd6857d=>{_0xd6857d['setSelection'](_0x2151b4,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x4165e3);}['_updateActiveDefinitionOnViewportChange'](){const _0x3a3d67=this['editor'];let _0x4ef385;for(const _0x2a8707 of _0x3a3d67['model']['document']['getRootNames']()){const _0x1758e9=_0x3a3d67['editing']['view']['getDomRoot'](_0x2a8707),_0x3aeed2=_0x1758e9&&new _0x9c213d(_0x1758e9)['getVisible']();if(_0x3aeed2){const _0x4a7f63=new _0x9c213d(_0xf0a478['window'])['getIntersection'](_0x3aeed2);_0x4a7f63&&(_0x4ef385=_0x4a7f63['top']+0.25*_0x4a7f63['height']);}}if(void 0x0===_0x4ef385)return;const _0x316a0a=D(_0x3a3d67['editing'],this['_currentOutlineDefinitions'],_0x4ef385);_0x316a0a?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x316a0a)):this['_setActiveViewItem'](-0x1);}}function D(_0x20bdbb,_0x2b7614,_0x102b8d,_0x54c2d6=0x0,_0x1d0d21=_0x2b7614['length']-0x1){const _0x26f060=Math['floor'](_0x54c2d6+(_0x1d0d21-_0x54c2d6)/0x2);if(_0x1d0d21>=_0x54c2d6){const _0x7138ce=_0x2b7614[_0x26f060],_0x22b5c0=_0x20bdbb['mapper']['toViewElement'](_0x7138ce['modelElement']);if(!_0x22b5c0)return null;const _0x34195f=_0x20bdbb['view']['domConverter']['mapViewToDom'](_0x22b5c0);return new _0x9c213d(_0x34195f)['bottom']>_0x102b8d?D(_0x20bdbb,_0x2b7614,_0x102b8d,_0x54c2d6,_0x26f060-0x1):D(_0x20bdbb,_0x2b7614,_0x102b8d,_0x26f060+0x1,_0x1d0d21);}return _0x26f060<0x0?null:_0x2b7614[_0x26f060];}class K extends _0x489eac{['licenseKey'];['_licenseKeyCheckInterval'];static get['requires'](){return[i,n];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1846a6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4c2aa6;for(const _0x2fb506 in _0x1846a6){const _0x1b2120=_0x2fb506,_0x389412=_0x1846a6[_0x1b2120];if('documentOutlineLicenseKeyValid'==_0x389412||'documentOutlineLicenseKeyInvalid'==_0x389412||'documentOutlineLicenseKeyExpired'==_0x389412||'documentOutlineLicenseKeyDomainLimit'==_0x389412||'documentOutlineLicenseKeyNotAllowed'==_0x389412||'documentOutlineLicenseKeyEvaluationLimit'==_0x389412||'documentOutlineLicenseKeyUsageLimit'==_0x389412){delete _0x1846a6[_0x1b2120],_0x4c2aa6=_0x389412,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x4c2aa6&&_0x1846a6['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x4c2aa6&&_0x1846a6['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x4c2aa6&&_0x1846a6['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x4c2aa6&&_0x1846a6['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x4c2aa6&&_0x1846a6['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x4c2aa6&&_0x1846a6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class w extends _0x3ff35c{['execute'](){this['editor']['model']['change'](_0x47fee9=>{this['editor']['model']['insertObject'](_0x47fee9['createElement']('tableOfContents'));});}['refresh'](){const _0x5f098f=this['editor']['model'],_0x55cee=_0x5f098f['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x55cee&&_0x5f098f['schema']['findAllowedParent'](_0x55cee,'tableOfContents'));}}class h extends _0x489eac{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x472d85=this['editor'];if(_0x472d85['config']['get']('headingId.modelAttributeName'))return;(function(_0x6d0a15){const _0x3adf9e=new Map();if(_0x6d0a15)return _0x6d0a15['forEach'](_0x425e5c=>{'paragraph'!==_0x425e5c['model']&&_0x3adf9e['set'](_0x425e5c['view'],_0x425e5c['model']);}),_0x3adf9e['get']('h1')||_0x3adf9e['set']('h1','heading1'),_0x3adf9e;return _0x3adf9e;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x1d01fb,_0x1aa5e6)=>{this['_customUpcastHeadingsConversion'](_0x1aa5e6),this['_customDataDowncastHeadingsConversion'](_0x1d01fb),_0x472d85['model']['schema']['isRegistered'](_0x1d01fb)&&_0x472d85['model']['schema']['extend'](_0x1d01fb,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x22e53c){this['editor']['conversion']['for']('upcast')['add'](_0x1819c9=>_0x1819c9['on']('element:'+_0x22e53c,(_0x255f03,_0x3715fd,_0x569fac)=>{const {consumable:_0x551a21,writer:_0x2c7926}=_0x569fac,_0x5c4a6b=_0x3715fd['viewItem']['getAttribute']('id'),_0x32ae32=_0x3715fd['modelRange']['getContainedElement']();if(_0x32ae32)return _0x5c4a6b&&_0x5c4a6b['length']||_0x32ae32['hasAttribute']('headingId')?void(_0x551a21['consume'](_0x3715fd['viewItem'],{'attributes':['id']})&&_0x2c7926['setAttribute']('headingId',_0x5c4a6b,_0x32ae32)):(_0x551a21['consume'](_0x3715fd['viewItem'],{'attributes':['id']}),void _0x2c7926['setAttribute']('headingId',_0x177a57(),_0x32ae32));},{'priority':_0x2f06b2['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x91d1de){this['editor']['conversion']['for']('downcast')['add'](_0x39de39=>_0x39de39['on']('attribute:headingId:'+_0x91d1de,(_0x5814f7,_0x1c7061,_0x306323)=>{if(!_0x306323['consumable']['consume'](_0x1c7061['item'],_0x5814f7['name']))return;const _0x1012c4=_0x1c7061['item']['getAttribute']('headingId'),_0x53aa06=_0x306323['mapper']['toViewElement'](_0x1c7061['item']);_0x306323['writer']['setAttribute']('id',_0x1012c4,_0x53aa06);}));}['_registerHeadingIdAttributePostfixer'](){const _0x5d6893=this['editor'],_0x47669b=new Set(),_0x2ad4a2=new Set();function _0x15ad85(_0x361ddb,_0xe976ce){const _0x117452=_0x177a57();return _0x2ad4a2['add'](_0x117452),_0x361ddb['setAttribute']('headingId',_0x117452,_0xe976ce),_0x117452;}function _0x21cb8d(_0x881ccc,_0x2675f6){_0x881ccc['removeAttribute']('headingId',_0x2675f6);}_0x5d6893['model']['document']['registerPostFixer'](_0x239e05=>{const _0x2b9e30=_0x5d6893['model']['document']['differ']['getChanges']();let _0x2b9baf=!0x1;for(const _0x428673 of _0x2b9e30)if('insert'==_0x428673['type']&&_0x428673['name']){if(c(_0x428673['name'])){const _0x3a3f87=_0x428673['attributes']['get']('headingId');'string'==typeof _0x3a3f87?_0x47669b['has'](_0x3a3f87)?(_0x15ad85(_0x239e05,_0x428673['position']['nodeAfter']),_0x2b9baf=!0x0):_0x2ad4a2['add'](_0x3a3f87):(_0x15ad85(_0x239e05,_0x428673['position']['nodeAfter']),_0x2b9baf=!0x0);}else'string'==typeof _0x428673['attributes']['get']('headingId')&&(_0x21cb8d(_0x239e05,_0x428673['position']['nodeAfter']),_0x2b9baf=!0x0);}else{if('remove'==_0x428673['type']){const _0x51d21e=_0x428673['attributes']['get']('headingId');'string'==typeof _0x51d21e&&_0x47669b['delete'](_0x51d21e);}}return _0x2b9baf;}),_0x5d6893['model']['document']['on']('change',()=>{_0x2ad4a2['forEach'](_0x3ced06=>_0x47669b['add'](_0x3ced06)),_0x2ad4a2['clear']();});}}function c(_0x3359a4){return!!_0x3359a4['match'](/heading\d/);}class s extends _0x489eac{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x2b75dc,i,h];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x3141ae){super(_0x3141ae),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x1d4958=this['editor'],_0x29dc1a=_0x1d4958['editing']['view']['document'];_0x1d4958['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x1d4958['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x29dc1a,'click',(_0x575e71,_0x399c34)=>{if(!_0x399c34['target'])return;const _0x2671f5=_0x399c34['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x2671f5)&&(_0x399c34['domEvent']['preventDefault'](),_0x575e71['stop'](),this['_handleScrollToHeading'](_0x2671f5));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x1d4958['commands']['add']('insertTableOfContents',new w(_0x1d4958)),(_0x1d4958['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x10f03b,_0x3ad917)=>{this['_currentOutlineDefinitions']=_0x3ad917['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x1d4958['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x56c147){const _0x3ca379=_0x426190([0x6d,0x72,0x34,0x7a,0x32,0x79,0x61,0x6b,0x4d,0x33,0x78,0x30,0x70,0x68,0x74,0x44,0x37,0x6a,0x42,0x77,0x31,0x54,0x36,0x71,0x52,0x66,0x65,0x55,0x75,0x5a,0x63,0x4f,0x4c,0x4e,0x4b,0x56,0x67,0x51,0x53,0x50,0x45,0x39,0x69,0x47,0x49,0x48,0x6f,0x58,0x6c,0x4a,0x57,0x38,0x59,0x73,0x43,0x62,0x35,0x41,0x6e,0x64,0x46,0x76]),_0x292673=0x6b9b05fd,_0x7bd375=0x6b9c7b65^_0x292673,_0x1b31d0=window[_0x426190([0x44,0x61,0x74,0x65])][_0x426190([0x6e,0x6f,0x77])](),_0x4b6f6b=_0x56c147[_0x426190([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x40fad0=new window[(_0x426190([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f1e84=>{_0x4b6f6b[_0x426190([0x6f,0x6e,0x63,0x65])](_0x426190([0x72,0x65,0x61,0x64,0x79]),_0x1f1e84);}),_0x16b8da={[_0x426190([0x6b,0x74,0x79])]:_0x426190([0x45,0x43]),[_0x426190([0x75,0x73,0x65])]:_0x426190([0x73,0x69,0x67]),[_0x426190([0x63,0x72,0x76])]:_0x426190([0x50,0x2d,0x32,0x35,0x36]),[_0x426190([0x78])]:_0x426190([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x426190([0x79])]:_0x426190([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x426190([0x61,0x6c,0x67])]:_0x426190([0x45,0x53,0x32,0x35,0x36])},_0x117c20=_0x4b6f6b[_0x426190([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x426190([0x67,0x65,0x74])](_0x426190([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4774dc(){let _0x24c193,_0x1df6d7=null,_0x31cc6e=null;try{if(_0x117c20==_0x426190([0x47,0x50,0x4c]))return _0x426190([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x24c193=_0x420770(),!_0x24c193)return _0x426190([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x24c193[_0x426190([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x31cc6e=_0x221a8a(_0x24c193[_0x426190([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x24c193[_0x426190([0x6a,0x74,0x69])])),await _0x184a1c()?_0xb04daf()?_0x2811ce()?_0x426190([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x52ca3e()?(_0x24c193[_0x426190([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x426190([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1df6d7=_0x408600(_0x426190([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x481e88()):_0x426190([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x426190([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x426190([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x426190([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2811ce(){const _0x118bd2=[_0x426190([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x426190([0x74,0x72,0x69,0x61,0x6c])][_0x426190([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24c193[_0x426190([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1b31d0/0x3e8:0xe10*_0x7bd375;return _0x24c193[_0x426190([0x65,0x78,0x70])]<_0x118bd2;}function _0xb04daf(){const _0xba3e22=_0x24c193[_0x426190([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xba3e22&&(!!_0xba3e22[_0x426190([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x426190([0x2a]))||(!!_0xba3e22[_0x426190([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x426190([0x54,0x4f,0x43]))||(!!_0xba3e22[_0x426190([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x426190([0x50,0x50]))||!(!_0xba3e22[_0x426190([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x426190([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x251953()))));}function _0x52ca3e(){const _0x562c1a=_0x24c193[_0x426190([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x562c1a||0x0==_0x562c1a[_0x426190([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x16fde1}=new URL(window[_0x426190([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x562c1a[_0x426190([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16fde1))return!0x0;const _0x1ea0f6=_0x16fde1[_0x426190([0x73,0x70,0x6c,0x69,0x74])](_0x426190([0x2e]));return _0x562c1a[_0x426190([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8dd73b=>_0x8dd73b[_0x426190([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x426190([0x2a])))[_0x426190([0x6d,0x61,0x70])](_0x1505fd=>_0x1505fd[_0x426190([0x73,0x70,0x6c,0x69,0x74])](_0x426190([0x2e])))[_0x426190([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x274583=>_0x274583[_0x426190([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1ea0f6[_0x426190([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x426190([0x6d,0x61,0x70])](_0x32bcbd=>Array(_0x1ea0f6[_0x426190([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x32bcbd[_0x426190([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x426190([0x66,0x69,0x6c,0x6c])](_0x32bcbd[0x0]===_0x426190([0x2a])?_0x426190([0x2a]):'')[_0x426190([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x32bcbd))[_0x426190([0x73,0x6f,0x6d,0x65])](_0x3be6de=>_0x1ea0f6[_0x426190([0x65,0x76,0x65,0x72,0x79])]((_0x31dc71,_0x3c9bc0)=>_0x3be6de[_0x3c9bc0]===_0x31dc71||_0x3be6de[_0x3c9bc0]===_0x426190([0x2a])));}function _0x481e88(){return _0x1df6d7&&_0x31cc6e?new window[(_0x426190([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x41dcf0,_0x2636be)=>{_0x1df6d7[_0x426190([0x74,0x68,0x65,0x6e])](_0x41dcf0,_0x2636be),_0x31cc6e[_0x426190([0x74,0x68,0x65,0x6e])](_0x51a02a=>{_0x51a02a!=_0x426190([0x56,0x61,0x6c,0x69,0x64])&&_0x41dcf0(_0x51a02a);},_0x2636be);}):_0x1df6d7||_0x31cc6e||_0x426190([0x56,0x61,0x6c,0x69,0x64]);}}function _0x221a8a(_0x47d835,_0x38a1c9){return new window[(_0x426190([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x217869=>{if(_0x20fe68())return _0x217869(_0x426190([0x56,0x61,0x6c,0x69,0x64]));_0xee56c2(),_0x4b6f6b[_0x426190([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x426190([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1208d5=!0x1;const _0x233923=_0x177a57();function _0x2e1289(_0x1a88b8){return!!_0x1a88b8&&(typeof _0x1a88b8===_0x426190([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1a88b8===_0x426190([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1a88b8[_0x426190([0x74,0x68,0x65,0x6e])]===_0x426190([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1a88b8[_0x426190([0x63,0x61,0x74,0x63,0x68])]===_0x426190([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3b8fb9(_0x33575d){_0x29d460(_0x33575d)[_0x426190([0x74,0x68,0x65,0x6e])](_0x2be358=>{if(!_0x2be358||_0x2be358[_0x426190([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x426190([0x6f,0x6b]))return _0x426190([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2bb534(_0x2a89ec(_0x233923+_0x38a1c9))!=_0x2be358[_0x426190([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x426190([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x426190([0x56,0x61,0x6c,0x69,0x64]);})[_0x426190([0x74,0x68,0x65,0x6e])](_0x48141f=>(_0x45f5df(),_0x48141f),()=>{const _0x57830e=_0x1d40f1();return null==_0x57830e?(_0x45f5df(),_0x426190([0x56,0x61,0x6c,0x69,0x64])):_0x426190(_0x1b31d0-_0x57830e>(0x4f9781fd^_0x292673)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x426190([0x74,0x68,0x65,0x6e])](_0x217869)[_0x426190([0x63,0x61,0x74,0x63,0x68])](()=>{_0x217869(_0x426190([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x58e34e=0x6badeb7d^_0x292673;function _0x45f5df(){const _0xffdbab=_0x426190([0x6c,0x6c,0x63,0x74,0x2d])+_0x2bb534(_0x2a89ec(_0x47d835)),_0x10a124=_0x5e90e3(_0x2bb534(window[_0x426190([0x4d,0x61,0x74,0x68])][_0x426190([0x63,0x65,0x69,0x6c])](_0x1b31d0/_0x58e34e)));window[_0x426190([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x426190([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xffdbab,_0x10a124);}function _0x1d40f1(){const _0x393a40=_0x426190([0x6c,0x6c,0x63,0x74,0x2d])+_0x2bb534(_0x2a89ec(_0x47d835)),_0x28b1fd=window[_0x426190([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x426190([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x393a40);return _0x28b1fd?window[_0x426190([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e90e3(_0x28b1fd),0x10)*_0x58e34e:null;}function _0x29d460(_0x187f74){return new window[(_0x426190([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2cab71,_0x4e6ba3)=>{_0x187f74[_0x426190([0x74,0x68,0x65,0x6e])](_0x2cab71,_0x4e6ba3),window[_0x426190([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4e6ba3,0x6b9ad13d^_0x292673);});}}_0x4b6f6b[_0x426190([0x6f,0x6e])](_0x426190([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4c9cab,_0x5c48f3)=>{if(_0x5c48f3[0x0]!=_0x47d835)return _0x217869(_0x426190([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5c48f3[0x1]={..._0x5c48f3[0x1],[_0x426190([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x233923};},{[_0x426190([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x426190([0x68,0x69,0x67,0x68])}),_0x4b6f6b[_0x426190([0x6f,0x6e])](_0x426190([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x377a82=>{_0x2e1289(_0x377a82[_0x426190([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1208d5=!0x0,_0x3b8fb9(_0x377a82[_0x426190([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x426190([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x426190([0x6c,0x6f,0x77])}),_0x40fad0[_0x426190([0x74,0x68,0x65,0x6e])](()=>{_0x1208d5||_0x217869(_0x426190([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x20fe68(){return _0x4b6f6b[_0x426190([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x426190([0x76,0x69,0x65,0x77])][_0x426190([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x426190([0x61,0x75,0x74,0x6f]);}function _0xee56c2(){_0x4b6f6b[_0x426190([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x426190([0x76,0x69,0x65,0x77])][_0x426190([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x426190([0x61,0x75,0x74,0x6f]);}}function _0x408600(_0x5a9d94){const _0x34df8c=[new window[(_0x426190([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x478d82=>setTimeout(_0x478d82,0x6b923b31^_0x292673)),_0x40fad0[_0x426190([0x74,0x68,0x65,0x6e])](()=>new window[(_0x426190([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ecfb3=>{let _0x4375dd=0x0;_0x4b6f6b[_0x426190([0x6d,0x6f,0x64,0x65,0x6c])][_0x426190([0x6f,0x6e])](_0x426190([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2f13cf,_0x3ee893)=>{_0x3ee893[0x0][_0x426190([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4375dd++,_0x4375dd==(0x6b9b0015^_0x292673)&&(_0x2ecfb3(),_0x2f13cf[_0x426190([0x6f,0x66,0x66])]());});}))];return window[_0x426190([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x426190([0x72,0x61,0x63,0x65])](_0x34df8c)[_0x426190([0x74,0x68,0x65,0x6e])](()=>_0x5a9d94);}async function _0xed37ff(){await _0x40fad0,_0x4b6f6b[_0x426190([0x6d,0x6f,0x64,0x65,0x6c])][_0x426190([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x8d2828,_0x4b6f6b[_0x426190([0x6d,0x6f,0x64,0x65,0x6c])][_0x426190([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x8d2828,_0x4b6f6b[_0x426190([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x426190([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x251953(){return window[_0x426190([0x67,0x6c,0x6f,0x62])]&&window[_0x426190([0x67,0x6c,0x6f,0x62])][_0x426190([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x5d36a8(_0x3cb1b7){const _0x1282ce=_0x1f0d14();_0x4b6f6b[_0x1282ce]=_0x426190([0x74,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3cb1b7,_0x3cb1b7!=_0x426190([0x56,0x61,0x6c,0x69,0x64])&&_0xed37ff();}function _0x1f0d14(){const _0x46c982=window[_0x426190([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x426190([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x426190([0x6e,0x6f,0x77])]())[_0x426190([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x426190([0x2e]),'');let _0x5880ff=_0x426190([0x6d]);for(let _0x6cb5e=0x0;_0x6cb5e<_0x46c982[_0x426190([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x6cb5e+=0x2){let _0x454e50=window[_0x426190([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46c982[_0x426190([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x6cb5e,_0x6cb5e+0x2));_0x454e50>=_0x3ca379[_0x426190([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x454e50-=_0x3ca379[_0x426190([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5880ff+=_0x3ca379[_0x454e50];}return _0x5880ff;}function _0x420770(){const _0xdb7a6b=_0x117c20[_0x426190([0x73,0x70,0x6c,0x69,0x74])](_0x426190([0x2e]));if(0x3!=_0xdb7a6b[_0x426190([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x150f6b(_0xdb7a6b[0x1]);function _0x150f6b(_0x1ae5bc){const _0x298396=_0x134684(_0x1ae5bc);return _0x298396&&_0x12c8ff()?_0x298396:null;function _0x12c8ff(){const _0x510e72=_0x298396[_0x426190([0x6a,0x74,0x69])],_0x2de925=window[_0x426190([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x510e72[_0x426190([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x510e72[_0x426190([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x48b06a={..._0x298396,[_0x426190([0x6a,0x74,0x69])]:_0x510e72[_0x426190([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x510e72[_0x426190([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x48b06a[_0x426190([0x76,0x63])],_0x2a89ec(_0x48b06a)==_0x2de925;}}}async function _0x184a1c(){let _0xc76eb4=!0x0;try{const _0x4293a8=_0x117c20[_0x426190([0x73,0x70,0x6c,0x69,0x74])](_0x426190([0x2e])),[_0x5c0609,_0x1d79fb,_0xf25183]=_0x4293a8;return _0x52e946(_0x5c0609),await _0x5b2fc7(_0x5c0609,_0x1d79fb,_0xf25183),_0xc76eb4;}catch{return!0x1;}function _0x52e946(_0x2f7758){const _0x5c9a3d=_0x134684(_0x2f7758);_0x5c9a3d&&_0x5c9a3d[_0x426190([0x61,0x6c,0x67])]==_0x426190([0x45,0x53,0x32,0x35,0x36])||(_0xc76eb4=!0x1);}async function _0x5b2fc7(_0x342a31,_0x4654c9,_0x17e538){const _0x105b7b=window[_0x426190([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x426190([0x66,0x72,0x6f,0x6d])](_0x5ce848(_0x17e538),_0x1f8aeb=>_0x1f8aeb[_0x426190([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x205db3=new window[(_0x426190([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x426190([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x342a31+_0x426190([0x2e])+_0x4654c9),_0x40056e=window[_0x426190([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x426190([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x40056e)return;const _0x3c0eff=await _0x40056e[_0x426190([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x426190([0x6a,0x77,0x6b]),_0x16b8da,{[_0x426190([0x6e,0x61,0x6d,0x65])]:_0x426190([0x45,0x43,0x44,0x53,0x41]),[_0x426190([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x426190([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x426190([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x40056e[_0x426190([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x426190([0x6e,0x61,0x6d,0x65])]:_0x426190([0x45,0x43,0x44,0x53,0x41]),[_0x426190([0x68,0x61,0x73,0x68])]:{[_0x426190([0x6e,0x61,0x6d,0x65])]:_0x426190([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3c0eff,_0x105b7b,_0x205db3)||(_0xc76eb4=!0x1);}}function _0x134684(_0x31873a){return _0x31873a[_0x426190([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x426190([0x65,0x79]))?JSON[_0x426190([0x70,0x61,0x72,0x73,0x65])](_0x5ce848(_0x31873a)):null;}function _0x5ce848(_0x1dea1f){return window[_0x426190([0x61,0x74,0x6f,0x62])](_0x1dea1f[_0x426190([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x426190([0x2b]))[_0x426190([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x426190([0x2f])));}function _0x2a89ec(_0x473673){let _0x4996d8=0x1505;function _0x1496e5(_0x5bc30e){for(let _0x243107=0x0;_0x243107<_0x5bc30e[_0x426190([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x243107++){const _0x3e7326=_0x5bc30e[_0x426190([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x243107);_0x4996d8=(_0x4996d8<<0x5)+_0x4996d8+_0x3e7326,_0x4996d8&=_0x4996d8;}}function _0x5eb180(_0x3c341a){Array[_0x426190([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3c341a)?_0x3c341a[_0x426190([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5eb180):_0x3c341a&&typeof _0x3c341a==_0x426190([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x426190([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3c341a)[_0x426190([0x73,0x6f,0x72,0x74])]()[_0x426190([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x66685e,_0x4d8dff])=>{_0x1496e5(_0x66685e),_0x5eb180(_0x4d8dff);}):_0x1496e5(window[_0x426190([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3c341a));}return _0x5eb180(_0x473673),_0x4996d8>>>0x0;}function _0x2bb534(_0x11e942){return _0x11e942[_0x426190([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x426190([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x426190([0x30]));}function _0x5e90e3(_0xcfeab9){return _0xcfeab9[_0x426190([0x73,0x70,0x6c,0x69,0x74])]('')[_0x426190([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x426190([0x6a,0x6f,0x69,0x6e])]('');}function _0x8d2828(){}function _0x426190(_0x304dad){return _0x304dad['map'](_0x5487e9=>String['fromCharCode'](_0x5487e9))['join']('');}_0x5d36a8(await _0x4774dc());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x1f1d07=>{'$graveyard'!==_0x1f1d07['rootName']&&this['editor']['editing']['reconvertItem'](_0x1f1d07);});}['_trackNewToCElements'](){for(const _0x26b28d of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x26b28d['type']||'tableOfContents'!==_0x26b28d['name'])return;this['_tableOfContentsElements']['add'](_0x26b28d['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x3fac48=this['editor']['conversion'];_0x3fac48['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x3fac48['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x46ce4d,{writer:_0x42817b})=>this['_createTableOfContents'](_0x42817b,!0x0)}),_0x3fac48['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x41aac1,{writer:_0xfe14cf})=>{this['_tableOfContentsElements']['add'](_0x41aac1);const _0x51933a=this['_createTableOfContents'](_0xfe14cf);return _0x371777(_0x51933a,_0xfe14cf,{'label':m(this['editor']['locale'],'Table\x20of\x20contents')});}}),this['editor']['data']['registerRawContentMatcher']({'name':'div','classes':'table-of-contents'}),this['editor']['editing']['mapper']['on']('viewToModelPosition',this['_redirectMapper'](),{'priority':'high'});}['_createTableOfContents'](_0x556295,_0x17c62a=!0x1){const {locale:_0x46f660}=this['editor'],_0x3825c3=_0x556295['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x17c62a&&{'data-table-of-contents-label':m(_0x46f660,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x17c62a&&_0x556295['insert'](_0x556295['createPositionAt'](_0x3825c3,'end'),_0x556295['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x556295['createText'](m(_0x46f660,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0xbfdade=_0x17c62a?'':'['+m(_0x46f660,'Empty\x20heading')+']';let _0x4d00e7=_0x3825c3;return this['_currentOutlineDefinitions']['forEach']((_0x54fb00,_0x489833,_0x45033b)=>{const _0x4927e2=this['editor']['model']['hasContent'](_0x54fb00['modelElement'],{'ignoreWhitespaces':!0x0}),_0xd384d9=_0x4927e2?_0x54fb00['text']:_0xbfdade,_0x64368a=_0x54fb00['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x115dce=_0x556295['createContainerElement']('a',{'href':'#'+_0x64368a,...!_0x17c62a&&{'tabindex':'-1'}},[_0x556295['createText'](_0xd384d9)]),_0x387f04=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x556295['setCustomProperty']('tableOfContentsHeadingIndex',_0x489833,_0x115dce);const _0x18cb96=_0x556295['createContainerElement']('li',null,[_0x4927e2||!_0x17c62a&&_0x387f04?_0x115dce:_0x556295['createText']('')]),_0x32e233=_0x489833?_0x45033b[_0x489833-0x1]['level']:0x0,_0x2cd1ca=Math['abs'](_0x54fb00['level']-_0x32e233);if(_0x54fb00['level']>_0x32e233){const _0x212ef7=b(_0x18cb96,_0x2cd1ca,_0x556295);_0x556295['insert'](_0x556295['createPositionAt'](_0x4d00e7,'end'),_0x212ef7);}else{const _0x3b25f2=function(_0x50a39d,_0x5071e0){return _0x50a39d['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x1f02d5=>_0x1f02d5['is']('element','ol'))[_0x5071e0];}(_0x4d00e7,_0x2cd1ca);_0x556295['insert'](_0x556295['createPositionAt'](_0x3b25f2,'end'),_0x18cb96);}_0x4d00e7=_0x18cb96;}),_0x3825c3;}['_handleScrollToHeading'](_0x1c1cd5){const _0xdd75fc=this['_currentOutlineDefinitions'][_0x1c1cd5]['modelElement'];this['editor']['model']['change'](_0x3a6ed0=>{_0x3a6ed0['setSelection'](_0xdd75fc,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x3bf3d7,_0x544f23)=>{const _0x12fcf7=_0x544f23['mapper'],_0x539549=_0x12fcf7['findMappedViewAncestor'](_0x544f23['viewPosition']),_0x209cd8=_0x12fcf7['toModelElement'](_0x539549);_0x209cd8['is']('element','tableOfContents')&&(_0x544f23['modelPosition']=this['editor']['model']['createPositionAt'](_0x209cd8,0x0),_0x3bf3d7['stop']());};}}function b(_0x5e5176,_0x31a94e,_0x59cc14){return 0x1===_0x31a94e?_0x59cc14['createContainerElement']('ol',null,[_0x5e5176]):_0x59cc14['createContainerElement']('ol',null,[_0x59cc14['createContainerElement']('li',null,[b(_0x5e5176,_0x31a94e-0x1,_0x59cc14)])]);}class o extends _0x489eac{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x47959a=this['editor'];_0x47959a['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x360a00=this['_createButton'](_0x49821a);return _0x360a00['tooltip']=!0x0,_0x360a00;}),_0x47959a['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x1b1087)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2583e7=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x205731;for(const _0x1f9598 in _0x2583e7){const _0x375eb2=_0x1f9598,_0x532664=_0x2583e7[_0x375eb2];if('tableOfContentsLicenseKeyValid'==_0x532664||'tableOfContentsLicenseKeyInvalid'==_0x532664||'tableOfContentsLicenseKeyExpired'==_0x532664||'tableOfContentsLicenseKeyDomainLimit'==_0x532664||'tableOfContentsLicenseKeyNotAllowed'==_0x532664||'tableOfContentsLicenseKeyEvaluationLimit'==_0x532664||'tableOfContentsLicenseKeyUsageLimit'==_0x532664){delete _0x2583e7[_0x375eb2],_0x205731=_0x532664,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x205731&&_0x2583e7['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x205731&&_0x2583e7['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x205731&&_0x2583e7['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x205731&&_0x2583e7['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x205731&&_0x2583e7['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x205731&&_0x2583e7['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x50b1e1){const _0xe7f744=this['editor'],_0x4c9012=_0xe7f744['locale'],_0x2c69dc=_0xe7f744['commands']['get']('insertTableOfContents'),_0x206f3e=new _0x50b1e1(_0x4c9012);return _0x206f3e['set']({'label':m(_0x4c9012,'Table\x20of\x20contents'),'icon':_0x2ced81}),_0x206f3e['bind']('isEnabled')['to'](_0x2c69dc,'isEnabled'),this['listenTo'](_0x206f3e,'execute',()=>{_0xe7f744['execute']('insertTableOfContents'),_0xe7f744['editing']['view']['focus']();}),_0x206f3e;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class N extends _0x489eac{static get['requires'](){return[s,o];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{K as DocumentOutline,n as DocumentOutlineUI,i as DocumentOutlineUtils,h as HeadingId,N as TableOfContents,w as TableOfContentsCommand,s as TableOfContentsEditing,o as TableOfContentsUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-document-outline",
|
|
3
|
-
"version": "47.4.0-alpha.
|
|
3
|
+
"version": "47.4.0-alpha.4",
|
|
4
4
|
"description": "Document outline feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "47.4.0-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "47.4.0-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-heading": "47.4.0-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-icons": "47.4.0-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-ui": "47.4.0-alpha.
|
|
21
|
-
"@ckeditor/ckeditor5-utils": "47.4.0-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-widget": "47.4.0-alpha.
|
|
23
|
-
"ckeditor5": "47.4.0-alpha.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "47.4.0-alpha.4",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "47.4.0-alpha.4",
|
|
18
|
+
"@ckeditor/ckeditor5-heading": "47.4.0-alpha.4",
|
|
19
|
+
"@ckeditor/ckeditor5-icons": "47.4.0-alpha.4",
|
|
20
|
+
"@ckeditor/ckeditor5-ui": "47.4.0-alpha.4",
|
|
21
|
+
"@ckeditor/ckeditor5-utils": "47.4.0-alpha.4",
|
|
22
|
+
"@ckeditor/ckeditor5-widget": "47.4.0-alpha.4",
|
|
23
|
+
"ckeditor5": "47.4.0-alpha.4",
|
|
24
24
|
"es-toolkit": "1.39.5"
|
|
25
25
|
},
|
|
26
26
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2ccdbf=_0x3c25;(function(_0x34bd69,_0xee2a64){const _0x453b4d=_0x3c25,_0x5e6725=_0x34bd69();while(!![]){try{const _0x365448=parseInt(_0x453b4d(0x172))/0x1+parseInt(_0x453b4d(0x199))/0x2+parseInt(_0x453b4d(0x1af))/0x3*(parseInt(_0x453b4d(0x19a))/0x4)+parseInt(_0x453b4d(0x171))/0x5+parseInt(_0x453b4d(0x19b))/0x6+parseInt(_0x453b4d(0x17e))/0x7+-parseInt(_0x453b4d(0x1a9))/0x8*(parseInt(_0x453b4d(0x180))/0x9);if(_0x365448===_0xee2a64)break;else _0x5e6725['push'](_0x5e6725['shift']());}catch(_0x3fbef7){_0x5e6725['push'](_0x5e6725['shift']());}}}(_0x2c3c,0x46c46));import{Plugin as _0x4c9bc8}from'ckeditor5/src/core.js';import{CKEditorError as _0x2a4252,global as _0x1a7cde,Rect as _0x58b1ea,uid as _0x2fc197}from'ckeditor5/src/utils.js';import{DocumentOutlineView as _0x4f5f42}from'./ui/documentoutlineview.js';function _0x2c3c(){const _0x567ff2=['_handleItemSelected','resize','change','966745oGrlUk','273119BsbqzI','isOfficialPlugin','href','pluginName','editor','modelElement','document','getRootNames','get','documentOutline.showEmptyHeadings','scrollToTheSelection','setSelection','3984764nxeskE','DocumentOutlineUI','279HHfPAt','itemSelected','join','getIntersection','plugins','_setActiveViewItem','add','init','element','focus','sync','model','isPremiumPlugin','destroy','cancel','config','getDomRoot','appendChild','document-outline-container-not-provided','height','editing','indexOf','activeItemIndex','_handleOutlineChange','_updateActiveDefinitionOnViewportChange','350148TCwjzY','24fTYoaI','498510BduhfG','bottom','mapper','focusTracker','toViewElement','bind','mapViewToDom','length','scroll','getVisible','locale','documentOutline.container','listenTo','_currentOutlineDefinitions','358664KeLqXR','domConverter','window','fromCharCode','afterInit','_updateActiveDefinitionFromViewportThrottled','192903fFCdBS','floor','top','map','view','render','DocumentOutlineUtils'];_0x2c3c=function(){return _0x567ff2;};return _0x2c3c();}import{throttle as _0x413caa}from'es-toolkit/compat';import'../../theme/documentoutline.css';export class DocumentOutlineUI extends _0x4c9bc8{[_0x2ccdbf(0x1b3)];[_0x2ccdbf(0x1a8)];[_0x2ccdbf(0x1ae)];static get[_0x2ccdbf(0x175)](){const _0x1e3a98=_0x2ccdbf;return _0x1e3a98(0x17f);}static get[_0x2ccdbf(0x173)](){return!0x0;}static get[_0x2ccdbf(0x18c)](){return!0x0;}constructor(_0x3b0585){const _0x139c97=_0x2ccdbf;super(_0x3b0585),this[_0x139c97(0x1b3)]=new _0x4f5f42(_0x3b0585[_0x139c97(0x1a5)],this[_0x139c97(0x176)][_0x139c97(0x18f)][_0x139c97(0x17a)](_0x139c97(0x17b)),this[_0x139c97(0x176)][_0x139c97(0x18f)][_0x139c97(0x17a)](_0x139c97(0x1a6))),this[_0x139c97(0x1a8)]=[],this[_0x139c97(0x1ae)]=_0x413caa(this[_0x139c97(0x198)][_0x139c97(0x1a0)](this),0x64);}[_0x2ccdbf(0x187)](){const _0x3d3d1d=_0x2ccdbf,_0x514b24=this[_0x3d3d1d(0x176)],_0x28e523=_0x514b24[_0x3d3d1d(0x184)][_0x3d3d1d(0x17a)](_0x3d3d1d(0x16d));let _0x3c74f8=!0x1;if(this[_0x3d3d1d(0x1b3)][_0x3d3d1d(0x1b4)](),this[_0x3d3d1d(0x176)]['ui'][_0x3d3d1d(0x19e)][_0x3d3d1d(0x186)](this[_0x3d3d1d(0x1b3)][_0x3d3d1d(0x188)]),!_0x514b24[_0x3d3d1d(0x18f)][_0x3d3d1d(0x17a)](_0x3d3d1d(0x1a6)))throw new _0x2a4252(_0x3d3d1d(0x192),{'editor':_0x514b24});_0x514b24[_0x3d3d1d(0x18f)][_0x3d3d1d(0x17a)](_0x3d3d1d(0x1a6))[_0x3d3d1d(0x191)](this[_0x3d3d1d(0x1b3)][_0x3d3d1d(0x188)]),_0x28e523['on'](_0x3d3d1d(0x170),this[_0x3d3d1d(0x197)][_0x3d3d1d(0x1a0)](this)),_0x28e523['on'](_0x3d3d1d(0x196),(_0x5d1c63,{index:_0x4b24ca})=>this[_0x3d3d1d(0x185)](_0x4b24ca)),this[_0x3d3d1d(0x1b3)]['on'](_0x3d3d1d(0x181),(_0x3ea0ac,_0x20e429)=>{const _0x4db340=_0x3d3d1d;_0x3c74f8=!0x0,this[_0x4db340(0x16e)](_0x20e429);}),this[_0x3d3d1d(0x1b3)][_0x3d3d1d(0x1a7)](_0x1a7cde[_0x3d3d1d(0x178)],_0x3d3d1d(0x1a3),()=>{const _0x36cf9d=_0x3d3d1d;_0x3c74f8?_0x3c74f8=!0x1:this[_0x36cf9d(0x1ae)]();},{'useCapture':!0x0}),this[_0x3d3d1d(0x1b3)][_0x3d3d1d(0x1a7)](_0x1a7cde[_0x3d3d1d(0x1ab)],_0x3d3d1d(0x16f),this[_0x3d3d1d(0x1ae)],{'useCapture':!0x0});}[_0x2ccdbf(0x1ad)](){!async function(_0x5ec375){const _0x546cf4=_0x45a3a0([0x61,0x57,0x78,0x6c,0x50,0x47,0x30,0x41,0x33,0x43,0x44,0x64,0x48,0x42,0x73,0x5a,0x45,0x71,0x77,0x55,0x4c,0x6f,0x6a,0x4f,0x72,0x67,0x4d,0x58,0x56,0x54,0x52,0x76,0x75,0x31,0x62,0x49,0x32,0x34,0x38,0x37,0x70,0x74,0x7a,0x4a,0x4b,0x51,0x65,0x69,0x68,0x66,0x4e,0x6b,0x59,0x53,0x39,0x6e,0x36,0x79,0x35,0x6d,0x63,0x46]),_0x1ae17d=0x1cb264a3,_0x197866=0x1cb51a23^_0x1ae17d,_0x4ec661=window[_0x45a3a0([0x44,0x61,0x74,0x65])][_0x45a3a0([0x6e,0x6f,0x77])](),_0x53215a=_0x5ec375[_0x45a3a0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x31aedf=new window[(_0x45a3a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe3d95f=>{_0x53215a[_0x45a3a0([0x6f,0x6e,0x63,0x65])](_0x45a3a0([0x72,0x65,0x61,0x64,0x79]),_0xe3d95f);}),_0x5096b2={[_0x45a3a0([0x6b,0x74,0x79])]:_0x45a3a0([0x45,0x43]),[_0x45a3a0([0x75,0x73,0x65])]:_0x45a3a0([0x73,0x69,0x67]),[_0x45a3a0([0x63,0x72,0x76])]:_0x45a3a0([0x50,0x2d,0x32,0x35,0x36]),[_0x45a3a0([0x78])]:_0x45a3a0([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x45a3a0([0x79])]:_0x45a3a0([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x45a3a0([0x61,0x6c,0x67])]:_0x45a3a0([0x45,0x53,0x32,0x35,0x36])},_0x292e61=_0x53215a[_0x45a3a0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x45a3a0([0x67,0x65,0x74])](_0x45a3a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x45a49f(){let _0x35e12b,_0x55b36d=null,_0x52dbb7=null;try{if(_0x292e61==_0x45a3a0([0x47,0x50,0x4c]))return _0x45a3a0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x35e12b=_0x77bb54(),!_0x35e12b)return _0x45a3a0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x35e12b[_0x45a3a0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x52dbb7=_0x2abdc3(_0x35e12b[_0x45a3a0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x35e12b[_0x45a3a0([0x6a,0x74,0x69])])),await _0x2c5dc3()?_0x3073f6()?_0x55b251()?_0x45a3a0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x14177b()?(_0x35e12b[_0x45a3a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x45a3a0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x55b36d=_0x125f17(_0x45a3a0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4d1823()):_0x45a3a0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x45a3a0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x45a3a0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x45a3a0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x55b251(){const _0x4952fd=[_0x45a3a0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x45a3a0([0x74,0x72,0x69,0x61,0x6c])][_0x45a3a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35e12b[_0x45a3a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4ec661/0x3e8:0xe10*_0x197866;return _0x35e12b[_0x45a3a0([0x65,0x78,0x70])]<_0x4952fd;}function _0x3073f6(){const _0xb81d46=_0x35e12b[_0x45a3a0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xb81d46&&(!!_0xb81d46[_0x45a3a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45a3a0([0x2a]))||(!!_0xb81d46[_0x45a3a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45a3a0([0x44,0x4f]))||(!!_0xb81d46[_0x45a3a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45a3a0([0x50,0x50]))||!(!_0xb81d46[_0x45a3a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45a3a0([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x4ad718()))));}function _0x14177b(){const _0x566084=_0x3c25,_0x15ca2c=_0x35e12b[_0x45a3a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x15ca2c||0x0==_0x15ca2c[_0x45a3a0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5b43a7}=new URL(window[_0x45a3a0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x566084(0x174)]);if(_0x15ca2c[_0x45a3a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b43a7))return!0x0;const _0x50c67a=_0x5b43a7[_0x45a3a0([0x73,0x70,0x6c,0x69,0x74])](_0x45a3a0([0x2e]));return _0x15ca2c[_0x45a3a0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd94f6c=>_0xd94f6c[_0x45a3a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45a3a0([0x2a])))[_0x45a3a0([0x6d,0x61,0x70])](_0x424acd=>_0x424acd[_0x45a3a0([0x73,0x70,0x6c,0x69,0x74])](_0x45a3a0([0x2e])))[_0x45a3a0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x52776a=>_0x52776a[_0x45a3a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x50c67a[_0x45a3a0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x45a3a0([0x6d,0x61,0x70])](_0x4636d6=>Array(_0x50c67a[_0x45a3a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4636d6[_0x45a3a0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x45a3a0([0x66,0x69,0x6c,0x6c])](_0x4636d6[0x0]===_0x45a3a0([0x2a])?_0x45a3a0([0x2a]):'')[_0x45a3a0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4636d6))[_0x45a3a0([0x73,0x6f,0x6d,0x65])](_0xc66ff7=>_0x50c67a[_0x45a3a0([0x65,0x76,0x65,0x72,0x79])]((_0x4864fe,_0xb76915)=>_0xc66ff7[_0xb76915]===_0x4864fe||_0xc66ff7[_0xb76915]===_0x45a3a0([0x2a])));}function _0x4d1823(){return _0x55b36d&&_0x52dbb7?new window[(_0x45a3a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x24ccdf,_0x201625)=>{_0x55b36d[_0x45a3a0([0x74,0x68,0x65,0x6e])](_0x24ccdf,_0x201625),_0x52dbb7[_0x45a3a0([0x74,0x68,0x65,0x6e])](_0x4bdf7f=>{_0x4bdf7f!=_0x45a3a0([0x56,0x61,0x6c,0x69,0x64])&&_0x24ccdf(_0x4bdf7f);},_0x201625);}):_0x55b36d||_0x52dbb7||_0x45a3a0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2abdc3(_0x5be731,_0x460c6b){return new window[(_0x45a3a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3900e1=>{if(_0x2fdc1c())return _0x3900e1(_0x45a3a0([0x56,0x61,0x6c,0x69,0x64]));_0x2a44ed(),_0x53215a[_0x45a3a0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x45a3a0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x510b2a=!0x1;const _0x26bafc=_0x2fc197();function _0x49857c(_0x505e15){return!!_0x505e15&&(typeof _0x505e15===_0x45a3a0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x505e15===_0x45a3a0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x505e15[_0x45a3a0([0x74,0x68,0x65,0x6e])]===_0x45a3a0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x505e15[_0x45a3a0([0x63,0x61,0x74,0x63,0x68])]===_0x45a3a0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x162fdc(_0x27544b){_0x2d44b7(_0x27544b)[_0x45a3a0([0x74,0x68,0x65,0x6e])](_0x541504=>{if(!_0x541504||_0x541504[_0x45a3a0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x45a3a0([0x6f,0x6b]))return _0x45a3a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x26fbf7(_0x2f611d(_0x26bafc+_0x460c6b))!=_0x541504[_0x45a3a0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x45a3a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x45a3a0([0x56,0x61,0x6c,0x69,0x64]);})[_0x45a3a0([0x74,0x68,0x65,0x6e])](_0x4e4707=>(_0x2e8284(),_0x4e4707),()=>{const _0x4c9038=_0x3d2e22();return null==_0x4c9038?(_0x2e8284(),_0x45a3a0([0x56,0x61,0x6c,0x69,0x64])):_0x45a3a0(_0x4ec661-_0x4c9038>(0x38bee0a3^_0x1ae17d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x45a3a0([0x74,0x68,0x65,0x6e])](_0x3900e1)[_0x45a3a0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3900e1(_0x45a3a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x382ace=0x1c848a23^_0x1ae17d;function _0x2e8284(){const _0x431e2a=_0x45a3a0([0x6c,0x6c,0x63,0x74,0x2d])+_0x26fbf7(_0x2f611d(_0x5be731)),_0x64da0f=_0x50a99f(_0x26fbf7(window[_0x45a3a0([0x4d,0x61,0x74,0x68])][_0x45a3a0([0x63,0x65,0x69,0x6c])](_0x4ec661/_0x382ace)));window[_0x45a3a0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x45a3a0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x431e2a,_0x64da0f);}function _0x3d2e22(){const _0x4e4a52=_0x45a3a0([0x6c,0x6c,0x63,0x74,0x2d])+_0x26fbf7(_0x2f611d(_0x5be731)),_0x1b71c4=window[_0x45a3a0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x45a3a0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e4a52);return _0x1b71c4?window[_0x45a3a0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50a99f(_0x1b71c4),0x10)*_0x382ace:null;}function _0x2d44b7(_0x4afc0c){return new window[(_0x45a3a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4f2c8a,_0x4344d7)=>{_0x4afc0c[_0x45a3a0([0x74,0x68,0x65,0x6e])](_0x4f2c8a,_0x4344d7),window[_0x45a3a0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4344d7,0x1cb3b063^_0x1ae17d);});}}_0x53215a[_0x45a3a0([0x6f,0x6e])](_0x45a3a0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xb97103,_0x527235)=>{if(_0x527235[0x0]!=_0x5be731)return _0x3900e1(_0x45a3a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x527235[0x1]={..._0x527235[0x1],[_0x45a3a0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x26bafc};},{[_0x45a3a0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x45a3a0([0x68,0x69,0x67,0x68])}),_0x53215a[_0x45a3a0([0x6f,0x6e])](_0x45a3a0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xbcba67=>{_0x49857c(_0xbcba67[_0x45a3a0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x510b2a=!0x0,_0x162fdc(_0xbcba67[_0x45a3a0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x45a3a0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x45a3a0([0x6c,0x6f,0x77])}),_0x31aedf[_0x45a3a0([0x74,0x68,0x65,0x6e])](()=>{_0x510b2a||_0x3900e1(_0x45a3a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2fdc1c(){return _0x53215a[_0x45a3a0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x45a3a0([0x76,0x69,0x65,0x77])][_0x45a3a0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x45a3a0([0x61,0x75,0x74,0x6f]);}function _0x2a44ed(){_0x53215a[_0x45a3a0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x45a3a0([0x76,0x69,0x65,0x77])][_0x45a3a0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x45a3a0([0x61,0x75,0x74,0x6f]);}}function _0x125f17(_0x359465){const _0x466c7c=[new window[(_0x45a3a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48d94a=>setTimeout(_0x48d94a,0x1cbb5a6f^_0x1ae17d)),_0x31aedf[_0x45a3a0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x45a3a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54fc73=>{let _0x3692cf=0x0;_0x53215a[_0x45a3a0([0x6d,0x6f,0x64,0x65,0x6c])][_0x45a3a0([0x6f,0x6e])](_0x45a3a0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x123779,_0x47e233)=>{_0x47e233[0x0][_0x45a3a0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3692cf++,_0x3692cf==(0x1cb2614b^_0x1ae17d)&&(_0x54fc73(),_0x123779[_0x45a3a0([0x6f,0x66,0x66])]());});}))];return window[_0x45a3a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x45a3a0([0x72,0x61,0x63,0x65])](_0x466c7c)[_0x45a3a0([0x74,0x68,0x65,0x6e])](()=>_0x359465);}async function _0x83538e(){await _0x31aedf,_0x53215a[_0x45a3a0([0x6d,0x6f,0x64,0x65,0x6c])][_0x45a3a0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x18d193,_0x53215a[_0x45a3a0([0x6d,0x6f,0x64,0x65,0x6c])][_0x45a3a0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x18d193,_0x53215a[_0x45a3a0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x45a3a0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4ad718(){return window[_0x45a3a0([0x67,0x6c,0x6f,0x62])]&&window[_0x45a3a0([0x67,0x6c,0x6f,0x62])][_0x45a3a0([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x265081(_0x1d992e){const _0x3c3de6=_0x2abcfd();_0x53215a[_0x3c3de6]=_0x45a3a0([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1d992e,_0x1d992e!=_0x45a3a0([0x56,0x61,0x6c,0x69,0x64])&&_0x83538e();}function _0x2abcfd(){const _0x36d013=window[_0x45a3a0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x45a3a0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x45a3a0([0x6e,0x6f,0x77])]())[_0x45a3a0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x45a3a0([0x2e]),'');let _0x266b5f=_0x45a3a0([0x61]);for(let _0x3473f2=0x0;_0x3473f2<_0x36d013[_0x45a3a0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3473f2+=0x2){let _0x3b4242=window[_0x45a3a0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36d013[_0x45a3a0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3473f2,_0x3473f2+0x2));_0x3b4242>=_0x546cf4[_0x45a3a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3b4242-=_0x546cf4[_0x45a3a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x266b5f+=_0x546cf4[_0x3b4242];}return _0x266b5f;}function _0x77bb54(){const _0x58c1f8=_0x292e61[_0x45a3a0([0x73,0x70,0x6c,0x69,0x74])](_0x45a3a0([0x2e]));if(0x3!=_0x58c1f8[_0x45a3a0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5df6c9(_0x58c1f8[0x1]);function _0x5df6c9(_0x224403){const _0x1286f9=_0x26c057(_0x224403);return _0x1286f9&&_0x197e14()?_0x1286f9:null;function _0x197e14(){const _0x1f5854=_0x1286f9[_0x45a3a0([0x6a,0x74,0x69])],_0x2355fc=window[_0x45a3a0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f5854[_0x45a3a0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f5854[_0x45a3a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x6c9825={..._0x1286f9,[_0x45a3a0([0x6a,0x74,0x69])]:_0x1f5854[_0x45a3a0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1f5854[_0x45a3a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x6c9825[_0x45a3a0([0x76,0x63])],_0x2f611d(_0x6c9825)==_0x2355fc;}}}async function _0x2c5dc3(){let _0x2e9df0=!0x0;try{const _0x63d739=_0x292e61[_0x45a3a0([0x73,0x70,0x6c,0x69,0x74])](_0x45a3a0([0x2e])),[_0x42738e,_0x2e3f31,_0x2e2ad5]=_0x63d739;return _0x507258(_0x42738e),await _0x1c3a76(_0x42738e,_0x2e3f31,_0x2e2ad5),_0x2e9df0;}catch{return!0x1;}function _0x507258(_0x19d9f9){const _0xd6f86=_0x26c057(_0x19d9f9);_0xd6f86&&_0xd6f86[_0x45a3a0([0x61,0x6c,0x67])]==_0x45a3a0([0x45,0x53,0x32,0x35,0x36])||(_0x2e9df0=!0x1);}async function _0x1c3a76(_0x10f7a7,_0x5781d3,_0x5cd288){const _0x5e0162=window[_0x45a3a0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x45a3a0([0x66,0x72,0x6f,0x6d])](_0x1db449(_0x5cd288),_0x561387=>_0x561387[_0x45a3a0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2ef8f6=new window[(_0x45a3a0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x45a3a0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x10f7a7+_0x45a3a0([0x2e])+_0x5781d3),_0x507772=window[_0x45a3a0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x45a3a0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x507772)return;const _0x21a403=await _0x507772[_0x45a3a0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x45a3a0([0x6a,0x77,0x6b]),_0x5096b2,{[_0x45a3a0([0x6e,0x61,0x6d,0x65])]:_0x45a3a0([0x45,0x43,0x44,0x53,0x41]),[_0x45a3a0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x45a3a0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x45a3a0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x507772[_0x45a3a0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x45a3a0([0x6e,0x61,0x6d,0x65])]:_0x45a3a0([0x45,0x43,0x44,0x53,0x41]),[_0x45a3a0([0x68,0x61,0x73,0x68])]:{[_0x45a3a0([0x6e,0x61,0x6d,0x65])]:_0x45a3a0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x21a403,_0x5e0162,_0x2ef8f6)||(_0x2e9df0=!0x1);}}function _0x26c057(_0x310b9c){return _0x310b9c[_0x45a3a0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x45a3a0([0x65,0x79]))?JSON[_0x45a3a0([0x70,0x61,0x72,0x73,0x65])](_0x1db449(_0x310b9c)):null;}function _0x1db449(_0x1b448a){return window[_0x45a3a0([0x61,0x74,0x6f,0x62])](_0x1b448a[_0x45a3a0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x45a3a0([0x2b]))[_0x45a3a0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x45a3a0([0x2f])));}function _0x2f611d(_0x4f4251){let _0x8acec6=0x1505;function _0x5f362c(_0x3e7c6b){for(let _0x36461b=0x0;_0x36461b<_0x3e7c6b[_0x45a3a0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36461b++){const _0x1aab5f=_0x3e7c6b[_0x45a3a0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x36461b);_0x8acec6=(_0x8acec6<<0x5)+_0x8acec6+_0x1aab5f,_0x8acec6&=_0x8acec6;}}function _0x38529d(_0x14d6ac){Array[_0x45a3a0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x14d6ac)?_0x14d6ac[_0x45a3a0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x38529d):_0x14d6ac&&typeof _0x14d6ac==_0x45a3a0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x45a3a0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x14d6ac)[_0x45a3a0([0x73,0x6f,0x72,0x74])]()[_0x45a3a0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2f3789,_0x553c2f])=>{_0x5f362c(_0x2f3789),_0x38529d(_0x553c2f);}):_0x5f362c(window[_0x45a3a0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x14d6ac));}return _0x38529d(_0x4f4251),_0x8acec6>>>0x0;}function _0x26fbf7(_0x2ee072){return _0x2ee072[_0x45a3a0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x45a3a0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x45a3a0([0x30]));}function _0x50a99f(_0x461c6a){return _0x461c6a[_0x45a3a0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x45a3a0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x45a3a0([0x6a,0x6f,0x69,0x6e])]('');}function _0x18d193(){}function _0x45a3a0(_0x532558){const _0x1e5f62=_0x3c25;return _0x532558[_0x1e5f62(0x1b2)](_0x42bbdf=>String[_0x1e5f62(0x1ac)](_0x42bbdf))[_0x1e5f62(0x182)]('');}_0x265081(await _0x45a49f());}(this);}[_0x2ccdbf(0x18d)](){const _0x343255=_0x2ccdbf;super[_0x343255(0x18d)](),this[_0x343255(0x1b3)][_0x343255(0x18d)](),this[_0x343255(0x1ae)][_0x343255(0x18e)]();}[_0x2ccdbf(0x197)](_0x539449,{outlineDefinitions:_0x5e7679,outlineChanges:_0x30d08e}){const _0x252118=_0x2ccdbf;this[_0x252118(0x1a8)]=_0x5e7679,this[_0x252118(0x1b3)][_0x252118(0x18a)](_0x30d08e);}[_0x2ccdbf(0x185)](_0x44eb9b){const _0x42d8b9=_0x2ccdbf;this[_0x42d8b9(0x1a8)][_0x42d8b9(0x1a2)]&&this[_0x42d8b9(0x1a8)][_0x44eb9b]&&(this[_0x42d8b9(0x1b3)][_0x42d8b9(0x196)]=_0x44eb9b);}[_0x2ccdbf(0x16e)](_0x1e45c1){const _0x1bce35=_0x2ccdbf,_0x59bc1e=this[_0x1bce35(0x1a8)][_0x1e45c1][_0x1bce35(0x177)];this[_0x1bce35(0x176)][_0x1bce35(0x18b)][_0x1bce35(0x170)](_0x10028c=>{const _0x4da39a=_0x1bce35;_0x10028c[_0x4da39a(0x17d)](_0x59bc1e,0x0);}),this[_0x1bce35(0x176)][_0x1bce35(0x194)][_0x1bce35(0x1b3)][_0x1bce35(0x17c)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x1bce35(0x176)][_0x1bce35(0x194)][_0x1bce35(0x1b3)][_0x1bce35(0x189)](),this[_0x1bce35(0x185)](_0x1e45c1);}[_0x2ccdbf(0x198)](){const _0x1306d6=_0x2ccdbf,_0x13a680=this[_0x1306d6(0x176)];let _0x161632;for(const _0x59b935 of _0x13a680[_0x1306d6(0x18b)][_0x1306d6(0x178)][_0x1306d6(0x179)]()){const _0x50f2ed=_0x13a680[_0x1306d6(0x194)][_0x1306d6(0x1b3)][_0x1306d6(0x190)](_0x59b935),_0x37d61b=_0x50f2ed&&new _0x58b1ea(_0x50f2ed)[_0x1306d6(0x1a4)]();if(_0x37d61b){const _0x424bfe=new _0x58b1ea(_0x1a7cde[_0x1306d6(0x1ab)])[_0x1306d6(0x183)](_0x37d61b);_0x424bfe&&(_0x161632=_0x424bfe[_0x1306d6(0x1b1)]+0.25*_0x424bfe[_0x1306d6(0x193)]);}}if(void 0x0===_0x161632)return;const _0x5ddfe9=h(_0x13a680[_0x1306d6(0x194)],this[_0x1306d6(0x1a8)],_0x161632);_0x5ddfe9?this[_0x1306d6(0x185)](this[_0x1306d6(0x1a8)][_0x1306d6(0x195)](_0x5ddfe9)):this[_0x1306d6(0x185)](-0x1);}}function _0x3c25(_0xfeda59,_0x138001){const _0x2c3cf1=_0x2c3c();return _0x3c25=function(_0x3c25af,_0x25671c){_0x3c25af=_0x3c25af-0x16d;let _0x4b4fb3=_0x2c3cf1[_0x3c25af];return _0x4b4fb3;},_0x3c25(_0xfeda59,_0x138001);}function h(_0x3d79c7,_0x177ace,_0x503378,_0x506f66=0x0,_0xe0967a=_0x177ace[_0x2ccdbf(0x1a2)]-0x1){const _0xffcd6=_0x2ccdbf,_0x3838f9=Math[_0xffcd6(0x1b0)](_0x506f66+(_0xe0967a-_0x506f66)/0x2);if(_0xe0967a>=_0x506f66){const _0x596f80=_0x177ace[_0x3838f9],_0x3186f3=_0x3d79c7[_0xffcd6(0x19d)][_0xffcd6(0x19f)](_0x596f80[_0xffcd6(0x177)]);if(!_0x3186f3)return null;const _0xc39fc=_0x3d79c7[_0xffcd6(0x1b3)][_0xffcd6(0x1aa)][_0xffcd6(0x1a1)](_0x3186f3);return new _0x58b1ea(_0xc39fc)[_0xffcd6(0x19c)]>_0x503378?h(_0x3d79c7,_0x177ace,_0x503378,_0x506f66,_0x3838f9-0x1):h(_0x3d79c7,_0x177ace,_0x503378,_0x3838f9+0x1,_0xe0967a);}return _0x3838f9<0x0?null:_0x177ace[_0x3838f9];}
|
|
23
|
+
const _0x3a6d5d=_0xe313;(function(_0xe1f60c,_0x14caa9){const _0x500d8f=_0xe313,_0x2db2ec=_0xe1f60c();while(!![]){try{const _0xf10520=-parseInt(_0x500d8f(0x94))/0x1*(-parseInt(_0x500d8f(0xa3))/0x2)+-parseInt(_0x500d8f(0x72))/0x3+parseInt(_0x500d8f(0x6f))/0x4*(parseInt(_0x500d8f(0x88))/0x5)+parseInt(_0x500d8f(0xac))/0x6*(-parseInt(_0x500d8f(0x9c))/0x7)+parseInt(_0x500d8f(0x8d))/0x8*(parseInt(_0x500d8f(0x7c))/0x9)+parseInt(_0x500d8f(0xb1))/0xa+-parseInt(_0x500d8f(0x8b))/0xb;if(_0xf10520===_0x14caa9)break;else _0x2db2ec['push'](_0x2db2ec['shift']());}catch(_0x41d802){_0x2db2ec['push'](_0x2db2ec['shift']());}}}(_0x442f,0xf2336));import{Plugin as _0x192385}from'ckeditor5/src/core.js';import{CKEditorError as _0x318899,global as _0x5a2a35,Rect as _0x5cddc4,uid as _0x29fc38}from'ckeditor5/src/utils.js';function _0xe313(_0x409e40,_0x1d2e45){const _0x442ffe=_0x442f();return _0xe313=function(_0xe31338,_0x8be410){_0xe31338=_0xe31338-0x68;let _0x9b0e0=_0x442ffe[_0xe31338];return _0x9b0e0;},_0xe313(_0x409e40,_0x1d2e45);}import{DocumentOutlineView as _0x3202ed}from'./ui/documentoutlineview.js';import{throttle as _0x341e2e}from'es-toolkit/compat';function _0x442f(){const _0x1d8781=['isOfficialPlugin','1333338JEfOTa','DocumentOutlineUtils','itemSelected','change','href','getVisible','_setActiveViewItem','modelElement','domConverter','get','4041KNKrpU','pluginName','sync','afterInit','scrollToTheSelection','top','height','focus','window','_handleOutlineChange','length','fromCharCode','5gmcndY','init','isPremiumPlugin','15543572tqFRXn','add','20256XQJyNK','bind','model','element','cancel','resize','bottom','948ACTZfz','toViewElement','document','activeItemIndex','editing','indexOf','floor','listenTo','69538LlNhSz','documentOutline.container','plugins','locale','config','document-outline-container-not-provided','focusTracker','1348fTMMPE','setSelection','destroy','render','join','appendChild','_handleItemSelected','getDomRoot','_currentOutlineDefinitions','276XWIcAg','editor','_updateActiveDefinitionOnViewportChange','getRootNames','mapper','6088110GmhZOU','view','documentOutline.showEmptyHeadings','scroll','_updateActiveDefinitionFromViewportThrottled','mapViewToDom','map','getIntersection','3687540RCoImb','DocumentOutlineUI'];_0x442f=function(){return _0x1d8781;};return _0x442f();}import'../../theme/documentoutline.css';export class DocumentOutlineUI extends _0x192385{[_0x3a6d5d(0x68)];[_0x3a6d5d(0xab)];[_0x3a6d5d(0x6b)];static get[_0x3a6d5d(0x7d)](){const _0x526c14=_0x3a6d5d;return _0x526c14(0x70);}static get[_0x3a6d5d(0x71)](){return!0x0;}static get[_0x3a6d5d(0x8a)](){return!0x0;}constructor(_0x5422bb){const _0x5d01d4=_0x3a6d5d;super(_0x5422bb),this[_0x5d01d4(0x68)]=new _0x3202ed(_0x5422bb[_0x5d01d4(0x9f)],this[_0x5d01d4(0xad)][_0x5d01d4(0xa0)][_0x5d01d4(0x7b)](_0x5d01d4(0x69)),this[_0x5d01d4(0xad)][_0x5d01d4(0xa0)][_0x5d01d4(0x7b)](_0x5d01d4(0x9d))),this[_0x5d01d4(0xab)]=[],this[_0x5d01d4(0x6b)]=_0x341e2e(this[_0x5d01d4(0xae)][_0x5d01d4(0x8e)](this),0x64);}[_0x3a6d5d(0x89)](){const _0x560eec=_0x3a6d5d,_0x5a1846=this[_0x560eec(0xad)],_0x115600=_0x5a1846[_0x560eec(0x9e)][_0x560eec(0x7b)](_0x560eec(0x73));let _0x29d1a2=!0x1;if(this[_0x560eec(0x68)][_0x560eec(0xa6)](),this[_0x560eec(0xad)]['ui'][_0x560eec(0xa2)][_0x560eec(0x8c)](this[_0x560eec(0x68)][_0x560eec(0x90)]),!_0x5a1846[_0x560eec(0xa0)][_0x560eec(0x7b)](_0x560eec(0x9d)))throw new _0x318899(_0x560eec(0xa1),{'editor':_0x5a1846});_0x5a1846[_0x560eec(0xa0)][_0x560eec(0x7b)](_0x560eec(0x9d))[_0x560eec(0xa8)](this[_0x560eec(0x68)][_0x560eec(0x90)]),_0x115600['on'](_0x560eec(0x75),this[_0x560eec(0x85)][_0x560eec(0x8e)](this)),_0x115600['on'](_0x560eec(0x97),(_0xbb8be2,{index:_0x53e08f})=>this[_0x560eec(0x78)](_0x53e08f)),this[_0x560eec(0x68)]['on'](_0x560eec(0x74),(_0x594a4d,_0x2dc66e)=>{const _0x326128=_0x560eec;_0x29d1a2=!0x0,this[_0x326128(0xa9)](_0x2dc66e);}),this[_0x560eec(0x68)][_0x560eec(0x9b)](_0x5a2a35[_0x560eec(0x96)],_0x560eec(0x6a),()=>{const _0x54c503=_0x560eec;_0x29d1a2?_0x29d1a2=!0x1:this[_0x54c503(0x6b)]();},{'useCapture':!0x0}),this[_0x560eec(0x68)][_0x560eec(0x9b)](_0x5a2a35[_0x560eec(0x84)],_0x560eec(0x92),this[_0x560eec(0x6b)],{'useCapture':!0x0});}[_0x3a6d5d(0x7f)](){!async function(_0x5d4fd6){const _0x418afa=_0x2aca0f([0x61,0x57,0x78,0x6c,0x50,0x47,0x30,0x41,0x33,0x43,0x44,0x64,0x48,0x42,0x73,0x5a,0x45,0x71,0x77,0x55,0x4c,0x6f,0x6a,0x4f,0x72,0x67,0x4d,0x58,0x56,0x54,0x52,0x76,0x75,0x31,0x62,0x49,0x32,0x34,0x38,0x37,0x70,0x74,0x7a,0x4a,0x4b,0x51,0x65,0x69,0x68,0x66,0x4e,0x6b,0x59,0x53,0x39,0x6e,0x36,0x79,0x35,0x6d,0x63,0x46]),_0x1fa79=0x1cb264a3,_0x186f45=0x1cb51a3b^_0x1fa79,_0x2d8029=window[_0x2aca0f([0x44,0x61,0x74,0x65])][_0x2aca0f([0x6e,0x6f,0x77])](),_0x13f74b=_0x5d4fd6[_0x2aca0f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x465db8=new window[(_0x2aca0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2be7ce=>{_0x13f74b[_0x2aca0f([0x6f,0x6e,0x63,0x65])](_0x2aca0f([0x72,0x65,0x61,0x64,0x79]),_0x2be7ce);}),_0x2a92d5={[_0x2aca0f([0x6b,0x74,0x79])]:_0x2aca0f([0x45,0x43]),[_0x2aca0f([0x75,0x73,0x65])]:_0x2aca0f([0x73,0x69,0x67]),[_0x2aca0f([0x63,0x72,0x76])]:_0x2aca0f([0x50,0x2d,0x32,0x35,0x36]),[_0x2aca0f([0x78])]:_0x2aca0f([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2aca0f([0x79])]:_0x2aca0f([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2aca0f([0x61,0x6c,0x67])]:_0x2aca0f([0x45,0x53,0x32,0x35,0x36])},_0x4bdd1f=_0x13f74b[_0x2aca0f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2aca0f([0x67,0x65,0x74])](_0x2aca0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4dd388(){let _0x474f15,_0x592fe4=null,_0x3525be=null;try{if(_0x4bdd1f==_0x2aca0f([0x47,0x50,0x4c]))return _0x2aca0f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x474f15=_0x371524(),!_0x474f15)return _0x2aca0f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x474f15[_0x2aca0f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3525be=_0x382181(_0x474f15[_0x2aca0f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x474f15[_0x2aca0f([0x6a,0x74,0x69])])),await _0x13adae()?_0x283dc2()?_0x29a41e()?_0x2aca0f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5afd3e()?(_0x474f15[_0x2aca0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2aca0f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x592fe4=_0x217a10(_0x2aca0f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x760e73()):_0x2aca0f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2aca0f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2aca0f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2aca0f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x29a41e(){const _0x150169=[_0x2aca0f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2aca0f([0x74,0x72,0x69,0x61,0x6c])][_0x2aca0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x474f15[_0x2aca0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2d8029/0x3e8:0xe10*_0x186f45;return _0x474f15[_0x2aca0f([0x65,0x78,0x70])]<_0x150169;}function _0x283dc2(){const _0x49c728=_0x474f15[_0x2aca0f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x49c728&&(!!_0x49c728[_0x2aca0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2aca0f([0x2a]))||(!!_0x49c728[_0x2aca0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2aca0f([0x44,0x4f]))||(!!_0x49c728[_0x2aca0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2aca0f([0x50,0x50]))||!(!_0x49c728[_0x2aca0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2aca0f([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x590aa7()))));}function _0x5afd3e(){const _0x3c3050=_0xe313,_0x3e176f=_0x474f15[_0x2aca0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3e176f||0x0==_0x3e176f[_0x2aca0f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x282ec6}=new URL(window[_0x2aca0f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3c3050(0x76)]);if(_0x3e176f[_0x2aca0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x282ec6))return!0x0;const _0xbb10a6=_0x282ec6[_0x2aca0f([0x73,0x70,0x6c,0x69,0x74])](_0x2aca0f([0x2e]));return _0x3e176f[_0x2aca0f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c7392=>_0x2c7392[_0x2aca0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2aca0f([0x2a])))[_0x2aca0f([0x6d,0x61,0x70])](_0x639ba2=>_0x639ba2[_0x2aca0f([0x73,0x70,0x6c,0x69,0x74])](_0x2aca0f([0x2e])))[_0x2aca0f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x329745=>_0x329745[_0x2aca0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xbb10a6[_0x2aca0f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2aca0f([0x6d,0x61,0x70])](_0x43ba15=>Array(_0xbb10a6[_0x2aca0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x43ba15[_0x2aca0f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2aca0f([0x66,0x69,0x6c,0x6c])](_0x43ba15[0x0]===_0x2aca0f([0x2a])?_0x2aca0f([0x2a]):'')[_0x2aca0f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x43ba15))[_0x2aca0f([0x73,0x6f,0x6d,0x65])](_0x31863a=>_0xbb10a6[_0x2aca0f([0x65,0x76,0x65,0x72,0x79])]((_0x5cd6ab,_0x5c12cc)=>_0x31863a[_0x5c12cc]===_0x5cd6ab||_0x31863a[_0x5c12cc]===_0x2aca0f([0x2a])));}function _0x760e73(){return _0x592fe4&&_0x3525be?new window[(_0x2aca0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e0366,_0x4252c5)=>{_0x592fe4[_0x2aca0f([0x74,0x68,0x65,0x6e])](_0x5e0366,_0x4252c5),_0x3525be[_0x2aca0f([0x74,0x68,0x65,0x6e])](_0x15b3be=>{_0x15b3be!=_0x2aca0f([0x56,0x61,0x6c,0x69,0x64])&&_0x5e0366(_0x15b3be);},_0x4252c5);}):_0x592fe4||_0x3525be||_0x2aca0f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x382181(_0xf1926e,_0x92f9b8){return new window[(_0x2aca0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7793cf=>{if(_0x86d04a())return _0x7793cf(_0x2aca0f([0x56,0x61,0x6c,0x69,0x64]));_0x243d6a(),_0x13f74b[_0x2aca0f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2aca0f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x376a63=!0x1;const _0x2d717b=_0x29fc38();function _0x1a06d4(_0x3ae51a){return!!_0x3ae51a&&(typeof _0x3ae51a===_0x2aca0f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3ae51a===_0x2aca0f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3ae51a[_0x2aca0f([0x74,0x68,0x65,0x6e])]===_0x2aca0f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3ae51a[_0x2aca0f([0x63,0x61,0x74,0x63,0x68])]===_0x2aca0f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x399c71(_0x5ee8f2){_0x413360(_0x5ee8f2)[_0x2aca0f([0x74,0x68,0x65,0x6e])](_0x2c9f7d=>{if(!_0x2c9f7d||_0x2c9f7d[_0x2aca0f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2aca0f([0x6f,0x6b]))return _0x2aca0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x38c6eb(_0x1ae6a3(_0x2d717b+_0x92f9b8))!=_0x2c9f7d[_0x2aca0f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2aca0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2aca0f([0x56,0x61,0x6c,0x69,0x64]);})[_0x2aca0f([0x74,0x68,0x65,0x6e])](_0x5bb301=>(_0x19e096(),_0x5bb301),()=>{const _0x1b0f26=_0x1cdcc5();return null==_0x1b0f26?(_0x19e096(),_0x2aca0f([0x56,0x61,0x6c,0x69,0x64])):_0x2aca0f(_0x2d8029-_0x1b0f26>(0x38bee0a3^_0x1fa79)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2aca0f([0x74,0x68,0x65,0x6e])](_0x7793cf)[_0x2aca0f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x7793cf(_0x2aca0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4e0c23=0x1c848a23^_0x1fa79;function _0x19e096(){const _0x380d10=_0x2aca0f([0x6c,0x6c,0x63,0x74,0x2d])+_0x38c6eb(_0x1ae6a3(_0xf1926e)),_0x23850a=_0x172aa0(_0x38c6eb(window[_0x2aca0f([0x4d,0x61,0x74,0x68])][_0x2aca0f([0x63,0x65,0x69,0x6c])](_0x2d8029/_0x4e0c23)));window[_0x2aca0f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2aca0f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x380d10,_0x23850a);}function _0x1cdcc5(){const _0x20aa3e=_0x2aca0f([0x6c,0x6c,0x63,0x74,0x2d])+_0x38c6eb(_0x1ae6a3(_0xf1926e)),_0x1591d1=window[_0x2aca0f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2aca0f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x20aa3e);return _0x1591d1?window[_0x2aca0f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x172aa0(_0x1591d1),0x10)*_0x4e0c23:null;}function _0x413360(_0xf069cd){return new window[(_0x2aca0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x196f78,_0x5aae61)=>{_0xf069cd[_0x2aca0f([0x74,0x68,0x65,0x6e])](_0x196f78,_0x5aae61),window[_0x2aca0f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5aae61,0x1cb3b063^_0x1fa79);});}}_0x13f74b[_0x2aca0f([0x6f,0x6e])](_0x2aca0f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x21005a,_0x1af29b)=>{if(_0x1af29b[0x0]!=_0xf1926e)return _0x7793cf(_0x2aca0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1af29b[0x1]={..._0x1af29b[0x1],[_0x2aca0f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2d717b};},{[_0x2aca0f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2aca0f([0x68,0x69,0x67,0x68])}),_0x13f74b[_0x2aca0f([0x6f,0x6e])](_0x2aca0f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1782c2=>{_0x1a06d4(_0x1782c2[_0x2aca0f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x376a63=!0x0,_0x399c71(_0x1782c2[_0x2aca0f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2aca0f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2aca0f([0x6c,0x6f,0x77])}),_0x465db8[_0x2aca0f([0x74,0x68,0x65,0x6e])](()=>{_0x376a63||_0x7793cf(_0x2aca0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x86d04a(){return _0x13f74b[_0x2aca0f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2aca0f([0x76,0x69,0x65,0x77])][_0x2aca0f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2aca0f([0x61,0x75,0x74,0x6f]);}function _0x243d6a(){_0x13f74b[_0x2aca0f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2aca0f([0x76,0x69,0x65,0x77])][_0x2aca0f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2aca0f([0x61,0x75,0x74,0x6f]);}}function _0x217a10(_0x16cc06){const _0x1744ee=[new window[(_0x2aca0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x540790=>setTimeout(_0x540790,0x1cbb5a6f^_0x1fa79)),_0x465db8[_0x2aca0f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2aca0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x487129=>{let _0x852522=0x0;_0x13f74b[_0x2aca0f([0x6d,0x6f,0x64,0x65,0x6c])][_0x2aca0f([0x6f,0x6e])](_0x2aca0f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4460bf,_0x1fed41)=>{_0x1fed41[0x0][_0x2aca0f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x852522++,_0x852522==(0x1cb2614b^_0x1fa79)&&(_0x487129(),_0x4460bf[_0x2aca0f([0x6f,0x66,0x66])]());});}))];return window[_0x2aca0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2aca0f([0x72,0x61,0x63,0x65])](_0x1744ee)[_0x2aca0f([0x74,0x68,0x65,0x6e])](()=>_0x16cc06);}async function _0x2db3a1(){await _0x465db8,_0x13f74b[_0x2aca0f([0x6d,0x6f,0x64,0x65,0x6c])][_0x2aca0f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3ab69c,_0x13f74b[_0x2aca0f([0x6d,0x6f,0x64,0x65,0x6c])][_0x2aca0f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3ab69c,_0x13f74b[_0x2aca0f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2aca0f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x590aa7(){return window[_0x2aca0f([0x67,0x6c,0x6f,0x62])]&&window[_0x2aca0f([0x67,0x6c,0x6f,0x62])][_0x2aca0f([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x299ea5(_0x32cd84){const _0x47f46c=_0x24880f();_0x13f74b[_0x47f46c]=_0x2aca0f([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x32cd84,_0x32cd84!=_0x2aca0f([0x56,0x61,0x6c,0x69,0x64])&&_0x2db3a1();}function _0x24880f(){const _0x2eb64c=window[_0x2aca0f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2aca0f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2aca0f([0x6e,0x6f,0x77])]())[_0x2aca0f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2aca0f([0x2e]),'');let _0x5c6f47=_0x2aca0f([0x61]);for(let _0x14f43d=0x0;_0x14f43d<_0x2eb64c[_0x2aca0f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14f43d+=0x2){let _0x2220f1=window[_0x2aca0f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2eb64c[_0x2aca0f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x14f43d,_0x14f43d+0x2));_0x2220f1>=_0x418afa[_0x2aca0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2220f1-=_0x418afa[_0x2aca0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5c6f47+=_0x418afa[_0x2220f1];}return _0x5c6f47;}function _0x371524(){const _0x5c5681=_0x4bdd1f[_0x2aca0f([0x73,0x70,0x6c,0x69,0x74])](_0x2aca0f([0x2e]));if(0x3!=_0x5c5681[_0x2aca0f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4596f5(_0x5c5681[0x1]);function _0x4596f5(_0x48299c){const _0x5b9df9=_0x6e42(_0x48299c);return _0x5b9df9&&_0x44c949()?_0x5b9df9:null;function _0x44c949(){const _0x169afe=_0x5b9df9[_0x2aca0f([0x6a,0x74,0x69])],_0x45519b=window[_0x2aca0f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x169afe[_0x2aca0f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x169afe[_0x2aca0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x143d1d={..._0x5b9df9,[_0x2aca0f([0x6a,0x74,0x69])]:_0x169afe[_0x2aca0f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x169afe[_0x2aca0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x143d1d[_0x2aca0f([0x76,0x63])],_0x1ae6a3(_0x143d1d)==_0x45519b;}}}async function _0x13adae(){let _0x79ede9=!0x0;try{const _0x54cd92=_0x4bdd1f[_0x2aca0f([0x73,0x70,0x6c,0x69,0x74])](_0x2aca0f([0x2e])),[_0x1c76aa,_0x3b5c46,_0xd0798f]=_0x54cd92;return _0x12a0f7(_0x1c76aa),await _0x1a6e3a(_0x1c76aa,_0x3b5c46,_0xd0798f),_0x79ede9;}catch{return!0x1;}function _0x12a0f7(_0x2993ed){const _0x14c454=_0x6e42(_0x2993ed);_0x14c454&&_0x14c454[_0x2aca0f([0x61,0x6c,0x67])]==_0x2aca0f([0x45,0x53,0x32,0x35,0x36])||(_0x79ede9=!0x1);}async function _0x1a6e3a(_0x175b2f,_0x12a2b4,_0x5a287b){const _0x542a8a=window[_0x2aca0f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2aca0f([0x66,0x72,0x6f,0x6d])](_0x840d26(_0x5a287b),_0x22b764=>_0x22b764[_0x2aca0f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4d98bd=new window[(_0x2aca0f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2aca0f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x175b2f+_0x2aca0f([0x2e])+_0x12a2b4),_0x20c204=window[_0x2aca0f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2aca0f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x20c204)return;const _0x290946=await _0x20c204[_0x2aca0f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2aca0f([0x6a,0x77,0x6b]),_0x2a92d5,{[_0x2aca0f([0x6e,0x61,0x6d,0x65])]:_0x2aca0f([0x45,0x43,0x44,0x53,0x41]),[_0x2aca0f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2aca0f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2aca0f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x20c204[_0x2aca0f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2aca0f([0x6e,0x61,0x6d,0x65])]:_0x2aca0f([0x45,0x43,0x44,0x53,0x41]),[_0x2aca0f([0x68,0x61,0x73,0x68])]:{[_0x2aca0f([0x6e,0x61,0x6d,0x65])]:_0x2aca0f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x290946,_0x542a8a,_0x4d98bd)||(_0x79ede9=!0x1);}}function _0x6e42(_0x224924){return _0x224924[_0x2aca0f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2aca0f([0x65,0x79]))?JSON[_0x2aca0f([0x70,0x61,0x72,0x73,0x65])](_0x840d26(_0x224924)):null;}function _0x840d26(_0x1391bb){return window[_0x2aca0f([0x61,0x74,0x6f,0x62])](_0x1391bb[_0x2aca0f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2aca0f([0x2b]))[_0x2aca0f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2aca0f([0x2f])));}function _0x1ae6a3(_0xa54f9b){let _0x3632e5=0x1505;function _0x416c1a(_0x5a5f3e){for(let _0x2d8cce=0x0;_0x2d8cce<_0x5a5f3e[_0x2aca0f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d8cce++){const _0x244deb=_0x5a5f3e[_0x2aca0f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2d8cce);_0x3632e5=(_0x3632e5<<0x5)+_0x3632e5+_0x244deb,_0x3632e5&=_0x3632e5;}}function _0x5bd35a(_0x14377d){Array[_0x2aca0f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x14377d)?_0x14377d[_0x2aca0f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5bd35a):_0x14377d&&typeof _0x14377d==_0x2aca0f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2aca0f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x14377d)[_0x2aca0f([0x73,0x6f,0x72,0x74])]()[_0x2aca0f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2bc72a,_0x57be93])=>{_0x416c1a(_0x2bc72a),_0x5bd35a(_0x57be93);}):_0x416c1a(window[_0x2aca0f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x14377d));}return _0x5bd35a(_0xa54f9b),_0x3632e5>>>0x0;}function _0x38c6eb(_0x165d8e){return _0x165d8e[_0x2aca0f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2aca0f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2aca0f([0x30]));}function _0x172aa0(_0x374f3d){return _0x374f3d[_0x2aca0f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2aca0f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2aca0f([0x6a,0x6f,0x69,0x6e])]('');}function _0x3ab69c(){}function _0x2aca0f(_0x4febd0){const _0x3c7507=_0xe313;return _0x4febd0[_0x3c7507(0x6d)](_0x221b67=>String[_0x3c7507(0x87)](_0x221b67))[_0x3c7507(0xa7)]('');}_0x299ea5(await _0x4dd388());}(this);}[_0x3a6d5d(0xa5)](){const _0x189c09=_0x3a6d5d;super[_0x189c09(0xa5)](),this[_0x189c09(0x68)][_0x189c09(0xa5)](),this[_0x189c09(0x6b)][_0x189c09(0x91)]();}[_0x3a6d5d(0x85)](_0x554031,{outlineDefinitions:_0x2dfccf,outlineChanges:_0x1188f0}){const _0x57c50f=_0x3a6d5d;this[_0x57c50f(0xab)]=_0x2dfccf,this[_0x57c50f(0x68)][_0x57c50f(0x7e)](_0x1188f0);}[_0x3a6d5d(0x78)](_0xc7a65a){const _0x3b3d5d=_0x3a6d5d;this[_0x3b3d5d(0xab)][_0x3b3d5d(0x86)]&&this[_0x3b3d5d(0xab)][_0xc7a65a]&&(this[_0x3b3d5d(0x68)][_0x3b3d5d(0x97)]=_0xc7a65a);}[_0x3a6d5d(0xa9)](_0x22aecf){const _0x350b27=_0x3a6d5d,_0x5dc02d=this[_0x350b27(0xab)][_0x22aecf][_0x350b27(0x79)];this[_0x350b27(0xad)][_0x350b27(0x8f)][_0x350b27(0x75)](_0x4f08ab=>{const _0x1fb63b=_0x350b27;_0x4f08ab[_0x1fb63b(0xa4)](_0x5dc02d,0x0);}),this[_0x350b27(0xad)][_0x350b27(0x98)][_0x350b27(0x68)][_0x350b27(0x80)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x350b27(0xad)][_0x350b27(0x98)][_0x350b27(0x68)][_0x350b27(0x83)](),this[_0x350b27(0x78)](_0x22aecf);}[_0x3a6d5d(0xae)](){const _0x395414=_0x3a6d5d,_0x57e47a=this[_0x395414(0xad)];let _0x1ddc19;for(const _0x39a160 of _0x57e47a[_0x395414(0x8f)][_0x395414(0x96)][_0x395414(0xaf)]()){const _0x122a36=_0x57e47a[_0x395414(0x98)][_0x395414(0x68)][_0x395414(0xaa)](_0x39a160),_0x392738=_0x122a36&&new _0x5cddc4(_0x122a36)[_0x395414(0x77)]();if(_0x392738){const _0x169645=new _0x5cddc4(_0x5a2a35[_0x395414(0x84)])[_0x395414(0x6e)](_0x392738);_0x169645&&(_0x1ddc19=_0x169645[_0x395414(0x81)]+0.25*_0x169645[_0x395414(0x82)]);}}if(void 0x0===_0x1ddc19)return;const _0x5caff0=D(_0x57e47a[_0x395414(0x98)],this[_0x395414(0xab)],_0x1ddc19);_0x5caff0?this[_0x395414(0x78)](this[_0x395414(0xab)][_0x395414(0x99)](_0x5caff0)):this[_0x395414(0x78)](-0x1);}}function D(_0x2e9aa0,_0x3640cc,_0x5c0340,_0x2fda3c=0x0,_0x254471=_0x3640cc[_0x3a6d5d(0x86)]-0x1){const _0x6c9a4c=_0x3a6d5d,_0xb20ce5=Math[_0x6c9a4c(0x9a)](_0x2fda3c+(_0x254471-_0x2fda3c)/0x2);if(_0x254471>=_0x2fda3c){const _0x15051d=_0x3640cc[_0xb20ce5],_0x283e43=_0x2e9aa0[_0x6c9a4c(0xb0)][_0x6c9a4c(0x95)](_0x15051d[_0x6c9a4c(0x79)]);if(!_0x283e43)return null;const _0x3fab56=_0x2e9aa0[_0x6c9a4c(0x68)][_0x6c9a4c(0x7a)][_0x6c9a4c(0x6c)](_0x283e43);return new _0x5cddc4(_0x3fab56)[_0x6c9a4c(0x93)]>_0x5c0340?D(_0x2e9aa0,_0x3640cc,_0x5c0340,_0x2fda3c,_0xb20ce5-0x1):D(_0x2e9aa0,_0x3640cc,_0x5c0340,_0xb20ce5+0x1,_0x254471);}return _0xb20ce5<0x0?null:_0x3640cc[_0xb20ce5];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x43e9fc=_0x4903;function _0x104a(){const _0x3458c5=['modelElement','get','72ymiUQu','editing','getRoot','item','315702dhxtML','getChildren','6XvaziF','toModel','isPremiumPlugin','_deriveHeadingElementsFromConversion','documentOutline.headings','1712008lppTrd','document','_getOutlineDefinitions','204495oFjsCw','change','domConverter','length','indexOf','getFirstPosition','6753560TURYCO','getChild','view','init','6125yegwji','createElement','name','config','editor','activeItemIndex','afterInit','domToView','push','data','level','_headingNames','element','selection','_getActiveHeading','findIndex','model','pluginName','fire','DocumentOutlineUtils','121224cRwctM','934347rqZFwW','backward','includes','_getHeadingNames','isOfficialPlugin','getRootNames','2898kyHqko','text'];_0x104a=function(){return _0x3458c5;};return _0x104a();}(function(_0x2e6107,_0x5c051c){const _0x4363f8=_0x4903,_0x4ac090=_0x2e6107();while(!![]){try{const _0x43a3e0=parseInt(_0x4363f8(0x131))/0x1*(parseInt(_0x4363f8(0x157))/0x2)+parseInt(_0x4363f8(0x158))/0x3+-parseInt(_0x4363f8(0x136))/0x4+parseInt(_0x4363f8(0x139))/0x5+-parseInt(_0x4363f8(0x15e))/0x6*(parseInt(_0x4363f8(0x143))/0x7)+-parseInt(_0x4363f8(0x12b))/0x8*(parseInt(_0x4363f8(0x12f))/0x9)+parseInt(_0x4363f8(0x13f))/0xa;if(_0x43a3e0===_0x5c051c)break;else _0x4ac090['push'](_0x4ac090['shift']());}catch(_0x3f9bfb){_0x4ac090['push'](_0x4ac090['shift']());}}}(_0x104a,0x36f17));import{Plugin as _0x305e04}from'ckeditor5/src/core.js';import{debounce as _0x398d88}from'es-toolkit/compat';import{ModelTreeWalker as _0x10653c}from'ckeditor5/src/engine.js';function _0x4903(_0x7f24b8,_0x2e2c23){const _0x104ae2=_0x104a();return _0x4903=function(_0x490355,_0x52d932){_0x490355=_0x490355-0x128;let _0x1db21b=_0x104ae2[_0x490355];return _0x1db21b;},_0x4903(_0x7f24b8,_0x2e2c23);}import{getElementText as _0x141369,getDefaultFeatureHeadingNames as _0x2fd020}from'./utils.js';import{diff as _0x46664c,diffToChanges as _0x24756c}from'ckeditor5/src/utils.js';export class DocumentOutlineUtils extends _0x305e04{static get[_0x43e9fc(0x154)](){const _0x3ab0e0=_0x43e9fc;return _0x3ab0e0(0x156);}static get[_0x43e9fc(0x15c)](){return!0x0;}static get[_0x43e9fc(0x133)](){return!0x0;}[_0x43e9fc(0x14e)]=[];[_0x43e9fc(0x142)](){const _0x5f1d15=_0x43e9fc,_0x5f59c7=this[_0x5f1d15(0x147)];this[_0x5f1d15(0x14e)]=this[_0x5f1d15(0x15b)]();let _0x2be3cf=[];_0x5f59c7[_0x5f1d15(0x153)][_0x5f1d15(0x137)]['on'](_0x5f1d15(0x13a),_0x398d88(()=>{const _0xd6f4d3=_0x5f1d15,_0x52493d=_0x2be3cf;_0x2be3cf=this[_0xd6f4d3(0x138)]();const _0x5c1711=_0x46664c(_0x52493d,_0x2be3cf,(_0x50766f,_0x241add)=>_0x50766f[_0xd6f4d3(0x14d)]===_0x241add[_0xd6f4d3(0x14d)]&&_0x50766f[_0xd6f4d3(0x128)]===_0x241add[_0xd6f4d3(0x128)]&&_0x50766f[_0xd6f4d3(0x129)]===_0x241add[_0xd6f4d3(0x129)]),_0x1c4a0b=_0x24756c(_0x5c1711,_0x2be3cf),_0x4d4560=this[_0xd6f4d3(0x151)](),_0x14397f=_0x2be3cf[_0xd6f4d3(0x152)](_0x3ff093=>_0x3ff093[_0xd6f4d3(0x129)]===_0x4d4560);_0x1c4a0b[_0xd6f4d3(0x13c)]&&this[_0xd6f4d3(0x155)](_0xd6f4d3(0x13a),{'outlineDefinitions':_0x2be3cf,'activeItemIndex':_0x14397f,'outlineChanges':_0x1c4a0b}),this[_0xd6f4d3(0x155)](_0xd6f4d3(0x148),{'index':_0x14397f});},0xfa,{'leading':!0x0,'trailing':!0x0}));}[_0x43e9fc(0x149)](){const _0x557deb=_0x43e9fc;this[_0x557deb(0x14e)][_0x557deb(0x13c)]||this[_0x557deb(0x134)]();}[_0x43e9fc(0x138)](){const _0x4bdfb0=_0x43e9fc,_0x1527ff=this[_0x4bdfb0(0x147)],_0x3666fc=[],_0x2be964=this[_0x4bdfb0(0x14e)];for(const _0x559571 of _0x1527ff[_0x4bdfb0(0x153)][_0x4bdfb0(0x137)][_0x4bdfb0(0x15d)]())_0x951f70(_0x1527ff[_0x4bdfb0(0x153)][_0x4bdfb0(0x137)][_0x4bdfb0(0x12d)](_0x559571));function _0x951f70(_0x2c0ff0){const _0x14db6c=_0x4bdfb0;for(const _0x38b4b9 of _0x2c0ff0[_0x14db6c(0x130)]())_0x38b4b9['is'](_0x14db6c(0x14f))&&(_0x2be964[_0x14db6c(0x15a)](_0x38b4b9[_0x14db6c(0x145)])&&_0x3666fc[_0x14db6c(0x14b)]({'level':_0x2be964[_0x14db6c(0x13d)](_0x38b4b9[_0x14db6c(0x145)])+0x1,'text':_0x141369(_0x38b4b9),'modelElement':_0x38b4b9}),_0x951f70(_0x38b4b9));}return _0x3666fc;}[_0x43e9fc(0x151)](){const _0x52b3e6=_0x43e9fc,_0x4c55fd=this[_0x52b3e6(0x147)][_0x52b3e6(0x153)][_0x52b3e6(0x137)][_0x52b3e6(0x150)][_0x52b3e6(0x13e)](),_0x4c9b3d=new _0x10653c({'direction':_0x52b3e6(0x159),'startPosition':_0x4c55fd});for(const _0x7257f8 of _0x4c9b3d)if(_0x7257f8[_0x52b3e6(0x12e)]['is'](_0x52b3e6(0x14f))&&this[_0x52b3e6(0x14e)][_0x52b3e6(0x15a)](_0x7257f8[_0x52b3e6(0x12e)][_0x52b3e6(0x145)]))return _0x7257f8[_0x52b3e6(0x12e)];}[_0x43e9fc(0x15b)](){const _0x1b0d59=_0x43e9fc,_0x14c9b5=this[_0x1b0d59(0x147)][_0x1b0d59(0x146)][_0x1b0d59(0x12a)](_0x1b0d59(0x135));return _0x14c9b5||_0x2fd020(this[_0x1b0d59(0x147)]);}[_0x43e9fc(0x134)](){const _0x1a1948=_0x43e9fc,_0xb91a94=this[_0x1a1948(0x147)],_0x22eb3b=['h1','h2','h3','h4','h5','h6'],_0x49269b=[];for(const _0x2da9e4 of _0x22eb3b){const _0x1dbdef=_0xb91a94[_0x1a1948(0x12c)][_0x1a1948(0x141)][_0x1a1948(0x13b)][_0x1a1948(0x14a)](document[_0x1a1948(0x144)](_0x2da9e4)),_0x13f2ee=_0xb91a94[_0x1a1948(0x14c)][_0x1a1948(0x132)](_0x1dbdef)[_0x1a1948(0x140)](0x0);_0x13f2ee?.['is'](_0x1a1948(0x14f))&&_0x49269b[_0x1a1948(0x14b)](_0x13f2ee[_0x1a1948(0x145)]);}this[_0x1a1948(0x14e)]=_0x49269b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xb67bde,_0x30d475){const _0x4c0961=_0x13fd,_0x4e1022=_0xb67bde();while(!![]){try{const _0x5b9048=parseInt(_0x4c0961(0x1bc))/0x1+-parseInt(_0x4c0961(0x1ce))/0x2*(parseInt(_0x4c0961(0x1cc))/0x3)+-parseInt(_0x4c0961(0x1b7))/0x4+parseInt(_0x4c0961(0x1c7))/0x5+parseInt(_0x4c0961(0x1b8))/0x6*(parseInt(_0x4c0961(0x1ca))/0x7)+-parseInt(_0x4c0961(0x1c4))/0x8*(-parseInt(_0x4c0961(0x1bb))/0x9)+-parseInt(_0x4c0961(0x1b6))/0xa;if(_0x5b9048===_0x30d475)break;else _0x4e1022['push'](_0x4e1022['shift']());}catch(_0x3e8300){_0x4e1022['push'](_0x4e1022['shift']());}}}(_0x4890,0x563d5));import{View as _0x47089e}from'ckeditor5/src/ui.js';import{getTranslation as _0x40b206}from'../../utils/common-translations.js';function _0x13fd(_0x1313bb,_0x3f91a0){const _0x4890b5=_0x4890();return _0x13fd=function(_0x13fd6c,_0x22107c){_0x13fd6c=_0x13fd6c-0x1b6;let _0x431b2c=_0x4890b5[_0x13fd6c];return _0x431b2c;},_0x13fd(_0x1313bb,_0x3f91a0);}function _0x4890(){const _0x295418=['set','786015pJaoJQ','568775pzFWmd','bind','ck-document-outline__item_level-','level','text','div','bindTemplate','ck-document-outline__item_active','8MpJCBm','ck-document-outline__item','ck-document-outline__item_empty','2256205nGwOMa','Empty\x20heading','isEmpty','777AQQABU','click','243BAqywO','ck-reset','14046xdRDzC','isActive','3623850lnokwK','1598932JgcifA','31182iCuoaZ','setTemplate'];_0x4890=function(){return _0x295418;};return _0x4890();}export class DocumentOutlineItemView extends _0x47089e{constructor(_0x579092,_0x46c6ec=!0x1){const _0x30440c=_0x13fd;super(_0x579092);const _0x3f131e=this[_0x30440c(0x1c2)],_0x335d10=_0x46c6ec?'['+_0x40b206(_0x579092,_0x30440c(0x1c8))+']':'';this[_0x30440c(0x1ba)](_0x30440c(0x1c0),''),this[_0x30440c(0x1ba)](_0x30440c(0x1bf),0x1),this[_0x30440c(0x1ba)](_0x30440c(0x1cf),!0x1),this[_0x30440c(0x1bd)](_0x30440c(0x1c9))['to'](this,_0x30440c(0x1c0),_0x4a0df6=>!_0x4a0df6),this[_0x30440c(0x1b9)]({'tag':_0x30440c(0x1c1),'attributes':{'class':['ck',_0x30440c(0x1cd),_0x30440c(0x1c5),_0x3f131e['to'](_0x30440c(0x1bf),_0x4293d1=>_0x30440c(0x1be)+_0x4293d1),_0x3f131e['if'](_0x30440c(0x1cf),_0x30440c(0x1c3)),_0x3f131e['if'](_0x30440c(0x1c9),_0x30440c(0x1c6))],'title':_0x3f131e['to'](_0x30440c(0x1c0))},'children':[{'text':_0x3f131e['to'](_0x30440c(0x1c0),_0xf32e4b=>_0xf32e4b||_0x335d10)}],'on':{'click':_0x3f131e['to'](_0x30440c(0x1cb))}});}}
|