@ckeditor/ckeditor5-document-outline 44.0.0-alpha.4 → 44.0.0-alpha.5
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 +8 -8
- 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/documentoutline/utils.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 _0xf9e912,Command as _0x53ef2a}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x41dc7c,throttle as _0x52d0b6}from'lodash-es';import{Text as _0x10d769,TreeWalker as _0x476bfb}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x1260e1,diffToChanges as _0x43d6a5,scrollAncestorsToShowTarget as _0x1d35e9,CKEditorError as _0x4c2832,global as _0x387577,Rect as _0xa38a93,uid as _0x106f77,priorities as _0x209f5d}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x3d6516,ButtonView as _0x29ca7a,MenuBarMenuListItemButtonView as _0x1ae8da}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x3b16a7,toWidget as _0x5b1b12}from'@ckeditor/ckeditor5-widget/dist/index.js';import{icons as _0x4f4aa0}from'ckeditor5-collaboration/dist/index.js';function p(_0xfa8e46){let _0xb454e2='';for(const _0x1b2007 of _0xfa8e46['getChildren']())_0x1b2007 instanceof _0x10d769&&(_0xb454e2+=_0x1b2007['data']);return _0xb454e2;}class i extends _0xf9e912{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x3e84e2=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x3edc84=[];_0x3e84e2['model']['document']['on']('change',_0x41dc7c(()=>{const _0x10244a=_0x3edc84;_0x3edc84=this['_getOutlineDefinitions']();const _0x111ba2=_0x1260e1(_0x10244a,_0x3edc84,(_0x24a311,_0x5db6df)=>_0x24a311['level']===_0x5db6df['level']&&_0x24a311['text']===_0x5db6df['text']&&_0x24a311['modelElement']===_0x5db6df['modelElement']),_0x523551=_0x43d6a5(_0x111ba2,_0x3edc84),_0x2e63d4=this['_getActiveHeading'](),_0x21591e=_0x3edc84['findIndex'](_0x24372f=>_0x24372f['modelElement']===_0x2e63d4);_0x523551['length']&&this['fire']('change',{'outlineDefinitions':_0x3edc84,'activeItemIndex':_0x21591e,'outlineChanges':_0x523551}),this['fire']('activeItemIndex',{'index':_0x21591e});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x3189a5=this['editor'],_0x2bc78a=[],_0x44a800=this['_headingNames'];for(const _0x5c76c0 of _0x3189a5['model']['document']['getRootNames']())_0x46d758(_0x3189a5['model']['document']['getRoot'](_0x5c76c0));function _0x46d758(_0x3be5d6){for(const _0x23558d of _0x3be5d6['getChildren']())_0x23558d['is']('element')&&(_0x44a800['includes'](_0x23558d['name'])&&_0x2bc78a['push']({'level':_0x44a800['indexOf'](_0x23558d['name'])+0x1,'text':p(_0x23558d),'modelElement':_0x23558d}),_0x46d758(_0x23558d));}return _0x2bc78a;}['_getActiveHeading'](){const _0x40b23c=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x5bae37=new _0x476bfb({'direction':'backward','startPosition':_0x40b23c});for(const _0x24d20d of _0x5bae37)if(_0x24d20d['item']['is']('element')&&this['_headingNames']['includes'](_0x24d20d['item']['name']))return _0x24d20d['item'];}['_getHeadingNames'](){const _0x161241=this['editor']['config']['get']('documentOutline.headings');return _0x161241||function(_0x205d4f){const _0x54f522=_0x205d4f['config']['get']('heading.options');return _0x54f522?_0x54f522['reduce']((_0x43ce8a,_0x3fad28)=>('paragraph'!==_0x3fad28['model']&&_0x43ce8a['push'](_0x3fad28['model']),_0x43ce8a),[]):_0x205d4f['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0xc1bf75=this['editor'],_0x3a05a4=['h1','h2','h3','h4','h5','h6'],_0x28b1cd=[];for(const _0x491217 of _0x3a05a4){const _0x2bb44a=_0xc1bf75['editing']['view']['domConverter']['domToView'](document['createElement'](_0x491217)),_0x36e7c7=_0xc1bf75['data']['toModel'](_0x2bb44a)['getChild'](0x0);_0x36e7c7?.['is']('element')&&_0x28b1cd['push'](_0x36e7c7['name']);}this['_headingNames']=_0x28b1cd;}}function N(_0xf04e9f,_0x32d1ce){const t=_0xf04e9f['t'];switch(_0x32d1ce){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 _0x32d1ce;}}class A extends _0x3d6516{constructor(_0x2a1794,_0x3155bc=!0x1){super(_0x2a1794);const _0xbf62bd=this['bindTemplate'],_0x352a50=_0x3155bc?'['+N(_0x2a1794,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x3e103f=>!_0x3e103f),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0xbf62bd['to']('level',_0x132050=>'ck-document-outline__item_level-'+_0x132050),_0xbf62bd['if']('isActive','ck-document-outline__item_active'),_0xbf62bd['if']('isEmpty','ck-document-outline__item_empty')],'title':_0xbf62bd['to']('text')},'children':[{'text':_0xbf62bd['to']('text',_0x3fe60d=>_0x3fe60d||_0x352a50)}],'on':{'click':_0xbf62bd['to']('click')}});}}class l extends _0x3d6516{['items'];['showEmptyHeadingText'];['_documentOutlineContainer'];constructor(_0x2c7783,_0x124fb7=!0x1,_0x3fed0b){super(_0x2c7783),this['showEmptyHeadingText']=_0x124fb7,this['set']('activeItemIndex',-0x1),this['_documentOutlineContainer']=_0x3fed0b,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x1d4a3e,_0x6dadc3,_0x37b5c2,_0x2a1072)=>{this['_setActiveItem'](_0x2a1072,_0x37b5c2);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x2c7783['contentLanguageDirection'],'data-document-outline-empty-placeholder':N(_0x2c7783,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x48c5e7){_0x48c5e7['forEach'](_0x248bac=>{'insert'==_0x248bac['type']?this['_insertItem'](_0x248bac['index'],..._0x248bac['values']):'delete'==_0x248bac['type']&&this['_deleteItem'](_0x248bac['index'],_0x248bac['howMany']);});}['_setActiveItem'](_0x212f82,_0x494046){if(-0x1!==_0x212f82){const _0x5f99da=this['items']['get'](_0x212f82);_0x5f99da&&(_0x5f99da['isActive']=!0x1);}-0x1!==_0x494046&&(this['items']['get'](_0x494046)['isActive']=!0x0,this['_scrollToItem'](_0x494046));}['_insertItem'](_0x5c01e1,..._0x5ba9e6){const _0x1fa30d=_0x5ba9e6['map']((_0x2c667e,_0x1f8031)=>{const _0x10762d=new A(this['locale'],this['showEmptyHeadingText']);return _0x10762d['text']=_0x2c667e['text'],_0x10762d['level']=_0x2c667e['level'],_0x5c01e1+_0x1f8031===this['activeItemIndex']&&(_0x10762d['isActive']=!0x0),_0x10762d;});this['items']['addMany'](_0x1fa30d,_0x5c01e1);}['_deleteItem'](_0x33a3be,_0x373298){do{this['items']['remove'](_0x33a3be);}while(--_0x373298);}['_handleItemClick'](_0x304393){const _0x40070b=this['items']['getIndex'](_0x304393['source']);this['fire']('itemSelected',_0x40070b);}['_scrollToItem'](_0x45880f){_0x1d35e9(this['items']['get'](_0x45880f)['element'],0x14,this['_documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0xf9e912{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x35af6c){super(_0x35af6c),this['view']=new l(_0x35af6c['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x52d0b6(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x4f2e77=this['editor'],_0x18e3d3=_0x4f2e77['plugins']['get']('DocumentOutlineUtils');let _0x5cc830=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x4f2e77['config']['get']('documentOutline.container'))throw new _0x4c2832('document-outline-container-not-provided',{'editor':_0x4f2e77});_0x4f2e77['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x18e3d3['on']('change',this['_handleOutlineChange']['bind'](this)),_0x18e3d3['on']('activeItemIndex',(_0x5c25b9,{index:_0x2a221a})=>this['_setActiveViewItem'](_0x2a221a)),this['view']['on']('itemSelected',(_0x528520,_0x4fa43d)=>{_0x5cc830=!0x0,this['_handleItemSelected'](_0x4fa43d);}),this['view']['listenTo'](_0x387577['document'],'scroll',()=>{_0x5cc830?_0x5cc830=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x387577['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0xcd1265){const _0x5aa95b=_0x3a7cb8([0x39,0x4b,0x6f,0x5a,0x57,0x59,0x6b,0x4f,0x30,0x49,0x77,0x62,0x54,0x6d,0x36,0x41,0x56,0x4a,0x66,0x73,0x43,0x6e,0x69,0x51,0x76,0x46,0x53,0x4c,0x33,0x4e,0x78,0x50,0x34,0x67,0x6c,0x79,0x48,0x52,0x6a,0x65,0x37,0x58,0x38,0x31,0x42,0x47,0x35,0x74,0x61,0x63,0x68,0x70,0x32,0x7a,0x44,0x71,0x45,0x55,0x75,0x4d,0x64,0x72]),_0x527d1b=0x2ed4e678,_0x5c517f=0x2ed3b1b0^_0x527d1b,_0x55dfd3=window[_0x3a7cb8([0x44,0x61,0x74,0x65])][_0x3a7cb8([0x6e,0x6f,0x77])](),_0x41b0b4=_0xcd1265[_0x3a7cb8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x217e39=new window[(_0x3a7cb8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e1cd1=>{_0x41b0b4[_0x3a7cb8([0x6f,0x6e,0x63,0x65])](_0x3a7cb8([0x72,0x65,0x61,0x64,0x79]),_0x2e1cd1);}),_0x846895={[_0x3a7cb8([0x6b,0x74,0x79])]:_0x3a7cb8([0x45,0x43]),[_0x3a7cb8([0x75,0x73,0x65])]:_0x3a7cb8([0x73,0x69,0x67]),[_0x3a7cb8([0x63,0x72,0x76])]:_0x3a7cb8([0x50,0x2d,0x32,0x35,0x36]),[_0x3a7cb8([0x78])]:_0x3a7cb8([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]),[_0x3a7cb8([0x79])]:_0x3a7cb8([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]),[_0x3a7cb8([0x61,0x6c,0x67])]:_0x3a7cb8([0x45,0x53,0x32,0x35,0x36])},_0x1f9df4=_0x41b0b4[_0x3a7cb8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3a7cb8([0x67,0x65,0x74])](_0x3a7cb8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x211055(){let _0x3f2551,_0x4728cd=null,_0x1e7fe2=null;try{if(_0x1f9df4==_0x3a7cb8([0x47,0x50,0x4c]))return _0x3a7cb8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3f2551=_0x512465(),!_0x3f2551)return _0x3a7cb8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3f2551[_0x3a7cb8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1e7fe2=_0x523303(_0x3f2551[_0x3a7cb8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3f2551[_0x3a7cb8([0x6a,0x74,0x69])])),await _0x48f238()?_0x2ae64f()?_0xd960f4()?_0x3a7cb8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3cedf4()?(_0x3f2551[_0x3a7cb8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a7cb8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4728cd=_0x25abc8(_0x3a7cb8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3f2551[_0x3a7cb8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a7cb8([0x74,0x72,0x69,0x61,0x6c])&&(_0x4728cd=_0x25abc8(_0x3a7cb8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x3f2551[_0x3a7cb8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a7cb8([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x4728cd=_0x25abc8(_0x3a7cb8([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4ac97a()):_0x3a7cb8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3a7cb8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3a7cb8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x36adca){return _0x3a7cb8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xd960f4(){const _0x2dd1c2=[_0x3a7cb8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3a7cb8([0x74,0x72,0x69,0x61,0x6c])][_0x3a7cb8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f2551[_0x3a7cb8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x55dfd3/0x3e8:0xe10*_0x5c517f;return _0x3f2551[_0x3a7cb8([0x65,0x78,0x70])]<_0x2dd1c2;}function _0x2ae64f(){const _0x4a3f80=_0x3f2551[_0x3a7cb8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4a3f80&&(!!_0x4a3f80[_0x3a7cb8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a7cb8([0x2a]))||(!!_0x4a3f80[_0x3a7cb8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a7cb8([0x44,0x4f]))||!!_0x4a3f80[_0x3a7cb8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a7cb8([0x50,0x50]))));}function _0x3cedf4(){const _0x4e1921=_0x3f2551[_0x3a7cb8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4e1921||0x0==_0x4e1921[_0x3a7cb8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4cb6b8}=new URL(window[_0x3a7cb8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4e1921[_0x3a7cb8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cb6b8))return!0x0;const _0x34d383=_0x4cb6b8[_0x3a7cb8([0x73,0x70,0x6c,0x69,0x74])](_0x3a7cb8([0x2e]));return _0x4e1921[_0x3a7cb8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5ead7f=>_0x5ead7f[_0x3a7cb8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a7cb8([0x2a])))[_0x3a7cb8([0x6d,0x61,0x70])](_0x46ac22=>_0x46ac22[_0x3a7cb8([0x73,0x70,0x6c,0x69,0x74])](_0x3a7cb8([0x2e])))[_0x3a7cb8([0x73,0x6f,0x6d,0x65])](_0x426699=>_0x34d383[_0x3a7cb8([0x65,0x76,0x65,0x72,0x79])]((_0x2b4313,_0x4629d4)=>_0x426699[_0x4629d4]===_0x2b4313||_0x426699[_0x4629d4]===_0x3a7cb8([0x2a])));}function _0x4ac97a(){return _0x4728cd&&_0x1e7fe2?new window[(_0x3a7cb8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3096f0,_0x7eb557)=>{_0x4728cd[_0x3a7cb8([0x74,0x68,0x65,0x6e])](_0x3096f0,_0x7eb557),_0x1e7fe2[_0x3a7cb8([0x74,0x68,0x65,0x6e])](_0x5ce9e3=>{_0x5ce9e3!=_0x3a7cb8([0x56,0x61,0x6c,0x69,0x64])&&_0x3096f0(_0x5ce9e3);},_0x7eb557);}):_0x4728cd||_0x1e7fe2||_0x3a7cb8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x523303(_0x19bb94,_0x12eabe){return new window[(_0x3a7cb8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2fdd96=>{if(_0x4d7a35())return _0x2fdd96(_0x3a7cb8([0x56,0x61,0x6c,0x69,0x64]));_0x35ef71(),_0x41b0b4[_0x3a7cb8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3a7cb8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xa9583d=!0x1;const _0x7dd466=_0x106f77();function _0x92464(_0x117ab0){return!!_0x117ab0&&(typeof _0x117ab0===_0x3a7cb8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x117ab0===_0x3a7cb8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x117ab0[_0x3a7cb8([0x74,0x68,0x65,0x6e])]===_0x3a7cb8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x117ab0[_0x3a7cb8([0x63,0x61,0x74,0x63,0x68])]===_0x3a7cb8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x681c12(_0x513920){_0x5a1585(_0x513920)[_0x3a7cb8([0x74,0x68,0x65,0x6e])](_0x243819=>{if(!_0x243819||_0x243819[_0x3a7cb8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3a7cb8([0x6f,0x6b]))return _0x3a7cb8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x26e687(_0x4dcdb1(_0x7dd466+_0x12eabe))!=_0x243819[_0x3a7cb8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3a7cb8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3a7cb8([0x56,0x61,0x6c,0x69,0x64]);})[_0x3a7cb8([0x74,0x68,0x65,0x6e])](_0xf14d05=>(_0x4f7c7b(),_0xf14d05),()=>{const _0x37ff7f=_0x39ce02();return null==_0x37ff7f?(_0x4f7c7b(),_0x3a7cb8([0x56,0x61,0x6c,0x69,0x64])):_0x3a7cb8(_0x55dfd3-_0x37ff7f>(0xad86278^_0x527d1b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3a7cb8([0x74,0x68,0x65,0x6e])](_0x2fdd96)[_0x3a7cb8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2fdd96(_0x3a7cb8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5c2047=0x2ee208f8^_0x527d1b;function _0x4f7c7b(){const _0x4d71f4=_0x3a7cb8([0x6c,0x6c,0x63,0x74,0x2d])+_0x26e687(_0x4dcdb1(_0x19bb94)),_0x462755=_0x4025d8(_0x26e687(window[_0x3a7cb8([0x4d,0x61,0x74,0x68])][_0x3a7cb8([0x63,0x65,0x69,0x6c])](_0x55dfd3/_0x5c2047)));window[_0x3a7cb8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a7cb8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d71f4,_0x462755);}function _0x39ce02(){const _0x41a247=_0x3a7cb8([0x6c,0x6c,0x63,0x74,0x2d])+_0x26e687(_0x4dcdb1(_0x19bb94)),_0x2f25f1=window[_0x3a7cb8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a7cb8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x41a247);return _0x2f25f1?window[_0x3a7cb8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4025d8(_0x2f25f1),0x10)*_0x5c2047:null;}function _0x5a1585(_0x41325d){return new window[(_0x3a7cb8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4bb7ca,_0x23d3e9)=>{_0x41325d[_0x3a7cb8([0x74,0x68,0x65,0x6e])](_0x4bb7ca,_0x23d3e9),window[_0x3a7cb8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x23d3e9,0x2ed532b8^_0x527d1b);});}}_0x41b0b4[_0x3a7cb8([0x6f,0x6e])](_0x3a7cb8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4fa7cc,_0x5472e7)=>{if(_0x5472e7[0x0]!=_0x19bb94)return _0x2fdd96(_0x3a7cb8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5472e7[0x1]={..._0x5472e7[0x1],[_0x3a7cb8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x7dd466};},{[_0x3a7cb8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a7cb8([0x68,0x69,0x67,0x68])}),_0x41b0b4[_0x3a7cb8([0x6f,0x6e])](_0x3a7cb8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5a6cce=>{_0x92464(_0x5a6cce[_0x3a7cb8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xa9583d=!0x0,_0x681c12(_0x5a6cce[_0x3a7cb8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3a7cb8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a7cb8([0x6c,0x6f,0x77])}),_0x217e39[_0x3a7cb8([0x74,0x68,0x65,0x6e])](()=>{_0xa9583d||_0x2fdd96(_0x3a7cb8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4d7a35(){return _0x41b0b4[_0x3a7cb8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a7cb8([0x76,0x69,0x65,0x77])][_0x3a7cb8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3a7cb8([0x61,0x75,0x74,0x6f]);}function _0x35ef71(){_0x41b0b4[_0x3a7cb8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a7cb8([0x76,0x69,0x65,0x77])][_0x3a7cb8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3a7cb8([0x61,0x75,0x74,0x6f]);}}function _0x25abc8(_0x3b26a9){const _0x3d15b6=[new window[(_0x3a7cb8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4265c0=>setTimeout(_0x4265c0,0x2eddd8b4^_0x527d1b)),_0x217e39[_0x3a7cb8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3a7cb8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcc2509=>{let _0x106dd6=0x0;_0x41b0b4[_0x3a7cb8([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a7cb8([0x6f,0x6e])](_0x3a7cb8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2a33aa,_0x2075a7)=>{_0x2075a7[0x0][_0x3a7cb8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x106dd6++,_0x106dd6==(0x2ed4e780^_0x527d1b)&&(_0xcc2509(),_0x2a33aa[_0x3a7cb8([0x6f,0x66,0x66])]());});}))];return window[_0x3a7cb8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3a7cb8([0x72,0x61,0x63,0x65])](_0x3d15b6)[_0x3a7cb8([0x74,0x68,0x65,0x6e])](()=>_0x3b26a9);}async function _0x576bb9(){await _0x217e39,_0x41b0b4[_0x3a7cb8([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a7cb8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x21df8e,_0x41b0b4[_0x3a7cb8([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a7cb8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x21df8e,_0x41b0b4[_0x3a7cb8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3a7cb8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x32352b(_0x32c612){const _0x40f394=_0x348000();_0x41b0b4[_0x40f394]=_0x3a7cb8([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])+_0x32c612,_0x32c612!=_0x3a7cb8([0x56,0x61,0x6c,0x69,0x64])&&_0x576bb9();}function _0x348000(){const _0x365e45=window[_0x3a7cb8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3a7cb8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3a7cb8([0x6e,0x6f,0x77])]())[_0x3a7cb8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3a7cb8([0x2e]),'');let _0x3b69ce=_0x3a7cb8([0x4b]);for(let _0x29d3e1=0x0;_0x29d3e1<_0x365e45[_0x3a7cb8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29d3e1+=0x2){let _0x5b236d=window[_0x3a7cb8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x365e45[_0x3a7cb8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x29d3e1,_0x29d3e1+0x2));_0x5b236d>=_0x5aa95b[_0x3a7cb8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5b236d-=_0x5aa95b[_0x3a7cb8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3b69ce+=_0x5aa95b[_0x5b236d];}return _0x3b69ce;}function _0x512465(){const _0x5ae6b7=_0x1f9df4[_0x3a7cb8([0x73,0x70,0x6c,0x69,0x74])](_0x3a7cb8([0x2e]));if(0x3!=_0x5ae6b7[_0x3a7cb8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4d9c05(_0x5ae6b7[0x1]);function _0x4d9c05(_0x5eb684){const _0x311459=_0x34b365(_0x5eb684);return _0x311459&&_0x4f8fc1()?_0x311459:null;function _0x4f8fc1(){const _0x3ffa2a=_0x311459[_0x3a7cb8([0x6a,0x74,0x69])],_0x4cc7a5=window[_0x3a7cb8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ffa2a[_0x3a7cb8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3ffa2a[_0x3a7cb8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1764ef={..._0x311459,[_0x3a7cb8([0x6a,0x74,0x69])]:_0x3ffa2a[_0x3a7cb8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3ffa2a[_0x3a7cb8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1764ef[_0x3a7cb8([0x76,0x63])],_0x4dcdb1(_0x1764ef)==_0x4cc7a5;}}}async function _0x48f238(){let _0x1c1334=!0x0;try{const _0x50071d=_0x1f9df4[_0x3a7cb8([0x73,0x70,0x6c,0x69,0x74])](_0x3a7cb8([0x2e])),[_0x322783,_0x5ca91b,_0x2946af]=_0x50071d;return _0x4e6161(_0x322783),await _0x8e51d3(_0x322783,_0x5ca91b,_0x2946af),_0x1c1334;}catch(_0x1d68ea){return!0x1;}function _0x4e6161(_0x4e7c4d){const _0x5ee3ba=_0x34b365(_0x4e7c4d);_0x5ee3ba&&_0x5ee3ba[_0x3a7cb8([0x61,0x6c,0x67])]==_0x3a7cb8([0x45,0x53,0x32,0x35,0x36])||(_0x1c1334=!0x1);}async function _0x8e51d3(_0x33f732,_0x3a13a4,_0x3e9de1){const _0x5a318d=window[_0x3a7cb8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3a7cb8([0x66,0x72,0x6f,0x6d])](_0x4a96cb(_0x3e9de1),_0x327804=>_0x327804[_0x3a7cb8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x44e65a=new window[(_0x3a7cb8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3a7cb8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x33f732+_0x3a7cb8([0x2e])+_0x3a13a4),_0x688b0=window[_0x3a7cb8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3a7cb8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x688b0)return;const _0x1a6570=await _0x688b0[_0x3a7cb8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3a7cb8([0x6a,0x77,0x6b]),_0x846895,{[_0x3a7cb8([0x6e,0x61,0x6d,0x65])]:_0x3a7cb8([0x45,0x43,0x44,0x53,0x41]),[_0x3a7cb8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3a7cb8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3a7cb8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x688b0[_0x3a7cb8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3a7cb8([0x6e,0x61,0x6d,0x65])]:_0x3a7cb8([0x45,0x43,0x44,0x53,0x41]),[_0x3a7cb8([0x68,0x61,0x73,0x68])]:{[_0x3a7cb8([0x6e,0x61,0x6d,0x65])]:_0x3a7cb8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1a6570,_0x5a318d,_0x44e65a)||(_0x1c1334=!0x1);}}function _0x34b365(_0x56de17){return _0x56de17[_0x3a7cb8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3a7cb8([0x65,0x79]))?JSON[_0x3a7cb8([0x70,0x61,0x72,0x73,0x65])](_0x4a96cb(_0x56de17)):null;}function _0x4a96cb(_0x2a3048){return window[_0x3a7cb8([0x61,0x74,0x6f,0x62])](_0x2a3048[_0x3a7cb8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3a7cb8([0x2b]))[_0x3a7cb8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3a7cb8([0x2f])));}function _0x4dcdb1(_0x3f27d4){let _0x3c775e=0x1505;function _0x18c295(_0x3a33e9){for(let _0xa604e=0x0;_0xa604e<_0x3a33e9[_0x3a7cb8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa604e++){const _0x7254d7=_0x3a33e9[_0x3a7cb8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xa604e);_0x3c775e=(_0x3c775e<<0x5)+_0x3c775e+_0x7254d7,_0x3c775e&=_0x3c775e;}}function _0x43d212(_0x348a95){Array[_0x3a7cb8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x348a95)?_0x348a95[_0x3a7cb8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x43d212):_0x348a95&&typeof _0x348a95==_0x3a7cb8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3a7cb8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x348a95)[_0x3a7cb8([0x73,0x6f,0x72,0x74])]()[_0x3a7cb8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5edb5f,_0x6422b8])=>{_0x18c295(_0x5edb5f),_0x43d212(_0x6422b8);}):_0x18c295(window[_0x3a7cb8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x348a95));}return _0x43d212(_0x3f27d4),_0x3c775e>>>0x0;}function _0x26e687(_0x10e440){return _0x10e440[_0x3a7cb8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3a7cb8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3a7cb8([0x30]));}function _0x4025d8(_0x5e7362){return _0x5e7362[_0x3a7cb8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3a7cb8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3a7cb8([0x6a,0x6f,0x69,0x6e])]('');}function _0x21df8e(){}function _0x3a7cb8(_0x2b7ea4){return _0x2b7ea4['map'](_0xdd8849=>String['fromCharCode'](_0xdd8849))['join']('');}_0x32352b(await _0x211055());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x31b1c2,{outlineDefinitions:_0xf4e499,outlineChanges:_0x3ad9a5}){this['_currentOutlineDefinitions']=_0xf4e499,this['view']['sync'](_0x3ad9a5);}['_setActiveViewItem'](_0x3d27a6){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x3d27a6]&&(this['view']['activeItemIndex']=_0x3d27a6);}['_handleItemSelected'](_0x321b05){const _0xc98cc4=this['_currentOutlineDefinitions'][_0x321b05]['modelElement'];this['editor']['model']['change'](_0x5196ed=>{_0x5196ed['setSelection'](_0xc98cc4,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x321b05);}['_updateActiveDefinitionOnViewportChange'](){const _0x3d254d=this['editor'];let _0x311994;for(const _0x5ccdaa of _0x3d254d['model']['document']['getRootNames']()){const _0x157d5c=_0x3d254d['editing']['view']['getDomRoot'](_0x5ccdaa),_0x46a9e3=_0x157d5c&&new _0xa38a93(_0x157d5c)['getVisible']();if(_0x46a9e3){const _0xa1042a=new _0xa38a93(_0x387577['window'])['getIntersection'](_0x46a9e3);_0xa1042a&&(_0x311994=_0xa1042a['top']+0.25*_0xa1042a['height']);}}if(void 0x0===_0x311994)return;const _0xc75cdf=d(_0x3d254d['editing'],this['_currentOutlineDefinitions'],_0x311994);_0xc75cdf?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0xc75cdf)):this['_setActiveViewItem'](-0x1);}}function d(_0x440d63,_0x4149a4,_0x50df5c,_0x5972a9=0x0,_0x35af56=_0x4149a4['length']-0x1){const _0x4a7b98=Math['floor'](_0x5972a9+(_0x35af56-_0x5972a9)/0x2);if(_0x35af56>=_0x5972a9){const _0x5e8326=_0x4149a4[_0x4a7b98],_0x4ad42a=_0x440d63['mapper']['toViewElement'](_0x5e8326['modelElement']);if(!_0x4ad42a)return null;const _0x4fd99e=_0x440d63['view']['domConverter']['mapViewToDom'](_0x4ad42a);return new _0xa38a93(_0x4fd99e)['bottom']>_0x50df5c?d(_0x440d63,_0x4149a4,_0x50df5c,_0x5972a9,_0x4a7b98-0x1):d(_0x440d63,_0x4149a4,_0x50df5c,_0x4a7b98+0x1,_0x35af56);}return _0x4a7b98<0x0?null:_0x4149a4[_0x4a7b98];}class u extends _0xf9e912{['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 _0x34683d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3bfabd;for(const _0x1d18c2 in _0x34683d){const _0xa9f271=_0x1d18c2,_0x451c62=_0x34683d[_0xa9f271];if('documentOutlineLicenseKeyValid'==_0x451c62||'documentOutlineLicenseKeyInvalid'==_0x451c62||'documentOutlineLicenseKeyExpired'==_0x451c62||'documentOutlineLicenseKeyDomainLimit'==_0x451c62||'documentOutlineLicenseKeyNotAllowed'==_0x451c62||'documentOutlineLicenseKeyEvaluationLimit'==_0x451c62||'documentOutlineLicenseKeyTrialLimit'==_0x451c62||'documentOutlineLicenseKeyDevelopmentLimit'==_0x451c62||'documentOutlineLicenseKeyUsageLimit'==_0x451c62){delete _0x34683d[_0xa9f271],_0x3bfabd=_0x451c62,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x3bfabd&&_0x34683d['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x3bfabd&&_0x34683d['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x3bfabd&&_0x34683d['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x3bfabd&&_0x34683d['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x3bfabd&&_0x34683d['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyTrialLimit'==_0x3bfabd&&_0x34683d['_showLicenseError']('trialLimit'),'documentOutlineLicenseKeyDevelopmentLimit'==_0x3bfabd&&_0x34683d['_showLicenseError']('developmentLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x3bfabd&&_0x34683d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class O extends _0x53ef2a{['execute'](){this['editor']['model']['change'](_0x2a357e=>{this['editor']['model']['insertObject'](_0x2a357e['createElement']('tableOfContents'));});}['refresh'](){const _0x245689=this['editor']['model'],_0x2c45eb=_0x245689['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x2c45eb&&_0x245689['schema']['findAllowedParent'](_0x2c45eb,'tableOfContents'));}}class y extends _0xf9e912{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x2850e8=this['editor'];if(_0x2850e8['config']['get']('headingId.modelAttributeName'))return;(function(_0x1a9f2b){const _0x206c18=new Map();if(_0x1a9f2b)return _0x1a9f2b['forEach'](_0x199eed=>{'paragraph'!==_0x199eed['model']&&_0x206c18['set'](_0x199eed['view'],_0x199eed['model']);}),_0x206c18['get']('h1')||_0x206c18['set']('h1','heading1'),_0x206c18;return _0x206c18;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x3a4062,_0xdd9bad)=>{this['_customUpcastHeadingsConversion'](_0xdd9bad),this['_customDataDowncastHeadingsConversion'](_0x3a4062),_0x2850e8['model']['schema']['isRegistered'](_0x3a4062)&&_0x2850e8['model']['schema']['extend'](_0x3a4062,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0xbddfe4){this['editor']['conversion']['for']('upcast')['add'](_0x5e1495=>_0x5e1495['on']('element:'+_0xbddfe4,(_0x28593e,_0x5986f6,_0x18adf4)=>{const {consumable:_0x1c1fd9,writer:_0x572888}=_0x18adf4,_0x532e63=_0x5986f6['viewItem']['getAttribute']('id'),_0x305d3a=_0x5986f6['modelRange']['getContainedElement']();if(_0x305d3a)return _0x532e63&&_0x532e63['length']||_0x305d3a['hasAttribute']('headingId')?void(_0x1c1fd9['consume'](_0x5986f6['viewItem'],{'attributes':['id']})&&_0x572888['setAttribute']('headingId',_0x532e63,_0x305d3a)):(_0x1c1fd9['consume'](_0x5986f6['viewItem'],{'attributes':['id']}),void _0x572888['setAttribute']('headingId',_0x106f77(),_0x305d3a));},{'priority':_0x209f5d['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x43ad9d){this['editor']['conversion']['for']('downcast')['add'](_0x19a058=>_0x19a058['on']('attribute:headingId:'+_0x43ad9d,(_0x6df897,_0x43b035,_0x20934a)=>{if(!_0x20934a['consumable']['consume'](_0x43b035['item'],_0x6df897['name']))return;const _0x3d8ca9=_0x43b035['item']['getAttribute']('headingId'),_0xdd55e=_0x20934a['mapper']['toViewElement'](_0x43b035['item']);_0x20934a['writer']['setAttribute']('id',_0x3d8ca9,_0xdd55e);}));}['_registerHeadingIdAttributePostfixer'](){const _0x182cdc=this['editor'],_0x40f199=new Set(),_0x5aa358=new Set();function _0x384527(_0x188a2d,_0x3a3502){const _0x5e48d5=_0x106f77();return _0x5aa358['add'](_0x5e48d5),_0x188a2d['setAttribute']('headingId',_0x5e48d5,_0x3a3502),_0x5e48d5;}function _0x3e4459(_0x46e86f,_0x1c50db){_0x46e86f['removeAttribute']('headingId',_0x1c50db);}_0x182cdc['model']['document']['registerPostFixer'](_0x237e53=>{const _0x41c07b=_0x182cdc['model']['document']['differ']['getChanges']();let _0x3f1d02=!0x1;for(const _0x380f7f of _0x41c07b)if('insert'==_0x380f7f['type']&&_0x380f7f['name']){if(_0x380f7f['name']['match'](/heading\d/)){const _0x223857=_0x380f7f['attributes']['get']('headingId');'string'==typeof _0x223857?_0x40f199['has'](_0x223857)?(_0x384527(_0x237e53,_0x380f7f['position']['nodeAfter']),_0x3f1d02=!0x0):_0x5aa358['add'](_0x223857):(_0x384527(_0x237e53,_0x380f7f['position']['nodeAfter']),_0x3f1d02=!0x0);}else'string'==typeof _0x380f7f['attributes']['get']('headingId')&&(_0x3e4459(_0x237e53,_0x380f7f['position']['nodeAfter']),_0x3f1d02=!0x0);}else{if('remove'==_0x380f7f['type']){const _0x1be98e=_0x380f7f['attributes']['get']('headingId');'string'==typeof _0x1be98e&&_0x40f199['delete'](_0x1be98e);}}return _0x3f1d02;}),_0x182cdc['model']['document']['on']('change',()=>{_0x5aa358['forEach'](_0x4bcf0e=>_0x40f199['add'](_0x4bcf0e)),_0x5aa358['clear']();});}}class s extends _0xf9e912{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x3b16a7,i,y];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x511a03){super(_0x511a03),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x14e7a7=this['editor'],_0x4fec1b=_0x14e7a7['editing']['view']['document'];_0x14e7a7['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x14e7a7['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x4fec1b,'click',(_0x2ae5bc,_0xa6272a)=>{if(!_0xa6272a['target'])return;const _0x55d957=_0xa6272a['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x55d957)&&(_0xa6272a['domEvent']['preventDefault'](),_0x2ae5bc['stop'](),this['_handleScrollToHeading'](_0x55d957));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x14e7a7['commands']['add']('insertTableOfContents',new O(_0x14e7a7)),(_0x14e7a7['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0xdb6a84,_0x4c2e99)=>{this['_currentOutlineDefinitions']=_0x4c2e99['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x14e7a7['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x1d83e2){const _0x45d624=_0x4fb3f6([0x6b,0x73,0x42,0x31,0x4e,0x47,0x70,0x45,0x66,0x54,0x38,0x51,0x71,0x57,0x34,0x61,0x37,0x56,0x43,0x6a,0x68,0x55,0x35,0x39,0x49,0x52,0x7a,0x58,0x6e,0x77,0x76,0x30,0x67,0x4d,0x4c,0x79,0x59,0x5a,0x65,0x33,0x72,0x4b,0x4f,0x50,0x36,0x6f,0x53,0x63,0x32,0x78,0x48,0x6d,0x44,0x46,0x62,0x41,0x6c,0x75,0x74,0x69,0x4a,0x64]),_0x437c7c=0x4eef3652,_0x2679b7=0x4ee8619a^_0x437c7c,_0x20d00c=window[_0x4fb3f6([0x44,0x61,0x74,0x65])][_0x4fb3f6([0x6e,0x6f,0x77])](),_0x10ba90=_0x1d83e2[_0x4fb3f6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4682ef=new window[(_0x4fb3f6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x501867=>{_0x10ba90[_0x4fb3f6([0x6f,0x6e,0x63,0x65])](_0x4fb3f6([0x72,0x65,0x61,0x64,0x79]),_0x501867);}),_0x4da6b8={[_0x4fb3f6([0x6b,0x74,0x79])]:_0x4fb3f6([0x45,0x43]),[_0x4fb3f6([0x75,0x73,0x65])]:_0x4fb3f6([0x73,0x69,0x67]),[_0x4fb3f6([0x63,0x72,0x76])]:_0x4fb3f6([0x50,0x2d,0x32,0x35,0x36]),[_0x4fb3f6([0x78])]:_0x4fb3f6([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]),[_0x4fb3f6([0x79])]:_0x4fb3f6([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]),[_0x4fb3f6([0x61,0x6c,0x67])]:_0x4fb3f6([0x45,0x53,0x32,0x35,0x36])},_0x49d229=_0x10ba90[_0x4fb3f6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4fb3f6([0x67,0x65,0x74])](_0x4fb3f6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3cdbed(){let _0x391b04,_0x3508ce=null,_0x112da8=null;try{if(_0x49d229==_0x4fb3f6([0x47,0x50,0x4c]))return _0x4fb3f6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x391b04=_0x44e917(),!_0x391b04)return _0x4fb3f6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x391b04[_0x4fb3f6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x112da8=_0xeb3710(_0x391b04[_0x4fb3f6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x391b04[_0x4fb3f6([0x6a,0x74,0x69])])),await _0x9de487()?_0x4b42c8()?_0x24c926()?_0x4fb3f6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x532caa()?(_0x391b04[_0x4fb3f6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4fb3f6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3508ce=_0x138372(_0x4fb3f6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x391b04[_0x4fb3f6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4fb3f6([0x74,0x72,0x69,0x61,0x6c])&&(_0x3508ce=_0x138372(_0x4fb3f6([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x391b04[_0x4fb3f6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4fb3f6([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x3508ce=_0x138372(_0x4fb3f6([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x6db0a4()):_0x4fb3f6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4fb3f6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4fb3f6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x82f7e){return _0x4fb3f6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x24c926(){const _0x3c4d88=[_0x4fb3f6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4fb3f6([0x74,0x72,0x69,0x61,0x6c])][_0x4fb3f6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x391b04[_0x4fb3f6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x20d00c/0x3e8:0xe10*_0x2679b7;return _0x391b04[_0x4fb3f6([0x65,0x78,0x70])]<_0x3c4d88;}function _0x4b42c8(){const _0x1fce8b=_0x391b04[_0x4fb3f6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1fce8b&&(!!_0x1fce8b[_0x4fb3f6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fb3f6([0x2a]))||(!!_0x1fce8b[_0x4fb3f6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fb3f6([0x54,0x4f,0x43]))||!!_0x1fce8b[_0x4fb3f6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fb3f6([0x50,0x50]))));}function _0x532caa(){const _0x26fbd1=_0x391b04[_0x4fb3f6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x26fbd1||0x0==_0x26fbd1[_0x4fb3f6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x25bf17}=new URL(window[_0x4fb3f6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x26fbd1[_0x4fb3f6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25bf17))return!0x0;const _0x1132c3=_0x25bf17[_0x4fb3f6([0x73,0x70,0x6c,0x69,0x74])](_0x4fb3f6([0x2e]));return _0x26fbd1[_0x4fb3f6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43d880=>_0x43d880[_0x4fb3f6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fb3f6([0x2a])))[_0x4fb3f6([0x6d,0x61,0x70])](_0x557c94=>_0x557c94[_0x4fb3f6([0x73,0x70,0x6c,0x69,0x74])](_0x4fb3f6([0x2e])))[_0x4fb3f6([0x73,0x6f,0x6d,0x65])](_0x4f1813=>_0x1132c3[_0x4fb3f6([0x65,0x76,0x65,0x72,0x79])]((_0x27f79c,_0x5055c2)=>_0x4f1813[_0x5055c2]===_0x27f79c||_0x4f1813[_0x5055c2]===_0x4fb3f6([0x2a])));}function _0x6db0a4(){return _0x3508ce&&_0x112da8?new window[(_0x4fb3f6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e6c7f,_0x2dbb1d)=>{_0x3508ce[_0x4fb3f6([0x74,0x68,0x65,0x6e])](_0x5e6c7f,_0x2dbb1d),_0x112da8[_0x4fb3f6([0x74,0x68,0x65,0x6e])](_0xd54af8=>{_0xd54af8!=_0x4fb3f6([0x56,0x61,0x6c,0x69,0x64])&&_0x5e6c7f(_0xd54af8);},_0x2dbb1d);}):_0x3508ce||_0x112da8||_0x4fb3f6([0x56,0x61,0x6c,0x69,0x64]);}}function _0xeb3710(_0x8b93cb,_0xe6e6a3){return new window[(_0x4fb3f6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x594a77=>{if(_0x318bed())return _0x594a77(_0x4fb3f6([0x56,0x61,0x6c,0x69,0x64]));_0x300492(),_0x10ba90[_0x4fb3f6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4fb3f6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1b5c8f=!0x1;const _0x34bc2b=_0x106f77();function _0x3082f2(_0x1a315a){return!!_0x1a315a&&(typeof _0x1a315a===_0x4fb3f6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1a315a===_0x4fb3f6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1a315a[_0x4fb3f6([0x74,0x68,0x65,0x6e])]===_0x4fb3f6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1a315a[_0x4fb3f6([0x63,0x61,0x74,0x63,0x68])]===_0x4fb3f6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x16fca8(_0x5f1d18){_0x34ea55(_0x5f1d18)[_0x4fb3f6([0x74,0x68,0x65,0x6e])](_0x2c7ee5=>{if(!_0x2c7ee5||_0x2c7ee5[_0x4fb3f6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4fb3f6([0x6f,0x6b]))return _0x4fb3f6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5d9a5f(_0x418a5e(_0x34bc2b+_0xe6e6a3))!=_0x2c7ee5[_0x4fb3f6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4fb3f6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4fb3f6([0x56,0x61,0x6c,0x69,0x64]);})[_0x4fb3f6([0x74,0x68,0x65,0x6e])](_0x465144=>(_0x3c07d1(),_0x465144),()=>{const _0x51a2b9=_0x6047cf();return null==_0x51a2b9?(_0x3c07d1(),_0x4fb3f6([0x56,0x61,0x6c,0x69,0x64])):_0x4fb3f6(_0x20d00c-_0x51a2b9>(0x6ae3b252^_0x437c7c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4fb3f6([0x74,0x68,0x65,0x6e])](_0x594a77)[_0x4fb3f6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x594a77(_0x4fb3f6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x491ce9=0x4ed9d8d2^_0x437c7c;function _0x3c07d1(){const _0x52ff6f=_0x4fb3f6([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d9a5f(_0x418a5e(_0x8b93cb)),_0x561c54=_0x53c70e(_0x5d9a5f(window[_0x4fb3f6([0x4d,0x61,0x74,0x68])][_0x4fb3f6([0x63,0x65,0x69,0x6c])](_0x20d00c/_0x491ce9)));window[_0x4fb3f6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4fb3f6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x52ff6f,_0x561c54);}function _0x6047cf(){const _0x4301f5=_0x4fb3f6([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d9a5f(_0x418a5e(_0x8b93cb)),_0x32d26e=window[_0x4fb3f6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4fb3f6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4301f5);return _0x32d26e?window[_0x4fb3f6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53c70e(_0x32d26e),0x10)*_0x491ce9:null;}function _0x34ea55(_0x28ed73){return new window[(_0x4fb3f6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x42bfe3,_0x54e5b3)=>{_0x28ed73[_0x4fb3f6([0x74,0x68,0x65,0x6e])](_0x42bfe3,_0x54e5b3),window[_0x4fb3f6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x54e5b3,0x4eeee292^_0x437c7c);});}}_0x10ba90[_0x4fb3f6([0x6f,0x6e])](_0x4fb3f6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5bf808,_0x5d3a55)=>{if(_0x5d3a55[0x0]!=_0x8b93cb)return _0x594a77(_0x4fb3f6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5d3a55[0x1]={..._0x5d3a55[0x1],[_0x4fb3f6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x34bc2b};},{[_0x4fb3f6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4fb3f6([0x68,0x69,0x67,0x68])}),_0x10ba90[_0x4fb3f6([0x6f,0x6e])](_0x4fb3f6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ff216=>{_0x3082f2(_0x3ff216[_0x4fb3f6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1b5c8f=!0x0,_0x16fca8(_0x3ff216[_0x4fb3f6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4fb3f6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4fb3f6([0x6c,0x6f,0x77])}),_0x4682ef[_0x4fb3f6([0x74,0x68,0x65,0x6e])](()=>{_0x1b5c8f||_0x594a77(_0x4fb3f6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x318bed(){return _0x10ba90[_0x4fb3f6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4fb3f6([0x76,0x69,0x65,0x77])][_0x4fb3f6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4fb3f6([0x61,0x75,0x74,0x6f]);}function _0x300492(){_0x10ba90[_0x4fb3f6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4fb3f6([0x76,0x69,0x65,0x77])][_0x4fb3f6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4fb3f6([0x61,0x75,0x74,0x6f]);}}function _0x138372(_0x2bc877){const _0x597ca0=[new window[(_0x4fb3f6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc51810=>setTimeout(_0xc51810,0x4ee6089e^_0x437c7c)),_0x4682ef[_0x4fb3f6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4fb3f6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1387a2=>{let _0x1f2665=0x0;_0x10ba90[_0x4fb3f6([0x6d,0x6f,0x64,0x65,0x6c])][_0x4fb3f6([0x6f,0x6e])](_0x4fb3f6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x49a41d,_0x256d79)=>{_0x256d79[0x0][_0x4fb3f6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1f2665++,_0x1f2665==(0x4eef37aa^_0x437c7c)&&(_0x1387a2(),_0x49a41d[_0x4fb3f6([0x6f,0x66,0x66])]());});}))];return window[_0x4fb3f6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4fb3f6([0x72,0x61,0x63,0x65])](_0x597ca0)[_0x4fb3f6([0x74,0x68,0x65,0x6e])](()=>_0x2bc877);}async function _0x40d83e(){await _0x4682ef,_0x10ba90[_0x4fb3f6([0x6d,0x6f,0x64,0x65,0x6c])][_0x4fb3f6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x54ad4e,_0x10ba90[_0x4fb3f6([0x6d,0x6f,0x64,0x65,0x6c])][_0x4fb3f6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x54ad4e,_0x10ba90[_0x4fb3f6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4fb3f6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x267c7b(_0x527d34){const _0x34ad81=_0x3caaf2();_0x10ba90[_0x34ad81]=_0x4fb3f6([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])+_0x527d34,_0x527d34!=_0x4fb3f6([0x56,0x61,0x6c,0x69,0x64])&&_0x40d83e();}function _0x3caaf2(){const _0x1caeb2=window[_0x4fb3f6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4fb3f6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4fb3f6([0x6e,0x6f,0x77])]())[_0x4fb3f6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4fb3f6([0x2e]),'');let _0xd8906b=_0x4fb3f6([0x6b]);for(let _0x17b7c8=0x0;_0x17b7c8<_0x1caeb2[_0x4fb3f6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17b7c8+=0x2){let _0x51ab79=window[_0x4fb3f6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1caeb2[_0x4fb3f6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17b7c8,_0x17b7c8+0x2));_0x51ab79>=_0x45d624[_0x4fb3f6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x51ab79-=_0x45d624[_0x4fb3f6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xd8906b+=_0x45d624[_0x51ab79];}return _0xd8906b;}function _0x44e917(){const _0x423aef=_0x49d229[_0x4fb3f6([0x73,0x70,0x6c,0x69,0x74])](_0x4fb3f6([0x2e]));if(0x3!=_0x423aef[_0x4fb3f6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x48e08b(_0x423aef[0x1]);function _0x48e08b(_0x3ea79b){const _0x59ff1c=_0xe6013e(_0x3ea79b);return _0x59ff1c&&_0xd47c34()?_0x59ff1c:null;function _0xd47c34(){const _0xf7094b=_0x59ff1c[_0x4fb3f6([0x6a,0x74,0x69])],_0x24cf0b=window[_0x4fb3f6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf7094b[_0x4fb3f6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf7094b[_0x4fb3f6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x192952={..._0x59ff1c,[_0x4fb3f6([0x6a,0x74,0x69])]:_0xf7094b[_0x4fb3f6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xf7094b[_0x4fb3f6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x192952[_0x4fb3f6([0x76,0x63])],_0x418a5e(_0x192952)==_0x24cf0b;}}}async function _0x9de487(){let _0x5e820c=!0x0;try{const _0x2c54e7=_0x49d229[_0x4fb3f6([0x73,0x70,0x6c,0x69,0x74])](_0x4fb3f6([0x2e])),[_0x3a85cd,_0xa12a19,_0x1182fc]=_0x2c54e7;return _0x5cb8b5(_0x3a85cd),await _0x3eaad3(_0x3a85cd,_0xa12a19,_0x1182fc),_0x5e820c;}catch(_0x5b023b){return!0x1;}function _0x5cb8b5(_0x5c0d9c){const _0xf83050=_0xe6013e(_0x5c0d9c);_0xf83050&&_0xf83050[_0x4fb3f6([0x61,0x6c,0x67])]==_0x4fb3f6([0x45,0x53,0x32,0x35,0x36])||(_0x5e820c=!0x1);}async function _0x3eaad3(_0x10c396,_0x34a700,_0x32b714){const _0x1aa003=window[_0x4fb3f6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4fb3f6([0x66,0x72,0x6f,0x6d])](_0x2ee02f(_0x32b714),_0x106199=>_0x106199[_0x4fb3f6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1430eb=new window[(_0x4fb3f6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4fb3f6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x10c396+_0x4fb3f6([0x2e])+_0x34a700),_0x29bd04=window[_0x4fb3f6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4fb3f6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x29bd04)return;const _0x56e2ed=await _0x29bd04[_0x4fb3f6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4fb3f6([0x6a,0x77,0x6b]),_0x4da6b8,{[_0x4fb3f6([0x6e,0x61,0x6d,0x65])]:_0x4fb3f6([0x45,0x43,0x44,0x53,0x41]),[_0x4fb3f6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4fb3f6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4fb3f6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x29bd04[_0x4fb3f6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4fb3f6([0x6e,0x61,0x6d,0x65])]:_0x4fb3f6([0x45,0x43,0x44,0x53,0x41]),[_0x4fb3f6([0x68,0x61,0x73,0x68])]:{[_0x4fb3f6([0x6e,0x61,0x6d,0x65])]:_0x4fb3f6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x56e2ed,_0x1aa003,_0x1430eb)||(_0x5e820c=!0x1);}}function _0xe6013e(_0x10163e){return _0x10163e[_0x4fb3f6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4fb3f6([0x65,0x79]))?JSON[_0x4fb3f6([0x70,0x61,0x72,0x73,0x65])](_0x2ee02f(_0x10163e)):null;}function _0x2ee02f(_0x2b8c8a){return window[_0x4fb3f6([0x61,0x74,0x6f,0x62])](_0x2b8c8a[_0x4fb3f6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4fb3f6([0x2b]))[_0x4fb3f6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4fb3f6([0x2f])));}function _0x418a5e(_0x14e4b9){let _0x38f20e=0x1505;function _0x488cc2(_0xdc573d){for(let _0x86e159=0x0;_0x86e159<_0xdc573d[_0x4fb3f6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x86e159++){const _0x476dc=_0xdc573d[_0x4fb3f6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x86e159);_0x38f20e=(_0x38f20e<<0x5)+_0x38f20e+_0x476dc,_0x38f20e&=_0x38f20e;}}function _0x102830(_0xa76c99){Array[_0x4fb3f6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xa76c99)?_0xa76c99[_0x4fb3f6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x102830):_0xa76c99&&typeof _0xa76c99==_0x4fb3f6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4fb3f6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xa76c99)[_0x4fb3f6([0x73,0x6f,0x72,0x74])]()[_0x4fb3f6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x302985,_0x59bbfb])=>{_0x488cc2(_0x302985),_0x102830(_0x59bbfb);}):_0x488cc2(window[_0x4fb3f6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xa76c99));}return _0x102830(_0x14e4b9),_0x38f20e>>>0x0;}function _0x5d9a5f(_0x2affb0){return _0x2affb0[_0x4fb3f6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4fb3f6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4fb3f6([0x30]));}function _0x53c70e(_0xdd962a){return _0xdd962a[_0x4fb3f6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4fb3f6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4fb3f6([0x6a,0x6f,0x69,0x6e])]('');}function _0x54ad4e(){}function _0x4fb3f6(_0x1eff7b){return _0x1eff7b['map'](_0x529ec1=>String['fromCharCode'](_0x529ec1))['join']('');}_0x267c7b(await _0x3cdbed());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x5452cd=>{'$graveyard'!==_0x5452cd['rootName']&&this['editor']['editing']['reconvertItem'](_0x5452cd);});}['_trackNewToCElements'](){for(const _0x1505c0 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x1505c0['type']||'tableOfContents'!==_0x1505c0['name'])return;this['_tableOfContentsElements']['add'](_0x1505c0['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x293122=this['editor']['conversion'];_0x293122['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x293122['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x84e261,{writer:_0x32c281})=>this['_createTableOfContents'](_0x32c281,!0x0)}),_0x293122['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0xb93943,{writer:_0x44715e})=>{this['_tableOfContentsElements']['add'](_0xb93943);const _0x4a697b=this['_createTableOfContents'](_0x44715e);return _0x5b1b12(_0x4a697b,_0x44715e,{'label':N(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'](_0x1b8c60,_0x1b72e0=!0x1){const {locale:_0x2f23e8}=this['editor'],_0x29c1f3=_0x1b8c60['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x1b72e0&&{'data-table-of-contents-label':N(_0x2f23e8,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x1b72e0&&_0x1b8c60['insert'](_0x1b8c60['createPositionAt'](_0x29c1f3,'end'),_0x1b8c60['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x1b8c60['createText'](N(_0x2f23e8,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x2c8758=_0x1b72e0?'':'['+N(_0x2f23e8,'Empty\x20heading')+']';let _0x32c5c2=_0x29c1f3;return this['_currentOutlineDefinitions']['forEach']((_0x306a83,_0x6c7342,_0x2634a7)=>{const _0x114841=this['editor']['model']['hasContent'](_0x306a83['modelElement'],{'ignoreWhitespaces':!0x0}),_0x24d638=_0x114841?_0x306a83['text']:_0x2c8758,_0x3eb301=_0x306a83['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0xf4e60c=_0x1b8c60['createContainerElement']('a',{'href':'#'+_0x3eb301,...!_0x1b72e0&&{'tabindex':'-1'}},[_0x1b8c60['createText'](_0x24d638)]),_0x4f25ce=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x1b8c60['setCustomProperty']('tableOfContentsHeadingIndex',_0x6c7342,_0xf4e60c);const _0x2d022b=_0x1b8c60['createContainerElement']('li',null,[_0x114841||!_0x1b72e0&&_0x4f25ce?_0xf4e60c:_0x1b8c60['createText']('')]),_0x18909a=_0x6c7342?_0x2634a7[_0x6c7342-0x1]['level']:0x0,_0x5cb790=Math['abs'](_0x306a83['level']-_0x18909a);if(_0x306a83['level']>_0x18909a){const _0x4607f9=S(_0x2d022b,_0x5cb790,_0x1b8c60);_0x1b8c60['insert'](_0x1b8c60['createPositionAt'](_0x32c5c2,'end'),_0x4607f9);}else{const _0x241844=function(_0x40ebe6,_0x3bd7d9){return _0x40ebe6['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x26114a=>_0x26114a['is']('element','ol'))[_0x3bd7d9];}(_0x32c5c2,_0x5cb790);_0x1b8c60['insert'](_0x1b8c60['createPositionAt'](_0x241844,'end'),_0x2d022b);}_0x32c5c2=_0x2d022b;}),_0x29c1f3;}['_handleScrollToHeading'](_0x3f08e8){const _0x1cc7f2=this['_currentOutlineDefinitions'][_0x3f08e8]['modelElement'];this['editor']['model']['change'](_0x5928ad=>{_0x5928ad['setSelection'](_0x1cc7f2,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x2f2112,_0x4e5a3c)=>{const _0x27dcd9=_0x4e5a3c['mapper'],_0x1f9e11=_0x27dcd9['findMappedViewAncestor'](_0x4e5a3c['viewPosition']),_0x2e9c26=_0x27dcd9['toModelElement'](_0x1f9e11);_0x2e9c26['is']('element','tableOfContents')&&(_0x4e5a3c['modelPosition']=this['editor']['model']['createPositionAt'](_0x2e9c26,0x0),_0x2f2112['stop']());};}}function S(_0x250afb,_0x22a4fa,_0x4ff7c9){return 0x1===_0x22a4fa?_0x4ff7c9['createContainerElement']('ol',null,[_0x250afb]):_0x4ff7c9['createContainerElement']('ol',null,[_0x4ff7c9['createContainerElement']('li',null,[S(_0x250afb,_0x22a4fa-0x1,_0x4ff7c9)])]);}class o extends _0xf9e912{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2aa54e=this['editor'];_0x2aa54e['ui']['componentFactory']['add']('tableOfContents',()=>{const _0xd9536e=this['_createButton'](_0x29ca7a);return _0xd9536e['tooltip']=!0x0,_0xd9536e;}),_0x2aa54e['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x1ae8da)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x533c43=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x220d40;for(const _0x2b109b in _0x533c43){const _0x530276=_0x2b109b,_0x5c2532=_0x533c43[_0x530276];if('tableOfContentsLicenseKeyValid'==_0x5c2532||'tableOfContentsLicenseKeyInvalid'==_0x5c2532||'tableOfContentsLicenseKeyExpired'==_0x5c2532||'tableOfContentsLicenseKeyDomainLimit'==_0x5c2532||'tableOfContentsLicenseKeyNotAllowed'==_0x5c2532||'tableOfContentsLicenseKeyEvaluationLimit'==_0x5c2532||'tableOfContentsLicenseKeyTrialLimit'==_0x5c2532||'tableOfContentsLicenseKeyDevelopmentLimit'==_0x5c2532||'tableOfContentsLicenseKeyUsageLimit'==_0x5c2532){delete _0x533c43[_0x530276],_0x220d40=_0x5c2532,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x220d40&&_0x533c43['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x220d40&&_0x533c43['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x220d40&&_0x533c43['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x220d40&&_0x533c43['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x220d40&&_0x533c43['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyTrialLimit'==_0x220d40&&_0x533c43['_showLicenseError']('trialLimit'),'tableOfContentsLicenseKeyDevelopmentLimit'==_0x220d40&&_0x533c43['_showLicenseError']('developmentLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x220d40&&_0x533c43['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x3b13ef){const _0xde1168=this['editor'],_0x2fae82=_0xde1168['locale'],_0x5e50f9=_0xde1168['commands']['get']('insertTableOfContents'),_0xb33a1d=new _0x3b13ef(_0x2fae82);return _0xb33a1d['set']({'label':N(_0x2fae82,'Table\x20of\x20contents'),'icon':_0x4f4aa0['tableOfContents']}),_0xb33a1d['bind']('isEnabled')['to'](_0x5e50f9,'isEnabled'),this['listenTo'](_0xb33a1d,'execute',()=>{_0xde1168['execute']('insertTableOfContents'),_0xde1168['editing']['view']['focus']();}),_0xb33a1d;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class a extends _0xf9e912{static get['requires'](){return[s,o];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as DocumentOutline,n as DocumentOutlineUI,i as DocumentOutlineUtils,y as HeadingId,a as TableOfContents,O as TableOfContentsCommand,s as TableOfContentsEditing,o as TableOfContentsUI};
|
|
23
|
+
import{Plugin as _0x165818,Command as _0x55b819}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x25102c,throttle as _0x12c20f}from'lodash-es';import{Text as _0x15d3ce,TreeWalker as _0x19a9ce}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x36d145,diffToChanges as _0x316f7a,scrollAncestorsToShowTarget as _0x2eb810,CKEditorError as _0x12473d,global as _0x46b422,Rect as _0x5189d4,uid as _0x29e87a,priorities as _0x386f59}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0xe1d912,ButtonView as _0x44c299,MenuBarMenuListItemButtonView as _0x34eb53}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x5bf8c3,toWidget as _0x5419e6}from'@ckeditor/ckeditor5-widget/dist/index.js';import{icons as _0x56b309}from'ckeditor5-collaboration/dist/index.js';function k(_0x39da81){let _0x14a667='';for(const _0x480f04 of _0x39da81['getChildren']())_0x480f04 instanceof _0x15d3ce&&(_0x14a667+=_0x480f04['data']);return _0x14a667;}class i extends _0x165818{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x58b96b=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x27804a=[];_0x58b96b['model']['document']['on']('change',_0x25102c(()=>{const _0x3bb384=_0x27804a;_0x27804a=this['_getOutlineDefinitions']();const _0x5b1760=_0x36d145(_0x3bb384,_0x27804a,(_0x1eb41c,_0x275623)=>_0x1eb41c['level']===_0x275623['level']&&_0x1eb41c['text']===_0x275623['text']&&_0x1eb41c['modelElement']===_0x275623['modelElement']),_0x8dc2d1=_0x316f7a(_0x5b1760,_0x27804a),_0x2bd146=this['_getActiveHeading'](),_0x3c3f1e=_0x27804a['findIndex'](_0x26ba8f=>_0x26ba8f['modelElement']===_0x2bd146);_0x8dc2d1['length']&&this['fire']('change',{'outlineDefinitions':_0x27804a,'activeItemIndex':_0x3c3f1e,'outlineChanges':_0x8dc2d1}),this['fire']('activeItemIndex',{'index':_0x3c3f1e});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x3e5c62=this['editor'],_0x28714a=[],_0x218395=this['_headingNames'];for(const _0x110fda of _0x3e5c62['model']['document']['getRootNames']())_0x278b4d(_0x3e5c62['model']['document']['getRoot'](_0x110fda));function _0x278b4d(_0x19a51f){for(const _0x38c15e of _0x19a51f['getChildren']())_0x38c15e['is']('element')&&(_0x218395['includes'](_0x38c15e['name'])&&_0x28714a['push']({'level':_0x218395['indexOf'](_0x38c15e['name'])+0x1,'text':k(_0x38c15e),'modelElement':_0x38c15e}),_0x278b4d(_0x38c15e));}return _0x28714a;}['_getActiveHeading'](){const _0x49d05e=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x465e8c=new _0x19a9ce({'direction':'backward','startPosition':_0x49d05e});for(const _0x33f603 of _0x465e8c)if(_0x33f603['item']['is']('element')&&this['_headingNames']['includes'](_0x33f603['item']['name']))return _0x33f603['item'];}['_getHeadingNames'](){const _0x184765=this['editor']['config']['get']('documentOutline.headings');return _0x184765||function(_0x5cf607){const _0x139e7e=_0x5cf607['config']['get']('heading.options');return _0x139e7e?_0x139e7e['reduce']((_0x460c9c,_0x613f21)=>('paragraph'!==_0x613f21['model']&&_0x460c9c['push'](_0x613f21['model']),_0x460c9c),[]):_0x5cf607['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x175c0a=this['editor'],_0x47aa5d=['h1','h2','h3','h4','h5','h6'],_0x3970ff=[];for(const _0x34a73a of _0x47aa5d){const _0x5c8d0d=_0x175c0a['editing']['view']['domConverter']['domToView'](document['createElement'](_0x34a73a)),_0x113de7=_0x175c0a['data']['toModel'](_0x5c8d0d)['getChild'](0x0);_0x113de7?.['is']('element')&&_0x3970ff['push'](_0x113de7['name']);}this['_headingNames']=_0x3970ff;}}function b(_0x2fc7ff,_0x2c2359){const t=_0x2fc7ff['t'];switch(_0x2c2359){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 _0x2c2359;}}class $ extends _0xe1d912{constructor(_0x50defb,_0xbe9768=!0x1){super(_0x50defb);const _0x5811f0=this['bindTemplate'],_0x14bdc6=_0xbe9768?'['+b(_0x50defb,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x308112=>!_0x308112),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x5811f0['to']('level',_0x1a08b6=>'ck-document-outline__item_level-'+_0x1a08b6),_0x5811f0['if']('isActive','ck-document-outline__item_active'),_0x5811f0['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x5811f0['to']('text')},'children':[{'text':_0x5811f0['to']('text',_0xdd8b23=>_0xdd8b23||_0x14bdc6)}],'on':{'click':_0x5811f0['to']('click')}});}}class I extends _0xe1d912{['items'];['showEmptyHeadingText'];['_documentOutlineContainer'];constructor(_0x2e4608,_0x52189d=!0x1,_0x551a05){super(_0x2e4608),this['showEmptyHeadingText']=_0x52189d,this['set']('activeItemIndex',-0x1),this['_documentOutlineContainer']=_0x551a05,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x5249c0,_0x4bda77,_0x54646a,_0x360970)=>{this['_setActiveItem'](_0x360970,_0x54646a);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x2e4608['contentLanguageDirection'],'data-document-outline-empty-placeholder':b(_0x2e4608,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x489f16){_0x489f16['forEach'](_0x2cbc7e=>{'insert'==_0x2cbc7e['type']?this['_insertItem'](_0x2cbc7e['index'],..._0x2cbc7e['values']):'delete'==_0x2cbc7e['type']&&this['_deleteItem'](_0x2cbc7e['index'],_0x2cbc7e['howMany']);});}['_setActiveItem'](_0xec7ea5,_0x2c1110){if(-0x1!==_0xec7ea5){const _0x344cef=this['items']['get'](_0xec7ea5);_0x344cef&&(_0x344cef['isActive']=!0x1);}-0x1!==_0x2c1110&&(this['items']['get'](_0x2c1110)['isActive']=!0x0,this['_scrollToItem'](_0x2c1110));}['_insertItem'](_0x683bea,..._0x10c894){const _0x4385b6=_0x10c894['map']((_0x15e289,_0x143342)=>{const _0x1014b6=new $(this['locale'],this['showEmptyHeadingText']);return _0x1014b6['text']=_0x15e289['text'],_0x1014b6['level']=_0x15e289['level'],_0x683bea+_0x143342===this['activeItemIndex']&&(_0x1014b6['isActive']=!0x0),_0x1014b6;});this['items']['addMany'](_0x4385b6,_0x683bea);}['_deleteItem'](_0x20d566,_0x2880e5){do{this['items']['remove'](_0x20d566);}while(--_0x2880e5);}['_handleItemClick'](_0x435739){const _0x1520ef=this['items']['getIndex'](_0x435739['source']);this['fire']('itemSelected',_0x1520ef);}['_scrollToItem'](_0x54e884){_0x2eb810(this['items']['get'](_0x54e884)['element'],0x14,this['_documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0x165818{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xac0a8d){super(_0xac0a8d),this['view']=new I(_0xac0a8d['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x12c20f(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x1e6e7f=this['editor'],_0x174713=_0x1e6e7f['plugins']['get']('DocumentOutlineUtils');let _0x22d825=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x1e6e7f['config']['get']('documentOutline.container'))throw new _0x12473d('document-outline-container-not-provided',{'editor':_0x1e6e7f});_0x1e6e7f['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x174713['on']('change',this['_handleOutlineChange']['bind'](this)),_0x174713['on']('activeItemIndex',(_0x4f3526,{index:_0x166243})=>this['_setActiveViewItem'](_0x166243)),this['view']['on']('itemSelected',(_0x58b237,_0x2a3683)=>{_0x22d825=!0x0,this['_handleItemSelected'](_0x2a3683);}),this['view']['listenTo'](_0x46b422['document'],'scroll',()=>{_0x22d825?_0x22d825=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x46b422['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x1e309f){const _0x4bb993=_0x4199c2([0x52,0x7a,0x62,0x64,0x55,0x51,0x30,0x41,0x53,0x70,0x4b,0x73,0x45,0x36,0x67,0x77,0x63,0x46,0x48,0x6d,0x78,0x49,0x58,0x4d,0x34,0x65,0x79,0x6b,0x6f,0x33,0x6c,0x5a,0x56,0x75,0x74,0x68,0x42,0x6a,0x57,0x50,0x69,0x43,0x72,0x47,0x44,0x35,0x61,0x32,0x4a,0x66,0x38,0x4e,0x59,0x4c,0x4f,0x37,0x71,0x76,0x54,0x31,0x39,0x6e]),_0x23882b=0x383848ff,_0x2b220e=0x383f1f1f^_0x23882b,_0x5abf90=window[_0x4199c2([0x44,0x61,0x74,0x65])][_0x4199c2([0x6e,0x6f,0x77])](),_0x4b0474=_0x1e309f[_0x4199c2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4dc922=new window[(_0x4199c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x551fba=>{_0x4b0474[_0x4199c2([0x6f,0x6e,0x63,0x65])](_0x4199c2([0x72,0x65,0x61,0x64,0x79]),_0x551fba);}),_0x30cae8={[_0x4199c2([0x6b,0x74,0x79])]:_0x4199c2([0x45,0x43]),[_0x4199c2([0x75,0x73,0x65])]:_0x4199c2([0x73,0x69,0x67]),[_0x4199c2([0x63,0x72,0x76])]:_0x4199c2([0x50,0x2d,0x32,0x35,0x36]),[_0x4199c2([0x78])]:_0x4199c2([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]),[_0x4199c2([0x79])]:_0x4199c2([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]),[_0x4199c2([0x61,0x6c,0x67])]:_0x4199c2([0x45,0x53,0x32,0x35,0x36])},_0x49fc46=_0x4b0474[_0x4199c2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4199c2([0x67,0x65,0x74])](_0x4199c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3a08a3(){let _0x300390,_0x5afb9a=null,_0x263a01=null;try{if(_0x49fc46==_0x4199c2([0x47,0x50,0x4c]))return _0x4199c2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x300390=_0x2a853c(),!_0x300390)return _0x4199c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x300390[_0x4199c2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x263a01=_0x356763(_0x300390[_0x4199c2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x300390[_0x4199c2([0x6a,0x74,0x69])])),await _0x1fbb55()?_0x284693()?_0x2e2081()?_0x4199c2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3e6f8c()?(_0x300390[_0x4199c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4199c2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5afb9a=_0x2ca5d3(_0x4199c2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x300390[_0x4199c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4199c2([0x74,0x72,0x69,0x61,0x6c])&&(_0x5afb9a=_0x2ca5d3(_0x4199c2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x300390[_0x4199c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4199c2([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x5afb9a=_0x2ca5d3(_0x4199c2([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x146c4d()):_0x4199c2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4199c2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4199c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x53b764){return _0x4199c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2e2081(){const _0x187a7e=[_0x4199c2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4199c2([0x74,0x72,0x69,0x61,0x6c])][_0x4199c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x300390[_0x4199c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5abf90/0x3e8:0xe10*_0x2b220e;return _0x300390[_0x4199c2([0x65,0x78,0x70])]<_0x187a7e;}function _0x284693(){const _0x5ac72f=_0x300390[_0x4199c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5ac72f&&(!!_0x5ac72f[_0x4199c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4199c2([0x2a]))||(!!_0x5ac72f[_0x4199c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4199c2([0x44,0x4f]))||!!_0x5ac72f[_0x4199c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4199c2([0x50,0x50]))));}function _0x3e6f8c(){const _0xf71041=_0x300390[_0x4199c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf71041||0x0==_0xf71041[_0x4199c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x55bc7}=new URL(window[_0x4199c2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xf71041[_0x4199c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55bc7))return!0x0;const _0x47c13d=_0x55bc7[_0x4199c2([0x73,0x70,0x6c,0x69,0x74])](_0x4199c2([0x2e]));return _0xf71041[_0x4199c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e47a4=>_0x1e47a4[_0x4199c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4199c2([0x2a])))[_0x4199c2([0x6d,0x61,0x70])](_0x1b7553=>_0x1b7553[_0x4199c2([0x73,0x70,0x6c,0x69,0x74])](_0x4199c2([0x2e])))[_0x4199c2([0x73,0x6f,0x6d,0x65])](_0x4ca97b=>_0x47c13d[_0x4199c2([0x65,0x76,0x65,0x72,0x79])]((_0x30a07f,_0x345287)=>_0x4ca97b[_0x345287]===_0x30a07f||_0x4ca97b[_0x345287]===_0x4199c2([0x2a])));}function _0x146c4d(){return _0x5afb9a&&_0x263a01?new window[(_0x4199c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x239b60,_0xb8e214)=>{_0x5afb9a[_0x4199c2([0x74,0x68,0x65,0x6e])](_0x239b60,_0xb8e214),_0x263a01[_0x4199c2([0x74,0x68,0x65,0x6e])](_0x45e5cc=>{_0x45e5cc!=_0x4199c2([0x56,0x61,0x6c,0x69,0x64])&&_0x239b60(_0x45e5cc);},_0xb8e214);}):_0x5afb9a||_0x263a01||_0x4199c2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x356763(_0x37bdef,_0x392b9d){return new window[(_0x4199c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5dfef6=>{if(_0x20981b())return _0x5dfef6(_0x4199c2([0x56,0x61,0x6c,0x69,0x64]));_0x3dc851(),_0x4b0474[_0x4199c2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4199c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3d0fc4=!0x1;const _0x58884a=_0x29e87a();function _0x948f41(_0x3c7a0e){return!!_0x3c7a0e&&(typeof _0x3c7a0e===_0x4199c2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3c7a0e===_0x4199c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3c7a0e[_0x4199c2([0x74,0x68,0x65,0x6e])]===_0x4199c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3c7a0e[_0x4199c2([0x63,0x61,0x74,0x63,0x68])]===_0x4199c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x28d11f(_0x5ec3c2){_0x3626b9(_0x5ec3c2)[_0x4199c2([0x74,0x68,0x65,0x6e])](_0x12b1e7=>{if(!_0x12b1e7||_0x12b1e7[_0x4199c2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4199c2([0x6f,0x6b]))return _0x4199c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x393893(_0x16ca37(_0x58884a+_0x392b9d))!=_0x12b1e7[_0x4199c2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4199c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4199c2([0x56,0x61,0x6c,0x69,0x64]);})[_0x4199c2([0x74,0x68,0x65,0x6e])](_0x2eb211=>(_0xafdbd(),_0x2eb211),()=>{const _0x52885f=_0x4d5113();return null==_0x52885f?(_0xafdbd(),_0x4199c2([0x56,0x61,0x6c,0x69,0x64])):_0x4199c2(_0x5abf90-_0x52885f>(0x1c34ccff^_0x23882b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4199c2([0x74,0x68,0x65,0x6e])](_0x5dfef6)[_0x4199c2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5dfef6(_0x4199c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1f5c7c=0x380ea67f^_0x23882b;function _0xafdbd(){const _0x13842b=_0x4199c2([0x6c,0x6c,0x63,0x74,0x2d])+_0x393893(_0x16ca37(_0x37bdef)),_0x281900=_0x363932(_0x393893(window[_0x4199c2([0x4d,0x61,0x74,0x68])][_0x4199c2([0x63,0x65,0x69,0x6c])](_0x5abf90/_0x1f5c7c)));window[_0x4199c2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4199c2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13842b,_0x281900);}function _0x4d5113(){const _0x4273c6=_0x4199c2([0x6c,0x6c,0x63,0x74,0x2d])+_0x393893(_0x16ca37(_0x37bdef)),_0x3b5405=window[_0x4199c2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4199c2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4273c6);return _0x3b5405?window[_0x4199c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x363932(_0x3b5405),0x10)*_0x1f5c7c:null;}function _0x3626b9(_0x446688){return new window[(_0x4199c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x43b813,_0xf92c2d)=>{_0x446688[_0x4199c2([0x74,0x68,0x65,0x6e])](_0x43b813,_0xf92c2d),window[_0x4199c2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xf92c2d,0x38399c3f^_0x23882b);});}}_0x4b0474[_0x4199c2([0x6f,0x6e])](_0x4199c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x9f02e4,_0x39c29e)=>{if(_0x39c29e[0x0]!=_0x37bdef)return _0x5dfef6(_0x4199c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x39c29e[0x1]={..._0x39c29e[0x1],[_0x4199c2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x58884a};},{[_0x4199c2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4199c2([0x68,0x69,0x67,0x68])}),_0x4b0474[_0x4199c2([0x6f,0x6e])](_0x4199c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xba23c6=>{_0x948f41(_0xba23c6[_0x4199c2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3d0fc4=!0x0,_0x28d11f(_0xba23c6[_0x4199c2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4199c2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4199c2([0x6c,0x6f,0x77])}),_0x4dc922[_0x4199c2([0x74,0x68,0x65,0x6e])](()=>{_0x3d0fc4||_0x5dfef6(_0x4199c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x20981b(){return _0x4b0474[_0x4199c2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4199c2([0x76,0x69,0x65,0x77])][_0x4199c2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4199c2([0x61,0x75,0x74,0x6f]);}function _0x3dc851(){_0x4b0474[_0x4199c2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4199c2([0x76,0x69,0x65,0x77])][_0x4199c2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4199c2([0x61,0x75,0x74,0x6f]);}}function _0x2ca5d3(_0xec88e2){const _0x584795=[new window[(_0x4199c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d08d9=>setTimeout(_0x4d08d9,0x38317633^_0x23882b)),_0x4dc922[_0x4199c2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4199c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x928b5f=>{let _0x3cd969=0x0;_0x4b0474[_0x4199c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x4199c2([0x6f,0x6e])](_0x4199c2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1228dc,_0x9a3687)=>{_0x9a3687[0x0][_0x4199c2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3cd969++,_0x3cd969==(0x38384907^_0x23882b)&&(_0x928b5f(),_0x1228dc[_0x4199c2([0x6f,0x66,0x66])]());});}))];return window[_0x4199c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4199c2([0x72,0x61,0x63,0x65])](_0x584795)[_0x4199c2([0x74,0x68,0x65,0x6e])](()=>_0xec88e2);}async function _0x11facb(){await _0x4dc922,_0x4b0474[_0x4199c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x4199c2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5ab153,_0x4b0474[_0x4199c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x4199c2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5ab153,_0x4b0474[_0x4199c2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4199c2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5104a4(_0x4fe347){const _0x24afe3=_0x1aa163();_0x4b0474[_0x24afe3]=_0x4199c2([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])+_0x4fe347,_0x4fe347!=_0x4199c2([0x56,0x61,0x6c,0x69,0x64])&&_0x11facb();}function _0x1aa163(){const _0x5d1737=window[_0x4199c2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4199c2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4199c2([0x6e,0x6f,0x77])]())[_0x4199c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4199c2([0x2e]),'');let _0x23f508=_0x4199c2([0x52]);for(let _0x32f040=0x0;_0x32f040<_0x5d1737[_0x4199c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x32f040+=0x2){let _0x4240a5=window[_0x4199c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d1737[_0x4199c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x32f040,_0x32f040+0x2));_0x4240a5>=_0x4bb993[_0x4199c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4240a5-=_0x4bb993[_0x4199c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x23f508+=_0x4bb993[_0x4240a5];}return _0x23f508;}function _0x2a853c(){const _0x2088b5=_0x49fc46[_0x4199c2([0x73,0x70,0x6c,0x69,0x74])](_0x4199c2([0x2e]));if(0x3!=_0x2088b5[_0x4199c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3a9d31(_0x2088b5[0x1]);function _0x3a9d31(_0x529014){const _0x3bb87c=_0x4e06c5(_0x529014);return _0x3bb87c&&_0x2c2f39()?_0x3bb87c:null;function _0x2c2f39(){const _0x592d7a=_0x3bb87c[_0x4199c2([0x6a,0x74,0x69])],_0x3ecf41=window[_0x4199c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x592d7a[_0x4199c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x592d7a[_0x4199c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1c00ac={..._0x3bb87c,[_0x4199c2([0x6a,0x74,0x69])]:_0x592d7a[_0x4199c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x592d7a[_0x4199c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1c00ac[_0x4199c2([0x76,0x63])],_0x16ca37(_0x1c00ac)==_0x3ecf41;}}}async function _0x1fbb55(){let _0xa2f271=!0x0;try{const _0x525842=_0x49fc46[_0x4199c2([0x73,0x70,0x6c,0x69,0x74])](_0x4199c2([0x2e])),[_0x1dd194,_0x3f77d0,_0x10f569]=_0x525842;return _0x4b2f81(_0x1dd194),await _0x3ec6b4(_0x1dd194,_0x3f77d0,_0x10f569),_0xa2f271;}catch(_0x343a61){return!0x1;}function _0x4b2f81(_0x47be41){const _0x33b830=_0x4e06c5(_0x47be41);_0x33b830&&_0x33b830[_0x4199c2([0x61,0x6c,0x67])]==_0x4199c2([0x45,0x53,0x32,0x35,0x36])||(_0xa2f271=!0x1);}async function _0x3ec6b4(_0x3a2bdf,_0x23cd97,_0x486117){const _0xf26926=window[_0x4199c2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4199c2([0x66,0x72,0x6f,0x6d])](_0x2c3eba(_0x486117),_0x5e0962=>_0x5e0962[_0x4199c2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2b5474=new window[(_0x4199c2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4199c2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3a2bdf+_0x4199c2([0x2e])+_0x23cd97),_0x26a4eb=window[_0x4199c2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4199c2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x26a4eb)return;const _0x32b04f=await _0x26a4eb[_0x4199c2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4199c2([0x6a,0x77,0x6b]),_0x30cae8,{[_0x4199c2([0x6e,0x61,0x6d,0x65])]:_0x4199c2([0x45,0x43,0x44,0x53,0x41]),[_0x4199c2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4199c2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4199c2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x26a4eb[_0x4199c2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4199c2([0x6e,0x61,0x6d,0x65])]:_0x4199c2([0x45,0x43,0x44,0x53,0x41]),[_0x4199c2([0x68,0x61,0x73,0x68])]:{[_0x4199c2([0x6e,0x61,0x6d,0x65])]:_0x4199c2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x32b04f,_0xf26926,_0x2b5474)||(_0xa2f271=!0x1);}}function _0x4e06c5(_0x5b17ab){return _0x5b17ab[_0x4199c2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4199c2([0x65,0x79]))?JSON[_0x4199c2([0x70,0x61,0x72,0x73,0x65])](_0x2c3eba(_0x5b17ab)):null;}function _0x2c3eba(_0x586ac7){return window[_0x4199c2([0x61,0x74,0x6f,0x62])](_0x586ac7[_0x4199c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4199c2([0x2b]))[_0x4199c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4199c2([0x2f])));}function _0x16ca37(_0x7491de){let _0x2d920b=0x1505;function _0xe445fc(_0x415877){for(let _0x4c926f=0x0;_0x4c926f<_0x415877[_0x4199c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c926f++){const _0x116130=_0x415877[_0x4199c2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4c926f);_0x2d920b=(_0x2d920b<<0x5)+_0x2d920b+_0x116130,_0x2d920b&=_0x2d920b;}}function _0x36a8e7(_0x1617fe){Array[_0x4199c2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1617fe)?_0x1617fe[_0x4199c2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36a8e7):_0x1617fe&&typeof _0x1617fe==_0x4199c2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4199c2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1617fe)[_0x4199c2([0x73,0x6f,0x72,0x74])]()[_0x4199c2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xcae5d,_0x175d45])=>{_0xe445fc(_0xcae5d),_0x36a8e7(_0x175d45);}):_0xe445fc(window[_0x4199c2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1617fe));}return _0x36a8e7(_0x7491de),_0x2d920b>>>0x0;}function _0x393893(_0x1b475f){return _0x1b475f[_0x4199c2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4199c2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4199c2([0x30]));}function _0x363932(_0x4d84d4){return _0x4d84d4[_0x4199c2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4199c2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4199c2([0x6a,0x6f,0x69,0x6e])]('');}function _0x5ab153(){}function _0x4199c2(_0x4a0fae){return _0x4a0fae['map'](_0x12e2b8=>String['fromCharCode'](_0x12e2b8))['join']('');}_0x5104a4(await _0x3a08a3());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x16754b,{outlineDefinitions:_0x4085c1,outlineChanges:_0x123a88}){this['_currentOutlineDefinitions']=_0x4085c1,this['view']['sync'](_0x123a88);}['_setActiveViewItem'](_0x4e626d){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x4e626d]&&(this['view']['activeItemIndex']=_0x4e626d);}['_handleItemSelected'](_0x301c89){const _0x3b90a9=this['_currentOutlineDefinitions'][_0x301c89]['modelElement'];this['editor']['model']['change'](_0x27dbd1=>{_0x27dbd1['setSelection'](_0x3b90a9,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x301c89);}['_updateActiveDefinitionOnViewportChange'](){const _0x12806a=this['editor'];let _0x27a009;for(const _0x496c94 of _0x12806a['model']['document']['getRootNames']()){const _0x830d45=_0x12806a['editing']['view']['getDomRoot'](_0x496c94),_0x25ce15=_0x830d45&&new _0x5189d4(_0x830d45)['getVisible']();if(_0x25ce15){const _0x46dcbe=new _0x5189d4(_0x46b422['window'])['getIntersection'](_0x25ce15);_0x46dcbe&&(_0x27a009=_0x46dcbe['top']+0.25*_0x46dcbe['height']);}}if(void 0x0===_0x27a009)return;const _0x1deb1a=_(_0x12806a['editing'],this['_currentOutlineDefinitions'],_0x27a009);_0x1deb1a?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x1deb1a)):this['_setActiveViewItem'](-0x1);}}function _(_0x23bf54,_0x291ad0,_0x19d48d,_0x1a34d8=0x0,_0x2d28f2=_0x291ad0['length']-0x1){const _0x53d0f1=Math['floor'](_0x1a34d8+(_0x2d28f2-_0x1a34d8)/0x2);if(_0x2d28f2>=_0x1a34d8){const _0x104e4f=_0x291ad0[_0x53d0f1],_0x2b496f=_0x23bf54['mapper']['toViewElement'](_0x104e4f['modelElement']);if(!_0x2b496f)return null;const _0x527740=_0x23bf54['view']['domConverter']['mapViewToDom'](_0x2b496f);return new _0x5189d4(_0x527740)['bottom']>_0x19d48d?_(_0x23bf54,_0x291ad0,_0x19d48d,_0x1a34d8,_0x53d0f1-0x1):_(_0x23bf54,_0x291ad0,_0x19d48d,_0x53d0f1+0x1,_0x2d28f2);}return _0x53d0f1<0x0?null:_0x291ad0[_0x53d0f1];}class u extends _0x165818{['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 _0x2d18e7=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x16cb42;for(const _0x5b5ebd in _0x2d18e7){const _0xf9e1fb=_0x5b5ebd,_0x1c8e08=_0x2d18e7[_0xf9e1fb];if('documentOutlineLicenseKeyValid'==_0x1c8e08||'documentOutlineLicenseKeyInvalid'==_0x1c8e08||'documentOutlineLicenseKeyExpired'==_0x1c8e08||'documentOutlineLicenseKeyDomainLimit'==_0x1c8e08||'documentOutlineLicenseKeyNotAllowed'==_0x1c8e08||'documentOutlineLicenseKeyEvaluationLimit'==_0x1c8e08||'documentOutlineLicenseKeyTrialLimit'==_0x1c8e08||'documentOutlineLicenseKeyDevelopmentLimit'==_0x1c8e08||'documentOutlineLicenseKeyUsageLimit'==_0x1c8e08){delete _0x2d18e7[_0xf9e1fb],_0x16cb42=_0x1c8e08,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x16cb42&&_0x2d18e7['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x16cb42&&_0x2d18e7['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x16cb42&&_0x2d18e7['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x16cb42&&_0x2d18e7['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x16cb42&&_0x2d18e7['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyTrialLimit'==_0x16cb42&&_0x2d18e7['_showLicenseError']('trialLimit'),'documentOutlineLicenseKeyDevelopmentLimit'==_0x16cb42&&_0x2d18e7['_showLicenseError']('developmentLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x16cb42&&_0x2d18e7['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class f extends _0x55b819{['execute'](){this['editor']['model']['change'](_0x5c90f5=>{this['editor']['model']['insertObject'](_0x5c90f5['createElement']('tableOfContents'));});}['refresh'](){const _0x5e23cd=this['editor']['model'],_0x29b039=_0x5e23cd['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x29b039&&_0x5e23cd['schema']['findAllowedParent'](_0x29b039,'tableOfContents'));}}class g extends _0x165818{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x1bce2e=this['editor'];if(_0x1bce2e['config']['get']('headingId.modelAttributeName'))return;(function(_0xd48934){const _0xee6d70=new Map();if(_0xd48934)return _0xd48934['forEach'](_0x3d1ece=>{'paragraph'!==_0x3d1ece['model']&&_0xee6d70['set'](_0x3d1ece['view'],_0x3d1ece['model']);}),_0xee6d70['get']('h1')||_0xee6d70['set']('h1','heading1'),_0xee6d70;return _0xee6d70;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x1eba50,_0x425d45)=>{this['_customUpcastHeadingsConversion'](_0x425d45),this['_customDataDowncastHeadingsConversion'](_0x1eba50),_0x1bce2e['model']['schema']['isRegistered'](_0x1eba50)&&_0x1bce2e['model']['schema']['extend'](_0x1eba50,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0xf5750a){this['editor']['conversion']['for']('upcast')['add'](_0x23e19e=>_0x23e19e['on']('element:'+_0xf5750a,(_0x1c2917,_0x13a53c,_0x593e2b)=>{const {consumable:_0x585670,writer:_0x98bca6}=_0x593e2b,_0x3f1c4a=_0x13a53c['viewItem']['getAttribute']('id'),_0x19a379=_0x13a53c['modelRange']['getContainedElement']();if(_0x19a379)return _0x3f1c4a&&_0x3f1c4a['length']||_0x19a379['hasAttribute']('headingId')?void(_0x585670['consume'](_0x13a53c['viewItem'],{'attributes':['id']})&&_0x98bca6['setAttribute']('headingId',_0x3f1c4a,_0x19a379)):(_0x585670['consume'](_0x13a53c['viewItem'],{'attributes':['id']}),void _0x98bca6['setAttribute']('headingId',_0x29e87a(),_0x19a379));},{'priority':_0x386f59['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0xebfbfc){this['editor']['conversion']['for']('downcast')['add'](_0x3f5334=>_0x3f5334['on']('attribute:headingId:'+_0xebfbfc,(_0x2e850e,_0x128b95,_0x526cb2)=>{if(!_0x526cb2['consumable']['consume'](_0x128b95['item'],_0x2e850e['name']))return;const _0x311fcc=_0x128b95['item']['getAttribute']('headingId'),_0x4c0401=_0x526cb2['mapper']['toViewElement'](_0x128b95['item']);_0x526cb2['writer']['setAttribute']('id',_0x311fcc,_0x4c0401);}));}['_registerHeadingIdAttributePostfixer'](){const _0x270c05=this['editor'],_0xeedab2=new Set(),_0x1f6470=new Set();function _0x3cad90(_0x252a28,_0x5deb91){const _0x16a278=_0x29e87a();return _0x1f6470['add'](_0x16a278),_0x252a28['setAttribute']('headingId',_0x16a278,_0x5deb91),_0x16a278;}function _0x50aa1f(_0x267b00,_0xdd4798){_0x267b00['removeAttribute']('headingId',_0xdd4798);}_0x270c05['model']['document']['registerPostFixer'](_0x2614b0=>{const _0x3609ad=_0x270c05['model']['document']['differ']['getChanges']();let _0x197c79=!0x1;for(const _0x3f7d15 of _0x3609ad)if('insert'==_0x3f7d15['type']&&_0x3f7d15['name']){if(_0x3f7d15['name']['match'](/heading\d/)){const _0x56cb48=_0x3f7d15['attributes']['get']('headingId');'string'==typeof _0x56cb48?_0xeedab2['has'](_0x56cb48)?(_0x3cad90(_0x2614b0,_0x3f7d15['position']['nodeAfter']),_0x197c79=!0x0):_0x1f6470['add'](_0x56cb48):(_0x3cad90(_0x2614b0,_0x3f7d15['position']['nodeAfter']),_0x197c79=!0x0);}else'string'==typeof _0x3f7d15['attributes']['get']('headingId')&&(_0x50aa1f(_0x2614b0,_0x3f7d15['position']['nodeAfter']),_0x197c79=!0x0);}else{if('remove'==_0x3f7d15['type']){const _0x3e2e8b=_0x3f7d15['attributes']['get']('headingId');'string'==typeof _0x3e2e8b&&_0xeedab2['delete'](_0x3e2e8b);}}return _0x197c79;}),_0x270c05['model']['document']['on']('change',()=>{_0x1f6470['forEach'](_0x3b132c=>_0xeedab2['add'](_0x3b132c)),_0x1f6470['clear']();});}}class s extends _0x165818{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x5bf8c3,i,g];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0xe506ef){super(_0xe506ef),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x202ab6=this['editor'],_0x5b50b2=_0x202ab6['editing']['view']['document'];_0x202ab6['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x202ab6['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x5b50b2,'click',(_0x137ad1,_0x1baa67)=>{if(!_0x1baa67['target'])return;const _0x2924d2=_0x1baa67['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x2924d2)&&(_0x1baa67['domEvent']['preventDefault'](),_0x137ad1['stop'](),this['_handleScrollToHeading'](_0x2924d2));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x202ab6['commands']['add']('insertTableOfContents',new f(_0x202ab6)),(_0x202ab6['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x4d0b1b,_0x2fb9a6)=>{this['_currentOutlineDefinitions']=_0x2fb9a6['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x202ab6['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x4820e4){const _0x365d00=_0x5ed387([0x4e,0x54,0x41,0x4b,0x79,0x30,0x37,0x56,0x42,0x63,0x58,0x59,0x62,0x39,0x55,0x4f,0x4c,0x33,0x44,0x64,0x72,0x32,0x6c,0x7a,0x78,0x74,0x6b,0x52,0x51,0x4d,0x57,0x71,0x45,0x50,0x67,0x38,0x47,0x35,0x36,0x31,0x65,0x75,0x5a,0x61,0x6d,0x6a,0x6e,0x6f,0x70,0x48,0x77,0x53,0x34,0x73,0x68,0x46,0x76,0x4a,0x43,0x49,0x66,0x69]),_0x996c51=0x4d7ce766,_0x44f86a=0x4d7bb086^_0x996c51,_0x981943=window[_0x5ed387([0x44,0x61,0x74,0x65])][_0x5ed387([0x6e,0x6f,0x77])](),_0x2023ed=_0x4820e4[_0x5ed387([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5371b0=new window[(_0x5ed387([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x259ba9=>{_0x2023ed[_0x5ed387([0x6f,0x6e,0x63,0x65])](_0x5ed387([0x72,0x65,0x61,0x64,0x79]),_0x259ba9);}),_0x58c8dd={[_0x5ed387([0x6b,0x74,0x79])]:_0x5ed387([0x45,0x43]),[_0x5ed387([0x75,0x73,0x65])]:_0x5ed387([0x73,0x69,0x67]),[_0x5ed387([0x63,0x72,0x76])]:_0x5ed387([0x50,0x2d,0x32,0x35,0x36]),[_0x5ed387([0x78])]:_0x5ed387([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]),[_0x5ed387([0x79])]:_0x5ed387([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]),[_0x5ed387([0x61,0x6c,0x67])]:_0x5ed387([0x45,0x53,0x32,0x35,0x36])},_0xbbcceb=_0x2023ed[_0x5ed387([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5ed387([0x67,0x65,0x74])](_0x5ed387([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x506e73(){let _0xc3bb70,_0x110433=null,_0x1e1702=null;try{if(_0xbbcceb==_0x5ed387([0x47,0x50,0x4c]))return _0x5ed387([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xc3bb70=_0x475078(),!_0xc3bb70)return _0x5ed387([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xc3bb70[_0x5ed387([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1e1702=_0x964083(_0xc3bb70[_0x5ed387([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xc3bb70[_0x5ed387([0x6a,0x74,0x69])])),await _0x2edcc8()?_0xc2fa9a()?_0x542230()?_0x5ed387([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x545acc()?(_0xc3bb70[_0x5ed387([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ed387([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x110433=_0x155aa2(_0x5ed387([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xc3bb70[_0x5ed387([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ed387([0x74,0x72,0x69,0x61,0x6c])&&(_0x110433=_0x155aa2(_0x5ed387([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0xc3bb70[_0x5ed387([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ed387([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x110433=_0x155aa2(_0x5ed387([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x462c36()):_0x5ed387([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5ed387([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5ed387([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x42e89b){return _0x5ed387([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x542230(){const _0x3161c0=[_0x5ed387([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5ed387([0x74,0x72,0x69,0x61,0x6c])][_0x5ed387([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc3bb70[_0x5ed387([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x981943/0x3e8:0xe10*_0x44f86a;return _0xc3bb70[_0x5ed387([0x65,0x78,0x70])]<_0x3161c0;}function _0xc2fa9a(){const _0x2be18f=_0xc3bb70[_0x5ed387([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2be18f&&(!!_0x2be18f[_0x5ed387([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ed387([0x2a]))||(!!_0x2be18f[_0x5ed387([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ed387([0x54,0x4f,0x43]))||!!_0x2be18f[_0x5ed387([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ed387([0x50,0x50]))));}function _0x545acc(){const _0x1763fa=_0xc3bb70[_0x5ed387([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1763fa||0x0==_0x1763fa[_0x5ed387([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2072bc}=new URL(window[_0x5ed387([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1763fa[_0x5ed387([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2072bc))return!0x0;const _0x49f6d3=_0x2072bc[_0x5ed387([0x73,0x70,0x6c,0x69,0x74])](_0x5ed387([0x2e]));return _0x1763fa[_0x5ed387([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3958a4=>_0x3958a4[_0x5ed387([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ed387([0x2a])))[_0x5ed387([0x6d,0x61,0x70])](_0x1a7758=>_0x1a7758[_0x5ed387([0x73,0x70,0x6c,0x69,0x74])](_0x5ed387([0x2e])))[_0x5ed387([0x73,0x6f,0x6d,0x65])](_0x408efc=>_0x49f6d3[_0x5ed387([0x65,0x76,0x65,0x72,0x79])]((_0x2f24ec,_0x237cd4)=>_0x408efc[_0x237cd4]===_0x2f24ec||_0x408efc[_0x237cd4]===_0x5ed387([0x2a])));}function _0x462c36(){return _0x110433&&_0x1e1702?new window[(_0x5ed387([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xc7c997,_0x1bf10f)=>{_0x110433[_0x5ed387([0x74,0x68,0x65,0x6e])](_0xc7c997,_0x1bf10f),_0x1e1702[_0x5ed387([0x74,0x68,0x65,0x6e])](_0x58c8a9=>{_0x58c8a9!=_0x5ed387([0x56,0x61,0x6c,0x69,0x64])&&_0xc7c997(_0x58c8a9);},_0x1bf10f);}):_0x110433||_0x1e1702||_0x5ed387([0x56,0x61,0x6c,0x69,0x64]);}}function _0x964083(_0x22ce5b,_0x204b74){return new window[(_0x5ed387([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23e464=>{if(_0x1255bf())return _0x23e464(_0x5ed387([0x56,0x61,0x6c,0x69,0x64]));_0x2dffb4(),_0x2023ed[_0x5ed387([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5ed387([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x527cbd=!0x1;const _0x49575f=_0x29e87a();function _0x8a5a94(_0x28713f){return!!_0x28713f&&(typeof _0x28713f===_0x5ed387([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x28713f===_0x5ed387([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x28713f[_0x5ed387([0x74,0x68,0x65,0x6e])]===_0x5ed387([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x28713f[_0x5ed387([0x63,0x61,0x74,0x63,0x68])]===_0x5ed387([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1ee4d1(_0x1fc272){_0x3e4708(_0x1fc272)[_0x5ed387([0x74,0x68,0x65,0x6e])](_0x3caeff=>{if(!_0x3caeff||_0x3caeff[_0x5ed387([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5ed387([0x6f,0x6b]))return _0x5ed387([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x54931c(_0x25ad14(_0x49575f+_0x204b74))!=_0x3caeff[_0x5ed387([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5ed387([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5ed387([0x56,0x61,0x6c,0x69,0x64]);})[_0x5ed387([0x74,0x68,0x65,0x6e])](_0x2f63fd=>(_0x45e86e(),_0x2f63fd),()=>{const _0xf3b2c3=_0x3b553a();return null==_0xf3b2c3?(_0x45e86e(),_0x5ed387([0x56,0x61,0x6c,0x69,0x64])):_0x5ed387(_0x981943-_0xf3b2c3>(0x69706366^_0x996c51)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5ed387([0x74,0x68,0x65,0x6e])](_0x23e464)[_0x5ed387([0x63,0x61,0x74,0x63,0x68])](()=>{_0x23e464(_0x5ed387([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4f6acc=0x4d4a09e6^_0x996c51;function _0x45e86e(){const _0x158811=_0x5ed387([0x6c,0x6c,0x63,0x74,0x2d])+_0x54931c(_0x25ad14(_0x22ce5b)),_0x3a84fb=_0x4b6fac(_0x54931c(window[_0x5ed387([0x4d,0x61,0x74,0x68])][_0x5ed387([0x63,0x65,0x69,0x6c])](_0x981943/_0x4f6acc)));window[_0x5ed387([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ed387([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x158811,_0x3a84fb);}function _0x3b553a(){const _0x1715aa=_0x5ed387([0x6c,0x6c,0x63,0x74,0x2d])+_0x54931c(_0x25ad14(_0x22ce5b)),_0x2d2813=window[_0x5ed387([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ed387([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1715aa);return _0x2d2813?window[_0x5ed387([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b6fac(_0x2d2813),0x10)*_0x4f6acc:null;}function _0x3e4708(_0xadedf3){return new window[(_0x5ed387([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e8440,_0x570f00)=>{_0xadedf3[_0x5ed387([0x74,0x68,0x65,0x6e])](_0x2e8440,_0x570f00),window[_0x5ed387([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x570f00,0x4d7d33a6^_0x996c51);});}}_0x2023ed[_0x5ed387([0x6f,0x6e])](_0x5ed387([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2fe517,_0x10a1e1)=>{if(_0x10a1e1[0x0]!=_0x22ce5b)return _0x23e464(_0x5ed387([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x10a1e1[0x1]={..._0x10a1e1[0x1],[_0x5ed387([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x49575f};},{[_0x5ed387([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ed387([0x68,0x69,0x67,0x68])}),_0x2023ed[_0x5ed387([0x6f,0x6e])](_0x5ed387([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x72454f=>{_0x8a5a94(_0x72454f[_0x5ed387([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x527cbd=!0x0,_0x1ee4d1(_0x72454f[_0x5ed387([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5ed387([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ed387([0x6c,0x6f,0x77])}),_0x5371b0[_0x5ed387([0x74,0x68,0x65,0x6e])](()=>{_0x527cbd||_0x23e464(_0x5ed387([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1255bf(){return _0x2023ed[_0x5ed387([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ed387([0x76,0x69,0x65,0x77])][_0x5ed387([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5ed387([0x61,0x75,0x74,0x6f]);}function _0x2dffb4(){_0x2023ed[_0x5ed387([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ed387([0x76,0x69,0x65,0x77])][_0x5ed387([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5ed387([0x61,0x75,0x74,0x6f]);}}function _0x155aa2(_0x3bee65){const _0x4ba0bb=[new window[(_0x5ed387([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3979e7=>setTimeout(_0x3979e7,0x4d75d9aa^_0x996c51)),_0x5371b0[_0x5ed387([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5ed387([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34066e=>{let _0x4f6d1d=0x0;_0x2023ed[_0x5ed387([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ed387([0x6f,0x6e])](_0x5ed387([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1bd2de,_0x1fed1a)=>{_0x1fed1a[0x0][_0x5ed387([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4f6d1d++,_0x4f6d1d==(0x4d7ce69e^_0x996c51)&&(_0x34066e(),_0x1bd2de[_0x5ed387([0x6f,0x66,0x66])]());});}))];return window[_0x5ed387([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5ed387([0x72,0x61,0x63,0x65])](_0x4ba0bb)[_0x5ed387([0x74,0x68,0x65,0x6e])](()=>_0x3bee65);}async function _0x195605(){await _0x5371b0,_0x2023ed[_0x5ed387([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ed387([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x10038e,_0x2023ed[_0x5ed387([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ed387([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x10038e,_0x2023ed[_0x5ed387([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5ed387([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x439bf2(_0x116ba5){const _0x3c3442=_0x6d8376();_0x2023ed[_0x3c3442]=_0x5ed387([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])+_0x116ba5,_0x116ba5!=_0x5ed387([0x56,0x61,0x6c,0x69,0x64])&&_0x195605();}function _0x6d8376(){const _0x50de36=window[_0x5ed387([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5ed387([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5ed387([0x6e,0x6f,0x77])]())[_0x5ed387([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5ed387([0x2e]),'');let _0x150792=_0x5ed387([0x4e]);for(let _0x207dda=0x0;_0x207dda<_0x50de36[_0x5ed387([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x207dda+=0x2){let _0x591302=window[_0x5ed387([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50de36[_0x5ed387([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x207dda,_0x207dda+0x2));_0x591302>=_0x365d00[_0x5ed387([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x591302-=_0x365d00[_0x5ed387([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x150792+=_0x365d00[_0x591302];}return _0x150792;}function _0x475078(){const _0x43f7e9=_0xbbcceb[_0x5ed387([0x73,0x70,0x6c,0x69,0x74])](_0x5ed387([0x2e]));if(0x3!=_0x43f7e9[_0x5ed387([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x189528(_0x43f7e9[0x1]);function _0x189528(_0x1d2f0e){const _0x4ebd48=_0x102b4a(_0x1d2f0e);return _0x4ebd48&&_0x301696()?_0x4ebd48:null;function _0x301696(){const _0x5e2290=_0x4ebd48[_0x5ed387([0x6a,0x74,0x69])],_0x4bc1e4=window[_0x5ed387([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e2290[_0x5ed387([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e2290[_0x5ed387([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x522d66={..._0x4ebd48,[_0x5ed387([0x6a,0x74,0x69])]:_0x5e2290[_0x5ed387([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5e2290[_0x5ed387([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x522d66[_0x5ed387([0x76,0x63])],_0x25ad14(_0x522d66)==_0x4bc1e4;}}}async function _0x2edcc8(){let _0x37fa81=!0x0;try{const _0x31c332=_0xbbcceb[_0x5ed387([0x73,0x70,0x6c,0x69,0x74])](_0x5ed387([0x2e])),[_0x3f50d4,_0x5ee8ec,_0x4315c2]=_0x31c332;return _0xcf928c(_0x3f50d4),await _0x2c47e7(_0x3f50d4,_0x5ee8ec,_0x4315c2),_0x37fa81;}catch(_0x516903){return!0x1;}function _0xcf928c(_0x583dd4){const _0x1691ef=_0x102b4a(_0x583dd4);_0x1691ef&&_0x1691ef[_0x5ed387([0x61,0x6c,0x67])]==_0x5ed387([0x45,0x53,0x32,0x35,0x36])||(_0x37fa81=!0x1);}async function _0x2c47e7(_0x581f37,_0x58eacd,_0x265d77){const _0x4f7a4a=window[_0x5ed387([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5ed387([0x66,0x72,0x6f,0x6d])](_0x3b7ead(_0x265d77),_0x5b0bc6=>_0x5b0bc6[_0x5ed387([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x22af05=new window[(_0x5ed387([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5ed387([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x581f37+_0x5ed387([0x2e])+_0x58eacd),_0x4e4994=window[_0x5ed387([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5ed387([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4e4994)return;const _0x41a092=await _0x4e4994[_0x5ed387([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5ed387([0x6a,0x77,0x6b]),_0x58c8dd,{[_0x5ed387([0x6e,0x61,0x6d,0x65])]:_0x5ed387([0x45,0x43,0x44,0x53,0x41]),[_0x5ed387([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5ed387([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5ed387([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4e4994[_0x5ed387([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5ed387([0x6e,0x61,0x6d,0x65])]:_0x5ed387([0x45,0x43,0x44,0x53,0x41]),[_0x5ed387([0x68,0x61,0x73,0x68])]:{[_0x5ed387([0x6e,0x61,0x6d,0x65])]:_0x5ed387([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x41a092,_0x4f7a4a,_0x22af05)||(_0x37fa81=!0x1);}}function _0x102b4a(_0x180f12){return _0x180f12[_0x5ed387([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5ed387([0x65,0x79]))?JSON[_0x5ed387([0x70,0x61,0x72,0x73,0x65])](_0x3b7ead(_0x180f12)):null;}function _0x3b7ead(_0x301969){return window[_0x5ed387([0x61,0x74,0x6f,0x62])](_0x301969[_0x5ed387([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5ed387([0x2b]))[_0x5ed387([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5ed387([0x2f])));}function _0x25ad14(_0x5b7524){let _0x3f5e5c=0x1505;function _0x152502(_0x2facfb){for(let _0x50d32b=0x0;_0x50d32b<_0x2facfb[_0x5ed387([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50d32b++){const _0x272bd8=_0x2facfb[_0x5ed387([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x50d32b);_0x3f5e5c=(_0x3f5e5c<<0x5)+_0x3f5e5c+_0x272bd8,_0x3f5e5c&=_0x3f5e5c;}}function _0x1be102(_0x478d32){Array[_0x5ed387([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x478d32)?_0x478d32[_0x5ed387([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1be102):_0x478d32&&typeof _0x478d32==_0x5ed387([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5ed387([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x478d32)[_0x5ed387([0x73,0x6f,0x72,0x74])]()[_0x5ed387([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x398763,_0x4623e5])=>{_0x152502(_0x398763),_0x1be102(_0x4623e5);}):_0x152502(window[_0x5ed387([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x478d32));}return _0x1be102(_0x5b7524),_0x3f5e5c>>>0x0;}function _0x54931c(_0x397479){return _0x397479[_0x5ed387([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5ed387([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5ed387([0x30]));}function _0x4b6fac(_0x310c22){return _0x310c22[_0x5ed387([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5ed387([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5ed387([0x6a,0x6f,0x69,0x6e])]('');}function _0x10038e(){}function _0x5ed387(_0x109879){return _0x109879['map'](_0x558fed=>String['fromCharCode'](_0x558fed))['join']('');}_0x439bf2(await _0x506e73());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x26a397=>{'$graveyard'!==_0x26a397['rootName']&&this['editor']['editing']['reconvertItem'](_0x26a397);});}['_trackNewToCElements'](){for(const _0x48d20e of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x48d20e['type']||'tableOfContents'!==_0x48d20e['name'])return;this['_tableOfContentsElements']['add'](_0x48d20e['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x31655f=this['editor']['conversion'];_0x31655f['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x31655f['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x223655,{writer:_0x55d918})=>this['_createTableOfContents'](_0x55d918,!0x0)}),_0x31655f['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x2c70be,{writer:_0x2eb522})=>{this['_tableOfContentsElements']['add'](_0x2c70be);const _0x8c8948=this['_createTableOfContents'](_0x2eb522);return _0x5419e6(_0x8c8948,_0x2eb522,{'label':b(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'](_0x3177b2,_0x16bab1=!0x1){const {locale:_0x16cbad}=this['editor'],_0xaf677c=_0x3177b2['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x16bab1&&{'data-table-of-contents-label':b(_0x16cbad,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x16bab1&&_0x3177b2['insert'](_0x3177b2['createPositionAt'](_0xaf677c,'end'),_0x3177b2['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x3177b2['createText'](b(_0x16cbad,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x1a644a=_0x16bab1?'':'['+b(_0x16cbad,'Empty\x20heading')+']';let _0x481a6b=_0xaf677c;return this['_currentOutlineDefinitions']['forEach']((_0x1454b0,_0x35f8b9,_0x41c57e)=>{const _0x12d9dc=this['editor']['model']['hasContent'](_0x1454b0['modelElement'],{'ignoreWhitespaces':!0x0}),_0x117dea=_0x12d9dc?_0x1454b0['text']:_0x1a644a,_0x178bb5=_0x1454b0['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x1ca0fe=_0x3177b2['createContainerElement']('a',{'href':'#'+_0x178bb5,...!_0x16bab1&&{'tabindex':'-1'}},[_0x3177b2['createText'](_0x117dea)]),_0x1bccd6=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x3177b2['setCustomProperty']('tableOfContentsHeadingIndex',_0x35f8b9,_0x1ca0fe);const _0x31a62a=_0x3177b2['createContainerElement']('li',null,[_0x12d9dc||!_0x16bab1&&_0x1bccd6?_0x1ca0fe:_0x3177b2['createText']('')]),_0x6ec7fa=_0x35f8b9?_0x41c57e[_0x35f8b9-0x1]['level']:0x0,_0x5a2387=Math['abs'](_0x1454b0['level']-_0x6ec7fa);if(_0x1454b0['level']>_0x6ec7fa){const _0x177e3b=p(_0x31a62a,_0x5a2387,_0x3177b2);_0x3177b2['insert'](_0x3177b2['createPositionAt'](_0x481a6b,'end'),_0x177e3b);}else{const _0x4d26e2=function(_0x2d0c93,_0x3c5e5f){return _0x2d0c93['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x225d3b=>_0x225d3b['is']('element','ol'))[_0x3c5e5f];}(_0x481a6b,_0x5a2387);_0x3177b2['insert'](_0x3177b2['createPositionAt'](_0x4d26e2,'end'),_0x31a62a);}_0x481a6b=_0x31a62a;}),_0xaf677c;}['_handleScrollToHeading'](_0x50d72f){const _0x1684b1=this['_currentOutlineDefinitions'][_0x50d72f]['modelElement'];this['editor']['model']['change'](_0x2ef32b=>{_0x2ef32b['setSelection'](_0x1684b1,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x359b18,_0x46165e)=>{const _0x4f64e2=_0x46165e['mapper'],_0x34444c=_0x4f64e2['findMappedViewAncestor'](_0x46165e['viewPosition']),_0x2de65e=_0x4f64e2['toModelElement'](_0x34444c);_0x2de65e['is']('element','tableOfContents')&&(_0x46165e['modelPosition']=this['editor']['model']['createPositionAt'](_0x2de65e,0x0),_0x359b18['stop']());};}}function p(_0x290f09,_0x56d095,_0x19628e){return 0x1===_0x56d095?_0x19628e['createContainerElement']('ol',null,[_0x290f09]):_0x19628e['createContainerElement']('ol',null,[_0x19628e['createContainerElement']('li',null,[p(_0x290f09,_0x56d095-0x1,_0x19628e)])]);}class o extends _0x165818{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x9b1fbe=this['editor'];_0x9b1fbe['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x554ee1=this['_createButton'](_0x44c299);return _0x554ee1['tooltip']=!0x0,_0x554ee1;}),_0x9b1fbe['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x34eb53)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x536586=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4dd830;for(const _0x29972d in _0x536586){const _0x45e7c5=_0x29972d,_0x3e3d5f=_0x536586[_0x45e7c5];if('tableOfContentsLicenseKeyValid'==_0x3e3d5f||'tableOfContentsLicenseKeyInvalid'==_0x3e3d5f||'tableOfContentsLicenseKeyExpired'==_0x3e3d5f||'tableOfContentsLicenseKeyDomainLimit'==_0x3e3d5f||'tableOfContentsLicenseKeyNotAllowed'==_0x3e3d5f||'tableOfContentsLicenseKeyEvaluationLimit'==_0x3e3d5f||'tableOfContentsLicenseKeyTrialLimit'==_0x3e3d5f||'tableOfContentsLicenseKeyDevelopmentLimit'==_0x3e3d5f||'tableOfContentsLicenseKeyUsageLimit'==_0x3e3d5f){delete _0x536586[_0x45e7c5],_0x4dd830=_0x3e3d5f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x4dd830&&_0x536586['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x4dd830&&_0x536586['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x4dd830&&_0x536586['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x4dd830&&_0x536586['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x4dd830&&_0x536586['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyTrialLimit'==_0x4dd830&&_0x536586['_showLicenseError']('trialLimit'),'tableOfContentsLicenseKeyDevelopmentLimit'==_0x4dd830&&_0x536586['_showLicenseError']('developmentLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x4dd830&&_0x536586['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x4e1fc7){const _0x49a662=this['editor'],_0x259bcf=_0x49a662['locale'],_0x22dcb8=_0x49a662['commands']['get']('insertTableOfContents'),_0x10529d=new _0x4e1fc7(_0x259bcf);return _0x10529d['set']({'label':b(_0x259bcf,'Table\x20of\x20contents'),'icon':_0x56b309['tableOfContents']}),_0x10529d['bind']('isEnabled')['to'](_0x22dcb8,'isEnabled'),this['listenTo'](_0x10529d,'execute',()=>{_0x49a662['execute']('insertTableOfContents'),_0x49a662['editing']['view']['focus']();}),_0x10529d;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class a extends _0x165818{static get['requires'](){return[s,o];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as DocumentOutline,n as DocumentOutlineUI,i as DocumentOutlineUtils,g as HeadingId,a as TableOfContents,f 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": "44.0.0-alpha.
|
|
3
|
+
"version": "44.0.0-alpha.5",
|
|
4
4
|
"description": "Document outline feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "44.0.0-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "44.0.0-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-ui": "44.0.0-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-utils": "44.0.0-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-widget": "44.0.0-alpha.
|
|
21
|
-
"ckeditor5": "44.0.0-alpha.
|
|
22
|
-
"ckeditor5-collaboration": "44.0.0-alpha.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "44.0.0-alpha.5",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "44.0.0-alpha.5",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "44.0.0-alpha.5",
|
|
19
|
+
"@ckeditor/ckeditor5-utils": "44.0.0-alpha.5",
|
|
20
|
+
"@ckeditor/ckeditor5-widget": "44.0.0-alpha.5",
|
|
21
|
+
"ckeditor5": "44.0.0-alpha.5",
|
|
22
|
+
"ckeditor5-collaboration": "44.0.0-alpha.5",
|
|
23
23
|
"lodash-es": "4.17.21"
|
|
24
24
|
},
|
|
25
25
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x127605=_0x849f;(function(_0x2b9671,_0x234315){const _0x39f629=_0x849f,_0x265a92=_0x2b9671();while(!![]){try{const _0x2e0d7c=-parseInt(_0x39f629(0x137))/0x1*(-parseInt(_0x39f629(0xfc))/0x2)+parseInt(_0x39f629(0x108))/0x3+-parseInt(_0x39f629(0x11e))/0x4+parseInt(_0x39f629(0x12b))/0x5+parseInt(_0x39f629(0x12e))/0x6*(parseInt(_0x39f629(0x113))/0x7)+-parseInt(_0x39f629(0x10d))/0x8+parseInt(_0x39f629(0x12f))/0x9*(parseInt(_0x39f629(0xfa))/0xa);if(_0x2e0d7c===_0x234315)break;else _0x265a92['push'](_0x265a92['shift']());}catch(_0x512db3){_0x265a92['push'](_0x265a92['shift']());}}}(_0x1e36,0xeab53));import{Plugin as _0x266b44}from'ckeditor5/src/core.js';import{CKEditorError as _0x5c0a69,global as _0x42d4e5,Rect as _0x53c9a6,uid as _0x393776}from'ckeditor5/src/utils.js';import _0x1d6b63 from'./ui/documentoutlineview.js';function _0x849f(_0x2a2385,_0x152cfb){const _0x1e3663=_0x1e36();return _0x849f=function(_0x849f7d,_0x19a1c8){_0x849f7d=_0x849f7d-0xf5;let _0x64f5fa=_0x1e3663[_0x849f7d];return _0x64f5fa;},_0x849f(_0x2a2385,_0x152cfb);}import{throttle as _0x139ebe}from'lodash-es';import'../../theme/documentoutline.css';function _0x1e36(){const _0x31282e=['focusTracker','floor','window','init','join','_updateActiveDefinitionFromViewportThrottled','document','mapViewToDom','DocumentOutlineUtils','locale','add','32300vufPHZ','getIntersection','2VjyOhu','map','_setActiveViewItem','mapper','isPremiumPlugin','editing','render','document-outline-container-not-provided','resize','model','scroll','getVisible','1255536RXBiEL','listenTo','setSelection','bind','_handleItemSelected','4969456AHVLIx','DocumentOutlineUI','sync','isOfficialPlugin','scrollToTheSelection','modelElement','203fYhnuS','element','focus','destroy','height','getDomRoot','getRootNames','href','get','_handleOutlineChange','documentOutline.showEmptyHeadings','3292404jKXmEh','activeItemIndex','fromCharCode','appendChild','indexOf','afterInit','editor','_updateActiveDefinitionOnViewportChange','cancel','bottom','documentOutline.container','top','_currentOutlineDefinitions','3430750jozNOl','itemSelected','view','43404fnqcRk','99wwJpiz','change','config','plugins','domConverter','toViewElement','length','pluginName','1055668QmxVLL'];_0x1e36=function(){return _0x31282e;};return _0x1e36();}export default class n extends _0x266b44{static get[_0x127605(0x136)](){const _0xcbdb44=_0x127605;return _0xcbdb44(0x10e);}static get[_0x127605(0x110)](){return!0x0;}static get[_0x127605(0x100)](){return!0x0;}constructor(_0x17fce0){const _0x14ef37=_0x127605;super(_0x17fce0),this[_0x14ef37(0x12d)]=new _0x1d6b63(_0x17fce0[_0x14ef37(0xf8)],this[_0x14ef37(0x124)][_0x14ef37(0x131)][_0x14ef37(0x11b)](_0x14ef37(0x11d)),this[_0x14ef37(0x124)][_0x14ef37(0x131)][_0x14ef37(0x11b)](_0x14ef37(0x128))),this[_0x14ef37(0x12a)]=[],this[_0x14ef37(0x13d)]=_0x139ebe(this[_0x14ef37(0x125)][_0x14ef37(0x10b)](this),0x64);}[_0x127605(0x13b)](){const _0x303f14=_0x127605,_0x5a5c9f=this[_0x303f14(0x124)],_0x3da24c=_0x5a5c9f[_0x303f14(0x132)][_0x303f14(0x11b)](_0x303f14(0xf7));let _0x165c13=!0x1;if(this[_0x303f14(0x12d)][_0x303f14(0x102)](),this[_0x303f14(0x124)]['ui'][_0x303f14(0x138)][_0x303f14(0xf9)](this[_0x303f14(0x12d)][_0x303f14(0x114)]),!_0x5a5c9f[_0x303f14(0x131)][_0x303f14(0x11b)](_0x303f14(0x128)))throw new _0x5c0a69(_0x303f14(0x103),{'editor':_0x5a5c9f});_0x5a5c9f[_0x303f14(0x131)][_0x303f14(0x11b)](_0x303f14(0x128))[_0x303f14(0x121)](this[_0x303f14(0x12d)][_0x303f14(0x114)]),_0x3da24c['on'](_0x303f14(0x130),this[_0x303f14(0x11c)][_0x303f14(0x10b)](this)),_0x3da24c['on'](_0x303f14(0x11f),(_0x3ae991,{index:_0x250e81})=>this[_0x303f14(0xfe)](_0x250e81)),this[_0x303f14(0x12d)]['on'](_0x303f14(0x12c),(_0x4947df,_0x29c252)=>{const _0x2e897d=_0x303f14;_0x165c13=!0x0,this[_0x2e897d(0x10c)](_0x29c252);}),this[_0x303f14(0x12d)][_0x303f14(0x109)](_0x42d4e5[_0x303f14(0xf5)],_0x303f14(0x106),()=>{const _0x28a6f4=_0x303f14;_0x165c13?_0x165c13=!0x1:this[_0x28a6f4(0x13d)]();},{'useCapture':!0x0}),this[_0x303f14(0x12d)][_0x303f14(0x109)](_0x42d4e5[_0x303f14(0x13a)],_0x303f14(0x104),this[_0x303f14(0x13d)],{'useCapture':!0x0});}[_0x127605(0x123)](){!async function(_0x4d65eb){const _0x482a8a=_0x3f6a62([0x39,0x4b,0x6f,0x5a,0x57,0x59,0x6b,0x4f,0x30,0x49,0x77,0x62,0x54,0x6d,0x36,0x41,0x56,0x4a,0x66,0x73,0x43,0x6e,0x69,0x51,0x76,0x46,0x53,0x4c,0x33,0x4e,0x78,0x50,0x34,0x67,0x6c,0x79,0x48,0x52,0x6a,0x65,0x37,0x58,0x38,0x31,0x42,0x47,0x35,0x74,0x61,0x63,0x68,0x70,0x32,0x7a,0x44,0x71,0x45,0x55,0x75,0x4d,0x64,0x72]),_0x45ea49=0x2ed4e678,_0x49ac11=0x2ed3b1b0^_0x45ea49,_0x535e44=window[_0x3f6a62([0x44,0x61,0x74,0x65])][_0x3f6a62([0x6e,0x6f,0x77])](),_0x15b808=_0x4d65eb[_0x3f6a62([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x576b51=new window[(_0x3f6a62([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x122ff9=>{_0x15b808[_0x3f6a62([0x6f,0x6e,0x63,0x65])](_0x3f6a62([0x72,0x65,0x61,0x64,0x79]),_0x122ff9);}),_0x2dbbcf={[_0x3f6a62([0x6b,0x74,0x79])]:_0x3f6a62([0x45,0x43]),[_0x3f6a62([0x75,0x73,0x65])]:_0x3f6a62([0x73,0x69,0x67]),[_0x3f6a62([0x63,0x72,0x76])]:_0x3f6a62([0x50,0x2d,0x32,0x35,0x36]),[_0x3f6a62([0x78])]:_0x3f6a62([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]),[_0x3f6a62([0x79])]:_0x3f6a62([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]),[_0x3f6a62([0x61,0x6c,0x67])]:_0x3f6a62([0x45,0x53,0x32,0x35,0x36])},_0x3631c5=_0x15b808[_0x3f6a62([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3f6a62([0x67,0x65,0x74])](_0x3f6a62([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4b0d75(){let _0x2e7b1d,_0x5c210d=null,_0x93c7ee=null;try{if(_0x3631c5==_0x3f6a62([0x47,0x50,0x4c]))return _0x3f6a62([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2e7b1d=_0x1d6098(),!_0x2e7b1d)return _0x3f6a62([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2e7b1d[_0x3f6a62([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x93c7ee=_0x21e6e2(_0x2e7b1d[_0x3f6a62([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2e7b1d[_0x3f6a62([0x6a,0x74,0x69])])),await _0x26ca6a()?_0xdf707d()?_0x4513ae()?_0x3f6a62([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x27175a()?(_0x2e7b1d[_0x3f6a62([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3f6a62([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5c210d=_0x25f782(_0x3f6a62([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2e7b1d[_0x3f6a62([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3f6a62([0x74,0x72,0x69,0x61,0x6c])&&(_0x5c210d=_0x25f782(_0x3f6a62([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x2e7b1d[_0x3f6a62([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3f6a62([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x5c210d=_0x25f782(_0x3f6a62([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5a0e67()):_0x3f6a62([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3f6a62([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3f6a62([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x9bfee2){return _0x3f6a62([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4513ae(){const _0x189b88=[_0x3f6a62([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3f6a62([0x74,0x72,0x69,0x61,0x6c])][_0x3f6a62([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e7b1d[_0x3f6a62([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x535e44/0x3e8:0xe10*_0x49ac11;return _0x2e7b1d[_0x3f6a62([0x65,0x78,0x70])]<_0x189b88;}function _0xdf707d(){const _0x24d24a=_0x2e7b1d[_0x3f6a62([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x24d24a&&(!!_0x24d24a[_0x3f6a62([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f6a62([0x2a]))||(!!_0x24d24a[_0x3f6a62([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f6a62([0x44,0x4f]))||!!_0x24d24a[_0x3f6a62([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f6a62([0x50,0x50]))));}function _0x27175a(){const _0x2367fc=_0x849f,_0x524034=_0x2e7b1d[_0x3f6a62([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x524034||0x0==_0x524034[_0x3f6a62([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x181833}=new URL(window[_0x3f6a62([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2367fc(0x11a)]);if(_0x524034[_0x3f6a62([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x181833))return!0x0;const _0x3438d1=_0x181833[_0x3f6a62([0x73,0x70,0x6c,0x69,0x74])](_0x3f6a62([0x2e]));return _0x524034[_0x3f6a62([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x264048=>_0x264048[_0x3f6a62([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f6a62([0x2a])))[_0x3f6a62([0x6d,0x61,0x70])](_0x36d5c8=>_0x36d5c8[_0x3f6a62([0x73,0x70,0x6c,0x69,0x74])](_0x3f6a62([0x2e])))[_0x3f6a62([0x73,0x6f,0x6d,0x65])](_0x54add4=>_0x3438d1[_0x3f6a62([0x65,0x76,0x65,0x72,0x79])]((_0x16b1f9,_0xa8fb20)=>_0x54add4[_0xa8fb20]===_0x16b1f9||_0x54add4[_0xa8fb20]===_0x3f6a62([0x2a])));}function _0x5a0e67(){return _0x5c210d&&_0x93c7ee?new window[(_0x3f6a62([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5352ec,_0x437f2a)=>{_0x5c210d[_0x3f6a62([0x74,0x68,0x65,0x6e])](_0x5352ec,_0x437f2a),_0x93c7ee[_0x3f6a62([0x74,0x68,0x65,0x6e])](_0x165918=>{_0x165918!=_0x3f6a62([0x56,0x61,0x6c,0x69,0x64])&&_0x5352ec(_0x165918);},_0x437f2a);}):_0x5c210d||_0x93c7ee||_0x3f6a62([0x56,0x61,0x6c,0x69,0x64]);}}function _0x21e6e2(_0x4cd756,_0x935b6){return new window[(_0x3f6a62([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1fdc6e=>{if(_0x43c2b3())return _0x1fdc6e(_0x3f6a62([0x56,0x61,0x6c,0x69,0x64]));_0x4aadae(),_0x15b808[_0x3f6a62([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3f6a62([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1eac1f=!0x1;const _0x5a6317=_0x393776();function _0x5c3379(_0xaa20a0){return!!_0xaa20a0&&(typeof _0xaa20a0===_0x3f6a62([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xaa20a0===_0x3f6a62([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xaa20a0[_0x3f6a62([0x74,0x68,0x65,0x6e])]===_0x3f6a62([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xaa20a0[_0x3f6a62([0x63,0x61,0x74,0x63,0x68])]===_0x3f6a62([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4024bd(_0x543a97){_0x381529(_0x543a97)[_0x3f6a62([0x74,0x68,0x65,0x6e])](_0x21776c=>{if(!_0x21776c||_0x21776c[_0x3f6a62([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3f6a62([0x6f,0x6b]))return _0x3f6a62([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2ada1d(_0x31acb7(_0x5a6317+_0x935b6))!=_0x21776c[_0x3f6a62([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3f6a62([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3f6a62([0x56,0x61,0x6c,0x69,0x64]);})[_0x3f6a62([0x74,0x68,0x65,0x6e])](_0x221c64=>(_0x27aabf(),_0x221c64),()=>{const _0x5c8484=_0x161365();return null==_0x5c8484?(_0x27aabf(),_0x3f6a62([0x56,0x61,0x6c,0x69,0x64])):_0x3f6a62(_0x535e44-_0x5c8484>(0xad86278^_0x45ea49)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3f6a62([0x74,0x68,0x65,0x6e])](_0x1fdc6e)[_0x3f6a62([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1fdc6e(_0x3f6a62([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x53bec2=0x2ee208f8^_0x45ea49;function _0x27aabf(){const _0x5beccd=_0x3f6a62([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ada1d(_0x31acb7(_0x4cd756)),_0x179b79=_0x22e5d7(_0x2ada1d(window[_0x3f6a62([0x4d,0x61,0x74,0x68])][_0x3f6a62([0x63,0x65,0x69,0x6c])](_0x535e44/_0x53bec2)));window[_0x3f6a62([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3f6a62([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5beccd,_0x179b79);}function _0x161365(){const _0x3a4fd3=_0x3f6a62([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ada1d(_0x31acb7(_0x4cd756)),_0x1e3134=window[_0x3f6a62([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3f6a62([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a4fd3);return _0x1e3134?window[_0x3f6a62([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22e5d7(_0x1e3134),0x10)*_0x53bec2:null;}function _0x381529(_0x4cf523){return new window[(_0x3f6a62([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5049d7,_0x5683ea)=>{_0x4cf523[_0x3f6a62([0x74,0x68,0x65,0x6e])](_0x5049d7,_0x5683ea),window[_0x3f6a62([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5683ea,0x2ed532b8^_0x45ea49);});}}_0x15b808[_0x3f6a62([0x6f,0x6e])](_0x3f6a62([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xebce4d,_0x3c3ca8)=>{if(_0x3c3ca8[0x0]!=_0x4cd756)return _0x1fdc6e(_0x3f6a62([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3c3ca8[0x1]={..._0x3c3ca8[0x1],[_0x3f6a62([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5a6317};},{[_0x3f6a62([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3f6a62([0x68,0x69,0x67,0x68])}),_0x15b808[_0x3f6a62([0x6f,0x6e])](_0x3f6a62([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3602ba=>{_0x5c3379(_0x3602ba[_0x3f6a62([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1eac1f=!0x0,_0x4024bd(_0x3602ba[_0x3f6a62([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3f6a62([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3f6a62([0x6c,0x6f,0x77])}),_0x576b51[_0x3f6a62([0x74,0x68,0x65,0x6e])](()=>{_0x1eac1f||_0x1fdc6e(_0x3f6a62([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x43c2b3(){return _0x15b808[_0x3f6a62([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3f6a62([0x76,0x69,0x65,0x77])][_0x3f6a62([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3f6a62([0x61,0x75,0x74,0x6f]);}function _0x4aadae(){_0x15b808[_0x3f6a62([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3f6a62([0x76,0x69,0x65,0x77])][_0x3f6a62([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3f6a62([0x61,0x75,0x74,0x6f]);}}function _0x25f782(_0x5583d9){const _0x5a6931=[new window[(_0x3f6a62([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1798e4=>setTimeout(_0x1798e4,0x2eddd8b4^_0x45ea49)),_0x576b51[_0x3f6a62([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3f6a62([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4daffb=>{let _0x5d336d=0x0;_0x15b808[_0x3f6a62([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f6a62([0x6f,0x6e])](_0x3f6a62([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4efc57,_0x22fe5a)=>{_0x22fe5a[0x0][_0x3f6a62([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5d336d++,_0x5d336d==(0x2ed4e780^_0x45ea49)&&(_0x4daffb(),_0x4efc57[_0x3f6a62([0x6f,0x66,0x66])]());});}))];return window[_0x3f6a62([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3f6a62([0x72,0x61,0x63,0x65])](_0x5a6931)[_0x3f6a62([0x74,0x68,0x65,0x6e])](()=>_0x5583d9);}async function _0x3e1b2f(){await _0x576b51,_0x15b808[_0x3f6a62([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f6a62([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x45036c,_0x15b808[_0x3f6a62([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f6a62([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x45036c,_0x15b808[_0x3f6a62([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3f6a62([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4edd76(_0x2eb85f){const _0x3ddf25=_0x14d54c();_0x15b808[_0x3ddf25]=_0x3f6a62([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])+_0x2eb85f,_0x2eb85f!=_0x3f6a62([0x56,0x61,0x6c,0x69,0x64])&&_0x3e1b2f();}function _0x14d54c(){const _0x3922a7=window[_0x3f6a62([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3f6a62([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3f6a62([0x6e,0x6f,0x77])]())[_0x3f6a62([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3f6a62([0x2e]),'');let _0x16ddd9=_0x3f6a62([0x4b]);for(let _0xc60d51=0x0;_0xc60d51<_0x3922a7[_0x3f6a62([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xc60d51+=0x2){let _0x1693f2=window[_0x3f6a62([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3922a7[_0x3f6a62([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc60d51,_0xc60d51+0x2));_0x1693f2>=_0x482a8a[_0x3f6a62([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1693f2-=_0x482a8a[_0x3f6a62([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x16ddd9+=_0x482a8a[_0x1693f2];}return _0x16ddd9;}function _0x1d6098(){const _0x287064=_0x3631c5[_0x3f6a62([0x73,0x70,0x6c,0x69,0x74])](_0x3f6a62([0x2e]));if(0x3!=_0x287064[_0x3f6a62([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4af425(_0x287064[0x1]);function _0x4af425(_0x3c104d){const _0x27d2e2=_0x1e0b1c(_0x3c104d);return _0x27d2e2&&_0x10311a()?_0x27d2e2:null;function _0x10311a(){const _0x2bfa51=_0x27d2e2[_0x3f6a62([0x6a,0x74,0x69])],_0x25892=window[_0x3f6a62([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2bfa51[_0x3f6a62([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2bfa51[_0x3f6a62([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x384f20={..._0x27d2e2,[_0x3f6a62([0x6a,0x74,0x69])]:_0x2bfa51[_0x3f6a62([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2bfa51[_0x3f6a62([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x384f20[_0x3f6a62([0x76,0x63])],_0x31acb7(_0x384f20)==_0x25892;}}}async function _0x26ca6a(){let _0x2d5cd7=!0x0;try{const _0x47dd1a=_0x3631c5[_0x3f6a62([0x73,0x70,0x6c,0x69,0x74])](_0x3f6a62([0x2e])),[_0x4bfa01,_0x266f3a,_0xa18f85]=_0x47dd1a;return _0x52b24a(_0x4bfa01),await _0x3f825f(_0x4bfa01,_0x266f3a,_0xa18f85),_0x2d5cd7;}catch(_0xb48dfb){return!0x1;}function _0x52b24a(_0x5be772){const _0x28853f=_0x1e0b1c(_0x5be772);_0x28853f&&_0x28853f[_0x3f6a62([0x61,0x6c,0x67])]==_0x3f6a62([0x45,0x53,0x32,0x35,0x36])||(_0x2d5cd7=!0x1);}async function _0x3f825f(_0x1854b1,_0x19428e,_0x3fc8e3){const _0x53365d=window[_0x3f6a62([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3f6a62([0x66,0x72,0x6f,0x6d])](_0xaf8c24(_0x3fc8e3),_0x46a4d3=>_0x46a4d3[_0x3f6a62([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2dcebe=new window[(_0x3f6a62([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3f6a62([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1854b1+_0x3f6a62([0x2e])+_0x19428e),_0x2eabfe=window[_0x3f6a62([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3f6a62([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2eabfe)return;const _0x447a0a=await _0x2eabfe[_0x3f6a62([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3f6a62([0x6a,0x77,0x6b]),_0x2dbbcf,{[_0x3f6a62([0x6e,0x61,0x6d,0x65])]:_0x3f6a62([0x45,0x43,0x44,0x53,0x41]),[_0x3f6a62([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3f6a62([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3f6a62([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2eabfe[_0x3f6a62([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3f6a62([0x6e,0x61,0x6d,0x65])]:_0x3f6a62([0x45,0x43,0x44,0x53,0x41]),[_0x3f6a62([0x68,0x61,0x73,0x68])]:{[_0x3f6a62([0x6e,0x61,0x6d,0x65])]:_0x3f6a62([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x447a0a,_0x53365d,_0x2dcebe)||(_0x2d5cd7=!0x1);}}function _0x1e0b1c(_0x1bf0b4){return _0x1bf0b4[_0x3f6a62([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3f6a62([0x65,0x79]))?JSON[_0x3f6a62([0x70,0x61,0x72,0x73,0x65])](_0xaf8c24(_0x1bf0b4)):null;}function _0xaf8c24(_0x327ff4){return window[_0x3f6a62([0x61,0x74,0x6f,0x62])](_0x327ff4[_0x3f6a62([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3f6a62([0x2b]))[_0x3f6a62([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3f6a62([0x2f])));}function _0x31acb7(_0x1ba9b3){let _0x5cd1b1=0x1505;function _0x64652a(_0xbbd712){for(let _0x23529d=0x0;_0x23529d<_0xbbd712[_0x3f6a62([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x23529d++){const _0x3bd2dc=_0xbbd712[_0x3f6a62([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x23529d);_0x5cd1b1=(_0x5cd1b1<<0x5)+_0x5cd1b1+_0x3bd2dc,_0x5cd1b1&=_0x5cd1b1;}}function _0xb522f8(_0x406bb1){Array[_0x3f6a62([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x406bb1)?_0x406bb1[_0x3f6a62([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xb522f8):_0x406bb1&&typeof _0x406bb1==_0x3f6a62([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3f6a62([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x406bb1)[_0x3f6a62([0x73,0x6f,0x72,0x74])]()[_0x3f6a62([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3c012c,_0xc3e95f])=>{_0x64652a(_0x3c012c),_0xb522f8(_0xc3e95f);}):_0x64652a(window[_0x3f6a62([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x406bb1));}return _0xb522f8(_0x1ba9b3),_0x5cd1b1>>>0x0;}function _0x2ada1d(_0x18d545){return _0x18d545[_0x3f6a62([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3f6a62([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3f6a62([0x30]));}function _0x22e5d7(_0x1c5ac8){return _0x1c5ac8[_0x3f6a62([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3f6a62([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3f6a62([0x6a,0x6f,0x69,0x6e])]('');}function _0x45036c(){}function _0x3f6a62(_0x4cd560){const _0x3f2491=_0x849f;return _0x4cd560[_0x3f2491(0xfd)](_0x15e8c3=>String[_0x3f2491(0x120)](_0x15e8c3))[_0x3f2491(0x13c)]('');}_0x4edd76(await _0x4b0d75());}(this);}[_0x127605(0x116)](){const _0x1e55af=_0x127605;super[_0x1e55af(0x116)](),this[_0x1e55af(0x12d)][_0x1e55af(0x116)](),this[_0x1e55af(0x13d)][_0x1e55af(0x126)]();}[_0x127605(0x11c)](_0x2795a8,{outlineDefinitions:_0x5df108,outlineChanges:_0x4e16b4}){const _0x15f5f2=_0x127605;this[_0x15f5f2(0x12a)]=_0x5df108,this[_0x15f5f2(0x12d)][_0x15f5f2(0x10f)](_0x4e16b4);}[_0x127605(0xfe)](_0x1c8f24){const _0x148c02=_0x127605;this[_0x148c02(0x12a)][_0x148c02(0x135)]&&this[_0x148c02(0x12a)][_0x1c8f24]&&(this[_0x148c02(0x12d)][_0x148c02(0x11f)]=_0x1c8f24);}[_0x127605(0x10c)](_0x5b5c76){const _0x155fef=_0x127605,_0x16f91b=this[_0x155fef(0x12a)][_0x5b5c76][_0x155fef(0x112)];this[_0x155fef(0x124)][_0x155fef(0x105)][_0x155fef(0x130)](_0x59078f=>{const _0x44ce39=_0x155fef;_0x59078f[_0x44ce39(0x10a)](_0x16f91b,0x0);}),this[_0x155fef(0x124)][_0x155fef(0x101)][_0x155fef(0x12d)][_0x155fef(0x111)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x155fef(0x124)][_0x155fef(0x101)][_0x155fef(0x12d)][_0x155fef(0x115)](),this[_0x155fef(0xfe)](_0x5b5c76);}[_0x127605(0x125)](){const _0x28b84a=_0x127605,_0x1a91f0=this[_0x28b84a(0x124)];let _0xbcf56b;for(const _0x5b18cb of _0x1a91f0[_0x28b84a(0x105)][_0x28b84a(0xf5)][_0x28b84a(0x119)]()){const _0x5cac8f=_0x1a91f0[_0x28b84a(0x101)][_0x28b84a(0x12d)][_0x28b84a(0x118)](_0x5b18cb),_0x177403=_0x5cac8f&&new _0x53c9a6(_0x5cac8f)[_0x28b84a(0x107)]();if(_0x177403){const _0x2ecf64=new _0x53c9a6(_0x42d4e5[_0x28b84a(0x13a)])[_0x28b84a(0xfb)](_0x177403);_0x2ecf64&&(_0xbcf56b=_0x2ecf64[_0x28b84a(0x129)]+0.25*_0x2ecf64[_0x28b84a(0x117)]);}}if(void 0x0===_0xbcf56b)return;const _0x371dba=d(_0x1a91f0[_0x28b84a(0x101)],this[_0x28b84a(0x12a)],_0xbcf56b);_0x371dba?this[_0x28b84a(0xfe)](this[_0x28b84a(0x12a)][_0x28b84a(0x122)](_0x371dba)):this[_0x28b84a(0xfe)](-0x1);}}function d(_0x34614e,_0x2e0877,_0x296119,_0x58de7f=0x0,_0x1e815d=_0x2e0877[_0x127605(0x135)]-0x1){const _0x3332df=_0x127605,_0x3caa14=Math[_0x3332df(0x139)](_0x58de7f+(_0x1e815d-_0x58de7f)/0x2);if(_0x1e815d>=_0x58de7f){const _0x136879=_0x2e0877[_0x3caa14],_0x26836f=_0x34614e[_0x3332df(0xff)][_0x3332df(0x134)](_0x136879[_0x3332df(0x112)]);if(!_0x26836f)return null;const _0x508841=_0x34614e[_0x3332df(0x12d)][_0x3332df(0x133)][_0x3332df(0xf6)](_0x26836f);return new _0x53c9a6(_0x508841)[_0x3332df(0x127)]>_0x296119?d(_0x34614e,_0x2e0877,_0x296119,_0x58de7f,_0x3caa14-0x1):d(_0x34614e,_0x2e0877,_0x296119,_0x3caa14+0x1,_0x1e815d);}return _0x3caa14<0x0?null:_0x2e0877[_0x3caa14];}
|
|
23
|
+
const _0x259751=_0x3fa9;(function(_0x196c7f,_0x1c7a8a){const _0x56638a=_0x3fa9,_0x5cb9aa=_0x196c7f();while(!![]){try{const _0x25be4b=-parseInt(_0x56638a(0xed))/0x1*(-parseInt(_0x56638a(0xcb))/0x2)+parseInt(_0x56638a(0xcc))/0x3+-parseInt(_0x56638a(0xc0))/0x4*(parseInt(_0x56638a(0xa9))/0x5)+-parseInt(_0x56638a(0xc9))/0x6+parseInt(_0x56638a(0xef))/0x7+parseInt(_0x56638a(0xeb))/0x8*(parseInt(_0x56638a(0xb7))/0x9)+-parseInt(_0x56638a(0xbe))/0xa;if(_0x25be4b===_0x1c7a8a)break;else _0x5cb9aa['push'](_0x5cb9aa['shift']());}catch(_0x1e697e){_0x5cb9aa['push'](_0x5cb9aa['shift']());}}}(_0x1ea0,0xb7cc8));import{Plugin as _0x173cf1}from'ckeditor5/src/core.js';import{CKEditorError as _0x595469,global as _0x28748d,Rect as _0xf2a33b,uid as _0x2309b2}from'ckeditor5/src/utils.js';import _0x2249ae from'./ui/documentoutlineview.js';import{throttle as _0x45e544}from'lodash-es';function _0x3fa9(_0xf5f9c7,_0x474b68){const _0x1ea0ee=_0x1ea0();return _0x3fa9=function(_0x3fa9b5,_0x178f5f){_0x3fa9b5=_0x3fa9b5-0xa9;let _0x34bbc3=_0x1ea0ee[_0x3fa9b5];return _0x34bbc3;},_0x3fa9(_0xf5f9c7,_0x474b68);}import'../../theme/documentoutline.css';function _0x1ea0(){const _0x5df744=['activeItemIndex','config','getRootNames','bind','render','href','9845490prMSPI','indexOf','20syVvXz','setSelection','add','_handleOutlineChange','map','toViewElement','bottom','height','mapper','6392502TJBylk','domConverter','659182daStuV','2983188oVNDrj','locale','model','join','view','_handleItemSelected','document','DocumentOutlineUtils','window','editor','getIntersection','isPremiumPlugin','init','appendChild','mapViewToDom','change','document-outline-container-not-provided','fromCharCode','pluginName','documentOutline.showEmptyHeadings','scrollToTheSelection','scroll','get','_currentOutlineDefinitions','_updateActiveDefinitionOnViewportChange','afterInit','floor','focus','getDomRoot','getVisible','sync','5320mxZmVH','DocumentOutlineUI','1pBgYOv','cancel','6297368udcJzS','itemSelected','resize','102430NdFQMU','element','listenTo','_updateActiveDefinitionFromViewportThrottled','isOfficialPlugin','length','editing','documentOutline.container','destroy','focusTracker','top','plugins','modelElement','_setActiveViewItem','9225hREFFs'];_0x1ea0=function(){return _0x5df744;};return _0x1ea0();}export default class n extends _0x173cf1{static get[_0x259751(0xde)](){const _0x286569=_0x259751;return _0x286569(0xec);}static get[_0x259751(0xad)](){return!0x0;}static get[_0x259751(0xd7)](){return!0x0;}constructor(_0x48fcb6){const _0x33c20f=_0x259751;super(_0x48fcb6),this[_0x33c20f(0xd0)]=new _0x2249ae(_0x48fcb6[_0x33c20f(0xcd)],this[_0x33c20f(0xd5)][_0x33c20f(0xb9)][_0x33c20f(0xe2)](_0x33c20f(0xdf)),this[_0x33c20f(0xd5)][_0x33c20f(0xb9)][_0x33c20f(0xe2)](_0x33c20f(0xb0))),this[_0x33c20f(0xe3)]=[],this[_0x33c20f(0xac)]=_0x45e544(this[_0x33c20f(0xe4)][_0x33c20f(0xbb)](this),0x64);}[_0x259751(0xd8)](){const _0x3fe8c6=_0x259751,_0x289a64=this[_0x3fe8c6(0xd5)],_0x4275a8=_0x289a64[_0x3fe8c6(0xb4)][_0x3fe8c6(0xe2)](_0x3fe8c6(0xd3));let _0x32e6f5=!0x1;if(this[_0x3fe8c6(0xd0)][_0x3fe8c6(0xbc)](),this[_0x3fe8c6(0xd5)]['ui'][_0x3fe8c6(0xb2)][_0x3fe8c6(0xc2)](this[_0x3fe8c6(0xd0)][_0x3fe8c6(0xaa)]),!_0x289a64[_0x3fe8c6(0xb9)][_0x3fe8c6(0xe2)](_0x3fe8c6(0xb0)))throw new _0x595469(_0x3fe8c6(0xdc),{'editor':_0x289a64});_0x289a64[_0x3fe8c6(0xb9)][_0x3fe8c6(0xe2)](_0x3fe8c6(0xb0))[_0x3fe8c6(0xd9)](this[_0x3fe8c6(0xd0)][_0x3fe8c6(0xaa)]),_0x4275a8['on'](_0x3fe8c6(0xdb),this[_0x3fe8c6(0xc3)][_0x3fe8c6(0xbb)](this)),_0x4275a8['on'](_0x3fe8c6(0xb8),(_0x389033,{index:_0x16cb9c})=>this[_0x3fe8c6(0xb6)](_0x16cb9c)),this[_0x3fe8c6(0xd0)]['on'](_0x3fe8c6(0xf0),(_0x4c0855,_0x3f6111)=>{const _0x2ef53d=_0x3fe8c6;_0x32e6f5=!0x0,this[_0x2ef53d(0xd1)](_0x3f6111);}),this[_0x3fe8c6(0xd0)][_0x3fe8c6(0xab)](_0x28748d[_0x3fe8c6(0xd2)],_0x3fe8c6(0xe1),()=>{const _0x26f2ca=_0x3fe8c6;_0x32e6f5?_0x32e6f5=!0x1:this[_0x26f2ca(0xac)]();},{'useCapture':!0x0}),this[_0x3fe8c6(0xd0)][_0x3fe8c6(0xab)](_0x28748d[_0x3fe8c6(0xd4)],_0x3fe8c6(0xf1),this[_0x3fe8c6(0xac)],{'useCapture':!0x0});}[_0x259751(0xe5)](){!async function(_0x5f1491){const _0x596fbe=_0x480e10([0x52,0x7a,0x62,0x64,0x55,0x51,0x30,0x41,0x53,0x70,0x4b,0x73,0x45,0x36,0x67,0x77,0x63,0x46,0x48,0x6d,0x78,0x49,0x58,0x4d,0x34,0x65,0x79,0x6b,0x6f,0x33,0x6c,0x5a,0x56,0x75,0x74,0x68,0x42,0x6a,0x57,0x50,0x69,0x43,0x72,0x47,0x44,0x35,0x61,0x32,0x4a,0x66,0x38,0x4e,0x59,0x4c,0x4f,0x37,0x71,0x76,0x54,0x31,0x39,0x6e]),_0x29a289=0x383848ff,_0x4afdc6=0x383f1f1f^_0x29a289,_0xa9054f=window[_0x480e10([0x44,0x61,0x74,0x65])][_0x480e10([0x6e,0x6f,0x77])](),_0x527c57=_0x5f1491[_0x480e10([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x520313=new window[(_0x480e10([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b1843=>{_0x527c57[_0x480e10([0x6f,0x6e,0x63,0x65])](_0x480e10([0x72,0x65,0x61,0x64,0x79]),_0x3b1843);}),_0x3e5442={[_0x480e10([0x6b,0x74,0x79])]:_0x480e10([0x45,0x43]),[_0x480e10([0x75,0x73,0x65])]:_0x480e10([0x73,0x69,0x67]),[_0x480e10([0x63,0x72,0x76])]:_0x480e10([0x50,0x2d,0x32,0x35,0x36]),[_0x480e10([0x78])]:_0x480e10([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]),[_0x480e10([0x79])]:_0x480e10([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]),[_0x480e10([0x61,0x6c,0x67])]:_0x480e10([0x45,0x53,0x32,0x35,0x36])},_0x4bb06d=_0x527c57[_0x480e10([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x480e10([0x67,0x65,0x74])](_0x480e10([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5c1996(){let _0x515793,_0x5580d3=null,_0x1306b7=null;try{if(_0x4bb06d==_0x480e10([0x47,0x50,0x4c]))return _0x480e10([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x515793=_0x1cb764(),!_0x515793)return _0x480e10([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x515793[_0x480e10([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1306b7=_0x501228(_0x515793[_0x480e10([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x515793[_0x480e10([0x6a,0x74,0x69])])),await _0x26e1af()?_0x4070e8()?_0x235f01()?_0x480e10([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1e9d86()?(_0x515793[_0x480e10([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x480e10([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5580d3=_0x5ea0c7(_0x480e10([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x515793[_0x480e10([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x480e10([0x74,0x72,0x69,0x61,0x6c])&&(_0x5580d3=_0x5ea0c7(_0x480e10([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x515793[_0x480e10([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x480e10([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x5580d3=_0x5ea0c7(_0x480e10([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3adf50()):_0x480e10([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x480e10([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x480e10([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3401ff){return _0x480e10([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x235f01(){const _0x3df7ff=[_0x480e10([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x480e10([0x74,0x72,0x69,0x61,0x6c])][_0x480e10([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x515793[_0x480e10([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xa9054f/0x3e8:0xe10*_0x4afdc6;return _0x515793[_0x480e10([0x65,0x78,0x70])]<_0x3df7ff;}function _0x4070e8(){const _0x44ada2=_0x515793[_0x480e10([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x44ada2&&(!!_0x44ada2[_0x480e10([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x480e10([0x2a]))||(!!_0x44ada2[_0x480e10([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x480e10([0x44,0x4f]))||!!_0x44ada2[_0x480e10([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x480e10([0x50,0x50]))));}function _0x1e9d86(){const _0x500c2e=_0x3fa9,_0x1343b5=_0x515793[_0x480e10([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1343b5||0x0==_0x1343b5[_0x480e10([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1485ac}=new URL(window[_0x480e10([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x500c2e(0xbd)]);if(_0x1343b5[_0x480e10([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1485ac))return!0x0;const _0x4504e5=_0x1485ac[_0x480e10([0x73,0x70,0x6c,0x69,0x74])](_0x480e10([0x2e]));return _0x1343b5[_0x480e10([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x552ebf=>_0x552ebf[_0x480e10([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x480e10([0x2a])))[_0x480e10([0x6d,0x61,0x70])](_0xaf647e=>_0xaf647e[_0x480e10([0x73,0x70,0x6c,0x69,0x74])](_0x480e10([0x2e])))[_0x480e10([0x73,0x6f,0x6d,0x65])](_0x599bc7=>_0x4504e5[_0x480e10([0x65,0x76,0x65,0x72,0x79])]((_0x1a028f,_0xb29d5d)=>_0x599bc7[_0xb29d5d]===_0x1a028f||_0x599bc7[_0xb29d5d]===_0x480e10([0x2a])));}function _0x3adf50(){return _0x5580d3&&_0x1306b7?new window[(_0x480e10([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2cfe92,_0x3da174)=>{_0x5580d3[_0x480e10([0x74,0x68,0x65,0x6e])](_0x2cfe92,_0x3da174),_0x1306b7[_0x480e10([0x74,0x68,0x65,0x6e])](_0x3e6e45=>{_0x3e6e45!=_0x480e10([0x56,0x61,0x6c,0x69,0x64])&&_0x2cfe92(_0x3e6e45);},_0x3da174);}):_0x5580d3||_0x1306b7||_0x480e10([0x56,0x61,0x6c,0x69,0x64]);}}function _0x501228(_0xa8a81d,_0x5ce1c0){return new window[(_0x480e10([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x269258=>{if(_0x539784())return _0x269258(_0x480e10([0x56,0x61,0x6c,0x69,0x64]));_0x24668a(),_0x527c57[_0x480e10([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x480e10([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x13bbdb=!0x1;const _0x42909d=_0x2309b2();function _0x57c2a4(_0x26bdd2){return!!_0x26bdd2&&(typeof _0x26bdd2===_0x480e10([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x26bdd2===_0x480e10([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x26bdd2[_0x480e10([0x74,0x68,0x65,0x6e])]===_0x480e10([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x26bdd2[_0x480e10([0x63,0x61,0x74,0x63,0x68])]===_0x480e10([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x70d766(_0x4e68e3){_0x323706(_0x4e68e3)[_0x480e10([0x74,0x68,0x65,0x6e])](_0x5e058d=>{if(!_0x5e058d||_0x5e058d[_0x480e10([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x480e10([0x6f,0x6b]))return _0x480e10([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x406fe9(_0xa90e6a(_0x42909d+_0x5ce1c0))!=_0x5e058d[_0x480e10([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x480e10([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x480e10([0x56,0x61,0x6c,0x69,0x64]);})[_0x480e10([0x74,0x68,0x65,0x6e])](_0x3cf1bd=>(_0x24617e(),_0x3cf1bd),()=>{const _0x164904=_0x27a11a();return null==_0x164904?(_0x24617e(),_0x480e10([0x56,0x61,0x6c,0x69,0x64])):_0x480e10(_0xa9054f-_0x164904>(0x1c34ccff^_0x29a289)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x480e10([0x74,0x68,0x65,0x6e])](_0x269258)[_0x480e10([0x63,0x61,0x74,0x63,0x68])](()=>{_0x269258(_0x480e10([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x320daa=0x380ea67f^_0x29a289;function _0x24617e(){const _0x19664d=_0x480e10([0x6c,0x6c,0x63,0x74,0x2d])+_0x406fe9(_0xa90e6a(_0xa8a81d)),_0x467370=_0x3a36c0(_0x406fe9(window[_0x480e10([0x4d,0x61,0x74,0x68])][_0x480e10([0x63,0x65,0x69,0x6c])](_0xa9054f/_0x320daa)));window[_0x480e10([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x480e10([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x19664d,_0x467370);}function _0x27a11a(){const _0x30fe7a=_0x480e10([0x6c,0x6c,0x63,0x74,0x2d])+_0x406fe9(_0xa90e6a(_0xa8a81d)),_0x53ee40=window[_0x480e10([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x480e10([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x30fe7a);return _0x53ee40?window[_0x480e10([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a36c0(_0x53ee40),0x10)*_0x320daa:null;}function _0x323706(_0x21a371){return new window[(_0x480e10([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f3c3b,_0x8642f)=>{_0x21a371[_0x480e10([0x74,0x68,0x65,0x6e])](_0x2f3c3b,_0x8642f),window[_0x480e10([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x8642f,0x38399c3f^_0x29a289);});}}_0x527c57[_0x480e10([0x6f,0x6e])](_0x480e10([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x32787d,_0x2174a9)=>{if(_0x2174a9[0x0]!=_0xa8a81d)return _0x269258(_0x480e10([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2174a9[0x1]={..._0x2174a9[0x1],[_0x480e10([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x42909d};},{[_0x480e10([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x480e10([0x68,0x69,0x67,0x68])}),_0x527c57[_0x480e10([0x6f,0x6e])](_0x480e10([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2a7077=>{_0x57c2a4(_0x2a7077[_0x480e10([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x13bbdb=!0x0,_0x70d766(_0x2a7077[_0x480e10([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x480e10([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x480e10([0x6c,0x6f,0x77])}),_0x520313[_0x480e10([0x74,0x68,0x65,0x6e])](()=>{_0x13bbdb||_0x269258(_0x480e10([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x539784(){return _0x527c57[_0x480e10([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x480e10([0x76,0x69,0x65,0x77])][_0x480e10([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x480e10([0x61,0x75,0x74,0x6f]);}function _0x24668a(){_0x527c57[_0x480e10([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x480e10([0x76,0x69,0x65,0x77])][_0x480e10([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x480e10([0x61,0x75,0x74,0x6f]);}}function _0x5ea0c7(_0x1bc711){const _0x16c26a=[new window[(_0x480e10([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa4529c=>setTimeout(_0xa4529c,0x38317633^_0x29a289)),_0x520313[_0x480e10([0x74,0x68,0x65,0x6e])](()=>new window[(_0x480e10([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a981a=>{let _0x253e60=0x0;_0x527c57[_0x480e10([0x6d,0x6f,0x64,0x65,0x6c])][_0x480e10([0x6f,0x6e])](_0x480e10([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x542f84,_0x34639a)=>{_0x34639a[0x0][_0x480e10([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x253e60++,_0x253e60==(0x38384907^_0x29a289)&&(_0x5a981a(),_0x542f84[_0x480e10([0x6f,0x66,0x66])]());});}))];return window[_0x480e10([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x480e10([0x72,0x61,0x63,0x65])](_0x16c26a)[_0x480e10([0x74,0x68,0x65,0x6e])](()=>_0x1bc711);}async function _0x48b46e(){await _0x520313,_0x527c57[_0x480e10([0x6d,0x6f,0x64,0x65,0x6c])][_0x480e10([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x9f9032,_0x527c57[_0x480e10([0x6d,0x6f,0x64,0x65,0x6c])][_0x480e10([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x9f9032,_0x527c57[_0x480e10([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x480e10([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x25d39a(_0x415b05){const _0x193523=_0xdbe611();_0x527c57[_0x193523]=_0x480e10([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])+_0x415b05,_0x415b05!=_0x480e10([0x56,0x61,0x6c,0x69,0x64])&&_0x48b46e();}function _0xdbe611(){const _0x3fad59=window[_0x480e10([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x480e10([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x480e10([0x6e,0x6f,0x77])]())[_0x480e10([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x480e10([0x2e]),'');let _0x2e1518=_0x480e10([0x52]);for(let _0x10e35b=0x0;_0x10e35b<_0x3fad59[_0x480e10([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x10e35b+=0x2){let _0x53d9a7=window[_0x480e10([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fad59[_0x480e10([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x10e35b,_0x10e35b+0x2));_0x53d9a7>=_0x596fbe[_0x480e10([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x53d9a7-=_0x596fbe[_0x480e10([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2e1518+=_0x596fbe[_0x53d9a7];}return _0x2e1518;}function _0x1cb764(){const _0xe36e62=_0x4bb06d[_0x480e10([0x73,0x70,0x6c,0x69,0x74])](_0x480e10([0x2e]));if(0x3!=_0xe36e62[_0x480e10([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x11958b(_0xe36e62[0x1]);function _0x11958b(_0x31ed2e){const _0x281702=_0x26b1f7(_0x31ed2e);return _0x281702&&_0x21b81b()?_0x281702:null;function _0x21b81b(){const _0x449572=_0x281702[_0x480e10([0x6a,0x74,0x69])],_0x38dc18=window[_0x480e10([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x449572[_0x480e10([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x449572[_0x480e10([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x331ac9={..._0x281702,[_0x480e10([0x6a,0x74,0x69])]:_0x449572[_0x480e10([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x449572[_0x480e10([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x331ac9[_0x480e10([0x76,0x63])],_0xa90e6a(_0x331ac9)==_0x38dc18;}}}async function _0x26e1af(){let _0x2f8746=!0x0;try{const _0x424bfc=_0x4bb06d[_0x480e10([0x73,0x70,0x6c,0x69,0x74])](_0x480e10([0x2e])),[_0x727f16,_0x19e559,_0x1ee6ca]=_0x424bfc;return _0x2d8d73(_0x727f16),await _0x252787(_0x727f16,_0x19e559,_0x1ee6ca),_0x2f8746;}catch(_0x34d5e9){return!0x1;}function _0x2d8d73(_0x2692c2){const _0x274ba1=_0x26b1f7(_0x2692c2);_0x274ba1&&_0x274ba1[_0x480e10([0x61,0x6c,0x67])]==_0x480e10([0x45,0x53,0x32,0x35,0x36])||(_0x2f8746=!0x1);}async function _0x252787(_0x31e8a1,_0x54fa3b,_0x53a4c2){const _0xd1685d=window[_0x480e10([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x480e10([0x66,0x72,0x6f,0x6d])](_0x255bdb(_0x53a4c2),_0x25c0f4=>_0x25c0f4[_0x480e10([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x35a75a=new window[(_0x480e10([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x480e10([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x31e8a1+_0x480e10([0x2e])+_0x54fa3b),_0x21e4d3=window[_0x480e10([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x480e10([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x21e4d3)return;const _0x3ca2fc=await _0x21e4d3[_0x480e10([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x480e10([0x6a,0x77,0x6b]),_0x3e5442,{[_0x480e10([0x6e,0x61,0x6d,0x65])]:_0x480e10([0x45,0x43,0x44,0x53,0x41]),[_0x480e10([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x480e10([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x480e10([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x21e4d3[_0x480e10([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x480e10([0x6e,0x61,0x6d,0x65])]:_0x480e10([0x45,0x43,0x44,0x53,0x41]),[_0x480e10([0x68,0x61,0x73,0x68])]:{[_0x480e10([0x6e,0x61,0x6d,0x65])]:_0x480e10([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3ca2fc,_0xd1685d,_0x35a75a)||(_0x2f8746=!0x1);}}function _0x26b1f7(_0x2181ab){return _0x2181ab[_0x480e10([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x480e10([0x65,0x79]))?JSON[_0x480e10([0x70,0x61,0x72,0x73,0x65])](_0x255bdb(_0x2181ab)):null;}function _0x255bdb(_0x13243d){return window[_0x480e10([0x61,0x74,0x6f,0x62])](_0x13243d[_0x480e10([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x480e10([0x2b]))[_0x480e10([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x480e10([0x2f])));}function _0xa90e6a(_0x4a18ad){let _0x432ce6=0x1505;function _0x7a9e32(_0x548d68){for(let _0x1b9c79=0x0;_0x1b9c79<_0x548d68[_0x480e10([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b9c79++){const _0x39b802=_0x548d68[_0x480e10([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1b9c79);_0x432ce6=(_0x432ce6<<0x5)+_0x432ce6+_0x39b802,_0x432ce6&=_0x432ce6;}}function _0x307716(_0x53f4a2){Array[_0x480e10([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x53f4a2)?_0x53f4a2[_0x480e10([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x307716):_0x53f4a2&&typeof _0x53f4a2==_0x480e10([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x480e10([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x53f4a2)[_0x480e10([0x73,0x6f,0x72,0x74])]()[_0x480e10([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x58d418,_0x2c0658])=>{_0x7a9e32(_0x58d418),_0x307716(_0x2c0658);}):_0x7a9e32(window[_0x480e10([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x53f4a2));}return _0x307716(_0x4a18ad),_0x432ce6>>>0x0;}function _0x406fe9(_0x1c4037){return _0x1c4037[_0x480e10([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x480e10([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x480e10([0x30]));}function _0x3a36c0(_0x372973){return _0x372973[_0x480e10([0x73,0x70,0x6c,0x69,0x74])]('')[_0x480e10([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x480e10([0x6a,0x6f,0x69,0x6e])]('');}function _0x9f9032(){}function _0x480e10(_0x4d3fc4){const _0x2152c9=_0x3fa9;return _0x4d3fc4[_0x2152c9(0xc4)](_0x351628=>String[_0x2152c9(0xdd)](_0x351628))[_0x2152c9(0xcf)]('');}_0x25d39a(await _0x5c1996());}(this);}[_0x259751(0xb1)](){const _0x3ff99e=_0x259751;super[_0x3ff99e(0xb1)](),this[_0x3ff99e(0xd0)][_0x3ff99e(0xb1)](),this[_0x3ff99e(0xac)][_0x3ff99e(0xee)]();}[_0x259751(0xc3)](_0x1752f2,{outlineDefinitions:_0x3e3eeb,outlineChanges:_0x25d653}){const _0x25dbbc=_0x259751;this[_0x25dbbc(0xe3)]=_0x3e3eeb,this[_0x25dbbc(0xd0)][_0x25dbbc(0xea)](_0x25d653);}[_0x259751(0xb6)](_0x677307){const _0x49caff=_0x259751;this[_0x49caff(0xe3)][_0x49caff(0xae)]&&this[_0x49caff(0xe3)][_0x677307]&&(this[_0x49caff(0xd0)][_0x49caff(0xb8)]=_0x677307);}[_0x259751(0xd1)](_0x2ab4cb){const _0x91b71=_0x259751,_0x8761e2=this[_0x91b71(0xe3)][_0x2ab4cb][_0x91b71(0xb5)];this[_0x91b71(0xd5)][_0x91b71(0xce)][_0x91b71(0xdb)](_0x5051c4=>{const _0x5f1870=_0x91b71;_0x5051c4[_0x5f1870(0xc1)](_0x8761e2,0x0);}),this[_0x91b71(0xd5)][_0x91b71(0xaf)][_0x91b71(0xd0)][_0x91b71(0xe0)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x91b71(0xd5)][_0x91b71(0xaf)][_0x91b71(0xd0)][_0x91b71(0xe7)](),this[_0x91b71(0xb6)](_0x2ab4cb);}[_0x259751(0xe4)](){const _0x328e8a=_0x259751,_0x4382bf=this[_0x328e8a(0xd5)];let _0x52a555;for(const _0x38999b of _0x4382bf[_0x328e8a(0xce)][_0x328e8a(0xd2)][_0x328e8a(0xba)]()){const _0x4c8a92=_0x4382bf[_0x328e8a(0xaf)][_0x328e8a(0xd0)][_0x328e8a(0xe8)](_0x38999b),_0x163972=_0x4c8a92&&new _0xf2a33b(_0x4c8a92)[_0x328e8a(0xe9)]();if(_0x163972){const _0x4ada00=new _0xf2a33b(_0x28748d[_0x328e8a(0xd4)])[_0x328e8a(0xd6)](_0x163972);_0x4ada00&&(_0x52a555=_0x4ada00[_0x328e8a(0xb3)]+0.25*_0x4ada00[_0x328e8a(0xc7)]);}}if(void 0x0===_0x52a555)return;const _0x2ee023=_(_0x4382bf[_0x328e8a(0xaf)],this[_0x328e8a(0xe3)],_0x52a555);_0x2ee023?this[_0x328e8a(0xb6)](this[_0x328e8a(0xe3)][_0x328e8a(0xbf)](_0x2ee023)):this[_0x328e8a(0xb6)](-0x1);}}function _(_0x3604dd,_0x22dd88,_0x188aac,_0x16ad04=0x0,_0x3f587a=_0x22dd88[_0x259751(0xae)]-0x1){const _0xfb4874=_0x259751,_0x224994=Math[_0xfb4874(0xe6)](_0x16ad04+(_0x3f587a-_0x16ad04)/0x2);if(_0x3f587a>=_0x16ad04){const _0x9825fa=_0x22dd88[_0x224994],_0x4ecb6f=_0x3604dd[_0xfb4874(0xc8)][_0xfb4874(0xc5)](_0x9825fa[_0xfb4874(0xb5)]);if(!_0x4ecb6f)return null;const _0x2e1c31=_0x3604dd[_0xfb4874(0xd0)][_0xfb4874(0xca)][_0xfb4874(0xda)](_0x4ecb6f);return new _0xf2a33b(_0x2e1c31)[_0xfb4874(0xc6)]>_0x188aac?_(_0x3604dd,_0x22dd88,_0x188aac,_0x16ad04,_0x224994-0x1):_(_0x3604dd,_0x22dd88,_0x188aac,_0x224994+0x1,_0x3f587a);}return _0x224994<0x0?null:_0x22dd88[_0x224994];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4fbf0a=_0xd111;(function(_0x66147e,_0x4202df){const _0x1bba93=_0xd111,_0x40632b=_0x66147e();while(!![]){try{const _0x5e00d5=parseInt(_0x1bba93(0x1f2))/0x1+-parseInt(_0x1bba93(0x1eb))/0x2*(parseInt(_0x1bba93(0x1f8))/0x3)+-parseInt(_0x1bba93(0x1dc))/0x4*(parseInt(_0x1bba93(0x1e2))/0x5)+-parseInt(_0x1bba93(0x1d6))/0x6+-parseInt(_0x1bba93(0x1e6))/0x7+-parseInt(_0x1bba93(0x1f5))/0x8*(parseInt(_0x1bba93(0x1dd))/0x9)+-parseInt(_0x1bba93(0x1c6))/0xa*(-parseInt(_0x1bba93(0x1c4))/0xb);if(_0x5e00d5===_0x4202df)break;else _0x40632b['push'](_0x40632b['shift']());}catch(_0x2da0fa){_0x40632b['push'](_0x40632b['shift']());}}}(_0x853b,0xdde98));function _0x853b(){const _0x18afa5=['fire','_headingNames','getChildren','7616756oQDpwL','toModel','selection','level','editing','98818LoJGjg','backward','_getHeadingNames','length','_getActiveHeading','name','getRoot','78072WlZnYi','config','includes','8wnZrVK','domConverter','document','87zMzoeo','getRootNames','editor','domToView','11vthtgJ','item','68143770oHYkHI','getFirstPosition','data','isOfficialPlugin','push','change','init','createElement','modelElement','documentOutline.headings','indexOf','findIndex','pluginName','view','element','afterInit','2519370JBYgos','_getOutlineDefinitions','get','text','activeItemIndex','DocumentOutlineUtils','1232upVbMk','13726053OGHIJn','getChild','_deriveHeadingElementsFromConversion','model','isPremiumPlugin','24635tLsaSu'];_0x853b=function(){return _0x18afa5;};return _0x853b();}import{Plugin as _0x2c1669}from'ckeditor5/src/core.js';import{debounce as _0x496ff6}from'lodash-es';function _0xd111(_0x54a4cf,_0x38a941){const _0x853bf=_0x853b();return _0xd111=function(_0xd111c8,_0x193553){_0xd111c8=_0xd111c8-0x1c4;let _0x55925c=_0x853bf[_0xd111c8];return _0x55925c;},_0xd111(_0x54a4cf,_0x38a941);}import{TreeWalker as _0x44d0d3}from'ckeditor5/src/engine.js';import{getElementText as _0xf52341,getDefaultFeatureHeadingNames as _0x387960}from'./utils.js';import{diff as _0xf436ff,diffToChanges as _0x549595}from'ckeditor5/src/utils.js';export default class i extends _0x2c1669{constructor(){const _0x5eb3b3=_0xd111;super(...arguments),this[_0x5eb3b3(0x1e4)]=[];}static get[_0x4fbf0a(0x1d2)](){const _0x978b5b=_0x4fbf0a;return _0x978b5b(0x1db);}static get[_0x4fbf0a(0x1c9)](){return!0x0;}static get[_0x4fbf0a(0x1e1)](){return!0x0;}[_0x4fbf0a(0x1cc)](){const _0x58ee02=_0x4fbf0a,_0x17b357=this[_0x58ee02(0x1fa)];this[_0x58ee02(0x1e4)]=this[_0x58ee02(0x1ed)]();let _0x5364e1=[];_0x17b357[_0x58ee02(0x1e0)][_0x58ee02(0x1f7)]['on'](_0x58ee02(0x1cb),_0x496ff6(()=>{const _0x509d46=_0x58ee02,_0x30c874=_0x5364e1;_0x5364e1=this[_0x509d46(0x1d7)]();const _0x8173bb=_0xf436ff(_0x30c874,_0x5364e1,(_0x47da77,_0x2397b2)=>_0x47da77[_0x509d46(0x1e9)]===_0x2397b2[_0x509d46(0x1e9)]&&_0x47da77[_0x509d46(0x1d9)]===_0x2397b2[_0x509d46(0x1d9)]&&_0x47da77[_0x509d46(0x1ce)]===_0x2397b2[_0x509d46(0x1ce)]),_0x7aa944=_0x549595(_0x8173bb,_0x5364e1),_0x433d02=this[_0x509d46(0x1ef)](),_0x1e9ad0=_0x5364e1[_0x509d46(0x1d1)](_0xc658d=>_0xc658d[_0x509d46(0x1ce)]===_0x433d02);_0x7aa944[_0x509d46(0x1ee)]&&this[_0x509d46(0x1e3)](_0x509d46(0x1cb),{'outlineDefinitions':_0x5364e1,'activeItemIndex':_0x1e9ad0,'outlineChanges':_0x7aa944}),this[_0x509d46(0x1e3)](_0x509d46(0x1da),{'index':_0x1e9ad0});},0xfa,{'leading':!0x0,'trailing':!0x0}));}[_0x4fbf0a(0x1d5)](){const _0x41643b=_0x4fbf0a;this[_0x41643b(0x1e4)][_0x41643b(0x1ee)]||this[_0x41643b(0x1df)]();}[_0x4fbf0a(0x1d7)](){const _0x3d1d9e=_0x4fbf0a,_0x2467ff=this[_0x3d1d9e(0x1fa)],_0x333536=[],_0x389e9e=this[_0x3d1d9e(0x1e4)];for(const _0x153777 of _0x2467ff[_0x3d1d9e(0x1e0)][_0x3d1d9e(0x1f7)][_0x3d1d9e(0x1f9)]())_0x1e2f11(_0x2467ff[_0x3d1d9e(0x1e0)][_0x3d1d9e(0x1f7)][_0x3d1d9e(0x1f1)](_0x153777));function _0x1e2f11(_0x39e6cf){const _0x19ef86=_0x3d1d9e;for(const _0x31c471 of _0x39e6cf[_0x19ef86(0x1e5)]())_0x31c471['is'](_0x19ef86(0x1d4))&&(_0x389e9e[_0x19ef86(0x1f4)](_0x31c471[_0x19ef86(0x1f0)])&&_0x333536[_0x19ef86(0x1ca)]({'level':_0x389e9e[_0x19ef86(0x1d0)](_0x31c471[_0x19ef86(0x1f0)])+0x1,'text':_0xf52341(_0x31c471),'modelElement':_0x31c471}),_0x1e2f11(_0x31c471));}return _0x333536;}[_0x4fbf0a(0x1ef)](){const _0x20e378=_0x4fbf0a,_0x56dbdc=this[_0x20e378(0x1fa)][_0x20e378(0x1e0)][_0x20e378(0x1f7)][_0x20e378(0x1e8)][_0x20e378(0x1c7)](),_0x152000=new _0x44d0d3({'direction':_0x20e378(0x1ec),'startPosition':_0x56dbdc});for(const _0x1573ce of _0x152000)if(_0x1573ce[_0x20e378(0x1c5)]['is'](_0x20e378(0x1d4))&&this[_0x20e378(0x1e4)][_0x20e378(0x1f4)](_0x1573ce[_0x20e378(0x1c5)][_0x20e378(0x1f0)]))return _0x1573ce[_0x20e378(0x1c5)];}[_0x4fbf0a(0x1ed)](){const _0x4218d0=_0x4fbf0a,_0x8fb3cc=this[_0x4218d0(0x1fa)][_0x4218d0(0x1f3)][_0x4218d0(0x1d8)](_0x4218d0(0x1cf));return _0x8fb3cc||_0x387960(this[_0x4218d0(0x1fa)]);}[_0x4fbf0a(0x1df)](){const _0x405fef=_0x4fbf0a,_0x1d4ccd=this[_0x405fef(0x1fa)],_0x245c6f=['h1','h2','h3','h4','h5','h6'],_0x4b4102=[];for(const _0x3845b2 of _0x245c6f){const _0x220c71=_0x1d4ccd[_0x405fef(0x1ea)][_0x405fef(0x1d3)][_0x405fef(0x1f6)][_0x405fef(0x1fb)](document[_0x405fef(0x1cd)](_0x3845b2)),_0x53c969=_0x1d4ccd[_0x405fef(0x1c8)][_0x405fef(0x1e7)](_0x220c71)[_0x405fef(0x1de)](0x0);(null==_0x53c969?void 0x0:_0x53c969['is'](_0x405fef(0x1d4)))&&_0x4b4102[_0x405fef(0x1ca)](_0x53c969[_0x405fef(0x1f0)]);}this[_0x405fef(0x1e4)]=_0x4b4102;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x458ac1,_0x35616a){const _0x5527f3=_0x28c8,_0x4f186a=_0x458ac1();while(!![]){try{const _0xc145ab=-parseInt(_0x5527f3(0x1de))/0x1+parseInt(_0x5527f3(0x1dc))/0x2*(parseInt(_0x5527f3(0x1f5))/0x3)+-parseInt(_0x5527f3(0x1e9))/0x4*(parseInt(_0x5527f3(0x1ef))/0x5)+parseInt(_0x5527f3(0x1f4))/0x6*(parseInt(_0x5527f3(0x1db))/0x7)+parseInt(_0x5527f3(0x1e5))/0x8+-parseInt(_0x5527f3(0x1e6))/0x9*(-parseInt(_0x5527f3(0x1f0))/0xa)+parseInt(_0x5527f3(0x1e0))/0xb*(-parseInt(_0x5527f3(0x1ee))/0xc);if(_0xc145ab===_0x35616a)break;else _0x4f186a['push'](_0x4f186a['shift']());}catch(_0x272296){_0x4f186a['push'](_0x4f186a['shift']());}}}(_0x2f13,0xd8de9));import{View as _0x2486f2}from'ckeditor5/src/ui.js';import{getTranslation as _0x45b3f9}from'../../utils/common-translations.js';export default class $ extends _0x2486f2{constructor(_0x3d5067,_0x310653=!0x1){const _0x48ce7b=_0x28c8;super(_0x3d5067);const _0x2b9f70=this[_0x48ce7b(0x1e2)],_0x412f06=_0x310653?'['+_0x45b3f9(_0x3d5067,_0x48ce7b(0x1eb))+']':'';this[_0x48ce7b(0x1f3)](_0x48ce7b(0x1e4),''),this[_0x48ce7b(0x1f3)](_0x48ce7b(0x1dd),0x1),this[_0x48ce7b(0x1f3)](_0x48ce7b(0x1ea),!0x1),this[_0x48ce7b(0x1e8)](_0x48ce7b(0x1df))['to'](this,_0x48ce7b(0x1e4),_0x1c2929=>!_0x1c2929),this[_0x48ce7b(0x1f6)]({'tag':_0x48ce7b(0x1ec),'attributes':{'class':['ck',_0x48ce7b(0x1e7),_0x48ce7b(0x1f1),_0x2b9f70['to'](_0x48ce7b(0x1dd),_0x56ea6e=>_0x48ce7b(0x1e3)+_0x56ea6e),_0x2b9f70['if'](_0x48ce7b(0x1ea),_0x48ce7b(0x1e1)),_0x2b9f70['if'](_0x48ce7b(0x1df),_0x48ce7b(0x1ed))],'title':_0x2b9f70['to'](_0x48ce7b(0x1e4))},'children':[{'text':_0x2b9f70['to'](_0x48ce7b(0x1e4),_0x3bedfe=>_0x3bedfe||_0x412f06)}],'on':{'click':_0x2b9f70['to'](_0x48ce7b(0x1f2))}});}}function _0x28c8(_0x56c00d,_0x5edbb5){const _0x2f13ef=_0x2f13();return _0x28c8=function(_0x28c805,_0x33f264){_0x28c805=_0x28c805-0x1db;let _0x154f28=_0x2f13ef[_0x28c805];return _0x154f28;},_0x28c8(_0x56c00d,_0x5edbb5);}function _0x2f13(){const _0x53ce50=['ck-reset','bind','16BdPIKu','isActive','Empty\x20heading','div','ck-document-outline__item_empty','13319964NgAaiJ','1303045qqyHmC','90ZkLvEx','ck-document-outline__item','click','set','2040702aKIWks','9KOzlMw','setTemplate','35VrUzhW','307236qaHdgJ','level','123354fYkERF','isEmpty','11hnWZVU','ck-document-outline__item_active','bindTemplate','ck-document-outline__item_level-','text','7255872nYGwkb','95661lxMxNJ'];_0x2f13=function(){return _0x53ce50;};return _0x2f13();}
|