@ckeditor/ckeditor5-document-outline 47.0.0-alpha.3 → 47.0.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 _0x5bda93,Command as _0x4dba6f}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x18c247,throttle as _0x39cf83}from'es-toolkit/compat';import{ModelText as _0x4ecf6c,ModelTreeWalker as _0x3e57b7}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x498848,diffToChanges as _0x367419,scrollAncestorsToShowTarget as _0x2dcf90,CKEditorError as _0x5db4fc,global as _0x34b825,Rect as _0x50ad7e,uid as _0x3b531a,priorities as _0x1f8492}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x131008,ButtonView as _0x42446b,MenuBarMenuListItemButtonView as _0x5c8d9}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0xa447f3,toWidget as _0x4eca48}from'@ckeditor/ckeditor5-widget/dist/index.js';import{IconTableOfContents as _0x47443e}from'@ckeditor/ckeditor5-icons/dist/index.js';function I(_0x220281){let _0x3ba7a0='';for(const _0x53e495 of _0x220281['getChildren']())_0x53e495 instanceof _0x4ecf6c&&(_0x3ba7a0+=_0x53e495['data']);return _0x3ba7a0;}class i extends _0x5bda93{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x51c373=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x2d9669=[];_0x51c373['model']['document']['on']('change',_0x18c247(()=>{const _0x4a9e8d=_0x2d9669;_0x2d9669=this['_getOutlineDefinitions']();const _0x2b194c=_0x498848(_0x4a9e8d,_0x2d9669,(_0x22ee92,_0x3abac9)=>_0x22ee92['level']===_0x3abac9['level']&&_0x22ee92['text']===_0x3abac9['text']&&_0x22ee92['modelElement']===_0x3abac9['modelElement']),_0x541fbe=_0x367419(_0x2b194c,_0x2d9669),_0x550753=this['_getActiveHeading'](),_0x1d647a=_0x2d9669['findIndex'](_0x1ea4ea=>_0x1ea4ea['modelElement']===_0x550753);_0x541fbe['length']&&this['fire']('change',{'outlineDefinitions':_0x2d9669,'activeItemIndex':_0x1d647a,'outlineChanges':_0x541fbe}),this['fire']('activeItemIndex',{'index':_0x1d647a});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x59a292=this['editor'],_0x57793a=[],_0x742e7=this['_headingNames'];for(const _0x2e7cac of _0x59a292['model']['document']['getRootNames']())_0x2abd48(_0x59a292['model']['document']['getRoot'](_0x2e7cac));function _0x2abd48(_0x4f17e5){for(const _0x2399b7 of _0x4f17e5['getChildren']())_0x2399b7['is']('element')&&(_0x742e7['includes'](_0x2399b7['name'])&&_0x57793a['push']({'level':_0x742e7['indexOf'](_0x2399b7['name'])+0x1,'text':I(_0x2399b7),'modelElement':_0x2399b7}),_0x2abd48(_0x2399b7));}return _0x57793a;}['_getActiveHeading'](){const _0x5e6f28=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x3f2e97=new _0x3e57b7({'direction':'backward','startPosition':_0x5e6f28});for(const _0x4f8d51 of _0x3f2e97)if(_0x4f8d51['item']['is']('element')&&this['_headingNames']['includes'](_0x4f8d51['item']['name']))return _0x4f8d51['item'];}['_getHeadingNames'](){const _0x3fedbc=this['editor']['config']['get']('documentOutline.headings');return _0x3fedbc||function(_0x10ead8){const _0x4d0550=_0x10ead8['config']['get']('heading.options');return _0x4d0550?_0x4d0550['reduce']((_0x15f50b,_0x4b7d44)=>('paragraph'!==_0x4b7d44['model']&&_0x15f50b['push'](_0x4b7d44['model']),_0x15f50b),[]):_0x10ead8['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x5cf22a=this['editor'],_0x137507=['h1','h2','h3','h4','h5','h6'],_0x78b948=[];for(const _0x16ddd3 of _0x137507){const _0xca2ef3=_0x5cf22a['editing']['view']['domConverter']['domToView'](document['createElement'](_0x16ddd3)),_0x216051=_0x5cf22a['data']['toModel'](_0xca2ef3)['getChild'](0x0);_0x216051?.['is']('element')&&_0x78b948['push'](_0x216051['name']);}this['_headingNames']=_0x78b948;}}function m(_0x3a0165,_0xf33f58){const t=_0x3a0165['t'];switch(_0xf33f58){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 _0xf33f58;}}class A extends _0x131008{constructor(_0x498693,_0x17e3bb=!0x1){super(_0x498693);const _0x404ccd=this['bindTemplate'],_0x166275=_0x17e3bb?'['+m(_0x498693,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x5cfcd4=>!_0x5cfcd4),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x404ccd['to']('level',_0x49a247=>'ck-document-outline__item_level-'+_0x49a247),_0x404ccd['if']('isActive','ck-document-outline__item_active'),_0x404ccd['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x404ccd['to']('text')},'children':[{'text':_0x404ccd['to']('text',_0x3af696=>_0x3af696||_0x166275)}],'on':{'click':_0x404ccd['to']('click')}});}}class g extends _0x131008{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x2f5882,_0x3b0d36=!0x1,_0x4eed59){super(_0x2f5882),this['showEmptyHeadingText']=_0x3b0d36,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x4eed59,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x4da02a,_0x9028a9,_0x23a1fb,_0x214332)=>{this['_setActiveItem'](_0x214332,_0x23a1fb);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x2f5882['contentLanguageDirection'],'data-document-outline-empty-placeholder':m(_0x2f5882,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x40bccd){_0x40bccd['forEach'](_0x3c7669=>{'insert'==_0x3c7669['type']?this['_insertItem'](_0x3c7669['index'],..._0x3c7669['values']):'delete'==_0x3c7669['type']&&this['_deleteItem'](_0x3c7669['index'],_0x3c7669['howMany']);});}['_setActiveItem'](_0x8d6f7,_0x3253a5){if(-0x1!==_0x8d6f7){const _0x256400=this['items']['get'](_0x8d6f7);_0x256400&&(_0x256400['isActive']=!0x1);}-0x1!==_0x3253a5&&(this['items']['get'](_0x3253a5)['isActive']=!0x0,this['_scrollToItem'](_0x3253a5));}['_insertItem'](_0x59ea09,..._0x4df7e0){const _0x36e49b=_0x4df7e0['map']((_0x3c8552,_0x33d14f)=>{const _0x32dc76=new A(this['locale'],this['showEmptyHeadingText']);return _0x32dc76['text']=_0x3c8552['text'],_0x32dc76['level']=_0x3c8552['level'],_0x59ea09+_0x33d14f===this['activeItemIndex']&&(_0x32dc76['isActive']=!0x0),_0x32dc76;});this['items']['addMany'](_0x36e49b,_0x59ea09);}['_deleteItem'](_0x2c016f,_0x2979a6){do{this['items']['remove'](_0x2c016f);}while(--_0x2979a6);}['_handleItemClick'](_0x82a7e9){const _0x156b68=this['items']['getIndex'](_0x82a7e9['source']);this['fire']('itemSelected',_0x156b68);}['_scrollToItem'](_0x566b2f){_0x2dcf90(this['items']['get'](_0x566b2f)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0x5bda93{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x253d70){super(_0x253d70),this['view']=new g(_0x253d70['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x39cf83(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x25adf5=this['editor'],_0x48db2b=_0x25adf5['plugins']['get']('DocumentOutlineUtils');let _0x349807=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x25adf5['config']['get']('documentOutline.container'))throw new _0x5db4fc('document-outline-container-not-provided',{'editor':_0x25adf5});_0x25adf5['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x48db2b['on']('change',this['_handleOutlineChange']['bind'](this)),_0x48db2b['on']('activeItemIndex',(_0x1e6523,{index:_0x5bbfbb})=>this['_setActiveViewItem'](_0x5bbfbb)),this['view']['on']('itemSelected',(_0x3c9046,_0x1d0c8c)=>{_0x349807=!0x0,this['_handleItemSelected'](_0x1d0c8c);}),this['view']['listenTo'](_0x34b825['document'],'scroll',()=>{_0x349807?_0x349807=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x34b825['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x3f0331){const _0x545be3=_0x1ef3c7([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]),_0x50b2cd=0x1cb264a3,_0x5053aa=0x1cb51033^_0x50b2cd,_0x312545=window[_0x1ef3c7([0x44,0x61,0x74,0x65])][_0x1ef3c7([0x6e,0x6f,0x77])](),_0x1bacc7=_0x3f0331[_0x1ef3c7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1bd05d=new window[(_0x1ef3c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x177a3a=>{_0x1bacc7[_0x1ef3c7([0x6f,0x6e,0x63,0x65])](_0x1ef3c7([0x72,0x65,0x61,0x64,0x79]),_0x177a3a);}),_0x1d10db={[_0x1ef3c7([0x6b,0x74,0x79])]:_0x1ef3c7([0x45,0x43]),[_0x1ef3c7([0x75,0x73,0x65])]:_0x1ef3c7([0x73,0x69,0x67]),[_0x1ef3c7([0x63,0x72,0x76])]:_0x1ef3c7([0x50,0x2d,0x32,0x35,0x36]),[_0x1ef3c7([0x78])]:_0x1ef3c7([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]),[_0x1ef3c7([0x79])]:_0x1ef3c7([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]),[_0x1ef3c7([0x61,0x6c,0x67])]:_0x1ef3c7([0x45,0x53,0x32,0x35,0x36])},_0x229590=_0x1bacc7[_0x1ef3c7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1ef3c7([0x67,0x65,0x74])](_0x1ef3c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4651f4(){let _0x27a5b6,_0x1eac15=null,_0x372578=null;try{if(_0x229590==_0x1ef3c7([0x47,0x50,0x4c]))return _0x1ef3c7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x27a5b6=_0x31e8b3(),!_0x27a5b6)return _0x1ef3c7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x27a5b6[_0x1ef3c7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x372578=_0x479814(_0x27a5b6[_0x1ef3c7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x27a5b6[_0x1ef3c7([0x6a,0x74,0x69])])),await _0x264628()?_0x3455c2()?_0x44bbe1()?_0x1ef3c7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x8d0aba()?(_0x27a5b6[_0x1ef3c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ef3c7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1eac15=_0x4c103c(_0x1ef3c7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x27a5b6[_0x1ef3c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1ef3c7([0x74,0x72,0x69,0x61,0x6c])&&(_0x1eac15=_0x4c103c(_0x1ef3c7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x564574()):_0x1ef3c7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1ef3c7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1ef3c7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1ef3c7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x44bbe1(){const _0x16568b=[_0x1ef3c7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1ef3c7([0x74,0x72,0x69,0x61,0x6c])][_0x1ef3c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27a5b6[_0x1ef3c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x312545/0x3e8:0xe10*_0x5053aa;return _0x27a5b6[_0x1ef3c7([0x65,0x78,0x70])]<_0x16568b;}function _0x3455c2(){const _0x36341b=_0x27a5b6[_0x1ef3c7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x36341b&&(!!_0x36341b[_0x1ef3c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ef3c7([0x2a]))||(!!_0x36341b[_0x1ef3c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ef3c7([0x44,0x4f]))||(!!_0x36341b[_0x1ef3c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ef3c7([0x50,0x50]))||!(!_0x36341b[_0x1ef3c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ef3c7([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x41b2e8()))));}function _0x8d0aba(){const _0x3af030=_0x27a5b6[_0x1ef3c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3af030||0x0==_0x3af030[_0x1ef3c7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x46782c}=new URL(window[_0x1ef3c7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3af030[_0x1ef3c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46782c))return!0x0;const _0x1e0c19=_0x46782c[_0x1ef3c7([0x73,0x70,0x6c,0x69,0x74])](_0x1ef3c7([0x2e]));return _0x3af030[_0x1ef3c7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a59c7=>_0x2a59c7[_0x1ef3c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ef3c7([0x2a])))[_0x1ef3c7([0x6d,0x61,0x70])](_0x26aebf=>_0x26aebf[_0x1ef3c7([0x73,0x70,0x6c,0x69,0x74])](_0x1ef3c7([0x2e])))[_0x1ef3c7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1ae974=>_0x1ae974[_0x1ef3c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1e0c19[_0x1ef3c7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ef3c7([0x6d,0x61,0x70])](_0x3b2753=>Array(_0x1e0c19[_0x1ef3c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3b2753[_0x1ef3c7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1ef3c7([0x66,0x69,0x6c,0x6c])](_0x3b2753[0x0]===_0x1ef3c7([0x2a])?_0x1ef3c7([0x2a]):'')[_0x1ef3c7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3b2753))[_0x1ef3c7([0x73,0x6f,0x6d,0x65])](_0x2dd3b7=>_0x1e0c19[_0x1ef3c7([0x65,0x76,0x65,0x72,0x79])]((_0x353a50,_0xf7ca7a)=>_0x2dd3b7[_0xf7ca7a]===_0x353a50||_0x2dd3b7[_0xf7ca7a]===_0x1ef3c7([0x2a])));}function _0x564574(){return _0x1eac15&&_0x372578?new window[(_0x1ef3c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7e3c5f,_0xbef20b)=>{_0x1eac15[_0x1ef3c7([0x74,0x68,0x65,0x6e])](_0x7e3c5f,_0xbef20b),_0x372578[_0x1ef3c7([0x74,0x68,0x65,0x6e])](_0x20f005=>{_0x20f005!=_0x1ef3c7([0x56,0x61,0x6c,0x69,0x64])&&_0x7e3c5f(_0x20f005);},_0xbef20b);}):_0x1eac15||_0x372578||_0x1ef3c7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x479814(_0x15beff,_0x5128e8){return new window[(_0x1ef3c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4714eb=>{if(_0x3d38fa())return _0x4714eb(_0x1ef3c7([0x56,0x61,0x6c,0x69,0x64]));_0x21248d(),_0x1bacc7[_0x1ef3c7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1ef3c7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x24e6ae=!0x1;const _0x1ebb23=_0x3b531a();function _0x5460d1(_0x3f632a){return!!_0x3f632a&&(typeof _0x3f632a===_0x1ef3c7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3f632a===_0x1ef3c7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3f632a[_0x1ef3c7([0x74,0x68,0x65,0x6e])]===_0x1ef3c7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3f632a[_0x1ef3c7([0x63,0x61,0x74,0x63,0x68])]===_0x1ef3c7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2c32b9(_0x55531c){_0x2d7b99(_0x55531c)[_0x1ef3c7([0x74,0x68,0x65,0x6e])](_0xe0925d=>{if(!_0xe0925d||_0xe0925d[_0x1ef3c7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1ef3c7([0x6f,0x6b]))return _0x1ef3c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x37958e(_0x2442bd(_0x1ebb23+_0x5128e8))!=_0xe0925d[_0x1ef3c7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1ef3c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1ef3c7([0x56,0x61,0x6c,0x69,0x64]);})[_0x1ef3c7([0x74,0x68,0x65,0x6e])](_0x1c779e=>(_0x53d557(),_0x1c779e),()=>{const _0x5def95=_0x497e5c();return null==_0x5def95?(_0x53d557(),_0x1ef3c7([0x56,0x61,0x6c,0x69,0x64])):_0x1ef3c7(_0x312545-_0x5def95>(0x38bee0a3^_0x50b2cd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1ef3c7([0x74,0x68,0x65,0x6e])](_0x4714eb)[_0x1ef3c7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4714eb(_0x1ef3c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x436694=0x1c848a23^_0x50b2cd;function _0x53d557(){const _0x4fea21=_0x1ef3c7([0x6c,0x6c,0x63,0x74,0x2d])+_0x37958e(_0x2442bd(_0x15beff)),_0x2146a1=_0x2ea8a8(_0x37958e(window[_0x1ef3c7([0x4d,0x61,0x74,0x68])][_0x1ef3c7([0x63,0x65,0x69,0x6c])](_0x312545/_0x436694)));window[_0x1ef3c7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ef3c7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4fea21,_0x2146a1);}function _0x497e5c(){const _0x34f8b7=_0x1ef3c7([0x6c,0x6c,0x63,0x74,0x2d])+_0x37958e(_0x2442bd(_0x15beff)),_0x29e098=window[_0x1ef3c7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1ef3c7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x34f8b7);return _0x29e098?window[_0x1ef3c7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ea8a8(_0x29e098),0x10)*_0x436694:null;}function _0x2d7b99(_0x5e90db){return new window[(_0x1ef3c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3f7ea8,_0x233ca1)=>{_0x5e90db[_0x1ef3c7([0x74,0x68,0x65,0x6e])](_0x3f7ea8,_0x233ca1),window[_0x1ef3c7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x233ca1,0x1cb3b063^_0x50b2cd);});}}_0x1bacc7[_0x1ef3c7([0x6f,0x6e])](_0x1ef3c7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1c0b8f,_0xa9404)=>{if(_0xa9404[0x0]!=_0x15beff)return _0x4714eb(_0x1ef3c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xa9404[0x1]={..._0xa9404[0x1],[_0x1ef3c7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1ebb23};},{[_0x1ef3c7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ef3c7([0x68,0x69,0x67,0x68])}),_0x1bacc7[_0x1ef3c7([0x6f,0x6e])](_0x1ef3c7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2e0eda=>{_0x5460d1(_0x2e0eda[_0x1ef3c7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x24e6ae=!0x0,_0x2c32b9(_0x2e0eda[_0x1ef3c7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1ef3c7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1ef3c7([0x6c,0x6f,0x77])}),_0x1bd05d[_0x1ef3c7([0x74,0x68,0x65,0x6e])](()=>{_0x24e6ae||_0x4714eb(_0x1ef3c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3d38fa(){return _0x1bacc7[_0x1ef3c7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ef3c7([0x76,0x69,0x65,0x77])][_0x1ef3c7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1ef3c7([0x61,0x75,0x74,0x6f]);}function _0x21248d(){_0x1bacc7[_0x1ef3c7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ef3c7([0x76,0x69,0x65,0x77])][_0x1ef3c7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1ef3c7([0x61,0x75,0x74,0x6f]);}}function _0x4c103c(_0x23ace8){const _0x3bb7e3=[new window[(_0x1ef3c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4fb527=>setTimeout(_0x4fb527,0x1cbb5a6f^_0x50b2cd)),_0x1bd05d[_0x1ef3c7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1ef3c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x339900=>{let _0xf7cb20=0x0;_0x1bacc7[_0x1ef3c7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ef3c7([0x6f,0x6e])](_0x1ef3c7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4d4d27,_0x59a765)=>{_0x59a765[0x0][_0x1ef3c7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xf7cb20++,_0xf7cb20==(0x1cb2655b^_0x50b2cd)&&(_0x339900(),_0x4d4d27[_0x1ef3c7([0x6f,0x66,0x66])]());});}))];return window[_0x1ef3c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1ef3c7([0x72,0x61,0x63,0x65])](_0x3bb7e3)[_0x1ef3c7([0x74,0x68,0x65,0x6e])](()=>_0x23ace8);}async function _0x232005(){await _0x1bd05d,_0x1bacc7[_0x1ef3c7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ef3c7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x484683,_0x1bacc7[_0x1ef3c7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ef3c7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x484683,_0x1bacc7[_0x1ef3c7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1ef3c7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x41b2e8(){return window[_0x1ef3c7([0x67,0x6c,0x6f,0x62])]&&window[_0x1ef3c7([0x67,0x6c,0x6f,0x62])][_0x1ef3c7([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x1184c4(_0x4a5f7c){const _0x116dd3=_0x2f44fb();_0x1bacc7[_0x116dd3]=_0x1ef3c7([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])+_0x4a5f7c,_0x4a5f7c!=_0x1ef3c7([0x56,0x61,0x6c,0x69,0x64])&&_0x232005();}function _0x2f44fb(){const _0x2c7251=window[_0x1ef3c7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1ef3c7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1ef3c7([0x6e,0x6f,0x77])]())[_0x1ef3c7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1ef3c7([0x2e]),'');let _0x314ac1=_0x1ef3c7([0x61]);for(let _0x19639a=0x0;_0x19639a<_0x2c7251[_0x1ef3c7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19639a+=0x2){let _0x10a6c5=window[_0x1ef3c7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c7251[_0x1ef3c7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x19639a,_0x19639a+0x2));_0x10a6c5>=_0x545be3[_0x1ef3c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x10a6c5-=_0x545be3[_0x1ef3c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x314ac1+=_0x545be3[_0x10a6c5];}return _0x314ac1;}function _0x31e8b3(){const _0x42128a=_0x229590[_0x1ef3c7([0x73,0x70,0x6c,0x69,0x74])](_0x1ef3c7([0x2e]));if(0x3!=_0x42128a[_0x1ef3c7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x268307(_0x42128a[0x1]);function _0x268307(_0x35c392){const _0x1b179a=_0x628dc7(_0x35c392);return _0x1b179a&&_0x1a2cfd()?_0x1b179a:null;function _0x1a2cfd(){const _0x580299=_0x1b179a[_0x1ef3c7([0x6a,0x74,0x69])],_0x9a7584=window[_0x1ef3c7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x580299[_0x1ef3c7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x580299[_0x1ef3c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x49f386={..._0x1b179a,[_0x1ef3c7([0x6a,0x74,0x69])]:_0x580299[_0x1ef3c7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x580299[_0x1ef3c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x49f386[_0x1ef3c7([0x76,0x63])],_0x2442bd(_0x49f386)==_0x9a7584;}}}async function _0x264628(){let _0x2ddb34=!0x0;try{const _0x50c149=_0x229590[_0x1ef3c7([0x73,0x70,0x6c,0x69,0x74])](_0x1ef3c7([0x2e])),[_0x5ef99f,_0x24cf39,_0x398803]=_0x50c149;return _0x1ab636(_0x5ef99f),await _0x2f1ff6(_0x5ef99f,_0x24cf39,_0x398803),_0x2ddb34;}catch{return!0x1;}function _0x1ab636(_0x12074a){const _0x1810d6=_0x628dc7(_0x12074a);_0x1810d6&&_0x1810d6[_0x1ef3c7([0x61,0x6c,0x67])]==_0x1ef3c7([0x45,0x53,0x32,0x35,0x36])||(_0x2ddb34=!0x1);}async function _0x2f1ff6(_0x531875,_0x1e3e4f,_0x378084){const _0x4aa078=window[_0x1ef3c7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1ef3c7([0x66,0x72,0x6f,0x6d])](_0x117f26(_0x378084),_0x18093f=>_0x18093f[_0x1ef3c7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x191a62=new window[(_0x1ef3c7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1ef3c7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x531875+_0x1ef3c7([0x2e])+_0x1e3e4f),_0x61f6b9=window[_0x1ef3c7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1ef3c7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x61f6b9)return;const _0x1dba7e=await _0x61f6b9[_0x1ef3c7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1ef3c7([0x6a,0x77,0x6b]),_0x1d10db,{[_0x1ef3c7([0x6e,0x61,0x6d,0x65])]:_0x1ef3c7([0x45,0x43,0x44,0x53,0x41]),[_0x1ef3c7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1ef3c7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1ef3c7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x61f6b9[_0x1ef3c7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1ef3c7([0x6e,0x61,0x6d,0x65])]:_0x1ef3c7([0x45,0x43,0x44,0x53,0x41]),[_0x1ef3c7([0x68,0x61,0x73,0x68])]:{[_0x1ef3c7([0x6e,0x61,0x6d,0x65])]:_0x1ef3c7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1dba7e,_0x4aa078,_0x191a62)||(_0x2ddb34=!0x1);}}function _0x628dc7(_0x3a553c){return _0x3a553c[_0x1ef3c7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1ef3c7([0x65,0x79]))?JSON[_0x1ef3c7([0x70,0x61,0x72,0x73,0x65])](_0x117f26(_0x3a553c)):null;}function _0x117f26(_0x586295){return window[_0x1ef3c7([0x61,0x74,0x6f,0x62])](_0x586295[_0x1ef3c7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1ef3c7([0x2b]))[_0x1ef3c7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1ef3c7([0x2f])));}function _0x2442bd(_0x33da21){let _0x3e49cb=0x1505;function _0x115f83(_0x345d67){for(let _0x3a1c2e=0x0;_0x3a1c2e<_0x345d67[_0x1ef3c7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a1c2e++){const _0x221e11=_0x345d67[_0x1ef3c7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3a1c2e);_0x3e49cb=(_0x3e49cb<<0x5)+_0x3e49cb+_0x221e11,_0x3e49cb&=_0x3e49cb;}}function _0x4aaf3b(_0x2a38e4){Array[_0x1ef3c7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2a38e4)?_0x2a38e4[_0x1ef3c7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4aaf3b):_0x2a38e4&&typeof _0x2a38e4==_0x1ef3c7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1ef3c7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2a38e4)[_0x1ef3c7([0x73,0x6f,0x72,0x74])]()[_0x1ef3c7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x11482c,_0x5864bd])=>{_0x115f83(_0x11482c),_0x4aaf3b(_0x5864bd);}):_0x115f83(window[_0x1ef3c7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2a38e4));}return _0x4aaf3b(_0x33da21),_0x3e49cb>>>0x0;}function _0x37958e(_0x41627e){return _0x41627e[_0x1ef3c7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1ef3c7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1ef3c7([0x30]));}function _0x2ea8a8(_0x4c2068){return _0x4c2068[_0x1ef3c7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1ef3c7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1ef3c7([0x6a,0x6f,0x69,0x6e])]('');}function _0x484683(){}function _0x1ef3c7(_0x31ae8b){return _0x31ae8b['map'](_0x2476a6=>String['fromCharCode'](_0x2476a6))['join']('');}_0x1184c4(await _0x4651f4());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x364d68,{outlineDefinitions:_0x323051,outlineChanges:_0x389ad8}){this['_currentOutlineDefinitions']=_0x323051,this['view']['sync'](_0x389ad8);}['_setActiveViewItem'](_0x352fdb){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x352fdb]&&(this['view']['activeItemIndex']=_0x352fdb);}['_handleItemSelected'](_0x416676){const _0x338b28=this['_currentOutlineDefinitions'][_0x416676]['modelElement'];this['editor']['model']['change'](_0x6a31e6=>{_0x6a31e6['setSelection'](_0x338b28,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x416676);}['_updateActiveDefinitionOnViewportChange'](){const _0x262291=this['editor'];let _0x50ed59;for(const _0x307e43 of _0x262291['model']['document']['getRootNames']()){const _0x1cf3c6=_0x262291['editing']['view']['getDomRoot'](_0x307e43),_0x1aabd6=_0x1cf3c6&&new _0x50ad7e(_0x1cf3c6)['getVisible']();if(_0x1aabd6){const _0x32b671=new _0x50ad7e(_0x34b825['window'])['getIntersection'](_0x1aabd6);_0x32b671&&(_0x50ed59=_0x32b671['top']+0.25*_0x32b671['height']);}}if(void 0x0===_0x50ed59)return;const _0x49c083=D(_0x262291['editing'],this['_currentOutlineDefinitions'],_0x50ed59);_0x49c083?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x49c083)):this['_setActiveViewItem'](-0x1);}}function D(_0x181f24,_0x625a48,_0x359d03,_0x53e68d=0x0,_0x2ab81f=_0x625a48['length']-0x1){const _0xfc8e9f=Math['floor'](_0x53e68d+(_0x2ab81f-_0x53e68d)/0x2);if(_0x2ab81f>=_0x53e68d){const _0x420e62=_0x625a48[_0xfc8e9f],_0x411566=_0x181f24['mapper']['toViewElement'](_0x420e62['modelElement']);if(!_0x411566)return null;const _0x566669=_0x181f24['view']['domConverter']['mapViewToDom'](_0x411566);return new _0x50ad7e(_0x566669)['bottom']>_0x359d03?D(_0x181f24,_0x625a48,_0x359d03,_0x53e68d,_0xfc8e9f-0x1):D(_0x181f24,_0x625a48,_0x359d03,_0xfc8e9f+0x1,_0x2ab81f);}return _0xfc8e9f<0x0?null:_0x625a48[_0xfc8e9f];}class K extends _0x5bda93{['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 _0xc54f23=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3b5b3b;for(const _0x5831f0 in _0xc54f23){const _0x7bf74a=_0x5831f0,_0x30c5a4=_0xc54f23[_0x7bf74a];if('documentOutlineLicenseKeyValid'==_0x30c5a4||'documentOutlineLicenseKeyInvalid'==_0x30c5a4||'documentOutlineLicenseKeyExpired'==_0x30c5a4||'documentOutlineLicenseKeyDomainLimit'==_0x30c5a4||'documentOutlineLicenseKeyNotAllowed'==_0x30c5a4||'documentOutlineLicenseKeyEvaluationLimit'==_0x30c5a4||'documentOutlineLicenseKeyTrialLimit'==_0x30c5a4||'documentOutlineLicenseKeyUsageLimit'==_0x30c5a4){delete _0xc54f23[_0x7bf74a],_0x3b5b3b=_0x30c5a4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x3b5b3b&&_0xc54f23['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x3b5b3b&&_0xc54f23['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x3b5b3b&&_0xc54f23['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x3b5b3b&&_0xc54f23['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x3b5b3b&&_0xc54f23['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyTrialLimit'==_0x3b5b3b&&_0xc54f23['_showLicenseError']('trialLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x3b5b3b&&_0xc54f23['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class w extends _0x4dba6f{['execute'](){this['editor']['model']['change'](_0x32d599=>{this['editor']['model']['insertObject'](_0x32d599['createElement']('tableOfContents'));});}['refresh'](){const _0x571096=this['editor']['model'],_0x20fb87=_0x571096['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x20fb87&&_0x571096['schema']['findAllowedParent'](_0x20fb87,'tableOfContents'));}}class h extends _0x5bda93{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x15c264=this['editor'];if(_0x15c264['config']['get']('headingId.modelAttributeName'))return;(function(_0x1b914b){const _0x88f0b=new Map();if(_0x1b914b)return _0x1b914b['forEach'](_0x3877ff=>{'paragraph'!==_0x3877ff['model']&&_0x88f0b['set'](_0x3877ff['view'],_0x3877ff['model']);}),_0x88f0b['get']('h1')||_0x88f0b['set']('h1','heading1'),_0x88f0b;return _0x88f0b;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x1a4f63,_0x2a44b9)=>{this['_customUpcastHeadingsConversion'](_0x2a44b9),this['_customDataDowncastHeadingsConversion'](_0x1a4f63),_0x15c264['model']['schema']['isRegistered'](_0x1a4f63)&&_0x15c264['model']['schema']['extend'](_0x1a4f63,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0xb0fc00){this['editor']['conversion']['for']('upcast')['add'](_0x450d11=>_0x450d11['on']('element:'+_0xb0fc00,(_0x2542df,_0x4a09c5,_0x1c6d49)=>{const {consumable:_0x3dd25d,writer:_0x2a7972}=_0x1c6d49,_0x27ce4e=_0x4a09c5['viewItem']['getAttribute']('id'),_0x51479c=_0x4a09c5['modelRange']['getContainedElement']();if(_0x51479c)return _0x27ce4e&&_0x27ce4e['length']||_0x51479c['hasAttribute']('headingId')?void(_0x3dd25d['consume'](_0x4a09c5['viewItem'],{'attributes':['id']})&&_0x2a7972['setAttribute']('headingId',_0x27ce4e,_0x51479c)):(_0x3dd25d['consume'](_0x4a09c5['viewItem'],{'attributes':['id']}),void _0x2a7972['setAttribute']('headingId',_0x3b531a(),_0x51479c));},{'priority':_0x1f8492['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x55b004){this['editor']['conversion']['for']('downcast')['add'](_0x204ddc=>_0x204ddc['on']('attribute:headingId:'+_0x55b004,(_0x19651a,_0x4fb7f0,_0x19be1e)=>{if(!_0x19be1e['consumable']['consume'](_0x4fb7f0['item'],_0x19651a['name']))return;const _0x1ca859=_0x4fb7f0['item']['getAttribute']('headingId'),_0x479c5a=_0x19be1e['mapper']['toViewElement'](_0x4fb7f0['item']);_0x19be1e['writer']['setAttribute']('id',_0x1ca859,_0x479c5a);}));}['_registerHeadingIdAttributePostfixer'](){const _0x8e397=this['editor'],_0xf5656e=new Set(),_0x11ead4=new Set();function _0x9eeb2e(_0xb7112a,_0xf76550){const _0x50455b=_0x3b531a();return _0x11ead4['add'](_0x50455b),_0xb7112a['setAttribute']('headingId',_0x50455b,_0xf76550),_0x50455b;}function _0x13e01e(_0x4cd753,_0x590995){_0x4cd753['removeAttribute']('headingId',_0x590995);}_0x8e397['model']['document']['registerPostFixer'](_0x139e55=>{const _0x3c5a0a=_0x8e397['model']['document']['differ']['getChanges']();let _0x4c137f=!0x1;for(const _0x3f87dd of _0x3c5a0a)if('insert'==_0x3f87dd['type']&&_0x3f87dd['name']){if(c(_0x3f87dd['name'])){const _0x5daf83=_0x3f87dd['attributes']['get']('headingId');'string'==typeof _0x5daf83?_0xf5656e['has'](_0x5daf83)?(_0x9eeb2e(_0x139e55,_0x3f87dd['position']['nodeAfter']),_0x4c137f=!0x0):_0x11ead4['add'](_0x5daf83):(_0x9eeb2e(_0x139e55,_0x3f87dd['position']['nodeAfter']),_0x4c137f=!0x0);}else'string'==typeof _0x3f87dd['attributes']['get']('headingId')&&(_0x13e01e(_0x139e55,_0x3f87dd['position']['nodeAfter']),_0x4c137f=!0x0);}else{if('remove'==_0x3f87dd['type']){const _0x2a9dd4=_0x3f87dd['attributes']['get']('headingId');'string'==typeof _0x2a9dd4&&_0xf5656e['delete'](_0x2a9dd4);}}return _0x4c137f;}),_0x8e397['model']['document']['on']('change',()=>{_0x11ead4['forEach'](_0x19c283=>_0xf5656e['add'](_0x19c283)),_0x11ead4['clear']();});}}function c(_0x5d8341){return!!_0x5d8341['match'](/heading\d/);}class s extends _0x5bda93{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0xa447f3,i,h];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x280da4){super(_0x280da4),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x1e6e59=this['editor'],_0x5adfaa=_0x1e6e59['editing']['view']['document'];_0x1e6e59['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x1e6e59['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x5adfaa,'click',(_0x100ef9,_0x552fae)=>{if(!_0x552fae['target'])return;const _0x447bdc=_0x552fae['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x447bdc)&&(_0x552fae['domEvent']['preventDefault'](),_0x100ef9['stop'](),this['_handleScrollToHeading'](_0x447bdc));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x1e6e59['commands']['add']('insertTableOfContents',new w(_0x1e6e59)),(_0x1e6e59['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x5e099e,_0x4af3e7)=>{this['_currentOutlineDefinitions']=_0x4af3e7['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x1e6e59['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x29dde2){const _0x517774=_0x349012([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]),_0x1a1e81=0x6b9b05fd,_0x1b266f=0x6b9c716d^_0x1a1e81,_0x5dec85=window[_0x349012([0x44,0x61,0x74,0x65])][_0x349012([0x6e,0x6f,0x77])](),_0x5670a3=_0x29dde2[_0x349012([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3c230a=new window[(_0x349012([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb8b332=>{_0x5670a3[_0x349012([0x6f,0x6e,0x63,0x65])](_0x349012([0x72,0x65,0x61,0x64,0x79]),_0xb8b332);}),_0x51da1c={[_0x349012([0x6b,0x74,0x79])]:_0x349012([0x45,0x43]),[_0x349012([0x75,0x73,0x65])]:_0x349012([0x73,0x69,0x67]),[_0x349012([0x63,0x72,0x76])]:_0x349012([0x50,0x2d,0x32,0x35,0x36]),[_0x349012([0x78])]:_0x349012([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]),[_0x349012([0x79])]:_0x349012([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]),[_0x349012([0x61,0x6c,0x67])]:_0x349012([0x45,0x53,0x32,0x35,0x36])},_0x3e6615=_0x5670a3[_0x349012([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x349012([0x67,0x65,0x74])](_0x349012([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x51c40e(){let _0x50e487,_0x3dc9bb=null,_0x3d0c15=null;try{if(_0x3e6615==_0x349012([0x47,0x50,0x4c]))return _0x349012([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x50e487=_0x21f2c4(),!_0x50e487)return _0x349012([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x50e487[_0x349012([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3d0c15=_0x4816ac(_0x50e487[_0x349012([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x50e487[_0x349012([0x6a,0x74,0x69])])),await _0x5799d2()?_0x3d7b97()?_0x3e3b0f()?_0x349012([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3e4b6a()?(_0x50e487[_0x349012([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x349012([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3dc9bb=_0xd90075(_0x349012([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x50e487[_0x349012([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x349012([0x74,0x72,0x69,0x61,0x6c])&&(_0x3dc9bb=_0xd90075(_0x349012([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x23e5f8()):_0x349012([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x349012([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x349012([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x349012([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3e3b0f(){const _0x207eea=[_0x349012([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x349012([0x74,0x72,0x69,0x61,0x6c])][_0x349012([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50e487[_0x349012([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5dec85/0x3e8:0xe10*_0x1b266f;return _0x50e487[_0x349012([0x65,0x78,0x70])]<_0x207eea;}function _0x3d7b97(){const _0x208939=_0x50e487[_0x349012([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x208939&&(!!_0x208939[_0x349012([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x349012([0x2a]))||(!!_0x208939[_0x349012([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x349012([0x54,0x4f,0x43]))||(!!_0x208939[_0x349012([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x349012([0x50,0x50]))||!(!_0x208939[_0x349012([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x349012([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x5a82cf()))));}function _0x3e4b6a(){const _0x1610d6=_0x50e487[_0x349012([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1610d6||0x0==_0x1610d6[_0x349012([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x243341}=new URL(window[_0x349012([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1610d6[_0x349012([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x243341))return!0x0;const _0x20d3b2=_0x243341[_0x349012([0x73,0x70,0x6c,0x69,0x74])](_0x349012([0x2e]));return _0x1610d6[_0x349012([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5051f5=>_0x5051f5[_0x349012([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x349012([0x2a])))[_0x349012([0x6d,0x61,0x70])](_0x33ddee=>_0x33ddee[_0x349012([0x73,0x70,0x6c,0x69,0x74])](_0x349012([0x2e])))[_0x349012([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5ce52b=>_0x5ce52b[_0x349012([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x20d3b2[_0x349012([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x349012([0x6d,0x61,0x70])](_0x598e0a=>Array(_0x20d3b2[_0x349012([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x598e0a[_0x349012([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x349012([0x66,0x69,0x6c,0x6c])](_0x598e0a[0x0]===_0x349012([0x2a])?_0x349012([0x2a]):'')[_0x349012([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x598e0a))[_0x349012([0x73,0x6f,0x6d,0x65])](_0x290cfd=>_0x20d3b2[_0x349012([0x65,0x76,0x65,0x72,0x79])]((_0x416615,_0x4bb0ec)=>_0x290cfd[_0x4bb0ec]===_0x416615||_0x290cfd[_0x4bb0ec]===_0x349012([0x2a])));}function _0x23e5f8(){return _0x3dc9bb&&_0x3d0c15?new window[(_0x349012([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4845a9,_0x145ae9)=>{_0x3dc9bb[_0x349012([0x74,0x68,0x65,0x6e])](_0x4845a9,_0x145ae9),_0x3d0c15[_0x349012([0x74,0x68,0x65,0x6e])](_0x59dda7=>{_0x59dda7!=_0x349012([0x56,0x61,0x6c,0x69,0x64])&&_0x4845a9(_0x59dda7);},_0x145ae9);}):_0x3dc9bb||_0x3d0c15||_0x349012([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4816ac(_0x887167,_0x724662){return new window[(_0x349012([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbb1a61=>{if(_0x8a2842())return _0xbb1a61(_0x349012([0x56,0x61,0x6c,0x69,0x64]));_0x628942(),_0x5670a3[_0x349012([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x349012([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3e1b4e=!0x1;const _0x4fb277=_0x3b531a();function _0x1534de(_0x337981){return!!_0x337981&&(typeof _0x337981===_0x349012([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x337981===_0x349012([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x337981[_0x349012([0x74,0x68,0x65,0x6e])]===_0x349012([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x337981[_0x349012([0x63,0x61,0x74,0x63,0x68])]===_0x349012([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x356d5f(_0x33f829){_0x5910f7(_0x33f829)[_0x349012([0x74,0x68,0x65,0x6e])](_0x96b9c3=>{if(!_0x96b9c3||_0x96b9c3[_0x349012([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x349012([0x6f,0x6b]))return _0x349012([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x447be2(_0x372656(_0x4fb277+_0x724662))!=_0x96b9c3[_0x349012([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x349012([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x349012([0x56,0x61,0x6c,0x69,0x64]);})[_0x349012([0x74,0x68,0x65,0x6e])](_0x20b2e5=>(_0x4a93cb(),_0x20b2e5),()=>{const _0x13491b=_0x3d6944();return null==_0x13491b?(_0x4a93cb(),_0x349012([0x56,0x61,0x6c,0x69,0x64])):_0x349012(_0x5dec85-_0x13491b>(0x4f9781fd^_0x1a1e81)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x349012([0x74,0x68,0x65,0x6e])](_0xbb1a61)[_0x349012([0x63,0x61,0x74,0x63,0x68])](()=>{_0xbb1a61(_0x349012([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x26fbb0=0x6badeb7d^_0x1a1e81;function _0x4a93cb(){const _0x1217ac=_0x349012([0x6c,0x6c,0x63,0x74,0x2d])+_0x447be2(_0x372656(_0x887167)),_0xfd9f44=_0x38b0fb(_0x447be2(window[_0x349012([0x4d,0x61,0x74,0x68])][_0x349012([0x63,0x65,0x69,0x6c])](_0x5dec85/_0x26fbb0)));window[_0x349012([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x349012([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1217ac,_0xfd9f44);}function _0x3d6944(){const _0x4d8fbc=_0x349012([0x6c,0x6c,0x63,0x74,0x2d])+_0x447be2(_0x372656(_0x887167)),_0x120059=window[_0x349012([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x349012([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d8fbc);return _0x120059?window[_0x349012([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38b0fb(_0x120059),0x10)*_0x26fbb0:null;}function _0x5910f7(_0x3c5cf7){return new window[(_0x349012([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x794be1,_0x34c98e)=>{_0x3c5cf7[_0x349012([0x74,0x68,0x65,0x6e])](_0x794be1,_0x34c98e),window[_0x349012([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x34c98e,0x6b9ad13d^_0x1a1e81);});}}_0x5670a3[_0x349012([0x6f,0x6e])](_0x349012([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4bcaf6,_0x3f2ac0)=>{if(_0x3f2ac0[0x0]!=_0x887167)return _0xbb1a61(_0x349012([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3f2ac0[0x1]={..._0x3f2ac0[0x1],[_0x349012([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4fb277};},{[_0x349012([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x349012([0x68,0x69,0x67,0x68])}),_0x5670a3[_0x349012([0x6f,0x6e])](_0x349012([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x504a0f=>{_0x1534de(_0x504a0f[_0x349012([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3e1b4e=!0x0,_0x356d5f(_0x504a0f[_0x349012([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x349012([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x349012([0x6c,0x6f,0x77])}),_0x3c230a[_0x349012([0x74,0x68,0x65,0x6e])](()=>{_0x3e1b4e||_0xbb1a61(_0x349012([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x8a2842(){return _0x5670a3[_0x349012([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x349012([0x76,0x69,0x65,0x77])][_0x349012([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x349012([0x61,0x75,0x74,0x6f]);}function _0x628942(){_0x5670a3[_0x349012([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x349012([0x76,0x69,0x65,0x77])][_0x349012([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x349012([0x61,0x75,0x74,0x6f]);}}function _0xd90075(_0x22df26){const _0x52c5f3=[new window[(_0x349012([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x92aff8=>setTimeout(_0x92aff8,0x6b923b31^_0x1a1e81)),_0x3c230a[_0x349012([0x74,0x68,0x65,0x6e])](()=>new window[(_0x349012([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x246b64=>{let _0x59a47f=0x0;_0x5670a3[_0x349012([0x6d,0x6f,0x64,0x65,0x6c])][_0x349012([0x6f,0x6e])](_0x349012([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x278ac8,_0x2071f7)=>{_0x2071f7[0x0][_0x349012([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x59a47f++,_0x59a47f==(0x6b9b0405^_0x1a1e81)&&(_0x246b64(),_0x278ac8[_0x349012([0x6f,0x66,0x66])]());});}))];return window[_0x349012([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x349012([0x72,0x61,0x63,0x65])](_0x52c5f3)[_0x349012([0x74,0x68,0x65,0x6e])](()=>_0x22df26);}async function _0x41023d(){await _0x3c230a,_0x5670a3[_0x349012([0x6d,0x6f,0x64,0x65,0x6c])][_0x349012([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5589d6,_0x5670a3[_0x349012([0x6d,0x6f,0x64,0x65,0x6c])][_0x349012([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5589d6,_0x5670a3[_0x349012([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x349012([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5a82cf(){return window[_0x349012([0x67,0x6c,0x6f,0x62])]&&window[_0x349012([0x67,0x6c,0x6f,0x62])][_0x349012([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x24b8a2(_0x118b08){const _0x562833=_0x4b4290();_0x5670a3[_0x562833]=_0x349012([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])+_0x118b08,_0x118b08!=_0x349012([0x56,0x61,0x6c,0x69,0x64])&&_0x41023d();}function _0x4b4290(){const _0x4b6c1b=window[_0x349012([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x349012([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x349012([0x6e,0x6f,0x77])]())[_0x349012([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x349012([0x2e]),'');let _0x1df828=_0x349012([0x6d]);for(let _0x170b9a=0x0;_0x170b9a<_0x4b6c1b[_0x349012([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x170b9a+=0x2){let _0x3fcbec=window[_0x349012([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b6c1b[_0x349012([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x170b9a,_0x170b9a+0x2));_0x3fcbec>=_0x517774[_0x349012([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3fcbec-=_0x517774[_0x349012([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1df828+=_0x517774[_0x3fcbec];}return _0x1df828;}function _0x21f2c4(){const _0xc3272=_0x3e6615[_0x349012([0x73,0x70,0x6c,0x69,0x74])](_0x349012([0x2e]));if(0x3!=_0xc3272[_0x349012([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xb654b1(_0xc3272[0x1]);function _0xb654b1(_0x5662b4){const _0x137bd1=_0x48977d(_0x5662b4);return _0x137bd1&&_0x4e9ab2()?_0x137bd1:null;function _0x4e9ab2(){const _0x3698f2=_0x137bd1[_0x349012([0x6a,0x74,0x69])],_0x8b6847=window[_0x349012([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3698f2[_0x349012([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3698f2[_0x349012([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2a08ef={..._0x137bd1,[_0x349012([0x6a,0x74,0x69])]:_0x3698f2[_0x349012([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3698f2[_0x349012([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2a08ef[_0x349012([0x76,0x63])],_0x372656(_0x2a08ef)==_0x8b6847;}}}async function _0x5799d2(){let _0x2ce134=!0x0;try{const _0x5b696a=_0x3e6615[_0x349012([0x73,0x70,0x6c,0x69,0x74])](_0x349012([0x2e])),[_0x788081,_0x45122b,_0x39395b]=_0x5b696a;return _0x5a139a(_0x788081),await _0x4e45cc(_0x788081,_0x45122b,_0x39395b),_0x2ce134;}catch{return!0x1;}function _0x5a139a(_0x4a104b){const _0xf9880e=_0x48977d(_0x4a104b);_0xf9880e&&_0xf9880e[_0x349012([0x61,0x6c,0x67])]==_0x349012([0x45,0x53,0x32,0x35,0x36])||(_0x2ce134=!0x1);}async function _0x4e45cc(_0x5ea5f9,_0x4e2217,_0xabc3c0){const _0x5b2ae3=window[_0x349012([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x349012([0x66,0x72,0x6f,0x6d])](_0xcaf56d(_0xabc3c0),_0xae35d9=>_0xae35d9[_0x349012([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x19060c=new window[(_0x349012([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x349012([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5ea5f9+_0x349012([0x2e])+_0x4e2217),_0x2dfdc0=window[_0x349012([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x349012([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2dfdc0)return;const _0x5085b8=await _0x2dfdc0[_0x349012([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x349012([0x6a,0x77,0x6b]),_0x51da1c,{[_0x349012([0x6e,0x61,0x6d,0x65])]:_0x349012([0x45,0x43,0x44,0x53,0x41]),[_0x349012([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x349012([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x349012([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2dfdc0[_0x349012([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x349012([0x6e,0x61,0x6d,0x65])]:_0x349012([0x45,0x43,0x44,0x53,0x41]),[_0x349012([0x68,0x61,0x73,0x68])]:{[_0x349012([0x6e,0x61,0x6d,0x65])]:_0x349012([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5085b8,_0x5b2ae3,_0x19060c)||(_0x2ce134=!0x1);}}function _0x48977d(_0x5710f9){return _0x5710f9[_0x349012([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x349012([0x65,0x79]))?JSON[_0x349012([0x70,0x61,0x72,0x73,0x65])](_0xcaf56d(_0x5710f9)):null;}function _0xcaf56d(_0xeb4a4a){return window[_0x349012([0x61,0x74,0x6f,0x62])](_0xeb4a4a[_0x349012([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x349012([0x2b]))[_0x349012([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x349012([0x2f])));}function _0x372656(_0x2a8d90){let _0x23bcc1=0x1505;function _0x49d6a4(_0x54b11e){for(let _0xbb0de4=0x0;_0xbb0de4<_0x54b11e[_0x349012([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xbb0de4++){const _0x2d0fc2=_0x54b11e[_0x349012([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xbb0de4);_0x23bcc1=(_0x23bcc1<<0x5)+_0x23bcc1+_0x2d0fc2,_0x23bcc1&=_0x23bcc1;}}function _0x2a56bb(_0x183639){Array[_0x349012([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x183639)?_0x183639[_0x349012([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2a56bb):_0x183639&&typeof _0x183639==_0x349012([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x349012([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x183639)[_0x349012([0x73,0x6f,0x72,0x74])]()[_0x349012([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x530a71,_0x5446f9])=>{_0x49d6a4(_0x530a71),_0x2a56bb(_0x5446f9);}):_0x49d6a4(window[_0x349012([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x183639));}return _0x2a56bb(_0x2a8d90),_0x23bcc1>>>0x0;}function _0x447be2(_0x38a0b9){return _0x38a0b9[_0x349012([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x349012([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x349012([0x30]));}function _0x38b0fb(_0x53cd4f){return _0x53cd4f[_0x349012([0x73,0x70,0x6c,0x69,0x74])]('')[_0x349012([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x349012([0x6a,0x6f,0x69,0x6e])]('');}function _0x5589d6(){}function _0x349012(_0x59c860){return _0x59c860['map'](_0x35885f=>String['fromCharCode'](_0x35885f))['join']('');}_0x24b8a2(await _0x51c40e());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x4e03a3=>{'$graveyard'!==_0x4e03a3['rootName']&&this['editor']['editing']['reconvertItem'](_0x4e03a3);});}['_trackNewToCElements'](){for(const _0x17aae3 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x17aae3['type']||'tableOfContents'!==_0x17aae3['name'])return;this['_tableOfContentsElements']['add'](_0x17aae3['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x4f11d0=this['editor']['conversion'];_0x4f11d0['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x4f11d0['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x5a04ae,{writer:_0x3db54e})=>this['_createTableOfContents'](_0x3db54e,!0x0)}),_0x4f11d0['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x5421fe,{writer:_0x308996})=>{this['_tableOfContentsElements']['add'](_0x5421fe);const _0x3f9397=this['_createTableOfContents'](_0x308996);return _0x4eca48(_0x3f9397,_0x308996,{'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'](_0x5e8af9,_0x1b8719=!0x1){const {locale:_0xbf1ac0}=this['editor'],_0x5aa7ac=_0x5e8af9['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x1b8719&&{'data-table-of-contents-label':m(_0xbf1ac0,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x1b8719&&_0x5e8af9['insert'](_0x5e8af9['createPositionAt'](_0x5aa7ac,'end'),_0x5e8af9['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x5e8af9['createText'](m(_0xbf1ac0,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x1c9210=_0x1b8719?'':'['+m(_0xbf1ac0,'Empty\x20heading')+']';let _0x3c7b2a=_0x5aa7ac;return this['_currentOutlineDefinitions']['forEach']((_0x26cf00,_0x3381ee,_0x7eee0f)=>{const _0x40b588=this['editor']['model']['hasContent'](_0x26cf00['modelElement'],{'ignoreWhitespaces':!0x0}),_0x4d563f=_0x40b588?_0x26cf00['text']:_0x1c9210,_0x4b0e04=_0x26cf00['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x425108=_0x5e8af9['createContainerElement']('a',{'href':'#'+_0x4b0e04,...!_0x1b8719&&{'tabindex':'-1'}},[_0x5e8af9['createText'](_0x4d563f)]),_0x2ca3c7=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x5e8af9['setCustomProperty']('tableOfContentsHeadingIndex',_0x3381ee,_0x425108);const _0xd4c853=_0x5e8af9['createContainerElement']('li',null,[_0x40b588||!_0x1b8719&&_0x2ca3c7?_0x425108:_0x5e8af9['createText']('')]),_0xdb903c=_0x3381ee?_0x7eee0f[_0x3381ee-0x1]['level']:0x0,_0x451d14=Math['abs'](_0x26cf00['level']-_0xdb903c);if(_0x26cf00['level']>_0xdb903c){const _0x1385b7=b(_0xd4c853,_0x451d14,_0x5e8af9);_0x5e8af9['insert'](_0x5e8af9['createPositionAt'](_0x3c7b2a,'end'),_0x1385b7);}else{const _0x568309=function(_0x50de35,_0x6e290f){return _0x50de35['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x41f1ab=>_0x41f1ab['is']('element','ol'))[_0x6e290f];}(_0x3c7b2a,_0x451d14);_0x5e8af9['insert'](_0x5e8af9['createPositionAt'](_0x568309,'end'),_0xd4c853);}_0x3c7b2a=_0xd4c853;}),_0x5aa7ac;}['_handleScrollToHeading'](_0x16df84){const _0x5bf86e=this['_currentOutlineDefinitions'][_0x16df84]['modelElement'];this['editor']['model']['change'](_0x236222=>{_0x236222['setSelection'](_0x5bf86e,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x209ca8,_0x2a91b1)=>{const _0x353742=_0x2a91b1['mapper'],_0x1cd1f9=_0x353742['findMappedViewAncestor'](_0x2a91b1['viewPosition']),_0x35ae83=_0x353742['toModelElement'](_0x1cd1f9);_0x35ae83['is']('element','tableOfContents')&&(_0x2a91b1['modelPosition']=this['editor']['model']['createPositionAt'](_0x35ae83,0x0),_0x209ca8['stop']());};}}function b(_0x3b842e,_0x14d511,_0x59fad4){return 0x1===_0x14d511?_0x59fad4['createContainerElement']('ol',null,[_0x3b842e]):_0x59fad4['createContainerElement']('ol',null,[_0x59fad4['createContainerElement']('li',null,[b(_0x3b842e,_0x14d511-0x1,_0x59fad4)])]);}class o extends _0x5bda93{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3f398a=this['editor'];_0x3f398a['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x11d5c3=this['_createButton'](_0x42446b);return _0x11d5c3['tooltip']=!0x0,_0x11d5c3;}),_0x3f398a['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x5c8d9)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4e7f4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1add9e;for(const _0x4362d2 in _0x4e7f4){const _0x3bf1ea=_0x4362d2,_0x85a316=_0x4e7f4[_0x3bf1ea];if('tableOfContentsLicenseKeyValid'==_0x85a316||'tableOfContentsLicenseKeyInvalid'==_0x85a316||'tableOfContentsLicenseKeyExpired'==_0x85a316||'tableOfContentsLicenseKeyDomainLimit'==_0x85a316||'tableOfContentsLicenseKeyNotAllowed'==_0x85a316||'tableOfContentsLicenseKeyEvaluationLimit'==_0x85a316||'tableOfContentsLicenseKeyTrialLimit'==_0x85a316||'tableOfContentsLicenseKeyUsageLimit'==_0x85a316){delete _0x4e7f4[_0x3bf1ea],_0x1add9e=_0x85a316,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x1add9e&&_0x4e7f4['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x1add9e&&_0x4e7f4['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x1add9e&&_0x4e7f4['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x1add9e&&_0x4e7f4['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x1add9e&&_0x4e7f4['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyTrialLimit'==_0x1add9e&&_0x4e7f4['_showLicenseError']('trialLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x1add9e&&_0x4e7f4['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x300ecd){const _0x5010e9=this['editor'],_0x3d5921=_0x5010e9['locale'],_0x27e15d=_0x5010e9['commands']['get']('insertTableOfContents'),_0x94e609=new _0x300ecd(_0x3d5921);return _0x94e609['set']({'label':m(_0x3d5921,'Table\x20of\x20contents'),'icon':_0x47443e}),_0x94e609['bind']('isEnabled')['to'](_0x27e15d,'isEnabled'),this['listenTo'](_0x94e609,'execute',()=>{_0x5010e9['execute']('insertTableOfContents'),_0x5010e9['editing']['view']['focus']();}),_0x94e609;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class N extends _0x5bda93{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};
|
|
23
|
+
import{Plugin as _0x10d39b,Command as _0x4cbfae}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x27d1da,throttle as _0x3c089f}from'es-toolkit/compat';import{ModelText as _0x3b60b1,ModelTreeWalker as _0x31f7e5}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x2ddb89,diffToChanges as _0x1d6422,scrollAncestorsToShowTarget as _0x2981e9,CKEditorError as _0x20bafe,global as _0x227e09,Rect as _0x229bd7,uid as _0x45f9a2,priorities as _0x4099e0}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x316418,ButtonView as _0x2eb728,MenuBarMenuListItemButtonView as _0x354923}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x10081c,toWidget as _0x2c6274}from'@ckeditor/ckeditor5-widget/dist/index.js';import{IconTableOfContents as _0x4ed2c7}from'@ckeditor/ckeditor5-icons/dist/index.js';function g(_0x2eb114){let _0x4980f6='';for(const _0x3f24d1 of _0x2eb114['getChildren']())_0x3f24d1 instanceof _0x3b60b1&&(_0x4980f6+=_0x3f24d1['data']);return _0x4980f6;}class i extends _0x10d39b{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x240309=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x1be0ca=[];_0x240309['model']['document']['on']('change',_0x27d1da(()=>{const _0x491b36=_0x1be0ca;_0x1be0ca=this['_getOutlineDefinitions']();const _0x1ce040=_0x2ddb89(_0x491b36,_0x1be0ca,(_0x5ebb9a,_0x4d63ed)=>_0x5ebb9a['level']===_0x4d63ed['level']&&_0x5ebb9a['text']===_0x4d63ed['text']&&_0x5ebb9a['modelElement']===_0x4d63ed['modelElement']),_0x50e62c=_0x1d6422(_0x1ce040,_0x1be0ca),_0x43761e=this['_getActiveHeading'](),_0x14ed20=_0x1be0ca['findIndex'](_0x27a65e=>_0x27a65e['modelElement']===_0x43761e);_0x50e62c['length']&&this['fire']('change',{'outlineDefinitions':_0x1be0ca,'activeItemIndex':_0x14ed20,'outlineChanges':_0x50e62c}),this['fire']('activeItemIndex',{'index':_0x14ed20});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x5a8100=this['editor'],_0x266285=[],_0x4593dd=this['_headingNames'];for(const _0x1e359a of _0x5a8100['model']['document']['getRootNames']())_0x3cd3a4(_0x5a8100['model']['document']['getRoot'](_0x1e359a));function _0x3cd3a4(_0x2d5c70){for(const _0x232f20 of _0x2d5c70['getChildren']())_0x232f20['is']('element')&&(_0x4593dd['includes'](_0x232f20['name'])&&_0x266285['push']({'level':_0x4593dd['indexOf'](_0x232f20['name'])+0x1,'text':g(_0x232f20),'modelElement':_0x232f20}),_0x3cd3a4(_0x232f20));}return _0x266285;}['_getActiveHeading'](){const _0x4aaa5f=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x5c5057=new _0x31f7e5({'direction':'backward','startPosition':_0x4aaa5f});for(const _0x562335 of _0x5c5057)if(_0x562335['item']['is']('element')&&this['_headingNames']['includes'](_0x562335['item']['name']))return _0x562335['item'];}['_getHeadingNames'](){const _0x54d2d6=this['editor']['config']['get']('documentOutline.headings');return _0x54d2d6||function(_0x372466){const _0x415ca8=_0x372466['config']['get']('heading.options');return _0x415ca8?_0x415ca8['reduce']((_0x3c5de3,_0x5f30ca)=>('paragraph'!==_0x5f30ca['model']&&_0x3c5de3['push'](_0x5f30ca['model']),_0x3c5de3),[]):_0x372466['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x56e75d=this['editor'],_0x1cd327=['h1','h2','h3','h4','h5','h6'],_0x2dd038=[];for(const _0x3520a9 of _0x1cd327){const _0x37b53a=_0x56e75d['editing']['view']['domConverter']['domToView'](document['createElement'](_0x3520a9)),_0x608891=_0x56e75d['data']['toModel'](_0x37b53a)['getChild'](0x0);_0x608891?.['is']('element')&&_0x2dd038['push'](_0x608891['name']);}this['_headingNames']=_0x2dd038;}}function j(_0xa98f96,_0x2c03c7){const t=_0xa98f96['t'];switch(_0x2c03c7){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 _0x2c03c7;}}class A extends _0x316418{constructor(_0x32b1c3,_0x66c9eb=!0x1){super(_0x32b1c3);const _0x516107=this['bindTemplate'],_0x2a0f35=_0x66c9eb?'['+j(_0x32b1c3,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x4eeb8b=>!_0x4eeb8b),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x516107['to']('level',_0x58ff7a=>'ck-document-outline__item_level-'+_0x58ff7a),_0x516107['if']('isActive','ck-document-outline__item_active'),_0x516107['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x516107['to']('text')},'children':[{'text':_0x516107['to']('text',_0x571b06=>_0x571b06||_0x2a0f35)}],'on':{'click':_0x516107['to']('click')}});}}class f extends _0x316418{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x13922e,_0x2d9d65=!0x1,_0x3b091e){super(_0x13922e),this['showEmptyHeadingText']=_0x2d9d65,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x3b091e,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x1a4046,_0x2a79cf,_0x3cd4d0,_0xada20d)=>{this['_setActiveItem'](_0xada20d,_0x3cd4d0);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x13922e['contentLanguageDirection'],'data-document-outline-empty-placeholder':j(_0x13922e,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x8638d2){_0x8638d2['forEach'](_0x26ec2a=>{'insert'==_0x26ec2a['type']?this['_insertItem'](_0x26ec2a['index'],..._0x26ec2a['values']):'delete'==_0x26ec2a['type']&&this['_deleteItem'](_0x26ec2a['index'],_0x26ec2a['howMany']);});}['_setActiveItem'](_0x514d0d,_0x210f3b){if(-0x1!==_0x514d0d){const _0x2b44ff=this['items']['get'](_0x514d0d);_0x2b44ff&&(_0x2b44ff['isActive']=!0x1);}-0x1!==_0x210f3b&&(this['items']['get'](_0x210f3b)['isActive']=!0x0,this['_scrollToItem'](_0x210f3b));}['_insertItem'](_0x3ab788,..._0x1de464){const _0x223ae8=_0x1de464['map']((_0x5f25d8,_0x5b5490)=>{const _0x10470f=new A(this['locale'],this['showEmptyHeadingText']);return _0x10470f['text']=_0x5f25d8['text'],_0x10470f['level']=_0x5f25d8['level'],_0x3ab788+_0x5b5490===this['activeItemIndex']&&(_0x10470f['isActive']=!0x0),_0x10470f;});this['items']['addMany'](_0x223ae8,_0x3ab788);}['_deleteItem'](_0x31d997,_0x33de8c){do{this['items']['remove'](_0x31d997);}while(--_0x33de8c);}['_handleItemClick'](_0x428722){const _0x248d34=this['items']['getIndex'](_0x428722['source']);this['fire']('itemSelected',_0x248d34);}['_scrollToItem'](_0x54d15e){_0x2981e9(this['items']['get'](_0x54d15e)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0x10d39b{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x58f07f){super(_0x58f07f),this['view']=new f(_0x58f07f['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x3c089f(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x2dee19=this['editor'],_0x140559=_0x2dee19['plugins']['get']('DocumentOutlineUtils');let _0x3107ac=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x2dee19['config']['get']('documentOutline.container'))throw new _0x20bafe('document-outline-container-not-provided',{'editor':_0x2dee19});_0x2dee19['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x140559['on']('change',this['_handleOutlineChange']['bind'](this)),_0x140559['on']('activeItemIndex',(_0xa34e13,{index:_0x1350c6})=>this['_setActiveViewItem'](_0x1350c6)),this['view']['on']('itemSelected',(_0x5156fd,_0x549580)=>{_0x3107ac=!0x0,this['_handleItemSelected'](_0x549580);}),this['view']['listenTo'](_0x227e09['document'],'scroll',()=>{_0x3107ac?_0x3107ac=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x227e09['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x56a896){const _0x3f4a3f=_0x226801([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]),_0x2bc0b1=0x1cb264a3,_0x3111d6=0x1cb5100b^_0x2bc0b1,_0x5ae4f9=window[_0x226801([0x44,0x61,0x74,0x65])][_0x226801([0x6e,0x6f,0x77])](),_0x5cf7d4=_0x56a896[_0x226801([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2e7b4a=new window[(_0x226801([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f3125=>{_0x5cf7d4[_0x226801([0x6f,0x6e,0x63,0x65])](_0x226801([0x72,0x65,0x61,0x64,0x79]),_0x3f3125);}),_0x54dcd1={[_0x226801([0x6b,0x74,0x79])]:_0x226801([0x45,0x43]),[_0x226801([0x75,0x73,0x65])]:_0x226801([0x73,0x69,0x67]),[_0x226801([0x63,0x72,0x76])]:_0x226801([0x50,0x2d,0x32,0x35,0x36]),[_0x226801([0x78])]:_0x226801([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]),[_0x226801([0x79])]:_0x226801([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]),[_0x226801([0x61,0x6c,0x67])]:_0x226801([0x45,0x53,0x32,0x35,0x36])},_0x4b690c=_0x5cf7d4[_0x226801([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x226801([0x67,0x65,0x74])](_0x226801([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x240a23(){let _0x4e9014,_0x350fc6=null,_0xcce76=null;try{if(_0x4b690c==_0x226801([0x47,0x50,0x4c]))return _0x226801([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4e9014=_0x101341(),!_0x4e9014)return _0x226801([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4e9014[_0x226801([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xcce76=_0xf499a1(_0x4e9014[_0x226801([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4e9014[_0x226801([0x6a,0x74,0x69])])),await _0xbc7aeb()?_0x1484e9()?_0x42eee0()?_0x226801([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1ba259()?(_0x4e9014[_0x226801([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x226801([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x350fc6=_0x37dbb6(_0x226801([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4e9014[_0x226801([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x226801([0x74,0x72,0x69,0x61,0x6c])&&(_0x350fc6=_0x37dbb6(_0x226801([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3049ae()):_0x226801([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x226801([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x226801([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x226801([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x42eee0(){const _0xf3b4c3=[_0x226801([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x226801([0x74,0x72,0x69,0x61,0x6c])][_0x226801([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e9014[_0x226801([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5ae4f9/0x3e8:0xe10*_0x3111d6;return _0x4e9014[_0x226801([0x65,0x78,0x70])]<_0xf3b4c3;}function _0x1484e9(){const _0x47003b=_0x4e9014[_0x226801([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x47003b&&(!!_0x47003b[_0x226801([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x226801([0x2a]))||(!!_0x47003b[_0x226801([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x226801([0x44,0x4f]))||(!!_0x47003b[_0x226801([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x226801([0x50,0x50]))||!(!_0x47003b[_0x226801([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x226801([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x1f03ee()))));}function _0x1ba259(){const _0x522056=_0x4e9014[_0x226801([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x522056||0x0==_0x522056[_0x226801([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x37a886}=new URL(window[_0x226801([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x522056[_0x226801([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37a886))return!0x0;const _0x1e0c7e=_0x37a886[_0x226801([0x73,0x70,0x6c,0x69,0x74])](_0x226801([0x2e]));return _0x522056[_0x226801([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a29f9=>_0x4a29f9[_0x226801([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x226801([0x2a])))[_0x226801([0x6d,0x61,0x70])](_0x1143e6=>_0x1143e6[_0x226801([0x73,0x70,0x6c,0x69,0x74])](_0x226801([0x2e])))[_0x226801([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d16f3=>_0x5d16f3[_0x226801([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1e0c7e[_0x226801([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x226801([0x6d,0x61,0x70])](_0x59e13f=>Array(_0x1e0c7e[_0x226801([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x59e13f[_0x226801([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x226801([0x66,0x69,0x6c,0x6c])](_0x59e13f[0x0]===_0x226801([0x2a])?_0x226801([0x2a]):'')[_0x226801([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x59e13f))[_0x226801([0x73,0x6f,0x6d,0x65])](_0x5be8dc=>_0x1e0c7e[_0x226801([0x65,0x76,0x65,0x72,0x79])]((_0x5bf48f,_0x3939d2)=>_0x5be8dc[_0x3939d2]===_0x5bf48f||_0x5be8dc[_0x3939d2]===_0x226801([0x2a])));}function _0x3049ae(){return _0x350fc6&&_0xcce76?new window[(_0x226801([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c18ec,_0x10294b)=>{_0x350fc6[_0x226801([0x74,0x68,0x65,0x6e])](_0x1c18ec,_0x10294b),_0xcce76[_0x226801([0x74,0x68,0x65,0x6e])](_0x3fa0bf=>{_0x3fa0bf!=_0x226801([0x56,0x61,0x6c,0x69,0x64])&&_0x1c18ec(_0x3fa0bf);},_0x10294b);}):_0x350fc6||_0xcce76||_0x226801([0x56,0x61,0x6c,0x69,0x64]);}}function _0xf499a1(_0x3171b3,_0x233a00){return new window[(_0x226801([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14e622=>{if(_0x52afe2())return _0x14e622(_0x226801([0x56,0x61,0x6c,0x69,0x64]));_0x548218(),_0x5cf7d4[_0x226801([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x226801([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x307e3c=!0x1;const _0x31e776=_0x45f9a2();function _0x4d1c83(_0x44dbc8){return!!_0x44dbc8&&(typeof _0x44dbc8===_0x226801([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x44dbc8===_0x226801([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x44dbc8[_0x226801([0x74,0x68,0x65,0x6e])]===_0x226801([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x44dbc8[_0x226801([0x63,0x61,0x74,0x63,0x68])]===_0x226801([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x52e7ad(_0x2d6058){_0x2e5c22(_0x2d6058)[_0x226801([0x74,0x68,0x65,0x6e])](_0x40f8df=>{if(!_0x40f8df||_0x40f8df[_0x226801([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x226801([0x6f,0x6b]))return _0x226801([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x52ce0d(_0x6fd847(_0x31e776+_0x233a00))!=_0x40f8df[_0x226801([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x226801([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x226801([0x56,0x61,0x6c,0x69,0x64]);})[_0x226801([0x74,0x68,0x65,0x6e])](_0x269c4e=>(_0x47ad31(),_0x269c4e),()=>{const _0x23346c=_0x1860b3();return null==_0x23346c?(_0x47ad31(),_0x226801([0x56,0x61,0x6c,0x69,0x64])):_0x226801(_0x5ae4f9-_0x23346c>(0x38bee0a3^_0x2bc0b1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x226801([0x74,0x68,0x65,0x6e])](_0x14e622)[_0x226801([0x63,0x61,0x74,0x63,0x68])](()=>{_0x14e622(_0x226801([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1aabfc=0x1c848a23^_0x2bc0b1;function _0x47ad31(){const _0x4d4be9=_0x226801([0x6c,0x6c,0x63,0x74,0x2d])+_0x52ce0d(_0x6fd847(_0x3171b3)),_0x4b99d1=_0x34ce6b(_0x52ce0d(window[_0x226801([0x4d,0x61,0x74,0x68])][_0x226801([0x63,0x65,0x69,0x6c])](_0x5ae4f9/_0x1aabfc)));window[_0x226801([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x226801([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d4be9,_0x4b99d1);}function _0x1860b3(){const _0xeeac77=_0x226801([0x6c,0x6c,0x63,0x74,0x2d])+_0x52ce0d(_0x6fd847(_0x3171b3)),_0x4d11e9=window[_0x226801([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x226801([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xeeac77);return _0x4d11e9?window[_0x226801([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34ce6b(_0x4d11e9),0x10)*_0x1aabfc:null;}function _0x2e5c22(_0xbdade2){return new window[(_0x226801([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54b83d,_0x2d4198)=>{_0xbdade2[_0x226801([0x74,0x68,0x65,0x6e])](_0x54b83d,_0x2d4198),window[_0x226801([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2d4198,0x1cb3b063^_0x2bc0b1);});}}_0x5cf7d4[_0x226801([0x6f,0x6e])](_0x226801([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x572b45,_0x4e8b78)=>{if(_0x4e8b78[0x0]!=_0x3171b3)return _0x14e622(_0x226801([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4e8b78[0x1]={..._0x4e8b78[0x1],[_0x226801([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x31e776};},{[_0x226801([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x226801([0x68,0x69,0x67,0x68])}),_0x5cf7d4[_0x226801([0x6f,0x6e])](_0x226801([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x228ef7=>{_0x4d1c83(_0x228ef7[_0x226801([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x307e3c=!0x0,_0x52e7ad(_0x228ef7[_0x226801([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x226801([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x226801([0x6c,0x6f,0x77])}),_0x2e7b4a[_0x226801([0x74,0x68,0x65,0x6e])](()=>{_0x307e3c||_0x14e622(_0x226801([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x52afe2(){return _0x5cf7d4[_0x226801([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x226801([0x76,0x69,0x65,0x77])][_0x226801([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x226801([0x61,0x75,0x74,0x6f]);}function _0x548218(){_0x5cf7d4[_0x226801([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x226801([0x76,0x69,0x65,0x77])][_0x226801([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x226801([0x61,0x75,0x74,0x6f]);}}function _0x37dbb6(_0x54e414){const _0x3c4b5e=[new window[(_0x226801([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x557c83=>setTimeout(_0x557c83,0x1cbb5a6f^_0x2bc0b1)),_0x2e7b4a[_0x226801([0x74,0x68,0x65,0x6e])](()=>new window[(_0x226801([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2558df=>{let _0x3da7ff=0x0;_0x5cf7d4[_0x226801([0x6d,0x6f,0x64,0x65,0x6c])][_0x226801([0x6f,0x6e])](_0x226801([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4f6d56,_0x59b421)=>{_0x59b421[0x0][_0x226801([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3da7ff++,_0x3da7ff==(0x1cb2655b^_0x2bc0b1)&&(_0x2558df(),_0x4f6d56[_0x226801([0x6f,0x66,0x66])]());});}))];return window[_0x226801([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x226801([0x72,0x61,0x63,0x65])](_0x3c4b5e)[_0x226801([0x74,0x68,0x65,0x6e])](()=>_0x54e414);}async function _0x2c425a(){await _0x2e7b4a,_0x5cf7d4[_0x226801([0x6d,0x6f,0x64,0x65,0x6c])][_0x226801([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2cff9e,_0x5cf7d4[_0x226801([0x6d,0x6f,0x64,0x65,0x6c])][_0x226801([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2cff9e,_0x5cf7d4[_0x226801([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x226801([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1f03ee(){return window[_0x226801([0x67,0x6c,0x6f,0x62])]&&window[_0x226801([0x67,0x6c,0x6f,0x62])][_0x226801([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x263b44(_0x8d20f0){const _0x1696f4=_0x98ecf9();_0x5cf7d4[_0x1696f4]=_0x226801([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])+_0x8d20f0,_0x8d20f0!=_0x226801([0x56,0x61,0x6c,0x69,0x64])&&_0x2c425a();}function _0x98ecf9(){const _0x3c3f29=window[_0x226801([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x226801([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x226801([0x6e,0x6f,0x77])]())[_0x226801([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x226801([0x2e]),'');let _0x1ef3e2=_0x226801([0x61]);for(let _0x218463=0x0;_0x218463<_0x3c3f29[_0x226801([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x218463+=0x2){let _0x3631bd=window[_0x226801([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c3f29[_0x226801([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x218463,_0x218463+0x2));_0x3631bd>=_0x3f4a3f[_0x226801([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3631bd-=_0x3f4a3f[_0x226801([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1ef3e2+=_0x3f4a3f[_0x3631bd];}return _0x1ef3e2;}function _0x101341(){const _0x27bad4=_0x4b690c[_0x226801([0x73,0x70,0x6c,0x69,0x74])](_0x226801([0x2e]));if(0x3!=_0x27bad4[_0x226801([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x17dbc6(_0x27bad4[0x1]);function _0x17dbc6(_0x57d02c){const _0x5b0d7b=_0xd56f14(_0x57d02c);return _0x5b0d7b&&_0x388854()?_0x5b0d7b:null;function _0x388854(){const _0x567faa=_0x5b0d7b[_0x226801([0x6a,0x74,0x69])],_0xbeec74=window[_0x226801([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x567faa[_0x226801([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x567faa[_0x226801([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x40eb60={..._0x5b0d7b,[_0x226801([0x6a,0x74,0x69])]:_0x567faa[_0x226801([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x567faa[_0x226801([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x40eb60[_0x226801([0x76,0x63])],_0x6fd847(_0x40eb60)==_0xbeec74;}}}async function _0xbc7aeb(){let _0x13be35=!0x0;try{const _0xe20497=_0x4b690c[_0x226801([0x73,0x70,0x6c,0x69,0x74])](_0x226801([0x2e])),[_0x193dc2,_0x3e694c,_0x44c183]=_0xe20497;return _0xd3f71e(_0x193dc2),await _0x234817(_0x193dc2,_0x3e694c,_0x44c183),_0x13be35;}catch{return!0x1;}function _0xd3f71e(_0x49b1bc){const _0x31c454=_0xd56f14(_0x49b1bc);_0x31c454&&_0x31c454[_0x226801([0x61,0x6c,0x67])]==_0x226801([0x45,0x53,0x32,0x35,0x36])||(_0x13be35=!0x1);}async function _0x234817(_0x503018,_0x5e8059,_0x4e6da2){const _0x37b80d=window[_0x226801([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x226801([0x66,0x72,0x6f,0x6d])](_0x481d15(_0x4e6da2),_0x43e87f=>_0x43e87f[_0x226801([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x17f3f0=new window[(_0x226801([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x226801([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x503018+_0x226801([0x2e])+_0x5e8059),_0x52fb93=window[_0x226801([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x226801([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x52fb93)return;const _0x3c157a=await _0x52fb93[_0x226801([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x226801([0x6a,0x77,0x6b]),_0x54dcd1,{[_0x226801([0x6e,0x61,0x6d,0x65])]:_0x226801([0x45,0x43,0x44,0x53,0x41]),[_0x226801([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x226801([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x226801([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x52fb93[_0x226801([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x226801([0x6e,0x61,0x6d,0x65])]:_0x226801([0x45,0x43,0x44,0x53,0x41]),[_0x226801([0x68,0x61,0x73,0x68])]:{[_0x226801([0x6e,0x61,0x6d,0x65])]:_0x226801([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3c157a,_0x37b80d,_0x17f3f0)||(_0x13be35=!0x1);}}function _0xd56f14(_0x225ad6){return _0x225ad6[_0x226801([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x226801([0x65,0x79]))?JSON[_0x226801([0x70,0x61,0x72,0x73,0x65])](_0x481d15(_0x225ad6)):null;}function _0x481d15(_0x3d1b0b){return window[_0x226801([0x61,0x74,0x6f,0x62])](_0x3d1b0b[_0x226801([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x226801([0x2b]))[_0x226801([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x226801([0x2f])));}function _0x6fd847(_0xc1ad83){let _0x5d2341=0x1505;function _0x5da56a(_0x1d5f82){for(let _0x3ae640=0x0;_0x3ae640<_0x1d5f82[_0x226801([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ae640++){const _0x18b847=_0x1d5f82[_0x226801([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3ae640);_0x5d2341=(_0x5d2341<<0x5)+_0x5d2341+_0x18b847,_0x5d2341&=_0x5d2341;}}function _0x19ffb8(_0x17d232){Array[_0x226801([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x17d232)?_0x17d232[_0x226801([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x19ffb8):_0x17d232&&typeof _0x17d232==_0x226801([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x226801([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x17d232)[_0x226801([0x73,0x6f,0x72,0x74])]()[_0x226801([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2a06ee,_0x823041])=>{_0x5da56a(_0x2a06ee),_0x19ffb8(_0x823041);}):_0x5da56a(window[_0x226801([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x17d232));}return _0x19ffb8(_0xc1ad83),_0x5d2341>>>0x0;}function _0x52ce0d(_0x50d422){return _0x50d422[_0x226801([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x226801([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x226801([0x30]));}function _0x34ce6b(_0x142713){return _0x142713[_0x226801([0x73,0x70,0x6c,0x69,0x74])]('')[_0x226801([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x226801([0x6a,0x6f,0x69,0x6e])]('');}function _0x2cff9e(){}function _0x226801(_0x58c145){return _0x58c145['map'](_0x3f2cea=>String['fromCharCode'](_0x3f2cea))['join']('');}_0x263b44(await _0x240a23());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x5bc5f5,{outlineDefinitions:_0x4e5292,outlineChanges:_0x5afc3b}){this['_currentOutlineDefinitions']=_0x4e5292,this['view']['sync'](_0x5afc3b);}['_setActiveViewItem'](_0x4fd999){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x4fd999]&&(this['view']['activeItemIndex']=_0x4fd999);}['_handleItemSelected'](_0x2483ce){const _0x56554f=this['_currentOutlineDefinitions'][_0x2483ce]['modelElement'];this['editor']['model']['change'](_0x5200f3=>{_0x5200f3['setSelection'](_0x56554f,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x2483ce);}['_updateActiveDefinitionOnViewportChange'](){const _0x33d13a=this['editor'];let _0x4a18f1;for(const _0x1ca371 of _0x33d13a['model']['document']['getRootNames']()){const _0x47303c=_0x33d13a['editing']['view']['getDomRoot'](_0x1ca371),_0x11e225=_0x47303c&&new _0x229bd7(_0x47303c)['getVisible']();if(_0x11e225){const _0x44782c=new _0x229bd7(_0x227e09['window'])['getIntersection'](_0x11e225);_0x44782c&&(_0x4a18f1=_0x44782c['top']+0.25*_0x44782c['height']);}}if(void 0x0===_0x4a18f1)return;const _0x3577cb=h(_0x33d13a['editing'],this['_currentOutlineDefinitions'],_0x4a18f1);_0x3577cb?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x3577cb)):this['_setActiveViewItem'](-0x1);}}function h(_0x243f46,_0x4f0987,_0x382f11,_0x2ff128=0x0,_0x35b97b=_0x4f0987['length']-0x1){const _0x4e3d8c=Math['floor'](_0x2ff128+(_0x35b97b-_0x2ff128)/0x2);if(_0x35b97b>=_0x2ff128){const _0x39214e=_0x4f0987[_0x4e3d8c],_0x3ff5e0=_0x243f46['mapper']['toViewElement'](_0x39214e['modelElement']);if(!_0x3ff5e0)return null;const _0x514961=_0x243f46['view']['domConverter']['mapViewToDom'](_0x3ff5e0);return new _0x229bd7(_0x514961)['bottom']>_0x382f11?h(_0x243f46,_0x4f0987,_0x382f11,_0x2ff128,_0x4e3d8c-0x1):h(_0x243f46,_0x4f0987,_0x382f11,_0x4e3d8c+0x1,_0x35b97b);}return _0x4e3d8c<0x0?null:_0x4f0987[_0x4e3d8c];}class P extends _0x10d39b{['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 _0x314044=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4ca26c;for(const _0x531bcc in _0x314044){const _0x109557=_0x531bcc,_0x427aa7=_0x314044[_0x109557];if('documentOutlineLicenseKeyValid'==_0x427aa7||'documentOutlineLicenseKeyInvalid'==_0x427aa7||'documentOutlineLicenseKeyExpired'==_0x427aa7||'documentOutlineLicenseKeyDomainLimit'==_0x427aa7||'documentOutlineLicenseKeyNotAllowed'==_0x427aa7||'documentOutlineLicenseKeyEvaluationLimit'==_0x427aa7||'documentOutlineLicenseKeyTrialLimit'==_0x427aa7||'documentOutlineLicenseKeyUsageLimit'==_0x427aa7){delete _0x314044[_0x109557],_0x4ca26c=_0x427aa7,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x4ca26c&&_0x314044['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x4ca26c&&_0x314044['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x4ca26c&&_0x314044['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x4ca26c&&_0x314044['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x4ca26c&&_0x314044['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyTrialLimit'==_0x4ca26c&&_0x314044['_showLicenseError']('trialLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x4ca26c&&_0x314044['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class _ extends _0x4cbfae{['execute'](){this['editor']['model']['change'](_0x288347=>{this['editor']['model']['insertObject'](_0x288347['createElement']('tableOfContents'));});}['refresh'](){const _0x28cb44=this['editor']['model'],_0x2fa2cb=_0x28cb44['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x2fa2cb&&_0x28cb44['schema']['findAllowedParent'](_0x2fa2cb,'tableOfContents'));}}class T extends _0x10d39b{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x29c49a=this['editor'];if(_0x29c49a['config']['get']('headingId.modelAttributeName'))return;(function(_0x132183){const _0x44072f=new Map();if(_0x132183)return _0x132183['forEach'](_0x52d902=>{'paragraph'!==_0x52d902['model']&&_0x44072f['set'](_0x52d902['view'],_0x52d902['model']);}),_0x44072f['get']('h1')||_0x44072f['set']('h1','heading1'),_0x44072f;return _0x44072f;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x54ba71,_0x238999)=>{this['_customUpcastHeadingsConversion'](_0x238999),this['_customDataDowncastHeadingsConversion'](_0x54ba71),_0x29c49a['model']['schema']['isRegistered'](_0x54ba71)&&_0x29c49a['model']['schema']['extend'](_0x54ba71,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x168e2d){this['editor']['conversion']['for']('upcast')['add'](_0xb982=>_0xb982['on']('element:'+_0x168e2d,(_0x5e838b,_0x5dee56,_0x2b3273)=>{const {consumable:_0x3abe07,writer:_0x179726}=_0x2b3273,_0x2d4d08=_0x5dee56['viewItem']['getAttribute']('id'),_0x2210ef=_0x5dee56['modelRange']['getContainedElement']();if(_0x2210ef)return _0x2d4d08&&_0x2d4d08['length']||_0x2210ef['hasAttribute']('headingId')?void(_0x3abe07['consume'](_0x5dee56['viewItem'],{'attributes':['id']})&&_0x179726['setAttribute']('headingId',_0x2d4d08,_0x2210ef)):(_0x3abe07['consume'](_0x5dee56['viewItem'],{'attributes':['id']}),void _0x179726['setAttribute']('headingId',_0x45f9a2(),_0x2210ef));},{'priority':_0x4099e0['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x52c969){this['editor']['conversion']['for']('downcast')['add'](_0x3b27d1=>_0x3b27d1['on']('attribute:headingId:'+_0x52c969,(_0x292398,_0x173e90,_0x4f10c1)=>{if(!_0x4f10c1['consumable']['consume'](_0x173e90['item'],_0x292398['name']))return;const _0xb72dcd=_0x173e90['item']['getAttribute']('headingId'),_0x3967c7=_0x4f10c1['mapper']['toViewElement'](_0x173e90['item']);_0x4f10c1['writer']['setAttribute']('id',_0xb72dcd,_0x3967c7);}));}['_registerHeadingIdAttributePostfixer'](){const _0x45ff8d=this['editor'],_0x18dd14=new Set(),_0x439a0b=new Set();function _0x3d3dba(_0x1f4b77,_0x31a91a){const _0x3b2fdc=_0x45f9a2();return _0x439a0b['add'](_0x3b2fdc),_0x1f4b77['setAttribute']('headingId',_0x3b2fdc,_0x31a91a),_0x3b2fdc;}function _0x4a1897(_0x369c1e,_0x35e776){_0x369c1e['removeAttribute']('headingId',_0x35e776);}_0x45ff8d['model']['document']['registerPostFixer'](_0x1c53ab=>{const _0x365df5=_0x45ff8d['model']['document']['differ']['getChanges']();let _0x42ccbe=!0x1;for(const _0x42fb3e of _0x365df5)if('insert'==_0x42fb3e['type']&&_0x42fb3e['name']){if(b(_0x42fb3e['name'])){const _0x2cdc7f=_0x42fb3e['attributes']['get']('headingId');'string'==typeof _0x2cdc7f?_0x18dd14['has'](_0x2cdc7f)?(_0x3d3dba(_0x1c53ab,_0x42fb3e['position']['nodeAfter']),_0x42ccbe=!0x0):_0x439a0b['add'](_0x2cdc7f):(_0x3d3dba(_0x1c53ab,_0x42fb3e['position']['nodeAfter']),_0x42ccbe=!0x0);}else'string'==typeof _0x42fb3e['attributes']['get']('headingId')&&(_0x4a1897(_0x1c53ab,_0x42fb3e['position']['nodeAfter']),_0x42ccbe=!0x0);}else{if('remove'==_0x42fb3e['type']){const _0x5e2788=_0x42fb3e['attributes']['get']('headingId');'string'==typeof _0x5e2788&&_0x18dd14['delete'](_0x5e2788);}}return _0x42ccbe;}),_0x45ff8d['model']['document']['on']('change',()=>{_0x439a0b['forEach'](_0x356bc9=>_0x18dd14['add'](_0x356bc9)),_0x439a0b['clear']();});}}function b(_0xf0101f){return!!_0xf0101f['match'](/heading\d/);}class s extends _0x10d39b{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x10081c,i,T];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x13a2aa){super(_0x13a2aa),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x29b76d=this['editor'],_0x277db9=_0x29b76d['editing']['view']['document'];_0x29b76d['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x29b76d['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x277db9,'click',(_0xb371de,_0x15636b)=>{if(!_0x15636b['target'])return;const _0x4fce27=_0x15636b['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x4fce27)&&(_0x15636b['domEvent']['preventDefault'](),_0xb371de['stop'](),this['_handleScrollToHeading'](_0x4fce27));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x29b76d['commands']['add']('insertTableOfContents',new _(_0x29b76d)),(_0x29b76d['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x2fd269,_0x305cc5)=>{this['_currentOutlineDefinitions']=_0x305cc5['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x29b76d['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x38d22e){const _0x32cf3b=_0x205347([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]),_0xb9a70e=0x6b9b05fd,_0x53f97a=0x6b9c7155^_0xb9a70e,_0x48a819=window[_0x205347([0x44,0x61,0x74,0x65])][_0x205347([0x6e,0x6f,0x77])](),_0x497fac=_0x38d22e[_0x205347([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1dc3e7=new window[(_0x205347([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x584bf6=>{_0x497fac[_0x205347([0x6f,0x6e,0x63,0x65])](_0x205347([0x72,0x65,0x61,0x64,0x79]),_0x584bf6);}),_0xce0b44={[_0x205347([0x6b,0x74,0x79])]:_0x205347([0x45,0x43]),[_0x205347([0x75,0x73,0x65])]:_0x205347([0x73,0x69,0x67]),[_0x205347([0x63,0x72,0x76])]:_0x205347([0x50,0x2d,0x32,0x35,0x36]),[_0x205347([0x78])]:_0x205347([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]),[_0x205347([0x79])]:_0x205347([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]),[_0x205347([0x61,0x6c,0x67])]:_0x205347([0x45,0x53,0x32,0x35,0x36])},_0x19c451=_0x497fac[_0x205347([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x205347([0x67,0x65,0x74])](_0x205347([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2ca68d(){let _0x1b6bb4,_0xa63c27=null,_0x1fec79=null;try{if(_0x19c451==_0x205347([0x47,0x50,0x4c]))return _0x205347([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1b6bb4=_0xd5ed34(),!_0x1b6bb4)return _0x205347([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1b6bb4[_0x205347([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1fec79=_0x3d9959(_0x1b6bb4[_0x205347([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1b6bb4[_0x205347([0x6a,0x74,0x69])])),await _0x5a7753()?_0x599044()?_0x13cee7()?_0x205347([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x394812()?(_0x1b6bb4[_0x205347([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x205347([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xa63c27=_0x52552c(_0x205347([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1b6bb4[_0x205347([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x205347([0x74,0x72,0x69,0x61,0x6c])&&(_0xa63c27=_0x52552c(_0x205347([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x230a92()):_0x205347([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x205347([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x205347([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x205347([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x13cee7(){const _0x3b6790=[_0x205347([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x205347([0x74,0x72,0x69,0x61,0x6c])][_0x205347([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b6bb4[_0x205347([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x48a819/0x3e8:0xe10*_0x53f97a;return _0x1b6bb4[_0x205347([0x65,0x78,0x70])]<_0x3b6790;}function _0x599044(){const _0xc493c5=_0x1b6bb4[_0x205347([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xc493c5&&(!!_0xc493c5[_0x205347([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x205347([0x2a]))||(!!_0xc493c5[_0x205347([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x205347([0x54,0x4f,0x43]))||(!!_0xc493c5[_0x205347([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x205347([0x50,0x50]))||!(!_0xc493c5[_0x205347([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x205347([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x1b7e51()))));}function _0x394812(){const _0x15f93a=_0x1b6bb4[_0x205347([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x15f93a||0x0==_0x15f93a[_0x205347([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2dbcf6}=new URL(window[_0x205347([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x15f93a[_0x205347([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dbcf6))return!0x0;const _0x5c2ee6=_0x2dbcf6[_0x205347([0x73,0x70,0x6c,0x69,0x74])](_0x205347([0x2e]));return _0x15f93a[_0x205347([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b5d37=>_0x1b5d37[_0x205347([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x205347([0x2a])))[_0x205347([0x6d,0x61,0x70])](_0x5c7a08=>_0x5c7a08[_0x205347([0x73,0x70,0x6c,0x69,0x74])](_0x205347([0x2e])))[_0x205347([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x474629=>_0x474629[_0x205347([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5c2ee6[_0x205347([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x205347([0x6d,0x61,0x70])](_0x3d6bf2=>Array(_0x5c2ee6[_0x205347([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3d6bf2[_0x205347([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x205347([0x66,0x69,0x6c,0x6c])](_0x3d6bf2[0x0]===_0x205347([0x2a])?_0x205347([0x2a]):'')[_0x205347([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3d6bf2))[_0x205347([0x73,0x6f,0x6d,0x65])](_0x53a1df=>_0x5c2ee6[_0x205347([0x65,0x76,0x65,0x72,0x79])]((_0x4ded9b,_0x1cd39d)=>_0x53a1df[_0x1cd39d]===_0x4ded9b||_0x53a1df[_0x1cd39d]===_0x205347([0x2a])));}function _0x230a92(){return _0xa63c27&&_0x1fec79?new window[(_0x205347([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x347574,_0x5c0896)=>{_0xa63c27[_0x205347([0x74,0x68,0x65,0x6e])](_0x347574,_0x5c0896),_0x1fec79[_0x205347([0x74,0x68,0x65,0x6e])](_0x535b37=>{_0x535b37!=_0x205347([0x56,0x61,0x6c,0x69,0x64])&&_0x347574(_0x535b37);},_0x5c0896);}):_0xa63c27||_0x1fec79||_0x205347([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3d9959(_0x3d35e0,_0x2b320f){return new window[(_0x205347([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4db170=>{if(_0x39b1b9())return _0x4db170(_0x205347([0x56,0x61,0x6c,0x69,0x64]));_0x1ecde6(),_0x497fac[_0x205347([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x205347([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4348b3=!0x1;const _0x3abdac=_0x45f9a2();function _0x38673b(_0x76c596){return!!_0x76c596&&(typeof _0x76c596===_0x205347([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x76c596===_0x205347([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x76c596[_0x205347([0x74,0x68,0x65,0x6e])]===_0x205347([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x76c596[_0x205347([0x63,0x61,0x74,0x63,0x68])]===_0x205347([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x32eb15(_0x25e0f9){_0x1bf333(_0x25e0f9)[_0x205347([0x74,0x68,0x65,0x6e])](_0x41583b=>{if(!_0x41583b||_0x41583b[_0x205347([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x205347([0x6f,0x6b]))return _0x205347([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x341a82(_0x2738c5(_0x3abdac+_0x2b320f))!=_0x41583b[_0x205347([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x205347([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x205347([0x56,0x61,0x6c,0x69,0x64]);})[_0x205347([0x74,0x68,0x65,0x6e])](_0x4695d9=>(_0x16b089(),_0x4695d9),()=>{const _0x329ed2=_0x50933c();return null==_0x329ed2?(_0x16b089(),_0x205347([0x56,0x61,0x6c,0x69,0x64])):_0x205347(_0x48a819-_0x329ed2>(0x4f9781fd^_0xb9a70e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x205347([0x74,0x68,0x65,0x6e])](_0x4db170)[_0x205347([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4db170(_0x205347([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x446a7e=0x6badeb7d^_0xb9a70e;function _0x16b089(){const _0x5c9969=_0x205347([0x6c,0x6c,0x63,0x74,0x2d])+_0x341a82(_0x2738c5(_0x3d35e0)),_0x4adc4f=_0x4284af(_0x341a82(window[_0x205347([0x4d,0x61,0x74,0x68])][_0x205347([0x63,0x65,0x69,0x6c])](_0x48a819/_0x446a7e)));window[_0x205347([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x205347([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5c9969,_0x4adc4f);}function _0x50933c(){const _0x1f81d1=_0x205347([0x6c,0x6c,0x63,0x74,0x2d])+_0x341a82(_0x2738c5(_0x3d35e0)),_0x592a45=window[_0x205347([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x205347([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f81d1);return _0x592a45?window[_0x205347([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4284af(_0x592a45),0x10)*_0x446a7e:null;}function _0x1bf333(_0x1b2f38){return new window[(_0x205347([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x39a477,_0x2da188)=>{_0x1b2f38[_0x205347([0x74,0x68,0x65,0x6e])](_0x39a477,_0x2da188),window[_0x205347([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2da188,0x6b9ad13d^_0xb9a70e);});}}_0x497fac[_0x205347([0x6f,0x6e])](_0x205347([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x54a3f4,_0x41a264)=>{if(_0x41a264[0x0]!=_0x3d35e0)return _0x4db170(_0x205347([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x41a264[0x1]={..._0x41a264[0x1],[_0x205347([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3abdac};},{[_0x205347([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x205347([0x68,0x69,0x67,0x68])}),_0x497fac[_0x205347([0x6f,0x6e])](_0x205347([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x43c75f=>{_0x38673b(_0x43c75f[_0x205347([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4348b3=!0x0,_0x32eb15(_0x43c75f[_0x205347([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x205347([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x205347([0x6c,0x6f,0x77])}),_0x1dc3e7[_0x205347([0x74,0x68,0x65,0x6e])](()=>{_0x4348b3||_0x4db170(_0x205347([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x39b1b9(){return _0x497fac[_0x205347([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x205347([0x76,0x69,0x65,0x77])][_0x205347([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x205347([0x61,0x75,0x74,0x6f]);}function _0x1ecde6(){_0x497fac[_0x205347([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x205347([0x76,0x69,0x65,0x77])][_0x205347([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x205347([0x61,0x75,0x74,0x6f]);}}function _0x52552c(_0x439b66){const _0x473d59=[new window[(_0x205347([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x498ebd=>setTimeout(_0x498ebd,0x6b923b31^_0xb9a70e)),_0x1dc3e7[_0x205347([0x74,0x68,0x65,0x6e])](()=>new window[(_0x205347([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x288e60=>{let _0x3e7f13=0x0;_0x497fac[_0x205347([0x6d,0x6f,0x64,0x65,0x6c])][_0x205347([0x6f,0x6e])](_0x205347([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4ac32a,_0x5521fe)=>{_0x5521fe[0x0][_0x205347([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3e7f13++,_0x3e7f13==(0x6b9b0405^_0xb9a70e)&&(_0x288e60(),_0x4ac32a[_0x205347([0x6f,0x66,0x66])]());});}))];return window[_0x205347([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x205347([0x72,0x61,0x63,0x65])](_0x473d59)[_0x205347([0x74,0x68,0x65,0x6e])](()=>_0x439b66);}async function _0x431446(){await _0x1dc3e7,_0x497fac[_0x205347([0x6d,0x6f,0x64,0x65,0x6c])][_0x205347([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x465831,_0x497fac[_0x205347([0x6d,0x6f,0x64,0x65,0x6c])][_0x205347([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x465831,_0x497fac[_0x205347([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x205347([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1b7e51(){return window[_0x205347([0x67,0x6c,0x6f,0x62])]&&window[_0x205347([0x67,0x6c,0x6f,0x62])][_0x205347([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x2bd370(_0x4675e9){const _0x427fb3=_0x1747d8();_0x497fac[_0x427fb3]=_0x205347([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])+_0x4675e9,_0x4675e9!=_0x205347([0x56,0x61,0x6c,0x69,0x64])&&_0x431446();}function _0x1747d8(){const _0x2af506=window[_0x205347([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x205347([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x205347([0x6e,0x6f,0x77])]())[_0x205347([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x205347([0x2e]),'');let _0x38fbd8=_0x205347([0x6d]);for(let _0x14f2b8=0x0;_0x14f2b8<_0x2af506[_0x205347([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14f2b8+=0x2){let _0x195155=window[_0x205347([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2af506[_0x205347([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x14f2b8,_0x14f2b8+0x2));_0x195155>=_0x32cf3b[_0x205347([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x195155-=_0x32cf3b[_0x205347([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x38fbd8+=_0x32cf3b[_0x195155];}return _0x38fbd8;}function _0xd5ed34(){const _0x4c2593=_0x19c451[_0x205347([0x73,0x70,0x6c,0x69,0x74])](_0x205347([0x2e]));if(0x3!=_0x4c2593[_0x205347([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xbd9bf6(_0x4c2593[0x1]);function _0xbd9bf6(_0x11175c){const _0x5897db=_0x38ab68(_0x11175c);return _0x5897db&&_0x25c702()?_0x5897db:null;function _0x25c702(){const _0x12b030=_0x5897db[_0x205347([0x6a,0x74,0x69])],_0x3a15d9=window[_0x205347([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12b030[_0x205347([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x12b030[_0x205347([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x549241={..._0x5897db,[_0x205347([0x6a,0x74,0x69])]:_0x12b030[_0x205347([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x12b030[_0x205347([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x549241[_0x205347([0x76,0x63])],_0x2738c5(_0x549241)==_0x3a15d9;}}}async function _0x5a7753(){let _0x48cfb7=!0x0;try{const _0x300836=_0x19c451[_0x205347([0x73,0x70,0x6c,0x69,0x74])](_0x205347([0x2e])),[_0x13fcb4,_0x21b04e,_0x206292]=_0x300836;return _0x37db7c(_0x13fcb4),await _0x20d239(_0x13fcb4,_0x21b04e,_0x206292),_0x48cfb7;}catch{return!0x1;}function _0x37db7c(_0x1a18c2){const _0x56e92e=_0x38ab68(_0x1a18c2);_0x56e92e&&_0x56e92e[_0x205347([0x61,0x6c,0x67])]==_0x205347([0x45,0x53,0x32,0x35,0x36])||(_0x48cfb7=!0x1);}async function _0x20d239(_0x3f48a8,_0x380939,_0x459053){const _0xaab29c=window[_0x205347([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x205347([0x66,0x72,0x6f,0x6d])](_0x54e11d(_0x459053),_0x3d388b=>_0x3d388b[_0x205347([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x385fa0=new window[(_0x205347([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x205347([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3f48a8+_0x205347([0x2e])+_0x380939),_0x2cdc3a=window[_0x205347([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x205347([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2cdc3a)return;const _0x340250=await _0x2cdc3a[_0x205347([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x205347([0x6a,0x77,0x6b]),_0xce0b44,{[_0x205347([0x6e,0x61,0x6d,0x65])]:_0x205347([0x45,0x43,0x44,0x53,0x41]),[_0x205347([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x205347([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x205347([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2cdc3a[_0x205347([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x205347([0x6e,0x61,0x6d,0x65])]:_0x205347([0x45,0x43,0x44,0x53,0x41]),[_0x205347([0x68,0x61,0x73,0x68])]:{[_0x205347([0x6e,0x61,0x6d,0x65])]:_0x205347([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x340250,_0xaab29c,_0x385fa0)||(_0x48cfb7=!0x1);}}function _0x38ab68(_0x593600){return _0x593600[_0x205347([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x205347([0x65,0x79]))?JSON[_0x205347([0x70,0x61,0x72,0x73,0x65])](_0x54e11d(_0x593600)):null;}function _0x54e11d(_0x50e52d){return window[_0x205347([0x61,0x74,0x6f,0x62])](_0x50e52d[_0x205347([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x205347([0x2b]))[_0x205347([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x205347([0x2f])));}function _0x2738c5(_0x3644ca){let _0x169d62=0x1505;function _0x3e8fb2(_0x1616f1){for(let _0x2f33d6=0x0;_0x2f33d6<_0x1616f1[_0x205347([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f33d6++){const _0x377ddf=_0x1616f1[_0x205347([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2f33d6);_0x169d62=(_0x169d62<<0x5)+_0x169d62+_0x377ddf,_0x169d62&=_0x169d62;}}function _0x3cfbf1(_0x27967b){Array[_0x205347([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x27967b)?_0x27967b[_0x205347([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3cfbf1):_0x27967b&&typeof _0x27967b==_0x205347([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x205347([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x27967b)[_0x205347([0x73,0x6f,0x72,0x74])]()[_0x205347([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5a5694,_0x209e07])=>{_0x3e8fb2(_0x5a5694),_0x3cfbf1(_0x209e07);}):_0x3e8fb2(window[_0x205347([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x27967b));}return _0x3cfbf1(_0x3644ca),_0x169d62>>>0x0;}function _0x341a82(_0x4bb9f9){return _0x4bb9f9[_0x205347([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x205347([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x205347([0x30]));}function _0x4284af(_0x24457c){return _0x24457c[_0x205347([0x73,0x70,0x6c,0x69,0x74])]('')[_0x205347([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x205347([0x6a,0x6f,0x69,0x6e])]('');}function _0x465831(){}function _0x205347(_0x309591){return _0x309591['map'](_0x5892db=>String['fromCharCode'](_0x5892db))['join']('');}_0x2bd370(await _0x2ca68d());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x12fdd9=>{'$graveyard'!==_0x12fdd9['rootName']&&this['editor']['editing']['reconvertItem'](_0x12fdd9);});}['_trackNewToCElements'](){for(const _0x463d57 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x463d57['type']||'tableOfContents'!==_0x463d57['name'])return;this['_tableOfContentsElements']['add'](_0x463d57['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x21e931=this['editor']['conversion'];_0x21e931['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x21e931['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x4f637f,{writer:_0x52abf3})=>this['_createTableOfContents'](_0x52abf3,!0x0)}),_0x21e931['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x5dae56,{writer:_0x57c4a6})=>{this['_tableOfContentsElements']['add'](_0x5dae56);const _0x41c88f=this['_createTableOfContents'](_0x57c4a6);return _0x2c6274(_0x41c88f,_0x57c4a6,{'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'](_0x54ec5a,_0x1f4679=!0x1){const {locale:_0x2b7f10}=this['editor'],_0x104eb1=_0x54ec5a['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x1f4679&&{'data-table-of-contents-label':j(_0x2b7f10,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x1f4679&&_0x54ec5a['insert'](_0x54ec5a['createPositionAt'](_0x104eb1,'end'),_0x54ec5a['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x54ec5a['createText'](j(_0x2b7f10,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x25c8e3=_0x1f4679?'':'['+j(_0x2b7f10,'Empty\x20heading')+']';let _0x52ba74=_0x104eb1;return this['_currentOutlineDefinitions']['forEach']((_0x4a2733,_0x32972f,_0x185da0)=>{const _0x32344e=this['editor']['model']['hasContent'](_0x4a2733['modelElement'],{'ignoreWhitespaces':!0x0}),_0x3bea67=_0x32344e?_0x4a2733['text']:_0x25c8e3,_0x54a286=_0x4a2733['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x541c15=_0x54ec5a['createContainerElement']('a',{'href':'#'+_0x54a286,...!_0x1f4679&&{'tabindex':'-1'}},[_0x54ec5a['createText'](_0x3bea67)]),_0x34f493=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x54ec5a['setCustomProperty']('tableOfContentsHeadingIndex',_0x32972f,_0x541c15);const _0x4debf7=_0x54ec5a['createContainerElement']('li',null,[_0x32344e||!_0x1f4679&&_0x34f493?_0x541c15:_0x54ec5a['createText']('')]),_0x3f61ea=_0x32972f?_0x185da0[_0x32972f-0x1]['level']:0x0,_0x4fa7f1=Math['abs'](_0x4a2733['level']-_0x3f61ea);if(_0x4a2733['level']>_0x3f61ea){const _0x19b187=N(_0x4debf7,_0x4fa7f1,_0x54ec5a);_0x54ec5a['insert'](_0x54ec5a['createPositionAt'](_0x52ba74,'end'),_0x19b187);}else{const _0x1eb317=function(_0x5e1d44,_0x5a7478){return _0x5e1d44['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x1403b5=>_0x1403b5['is']('element','ol'))[_0x5a7478];}(_0x52ba74,_0x4fa7f1);_0x54ec5a['insert'](_0x54ec5a['createPositionAt'](_0x1eb317,'end'),_0x4debf7);}_0x52ba74=_0x4debf7;}),_0x104eb1;}['_handleScrollToHeading'](_0x4ae55d){const _0x4296d9=this['_currentOutlineDefinitions'][_0x4ae55d]['modelElement'];this['editor']['model']['change'](_0x16b158=>{_0x16b158['setSelection'](_0x4296d9,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x2c642c,_0x53bb62)=>{const _0x3b6aaf=_0x53bb62['mapper'],_0x88f0b0=_0x3b6aaf['findMappedViewAncestor'](_0x53bb62['viewPosition']),_0x2cfc45=_0x3b6aaf['toModelElement'](_0x88f0b0);_0x2cfc45['is']('element','tableOfContents')&&(_0x53bb62['modelPosition']=this['editor']['model']['createPositionAt'](_0x2cfc45,0x0),_0x2c642c['stop']());};}}function N(_0x2a2e2d,_0x17fa32,_0x5bc41b){return 0x1===_0x17fa32?_0x5bc41b['createContainerElement']('ol',null,[_0x2a2e2d]):_0x5bc41b['createContainerElement']('ol',null,[_0x5bc41b['createContainerElement']('li',null,[N(_0x2a2e2d,_0x17fa32-0x1,_0x5bc41b)])]);}class o extends _0x10d39b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4f2c55=this['editor'];_0x4f2c55['ui']['componentFactory']['add']('tableOfContents',()=>{const _0xbbecb3=this['_createButton'](_0x2eb728);return _0xbbecb3['tooltip']=!0x0,_0xbbecb3;}),_0x4f2c55['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x354923)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4dc0ab=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xeab11b;for(const _0x59c68c in _0x4dc0ab){const _0x44b95b=_0x59c68c,_0x119282=_0x4dc0ab[_0x44b95b];if('tableOfContentsLicenseKeyValid'==_0x119282||'tableOfContentsLicenseKeyInvalid'==_0x119282||'tableOfContentsLicenseKeyExpired'==_0x119282||'tableOfContentsLicenseKeyDomainLimit'==_0x119282||'tableOfContentsLicenseKeyNotAllowed'==_0x119282||'tableOfContentsLicenseKeyEvaluationLimit'==_0x119282||'tableOfContentsLicenseKeyTrialLimit'==_0x119282||'tableOfContentsLicenseKeyUsageLimit'==_0x119282){delete _0x4dc0ab[_0x44b95b],_0xeab11b=_0x119282,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0xeab11b&&_0x4dc0ab['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0xeab11b&&_0x4dc0ab['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0xeab11b&&_0x4dc0ab['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0xeab11b&&_0x4dc0ab['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0xeab11b&&_0x4dc0ab['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyTrialLimit'==_0xeab11b&&_0x4dc0ab['_showLicenseError']('trialLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0xeab11b&&_0x4dc0ab['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x3a5f3a){const _0x5c580b=this['editor'],_0x37285b=_0x5c580b['locale'],_0x5c663e=_0x5c580b['commands']['get']('insertTableOfContents'),_0x2d98e0=new _0x3a5f3a(_0x37285b);return _0x2d98e0['set']({'label':j(_0x37285b,'Table\x20of\x20contents'),'icon':_0x4ed2c7}),_0x2d98e0['bind']('isEnabled')['to'](_0x5c663e,'isEnabled'),this['listenTo'](_0x2d98e0,'execute',()=>{_0x5c580b['execute']('insertTableOfContents'),_0x5c580b['editing']['view']['focus']();}),_0x2d98e0;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class D extends _0x10d39b{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};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-document-outline",
|
|
3
|
-
"version": "47.0.0-alpha.
|
|
3
|
+
"version": "47.0.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.0.0-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "47.0.0-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-heading": "47.0.0-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-icons": "47.0.0-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-ui": "47.0.0-alpha.
|
|
21
|
-
"@ckeditor/ckeditor5-utils": "47.0.0-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-widget": "47.0.0-alpha.
|
|
23
|
-
"ckeditor5": "47.0.0-alpha.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "47.0.0-alpha.4",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "47.0.0-alpha.4",
|
|
18
|
+
"@ckeditor/ckeditor5-heading": "47.0.0-alpha.4",
|
|
19
|
+
"@ckeditor/ckeditor5-icons": "47.0.0-alpha.4",
|
|
20
|
+
"@ckeditor/ckeditor5-ui": "47.0.0-alpha.4",
|
|
21
|
+
"@ckeditor/ckeditor5-utils": "47.0.0-alpha.4",
|
|
22
|
+
"@ckeditor/ckeditor5-widget": "47.0.0-alpha.4",
|
|
23
|
+
"ckeditor5": "47.0.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
|
-
function _0x14da(_0x3a1f06,_0x55d8c9){const _0x26855c=_0x2685();return _0x14da=function(_0x14da00,_0x2362d9){_0x14da00=_0x14da00-0x13c;let _0x3b0e36=_0x26855c[_0x14da00];return _0x3b0e36;},_0x14da(_0x3a1f06,_0x55d8c9);}const _0x29554f=_0x14da;(function(_0x27e811,_0x5891f8){const _0x3a8d00=_0x14da,_0x50e716=_0x27e811();while(!![]){try{const _0xa86f76=-parseInt(_0x3a8d00(0x177))/0x1*(-parseInt(_0x3a8d00(0x13f))/0x2)+parseInt(_0x3a8d00(0x160))/0x3+-parseInt(_0x3a8d00(0x161))/0x4+-parseInt(_0x3a8d00(0x157))/0x5+-parseInt(_0x3a8d00(0x174))/0x6+-parseInt(_0x3a8d00(0x14a))/0x7+parseInt(_0x3a8d00(0x144))/0x8;if(_0xa86f76===_0x5891f8)break;else _0x50e716['push'](_0x50e716['shift']());}catch(_0x19ff05){_0x50e716['push'](_0x50e716['shift']());}}}(_0x2685,0x75316));import{Plugin as _0x39666d}from'ckeditor5/src/core.js';function _0x2685(){const _0x4ca1dd=['6161414qLKkdo','locale','mapViewToDom','destroy','mapper','plugins','window','setSelection','focus','scrollToTheSelection','config','sync','indexOf','4025620MbocOv','resize','length','scroll','add','_handleOutlineChange','model','modelElement','document-outline-container-not-provided','298536RhTGth','3442660qpmpxI','editor','_handleItemSelected','bind','_updateActiveDefinitionFromViewportThrottled','_updateActiveDefinitionOnViewportChange','getRootNames','render','afterInit','element','itemSelected','top','isPremiumPlugin','height','documentOutline.showEmptyHeadings','domConverter','fromCharCode','DocumentOutlineUtils','map','4892940eYLtyc','getIntersection','DocumentOutlineUI','4262ZCAxow','floor','bottom','focusTracker','getVisible','cancel','_setActiveViewItem','get','appendChild','listenTo','view','toViewElement','editing','href','_currentOutlineDefinitions','446VBqAzz','pluginName','change','getDomRoot','documentOutline.container','22332520lPFtNq','activeItemIndex','isOfficialPlugin','init','join','document'];_0x2685=function(){return _0x4ca1dd;};return _0x2685();}import{CKEditorError as _0x1be365,global as _0x40c3ce,Rect as _0x344317,uid as _0xe78b93}from'ckeditor5/src/utils.js';import{DocumentOutlineView as _0xf8cce0}from'./ui/documentoutlineview.js';import{throttle as _0x52115b}from'es-toolkit/compat';import'../../theme/documentoutline.css';export class DocumentOutlineUI extends _0x39666d{[_0x29554f(0x181)];[_0x29554f(0x13e)];[_0x29554f(0x165)];static get[_0x29554f(0x140)](){const _0x12091b=_0x29554f;return _0x12091b(0x176);}static get[_0x29554f(0x146)](){return!0x0;}static get[_0x29554f(0x16d)](){return!0x0;}constructor(_0x30cfde){const _0x232248=_0x29554f;super(_0x30cfde),this[_0x232248(0x181)]=new _0xf8cce0(_0x30cfde[_0x232248(0x14b)],this[_0x232248(0x162)][_0x232248(0x154)][_0x232248(0x17e)](_0x232248(0x16f)),this[_0x232248(0x162)][_0x232248(0x154)][_0x232248(0x17e)](_0x232248(0x143))),this[_0x232248(0x13e)]=[],this[_0x232248(0x165)]=_0x52115b(this[_0x232248(0x166)][_0x232248(0x164)](this),0x64);}[_0x29554f(0x147)](){const _0x40142c=_0x29554f,_0xf3e2e4=this[_0x40142c(0x162)],_0xcc7860=_0xf3e2e4[_0x40142c(0x14f)][_0x40142c(0x17e)](_0x40142c(0x172));let _0x5dfced=!0x1;if(this[_0x40142c(0x181)][_0x40142c(0x168)](),this[_0x40142c(0x162)]['ui'][_0x40142c(0x17a)][_0x40142c(0x15b)](this[_0x40142c(0x181)][_0x40142c(0x16a)]),!_0xf3e2e4[_0x40142c(0x154)][_0x40142c(0x17e)](_0x40142c(0x143)))throw new _0x1be365(_0x40142c(0x15f),{'editor':_0xf3e2e4});_0xf3e2e4[_0x40142c(0x154)][_0x40142c(0x17e)](_0x40142c(0x143))[_0x40142c(0x17f)](this[_0x40142c(0x181)][_0x40142c(0x16a)]),_0xcc7860['on'](_0x40142c(0x141),this[_0x40142c(0x15c)][_0x40142c(0x164)](this)),_0xcc7860['on'](_0x40142c(0x145),(_0x3ba33f,{index:_0x7fc92c})=>this[_0x40142c(0x17d)](_0x7fc92c)),this[_0x40142c(0x181)]['on'](_0x40142c(0x16b),(_0xd8919f,_0x23e539)=>{const _0x13b6a1=_0x40142c;_0x5dfced=!0x0,this[_0x13b6a1(0x163)](_0x23e539);}),this[_0x40142c(0x181)][_0x40142c(0x180)](_0x40c3ce[_0x40142c(0x149)],_0x40142c(0x15a),()=>{const _0x33f849=_0x40142c;_0x5dfced?_0x5dfced=!0x1:this[_0x33f849(0x165)]();},{'useCapture':!0x0}),this[_0x40142c(0x181)][_0x40142c(0x180)](_0x40c3ce[_0x40142c(0x150)],_0x40142c(0x158),this[_0x40142c(0x165)],{'useCapture':!0x0});}[_0x29554f(0x169)](){!async function(_0x1101e4){const _0xb250af=_0x360be9([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]),_0x2e58c8=0x1cb264a3,_0x4c301e=0x1cb51033^_0x2e58c8,_0x3143a6=window[_0x360be9([0x44,0x61,0x74,0x65])][_0x360be9([0x6e,0x6f,0x77])](),_0x54a863=_0x1101e4[_0x360be9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x26880f=new window[(_0x360be9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8c5915=>{_0x54a863[_0x360be9([0x6f,0x6e,0x63,0x65])](_0x360be9([0x72,0x65,0x61,0x64,0x79]),_0x8c5915);}),_0x531688={[_0x360be9([0x6b,0x74,0x79])]:_0x360be9([0x45,0x43]),[_0x360be9([0x75,0x73,0x65])]:_0x360be9([0x73,0x69,0x67]),[_0x360be9([0x63,0x72,0x76])]:_0x360be9([0x50,0x2d,0x32,0x35,0x36]),[_0x360be9([0x78])]:_0x360be9([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]),[_0x360be9([0x79])]:_0x360be9([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]),[_0x360be9([0x61,0x6c,0x67])]:_0x360be9([0x45,0x53,0x32,0x35,0x36])},_0x5b9642=_0x54a863[_0x360be9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x360be9([0x67,0x65,0x74])](_0x360be9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x42b0f9(){let _0x363a13,_0x5788f1=null,_0x35d5d2=null;try{if(_0x5b9642==_0x360be9([0x47,0x50,0x4c]))return _0x360be9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x363a13=_0x15400a(),!_0x363a13)return _0x360be9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x363a13[_0x360be9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x35d5d2=_0x387c3a(_0x363a13[_0x360be9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x363a13[_0x360be9([0x6a,0x74,0x69])])),await _0x37a152()?_0x3728a8()?_0x277f6d()?_0x360be9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x44bf13()?(_0x363a13[_0x360be9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x360be9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5788f1=_0xf21602(_0x360be9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x363a13[_0x360be9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x360be9([0x74,0x72,0x69,0x61,0x6c])&&(_0x5788f1=_0xf21602(_0x360be9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x32f8de()):_0x360be9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x360be9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x360be9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x360be9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x277f6d(){const _0x2ae490=[_0x360be9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x360be9([0x74,0x72,0x69,0x61,0x6c])][_0x360be9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x363a13[_0x360be9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3143a6/0x3e8:0xe10*_0x4c301e;return _0x363a13[_0x360be9([0x65,0x78,0x70])]<_0x2ae490;}function _0x3728a8(){const _0x31f1dc=_0x363a13[_0x360be9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x31f1dc&&(!!_0x31f1dc[_0x360be9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x360be9([0x2a]))||(!!_0x31f1dc[_0x360be9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x360be9([0x44,0x4f]))||(!!_0x31f1dc[_0x360be9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x360be9([0x50,0x50]))||!(!_0x31f1dc[_0x360be9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x360be9([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0xf8853c()))));}function _0x44bf13(){const _0x143118=_0x14da,_0x909221=_0x363a13[_0x360be9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x909221||0x0==_0x909221[_0x360be9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3fc1cc}=new URL(window[_0x360be9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x143118(0x13d)]);if(_0x909221[_0x360be9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fc1cc))return!0x0;const _0x1dc020=_0x3fc1cc[_0x360be9([0x73,0x70,0x6c,0x69,0x74])](_0x360be9([0x2e]));return _0x909221[_0x360be9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4fad5b=>_0x4fad5b[_0x360be9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x360be9([0x2a])))[_0x360be9([0x6d,0x61,0x70])](_0x5482d5=>_0x5482d5[_0x360be9([0x73,0x70,0x6c,0x69,0x74])](_0x360be9([0x2e])))[_0x360be9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4b22dd=>_0x4b22dd[_0x360be9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1dc020[_0x360be9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x360be9([0x6d,0x61,0x70])](_0x51bc62=>Array(_0x1dc020[_0x360be9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x51bc62[_0x360be9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x360be9([0x66,0x69,0x6c,0x6c])](_0x51bc62[0x0]===_0x360be9([0x2a])?_0x360be9([0x2a]):'')[_0x360be9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x51bc62))[_0x360be9([0x73,0x6f,0x6d,0x65])](_0x38b023=>_0x1dc020[_0x360be9([0x65,0x76,0x65,0x72,0x79])]((_0x4725e3,_0x2a2dd2)=>_0x38b023[_0x2a2dd2]===_0x4725e3||_0x38b023[_0x2a2dd2]===_0x360be9([0x2a])));}function _0x32f8de(){return _0x5788f1&&_0x35d5d2?new window[(_0x360be9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c5263,_0x52a85a)=>{_0x5788f1[_0x360be9([0x74,0x68,0x65,0x6e])](_0x5c5263,_0x52a85a),_0x35d5d2[_0x360be9([0x74,0x68,0x65,0x6e])](_0x581d4d=>{_0x581d4d!=_0x360be9([0x56,0x61,0x6c,0x69,0x64])&&_0x5c5263(_0x581d4d);},_0x52a85a);}):_0x5788f1||_0x35d5d2||_0x360be9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x387c3a(_0x43ee58,_0x158861){return new window[(_0x360be9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f8466=>{if(_0x2b428e())return _0x4f8466(_0x360be9([0x56,0x61,0x6c,0x69,0x64]));_0x338529(),_0x54a863[_0x360be9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x360be9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x284b9b=!0x1;const _0x46a987=_0xe78b93();function _0x2b5bfe(_0x1d9cc9){return!!_0x1d9cc9&&(typeof _0x1d9cc9===_0x360be9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1d9cc9===_0x360be9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1d9cc9[_0x360be9([0x74,0x68,0x65,0x6e])]===_0x360be9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1d9cc9[_0x360be9([0x63,0x61,0x74,0x63,0x68])]===_0x360be9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3ce313(_0x5d406f){_0x3d5c5e(_0x5d406f)[_0x360be9([0x74,0x68,0x65,0x6e])](_0x3d046f=>{if(!_0x3d046f||_0x3d046f[_0x360be9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x360be9([0x6f,0x6b]))return _0x360be9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x96afb3(_0x325188(_0x46a987+_0x158861))!=_0x3d046f[_0x360be9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x360be9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x360be9([0x56,0x61,0x6c,0x69,0x64]);})[_0x360be9([0x74,0x68,0x65,0x6e])](_0x2dceec=>(_0xb700ca(),_0x2dceec),()=>{const _0x5bac8b=_0x268089();return null==_0x5bac8b?(_0xb700ca(),_0x360be9([0x56,0x61,0x6c,0x69,0x64])):_0x360be9(_0x3143a6-_0x5bac8b>(0x38bee0a3^_0x2e58c8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x360be9([0x74,0x68,0x65,0x6e])](_0x4f8466)[_0x360be9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4f8466(_0x360be9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1d871c=0x1c848a23^_0x2e58c8;function _0xb700ca(){const _0x52f6d9=_0x360be9([0x6c,0x6c,0x63,0x74,0x2d])+_0x96afb3(_0x325188(_0x43ee58)),_0x34f40d=_0x46850f(_0x96afb3(window[_0x360be9([0x4d,0x61,0x74,0x68])][_0x360be9([0x63,0x65,0x69,0x6c])](_0x3143a6/_0x1d871c)));window[_0x360be9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x360be9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x52f6d9,_0x34f40d);}function _0x268089(){const _0x5ed9d5=_0x360be9([0x6c,0x6c,0x63,0x74,0x2d])+_0x96afb3(_0x325188(_0x43ee58)),_0x42caae=window[_0x360be9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x360be9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ed9d5);return _0x42caae?window[_0x360be9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46850f(_0x42caae),0x10)*_0x1d871c:null;}function _0x3d5c5e(_0x4f0fcd){return new window[(_0x360be9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3380f9,_0x1d372a)=>{_0x4f0fcd[_0x360be9([0x74,0x68,0x65,0x6e])](_0x3380f9,_0x1d372a),window[_0x360be9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1d372a,0x1cb3b063^_0x2e58c8);});}}_0x54a863[_0x360be9([0x6f,0x6e])](_0x360be9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3f54ee,_0x2cd2dd)=>{if(_0x2cd2dd[0x0]!=_0x43ee58)return _0x4f8466(_0x360be9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2cd2dd[0x1]={..._0x2cd2dd[0x1],[_0x360be9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x46a987};},{[_0x360be9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x360be9([0x68,0x69,0x67,0x68])}),_0x54a863[_0x360be9([0x6f,0x6e])](_0x360be9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x262a30=>{_0x2b5bfe(_0x262a30[_0x360be9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x284b9b=!0x0,_0x3ce313(_0x262a30[_0x360be9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x360be9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x360be9([0x6c,0x6f,0x77])}),_0x26880f[_0x360be9([0x74,0x68,0x65,0x6e])](()=>{_0x284b9b||_0x4f8466(_0x360be9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2b428e(){return _0x54a863[_0x360be9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x360be9([0x76,0x69,0x65,0x77])][_0x360be9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x360be9([0x61,0x75,0x74,0x6f]);}function _0x338529(){_0x54a863[_0x360be9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x360be9([0x76,0x69,0x65,0x77])][_0x360be9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x360be9([0x61,0x75,0x74,0x6f]);}}function _0xf21602(_0x215a1b){const _0xdd48df=[new window[(_0x360be9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x245b89=>setTimeout(_0x245b89,0x1cbb5a6f^_0x2e58c8)),_0x26880f[_0x360be9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x360be9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x392d14=>{let _0x3389df=0x0;_0x54a863[_0x360be9([0x6d,0x6f,0x64,0x65,0x6c])][_0x360be9([0x6f,0x6e])](_0x360be9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2c29ad,_0xbb80a3)=>{_0xbb80a3[0x0][_0x360be9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3389df++,_0x3389df==(0x1cb2655b^_0x2e58c8)&&(_0x392d14(),_0x2c29ad[_0x360be9([0x6f,0x66,0x66])]());});}))];return window[_0x360be9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x360be9([0x72,0x61,0x63,0x65])](_0xdd48df)[_0x360be9([0x74,0x68,0x65,0x6e])](()=>_0x215a1b);}async function _0x2bba7d(){await _0x26880f,_0x54a863[_0x360be9([0x6d,0x6f,0x64,0x65,0x6c])][_0x360be9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x931afc,_0x54a863[_0x360be9([0x6d,0x6f,0x64,0x65,0x6c])][_0x360be9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x931afc,_0x54a863[_0x360be9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x360be9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xf8853c(){return window[_0x360be9([0x67,0x6c,0x6f,0x62])]&&window[_0x360be9([0x67,0x6c,0x6f,0x62])][_0x360be9([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x5d5b41(_0x25ffd9){const _0x1e664e=_0x11de3f();_0x54a863[_0x1e664e]=_0x360be9([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])+_0x25ffd9,_0x25ffd9!=_0x360be9([0x56,0x61,0x6c,0x69,0x64])&&_0x2bba7d();}function _0x11de3f(){const _0x5267ec=window[_0x360be9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x360be9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x360be9([0x6e,0x6f,0x77])]())[_0x360be9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x360be9([0x2e]),'');let _0x15ba57=_0x360be9([0x61]);for(let _0x225b1a=0x0;_0x225b1a<_0x5267ec[_0x360be9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x225b1a+=0x2){let _0x3eb677=window[_0x360be9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5267ec[_0x360be9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x225b1a,_0x225b1a+0x2));_0x3eb677>=_0xb250af[_0x360be9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3eb677-=_0xb250af[_0x360be9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x15ba57+=_0xb250af[_0x3eb677];}return _0x15ba57;}function _0x15400a(){const _0x38d337=_0x5b9642[_0x360be9([0x73,0x70,0x6c,0x69,0x74])](_0x360be9([0x2e]));if(0x3!=_0x38d337[_0x360be9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xfc4562(_0x38d337[0x1]);function _0xfc4562(_0x312f01){const _0x369a2f=_0x3974da(_0x312f01);return _0x369a2f&&_0xeb085e()?_0x369a2f:null;function _0xeb085e(){const _0xd4e02f=_0x369a2f[_0x360be9([0x6a,0x74,0x69])],_0x1520a5=window[_0x360be9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd4e02f[_0x360be9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xd4e02f[_0x360be9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xa817fe={..._0x369a2f,[_0x360be9([0x6a,0x74,0x69])]:_0xd4e02f[_0x360be9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xd4e02f[_0x360be9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xa817fe[_0x360be9([0x76,0x63])],_0x325188(_0xa817fe)==_0x1520a5;}}}async function _0x37a152(){let _0x52e73e=!0x0;try{const _0xf482ae=_0x5b9642[_0x360be9([0x73,0x70,0x6c,0x69,0x74])](_0x360be9([0x2e])),[_0x3cec32,_0x496f2a,_0x517b88]=_0xf482ae;return _0x39f7ad(_0x3cec32),await _0x35a1d5(_0x3cec32,_0x496f2a,_0x517b88),_0x52e73e;}catch{return!0x1;}function _0x39f7ad(_0x2f45ec){const _0x77c6f8=_0x3974da(_0x2f45ec);_0x77c6f8&&_0x77c6f8[_0x360be9([0x61,0x6c,0x67])]==_0x360be9([0x45,0x53,0x32,0x35,0x36])||(_0x52e73e=!0x1);}async function _0x35a1d5(_0x491115,_0x22ef3d,_0x3ed14b){const _0x3d738c=window[_0x360be9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x360be9([0x66,0x72,0x6f,0x6d])](_0x5204fb(_0x3ed14b),_0x362142=>_0x362142[_0x360be9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2548e5=new window[(_0x360be9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x360be9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x491115+_0x360be9([0x2e])+_0x22ef3d),_0x399604=window[_0x360be9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x360be9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x399604)return;const _0x214549=await _0x399604[_0x360be9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x360be9([0x6a,0x77,0x6b]),_0x531688,{[_0x360be9([0x6e,0x61,0x6d,0x65])]:_0x360be9([0x45,0x43,0x44,0x53,0x41]),[_0x360be9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x360be9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x360be9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x399604[_0x360be9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x360be9([0x6e,0x61,0x6d,0x65])]:_0x360be9([0x45,0x43,0x44,0x53,0x41]),[_0x360be9([0x68,0x61,0x73,0x68])]:{[_0x360be9([0x6e,0x61,0x6d,0x65])]:_0x360be9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x214549,_0x3d738c,_0x2548e5)||(_0x52e73e=!0x1);}}function _0x3974da(_0x39e5f4){return _0x39e5f4[_0x360be9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x360be9([0x65,0x79]))?JSON[_0x360be9([0x70,0x61,0x72,0x73,0x65])](_0x5204fb(_0x39e5f4)):null;}function _0x5204fb(_0x1b3250){return window[_0x360be9([0x61,0x74,0x6f,0x62])](_0x1b3250[_0x360be9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x360be9([0x2b]))[_0x360be9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x360be9([0x2f])));}function _0x325188(_0x27761f){let _0x53be7e=0x1505;function _0x469717(_0x41b7bc){for(let _0x934397=0x0;_0x934397<_0x41b7bc[_0x360be9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x934397++){const _0x4fa60e=_0x41b7bc[_0x360be9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x934397);_0x53be7e=(_0x53be7e<<0x5)+_0x53be7e+_0x4fa60e,_0x53be7e&=_0x53be7e;}}function _0x174ff0(_0x187223){Array[_0x360be9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x187223)?_0x187223[_0x360be9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x174ff0):_0x187223&&typeof _0x187223==_0x360be9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x360be9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x187223)[_0x360be9([0x73,0x6f,0x72,0x74])]()[_0x360be9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x323912,_0x2e9b8e])=>{_0x469717(_0x323912),_0x174ff0(_0x2e9b8e);}):_0x469717(window[_0x360be9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x187223));}return _0x174ff0(_0x27761f),_0x53be7e>>>0x0;}function _0x96afb3(_0x42670b){return _0x42670b[_0x360be9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x360be9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x360be9([0x30]));}function _0x46850f(_0x4d8178){return _0x4d8178[_0x360be9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x360be9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x360be9([0x6a,0x6f,0x69,0x6e])]('');}function _0x931afc(){}function _0x360be9(_0x5c2dd9){const _0x363e90=_0x14da;return _0x5c2dd9[_0x363e90(0x173)](_0x4547ad=>String[_0x363e90(0x171)](_0x4547ad))[_0x363e90(0x148)]('');}_0x5d5b41(await _0x42b0f9());}(this);}[_0x29554f(0x14d)](){const _0xd377e6=_0x29554f;super[_0xd377e6(0x14d)](),this[_0xd377e6(0x181)][_0xd377e6(0x14d)](),this[_0xd377e6(0x165)][_0xd377e6(0x17c)]();}[_0x29554f(0x15c)](_0x4061cc,{outlineDefinitions:_0x5a47bb,outlineChanges:_0x4d5ff0}){const _0x5ca4df=_0x29554f;this[_0x5ca4df(0x13e)]=_0x5a47bb,this[_0x5ca4df(0x181)][_0x5ca4df(0x155)](_0x4d5ff0);}[_0x29554f(0x17d)](_0x10dfbd){const _0x409cb9=_0x29554f;this[_0x409cb9(0x13e)][_0x409cb9(0x159)]&&this[_0x409cb9(0x13e)][_0x10dfbd]&&(this[_0x409cb9(0x181)][_0x409cb9(0x145)]=_0x10dfbd);}[_0x29554f(0x163)](_0x1292e4){const _0x4ddf17=_0x29554f,_0x2eebfe=this[_0x4ddf17(0x13e)][_0x1292e4][_0x4ddf17(0x15e)];this[_0x4ddf17(0x162)][_0x4ddf17(0x15d)][_0x4ddf17(0x141)](_0xb0da0c=>{const _0x42639f=_0x4ddf17;_0xb0da0c[_0x42639f(0x151)](_0x2eebfe,0x0);}),this[_0x4ddf17(0x162)][_0x4ddf17(0x13c)][_0x4ddf17(0x181)][_0x4ddf17(0x153)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x4ddf17(0x162)][_0x4ddf17(0x13c)][_0x4ddf17(0x181)][_0x4ddf17(0x152)](),this[_0x4ddf17(0x17d)](_0x1292e4);}[_0x29554f(0x166)](){const _0x2d41a4=_0x29554f,_0x179dbe=this[_0x2d41a4(0x162)];let _0x122d35;for(const _0x1dfcf6 of _0x179dbe[_0x2d41a4(0x15d)][_0x2d41a4(0x149)][_0x2d41a4(0x167)]()){const _0x1ecf75=_0x179dbe[_0x2d41a4(0x13c)][_0x2d41a4(0x181)][_0x2d41a4(0x142)](_0x1dfcf6),_0x542134=_0x1ecf75&&new _0x344317(_0x1ecf75)[_0x2d41a4(0x17b)]();if(_0x542134){const _0x2ab035=new _0x344317(_0x40c3ce[_0x2d41a4(0x150)])[_0x2d41a4(0x175)](_0x542134);_0x2ab035&&(_0x122d35=_0x2ab035[_0x2d41a4(0x16c)]+0.25*_0x2ab035[_0x2d41a4(0x16e)]);}}if(void 0x0===_0x122d35)return;const _0x35c51f=D(_0x179dbe[_0x2d41a4(0x13c)],this[_0x2d41a4(0x13e)],_0x122d35);_0x35c51f?this[_0x2d41a4(0x17d)](this[_0x2d41a4(0x13e)][_0x2d41a4(0x156)](_0x35c51f)):this[_0x2d41a4(0x17d)](-0x1);}}function D(_0x59c6d4,_0x17ef40,_0x2a394c,_0x1e3ec6=0x0,_0x55bcec=_0x17ef40[_0x29554f(0x159)]-0x1){const _0x1368f8=_0x29554f,_0xedc462=Math[_0x1368f8(0x178)](_0x1e3ec6+(_0x55bcec-_0x1e3ec6)/0x2);if(_0x55bcec>=_0x1e3ec6){const _0x201f1d=_0x17ef40[_0xedc462],_0x563c49=_0x59c6d4[_0x1368f8(0x14e)][_0x1368f8(0x182)](_0x201f1d[_0x1368f8(0x15e)]);if(!_0x563c49)return null;const _0x54ff4d=_0x59c6d4[_0x1368f8(0x181)][_0x1368f8(0x170)][_0x1368f8(0x14c)](_0x563c49);return new _0x344317(_0x54ff4d)[_0x1368f8(0x179)]>_0x2a394c?D(_0x59c6d4,_0x17ef40,_0x2a394c,_0x1e3ec6,_0xedc462-0x1):D(_0x59c6d4,_0x17ef40,_0x2a394c,_0xedc462+0x1,_0x55bcec);}return _0xedc462<0x0?null:_0x17ef40[_0xedc462];}
|
|
23
|
+
function _0x16d3(_0x132b22,_0x278229){const _0x291321=_0x2913();return _0x16d3=function(_0x16d3ae,_0x25d55e){_0x16d3ae=_0x16d3ae-0x8e;let _0x2d2217=_0x291321[_0x16d3ae];return _0x2d2217;},_0x16d3(_0x132b22,_0x278229);}const _0x4b0783=_0x16d3;(function(_0x20628b,_0x4e92be){const _0x230151=_0x16d3,_0x288f4d=_0x20628b();while(!![]){try{const _0x469eca=parseInt(_0x230151(0xb3))/0x1+parseInt(_0x230151(0xb4))/0x2*(-parseInt(_0x230151(0xa7))/0x3)+-parseInt(_0x230151(0xc0))/0x4*(-parseInt(_0x230151(0xad))/0x5)+-parseInt(_0x230151(0x94))/0x6+parseInt(_0x230151(0xcb))/0x7+parseInt(_0x230151(0x9b))/0x8+parseInt(_0x230151(0xc4))/0x9;if(_0x469eca===_0x4e92be)break;else _0x288f4d['push'](_0x288f4d['shift']());}catch(_0x2def67){_0x288f4d['push'](_0x288f4d['shift']());}}}(_0x2913,0xc22d0));import{Plugin as _0xf56b8}from'ckeditor5/src/core.js';import{CKEditorError as _0x1c53f7,global as _0x1a1c67,Rect as _0x134af6,uid as _0x5e0f04}from'ckeditor5/src/utils.js';import{DocumentOutlineView as _0x78f662}from'./ui/documentoutlineview.js';import{throttle as _0x3ac3ca}from'es-toolkit/compat';import'../../theme/documentoutline.css';export class DocumentOutlineUI extends _0xf56b8{[_0x4b0783(0xb1)];[_0x4b0783(0xc6)];[_0x4b0783(0xc7)];static get[_0x4b0783(0xb8)](){const _0x3f7a33=_0x4b0783;return _0x3f7a33(0xd2);}static get[_0x4b0783(0xa4)](){return!0x0;}static get[_0x4b0783(0xb2)](){return!0x0;}constructor(_0x4c9905){const _0x2539b6=_0x4b0783;super(_0x4c9905),this[_0x2539b6(0xb1)]=new _0x78f662(_0x4c9905[_0x2539b6(0xc9)],this[_0x2539b6(0xba)][_0x2539b6(0xc3)][_0x2539b6(0xd4)](_0x2539b6(0x91)),this[_0x2539b6(0xba)][_0x2539b6(0xc3)][_0x2539b6(0xd4)](_0x2539b6(0xd1))),this[_0x2539b6(0xc6)]=[],this[_0x2539b6(0xc7)]=_0x3ac3ca(this[_0x2539b6(0x92)][_0x2539b6(0x9e)](this),0x64);}[_0x4b0783(0x99)](){const _0x5d24ed=_0x4b0783,_0x4fd15a=this[_0x5d24ed(0xba)],_0x35893a=_0x4fd15a[_0x5d24ed(0xc1)][_0x5d24ed(0xd4)](_0x5d24ed(0xa0));let _0x276581=!0x1;if(this[_0x5d24ed(0xb1)][_0x5d24ed(0x95)](),this[_0x5d24ed(0xba)]['ui'][_0x5d24ed(0xa3)][_0x5d24ed(0x8f)](this[_0x5d24ed(0xb1)][_0x5d24ed(0xd0)]),!_0x4fd15a[_0x5d24ed(0xc3)][_0x5d24ed(0xd4)](_0x5d24ed(0xd1)))throw new _0x1c53f7(_0x5d24ed(0x9c),{'editor':_0x4fd15a});_0x4fd15a[_0x5d24ed(0xc3)][_0x5d24ed(0xd4)](_0x5d24ed(0xd1))[_0x5d24ed(0xb6)](this[_0x5d24ed(0xb1)][_0x5d24ed(0xd0)]),_0x35893a['on'](_0x5d24ed(0xa6),this[_0x5d24ed(0x9f)][_0x5d24ed(0x9e)](this)),_0x35893a['on'](_0x5d24ed(0x90),(_0x391849,{index:_0x420869})=>this[_0x5d24ed(0xce)](_0x420869)),this[_0x5d24ed(0xb1)]['on'](_0x5d24ed(0xd5),(_0x2f6130,_0x58b88e)=>{const _0x3d2a59=_0x5d24ed;_0x276581=!0x0,this[_0x3d2a59(0xc8)](_0x58b88e);}),this[_0x5d24ed(0xb1)][_0x5d24ed(0xb5)](_0x1a1c67[_0x5d24ed(0xb7)],_0x5d24ed(0xc5),()=>{const _0x24d680=_0x5d24ed;_0x276581?_0x276581=!0x1:this[_0x24d680(0xc7)]();},{'useCapture':!0x0}),this[_0x5d24ed(0xb1)][_0x5d24ed(0xb5)](_0x1a1c67[_0x5d24ed(0xa8)],_0x5d24ed(0xb0),this[_0x5d24ed(0xc7)],{'useCapture':!0x0});}[_0x4b0783(0xbc)](){!async function(_0x13439a){const _0x292f6e=_0x4b5e33([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]),_0x57fef9=0x1cb264a3,_0x1579b6=0x1cb5100b^_0x57fef9,_0x2d9b93=window[_0x4b5e33([0x44,0x61,0x74,0x65])][_0x4b5e33([0x6e,0x6f,0x77])](),_0x1d5775=_0x13439a[_0x4b5e33([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x156fdd=new window[(_0x4b5e33([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d890e=>{_0x1d5775[_0x4b5e33([0x6f,0x6e,0x63,0x65])](_0x4b5e33([0x72,0x65,0x61,0x64,0x79]),_0x3d890e);}),_0x504473={[_0x4b5e33([0x6b,0x74,0x79])]:_0x4b5e33([0x45,0x43]),[_0x4b5e33([0x75,0x73,0x65])]:_0x4b5e33([0x73,0x69,0x67]),[_0x4b5e33([0x63,0x72,0x76])]:_0x4b5e33([0x50,0x2d,0x32,0x35,0x36]),[_0x4b5e33([0x78])]:_0x4b5e33([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]),[_0x4b5e33([0x79])]:_0x4b5e33([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]),[_0x4b5e33([0x61,0x6c,0x67])]:_0x4b5e33([0x45,0x53,0x32,0x35,0x36])},_0x534370=_0x1d5775[_0x4b5e33([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4b5e33([0x67,0x65,0x74])](_0x4b5e33([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5c00d2(){let _0x5762f9,_0x326c1d=null,_0x17f9f4=null;try{if(_0x534370==_0x4b5e33([0x47,0x50,0x4c]))return _0x4b5e33([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5762f9=_0x422a2e(),!_0x5762f9)return _0x4b5e33([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5762f9[_0x4b5e33([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x17f9f4=_0x41e18e(_0x5762f9[_0x4b5e33([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5762f9[_0x4b5e33([0x6a,0x74,0x69])])),await _0x55efda()?_0x581d24()?_0x49cf66()?_0x4b5e33([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5704d8()?(_0x5762f9[_0x4b5e33([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b5e33([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x326c1d=_0x11bdd9(_0x4b5e33([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5762f9[_0x4b5e33([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b5e33([0x74,0x72,0x69,0x61,0x6c])&&(_0x326c1d=_0x11bdd9(_0x4b5e33([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4d41e6()):_0x4b5e33([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4b5e33([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4b5e33([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4b5e33([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x49cf66(){const _0x16921a=[_0x4b5e33([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4b5e33([0x74,0x72,0x69,0x61,0x6c])][_0x4b5e33([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5762f9[_0x4b5e33([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2d9b93/0x3e8:0xe10*_0x1579b6;return _0x5762f9[_0x4b5e33([0x65,0x78,0x70])]<_0x16921a;}function _0x581d24(){const _0x39db9f=_0x5762f9[_0x4b5e33([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x39db9f&&(!!_0x39db9f[_0x4b5e33([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b5e33([0x2a]))||(!!_0x39db9f[_0x4b5e33([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b5e33([0x44,0x4f]))||(!!_0x39db9f[_0x4b5e33([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b5e33([0x50,0x50]))||!(!_0x39db9f[_0x4b5e33([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b5e33([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x44de33()))));}function _0x5704d8(){const _0xd4443e=_0x16d3,_0x2b0959=_0x5762f9[_0x4b5e33([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2b0959||0x0==_0x2b0959[_0x4b5e33([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x469b03}=new URL(window[_0x4b5e33([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xd4443e(0xac)]);if(_0x2b0959[_0x4b5e33([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x469b03))return!0x0;const _0x174ffa=_0x469b03[_0x4b5e33([0x73,0x70,0x6c,0x69,0x74])](_0x4b5e33([0x2e]));return _0x2b0959[_0x4b5e33([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8b2c96=>_0x8b2c96[_0x4b5e33([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b5e33([0x2a])))[_0x4b5e33([0x6d,0x61,0x70])](_0x2e9196=>_0x2e9196[_0x4b5e33([0x73,0x70,0x6c,0x69,0x74])](_0x4b5e33([0x2e])))[_0x4b5e33([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a749d=>_0x3a749d[_0x4b5e33([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x174ffa[_0x4b5e33([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b5e33([0x6d,0x61,0x70])](_0x33e9e5=>Array(_0x174ffa[_0x4b5e33([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x33e9e5[_0x4b5e33([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b5e33([0x66,0x69,0x6c,0x6c])](_0x33e9e5[0x0]===_0x4b5e33([0x2a])?_0x4b5e33([0x2a]):'')[_0x4b5e33([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x33e9e5))[_0x4b5e33([0x73,0x6f,0x6d,0x65])](_0x2c66b6=>_0x174ffa[_0x4b5e33([0x65,0x76,0x65,0x72,0x79])]((_0x42a1f1,_0x1932df)=>_0x2c66b6[_0x1932df]===_0x42a1f1||_0x2c66b6[_0x1932df]===_0x4b5e33([0x2a])));}function _0x4d41e6(){return _0x326c1d&&_0x17f9f4?new window[(_0x4b5e33([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x800133,_0x6fae62)=>{_0x326c1d[_0x4b5e33([0x74,0x68,0x65,0x6e])](_0x800133,_0x6fae62),_0x17f9f4[_0x4b5e33([0x74,0x68,0x65,0x6e])](_0x2a61a7=>{_0x2a61a7!=_0x4b5e33([0x56,0x61,0x6c,0x69,0x64])&&_0x800133(_0x2a61a7);},_0x6fae62);}):_0x326c1d||_0x17f9f4||_0x4b5e33([0x56,0x61,0x6c,0x69,0x64]);}}function _0x41e18e(_0x2f2357,_0x40f0de){return new window[(_0x4b5e33([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe83f6e=>{if(_0x519037())return _0xe83f6e(_0x4b5e33([0x56,0x61,0x6c,0x69,0x64]));_0xd2737b(),_0x1d5775[_0x4b5e33([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4b5e33([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x558fb6=!0x1;const _0x1d9762=_0x5e0f04();function _0x12834a(_0x9869a1){return!!_0x9869a1&&(typeof _0x9869a1===_0x4b5e33([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x9869a1===_0x4b5e33([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x9869a1[_0x4b5e33([0x74,0x68,0x65,0x6e])]===_0x4b5e33([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x9869a1[_0x4b5e33([0x63,0x61,0x74,0x63,0x68])]===_0x4b5e33([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3e1944(_0x302672){_0x4aa3a9(_0x302672)[_0x4b5e33([0x74,0x68,0x65,0x6e])](_0x1dc4ea=>{if(!_0x1dc4ea||_0x1dc4ea[_0x4b5e33([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4b5e33([0x6f,0x6b]))return _0x4b5e33([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x23d134(_0x34c7fb(_0x1d9762+_0x40f0de))!=_0x1dc4ea[_0x4b5e33([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4b5e33([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4b5e33([0x56,0x61,0x6c,0x69,0x64]);})[_0x4b5e33([0x74,0x68,0x65,0x6e])](_0x1ba8db=>(_0x5009a9(),_0x1ba8db),()=>{const _0x1cd05b=_0x7d688f();return null==_0x1cd05b?(_0x5009a9(),_0x4b5e33([0x56,0x61,0x6c,0x69,0x64])):_0x4b5e33(_0x2d9b93-_0x1cd05b>(0x38bee0a3^_0x57fef9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4b5e33([0x74,0x68,0x65,0x6e])](_0xe83f6e)[_0x4b5e33([0x63,0x61,0x74,0x63,0x68])](()=>{_0xe83f6e(_0x4b5e33([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x55a023=0x1c848a23^_0x57fef9;function _0x5009a9(){const _0x1ecc6b=_0x4b5e33([0x6c,0x6c,0x63,0x74,0x2d])+_0x23d134(_0x34c7fb(_0x2f2357)),_0x5309a1=_0x4ad9ac(_0x23d134(window[_0x4b5e33([0x4d,0x61,0x74,0x68])][_0x4b5e33([0x63,0x65,0x69,0x6c])](_0x2d9b93/_0x55a023)));window[_0x4b5e33([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b5e33([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ecc6b,_0x5309a1);}function _0x7d688f(){const _0x13a274=_0x4b5e33([0x6c,0x6c,0x63,0x74,0x2d])+_0x23d134(_0x34c7fb(_0x2f2357)),_0x5041de=window[_0x4b5e33([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b5e33([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13a274);return _0x5041de?window[_0x4b5e33([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ad9ac(_0x5041de),0x10)*_0x55a023:null;}function _0x4aa3a9(_0x2f625f){return new window[(_0x4b5e33([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x212dba,_0x29b645)=>{_0x2f625f[_0x4b5e33([0x74,0x68,0x65,0x6e])](_0x212dba,_0x29b645),window[_0x4b5e33([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x29b645,0x1cb3b063^_0x57fef9);});}}_0x1d5775[_0x4b5e33([0x6f,0x6e])](_0x4b5e33([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x741fc2,_0x42743b)=>{if(_0x42743b[0x0]!=_0x2f2357)return _0xe83f6e(_0x4b5e33([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x42743b[0x1]={..._0x42743b[0x1],[_0x4b5e33([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1d9762};},{[_0x4b5e33([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b5e33([0x68,0x69,0x67,0x68])}),_0x1d5775[_0x4b5e33([0x6f,0x6e])](_0x4b5e33([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x7d2dd8=>{_0x12834a(_0x7d2dd8[_0x4b5e33([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x558fb6=!0x0,_0x3e1944(_0x7d2dd8[_0x4b5e33([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4b5e33([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b5e33([0x6c,0x6f,0x77])}),_0x156fdd[_0x4b5e33([0x74,0x68,0x65,0x6e])](()=>{_0x558fb6||_0xe83f6e(_0x4b5e33([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x519037(){return _0x1d5775[_0x4b5e33([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b5e33([0x76,0x69,0x65,0x77])][_0x4b5e33([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4b5e33([0x61,0x75,0x74,0x6f]);}function _0xd2737b(){_0x1d5775[_0x4b5e33([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b5e33([0x76,0x69,0x65,0x77])][_0x4b5e33([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4b5e33([0x61,0x75,0x74,0x6f]);}}function _0x11bdd9(_0x1d6d8e){const _0x388221=[new window[(_0x4b5e33([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3774e3=>setTimeout(_0x3774e3,0x1cbb5a6f^_0x57fef9)),_0x156fdd[_0x4b5e33([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4b5e33([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35acc6=>{let _0xd30a9a=0x0;_0x1d5775[_0x4b5e33([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b5e33([0x6f,0x6e])](_0x4b5e33([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x201b28,_0xac901e)=>{_0xac901e[0x0][_0x4b5e33([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xd30a9a++,_0xd30a9a==(0x1cb2655b^_0x57fef9)&&(_0x35acc6(),_0x201b28[_0x4b5e33([0x6f,0x66,0x66])]());});}))];return window[_0x4b5e33([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4b5e33([0x72,0x61,0x63,0x65])](_0x388221)[_0x4b5e33([0x74,0x68,0x65,0x6e])](()=>_0x1d6d8e);}async function _0x51899a(){await _0x156fdd,_0x1d5775[_0x4b5e33([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b5e33([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x905fcc,_0x1d5775[_0x4b5e33([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b5e33([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x905fcc,_0x1d5775[_0x4b5e33([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4b5e33([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x44de33(){return window[_0x4b5e33([0x67,0x6c,0x6f,0x62])]&&window[_0x4b5e33([0x67,0x6c,0x6f,0x62])][_0x4b5e33([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x4f75f9(_0xc0809a){const _0xf68600=_0x3fc068();_0x1d5775[_0xf68600]=_0x4b5e33([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])+_0xc0809a,_0xc0809a!=_0x4b5e33([0x56,0x61,0x6c,0x69,0x64])&&_0x51899a();}function _0x3fc068(){const _0x393139=window[_0x4b5e33([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4b5e33([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4b5e33([0x6e,0x6f,0x77])]())[_0x4b5e33([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4b5e33([0x2e]),'');let _0xfcb4bb=_0x4b5e33([0x61]);for(let _0x12d5cc=0x0;_0x12d5cc<_0x393139[_0x4b5e33([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12d5cc+=0x2){let _0x59d031=window[_0x4b5e33([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x393139[_0x4b5e33([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x12d5cc,_0x12d5cc+0x2));_0x59d031>=_0x292f6e[_0x4b5e33([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x59d031-=_0x292f6e[_0x4b5e33([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xfcb4bb+=_0x292f6e[_0x59d031];}return _0xfcb4bb;}function _0x422a2e(){const _0x58b2b6=_0x534370[_0x4b5e33([0x73,0x70,0x6c,0x69,0x74])](_0x4b5e33([0x2e]));if(0x3!=_0x58b2b6[_0x4b5e33([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1a8ab4(_0x58b2b6[0x1]);function _0x1a8ab4(_0x281d73){const _0x4d274b=_0x454f11(_0x281d73);return _0x4d274b&&_0x5db0eb()?_0x4d274b:null;function _0x5db0eb(){const _0x1822fc=_0x4d274b[_0x4b5e33([0x6a,0x74,0x69])],_0x16949c=window[_0x4b5e33([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1822fc[_0x4b5e33([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1822fc[_0x4b5e33([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x44c1fa={..._0x4d274b,[_0x4b5e33([0x6a,0x74,0x69])]:_0x1822fc[_0x4b5e33([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1822fc[_0x4b5e33([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x44c1fa[_0x4b5e33([0x76,0x63])],_0x34c7fb(_0x44c1fa)==_0x16949c;}}}async function _0x55efda(){let _0x2f0c11=!0x0;try{const _0x595365=_0x534370[_0x4b5e33([0x73,0x70,0x6c,0x69,0x74])](_0x4b5e33([0x2e])),[_0x378c0a,_0x163727,_0x336564]=_0x595365;return _0x2268a5(_0x378c0a),await _0x3c65c9(_0x378c0a,_0x163727,_0x336564),_0x2f0c11;}catch{return!0x1;}function _0x2268a5(_0x82833c){const _0x2f7013=_0x454f11(_0x82833c);_0x2f7013&&_0x2f7013[_0x4b5e33([0x61,0x6c,0x67])]==_0x4b5e33([0x45,0x53,0x32,0x35,0x36])||(_0x2f0c11=!0x1);}async function _0x3c65c9(_0x2ed645,_0x5ee720,_0xb43078){const _0x345303=window[_0x4b5e33([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4b5e33([0x66,0x72,0x6f,0x6d])](_0xc37b05(_0xb43078),_0x731e4a=>_0x731e4a[_0x4b5e33([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3b654d=new window[(_0x4b5e33([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4b5e33([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2ed645+_0x4b5e33([0x2e])+_0x5ee720),_0x15a3f3=window[_0x4b5e33([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4b5e33([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x15a3f3)return;const _0x4ce656=await _0x15a3f3[_0x4b5e33([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4b5e33([0x6a,0x77,0x6b]),_0x504473,{[_0x4b5e33([0x6e,0x61,0x6d,0x65])]:_0x4b5e33([0x45,0x43,0x44,0x53,0x41]),[_0x4b5e33([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4b5e33([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4b5e33([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x15a3f3[_0x4b5e33([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4b5e33([0x6e,0x61,0x6d,0x65])]:_0x4b5e33([0x45,0x43,0x44,0x53,0x41]),[_0x4b5e33([0x68,0x61,0x73,0x68])]:{[_0x4b5e33([0x6e,0x61,0x6d,0x65])]:_0x4b5e33([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4ce656,_0x345303,_0x3b654d)||(_0x2f0c11=!0x1);}}function _0x454f11(_0x13a70a){return _0x13a70a[_0x4b5e33([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4b5e33([0x65,0x79]))?JSON[_0x4b5e33([0x70,0x61,0x72,0x73,0x65])](_0xc37b05(_0x13a70a)):null;}function _0xc37b05(_0x34872c){return window[_0x4b5e33([0x61,0x74,0x6f,0x62])](_0x34872c[_0x4b5e33([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4b5e33([0x2b]))[_0x4b5e33([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4b5e33([0x2f])));}function _0x34c7fb(_0x3a1bbc){let _0x43c363=0x1505;function _0x1a1615(_0x319c7f){for(let _0x5a63d2=0x0;_0x5a63d2<_0x319c7f[_0x4b5e33([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a63d2++){const _0x47a858=_0x319c7f[_0x4b5e33([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a63d2);_0x43c363=(_0x43c363<<0x5)+_0x43c363+_0x47a858,_0x43c363&=_0x43c363;}}function _0x58594e(_0x1840b0){Array[_0x4b5e33([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1840b0)?_0x1840b0[_0x4b5e33([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x58594e):_0x1840b0&&typeof _0x1840b0==_0x4b5e33([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4b5e33([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1840b0)[_0x4b5e33([0x73,0x6f,0x72,0x74])]()[_0x4b5e33([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x574daf,_0x4dda52])=>{_0x1a1615(_0x574daf),_0x58594e(_0x4dda52);}):_0x1a1615(window[_0x4b5e33([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1840b0));}return _0x58594e(_0x3a1bbc),_0x43c363>>>0x0;}function _0x23d134(_0x2bbf1a){return _0x2bbf1a[_0x4b5e33([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4b5e33([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4b5e33([0x30]));}function _0x4ad9ac(_0x347c00){return _0x347c00[_0x4b5e33([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4b5e33([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4b5e33([0x6a,0x6f,0x69,0x6e])]('');}function _0x905fcc(){}function _0x4b5e33(_0x151731){const _0x3fadc8=_0x16d3;return _0x151731[_0x3fadc8(0xae)](_0x17437e=>String[_0x3fadc8(0x93)](_0x17437e))[_0x3fadc8(0xb9)]('');}_0x4f75f9(await _0x5c00d2());}(this);}[_0x4b0783(0xcf)](){const _0x40f10e=_0x4b0783;super[_0x40f10e(0xcf)](),this[_0x40f10e(0xb1)][_0x40f10e(0xcf)](),this[_0x40f10e(0xc7)][_0x40f10e(0xa5)]();}[_0x4b0783(0x9f)](_0x5f3027,{outlineDefinitions:_0x2b8515,outlineChanges:_0xda67da}){const _0x2c63a5=_0x4b0783;this[_0x2c63a5(0xc6)]=_0x2b8515,this[_0x2c63a5(0xb1)][_0x2c63a5(0xca)](_0xda67da);}[_0x4b0783(0xce)](_0x28323f){const _0x2987f3=_0x4b0783;this[_0x2987f3(0xc6)][_0x2987f3(0xc2)]&&this[_0x2987f3(0xc6)][_0x28323f]&&(this[_0x2987f3(0xb1)][_0x2987f3(0x90)]=_0x28323f);}[_0x4b0783(0xc8)](_0x194dd1){const _0xa5b97c=_0x4b0783,_0x10c3c6=this[_0xa5b97c(0xc6)][_0x194dd1][_0xa5b97c(0xaa)];this[_0xa5b97c(0xba)][_0xa5b97c(0x9a)][_0xa5b97c(0xa6)](_0xcaab09=>{const _0x1f8b0f=_0xa5b97c;_0xcaab09[_0x1f8b0f(0xab)](_0x10c3c6,0x0);}),this[_0xa5b97c(0xba)][_0xa5b97c(0xcd)][_0xa5b97c(0xb1)][_0xa5b97c(0xbe)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0xa5b97c(0xba)][_0xa5b97c(0xcd)][_0xa5b97c(0xb1)][_0xa5b97c(0x96)](),this[_0xa5b97c(0xce)](_0x194dd1);}[_0x4b0783(0x92)](){const _0x2039fc=_0x4b0783,_0x31d2b4=this[_0x2039fc(0xba)];let _0x599ef4;for(const _0x1552aa of _0x31d2b4[_0x2039fc(0x9a)][_0x2039fc(0xb7)][_0x2039fc(0xd3)]()){const _0x595777=_0x31d2b4[_0x2039fc(0xcd)][_0x2039fc(0xb1)][_0x2039fc(0xa2)](_0x1552aa),_0x49e712=_0x595777&&new _0x134af6(_0x595777)[_0x2039fc(0xbb)]();if(_0x49e712){const _0x56e0eb=new _0x134af6(_0x1a1c67[_0x2039fc(0xa8)])[_0x2039fc(0xbd)](_0x49e712);_0x56e0eb&&(_0x599ef4=_0x56e0eb[_0x2039fc(0x9d)]+0.25*_0x56e0eb[_0x2039fc(0x97)]);}}if(void 0x0===_0x599ef4)return;const _0x55d958=h(_0x31d2b4[_0x2039fc(0xcd)],this[_0x2039fc(0xc6)],_0x599ef4);_0x55d958?this[_0x2039fc(0xce)](this[_0x2039fc(0xc6)][_0x2039fc(0xbf)](_0x55d958)):this[_0x2039fc(0xce)](-0x1);}}function h(_0x3a9040,_0x31b737,_0x17c35d,_0x5c1dcc=0x0,_0xfa1882=_0x31b737[_0x4b0783(0xc2)]-0x1){const _0xb6f531=_0x4b0783,_0x53c24e=Math[_0xb6f531(0x98)](_0x5c1dcc+(_0xfa1882-_0x5c1dcc)/0x2);if(_0xfa1882>=_0x5c1dcc){const _0x41b645=_0x31b737[_0x53c24e],_0x44089e=_0x3a9040[_0xb6f531(0xa1)][_0xb6f531(0x8e)](_0x41b645[_0xb6f531(0xaa)]);if(!_0x44089e)return null;const _0x383a25=_0x3a9040[_0xb6f531(0xb1)][_0xb6f531(0xaf)][_0xb6f531(0xcc)](_0x44089e);return new _0x134af6(_0x383a25)[_0xb6f531(0xa9)]>_0x17c35d?h(_0x3a9040,_0x31b737,_0x17c35d,_0x5c1dcc,_0x53c24e-0x1):h(_0x3a9040,_0x31b737,_0x17c35d,_0x53c24e+0x1,_0xfa1882);}return _0x53c24e<0x0?null:_0x31b737[_0x53c24e];}function _0x2913(){const _0x1e24ae=['join','editor','getVisible','afterInit','getIntersection','scrollToTheSelection','indexOf','4RXdxoX','plugins','length','config','8233929rAKBVu','scroll','_currentOutlineDefinitions','_updateActiveDefinitionFromViewportThrottled','_handleItemSelected','locale','sync','1342467aidorw','mapViewToDom','editing','_setActiveViewItem','destroy','element','documentOutline.container','DocumentOutlineUI','getRootNames','get','itemSelected','toViewElement','add','activeItemIndex','documentOutline.showEmptyHeadings','_updateActiveDefinitionOnViewportChange','fromCharCode','5868528lzcJLk','render','focus','height','floor','init','model','4230344mIjSgt','document-outline-container-not-provided','top','bind','_handleOutlineChange','DocumentOutlineUtils','mapper','getDomRoot','focusTracker','isOfficialPlugin','cancel','change','8817gRMVuV','window','bottom','modelElement','setSelection','href','364360rrEpPZ','map','domConverter','resize','view','isPremiumPlugin','1076121TRxzIM','688nQURWR','listenTo','appendChild','document','pluginName'];_0x2913=function(){return _0x1e24ae;};return _0x2913();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x8b7189=_0x3b1e;(function(_0x19487f,_0x5dafa9){const _0x331147=_0x3b1e,_0x57bc1c=_0x19487f();while(!![]){try{const _0x28bec4=-parseInt(_0x331147(0x1a3))/0x1+-parseInt(_0x331147(0x189))/0x2+-parseInt(_0x331147(0x1a2))/0x3+parseInt(_0x331147(0x1bb))/0x4+-parseInt(_0x331147(0x1ac))/0x5*(parseInt(_0x331147(0x1bc))/0x6)+parseInt(_0x331147(0x1a9))/0x7*(parseInt(_0x331147(0x18e))/0x8)+-parseInt(_0x331147(0x1a1))/0x9*(-parseInt(_0x331147(0x18a))/0xa);if(_0x28bec4===_0x5dafa9)break;else _0x57bc1c['push'](_0x57bc1c['shift']());}catch(_0x10428c){_0x57bc1c['push'](_0x57bc1c['shift']());}}}(_0x3754,0x1ceba));import{Plugin as _0x3e21ca}from'ckeditor5/src/core.js';import{debounce as _0x36ae86}from'es-toolkit/compat';import{ModelTreeWalker as _0x11a442}from'ckeditor5/src/engine.js';import{getElementText as _0x33507c,getDefaultFeatureHeadingNames as _0x3086f0}from'./utils.js';import{diff as _0x7fb23,diffToChanges as _0x311154}from'ckeditor5/src/utils.js';export class DocumentOutlineUtils extends _0x3e21ca{static get[_0x8b7189(0x1a7)](){const _0x19202b=_0x8b7189;return _0x19202b(0x19c);}static get[_0x8b7189(0x1b0)](){return!0x0;}static get[_0x8b7189(0x19e)](){return!0x0;}[_0x8b7189(0x1a4)]=[];[_0x8b7189(0x18b)](){const _0x3efcce=_0x8b7189,_0x4d92d4=this[_0x3efcce(0x194)];this[_0x3efcce(0x1a4)]=this[_0x3efcce(0x1b8)]();let _0x5ae722=[];_0x4d92d4[_0x3efcce(0x19b)][_0x3efcce(0x193)]['on'](_0x3efcce(0x195),_0x36ae86(()=>{const _0x35bdbf=_0x3efcce,_0x24b25b=_0x5ae722;_0x5ae722=this[_0x35bdbf(0x1b2)]();const _0x40fb6e=_0x7fb23(_0x24b25b,_0x5ae722,(_0x471c36,_0xc6705f)=>_0x471c36[_0x35bdbf(0x1be)]===_0xc6705f[_0x35bdbf(0x1be)]&&_0x471c36[_0x35bdbf(0x196)]===_0xc6705f[_0x35bdbf(0x196)]&&_0x471c36[_0x35bdbf(0x1ab)]===_0xc6705f[_0x35bdbf(0x1ab)]),_0x541a36=_0x311154(_0x40fb6e,_0x5ae722),_0x504d2c=this[_0x35bdbf(0x188)](),_0x4a3e76=_0x5ae722[_0x35bdbf(0x1b1)](_0x459369=>_0x459369[_0x35bdbf(0x1ab)]===_0x504d2c);_0x541a36[_0x35bdbf(0x197)]&&this[_0x35bdbf(0x1ad)](_0x35bdbf(0x195),{'outlineDefinitions':_0x5ae722,'activeItemIndex':_0x4a3e76,'outlineChanges':_0x541a36}),this[_0x35bdbf(0x1ad)](_0x35bdbf(0x1a6),{'index':_0x4a3e76});},0xfa,{'leading':!0x0,'trailing':!0x0}));}[_0x8b7189(0x1a8)](){const _0x3eb74f=_0x8b7189;this[_0x3eb74f(0x1a4)][_0x3eb74f(0x197)]||this[_0x3eb74f(0x198)]();}[_0x8b7189(0x1b2)](){const _0xc92ef0=_0x8b7189,_0x661985=this[_0xc92ef0(0x194)],_0x41a3d4=[],_0x3daa59=this[_0xc92ef0(0x1a4)];for(const _0x38532c of _0x661985[_0xc92ef0(0x19b)][_0xc92ef0(0x193)][_0xc92ef0(0x1ae)]())_0xdab7e7(_0x661985[_0xc92ef0(0x19b)][_0xc92ef0(0x193)][_0xc92ef0(0x1a0)](_0x38532c));function _0xdab7e7(_0x504da8){const _0x436ec6=_0xc92ef0;for(const _0xf46bc4 of _0x504da8[_0x436ec6(0x1b6)]())_0xf46bc4['is'](_0x436ec6(0x1af))&&(_0x3daa59[_0x436ec6(0x1ba)](_0xf46bc4[_0x436ec6(0x1bd)])&&_0x41a3d4[_0x436ec6(0x192)]({'level':_0x3daa59[_0x436ec6(0x199)](_0xf46bc4[_0x436ec6(0x1bd)])+0x1,'text':_0x33507c(_0xf46bc4),'modelElement':_0xf46bc4}),_0xdab7e7(_0xf46bc4));}return _0x41a3d4;}[_0x8b7189(0x188)](){const _0x51242d=_0x8b7189,_0x47b3ae=this[_0x51242d(0x194)][_0x51242d(0x19b)][_0x51242d(0x193)][_0x51242d(0x19f)][_0x51242d(0x19a)](),_0x22de18=new _0x11a442({'direction':_0x51242d(0x1b4),'startPosition':_0x47b3ae});for(const _0x420e11 of _0x22de18)if(_0x420e11[_0x51242d(0x19d)]['is'](_0x51242d(0x1af))&&this[_0x51242d(0x1a4)][_0x51242d(0x1ba)](_0x420e11[_0x51242d(0x19d)][_0x51242d(0x1bd)]))return _0x420e11[_0x51242d(0x19d)];}[_0x8b7189(0x1b8)](){const _0x56e28a=_0x8b7189,_0xfabcc0=this[_0x56e28a(0x194)][_0x56e28a(0x1b3)][_0x56e28a(0x191)](_0x56e28a(0x190));return _0xfabcc0||_0x3086f0(this[_0x56e28a(0x194)]);}[_0x8b7189(0x198)](){const _0x23ac28=_0x8b7189,_0x5783df=this[_0x23ac28(0x194)],_0xe0b5e6=['h1','h2','h3','h4','h5','h6'],_0x18de36=[];for(const _0x51a558 of _0xe0b5e6){const _0x1dc26b=_0x5783df[_0x23ac28(0x1b9)][_0x23ac28(0x1b7)][_0x23ac28(0x18f)][_0x23ac28(0x1b5)](document[_0x23ac28(0x18c)](_0x51a558)),_0x544a2c=_0x5783df[_0x23ac28(0x1a5)][_0x23ac28(0x18d)](_0x1dc26b)[_0x23ac28(0x1aa)](0x0);_0x544a2c?.['is'](_0x23ac28(0x1af))&&_0x18de36[_0x23ac28(0x192)](_0x544a2c[_0x23ac28(0x1bd)]);}this[_0x23ac28(0x1a4)]=_0x18de36;}}function _0x3b1e(_0x53a499,_0x3fec4e){const _0x3754b1=_0x3754();return _0x3b1e=function(_0x3b1e17,_0x35bb01){_0x3b1e17=_0x3b1e17-0x188;let _0x52961e=_0x3754b1[_0x3b1e17];return _0x52961e;},_0x3b1e(_0x53a499,_0x3fec4e);}function _0x3754(){const _0x4d32a4=['length','_deriveHeadingElementsFromConversion','indexOf','getFirstPosition','model','DocumentOutlineUtils','item','isPremiumPlugin','selection','getRoot','4140117RRIKzR','565149mBBbNV','47220jCRXdN','_headingNames','data','activeItemIndex','pluginName','afterInit','7uPeFZO','getChild','modelElement','320305fSrmjw','fire','getRootNames','element','isOfficialPlugin','findIndex','_getOutlineDefinitions','config','backward','domToView','getChildren','view','_getHeadingNames','editing','includes','67392eswUVv','18qinXrM','name','level','_getActiveHeading','19366dmgCPZ','10MtqksN','init','createElement','toModel','632528rFuZig','domConverter','documentOutline.headings','get','push','document','editor','change','text'];_0x3754=function(){return _0x4d32a4;};return _0x3754();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0xe0f7(_0x293214,_0x286926){const _0x2b151a=_0x2b15();return _0xe0f7=function(_0xe0f7c7,_0x43e58d){_0xe0f7c7=_0xe0f7c7-0x14f;let _0x355ea8=_0x2b151a[_0xe0f7c7];return _0x355ea8;},_0xe0f7(_0x293214,_0x286926);}(function(_0x2fff46,_0x14d8b2){const _0x4a3d89=_0xe0f7,_0x3b2e3c=_0x2fff46();while(!![]){try{const _0x404883=parseInt(_0x4a3d89(0x15d))/0x1+parseInt(_0x4a3d89(0x168))/0x2+parseInt(_0x4a3d89(0x153))/0x3*(parseInt(_0x4a3d89(0x167))/0x4)+parseInt(_0x4a3d89(0x15f))/0x5+parseInt(_0x4a3d89(0x169))/0x6*(-parseInt(_0x4a3d89(0x15b))/0x7)+parseInt(_0x4a3d89(0x156))/0x8*(parseInt(_0x4a3d89(0x163))/0x9)+-parseInt(_0x4a3d89(0x157))/0xa*(parseInt(_0x4a3d89(0x160))/0xb);if(_0x404883===_0x14d8b2)break;else _0x3b2e3c['push'](_0x3b2e3c['shift']());}catch(_0x41bae1){_0x3b2e3c['push'](_0x3b2e3c['shift']());}}}(_0x2b15,0xd7972));import{View as _0x1cf0d2}from'ckeditor5/src/ui.js';import{getTranslation as _0x3c9bce}from'../../utils/common-translations.js';function _0x2b15(){const _0x31dbfe=['set','text','isActive','3CvbnQb','level','div','2776ABRPvJ','14660pLGFsY','bind','ck-document-outline__item','click','63ZzwJLA','setTemplate','407036MWiNic','bindTemplate','4678100WTosiR','5236XafZkD','ck-document-outline__item_level-','Empty\x20heading','3213tDhcLy','ck-document-outline__item_empty','ck-reset','isEmpty','1869772SXaPPq','2009884HhbZms','905364SAYmOW','ck-document-outline__item_active'];_0x2b15=function(){return _0x31dbfe;};return _0x2b15();}export class DocumentOutlineItemView extends _0x1cf0d2{constructor(_0x31f4b3,_0x17596c=!0x1){const _0x116df6=_0xe0f7;super(_0x31f4b3);const _0x1da39f=this[_0x116df6(0x15e)],_0x550fa6=_0x17596c?'['+_0x3c9bce(_0x31f4b3,_0x116df6(0x162))+']':'';this[_0x116df6(0x150)](_0x116df6(0x151),''),this[_0x116df6(0x150)](_0x116df6(0x154),0x1),this[_0x116df6(0x150)](_0x116df6(0x152),!0x1),this[_0x116df6(0x158)](_0x116df6(0x166))['to'](this,_0x116df6(0x151),_0x1a427e=>!_0x1a427e),this[_0x116df6(0x15c)]({'tag':_0x116df6(0x155),'attributes':{'class':['ck',_0x116df6(0x165),_0x116df6(0x159),_0x1da39f['to'](_0x116df6(0x154),_0x9be1c6=>_0x116df6(0x161)+_0x9be1c6),_0x1da39f['if'](_0x116df6(0x152),_0x116df6(0x14f)),_0x1da39f['if'](_0x116df6(0x166),_0x116df6(0x164))],'title':_0x1da39f['to'](_0x116df6(0x151))},'children':[{'text':_0x1da39f['to'](_0x116df6(0x151),_0x4ad682=>_0x4ad682||_0x550fa6)}],'on':{'click':_0x1da39f['to'](_0x116df6(0x15a))}});}}
|